@univerjs-pro/bases 1.0.3 → 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ar-SA.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/de-DE.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/id-ID.js +1 -1
- package/lib/cjs/locale/it-IT.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/pl-PL.js +1 -1
- package/lib/cjs/locale/pt-BR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/sk-SK.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-HK.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ar-SA.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/de-DE.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/id-ID.js +1 -1
- package/lib/es/locale/it-IT.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/pl-PL.js +1 -1
- package/lib/es/locale/pt-BR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/sk-SK.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-HK.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ar-SA.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/de-DE.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/id-ID.js +1 -1
- package/lib/locale/it-IT.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/pl-PL.js +1 -1
- package/lib/locale/pt-BR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/sk-SK.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-HK.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ar-SA.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/de-DE.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/id-ID.js +1 -1
- package/lib/umd/locale/it-IT.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/pl-PL.js +1 -1
- package/lib/umd/locale/pt-BR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/sk-SK.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-HK.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +8 -8
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x282c57=_0x3047;(function(_0x1b5c99,_0x231ea7){const _0x1331f8=_0x3047,_0x4970e6=_0x1b5c99();while(!![]){try{const _0x3daf6e=-parseInt(_0x1331f8(0x4f5))/0x1+-parseInt(_0x1331f8(0x1f1))/0x2*(-parseInt(_0x1331f8(0x23e))/0x3)+-parseInt(_0x1331f8(0x3cb))/0x4*(-parseInt(_0x1331f8(0x368))/0x5)+parseInt(_0x1331f8(0x558))/0x6+-parseInt(_0x1331f8(0x364))/0x7*(parseInt(_0x1331f8(0x34c))/0x8)+-parseInt(_0x1331f8(0x344))/0x9*(-parseInt(_0x1331f8(0x36a))/0xa)+-parseInt(_0x1331f8(0x53e))/0xb*(parseInt(_0x1331f8(0x37e))/0xc);if(_0x3daf6e===_0x231ea7)break;else _0x4970e6['push'](_0x4970e6['shift']());}catch(_0x13626f){_0x4970e6['push'](_0x4970e6['shift']());}}}(_0x332d,0x55b3c));import{BASE_RECORD_ID_FIELD_ID as _0x1a2ecc,BaseConditionalColorOperator as _0x5b882d,BaseConditionalColorTarget as _0x26d874,BaseConditionalDateMode as _0x3cc509,BaseDataModel as _0x1c1e04,BaseFieldType as _0x239099,BaseFilterConjunction as _0x2528f1,BaseHierarchyInvalidReason as _0x1e9d86,BaseRecordLinkRole as _0x33634f,BaseSortDirection as _0x111a17,BaseViewType as _0x1d9104,CellValueType as _0x110ba4,ColorKit as _0x3af328,CommandType as _0x31b5a7,CustomCommandExecutionError as _0x3aec47,DateSystem as _0x20fc86,DependentOn as _0x1ae952,Disposable as _0x3bb8e0,ErrorService as _0x2ba5f2,ICommandService as _0x2a9a16,IConfigService as _0x23dc17,IPermissionService as _0x39a8ae,IResourceManagerService as _0x59ae57,IUndoRedoService as _0x1f4c86,IUniverInstanceService as _0x54ce33,Inject as _0x4bcdd1,Injector as _0x5325dd,JSON1 as _0x2f9032,JSONX as _0x21604b,ObjectMatrix as _0x376646,ObjectPermissionRuleModel as _0x15cc0a,ObjectPermissionService as _0x532322,Optional as _0x2a3dd3,PermissionStatus as _0xcbb269,Plugin as _0x206208,Tools as _0xd92214,UniverInstanceType as _0x335149,allocateBaseFormulaTableName as _0x1d3afd,assertBaseTableRecordIdentity as _0x306a77,createBaseFormulaTableNameMap as _0x41215d,createBaseRecordIdField as _0x5674a9,createIdentifier as _0x2cfc4b,dateKit as _0x20f447,excelDateTimeSerial as _0x29c4f2,excelSerialToDateTime as _0x247811,generateRandomId as _0x4e27d9,getBaseFormulaTableName as _0x5e32d1,isBaseRecordIdFieldName as _0x38be32,isValidBaseRecordId as _0x2a190f,merge as _0xc2b1c2,nameCharacterCheck as _0x4ee737,numfmt as _0x1ce6f1,regexp as _0x529588,sequenceExecute as _0x34a596,toDisposable as _0x453a32,touchDependencies as _0x2fa2a9}from'@univerjs/core';import{FormulaCalculationTriggerService as _0x14f705,IActiveDirtyManagerService as _0x5d22c8,RemoveSuperTableMutation as _0x16f34f,SetFormulaCalculationResultMutation as _0x260dd2,SetSuperTableMutation as _0x3f9972,SetTriggerFormulaCalculationStartMutation as _0x1d0f35,UniverProFormulaEnginePlugin as _0x269033,refactorFormulaUnitQualifier as _0x54dc4c}from'@univerjs-pro/engine-formula';import{UnitAction as _0x133e41,UnitObject as _0xd2ae12}from'@univerjs/protocol';import{UniverLicensePlugin as _0x3f6b6a}from'@univerjs-pro/license';import{DataSyncPrimaryController as _0x57ca42}from'@univerjs/rpc';import{FormulaCalculationSessionService as _0x2c8588,FormulaResultApplicationType as _0x5be45b}from'@univerjs/engine-formula';function N(_0x3eda17){const _0x2cc5cf=_0x3047;let _0x2d9ef2=_0x3eda17['config'][_0x2cc5cf(0x3e5)],_0x3a64ef=_0x3eda17[_0x2cc5cf(0x50c)][_0x2cc5cf(0x3ea)],_0x182d73=_0x3eda17[_0x2cc5cf(0x50c)]['displayFieldId'],_0x56e09d=_0x3eda17[_0x2cc5cf(0x50c)][_0x2cc5cf(0x29d)],_0x4b14fc=_0x3eda17[_0x2cc5cf(0x50c)][_0x2cc5cf(0x1f7)];return typeof _0x2d9ef2!=_0x2cc5cf(0x3e3)||!_0x2d9ef2||typeof _0x3a64ef!=_0x2cc5cf(0x386)||_0x182d73!==void 0x0&&(typeof _0x182d73!='string'||!_0x182d73)||_0x4b14fc!==void 0x0&&_0x4b14fc!==_0x33634f[_0x2cc5cf(0x19a)]||_0x56e09d!==void 0x0&&(!Array[_0x2cc5cf(0x3d5)](_0x56e09d)||_0x56e09d[_0x2cc5cf(0x436)](_0x37d393=>typeof _0x37d393!=_0x2cc5cf(0x3e3)||!_0x37d393)||new Set(_0x56e09d)['size']!==_0x56e09d[_0x2cc5cf(0x4ab)])?null:{'targetTableId':_0x2d9ef2,'multiple':_0x3a64ef,..._0x182d73?{'displayFieldId':_0x182d73}:{},..._0x56e09d?{'pickerFieldIds':[..._0x56e09d]}:{},..._0x4b14fc?{'relationRole':_0x4b14fc}:{}};}function Le(_0x1da1fe){const _0x49ed7d=_0x3047;return typeof _0x1da1fe!='string'||_0x1da1fe===''?[]:_0x1da1fe[_0x49ed7d(0x460)](',');}function Re(_0x39b8e9){const _0x26e0ed=_0x3047;return Array[_0x26e0ed(0x2f3)](new Set(_0x39b8e9))[_0x26e0ed(0x1c0)](',');}function ze(_0x46df41,_0x2ac3b7){const _0x1213d5=_0x3047;if(typeof _0x46df41!='string')return{'valid':!0x1,'reason':_0x1213d5(0x3fc)};if(_0x46df41==='')return{'valid':!0x0};let _0x5f5b2a=_0x46df41[_0x1213d5(0x460)](',');return!_0x2ac3b7&&_0x5f5b2a['length']>0x1?{'valid':!0x1,'reason':_0x1213d5(0x1d2)}:_0x5f5b2a[_0x1213d5(0x436)](_0x5070b9=>!_0x2a190f(_0x5070b9))||new Set(_0x5f5b2a)[_0x1213d5(0x286)]!==_0x5f5b2a[_0x1213d5(0x4ab)]||Re(_0x5f5b2a)!==_0x46df41?{'valid':!0x1,'reason':'[RecordLink]:\x20value\x20is\x20not\x20a\x20canonical\x20record\x20id\x20list.'}:{'valid':!0x0};}function Be(_0x38bc95,_0x2fe194){const _0x1ede4c=_0x3047;if(_0x2fe194[_0x1ede4c(0x4aa)]!==_0x239099[_0x1ede4c(0x2c2)])return{'valid':!0x0};let _0x1e9097=N(_0x2fe194),_0x595d80=_0x1e9097?_0x38bc95[_0x1ede4c(0x528)][_0x1e9097[_0x1ede4c(0x3e5)]]:void 0x0;if(!_0x1e9097||!_0x595d80)return{'valid':!0x1,'reason':_0x1ede4c(0x538)};let _0x2fb0f3=[..._0x1e9097[_0x1ede4c(0x41b)]?[_0x1e9097['displayFieldId']]:[],..._0x1e9097[_0x1ede4c(0x29d)]??[]][_0x1ede4c(0x525)](_0xadc505=>{const _0x54c3fd=_0x1ede4c;let _0x2b706c=_0x595d80[_0x54c3fd(0x453)][_0xadc505];return!_0x2b706c||_0x2b706c[_0x54c3fd(0x43c)]===!0x0||_0x2b706c['type']===_0x239099['RecordId'];});return _0x2fb0f3?{'valid':!0x1,'reason':_0x1ede4c(0x23f)+_0x2fb0f3+_0x1ede4c(0x231)}:{'valid':!0x0};}function Ve(_0x3360cc,_0x32d102,_0xe3e2cb,_0x3aee81={}){const _0x1b4f9d=_0x3047;let _0x46f7ca=N(_0x32d102);if(_0x32d102[_0x1b4f9d(0x4aa)]!==_0x239099[_0x1b4f9d(0x2c2)]||!_0x46f7ca)return{'valid':!0x1,'reason':_0x1b4f9d(0x4cd)};let _0x4c73ce=ze(_0xe3e2cb,_0x46f7ca[_0x1b4f9d(0x3ea)]);if(!_0x4c73ce[_0x1b4f9d(0x375)]||_0x3aee81[_0x1b4f9d(0x2c5)])return _0x4c73ce;let _0x3ea6c7=_0x3360cc[_0x1b4f9d(0x528)][_0x46f7ca['targetTableId']];if(!_0x3ea6c7)return{'valid':!0x1,'reason':_0x1b4f9d(0x538)};let _0x3b835b=Le(_0xe3e2cb)['find'](_0x365a8b=>!_0x3ea6c7['records'][_0x365a8b]);return _0x3b835b?{'valid':!0x1,'reason':_0x1b4f9d(0x459)+_0x3b835b+'\x22\x20does\x20not\x20exist.'}:{'valid':!0x0};}function He(_0xe388d5,_0x44b759){const _0xa3768b=_0x3047;return Object[_0xa3768b(0x54e)](_0xe388d5[_0xa3768b(0x528)])['flatMap'](_0xc6cc3c=>Object['values'](_0xc6cc3c[_0xa3768b(0x453)])[_0xa3768b(0x26a)](_0xfaa365=>{const _0xd10318=_0xa3768b;let _0xd9a051=_0xfaa365['type']===_0x239099[_0xd10318(0x2c2)]?N(_0xfaa365):null;return(_0xd9a051==null?void 0x0:_0xd9a051[_0xd10318(0x3e5)])===_0x44b759?[{'tableId':_0xc6cc3c['id'],'fieldId':_0xfaa365['id']}]:[];}));}const Ue=0x5,We=_0x282c57(0x31c);let Ge=function(_0x4ed4b8){const _0x251687=_0x282c57;return _0x4ed4b8['InvalidField']=_0x251687(0x38b),_0x4ed4b8['MissingRecord']='missingRecord',_0x4ed4b8[_0x251687(0x341)]=_0x251687(0x2e8),_0x4ed4b8[_0x251687(0x217)]=_0x251687(0x45f),_0x4ed4b8['MaxDepth']=_0x251687(0x1c4),_0x4ed4b8[_0x251687(0x201)]=_0x251687(0x20a),_0x4ed4b8;}({});var P=class extends Error{constructor(_0x59b646,_0x3eea37=_0x282c57(0x2bf)+_0x59b646){const _0x330552=_0x282c57;super(_0x3eea37),this[_0x330552(0x3fe)]=_0x59b646,this[_0x330552(0x2f4)]=_0x330552(0x1fe);}};let Ke=function(_0x2a8c59){const _0x1f130c=_0x282c57;return _0x2a8c59['UI']='ui',_0x2a8c59['Facade']=_0x1f130c(0x408),_0x2a8c59[_0x1f130c(0x195)]=_0x1f130c(0x1ba),_0x2a8c59['Undo']='undo',_0x2a8c59[_0x1f130c(0x202)]='redo',_0x2a8c59['Import']='import',_0x2a8c59;}({});function F(_0xf7c5a2,_0x1ee831){const _0x13d2b3=_0x282c57;if(!_0x1ee831)return!0x1;let _0x155c34=_0xf7c5a2['fields'][_0x1ee831];if(!_0x155c34||_0x155c34[_0x13d2b3(0x4aa)]!==_0x239099[_0x13d2b3(0x2c2)])return!0x1;let _0x39caa7=N(_0x155c34);return _0x39caa7?_0x39caa7[_0x13d2b3(0x3e5)]===_0xf7c5a2['id']&&_0x39caa7[_0x13d2b3(0x3ea)]===!0x1:!0x1;}function qe(_0x19f3bf){const _0x29d571=_0x282c57;return[..._0x19f3bf['fieldOrder'],...Object[_0x29d571(0x334)](_0x19f3bf[_0x29d571(0x453)])['filter'](_0x4a4537=>!_0x19f3bf[_0x29d571(0x534)]['includes'](_0x4a4537))[_0x29d571(0x1df)]()][_0x29d571(0x525)](_0xc818d3=>{const _0x3c7fb8=_0x29d571;var _0x5319a9;return F(_0x19f3bf,_0xc818d3)?((_0x5319a9=N(_0x19f3bf[_0x3c7fb8(0x453)][_0xc818d3]))==null?void 0x0:_0x5319a9[_0x3c7fb8(0x1f7)])===_0x33634f['Parent']:!0x1;})??null;}function Je(_0x49a8bb){const _0x41ab81=_0x282c57;let _0x38845c=qe(_0x49a8bb);if(_0x38845c)return _0x38845c;let _0xc9f96c=We,_0x526c70=0x2;for(;_0x49a8bb[_0x41ab81(0x453)][_0xc9f96c];)_0xc9f96c=We+'_'+_0x526c70++;return _0xc9f96c;}function Ye(_0x4af455,_0x5acfa1=Je(_0x4af455),_0x672fa9='Parent\x20Items'){const _0x339c2c=_0x282c57;return{'id':_0x5acfa1,'name':_0x672fa9,'type':_0x239099[_0x339c2c(0x2c2)],'config':{'targetTableId':_0x4af455['id'],'multiple':!0x1,'displayFieldId':_0x4af455[_0x339c2c(0x45c)],'pickerFieldIds':[_0x4af455['primaryFieldId']],'relationRole':_0x33634f['Parent']}};}function Xe(_0x43bc84){let _0x401ebf=qe(_0x43bc84);return _0x401ebf?[_0x401ebf]:[];}function Ze(_0x561e8e,_0x2f00ea){const _0x143bbb=_0x282c57;let _0x43a1af=[...Xe(_0x561e8e)][_0x143bbb(0x4cc)](_0x33061b=>_0x2f00ea['some'](_0x598f3a=>Object['prototype'][_0x143bbb(0x445)][_0x143bbb(0x2a4)](_0x598f3a[_0x143bbb(0x54e)],_0x33061b)));if(!_0x43a1af[_0x143bbb(0x4ab)])return[];let _0x267d09={..._0x561e8e[_0x143bbb(0x1e1)]};_0x2f00ea[_0x143bbb(0x34b)](_0xa0b5e9=>{const _0x2fc806=_0x143bbb;let _0x5576c6=_0x267d09[_0xa0b5e9[_0x2fc806(0x40d)]];_0x5576c6&&(_0x267d09[_0xa0b5e9[_0x2fc806(0x40d)]]={..._0x5576c6,'values':{..._0x5576c6[_0x2fc806(0x54e)],..._0xa0b5e9['values']}});});let _0x11d90c={..._0x561e8e,'records':_0x267d09},_0x46f8d5=[];return _0x43a1af['forEach'](_0x1518c9=>{const _0x37709a=_0x143bbb;let _0x56f4b9=tt(_0x561e8e,_0x1518c9),_0x4bff0b=tt(_0x11d90c,_0x1518c9);for(let [_0x22bebc,_0x17cc2c]of _0x4bff0b[_0x37709a(0x2c1)]){let _0x2ad306=_0x2f00ea[_0x37709a(0x436)](_0x2d521a=>_0x2d521a[_0x37709a(0x40d)]===_0x22bebc&&Object[_0x37709a(0x35c)]['hasOwnProperty'][_0x37709a(0x2a4)](_0x2d521a[_0x37709a(0x54e)],_0x1518c9));if(_0x56f4b9[_0x37709a(0x2c1)][_0x37709a(0x268)](_0x22bebc)!==_0x17cc2c||_0x2ad306)throw new P($e(_0x17cc2c));}_0x2f00ea[_0x37709a(0x34b)](_0x29a536=>{const _0x409da6=_0x37709a;if(!Object[_0x409da6(0x35c)][_0x409da6(0x445)][_0x409da6(0x2a4)](_0x29a536[_0x409da6(0x54e)],_0x1518c9))return;let _0x5d5260=_0x56f4b9[_0x409da6(0x39a)][_0x409da6(0x268)](_0x29a536[_0x409da6(0x40d)])??null,_0xf11034=_0x4bff0b[_0x409da6(0x39a)][_0x409da6(0x268)](_0x29a536[_0x409da6(0x40d)])??null;_0x5d5260!==_0xf11034&&_0x46f8d5[_0x409da6(0x381)]({'tableId':_0x561e8e['id'],'fieldId':_0x1518c9,'recordId':_0x29a536[_0x409da6(0x40d)],'oldParentRecordId':_0x5d5260,'parentRecordId':_0xf11034});});}),_0x46f8d5;}function Qe(_0x2a7859,_0xcdc91f){const _0x32705d=_0x282c57;let _0x3b0b49=_0xcdc91f['map'](_0x2de8ff=>_0x2de8ff['id']);if(new Set(_0x3b0b49)[_0x32705d(0x286)]!==_0x3b0b49[_0x32705d(0x4ab)]||_0x3b0b49[_0x32705d(0x436)](_0x297aa5=>_0x2a7859[_0x32705d(0x1e1)][_0x297aa5]))return[];let _0x194ffa=Xe(_0x2a7859),_0x345d3f=_0x194ffa['length']?null:Je(_0x2a7859),_0x16d2a4=[..._0x194ffa,..._0x345d3f&&_0xcdc91f[_0x32705d(0x436)](_0x4bb0dd=>Object[_0x32705d(0x35c)][_0x32705d(0x445)][_0x32705d(0x2a4)](_0x4bb0dd[_0x32705d(0x54e)],_0x345d3f))?[_0x345d3f]:[]][_0x32705d(0x4cc)](_0x1331e7=>_0xcdc91f[_0x32705d(0x436)](_0x418523=>Object['prototype']['hasOwnProperty'][_0x32705d(0x2a4)](_0x418523[_0x32705d(0x54e)],_0x1331e7)));if(!_0x16d2a4[_0x32705d(0x4ab)])return[];let _0xca2e61={..._0x2a7859,'records':{..._0x2a7859[_0x32705d(0x1e1)],...Object['fromEntries'](_0xcdc91f['map'](_0x41b962=>[_0x41b962['id'],_0x41b962]))},'recordOrder':[..._0x2a7859['recordOrder']??[],..._0xcdc91f['map'](_0x57570c=>_0x57570c['id'])]},_0x1015a2=[];return _0x16d2a4['forEach'](_0x4f670e=>{let _0x549ea8=tt(_0xca2e61,_0x4f670e);_0xcdc91f['forEach'](_0x192c90=>{const _0xde90e0=_0x3047;let _0x92dde9=_0x549ea8[_0xde90e0(0x2c1)][_0xde90e0(0x268)](_0x192c90['id']);if(_0x92dde9)throw new P($e(_0x92dde9));let _0x34f6af=_0x549ea8[_0xde90e0(0x39a)]['get'](_0x192c90['id'])??null;_0x34f6af&&_0x1015a2[_0xde90e0(0x381)]({'tableId':_0x2a7859['id'],'fieldId':_0x4f670e,'recordId':_0x192c90['id'],'oldParentRecordId':null,'parentRecordId':_0x34f6af});});}),_0x1015a2;}function $e(_0x3e9b21){const _0x55c97a=_0x282c57;switch(_0x3e9b21){case _0x1e9d86[_0x55c97a(0x266)]:return'missingRecord';case _0x1e9d86[_0x55c97a(0x341)]:return _0x55c97a(0x2e8);case _0x1e9d86[_0x55c97a(0x217)]:return _0x55c97a(0x45f);case _0x1e9d86[_0x55c97a(0x27f)]:return _0x55c97a(0x1c4);}}function et(_0x2df6b1,_0x5a813d){const _0x2f8a73=_0x282c57;let _0x33d15c=new Set(_0x5a813d),_0xe0c104=Xe(_0x2df6b1);return Object['values'](_0x2df6b1[_0x2f8a73(0x1e1)])[_0x2f8a73(0x26a)](_0x2e19b3=>_0x33d15c['has'](_0x2e19b3['id'])?[]:Array[_0x2f8a73(0x2f3)](_0xe0c104)['flatMap'](_0x14e989=>{const _0x7c062d=_0x2f8a73;let _0x5e9b8c=Le(_0x2e19b3[_0x7c062d(0x54e)][_0x14e989])[0x0]??null;return _0x5e9b8c&&_0x33d15c[_0x7c062d(0x25c)](_0x5e9b8c)?[{'tableId':_0x2df6b1['id'],'fieldId':_0x14e989,'recordId':_0x2e19b3['id'],'oldParentRecordId':_0x5e9b8c,'parentRecordId':null}]:[];}));}function tt(_0x5d5f18,_0x488f10,_0x1b7103=_0x5d5f18['recordOrder']??Object['keys'](_0x5d5f18[_0x282c57(0x1e1)])){const _0x3e1170=_0x282c57;if((_0x5d5f18[_0x3e1170(0x453)][_0x488f10]||_0x488f10!==Je(_0x5d5f18))&&!F(_0x5d5f18,_0x488f10))throw Error(_0x3e1170(0x19e)+_0x488f10+_0x3e1170(0x239));let _0x5b4b88=at(_0x5d5f18,_0x1b7103),_0x397c30=new Map(),_0x3e800e=new Map();for(let _0x413508 of _0x5b4b88){var _0x4cf79f;let _0x53f0a8=Le((_0x4cf79f=_0x5d5f18[_0x3e1170(0x1e1)][_0x413508])==null?void 0x0:_0x4cf79f[_0x3e1170(0x54e)][_0x488f10])[0x0]??null;_0x53f0a8?_0x53f0a8===_0x413508?(_0x397c30['set'](_0x413508,null),_0x3e800e[_0x3e1170(0x246)](_0x413508,_0x1e9d86[_0x3e1170(0x341)])):_0x5d5f18[_0x3e1170(0x1e1)][_0x53f0a8]?_0x397c30[_0x3e1170(0x246)](_0x413508,_0x53f0a8):(_0x397c30[_0x3e1170(0x246)](_0x413508,null),_0x3e800e[_0x3e1170(0x246)](_0x413508,_0x1e9d86['MissingParent'])):_0x397c30[_0x3e1170(0x246)](_0x413508,null);}ot(_0x397c30,_0x3e800e,_0x5b4b88),st(_0x397c30,_0x3e800e,_0x5b4b88);let _0x552d6a=new Map(_0x5b4b88[_0x3e1170(0x309)]((_0x2d255e,_0x1fa40b)=>[_0x2d255e,_0x1fa40b])),_0x5b8c72=new Map();for(let _0x4ab340 of _0x5b4b88){let _0x17f2c1=_0x397c30['get'](_0x4ab340)??null,_0x3bb582=_0x5b8c72[_0x3e1170(0x268)](_0x17f2c1)??[];_0x3bb582[_0x3e1170(0x381)](_0x4ab340),_0x5b8c72['set'](_0x17f2c1,_0x3bb582);}_0x5b8c72['forEach'](_0x135990=>_0x135990[_0x3e1170(0x1df)]((_0x192837,_0xef6987)=>(_0x552d6a[_0x3e1170(0x268)](_0x192837)??0x0)-(_0x552d6a['get'](_0xef6987)??0x0)));let _0x16091c=_0x5b8c72[_0x3e1170(0x268)](null)??[],_0x3f9987=new Map(),_0x554387=new Map(),_0x1a4dd6=[],_0x2dbb12=(_0x36d15d,_0x15d0e9)=>{const _0x4d0e4f=_0x3e1170;_0x3f9987[_0x4d0e4f(0x246)](_0x36d15d,_0x15d0e9),_0x1a4dd6[_0x4d0e4f(0x381)](_0x36d15d);let _0x14ec3f=0x0;for(let _0x2b1e81 of _0x5b8c72[_0x4d0e4f(0x268)](_0x36d15d)??[])_0x14ec3f=Math[_0x4d0e4f(0x468)](_0x14ec3f,0x1+_0x2dbb12(_0x2b1e81,_0x15d0e9+0x1));return _0x554387[_0x4d0e4f(0x246)](_0x36d15d,_0x14ec3f),_0x14ec3f;};return _0x16091c['forEach'](_0x19317d=>_0x2dbb12(_0x19317d,0x0)),{'fieldId':_0x488f10,'parentByRecordId':_0x397c30,'childrenByParentId':_0x5b8c72,'depthByRecordId':_0x3f9987,'subtreeHeightByRecordId':_0x554387,'invalidReasonByRecordId':_0x3e800e,'rootRecordIds':_0x16091c,'orderedRecordIds':_0x1a4dd6};}function nt(_0x3b9d5d,_0x5c6869,_0x292900=new Set(_0x5c6869[_0x282c57(0x309)](_0x435f6c=>_0x435f6c[_0x282c57(0x40d)]))){const _0x4fb072=_0x282c57;let _0x4e5afd=new Set(_0x292900);for(let _0x12653b of _0x292900){let _0xe36e76=_0x3b9d5d['parentByRecordId'][_0x4fb072(0x268)](_0x12653b)??null;for(;_0xe36e76;)_0x4e5afd[_0x4fb072(0x551)](_0xe36e76),_0xe36e76=_0x3b9d5d[_0x4fb072(0x39a)][_0x4fb072(0x268)](_0xe36e76)??null;}let _0x9a6736=new Map(_0x5c6869[_0x4fb072(0x309)](_0x2a4143=>[_0x2a4143[_0x4fb072(0x40d)],_0x2a4143])),_0x48a7a5=_0x3b9d5d[_0x4fb072(0x2db)][_0x4fb072(0x4cc)](_0x3d4fcc=>_0x4e5afd[_0x4fb072(0x25c)](_0x3d4fcc)),_0x1929c1=_0x48a7a5[_0x4fb072(0x26a)](_0x33bd93=>{const _0x3ccb62=_0x4fb072;let _0x29e291=_0x9a6736[_0x3ccb62(0x268)](_0x33bd93);return _0x29e291?[_0x29e291]:[];}),_0x5ce04a={};for(let _0x9fab78=0x0;_0x9fab78<_0x48a7a5[_0x4fb072(0x4ab)];_0x9fab78++){let _0x12cafe=_0x48a7a5[_0x9fab78];_0x5ce04a[_0x12cafe]={'recordId':_0x12cafe,'parentRecordId':_0x3b9d5d[_0x4fb072(0x39a)][_0x4fb072(0x268)](_0x12cafe)??null,'depth':_0x3b9d5d[_0x4fb072(0x3ec)][_0x4fb072(0x268)](_0x12cafe)??0x0,'directChildCount':(_0x3b9d5d[_0x4fb072(0x28a)][_0x4fb072(0x268)](_0x12cafe)??[])[_0x4fb072(0x4ab)],'subtreeHeight':_0x3b9d5d[_0x4fb072(0x488)][_0x4fb072(0x268)](_0x12cafe)??0x0,'subtreeEndIndex':_0x9fab78,'invalidReason':_0x3b9d5d['invalidReasonByRecordId'][_0x4fb072(0x268)](_0x12cafe)};}let _0x2dc6de=[];for(let _0x140280=0x0;_0x140280<_0x48a7a5[_0x4fb072(0x4ab)];_0x140280++){let _0x19d57f=_0x48a7a5[_0x140280],_0x35b3f4=_0x5ce04a[_0x19d57f][_0x4fb072(0x3dd)];for(;_0x2dc6de[_0x4fb072(0x4ab)]&&_0x2dc6de[_0x2dc6de[_0x4fb072(0x4ab)]-0x1][_0x4fb072(0x3dd)]>=_0x35b3f4;){let _0x12ad5c=_0x2dc6de[_0x4fb072(0x191)]();_0x5ce04a[_0x12ad5c[_0x4fb072(0x40d)]]['subtreeEndIndex']=_0x140280-0x1;}_0x2dc6de[_0x4fb072(0x381)]({'recordId':_0x19d57f,'depth':_0x35b3f4});}return _0x2dc6de[_0x4fb072(0x34b)](({recordId:_0x45fcc5})=>{const _0x1ed5e0=_0x4fb072;_0x5ce04a[_0x45fcc5][_0x1ed5e0(0x3da)]=_0x48a7a5['length']-0x1;}),{'rows':_0x1929c1,'hierarchy':{'fieldId':_0x3b9d5d['fieldId'],'rootRecordIds':_0x3b9d5d[_0x4fb072(0x1b0)][_0x4fb072(0x4cc)](_0x427f29=>_0x4e5afd[_0x4fb072(0x25c)](_0x427f29)),'orderedRecordIds':_0x48a7a5,'nodes':_0x5ce04a}};}function rt(_0x526afa,_0x4cd94b){const _0x1af679=_0x282c57;if(!_0x526afa['hierarchy']||!(_0x4cd94b!=null&&_0x4cd94b[_0x1af679(0x286)]))return _0x526afa['rows'];let _0x449d52=[],_0x44acc9=0x0;for(;_0x44acc9<_0x526afa[_0x1af679(0x535)]['length'];){let _0xc543f0=_0x526afa[_0x1af679(0x535)][_0x44acc9];_0x449d52[_0x1af679(0x381)](_0xc543f0);let _0x5b420d=_0x526afa[_0x1af679(0x43d)][_0x1af679(0x283)][_0xc543f0[_0x1af679(0x40d)]];_0x44acc9=_0x4cd94b['has'](_0xc543f0[_0x1af679(0x40d)])&&_0x5b420d?_0x5b420d['subtreeEndIndex']+0x1:_0x44acc9+0x1;}return _0x449d52;}function it(_0x54eb70,_0x4c2c7f,_0xeba009){const _0x42857b=_0x282c57;if(!_0xeba009)return{'valid':!0x0};if(_0x4c2c7f===_0xeba009)return{'valid':!0x1,'reason':_0x1e9d86['SelfParent']};let _0x5c1f8e=_0xeba009;for(;_0x5c1f8e;){if(_0x5c1f8e===_0x4c2c7f)return{'valid':!0x1,'reason':_0x1e9d86['Cycle']};_0x5c1f8e=_0x54eb70[_0x42857b(0x39a)][_0x42857b(0x268)](_0x5c1f8e)??null;}return(_0x54eb70[_0x42857b(0x3ec)][_0x42857b(0x268)](_0xeba009)??0x0)+0x1+(_0x54eb70['subtreeHeightByRecordId'][_0x42857b(0x268)](_0x4c2c7f)??0x0)>=0x5?{'valid':!0x1,'reason':_0x1e9d86[_0x42857b(0x27f)]}:{'valid':!0x0};}function at(_0x7dd33c,_0x1b003c){const _0x43d4b8=_0x282c57;let _0x114f57=new Set(),_0x9cef3=[];for(let _0x33ef93 of _0x1b003c)_0x7dd33c[_0x43d4b8(0x1e1)][_0x33ef93]&&!_0x114f57[_0x43d4b8(0x25c)](_0x33ef93)&&(_0x114f57['add'](_0x33ef93),_0x9cef3['push'](_0x33ef93));return Object[_0x43d4b8(0x334)](_0x7dd33c['records'])[_0x43d4b8(0x1df)]()[_0x43d4b8(0x34b)](_0x330cf4=>{const _0x9d204f=_0x43d4b8;_0x114f57['has'](_0x330cf4)||_0x9cef3[_0x9d204f(0x381)](_0x330cf4);}),_0x9cef3;}function ot(_0x1fef60,_0x4320e7,_0x4d3959){const _0x6225a6=_0x282c57;let _0x243143=new Set();for(let _0x1e1caf of _0x4d3959){if(_0x243143['has'](_0x1e1caf))continue;let _0x52a471=[],_0x4a65a3=new Map(),_0x1723ce=_0x1e1caf;for(;_0x1723ce&&!_0x243143[_0x6225a6(0x25c)](_0x1723ce);){let _0x15608e=_0x4a65a3[_0x6225a6(0x268)](_0x1723ce);if(_0x15608e!=null){let _0x5c6d5e=[..._0x52a471[_0x6225a6(0x287)](_0x15608e)][_0x6225a6(0x1df)]()[_0x6225a6(0x191)]();_0x1fef60[_0x6225a6(0x246)](_0x5c6d5e,null),_0x4320e7[_0x6225a6(0x246)](_0x5c6d5e,_0x1e9d86[_0x6225a6(0x217)]);break;}_0x4a65a3[_0x6225a6(0x246)](_0x1723ce,_0x52a471[_0x6225a6(0x4ab)]),_0x52a471[_0x6225a6(0x381)](_0x1723ce),_0x1723ce=_0x1fef60[_0x6225a6(0x268)](_0x1723ce)??null;}_0x52a471[_0x6225a6(0x34b)](_0x3fe4e3=>_0x243143[_0x6225a6(0x551)](_0x3fe4e3));}}function st(_0x424ac5,_0x4b4f25,_0x4dc8ff){const _0x1a20de=_0x282c57;let _0xc33f9f=new Map(),_0x9de15e=_0x51f930=>{const _0x2bd262=_0x3047;let _0x5a2a7f=_0xc33f9f[_0x2bd262(0x268)](_0x51f930);if(_0x5a2a7f!=null)return _0x5a2a7f;let _0x50bd3a=_0x424ac5[_0x2bd262(0x268)](_0x51f930)??null;if(!_0x50bd3a)return _0xc33f9f['set'](_0x51f930,0x0),0x0;let _0x2bab02=_0x9de15e(_0x50bd3a)+0x1;return _0x2bab02>=0x5?(_0x424ac5[_0x2bd262(0x246)](_0x51f930,null),_0x4b4f25[_0x2bd262(0x246)](_0x51f930,_0x1e9d86[_0x2bd262(0x27f)]),_0xc33f9f['set'](_0x51f930,0x0),0x0):(_0xc33f9f[_0x2bd262(0x246)](_0x51f930,_0x2bab02),_0x2bab02);};_0x4dc8ff[_0x1a20de(0x34b)](_0x9de15e);}let ct=0x0;function lt(){const _0xd7a5d5=_0x282c57;if(globalThis[_0xd7a5d5(0x2c8)]===!0x0)return!0x0;try{let _0x555732=typeof location>'u'?'':location[_0xd7a5d5(0x1ca)],_0x9981ac=new URLSearchParams(_0x555732);if(_0x9981ac['get'](_0xd7a5d5(0x41f))==='1'||_0x9981ac[_0xd7a5d5(0x268)]('basePerf')==='true'||_0x9981ac[_0xd7a5d5(0x268)](_0xd7a5d5(0x2d4))==='1')return!0x0;}catch{}try{let _0x239a09=typeof localStorage>'u'?null:localStorage[_0xd7a5d5(0x49a)](_0xd7a5d5(0x3f2));return _0x239a09==='1'||_0x239a09===_0xd7a5d5(0x2ee);}catch{return!0x1;}}function I(_0x19842b,_0x27f69b,_0x1249ad){const _0x167f63=_0x282c57;if(!lt())return _0x27f69b();let _0x20d19e=dt(),_0x3a2028=_0x167f63(0x1d6)+ct++;ft(_0x3a2028+_0x167f63(0x40f));try{return _0x27f69b();}finally{let _0x35b0d4=dt()-_0x20d19e;ft(_0x3a2028+_0x167f63(0x1be)),pt(_0x19842b,_0x3a2028+_0x167f63(0x40f),_0x3a2028+_0x167f63(0x1be)),ut(_0x19842b,_0x35b0d4,_0x1249ad);}}function ut(_0x52a63d,_0x22567e,_0x3f6393){const _0x5b484e=_0x282c57;if(!lt())return;let _0x390bf1=Math[_0x5b484e(0x1b1)](_0x22567e*0x64)/0x64,_0x2a4b09=_0x3f6393&&Object[_0x5b484e(0x334)](_0x3f6393)[_0x5b484e(0x4ab)]?'\x20'+JSON[_0x5b484e(0x2fb)](_0x3f6393):'';console[_0x5b484e(0x2ec)](_0x5b484e(0x249)+_0x52a63d+':\x20'+_0x390bf1+'ms'+_0x2a4b09);}function dt(){const _0x8394fd=_0x282c57;return typeof performance<'u'&&typeof performance[_0x8394fd(0x42b)]==_0x8394fd(0x3b9)?performance[_0x8394fd(0x42b)]():Date[_0x8394fd(0x42b)]();}function ft(_0x46349a){const _0x15c940=_0x282c57;try{if(typeof performance<'u'){var _0x179e9d,_0x2f25e3;(_0x179e9d=(_0x2f25e3=performance)[_0x15c940(0x52b)])==null||_0x179e9d['call'](_0x2f25e3,_0x46349a);}}catch{}}function pt(_0xa3564f,_0xa0c132,_0x1d0c6e){const _0x83cee4=_0x282c57;try{if(typeof performance<'u'){var _0x16a55b,_0x51ae0a;(_0x16a55b=(_0x51ae0a=performance)[_0x83cee4(0x3f0)])==null||_0x16a55b['call'](_0x51ae0a,_0x83cee4(0x249)+_0xa3564f,_0xa0c132,_0x1d0c6e);}}catch{}}function L(_0x3c66e0){const _0x288182=_0x282c57;var _0x2f3468;return lt()?I(_0x288182(0x33c),()=>mt(_0x3c66e0),{'tableId':_0x3c66e0['id'],'records':Object[_0x288182(0x334)](_0x3c66e0[_0x288182(0x1e1)]??{})[_0x288182(0x4ab)],'fields':_0x3c66e0['fieldOrder'][_0x288182(0x4ab)],'hasRecordOrder':!!((_0x2f3468=_0x3c66e0[_0x288182(0x413)])!=null&&_0x2f3468['length'])}):mt(_0x3c66e0);}function mt(_0x39e33b){const _0x4532cc=_0x282c57;var _0x5268f7;let _0x4e9e27=_0x39e33b[_0x4532cc(0x1e1)]??{},_0x5b556e=_0x39e33b[_0x4532cc(0x453)]??{},_0x4a781b=((_0x5268f7=_0x39e33b[_0x4532cc(0x413)])==null?void 0x0:_0x5268f7[_0x4532cc(0x4cc)](_0x584eb3=>_0x4e9e27[_0x584eb3]))??[],_0x2e5bf9=new Set(_0x4a781b),_0x5a0a49=[];for(let _0x51a90f of Object[_0x4532cc(0x54e)](_0x4e9e27))_0x2e5bf9['has'](_0x51a90f['id'])||_0x5a0a49['push'](_0x51a90f);let _0x3fb2ef=_0x5a0a49[_0x4532cc(0x4ab)]?[..._0x4a781b,...Rt(_0x5a0a49)]:_0x4a781b,_0x21b787=_0x39e33b[_0x4532cc(0x534)]['filter'](_0x131f12=>_0x5b556e[_0x131f12]),_0x18d78a={..._0x39e33b['rowId']??{}},_0x255992={..._0x39e33b['colId']??{}},_0x5c478d={..._0x39e33b[_0x4532cc(0x343)]??{}};_0x39e33b[_0x4532cc(0x413)]=_0x3fb2ef,_0x39e33b[_0x4532cc(0x277)]={},_0x39e33b[_0x4532cc(0x21b)]={},_0x39e33b[_0x4532cc(0x28f)]={},_0x39e33b[_0x4532cc(0x46d)]={},_0x39e33b[_0x4532cc(0x343)]={},_0x39e33b[_0x4532cc(0x27b)]={..._0x39e33b[_0x4532cc(0x27b)]??{}},_0x39e33b[_0x4532cc(0x27b)][_0x4532cc(0x556)]={..._0x39e33b[_0x4532cc(0x27b)][_0x4532cc(0x556)]??{}},_0x39e33b[_0x4532cc(0x27b)][_0x4532cc(0x3ba)]={..._0x39e33b[_0x4532cc(0x27b)][_0x4532cc(0x3ba)]??{}};let _0x2f6751=_0x39e33b[_0x4532cc(0x277)],_0x57fc93=_0x39e33b[_0x4532cc(0x21b)],_0x54687f=_0x39e33b[_0x4532cc(0x28f)],_0x66412e=_0x39e33b[_0x4532cc(0x46d)],_0x4e4238=_0x39e33b[_0x4532cc(0x343)];return _0x3fb2ef[_0x4532cc(0x34b)]((_0xe2fe15,_0x194c3a)=>{_0x2f6751[_0xe2fe15]=_0x194c3a,_0x57fc93[_0x194c3a]=_0xe2fe15;}),_0x21b787['forEach']((_0x23c148,_0x28b709)=>{_0x54687f[_0x23c148]=_0x28b709,_0x66412e[_0x28b709]=_0x23c148;}),Object[_0x4532cc(0x41d)](_0x5c478d)[_0x4532cc(0x34b)](([_0x353fe6,_0x2466b0])=>{const _0x2c95e4=_0x4532cc;let _0x5b9732=Number(_0x353fe6),_0x1f7c50=_0x18d78a[_0x5b9732]??_0x3fb2ef[_0x5b9732],_0x533150=_0x1f7c50?_0x2f6751[_0x1f7c50]:void 0x0;_0x533150!=null&&(_0x4e4238[_0x533150]={..._0x4e4238[_0x533150]??{}},Object[_0x2c95e4(0x41d)](_0x2466b0??{})[_0x2c95e4(0x34b)](([_0x116978,_0x149259])=>{let _0x2fec6e=Number(_0x116978),_0x40ec1f=_0x255992[_0x2fec6e]??_0x21b787[_0x2fec6e],_0x40f8f5=_0x40ec1f?_0x54687f[_0x40ec1f]:void 0x0;_0x40f8f5!=null&&(_0x4e4238[_0x533150][_0x40f8f5]=St(_0x149259));}));}),Object[_0x4532cc(0x54e)](_0x4e9e27)[_0x4532cc(0x34b)](_0x48add3=>{const _0x4d2939=_0x4532cc;let _0x5c1ead=_0x2f6751[_0x48add3['id']];_0x5c1ead!=null&&(_0x48add3[_0x4d2939(0x54e)]={..._0x48add3[_0x4d2939(0x54e)]??{},[_0x1a2ecc]:_0x48add3['id']},_0x4e4238[_0x5c1ead]={..._0x4e4238[_0x5c1ead]??{},0x0:{'v':_0x48add3['id'],'t':_0x110ba4[_0x4d2939(0x23b)]}},Object['entries'](_0x48add3['values']??{})[_0x4d2939(0x34b)](([_0x4a6878,_0x2a9da])=>{const _0x505049=_0x4d2939;let _0x56ffce=_0x5b556e[_0x4a6878];(_0x56ffce==null?void 0x0:_0x56ffce[_0x505049(0x4aa)])===_0x239099[_0x505049(0x392)]&&Dt(_0x39e33b,_0x48add3['id'],_0x4a6878,_0x2a9da);let _0x6fea53=_0x54687f[_0x4a6878];if(_0x6fea53==null)return;let _0x16e2b6=_0x4e4238[_0x5c1ead][_0x6fea53];if(_0x16e2b6!=null){jt(_0x16e2b6,_0x56ffce,_0x2a9da)&&(_0x4e4238[_0x5c1ead][_0x6fea53]=xt(_0x2a9da,_0x56ffce));return;}_0x4e4238[_0x5c1ead][_0x6fea53]=xt(_0x2a9da,_0x56ffce);}));}),_0x39e33b;}function ht(_0xbf6710,_0x532da9){const _0x3110a7=_0x282c57;return _0xbf6710[_0x3110a7(0x1e1)]=Object[_0x3110a7(0x1af)](Object[_0x3110a7(0x41d)](_0xbf6710[_0x3110a7(0x1e1)])[_0x3110a7(0x309)](([_0x3ba971,_0xb6f3b8])=>[_0x3ba971,{..._0xb6f3b8}])),L(_0xbf6710),Object[_0x3110a7(0x41d)](_0xbf6710['rowId']??{})['forEach'](([_0x26a668,_0x30800a])=>{const _0x5f5985=_0x3110a7;var _0x4dba15;let _0x2031d5=Number(_0x26a668),_0x53597f=_0xbf6710[_0x5f5985(0x1e1)][_0x30800a];_0x53597f&&(_0x53597f[_0x5f5985(0x54e)]={..._0x53597f[_0x5f5985(0x54e)]??{}},Object['entries'](((_0x4dba15=_0xbf6710[_0x5f5985(0x343)])==null?void 0x0:_0x4dba15[_0x2031d5])??{})[_0x5f5985(0x34b)](([_0x5bd9cd,_0x3b04df])=>{const _0x19142c=_0x5f5985;var _0x2a3b8c;let _0x3e07f8=(_0x2a3b8c=_0xbf6710[_0x19142c(0x46d)])==null?void 0x0:_0x2a3b8c[Number(_0x5bd9cd)];_0x3e07f8&&_0x532da9&&!_0x532da9(_0x30800a,_0x3e07f8)||(_0x3e07f8===_0x1a2ecc?_0x53597f[_0x19142c(0x54e)][_0x1a2ecc]=_0x53597f['id']:_0x3e07f8&&(_0x53597f[_0x19142c(0x54e)][_0x3e07f8]=Ct(_0x3b04df,_0xbf6710[_0x19142c(0x453)][_0x3e07f8],_0xbf6710,_0x30800a)));}));}),_0xbf6710;}function gt(_0x10feff,_0x404314){const _0x1eace7=_0x282c57;for(let {row:_0x54166c,col:_0x2ecac6}of _0x404314){var _0x26bec0,_0x2d04cc,_0x2a571f;let _0x25ac0d=(_0x26bec0=_0x10feff['rowId'])==null?void 0x0:_0x26bec0[_0x54166c],_0x145e28=(_0x2d04cc=_0x10feff[_0x1eace7(0x46d)])==null?void 0x0:_0x2d04cc[_0x2ecac6],_0x54d2ba=_0x25ac0d?_0x10feff[_0x1eace7(0x1e1)][_0x25ac0d]:void 0x0;if(!_0x54d2ba||!_0x145e28)continue;if(_0x145e28===_0x1a2ecc){_0x54d2ba['values'][_0x1a2ecc]=_0x54d2ba['id'];continue;}let _0x6176d5=(_0x2a571f=_0x10feff[_0x1eace7(0x343)])==null||(_0x2a571f=_0x2a571f[_0x54166c])==null?void 0x0:_0x2a571f[_0x2ecac6];(_0x6176d5!=null||Object[_0x1eace7(0x35c)][_0x1eace7(0x445)][_0x1eace7(0x2a4)](_0x54d2ba[_0x1eace7(0x54e)]??{},_0x145e28))&&(_0x54d2ba[_0x1eace7(0x54e)]={..._0x54d2ba[_0x1eace7(0x54e)]??{}},_0x54d2ba[_0x1eace7(0x54e)][_0x145e28]=Ct(_0x6176d5,_0x10feff[_0x1eace7(0x453)][_0x145e28],_0x10feff,_0x25ac0d));}return _0x10feff;}function _t(_0x142a04,_0x49f9f7,_0x4667f6){const _0x5447e2=_0x282c57;var _0x4eec7e,_0x38f043,_0x28e4a4,_0x4e0802,_0x94e4dd,_0x5d3553;let _0x2e83d4=(_0x4eec7e=_0x142a04[_0x5447e2(0x277)])==null?void 0x0:_0x4eec7e[_0x49f9f7],_0x25570c=(_0x38f043=_0x142a04[_0x5447e2(0x28f)])==null?void 0x0:_0x38f043[_0x4667f6];if(_0x2e83d4!=null&&_0x25570c!=null&&((_0x28e4a4=_0x142a04[_0x5447e2(0x21b)])==null?void 0x0:_0x28e4a4[_0x2e83d4])===_0x49f9f7&&((_0x4e0802=_0x142a04['colId'])==null?void 0x0:_0x4e0802[_0x25570c])===_0x4667f6)return{'row':_0x2e83d4,'col':_0x25570c};let _0x3d8c29=L(_0x142a04),_0x45c7a8=(_0x94e4dd=_0x3d8c29[_0x5447e2(0x277)])==null?void 0x0:_0x94e4dd[_0x49f9f7],_0x2ebbbf=(_0x5d3553=_0x3d8c29[_0x5447e2(0x28f)])==null?void 0x0:_0x5d3553[_0x4667f6];return _0x45c7a8==null||_0x2ebbbf==null?null:{'row':_0x45c7a8,'col':_0x2ebbbf};}function vt(_0x117c67,_0x2b7937,_0x298db5){const _0x161265=_0x282c57;var _0x5e713c;let _0x15a2d2=_t(_0x117c67,_0x2b7937,_0x298db5);if(_0x15a2d2)return(_0x5e713c=_0x117c67['cellData'])==null||(_0x5e713c=_0x5e713c[_0x15a2d2[_0x161265(0x2f0)]])==null?void 0x0:_0x5e713c[_0x15a2d2[_0x161265(0x340)]];}function yt(_0xb80ff9,_0x3907d5,_0x51069e){const _0x42cca3=_0x282c57;var _0x386d2f;let _0x585fae=vt(_0xb80ff9,_0x3907d5,_0x51069e),_0x2fe732=_0xb80ff9[_0x42cca3(0x453)][_0x51069e];if((_0x2fe732==null?void 0x0:_0x2fe732[_0x42cca3(0x4aa)])===_0x239099['Attachment']){var _0x278f54;return Ot(_0xb80ff9,_0x3907d5,_0x51069e)??kt((_0x278f54=_0xb80ff9['records'][_0x3907d5])==null||(_0x278f54=_0x278f54[_0x42cca3(0x54e)])==null?void 0x0:_0x278f54[_0x51069e]);}if(Mt(_0x2fe732)||Nt(_0x2fe732)||(_0x2fe732==null?void 0x0:_0x2fe732[_0x42cca3(0x4aa)])===_0x239099[_0x42cca3(0x1d7)]){var _0x4b4a8d;let _0x3e3257=(_0x4b4a8d=_0xb80ff9[_0x42cca3(0x1e1)][_0x3907d5])==null||(_0x4b4a8d=_0x4b4a8d[_0x42cca3(0x54e)])==null?void 0x0:_0x4b4a8d[_0x51069e];return _0x3e3257!=null&&_0x3e3257!==''?At(_0x3e3257,_0x2fe732):Ct(_0x585fae,_0x2fe732,_0xb80ff9,_0x3907d5);}return _0x585fae&&Object[_0x42cca3(0x35c)][_0x42cca3(0x445)][_0x42cca3(0x2a4)](_0x585fae,'v')?_0x585fae['v']??null:((_0x386d2f=_0xb80ff9[_0x42cca3(0x1e1)][_0x3907d5])==null||(_0x386d2f=_0x386d2f['values'])==null?void 0x0:_0x386d2f[_0x51069e])??null;}function bt(_0x5d9891,_0x56d872,_0x9386ab){const _0x2934d0=_0x282c57;var _0x405bf1;let _0x532fe3=vt(_0x5d9891,_0x56d872,_0x9386ab);if(_0x532fe3&&Object[_0x2934d0(0x35c)][_0x2934d0(0x445)][_0x2934d0(0x2a4)](_0x532fe3,'v'))return _0x532fe3['v']??null;let _0x3efa05=_0x5d9891[_0x2934d0(0x453)][_0x9386ab];return xt(((_0x405bf1=_0x5d9891[_0x2934d0(0x1e1)][_0x56d872])==null||(_0x405bf1=_0x405bf1[_0x2934d0(0x54e)])==null?void 0x0:_0x405bf1[_0x9386ab])??null,_0x3efa05)['v']??null;}function xt(_0x529cea,_0x59a7f2){const _0x370191=_0x282c57;if(Tt(_0x529cea))return(_0x59a7f2==null?void 0x0:_0x59a7f2[_0x370191(0x4aa)])===_0x239099[_0x370191(0x392)]?{..._0x529cea,'v':'','t':_0x110ba4[_0x370191(0x23b)]}:St(_0x529cea);if((_0x59a7f2==null?void 0x0:_0x59a7f2[_0x370191(0x4aa)])===_0x239099[_0x370191(0x392)])return{'v':'','t':_0x110ba4[_0x370191(0x23b)]};if(Nt(_0x59a7f2)){let _0x4df7e9=Pt(_0x529cea);return{'v':_0x4df7e9,'t':Lt(_0x4df7e9)};}if(Mt(_0x59a7f2))return{'v':Ft(_0x529cea)[_0x370191(0x1c0)](',\x20'),'t':_0x110ba4[_0x370191(0x23b)]};if((_0x59a7f2==null?void 0x0:_0x59a7f2['type'])===_0x239099[_0x370191(0x1d7)]&&_0x529cea&&typeof _0x529cea==_0x370191(0x4ba)&&!Array[_0x370191(0x3d5)](_0x529cea)){let _0x80f9f4=_0x529cea;return{'v':String(_0x80f9f4[_0x370191(0x4b7)]??_0x80f9f4[_0x370191(0x45d)]??''),'t':_0x110ba4[_0x370191(0x23b)]};}return _0x529cea===null||typeof _0x529cea=='string'||typeof _0x529cea=='number'||typeof _0x529cea==_0x370191(0x386)?{'v':_0x529cea,'t':Lt(_0x529cea)}:{'v':null,'t':null};}function St(_0x156b56){let _0x1650c5=zt(_0x156b56['t'],_0x156b56['v']);if(_0x1650c5===void 0x0){let {t:_0x3e35a6,..._0x293609}=_0x156b56;return _0x293609;}return{..._0x156b56,'t':_0x1650c5};}function Ct(_0x4b9b49,_0x52b072,_0x35babf,_0x4d1eae){const _0x786ca7=_0x282c57;if(!_0x4b9b49)return null;if((_0x52b072==null?void 0x0:_0x52b072[_0x786ca7(0x4aa)])===_0x239099['Attachment'])return _0x35babf&&_0x4d1eae?Ot(_0x35babf,_0x4d1eae,_0x52b072['id'])??[]:[];if(Mt(_0x52b072))return Ft(_0x4b9b49['v']);if((_0x52b072==null?void 0x0:_0x52b072[_0x786ca7(0x4aa)])===_0x239099['Link']&&_0x35babf&&_0x4d1eae){var _0x410626;let _0xdad66c=(_0x410626=_0x35babf[_0x786ca7(0x1e1)][_0x4d1eae])==null||(_0x410626=_0x410626['values'])==null?void 0x0:_0x410626[_0x52b072['id']];if(_0xdad66c&&typeof _0xdad66c==_0x786ca7(0x4ba)&&!Array[_0x786ca7(0x3d5)](_0xdad66c))return _0xdad66c;}return Object[_0x786ca7(0x35c)]['hasOwnProperty'][_0x786ca7(0x2a4)](_0x4b9b49,'v')?_0x4b9b49['v']??null:null;}function wt(_0x1ff46e,_0x2841e4,_0x36a7df,_0x19cc39,_0x206138){const _0x31c2f2=_0x282c57;return(_0x36a7df==null?void 0x0:_0x36a7df['type'])===_0x239099[_0x31c2f2(0x392)]?kt(_0x1ff46e):Nt(_0x36a7df)?Pt(_0x1ff46e):Mt(_0x36a7df)?Ft(_0x1ff46e):(_0x36a7df==null?void 0x0:_0x36a7df[_0x31c2f2(0x4aa)])===_0x239099[_0x31c2f2(0x1d7)]&&(_0x1ff46e==null||_0x1ff46e==='')?null:(_0x36a7df==null?void 0x0:_0x36a7df[_0x31c2f2(0x4aa)])===_0x239099['Link']&&_0x1ff46e&&typeof _0x1ff46e==_0x31c2f2(0x4ba)&&!Array[_0x31c2f2(0x3d5)](_0x1ff46e)&&!Tt(_0x1ff46e)?_0x1ff46e:Ct(_0x2841e4,_0x36a7df,_0x19cc39,_0x206138);}function Tt(_0x3fd6c7){const _0x3fc7f4=_0x282c57;return!!_0x3fd6c7&&typeof _0x3fd6c7==_0x3fc7f4(0x4ba)&&(Object[_0x3fc7f4(0x35c)]['hasOwnProperty'][_0x3fc7f4(0x2a4)](_0x3fd6c7,'v')||Object['prototype']['hasOwnProperty'][_0x3fc7f4(0x2a4)](_0x3fd6c7,'t')||Object[_0x3fc7f4(0x35c)]['hasOwnProperty'][_0x3fc7f4(0x2a4)](_0x3fd6c7,'p')||Object[_0x3fc7f4(0x35c)][_0x3fc7f4(0x445)][_0x3fc7f4(0x2a4)](_0x3fd6c7,'f')||Object['prototype'][_0x3fc7f4(0x445)][_0x3fc7f4(0x2a4)](_0x3fd6c7,'si'));}function Et(_0x96d0d1,_0x550451){return _0x96d0d1+'\x1f'+_0x550451;}function Dt(_0x321c75,_0x42c560,_0xe26c8,_0x281840){const _0x1b9475=_0x282c57;let _0x36af9e=kt(_0x281840);_0x321c75['resources']={..._0x321c75[_0x1b9475(0x27b)]??{}},_0x321c75[_0x1b9475(0x27b)]['attachmentSets']={..._0x321c75[_0x1b9475(0x27b)]['attachmentSets']??{}},_0x321c75[_0x1b9475(0x27b)][_0x1b9475(0x3ba)]={..._0x321c75[_0x1b9475(0x27b)][_0x1b9475(0x3ba)]??{}};let _0x3fb6bf=Et(_0xe26c8,_0x42c560),_0x4a78f1=[];for(let _0x327920=0x0;_0x327920<_0x36af9e[_0x1b9475(0x4ab)];_0x327920++){if(!(_0x327920 in _0x36af9e))continue;let _0x43730d=_0x36af9e[_0x327920],_0x1ce11b=String(_0x43730d['id']??_0x3fb6bf+'\x1f'+_0x327920),_0x2ca520={..._0x43730d,'id':_0x1ce11b};_0x321c75[_0x1b9475(0x27b)][_0x1b9475(0x3ba)][_0x1ce11b]=_0x2ca520,_0x4a78f1['push'](_0x1ce11b);}_0x321c75['resources']['attachmentSets'][_0x3fb6bf]=_0x4a78f1;}function Ot(_0x3e8618,_0x203cd3,_0x2fde88){const _0x3cab78=_0x282c57;var _0x249e58;let _0x5941fc=Et(_0x2fde88,_0x203cd3),_0x131020=(_0x249e58=_0x3e8618['resources'])==null||(_0x249e58=_0x249e58[_0x3cab78(0x556)])==null?void 0x0:_0x249e58[_0x5941fc];if(!_0x131020)return null;let _0x39464d=[];for(let _0x15d45b=0x0;_0x15d45b<_0x131020['length'];_0x15d45b++){var _0x230a16;if(!(_0x15d45b in _0x131020))continue;let _0xec10af=(_0x230a16=_0x3e8618[_0x3cab78(0x27b)])==null||(_0x230a16=_0x230a16[_0x3cab78(0x3ba)])==null?void 0x0:_0x230a16[_0x131020[_0x15d45b]];_0xec10af&&_0x39464d['push']({..._0xec10af});}return _0x39464d;}function kt(_0x21d377){const _0x5ab664=_0x282c57;if(_0x21d377==null||_0x21d377===''||Tt(_0x21d377)&&!('id'in _0x21d377)&&!('name'in _0x21d377))return[];let _0x568933=Array[_0x5ab664(0x3d5)](_0x21d377)?_0x21d377:[_0x21d377],_0xeae38b=[];for(let _0x370307=0x0;_0x370307<_0x568933[_0x5ab664(0x4ab)];_0x370307++){if(!(_0x370307 in _0x568933))continue;let _0x507d0a=_0x568933[_0x370307],_0x574d83=_0x507d0a&&typeof _0x507d0a==_0x5ab664(0x4ba)?{..._0x507d0a}:{'id':_0x5ab664(0x526)+_0x370307,'name':String(_0x507d0a)};Object[_0x5ab664(0x334)](_0x574d83)['length']>0x0&&_0xeae38b[_0x5ab664(0x381)](_0x574d83);}return _0xeae38b;}function At(_0x2417bd,_0x4739b1){const _0x3ec9b1=_0x282c57;return(_0x4739b1==null?void 0x0:_0x4739b1[_0x3ec9b1(0x4aa)])===_0x239099['Attachment']?kt(_0x2417bd):Nt(_0x4739b1)?Pt(_0x2417bd):Mt(_0x4739b1)?Ft(_0x2417bd):_0x2417bd;}function jt(_0x540691,_0x5db3db,_0x67f56){const _0x21a1a=_0x282c57;return(_0x5db3db==null?void 0x0:_0x5db3db[_0x21a1a(0x4aa)])===_0x239099[_0x21a1a(0x392)]?_0x540691['v']!=='':Nt(_0x5db3db)?_0x540691['v']!==Pt(_0x67f56):Mt(_0x5db3db)?Array[_0x21a1a(0x3d5)](_0x67f56)&&(_0x540691['v']==null||_0x540691['v']===''):!0x1;}function Mt(_0x3bfe3d){const _0x1dfd78=_0x282c57;return(_0x3bfe3d==null?void 0x0:_0x3bfe3d[_0x1dfd78(0x4aa)])===_0x239099[_0x1dfd78(0x4b3)]||(_0x3bfe3d==null?void 0x0:_0x3bfe3d[_0x1dfd78(0x4aa)])===_0x239099['Group']||(_0x3bfe3d==null?void 0x0:_0x3bfe3d[_0x1dfd78(0x4aa)])===_0x239099[_0x1dfd78(0x2a5)]&&_0x3bfe3d['config'][_0x1dfd78(0x1c8)]===!0x0;}function Nt(_0x42f06d){const _0x32474f=_0x282c57;return(_0x42f06d==null?void 0x0:_0x42f06d[_0x32474f(0x4aa)])===_0x239099[_0x32474f(0x2a5)]&&_0x42f06d[_0x32474f(0x50c)][_0x32474f(0x1c8)]!==!0x0;}function Pt(_0x4c79fd){const _0x5a30a7=_0x282c57;let _0x421a93=Tt(_0x4c79fd)?_0x4c79fd['v']:_0x4c79fd,_0x197c31=Array[_0x5a30a7(0x3d5)](_0x421a93)?_0x421a93[0x0]:_0x421a93;return _0x197c31==null||_0x197c31===''?null:String(_0x197c31);}function Ft(_0x4ae863){const _0x4e6cb3=_0x282c57;if(_0x4ae863==null||_0x4ae863==='')return[];let _0x47251d=[];if(Array['isArray'](_0x4ae863)){for(let _0x4d2abb=0x0;_0x4d2abb<_0x4ae863[_0x4e6cb3(0x4ab)];_0x4d2abb++){if(!(_0x4d2abb in _0x4ae863))continue;let _0x245a30=It(_0x4ae863[_0x4d2abb]);_0x245a30&&_0x47251d[_0x4e6cb3(0x381)](_0x245a30);}return _0x47251d;}for(let _0x312ff6 of String(_0x4ae863)[_0x4e6cb3(0x460)](',')){let _0x222f1e=_0x312ff6[_0x4e6cb3(0x24d)]();_0x222f1e&&_0x47251d[_0x4e6cb3(0x381)](_0x222f1e);}return _0x47251d;}function It(_0x24f6a0){const _0x3818b8=_0x282c57;if(_0x24f6a0==null)return'';if(typeof _0x24f6a0==_0x3818b8(0x3e3)||typeof _0x24f6a0==_0x3818b8(0x389)||typeof _0x24f6a0==_0x3818b8(0x386))return String(_0x24f6a0);if(typeof _0x24f6a0==_0x3818b8(0x4ba)){let _0x3c0521=_0x24f6a0;return String(_0x3c0521['id']??_0x3c0521[_0x3818b8(0x2f4)]??_0x3c0521[_0x3818b8(0x4b7)]??'');}return String(_0x24f6a0);}function Lt(_0x3e97e6){const _0x4d7eca=_0x282c57;return _0x3e97e6==null?null:typeof _0x3e97e6=='number'?_0x110ba4[_0x4d7eca(0x1ff)]:typeof _0x3e97e6==_0x4d7eca(0x386)?_0x110ba4[_0x4d7eca(0x2fd)]:_0x110ba4['STRING'];}function Rt(_0x1c7a85){const _0x1aba07=_0x282c57;_0x1c7a85[_0x1aba07(0x1df)]((_0x258bab,_0x131fe0)=>_0x258bab['orderKey'][_0x1aba07(0x506)](_0x131fe0['orderKey']));let _0x4c40a6=[];for(let _0x1d205e of _0x1c7a85)_0x4c40a6[_0x1aba07(0x381)](_0x1d205e['id']);return _0x4c40a6;}function zt(_0xeb7941,_0x2e72f5){const _0x4b57cf=_0x282c57;return _0xeb7941===_0x110ba4[_0x4b57cf(0x23b)]||_0xeb7941===_0x110ba4['NUMBER']||_0xeb7941===_0x110ba4[_0x4b57cf(0x2fd)]||_0xeb7941===_0x110ba4[_0x4b57cf(0x28b)]||_0xeb7941==null?_0xeb7941:Lt(_0x2e72f5??null);}function R(_0x1d2584){const _0x3a5bb5=_0x282c57;let _0x599ccb=null;for(let _0x1feefe of _0x1d2584)_0x599ccb=_0x599ccb===null?_0x1feefe:_0x2f9032[_0x3a5bb5(0x4aa)][_0x3a5bb5(0x3ad)](_0x599ccb,_0x1feefe);return _0x599ccb;}var z=class e{static[_0x282c57(0x2aa)](_0x264326,_0x595424){const _0x5995de=_0x282c57;let _0x474718=[];for(let _0x4e7ca0 of _0x595424){let _0x133eb6=Bt(_0x4e7ca0);if(!_0x133eb6||_0x133eb6['unitId']!==_0x264326['id'])return null;_0x474718['push'](_0x133eb6['op']);}try{let _0x1e99d5=R(_0x474718);return _0x1e99d5===null?_0x264326:new e()[_0x5995de(0x2e7)](_0x264326,_0x1e99d5);}catch{return null;}}[_0x282c57(0x2e7)](_0x3240d2,_0x4da749){const _0x3bcd83=_0x282c57;let _0x1eefbd=this['getAffectedRanges'](_0x4da749),_0x5ce279=I(_0x3bcd83(0x423),()=>Xt(_0x3240d2,_0x4da749),{'invalidations':_0x1eefbd['length']}),_0x4f852c=I('BaseJson1.json1Apply',()=>_0x2f9032[_0x3bcd83(0x4aa)][_0x3bcd83(0x247)](_0x5ce279,_0x4da749),{'invalidations':_0x1eefbd[_0x3bcd83(0x4ab)]}),_0xffda51=Ht(_0x4f852c,_0x1eefbd);return I(_0x3bcd83(0x497),()=>Vt(_0x4f852c,_0x1eefbd),{'invalidations':_0x1eefbd[_0x3bcd83(0x4ab)]})?(Ut(_0x4f852c,_0xffda51),_0x4f852c):(I(_0x3bcd83(0x4cb),()=>{const _0x5a888d=_0x3bcd83;this[_0x5a888d(0x493)](_0x4f852c,_0x1eefbd)[_0x5a888d(0x34b)](_0x210e97=>{const _0x3b6a68=_0x5a888d;let _0x1dfceb=_0x1eefbd['filter'](_0xbadaa7=>_0xbadaa7[_0x3b6a68(0x45e)]===_0x210e97['id']),_0x33fa90=_0x1dfceb[_0x3b6a68(0x4ab)]>0x0&&_0x1dfceb['every'](_0x1a7631=>_0x1a7631[_0x3b6a68(0x2cd)]==='field'||_0x1a7631['reason']===_0x3b6a68(0x47a)||_0x1a7631['reason']===_0x3b6a68(0x1f9)||_0x1a7631[_0x3b6a68(0x2cd)]===_0x3b6a68(0x3a6))?new Set(_0x1dfceb[_0x3b6a68(0x26a)](_0x1d67ad=>{const _0x23e766=_0x3b6a68;var _0x574c96;if(_0x1d67ad['reason']!==_0x23e766(0x2d9)||!_0x1d67ad[_0x23e766(0x387)])return[];let _0x31b874=(_0x574c96=_0x3240d2[_0x23e766(0x528)][_0x210e97['id']])==null?void 0x0:_0x574c96[_0x23e766(0x453)][_0x1d67ad[_0x23e766(0x387)]],_0x1485d5=_0x210e97['fields'][_0x1d67ad[_0x23e766(0x387)]];return(_0x31b874==null?void 0x0:_0x31b874[_0x23e766(0x4aa)])!==(_0x1485d5==null?void 0x0:_0x1485d5['type'])||(_0x31b874==null?void 0x0:_0x31b874['config']['allowMultiple'])!==(_0x1485d5==null?void 0x0:_0x1485d5['config']['allowMultiple'])?[_0x1d67ad[_0x23e766(0x387)]]:[];})):void 0x0,_0x23ada4=new Set(_0x1dfceb[_0x3b6a68(0x26a)](_0x3bddaa=>{const _0x54e777=_0x3b6a68;var _0x56d0fd,_0x39eaf5;return _0x3bddaa[_0x54e777(0x2cd)]!=='cell'||_0x3bddaa['row']==null||_0x3bddaa[_0x54e777(0x331)]==null?[]:[JSON[_0x54e777(0x2fb)]([(_0x56d0fd=_0x210e97[_0x54e777(0x21b)])==null?void 0x0:_0x56d0fd[_0x3bddaa[_0x54e777(0x2f0)]],(_0x39eaf5=_0x210e97[_0x54e777(0x46d)])==null?void 0x0:_0x39eaf5[_0x3bddaa[_0x54e777(0x331)]]])];}));ht(_0x210e97,_0x33fa90?(_0x3474ba,_0x4422a9)=>_0x33fa90[_0x3b6a68(0x25c)](_0x4422a9)||_0x23ada4[_0x3b6a68(0x25c)](JSON[_0x3b6a68(0x2fb)]([_0x3474ba,_0x4422a9])):void 0x0);});},{'invalidations':_0x1eefbd['length']}),Ut(_0x4f852c,_0xffda51),_0x4f852c);}[_0x282c57(0x35e)](_0x337a77,_0x11449e){const _0x1846c9=_0x282c57;return _0x2f9032['type'][_0x1846c9(0x4a8)](_0x11449e,_0x337a77);}[_0x282c57(0x485)](_0x472085){const _0x34bb35=_0x282c57;let _0x260fef=qt(_0x472085);return _0x260fef[_0x34bb35(0x4ab)]?Jt(_0x260fef['flatMap'](_0x349840=>this['getAffectedRanges'](_0x349840))):Wt(_0x472085);}[_0x282c57(0x493)](_0x30fe0c,_0x31a4e8){const _0x410ba9=_0x282c57;let _0x5f1dc6=_0x31a4e8['filter'](_0x264574=>_0x264574[_0x410ba9(0x2cd)]!==_0x410ba9(0x47a));return _0x5f1dc6[_0x410ba9(0x4ab)]?_0x5f1dc6[_0x410ba9(0x436)](_0x5934db=>!_0x5934db['tableId'])?Object['values'](_0x30fe0c[_0x410ba9(0x528)]??{}):Array[_0x410ba9(0x2f3)](new Set(_0x5f1dc6[_0x410ba9(0x309)](_0x55ea97=>_0x55ea97[_0x410ba9(0x45e)])))[_0x410ba9(0x26a)](_0x387dcf=>{var _0xa040dd;let _0x1c3513=(_0xa040dd=_0x30fe0c['tables'])==null?void 0x0:_0xa040dd[_0x387dcf];return _0x1c3513?[_0x1c3513]:[];}):[];}};function Bt(_0x431774){const _0x10f7a8=_0x282c57;let _0x5ad20c=_0x431774[_0x10f7a8(0x530)];return _0x431774['id']!==_0x10f7a8(0x48f)||typeof _0x5ad20c!=_0x10f7a8(0x4ba)||!_0x5ad20c||!('unitId'in _0x5ad20c)||typeof _0x5ad20c['unitId']!=_0x10f7a8(0x3e3)||!('op'in _0x5ad20c)||!Array[_0x10f7a8(0x3d5)](_0x5ad20c['op'])?null:{'unitId':_0x5ad20c['unitId'],'op':_0x5ad20c['op']};}function Vt(_0x5e8555,_0x334245){const _0x2b8a96=_0x282c57;if(!_0x334245[_0x2b8a96(0x4ab)]||_0x334245[_0x2b8a96(0x436)](_0x4b0a9f=>_0x4b0a9f[_0x2b8a96(0x2cd)]!=='cell'))return!0x1;let _0x90c9c6=new Map();for(let _0x3c1dfc of _0x334245){if(!_0x3c1dfc[_0x2b8a96(0x45e)]||_0x3c1dfc[_0x2b8a96(0x2f0)]==null||_0x3c1dfc[_0x2b8a96(0x331)]==null)continue;let _0x1dd73c=_0x90c9c6[_0x2b8a96(0x268)](_0x3c1dfc[_0x2b8a96(0x45e)])??[];_0x1dd73c[_0x2b8a96(0x381)]({'row':_0x3c1dfc[_0x2b8a96(0x2f0)],'col':_0x3c1dfc[_0x2b8a96(0x331)]}),_0x90c9c6[_0x2b8a96(0x246)](_0x3c1dfc['tableId'],_0x1dd73c);}return _0x90c9c6[_0x2b8a96(0x34b)]((_0x8b2292,_0x33585b)=>{const _0x8d4f03=_0x2b8a96;var _0x2bf1a8;let _0x566d47=(_0x2bf1a8=_0x5e8555[_0x8d4f03(0x528)])==null?void 0x0:_0x2bf1a8[_0x33585b];_0x566d47&>(_0x566d47,_0x8b2292);}),!0x0;}function Ht(_0x1feffc,_0x5d1e1e){let _0x2c77b0=new Set();return _0x5d1e1e['flatMap'](_0x359a18=>{const _0x517021=_0x3047;var _0x42c2f1;if(!_0x359a18[_0x517021(0x45e)]||!_0x359a18[_0x517021(0x40d)]||!_0x359a18['fieldId'])return[];let _0x329167=_0x359a18['tableId']+'\x1f'+_0x359a18[_0x517021(0x40d)]+'\x1f'+_0x359a18['fieldId'];if(_0x2c77b0[_0x517021(0x25c)](_0x329167))return[];_0x2c77b0[_0x517021(0x551)](_0x329167);let _0x6cd44c=(_0x42c2f1=_0x1feffc[_0x517021(0x528)][_0x359a18[_0x517021(0x45e)]])==null||(_0x42c2f1=_0x42c2f1[_0x517021(0x1e1)][_0x359a18[_0x517021(0x40d)]])==null?void 0x0:_0x42c2f1[_0x517021(0x54e)];return _0x6cd44c?[{'tableId':_0x359a18[_0x517021(0x45e)],'recordId':_0x359a18[_0x517021(0x40d)],'fieldId':_0x359a18[_0x517021(0x387)],'exists':Object['prototype']['hasOwnProperty'][_0x517021(0x2a4)](_0x6cd44c,_0x359a18[_0x517021(0x387)]),'value':_0x6cd44c[_0x359a18[_0x517021(0x387)]]}]:[];});}function Ut(_0xc558a8,_0x4dc78f){const _0xd36c7d=_0x282c57;_0x4dc78f[_0xd36c7d(0x34b)](_0x1dce81=>{const _0x5c92a3=_0xd36c7d;var _0x30749f;let _0x37ba45=(_0x30749f=_0xc558a8[_0x5c92a3(0x528)][_0x1dce81[_0x5c92a3(0x45e)]])==null||(_0x30749f=_0x30749f['records'][_0x1dce81[_0x5c92a3(0x40d)]])==null?void 0x0:_0x30749f[_0x5c92a3(0x54e)];_0x37ba45&&(_0x1dce81[_0x5c92a3(0x524)]?_0x37ba45[_0x1dce81[_0x5c92a3(0x387)]]=_0x1dce81[_0x5c92a3(0x373)]:delete _0x37ba45[_0x1dce81[_0x5c92a3(0x387)]]);});}function Wt(_0x3b5def){const _0x16d1a6=_0x282c57;if(!Array[_0x16d1a6(0x3d5)](_0x3b5def)||_0x3b5def[_0x16d1a6(0x4ab)]<0x2)return[{'tableId':'','reason':_0x16d1a6(0x21d)}];let _0x6bd24=_0x3b5def,_0x543d72=_0x6bd24[_0x16d1a6(0x1f4)]('tables');return _0x543d72===-0x1||typeof _0x6bd24[_0x543d72+0x1]!=_0x16d1a6(0x3e3)?_0x6bd24[0x0]===_0x16d1a6(0x1ae)?[]:[{'tableId':'','reason':_0x16d1a6(0x21d)}]:Gt(_0x6bd24,_0x543d72,String(_0x6bd24[_0x543d72+0x1]));}function Gt(_0x4bca43,_0x1f4b0d,_0x2b71bb){const _0x5c0257=_0x282c57;let _0x5df180=_0x4bca43[_0x1f4b0d+0x2];return _0x5df180===_0x5c0257(0x1e1)&&typeof _0x4bca43[_0x1f4b0d+0x3]=='string'?Kt(_0x4bca43,_0x1f4b0d,_0x2b71bb,String(_0x4bca43[_0x1f4b0d+0x3])):_0x5df180===_0x5c0257(0x343)&&_0x4bca43[_0x1f4b0d+0x3]!=null&&_0x4bca43[_0x1f4b0d+0x4]!=null?[{'tableId':_0x2b71bb,'reason':_0x5c0257(0x1f9),'row':Number(_0x4bca43[_0x1f4b0d+0x3]),'column':Number(_0x4bca43[_0x1f4b0d+0x4])}]:_0x5df180===_0x5c0257(0x453)&&typeof _0x4bca43[_0x1f4b0d+0x3]==_0x5c0257(0x3e3)?[{'tableId':_0x2b71bb,'reason':_0x5c0257(0x2d9),'fieldId':String(_0x4bca43[_0x1f4b0d+0x3])}]:_0x5df180===_0x5c0257(0x534)?[{'tableId':_0x2b71bb,'reason':'field'}]:_0x5df180===_0x5c0257(0x413)?[{'tableId':_0x2b71bb,'reason':_0x5c0257(0x3a6)}]:_0x5df180===_0x5c0257(0x4f9)&&typeof _0x4bca43[_0x1f4b0d+0x3]==_0x5c0257(0x3e3)?[{'tableId':_0x2b71bb,'reason':'view','viewId':String(_0x4bca43[_0x1f4b0d+0x3])}]:_0x5df180===_0x5c0257(0x3a5)?[{'tableId':_0x2b71bb,'reason':'view'}]:_0x5df180===_0x5c0257(0x27b)?[{'tableId':_0x2b71bb,'reason':_0x5c0257(0x1f9)}]:[{'tableId':_0x2b71bb,'reason':_0x5df180===void 0x0?_0x5c0257(0x270):_0x5c0257(0x21d)}];}function Kt(_0x1cf311,_0x2c513e,_0x169c5e,_0x267b48){const _0x18910c=_0x282c57;return _0x1cf311[_0x2c513e+0x4]===_0x18910c(0x54e)&&typeof _0x1cf311[_0x2c513e+0x5]==_0x18910c(0x3e3)?[{'tableId':_0x169c5e,'reason':_0x18910c(0x1f9),'recordId':_0x267b48,'fieldId':String(_0x1cf311[_0x2c513e+0x5])}]:_0x1cf311[_0x2c513e+0x4]===_0x18910c(0x250)||_0x1cf311[_0x2c513e+0x4]==='updatedBy'?[]:[{'tableId':_0x169c5e,'reason':_0x18910c(0x3a6),'recordId':_0x267b48}];}function qt(_0x9216c5){const _0x412e7f=_0x282c57;if(!Array[_0x412e7f(0x3d5)](_0x9216c5))return[];let _0x248529=_0x9216c5['filter'](Array[_0x412e7f(0x3d5)]);if(_0x248529[_0x412e7f(0x4ab)]>0x1&&_0x248529['length']===_0x9216c5[_0x412e7f(0x4ab)])return _0x248529;let _0x5ad43c=_0x9216c5[_0x412e7f(0x34e)](Array[_0x412e7f(0x3d5)]);if(_0x5ad43c>0x0&&_0x9216c5[_0x412e7f(0x287)](_0x5ad43c)['every'](Array['isArray'])){let _0x38ee85=_0x9216c5[_0x412e7f(0x287)](0x0,_0x5ad43c);return _0x9216c5['slice'](_0x5ad43c)['map'](_0x35b6db=>[..._0x38ee85,..._0x35b6db]);}let _0x5f2de7=_0x9216c5[_0x412e7f(0x1f4)](_0x412e7f(0x528));if(_0x5f2de7===-0x1||typeof _0x9216c5[_0x5f2de7+0x1]!=_0x412e7f(0x3e3))return[];let _0x3c640d=String(_0x9216c5[_0x5f2de7+0x1]),_0x4d19c8=_0x9216c5[_0x412e7f(0x287)](_0x5f2de7+0x2)[_0x412e7f(0x4cc)](Array[_0x412e7f(0x3d5)]);return _0x4d19c8[_0x412e7f(0x4ab)]<=0x1?[]:_0x4d19c8[_0x412e7f(0x309)](_0x4d1671=>[_0x412e7f(0x528),_0x3c640d,..._0x4d1671]);}function Jt(_0x47edb1){let _0x59002d=new Set();return _0x47edb1['filter'](_0x43c3aa=>{const _0x6a3d5d=_0x3047;let _0x52f786=JSON['stringify'](_0x43c3aa);return!_0x59002d[_0x6a3d5d(0x25c)](_0x52f786)&&(_0x59002d[_0x6a3d5d(0x551)](_0x52f786),!0x0);});}function Yt(_0x29b949){return _0xd92214['deepClone'](_0x29b949);}function Xt(_0x3e486d,_0x26530d){const _0x4baf1b=_0x282c57;let _0x14d881=Zt(_0x26530d);if(!_0x14d881[_0x4baf1b(0x4ab)])return Yt(_0x3e486d);let _0x26d2c4=an(_0x3e486d),_0x3847e6=new Set();for(let _0x39ef71 of _0x14d881)en(_0x26d2c4,_0x39ef71,_0x3847e6);return _0x26d2c4;}function Zt(_0x829d7e){let _0xd0acff=[];return Qt(_0x829d7e,[],_0xd0acff),_0xd0acff;}function Qt(_0x108a4c,_0x251b50,_0x4fbcc2){const _0x5b8155=_0x282c57;if(!Array[_0x5b8155(0x3d5)](_0x108a4c))return;let _0x1b8fd6=[];for(let _0x4a96b9 of _0x108a4c){if(Array[_0x5b8155(0x3d5)](_0x4a96b9)){Qt(_0x4a96b9,[..._0x251b50,..._0x1b8fd6],_0x4fbcc2);continue;}if($t(_0x4a96b9)){_0x4fbcc2['push']([..._0x251b50,..._0x1b8fd6]);continue;}(typeof _0x4a96b9=='string'||typeof _0x4a96b9=='number')&&_0x1b8fd6[_0x5b8155(0x381)](_0x4a96b9);}}function $t(_0x455679){const _0x18a959=_0x282c57;if(!_0x455679||typeof _0x455679!=_0x18a959(0x4ba)||Array[_0x18a959(0x3d5)](_0x455679))return!0x1;let _0x5d3a5c=_0x455679;return'i'in _0x5d3a5c||'r'in _0x5d3a5c||'p'in _0x5d3a5c||'d'in _0x5d3a5c||'es'in _0x5d3a5c||_0x18a959(0x2bb)in _0x5d3a5c||'et'in _0x5d3a5c;}function en(_0x3b1feb,_0x4da071,_0x57f89a){const _0x7139a3=_0x282c57;let _0x252676=_0x3b1feb,_0x4226ed=[];for(let _0x3da5ae=0x0;_0x3da5ae<_0x4da071['length']-0x1;_0x3da5ae++){let _0x552528=_0x4da071[_0x3da5ae];_0x4226ed[_0x7139a3(0x381)](_0x552528);let _0x507a4b=tn(_0x252676,_0x552528);if(!rn(_0x507a4b))return;let _0x494b86=JSON[_0x7139a3(0x2fb)](_0x4226ed);_0x57f89a[_0x7139a3(0x25c)](_0x494b86)||(nn(_0x252676,_0x552528,an(_0x507a4b)),_0x57f89a[_0x7139a3(0x551)](_0x494b86));let _0x12db30=tn(_0x252676,_0x552528);if(!rn(_0x12db30))return;_0x252676=_0x12db30;}}function tn(_0x1b9a2a,_0x360d95){const _0x290359=_0x282c57;return Array[_0x290359(0x3d5)](_0x1b9a2a)?typeof _0x360d95==_0x290359(0x389)?_0x1b9a2a[_0x360d95]:void 0x0:Reflect[_0x290359(0x268)](_0x1b9a2a,_0x360d95);}function nn(_0x3eabe2,_0x307741,_0x258347){const _0x49ad4e=_0x282c57;if(Array['isArray'](_0x3eabe2)){typeof _0x307741==_0x49ad4e(0x389)&&(_0x3eabe2[_0x307741]=_0x258347);return;}Reflect[_0x49ad4e(0x246)](_0x3eabe2,_0x307741,_0x258347);}function rn(_0x44baa4){return!!_0x44baa4&&typeof _0x44baa4=='object';}function an(_0x4cf5d6){const _0x25c082=_0x282c57;return Array[_0x25c082(0x3d5)](_0x4cf5d6)?_0x4cf5d6[_0x25c082(0x287)]():{..._0x4cf5d6};}const on=_0x282c57(0x489),sn=/\s+hh:mm\s*$/i,cn={'yyyy/mm/dd':_0x282c57(0x3b6),'yyyy-mm-dd':_0x282c57(0x21f),'mm-dd':_0x282c57(0x491),'mm/dd/yyyy':_0x282c57(0x1eb),'dd/mm/yyyy':_0x282c57(0x32b),'mmm\x20d,\x20yyyy':_0x282c57(0x3f1)};function B(_0x5744c3,_0x1d0a73=_0x20fc86[_0x282c57(0x23a)]){let _0x27f916=_0x20f447(_0x5744c3)['valueOf']();return _0x29c4f2(new Date(_0x27f916),_0x1d0a73);}function ln(_0x18b9a3,_0x5a48c7=_0x20fc86[_0x282c57(0x23a)]){return _0x247811(_0x18b9a3,_0x5a48c7)['getTime']();}function un(_0x3ebd47,_0x324d86=_0x20fc86['Date1900']){const _0x4431d4=_0x282c57;if(_0x3ebd47==null||_0x3ebd47==='')return null;if(_0x3ebd47 instanceof Date)return B(_0x3ebd47,_0x324d86);if(typeof _0x3ebd47==_0x4431d4(0x389))return Number['isFinite'](_0x3ebd47)?_0x3ebd47>0xf4240?B(_0x3ebd47,_0x324d86):_0x3ebd47:null;let _0x8066e=Date[_0x4431d4(0x2a3)](String(_0x3ebd47));return Number[_0x4431d4(0x50e)](_0x8066e)?null:B(_0x8066e,_0x324d86);}function dn(_0x112b69,_0x1394a7=_0x20fc86[_0x282c57(0x23a)]){let _0x48959f=un(_0x112b69,_0x1394a7);return _0x48959f==null?null:ln(_0x48959f,_0x1394a7);}function fn(_0xd4ddfa={}){const _0xdb3041=_0x282c57;let _0x550dde=String(_0xd4ddfa['pattern']??_0xd4ddfa['format']??_0xd4ddfa['dateFormat']??on)[_0xdb3041(0x24d)]()||on,_0x8c96fc=sn[_0xdb3041(0x1ef)](_0x550dde);return{'pattern':_0x550dde[_0xdb3041(0x1a6)](sn,'')||on,'includeTime':typeof _0xd4ddfa['includeTime']==_0xdb3041(0x386)?_0xd4ddfa[_0xdb3041(0x39b)]:_0x8c96fc,'hourCycle':_0xd4ddfa['hourCycle']===_0xdb3041(0x476)?_0xdb3041(0x476):_0xdb3041(0x536)};}function pn(_0x547bca={}){let {format:_0x280ded,dateFormat:_0x2da246,..._0x377a2c}=_0x547bca;return{..._0x377a2c,...fn(_0x547bca)};}function mn(_0xdd61dd,_0x4d83e3={}){const _0x1393fa=_0x282c57;let _0xe67a28=dn(_0xdd61dd);if(_0xe67a28==null||!Number[_0x1393fa(0x210)](_0xe67a28))return'';let _0x38e335=fn(_0x4d83e3);return _0x20f447(_0xe67a28)[_0x1393fa(0x22b)](hn(_0x38e335));}function hn(_0x49d23e){const _0x4fc8dd=_0x282c57;let {pattern:_0x13e9fe,includeTime:_0xdfe40b,hourCycle:_0x1a6bfb}=_0x49d23e,_0x2d4b64=cn[_0x13e9fe]??cn[on];return _0xdfe40b?_0x2d4b64+'\x20'+(_0x1a6bfb===_0x4fc8dd(0x476)?_0x4fc8dd(0x3f9):_0x4fc8dd(0x1a7)):_0x2d4b64;}const gn={'editable':!0x0,'sortable':!0x0,'filterable':!0x0,'groupable':!0x1,'usableAsKanbanGroup':!0x1,'usableAsCalendarDate':!0x1,'usableAsGanttStart':!0x1,'usableAsGanttEnd':!0x1,'usableAsGanttProgress':!0x1,'usableAsCardCover':!0x1,'usableAsTitle':!0x1},_n=new Set([_0x239099[_0x282c57(0x205)]]),V=0x5265c00;function vn(_0x287d30){const _0x1b63b5=_0x282c57;switch(_0x287d30){case _0x239099[_0x1b63b5(0x546)]:case _0x239099['Currency']:case _0x239099[_0x1b63b5(0x2ca)]:case _0x239099['Rating']:return[_0x5b882d['IS'],_0x5b882d[_0x1b63b5(0x4af)],_0x5b882d[_0x1b63b5(0x2df)],_0x5b882d['LESS_THAN'],_0x5b882d[_0x1b63b5(0x1de)],_0x5b882d[_0x1b63b5(0x3ff)]];case _0x239099['Date']:case _0x239099[_0x1b63b5(0x35d)]:case _0x239099[_0x1b63b5(0x1bc)]:return[_0x5b882d['IS'],_0x5b882d['IS_NOT'],_0x5b882d[_0x1b63b5(0x4c6)],_0x5b882d[_0x1b63b5(0x422)],_0x5b882d[_0x1b63b5(0x1de)],_0x5b882d[_0x1b63b5(0x3ff)]];case _0x239099[_0x1b63b5(0x379)]:return[_0x5b882d['IS'],_0x5b882d[_0x1b63b5(0x4af)]];default:return[_0x5b882d['IS'],_0x5b882d['IS_NOT'],_0x5b882d['CONTAINS'],_0x5b882d['NOT_CONTAINS'],_0x5b882d[_0x1b63b5(0x1de)],_0x5b882d[_0x1b63b5(0x3ff)]];}}function yn(_0x4ac099){const _0x4c580b=_0x282c57;return _0x4ac099===_0x239099['Date']||_0x4ac099===_0x239099[_0x4c580b(0x35d)]||_0x4ac099===_0x239099[_0x4c580b(0x1bc)];}function bn(_0x2ccf3c,_0x428bc7){const _0x33267e=_0x282c57;return _0x2ccf3c==null&&_0x428bc7==null?0x0:_0x2ccf3c==null?-0x1:_0x428bc7==null?0x1:typeof _0x2ccf3c=='number'&&typeof _0x428bc7==_0x33267e(0x389)?_0x2ccf3c-_0x428bc7:String(_0x2ccf3c)[_0x33267e(0x506)](String(_0x428bc7));}function xn(_0x38cc4d,_0x55cf91,_0x45c36d,_0x20f1e7,_0x244bca={}){const _0x44321d=_0x282c57;if(_0x55cf91===_0x44321d(0x433))return Sn(_0x38cc4d);if(_0x55cf91==='isNotEmpty')return!Sn(_0x38cc4d);switch(_0x20f1e7['type']){case _0x239099[_0x44321d(0x546)]:case _0x239099[_0x44321d(0x4b6)]:case _0x239099[_0x44321d(0x2ca)]:case _0x239099[_0x44321d(0x3b7)]:return Cn(_0x38cc4d,_0x55cf91,_0x45c36d);case _0x239099[_0x44321d(0x240)]:case _0x239099[_0x44321d(0x35d)]:case _0x239099['UpdatedAt']:return Tn(_0x38cc4d,_0x55cf91,_0x45c36d,_0x244bca);case _0x239099[_0x44321d(0x379)]:return jn(_0x38cc4d,_0x55cf91,_0x45c36d);case _0x239099[_0x44321d(0x2fe)]:case _0x239099['MultiSelect']:case _0x239099[_0x44321d(0x2a5)]:case _0x239099[_0x44321d(0x3af)]:return Nn(_0x38cc4d,_0x55cf91,_0x45c36d,_0x20f1e7);default:return Pn(_0x38cc4d,_0x55cf91,_0x45c36d);}}function Sn(_0x3334b5){const _0x3cde9c=_0x282c57;return _0x3334b5==null?!0x0:Array['isArray'](_0x3334b5)?_0x3334b5[_0x3cde9c(0x4ab)]===0x0:typeof _0x3334b5==_0x3cde9c(0x3e3)&&_0x3334b5[_0x3cde9c(0x24d)]()==='';}function Cn(_0x5f141f,_0x4548bb,_0x2ad9dd){const _0x45abac=_0x282c57;let _0x39bf5e=wn(_0x5f141f),_0x1cab5f=wn(_0x2ad9dd);if(_0x39bf5e==null||_0x1cab5f==null)return!0x1;switch(_0x4548bb){case'is':return _0x39bf5e===_0x1cab5f;case _0x45abac(0x1a1):return _0x39bf5e!==_0x1cab5f;case _0x45abac(0x2f2):return _0x39bf5e>_0x1cab5f;case _0x45abac(0x499):return _0x39bf5e>=_0x1cab5f;case _0x45abac(0x37b):return _0x39bf5e<_0x1cab5f;case _0x45abac(0x4ca):return _0x39bf5e<=_0x1cab5f;default:return!0x1;}}function wn(_0x55ed68){if(_0x55ed68==null||_0x55ed68==='')return null;let _0x5b4e79=Number(_0x55ed68);return Number['isFinite'](_0x5b4e79)?_0x5b4e79:null;}function Tn(_0x1afdd1,_0x2c07c1,_0x25ef76,_0x551350){const _0x3a7ef7=_0x282c57;let _0x90898=Dn(_0x1afdd1);if(_0x90898==null)return!0x1;let _0x387920=En(_0x551350[_0x3a7ef7(0x51a)]??_0x3a7ef7(0x3e8),_0x25ef76,_0x551350['now']);if(!_0x387920)return!0x1;switch(_0x2c07c1){case'is':return _0x90898>=_0x387920[_0x3a7ef7(0x230)]&&_0x90898<=_0x387920['end'];case _0x3a7ef7(0x1a1):return _0x90898<_0x387920['start']||_0x90898>_0x387920[_0x3a7ef7(0x248)];case _0x3a7ef7(0x22e):return _0x90898<_0x387920['start'];case _0x3a7ef7(0x1a5):return _0x90898>_0x387920[_0x3a7ef7(0x248)];default:return!0x1;}}function En(_0x554762,_0xd950bb,_0x135d92=Date[_0x282c57(0x42b)]()){const _0x500c8a=_0x282c57;let _0x1d8054=On(_0x135d92);switch(_0x554762){case _0x500c8a(0x3e8):{let _0xd91f82=Dn(_0xd950bb);return _0xd91f82==null?null:{'start':_0xd91f82,'end':_0xd91f82+V-0x1};}case _0x500c8a(0x3e1):return{'start':_0x1d8054,'end':_0x1d8054+V-0x1};case _0x500c8a(0x452):return{'start':_0x1d8054+V,'end':_0x1d8054+V*0x2-0x1};case'yesterday':return{'start':_0x1d8054-V,'end':_0x1d8054-0x1};case _0x500c8a(0x409):return kn(_0x1d8054,0x0);case _0x500c8a(0x3bb):return kn(_0x1d8054,-0x1);case _0x500c8a(0x547):return An(_0x1d8054,0x0);case'lastMonth':return An(_0x1d8054,-0x1);case _0x500c8a(0x2b9):return{'start':_0x1d8054-V*0x6,'end':_0x1d8054+V-0x1};case _0x500c8a(0x2d7):return{'start':_0x1d8054,'end':_0x1d8054+V*0x7-0x1};case _0x500c8a(0x3d1):return{'start':_0x1d8054-V*0x1d,'end':_0x1d8054+V-0x1};case _0x500c8a(0x44e):return{'start':_0x1d8054,'end':_0x1d8054+V*0x1e-0x1};}}function Dn(_0x5b0f61){let _0x153f7d=un(_0x5b0f61);return _0x153f7d==null?null:On(ln(_0x153f7d));}function On(_0x5372c3){const _0x3fa261=_0x282c57;let _0x5dabd7=new Date(_0x5372c3);return _0x5dabd7[_0x3fa261(0x4bb)](0x0,0x0,0x0,0x0),_0x5dabd7[_0x3fa261(0x3b8)]();}function kn(_0x2a3798,_0xd30455){const _0x192c92=_0x282c57;let _0x1a159e=_0x2a3798-(new Date(_0x2a3798)[_0x192c92(0x2ef)]()+0x6)%0x7*V+_0xd30455*V*0x7;return{'start':_0x1a159e,'end':_0x1a159e+V*0x7-0x1};}function An(_0xfe2fb7,_0x145313){const _0x37156e=_0x282c57;let _0x1a75f1=new Date(_0xfe2fb7),_0x1b3f06=new Date(_0x1a75f1[_0x37156e(0x2a6)](),_0x1a75f1[_0x37156e(0x308)]()+_0x145313,0x1),_0x13f42a=new Date(_0x1a75f1['getFullYear'](),_0x1a75f1[_0x37156e(0x308)]()+_0x145313+0x1,0x1);return{'start':_0x1b3f06[_0x37156e(0x3b8)](),'end':_0x13f42a[_0x37156e(0x3b8)]()-0x1};}function jn(_0x3af031,_0x46dbf3,_0x5026c7){const _0x1b1d90=_0x282c57;let _0x2f71f4=Mn(_0x3af031),_0x4637a4=Mn(_0x5026c7);switch(_0x46dbf3){case'is':return _0x2f71f4===_0x4637a4;case _0x1b1d90(0x1a1):return _0x2f71f4!==_0x4637a4;default:return!0x1;}}function Mn(_0x3ae795){const _0x5b5f0e=_0x282c57;return _0x3ae795===!0x0||_0x3ae795===_0x5b5f0e(0x2ee)||_0x3ae795===0x1||_0x3ae795==='1';}function Nn(_0x509df6,_0x20cac3,_0x700028,_0x1a8c33){const _0x45a8cc=_0x282c57;let _0x19602f=In(_0x509df6,_0x1a8c33),_0x121bf6=In(_0x700028,_0x1a8c33),_0x3e0ba8=_0x121bf6[_0x45a8cc(0x4ab)]>0x0&&_0x121bf6[_0x45a8cc(0x436)](_0x5ebcf2=>_0x19602f[_0x45a8cc(0x3df)](_0x5ebcf2));switch(_0x20cac3){case'is':case _0x45a8cc(0x2bc):return _0x3e0ba8;case _0x45a8cc(0x1a1):case'notContains':return!_0x3e0ba8;default:return!0x1;}}function Pn(_0x15171d,_0xaf564f,_0x231d82){const _0x306cea=_0x282c57;let _0x26be0c=Fn(_0x15171d),_0x1a0ac0=Fn(_0x231d82);switch(_0xaf564f){case'is':return _0x26be0c===_0x1a0ac0;case _0x306cea(0x1a1):return _0x26be0c!==_0x1a0ac0;case _0x306cea(0x2bc):return _0x1a0ac0?_0x26be0c[_0x306cea(0x3df)](_0x1a0ac0):!0x1;case'notContains':return!_0x1a0ac0||!_0x26be0c[_0x306cea(0x3df)](_0x1a0ac0);default:return!0x1;}}function Fn(_0x2a19f7){const _0x291e02=_0x282c57;if(Array[_0x291e02(0x3d5)](_0x2a19f7))return _0x2a19f7['map'](_0x26cf6c=>Fn(_0x26cf6c))[_0x291e02(0x1c0)]('\x0a');if(_0x2a19f7&&typeof _0x2a19f7==_0x291e02(0x4ba)){let _0x40e237=_0x2a19f7;return String(_0x40e237['name']??_0x40e237[_0x291e02(0x19c)]??_0x40e237['text']??_0x40e237['value']??_0x40e237['id']??'')[_0x291e02(0x24d)]()[_0x291e02(0x3ca)]();}return String(_0x2a19f7??'')[_0x291e02(0x24d)]()[_0x291e02(0x3ca)]();}function In(_0x4e24d8,_0x436255){const _0x3902e1=_0x282c57;let _0x181d96=Ln(_0x4e24d8),_0x2729eb=Rn(_0x436255[_0x3902e1(0x50c)]??{});return _0x181d96[_0x3902e1(0x26a)](_0x55f17c=>_0x2729eb[_0x3902e1(0x268)](_0x55f17c)??[_0x55f17c])['filter']((_0x487c74,_0x10c710,_0x14a9f4)=>_0x487c74!==''&&_0x14a9f4[_0x3902e1(0x1f4)](_0x487c74)===_0x10c710);}function Ln(_0x1115f1){const _0x4acaee=_0x282c57;if(_0x1115f1==null||_0x1115f1==='')return[];if(Array['isArray'](_0x1115f1))return _0x1115f1[_0x4acaee(0x26a)](_0x21903a=>Ln(_0x21903a));if(_0x1115f1&&typeof _0x1115f1=='object'){let _0x2da63b=_0x1115f1;return['id',_0x4acaee(0x2f4),_0x4acaee(0x19c),'value',_0x4acaee(0x4b7)][_0x4acaee(0x26a)](_0x59b777=>Ln(_0x2da63b[_0x59b777]))[_0x4acaee(0x4cc)]((_0x2d837f,_0x1ecfbd,_0x3a8185)=>_0x3a8185[_0x4acaee(0x1f4)](_0x2d837f)===_0x1ecfbd);}return[Fn(_0x1115f1)];}function Rn(_0x3dbe52){const _0x1ae6b2=_0x282c57;let _0x6fc782=new Map();return(Array[_0x1ae6b2(0x3d5)](_0x3dbe52['options'])?_0x3dbe52['options']:[])['forEach'](_0x21a7cb=>{const _0x198b0a=_0x1ae6b2;if(!_0x21a7cb||typeof _0x21a7cb!=_0x198b0a(0x4ba))return;let _0x17a7f8=Ln(_0x21a7cb),_0x76da4=_0x17a7f8[_0x198b0a(0x4cc)]((_0x4e830c,_0x3cab01)=>_0x4e830c!==''&&_0x17a7f8['indexOf'](_0x4e830c)===_0x3cab01);_0x76da4[_0x198b0a(0x34b)](_0x49c8cb=>_0x6fc782['set'](_0x49c8cb,_0x76da4));}),_0x6fc782;}function H(_0xb61899,_0x521f98={},_0x20da5e=_0x260b35=>_0x260b35,_0x3e3f3e={}){const _0x15b0ca=_0x282c57;let _0x45904e=!_n['has'](_0xb61899),_0x1141aa=_0x20da5e??(_0x114c3c=>_0x114c3c);return{'type':_0xb61899,'i18nKey':_0x15b0ca(0x542)+_0xb61899,'enabled':_0x45904e,'visibleInCreateMenu':_0x45904e,'createDefaultConfig':_0x3e3f3e['createDefaultConfig']??(()=>({})),'createDefaultValue':_0x3e3f3e[_0x15b0ca(0x313)]??(_0x309555=>_0x309555[_0x15b0ca(0x522)]??null),'normalize':(_0xe71ee2,_0x51f80a)=>_0x1141aa(_0xe71ee2,_0x51f80a),'validate':(_0x18d958,_0x55613f)=>{const _0x5d726e=_0x15b0ca;var _0x319c14;return _0x45904e?((_0x319c14=_0x3e3f3e['validate'])==null?void 0x0:_0x319c14[_0x5d726e(0x2a4)](_0x3e3f3e,_0x18d958,_0x55613f))??{'valid':!0x0}:{'valid':!0x1};},'compare':(_0x22ebe9,_0x1d5fca)=>bn(_0x22ebe9,_0x1d5fca),'filter':(_0x1c4df9,_0x5078d6,_0x421121,_0x358a10)=>xn(_0x1c4df9,_0x5078d6,_0x421121,_0x358a10),'toPlainText':_0x3e3f3e[_0x15b0ca(0x49d)]??(_0x212af0=>_0x212af0==null?'':String(_0x212af0)),'fromPlainText':_0x3e3f3e[_0x15b0ca(0x1c5)]??(_0xc69de7=>_0x1141aa(_0xc69de7,{'id':'','name':'','type':_0xb61899,'config':{}})),'getCapabilities':()=>({...gn,..._0x521f98,'editable':_0x45904e&&(_0x521f98[_0x15b0ca(0x3f7)]??gn[_0x15b0ca(0x3f7)])})};}function zn(){const _0x310d3a=_0x282c57;return[H(_0x239099[_0x310d3a(0x34a)],{'groupable':!0x0,'usableAsTitle':!0x0},void 0x0,{'createDefaultConfig':()=>({'placeholder':_0x310d3a(0x3de)}),'createDefaultValue':_0x17ab31=>_0x17ab31[_0x310d3a(0x522)]??''}),H(_0x239099[_0x310d3a(0x2fe)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsOptions':!0x0},_0x5c7ac9=>_0x5c7ac9==null||_0x5c7ac9===''?null:String(_0x5c7ac9),{'createDefaultConfig':()=>({'options':[],'optionSource':{'type':_0x310d3a(0x27e)}})}),H(_0x239099['MultiSelect'],{'filterable':!0x0,'usableAsKanbanGroup':!0x0,'supportsOptions':!0x0,'supportsMultipleValues':!0x0},_0x107ff1=>Array['isArray'](_0x107ff1)?_0x107ff1[_0x310d3a(0x309)](String):_0x107ff1==null?[]:[String(_0x107ff1)],{'createDefaultConfig':()=>({'options':[],'optionSource':{'type':_0x310d3a(0x27e)}}),'createDefaultValue':_0xfbb45d=>_0xfbb45d[_0x310d3a(0x522)]??[]}),H(_0x239099[_0x310d3a(0x2a5)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsMultipleValues':!0x0},Wn,{'createDefaultConfig':()=>({'allowMultiple':!0x1,'provider':_0x310d3a(0x540)}),'validate':Gn}),H(_0x239099['Group'],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsMultipleValues':!0x0},Hn,{'createDefaultConfig':()=>({'allowMultiple':!0x0,'provider':_0x310d3a(0x359)}),'createDefaultValue':_0x2f5bb7=>_0x2f5bb7[_0x310d3a(0x522)]??[],'validate':Kn}),H(_0x239099['Date'],{'groupable':!0x0,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x45749f=>un(_0x45749f),{'createDefaultConfig':()=>Vn(),'validate':qn}),H(_0x239099[_0x310d3a(0x392)],{'usableAsCardCover':!0x0,'supportsMultipleValues':!0x0},_0x3ce28f=>_0x3ce28f==null?[]:Array[_0x310d3a(0x3d5)](_0x3ce28f)?_0x3ce28f:[_0x3ce28f],{'createDefaultValue':_0x2def2d=>_0x2def2d[_0x310d3a(0x522)]??[]}),H(_0x239099[_0x310d3a(0x546)],{},_0x51e060=>_0x51e060==null||_0x51e060===''?null:Number(_0x51e060),{'createDefaultConfig':()=>Bn(),'validate':Jn}),H(_0x239099[_0x310d3a(0x379)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0},_0x2aea33=>_0x2aea33===!0x0||_0x2aea33===_0x310d3a(0x2ee)||_0x2aea33===0x1||_0x2aea33==='1',{'createDefaultConfig':()=>({'icon':'check','color':_0x310d3a(0x490)}),'createDefaultValue':_0x1f7a64=>_0x1f7a64[_0x310d3a(0x522)]??!0x1,'validate':_0xda468f=>typeof _0xda468f==_0x310d3a(0x386)?{'valid':!0x0}:{'valid':!0x1,'reason':_0x310d3a(0x26b)}}),H(_0x239099[_0x310d3a(0x1d7)],{'supportsRelation':!0x0},Xn,{'createDefaultConfig':()=>({'placeholder':_0x310d3a(0x4d4)}),'toPlainText':_0x5a0c3f=>Zn(_0x5a0c3f),'fromPlainText':_0x7fb6bf=>Xn(_0x7fb6bf)}),H(_0x239099[_0x310d3a(0x41e)],{'editable':!0x1},void 0x0,{'createDefaultConfig':()=>({'formula':'','dependencies':[],'numfmt':{'type':_0x310d3a(0x257),'pattern':_0x310d3a(0x218)}}),'createDefaultValue':()=>null}),H(_0x239099[_0x310d3a(0x1f6)],{'editable':!0x1,'usableAsTitle':!0x0},void 0x0,{'createDefaultConfig':()=>({'mode':_0x310d3a(0x1c3)}),'createDefaultValue':()=>null}),H(_0x239099[_0x310d3a(0x4c1)],{'usableAsTitle':!0x0},_0xccc385=>_0xccc385==null?null:String(_0xccc385)[_0x310d3a(0x24d)](),{'validate':_0x385576=>_0x385576==null||_0x385576===''||/^\+?[0-9 ()-]{6,20}$/[_0x310d3a(0x1ef)](String(_0x385576))?{'valid':!0x0}:{'valid':!0x1,'reason':'[BaseField]:\x20invalid\x20phone\x20value.'}}),H(_0x239099['Email'],{'usableAsTitle':!0x0},_0x22e68e=>_0x22e68e==null?null:String(_0x22e68e)[_0x310d3a(0x24d)](),{'validate':_0x271367=>_0x271367==null||_0x271367===''||$n(String(_0x271367))?{'valid':!0x0}:{'valid':!0x1,'reason':_0x310d3a(0x3e9)}}),H(_0x239099[_0x310d3a(0x2ca)],{'usableAsGanttProgress':!0x0},_0x505ba8=>_0x505ba8==null||_0x505ba8===''?null:Number(_0x505ba8),{'createDefaultConfig':()=>({'format':_0x310d3a(0x384),'decimalPlaces':0x0,'color':_0x310d3a(0x42c),'customRange':!0x1,'start':0x0,'end':0x64}),'validate':(_0x36f39b,_0x167b99)=>Yn(_0x36f39b,_0x167b99,_0x310d3a(0x43b))}),H(_0x239099['Currency'],{},_0x548c16=>_0x548c16==null||_0x548c16===''?null:Number(_0x548c16),{'createDefaultConfig':()=>({...Bn(),'currencySymbol':'$'}),'validate':Jn}),H(_0x239099['Rating'],{'groupable':!0x0,'usableAsKanbanGroup':!0x0},_0x834803=>_0x834803==null||_0x834803===''?null:Number(_0x834803),{'createDefaultConfig':()=>({'icon':_0x310d3a(0x26d),'min':0x1,'max':0x5}),'createDefaultValue':()=>null,'validate':(_0x28ee49,_0x4de250)=>Yn(_0x28ee49,_0x4de250,_0x310d3a(0x45b))}),H(_0x239099[_0x310d3a(0x2c2)],{'supportsRelation':!0x0,'supportsMultipleValues':!0x0},Un,{'createDefaultConfig':()=>({'targetTableId':'','multiple':!0x1}),'createDefaultValue':()=>'','validate':(_0x942bef,_0x21e20b)=>ze(_0x942bef,_0x21e20b[_0x310d3a(0x50c)][_0x310d3a(0x3ea)]===!0x0)}),H(_0x239099['RecordId'],{'editable':!0x1,'sortable':!0x0,'filterable':!0x0,'usableAsTitle':!0x0}),H(_0x239099[_0x310d3a(0x4be)],{'editable':!0x1,'groupable':!0x0},_0x2eabd4=>_0x2eabd4==null?null:String(_0x2eabd4),{'createDefaultConfig':()=>({'provider':_0x310d3a(0x1c1)}),'createDefaultValue':()=>null}),H(_0x239099[_0x310d3a(0x532)],{'editable':!0x1,'groupable':!0x0},_0x2a96d5=>_0x2a96d5==null?null:String(_0x2a96d5),{'createDefaultConfig':()=>({'provider':_0x310d3a(0x1c1)}),'createDefaultValue':()=>null}),H(_0x239099[_0x310d3a(0x35d)],{'editable':!0x1,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x5cf8be=>un(_0x5cf8be),{'createDefaultConfig':()=>Vn(),'createDefaultValue':()=>null,'validate':qn}),H(_0x239099[_0x310d3a(0x1bc)],{'editable':!0x1,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x57e61d=>un(_0x57e61d),{'createDefaultConfig':()=>Vn(),'createDefaultValue':()=>null,'validate':qn})];}function Bn(){const _0x1f87bd=_0x282c57;return{'pattern':'#,##0.00','decimalPlaces':0x2,'separatorStyle':_0x1f87bd(0x3d9),'useThousands':!0x0,'abbreviation':_0x1f87bd(0x3f5),'allowNegative':!0x0};}function Vn(){const _0x3247a2=_0x282c57;return{'locale':_0x3247a2(0x1a9),'pattern':'yyyy/mm/dd','includeTime':!0x1,'hourCycle':_0x3247a2(0x536),'defaultMode':'none'};}function Hn(_0x154505){const _0x32da03=_0x282c57;return _0x154505==null||_0x154505===''?[]:Array[_0x32da03(0x3d5)](_0x154505)?_0x154505['map'](String):[String(_0x154505)];}function Un(_0x307110){const _0x15d82a=_0x282c57;return typeof _0x307110==_0x15d82a(0x3e3)?_0x307110:'';}function Wn(_0x4151ed,_0x48b885){const _0xa8f073=_0x282c57;return _0x4151ed==null||_0x4151ed===''?_0x48b885['config'][_0xa8f073(0x1c8)]===!0x0?[]:null:_0x48b885[_0xa8f073(0x50c)][_0xa8f073(0x1c8)]===!0x0?Array[_0xa8f073(0x3d5)](_0x4151ed)?_0x4151ed['map'](String):[String(_0x4151ed)]:Array['isArray'](_0x4151ed)?String(_0x4151ed[0x0]??'')||null:String(_0x4151ed);}function Gn(_0x143cba,_0x3438ba){const _0x460f82=_0x282c57;return _0x3438ba[_0x460f82(0x50c)][_0x460f82(0x1c8)]===!0x0?Kn(_0x143cba):_0x143cba==null||_0x143cba===''||typeof _0x143cba=='string'?{'valid':!0x0}:{'valid':!0x1,'reason':_0x460f82(0x2e1)};}function Kn(_0x5538d4){const _0x4cf559=_0x282c57;return _0x5538d4==null||Array['isArray'](_0x5538d4)&&_0x5538d4['every'](_0x29037b=>typeof _0x29037b==_0x4cf559(0x3e3))?{'valid':!0x0}:{'valid':!0x1,'reason':_0x4cf559(0x338)};}function qn(_0x3413ad){const _0x2cd104=_0x282c57;return _0x3413ad==null||typeof _0x3413ad=='number'&&Number[_0x2cd104(0x210)](_0x3413ad)?{'valid':!0x0}:{'valid':!0x1,'reason':_0x2cd104(0x2f7)};}function Jn(_0x2ca6c3,_0x4ac7c6){const _0x425e05=_0x282c57;return _0x2ca6c3==null||_0x2ca6c3===''?{'valid':!0x0}:typeof _0x2ca6c3!='number'||!Number['isFinite'](_0x2ca6c3)?{'valid':!0x1,'reason':'[BaseField]:\x20invalid\x20number\x20value.'}:_0x4ac7c6[_0x425e05(0x50c)]['allowNegative']===!0x1&&_0x2ca6c3<0x0?{'valid':!0x1,'reason':_0x425e05(0x18d)}:{'valid':!0x0};}function Yn(_0xf28e1d,_0x3bd6d7,_0x1897eb){const _0x2f2e3c=_0x282c57;let _0x561841=Jn(_0xf28e1d,_0x3bd6d7);if(!_0x561841['valid']||_0xf28e1d==null||_0xf28e1d==='')return _0x561841;let _0x76ebd7=Number(_0x3bd6d7[_0x2f2e3c(0x50c)][_0x2f2e3c(0x520)]??_0x3bd6d7['config'][_0x2f2e3c(0x230)]??0x0),_0x56ed3e=Number(_0x3bd6d7[_0x2f2e3c(0x50c)][_0x2f2e3c(0x468)]??_0x3bd6d7['config'][_0x2f2e3c(0x248)]??0x64),_0x243630=Number(_0xf28e1d);return _0x243630>=_0x76ebd7&&_0x243630<=_0x56ed3e?{'valid':!0x0}:{'valid':!0x1,'reason':_0x1897eb};}function Xn(_0x310053){const _0x5dd255=_0x282c57;if(_0x310053==null||_0x310053==='')return null;if(typeof _0x310053==_0x5dd255(0x4ba)&&!Array[_0x5dd255(0x3d5)](_0x310053)){let _0x271719=_0x310053,_0x2f363c=typeof _0x271719[_0x5dd255(0x4b7)]==_0x5dd255(0x3e3)?_0x271719[_0x5dd255(0x4b7)][_0x5dd255(0x24d)]():'',_0x27853b=typeof _0x271719[_0x5dd255(0x45d)]==_0x5dd255(0x3e3)?_0x271719[_0x5dd255(0x45d)]['trim']():'',_0xde958b=Qn(_0x27853b||_0x2f363c);return _0xde958b?{'text':_0x2f363c||_0x27853b||_0xde958b,'url':_0xde958b}:null;}let _0x320365=String(_0x310053)[_0x5dd255(0x24d)](),_0x1fb38a=Qn(_0x320365);return _0x1fb38a?{'text':_0x320365,'url':_0x1fb38a}:null;}function Zn(_0x425cbf){const _0x2c600b=_0x282c57;if(_0x425cbf==null)return'';if(typeof _0x425cbf==_0x2c600b(0x4ba)&&!Array[_0x2c600b(0x3d5)](_0x425cbf)){let _0x12f1da=_0x425cbf;return String(_0x12f1da[_0x2c600b(0x4b7)]||_0x12f1da[_0x2c600b(0x45d)]||'');}return String(_0x425cbf);}function Qn(_0x451de2){const _0x23679a=_0x282c57;let _0x3929a9=_0x451de2[_0x23679a(0x24d)]();if(!_0x3929a9)return'';let _0x48d8ee=/^[a-z][a-z\d+.-]*:/i[_0x23679a(0x1ef)](_0x3929a9)?_0x3929a9:_0x3929a9['startsWith']('//')?_0x23679a(0x553)+_0x3929a9:_0x23679a(0x2dc)+_0x3929a9;try{let _0x378eb1=new URL(_0x48d8ee);return _0x378eb1[_0x23679a(0x2f9)]===_0x23679a(0x385)||_0x378eb1['protocol']===_0x23679a(0x553)?_0x378eb1[_0x23679a(0x3c1)]:'';}catch{return'';}}function $n(_0x527224){const _0x40b701=_0x282c57;let _0x3b83d5=_0x527224[_0x40b701(0x1f4)]('@');if(_0x3b83d5<=0x0||_0x3b83d5!==_0x527224[_0x40b701(0x441)]('@'))return!0x1;let _0x391848=_0x527224['slice'](_0x3b83d5+0x1);return _0x391848['includes']('.')&&!_0x527224[_0x40b701(0x3df)]('\x20')&&!_0x391848['startsWith']('.')&&!_0x391848['endsWith']('.');}const U={'table':_0x4d5f4e=>['tables',_0x4d5f4e],'field':(_0x43eb9c,_0x5c0103)=>[_0x282c57(0x528),_0x43eb9c,_0x282c57(0x453),_0x5c0103],'fieldOrder':(_0x2c796a,_0x339c35)=>[_0x282c57(0x528),_0x2c796a,_0x282c57(0x534),_0x339c35],'record':(_0x566507,_0x283c0f)=>[_0x282c57(0x528),_0x566507,_0x282c57(0x1e1),_0x283c0f],'cell':(_0x4a8e7c,_0x263a2b,_0x578b21)=>[_0x282c57(0x528),_0x4a8e7c,'records',_0x263a2b,_0x282c57(0x54e),_0x578b21],'cellData':(_0x307d81,_0x4fbc71,_0x200288)=>[_0x282c57(0x528),_0x307d81,_0x282c57(0x343),String(_0x4fbc71),String(_0x200288)],'attachmentSet':(_0xa04fbd,_0x2cb146)=>[_0x282c57(0x528),_0xa04fbd,_0x282c57(0x27b),_0x282c57(0x556),_0x2cb146],'attachment':(_0x1c5607,_0x2caf4f)=>[_0x282c57(0x528),_0x1c5607,'resources',_0x282c57(0x3ba),_0x2caf4f],'view':(_0x58faf8,_0x18f505)=>[_0x282c57(0x528),_0x58faf8,_0x282c57(0x4f9),_0x18f505],'viewFieldHidden':(_0x21820d,_0x37bab7,_0x25f0d7)=>[_0x282c57(0x528),_0x21820d,_0x282c57(0x4f9),_0x37bab7,'fieldSettings',_0x25f0d7,'hidden']};var W=class{[_0x282c57(0x20b)](_0x5533ea,_0x5c9804){const _0x31efc2=_0x282c57;let _0x437e54=this[_0x31efc2(0x3bd)](_0x5533ea,_0x5533ea[_0x31efc2(0x2f4)],_0x5c9804);return R([this[_0x31efc2(0x4b2)]([_0x31efc2(0x2f4)],_0x5533ea['name'],_0x5c9804),..._0x437e54?[_0x437e54]:[]]);}['renameFormulaUnitReferences'](_0x1713a2,_0x27c255,_0x5adab2){const _0x5a5563=_0x282c57;let _0x2a1e1a=Object[_0x5a5563(0x54e)](_0x1713a2['tables'])[_0x5a5563(0x26a)](_0x4eede8=>Object[_0x5a5563(0x54e)](_0x4eede8[_0x5a5563(0x453)])[_0x5a5563(0x26a)](_0x15ca50=>{const _0x3c21fc=_0x5a5563;var _0x3612e8,_0x4e3cdd;if(_0x15ca50['type']!==_0x239099[_0x3c21fc(0x41e)])return[];let _0x4559f4=String(((_0x3612e8=_0x15ca50[_0x3c21fc(0x50c)])==null?void 0x0:_0x3612e8['formula'])??''),_0x491efc=_0x54dc4c(_0x4559f4,_0x27c255,_0x5adab2);return _0x491efc===_0x4559f4?[]:[this[_0x3c21fc(0x4b2)]([...U[_0x3c21fc(0x2d9)](_0x4eede8['id'],_0x15ca50['id']),_0x3c21fc(0x50c),_0x3c21fc(0x557)],(_0x4e3cdd=_0x15ca50['config'])==null?void 0x0:_0x4e3cdd[_0x3c21fc(0x557)],_0x491efc)];}));return _0x2a1e1a[_0x5a5563(0x4ab)]>0x0?R(_0x2a1e1a):void 0x0;}['createTable'](_0x4b5518,_0x2d6e37,_0x1799cb=_0x4b5518['tableOrder'][_0x282c57(0x4ab)]){const _0x1a937b=_0x282c57;let _0x568592=_0x1d3afd(_0x2d6e37['name'],_0x41215d(_0x4b5518)[_0x1a937b(0x54e)](),_0x2d6e37[_0x1a937b(0x3ab)]),_0x53ae4e=_0x2d6e37['formulaName']===_0x568592?_0x2d6e37:{..._0x2d6e37,'formulaName':_0x568592};return R([...this[_0x1a937b(0x4bf)](_0x4b5518),_0x2f9032['insertOp'](U[_0x1a937b(0x270)](_0x2d6e37['id']),_0x53ae4e),_0x2f9032[_0x1a937b(0x1d0)]([_0x1a937b(0x1ae),_0x1799cb],_0x2d6e37['id'])]);}['renameTable'](_0x4e69d0,_0x4cdd05,_0x121ae4){const _0x298acf=_0x282c57;let _0x81494c=_0x4e69d0[_0x298acf(0x528)][_0x4cdd05];return R([...this[_0x298acf(0x4bf)](_0x4e69d0),_0x2f9032[_0x298acf(0x3b0)]([...U[_0x298acf(0x270)](_0x4cdd05),'name'],_0x81494c['name'],_0x121ae4)]);}[_0x282c57(0x447)](_0x11d285,_0x270f5e){const _0x379834=_0x282c57;let _0x389af8=_0x11d285['tables'][_0x270f5e],_0xf5a230=_0x11d285[_0x379834(0x1ae)][_0x379834(0x1f4)](_0x270f5e);return R([...this['_materializeFormulaTableNames'](_0x11d285,new Set([_0x270f5e])),_0x2f9032[_0x379834(0x40b)](U[_0x379834(0x270)](_0x270f5e),_0x389af8),_0x2f9032['removeOp'](['tableOrder',_0xf5a230],_0x270f5e)]);}['createRecord'](_0x213000,_0x1fefa2,_0x581885){const _0x27a4c2=_0x282c57;return this[_0x27a4c2(0x243)](_0x213000,_0x1fefa2,[_0x581885]);}['createRecords'](_0x5c6dcd,_0x1667d9,_0x206b23){const _0x45a287=_0x282c57;let _0x39edaa=_0x5c6dcd[_0x45a287(0x528)][_0x1667d9],_0x1257d2=_0x206b23['filter'](_0x424a48=>_0x424a48&&!_0x39edaa['records'][_0x424a48['id']])[_0x45a287(0x309)](_0x59182d=>({..._0x59182d,'values':{..._0x59182d[_0x45a287(0x54e)],[_0x1a2ecc]:_0x59182d['id']}}));if(!_0x1257d2[_0x45a287(0x4ab)])return _0x2f9032[_0x45a287(0x3b0)]([...U['table'](_0x1667d9),'records'],_0x39edaa[_0x45a287(0x1e1)],_0x39edaa[_0x45a287(0x1e1)]);let _0xb20cb2=new _0x2f9032['WriteCursor'](),_0x1e0210=[..._0x1257d2][_0x45a287(0x1df)]((_0x4aa936,_0x24657f)=>_0x4aa936['id']<_0x24657f['id']?-0x1:+(_0x4aa936['id']>_0x24657f['id'])),_0x4070f9=[...U[_0x45a287(0x270)](_0x1667d9),_0x45a287(0x1e1)];_0xb20cb2[_0x45a287(0x446)](_0x4070f9);for(let _0x386363 of _0x1e0210)_0xb20cb2[_0x45a287(0x388)](_0x386363['id']),_0xb20cb2[_0x45a287(0x322)]('i',_0x386363),_0xb20cb2['ascend']();for(let _0x1bffaa=0x0;_0x1bffaa<_0x4070f9['length'];_0x1bffaa+=0x1)_0xb20cb2[_0x45a287(0x1ea)]();return R([_0xb20cb2[_0x45a287(0x268)](),this[_0x45a287(0x4ee)](_0x5c6dcd,_0x1667d9,_0x1257d2)]);}[_0x282c57(0x4fa)](_0x1fceef,_0x184ce2,_0x298167){const _0x49941b=_0x282c57;return this[_0x49941b(0x227)](_0x1fceef,_0x184ce2,[_0x298167]);}[_0x282c57(0x227)](_0x594a4f,_0x93a733,_0x139e8d){const _0x11ede1=_0x282c57;let _0x471f4e=_0x594a4f[_0x11ede1(0x528)][_0x93a733],_0x311b76=Array[_0x11ede1(0x2f3)](new Set(_0x139e8d))[_0x11ede1(0x4cc)](_0x2e6dc3=>_0x471f4e[_0x11ede1(0x1e1)][_0x2e6dc3]);if(!_0x311b76['length'])return _0x2f9032['replaceOp']([...U[_0x11ede1(0x270)](_0x93a733),_0x11ede1(0x1e1)],_0x471f4e[_0x11ede1(0x1e1)],_0x471f4e[_0x11ede1(0x1e1)]);let _0x3d9b6f=new Set(_0x311b76),_0x5a1f59=et(_0x471f4e,_0x311b76)[_0x11ede1(0x309)](_0x125597=>this[_0x11ede1(0x1e3)](_0x594a4f,_0x93a733,_0x125597['recordId'],_0x125597[_0x11ede1(0x387)],''));return R([this[_0x11ede1(0x3ee)](_0x594a4f,_0x93a733,_0x311b76,_0x3d9b6f),..._0x5a1f59]);}[_0x282c57(0x411)](_0xb60da0,_0x4db59f,_0x4e1d8d,_0x528591){const _0x3aa0d6=_0x282c57;let _0x4acd5c=_0xb60da0[_0x3aa0d6(0x528)][_0x4e1d8d],_0x9584a6=Array['from'](new Set(_0x528591))[_0x3aa0d6(0x4cc)](_0x47ee3f=>_0x4acd5c[_0x3aa0d6(0x1e1)][_0x47ee3f]),_0x4f6527=new Set(_0x9584a6);return R([new z()[_0x3aa0d6(0x35e)](_0xb60da0,this[_0x3aa0d6(0x3ee)](_0xb60da0,_0x4e1d8d,_0x9584a6,_0x4f6527)),...et(_0x4acd5c,_0x9584a6)[_0x3aa0d6(0x309)](_0xf164b4=>this[_0x3aa0d6(0x1e3)](_0x4db59f,_0x4e1d8d,_0xf164b4['recordId'],_0xf164b4[_0x3aa0d6(0x387)],_0xf164b4[_0x3aa0d6(0x1fb)]??''))]);}['_deleteRecordsBaseOp'](_0x171f96,_0x4e3992,_0x3514e0,_0x23cd30){const _0x322876=_0x282c57;let _0x1e52eb=_0x171f96[_0x322876(0x528)][_0x4e3992],_0x5ee5b0=_0x3514e0[_0x322876(0x309)](_0x416956=>{var _0x2be74d;return{'recordId':_0x416956,'index':((_0x2be74d=_0x1e52eb['recordOrder'])==null?void 0x0:_0x2be74d['indexOf'](_0x416956))??-0x1};})['filter'](_0x5ef4d5=>_0x5ef4d5[_0x322876(0x198)]>=0x0)['sort']((_0x2453c0,_0x319b32)=>_0x319b32[_0x322876(0x198)]-_0x2453c0[_0x322876(0x198)]);return R([..._0x3514e0[_0x322876(0x309)](_0x10a168=>_0x2f9032[_0x322876(0x40b)](U[_0x322876(0x3a6)](_0x4e3992,_0x10a168),_0x1e52eb[_0x322876(0x1e1)][_0x10a168])),..._0x5ee5b0[_0x322876(0x309)](({recordId:_0x4c89d1,index:_0x2b6f96})=>_0x2f9032[_0x322876(0x40b)](['tables',_0x4e3992,'recordOrder',_0x2b6f96],_0x4c89d1)),...this['_deleteAttachmentResources'](_0x1e52eb,_0x4e3992,_0x3222e7=>{const _0x57fdbf=_0x322876;let _0x3c5c14=_0x3222e7[_0x57fdbf(0x287)](_0x3222e7[_0x57fdbf(0x441)]('\x1f')+0x1);return _0x23cd30[_0x57fdbf(0x25c)](_0x3c5c14);})]);}['duplicateRecord'](_0x46596f,_0x3273db,_0x5b0592,_0x12442e){const _0x40e2a0=_0x282c57;return this[_0x40e2a0(0x32d)](_0x46596f,_0x3273db,{..._0x12442e,'values':{..._0x46596f['tables'][_0x3273db]['records'][_0x5b0592][_0x40e2a0(0x54e)],..._0x12442e[_0x40e2a0(0x54e)],[_0x1a2ecc]:_0x12442e['id']}});}['updateRecordOrder'](_0x38ea01,_0x51ab58,_0x3f4ad8,_0x29432a){const _0x4fbe8f=_0x282c57;let _0x415ad3=_0x38ea01[_0x4fbe8f(0x528)][_0x51ab58],_0x122958=[...U[_0x4fbe8f(0x3a6)](_0x51ab58,_0x3f4ad8),_0x4fbe8f(0x38a)],_0x47fd32=Object[_0x4fbe8f(0x54e)](_0x415ad3[_0x4fbe8f(0x1e1)])[_0x4fbe8f(0x309)](_0x4ac2a5=>_0x4ac2a5['id']===_0x3f4ad8?{..._0x4ac2a5,'orderKey':_0x29432a}:_0x4ac2a5)[_0x4fbe8f(0x1df)]((_0x50d906,_0x145ecb)=>String(_0x50d906['orderKey']??_0x50d906['id'])['localeCompare'](String(_0x145ecb[_0x4fbe8f(0x38a)]??_0x145ecb['id'])))[_0x4fbe8f(0x309)](_0x572ed0=>_0x572ed0['id']),_0x564279=[...U[_0x4fbe8f(0x270)](_0x51ab58),'recordOrder'];return R([this['_replaceOptional'](_0x122958,_0x415ad3[_0x4fbe8f(0x1e1)][_0x3f4ad8][_0x4fbe8f(0x38a)],_0x29432a),_0x415ad3[_0x4fbe8f(0x413)]?_0x2f9032['replaceOp'](_0x564279,_0x415ad3[_0x4fbe8f(0x413)],_0x47fd32):_0x2f9032['insertOp'](_0x564279,_0x47fd32)]);}[_0x282c57(0x1e3)](_0x19e779,_0x5af82b,_0x43ba13,_0x165519,_0x468f89){const _0x47e0b6=_0x282c57;var _0x2340b5,_0x47bcde;let _0x47c111=_0x19e779[_0x47e0b6(0x528)][_0x5af82b],_0x2d746b=ar(_0x47c111,_0x43ba13,_0x165519)?_0x47c111:L(_0x47c111),_0x1874db=(_0x2340b5=_0x2d746b[_0x47e0b6(0x277)])==null?void 0x0:_0x2340b5[_0x43ba13],_0x5c85c4=(_0x47bcde=_0x2d746b[_0x47e0b6(0x28f)])==null?void 0x0:_0x47bcde[_0x165519];if(_0x1874db==null||_0x5c85c4==null){var _0x39f114;return this[_0x47e0b6(0x4b2)](U[_0x47e0b6(0x1f9)](_0x5af82b,_0x43ba13,_0x165519),(_0x39f114=_0x19e779['tables'][_0x5af82b])==null||(_0x39f114=_0x39f114[_0x47e0b6(0x1e1)][_0x43ba13])==null?void 0x0:_0x39f114[_0x47e0b6(0x54e)][_0x165519],_0x468f89);}return this[_0x47e0b6(0x30b)](_0x19e779,_0x5af82b,[{'row':_0x1874db,'col':_0x5c85c4,'value':_0x468f89}]);}[_0x282c57(0x347)](_0x6219d7,_0xc4d24f,_0x278bbd){const _0x4ba2c0=_0x282c57;let _0x2f4bc2=_0x6219d7['tables'][_0xc4d24f],_0x4b2c99=_0x278bbd['every'](_0x600f16=>Object[_0x4ba2c0(0x334)](_0x600f16[_0x4ba2c0(0x54e)])[_0x4ba2c0(0x300)](_0x273bf8=>ar(_0x2f4bc2,_0x600f16['recordId'],_0x273bf8)))?_0x2f4bc2:L(_0x2f4bc2),_0x17719a=_0x278bbd[_0x4ba2c0(0x26a)](_0x710106=>Object[_0x4ba2c0(0x41d)](_0x710106[_0x4ba2c0(0x54e)])[_0x4ba2c0(0x26a)](([_0x104b5e,_0x2e20cb])=>{const _0x1236f7=_0x4ba2c0;var _0x2cd50a,_0x37d749;let _0x5b2061=(_0x2cd50a=_0x4b2c99[_0x1236f7(0x277)])==null?void 0x0:_0x2cd50a[_0x710106[_0x1236f7(0x40d)]],_0x24ac3f=(_0x37d749=_0x4b2c99[_0x1236f7(0x28f)])==null?void 0x0:_0x37d749[_0x104b5e];return _0x5b2061==null||_0x24ac3f==null?[]:[{'row':_0x5b2061,'col':_0x24ac3f,'value':_0x2e20cb}];})),_0x24cb83=_0x278bbd[_0x4ba2c0(0x26a)](_0x98f5a5=>Object[_0x4ba2c0(0x41d)](_0x98f5a5[_0x4ba2c0(0x4df)]??{})[_0x4ba2c0(0x309)](([_0x385712,_0x36094f])=>{const _0x1f6914=_0x4ba2c0;var _0x5ee38d;let _0x286cae=[...U[_0x1f6914(0x3a6)](_0xc4d24f,_0x98f5a5['recordId']),_0x385712],_0x94e235=(_0x5ee38d=_0x6219d7[_0x1f6914(0x528)][_0xc4d24f])==null||(_0x5ee38d=_0x5ee38d['records'][_0x98f5a5['recordId']])==null?void 0x0:_0x5ee38d[_0x385712];return this[_0x1f6914(0x4b2)](_0x286cae,_0x94e235,_0x36094f);}));return R([this[_0x4ba2c0(0x30b)](_0x6219d7,_0xc4d24f,_0x17719a),..._0x24cb83]);}[_0x282c57(0x30b)](_0x61c963,_0x63ce31,_0x336538){const _0x18d54e=_0x282c57;let _0x49f4df=_0x61c963['tables'][_0x63ce31],_0xa6fa7b=_0x336538[_0x18d54e(0x300)](_0x3879ac=>or(_0x49f4df,_0x3879ac['row'],_0x3879ac['col']))?_0x49f4df:L(_0x49f4df),_0x2d992c=new Map(),_0x12344c=_0x336538[_0x18d54e(0x26a)](_0x3c48c1=>{const _0x123974=_0x18d54e;var _0x38baa3,_0x41f230,_0x99aa7b,_0x4606b2;let _0x2d12cf=(_0x38baa3=_0xa6fa7b[_0x123974(0x46d)])==null?void 0x0:_0x38baa3[_0x3c48c1['col']],_0x2fc311=(_0x41f230=_0xa6fa7b[_0x123974(0x21b)])==null?void 0x0:_0x41f230[_0x3c48c1[_0x123974(0x2f0)]],_0x5263ca=_0x2d12cf?_0xa6fa7b[_0x123974(0x453)][_0x2d12cf]:void 0x0;if(_0x2d12cf===_0x1a2ecc||(_0x5263ca==null?void 0x0:_0x5263ca['type'])===_0x239099[_0x123974(0x205)])throw Error('[BaseJson1OpFactory]:\x20cannot\x20write\x20record-id.');let _0x141063=xt(_0x3c48c1[_0x123974(0x373)],_0x5263ca),_0x260459=(_0x99aa7b=_0xa6fa7b[_0x123974(0x343)])==null||(_0x99aa7b=_0x99aa7b[_0x3c48c1['row']])==null?void 0x0:_0x99aa7b[_0x3c48c1['col']],_0x35b55b=this[_0x123974(0x4b2)](U[_0x123974(0x343)](_0x63ce31,_0x3c48c1[_0x123974(0x2f0)],_0x3c48c1['col']),_0x260459,_0x141063);if(!_0x2d12cf||!_0x2fc311)return[_0x35b55b];let _0x4c179c=(_0x4606b2=_0xa6fa7b[_0x123974(0x1e1)][_0x2fc311])==null?void 0x0:_0x4606b2[_0x123974(0x54e)][_0x2d12cf],_0x33338e=(_0x5263ca==null?void 0x0:_0x5263ca['type'])===_0x239099[_0x123974(0x392)]?kt(_0x3c48c1[_0x123974(0x373)]):wt(_0x3c48c1['value'],_0x141063,_0x5263ca,_0xa6fa7b,_0x2fc311),_0x1f518e=[_0x35b55b,this[_0x123974(0x4b2)](U[_0x123974(0x1f9)](_0x63ce31,_0x2fc311,_0x2d12cf),_0x4c179c,_0x33338e)];return(_0x5263ca==null?void 0x0:_0x5263ca[_0x123974(0x4aa)])===_0x239099[_0x123974(0x392)]&&_0x2d992c['set'](Et(_0x2d12cf,_0x2fc311),{'recordId':_0x2fc311,'fieldId':_0x2d12cf,'attachments':_0x33338e}),_0x1f518e;});return _0x12344c['length']?R([..._0x12344c,...this[_0x18d54e(0x512)](_0xa6fa7b,_0x63ce31,Array[_0x18d54e(0x2f3)](_0x2d992c[_0x18d54e(0x54e)]()))]):_0x2f9032[_0x18d54e(0x3b0)]([_0x18d54e(0x528),_0x63ce31,_0x18d54e(0x343)],_0xa6fa7b[_0x18d54e(0x343)],_0xa6fa7b[_0x18d54e(0x343)]);}['createField'](_0x5bfd06,_0x21fec2,_0x5e242a){const _0x3ac533=_0x282c57;let _0x1959ba=_0x5bfd06[_0x3ac533(0x528)][_0x21fec2];if(_0x1959ba[_0x3ac533(0x453)][_0x5e242a['field']['id']]||_0x1959ba[_0x3ac533(0x534)][_0x3ac533(0x3df)](_0x5e242a[_0x3ac533(0x2d9)]['id']))return _0x2f9032[_0x3ac533(0x3b0)]([_0x3ac533(0x528),_0x21fec2,_0x3ac533(0x534)],_0x1959ba[_0x3ac533(0x534)],_0x1959ba[_0x3ac533(0x534)]);let _0x2ac84d=Math['max'](0x1,_0x5e242a['index']??_0x1959ba['fieldOrder'][_0x3ac533(0x4ab)]),_0x62e075=Object[_0x3ac533(0x54e)](_0x1959ba['views']??{})[_0x3ac533(0x26a)](_0x373884=>{const _0x158aa6=_0x3ac533;var _0x15840b;if(!_0x373884[_0x158aa6(0x534)]||_0x373884[_0x158aa6(0x534)][_0x158aa6(0x3df)](_0x5e242a['field']['id']))return[];let _0x57a5e7=ur(((_0x15840b=_0x5e242a[_0x158aa6(0x519)])==null?void 0x0:_0x15840b[_0x373884['id']])??_0x2ac84d,_0x373884[_0x158aa6(0x534)][_0x158aa6(0x4ab)]);return[_0x2f9032['insertOp']([...U[_0x158aa6(0x47a)](_0x21fec2,_0x373884['id']),_0x158aa6(0x534),_0x57a5e7],_0x5e242a['field']['id'])];});return R([..._0x5e242a[_0x3ac533(0x2d9)][_0x3ac533(0x4aa)]===_0x239099[_0x3ac533(0x41e)]?this[_0x3ac533(0x4bf)](_0x5bfd06):[],_0x2f9032['insertOp'](U[_0x3ac533(0x2d9)](_0x21fec2,_0x5e242a[_0x3ac533(0x2d9)]['id']),_0x5e242a[_0x3ac533(0x2d9)]),_0x2f9032[_0x3ac533(0x1d0)](U['fieldOrder'](_0x21fec2,_0x2ac84d),_0x5e242a[_0x3ac533(0x2d9)]['id']),..._0x62e075]);}[_0x282c57(0x237)](_0x503495,_0x3c41e7,_0x97f646,_0x169919){const _0x4b7292=_0x282c57;let _0xf229f2=_0x503495[_0x4b7292(0x528)][_0x3c41e7];if(!_0xf229f2[_0x4b7292(0x453)][_0x97f646]||_0xf229f2[_0x4b7292(0x453)][_0x169919[_0x4b7292(0x2d9)]['id']]||_0xf229f2['fieldOrder'][_0x4b7292(0x3df)](_0x169919[_0x4b7292(0x2d9)]['id']))return _0x2f9032['replaceOp']([_0x4b7292(0x528),_0x3c41e7,_0x4b7292(0x534)],_0xf229f2[_0x4b7292(0x534)],_0xf229f2[_0x4b7292(0x534)]);let _0x10823a=_0x169919['index']??_0xf229f2[_0x4b7292(0x534)][_0x4b7292(0x1f4)](_0x97f646)+0x1,_0x36fc08=_0xf229f2[_0x4b7292(0x534)][_0x4b7292(0x4cc)](_0x53fcfa=>_0x53fcfa!==_0x169919[_0x4b7292(0x2d9)]['id']),_0x1f62a1=cr(_0x36fc08,_0x169919[_0x4b7292(0x2d9)]['id'],_0x10823a),_0x1c27c4=Object['values'](_0xf229f2[_0x4b7292(0x4f9)]??{})[_0x4b7292(0x26a)](_0x43028a=>{const _0xc9cb4a=_0x4b7292;var _0xafaf26,_0x16a0df,_0x4b19d5,_0x4776ae;let _0x2bb11b=(_0xafaf26=_0x43028a[_0xc9cb4a(0x534)])!=null&&_0xafaf26[_0xc9cb4a(0x4ab)]?_0x43028a[_0xc9cb4a(0x534)]:_0x36fc08;if(_0x2bb11b[_0xc9cb4a(0x3df)](_0x169919['field']['id']))return[];let _0x1450f7=cr(_0x2bb11b,_0x169919[_0xc9cb4a(0x2d9)]['id'],((_0x16a0df=_0x169919[_0xc9cb4a(0x519)])==null?void 0x0:_0x16a0df[_0x43028a['id']])??_0x10823a),_0x43e8ad=(_0x4b19d5=_0x43028a[_0xc9cb4a(0x272)])==null?void 0x0:_0x4b19d5[_0x97f646];return[this[_0xc9cb4a(0x4b2)]([...U[_0xc9cb4a(0x47a)](_0x3c41e7,_0x43028a['id']),'fieldOrder'],_0x43028a[_0xc9cb4a(0x534)],_0x1450f7),..._0x43e8ad?[this[_0xc9cb4a(0x4b2)]([...U[_0xc9cb4a(0x47a)](_0x3c41e7,_0x43028a['id']),'fieldSettings',_0x169919[_0xc9cb4a(0x2d9)]['id']],(_0x4776ae=_0x43028a[_0xc9cb4a(0x272)])==null?void 0x0:_0x4776ae[_0x169919['field']['id']],_0x43e8ad)]:[]];}),_0x5055e9=Object[_0x4b7292(0x54e)](_0xf229f2[_0x4b7292(0x1e1)])[_0x4b7292(0x4cc)](_0x42a14b=>Object[_0x4b7292(0x35c)]['hasOwnProperty'][_0x4b7292(0x2a4)](_0x42a14b['values'],_0x97f646))[_0x4b7292(0x309)](_0x2d0670=>this[_0x4b7292(0x4b2)](U[_0x4b7292(0x1f9)](_0x3c41e7,_0x2d0670['id'],_0x169919[_0x4b7292(0x2d9)]['id']),_0x2d0670[_0x4b7292(0x54e)][_0x169919[_0x4b7292(0x2d9)]['id']],_0x2d0670[_0x4b7292(0x54e)][_0x97f646]));return R([..._0x169919[_0x4b7292(0x2d9)][_0x4b7292(0x4aa)]===_0x239099[_0x4b7292(0x41e)]?this[_0x4b7292(0x4bf)](_0x503495):[],_0x2f9032['insertOp'](U['field'](_0x3c41e7,_0x169919[_0x4b7292(0x2d9)]['id']),_0x169919['field']),_0x2f9032[_0x4b7292(0x3b0)]([_0x4b7292(0x528),_0x3c41e7,'fieldOrder'],_0xf229f2['fieldOrder'],_0x1f62a1),..._0x1c27c4,..._0x5055e9]);}[_0x282c57(0x2b0)](_0x40d0d1,_0xbb5388,_0x5eecfb,_0x3b87fa){const _0x479bc7=_0x282c57;let _0x43791f=_0x40d0d1[_0x479bc7(0x528)][_0xbb5388][_0x479bc7(0x453)][_0x5eecfb],_0x43f898={..._0x43791f,..._0x3b87fa};Object['keys'](_0x3b87fa)['forEach'](_0x2bed1b=>{_0x3b87fa[_0x2bed1b]===void 0x0&&delete _0x43f898[_0x2bed1b];});let _0x23f409=er(_0x40d0d1[_0x479bc7(0x528)][_0xbb5388],_0x5eecfb,_0x43791f,_0x43f898);_0x43f898=_0x23f409[_0x479bc7(0x2d9)];let _0x2e1f93=_0x2f9032[_0x479bc7(0x3b0)](U[_0x479bc7(0x2d9)](_0xbb5388,_0x5eecfb),_0x43791f,_0x43f898);return _0x43f898[_0x479bc7(0x4aa)]===_0x239099['Formula']?R([...this[_0x479bc7(0x4bf)](_0x40d0d1),_0x2e1f93,...this[_0x479bc7(0x4f2)](_0x40d0d1,_0xbb5388,_0x5eecfb,_0x43f898)]):R([_0x2e1f93,..._0x23f409['patches'][_0x479bc7(0x4ab)]?[this[_0x479bc7(0x30b)](_0x40d0d1,_0xbb5388,_0x23f409['patches'])]:[]]);}[_0x282c57(0x44f)](_0x2be53e,_0x160dd9,_0x52baa2,_0x123187){return this['updateField'](_0x2be53e,_0x160dd9,_0x52baa2,_0x123187);}[_0x282c57(0x47b)](_0x38c542,_0x5b94a1,_0xbffd1b){const _0x347475=_0x282c57;let _0x8646fd=_0x38c542[_0x347475(0x528)][_0x5b94a1];if(!(_0x8646fd!=null&&_0x8646fd[_0x347475(0x453)][_0xbffd1b])||_0x8646fd[_0x347475(0x45c)]===_0xbffd1b||_0xbffd1b===_0x1a2ecc)return _0x2f9032[_0x347475(0x3b0)]([_0x347475(0x528),_0x5b94a1,_0x347475(0x534)],_0x8646fd==null?void 0x0:_0x8646fd[_0x347475(0x534)],_0x8646fd==null?void 0x0:_0x8646fd[_0x347475(0x534)]);let _0x5257d6=_0x8646fd[_0x347475(0x534)][_0x347475(0x1f4)](_0xbffd1b),_0x2f29a4=Object[_0x347475(0x54e)](_0x8646fd['views'])[_0x347475(0x26a)](_0x9ae4ea=>{const _0x1b0ce8=_0x347475;var _0x57bc5b,_0xc11273,_0x46dee8,_0x2989f1,_0x3efb12,_0x5f0718,_0x3c6982;let _0x27a18a=[],_0x38dc93=((_0x57bc5b=_0x9ae4ea['fieldOrder'])==null?void 0x0:_0x57bc5b[_0x1b0ce8(0x1f4)](_0xbffd1b))??-0x1;_0x38dc93>=0x0&&_0x27a18a[_0x1b0ce8(0x381)](_0x2f9032[_0x1b0ce8(0x40b)]([...U['view'](_0x5b94a1,_0x9ae4ea['id']),_0x1b0ce8(0x534),_0x38dc93],_0xbffd1b));let _0x13e91e=(_0xc11273=_0x9ae4ea[_0x1b0ce8(0x272)])==null?void 0x0:_0xc11273[_0xbffd1b];_0x13e91e!==void 0x0&&_0x27a18a['push'](_0x2f9032[_0x1b0ce8(0x40b)]([...U['view'](_0x5b94a1,_0x9ae4ea['id']),_0x1b0ce8(0x272),_0xbffd1b],_0x13e91e));let _0x933dab=_0x9ae4ea[_0x1b0ce8(0x4cc)]?{..._0x9ae4ea[_0x1b0ce8(0x4cc)],'conditions':_0x9ae4ea[_0x1b0ce8(0x4cc)]['conditions'][_0x1b0ce8(0x4cc)](_0x3eef23=>_0x3eef23[_0x1b0ce8(0x387)]!==_0xbffd1b)}:_0x9ae4ea[_0x1b0ce8(0x4cc)];_0x933dab&&_0x933dab[_0x1b0ce8(0x3d8)][_0x1b0ce8(0x4ab)]!==((_0x46dee8=_0x9ae4ea[_0x1b0ce8(0x4cc)])==null?void 0x0:_0x46dee8['conditions'][_0x1b0ce8(0x4ab)])&&_0x27a18a[_0x1b0ce8(0x381)](this['_replaceOptional']([...U[_0x1b0ce8(0x47a)](_0x5b94a1,_0x9ae4ea['id']),_0x1b0ce8(0x4cc)],_0x9ae4ea['filter'],_0x933dab));let _0x1563d2=(_0x2989f1=_0x9ae4ea[_0x1b0ce8(0x1df)])==null?void 0x0:_0x2989f1[_0x1b0ce8(0x4cc)](_0x4f5a01=>_0x4f5a01[_0x1b0ce8(0x387)]!==_0xbffd1b);_0x1563d2&&_0x1563d2[_0x1b0ce8(0x4ab)]!==((_0x3efb12=_0x9ae4ea[_0x1b0ce8(0x1df)])==null?void 0x0:_0x3efb12[_0x1b0ce8(0x4ab)])&&_0x27a18a[_0x1b0ce8(0x381)](this['_replaceOptional']([...U[_0x1b0ce8(0x47a)](_0x5b94a1,_0x9ae4ea['id']),_0x1b0ce8(0x1df)],_0x9ae4ea[_0x1b0ce8(0x1df)],_0x1563d2));let _0xa76b09=(_0x5f0718=_0x9ae4ea['group'])==null?void 0x0:_0x5f0718['filter'](_0x3cbe7f=>_0x3cbe7f[_0x1b0ce8(0x387)]!==_0xbffd1b);_0xa76b09&&_0xa76b09[_0x1b0ce8(0x4ab)]!==((_0x3c6982=_0x9ae4ea[_0x1b0ce8(0x359)])==null?void 0x0:_0x3c6982[_0x1b0ce8(0x4ab)])&&_0x27a18a[_0x1b0ce8(0x381)](this[_0x1b0ce8(0x4b2)]([...U[_0x1b0ce8(0x47a)](_0x5b94a1,_0x9ae4ea['id']),_0x1b0ce8(0x359)],_0x9ae4ea[_0x1b0ce8(0x359)],_0xa76b09));let _0x20a72a=lr(_0x9ae4ea[_0x1b0ce8(0x50c)],_0xbffd1b);return JSON[_0x1b0ce8(0x2fb)](_0x20a72a)!==JSON[_0x1b0ce8(0x2fb)](_0x9ae4ea[_0x1b0ce8(0x50c)])&&_0x27a18a[_0x1b0ce8(0x381)](_0x2f9032[_0x1b0ce8(0x3b0)]([...U[_0x1b0ce8(0x47a)](_0x5b94a1,_0x9ae4ea['id']),_0x1b0ce8(0x50c)],_0x9ae4ea[_0x1b0ce8(0x50c)],_0x20a72a)),_0x27a18a;}),_0x2358df=Object['values'](_0x8646fd['records'])[_0x347475(0x26a)](_0x3adbd7=>Object['prototype']['hasOwnProperty'][_0x347475(0x2a4)](_0x3adbd7[_0x347475(0x54e)],_0xbffd1b)?[_0x2f9032[_0x347475(0x40b)](U[_0x347475(0x1f9)](_0x5b94a1,_0x3adbd7['id'],_0xbffd1b),_0x3adbd7[_0x347475(0x54e)][_0xbffd1b])]:[]);return R([_0x2f9032['removeOp'](U[_0x347475(0x2d9)](_0x5b94a1,_0xbffd1b),_0x8646fd[_0x347475(0x453)][_0xbffd1b]),_0x2f9032[_0x347475(0x40b)](U['fieldOrder'](_0x5b94a1,_0x5257d6),_0xbffd1b),..._0x2f29a4,..._0x2358df,...this[_0x347475(0x380)](_0x8646fd,_0x5b94a1,_0xc3a6b0=>_0xc3a6b0[_0x347475(0x289)](_0xbffd1b+'\x1f'))]);}[_0x282c57(0x1cc)](_0x2fc902,_0x3b82e8,_0x512c02,_0x5db33e){const _0x19d0a8=_0x282c57;let _0x3637a9=_0x2fc902[_0x19d0a8(0x528)][_0x3b82e8]['fieldOrder'];if(_0x512c02===_0x1a2ecc||_0x5db33e[_0x19d0a8(0x21a)]===_0x1a2ecc)throw Error(_0x19d0a8(0x18e));let _0x346eee=sr(_0x3637a9,_0x512c02,_0x5db33e);return _0x2f9032[_0x19d0a8(0x3b0)](['tables',_0x3b82e8,'fieldOrder'],_0x3637a9,_0x346eee);}[_0x282c57(0x24a)](_0x560cc6,_0x5ea5b2,_0x459d5a,_0x8f2d50=_0x560cc6[_0x282c57(0x528)][_0x5ea5b2][_0x282c57(0x3a5)]['length']){const _0x381852=_0x282c57;return R([_0x2f9032['insertOp'](U['view'](_0x5ea5b2,_0x459d5a['id']),_0x459d5a),_0x2f9032[_0x381852(0x1d0)](['tables',_0x5ea5b2,_0x381852(0x3a5),_0x8f2d50],_0x459d5a['id'])]);}['renameView'](_0x21a68c,_0x12f4e8,_0x2fc3fa,_0x1eccc7){const _0x25d9c1=_0x282c57;return _0x2f9032[_0x25d9c1(0x3b0)]([...U[_0x25d9c1(0x47a)](_0x12f4e8,_0x2fc3fa),_0x25d9c1(0x2f4)],_0x21a68c[_0x25d9c1(0x528)][_0x12f4e8][_0x25d9c1(0x4f9)][_0x2fc3fa]['name'],_0x1eccc7);}[_0x282c57(0x3fa)](_0x32524b,_0x3cab1a,_0x433eee){const _0x3e57b3=_0x282c57;let _0x232a07=_0x32524b[_0x3e57b3(0x528)][_0x3cab1a],_0x2b9a7c=_0x232a07[_0x3e57b3(0x4f9)][_0x433eee],_0x5611e0=_0x232a07['viewOrder'][_0x3e57b3(0x1f4)](_0x433eee);return R([_0x2f9032[_0x3e57b3(0x40b)](U['view'](_0x3cab1a,_0x433eee),_0x2b9a7c),_0x2f9032['removeOp']([_0x3e57b3(0x528),_0x3cab1a,_0x3e57b3(0x3a5),_0x5611e0],_0x433eee)]);}[_0x282c57(0x360)](_0x106f40,_0x2f7bf,_0xbcae45,_0x566358){const _0x3e474e=_0x282c57;let _0x5f95f5=_0x106f40[_0x3e474e(0x528)][_0x2f7bf][_0x3e474e(0x3a5)],_0x33f8fb=sr(_0x5f95f5,_0xbcae45,{'beforeFieldId':_0x566358[_0x3e474e(0x454)],'afterFieldId':_0x566358[_0x3e474e(0x314)]});return _0x2f9032[_0x3e474e(0x3b0)](['tables',_0x2f7bf,'viewOrder'],_0x5f95f5,_0x33f8fb);}[_0x282c57(0x393)](_0x1048a5,_0x3e570d,_0x5d4417,_0x4e23fe){const _0x10dc8e=_0x282c57;let _0x37195a=_0x1048a5[_0x10dc8e(0x528)][_0x3e570d][_0x10dc8e(0x4f9)][_0x5d4417][_0x10dc8e(0x50c)]??{},_0x37c0e6={..._0x37195a,..._0x4e23fe};return Object[_0x10dc8e(0x334)](_0x4e23fe)[_0x10dc8e(0x34b)](_0x1644d7=>{_0x4e23fe[_0x1644d7]===void 0x0&&delete _0x37c0e6[_0x1644d7];}),_0x2f9032[_0x10dc8e(0x3b0)]([...U[_0x10dc8e(0x47a)](_0x3e570d,_0x5d4417),_0x10dc8e(0x50c)],_0x37195a,_0x37c0e6);}['setViewFilter'](_0x2d1615,_0xc31589,_0x2c1fba,_0x139286){const _0x19b921=_0x282c57;return this[_0x19b921(0x4b2)]([...U[_0x19b921(0x47a)](_0xc31589,_0x2c1fba),_0x19b921(0x4cc)],_0x2d1615[_0x19b921(0x528)][_0xc31589]['views'][_0x2c1fba][_0x19b921(0x4cc)],_0x139286);}[_0x282c57(0x36b)](_0x48898e,_0x592e70,_0x5e6632,_0x56fc4c){const _0x400f50=_0x282c57;return this[_0x400f50(0x4b2)]([...U['view'](_0x592e70,_0x5e6632),'sort'],_0x48898e[_0x400f50(0x528)][_0x592e70][_0x400f50(0x4f9)][_0x5e6632][_0x400f50(0x1df)],_0x56fc4c);}['setViewGroup'](_0x3f8cf5,_0x4b6e18,_0x21bff8,_0x1cd5ed){const _0x3fe3b6=_0x282c57;return this[_0x3fe3b6(0x4b2)]([...U[_0x3fe3b6(0x47a)](_0x4b6e18,_0x21bff8),_0x3fe3b6(0x359)],_0x3f8cf5[_0x3fe3b6(0x528)][_0x4b6e18][_0x3fe3b6(0x4f9)][_0x21bff8][_0x3fe3b6(0x359)],_0x1cd5ed);}['setViewFieldVisible'](_0x183f02,_0x5b17d0,_0x46b839,_0x1fbc1c,_0x3ef44c){const _0x29e8d2=_0x282c57;return this[_0x29e8d2(0x1d5)](_0x183f02,_0x5b17d0,_0x46b839,_0x1fbc1c,{'hidden':!_0x3ef44c});}[_0x282c57(0x229)](_0x5cf40f,_0x3f4a35,_0x644e71,_0x5a10d9,_0x358238){const _0x3bf455=_0x282c57;return this[_0x3bf455(0x1d5)](_0x5cf40f,_0x3f4a35,_0x644e71,_0x5a10d9,{'width':_0x358238});}[_0x282c57(0x2af)](_0x458d0d,_0x28d770,_0x55a780,_0x55a542,_0xd1773e){const _0x192d9e=_0x282c57;let _0xb3d0f6=_0x458d0d[_0x192d9e(0x528)][_0x28d770][_0x192d9e(0x4f9)][_0x55a780],_0x105ad5=sr(_0xb3d0f6['fieldOrder']??_0x458d0d[_0x192d9e(0x528)][_0x28d770][_0x192d9e(0x534)],_0x55a542,_0xd1773e);return this['_replaceOptional']([...U[_0x192d9e(0x47a)](_0x28d770,_0x55a780),_0x192d9e(0x534)],_0xb3d0f6[_0x192d9e(0x534)],_0x105ad5);}['_setViewFieldSetting'](_0x3f94f3,_0x2049c2,_0x458b64,_0x376548,_0x14e327){const _0x4ba021=_0x282c57;let _0x4c27f6=_0x3f94f3[_0x4ba021(0x528)][_0x2049c2][_0x4ba021(0x4f9)][_0x458b64][_0x4ba021(0x272)]??{},_0x3f9c1c={..._0x4c27f6,[_0x376548]:{..._0x4c27f6[_0x376548],..._0x14e327}};return this[_0x4ba021(0x4b2)]([...U[_0x4ba021(0x47a)](_0x2049c2,_0x458b64),_0x4ba021(0x272)],_0x3f94f3['tables'][_0x2049c2][_0x4ba021(0x4f9)][_0x458b64][_0x4ba021(0x272)],_0x3f9c1c);}['_createRecordOrderOp'](_0x246077,_0x562c54,_0x105035){const _0xe77f01=_0x282c57;let _0x37ee80=_0x246077[_0xe77f01(0x528)][_0x562c54],_0x7ce673=new Set(_0x105035[_0xe77f01(0x309)](_0x17314c=>_0x17314c['id'])),_0x4fed5a=[...Object[_0xe77f01(0x54e)](_0x37ee80['records'])['filter'](_0x12a3b5=>!_0x7ce673[_0xe77f01(0x25c)](_0x12a3b5['id'])),..._0x105035][_0xe77f01(0x1df)]((_0x3c1f39,_0x4808da)=>String(_0x3c1f39['orderKey']??_0x3c1f39['id'])[_0xe77f01(0x506)](String(_0x4808da[_0xe77f01(0x38a)]??_0x4808da['id'])))[_0xe77f01(0x309)](_0x1d7889=>_0x1d7889['id']),_0x30eb04=[...U[_0xe77f01(0x270)](_0x562c54),_0xe77f01(0x413)];return _0x37ee80[_0xe77f01(0x413)]?_0x2f9032[_0xe77f01(0x3b0)](_0x30eb04,_0x37ee80[_0xe77f01(0x413)],_0x4fed5a):_0x2f9032['insertOp'](_0x30eb04,_0x4fed5a);}[_0x282c57(0x4bf)](_0x14938e,_0x362ee5=new Set()){const _0x380fe5=_0x282c57;let _0x1a9223=_0x41215d(_0x14938e);return Object[_0x380fe5(0x54e)](_0x14938e['tables'])[_0x380fe5(0x4cc)](_0x426942=>!_0x362ee5['has'](_0x426942['id']))[_0x380fe5(0x1df)]((_0x2234db,_0x20d879)=>_0x2234db['id'][_0x380fe5(0x506)](_0x20d879['id']))[_0x380fe5(0x26a)](_0x5135f3=>{const _0x439068=_0x380fe5;let _0x4b828e=_0x1a9223['get'](_0x5135f3['id']);return!_0x4b828e||_0x5135f3[_0x439068(0x3ab)]===_0x4b828e?[]:[this[_0x439068(0x4b2)]([...U[_0x439068(0x270)](_0x5135f3['id']),_0x439068(0x3ab)],_0x5135f3[_0x439068(0x3ab)],_0x4b828e)];});}[_0x282c57(0x4f2)](_0x39330f,_0x294443,_0x13ce3d,_0x12b969){const _0xf8a6b0=_0x282c57;var _0x3498bb,_0x3be709;let _0x383d8e=L(_0x39330f[_0xf8a6b0(0x528)][_0x294443]),_0x54da9b=String(((_0x3498bb=_0x12b969[_0xf8a6b0(0x50c)])==null?void 0x0:_0x3498bb[_0xf8a6b0(0x557)])??'')[_0xf8a6b0(0x24d)](),_0x44fade=(_0x3be709=_0x383d8e['colIndex'])==null?void 0x0:_0x3be709[_0x13ce3d];if(_0x44fade==null)return[];let _0x9be680=_0x383d8e['recordOrder']??Object[_0xf8a6b0(0x334)](_0x383d8e['records']),_0x167e69=_0x9be680[_0xf8a6b0(0x309)](_0x4b546f=>{const _0x4b5311=_0xf8a6b0;var _0x10a9c2;return(_0x10a9c2=_0x383d8e[_0x4b5311(0x277)])==null?void 0x0:_0x10a9c2[_0x4b546f];})[_0xf8a6b0(0x525)](_0x2b5b09=>_0x2b5b09!=null);return _0x9be680['flatMap'](_0x96bc42=>{const _0x3dbc17=_0xf8a6b0;var _0x3db0f7,_0x31f448;let _0x4f26cd=(_0x3db0f7=_0x383d8e[_0x3dbc17(0x277)])==null?void 0x0:_0x3db0f7[_0x96bc42];if(_0x4f26cd==null)return[];let _0x4112d5=(_0x31f448=_0x383d8e[_0x3dbc17(0x343)])==null||(_0x31f448=_0x31f448[_0x4f26cd])==null?void 0x0:_0x31f448[_0x44fade],_0x5026dc=_0x54da9b?_0x4f26cd===_0x167e69?{'f':_0x54da9b,'si':_0x13ce3d}:{'si':_0x13ce3d}:{'v':null,'t':null};return[this[_0x3dbc17(0x4b2)](U[_0x3dbc17(0x343)](_0x294443,_0x4f26cd,_0x44fade),_0x4112d5,_0x5026dc)];});}[_0x282c57(0x512)](_0x26e424,_0x2bd10c,_0x4dd82a){const _0x14d4db=_0x282c57;var _0x4ce07f;let _0x435b87=new Map(Object[_0x14d4db(0x41d)](((_0x4ce07f=_0x26e424[_0x14d4db(0x27b)])==null?void 0x0:_0x4ce07f[_0x14d4db(0x556)])??{})),_0x2dc853=new Map(),_0x461569=new Set(),_0x4bec20=_0x4dd82a[_0x14d4db(0x309)](({recordId:_0x37c5fc,fieldId:_0x46770e,attachments:_0x51a9db})=>{const _0x18cdc4=_0x14d4db;var _0x1f23c8;let _0x732d28=Et(_0x46770e,_0x37c5fc),_0x2b9f08=_0x51a9db[_0x18cdc4(0x309)]((_0x4a022f,_0x20a7f6)=>String(_0x4a022f['id']??_0x732d28+'\x1f'+_0x20a7f6));return _0x461569['add'](_0x732d28),_0x435b87['set'](_0x732d28,_0x2b9f08),_0x51a9db[_0x18cdc4(0x34b)]((_0x23d338,_0x2b96a8)=>{const _0x304404=_0x18cdc4;let _0x3a7cac=_0x2b9f08[_0x2b96a8];_0x2dc853[_0x304404(0x246)](_0x3a7cac,{..._0x23d338,'id':_0x3a7cac});}),this[_0x18cdc4(0x4b2)](U[_0x18cdc4(0x480)](_0x2bd10c,_0x732d28),(_0x1f23c8=_0x26e424[_0x18cdc4(0x27b)])==null||(_0x1f23c8=_0x1f23c8[_0x18cdc4(0x556)])==null?void 0x0:_0x1f23c8[_0x732d28],_0x2b9f08);}),_0xc1268f=Array[_0x14d4db(0x2f3)](_0x2dc853)[_0x14d4db(0x309)](([_0x35dea3,_0x23e605])=>{const _0x5e59a9=_0x14d4db;var _0x475ab4;return this[_0x5e59a9(0x4b2)](U[_0x5e59a9(0x31f)](_0x2bd10c,_0x35dea3),(_0x475ab4=_0x26e424['resources'])==null||(_0x475ab4=_0x475ab4[_0x5e59a9(0x3ba)])==null?void 0x0:_0x475ab4[_0x35dea3],_0x23e605);}),_0x4e4117=new Set(Array['from'](_0x435b87[_0x14d4db(0x54e)]())[_0x14d4db(0x49e)]()),_0x514c07=new Set(Array[_0x14d4db(0x2f3)](_0x461569)['flatMap'](_0x131801=>{const _0xafe642=_0x14d4db;var _0x251cd4;return((_0x251cd4=_0x26e424[_0xafe642(0x27b)])==null||(_0x251cd4=_0x251cd4[_0xafe642(0x556)])==null?void 0x0:_0x251cd4[_0x131801])??[];})),_0x4f31fd=Array[_0x14d4db(0x2f3)](_0x514c07)['flatMap'](_0x588b6b=>{const _0x4171e4=_0x14d4db;var _0x25fb08;let _0x497090=(_0x25fb08=_0x26e424[_0x4171e4(0x27b)])==null||(_0x25fb08=_0x25fb08[_0x4171e4(0x3ba)])==null?void 0x0:_0x25fb08[_0x588b6b];return _0x497090!==void 0x0&&!_0x4e4117[_0x4171e4(0x25c)](_0x588b6b)?[_0x2f9032[_0x4171e4(0x40b)](U['attachment'](_0x2bd10c,_0x588b6b),_0x497090)]:[];});return[..._0x4bec20,..._0xc1268f,..._0x4f31fd];}[_0x282c57(0x380)](_0x1f88e7,_0x5c6965,_0x921bef){const _0x5b4127=_0x282c57;var _0x7e360b;let _0xaea483=((_0x7e360b=_0x1f88e7[_0x5b4127(0x27b)])==null?void 0x0:_0x7e360b['attachmentSets'])??{},_0x1129b9=Object[_0x5b4127(0x41d)](_0xaea483)[_0x5b4127(0x4cc)](([_0x526568])=>_0x921bef(_0x526568));if(!_0x1129b9[_0x5b4127(0x4ab)])return[];let _0x18663d=new Set(Object[_0x5b4127(0x41d)](_0xaea483)[_0x5b4127(0x4cc)](([_0x236234])=>!_0x921bef(_0x236234))[_0x5b4127(0x26a)](([,_0xc72a77])=>_0xc72a77)),_0x56cc91=new Set(_0x1129b9[_0x5b4127(0x26a)](([,_0xb131fd])=>_0xb131fd));return[..._0x1129b9['map'](([_0x4f564e,_0x2d7ef0])=>_0x2f9032[_0x5b4127(0x40b)](U['attachmentSet'](_0x5c6965,_0x4f564e),_0x2d7ef0)),...Array[_0x5b4127(0x2f3)](_0x56cc91)['flatMap'](_0x5eee45=>{const _0x39460e=_0x5b4127;var _0x46518b;let _0x255b6c=(_0x46518b=_0x1f88e7[_0x39460e(0x27b)])==null||(_0x46518b=_0x46518b['attachments'])==null?void 0x0:_0x46518b[_0x5eee45];return _0x255b6c!==void 0x0&&!_0x18663d[_0x39460e(0x25c)](_0x5eee45)?[_0x2f9032['removeOp'](U[_0x39460e(0x31f)](_0x5c6965,_0x5eee45),_0x255b6c)]:[];})];}[_0x282c57(0x4b2)](_0x3ada83,_0x13bdce,_0x238f95){return _0x13bdce===void 0x0?_0x2f9032['insertOp'](_0x3ada83,_0x238f95):_0x2f9032['replaceOp'](_0x3ada83,_0x13bdce,_0x238f95);}};function er(_0x3ca0de,_0x403cd4,_0x4e861f,_0x28d9f0){const _0x250cc1=_0x282c57;var _0x41d7e7;let _0x269792=_0x28d9f0['type'];if(_0x4e861f[_0x250cc1(0x4aa)]!==_0x269792||_0x269792!==_0x239099[_0x250cc1(0x2fe)]&&_0x269792!==_0x239099['MultiSelect']||tr(_0x28d9f0[_0x250cc1(0x50c)][_0x250cc1(0x1da)]))return{'field':_0x28d9f0,'patches':[]};let _0x16aa2c=nr(_0x4e861f),_0x518d68=nr(_0x28d9f0);if(![..._0x16aa2c][_0x250cc1(0x436)](_0x324e39=>!_0x518d68[_0x250cc1(0x25c)](_0x324e39)))return{'field':_0x28d9f0,'patches':[]};let _0x364117=rr(_0x28d9f0[_0x250cc1(0x522)],_0x518d68,_0x269792),_0x4b7cec=ir(_0x364117,_0x28d9f0['defaultValue'])?_0x28d9f0:{..._0x28d9f0,'defaultValue':_0x364117},_0x3991b4=L(_0x3ca0de),_0x3a2b46=(_0x41d7e7=_0x3991b4[_0x250cc1(0x28f)])==null?void 0x0:_0x41d7e7[_0x403cd4];return _0x3a2b46==null?{'field':_0x4b7cec,'patches':[]}:{'field':_0x4b7cec,'patches':(_0x3991b4[_0x250cc1(0x413)]??[])['flatMap'](_0x504e3b=>{const _0x52440a=_0x250cc1;var _0xebf348,_0x296508;let _0x36b669=(_0xebf348=_0x3991b4[_0x52440a(0x277)])==null?void 0x0:_0xebf348[_0x504e3b],_0x916ad2=(_0x296508=_0x3991b4[_0x52440a(0x1e1)][_0x504e3b])==null?void 0x0:_0x296508[_0x52440a(0x54e)][_0x403cd4],_0x3aafae=rr(_0x916ad2,_0x518d68,_0x269792);return _0x36b669==null||ir(_0x3aafae,_0x916ad2)?[]:[{'row':_0x36b669,'col':_0x3a2b46,'value':_0x3aafae??null}];})};}function tr(_0x2056b9){const _0x58430a=_0x282c57;return typeof _0x2056b9==_0x58430a(0x4ba)&&!!_0x2056b9&&_0x58430a(0x4aa)in _0x2056b9&&_0x2056b9[_0x58430a(0x4aa)]===_0x58430a(0x2d9);}function nr(_0x30d48d){const _0x48d606=_0x282c57;var _0x32abf7;let _0x38137e=Array['isArray']((_0x32abf7=_0x30d48d['config'])==null?void 0x0:_0x32abf7[_0x48d606(0x4f3)])?_0x30d48d[_0x48d606(0x50c)][_0x48d606(0x4f3)]:[];return new Set(_0x38137e[_0x48d606(0x26a)](_0x58bba2=>{if(!_0x58bba2||typeof _0x58bba2!='object'||!('id'in _0x58bba2))return[];let _0x2b8916=String(_0x58bba2['id']);return _0x2b8916?[_0x2b8916]:[];}));}function rr(_0xde3b82,_0x3c4797,_0x308d89){const _0x181aac=_0x282c57;if(_0xde3b82==null||_0xde3b82==='')return _0xde3b82;if(_0x308d89===_0x239099[_0x181aac(0x2fe)])return _0x3c4797[_0x181aac(0x25c)](String(_0xde3b82))?_0xde3b82:null;let _0x19bffc=Array[_0x181aac(0x3d5)](_0xde3b82)?_0xde3b82[_0x181aac(0x309)](String):String(_0xde3b82)[_0x181aac(0x460)](',')[_0x181aac(0x309)](_0x1e8701=>_0x1e8701[_0x181aac(0x24d)]())[_0x181aac(0x4cc)](Boolean),_0x12acce=_0x19bffc['filter'](_0x4471e5=>_0x3c4797[_0x181aac(0x25c)](_0x4471e5));return _0x12acce[_0x181aac(0x4ab)]===_0x19bffc['length']?_0xde3b82:Array[_0x181aac(0x3d5)](_0xde3b82)?_0x12acce:String(_0xde3b82)[_0x181aac(0x3df)](',')?_0x12acce[_0x181aac(0x1c0)](','):_0x12acce[0x0]??[];}function ir(_0x474727,_0x2f8f75){const _0x496b89=_0x282c57;return JSON['stringify'](_0x474727)===JSON[_0x496b89(0x2fb)](_0x2f8f75);}function ar(_0x2b6826,_0x3cb01b,_0x413906){const _0x2bd558=_0x282c57;var _0x4f2b6d,_0x958134,_0x10f072,_0x5c2cdd;let _0x56a6d5=(_0x4f2b6d=_0x2b6826[_0x2bd558(0x277)])==null?void 0x0:_0x4f2b6d[_0x3cb01b],_0x353856=(_0x958134=_0x2b6826[_0x2bd558(0x28f)])==null?void 0x0:_0x958134[_0x413906];return _0x56a6d5!=null&&_0x353856!=null&&((_0x10f072=_0x2b6826[_0x2bd558(0x21b)])==null?void 0x0:_0x10f072[_0x56a6d5])===_0x3cb01b&&((_0x5c2cdd=_0x2b6826[_0x2bd558(0x46d)])==null?void 0x0:_0x5c2cdd[_0x353856])===_0x413906&&_0x2b6826[_0x2bd558(0x343)]!=null;}function or(_0x1fc377,_0x3cddc8,_0x226fcc){const _0x2979bf=_0x282c57;var _0x431ec7,_0x508e8e;return((_0x431ec7=_0x1fc377[_0x2979bf(0x21b)])==null?void 0x0:_0x431ec7[_0x3cddc8])!=null&&((_0x508e8e=_0x1fc377[_0x2979bf(0x46d)])==null?void 0x0:_0x508e8e[_0x226fcc])!=null&&_0x1fc377[_0x2979bf(0x343)]!=null;}function sr(_0x18b4ad,_0x232c1d,_0x5296b0){const _0x202634=_0x282c57;let _0x2dfae0=_0x18b4ad[_0x202634(0x4cc)](_0x1aaa17=>_0x1aaa17!==_0x232c1d),_0x21e915=_0x5296b0['beforeFieldId']?_0x2dfae0[_0x202634(0x1f4)](_0x5296b0['beforeFieldId']):_0x5296b0[_0x202634(0x1f0)]?_0x2dfae0[_0x202634(0x1f4)](_0x5296b0['afterFieldId'])+0x1:_0x2dfae0[_0x202634(0x4ab)];return _0x2dfae0[_0x202634(0x4eb)](_0x21e915<0x0?_0x2dfae0[_0x202634(0x4ab)]:_0x21e915,0x0,_0x232c1d),_0x2dfae0;}function cr(_0x4d6a56,_0x8cac3b,_0x2d1fcc){const _0xbc5ab1=_0x282c57;let _0x378752=_0x4d6a56[_0xbc5ab1(0x4cc)](_0x16fc7f=>_0x16fc7f!==_0x8cac3b);return _0x378752[_0xbc5ab1(0x4eb)](ur(_0x2d1fcc,_0x378752['length']),0x0,_0x8cac3b),_0x378752;}function lr(_0x8ca10b,_0x201e6c,_0x470c87){const _0x1c0007=_0x282c57;if(Array[_0x1c0007(0x3d5)](_0x8ca10b))return _0x470c87===_0x1c0007(0x25f)?_0x8ca10b[_0x1c0007(0x4cc)](_0x41e562=>_0x41e562!==_0x201e6c):_0x8ca10b[_0x1c0007(0x26a)](_0x1ab2da=>{const _0x2360ab=_0x1c0007;if(_0x1ab2da&&typeof _0x1ab2da==_0x2360ab(0x4ba)&&!Array[_0x2360ab(0x3d5)](_0x1ab2da)&&_0x1ab2da[_0x2360ab(0x387)]===_0x201e6c)return[];let _0x2bf636=lr(_0x1ab2da,_0x201e6c);return _0x2bf636===void 0x0?[]:[_0x2bf636];});if(!_0x8ca10b||typeof _0x8ca10b!=_0x1c0007(0x4ba))return _0x470c87!=null&&_0x470c87[_0x1c0007(0x48a)](_0x1c0007(0x25e))&&_0x8ca10b===_0x201e6c?void 0x0:_0x8ca10b;let _0x31f86f=_0x8ca10b;if(_0x31f86f[_0x1c0007(0x387)]!==_0x201e6c)return Object[_0x1c0007(0x1af)](Object['entries'](_0x31f86f)[_0x1c0007(0x26a)](([_0x33a22f,_0x2eaf22])=>{const _0x31e36f=_0x1c0007;if(_0x33a22f===_0x201e6c&&_0x470c87===_0x31e36f(0x272))return[];let _0x291696=lr(_0x2eaf22,_0x201e6c,_0x33a22f);return _0x291696===void 0x0?[]:[[_0x33a22f,_0x291696]];}));}function ur(_0x206ddd,_0x2b1ddd){const _0x1ec508=_0x282c57;return Math[_0x1ec508(0x468)](0x0,Math[_0x1ec508(0x520)](_0x206ddd,_0x2b1ddd));}function dr(_0x208dcd){'@babel/helpers - typeof';const _0x18e89f=_0x282c57;return dr=typeof Symbol==_0x18e89f(0x3b9)&&typeof Symbol['iterator']=='symbol'?function(_0x3bdfd1){return typeof _0x3bdfd1;}:function(_0x542fce){const _0x12379a=_0x18e89f;return _0x542fce&&typeof Symbol=='function'&&_0x542fce[_0x12379a(0x25b)]===Symbol&&_0x542fce!==Symbol['prototype']?_0x12379a(0x317):typeof _0x542fce;},dr(_0x208dcd);}function fr(_0x233e85,_0x1e333e){const _0x2dc12d=_0x282c57;if(dr(_0x233e85)!=_0x2dc12d(0x4ba)||!_0x233e85)return _0x233e85;var _0x51672d=_0x233e85[Symbol[_0x2dc12d(0x1e8)]];if(_0x51672d!==void 0x0){var _0x29bab0=_0x51672d['call'](_0x233e85,_0x1e333e||'default');if(dr(_0x29bab0)!=_0x2dc12d(0x4ba))return _0x29bab0;throw TypeError(_0x2dc12d(0x2fa));}return(_0x1e333e==='string'?String:Number)(_0x233e85);}function pr(_0x15e56a){const _0x25bb7d=_0x282c57;var _0x1dafb2=fr(_0x15e56a,'string');return dr(_0x1dafb2)==_0x25bb7d(0x317)?_0x1dafb2:_0x1dafb2+'';}function G(_0x414f73,_0x22202d,_0x51f099){const _0xcc1b49=_0x282c57;return(_0x22202d=pr(_0x22202d))in _0x414f73?Object[_0xcc1b49(0x23c)](_0x414f73,_0x22202d,{'value':_0x51f099,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x414f73[_0x22202d]=_0x51f099,_0x414f73;}const mr=_0x2cfc4b(_0x282c57(0x43a));var hr=class extends _0x3bb8e0{constructor(..._0x2e4477){const _0x6d6fd4=_0x282c57;super(..._0x2e4477),G(this,_0x6d6fd4(0x432),new Map());}[_0x282c57(0x39f)](_0x13267c){const _0xe6840d=_0x282c57;return this[_0xe6840d(0x432)]['set'](_0x13267c[_0xe6840d(0x4aa)],_0x13267c),_0x453a32(()=>this[_0xe6840d(0x432)][_0xe6840d(0x404)](_0x13267c[_0xe6840d(0x4aa)]));}[_0x282c57(0x268)](_0x23f27b){const _0x314ee3=_0x282c57;let _0x4e7d05=this[_0x314ee3(0x432)]['get'](_0x23f27b);if(!_0x4e7d05)throw Error(_0x314ee3(0x550)+_0x23f27b+'\x22\x20is\x20not\x20registered.');return _0x4e7d05;}[_0x282c57(0x4e4)](_0x512a1d){const _0xa1d76b=_0x282c57;return this[_0xa1d76b(0x432)]['get'](_0x512a1d);}['getAll'](){const _0xe7c83e=_0x282c57;return Array[_0xe7c83e(0x2f3)](this['_plugins'][_0xe7c83e(0x54e)]());}},gr=class{constructor(_0xdf032e){const _0x4ee7f0=_0x282c57;this[_0x4ee7f0(0x226)]=_0xdf032e,G(this,'type',_0xd2ae12[_0x4ee7f0(0x3d6)]),G(this,_0x4ee7f0(0x4a3),_0x133e41[_0x4ee7f0(0x4c4)]),G(this,_0x4ee7f0(0x42a),_0xcbb269[_0x4ee7f0(0x2b3)]),G(this,'id',void 0x0),G(this,_0x4ee7f0(0x373),!0x0),this['id']=this['type']+'.'+this[_0x4ee7f0(0x4a3)]+'_'+_0xdf032e;}},_r=class{constructor(_0x405799){const _0x263737=_0x282c57;this[_0x263737(0x226)]=_0x405799,G(this,'type',_0xd2ae12[_0x263737(0x3d6)]),G(this,_0x263737(0x4a3),_0x133e41[_0x263737(0x208)]),G(this,'status',_0xcbb269['INIT']),G(this,'id',void 0x0),G(this,_0x263737(0x373),!0x0),this['id']=this['type']+'.'+this['subType']+'_'+_0x405799;}},vr=class{constructor(_0x57ff1c){const _0x55634e=_0x282c57;this[_0x55634e(0x226)]=_0x57ff1c,G(this,_0x55634e(0x4aa),_0xd2ae12[_0x55634e(0x3d6)]),G(this,_0x55634e(0x4a3),_0x133e41[_0x55634e(0x4a6)]),G(this,_0x55634e(0x42a),_0xcbb269[_0x55634e(0x2b3)]),G(this,'id',void 0x0),G(this,'value',!0x0),this['id']=this['type']+'.'+this[_0x55634e(0x4a3)]+'_'+_0x57ff1c;}},yr=class{constructor(_0x46d834){const _0x503107=_0x282c57;this[_0x503107(0x226)]=_0x46d834,G(this,_0x503107(0x4aa),_0xd2ae12[_0x503107(0x3d6)]),G(this,_0x503107(0x4a3),_0x133e41[_0x503107(0x3ce)]),G(this,_0x503107(0x42a),_0xcbb269[_0x503107(0x2b3)]),G(this,'id',void 0x0),G(this,_0x503107(0x373),!0x0),this['id']=this[_0x503107(0x4aa)]+'.'+this[_0x503107(0x4a3)]+'_'+_0x46d834;}},br=class{constructor(_0xe8ffec,_0x4ad65b){const _0x4953e7=_0x282c57;this[_0x4953e7(0x226)]=_0xe8ffec,this[_0x4953e7(0x223)]=_0x4ad65b,G(this,_0x4953e7(0x4aa),_0xd2ae12[_0x4953e7(0x426)]),G(this,_0x4953e7(0x4a3),_0x133e41[_0x4953e7(0x4a6)]),G(this,'status',_0xcbb269[_0x4953e7(0x2b3)]),G(this,'id',void 0x0),G(this,_0x4953e7(0x373),!0x0),this['id']=this[_0x4953e7(0x4aa)]+'.'+this['subType']+'_'+_0xe8ffec+'_'+_0x4ad65b;}},xr=class{constructor(_0x6e617,_0x16955b){const _0x3d35d9=_0x282c57;this[_0x3d35d9(0x226)]=_0x6e617,this[_0x3d35d9(0x223)]=_0x16955b,G(this,_0x3d35d9(0x4aa),_0xd2ae12[_0x3d35d9(0x4e9)]),G(this,_0x3d35d9(0x4a3),_0x133e41['Edit']),G(this,_0x3d35d9(0x42a),_0xcbb269[_0x3d35d9(0x2b3)]),G(this,'id',void 0x0),G(this,_0x3d35d9(0x373),!0x0),this['id']=this['type']+'.'+this[_0x3d35d9(0x4a3)]+'_'+_0x6e617+'_'+_0x16955b;}},Sr=class{constructor(_0x281122,_0x18b9c1){const _0x142063=_0x282c57;this[_0x142063(0x226)]=_0x281122,this[_0x142063(0x223)]=_0x18b9c1,G(this,_0x142063(0x4aa),_0xd2ae12[_0x142063(0x2d0)]),G(this,_0x142063(0x4a3),_0x133e41[_0x142063(0x4a6)]),G(this,'status',_0xcbb269[_0x142063(0x2b3)]),G(this,'id',void 0x0),G(this,_0x142063(0x373),!0x0),this['id']=this[_0x142063(0x4aa)]+'.'+this[_0x142063(0x4a3)]+'_'+_0x281122+'_'+_0x18b9c1;}},Cr=class{constructor(_0x534820,_0x16cf40){const _0x40180b=_0x282c57;this['unitId']=_0x534820,this['objectId']=_0x16cf40,G(this,_0x40180b(0x4aa),_0xd2ae12[_0x40180b(0x29b)]),G(this,_0x40180b(0x4a3),_0x133e41[_0x40180b(0x4a6)]),G(this,_0x40180b(0x42a),_0xcbb269[_0x40180b(0x2b3)]),G(this,'id',void 0x0),G(this,'value',!0x0),this['id']=this[_0x40180b(0x4aa)]+'.'+this[_0x40180b(0x4a3)]+'_'+_0x534820+'_'+_0x16cf40;}},wr=class{constructor(_0x17b505,_0x13ca57){const _0x7b4f44=_0x282c57;this['unitId']=_0x17b505,this[_0x7b4f44(0x223)]=_0x13ca57,G(this,'type',_0xd2ae12[_0x7b4f44(0x1ad)]),G(this,'subType',_0x133e41[_0x7b4f44(0x4a6)]),G(this,_0x7b4f44(0x42a),_0xcbb269[_0x7b4f44(0x2b3)]),G(this,'id',void 0x0),G(this,'value',!0x0),this['id']=this['type']+'.'+this[_0x7b4f44(0x4a3)]+'_'+_0x17b505+'_'+_0x13ca57;}};const Tr=[_0x133e41[_0x282c57(0x4a6)],_0x133e41[_0x282c57(0x208)],_0x133e41['Export'],_0x133e41[_0x282c57(0x4c4)]],Er=new Set([_0xd2ae12['Base'],_0xd2ae12['BaseTable'],_0xd2ae12[_0x282c57(0x4e9)],_0xd2ae12[_0x282c57(0x2d0)],_0xd2ae12[_0x282c57(0x1ad)],_0xd2ae12[_0x282c57(0x426)]]),Dr=_0x282c57(0x448),Or=_0x282c57(0x254),kr=_0x282c57(0x507),Ar=_0x282c57(0x26e),jr='dashboard/';function K(_0x13b9d7){return''+Dr+encodeURIComponent(_0x13b9d7);}function q(_0x5a9f4f,_0x66db39){return''+Or+encodeURIComponent(_0x5a9f4f)+'/'+encodeURIComponent(_0x66db39);}function J(_0x2a76ef,_0x3f6f29){return''+kr+encodeURIComponent(_0x2a76ef)+'/'+encodeURIComponent(_0x3f6f29);}function Mr(_0x508515,_0x19e79f){return''+Ar+encodeURIComponent(_0x508515)+'/'+encodeURIComponent(_0x19e79f);}function Nr(_0x16798b){return''+jr+encodeURIComponent(_0x16798b);}function Pr(_0x165108,_0x36b6ec,_0x8b6ea9){const _0x14fac0=_0x282c57;if(_0x36b6ec===_0x165108)switch(_0x8b6ea9){case _0x133e41[_0x14fac0(0x4a6)]:return new vr(_0x165108);case _0x133e41[_0x14fac0(0x208)]:return new _r(_0x165108);case _0x133e41['Export']:return new yr(_0x165108);case _0x133e41[_0x14fac0(0x4c4)]:return new gr(_0x165108);default:throw Error(_0x14fac0(0x4e6)+_0x8b6ea9);}if(_0x8b6ea9!==_0x133e41[_0x14fac0(0x4a6)])throw Error(_0x14fac0(0x4a7)+_0x36b6ec);if(_0x36b6ec[_0x14fac0(0x289)](Dr))return new Cr(_0x165108,_0x36b6ec);if(_0x36b6ec['startsWith'](Or))return new xr(_0x165108,_0x36b6ec);if(_0x36b6ec[_0x14fac0(0x289)](kr))return new Sr(_0x165108,_0x36b6ec);if(_0x36b6ec[_0x14fac0(0x289)](Ar))return new wr(_0x165108,_0x36b6ec);if(_0x36b6ec[_0x14fac0(0x289)](jr))return new br(_0x165108,_0x36b6ec);throw Error('Unsupported\x20Base\x20permission\x20object:\x20'+_0x36b6ec);}function Fr(_0x2ba84b,_0x5e6e52,_0x407aec,_0x30dd9c){const _0x15df35=_0x282c57;var _0x26813f;return((_0x26813f=_0x2ba84b[_0x15df35(0x22c)](Pr(_0x5e6e52,_0x407aec,_0x30dd9c)['id']))==null?void 0x0:_0x26813f[_0x15df35(0x373)])??!0x0;}function Ir(_0xa0482,_0x34d77a,_0x48655d,_0x1af21d,_0x1360e0){const _0x2b0b3f=_0x282c57;let _0x5bb242=Pr(_0x34d77a,_0x48655d,_0x1af21d);_0xa0482[_0x2b0b3f(0x22c)](_0x5bb242['id'])||_0xa0482[_0x2b0b3f(0x311)](_0x5bb242),_0xa0482[_0x2b0b3f(0x47e)](_0x5bb242['id'],_0x1360e0);}function Lr(_0x4f0550,_0x392017,_0x217a23,_0x483b9b){const _0x2747cc=_0x282c57;_0x4f0550[_0x2747cc(0x46e)](Pr(_0x392017,_0x217a23,_0x483b9b)['id']);}function Rr(_0x15775b,_0x49fe02){const _0x52c108=_0x282c57;_0x15775b[_0x52c108(0x500)]()[_0x52c108(0x34b)]((_0x190a93,_0x48d234)=>{const _0x548275=_0x52c108;_0x190a93[_0x548275(0x306)](_0x211c8a=>{const _0x4601b1=_0x548275;Er[_0x4601b1(0x25c)](_0x211c8a[_0x4601b1(0x4aa)])&&_0x4601b1(0x226)in _0x211c8a&&_0x211c8a[_0x4601b1(0x226)]===_0x49fe02&&_0x15775b['deletePermissionPoint'](_0x48d234);})[_0x548275(0x405)]();});}function zr(_0x71faa9,_0x2d156d,_0x25eab1){const _0x5c75a3=_0x282c57;return Fr(_0x71faa9,_0x2d156d,_0x2d156d,_0x133e41[_0x5c75a3(0x4a6)])&&Array[_0x5c75a3(0x2f3)](_0x25eab1)[_0x5c75a3(0x300)](_0x17f947=>Fr(_0x71faa9,_0x2d156d,_0x17f947,_0x133e41[_0x5c75a3(0x4a6)]));}function Y(_0x40e9a8,_0x317dad){return function(_0x3b512e,_0x560474){_0x317dad(_0x3b512e,_0x560474,_0x40e9a8);};}function X(_0x5035ab,_0x3af17a,_0x26077e,_0x2a3f89){const _0x9ac5a6=_0x282c57;var _0x5c80d7=arguments[_0x9ac5a6(0x4ab)],_0x1672c4=_0x5c80d7<0x3?_0x3af17a:_0x2a3f89===null?_0x2a3f89=Object['getOwnPropertyDescriptor'](_0x3af17a,_0x26077e):_0x2a3f89,_0x3c9465;if(typeof Reflect=='object'&&typeof Reflect['decorate']==_0x9ac5a6(0x3b9))_0x1672c4=Reflect[_0x9ac5a6(0x54f)](_0x5035ab,_0x3af17a,_0x26077e,_0x2a3f89);else{for(var _0x291b5f=_0x5035ab['length']-0x1;_0x291b5f>=0x0;_0x291b5f--)(_0x3c9465=_0x5035ab[_0x291b5f])&&(_0x1672c4=(_0x5c80d7<0x3?_0x3c9465(_0x1672c4):_0x5c80d7>0x3?_0x3c9465(_0x3af17a,_0x26077e,_0x1672c4):_0x3c9465(_0x3af17a,_0x26077e))||_0x1672c4);}return _0x5c80d7>0x3&&_0x1672c4&&Object['defineProperty'](_0x3af17a,_0x26077e,_0x1672c4),_0x1672c4;}const Br=_0x2cfc4b('base.permission.service');let Vr=class extends _0x3bb8e0{constructor(_0x5e7dbf,_0x46adaa){const _0x562a80=_0x282c57;super(),this[_0x562a80(0x513)]=_0x5e7dbf,this[_0x562a80(0x20c)]=_0x46adaa,G(this,'_basePermissions',new Map()),G(this,_0x562a80(0x383),new Map()),G(this,_0x562a80(0x451),new Map()),G(this,_0x562a80(0x4bd),new Map()),G(this,_0x562a80(0x330),new Map()),G(this,_0x562a80(0x414),new Map()),this[_0x562a80(0x4fe)](this[_0x562a80(0x20c)][_0x562a80(0x4b0)](_0x335149[_0x562a80(0x370)])[_0x562a80(0x306)](_0x173d05=>this[_0x562a80(0x50b)](_0x173d05[_0x562a80(0x1e4)]())));}[_0x282c57(0x42f)](_0x1207a1){const _0x481813=_0x282c57;var _0x34a60e;return this[_0x481813(0x462)](_0x1207a1,[])&&(((_0x34a60e=this[_0x481813(0x53b)]['get'](_0x1207a1))==null?void 0x0:_0x34a60e['createTable'])??!0x0);}[_0x282c57(0x403)](_0x185ef2){const _0x55dfb2=_0x282c57;return this[_0x55dfb2(0x2f8)](_0x185ef2);}[_0x282c57(0x2f5)](_0x49cfc3){const _0x59edd4=_0x282c57;var _0x278bb9;return this['_canEditTable'](_0x49cfc3)&&(((_0x278bb9=this[_0x59edd4(0x383)][_0x59edd4(0x268)](_0x49cfc3))==null?void 0x0:_0x278bb9[_0x59edd4(0x404)])??!0x0);}['canCreateField'](_0x10e098){const _0x496e05=_0x282c57;var _0x2e1c5b;return this[_0x496e05(0x2f8)](_0x10e098)&&(((_0x2e1c5b=this[_0x496e05(0x383)][_0x496e05(0x268)](_0x10e098))==null?void 0x0:_0x2e1c5b['createField'])??!0x0);}['canEditField'](_0x2fa5de,_0xbdcf63){const _0x4e73d1=_0x282c57;var _0x2af12a;return this[_0x4e73d1(0x2f8)](_0x2fa5de)&&this[_0x4e73d1(0x462)](_0x2fa5de,[q(_0x2fa5de,_0xbdcf63)])&&(((_0x2af12a=this[_0x4e73d1(0x451)][_0x4e73d1(0x268)](Ur(_0x2fa5de,_0xbdcf63)))==null?void 0x0:_0x2af12a[_0x4e73d1(0x301)])??!0x0);}[_0x282c57(0x510)](_0x433e51,_0x142aa4){const _0x178f95=_0x282c57;var _0x8ae1cc;return this[_0x178f95(0x3d0)](_0x433e51,_0x142aa4)&&(((_0x8ae1cc=this[_0x178f95(0x451)][_0x178f95(0x268)](Ur(_0x433e51,_0x142aa4)))==null?void 0x0:_0x8ae1cc[_0x178f95(0x404)])??!0x0);}[_0x282c57(0x4e2)](_0x19f3e9){const _0x57e087=_0x282c57;var _0x2d7568;return this[_0x57e087(0x2f8)](_0x19f3e9)&&(((_0x2d7568=this[_0x57e087(0x383)][_0x57e087(0x268)](_0x19f3e9))==null?void 0x0:_0x2d7568['createRecord'])??!0x0);}[_0x282c57(0x219)](_0x2d23be,_0x3217f7){const _0x57a1bb=_0x282c57;var _0x104eb5;let _0x34e472=this[_0x57a1bb(0x4bd)][_0x57a1bb(0x268)](Wr(_0x2d23be,_0x3217f7));return this['_canEdit'](_0x2d23be,[K(_0x2d23be),J(_0x2d23be,_0x3217f7)])&&(((_0x104eb5=this[_0x57a1bb(0x383)][_0x57a1bb(0x268)](_0x2d23be))==null?void 0x0:_0x104eb5[_0x57a1bb(0x301)])??!0x0)&&((_0x34e472==null?void 0x0:_0x34e472[_0x57a1bb(0x301)])??!0x0)&&((_0x34e472==null?void 0x0:_0x34e472['editCell'])??!0x0);}[_0x282c57(0x23d)](_0x7bd073,_0x3e2c35){const _0x4cf3c6=_0x282c57;var _0x194202,_0x1e8acd,_0x1b5c21;return this[_0x4cf3c6(0x462)](_0x7bd073,[K(_0x7bd073),J(_0x7bd073,_0x3e2c35)])&&(((_0x194202=this[_0x4cf3c6(0x383)][_0x4cf3c6(0x268)](_0x7bd073))==null?void 0x0:_0x194202[_0x4cf3c6(0x301)])??!0x0)&&(((_0x1e8acd=this[_0x4cf3c6(0x4bd)][_0x4cf3c6(0x268)](Wr(_0x7bd073,_0x3e2c35)))==null?void 0x0:_0x1e8acd['edit'])??!0x0)&&(((_0x1b5c21=this[_0x4cf3c6(0x4bd)][_0x4cf3c6(0x268)](Wr(_0x7bd073,_0x3e2c35)))==null?void 0x0:_0x1b5c21[_0x4cf3c6(0x404)])??!0x0);}['canEditCell'](_0x2f168b,_0x23b2f9,_0x46afbe){const _0x2072ac=_0x282c57;var _0x446e3e,_0x377948,_0x1460d6;let _0x2aa181=this['_fieldPermissions'][_0x2072ac(0x268)](Ur(_0x2f168b,_0x46afbe));return this['_canEdit'](_0x2f168b,[K(_0x2f168b),q(_0x2f168b,_0x46afbe),J(_0x2f168b,_0x23b2f9)])&&(((_0x446e3e=this[_0x2072ac(0x383)]['get'](_0x2f168b))==null?void 0x0:_0x446e3e[_0x2072ac(0x301)])??!0x0)&&(((_0x377948=this[_0x2072ac(0x4bd)]['get'](Wr(_0x2f168b,_0x23b2f9)))==null?void 0x0:_0x377948['edit'])??!0x0)&&(((_0x1460d6=this[_0x2072ac(0x4bd)][_0x2072ac(0x268)](Wr(_0x2f168b,_0x23b2f9)))==null?void 0x0:_0x1460d6[_0x2072ac(0x54c)])??!0x0)&&((_0x2aa181==null?void 0x0:_0x2aa181[_0x2072ac(0x301)])??!0x0)&&((_0x2aa181==null?void 0x0:_0x2aa181[_0x2072ac(0x54c)])??!0x0);}[_0x282c57(0x39d)](_0x3b04c7,_0x3a3544){const _0x8b2546=_0x282c57;var _0x2e6d79,_0x2a38ed,_0x13e17c;return this['_canEdit'](_0x3b04c7,[K(_0x3b04c7),Mr(_0x3b04c7,_0x3a3544)])&&(((_0x2e6d79=this[_0x8b2546(0x383)][_0x8b2546(0x268)](_0x3b04c7))==null?void 0x0:_0x2e6d79[_0x8b2546(0x301)])??!0x0)&&(((_0x2a38ed=this['_viewPermissions'][_0x8b2546(0x268)](Gr(_0x3b04c7,_0x3a3544)))==null?void 0x0:_0x2a38ed['edit'])??!0x0)&&(((_0x13e17c=this['_tablePermissions']['get'](_0x3b04c7))==null?void 0x0:_0x13e17c['manageView'])??!0x0);}[_0x282c57(0x3a1)](_0x3d02ae,_0x2d0fdd){const _0x52c8dc=_0x282c57;this['_basePermissions']['set'](_0x3d02ae,{...this['_basePermissions'][_0x52c8dc(0x268)](_0x3d02ae),..._0x2d0fdd}),_0x2d0fdd[_0x52c8dc(0x301)]!==void 0x0&&Ir(this['_permissionService'],_0x3d02ae,_0x3d02ae,_0x133e41['Edit'],_0x2d0fdd[_0x52c8dc(0x301)]);}[_0x282c57(0x28e)](_0x2b89ef,_0x148764){const _0x35d3c5=_0x282c57;this['_rememberTable'](_0x2b89ef),this[_0x35d3c5(0x383)][_0x35d3c5(0x246)](_0x2b89ef,{...this['_tablePermissions'][_0x35d3c5(0x268)](_0x2b89ef),..._0x148764}),this[_0x35d3c5(0x38c)](_0x2b89ef,K(_0x2b89ef),_0x148764[_0x35d3c5(0x301)]);}[_0x282c57(0x4de)](_0x4bcfdb,_0x766d94,_0x20f937){const _0x3c82a0=_0x282c57;this[_0x3c82a0(0x4cf)](_0x4bcfdb);let _0x5a8684=Ur(_0x4bcfdb,_0x766d94);this[_0x3c82a0(0x451)][_0x3c82a0(0x246)](_0x5a8684,{...this[_0x3c82a0(0x451)][_0x3c82a0(0x268)](_0x5a8684),..._0x20f937}),this[_0x3c82a0(0x38c)](_0x4bcfdb,q(_0x4bcfdb,_0x766d94),_0x20f937[_0x3c82a0(0x301)]);}[_0x282c57(0x365)](_0x21ba56,_0xc2d1fc,_0x51697c){const _0x2acefd=_0x282c57;this[_0x2acefd(0x4cf)](_0x21ba56);let _0x33f150=Wr(_0x21ba56,_0xc2d1fc);this[_0x2acefd(0x4bd)][_0x2acefd(0x246)](_0x33f150,{...this[_0x2acefd(0x4bd)][_0x2acefd(0x268)](_0x33f150),..._0x51697c}),this[_0x2acefd(0x38c)](_0x21ba56,J(_0x21ba56,_0xc2d1fc),_0x51697c['edit']);}[_0x282c57(0x3f3)](_0x3df923,_0x351a57,_0x501504){const _0x4c6b82=_0x282c57;this['_rememberTable'](_0x3df923);let _0x35a2cd=Gr(_0x3df923,_0x351a57);this['_viewPermissions']['set'](_0x35a2cd,{...this[_0x4c6b82(0x330)]['get'](_0x35a2cd),..._0x501504}),this['_setObjectEdit'](_0x3df923,Mr(_0x3df923,_0x351a57),_0x501504[_0x4c6b82(0x301)]);}[_0x282c57(0x222)](_0x216629){const _0x2bbb3c=_0x282c57;this['_basePermissions'][_0x2bbb3c(0x404)](_0x216629),Lr(this[_0x2bbb3c(0x513)],_0x216629,_0x216629,_0x133e41[_0x2bbb3c(0x4a6)]);}[_0x282c57(0x2ed)](_0x22da75){const _0x2565a2=_0x282c57;this[_0x2565a2(0x383)][_0x2565a2(0x404)](_0x22da75),this[_0x2565a2(0x233)](_0x22da75,K(_0x22da75));}['clearFieldPermission'](_0x2c7afe,_0x4330ff){const _0x16e94f=_0x282c57;this[_0x16e94f(0x451)][_0x16e94f(0x404)](Ur(_0x2c7afe,_0x4330ff)),this[_0x16e94f(0x233)](_0x2c7afe,q(_0x2c7afe,_0x4330ff));}[_0x282c57(0x3c5)](_0x510250,_0x4f2370){const _0x475a9e=_0x282c57;this[_0x475a9e(0x4bd)][_0x475a9e(0x404)](Wr(_0x510250,_0x4f2370)),this[_0x475a9e(0x233)](_0x510250,J(_0x510250,_0x4f2370));}[_0x282c57(0x3bc)](_0x5d27b4,_0x2b54f1){const _0x37d1e4=_0x282c57;this['_viewPermissions'][_0x37d1e4(0x404)](Gr(_0x5d27b4,_0x2b54f1)),this[_0x37d1e4(0x233)](_0x5d27b4,Mr(_0x5d27b4,_0x2b54f1));}['getSnapshot'](){const _0x1f2985=_0x282c57;return{'bases':Object[_0x1f2985(0x1af)](this[_0x1f2985(0x53b)]),'tables':Object[_0x1f2985(0x1af)](this[_0x1f2985(0x383)]),'fields':Object[_0x1f2985(0x1af)](this[_0x1f2985(0x451)]),'records':Object[_0x1f2985(0x1af)](this[_0x1f2985(0x4bd)]),'views':Object[_0x1f2985(0x1af)](this['_viewPermissions'])};}[_0x282c57(0x2f8)](_0x485d53){const _0x53b013=_0x282c57;var _0x3d2092;return this[_0x53b013(0x462)](_0x485d53,[K(_0x485d53)])&&(((_0x3d2092=this[_0x53b013(0x383)][_0x53b013(0x268)](_0x485d53))==null?void 0x0:_0x3d2092[_0x53b013(0x301)])??!0x0);}[_0x282c57(0x462)](_0x4f3178,_0xc60168){const _0xb85114=_0x282c57;var _0x572ddb;let _0x416a60=this[_0xb85114(0x2ce)](_0x4f3178);return!_0x416a60||zr(this[_0xb85114(0x513)],_0x416a60,_0xc60168)&&(((_0x572ddb=this['_basePermissions'][_0xb85114(0x268)](_0x416a60))==null?void 0x0:_0x572ddb['edit'])??!0x0);}[_0x282c57(0x38c)](_0x7d0f85,_0x5526e1,_0x48f11f){const _0x42298d=_0x282c57;if(_0x48f11f===void 0x0)return;let _0x2a315e=this[_0x42298d(0x2ce)](_0x7d0f85);_0x2a315e&&Ir(this['_permissionService'],_0x2a315e,_0x5526e1,_0x133e41[_0x42298d(0x4a6)],_0x48f11f);}[_0x282c57(0x233)](_0x1cfafd,_0x5014d2){let _0x58fe92=this['_resolveBaseId'](_0x1cfafd);_0x58fe92&&Lr(this['_permissionService'],_0x58fe92,_0x5014d2,_0x133e41['Edit']);}[_0x282c57(0x2ce)](_0x508202){const _0x2e95d9=_0x282c57;var _0x19ffa3;let _0x58a331=this[_0x2e95d9(0x20c)][_0x2e95d9(0x2ad)](_0x508202,_0x335149[_0x2e95d9(0x370)]);return _0x58a331?_0x58a331[_0x2e95d9(0x1e4)]():(_0x19ffa3=this[_0x2e95d9(0x20c)][_0x2e95d9(0x1cd)](_0x335149[_0x2e95d9(0x370)])[_0x2e95d9(0x525)](_0x4ce445=>!!_0x4ce445['getSnapshot']()[_0x2e95d9(0x528)][_0x508202]))==null?void 0x0:_0x19ffa3[_0x2e95d9(0x1e4)]();}['_rememberTable'](_0x55dfaf){const _0x627f14=_0x282c57;let _0x46b91e=this[_0x627f14(0x2ce)](_0x55dfaf);_0x46b91e&&this[_0x627f14(0x414)][_0x627f14(0x246)](_0x55dfaf,_0x46b91e);}[_0x282c57(0x50b)](_0x5d7767){const _0x112c36=_0x282c57;this[_0x112c36(0x53b)]['delete'](_0x5d7767),this[_0x112c36(0x414)][_0x112c36(0x34b)]((_0x5c49fc,_0x1cd2b1)=>{const _0x50ab85=_0x112c36;_0x5c49fc===_0x5d7767&&(this[_0x50ab85(0x383)][_0x50ab85(0x404)](_0x1cd2b1),Hr(this[_0x50ab85(0x451)],_0x1cd2b1+'\x1f'),Hr(this[_0x50ab85(0x4bd)],_0x1cd2b1+'\x1f'),Hr(this[_0x50ab85(0x330)],_0x1cd2b1+'\x1f'),this[_0x50ab85(0x414)][_0x50ab85(0x404)](_0x1cd2b1));});}};Vr=X([Y(0x0,_0x39a8ae),Y(0x1,_0x54ce33)],Vr);function Hr(_0x198c26,_0x76f401){const _0x3ad8ff=_0x282c57;_0x198c26[_0x3ad8ff(0x34b)]((_0x5e3d6b,_0x5eb246)=>{const _0x6804f=_0x3ad8ff;_0x5eb246[_0x6804f(0x289)](_0x76f401)&&_0x198c26[_0x6804f(0x404)](_0x5eb246);});}function Ur(_0x50330c,_0x18b326){return _0x50330c+'\x1f'+_0x18b326;}function Wr(_0x384f88,_0x4610f2){return _0x384f88+'\x1f'+_0x4610f2;}function _0x332d(){const _0x4353a0=['_applier','[RecordLink]:\x20target\x20record\x20\x22','Base\x20table\x20names\x20are\x20exported\x20as\x20Excel\x20worksheet\x20names\x20and\x20must\x20contain\x201-31\x20characters,\x20not\x20start\x20or\x20end\x20with\x20an\x20apostrophe,\x20not\x20contain\x20:\x20\x5c\x20/\x20?\x20*\x20[\x20],\x20and\x20be\x20unique\x20(case-insensitive).','[BaseField]:\x20invalid\x20rating\x20value.','primaryFieldId','url','tableId','cycle','split','[BaseCommandService]:\x20cannot\x20change\x20record-id\x20field\x20type.','_canEdit','onlyLocal','[BaseCommandService]:\x20cannot\x20delete\x20record.','base-snapshot-v1','invalidateByOp','_scheduleSuperTableSync','max','_injector','_check','Gantt','major-','colId','deletePermissionPoint','_enqueueFormulaSync','_applyFormulaResult','version','_normalizeGalleryConfig','readonly','_projectionCache','_getStructureDirtyTableIds','h12','False','base.command.set-base-kanban-group-field','getUTCFullYear','view','deleteField','Delete','_viewRowsCacheKey','updatePermissionPoint','BaseProjection.filterAndSortRows','attachmentSet',',,,\x22B\x22','emitPermissionDenied','majorHeaders','_getAllTableIds','getAffectedRanges','periodComma','exceptions','subtreeHeightByRecordId','yyyy/mm/dd','endsWith','base.command.set-base-view-group','this-row','_getOrderedRecords','matchAll','base.mutation.apply-base-json1','#16a34a','MM-DD','_globalRevision','_getTablesToNormalize','_projectedViewRowsCache','_getCurrentUserId','lastIndex','BaseJson1.syncCellInvalidations','unitOtherData','greaterThanOrEqual','getItem','numfmt','remove','toPlainText','flat','base.command.service','_apply','strategies','frozenFieldCount','subType','cardSize','DESC','Edit','Base\x20object\x20permissions\x20only\x20support\x20Edit:\x20','invertWithDoc','abs','type','length','false','UTC','repeat','IS_NOT','getTypeOfUnitDisposed$','diffValue','_replaceOptional','MultiSelect','_getSystemFieldValue','Unchecked','Currency','text','[BaseCommandService]:\x20cannot\x20delete\x20primary\x20field.','_normalizeCellValue','object','setHours','_cellInvalidations','_recordPermissions','CreatedBy','_materializeFormulaTableNames','base.command.create-base-record','Phone','base.command.set-base-view-field-visible','snapshot','Comment','_projectedRowsCache','BEFORE','medium','_projectedGroupsCache','working','lessThanOrEqual','BaseJson1.normalizeTables','filter','[RecordLink]:\x20field\x20config\x20is\x20invalid.','executeCommand','_rememberTable','resolvedOptions','sum','base.command.update-base-field','locale','bases.fieldConfig.linkPlaceholder','\x22\x20does\x20not\x20exist.','invalidGanttEndField','deepClone','[BaseCommandService]:\x20cannot\x20edit\x20field.','createdBy','regenerateViewIds','hostAnchorId','_formulaSyncQueue','exec','setFieldPermission','recordPatch','setSnapshot','target','canCreateRecord','tableName','getTypePlugin','Calendar\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','Unsupported\x20Base\x20permission\x20action:\x20','base.command.update-base-view-conditional-color-rules','collaborators','BaseField','[BaseCompression]:\x20invalid\x20uncompressed\x20range\x20values\x20payload.','splice','query','filled','_createRecordOrderOp','_createNumberingAllocator','_baseSyncDisposables','getUTCDay','_setFormulaFieldCells','options','toLocaleString','328820CNWApW','fieldIndex','invalidateByCell','_assertFieldDefinition','views','deleteRecord','_syncSuperTables','children','base.viewType.gallery','disposeWithMe','_resolveGanttDateFieldId','getAllPermissionPoint','_initCommands','getSuperTableRegistrations','rowIndexById','A\x20table\x20name\x20cannot\x20contain\x20:\x20\x5c\x20/\x20?\x20*\x20[\x20].','pattern','localeCompare','record/','invalid-characters','quarter','_patchCachedProjectedRows','_clearUnit','config','invalidDateField','isNaN','Base\x20edit\x20permission\x20denied.','canDeleteField','day','_setAttachmentResources','_permissionService','_initDataSync','spacePeriod','syncUnit','getCurrentUnitOfType','_normalizeGanttDisplayColor','viewIndexes','dateMode','_formulaCalculationTriggerService','year','order','off','short','min','then','defaultValue','weekdays','exists','find','attachment-','_filterRows','tables','Gallery\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','base.command.set-base-view-field-width','mark','_recordIds','small','_normalizeGanttConfig','_onCommandExecuted','params','count','UpdatedBy','workingDaysOnly','fieldOrder','rows','h24','base.command.create-base-child-record','[RecordLink]:\x20target\x20table\x20does\x20not\x20exist\x20in\x20this\x20Base.','createUpdateCellOp','getCapabilities','_basePermissions','_resolveKanbanCardFieldIds','base.command.update-base-kanban-config','169356PMhheC','createdAt','person','endDateFieldId','base.fieldType.','[BaseCommandService]:\x20cannot\x20create\x20record.','DeleteView','color','Number','thisMonth','recordNamePrefix','Kanban','showTodayLine','[BaseCompression]:\x20unsupported\x20compressed\x20payload\x20kind\x20\x22','editCell','_initDependencies','values','decorate','[BaseFieldRegistryService]:\x20field\x20type\x20\x22','add','thread-comment.mutation.','https:','_canUseFastSort','base.command.set-base-view-sort','attachmentSets','formula','812034gLTItf','useThousands','_resolveCardTitleFieldId','base.command.validate-formula','displayColor','[BaseField]:\x20negative\x20numbers\x20are\x20disabled.','[BaseJson1OpFactory]:\x20cannot\x20move\x20a\x20field\x20before\x20record-id.','ruleId','_commandService','pop','compress','spaceComma','hidden','Remote','[BaseCommandService]:\x20cannot\x20manage\x20view.','groups','index','Base\x20','Parent','_calendarEventColor','label','$1\x20','[BaseHierarchy]:\x20field\x20\x22','createSetRecordValuesOp','pluginName','isNot','base.command.update-base-cell','_groupConfigCacheSegment','view-','after','replace','HH:mm','policy','en-US','missingField','_groupCellInvalidations','_tableRevisions','BaseView','tableOrder','fromEntries','rootRecordIds','round','__all__','decimalPlaces','packageName','unitData','base.mutation.','searchTexts','A\x20table\x20name\x20cannot\x20start\x20or\x20end\x20with\x20an\x20apostrophe.','recordIds','remote','[BaseFormula]:\x20table\x20\x22','UpdatedAt','_withModifiedSystemValues',':end','invalidGanttStartField','join','user','A\x20table\x20with\x20this\x20name\x20already\x20exists.','autoIncrement','maxDepth','fromPlainText','card','_capabilities','allowMultiple','beforeCommandExecuted','search','_hierarchyIndexCache','moveField','getAllUnitsForType','action','__tempBatchingUndoRedo','insertOp','_disposed','[RecordLink]:\x20a\x20single\x20link\x20accepts\x20only\x20one\x20record\x20id.','raw','done','_setViewFieldSetting','base-perf-','Link','base.command.move-base-view','abbreviation','optionSource','MUTATION','Invalid\x20object\x20permission\x20batch.','rules','IS_EMPTY','sort','[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20','records','_activeDirtyManagerService','updateCell','getUnitId','changed','embedId','[BaseCommandService]:\x20cannot\x20edit\x20table.','toPrimitive','error','ascend','MM/DD/YYYY','createBatchCreateRecordsOp','_resolveKanbanCoverFieldId','_getTable','test','afterFieldId','233048ZQfXWv','setViewGroup','_setCachedProjection','indexOf','getUTCDate','Numbering','relationRole','base.mutation.set-permission-rules','cell','createSuperTableReference','oldParentRecordId','base.command.delete-base-view','parentRecordId','BaseHierarchyError','NUMBER','-view-grid','SortedView','Redo','normalize','[BaseCommandService]:\x20invalid\x20cell\x20value.','RecordId','createTable','all','Copy','createCreateRecordOp','sortedView','setBaseName','_instanceService','\x22.\x20Allowed\x20operators:\x20','_createSystemFieldValuePatches','_normalizeCalendarConfig','isFinite','[BaseCommandService]:\x20field\x20\x22','createField','dependencyFieldId','_findKanbanGroupField','_groupProjectionFieldIds','clear','Cycle','General','canEditRecord','beforeFieldId','rowId','long','unknown','_kanbanGroupKeys','YYYY-MM-DD','base.command.set-base-range-values','_matchesGanttColorRule','clearBasePermission','objectId','getTypeOfUnitAdded$','base.command.update-base-field-description','unitId','deleteRecords','createUnit','setViewFieldWidth','_rowTransformCacheSegment','format','getPermissionPoint','[BaseViewRegistryService]:\x20view\x20type\x20\x22','before','limit','start','\x22\x20must\x20be\x20a\x20non-system\x20field\x20in\x20the\x20target\x20table.','_isColorfulKanbanGroupField','_clearObjectEdit','_formulaCalculationSessionService','onCommandExecuted','\x20has\x20unsupported\x20date\x20mode\x20\x22','duplicateField','-record-','\x22\x20must\x20be\x20a\x20same-table,\x20single-value\x20RecordLink.','Date1900','STRING','defineProperty','canDeleteRecord','12kZXsSV','[RecordLink]:\x20display\x20field\x20\x22','Date','registerView','_dataSyncPrimaryController','createRecords','objectType','trigger','set','apply','end','[BasePerf]\x20','createView','base.command.batch-create-base-records','operand','trim','changes','_getViewRevision','updatedAt','undefined','fld-','isValid','field/','_filterSortFieldIds','userID','general','revision','base-range-values-v1','base.resource.service','constructor','has','groupFieldId','FieldId','fieldIds','[BaseCommandService]:\x20cannot\x20insert\x20a\x20field\x20before\x20record-id.','custom','calendar','Gantt\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','Status','option-','MissingParent','End\x20date','get','invalid','flatMap','[BaseField]:\x20invalid\x20checkbox\x20value.','currencySymbol','star','view/','[BaseCommandService]:\x20invalid\x20field\x20definition.','table','globalRevision','fieldSettings','_getKanbanConfiguredLanes','\x22\x20is\x20not\x20registered.','BaseProjection.projectTableRows','_buildKanban','rowIndex','_resolveGalleryCoverFieldId','#BFDBFE','dispose','resources','codePointAt','NumberFormat','manual','MaxDepth','leftPaneCollapsed','\x20can\x20use\x20dateMode\x20only\x20with\x20Date,\x20CreatedAt,\x20or\x20UpdatedAt\x20fields.','startDateFieldId','nodes','getCurrentUser','leftPaneWidth','size','slice','_formulaService','startsWith','childrenByParentId','FORCE_STRING','getSnapshot','selectField','setTablePermission','colIndex','description','initializeUnit','direction','getStructuredDependencies','\x20references\x20missing\x20or\x20non-public\x20field\x20\x22','_findCalendarDateFieldId','setViewFilter','columns','gridViewId','showFieldNames','_bumpTableRevision','BaseTable','base.projection.service','pickerFieldIds','Failed\x20to\x20create\x20update\x20cell\x20operation:','cellRevision','base.command.ensure-base-temporal-view-date-fields','_buildGantt','decimal','parse','call','Person','getFullYear','_materializeGroups','_buildGrid','colorFieldId','tryMaterializeSnapshot','_resolveKanbanGroupFieldId','base.command.create-base-field','getUnit','registerCtorForType','setViewFieldOrder','updateField','_projectRows','_cellRevisions','INIT','usableAsCalendarDate','finally','coverFieldId','#,##0','displayText','past7','_buildCalendar','ena','contains','[BaseCommandService]:\x20cannot\x20delete\x20a\x20RecordLink\x20target\x20table\x20(','_getJson1DirtyData','[BaseHierarchy]:\x20','[BaseFormula]:\x20validation\x20parameters\x20are\x20required.','invalidReasonByRecordId','RecordLink','_factory','Calendar','allowDangling','renameView','[BaseFormula]:\x20table\x20does\x20not\x20exist.','__UNIVER_BASE_PERF__','_getCellRevision','Progress','progressFieldId','Start\x20date','reason','_resolveBaseId','[BaseProjectionService]:\x20missing\x20view\x20\x22','BaseRecord','_createNumberingFieldValuePatches','_isAllowedKanbanGroupField','[BaseCommandService]:\x20cannot\x20delete\x20field.','base-perf','getUTCMonth','[BaseFormula]:\x20A1\x20references\x20and\x20ranges\x20are\x20not\x20supported\x20in\x20Base\x20formulas.','next7','Choose\x20another\x20name.','field','data','orderedRecordIds','https://','Gallery','#FDE68A','GREATER_THAN','getCurrentUserId','[BaseField]:\x20invalid\x20person\x20value.','bases.config','delete-view','average','syncExecuteCommand','[UpdateBaseViewConditionalColorRulesCommand]:\x20duplicate\x20rule\x20id\x20\x22','applyOp','selfParent','Name','toString','_registeredSuperTableNames','info','clearTablePermission','true','getDay','row','Working\x20day','greaterThan','from','name','canDeleteTable','_views','[BaseField]:\x20invalid\x20date\x20value.','_canEditTable','protocol','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','stringify','registerSyncingMutations','BOOLEAN','SingleSelect','Checked','every','edit','Add','[BaseCommandService]:\x20cannot\x20edit\x20record.','fromChangeset','_syncBaseUnit','subscribe','operator','getMonth','map','base.viewType.gantt','setRangeValues','Use\x2031\x20characters\x20or\x20fewer.','_isGanttDateField','validateFormula','large','save','addPermissionPoint','_isAllDayCalendarEvent','createDefaultValue','afterViewId','usableAsGanttStart','cardLayout','symbol','base.command.delete-base-field','month','empty','parentFieldName','__base_hierarchy_parent__','_T_','_projectHierarchyGroups','attachment','kanban','mode','write','_initialize','redo','repairViewConfig','validate','updateRecordOrder','doing','#3b82f6','_configService','DD/MM/YYYY','conjunction','createRecord','Doing','Set','_viewPermissions','column','tableRevision','pushUndoRedo','keys','_createNumberingAllocators','title','_viewRevisionKey','[BaseField]:\x20invalid\x20multi-value\x20reference.','unshift','invalidateByField','[BaseCommandService]:\x20cannot\x20move\x20a\x20field\x20before\x20record-id.','IBaseCellData.ensureTableCellLayout','_getHierarchyIndex','renameTable','scale','col','SelfParent','_getCachedProjection','cellData','9WlmfpC','patches','base.command.update-base-view-config','setRecordValues','_projectGroups','BASE_OBJECT_PERMISSION_PLUGIN','Text','forEach','16240VAvtTc','key','findIndex','base.command.set-permissions','timeZone','#14b8a6','_registerUnitPermissionPoints','setViewFieldVisible','usableAsGanttEnd','owner','childType','base.viewType.grid','[BaseCommandService]:\x20cannot\x20edit\x20cell.','group','bases-exchange-client.operation.export-base-by-format','_initRegistries','prototype','CreatedAt','invertOp','[BaseCommandService]:\x20invalid\x20RecordLink\x20value.','moveView','width','Yes','resolve','1393mwGjDF','setRecordPermission','_kanbanLaneColor','COLUMN','95BGxynL','REMOTE_BASES_PLUGIN','3777170MxIUVD','setViewSort','markResultApplied','_projectTableRows','week','_resolveGalleryCardFieldIds','UNIVER_BASE','base.command.set-base-view-field-order','level','value','too-long','valid','source','createViewId','workingDays','Checkbox','base.command.set-base-view-filter','lessThan','columnSettings','getInstance','336KjuOuI','create-view','_deleteAttachmentResources','push','date','_tablePermissions','percent','http:','boolean','fieldId','descend','number','orderKey','invalidField','_setObjectEdit','conditional','members','baseRows','_cacheKey','commaPeriod','Attachment','updateViewConfig','_resolveCalendarDateFieldId','_fieldRegistry','_isKanbanGroupField','createRegExpFromSafeFragment','_getTableRevision','base.command.batch-delete-base-records','parentByRecordId','includeTime','kind','canManageView','_removeSuperTables','register','isInteger','setBasePermission','missingRecord','BaseCommand.createBatchCreateRecordsOp','path','viewOrder','record','reduce','Clear','\x20must\x20have\x20a\x20valid\x20CSS\x20color.','\x20must\x20be\x20an\x20object.','formulaName','_createRecordWithDefaults','compose','usableAsCardCover','Group','replaceOp','base.view-registry.service','thread-comment.command.','normal','[UpdateBaseViewConditionalColorRulesCommand]:\x20rules\x20must\x20be\x20an\x20array.','\x20has\x20unsupported\x20target\x20\x22','YYYY/MM/DD','Rating','getTime','function','attachments','lastWeek','clearViewPermission','renameFormulaUnitReferences','Grid','base.command.change-base-field-type','gantt','href','True','\x22\x20is\x20referenced\x20by\x20','_cellInvalidationsTouchFields','clearRecordPermission','BaseProjection.projectGroups',',,\x22M\x22','conditionalColoring','Empty','toLowerCase','112792BkKsln','setRule','_runtimeContext','Export','base.command.duplicate-base-field','canEditField','past30','_sortRows','BaseProjection.getProjection','_isAllDayGanttDateRange','isArray','Base','compare','conditions','local','subtreeEndIndex','base.command.create-base-view','timeslotSize','depth','bases.fieldConfig.textPlaceholder','includes','createCreateFieldOp','today','forValue','string','BaseProjection.materializeTableRows','targetTableId','_buildGallery','canCreateField','exact','[BaseField]:\x20invalid\x20email\x20value.','multiple','_isCalendarDateField','depthByRecordId','focusUnit','_deleteRecordsBaseOp','_isNonEmptyCellValue','measure','MMM\x20D,\x20YYYY','univer.basePerf','setViewPermission','registerCommand','none','_title','editable','_fastSortRows','h:mm\x20a','deleteView','primaryFieldName','[RecordLink]:\x20value\x20must\x20be\x20a\x20canonical\x20string.','_scheduledSuperTableSyncs','code','IS_NOT_EMPTY','setConfig','COMMAND','at\x20index\x20','canEditTable','delete','unsubscribe','unique','base.command.move-base-hierarchy-record','facade','thisWeek','_patchProjectedRowsForCellInvalidations','removeOp','_kanbanLaneTitle','recordId','BaseProjection.projectRows',':start','undo','createDeleteRecordsUndoOp','score','recordOrder','_tableBaseIds','getDependencies','getAll','createBase','base.command.set-base-record-values','unitWidth','\x20has\x20unsupported\x20operator\x20\x22','displayFieldId','_applyingFormulaResults','entries','Formula','basePerf','_projectFields','_config','AFTER','BaseJson1.cloneForOp','Table','fieldName','BaseDashboard','result','_viewRevisions','getAllBases','status','now','blue','[BaseCommandService]:\x20cannot\x20create\x20table.','_univerInstanceService','canCreateTable','titleFieldId','projection','_plugins','isEmpty','updatedBy','separatorStyle','some','formatToParts','invalidateByView','registerRuleModel','base.field-registry.service','[BaseField]:\x20invalid\x20progress\x20value.','system','hierarchy','duplicateRecord','[DeleteBaseTableCommand]:\x20table\x20\x22','_getAllBaseDependencyTreeCacheMap','lastIndexOf','base.mutation.set-permission-rule','Table\x20name\x20is\x20required.','[BaseCommandService]:\x20cannot\x20delete\x20table.','hasOwnProperty','descendPath','deleteTable','table/','_ganttBarColor','_toDirtyRangePatch','_executeSuperTableMutationWhileActive','thumbnail','viewId','next30','changeFieldType','1.0.3','_fieldPermissions','tomorrow','fields','beforeViewId','base.command.delete-base-table','canEditCell','#BBF7D0'];_0x332d=function(){return _0x4353a0;};return _0x332d();}function Gr(_0xc80ccb,_0x5561cf){return _0xc80ccb+'\x1f'+_0x5561cf;}const Kr=_0x2cfc4b(_0x282c57(0x49f));let qr=class{constructor(_0xce08e0,_0x1be216=Jr(),_0x5947d5={}){const _0x3e9337=_0x282c57;this['_permissionService']=_0xce08e0,this['_fieldRegistry']=_0x1be216,this[_0x3e9337(0x3cd)]=_0x5947d5,G(this,'_factory',new W()),G(this,'_applier',new z());}[_0x282c57(0x206)](_0x37527e,_0x2360ed,_0x5b62d9){const _0x17f544=_0x282c57;if(!this[_0x17f544(0x513)][_0x17f544(0x42f)](_0x37527e[_0x17f544(0x1e4)]()))throw Error(_0x17f544(0x42d));_0x306a77(_0x2360ed),this[_0x17f544(0x4a0)](_0x37527e,this[_0x17f544(0x2c3)]['createTable'](_0x37527e[_0x17f544(0x28c)](),_0x2360ed,_0x5b62d9));}[_0x282c57(0x33e)](_0x45ed39,_0x1b978a,_0x3476c2){const _0x32c5c7=_0x282c57;if(!this[_0x32c5c7(0x513)][_0x32c5c7(0x403)](_0x1b978a))throw Error(_0x32c5c7(0x1e7));this[_0x32c5c7(0x4a0)](_0x45ed39,this[_0x32c5c7(0x2c3)]['renameTable'](_0x45ed39[_0x32c5c7(0x28c)](),_0x1b978a,_0x3476c2));}[_0x282c57(0x447)](_0x3f5e55,_0x2b87c8){const _0x1ca32e=_0x282c57;if(!this[_0x1ca32e(0x513)]['canDeleteTable'](_0x2b87c8))throw Error(_0x1ca32e(0x444));let _0x5dcd65=He(_0x3f5e55[_0x1ca32e(0x28c)](),_0x2b87c8);if(_0x5dcd65[_0x1ca32e(0x4ab)]>0x0)throw Error(_0x1ca32e(0x2bd)+_0x5dcd65[_0x1ca32e(0x309)](_0x1f5864=>_0x1f5864['tableId']+'.'+_0x1f5864[_0x1ca32e(0x387)])[_0x1ca32e(0x1c0)](',\x20')+').');this[_0x1ca32e(0x4a0)](_0x3f5e55,this['_factory']['deleteTable'](_0x3f5e55[_0x1ca32e(0x28c)](),_0x2b87c8));}['updateCell'](_0x88c2a5,_0x5a8041,_0x315ca2,_0x24d8ec,_0x43ff37){const _0x48352e=_0x282c57;this[_0x48352e(0x4a0)](_0x88c2a5,this[_0x48352e(0x539)](_0x88c2a5,_0x5a8041,_0x315ca2,_0x24d8ec,_0x43ff37));}[_0x282c57(0x347)](_0xdd50d9,_0x1e72c1,_0x3a2437){const _0xdf4e63=_0x282c57;this[_0xdf4e63(0x4a0)](_0xdd50d9,this[_0xdf4e63(0x19f)](_0xdd50d9,_0x1e72c1,_0x3a2437));}[_0x282c57(0x32d)](_0x586c5b,_0x20fea4,_0x485ee6){const _0x23d175=_0x282c57;this[_0x23d175(0x4a0)](_0x586c5b,this[_0x23d175(0x209)](_0x586c5b,_0x20fea4,_0x485ee6));}[_0x282c57(0x539)](_0x510ff7,_0x4d02e3,_0x1314cf,_0x458295,_0x2f1adc){const _0xeeca9=_0x282c57;let _0x23392e=_0x510ff7[_0xeeca9(0x28c)](),_0x56436d=this['_normalizeCellValue'](_0x23392e,_0x4d02e3,_0x1314cf,_0x458295,_0x2f1adc),_0x37ca78=this[_0xeeca9(0x1bd)](_0x23392e,_0x4d02e3,_0x1314cf,{[_0x458295]:_0x56436d});return this[_0xeeca9(0x2c3)][_0xeeca9(0x347)](_0x23392e,_0x4d02e3,[_0x37ca78]);}[_0x282c57(0x19f)](_0x5413e2,_0x5c2472,_0x45aae4){const _0x273094=_0x282c57;let _0x26e7f1=_0x5413e2[_0x273094(0x28c)](),_0x834f27=_0x45aae4[_0x273094(0x309)](_0x573d68=>this['_withModifiedSystemValues'](_0x26e7f1,_0x5c2472,_0x573d68[_0x273094(0x40d)],{...Object[_0x273094(0x1af)](Object[_0x273094(0x41d)](_0x573d68[_0x273094(0x54e)])[_0x273094(0x309)](([_0x220d9d,_0x24efa0])=>[_0x220d9d,this[_0x273094(0x4b9)](_0x26e7f1,_0x5c2472,_0x573d68[_0x273094(0x40d)],_0x220d9d,_0x24efa0)]))}));return this[_0x273094(0x2c3)]['setRecordValues'](_0x26e7f1,_0x5c2472,_0x834f27);}[_0x282c57(0x209)](_0x3a7b03,_0x52aa96,_0x234eb4){const _0x28db37=_0x282c57;if(!this[_0x28db37(0x513)][_0x28db37(0x4e2)](_0x52aa96))throw Error('[BaseCommandService]:\x20cannot\x20create\x20record.');let _0x376e3b=_0x3a7b03[_0x28db37(0x28c)](),_0x17ef12=this[_0x28db37(0x335)](_0x376e3b['tables'][_0x52aa96]);return this['_factory']['createRecord'](_0x376e3b,_0x52aa96,this[_0x28db37(0x3ac)](_0x376e3b,_0x52aa96,_0x234eb4,_0x17ef12));}[_0x282c57(0x1ec)](_0x2f28ad,_0x5b706f,_0x3917cc){const _0x36130b=_0x282c57;if(!this[_0x36130b(0x513)][_0x36130b(0x4e2)](_0x5b706f))throw Error(_0x36130b(0x543));let _0x369cfd=_0x2f28ad[_0x36130b(0x28c)]();return I(_0x36130b(0x3a3),()=>{const _0x29e0cc=_0x36130b;let _0x3d2ed7=this[_0x29e0cc(0x335)](_0x369cfd['tables'][_0x5b706f]);return this[_0x29e0cc(0x2c3)][_0x29e0cc(0x243)](_0x369cfd,_0x5b706f,_0x3917cc['map'](_0x7181bd=>this[_0x29e0cc(0x3ac)](_0x369cfd,_0x5b706f,_0x7181bd,_0x3d2ed7)));},{'existingRecords':Object[_0x36130b(0x334)](_0x369cfd['tables'][_0x5b706f][_0x36130b(0x1e1)])[_0x36130b(0x4ab)],'records':_0x3917cc['length']});}[_0x282c57(0x3e0)](_0x52f9fc,_0x6a1a68,_0x497f1b,_0x32b48e,_0x103ee2){const _0x505359=_0x282c57;if(!this[_0x505359(0x513)][_0x505359(0x3e7)](_0x6a1a68))throw Error('[BaseCommandService]:\x20cannot\x20create\x20field.');let _0x31f378=_0x52f9fc[_0x505359(0x28c)]();if(this[_0x505359(0x4f8)](_0x31f378,_0x497f1b),_0x32b48e===0x0)throw Error(_0x505359(0x260));let _0x4443e2=this['_factory'][_0x505359(0x212)](_0x31f378,_0x6a1a68,{'field':_0x497f1b,'index':_0x32b48e,'viewIndexes':_0x103ee2}),_0x20ec20=this[_0x505359(0x20e)](_0x31f378,_0x6a1a68,_0x497f1b);if(!_0x20ec20['length'])return _0x4443e2;let _0x103daa=this[_0x505359(0x458)]['applyOp'](_0x31f378,_0x4443e2);return R([_0x4443e2,this[_0x505359(0x2c3)][_0x505359(0x347)](_0x103daa,_0x6a1a68,_0x20ec20)]);}[_0x282c57(0x4fa)](_0x494dad,_0x2acc0d,_0x55c45f){const _0x5e9c59=_0x282c57;if(!this['_permissionService'][_0x5e9c59(0x23d)](_0x2acc0d,_0x55c45f))throw Error(_0x5e9c59(0x464));this[_0x5e9c59(0x4a0)](_0x494dad,this[_0x5e9c59(0x2c3)][_0x5e9c59(0x4fa)](_0x494dad['getSnapshot'](),_0x2acc0d,_0x55c45f));}['duplicateRecord'](_0x2c45a2,_0x124455,_0xc28c80,_0x2a23b2){const _0x4e0c5a=_0x282c57;if(!this[_0x4e0c5a(0x513)][_0x4e0c5a(0x4e2)](_0x124455))throw Error(_0x4e0c5a(0x543));this[_0x4e0c5a(0x4a0)](_0x2c45a2,this['_factory'][_0x4e0c5a(0x43e)](_0x2c45a2['getSnapshot'](),_0x124455,_0xc28c80,{..._0x2a23b2,'values':{..._0x2a23b2[_0x4e0c5a(0x54e)],[_0x1a2ecc]:_0x2a23b2['id']}}));}['updateRecordOrder'](_0x392921,_0x3c2cfb,_0x3b5f38,_0x30a763){const _0x1a4ce9=_0x282c57;if(!this[_0x1a4ce9(0x513)][_0x1a4ce9(0x219)](_0x3c2cfb,_0x3b5f38))throw Error(_0x1a4ce9(0x303));this[_0x1a4ce9(0x4a0)](_0x392921,this[_0x1a4ce9(0x2c3)]['updateRecordOrder'](_0x392921[_0x1a4ce9(0x28c)](),_0x3c2cfb,_0x3b5f38,_0x30a763));}['createField'](_0x315a52,_0x50e739,_0x26f112,_0x1d199c,_0x48fc5a){const _0x45e2ca=_0x282c57;this[_0x45e2ca(0x4a0)](_0x315a52,this[_0x45e2ca(0x3e0)](_0x315a52,_0x50e739,_0x26f112,_0x1d199c,_0x48fc5a));}[_0x282c57(0x2b0)](_0x29517c,_0x22beaa,_0x165701,_0x28b24e){const _0x2dd99e=_0x282c57;var _0x128671;if(!this[_0x2dd99e(0x513)][_0x2dd99e(0x3d0)](_0x22beaa,_0x165701))throw Error(_0x2dd99e(0x4d8));let _0x267355=_0x29517c[_0x2dd99e(0x28c)](),_0x4beb71=(_0x128671=_0x267355[_0x2dd99e(0x528)][_0x22beaa])==null?void 0x0:_0x128671[_0x2dd99e(0x453)][_0x165701];if(!_0x4beb71||_0x165701===_0x1a2ecc)throw Error('[BaseCommandService]:\x20cannot\x20edit\x20record-id.');this[_0x2dd99e(0x4f8)](_0x267355,{..._0x4beb71,..._0x28b24e}),this[_0x2dd99e(0x4a0)](_0x29517c,this[_0x2dd99e(0x2c3)][_0x2dd99e(0x2b0)](_0x267355,_0x22beaa,_0x165701,_0x28b24e));}[_0x282c57(0x44f)](_0x5f4959,_0x3f72fa,_0x14479b,_0x7f246d){const _0x288051=_0x282c57;var _0x2d3364;if(!this[_0x288051(0x513)][_0x288051(0x3d0)](_0x3f72fa,_0x14479b))throw Error(_0x288051(0x4d8));let _0x11d88d=_0x5f4959[_0x288051(0x28c)](),_0x1bbd50=(_0x2d3364=_0x11d88d[_0x288051(0x528)][_0x3f72fa])==null?void 0x0:_0x2d3364[_0x288051(0x453)][_0x14479b];if(!_0x1bbd50||_0x14479b===_0x1a2ecc)throw Error(_0x288051(0x461));this[_0x288051(0x4f8)](_0x11d88d,{..._0x1bbd50,..._0x7f246d}),this['_apply'](_0x5f4959,this[_0x288051(0x2c3)][_0x288051(0x44f)](_0x11d88d,_0x3f72fa,_0x14479b,_0x7f246d));}[_0x282c57(0x47b)](_0x42f4f7,_0x355eca,_0x4b1123){const _0x5ec6f7=_0x282c57;var _0x282d7c;if(((_0x282d7c=_0x42f4f7[_0x5ec6f7(0x28c)]()[_0x5ec6f7(0x528)][_0x355eca])==null?void 0x0:_0x282d7c['primaryFieldId'])===_0x4b1123||_0x4b1123===_0x1a2ecc)throw Error(_0x5ec6f7(0x4b8));if(!this[_0x5ec6f7(0x513)]['canDeleteField'](_0x355eca,_0x4b1123))throw Error(_0x5ec6f7(0x2d3));this[_0x5ec6f7(0x4a0)](_0x42f4f7,this[_0x5ec6f7(0x2c3)][_0x5ec6f7(0x47b)](_0x42f4f7[_0x5ec6f7(0x28c)](),_0x355eca,_0x4b1123));}[_0x282c57(0x1cc)](_0x3eeada,_0x5ba279,_0x600a2e,_0x1539da){const _0x7f82fb=_0x282c57;if(!this[_0x7f82fb(0x513)][_0x7f82fb(0x3d0)](_0x5ba279,_0x600a2e))throw Error('[BaseCommandService]:\x20cannot\x20edit\x20field.');if(_0x600a2e===_0x1a2ecc||_0x1539da['beforeFieldId']===_0x1a2ecc)throw Error(_0x7f82fb(0x33b));this[_0x7f82fb(0x4a0)](_0x3eeada,this[_0x7f82fb(0x2c3)][_0x7f82fb(0x1cc)](_0x3eeada[_0x7f82fb(0x28c)](),_0x5ba279,_0x600a2e,_0x1539da));}[_0x282c57(0x24a)](_0x3ad2b1,_0x5bfba3,_0x41be92,_0x436ad3){const _0x169670=_0x282c57;if(!this[_0x169670(0x513)]['canManageView'](_0x5bfba3,_0x41be92['id']))throw Error(_0x169670(0x196));this[_0x169670(0x4a0)](_0x3ad2b1,this['_factory'][_0x169670(0x24a)](_0x3ad2b1[_0x169670(0x28c)](),_0x5bfba3,_0x41be92,_0x436ad3));}[_0x282c57(0x2c6)](_0xdb4fb2,_0x4f9b52,_0xa8d336,_0x3fe6bf){const _0x5096ec=_0x282c57;if(!this['_permissionService'][_0x5096ec(0x39d)](_0x4f9b52,_0xa8d336))throw Error('[BaseCommandService]:\x20cannot\x20manage\x20view.');this[_0x5096ec(0x4a0)](_0xdb4fb2,this['_factory'][_0x5096ec(0x2c6)](_0xdb4fb2['getSnapshot'](),_0x4f9b52,_0xa8d336,_0x3fe6bf));}[_0x282c57(0x3fa)](_0x253087,_0x29a873,_0x4e5515){const _0x564011=_0x282c57;if(!this[_0x564011(0x513)]['canManageView'](_0x29a873,_0x4e5515))throw Error('[BaseCommandService]:\x20cannot\x20manage\x20view.');this[_0x564011(0x4a0)](_0x253087,this[_0x564011(0x2c3)][_0x564011(0x3fa)](_0x253087[_0x564011(0x28c)](),_0x29a873,_0x4e5515));}[_0x282c57(0x360)](_0x37e853,_0xef3fd3,_0x413186,_0x1f6475){const _0x220b49=_0x282c57;if(!this['_permissionService'][_0x220b49(0x39d)](_0xef3fd3,_0x413186))throw Error('[BaseCommandService]:\x20cannot\x20manage\x20view.');this['_apply'](_0x37e853,this[_0x220b49(0x2c3)][_0x220b49(0x360)](_0x37e853['getSnapshot'](),_0xef3fd3,_0x413186,_0x1f6475));}[_0x282c57(0x393)](_0x3aa537,_0x525317,_0xc90519,_0x5917bb){const _0x1599ba=_0x282c57;if(!this[_0x1599ba(0x513)][_0x1599ba(0x39d)](_0x525317,_0xc90519))throw Error(_0x1599ba(0x196));this[_0x1599ba(0x4a0)](_0x3aa537,this[_0x1599ba(0x2c3)][_0x1599ba(0x393)](_0x3aa537[_0x1599ba(0x28c)](),_0x525317,_0xc90519,_0x5917bb));}[_0x282c57(0x296)](_0xc2195,_0x943bb,_0x2d25eb,_0x37d672){const _0x3ff4da=_0x282c57;if(!this['_permissionService']['canManageView'](_0x943bb,_0x2d25eb))throw Error(_0x3ff4da(0x196));this[_0x3ff4da(0x4a0)](_0xc2195,this[_0x3ff4da(0x2c3)][_0x3ff4da(0x296)](_0xc2195[_0x3ff4da(0x28c)](),_0x943bb,_0x2d25eb,_0x37d672));}[_0x282c57(0x36b)](_0x2224fd,_0x29a9e7,_0x22b10c,_0x3598a9){const _0xb41ec=_0x282c57;if(!this['_permissionService'][_0xb41ec(0x39d)](_0x29a9e7,_0x22b10c))throw Error(_0xb41ec(0x196));this[_0xb41ec(0x4a0)](_0x2224fd,this['_factory']['setViewSort'](_0x2224fd[_0xb41ec(0x28c)](),_0x29a9e7,_0x22b10c,_0x3598a9));}['setViewGroup'](_0x26a462,_0x1f916a,_0x10ac01,_0x3a56b2){const _0x77538c=_0x282c57;if(!this['_permissionService'][_0x77538c(0x39d)](_0x1f916a,_0x10ac01))throw Error(_0x77538c(0x196));this[_0x77538c(0x4a0)](_0x26a462,this['_factory'][_0x77538c(0x1f2)](_0x26a462[_0x77538c(0x28c)](),_0x1f916a,_0x10ac01,_0x3a56b2));}[_0x282c57(0x353)](_0x2183eb,_0x53227b,_0x3b9091,_0x248d5c,_0x5b6346){const _0x36ec24=_0x282c57;if(!this[_0x36ec24(0x513)][_0x36ec24(0x39d)](_0x53227b,_0x3b9091))throw Error(_0x36ec24(0x196));this[_0x36ec24(0x4a0)](_0x2183eb,this['_factory']['setViewFieldVisible'](_0x2183eb['getSnapshot'](),_0x53227b,_0x3b9091,_0x248d5c,_0x5b6346));}['setViewFieldWidth'](_0xa1a263,_0x4e9e05,_0x16b0e,_0x3bfb13,_0x77c1cd){const _0x415f26=_0x282c57;if(!this['_permissionService'][_0x415f26(0x39d)](_0x4e9e05,_0x16b0e))throw Error(_0x415f26(0x196));this[_0x415f26(0x4a0)](_0xa1a263,this['_factory'][_0x415f26(0x229)](_0xa1a263['getSnapshot'](),_0x4e9e05,_0x16b0e,_0x3bfb13,_0x77c1cd));}[_0x282c57(0x2af)](_0x207f92,_0x2153ed,_0xcf1a51,_0x900ed7,_0x45d480){const _0x4e3b07=_0x282c57;if(!this[_0x4e3b07(0x513)][_0x4e3b07(0x39d)](_0x2153ed,_0xcf1a51))throw Error(_0x4e3b07(0x196));this[_0x4e3b07(0x4a0)](_0x207f92,this[_0x4e3b07(0x2c3)][_0x4e3b07(0x2af)](_0x207f92[_0x4e3b07(0x28c)](),_0x2153ed,_0xcf1a51,_0x900ed7,_0x45d480));}[_0x282c57(0x4a0)](_0x4701aa,_0xd91409){const _0x14b3ef=_0x282c57;let _0x2d2722=_0x4701aa[_0x14b3ef(0x28c)]();_0x4701aa[_0x14b3ef(0x4e0)](this[_0x14b3ef(0x458)][_0x14b3ef(0x2e7)](_0x2d2722,_0xd91409));}[_0x282c57(0x3ac)](_0x27138b,_0x367038,_0x39df29,_0x5503ce=this[_0x282c57(0x335)](_0x27138b[_0x282c57(0x528)][_0x367038])){const _0x403b5b=_0x282c57;let _0x2e5361=_0x27138b['tables'][_0x367038],_0x2c66f6=_0x39df29['createdBy']??_0x39df29[_0x403b5b(0x434)]??this[_0x403b5b(0x495)](),_0x380fb6={..._0x39df29,'createdBy':_0x39df29[_0x403b5b(0x4d9)]??_0x2c66f6,'updatedBy':_0x39df29[_0x403b5b(0x434)]??_0x2c66f6,'values':{..._0x39df29['values']}};return _0x380fb6['values'][_0x1a2ecc]=_0x380fb6['id'],_0x2e5361[_0x403b5b(0x534)][_0x403b5b(0x34b)](_0x5991d7=>{const _0x32b3b8=_0x403b5b;let _0x436f92=_0x2e5361[_0x32b3b8(0x453)][_0x5991d7];if(_0x436f92&&_0x380fb6[_0x32b3b8(0x54e)][_0x5991d7]===void 0x0)switch(_0x436f92[_0x32b3b8(0x4aa)]){case _0x239099[_0x32b3b8(0x1f6)]:var _0x5c91e3;_0x380fb6[_0x32b3b8(0x54e)][_0x5991d7]=((_0x5c91e3=_0x5503ce[_0x32b3b8(0x268)](_0x5991d7))==null?void 0x0:_0x5c91e3())??this['_createNumberingAllocator'](_0x2e5361,_0x5991d7)();break;case _0x239099['CreatedBy']:_0x380fb6[_0x32b3b8(0x4d9)]&&(_0x380fb6[_0x32b3b8(0x54e)][_0x5991d7]=_0x380fb6[_0x32b3b8(0x4d9)]);break;case _0x239099['UpdatedBy']:_0x380fb6[_0x32b3b8(0x434)]&&(_0x380fb6[_0x32b3b8(0x54e)][_0x5991d7]=_0x380fb6[_0x32b3b8(0x434)]);break;case _0x239099[_0x32b3b8(0x35d)]:_0x380fb6[_0x32b3b8(0x54e)][_0x5991d7]=B(_0x380fb6[_0x32b3b8(0x53f)]);break;case _0x239099[_0x32b3b8(0x1bc)]:_0x380fb6[_0x32b3b8(0x54e)][_0x5991d7]=B(_0x380fb6[_0x32b3b8(0x250)]);break;default:{let _0x5bf1db=_0x436f92[_0x32b3b8(0x522)];_0x5bf1db!=null&&_0x5bf1db!==''&&!(Array[_0x32b3b8(0x3d5)](_0x5bf1db)&&_0x5bf1db[_0x32b3b8(0x4ab)]===0x0)&&(_0x380fb6[_0x32b3b8(0x54e)][_0x5991d7]=_0x5bf1db);}}}),_0x380fb6;}[_0x282c57(0x1bd)](_0x5c571c,_0x561e78,_0x321d2e,_0x325d06){const _0x3d89dd=_0x282c57;var _0x143430,_0x2c8fc4;let _0x412776=_0x5c571c['tables'][_0x561e78],_0x22db23=((_0x143430=(_0x2c8fc4=this[_0x3d89dd(0x3cd)])[_0x3d89dd(0x42b)])==null?void 0x0:_0x143430[_0x3d89dd(0x2a4)](_0x2c8fc4))??Date[_0x3d89dd(0x42b)](),_0x23bbc7=this[_0x3d89dd(0x495)](),_0x2a74d4={..._0x325d06};return _0x412776[_0x3d89dd(0x534)][_0x3d89dd(0x34b)](_0x4f75e6=>{const _0x235717=_0x3d89dd;let _0x485a29=_0x412776[_0x235717(0x453)][_0x4f75e6];_0x485a29&&(_0x485a29[_0x235717(0x4aa)]===_0x239099[_0x235717(0x1bc)]&&(_0x2a74d4[_0x4f75e6]=B(_0x22db23)),_0x485a29[_0x235717(0x4aa)]===_0x239099[_0x235717(0x532)]&&_0x23bbc7&&(_0x2a74d4[_0x4f75e6]=_0x23bbc7));}),{'recordId':_0x321d2e,'values':_0x2a74d4,'recordPatch':{'updatedAt':_0x22db23,..._0x23bbc7?{'updatedBy':_0x23bbc7}:{}}};}[_0x282c57(0x20e)](_0x49507e,_0x1fedc0,_0x20a347){const _0x3034aa=_0x282c57;let _0x3b7a62=_0x49507e['tables'][_0x1fedc0];return!_0x3b7a62||!Yr(_0x20a347)?[]:_0x20a347[_0x3034aa(0x4aa)]===_0x239099['Numbering']?this[_0x3034aa(0x2d1)](_0x3b7a62,_0x20a347['id']):Object['values'](_0x3b7a62[_0x3034aa(0x1e1)])['flatMap'](_0x53843d=>{const _0x55e77b=_0x3034aa;let _0x5395fc=this[_0x55e77b(0x4b4)](_0x20a347,_0x53843d);return _0x5395fc===void 0x0?[]:[{'recordId':_0x53843d['id'],'values':{[_0x20a347['id']]:_0x5395fc}}];});}['_getSystemFieldValue'](_0x3b90f8,_0x2e2eab){const _0x3b16cf=_0x282c57;switch(_0x3b90f8['type']){case _0x239099['CreatedBy']:return _0x2e2eab[_0x3b16cf(0x4d9)]??this[_0x3b16cf(0x495)]();case _0x239099['UpdatedBy']:return _0x2e2eab[_0x3b16cf(0x434)]??this[_0x3b16cf(0x495)]();case _0x239099[_0x3b16cf(0x35d)]:return B(_0x2e2eab[_0x3b16cf(0x53f)]??Date['now']());case _0x239099[_0x3b16cf(0x1bc)]:return B(_0x2e2eab[_0x3b16cf(0x250)]??Date[_0x3b16cf(0x42b)]());default:return;}}[_0x282c57(0x335)](_0x50f2de){const _0x475816=_0x282c57;let _0x3901a2=new Map();return _0x50f2de&&_0x50f2de[_0x475816(0x534)][_0x475816(0x34b)](_0x11679d=>{const _0x35c07c=_0x475816;let _0x168512=_0x50f2de[_0x35c07c(0x453)][_0x11679d];(_0x168512==null?void 0x0:_0x168512[_0x35c07c(0x4aa)])===_0x239099[_0x35c07c(0x1f6)]&&_0x3901a2['set'](_0x11679d,this[_0x35c07c(0x4ef)](_0x50f2de,_0x11679d));}),_0x3901a2;}[_0x282c57(0x4ef)](_0x32121c,_0x3f488d){const _0x3a9dd0=_0x282c57;let _0x59a1d6=Object[_0x3a9dd0(0x54e)](_0x32121c['records'])[_0x3a9dd0(0x3a7)]((_0x24b01e,_0x4b0a60)=>{const _0x210469=_0x3a9dd0;let _0x21c981=Number(_0x4b0a60[_0x210469(0x54e)][_0x3f488d]);return Number[_0x210469(0x210)](_0x21c981)?Math['max'](_0x24b01e,_0x21c981):_0x24b01e;},0x0);return()=>String(++_0x59a1d6);}[_0x282c57(0x2d1)](_0x544e1b,_0x431cbb){const _0x285662=_0x282c57;let _0x295f03=this[_0x285662(0x48d)](_0x544e1b),_0x2c4e5c=this['_createNumberingAllocator'](_0x544e1b,_0x431cbb);return _0x295f03['flatMap'](_0x5a9965=>this[_0x285662(0x3ef)](_0x5a9965[_0x285662(0x54e)][_0x431cbb])?[]:[{'recordId':_0x5a9965['id'],'values':{[_0x431cbb]:_0x2c4e5c()}}]);}[_0x282c57(0x48d)](_0x2d5cf4){const _0x58667b=_0x282c57;var _0x37da83;let _0x182a84=Object['values'](_0x2d5cf4['records']),_0x331efe=new Map(_0x182a84['map'](_0x371408=>[_0x371408['id'],_0x371408])),_0x59858d=[],_0x25d906=new Set();(_0x37da83=_0x2d5cf4[_0x58667b(0x413)])==null||_0x37da83[_0x58667b(0x34b)](_0x386a77=>{const _0x3a8bee=_0x58667b;let _0xf788a5=_0x331efe[_0x3a8bee(0x268)](_0x386a77);_0xf788a5&&(_0x59858d[_0x3a8bee(0x381)](_0xf788a5),_0x25d906[_0x3a8bee(0x551)](_0x386a77));});let _0x273df5=_0x182a84[_0x58667b(0x4cc)](_0x1bfdd7=>!_0x25d906[_0x58667b(0x25c)](_0x1bfdd7['id']))['sort']((_0x17b3f2,_0x4d0e25)=>String(_0x17b3f2['orderKey']??_0x17b3f2['id'])['localeCompare'](String(_0x4d0e25['orderKey']??_0x4d0e25['id']))||_0x17b3f2['id'][_0x58667b(0x506)](_0x4d0e25['id']));return[..._0x59858d,..._0x273df5];}[_0x282c57(0x3ef)](_0x5a0e35){const _0x3261d9=_0x282c57;return _0x5a0e35!=null&&_0x5a0e35!==''&&!(Array[_0x3261d9(0x3d5)](_0x5a0e35)&&_0x5a0e35[_0x3261d9(0x4ab)]===0x0);}[_0x282c57(0x495)](){const _0x331e7b=_0x282c57;var _0x45a871,_0x495ce9,_0x9e0f78,_0x1a4deb;return((_0x45a871=(_0x495ce9=this[_0x331e7b(0x3cd)])[_0x331e7b(0x2e0)])==null?void 0x0:_0x45a871['call'](_0x495ce9))??((_0x9e0f78=(_0x1a4deb=this[_0x331e7b(0x3cd)])[_0x331e7b(0x284)])==null||(_0x9e0f78=_0x9e0f78[_0x331e7b(0x2a4)](_0x1a4deb))==null?void 0x0:_0x9e0f78[_0x331e7b(0x256)])??void 0x0;}['_normalizeCellValue'](_0x2a7e3b,_0x5d52be,_0x1ae028,_0x36e8c1,_0x515d3f){const _0x36836f=_0x282c57;var _0xa775cf;if(!this[_0x36836f(0x513)][_0x36836f(0x456)](_0x5d52be,_0x1ae028,_0x36e8c1))throw Error(_0x36836f(0x358));let _0x234788=(_0xa775cf=_0x2a7e3b[_0x36836f(0x528)][_0x5d52be])==null?void 0x0:_0xa775cf[_0x36836f(0x453)][_0x36e8c1];if(!_0x234788)throw Error(_0x36836f(0x211)+_0x36e8c1+_0x36836f(0x4d5));let _0x5bc2d7=this[_0x36836f(0x395)][_0x36836f(0x268)](_0x234788[_0x36836f(0x4aa)]);if(_0x234788[_0x36836f(0x473)]||_0x234788[_0x36836f(0x43c)]||!_0x5bc2d7[_0x36836f(0x53a)](_0x234788)[_0x36836f(0x3f7)])throw Error('[BaseCommandService]:\x20cannot\x20edit\x20readonly\x20field.');let _0x5b41a4=_0x5bc2d7[_0x36836f(0x203)](_0x515d3f,_0x234788),_0x254e74=_0x5bc2d7[_0x36836f(0x326)](_0x5b41a4,_0x234788);if(!_0x254e74[_0x36836f(0x375)])throw Error(_0x254e74[_0x36836f(0x2cd)]??_0x36836f(0x204));let _0x403cbe=_0x234788[_0x36836f(0x4aa)]===_0x239099[_0x36836f(0x2c2)]?Ve(_0x2a7e3b,_0x234788,_0x5b41a4):{'valid':!0x0};if(!_0x403cbe[_0x36836f(0x375)])throw Error(_0x403cbe[_0x36836f(0x2cd)]??_0x36836f(0x35f));return _0x5b41a4;}['_assertFieldDefinition'](_0x31514,_0xd89a5a){const _0x35d94c=_0x282c57;if(_0xd89a5a['id']===_0x1a2ecc||_0xd89a5a['type']===_0x239099[_0x35d94c(0x205)]||_0x38be32(_0xd89a5a[_0x35d94c(0x2f4)]))throw Error('[BaseCommandService]:\x20record-id\x20is\x20reserved.');let _0x3ea9f1=Be(_0x31514,_0xd89a5a);if(!_0x3ea9f1[_0x35d94c(0x375)])throw Error(_0x3ea9f1[_0x35d94c(0x2cd)]??_0x35d94c(0x26f));}};qr=X([Y(0x0,Br),Y(0x1,mr)],qr);function Jr(){const _0x140431=_0x282c57;let _0x3681a8=new hr();return zn()[_0x140431(0x34b)](_0x22f57a=>_0x3681a8[_0x140431(0x39f)](_0x22f57a)),_0x3681a8;}function Yr(_0x5b3154){const _0x4f8514=_0x282c57;return _0x5b3154['type']===_0x239099[_0x4f8514(0x1f6)]||_0x5b3154['type']===_0x239099[_0x4f8514(0x4be)]||_0x5b3154['type']===_0x239099[_0x4f8514(0x532)]||_0x5b3154[_0x4f8514(0x4aa)]===_0x239099[_0x4f8514(0x35d)]||_0x5b3154['type']===_0x239099[_0x4f8514(0x1bc)];}const Xr=new Set([_0x239099[_0x282c57(0x2ca)],_0x239099[_0x282c57(0x3b7)],_0x239099[_0x282c57(0x379)]]);function Zr(_0x3ab118){const _0x5eed89=_0x282c57;let _0xb6b5c9=_0x3ab118[_0x5eed89(0x453)][_0x3ab118[_0x5eed89(0x45c)]];if((!_0xb6b5c9||_0xb6b5c9[_0x5eed89(0x43c)]!==!0x0&&_0xb6b5c9['id'][_0x5eed89(0x3ca)]()!=='id'&&_0xb6b5c9[_0x5eed89(0x2f4)][_0x5eed89(0x24d)]()[_0x5eed89(0x3ca)]()!=='id')&&_0xb6b5c9)return _0xb6b5c9['id'];for(let _0x283388 of _0x3ab118[_0x5eed89(0x534)]){let _0x179a31=_0x3ab118[_0x5eed89(0x453)][_0x283388];if(_0x179a31&&_0x179a31['id']!==_0x3ab118[_0x5eed89(0x45c)]&&_0x179a31[_0x5eed89(0x43c)]!==!0x0&&_0x179a31[_0x5eed89(0x4aa)]!==_0x239099['RecordId'])return _0x179a31['id'];}return _0x3ab118[_0x5eed89(0x45c)];}function Qr(_0x4d434c,_0x4e571d=[],_0x38536d=0x5){const _0x446aec=_0x282c57;let _0x42566b=new Set(_0x4e571d[_0x446aec(0x4cc)](_0x211f07=>!!_0x211f07)),_0xd82242=[],_0x128179=[];for(let _0x2a3ae8 of _0x4d434c[_0x446aec(0x534)]){let _0x3fdca5=_0x4d434c[_0x446aec(0x453)][_0x2a3ae8];_0x3fdca5&&_0x3fdca5[_0x446aec(0x43c)]!==!0x0&&_0x3fdca5['type']!==_0x239099[_0x446aec(0x205)]&&!_0x42566b[_0x446aec(0x25c)](_0x3fdca5['id'])&&(Xr[_0x446aec(0x25c)](_0x3fdca5[_0x446aec(0x4aa)])?_0xd82242:_0x128179)[_0x446aec(0x381)](_0x3fdca5['id']);}return[..._0xd82242,..._0x128179]['slice'](0x0,_0x38536d);}function $r(){const _0x501aae=_0x282c57;return[{'type':_0x1d9104[_0x501aae(0x3be)],'i18nKey':_0x501aae(0x357),'createDefaultConfig':()=>({}),'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{throw Error('Grid\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.');}},{'type':_0x1d9104[_0x501aae(0x549)],'i18nKey':'base.viewType.kanban','createDefaultConfig':_0x5bc23e=>{const _0x11fcc6=_0x501aae;let _0x1fa362=ei(_0x5bc23e);return{'groupFieldId':_0x1fa362,'coverFieldId':null,'cardLayout':'normal','showFieldNames':!0x0,'fieldSettings':{},'columnSettings':{},'card':{'titleFieldId':_0x5bc23e[_0x11fcc6(0x45c)],'fieldIds':Qr(_0x5bc23e,[_0x5bc23e[_0x11fcc6(0x45c)],_0x1fa362])}};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{throw Error('Kanban\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.');}},{'type':_0x1d9104['Calendar'],'i18nKey':'base.viewType.calendar','createDefaultConfig':_0x3b0096=>{const _0x55e591=_0x501aae;let _0x120dd0=ti(_0x3b0096);return{'startDateFieldId':_0x120dd0,'endDateFieldId':ni(_0x3b0096,_0x120dd0),'titleFieldId':_0x3b0096[_0x55e591(0x45c)],'mode':'month','timeslotSize':_0x55e591(0x4c7),'timeZone':'local','displayColor':{'type':_0x55e591(0x261),'color':'#3b82f6'},'fieldSettings':{}};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x1cad2a=_0x501aae;throw Error(_0x1cad2a(0x4e5));}},{'type':_0x1d9104[_0x501aae(0x46b)],'i18nKey':_0x501aae(0x30a),'createDefaultConfig':_0x42b285=>{const _0x57821b=_0x501aae;let _0x40d207=ti(_0x42b285);return{'startDateFieldId':_0x40d207,'endDateFieldId':ni(_0x42b285,_0x40d207)??_0x40d207,'titleFieldId':_0x42b285['primaryFieldId'],'scale':_0x57821b(0x319),'showTodayLine':!0x0,'displayColor':{'type':_0x57821b(0x261),'color':_0x57821b(0x351)},'fieldSettings':{},'workingDaysOnly':!0x1};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x1da277=_0x501aae;throw Error(_0x1da277(0x263));}},{'type':_0x1d9104[_0x501aae(0x2dd)],'i18nKey':_0x501aae(0x4fd),'createDefaultConfig':_0x369b34=>{const _0x516910=_0x501aae;let _0x5432d5=Zr(_0x369b34);return{'coverFieldId':null,'cardLayout':_0x516910(0x3b3),'showFieldNames':!0x0,'fieldSettings':{},'card':{'titleFieldId':_0x5432d5,'coverFieldId':null,'fieldIds':Qr(_0x369b34,[_0x5432d5,_0x369b34['primaryFieldId']])},'cardSize':_0x516910(0x4c7)};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x3933e6=_0x501aae;throw Error(_0x3933e6(0x529));}}];}function ei(_0x1db7c3){const _0x204f8d=_0x282c57;var _0x2669ff,_0x4c9212,_0x36b03d;let _0x4c12a9=_0x1db7c3[_0x204f8d(0x534)][_0x204f8d(0x309)](_0x4c1fe4=>_0x1db7c3['fields'][_0x4c1fe4])[_0x204f8d(0x4cc)](_0x56f5fe=>!!_0x56f5fe);return((_0x2669ff=_0x4c12a9[_0x204f8d(0x525)](_0x492e61=>_0x492e61[_0x204f8d(0x4aa)]===_0x239099[_0x204f8d(0x2fe)]||_0x492e61['type']===_0x239099[_0x204f8d(0x4b3)]||_0x492e61[_0x204f8d(0x4aa)]===_0x239099[_0x204f8d(0x3af)]))==null?void 0x0:_0x2669ff['id'])??((_0x4c9212=_0x4c12a9[_0x204f8d(0x525)](_0x170ad7=>_0x170ad7['type']===_0x239099[_0x204f8d(0x34a)]))==null?void 0x0:_0x4c9212['id'])??((_0x36b03d=_0x4c12a9[_0x204f8d(0x525)](_0x56ee8f=>_0x56ee8f[_0x204f8d(0x4aa)]===_0x239099['Date']||_0x56ee8f[_0x204f8d(0x4aa)]===_0x239099['CreatedAt']||_0x56ee8f[_0x204f8d(0x4aa)]===_0x239099['UpdatedAt']))==null?void 0x0:_0x36b03d['id'])??_0x1db7c3['primaryFieldId'];}function ti(_0x5a9466){const _0x3cbbc3=_0x282c57;var _0x58769d;return((_0x58769d=_0x5a9466['fieldOrder'][_0x3cbbc3(0x309)](_0x59366a=>_0x5a9466['fields'][_0x59366a])[_0x3cbbc3(0x525)](ri))==null?void 0x0:_0x58769d['id'])??'';}function ni(_0x154c0c,_0x610800){const _0xdb20a4=_0x282c57;var _0x18ed17;return(_0x18ed17=_0x154c0c[_0xdb20a4(0x534)][_0xdb20a4(0x309)](_0x21312c=>_0x154c0c['fields'][_0x21312c])[_0xdb20a4(0x525)](_0x4e8a5a=>ri(_0x4e8a5a)&&_0x4e8a5a['id']!==_0x610800))==null?void 0x0:_0x18ed17['id'];}function ri(_0x249dd7){const _0x28fd00=_0x282c57;return!!_0x249dd7&&_0x249dd7[_0x28fd00(0x4aa)]===_0x239099[_0x28fd00(0x240)]&&_0x249dd7['readonly']!==!0x0&&_0x249dd7[_0x28fd00(0x43c)]!==!0x0;}const ii=_0x2cfc4b(_0x282c57(0x29c)),ai=new Set([_0x239099['Number'],_0x239099[_0x282c57(0x4b6)],_0x239099[_0x282c57(0x2ca)],_0x239099[_0x282c57(0x3b7)],_0x239099[_0x282c57(0x240)],_0x239099[_0x282c57(0x35d)],_0x239099['UpdatedAt'],_0x239099['Checkbox']]),oi=0x5265c00;let si=class extends _0x3bb8e0{constructor(_0x318859){const _0x4ff30e=_0x282c57;super(),this[_0x4ff30e(0x395)]=_0x318859,G(this,'_views',new Map()),G(this,_0x4ff30e(0x474),new WeakMap()),G(this,_0x4ff30e(0x4c5),new Map()),G(this,_0x4ff30e(0x494),new Map()),G(this,_0x4ff30e(0x4c8),new Map()),G(this,_0x4ff30e(0x1cb),new Map()),G(this,_0x4ff30e(0x492),0x0),G(this,_0x4ff30e(0x1ac),new Map()),G(this,_0x4ff30e(0x2b2),new Map()),G(this,_0x4ff30e(0x4bc),new Map()),G(this,_0x4ff30e(0x428),new Map());}[_0x282c57(0x241)](_0x425eda){const _0x184ce7=_0x282c57;return this['_views'][_0x184ce7(0x246)](_0x425eda[_0x184ce7(0x4aa)],_0x425eda),_0x453a32(()=>this[_0x184ce7(0x2f6)][_0x184ce7(0x404)](_0x425eda[_0x184ce7(0x4aa)]));}['getProjection'](_0x749f2f,_0x18b2ca,_0x5473b7){const _0x3ac093=_0x282c57;var _0x171baa,_0x14f4ab,_0x4febcf;return I(_0x3ac093(0x3d3),()=>{const _0x346e15=_0x3ac093;let _0x4e6c6f=this[_0x346e15(0x342)](_0x749f2f,_0x18b2ca,_0x5473b7);if(_0x4e6c6f)return _0x4e6c6f;let _0x569a51=_0x749f2f[_0x346e15(0x528)][_0x18b2ca],_0x5104d8=_0x569a51==null?void 0x0:_0x569a51[_0x346e15(0x4f9)][_0x5473b7];if(!_0x569a51||!_0x5104d8)return this['_setCachedProjection'](_0x749f2f,_0x18b2ca,_0x5473b7,{'type':_0x346e15(0x269),'viewType':(_0x5104d8==null?void 0x0:_0x5104d8[_0x346e15(0x4aa)])??_0x1d9104[_0x346e15(0x3be)],'reason':_0x346e15(0x1aa)});let _0x58327a;switch(_0x5104d8['type']){case _0x1d9104[_0x346e15(0x3be)]:_0x58327a=this[_0x346e15(0x2a8)](_0x569a51,_0x5104d8);break;case _0x1d9104[_0x346e15(0x46b)]:_0x58327a=this[_0x346e15(0x2a1)](_0x569a51,_0x5104d8);break;case _0x1d9104['Kanban']:_0x58327a=this[_0x346e15(0x276)](_0x569a51,_0x5104d8);break;case _0x1d9104[_0x346e15(0x2c4)]:_0x58327a=this[_0x346e15(0x2ba)](_0x569a51,_0x5104d8);break;case _0x1d9104['Gallery']:_0x58327a=this[_0x346e15(0x3e6)](_0x569a51,_0x5104d8);break;default:_0x58327a={'type':_0x346e15(0x269),'viewType':_0x5104d8[_0x346e15(0x4aa)],'reason':_0x346e15(0x1aa)};}return this[_0x346e15(0x1f3)](_0x749f2f,_0x18b2ca,_0x5473b7,_0x58327a);},{'tableId':_0x18b2ca,'viewId':_0x5473b7,'viewType':(_0x171baa=_0x749f2f[_0x3ac093(0x528)][_0x18b2ca])==null||(_0x171baa=_0x171baa[_0x3ac093(0x4f9)][_0x5473b7])==null?void 0x0:_0x171baa[_0x3ac093(0x4aa)],'records':((_0x14f4ab=_0x749f2f['tables'][_0x18b2ca])==null||(_0x14f4ab=_0x14f4ab[_0x3ac093(0x413)])==null?void 0x0:_0x14f4ab[_0x3ac093(0x4ab)])??Object[_0x3ac093(0x334)](((_0x4febcf=_0x749f2f['tables'][_0x18b2ca])==null?void 0x0:_0x4febcf[_0x3ac093(0x1e1)])??{})[_0x3ac093(0x4ab)]});}[_0x282c57(0x325)](_0x426edd,_0x44ba6a,_0x1f26f0){const _0x291b4c=_0x282c57;var _0xbe20f5,_0x512730,_0x16dadb;let _0x4fd1f9=_0x426edd['tables'][_0x44ba6a],_0x1e2554=_0x4fd1f9==null?void 0x0:_0x4fd1f9[_0x291b4c(0x4f9)][_0x1f26f0];if(!_0x4fd1f9||!_0x1e2554)throw Error(_0x291b4c(0x2cf)+_0x1f26f0+'\x22.');let _0x3f1820=_0x18c932=>!!_0x4fd1f9['fields'][_0x18c932],_0x288787={..._0x1e2554,'filter':_0x1e2554[_0x291b4c(0x4cc)]?{..._0x1e2554[_0x291b4c(0x4cc)],'conditions':_0x1e2554[_0x291b4c(0x4cc)][_0x291b4c(0x3d8)][_0x291b4c(0x4cc)](_0x28a2af=>_0x3f1820(_0x28a2af[_0x291b4c(0x387)]))}:_0x1e2554[_0x291b4c(0x4cc)],'sort':(_0xbe20f5=_0x1e2554[_0x291b4c(0x1df)])==null?void 0x0:_0xbe20f5[_0x291b4c(0x4cc)](_0x50ff74=>_0x3f1820(_0x50ff74['fieldId'])),'group':(_0x512730=_0x1e2554[_0x291b4c(0x359)])==null?void 0x0:_0x512730[_0x291b4c(0x4cc)](_0x4b5e89=>_0x3f1820(_0x4b5e89['fieldId'])),'fieldOrder':(_0x16dadb=_0x1e2554['fieldOrder'])==null?void 0x0:_0x16dadb[_0x291b4c(0x4cc)](_0x3f1820),'fieldSettings':Object[_0x291b4c(0x1af)](Object[_0x291b4c(0x41d)](_0x1e2554[_0x291b4c(0x272)]??{})[_0x291b4c(0x4cc)](([_0x39873a])=>_0x3f1820(_0x39873a)))};if(_0x288787[_0x291b4c(0x4aa)]===_0x291b4c(0x320)){var _0x37bac9;let _0x80f9c2=_0x288787[_0x291b4c(0x50c)]??{},_0x2c5697=this[_0x291b4c(0x2ab)](_0x4fd1f9,_0x288787),_0x26486d=this[_0x291b4c(0x55a)](_0x4fd1f9,(_0x37bac9=_0x80f9c2['card'])==null?void 0x0:_0x37bac9[_0x291b4c(0x430)]);_0x288787['config']={..._0x80f9c2,'groupFieldId':_0x2c5697??_0x80f9c2[_0x291b4c(0x25d)],'coverFieldId':this['_resolveKanbanCoverFieldId'](_0x4fd1f9,_0x80f9c2),'cardLayout':_0x80f9c2['cardLayout']===_0x291b4c(0x3ad)?_0x291b4c(0x3ad):_0x291b4c(0x3b3),'showFieldNames':_0x80f9c2[_0x291b4c(0x299)]!==!0x1,'fieldSettings':Object[_0x291b4c(0x1af)](Object[_0x291b4c(0x41d)](_0x80f9c2[_0x291b4c(0x272)]??{})[_0x291b4c(0x4cc)](([_0x5a4938])=>_0x3f1820(_0x5a4938))),'columnSettings':_0x80f9c2[_0x291b4c(0x37c)]??{},'card':{..._0x80f9c2[_0x291b4c(0x1c6)]??{},'titleFieldId':_0x26486d,'fieldIds':this['_resolveKanbanCardFieldIds'](_0x4fd1f9,_0x288787,_0x2c5697??'',_0x26486d)}};}return{'repaired':JSON[_0x291b4c(0x2fb)](_0x288787)!==JSON[_0x291b4c(0x2fb)](_0x1e2554),'view':_0x288787};}[_0x282c57(0x466)](){const _0x518438=_0x282c57;this[_0x518438(0x492)]++;}[_0x282c57(0x4f7)](_0x1d11f0,_0x36839d,_0x3c6f59){const _0x4a9136=_0x282c57;let _0x306334=this[_0x4a9136(0x2c9)](_0x1d11f0)+0x1;this['_cellRevisions'][_0x4a9136(0x246)](_0x1d11f0,_0x306334);let _0x5164ad=this['_cellInvalidations']['get'](_0x1d11f0)??[];_0x5164ad[_0x4a9136(0x381)]({'revision':_0x306334,'recordId':_0x36839d,'fieldId':_0x3c6f59}),this[_0x4a9136(0x4bc)][_0x4a9136(0x246)](_0x1d11f0,_0x5164ad);}['invalidateByField'](_0x35bbb5,_0x46b8cd){const _0x2114c1=_0x282c57;this[_0x2114c1(0x29a)](_0x35bbb5);}[_0x282c57(0x438)](_0x5435a1,_0x5ef7c3){const _0x952ae2=_0x282c57;this['_viewRevisions'][_0x952ae2(0x246)](this[_0x952ae2(0x337)](_0x5435a1,_0x5ef7c3),this[_0x952ae2(0x24f)](_0x5435a1,_0x5ef7c3)+0x1);}[_0x282c57(0x342)](_0x59d585,_0x559c71,_0xf398b2){const _0x26f418=_0x282c57;var _0xf710eb;let _0x1d02d4=(_0xf710eb=this[_0x26f418(0x474)][_0x26f418(0x268)](_0x59d585))==null?void 0x0:_0xf710eb[_0x26f418(0x268)](this['_cacheKey'](_0x559c71,_0xf398b2));return _0x1d02d4&&_0x1d02d4[_0x26f418(0x271)]===this[_0x26f418(0x492)]&&_0x1d02d4[_0x26f418(0x332)]===this[_0x26f418(0x398)](_0x559c71)&&_0x1d02d4[_0x26f418(0x29f)]===this[_0x26f418(0x2c9)](_0x559c71)&&_0x1d02d4['viewRevision']===this[_0x26f418(0x24f)](_0x559c71,_0xf398b2)?_0x1d02d4[_0x26f418(0x431)]:null;}['_setCachedProjection'](_0x3184df,_0x2c90f0,_0x24bafd,_0x22023c){const _0x24d56e=_0x282c57;let _0x32a6b3=this['_projectionCache'][_0x24d56e(0x268)](_0x3184df);return _0x32a6b3||(_0x32a6b3=new Map(),this[_0x24d56e(0x474)]['set'](_0x3184df,_0x32a6b3)),_0x32a6b3[_0x24d56e(0x246)](this[_0x24d56e(0x390)](_0x2c90f0,_0x24bafd),{'projection':_0x22023c,'globalRevision':this[_0x24d56e(0x492)],'tableRevision':this[_0x24d56e(0x398)](_0x2c90f0),'cellRevision':this[_0x24d56e(0x2c9)](_0x2c90f0),'viewRevision':this[_0x24d56e(0x24f)](_0x2c90f0,_0x24bafd)}),_0x22023c;}['_bumpTableRevision'](_0x5d8ca0){const _0x50c901=_0x282c57;this[_0x50c901(0x1ac)][_0x50c901(0x246)](_0x5d8ca0,this[_0x50c901(0x398)](_0x5d8ca0)+0x1);}['_getTableRevision'](_0x49ae08){return this['_tableRevisions']['get'](_0x49ae08)??0x0;}[_0x282c57(0x2c9)](_0x2682fd){const _0x2eab5a=_0x282c57;return this[_0x2eab5a(0x2b2)][_0x2eab5a(0x268)](_0x2682fd)??0x0;}[_0x282c57(0x24f)](_0x32e96d,_0x2303eb){const _0x2046e6=_0x282c57;return this[_0x2046e6(0x428)][_0x2046e6(0x268)](this[_0x2046e6(0x337)](_0x32e96d,_0x2303eb))??0x0;}[_0x282c57(0x390)](_0x50b56e,_0x43730e){return _0x50b56e+'\x00'+_0x43730e;}[_0x282c57(0x47d)](_0x2a3f8a,_0x52fcd6){return _0x2a3f8a+'\x00'+this['_rowTransformCacheSegment'](_0x52fcd6);}['_groupsCacheKey'](_0x58e974,_0x6a8a2e,_0x536b87){const _0x27eaa4=_0x282c57;return _0x58e974+'\x00'+this[_0x27eaa4(0x22a)](_0x6a8a2e)+'\x00'+this[_0x27eaa4(0x1a3)](_0x536b87);}['_rowTransformCacheSegment'](_0x402050){const _0x3e6761=_0x282c57;return _0x402050?mi({'filter':di(_0x402050[_0x3e6761(0x4cc)]),'sort':pi(_0x402050[_0x3e6761(0x1df)])}):_0x3e6761(0x1b2);}[_0x282c57(0x1a3)](_0x2824a0){const _0x58ade4=_0x282c57;return mi(_0x2824a0[_0x58ade4(0x309)](_0x33a250=>({'fieldId':_0x33a250[_0x58ade4(0x387)],'direction':_0x33a250[_0x58ade4(0x292)]??null})));}['_viewRevisionKey'](_0x3267e3,_0x35d5c0){return _0x3267e3+'\x00'+_0x35d5c0;}['_buildGrid'](_0x26d443,_0x38edc1){const _0x10dab7=_0x282c57;var _0xb416d3;let _0x320e7f=Je(_0x26d443),_0x5ec882=this[_0x10dab7(0x2b1)](_0x26d443,_0x38edc1),_0x537db0=(_0xb416d3=_0x38edc1[_0x10dab7(0x4cc)])!=null&&_0xb416d3['conditions']['length']?this['_projectRows'](_0x26d443,{..._0x38edc1,'filter':null}):_0x5ec882,_0x191ff1=nt(this[_0x10dab7(0x33d)](_0x26d443,_0x320e7f,_0x38edc1['id'],_0x537db0[_0x10dab7(0x309)](_0x4a6694=>_0x4a6694['recordId'])),_0x537db0,new Set(_0x5ec882[_0x10dab7(0x309)](_0xd0f090=>_0xd0f090[_0x10dab7(0x40d)])));return{'type':_0x1d9104[_0x10dab7(0x3be)],'fields':this[_0x10dab7(0x420)](_0x26d443,_0x38edc1),'rows':_0x191ff1[_0x10dab7(0x535)],'groups':this[_0x10dab7(0x31e)](_0x26d443,_0x38edc1,_0x191ff1[_0x10dab7(0x535)],_0x191ff1[_0x10dab7(0x43d)]),'hierarchy':_0x191ff1[_0x10dab7(0x43d)],'frozenFieldCount':typeof _0x38edc1[_0x10dab7(0x50c)][_0x10dab7(0x4a2)]==_0x10dab7(0x389)?_0x38edc1[_0x10dab7(0x50c)][_0x10dab7(0x4a2)]:0x0};}['_getHierarchyIndex'](_0x1118d2,_0x1e8dc1,_0x47e5c5,_0x4d326a){const _0x10c164=_0x282c57;let _0x10b651=_0x1118d2['id']+'\x00'+_0x1e8dc1+'\x00'+_0x47e5c5,_0x4db2bc=this[_0x10c164(0x2c9)](_0x1118d2['id']),_0x1833d0=this['_hierarchyIndexCache']['get'](_0x10b651);if(_0x1833d0&&_0x1833d0[_0x10c164(0x271)]===this[_0x10c164(0x492)]&&_0x1833d0['tableRevision']===this[_0x10c164(0x398)](_0x1118d2['id'])&&_0x1833d0[_0x10c164(0x2db)][_0x10c164(0x4ab)]===_0x4d326a[_0x10c164(0x4ab)]&&_0x1833d0['orderedRecordIds']['every']((_0x3e1bd7,_0x586f34)=>_0x3e1bd7===_0x4d326a[_0x586f34])){if(_0x1833d0[_0x10c164(0x29f)]===_0x4db2bc&&_0x1833d0[_0x10c164(0x270)]===_0x1118d2)return _0x1833d0[_0x10c164(0x198)];if(!this[_0x10c164(0x3c4)](_0x1118d2['id'],_0x1833d0[_0x10c164(0x29f)],_0x4db2bc,new Set([_0x1e8dc1])))return this[_0x10c164(0x1cb)][_0x10c164(0x246)](_0x10b651,{..._0x1833d0,'table':_0x1118d2,'cellRevision':_0x4db2bc}),_0x1833d0[_0x10c164(0x198)];}let _0x126642=tt(_0x1118d2,_0x1e8dc1,_0x4d326a);return this[_0x10c164(0x1cb)][_0x10c164(0x246)](_0x10b651,{'table':_0x1118d2,'index':_0x126642,'orderedRecordIds':_0x4d326a,'globalRevision':this[_0x10c164(0x492)],'tableRevision':this[_0x10c164(0x398)](_0x1118d2['id']),'cellRevision':_0x4db2bc}),_0x126642;}[_0x282c57(0x31e)](_0x271d5d,_0x54d71e,_0x27e731,_0x584590){const _0xd08e92=_0x282c57;var _0x415af1;if(!((_0x415af1=_0x54d71e[_0xd08e92(0x359)])!=null&&_0x415af1[_0xd08e92(0x4ab)]))return[];let _0x142554=new Map(_0x27e731['map'](_0x197c7c=>[_0x197c7c[_0xd08e92(0x40d)],_0x197c7c])),_0xef258b=_0x584590[_0xd08e92(0x1b0)][_0xd08e92(0x26a)](_0x570df2=>{const _0x8bfdb3=_0xd08e92;let _0x54440a=_0x142554[_0x8bfdb3(0x268)](_0x570df2);return _0x54440a?[_0x54440a]:[];}),_0x22215a=this[_0xd08e92(0x348)](_0x271d5d,_0x54d71e,_0xef258b),_0x5aa53a=new Map(_0x584590[_0xd08e92(0x2db)][_0xd08e92(0x309)]((_0xfdfbc1,_0x2480a5)=>[_0xfdfbc1,_0x2480a5])),_0x1f4a28=_0x385dbd=>{const _0x401b2f=_0xd08e92;let _0x482c87=_0x584590['nodes'][_0x385dbd],_0x3c0e1c=_0x5aa53a[_0x401b2f(0x268)](_0x385dbd)??-0x1;return _0x3c0e1c<0x0||!_0x482c87?[]:_0x584590[_0x401b2f(0x2db)]['slice'](_0x3c0e1c,_0x482c87[_0x401b2f(0x3da)]+0x1);},_0x36c533=_0x2eace8=>{const _0x44ff0e=_0xd08e92;var _0x2a6e10,_0x4b30cc;return{..._0x2eace8,'recordIds':(_0x2a6e10=_0x2eace8['children'])!=null&&_0x2a6e10[_0x44ff0e(0x4ab)]?_0x2eace8[_0x44ff0e(0x1b9)]:_0x2eace8['recordIds'][_0x44ff0e(0x26a)](_0x1f4a28),'children':(_0x4b30cc=_0x2eace8[_0x44ff0e(0x4fc)])==null?void 0x0:_0x4b30cc[_0x44ff0e(0x309)](_0x36c533)};};return _0x22215a[_0xd08e92(0x309)](_0x36c533);}[_0x282c57(0x276)](_0x4ac0be,_0x2bac9d){const _0x4de19c=_0x282c57;var _0x141bc8;let _0x18ba98=this[_0x4de19c(0x2ab)](_0x4ac0be,_0x2bac9d),_0x3a3167=_0x18ba98?_0x4ac0be[_0x4de19c(0x453)][_0x18ba98]:void 0x0;if(!_0x3a3167)return{'type':_0x4de19c(0x269),'viewType':_0x1d9104[_0x4de19c(0x549)],'reason':'invalidGroupField','fieldId':_0x2bac9d[_0x4de19c(0x50c)][_0x4de19c(0x25d)]};let _0x3162f7=this[_0x4de19c(0x2b1)](_0x4ac0be,_0x2bac9d),_0x1bce32=this[_0x4de19c(0x420)](_0x4ac0be,_0x2bac9d),_0x5839a4=_0x2bac9d[_0x4de19c(0x50c)]??{},_0x46965f=this['_resolveCardTitleFieldId'](_0x4ac0be,(_0x141bc8=_0x5839a4[_0x4de19c(0x1c6)])==null?void 0x0:_0x141bc8['titleFieldId']),_0x229166=this[_0x4de19c(0x53c)](_0x4ac0be,_0x2bac9d,_0x3a3167['id'],_0x46965f),_0x43b088=new Map();if(F(_0x4ac0be,_0x3a3167['id'])){let _0xe4daf8=this['_getHierarchyIndex'](_0x4ac0be,_0x3a3167['id'],_0x2bac9d['id'],_0x3162f7[_0x4de19c(0x309)](_0x33a16e=>_0x33a16e[_0x4de19c(0x40d)])),_0xf425d7=new Map();return _0x3162f7[_0x4de19c(0x34b)](_0x245c53=>{const _0x47459c=_0x4de19c;let _0x2d8703=_0xe4daf8[_0x47459c(0x39a)]['get'](_0x245c53['recordId'])??null,_0x1b2d04=_0x2d8703??'',_0x2e8663=_0x2d8703?_0x4ac0be['records'][_0x2d8703]:void 0x0,_0x15ca0d=_0xf425d7[_0x47459c(0x268)](_0x1b2d04)??{'key':_0x1b2d04,'title':_0x2e8663?String(yt(_0x4ac0be,_0x2e8663['id'],_0x4ac0be['primaryFieldId'])??_0x2d8703):this['_kanbanLaneTitle'](_0x3a3167,_0x1b2d04,_0x5839a4),'recordIds':[]};_0x15ca0d[_0x47459c(0x1b9)][_0x47459c(0x381)](_0x245c53[_0x47459c(0x40d)]),_0xf425d7[_0x47459c(0x246)](_0x1b2d04,_0x15ca0d);}),{'type':_0x1d9104[_0x4de19c(0x549)],'fields':_0x1bce32,'rows':_0x3162f7,'groups':[],'groupFieldId':_0x3a3167['id'],'titleFieldId':_0x46965f,'coverFieldId':this[_0x4de19c(0x1ed)](_0x4ac0be,_0x5839a4),'cardLayout':_0x5839a4[_0x4de19c(0x316)]===_0x4de19c(0x3ad)?_0x4de19c(0x3ad):'normal','showFieldNames':_0x5839a4[_0x4de19c(0x299)]!==!0x1,'visibleCardFieldIds':_0x229166,'lanes':['',..._0xe4daf8[_0x4de19c(0x2db)]]['flatMap'](_0x24625c=>{const _0xded19a=_0x4de19c;let _0x53d3e6=_0xf425d7[_0xded19a(0x268)](_0x24625c);return _0x53d3e6!=null&&_0x53d3e6['recordIds'][_0xded19a(0x4ab)]?[_0x53d3e6]:[];})};}return this[_0x4de19c(0x273)](_0x3a3167,_0x5839a4)[_0x4de19c(0x34b)](_0x1e03df=>_0x43b088[_0x4de19c(0x246)](_0x1e03df[_0x4de19c(0x34d)],{..._0x1e03df,'recordIds':[]})),_0x3162f7[_0x4de19c(0x34b)](_0x5593d7=>{const _0x916bd9=_0x4de19c;this[_0x916bd9(0x21e)](_0x3a3167,_0x5593d7[_0x916bd9(0x54e)][_0x3a3167['id']])[_0x916bd9(0x34b)](_0x5136ad=>{const _0x229415=_0x916bd9;let _0x10ac76=_0x43b088['get'](_0x5136ad)??{'key':_0x5136ad,'title':this['_kanbanLaneTitle'](_0x3a3167,_0x5136ad,_0x5839a4),'color':this[_0x229415(0x366)](_0x3a3167,_0x5136ad,_0x5839a4),'recordIds':[]};_0x10ac76['recordIds'][_0x229415(0x381)](_0x5593d7[_0x229415(0x40d)]),_0x43b088[_0x229415(0x246)](_0x5136ad,_0x10ac76);});}),{'type':_0x1d9104['Kanban'],'fields':_0x1bce32,'rows':_0x3162f7,'groups':this[_0x4de19c(0x348)](_0x4ac0be,_0x2bac9d,_0x3162f7),'groupFieldId':_0x3a3167['id'],'titleFieldId':_0x46965f,'coverFieldId':this[_0x4de19c(0x1ed)](_0x4ac0be,_0x5839a4),'cardLayout':_0x5839a4[_0x4de19c(0x316)]===_0x4de19c(0x3ad)?_0x4de19c(0x3ad):_0x4de19c(0x3b3),'showFieldNames':_0x5839a4['showFieldNames']!==!0x1,'visibleCardFieldIds':_0x229166,'lanes':Array[_0x4de19c(0x2f3)](_0x43b088[_0x4de19c(0x54e)]())};}[_0x282c57(0x2ab)](_0x25e390,_0x47c720){const _0x270dff=_0x282c57;var _0x3771b7;let _0x5361e5=(_0x3771b7=_0x47c720[_0x270dff(0x50c)])==null?void 0x0:_0x3771b7['groupFieldId'];return _0x5361e5&&this[_0x270dff(0x396)](_0x25e390,_0x5361e5)?_0x5361e5:this[_0x270dff(0x214)](_0x25e390,_0x121314=>this['_isAllowedKanbanGroupField'](_0x121314));}['_findKanbanGroupField'](_0x2fff53,_0xc5cb12){const _0x17a7e8=_0x282c57;for(let _0x5d4b08 of _0x2fff53[_0x17a7e8(0x534)]){let _0x1cc6a5=_0x2fff53['fields'][_0x5d4b08];if(_0x1cc6a5&&_0xc5cb12(_0x1cc6a5))return _0x1cc6a5['id'];}return null;}[_0x282c57(0x396)](_0x380acf,_0x535b7e){const _0x15d441=_0x282c57;let _0x2ef346=_0x380acf[_0x15d441(0x453)][_0x535b7e];return this[_0x15d441(0x2d2)](_0x2ef346)||F(_0x380acf,_0x535b7e);}[_0x282c57(0x2d2)](_0x36dee6){const _0x5aca39=_0x282c57;return!!_0x36dee6&&(_0x36dee6[_0x5aca39(0x4aa)]===_0x239099[_0x5aca39(0x2fe)]||_0x36dee6[_0x5aca39(0x4aa)]===_0x239099['MultiSelect']||_0x36dee6[_0x5aca39(0x4aa)]===_0x239099[_0x5aca39(0x3b7)]||_0x36dee6[_0x5aca39(0x4aa)]===_0x239099[_0x5aca39(0x2a5)]||_0x36dee6[_0x5aca39(0x4aa)]===_0x239099[_0x5aca39(0x3af)]||_0x36dee6[_0x5aca39(0x4aa)]===_0x239099[_0x5aca39(0x379)]);}[_0x282c57(0x232)](_0x382dbc){const _0x4d3e4e=_0x282c57;return _0x382dbc[_0x4d3e4e(0x4aa)]===_0x239099[_0x4d3e4e(0x2fe)]||_0x382dbc['type']===_0x239099[_0x4d3e4e(0x4b3)];}[_0x282c57(0x1ed)](_0x12e23a,_0x5ce106){const _0x4cf342=_0x282c57;var _0x140a77;let _0x460ab8=_0x5ce106[_0x4cf342(0x2b6)]??((_0x140a77=_0x5ce106[_0x4cf342(0x1c6)])==null?void 0x0:_0x140a77['coverFieldId'])??null;if(!_0x460ab8)return null;let _0x3ced8d=_0x12e23a['fields'][_0x460ab8];return _0x3ced8d&&this[_0x4cf342(0x1c7)](_0x3ced8d)[_0x4cf342(0x3ae)]?_0x3ced8d['id']:null;}[_0x282c57(0x53c)](_0xce1b1d,_0x2a64ef,_0x57d233,_0x3657df=this[_0x282c57(0x55a)](_0xce1b1d,((()=>{const _0x5e7bb1=_0x282c57;var _0x253003;return(_0x253003=_0x2a64ef[_0x5e7bb1(0x50c)])==null||(_0x253003=_0x253003['card'])==null?void 0x0:_0x253003[_0x5e7bb1(0x430)];})()))){const _0x189051=_0x282c57;var _0x36b18e;let _0x15eb26=_0x2a64ef['config']??{},_0x3952c3=(_0x36b18e=_0x15eb26[_0x189051(0x1c6)])!=null&&(_0x36b18e=_0x36b18e['fieldIds'])!=null&&_0x36b18e[_0x189051(0x4ab)]?_0x15eb26[_0x189051(0x1c6)]['fieldIds']:Qr(_0xce1b1d,[_0x3657df,_0xce1b1d[_0x189051(0x45c)],_0x57d233]),_0x462c3e=_0x15eb26[_0x189051(0x272)]??{};return _0x3952c3[_0x189051(0x4cc)](_0x255d31=>{const _0x547c3c=_0x189051;var _0x1df639,_0x95a426;let _0x405e2e=_0xce1b1d[_0x547c3c(0x453)][_0x255d31];return!(!_0x405e2e||_0x405e2e[_0x547c3c(0x43c)]===!0x0||_0x405e2e['type']===_0x239099[_0x547c3c(0x205)]||_0x405e2e['id']===_0x57d233||_0x405e2e['id']===_0x3657df||(_0x1df639=_0x2a64ef[_0x547c3c(0x272)])!=null&&(_0x1df639=_0x1df639[_0x255d31])!=null&&_0x1df639[_0x547c3c(0x194)]||(_0x95a426=_0x462c3e[_0x255d31])!=null&&_0x95a426[_0x547c3c(0x194)]);})[_0x189051(0x1df)]((_0xcd39f4,_0x499762)=>{const _0x37020c=_0x189051;var _0xb29349,_0x12ed79;return(((_0xb29349=_0x462c3e[_0xcd39f4])==null?void 0x0:_0xb29349[_0x37020c(0x51d)])??_0x3952c3[_0x37020c(0x1f4)](_0xcd39f4))-(((_0x12ed79=_0x462c3e[_0x499762])==null?void 0x0:_0x12ed79[_0x37020c(0x51d)])??_0x3952c3['indexOf'](_0x499762));});}[_0x282c57(0x273)](_0x46816c,_0x30afe2){const _0x174eb0=_0x282c57;var _0x5573cb;let _0x3cee69=(Array[_0x174eb0(0x3d5)]((_0x5573cb=_0x46816c[_0x174eb0(0x50c)])==null?void 0x0:_0x5573cb[_0x174eb0(0x4f3)])?_0x46816c[_0x174eb0(0x50c)]['options']:[])[_0x174eb0(0x26a)]((_0x53d35d,_0x5787e7)=>{const _0x2826ab=_0x174eb0;if(_0x53d35d==null)return[];let _0x4ae6b7=typeof _0x53d35d=='string'?{'id':_0x53d35d,'name':_0x53d35d,'color':void 0x0}:_0x53d35d,_0x36a663=String(_0x4ae6b7['id']??_0x4ae6b7[_0x2826ab(0x2f4)]??_0x2826ab(0x265)+(_0x5787e7+0x1));return[{'key':_0x36a663,'title':String(_0x4ae6b7['name']??_0x4ae6b7['id']??_0x36a663),'color':this['_kanbanLaneColor'](_0x46816c,_0x36a663,_0x30afe2)}];});return Object[_0x174eb0(0x41d)](_0x30afe2[_0x174eb0(0x37c)]??{})[_0x174eb0(0x34b)](([_0x281c22,_0x4b6fb9])=>{const _0x265eb0=_0x174eb0;_0x3cee69[_0x265eb0(0x436)](_0x59627b=>_0x59627b[_0x265eb0(0x34d)]===_0x281c22)||_0x3cee69['push']({'key':_0x281c22,'title':this[_0x265eb0(0x232)](_0x46816c)?_0x4b6fb9['title']??this[_0x265eb0(0x40c)](_0x46816c,_0x281c22,_0x30afe2):this[_0x265eb0(0x40c)](_0x46816c,_0x281c22,_0x30afe2),'color':this[_0x265eb0(0x366)](_0x46816c,_0x281c22,_0x30afe2)});}),_0x3cee69;}[_0x282c57(0x21e)](_0x955b90,_0x5c00d5){const _0x1f49f2=_0x282c57;let _0x432d5b=_0x4b853b=>{const _0x111800=_0x3047;var _0x51a804;let _0x38f633=_0x4b853b==null?'':String(_0x4b853b);return!_0x38f633||!this[_0x111800(0x232)](_0x955b90)?_0x38f633:((_0x51a804=Li(_0x955b90,_0x38f633))==null?void 0x0:_0x51a804['id'])??_0x38f633;};if(Array[_0x1f49f2(0x3d5)](_0x5c00d5)){let _0x450528=_0x5c00d5['map'](_0x432d5b)['filter'](_0x752e54=>_0x752e54!=='');return _0x450528[_0x1f49f2(0x4ab)]?_0x450528:[''];}return[_0x432d5b(_0x5c00d5)];}['_kanbanLaneTitle'](_0x3a84e3,_0x4930d1,_0x9fc862){const _0x46fc07=_0x282c57;if(!_0x4930d1)return'Uncategorized';let _0x2b500a=Li(_0x3a84e3,_0x4930d1);return(_0x2b500a==null?void 0x0:_0x2b500a[_0x46fc07(0x2f4)])??_0x4930d1;}[_0x282c57(0x366)](_0x9ae0a3,_0x4dfe5c,_0x46b8a9){const _0x5eed19=_0x282c57;var _0x19f8e4;if(this[_0x5eed19(0x232)](_0x9ae0a3))return(_0x19f8e4=Li(_0x9ae0a3,_0x4dfe5c))==null?void 0x0:_0x19f8e4[_0x5eed19(0x545)];}[_0x282c57(0x2ba)](_0x583d4a,_0x8f82e2){const _0x521580=_0x282c57;let _0x4f48b2=this[_0x521580(0x20f)](_0x583d4a,_0x8f82e2[_0x521580(0x50c)]??{}),_0x23e8b7=_0x583d4a['fields'][_0x4f48b2[_0x521580(0x282)]];if(!_0x23e8b7||_0x23e8b7[_0x521580(0x4aa)]!==_0x239099[_0x521580(0x240)]||_0x23e8b7[_0x521580(0x473)]===!0x0||_0x23e8b7[_0x521580(0x43c)]===!0x0||!this[_0x521580(0x1c7)](_0x23e8b7)[_0x521580(0x2b4)])return{'type':_0x521580(0x269),'viewType':_0x1d9104[_0x521580(0x2c4)],'reason':_0x521580(0x50d),'fieldId':_0x4f48b2[_0x521580(0x282)]};let _0x2a11a3=_0x4f48b2[_0x521580(0x541)]?_0x583d4a[_0x521580(0x453)][_0x4f48b2[_0x521580(0x541)]]:void 0x0,_0x449af9=this['_projectRows'](_0x583d4a,_0x8f82e2);return{'type':_0x1d9104[_0x521580(0x2c4)],'config':_0x4f48b2,'fields':this[_0x521580(0x420)](_0x583d4a,_0x8f82e2),'rows':_0x449af9,'groups':this[_0x521580(0x348)](_0x583d4a,_0x8f82e2,_0x449af9),'events':_0x449af9[_0x521580(0x26a)](_0x14790b=>{const _0x3109a5=_0x521580;let _0x21ed1f=dn(_0x14790b[_0x3109a5(0x54e)][_0x4f48b2['startDateFieldId']]);if(!Number[_0x3109a5(0x210)](_0x21ed1f))return[];let _0x5388df=_0x14790b[_0x3109a5(0x54e)][_0x4f48b2['startDateFieldId']],_0xa96370=_0x4f48b2[_0x3109a5(0x541)]==null?void 0x0:_0x14790b[_0x3109a5(0x54e)][_0x4f48b2[_0x3109a5(0x541)]],_0x15905b=_0x4f48b2[_0x3109a5(0x541)]==null?void 0x0:dn(_0xa96370),_0x5e5aec=Number['isFinite'](_0x15905b)?_0x15905b:void 0x0;return[{'recordId':_0x14790b[_0x3109a5(0x40d)],'title':this[_0x3109a5(0x3f6)](_0x583d4a,_0x14790b,_0x4f48b2[_0x3109a5(0x430)]),'start':_0x21ed1f,'end':_0x5e5aec,'color':this[_0x3109a5(0x19b)](_0x583d4a,_0x14790b,_0x4f48b2),'startMs':_0x21ed1f,'endMs':_0x5e5aec,'allDay':this['_isAllDayCalendarEvent'](_0x23e8b7,_0x2a11a3,_0x5388df,_0xa96370),'fieldValues':_0x14790b[_0x3109a5(0x54e)]}];})};}[_0x282c57(0x20f)](_0x3ae2c0,_0x26d7e3){const _0x3aade6=_0x282c57;let _0xcaa385=this[_0x3aade6(0x394)](_0x3ae2c0,_0x26d7e3[_0x3aade6(0x282)]),_0x33599b=_0x26d7e3[_0x3aade6(0x541)]&&this[_0x3aade6(0x3eb)](_0x3ae2c0,_0x26d7e3[_0x3aade6(0x541)])?_0x26d7e3[_0x3aade6(0x541)]:this[_0x3aade6(0x295)](_0x3ae2c0,_0xcaa385)??void 0x0,_0x482e71=_0x26d7e3[_0x3aade6(0x430)]?_0x3ae2c0['fields'][_0x26d7e3[_0x3aade6(0x430)]]:void 0x0,_0x1585be=_0x482e71&&_0x482e71[_0x3aade6(0x43c)]!==!0x0&&_0x482e71[_0x3aade6(0x4aa)]!==_0x239099[_0x3aade6(0x205)]?_0x26d7e3[_0x3aade6(0x430)]:_0x3ae2c0[_0x3aade6(0x45c)],_0x2779f1=_0x26d7e3[_0x3aade6(0x321)]===_0x3aade6(0x511)||_0x26d7e3[_0x3aade6(0x321)]===_0x3aade6(0x36e)?_0x26d7e3[_0x3aade6(0x321)]:_0x3aade6(0x319),_0x564da3=_0x26d7e3['timeslotSize']===_0x3aade6(0x51f)||_0x26d7e3[_0x3aade6(0x3dc)]===_0x3aade6(0x21c)?_0x26d7e3['timeslotSize']:_0x3aade6(0x4c7),_0xc0b4c=typeof _0x26d7e3[_0x3aade6(0x350)]=='string'&&_0x26d7e3['timeZone'][_0x3aade6(0x24d)]()?_0x26d7e3[_0x3aade6(0x350)]:_0x3aade6(0x3d9),_0x119659=this['_normalizeCalendarDisplayColor'](_0x3ae2c0,_0x26d7e3);return{..._0x26d7e3,'startDateFieldId':_0xcaa385,'endDateFieldId':_0x33599b,'titleFieldId':_0x1585be,'mode':_0x2779f1,'timeslotSize':_0x564da3,'timeZone':_0xc0b4c,'displayColor':_0x119659,'fieldSettings':Object['fromEntries'](Object[_0x3aade6(0x41d)](_0x26d7e3[_0x3aade6(0x272)]??{})['filter'](([_0x423211])=>{const _0x1f3cd0=_0x3aade6;let _0x58fa97=_0x3ae2c0[_0x1f3cd0(0x453)][_0x423211];return!!(_0x58fa97&&_0x58fa97['system']!==!0x0&&_0x58fa97['type']!==_0x239099[_0x1f3cd0(0x205)]);}))};}[_0x282c57(0x394)](_0x56986a,_0x14d640){const _0x270eaf=_0x282c57;return _0x14d640&&this['_isCalendarDateField'](_0x56986a,_0x14d640)?_0x14d640:this[_0x270eaf(0x295)](_0x56986a)??_0x14d640??'';}[_0x282c57(0x295)](_0x1ee61b,_0x4c0630){const _0x279f56=_0x282c57;for(let _0x163fe9 of _0x1ee61b[_0x279f56(0x534)])if(_0x163fe9!==_0x4c0630&&this[_0x279f56(0x3eb)](_0x1ee61b,_0x163fe9))return _0x163fe9;return null;}[_0x282c57(0x3eb)](_0x3bedee,_0x33a061){const _0x1f0438=_0x282c57;let _0x345654=_0x3bedee['fields'][_0x33a061];return!!_0x345654&&_0x345654['type']===_0x239099[_0x1f0438(0x240)]&&_0x345654[_0x1f0438(0x473)]!==!0x0&&_0x345654[_0x1f0438(0x43c)]!==!0x0&&this['_capabilities'](_0x345654)[_0x1f0438(0x2b4)];}['_normalizeCalendarDisplayColor'](_0x4ef221,_0x56c9fa){const _0x24f44b=_0x282c57;let _0xb2d12f=_0x56c9fa[_0x24f44b(0x18c)];if((_0xb2d12f==null?void 0x0:_0xb2d12f[_0x24f44b(0x4aa)])===_0x24f44b(0x28d)){let _0xa9efa3=_0x4ef221['fields'][_0xb2d12f[_0x24f44b(0x387)]];if(_0xa9efa3&&_0xa9efa3[_0x24f44b(0x4aa)]===_0x239099[_0x24f44b(0x2fe)])return _0xb2d12f;}if((_0xb2d12f==null?void 0x0:_0xb2d12f[_0x24f44b(0x4aa)])===_0x24f44b(0x261)&&typeof _0xb2d12f['color']==_0x24f44b(0x3e3)&&_0xb2d12f[_0x24f44b(0x545)][_0x24f44b(0x24d)]())return{'type':_0x24f44b(0x261),'color':_0xb2d12f[_0x24f44b(0x545)]};if(_0x56c9fa[_0x24f44b(0x2a9)]){let _0x139587=_0x4ef221[_0x24f44b(0x453)][_0x56c9fa[_0x24f44b(0x2a9)]];if(_0x139587&&_0x139587['type']===_0x239099['SingleSelect'])return{'type':_0x24f44b(0x28d),'fieldId':_0x56c9fa[_0x24f44b(0x2a9)]};}return{'type':_0x24f44b(0x261),'color':_0x24f44b(0x329)};}[_0x282c57(0x19b)](_0x3472d3,_0x65463d,_0x2f108a){const _0x153007=_0x282c57;let _0x28ed14=_0x2f108a[_0x153007(0x18c)];if((_0x28ed14==null?void 0x0:_0x28ed14[_0x153007(0x4aa)])===_0x153007(0x28d)){var _0x448b18;let _0x40015e=_0x3472d3['fields'][_0x28ed14[_0x153007(0x387)]];if(!_0x40015e)return;let _0x59858f=_0x65463d[_0x153007(0x54e)][_0x28ed14[_0x153007(0x387)]],_0x476694=Array[_0x153007(0x3d5)](_0x59858f)?_0x59858f[0x0]:_0x59858f;return _0x476694==null||(_0x448b18=Li(_0x40015e,String(_0x476694)))==null?void 0x0:_0x448b18[_0x153007(0x545)];}if((_0x28ed14==null?void 0x0:_0x28ed14[_0x153007(0x4aa)])==='custom')return _0x28ed14['color'];}[_0x282c57(0x312)](_0x4379de,_0x3d167a,_0x113bfb,_0x1fc7c4){const _0x207910=_0x282c57;var _0x3795ac,_0x4ad493;let _0x3b4830=((_0x3795ac=_0x4379de[_0x207910(0x50c)])==null?void 0x0:_0x3795ac[_0x207910(0x39b)])===!0x0,_0x6d511b=(_0x3d167a==null||(_0x4ad493=_0x3d167a[_0x207910(0x50c)])==null?void 0x0:_0x4ad493[_0x207910(0x39b)])===!0x0;return!_0x3b4830&&!_0x6d511b;}[_0x282c57(0x3d4)](_0x55c2d9,_0x3d506a){const _0x10a24b=_0x282c57;var _0x2fbca3,_0x778fb7;let _0x40cdcb=((_0x2fbca3=_0x55c2d9[_0x10a24b(0x50c)])==null?void 0x0:_0x2fbca3[_0x10a24b(0x39b)])===!0x0,_0xaa4488=((_0x778fb7=_0x3d506a[_0x10a24b(0x50c)])==null?void 0x0:_0x778fb7['includeTime'])===!0x0;return!_0x40cdcb&&!_0xaa4488;}['_buildGantt'](_0x45f54f,_0x3bf5a2){const _0x5c551d=_0x282c57;let _0x34c38b=this[_0x5c551d(0x52e)](_0x45f54f,_0x3bf5a2[_0x5c551d(0x50c)]),_0x123178=_0x45f54f['fields'][_0x34c38b[_0x5c551d(0x282)]];if(!_0x123178||_0x123178[_0x5c551d(0x4aa)]!==_0x239099['Date']||_0x123178[_0x5c551d(0x473)]===!0x0||_0x123178[_0x5c551d(0x43c)]===!0x0||!this[_0x5c551d(0x1c7)](_0x123178)[_0x5c551d(0x315)])return{'type':_0x5c551d(0x269),'viewType':_0x1d9104['Gantt'],'reason':_0x5c551d(0x1bf),'fieldId':_0x34c38b[_0x5c551d(0x282)]};let _0xb3ac61=_0x45f54f[_0x5c551d(0x453)][_0x34c38b['endDateFieldId']];if(!_0xb3ac61||_0xb3ac61[_0x5c551d(0x4aa)]!==_0x239099[_0x5c551d(0x240)]||_0xb3ac61[_0x5c551d(0x473)]===!0x0||_0xb3ac61['system']===!0x0||!this[_0x5c551d(0x1c7)](_0xb3ac61)[_0x5c551d(0x354)])return{'type':'invalid','viewType':_0x1d9104[_0x5c551d(0x46b)],'reason':_0x5c551d(0x4d6),'fieldId':_0x34c38b[_0x5c551d(0x541)]};let _0x5c689f=this[_0x5c551d(0x3d4)](_0x123178,_0xb3ac61),_0x47ef0d=this[_0x5c551d(0x2b1)](_0x45f54f,_0x3bf5a2),_0x3136c4=_0x47ef0d['flatMap'](_0x530d61=>{const _0x1598b7=_0x5c551d;let _0x4c8df3=dn(_0x530d61[_0x1598b7(0x54e)][_0x34c38b[_0x1598b7(0x282)]]),_0x1a3a93=dn(_0x530d61[_0x1598b7(0x54e)][_0x34c38b[_0x1598b7(0x541)]]);if(!Number[_0x1598b7(0x210)](_0x4c8df3)||!Number[_0x1598b7(0x210)](_0x1a3a93))return[];let _0xd18209=Math[_0x1598b7(0x520)](_0x4c8df3,_0x1a3a93),_0x3eb0db=Math[_0x1598b7(0x468)](_0x4c8df3,_0x1a3a93),_0x4ce54a=_0x34c38b[_0x1598b7(0x2cb)]==null?void 0x0:Number(_0x530d61['values'][_0x34c38b[_0x1598b7(0x2cb)]]);return[{'recordId':_0x530d61[_0x1598b7(0x40d)],'title':this[_0x1598b7(0x3f6)](_0x45f54f,_0x530d61,_0x34c38b['titleFieldId']),'start':_0xd18209,'end':_0x3eb0db,'color':this[_0x1598b7(0x449)](_0x45f54f,_0x530d61,_0x34c38b),'progress':Number['isFinite'](_0x4ce54a)?_0x4ce54a:void 0x0,'workingDayCount':_0x34c38b[_0x1598b7(0x533)]?Ti(_0xd18209,_0x3eb0db,_0x34c38b['workingDays']):void 0x0,'dependencyRecordIds':this[_0x1598b7(0x52c)](_0x530d61[_0x1598b7(0x54e)][_0x34c38b[_0x1598b7(0x213)]??''])}];}),_0x389ea3=_0x3136c4['length']?Z(Math['min'](..._0x3136c4[_0x5c551d(0x309)](_0x550009=>_0x550009[_0x5c551d(0x230)]))-0x5a*oi):Z(Date[_0x5c551d(0x42b)]()-0x5a*oi),_0x4aca67=_0x3136c4['length']?Z(Math[_0x5c551d(0x468)](..._0x3136c4['map'](_0x4e937f=>_0x4e937f['end']))+0x5b*oi):Z(Date['now']()+0x5b*oi),_0x3213f9=_i(_0x34c38b[_0x5c551d(0x33f)],_0x389ea3,_0x4aca67,_0x34c38b[_0x5c551d(0x533)]?_0x34c38b[_0x5c551d(0x378)]:void 0x0);return{'type':_0x1d9104[_0x5c551d(0x46b)],'fields':this['_projectFields'](_0x45f54f,{..._0x3bf5a2,'config':_0x34c38b}),'rows':_0x47ef0d,'groups':this[_0x5c551d(0x348)](_0x45f54f,_0x3bf5a2,_0x47ef0d),'config':_0x34c38b,'dateRangeAllDay':_0x5c689f,'timeline':{'scale':_0x34c38b[_0x5c551d(0x33f)],'start':_0x389ea3,'end':_0x4aca67,'unitWidth':_0x3213f9[_0x5c551d(0x419)],'majorHeaders':_0x3213f9[_0x5c551d(0x483)],'columns':_0x3213f9[_0x5c551d(0x297)]},'bars':_0x3136c4};}[_0x282c57(0x52e)](_0x2270cc,_0xce8c4f){const _0x84cd69=_0x282c57;let _0x3c43c8=this[_0x84cd69(0x4ff)](_0x2270cc,_0xce8c4f['startDateFieldId'],'start'),_0x47596d=this[_0x84cd69(0x4ff)](_0x2270cc,_0xce8c4f[_0x84cd69(0x541)],_0x84cd69(0x248))||_0x3c43c8,_0xd221ce=_0xce8c4f[_0x84cd69(0x430)]?_0x2270cc[_0x84cd69(0x453)][_0xce8c4f[_0x84cd69(0x430)]]:void 0x0,_0x47cd26=_0xd221ce&&_0xd221ce[_0x84cd69(0x43c)]!==!0x0&&_0xd221ce[_0x84cd69(0x4aa)]!==_0x239099[_0x84cd69(0x205)]?_0xce8c4f[_0x84cd69(0x430)]:_0x2270cc[_0x84cd69(0x45c)],_0xd7219d=_0xce8c4f[_0x84cd69(0x33f)]==='week'||_0xce8c4f[_0x84cd69(0x33f)]===_0x84cd69(0x509)||_0xce8c4f[_0x84cd69(0x33f)]===_0x84cd69(0x51c)?_0xce8c4f[_0x84cd69(0x33f)]:_0x84cd69(0x319),_0x2961b3=gi(_0xce8c4f[_0x84cd69(0x378)]);return{..._0xce8c4f,'startDateFieldId':_0x3c43c8,'endDateFieldId':_0x47596d,'titleFieldId':_0x47cd26,'scale':_0xd7219d,'leftPaneWidth':typeof _0xce8c4f[_0x84cd69(0x285)]==_0x84cd69(0x389)?_0xce8c4f[_0x84cd69(0x285)]:void 0x0,'leftPaneCollapsed':_0xce8c4f[_0x84cd69(0x280)]===!0x0,'showTodayLine':_0xce8c4f[_0x84cd69(0x54a)]!==!0x1,'displayColor':this['_normalizeGanttDisplayColor'](_0x2270cc,_0xce8c4f),'fieldSettings':Object[_0x84cd69(0x1af)](Object[_0x84cd69(0x41d)](_0xce8c4f[_0x84cd69(0x272)]??{})[_0x84cd69(0x4cc)](([_0x4dc4c9])=>{const _0x41ae29=_0x84cd69;let _0x2e1f4f=_0x2270cc[_0x41ae29(0x453)][_0x4dc4c9];return!!(_0x2e1f4f&&_0x2e1f4f[_0x41ae29(0x43c)]!==!0x0&&_0x2e1f4f[_0x41ae29(0x4aa)]!==_0x239099['RecordId']);})),'workingDaysOnly':_0xce8c4f[_0x84cd69(0x533)]===!0x0,'workingDays':_0x2961b3};}[_0x282c57(0x4ff)](_0x842770,_0x52134c,_0x593d75){const _0x41ca83=_0x282c57;if(_0x52134c&&this[_0x41ca83(0x30d)](_0x842770,_0x52134c,_0x593d75)||_0x52134c)return _0x52134c;for(let _0xfdc770 of _0x842770[_0x41ca83(0x534)])if(this['_isGanttDateField'](_0x842770,_0xfdc770,_0x593d75))return _0xfdc770;return _0x52134c??'';}[_0x282c57(0x30d)](_0x3360ca,_0x372b25,_0x4a9dc4){const _0x22128a=_0x282c57;let _0x197249=_0x3360ca[_0x22128a(0x453)][_0x372b25];if(!_0x197249||_0x197249[_0x22128a(0x4aa)]!==_0x239099['Date']||_0x197249[_0x22128a(0x473)]===!0x0||_0x197249[_0x22128a(0x43c)]===!0x0)return!0x1;let _0x1b1f55=this[_0x22128a(0x1c7)](_0x197249);return _0x4a9dc4===_0x22128a(0x230)?_0x1b1f55[_0x22128a(0x315)]:_0x1b1f55[_0x22128a(0x354)];}[_0x282c57(0x518)](_0xd21355,_0x2f8b6a){const _0xa5ad03=_0x282c57;let _0x2bde73=_0x2f8b6a[_0xa5ad03(0x18c)];if((_0x2bde73==null?void 0x0:_0x2bde73['type'])==='selectField'){let _0x37485c=_0xd21355[_0xa5ad03(0x453)][_0x2bde73[_0xa5ad03(0x387)]];if(_0x37485c&&_0x37485c[_0xa5ad03(0x4aa)]===_0x239099['SingleSelect'])return _0x2bde73;}return(_0x2bde73==null?void 0x0:_0x2bde73[_0xa5ad03(0x4aa)])===_0xa5ad03(0x38d)&&Array[_0xa5ad03(0x3d5)](_0x2bde73[_0xa5ad03(0x1dd)])?{'type':_0xa5ad03(0x38d),'rules':_0x2bde73[_0xa5ad03(0x1dd)]['filter'](_0x12339c=>!!_0xd21355['fields'][_0x12339c[_0xa5ad03(0x387)]])}:(_0x2bde73==null?void 0x0:_0x2bde73[_0xa5ad03(0x4aa)])===_0xa5ad03(0x261)&&typeof _0x2bde73[_0xa5ad03(0x545)]==_0xa5ad03(0x3e3)&&_0x2bde73['color'][_0xa5ad03(0x24d)]()?{'type':_0xa5ad03(0x261),'color':_0x2bde73[_0xa5ad03(0x545)]}:{'type':_0xa5ad03(0x261),'color':_0xa5ad03(0x351)};}['_ganttBarColor'](_0x19e6ed,_0x266944,_0x3b623b){const _0x215a4c=_0x282c57;let _0x266cd9=_0x3b623b[_0x215a4c(0x18c)];if((_0x266cd9==null?void 0x0:_0x266cd9[_0x215a4c(0x4aa)])===_0x215a4c(0x38d)){let _0x473219=_0x266cd9[_0x215a4c(0x1dd)]['find'](_0x418d00=>this[_0x215a4c(0x221)](_0x19e6ed,_0x266944,_0x418d00));if(_0x473219)return _0x473219[_0x215a4c(0x545)];}if((_0x266cd9==null?void 0x0:_0x266cd9[_0x215a4c(0x4aa)])===_0x215a4c(0x28d)){let _0xd32570=_0x19e6ed[_0x215a4c(0x453)][_0x266cd9[_0x215a4c(0x387)]];if(_0xd32570){var _0x308290;let _0x2aa152=_0x266944[_0x215a4c(0x54e)][_0x266cd9['fieldId']],_0x4b8c97=Array[_0x215a4c(0x3d5)](_0x2aa152)?_0x2aa152[0x0]:_0x2aa152,_0x178c56=_0x4b8c97==null||(_0x308290=Li(_0xd32570,String(_0x4b8c97)))==null?void 0x0:_0x308290[_0x215a4c(0x545)];if(_0x178c56)return _0x178c56;}}return(_0x266cd9==null?void 0x0:_0x266cd9[_0x215a4c(0x4aa)])==='custom'?_0x266cd9[_0x215a4c(0x545)]:'#14b8a6';}[_0x282c57(0x221)](_0x10f8bb,_0x3d46ff,_0x2844bb){const _0x1c5282=_0x282c57;let _0x2aecf4=_0x10f8bb[_0x1c5282(0x453)][_0x2844bb[_0x1c5282(0x387)]];return _0x2aecf4?xn(_0x3d46ff['values'][_0x2aecf4['id']],_0x2844bb['operator'],_0x2844bb[_0x1c5282(0x24c)],_0x2aecf4,{'dateMode':_0x2844bb[_0x1c5282(0x51a)]}):!0x1;}[_0x282c57(0x3e6)](_0x591ff1,_0x32bf9e){const _0x8b3566=_0x282c57;let _0x56c551=this['_projectRows'](_0x591ff1,_0x32bf9e),_0x226729=this['_normalizeGalleryConfig'](_0x591ff1,_0x32bf9e['config']??{}),_0x203232=this['_projectFields'](_0x591ff1,_0x32bf9e);return{'type':_0x1d9104[_0x8b3566(0x2dd)],'fields':_0x203232,'rows':_0x56c551,'groups':this[_0x8b3566(0x348)](_0x591ff1,_0x32bf9e,_0x56c551),'titleFieldId':_0x226729[_0x8b3566(0x1c6)][_0x8b3566(0x430)],'coverFieldId':_0x226729[_0x8b3566(0x2b6)],'cardLayout':_0x226729[_0x8b3566(0x316)]??_0x8b3566(0x3b3),'showFieldNames':_0x226729[_0x8b3566(0x299)]!==!0x1,'visibleCardFieldIds':this[_0x8b3566(0x36f)](_0x591ff1,_0x32bf9e,_0x226729),'cardSize':_0x226729[_0x8b3566(0x4a4)]??_0x8b3566(0x4c7),'cards':_0x56c551['map'](_0x7c0c73=>({'recordId':_0x7c0c73[_0x8b3566(0x40d)],'title':this['_title'](_0x591ff1,_0x7c0c73,_0x226729['card']['titleFieldId']),'values':_0x7c0c73['values']}))};}[_0x282c57(0x472)](_0x1b94d5,_0x2d80f0){const _0x28b29d=_0x282c57;let _0x35d95c=_0x2d80f0[_0x28b29d(0x1c6)]??{'fieldIds':[]},_0x19d546=this['_resolveCardTitleFieldId'](_0x1b94d5,_0x35d95c[_0x28b29d(0x430)]),_0x593d5a=this[_0x28b29d(0x278)](_0x1b94d5,_0x2d80f0),_0x224cc1=_0x2d80f0[_0x28b29d(0x4a4)]===_0x28b29d(0x52d)||_0x2d80f0[_0x28b29d(0x4a4)]===_0x28b29d(0x30f)?_0x2d80f0[_0x28b29d(0x4a4)]:'medium';return{..._0x2d80f0,'coverFieldId':_0x593d5a,'cardLayout':_0x2d80f0[_0x28b29d(0x316)]==='compose'?_0x28b29d(0x3ad):'normal','showFieldNames':_0x2d80f0[_0x28b29d(0x299)]!==!0x1,'fieldSettings':Object['fromEntries'](Object[_0x28b29d(0x41d)](_0x2d80f0[_0x28b29d(0x272)]??{})[_0x28b29d(0x4cc)](([_0x5629b8])=>{const _0x4901bd=_0x28b29d;let _0x32ad9e=_0x1b94d5[_0x4901bd(0x453)][_0x5629b8];return!!(_0x32ad9e&&_0x32ad9e[_0x4901bd(0x43c)]!==!0x0&&_0x32ad9e[_0x4901bd(0x4aa)]!==_0x239099['RecordId']);})),'card':{..._0x35d95c,'titleFieldId':_0x19d546,'coverFieldId':_0x593d5a,'fieldIds':Array[_0x28b29d(0x3d5)](_0x35d95c[_0x28b29d(0x25f)])?_0x35d95c[_0x28b29d(0x25f)]:[]},'cardSize':_0x224cc1};}[_0x282c57(0x55a)](_0x2c095b,_0x4d4c86){const _0x13e7ea=_0x282c57;let _0x17e9ee=_0x4d4c86?_0x2c095b['fields'][_0x4d4c86]:void 0x0;return _0x17e9ee&&_0x17e9ee[_0x13e7ea(0x43c)]!==!0x0&&_0x17e9ee['type']!==_0x239099['RecordId']?_0x17e9ee['id']:Zr(_0x2c095b);}[_0x282c57(0x278)](_0x1eafad,_0x9e6b4f){const _0x260a71=_0x282c57;var _0x11ca0d;let _0xee8502=_0x9e6b4f[_0x260a71(0x2b6)]??((_0x11ca0d=_0x9e6b4f['card'])==null?void 0x0:_0x11ca0d['coverFieldId'])??null;if(!_0xee8502)return null;let _0x29412a=_0x1eafad[_0x260a71(0x453)][_0xee8502];return _0x29412a&&this[_0x260a71(0x1c7)](_0x29412a)['usableAsCardCover']?_0x29412a['id']:null;}[_0x282c57(0x36f)](_0x17a80c,_0x453d83,_0x5b63aa){const _0x1261e5=_0x282c57;var _0x3efd08,_0x29fa8b,_0x54ae59;let _0x4794a1=_0x5b63aa[_0x1261e5(0x272)]??{},_0x164cd9=((_0x3efd08=_0x5b63aa[_0x1261e5(0x1c6)])==null?void 0x0:_0x3efd08[_0x1261e5(0x430)])??Zr(_0x17a80c),_0x52f93d=_0x5b63aa[_0x1261e5(0x2b6)]??((_0x29fa8b=_0x5b63aa[_0x1261e5(0x1c6)])==null?void 0x0:_0x29fa8b[_0x1261e5(0x2b6)])??null,_0x4bce79=(_0x54ae59=_0x5b63aa[_0x1261e5(0x1c6)])!=null&&(_0x54ae59=_0x54ae59[_0x1261e5(0x25f)])!=null&&_0x54ae59['length']?_0x5b63aa[_0x1261e5(0x1c6)][_0x1261e5(0x25f)]:Qr(_0x17a80c,[_0x164cd9,_0x52f93d,_0x17a80c[_0x1261e5(0x45c)]]);return _0x4bce79[_0x1261e5(0x4cc)](_0x2d6b54=>{const _0x442f7f=_0x1261e5;var _0x540b47,_0x1557fe;let _0x3ef7d5=_0x17a80c[_0x442f7f(0x453)][_0x2d6b54];return!(!_0x3ef7d5||_0x3ef7d5[_0x442f7f(0x43c)]===!0x0||_0x3ef7d5[_0x442f7f(0x4aa)]===_0x239099[_0x442f7f(0x205)]||_0x3ef7d5['id']===_0x164cd9||_0x3ef7d5['id']===_0x52f93d||(_0x540b47=_0x453d83['fieldSettings'])!=null&&(_0x540b47=_0x540b47[_0x2d6b54])!=null&&_0x540b47[_0x442f7f(0x194)]||(_0x1557fe=_0x4794a1[_0x2d6b54])!=null&&_0x1557fe[_0x442f7f(0x194)]);})[_0x1261e5(0x1df)]((_0x2609a8,_0x56d7e7)=>{const _0x1270af=_0x1261e5;var _0x3ec70a,_0x3e2523;return(((_0x3ec70a=_0x4794a1[_0x2609a8])==null?void 0x0:_0x3ec70a[_0x1270af(0x51d)])??_0x4bce79[_0x1270af(0x1f4)](_0x2609a8))-(((_0x3e2523=_0x4794a1[_0x56d7e7])==null?void 0x0:_0x3e2523[_0x1270af(0x51d)])??_0x4bce79[_0x1270af(0x1f4)](_0x56d7e7));});}[_0x282c57(0x420)](_0x5bafae,_0x5d1712){const _0x1b17b1=_0x282c57;var _0x380127;return((_0x380127=_0x5d1712['fieldOrder'])!=null&&_0x380127['length']?_0x5d1712[_0x1b17b1(0x534)]:_0x5bafae[_0x1b17b1(0x534)])[_0x1b17b1(0x26a)](_0x17be38=>{const _0x4d7f7c=_0x1b17b1;var _0x5ad388;let _0x14348e=_0x5bafae[_0x4d7f7c(0x453)][_0x17be38],_0x38a090=((_0x5ad388=_0x5d1712[_0x4d7f7c(0x272)])==null?void 0x0:_0x5ad388[_0x17be38])??{};return!_0x14348e||_0x14348e['system']===!0x0||_0x14348e['type']===_0x239099[_0x4d7f7c(0x205)]||_0x38a090[_0x4d7f7c(0x194)]?[]:[{'id':_0x14348e['id'],'name':_0x14348e[_0x4d7f7c(0x2f4)],'description':_0x14348e[_0x4d7f7c(0x290)],'type':_0x14348e[_0x4d7f7c(0x4aa)],'config':_0x14348e['config'],'width':_0x38a090[_0x4d7f7c(0x361)],'setting':_0x38a090}];});}[_0x282c57(0x2b1)](_0x23e6b7,_0x4315ff){const _0x109bd4=_0x282c57;var _0x350477;return I(_0x109bd4(0x40e),()=>{const _0x58e41e=_0x109bd4;var _0xb9aacb,_0xc2579d;let _0x1fe4ac=this[_0x58e41e(0x36d)](_0x23e6b7),_0x5120af=this[_0x58e41e(0x47d)](_0x23e6b7['id'],_0x4315ff),_0x1c3a8a=this[_0x58e41e(0x2c9)](_0x23e6b7['id']),_0x4b59ca=this[_0x58e41e(0x494)][_0x58e41e(0x268)](_0x5120af);if(_0x4b59ca&&_0x4b59ca[_0x58e41e(0x271)]===this[_0x58e41e(0x492)]&&_0x4b59ca[_0x58e41e(0x332)]===this['_getTableRevision'](_0x23e6b7['id'])){if(_0x4b59ca['cellRevision']===_0x1c3a8a&&_0x4b59ca[_0x58e41e(0x38f)]===_0x1fe4ac)return _0x4b59ca[_0x58e41e(0x535)];if(_0x4b59ca[_0x58e41e(0x29f)]!==_0x1c3a8a&&!this[_0x58e41e(0x3c4)](_0x23e6b7['id'],_0x4b59ca[_0x58e41e(0x29f)],_0x1c3a8a,this[_0x58e41e(0x255)](_0x4315ff))){let _0x6a7a4c=_0x4b59ca['rows']===_0x4b59ca['baseRows']?_0x1fe4ac:this[_0x58e41e(0x50a)](_0x4b59ca[_0x58e41e(0x535)],_0x1fe4ac);if(_0x6a7a4c)return this[_0x58e41e(0x494)]['set'](_0x5120af,{..._0x4b59ca,'rows':_0x6a7a4c,'baseRows':_0x1fe4ac,'cellRevision':_0x1c3a8a}),_0x6a7a4c;}}let _0x7ddcc3=I(_0x58e41e(0x47f),()=>this['_sortRows'](_0x23e6b7,_0x4315ff,this[_0x58e41e(0x527)](_0x23e6b7,_0x4315ff,_0x1fe4ac)),{'tableId':_0x23e6b7['id'],'viewId':_0x4315ff==null?void 0x0:_0x4315ff['id'],'viewType':_0x4315ff==null?void 0x0:_0x4315ff[_0x58e41e(0x4aa)],'rows':_0x1fe4ac['length'],'filters':(_0x4315ff==null||(_0xb9aacb=_0x4315ff[_0x58e41e(0x4cc)])==null?void 0x0:_0xb9aacb[_0x58e41e(0x3d8)]['length'])??0x0,'sorts':(_0x4315ff==null||(_0xc2579d=_0x4315ff[_0x58e41e(0x1df)])==null?void 0x0:_0xc2579d[_0x58e41e(0x4ab)])??0x0});return this[_0x58e41e(0x494)]['set'](_0x5120af,{'table':_0x23e6b7,'rows':_0x7ddcc3,'baseRows':_0x1fe4ac,'globalRevision':this[_0x58e41e(0x492)],'tableRevision':this[_0x58e41e(0x398)](_0x23e6b7['id']),'cellRevision':_0x1c3a8a}),_0x7ddcc3;},{'tableId':_0x23e6b7['id'],'viewId':_0x4315ff==null?void 0x0:_0x4315ff['id'],'viewType':_0x4315ff==null?void 0x0:_0x4315ff[_0x109bd4(0x4aa)],'records':((_0x350477=_0x23e6b7[_0x109bd4(0x413)])==null?void 0x0:_0x350477[_0x109bd4(0x4ab)])??Object[_0x109bd4(0x334)](_0x23e6b7[_0x109bd4(0x1e1)]??{})[_0x109bd4(0x4ab)]});}['_projectTableRows'](_0x84dd43){const _0x3264d3=_0x282c57;var _0x1186bf;return I(_0x3264d3(0x275),()=>{const _0x112302=_0x3264d3;var _0x202b25;let _0x496e61=this['_getCellRevision'](_0x84dd43['id']),_0xaec28a=this['_projectedRowsCache'][_0x112302(0x268)](_0x84dd43['id']);if(_0xaec28a&&_0xaec28a[_0x112302(0x271)]===this[_0x112302(0x492)]&&_0xaec28a[_0x112302(0x332)]===this[_0x112302(0x398)](_0x84dd43['id'])){if(_0xaec28a[_0x112302(0x29f)]===_0x496e61&&fi(_0xaec28a[_0x112302(0x270)],_0x84dd43))return _0xaec28a[_0x112302(0x270)]=_0x84dd43,_0xaec28a[_0x112302(0x535)];let _0x5835b1=this[_0x112302(0x40a)](_0x84dd43,_0xaec28a,_0x496e61);if(_0x5835b1)return _0x5835b1;}ui(_0x84dd43)||L(_0x84dd43);let _0xf1daf8=(_0x202b25=_0x84dd43[_0x112302(0x413)])!=null&&_0x202b25['length']?_0x84dd43[_0x112302(0x413)]:hi(_0x84dd43[_0x112302(0x1e1)]),_0x1de124=I(_0x112302(0x3e4),()=>{const _0x578df3=_0x112302;let _0x193c2f=[];for(let _0x152ee6 of _0xf1daf8){let _0x11591c=_0x84dd43[_0x578df3(0x1e1)][_0x152ee6];if(!_0x11591c)continue;let _0x39f0a4={};for(let _0x5379d1 of _0x84dd43[_0x578df3(0x534)])_0x39f0a4[_0x5379d1]=yt(_0x84dd43,_0x11591c['id'],_0x5379d1);_0x193c2f['push']({'recordId':_0x11591c['id'],'values':_0x39f0a4});}return _0x193c2f;},{'tableId':_0x84dd43['id'],'records':_0xf1daf8[_0x112302(0x4ab)],'fields':_0x84dd43[_0x112302(0x534)][_0x112302(0x4ab)]});return this[_0x112302(0x4c5)][_0x112302(0x246)](_0x84dd43['id'],{'table':_0x84dd43,'rows':_0x1de124,'rowIndexById':li(_0x1de124),'globalRevision':this[_0x112302(0x492)],'tableRevision':this[_0x112302(0x398)](_0x84dd43['id']),'cellRevision':_0x496e61}),_0x1de124;},{'tableId':_0x84dd43['id'],'records':((_0x1186bf=_0x84dd43[_0x3264d3(0x413)])==null?void 0x0:_0x1186bf['length'])??Object[_0x3264d3(0x334)](_0x84dd43[_0x3264d3(0x1e1)]??{})[_0x3264d3(0x4ab)],'fields':_0x84dd43['fieldOrder']['length']});}['_patchProjectedRowsForCellInvalidations'](_0x2ae1fb,_0x151142,_0x4833f3){const _0x5559fb=_0x282c57;let _0x470bae=(this['_cellInvalidations']['get'](_0x2ae1fb['id'])??[])[_0x5559fb(0x4cc)](_0x5efe48=>_0x5efe48[_0x5559fb(0x258)]>_0x151142[_0x5559fb(0x29f)]&&_0x5efe48[_0x5559fb(0x258)]<=_0x4833f3);if(!_0x470bae[_0x5559fb(0x4ab)])return _0x151142[_0x5559fb(0x270)]===_0x2ae1fb?_0x151142[_0x5559fb(0x535)]:null;let _0x4ef977=_0x151142[_0x5559fb(0x535)],_0x210e10=new Map();for(let _0x2e23c8 of _0x470bae){let _0x53f483=_0x210e10['get'](_0x2e23c8[_0x5559fb(0x40d)]);_0x53f483||(_0x53f483=new Set(),_0x210e10['set'](_0x2e23c8[_0x5559fb(0x40d)],_0x53f483)),_0x53f483['add'](_0x2e23c8[_0x5559fb(0x387)]);}for(let [_0x94ad3,_0x1bab00]of _0x210e10){if(!_0x2ae1fb[_0x5559fb(0x1e1)][_0x94ad3])return null;let _0x42ab02=_0x151142[_0x5559fb(0x503)][_0x5559fb(0x268)](_0x94ad3);if(_0x42ab02==null)return null;_0x4ef977===_0x151142[_0x5559fb(0x535)]&&(_0x4ef977=[..._0x151142[_0x5559fb(0x535)]]);let _0x14f4cd=_0x4ef977[_0x42ab02],_0x575e04={..._0x14f4cd[_0x5559fb(0x54e)]};_0x1bab00[_0x5559fb(0x34b)](_0x2d6011=>{_0x575e04[_0x2d6011]=yt(_0x2ae1fb,_0x94ad3,_0x2d6011);}),_0x4ef977[_0x42ab02]={..._0x14f4cd,'values':_0x575e04};}let _0x50afc6={'table':_0x2ae1fb,'rows':_0x4ef977,'rowIndexById':_0x151142[_0x5559fb(0x503)],'globalRevision':this['_globalRevision'],'tableRevision':this[_0x5559fb(0x398)](_0x2ae1fb['id']),'cellRevision':_0x4833f3};return this['_projectedRowsCache']['set'](_0x2ae1fb['id'],_0x50afc6),this[_0x5559fb(0x4bc)][_0x5559fb(0x246)](_0x2ae1fb['id'],(this[_0x5559fb(0x4bc)]['get'](_0x2ae1fb['id'])??[])['filter'](_0x5a0924=>_0x5a0924[_0x5559fb(0x258)]>Math[_0x5559fb(0x468)](0x0,_0x4833f3-0x100))),_0x4ef977;}[_0x282c57(0x50a)](_0x48d95c,_0x1f07b9){const _0x5581bc=_0x282c57;let _0x25bd3b=new Map(_0x1f07b9['map'](_0x1d644a=>[_0x1d644a[_0x5581bc(0x40d)],_0x1d644a])),_0x4fd57e=!0x1,_0x2b568d=_0x48d95c[_0x5581bc(0x309)](_0x180f4e=>{const _0x5daebc=_0x5581bc;let _0x120e73=_0x25bd3b[_0x5daebc(0x268)](_0x180f4e[_0x5daebc(0x40d)]);return _0x120e73?_0x120e73===_0x180f4e?_0x180f4e:(_0x4fd57e=!0x0,_0x120e73):_0x180f4e;});return _0x4fd57e?_0x2b568d:_0x48d95c;}[_0x282c57(0x3c4)](_0x2a343d,_0x22ec13,_0x372522,_0x1c4c11){const _0x3689ee=_0x282c57;return!_0x1c4c11[_0x3689ee(0x286)]||_0x22ec13===_0x372522?!0x1:_0x372522-_0x22ec13>0x100||(this[_0x3689ee(0x4bc)]['get'](_0x2a343d)??[])[_0x3689ee(0x436)](_0x48b0a0=>_0x48b0a0[_0x3689ee(0x258)]>_0x22ec13&&_0x48b0a0['revision']<=_0x372522&&_0x1c4c11[_0x3689ee(0x25c)](_0x48b0a0['fieldId']));}[_0x282c57(0x255)](_0x38a918){const _0x18d88c=_0x282c57;var _0x312e55,_0x1fa3fc;let _0x4b7f37=new Set();return _0x38a918==null||(_0x312e55=_0x38a918[_0x18d88c(0x4cc)])==null||_0x312e55[_0x18d88c(0x3d8)][_0x18d88c(0x34b)](_0x663166=>_0x4b7f37[_0x18d88c(0x551)](_0x663166['fieldId'])),_0x38a918==null||(_0x1fa3fc=_0x38a918[_0x18d88c(0x1df)])==null||_0x1fa3fc['forEach'](_0x4020c7=>_0x4b7f37[_0x18d88c(0x551)](_0x4020c7[_0x18d88c(0x387)])),_0x4b7f37;}[_0x282c57(0x215)](_0xa8b314){const _0x5c19f0=_0x282c57;var _0xca3cdf;let _0x33ed8b=this[_0x5c19f0(0x255)](_0xa8b314);return(_0xca3cdf=_0xa8b314[_0x5c19f0(0x359)])==null||_0xca3cdf[_0x5c19f0(0x34b)](_0x5ce0b8=>_0x33ed8b['add'](_0x5ce0b8[_0x5c19f0(0x387)])),_0x33ed8b;}[_0x282c57(0x527)](_0x38c1fd,_0x2f0b2e,_0x3ac95f){const _0x468dfb=_0x282c57;let _0x40c300=_0x2f0b2e==null?void 0x0:_0x2f0b2e[_0x468dfb(0x4cc)];if(!(_0x40c300!=null&&_0x40c300[_0x468dfb(0x3d8)][_0x468dfb(0x4ab)]))return _0x3ac95f;let _0x1a97ea=_0x40c300[_0x468dfb(0x3d8)][_0x468dfb(0x4cc)](_0x247e27=>!Ii(_0x247e27));return _0x1a97ea[_0x468dfb(0x4ab)]?_0x3ac95f[_0x468dfb(0x4cc)](_0x2b7cbe=>{const _0x149323=_0x468dfb;if(_0x40c300[_0x149323(0x32c)]===_0x2528f1['OR']){for(let _0x10f3c3 of _0x1a97ea){let _0x2e89ed=_0x38c1fd[_0x149323(0x453)][_0x10f3c3[_0x149323(0x387)]];if(!_0x2e89ed||this[_0x149323(0x395)]['get'](_0x2e89ed['type'])[_0x149323(0x4cc)](_0x2b7cbe['values'][_0x2e89ed['id']],_0x10f3c3[_0x149323(0x307)],_0x10f3c3[_0x149323(0x24c)],_0x2e89ed))return!0x0;}return!0x1;}for(let _0x4bba4e of _0x1a97ea){let _0x1be4c6=_0x38c1fd[_0x149323(0x453)][_0x4bba4e['fieldId']];if(_0x1be4c6&&!this['_fieldRegistry'][_0x149323(0x268)](_0x1be4c6[_0x149323(0x4aa)])[_0x149323(0x4cc)](_0x2b7cbe['values'][_0x1be4c6['id']],_0x4bba4e['operator'],_0x4bba4e[_0x149323(0x24c)],_0x1be4c6))return!0x1;}return!0x0;}):_0x3ac95f;}[_0x282c57(0x3d2)](_0x463ab3,_0x38881e,_0x3c8290){const _0x2ec346=_0x282c57;let _0x2505d2=(_0x38881e==null?void 0x0:_0x38881e[_0x2ec346(0x1df)])??[];if(!_0x2505d2[_0x2ec346(0x4ab)])return _0x3c8290;let _0x5e7da9=_0x2505d2['flatMap'](_0x34d629=>{const _0x5ba668=_0x2ec346;let _0x111b63=_0x463ab3[_0x5ba668(0x453)][_0x34d629[_0x5ba668(0x387)]];return _0x111b63?[{..._0x34d629,'field':_0x111b63}]:[];});return _0x5e7da9[_0x2ec346(0x4ab)]?this[_0x2ec346(0x554)](_0x5e7da9)?this['_fastSortRows'](_0x5e7da9,_0x3c8290):[..._0x3c8290][_0x2ec346(0x1df)]((_0x1f402b,_0x5d1368)=>{const _0x41ad26=_0x2ec346;for(let _0x5d8948 of _0x5e7da9){let _0x4933ea=_0x5d8948[_0x41ad26(0x2d9)],_0x2b3fe6=this[_0x41ad26(0x395)][_0x41ad26(0x268)](_0x4933ea[_0x41ad26(0x4aa)])[_0x41ad26(0x3d7)](_0x1f402b[_0x41ad26(0x54e)][_0x4933ea['id']],_0x5d1368['values'][_0x4933ea['id']],_0x4933ea);if(_0x2b3fe6!==0x0)return _0x5d8948[_0x41ad26(0x292)]===_0x111a17[_0x41ad26(0x4a5)]?-_0x2b3fe6:_0x2b3fe6;}return 0x0;}):_0x3c8290;}[_0x282c57(0x554)](_0x4bf492){const _0x3c87b3=_0x282c57;return _0x4bf492[_0x3c87b3(0x300)](_0xa952d9=>ai[_0x3c87b3(0x25c)](_0xa952d9[_0x3c87b3(0x2d9)][_0x3c87b3(0x4aa)]));}[_0x282c57(0x3f8)](_0x593928,_0x33a248){const _0x7faa6c=_0x282c57;return _0x33a248['map']((_0x14d371,_0x46eaf0)=>({'row':_0x14d371,'index':_0x46eaf0,'keys':_0x593928[_0x7faa6c(0x309)](_0x36aab2=>_0x14d371[_0x7faa6c(0x54e)][_0x36aab2[_0x7faa6c(0x387)]])}))[_0x7faa6c(0x1df)]((_0x217770,_0x59528f)=>{const _0x5cb8bb=_0x7faa6c;for(let _0x4feea2=0x0;_0x4feea2<_0x593928[_0x5cb8bb(0x4ab)];_0x4feea2++){let _0x543ef7=Fi(_0x217770[_0x5cb8bb(0x334)][_0x4feea2],_0x59528f['keys'][_0x4feea2]);if(_0x543ef7!==0x0)return _0x593928[_0x4feea2]['direction']===_0x111a17['DESC']?-_0x543ef7:_0x543ef7;}return _0x217770[_0x5cb8bb(0x198)]-_0x59528f[_0x5cb8bb(0x198)];})[_0x7faa6c(0x309)](_0x1c32ae=>_0x1c32ae['row']);}[_0x282c57(0x348)](_0x3a0d20,_0x4bdfae,_0x35e814){const _0x51a26d=_0x282c57;var _0x5f0d02;return I(_0x51a26d(0x3c6),()=>{const _0x45bb5d=_0x51a26d;var _0x32cb83;if(!((_0x32cb83=_0x4bdfae['group'])!=null&&_0x32cb83[_0x45bb5d(0x4ab)]))return[];let _0x2962f=_0x4bdfae[_0x45bb5d(0x359)][_0x45bb5d(0x4cc)](_0x1541bf=>_0x3a0d20['fields'][_0x1541bf['fieldId']]);if(!_0x2962f[_0x45bb5d(0x4ab)])return[];let _0x566619=this['_groupsCacheKey'](_0x3a0d20['id'],_0x4bdfae,_0x2962f),_0x452542=this[_0x45bb5d(0x2c9)](_0x3a0d20['id']),_0x1b9e93=this[_0x45bb5d(0x4c8)][_0x45bb5d(0x268)](_0x566619);if(_0x1b9e93&&_0x1b9e93['globalRevision']===this[_0x45bb5d(0x492)]&&_0x1b9e93[_0x45bb5d(0x332)]===this[_0x45bb5d(0x398)](_0x3a0d20['id'])){if(_0x1b9e93[_0x45bb5d(0x29f)]===_0x452542&&_0x1b9e93[_0x45bb5d(0x535)]===_0x35e814)return _0x1b9e93[_0x45bb5d(0x197)];if(_0x1b9e93['cellRevision']!==_0x452542&&!this[_0x45bb5d(0x3c4)](_0x3a0d20['id'],_0x1b9e93[_0x45bb5d(0x29f)],_0x452542,this[_0x45bb5d(0x215)](_0x4bdfae)))return this[_0x45bb5d(0x4c8)][_0x45bb5d(0x246)](_0x566619,{..._0x1b9e93,'rows':_0x35e814,'cellRevision':_0x452542}),_0x1b9e93[_0x45bb5d(0x197)];}let _0x1c16f5=new Map();for(let _0x26f071 of _0x35e814){let _0x1f4628=_0x1c16f5,_0x578e90='';for(let _0x5d6967=0x0;_0x5d6967<_0x2962f[_0x45bb5d(0x4ab)];_0x5d6967++){let _0x4f2354=_0x2962f[_0x5d6967],_0x559ba6=_0x26f071['values'][_0x4f2354[_0x45bb5d(0x387)]],_0x1eb607=ci(_0x559ba6),_0x1cba57=_0x4f2354[_0x45bb5d(0x387)]+'\x00'+_0x1eb607,_0x5afc47=_0x578e90+'/'+_0x4f2354[_0x45bb5d(0x387)]+':'+_0x1eb607,_0x3b02fa=_0x1f4628[_0x45bb5d(0x268)](_0x1cba57);_0x3b02fa||(_0x3b02fa={'key':_0x1eb607,'value':_0x559ba6,'path':_0x5afc47,'label':_0x1eb607||_0x45bb5d(0x3c9),'fieldId':_0x4f2354[_0x45bb5d(0x387)],'level':_0x5d6967,'recordIds':[],'children':new Map()},_0x1f4628[_0x45bb5d(0x246)](_0x1cba57,_0x3b02fa)),_0x3b02fa['recordIds'][_0x45bb5d(0x381)](_0x26f071[_0x45bb5d(0x40d)]),_0x1f4628=_0x3b02fa[_0x45bb5d(0x4fc)],_0x578e90=_0x5afc47;}}let _0xf04a7c=this['_materializeGroups'](_0x2962f,_0x1c16f5,0x0);return this[_0x45bb5d(0x4c8)][_0x45bb5d(0x246)](_0x566619,{'table':_0x3a0d20,'rows':_0x35e814,'groups':_0xf04a7c,'globalRevision':this[_0x45bb5d(0x492)],'tableRevision':this[_0x45bb5d(0x398)](_0x3a0d20['id']),'cellRevision':_0x452542}),_0xf04a7c;},{'tableId':_0x3a0d20['id'],'viewId':_0x4bdfae['id'],'viewType':_0x4bdfae['type'],'rows':_0x35e814[_0x51a26d(0x4ab)],'groupFields':((_0x5f0d02=_0x4bdfae[_0x51a26d(0x359)])==null?void 0x0:_0x5f0d02['length'])??0x0});}[_0x282c57(0x2a7)](_0x5e2137,_0x2fb09c,_0x2bb81e){const _0x52067b=_0x282c57;var _0x56dd64;let _0x21b0e7=Array[_0x52067b(0x2f3)](_0x2fb09c[_0x52067b(0x54e)]()),_0x42e47c=(_0x56dd64=_0x5e2137[_0x2bb81e])==null?void 0x0:_0x56dd64[_0x52067b(0x292)];return _0x42e47c&&_0x21b0e7[_0x52067b(0x1df)]((_0x48da67,_0x5f15cf)=>{const _0xaf72d3=_0x52067b;let _0x3ccfae=_0x48da67[_0xaf72d3(0x34d)]['localeCompare'](_0x5f15cf[_0xaf72d3(0x34d)]);return _0x42e47c===_0x111a17[_0xaf72d3(0x4a5)]?-_0x3ccfae:_0x3ccfae;}),_0x21b0e7[_0x52067b(0x309)](_0x5315e7=>({'key':_0x5315e7[_0x52067b(0x34d)],'value':_0x5315e7[_0x52067b(0x373)],'path':_0x5315e7[_0x52067b(0x3a4)],'label':_0x5315e7[_0x52067b(0x19c)],'fieldId':_0x5315e7[_0x52067b(0x387)],'level':_0x5315e7[_0x52067b(0x372)],'recordIds':_0x5315e7['recordIds'],'children':this[_0x52067b(0x2a7)](_0x5e2137,_0x5315e7[_0x52067b(0x4fc)],_0x2bb81e+0x1)}));}[_0x282c57(0x3f6)](_0x1bc4c6,_0x30c622,_0x1de7cb){const _0x1dbbf2=_0x282c57;let _0x522981=_0x1de7cb??_0x1bc4c6[_0x1dbbf2(0x45c)],_0x2d3783=_0x30c622[_0x1dbbf2(0x54e)][_0x522981];return _0x2d3783==null?'':String(_0x2d3783);}[_0x282c57(0x52c)](_0x229a61){const _0x38ea05=_0x282c57;if(Array[_0x38ea05(0x3d5)](_0x229a61))return _0x229a61[_0x38ea05(0x309)](String);if(typeof _0x229a61==_0x38ea05(0x3e3)&&_0x229a61)return[_0x229a61];}['_capabilities'](_0x24dc30){const _0x42c117=_0x282c57;return this[_0x42c117(0x395)]['get'](_0x24dc30[_0x42c117(0x4aa)])[_0x42c117(0x53a)](_0x24dc30);}};si=X([Y(0x0,_0x4bcdd1(mr))],si);function ci(_0xcf9c1b){return _0xcf9c1b==null?'':String(_0xcf9c1b);}function li(_0x53ef0d){const _0x595d25=_0x282c57;return new Map(_0x53ef0d[_0x595d25(0x309)]((_0x205e53,_0x37f493)=>[_0x205e53[_0x595d25(0x40d)],_0x37f493]));}function ui(_0x218412){const _0x1f27dd=_0x282c57;return!!(Array[_0x1f27dd(0x3d5)](_0x218412[_0x1f27dd(0x413)])&&_0x218412['rowIndex']&&_0x218412['rowId']&&_0x218412['colIndex']&&_0x218412[_0x1f27dd(0x46d)]&&_0x218412[_0x1f27dd(0x343)]);}function di(_0x4ac3f4){const _0x22555b=_0x282c57;let _0x5d1487=(_0x4ac3f4==null?void 0x0:_0x4ac3f4['conditions'][_0x22555b(0x4cc)](_0x23cb87=>!Ii(_0x23cb87)))??[];return!_0x4ac3f4||!_0x5d1487[_0x22555b(0x4ab)]?null:{'conjunction':_0x4ac3f4[_0x22555b(0x32c)],'conditions':_0x5d1487[_0x22555b(0x309)](_0x722287=>({'fieldId':_0x722287[_0x22555b(0x387)],'operator':_0x722287[_0x22555b(0x307)],'operand':_0x722287[_0x22555b(0x24c)]}))};}function fi(_0x99dcc0,_0x14d54b){const _0x205231=_0x282c57;return _0x99dcc0[_0x205231(0x1e1)]===_0x14d54b['records']&&_0x99dcc0[_0x205231(0x413)]===_0x14d54b['recordOrder']&&_0x99dcc0[_0x205231(0x453)]===_0x14d54b[_0x205231(0x453)]&&_0x99dcc0[_0x205231(0x534)]===_0x14d54b[_0x205231(0x534)]&&_0x99dcc0[_0x205231(0x343)]===_0x14d54b[_0x205231(0x343)]&&_0x99dcc0[_0x205231(0x277)]===_0x14d54b[_0x205231(0x277)]&&_0x99dcc0[_0x205231(0x21b)]===_0x14d54b[_0x205231(0x21b)]&&_0x99dcc0[_0x205231(0x28f)]===_0x14d54b[_0x205231(0x28f)]&&_0x99dcc0['colId']===_0x14d54b['colId'];}function pi(_0x3d7387){const _0x3753a2=_0x282c57;return _0x3d7387!=null&&_0x3d7387[_0x3753a2(0x4ab)]?_0x3d7387[_0x3753a2(0x309)](_0x590dc8=>({'fieldId':_0x590dc8[_0x3753a2(0x387)],'direction':_0x590dc8[_0x3753a2(0x292)]})):null;}function mi(_0x3c0ea0){const _0x4fbe40=_0x282c57;if(typeof _0x3c0ea0!=_0x4fbe40(0x4ba)||!_0x3c0ea0)return JSON[_0x4fbe40(0x2fb)](_0x3c0ea0)??'undefined';if(Array['isArray'](_0x3c0ea0))return'['+_0x3c0ea0['map'](mi)[_0x4fbe40(0x1c0)](',')+']';let _0x3f7a3c=_0x3c0ea0;return'{'+Object['keys'](_0x3f7a3c)[_0x4fbe40(0x1df)]()[_0x4fbe40(0x309)](_0x1e3e4a=>JSON[_0x4fbe40(0x2fb)](_0x1e3e4a)+':'+mi(_0x3f7a3c[_0x1e3e4a]))[_0x4fbe40(0x1c0)](',')+'}';}function hi(_0xe33ce5){const _0x502d99=_0x282c57;let _0x4590a8=Object[_0x502d99(0x54e)](_0xe33ce5)[_0x502d99(0x1df)]((_0x382762,_0xb16a3a)=>_0x382762[_0x502d99(0x38a)][_0x502d99(0x506)](_0xb16a3a[_0x502d99(0x38a)])),_0x365bf9=[];for(let _0x48c97f of _0x4590a8)_0x365bf9[_0x502d99(0x381)](_0x48c97f['id']);return _0x365bf9;}function gi(_0x2790e6){const _0x1748f3=_0x282c57;return{'weekdays':Array[_0x1748f3(0x3d5)](_0x2790e6==null?void 0x0:_0x2790e6[_0x1748f3(0x523)])&&_0x2790e6['weekdays'][_0x1748f3(0x4ab)]?[...new Set(_0x2790e6[_0x1748f3(0x523)][_0x1748f3(0x4cc)](_0x4b238b=>Number['isInteger'](_0x4b238b)&&_0x4b238b>=0x1&&_0x4b238b<=0x7))]:[0x1,0x2,0x3,0x4,0x5],'exceptions':Array[_0x1748f3(0x3d5)](_0x2790e6==null?void 0x0:_0x2790e6[_0x1748f3(0x487)])?_0x2790e6[_0x1748f3(0x487)][_0x1748f3(0x26a)](_0xcde4a3=>!_0xcde4a3||!Number[_0x1748f3(0x210)](_0xcde4a3[_0x1748f3(0x382)])?[]:[{'id':String(_0xcde4a3['id']||'exception-'+_0xcde4a3[_0x1748f3(0x382)]),'date':Z(Number(_0xcde4a3[_0x1748f3(0x382)])),'name':String(_0xcde4a3[_0x1748f3(0x2f4)]||_0x1748f3(0x2f1)),'type':_0xcde4a3[_0x1748f3(0x4aa)]===_0x1748f3(0x4c9)?_0x1748f3(0x4c9):_0x1748f3(0x51e)}]):[]};}function _i(_0x36c3c4,_0x5d9b10,_0x4a580d,_0x41b1bf){let _0x218bfe=xi(_0x36c3c4,_0x5d9b10),_0x4ac577=Si(_0x36c3c4,_0x4a580d),_0x3daf30=vi(_0x36c3c4,_0x218bfe,_0x4ac577,_0x41b1bf);return{'scale':_0x36c3c4,'start':_0x218bfe,'end':_0x4ac577,'unitWidth':bi(_0x36c3c4),'majorHeaders':yi(_0x36c3c4,_0x218bfe,_0x4ac577),'columns':_0x3daf30};}function vi(_0x298c37,_0x4e8671,_0x67ce62,_0x4db4ee){const _0x4f2806=_0x282c57;let _0x5debba=[],_0x4910ba=_0x4e8671;for(;_0x4910ba<_0x67ce62;){let _0x447347=_0x298c37===_0x4f2806(0x509)?ji(_0x4910ba,0x7):_0x298c37===_0x4f2806(0x51c)?Mi(_0x4910ba,0x1):ji(_0x4910ba,0x1);_0x5debba[_0x4f2806(0x381)]({'id':_0x298c37+'-'+_0x4910ba,'label':Ci(_0x298c37,_0x4910ba,_0x447347),'majorLabel':wi(_0x298c37,_0x4910ba),'start':_0x4910ba,'end':_0x447347,'nonWorking':Ei(_0x4910ba,_0x447347,_0x4db4ee)}),_0x4910ba=_0x447347;}return _0x5debba;}function yi(_0x19673b,_0x448588,_0x573f69){const _0x320d6c=_0x282c57;let _0x14db9b=[],_0x3b5007=_0x19673b===_0x320d6c(0x51c)?Ai(_0x448588):ki(_0x448588);for(;_0x3b5007<_0x573f69;){let _0x6c94a=_0x19673b===_0x320d6c(0x51c)?Ni(_0x3b5007,0x1):Mi(_0x3b5007,0x1);_0x14db9b[_0x320d6c(0x381)]({'id':_0x320d6c(0x46c)+_0x3b5007,'label':_0x19673b===_0x320d6c(0x51c)?String(new Date(_0x3b5007)[_0x320d6c(0x479)]()):Pi(_0x3b5007),'start':_0x3b5007,'end':_0x6c94a}),_0x3b5007=_0x6c94a;}return _0x14db9b;}function bi(_0x449db3){const _0x227555=_0x282c57;switch(_0x449db3){case _0x227555(0x36e):return 0xac;case _0x227555(0x509):return 0xac;case _0x227555(0x51c):return 0x88;default:return 0x56;}}function xi(_0x2f25ba,_0x1b33d6){const _0x2887a5=_0x282c57;return _0x2f25ba==='year'?Ai(_0x1b33d6):_0x2f25ba===_0x2887a5(0x509)?Oi(_0x1b33d6):Z(_0x1b33d6);}function Si(_0x31007e,_0x2da837){const _0x532420=_0x282c57;return _0x31007e==='year'?Ni(Ai(_0x2da837),0x1):_0x31007e===_0x532420(0x509)?ji(Oi(_0x2da837),0x7):ji(Z(_0x2da837),0x1);}function Ci(_0x4c4233,_0x160c03,_0x258d1d){const _0x12bba7=_0x282c57;let _0x4d23ad=new Date(_0x160c03);return _0x4c4233===_0x12bba7(0x509)?_0x4d23ad[_0x12bba7(0x1f5)]()+'-'+new Date(_0x258d1d-oi)[_0x12bba7(0x1f5)]():_0x4c4233==='year'?_0x4d23ad[_0x12bba7(0x4f4)](_0x12bba7(0x1a9),{'month':'short','timeZone':'UTC'}):String(_0x4d23ad[_0x12bba7(0x1f5)]());}function wi(_0x4cfc1a,_0xb11b3a){const _0x26dd0c=_0x282c57;return _0x4cfc1a===_0x26dd0c(0x51c)?String(new Date(_0xb11b3a)[_0x26dd0c(0x479)]()):Pi(_0xb11b3a);}function Ti(_0x9b3a77,_0x1aeaa4,_0x6a40b){let _0x4dd088=gi(_0x6a40b),_0x3e5b62=0x0;for(let _0x425daa=Z(_0x9b3a77);_0x425daa<=Z(_0x1aeaa4);_0x425daa=ji(_0x425daa,0x1))Di(_0x425daa,_0x4dd088)||_0x3e5b62++;return _0x3e5b62;}function Ei(_0xacddd6,_0x1fd5fd,_0x3bed72){if(!_0x3bed72)return!0x1;let _0x41f27c=gi(_0x3bed72);for(let _0x37681a=Z(_0xacddd6);_0x37681a<_0x1fd5fd;_0x37681a=ji(_0x37681a,0x1))if(!Di(_0x37681a,_0x41f27c))return!0x1;return!0x0;}function Di(_0x2e8546,_0x17c0f7){const _0x2b4911=_0x282c57;let _0x21b533=Z(_0x2e8546),_0x4ad9e2=_0x17c0f7[_0x2b4911(0x487)][_0x2b4911(0x525)](_0x22fc79=>Z(_0x22fc79[_0x2b4911(0x382)])===_0x21b533);if(_0x4ad9e2)return _0x4ad9e2[_0x2b4911(0x4aa)]===_0x2b4911(0x51e);let _0x21c2a4=new Date(_0x21b533)['getUTCDay'](),_0x249983=_0x21c2a4===0x0?0x7:_0x21c2a4;return!_0x17c0f7[_0x2b4911(0x523)][_0x2b4911(0x3df)](_0x249983);}function Z(_0x246e44){const _0x4bd1ac=_0x282c57;let _0x584c70=new Date(_0x246e44);return Date[_0x4bd1ac(0x4ad)](_0x584c70[_0x4bd1ac(0x479)](),_0x584c70[_0x4bd1ac(0x2d5)](),_0x584c70[_0x4bd1ac(0x1f5)]());}function Oi(_0x5363ad){const _0x23394b=_0x282c57;let _0x544e48=Z(_0x5363ad),_0x5675f0=new Date(_0x544e48)[_0x23394b(0x4f1)]();return ji(_0x544e48,-(_0x5675f0===0x0?0x6:_0x5675f0-0x1));}function ki(_0x2b222e){const _0x77a00b=_0x282c57;let _0x35cf62=new Date(_0x2b222e);return Date[_0x77a00b(0x4ad)](_0x35cf62['getUTCFullYear'](),_0x35cf62[_0x77a00b(0x2d5)](),0x1);}function Ai(_0x3e6a79){const _0x1900a7=_0x282c57;let _0x23adc2=new Date(_0x3e6a79);return Date[_0x1900a7(0x4ad)](_0x23adc2[_0x1900a7(0x479)](),0x0,0x1);}function ji(_0x229fbc,_0x1ea913){return _0x229fbc+_0x1ea913*oi;}function Mi(_0x19c8e3,_0x1a1739){const _0x1a5830=_0x282c57;let _0x1d0479=new Date(_0x19c8e3);return Date[_0x1a5830(0x4ad)](_0x1d0479['getUTCFullYear'](),_0x1d0479['getUTCMonth']()+_0x1a1739,0x1);}function Ni(_0x45ef09,_0x16816d){const _0x380269=_0x282c57;let _0x121c52=new Date(_0x45ef09);return Date[_0x380269(0x4ad)](_0x121c52['getUTCFullYear']()+_0x16816d,0x0,0x1);}function Pi(_0x30cec8){const _0xb67a52=_0x282c57;let _0x1cf389=new Date(_0x30cec8);return _0x1cf389[_0xb67a52(0x4f4)](_0xb67a52(0x1a9),{'month':'short','timeZone':'UTC'})+'\x20'+_0x1cf389['getUTCFullYear']();}function Fi(_0x3c7622,_0x596b5c){const _0x3b4009=_0x282c57;if(_0x3c7622==null&&_0x596b5c==null)return 0x0;if(_0x3c7622==null)return-0x1;if(_0x596b5c==null)return 0x1;if(typeof _0x3c7622==_0x3b4009(0x386)||typeof _0x596b5c==_0x3b4009(0x386))return Number(_0x3c7622===!0x0)-Number(_0x596b5c===!0x0);let _0x20e742=Number(_0x3c7622),_0xa29a95=Number(_0x596b5c),_0x2d0732=Number[_0x3b4009(0x210)](_0x20e742),_0x1afcf5=Number[_0x3b4009(0x210)](_0xa29a95);return _0x2d0732&&_0x1afcf5?_0x20e742-_0xa29a95:_0x2d0732?0x1:_0x1afcf5?-0x1:String(_0x3c7622)['localeCompare'](String(_0x596b5c));}function Ii(_0x394a21){const _0x52e3f7=_0x282c57;if(_0x394a21[_0x52e3f7(0x307)]!=='is'&&_0x394a21[_0x52e3f7(0x307)]!=='isNot')return!0x1;let _0x17cefd=_0x394a21[_0x52e3f7(0x24c)];return _0x17cefd==null?!0x0:typeof _0x17cefd=='string'?_0x17cefd[_0x52e3f7(0x24d)]()==='':Array[_0x52e3f7(0x3d5)](_0x17cefd)?_0x17cefd[_0x52e3f7(0x4ab)]===0x0:!0x1;}function Li(_0x392480,_0x267f89){const _0x2863ca=_0x282c57;var _0x521a40;let _0x3146cc=Array[_0x2863ca(0x3d5)]((_0x521a40=_0x392480[_0x2863ca(0x50c)])==null?void 0x0:_0x521a40[_0x2863ca(0x4f3)])?_0x392480[_0x2863ca(0x50c)]['options']:[];for(let _0x5715cd of _0x3146cc){if(_0x5715cd==null)continue;if(typeof _0x5715cd==_0x2863ca(0x3e3)){if(_0x5715cd===_0x267f89)return{'id':_0x5715cd,'name':_0x5715cd};continue;}let _0x2f5364=_0x5715cd,_0x4f017a=String(_0x2f5364['id']??_0x2f5364['name']??''),_0x4626fa=String(_0x2f5364[_0x2863ca(0x2f4)]??_0x2f5364['id']??_0x4f017a);if(_0x4f017a===_0x267f89||_0x4626fa===_0x267f89)return{'id':_0x4f017a,'name':_0x4626fa,'color':_0x2f5364[_0x2863ca(0x545)]==null?void 0x0:String(_0x2f5364[_0x2863ca(0x545)])};}return null;}let Ri=function(_0x51ba59){const _0x333e52=_0x282c57;return _0x51ba59['CreateView']=_0x333e52(0x37f),_0x51ba59[_0x333e52(0x544)]=_0x333e52(0x2e3),_0x51ba59;}({});const Q={'id':_0x282c57(0x48f),'type':_0x31b5a7[_0x282c57(0x1db)],'handler'(_0x34c4ae,_0x79c87e){const _0x539cc5=_0x282c57;let {unitId:_0x3af029,op:_0x2d22ab}=_0x79c87e,_0x631397=_0x34c4ae[_0x539cc5(0x268)](_0x54ce33)[_0x539cc5(0x2ad)](_0x3af029,_0x335149[_0x539cc5(0x370)]);if(!_0x631397)return!0x1;let _0x23525e=_0x631397['getSnapshot'](),_0x1b4cbc=new z(),_0x2a3239=_0x1b4cbc[_0x539cc5(0x485)](_0x2d22ab),_0x22749e=_0x1b4cbc['applyOp'](_0x23525e,_0x2d22ab);return _0x631397[_0x539cc5(0x4e0)](_0x22749e),zi(_0x22749e,_0x2a3239,_0x34c4ae[_0x539cc5(0x268)](ii)),!0x0;}};function zi(_0x46e999,_0x522529,_0x190cb4){const _0x5e7163=_0x282c57;let _0x9e3b9f=new Set(),_0x5a5eb5=new Set(),_0x1529dc=new Set();for(let _0x11e1ae of _0x522529){if(_0x11e1ae[_0x5e7163(0x2cd)]===_0x5e7163(0x47a)&&_0x11e1ae[_0x5e7163(0x45e)]&&_0x11e1ae[_0x5e7163(0x44d)]){let _0x57abb5=_0x11e1ae[_0x5e7163(0x45e)]+'\x00'+_0x11e1ae[_0x5e7163(0x44d)];_0x1529dc['has'](_0x57abb5)||(_0x1529dc['add'](_0x57abb5),_0x190cb4[_0x5e7163(0x438)](_0x11e1ae[_0x5e7163(0x45e)],_0x11e1ae[_0x5e7163(0x44d)]));continue;}if(_0x11e1ae[_0x5e7163(0x2cd)]===_0x5e7163(0x2d9)&&_0x11e1ae[_0x5e7163(0x45e)]&&_0x11e1ae['fieldId']){let _0x1d9eeb=_0x11e1ae[_0x5e7163(0x45e)]+'\x00'+_0x11e1ae[_0x5e7163(0x387)];_0x5a5eb5[_0x5e7163(0x25c)](_0x1d9eeb)||(_0x5a5eb5[_0x5e7163(0x551)](_0x1d9eeb),_0x190cb4[_0x5e7163(0x33a)](_0x11e1ae[_0x5e7163(0x45e)],_0x11e1ae[_0x5e7163(0x387)]));continue;}if(_0x11e1ae['reason']!==_0x5e7163(0x1f9)){_0x190cb4[_0x5e7163(0x466)]();return;}let _0xab885c=Bi(_0x46e999,_0x11e1ae);if(!_0xab885c){_0x190cb4[_0x5e7163(0x466)]();return;}let _0x209ad8=_0xab885c[_0x5e7163(0x45e)]+'\x00'+_0xab885c[_0x5e7163(0x40d)]+'\x00'+_0xab885c[_0x5e7163(0x387)];_0x9e3b9f['has'](_0x209ad8)||(_0x9e3b9f[_0x5e7163(0x551)](_0x209ad8),_0x190cb4['invalidateByCell'](_0xab885c['tableId'],_0xab885c[_0x5e7163(0x40d)],_0xab885c['fieldId']));}}function Bi(_0x2bc85e,_0x290788){const _0xaa9bb4=_0x282c57;var _0x1d492c,_0x8977a6;if(!_0x290788[_0xaa9bb4(0x45e)])return null;if(_0x290788[_0xaa9bb4(0x40d)]&&_0x290788[_0xaa9bb4(0x387)])return{'tableId':_0x290788[_0xaa9bb4(0x45e)],'recordId':_0x290788[_0xaa9bb4(0x40d)],'fieldId':_0x290788[_0xaa9bb4(0x387)]};if(_0x290788[_0xaa9bb4(0x2f0)]==null||_0x290788[_0xaa9bb4(0x331)]==null)return null;let _0x382931=_0x2bc85e[_0xaa9bb4(0x528)][_0x290788['tableId']],_0x48cb0b=_0x382931==null||(_0x1d492c=_0x382931['rowId'])==null?void 0x0:_0x1d492c[_0x290788[_0xaa9bb4(0x2f0)]],_0x25960b=_0x382931==null||(_0x8977a6=_0x382931[_0xaa9bb4(0x46d)])==null?void 0x0:_0x8977a6[_0x290788[_0xaa9bb4(0x331)]];return!_0x48cb0b||!_0x25960b?null:{'tableId':_0x290788[_0xaa9bb4(0x45e)],'recordId':_0x48cb0b,'fieldId':_0x25960b};}const Vi=_0x529588[_0x282c57(0x397)](String['raw']`(?:^|\W)\$?[A-Z]{1,3}\$?\d+(?::\$?[A-Z]{1,3}\$?\d+)?(?:$|\W)`),Hi=_0x529588['createRegExpFromSafeFragment'](String[_0x282c57(0x1d3)]`(?:'\[[^\]]+\](?:[^']|'')+'|\[[^\]]+\][^\s'!]+)!\$?[A-Z]{1,3}\$?\d+(?::\$?[A-Z]{1,3}\$?\d+)?`,'gi'),Ui=/\{([^}]+)\}/g,Wi=_0x529588[_0x282c57(0x397)](String[_0x282c57(0x1d3)]`\b([A-Z_][\w.]*)\[\[\s*#(This Row|Data)\s*\],\s*\[([^\]]+)\]\]`,'gi'),Gi=_0x529588['createRegExpFromSafeFragment'](String['raw']`\b([A-Z_][\w.]*)\[@\[([^\]]+)\]\]`,'gi'),Ki=_0x529588[_0x282c57(0x397)](String[_0x282c57(0x1d3)]`\b([A-Z_][\w.]*)\[([^\[\]#]+)\]`,'gi'),qi=_0x529588[_0x282c57(0x397)](String['raw']`(^|[^\w\[])\[\[\s*#(This Row|Data)\s*\],\s*\[([^\]]+)\]\]`,'gi'),Ji=_0x529588[_0x282c57(0x397)](String[_0x282c57(0x1d3)]`(^|[^\w\[])\[@\[([^\]]+)\]\](?!\])`,'g'),Yi=_0x529588[_0x282c57(0x397)](String[_0x282c57(0x1d3)]`(^|[^\w\[])\[@?([^\[\]#]+)\](?!\])`,'g');var Xi=class{['createSuperTableReference'](_0x156a6f,_0x8f443d=_0x156a6f['id']){const _0x514f47=_0x282c57;var _0x578d8a;let _0x3a608c=((_0x578d8a=_0x156a6f[_0x514f47(0x413)])==null?void 0x0:_0x578d8a[_0x514f47(0x4ab)])??Object['values'](_0x156a6f[_0x514f47(0x1e1)])[_0x514f47(0x4ab)];return{'sheetId':_0x8f443d,'titleMap':new Map(_0x156a6f[_0x514f47(0x534)][_0x514f47(0x309)]((_0x15d78a,_0x269b7f)=>{const _0x4536dc=_0x514f47;var _0x143e69;return[((_0x143e69=_0x156a6f[_0x4536dc(0x453)][_0x15d78a])==null?void 0x0:_0x143e69[_0x4536dc(0x2f4)])??_0x15d78a,_0x269b7f];})),'range':{'startRow':0x0,'endRow':Math[_0x514f47(0x468)](0x0,_0x3a608c-0x1),'startColumn':0x0,'endColumn':Math['max'](0x0,_0x156a6f[_0x514f47(0x534)][_0x514f47(0x4ab)]-0x1)},'showHeader':!0x1};}['getSuperTableRegistrations'](_0x544458,_0x524ee9){const _0x546f63=_0x282c57;let _0x5277fb=[],_0x27fc6d=_0x524ee9?new Set(_0x524ee9):null,_0x4275a7=_0x41215d(_0x544458);return Object['values'](_0x544458[_0x546f63(0x528)])[_0x546f63(0x4cc)](_0x49efab=>!_0x27fc6d||_0x27fc6d['has'](_0x49efab['id']))[_0x546f63(0x34b)](_0x9064f9=>{const _0x5e0371=_0x546f63;let _0x3e0b26=this[_0x5e0371(0x1fa)](_0x9064f9,_0x9064f9['id']);_0x5277fb['push']({'tableId':_0x9064f9['id'],'tableName':_0x4275a7[_0x5e0371(0x268)](_0x9064f9['id']),'reference':_0x3e0b26});}),_0x5277fb;}[_0x282c57(0x30e)](_0x44e09a,_0x3d9214,_0x1aabff={}){const _0x2d902e=_0x282c57;let _0x39c655=_0x44e09a[_0x2d902e(0x24d)]();if(!_0x39c655)return{'valid':!0x0};if(na(_0x39c655))return{'valid':!0x1,'reason':_0x2d902e(0x2d6)};let _0x153eaa=_0x1aabff[_0x2d902e(0x4c3)]?_0x41215d(_0x1aabff[_0x2d902e(0x4c3)]):void 0x0;for(let _0x5d815e of ta(_0x39c655)){let _0x1bc137=ua(_0x5d815e,_0x3d9214,_0x1aabff[_0x2d902e(0x4c3)],_0x153eaa);if(!_0x1bc137['table'])return{'valid':!0x1,'reason':_0x2d902e(0x1bb)+_0x5d815e[_0x2d902e(0x4e3)]+'\x22\x20does\x20not\x20exist.\x20Use\x20FBaseTable.getFormulaName()\x20or\x20getSchema().formulaName\x20for\x20structured\x20references.'};if(!_0x1bc137['field'])return{'valid':!0x1,'reason':'[BaseFormula]:\x20field\x20\x22'+_0x5d815e['fieldName']+'\x22\x20does\x20not\x20exist.'};}return{'valid':!0x0};}[_0x282c57(0x415)](_0x1e8978,_0xc1d000,_0x33b528={}){const _0x1b9bde=_0x282c57;let _0x2adb4c=new Set();for(let _0x5bf545 of this[_0x1b9bde(0x293)](_0x1e8978,_0xc1d000,_0x33b528))_0x5bf545[_0x1b9bde(0x45e)]===_0xc1d000['id']&&_0x2adb4c[_0x1b9bde(0x551)](_0x5bf545['fieldId']);return Array[_0x1b9bde(0x2f3)](_0x2adb4c);}['getStructuredDependencies'](_0x4da8ee,_0x12dfb1,_0x13d6ab={}){const _0x5c1d80=_0x282c57;let _0x355398=new Map(),_0xf13622=_0x13d6ab[_0x5c1d80(0x4c3)]?_0x41215d(_0x13d6ab[_0x5c1d80(0x4c3)]):void 0x0;for(let _0x18f0df of ta(_0x4da8ee)){let _0x4fd50b=ua(_0x18f0df,_0x12dfb1,_0x13d6ab[_0x5c1d80(0x4c3)],_0xf13622);if(!_0x4fd50b[_0x5c1d80(0x270)]||!_0x4fd50b['field'])continue;let _0x4c24b5=_0x4fd50b[_0x5c1d80(0x270)]['id']+'\x1f'+_0x4fd50b['field']['id'];_0x355398[_0x5c1d80(0x246)](_0x4c24b5,{'tableId':_0x4fd50b[_0x5c1d80(0x270)]['id'],'fieldId':_0x4fd50b[_0x5c1d80(0x2d9)]['id']});}return Array[_0x5c1d80(0x2f3)](_0x355398['values']());}};function Zi(_0x379b45,_0x488593){const _0x5d109c=_0x282c57;var _0x543bac;let _0x5f1bcd=[],_0x23aeca=(_0x543bac=_0x488593[_0x5d109c(0x1b5)])==null?void 0x0:_0x543bac[_0x379b45['id']];return _0x23aeca&&Object[_0x5d109c(0x41d)](_0x23aeca)[_0x5d109c(0x34b)](([_0x2b7226,_0x1dc0f5])=>{const _0x10c19c=_0x5d109c;let _0xc8e3e4=_0x379b45[_0x10c19c(0x528)][_0x2b7226];if(!_0xc8e3e4||!_0x1dc0f5)return;let _0x4fc688=L(_0xc8e3e4),_0x17ce78=[];new _0x376646(_0x1dc0f5)[_0x10c19c(0x3e2)]((_0x188a78,_0x46ad12,_0x47cbf8)=>{const _0x25b0b4=_0x10c19c;let _0x21ed99=Qi(_0x4fc688,_0x188a78,_0x46ad12,_0x47cbf8);_0x21ed99&&_0x17ce78[_0x25b0b4(0x381)](_0x21ed99);}),_0x17ce78[_0x10c19c(0x4ab)]&&_0x5f1bcd[_0x10c19c(0x381)]({'unitId':_0x379b45['id'],'tableId':_0x2b7226,'patches':_0x17ce78});}),_0x5f1bcd;}function Qi(_0x3534d0,_0x51f24b,_0x543c4f,_0x313138){const _0x3a76b5=_0x282c57;var _0x1f11a7,_0x4a8804,_0x2abc78;let _0x2fdace=(_0x1f11a7=_0x3534d0[_0x3a76b5(0x21b)])==null?void 0x0:_0x1f11a7[_0x51f24b],_0x386bcc=(_0x4a8804=_0x3534d0[_0x3a76b5(0x46d)])==null?void 0x0:_0x4a8804[_0x543c4f];if(!_0x2fdace||!_0x3534d0['records'][_0x2fdace]||!_0x386bcc)return null;let _0x467cf8=_0x3534d0[_0x3a76b5(0x453)][_0x386bcc];if(!_0x467cf8||_0x467cf8['type']!==_0x3a76b5(0x557))return null;let _0x332e86=String(((_0x2abc78=_0x467cf8['config'])==null?void 0x0:_0x2abc78[_0x3a76b5(0x557)])??'')[_0x3a76b5(0x24d)](),_0x552500=(_0x313138==null?void 0x0:_0x313138['v'])??null,_0x44ddd3={'v':_0x552500,'t':ea(_0x552500),..._0x51f24b===0x0&&_0x332e86?{'f':_0x332e86}:{},'si':_0x467cf8['id']};return $i(vt(_0x3534d0,_0x2fdace,_0x386bcc),_0x44ddd3)?null:{'row':_0x51f24b,'col':_0x543c4f,'value':_0x44ddd3};}function $i(_0x54f376,_0x204852){return _0x54f376!=null&&Object['is'](_0x54f376['v']??null,_0x204852['v']??null)&&_0x54f376['t']===_0x204852['t']&&_0x54f376['f']===_0x204852['f']&&_0x54f376['si']===_0x204852['si'];}function ea(_0x165561){const _0x1d93c9=_0x282c57;return typeof _0x165561==_0x1d93c9(0x389)?_0x110ba4['NUMBER']:typeof _0x165561==_0x1d93c9(0x386)?_0x110ba4[_0x1d93c9(0x2fd)]:typeof _0x165561==_0x1d93c9(0x3e3)?_0x110ba4['STRING']:null;}function ta(_0x4dea60){const _0x2780d9=_0x282c57;let _0x453d51=ia(_0x4dea60,()=>''),_0xb29939=new Map(),_0x37a1cc=_0x2d8c6d=>{const _0x3f5968=_0x3047;_0xb29939[_0x3f5968(0x246)]((_0x2d8c6d[_0x3f5968(0x4e3)]??'')+'\x1f'+_0x2d8c6d[_0x3f5968(0x425)],_0x2d8c6d);};for(let _0x592a86 of _0x453d51[_0x2780d9(0x48e)](Ui))_0x37a1cc({'fieldName':_0x592a86[0x1],'scope':'this-row'});_0x453d51=_0x453d51['replace'](Wi,(_0x528962,_0x560f9a,_0x2365da,_0x25d152)=>(_0x37a1cc({'tableName':_0x560f9a,'fieldName':_0x25d152,'scope':_0x2365da[_0x2780d9(0x3ca)]()===_0x2780d9(0x2da)?'data':_0x2780d9(0x48c)}),'\x20')),_0x453d51=_0x453d51[_0x2780d9(0x1a6)](Gi,(_0x1306b8,_0x184867,_0x3808a8)=>(_0x37a1cc({'tableName':_0x184867,'fieldName':_0x3808a8,'scope':_0x2780d9(0x48c)}),'\x20')),_0x453d51=_0x453d51['replace'](qi,(_0x36801a,_0x331e7a,_0x35f6db,_0x36fb31)=>(_0x37a1cc({'fieldName':_0x36fb31,'scope':_0x35f6db[_0x2780d9(0x3ca)]()===_0x2780d9(0x2da)?_0x2780d9(0x2da):'this-row'}),_0x331e7a+'\x20')),_0x453d51=_0x453d51['replace'](Ji,(_0x134398,_0x38204b,_0x4968d8)=>(_0x37a1cc({'fieldName':_0x4968d8,'scope':'this-row'}),_0x38204b+'\x20'));for(let _0x12ac4c of _0x453d51['matchAll'](Ki))_0x37a1cc({'tableName':_0x12ac4c[0x1],'fieldName':_0x12ac4c[0x2]});for(let _0x5523d6 of _0x453d51[_0x2780d9(0x48e)](Yi))_0x37a1cc({'fieldName':_0x5523d6[0x2],'scope':'this-row'});return Array[_0x2780d9(0x2f3)](_0xb29939[_0x2780d9(0x54e)]());}function na(_0x338056){const _0x49483d=_0x282c57;let _0x447fd9=ia(_0x338056,()=>'\x20')['replace'](Ui,'\x20')[_0x49483d(0x1a6)](Wi,'\x20')[_0x49483d(0x1a6)](Gi,'\x20')['replace'](qi,_0x49483d(0x19d))[_0x49483d(0x1a6)](Ji,_0x49483d(0x19d))[_0x49483d(0x1a6)](Ki,'\x20')['replace'](Yi,_0x49483d(0x19d));return Vi[_0x49483d(0x1ef)](_0x447fd9);}function ra(_0x53ff91,_0x2a3a0b){return ca(oa(_0x53ff91,_0x2a3a0b),_0x2a3a0b);}function ia(_0x5671d1,_0x13a350){return aa(ra(_0x5671d1,_0x13a350),_0x13a350);}function aa(_0x3b90bb,_0x30fdc5){return _0x3b90bb['replace'](/"(?:""|[^"])*"/g,_0x30fdc5);}function oa(_0x13db0c,_0xb5ddfb){const _0x4c6d89=_0x282c57;return Hi[_0x4c6d89(0x496)]=0x0,_0x13db0c[_0x4c6d89(0x1a6)](Hi,(_0x2f77cd,_0x1a764a)=>la(_0x13db0c,_0x1a764a)?_0x2f77cd:_0xb5ddfb(_0x2f77cd));}const sa=/(?:'((?:[^']|'')+)'|\[[^\]]+\]|[A-Za-z0-9_.-]+)![^\s!\[\]]+\[/g;function ca(_0x2f93f5,_0x4d2fa7){const _0xd1bbbf=_0x282c57;let _0x218e05=[];for(sa['lastIndex']=0x0;;){let _0x5a5676=sa[_0xd1bbbf(0x4dd)](_0x2f93f5);if(_0x5a5676==null)break;if(la(_0x2f93f5,_0x5a5676[_0xd1bbbf(0x198)]))continue;let _0x4d654f=sa[_0xd1bbbf(0x496)]-0x1,_0x2a9a11=0x0;for(let _0x25e36c=_0x4d654f;_0x25e36c<_0x2f93f5['length'];_0x25e36c++)if(_0x2f93f5[_0x25e36c]==='['&&_0x2a9a11++,_0x2f93f5[_0x25e36c]===']'&&(_0x2a9a11--,_0x2a9a11===0x0)){_0x218e05[_0xd1bbbf(0x381)]({'start':_0x5a5676['index'],'end':_0x25e36c+0x1}),sa[_0xd1bbbf(0x496)]=_0x25e36c+0x1;break;}}if(_0x218e05[_0xd1bbbf(0x4ab)]===0x0)return _0x2f93f5;let _0x36bae6='',_0x2cde55=0x0;for(let _0x556159 of _0x218e05)_0x36bae6+=_0x2f93f5['slice'](_0x2cde55,_0x556159[_0xd1bbbf(0x230)]),_0x36bae6+=_0x4d2fa7(_0x2f93f5[_0xd1bbbf(0x287)](_0x556159[_0xd1bbbf(0x230)],_0x556159[_0xd1bbbf(0x248)])),_0x2cde55=_0x556159[_0xd1bbbf(0x248)];return _0x36bae6+_0x2f93f5[_0xd1bbbf(0x287)](_0x2cde55);}function la(_0x4abed5,_0x4f423b){let _0x1b001d=!0x1;for(let _0x5823df=0x0;_0x5823df<_0x4f423b;_0x5823df++)if(_0x4abed5[_0x5823df]==='\x22'){if(_0x1b001d&&_0x4abed5[_0x5823df+0x1]==='\x22'){_0x5823df++;continue;}_0x1b001d=!_0x1b001d;}return _0x1b001d;}function ua(_0x4ad5d3,_0x14c2a8,_0x104a67,_0xf88d2){const _0x522860=_0x282c57;let _0x2016e8=da(_0x4ad5d3[_0x522860(0x4e3)],_0x14c2a8,_0x104a67,_0xf88d2);return{'table':_0x2016e8,'field':_0x2016e8?Object[_0x522860(0x54e)](_0x2016e8[_0x522860(0x453)])['find'](_0x4b5185=>_0x4b5185[_0x522860(0x2f4)]===_0x4ad5d3[_0x522860(0x425)]):void 0x0};}function da(_0x33c309,_0x17f177,_0x367dc8,_0x2ecec2){const _0x105f7d=_0x282c57;if(!_0x33c309)return _0x17f177;if(!_0x367dc8){var _0x39fc82;let _0x1e58c0=_0x33c309[_0x105f7d(0x3ca)]();return _0x1e58c0===_0x17f177['id']['toLowerCase']()||_0x1e58c0===_0x17f177[_0x105f7d(0x2f4)][_0x105f7d(0x3ca)]()||_0x1e58c0===((_0x39fc82=_0x17f177[_0x105f7d(0x3ab)])==null?void 0x0:_0x39fc82[_0x105f7d(0x3ca)]())?_0x17f177:void 0x0;}let _0xdc70e1=_0x33c309[_0x105f7d(0x3ca)](),_0x1ef1e8=_0x2ecec2??_0x41215d(_0x367dc8),_0x2d9c9f=Object[_0x105f7d(0x54e)](_0x367dc8[_0x105f7d(0x528)])[_0x105f7d(0x4cc)](_0x5378d5=>{const _0x13a3c8=_0x105f7d;var _0x329691;return _0x5378d5['id'][_0x13a3c8(0x3ca)]()===_0xdc70e1||_0x5378d5[_0x13a3c8(0x2f4)]['toLowerCase']()===_0xdc70e1||((_0x329691=_0x1ef1e8[_0x13a3c8(0x268)](_0x5378d5['id']))==null?void 0x0:_0x329691[_0x13a3c8(0x3ca)]())===_0xdc70e1||fa(_0x5378d5['id'])[_0x13a3c8(0x3ca)]()===_0xdc70e1;});return _0x2d9c9f['length']===0x1?_0x2d9c9f[0x0]:void 0x0;}function fa(_0x26155f){const _0x152256=_0x282c57;return _0x152256(0x31d)+Array[_0x152256(0x2f3)](_0x26155f,_0x510603=>{const _0x5d7bf0=_0x152256;var _0x4f3d0b;return/[A-Za-z0-9]/['test'](_0x510603)?_0x510603:'_x'+(((_0x4f3d0b=_0x510603[_0x5d7bf0(0x27c)](0x0))==null?void 0x0:_0x4f3d0b[_0x5d7bf0(0x2ea)](0x10))??'0')+'_';})['join']('');}const pa=new Xi();function ma(_0x16bf6f,_0x4a104b,_0x35fe48){const _0x3eb180=_0x282c57;var _0x128e47;if(_0x35fe48[_0x3eb180(0x4aa)]!==_0x239099[_0x3eb180(0x41e)])return!0x0;let _0x4197a2=String(((_0x128e47=_0x35fe48[_0x3eb180(0x50c)])==null?void 0x0:_0x128e47[_0x3eb180(0x557)])??''),_0x1f72ca=_0x16bf6f[_0x3eb180(0x28c)]();return pa['validateFormula'](_0x4197a2,_0x1f72ca[_0x3eb180(0x528)][_0x4a104b],{'snapshot':_0x1f72ca})[_0x3eb180(0x375)];}function $(_0x132726,_0xd1913b,_0x1b40bd){const _0x307b84=_0x282c57;let _0x17e235=_0x132726[_0x307b84(0x28c)]()[_0x307b84(0x528)][_0xd1913b];if(!_0x17e235)return!0x1;let {viewIds:_0x5e2958,fieldIds:_0x386f1c,recordIds:_0x21299c}=_0x1b40bd||{};if(_0x5e2958){for(let _0x4beb52 of _0x5e2958)if(!_0x17e235[_0x307b84(0x4f9)][_0x4beb52])return!0x1;}if(_0x386f1c){for(let _0x23eb35 of _0x386f1c)if(!_0x17e235[_0x307b84(0x453)][_0x23eb35])return!0x1;}if(_0x21299c){for(let _0x30a2ac of _0x21299c)if(!_0x17e235[_0x307b84(0x1e1)][_0x30a2ac])return!0x1;}return!0x0;}function ha(_0x3b3a76,_0x1fa650,_0x8d1c3a){const _0xb1270=_0x282c57;if(_0x8d1c3a['id']===_0x1a2ecc||_0x8d1c3a[_0xb1270(0x4aa)]===_0x239099[_0xb1270(0x205)]||_0x38be32(_0x8d1c3a[_0xb1270(0x2f4)])||!ma(_0x3b3a76,_0x1fa650,_0x8d1c3a))return!0x1;let _0x2b1101=_0x3b3a76[_0xb1270(0x28c)]();if(!Be(_0x2b1101,_0x8d1c3a)[_0xb1270(0x375)])return!0x1;if(_0x8d1c3a[_0xb1270(0x4aa)]!==_0x239099[_0xb1270(0x2c2)])return!0x0;let _0x34270d=N(_0x8d1c3a);if(!_0x34270d)return!0x1;if(_0x34270d[_0xb1270(0x1f7)]===void 0x0)return!0x0;if(_0x34270d['relationRole']!==_0x33634f[_0xb1270(0x19a)]||_0x34270d[_0xb1270(0x3e5)]!==_0x1fa650||_0x34270d[_0xb1270(0x3ea)]!==!0x1)return!0x1;let _0x1ba163=_0x2b1101[_0xb1270(0x528)][_0x1fa650];return!Object[_0xb1270(0x54e)](_0x1ba163[_0xb1270(0x453)])[_0xb1270(0x436)](_0x5e631f=>{const _0x12013f=_0xb1270;var _0x517c5f;return _0x5e631f['id']!==_0x8d1c3a['id']&&_0x5e631f[_0x12013f(0x4aa)]===_0x239099[_0x12013f(0x2c2)]&&((_0x517c5f=N(_0x5e631f))==null?void 0x0:_0x517c5f[_0x12013f(0x1f7)])===_0x33634f[_0x12013f(0x19a)];});}function ga(_0x47826f,_0x286aa6,_0x38a6a2,_0x270f90){const _0x4e685f=_0x282c57;var _0x19c959;let _0x547b39=_0x47826f[_0x4e685f(0x28c)](),_0x52a3ac=(_0x19c959=_0x547b39[_0x4e685f(0x528)][_0x286aa6])==null?void 0x0:_0x19c959[_0x4e685f(0x453)][_0x38a6a2];return!_0x52a3ac||_0x52a3ac['id']===_0x1a2ecc||_0x52a3ac[_0x4e685f(0x4aa)]===_0x239099[_0x4e685f(0x205)]?!0x1:_0x52a3ac['type']!==_0x239099[_0x4e685f(0x2c2)]||Ve(_0x547b39,_0x52a3ac,ya(_0x270f90))[_0x4e685f(0x375)];}function _a(_0x13f9c3,_0x3cbd4e,_0x41b45f){const _0x50940c=_0x282c57;let _0x122a50=_0x13f9c3[_0x50940c(0x28c)]()[_0x50940c(0x528)][_0x3cbd4e];return!_0x122a50||!_0x2a190f(_0x41b45f['id'])||_0x122a50[_0x50940c(0x1e1)][_0x41b45f['id']]||Object[_0x50940c(0x35c)][_0x50940c(0x445)][_0x50940c(0x2a4)](_0x41b45f['values'],_0x1a2ecc)&&_0x41b45f[_0x50940c(0x54e)][_0x1a2ecc]!==_0x41b45f['id']?!0x1:Object[_0x50940c(0x41d)](_0x41b45f['values'])[_0x50940c(0x300)](([_0x544241,_0x33c569])=>_0x544241===_0x1a2ecc||ga(_0x13f9c3,_0x3cbd4e,_0x544241,_0x33c569));}function va(_0x430458){const _0x2ad355=_0x282c57;return{..._0x430458,'values':{..._0x430458[_0x2ad355(0x54e)],[_0x1a2ecc]:_0x430458['id']}};}function ya(_0x50e858){const _0x3cbaf0=_0x282c57;if(_0x50e858&&typeof _0x50e858=='object'&&!Array[_0x3cbaf0(0x3d5)](_0x50e858)&&'v'in _0x50e858){let _0x5c5eb2=_0x50e858['v'];return _0x5c5eb2===void 0x0?null:_0x5c5eb2;}return _0x50e858;}function ba(_0x2cafc9,_0x1b8c51,_0x3f0e25,_0x933b13){const _0x99001d=_0x282c57;let _0x241fa8=_0x2cafc9[_0x99001d(0x28c)]()['tables'][_0x1b8c51];if(!_0x241fa8)return null;let _0x2ce3ce=qe(_0x241fa8),_0x299472=_0x2ce3ce??Je(_0x241fa8),_0x3f4cc1=_0x3f0e25[_0x99001d(0x436)](_0x401b57=>Object['prototype'][_0x99001d(0x445)]['call'](_0x401b57[_0x99001d(0x54e)],_0x299472)),_0x1366eb=_0x2ce3ce?_0x241fa8[_0x99001d(0x453)][_0x2ce3ce]:_0x3f4cc1?Ye(_0x241fa8,_0x299472,_0x933b13):null,_0x33350c=[];for(let _0x5b3658 of _0x3f0e25){let _0x557c30=_0x5b3658[_0x99001d(0x54e)][_0x299472],_0x21291d=_0x1366eb!==null&&Object['prototype']['hasOwnProperty']['call'](_0x5b3658['values'],_0x299472),_0x1959cf=ya(_0x557c30),_0x361bff=null;if(_0x21291d){if(typeof _0x1959cf!='string'||!ze(_0x1959cf,!0x1)[_0x99001d(0x375)])return null;_0x361bff=_0x1959cf;}let _0x371d3e={};if(Object[_0x99001d(0x41d)](_0x5b3658[_0x99001d(0x54e)])[_0x99001d(0x34b)](([_0x11de5b,_0x283147])=>{(!_0x21291d||_0x11de5b!==_0x299472)&&(_0x371d3e[_0x11de5b]=_0x283147);}),!_a(_0x2cafc9,_0x1b8c51,{..._0x5b3658,'values':_0x371d3e}))return null;let _0x455c7d={..._0x5b3658[_0x99001d(0x54e)]};_0x361bff!==null&&(_0x455c7d[_0x299472]=_0x361bff),_0x33350c[_0x99001d(0x381)](va({..._0x5b3658,'values':_0x455c7d}));}return{'records':_0x33350c,'hierarchyFieldToMaterialize':_0x2ce3ce?null:_0x1366eb,'hierarchyChanges':Qe(_0x241fa8,_0x33350c)};}const xa={'id':_0x282c57(0x24b),'type':_0x31b5a7[_0x282c57(0x401)],'handler'(_0x436713,_0x3154d6){const _0x57bd5b=_0x282c57;if(!_0x3154d6)return!0x1;let _0x8371a=_0x436713[_0x57bd5b(0x268)](_0x54ce33),{unitId:_0x3b7931,tableId:_0x209edb,records:_0x5e5653}=_0x3154d6,_0x34a0bd=_0x8371a['getUnit'](_0x3b7931,_0x335149[_0x57bd5b(0x370)]),_0x50582e=_0x5e5653[_0x57bd5b(0x309)](_0xe80962=>_0xe80962['id']);if(!_0x34a0bd||!$(_0x34a0bd,_0x209edb)||new Set(_0x50582e)[_0x57bd5b(0x286)]!==_0x50582e['length'])return!0x1;let _0x5379a7=_0x436713[_0x57bd5b(0x268)](_0x2a9a16),_0x9fbe9f=_0x436713[_0x57bd5b(0x268)](_0x1f4c86),_0x1b790e=_0x436713['get'](Kr),_0x53490a=_0x34a0bd[_0x57bd5b(0x28c)](),_0x2936d2=ba(_0x34a0bd,_0x209edb,_0x5e5653);if(!_0x2936d2)return!0x1;let {records:_0x55830e,hierarchyChanges:_0x58d54c,hierarchyFieldToMaterialize:_0x3b4020}=_0x2936d2,_0x21efe4=_0x3b4020?_0x1b790e[_0x57bd5b(0x3e0)](_0x34a0bd,_0x209edb,_0x3b4020,_0x53490a[_0x57bd5b(0x528)][_0x209edb][_0x57bd5b(0x534)][_0x57bd5b(0x4ab)]):null,_0x398bc5=_0x1b790e['createBatchCreateRecordsOp'](_0x34a0bd,_0x209edb,_0x55830e),_0x23e685=R([..._0x21efe4?[_0x21efe4]:[],_0x398bc5]),_0x471b05=new z()[_0x57bd5b(0x35e)](_0x53490a,_0x23e685),_0x568710={'unitId':_0x3b7931,'op':_0x23e685,'hierarchyChanges':_0x58d54c[_0x57bd5b(0x4ab)]?_0x58d54c:void 0x0,'source':_0x58d54c['length']?_0x3154d6[_0x57bd5b(0x376)]??'ui':void 0x0},_0x445bfb={..._0x568710,'source':_0x58d54c[_0x57bd5b(0x4ab)]?_0x57bd5b(0x324):void 0x0},_0x454937={'unitId':_0x3b7931,'op':_0x471b05,'hierarchyChanges':_0x58d54c[_0x57bd5b(0x4ab)]?_0x58d54c[_0x57bd5b(0x309)](_0x4558dd=>({..._0x4558dd,'oldParentRecordId':_0x4558dd['parentRecordId'],'parentRecordId':null})):void 0x0,'source':_0x58d54c['length']?_0x57bd5b(0x410):void 0x0};return _0x5379a7[_0x57bd5b(0x2e5)](Q['id'],_0x568710)?(_0x8371a[_0x57bd5b(0x3ed)](_0x3b7931),_0x9fbe9f[_0x57bd5b(0x333)]({'unitID':_0x3b7931,'undoMutations':[{'id':Q['id'],'params':_0x454937}],'redoMutations':[{'id':Q['id'],'params':_0x445bfb}]}),!0x0):!0x1;}},Sa={'id':_0x282c57(0x399),'type':_0x31b5a7[_0x282c57(0x401)],'handler':(_0x2c786e,_0x38219b)=>{const _0x3f7d41=_0x282c57;if(!_0x38219b)return!0x1;let _0x48db31=_0x2c786e[_0x3f7d41(0x268)](_0x54ce33),{unitId:_0x16c7b6,tableId:_0x4bf148,recordIds:_0x4ab051}=_0x38219b,_0x16f055=_0x48db31[_0x3f7d41(0x2ad)](_0x16c7b6,_0x335149[_0x3f7d41(0x370)]);if(!_0x16f055||!$(_0x16f055,_0x4bf148,{'recordIds':_0x4ab051}))return!0x1;let _0x393f26=_0x2c786e['get'](_0x2a9a16),_0x367679=_0x2c786e['get'](_0x1f4c86),_0x587f82=_0x16f055[_0x3f7d41(0x28c)](),_0x11e1de=et(_0x587f82[_0x3f7d41(0x528)][_0x4bf148],_0x4ab051),_0x24609f=new W(),_0x182325=new z(),_0x1379f4=_0x24609f[_0x3f7d41(0x227)](_0x587f82,_0x4bf148,_0x4ab051),_0x3058db=_0x182325['applyOp'](_0x587f82,_0x1379f4),_0xda487b=_0x24609f[_0x3f7d41(0x411)](_0x587f82,_0x3058db,_0x4bf148,_0x4ab051),_0x25ddfb={'unitId':_0x16c7b6,'op':_0x1379f4,'hierarchyChanges':_0x11e1de,'source':_0x38219b[_0x3f7d41(0x376)]??'ui'},_0x315bb8={..._0x25ddfb,'source':_0x3f7d41(0x324)},_0x182a9a={'unitId':_0x16c7b6,'op':_0xda487b,'hierarchyChanges':_0x11e1de[_0x3f7d41(0x309)](_0x5d9a27=>({..._0x5d9a27,'oldParentRecordId':_0x5d9a27[_0x3f7d41(0x1fd)],'parentRecordId':_0x5d9a27[_0x3f7d41(0x1fb)]})),'source':_0x3f7d41(0x410)};return _0x393f26[_0x3f7d41(0x2e5)](Q['id'],_0x25ddfb)?(_0x48db31['focusUnit'](_0x16c7b6),_0x367679[_0x3f7d41(0x333)]({'unitID':_0x16c7b6,'undoMutations':[{'id':Q['id'],'params':_0x182a9a}],'redoMutations':[{'id':Q['id'],'params':_0x315bb8}]}),!0x0):!0x1;}},Ca={'id':_0x282c57(0x3bf),'type':_0x31b5a7[_0x282c57(0x401)],'handler':(_0x2b6870,_0x3c57ea)=>{const _0x426cff=_0x282c57;if(!_0x3c57ea)return!0x1;let _0x112c05=_0x2b6870[_0x426cff(0x268)](_0x54ce33),{unitId:_0x229988,tableId:_0x2fb7f9,fieldId:_0x4d3722,input:_0x5add2d}=_0x3c57ea,_0x44a373=_0x112c05[_0x426cff(0x2ad)](_0x229988,_0x335149['UNIVER_BASE']);if(!_0x44a373||_0x4d3722===_0x1a2ecc||!$(_0x44a373,_0x2fb7f9,{'fieldIds':[_0x4d3722]}))return!0x1;let _0x4533e1=_0x2b6870[_0x426cff(0x268)](_0x2a9a16),_0x66850a=_0x2b6870[_0x426cff(0x268)](_0x1f4c86),_0x516ee1=_0x44a373['getSnapshot']();if(!ha(_0x44a373,_0x2fb7f9,{..._0x516ee1['tables'][_0x2fb7f9][_0x426cff(0x453)][_0x4d3722],..._0x5add2d}))return!0x1;let _0x2e1577=new W()[_0x426cff(0x44f)](_0x516ee1,_0x2fb7f9,_0x4d3722,_0x5add2d),_0x4129cd=new z()[_0x426cff(0x35e)](_0x516ee1,_0x2e1577),_0x45ea2c={'unitId':_0x229988,'op':_0x2e1577},_0x38a414={'unitId':_0x229988,'op':_0x4129cd};return _0x4533e1['syncExecuteCommand'](Q['id'],_0x45ea2c)?(_0x112c05[_0x426cff(0x3ed)](_0x229988),_0x66850a[_0x426cff(0x333)]({'unitID':_0x229988,'undoMutations':[{'id':Q['id'],'params':_0x38a414}],'redoMutations':[{'id':Q['id'],'params':_0x45ea2c}]}),!0x0):!0x1;}},wa={'id':_0x282c57(0x537),'type':_0x31b5a7[_0x282c57(0x401)],'handler'(_0x42ecb7,_0x67fd1e){const _0x34a7e0=_0x282c57;var _0x2f88a7;if(!_0x67fd1e)return!0x1;let {unitId:_0x40c875,tableId:_0x7aa4ef,parentRecordId:_0x49c99b}=_0x67fd1e,_0x1bc38a=_0x42ecb7[_0x34a7e0(0x268)](_0x54ce33),_0x5879db=_0x1bc38a['getUnit'](_0x40c875,_0x335149['UNIVER_BASE']);if(!_0x5879db||!$(_0x5879db,_0x7aa4ef,{'recordIds':[_0x49c99b]}))throw new P('missingRecord');let _0x2fb344=_0x5879db[_0x34a7e0(0x28c)](),_0x417933=_0x2fb344[_0x34a7e0(0x528)][_0x7aa4ef],_0x2bca8a=qe(_0x417933),_0x328082=_0x2bca8a??_0x67fd1e[_0x34a7e0(0x387)]??Je(_0x417933);if(_0x2bca8a&&_0x67fd1e[_0x34a7e0(0x387)]&&_0x67fd1e[_0x34a7e0(0x387)]!==_0x2bca8a||_0x417933[_0x34a7e0(0x453)][_0x328082]&&!F(_0x417933,_0x328082))throw new P(_0x34a7e0(0x38b));if((tt(_0x417933,_0x328082)[_0x34a7e0(0x3ec)][_0x34a7e0(0x268)](_0x49c99b)??0x0)+0x1>=0x5)throw new P(_0x34a7e0(0x1c4));if(!_a(_0x5879db,_0x7aa4ef,_0x67fd1e[_0x34a7e0(0x3a6)]))return!0x1;let _0x301c6f=va({..._0x67fd1e[_0x34a7e0(0x3a6)],'values':{..._0x67fd1e[_0x34a7e0(0x3a6)][_0x34a7e0(0x54e)],[_0x328082]:Re([_0x49c99b])}}),_0x1a7e77=_0x42ecb7[_0x34a7e0(0x268)](Kr),_0x12242=new W(),_0x165c0e=_0x417933['fields'][_0x328082],_0x2f0f54=_0x165c0e?((_0x2f88a7=N(_0x165c0e))==null?void 0x0:_0x2f88a7[_0x34a7e0(0x1f7)])===_0x33634f['Parent']?null:_0x12242[_0x34a7e0(0x2b0)](_0x2fb344,_0x7aa4ef,_0x328082,{'config':{..._0x165c0e[_0x34a7e0(0x50c)],'relationRole':_0x33634f[_0x34a7e0(0x19a)]}}):_0x1a7e77[_0x34a7e0(0x3e0)](_0x5879db,_0x7aa4ef,Ye(_0x417933,_0x328082,_0x67fd1e['parentFieldName']),_0x417933[_0x34a7e0(0x534)]['length']),_0x4afdae=_0x1a7e77['createCreateRecordOp'](_0x5879db,_0x7aa4ef,_0x301c6f),_0x117528=R([..._0x2f0f54?[_0x2f0f54]:[],_0x4afdae]),_0x322e74=new z()[_0x34a7e0(0x35e)](_0x2fb344,_0x117528),_0x266962={'tableId':_0x7aa4ef,'fieldId':_0x328082,'recordId':_0x301c6f['id'],'oldParentRecordId':null,'parentRecordId':_0x49c99b},_0x32a8e7={'unitId':_0x40c875,'op':_0x117528,'trigger':wa['id'],'hierarchyChanges':[_0x266962],'source':_0x67fd1e[_0x34a7e0(0x376)]??'ui'},_0x24c17b={..._0x32a8e7,'source':_0x34a7e0(0x324)},_0xb64059={'unitId':_0x40c875,'op':_0x322e74,'trigger':wa['id'],'hierarchyChanges':[{..._0x266962,'oldParentRecordId':_0x49c99b,'parentRecordId':null}],'source':_0x34a7e0(0x410)};return _0x42ecb7['get'](_0x2a9a16)['syncExecuteCommand'](Q['id'],_0x32a8e7)?(_0x1bc38a[_0x34a7e0(0x3ed)](_0x40c875),_0x42ecb7[_0x34a7e0(0x268)](_0x1f4c86)[_0x34a7e0(0x333)]({'unitID':_0x40c875,'undoMutations':[{'id':Q['id'],'params':_0xb64059}],'redoMutations':[{'id':Q['id'],'params':_0x24c17b}]}),!0x0):!0x1;}},Ta={'id':_0x282c57(0x2ac),'type':_0x31b5a7['COMMAND'],'handler'(_0x419636,_0x1ff7a6){const _0x2e8cfc=_0x282c57;if(!_0x1ff7a6)return!0x1;let _0x57337b=_0x419636[_0x2e8cfc(0x268)](_0x54ce33),{unitId:_0x580e45,tableId:_0x2bc315,field:_0x109560,index:_0x354e7a,viewIndexes:_0x2cb465}=_0x1ff7a6,_0x234591=_0x57337b[_0x2e8cfc(0x2ad)](_0x580e45,_0x335149[_0x2e8cfc(0x370)]);if(!_0x234591||!$(_0x234591,_0x2bc315)||_0x234591[_0x2e8cfc(0x28c)]()[_0x2e8cfc(0x528)][_0x2bc315][_0x2e8cfc(0x453)][_0x109560['id']]||_0x354e7a===0x0||!ha(_0x234591,_0x2bc315,_0x109560))return!0x1;let _0x111d55=_0x419636[_0x2e8cfc(0x268)](_0x2a9a16),_0x1966ce=_0x419636[_0x2e8cfc(0x268)](_0x1f4c86),_0x12a263=_0x419636['get'](Kr)[_0x2e8cfc(0x3e0)](_0x234591,_0x2bc315,_0x109560,_0x354e7a,_0x2cb465),_0x349e00=new z()['invertOp'](_0x234591[_0x2e8cfc(0x28c)](),_0x12a263),_0x277702={'unitId':_0x580e45,'op':_0x12a263},_0x519ca7={'unitId':_0x580e45,'op':_0x349e00};return _0x111d55[_0x2e8cfc(0x2e5)](Q['id'],_0x277702)?(_0x57337b[_0x2e8cfc(0x3ed)](_0x580e45),_0x1966ce[_0x2e8cfc(0x333)]({'unitID':_0x580e45,'undoMutations':[{'id':Q['id'],'params':_0x519ca7}],'redoMutations':[{'id':Q['id'],'params':_0x277702}]}),!0x0):!0x1;}},Ea={'id':_0x282c57(0x4c0),'type':_0x31b5a7[_0x282c57(0x401)],'handler'(_0x1c6993,_0x38df0a){const _0x391fc2=_0x282c57;if(!_0x38df0a)return!0x1;let _0x363c66=_0x1c6993[_0x391fc2(0x268)](_0x54ce33),{unitId:_0x356ae1,tableId:_0x4baa8c,record:_0x16c6c2}=_0x38df0a,_0x370fa3=_0x363c66[_0x391fc2(0x2ad)](_0x356ae1,_0x335149[_0x391fc2(0x370)]);if(!_0x370fa3||!$(_0x370fa3,_0x4baa8c))return!0x1;let _0x436a77=_0x1c6993[_0x391fc2(0x268)](_0x2a9a16),_0x150785=_0x1c6993[_0x391fc2(0x268)](_0x1f4c86),_0x491d22=_0x1c6993[_0x391fc2(0x268)](Kr),_0x22d9f9=_0x370fa3['getSnapshot'](),_0x3b6038=ba(_0x370fa3,_0x4baa8c,[_0x16c6c2]);if(!_0x3b6038)return!0x1;let [_0x470371]=_0x3b6038[_0x391fc2(0x1e1)],{hierarchyChanges:_0x5ee813,hierarchyFieldToMaterialize:_0xf2437f}=_0x3b6038,_0xda8a82=_0xf2437f?_0x491d22[_0x391fc2(0x3e0)](_0x370fa3,_0x4baa8c,_0xf2437f,_0x22d9f9['tables'][_0x4baa8c][_0x391fc2(0x534)][_0x391fc2(0x4ab)]):null,_0x546449=_0x491d22['createCreateRecordOp'](_0x370fa3,_0x4baa8c,_0x470371),_0x365d68=R([..._0xda8a82?[_0xda8a82]:[],_0x546449]),_0x3a8c17=new z()['invertOp'](_0x22d9f9,_0x365d68),_0x175bee={'unitId':_0x356ae1,'op':_0x365d68,'hierarchyChanges':_0x5ee813['length']?_0x5ee813:void 0x0,'source':_0x5ee813['length']?_0x38df0a[_0x391fc2(0x376)]??'ui':void 0x0},_0x5b47cb={..._0x175bee,'source':_0x5ee813[_0x391fc2(0x4ab)]?_0x391fc2(0x324):void 0x0},_0x37c322={'unitId':_0x356ae1,'op':_0x3a8c17,'hierarchyChanges':_0x5ee813[_0x391fc2(0x4ab)]?_0x5ee813[_0x391fc2(0x309)](_0x14dae2=>({..._0x14dae2,'oldParentRecordId':_0x14dae2['parentRecordId'],'parentRecordId':null})):void 0x0,'source':_0x5ee813[_0x391fc2(0x4ab)]?'undo':void 0x0};return _0x436a77[_0x391fc2(0x2e5)](Q['id'],_0x175bee)?(_0x363c66[_0x391fc2(0x3ed)](_0x356ae1),_0x150785['pushUndoRedo']({'unitID':_0x356ae1,'undoMutations':[{'id':Q['id'],'params':_0x37c322}],'redoMutations':[{'id':Q['id'],'params':_0x5b47cb}]}),!0x0):!0x1;}},Da=_0x282c57(0x45a);function Oa(_0x3a6a55,_0x6143d0,_0x5d2f78){const _0x4e5647=_0x282c57;if(!_0x6143d0[_0x4e5647(0x24d)]())return{'valid':!0x1,'reason':_0x4e5647(0x443),'error':'required'};if(_0x6143d0[_0x4e5647(0x4ab)]>0x1f)return{'valid':!0x1,'reason':_0x4e5647(0x30c),'error':_0x4e5647(0x374)};if(_0x6143d0[_0x4e5647(0x289)]('\x27')||_0x6143d0[_0x4e5647(0x48a)]('\x27'))return{'valid':!0x1,'reason':_0x4e5647(0x1b8),'error':'apostrophe'};if(/[:\\/?*\[\]]/[_0x4e5647(0x1ef)](_0x6143d0))return{'valid':!0x1,'reason':_0x4e5647(0x504),'error':_0x4e5647(0x508)};if(!_0x4ee737(_0x6143d0))return{'valid':!0x1,'reason':_0x4e5647(0x2d8),'error':'invalid'};let _0xfd371d=_0x6143d0[_0x4e5647(0x3ca)]();return Object[_0x4e5647(0x54e)](_0x3a6a55[_0x4e5647(0x528)])[_0x4e5647(0x436)](_0x4f2329=>_0x4f2329['id']!==_0x5d2f78&&_0x4f2329[_0x4e5647(0x2f4)][_0x4e5647(0x3ca)]()===_0xfd371d)?{'valid':!0x1,'reason':_0x4e5647(0x1c2),'error':'duplicate'}:{'valid':!0x0};}function ka(_0x45a2b4,_0x5924be){const _0x30e96e=_0x282c57;let _0x411f62=_0x5924be['replace'](/[:\\/?*\[\]]/g,'\x20')[_0x30e96e(0x1a6)](/^'+|'+$/g,'')['trim']()||_0x30e96e(0x424),_0x1a6a79=0x1;for(;;){let _0x3e6249=_0x1a6a79===0x1?'':'\x20'+_0x1a6a79,_0x2053f3=''+_0x411f62['slice'](0x0,0x1f-_0x3e6249['length'])+_0x3e6249;if(Oa(_0x45a2b4,_0x2053f3)[_0x30e96e(0x375)])return _0x2053f3;_0x1a6a79++;}}const Aa={'id':'base.command.create-base-table','type':_0x31b5a7[_0x282c57(0x401)],'handler':(_0xa46ba2,_0x30795)=>{const _0x3b7e65=_0x282c57;if(!_0x30795)return!0x1;let _0x1edb8a=_0xa46ba2[_0x3b7e65(0x268)](_0x54ce33),{unitId:_0x4e3373,table:_0x590517,index:_0x1faa82}=_0x30795,_0x313c6d=_0x1edb8a[_0x3b7e65(0x2ad)](_0x4e3373,_0x335149[_0x3b7e65(0x370)]);if(!_0x313c6d||_0x313c6d[_0x3b7e65(0x28c)]()['tables'][_0x590517['id']]||!Oa(_0x313c6d[_0x3b7e65(0x28c)](),_0x590517['name'])['valid'])return!0x1;try{_0x306a77(_0x590517);}catch{return!0x1;}let _0x4e07af=_0xa46ba2[_0x3b7e65(0x268)](_0x2a9a16),_0x584ab2=_0xa46ba2[_0x3b7e65(0x268)](_0x1f4c86),_0x4c4209=_0x313c6d[_0x3b7e65(0x28c)](),_0x3561c1=new W()[_0x3b7e65(0x206)](_0x4c4209,_0x590517,_0x1faa82),_0x137980=new z()['invertOp'](_0x4c4209,_0x3561c1),_0xb1e836={'unitId':_0x4e3373,'op':_0x3561c1},_0x3f66b3={'unitId':_0x4e3373,'op':_0x137980};return _0x4e07af[_0x3b7e65(0x2e5)](Q['id'],_0xb1e836)?(_0x1edb8a[_0x3b7e65(0x3ed)](_0x4e3373),_0x584ab2['pushUndoRedo']({'unitID':_0x4e3373,'undoMutations':[{'id':Q['id'],'params':_0x3f66b3}],'redoMutations':[{'id':Q['id'],'params':_0xb1e836}]}),!0x0):!0x1;}};function ja(_0x50dce0,_0x619d37,_0x21e4ae=[]){const _0x494bc6=_0x282c57;let _0x2d0da4=new Set([...Object[_0x494bc6(0x54e)](_0x50dce0[_0x494bc6(0x453)])[_0x494bc6(0x4cc)](_0x377280=>_0x377280)[_0x494bc6(0x309)](_0x5eec41=>_0x5eec41[_0x494bc6(0x2f4)]),..._0x21e4ae[_0x494bc6(0x309)](_0x425bc0=>_0x425bc0[_0x494bc6(0x2f4)])]);if(!_0x2d0da4['has'](_0x619d37))return _0x619d37;let _0x28f0a3=0x2;for(;_0x2d0da4[_0x494bc6(0x25c)](_0x619d37+'\x20'+_0x28f0a3);)_0x28f0a3++;return _0x619d37+'\x20'+_0x28f0a3;}function Ma(_0x5f211b,_0x3d5318){const _0x55eacd=_0x282c57;if(!_0x5f211b||!_0x3d5318[_0x55eacd(0x4ab)])return;let _0x1de7d3=[..._0x5f211b];return _0x3d5318[_0x55eacd(0x34b)](_0x231638=>{const _0x29106c=_0x55eacd;_0x1de7d3[_0x29106c(0x3df)](_0x231638)||_0x1de7d3[_0x29106c(0x381)](_0x231638);}),_0x1de7d3;}const Na={'options':[{'id':'todo','name':'Todo','color':_0x282c57(0x279)},{'id':_0x282c57(0x328),'name':_0x282c57(0x32e),'color':_0x282c57(0x2de)},{'id':_0x282c57(0x1d4),'name':'Done','color':_0x282c57(0x457)}]},Pa={'locale':_0x282c57(0x1a9),'pattern':_0x282c57(0x489),'includeTime':!0x1,'hourCycle':'h24','defaultMode':_0x282c57(0x3f5)};function Fa(_0x22e242,_0x32c70e,_0x5e7aa6,_0x3a36da){const _0x10df62=_0x282c57;var _0x237d5a;let _0x42d885=new W(),_0x4ae29f=_0x22e242[_0x10df62(0x528)][_0x32c70e],_0x47a23f=_0x4ae29f?{..._0x5e7aa6,'fieldOrder':[_0x1a2ecc,...(_0x5e7aa6[_0x10df62(0x534)]??_0x4ae29f['fieldOrder'])[_0x10df62(0x4cc)](_0x45d0c1=>_0x45d0c1!==_0x1a2ecc)],'fieldSettings':{..._0x5e7aa6[_0x10df62(0x272)],[_0x1a2ecc]:{...(_0x237d5a=_0x5e7aa6['fieldSettings'])==null?void 0x0:_0x237d5a[_0x1a2ecc],'hidden':!0x0}}}:_0x5e7aa6;if(_0x4ae29f&&_0x47a23f[_0x10df62(0x4aa)]===_0x10df62(0x320)){let _0x164391=La(_0x4ae29f,_0x47a23f),_0x517435=_0x164391[_0x10df62(0x1e5)]?{..._0x47a23f,'config':_0x164391[_0x10df62(0x50c)],'fieldOrder':_0x164391[_0x10df62(0x534)]??_0x47a23f[_0x10df62(0x534)]}:_0x47a23f;return R([..._0x164391['fields'][_0x10df62(0x309)](_0x33dda8=>_0x42d885[_0x10df62(0x212)](_0x22e242,_0x32c70e,{'field':_0x33dda8})),_0x42d885['createView'](_0x22e242,_0x32c70e,_0x517435,_0x3a36da)]);}if(!_0x4ae29f||_0x47a23f['type']!==_0x10df62(0x262)&&_0x47a23f[_0x10df62(0x4aa)]!==_0x10df62(0x3c0))return _0x42d885[_0x10df62(0x24a)](_0x22e242,_0x32c70e,_0x47a23f,_0x3a36da);let _0xac652c=Ia(_0x4ae29f,_0x47a23f),_0x54735e=_0xac652c['changed']?{..._0x47a23f,'config':_0xac652c[_0x10df62(0x50c)],'fieldOrder':_0xac652c[_0x10df62(0x534)]??_0x47a23f[_0x10df62(0x534)]}:_0x47a23f;return _0x47a23f[_0x10df62(0x4aa)]===_0x10df62(0x3c0)&&Ba(_0x47a23f)&&(_0x54735e=Va(_0x4ae29f,_0x54735e,_0xac652c['fields'])),R([..._0xac652c['fields'][_0x10df62(0x309)](_0x3fda87=>_0x42d885[_0x10df62(0x212)](_0x22e242,_0x32c70e,{'field':_0x3fda87})),_0x42d885['createView'](_0x22e242,_0x32c70e,_0x54735e,_0x3a36da)]);}function Ia(_0x19e943,_0x4b8f26,_0x419c81=!0x1){const _0x39854d=_0x282c57;var _0xdc9fab,_0x512e7b;let _0x341544=_0x19e943['fieldOrder']['filter'](_0x541c8e=>Ua(_0x19e943,_0x541c8e)),_0x3f01be=[],_0x2ef693={..._0x4b8f26[_0x39854d(0x50c)]??{}},_0x3d4bc0=typeof _0x2ef693[_0x39854d(0x282)]==_0x39854d(0x3e3)&&Ua(_0x19e943,_0x2ef693[_0x39854d(0x282)])?_0x2ef693[_0x39854d(0x282)]:_0x341544[0x0],_0x2d6a53=typeof _0x2ef693[_0x39854d(0x541)]==_0x39854d(0x3e3)&&Ua(_0x19e943,_0x2ef693[_0x39854d(0x541)])&&_0x2ef693[_0x39854d(0x541)]!==_0x3d4bc0?_0x2ef693[_0x39854d(0x541)]:_0x341544[_0x39854d(0x525)](_0x103985=>_0x103985!==_0x3d4bc0);if(!_0x3d4bc0){let _0x544faf=Wa(_0x19e943,_0x3f01be,_0x4b8f26[_0x39854d(0x4aa)]===_0x39854d(0x3c0)?_0x39854d(0x2cc):_0x39854d(0x240));_0x3f01be[_0x39854d(0x381)](_0x544faf),_0x3d4bc0=_0x544faf['id'];}if((_0x4b8f26[_0x39854d(0x4aa)]===_0x39854d(0x3c0)||_0x419c81)&&!_0x2d6a53){let _0x4e2c55=Wa(_0x19e943,_0x3f01be,_0x39854d(0x267));_0x3f01be[_0x39854d(0x381)](_0x4e2c55),_0x2d6a53=_0x4e2c55['id'];}_0x4b8f26[_0x39854d(0x4aa)]===_0x39854d(0x262)&&!_0x2d6a53&&delete _0x2ef693['endDateFieldId'],_0x2ef693['startDateFieldId']=_0x3d4bc0,_0x4b8f26['type']===_0x39854d(0x262)&&_0x2d6a53&&(_0x2ef693[_0x39854d(0x541)]=_0x2d6a53),_0x4b8f26['type']===_0x39854d(0x3c0)&&(_0x2ef693[_0x39854d(0x541)]=_0x2d6a53??_0x3d4bc0);let _0x2a8156=Ma(_0x4b8f26['fieldOrder'],_0x3f01be[_0x39854d(0x309)](_0x4cea1a=>_0x4cea1a['id']));return{'changed':_0x3f01be[_0x39854d(0x4ab)]>0x0||_0x2ef693[_0x39854d(0x282)]!==((_0xdc9fab=_0x4b8f26[_0x39854d(0x50c)])==null?void 0x0:_0xdc9fab['startDateFieldId'])||_0x2ef693[_0x39854d(0x541)]!==((_0x512e7b=_0x4b8f26['config'])==null?void 0x0:_0x512e7b[_0x39854d(0x541)])||!(!_0x2a8156||_0xd92214[_0x39854d(0x4b1)](_0x2a8156,_0x4b8f26[_0x39854d(0x534)]??[])),'fields':_0x3f01be,'config':_0x2ef693,'fieldOrder':_0x2a8156};}function La(_0x390c2e,_0x128373){const _0x3435d0=_0x282c57;var _0x42a64c;let _0x7bed4f=[],_0x4b8764={..._0x128373[_0x3435d0(0x50c)]??{}},_0x321860=typeof _0x4b8764[_0x3435d0(0x25d)]=='string'&&Ra(_0x390c2e,_0x4b8764['groupFieldId'])?_0x4b8764[_0x3435d0(0x25d)]:_0x390c2e[_0x3435d0(0x534)][_0x3435d0(0x525)](_0x39fc3b=>Ra(_0x390c2e,_0x39fc3b));if(!_0x321860){let _0x2e7d21=za(_0x390c2e,_0x7bed4f);_0x7bed4f[_0x3435d0(0x381)](_0x2e7d21),_0x321860=_0x2e7d21['id'];}_0x4b8764['groupFieldId']=_0x321860;let _0x4916e7=Ma(_0x128373[_0x3435d0(0x534)],_0x7bed4f[_0x3435d0(0x309)](_0x41f724=>_0x41f724['id']));return{'changed':_0x7bed4f[_0x3435d0(0x4ab)]>0x0||_0x4b8764['groupFieldId']!==((_0x42a64c=_0x128373['config'])==null?void 0x0:_0x42a64c[_0x3435d0(0x25d)])||!(!_0x4916e7||_0xd92214[_0x3435d0(0x4b1)](_0x4916e7,_0x128373[_0x3435d0(0x534)]??[])),'fields':_0x7bed4f,'config':_0x4b8764,'fieldOrder':_0x4916e7};}function Ra(_0x345744,_0x255fec){const _0x1def13=_0x282c57;let _0x419252=_0x255fec?_0x345744[_0x1def13(0x453)][_0x255fec]:null;return _0x419252?[_0x239099[_0x1def13(0x2fe)],_0x239099[_0x1def13(0x4b3)],_0x239099[_0x1def13(0x3b7)],_0x239099[_0x1def13(0x2a5)],_0x239099[_0x1def13(0x3af)],_0x239099[_0x1def13(0x379)]][_0x1def13(0x3df)](_0x419252[_0x1def13(0x4aa)]):!0x1;}function za(_0x32882b,_0x294347){const _0x16d6a5=_0x282c57;return{'id':_0x16d6a5(0x252)+_0x4e27d9(0x8),'name':ja(_0x32882b,_0x16d6a5(0x264),_0x294347),'type':_0x239099[_0x16d6a5(0x2fe)],'config':_0xd92214[_0x16d6a5(0x4d7)](Na)};}function Ba(_0x7621f3){const _0x262701=_0x282c57;return Object['keys'](_0x7621f3['config']??{})[_0x262701(0x4ab)]===0x0&&Object[_0x262701(0x334)](_0x7621f3[_0x262701(0x272)]??{})[_0x262701(0x4ab)]===0x0;}function Va(_0x58eceb,_0x57815d,_0x19695a){const _0x2abb03=_0x282c57;let _0x10b70b={..._0x57815d[_0x2abb03(0x50c)]??{}},_0x2b120b=_0x19695a[_0x2abb03(0x309)](_0x27bbf1=>_0x27bbf1['id']),_0x20e96b=[..._0x58eceb[_0x2abb03(0x534)],..._0x2b120b],_0x244760=typeof _0x10b70b[_0x2abb03(0x430)]==_0x2abb03(0x3e3)&&Ha(_0x58eceb,_0x19695a,_0x10b70b['titleFieldId'])?_0x10b70b[_0x2abb03(0x430)]:_0x58eceb[_0x2abb03(0x45c)],_0x1acc52=typeof _0x10b70b[_0x2abb03(0x282)]=='string'?_0x10b70b[_0x2abb03(0x282)]:'',_0x4939cb=typeof _0x10b70b[_0x2abb03(0x541)]=='string'?_0x10b70b[_0x2abb03(0x541)]:_0x1acc52,_0x52da34=new Set([_0x244760,_0x1acc52,_0x4939cb]['filter'](_0x1cf388=>_0x1cf388&&Ha(_0x58eceb,_0x19695a,_0x1cf388))),_0x260125=Object[_0x2abb03(0x1af)](_0x20e96b[_0x2abb03(0x26a)](_0x45afb2=>_0x52da34[_0x2abb03(0x25c)](_0x45afb2)||!Ha(_0x58eceb,_0x19695a,_0x45afb2)?[]:[[_0x45afb2,{'hidden':!0x0}]]));return{..._0x57815d,'config':{..._0x10b70b,'titleFieldId':_0x244760},'fieldSettings':_0x260125};}function Ha(_0x1e7c78,_0x3718a8,_0x3121d9){const _0x138363=_0x282c57;return!!(_0x1e7c78[_0x138363(0x453)][_0x3121d9]??_0x3718a8[_0x138363(0x525)](_0xec1117=>_0xec1117['id']===_0x3121d9))&&!0x0;}function Ua(_0x5cc5e6,_0x47e8ea){const _0xace411=_0x282c57;let _0x3630fb=_0x47e8ea?_0x5cc5e6[_0xace411(0x453)][_0x47e8ea]:null;return!!_0x3630fb&&_0x3630fb[_0xace411(0x4aa)]===_0x239099[_0xace411(0x240)]&&_0x3630fb[_0xace411(0x473)]!==!0x0&&_0x3630fb['system']!==!0x0;}function Wa(_0x3a9261,_0x13af8a,_0x1c39e5){const _0x103cfc=_0x282c57;let _0x478465=new Set([...Object['keys'](_0x3a9261['fields']),..._0x13af8a['map'](_0x38d875=>_0x38d875['id'])]),_0x4dac71=_0x103cfc(0x252)+_0x4e27d9(0x8);for(;_0x478465[_0x103cfc(0x25c)](_0x4dac71);)_0x4dac71=_0x103cfc(0x252)+_0x4e27d9(0x8);return{'id':_0x4dac71,'name':ja(_0x3a9261,_0x1c39e5,_0x13af8a),'type':_0x239099[_0x103cfc(0x240)],'config':{...Pa}};}const Ga={'id':_0x282c57(0x3db),'type':_0x31b5a7[_0x282c57(0x401)],'handler':(_0x44a061,_0x7aa45d)=>{const _0x3b9c48=_0x282c57;if(!_0x7aa45d)return!0x1;let _0x44da9c=_0x44a061['get'](_0x54ce33),{unitId:_0x4c1786,tableId:_0x2e0290,view:_0x5eedeb,index:_0x2c1b75}=_0x7aa45d,_0x4f485e=_0x44da9c[_0x3b9c48(0x2ad)](_0x4c1786,_0x335149[_0x3b9c48(0x370)]);if(!_0x4f485e||!$(_0x4f485e,_0x2e0290)||_0x4f485e['getSnapshot']()['tables'][_0x2e0290][_0x3b9c48(0x4f9)][_0x5eedeb['id']])return!0x1;let _0x17c125=_0x44a061[_0x3b9c48(0x268)](_0x2a9a16),_0x5151ae=_0x44a061[_0x3b9c48(0x268)](_0x1f4c86),_0x136b03=_0x4f485e[_0x3b9c48(0x28c)](),_0x45481b=Fa(_0x136b03,_0x2e0290,_0x5eedeb,_0x2c1b75),_0x421f9b=new z()[_0x3b9c48(0x35e)](_0x136b03,_0x45481b),_0x3e3af5={'historyAction':_0x3b9c48(0x37f),'unitId':_0x4c1786,'op':_0x45481b,'viewType':_0x5eedeb[_0x3b9c48(0x4aa)]},_0x48435b={'historyAction':'delete-view','unitId':_0x4c1786,'op':_0x421f9b,'viewType':_0x5eedeb[_0x3b9c48(0x4aa)]};return _0x17c125['syncExecuteCommand'](Q['id'],_0x3e3af5)?(_0x44da9c[_0x3b9c48(0x3ed)](_0x4c1786),_0x5151ae[_0x3b9c48(0x333)]({'unitID':_0x4c1786,'undoMutations':[{'id':Q['id'],'params':_0x48435b}],'redoMutations':[{'id':Q['id'],'params':_0x3e3af5}]}),!0x0):!0x1;}},Ka={'id':_0x282c57(0x318),'type':_0x31b5a7['COMMAND'],'handler'(_0x44a550,_0x3a5359){const _0x2fc5df=_0x282c57;if(!_0x3a5359)return!0x1;let _0x26f5cc=_0x44a550[_0x2fc5df(0x268)](_0x54ce33),{unitId:_0x366445,tableId:_0x10414b,fieldId:_0x30e9a1}=_0x3a5359,_0x435b28=_0x26f5cc['getUnit'](_0x366445,_0x335149['UNIVER_BASE']);if(!_0x435b28)return!0x1;let _0x3ee69f=_0x435b28[_0x2fc5df(0x28c)](),_0x43994a=_0x3ee69f[_0x2fc5df(0x528)][_0x10414b];if(!$(_0x435b28,_0x10414b,{'fieldIds':[_0x30e9a1]})||_0x43994a[_0x2fc5df(0x45c)]===_0x30e9a1||_0x30e9a1===_0x1a2ecc)return!0x1;let _0x315650=_0x44a550[_0x2fc5df(0x268)](_0x2a9a16),_0x201684=_0x44a550['get'](_0x1f4c86),_0x498523=new W()[_0x2fc5df(0x47b)](_0x3ee69f,_0x10414b,_0x30e9a1),_0x1a1e98=new z()['invertOp'](_0x3ee69f,_0x498523),_0x27701b={'unitId':_0x366445,'op':_0x498523},_0x570abf={'unitId':_0x366445,'op':_0x1a1e98};return _0x315650[_0x2fc5df(0x2e5)](Q['id'],_0x27701b)?(_0x26f5cc[_0x2fc5df(0x3ed)](_0x366445),_0x201684[_0x2fc5df(0x333)]({'unitID':_0x366445,'undoMutations':[{'id':Q['id'],'params':_0x570abf}],'redoMutations':[{'id':Q['id'],'params':_0x27701b}]}),!0x0):!0x1;}},qa={'id':'base.command.delete-base-record','type':_0x31b5a7['COMMAND'],'handler':(_0x55da8d,_0x29dbae)=>{const _0x128c50=_0x282c57;if(!_0x29dbae)return!0x1;let _0x257801=_0x55da8d[_0x128c50(0x268)](_0x54ce33),{unitId:_0x296b1b,tableId:_0x1ce1b8,recordId:_0x37f053}=_0x29dbae,_0x4eed74=_0x257801[_0x128c50(0x2ad)](_0x296b1b,_0x335149[_0x128c50(0x370)]);if(!_0x4eed74||!$(_0x4eed74,_0x1ce1b8,{'recordIds':[_0x37f053]}))return!0x1;let _0xb89fb0=_0x55da8d[_0x128c50(0x268)](_0x2a9a16),_0x4b9879=_0x55da8d['get'](_0x1f4c86),_0x151982=_0x4eed74[_0x128c50(0x28c)](),_0x46fcba=et(_0x151982[_0x128c50(0x528)][_0x1ce1b8],[_0x37f053]),_0x543bdc=new W(),_0x415261=new z(),_0x4476e0=_0x543bdc[_0x128c50(0x4fa)](_0x151982,_0x1ce1b8,_0x37f053),_0xdabdec=_0x415261[_0x128c50(0x2e7)](_0x151982,_0x4476e0),_0x2bdd02=_0x543bdc[_0x128c50(0x411)](_0x151982,_0xdabdec,_0x1ce1b8,[_0x37f053]),_0x29d2b3={'unitId':_0x296b1b,'op':_0x4476e0,'hierarchyChanges':_0x46fcba,'source':_0x29dbae[_0x128c50(0x376)]??'ui'},_0x30f173={..._0x29d2b3,'source':_0x128c50(0x324)},_0x182598={'unitId':_0x296b1b,'op':_0x2bdd02,'hierarchyChanges':_0x46fcba['map'](_0x28db7c=>({..._0x28db7c,'oldParentRecordId':_0x28db7c[_0x128c50(0x1fd)],'parentRecordId':_0x28db7c['oldParentRecordId']})),'source':_0x128c50(0x410)};return _0xb89fb0[_0x128c50(0x2e5)](Q['id'],_0x29d2b3)?(_0x257801[_0x128c50(0x3ed)](_0x296b1b),_0x4b9879[_0x128c50(0x333)]({'unitID':_0x296b1b,'undoMutations':[{'id':Q['id'],'params':_0x182598}],'redoMutations':[{'id':Q['id'],'params':_0x30f173}]}),!0x0):!0x1;}},Ja={'id':_0x282c57(0x455),'type':_0x31b5a7[_0x282c57(0x401)],'handler':(_0x5e12a7,_0x4a11fe)=>{const _0x26b2da=_0x282c57;if(!_0x4a11fe)return!0x1;let _0x3db396=_0x5e12a7[_0x26b2da(0x268)](_0x54ce33),{unitId:_0x29c1c7,tableId:_0x238abb}=_0x4a11fe,_0x25486f=_0x3db396[_0x26b2da(0x2ad)](_0x29c1c7,_0x335149['UNIVER_BASE']);if(!_0x25486f||!$(_0x25486f,_0x238abb))return!0x1;let _0xff9cae=_0x5e12a7['get'](_0x2a9a16),_0x34c2eb=_0x5e12a7[_0x26b2da(0x268)](_0x1f4c86),_0xc049a3=_0x25486f[_0x26b2da(0x28c)](),_0x4286d5=He(_0xc049a3,_0x238abb);if(_0x4286d5[_0x26b2da(0x4ab)]>0x0)return console['error'](_0x26b2da(0x43f)+_0x238abb+_0x26b2da(0x3c3)+_0x4286d5[_0x26b2da(0x309)](_0x65927a=>_0x65927a[_0x26b2da(0x45e)]+'.'+_0x65927a[_0x26b2da(0x387)])[_0x26b2da(0x1c0)](',\x20')+'.'),!0x1;let _0x4ea44c=new W()['deleteTable'](_0xc049a3,_0x238abb),_0x5b13d0=new z()[_0x26b2da(0x35e)](_0xc049a3,_0x4ea44c),_0x50d7fe={'unitId':_0x29c1c7,'op':_0x4ea44c},_0x1b3fd9={'unitId':_0x29c1c7,'op':_0x5b13d0};return _0xff9cae[_0x26b2da(0x2e5)](Q['id'],_0x50d7fe)?(_0x3db396[_0x26b2da(0x3ed)](_0x29c1c7),_0x34c2eb[_0x26b2da(0x333)]({'unitID':_0x29c1c7,'undoMutations':[{'id':Q['id'],'params':_0x1b3fd9}],'redoMutations':[{'id':Q['id'],'params':_0x50d7fe}]}),!0x0):!0x1;}},Ya={'id':_0x282c57(0x1fc),'type':_0x31b5a7[_0x282c57(0x401)],'handler':(_0x321918,_0x1745d3)=>{const _0x1b7283=_0x282c57;if(!_0x1745d3)return!0x1;let _0x29ebab=_0x321918['get'](_0x54ce33),{unitId:_0x5bc1be,tableId:_0x253c35,viewId:_0x51d1fc}=_0x1745d3,_0x16393c=_0x29ebab[_0x1b7283(0x2ad)](_0x5bc1be,_0x335149['UNIVER_BASE']);if(!_0x16393c||!$(_0x16393c,_0x253c35,{'viewIds':[_0x51d1fc]}))return!0x1;let _0x45308d=_0x321918['get'](_0x2a9a16),_0x47e74c=_0x321918[_0x1b7283(0x268)](_0x1f4c86),_0x13698a=_0x16393c['getSnapshot'](),_0x3295e9=_0x13698a[_0x1b7283(0x528)][_0x253c35][_0x1b7283(0x4f9)][_0x51d1fc]['type'],_0x8a59c0=new W()[_0x1b7283(0x3fa)](_0x13698a,_0x253c35,_0x51d1fc),_0x236cd2=new z()['invertOp'](_0x13698a,_0x8a59c0),_0xa66b67={'historyAction':_0x1b7283(0x2e3),'unitId':_0x5bc1be,'op':_0x8a59c0,'viewType':_0x3295e9},_0x44c711={'historyAction':_0x1b7283(0x37f),'unitId':_0x5bc1be,'op':_0x236cd2,'viewType':_0x3295e9};return _0x45308d[_0x1b7283(0x2e5)](Q['id'],_0xa66b67)?(_0x29ebab[_0x1b7283(0x3ed)](_0x5bc1be),_0x47e74c['pushUndoRedo']({'unitID':_0x5bc1be,'undoMutations':[{'id':Q['id'],'params':_0x44c711}],'redoMutations':[{'id':Q['id'],'params':_0xa66b67}]}),!0x0):!0x1;}},Xa={'id':_0x282c57(0x3cf),'type':_0x31b5a7[_0x282c57(0x401)],'handler':(_0x1e2131,_0x59030b)=>{const _0x1d13f4=_0x282c57;if(!_0x59030b)return!0x1;let _0x26b90f=_0x1e2131['get'](_0x54ce33),{unitId:_0x541f18,tableId:_0x1beae2,sourceFieldId:_0x2cffb2,field:_0x2830fc,index:_0x507237,viewIndexes:_0x9737b0}=_0x59030b,_0x4edf09=_0x26b90f[_0x1d13f4(0x2ad)](_0x541f18,_0x335149['UNIVER_BASE']);if(!_0x4edf09||!$(_0x4edf09,_0x1beae2,{'fieldIds':[_0x2cffb2]})||_0x2cffb2===_0x1a2ecc||_0x4edf09[_0x1d13f4(0x28c)]()['tables'][_0x1beae2][_0x1d13f4(0x453)][_0x2830fc['id']]||_0x507237===0x0||!ha(_0x4edf09,_0x1beae2,_0x2830fc))return!0x1;let _0x210649=_0x1e2131['get'](_0x2a9a16),_0x2e7131=_0x1e2131[_0x1d13f4(0x268)](_0x1f4c86),_0x18ab64=_0x4edf09[_0x1d13f4(0x28c)](),_0x1a3490=new W()[_0x1d13f4(0x237)](_0x18ab64,_0x1beae2,_0x2cffb2,{'field':_0x2830fc,'index':_0x507237,'viewIndexes':_0x9737b0}),_0x4ad1dc=new z()[_0x1d13f4(0x35e)](_0x18ab64,_0x1a3490),_0x5662cc={'unitId':_0x541f18,'op':_0x1a3490},_0x183342={'unitId':_0x541f18,'op':_0x4ad1dc};return _0x210649['syncExecuteCommand'](Q['id'],_0x5662cc)?(_0x26b90f[_0x1d13f4(0x3ed)](_0x541f18),_0x2e7131[_0x1d13f4(0x333)]({'unitID':_0x541f18,'undoMutations':[{'id':Q['id'],'params':_0x183342}],'redoMutations':[{'id':Q['id'],'params':_0x5662cc}]}),!0x0):!0x1;}},Za={'id':'base.command.duplicate-base-record','type':_0x31b5a7[_0x282c57(0x401)],'handler':(_0x337c81,_0x170175)=>{const _0x4af0df=_0x282c57;if(!_0x170175)return!0x1;let _0x26a05f=_0x337c81[_0x4af0df(0x268)](_0x54ce33),{unitId:_0x1a831c,tableId:_0x2496e5,sourceRecordId:_0x36f76d,record:_0x61414c}=_0x170175,_0x1abb9e=_0x26a05f[_0x4af0df(0x2ad)](_0x1a831c,_0x335149[_0x4af0df(0x370)]);if(!_0x1abb9e||!$(_0x1abb9e,_0x2496e5,{'recordIds':[_0x36f76d]})||!_a(_0x1abb9e,_0x2496e5,_0x61414c))return!0x1;let _0x55bb22=_0x337c81[_0x4af0df(0x268)](_0x2a9a16),_0x593d28=_0x337c81[_0x4af0df(0x268)](_0x1f4c86),_0x811d8b=_0x1abb9e[_0x4af0df(0x28c)](),_0x3ec303=va(_0x61414c),_0x2671da=Qe(_0x811d8b['tables'][_0x2496e5],[_0x3ec303]),_0x6e133c=new W()[_0x4af0df(0x43e)](_0x811d8b,_0x2496e5,_0x36f76d,_0x3ec303),_0x25b0ba=new z()[_0x4af0df(0x35e)](_0x811d8b,_0x6e133c),_0x2319f4={'unitId':_0x1a831c,'op':_0x6e133c,'hierarchyChanges':_0x2671da[_0x4af0df(0x4ab)]?_0x2671da:void 0x0,'source':_0x2671da[_0x4af0df(0x4ab)]?_0x170175[_0x4af0df(0x376)]??'ui':void 0x0},_0x59a819={..._0x2319f4,'source':_0x2671da[_0x4af0df(0x4ab)]?_0x4af0df(0x324):void 0x0},_0x554acd={'unitId':_0x1a831c,'op':_0x25b0ba,'hierarchyChanges':_0x2671da[_0x4af0df(0x4ab)]?_0x2671da[_0x4af0df(0x309)](_0x1624d2=>({..._0x1624d2,'oldParentRecordId':_0x1624d2['parentRecordId'],'parentRecordId':null})):void 0x0,'source':_0x2671da[_0x4af0df(0x4ab)]?_0x4af0df(0x410):void 0x0};return _0x55bb22[_0x4af0df(0x2e5)](Q['id'],_0x2319f4)?(_0x26a05f['focusUnit'](_0x1a831c),_0x593d28[_0x4af0df(0x333)]({'unitID':_0x1a831c,'undoMutations':[{'id':Q['id'],'params':_0x554acd}],'redoMutations':[{'id':Q['id'],'params':_0x59a819}]}),!0x0):!0x1;}},Qa={'id':_0x282c57(0x2a0),'type':_0x31b5a7[_0x282c57(0x401)],'handler'(_0x3d39b8,_0xbcc342){const _0x2ca0a6=_0x282c57;if(!_0xbcc342)return!0x1;let _0x190495=_0x3d39b8[_0x2ca0a6(0x268)](_0x54ce33),{unitId:_0x2a6c69,tableId:_0x4c6031,viewId:_0x585a9b,ensureEndDateField:_0x99480a}=_0xbcc342,_0x2f23b8=_0x190495[_0x2ca0a6(0x2ad)](_0x2a6c69,_0x335149['UNIVER_BASE']);if(!_0x2f23b8||!$(_0x2f23b8,_0x4c6031,{'viewIds':[_0x585a9b]}))return!0x1;let _0x44eaa2=_0x2f23b8[_0x2ca0a6(0x28c)](),_0x4a67d3=_0x44eaa2[_0x2ca0a6(0x528)][_0x4c6031],_0x32f923=_0x4a67d3==null?void 0x0:_0x4a67d3[_0x2ca0a6(0x4f9)][_0x585a9b];if(!_0x4a67d3||!_0x32f923||_0x32f923[_0x2ca0a6(0x4aa)]!==_0x2ca0a6(0x262)&&_0x32f923['type']!==_0x2ca0a6(0x3c0))return!0x1;let _0x390e96=Ia(_0x4a67d3,_0x32f923,_0x99480a===!0x0);if(!_0x390e96[_0x2ca0a6(0x1e5)])return!0x1;let _0xb4bce2=_0x3d39b8[_0x2ca0a6(0x268)](_0x2a9a16),_0x3d52e7=_0x3d39b8[_0x2ca0a6(0x268)](_0x1f4c86),_0x2e031a=new W(),_0xffe8a0=[..._0x390e96[_0x2ca0a6(0x453)]['map'](_0x13886b=>_0x2e031a[_0x2ca0a6(0x212)](_0x44eaa2,_0xbcc342[_0x2ca0a6(0x45e)],{'field':_0x13886b})),$a([...eo(_0xbcc342[_0x2ca0a6(0x45e)],_0xbcc342[_0x2ca0a6(0x44d)]),'config'],_0x32f923[_0x2ca0a6(0x50c)],_0x390e96[_0x2ca0a6(0x50c)])];_0x390e96['fieldOrder']&&_0xffe8a0['push']($a([...eo(_0xbcc342['tableId'],_0xbcc342['viewId']),_0x2ca0a6(0x534)],_0x32f923['fieldOrder'],_0x390e96[_0x2ca0a6(0x534)]));let _0x472b82=R(_0xffe8a0),_0x3a1636=new z()[_0x2ca0a6(0x35e)](_0x44eaa2,_0x472b82),_0x850e6e={'unitId':_0x2a6c69,'op':_0x472b82},_0x3a9484={'unitId':_0x2a6c69,'op':_0x3a1636};return _0xb4bce2[_0x2ca0a6(0x2e5)](Q['id'],_0x850e6e)?(_0x190495[_0x2ca0a6(0x3ed)](_0x2a6c69),_0x3d52e7[_0x2ca0a6(0x333)]({'unitID':_0x2a6c69,'undoMutations':[{'id':Q['id'],'params':_0x3a9484}],'redoMutations':[{'id':Q['id'],'params':_0x850e6e}]}),!0x0):!0x1;}};function $a(_0x2ceba6,_0x4deccb,_0x3a6ea9){const _0x568e48=_0x282c57;return _0x4deccb===void 0x0?_0x2f9032[_0x568e48(0x1d0)](_0x2ceba6,_0x3a6ea9):_0x2f9032[_0x568e48(0x3b0)](_0x2ceba6,_0x4deccb,_0x3a6ea9);}function eo(_0x5d337f,_0x377592){const _0x5c561e=_0x282c57;return[_0x5c561e(0x528),_0x5d337f,_0x5c561e(0x4f9),_0x377592];}const to={'id':'base.command.move-base-field','type':_0x31b5a7[_0x282c57(0x401)],'handler':(_0x5d1657,_0x1170b7)=>{const _0x397b24=_0x282c57;if(!_0x1170b7)return!0x1;let _0x412984=_0x5d1657['get'](_0x54ce33),{unitId:_0x2a2e07,tableId:_0x3f7635,fieldId:_0x2cd396,target:_0x44b6a0}=_0x1170b7,_0x3e0b82=_0x412984[_0x397b24(0x2ad)](_0x2a2e07,_0x335149[_0x397b24(0x370)]),_0x494bad=_0x44b6a0[_0x397b24(0x21a)]??_0x44b6a0['afterFieldId'];if(!_0x3e0b82||!!_0x44b6a0[_0x397b24(0x21a)]==!!_0x44b6a0[_0x397b24(0x1f0)]||!_0x494bad||_0x494bad===_0x2cd396||_0x2cd396===_0x1a2ecc||_0x44b6a0[_0x397b24(0x21a)]===_0x1a2ecc||!$(_0x3e0b82,_0x3f7635,{'fieldIds':[_0x2cd396,_0x494bad]}))return!0x1;let _0x26a3f2=_0x5d1657[_0x397b24(0x268)](_0x2a9a16),_0xb52aa1=_0x5d1657['get'](_0x1f4c86),_0x3a2308=_0x3e0b82[_0x397b24(0x28c)](),_0x4c70b4=new W()[_0x397b24(0x1cc)](_0x3a2308,_0x3f7635,_0x2cd396,_0x44b6a0),_0x1531eb=new z()['invertOp'](_0x3a2308,_0x4c70b4),_0x51c2c7={'unitId':_0x2a2e07,'op':_0x4c70b4},_0x56683f={'unitId':_0x2a2e07,'op':_0x1531eb};return _0x26a3f2['syncExecuteCommand'](Q['id'],_0x51c2c7)?(_0x412984['focusUnit'](_0x2a2e07),_0xb52aa1[_0x397b24(0x333)]({'unitID':_0x2a2e07,'undoMutations':[{'id':Q['id'],'params':_0x56683f}],'redoMutations':[{'id':Q['id'],'params':_0x51c2c7}]}),!0x0):!0x1;}},no={'id':_0x282c57(0x407),'type':_0x31b5a7[_0x282c57(0x401)],'handler':(_0x3bd4a,_0x5941c8)=>{const _0x4448f4=_0x282c57;var _0x4ac557;if(!_0x5941c8)return!0x1;let {unitId:_0x3943d4,tableId:_0x5b4ef6,recordId:_0x5dba18,parentRecordId:_0x38def9,orderKey:_0x3269e2}=_0x5941c8,_0x5293a9=_0x3bd4a[_0x4448f4(0x268)](_0x54ce33),_0x28f840=_0x5293a9[_0x4448f4(0x2ad)](_0x3943d4,_0x335149[_0x4448f4(0x370)]);if(!_0x28f840||!$(_0x28f840,_0x5b4ef6,{'recordIds':[_0x5dba18,..._0x38def9?[_0x38def9]:[]]}))throw new P(_0x4448f4(0x3a2));let _0x7228af=_0x28f840[_0x4448f4(0x28c)](),_0x2af9d1=_0x7228af[_0x4448f4(0x528)][_0x5b4ef6],_0x1ee77b=qe(_0x2af9d1),_0x3b7f10=_0x1ee77b??_0x5941c8['fieldId']??Je(_0x2af9d1);if(_0x1ee77b&&_0x5941c8[_0x4448f4(0x387)]&&_0x5941c8['fieldId']!==_0x1ee77b||_0x2af9d1['fields'][_0x3b7f10]&&!F(_0x2af9d1,_0x3b7f10))throw new P(_0x4448f4(0x38b));let _0x1afbb5=tt(_0x2af9d1,_0x3b7f10),_0xa5f77b=it(_0x1afbb5,_0x5dba18,_0x38def9);if(!_0xa5f77b[_0x4448f4(0x375)])throw new P(_0xa5f77b['reason']===_0x1e9d86[_0x4448f4(0x341)]?_0x4448f4(0x2e8):_0xa5f77b['reason']===_0x1e9d86[_0x4448f4(0x217)]?_0x4448f4(0x45f):_0x4448f4(0x1c4));let _0x27cdca=_0x1afbb5[_0x4448f4(0x39a)]['get'](_0x5dba18)??null,_0x2fdd43=_0x2af9d1['records'][_0x5dba18][_0x4448f4(0x38a)];if(_0x27cdca===_0x38def9&&(_0x3269e2===void 0x0||_0x3269e2===_0x2fdd43))return!0x0;let _0xcf3895=_0x27cdca!==_0x38def9,_0x10ca30=_0x3269e2!==void 0x0&&_0x3269e2!==_0x2fdd43,_0x3573af=new W(),_0x43f636=[],_0x77e7b1=_0x2af9d1[_0x4448f4(0x453)][_0x3b7f10],_0x6bcaff=_0xcf3895&&(!_0x77e7b1||((_0x4ac557=N(_0x77e7b1))==null?void 0x0:_0x4ac557[_0x4448f4(0x1f7)])!==_0x33634f[_0x4448f4(0x19a)])?_0x77e7b1?_0x3573af[_0x4448f4(0x2b0)](_0x7228af,_0x5b4ef6,_0x3b7f10,{'config':{..._0x77e7b1[_0x4448f4(0x50c)],'relationRole':_0x33634f[_0x4448f4(0x19a)]}}):_0x3bd4a[_0x4448f4(0x268)](Kr)['createCreateFieldOp'](_0x28f840,_0x5b4ef6,Ye(_0x2af9d1,_0x3b7f10,_0x5941c8[_0x4448f4(0x31b)]),_0x2af9d1[_0x4448f4(0x534)][_0x4448f4(0x4ab)]):null;_0x6bcaff&&_0x43f636[_0x4448f4(0x381)](_0x6bcaff),_0xcf3895&&_0x43f636[_0x4448f4(0x381)](_0x3573af[_0x4448f4(0x1e3)](_0x7228af,_0x5b4ef6,_0x5dba18,_0x3b7f10,_0x38def9?Re([_0x38def9]):'')),_0x10ca30&&_0x43f636[_0x4448f4(0x381)](_0x3573af[_0x4448f4(0x327)](_0x7228af,_0x5b4ef6,_0x5dba18,_0x3269e2));let _0x1c5dd8=R(_0x43f636),_0x3320cf={'tableId':_0x5b4ef6,'fieldId':_0x3b7f10,'recordId':_0x5dba18,'oldParentRecordId':_0x27cdca,'parentRecordId':_0x38def9},_0x2515a9={'unitId':_0x3943d4,'op':_0x1c5dd8,'trigger':no['id'],'hierarchyChanges':[_0x3320cf],'source':_0x5941c8[_0x4448f4(0x376)]??'ui'},_0x190156={..._0x2515a9,'source':'redo'};if(!_0x3bd4a['get'](_0x2a9a16)['syncExecuteCommand'](Q['id'],_0x2515a9))return!0x1;let _0x56119e=_0x28f840[_0x4448f4(0x28c)](),_0xa1d6d3=[];_0xcf3895&&_0xa1d6d3[_0x4448f4(0x381)](ro(_0x56119e,_0x7228af,_0x5b4ef6,_0x5dba18,_0x3b7f10)),_0x10ca30&&_0xa1d6d3['push'](io(_0x56119e,_0x7228af,_0x5b4ef6,_0x5dba18)),_0x6bcaff&&_0xa1d6d3['push'](new z()['invertOp'](_0x7228af,_0x6bcaff));let _0x1b4dc7={'unitId':_0x3943d4,'op':R(_0xa1d6d3),'trigger':no['id'],'hierarchyChanges':[{..._0x3320cf,'oldParentRecordId':_0x38def9,'parentRecordId':_0x27cdca}],'source':_0x4448f4(0x410)};return _0x5293a9[_0x4448f4(0x3ed)](_0x3943d4),_0x3bd4a[_0x4448f4(0x268)](_0x1f4c86)[_0x4448f4(0x333)]({'unitID':_0x3943d4,'undoMutations':[{'id':Q['id'],'params':_0x1b4dc7}],'redoMutations':[{'id':Q['id'],'params':_0x190156}]}),!0x0;}};function ro(_0xcc560a,_0x56ddb6,_0x2ebe24,_0x2db3f9,_0x1ff051){const _0x591fa6=_0x282c57;var _0x52e400,_0x3bd8d8,_0x17f7d3,_0x599efa,_0x439631,_0x42f269,_0x3b254e,_0x4d409c;let _0x2f17c6=_0xcc560a[_0x591fa6(0x528)][_0x2ebe24],_0x5d6e8d=_0x56ddb6[_0x591fa6(0x528)][_0x2ebe24],_0x59ee5d=(_0x52e400=_0x2f17c6[_0x591fa6(0x277)])==null?void 0x0:_0x52e400[_0x2db3f9],_0x2af0b9=(_0x3bd8d8=_0x2f17c6[_0x591fa6(0x28f)])==null?void 0x0:_0x3bd8d8[_0x1ff051],_0x28a51e=(_0x17f7d3=_0x5d6e8d[_0x591fa6(0x277)])==null?void 0x0:_0x17f7d3[_0x2db3f9],_0x1e458d=(_0x599efa=_0x5d6e8d[_0x591fa6(0x28f)])==null?void 0x0:_0x599efa[_0x1ff051],_0x29da4c=_0x59ee5d==null||_0x2af0b9==null||(_0x439631=_0x2f17c6[_0x591fa6(0x343)])==null||(_0x439631=_0x439631[_0x59ee5d])==null?void 0x0:_0x439631[_0x2af0b9],_0x4bcd11=_0x28a51e==null||_0x1e458d==null||(_0x42f269=_0x5d6e8d[_0x591fa6(0x343)])==null||(_0x42f269=_0x42f269[_0x28a51e])==null?void 0x0:_0x42f269[_0x1e458d],_0x5c4408=(_0x3b254e=_0x2f17c6[_0x591fa6(0x1e1)][_0x2db3f9])==null?void 0x0:_0x3b254e[_0x591fa6(0x54e)][_0x1ff051],_0x282227=(_0x4d409c=_0x5d6e8d[_0x591fa6(0x1e1)][_0x2db3f9])==null?void 0x0:_0x4d409c['values'][_0x1ff051],_0x11ee63=[],_0x2a4db7=ao(_0x59ee5d==null||_0x2af0b9==null?null:U[_0x591fa6(0x343)](_0x2ebe24,_0x59ee5d,_0x2af0b9),_0x29da4c,_0x4bcd11);_0x2a4db7&&_0x11ee63[_0x591fa6(0x381)](_0x2a4db7);let _0xfd050b=ao(U[_0x591fa6(0x1f9)](_0x2ebe24,_0x2db3f9,_0x1ff051),_0x5c4408,_0x282227);return _0xfd050b&&_0x11ee63[_0x591fa6(0x381)](_0xfd050b),R(_0x11ee63);}function io(_0x10f9e7,_0x5660f1,_0x33c395,_0x574df9){const _0x4295d2=_0x282c57;var _0x334bab,_0x29db3c;let _0x2f599b=_0x10f9e7[_0x4295d2(0x528)][_0x33c395],_0x5071d2=_0x5660f1['tables'][_0x33c395];return R([ao([...U['record'](_0x33c395,_0x574df9),_0x4295d2(0x38a)],(_0x334bab=_0x2f599b['records'][_0x574df9])==null?void 0x0:_0x334bab[_0x4295d2(0x38a)],(_0x29db3c=_0x5071d2[_0x4295d2(0x1e1)][_0x574df9])==null?void 0x0:_0x29db3c[_0x4295d2(0x38a)]),ao([...U[_0x4295d2(0x270)](_0x33c395),_0x4295d2(0x413)],_0x2f599b[_0x4295d2(0x413)],_0x5071d2[_0x4295d2(0x413)])][_0x4295d2(0x4cc)](_0x5b26ce=>!!_0x5b26ce));}function ao(_0x2c1cd6,_0x21f734,_0x46bd91){const _0x2dbb02=_0x282c57;if(!_0x2c1cd6||_0x21f734===void 0x0&&_0x46bd91===void 0x0)return null;let _0x354eb9=_0x21604b[_0x2dbb02(0x37d)]();return _0x46bd91===void 0x0?_0x354eb9['removeOp'](_0x2c1cd6,_0x21f734):_0x21f734===void 0x0?_0x354eb9['insertOp'](_0x2c1cd6,_0x46bd91):_0x354eb9['replaceOp'](_0x2c1cd6,_0x21f734,_0x46bd91);}const oo={'id':_0x282c57(0x1d8),'type':_0x31b5a7[_0x282c57(0x401)],'handler':(_0x99f96,_0x18ff94)=>{const _0x18f79c=_0x282c57;if(!_0x18ff94)return!0x1;let _0x20748b=_0x99f96['get'](_0x54ce33),{unitId:_0x37b122,tableId:_0x46a7b3,viewId:_0x238515,target:_0x25bce1}=_0x18ff94,_0x158881=_0x20748b['getUnit'](_0x37b122,_0x335149[_0x18f79c(0x370)]),_0x48089f=_0x25bce1[_0x18f79c(0x454)]??_0x25bce1[_0x18f79c(0x314)];if(!_0x158881||!_0x48089f||_0x48089f===_0x238515||!$(_0x158881,_0x46a7b3,{'viewIds':[_0x238515,_0x48089f]}))return!0x1;let _0x860269=_0x99f96['get'](_0x2a9a16),_0x4c393d=_0x99f96[_0x18f79c(0x268)](_0x1f4c86),_0x49c256=_0x158881[_0x18f79c(0x28c)](),_0x43b664=new W()[_0x18f79c(0x360)](_0x49c256,_0x46a7b3,_0x238515,_0x25bce1),_0x65d7c1=new z()[_0x18f79c(0x35e)](_0x49c256,_0x43b664),_0x5e54b0={'unitId':_0x37b122,'op':_0x43b664},_0x540fea={'unitId':_0x37b122,'op':_0x65d7c1};return _0x860269['syncExecuteCommand'](Q['id'],_0x5e54b0)?(_0x20748b[_0x18f79c(0x3ed)](_0x37b122),_0x4c393d[_0x18f79c(0x333)]({'unitID':_0x37b122,'undoMutations':[{'id':Q['id'],'params':_0x540fea}],'redoMutations':[{'id':Q['id'],'params':_0x5e54b0}]}),!0x0):!0x1;}},so={'id':'base.command.rename-base-table','type':_0x31b5a7[_0x282c57(0x401)],'handler':(_0x361c52,_0x5a25ae)=>{const _0x582c22=_0x282c57;if(!_0x5a25ae)return!0x1;let _0x20cb1a=_0x361c52[_0x582c22(0x268)](_0x54ce33),{unitId:_0x55b7ab,tableId:_0x2216ee,name:_0x26bcc9}=_0x5a25ae,_0x5cf22f=_0x20cb1a['getUnit'](_0x55b7ab,_0x335149[_0x582c22(0x370)]);if(!_0x5cf22f||!$(_0x5cf22f,_0x2216ee)||!Oa(_0x5cf22f[_0x582c22(0x28c)](),_0x26bcc9,_0x2216ee)['valid'])return!0x1;let _0x23c0b0=_0x361c52['get'](_0x2a9a16),_0x4086d2=_0x361c52['get'](_0x1f4c86),_0x171e4d=_0x5cf22f['getSnapshot'](),_0x1e1a97=new W()[_0x582c22(0x33e)](_0x171e4d,_0x2216ee,_0x26bcc9),_0x52d826=new z()['invertOp'](_0x171e4d,_0x1e1a97),_0x9b22bf={'unitId':_0x55b7ab,'op':_0x1e1a97},_0x245e41={'unitId':_0x55b7ab,'op':_0x52d826};return _0x23c0b0['syncExecuteCommand'](Q['id'],_0x9b22bf)?(_0x20cb1a[_0x582c22(0x3ed)](_0x55b7ab),_0x4086d2[_0x582c22(0x333)]({'unitID':_0x55b7ab,'undoMutations':[{'id':Q['id'],'params':_0x245e41}],'redoMutations':[{'id':Q['id'],'params':_0x9b22bf}]}),!0x0):!0x1;}},co={'id':'base.command.rename-base-view','type':_0x31b5a7[_0x282c57(0x401)],'handler':(_0x4298f7,_0x1913dc)=>{const _0x3cc710=_0x282c57;if(!_0x1913dc)return!0x1;let _0x5dbed2=_0x4298f7[_0x3cc710(0x268)](_0x54ce33),{unitId:_0x1e23f8,tableId:_0x8d2709,viewId:_0x411939,name:_0x33dd55}=_0x1913dc,_0x585f11=_0x5dbed2[_0x3cc710(0x2ad)](_0x1e23f8,_0x335149[_0x3cc710(0x370)]);if(!_0x585f11||!$(_0x585f11,_0x8d2709,{'viewIds':[_0x411939]}))return!0x1;let _0x215502=_0x4298f7[_0x3cc710(0x268)](_0x2a9a16),_0xc84c6b=_0x4298f7[_0x3cc710(0x268)](_0x1f4c86),_0x4275e6=_0x585f11[_0x3cc710(0x28c)](),_0x290b83=new W()['renameView'](_0x4275e6,_0x8d2709,_0x411939,_0x33dd55),_0x27b68=new z()[_0x3cc710(0x35e)](_0x4275e6,_0x290b83),_0x53050d={'unitId':_0x1e23f8,'op':_0x290b83},_0x17038e={'unitId':_0x1e23f8,'op':_0x27b68};return _0x215502[_0x3cc710(0x2e5)](Q['id'],_0x53050d)?(_0x5dbed2[_0x3cc710(0x3ed)](_0x1e23f8),_0xc84c6b[_0x3cc710(0x333)]({'unitID':_0x1e23f8,'undoMutations':[{'id':Q['id'],'params':_0x17038e}],'redoMutations':[{'id':Q['id'],'params':_0x53050d}]}),!0x0):!0x1;}},lo={'id':_0x282c57(0x478),'type':_0x31b5a7[_0x282c57(0x401)],'handler':(_0x2171f6,_0x2bbd28)=>{const _0x4432f6=_0x282c57;if(!_0x2bbd28)return!0x1;let _0x84aa6c=_0x2171f6[_0x4432f6(0x268)](_0x54ce33),{unitId:_0xccb813,tableId:_0x3e9391,viewId:_0x4fa843,fieldId:_0x39a429}=_0x2bbd28,_0x4df3fe=_0x84aa6c[_0x4432f6(0x2ad)](_0xccb813,_0x335149['UNIVER_BASE']);if(!_0x4df3fe||!$(_0x4df3fe,_0x3e9391,{'viewIds':[_0x4fa843],'fieldIds':[_0x39a429]}))return!0x1;let _0x4d8177=_0x2171f6[_0x4432f6(0x268)](_0x2a9a16),_0x471bd2=_0x2171f6[_0x4432f6(0x268)](_0x1f4c86),_0x505e06=_0x4df3fe['getSnapshot'](),_0x271f4a=new W()[_0x4432f6(0x393)](_0x505e06,_0x3e9391,_0x4fa843,{'groupFieldId':_0x39a429}),_0x48ab48=new z()['invertOp'](_0x505e06,_0x271f4a),_0x2618ca={'unitId':_0xccb813,'op':_0x271f4a},_0xcbfb1a={'unitId':_0xccb813,'op':_0x48ab48};return _0x4d8177[_0x4432f6(0x2e5)](Q['id'],_0x2618ca)?(_0x84aa6c[_0x4432f6(0x3ed)](_0xccb813),_0x471bd2[_0x4432f6(0x333)]({'unitID':_0xccb813,'undoMutations':[{'id':Q['id'],'params':_0xcbfb1a}],'redoMutations':[{'id':Q['id'],'params':_0x2618ca}]}),!0x0):!0x1;}},uo={'id':'base.command.set-base-name','type':_0x31b5a7['COMMAND'],'handler':(_0x3aa0a4,_0x135194)=>{const _0x1dd386=_0x282c57;if(!_0x135194)return!0x1;let _0x37f84c=_0x3aa0a4[_0x1dd386(0x268)](_0x54ce33),_0x445147=_0x37f84c[_0x1dd386(0x2ad)](_0x135194[_0x1dd386(0x226)],_0x335149['UNIVER_BASE']);if(!_0x445147)return!0x1;let _0x5779f4=_0x445147[_0x1dd386(0x28c)]()[_0x1dd386(0x2f4)];if(_0x5779f4===_0x135194[_0x1dd386(0x2f4)])return!0x0;let _0x3d1a0d=new W(),_0x673063=new z(),_0x27a70e=[],_0x3ba4e9=[],_0x115520=[_0x445147,..._0x37f84c[_0x1dd386(0x1cd)](_0x335149['UNIVER_BASE'])[_0x1dd386(0x4cc)](_0x24ebed=>_0x24ebed['getUnitId']()!==_0x135194[_0x1dd386(0x226)])];for(let _0x198142 of _0x115520){let _0x50f219=_0x198142[_0x1dd386(0x28c)](),_0x9394df=_0x198142===_0x445147?_0x3d1a0d[_0x1dd386(0x20b)](_0x50f219,_0x135194['name']):_0x3d1a0d[_0x1dd386(0x3bd)](_0x50f219,_0x5779f4,_0x135194[_0x1dd386(0x2f4)]);_0x9394df&&(_0x27a70e[_0x1dd386(0x381)]({'id':Q['id'],'params':{'unitId':_0x198142[_0x1dd386(0x1e4)](),'op':_0x9394df,'trigger':uo['id']}}),_0x3ba4e9[_0x1dd386(0x339)]({'id':Q['id'],'params':{'unitId':_0x198142['getUnitId'](),'op':_0x673063['invertOp'](_0x50f219,_0x9394df),'trigger':uo['id']}}));}let _0x15f524=_0x3aa0a4[_0x1dd386(0x268)](_0x2a9a16),_0xad5d55=_0x3aa0a4[_0x1dd386(0x268)](_0x1f4c86),_0x178225=_0xad5d55[_0x1dd386(0x1cf)](_0x135194[_0x1dd386(0x226)]);try{return _0x34a596(_0x27a70e,_0x15f524)[_0x1dd386(0x427)]?(_0x37f84c[_0x1dd386(0x3ed)](_0x135194[_0x1dd386(0x226)]),_0xad5d55[_0x1dd386(0x333)]({'unitID':_0x135194[_0x1dd386(0x226)],'undoMutations':_0x3ba4e9,'redoMutations':_0x27a70e}),!0x0):!0x1;}finally{_0x178225[_0x1dd386(0x27a)]();}}},fo={'type':_0x31b5a7[_0x282c57(0x401)],'id':'base.command.set-permission',async 'handler'(_0x5af0ef,_0x5dd191){const _0x5a1774=_0x282c57;if(!_0x5dd191||!Tr[_0x5a1774(0x3df)](_0x5dd191[_0x5a1774(0x1ce)])||_0x5dd191[_0x5a1774(0x223)]!==_0x5dd191[_0x5a1774(0x226)]&&_0x5dd191[_0x5a1774(0x1ce)]!==_0x133e41[_0x5a1774(0x4a6)]||_0x5dd191['policy']&&(![_0x5a1774(0x207),_0x5a1774(0x355),_0x5a1774(0x38e)][_0x5a1774(0x3df)](_0x5dd191[_0x5a1774(0x1a8)][_0x5a1774(0x301)])||_0x5dd191[_0x5a1774(0x1a8)][_0x5a1774(0x4a1)][_0x5a1774(0x436)](_0x4e8935=>!Tr['includes'](_0x4e8935['action'])||_0x5dd191[_0x5a1774(0x223)]!==_0x5dd191[_0x5a1774(0x226)]&&_0x4e8935[_0x5a1774(0x1ce)]!==_0x133e41[_0x5a1774(0x4a6)])))return!0x1;let _0x2395b7=Pr(_0x5dd191[_0x5a1774(0x226)],_0x5dd191['objectId'],_0x5dd191[_0x5a1774(0x1ce)]),_0x8bfcc6={'unitId':_0x5dd191[_0x5a1774(0x226)],'objectId':_0x5dd191[_0x5a1774(0x223)],'objectType':_0x2395b7['type']},_0x460c9d=_0x5af0ef['get'](_0x532322);return _0x5dd191[_0x5a1774(0x49c)]?await _0x460c9d['remove'](_0x8bfcc6):_0x5dd191[_0x5a1774(0x1a8)]?await _0x460c9d[_0x5a1774(0x310)](_0x8bfcc6,_0x5dd191[_0x5a1774(0x1a8)]):await _0x460c9d['setPoint'](_0x8bfcc6,_0x2395b7,_0x5dd191[_0x5a1774(0x373)]),!0x0;}},po={'type':_0x31b5a7[_0x282c57(0x401)],'id':_0x282c57(0x34f),async 'handler'(_0x56e09c,_0xad89f5){const _0x40c5fa=_0x282c57;if(!(_0xad89f5!=null&&_0xad89f5['unitId'])||!Array[_0x40c5fa(0x3d5)](_0xad89f5[_0x40c5fa(0x24e)])||!_0xad89f5['changes']['length']||_0xad89f5['changes'][_0x40c5fa(0x436)](_0x5c9d55=>!(_0x5c9d55!=null&&_0x5c9d55[_0x40c5fa(0x223)])||_0x5c9d55[_0x40c5fa(0x223)]===_0xad89f5[_0x40c5fa(0x226)]||_0x5c9d55[_0x40c5fa(0x1a8)]!==null&&(!_0x5c9d55['policy']||![_0x40c5fa(0x207),_0x40c5fa(0x355),'members'][_0x40c5fa(0x3df)](_0x5c9d55['policy']['edit'])||!Array[_0x40c5fa(0x3d5)](_0x5c9d55[_0x40c5fa(0x1a8)][_0x40c5fa(0x4e8)])||!Array[_0x40c5fa(0x3d5)](_0x5c9d55[_0x40c5fa(0x1a8)][_0x40c5fa(0x4a1)])||_0x5c9d55[_0x40c5fa(0x1a8)][_0x40c5fa(0x4a1)]['some'](_0x1d5af8=>_0x1d5af8['action']!==_0x133e41[_0x40c5fa(0x4a6)]))))throw Error(_0x40c5fa(0x1dc));return _0x56e09c[_0x40c5fa(0x268)](_0x532322)['saveMany'](_0xad89f5[_0x40c5fa(0x24e)][_0x40c5fa(0x309)](_0x1f4246=>{const _0x582419=_0x40c5fa;let _0x5c3c19=Pr(_0xad89f5[_0x582419(0x226)],_0x1f4246[_0x582419(0x223)],_0x133e41[_0x582419(0x4a6)]);return{'unitId':_0xad89f5['unitId'],'objectId':_0x1f4246[_0x582419(0x223)],'objectType':_0x5c3c19['type'],'policy':_0x1f4246[_0x582419(0x1a8)]};}));}};function mo(_0x577973,_0x38fdfd){const _0x56035d=_0x282c57;let _0x3398bf=L(_0xd92214[_0x56035d(0x4d7)](_0x577973)),_0x449d22=new Map();return _0x38fdfd[_0x56035d(0x34b)](_0x445a78=>{const _0x35dde8=_0x56035d;var _0x3baa59,_0x59d079;let _0x26ce58=_0x35dde8(0x40d)in _0x445a78?_0x445a78['recordId']:(_0x3baa59=_0x3398bf['rowId'])==null?void 0x0:_0x3baa59[_0x445a78[_0x35dde8(0x2f0)]],_0x3b9510=_0x35dde8(0x387)in _0x445a78?_0x445a78[_0x35dde8(0x387)]:(_0x59d079=_0x3398bf['colId'])==null?void 0x0:_0x59d079[_0x445a78[_0x35dde8(0x340)]],_0x1f8899=_0x3b9510?_0x3398bf[_0x35dde8(0x453)][_0x3b9510]:void 0x0;if(!_0x26ce58||!_0x3b9510||!_0x1f8899||!_0x3398bf[_0x35dde8(0x1e1)][_0x26ce58])return;let _0xda1bd7=xt(_0x445a78[_0x35dde8(0x373)],_0x1f8899),_0x4e5043=wt(_0x445a78[_0x35dde8(0x373)],_0xda1bd7,_0x1f8899,_0x3398bf,_0x26ce58),_0x469e42=_0x449d22[_0x35dde8(0x268)](_0x26ce58)??{};_0x469e42[_0x3b9510]=_0x4e5043,_0x449d22[_0x35dde8(0x246)](_0x26ce58,_0x469e42);}),[..._0x449d22][_0x56035d(0x309)](([_0x281e07,_0x3f41de])=>({'recordId':_0x281e07,'values':_0x3f41de}));}const ho={'id':_0x282c57(0x220),'type':_0x31b5a7[_0x282c57(0x401)],'handler'(_0x1c1902,_0x5f3643){const _0x26652f=_0x282c57;if(!_0x5f3643)return!0x1;let _0x2d2e5c=_0x1c1902[_0x26652f(0x268)](_0x54ce33),{unitId:_0x49a650,tableId:_0x2f78b0,patches:_0xc1b84d}=_0x5f3643,_0x5160f4=_0x2d2e5c[_0x26652f(0x2ad)](_0x49a650,_0x335149['UNIVER_BASE']);if(!_0x5160f4||!$(_0x5160f4,_0x2f78b0))return!0x1;let _0x5759ad=_0x1c1902[_0x26652f(0x268)](_0x2a9a16),_0x4db9a3=_0x1c1902[_0x26652f(0x268)](_0x1f4c86),_0x3959eb=_0x5160f4[_0x26652f(0x28c)](),_0x3719e4=L(_0x3959eb['tables'][_0x2f78b0]),_0x4f0223=_0xc1b84d[_0x26652f(0x309)](_0x275cb9=>{const _0x4d008e=_0x26652f;var _0x4b13cd;return _0x4d008e(0x40d)in _0x275cb9?_0x275cb9[_0x4d008e(0x40d)]:(_0x4b13cd=_0x3719e4['rowId'])==null?void 0x0:_0x4b13cd[_0x275cb9[_0x4d008e(0x2f0)]];})['filter'](_0x5c2c34=>_0x5c2c34!=null),_0x3cd4f4=_0xc1b84d[_0x26652f(0x309)](_0x55f56d=>{const _0x3e6655=_0x26652f;var _0x5692af;return _0x3e6655(0x387)in _0x55f56d?_0x55f56d['fieldId']:(_0x5692af=_0x3719e4['colId'])==null?void 0x0:_0x5692af[_0x55f56d[_0x3e6655(0x340)]];})[_0x26652f(0x4cc)](_0x4834f7=>_0x4834f7!=null);if(_0x4f0223[_0x26652f(0x4ab)]!==_0xc1b84d[_0x26652f(0x4ab)]||_0x3cd4f4[_0x26652f(0x4ab)]!==_0xc1b84d[_0x26652f(0x4ab)]||!$(_0x5160f4,_0x2f78b0,{'recordIds':_0x4f0223,'fieldIds':_0x3cd4f4})||_0xc1b84d[_0x26652f(0x436)]((_0x3202b8,_0x178f9e)=>!ga(_0x5160f4,_0x2f78b0,_0x3cd4f4[_0x178f9e],_0x3202b8[_0x26652f(0x373)])))return!0x1;let _0x1085cc=Ze(_0x3719e4,mo(_0x3719e4,_0xc1b84d)),_0xa8bda9=_0xc1b84d['flatMap'](_0x5b5d11=>{const _0x471ff5=_0x26652f;var _0xfa410,_0x123c27;if('row'in _0x5b5d11)return[_0x5b5d11];let _0xd1c22f=(_0xfa410=_0x3719e4[_0x471ff5(0x277)])==null?void 0x0:_0xfa410[_0x5b5d11['recordId']],_0x396791=(_0x123c27=_0x3719e4[_0x471ff5(0x28f)])==null?void 0x0:_0x123c27[_0x5b5d11[_0x471ff5(0x387)]];return _0xd1c22f==null||_0x396791==null?[]:[{'row':_0xd1c22f,'col':_0x396791,'value':_0x5b5d11['value']}];}),_0x415170=new W()[_0x26652f(0x30b)](_0x3959eb,_0x2f78b0,_0xa8bda9),_0x41a56e=new z()['invertOp'](_0x3959eb,_0x415170),_0x461b77={'unitId':_0x49a650,'op':_0x415170,'trigger':_0x1085cc[_0x26652f(0x4ab)]?ho['id']:void 0x0,'hierarchyChanges':_0x1085cc['length']?_0x1085cc:void 0x0,'source':_0x1085cc[_0x26652f(0x4ab)]?_0x26652f(0x324):void 0x0},_0x1ff4e2={'unitId':_0x49a650,'op':_0x41a56e,'trigger':_0x1085cc[_0x26652f(0x4ab)]?ho['id']:void 0x0,'hierarchyChanges':_0x1085cc[_0x26652f(0x4ab)]?_0x1085cc[_0x26652f(0x309)](_0xf66974=>({..._0xf66974,'oldParentRecordId':_0xf66974[_0x26652f(0x1fd)],'parentRecordId':_0xf66974[_0x26652f(0x1fb)]})):void 0x0,'source':_0x1085cc[_0x26652f(0x4ab)]?'undo':void 0x0},_0x5f5159={..._0x461b77,'source':_0x1085cc[_0x26652f(0x4ab)]?_0x5f3643['source']??'ui':void 0x0};return _0x5759ad['syncExecuteCommand'](Q['id'],_0x5f5159)?(_0x2d2e5c['focusUnit'](_0x49a650),_0x4db9a3[_0x26652f(0x333)]({'unitID':_0x49a650,'undoMutations':[{'id':Q['id'],'params':_0x1ff4e2}],'redoMutations':[{'id':Q['id'],'params':_0x461b77}]}),!0x0):!0x1;}},go={'id':_0x282c57(0x418),'type':_0x31b5a7[_0x282c57(0x401)],'handler'(_0x347b5b,_0x37d762){const _0x2e617f=_0x282c57;if(!_0x37d762)return!0x1;let _0x2887d5=_0x347b5b[_0x2e617f(0x268)](_0x54ce33),{unitId:_0x47a5e7,tableId:_0x3e698c,patches:_0x478566}=_0x37d762,_0x4d941c=_0x2887d5[_0x2e617f(0x2ad)](_0x47a5e7,_0x335149[_0x2e617f(0x370)]),_0x2774a7=_0x478566['map'](_0x308e82=>_0x308e82[_0x2e617f(0x40d)]),_0x472d65=_0x478566[_0x2e617f(0x26a)](_0x1cbad5=>Object[_0x2e617f(0x334)](_0x1cbad5[_0x2e617f(0x54e)]));if(!_0x4d941c||!$(_0x4d941c,_0x3e698c,{'recordIds':_0x2774a7,'fieldIds':_0x472d65})||_0x478566[_0x2e617f(0x436)](_0x428b9f=>Object['entries'](_0x428b9f[_0x2e617f(0x54e)])[_0x2e617f(0x436)](([_0x1891e1,_0xd8d187])=>!ga(_0x4d941c,_0x3e698c,_0x1891e1,_0xd8d187))))return!0x1;let _0x4264d3=Ze(_0x4d941c[_0x2e617f(0x28c)]()[_0x2e617f(0x528)][_0x3e698c],_0x478566),_0x4374fd=_0x347b5b[_0x2e617f(0x268)](_0x2a9a16),_0x24ca31=_0x347b5b[_0x2e617f(0x268)](_0x1f4c86),_0x514a4a=_0x347b5b[_0x2e617f(0x268)](Kr)[_0x2e617f(0x19f)](_0x4d941c,_0x3e698c,_0x478566),_0x5dafdf=new z()[_0x2e617f(0x35e)](_0x4d941c[_0x2e617f(0x28c)](),_0x514a4a),_0x3f9819={'unitId':_0x47a5e7,'op':_0x514a4a,'trigger':_0x4264d3[_0x2e617f(0x4ab)]?go['id']:void 0x0,'hierarchyChanges':_0x4264d3['length']?_0x4264d3:void 0x0,'source':_0x4264d3[_0x2e617f(0x4ab)]?_0x37d762['source']??'ui':void 0x0},_0x2f50e1={..._0x3f9819,'source':_0x4264d3[_0x2e617f(0x4ab)]?_0x2e617f(0x324):void 0x0},_0x17b133={'unitId':_0x47a5e7,'op':_0x5dafdf,'trigger':_0x4264d3['length']?go['id']:void 0x0,'hierarchyChanges':_0x4264d3[_0x2e617f(0x4ab)]?_0x4264d3[_0x2e617f(0x309)](_0x56395b=>({..._0x56395b,'oldParentRecordId':_0x56395b['parentRecordId'],'parentRecordId':_0x56395b[_0x2e617f(0x1fb)]})):void 0x0,'source':_0x4264d3[_0x2e617f(0x4ab)]?'undo':void 0x0};return _0x4374fd[_0x2e617f(0x2e5)](Q['id'],_0x3f9819)?(_0x2887d5[_0x2e617f(0x3ed)](_0x47a5e7),_0x24ca31[_0x2e617f(0x333)]({'unitID':_0x47a5e7,'undoMutations':[{'id':Q['id'],'params':_0x17b133}],'redoMutations':[{'id':Q['id'],'params':_0x2f50e1}]}),!0x0):!0x1;}},_o={'id':'base.command.set-base-table-hierarchy-field','type':_0x31b5a7[_0x282c57(0x401)],'handler':(_0x194eb1,_0x3ccfdf)=>{const _0x3dd86b=_0x282c57;if(!_0x3ccfdf)return!0x1;let {unitId:_0x48710b,tableId:_0x2830d9,fieldId:_0x100356}=_0x3ccfdf,_0x1166b0=_0x194eb1[_0x3dd86b(0x268)](_0x54ce33),_0x519965=_0x1166b0[_0x3dd86b(0x2ad)](_0x48710b,_0x335149[_0x3dd86b(0x370)]);if(!_0x519965||!$(_0x519965,_0x2830d9))return!0x1;let _0x20e11f=_0x519965[_0x3dd86b(0x28c)](),_0x29e6cb=_0x20e11f[_0x3dd86b(0x528)][_0x2830d9];if(_0x100356!==null&&!F(_0x29e6cb,_0x100356))throw new P(_0x3dd86b(0x38b));if(qe(_0x29e6cb)===_0x100356)return!0x0;let _0x5ba5c4=new W(),_0x2a88ab=R(Object[_0x3dd86b(0x54e)](_0x29e6cb[_0x3dd86b(0x453)])[_0x3dd86b(0x26a)](_0x32f06f=>{const _0xfd029d=_0x3dd86b;if(!F(_0x29e6cb,_0x32f06f['id']))return[];let _0x3b45c7=N(_0x32f06f);if(!_0x3b45c7)return[];let _0x2771cd=_0x32f06f['id']===_0x100356;if(_0x3b45c7['relationRole']===_0x33634f['Parent']===_0x2771cd)return[];let _0x314528={..._0x32f06f[_0xfd029d(0x50c)],'targetTableId':_0x3b45c7[_0xfd029d(0x3e5)],'multiple':_0x3b45c7[_0xfd029d(0x3ea)]};return _0x2771cd?_0x314528[_0xfd029d(0x1f7)]=_0x33634f[_0xfd029d(0x19a)]:delete _0x314528['relationRole'],[_0x5ba5c4[_0xfd029d(0x2b0)](_0x20e11f,_0x2830d9,_0x32f06f['id'],{'config':_0x314528})];})),_0x58d5c9=new z()[_0x3dd86b(0x35e)](_0x20e11f,_0x2a88ab),_0x5dc2c2={'unitId':_0x48710b,'op':_0x2a88ab},_0x362a9c={'unitId':_0x48710b,'op':_0x58d5c9};return _0x194eb1[_0x3dd86b(0x268)](_0x2a9a16)[_0x3dd86b(0x2e5)](Q['id'],_0x5dc2c2)?(_0x1166b0[_0x3dd86b(0x3ed)](_0x48710b),_0x194eb1[_0x3dd86b(0x268)](_0x1f4c86)['pushUndoRedo']({'unitID':_0x48710b,'undoMutations':[{'id':Q['id'],'params':_0x362a9c}],'redoMutations':[{'id':Q['id'],'params':_0x5dc2c2}]}),!0x0):!0x1;}},vo={'id':_0x282c57(0x371),'type':_0x31b5a7['COMMAND'],'handler':(_0x24f89d,_0x37bdd8)=>{const _0xc51f3b=_0x282c57;if(!_0x37bdd8)return!0x1;let _0x40a5f1=_0x24f89d[_0xc51f3b(0x268)](_0x54ce33),{unitId:_0x212e91,tableId:_0x552b09,viewId:_0x21846c,fieldId:_0x53ec84,target:_0x235f27}=_0x37bdd8,_0x258e59=_0x40a5f1['getUnit'](_0x212e91,_0x335149[_0xc51f3b(0x370)]),_0x2a4804=_0x235f27[_0xc51f3b(0x21a)]??_0x235f27['afterFieldId'];if(!_0x258e59||!_0x2a4804||_0x2a4804===_0x53ec84||!$(_0x258e59,_0x552b09,{'viewIds':[_0x21846c],'fieldIds':[_0x53ec84,_0x2a4804]}))return!0x1;let _0x1218ad=_0x258e59[_0xc51f3b(0x28c)]()[_0xc51f3b(0x528)][_0x552b09],_0x33d94d=_0x1218ad[_0xc51f3b(0x453)][_0x53ec84],_0x38d213=_0x1218ad[_0xc51f3b(0x453)][_0x2a4804];if(_0x33d94d[_0xc51f3b(0x43c)]===!0x0||_0x33d94d[_0xc51f3b(0x4aa)]===_0x239099['RecordId']||_0x38d213[_0xc51f3b(0x43c)]===!0x0||_0x38d213[_0xc51f3b(0x4aa)]===_0x239099['RecordId'])return!0x1;let _0x45e465=_0x24f89d[_0xc51f3b(0x268)](_0x2a9a16),_0x2e647a=_0x24f89d[_0xc51f3b(0x268)](_0x1f4c86),_0x48d437=_0x258e59['getSnapshot'](),_0x30c8c7=new W()[_0xc51f3b(0x2af)](_0x48d437,_0x552b09,_0x21846c,_0x53ec84,_0x235f27),_0x54814f=new z()[_0xc51f3b(0x35e)](_0x48d437,_0x30c8c7),_0x2b6325={'unitId':_0x212e91,'op':_0x30c8c7},_0xb86344={'unitId':_0x212e91,'op':_0x54814f};return _0x45e465[_0xc51f3b(0x2e5)](Q['id'],_0x2b6325)?(_0x40a5f1[_0xc51f3b(0x3ed)](_0x212e91),_0x2e647a[_0xc51f3b(0x333)]({'unitID':_0x212e91,'undoMutations':[{'id':Q['id'],'params':_0xb86344}],'redoMutations':[{'id':Q['id'],'params':_0x2b6325}]}),!0x0):!0x1;}},yo={'id':_0x282c57(0x4c2),'type':_0x31b5a7['COMMAND'],'handler'(_0x5aed3b,_0x33e74c){const _0x32b4d5=_0x282c57;if(!_0x33e74c)return!0x1;let _0x2c25c9=_0x5aed3b[_0x32b4d5(0x268)](_0x54ce33),{unitId:_0x394ece,tableId:_0x291fc6,viewId:_0x3f828f,fieldId:_0x1073cf,visible:_0x656ab1}=_0x33e74c,_0x49d99b=_0x2c25c9[_0x32b4d5(0x2ad)](_0x394ece,_0x335149[_0x32b4d5(0x370)]);if(!_0x49d99b||!$(_0x49d99b,_0x291fc6,{'viewIds':[_0x3f828f],'fieldIds':[_0x1073cf]}))return!0x1;let _0x368f0e=_0x49d99b[_0x32b4d5(0x28c)]()['tables'][_0x291fc6][_0x32b4d5(0x453)][_0x1073cf];if(_0x368f0e[_0x32b4d5(0x43c)]===!0x0||_0x368f0e[_0x32b4d5(0x4aa)]===_0x239099[_0x32b4d5(0x205)])return!0x1;let _0x47bb01=_0x5aed3b[_0x32b4d5(0x268)](_0x2a9a16),_0x5383c2=_0x5aed3b['get'](_0x1f4c86),_0x543313=_0x49d99b[_0x32b4d5(0x28c)](),_0xd93a28=new W()[_0x32b4d5(0x353)](_0x543313,_0x291fc6,_0x3f828f,_0x1073cf,_0x656ab1),_0x1b0042=new z()[_0x32b4d5(0x35e)](_0x543313,_0xd93a28),_0x1ce096={'unitId':_0x394ece,'op':_0xd93a28},_0x57bef9={'unitId':_0x394ece,'op':_0x1b0042};return _0x47bb01[_0x32b4d5(0x2e5)](Q['id'],_0x1ce096)?(_0x2c25c9[_0x32b4d5(0x3ed)](_0x394ece),_0x5383c2[_0x32b4d5(0x333)]({'unitID':_0x394ece,'undoMutations':[{'id':Q['id'],'params':_0x57bef9}],'redoMutations':[{'id':Q['id'],'params':_0x1ce096}]}),!0x0):!0x1;}},bo={'id':_0x282c57(0x52a),'type':_0x31b5a7[_0x282c57(0x401)],'handler':(_0x3fa1d5,_0x26548c)=>{const _0x22bc8b=_0x282c57;if(!_0x26548c)return!0x1;let _0x5b1819=_0x3fa1d5['get'](_0x54ce33),{unitId:_0x166a7c,tableId:_0x4c71b4,viewId:_0x2525f8,fieldId:_0x328ddb,width:_0x5d7f8b}=_0x26548c,_0xdba627=_0x5b1819['getUnit'](_0x166a7c,_0x335149[_0x22bc8b(0x370)]);if(!_0xdba627||!$(_0xdba627,_0x4c71b4,{'viewIds':[_0x2525f8],'fieldIds':[_0x328ddb]}))return!0x1;let _0x17f6a1=_0xdba627[_0x22bc8b(0x28c)]()['tables'][_0x4c71b4][_0x22bc8b(0x453)][_0x328ddb];if(_0x17f6a1[_0x22bc8b(0x43c)]===!0x0||_0x17f6a1['type']===_0x239099[_0x22bc8b(0x205)])return!0x1;let _0x19cc32=_0x3fa1d5['get'](_0x2a9a16),_0x1f91bb=_0x3fa1d5[_0x22bc8b(0x268)](_0x1f4c86),_0x16ab7d=_0xdba627[_0x22bc8b(0x28c)](),_0x297a29=new W()[_0x22bc8b(0x229)](_0x16ab7d,_0x4c71b4,_0x2525f8,_0x328ddb,_0x5d7f8b),_0x2be264=new z()['invertOp'](_0x16ab7d,_0x297a29),_0x25fe23={'unitId':_0x166a7c,'op':_0x297a29},_0x29185c={'unitId':_0x166a7c,'op':_0x2be264};return _0x19cc32['syncExecuteCommand'](Q['id'],_0x25fe23)?(_0x5b1819[_0x22bc8b(0x3ed)](_0x166a7c),_0x1f91bb[_0x22bc8b(0x333)]({'unitID':_0x166a7c,'undoMutations':[{'id':Q['id'],'params':_0x29185c}],'redoMutations':[{'id':Q['id'],'params':_0x25fe23}]}),!0x0):!0x1;}},xo={'id':_0x282c57(0x37a),'type':_0x31b5a7[_0x282c57(0x401)],'handler':(_0x28dea8,_0x42cf1e)=>{const _0x42cd51=_0x282c57;if(!_0x42cf1e)return!0x1;let _0x23edc3=_0x28dea8[_0x42cd51(0x268)](_0x54ce33),{unitId:_0xa71404,tableId:_0x24d17a,viewId:_0x271c76,filter:_0x52e127}=_0x42cf1e,_0x35698f=_0x23edc3[_0x42cd51(0x2ad)](_0xa71404,_0x335149[_0x42cd51(0x370)]),_0x2cc4a8=(_0x52e127==null?void 0x0:_0x52e127[_0x42cd51(0x3d8)][_0x42cd51(0x309)](_0x3360c3=>_0x3360c3[_0x42cd51(0x387)]))??[];if(!_0x35698f||!$(_0x35698f,_0x24d17a,{'viewIds':[_0x271c76],'fieldIds':_0x2cc4a8}))return!0x1;let _0x22bfb=_0x28dea8[_0x42cd51(0x268)](_0x2a9a16),_0x1766c7=_0x28dea8['get'](_0x1f4c86),_0x270352=_0x35698f['getSnapshot'](),_0x23f47c=new W()[_0x42cd51(0x296)](_0x270352,_0x24d17a,_0x271c76,_0x52e127),_0x1d9d73=new z()['invertOp'](_0x270352,_0x23f47c),_0x3a3c1e={'unitId':_0xa71404,'op':_0x23f47c},_0x2733c={'unitId':_0xa71404,'op':_0x1d9d73};return _0x22bfb[_0x42cd51(0x2e5)](Q['id'],_0x3a3c1e)?(_0x23edc3[_0x42cd51(0x3ed)](_0xa71404),_0x1766c7['pushUndoRedo']({'unitID':_0xa71404,'undoMutations':[{'id':Q['id'],'params':_0x2733c}],'redoMutations':[{'id':Q['id'],'params':_0x3a3c1e}]}),!0x0):!0x1;}},So={'id':_0x282c57(0x48b),'type':_0x31b5a7[_0x282c57(0x401)],'handler':(_0x3a0a74,_0x412d4a)=>{const _0x2204fc=_0x282c57;if(!_0x412d4a)return!0x1;let _0x2a034b=_0x3a0a74[_0x2204fc(0x268)](_0x54ce33),{unitId:_0x4ac9fd,tableId:_0x1961d0,viewId:_0x9cb5db,group:_0x13e4f6}=_0x412d4a,_0x1826ea=_0x2a034b[_0x2204fc(0x2ad)](_0x4ac9fd,_0x335149[_0x2204fc(0x370)]);if(!_0x1826ea||!$(_0x1826ea,_0x1961d0,{'viewIds':[_0x9cb5db],'fieldIds':_0x13e4f6[_0x2204fc(0x309)](_0x35af82=>_0x35af82[_0x2204fc(0x387)])}))return!0x1;let _0x2c6822=_0x3a0a74['get'](_0x2a9a16),_0x5199f6=_0x3a0a74[_0x2204fc(0x268)](_0x1f4c86),_0x59b1a8=_0x1826ea[_0x2204fc(0x28c)](),_0x26c1f2=new W()[_0x2204fc(0x1f2)](_0x59b1a8,_0x1961d0,_0x9cb5db,_0x13e4f6),_0x49d57e=new z()[_0x2204fc(0x35e)](_0x59b1a8,_0x26c1f2),_0x5a9c64={'unitId':_0x4ac9fd,'op':_0x26c1f2},_0x3a9613={'unitId':_0x4ac9fd,'op':_0x49d57e};return _0x2c6822['syncExecuteCommand'](Q['id'],_0x5a9c64)?(_0x2a034b[_0x2204fc(0x3ed)](_0x4ac9fd),_0x5199f6[_0x2204fc(0x333)]({'unitID':_0x4ac9fd,'undoMutations':[{'id':Q['id'],'params':_0x3a9613}],'redoMutations':[{'id':Q['id'],'params':_0x5a9c64}]}),!0x0):!0x1;}},Co={'id':_0x282c57(0x555),'type':_0x31b5a7['COMMAND'],'handler':(_0x139dba,_0x46c48b)=>{const _0xf5a1ea=_0x282c57;if(!_0x46c48b)return!0x1;let _0x19c0d2=_0x139dba['get'](_0x54ce33),{unitId:_0x52cc01,tableId:_0xe54a,viewId:_0xb3da7b,sort:_0x2954bf}=_0x46c48b,_0x1c1873=_0x19c0d2[_0xf5a1ea(0x2ad)](_0x52cc01,_0x335149[_0xf5a1ea(0x370)]);if(!_0x1c1873||!$(_0x1c1873,_0xe54a,{'viewIds':[_0xb3da7b],'fieldIds':_0x2954bf[_0xf5a1ea(0x309)](_0x389b01=>_0x389b01[_0xf5a1ea(0x387)])}))return!0x1;let _0x24d001=_0x139dba[_0xf5a1ea(0x268)](_0x2a9a16),_0x34ba5a=_0x139dba['get'](_0x1f4c86),_0x1956bd=_0x1c1873[_0xf5a1ea(0x28c)](),_0x49bd19=new W()[_0xf5a1ea(0x36b)](_0x1956bd,_0xe54a,_0xb3da7b,_0x2954bf),_0x157e44=new z()[_0xf5a1ea(0x35e)](_0x1956bd,_0x49bd19),_0x3d981d={'unitId':_0x52cc01,'op':_0x49bd19},_0xdcf38b={'unitId':_0x52cc01,'op':_0x157e44};return _0x24d001['syncExecuteCommand'](Q['id'],_0x3d981d)?(_0x19c0d2[_0xf5a1ea(0x3ed)](_0x52cc01),_0x34ba5a[_0xf5a1ea(0x333)]({'unitID':_0x52cc01,'undoMutations':[{'id':Q['id'],'params':_0xdcf38b}],'redoMutations':[{'id':Q['id'],'params':_0x3d981d}]}),!0x0):!0x1;}},wo={'id':_0x282c57(0x1a2),'type':_0x31b5a7['COMMAND'],'handler'(_0x2eabda,_0x252126){const _0x4fba94=_0x282c57;if(!_0x252126)return!0x1;let _0x42df87=_0x2eabda[_0x4fba94(0x268)](_0x54ce33),{unitId:_0x1e07ae,tableId:_0x46478e,recordId:_0x43d872,fieldId:_0x18730a,value:_0x304488}=_0x252126,_0x3a8e06=_0x42df87[_0x4fba94(0x2ad)](_0x1e07ae,_0x335149[_0x4fba94(0x370)]);if(!_0x3a8e06||!$(_0x3a8e06,_0x46478e,{'recordIds':[_0x43d872],'fieldIds':[_0x18730a]})||!ga(_0x3a8e06,_0x46478e,_0x18730a,_0x304488))return!0x1;let _0x3bf0b1=_0x3a8e06[_0x4fba94(0x28c)]()[_0x4fba94(0x528)][_0x46478e],_0x3beea9=F(_0x3bf0b1,_0x18730a)&&Xe(_0x3bf0b1)[_0x4fba94(0x3df)](_0x18730a),_0x2ba2f7=_0x3beea9?tt(_0x3bf0b1,_0x18730a):null,_0x472d31=(_0x2ba2f7==null?void 0x0:_0x2ba2f7['parentByRecordId'][_0x4fba94(0x268)](_0x43d872))??null,_0x1b8a2e=_0x3beea9?Le(_0x304488)[0x0]??null:null;if(_0x2ba2f7){if(_0x1b8a2e&&!_0x3bf0b1[_0x4fba94(0x1e1)][_0x1b8a2e])throw new P(_0x4fba94(0x3a2));let _0x458774=it(_0x2ba2f7,_0x43d872,_0x1b8a2e);if(!_0x458774[_0x4fba94(0x375)])throw new P(_0x458774[_0x4fba94(0x2cd)]===_0x1e9d86[_0x4fba94(0x341)]?'selfParent':_0x458774[_0x4fba94(0x2cd)]===_0x1e9d86['Cycle']?'cycle':_0x4fba94(0x1c4));}let _0x29d70b=_0x2eabda['get'](_0x2a9a16),_0x55d757=_0x2eabda[_0x4fba94(0x268)](_0x1f4c86),_0x287e2d=_0x2eabda['get'](Kr),_0x3fff1d;try{_0x3fff1d=_0x287e2d[_0x4fba94(0x539)](_0x3a8e06,_0x46478e,_0x43d872,_0x18730a,_0x304488);}catch(_0x362c5f){return console[_0x4fba94(0x1e9)](_0x4fba94(0x29e),_0x362c5f),!0x1;}let _0xd5edc9=new z()[_0x4fba94(0x35e)](_0x3a8e06[_0x4fba94(0x28c)](),_0x3fff1d),_0x1f443c=_0x3beea9&&_0x472d31!==_0x1b8a2e?[{'tableId':_0x46478e,'fieldId':_0x18730a,'recordId':_0x43d872,'oldParentRecordId':_0x472d31,'parentRecordId':_0x1b8a2e}]:void 0x0,_0xe1779c={'unitId':_0x1e07ae,'op':_0x3fff1d,'trigger':_0x1f443c?wo['id']:void 0x0,'hierarchyChanges':_0x1f443c,'source':_0x1f443c?_0x252126['source']??'ui':void 0x0},_0x29d9e0={..._0xe1779c,'source':_0x1f443c?'redo':void 0x0},_0x1d77ea={'unitId':_0x1e07ae,'op':_0xd5edc9,'trigger':_0x1f443c?wo['id']:void 0x0,'hierarchyChanges':_0x1f443c==null?void 0x0:_0x1f443c['map'](_0x204ec7=>({..._0x204ec7,'oldParentRecordId':_0x204ec7[_0x4fba94(0x1fd)],'parentRecordId':_0x204ec7[_0x4fba94(0x1fb)]})),'source':_0x1f443c?_0x4fba94(0x410):void 0x0};return _0x29d70b[_0x4fba94(0x2e5)](Q['id'],_0xe1779c)?(_0x42df87[_0x4fba94(0x3ed)](_0x1e07ae),_0x55d757[_0x4fba94(0x333)]({'unitID':_0x1e07ae,'undoMutations':[{'id':Q['id'],'params':_0x1d77ea}],'redoMutations':[{'id':Q['id'],'params':_0x29d9e0}]}),!0x0):!0x1;}},To={'id':_0x282c57(0x225),'type':_0x31b5a7[_0x282c57(0x401)],'handler'(_0x5b0816,_0x28ffb1){const _0x318825=_0x282c57;if(!_0x28ffb1)return!0x1;let _0x453080=_0x5b0816[_0x318825(0x268)](_0x54ce33),{unitId:_0x41a272,tableId:_0x182523,fieldId:_0x3acdca}=_0x28ffb1,_0x489fe1=_0x453080[_0x318825(0x2ad)](_0x41a272,_0x335149['UNIVER_BASE']);if(!_0x489fe1||!$(_0x489fe1,_0x182523,{'fieldIds':[_0x3acdca]}))return!0x1;let _0x4adb7c=_0x5b0816[_0x318825(0x268)](_0x2a9a16),_0x3c325d=_0x5b0816[_0x318825(0x268)](_0x1f4c86),_0x568ccf=_0x489fe1['getSnapshot'](),_0x11a7a0=_0x28ffb1['description']['trim'](),_0x4ae730=new W()[_0x318825(0x2b0)](_0x568ccf,_0x182523,_0x3acdca,{'description':_0x11a7a0}),_0x5c9189=new z()[_0x318825(0x35e)](_0x489fe1[_0x318825(0x28c)](),_0x4ae730),_0x505c97={'unitId':_0x41a272,'op':_0x4ae730},_0x46b644={'unitId':_0x41a272,'op':_0x5c9189};return _0x4adb7c[_0x318825(0x2e5)](Q['id'],_0x505c97)?(_0x453080[_0x318825(0x3ed)](_0x41a272),_0x3c325d['pushUndoRedo']({'unitID':_0x41a272,'undoMutations':[{'id':Q['id'],'params':_0x46b644}],'redoMutations':[{'id':Q['id'],'params':_0x505c97}]}),!0x0):!0x1;}},Eo={'id':_0x282c57(0x4d2),'type':_0x31b5a7['COMMAND'],'handler':(_0x52839a,_0x4f0302)=>{const _0xfbfe5f=_0x282c57;if(!_0x4f0302)return!0x1;let _0x21fbd5=_0x52839a[_0xfbfe5f(0x268)](_0x54ce33),{unitId:_0x2e80ba,tableId:_0x5e9393,fieldId:_0x4dd202,patch:_0x4115c1}=_0x4f0302,_0x51fa60=_0x21fbd5[_0xfbfe5f(0x2ad)](_0x2e80ba,_0x335149[_0xfbfe5f(0x370)]);if(!_0x51fa60||_0x4dd202===_0x1a2ecc||!$(_0x51fa60,_0x5e9393,{'fieldIds':[_0x4dd202]}))return!0x1;let _0x1df2f6=_0x52839a[_0xfbfe5f(0x268)](_0x2a9a16),_0x4dcf36=_0x52839a[_0xfbfe5f(0x268)](_0x1f4c86),_0x4c8652=_0x51fa60['getSnapshot']();if(!ha(_0x51fa60,_0x5e9393,{..._0x4c8652[_0xfbfe5f(0x528)][_0x5e9393][_0xfbfe5f(0x453)][_0x4dd202],..._0x4115c1}))return!0x1;let _0x26e1c5=new W()[_0xfbfe5f(0x2b0)](_0x4c8652,_0x5e9393,_0x4dd202,_0x4115c1),_0x3c29d5=new z()[_0xfbfe5f(0x35e)](_0x4c8652,_0x26e1c5),_0x53183a={'unitId':_0x2e80ba,'op':_0x26e1c5},_0x34e0fc={'unitId':_0x2e80ba,'op':_0x3c29d5};return _0x1df2f6['syncExecuteCommand'](Q['id'],_0x53183a)?(_0x21fbd5['focusUnit'](_0x2e80ba),_0x4dcf36[_0xfbfe5f(0x333)]({'unitID':_0x2e80ba,'undoMutations':[{'id':Q['id'],'params':_0x34e0fc}],'redoMutations':[{'id':Q['id'],'params':_0x53183a}]}),!0x0):!0x1;}},Do={'id':_0x282c57(0x53d),'type':_0x31b5a7[_0x282c57(0x401)],'handler':(_0x1e12e4,_0x5a8694)=>{const _0xeffc6=_0x282c57;if(!_0x5a8694)return!0x1;let _0x27d9d9=_0x1e12e4[_0xeffc6(0x268)](_0x54ce33),{unitId:_0x125484,tableId:_0x49b993,viewId:_0x53c19a,patch:_0x744074}=_0x5a8694,_0x477030=_0x27d9d9[_0xeffc6(0x2ad)](_0x125484,_0x335149[_0xeffc6(0x370)]);if(!_0x477030||!$(_0x477030,_0x49b993,{'viewIds':[_0x53c19a]}))return!0x1;let _0x2c8cdb=_0x1e12e4[_0xeffc6(0x268)](_0x2a9a16),_0x53f0a1=_0x1e12e4[_0xeffc6(0x268)](_0x1f4c86),_0x51df58=_0x477030[_0xeffc6(0x28c)](),_0x20558a=new W()[_0xeffc6(0x393)](_0x51df58,_0x49b993,_0x53c19a,_0x744074),_0x3860a9=new z()[_0xeffc6(0x35e)](_0x51df58,_0x20558a),_0x488a28={'unitId':_0x125484,'op':_0x20558a},_0x30b010={'unitId':_0x125484,'op':_0x3860a9};return _0x2c8cdb['syncExecuteCommand'](Q['id'],_0x488a28)?(_0x27d9d9['focusUnit'](_0x125484),_0x53f0a1[_0xeffc6(0x333)]({'unitID':_0x125484,'undoMutations':[{'id':Q['id'],'params':_0x30b010}],'redoMutations':[{'id':Q['id'],'params':_0x488a28}]}),!0x0):!0x1;}},Oo={'id':'base.command.update-base-record-order','type':_0x31b5a7[_0x282c57(0x401)],'handler':(_0x136fc0,_0x547c63)=>{const _0x3d459b=_0x282c57;if(!_0x547c63)return!0x1;let _0x859846=_0x136fc0[_0x3d459b(0x268)](_0x54ce33),{unitId:_0x5e2a1f,tableId:_0x4cdcdc,recordId:_0x3c05cb,orderKey:_0x40803d}=_0x547c63,_0x52a509=_0x859846[_0x3d459b(0x2ad)](_0x5e2a1f,_0x335149[_0x3d459b(0x370)]);if(!_0x52a509||!$(_0x52a509,_0x4cdcdc,{'recordIds':[_0x3c05cb]}))return!0x1;let _0xd3cfe0=_0x136fc0[_0x3d459b(0x268)](_0x2a9a16),_0x572536=_0x136fc0[_0x3d459b(0x268)](_0x1f4c86),_0x4b22fa=_0x52a509[_0x3d459b(0x28c)](),_0x3ec242=new W()[_0x3d459b(0x327)](_0x4b22fa,_0x4cdcdc,_0x3c05cb,_0x40803d),_0x5767b4=new z()['invertOp'](_0x4b22fa,_0x3ec242),_0x5b5f22={'unitId':_0x5e2a1f,'op':_0x3ec242},_0x3cd8a4={'unitId':_0x5e2a1f,'op':_0x5767b4};return _0xd3cfe0['syncExecuteCommand'](Q['id'],_0x5b5f22)?(_0x859846['focusUnit'](_0x5e2a1f),_0x572536[_0x3d459b(0x333)]({'unitID':_0x5e2a1f,'undoMutations':[{'id':Q['id'],'params':_0x3cd8a4}],'redoMutations':[{'id':Q['id'],'params':_0x5b5f22}]}),!0x0):!0x1;}};let ko=function(_0x178ab7){const _0x45bf05=_0x282c57;return _0x178ab7[_0x45bf05(0x32f)]=_0x45bf05(0x246),_0x178ab7[_0x45bf05(0x302)]='add',_0x178ab7[_0x45bf05(0x47c)]='delete',_0x178ab7[_0x45bf05(0x3a8)]=_0x45bf05(0x216),_0x178ab7;}({});const Ao={'id':_0x282c57(0x4e7),'type':_0x31b5a7[_0x282c57(0x401)],'handler':(_0x413f02,_0x21a320)=>{const _0x183f7f=_0x282c57;var _0x1288a4;if(!_0x21a320)return!0x1;let _0x27d14c=_0x413f02[_0x183f7f(0x268)](_0x54ce33),_0x34cde2=_0x27d14c[_0x183f7f(0x2ad)](_0x21a320['unitId'],_0x335149['UNIVER_BASE']);if(!_0x34cde2||!$(_0x34cde2,_0x21a320[_0x183f7f(0x45e)],{'viewIds':[_0x21a320['viewId']]}))return!0x1;let _0x1f99c7=_0x34cde2[_0x183f7f(0x28c)](),_0xdd93b1=_0x1f99c7[_0x183f7f(0x528)][_0x21a320['tableId']],_0xcf5aab=jo(((_0x1288a4=_0xdd93b1[_0x183f7f(0x4f9)][_0x21a320[_0x183f7f(0x44d)]]['config'][_0x183f7f(0x3c8)])==null?void 0x0:_0x1288a4[_0x183f7f(0x1dd)])??[],_0x21a320);if(!_0xcf5aab)return!0x1;Mo(_0xdd93b1,_0xcf5aab);let _0x25fede=new W()[_0x183f7f(0x393)](_0x1f99c7,_0x21a320[_0x183f7f(0x45e)],_0x21a320[_0x183f7f(0x44d)],{'conditionalColoring':_0xcf5aab['length']?{'rules':_0xcf5aab}:null}),_0x4e12f7=new z()[_0x183f7f(0x35e)](_0x1f99c7,_0x25fede),_0x5960c7={'unitId':_0x21a320[_0x183f7f(0x226)],'op':_0x25fede},_0x58b54e={'unitId':_0x21a320[_0x183f7f(0x226)],'op':_0x4e12f7};return _0x413f02[_0x183f7f(0x268)](_0x2a9a16)[_0x183f7f(0x2e5)](Q['id'],_0x5960c7)?(_0x27d14c[_0x183f7f(0x3ed)](_0x21a320[_0x183f7f(0x226)]),_0x413f02[_0x183f7f(0x268)](_0x1f4c86)['pushUndoRedo']({'unitID':_0x21a320[_0x183f7f(0x226)],'undoMutations':[{'id':Q['id'],'params':_0x58b54e}],'redoMutations':[{'id':Q['id'],'params':_0x5960c7}]}),!0x0):!0x1;}};function jo(_0x382c0d,_0x3a09cb){const _0x1bef18=_0x282c57;switch(_0x3a09cb[_0x1bef18(0x4aa)]){case _0x1bef18(0x246):return _0xd92214[_0x1bef18(0x4d7)](_0x3a09cb['rules']);case _0x1bef18(0x551):return[..._0xd92214[_0x1bef18(0x4d7)](_0x382c0d),_0xd92214[_0x1bef18(0x4d7)](_0x3a09cb['rule'])];case'delete':{let _0x2b04c2=_0x382c0d['filter'](_0x53bc64=>_0x53bc64['id']!==_0x3a09cb[_0x1bef18(0x18f)]);return _0x2b04c2[_0x1bef18(0x4ab)]===_0x382c0d['length']?null:_0xd92214[_0x1bef18(0x4d7)](_0x2b04c2);}case _0x1bef18(0x216):return _0x382c0d[_0x1bef18(0x4ab)]?[]:null;}}function Mo(_0x4df9f3,_0x10e0cd){const _0x3c90f4=_0x282c57;if(!Array[_0x3c90f4(0x3d5)](_0x10e0cd))throw TypeError(_0x3c90f4(0x3b4));let _0x38af11=new Set();for(let [_0x568352,_0xb18387]of _0x10e0cd[_0x3c90f4(0x41d)]())Po(_0x4df9f3,_0xb18387,No(_0xb18387,_0x568352,_0x38af11));}function No(_0x12b816,_0x5d0406,_0x2a8a6b){const _0x190e71=_0x282c57;if(!_0x12b816||typeof _0x12b816!=_0x190e71(0x4ba))throw TypeError('[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20at\x20index\x20'+_0x5d0406+_0x190e71(0x3aa));let _0x4214fe=typeof _0x12b816['id']==_0x190e71(0x3e3)&&_0x12b816['id'][_0x190e71(0x24d)]()?'\x22'+_0x12b816['id']+'\x22':_0x190e71(0x402)+_0x5d0406;if(typeof _0x12b816['id']!=_0x190e71(0x3e3)||!_0x12b816['id']['trim']())throw Error('[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20'+_0x4214fe+'\x20must\x20have\x20a\x20non-empty\x20id.');if(_0x2a8a6b['has'](_0x12b816['id']))throw Error(_0x190e71(0x2e6)+_0x12b816['id']+'\x22.');_0x2a8a6b[_0x190e71(0x551)](_0x12b816['id']);let _0x3b4ba9=typeof _0x12b816[_0x190e71(0x545)]==_0x190e71(0x3e3)&&_0x12b816[_0x190e71(0x545)][_0x190e71(0x24d)]()?new _0x3af328(_0x12b816[_0x190e71(0x545)]):null;if(!(_0x3b4ba9!=null&&_0x3b4ba9[_0x190e71(0x253)]))throw Error(_0x190e71(0x1e0)+_0x4214fe+_0x190e71(0x3a9));return _0x4214fe;}function Po(_0xf76849,_0x404b69,_0x5eefed){const _0x2ca155=_0x282c57;let _0x3a409b=new Set(Object['values'](_0x26d874)),_0x101d20=new Set(Object[_0x2ca155(0x54e)](_0x5b882d)),_0x655baa=new Set(Object[_0x2ca155(0x54e)](_0x3cc509));if(!_0x3a409b[_0x2ca155(0x25c)](_0x404b69['target']))throw Error(_0x2ca155(0x1e0)+_0x5eefed+_0x2ca155(0x3b5)+String(_0x404b69[_0x2ca155(0x4e1)])+'\x22.');let _0x310abc=typeof _0x404b69['fieldId']=='string'?_0xf76849[_0x2ca155(0x453)][_0x404b69[_0x2ca155(0x387)]]:void 0x0;if(!_0x310abc||_0x310abc[_0x2ca155(0x43c)]===!0x0||_0x310abc[_0x2ca155(0x4aa)]===_0x239099[_0x2ca155(0x205)])throw Error(_0x2ca155(0x1e0)+_0x5eefed+_0x2ca155(0x294)+String(_0x404b69[_0x2ca155(0x387)])+'\x22.');if(!_0x101d20['has'](_0x404b69[_0x2ca155(0x307)]))throw Error('[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20'+_0x5eefed+_0x2ca155(0x41a)+String(_0x404b69[_0x2ca155(0x307)])+'\x22.');if(_0x404b69[_0x2ca155(0x51a)]!==void 0x0&&!_0x655baa[_0x2ca155(0x25c)](_0x404b69[_0x2ca155(0x51a)]))throw Error(_0x2ca155(0x1e0)+_0x5eefed+_0x2ca155(0x236)+String(_0x404b69[_0x2ca155(0x51a)])+'\x22.');if(_0x404b69[_0x2ca155(0x4e1)]===_0x26d874[_0x2ca155(0x367)])return;let _0x19a47f=vn(_0x310abc[_0x2ca155(0x4aa)]);if(!_0x19a47f[_0x2ca155(0x3df)](_0x404b69[_0x2ca155(0x307)]))throw Error('[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20'+_0x5eefed+'\x20cannot\x20use\x20operator\x20\x22'+_0x404b69[_0x2ca155(0x307)]+'\x22\x20with\x20field\x20type\x20\x22'+_0x310abc[_0x2ca155(0x4aa)]+_0x2ca155(0x20d)+_0x19a47f[_0x2ca155(0x1c0)](',\x20')+'.');if(_0x404b69[_0x2ca155(0x51a)]!==void 0x0&&!yn(_0x310abc['type']))throw Error(_0x2ca155(0x1e0)+_0x5eefed+_0x2ca155(0x281));}const Fo={'id':_0x282c57(0x346),'type':_0x31b5a7[_0x282c57(0x401)],'handler':(_0x333a99,_0x207825)=>{const _0x4453c6=_0x282c57;if(!_0x207825)return!0x1;let _0x567415=_0x333a99[_0x4453c6(0x268)](_0x54ce33),{unitId:_0xc38852,tableId:_0x2e5c2d,viewId:_0x4580fb,patch:_0x2837be}=_0x207825,_0x59e56f=_0x567415[_0x4453c6(0x2ad)](_0xc38852,_0x335149[_0x4453c6(0x370)]);if(!_0x59e56f||!$(_0x59e56f,_0x2e5c2d,{'viewIds':[_0x4580fb]}))return!0x1;let _0x18ce76=_0x333a99[_0x4453c6(0x268)](_0x2a9a16),_0x2e3f62=_0x333a99[_0x4453c6(0x268)](_0x1f4c86),_0x52ad4a=_0x59e56f[_0x4453c6(0x28c)](),_0x526c86=new W()[_0x4453c6(0x393)](_0x52ad4a,_0x2e5c2d,_0x4580fb,_0x2837be),_0x3c1577=new z()['invertOp'](_0x52ad4a,_0x526c86),_0x5542d3={'unitId':_0xc38852,'op':_0x526c86},_0x141583={'unitId':_0xc38852,'op':_0x3c1577};return _0x18ce76[_0x4453c6(0x2e5)](Q['id'],_0x5542d3)?(_0x567415[_0x4453c6(0x3ed)](_0xc38852),_0x2e3f62[_0x4453c6(0x333)]({'unitID':_0xc38852,'undoMutations':[{'id':Q['id'],'params':_0x141583}],'redoMutations':[{'id':Q['id'],'params':_0x5542d3}]}),!0x0):!0x1;}},Io={'id':_0x282c57(0x18b),'type':_0x31b5a7[_0x282c57(0x401)],'handler'(_0xd048,_0x2f28cc){const _0x29a48b=_0x282c57;if(!_0x2f28cc)return{'valid':!0x1,'reason':_0x29a48b(0x2c0)};let _0x2c0962=_0xd048[_0x29a48b(0x268)](_0x54ce33)[_0x29a48b(0x2ad)](_0x2f28cc[_0x29a48b(0x226)],_0x335149['UNIVER_BASE']),_0x3b69e4=_0x2c0962==null?void 0x0:_0x2c0962['getSnapshot'](),_0x161c09=_0x3b69e4==null?void 0x0:_0x3b69e4[_0x29a48b(0x528)][_0x2f28cc[_0x29a48b(0x45e)]];return!_0x3b69e4||!_0x161c09?{'valid':!0x1,'reason':_0x29a48b(0x2c7)}:new Xi()[_0x29a48b(0x30e)](_0x2f28cc[_0x29a48b(0x557)],_0x161c09,{'snapshot':_0x3b69e4});}};let Lo=class extends _0x15cc0a{constructor(_0x29cbbc){const _0x3acdde=_0x282c57;super(_0x29cbbc,_0x3acdde(0x349),_0x335149[_0x3acdde(0x370)],[_0xd2ae12[_0x3acdde(0x29b)],_0xd2ae12[_0x3acdde(0x4e9)],_0xd2ae12[_0x3acdde(0x2d0)],_0xd2ae12[_0x3acdde(0x1ad)],_0xd2ae12[_0x3acdde(0x426)]]);}};Lo=X([Y(0x0,_0x59ae57)],Lo);const Ro={'id':_0x282c57(0x442),'type':_0x31b5a7[_0x282c57(0x1db)],'handler':(_0x19c5c7,_0x38274)=>!_0x38274||!_0x19c5c7[_0x282c57(0x268)](_0x54ce33)[_0x282c57(0x2ad)](_0x38274['unitId'],_0x335149[_0x282c57(0x370)])?!0x1:_0x19c5c7[_0x282c57(0x268)](Lo)[_0x282c57(0x3cc)](_0x38274[_0x282c57(0x226)],_0x38274[_0x282c57(0x244)],_0x38274[_0x282c57(0x223)],_0x38274['rule'])},zo={'id':_0x282c57(0x1f8),'type':_0x31b5a7['MUTATION'],'handler':(_0x1671e0,_0x3c0b42)=>!_0x3c0b42||!_0x1671e0[_0x282c57(0x268)](_0x54ce33)[_0x282c57(0x2ad)](_0x3c0b42[_0x282c57(0x226)],_0x335149[_0x282c57(0x370)])?!0x1:_0x1671e0[_0x282c57(0x268)](Lo)['setRules'](_0x3c0b42[_0x282c57(0x226)],_0x3c0b42[_0x282c57(0x1dd)])};function Bo(_0x2df6f2){const _0x4b799e=_0x282c57;let _0xd65e6c=_0x2df6f2[_0x4b799e(0x42b)]??Date[_0x4b799e(0x42b)](),_0x1dad89=_0x2df6f2[_0x4b799e(0x45c)]??_0x2df6f2['id']+'-field-name',_0x979ebc=_0x2df6f2[_0x4b799e(0x298)]??_0x2df6f2['id']+_0x4b799e(0x200),_0x4cc991=_0x2df6f2['recordCount']??0x0,_0x71710d=_0x5674a9(),_0x1f794d={'id':_0x1dad89,'name':_0x2df6f2[_0x4b799e(0x3fb)]??_0x4b799e(0x2e9),'type':_0x239099['Text'],'config':{'placeholder':_0x4b799e(0x3de)}},_0x322c88={},_0xcfd7ee=[],_0x3d1465={},_0x13967b={},_0x3a1935={};for(let _0x3dcfbb=0x0;_0x3dcfbb<_0x4cc991;_0x3dcfbb++){let _0x496eac=_0x2df6f2['id']+_0x4b799e(0x238)+(_0x3dcfbb+0x1);_0x322c88[_0x496eac]={'id':_0x496eac,'values':{[_0x1a2ecc]:_0x496eac,..._0x2df6f2[_0x4b799e(0x548)]?{[_0x1dad89]:_0x2df6f2[_0x4b799e(0x548)]+'\x20'+(_0x3dcfbb+0x1)}:{}},'orderKey':String(_0x3dcfbb+0x1)['padStart'](0x4,'0'),'createdAt':_0xd65e6c,'updatedAt':_0xd65e6c},_0xcfd7ee[_0x4b799e(0x381)](_0x496eac),_0x3d1465[_0x496eac]=_0x3dcfbb,_0x13967b[_0x3dcfbb]=_0x496eac,_0x3a1935[_0x3dcfbb]={0x0:{'v':_0x496eac,'t':_0x110ba4[_0x4b799e(0x23b)]}},_0x2df6f2[_0x4b799e(0x548)]&&(_0x3a1935[_0x3dcfbb][0x1]={'v':_0x2df6f2[_0x4b799e(0x548)]+'\x20'+(_0x3dcfbb+0x1),'t':_0x110ba4['STRING']});}let _0x41d915={'id':_0x979ebc,'tableId':_0x2df6f2['id'],'name':'Grid','type':_0x1d9104['Grid'],'fieldOrder':[_0x1a2ecc,_0x1dad89],'fieldSettings':{[_0x1a2ecc]:{'hidden':!0x0}},'config':{'frozenFieldCount':0x1}};return{'id':_0x2df6f2['id'],'name':_0x2df6f2[_0x4b799e(0x2f4)],'primaryFieldId':_0x1dad89,'fieldOrder':[_0x1a2ecc,_0x1dad89],'fields':{[_0x1a2ecc]:_0x71710d,[_0x1dad89]:_0x1f794d},'records':_0x322c88,'recordOrder':_0xcfd7ee,'rowIndex':_0x3d1465,'rowId':_0x13967b,'colIndex':{[_0x1a2ecc]:0x0,[_0x1dad89]:0x1},'colId':{0x0:_0x1a2ecc,0x1:_0x1dad89},'cellData':_0x3a1935,'views':{[_0x979ebc]:_0x41d915},'viewOrder':[_0x979ebc]};}const Vo='UNIVER_EMBED_BASES_TABLE';function Ho(_0x1ffd5d){const _0x373fb0=_0x282c57;let _0x9c3fa7=Bo({'id':_0x1ffd5d['hostAnchorId'],'name':_0x1ffd5d[_0x373fb0(0x2f4)]??_0x1ffd5d[_0x373fb0(0x1e6)],'recordCount':0x0});return{..._0x9c3fa7,'resources':{..._0x9c3fa7[_0x373fb0(0x27b)]??{},[Vo]:Go(_0x1ffd5d)}};}function Uo(_0x26f843){const _0x5efe24=_0x282c57;return{'id':Q['id'],'params':{'unitId':_0x26f843['unitId'],'op':_0x2f9032[_0x5efe24(0x4aa)][_0x5efe24(0x3ad)](_0x2f9032['insertOp'](['tables',_0x26f843['table']['id']],_0x26f843[_0x5efe24(0x270)]),_0x2f9032[_0x5efe24(0x1d0)]([_0x5efe24(0x1ae),_0x26f843['index']??_0x26f843[_0x5efe24(0x4c3)][_0x5efe24(0x1ae)][_0x5efe24(0x4ab)]],_0x26f843[_0x5efe24(0x270)]['id'])),'trigger':'embed-ui'}};}function Wo(_0x409028){const _0x5b36b1=_0x282c57;let _0x13c16f=_0x409028[_0x5b36b1(0x4c3)][_0x5b36b1(0x1ae)][_0x5b36b1(0x1f4)](_0x409028[_0x5b36b1(0x45e)]);if(!(!_0x409028[_0x5b36b1(0x4c3)]['tables'][_0x409028[_0x5b36b1(0x45e)]]||_0x13c16f<0x0))return{'id':Q['id'],'params':{'unitId':_0x409028[_0x5b36b1(0x226)],'op':_0x2f9032[_0x5b36b1(0x4aa)][_0x5b36b1(0x3ad)](_0x2f9032['removeOp'](['tables',_0x409028[_0x5b36b1(0x45e)]],_0x409028[_0x5b36b1(0x4c3)][_0x5b36b1(0x528)][_0x409028[_0x5b36b1(0x45e)]]),_0x2f9032[_0x5b36b1(0x40b)]([_0x5b36b1(0x1ae),_0x13c16f],_0x409028[_0x5b36b1(0x45e)])),'trigger':'embed-ui'}};}function Go(_0x10d3a4){const _0x8ee221=_0x282c57;return{'version':0x1,'embedId':_0x10d3a4[_0x8ee221(0x1e6)],'hostAnchorId':_0x10d3a4[_0x8ee221(0x4db)],'childUnitId':_0x10d3a4['childUnitId'],'childType':_0x10d3a4[_0x8ee221(0x356)]};}function Ko(_0x4e1aac){const _0x4387c3=_0x282c57;let _0x2e2f47=Math[_0x4387c3(0x468)](0x0,Number(_0x4e1aac[_0x4387c3(0x1b3)]??0x0)),_0x14aaa4=_0x4e1aac['useThousands']===!0x1?'0':_0x4387c3(0x2b7),_0x55de91=_0x2e2f47?'.'+'0'[_0x4387c3(0x4ae)](_0x2e2f47):'',_0x247c4b=Jo(_0x4e1aac[_0x4387c3(0x1d9)]);return''+(_0x4e1aac[_0x4387c3(0x26c)]?Yo(_0x4e1aac['currencySymbol']):'')+_0x14aaa4+_0x55de91+_0x247c4b;}function qo(_0xeff048,_0x397f40){const _0x496f1c=_0x282c57;let _0x22474a=Ko(_0x397f40),_0x132530=_0x1ce6f1[_0x496f1c(0x22b)](_0x22474a,_0xeff048,{'throws':!0x1});return Xo(String(_0x132530),_0x397f40[_0x496f1c(0x435)],_0x397f40['locale']);}function Jo(_0x54a5ba){const _0x5d8793=_0x282c57;return _0x54a5ba==='K'?',\x22K\x22':_0x54a5ba==='M'?_0x5d8793(0x3c7):_0x54a5ba==='B'?_0x5d8793(0x481):'';}function Yo(_0x324380){const _0x159750=_0x282c57;return/^[A-Z]+$/i[_0x159750(0x1ef)](_0x324380)?'\x22'+_0x324380+'\x22':_0x324380;}function Xo(_0x27493c,_0x1ab659,_0x31da2e){const _0x14703b=_0x282c57;let _0x37364a=_0x1ab659===_0x14703b(0x3d9)?Zo(_0x31da2e):_0x1ab659;return _0x37364a===_0x14703b(0x486)?_0x27493c[_0x14703b(0x1a6)](/,/g,'\x00')[_0x14703b(0x1a6)](/\./g,',')['replace'](/\0/g,'.'):_0x37364a===_0x14703b(0x193)?_0x27493c[_0x14703b(0x1a6)](/,/g,'\x20')[_0x14703b(0x1a6)](/\./g,','):_0x37364a===_0x14703b(0x515)?_0x27493c['replace'](/,/g,'\x20'):_0x27493c;}function Zo(_0x5c7a7a){const _0x56d350=_0x282c57;var _0x13f556,_0xfd9063;let _0x1c675e=_0x5c7a7a||new Intl[(_0x56d350(0x27d))]()[_0x56d350(0x4d0)]()[_0x56d350(0x4d3)],_0x43f8ac;try{_0x43f8ac=new Intl[(_0x56d350(0x27d))](_0x1c675e,{'minimumFractionDigits':0x2,'maximumFractionDigits':0x2,'useGrouping':!0x0})[_0x56d350(0x437)](0xf4240);}catch{return _0x56d350(0x391);}let _0x187016=(_0x13f556=_0x43f8ac['find'](_0x39a58e=>_0x39a58e['type']===_0x56d350(0x359)))==null?void 0x0:_0x13f556['value'],_0x3c05fe=(_0xfd9063=_0x43f8ac[_0x56d350(0x525)](_0x348ab8=>_0x348ab8[_0x56d350(0x4aa)]===_0x56d350(0x2a2)))==null?void 0x0:_0xfd9063[_0x56d350(0x373)],_0x41ae56=_0x187016==='\u00a0'||_0x187016==='\u202f'?'\x20':_0x187016;return _0x41ae56==='.'&&_0x3c05fe===','?'periodComma':_0x41ae56==='\x20'&&_0x3c05fe===','?_0x56d350(0x193):_0x41ae56==='\x20'&&_0x3c05fe==='.'?_0x56d350(0x515):'commaPeriod';}function Qo(_0x491f5d,_0x1ca5ed){const _0x226679=_0x282c57;let _0x1d2801=_0x1ca5ed&&typeof _0x1ca5ed=='object'&&!Array['isArray'](_0x1ca5ed)?_0x1ca5ed:{},_0x227b60=$o(_0x1d2801[_0x226679(0x1b3)],0x0,0x2,0x0),_0x5c0638=_0x491f5d['toFixed'](_0x227b60);return _0x1d2801[_0x226679(0x22b)]==='number'?_0x5c0638:_0x5c0638+'%';}function $o(_0xc0b83b,_0x556b17,_0x52a6c9,_0x5d6e01){const _0x325565=_0x282c57;if(_0xc0b83b==null||_0xc0b83b==='')return _0x5d6e01;let _0x1fc85c=typeof _0xc0b83b==_0x325565(0x389)?_0xc0b83b:Number(_0xc0b83b);return Number['isFinite'](_0x1fc85c)?Math['max'](_0x556b17,Math['min'](_0x52a6c9,Math[_0x325565(0x1b1)](_0x1fc85c))):_0x5d6e01;}const es=['count',_0x282c57(0x4ed),'empty',_0x282c57(0x406),_0x282c57(0x4d1),_0x282c57(0x2e4),_0x282c57(0x520),_0x282c57(0x468)],ts=[_0x282c57(0x531),_0x282c57(0x4ed),_0x282c57(0x31a),_0x282c57(0x406)],ns=[_0x282c57(0x4d1),_0x282c57(0x2e4),_0x282c57(0x520),_0x282c57(0x468)],rs=[_0x282c57(0x520),_0x282c57(0x468)],is=new Set([_0x239099['Number'],_0x239099[_0x282c57(0x4b6)],_0x239099[_0x282c57(0x2ca)],_0x239099[_0x282c57(0x3b7)]]),as=new Set([_0x239099[_0x282c57(0x4b3)],_0x239099[_0x282c57(0x2a5)],_0x239099[_0x282c57(0x3af)]]),os='General';function ss(_0x456c73){const _0x287ace=_0x282c57;return typeof _0x456c73==_0x287ace(0x3e3)&&es[_0x287ace(0x3df)](_0x456c73);}function cs(_0x4680b2){const _0x2db2fc=_0x282c57;return!_0x4680b2||typeof _0x4680b2!=_0x2db2fc(0x4ba)?{}:Object[_0x2db2fc(0x1af)](Object['entries'](_0x4680b2)[_0x2db2fc(0x4cc)](_0x5c9cc1=>ss(_0x5c9cc1[0x1])));}function ls(_0x179256){const _0x119900=_0x282c57;return is['has'](_0x179256[_0x119900(0x4aa)])?[...ts,...ns]:_0x179256[_0x119900(0x4aa)]===_0x239099[_0x119900(0x41e)]?[...ts,...ws(_0x179256)==='date'?rs:ns]:ts;}function us(_0x2da214,_0x1ae5c6){const _0x29c122=_0x282c57;return ls(_0x2da214)[_0x29c122(0x3df)](_0x1ae5c6);}function ds(_0x2aafc8,_0x2c6c66,_0x20b432){const _0x26ed22=_0x282c57;if(!us(_0x2aafc8,_0x20b432))return null;let _0x3756d6=_0x2c6c66['filter'](_0x132c6a=>!ps(_0x2aafc8,_0x132c6a));switch(_0x20b432){case _0x26ed22(0x531):return _0x2c6c66[_0x26ed22(0x4ab)];case _0x26ed22(0x4ed):return _0x3756d6['length'];case _0x26ed22(0x31a):return _0x2c6c66[_0x26ed22(0x4ab)]-_0x3756d6[_0x26ed22(0x4ab)];case _0x26ed22(0x406):return new Set(_0x3756d6[_0x26ed22(0x309)](_0xb37ab2=>_s(_0x2aafc8,_0xb37ab2)))[_0x26ed22(0x286)];case'sum':{let _0x21b021=ms(_0x2aafc8,_0x3756d6);return _0x21b021[_0x26ed22(0x4ab)]?gs(_0x21b021):null;}case _0x26ed22(0x2e4):{let _0x524dfc=ms(_0x2aafc8,_0x3756d6);return _0x524dfc['length']?gs(_0x524dfc)/_0x524dfc[_0x26ed22(0x4ab)]:null;}case _0x26ed22(0x520):{let _0xc3bbb4=ms(_0x2aafc8,_0x3756d6);return _0xc3bbb4[_0x26ed22(0x4ab)]?Math[_0x26ed22(0x520)](..._0xc3bbb4):null;}case _0x26ed22(0x468):{let _0x444ccc=ms(_0x2aafc8,_0x3756d6);return _0x444ccc[_0x26ed22(0x4ab)]?Math[_0x26ed22(0x468)](..._0x444ccc):null;}}}function fs(_0x420537,_0x274da4,_0x578d76){const _0x4cc2d1=_0x282c57;if(_0x578d76==null||!Number[_0x4cc2d1(0x210)](_0x578d76))return'-';if(ts[_0x4cc2d1(0x3df)](_0x274da4))return String(_0x578d76);switch(_0x420537[_0x4cc2d1(0x4aa)]){case _0x239099[_0x4cc2d1(0x546)]:return qo(_0x578d76,xs(_0x420537));case _0x239099[_0x4cc2d1(0x4b6)]:return qo(_0x578d76,Ss(_0x420537));case _0x239099['Progress']:return Qo(_0x578d76,_0x420537['config']);case _0x239099['Formula']:return Cs(_0x578d76,_0x420537);default:return Es(_0x578d76);}}function ps(_0x55a010,_0x512fba){const _0x1d4641=_0x282c57;if(_0x512fba==null)return!0x0;if(typeof _0x512fba=='string')return _0x512fba['trim']()==='';if(Array[_0x1d4641(0x3d5)](_0x512fba))return _0x55a010[_0x1d4641(0x4aa)]===_0x239099['Attachment']?!_0x512fba[_0x1d4641(0x436)](bs):_0x512fba[_0x1d4641(0x4ab)]===0x0;if(_0x55a010[_0x1d4641(0x4aa)]===_0x239099['Link']&&typeof _0x512fba==_0x1d4641(0x4ba)){let _0x55ae5d=_0x512fba;return[_0x55ae5d[_0x1d4641(0x4b7)],_0x55ae5d[_0x1d4641(0x45d)]][_0x1d4641(0x300)](_0x5ddc15=>_0x5ddc15==null||String(_0x5ddc15)['trim']()==='');}return!0x1;}function ms(_0x1e957a,_0x41cdea){const _0x557408=_0x282c57;let _0x1586fa=[];for(let _0x15c454 of _0x41cdea){let _0x7a4777=hs(_0x1e957a,_0x15c454);_0x7a4777!=null&&_0x1586fa[_0x557408(0x381)](_0x7a4777);}return _0x1586fa;}function hs(_0xb5b276,_0xf4c0f6){const _0x2614bf=_0x282c57;if(typeof _0xf4c0f6==_0x2614bf(0x389))return Number['isFinite'](_0xf4c0f6)?_0xf4c0f6:null;if(_0xb5b276[_0x2614bf(0x4aa)]!==_0x239099[_0x2614bf(0x41e)]&&typeof _0xf4c0f6==_0x2614bf(0x3e3)&&_0xf4c0f6[_0x2614bf(0x24d)]()!==''){let _0x28a517=Number(_0xf4c0f6);return Number[_0x2614bf(0x210)](_0x28a517)?_0x28a517:null;}return null;}function gs(_0x3a907b){const _0x76eb2e=_0x282c57;let _0x4b86fa=0x0,_0x53fd15=0x0;for(let _0x3e8071 of _0x3a907b){let _0x7f4e93=_0x4b86fa+_0x3e8071;_0x53fd15+=Math[_0x76eb2e(0x4a9)](_0x4b86fa)>=Math[_0x76eb2e(0x4a9)](_0x3e8071)?_0x4b86fa-_0x7f4e93+_0x3e8071:_0x3e8071-_0x7f4e93+_0x4b86fa,_0x4b86fa=_0x7f4e93;}return _0x4b86fa+_0x53fd15;}function _s(_0x1fef87,_0x5e2a1b){const _0x142f39=_0x282c57;return as[_0x142f39(0x25c)](_0x1fef87[_0x142f39(0x4aa)])&&Array[_0x142f39(0x3d5)](_0x5e2a1b)?ys([...new Set(_0x5e2a1b[_0x142f39(0x309)](_0x39bd05=>ys(vs(_0x39bd05))))][_0x142f39(0x1df)]()):ys(vs(_0x5e2a1b));}function vs(_0x5d0567){const _0x5e43a3=_0x282c57;return Array['isArray'](_0x5d0567)?_0x5d0567[_0x5e43a3(0x309)](vs):_0x5d0567&&typeof _0x5d0567=='object'?Object[_0x5e43a3(0x1af)](Object['entries'](_0x5d0567)['sort'](([_0x3c31ed],[_0x4a400d])=>_0x3c31ed['localeCompare'](_0x4a400d))[_0x5e43a3(0x309)](([_0x3e43c4,_0x44874f])=>[_0x3e43c4,vs(_0x44874f)])):_0x5d0567;}function ys(_0x5c8bd9){const _0x4f91b3=_0x282c57;return JSON[_0x4f91b3(0x2fb)](_0x5c8bd9)??_0x4f91b3(0x251);}function bs(_0x68864e){const _0x550f84=_0x282c57;if(typeof _0x68864e=='string')return _0x68864e[_0x550f84(0x24d)]()!=='';if(!_0x68864e||typeof _0x68864e!=_0x550f84(0x4ba))return!0x1;let _0x290766=_0x68864e;return[_0x290766['id'],_0x290766[_0x550f84(0x2f4)],_0x290766[_0x550f84(0x376)],_0x290766[_0x550f84(0x45d)],_0x290766[_0x550f84(0x44c)]]['some'](_0x22d7b5=>_0x22d7b5!=null&&String(_0x22d7b5)['trim']()!=='');}function xs(_0x290c50){const _0x2a63cd=_0x282c57;let _0x486113=Ds(_0x290c50[_0x2a63cd(0x50c)]);return{'decimalPlaces':ks(_0x486113[_0x2a63cd(0x1b3)],0x0,0x14,0x2),'separatorStyle':typeof _0x486113[_0x2a63cd(0x435)]==_0x2a63cd(0x3e3)?_0x486113[_0x2a63cd(0x435)]:_0x2a63cd(0x3d9),'locale':typeof _0x486113['locale']==_0x2a63cd(0x3e3)?_0x486113[_0x2a63cd(0x4d3)]:void 0x0,'useThousands':_0x486113[_0x2a63cd(0x559)]!==!0x1,'abbreviation':typeof _0x486113['abbreviation']==_0x2a63cd(0x3e3)?_0x486113[_0x2a63cd(0x1d9)]:'none'};}function Ss(_0x55b40d){const _0x4e9747=_0x282c57;let _0x366fea=Ds(_0x55b40d[_0x4e9747(0x50c)]);return{...xs(_0x55b40d),'currencySymbol':String(_0x366fea['currencySymbol']??'$')};}function Cs(_0x3719db,_0x2806b1){const _0x39f4a8=_0x282c57;let _0x4e3c31=Ts(_0x2806b1);if(_0x4e3c31===os)return Es(_0x3719db);try{return String(_0x1ce6f1[_0x39f4a8(0x22b)](_0x4e3c31,_0x3719db,{'throws':!0x1}));}catch{return Es(_0x3719db);}}function ws(_0x18b48e){const _0x2d4e33=_0x282c57;let _0xc7ba9a=Ds(Ds(_0x18b48e[_0x2d4e33(0x50c)])['numfmt']);return typeof _0xc7ba9a['type']==_0x2d4e33(0x3e3)?_0xc7ba9a['type']:'general';}function Ts(_0xab88d3){const _0x449dee=_0x282c57;let _0x52b266=Ds(Ds(_0xab88d3[_0x449dee(0x50c)])[_0x449dee(0x49b)]);return String(_0x52b266[_0x449dee(0x505)]??os)[_0x449dee(0x24d)]()||os;}function Es(_0x434b74){const _0x31b140=_0x282c57;return String(Number['isInteger'](_0x434b74)?_0x434b74:Math[_0x31b140(0x1b1)]((_0x434b74+0x2**-0x34)*0x64)/0x64);}function Ds(_0x307a7){return _0x307a7&&typeof _0x307a7=='object'&&!Array['isArray'](_0x307a7)?_0x307a7:{};}function Os(_0x343669){const _0x3833a1=_0x282c57;if(_0x343669==null||_0x343669==='')return null;let _0x243a6b=typeof _0x343669=='number'?_0x343669:Number(_0x343669);return Number[_0x3833a1(0x210)](_0x243a6b)?_0x243a6b:null;}function ks(_0x13153a,_0x56f369,_0xfa26d4,_0xe950d5){const _0x52a870=_0x282c57;let _0x4a70ff=Os(_0x13153a);return _0x4a70ff==null?_0xe950d5:Math['max'](_0x56f369,Math[_0x52a870(0x520)](_0xfa26d4,Math[_0x52a870(0x1b1)](_0x4a70ff)));}function As(_0x4cb5cf,_0x2b7dd3){const _0x582748=_0x282c57;let _0x181e18=_0xd92214[_0x582748(0x4d7)](_0x4cb5cf),_0x4395d5=_0x2b7dd3['includeRecords']===!0x0,_0x48ae24=new Map(),_0x20e857=_0x2b7dd3[_0x582748(0x377)]??(()=>_0x582748(0x1a4)+_0x4e27d9(0x8)),_0x22e44e=_0x181e18['viewOrder'];return _0x2b7dd3[_0x582748(0x4da)]&&(_0x22e44e=_0x181e18[_0x582748(0x3a5)][_0x582748(0x309)](_0xc20046=>{let _0x39d004=_0x20e857();return _0x48ae24['set'](_0xc20046,_0x39d004),_0x39d004;})),{..._0x181e18,'id':_0x2b7dd3['id'],'name':_0x2b7dd3['name'],'records':_0x4395d5?_0x181e18['records']:{},'recordOrder':_0x4395d5?_0x181e18[_0x582748(0x413)]:[],'rowIndex':_0x4395d5?_0x181e18[_0x582748(0x277)]:{},'rowId':_0x4395d5?_0x181e18[_0x582748(0x21b)]:{},'cellData':_0x4395d5?_0x181e18[_0x582748(0x343)]:{},'resources':_0x4395d5?_0x181e18['resources']:{},'viewOrder':_0x22e44e,'views':Object[_0x582748(0x1af)](Object['entries'](_0x181e18[_0x582748(0x4f9)]??{})[_0x582748(0x309)](([_0x29ef06,_0x3c6e84])=>{const _0x66d370=_0x582748;let _0x457a04=_0x48ae24[_0x66d370(0x268)](_0x29ef06)??(_0x2b7dd3[_0x66d370(0x4da)]?_0x20e857():_0x29ef06);return[_0x457a04,{..._0x3c6e84,'id':_0x457a04,'tableId':_0x2b7dd3['id']}];}))};}var js='@univerjs-pro/bases',Ms=_0x282c57(0x450);const Ns={},Ps={};function Fs(_0x150e10){const _0x4ad1eb=_0x282c57;return new z()[_0x4ad1eb(0x485)](_0x150e10);}function Is(_0x40e077){const _0xa2189a=_0x282c57;return _0x40e077[_0xa2189a(0x345)][_0xa2189a(0x309)](_0x2e75e3=>({'unitId':_0x40e077['unitId'],'sheetId':_0x40e077[_0xa2189a(0x45e)],'range':{'startRow':_0x2e75e3['row'],'endRow':_0x2e75e3[_0xa2189a(0x2f0)],'startColumn':_0x2e75e3[_0xa2189a(0x340)],'endColumn':_0x2e75e3[_0xa2189a(0x340)]}}));}function Ls(_0x18e47c,_0xef8d20){const _0x402bfb=_0x282c57;return{[_0x18e47c]:Object[_0x402bfb(0x1af)](_0xef8d20[_0x402bfb(0x309)](_0x4c0f51=>[_0x4c0f51,'1']))};}let Rs=class extends _0x3bb8e0{constructor(_0x527235,_0x52d406){const _0x8f20e=_0x282c57;super(),this['_activeDirtyManagerService']=_0x527235,this['_univerInstanceService']=_0x52d406,this[_0x8f20e(0x323)]();}[_0x282c57(0x323)](){const _0x31be5e=_0x282c57;this[_0x31be5e(0x1e2)][_0x31be5e(0x39f)](Q['id'],{'commandId':Q['id'],'getDirtyData':_0x20ec97=>this[_0x31be5e(0x2be)](_0x20ec97['params'])}),this['disposeWithMe'](_0x453a32(()=>{const _0x571ffd=_0x31be5e;this[_0x571ffd(0x1e2)][_0x571ffd(0x49c)](Q['id']);}));}[_0x282c57(0x1ee)](_0x95d38b,_0x474890){const _0xdd95be=_0x282c57;let _0x51b4f4=this['_univerInstanceService'][_0xdd95be(0x2ad)](_0x95d38b,_0x335149['UNIVER_BASE']);return(_0x51b4f4==null?void 0x0:_0x51b4f4[_0xdd95be(0x28c)]()[_0xdd95be(0x528)][_0x474890])??null;}[_0x282c57(0x2be)](_0x89fb42){const _0x3f6ca9=_0x282c57;if(_0x89fb42[_0x3f6ca9(0x245)]==='formula.mutation.set-formula-calculation-result')return{};if(!_0x89fb42[_0x3f6ca9(0x226)]||!_0x89fb42['op'])return{'clearDependencyTreeCache':this[_0x3f6ca9(0x440)](),'forceCalculation':!0x0};let _0x34fbf1=Fs(_0x89fb42['op']),_0x2b9bf5=this[_0x3f6ca9(0x475)](_0x89fb42[_0x3f6ca9(0x226)],_0x34fbf1);if(_0x2b9bf5[_0x3f6ca9(0x4ab)])return{'clearDependencyTreeCache':Ls(_0x89fb42[_0x3f6ca9(0x226)],_0x2b9bf5),'forceCalculation':!0x0};let _0x33a2db=Object[_0x3f6ca9(0x41d)](this[_0x3f6ca9(0x1ab)](_0x89fb42['unitId'],_0x34fbf1))[_0x3f6ca9(0x26a)](([_0xb82d31,_0x4fcaf6])=>Is({'unitId':_0x89fb42[_0x3f6ca9(0x226)],'tableId':_0xb82d31,'patches':_0x4fcaf6}));return _0x33a2db[_0x3f6ca9(0x4ab)]?{'dirtyRanges':_0x33a2db}:{};}[_0x282c57(0x475)](_0x1440ca,_0x57b7b2){const _0x2c9354=_0x282c57;let _0x4a4fac=_0x57b7b2[_0x2c9354(0x4cc)](_0x1f0ae4=>_0x1f0ae4['reason']!==_0x2c9354(0x1f9))[_0x2c9354(0x26a)](_0x445934=>_0x445934[_0x2c9354(0x45e)]?[_0x445934['tableId']]:this[_0x2c9354(0x484)](_0x1440ca));return Array[_0x2c9354(0x2f3)](new Set(_0x4a4fac));}[_0x282c57(0x1ab)](_0x5e4448,_0x56424c){const _0x2035aa=_0x282c57;let _0x490878=new Set();return _0x56424c[_0x2035aa(0x3a7)]((_0x1d4a80,_0x53ac7e)=>{const _0x38e510=_0x2035aa;let _0x2fb4fb=this[_0x38e510(0x44a)](_0x5e4448,_0x53ac7e);if(!_0x2fb4fb)return _0x1d4a80;let _0x4c4e53=_0x53ac7e[_0x38e510(0x45e)]+':'+_0x2fb4fb[_0x38e510(0x2f0)]+':'+_0x2fb4fb[_0x38e510(0x340)];return _0x490878[_0x38e510(0x25c)](_0x4c4e53)?_0x1d4a80:(_0x490878[_0x38e510(0x551)](_0x4c4e53),_0x1d4a80[_0x53ac7e[_0x38e510(0x45e)]]=_0x1d4a80[_0x53ac7e[_0x38e510(0x45e)]]??[],_0x1d4a80[_0x53ac7e[_0x38e510(0x45e)]]['push'](_0x2fb4fb),_0x1d4a80);},{});}[_0x282c57(0x44a)](_0x37338a,_0x35ffa1){const _0x284044=_0x282c57;if(_0x35ffa1[_0x284044(0x2cd)]!==_0x284044(0x1f9))return null;if(_0x35ffa1[_0x284044(0x2f0)]!=null&&_0x35ffa1['column']!=null)return{'row':_0x35ffa1[_0x284044(0x2f0)],'col':_0x35ffa1[_0x284044(0x331)],'value':null};if(!_0x35ffa1['recordId']||!_0x35ffa1['fieldId'])return null;let _0x597077=this[_0x284044(0x1ee)](_0x37338a,_0x35ffa1[_0x284044(0x45e)]);if(!_0x597077)return null;let _0x402cef=_t(_0x597077,_0x35ffa1[_0x284044(0x40d)],_0x35ffa1['fieldId']);return _0x402cef?{'row':_0x402cef[_0x284044(0x2f0)],'col':_0x402cef[_0x284044(0x340)],'value':null}:null;}['_getAllTableIds'](_0x41d21a){const _0xe32eac=_0x282c57;let _0x4b84a0=this[_0xe32eac(0x42e)][_0xe32eac(0x2ad)](_0x41d21a,_0x335149[_0xe32eac(0x370)]);return Object[_0xe32eac(0x54e)]((_0x4b84a0==null?void 0x0:_0x4b84a0[_0xe32eac(0x28c)]()[_0xe32eac(0x528)])??{})[_0xe32eac(0x309)](_0x526132=>_0x526132['id']);}[_0x282c57(0x440)](){const _0x493294=_0x282c57;let _0xf26f1c=this['_univerInstanceService']['getAllUnitsForType'](_0x335149['UNIVER_BASE'])[_0x493294(0x309)](_0xf1412d=>Ls(_0xf1412d['getUnitId'](),Object[_0x493294(0x334)](_0xf1412d[_0x493294(0x28c)]()[_0x493294(0x528)])));return Object['assign']({},..._0xf26f1c);}};Rs=X([Y(0x0,_0x5d22c8),Y(0x1,_0x54ce33)],Rs);let zs=class extends _0x3bb8e0{constructor(_0x5a43e1,_0x4a611c,_0x11fce0,_0x2b4c50){const _0x245258=_0x282c57;super(),this[_0x245258(0x190)]=_0x5a43e1,this[_0x245258(0x42e)]=_0x4a611c,this[_0x245258(0x51b)]=_0x11fce0,this[_0x245258(0x234)]=_0x2b4c50,G(this,_0x245258(0x288),new Xi()),G(this,_0x245258(0x2eb),new Map()),G(this,_0x245258(0x3fd),new Set()),G(this,'_formulaSyncQueue',Promise[_0x245258(0x363)]()),G(this,_0x245258(0x41c),!0x1),this[_0x245258(0x323)]();}[_0x282c57(0x323)](){const _0x496104=_0x282c57;this[_0x496104(0x42e)]['getAllUnitsForType'](_0x335149['UNIVER_BASE'])[_0x496104(0x34b)](_0x5e945f=>{const _0x42f292=_0x496104;this[_0x42f292(0x467)](_0x5e945f);}),this[_0x496104(0x4fe)](this[_0x496104(0x42e)][_0x496104(0x224)](_0x335149[_0x496104(0x370)])[_0x496104(0x306)](({unit:_0x65e9ba})=>{const _0x5eb334=_0x496104;this[_0x5eb334(0x467)](_0x65e9ba);})),this[_0x496104(0x4fe)](this[_0x496104(0x42e)][_0x496104(0x4b0)](_0x335149[_0x496104(0x370)])[_0x496104(0x306)](_0x4fcdab=>{const _0x5bd05d=_0x496104;this[_0x5bd05d(0x46f)](()=>this[_0x5bd05d(0x39e)](_0x4fcdab[_0x5bd05d(0x1e4)]()));})),this['disposeWithMe'](this[_0x496104(0x190)][_0x496104(0x235)](_0xf238a0=>this[_0x496104(0x52f)](_0xf238a0)));}[_0x282c57(0x52f)](_0x3c2340){const _0x2e72c2=_0x282c57;if(_0x3c2340['id']===_0x260dd2['id']){Vs(_0x3c2340[_0x2e72c2(0x530)])&&this[_0x2e72c2(0x470)](_0x3c2340[_0x2e72c2(0x530)]);return;}if(this[_0x2e72c2(0x41c)]||_0x3c2340['id']!==Q['id'])return;let _0x3c89a9=Bs(_0x3c2340['params'])?_0x3c2340[_0x2e72c2(0x530)]:void 0x0,_0x4780d8=_0x3c89a9!=null&&_0x3c89a9[_0x2e72c2(0x226)]?[this['_univerInstanceService'][_0x2e72c2(0x2ad)](_0x3c89a9[_0x2e72c2(0x226)],_0x335149[_0x2e72c2(0x370)])][_0x2e72c2(0x4cc)](_0x39781c=>!!_0x39781c):this[_0x2e72c2(0x42e)][_0x2e72c2(0x1cd)](_0x335149['UNIVER_BASE']),_0x4902c2=_0x3c89a9==null?void 0x0:_0x3c89a9['op'];_0x4780d8[_0x2e72c2(0x34b)](_0x2e3f4a=>{const _0x21a0fc=_0x2e72c2;let _0x4abb90=_0x4902c2?Fs(_0x4902c2):[];(!_0x4902c2||_0x4abb90['some'](_0x252a1d=>_0x252a1d[_0x21a0fc(0x2cd)]!==_0x21a0fc(0x1f9)))&&this[_0x21a0fc(0x467)](_0x2e3f4a);});}[_0x282c57(0x467)](_0x3e47f5){const _0x43c3f1=_0x282c57;let _0x421220=_0x3e47f5[_0x43c3f1(0x1e4)]();this['_scheduledSuperTableSyncs'][_0x43c3f1(0x25c)](_0x421220)||(this[_0x43c3f1(0x3fd)][_0x43c3f1(0x551)](_0x421220),this[_0x43c3f1(0x46f)](async()=>{const _0xc38662=_0x43c3f1;this[_0xc38662(0x3fd)][_0xc38662(0x404)](_0x421220),await this[_0xc38662(0x4fb)](_0x3e47f5);}));}async['_syncSuperTables'](_0x430fae){const _0x11ef67=_0x282c57;let _0xc673f2=_0x430fae['getUnitId'](),_0x107bd0=this[_0x11ef67(0x288)][_0x11ef67(0x502)](_0x430fae[_0x11ef67(0x28c)]()),_0x37d63c=new Set(_0x107bd0[_0x11ef67(0x309)](({tableName:_0x1715c2})=>_0x1715c2)),_0x307c65=this[_0x11ef67(0x2eb)][_0x11ef67(0x268)](_0xc673f2)??new Set();for(let _0x5293be of _0x307c65)if(!_0x37d63c[_0x11ef67(0x25c)](_0x5293be)&&!await this[_0x11ef67(0x44b)](_0x16f34f['id'],{'unitId':_0xc673f2,'tableName':_0x5293be}))return;for(let {tableName:_0x3895e1,reference:_0x27de86}of _0x107bd0)if(!await this[_0x11ef67(0x44b)](_0x3f9972['id'],{'unitId':_0xc673f2,'tableName':_0x3895e1,'reference':_0x27de86}))return;this[_0x11ef67(0x2eb)][_0x11ef67(0x246)](_0xc673f2,_0x37d63c);}async[_0x282c57(0x39e)](_0x4359bc){const _0x432844=_0x282c57;let _0x48562a=this['_registeredSuperTableNames'][_0x432844(0x268)](_0x4359bc)??new Set();for(let _0xd566ce of _0x48562a)if(!await this[_0x432844(0x44b)](_0x16f34f['id'],{'unitId':_0x4359bc,'tableName':_0xd566ce}))return;this[_0x432844(0x2eb)][_0x432844(0x404)](_0x4359bc);}async['_executeSuperTableMutationWhileActive'](_0x420224,_0x2024a2){const _0x3a0f11=_0x282c57;return!this[_0x3a0f11(0x1d1)]&&await this['_commandService'][_0x3a0f11(0x4ce)](_0x420224,_0x2024a2,{'onlyLocal':!0x0})&&!this[_0x3a0f11(0x1d1)];}[_0x282c57(0x46f)](_0x462ea1){const _0x46484f=_0x282c57;this[_0x46484f(0x4dc)]=this['_formulaSyncQueue'][_0x46484f(0x521)](_0x462ea1,_0x462ea1)['catch'](()=>void 0x0);}['_applyFormulaResult'](_0x2ec052){const _0x218ecb=_0x282c57;let _0x5e3461=this[_0x218ecb(0x42e)][_0x218ecb(0x1cd)](_0x335149[_0x218ecb(0x370)]);if(!_0x5e3461[_0x218ecb(0x436)](_0x3756b5=>{const _0x2ceab1=_0x218ecb;var _0x319873;return((_0x319873=_0x2ec052[_0x2ceab1(0x1b5)])==null?void 0x0:_0x319873[_0x3756b5[_0x2ceab1(0x1e4)]()])!=null;}))return;let _0x17f11c=_0x5e3461[_0x218ecb(0x26a)](_0x1b8968=>Zi(_0x1b8968['getSnapshot'](),_0x2ec052));if(!_0x17f11c[_0x218ecb(0x4ab)]){this[_0x218ecb(0x234)]['markResultApplied'](_0x5be45b['BASE'],_0x2ec052);return;}let _0x469626=new W(),_0x4dadbe=_0x17f11c[_0x218ecb(0x26a)](_0x44bc8d=>Is({'unitId':_0x44bc8d['unitId'],'tableId':_0x44bc8d[_0x218ecb(0x45e)],'patches':_0x44bc8d['patches']}));this[_0x218ecb(0x41c)]=!0x0,(async()=>{const _0x207128=_0x218ecb;for(let _0x46bfec of _0x17f11c){let _0x593629=this[_0x207128(0x42e)][_0x207128(0x2ad)](_0x46bfec[_0x207128(0x226)],_0x335149['UNIVER_BASE']);_0x593629&&await this[_0x207128(0x190)][_0x207128(0x4ce)](Q['id'],{'unitId':_0x46bfec[_0x207128(0x226)],'op':_0x469626[_0x207128(0x30b)](_0x593629['getSnapshot'](),_0x46bfec['tableId'],_0x46bfec['patches']),'trigger':_0x260dd2['id']},{'onlyLocal':!0x0});}await this[_0x207128(0x190)][_0x207128(0x4ce)](_0x1d0f35['id'],{'dirtyRanges':_0x4dadbe},{'onlyLocal':!0x0});})()[_0x218ecb(0x2b5)](()=>{const _0x382652=_0x218ecb;this['_applyingFormulaResults']=!0x1,this[_0x382652(0x234)][_0x382652(0x36c)](_0x5be45b['BASE'],_0x2ec052);});}};zs=X([Y(0x0,_0x2a9a16),Y(0x1,_0x54ce33),Y(0x2,_0x4bcdd1(_0x14f705)),Y(0x3,_0x4bcdd1(_0x2c8588))],zs);function Bs(_0x254e60){const _0xd984c3=_0x282c57;return typeof _0x254e60=='object'&&!!_0x254e60&&_0xd984c3(0x226)in _0x254e60&&typeof _0x254e60[_0xd984c3(0x226)]==_0xd984c3(0x3e3)&&'op'in _0x254e60&&Array['isArray'](_0x254e60['op']);}function Vs(_0xba7b77){const _0x3b7843=_0x282c57;return typeof _0xba7b77==_0x3b7843(0x4ba)&&!!_0xba7b77&&_0x3b7843(0x1b5)in _0xba7b77&&_0x3b7843(0x498)in _0xba7b77;}const Hs=new Set([fo['id'],po['id'],Io['id']]);let Us=class extends _0x3bb8e0{constructor(_0x3cf0c7,_0x3344a2,_0x5897a3,_0x4e0419){const _0xc1f7f4=_0x282c57;super(),this[_0xc1f7f4(0x469)]=_0x3cf0c7,this[_0xc1f7f4(0x190)]=_0x3344a2,this[_0xc1f7f4(0x513)]=_0x5897a3,this[_0xc1f7f4(0x20c)]=_0x4e0419,this['_instanceService']['getAllUnitsForType'](_0x335149['UNIVER_BASE'])[_0xc1f7f4(0x34b)](_0x12021a=>this[_0xc1f7f4(0x352)](_0x12021a['getUnitId']())),this[_0xc1f7f4(0x4fe)](this[_0xc1f7f4(0x20c)][_0xc1f7f4(0x224)](_0x335149[_0xc1f7f4(0x370)])[_0xc1f7f4(0x306)](({unit:_0x4a2001})=>this[_0xc1f7f4(0x352)](_0x4a2001[_0xc1f7f4(0x1e4)]()))),this[_0xc1f7f4(0x4fe)](this[_0xc1f7f4(0x190)][_0xc1f7f4(0x1c9)]((_0x3ea697,_0x1e288b)=>this[_0xc1f7f4(0x46a)](_0x3ea697,_0x1e288b))),this[_0xc1f7f4(0x4fe)](this[_0xc1f7f4(0x20c)][_0xc1f7f4(0x4b0)](_0x335149[_0xc1f7f4(0x370)])['subscribe'](_0x1f02a3=>{const _0x585599=_0xc1f7f4;this['_injector']['get'](_0x532322)['clearUnit'](_0x1f02a3[_0x585599(0x1e4)]()),Rr(this[_0x585599(0x513)],_0x1f02a3[_0x585599(0x1e4)]());}));}[_0x282c57(0x352)](_0x3e4d65){const _0x5c5fff=_0x282c57;Tr[_0x5c5fff(0x34b)](_0x59b678=>{const _0xb5355e=_0x5c5fff;let _0xf25414=Pr(_0x3e4d65,_0x3e4d65,_0x59b678);this[_0xb5355e(0x513)]['getPermissionPoint'](_0xf25414['id'])||this[_0xb5355e(0x513)][_0xb5355e(0x311)](_0xf25414);}),this[_0x5c5fff(0x469)][_0x5c5fff(0x268)](_0x532322)[_0x5c5fff(0x291)]({'unitId':_0x3e4d65,'objectId':_0x3e4d65,'objectType':_0xd2ae12[_0x5c5fff(0x3d6)]});}[_0x282c57(0x46a)](_0x39af1b,_0x255f9b){const _0x14b9cf=_0x282c57;var _0x562956;if(_0x255f9b!=null&&_0x255f9b['fromCollab']||_0x255f9b!=null&&_0x255f9b[_0x14b9cf(0x304)])return;let _0x1848b0=tc(_0x39af1b[_0x14b9cf(0x530)])?_0x39af1b[_0x14b9cf(0x530)]:void 0x0;if(_0x255f9b!=null&&_0x255f9b[_0x14b9cf(0x463)]&&_0x39af1b['id']==='base.mutation.apply-base-json1'&&(_0x1848b0==null?void 0x0:_0x1848b0[_0x14b9cf(0x245)])===_0x260dd2['id'])return;let _0x1cabdc=Gs(_0x39af1b['id']),_0x11ee7a=Ws(_0x1848b0==null?void 0x0:_0x1848b0['unitId'],_0x255f9b)??(_0x1cabdc?(_0x562956=this[_0x14b9cf(0x20c)][_0x14b9cf(0x517)](_0x335149['UNIVER_BASE']))==null?void 0x0:_0x562956[_0x14b9cf(0x1e4)]():void 0x0);if(!_0x11ee7a||this['_instanceService']['getUnitType'](_0x11ee7a)!==_0x335149[_0x14b9cf(0x370)])return;if(_0x1cabdc){if(!Fr(this[_0x14b9cf(0x513)],_0x11ee7a,_0x11ee7a,_0x1cabdc))throw this[_0x14b9cf(0x469)][_0x14b9cf(0x268)](_0x2ba5f2)[_0x14b9cf(0x482)](_0x11ee7a),new _0x3aec47(_0x14b9cf(0x199)+_0x133e41[_0x1cabdc]+'\x20permission\x20denied.');return;}if(Hs[_0x14b9cf(0x25c)](_0x39af1b['id'])||!_0x39af1b['id'][_0x14b9cf(0x289)]('base.command.')&&!_0x39af1b['id'][_0x14b9cf(0x289)](_0x14b9cf(0x1b6)))return;let _0x171588=this[_0x14b9cf(0x20c)][_0x14b9cf(0x2ad)](_0x11ee7a,_0x335149[_0x14b9cf(0x370)]),_0x28a463=_0x171588?Ks(_0x171588,_0x1848b0??{},_0x39af1b['id']):[];if(!_0x171588||!zr(this['_permissionService'],_0x11ee7a,_0x28a463))throw this[_0x14b9cf(0x469)][_0x14b9cf(0x268)](_0x2ba5f2)[_0x14b9cf(0x482)](_0x11ee7a,_0x28a463),new _0x3aec47(_0x14b9cf(0x50f));}};Us=X([Y(0x0,_0x4bcdd1(_0x5325dd)),Y(0x1,_0x2a9a16),Y(0x2,_0x39a8ae),Y(0x3,_0x54ce33)],Us);function Ws(_0x55665a,_0x4dc035){const _0x3fe36e=_0x282c57;return typeof _0x55665a==_0x3fe36e(0x3e3)?_0x55665a:typeof(_0x4dc035==null?void 0x0:_0x4dc035['unitId'])==_0x3fe36e(0x3e3)?_0x4dc035[_0x3fe36e(0x226)]:void 0x0;}function Gs(_0x2ac3ab){const _0x9cd901=_0x282c57;if(_0x2ac3ab==='bases-exchange-client.operation.export-base'||_0x2ac3ab===_0x9cd901(0x35a))return _0x133e41[_0x9cd901(0x3ce)];if(_0x2ac3ab[_0x9cd901(0x289)](_0x9cd901(0x3b2))||_0x2ac3ab[_0x9cd901(0x289)](_0x9cd901(0x552)))return _0x133e41[_0x9cd901(0x4c4)];}function Ks(_0x1024e0,_0x2fb8e6,_0x524af5){const _0xc22ffc=_0x282c57;if(_0x524af5===_0xc22ffc(0x48f)&&ec(_0x2fb8e6['op']))return qs(_0x1024e0,_0x2fb8e6['op']);let _0x5e7d70=new Set(),_0x5da876=Zs(_0x2fb8e6,_0xc22ffc(0x270)),_0x441052=typeof _0x2fb8e6[_0xc22ffc(0x45e)]==_0xc22ffc(0x3e3)?_0x2fb8e6[_0xc22ffc(0x45e)]:_0x5da876[0x0];if(_0x5da876['forEach'](_0x58dc91=>_0x5e7d70[_0xc22ffc(0x551)](K(_0x58dc91))),!_0x441052)return[..._0x5e7d70];let _0x5928f0=_0x1024e0[_0xc22ffc(0x28c)]()[_0xc22ffc(0x528)][_0x441052],_0x3d7223=new Set(Zs(_0x2fb8e6,'field')),_0x1c7caa=new Set(Zs(_0x2fb8e6,'record')),_0x1d8f4f=new Set(Zs(_0x2fb8e6,_0xc22ffc(0x47a)));return Qs(_0x5928f0,_0x2fb8e6['patches'],_0x1c7caa,_0x3d7223),$s(_0x2fb8e6,_0x3d7223),_0x3d7223[_0xc22ffc(0x34b)](_0x341e5c=>_0x5e7d70[_0xc22ffc(0x551)](q(_0x441052,_0x341e5c))),_0x1c7caa['forEach'](_0x4c86b2=>_0x5e7d70[_0xc22ffc(0x551)](J(_0x441052,_0x4c86b2))),_0x1d8f4f['forEach'](_0x1bdf39=>_0x5e7d70[_0xc22ffc(0x551)](Mr(_0x441052,_0x1bdf39))),[..._0x5e7d70];}function qs(_0x35c4e6,_0x1dad68){const _0x732ad9=_0x282c57;let _0x528612=_0x35c4e6['getSnapshot'](),_0x219787=new z()[_0x732ad9(0x485)](_0x1dad68),_0x1ce2e7=Js(_0x1dad68),_0x4aa535=new Set();return _0x219787[_0x732ad9(0x34b)](_0x3e74f1=>{const _0x1908d3=_0x732ad9;var _0x205405,_0x9b170f;let {tableId:_0x39af5b}=_0x3e74f1;if(!_0x39af5b)return;_0x4aa535[_0x1908d3(0x551)](K(_0x39af5b));let _0x1936e7=_0x528612[_0x1908d3(0x528)][_0x39af5b],_0x14f688=_0x3e74f1[_0x1908d3(0x40d)]??(_0x3e74f1[_0x1908d3(0x2f0)]==null||_0x1936e7==null||(_0x205405=_0x1936e7['rowId'])==null?void 0x0:_0x205405[_0x3e74f1[_0x1908d3(0x2f0)]]),_0x65decb=_0x3e74f1[_0x1908d3(0x387)]??(_0x3e74f1[_0x1908d3(0x331)]==null||_0x1936e7==null||(_0x9b170f=_0x1936e7[_0x1908d3(0x46d)])==null?void 0x0:_0x9b170f[_0x3e74f1['column']]);_0x14f688&&_0x4aa535[_0x1908d3(0x551)](J(_0x39af5b,_0x14f688)),_0x65decb&&_0x4aa535[_0x1908d3(0x551)](q(_0x39af5b,_0x65decb)),_0x3e74f1[_0x1908d3(0x44d)]&&_0x4aa535[_0x1908d3(0x551)](Mr(_0x39af5b,_0x3e74f1[_0x1908d3(0x44d)])),(_0x3e74f1['reason']===_0x1908d3(0x270)||_0x1ce2e7[_0x1908d3(0x25c)](_0x39af5b))&&_0x1936e7&&(Object[_0x1908d3(0x334)](_0x1936e7[_0x1908d3(0x453)])[_0x1908d3(0x34b)](_0x381bb1=>_0x4aa535[_0x1908d3(0x551)](q(_0x39af5b,_0x381bb1))),Object[_0x1908d3(0x334)](_0x1936e7[_0x1908d3(0x1e1)])[_0x1908d3(0x34b)](_0x55c546=>_0x4aa535[_0x1908d3(0x551)](J(_0x39af5b,_0x55c546))),Object[_0x1908d3(0x334)](_0x1936e7[_0x1908d3(0x4f9)])[_0x1908d3(0x34b)](_0x55470b=>_0x4aa535['add'](Mr(_0x39af5b,_0x55470b)))),_0x3e74f1[_0x1908d3(0x2cd)]===_0x1908d3(0x3a6)&&_0x1936e7&&Object[_0x1908d3(0x334)](_0x1936e7[_0x1908d3(0x453)])[_0x1908d3(0x34b)](_0x1b9db9=>_0x4aa535['add'](q(_0x39af5b,_0x1b9db9)));}),_0x219787[_0x732ad9(0x4ab)]===0x0&&Xs(_0x1dad68,_0x732ad9(0x1ae))&&Object[_0x732ad9(0x334)](_0x528612[_0x732ad9(0x528)])[_0x732ad9(0x34b)](_0x1d2cd0=>_0x4aa535[_0x732ad9(0x551)](K(_0x1d2cd0))),[..._0x4aa535];}function Js(_0xe8ba6d){let _0x200bbf=new Set(),_0x2b2827=_0x5515df=>{const _0x12f064=_0x3047;Array[_0x12f064(0x3d5)](_0x5515df)&&_0x5515df[_0x12f064(0x34b)]((_0x33932d,_0x18103a)=>{const _0x3a1b39=_0x12f064;_0x33932d===_0x3a1b39(0x528)&&typeof _0x5515df[_0x18103a+0x1]==_0x3a1b39(0x3e3)&&Ys(_0x5515df[_0x18103a+0x2])&&_0x200bbf['add'](_0x5515df[_0x18103a+0x1]),_0x2b2827(_0x33932d);});};return _0x2b2827(_0xe8ba6d),_0x200bbf;}function Ys(_0x5ecbce){const _0x43a966=_0x282c57;return!!_0x5ecbce&&typeof _0x5ecbce==_0x43a966(0x4ba)&&!Array[_0x43a966(0x3d5)](_0x5ecbce)&&('i'in _0x5ecbce||'r'in _0x5ecbce||'p'in _0x5ecbce||'d'in _0x5ecbce||'es'in _0x5ecbce||_0x43a966(0x2bb)in _0x5ecbce||'et'in _0x5ecbce);}function Xs(_0x6f0274,_0x38e614){const _0x413f48=_0x282c57;return Array[_0x413f48(0x3d5)](_0x6f0274)&&_0x6f0274[_0x413f48(0x436)](_0x2592bd=>_0x2592bd===_0x38e614||Xs(_0x2592bd,_0x38e614));}function Zs(_0x43d603,_0x5ae45f){let _0x3bd7ff=new Set(),_0x4d69f9=_0x5ae45f+'Id',_0x30e970=_0x5ae45f+'Ids',_0x33d8fc=(_0x2a8fe6,_0x4d3093='')=>{const _0x144f88=_0x3047;if(typeof _0x2a8fe6=='string'){_0x4d3093===_0x4d69f9&&_0x3bd7ff[_0x144f88(0x551)](_0x2a8fe6);return;}if(Array['isArray'](_0x2a8fe6)){_0x4d3093===_0x30e970?_0x2a8fe6[_0x144f88(0x34b)](_0x2b9ce9=>{const _0x36afd7=_0x144f88;typeof _0x2b9ce9==_0x36afd7(0x3e3)&&_0x3bd7ff[_0x36afd7(0x551)](_0x2b9ce9);}):_0x2a8fe6[_0x144f88(0x34b)](_0xd6a5c4=>_0x33d8fc(_0xd6a5c4,_0x4d3093));return;}tc(_0x2a8fe6)&&Object['entries'](_0x2a8fe6)[_0x144f88(0x34b)](([_0x4b45ce,_0x194cbd])=>{const _0x5142da=_0x144f88;_0x4b45ce==='id'&&_0x4d3093===_0x5ae45f&&typeof _0x194cbd==_0x5142da(0x3e3)?_0x3bd7ff[_0x5142da(0x551)](_0x194cbd):_0x33d8fc(_0x194cbd,_0x4b45ce);});};return _0x33d8fc(_0x43d603),[..._0x3bd7ff];}function Qs(_0xa58e6d,_0x141138,_0x46017d,_0x10c182){const _0x43ab1e=_0x282c57;_0xa58e6d&&Array[_0x43ab1e(0x3d5)](_0x141138)&&_0x141138[_0x43ab1e(0x34b)](_0x81c501=>{const _0x3608e4=_0x43ab1e;if(!tc(_0x81c501))return;let _0xc48ba9=_0x81c501;if(typeof _0xc48ba9[_0x3608e4(0x2f0)]=='number'){var _0x3c0b1f;let _0x531102=(_0x3c0b1f=_0xa58e6d[_0x3608e4(0x21b)])==null?void 0x0:_0x3c0b1f[_0xc48ba9['row']];_0x531102&&_0x46017d[_0x3608e4(0x551)](_0x531102);}if(typeof _0xc48ba9['col']=='number'){var _0x8ab75d;let _0x6df7a8=(_0x8ab75d=_0xa58e6d[_0x3608e4(0x46d)])==null?void 0x0:_0x8ab75d[_0xc48ba9[_0x3608e4(0x340)]];_0x6df7a8&&_0x10c182['add'](_0x6df7a8);}});}function $s(_0x298141,_0x587525,_0x2f1d99=''){const _0xf4f2b2=_0x282c57;if(_0x298141&&typeof _0x298141==_0xf4f2b2(0x4ba)){if(Array[_0xf4f2b2(0x3d5)](_0x298141)){_0x298141[_0xf4f2b2(0x34b)](_0xcc6a9c=>$s(_0xcc6a9c,_0x587525,_0x2f1d99));return;}tc(_0x298141)&&Object[_0xf4f2b2(0x41d)](_0x298141)[_0xf4f2b2(0x34b)](([_0x50cbee,_0x124dc1])=>{const _0x592f2d=_0xf4f2b2;_0x2f1d99===_0x592f2d(0x54e)&&_0x587525[_0x592f2d(0x551)](_0x50cbee),$s(_0x124dc1,_0x587525,_0x50cbee);});}}function ec(_0x3e5528){const _0x1c48ff=_0x282c57;return Array[_0x1c48ff(0x3d5)](_0x3e5528);}function tc(_0x3b7b09){const _0x51f3f7=_0x282c57;return typeof _0x3b7b09==_0x51f3f7(0x4ba)&&!!_0x3b7b09&&!Array[_0x51f3f7(0x3d5)](_0x3b7b09);}const nc=_0x2cfc4b(_0x282c57(0x25a));let rc=class{constructor(_0x3c32f5){const _0x112e88=_0x282c57;this[_0x112e88(0x42e)]=_0x3c32f5;}['getBase'](_0x4a2639){const _0x1540d8=_0x282c57;return this[_0x1540d8(0x42e)][_0x1540d8(0x2ad)](_0x4a2639,_0x335149[_0x1540d8(0x370)])??null;}[_0x282c57(0x429)](){const _0x1d4fd6=_0x282c57;return this[_0x1d4fd6(0x42e)][_0x1d4fd6(0x1cd)](_0x335149[_0x1d4fd6(0x370)]);}[_0x282c57(0x417)](_0x30995e){const _0x3bf34e=_0x282c57;return this['_univerInstanceService'][_0x3bf34e(0x228)](_0x335149[_0x3bf34e(0x370)],_0x30995e);}};rc=X([Y(0x0,_0x54ce33)],rc);const ic=_0x2cfc4b(_0x282c57(0x3b1));var ac=class extends _0x3bb8e0{constructor(..._0x5000cd){const _0x35b3ef=_0x282c57;super(..._0x5000cd),G(this,_0x35b3ef(0x432),new Map());}['register'](_0x5e7d46){const _0x740610=_0x282c57;return this['_plugins']['set'](_0x5e7d46[_0x740610(0x4aa)],_0x5e7d46),_0x453a32(()=>this[_0x740610(0x432)][_0x740610(0x404)](_0x5e7d46[_0x740610(0x4aa)]));}[_0x282c57(0x268)](_0x313149){const _0x3f80bd=_0x282c57;let _0x2b17d5=this['_plugins'][_0x3f80bd(0x268)](_0x313149);if(!_0x2b17d5)throw Error(_0x3f80bd(0x22d)+_0x313149+_0x3f80bd(0x274));return _0x2b17d5;}[_0x282c57(0x416)](){const _0x43e4e1=_0x282c57;return Array[_0x43e4e1(0x2f3)](this['_plugins'][_0x43e4e1(0x54e)]());}};const oc=[Q];let sc=class extends _0x206208{constructor(_0x1dbfda=Ns,_0x5f3c94,_0x60d4c2,_0x216100,_0x3967a2,_0x44a9df){const _0x317fb8=_0x282c57;super(),this[_0x317fb8(0x421)]=_0x1dbfda,this['_injector']=_0x5f3c94,this[_0x317fb8(0x190)]=_0x60d4c2,this[_0x317fb8(0x42e)]=_0x216100,this[_0x317fb8(0x32a)]=_0x3967a2,this[_0x317fb8(0x242)]=_0x44a9df,G(this,'_baseSyncDisposables',new Map());let {..._0x57029a}=_0xc2b1c2({},Ns,this['_config']);this[_0x317fb8(0x32a)][_0x317fb8(0x400)](_0x317fb8(0x2e2),_0x57029a),this[_0x317fb8(0x42e)][_0x317fb8(0x2ae)](_0x335149[_0x317fb8(0x370)],_0x1c1e04),this[_0x317fb8(0x54d)](),this[_0x317fb8(0x501)](),this[_0x317fb8(0x35b)](),this[_0x317fb8(0x514)]();}['onStarting'](){const _0x6847b2=_0x282c57;this[_0x6847b2(0x469)][_0x6847b2(0x551)]([Lo]),this[_0x6847b2(0x4fe)](this[_0x6847b2(0x469)][_0x6847b2(0x268)](_0x2a9a16)[_0x6847b2(0x3f4)](Ro)),this['disposeWithMe'](this[_0x6847b2(0x469)][_0x6847b2(0x268)](_0x2a9a16)[_0x6847b2(0x3f4)](zo)),this[_0x6847b2(0x4fe)](this[_0x6847b2(0x469)][_0x6847b2(0x268)](_0x532322)[_0x6847b2(0x439)](_0xd2ae12[_0x6847b2(0x3d6)],this[_0x6847b2(0x469)][_0x6847b2(0x268)](Lo),Ro['id'],zo['id']));}['onReady'](){const _0x404638=_0x282c57;_0x2fa2a9(this[_0x404638(0x469)],[[rc],[qr],[Rs]]),this[_0x404638(0x42e)]['getAllUnitsForType'](_0x335149[_0x404638(0x370)])[_0x404638(0x34b)](_0x5decf3=>this[_0x404638(0x305)](_0x5decf3[_0x404638(0x1e4)]())),_0x2fa2a9(this[_0x404638(0x469)],[[zs],[Us]]);}['_initDependencies'](){const _0x52f654=_0x282c57;[[mr,{'useClass':hr}],[ic,{'useClass':ac}],[ii,{'useClass':si}],[nc,{'useClass':rc}],[Br,{'useClass':Vr}],[Kr,{'useClass':qr}],[Rs],[zs],[Us]][_0x52f654(0x34b)](_0x2488f0=>this['_injector'][_0x52f654(0x551)](_0x2488f0));}['_initCommands'](){const _0x4c5261=_0x282c57;[Aa,so,Ja,wo,go,ho,Ea,wa,xa,qa,Sa,Za,Oo,no,Ta,Xa,Eo,To,Ca,Ka,to,Io,Ga,Qa,co,uo,Ya,oo,Fo,Ao,lo,fo,po,Do,xo,Co,So,_o,yo,bo,vo,...oc][_0x4c5261(0x34b)](_0x31967c=>this[_0x4c5261(0x4fe)](this[_0x4c5261(0x190)][_0x4c5261(0x3f4)](_0x31967c))),oc['forEach'](_0x5d314c=>{const _0x40f28a=_0x4c5261;var _0x4f9667;return(_0x4f9667=this[_0x40f28a(0x242)])==null?void 0x0:_0x4f9667[_0x40f28a(0x2fc)](_0x5d314c);});}['_initDataSync'](){const _0x4b07d8=_0x282c57;this[_0x4b07d8(0x242)]&&(this[_0x4b07d8(0x4fe)](this[_0x4b07d8(0x42e)][_0x4b07d8(0x224)](_0x335149[_0x4b07d8(0x370)])[_0x4b07d8(0x306)](({unit:_0x1a6829})=>{const _0x5993fe=_0x4b07d8;this['_syncBaseUnit'](_0x1a6829[_0x5993fe(0x1e4)]());})),this['disposeWithMe'](this[_0x4b07d8(0x42e)][_0x4b07d8(0x4b0)](_0x335149['UNIVER_BASE'])[_0x4b07d8(0x306)](_0x4aa757=>{const _0x4d8a61=_0x4b07d8;var _0x265e6f;(_0x265e6f=this[_0x4d8a61(0x4f0)][_0x4d8a61(0x268)](_0x4aa757['getUnitId']()))==null||_0x265e6f['dispose'](),this[_0x4d8a61(0x4f0)]['delete'](_0x4aa757[_0x4d8a61(0x1e4)]());})));}[_0x282c57(0x305)](_0x56d65f){const _0x4a10f0=_0x282c57;this['_dataSyncPrimaryController']&&!this[_0x4a10f0(0x4f0)]['has'](_0x56d65f)&&this[_0x4a10f0(0x4f0)][_0x4a10f0(0x246)](_0x56d65f,this[_0x4a10f0(0x242)][_0x4a10f0(0x516)](_0x56d65f));}[_0x282c57(0x35b)](){const _0x4ae9a9=_0x282c57;let _0x587bc5=this[_0x4ae9a9(0x469)][_0x4ae9a9(0x268)](mr);zn()['forEach'](_0x1e3ca5=>_0x587bc5[_0x4ae9a9(0x39f)](_0x1e3ca5));let _0x4d35c4=this[_0x4ae9a9(0x469)][_0x4ae9a9(0x268)](ic),_0x535e9c=this['_injector'][_0x4ae9a9(0x268)](ii);$r()[_0x4ae9a9(0x34b)](_0x2fa2fe=>{const _0x49a444=_0x4ae9a9;_0x4d35c4[_0x49a444(0x39f)](_0x2fa2fe),_0x535e9c[_0x49a444(0x241)](_0x2fa2fe);});}};G(sc,'pluginName','BASES_PLUGIN'),G(sc,_0x282c57(0x1b4),js),G(sc,_0x282c57(0x471),Ms),G(sc,_0x282c57(0x4aa),_0x335149[_0x282c57(0x370)]),sc=X([_0x1ae952(_0x3f6b6a,_0x269033),Y(0x1,_0x4bcdd1(_0x5325dd)),Y(0x2,_0x2a9a16),Y(0x3,_0x54ce33),Y(0x4,_0x23dc17),Y(0x5,_0x2a3dd3(_0x57ca42))],sc);let cc=class extends _0x206208{constructor(_0x4dd82d=Ps,_0xf7df7a,_0x15d3ce,_0xbb9ace,_0x237d1f){const _0x198e1e=_0x282c57;super(),this['_config']=_0x4dd82d,this[_0x198e1e(0x469)]=_0xf7df7a,this[_0x198e1e(0x190)]=_0x15d3ce,this['_configService']=_0xbb9ace,this[_0x198e1e(0x42e)]=_0x237d1f;let {..._0x326a85}=_0xc2b1c2({},Ps,this[_0x198e1e(0x421)]);this['_configService'][_0x198e1e(0x400)]('bases.remote.config',_0x326a85),this[_0x198e1e(0x42e)][_0x198e1e(0x2ae)](_0x335149[_0x198e1e(0x370)],_0x1c1e04),[[mr,{'useClass':hr}],[ii,{'useClass':si}]]['forEach'](_0x2ecd91=>this[_0x198e1e(0x469)][_0x198e1e(0x551)](_0x2ecd91)),oc[_0x198e1e(0x34b)](_0x10f36b=>this[_0x198e1e(0x4fe)](this[_0x198e1e(0x190)][_0x198e1e(0x3f4)](_0x10f36b)));}};G(cc,_0x282c57(0x1a0),_0x282c57(0x369)),G(cc,'packageName',js),G(cc,_0x282c57(0x471),Ms),G(cc,_0x282c57(0x4aa),_0x335149[_0x282c57(0x370)]),cc=X([_0x1ae952(_0x3f6b6a,_0x269033),Y(0x1,_0x4bcdd1(_0x5325dd)),Y(0x2,_0x2a9a16),Y(0x3,_0x23dc17),Y(0x4,_0x54ce33)],cc);function lc(_0x3a486e){const _0x190a9e=_0x282c57;let _0x4f7a71=Cc(_0x3a486e[_0x190a9e(0x4ec)]);if(!_0x4f7a71)return{'query':'','total':0x0,'matches':[]};let _0x3001a1=[],_0x160b9b=[];for(let _0x2c0127=0x0;_0x2c0127<_0x3a486e[_0x190a9e(0x25f)][_0x190a9e(0x4ab)];_0x2c0127++){if(!(_0x2c0127 in _0x3a486e[_0x190a9e(0x25f)]))continue;let _0x187f16=_0x3a486e['table']['fields'][_0x3a486e[_0x190a9e(0x25f)][_0x2c0127]];_0x187f16&&_0x160b9b[_0x190a9e(0x381)]({'field':_0x187f16,'fieldIndex':_0x2c0127});}_0x3a486e['rows'][_0x190a9e(0x34b)]((_0x1c3caf,_0x123a3e)=>{const _0x15ab38=_0x190a9e;_0x160b9b[_0x15ab38(0x34b)](({field:_0x5d6323,fieldIndex:_0xea6dbf})=>{const _0x3e8f23=_0x15ab38;let _0x67a3f0=uc(_0x1c3caf[_0x3e8f23(0x54e)][_0x5d6323['id']],_0x5d6323);if(!_0x67a3f0)return;let _0x17d118=Sc(_0x4f7a71,_0x67a3f0[_0x3e8f23(0x1b7)]);_0x17d118<=0x0||_0x3001a1[_0x3e8f23(0x381)]({'recordId':_0x1c3caf[_0x3e8f23(0x40d)],'fieldId':_0x5d6323['id'],'fieldType':_0x5d6323[_0x3e8f23(0x4aa)],'text':_0x67a3f0[_0x3e8f23(0x2b8)],'score':_0x17d118,'rowIndex':_0x123a3e,'fieldIndex':_0xea6dbf});});}),_0x3001a1[_0x190a9e(0x1df)]((_0xb04853,_0x546146)=>_0x546146[_0x190a9e(0x412)]-_0xb04853[_0x190a9e(0x412)]||_0xb04853[_0x190a9e(0x277)]-_0x546146['rowIndex']||_0xb04853[_0x190a9e(0x4f6)]-_0x546146[_0x190a9e(0x4f6)]);let _0x457a38=_0x3a486e[_0x190a9e(0x22f)]==null?_0x3001a1:_0x3001a1['slice'](0x0,Math['max'](0x0,_0x3a486e[_0x190a9e(0x22f)]));return{'query':_0x4f7a71,'total':_0x3001a1['length'],'matches':Tc(_0x457a38)};}function uc(_0x1027e2,_0x5a37fc){const _0x2691d0=_0x282c57;let _0x506317=[];for(let _0x92aa98 of fc(_0x1027e2,_0x5a37fc)){let _0xe0a8a4=Cc(_0x92aa98);_0xe0a8a4&&_0x506317[_0x2691d0(0x381)](_0xe0a8a4);}return _0x506317['length']?{'displayText':dc(_0x1027e2,_0x5a37fc),'searchTexts':wc(_0x506317)}:null;}function dc(_0x3a47bd,_0x27d3cb){const _0x395204=_0x282c57;switch(_0x27d3cb[_0x395204(0x4aa)]){case _0x239099[_0x395204(0x2fe)]:case _0x239099['MultiSelect']:case _0x239099[_0x395204(0x3af)]:return pc(_0x3a47bd,_0x27d3cb)['join'](',\x20');case _0x239099['Link']:return gc(_0x3a47bd);case _0x239099[_0x395204(0x240)]:case _0x239099[_0x395204(0x35d)]:case _0x239099['UpdatedAt']:return _c(_0x3a47bd,_0x27d3cb);case _0x239099[_0x395204(0x546)]:case _0x239099[_0x395204(0x4b6)]:return vc(_0x3a47bd,_0x27d3cb);case _0x239099['Progress']:return yc(_0x3a47bd,_0x27d3cb);case _0x239099[_0x395204(0x379)]:return _0x3a47bd?_0x395204(0x2ff):_0x395204(0x4b5);case _0x239099[_0x395204(0x392)]:return bc(_0x3a47bd)['join'](',\x20');default:return xc(_0x3a47bd);}}function fc(_0x4350d2,_0x47fcdf){const _0x49cd11=_0x282c57;switch(_0x47fcdf[_0x49cd11(0x4aa)]){case _0x239099[_0x49cd11(0x2fe)]:case _0x239099['MultiSelect']:case _0x239099['Group']:{let _0xda84d0=pc(_0x4350d2,_0x47fcdf);if(Array[_0x49cd11(0x3d5)](_0x4350d2)){let _0x39807e=[..._0xda84d0];for(let _0x36f2b9=0x0;_0x36f2b9<_0x4350d2[_0x49cd11(0x4ab)];_0x36f2b9++)_0x36f2b9 in _0x4350d2&&_0x39807e[_0x49cd11(0x381)](String(_0x4350d2[_0x36f2b9]));return _0x39807e;}return _0x4350d2==null?_0xda84d0:[..._0xda84d0,String(_0x4350d2)];}case _0x239099['Link']:{let _0x58d344=hc(_0x4350d2);return[_0x58d344[_0x49cd11(0x4b7)],_0x58d344[_0x49cd11(0x45d)]];}case _0x239099['Date']:case _0x239099[_0x49cd11(0x35d)]:case _0x239099[_0x49cd11(0x1bc)]:return[_c(_0x4350d2,_0x47fcdf),xc(_0x4350d2)];case _0x239099['Number']:case _0x239099['Currency']:return[vc(_0x4350d2,_0x47fcdf),xc(_0x4350d2)];case _0x239099[_0x49cd11(0x2ca)]:return[yc(_0x4350d2,_0x47fcdf),xc(_0x4350d2)];case _0x239099['Checkbox']:return _0x4350d2?[_0x49cd11(0x2ff),_0x49cd11(0x362),_0x49cd11(0x3c2)]:[_0x49cd11(0x4b5),'No',_0x49cd11(0x477)];case _0x239099[_0x49cd11(0x392)]:return bc(_0x4350d2);default:return[xc(_0x4350d2)];}}function pc(_0xbb71bf,_0x3327c4){const _0xd1c035=_0x282c57;var _0x5c6c6f;let _0x3c9bde=Array['isArray']((_0x5c6c6f=_0x3327c4[_0xd1c035(0x50c)])==null?void 0x0:_0x5c6c6f[_0xd1c035(0x4f3)])?_0x3327c4[_0xd1c035(0x50c)][_0xd1c035(0x4f3)]:[],_0x5285b4=[];if(Array['isArray'](_0xbb71bf)){for(let _0x158435=0x0;_0x158435<_0xbb71bf[_0xd1c035(0x4ab)];_0x158435++){if(!(_0x158435 in _0xbb71bf))continue;let _0x2149a4=String(_0xbb71bf[_0x158435]);_0x2149a4&&_0x5285b4[_0xd1c035(0x381)](mc(_0x3c9bde,_0x2149a4));}return _0x5285b4;}if(_0xbb71bf!=null){let _0x2e09c8=String(_0xbb71bf);_0x2e09c8&&_0x5285b4[_0xd1c035(0x381)](mc(_0x3c9bde,_0x2e09c8));}return _0x5285b4;}function mc(_0x488656,_0x32a4c7){const _0x48e852=_0x282c57;for(let _0x19427a of _0x488656){if(typeof _0x19427a=='string'&&_0x19427a===_0x32a4c7)return _0x19427a;if(_0x19427a&&typeof _0x19427a=='object'){let _0x14a185=_0x19427a;if(String(_0x14a185['id']??_0x14a185[_0x48e852(0x2f4)]??'')===_0x32a4c7||String(_0x14a185[_0x48e852(0x2f4)]??'')===_0x32a4c7)return String(_0x14a185[_0x48e852(0x2f4)]??_0x14a185['id']??_0x32a4c7);}}return _0x32a4c7;}function hc(_0x36cd03){const _0x1737d7=_0x282c57;if(_0x36cd03&&typeof _0x36cd03=='object'&&!Array[_0x1737d7(0x3d5)](_0x36cd03)){let _0x2bd60b=_0x36cd03;return{'text':String(_0x2bd60b['text']??_0x2bd60b[_0x1737d7(0x45d)]??''),'url':String(_0x2bd60b[_0x1737d7(0x45d)]??'')};}return{'text':xc(_0x36cd03),'url':xc(_0x36cd03)};}function gc(_0x490f80){const _0x25f11d=_0x282c57;let _0x3ff6ca=hc(_0x490f80);return _0x3ff6ca['text']||_0x3ff6ca[_0x25f11d(0x45d)];}function _c(_0x3ded7c,_0x55e0b3){const _0x39ec10=_0x282c57;return typeof _0x3ded7c!='number'||!Number[_0x39ec10(0x210)](_0x3ded7c)?'':mn(_0x3ded7c,_0x55e0b3[_0x39ec10(0x50c)]);}function vc(_0x884842,_0x81d71c){const _0x1afe11=_0x282c57;let _0x636fc=typeof _0x884842==_0x1afe11(0x389)?_0x884842:Number(_0x884842);return Number[_0x1afe11(0x210)](_0x636fc)?qo(_0x636fc,_0x81d71c[_0x1afe11(0x50c)]):'';}function yc(_0x3cc3a9,_0x4fe61e){const _0x3d42ab=_0x282c57;let _0x1d3f9e=typeof _0x3cc3a9=='number'?_0x3cc3a9:Number(_0x3cc3a9);return Number['isFinite'](_0x1d3f9e)?Qo(_0x1d3f9e,_0x4fe61e[_0x3d42ab(0x50c)]):'';}function bc(_0x1ff799){const _0x40550f=_0x282c57;return Array['isArray'](_0x1ff799)?_0x1ff799[_0x40550f(0x26a)](_0x3987f1=>{const _0xc3430f=_0x40550f;if(!_0x3987f1||typeof _0x3987f1!=_0xc3430f(0x4ba))return[];let _0x2933e3=_0x3987f1,_0x241898=String(_0x2933e3[_0xc3430f(0x2f4)]??_0x2933e3[_0xc3430f(0x45d)]??'')[_0xc3430f(0x24d)]();return _0x241898?[_0x241898]:[];}):[];}function xc(_0x55ea3){const _0x333e35=_0x282c57;if(_0x55ea3==null)return'';if(typeof _0x55ea3==_0x333e35(0x386))return _0x55ea3?_0x333e35(0x2ee):_0x333e35(0x4ac);if(typeof _0x55ea3=='number')return String(_0x55ea3);if(Array['isArray'](_0x55ea3)){let _0x4877d5=[];for(let _0x2c8cd2=0x0;_0x2c8cd2<_0x55ea3[_0x333e35(0x4ab)];_0x2c8cd2++){if(!(_0x2c8cd2 in _0x55ea3))continue;let _0x214b01=xc(_0x55ea3[_0x2c8cd2]);_0x214b01&&_0x4877d5[_0x333e35(0x381)](_0x214b01);}return _0x4877d5[_0x333e35(0x1c0)](',\x20');}if(typeof _0x55ea3=='object'){let _0x4407d0=_0x55ea3;return String(_0x4407d0[_0x333e35(0x336)]??_0x4407d0['name']??_0x4407d0[_0x333e35(0x4b7)]??_0x4407d0[_0x333e35(0x45d)]??'')[_0x333e35(0x24d)]();}return String(_0x55ea3);}function _0x3047(_0x2093fa,_0x20bbd1){_0x2093fa=_0x2093fa-0x18b;const _0x332d1e=_0x332d();let _0x3047b2=_0x332d1e[_0x2093fa];return _0x3047b2;}function Sc(_0x3308c3,_0x3c7154){const _0xa2b481=_0x282c57;let _0x3c2437=0x0;for(let _0x546c22 of _0x3c7154)if(_0x546c22){if(_0x546c22===_0x3308c3){_0x3c2437=Math[_0xa2b481(0x468)](_0x3c2437,0x12c);continue;}if(_0x546c22['startsWith'](_0x3308c3)){_0x3c2437=Math['max'](_0x3c2437,0xfa);continue;}_0x546c22[_0xa2b481(0x3df)](_0x3308c3)&&(_0x3c2437=Math['max'](_0x3c2437,0xc8));}return _0x3c2437;}function Cc(_0x23195a){const _0x5cede0=_0x282c57;return _0x23195a['trim']()[_0x5cede0(0x1a6)](/\s+/g,'\x20')['toLowerCase']();}function wc(_0xf2db3e){const _0x2e812d=_0x282c57;return Array[_0x2e812d(0x2f3)](new Set(_0xf2db3e));}function Tc(_0xf842ce){const _0x3df469=_0x282c57;let _0x48cb25=[];for(let {rowIndex:_0x2aa12b,fieldIndex:_0xc12392,..._0x197e66}of _0xf842ce)_0x48cb25[_0x3df469(0x381)](_0x197e66);return _0x48cb25;}function Ec(_0x509c88){const _0x49d1be=_0x282c57;return{'compress':!0x0,'kind':'base-range-values-v1','u':_0x509c88[_0x49d1be(0x226)],'t':_0x509c88[_0x49d1be(0x45e)],'p':_0x509c88['patches'][_0x49d1be(0x309)](_0x267bff=>[_0x267bff['row'],_0x267bff[_0x49d1be(0x340)],Ac(_0x267bff[_0x49d1be(0x373)])]),..._0x509c88[_0x49d1be(0x245)]===void 0x0?{}:{'g':_0x509c88[_0x49d1be(0x245)]}};}function Dc(_0x4f2d20){const _0x31aa4f=_0x282c57;if(Lc(_0x4f2d20,'base-range-values-v1'),!Oc(_0x4f2d20)){if(!Ic(_0x4f2d20))throw Error(_0x31aa4f(0x4ea));return _0x4f2d20;}return{'unitId':_0x4f2d20['u'],'tableId':_0x4f2d20['t'],'patches':_0x4f2d20['p'][_0x31aa4f(0x309)](([_0x2d69a9,_0x316945,_0x9a5516])=>({'row':_0x2d69a9,'col':_0x316945,'value':jc(_0x9a5516)})),..._0x4f2d20['g']===void 0x0?{}:{'trigger':_0x4f2d20['g']}};}function Oc(_0x4e3e4b){const _0x34a20d=_0x282c57;return!Rc(_0x4e3e4b)||_0x4e3e4b['compress']!==!0x0||_0x4e3e4b[_0x34a20d(0x39c)]!==_0x34a20d(0x259)?!0x1:typeof _0x4e3e4b['u']==_0x34a20d(0x3e3)&&typeof _0x4e3e4b['t']=='string'&&(_0x4e3e4b['g']===void 0x0||typeof _0x4e3e4b['g']=='string')&&Array[_0x34a20d(0x3d5)](_0x4e3e4b['p'])&&_0x4e3e4b['p'][_0x34a20d(0x300)](_0x5594dc=>Array['isArray'](_0x5594dc)&&_0x5594dc[_0x34a20d(0x4ab)]===0x3&&Number['isInteger'](_0x5594dc[0x0])&&Number[_0x34a20d(0x3a0)](_0x5594dc[0x1]));}function kc(_0x2f7646){const _0x44190c=_0x282c57;return!Rc(_0x2f7646)||_0x2f7646[_0x44190c(0x192)]!==!0x0||_0x2f7646[_0x44190c(0x39c)]!==_0x44190c(0x465)||!Rc(_0x2f7646[_0x44190c(0x528)])?!0x1:Object[_0x44190c(0x54e)](_0x2f7646['tables'])[_0x44190c(0x300)](_0x374e8c=>Rc(_0x374e8c)&&(_0x374e8c['cd']===void 0x0||Array[_0x44190c(0x3d5)](_0x374e8c['cd'])&&_0x374e8c['cd'][_0x44190c(0x300)](_0x371c74=>Array['isArray'](_0x371c74)&&_0x371c74['length']===0x3&&Number['isInteger'](_0x371c74[0x0])&&Number['isInteger'](_0x371c74[0x1])&&Fc(_0x371c74[0x2]))));}function Ac(_0x5e37d3){return Pc(_0x5e37d3)?Mc(_0x5e37d3):_0x5e37d3;}function jc(_0x7aa50b){return Fc(_0x7aa50b)?Nc(_0x7aa50b):_0x7aa50b;}function Mc(_0xc27f34){return{'c':0x1,..._0xc27f34['v']===void 0x0?{}:{'v':_0xc27f34['v']},..._0xc27f34['t']!==void 0x0&&_0xc27f34['t']!==null?{'t':_0xc27f34['t']}:_0xc27f34['t']===null?{'t':null}:{},..._0xc27f34['f']!==void 0x0&&_0xc27f34['f']!==null?{'f':_0xc27f34['f']}:_0xc27f34['f']===null?{'f':null}:{},..._0xc27f34['si']!==void 0x0&&_0xc27f34['si']!==null?{'si':_0xc27f34['si']}:_0xc27f34['si']===null?{'si':null}:{},..._0xc27f34['p']!==void 0x0&&_0xc27f34['p']!==null?{'p':_0xc27f34['p']}:_0xc27f34['p']===null?{'p':null}:{}};}function Nc(_0x105c5b){return{..._0x105c5b['v']===void 0x0?{}:{'v':_0x105c5b['v']},..._0x105c5b['t']===void 0x0?{}:{'t':_0x105c5b['t']},..._0x105c5b['f']===void 0x0?{}:{'f':_0x105c5b['f']},..._0x105c5b['si']===void 0x0?{}:{'si':_0x105c5b['si']},..._0x105c5b['p']===void 0x0?{}:{'p':_0x105c5b['p']}};}function Pc(_0x1e3eb3){const _0x3137a1=_0x282c57;return!!_0x1e3eb3&&typeof _0x1e3eb3==_0x3137a1(0x4ba)&&!Array[_0x3137a1(0x3d5)](_0x1e3eb3)&&(Object[_0x3137a1(0x35c)][_0x3137a1(0x445)][_0x3137a1(0x2a4)](_0x1e3eb3,'v')||Object[_0x3137a1(0x35c)]['hasOwnProperty'][_0x3137a1(0x2a4)](_0x1e3eb3,'t')||Object[_0x3137a1(0x35c)][_0x3137a1(0x445)]['call'](_0x1e3eb3,'p')||Object['prototype']['hasOwnProperty'][_0x3137a1(0x2a4)](_0x1e3eb3,'f')||Object[_0x3137a1(0x35c)][_0x3137a1(0x445)][_0x3137a1(0x2a4)](_0x1e3eb3,'si'));}function Fc(_0x505df6){return Rc(_0x505df6)&&_0x505df6['c']===0x1;}function Ic(_0x2aef50){const _0x1d8b38=_0x282c57;return Rc(_0x2aef50)&&typeof _0x2aef50['unitId']==_0x1d8b38(0x3e3)&&typeof _0x2aef50[_0x1d8b38(0x45e)]=='string'&&(_0x2aef50[_0x1d8b38(0x245)]===void 0x0||typeof _0x2aef50[_0x1d8b38(0x245)]==_0x1d8b38(0x3e3))&&Array[_0x1d8b38(0x3d5)](_0x2aef50[_0x1d8b38(0x345)])&&_0x2aef50['patches'][_0x1d8b38(0x300)](_0x4692b0=>Rc(_0x4692b0)&&Number[_0x1d8b38(0x3a0)](_0x4692b0[_0x1d8b38(0x2f0)])&&Number['isInteger'](_0x4692b0['col'])&&_0x1d8b38(0x373)in _0x4692b0);}function Lc(_0x59218a,_0x5ed8b5){const _0x576321=_0x282c57;if(Rc(_0x59218a)&&_0x59218a[_0x576321(0x192)]===!0x0){if(_0x59218a[_0x576321(0x39c)]!==_0x5ed8b5)throw Error(_0x576321(0x54b)+String(_0x59218a[_0x576321(0x39c)])+'\x22.');if(!(_0x5ed8b5===_0x576321(0x259)?Oc(_0x59218a):kc(_0x59218a)))throw Error('[BaseCompression]:\x20invalid\x20compressed\x20payload\x20\x22'+_0x5ed8b5+'\x22.');}}function Rc(_0x5398aa){const _0x4ef6dd=_0x282c57;return!!_0x5398aa&&typeof _0x5398aa==_0x4ef6dd(0x4ba)&&!Array[_0x4ef6dd(0x3d5)](_0x5398aa);}export{Q as ApplyBaseJson1Mutation,es as BASE_FIELD_STAT_TYPES,Ue as BASE_HIERARCHY_MAX_LEVELS,We as BASE_HIERARCHY_PARENT_FIELD_ID,Da as BASE_TABLE_NAME_REQUIREMENTS,Tr as BASE_UNIT_PERMISSION_ACTIONS,ko as BaseConditionalColorRuleUpdateType,Ke as BaseEventSource,Xi as BaseFormulaService,P as BaseHierarchyError,Ge as BaseHierarchyErrorCode,Ri as BaseHistoryAction,z as BaseJson1OpApplier,W as BaseJson1OpFactory,xa as BatchCreateBaseRecordsCommand,Sa as BatchDeleteBaseRecordsCommand,Ca as ChangeBaseFieldTypeCommand,wa as CreateBaseChildRecordCommand,Ta as CreateBaseFieldCommand,Ea as CreateBaseRecordCommand,Aa as CreateBaseTableCommand,Ga as CreateBaseViewCommand,Ka as DeleteBaseFieldCommand,qa as DeleteBaseRecordCommand,Ja as DeleteBaseTableCommand,Ya as DeleteBaseViewCommand,Xa as DuplicateBaseFieldCommand,Za as DuplicateBaseRecordCommand,Vo as EMBED_BASES_TABLE_RESOURCE_KEY,Qa as EnsureBaseTemporalViewDateFieldsCommand,Kr as IBaseCommandService,Br as IBasePermissionService,ii as IBaseProjectionService,ic as IBaseViewRegistryService,to as MoveBaseFieldCommand,no as MoveBaseHierarchyRecordCommand,oo as MoveBaseViewCommand,so as RenameBaseTableCommand,co as RenameBaseViewCommand,lo as SetBaseKanbanGroupFieldCommand,uo as SetBaseNameCommand,fo as SetBasePermissionCommand,Ro as SetBasePermissionRuleMutation,zo as SetBasePermissionRulesMutation,po as SetBasePermissionsCommand,ho as SetBaseRangeValuesCommand,go as SetBaseRecordValuesCommand,_o as SetBaseTableHierarchyFieldCommand,vo as SetBaseViewFieldOrderCommand,yo as SetBaseViewFieldVisibleCommand,bo as SetBaseViewFieldWidthCommand,xo as SetBaseViewFilterCommand,So as SetBaseViewGroupCommand,Co as SetBaseViewSortCommand,sc as UniverBasesPlugin,cc as UniverRemoteBasesPlugin,wo as UpdateBaseCellCommand,Eo as UpdateBaseFieldCommand,To as UpdateBaseFieldDescriptionCommand,Do as UpdateBaseKanbanConfigCommand,Oo as UpdateBaseRecordOrderCommand,Ao as UpdateBaseViewConditionalColorRulesCommand,Fo as UpdateBaseViewConfigCommand,Io as ValidateBaseFormulaCommand,dn as baseDateSerialToDateMs,tt as buildBaseHierarchyIndex,ds as calculateBaseFieldStat,zr as canEditBaseTargets,Ec as compressBaseRangeValuesPayload,As as copyBaseTableSnapshot,Ye as createBaseHierarchyParentField,Bo as createDefaultBaseTableSnapshot,Ho as createEmbedBasesTable,Uo as createEmbedBasesTableAddMutation,Wo as createEmbedBasesTableRemoveMutation,ka as createUniqueBaseTableName,B as dateToExcelSerial,Dc as decompressBaseRangeValuesPayload,L as ensureBaseTableCellLayout,He as findRecordLinkReferences,mn as formatBaseDateValue,fs as formatBaseFieldStatValue,qo as formatBaseNumberValue,Qo as formatBaseProgressValue,Xe as getActiveBaseHierarchyFieldIds,bt as getBaseCellFormulaValue,yt as getBaseCellValue,vn as getBaseConditionalColorOperators,Nr as getBaseDashboardPermissionObjectId,q as getBaseFieldPermissionObjectId,_0x5e32d1 as getBaseFormulaTableName,et as getBaseHierarchyDeletePromotions,qe as getBaseHierarchyFieldId,Fr as getBasePermissionValue,J as getBaseRecordPermissionObjectId,K as getBaseTablePermissionObjectId,Mr as getBaseViewPermissionObjectId,N as getRecordLinkFieldConfig,ls as getSupportedBaseFieldStatTypes,rt as getVisibleBaseHierarchyRows,Zo as inferBaseSeparatorStyle,yn as isBaseConditionalColorDateField,ps as isBaseFieldStatEmptyValue,us as isBaseFieldStatSupported,ss as isBaseFieldStatType,F as isBaseHierarchyField,Oc as isCompressedBaseRangeValuesPayload,xn as matchesBaseCondition,pn as normalizeBaseDateFieldConfig,un as normalizeBaseDateSerial,cs as normalizeBaseFieldStatsConfig,Le as parseRecordLinkIds,nt as projectBaseHierarchy,fn as resolveBaseDateFieldConfig,Je as resolveBaseHierarchyFieldId,mo as resolveBaseRangeHierarchyPatches,lc as searchBaseTable,Re as serializeRecordLinkIds,Ir as setBasePermissionValue,I as traceBasePerformance,ja as uniqueFieldName,it as validateBaseHierarchyMove,Qe as validateBaseHierarchyRecordCreations,Ze as validateBaseHierarchyRecordPatches,Oa as validateBaseTableName,ze as validateCanonicalRecordLinkValue,Be as validateRecordLinkField,Ve as validateRecordLinkValue};
|
|
1
|
+
const _0x413924=_0x5866;(function(_0x41575a,_0x4d477b){const _0x370329=_0x5866,_0x58e68d=_0x41575a();while(!![]){try{const _0x246116=-parseInt(_0x370329(0x462))/0x1*(-parseInt(_0x370329(0x185))/0x2)+parseInt(_0x370329(0x42a))/0x3*(-parseInt(_0x370329(0x21f))/0x4)+-parseInt(_0x370329(0x117))/0x5*(parseInt(_0x370329(0x3c1))/0x6)+-parseInt(_0x370329(0x26c))/0x7+-parseInt(_0x370329(0x30a))/0x8*(-parseInt(_0x370329(0x200))/0x9)+-parseInt(_0x370329(0x485))/0xa+parseInt(_0x370329(0x266))/0xb*(parseInt(_0x370329(0x28a))/0xc);if(_0x246116===_0x4d477b)break;else _0x58e68d['push'](_0x58e68d['shift']());}catch(_0x5134df){_0x58e68d['push'](_0x58e68d['shift']());}}}(_0xc540,0xea625));import{BASE_RECORD_ID_FIELD_ID as _0x3f46af,BaseConditionalColorOperator as _0x44d66f,BaseConditionalColorTarget as _0x291ae8,BaseConditionalDateMode as _0xd47639,BaseDataModel as _0x4fb297,BaseFieldType as _0x39ba8f,BaseFilterConjunction as _0x5c1116,BaseHierarchyInvalidReason as _0x1b786b,BaseRecordLinkRole as _0x169931,BaseSortDirection as _0x3bb647,BaseViewType as _0xc119d4,CellValueType as _0x1b3c74,ColorKit as _0x7ed26d,CommandType as _0x3abf95,CustomCommandExecutionError as _0x4875f1,DateSystem as _0x4b4a65,DependentOn as _0x36214f,Disposable as _0x51b493,ErrorService as _0xd219dd,ICommandService as _0x4c2cb1,IConfigService as _0x12c3f9,IPermissionService as _0x151b9e,IResourceManagerService as _0x2b2f47,IUndoRedoService as _0xb7e499,IUniverInstanceService as _0x4de172,Inject as _0x4ceb1c,Injector as _0x19a16b,JSON1 as _0x2c18c4,JSONX as _0xb3e801,ObjectMatrix as _0x105ad6,ObjectPermissionRuleModel as _0x329c66,ObjectPermissionService as _0x18e9f8,Optional as _0x1bc2ea,PermissionStatus as _0x44a480,Plugin as _0x5626e8,Tools as _0x285054,UniverInstanceType as _0x1a4689,allocateBaseFormulaTableName as _0x4128dd,assertBaseTableRecordIdentity as _0x5f22f6,createBaseFormulaTableNameMap as _0x429055,createBaseRecordIdField as _0x1356d2,createIdentifier as _0x116afe,dateKit as _0x2461bc,excelDateTimeSerial as _0x26e0e5,excelSerialToDateTime as _0x1357ef,generateRandomId as _0x186b5a,getBaseFormulaTableName as _0x17901a,isBaseRecordIdFieldName as _0x5c3099,isValidBaseRecordId as _0x3de20b,merge as _0x23d942,nameCharacterCheck as _0x3ba1d0,numfmt as _0x554273,regexp as _0x5d97c4,sequenceExecute as _0x13120b,toDisposable as _0x500368,touchDependencies as _0x144ea}from'@univerjs/core';import{FormulaCalculationTriggerService as _0x397aea,IActiveDirtyManagerService as _0x42d5f5,RemoveSuperTableMutation as _0x188f2e,SetFormulaCalculationResultMutation as _0x1c46d3,SetSuperTableMutation as _0x5007fb,SetTriggerFormulaCalculationStartMutation as _0x390bf3,UniverProFormulaEnginePlugin as _0x235841,refactorFormulaUnitQualifier as _0x4c0fd4}from'@univerjs-pro/engine-formula';import{UnitAction as _0x4a4e33,UnitObject as _0x518f29}from'@univerjs/protocol';import{UniverLicensePlugin as _0x5130b3}from'@univerjs-pro/license';import{DataSyncPrimaryController as _0xb4b53e}from'@univerjs/rpc';import{FormulaCalculationSessionService as _0x45f83b,FormulaResultApplicationType as _0xeea7e2}from'@univerjs/engine-formula';function N(_0x4e4909){const _0x569d05=_0x5866;let _0x551d12=_0x4e4909[_0x569d05(0x406)][_0x569d05(0x4a8)],_0x518d6c=_0x4e4909[_0x569d05(0x406)][_0x569d05(0x41b)],_0x46a83c=_0x4e4909[_0x569d05(0x406)][_0x569d05(0x440)],_0x5a8e43=_0x4e4909[_0x569d05(0x406)][_0x569d05(0x3f6)],_0x28b332=_0x4e4909[_0x569d05(0x406)][_0x569d05(0x455)];return typeof _0x551d12!=_0x569d05(0x3f0)||!_0x551d12||typeof _0x518d6c!='boolean'||_0x46a83c!==void 0x0&&(typeof _0x46a83c!=_0x569d05(0x3f0)||!_0x46a83c)||_0x28b332!==void 0x0&&_0x28b332!==_0x169931[_0x569d05(0x4d6)]||_0x5a8e43!==void 0x0&&(!Array['isArray'](_0x5a8e43)||_0x5a8e43[_0x569d05(0x2e3)](_0x2c9586=>typeof _0x2c9586!=_0x569d05(0x3f0)||!_0x2c9586)||new Set(_0x5a8e43)['size']!==_0x5a8e43[_0x569d05(0x4be)])?null:{'targetTableId':_0x551d12,'multiple':_0x518d6c,..._0x46a83c?{'displayFieldId':_0x46a83c}:{},..._0x5a8e43?{'pickerFieldIds':[..._0x5a8e43]}:{},..._0x28b332?{'relationRole':_0x28b332}:{}};}function Le(_0x5b73ec){const _0x553c75=_0x5866;return typeof _0x5b73ec!='string'||_0x5b73ec===''?[]:_0x5b73ec[_0x553c75(0x2c7)](',');}function Re(_0x4224d9){const _0x260032=_0x5866;return Array[_0x260032(0x2f6)](new Set(_0x4224d9))[_0x260032(0x4bd)](',');}function ze(_0x3112a5,_0x207ab4){const _0x36745a=_0x5866;if(typeof _0x3112a5!='string')return{'valid':!0x1,'reason':_0x36745a(0x456)};if(_0x3112a5==='')return{'valid':!0x0};let _0x29a13b=_0x3112a5[_0x36745a(0x2c7)](',');return!_0x207ab4&&_0x29a13b['length']>0x1?{'valid':!0x1,'reason':_0x36745a(0x2dc)}:_0x29a13b[_0x36745a(0x2e3)](_0x220aab=>!_0x3de20b(_0x220aab))||new Set(_0x29a13b)[_0x36745a(0x22e)]!==_0x29a13b[_0x36745a(0x4be)]||Re(_0x29a13b)!==_0x3112a5?{'valid':!0x1,'reason':'[RecordLink]:\x20value\x20is\x20not\x20a\x20canonical\x20record\x20id\x20list.'}:{'valid':!0x0};}function Be(_0x1e63ca,_0x147881){const _0x359207=_0x5866;if(_0x147881[_0x359207(0x378)]!==_0x39ba8f[_0x359207(0x1e4)])return{'valid':!0x0};let _0x5b2b50=N(_0x147881),_0x634763=_0x5b2b50?_0x1e63ca['tables'][_0x5b2b50['targetTableId']]:void 0x0;if(!_0x5b2b50||!_0x634763)return{'valid':!0x1,'reason':_0x359207(0x29e)};let _0x4f9635=[..._0x5b2b50[_0x359207(0x440)]?[_0x5b2b50[_0x359207(0x440)]]:[],..._0x5b2b50[_0x359207(0x3f6)]??[]][_0x359207(0x196)](_0x529396=>{const _0x183bb3=_0x359207;let _0x16fcde=_0x634763[_0x183bb3(0x175)][_0x529396];return!_0x16fcde||_0x16fcde['system']===!0x0||_0x16fcde[_0x183bb3(0x378)]===_0x39ba8f[_0x183bb3(0x216)];});return _0x4f9635?{'valid':!0x1,'reason':_0x359207(0x2a4)+_0x4f9635+_0x359207(0x215)}:{'valid':!0x0};}function Ve(_0x13683b,_0x395810,_0x14836e,_0x2cac3c={}){const _0x394af8=_0x5866;let _0x3a8d2d=N(_0x395810);if(_0x395810[_0x394af8(0x378)]!==_0x39ba8f[_0x394af8(0x1e4)]||!_0x3a8d2d)return{'valid':!0x1,'reason':_0x394af8(0x186)};let _0x5a39e2=ze(_0x14836e,_0x3a8d2d['multiple']);if(!_0x5a39e2[_0x394af8(0x3e2)]||_0x2cac3c[_0x394af8(0x2ce)])return _0x5a39e2;let _0x3678de=_0x13683b['tables'][_0x3a8d2d['targetTableId']];if(!_0x3678de)return{'valid':!0x1,'reason':'[RecordLink]:\x20target\x20table\x20does\x20not\x20exist\x20in\x20this\x20Base.'};let _0x4bf5ec=Le(_0x14836e)[_0x394af8(0x196)](_0x2b504e=>!_0x3678de[_0x394af8(0x3b4)][_0x2b504e]);return _0x4bf5ec?{'valid':!0x1,'reason':_0x394af8(0x40b)+_0x4bf5ec+'\x22\x20does\x20not\x20exist.'}:{'valid':!0x0};}function He(_0x443b0d,_0x191b7d){const _0x17ad84=_0x5866;return Object[_0x17ad84(0x4ae)](_0x443b0d['tables'])[_0x17ad84(0x4ac)](_0x393440=>Object['values'](_0x393440[_0x17ad84(0x175)])[_0x17ad84(0x4ac)](_0x28a080=>{const _0xd1466d=_0x17ad84;let _0x23e81d=_0x28a080[_0xd1466d(0x378)]===_0x39ba8f['RecordLink']?N(_0x28a080):null;return(_0x23e81d==null?void 0x0:_0x23e81d[_0xd1466d(0x4a8)])===_0x191b7d?[{'tableId':_0x393440['id'],'fieldId':_0x28a080['id']}]:[];}));}const Ue=0x5,We=_0x413924(0x454);let Ge=function(_0x21989d){const _0x201791=_0x413924;return _0x21989d[_0x201791(0x3e6)]=_0x201791(0x442),_0x21989d['MissingRecord']=_0x201791(0x3ca),_0x21989d[_0x201791(0x12a)]=_0x201791(0x330),_0x21989d[_0x201791(0x2a6)]=_0x201791(0x1dd),_0x21989d[_0x201791(0x2e8)]=_0x201791(0x261),_0x21989d['SortedView']='sortedView',_0x21989d;}({});var P=class extends Error{constructor(_0x287d3a,_0x85c228=_0x413924(0x148)+_0x287d3a){const _0x5472e4=_0x413924;super(_0x85c228),this[_0x5472e4(0x1f8)]=_0x287d3a,this[_0x5472e4(0x1f9)]=_0x5472e4(0x278);}};let Ke=function(_0x585fb6){const _0x4c69aa=_0x413924;return _0x585fb6['UI']='ui',_0x585fb6[_0x4c69aa(0x252)]='facade',_0x585fb6[_0x4c69aa(0x3fe)]=_0x4c69aa(0x43e),_0x585fb6[_0x4c69aa(0x20a)]=_0x4c69aa(0x36d),_0x585fb6[_0x4c69aa(0x3ab)]=_0x4c69aa(0x229),_0x585fb6[_0x4c69aa(0x10e)]=_0x4c69aa(0x14c),_0x585fb6;}({});function F(_0x502887,_0x8d6e9c){const _0x26e635=_0x413924;if(!_0x8d6e9c)return!0x1;let _0x2cbb39=_0x502887[_0x26e635(0x175)][_0x8d6e9c];if(!_0x2cbb39||_0x2cbb39[_0x26e635(0x378)]!==_0x39ba8f[_0x26e635(0x1e4)])return!0x1;let _0x3b349c=N(_0x2cbb39);return _0x3b349c?_0x3b349c['targetTableId']===_0x502887['id']&&_0x3b349c[_0x26e635(0x41b)]===!0x1:!0x1;}function qe(_0x19d870){const _0x29dc5d=_0x413924;return[..._0x19d870['fieldOrder'],...Object[_0x29dc5d(0x3a2)](_0x19d870['fields'])[_0x29dc5d(0x457)](_0x4769dd=>!_0x19d870[_0x29dc5d(0x3fc)]['includes'](_0x4769dd))[_0x29dc5d(0x116)]()]['find'](_0x4dcf9e=>{const _0x438da2=_0x29dc5d;var _0x4eb083;return F(_0x19d870,_0x4dcf9e)?((_0x4eb083=N(_0x19d870[_0x438da2(0x175)][_0x4dcf9e]))==null?void 0x0:_0x4eb083[_0x438da2(0x455)])===_0x169931[_0x438da2(0x4d6)]:!0x1;})??null;}function Je(_0x2e314a){const _0x110e9c=_0x413924;let _0x349e1e=qe(_0x2e314a);if(_0x349e1e)return _0x349e1e;let _0x1a4e15=We,_0x2cbe32=0x2;for(;_0x2e314a[_0x110e9c(0x175)][_0x1a4e15];)_0x1a4e15=We+'_'+_0x2cbe32++;return _0x1a4e15;}function Ye(_0x58a365,_0x2a0441=Je(_0x58a365),_0x26f9f9=_0x413924(0x422)){const _0x1d3be3=_0x413924;return{'id':_0x2a0441,'name':_0x26f9f9,'type':_0x39ba8f['RecordLink'],'config':{'targetTableId':_0x58a365['id'],'multiple':!0x1,'displayFieldId':_0x58a365[_0x1d3be3(0x426)],'pickerFieldIds':[_0x58a365['primaryFieldId']],'relationRole':_0x169931[_0x1d3be3(0x4d6)]}};}function Xe(_0x3242ed){let _0xea95b=qe(_0x3242ed);return _0xea95b?[_0xea95b]:[];}function Ze(_0x4ea501,_0x58e5d4){const _0x1cfc35=_0x413924;let _0x55eab8=[...Xe(_0x4ea501)][_0x1cfc35(0x457)](_0x1b8b07=>_0x58e5d4[_0x1cfc35(0x2e3)](_0x431f02=>Object[_0x1cfc35(0x24b)][_0x1cfc35(0x128)][_0x1cfc35(0x157)](_0x431f02[_0x1cfc35(0x4ae)],_0x1b8b07)));if(!_0x55eab8['length'])return[];let _0x14397b={..._0x4ea501[_0x1cfc35(0x3b4)]};_0x58e5d4['forEach'](_0x99e9aa=>{const _0x458901=_0x1cfc35;let _0x329fad=_0x14397b[_0x99e9aa[_0x458901(0x170)]];_0x329fad&&(_0x14397b[_0x99e9aa['recordId']]={..._0x329fad,'values':{..._0x329fad[_0x458901(0x4ae)],..._0x99e9aa[_0x458901(0x4ae)]}});});let _0x27bd01={..._0x4ea501,'records':_0x14397b},_0x40ea45=[];return _0x55eab8[_0x1cfc35(0x248)](_0x43a20e=>{const _0x458fee=_0x1cfc35;let _0x464c39=tt(_0x4ea501,_0x43a20e),_0x1a2b0c=tt(_0x27bd01,_0x43a20e);for(let [_0x156554,_0x1748d5]of _0x1a2b0c[_0x458fee(0x2ef)]){let _0x1ffd49=_0x58e5d4['some'](_0xfbafc2=>_0xfbafc2[_0x458fee(0x170)]===_0x156554&&Object[_0x458fee(0x24b)][_0x458fee(0x128)]['call'](_0xfbafc2[_0x458fee(0x4ae)],_0x43a20e));if(_0x464c39[_0x458fee(0x2ef)][_0x458fee(0x113)](_0x156554)!==_0x1748d5||_0x1ffd49)throw new P($e(_0x1748d5));}_0x58e5d4['forEach'](_0xb755f4=>{const _0x4b4b08=_0x458fee;if(!Object[_0x4b4b08(0x24b)][_0x4b4b08(0x128)]['call'](_0xb755f4[_0x4b4b08(0x4ae)],_0x43a20e))return;let _0x47b384=_0x464c39['parentByRecordId'][_0x4b4b08(0x113)](_0xb755f4[_0x4b4b08(0x170)])??null,_0x4f9ab8=_0x1a2b0c[_0x4b4b08(0x430)][_0x4b4b08(0x113)](_0xb755f4[_0x4b4b08(0x170)])??null;_0x47b384!==_0x4f9ab8&&_0x40ea45['push']({'tableId':_0x4ea501['id'],'fieldId':_0x43a20e,'recordId':_0xb755f4[_0x4b4b08(0x170)],'oldParentRecordId':_0x47b384,'parentRecordId':_0x4f9ab8});});}),_0x40ea45;}function Qe(_0x287cf2,_0x7c253e){const _0x446ebb=_0x413924;let _0x1f15d4=_0x7c253e[_0x446ebb(0x438)](_0x3e3ef4=>_0x3e3ef4['id']);if(new Set(_0x1f15d4)[_0x446ebb(0x22e)]!==_0x1f15d4[_0x446ebb(0x4be)]||_0x1f15d4[_0x446ebb(0x2e3)](_0x4dbaa2=>_0x287cf2['records'][_0x4dbaa2]))return[];let _0x599193=Xe(_0x287cf2),_0x569954=_0x599193[_0x446ebb(0x4be)]?null:Je(_0x287cf2),_0x13e00a=[..._0x599193,..._0x569954&&_0x7c253e[_0x446ebb(0x2e3)](_0x55d9e4=>Object[_0x446ebb(0x24b)][_0x446ebb(0x128)][_0x446ebb(0x157)](_0x55d9e4[_0x446ebb(0x4ae)],_0x569954))?[_0x569954]:[]][_0x446ebb(0x457)](_0x140502=>_0x7c253e[_0x446ebb(0x2e3)](_0x4cd8a2=>Object[_0x446ebb(0x24b)][_0x446ebb(0x128)]['call'](_0x4cd8a2['values'],_0x140502)));if(!_0x13e00a[_0x446ebb(0x4be)])return[];let _0x3f3345={..._0x287cf2,'records':{..._0x287cf2[_0x446ebb(0x3b4)],...Object['fromEntries'](_0x7c253e[_0x446ebb(0x438)](_0x406194=>[_0x406194['id'],_0x406194]))},'recordOrder':[..._0x287cf2['recordOrder']??[],..._0x7c253e[_0x446ebb(0x438)](_0x3010fd=>_0x3010fd['id'])]},_0x30cba3=[];return _0x13e00a['forEach'](_0xac60dd=>{const _0x45b15e=_0x446ebb;let _0x1168b1=tt(_0x3f3345,_0xac60dd);_0x7c253e[_0x45b15e(0x248)](_0x4d028e=>{const _0x154ed4=_0x45b15e;let _0x3905d7=_0x1168b1[_0x154ed4(0x2ef)][_0x154ed4(0x113)](_0x4d028e['id']);if(_0x3905d7)throw new P($e(_0x3905d7));let _0x3b9984=_0x1168b1[_0x154ed4(0x430)][_0x154ed4(0x113)](_0x4d028e['id'])??null;_0x3b9984&&_0x30cba3[_0x154ed4(0x34c)]({'tableId':_0x287cf2['id'],'fieldId':_0xac60dd,'recordId':_0x4d028e['id'],'oldParentRecordId':null,'parentRecordId':_0x3b9984});});}),_0x30cba3;}function $e(_0x61c8b8){const _0x5aa915=_0x413924;switch(_0x61c8b8){case _0x1b786b[_0x5aa915(0x4ca)]:return _0x5aa915(0x3ca);case _0x1b786b[_0x5aa915(0x12a)]:return _0x5aa915(0x330);case _0x1b786b[_0x5aa915(0x2a6)]:return _0x5aa915(0x1dd);case _0x1b786b[_0x5aa915(0x2e8)]:return _0x5aa915(0x261);}}function et(_0x407650,_0x52462a){const _0x15e3b0=_0x413924;let _0x50c14a=new Set(_0x52462a),_0x3c509c=Xe(_0x407650);return Object[_0x15e3b0(0x4ae)](_0x407650[_0x15e3b0(0x3b4)])['flatMap'](_0x18b959=>_0x50c14a[_0x15e3b0(0x3cf)](_0x18b959['id'])?[]:Array[_0x15e3b0(0x2f6)](_0x3c509c)[_0x15e3b0(0x4ac)](_0x8d0f18=>{const _0x1d821b=_0x15e3b0;let _0x1e7f0a=Le(_0x18b959[_0x1d821b(0x4ae)][_0x8d0f18])[0x0]??null;return _0x1e7f0a&&_0x50c14a[_0x1d821b(0x3cf)](_0x1e7f0a)?[{'tableId':_0x407650['id'],'fieldId':_0x8d0f18,'recordId':_0x18b959['id'],'oldParentRecordId':_0x1e7f0a,'parentRecordId':null}]:[];}));}function tt(_0x513c68,_0x5ad00d,_0x4378df=_0x513c68[_0x413924(0x1c6)]??Object[_0x413924(0x3a2)](_0x513c68[_0x413924(0x3b4)])){const _0x5e1b1c=_0x413924;if((_0x513c68[_0x5e1b1c(0x175)][_0x5ad00d]||_0x5ad00d!==Je(_0x513c68))&&!F(_0x513c68,_0x5ad00d))throw Error(_0x5e1b1c(0x29d)+_0x5ad00d+_0x5e1b1c(0x139));let _0x168de8=at(_0x513c68,_0x4378df),_0x623d4a=new Map(),_0xcea14c=new Map();for(let _0x207963 of _0x168de8){var _0x144033;let _0x14ac61=Le((_0x144033=_0x513c68[_0x5e1b1c(0x3b4)][_0x207963])==null?void 0x0:_0x144033[_0x5e1b1c(0x4ae)][_0x5ad00d])[0x0]??null;_0x14ac61?_0x14ac61===_0x207963?(_0x623d4a['set'](_0x207963,null),_0xcea14c[_0x5e1b1c(0x404)](_0x207963,_0x1b786b[_0x5e1b1c(0x12a)])):_0x513c68[_0x5e1b1c(0x3b4)][_0x14ac61]?_0x623d4a[_0x5e1b1c(0x404)](_0x207963,_0x14ac61):(_0x623d4a[_0x5e1b1c(0x404)](_0x207963,null),_0xcea14c['set'](_0x207963,_0x1b786b['MissingParent'])):_0x623d4a[_0x5e1b1c(0x404)](_0x207963,null);}ot(_0x623d4a,_0xcea14c,_0x168de8),st(_0x623d4a,_0xcea14c,_0x168de8);let _0x4de3d3=new Map(_0x168de8[_0x5e1b1c(0x438)]((_0x56efc4,_0x3568c7)=>[_0x56efc4,_0x3568c7])),_0x2c5c6d=new Map();for(let _0x12bc80 of _0x168de8){let _0x624840=_0x623d4a['get'](_0x12bc80)??null,_0x30f34f=_0x2c5c6d[_0x5e1b1c(0x113)](_0x624840)??[];_0x30f34f[_0x5e1b1c(0x34c)](_0x12bc80),_0x2c5c6d[_0x5e1b1c(0x404)](_0x624840,_0x30f34f);}_0x2c5c6d[_0x5e1b1c(0x248)](_0x2258d3=>_0x2258d3[_0x5e1b1c(0x116)]((_0x2d7ebb,_0xede60e)=>(_0x4de3d3['get'](_0x2d7ebb)??0x0)-(_0x4de3d3['get'](_0xede60e)??0x0)));let _0x1e4035=_0x2c5c6d['get'](null)??[],_0x2ff79a=new Map(),_0x15b5bb=new Map(),_0x3b2ecb=[],_0x1a9d80=(_0x5dc488,_0x898e4f)=>{const _0x17e5f4=_0x5e1b1c;_0x2ff79a['set'](_0x5dc488,_0x898e4f),_0x3b2ecb[_0x17e5f4(0x34c)](_0x5dc488);let _0x4d34c0=0x0;for(let _0x19bb51 of _0x2c5c6d[_0x17e5f4(0x113)](_0x5dc488)??[])_0x4d34c0=Math[_0x17e5f4(0x487)](_0x4d34c0,0x1+_0x1a9d80(_0x19bb51,_0x898e4f+0x1));return _0x15b5bb[_0x17e5f4(0x404)](_0x5dc488,_0x4d34c0),_0x4d34c0;};return _0x1e4035['forEach'](_0x7da3f3=>_0x1a9d80(_0x7da3f3,0x0)),{'fieldId':_0x5ad00d,'parentByRecordId':_0x623d4a,'childrenByParentId':_0x2c5c6d,'depthByRecordId':_0x2ff79a,'subtreeHeightByRecordId':_0x15b5bb,'invalidReasonByRecordId':_0xcea14c,'rootRecordIds':_0x1e4035,'orderedRecordIds':_0x3b2ecb};}function nt(_0x251448,_0x50332e,_0x4884e8=new Set(_0x50332e[_0x413924(0x438)](_0x1f7a3a=>_0x1f7a3a[_0x413924(0x170)]))){const _0x35c9f8=_0x413924;let _0xeda035=new Set(_0x4884e8);for(let _0x12019e of _0x4884e8){let _0x5448e9=_0x251448[_0x35c9f8(0x430)][_0x35c9f8(0x113)](_0x12019e)??null;for(;_0x5448e9;)_0xeda035[_0x35c9f8(0x4c2)](_0x5448e9),_0x5448e9=_0x251448[_0x35c9f8(0x430)][_0x35c9f8(0x113)](_0x5448e9)??null;}let _0x15a82c=new Map(_0x50332e['map'](_0x189bda=>[_0x189bda[_0x35c9f8(0x170)],_0x189bda])),_0x3fad6c=_0x251448[_0x35c9f8(0x189)][_0x35c9f8(0x457)](_0x2f53d7=>_0xeda035[_0x35c9f8(0x3cf)](_0x2f53d7)),_0x4c59b3=_0x3fad6c[_0x35c9f8(0x4ac)](_0x13856f=>{const _0x1e9f1e=_0x35c9f8;let _0xa6f5a3=_0x15a82c[_0x1e9f1e(0x113)](_0x13856f);return _0xa6f5a3?[_0xa6f5a3]:[];}),_0x4843b5={};for(let _0x16eb1c=0x0;_0x16eb1c<_0x3fad6c['length'];_0x16eb1c++){let _0x122660=_0x3fad6c[_0x16eb1c];_0x4843b5[_0x122660]={'recordId':_0x122660,'parentRecordId':_0x251448[_0x35c9f8(0x430)][_0x35c9f8(0x113)](_0x122660)??null,'depth':_0x251448['depthByRecordId']['get'](_0x122660)??0x0,'directChildCount':(_0x251448[_0x35c9f8(0x1a9)]['get'](_0x122660)??[])[_0x35c9f8(0x4be)],'subtreeHeight':_0x251448[_0x35c9f8(0x47b)][_0x35c9f8(0x113)](_0x122660)??0x0,'subtreeEndIndex':_0x16eb1c,'invalidReason':_0x251448[_0x35c9f8(0x2ef)][_0x35c9f8(0x113)](_0x122660)};}let _0x129cdc=[];for(let _0x4dd1b7=0x0;_0x4dd1b7<_0x3fad6c[_0x35c9f8(0x4be)];_0x4dd1b7++){let _0x2a3e24=_0x3fad6c[_0x4dd1b7],_0x394409=_0x4843b5[_0x2a3e24][_0x35c9f8(0x288)];for(;_0x129cdc[_0x35c9f8(0x4be)]&&_0x129cdc[_0x129cdc[_0x35c9f8(0x4be)]-0x1][_0x35c9f8(0x288)]>=_0x394409;){let _0x12f847=_0x129cdc['pop']();_0x4843b5[_0x12f847[_0x35c9f8(0x170)]][_0x35c9f8(0x2fa)]=_0x4dd1b7-0x1;}_0x129cdc[_0x35c9f8(0x34c)]({'recordId':_0x2a3e24,'depth':_0x394409});}return _0x129cdc[_0x35c9f8(0x248)](({recordId:_0x5cd14d})=>{_0x4843b5[_0x5cd14d]['subtreeEndIndex']=_0x3fad6c['length']-0x1;}),{'rows':_0x4c59b3,'hierarchy':{'fieldId':_0x251448[_0x35c9f8(0x1c3)],'rootRecordIds':_0x251448[_0x35c9f8(0x1a2)][_0x35c9f8(0x457)](_0x2fc79d=>_0xeda035[_0x35c9f8(0x3cf)](_0x2fc79d)),'orderedRecordIds':_0x3fad6c,'nodes':_0x4843b5}};}function rt(_0x55d619,_0x28bb72){const _0x2215da=_0x413924;if(!_0x55d619[_0x2215da(0x2e4)]||!(_0x28bb72!=null&&_0x28bb72[_0x2215da(0x22e)]))return _0x55d619['rows'];let _0x471ed2=[],_0x490619=0x0;for(;_0x490619<_0x55d619[_0x2215da(0x4c1)][_0x2215da(0x4be)];){let _0x2d1197=_0x55d619[_0x2215da(0x4c1)][_0x490619];_0x471ed2[_0x2215da(0x34c)](_0x2d1197);let _0x345b96=_0x55d619[_0x2215da(0x2e4)]['nodes'][_0x2d1197['recordId']];_0x490619=_0x28bb72[_0x2215da(0x3cf)](_0x2d1197[_0x2215da(0x170)])&&_0x345b96?_0x345b96[_0x2215da(0x2fa)]+0x1:_0x490619+0x1;}return _0x471ed2;}function it(_0x315fc3,_0x2f594f,_0x38005b){const _0x161aec=_0x413924;if(!_0x38005b)return{'valid':!0x0};if(_0x2f594f===_0x38005b)return{'valid':!0x1,'reason':_0x1b786b[_0x161aec(0x12a)]};let _0x3c7356=_0x38005b;for(;_0x3c7356;){if(_0x3c7356===_0x2f594f)return{'valid':!0x1,'reason':_0x1b786b['Cycle']};_0x3c7356=_0x315fc3[_0x161aec(0x430)]['get'](_0x3c7356)??null;}return(_0x315fc3[_0x161aec(0x1e8)]['get'](_0x38005b)??0x0)+0x1+(_0x315fc3[_0x161aec(0x47b)][_0x161aec(0x113)](_0x2f594f)??0x0)>=0x5?{'valid':!0x1,'reason':_0x1b786b['MaxDepth']}:{'valid':!0x0};}function at(_0x1dcb19,_0x308b08){const _0x59be76=_0x413924;let _0x1fbb09=new Set(),_0x37bead=[];for(let _0x3b16bf of _0x308b08)_0x1dcb19[_0x59be76(0x3b4)][_0x3b16bf]&&!_0x1fbb09['has'](_0x3b16bf)&&(_0x1fbb09[_0x59be76(0x4c2)](_0x3b16bf),_0x37bead[_0x59be76(0x34c)](_0x3b16bf));return Object[_0x59be76(0x3a2)](_0x1dcb19['records'])[_0x59be76(0x116)]()[_0x59be76(0x248)](_0x288510=>{const _0x883e=_0x59be76;_0x1fbb09[_0x883e(0x3cf)](_0x288510)||_0x37bead[_0x883e(0x34c)](_0x288510);}),_0x37bead;}function ot(_0x1cd9eb,_0x14388f,_0x13f8af){const _0x32311f=_0x413924;let _0x3c5104=new Set();for(let _0x1eebde of _0x13f8af){if(_0x3c5104[_0x32311f(0x3cf)](_0x1eebde))continue;let _0x524301=[],_0x4b1e4b=new Map(),_0x223825=_0x1eebde;for(;_0x223825&&!_0x3c5104['has'](_0x223825);){let _0x157be8=_0x4b1e4b['get'](_0x223825);if(_0x157be8!=null){let _0x3eaf53=[..._0x524301[_0x32311f(0x3a7)](_0x157be8)]['sort']()[_0x32311f(0x2ec)]();_0x1cd9eb[_0x32311f(0x404)](_0x3eaf53,null),_0x14388f[_0x32311f(0x404)](_0x3eaf53,_0x1b786b[_0x32311f(0x2a6)]);break;}_0x4b1e4b['set'](_0x223825,_0x524301[_0x32311f(0x4be)]),_0x524301[_0x32311f(0x34c)](_0x223825),_0x223825=_0x1cd9eb[_0x32311f(0x113)](_0x223825)??null;}_0x524301['forEach'](_0x30e571=>_0x3c5104[_0x32311f(0x4c2)](_0x30e571));}}function st(_0x1040fc,_0x442fa1,_0x5b06b9){const _0x86d631=_0x413924;let _0x5deb15=new Map(),_0x5e8506=_0x1495ae=>{const _0x1e3850=_0x5866;let _0x2ddcd6=_0x5deb15['get'](_0x1495ae);if(_0x2ddcd6!=null)return _0x2ddcd6;let _0x537bd9=_0x1040fc[_0x1e3850(0x113)](_0x1495ae)??null;if(!_0x537bd9)return _0x5deb15[_0x1e3850(0x404)](_0x1495ae,0x0),0x0;let _0x42d195=_0x5e8506(_0x537bd9)+0x1;return _0x42d195>=0x5?(_0x1040fc[_0x1e3850(0x404)](_0x1495ae,null),_0x442fa1[_0x1e3850(0x404)](_0x1495ae,_0x1b786b[_0x1e3850(0x2e8)]),_0x5deb15[_0x1e3850(0x404)](_0x1495ae,0x0),0x0):(_0x5deb15['set'](_0x1495ae,_0x42d195),_0x42d195);};_0x5b06b9[_0x86d631(0x248)](_0x5e8506);}let ct=0x0;function lt(){const _0xf7c38e=_0x413924;if(globalThis[_0xf7c38e(0x28e)]===!0x0)return!0x0;try{let _0x47a283=typeof location>'u'?'':location[_0xf7c38e(0x3d2)],_0x2ed300=new URLSearchParams(_0x47a283);if(_0x2ed300[_0xf7c38e(0x113)](_0xf7c38e(0x2a9))==='1'||_0x2ed300[_0xf7c38e(0x113)](_0xf7c38e(0x2a9))===_0xf7c38e(0x436)||_0x2ed300['get'](_0xf7c38e(0x2c0))==='1')return!0x0;}catch{}try{let _0x1ec7b5=typeof localStorage>'u'?null:localStorage[_0xf7c38e(0x4bb)]('univer.basePerf');return _0x1ec7b5==='1'||_0x1ec7b5===_0xf7c38e(0x436);}catch{return!0x1;}}function I(_0x587d9a,_0x1b513b,_0x19a876){const _0xed021f=_0x413924;if(!lt())return _0x1b513b();let _0x5f4b89=dt(),_0x3a48bc=_0xed021f(0x236)+ct++;ft(_0x3a48bc+_0xed021f(0x289));try{return _0x1b513b();}finally{let _0x7ab47d=dt()-_0x5f4b89;ft(_0x3a48bc+_0xed021f(0x177)),pt(_0x587d9a,_0x3a48bc+_0xed021f(0x289),_0x3a48bc+_0xed021f(0x177)),ut(_0x587d9a,_0x7ab47d,_0x19a876);}}function ut(_0x350042,_0x12f956,_0x37b8e0){const _0x325fe5=_0x413924;if(!lt())return;let _0x211da3=Math[_0x325fe5(0x2bd)](_0x12f956*0x64)/0x64,_0x198b74=_0x37b8e0&&Object['keys'](_0x37b8e0)['length']?'\x20'+JSON[_0x325fe5(0x3d0)](_0x37b8e0):'';console[_0x325fe5(0x461)]('[BasePerf]\x20'+_0x350042+':\x20'+_0x211da3+'ms'+_0x198b74);}function dt(){const _0x5f5b83=_0x413924;return typeof performance<'u'&&typeof performance['now']==_0x5f5b83(0x420)?performance[_0x5f5b83(0x24d)]():Date[_0x5f5b83(0x24d)]();}function ft(_0x2ed97e){const _0x1f6331=_0x413924;try{if(typeof performance<'u'){var _0x391f89,_0x3e0ca4;(_0x391f89=(_0x3e0ca4=performance)[_0x1f6331(0x317)])==null||_0x391f89['call'](_0x3e0ca4,_0x2ed97e);}}catch{}}function pt(_0x2a8cf6,_0x59ae11,_0x579b7e){const _0x12b2c5=_0x413924;try{if(typeof performance<'u'){var _0x513849,_0x3b353b;(_0x513849=(_0x3b353b=performance)[_0x12b2c5(0x251)])==null||_0x513849[_0x12b2c5(0x157)](_0x3b353b,_0x12b2c5(0x11d)+_0x2a8cf6,_0x59ae11,_0x579b7e);}}catch{}}function L(_0x3bdce1){const _0x3f4f53=_0x413924;var _0xdb7435;return lt()?I('IBaseCellData.ensureTableCellLayout',()=>mt(_0x3bdce1),{'tableId':_0x3bdce1['id'],'records':Object[_0x3f4f53(0x3a2)](_0x3bdce1[_0x3f4f53(0x3b4)]??{})[_0x3f4f53(0x4be)],'fields':_0x3bdce1[_0x3f4f53(0x3fc)]['length'],'hasRecordOrder':!!((_0xdb7435=_0x3bdce1[_0x3f4f53(0x1c6)])!=null&&_0xdb7435[_0x3f4f53(0x4be)])}):mt(_0x3bdce1);}function mt(_0x113db3){const _0x50913b=_0x413924;var _0x335bf5;let _0x305535=_0x113db3[_0x50913b(0x3b4)]??{},_0x3709da=_0x113db3['fields']??{},_0x2f5374=((_0x335bf5=_0x113db3[_0x50913b(0x1c6)])==null?void 0x0:_0x335bf5['filter'](_0x50fa67=>_0x305535[_0x50fa67]))??[],_0x28030c=new Set(_0x2f5374),_0x3c3831=[];for(let _0x5cb264 of Object['values'](_0x305535))_0x28030c['has'](_0x5cb264['id'])||_0x3c3831[_0x50913b(0x34c)](_0x5cb264);let _0x4630b0=_0x3c3831[_0x50913b(0x4be)]?[..._0x2f5374,...Rt(_0x3c3831)]:_0x2f5374,_0x3f4bc6=_0x113db3[_0x50913b(0x3fc)][_0x50913b(0x457)](_0x182a17=>_0x3709da[_0x182a17]),_0x31f1c6={..._0x113db3[_0x50913b(0x3ce)]??{}},_0xdb8a1={..._0x113db3[_0x50913b(0x16c)]??{}},_0x401141={..._0x113db3['cellData']??{}};_0x113db3[_0x50913b(0x1c6)]=_0x4630b0,_0x113db3[_0x50913b(0x12b)]={},_0x113db3[_0x50913b(0x3ce)]={},_0x113db3[_0x50913b(0x4a2)]={},_0x113db3['colId']={},_0x113db3['cellData']={},_0x113db3['resources']={..._0x113db3[_0x50913b(0x228)]??{}},_0x113db3[_0x50913b(0x228)][_0x50913b(0x4c9)]={..._0x113db3[_0x50913b(0x228)]['attachmentSets']??{}},_0x113db3[_0x50913b(0x228)][_0x50913b(0x28c)]={..._0x113db3[_0x50913b(0x228)][_0x50913b(0x28c)]??{}};let _0x135fdb=_0x113db3[_0x50913b(0x12b)],_0x17139e=_0x113db3[_0x50913b(0x3ce)],_0x149c59=_0x113db3[_0x50913b(0x4a2)],_0x1d2615=_0x113db3[_0x50913b(0x16c)],_0x577f70=_0x113db3[_0x50913b(0x260)];return _0x4630b0['forEach']((_0x13c9f0,_0x1644ed)=>{_0x135fdb[_0x13c9f0]=_0x1644ed,_0x17139e[_0x1644ed]=_0x13c9f0;}),_0x3f4bc6[_0x50913b(0x248)]((_0x368a07,_0x256e45)=>{_0x149c59[_0x368a07]=_0x256e45,_0x1d2615[_0x256e45]=_0x368a07;}),Object[_0x50913b(0x391)](_0x401141)[_0x50913b(0x248)](([_0x5ce722,_0x2f6496])=>{const _0x368fda=_0x50913b;let _0x238e0a=Number(_0x5ce722),_0x428b85=_0x31f1c6[_0x238e0a]??_0x4630b0[_0x238e0a],_0x1c4f70=_0x428b85?_0x135fdb[_0x428b85]:void 0x0;_0x1c4f70!=null&&(_0x577f70[_0x1c4f70]={..._0x577f70[_0x1c4f70]??{}},Object['entries'](_0x2f6496??{})[_0x368fda(0x248)](([_0x3fad9d,_0x2c4de9])=>{let _0x26191b=Number(_0x3fad9d),_0x14b45a=_0xdb8a1[_0x26191b]??_0x3f4bc6[_0x26191b],_0x588d22=_0x14b45a?_0x149c59[_0x14b45a]:void 0x0;_0x588d22!=null&&(_0x577f70[_0x1c4f70][_0x588d22]=St(_0x2c4de9));}));}),Object['values'](_0x305535)[_0x50913b(0x248)](_0x28e5bb=>{const _0x532e96=_0x50913b;let _0xe1aa89=_0x135fdb[_0x28e5bb['id']];_0xe1aa89!=null&&(_0x28e5bb[_0x532e96(0x4ae)]={..._0x28e5bb['values']??{},[_0x3f46af]:_0x28e5bb['id']},_0x577f70[_0xe1aa89]={..._0x577f70[_0xe1aa89]??{},0x0:{'v':_0x28e5bb['id'],'t':_0x1b3c74[_0x532e96(0x187)]}},Object['entries'](_0x28e5bb['values']??{})[_0x532e96(0x248)](([_0x56cbbc,_0x2a2cb8])=>{const _0x327c47=_0x532e96;let _0x24749a=_0x3709da[_0x56cbbc];(_0x24749a==null?void 0x0:_0x24749a[_0x327c47(0x378)])===_0x39ba8f[_0x327c47(0x2ba)]&&Dt(_0x113db3,_0x28e5bb['id'],_0x56cbbc,_0x2a2cb8);let _0x522b50=_0x149c59[_0x56cbbc];if(_0x522b50==null)return;let _0x5ce638=_0x577f70[_0xe1aa89][_0x522b50];if(_0x5ce638!=null){jt(_0x5ce638,_0x24749a,_0x2a2cb8)&&(_0x577f70[_0xe1aa89][_0x522b50]=xt(_0x2a2cb8,_0x24749a));return;}_0x577f70[_0xe1aa89][_0x522b50]=xt(_0x2a2cb8,_0x24749a);}));}),_0x113db3;}function ht(_0x3288fd,_0x26cf6b){const _0x344087=_0x413924;return _0x3288fd[_0x344087(0x3b4)]=Object['fromEntries'](Object['entries'](_0x3288fd['records'])[_0x344087(0x438)](([_0x4ca57b,_0x99ba7f])=>[_0x4ca57b,{..._0x99ba7f}])),L(_0x3288fd),Object[_0x344087(0x391)](_0x3288fd[_0x344087(0x3ce)]??{})[_0x344087(0x248)](([_0x344b51,_0x4533ee])=>{const _0x2437fe=_0x344087;var _0x252489;let _0x3ba75e=Number(_0x344b51),_0x182994=_0x3288fd['records'][_0x4533ee];_0x182994&&(_0x182994[_0x2437fe(0x4ae)]={..._0x182994['values']??{}},Object[_0x2437fe(0x391)](((_0x252489=_0x3288fd[_0x2437fe(0x260)])==null?void 0x0:_0x252489[_0x3ba75e])??{})[_0x2437fe(0x248)](([_0x243cda,_0x11825d])=>{const _0x41dd9b=_0x2437fe;var _0x147b1f;let _0x1c57f1=(_0x147b1f=_0x3288fd[_0x41dd9b(0x16c)])==null?void 0x0:_0x147b1f[Number(_0x243cda)];_0x1c57f1&&_0x26cf6b&&!_0x26cf6b(_0x4533ee,_0x1c57f1)||(_0x1c57f1===_0x3f46af?_0x182994['values'][_0x3f46af]=_0x182994['id']:_0x1c57f1&&(_0x182994[_0x41dd9b(0x4ae)][_0x1c57f1]=Ct(_0x11825d,_0x3288fd['fields'][_0x1c57f1],_0x3288fd,_0x4533ee)));}));}),_0x3288fd;}function gt(_0x88b5d6,_0x157b93){const _0x45e8ac=_0x413924;for(let {row:_0x2d10fa,col:_0x206cfe}of _0x157b93){var _0x4fa2b0,_0xa84562,_0x3115f8;let _0x1dfc8b=(_0x4fa2b0=_0x88b5d6[_0x45e8ac(0x3ce)])==null?void 0x0:_0x4fa2b0[_0x2d10fa],_0x3210f6=(_0xa84562=_0x88b5d6[_0x45e8ac(0x16c)])==null?void 0x0:_0xa84562[_0x206cfe],_0x508d12=_0x1dfc8b?_0x88b5d6[_0x45e8ac(0x3b4)][_0x1dfc8b]:void 0x0;if(!_0x508d12||!_0x3210f6)continue;if(_0x3210f6===_0x3f46af){_0x508d12['values'][_0x3f46af]=_0x508d12['id'];continue;}let _0x51be85=(_0x3115f8=_0x88b5d6[_0x45e8ac(0x260)])==null||(_0x3115f8=_0x3115f8[_0x2d10fa])==null?void 0x0:_0x3115f8[_0x206cfe];(_0x51be85!=null||Object[_0x45e8ac(0x24b)][_0x45e8ac(0x128)][_0x45e8ac(0x157)](_0x508d12['values']??{},_0x3210f6))&&(_0x508d12[_0x45e8ac(0x4ae)]={..._0x508d12[_0x45e8ac(0x4ae)]??{}},_0x508d12[_0x45e8ac(0x4ae)][_0x3210f6]=Ct(_0x51be85,_0x88b5d6['fields'][_0x3210f6],_0x88b5d6,_0x1dfc8b));}return _0x88b5d6;}function _t(_0x3c708f,_0x58e61a,_0xa925ee){const _0x18a2af=_0x413924;var _0x1b0fc4,_0x3714c9,_0x80850c,_0x317e77,_0x3a29e4,_0x342813;let _0x313e2b=(_0x1b0fc4=_0x3c708f['rowIndex'])==null?void 0x0:_0x1b0fc4[_0x58e61a],_0x2eaafa=(_0x3714c9=_0x3c708f[_0x18a2af(0x4a2)])==null?void 0x0:_0x3714c9[_0xa925ee];if(_0x313e2b!=null&&_0x2eaafa!=null&&((_0x80850c=_0x3c708f[_0x18a2af(0x3ce)])==null?void 0x0:_0x80850c[_0x313e2b])===_0x58e61a&&((_0x317e77=_0x3c708f[_0x18a2af(0x16c)])==null?void 0x0:_0x317e77[_0x2eaafa])===_0xa925ee)return{'row':_0x313e2b,'col':_0x2eaafa};let _0x1cdf89=L(_0x3c708f),_0x268726=(_0x3a29e4=_0x1cdf89['rowIndex'])==null?void 0x0:_0x3a29e4[_0x58e61a],_0x5137a8=(_0x342813=_0x1cdf89[_0x18a2af(0x4a2)])==null?void 0x0:_0x342813[_0xa925ee];return _0x268726==null||_0x5137a8==null?null:{'row':_0x268726,'col':_0x5137a8};}function vt(_0x1fe9db,_0x5b9141,_0x165c09){const _0x241ec5=_0x413924;var _0x4ceddc;let _0x109e62=_t(_0x1fe9db,_0x5b9141,_0x165c09);if(_0x109e62)return(_0x4ceddc=_0x1fe9db[_0x241ec5(0x260)])==null||(_0x4ceddc=_0x4ceddc[_0x109e62[_0x241ec5(0x47c)]])==null?void 0x0:_0x4ceddc[_0x109e62[_0x241ec5(0x44d)]];}function yt(_0x5b7bf2,_0x3418c1,_0x2c8924){const _0x318108=_0x413924;var _0x39a8a2;let _0x1f74e1=vt(_0x5b7bf2,_0x3418c1,_0x2c8924),_0x5c0ece=_0x5b7bf2[_0x318108(0x175)][_0x2c8924];if((_0x5c0ece==null?void 0x0:_0x5c0ece[_0x318108(0x378)])===_0x39ba8f['Attachment']){var _0x3b0df6;return Ot(_0x5b7bf2,_0x3418c1,_0x2c8924)??kt((_0x3b0df6=_0x5b7bf2[_0x318108(0x3b4)][_0x3418c1])==null||(_0x3b0df6=_0x3b0df6[_0x318108(0x4ae)])==null?void 0x0:_0x3b0df6[_0x2c8924]);}if(Mt(_0x5c0ece)||Nt(_0x5c0ece)||(_0x5c0ece==null?void 0x0:_0x5c0ece[_0x318108(0x378)])===_0x39ba8f['Link']){var _0x31b55e;let _0x1ebd5b=(_0x31b55e=_0x5b7bf2['records'][_0x3418c1])==null||(_0x31b55e=_0x31b55e[_0x318108(0x4ae)])==null?void 0x0:_0x31b55e[_0x2c8924];return _0x1ebd5b!=null&&_0x1ebd5b!==''?At(_0x1ebd5b,_0x5c0ece):Ct(_0x1f74e1,_0x5c0ece,_0x5b7bf2,_0x3418c1);}return _0x1f74e1&&Object[_0x318108(0x24b)][_0x318108(0x128)][_0x318108(0x157)](_0x1f74e1,'v')?_0x1f74e1['v']??null:((_0x39a8a2=_0x5b7bf2[_0x318108(0x3b4)][_0x3418c1])==null||(_0x39a8a2=_0x39a8a2[_0x318108(0x4ae)])==null?void 0x0:_0x39a8a2[_0x2c8924])??null;}function bt(_0x3d5ed6,_0x4d6182,_0xc01921){const _0x9c9450=_0x413924;var _0x477e14;let _0x5b5061=vt(_0x3d5ed6,_0x4d6182,_0xc01921);if(_0x5b5061&&Object[_0x9c9450(0x24b)]['hasOwnProperty'][_0x9c9450(0x157)](_0x5b5061,'v'))return _0x5b5061['v']??null;let _0x5d1230=_0x3d5ed6[_0x9c9450(0x175)][_0xc01921];return xt(((_0x477e14=_0x3d5ed6[_0x9c9450(0x3b4)][_0x4d6182])==null||(_0x477e14=_0x477e14[_0x9c9450(0x4ae)])==null?void 0x0:_0x477e14[_0xc01921])??null,_0x5d1230)['v']??null;}function xt(_0x40b065,_0xb47659){const _0x3127bc=_0x413924;if(Tt(_0x40b065))return(_0xb47659==null?void 0x0:_0xb47659[_0x3127bc(0x378)])===_0x39ba8f[_0x3127bc(0x2ba)]?{..._0x40b065,'v':'','t':_0x1b3c74[_0x3127bc(0x187)]}:St(_0x40b065);if((_0xb47659==null?void 0x0:_0xb47659[_0x3127bc(0x378)])===_0x39ba8f['Attachment'])return{'v':'','t':_0x1b3c74[_0x3127bc(0x187)]};if(Nt(_0xb47659)){let _0x469d13=Pt(_0x40b065);return{'v':_0x469d13,'t':Lt(_0x469d13)};}if(Mt(_0xb47659))return{'v':Ft(_0x40b065)['join'](',\x20'),'t':_0x1b3c74[_0x3127bc(0x187)]};if((_0xb47659==null?void 0x0:_0xb47659['type'])===_0x39ba8f[_0x3127bc(0x4b5)]&&_0x40b065&&typeof _0x40b065==_0x3127bc(0x441)&&!Array[_0x3127bc(0x348)](_0x40b065)){let _0x1ce6d3=_0x40b065;return{'v':String(_0x1ce6d3['text']??_0x1ce6d3[_0x3127bc(0x194)]??''),'t':_0x1b3c74[_0x3127bc(0x187)]};}return _0x40b065===null||typeof _0x40b065==_0x3127bc(0x3f0)||typeof _0x40b065==_0x3127bc(0x42c)||typeof _0x40b065==_0x3127bc(0x4d9)?{'v':_0x40b065,'t':Lt(_0x40b065)}:{'v':null,'t':null};}function St(_0x37ae4b){let _0x3087d1=zt(_0x37ae4b['t'],_0x37ae4b['v']);if(_0x3087d1===void 0x0){let {t:_0x368885,..._0x33a2ef}=_0x37ae4b;return _0x33a2ef;}return{..._0x37ae4b,'t':_0x3087d1};}function Ct(_0x533d14,_0x53b452,_0x23aefd,_0x3cae7e){const _0x11a355=_0x413924;if(!_0x533d14)return null;if((_0x53b452==null?void 0x0:_0x53b452[_0x11a355(0x378)])===_0x39ba8f[_0x11a355(0x2ba)])return _0x23aefd&&_0x3cae7e?Ot(_0x23aefd,_0x3cae7e,_0x53b452['id'])??[]:[];if(Mt(_0x53b452))return Ft(_0x533d14['v']);if((_0x53b452==null?void 0x0:_0x53b452[_0x11a355(0x378)])===_0x39ba8f[_0x11a355(0x4b5)]&&_0x23aefd&&_0x3cae7e){var _0x213917;let _0x5b7bc8=(_0x213917=_0x23aefd[_0x11a355(0x3b4)][_0x3cae7e])==null||(_0x213917=_0x213917[_0x11a355(0x4ae)])==null?void 0x0:_0x213917[_0x53b452['id']];if(_0x5b7bc8&&typeof _0x5b7bc8==_0x11a355(0x441)&&!Array[_0x11a355(0x348)](_0x5b7bc8))return _0x5b7bc8;}return Object[_0x11a355(0x24b)][_0x11a355(0x128)]['call'](_0x533d14,'v')?_0x533d14['v']??null:null;}function wt(_0x21872c,_0x4729dc,_0x11e9b9,_0x2a326b,_0x326d92){const _0x34bda8=_0x413924;return(_0x11e9b9==null?void 0x0:_0x11e9b9[_0x34bda8(0x378)])===_0x39ba8f[_0x34bda8(0x2ba)]?kt(_0x21872c):Nt(_0x11e9b9)?Pt(_0x21872c):Mt(_0x11e9b9)?Ft(_0x21872c):(_0x11e9b9==null?void 0x0:_0x11e9b9[_0x34bda8(0x378)])===_0x39ba8f['Link']&&(_0x21872c==null||_0x21872c==='')?null:(_0x11e9b9==null?void 0x0:_0x11e9b9['type'])===_0x39ba8f[_0x34bda8(0x4b5)]&&_0x21872c&&typeof _0x21872c==_0x34bda8(0x441)&&!Array[_0x34bda8(0x348)](_0x21872c)&&!Tt(_0x21872c)?_0x21872c:Ct(_0x4729dc,_0x11e9b9,_0x2a326b,_0x326d92);}function Tt(_0x445742){const _0x5973e0=_0x413924;return!!_0x445742&&typeof _0x445742==_0x5973e0(0x441)&&(Object['prototype'][_0x5973e0(0x128)][_0x5973e0(0x157)](_0x445742,'v')||Object[_0x5973e0(0x24b)][_0x5973e0(0x128)][_0x5973e0(0x157)](_0x445742,'t')||Object[_0x5973e0(0x24b)][_0x5973e0(0x128)]['call'](_0x445742,'p')||Object[_0x5973e0(0x24b)][_0x5973e0(0x128)]['call'](_0x445742,'f')||Object['prototype'][_0x5973e0(0x128)][_0x5973e0(0x157)](_0x445742,'si'));}function Et(_0x443d20,_0x444e96){return _0x443d20+'\x1f'+_0x444e96;}function Dt(_0x523e1c,_0x57394f,_0x2f1206,_0x16c847){const _0x3d18d7=_0x413924;let _0x46871a=kt(_0x16c847);_0x523e1c[_0x3d18d7(0x228)]={..._0x523e1c[_0x3d18d7(0x228)]??{}},_0x523e1c[_0x3d18d7(0x228)][_0x3d18d7(0x4c9)]={..._0x523e1c[_0x3d18d7(0x228)][_0x3d18d7(0x4c9)]??{}},_0x523e1c[_0x3d18d7(0x228)][_0x3d18d7(0x28c)]={..._0x523e1c[_0x3d18d7(0x228)]['attachments']??{}};let _0x4338b7=Et(_0x2f1206,_0x57394f),_0x26c3f3=[];for(let _0x53ce78=0x0;_0x53ce78<_0x46871a['length'];_0x53ce78++){if(!(_0x53ce78 in _0x46871a))continue;let _0x87c693=_0x46871a[_0x53ce78],_0x8558a=String(_0x87c693['id']??_0x4338b7+'\x1f'+_0x53ce78),_0x4f271e={..._0x87c693,'id':_0x8558a};_0x523e1c[_0x3d18d7(0x228)][_0x3d18d7(0x28c)][_0x8558a]=_0x4f271e,_0x26c3f3[_0x3d18d7(0x34c)](_0x8558a);}_0x523e1c[_0x3d18d7(0x228)]['attachmentSets'][_0x4338b7]=_0x26c3f3;}function Ot(_0x301ce4,_0x12ffe6,_0x2632ce){const _0x3a1450=_0x413924;var _0x1a3120;let _0x39a643=Et(_0x2632ce,_0x12ffe6),_0x3f9342=(_0x1a3120=_0x301ce4[_0x3a1450(0x228)])==null||(_0x1a3120=_0x1a3120[_0x3a1450(0x4c9)])==null?void 0x0:_0x1a3120[_0x39a643];if(!_0x3f9342)return null;let _0x4e441f=[];for(let _0x5e6ecd=0x0;_0x5e6ecd<_0x3f9342[_0x3a1450(0x4be)];_0x5e6ecd++){var _0x5bdb51;if(!(_0x5e6ecd in _0x3f9342))continue;let _0x4f17fe=(_0x5bdb51=_0x301ce4[_0x3a1450(0x228)])==null||(_0x5bdb51=_0x5bdb51['attachments'])==null?void 0x0:_0x5bdb51[_0x3f9342[_0x5e6ecd]];_0x4f17fe&&_0x4e441f[_0x3a1450(0x34c)]({..._0x4f17fe});}return _0x4e441f;}function kt(_0x45029e){const _0x3dc13a=_0x413924;if(_0x45029e==null||_0x45029e===''||Tt(_0x45029e)&&!('id'in _0x45029e)&&!(_0x3dc13a(0x1f9)in _0x45029e))return[];let _0x25b425=Array[_0x3dc13a(0x348)](_0x45029e)?_0x45029e:[_0x45029e],_0xb9982d=[];for(let _0x144b0c=0x0;_0x144b0c<_0x25b425[_0x3dc13a(0x4be)];_0x144b0c++){if(!(_0x144b0c in _0x25b425))continue;let _0x29f7cb=_0x25b425[_0x144b0c],_0x48aef7=_0x29f7cb&&typeof _0x29f7cb==_0x3dc13a(0x441)?{..._0x29f7cb}:{'id':_0x3dc13a(0x352)+_0x144b0c,'name':String(_0x29f7cb)};Object['keys'](_0x48aef7)[_0x3dc13a(0x4be)]>0x0&&_0xb9982d[_0x3dc13a(0x34c)](_0x48aef7);}return _0xb9982d;}function At(_0xc37a0a,_0x58a9c6){const _0x3b7707=_0x413924;return(_0x58a9c6==null?void 0x0:_0x58a9c6['type'])===_0x39ba8f[_0x3b7707(0x2ba)]?kt(_0xc37a0a):Nt(_0x58a9c6)?Pt(_0xc37a0a):Mt(_0x58a9c6)?Ft(_0xc37a0a):_0xc37a0a;}function jt(_0x22d74b,_0x4c30d5,_0x1c6c01){const _0x3e006f=_0x413924;return(_0x4c30d5==null?void 0x0:_0x4c30d5[_0x3e006f(0x378)])===_0x39ba8f['Attachment']?_0x22d74b['v']!=='':Nt(_0x4c30d5)?_0x22d74b['v']!==Pt(_0x1c6c01):Mt(_0x4c30d5)?Array['isArray'](_0x1c6c01)&&(_0x22d74b['v']==null||_0x22d74b['v']===''):!0x1;}function Mt(_0x1f1d17){const _0x4aa1ef=_0x413924;return(_0x1f1d17==null?void 0x0:_0x1f1d17[_0x4aa1ef(0x378)])===_0x39ba8f[_0x4aa1ef(0x40c)]||(_0x1f1d17==null?void 0x0:_0x1f1d17[_0x4aa1ef(0x378)])===_0x39ba8f[_0x4aa1ef(0x14f)]||(_0x1f1d17==null?void 0x0:_0x1f1d17['type'])===_0x39ba8f[_0x4aa1ef(0x3e7)]&&_0x1f1d17[_0x4aa1ef(0x406)][_0x4aa1ef(0x35c)]===!0x0;}function Nt(_0x24563c){const _0x4d2526=_0x413924;return(_0x24563c==null?void 0x0:_0x24563c['type'])===_0x39ba8f['Person']&&_0x24563c[_0x4d2526(0x406)][_0x4d2526(0x35c)]!==!0x0;}function Pt(_0x55a2f4){const _0x14d6f7=_0x413924;let _0xa92125=Tt(_0x55a2f4)?_0x55a2f4['v']:_0x55a2f4,_0xd7e24=Array[_0x14d6f7(0x348)](_0xa92125)?_0xa92125[0x0]:_0xa92125;return _0xd7e24==null||_0xd7e24===''?null:String(_0xd7e24);}function Ft(_0x2f6a57){const _0x36b619=_0x413924;if(_0x2f6a57==null||_0x2f6a57==='')return[];let _0x25059a=[];if(Array[_0x36b619(0x348)](_0x2f6a57)){for(let _0xc3f971=0x0;_0xc3f971<_0x2f6a57['length'];_0xc3f971++){if(!(_0xc3f971 in _0x2f6a57))continue;let _0x6c08e7=It(_0x2f6a57[_0xc3f971]);_0x6c08e7&&_0x25059a[_0x36b619(0x34c)](_0x6c08e7);}return _0x25059a;}for(let _0x1497e2 of String(_0x2f6a57)['split'](',')){let _0x2800e0=_0x1497e2['trim']();_0x2800e0&&_0x25059a[_0x36b619(0x34c)](_0x2800e0);}return _0x25059a;}function It(_0x39af2c){const _0x55c7ca=_0x413924;if(_0x39af2c==null)return'';if(typeof _0x39af2c==_0x55c7ca(0x3f0)||typeof _0x39af2c==_0x55c7ca(0x42c)||typeof _0x39af2c==_0x55c7ca(0x4d9))return String(_0x39af2c);if(typeof _0x39af2c==_0x55c7ca(0x441)){let _0x4de578=_0x39af2c;return String(_0x4de578['id']??_0x4de578[_0x55c7ca(0x1f9)]??_0x4de578[_0x55c7ca(0x10d)]??'');}return String(_0x39af2c);}function Lt(_0x22851a){const _0x4a9798=_0x413924;return _0x22851a==null?null:typeof _0x22851a==_0x4a9798(0x42c)?_0x1b3c74[_0x4a9798(0x377)]:typeof _0x22851a==_0x4a9798(0x4d9)?_0x1b3c74[_0x4a9798(0x4af)]:_0x1b3c74[_0x4a9798(0x187)];}function Rt(_0x2e804c){const _0x49a9fe=_0x413924;_0x2e804c[_0x49a9fe(0x116)]((_0x20bf7d,_0x4f8c23)=>_0x20bf7d[_0x49a9fe(0x124)]['localeCompare'](_0x4f8c23[_0x49a9fe(0x124)]));let _0x5ac513=[];for(let _0x128a3 of _0x2e804c)_0x5ac513[_0x49a9fe(0x34c)](_0x128a3['id']);return _0x5ac513;}function zt(_0x46887b,_0x1e9dde){const _0x597d58=_0x413924;return _0x46887b===_0x1b3c74['STRING']||_0x46887b===_0x1b3c74[_0x597d58(0x377)]||_0x46887b===_0x1b3c74[_0x597d58(0x4af)]||_0x46887b===_0x1b3c74[_0x597d58(0x135)]||_0x46887b==null?_0x46887b:Lt(_0x1e9dde??null);}function R(_0x1eace9){const _0x3d9427=_0x413924;let _0x152824=null;for(let _0x30280c of _0x1eace9)_0x152824=_0x152824===null?_0x30280c:_0x2c18c4['type'][_0x3d9427(0x2ad)](_0x152824,_0x30280c);return _0x152824;}var z=class e{static[_0x413924(0x360)](_0x181165,_0x197b17){const _0x2e1508=_0x413924;let _0x3b0458=[];for(let _0x3e8509 of _0x197b17){let _0x504f51=Bt(_0x3e8509);if(!_0x504f51||_0x504f51[_0x2e1508(0x2b9)]!==_0x181165['id'])return null;_0x3b0458[_0x2e1508(0x34c)](_0x504f51['op']);}try{let _0x3a67cc=R(_0x3b0458);return _0x3a67cc===null?_0x181165:new e()['applyOp'](_0x181165,_0x3a67cc);}catch{return null;}}[_0x413924(0x2f2)](_0x1eb859,_0x18078e){const _0x12a27d=_0x413924;let _0x27db51=this['getAffectedRanges'](_0x18078e),_0x3b1dbd=I(_0x12a27d(0x37a),()=>Xt(_0x1eb859,_0x18078e),{'invalidations':_0x27db51[_0x12a27d(0x4be)]}),_0x554a49=I(_0x12a27d(0x408),()=>_0x2c18c4[_0x12a27d(0x378)][_0x12a27d(0x1ef)](_0x3b1dbd,_0x18078e),{'invalidations':_0x27db51[_0x12a27d(0x4be)]}),_0x30bf5f=Ht(_0x554a49,_0x27db51);return I(_0x12a27d(0x1db),()=>Vt(_0x554a49,_0x27db51),{'invalidations':_0x27db51['length']})?(Ut(_0x554a49,_0x30bf5f),_0x554a49):(I('BaseJson1.normalizeTables',()=>{const _0x40c13c=_0x12a27d;this[_0x40c13c(0x197)](_0x554a49,_0x27db51)[_0x40c13c(0x248)](_0x651c5e=>{const _0x3a7cd8=_0x40c13c;let _0x1f3e42=_0x27db51[_0x3a7cd8(0x457)](_0x5965e0=>_0x5965e0['tableId']===_0x651c5e['id']),_0x3e9451=_0x1f3e42['length']>0x0&&_0x1f3e42[_0x3a7cd8(0x23d)](_0x21badf=>_0x21badf[_0x3a7cd8(0x24f)]===_0x3a7cd8(0x2b7)||_0x21badf[_0x3a7cd8(0x24f)]===_0x3a7cd8(0x1e0)||_0x21badf[_0x3a7cd8(0x24f)]===_0x3a7cd8(0x3c4)||_0x21badf['reason']===_0x3a7cd8(0x1cf))?new Set(_0x1f3e42['flatMap'](_0x448622=>{const _0x1faae4=_0x3a7cd8;var _0x2093ce;if(_0x448622['reason']!==_0x1faae4(0x2b7)||!_0x448622[_0x1faae4(0x1c3)])return[];let _0x20ba22=(_0x2093ce=_0x1eb859[_0x1faae4(0x28d)][_0x651c5e['id']])==null?void 0x0:_0x2093ce[_0x1faae4(0x175)][_0x448622[_0x1faae4(0x1c3)]],_0x349748=_0x651c5e[_0x1faae4(0x175)][_0x448622[_0x1faae4(0x1c3)]];return(_0x20ba22==null?void 0x0:_0x20ba22['type'])!==(_0x349748==null?void 0x0:_0x349748['type'])||(_0x20ba22==null?void 0x0:_0x20ba22[_0x1faae4(0x406)][_0x1faae4(0x35c)])!==(_0x349748==null?void 0x0:_0x349748[_0x1faae4(0x406)]['allowMultiple'])?[_0x448622[_0x1faae4(0x1c3)]]:[];})):void 0x0,_0x3304e6=new Set(_0x1f3e42[_0x3a7cd8(0x4ac)](_0x18978a=>{const _0x2a87bb=_0x3a7cd8;var _0x1965e3,_0x4f9490;return _0x18978a[_0x2a87bb(0x24f)]!==_0x2a87bb(0x3c4)||_0x18978a['row']==null||_0x18978a['column']==null?[]:[JSON[_0x2a87bb(0x3d0)]([(_0x1965e3=_0x651c5e[_0x2a87bb(0x3ce)])==null?void 0x0:_0x1965e3[_0x18978a[_0x2a87bb(0x47c)]],(_0x4f9490=_0x651c5e['colId'])==null?void 0x0:_0x4f9490[_0x18978a[_0x2a87bb(0x298)]]])];}));ht(_0x651c5e,_0x3e9451?(_0x65c071,_0x148121)=>_0x3e9451[_0x3a7cd8(0x3cf)](_0x148121)||_0x3304e6[_0x3a7cd8(0x3cf)](JSON[_0x3a7cd8(0x3d0)]([_0x65c071,_0x148121])):void 0x0);});},{'invalidations':_0x27db51[_0x12a27d(0x4be)]}),Ut(_0x554a49,_0x30bf5f),_0x554a49);}[_0x413924(0x447)](_0x5ddd9a,_0x197746){const _0x1cec95=_0x413924;return _0x2c18c4[_0x1cec95(0x378)][_0x1cec95(0x18c)](_0x197746,_0x5ddd9a);}[_0x413924(0x3a3)](_0x57ca2e){const _0x1aaf02=_0x413924;let _0x73b379=qt(_0x57ca2e);return _0x73b379['length']?Jt(_0x73b379[_0x1aaf02(0x4ac)](_0x42a0c4=>this[_0x1aaf02(0x3a3)](_0x42a0c4))):Wt(_0x57ca2e);}[_0x413924(0x197)](_0x2e235d,_0x47b479){const _0x5bc9f1=_0x413924;let _0x4fbbab=_0x47b479[_0x5bc9f1(0x457)](_0x26106f=>_0x26106f['reason']!==_0x5bc9f1(0x1e0));return _0x4fbbab[_0x5bc9f1(0x4be)]?_0x4fbbab[_0x5bc9f1(0x2e3)](_0x54c4af=>!_0x54c4af[_0x5bc9f1(0x2ca)])?Object[_0x5bc9f1(0x4ae)](_0x2e235d['tables']??{}):Array['from'](new Set(_0x4fbbab[_0x5bc9f1(0x438)](_0x58761d=>_0x58761d[_0x5bc9f1(0x2ca)])))[_0x5bc9f1(0x4ac)](_0x435d2c=>{const _0x3a3abe=_0x5bc9f1;var _0x52ffa9;let _0x4971a2=(_0x52ffa9=_0x2e235d[_0x3a3abe(0x28d)])==null?void 0x0:_0x52ffa9[_0x435d2c];return _0x4971a2?[_0x4971a2]:[];}):[];}};function Bt(_0x42d73e){const _0x14c47a=_0x413924;let _0xf720b6=_0x42d73e['params'];return _0x42d73e['id']!==_0x14c47a(0x15e)||typeof _0xf720b6!=_0x14c47a(0x441)||!_0xf720b6||!(_0x14c47a(0x2b9)in _0xf720b6)||typeof _0xf720b6['unitId']!='string'||!('op'in _0xf720b6)||!Array[_0x14c47a(0x348)](_0xf720b6['op'])?null:{'unitId':_0xf720b6[_0x14c47a(0x2b9)],'op':_0xf720b6['op']};}function Vt(_0x4216a1,_0x396b3d){const _0x3f889f=_0x413924;if(!_0x396b3d[_0x3f889f(0x4be)]||_0x396b3d['some'](_0x4f040e=>_0x4f040e[_0x3f889f(0x24f)]!=='cell'))return!0x1;let _0x7e32b9=new Map();for(let _0x474271 of _0x396b3d){if(!_0x474271[_0x3f889f(0x2ca)]||_0x474271[_0x3f889f(0x47c)]==null||_0x474271[_0x3f889f(0x298)]==null)continue;let _0x169aee=_0x7e32b9[_0x3f889f(0x113)](_0x474271[_0x3f889f(0x2ca)])??[];_0x169aee[_0x3f889f(0x34c)]({'row':_0x474271[_0x3f889f(0x47c)],'col':_0x474271[_0x3f889f(0x298)]}),_0x7e32b9['set'](_0x474271[_0x3f889f(0x2ca)],_0x169aee);}return _0x7e32b9[_0x3f889f(0x248)]((_0x4ab63d,_0x1f5394)=>{const _0xe5d5c4=_0x3f889f;var _0x3eb9d7;let _0x4a6b51=(_0x3eb9d7=_0x4216a1[_0xe5d5c4(0x28d)])==null?void 0x0:_0x3eb9d7[_0x1f5394];_0x4a6b51&>(_0x4a6b51,_0x4ab63d);}),!0x0;}function Ht(_0x4c96e2,_0x5469e3){const _0x3be98e=_0x413924;let _0x33237f=new Set();return _0x5469e3[_0x3be98e(0x4ac)](_0x19c5ac=>{const _0x3ce9bf=_0x3be98e;var _0x1e4aee;if(!_0x19c5ac[_0x3ce9bf(0x2ca)]||!_0x19c5ac[_0x3ce9bf(0x170)]||!_0x19c5ac[_0x3ce9bf(0x1c3)])return[];let _0x2754c8=_0x19c5ac[_0x3ce9bf(0x2ca)]+'\x1f'+_0x19c5ac['recordId']+'\x1f'+_0x19c5ac[_0x3ce9bf(0x1c3)];if(_0x33237f[_0x3ce9bf(0x3cf)](_0x2754c8))return[];_0x33237f[_0x3ce9bf(0x4c2)](_0x2754c8);let _0x5c0f96=(_0x1e4aee=_0x4c96e2[_0x3ce9bf(0x28d)][_0x19c5ac[_0x3ce9bf(0x2ca)]])==null||(_0x1e4aee=_0x1e4aee[_0x3ce9bf(0x3b4)][_0x19c5ac[_0x3ce9bf(0x170)]])==null?void 0x0:_0x1e4aee[_0x3ce9bf(0x4ae)];return _0x5c0f96?[{'tableId':_0x19c5ac[_0x3ce9bf(0x2ca)],'recordId':_0x19c5ac[_0x3ce9bf(0x170)],'fieldId':_0x19c5ac[_0x3ce9bf(0x1c3)],'exists':Object[_0x3ce9bf(0x24b)][_0x3ce9bf(0x128)][_0x3ce9bf(0x157)](_0x5c0f96,_0x19c5ac[_0x3ce9bf(0x1c3)]),'value':_0x5c0f96[_0x19c5ac[_0x3ce9bf(0x1c3)]]}]:[];});}function Ut(_0x395047,_0x3e9fb2){const _0x13a597=_0x413924;_0x3e9fb2[_0x13a597(0x248)](_0x4ddb5d=>{const _0x29835c=_0x13a597;var _0x455e38;let _0x36d267=(_0x455e38=_0x395047[_0x29835c(0x28d)][_0x4ddb5d[_0x29835c(0x2ca)]])==null||(_0x455e38=_0x455e38[_0x29835c(0x3b4)][_0x4ddb5d[_0x29835c(0x170)]])==null?void 0x0:_0x455e38[_0x29835c(0x4ae)];_0x36d267&&(_0x4ddb5d['exists']?_0x36d267[_0x4ddb5d['fieldId']]=_0x4ddb5d['value']:delete _0x36d267[_0x4ddb5d[_0x29835c(0x1c3)]]);});}function Wt(_0x29baa1){const _0x36d45b=_0x413924;if(!Array[_0x36d45b(0x348)](_0x29baa1)||_0x29baa1[_0x36d45b(0x4be)]<0x2)return[{'tableId':'','reason':_0x36d45b(0x239)}];let _0x1f48c9=_0x29baa1,_0x16f71a=_0x1f48c9[_0x36d45b(0x3ef)](_0x36d45b(0x28d));return _0x16f71a===-0x1||typeof _0x1f48c9[_0x16f71a+0x1]!=_0x36d45b(0x3f0)?_0x1f48c9[0x0]==='tableOrder'?[]:[{'tableId':'','reason':'unknown'}]:Gt(_0x1f48c9,_0x16f71a,String(_0x1f48c9[_0x16f71a+0x1]));}function Gt(_0xbef3df,_0x4d7030,_0x1ac470){const _0x3b495b=_0x413924;let _0x55f4e8=_0xbef3df[_0x4d7030+0x2];return _0x55f4e8===_0x3b495b(0x3b4)&&typeof _0xbef3df[_0x4d7030+0x3]==_0x3b495b(0x3f0)?Kt(_0xbef3df,_0x4d7030,_0x1ac470,String(_0xbef3df[_0x4d7030+0x3])):_0x55f4e8==='cellData'&&_0xbef3df[_0x4d7030+0x3]!=null&&_0xbef3df[_0x4d7030+0x4]!=null?[{'tableId':_0x1ac470,'reason':_0x3b495b(0x3c4),'row':Number(_0xbef3df[_0x4d7030+0x3]),'column':Number(_0xbef3df[_0x4d7030+0x4])}]:_0x55f4e8==='fields'&&typeof _0xbef3df[_0x4d7030+0x3]=='string'?[{'tableId':_0x1ac470,'reason':_0x3b495b(0x2b7),'fieldId':String(_0xbef3df[_0x4d7030+0x3])}]:_0x55f4e8===_0x3b495b(0x3fc)?[{'tableId':_0x1ac470,'reason':'field'}]:_0x55f4e8===_0x3b495b(0x1c6)?[{'tableId':_0x1ac470,'reason':_0x3b495b(0x1cf)}]:_0x55f4e8===_0x3b495b(0x379)&&typeof _0xbef3df[_0x4d7030+0x3]==_0x3b495b(0x3f0)?[{'tableId':_0x1ac470,'reason':_0x3b495b(0x1e0),'viewId':String(_0xbef3df[_0x4d7030+0x3])}]:_0x55f4e8===_0x3b495b(0x1f0)?[{'tableId':_0x1ac470,'reason':'view'}]:_0x55f4e8===_0x3b495b(0x228)?[{'tableId':_0x1ac470,'reason':'cell'}]:[{'tableId':_0x1ac470,'reason':_0x55f4e8===void 0x0?_0x3b495b(0x246):'unknown'}];}function Kt(_0x5d38ae,_0x3b4af3,_0x30a069,_0x26c69e){const _0x37c2fe=_0x413924;return _0x5d38ae[_0x3b4af3+0x4]===_0x37c2fe(0x4ae)&&typeof _0x5d38ae[_0x3b4af3+0x5]==_0x37c2fe(0x3f0)?[{'tableId':_0x30a069,'reason':'cell','recordId':_0x26c69e,'fieldId':String(_0x5d38ae[_0x3b4af3+0x5])}]:_0x5d38ae[_0x3b4af3+0x4]==='updatedAt'||_0x5d38ae[_0x3b4af3+0x4]==='updatedBy'?[]:[{'tableId':_0x30a069,'reason':_0x37c2fe(0x1cf),'recordId':_0x26c69e}];}function qt(_0x435fc0){const _0x1af348=_0x413924;if(!Array[_0x1af348(0x348)](_0x435fc0))return[];let _0x4b5321=_0x435fc0['filter'](Array[_0x1af348(0x348)]);if(_0x4b5321[_0x1af348(0x4be)]>0x1&&_0x4b5321[_0x1af348(0x4be)]===_0x435fc0[_0x1af348(0x4be)])return _0x4b5321;let _0x2a76b7=_0x435fc0[_0x1af348(0x262)](Array[_0x1af348(0x348)]);if(_0x2a76b7>0x0&&_0x435fc0['slice'](_0x2a76b7)[_0x1af348(0x23d)](Array[_0x1af348(0x348)])){let _0x343a3b=_0x435fc0[_0x1af348(0x3a7)](0x0,_0x2a76b7);return _0x435fc0[_0x1af348(0x3a7)](_0x2a76b7)['map'](_0x58dca5=>[..._0x343a3b,..._0x58dca5]);}let _0x1cc105=_0x435fc0[_0x1af348(0x3ef)](_0x1af348(0x28d));if(_0x1cc105===-0x1||typeof _0x435fc0[_0x1cc105+0x1]!='string')return[];let _0x253829=String(_0x435fc0[_0x1cc105+0x1]),_0x3dc30d=_0x435fc0[_0x1af348(0x3a7)](_0x1cc105+0x2)[_0x1af348(0x457)](Array[_0x1af348(0x348)]);return _0x3dc30d[_0x1af348(0x4be)]<=0x1?[]:_0x3dc30d[_0x1af348(0x438)](_0x4cdead=>[_0x1af348(0x28d),_0x253829,..._0x4cdead]);}function Jt(_0x2c47a5){const _0x53d875=_0x413924;let _0x20e6c0=new Set();return _0x2c47a5[_0x53d875(0x457)](_0x159d01=>{const _0xe875cd=_0x53d875;let _0x3ba155=JSON['stringify'](_0x159d01);return!_0x20e6c0[_0xe875cd(0x3cf)](_0x3ba155)&&(_0x20e6c0[_0xe875cd(0x4c2)](_0x3ba155),!0x0);});}function Yt(_0x2996e5){return _0x285054['deepClone'](_0x2996e5);}function Xt(_0x2db6ec,_0x11b949){const _0x36b173=_0x413924;let _0xcef055=Zt(_0x11b949);if(!_0xcef055[_0x36b173(0x4be)])return Yt(_0x2db6ec);let _0x537908=an(_0x2db6ec),_0x3554d4=new Set();for(let _0x487292 of _0xcef055)en(_0x537908,_0x487292,_0x3554d4);return _0x537908;}function Zt(_0x9b02da){let _0x5b4bfe=[];return Qt(_0x9b02da,[],_0x5b4bfe),_0x5b4bfe;}function Qt(_0x1ed798,_0x5667c6,_0x45e6c4){const _0x14c879=_0x413924;if(!Array['isArray'](_0x1ed798))return;let _0x11b8a4=[];for(let _0x1a62da of _0x1ed798){if(Array[_0x14c879(0x348)](_0x1a62da)){Qt(_0x1a62da,[..._0x5667c6,..._0x11b8a4],_0x45e6c4);continue;}if($t(_0x1a62da)){_0x45e6c4['push']([..._0x5667c6,..._0x11b8a4]);continue;}(typeof _0x1a62da==_0x14c879(0x3f0)||typeof _0x1a62da==_0x14c879(0x42c))&&_0x11b8a4[_0x14c879(0x34c)](_0x1a62da);}}function $t(_0xd69ff0){const _0x1807f0=_0x413924;if(!_0xd69ff0||typeof _0xd69ff0!=_0x1807f0(0x441)||Array['isArray'](_0xd69ff0))return!0x1;let _0x196c30=_0xd69ff0;return'i'in _0x196c30||'r'in _0x196c30||'p'in _0x196c30||'d'in _0x196c30||'es'in _0x196c30||_0x1807f0(0x2e0)in _0x196c30||'et'in _0x196c30;}function en(_0x1347d7,_0x39f38d,_0x1c679e){const _0x21963a=_0x413924;let _0x3a35b2=_0x1347d7,_0x431d1c=[];for(let _0x388a39=0x0;_0x388a39<_0x39f38d[_0x21963a(0x4be)]-0x1;_0x388a39++){let _0x595251=_0x39f38d[_0x388a39];_0x431d1c[_0x21963a(0x34c)](_0x595251);let _0x22ef1d=tn(_0x3a35b2,_0x595251);if(!rn(_0x22ef1d))return;let _0x1d6f88=JSON[_0x21963a(0x3d0)](_0x431d1c);_0x1c679e[_0x21963a(0x3cf)](_0x1d6f88)||(nn(_0x3a35b2,_0x595251,an(_0x22ef1d)),_0x1c679e[_0x21963a(0x4c2)](_0x1d6f88));let _0x354e77=tn(_0x3a35b2,_0x595251);if(!rn(_0x354e77))return;_0x3a35b2=_0x354e77;}}function tn(_0x3bec18,_0x3f5c8f){const _0x5e5e23=_0x413924;return Array[_0x5e5e23(0x348)](_0x3bec18)?typeof _0x3f5c8f=='number'?_0x3bec18[_0x3f5c8f]:void 0x0:Reflect[_0x5e5e23(0x113)](_0x3bec18,_0x3f5c8f);}function nn(_0x4ddc88,_0x332e75,_0x31cf84){const _0x4022f5=_0x413924;if(Array[_0x4022f5(0x348)](_0x4ddc88)){typeof _0x332e75==_0x4022f5(0x42c)&&(_0x4ddc88[_0x332e75]=_0x31cf84);return;}Reflect[_0x4022f5(0x404)](_0x4ddc88,_0x332e75,_0x31cf84);}function rn(_0x1a6a83){const _0x129ca6=_0x413924;return!!_0x1a6a83&&typeof _0x1a6a83==_0x129ca6(0x441);}function an(_0x35163b){const _0x3708b1=_0x413924;return Array['isArray'](_0x35163b)?_0x35163b[_0x3708b1(0x3a7)]():{..._0x35163b};}const on='yyyy/mm/dd',sn=/\s+hh:mm\s*$/i,cn={'yyyy/mm/dd':_0x413924(0x219),'yyyy-mm-dd':_0x413924(0x2ea),'mm-dd':_0x413924(0x387),'mm/dd/yyyy':'MM/DD/YYYY','dd/mm/yyyy':_0x413924(0x25c),'mmm\x20d,\x20yyyy':_0x413924(0x1c7)};function B(_0x37362c,_0x18f867=_0x4b4a65['Date1900']){const _0x4c2321=_0x413924;let _0x1a610a=_0x2461bc(_0x37362c)[_0x4c2321(0x4c8)]();return _0x26e0e5(new Date(_0x1a610a),_0x18f867);}function ln(_0x257ee4,_0x4a337b=_0x4b4a65['Date1900']){return _0x1357ef(_0x257ee4,_0x4a337b)['getTime']();}function un(_0x209eb3,_0xdb5206=_0x4b4a65[_0x413924(0x2be)]){const _0x29dcc0=_0x413924;if(_0x209eb3==null||_0x209eb3==='')return null;if(_0x209eb3 instanceof Date)return B(_0x209eb3,_0xdb5206);if(typeof _0x209eb3==_0x29dcc0(0x42c))return Number[_0x29dcc0(0x479)](_0x209eb3)?_0x209eb3>0xf4240?B(_0x209eb3,_0xdb5206):_0x209eb3:null;let _0x3f6db2=Date['parse'](String(_0x209eb3));return Number[_0x29dcc0(0x483)](_0x3f6db2)?null:B(_0x3f6db2,_0xdb5206);}function dn(_0x18036d,_0x3814f2=_0x4b4a65[_0x413924(0x2be)]){let _0x27de57=un(_0x18036d,_0x3814f2);return _0x27de57==null?null:ln(_0x27de57,_0x3814f2);}function fn(_0x11cff7={}){const _0x165ff4=_0x413924;let _0x5e85df=String(_0x11cff7[_0x165ff4(0x34d)]??_0x11cff7[_0x165ff4(0x368)]??_0x11cff7[_0x165ff4(0x381)]??on)['trim']()||on,_0xafeb5b=sn[_0x165ff4(0x114)](_0x5e85df);return{'pattern':_0x5e85df[_0x165ff4(0x4c0)](sn,'')||on,'includeTime':typeof _0x11cff7[_0x165ff4(0x4cb)]==_0x165ff4(0x4d9)?_0x11cff7['includeTime']:_0xafeb5b,'hourCycle':_0x11cff7[_0x165ff4(0x1fe)]===_0x165ff4(0x2de)?_0x165ff4(0x2de):'h24'};}function pn(_0x3ff748={}){let {format:_0x2151dc,dateFormat:_0x4fc513,..._0x1ff8c6}=_0x3ff748;return{..._0x1ff8c6,...fn(_0x3ff748)};}function mn(_0x1efa79,_0x45c750={}){const _0x3b3ae7=_0x413924;let _0x225d11=dn(_0x1efa79);if(_0x225d11==null||!Number[_0x3b3ae7(0x479)](_0x225d11))return'';let _0x1e609d=fn(_0x45c750);return _0x2461bc(_0x225d11)['format'](hn(_0x1e609d));}function hn(_0x2bea36){const _0x2e46c2=_0x413924;let {pattern:_0x15d5e3,includeTime:_0x5eb7d1,hourCycle:_0x2150c1}=_0x2bea36,_0x18727a=cn[_0x15d5e3]??cn[on];return _0x5eb7d1?_0x18727a+'\x20'+(_0x2150c1===_0x2e46c2(0x2de)?_0x2e46c2(0x3fd):_0x2e46c2(0x19f)):_0x18727a;}const gn={'editable':!0x0,'sortable':!0x0,'filterable':!0x0,'groupable':!0x1,'usableAsKanbanGroup':!0x1,'usableAsCalendarDate':!0x1,'usableAsGanttStart':!0x1,'usableAsGanttEnd':!0x1,'usableAsGanttProgress':!0x1,'usableAsCardCover':!0x1,'usableAsTitle':!0x1},_n=new Set([_0x39ba8f[_0x413924(0x216)]]),V=0x5265c00;function vn(_0x416d2b){const _0x2361c9=_0x413924;switch(_0x416d2b){case _0x39ba8f[_0x2361c9(0x21b)]:case _0x39ba8f['Currency']:case _0x39ba8f[_0x2361c9(0x1a0)]:case _0x39ba8f[_0x2361c9(0x152)]:return[_0x44d66f['IS'],_0x44d66f['IS_NOT'],_0x44d66f[_0x2361c9(0x16a)],_0x44d66f[_0x2361c9(0x265)],_0x44d66f[_0x2361c9(0x41a)],_0x44d66f['IS_NOT_EMPTY']];case _0x39ba8f[_0x2361c9(0x2c9)]:case _0x39ba8f[_0x2361c9(0x3b2)]:case _0x39ba8f[_0x2361c9(0x1b6)]:return[_0x44d66f['IS'],_0x44d66f[_0x2361c9(0x4a4)],_0x44d66f[_0x2361c9(0x2cf)],_0x44d66f[_0x2361c9(0x432)],_0x44d66f[_0x2361c9(0x41a)],_0x44d66f[_0x2361c9(0x2c2)]];case _0x39ba8f[_0x2361c9(0x15d)]:return[_0x44d66f['IS'],_0x44d66f[_0x2361c9(0x4a4)]];default:return[_0x44d66f['IS'],_0x44d66f[_0x2361c9(0x4a4)],_0x44d66f[_0x2361c9(0x409)],_0x44d66f['NOT_CONTAINS'],_0x44d66f[_0x2361c9(0x41a)],_0x44d66f[_0x2361c9(0x2c2)]];}}function yn(_0x5c59a8){const _0x58c4f7=_0x413924;return _0x5c59a8===_0x39ba8f[_0x58c4f7(0x2c9)]||_0x5c59a8===_0x39ba8f[_0x58c4f7(0x3b2)]||_0x5c59a8===_0x39ba8f[_0x58c4f7(0x1b6)];}function bn(_0x5c10f6,_0x4d5484){const _0x4b649d=_0x413924;return _0x5c10f6==null&&_0x4d5484==null?0x0:_0x5c10f6==null?-0x1:_0x4d5484==null?0x1:typeof _0x5c10f6==_0x4b649d(0x42c)&&typeof _0x4d5484==_0x4b649d(0x42c)?_0x5c10f6-_0x4d5484:String(_0x5c10f6)[_0x4b649d(0x4ce)](String(_0x4d5484));}function xn(_0x170577,_0x281250,_0x2099d7,_0x4c523b,_0x48d10f={}){const _0x5ba6de=_0x413924;if(_0x281250==='isEmpty')return Sn(_0x170577);if(_0x281250===_0x5ba6de(0x2ed))return!Sn(_0x170577);switch(_0x4c523b[_0x5ba6de(0x378)]){case _0x39ba8f[_0x5ba6de(0x21b)]:case _0x39ba8f['Currency']:case _0x39ba8f['Progress']:case _0x39ba8f[_0x5ba6de(0x152)]:return Cn(_0x170577,_0x281250,_0x2099d7);case _0x39ba8f[_0x5ba6de(0x2c9)]:case _0x39ba8f[_0x5ba6de(0x3b2)]:case _0x39ba8f['UpdatedAt']:return Tn(_0x170577,_0x281250,_0x2099d7,_0x48d10f);case _0x39ba8f[_0x5ba6de(0x15d)]:return jn(_0x170577,_0x281250,_0x2099d7);case _0x39ba8f['SingleSelect']:case _0x39ba8f[_0x5ba6de(0x40c)]:case _0x39ba8f['Person']:case _0x39ba8f[_0x5ba6de(0x14f)]:return Nn(_0x170577,_0x281250,_0x2099d7,_0x4c523b);default:return Pn(_0x170577,_0x281250,_0x2099d7);}}function Sn(_0x14da59){const _0x2e337e=_0x413924;return _0x14da59==null?!0x0:Array['isArray'](_0x14da59)?_0x14da59[_0x2e337e(0x4be)]===0x0:typeof _0x14da59==_0x2e337e(0x3f0)&&_0x14da59[_0x2e337e(0x401)]()==='';}function Cn(_0x4ec096,_0x7c53d9,_0x43703d){const _0x83b88a=_0x413924;let _0x19b6b9=wn(_0x4ec096),_0x464510=wn(_0x43703d);if(_0x19b6b9==null||_0x464510==null)return!0x1;switch(_0x7c53d9){case'is':return _0x19b6b9===_0x464510;case _0x83b88a(0x2bc):return _0x19b6b9!==_0x464510;case _0x83b88a(0x243):return _0x19b6b9>_0x464510;case _0x83b88a(0x138):return _0x19b6b9>=_0x464510;case _0x83b88a(0x3a0):return _0x19b6b9<_0x464510;case _0x83b88a(0x16e):return _0x19b6b9<=_0x464510;default:return!0x1;}}function wn(_0x4d8da4){if(_0x4d8da4==null||_0x4d8da4==='')return null;let _0x21fd7e=Number(_0x4d8da4);return Number['isFinite'](_0x21fd7e)?_0x21fd7e:null;}function Tn(_0x55b18a,_0x3d295c,_0x2dc977,_0x41b578){const _0x51f1de=_0x413924;let _0x29ad9e=Dn(_0x55b18a);if(_0x29ad9e==null)return!0x1;let _0x598195=En(_0x41b578[_0x51f1de(0x308)]??_0x51f1de(0x43a),_0x2dc977,_0x41b578[_0x51f1de(0x24d)]);if(!_0x598195)return!0x1;switch(_0x3d295c){case'is':return _0x29ad9e>=_0x598195[_0x51f1de(0x166)]&&_0x29ad9e<=_0x598195[_0x51f1de(0x3c0)];case'isNot':return _0x29ad9e<_0x598195['start']||_0x29ad9e>_0x598195[_0x51f1de(0x3c0)];case _0x51f1de(0x340):return _0x29ad9e<_0x598195[_0x51f1de(0x166)];case _0x51f1de(0x188):return _0x29ad9e>_0x598195[_0x51f1de(0x3c0)];default:return!0x1;}}function En(_0x55ec71,_0x19df81,_0x260592=Date['now']()){const _0x1ca0bf=_0x413924;let _0x77170d=On(_0x260592);switch(_0x55ec71){case _0x1ca0bf(0x43a):{let _0x145e51=Dn(_0x19df81);return _0x145e51==null?null:{'start':_0x145e51,'end':_0x145e51+V-0x1};}case'today':return{'start':_0x77170d,'end':_0x77170d+V-0x1};case _0x1ca0bf(0x35e):return{'start':_0x77170d+V,'end':_0x77170d+V*0x2-0x1};case _0x1ca0bf(0x125):return{'start':_0x77170d-V,'end':_0x77170d-0x1};case _0x1ca0bf(0x33a):return kn(_0x77170d,0x0);case _0x1ca0bf(0x3a6):return kn(_0x77170d,-0x1);case'thisMonth':return An(_0x77170d,0x0);case _0x1ca0bf(0x1d1):return An(_0x77170d,-0x1);case _0x1ca0bf(0x1aa):return{'start':_0x77170d-V*0x6,'end':_0x77170d+V-0x1};case _0x1ca0bf(0x226):return{'start':_0x77170d,'end':_0x77170d+V*0x7-0x1};case _0x1ca0bf(0x144):return{'start':_0x77170d-V*0x1d,'end':_0x77170d+V-0x1};case _0x1ca0bf(0x3d7):return{'start':_0x77170d,'end':_0x77170d+V*0x1e-0x1};}}function Dn(_0x403eba){let _0x3d4211=un(_0x403eba);return _0x3d4211==null?null:On(ln(_0x3d4211));}function On(_0x104ed7){const _0x5a4b08=_0x413924;let _0x357fe9=new Date(_0x104ed7);return _0x357fe9[_0x5a4b08(0x213)](0x0,0x0,0x0,0x0),_0x357fe9[_0x5a4b08(0x1c4)]();}function kn(_0x4fc516,_0xf603f2){const _0x5b2c68=_0x413924;let _0x3c9c6f=_0x4fc516-(new Date(_0x4fc516)[_0x5b2c68(0x33d)]()+0x6)%0x7*V+_0xf603f2*V*0x7;return{'start':_0x3c9c6f,'end':_0x3c9c6f+V*0x7-0x1};}function An(_0x5d31b8,_0x4491e4){const _0x50fa35=_0x413924;let _0x885752=new Date(_0x5d31b8),_0x7ac8d0=new Date(_0x885752['getFullYear'](),_0x885752[_0x50fa35(0x473)]()+_0x4491e4,0x1),_0x55cc1b=new Date(_0x885752[_0x50fa35(0x37f)](),_0x885752['getMonth']()+_0x4491e4+0x1,0x1);return{'start':_0x7ac8d0['getTime'](),'end':_0x55cc1b[_0x50fa35(0x1c4)]()-0x1};}function jn(_0xb571c4,_0x2e39c3,_0x372c35){let _0x234b6d=Mn(_0xb571c4),_0x10faf0=Mn(_0x372c35);switch(_0x2e39c3){case'is':return _0x234b6d===_0x10faf0;case'isNot':return _0x234b6d!==_0x10faf0;default:return!0x1;}}function Mn(_0x4f35e4){return _0x4f35e4===!0x0||_0x4f35e4==='true'||_0x4f35e4===0x1||_0x4f35e4==='1';}function Nn(_0x53a9a5,_0x36f667,_0x150186,_0x4049f6){const _0x52881c=_0x413924;let _0x34bf7a=In(_0x53a9a5,_0x4049f6),_0x460843=In(_0x150186,_0x4049f6),_0x5afd6d=_0x460843['length']>0x0&&_0x460843['some'](_0x34afe2=>_0x34bf7a[_0x52881c(0x35f)](_0x34afe2));switch(_0x36f667){case'is':case _0x52881c(0x2cb):return _0x5afd6d;case _0x52881c(0x2bc):case _0x52881c(0x32e):return!_0x5afd6d;default:return!0x1;}}function Pn(_0x16bb6e,_0x3bc2f9,_0x3aea0e){const _0x2e7a5b=_0x413924;let _0x3a6592=Fn(_0x16bb6e),_0x56e58f=Fn(_0x3aea0e);switch(_0x3bc2f9){case'is':return _0x3a6592===_0x56e58f;case _0x2e7a5b(0x2bc):return _0x3a6592!==_0x56e58f;case _0x2e7a5b(0x2cb):return _0x56e58f?_0x3a6592['includes'](_0x56e58f):!0x1;case _0x2e7a5b(0x32e):return!_0x56e58f||!_0x3a6592[_0x2e7a5b(0x35f)](_0x56e58f);default:return!0x1;}}function Fn(_0x716d5a){const _0xd87555=_0x413924;if(Array[_0xd87555(0x348)](_0x716d5a))return _0x716d5a[_0xd87555(0x438)](_0xa5ee5b=>Fn(_0xa5ee5b))[_0xd87555(0x4bd)]('\x0a');if(_0x716d5a&&typeof _0x716d5a=='object'){let _0x26b6f6=_0x716d5a;return String(_0x26b6f6[_0xd87555(0x1f9)]??_0x26b6f6[_0xd87555(0x3e5)]??_0x26b6f6[_0xd87555(0x10d)]??_0x26b6f6[_0xd87555(0x277)]??_0x26b6f6['id']??'')['trim']()[_0xd87555(0x358)]();}return String(_0x716d5a??'')[_0xd87555(0x401)]()[_0xd87555(0x358)]();}function In(_0x402fbb,_0xcef5d5){const _0x2a6d65=_0x413924;let _0x296620=Ln(_0x402fbb),_0xff58cc=Rn(_0xcef5d5[_0x2a6d65(0x406)]??{});return _0x296620[_0x2a6d65(0x4ac)](_0x1addac=>_0xff58cc[_0x2a6d65(0x113)](_0x1addac)??[_0x1addac])[_0x2a6d65(0x457)]((_0x3268a1,_0x225287,_0x4c62a1)=>_0x3268a1!==''&&_0x4c62a1[_0x2a6d65(0x3ef)](_0x3268a1)===_0x225287);}function Ln(_0x433664){const _0x3e3146=_0x413924;if(_0x433664==null||_0x433664==='')return[];if(Array['isArray'](_0x433664))return _0x433664[_0x3e3146(0x4ac)](_0x395c69=>Ln(_0x395c69));if(_0x433664&&typeof _0x433664==_0x3e3146(0x441)){let _0xa5b055=_0x433664;return['id',_0x3e3146(0x1f9),_0x3e3146(0x3e5),'value','text'][_0x3e3146(0x4ac)](_0x263e00=>Ln(_0xa5b055[_0x263e00]))['filter']((_0x5a80ee,_0x30d6a9,_0xeead22)=>_0xeead22[_0x3e3146(0x3ef)](_0x5a80ee)===_0x30d6a9);}return[Fn(_0x433664)];}function Rn(_0x5772a6){const _0x555274=_0x413924;let _0x1238a0=new Map();return(Array[_0x555274(0x348)](_0x5772a6[_0x555274(0x1ed)])?_0x5772a6[_0x555274(0x1ed)]:[])[_0x555274(0x248)](_0x2cf1a5=>{const _0x11f8ce=_0x555274;if(!_0x2cf1a5||typeof _0x2cf1a5!=_0x11f8ce(0x441))return;let _0x4db59f=Ln(_0x2cf1a5),_0x3738b0=_0x4db59f[_0x11f8ce(0x457)]((_0x36dd6d,_0x571b2a)=>_0x36dd6d!==''&&_0x4db59f['indexOf'](_0x36dd6d)===_0x571b2a);_0x3738b0[_0x11f8ce(0x248)](_0xca51de=>_0x1238a0['set'](_0xca51de,_0x3738b0));}),_0x1238a0;}function H(_0x2b2ed7,_0x4ae4c5={},_0xec020c=_0x21ebf4=>_0x21ebf4,_0x326007={}){const _0x119287=_0x413924;let _0x2a4494=!_n[_0x119287(0x3cf)](_0x2b2ed7),_0x19baf3=_0xec020c??(_0x4e5b10=>_0x4e5b10);return{'type':_0x2b2ed7,'i18nKey':_0x119287(0x1ad)+_0x2b2ed7,'enabled':_0x2a4494,'visibleInCreateMenu':_0x2a4494,'createDefaultConfig':_0x326007[_0x119287(0x36b)]??(()=>({})),'createDefaultValue':_0x326007[_0x119287(0x225)]??(_0x217fa0=>_0x217fa0[_0x119287(0x43c)]??null),'normalize':(_0x2563e6,_0x46e0e2)=>_0x19baf3(_0x2563e6,_0x46e0e2),'validate':(_0x107a64,_0x4838eb)=>{const _0x3903f2=_0x119287;var _0xfb252e;return _0x2a4494?((_0xfb252e=_0x326007[_0x3903f2(0x3df)])==null?void 0x0:_0xfb252e[_0x3903f2(0x157)](_0x326007,_0x107a64,_0x4838eb))??{'valid':!0x0}:{'valid':!0x1};},'compare':(_0x23daff,_0x3463f8)=>bn(_0x23daff,_0x3463f8),'filter':(_0x234918,_0x4561c8,_0x180f88,_0x3a5c71)=>xn(_0x234918,_0x4561c8,_0x180f88,_0x3a5c71),'toPlainText':_0x326007['toPlainText']??(_0x330cee=>_0x330cee==null?'':String(_0x330cee)),'fromPlainText':_0x326007[_0x119287(0x45e)]??(_0x5384c9=>_0x19baf3(_0x5384c9,{'id':'','name':'','type':_0x2b2ed7,'config':{}})),'getCapabilities':()=>({...gn,..._0x4ae4c5,'editable':_0x2a4494&&(_0x4ae4c5['editable']??gn[_0x119287(0x15f)])})};}function zn(){const _0x4e63b1=_0x413924;return[H(_0x39ba8f[_0x4e63b1(0x496)],{'groupable':!0x0,'usableAsTitle':!0x0},void 0x0,{'createDefaultConfig':()=>({'placeholder':_0x4e63b1(0x199)}),'createDefaultValue':_0x58d9c4=>_0x58d9c4[_0x4e63b1(0x43c)]??''}),H(_0x39ba8f[_0x4e63b1(0x183)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsOptions':!0x0},_0xd105ed=>_0xd105ed==null||_0xd105ed===''?null:String(_0xd105ed),{'createDefaultConfig':()=>({'options':[],'optionSource':{'type':_0x4e63b1(0x423)}})}),H(_0x39ba8f[_0x4e63b1(0x40c)],{'filterable':!0x0,'usableAsKanbanGroup':!0x0,'supportsOptions':!0x0,'supportsMultipleValues':!0x0},_0x52db57=>Array[_0x4e63b1(0x348)](_0x52db57)?_0x52db57[_0x4e63b1(0x438)](String):_0x52db57==null?[]:[String(_0x52db57)],{'createDefaultConfig':()=>({'options':[],'optionSource':{'type':'manual'}}),'createDefaultValue':_0x2087f3=>_0x2087f3['defaultValue']??[]}),H(_0x39ba8f[_0x4e63b1(0x3e7)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsMultipleValues':!0x0},Wn,{'createDefaultConfig':()=>({'allowMultiple':!0x1,'provider':_0x4e63b1(0x1e1)}),'validate':Gn}),H(_0x39ba8f[_0x4e63b1(0x14f)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsMultipleValues':!0x0},Hn,{'createDefaultConfig':()=>({'allowMultiple':!0x0,'provider':_0x4e63b1(0x151)}),'createDefaultValue':_0x267bf3=>_0x267bf3['defaultValue']??[],'validate':Kn}),H(_0x39ba8f[_0x4e63b1(0x2c9)],{'groupable':!0x0,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x2045f8=>un(_0x2045f8),{'createDefaultConfig':()=>Vn(),'validate':qn}),H(_0x39ba8f['Attachment'],{'usableAsCardCover':!0x0,'supportsMultipleValues':!0x0},_0x29f892=>_0x29f892==null?[]:Array[_0x4e63b1(0x348)](_0x29f892)?_0x29f892:[_0x29f892],{'createDefaultValue':_0x3bd34f=>_0x3bd34f[_0x4e63b1(0x43c)]??[]}),H(_0x39ba8f[_0x4e63b1(0x21b)],{},_0x821666=>_0x821666==null||_0x821666===''?null:Number(_0x821666),{'createDefaultConfig':()=>Bn(),'validate':Jn}),H(_0x39ba8f[_0x4e63b1(0x15d)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0},_0x569dce=>_0x569dce===!0x0||_0x569dce===_0x4e63b1(0x436)||_0x569dce===0x1||_0x569dce==='1',{'createDefaultConfig':()=>({'icon':_0x4e63b1(0x343),'color':'#16a34a'}),'createDefaultValue':_0x5c6662=>_0x5c6662['defaultValue']??!0x1,'validate':_0x5d8ed6=>typeof _0x5d8ed6==_0x4e63b1(0x4d9)?{'valid':!0x0}:{'valid':!0x1,'reason':_0x4e63b1(0x173)}}),H(_0x39ba8f['Link'],{'supportsRelation':!0x0},Xn,{'createDefaultConfig':()=>({'placeholder':_0x4e63b1(0x12d)}),'toPlainText':_0x17f9d1=>Zn(_0x17f9d1),'fromPlainText':_0x627160=>Xn(_0x627160)}),H(_0x39ba8f[_0x4e63b1(0x1fa)],{'editable':!0x1},void 0x0,{'createDefaultConfig':()=>({'formula':'','dependencies':[],'numfmt':{'type':_0x4e63b1(0x33e),'pattern':_0x4e63b1(0x293)}}),'createDefaultValue':()=>null}),H(_0x39ba8f[_0x4e63b1(0x20e)],{'editable':!0x1,'usableAsTitle':!0x0},void 0x0,{'createDefaultConfig':()=>({'mode':_0x4e63b1(0x42b)}),'createDefaultValue':()=>null}),H(_0x39ba8f[_0x4e63b1(0x4c6)],{'usableAsTitle':!0x0},_0x16369f=>_0x16369f==null?null:String(_0x16369f)[_0x4e63b1(0x401)](),{'validate':_0x15c3ee=>_0x15c3ee==null||_0x15c3ee===''||/^\+?[0-9 ()-]{6,20}$/[_0x4e63b1(0x114)](String(_0x15c3ee))?{'valid':!0x0}:{'valid':!0x1,'reason':_0x4e63b1(0x18a)}}),H(_0x39ba8f[_0x4e63b1(0x290)],{'usableAsTitle':!0x0},_0x35e5f3=>_0x35e5f3==null?null:String(_0x35e5f3)[_0x4e63b1(0x401)](),{'validate':_0x1f2705=>_0x1f2705==null||_0x1f2705===''||$n(String(_0x1f2705))?{'valid':!0x0}:{'valid':!0x1,'reason':'[BaseField]:\x20invalid\x20email\x20value.'}}),H(_0x39ba8f[_0x4e63b1(0x1a0)],{'usableAsGanttProgress':!0x0},_0x36184d=>_0x36184d==null||_0x36184d===''?null:Number(_0x36184d),{'createDefaultConfig':()=>({'format':_0x4e63b1(0x44e),'decimalPlaces':0x0,'color':'blue','customRange':!0x1,'start':0x0,'end':0x64}),'validate':(_0x558ddf,_0x55a96f)=>Yn(_0x558ddf,_0x55a96f,_0x4e63b1(0x2d7))}),H(_0x39ba8f[_0x4e63b1(0x374)],{},_0xdebab5=>_0xdebab5==null||_0xdebab5===''?null:Number(_0xdebab5),{'createDefaultConfig':()=>({...Bn(),'currencySymbol':'$'}),'validate':Jn}),H(_0x39ba8f['Rating'],{'groupable':!0x0,'usableAsKanbanGroup':!0x0},_0xf0e934=>_0xf0e934==null||_0xf0e934===''?null:Number(_0xf0e934),{'createDefaultConfig':()=>({'icon':_0x4e63b1(0x35b),'min':0x1,'max':0x5}),'createDefaultValue':()=>null,'validate':(_0x431604,_0x3a6ebb)=>Yn(_0x431604,_0x3a6ebb,_0x4e63b1(0x4cd))}),H(_0x39ba8f['RecordLink'],{'supportsRelation':!0x0,'supportsMultipleValues':!0x0},Un,{'createDefaultConfig':()=>({'targetTableId':'','multiple':!0x1}),'createDefaultValue':()=>'','validate':(_0x3a9e1f,_0x3ec939)=>ze(_0x3a9e1f,_0x3ec939[_0x4e63b1(0x406)][_0x4e63b1(0x41b)]===!0x0)}),H(_0x39ba8f[_0x4e63b1(0x216)],{'editable':!0x1,'sortable':!0x0,'filterable':!0x0,'usableAsTitle':!0x0}),H(_0x39ba8f['CreatedBy'],{'editable':!0x1,'groupable':!0x0},_0x4904cc=>_0x4904cc==null?null:String(_0x4904cc),{'createDefaultConfig':()=>({'provider':'user'}),'createDefaultValue':()=>null}),H(_0x39ba8f['UpdatedBy'],{'editable':!0x1,'groupable':!0x0},_0x339ce3=>_0x339ce3==null?null:String(_0x339ce3),{'createDefaultConfig':()=>({'provider':'user'}),'createDefaultValue':()=>null}),H(_0x39ba8f[_0x4e63b1(0x3b2)],{'editable':!0x1,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x31595a=>un(_0x31595a),{'createDefaultConfig':()=>Vn(),'createDefaultValue':()=>null,'validate':qn}),H(_0x39ba8f[_0x4e63b1(0x1b6)],{'editable':!0x1,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x457a2e=>un(_0x457a2e),{'createDefaultConfig':()=>Vn(),'createDefaultValue':()=>null,'validate':qn})];}function Bn(){const _0x32df62=_0x413924;return{'pattern':_0x32df62(0x2a0),'decimalPlaces':0x2,'separatorStyle':_0x32df62(0x373),'useThousands':!0x0,'abbreviation':_0x32df62(0x48b),'allowNegative':!0x0};}function Vn(){const _0xf56847=_0x413924;return{'locale':_0xf56847(0x2c8),'pattern':_0xf56847(0x33c),'includeTime':!0x1,'hourCycle':_0xf56847(0x37b),'defaultMode':_0xf56847(0x48b)};}function Hn(_0x2621cf){const _0x50dd18=_0x413924;return _0x2621cf==null||_0x2621cf===''?[]:Array['isArray'](_0x2621cf)?_0x2621cf[_0x50dd18(0x438)](String):[String(_0x2621cf)];}function Un(_0x2f4e19){const _0x1c8c21=_0x413924;return typeof _0x2f4e19==_0x1c8c21(0x3f0)?_0x2f4e19:'';}function Wn(_0x4f14d2,_0x25d144){const _0x58b3dd=_0x413924;return _0x4f14d2==null||_0x4f14d2===''?_0x25d144[_0x58b3dd(0x406)][_0x58b3dd(0x35c)]===!0x0?[]:null:_0x25d144[_0x58b3dd(0x406)]['allowMultiple']===!0x0?Array[_0x58b3dd(0x348)](_0x4f14d2)?_0x4f14d2[_0x58b3dd(0x438)](String):[String(_0x4f14d2)]:Array[_0x58b3dd(0x348)](_0x4f14d2)?String(_0x4f14d2[0x0]??'')||null:String(_0x4f14d2);}function Gn(_0x480ad8,_0x50cfcc){const _0x283329=_0x413924;return _0x50cfcc['config'][_0x283329(0x35c)]===!0x0?Kn(_0x480ad8):_0x480ad8==null||_0x480ad8===''||typeof _0x480ad8==_0x283329(0x3f0)?{'valid':!0x0}:{'valid':!0x1,'reason':_0x283329(0x429)};}function Kn(_0x16f232){const _0x6a186=_0x413924;return _0x16f232==null||Array['isArray'](_0x16f232)&&_0x16f232['every'](_0x2aaaca=>typeof _0x2aaaca==_0x6a186(0x3f0))?{'valid':!0x0}:{'valid':!0x1,'reason':_0x6a186(0x22b)};}function qn(_0x105091){const _0x3e35bd=_0x413924;return _0x105091==null||typeof _0x105091=='number'&&Number['isFinite'](_0x105091)?{'valid':!0x0}:{'valid':!0x1,'reason':_0x3e35bd(0x2c1)};}function Jn(_0xf19393,_0x4db25d){const _0xcbd088=_0x413924;return _0xf19393==null||_0xf19393===''?{'valid':!0x0}:typeof _0xf19393!=_0xcbd088(0x42c)||!Number[_0xcbd088(0x479)](_0xf19393)?{'valid':!0x1,'reason':_0xcbd088(0x27a)}:_0x4db25d[_0xcbd088(0x406)][_0xcbd088(0x270)]===!0x1&&_0xf19393<0x0?{'valid':!0x1,'reason':_0xcbd088(0x2b4)}:{'valid':!0x0};}function Yn(_0x3a1d94,_0x3dc931,_0x5e6d98){const _0x5c606a=_0x413924;let _0x28408e=Jn(_0x3a1d94,_0x3dc931);if(!_0x28408e[_0x5c606a(0x3e2)]||_0x3a1d94==null||_0x3a1d94==='')return _0x28408e;let _0x109165=Number(_0x3dc931[_0x5c606a(0x406)][_0x5c606a(0x256)]??_0x3dc931[_0x5c606a(0x406)][_0x5c606a(0x166)]??0x0),_0x40f828=Number(_0x3dc931[_0x5c606a(0x406)][_0x5c606a(0x487)]??_0x3dc931['config']['end']??0x64),_0x22badc=Number(_0x3a1d94);return _0x22badc>=_0x109165&&_0x22badc<=_0x40f828?{'valid':!0x0}:{'valid':!0x1,'reason':_0x5e6d98};}function Xn(_0x4bca1d){const _0x255d84=_0x413924;if(_0x4bca1d==null||_0x4bca1d==='')return null;if(typeof _0x4bca1d==_0x255d84(0x441)&&!Array[_0x255d84(0x348)](_0x4bca1d)){let _0x4cc44d=_0x4bca1d,_0x11ccee=typeof _0x4cc44d[_0x255d84(0x10d)]=='string'?_0x4cc44d[_0x255d84(0x10d)]['trim']():'',_0x110d86=typeof _0x4cc44d[_0x255d84(0x194)]==_0x255d84(0x3f0)?_0x4cc44d[_0x255d84(0x194)]['trim']():'',_0x4c14e1=Qn(_0x110d86||_0x11ccee);return _0x4c14e1?{'text':_0x11ccee||_0x110d86||_0x4c14e1,'url':_0x4c14e1}:null;}let _0x180f76=String(_0x4bca1d)[_0x255d84(0x401)](),_0x1d40c6=Qn(_0x180f76);return _0x1d40c6?{'text':_0x180f76,'url':_0x1d40c6}:null;}function Zn(_0x258901){const _0x1c1297=_0x413924;if(_0x258901==null)return'';if(typeof _0x258901==_0x1c1297(0x441)&&!Array['isArray'](_0x258901)){let _0x5f5ad5=_0x258901;return String(_0x5f5ad5[_0x1c1297(0x10d)]||_0x5f5ad5['url']||'');}return String(_0x258901);}function Qn(_0x56a1e0){const _0x227596=_0x413924;let _0x116bed=_0x56a1e0[_0x227596(0x401)]();if(!_0x116bed)return'';let _0x84810f=/^[a-z][a-z\d+.-]*:/i[_0x227596(0x114)](_0x116bed)?_0x116bed:_0x116bed['startsWith']('//')?'https:'+_0x116bed:'https://'+_0x116bed;try{let _0x268278=new URL(_0x84810f);return _0x268278['protocol']===_0x227596(0x49f)||_0x268278[_0x227596(0x275)]===_0x227596(0x1b1)?_0x268278[_0x227596(0x168)]:'';}catch{return'';}}function $n(_0x589958){const _0x17c9be=_0x413924;let _0x1f31a1=_0x589958[_0x17c9be(0x3ef)]('@');if(_0x1f31a1<=0x0||_0x1f31a1!==_0x589958['lastIndexOf']('@'))return!0x1;let _0x142cc0=_0x589958[_0x17c9be(0x3a7)](_0x1f31a1+0x1);return _0x142cc0['includes']('.')&&!_0x589958['includes']('\x20')&&!_0x142cc0['startsWith']('.')&&!_0x142cc0[_0x17c9be(0x27b)]('.');}const U={'table':_0x5863d2=>[_0x413924(0x28d),_0x5863d2],'field':(_0x4d4a91,_0x37a630)=>[_0x413924(0x28d),_0x4d4a91,_0x413924(0x175),_0x37a630],'fieldOrder':(_0x559d3c,_0x3b2058)=>['tables',_0x559d3c,'fieldOrder',_0x3b2058],'record':(_0x2b5aa8,_0x72a5e9)=>['tables',_0x2b5aa8,'records',_0x72a5e9],'cell':(_0xfde95,_0xe89cf0,_0x1f5126)=>[_0x413924(0x28d),_0xfde95,'records',_0xe89cf0,_0x413924(0x4ae),_0x1f5126],'cellData':(_0x2b739d,_0x33d77a,_0x32cec9)=>['tables',_0x2b739d,'cellData',String(_0x33d77a),String(_0x32cec9)],'attachmentSet':(_0x2d4b72,_0x3b1b09)=>[_0x413924(0x28d),_0x2d4b72,_0x413924(0x228),_0x413924(0x4c9),_0x3b1b09],'attachment':(_0x398977,_0x1567f4)=>[_0x413924(0x28d),_0x398977,_0x413924(0x228),_0x413924(0x28c),_0x1567f4],'view':(_0x122ea2,_0x21528f)=>['tables',_0x122ea2,_0x413924(0x379),_0x21528f],'viewFieldHidden':(_0x43c113,_0x277a2e,_0x2423e6)=>[_0x413924(0x28d),_0x43c113,_0x413924(0x379),_0x277a2e,_0x413924(0x468),_0x2423e6,_0x413924(0x287)]};var W=class{[_0x413924(0x419)](_0x283cd9,_0x3c977b){const _0x2812b4=_0x413924;let _0x34b8cd=this[_0x2812b4(0x264)](_0x283cd9,_0x283cd9[_0x2812b4(0x1f9)],_0x3c977b);return R([this[_0x2812b4(0x39a)](['name'],_0x283cd9['name'],_0x3c977b),..._0x34b8cd?[_0x34b8cd]:[]]);}['renameFormulaUnitReferences'](_0x57c27b,_0x16ebf4,_0x786075){const _0x3f3f1f=_0x413924;let _0xefcf5=Object['values'](_0x57c27b[_0x3f3f1f(0x28d)])['flatMap'](_0x276d24=>Object[_0x3f3f1f(0x4ae)](_0x276d24[_0x3f3f1f(0x175)])[_0x3f3f1f(0x4ac)](_0x3f22d0=>{const _0x4056ec=_0x3f3f1f;var _0xdf8443,_0x112958;if(_0x3f22d0[_0x4056ec(0x378)]!==_0x39ba8f[_0x4056ec(0x1fa)])return[];let _0x241729=String(((_0xdf8443=_0x3f22d0['config'])==null?void 0x0:_0xdf8443['formula'])??''),_0x3f6589=_0x4c0fd4(_0x241729,_0x16ebf4,_0x786075);return _0x3f6589===_0x241729?[]:[this['_replaceOptional']([...U[_0x4056ec(0x2b7)](_0x276d24['id'],_0x3f22d0['id']),'config',_0x4056ec(0x49b)],(_0x112958=_0x3f22d0[_0x4056ec(0x406)])==null?void 0x0:_0x112958[_0x4056ec(0x49b)],_0x3f6589)];}));return _0xefcf5[_0x3f3f1f(0x4be)]>0x0?R(_0xefcf5):void 0x0;}['createTable'](_0x5c9c0a,_0x2c9e5f,_0x374c4d=_0x5c9c0a[_0x413924(0x2af)][_0x413924(0x4be)]){const _0x15bb3e=_0x413924;let _0x3b5c3b=_0x4128dd(_0x2c9e5f[_0x15bb3e(0x1f9)],_0x429055(_0x5c9c0a)[_0x15bb3e(0x4ae)](),_0x2c9e5f[_0x15bb3e(0x150)]),_0x4b80f1=_0x2c9e5f[_0x15bb3e(0x150)]===_0x3b5c3b?_0x2c9e5f:{..._0x2c9e5f,'formulaName':_0x3b5c3b};return R([...this[_0x15bb3e(0x19d)](_0x5c9c0a),_0x2c18c4[_0x15bb3e(0x4a5)](U[_0x15bb3e(0x246)](_0x2c9e5f['id']),_0x4b80f1),_0x2c18c4['insertOp']([_0x15bb3e(0x2af),_0x374c4d],_0x2c9e5f['id'])]);}['renameTable'](_0x795ca,_0x3020dc,_0x154a12){const _0x52e407=_0x413924;let _0x17a376=_0x795ca['tables'][_0x3020dc];return R([...this[_0x52e407(0x19d)](_0x795ca),_0x2c18c4[_0x52e407(0x41c)]([...U['table'](_0x3020dc),_0x52e407(0x1f9)],_0x17a376[_0x52e407(0x1f9)],_0x154a12)]);}[_0x413924(0x390)](_0x28e409,_0x11dc0a){const _0xb4c5e2=_0x413924;let _0x341d6e=_0x28e409['tables'][_0x11dc0a],_0x36816d=_0x28e409[_0xb4c5e2(0x2af)][_0xb4c5e2(0x3ef)](_0x11dc0a);return R([...this['_materializeFormulaTableNames'](_0x28e409,new Set([_0x11dc0a])),_0x2c18c4['removeOp'](U['table'](_0x11dc0a),_0x341d6e),_0x2c18c4[_0xb4c5e2(0x458)](['tableOrder',_0x36816d],_0x11dc0a)]);}[_0x413924(0x484)](_0x38acd4,_0x3daede,_0x11b5e4){const _0x5366f7=_0x413924;return this[_0x5366f7(0x350)](_0x38acd4,_0x3daede,[_0x11b5e4]);}[_0x413924(0x350)](_0x515e23,_0x183320,_0x3cad7a){const _0x18831a=_0x413924;let _0x3dcc40=_0x515e23[_0x18831a(0x28d)][_0x183320],_0x49fe30=_0x3cad7a[_0x18831a(0x457)](_0x22c718=>_0x22c718&&!_0x3dcc40['records'][_0x22c718['id']])[_0x18831a(0x438)](_0x100334=>({..._0x100334,'values':{..._0x100334[_0x18831a(0x4ae)],[_0x3f46af]:_0x100334['id']}}));if(!_0x49fe30[_0x18831a(0x4be)])return _0x2c18c4[_0x18831a(0x41c)]([...U[_0x18831a(0x246)](_0x183320),_0x18831a(0x3b4)],_0x3dcc40['records'],_0x3dcc40[_0x18831a(0x3b4)]);let _0x110382=new _0x2c18c4[(_0x18831a(0x182))](),_0x3da5d7=[..._0x49fe30]['sort']((_0x3fdc2f,_0x5db966)=>_0x3fdc2f['id']<_0x5db966['id']?-0x1:+(_0x3fdc2f['id']>_0x5db966['id'])),_0x216bd2=[...U[_0x18831a(0x246)](_0x183320),_0x18831a(0x3b4)];_0x110382[_0x18831a(0x115)](_0x216bd2);for(let _0x43cd8c of _0x3da5d7)_0x110382[_0x18831a(0x18e)](_0x43cd8c['id']),_0x110382[_0x18831a(0x15a)]('i',_0x43cd8c),_0x110382[_0x18831a(0x2f3)]();for(let _0xda3431=0x0;_0xda3431<_0x216bd2[_0x18831a(0x4be)];_0xda3431+=0x1)_0x110382[_0x18831a(0x2f3)]();return R([_0x110382[_0x18831a(0x113)](),this[_0x18831a(0x2da)](_0x515e23,_0x183320,_0x49fe30)]);}[_0x413924(0x31a)](_0x3bb444,_0x13a66f,_0x1541f3){const _0x31da13=_0x413924;return this[_0x31da13(0x1a3)](_0x3bb444,_0x13a66f,[_0x1541f3]);}[_0x413924(0x1a3)](_0xe94104,_0x796f30,_0x3e5276){const _0x2aa050=_0x413924;let _0x2c1df8=_0xe94104[_0x2aa050(0x28d)][_0x796f30],_0x2113f4=Array[_0x2aa050(0x2f6)](new Set(_0x3e5276))[_0x2aa050(0x457)](_0x10df68=>_0x2c1df8[_0x2aa050(0x3b4)][_0x10df68]);if(!_0x2113f4[_0x2aa050(0x4be)])return _0x2c18c4[_0x2aa050(0x41c)]([...U[_0x2aa050(0x246)](_0x796f30),_0x2aa050(0x3b4)],_0x2c1df8[_0x2aa050(0x3b4)],_0x2c1df8[_0x2aa050(0x3b4)]);let _0xdb3ccf=new Set(_0x2113f4),_0x35eab4=et(_0x2c1df8,_0x2113f4)['map'](_0x1111a1=>this['updateCell'](_0xe94104,_0x796f30,_0x1111a1[_0x2aa050(0x170)],_0x1111a1[_0x2aa050(0x1c3)],''));return R([this[_0x2aa050(0x1d0)](_0xe94104,_0x796f30,_0x2113f4,_0xdb3ccf),..._0x35eab4]);}[_0x413924(0x241)](_0x14f91c,_0x2812cb,_0x475744,_0x230a8a){const _0x1441a8=_0x413924;let _0x127c8d=_0x14f91c[_0x1441a8(0x28d)][_0x475744],_0x12d4a6=Array['from'](new Set(_0x230a8a))['filter'](_0xeed7d6=>_0x127c8d[_0x1441a8(0x3b4)][_0xeed7d6]),_0x3731b2=new Set(_0x12d4a6);return R([new z()[_0x1441a8(0x447)](_0x14f91c,this[_0x1441a8(0x1d0)](_0x14f91c,_0x475744,_0x12d4a6,_0x3731b2)),...et(_0x127c8d,_0x12d4a6)[_0x1441a8(0x438)](_0x56c1cb=>this['updateCell'](_0x2812cb,_0x475744,_0x56c1cb['recordId'],_0x56c1cb['fieldId'],_0x56c1cb['oldParentRecordId']??''))]);}['_deleteRecordsBaseOp'](_0x1801be,_0x3965ab,_0x1a58da,_0x49b896){const _0xb8d493=_0x413924;let _0x2c1704=_0x1801be[_0xb8d493(0x28d)][_0x3965ab],_0x2fbd76=_0x1a58da[_0xb8d493(0x438)](_0x5c7a92=>{const _0x5d27fc=_0xb8d493;var _0x8b6f58;return{'recordId':_0x5c7a92,'index':((_0x8b6f58=_0x2c1704[_0x5d27fc(0x1c6)])==null?void 0x0:_0x8b6f58['indexOf'](_0x5c7a92))??-0x1};})[_0xb8d493(0x457)](_0x178b62=>_0x178b62[_0xb8d493(0x319)]>=0x0)[_0xb8d493(0x116)]((_0x1b084b,_0x2c081a)=>_0x2c081a[_0xb8d493(0x319)]-_0x1b084b[_0xb8d493(0x319)]);return R([..._0x1a58da['map'](_0x5f330a=>_0x2c18c4[_0xb8d493(0x458)](U[_0xb8d493(0x1cf)](_0x3965ab,_0x5f330a),_0x2c1704['records'][_0x5f330a])),..._0x2fbd76[_0xb8d493(0x438)](({recordId:_0x376702,index:_0x5e0b10})=>_0x2c18c4[_0xb8d493(0x458)]([_0xb8d493(0x28d),_0x3965ab,_0xb8d493(0x1c6),_0x5e0b10],_0x376702)),...this['_deleteAttachmentResources'](_0x2c1704,_0x3965ab,_0xc0c552=>{const _0x23bdf4=_0xb8d493;let _0x37ad38=_0xc0c552[_0x23bdf4(0x3a7)](_0xc0c552[_0x23bdf4(0x2b6)]('\x1f')+0x1);return _0x49b896['has'](_0x37ad38);})]);}[_0x413924(0x283)](_0x1369e0,_0x1ba603,_0x525d1c,_0xf87c9f){const _0x2be0c0=_0x413924;return this[_0x2be0c0(0x484)](_0x1369e0,_0x1ba603,{..._0xf87c9f,'values':{..._0x1369e0['tables'][_0x1ba603]['records'][_0x525d1c]['values'],..._0xf87c9f[_0x2be0c0(0x4ae)],[_0x3f46af]:_0xf87c9f['id']}});}['updateRecordOrder'](_0x44af3f,_0x8b9de1,_0x5443d5,_0x4b1a93){const _0x522d9c=_0x413924;let _0x26fe28=_0x44af3f[_0x522d9c(0x28d)][_0x8b9de1],_0x47171b=[...U['record'](_0x8b9de1,_0x5443d5),_0x522d9c(0x124)],_0x153273=Object[_0x522d9c(0x4ae)](_0x26fe28[_0x522d9c(0x3b4)])['map'](_0x41049=>_0x41049['id']===_0x5443d5?{..._0x41049,'orderKey':_0x4b1a93}:_0x41049)[_0x522d9c(0x116)]((_0x3db91d,_0x18c339)=>String(_0x3db91d[_0x522d9c(0x124)]??_0x3db91d['id'])['localeCompare'](String(_0x18c339[_0x522d9c(0x124)]??_0x18c339['id'])))[_0x522d9c(0x438)](_0x2f7954=>_0x2f7954['id']),_0x4875c9=[...U[_0x522d9c(0x246)](_0x8b9de1),'recordOrder'];return R([this['_replaceOptional'](_0x47171b,_0x26fe28[_0x522d9c(0x3b4)][_0x5443d5][_0x522d9c(0x124)],_0x4b1a93),_0x26fe28['recordOrder']?_0x2c18c4[_0x522d9c(0x41c)](_0x4875c9,_0x26fe28[_0x522d9c(0x1c6)],_0x153273):_0x2c18c4[_0x522d9c(0x4a5)](_0x4875c9,_0x153273)]);}[_0x413924(0x301)](_0x109712,_0x2fa415,_0x1e5ae1,_0x5dca7a,_0x4d0165){const _0x5f31fb=_0x413924;var _0x1c049c,_0x3d4d6f;let _0x503195=_0x109712['tables'][_0x2fa415],_0x32a1a3=ar(_0x503195,_0x1e5ae1,_0x5dca7a)?_0x503195:L(_0x503195),_0x3a1141=(_0x1c049c=_0x32a1a3[_0x5f31fb(0x12b)])==null?void 0x0:_0x1c049c[_0x1e5ae1],_0x4ff871=(_0x3d4d6f=_0x32a1a3[_0x5f31fb(0x4a2)])==null?void 0x0:_0x3d4d6f[_0x5dca7a];if(_0x3a1141==null||_0x4ff871==null){var _0x11dee0;return this['_replaceOptional'](U['cell'](_0x2fa415,_0x1e5ae1,_0x5dca7a),(_0x11dee0=_0x109712[_0x5f31fb(0x28d)][_0x2fa415])==null||(_0x11dee0=_0x11dee0[_0x5f31fb(0x3b4)][_0x1e5ae1])==null?void 0x0:_0x11dee0[_0x5f31fb(0x4ae)][_0x5dca7a],_0x4d0165);}return this['setRangeValues'](_0x109712,_0x2fa415,[{'row':_0x3a1141,'col':_0x4ff871,'value':_0x4d0165}]);}[_0x413924(0x1de)](_0x490aae,_0x2ff647,_0x5bf50e){const _0x4affe8=_0x413924;let _0x29ac72=_0x490aae[_0x4affe8(0x28d)][_0x2ff647],_0xbcfcc4=_0x5bf50e['every'](_0x5c0a13=>Object[_0x4affe8(0x3a2)](_0x5c0a13[_0x4affe8(0x4ae)])['every'](_0x3c4967=>ar(_0x29ac72,_0x5c0a13[_0x4affe8(0x170)],_0x3c4967)))?_0x29ac72:L(_0x29ac72),_0x438ebb=_0x5bf50e['flatMap'](_0x45fc47=>Object['entries'](_0x45fc47[_0x4affe8(0x4ae)])[_0x4affe8(0x4ac)](([_0xea65c,_0x6d1d2f])=>{const _0x18be51=_0x4affe8;var _0x21a73a,_0x413e62;let _0x3f3900=(_0x21a73a=_0xbcfcc4[_0x18be51(0x12b)])==null?void 0x0:_0x21a73a[_0x45fc47[_0x18be51(0x170)]],_0x1daa97=(_0x413e62=_0xbcfcc4[_0x18be51(0x4a2)])==null?void 0x0:_0x413e62[_0xea65c];return _0x3f3900==null||_0x1daa97==null?[]:[{'row':_0x3f3900,'col':_0x1daa97,'value':_0x6d1d2f}];})),_0xa67472=_0x5bf50e['flatMap'](_0x4eb42f=>Object['entries'](_0x4eb42f[_0x4affe8(0x1b2)]??{})[_0x4affe8(0x438)](([_0x35a980,_0x20cf08])=>{const _0x1099f3=_0x4affe8;var _0x20a799;let _0x26e858=[...U[_0x1099f3(0x1cf)](_0x2ff647,_0x4eb42f[_0x1099f3(0x170)]),_0x35a980],_0x5c9199=(_0x20a799=_0x490aae[_0x1099f3(0x28d)][_0x2ff647])==null||(_0x20a799=_0x20a799[_0x1099f3(0x3b4)][_0x4eb42f[_0x1099f3(0x170)]])==null?void 0x0:_0x20a799[_0x35a980];return this[_0x1099f3(0x39a)](_0x26e858,_0x5c9199,_0x20cf08);}));return R([this['setRangeValues'](_0x490aae,_0x2ff647,_0x438ebb),..._0xa67472]);}[_0x413924(0x153)](_0x38b477,_0x2354f2,_0x48f95b){const _0xde580c=_0x413924;let _0x4709b5=_0x38b477['tables'][_0x2354f2],_0x59a1ee=_0x48f95b['every'](_0x38b4de=>or(_0x4709b5,_0x38b4de[_0xde580c(0x47c)],_0x38b4de['col']))?_0x4709b5:L(_0x4709b5),_0x219357=new Map(),_0x40a8d5=_0x48f95b[_0xde580c(0x4ac)](_0x406905=>{const _0x8f2969=_0xde580c;var _0x3290fc,_0x5ca134,_0x1a5899,_0x3a83f9;let _0x6f97ea=(_0x3290fc=_0x59a1ee[_0x8f2969(0x16c)])==null?void 0x0:_0x3290fc[_0x406905[_0x8f2969(0x44d)]],_0x4ea7f1=(_0x5ca134=_0x59a1ee[_0x8f2969(0x3ce)])==null?void 0x0:_0x5ca134[_0x406905[_0x8f2969(0x47c)]],_0x37e1db=_0x6f97ea?_0x59a1ee[_0x8f2969(0x175)][_0x6f97ea]:void 0x0;if(_0x6f97ea===_0x3f46af||(_0x37e1db==null?void 0x0:_0x37e1db[_0x8f2969(0x378)])===_0x39ba8f[_0x8f2969(0x216)])throw Error(_0x8f2969(0x427));let _0x2fbd65=xt(_0x406905['value'],_0x37e1db),_0x157d0c=(_0x1a5899=_0x59a1ee[_0x8f2969(0x260)])==null||(_0x1a5899=_0x1a5899[_0x406905[_0x8f2969(0x47c)]])==null?void 0x0:_0x1a5899[_0x406905[_0x8f2969(0x44d)]],_0x1520b4=this[_0x8f2969(0x39a)](U[_0x8f2969(0x260)](_0x2354f2,_0x406905[_0x8f2969(0x47c)],_0x406905[_0x8f2969(0x44d)]),_0x157d0c,_0x2fbd65);if(!_0x6f97ea||!_0x4ea7f1)return[_0x1520b4];let _0x4e1221=(_0x3a83f9=_0x59a1ee[_0x8f2969(0x3b4)][_0x4ea7f1])==null?void 0x0:_0x3a83f9['values'][_0x6f97ea],_0x31e593=(_0x37e1db==null?void 0x0:_0x37e1db['type'])===_0x39ba8f[_0x8f2969(0x2ba)]?kt(_0x406905[_0x8f2969(0x277)]):wt(_0x406905[_0x8f2969(0x277)],_0x2fbd65,_0x37e1db,_0x59a1ee,_0x4ea7f1),_0x41ced9=[_0x1520b4,this[_0x8f2969(0x39a)](U[_0x8f2969(0x3c4)](_0x2354f2,_0x4ea7f1,_0x6f97ea),_0x4e1221,_0x31e593)];return(_0x37e1db==null?void 0x0:_0x37e1db['type'])===_0x39ba8f[_0x8f2969(0x2ba)]&&_0x219357['set'](Et(_0x6f97ea,_0x4ea7f1),{'recordId':_0x4ea7f1,'fieldId':_0x6f97ea,'attachments':_0x31e593}),_0x41ced9;});return _0x40a8d5['length']?R([..._0x40a8d5,...this['_setAttachmentResources'](_0x59a1ee,_0x2354f2,Array[_0xde580c(0x2f6)](_0x219357[_0xde580c(0x4ae)]()))]):_0x2c18c4['replaceOp']([_0xde580c(0x28d),_0x2354f2,'cellData'],_0x59a1ee[_0xde580c(0x260)],_0x59a1ee[_0xde580c(0x260)]);}[_0x413924(0x4d5)](_0xb07499,_0x27da21,_0x429820){const _0x96446c=_0x413924;let _0xb7a48e=_0xb07499['tables'][_0x27da21];if(_0xb7a48e['fields'][_0x429820[_0x96446c(0x2b7)]['id']]||_0xb7a48e[_0x96446c(0x3fc)]['includes'](_0x429820[_0x96446c(0x2b7)]['id']))return _0x2c18c4['replaceOp']([_0x96446c(0x28d),_0x27da21,_0x96446c(0x3fc)],_0xb7a48e['fieldOrder'],_0xb7a48e[_0x96446c(0x3fc)]);let _0x44263b=Math[_0x96446c(0x487)](0x1,_0x429820[_0x96446c(0x319)]??_0xb7a48e[_0x96446c(0x3fc)][_0x96446c(0x4be)]),_0x41eedb=Object['values'](_0xb7a48e[_0x96446c(0x379)]??{})[_0x96446c(0x4ac)](_0x54b6f5=>{const _0xfcbee5=_0x96446c;var _0x351e11;if(!_0x54b6f5[_0xfcbee5(0x3fc)]||_0x54b6f5[_0xfcbee5(0x3fc)][_0xfcbee5(0x35f)](_0x429820[_0xfcbee5(0x2b7)]['id']))return[];let _0x15b7e5=ur(((_0x351e11=_0x429820['viewIndexes'])==null?void 0x0:_0x351e11[_0x54b6f5['id']])??_0x44263b,_0x54b6f5['fieldOrder'][_0xfcbee5(0x4be)]);return[_0x2c18c4[_0xfcbee5(0x4a5)]([...U['view'](_0x27da21,_0x54b6f5['id']),_0xfcbee5(0x3fc),_0x15b7e5],_0x429820[_0xfcbee5(0x2b7)]['id'])];});return R([..._0x429820[_0x96446c(0x2b7)][_0x96446c(0x378)]===_0x39ba8f[_0x96446c(0x1fa)]?this[_0x96446c(0x19d)](_0xb07499):[],_0x2c18c4['insertOp'](U['field'](_0x27da21,_0x429820[_0x96446c(0x2b7)]['id']),_0x429820['field']),_0x2c18c4[_0x96446c(0x4a5)](U[_0x96446c(0x3fc)](_0x27da21,_0x44263b),_0x429820['field']['id']),..._0x41eedb]);}[_0x413924(0x1f2)](_0x3713ba,_0x59ed59,_0x211c82,_0x9b7d82){const _0x3231cd=_0x413924;let _0x979a00=_0x3713ba['tables'][_0x59ed59];if(!_0x979a00[_0x3231cd(0x175)][_0x211c82]||_0x979a00[_0x3231cd(0x175)][_0x9b7d82[_0x3231cd(0x2b7)]['id']]||_0x979a00[_0x3231cd(0x3fc)][_0x3231cd(0x35f)](_0x9b7d82[_0x3231cd(0x2b7)]['id']))return _0x2c18c4[_0x3231cd(0x41c)](['tables',_0x59ed59,'fieldOrder'],_0x979a00[_0x3231cd(0x3fc)],_0x979a00['fieldOrder']);let _0x1d49cf=_0x9b7d82[_0x3231cd(0x319)]??_0x979a00['fieldOrder'][_0x3231cd(0x3ef)](_0x211c82)+0x1,_0xd75f7b=_0x979a00['fieldOrder']['filter'](_0x593b80=>_0x593b80!==_0x9b7d82['field']['id']),_0x5c547b=cr(_0xd75f7b,_0x9b7d82[_0x3231cd(0x2b7)]['id'],_0x1d49cf),_0x465795=Object['values'](_0x979a00[_0x3231cd(0x379)]??{})[_0x3231cd(0x4ac)](_0x430aa0=>{const _0x459802=_0x3231cd;var _0x1a7cce,_0x292c48,_0x2210ce,_0x45bec9;let _0x197762=(_0x1a7cce=_0x430aa0[_0x459802(0x3fc)])!=null&&_0x1a7cce[_0x459802(0x4be)]?_0x430aa0[_0x459802(0x3fc)]:_0xd75f7b;if(_0x197762[_0x459802(0x35f)](_0x9b7d82['field']['id']))return[];let _0x2446fe=cr(_0x197762,_0x9b7d82[_0x459802(0x2b7)]['id'],((_0x292c48=_0x9b7d82[_0x459802(0x1c5)])==null?void 0x0:_0x292c48[_0x430aa0['id']])??_0x1d49cf),_0x217617=(_0x2210ce=_0x430aa0['fieldSettings'])==null?void 0x0:_0x2210ce[_0x211c82];return[this[_0x459802(0x39a)]([...U[_0x459802(0x1e0)](_0x59ed59,_0x430aa0['id']),_0x459802(0x3fc)],_0x430aa0[_0x459802(0x3fc)],_0x2446fe),..._0x217617?[this[_0x459802(0x39a)]([...U[_0x459802(0x1e0)](_0x59ed59,_0x430aa0['id']),_0x459802(0x468),_0x9b7d82[_0x459802(0x2b7)]['id']],(_0x45bec9=_0x430aa0[_0x459802(0x468)])==null?void 0x0:_0x45bec9[_0x9b7d82[_0x459802(0x2b7)]['id']],_0x217617)]:[]];}),_0x196361=Object[_0x3231cd(0x4ae)](_0x979a00[_0x3231cd(0x3b4)])[_0x3231cd(0x457)](_0x6c5547=>Object['prototype'][_0x3231cd(0x128)]['call'](_0x6c5547[_0x3231cd(0x4ae)],_0x211c82))['map'](_0x5b8276=>this['_replaceOptional'](U['cell'](_0x59ed59,_0x5b8276['id'],_0x9b7d82[_0x3231cd(0x2b7)]['id']),_0x5b8276[_0x3231cd(0x4ae)][_0x9b7d82[_0x3231cd(0x2b7)]['id']],_0x5b8276[_0x3231cd(0x4ae)][_0x211c82]));return R([..._0x9b7d82[_0x3231cd(0x2b7)][_0x3231cd(0x378)]===_0x39ba8f[_0x3231cd(0x1fa)]?this[_0x3231cd(0x19d)](_0x3713ba):[],_0x2c18c4[_0x3231cd(0x4a5)](U[_0x3231cd(0x2b7)](_0x59ed59,_0x9b7d82[_0x3231cd(0x2b7)]['id']),_0x9b7d82[_0x3231cd(0x2b7)]),_0x2c18c4[_0x3231cd(0x41c)]([_0x3231cd(0x28d),_0x59ed59,_0x3231cd(0x3fc)],_0x979a00[_0x3231cd(0x3fc)],_0x5c547b),..._0x465795,..._0x196361]);}[_0x413924(0x29c)](_0x50acc7,_0x3672b1,_0x31f5ca,_0x1e1fdb){const _0x53949c=_0x413924;let _0x3a211b=_0x50acc7[_0x53949c(0x28d)][_0x3672b1][_0x53949c(0x175)][_0x31f5ca],_0x4ba1f7={..._0x3a211b,..._0x1e1fdb};Object[_0x53949c(0x3a2)](_0x1e1fdb)[_0x53949c(0x248)](_0x4b743b=>{_0x1e1fdb[_0x4b743b]===void 0x0&&delete _0x4ba1f7[_0x4b743b];});let _0x22e060=er(_0x50acc7[_0x53949c(0x28d)][_0x3672b1],_0x31f5ca,_0x3a211b,_0x4ba1f7);_0x4ba1f7=_0x22e060['field'];let _0x41d149=_0x2c18c4[_0x53949c(0x41c)](U[_0x53949c(0x2b7)](_0x3672b1,_0x31f5ca),_0x3a211b,_0x4ba1f7);return _0x4ba1f7['type']===_0x39ba8f[_0x53949c(0x1fa)]?R([...this[_0x53949c(0x19d)](_0x50acc7),_0x41d149,...this[_0x53949c(0x34e)](_0x50acc7,_0x3672b1,_0x31f5ca,_0x4ba1f7)]):R([_0x41d149,..._0x22e060[_0x53949c(0x159)]['length']?[this[_0x53949c(0x153)](_0x50acc7,_0x3672b1,_0x22e060[_0x53949c(0x159)])]:[]]);}['changeFieldType'](_0x4ae7c7,_0x501d52,_0x2921a6,_0x35b025){const _0x400a7f=_0x413924;return this[_0x400a7f(0x29c)](_0x4ae7c7,_0x501d52,_0x2921a6,_0x35b025);}['deleteField'](_0x5b4bc2,_0x52dfcc,_0x20d852){const _0x37f916=_0x413924;let _0x413b72=_0x5b4bc2[_0x37f916(0x28d)][_0x52dfcc];if(!(_0x413b72!=null&&_0x413b72[_0x37f916(0x175)][_0x20d852])||_0x413b72[_0x37f916(0x426)]===_0x20d852||_0x20d852===_0x3f46af)return _0x2c18c4[_0x37f916(0x41c)]([_0x37f916(0x28d),_0x52dfcc,_0x37f916(0x3fc)],_0x413b72==null?void 0x0:_0x413b72[_0x37f916(0x3fc)],_0x413b72==null?void 0x0:_0x413b72[_0x37f916(0x3fc)]);let _0x10a434=_0x413b72[_0x37f916(0x3fc)][_0x37f916(0x3ef)](_0x20d852),_0x2d1efe=Object[_0x37f916(0x4ae)](_0x413b72[_0x37f916(0x379)])['flatMap'](_0x2da319=>{const _0x3dcb58=_0x37f916;var _0x4f76b2,_0x50c82d,_0x456f91,_0x5c7ad8,_0xb91d8e,_0x1eeeb2,_0x8ca96e;let _0x3f69c9=[],_0x3634bc=((_0x4f76b2=_0x2da319['fieldOrder'])==null?void 0x0:_0x4f76b2[_0x3dcb58(0x3ef)](_0x20d852))??-0x1;_0x3634bc>=0x0&&_0x3f69c9[_0x3dcb58(0x34c)](_0x2c18c4[_0x3dcb58(0x458)]([...U[_0x3dcb58(0x1e0)](_0x52dfcc,_0x2da319['id']),_0x3dcb58(0x3fc),_0x3634bc],_0x20d852));let _0x44bfbb=(_0x50c82d=_0x2da319[_0x3dcb58(0x468)])==null?void 0x0:_0x50c82d[_0x20d852];_0x44bfbb!==void 0x0&&_0x3f69c9[_0x3dcb58(0x34c)](_0x2c18c4[_0x3dcb58(0x458)]([...U[_0x3dcb58(0x1e0)](_0x52dfcc,_0x2da319['id']),_0x3dcb58(0x468),_0x20d852],_0x44bfbb));let _0x363b03=_0x2da319['filter']?{..._0x2da319[_0x3dcb58(0x457)],'conditions':_0x2da319[_0x3dcb58(0x457)][_0x3dcb58(0x31c)][_0x3dcb58(0x457)](_0x74455b=>_0x74455b['fieldId']!==_0x20d852)}:_0x2da319[_0x3dcb58(0x457)];_0x363b03&&_0x363b03[_0x3dcb58(0x31c)][_0x3dcb58(0x4be)]!==((_0x456f91=_0x2da319[_0x3dcb58(0x457)])==null?void 0x0:_0x456f91[_0x3dcb58(0x31c)][_0x3dcb58(0x4be)])&&_0x3f69c9['push'](this['_replaceOptional']([...U[_0x3dcb58(0x1e0)](_0x52dfcc,_0x2da319['id']),_0x3dcb58(0x457)],_0x2da319['filter'],_0x363b03));let _0x4189e6=(_0x5c7ad8=_0x2da319[_0x3dcb58(0x116)])==null?void 0x0:_0x5c7ad8[_0x3dcb58(0x457)](_0x5ecce5=>_0x5ecce5[_0x3dcb58(0x1c3)]!==_0x20d852);_0x4189e6&&_0x4189e6[_0x3dcb58(0x4be)]!==((_0xb91d8e=_0x2da319[_0x3dcb58(0x116)])==null?void 0x0:_0xb91d8e['length'])&&_0x3f69c9['push'](this[_0x3dcb58(0x39a)]([...U[_0x3dcb58(0x1e0)](_0x52dfcc,_0x2da319['id']),'sort'],_0x2da319[_0x3dcb58(0x116)],_0x4189e6));let _0x22633a=(_0x1eeeb2=_0x2da319['group'])==null?void 0x0:_0x1eeeb2[_0x3dcb58(0x457)](_0x7556bf=>_0x7556bf[_0x3dcb58(0x1c3)]!==_0x20d852);_0x22633a&&_0x22633a[_0x3dcb58(0x4be)]!==((_0x8ca96e=_0x2da319[_0x3dcb58(0x151)])==null?void 0x0:_0x8ca96e[_0x3dcb58(0x4be)])&&_0x3f69c9['push'](this[_0x3dcb58(0x39a)]([...U[_0x3dcb58(0x1e0)](_0x52dfcc,_0x2da319['id']),_0x3dcb58(0x151)],_0x2da319['group'],_0x22633a));let _0x40d963=lr(_0x2da319[_0x3dcb58(0x406)],_0x20d852);return JSON[_0x3dcb58(0x3d0)](_0x40d963)!==JSON[_0x3dcb58(0x3d0)](_0x2da319[_0x3dcb58(0x406)])&&_0x3f69c9[_0x3dcb58(0x34c)](_0x2c18c4[_0x3dcb58(0x41c)]([...U[_0x3dcb58(0x1e0)](_0x52dfcc,_0x2da319['id']),_0x3dcb58(0x406)],_0x2da319[_0x3dcb58(0x406)],_0x40d963)),_0x3f69c9;}),_0x21b01d=Object[_0x37f916(0x4ae)](_0x413b72['records'])[_0x37f916(0x4ac)](_0x47eea0=>Object['prototype'][_0x37f916(0x128)][_0x37f916(0x157)](_0x47eea0[_0x37f916(0x4ae)],_0x20d852)?[_0x2c18c4[_0x37f916(0x458)](U[_0x37f916(0x3c4)](_0x52dfcc,_0x47eea0['id'],_0x20d852),_0x47eea0[_0x37f916(0x4ae)][_0x20d852])]:[]);return R([_0x2c18c4['removeOp'](U[_0x37f916(0x2b7)](_0x52dfcc,_0x20d852),_0x413b72[_0x37f916(0x175)][_0x20d852]),_0x2c18c4[_0x37f916(0x458)](U['fieldOrder'](_0x52dfcc,_0x10a434),_0x20d852),..._0x2d1efe,..._0x21b01d,...this[_0x37f916(0x475)](_0x413b72,_0x52dfcc,_0x5e4493=>_0x5e4493[_0x37f916(0x36e)](_0x20d852+'\x1f'))]);}['moveField'](_0x649a09,_0x2daf60,_0x4527a7,_0x1d5045){const _0x51a064=_0x413924;let _0x40f820=_0x649a09[_0x51a064(0x28d)][_0x2daf60][_0x51a064(0x3fc)];if(_0x4527a7===_0x3f46af||_0x1d5045['beforeFieldId']===_0x3f46af)throw Error(_0x51a064(0x320));let _0x244f96=sr(_0x40f820,_0x4527a7,_0x1d5045);return _0x2c18c4[_0x51a064(0x41c)]([_0x51a064(0x28d),_0x2daf60,_0x51a064(0x3fc)],_0x40f820,_0x244f96);}[_0x413924(0x2ff)](_0x17bee6,_0x2d7d9e,_0x2c1dc1,_0x29fbcc=_0x17bee6[_0x413924(0x28d)][_0x2d7d9e][_0x413924(0x1f0)][_0x413924(0x4be)]){const _0x4ad24a=_0x413924;return R([_0x2c18c4[_0x4ad24a(0x4a5)](U['view'](_0x2d7d9e,_0x2c1dc1['id']),_0x2c1dc1),_0x2c18c4[_0x4ad24a(0x4a5)]([_0x4ad24a(0x28d),_0x2d7d9e,_0x4ad24a(0x1f0),_0x29fbcc],_0x2c1dc1['id'])]);}[_0x413924(0x366)](_0x22289c,_0x302b11,_0x1e59b6,_0x3df98f){const _0x476e5e=_0x413924;return _0x2c18c4[_0x476e5e(0x41c)]([...U[_0x476e5e(0x1e0)](_0x302b11,_0x1e59b6),_0x476e5e(0x1f9)],_0x22289c['tables'][_0x302b11][_0x476e5e(0x379)][_0x1e59b6]['name'],_0x3df98f);}[_0x413924(0x245)](_0x1a411b,_0x1aa30c,_0x1d3245){const _0x1e5df1=_0x413924;let _0x541c71=_0x1a411b[_0x1e5df1(0x28d)][_0x1aa30c],_0x88b9de=_0x541c71['views'][_0x1d3245],_0x6b5012=_0x541c71['viewOrder'][_0x1e5df1(0x3ef)](_0x1d3245);return R([_0x2c18c4[_0x1e5df1(0x458)](U['view'](_0x1aa30c,_0x1d3245),_0x88b9de),_0x2c18c4[_0x1e5df1(0x458)](['tables',_0x1aa30c,'viewOrder',_0x6b5012],_0x1d3245)]);}[_0x413924(0x1a7)](_0x5f383e,_0x55b561,_0x5d6bb2,_0xf439c1){const _0x43376d=_0x413924;let _0x165811=_0x5f383e['tables'][_0x55b561]['viewOrder'],_0x5f28c7=sr(_0x165811,_0x5d6bb2,{'beforeFieldId':_0xf439c1[_0x43376d(0x3c9)],'afterFieldId':_0xf439c1[_0x43376d(0x25b)]});return _0x2c18c4[_0x43376d(0x41c)](['tables',_0x55b561,_0x43376d(0x1f0)],_0x165811,_0x5f28c7);}[_0x413924(0x2f8)](_0x34038e,_0x5079d6,_0x516acc,_0x52541d){const _0x28c8ab=_0x413924;let _0x1ce80c=_0x34038e[_0x28c8ab(0x28d)][_0x5079d6][_0x28c8ab(0x379)][_0x516acc][_0x28c8ab(0x406)]??{},_0x817937={..._0x1ce80c,..._0x52541d};return Object[_0x28c8ab(0x3a2)](_0x52541d)[_0x28c8ab(0x248)](_0x39e5d9=>{_0x52541d[_0x39e5d9]===void 0x0&&delete _0x817937[_0x39e5d9];}),_0x2c18c4[_0x28c8ab(0x41c)]([...U[_0x28c8ab(0x1e0)](_0x5079d6,_0x516acc),_0x28c8ab(0x406)],_0x1ce80c,_0x817937);}['setViewFilter'](_0x3c0113,_0xebb552,_0x4718f4,_0x445e82){const _0xab39e6=_0x413924;return this[_0xab39e6(0x39a)]([...U[_0xab39e6(0x1e0)](_0xebb552,_0x4718f4),_0xab39e6(0x457)],_0x3c0113[_0xab39e6(0x28d)][_0xebb552][_0xab39e6(0x379)][_0x4718f4][_0xab39e6(0x457)],_0x445e82);}[_0x413924(0x329)](_0xe124be,_0x59a61b,_0x31db3e,_0x561db6){const _0x4da427=_0x413924;return this[_0x4da427(0x39a)]([...U[_0x4da427(0x1e0)](_0x59a61b,_0x31db3e),_0x4da427(0x116)],_0xe124be[_0x4da427(0x28d)][_0x59a61b][_0x4da427(0x379)][_0x31db3e]['sort'],_0x561db6);}['setViewGroup'](_0x1e3a69,_0x217d61,_0x13f991,_0x24c3b6){const _0x3cab9a=_0x413924;return this[_0x3cab9a(0x39a)]([...U['view'](_0x217d61,_0x13f991),_0x3cab9a(0x151)],_0x1e3a69[_0x3cab9a(0x28d)][_0x217d61]['views'][_0x13f991][_0x3cab9a(0x151)],_0x24c3b6);}[_0x413924(0x37d)](_0xe9ba20,_0x2e629d,_0x590ef7,_0x1f8171,_0x4895c3){const _0x3d9e4f=_0x413924;return this[_0x3d9e4f(0x489)](_0xe9ba20,_0x2e629d,_0x590ef7,_0x1f8171,{'hidden':!_0x4895c3});}[_0x413924(0x3ae)](_0x5480b1,_0x42cdcc,_0xb3d9a5,_0x35fc33,_0x2109f4){const _0x30632f=_0x413924;return this[_0x30632f(0x489)](_0x5480b1,_0x42cdcc,_0xb3d9a5,_0x35fc33,{'width':_0x2109f4});}[_0x413924(0x22c)](_0x20a012,_0x2b9305,_0x23ac20,_0x219a7a,_0x2f5d3b){const _0x38baf8=_0x413924;let _0x433d44=_0x20a012[_0x38baf8(0x28d)][_0x2b9305]['views'][_0x23ac20],_0x5df9a0=sr(_0x433d44[_0x38baf8(0x3fc)]??_0x20a012[_0x38baf8(0x28d)][_0x2b9305]['fieldOrder'],_0x219a7a,_0x2f5d3b);return this[_0x38baf8(0x39a)]([...U['view'](_0x2b9305,_0x23ac20),_0x38baf8(0x3fc)],_0x433d44[_0x38baf8(0x3fc)],_0x5df9a0);}['_setViewFieldSetting'](_0x15354d,_0x2cdc31,_0x20199b,_0x295a8c,_0x1b8dd4){const _0xfde40a=_0x413924;let _0x36f3f2=_0x15354d['tables'][_0x2cdc31][_0xfde40a(0x379)][_0x20199b][_0xfde40a(0x468)]??{},_0x33fa43={..._0x36f3f2,[_0x295a8c]:{..._0x36f3f2[_0x295a8c],..._0x1b8dd4}};return this[_0xfde40a(0x39a)]([...U[_0xfde40a(0x1e0)](_0x2cdc31,_0x20199b),_0xfde40a(0x468)],_0x15354d[_0xfde40a(0x28d)][_0x2cdc31]['views'][_0x20199b]['fieldSettings'],_0x33fa43);}[_0x413924(0x2da)](_0x5eb1fa,_0x368abd,_0x1032a0){const _0x3ecaa0=_0x413924;let _0x59ec0e=_0x5eb1fa['tables'][_0x368abd],_0x5c1157=new Set(_0x1032a0[_0x3ecaa0(0x438)](_0x4a7358=>_0x4a7358['id'])),_0x4d8b79=[...Object[_0x3ecaa0(0x4ae)](_0x59ec0e[_0x3ecaa0(0x3b4)])[_0x3ecaa0(0x457)](_0x12fda1=>!_0x5c1157[_0x3ecaa0(0x3cf)](_0x12fda1['id'])),..._0x1032a0]['sort']((_0x587878,_0x2e609e)=>String(_0x587878['orderKey']??_0x587878['id'])['localeCompare'](String(_0x2e609e[_0x3ecaa0(0x124)]??_0x2e609e['id'])))[_0x3ecaa0(0x438)](_0x4c2d0c=>_0x4c2d0c['id']),_0x34ae10=[...U[_0x3ecaa0(0x246)](_0x368abd),_0x3ecaa0(0x1c6)];return _0x59ec0e[_0x3ecaa0(0x1c6)]?_0x2c18c4[_0x3ecaa0(0x41c)](_0x34ae10,_0x59ec0e[_0x3ecaa0(0x1c6)],_0x4d8b79):_0x2c18c4[_0x3ecaa0(0x4a5)](_0x34ae10,_0x4d8b79);}[_0x413924(0x19d)](_0x22d124,_0x2918bf=new Set()){const _0xb2728a=_0x413924;let _0x3a2764=_0x429055(_0x22d124);return Object[_0xb2728a(0x4ae)](_0x22d124[_0xb2728a(0x28d)])[_0xb2728a(0x457)](_0x6170c4=>!_0x2918bf['has'](_0x6170c4['id']))[_0xb2728a(0x116)]((_0x221a35,_0x51cfde)=>_0x221a35['id'][_0xb2728a(0x4ce)](_0x51cfde['id']))[_0xb2728a(0x4ac)](_0x4b33d7=>{const _0x3e1391=_0xb2728a;let _0x476baf=_0x3a2764[_0x3e1391(0x113)](_0x4b33d7['id']);return!_0x476baf||_0x4b33d7[_0x3e1391(0x150)]===_0x476baf?[]:[this[_0x3e1391(0x39a)]([...U['table'](_0x4b33d7['id']),_0x3e1391(0x150)],_0x4b33d7[_0x3e1391(0x150)],_0x476baf)];});}[_0x413924(0x34e)](_0x3d415c,_0x1214f9,_0x3a47c3,_0x202cc2){const _0x5582fb=_0x413924;var _0x620360,_0x21c433;let _0x3bdbe7=L(_0x3d415c[_0x5582fb(0x28d)][_0x1214f9]),_0xfddf95=String(((_0x620360=_0x202cc2[_0x5582fb(0x406)])==null?void 0x0:_0x620360[_0x5582fb(0x49b)])??'')[_0x5582fb(0x401)](),_0x3e3ce4=(_0x21c433=_0x3bdbe7[_0x5582fb(0x4a2)])==null?void 0x0:_0x21c433[_0x3a47c3];if(_0x3e3ce4==null)return[];let _0x42ca17=_0x3bdbe7[_0x5582fb(0x1c6)]??Object[_0x5582fb(0x3a2)](_0x3bdbe7[_0x5582fb(0x3b4)]),_0x5da4f9=_0x42ca17[_0x5582fb(0x438)](_0x3c4b7b=>{var _0x277d61;return(_0x277d61=_0x3bdbe7['rowIndex'])==null?void 0x0:_0x277d61[_0x3c4b7b];})[_0x5582fb(0x196)](_0xd2efe9=>_0xd2efe9!=null);return _0x42ca17['flatMap'](_0x5e0b83=>{const _0x24169a=_0x5582fb;var _0x32b8bb,_0x12f199;let _0x18512d=(_0x32b8bb=_0x3bdbe7[_0x24169a(0x12b)])==null?void 0x0:_0x32b8bb[_0x5e0b83];if(_0x18512d==null)return[];let _0x1462e0=(_0x12f199=_0x3bdbe7[_0x24169a(0x260)])==null||(_0x12f199=_0x12f199[_0x18512d])==null?void 0x0:_0x12f199[_0x3e3ce4],_0x33a611=_0xfddf95?_0x18512d===_0x5da4f9?{'f':_0xfddf95,'si':_0x3a47c3}:{'si':_0x3a47c3}:{'v':null,'t':null};return[this[_0x24169a(0x39a)](U['cellData'](_0x1214f9,_0x18512d,_0x3e3ce4),_0x1462e0,_0x33a611)];});}[_0x413924(0x123)](_0x3c79a4,_0xe2813b,_0x59633c){const _0x3fce0c=_0x413924;var _0x49415c;let _0x3db659=new Map(Object[_0x3fce0c(0x391)](((_0x49415c=_0x3c79a4[_0x3fce0c(0x228)])==null?void 0x0:_0x49415c[_0x3fce0c(0x4c9)])??{})),_0x148db0=new Map(),_0x32b0c6=new Set(),_0x2164bf=_0x59633c[_0x3fce0c(0x438)](({recordId:_0x5733e0,fieldId:_0x53faf9,attachments:_0x1280d2})=>{const _0x364572=_0x3fce0c;var _0x12be6d;let _0x2f6009=Et(_0x53faf9,_0x5733e0),_0x37a175=_0x1280d2['map']((_0x35c003,_0x2638a0)=>String(_0x35c003['id']??_0x2f6009+'\x1f'+_0x2638a0));return _0x32b0c6[_0x364572(0x4c2)](_0x2f6009),_0x3db659[_0x364572(0x404)](_0x2f6009,_0x37a175),_0x1280d2[_0x364572(0x248)]((_0x1e2a22,_0x6828d7)=>{let _0x4dc386=_0x37a175[_0x6828d7];_0x148db0['set'](_0x4dc386,{..._0x1e2a22,'id':_0x4dc386});}),this[_0x364572(0x39a)](U[_0x364572(0x280)](_0xe2813b,_0x2f6009),(_0x12be6d=_0x3c79a4[_0x364572(0x228)])==null||(_0x12be6d=_0x12be6d['attachmentSets'])==null?void 0x0:_0x12be6d[_0x2f6009],_0x37a175);}),_0x397833=Array['from'](_0x148db0)['map'](([_0x28fbc8,_0x375691])=>{const _0x3a7910=_0x3fce0c;var _0x1593ca;return this[_0x3a7910(0x39a)](U[_0x3a7910(0x233)](_0xe2813b,_0x28fbc8),(_0x1593ca=_0x3c79a4['resources'])==null||(_0x1593ca=_0x1593ca['attachments'])==null?void 0x0:_0x1593ca[_0x28fbc8],_0x375691);}),_0x1cab0a=new Set(Array[_0x3fce0c(0x2f6)](_0x3db659['values']())[_0x3fce0c(0x38a)]()),_0x43685e=new Set(Array[_0x3fce0c(0x2f6)](_0x32b0c6)[_0x3fce0c(0x4ac)](_0xa18b48=>{const _0xa7b3e5=_0x3fce0c;var _0x5dd3c9;return((_0x5dd3c9=_0x3c79a4['resources'])==null||(_0x5dd3c9=_0x5dd3c9[_0xa7b3e5(0x4c9)])==null?void 0x0:_0x5dd3c9[_0xa18b48])??[];})),_0x545276=Array[_0x3fce0c(0x2f6)](_0x43685e)[_0x3fce0c(0x4ac)](_0x3631e7=>{const _0x4d65b2=_0x3fce0c;var _0x4ea58e;let _0x411156=(_0x4ea58e=_0x3c79a4[_0x4d65b2(0x228)])==null||(_0x4ea58e=_0x4ea58e['attachments'])==null?void 0x0:_0x4ea58e[_0x3631e7];return _0x411156!==void 0x0&&!_0x1cab0a[_0x4d65b2(0x3cf)](_0x3631e7)?[_0x2c18c4['removeOp'](U['attachment'](_0xe2813b,_0x3631e7),_0x411156)]:[];});return[..._0x2164bf,..._0x397833,..._0x545276];}[_0x413924(0x475)](_0x4ce5a8,_0xfdd8f,_0x1e09fd){const _0x4d1c5c=_0x413924;var _0x3a6e2f;let _0x115930=((_0x3a6e2f=_0x4ce5a8[_0x4d1c5c(0x228)])==null?void 0x0:_0x3a6e2f[_0x4d1c5c(0x4c9)])??{},_0x1261af=Object['entries'](_0x115930)[_0x4d1c5c(0x457)](([_0x5a10a4])=>_0x1e09fd(_0x5a10a4));if(!_0x1261af['length'])return[];let _0xe169f2=new Set(Object[_0x4d1c5c(0x391)](_0x115930)[_0x4d1c5c(0x457)](([_0x42c37c])=>!_0x1e09fd(_0x42c37c))[_0x4d1c5c(0x4ac)](([,_0x32313a])=>_0x32313a)),_0x43e06e=new Set(_0x1261af['flatMap'](([,_0x5c13ce])=>_0x5c13ce));return[..._0x1261af[_0x4d1c5c(0x438)](([_0x5a300f,_0x344a39])=>_0x2c18c4[_0x4d1c5c(0x458)](U[_0x4d1c5c(0x280)](_0xfdd8f,_0x5a300f),_0x344a39)),...Array[_0x4d1c5c(0x2f6)](_0x43e06e)[_0x4d1c5c(0x4ac)](_0x363c35=>{const _0x2eea7c=_0x4d1c5c;var _0xb43665;let _0xfea8a2=(_0xb43665=_0x4ce5a8[_0x2eea7c(0x228)])==null||(_0xb43665=_0xb43665[_0x2eea7c(0x28c)])==null?void 0x0:_0xb43665[_0x363c35];return _0xfea8a2!==void 0x0&&!_0xe169f2[_0x2eea7c(0x3cf)](_0x363c35)?[_0x2c18c4[_0x2eea7c(0x458)](U[_0x2eea7c(0x233)](_0xfdd8f,_0x363c35),_0xfea8a2)]:[];})];}[_0x413924(0x39a)](_0x2884a5,_0x5da324,_0x4ed721){const _0x521964=_0x413924;return _0x5da324===void 0x0?_0x2c18c4[_0x521964(0x4a5)](_0x2884a5,_0x4ed721):_0x2c18c4[_0x521964(0x41c)](_0x2884a5,_0x5da324,_0x4ed721);}};function er(_0x3699d9,_0x323158,_0x365175,_0x550e03){const _0x4dc23c=_0x413924;var _0x2319bb;let _0x1433d1=_0x550e03[_0x4dc23c(0x378)];if(_0x365175[_0x4dc23c(0x378)]!==_0x1433d1||_0x1433d1!==_0x39ba8f[_0x4dc23c(0x183)]&&_0x1433d1!==_0x39ba8f[_0x4dc23c(0x40c)]||tr(_0x550e03['config']['optionSource']))return{'field':_0x550e03,'patches':[]};let _0x487086=nr(_0x365175),_0x1034d9=nr(_0x550e03);if(![..._0x487086][_0x4dc23c(0x2e3)](_0x416886=>!_0x1034d9[_0x4dc23c(0x3cf)](_0x416886)))return{'field':_0x550e03,'patches':[]};let _0x4efef9=rr(_0x550e03['defaultValue'],_0x1034d9,_0x1433d1),_0x149ae4=ir(_0x4efef9,_0x550e03[_0x4dc23c(0x43c)])?_0x550e03:{..._0x550e03,'defaultValue':_0x4efef9},_0x2285d4=L(_0x3699d9),_0x2a6709=(_0x2319bb=_0x2285d4['colIndex'])==null?void 0x0:_0x2319bb[_0x323158];return _0x2a6709==null?{'field':_0x149ae4,'patches':[]}:{'field':_0x149ae4,'patches':(_0x2285d4[_0x4dc23c(0x1c6)]??[])[_0x4dc23c(0x4ac)](_0x5b7a1b=>{const _0x3879ae=_0x4dc23c;var _0x4a4c92,_0x384dea;let _0x4a1489=(_0x4a4c92=_0x2285d4['rowIndex'])==null?void 0x0:_0x4a4c92[_0x5b7a1b],_0x2c2e12=(_0x384dea=_0x2285d4['records'][_0x5b7a1b])==null?void 0x0:_0x384dea[_0x3879ae(0x4ae)][_0x323158],_0x206e57=rr(_0x2c2e12,_0x1034d9,_0x1433d1);return _0x4a1489==null||ir(_0x206e57,_0x2c2e12)?[]:[{'row':_0x4a1489,'col':_0x2a6709,'value':_0x206e57??null}];})};}function tr(_0x271e1c){const _0x5a3914=_0x413924;return typeof _0x271e1c==_0x5a3914(0x441)&&!!_0x271e1c&&'type'in _0x271e1c&&_0x271e1c[_0x5a3914(0x378)]===_0x5a3914(0x2b7);}function nr(_0x2c5cb9){const _0x2a81be=_0x413924;var _0x2530da;let _0x487179=Array[_0x2a81be(0x348)]((_0x2530da=_0x2c5cb9[_0x2a81be(0x406)])==null?void 0x0:_0x2530da[_0x2a81be(0x1ed)])?_0x2c5cb9[_0x2a81be(0x406)][_0x2a81be(0x1ed)]:[];return new Set(_0x487179['flatMap'](_0x272620=>{const _0x13edf8=_0x2a81be;if(!_0x272620||typeof _0x272620!=_0x13edf8(0x441)||!('id'in _0x272620))return[];let _0x2c3434=String(_0x272620['id']);return _0x2c3434?[_0x2c3434]:[];}));}function rr(_0x5b2fb5,_0x1ba105,_0x385549){const _0x211993=_0x413924;if(_0x5b2fb5==null||_0x5b2fb5==='')return _0x5b2fb5;if(_0x385549===_0x39ba8f['SingleSelect'])return _0x1ba105[_0x211993(0x3cf)](String(_0x5b2fb5))?_0x5b2fb5:null;let _0x33006f=Array[_0x211993(0x348)](_0x5b2fb5)?_0x5b2fb5[_0x211993(0x438)](String):String(_0x5b2fb5)['split'](',')[_0x211993(0x438)](_0x26f2e3=>_0x26f2e3[_0x211993(0x401)]())['filter'](Boolean),_0x292138=_0x33006f[_0x211993(0x457)](_0x40f644=>_0x1ba105[_0x211993(0x3cf)](_0x40f644));return _0x292138[_0x211993(0x4be)]===_0x33006f[_0x211993(0x4be)]?_0x5b2fb5:Array[_0x211993(0x348)](_0x5b2fb5)?_0x292138:String(_0x5b2fb5)['includes'](',')?_0x292138[_0x211993(0x4bd)](','):_0x292138[0x0]??[];}function ir(_0x17f766,_0x2201c1){return JSON['stringify'](_0x17f766)===JSON['stringify'](_0x2201c1);}function ar(_0x3b7405,_0x49df62,_0x45527a){const _0x28734a=_0x413924;var _0x12f542,_0x1aa449,_0x3372d2,_0x4672cb;let _0x17fdcb=(_0x12f542=_0x3b7405['rowIndex'])==null?void 0x0:_0x12f542[_0x49df62],_0x909a43=(_0x1aa449=_0x3b7405[_0x28734a(0x4a2)])==null?void 0x0:_0x1aa449[_0x45527a];return _0x17fdcb!=null&&_0x909a43!=null&&((_0x3372d2=_0x3b7405[_0x28734a(0x3ce)])==null?void 0x0:_0x3372d2[_0x17fdcb])===_0x49df62&&((_0x4672cb=_0x3b7405['colId'])==null?void 0x0:_0x4672cb[_0x909a43])===_0x45527a&&_0x3b7405[_0x28734a(0x260)]!=null;}function or(_0x104250,_0xe824f7,_0x2428e1){const _0x366b89=_0x413924;var _0x13398e,_0x47e806;return((_0x13398e=_0x104250[_0x366b89(0x3ce)])==null?void 0x0:_0x13398e[_0xe824f7])!=null&&((_0x47e806=_0x104250[_0x366b89(0x16c)])==null?void 0x0:_0x47e806[_0x2428e1])!=null&&_0x104250[_0x366b89(0x260)]!=null;}function sr(_0x377b01,_0xb87da3,_0x3037d4){const _0xf204fd=_0x413924;let _0xa66ce6=_0x377b01[_0xf204fd(0x457)](_0x4f40fe=>_0x4f40fe!==_0xb87da3),_0x2c5e90=_0x3037d4['beforeFieldId']?_0xa66ce6['indexOf'](_0x3037d4[_0xf204fd(0x28b)]):_0x3037d4[_0xf204fd(0x39b)]?_0xa66ce6['indexOf'](_0x3037d4[_0xf204fd(0x39b)])+0x1:_0xa66ce6[_0xf204fd(0x4be)];return _0xa66ce6['splice'](_0x2c5e90<0x0?_0xa66ce6[_0xf204fd(0x4be)]:_0x2c5e90,0x0,_0xb87da3),_0xa66ce6;}function cr(_0x1782b8,_0x1d379a,_0x8aaa85){const _0x44ec80=_0x413924;let _0x4bebbc=_0x1782b8[_0x44ec80(0x457)](_0x27bc0b=>_0x27bc0b!==_0x1d379a);return _0x4bebbc['splice'](ur(_0x8aaa85,_0x4bebbc[_0x44ec80(0x4be)]),0x0,_0x1d379a),_0x4bebbc;}function lr(_0x4f54af,_0x40a8b2,_0x45ab18){const _0x4c2977=_0x413924;if(Array[_0x4c2977(0x348)](_0x4f54af))return _0x45ab18===_0x4c2977(0x481)?_0x4f54af['filter'](_0x1cf742=>_0x1cf742!==_0x40a8b2):_0x4f54af['flatMap'](_0x18f33f=>{const _0x55bfd6=_0x4c2977;if(_0x18f33f&&typeof _0x18f33f==_0x55bfd6(0x441)&&!Array[_0x55bfd6(0x348)](_0x18f33f)&&_0x18f33f[_0x55bfd6(0x1c3)]===_0x40a8b2)return[];let _0x4aa6ca=lr(_0x18f33f,_0x40a8b2);return _0x4aa6ca===void 0x0?[]:[_0x4aa6ca];});if(!_0x4f54af||typeof _0x4f54af!=_0x4c2977(0x441))return _0x45ab18!=null&&_0x45ab18[_0x4c2977(0x27b)](_0x4c2977(0x472))&&_0x4f54af===_0x40a8b2?void 0x0:_0x4f54af;let _0x1816da=_0x4f54af;if(_0x1816da['fieldId']!==_0x40a8b2)return Object[_0x4c2977(0x300)](Object[_0x4c2977(0x391)](_0x1816da)[_0x4c2977(0x4ac)](([_0x279909,_0x56b95b])=>{const _0x48ee95=_0x4c2977;if(_0x279909===_0x40a8b2&&_0x45ab18===_0x48ee95(0x468))return[];let _0x41ef0c=lr(_0x56b95b,_0x40a8b2,_0x279909);return _0x41ef0c===void 0x0?[]:[[_0x279909,_0x41ef0c]];}));}function _0xc540(){const _0x3a430e=['invalidGroupField','conjunction','fromPlainText','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','getSnapshot','info','1ySDotW','data','_createRecordWithDefaults','option-','createCreateRecordOp','DESC','fieldSettings','deletePermissionPoint','recordNamePrefix','UNIVER_EMBED_BASES_TABLE','\x20must\x20have\x20a\x20non-empty\x20id.','_bumpTableRevision','base.command.set-base-range-values','_fieldPermissions','_normalizeCalendarConfig','gridViewId','FieldId','getMonth','cardLayout','_deleteAttachmentResources','NumberFormat','_viewRowsCacheKey','_buildGallery','isFinite','_formulaSyncQueue','subtreeHeightByRecordId','row','base.command.move-base-view','limit','repairViewConfig','objectType','fieldIds','_basePermissions','isNaN','createRecord','18915070CNIPFG','_getJson1DirtyData','max','level','_setViewFieldSetting','getTypePlugin','none','_syncBaseUnit','\x20permission\x20denied.','base.command.create-base-field','_buildCalendar','[BaseFormula]:\x20A1\x20references\x20and\x20ranges\x20are\x20not\x20supported\x20in\x20Base\x20formulas.','_scheduleSuperTableSync','_resolveCalendarDateFieldId','subType','delete-view','_viewPermissions','Text','[BaseCommandService]:\x20cannot\x20change\x20record-id\x20field\x20type.','too-long','createUpdateCellOp','base.command.update-base-field-description','formula','_normalizeCalendarDisplayColor','_executeSuperTableMutationWhileActive','_isKanbanGroupField','http:','calendar','delete','colIndex','embedId','IS_NOT','insertOp','endDateFieldId','view/','targetTableId','True','missingField','COMMAND','flatMap','_formulaCalculationSessionService','values','BOOLEAN','_withModifiedSystemValues','setViewPermission','beforeCommandExecuted','base.viewType.gantt','INIT','Link','base.permission.service','_normalizeGanttConfig','_groupConfigCacheSegment','conditionalColoring','custom','getItem','_enqueueFormulaSync','join','length','scale','replace','rows','add','kanban','Delete','base.command.set-base-view-field-width','Phone','path','valueOf','attachmentSets','MissingParent','includeTime','MUTATION','[BaseField]:\x20invalid\x20rating\x20value.','localeCompare','canEditRecord','month','[BaseCommandService]:\x20cannot\x20delete\x20a\x20RecordLink\x20target\x20table\x20(','compress','_plugins','_commandService','createField','Parent','_rememberTable','description','boolean','oldParentRecordId','_projectionCache','globalRevision','groups','text','Import','normalize','[BaseCommandService]:\x20invalid\x20field\x20definition.','_univerInstanceService','coverFieldId','get','test','descendPath','sort','15920cWkzQp','conditional','columnSettings','onStarting','setSnapshot','BaseCommand.createBatchCreateRecordsOp','[BasePerf]\x20','changed','base.command.update-base-field','unique','setViewFilter','BaseDashboard','_setAttachmentResources','orderKey','yesterday','query','columns','hasOwnProperty','operator','SelfParent','rowIndex','searchTexts','bases.fieldConfig.linkPlaceholder','short','codePointAt','canDeleteField','base.command.create-base-record','isValid','Failed\x20to\x20create\x20update\x20cell\x20operation:','onlyLocal','FORCE_STRING','_groupCellInvalidations','canCreateTable','greaterThanOrEqual','\x22\x20must\x20be\x20a\x20same-table,\x20single-value\x20RecordLink.','_removeSuperTables','registerSyncingMutations','_apply','matchAll','tableName','defineProperty','[BaseCommandService]:\x20cannot\x20manage\x20view.','_resolveKanbanGroupFieldId','separatorStyle','_normalizeGanttDisplayColor','past30','_projectGroups','getInstance','BASES_PLUGIN','[BaseHierarchy]:\x20','field/','_views','large','import','[BaseCommandService]:\x20cannot\x20edit\x20readonly\x20field.','compare','Group','formulaName','group','Rating','setRangeValues','resolve','thread-comment.command.','[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20','call','getSuperTableRegistrations','patches','write','status','changeFieldType','Checkbox','base.mutation.apply-base-json1','editable','_cellInvalidations','bases.config','titleFieldId','[BaseFormula]:\x20table\x20\x22','base.command.update-base-view-conditional-color-rules','[UpdateBaseViewConditionalColorRulesCommand]:\x20duplicate\x20rule\x20id\x20\x22','start','base.mutation.set-permission-rule','href','toFixed','GREATER_THAN','_projectTableRows','colId','_isCalendarDateField','lessThanOrEqual','_initialize','recordId','BaseRecord','Base\x20edit\x20permission\x20denied.','[BaseField]:\x20invalid\x20checkbox\x20value.','Export','fields','embed-ui',':end','getCurrentUserId','at\x20index\x20','base.command.update-base-record-order','_resolveCardTitleFieldId','setBasePermission','version','rule','showTodayLine','_configService','createUnit','WriteCursor','SingleSelect','getUTCMonth','1969010PlWtqm','[RecordLink]:\x20field\x20config\x20is\x20invalid.','STRING','after','orderedRecordIds','[BaseField]:\x20invalid\x20phone\x20value.','_formulaCalculationTriggerService','invertWithDoc','setPoint','descend','source','Kanban','selectField','_isNonEmptyCellValue','revision','url','UpdatedBy','find','_getTablesToNormalize','[BaseCompression]:\x20unsupported\x20compressed\x20payload\x20kind\x20\x22','bases.fieldConfig.textPlaceholder','_getTable','-record-','Todo','_materializeFormulaTableNames','readonly','HH:mm','Progress','_recordPermissions','rootRecordIds','deleteRecords','createTable','BASE_OBJECT_PERMISSION_PLUGIN','result','moveView','_isAllowedKanbanGroupField','childrenByParentId','past7','bases.remote.config','objectId','base.fieldType.','_cellRevisions','getAllPermissionPoint','_applier','https:','recordPatch','_assertFieldDefinition','rowIndexById','_activeDirtyManagerService','UpdatedAt','deepClone','done','_initRegistries','[BaseFieldRegistryService]:\x20field\x20type\x20\x22','createViewId','catch','toLocaleString','REMOTE_BASES_PLUGIN','\x22\x20does\x20not\x20exist.\x20Use\x20FBaseTable.getFormulaName()\x20or\x20getSchema().formulaName\x20for\x20structured\x20references.','owner','default','_resolveKanbanCoverFieldId','fieldId','getTime','viewIndexes','recordOrder','MMM\x20D,\x20YYYY','_setObjectEdit','[BaseFormula]:\x20field\x20\x22','_config','createRegExpFromSafeFragment','commaPeriod','base.command.update-base-kanban-config','_tableBaseIds','record','_deleteRecordsBaseOp','lastMonth','_resolveKanbanCardFieldIds','params','unitData','syncUnit','width','getTypeOfUnitDisposed$','displayColor','Invalid\x20object\x20permission\x20batch.','base-snapshot-v1','BaseJson1.syncCellInvalidations','fld-','cycle','setRecordValues','filled','view','person','small','then','RecordLink','getUnitType','_initDataSync','[BaseCommandService]:\x20cannot\x20create\x20table.','depthByRecordId','empty','CreatedBy','_registerUnitPermissionPoints','direction','options','UTC','apply','viewOrder','Start\x20date','duplicateField','_buildGantt','disposeWithMe','sum','createCreateFieldOp','[BaseCommandService]:\x20cannot\x20edit\x20field.','code','name','Formula','_applyFormulaResult','_capabilities','BaseProjection.materializeTableRows','hourCycle','lastIndex','567AXcnKB','_registeredSuperTableNames','canDeleteRecord','base.command.rename-base-table','dashboard/','abs','week','[BaseCommandService]:\x20cannot\x20edit\x20cell.','numfmt','view-','Undo','_recordIds','Copy','usableAsCardCover','Numbering','base.command.ensure-base-temporal-view-date-fields','CreateView','bases-exchange-client.operation.export-base','_cellInvalidationsTouchFields','setHours','clear','\x22\x20must\x20be\x20a\x20non-system\x20field\x20in\x20the\x20target\x20table.','RecordId','dependencyFieldId','BaseTable','YYYY/MM/DD','_getTableRevision','Number','BaseField','Status','showFieldNames','713308rZxUvP','_check','error','_matchesGanttColorRule','getTypeOfUnitAdded$','clearViewPermission','createDefaultValue','next7','long','resources','redo','_projectedRowsCache','[BaseField]:\x20invalid\x20multi-value\x20reference.','setViewFieldOrder','groupFieldId','size','system','recordIds','colorFieldId','#,##0','attachment','false','base.command.create-base-view','base-perf-','\x20must\x20have\x20a\x20valid\x20CSS\x20color.','base.command.set-base-view-sort','unknown','registerView','_resolveBaseId','_onCommandExecuted','every','_initDependencies','pushUndoRedo','quarter','createDeleteRecordsUndoOp','\x22.\x20Allowed\x20operators:\x20','greaterThan','#FDE68A','deleteView','table','Use\x2031\x20characters\x20or\x20fewer.','forEach','_canEditTable','moveField','prototype','usableAsGanttStart','now','A\x20table\x20name\x20cannot\x20start\x20or\x20end\x20with\x20an\x20apostrophe.','reason','onCommandExecuted','measure','Facade','_buildGrid',',,,\x22B\x22','workingDaysOnly','min','updatedAt','_getViewRevision','Working\x20day','_canUseFastSort','afterViewId','DD/MM/YYYY','_isAllDayGanttDateRange','_kanbanGroupKeys','[BaseFormula]:\x20table\x20does\x20not\x20exist.','cellData','maxDepth','findIndex','[BaseProjectionService]:\x20missing\x20view\x20\x22','renameFormulaUnitReferences','LESS_THAN','308EIEUNZ','_fastSortRows','setConfig','\x20has\x20unsupported\x20operator\x20\x22','working','usableAsGanttEnd','6657287QmBblF','subscribe','-view-grid','base.command.delete-base-table','allowNegative','forValue','action','createBase','pluginName','protocol','_projectedGroupsCache','value','BaseHierarchyError','_resolveGalleryCoverFieldId','[BaseField]:\x20invalid\x20number\x20value.','endsWith','[BaseCommandService]:\x20cannot\x20delete\x20record.','displayText','getUnitId','_setCachedProjection','attachmentSet','_projectHierarchyGroups','base.command.change-base-field-type','duplicateRecord','Calendar','clearUnit','base-range-values-v1','hidden','depth',':start','1143864XKytGC','beforeFieldId','attachments','tables','__UNIVER_BASE_PERF__','getDependencies','Email','A\x20table\x20name\x20cannot\x20contain\x20:\x20\x5c\x20/\x20?\x20*\x20[\x20].','fieldName','General','validateFormula','clearRecordPermission','children','viewId','column','base.command.batch-delete-base-records','_dataSyncPrimaryController','_getOrderedRecords','updateField','[BaseHierarchy]:\x20field\x20\x22','[RecordLink]:\x20target\x20table\x20does\x20not\x20exist\x20in\x20this\x20Base.','_isGanttDateField','#,##0.00','getProjection','createdAt','base.command.set-base-view-filter','[RecordLink]:\x20display\x20field\x20\x22','[BaseCommandService]:\x20cannot\x20delete\x20field.','Cycle','strategies','[BaseCommandService]:\x20cannot\x20move\x20a\x20field\x20before\x20record-id.','basePerf','_projectedViewRowsCache','primaryFieldName','operand','compose','Done','tableOrder','Base\x20','unitWidth','\x22\x20does\x20not\x20exist.','Comment','[BaseField]:\x20negative\x20numbers\x20are\x20disabled.','_normalizeCellValue','lastIndexOf','field','average','unitId','Attachment','getAllBases','isNot','round','Date1900','leftPaneCollapsed','base-perf','[BaseField]:\x20invalid\x20date\x20value.','IS_NOT_EMPTY','key','Unchecked','Base\x20object\x20permissions\x20only\x20support\x20Edit:\x20','_cacheKey','split','en-US','Date','tableId','contains','invalidDateField','[BaseCommandService]:\x20cannot\x20create\x20record.','allowDangling','BEFORE','setRecordPermission','\x20can\x20use\x20dateMode\x20only\x20with\x20Date,\x20CreatedAt,\x20or\x20UpdatedAt\x20fields.','includeRecords','exceptions','_kanbanLaneColor','rules','gantt','[BaseField]:\x20invalid\x20progress\x20value.','getOwnPropertyDescriptor','card','_createRecordOrderOp','_title','[RecordLink]:\x20a\x20single\x20link\x20accepts\x20only\x20one\x20record\x20id.','bases-exchange-client.operation.export-base-by-format','h12','[BaseCommandService]:\x20record-id\x20is\x20reserved.','ena','_getAllTableIds','base.command.move-base-hierarchy-record','some','hierarchy','setViewGroup','invalidGanttEndField','base.command.create-base-table','MaxDepth','registerCommand','YYYY-MM-DD','_groupProjectionFieldIds','pop','isNotEmpty','invalidateByCell','invalidReasonByRecordId','_patchProjectedRowsForCellInvalidations','all','applyOp','ascend','fromCollab','constructor','from','Gallery','updateViewConfig','[BaseCommandService]:\x20invalid\x20RecordLink\x20value.','subtreeEndIndex','fromChangeset','_findCalendarDateFieldId','_syncSuperTables','timeZone','createView','fromEntries','updateCell','decorate','[BaseCommandService]:\x20cannot\x20insert\x20a\x20field\x20before\x20record-id.','recordCount','_kanbanLaneTitle','base.command.batch-create-base-records','_getStructureDirtyTableIds','dateMode','canEditCell','223112EoPWhN','undefined','Grid\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','base.command.set-permissions','getUTCFullYear','getUTCDay','dispose','editCell','_canEdit','Set','title','_patchCachedProjectedRows','renameTable','mark','collaborators','index','deleteRecord','_getCurrentUserId','conditions','invalidateByView','Table\x20name\x20is\x20required.','canEditTable','[BaseJson1OpFactory]:\x20cannot\x20move\x20a\x20field\x20before\x20record-id.','Base\x20table\x20names\x20are\x20exported\x20as\x20Excel\x20worksheet\x20names\x20and\x20must\x20contain\x201-31\x20characters,\x20not\x20start\x20or\x20end\x20with\x20an\x20apostrophe,\x20not\x20contain\x20:\x20\x5c\x20/\x20?\x20*\x20[\x20],\x20and\x20be\x20unique\x20(case-insensitive).','packageName','unsubscribe','__all__','regenerateViewIds','changes','getCurrentUnitOfType','syncExecuteCommand','setViewSort','startDateFieldId','isInteger','base.command.update-base-cell','_applyingFormulaResults','notContains','BaseProjection.getProjection','selfParent','register','updateRecordOrder','create-view','_clearObjectEdit','canEditField','manageView','this-row','_projectRows','_resolveGanttDateFieldId','thisWeek','canManageView','yyyy/mm/dd','getDay','general','usableAsCalendarDate','before','_getCachedProjection','_isColorfulKanbanGroupField','check','abbreviation','canDeleteTable','base.projection.service','_normalizeGalleryConfig','isArray','\x22\x20with\x20field\x20type\x20\x22','Add','base.command.set-base-view-field-visible','push','pattern','_setFormulaFieldCells','year','createRecords','[BaseCommandService]:\x20field\x20\x22','attachment-','Clear','useThousands','_hierarchyIndexCache','base.command.set-permission','snapshot','toLowerCase','_fieldRegistry','canCreateField','star','allowMultiple','fieldIndex','tomorrow','includes','tryMaterializeSnapshot','base.command.delete-base-view','invalidateByOp','_viewRevisionKey','reduce','getUnit','renameView','ruleId','format','invalidateByField','base.command.delete-base-record','createDefaultConfig','base.command.duplicate-base-record','undo','startsWith','deleteField','BaseProjection.projectRows','toPrimitive','progressFieldId','local','Currency','count','COLUMN','NUMBER','type','views','BaseJson1.cloneForOp','h24','_sortRows','setViewFieldVisible','base.command.service','getFullYear','base.command.create-base-child-record','dateFormat','exception-','_tableRevisions','executeCommand','registerRuleModel','periodComma','MM-DD','color','[BaseCommandService]:\x20cannot\x20create\x20field.','flat','diffValue','setRules','base.command.delete-base-field','_clearUnit','Checked','deleteTable','entries','_findKanbanGroupField','_scheduledSuperTableSyncs','base.command.validate-formula','getUTCDate','[BaseViewRegistryService]:\x20view\x20type\x20\x22','base.view-registry.service','_instanceService','mode','_replaceOptional','afterFieldId','base.mutation.','_getKanbanConfiguredLanes','_groupsCacheKey','BaseProjection.filterAndSortRows','lessThan','_filterRows','keys','getAffectedRanges','_globalRevision','Yes','lastWeek','slice','edit','_projectFields','iterator','Redo','_runtimeContext','_filterSortFieldIds','setViewFieldWidth','#BFDBFE','cellRevision','score','CreatedAt','spacePeriod','records','#14b8a6','\x20references\x20missing\x20or\x20non-public\x20field\x20\x22','parentFieldName','base.command.set-base-table-hierarchy-field','timeslotSize','_createNumberingFieldValuePatches','invalid','locale','[UpdateBaseViewConditionalColorRulesCommand]:\x20rules\x20must\x20be\x20an\x20array.','setFieldPermission','symbol','end','2694oJMyjo','getPermissionPoint','getCapabilities','cell','createBatchCreateRecordsOp','baseRows','normal','apostrophe','beforeViewId','missingRecord','padStart','table/','_baseSyncDisposables','rowId','has','stringify','order','search','Base','target','_ganttBarColor','trigger','next30','frozenFieldCount','date','_rowTransformCacheSegment','workingDays','Grid','medium','save','validate','registerCtorForType','_disposed','valid','addPermissionPoint','parentRecordId','label','InvalidField','Person','_buildKanban','createSetRecordValuesOp','$1\x20','updatedBy','[BaseCommandService]:\x20cannot\x20edit\x20record-id.','doing','[BaseCommandService]:\x20cannot\x20edit\x20table.','indexOf','string','Table','cardSize','weekdays','\x20has\x20unsupported\x20target\x20\x22',',,\x22M\x22','pickerFieldIds','base.viewType.gallery','Unsupported\x20Base\x20permission\x20action:\x20','initializeUnit','markResultApplied','raw','fieldOrder','h:mm\x20a','Remote','getAllUnitsForType','_materializeGroups','trim','_createSystemFieldValuePatches','setTablePermission','set','emitPermissionDenied','config','base.command.set-base-name','BaseJson1.json1Apply','CONTAINS','thread-comment.mutation.','[RecordLink]:\x20target\x20record\x20\x22','MultiSelect','Empty','BASE','Edit','\x20has\x20unsupported\x20date\x20mode\x20\x22','-field-name','finally','UNIVER_BASE','\x22\x20is\x20not\x20registered.','policy','base.viewType.grid','resolvedOptions','#3b82f6','setBaseName','IS_EMPTY','multiple','replaceOp','@univerjs-pro/bases','False','saveMany','function','_getHierarchyIndex','Parent\x20Items','manual','createSuperTableReference','base.command.move-base-field','primaryFieldId','[BaseJson1OpFactory]:\x20cannot\x20write\x20record-id.','focusUnit','[BaseField]:\x20invalid\x20person\x20value.','3yfqqUA','autoIncrement','number','kind','hostAnchorId','_toDirtyRangePatch','parentByRecordId','tableRevision','AFTER','_tablePermissions','_isAllDayCalendarEvent','BaseView','true','[DeleteBaseTableCommand]:\x20table\x20\x22','map','canCreateRecord','exact','Uncategorized','defaultValue','_factory','remote','toString','displayFieldId','object','invalidField','\x22\x20is\x20referenced\x20by\x20','_permissionService','_getCellRevision','_createNumberingAllocators','invertOp','_getAllBaseDependencyTreeCacheMap','clearTablePermission','remove','createdBy','Gantt','col','percent','[BaseCompression]:\x20invalid\x20compressed\x20payload\x20\x22','decimalPlaces','Ids','_injector','_viewRevisions','__base_hierarchy_parent__','relationRole','[RecordLink]:\x20value\x20must\x20be\x20a\x20canonical\x20string.','filter','removeOp','\x20cannot\x20use\x20operator\x20\x22','A\x20table\x20with\x20this\x20name\x20already\x20exists.','\x20must\x20be\x20an\x20object.'];_0xc540=function(){return _0x3a430e;};return _0xc540();}function ur(_0x1a269a,_0x2d2c33){const _0x16be89=_0x413924;return Math['max'](0x0,Math[_0x16be89(0x256)](_0x1a269a,_0x2d2c33));}function dr(_0x288976){'@babel/helpers - typeof';const _0xf72616=_0x413924;return dr=typeof Symbol==_0xf72616(0x420)&&typeof Symbol[_0xf72616(0x3aa)]=='symbol'?function(_0x53f6c8){return typeof _0x53f6c8;}:function(_0x4f1f44){const _0x1d5792=_0xf72616;return _0x4f1f44&&typeof Symbol=='function'&&_0x4f1f44[_0x1d5792(0x2f5)]===Symbol&&_0x4f1f44!==Symbol[_0x1d5792(0x24b)]?'symbol':typeof _0x4f1f44;},dr(_0x288976);}function fr(_0x3bb14d,_0x6bed4c){const _0x3ead01=_0x413924;if(dr(_0x3bb14d)!=_0x3ead01(0x441)||!_0x3bb14d)return _0x3bb14d;var _0x1ccc3f=_0x3bb14d[Symbol[_0x3ead01(0x371)]];if(_0x1ccc3f!==void 0x0){var _0x45183f=_0x1ccc3f[_0x3ead01(0x157)](_0x3bb14d,_0x6bed4c||_0x3ead01(0x1c1));if(dr(_0x45183f)!=_0x3ead01(0x441))return _0x45183f;throw TypeError(_0x3ead01(0x45f));}return(_0x6bed4c===_0x3ead01(0x3f0)?String:Number)(_0x3bb14d);}function pr(_0x5030e7){const _0x5672b8=_0x413924;var _0x4091c2=fr(_0x5030e7,'string');return dr(_0x4091c2)==_0x5672b8(0x3bf)?_0x4091c2:_0x4091c2+'';}function G(_0x5148a6,_0x32ec58,_0x5b7452){return(_0x32ec58=pr(_0x32ec58))in _0x5148a6?Object['defineProperty'](_0x5148a6,_0x32ec58,{'value':_0x5b7452,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x5148a6[_0x32ec58]=_0x5b7452,_0x5148a6;}const mr=_0x116afe('base.field-registry.service');var hr=class extends _0x51b493{constructor(..._0x482a2f){const _0x386881=_0x413924;super(..._0x482a2f),G(this,_0x386881(0x4d3),new Map());}['register'](_0xddbb82){const _0x3ff2d1=_0x413924;return this[_0x3ff2d1(0x4d3)][_0x3ff2d1(0x404)](_0xddbb82[_0x3ff2d1(0x378)],_0xddbb82),_0x500368(()=>this[_0x3ff2d1(0x4d3)]['delete'](_0xddbb82[_0x3ff2d1(0x378)]));}[_0x413924(0x113)](_0x4a6f11){const _0x5f12ed=_0x413924;let _0x5b8bf7=this[_0x5f12ed(0x4d3)][_0x5f12ed(0x113)](_0x4a6f11);if(!_0x5b8bf7)throw Error(_0x5f12ed(0x1ba)+_0x4a6f11+_0x5f12ed(0x414));return _0x5b8bf7;}[_0x413924(0x48a)](_0x934fe5){const _0x146844=_0x413924;return this[_0x146844(0x4d3)][_0x146844(0x113)](_0x934fe5);}['getAll'](){const _0x3bd0cd=_0x413924;return Array[_0x3bd0cd(0x2f6)](this[_0x3bd0cd(0x4d3)][_0x3bd0cd(0x4ae)]());}},gr=class{constructor(_0x446b78){const _0x21ae42=_0x413924;this[_0x21ae42(0x2b9)]=_0x446b78,G(this,_0x21ae42(0x378),_0x518f29[_0x21ae42(0x3d3)]),G(this,_0x21ae42(0x493),_0x4a4e33['Comment']),G(this,_0x21ae42(0x15b),_0x44a480['INIT']),G(this,'id',void 0x0),G(this,_0x21ae42(0x277),!0x0),this['id']=this['type']+'.'+this['subType']+'_'+_0x446b78;}},_r=class{constructor(_0xdad69d){const _0x4345f5=_0x413924;this[_0x4345f5(0x2b9)]=_0xdad69d,G(this,_0x4345f5(0x378),_0x518f29['Base']),G(this,_0x4345f5(0x493),_0x4a4e33['Copy']),G(this,'status',_0x44a480[_0x4345f5(0x4b4)]),G(this,'id',void 0x0),G(this,_0x4345f5(0x277),!0x0),this['id']=this[_0x4345f5(0x378)]+'.'+this[_0x4345f5(0x493)]+'_'+_0xdad69d;}},vr=class{constructor(_0x32fdf0){const _0x92aeef=_0x413924;this[_0x92aeef(0x2b9)]=_0x32fdf0,G(this,_0x92aeef(0x378),_0x518f29[_0x92aeef(0x3d3)]),G(this,'subType',_0x4a4e33[_0x92aeef(0x40f)]),G(this,'status',_0x44a480[_0x92aeef(0x4b4)]),G(this,'id',void 0x0),G(this,_0x92aeef(0x277),!0x0),this['id']=this[_0x92aeef(0x378)]+'.'+this[_0x92aeef(0x493)]+'_'+_0x32fdf0;}},yr=class{constructor(_0x3860c2){const _0xd5639c=_0x413924;this[_0xd5639c(0x2b9)]=_0x3860c2,G(this,_0xd5639c(0x378),_0x518f29[_0xd5639c(0x3d3)]),G(this,'subType',_0x4a4e33[_0xd5639c(0x174)]),G(this,_0xd5639c(0x15b),_0x44a480[_0xd5639c(0x4b4)]),G(this,'id',void 0x0),G(this,_0xd5639c(0x277),!0x0),this['id']=this[_0xd5639c(0x378)]+'.'+this[_0xd5639c(0x493)]+'_'+_0x3860c2;}},br=class{constructor(_0x145c45,_0x4f5867){const _0x3e4dd5=_0x413924;this[_0x3e4dd5(0x2b9)]=_0x145c45,this[_0x3e4dd5(0x1ac)]=_0x4f5867,G(this,_0x3e4dd5(0x378),_0x518f29['BaseDashboard']),G(this,'subType',_0x4a4e33[_0x3e4dd5(0x40f)]),G(this,_0x3e4dd5(0x15b),_0x44a480['INIT']),G(this,'id',void 0x0),G(this,_0x3e4dd5(0x277),!0x0),this['id']=this[_0x3e4dd5(0x378)]+'.'+this[_0x3e4dd5(0x493)]+'_'+_0x145c45+'_'+_0x4f5867;}},xr=class{constructor(_0x3e1300,_0x1e1b7a){const _0x101aa0=_0x413924;this[_0x101aa0(0x2b9)]=_0x3e1300,this[_0x101aa0(0x1ac)]=_0x1e1b7a,G(this,_0x101aa0(0x378),_0x518f29[_0x101aa0(0x21c)]),G(this,'subType',_0x4a4e33[_0x101aa0(0x40f)]),G(this,_0x101aa0(0x15b),_0x44a480['INIT']),G(this,'id',void 0x0),G(this,_0x101aa0(0x277),!0x0),this['id']=this['type']+'.'+this[_0x101aa0(0x493)]+'_'+_0x3e1300+'_'+_0x1e1b7a;}},Sr=class{constructor(_0x387289,_0x398975){const _0x6d1680=_0x413924;this[_0x6d1680(0x2b9)]=_0x387289,this[_0x6d1680(0x1ac)]=_0x398975,G(this,'type',_0x518f29['BaseRecord']),G(this,_0x6d1680(0x493),_0x4a4e33[_0x6d1680(0x40f)]),G(this,_0x6d1680(0x15b),_0x44a480['INIT']),G(this,'id',void 0x0),G(this,'value',!0x0),this['id']=this[_0x6d1680(0x378)]+'.'+this['subType']+'_'+_0x387289+'_'+_0x398975;}},Cr=class{constructor(_0x1908df,_0x55233f){const _0x553224=_0x413924;this[_0x553224(0x2b9)]=_0x1908df,this[_0x553224(0x1ac)]=_0x55233f,G(this,_0x553224(0x378),_0x518f29[_0x553224(0x218)]),G(this,_0x553224(0x493),_0x4a4e33[_0x553224(0x40f)]),G(this,_0x553224(0x15b),_0x44a480[_0x553224(0x4b4)]),G(this,'id',void 0x0),G(this,_0x553224(0x277),!0x0),this['id']=this[_0x553224(0x378)]+'.'+this[_0x553224(0x493)]+'_'+_0x1908df+'_'+_0x55233f;}},wr=class{constructor(_0x42af9d,_0x16ae10){const _0x585931=_0x413924;this[_0x585931(0x2b9)]=_0x42af9d,this['objectId']=_0x16ae10,G(this,_0x585931(0x378),_0x518f29['BaseView']),G(this,_0x585931(0x493),_0x4a4e33['Edit']),G(this,'status',_0x44a480[_0x585931(0x4b4)]),G(this,'id',void 0x0),G(this,'value',!0x0),this['id']=this[_0x585931(0x378)]+'.'+this[_0x585931(0x493)]+'_'+_0x42af9d+'_'+_0x16ae10;}};const Tr=[_0x4a4e33['Edit'],_0x4a4e33[_0x413924(0x20c)],_0x4a4e33[_0x413924(0x174)],_0x4a4e33[_0x413924(0x2b3)]],Er=new Set([_0x518f29[_0x413924(0x3d3)],_0x518f29['BaseTable'],_0x518f29[_0x413924(0x21c)],_0x518f29['BaseRecord'],_0x518f29[_0x413924(0x435)],_0x518f29[_0x413924(0x122)]]),Dr=_0x413924(0x3cc),Or=_0x413924(0x149),kr='record/',Ar=_0x413924(0x4a7),jr=_0x413924(0x204);function K(_0x57a5a9){return''+Dr+encodeURIComponent(_0x57a5a9);}function q(_0x40dbb4,_0x28ec18){return''+Or+encodeURIComponent(_0x40dbb4)+'/'+encodeURIComponent(_0x28ec18);}function J(_0x2387da,_0xb8b71b){return''+kr+encodeURIComponent(_0x2387da)+'/'+encodeURIComponent(_0xb8b71b);}function Mr(_0x3c21dc,_0x12658f){return''+Ar+encodeURIComponent(_0x3c21dc)+'/'+encodeURIComponent(_0x12658f);}function Nr(_0x41e37f){return''+jr+encodeURIComponent(_0x41e37f);}function Pr(_0x47e091,_0x28eecb,_0xd3e883){const _0x67f4b=_0x413924;if(_0x28eecb===_0x47e091)switch(_0xd3e883){case _0x4a4e33['Edit']:return new vr(_0x47e091);case _0x4a4e33[_0x67f4b(0x20c)]:return new _r(_0x47e091);case _0x4a4e33[_0x67f4b(0x174)]:return new yr(_0x47e091);case _0x4a4e33[_0x67f4b(0x2b3)]:return new gr(_0x47e091);default:throw Error(_0x67f4b(0x3f8)+_0xd3e883);}if(_0xd3e883!==_0x4a4e33['Edit'])throw Error(_0x67f4b(0x2c5)+_0x28eecb);if(_0x28eecb[_0x67f4b(0x36e)](Dr))return new Cr(_0x47e091,_0x28eecb);if(_0x28eecb[_0x67f4b(0x36e)](Or))return new xr(_0x47e091,_0x28eecb);if(_0x28eecb['startsWith'](kr))return new Sr(_0x47e091,_0x28eecb);if(_0x28eecb[_0x67f4b(0x36e)](Ar))return new wr(_0x47e091,_0x28eecb);if(_0x28eecb['startsWith'](jr))return new br(_0x47e091,_0x28eecb);throw Error('Unsupported\x20Base\x20permission\x20object:\x20'+_0x28eecb);}function Fr(_0x83b842,_0x120ae6,_0xba12bd,_0x1104b0){const _0x112465=_0x413924;var _0x560208;return((_0x560208=_0x83b842[_0x112465(0x3c2)](Pr(_0x120ae6,_0xba12bd,_0x1104b0)['id']))==null?void 0x0:_0x560208[_0x112465(0x277)])??!0x0;}function Ir(_0x56c513,_0x182743,_0x4cf807,_0x5e83ef,_0x23fdc5){const _0x356ae8=_0x413924;let _0x26f7ca=Pr(_0x182743,_0x4cf807,_0x5e83ef);_0x56c513[_0x356ae8(0x3c2)](_0x26f7ca['id'])||_0x56c513['addPermissionPoint'](_0x26f7ca),_0x56c513['updatePermissionPoint'](_0x26f7ca['id'],_0x23fdc5);}function Lr(_0x570cb0,_0x16fec6,_0x536e9f,_0x21c688){const _0x12c5b1=_0x413924;_0x570cb0[_0x12c5b1(0x469)](Pr(_0x16fec6,_0x536e9f,_0x21c688)['id']);}function Rr(_0x1057b2,_0x24e759){const _0x473763=_0x413924;_0x1057b2[_0x473763(0x1af)]()[_0x473763(0x248)]((_0x328ccf,_0x5a062d)=>{const _0x55597d=_0x473763;_0x328ccf[_0x55597d(0x26d)](_0x4b81cc=>{const _0x2edc55=_0x55597d;Er[_0x2edc55(0x3cf)](_0x4b81cc[_0x2edc55(0x378)])&&_0x2edc55(0x2b9)in _0x4b81cc&&_0x4b81cc[_0x2edc55(0x2b9)]===_0x24e759&&_0x1057b2['deletePermissionPoint'](_0x5a062d);})[_0x55597d(0x323)]();});}function zr(_0x21a3bf,_0x49f949,_0x401d00){const _0x366ea9=_0x413924;return Fr(_0x21a3bf,_0x49f949,_0x49f949,_0x4a4e33[_0x366ea9(0x40f)])&&Array[_0x366ea9(0x2f6)](_0x401d00)['every'](_0x450f0f=>Fr(_0x21a3bf,_0x49f949,_0x450f0f,_0x4a4e33[_0x366ea9(0x40f)]));}function Y(_0x3e82fa,_0x54cdd3){return function(_0x3118e9,_0x544625){_0x54cdd3(_0x3118e9,_0x544625,_0x3e82fa);};}function X(_0x4da099,_0x59e6e7,_0x280d86,_0x4f10e9){const _0x4d660b=_0x413924;var _0x556152=arguments[_0x4d660b(0x4be)],_0x280349=_0x556152<0x3?_0x59e6e7:_0x4f10e9===null?_0x4f10e9=Object[_0x4d660b(0x2d8)](_0x59e6e7,_0x280d86):_0x4f10e9,_0x2867b8;if(typeof Reflect==_0x4d660b(0x441)&&typeof Reflect[_0x4d660b(0x302)]=='function')_0x280349=Reflect[_0x4d660b(0x302)](_0x4da099,_0x59e6e7,_0x280d86,_0x4f10e9);else{for(var _0x5a09aa=_0x4da099[_0x4d660b(0x4be)]-0x1;_0x5a09aa>=0x0;_0x5a09aa--)(_0x2867b8=_0x4da099[_0x5a09aa])&&(_0x280349=(_0x556152<0x3?_0x2867b8(_0x280349):_0x556152>0x3?_0x2867b8(_0x59e6e7,_0x280d86,_0x280349):_0x2867b8(_0x59e6e7,_0x280d86))||_0x280349);}return _0x556152>0x3&&_0x280349&&Object[_0x4d660b(0x13f)](_0x59e6e7,_0x280d86,_0x280349),_0x280349;}const Br=_0x116afe(_0x413924(0x4b6));let Vr=class extends _0x51b493{constructor(_0x39b8e7,_0x4e6171){const _0x4e4152=_0x413924;super(),this[_0x4e4152(0x444)]=_0x39b8e7,this['_instanceService']=_0x4e6171,G(this,_0x4e4152(0x482),new Map()),G(this,_0x4e4152(0x433),new Map()),G(this,_0x4e4152(0x46f),new Map()),G(this,'_recordPermissions',new Map()),G(this,_0x4e4152(0x495),new Map()),G(this,_0x4e4152(0x1ce),new Map()),this[_0x4e4152(0x1f4)](this['_instanceService'][_0x4e4152(0x1d7)](_0x1a4689['UNIVER_BASE'])[_0x4e4152(0x26d)](_0x2773ef=>this[_0x4e4152(0x38e)](_0x2773ef[_0x4e4152(0x27e)]())));}[_0x413924(0x137)](_0x2f13eb){const _0x1e0bda=_0x413924;var _0x51b6b8;return this['_canEdit'](_0x2f13eb,[])&&(((_0x51b6b8=this[_0x1e0bda(0x482)][_0x1e0bda(0x113)](_0x2f13eb))==null?void 0x0:_0x51b6b8[_0x1e0bda(0x1a4)])??!0x0);}[_0x413924(0x31f)](_0x466f2e){return this['_canEditTable'](_0x466f2e);}[_0x413924(0x345)](_0xaa96d3){const _0x101507=_0x413924;var _0x5b63d7;return this[_0x101507(0x249)](_0xaa96d3)&&(((_0x5b63d7=this[_0x101507(0x433)]['get'](_0xaa96d3))==null?void 0x0:_0x5b63d7[_0x101507(0x4a1)])??!0x0);}[_0x413924(0x35a)](_0x3b528c){const _0x4fc6d1=_0x413924;var _0x378981;return this[_0x4fc6d1(0x249)](_0x3b528c)&&(((_0x378981=this['_tablePermissions'][_0x4fc6d1(0x113)](_0x3b528c))==null?void 0x0:_0x378981['createField'])??!0x0);}[_0x413924(0x335)](_0x57b349,_0xc39810){const _0x4635c8=_0x413924;var _0x2de716;return this[_0x4635c8(0x249)](_0x57b349)&&this[_0x4635c8(0x312)](_0x57b349,[q(_0x57b349,_0xc39810)])&&(((_0x2de716=this['_fieldPermissions'][_0x4635c8(0x113)](Ur(_0x57b349,_0xc39810)))==null?void 0x0:_0x2de716[_0x4635c8(0x3a8)])??!0x0);}[_0x413924(0x130)](_0x373bd0,_0x1d3070){const _0x621623=_0x413924;var _0x2f2189;return this[_0x621623(0x335)](_0x373bd0,_0x1d3070)&&(((_0x2f2189=this[_0x621623(0x46f)][_0x621623(0x113)](Ur(_0x373bd0,_0x1d3070)))==null?void 0x0:_0x2f2189['delete'])??!0x0);}[_0x413924(0x439)](_0x14096c){const _0x37603e=_0x413924;var _0x3d764c;return this['_canEditTable'](_0x14096c)&&(((_0x3d764c=this[_0x37603e(0x433)][_0x37603e(0x113)](_0x14096c))==null?void 0x0:_0x3d764c[_0x37603e(0x484)])??!0x0);}[_0x413924(0x4cf)](_0x442fc5,_0x377de1){const _0x3b0fdd=_0x413924;var _0x1102ea;let _0x58a5db=this[_0x3b0fdd(0x1a1)][_0x3b0fdd(0x113)](Wr(_0x442fc5,_0x377de1));return this[_0x3b0fdd(0x312)](_0x442fc5,[K(_0x442fc5),J(_0x442fc5,_0x377de1)])&&(((_0x1102ea=this[_0x3b0fdd(0x433)][_0x3b0fdd(0x113)](_0x442fc5))==null?void 0x0:_0x1102ea[_0x3b0fdd(0x3a8)])??!0x0)&&((_0x58a5db==null?void 0x0:_0x58a5db['edit'])??!0x0)&&((_0x58a5db==null?void 0x0:_0x58a5db[_0x3b0fdd(0x311)])??!0x0);}[_0x413924(0x202)](_0x3e97b9,_0x2486ec){const _0x49095c=_0x413924;var _0x414bf1,_0x19b79f,_0x509753;return this[_0x49095c(0x312)](_0x3e97b9,[K(_0x3e97b9),J(_0x3e97b9,_0x2486ec)])&&(((_0x414bf1=this[_0x49095c(0x433)]['get'](_0x3e97b9))==null?void 0x0:_0x414bf1[_0x49095c(0x3a8)])??!0x0)&&(((_0x19b79f=this[_0x49095c(0x1a1)]['get'](Wr(_0x3e97b9,_0x2486ec)))==null?void 0x0:_0x19b79f['edit'])??!0x0)&&(((_0x509753=this[_0x49095c(0x1a1)][_0x49095c(0x113)](Wr(_0x3e97b9,_0x2486ec)))==null?void 0x0:_0x509753[_0x49095c(0x4a1)])??!0x0);}[_0x413924(0x309)](_0x5d301c,_0x17af25,_0x289cd0){const _0x3f2f55=_0x413924;var _0x551bca,_0x37b98a,_0x450745;let _0x2e57fc=this[_0x3f2f55(0x46f)][_0x3f2f55(0x113)](Ur(_0x5d301c,_0x289cd0));return this[_0x3f2f55(0x312)](_0x5d301c,[K(_0x5d301c),q(_0x5d301c,_0x289cd0),J(_0x5d301c,_0x17af25)])&&(((_0x551bca=this[_0x3f2f55(0x433)]['get'](_0x5d301c))==null?void 0x0:_0x551bca[_0x3f2f55(0x3a8)])??!0x0)&&(((_0x37b98a=this[_0x3f2f55(0x1a1)][_0x3f2f55(0x113)](Wr(_0x5d301c,_0x17af25)))==null?void 0x0:_0x37b98a[_0x3f2f55(0x3a8)])??!0x0)&&(((_0x450745=this['_recordPermissions'][_0x3f2f55(0x113)](Wr(_0x5d301c,_0x17af25)))==null?void 0x0:_0x450745[_0x3f2f55(0x311)])??!0x0)&&((_0x2e57fc==null?void 0x0:_0x2e57fc[_0x3f2f55(0x3a8)])??!0x0)&&((_0x2e57fc==null?void 0x0:_0x2e57fc[_0x3f2f55(0x311)])??!0x0);}[_0x413924(0x33b)](_0x17ad7f,_0x4c5e36){const _0x2bae6e=_0x413924;var _0xeb984c,_0x26365b,_0x1cc2e1;return this[_0x2bae6e(0x312)](_0x17ad7f,[K(_0x17ad7f),Mr(_0x17ad7f,_0x4c5e36)])&&(((_0xeb984c=this[_0x2bae6e(0x433)][_0x2bae6e(0x113)](_0x17ad7f))==null?void 0x0:_0xeb984c['edit'])??!0x0)&&(((_0x26365b=this['_viewPermissions'][_0x2bae6e(0x113)](Gr(_0x17ad7f,_0x4c5e36)))==null?void 0x0:_0x26365b[_0x2bae6e(0x3a8)])??!0x0)&&(((_0x1cc2e1=this[_0x2bae6e(0x433)][_0x2bae6e(0x113)](_0x17ad7f))==null?void 0x0:_0x1cc2e1[_0x2bae6e(0x336)])??!0x0);}[_0x413924(0x17c)](_0x3f7a3b,_0x4858ae){const _0x531a3a=_0x413924;this[_0x531a3a(0x482)][_0x531a3a(0x404)](_0x3f7a3b,{...this[_0x531a3a(0x482)][_0x531a3a(0x113)](_0x3f7a3b),..._0x4858ae}),_0x4858ae['edit']!==void 0x0&&Ir(this[_0x531a3a(0x444)],_0x3f7a3b,_0x3f7a3b,_0x4a4e33['Edit'],_0x4858ae[_0x531a3a(0x3a8)]);}[_0x413924(0x403)](_0x116871,_0x2f105f){const _0x1eb353=_0x413924;this[_0x1eb353(0x4d7)](_0x116871),this[_0x1eb353(0x433)][_0x1eb353(0x404)](_0x116871,{...this[_0x1eb353(0x433)]['get'](_0x116871),..._0x2f105f}),this[_0x1eb353(0x1c8)](_0x116871,K(_0x116871),_0x2f105f['edit']);}[_0x413924(0x3be)](_0x37a39e,_0x413c8f,_0x547d93){const _0x5530a0=_0x413924;this['_rememberTable'](_0x37a39e);let _0x24143d=Ur(_0x37a39e,_0x413c8f);this[_0x5530a0(0x46f)][_0x5530a0(0x404)](_0x24143d,{...this[_0x5530a0(0x46f)][_0x5530a0(0x113)](_0x24143d),..._0x547d93}),this['_setObjectEdit'](_0x37a39e,q(_0x37a39e,_0x413c8f),_0x547d93['edit']);}[_0x413924(0x2d0)](_0x3662a4,_0x95c406,_0x244bb9){const _0x510044=_0x413924;this[_0x510044(0x4d7)](_0x3662a4);let _0x3e30ef=Wr(_0x3662a4,_0x95c406);this[_0x510044(0x1a1)][_0x510044(0x404)](_0x3e30ef,{...this['_recordPermissions'][_0x510044(0x113)](_0x3e30ef),..._0x244bb9}),this[_0x510044(0x1c8)](_0x3662a4,J(_0x3662a4,_0x95c406),_0x244bb9[_0x510044(0x3a8)]);}[_0x413924(0x4b1)](_0x5a3dae,_0x56fa0d,_0x7358b2){const _0x289714=_0x413924;this[_0x289714(0x4d7)](_0x5a3dae);let _0x56419c=Gr(_0x5a3dae,_0x56fa0d);this['_viewPermissions']['set'](_0x56419c,{...this[_0x289714(0x495)]['get'](_0x56419c),..._0x7358b2}),this['_setObjectEdit'](_0x5a3dae,Mr(_0x5a3dae,_0x56fa0d),_0x7358b2[_0x289714(0x3a8)]);}['clearBasePermission'](_0x10ef4b){const _0x5196c3=_0x413924;this[_0x5196c3(0x482)]['delete'](_0x10ef4b),Lr(this[_0x5196c3(0x444)],_0x10ef4b,_0x10ef4b,_0x4a4e33[_0x5196c3(0x40f)]);}[_0x413924(0x449)](_0x12ac39){const _0x3e7d1f=_0x413924;this[_0x3e7d1f(0x433)][_0x3e7d1f(0x4a1)](_0x12ac39),this[_0x3e7d1f(0x334)](_0x12ac39,K(_0x12ac39));}['clearFieldPermission'](_0x3608ee,_0x48824c){const _0x1ed607=_0x413924;this['_fieldPermissions'][_0x1ed607(0x4a1)](Ur(_0x3608ee,_0x48824c)),this[_0x1ed607(0x334)](_0x3608ee,q(_0x3608ee,_0x48824c));}[_0x413924(0x295)](_0x2b29b2,_0x96a9db){const _0x2ac7bc=_0x413924;this['_recordPermissions']['delete'](Wr(_0x2b29b2,_0x96a9db)),this[_0x2ac7bc(0x334)](_0x2b29b2,J(_0x2b29b2,_0x96a9db));}[_0x413924(0x224)](_0x599dfc,_0x4fd4bd){const _0x3f21c9=_0x413924;this[_0x3f21c9(0x495)]['delete'](Gr(_0x599dfc,_0x4fd4bd)),this[_0x3f21c9(0x334)](_0x599dfc,Mr(_0x599dfc,_0x4fd4bd));}['getSnapshot'](){const _0x471d19=_0x413924;return{'bases':Object[_0x471d19(0x300)](this[_0x471d19(0x482)]),'tables':Object[_0x471d19(0x300)](this[_0x471d19(0x433)]),'fields':Object[_0x471d19(0x300)](this['_fieldPermissions']),'records':Object['fromEntries'](this[_0x471d19(0x1a1)]),'views':Object[_0x471d19(0x300)](this[_0x471d19(0x495)])};}[_0x413924(0x249)](_0x2cb33d){const _0x57a119=_0x413924;var _0x3dbfae;return this[_0x57a119(0x312)](_0x2cb33d,[K(_0x2cb33d)])&&(((_0x3dbfae=this[_0x57a119(0x433)][_0x57a119(0x113)](_0x2cb33d))==null?void 0x0:_0x3dbfae[_0x57a119(0x3a8)])??!0x0);}['_canEdit'](_0x32b018,_0x2525ac){const _0x4e61fb=_0x413924;var _0x11ea1c;let _0x5e09e0=this['_resolveBaseId'](_0x32b018);return!_0x5e09e0||zr(this[_0x4e61fb(0x444)],_0x5e09e0,_0x2525ac)&&(((_0x11ea1c=this[_0x4e61fb(0x482)]['get'](_0x5e09e0))==null?void 0x0:_0x11ea1c['edit'])??!0x0);}[_0x413924(0x1c8)](_0x1accae,_0xd6d084,_0x15beae){const _0x5aff38=_0x413924;if(_0x15beae===void 0x0)return;let _0x2d3c50=this[_0x5aff38(0x23b)](_0x1accae);_0x2d3c50&&Ir(this['_permissionService'],_0x2d3c50,_0xd6d084,_0x4a4e33[_0x5aff38(0x40f)],_0x15beae);}[_0x413924(0x334)](_0x19ba85,_0x4581e7){const _0x176eb0=_0x413924;let _0x4d2034=this[_0x176eb0(0x23b)](_0x19ba85);_0x4d2034&&Lr(this['_permissionService'],_0x4d2034,_0x4581e7,_0x4a4e33[_0x176eb0(0x40f)]);}[_0x413924(0x23b)](_0x16596b){const _0x532a69=_0x413924;var _0x1a7a72;let _0x4dead2=this[_0x532a69(0x398)]['getUnit'](_0x16596b,_0x1a4689[_0x532a69(0x413)]);return _0x4dead2?_0x4dead2[_0x532a69(0x27e)]():(_0x1a7a72=this[_0x532a69(0x398)][_0x532a69(0x3ff)](_0x1a4689[_0x532a69(0x413)])['find'](_0x3a9f86=>!!_0x3a9f86[_0x532a69(0x460)]()[_0x532a69(0x28d)][_0x16596b]))==null?void 0x0:_0x1a7a72['getUnitId']();}['_rememberTable'](_0x37e104){const _0x545d52=_0x413924;let _0x53a4d8=this[_0x545d52(0x23b)](_0x37e104);_0x53a4d8&&this['_tableBaseIds']['set'](_0x37e104,_0x53a4d8);}[_0x413924(0x38e)](_0x266153){const _0x164074=_0x413924;this[_0x164074(0x482)][_0x164074(0x4a1)](_0x266153),this[_0x164074(0x1ce)][_0x164074(0x248)]((_0x4a0c05,_0xc7f08f)=>{const _0x14525e=_0x164074;_0x4a0c05===_0x266153&&(this[_0x14525e(0x433)][_0x14525e(0x4a1)](_0xc7f08f),Hr(this[_0x14525e(0x46f)],_0xc7f08f+'\x1f'),Hr(this['_recordPermissions'],_0xc7f08f+'\x1f'),Hr(this['_viewPermissions'],_0xc7f08f+'\x1f'),this[_0x14525e(0x1ce)][_0x14525e(0x4a1)](_0xc7f08f));});}};Vr=X([Y(0x0,_0x151b9e),Y(0x1,_0x4de172)],Vr);function Hr(_0x8000ca,_0x37ff61){const _0x1dff03=_0x413924;_0x8000ca[_0x1dff03(0x248)]((_0x3e872e,_0x47497f)=>{const _0x34eb96=_0x1dff03;_0x47497f[_0x34eb96(0x36e)](_0x37ff61)&&_0x8000ca[_0x34eb96(0x4a1)](_0x47497f);});}function Ur(_0x4dad21,_0x3f3cf2){return _0x4dad21+'\x1f'+_0x3f3cf2;}function Wr(_0x8f46bb,_0x39807c){return _0x8f46bb+'\x1f'+_0x39807c;}function Gr(_0x9d6517,_0x27fa34){return _0x9d6517+'\x1f'+_0x27fa34;}const Kr=_0x116afe(_0x413924(0x37e));let qr=class{constructor(_0x5f4959,_0x2c9b5f=Jr(),_0x3fb239={}){const _0x4de920=_0x413924;this[_0x4de920(0x444)]=_0x5f4959,this[_0x4de920(0x359)]=_0x2c9b5f,this[_0x4de920(0x3ac)]=_0x3fb239,G(this,_0x4de920(0x43d),new W()),G(this,'_applier',new z());}[_0x413924(0x1a4)](_0x54fc17,_0x3e76af,_0x35ceee){const _0x9216e9=_0x413924;if(!this[_0x9216e9(0x444)]['canCreateTable'](_0x54fc17['getUnitId']()))throw Error(_0x9216e9(0x1e7));_0x5f22f6(_0x3e76af),this[_0x9216e9(0x13c)](_0x54fc17,this[_0x9216e9(0x43d)][_0x9216e9(0x1a4)](_0x54fc17['getSnapshot'](),_0x3e76af,_0x35ceee));}[_0x413924(0x316)](_0x451212,_0x198d3d,_0x10db7e){const _0x22803d=_0x413924;if(!this[_0x22803d(0x444)][_0x22803d(0x31f)](_0x198d3d))throw Error(_0x22803d(0x3ee));this[_0x22803d(0x13c)](_0x451212,this[_0x22803d(0x43d)]['renameTable'](_0x451212[_0x22803d(0x460)](),_0x198d3d,_0x10db7e));}['deleteTable'](_0x2edf14,_0x3b52c3){const _0x5da796=_0x413924;if(!this[_0x5da796(0x444)][_0x5da796(0x345)](_0x3b52c3))throw Error('[BaseCommandService]:\x20cannot\x20delete\x20table.');let _0x4831e4=He(_0x2edf14[_0x5da796(0x460)](),_0x3b52c3);if(_0x4831e4[_0x5da796(0x4be)]>0x0)throw Error(_0x5da796(0x4d1)+_0x4831e4['map'](_0x21ed2a=>_0x21ed2a[_0x5da796(0x2ca)]+'.'+_0x21ed2a[_0x5da796(0x1c3)])['join'](',\x20')+').');this[_0x5da796(0x13c)](_0x2edf14,this[_0x5da796(0x43d)][_0x5da796(0x390)](_0x2edf14[_0x5da796(0x460)](),_0x3b52c3));}[_0x413924(0x301)](_0x5317cb,_0x4470f7,_0x4ddb4f,_0x4c6114,_0xedd305){const _0x50639b=_0x413924;this[_0x50639b(0x13c)](_0x5317cb,this[_0x50639b(0x499)](_0x5317cb,_0x4470f7,_0x4ddb4f,_0x4c6114,_0xedd305));}['setRecordValues'](_0x6a8df7,_0x59510d,_0x5d0f1a){const _0x4644e9=_0x413924;this[_0x4644e9(0x13c)](_0x6a8df7,this[_0x4644e9(0x3e9)](_0x6a8df7,_0x59510d,_0x5d0f1a));}[_0x413924(0x484)](_0x1aaa1d,_0x47393e,_0x2e4cfb){const _0x2e8585=_0x413924;this[_0x2e8585(0x13c)](_0x1aaa1d,this[_0x2e8585(0x466)](_0x1aaa1d,_0x47393e,_0x2e4cfb));}['createUpdateCellOp'](_0x306012,_0x5a7745,_0x1fed95,_0x301229,_0xde77fb){const _0x385f56=_0x413924;let _0x365240=_0x306012[_0x385f56(0x460)](),_0x51e9c8=this[_0x385f56(0x2b5)](_0x365240,_0x5a7745,_0x1fed95,_0x301229,_0xde77fb),_0x4d7e42=this[_0x385f56(0x4b0)](_0x365240,_0x5a7745,_0x1fed95,{[_0x301229]:_0x51e9c8});return this['_factory'][_0x385f56(0x1de)](_0x365240,_0x5a7745,[_0x4d7e42]);}['createSetRecordValuesOp'](_0x1b7424,_0x546f3b,_0x492ca4){const _0x5cf62a=_0x413924;let _0x1bf9d3=_0x1b7424[_0x5cf62a(0x460)](),_0x85823d=_0x492ca4[_0x5cf62a(0x438)](_0x34bee8=>this['_withModifiedSystemValues'](_0x1bf9d3,_0x546f3b,_0x34bee8[_0x5cf62a(0x170)],{...Object[_0x5cf62a(0x300)](Object[_0x5cf62a(0x391)](_0x34bee8['values'])[_0x5cf62a(0x438)](([_0x3c79af,_0x2c2555])=>[_0x3c79af,this[_0x5cf62a(0x2b5)](_0x1bf9d3,_0x546f3b,_0x34bee8['recordId'],_0x3c79af,_0x2c2555)]))}));return this[_0x5cf62a(0x43d)]['setRecordValues'](_0x1bf9d3,_0x546f3b,_0x85823d);}[_0x413924(0x466)](_0x358bdd,_0xa532e7,_0x392c04){const _0x5dd542=_0x413924;if(!this[_0x5dd542(0x444)]['canCreateRecord'](_0xa532e7))throw Error('[BaseCommandService]:\x20cannot\x20create\x20record.');let _0x6ed14e=_0x358bdd[_0x5dd542(0x460)](),_0x162fd5=this[_0x5dd542(0x446)](_0x6ed14e['tables'][_0xa532e7]);return this[_0x5dd542(0x43d)][_0x5dd542(0x484)](_0x6ed14e,_0xa532e7,this['_createRecordWithDefaults'](_0x6ed14e,_0xa532e7,_0x392c04,_0x162fd5));}[_0x413924(0x3c5)](_0x3c6408,_0x681349,_0x2255d9){const _0x44ca1d=_0x413924;if(!this[_0x44ca1d(0x444)][_0x44ca1d(0x439)](_0x681349))throw Error(_0x44ca1d(0x2cd));let _0x2d9d86=_0x3c6408[_0x44ca1d(0x460)]();return I(_0x44ca1d(0x11c),()=>{const _0x26e286=_0x44ca1d;let _0x1afee0=this[_0x26e286(0x446)](_0x2d9d86['tables'][_0x681349]);return this['_factory'][_0x26e286(0x350)](_0x2d9d86,_0x681349,_0x2255d9['map'](_0x5e751c=>this[_0x26e286(0x464)](_0x2d9d86,_0x681349,_0x5e751c,_0x1afee0)));},{'existingRecords':Object[_0x44ca1d(0x3a2)](_0x2d9d86[_0x44ca1d(0x28d)][_0x681349][_0x44ca1d(0x3b4)])[_0x44ca1d(0x4be)],'records':_0x2255d9[_0x44ca1d(0x4be)]});}[_0x413924(0x1f6)](_0x2a417b,_0x3d60b6,_0x3d8268,_0x317fa1,_0x1c3916){const _0x516036=_0x413924;if(!this[_0x516036(0x444)]['canCreateField'](_0x3d60b6))throw Error(_0x516036(0x389));let _0x4031d2=_0x2a417b[_0x516036(0x460)]();if(this[_0x516036(0x1b3)](_0x4031d2,_0x3d8268),_0x317fa1===0x0)throw Error(_0x516036(0x303));let _0x28cdc4=this[_0x516036(0x43d)][_0x516036(0x4d5)](_0x4031d2,_0x3d60b6,{'field':_0x3d8268,'index':_0x317fa1,'viewIndexes':_0x1c3916}),_0xa730cd=this[_0x516036(0x402)](_0x4031d2,_0x3d60b6,_0x3d8268);if(!_0xa730cd['length'])return _0x28cdc4;let _0x189e29=this[_0x516036(0x1b0)][_0x516036(0x2f2)](_0x4031d2,_0x28cdc4);return R([_0x28cdc4,this[_0x516036(0x43d)][_0x516036(0x1de)](_0x189e29,_0x3d60b6,_0xa730cd)]);}[_0x413924(0x31a)](_0x16b0c8,_0x3fc01c,_0x22e55e){const _0x13cc6e=_0x413924;if(!this[_0x13cc6e(0x444)][_0x13cc6e(0x202)](_0x3fc01c,_0x22e55e))throw Error(_0x13cc6e(0x27c));this['_apply'](_0x16b0c8,this['_factory'][_0x13cc6e(0x31a)](_0x16b0c8[_0x13cc6e(0x460)](),_0x3fc01c,_0x22e55e));}[_0x413924(0x283)](_0x47f089,_0x576e52,_0x5b0cee,_0x785475){const _0xa47894=_0x413924;if(!this['_permissionService'][_0xa47894(0x439)](_0x576e52))throw Error('[BaseCommandService]:\x20cannot\x20create\x20record.');this[_0xa47894(0x13c)](_0x47f089,this[_0xa47894(0x43d)]['duplicateRecord'](_0x47f089['getSnapshot'](),_0x576e52,_0x5b0cee,{..._0x785475,'values':{..._0x785475[_0xa47894(0x4ae)],[_0x3f46af]:_0x785475['id']}}));}[_0x413924(0x332)](_0x3c18ea,_0x4b5e85,_0x40c1b6,_0x1db0e7){const _0x321c9c=_0x413924;if(!this[_0x321c9c(0x444)][_0x321c9c(0x4cf)](_0x4b5e85,_0x40c1b6))throw Error('[BaseCommandService]:\x20cannot\x20edit\x20record.');this[_0x321c9c(0x13c)](_0x3c18ea,this[_0x321c9c(0x43d)][_0x321c9c(0x332)](_0x3c18ea[_0x321c9c(0x460)](),_0x4b5e85,_0x40c1b6,_0x1db0e7));}[_0x413924(0x4d5)](_0x1448c8,_0xe4fc94,_0x58f794,_0x3563d9,_0x27edc6){const _0xadf10d=_0x413924;this[_0xadf10d(0x13c)](_0x1448c8,this[_0xadf10d(0x1f6)](_0x1448c8,_0xe4fc94,_0x58f794,_0x3563d9,_0x27edc6));}[_0x413924(0x29c)](_0x38b3fd,_0x30c317,_0x587253,_0x595e57){const _0x3f9983=_0x413924;var _0x5b810c;if(!this['_permissionService'][_0x3f9983(0x335)](_0x30c317,_0x587253))throw Error(_0x3f9983(0x1f7));let _0x550f0f=_0x38b3fd[_0x3f9983(0x460)](),_0x356a4c=(_0x5b810c=_0x550f0f[_0x3f9983(0x28d)][_0x30c317])==null?void 0x0:_0x5b810c['fields'][_0x587253];if(!_0x356a4c||_0x587253===_0x3f46af)throw Error(_0x3f9983(0x3ec));this[_0x3f9983(0x1b3)](_0x550f0f,{..._0x356a4c,..._0x595e57}),this['_apply'](_0x38b3fd,this['_factory']['updateField'](_0x550f0f,_0x30c317,_0x587253,_0x595e57));}[_0x413924(0x15c)](_0x2b5af7,_0x13ac24,_0x30c43f,_0x458a05){const _0x12647=_0x413924;var _0x42919f;if(!this[_0x12647(0x444)]['canEditField'](_0x13ac24,_0x30c43f))throw Error(_0x12647(0x1f7));let _0x21c2b0=_0x2b5af7[_0x12647(0x460)](),_0x5841f2=(_0x42919f=_0x21c2b0[_0x12647(0x28d)][_0x13ac24])==null?void 0x0:_0x42919f['fields'][_0x30c43f];if(!_0x5841f2||_0x30c43f===_0x3f46af)throw Error(_0x12647(0x497));this[_0x12647(0x1b3)](_0x21c2b0,{..._0x5841f2,..._0x458a05}),this['_apply'](_0x2b5af7,this[_0x12647(0x43d)][_0x12647(0x15c)](_0x21c2b0,_0x13ac24,_0x30c43f,_0x458a05));}['deleteField'](_0x485b45,_0x2e0a04,_0x565722){const _0x131d00=_0x413924;var _0x417607;if(((_0x417607=_0x485b45['getSnapshot']()[_0x131d00(0x28d)][_0x2e0a04])==null?void 0x0:_0x417607[_0x131d00(0x426)])===_0x565722||_0x565722===_0x3f46af)throw Error('[BaseCommandService]:\x20cannot\x20delete\x20primary\x20field.');if(!this[_0x131d00(0x444)]['canDeleteField'](_0x2e0a04,_0x565722))throw Error(_0x131d00(0x2a5));this[_0x131d00(0x13c)](_0x485b45,this[_0x131d00(0x43d)][_0x131d00(0x36f)](_0x485b45[_0x131d00(0x460)](),_0x2e0a04,_0x565722));}['moveField'](_0x39fd61,_0x156d73,_0x42eac8,_0x5e9ac7){const _0x2c2653=_0x413924;if(!this['_permissionService'][_0x2c2653(0x335)](_0x156d73,_0x42eac8))throw Error(_0x2c2653(0x1f7));if(_0x42eac8===_0x3f46af||_0x5e9ac7['beforeFieldId']===_0x3f46af)throw Error(_0x2c2653(0x2a8));this[_0x2c2653(0x13c)](_0x39fd61,this[_0x2c2653(0x43d)][_0x2c2653(0x24a)](_0x39fd61[_0x2c2653(0x460)](),_0x156d73,_0x42eac8,_0x5e9ac7));}[_0x413924(0x2ff)](_0x3ea6fa,_0x57057b,_0x310e29,_0x200a9b){const _0x5775f0=_0x413924;if(!this[_0x5775f0(0x444)]['canManageView'](_0x57057b,_0x310e29['id']))throw Error(_0x5775f0(0x140));this[_0x5775f0(0x13c)](_0x3ea6fa,this[_0x5775f0(0x43d)][_0x5775f0(0x2ff)](_0x3ea6fa[_0x5775f0(0x460)](),_0x57057b,_0x310e29,_0x200a9b));}[_0x413924(0x366)](_0x80cd70,_0x37f574,_0x43ec43,_0xa231d4){const _0x48b7ee=_0x413924;if(!this[_0x48b7ee(0x444)][_0x48b7ee(0x33b)](_0x37f574,_0x43ec43))throw Error('[BaseCommandService]:\x20cannot\x20manage\x20view.');this[_0x48b7ee(0x13c)](_0x80cd70,this['_factory'][_0x48b7ee(0x366)](_0x80cd70[_0x48b7ee(0x460)](),_0x37f574,_0x43ec43,_0xa231d4));}[_0x413924(0x245)](_0x59d6b8,_0x5d4761,_0x4b00eb){const _0x3a1b67=_0x413924;if(!this[_0x3a1b67(0x444)]['canManageView'](_0x5d4761,_0x4b00eb))throw Error(_0x3a1b67(0x140));this['_apply'](_0x59d6b8,this[_0x3a1b67(0x43d)][_0x3a1b67(0x245)](_0x59d6b8[_0x3a1b67(0x460)](),_0x5d4761,_0x4b00eb));}[_0x413924(0x1a7)](_0x52b413,_0x4a5b28,_0x100c9a,_0x479420){const _0x2b738f=_0x413924;if(!this[_0x2b738f(0x444)][_0x2b738f(0x33b)](_0x4a5b28,_0x100c9a))throw Error('[BaseCommandService]:\x20cannot\x20manage\x20view.');this[_0x2b738f(0x13c)](_0x52b413,this[_0x2b738f(0x43d)][_0x2b738f(0x1a7)](_0x52b413[_0x2b738f(0x460)](),_0x4a5b28,_0x100c9a,_0x479420));}[_0x413924(0x2f8)](_0x4ac6c1,_0x12d078,_0x24018a,_0x233686){const _0x40fbda=_0x413924;if(!this[_0x40fbda(0x444)][_0x40fbda(0x33b)](_0x12d078,_0x24018a))throw Error(_0x40fbda(0x140));this[_0x40fbda(0x13c)](_0x4ac6c1,this[_0x40fbda(0x43d)][_0x40fbda(0x2f8)](_0x4ac6c1[_0x40fbda(0x460)](),_0x12d078,_0x24018a,_0x233686));}[_0x413924(0x121)](_0x35f1a4,_0x47ddeb,_0x1c439b,_0x1812e0){const _0x386c4a=_0x413924;if(!this[_0x386c4a(0x444)][_0x386c4a(0x33b)](_0x47ddeb,_0x1c439b))throw Error(_0x386c4a(0x140));this[_0x386c4a(0x13c)](_0x35f1a4,this[_0x386c4a(0x43d)][_0x386c4a(0x121)](_0x35f1a4['getSnapshot'](),_0x47ddeb,_0x1c439b,_0x1812e0));}['setViewSort'](_0x10512b,_0x1bd98f,_0x2c3e83,_0x3828da){const _0x37970e=_0x413924;if(!this['_permissionService'][_0x37970e(0x33b)](_0x1bd98f,_0x2c3e83))throw Error(_0x37970e(0x140));this[_0x37970e(0x13c)](_0x10512b,this['_factory']['setViewSort'](_0x10512b[_0x37970e(0x460)](),_0x1bd98f,_0x2c3e83,_0x3828da));}[_0x413924(0x2e5)](_0x5551a2,_0x20b0fe,_0x535a2c,_0x5e7724){const _0x197be5=_0x413924;if(!this['_permissionService'][_0x197be5(0x33b)](_0x20b0fe,_0x535a2c))throw Error('[BaseCommandService]:\x20cannot\x20manage\x20view.');this[_0x197be5(0x13c)](_0x5551a2,this[_0x197be5(0x43d)]['setViewGroup'](_0x5551a2['getSnapshot'](),_0x20b0fe,_0x535a2c,_0x5e7724));}[_0x413924(0x37d)](_0x52a14b,_0x90e9d4,_0x29d0ed,_0x4a25e9,_0x46a960){const _0x9e948=_0x413924;if(!this[_0x9e948(0x444)][_0x9e948(0x33b)](_0x90e9d4,_0x29d0ed))throw Error('[BaseCommandService]:\x20cannot\x20manage\x20view.');this[_0x9e948(0x13c)](_0x52a14b,this[_0x9e948(0x43d)][_0x9e948(0x37d)](_0x52a14b[_0x9e948(0x460)](),_0x90e9d4,_0x29d0ed,_0x4a25e9,_0x46a960));}[_0x413924(0x3ae)](_0x20b3b9,_0xfc6923,_0x16a780,_0x347f11,_0x5ec59e){const _0x355c57=_0x413924;if(!this['_permissionService'][_0x355c57(0x33b)](_0xfc6923,_0x16a780))throw Error(_0x355c57(0x140));this[_0x355c57(0x13c)](_0x20b3b9,this[_0x355c57(0x43d)][_0x355c57(0x3ae)](_0x20b3b9[_0x355c57(0x460)](),_0xfc6923,_0x16a780,_0x347f11,_0x5ec59e));}['setViewFieldOrder'](_0x46bc1b,_0x548029,_0xbce157,_0x3485f3,_0x40a08a){const _0x3713e9=_0x413924;if(!this[_0x3713e9(0x444)]['canManageView'](_0x548029,_0xbce157))throw Error(_0x3713e9(0x140));this[_0x3713e9(0x13c)](_0x46bc1b,this[_0x3713e9(0x43d)][_0x3713e9(0x22c)](_0x46bc1b['getSnapshot'](),_0x548029,_0xbce157,_0x3485f3,_0x40a08a));}[_0x413924(0x13c)](_0x8eba67,_0x5cd711){const _0x3c9b68=_0x413924;let _0xb60592=_0x8eba67[_0x3c9b68(0x460)]();_0x8eba67['setSnapshot'](this[_0x3c9b68(0x1b0)][_0x3c9b68(0x2f2)](_0xb60592,_0x5cd711));}[_0x413924(0x464)](_0x2586a2,_0x18c325,_0x4efc84,_0x14c991=this[_0x413924(0x446)](_0x2586a2['tables'][_0x18c325])){const _0x10d8fa=_0x413924;let _0x158aa0=_0x2586a2[_0x10d8fa(0x28d)][_0x18c325],_0x35764b=_0x4efc84[_0x10d8fa(0x44b)]??_0x4efc84['updatedBy']??this[_0x10d8fa(0x31b)](),_0x13b89c={..._0x4efc84,'createdBy':_0x4efc84[_0x10d8fa(0x44b)]??_0x35764b,'updatedBy':_0x4efc84[_0x10d8fa(0x3eb)]??_0x35764b,'values':{..._0x4efc84[_0x10d8fa(0x4ae)]}};return _0x13b89c['values'][_0x3f46af]=_0x13b89c['id'],_0x158aa0[_0x10d8fa(0x3fc)][_0x10d8fa(0x248)](_0x5cade1=>{const _0x487c44=_0x10d8fa;let _0x4230b7=_0x158aa0['fields'][_0x5cade1];if(_0x4230b7&&_0x13b89c['values'][_0x5cade1]===void 0x0)switch(_0x4230b7[_0x487c44(0x378)]){case _0x39ba8f['Numbering']:var _0x48b666;_0x13b89c[_0x487c44(0x4ae)][_0x5cade1]=((_0x48b666=_0x14c991[_0x487c44(0x113)](_0x5cade1))==null?void 0x0:_0x48b666())??this['_createNumberingAllocator'](_0x158aa0,_0x5cade1)();break;case _0x39ba8f[_0x487c44(0x1ea)]:_0x13b89c[_0x487c44(0x44b)]&&(_0x13b89c[_0x487c44(0x4ae)][_0x5cade1]=_0x13b89c[_0x487c44(0x44b)]);break;case _0x39ba8f['UpdatedBy']:_0x13b89c[_0x487c44(0x3eb)]&&(_0x13b89c[_0x487c44(0x4ae)][_0x5cade1]=_0x13b89c['updatedBy']);break;case _0x39ba8f[_0x487c44(0x3b2)]:_0x13b89c[_0x487c44(0x4ae)][_0x5cade1]=B(_0x13b89c['createdAt']);break;case _0x39ba8f[_0x487c44(0x1b6)]:_0x13b89c[_0x487c44(0x4ae)][_0x5cade1]=B(_0x13b89c[_0x487c44(0x257)]);break;default:{let _0x11eb0c=_0x4230b7[_0x487c44(0x43c)];_0x11eb0c!=null&&_0x11eb0c!==''&&!(Array[_0x487c44(0x348)](_0x11eb0c)&&_0x11eb0c['length']===0x0)&&(_0x13b89c['values'][_0x5cade1]=_0x11eb0c);}}}),_0x13b89c;}[_0x413924(0x4b0)](_0x5b5c31,_0x227472,_0x51d5a2,_0x2a940f){const _0x58ca9d=_0x413924;var _0x1750fc,_0x510eff;let _0x4bf24e=_0x5b5c31[_0x58ca9d(0x28d)][_0x227472],_0xed4dba=((_0x1750fc=(_0x510eff=this[_0x58ca9d(0x3ac)])[_0x58ca9d(0x24d)])==null?void 0x0:_0x1750fc[_0x58ca9d(0x157)](_0x510eff))??Date[_0x58ca9d(0x24d)](),_0x163cf1=this[_0x58ca9d(0x31b)](),_0x695c5={..._0x2a940f};return _0x4bf24e['fieldOrder'][_0x58ca9d(0x248)](_0x15a6f6=>{const _0x3e4271=_0x58ca9d;let _0x1f831d=_0x4bf24e[_0x3e4271(0x175)][_0x15a6f6];_0x1f831d&&(_0x1f831d['type']===_0x39ba8f['UpdatedAt']&&(_0x695c5[_0x15a6f6]=B(_0xed4dba)),_0x1f831d[_0x3e4271(0x378)]===_0x39ba8f[_0x3e4271(0x195)]&&_0x163cf1&&(_0x695c5[_0x15a6f6]=_0x163cf1));}),{'recordId':_0x51d5a2,'values':_0x695c5,'recordPatch':{'updatedAt':_0xed4dba,..._0x163cf1?{'updatedBy':_0x163cf1}:{}}};}['_createSystemFieldValuePatches'](_0x4061bd,_0x5d1f07,_0x1d5fae){const _0x59854f=_0x413924;let _0x3c809e=_0x4061bd['tables'][_0x5d1f07];return!_0x3c809e||!Yr(_0x1d5fae)?[]:_0x1d5fae[_0x59854f(0x378)]===_0x39ba8f['Numbering']?this[_0x59854f(0x3ba)](_0x3c809e,_0x1d5fae['id']):Object['values'](_0x3c809e[_0x59854f(0x3b4)])[_0x59854f(0x4ac)](_0xaf0dca=>{let _0x25c04b=this['_getSystemFieldValue'](_0x1d5fae,_0xaf0dca);return _0x25c04b===void 0x0?[]:[{'recordId':_0xaf0dca['id'],'values':{[_0x1d5fae['id']]:_0x25c04b}}];});}['_getSystemFieldValue'](_0x6aa74b,_0x2f1d6c){const _0x3d8b02=_0x413924;switch(_0x6aa74b[_0x3d8b02(0x378)]){case _0x39ba8f[_0x3d8b02(0x1ea)]:return _0x2f1d6c['createdBy']??this['_getCurrentUserId']();case _0x39ba8f[_0x3d8b02(0x195)]:return _0x2f1d6c[_0x3d8b02(0x3eb)]??this[_0x3d8b02(0x31b)]();case _0x39ba8f[_0x3d8b02(0x3b2)]:return B(_0x2f1d6c[_0x3d8b02(0x2a2)]??Date[_0x3d8b02(0x24d)]());case _0x39ba8f[_0x3d8b02(0x1b6)]:return B(_0x2f1d6c[_0x3d8b02(0x257)]??Date[_0x3d8b02(0x24d)]());default:return;}}[_0x413924(0x446)](_0x4c5612){const _0x1d4687=_0x413924;let _0x407fc6=new Map();return _0x4c5612&&_0x4c5612[_0x1d4687(0x3fc)]['forEach'](_0x5b2fae=>{let _0x2e88c8=_0x4c5612['fields'][_0x5b2fae];(_0x2e88c8==null?void 0x0:_0x2e88c8['type'])===_0x39ba8f['Numbering']&&_0x407fc6['set'](_0x5b2fae,this['_createNumberingAllocator'](_0x4c5612,_0x5b2fae));}),_0x407fc6;}['_createNumberingAllocator'](_0x458583,_0x8a0ae0){const _0x1302ba=_0x413924;let _0x45799c=Object['values'](_0x458583[_0x1302ba(0x3b4)])[_0x1302ba(0x364)]((_0x18234c,_0x58678b)=>{const _0x1c601c=_0x1302ba;let _0x1540c6=Number(_0x58678b[_0x1c601c(0x4ae)][_0x8a0ae0]);return Number[_0x1c601c(0x479)](_0x1540c6)?Math['max'](_0x18234c,_0x1540c6):_0x18234c;},0x0);return()=>String(++_0x45799c);}[_0x413924(0x3ba)](_0xade8f6,_0x4be346){const _0x236b54=_0x413924;let _0x374ea1=this['_getOrderedRecords'](_0xade8f6),_0x569086=this['_createNumberingAllocator'](_0xade8f6,_0x4be346);return _0x374ea1[_0x236b54(0x4ac)](_0x190a75=>this[_0x236b54(0x192)](_0x190a75[_0x236b54(0x4ae)][_0x4be346])?[]:[{'recordId':_0x190a75['id'],'values':{[_0x4be346]:_0x569086()}}]);}[_0x413924(0x29b)](_0x6c9aa3){const _0x54405b=_0x413924;var _0x46a6f4;let _0x216cd4=Object[_0x54405b(0x4ae)](_0x6c9aa3['records']),_0x55e9d1=new Map(_0x216cd4[_0x54405b(0x438)](_0x310530=>[_0x310530['id'],_0x310530])),_0x421d00=[],_0x2d4756=new Set();(_0x46a6f4=_0x6c9aa3[_0x54405b(0x1c6)])==null||_0x46a6f4[_0x54405b(0x248)](_0x3223db=>{const _0x38fd3d=_0x54405b;let _0x3df5a8=_0x55e9d1['get'](_0x3223db);_0x3df5a8&&(_0x421d00[_0x38fd3d(0x34c)](_0x3df5a8),_0x2d4756[_0x38fd3d(0x4c2)](_0x3223db));});let _0x1b0029=_0x216cd4[_0x54405b(0x457)](_0x26c8d8=>!_0x2d4756['has'](_0x26c8d8['id']))['sort']((_0x24d4d8,_0x5f064e)=>String(_0x24d4d8[_0x54405b(0x124)]??_0x24d4d8['id'])[_0x54405b(0x4ce)](String(_0x5f064e[_0x54405b(0x124)]??_0x5f064e['id']))||_0x24d4d8['id']['localeCompare'](_0x5f064e['id']));return[..._0x421d00,..._0x1b0029];}['_isNonEmptyCellValue'](_0x286c85){const _0x33e3f7=_0x413924;return _0x286c85!=null&&_0x286c85!==''&&!(Array[_0x33e3f7(0x348)](_0x286c85)&&_0x286c85[_0x33e3f7(0x4be)]===0x0);}[_0x413924(0x31b)](){const _0x123e72=_0x413924;var _0x42e87a,_0x45de82,_0xf2c591,_0x442b8a;return((_0x42e87a=(_0x45de82=this['_runtimeContext'])[_0x123e72(0x178)])==null?void 0x0:_0x42e87a[_0x123e72(0x157)](_0x45de82))??((_0xf2c591=(_0x442b8a=this[_0x123e72(0x3ac)])['getCurrentUser'])==null||(_0xf2c591=_0xf2c591[_0x123e72(0x157)](_0x442b8a))==null?void 0x0:_0xf2c591['userID'])??void 0x0;}[_0x413924(0x2b5)](_0x4fcdee,_0x2d82c4,_0x30cb1e,_0xb142e8,_0x181ad4){const _0x159112=_0x413924;var _0x191eeb;if(!this[_0x159112(0x444)][_0x159112(0x309)](_0x2d82c4,_0x30cb1e,_0xb142e8))throw Error(_0x159112(0x207));let _0x2ade29=(_0x191eeb=_0x4fcdee[_0x159112(0x28d)][_0x2d82c4])==null?void 0x0:_0x191eeb[_0x159112(0x175)][_0xb142e8];if(!_0x2ade29)throw Error(_0x159112(0x351)+_0xb142e8+_0x159112(0x2b2));let _0xc34824=this['_fieldRegistry']['get'](_0x2ade29[_0x159112(0x378)]);if(_0x2ade29[_0x159112(0x19e)]||_0x2ade29[_0x159112(0x22f)]||!_0xc34824[_0x159112(0x3c3)](_0x2ade29)[_0x159112(0x15f)])throw Error(_0x159112(0x14d));let _0x35918f=_0xc34824[_0x159112(0x10f)](_0x181ad4,_0x2ade29),_0x172166=_0xc34824[_0x159112(0x3df)](_0x35918f,_0x2ade29);if(!_0x172166['valid'])throw Error(_0x172166[_0x159112(0x24f)]??'[BaseCommandService]:\x20invalid\x20cell\x20value.');let _0x326640=_0x2ade29[_0x159112(0x378)]===_0x39ba8f[_0x159112(0x1e4)]?Ve(_0x4fcdee,_0x2ade29,_0x35918f):{'valid':!0x0};if(!_0x326640[_0x159112(0x3e2)])throw Error(_0x326640[_0x159112(0x24f)]??_0x159112(0x2f9));return _0x35918f;}['_assertFieldDefinition'](_0x45728b,_0x2ad9a7){const _0x905620=_0x413924;if(_0x2ad9a7['id']===_0x3f46af||_0x2ad9a7['type']===_0x39ba8f[_0x905620(0x216)]||_0x5c3099(_0x2ad9a7[_0x905620(0x1f9)]))throw Error(_0x905620(0x2df));let _0x47dc99=Be(_0x45728b,_0x2ad9a7);if(!_0x47dc99['valid'])throw Error(_0x47dc99[_0x905620(0x24f)]??_0x905620(0x110));}};qr=X([Y(0x0,Br),Y(0x1,mr)],qr);function Jr(){const _0x32ffac=_0x413924;let _0x4d1601=new hr();return zn()[_0x32ffac(0x248)](_0x5c2cbe=>_0x4d1601[_0x32ffac(0x331)](_0x5c2cbe)),_0x4d1601;}function Yr(_0x571f54){const _0x44e5e7=_0x413924;return _0x571f54[_0x44e5e7(0x378)]===_0x39ba8f['Numbering']||_0x571f54[_0x44e5e7(0x378)]===_0x39ba8f['CreatedBy']||_0x571f54[_0x44e5e7(0x378)]===_0x39ba8f[_0x44e5e7(0x195)]||_0x571f54['type']===_0x39ba8f[_0x44e5e7(0x3b2)]||_0x571f54[_0x44e5e7(0x378)]===_0x39ba8f['UpdatedAt'];}const Xr=new Set([_0x39ba8f['Progress'],_0x39ba8f[_0x413924(0x152)],_0x39ba8f[_0x413924(0x15d)]]);function Zr(_0x3edf24){const _0xdb4bb2=_0x413924;let _0x59d539=_0x3edf24[_0xdb4bb2(0x175)][_0x3edf24[_0xdb4bb2(0x426)]];if((!_0x59d539||_0x59d539[_0xdb4bb2(0x22f)]!==!0x0&&_0x59d539['id'][_0xdb4bb2(0x358)]()!=='id'&&_0x59d539[_0xdb4bb2(0x1f9)][_0xdb4bb2(0x401)]()[_0xdb4bb2(0x358)]()!=='id')&&_0x59d539)return _0x59d539['id'];for(let _0x46c07a of _0x3edf24[_0xdb4bb2(0x3fc)]){let _0x3327c7=_0x3edf24[_0xdb4bb2(0x175)][_0x46c07a];if(_0x3327c7&&_0x3327c7['id']!==_0x3edf24[_0xdb4bb2(0x426)]&&_0x3327c7['system']!==!0x0&&_0x3327c7[_0xdb4bb2(0x378)]!==_0x39ba8f[_0xdb4bb2(0x216)])return _0x3327c7['id'];}return _0x3edf24[_0xdb4bb2(0x426)];}function Qr(_0x4ab3ed,_0x4cb66f=[],_0x7a26a0=0x5){const _0x54a7bf=_0x413924;let _0x3b89eb=new Set(_0x4cb66f[_0x54a7bf(0x457)](_0x3d47b1=>!!_0x3d47b1)),_0x3d2e80=[],_0x178daf=[];for(let _0x4c1482 of _0x4ab3ed[_0x54a7bf(0x3fc)]){let _0x3d0d5a=_0x4ab3ed[_0x54a7bf(0x175)][_0x4c1482];_0x3d0d5a&&_0x3d0d5a['system']!==!0x0&&_0x3d0d5a[_0x54a7bf(0x378)]!==_0x39ba8f[_0x54a7bf(0x216)]&&!_0x3b89eb['has'](_0x3d0d5a['id'])&&(Xr[_0x54a7bf(0x3cf)](_0x3d0d5a[_0x54a7bf(0x378)])?_0x3d2e80:_0x178daf)[_0x54a7bf(0x34c)](_0x3d0d5a['id']);}return[..._0x3d2e80,..._0x178daf][_0x54a7bf(0x3a7)](0x0,_0x7a26a0);}function $r(){const _0x1ae193=_0x413924;return[{'type':_0xc119d4[_0x1ae193(0x3dc)],'i18nKey':_0x1ae193(0x416),'createDefaultConfig':()=>({}),'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x4ac5c3=_0x1ae193;throw Error(_0x4ac5c3(0x30c));}},{'type':_0xc119d4[_0x1ae193(0x190)],'i18nKey':'base.viewType.kanban','createDefaultConfig':_0x235f8d=>{const _0x1f47d5=_0x1ae193;let _0x5ea79e=ei(_0x235f8d);return{'groupFieldId':_0x5ea79e,'coverFieldId':null,'cardLayout':_0x1f47d5(0x3c7),'showFieldNames':!0x0,'fieldSettings':{},'columnSettings':{},'card':{'titleFieldId':_0x235f8d[_0x1f47d5(0x426)],'fieldIds':Qr(_0x235f8d,[_0x235f8d[_0x1f47d5(0x426)],_0x5ea79e])}};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{throw Error('Kanban\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.');}},{'type':_0xc119d4['Calendar'],'i18nKey':'base.viewType.calendar','createDefaultConfig':_0x49ec6a=>{const _0x1fb69a=_0x1ae193;let _0x1e54a5=ti(_0x49ec6a);return{'startDateFieldId':_0x1e54a5,'endDateFieldId':ni(_0x49ec6a,_0x1e54a5),'titleFieldId':_0x49ec6a[_0x1fb69a(0x426)],'mode':_0x1fb69a(0x4d0),'timeslotSize':_0x1fb69a(0x3dd),'timeZone':_0x1fb69a(0x373),'displayColor':{'type':'custom','color':_0x1fb69a(0x418)},'fieldSettings':{}};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{throw Error('Calendar\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.');}},{'type':_0xc119d4[_0x1ae193(0x44c)],'i18nKey':_0x1ae193(0x4b3),'createDefaultConfig':_0x5d74f2=>{const _0x21a65b=_0x1ae193;let _0x19540e=ti(_0x5d74f2);return{'startDateFieldId':_0x19540e,'endDateFieldId':ni(_0x5d74f2,_0x19540e)??_0x19540e,'titleFieldId':_0x5d74f2['primaryFieldId'],'scale':_0x21a65b(0x4d0),'showTodayLine':!0x0,'displayColor':{'type':_0x21a65b(0x4ba),'color':_0x21a65b(0x3b5)},'fieldSettings':{},'workingDaysOnly':!0x1};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{throw Error('Gantt\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.');}},{'type':_0xc119d4[_0x1ae193(0x2f7)],'i18nKey':_0x1ae193(0x3f7),'createDefaultConfig':_0x31db10=>{const _0x2b85a0=_0x1ae193;let _0x18f01d=Zr(_0x31db10);return{'coverFieldId':null,'cardLayout':'normal','showFieldNames':!0x0,'fieldSettings':{},'card':{'titleFieldId':_0x18f01d,'coverFieldId':null,'fieldIds':Qr(_0x31db10,[_0x18f01d,_0x31db10[_0x2b85a0(0x426)]])},'cardSize':_0x2b85a0(0x3dd)};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{throw Error('Gallery\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.');}}];}function ei(_0x58e945){const _0x46cbc5=_0x413924;var _0x515448,_0x57a25a,_0x544dcf;let _0x10e38c=_0x58e945[_0x46cbc5(0x3fc)][_0x46cbc5(0x438)](_0x3a39c7=>_0x58e945[_0x46cbc5(0x175)][_0x3a39c7])[_0x46cbc5(0x457)](_0x4e7350=>!!_0x4e7350);return((_0x515448=_0x10e38c[_0x46cbc5(0x196)](_0x124c5f=>_0x124c5f[_0x46cbc5(0x378)]===_0x39ba8f[_0x46cbc5(0x183)]||_0x124c5f[_0x46cbc5(0x378)]===_0x39ba8f[_0x46cbc5(0x40c)]||_0x124c5f[_0x46cbc5(0x378)]===_0x39ba8f[_0x46cbc5(0x14f)]))==null?void 0x0:_0x515448['id'])??((_0x57a25a=_0x10e38c[_0x46cbc5(0x196)](_0x371540=>_0x371540[_0x46cbc5(0x378)]===_0x39ba8f[_0x46cbc5(0x496)]))==null?void 0x0:_0x57a25a['id'])??((_0x544dcf=_0x10e38c['find'](_0x4d3828=>_0x4d3828[_0x46cbc5(0x378)]===_0x39ba8f[_0x46cbc5(0x2c9)]||_0x4d3828[_0x46cbc5(0x378)]===_0x39ba8f[_0x46cbc5(0x3b2)]||_0x4d3828[_0x46cbc5(0x378)]===_0x39ba8f['UpdatedAt']))==null?void 0x0:_0x544dcf['id'])??_0x58e945['primaryFieldId'];}function ti(_0x39d3bd){const _0x59300e=_0x413924;var _0x530a35;return((_0x530a35=_0x39d3bd[_0x59300e(0x3fc)][_0x59300e(0x438)](_0x3e6d55=>_0x39d3bd['fields'][_0x3e6d55])[_0x59300e(0x196)](ri))==null?void 0x0:_0x530a35['id'])??'';}function ni(_0xe03445,_0x12ca31){const _0x541020=_0x413924;var _0x4efaa5;return(_0x4efaa5=_0xe03445[_0x541020(0x3fc)][_0x541020(0x438)](_0x38307c=>_0xe03445[_0x541020(0x175)][_0x38307c])[_0x541020(0x196)](_0x56d074=>ri(_0x56d074)&&_0x56d074['id']!==_0x12ca31))==null?void 0x0:_0x4efaa5['id'];}function ri(_0xf199c){const _0x1e4643=_0x413924;return!!_0xf199c&&_0xf199c['type']===_0x39ba8f[_0x1e4643(0x2c9)]&&_0xf199c['readonly']!==!0x0&&_0xf199c['system']!==!0x0;}const ii=_0x116afe(_0x413924(0x346)),ai=new Set([_0x39ba8f[_0x413924(0x21b)],_0x39ba8f['Currency'],_0x39ba8f['Progress'],_0x39ba8f[_0x413924(0x152)],_0x39ba8f['Date'],_0x39ba8f[_0x413924(0x3b2)],_0x39ba8f[_0x413924(0x1b6)],_0x39ba8f[_0x413924(0x15d)]]),oi=0x5265c00;let si=class extends _0x51b493{constructor(_0x2cbfac){const _0x43f047=_0x413924;super(),this[_0x43f047(0x359)]=_0x2cbfac,G(this,_0x43f047(0x14a),new Map()),G(this,_0x43f047(0x4db),new WeakMap()),G(this,_0x43f047(0x22a),new Map()),G(this,_0x43f047(0x2aa),new Map()),G(this,_0x43f047(0x276),new Map()),G(this,_0x43f047(0x355),new Map()),G(this,'_globalRevision',0x0),G(this,_0x43f047(0x383),new Map()),G(this,'_cellRevisions',new Map()),G(this,'_cellInvalidations',new Map()),G(this,_0x43f047(0x453),new Map());}[_0x413924(0x23a)](_0x425aa7){const _0x3895a1=_0x413924;return this[_0x3895a1(0x14a)]['set'](_0x425aa7[_0x3895a1(0x378)],_0x425aa7),_0x500368(()=>this[_0x3895a1(0x14a)]['delete'](_0x425aa7[_0x3895a1(0x378)]));}[_0x413924(0x2a1)](_0x46a564,_0x1566c0,_0x4360fc){const _0x3d1cf5=_0x413924;var _0x22503f,_0x1ed12b,_0x5105ad;return I(_0x3d1cf5(0x32f),()=>{const _0x57aa16=_0x3d1cf5;let _0x32a592=this[_0x57aa16(0x341)](_0x46a564,_0x1566c0,_0x4360fc);if(_0x32a592)return _0x32a592;let _0x42aa2b=_0x46a564[_0x57aa16(0x28d)][_0x1566c0],_0x20221e=_0x42aa2b==null?void 0x0:_0x42aa2b[_0x57aa16(0x379)][_0x4360fc];if(!_0x42aa2b||!_0x20221e)return this[_0x57aa16(0x27f)](_0x46a564,_0x1566c0,_0x4360fc,{'type':'invalid','viewType':(_0x20221e==null?void 0x0:_0x20221e[_0x57aa16(0x378)])??_0xc119d4['Grid'],'reason':_0x57aa16(0x4aa)});let _0xfc8e7d;switch(_0x20221e[_0x57aa16(0x378)]){case _0xc119d4[_0x57aa16(0x3dc)]:_0xfc8e7d=this[_0x57aa16(0x253)](_0x42aa2b,_0x20221e);break;case _0xc119d4[_0x57aa16(0x44c)]:_0xfc8e7d=this['_buildGantt'](_0x42aa2b,_0x20221e);break;case _0xc119d4[_0x57aa16(0x190)]:_0xfc8e7d=this[_0x57aa16(0x3e8)](_0x42aa2b,_0x20221e);break;case _0xc119d4[_0x57aa16(0x284)]:_0xfc8e7d=this[_0x57aa16(0x48f)](_0x42aa2b,_0x20221e);break;case _0xc119d4[_0x57aa16(0x2f7)]:_0xfc8e7d=this[_0x57aa16(0x478)](_0x42aa2b,_0x20221e);break;default:_0xfc8e7d={'type':_0x57aa16(0x3bb),'viewType':_0x20221e[_0x57aa16(0x378)],'reason':_0x57aa16(0x4aa)};}return this[_0x57aa16(0x27f)](_0x46a564,_0x1566c0,_0x4360fc,_0xfc8e7d);},{'tableId':_0x1566c0,'viewId':_0x4360fc,'viewType':(_0x22503f=_0x46a564[_0x3d1cf5(0x28d)][_0x1566c0])==null||(_0x22503f=_0x22503f[_0x3d1cf5(0x379)][_0x4360fc])==null?void 0x0:_0x22503f['type'],'records':((_0x1ed12b=_0x46a564['tables'][_0x1566c0])==null||(_0x1ed12b=_0x1ed12b[_0x3d1cf5(0x1c6)])==null?void 0x0:_0x1ed12b['length'])??Object['keys'](((_0x5105ad=_0x46a564[_0x3d1cf5(0x28d)][_0x1566c0])==null?void 0x0:_0x5105ad[_0x3d1cf5(0x3b4)])??{})[_0x3d1cf5(0x4be)]});}[_0x413924(0x47f)](_0x163193,_0x576ad6,_0x1bcc72){const _0x12fda6=_0x413924;var _0x57e85c,_0x57a3d2,_0x520b5d;let _0xd0a9b5=_0x163193[_0x12fda6(0x28d)][_0x576ad6],_0x1f5442=_0xd0a9b5==null?void 0x0:_0xd0a9b5[_0x12fda6(0x379)][_0x1bcc72];if(!_0xd0a9b5||!_0x1f5442)throw Error(_0x12fda6(0x263)+_0x1bcc72+'\x22.');let _0x4a4863=_0x2f13d6=>!!_0xd0a9b5[_0x12fda6(0x175)][_0x2f13d6],_0x33c86d={..._0x1f5442,'filter':_0x1f5442['filter']?{..._0x1f5442[_0x12fda6(0x457)],'conditions':_0x1f5442[_0x12fda6(0x457)][_0x12fda6(0x31c)]['filter'](_0x2ed0af=>_0x4a4863(_0x2ed0af[_0x12fda6(0x1c3)]))}:_0x1f5442[_0x12fda6(0x457)],'sort':(_0x57e85c=_0x1f5442['sort'])==null?void 0x0:_0x57e85c[_0x12fda6(0x457)](_0x37fe95=>_0x4a4863(_0x37fe95[_0x12fda6(0x1c3)])),'group':(_0x57a3d2=_0x1f5442['group'])==null?void 0x0:_0x57a3d2['filter'](_0x65a3eb=>_0x4a4863(_0x65a3eb[_0x12fda6(0x1c3)])),'fieldOrder':(_0x520b5d=_0x1f5442[_0x12fda6(0x3fc)])==null?void 0x0:_0x520b5d[_0x12fda6(0x457)](_0x4a4863),'fieldSettings':Object[_0x12fda6(0x300)](Object[_0x12fda6(0x391)](_0x1f5442[_0x12fda6(0x468)]??{})[_0x12fda6(0x457)](([_0x112910])=>_0x4a4863(_0x112910)))};if(_0x33c86d[_0x12fda6(0x378)]===_0x12fda6(0x4c3)){var _0x24f3fa;let _0x3256f4=_0x33c86d[_0x12fda6(0x406)]??{},_0x2b486e=this[_0x12fda6(0x141)](_0xd0a9b5,_0x33c86d),_0x4de3b=this[_0x12fda6(0x17b)](_0xd0a9b5,(_0x24f3fa=_0x3256f4[_0x12fda6(0x2d9)])==null?void 0x0:_0x24f3fa[_0x12fda6(0x162)]);_0x33c86d[_0x12fda6(0x406)]={..._0x3256f4,'groupFieldId':_0x2b486e??_0x3256f4[_0x12fda6(0x22d)],'coverFieldId':this[_0x12fda6(0x1c2)](_0xd0a9b5,_0x3256f4),'cardLayout':_0x3256f4[_0x12fda6(0x474)]===_0x12fda6(0x2ad)?_0x12fda6(0x2ad):_0x12fda6(0x3c7),'showFieldNames':_0x3256f4['showFieldNames']!==!0x1,'fieldSettings':Object[_0x12fda6(0x300)](Object[_0x12fda6(0x391)](_0x3256f4[_0x12fda6(0x468)]??{})[_0x12fda6(0x457)](([_0x46234a])=>_0x4a4863(_0x46234a))),'columnSettings':_0x3256f4[_0x12fda6(0x119)]??{},'card':{..._0x3256f4['card']??{},'titleFieldId':_0x4de3b,'fieldIds':this[_0x12fda6(0x1d2)](_0xd0a9b5,_0x33c86d,_0x2b486e??'',_0x4de3b)}};}return{'repaired':JSON[_0x12fda6(0x3d0)](_0x33c86d)!==JSON[_0x12fda6(0x3d0)](_0x1f5442),'view':_0x33c86d};}['invalidateByOp'](){const _0x585850=_0x413924;this[_0x585850(0x3a4)]++;}[_0x413924(0x2ee)](_0x19dd00,_0x4a8675,_0x2b09a1){const _0x4b8881=_0x413924;let _0x1799a2=this[_0x4b8881(0x445)](_0x19dd00)+0x1;this[_0x4b8881(0x1ae)][_0x4b8881(0x404)](_0x19dd00,_0x1799a2);let _0x2e6de1=this[_0x4b8881(0x160)][_0x4b8881(0x113)](_0x19dd00)??[];_0x2e6de1[_0x4b8881(0x34c)]({'revision':_0x1799a2,'recordId':_0x4a8675,'fieldId':_0x2b09a1}),this['_cellInvalidations'][_0x4b8881(0x404)](_0x19dd00,_0x2e6de1);}[_0x413924(0x369)](_0x1d4b31,_0x108212){const _0x451d79=_0x413924;this[_0x451d79(0x46d)](_0x1d4b31);}[_0x413924(0x31d)](_0x1785a3,_0x3fb7ac){const _0x5f3d8c=_0x413924;this[_0x5f3d8c(0x453)][_0x5f3d8c(0x404)](this[_0x5f3d8c(0x363)](_0x1785a3,_0x3fb7ac),this[_0x5f3d8c(0x258)](_0x1785a3,_0x3fb7ac)+0x1);}['_getCachedProjection'](_0x1b2b88,_0xd1a126,_0xa94240){const _0x4546e9=_0x413924;var _0x3d727f;let _0x5d5259=(_0x3d727f=this[_0x4546e9(0x4db)]['get'](_0x1b2b88))==null?void 0x0:_0x3d727f[_0x4546e9(0x113)](this[_0x4546e9(0x2c6)](_0xd1a126,_0xa94240));return _0x5d5259&&_0x5d5259['globalRevision']===this[_0x4546e9(0x3a4)]&&_0x5d5259['tableRevision']===this[_0x4546e9(0x21a)](_0xd1a126)&&_0x5d5259['cellRevision']===this[_0x4546e9(0x445)](_0xd1a126)&&_0x5d5259['viewRevision']===this['_getViewRevision'](_0xd1a126,_0xa94240)?_0x5d5259['projection']:null;}[_0x413924(0x27f)](_0x1a6038,_0x3d6939,_0x2b6194,_0x3b98d3){const _0x5011b8=_0x413924;let _0x16feae=this['_projectionCache']['get'](_0x1a6038);return _0x16feae||(_0x16feae=new Map(),this['_projectionCache'][_0x5011b8(0x404)](_0x1a6038,_0x16feae)),_0x16feae[_0x5011b8(0x404)](this['_cacheKey'](_0x3d6939,_0x2b6194),{'projection':_0x3b98d3,'globalRevision':this['_globalRevision'],'tableRevision':this[_0x5011b8(0x21a)](_0x3d6939),'cellRevision':this[_0x5011b8(0x445)](_0x3d6939),'viewRevision':this[_0x5011b8(0x258)](_0x3d6939,_0x2b6194)}),_0x3b98d3;}['_bumpTableRevision'](_0x146927){const _0x565be8=_0x413924;this[_0x565be8(0x383)][_0x565be8(0x404)](_0x146927,this[_0x565be8(0x21a)](_0x146927)+0x1);}[_0x413924(0x21a)](_0x4b1bac){const _0x1fbc21=_0x413924;return this[_0x1fbc21(0x383)]['get'](_0x4b1bac)??0x0;}[_0x413924(0x445)](_0x112c1b){const _0x13001e=_0x413924;return this[_0x13001e(0x1ae)][_0x13001e(0x113)](_0x112c1b)??0x0;}[_0x413924(0x258)](_0x28fa05,_0x2011c6){const _0x2f2c85=_0x413924;return this[_0x2f2c85(0x453)][_0x2f2c85(0x113)](this[_0x2f2c85(0x363)](_0x28fa05,_0x2011c6))??0x0;}[_0x413924(0x2c6)](_0x49a91d,_0x4ee1b3){return _0x49a91d+'\x00'+_0x4ee1b3;}[_0x413924(0x477)](_0x394894,_0x10304c){return _0x394894+'\x00'+this['_rowTransformCacheSegment'](_0x10304c);}[_0x413924(0x39e)](_0x41f58b,_0x4420a9,_0x4ec35e){const _0x156eb1=_0x413924;return _0x41f58b+'\x00'+this[_0x156eb1(0x3da)](_0x4420a9)+'\x00'+this[_0x156eb1(0x4b8)](_0x4ec35e);}['_rowTransformCacheSegment'](_0x5d8d94){const _0x39edc9=_0x413924;return _0x5d8d94?mi({'filter':di(_0x5d8d94['filter']),'sort':pi(_0x5d8d94[_0x39edc9(0x116)])}):_0x39edc9(0x324);}[_0x413924(0x4b8)](_0x358e73){const _0x84a403=_0x413924;return mi(_0x358e73[_0x84a403(0x438)](_0x5f5846=>({'fieldId':_0x5f5846[_0x84a403(0x1c3)],'direction':_0x5f5846[_0x84a403(0x1ec)]??null})));}[_0x413924(0x363)](_0x5dc0a2,_0x395ff2){return _0x5dc0a2+'\x00'+_0x395ff2;}[_0x413924(0x253)](_0x1dfe53,_0x2699e9){const _0x3afb67=_0x413924;var _0x2bab20;let _0x252cb3=Je(_0x1dfe53),_0x56702e=this[_0x3afb67(0x338)](_0x1dfe53,_0x2699e9),_0x41d1ea=(_0x2bab20=_0x2699e9[_0x3afb67(0x457)])!=null&&_0x2bab20[_0x3afb67(0x31c)][_0x3afb67(0x4be)]?this[_0x3afb67(0x338)](_0x1dfe53,{..._0x2699e9,'filter':null}):_0x56702e,_0x3c669e=nt(this[_0x3afb67(0x421)](_0x1dfe53,_0x252cb3,_0x2699e9['id'],_0x41d1ea[_0x3afb67(0x438)](_0x5cbb99=>_0x5cbb99[_0x3afb67(0x170)])),_0x41d1ea,new Set(_0x56702e[_0x3afb67(0x438)](_0x149a7e=>_0x149a7e[_0x3afb67(0x170)])));return{'type':_0xc119d4[_0x3afb67(0x3dc)],'fields':this['_projectFields'](_0x1dfe53,_0x2699e9),'rows':_0x3c669e[_0x3afb67(0x4c1)],'groups':this[_0x3afb67(0x281)](_0x1dfe53,_0x2699e9,_0x3c669e[_0x3afb67(0x4c1)],_0x3c669e['hierarchy']),'hierarchy':_0x3c669e['hierarchy'],'frozenFieldCount':typeof _0x2699e9['config'][_0x3afb67(0x3d8)]==_0x3afb67(0x42c)?_0x2699e9[_0x3afb67(0x406)][_0x3afb67(0x3d8)]:0x0};}[_0x413924(0x421)](_0x2a50b1,_0x34d782,_0x8504ef,_0x183353){const _0x41961d=_0x413924;let _0x1a6789=_0x2a50b1['id']+'\x00'+_0x34d782+'\x00'+_0x8504ef,_0xd5d4e3=this[_0x41961d(0x445)](_0x2a50b1['id']),_0x34a189=this[_0x41961d(0x355)][_0x41961d(0x113)](_0x1a6789);if(_0x34a189&&_0x34a189[_0x41961d(0x4dc)]===this[_0x41961d(0x3a4)]&&_0x34a189[_0x41961d(0x431)]===this[_0x41961d(0x21a)](_0x2a50b1['id'])&&_0x34a189[_0x41961d(0x189)][_0x41961d(0x4be)]===_0x183353[_0x41961d(0x4be)]&&_0x34a189['orderedRecordIds'][_0x41961d(0x23d)]((_0x160497,_0x934258)=>_0x160497===_0x183353[_0x934258])){if(_0x34a189[_0x41961d(0x3b0)]===_0xd5d4e3&&_0x34a189['table']===_0x2a50b1)return _0x34a189['index'];if(!this[_0x41961d(0x212)](_0x2a50b1['id'],_0x34a189[_0x41961d(0x3b0)],_0xd5d4e3,new Set([_0x34d782])))return this[_0x41961d(0x355)]['set'](_0x1a6789,{..._0x34a189,'table':_0x2a50b1,'cellRevision':_0xd5d4e3}),_0x34a189[_0x41961d(0x319)];}let _0x226695=tt(_0x2a50b1,_0x34d782,_0x183353);return this[_0x41961d(0x355)]['set'](_0x1a6789,{'table':_0x2a50b1,'index':_0x226695,'orderedRecordIds':_0x183353,'globalRevision':this[_0x41961d(0x3a4)],'tableRevision':this[_0x41961d(0x21a)](_0x2a50b1['id']),'cellRevision':_0xd5d4e3}),_0x226695;}[_0x413924(0x281)](_0x5762fd,_0x169999,_0x2b56b6,_0x2a31c7){const _0x4593f5=_0x413924;var _0x27b322;if(!((_0x27b322=_0x169999['group'])!=null&&_0x27b322[_0x4593f5(0x4be)]))return[];let _0x299dda=new Map(_0x2b56b6[_0x4593f5(0x438)](_0x321495=>[_0x321495[_0x4593f5(0x170)],_0x321495])),_0x314114=_0x2a31c7[_0x4593f5(0x1a2)][_0x4593f5(0x4ac)](_0x105d51=>{let _0x54f3c8=_0x299dda['get'](_0x105d51);return _0x54f3c8?[_0x54f3c8]:[];}),_0xe240a=this[_0x4593f5(0x145)](_0x5762fd,_0x169999,_0x314114),_0x2de93e=new Map(_0x2a31c7['orderedRecordIds'][_0x4593f5(0x438)]((_0x52ec0b,_0x53b6ba)=>[_0x52ec0b,_0x53b6ba])),_0x46b39f=_0x430e0=>{const _0x2167c1=_0x4593f5;let _0x13e687=_0x2a31c7['nodes'][_0x430e0],_0x26aa60=_0x2de93e[_0x2167c1(0x113)](_0x430e0)??-0x1;return _0x26aa60<0x0||!_0x13e687?[]:_0x2a31c7[_0x2167c1(0x189)]['slice'](_0x26aa60,_0x13e687[_0x2167c1(0x2fa)]+0x1);},_0x4c3136=_0x304b5e=>{const _0xa0739b=_0x4593f5;var _0x5a1491,_0x4644d8;return{..._0x304b5e,'recordIds':(_0x5a1491=_0x304b5e[_0xa0739b(0x296)])!=null&&_0x5a1491[_0xa0739b(0x4be)]?_0x304b5e[_0xa0739b(0x230)]:_0x304b5e['recordIds'][_0xa0739b(0x4ac)](_0x46b39f),'children':(_0x4644d8=_0x304b5e[_0xa0739b(0x296)])==null?void 0x0:_0x4644d8[_0xa0739b(0x438)](_0x4c3136)};};return _0xe240a[_0x4593f5(0x438)](_0x4c3136);}[_0x413924(0x3e8)](_0x338e01,_0x1c0d89){const _0x505618=_0x413924;var _0x433080;let _0x272d33=this[_0x505618(0x141)](_0x338e01,_0x1c0d89),_0x5a986a=_0x272d33?_0x338e01['fields'][_0x272d33]:void 0x0;if(!_0x5a986a)return{'type':_0x505618(0x3bb),'viewType':_0xc119d4[_0x505618(0x190)],'reason':_0x505618(0x45c),'fieldId':_0x1c0d89[_0x505618(0x406)][_0x505618(0x22d)]};let _0x551c1a=this['_projectRows'](_0x338e01,_0x1c0d89),_0x387c37=this[_0x505618(0x3a9)](_0x338e01,_0x1c0d89),_0x5610c3=_0x1c0d89[_0x505618(0x406)]??{},_0x2727b7=this[_0x505618(0x17b)](_0x338e01,(_0x433080=_0x5610c3['card'])==null?void 0x0:_0x433080[_0x505618(0x162)]),_0xa85ac7=this[_0x505618(0x1d2)](_0x338e01,_0x1c0d89,_0x5a986a['id'],_0x2727b7),_0x457ab8=new Map();if(F(_0x338e01,_0x5a986a['id'])){let _0x3eba0e=this[_0x505618(0x421)](_0x338e01,_0x5a986a['id'],_0x1c0d89['id'],_0x551c1a['map'](_0x29c07f=>_0x29c07f[_0x505618(0x170)])),_0x57f096=new Map();return _0x551c1a[_0x505618(0x248)](_0xecba64=>{const _0x37f9d0=_0x505618;let _0x37a7a9=_0x3eba0e[_0x37f9d0(0x430)][_0x37f9d0(0x113)](_0xecba64['recordId'])??null,_0x44468c=_0x37a7a9??'',_0x54f486=_0x37a7a9?_0x338e01[_0x37f9d0(0x3b4)][_0x37a7a9]:void 0x0,_0x510d60=_0x57f096['get'](_0x44468c)??{'key':_0x44468c,'title':_0x54f486?String(yt(_0x338e01,_0x54f486['id'],_0x338e01[_0x37f9d0(0x426)])??_0x37a7a9):this['_kanbanLaneTitle'](_0x5a986a,_0x44468c,_0x5610c3),'recordIds':[]};_0x510d60[_0x37f9d0(0x230)][_0x37f9d0(0x34c)](_0xecba64[_0x37f9d0(0x170)]),_0x57f096[_0x37f9d0(0x404)](_0x44468c,_0x510d60);}),{'type':_0xc119d4['Kanban'],'fields':_0x387c37,'rows':_0x551c1a,'groups':[],'groupFieldId':_0x5a986a['id'],'titleFieldId':_0x2727b7,'coverFieldId':this['_resolveKanbanCoverFieldId'](_0x338e01,_0x5610c3),'cardLayout':_0x5610c3[_0x505618(0x474)]===_0x505618(0x2ad)?_0x505618(0x2ad):'normal','showFieldNames':_0x5610c3[_0x505618(0x21e)]!==!0x1,'visibleCardFieldIds':_0xa85ac7,'lanes':['',..._0x3eba0e['orderedRecordIds']]['flatMap'](_0x48cd81=>{const _0x1bc79d=_0x505618;let _0x505fcd=_0x57f096[_0x1bc79d(0x113)](_0x48cd81);return _0x505fcd!=null&&_0x505fcd[_0x1bc79d(0x230)][_0x1bc79d(0x4be)]?[_0x505fcd]:[];})};}return this['_getKanbanConfiguredLanes'](_0x5a986a,_0x5610c3)[_0x505618(0x248)](_0x4dd821=>_0x457ab8[_0x505618(0x404)](_0x4dd821[_0x505618(0x2c3)],{..._0x4dd821,'recordIds':[]})),_0x551c1a['forEach'](_0x2a4d77=>{const _0x242796=_0x505618;this['_kanbanGroupKeys'](_0x5a986a,_0x2a4d77[_0x242796(0x4ae)][_0x5a986a['id']])[_0x242796(0x248)](_0x5b027a=>{const _0x56f234=_0x242796;let _0x4833bc=_0x457ab8['get'](_0x5b027a)??{'key':_0x5b027a,'title':this[_0x56f234(0x305)](_0x5a986a,_0x5b027a,_0x5610c3),'color':this['_kanbanLaneColor'](_0x5a986a,_0x5b027a,_0x5610c3),'recordIds':[]};_0x4833bc[_0x56f234(0x230)][_0x56f234(0x34c)](_0x2a4d77[_0x56f234(0x170)]),_0x457ab8[_0x56f234(0x404)](_0x5b027a,_0x4833bc);});}),{'type':_0xc119d4['Kanban'],'fields':_0x387c37,'rows':_0x551c1a,'groups':this[_0x505618(0x145)](_0x338e01,_0x1c0d89,_0x551c1a),'groupFieldId':_0x5a986a['id'],'titleFieldId':_0x2727b7,'coverFieldId':this[_0x505618(0x1c2)](_0x338e01,_0x5610c3),'cardLayout':_0x5610c3[_0x505618(0x474)]===_0x505618(0x2ad)?_0x505618(0x2ad):_0x505618(0x3c7),'showFieldNames':_0x5610c3[_0x505618(0x21e)]!==!0x1,'visibleCardFieldIds':_0xa85ac7,'lanes':Array[_0x505618(0x2f6)](_0x457ab8[_0x505618(0x4ae)]())};}[_0x413924(0x141)](_0x2ed780,_0x5c6bdd){const _0x38d32a=_0x413924;var _0x8c7758;let _0x671b5=(_0x8c7758=_0x5c6bdd[_0x38d32a(0x406)])==null?void 0x0:_0x8c7758[_0x38d32a(0x22d)];return _0x671b5&&this[_0x38d32a(0x49e)](_0x2ed780,_0x671b5)?_0x671b5:this[_0x38d32a(0x392)](_0x2ed780,_0x110b1c=>this[_0x38d32a(0x1a8)](_0x110b1c));}['_findKanbanGroupField'](_0x568007,_0x3503aa){const _0x1c93a8=_0x413924;for(let _0x14fe6b of _0x568007[_0x1c93a8(0x3fc)]){let _0x2c15aa=_0x568007[_0x1c93a8(0x175)][_0x14fe6b];if(_0x2c15aa&&_0x3503aa(_0x2c15aa))return _0x2c15aa['id'];}return null;}[_0x413924(0x49e)](_0x4b98ee,_0x3bbad3){const _0x3c29a6=_0x413924;let _0x2c1340=_0x4b98ee[_0x3c29a6(0x175)][_0x3bbad3];return this[_0x3c29a6(0x1a8)](_0x2c1340)||F(_0x4b98ee,_0x3bbad3);}[_0x413924(0x1a8)](_0x3a36bd){const _0x366624=_0x413924;return!!_0x3a36bd&&(_0x3a36bd['type']===_0x39ba8f[_0x366624(0x183)]||_0x3a36bd[_0x366624(0x378)]===_0x39ba8f[_0x366624(0x40c)]||_0x3a36bd[_0x366624(0x378)]===_0x39ba8f[_0x366624(0x152)]||_0x3a36bd[_0x366624(0x378)]===_0x39ba8f[_0x366624(0x3e7)]||_0x3a36bd['type']===_0x39ba8f[_0x366624(0x14f)]||_0x3a36bd[_0x366624(0x378)]===_0x39ba8f[_0x366624(0x15d)]);}[_0x413924(0x342)](_0x53e3a7){const _0x213b65=_0x413924;return _0x53e3a7[_0x213b65(0x378)]===_0x39ba8f[_0x213b65(0x183)]||_0x53e3a7[_0x213b65(0x378)]===_0x39ba8f[_0x213b65(0x40c)];}[_0x413924(0x1c2)](_0xff5c64,_0x1bf11d){const _0x2bb88c=_0x413924;var _0xf863df;let _0x54b39a=_0x1bf11d[_0x2bb88c(0x112)]??((_0xf863df=_0x1bf11d[_0x2bb88c(0x2d9)])==null?void 0x0:_0xf863df[_0x2bb88c(0x112)])??null;if(!_0x54b39a)return null;let _0x1e093c=_0xff5c64[_0x2bb88c(0x175)][_0x54b39a];return _0x1e093c&&this[_0x2bb88c(0x1fc)](_0x1e093c)[_0x2bb88c(0x20d)]?_0x1e093c['id']:null;}[_0x413924(0x1d2)](_0x305aac,_0x2c0372,_0x18cdff,_0x469105=this[_0x413924(0x17b)](_0x305aac,((()=>{const _0xf8f7f5=_0x413924;var _0x543036;return(_0x543036=_0x2c0372[_0xf8f7f5(0x406)])==null||(_0x543036=_0x543036[_0xf8f7f5(0x2d9)])==null?void 0x0:_0x543036[_0xf8f7f5(0x162)];})()))){const _0x47cdfa=_0x413924;var _0x7622a8;let _0x3e15c3=_0x2c0372[_0x47cdfa(0x406)]??{},_0x44b3a3=(_0x7622a8=_0x3e15c3['card'])!=null&&(_0x7622a8=_0x7622a8['fieldIds'])!=null&&_0x7622a8[_0x47cdfa(0x4be)]?_0x3e15c3['card'][_0x47cdfa(0x481)]:Qr(_0x305aac,[_0x469105,_0x305aac[_0x47cdfa(0x426)],_0x18cdff]),_0x528bb0=_0x3e15c3['fieldSettings']??{};return _0x44b3a3['filter'](_0x2ea4cb=>{const _0x5b8604=_0x47cdfa;var _0xae6c72,_0x23aa67;let _0x4f57eb=_0x305aac[_0x5b8604(0x175)][_0x2ea4cb];return!(!_0x4f57eb||_0x4f57eb[_0x5b8604(0x22f)]===!0x0||_0x4f57eb['type']===_0x39ba8f[_0x5b8604(0x216)]||_0x4f57eb['id']===_0x18cdff||_0x4f57eb['id']===_0x469105||(_0xae6c72=_0x2c0372[_0x5b8604(0x468)])!=null&&(_0xae6c72=_0xae6c72[_0x2ea4cb])!=null&&_0xae6c72['hidden']||(_0x23aa67=_0x528bb0[_0x2ea4cb])!=null&&_0x23aa67['hidden']);})[_0x47cdfa(0x116)]((_0x428b3b,_0x25232a)=>{const _0x4e6fab=_0x47cdfa;var _0x54dc3d,_0x3502b1;return(((_0x54dc3d=_0x528bb0[_0x428b3b])==null?void 0x0:_0x54dc3d[_0x4e6fab(0x3d1)])??_0x44b3a3[_0x4e6fab(0x3ef)](_0x428b3b))-(((_0x3502b1=_0x528bb0[_0x25232a])==null?void 0x0:_0x3502b1[_0x4e6fab(0x3d1)])??_0x44b3a3[_0x4e6fab(0x3ef)](_0x25232a));});}[_0x413924(0x39d)](_0x1ac2b5,_0x381a67){const _0x367349=_0x413924;var _0x1197d3;let _0x1f5982=(Array[_0x367349(0x348)]((_0x1197d3=_0x1ac2b5[_0x367349(0x406)])==null?void 0x0:_0x1197d3['options'])?_0x1ac2b5[_0x367349(0x406)][_0x367349(0x1ed)]:[])[_0x367349(0x4ac)]((_0x2141f4,_0x487810)=>{const _0x44d344=_0x367349;if(_0x2141f4==null)return[];let _0x5bebd5=typeof _0x2141f4==_0x44d344(0x3f0)?{'id':_0x2141f4,'name':_0x2141f4,'color':void 0x0}:_0x2141f4,_0x432460=String(_0x5bebd5['id']??_0x5bebd5[_0x44d344(0x1f9)]??_0x44d344(0x465)+(_0x487810+0x1));return[{'key':_0x432460,'title':String(_0x5bebd5['name']??_0x5bebd5['id']??_0x432460),'color':this['_kanbanLaneColor'](_0x1ac2b5,_0x432460,_0x381a67)}];});return Object[_0x367349(0x391)](_0x381a67[_0x367349(0x119)]??{})['forEach'](([_0x316ff5,_0x7eac37])=>{const _0x3f51e0=_0x367349;_0x1f5982[_0x3f51e0(0x2e3)](_0x371f39=>_0x371f39['key']===_0x316ff5)||_0x1f5982['push']({'key':_0x316ff5,'title':this[_0x3f51e0(0x342)](_0x1ac2b5)?_0x7eac37[_0x3f51e0(0x314)]??this[_0x3f51e0(0x305)](_0x1ac2b5,_0x316ff5,_0x381a67):this[_0x3f51e0(0x305)](_0x1ac2b5,_0x316ff5,_0x381a67),'color':this[_0x3f51e0(0x2d4)](_0x1ac2b5,_0x316ff5,_0x381a67)});}),_0x1f5982;}[_0x413924(0x25e)](_0x21b909,_0x34ac01){const _0x249e6e=_0x413924;let _0x21c8ab=_0x5a4070=>{const _0x367f7c=_0x5866;var _0x2522f0;let _0x5d4e4d=_0x5a4070==null?'':String(_0x5a4070);return!_0x5d4e4d||!this[_0x367f7c(0x342)](_0x21b909)?_0x5d4e4d:((_0x2522f0=Li(_0x21b909,_0x5d4e4d))==null?void 0x0:_0x2522f0['id'])??_0x5d4e4d;};if(Array['isArray'](_0x34ac01)){let _0x398fb8=_0x34ac01[_0x249e6e(0x438)](_0x21c8ab)[_0x249e6e(0x457)](_0x20f545=>_0x20f545!=='');return _0x398fb8['length']?_0x398fb8:[''];}return[_0x21c8ab(_0x34ac01)];}[_0x413924(0x305)](_0x20de82,_0x3ef0c0,_0x20be64){const _0x69c4e9=_0x413924;if(!_0x3ef0c0)return _0x69c4e9(0x43b);let _0x59fa2b=Li(_0x20de82,_0x3ef0c0);return(_0x59fa2b==null?void 0x0:_0x59fa2b[_0x69c4e9(0x1f9)])??_0x3ef0c0;}['_kanbanLaneColor'](_0x37b949,_0x57a673,_0x50665f){const _0x107f1f=_0x413924;var _0x1d299d;if(this[_0x107f1f(0x342)](_0x37b949))return(_0x1d299d=Li(_0x37b949,_0x57a673))==null?void 0x0:_0x1d299d[_0x107f1f(0x388)];}['_buildCalendar'](_0x467336,_0x5297e1){const _0x379087=_0x413924;let _0x5b65a2=this[_0x379087(0x470)](_0x467336,_0x5297e1[_0x379087(0x406)]??{}),_0x1ce66e=_0x467336['fields'][_0x5b65a2['startDateFieldId']];if(!_0x1ce66e||_0x1ce66e[_0x379087(0x378)]!==_0x39ba8f['Date']||_0x1ce66e[_0x379087(0x19e)]===!0x0||_0x1ce66e[_0x379087(0x22f)]===!0x0||!this['_capabilities'](_0x1ce66e)[_0x379087(0x33f)])return{'type':_0x379087(0x3bb),'viewType':_0xc119d4[_0x379087(0x284)],'reason':_0x379087(0x2cc),'fieldId':_0x5b65a2[_0x379087(0x32a)]};let _0x256b8a=_0x5b65a2['endDateFieldId']?_0x467336[_0x379087(0x175)][_0x5b65a2[_0x379087(0x4a6)]]:void 0x0,_0x42ca7d=this[_0x379087(0x338)](_0x467336,_0x5297e1);return{'type':_0xc119d4[_0x379087(0x284)],'config':_0x5b65a2,'fields':this[_0x379087(0x3a9)](_0x467336,_0x5297e1),'rows':_0x42ca7d,'groups':this[_0x379087(0x145)](_0x467336,_0x5297e1,_0x42ca7d),'events':_0x42ca7d[_0x379087(0x4ac)](_0x5a210e=>{const _0x977eba=_0x379087;let _0x5f26cb=dn(_0x5a210e[_0x977eba(0x4ae)][_0x5b65a2[_0x977eba(0x32a)]]);if(!Number[_0x977eba(0x479)](_0x5f26cb))return[];let _0x4a3b7c=_0x5a210e[_0x977eba(0x4ae)][_0x5b65a2['startDateFieldId']],_0x33f11d=_0x5b65a2['endDateFieldId']==null?void 0x0:_0x5a210e[_0x977eba(0x4ae)][_0x5b65a2[_0x977eba(0x4a6)]],_0x151ee2=_0x5b65a2['endDateFieldId']==null?void 0x0:dn(_0x33f11d),_0x491564=Number['isFinite'](_0x151ee2)?_0x151ee2:void 0x0;return[{'recordId':_0x5a210e[_0x977eba(0x170)],'title':this[_0x977eba(0x2db)](_0x467336,_0x5a210e,_0x5b65a2[_0x977eba(0x162)]),'start':_0x5f26cb,'end':_0x491564,'color':this['_calendarEventColor'](_0x467336,_0x5a210e,_0x5b65a2),'startMs':_0x5f26cb,'endMs':_0x491564,'allDay':this['_isAllDayCalendarEvent'](_0x1ce66e,_0x256b8a,_0x4a3b7c,_0x33f11d),'fieldValues':_0x5a210e[_0x977eba(0x4ae)]}];})};}['_normalizeCalendarConfig'](_0x13fce1,_0x3d43f8){const _0x1005da=_0x413924;let _0x61d4b4=this['_resolveCalendarDateFieldId'](_0x13fce1,_0x3d43f8['startDateFieldId']),_0xd4e0fb=_0x3d43f8['endDateFieldId']&&this[_0x1005da(0x16d)](_0x13fce1,_0x3d43f8[_0x1005da(0x4a6)])?_0x3d43f8['endDateFieldId']:this[_0x1005da(0x2fc)](_0x13fce1,_0x61d4b4)??void 0x0,_0x25000f=_0x3d43f8[_0x1005da(0x162)]?_0x13fce1[_0x1005da(0x175)][_0x3d43f8['titleFieldId']]:void 0x0,_0x3bdb4b=_0x25000f&&_0x25000f[_0x1005da(0x22f)]!==!0x0&&_0x25000f[_0x1005da(0x378)]!==_0x39ba8f[_0x1005da(0x216)]?_0x3d43f8[_0x1005da(0x162)]:_0x13fce1[_0x1005da(0x426)],_0x528416=_0x3d43f8[_0x1005da(0x399)]==='day'||_0x3d43f8[_0x1005da(0x399)]===_0x1005da(0x206)?_0x3d43f8[_0x1005da(0x399)]:'month',_0x126b91=_0x3d43f8['timeslotSize']===_0x1005da(0x12e)||_0x3d43f8[_0x1005da(0x3b9)]===_0x1005da(0x227)?_0x3d43f8[_0x1005da(0x3b9)]:_0x1005da(0x3dd),_0x388447=typeof _0x3d43f8['timeZone']=='string'&&_0x3d43f8['timeZone'][_0x1005da(0x401)]()?_0x3d43f8[_0x1005da(0x2fe)]:'local',_0x5b6442=this[_0x1005da(0x49c)](_0x13fce1,_0x3d43f8);return{..._0x3d43f8,'startDateFieldId':_0x61d4b4,'endDateFieldId':_0xd4e0fb,'titleFieldId':_0x3bdb4b,'mode':_0x528416,'timeslotSize':_0x126b91,'timeZone':_0x388447,'displayColor':_0x5b6442,'fieldSettings':Object[_0x1005da(0x300)](Object[_0x1005da(0x391)](_0x3d43f8['fieldSettings']??{})[_0x1005da(0x457)](([_0x3a800f])=>{const _0x45764f=_0x1005da;let _0x217ef0=_0x13fce1[_0x45764f(0x175)][_0x3a800f];return!!(_0x217ef0&&_0x217ef0[_0x45764f(0x22f)]!==!0x0&&_0x217ef0[_0x45764f(0x378)]!==_0x39ba8f[_0x45764f(0x216)]);}))};}[_0x413924(0x492)](_0x3e3661,_0x4d0a5e){const _0x397da3=_0x413924;return _0x4d0a5e&&this[_0x397da3(0x16d)](_0x3e3661,_0x4d0a5e)?_0x4d0a5e:this[_0x397da3(0x2fc)](_0x3e3661)??_0x4d0a5e??'';}[_0x413924(0x2fc)](_0x52665f,_0x317eea){const _0x50a1f2=_0x413924;for(let _0x279100 of _0x52665f[_0x50a1f2(0x3fc)])if(_0x279100!==_0x317eea&&this[_0x50a1f2(0x16d)](_0x52665f,_0x279100))return _0x279100;return null;}[_0x413924(0x16d)](_0x2fa22c,_0x2f7988){const _0x2abf06=_0x413924;let _0x44a5a4=_0x2fa22c[_0x2abf06(0x175)][_0x2f7988];return!!_0x44a5a4&&_0x44a5a4[_0x2abf06(0x378)]===_0x39ba8f[_0x2abf06(0x2c9)]&&_0x44a5a4['readonly']!==!0x0&&_0x44a5a4[_0x2abf06(0x22f)]!==!0x0&&this[_0x2abf06(0x1fc)](_0x44a5a4)[_0x2abf06(0x33f)];}[_0x413924(0x49c)](_0x27bbb6,_0x3d588d){const _0x35990b=_0x413924;let _0x23db80=_0x3d588d[_0x35990b(0x1d8)];if((_0x23db80==null?void 0x0:_0x23db80['type'])===_0x35990b(0x191)){let _0x59fea8=_0x27bbb6[_0x35990b(0x175)][_0x23db80[_0x35990b(0x1c3)]];if(_0x59fea8&&_0x59fea8[_0x35990b(0x378)]===_0x39ba8f['SingleSelect'])return _0x23db80;}if((_0x23db80==null?void 0x0:_0x23db80[_0x35990b(0x378)])==='custom'&&typeof _0x23db80[_0x35990b(0x388)]==_0x35990b(0x3f0)&&_0x23db80[_0x35990b(0x388)][_0x35990b(0x401)]())return{'type':_0x35990b(0x4ba),'color':_0x23db80['color']};if(_0x3d588d[_0x35990b(0x231)]){let _0x3afe0b=_0x27bbb6[_0x35990b(0x175)][_0x3d588d[_0x35990b(0x231)]];if(_0x3afe0b&&_0x3afe0b[_0x35990b(0x378)]===_0x39ba8f[_0x35990b(0x183)])return{'type':_0x35990b(0x191),'fieldId':_0x3d588d[_0x35990b(0x231)]};}return{'type':_0x35990b(0x4ba),'color':_0x35990b(0x418)};}['_calendarEventColor'](_0x1837e2,_0x557f47,_0x427e15){const _0x3ead6a=_0x413924;let _0x52ad88=_0x427e15[_0x3ead6a(0x1d8)];if((_0x52ad88==null?void 0x0:_0x52ad88[_0x3ead6a(0x378)])===_0x3ead6a(0x191)){var _0x502fb5;let _0x5066df=_0x1837e2[_0x3ead6a(0x175)][_0x52ad88['fieldId']];if(!_0x5066df)return;let _0x32c8ce=_0x557f47[_0x3ead6a(0x4ae)][_0x52ad88[_0x3ead6a(0x1c3)]],_0x5300ee=Array['isArray'](_0x32c8ce)?_0x32c8ce[0x0]:_0x32c8ce;return _0x5300ee==null||(_0x502fb5=Li(_0x5066df,String(_0x5300ee)))==null?void 0x0:_0x502fb5[_0x3ead6a(0x388)];}if((_0x52ad88==null?void 0x0:_0x52ad88[_0x3ead6a(0x378)])===_0x3ead6a(0x4ba))return _0x52ad88[_0x3ead6a(0x388)];}[_0x413924(0x434)](_0x48bfac,_0x7362c6,_0x45d4c1,_0xc6e9c9){const _0x2bc700=_0x413924;var _0x266bb2,_0xd8ef64;let _0x34f705=((_0x266bb2=_0x48bfac[_0x2bc700(0x406)])==null?void 0x0:_0x266bb2[_0x2bc700(0x4cb)])===!0x0,_0x46f6d2=(_0x7362c6==null||(_0xd8ef64=_0x7362c6[_0x2bc700(0x406)])==null?void 0x0:_0xd8ef64[_0x2bc700(0x4cb)])===!0x0;return!_0x34f705&&!_0x46f6d2;}['_isAllDayGanttDateRange'](_0x41ea7c,_0x2e6674){const _0x3c6182=_0x413924;var _0x1e613c,_0x4547cf;let _0xff84ce=((_0x1e613c=_0x41ea7c['config'])==null?void 0x0:_0x1e613c[_0x3c6182(0x4cb)])===!0x0,_0x514bc2=((_0x4547cf=_0x2e6674[_0x3c6182(0x406)])==null?void 0x0:_0x4547cf[_0x3c6182(0x4cb)])===!0x0;return!_0xff84ce&&!_0x514bc2;}[_0x413924(0x1f3)](_0x23bc3e,_0x1d3375){const _0x40cb04=_0x413924;let _0x5ae204=this[_0x40cb04(0x4b7)](_0x23bc3e,_0x1d3375['config']),_0x2b5074=_0x23bc3e['fields'][_0x5ae204[_0x40cb04(0x32a)]];if(!_0x2b5074||_0x2b5074[_0x40cb04(0x378)]!==_0x39ba8f['Date']||_0x2b5074[_0x40cb04(0x19e)]===!0x0||_0x2b5074[_0x40cb04(0x22f)]===!0x0||!this[_0x40cb04(0x1fc)](_0x2b5074)[_0x40cb04(0x24c)])return{'type':_0x40cb04(0x3bb),'viewType':_0xc119d4[_0x40cb04(0x44c)],'reason':'invalidGanttStartField','fieldId':_0x5ae204[_0x40cb04(0x32a)]};let _0x1def0d=_0x23bc3e[_0x40cb04(0x175)][_0x5ae204[_0x40cb04(0x4a6)]];if(!_0x1def0d||_0x1def0d[_0x40cb04(0x378)]!==_0x39ba8f[_0x40cb04(0x2c9)]||_0x1def0d[_0x40cb04(0x19e)]===!0x0||_0x1def0d[_0x40cb04(0x22f)]===!0x0||!this[_0x40cb04(0x1fc)](_0x1def0d)[_0x40cb04(0x26b)])return{'type':_0x40cb04(0x3bb),'viewType':_0xc119d4['Gantt'],'reason':_0x40cb04(0x2e6),'fieldId':_0x5ae204[_0x40cb04(0x4a6)]};let _0x4d7b9a=this[_0x40cb04(0x25d)](_0x2b5074,_0x1def0d),_0x16923a=this['_projectRows'](_0x23bc3e,_0x1d3375),_0x1daa91=_0x16923a[_0x40cb04(0x4ac)](_0x3178d1=>{const _0x4d9b43=_0x40cb04;let _0x2bec0a=dn(_0x3178d1['values'][_0x5ae204[_0x4d9b43(0x32a)]]),_0x95cc68=dn(_0x3178d1[_0x4d9b43(0x4ae)][_0x5ae204['endDateFieldId']]);if(!Number['isFinite'](_0x2bec0a)||!Number[_0x4d9b43(0x479)](_0x95cc68))return[];let _0x2f25c0=Math[_0x4d9b43(0x256)](_0x2bec0a,_0x95cc68),_0x36806d=Math[_0x4d9b43(0x487)](_0x2bec0a,_0x95cc68),_0xbc631d=_0x5ae204[_0x4d9b43(0x372)]==null?void 0x0:Number(_0x3178d1[_0x4d9b43(0x4ae)][_0x5ae204[_0x4d9b43(0x372)]]);return[{'recordId':_0x3178d1[_0x4d9b43(0x170)],'title':this[_0x4d9b43(0x2db)](_0x23bc3e,_0x3178d1,_0x5ae204[_0x4d9b43(0x162)]),'start':_0x2f25c0,'end':_0x36806d,'color':this[_0x4d9b43(0x3d5)](_0x23bc3e,_0x3178d1,_0x5ae204),'progress':Number[_0x4d9b43(0x479)](_0xbc631d)?_0xbc631d:void 0x0,'workingDayCount':_0x5ae204[_0x4d9b43(0x255)]?Ti(_0x2f25c0,_0x36806d,_0x5ae204[_0x4d9b43(0x3db)]):void 0x0,'dependencyRecordIds':this['_recordIds'](_0x3178d1[_0x4d9b43(0x4ae)][_0x5ae204[_0x4d9b43(0x217)]??''])}];}),_0x101bcc=_0x1daa91['length']?Z(Math[_0x40cb04(0x256)](..._0x1daa91[_0x40cb04(0x438)](_0x528824=>_0x528824[_0x40cb04(0x166)]))-0x5a*oi):Z(Date[_0x40cb04(0x24d)]()-0x5a*oi),_0x268ee7=_0x1daa91[_0x40cb04(0x4be)]?Z(Math['max'](..._0x1daa91['map'](_0x4b785a=>_0x4b785a[_0x40cb04(0x3c0)]))+0x5b*oi):Z(Date[_0x40cb04(0x24d)]()+0x5b*oi),_0x12dd1a=_i(_0x5ae204[_0x40cb04(0x4bf)],_0x101bcc,_0x268ee7,_0x5ae204['workingDaysOnly']?_0x5ae204['workingDays']:void 0x0);return{'type':_0xc119d4[_0x40cb04(0x44c)],'fields':this[_0x40cb04(0x3a9)](_0x23bc3e,{..._0x1d3375,'config':_0x5ae204}),'rows':_0x16923a,'groups':this[_0x40cb04(0x145)](_0x23bc3e,_0x1d3375,_0x16923a),'config':_0x5ae204,'dateRangeAllDay':_0x4d7b9a,'timeline':{'scale':_0x5ae204['scale'],'start':_0x101bcc,'end':_0x268ee7,'unitWidth':_0x12dd1a[_0x40cb04(0x2b1)],'majorHeaders':_0x12dd1a['majorHeaders'],'columns':_0x12dd1a[_0x40cb04(0x127)]},'bars':_0x1daa91};}[_0x413924(0x4b7)](_0x4abbb7,_0x577a84){const _0x1285b5=_0x413924;let _0x31a9c4=this[_0x1285b5(0x339)](_0x4abbb7,_0x577a84['startDateFieldId'],_0x1285b5(0x166)),_0xa4644b=this['_resolveGanttDateFieldId'](_0x4abbb7,_0x577a84[_0x1285b5(0x4a6)],'end')||_0x31a9c4,_0x3bfe3a=_0x577a84[_0x1285b5(0x162)]?_0x4abbb7[_0x1285b5(0x175)][_0x577a84['titleFieldId']]:void 0x0,_0x4bfa00=_0x3bfe3a&&_0x3bfe3a[_0x1285b5(0x22f)]!==!0x0&&_0x3bfe3a['type']!==_0x39ba8f[_0x1285b5(0x216)]?_0x577a84[_0x1285b5(0x162)]:_0x4abbb7['primaryFieldId'],_0xd468d6=_0x577a84[_0x1285b5(0x4bf)]==='week'||_0x577a84['scale']===_0x1285b5(0x240)||_0x577a84[_0x1285b5(0x4bf)]===_0x1285b5(0x34f)?_0x577a84[_0x1285b5(0x4bf)]:_0x1285b5(0x4d0),_0x70e355=gi(_0x577a84[_0x1285b5(0x3db)]);return{..._0x577a84,'startDateFieldId':_0x31a9c4,'endDateFieldId':_0xa4644b,'titleFieldId':_0x4bfa00,'scale':_0xd468d6,'leftPaneWidth':typeof _0x577a84['leftPaneWidth']==_0x1285b5(0x42c)?_0x577a84['leftPaneWidth']:void 0x0,'leftPaneCollapsed':_0x577a84[_0x1285b5(0x2bf)]===!0x0,'showTodayLine':_0x577a84[_0x1285b5(0x17f)]!==!0x1,'displayColor':this['_normalizeGanttDisplayColor'](_0x4abbb7,_0x577a84),'fieldSettings':Object[_0x1285b5(0x300)](Object[_0x1285b5(0x391)](_0x577a84['fieldSettings']??{})[_0x1285b5(0x457)](([_0x3cb3b6])=>{const _0x2949ff=_0x1285b5;let _0x289d33=_0x4abbb7['fields'][_0x3cb3b6];return!!(_0x289d33&&_0x289d33[_0x2949ff(0x22f)]!==!0x0&&_0x289d33[_0x2949ff(0x378)]!==_0x39ba8f[_0x2949ff(0x216)]);})),'workingDaysOnly':_0x577a84['workingDaysOnly']===!0x0,'workingDays':_0x70e355};}[_0x413924(0x339)](_0x210b63,_0x5702eb,_0xd4a4cb){const _0x20e906=_0x413924;if(_0x5702eb&&this['_isGanttDateField'](_0x210b63,_0x5702eb,_0xd4a4cb)||_0x5702eb)return _0x5702eb;for(let _0xa3c42c of _0x210b63['fieldOrder'])if(this[_0x20e906(0x29f)](_0x210b63,_0xa3c42c,_0xd4a4cb))return _0xa3c42c;return _0x5702eb??'';}[_0x413924(0x29f)](_0x361a86,_0x7971b4,_0x17ca34){const _0xcde425=_0x413924;let _0x3f9f15=_0x361a86['fields'][_0x7971b4];if(!_0x3f9f15||_0x3f9f15[_0xcde425(0x378)]!==_0x39ba8f['Date']||_0x3f9f15[_0xcde425(0x19e)]===!0x0||_0x3f9f15[_0xcde425(0x22f)]===!0x0)return!0x1;let _0xa1b94a=this[_0xcde425(0x1fc)](_0x3f9f15);return _0x17ca34===_0xcde425(0x166)?_0xa1b94a['usableAsGanttStart']:_0xa1b94a[_0xcde425(0x26b)];}[_0x413924(0x143)](_0x189dbb,_0x29a8e0){const _0x347a46=_0x413924;let _0x9b2b5f=_0x29a8e0['displayColor'];if((_0x9b2b5f==null?void 0x0:_0x9b2b5f['type'])===_0x347a46(0x191)){let _0x2ce477=_0x189dbb[_0x347a46(0x175)][_0x9b2b5f['fieldId']];if(_0x2ce477&&_0x2ce477[_0x347a46(0x378)]===_0x39ba8f[_0x347a46(0x183)])return _0x9b2b5f;}return(_0x9b2b5f==null?void 0x0:_0x9b2b5f[_0x347a46(0x378)])===_0x347a46(0x118)&&Array[_0x347a46(0x348)](_0x9b2b5f['rules'])?{'type':'conditional','rules':_0x9b2b5f[_0x347a46(0x2d5)][_0x347a46(0x457)](_0x4eb0a5=>!!_0x189dbb[_0x347a46(0x175)][_0x4eb0a5[_0x347a46(0x1c3)]])}:(_0x9b2b5f==null?void 0x0:_0x9b2b5f[_0x347a46(0x378)])===_0x347a46(0x4ba)&&typeof _0x9b2b5f[_0x347a46(0x388)]==_0x347a46(0x3f0)&&_0x9b2b5f[_0x347a46(0x388)][_0x347a46(0x401)]()?{'type':_0x347a46(0x4ba),'color':_0x9b2b5f[_0x347a46(0x388)]}:{'type':'custom','color':'#14b8a6'};}[_0x413924(0x3d5)](_0x1e36ad,_0x4eeebc,_0x34599d){const _0x6a3c9e=_0x413924;let _0x7c6114=_0x34599d[_0x6a3c9e(0x1d8)];if((_0x7c6114==null?void 0x0:_0x7c6114[_0x6a3c9e(0x378)])===_0x6a3c9e(0x118)){let _0x499b56=_0x7c6114[_0x6a3c9e(0x2d5)][_0x6a3c9e(0x196)](_0x2b3d68=>this[_0x6a3c9e(0x222)](_0x1e36ad,_0x4eeebc,_0x2b3d68));if(_0x499b56)return _0x499b56[_0x6a3c9e(0x388)];}if((_0x7c6114==null?void 0x0:_0x7c6114[_0x6a3c9e(0x378)])===_0x6a3c9e(0x191)){let _0x3d8a85=_0x1e36ad[_0x6a3c9e(0x175)][_0x7c6114[_0x6a3c9e(0x1c3)]];if(_0x3d8a85){var _0x2d0201;let _0x35e0fe=_0x4eeebc[_0x6a3c9e(0x4ae)][_0x7c6114[_0x6a3c9e(0x1c3)]],_0x302e24=Array[_0x6a3c9e(0x348)](_0x35e0fe)?_0x35e0fe[0x0]:_0x35e0fe,_0x3e1620=_0x302e24==null||(_0x2d0201=Li(_0x3d8a85,String(_0x302e24)))==null?void 0x0:_0x2d0201[_0x6a3c9e(0x388)];if(_0x3e1620)return _0x3e1620;}}return(_0x7c6114==null?void 0x0:_0x7c6114['type'])==='custom'?_0x7c6114['color']:_0x6a3c9e(0x3b5);}[_0x413924(0x222)](_0x3327dc,_0x12682f,_0x47a372){const _0x4a3f0a=_0x413924;let _0x4d0560=_0x3327dc[_0x4a3f0a(0x175)][_0x47a372['fieldId']];return _0x4d0560?xn(_0x12682f['values'][_0x4d0560['id']],_0x47a372[_0x4a3f0a(0x129)],_0x47a372[_0x4a3f0a(0x2ac)],_0x4d0560,{'dateMode':_0x47a372[_0x4a3f0a(0x308)]}):!0x1;}[_0x413924(0x478)](_0x1b608e,_0xe4b002){const _0x365008=_0x413924;let _0x454440=this[_0x365008(0x338)](_0x1b608e,_0xe4b002),_0xf0326e=this[_0x365008(0x347)](_0x1b608e,_0xe4b002[_0x365008(0x406)]??{}),_0x29bcb9=this[_0x365008(0x3a9)](_0x1b608e,_0xe4b002);return{'type':_0xc119d4[_0x365008(0x2f7)],'fields':_0x29bcb9,'rows':_0x454440,'groups':this[_0x365008(0x145)](_0x1b608e,_0xe4b002,_0x454440),'titleFieldId':_0xf0326e[_0x365008(0x2d9)]['titleFieldId'],'coverFieldId':_0xf0326e['coverFieldId'],'cardLayout':_0xf0326e['cardLayout']??_0x365008(0x3c7),'showFieldNames':_0xf0326e['showFieldNames']!==!0x1,'visibleCardFieldIds':this['_resolveGalleryCardFieldIds'](_0x1b608e,_0xe4b002,_0xf0326e),'cardSize':_0xf0326e['cardSize']??'medium','cards':_0x454440[_0x365008(0x438)](_0x233e34=>({'recordId':_0x233e34[_0x365008(0x170)],'title':this['_title'](_0x1b608e,_0x233e34,_0xf0326e[_0x365008(0x2d9)][_0x365008(0x162)]),'values':_0x233e34[_0x365008(0x4ae)]}))};}['_normalizeGalleryConfig'](_0x33ee4b,_0x4703b3){const _0x13c814=_0x413924;let _0x595288=_0x4703b3['card']??{'fieldIds':[]},_0x170d00=this[_0x13c814(0x17b)](_0x33ee4b,_0x595288[_0x13c814(0x162)]),_0xe8eff8=this[_0x13c814(0x279)](_0x33ee4b,_0x4703b3),_0x2e698b=_0x4703b3[_0x13c814(0x3f2)]===_0x13c814(0x1e2)||_0x4703b3['cardSize']===_0x13c814(0x14b)?_0x4703b3[_0x13c814(0x3f2)]:'medium';return{..._0x4703b3,'coverFieldId':_0xe8eff8,'cardLayout':_0x4703b3[_0x13c814(0x474)]===_0x13c814(0x2ad)?_0x13c814(0x2ad):'normal','showFieldNames':_0x4703b3[_0x13c814(0x21e)]!==!0x1,'fieldSettings':Object[_0x13c814(0x300)](Object[_0x13c814(0x391)](_0x4703b3['fieldSettings']??{})[_0x13c814(0x457)](([_0xa3edf8])=>{const _0x59dc9f=_0x13c814;let _0x39476e=_0x33ee4b[_0x59dc9f(0x175)][_0xa3edf8];return!!(_0x39476e&&_0x39476e[_0x59dc9f(0x22f)]!==!0x0&&_0x39476e[_0x59dc9f(0x378)]!==_0x39ba8f[_0x59dc9f(0x216)]);})),'card':{..._0x595288,'titleFieldId':_0x170d00,'coverFieldId':_0xe8eff8,'fieldIds':Array[_0x13c814(0x348)](_0x595288[_0x13c814(0x481)])?_0x595288[_0x13c814(0x481)]:[]},'cardSize':_0x2e698b};}[_0x413924(0x17b)](_0x5a61b6,_0x363fe7){const _0x15b144=_0x413924;let _0xacc3b8=_0x363fe7?_0x5a61b6[_0x15b144(0x175)][_0x363fe7]:void 0x0;return _0xacc3b8&&_0xacc3b8['system']!==!0x0&&_0xacc3b8['type']!==_0x39ba8f['RecordId']?_0xacc3b8['id']:Zr(_0x5a61b6);}[_0x413924(0x279)](_0x3f56d7,_0x5d3971){const _0x207ca3=_0x413924;var _0x263836;let _0x10a7df=_0x5d3971[_0x207ca3(0x112)]??((_0x263836=_0x5d3971[_0x207ca3(0x2d9)])==null?void 0x0:_0x263836[_0x207ca3(0x112)])??null;if(!_0x10a7df)return null;let _0x34a860=_0x3f56d7[_0x207ca3(0x175)][_0x10a7df];return _0x34a860&&this[_0x207ca3(0x1fc)](_0x34a860)[_0x207ca3(0x20d)]?_0x34a860['id']:null;}['_resolveGalleryCardFieldIds'](_0x9fe023,_0x1d5d92,_0x4c3971){const _0xa1c6f9=_0x413924;var _0x4c9872,_0x3dfd0d,_0x29b953;let _0xb2ba9f=_0x4c3971[_0xa1c6f9(0x468)]??{},_0x1712ad=((_0x4c9872=_0x4c3971[_0xa1c6f9(0x2d9)])==null?void 0x0:_0x4c9872[_0xa1c6f9(0x162)])??Zr(_0x9fe023),_0x1f6528=_0x4c3971[_0xa1c6f9(0x112)]??((_0x3dfd0d=_0x4c3971[_0xa1c6f9(0x2d9)])==null?void 0x0:_0x3dfd0d[_0xa1c6f9(0x112)])??null,_0x4a3c03=(_0x29b953=_0x4c3971[_0xa1c6f9(0x2d9)])!=null&&(_0x29b953=_0x29b953[_0xa1c6f9(0x481)])!=null&&_0x29b953[_0xa1c6f9(0x4be)]?_0x4c3971[_0xa1c6f9(0x2d9)][_0xa1c6f9(0x481)]:Qr(_0x9fe023,[_0x1712ad,_0x1f6528,_0x9fe023[_0xa1c6f9(0x426)]]);return _0x4a3c03[_0xa1c6f9(0x457)](_0x47d7fe=>{const _0x1d7d38=_0xa1c6f9;var _0x2aaab1,_0x574d95;let _0x3e9811=_0x9fe023[_0x1d7d38(0x175)][_0x47d7fe];return!(!_0x3e9811||_0x3e9811[_0x1d7d38(0x22f)]===!0x0||_0x3e9811[_0x1d7d38(0x378)]===_0x39ba8f[_0x1d7d38(0x216)]||_0x3e9811['id']===_0x1712ad||_0x3e9811['id']===_0x1f6528||(_0x2aaab1=_0x1d5d92[_0x1d7d38(0x468)])!=null&&(_0x2aaab1=_0x2aaab1[_0x47d7fe])!=null&&_0x2aaab1[_0x1d7d38(0x287)]||(_0x574d95=_0xb2ba9f[_0x47d7fe])!=null&&_0x574d95[_0x1d7d38(0x287)]);})[_0xa1c6f9(0x116)]((_0x5c3e31,_0x4f447f)=>{const _0x27000e=_0xa1c6f9;var _0x11d58d,_0x88ab32;return(((_0x11d58d=_0xb2ba9f[_0x5c3e31])==null?void 0x0:_0x11d58d[_0x27000e(0x3d1)])??_0x4a3c03[_0x27000e(0x3ef)](_0x5c3e31))-(((_0x88ab32=_0xb2ba9f[_0x4f447f])==null?void 0x0:_0x88ab32[_0x27000e(0x3d1)])??_0x4a3c03[_0x27000e(0x3ef)](_0x4f447f));});}['_projectFields'](_0x20c2fe,_0x948912){const _0x140354=_0x413924;var _0xe7de1;return((_0xe7de1=_0x948912[_0x140354(0x3fc)])!=null&&_0xe7de1[_0x140354(0x4be)]?_0x948912[_0x140354(0x3fc)]:_0x20c2fe[_0x140354(0x3fc)])[_0x140354(0x4ac)](_0x2f9621=>{const _0xe3e9ef=_0x140354;var _0x2f3a48;let _0x30a928=_0x20c2fe[_0xe3e9ef(0x175)][_0x2f9621],_0x5e1795=((_0x2f3a48=_0x948912[_0xe3e9ef(0x468)])==null?void 0x0:_0x2f3a48[_0x2f9621])??{};return!_0x30a928||_0x30a928[_0xe3e9ef(0x22f)]===!0x0||_0x30a928[_0xe3e9ef(0x378)]===_0x39ba8f[_0xe3e9ef(0x216)]||_0x5e1795[_0xe3e9ef(0x287)]?[]:[{'id':_0x30a928['id'],'name':_0x30a928['name'],'description':_0x30a928[_0xe3e9ef(0x4d8)],'type':_0x30a928['type'],'config':_0x30a928[_0xe3e9ef(0x406)],'width':_0x5e1795[_0xe3e9ef(0x1d6)],'setting':_0x5e1795}];});}[_0x413924(0x338)](_0x4cc7ed,_0x49e4fe){const _0x1bc93e=_0x413924;var _0x3a94b2;return I(_0x1bc93e(0x370),()=>{const _0x33bffb=_0x1bc93e;var _0x36b8ef,_0x21a33b;let _0x989959=this[_0x33bffb(0x16b)](_0x4cc7ed),_0x2a7e63=this[_0x33bffb(0x477)](_0x4cc7ed['id'],_0x49e4fe),_0x22a4f1=this[_0x33bffb(0x445)](_0x4cc7ed['id']),_0x51882c=this[_0x33bffb(0x2aa)][_0x33bffb(0x113)](_0x2a7e63);if(_0x51882c&&_0x51882c[_0x33bffb(0x4dc)]===this[_0x33bffb(0x3a4)]&&_0x51882c[_0x33bffb(0x431)]===this[_0x33bffb(0x21a)](_0x4cc7ed['id'])){if(_0x51882c[_0x33bffb(0x3b0)]===_0x22a4f1&&_0x51882c['baseRows']===_0x989959)return _0x51882c[_0x33bffb(0x4c1)];if(_0x51882c[_0x33bffb(0x3b0)]!==_0x22a4f1&&!this[_0x33bffb(0x212)](_0x4cc7ed['id'],_0x51882c[_0x33bffb(0x3b0)],_0x22a4f1,this[_0x33bffb(0x3ad)](_0x49e4fe))){let _0x5844a2=_0x51882c['rows']===_0x51882c[_0x33bffb(0x3c6)]?_0x989959:this[_0x33bffb(0x315)](_0x51882c[_0x33bffb(0x4c1)],_0x989959);if(_0x5844a2)return this[_0x33bffb(0x2aa)]['set'](_0x2a7e63,{..._0x51882c,'rows':_0x5844a2,'baseRows':_0x989959,'cellRevision':_0x22a4f1}),_0x5844a2;}}let _0x185211=I(_0x33bffb(0x39f),()=>this[_0x33bffb(0x37c)](_0x4cc7ed,_0x49e4fe,this[_0x33bffb(0x3a1)](_0x4cc7ed,_0x49e4fe,_0x989959)),{'tableId':_0x4cc7ed['id'],'viewId':_0x49e4fe==null?void 0x0:_0x49e4fe['id'],'viewType':_0x49e4fe==null?void 0x0:_0x49e4fe[_0x33bffb(0x378)],'rows':_0x989959[_0x33bffb(0x4be)],'filters':(_0x49e4fe==null||(_0x36b8ef=_0x49e4fe[_0x33bffb(0x457)])==null?void 0x0:_0x36b8ef[_0x33bffb(0x31c)][_0x33bffb(0x4be)])??0x0,'sorts':(_0x49e4fe==null||(_0x21a33b=_0x49e4fe[_0x33bffb(0x116)])==null?void 0x0:_0x21a33b[_0x33bffb(0x4be)])??0x0});return this[_0x33bffb(0x2aa)][_0x33bffb(0x404)](_0x2a7e63,{'table':_0x4cc7ed,'rows':_0x185211,'baseRows':_0x989959,'globalRevision':this[_0x33bffb(0x3a4)],'tableRevision':this[_0x33bffb(0x21a)](_0x4cc7ed['id']),'cellRevision':_0x22a4f1}),_0x185211;},{'tableId':_0x4cc7ed['id'],'viewId':_0x49e4fe==null?void 0x0:_0x49e4fe['id'],'viewType':_0x49e4fe==null?void 0x0:_0x49e4fe['type'],'records':((_0x3a94b2=_0x4cc7ed['recordOrder'])==null?void 0x0:_0x3a94b2[_0x1bc93e(0x4be)])??Object['keys'](_0x4cc7ed[_0x1bc93e(0x3b4)]??{})[_0x1bc93e(0x4be)]});}[_0x413924(0x16b)](_0x3cf634){const _0x10f63b=_0x413924;var _0x2dca85;return I('BaseProjection.projectTableRows',()=>{const _0x582a16=_0x5866;var _0x1105d2;let _0x3001f0=this[_0x582a16(0x445)](_0x3cf634['id']),_0x35be91=this[_0x582a16(0x22a)]['get'](_0x3cf634['id']);if(_0x35be91&&_0x35be91[_0x582a16(0x4dc)]===this[_0x582a16(0x3a4)]&&_0x35be91[_0x582a16(0x431)]===this[_0x582a16(0x21a)](_0x3cf634['id'])){if(_0x35be91['cellRevision']===_0x3001f0&&fi(_0x35be91[_0x582a16(0x246)],_0x3cf634))return _0x35be91[_0x582a16(0x246)]=_0x3cf634,_0x35be91['rows'];let _0x513f54=this[_0x582a16(0x2f0)](_0x3cf634,_0x35be91,_0x3001f0);if(_0x513f54)return _0x513f54;}ui(_0x3cf634)||L(_0x3cf634);let _0x199dae=(_0x1105d2=_0x3cf634[_0x582a16(0x1c6)])!=null&&_0x1105d2[_0x582a16(0x4be)]?_0x3cf634['recordOrder']:hi(_0x3cf634[_0x582a16(0x3b4)]),_0xe9612e=I(_0x582a16(0x1fd),()=>{const _0x9788b2=_0x582a16;let _0x33f8cb=[];for(let _0x151161 of _0x199dae){let _0x5c9de7=_0x3cf634[_0x9788b2(0x3b4)][_0x151161];if(!_0x5c9de7)continue;let _0x2cbda8={};for(let _0x2a88b1 of _0x3cf634[_0x9788b2(0x3fc)])_0x2cbda8[_0x2a88b1]=yt(_0x3cf634,_0x5c9de7['id'],_0x2a88b1);_0x33f8cb[_0x9788b2(0x34c)]({'recordId':_0x5c9de7['id'],'values':_0x2cbda8});}return _0x33f8cb;},{'tableId':_0x3cf634['id'],'records':_0x199dae[_0x582a16(0x4be)],'fields':_0x3cf634['fieldOrder'][_0x582a16(0x4be)]});return this[_0x582a16(0x22a)]['set'](_0x3cf634['id'],{'table':_0x3cf634,'rows':_0xe9612e,'rowIndexById':li(_0xe9612e),'globalRevision':this[_0x582a16(0x3a4)],'tableRevision':this[_0x582a16(0x21a)](_0x3cf634['id']),'cellRevision':_0x3001f0}),_0xe9612e;},{'tableId':_0x3cf634['id'],'records':((_0x2dca85=_0x3cf634['recordOrder'])==null?void 0x0:_0x2dca85[_0x10f63b(0x4be)])??Object['keys'](_0x3cf634[_0x10f63b(0x3b4)]??{})['length'],'fields':_0x3cf634[_0x10f63b(0x3fc)][_0x10f63b(0x4be)]});}['_patchProjectedRowsForCellInvalidations'](_0xc45dee,_0x231ad8,_0x4e0680){const _0x30ecd0=_0x413924;let _0x1993f7=(this[_0x30ecd0(0x160)][_0x30ecd0(0x113)](_0xc45dee['id'])??[])['filter'](_0x1b614a=>_0x1b614a['revision']>_0x231ad8['cellRevision']&&_0x1b614a[_0x30ecd0(0x193)]<=_0x4e0680);if(!_0x1993f7[_0x30ecd0(0x4be)])return _0x231ad8['table']===_0xc45dee?_0x231ad8[_0x30ecd0(0x4c1)]:null;let _0x182602=_0x231ad8[_0x30ecd0(0x4c1)],_0x3befac=new Map();for(let _0x2dad93 of _0x1993f7){let _0xfdcadc=_0x3befac[_0x30ecd0(0x113)](_0x2dad93[_0x30ecd0(0x170)]);_0xfdcadc||(_0xfdcadc=new Set(),_0x3befac[_0x30ecd0(0x404)](_0x2dad93[_0x30ecd0(0x170)],_0xfdcadc)),_0xfdcadc[_0x30ecd0(0x4c2)](_0x2dad93['fieldId']);}for(let [_0x506c64,_0x12d330]of _0x3befac){if(!_0xc45dee[_0x30ecd0(0x3b4)][_0x506c64])return null;let _0x3f18f9=_0x231ad8[_0x30ecd0(0x1b4)][_0x30ecd0(0x113)](_0x506c64);if(_0x3f18f9==null)return null;_0x182602===_0x231ad8[_0x30ecd0(0x4c1)]&&(_0x182602=[..._0x231ad8[_0x30ecd0(0x4c1)]]);let _0x43efab=_0x182602[_0x3f18f9],_0x2718a2={..._0x43efab[_0x30ecd0(0x4ae)]};_0x12d330[_0x30ecd0(0x248)](_0x1a715a=>{_0x2718a2[_0x1a715a]=yt(_0xc45dee,_0x506c64,_0x1a715a);}),_0x182602[_0x3f18f9]={..._0x43efab,'values':_0x2718a2};}let _0x10c601={'table':_0xc45dee,'rows':_0x182602,'rowIndexById':_0x231ad8[_0x30ecd0(0x1b4)],'globalRevision':this[_0x30ecd0(0x3a4)],'tableRevision':this[_0x30ecd0(0x21a)](_0xc45dee['id']),'cellRevision':_0x4e0680};return this[_0x30ecd0(0x22a)][_0x30ecd0(0x404)](_0xc45dee['id'],_0x10c601),this[_0x30ecd0(0x160)][_0x30ecd0(0x404)](_0xc45dee['id'],(this[_0x30ecd0(0x160)][_0x30ecd0(0x113)](_0xc45dee['id'])??[])[_0x30ecd0(0x457)](_0x2afdd7=>_0x2afdd7[_0x30ecd0(0x193)]>Math['max'](0x0,_0x4e0680-0x100))),_0x182602;}['_patchCachedProjectedRows'](_0x1323a2,_0x26e6ad){const _0x25fb91=_0x413924;let _0x41901a=new Map(_0x26e6ad[_0x25fb91(0x438)](_0x4a968f=>[_0x4a968f[_0x25fb91(0x170)],_0x4a968f])),_0x2f015b=!0x1,_0x4bf43c=_0x1323a2[_0x25fb91(0x438)](_0x61b31d=>{const _0x4fe820=_0x25fb91;let _0x57daa2=_0x41901a[_0x4fe820(0x113)](_0x61b31d[_0x4fe820(0x170)]);return _0x57daa2?_0x57daa2===_0x61b31d?_0x61b31d:(_0x2f015b=!0x0,_0x57daa2):_0x61b31d;});return _0x2f015b?_0x4bf43c:_0x1323a2;}[_0x413924(0x212)](_0x34e5b1,_0x2258c3,_0x8f9462,_0x45b55a){const _0x3c1f76=_0x413924;return!_0x45b55a[_0x3c1f76(0x22e)]||_0x2258c3===_0x8f9462?!0x1:_0x8f9462-_0x2258c3>0x100||(this[_0x3c1f76(0x160)][_0x3c1f76(0x113)](_0x34e5b1)??[])['some'](_0x4cfd20=>_0x4cfd20['revision']>_0x2258c3&&_0x4cfd20['revision']<=_0x8f9462&&_0x45b55a['has'](_0x4cfd20[_0x3c1f76(0x1c3)]));}[_0x413924(0x3ad)](_0x56d99d){const _0x4eee08=_0x413924;var _0x1d0834,_0x59cfe9;let _0x42f2e8=new Set();return _0x56d99d==null||(_0x1d0834=_0x56d99d[_0x4eee08(0x457)])==null||_0x1d0834['conditions'][_0x4eee08(0x248)](_0x10a07a=>_0x42f2e8[_0x4eee08(0x4c2)](_0x10a07a[_0x4eee08(0x1c3)])),_0x56d99d==null||(_0x59cfe9=_0x56d99d[_0x4eee08(0x116)])==null||_0x59cfe9[_0x4eee08(0x248)](_0x491161=>_0x42f2e8[_0x4eee08(0x4c2)](_0x491161['fieldId'])),_0x42f2e8;}['_groupProjectionFieldIds'](_0x382c6e){const _0x400eaf=_0x413924;var _0x5f55b3;let _0x21df88=this[_0x400eaf(0x3ad)](_0x382c6e);return(_0x5f55b3=_0x382c6e['group'])==null||_0x5f55b3[_0x400eaf(0x248)](_0x3ecf9c=>_0x21df88['add'](_0x3ecf9c[_0x400eaf(0x1c3)])),_0x21df88;}[_0x413924(0x3a1)](_0x5e1c62,_0x134dc0,_0x47ebcb){const _0x3ba8e4=_0x413924;let _0x4c3c42=_0x134dc0==null?void 0x0:_0x134dc0[_0x3ba8e4(0x457)];if(!(_0x4c3c42!=null&&_0x4c3c42['conditions'][_0x3ba8e4(0x4be)]))return _0x47ebcb;let _0x4464d8=_0x4c3c42[_0x3ba8e4(0x31c)]['filter'](_0xb8cee6=>!Ii(_0xb8cee6));return _0x4464d8[_0x3ba8e4(0x4be)]?_0x47ebcb[_0x3ba8e4(0x457)](_0x391640=>{const _0x5d99a3=_0x3ba8e4;if(_0x4c3c42['conjunction']===_0x5c1116['OR']){for(let _0x3464c2 of _0x4464d8){let _0x180b42=_0x5e1c62[_0x5d99a3(0x175)][_0x3464c2[_0x5d99a3(0x1c3)]];if(!_0x180b42||this[_0x5d99a3(0x359)][_0x5d99a3(0x113)](_0x180b42[_0x5d99a3(0x378)])[_0x5d99a3(0x457)](_0x391640['values'][_0x180b42['id']],_0x3464c2[_0x5d99a3(0x129)],_0x3464c2[_0x5d99a3(0x2ac)],_0x180b42))return!0x0;}return!0x1;}for(let _0x448315 of _0x4464d8){let _0x204543=_0x5e1c62[_0x5d99a3(0x175)][_0x448315['fieldId']];if(_0x204543&&!this[_0x5d99a3(0x359)][_0x5d99a3(0x113)](_0x204543['type'])[_0x5d99a3(0x457)](_0x391640[_0x5d99a3(0x4ae)][_0x204543['id']],_0x448315[_0x5d99a3(0x129)],_0x448315[_0x5d99a3(0x2ac)],_0x204543))return!0x1;}return!0x0;}):_0x47ebcb;}[_0x413924(0x37c)](_0x3ad181,_0x4f94bd,_0x2a3e13){const _0x3b20ea=_0x413924;let _0x24a009=(_0x4f94bd==null?void 0x0:_0x4f94bd[_0x3b20ea(0x116)])??[];if(!_0x24a009[_0x3b20ea(0x4be)])return _0x2a3e13;let _0x99580e=_0x24a009[_0x3b20ea(0x4ac)](_0x2c66fa=>{const _0x47b63a=_0x3b20ea;let _0x78168c=_0x3ad181['fields'][_0x2c66fa[_0x47b63a(0x1c3)]];return _0x78168c?[{..._0x2c66fa,'field':_0x78168c}]:[];});return _0x99580e[_0x3b20ea(0x4be)]?this[_0x3b20ea(0x25a)](_0x99580e)?this[_0x3b20ea(0x267)](_0x99580e,_0x2a3e13):[..._0x2a3e13][_0x3b20ea(0x116)]((_0x3a0a5a,_0x187d10)=>{const _0x509cd4=_0x3b20ea;for(let _0x3c2517 of _0x99580e){let _0xf69004=_0x3c2517[_0x509cd4(0x2b7)],_0x497000=this[_0x509cd4(0x359)]['get'](_0xf69004['type'])[_0x509cd4(0x14e)](_0x3a0a5a[_0x509cd4(0x4ae)][_0xf69004['id']],_0x187d10[_0x509cd4(0x4ae)][_0xf69004['id']],_0xf69004);if(_0x497000!==0x0)return _0x3c2517[_0x509cd4(0x1ec)]===_0x3bb647['DESC']?-_0x497000:_0x497000;}return 0x0;}):_0x2a3e13;}['_canUseFastSort'](_0x25d50a){const _0x38ed90=_0x413924;return _0x25d50a[_0x38ed90(0x23d)](_0x13ad0c=>ai[_0x38ed90(0x3cf)](_0x13ad0c[_0x38ed90(0x2b7)][_0x38ed90(0x378)]));}[_0x413924(0x267)](_0x17bf1b,_0x4a8320){const _0x36741d=_0x413924;return _0x4a8320[_0x36741d(0x438)]((_0x48fa99,_0x1bf42d)=>({'row':_0x48fa99,'index':_0x1bf42d,'keys':_0x17bf1b[_0x36741d(0x438)](_0x569649=>_0x48fa99[_0x36741d(0x4ae)][_0x569649['fieldId']])}))[_0x36741d(0x116)]((_0x1ccd53,_0x2d3b82)=>{const _0x16808b=_0x36741d;for(let _0xa2ed19=0x0;_0xa2ed19<_0x17bf1b[_0x16808b(0x4be)];_0xa2ed19++){let _0x2e7e60=Fi(_0x1ccd53['keys'][_0xa2ed19],_0x2d3b82[_0x16808b(0x3a2)][_0xa2ed19]);if(_0x2e7e60!==0x0)return _0x17bf1b[_0xa2ed19][_0x16808b(0x1ec)]===_0x3bb647['DESC']?-_0x2e7e60:_0x2e7e60;}return _0x1ccd53[_0x16808b(0x319)]-_0x2d3b82[_0x16808b(0x319)];})[_0x36741d(0x438)](_0x961a49=>_0x961a49[_0x36741d(0x47c)]);}['_projectGroups'](_0x247d60,_0x12af6c,_0x3ca79b){const _0xacb98e=_0x413924;var _0x2b4d3d;return I('BaseProjection.projectGroups',()=>{const _0xda131=_0x5866;var _0x5ab0c5;if(!((_0x5ab0c5=_0x12af6c[_0xda131(0x151)])!=null&&_0x5ab0c5[_0xda131(0x4be)]))return[];let _0x2bd9d4=_0x12af6c[_0xda131(0x151)][_0xda131(0x457)](_0x286d3f=>_0x247d60['fields'][_0x286d3f[_0xda131(0x1c3)]]);if(!_0x2bd9d4[_0xda131(0x4be)])return[];let _0x3398fc=this[_0xda131(0x39e)](_0x247d60['id'],_0x12af6c,_0x2bd9d4),_0x129e66=this['_getCellRevision'](_0x247d60['id']),_0x3c4043=this[_0xda131(0x276)][_0xda131(0x113)](_0x3398fc);if(_0x3c4043&&_0x3c4043[_0xda131(0x4dc)]===this['_globalRevision']&&_0x3c4043[_0xda131(0x431)]===this[_0xda131(0x21a)](_0x247d60['id'])){if(_0x3c4043[_0xda131(0x3b0)]===_0x129e66&&_0x3c4043[_0xda131(0x4c1)]===_0x3ca79b)return _0x3c4043['groups'];if(_0x3c4043[_0xda131(0x3b0)]!==_0x129e66&&!this[_0xda131(0x212)](_0x247d60['id'],_0x3c4043[_0xda131(0x3b0)],_0x129e66,this[_0xda131(0x2eb)](_0x12af6c)))return this['_projectedGroupsCache']['set'](_0x3398fc,{..._0x3c4043,'rows':_0x3ca79b,'cellRevision':_0x129e66}),_0x3c4043[_0xda131(0x10c)];}let _0x40b093=new Map();for(let _0x217860 of _0x3ca79b){let _0x5b43c5=_0x40b093,_0x377061='';for(let _0x8d3c4f=0x0;_0x8d3c4f<_0x2bd9d4[_0xda131(0x4be)];_0x8d3c4f++){let _0x36a580=_0x2bd9d4[_0x8d3c4f],_0x39ef75=_0x217860[_0xda131(0x4ae)][_0x36a580['fieldId']],_0x1ab500=ci(_0x39ef75),_0x1a051d=_0x36a580[_0xda131(0x1c3)]+'\x00'+_0x1ab500,_0x94220b=_0x377061+'/'+_0x36a580[_0xda131(0x1c3)]+':'+_0x1ab500,_0x2bcfc0=_0x5b43c5[_0xda131(0x113)](_0x1a051d);_0x2bcfc0||(_0x2bcfc0={'key':_0x1ab500,'value':_0x39ef75,'path':_0x94220b,'label':_0x1ab500||_0xda131(0x40d),'fieldId':_0x36a580['fieldId'],'level':_0x8d3c4f,'recordIds':[],'children':new Map()},_0x5b43c5['set'](_0x1a051d,_0x2bcfc0)),_0x2bcfc0[_0xda131(0x230)][_0xda131(0x34c)](_0x217860[_0xda131(0x170)]),_0x5b43c5=_0x2bcfc0[_0xda131(0x296)],_0x377061=_0x94220b;}}let _0x4ea87e=this[_0xda131(0x400)](_0x2bd9d4,_0x40b093,0x0);return this[_0xda131(0x276)]['set'](_0x3398fc,{'table':_0x247d60,'rows':_0x3ca79b,'groups':_0x4ea87e,'globalRevision':this[_0xda131(0x3a4)],'tableRevision':this[_0xda131(0x21a)](_0x247d60['id']),'cellRevision':_0x129e66}),_0x4ea87e;},{'tableId':_0x247d60['id'],'viewId':_0x12af6c['id'],'viewType':_0x12af6c[_0xacb98e(0x378)],'rows':_0x3ca79b[_0xacb98e(0x4be)],'groupFields':((_0x2b4d3d=_0x12af6c[_0xacb98e(0x151)])==null?void 0x0:_0x2b4d3d[_0xacb98e(0x4be)])??0x0});}[_0x413924(0x400)](_0x207967,_0x27b655,_0x3e9ad3){const _0x413d38=_0x413924;var _0x54d2d5;let _0x245f58=Array[_0x413d38(0x2f6)](_0x27b655[_0x413d38(0x4ae)]()),_0x128e86=(_0x54d2d5=_0x207967[_0x3e9ad3])==null?void 0x0:_0x54d2d5['direction'];return _0x128e86&&_0x245f58[_0x413d38(0x116)]((_0x3b9f54,_0x3e033e)=>{const _0x14b769=_0x413d38;let _0x1150dd=_0x3b9f54[_0x14b769(0x2c3)]['localeCompare'](_0x3e033e[_0x14b769(0x2c3)]);return _0x128e86===_0x3bb647[_0x14b769(0x467)]?-_0x1150dd:_0x1150dd;}),_0x245f58[_0x413d38(0x438)](_0x5b09ae=>({'key':_0x5b09ae['key'],'value':_0x5b09ae['value'],'path':_0x5b09ae[_0x413d38(0x4c7)],'label':_0x5b09ae[_0x413d38(0x3e5)],'fieldId':_0x5b09ae[_0x413d38(0x1c3)],'level':_0x5b09ae[_0x413d38(0x488)],'recordIds':_0x5b09ae[_0x413d38(0x230)],'children':this[_0x413d38(0x400)](_0x207967,_0x5b09ae[_0x413d38(0x296)],_0x3e9ad3+0x1)}));}['_title'](_0x56d4ec,_0x1d95d3,_0x2f162a){const _0x265ebf=_0x413924;let _0x13e4d6=_0x2f162a??_0x56d4ec['primaryFieldId'],_0x373266=_0x1d95d3[_0x265ebf(0x4ae)][_0x13e4d6];return _0x373266==null?'':String(_0x373266);}[_0x413924(0x20b)](_0x346392){const _0x3e2320=_0x413924;if(Array['isArray'](_0x346392))return _0x346392[_0x3e2320(0x438)](String);if(typeof _0x346392==_0x3e2320(0x3f0)&&_0x346392)return[_0x346392];}[_0x413924(0x1fc)](_0x1b924b){const _0x2e5eb4=_0x413924;return this[_0x2e5eb4(0x359)][_0x2e5eb4(0x113)](_0x1b924b[_0x2e5eb4(0x378)])[_0x2e5eb4(0x3c3)](_0x1b924b);}};si=X([Y(0x0,_0x4ceb1c(mr))],si);function ci(_0x209c14){return _0x209c14==null?'':String(_0x209c14);}function li(_0x3bd286){const _0x43f9bc=_0x413924;return new Map(_0x3bd286[_0x43f9bc(0x438)]((_0x2213e9,_0x4a92f1)=>[_0x2213e9[_0x43f9bc(0x170)],_0x4a92f1]));}function ui(_0x47267c){const _0xf2239d=_0x413924;return!!(Array[_0xf2239d(0x348)](_0x47267c['recordOrder'])&&_0x47267c[_0xf2239d(0x12b)]&&_0x47267c[_0xf2239d(0x3ce)]&&_0x47267c[_0xf2239d(0x4a2)]&&_0x47267c['colId']&&_0x47267c[_0xf2239d(0x260)]);}function di(_0x1170ec){const _0x8c47cd=_0x413924;let _0x1c6093=(_0x1170ec==null?void 0x0:_0x1170ec[_0x8c47cd(0x31c)][_0x8c47cd(0x457)](_0x2598a2=>!Ii(_0x2598a2)))??[];return!_0x1170ec||!_0x1c6093['length']?null:{'conjunction':_0x1170ec[_0x8c47cd(0x45d)],'conditions':_0x1c6093[_0x8c47cd(0x438)](_0x10bd02=>({'fieldId':_0x10bd02[_0x8c47cd(0x1c3)],'operator':_0x10bd02['operator'],'operand':_0x10bd02[_0x8c47cd(0x2ac)]}))};}function fi(_0x4bcf58,_0x1b820d){const _0x57cc48=_0x413924;return _0x4bcf58[_0x57cc48(0x3b4)]===_0x1b820d[_0x57cc48(0x3b4)]&&_0x4bcf58[_0x57cc48(0x1c6)]===_0x1b820d[_0x57cc48(0x1c6)]&&_0x4bcf58[_0x57cc48(0x175)]===_0x1b820d[_0x57cc48(0x175)]&&_0x4bcf58[_0x57cc48(0x3fc)]===_0x1b820d[_0x57cc48(0x3fc)]&&_0x4bcf58[_0x57cc48(0x260)]===_0x1b820d[_0x57cc48(0x260)]&&_0x4bcf58[_0x57cc48(0x12b)]===_0x1b820d[_0x57cc48(0x12b)]&&_0x4bcf58[_0x57cc48(0x3ce)]===_0x1b820d[_0x57cc48(0x3ce)]&&_0x4bcf58['colIndex']===_0x1b820d['colIndex']&&_0x4bcf58[_0x57cc48(0x16c)]===_0x1b820d[_0x57cc48(0x16c)];}function pi(_0x12316c){const _0x1e3bc0=_0x413924;return _0x12316c!=null&&_0x12316c[_0x1e3bc0(0x4be)]?_0x12316c[_0x1e3bc0(0x438)](_0x423d26=>({'fieldId':_0x423d26['fieldId'],'direction':_0x423d26[_0x1e3bc0(0x1ec)]})):null;}function mi(_0x3f3e81){const _0x3c2007=_0x413924;if(typeof _0x3f3e81!=_0x3c2007(0x441)||!_0x3f3e81)return JSON['stringify'](_0x3f3e81)??_0x3c2007(0x30b);if(Array['isArray'](_0x3f3e81))return'['+_0x3f3e81[_0x3c2007(0x438)](mi)[_0x3c2007(0x4bd)](',')+']';let _0x18aeaf=_0x3f3e81;return'{'+Object[_0x3c2007(0x3a2)](_0x18aeaf)[_0x3c2007(0x116)]()['map'](_0x51f555=>JSON[_0x3c2007(0x3d0)](_0x51f555)+':'+mi(_0x18aeaf[_0x51f555]))[_0x3c2007(0x4bd)](',')+'}';}function hi(_0x4ac899){const _0x4ad964=_0x413924;let _0x1c7a51=Object[_0x4ad964(0x4ae)](_0x4ac899)[_0x4ad964(0x116)]((_0x31892d,_0x8cfb31)=>_0x31892d[_0x4ad964(0x124)][_0x4ad964(0x4ce)](_0x8cfb31[_0x4ad964(0x124)])),_0x1c279a=[];for(let _0x3f8c0d of _0x1c7a51)_0x1c279a[_0x4ad964(0x34c)](_0x3f8c0d['id']);return _0x1c279a;}function gi(_0x359b33){const _0x5e9e6d=_0x413924;return{'weekdays':Array[_0x5e9e6d(0x348)](_0x359b33==null?void 0x0:_0x359b33[_0x5e9e6d(0x3f3)])&&_0x359b33[_0x5e9e6d(0x3f3)][_0x5e9e6d(0x4be)]?[...new Set(_0x359b33[_0x5e9e6d(0x3f3)][_0x5e9e6d(0x457)](_0x29f807=>Number[_0x5e9e6d(0x32b)](_0x29f807)&&_0x29f807>=0x1&&_0x29f807<=0x7))]:[0x1,0x2,0x3,0x4,0x5],'exceptions':Array['isArray'](_0x359b33==null?void 0x0:_0x359b33[_0x5e9e6d(0x2d3)])?_0x359b33[_0x5e9e6d(0x2d3)][_0x5e9e6d(0x4ac)](_0x3b5af3=>!_0x3b5af3||!Number[_0x5e9e6d(0x479)](_0x3b5af3[_0x5e9e6d(0x3d9)])?[]:[{'id':String(_0x3b5af3['id']||_0x5e9e6d(0x382)+_0x3b5af3[_0x5e9e6d(0x3d9)]),'date':Z(Number(_0x3b5af3[_0x5e9e6d(0x3d9)])),'name':String(_0x3b5af3[_0x5e9e6d(0x1f9)]||_0x5e9e6d(0x259)),'type':_0x3b5af3[_0x5e9e6d(0x378)]==='working'?_0x5e9e6d(0x26a):'off'}]):[]};}function _i(_0x5c7514,_0x276c96,_0x5cbe16,_0x461a0a){let _0x329b43=xi(_0x5c7514,_0x276c96),_0x47c8e4=Si(_0x5c7514,_0x5cbe16),_0x26b5a2=vi(_0x5c7514,_0x329b43,_0x47c8e4,_0x461a0a);return{'scale':_0x5c7514,'start':_0x329b43,'end':_0x47c8e4,'unitWidth':bi(_0x5c7514),'majorHeaders':yi(_0x5c7514,_0x329b43,_0x47c8e4),'columns':_0x26b5a2};}function vi(_0x3ab345,_0x2d980d,_0xb04f04,_0x305f89){const _0x4398fd=_0x413924;let _0x371244=[],_0x58f5e0=_0x2d980d;for(;_0x58f5e0<_0xb04f04;){let _0x44dc22=_0x3ab345===_0x4398fd(0x240)?ji(_0x58f5e0,0x7):_0x3ab345===_0x4398fd(0x34f)?Mi(_0x58f5e0,0x1):ji(_0x58f5e0,0x1);_0x371244['push']({'id':_0x3ab345+'-'+_0x58f5e0,'label':Ci(_0x3ab345,_0x58f5e0,_0x44dc22),'majorLabel':wi(_0x3ab345,_0x58f5e0),'start':_0x58f5e0,'end':_0x44dc22,'nonWorking':Ei(_0x58f5e0,_0x44dc22,_0x305f89)}),_0x58f5e0=_0x44dc22;}return _0x371244;}function yi(_0x143c90,_0x3b02bb,_0x4c01f0){const _0x5cf726=_0x413924;let _0x406887=[],_0x5d190b=_0x143c90==='year'?Ai(_0x3b02bb):ki(_0x3b02bb);for(;_0x5d190b<_0x4c01f0;){let _0x509933=_0x143c90===_0x5cf726(0x34f)?Ni(_0x5d190b,0x1):Mi(_0x5d190b,0x1);_0x406887['push']({'id':'major-'+_0x5d190b,'label':_0x143c90===_0x5cf726(0x34f)?String(new Date(_0x5d190b)[_0x5cf726(0x30e)]()):Pi(_0x5d190b),'start':_0x5d190b,'end':_0x509933}),_0x5d190b=_0x509933;}return _0x406887;}function bi(_0x866417){const _0x3e8711=_0x413924;switch(_0x866417){case'week':return 0xac;case _0x3e8711(0x240):return 0xac;case _0x3e8711(0x34f):return 0x88;default:return 0x56;}}function xi(_0x2feb74,_0x35a090){const _0x247491=_0x413924;return _0x2feb74===_0x247491(0x34f)?Ai(_0x35a090):_0x2feb74===_0x247491(0x240)?Oi(_0x35a090):Z(_0x35a090);}function Si(_0x2cb2be,_0x49d347){const _0x27f2b7=_0x413924;return _0x2cb2be===_0x27f2b7(0x34f)?Ni(Ai(_0x49d347),0x1):_0x2cb2be===_0x27f2b7(0x240)?ji(Oi(_0x49d347),0x7):ji(Z(_0x49d347),0x1);}function Ci(_0x33bd07,_0x1d99e0,_0x5a1755){const _0x370964=_0x413924;let _0x5639ab=new Date(_0x1d99e0);return _0x33bd07===_0x370964(0x240)?_0x5639ab[_0x370964(0x395)]()+'-'+new Date(_0x5a1755-oi)['getUTCDate']():_0x33bd07==='year'?_0x5639ab[_0x370964(0x1bd)]('en-US',{'month':_0x370964(0x12e),'timeZone':_0x370964(0x1ee)}):String(_0x5639ab[_0x370964(0x395)]());}function wi(_0x490b6b,_0x2f6704){const _0x21ec82=_0x413924;return _0x490b6b===_0x21ec82(0x34f)?String(new Date(_0x2f6704)[_0x21ec82(0x30e)]()):Pi(_0x2f6704);}function Ti(_0x1c0c48,_0xddfe54,_0x2abd11){let _0x12488c=gi(_0x2abd11),_0x23d1bf=0x0;for(let _0xbc68ab=Z(_0x1c0c48);_0xbc68ab<=Z(_0xddfe54);_0xbc68ab=ji(_0xbc68ab,0x1))Di(_0xbc68ab,_0x12488c)||_0x23d1bf++;return _0x23d1bf;}function Ei(_0x31b098,_0x5318c0,_0x2e2e7e){if(!_0x2e2e7e)return!0x1;let _0x3ee1d4=gi(_0x2e2e7e);for(let _0x9af77f=Z(_0x31b098);_0x9af77f<_0x5318c0;_0x9af77f=ji(_0x9af77f,0x1))if(!Di(_0x9af77f,_0x3ee1d4))return!0x1;return!0x0;}function Di(_0x1649ae,_0x40882f){const _0x806eb5=_0x413924;let _0x15fe49=Z(_0x1649ae),_0x287a86=_0x40882f[_0x806eb5(0x2d3)]['find'](_0x2aad16=>Z(_0x2aad16['date'])===_0x15fe49);if(_0x287a86)return _0x287a86[_0x806eb5(0x378)]==='off';let _0x5d05eb=new Date(_0x15fe49)[_0x806eb5(0x30f)](),_0x8094b0=_0x5d05eb===0x0?0x7:_0x5d05eb;return!_0x40882f[_0x806eb5(0x3f3)][_0x806eb5(0x35f)](_0x8094b0);}function Z(_0x47c67e){const _0x6ad6e7=_0x413924;let _0x31c962=new Date(_0x47c67e);return Date[_0x6ad6e7(0x1ee)](_0x31c962['getUTCFullYear'](),_0x31c962[_0x6ad6e7(0x184)](),_0x31c962[_0x6ad6e7(0x395)]());}function Oi(_0x5a0f78){const _0x11016d=_0x413924;let _0x2ab2b0=Z(_0x5a0f78),_0x60144a=new Date(_0x2ab2b0)[_0x11016d(0x30f)]();return ji(_0x2ab2b0,-(_0x60144a===0x0?0x6:_0x60144a-0x1));}function ki(_0x42aea7){const _0x29df5d=_0x413924;let _0x50bfa5=new Date(_0x42aea7);return Date[_0x29df5d(0x1ee)](_0x50bfa5['getUTCFullYear'](),_0x50bfa5['getUTCMonth'](),0x1);}function Ai(_0x186291){const _0x30712b=_0x413924;let _0x3eed1b=new Date(_0x186291);return Date[_0x30712b(0x1ee)](_0x3eed1b[_0x30712b(0x30e)](),0x0,0x1);}function ji(_0x30e32c,_0x3d807e){return _0x30e32c+_0x3d807e*oi;}function Mi(_0x384850,_0x21a698){const _0x4f2fe6=_0x413924;let _0x426ed0=new Date(_0x384850);return Date[_0x4f2fe6(0x1ee)](_0x426ed0[_0x4f2fe6(0x30e)](),_0x426ed0['getUTCMonth']()+_0x21a698,0x1);}function Ni(_0x194b4e,_0x589bcf){const _0x27a0a8=_0x413924;let _0x172d1f=new Date(_0x194b4e);return Date[_0x27a0a8(0x1ee)](_0x172d1f[_0x27a0a8(0x30e)]()+_0x589bcf,0x0,0x1);}function Pi(_0x35baf8){const _0x34f714=_0x413924;let _0x1e318f=new Date(_0x35baf8);return _0x1e318f[_0x34f714(0x1bd)](_0x34f714(0x2c8),{'month':'short','timeZone':_0x34f714(0x1ee)})+'\x20'+_0x1e318f[_0x34f714(0x30e)]();}function Fi(_0x283b37,_0x2d555d){const _0x1ae4db=_0x413924;if(_0x283b37==null&&_0x2d555d==null)return 0x0;if(_0x283b37==null)return-0x1;if(_0x2d555d==null)return 0x1;if(typeof _0x283b37==_0x1ae4db(0x4d9)||typeof _0x2d555d=='boolean')return Number(_0x283b37===!0x0)-Number(_0x2d555d===!0x0);let _0x2958da=Number(_0x283b37),_0x4a4fab=Number(_0x2d555d),_0x35b430=Number[_0x1ae4db(0x479)](_0x2958da),_0x4e4a7a=Number[_0x1ae4db(0x479)](_0x4a4fab);return _0x35b430&&_0x4e4a7a?_0x2958da-_0x4a4fab:_0x35b430?0x1:_0x4e4a7a?-0x1:String(_0x283b37)[_0x1ae4db(0x4ce)](String(_0x2d555d));}function Ii(_0x172111){const _0x58a7ce=_0x413924;if(_0x172111[_0x58a7ce(0x129)]!=='is'&&_0x172111[_0x58a7ce(0x129)]!==_0x58a7ce(0x2bc))return!0x1;let _0x3ba03a=_0x172111[_0x58a7ce(0x2ac)];return _0x3ba03a==null?!0x0:typeof _0x3ba03a=='string'?_0x3ba03a[_0x58a7ce(0x401)]()==='':Array[_0x58a7ce(0x348)](_0x3ba03a)?_0x3ba03a[_0x58a7ce(0x4be)]===0x0:!0x1;}function Li(_0x15ae06,_0x30659a){const _0x22da73=_0x413924;var _0x4920cb;let _0x4ab988=Array[_0x22da73(0x348)]((_0x4920cb=_0x15ae06[_0x22da73(0x406)])==null?void 0x0:_0x4920cb['options'])?_0x15ae06[_0x22da73(0x406)][_0x22da73(0x1ed)]:[];for(let _0x4ec71a of _0x4ab988){if(_0x4ec71a==null)continue;if(typeof _0x4ec71a==_0x22da73(0x3f0)){if(_0x4ec71a===_0x30659a)return{'id':_0x4ec71a,'name':_0x4ec71a};continue;}let _0x303b95=_0x4ec71a,_0x3968b6=String(_0x303b95['id']??_0x303b95[_0x22da73(0x1f9)]??''),_0x28fef4=String(_0x303b95[_0x22da73(0x1f9)]??_0x303b95['id']??_0x3968b6);if(_0x3968b6===_0x30659a||_0x28fef4===_0x30659a)return{'id':_0x3968b6,'name':_0x28fef4,'color':_0x303b95['color']==null?void 0x0:String(_0x303b95[_0x22da73(0x388)])};}return null;}let Ri=function(_0x1294aa){const _0x56e79f=_0x413924;return _0x1294aa[_0x56e79f(0x210)]='create-view',_0x1294aa['DeleteView']='delete-view',_0x1294aa;}({});const Q={'id':_0x413924(0x15e),'type':_0x3abf95['MUTATION'],'handler'(_0x1c1c48,_0x4fb0d1){const _0x5e99e7=_0x413924;let {unitId:_0x19e004,op:_0x3972af}=_0x4fb0d1,_0x2c0546=_0x1c1c48[_0x5e99e7(0x113)](_0x4de172)[_0x5e99e7(0x365)](_0x19e004,_0x1a4689[_0x5e99e7(0x413)]);if(!_0x2c0546)return!0x1;let _0x24e823=_0x2c0546['getSnapshot'](),_0x8da916=new z(),_0x27201f=_0x8da916[_0x5e99e7(0x3a3)](_0x3972af),_0x2b8596=_0x8da916[_0x5e99e7(0x2f2)](_0x24e823,_0x3972af);return _0x2c0546[_0x5e99e7(0x11b)](_0x2b8596),zi(_0x2b8596,_0x27201f,_0x1c1c48['get'](ii)),!0x0;}};function zi(_0x201eb3,_0x2b9b98,_0xacb6be){const _0x460118=_0x413924;let _0x283977=new Set(),_0x18b2f5=new Set(),_0x4abbf0=new Set();for(let _0x4964be of _0x2b9b98){if(_0x4964be[_0x460118(0x24f)]===_0x460118(0x1e0)&&_0x4964be[_0x460118(0x2ca)]&&_0x4964be['viewId']){let _0x192c81=_0x4964be[_0x460118(0x2ca)]+'\x00'+_0x4964be['viewId'];_0x4abbf0[_0x460118(0x3cf)](_0x192c81)||(_0x4abbf0[_0x460118(0x4c2)](_0x192c81),_0xacb6be[_0x460118(0x31d)](_0x4964be['tableId'],_0x4964be[_0x460118(0x297)]));continue;}if(_0x4964be[_0x460118(0x24f)]==='field'&&_0x4964be[_0x460118(0x2ca)]&&_0x4964be[_0x460118(0x1c3)]){let _0x2f61f8=_0x4964be[_0x460118(0x2ca)]+'\x00'+_0x4964be[_0x460118(0x1c3)];_0x18b2f5[_0x460118(0x3cf)](_0x2f61f8)||(_0x18b2f5[_0x460118(0x4c2)](_0x2f61f8),_0xacb6be[_0x460118(0x369)](_0x4964be[_0x460118(0x2ca)],_0x4964be[_0x460118(0x1c3)]));continue;}if(_0x4964be['reason']!==_0x460118(0x3c4)){_0xacb6be[_0x460118(0x362)]();return;}let _0x47bf19=Bi(_0x201eb3,_0x4964be);if(!_0x47bf19){_0xacb6be[_0x460118(0x362)]();return;}let _0x1d85c4=_0x47bf19[_0x460118(0x2ca)]+'\x00'+_0x47bf19['recordId']+'\x00'+_0x47bf19['fieldId'];_0x283977[_0x460118(0x3cf)](_0x1d85c4)||(_0x283977[_0x460118(0x4c2)](_0x1d85c4),_0xacb6be['invalidateByCell'](_0x47bf19[_0x460118(0x2ca)],_0x47bf19[_0x460118(0x170)],_0x47bf19[_0x460118(0x1c3)]));}}function Bi(_0x34c660,_0x195e83){const _0x1ee8a=_0x413924;var _0x2aa53b,_0x115c12;if(!_0x195e83[_0x1ee8a(0x2ca)])return null;if(_0x195e83[_0x1ee8a(0x170)]&&_0x195e83[_0x1ee8a(0x1c3)])return{'tableId':_0x195e83[_0x1ee8a(0x2ca)],'recordId':_0x195e83[_0x1ee8a(0x170)],'fieldId':_0x195e83[_0x1ee8a(0x1c3)]};if(_0x195e83['row']==null||_0x195e83['column']==null)return null;let _0x10a199=_0x34c660['tables'][_0x195e83[_0x1ee8a(0x2ca)]],_0x454555=_0x10a199==null||(_0x2aa53b=_0x10a199['rowId'])==null?void 0x0:_0x2aa53b[_0x195e83[_0x1ee8a(0x47c)]],_0x253b0d=_0x10a199==null||(_0x115c12=_0x10a199[_0x1ee8a(0x16c)])==null?void 0x0:_0x115c12[_0x195e83['column']];return!_0x454555||!_0x253b0d?null:{'tableId':_0x195e83[_0x1ee8a(0x2ca)],'recordId':_0x454555,'fieldId':_0x253b0d};}const Vi=_0x5d97c4[_0x413924(0x1cb)](String[_0x413924(0x3fb)]`(?:^|\W)\$?[A-Z]{1,3}\$?\d+(?::\$?[A-Z]{1,3}\$?\d+)?(?:$|\W)`),Hi=_0x5d97c4[_0x413924(0x1cb)](String[_0x413924(0x3fb)]`(?:'\[[^\]]+\](?:[^']|'')+'|\[[^\]]+\][^\s'!]+)!\$?[A-Z]{1,3}\$?\d+(?::\$?[A-Z]{1,3}\$?\d+)?`,'gi'),Ui=/\{([^}]+)\}/g,Wi=_0x5d97c4[_0x413924(0x1cb)](String['raw']`\b([A-Z_][\w.]*)\[\[\s*#(This Row|Data)\s*\],\s*\[([^\]]+)\]\]`,'gi'),Gi=_0x5d97c4[_0x413924(0x1cb)](String[_0x413924(0x3fb)]`\b([A-Z_][\w.]*)\[@\[([^\]]+)\]\]`,'gi'),Ki=_0x5d97c4['createRegExpFromSafeFragment'](String[_0x413924(0x3fb)]`\b([A-Z_][\w.]*)\[([^\[\]#]+)\]`,'gi'),qi=_0x5d97c4['createRegExpFromSafeFragment'](String['raw']`(^|[^\w\[])\[\[\s*#(This Row|Data)\s*\],\s*\[([^\]]+)\]\]`,'gi'),Ji=_0x5d97c4[_0x413924(0x1cb)](String[_0x413924(0x3fb)]`(^|[^\w\[])\[@\[([^\]]+)\]\](?!\])`,'g'),Yi=_0x5d97c4[_0x413924(0x1cb)](String[_0x413924(0x3fb)]`(^|[^\w\[])\[@?([^\[\]#]+)\](?!\])`,'g');var Xi=class{[_0x413924(0x424)](_0x11d54d,_0x5a1574=_0x11d54d['id']){const _0x20f7b9=_0x413924;var _0x4f94ad;let _0x458db9=((_0x4f94ad=_0x11d54d['recordOrder'])==null?void 0x0:_0x4f94ad[_0x20f7b9(0x4be)])??Object[_0x20f7b9(0x4ae)](_0x11d54d[_0x20f7b9(0x3b4)])[_0x20f7b9(0x4be)];return{'sheetId':_0x5a1574,'titleMap':new Map(_0x11d54d[_0x20f7b9(0x3fc)][_0x20f7b9(0x438)]((_0x812aa0,_0x3cfc41)=>{var _0x3e007d;return[((_0x3e007d=_0x11d54d['fields'][_0x812aa0])==null?void 0x0:_0x3e007d['name'])??_0x812aa0,_0x3cfc41];})),'range':{'startRow':0x0,'endRow':Math[_0x20f7b9(0x487)](0x0,_0x458db9-0x1),'startColumn':0x0,'endColumn':Math[_0x20f7b9(0x487)](0x0,_0x11d54d[_0x20f7b9(0x3fc)][_0x20f7b9(0x4be)]-0x1)},'showHeader':!0x1};}[_0x413924(0x158)](_0x3b07ed,_0x275837){const _0x240f18=_0x413924;let _0x138d0f=[],_0x3f6b61=_0x275837?new Set(_0x275837):null,_0x32b00e=_0x429055(_0x3b07ed);return Object[_0x240f18(0x4ae)](_0x3b07ed['tables'])['filter'](_0x22ffa9=>!_0x3f6b61||_0x3f6b61[_0x240f18(0x3cf)](_0x22ffa9['id']))[_0x240f18(0x248)](_0x2e6997=>{const _0x1d6470=_0x240f18;let _0x7f960d=this[_0x1d6470(0x424)](_0x2e6997,_0x2e6997['id']);_0x138d0f[_0x1d6470(0x34c)]({'tableId':_0x2e6997['id'],'tableName':_0x32b00e['get'](_0x2e6997['id']),'reference':_0x7f960d});}),_0x138d0f;}['validateFormula'](_0x3710d7,_0x1601d1,_0x2b1f17={}){const _0x1a530c=_0x413924;let _0x141326=_0x3710d7[_0x1a530c(0x401)]();if(!_0x141326)return{'valid':!0x0};if(na(_0x141326))return{'valid':!0x1,'reason':_0x1a530c(0x490)};let _0x585b63=_0x2b1f17['snapshot']?_0x429055(_0x2b1f17[_0x1a530c(0x357)]):void 0x0;for(let _0x5a1276 of ta(_0x141326)){let _0x49f4f2=ua(_0x5a1276,_0x1601d1,_0x2b1f17['snapshot'],_0x585b63);if(!_0x49f4f2[_0x1a530c(0x246)])return{'valid':!0x1,'reason':_0x1a530c(0x163)+_0x5a1276[_0x1a530c(0x13e)]+_0x1a530c(0x1bf)};if(!_0x49f4f2['field'])return{'valid':!0x1,'reason':_0x1a530c(0x1c9)+_0x5a1276[_0x1a530c(0x292)]+_0x1a530c(0x2b2)};}return{'valid':!0x0};}[_0x413924(0x28f)](_0x4270db,_0x98a4fd,_0x276940={}){const _0x5f5c92=_0x413924;let _0x26fa96=new Set();for(let _0xb7a8a7 of this['getStructuredDependencies'](_0x4270db,_0x98a4fd,_0x276940))_0xb7a8a7[_0x5f5c92(0x2ca)]===_0x98a4fd['id']&&_0x26fa96[_0x5f5c92(0x4c2)](_0xb7a8a7[_0x5f5c92(0x1c3)]);return Array['from'](_0x26fa96);}['getStructuredDependencies'](_0x61aa8c,_0xc0c116,_0x408976={}){const _0xfa0e17=_0x413924;let _0x456fdd=new Map(),_0x4027c5=_0x408976[_0xfa0e17(0x357)]?_0x429055(_0x408976[_0xfa0e17(0x357)]):void 0x0;for(let _0x235e92 of ta(_0x61aa8c)){let _0x257114=ua(_0x235e92,_0xc0c116,_0x408976[_0xfa0e17(0x357)],_0x4027c5);if(!_0x257114[_0xfa0e17(0x246)]||!_0x257114[_0xfa0e17(0x2b7)])continue;let _0x569fab=_0x257114[_0xfa0e17(0x246)]['id']+'\x1f'+_0x257114[_0xfa0e17(0x2b7)]['id'];_0x456fdd[_0xfa0e17(0x404)](_0x569fab,{'tableId':_0x257114[_0xfa0e17(0x246)]['id'],'fieldId':_0x257114['field']['id']});}return Array[_0xfa0e17(0x2f6)](_0x456fdd[_0xfa0e17(0x4ae)]());}};function Zi(_0x5b7849,_0x2c5ba8){const _0x552e90=_0x413924;var _0xf5a4e7;let _0x4e7799=[],_0x17d9ae=(_0xf5a4e7=_0x2c5ba8[_0x552e90(0x1d4)])==null?void 0x0:_0xf5a4e7[_0x5b7849['id']];return _0x17d9ae&&Object[_0x552e90(0x391)](_0x17d9ae)[_0x552e90(0x248)](([_0x5e01e0,_0x543a1f])=>{const _0x570802=_0x552e90;let _0x5187d7=_0x5b7849['tables'][_0x5e01e0];if(!_0x5187d7||!_0x543a1f)return;let _0x507e55=L(_0x5187d7),_0xff1984=[];new _0x105ad6(_0x543a1f)[_0x570802(0x271)]((_0x3f9dbd,_0x5a71f8,_0x3a352c)=>{const _0x5c8b19=_0x570802;let _0x11904e=Qi(_0x507e55,_0x3f9dbd,_0x5a71f8,_0x3a352c);_0x11904e&&_0xff1984[_0x5c8b19(0x34c)](_0x11904e);}),_0xff1984['length']&&_0x4e7799[_0x570802(0x34c)]({'unitId':_0x5b7849['id'],'tableId':_0x5e01e0,'patches':_0xff1984});}),_0x4e7799;}function Qi(_0x50668d,_0x1238e5,_0x394176,_0x3e25ae){const _0x42fe62=_0x413924;var _0x36fc81,_0x2b064c,_0x215d8e;let _0x34b3e1=(_0x36fc81=_0x50668d[_0x42fe62(0x3ce)])==null?void 0x0:_0x36fc81[_0x1238e5],_0x1e2009=(_0x2b064c=_0x50668d[_0x42fe62(0x16c)])==null?void 0x0:_0x2b064c[_0x394176];if(!_0x34b3e1||!_0x50668d[_0x42fe62(0x3b4)][_0x34b3e1]||!_0x1e2009)return null;let _0x5a39c8=_0x50668d['fields'][_0x1e2009];if(!_0x5a39c8||_0x5a39c8[_0x42fe62(0x378)]!==_0x42fe62(0x49b))return null;let _0x4f5bc5=String(((_0x215d8e=_0x5a39c8[_0x42fe62(0x406)])==null?void 0x0:_0x215d8e[_0x42fe62(0x49b)])??'')[_0x42fe62(0x401)](),_0x439a6d=(_0x3e25ae==null?void 0x0:_0x3e25ae['v'])??null,_0x4460d4={'v':_0x439a6d,'t':ea(_0x439a6d),..._0x1238e5===0x0&&_0x4f5bc5?{'f':_0x4f5bc5}:{},'si':_0x5a39c8['id']};return $i(vt(_0x50668d,_0x34b3e1,_0x1e2009),_0x4460d4)?null:{'row':_0x1238e5,'col':_0x394176,'value':_0x4460d4};}function $i(_0x2ea044,_0x21a4fd){return _0x2ea044!=null&&Object['is'](_0x2ea044['v']??null,_0x21a4fd['v']??null)&&_0x2ea044['t']===_0x21a4fd['t']&&_0x2ea044['f']===_0x21a4fd['f']&&_0x2ea044['si']===_0x21a4fd['si'];}function ea(_0x15f3b0){const _0x6d2f3=_0x413924;return typeof _0x15f3b0==_0x6d2f3(0x42c)?_0x1b3c74[_0x6d2f3(0x377)]:typeof _0x15f3b0==_0x6d2f3(0x4d9)?_0x1b3c74[_0x6d2f3(0x4af)]:typeof _0x15f3b0==_0x6d2f3(0x3f0)?_0x1b3c74[_0x6d2f3(0x187)]:null;}function ta(_0x57a324){const _0x23109f=_0x413924;let _0x184211=ia(_0x57a324,()=>''),_0x1468b5=new Map(),_0x243c95=_0xf410=>{const _0x91279b=_0x5866;_0x1468b5['set']((_0xf410['tableName']??'')+'\x1f'+_0xf410[_0x91279b(0x292)],_0xf410);};for(let _0x4f20e9 of _0x184211[_0x23109f(0x13d)](Ui))_0x243c95({'fieldName':_0x4f20e9[0x1],'scope':_0x23109f(0x337)});_0x184211=_0x184211[_0x23109f(0x4c0)](Wi,(_0x4c6e4d,_0x3bcb7e,_0x41c791,_0x5e9832)=>(_0x243c95({'tableName':_0x3bcb7e,'fieldName':_0x5e9832,'scope':_0x41c791[_0x23109f(0x358)]()===_0x23109f(0x463)?_0x23109f(0x463):_0x23109f(0x337)}),'\x20')),_0x184211=_0x184211[_0x23109f(0x4c0)](Gi,(_0x4aeb18,_0x2f3f23,_0x155d02)=>(_0x243c95({'tableName':_0x2f3f23,'fieldName':_0x155d02,'scope':_0x23109f(0x337)}),'\x20')),_0x184211=_0x184211['replace'](qi,(_0x18a19e,_0x1d69ed,_0x1fc498,_0x2c9963)=>(_0x243c95({'fieldName':_0x2c9963,'scope':_0x1fc498[_0x23109f(0x358)]()===_0x23109f(0x463)?_0x23109f(0x463):_0x23109f(0x337)}),_0x1d69ed+'\x20')),_0x184211=_0x184211[_0x23109f(0x4c0)](Ji,(_0x140c0e,_0x4182b9,_0x168aa0)=>(_0x243c95({'fieldName':_0x168aa0,'scope':_0x23109f(0x337)}),_0x4182b9+'\x20'));for(let _0x6e4fa1 of _0x184211[_0x23109f(0x13d)](Ki))_0x243c95({'tableName':_0x6e4fa1[0x1],'fieldName':_0x6e4fa1[0x2]});for(let _0x21f8d0 of _0x184211[_0x23109f(0x13d)](Yi))_0x243c95({'fieldName':_0x21f8d0[0x2],'scope':_0x23109f(0x337)});return Array['from'](_0x1468b5[_0x23109f(0x4ae)]());}function na(_0xb42075){const _0x5c12e6=_0x413924;let _0x3b7f61=ia(_0xb42075,()=>'\x20')[_0x5c12e6(0x4c0)](Ui,'\x20')[_0x5c12e6(0x4c0)](Wi,'\x20')[_0x5c12e6(0x4c0)](Gi,'\x20')[_0x5c12e6(0x4c0)](qi,_0x5c12e6(0x3ea))[_0x5c12e6(0x4c0)](Ji,_0x5c12e6(0x3ea))[_0x5c12e6(0x4c0)](Ki,'\x20')[_0x5c12e6(0x4c0)](Yi,_0x5c12e6(0x3ea));return Vi['test'](_0x3b7f61);}function ra(_0x2674d4,_0x44ae58){return ca(oa(_0x2674d4,_0x44ae58),_0x44ae58);}function ia(_0x45ff37,_0x598f73){return aa(ra(_0x45ff37,_0x598f73),_0x598f73);}function aa(_0x3d0b55,_0x463078){const _0x13abd1=_0x413924;return _0x3d0b55[_0x13abd1(0x4c0)](/"(?:""|[^"])*"/g,_0x463078);}function oa(_0x3cf0c9,_0x3061a5){const _0x2f087c=_0x413924;return Hi[_0x2f087c(0x1ff)]=0x0,_0x3cf0c9[_0x2f087c(0x4c0)](Hi,(_0x238375,_0x145d5f)=>la(_0x3cf0c9,_0x145d5f)?_0x238375:_0x3061a5(_0x238375));}const sa=/(?:'((?:[^']|'')+)'|\[[^\]]+\]|[A-Za-z0-9_.-]+)![^\s!\[\]]+\[/g;function ca(_0x2f1627,_0x26c466){const _0xe5fb8f=_0x413924;let _0x5604b2=[];for(sa[_0xe5fb8f(0x1ff)]=0x0;;){let _0x4977a8=sa['exec'](_0x2f1627);if(_0x4977a8==null)break;if(la(_0x2f1627,_0x4977a8[_0xe5fb8f(0x319)]))continue;let _0x46956d=sa[_0xe5fb8f(0x1ff)]-0x1,_0x148570=0x0;for(let _0x45da3c=_0x46956d;_0x45da3c<_0x2f1627['length'];_0x45da3c++)if(_0x2f1627[_0x45da3c]==='['&&_0x148570++,_0x2f1627[_0x45da3c]===']'&&(_0x148570--,_0x148570===0x0)){_0x5604b2[_0xe5fb8f(0x34c)]({'start':_0x4977a8[_0xe5fb8f(0x319)],'end':_0x45da3c+0x1}),sa[_0xe5fb8f(0x1ff)]=_0x45da3c+0x1;break;}}if(_0x5604b2[_0xe5fb8f(0x4be)]===0x0)return _0x2f1627;let _0xddbb3e='',_0x2fe608=0x0;for(let _0x1ec2d4 of _0x5604b2)_0xddbb3e+=_0x2f1627['slice'](_0x2fe608,_0x1ec2d4[_0xe5fb8f(0x166)]),_0xddbb3e+=_0x26c466(_0x2f1627[_0xe5fb8f(0x3a7)](_0x1ec2d4['start'],_0x1ec2d4[_0xe5fb8f(0x3c0)])),_0x2fe608=_0x1ec2d4[_0xe5fb8f(0x3c0)];return _0xddbb3e+_0x2f1627['slice'](_0x2fe608);}function la(_0xa5be85,_0x2f4c67){let _0x88c764=!0x1;for(let _0x193f1f=0x0;_0x193f1f<_0x2f4c67;_0x193f1f++)if(_0xa5be85[_0x193f1f]==='\x22'){if(_0x88c764&&_0xa5be85[_0x193f1f+0x1]==='\x22'){_0x193f1f++;continue;}_0x88c764=!_0x88c764;}return _0x88c764;}function ua(_0x5daf9b,_0x2148a6,_0x101c0d,_0x392e25){const _0x2265ac=_0x413924;let _0x3175cf=da(_0x5daf9b[_0x2265ac(0x13e)],_0x2148a6,_0x101c0d,_0x392e25);return{'table':_0x3175cf,'field':_0x3175cf?Object['values'](_0x3175cf[_0x2265ac(0x175)])[_0x2265ac(0x196)](_0x3d248d=>_0x3d248d[_0x2265ac(0x1f9)]===_0x5daf9b[_0x2265ac(0x292)]):void 0x0};}function da(_0x23d493,_0xd350be,_0x249ec5,_0x2e3967){const _0xd2ffa0=_0x413924;if(!_0x23d493)return _0xd350be;if(!_0x249ec5){var _0x29b2f9;let _0x533bfb=_0x23d493[_0xd2ffa0(0x358)]();return _0x533bfb===_0xd350be['id'][_0xd2ffa0(0x358)]()||_0x533bfb===_0xd350be[_0xd2ffa0(0x1f9)][_0xd2ffa0(0x358)]()||_0x533bfb===((_0x29b2f9=_0xd350be[_0xd2ffa0(0x150)])==null?void 0x0:_0x29b2f9[_0xd2ffa0(0x358)]())?_0xd350be:void 0x0;}let _0x7ea333=_0x23d493[_0xd2ffa0(0x358)](),_0x27e35c=_0x2e3967??_0x429055(_0x249ec5),_0x14ea3a=Object[_0xd2ffa0(0x4ae)](_0x249ec5[_0xd2ffa0(0x28d)])[_0xd2ffa0(0x457)](_0x4e6b9e=>{const _0x1617de=_0xd2ffa0;var _0x18e579;return _0x4e6b9e['id'][_0x1617de(0x358)]()===_0x7ea333||_0x4e6b9e['name'][_0x1617de(0x358)]()===_0x7ea333||((_0x18e579=_0x27e35c[_0x1617de(0x113)](_0x4e6b9e['id']))==null?void 0x0:_0x18e579[_0x1617de(0x358)]())===_0x7ea333||fa(_0x4e6b9e['id'])['toLowerCase']()===_0x7ea333;});return _0x14ea3a[_0xd2ffa0(0x4be)]===0x1?_0x14ea3a[0x0]:void 0x0;}function fa(_0x52ed3b){const _0x459cd4=_0x413924;return'_T_'+Array[_0x459cd4(0x2f6)](_0x52ed3b,_0x4cd1de=>{const _0x572097=_0x459cd4;var _0x41e22c;return/[A-Za-z0-9]/[_0x572097(0x114)](_0x4cd1de)?_0x4cd1de:'_x'+(((_0x41e22c=_0x4cd1de[_0x572097(0x12f)](0x0))==null?void 0x0:_0x41e22c[_0x572097(0x43f)](0x10))??'0')+'_';})['join']('');}const pa=new Xi();function ma(_0x48be92,_0x1d25f8,_0x5e50ec){const _0x4edb40=_0x413924;var _0x170129;if(_0x5e50ec[_0x4edb40(0x378)]!==_0x39ba8f[_0x4edb40(0x1fa)])return!0x0;let _0x5acdad=String(((_0x170129=_0x5e50ec[_0x4edb40(0x406)])==null?void 0x0:_0x170129[_0x4edb40(0x49b)])??''),_0x1125c0=_0x48be92[_0x4edb40(0x460)]();return pa[_0x4edb40(0x294)](_0x5acdad,_0x1125c0[_0x4edb40(0x28d)][_0x1d25f8],{'snapshot':_0x1125c0})[_0x4edb40(0x3e2)];}function $(_0x2430c2,_0x48d4f0,_0xc47adb){const _0x120c16=_0x413924;let _0x3655a2=_0x2430c2['getSnapshot']()[_0x120c16(0x28d)][_0x48d4f0];if(!_0x3655a2)return!0x1;let {viewIds:_0x5c5448,fieldIds:_0x29584e,recordIds:_0x45996a}=_0xc47adb||{};if(_0x5c5448){for(let _0x326db9 of _0x5c5448)if(!_0x3655a2['views'][_0x326db9])return!0x1;}if(_0x29584e){for(let _0x3f0eec of _0x29584e)if(!_0x3655a2[_0x120c16(0x175)][_0x3f0eec])return!0x1;}if(_0x45996a){for(let _0x8ae4f4 of _0x45996a)if(!_0x3655a2[_0x120c16(0x3b4)][_0x8ae4f4])return!0x1;}return!0x0;}function ha(_0x1f03a9,_0x1b025c,_0x35bed1){const _0x332ac4=_0x413924;if(_0x35bed1['id']===_0x3f46af||_0x35bed1[_0x332ac4(0x378)]===_0x39ba8f[_0x332ac4(0x216)]||_0x5c3099(_0x35bed1[_0x332ac4(0x1f9)])||!ma(_0x1f03a9,_0x1b025c,_0x35bed1))return!0x1;let _0x1c7210=_0x1f03a9[_0x332ac4(0x460)]();if(!Be(_0x1c7210,_0x35bed1)[_0x332ac4(0x3e2)])return!0x1;if(_0x35bed1[_0x332ac4(0x378)]!==_0x39ba8f[_0x332ac4(0x1e4)])return!0x0;let _0x2657b1=N(_0x35bed1);if(!_0x2657b1)return!0x1;if(_0x2657b1[_0x332ac4(0x455)]===void 0x0)return!0x0;if(_0x2657b1['relationRole']!==_0x169931[_0x332ac4(0x4d6)]||_0x2657b1[_0x332ac4(0x4a8)]!==_0x1b025c||_0x2657b1['multiple']!==!0x1)return!0x1;let _0xf6e499=_0x1c7210[_0x332ac4(0x28d)][_0x1b025c];return!Object[_0x332ac4(0x4ae)](_0xf6e499[_0x332ac4(0x175)])[_0x332ac4(0x2e3)](_0x49ba1b=>{const _0x4d3f99=_0x332ac4;var _0x243d71;return _0x49ba1b['id']!==_0x35bed1['id']&&_0x49ba1b[_0x4d3f99(0x378)]===_0x39ba8f['RecordLink']&&((_0x243d71=N(_0x49ba1b))==null?void 0x0:_0x243d71[_0x4d3f99(0x455)])===_0x169931['Parent'];});}function ga(_0x15f273,_0x369d5f,_0x21f870,_0x1d3cf1){const _0x44d2b0=_0x413924;var _0x477d5c;let _0x5ef28f=_0x15f273[_0x44d2b0(0x460)](),_0x559db6=(_0x477d5c=_0x5ef28f[_0x44d2b0(0x28d)][_0x369d5f])==null?void 0x0:_0x477d5c[_0x44d2b0(0x175)][_0x21f870];return!_0x559db6||_0x559db6['id']===_0x3f46af||_0x559db6['type']===_0x39ba8f[_0x44d2b0(0x216)]?!0x1:_0x559db6[_0x44d2b0(0x378)]!==_0x39ba8f[_0x44d2b0(0x1e4)]||Ve(_0x5ef28f,_0x559db6,ya(_0x1d3cf1))[_0x44d2b0(0x3e2)];}function _a(_0xbaeb01,_0x421fc9,_0x481782){const _0x4ba9ae=_0x413924;let _0x55fab8=_0xbaeb01[_0x4ba9ae(0x460)]()[_0x4ba9ae(0x28d)][_0x421fc9];return!_0x55fab8||!_0x3de20b(_0x481782['id'])||_0x55fab8[_0x4ba9ae(0x3b4)][_0x481782['id']]||Object[_0x4ba9ae(0x24b)]['hasOwnProperty'][_0x4ba9ae(0x157)](_0x481782[_0x4ba9ae(0x4ae)],_0x3f46af)&&_0x481782[_0x4ba9ae(0x4ae)][_0x3f46af]!==_0x481782['id']?!0x1:Object['entries'](_0x481782['values'])['every'](([_0x8ac32b,_0x4f84b5])=>_0x8ac32b===_0x3f46af||ga(_0xbaeb01,_0x421fc9,_0x8ac32b,_0x4f84b5));}function va(_0x172506){const _0x48f8d3=_0x413924;return{..._0x172506,'values':{..._0x172506[_0x48f8d3(0x4ae)],[_0x3f46af]:_0x172506['id']}};}function ya(_0xf4a77c){const _0x477da6=_0x413924;if(_0xf4a77c&&typeof _0xf4a77c==_0x477da6(0x441)&&!Array[_0x477da6(0x348)](_0xf4a77c)&&'v'in _0xf4a77c){let _0x28b272=_0xf4a77c['v'];return _0x28b272===void 0x0?null:_0x28b272;}return _0xf4a77c;}function ba(_0x5073b1,_0x3c2a58,_0x134aa1,_0x5e6a93){const _0x51c8d3=_0x413924;let _0x3da3ba=_0x5073b1[_0x51c8d3(0x460)]()[_0x51c8d3(0x28d)][_0x3c2a58];if(!_0x3da3ba)return null;let _0x2132e1=qe(_0x3da3ba),_0x33fcfb=_0x2132e1??Je(_0x3da3ba),_0x49dab7=_0x134aa1[_0x51c8d3(0x2e3)](_0x2c33d2=>Object[_0x51c8d3(0x24b)][_0x51c8d3(0x128)][_0x51c8d3(0x157)](_0x2c33d2['values'],_0x33fcfb)),_0x27e34e=_0x2132e1?_0x3da3ba[_0x51c8d3(0x175)][_0x2132e1]:_0x49dab7?Ye(_0x3da3ba,_0x33fcfb,_0x5e6a93):null,_0x3a64e8=[];for(let _0x5b9210 of _0x134aa1){let _0x5e39c8=_0x5b9210['values'][_0x33fcfb],_0x3ee8a3=_0x27e34e!==null&&Object[_0x51c8d3(0x24b)][_0x51c8d3(0x128)][_0x51c8d3(0x157)](_0x5b9210['values'],_0x33fcfb),_0x5d88ed=ya(_0x5e39c8),_0x41c38c=null;if(_0x3ee8a3){if(typeof _0x5d88ed!='string'||!ze(_0x5d88ed,!0x1)[_0x51c8d3(0x3e2)])return null;_0x41c38c=_0x5d88ed;}let _0x521c2a={};if(Object[_0x51c8d3(0x391)](_0x5b9210[_0x51c8d3(0x4ae)])[_0x51c8d3(0x248)](([_0x1e5e17,_0x479dfa])=>{(!_0x3ee8a3||_0x1e5e17!==_0x33fcfb)&&(_0x521c2a[_0x1e5e17]=_0x479dfa);}),!_a(_0x5073b1,_0x3c2a58,{..._0x5b9210,'values':_0x521c2a}))return null;let _0x2e2e70={..._0x5b9210[_0x51c8d3(0x4ae)]};_0x41c38c!==null&&(_0x2e2e70[_0x33fcfb]=_0x41c38c),_0x3a64e8[_0x51c8d3(0x34c)](va({..._0x5b9210,'values':_0x2e2e70}));}return{'records':_0x3a64e8,'hierarchyFieldToMaterialize':_0x2132e1?null:_0x27e34e,'hierarchyChanges':Qe(_0x3da3ba,_0x3a64e8)};}const xa={'id':_0x413924(0x306),'type':_0x3abf95[_0x413924(0x4ab)],'handler'(_0x44d5ab,_0x4e25b7){const _0x250210=_0x413924;if(!_0x4e25b7)return!0x1;let _0x434517=_0x44d5ab[_0x250210(0x113)](_0x4de172),{unitId:_0x2944c4,tableId:_0x3591cf,records:_0x42c16f}=_0x4e25b7,_0xb51599=_0x434517[_0x250210(0x365)](_0x2944c4,_0x1a4689['UNIVER_BASE']),_0x52afce=_0x42c16f[_0x250210(0x438)](_0x1134e0=>_0x1134e0['id']);if(!_0xb51599||!$(_0xb51599,_0x3591cf)||new Set(_0x52afce)[_0x250210(0x22e)]!==_0x52afce[_0x250210(0x4be)])return!0x1;let _0x5d1144=_0x44d5ab['get'](_0x4c2cb1),_0x2238a0=_0x44d5ab['get'](_0xb7e499),_0x9a21ef=_0x44d5ab[_0x250210(0x113)](Kr),_0x36410f=_0xb51599[_0x250210(0x460)](),_0x5552fa=ba(_0xb51599,_0x3591cf,_0x42c16f);if(!_0x5552fa)return!0x1;let {records:_0x183444,hierarchyChanges:_0x1fa52e,hierarchyFieldToMaterialize:_0x1aaac7}=_0x5552fa,_0x4a0ca5=_0x1aaac7?_0x9a21ef['createCreateFieldOp'](_0xb51599,_0x3591cf,_0x1aaac7,_0x36410f[_0x250210(0x28d)][_0x3591cf]['fieldOrder'][_0x250210(0x4be)]):null,_0x2514ee=_0x9a21ef[_0x250210(0x3c5)](_0xb51599,_0x3591cf,_0x183444),_0x3a1e8b=R([..._0x4a0ca5?[_0x4a0ca5]:[],_0x2514ee]),_0x1a86c3=new z()[_0x250210(0x447)](_0x36410f,_0x3a1e8b),_0x4f5d7d={'unitId':_0x2944c4,'op':_0x3a1e8b,'hierarchyChanges':_0x1fa52e[_0x250210(0x4be)]?_0x1fa52e:void 0x0,'source':_0x1fa52e[_0x250210(0x4be)]?_0x4e25b7[_0x250210(0x18f)]??'ui':void 0x0},_0x501816={..._0x4f5d7d,'source':_0x1fa52e[_0x250210(0x4be)]?_0x250210(0x229):void 0x0},_0x47fb67={'unitId':_0x2944c4,'op':_0x1a86c3,'hierarchyChanges':_0x1fa52e[_0x250210(0x4be)]?_0x1fa52e['map'](_0xc6cd52=>({..._0xc6cd52,'oldParentRecordId':_0xc6cd52[_0x250210(0x3e4)],'parentRecordId':null})):void 0x0,'source':_0x1fa52e[_0x250210(0x4be)]?_0x250210(0x36d):void 0x0};return _0x5d1144[_0x250210(0x328)](Q['id'],_0x4f5d7d)?(_0x434517[_0x250210(0x428)](_0x2944c4),_0x2238a0[_0x250210(0x23f)]({'unitID':_0x2944c4,'undoMutations':[{'id':Q['id'],'params':_0x47fb67}],'redoMutations':[{'id':Q['id'],'params':_0x501816}]}),!0x0):!0x1;}},Sa={'id':_0x413924(0x299),'type':_0x3abf95[_0x413924(0x4ab)],'handler':(_0x395088,_0x407387)=>{const _0x5ac9f3=_0x413924;if(!_0x407387)return!0x1;let _0x419533=_0x395088[_0x5ac9f3(0x113)](_0x4de172),{unitId:_0x4a8c93,tableId:_0x41ed7f,recordIds:_0x4f286a}=_0x407387,_0x493ce7=_0x419533[_0x5ac9f3(0x365)](_0x4a8c93,_0x1a4689[_0x5ac9f3(0x413)]);if(!_0x493ce7||!$(_0x493ce7,_0x41ed7f,{'recordIds':_0x4f286a}))return!0x1;let _0x14cec4=_0x395088[_0x5ac9f3(0x113)](_0x4c2cb1),_0x299404=_0x395088[_0x5ac9f3(0x113)](_0xb7e499),_0x205eda=_0x493ce7[_0x5ac9f3(0x460)](),_0x3a4709=et(_0x205eda[_0x5ac9f3(0x28d)][_0x41ed7f],_0x4f286a),_0x26d816=new W(),_0x1d27b9=new z(),_0x4748f6=_0x26d816[_0x5ac9f3(0x1a3)](_0x205eda,_0x41ed7f,_0x4f286a),_0x2af2eb=_0x1d27b9['applyOp'](_0x205eda,_0x4748f6),_0x152287=_0x26d816[_0x5ac9f3(0x241)](_0x205eda,_0x2af2eb,_0x41ed7f,_0x4f286a),_0x31031a={'unitId':_0x4a8c93,'op':_0x4748f6,'hierarchyChanges':_0x3a4709,'source':_0x407387['source']??'ui'},_0x36a063={..._0x31031a,'source':_0x5ac9f3(0x229)},_0x5eea36={'unitId':_0x4a8c93,'op':_0x152287,'hierarchyChanges':_0x3a4709['map'](_0x1c79ea=>({..._0x1c79ea,'oldParentRecordId':_0x1c79ea[_0x5ac9f3(0x3e4)],'parentRecordId':_0x1c79ea[_0x5ac9f3(0x4da)]})),'source':_0x5ac9f3(0x36d)};return _0x14cec4[_0x5ac9f3(0x328)](Q['id'],_0x31031a)?(_0x419533[_0x5ac9f3(0x428)](_0x4a8c93),_0x299404[_0x5ac9f3(0x23f)]({'unitID':_0x4a8c93,'undoMutations':[{'id':Q['id'],'params':_0x5eea36}],'redoMutations':[{'id':Q['id'],'params':_0x36a063}]}),!0x0):!0x1;}},Ca={'id':_0x413924(0x282),'type':_0x3abf95[_0x413924(0x4ab)],'handler':(_0x4d8155,_0x4f786b)=>{const _0x348781=_0x413924;if(!_0x4f786b)return!0x1;let _0x20d6c3=_0x4d8155[_0x348781(0x113)](_0x4de172),{unitId:_0x254ed8,tableId:_0xedd1ae,fieldId:_0x869d9c,input:_0x1bd74a}=_0x4f786b,_0x58acda=_0x20d6c3['getUnit'](_0x254ed8,_0x1a4689[_0x348781(0x413)]);if(!_0x58acda||_0x869d9c===_0x3f46af||!$(_0x58acda,_0xedd1ae,{'fieldIds':[_0x869d9c]}))return!0x1;let _0x4a2cc1=_0x4d8155[_0x348781(0x113)](_0x4c2cb1),_0x788887=_0x4d8155['get'](_0xb7e499),_0x1f938f=_0x58acda[_0x348781(0x460)]();if(!ha(_0x58acda,_0xedd1ae,{..._0x1f938f[_0x348781(0x28d)][_0xedd1ae][_0x348781(0x175)][_0x869d9c],..._0x1bd74a}))return!0x1;let _0x58c422=new W()[_0x348781(0x15c)](_0x1f938f,_0xedd1ae,_0x869d9c,_0x1bd74a),_0xd14c27=new z()[_0x348781(0x447)](_0x1f938f,_0x58c422),_0x27faef={'unitId':_0x254ed8,'op':_0x58c422},_0x5aa1ab={'unitId':_0x254ed8,'op':_0xd14c27};return _0x4a2cc1[_0x348781(0x328)](Q['id'],_0x27faef)?(_0x20d6c3[_0x348781(0x428)](_0x254ed8),_0x788887[_0x348781(0x23f)]({'unitID':_0x254ed8,'undoMutations':[{'id':Q['id'],'params':_0x5aa1ab}],'redoMutations':[{'id':Q['id'],'params':_0x27faef}]}),!0x0):!0x1;}},wa={'id':_0x413924(0x380),'type':_0x3abf95['COMMAND'],'handler'(_0x5be5a2,_0x194c44){const _0x2ecc6e=_0x413924;var _0x268408;if(!_0x194c44)return!0x1;let {unitId:_0x5cc50f,tableId:_0x4768fd,parentRecordId:_0x3ce601}=_0x194c44,_0x59e484=_0x5be5a2[_0x2ecc6e(0x113)](_0x4de172),_0x40eef7=_0x59e484['getUnit'](_0x5cc50f,_0x1a4689['UNIVER_BASE']);if(!_0x40eef7||!$(_0x40eef7,_0x4768fd,{'recordIds':[_0x3ce601]}))throw new P(_0x2ecc6e(0x3ca));let _0x354137=_0x40eef7[_0x2ecc6e(0x460)](),_0x52d4bc=_0x354137[_0x2ecc6e(0x28d)][_0x4768fd],_0x249bb5=qe(_0x52d4bc),_0x3c62e9=_0x249bb5??_0x194c44[_0x2ecc6e(0x1c3)]??Je(_0x52d4bc);if(_0x249bb5&&_0x194c44[_0x2ecc6e(0x1c3)]&&_0x194c44['fieldId']!==_0x249bb5||_0x52d4bc[_0x2ecc6e(0x175)][_0x3c62e9]&&!F(_0x52d4bc,_0x3c62e9))throw new P(_0x2ecc6e(0x442));if((tt(_0x52d4bc,_0x3c62e9)[_0x2ecc6e(0x1e8)]['get'](_0x3ce601)??0x0)+0x1>=0x5)throw new P(_0x2ecc6e(0x261));if(!_a(_0x40eef7,_0x4768fd,_0x194c44[_0x2ecc6e(0x1cf)]))return!0x1;let _0x46fe83=va({..._0x194c44[_0x2ecc6e(0x1cf)],'values':{..._0x194c44[_0x2ecc6e(0x1cf)][_0x2ecc6e(0x4ae)],[_0x3c62e9]:Re([_0x3ce601])}}),_0x2ac050=_0x5be5a2[_0x2ecc6e(0x113)](Kr),_0x59d288=new W(),_0x2555d1=_0x52d4bc['fields'][_0x3c62e9],_0x51e63d=_0x2555d1?((_0x268408=N(_0x2555d1))==null?void 0x0:_0x268408['relationRole'])===_0x169931['Parent']?null:_0x59d288[_0x2ecc6e(0x29c)](_0x354137,_0x4768fd,_0x3c62e9,{'config':{..._0x2555d1[_0x2ecc6e(0x406)],'relationRole':_0x169931[_0x2ecc6e(0x4d6)]}}):_0x2ac050['createCreateFieldOp'](_0x40eef7,_0x4768fd,Ye(_0x52d4bc,_0x3c62e9,_0x194c44['parentFieldName']),_0x52d4bc[_0x2ecc6e(0x3fc)][_0x2ecc6e(0x4be)]),_0x143238=_0x2ac050['createCreateRecordOp'](_0x40eef7,_0x4768fd,_0x46fe83),_0x12cfd7=R([..._0x51e63d?[_0x51e63d]:[],_0x143238]),_0x7d1e63=new z()[_0x2ecc6e(0x447)](_0x354137,_0x12cfd7),_0x6d27b1={'tableId':_0x4768fd,'fieldId':_0x3c62e9,'recordId':_0x46fe83['id'],'oldParentRecordId':null,'parentRecordId':_0x3ce601},_0x2b0d95={'unitId':_0x5cc50f,'op':_0x12cfd7,'trigger':wa['id'],'hierarchyChanges':[_0x6d27b1],'source':_0x194c44['source']??'ui'},_0x30f7fb={..._0x2b0d95,'source':'redo'},_0x360d0c={'unitId':_0x5cc50f,'op':_0x7d1e63,'trigger':wa['id'],'hierarchyChanges':[{..._0x6d27b1,'oldParentRecordId':_0x3ce601,'parentRecordId':null}],'source':_0x2ecc6e(0x36d)};return _0x5be5a2[_0x2ecc6e(0x113)](_0x4c2cb1)['syncExecuteCommand'](Q['id'],_0x2b0d95)?(_0x59e484['focusUnit'](_0x5cc50f),_0x5be5a2[_0x2ecc6e(0x113)](_0xb7e499)[_0x2ecc6e(0x23f)]({'unitID':_0x5cc50f,'undoMutations':[{'id':Q['id'],'params':_0x360d0c}],'redoMutations':[{'id':Q['id'],'params':_0x30f7fb}]}),!0x0):!0x1;}},Ta={'id':_0x413924(0x48e),'type':_0x3abf95[_0x413924(0x4ab)],'handler'(_0x21c8e2,_0x17107d){const _0x1bbf05=_0x413924;if(!_0x17107d)return!0x1;let _0x169afa=_0x21c8e2[_0x1bbf05(0x113)](_0x4de172),{unitId:_0x3924ab,tableId:_0x592d0d,field:_0x39a591,index:_0x48353a,viewIndexes:_0x95b64d}=_0x17107d,_0x405901=_0x169afa[_0x1bbf05(0x365)](_0x3924ab,_0x1a4689[_0x1bbf05(0x413)]);if(!_0x405901||!$(_0x405901,_0x592d0d)||_0x405901[_0x1bbf05(0x460)]()[_0x1bbf05(0x28d)][_0x592d0d][_0x1bbf05(0x175)][_0x39a591['id']]||_0x48353a===0x0||!ha(_0x405901,_0x592d0d,_0x39a591))return!0x1;let _0x17d257=_0x21c8e2['get'](_0x4c2cb1),_0x576684=_0x21c8e2[_0x1bbf05(0x113)](_0xb7e499),_0x4f6f40=_0x21c8e2[_0x1bbf05(0x113)](Kr)[_0x1bbf05(0x1f6)](_0x405901,_0x592d0d,_0x39a591,_0x48353a,_0x95b64d),_0xc33a78=new z()[_0x1bbf05(0x447)](_0x405901['getSnapshot'](),_0x4f6f40),_0x46ca4b={'unitId':_0x3924ab,'op':_0x4f6f40},_0x1e6c33={'unitId':_0x3924ab,'op':_0xc33a78};return _0x17d257[_0x1bbf05(0x328)](Q['id'],_0x46ca4b)?(_0x169afa['focusUnit'](_0x3924ab),_0x576684[_0x1bbf05(0x23f)]({'unitID':_0x3924ab,'undoMutations':[{'id':Q['id'],'params':_0x1e6c33}],'redoMutations':[{'id':Q['id'],'params':_0x46ca4b}]}),!0x0):!0x1;}},Ea={'id':_0x413924(0x131),'type':_0x3abf95[_0x413924(0x4ab)],'handler'(_0x55c4cb,_0x17e577){const _0x1518ea=_0x413924;if(!_0x17e577)return!0x1;let _0x20912a=_0x55c4cb[_0x1518ea(0x113)](_0x4de172),{unitId:_0x3ed18c,tableId:_0x1949bb,record:_0x3850ae}=_0x17e577,_0xeece3c=_0x20912a['getUnit'](_0x3ed18c,_0x1a4689[_0x1518ea(0x413)]);if(!_0xeece3c||!$(_0xeece3c,_0x1949bb))return!0x1;let _0x5ed2e4=_0x55c4cb[_0x1518ea(0x113)](_0x4c2cb1),_0x4fd72c=_0x55c4cb[_0x1518ea(0x113)](_0xb7e499),_0x7a4c97=_0x55c4cb['get'](Kr),_0x386dd9=_0xeece3c['getSnapshot'](),_0x10cafa=ba(_0xeece3c,_0x1949bb,[_0x3850ae]);if(!_0x10cafa)return!0x1;let [_0x29a3b0]=_0x10cafa[_0x1518ea(0x3b4)],{hierarchyChanges:_0x339e91,hierarchyFieldToMaterialize:_0x29e14f}=_0x10cafa,_0x3fe584=_0x29e14f?_0x7a4c97[_0x1518ea(0x1f6)](_0xeece3c,_0x1949bb,_0x29e14f,_0x386dd9[_0x1518ea(0x28d)][_0x1949bb][_0x1518ea(0x3fc)][_0x1518ea(0x4be)]):null,_0x3a8641=_0x7a4c97[_0x1518ea(0x466)](_0xeece3c,_0x1949bb,_0x29a3b0),_0x356e19=R([..._0x3fe584?[_0x3fe584]:[],_0x3a8641]),_0x263019=new z()[_0x1518ea(0x447)](_0x386dd9,_0x356e19),_0x415629={'unitId':_0x3ed18c,'op':_0x356e19,'hierarchyChanges':_0x339e91['length']?_0x339e91:void 0x0,'source':_0x339e91[_0x1518ea(0x4be)]?_0x17e577[_0x1518ea(0x18f)]??'ui':void 0x0},_0x369a35={..._0x415629,'source':_0x339e91[_0x1518ea(0x4be)]?_0x1518ea(0x229):void 0x0},_0x592668={'unitId':_0x3ed18c,'op':_0x263019,'hierarchyChanges':_0x339e91[_0x1518ea(0x4be)]?_0x339e91['map'](_0x19edf0=>({..._0x19edf0,'oldParentRecordId':_0x19edf0[_0x1518ea(0x3e4)],'parentRecordId':null})):void 0x0,'source':_0x339e91[_0x1518ea(0x4be)]?'undo':void 0x0};return _0x5ed2e4[_0x1518ea(0x328)](Q['id'],_0x415629)?(_0x20912a[_0x1518ea(0x428)](_0x3ed18c),_0x4fd72c[_0x1518ea(0x23f)]({'unitID':_0x3ed18c,'undoMutations':[{'id':Q['id'],'params':_0x592668}],'redoMutations':[{'id':Q['id'],'params':_0x369a35}]}),!0x0):!0x1;}},Da=_0x413924(0x321);function Oa(_0x2049d8,_0x412a12,_0x27a9e0){const _0x2d12dd=_0x413924;if(!_0x412a12['trim']())return{'valid':!0x1,'reason':_0x2d12dd(0x31e),'error':'required'};if(_0x412a12[_0x2d12dd(0x4be)]>0x1f)return{'valid':!0x1,'reason':_0x2d12dd(0x247),'error':_0x2d12dd(0x498)};if(_0x412a12[_0x2d12dd(0x36e)]('\x27')||_0x412a12['endsWith']('\x27'))return{'valid':!0x1,'reason':_0x2d12dd(0x24e),'error':_0x2d12dd(0x3c8)};if(/[:\\/?*\[\]]/[_0x2d12dd(0x114)](_0x412a12))return{'valid':!0x1,'reason':_0x2d12dd(0x291),'error':'invalid-characters'};if(!_0x3ba1d0(_0x412a12))return{'valid':!0x1,'reason':'Choose\x20another\x20name.','error':'invalid'};let _0x5b6a24=_0x412a12[_0x2d12dd(0x358)]();return Object[_0x2d12dd(0x4ae)](_0x2049d8[_0x2d12dd(0x28d)])[_0x2d12dd(0x2e3)](_0x945fbf=>_0x945fbf['id']!==_0x27a9e0&&_0x945fbf[_0x2d12dd(0x1f9)][_0x2d12dd(0x358)]()===_0x5b6a24)?{'valid':!0x1,'reason':_0x2d12dd(0x45a),'error':'duplicate'}:{'valid':!0x0};}function ka(_0x3d25df,_0x57cc8a){const _0x2958f2=_0x413924;let _0xfdfc38=_0x57cc8a['replace'](/[:\\/?*\[\]]/g,'\x20')[_0x2958f2(0x4c0)](/^'+|'+$/g,'')[_0x2958f2(0x401)]()||_0x2958f2(0x3f1),_0x300bab=0x1;for(;;){let _0x305a39=_0x300bab===0x1?'':'\x20'+_0x300bab,_0x253205=''+_0xfdfc38[_0x2958f2(0x3a7)](0x0,0x1f-_0x305a39[_0x2958f2(0x4be)])+_0x305a39;if(Oa(_0x3d25df,_0x253205)[_0x2958f2(0x3e2)])return _0x253205;_0x300bab++;}}const Aa={'id':_0x413924(0x2e7),'type':_0x3abf95['COMMAND'],'handler':(_0x21f2dd,_0x18a071)=>{const _0x39a02a=_0x413924;if(!_0x18a071)return!0x1;let _0x395366=_0x21f2dd[_0x39a02a(0x113)](_0x4de172),{unitId:_0x24282a,table:_0x494ce9,index:_0x5a17c5}=_0x18a071,_0x2bd9c6=_0x395366[_0x39a02a(0x365)](_0x24282a,_0x1a4689[_0x39a02a(0x413)]);if(!_0x2bd9c6||_0x2bd9c6[_0x39a02a(0x460)]()['tables'][_0x494ce9['id']]||!Oa(_0x2bd9c6[_0x39a02a(0x460)](),_0x494ce9[_0x39a02a(0x1f9)])['valid'])return!0x1;try{_0x5f22f6(_0x494ce9);}catch{return!0x1;}let _0x405f71=_0x21f2dd[_0x39a02a(0x113)](_0x4c2cb1),_0x2b8d84=_0x21f2dd[_0x39a02a(0x113)](_0xb7e499),_0x9787f3=_0x2bd9c6[_0x39a02a(0x460)](),_0x4dd1ce=new W()[_0x39a02a(0x1a4)](_0x9787f3,_0x494ce9,_0x5a17c5),_0x41b99e=new z()[_0x39a02a(0x447)](_0x9787f3,_0x4dd1ce),_0x29b650={'unitId':_0x24282a,'op':_0x4dd1ce},_0x43f9b9={'unitId':_0x24282a,'op':_0x41b99e};return _0x405f71['syncExecuteCommand'](Q['id'],_0x29b650)?(_0x395366['focusUnit'](_0x24282a),_0x2b8d84[_0x39a02a(0x23f)]({'unitID':_0x24282a,'undoMutations':[{'id':Q['id'],'params':_0x43f9b9}],'redoMutations':[{'id':Q['id'],'params':_0x29b650}]}),!0x0):!0x1;}};function ja(_0x4d83bc,_0xfa75b,_0x5db724=[]){const _0x10e9f8=_0x413924;let _0x1128cc=new Set([...Object[_0x10e9f8(0x4ae)](_0x4d83bc[_0x10e9f8(0x175)])[_0x10e9f8(0x457)](_0x9b7f25=>_0x9b7f25)[_0x10e9f8(0x438)](_0x313702=>_0x313702[_0x10e9f8(0x1f9)]),..._0x5db724[_0x10e9f8(0x438)](_0x55a567=>_0x55a567[_0x10e9f8(0x1f9)])]);if(!_0x1128cc[_0x10e9f8(0x3cf)](_0xfa75b))return _0xfa75b;let _0x17ebfc=0x2;for(;_0x1128cc[_0x10e9f8(0x3cf)](_0xfa75b+'\x20'+_0x17ebfc);)_0x17ebfc++;return _0xfa75b+'\x20'+_0x17ebfc;}function Ma(_0xf93260,_0x3203ed){const _0x172253=_0x413924;if(!_0xf93260||!_0x3203ed['length'])return;let _0x511ac5=[..._0xf93260];return _0x3203ed[_0x172253(0x248)](_0x1f6fb8=>{const _0x381494=_0x172253;_0x511ac5[_0x381494(0x35f)](_0x1f6fb8)||_0x511ac5[_0x381494(0x34c)](_0x1f6fb8);}),_0x511ac5;}const Na={'options':[{'id':'todo','name':_0x413924(0x19c),'color':_0x413924(0x3af)},{'id':_0x413924(0x3ed),'name':'Doing','color':_0x413924(0x244)},{'id':_0x413924(0x1b8),'name':_0x413924(0x2ae),'color':'#BBF7D0'}]},Pa={'locale':_0x413924(0x2c8),'pattern':'yyyy/mm/dd','includeTime':!0x1,'hourCycle':_0x413924(0x37b),'defaultMode':'none'};function Fa(_0x17cc29,_0x4d74fb,_0xf3406e,_0x1098cc){const _0x417a8f=_0x413924;var _0x2d372f;let _0x39c457=new W(),_0x160f74=_0x17cc29[_0x417a8f(0x28d)][_0x4d74fb],_0x322307=_0x160f74?{..._0xf3406e,'fieldOrder':[_0x3f46af,...(_0xf3406e[_0x417a8f(0x3fc)]??_0x160f74[_0x417a8f(0x3fc)])[_0x417a8f(0x457)](_0x1bd5e0=>_0x1bd5e0!==_0x3f46af)],'fieldSettings':{..._0xf3406e['fieldSettings'],[_0x3f46af]:{...(_0x2d372f=_0xf3406e['fieldSettings'])==null?void 0x0:_0x2d372f[_0x3f46af],'hidden':!0x0}}}:_0xf3406e;if(_0x160f74&&_0x322307[_0x417a8f(0x378)]==='kanban'){let _0x1ff56a=La(_0x160f74,_0x322307),_0xb8765f=_0x1ff56a[_0x417a8f(0x11e)]?{..._0x322307,'config':_0x1ff56a['config'],'fieldOrder':_0x1ff56a['fieldOrder']??_0x322307['fieldOrder']}:_0x322307;return R([..._0x1ff56a[_0x417a8f(0x175)][_0x417a8f(0x438)](_0x526cca=>_0x39c457[_0x417a8f(0x4d5)](_0x17cc29,_0x4d74fb,{'field':_0x526cca})),_0x39c457[_0x417a8f(0x2ff)](_0x17cc29,_0x4d74fb,_0xb8765f,_0x1098cc)]);}if(!_0x160f74||_0x322307[_0x417a8f(0x378)]!==_0x417a8f(0x4a0)&&_0x322307[_0x417a8f(0x378)]!==_0x417a8f(0x2d6))return _0x39c457[_0x417a8f(0x2ff)](_0x17cc29,_0x4d74fb,_0x322307,_0x1098cc);let _0x1d2fdc=Ia(_0x160f74,_0x322307),_0x5cebb8=_0x1d2fdc[_0x417a8f(0x11e)]?{..._0x322307,'config':_0x1d2fdc['config'],'fieldOrder':_0x1d2fdc[_0x417a8f(0x3fc)]??_0x322307[_0x417a8f(0x3fc)]}:_0x322307;return _0x322307['type']===_0x417a8f(0x2d6)&&Ba(_0x322307)&&(_0x5cebb8=Va(_0x160f74,_0x5cebb8,_0x1d2fdc[_0x417a8f(0x175)])),R([..._0x1d2fdc[_0x417a8f(0x175)][_0x417a8f(0x438)](_0x5cab43=>_0x39c457[_0x417a8f(0x4d5)](_0x17cc29,_0x4d74fb,{'field':_0x5cab43})),_0x39c457[_0x417a8f(0x2ff)](_0x17cc29,_0x4d74fb,_0x5cebb8,_0x1098cc)]);}function Ia(_0x11e649,_0x7e1779,_0x5e312f=!0x1){const _0x2d4417=_0x413924;var _0x5f49aa,_0x435fe4;let _0x408b30=_0x11e649[_0x2d4417(0x3fc)]['filter'](_0x1a85c9=>Ua(_0x11e649,_0x1a85c9)),_0x24ead3=[],_0x1d6dc1={..._0x7e1779[_0x2d4417(0x406)]??{}},_0x113fff=typeof _0x1d6dc1[_0x2d4417(0x32a)]==_0x2d4417(0x3f0)&&Ua(_0x11e649,_0x1d6dc1['startDateFieldId'])?_0x1d6dc1['startDateFieldId']:_0x408b30[0x0],_0x270fb8=typeof _0x1d6dc1[_0x2d4417(0x4a6)]==_0x2d4417(0x3f0)&&Ua(_0x11e649,_0x1d6dc1[_0x2d4417(0x4a6)])&&_0x1d6dc1[_0x2d4417(0x4a6)]!==_0x113fff?_0x1d6dc1[_0x2d4417(0x4a6)]:_0x408b30[_0x2d4417(0x196)](_0x42ee03=>_0x42ee03!==_0x113fff);if(!_0x113fff){let _0x5717df=Wa(_0x11e649,_0x24ead3,_0x7e1779[_0x2d4417(0x378)]===_0x2d4417(0x2d6)?_0x2d4417(0x1f1):_0x2d4417(0x2c9));_0x24ead3[_0x2d4417(0x34c)](_0x5717df),_0x113fff=_0x5717df['id'];}if((_0x7e1779[_0x2d4417(0x378)]==='gantt'||_0x5e312f)&&!_0x270fb8){let _0x4b05da=Wa(_0x11e649,_0x24ead3,'End\x20date');_0x24ead3[_0x2d4417(0x34c)](_0x4b05da),_0x270fb8=_0x4b05da['id'];}_0x7e1779[_0x2d4417(0x378)]===_0x2d4417(0x4a0)&&!_0x270fb8&&delete _0x1d6dc1[_0x2d4417(0x4a6)],_0x1d6dc1[_0x2d4417(0x32a)]=_0x113fff,_0x7e1779['type']===_0x2d4417(0x4a0)&&_0x270fb8&&(_0x1d6dc1[_0x2d4417(0x4a6)]=_0x270fb8),_0x7e1779['type']===_0x2d4417(0x2d6)&&(_0x1d6dc1['endDateFieldId']=_0x270fb8??_0x113fff);let _0x53a764=Ma(_0x7e1779[_0x2d4417(0x3fc)],_0x24ead3[_0x2d4417(0x438)](_0x1be9db=>_0x1be9db['id']));return{'changed':_0x24ead3[_0x2d4417(0x4be)]>0x0||_0x1d6dc1[_0x2d4417(0x32a)]!==((_0x5f49aa=_0x7e1779[_0x2d4417(0x406)])==null?void 0x0:_0x5f49aa[_0x2d4417(0x32a)])||_0x1d6dc1[_0x2d4417(0x4a6)]!==((_0x435fe4=_0x7e1779[_0x2d4417(0x406)])==null?void 0x0:_0x435fe4[_0x2d4417(0x4a6)])||!(!_0x53a764||_0x285054[_0x2d4417(0x38b)](_0x53a764,_0x7e1779[_0x2d4417(0x3fc)]??[])),'fields':_0x24ead3,'config':_0x1d6dc1,'fieldOrder':_0x53a764};}function La(_0x1e3f67,_0x42a086){const _0x231604=_0x413924;var _0x3dc95b;let _0x461e8c=[],_0x5eb75d={..._0x42a086['config']??{}},_0x590379=typeof _0x5eb75d[_0x231604(0x22d)]=='string'&&Ra(_0x1e3f67,_0x5eb75d[_0x231604(0x22d)])?_0x5eb75d[_0x231604(0x22d)]:_0x1e3f67['fieldOrder'][_0x231604(0x196)](_0x3fe07f=>Ra(_0x1e3f67,_0x3fe07f));if(!_0x590379){let _0x588945=za(_0x1e3f67,_0x461e8c);_0x461e8c[_0x231604(0x34c)](_0x588945),_0x590379=_0x588945['id'];}_0x5eb75d[_0x231604(0x22d)]=_0x590379;let _0x3fdd04=Ma(_0x42a086[_0x231604(0x3fc)],_0x461e8c[_0x231604(0x438)](_0x4e7dec=>_0x4e7dec['id']));return{'changed':_0x461e8c['length']>0x0||_0x5eb75d[_0x231604(0x22d)]!==((_0x3dc95b=_0x42a086['config'])==null?void 0x0:_0x3dc95b['groupFieldId'])||!(!_0x3fdd04||_0x285054['diffValue'](_0x3fdd04,_0x42a086['fieldOrder']??[])),'fields':_0x461e8c,'config':_0x5eb75d,'fieldOrder':_0x3fdd04};}function Ra(_0x532a60,_0x40d91d){const _0x5548ea=_0x413924;let _0xbd7dd0=_0x40d91d?_0x532a60[_0x5548ea(0x175)][_0x40d91d]:null;return _0xbd7dd0?[_0x39ba8f[_0x5548ea(0x183)],_0x39ba8f[_0x5548ea(0x40c)],_0x39ba8f[_0x5548ea(0x152)],_0x39ba8f['Person'],_0x39ba8f[_0x5548ea(0x14f)],_0x39ba8f[_0x5548ea(0x15d)]][_0x5548ea(0x35f)](_0xbd7dd0[_0x5548ea(0x378)]):!0x1;}function za(_0x3ee96a,_0x1dc326){const _0x5ab839=_0x413924;return{'id':_0x5ab839(0x1dc)+_0x186b5a(0x8),'name':ja(_0x3ee96a,_0x5ab839(0x21d),_0x1dc326),'type':_0x39ba8f[_0x5ab839(0x183)],'config':_0x285054[_0x5ab839(0x1b7)](Na)};}function Ba(_0x305bcf){const _0x1fadd7=_0x413924;return Object[_0x1fadd7(0x3a2)](_0x305bcf[_0x1fadd7(0x406)]??{})[_0x1fadd7(0x4be)]===0x0&&Object[_0x1fadd7(0x3a2)](_0x305bcf[_0x1fadd7(0x468)]??{})[_0x1fadd7(0x4be)]===0x0;}function Va(_0x2a2219,_0x35dfa8,_0x198ba9){const _0x47e404=_0x413924;let _0x3b9bc4={..._0x35dfa8[_0x47e404(0x406)]??{}},_0x20309b=_0x198ba9['map'](_0x1df1f6=>_0x1df1f6['id']),_0x2fd545=[..._0x2a2219[_0x47e404(0x3fc)],..._0x20309b],_0x2abb1c=typeof _0x3b9bc4[_0x47e404(0x162)]==_0x47e404(0x3f0)&&Ha(_0x2a2219,_0x198ba9,_0x3b9bc4['titleFieldId'])?_0x3b9bc4[_0x47e404(0x162)]:_0x2a2219[_0x47e404(0x426)],_0xc84e2b=typeof _0x3b9bc4[_0x47e404(0x32a)]==_0x47e404(0x3f0)?_0x3b9bc4[_0x47e404(0x32a)]:'',_0x5801b9=typeof _0x3b9bc4[_0x47e404(0x4a6)]==_0x47e404(0x3f0)?_0x3b9bc4['endDateFieldId']:_0xc84e2b,_0x1bfbd8=new Set([_0x2abb1c,_0xc84e2b,_0x5801b9][_0x47e404(0x457)](_0x4815bc=>_0x4815bc&&Ha(_0x2a2219,_0x198ba9,_0x4815bc))),_0x378602=Object[_0x47e404(0x300)](_0x2fd545[_0x47e404(0x4ac)](_0x5a86a2=>_0x1bfbd8['has'](_0x5a86a2)||!Ha(_0x2a2219,_0x198ba9,_0x5a86a2)?[]:[[_0x5a86a2,{'hidden':!0x0}]]));return{..._0x35dfa8,'config':{..._0x3b9bc4,'titleFieldId':_0x2abb1c},'fieldSettings':_0x378602};}function Ha(_0x1e9eb1,_0xc9a226,_0x360743){const _0x2258b1=_0x413924;return!!(_0x1e9eb1[_0x2258b1(0x175)][_0x360743]??_0xc9a226['find'](_0x46e15a=>_0x46e15a['id']===_0x360743))&&!0x0;}function Ua(_0x47317b,_0x3a51a5){const _0x3bed8f=_0x413924;let _0x4d74c5=_0x3a51a5?_0x47317b['fields'][_0x3a51a5]:null;return!!_0x4d74c5&&_0x4d74c5[_0x3bed8f(0x378)]===_0x39ba8f['Date']&&_0x4d74c5['readonly']!==!0x0&&_0x4d74c5[_0x3bed8f(0x22f)]!==!0x0;}function Wa(_0x1c903c,_0x985ba2,_0x6b086d){const _0x586f14=_0x413924;let _0x551bdf=new Set([...Object[_0x586f14(0x3a2)](_0x1c903c[_0x586f14(0x175)]),..._0x985ba2['map'](_0x46db94=>_0x46db94['id'])]),_0x2374d4=_0x586f14(0x1dc)+_0x186b5a(0x8);for(;_0x551bdf[_0x586f14(0x3cf)](_0x2374d4);)_0x2374d4=_0x586f14(0x1dc)+_0x186b5a(0x8);return{'id':_0x2374d4,'name':ja(_0x1c903c,_0x6b086d,_0x985ba2),'type':_0x39ba8f[_0x586f14(0x2c9)],'config':{...Pa}};}const Ga={'id':_0x413924(0x235),'type':_0x3abf95['COMMAND'],'handler':(_0x23d946,_0x55ce90)=>{const _0x55034a=_0x413924;if(!_0x55ce90)return!0x1;let _0x2a5f96=_0x23d946[_0x55034a(0x113)](_0x4de172),{unitId:_0x4dcc47,tableId:_0x429788,view:_0x4d0128,index:_0x4c61cc}=_0x55ce90,_0x1486ad=_0x2a5f96[_0x55034a(0x365)](_0x4dcc47,_0x1a4689['UNIVER_BASE']);if(!_0x1486ad||!$(_0x1486ad,_0x429788)||_0x1486ad[_0x55034a(0x460)]()[_0x55034a(0x28d)][_0x429788][_0x55034a(0x379)][_0x4d0128['id']])return!0x1;let _0xa55a07=_0x23d946[_0x55034a(0x113)](_0x4c2cb1),_0x3f0e4c=_0x23d946[_0x55034a(0x113)](_0xb7e499),_0x5aaf68=_0x1486ad['getSnapshot'](),_0x37b1fe=Fa(_0x5aaf68,_0x429788,_0x4d0128,_0x4c61cc),_0x3a6849=new z()[_0x55034a(0x447)](_0x5aaf68,_0x37b1fe),_0x3a0ba3={'historyAction':_0x55034a(0x333),'unitId':_0x4dcc47,'op':_0x37b1fe,'viewType':_0x4d0128[_0x55034a(0x378)]},_0x577fef={'historyAction':_0x55034a(0x494),'unitId':_0x4dcc47,'op':_0x3a6849,'viewType':_0x4d0128[_0x55034a(0x378)]};return _0xa55a07[_0x55034a(0x328)](Q['id'],_0x3a0ba3)?(_0x2a5f96[_0x55034a(0x428)](_0x4dcc47),_0x3f0e4c[_0x55034a(0x23f)]({'unitID':_0x4dcc47,'undoMutations':[{'id':Q['id'],'params':_0x577fef}],'redoMutations':[{'id':Q['id'],'params':_0x3a0ba3}]}),!0x0):!0x1;}},Ka={'id':_0x413924(0x38d),'type':_0x3abf95[_0x413924(0x4ab)],'handler'(_0x2e6696,_0x469849){const _0xbb35fc=_0x413924;if(!_0x469849)return!0x1;let _0x49ef6d=_0x2e6696['get'](_0x4de172),{unitId:_0x38cb77,tableId:_0xa448ab,fieldId:_0x5e415e}=_0x469849,_0x2ed83c=_0x49ef6d['getUnit'](_0x38cb77,_0x1a4689['UNIVER_BASE']);if(!_0x2ed83c)return!0x1;let _0x367a19=_0x2ed83c['getSnapshot'](),_0x5f1b35=_0x367a19[_0xbb35fc(0x28d)][_0xa448ab];if(!$(_0x2ed83c,_0xa448ab,{'fieldIds':[_0x5e415e]})||_0x5f1b35[_0xbb35fc(0x426)]===_0x5e415e||_0x5e415e===_0x3f46af)return!0x1;let _0x3c5e0b=_0x2e6696[_0xbb35fc(0x113)](_0x4c2cb1),_0x1518b6=_0x2e6696['get'](_0xb7e499),_0xa3c542=new W()['deleteField'](_0x367a19,_0xa448ab,_0x5e415e),_0x2c10a9=new z()[_0xbb35fc(0x447)](_0x367a19,_0xa3c542),_0x3faf5e={'unitId':_0x38cb77,'op':_0xa3c542},_0x16f252={'unitId':_0x38cb77,'op':_0x2c10a9};return _0x3c5e0b[_0xbb35fc(0x328)](Q['id'],_0x3faf5e)?(_0x49ef6d['focusUnit'](_0x38cb77),_0x1518b6[_0xbb35fc(0x23f)]({'unitID':_0x38cb77,'undoMutations':[{'id':Q['id'],'params':_0x16f252}],'redoMutations':[{'id':Q['id'],'params':_0x3faf5e}]}),!0x0):!0x1;}},qa={'id':_0x413924(0x36a),'type':_0x3abf95['COMMAND'],'handler':(_0x41f3db,_0x3fe0a0)=>{const _0x4f3104=_0x413924;if(!_0x3fe0a0)return!0x1;let _0x4c1549=_0x41f3db['get'](_0x4de172),{unitId:_0x7f5c87,tableId:_0x43abf7,recordId:_0x16c598}=_0x3fe0a0,_0x1a371d=_0x4c1549['getUnit'](_0x7f5c87,_0x1a4689[_0x4f3104(0x413)]);if(!_0x1a371d||!$(_0x1a371d,_0x43abf7,{'recordIds':[_0x16c598]}))return!0x1;let _0x193af8=_0x41f3db['get'](_0x4c2cb1),_0x36b38b=_0x41f3db[_0x4f3104(0x113)](_0xb7e499),_0xb9ada9=_0x1a371d['getSnapshot'](),_0x2a4e39=et(_0xb9ada9[_0x4f3104(0x28d)][_0x43abf7],[_0x16c598]),_0x225306=new W(),_0x21e303=new z(),_0x19c1ff=_0x225306[_0x4f3104(0x31a)](_0xb9ada9,_0x43abf7,_0x16c598),_0x27bc3e=_0x21e303['applyOp'](_0xb9ada9,_0x19c1ff),_0x42c728=_0x225306[_0x4f3104(0x241)](_0xb9ada9,_0x27bc3e,_0x43abf7,[_0x16c598]),_0x206a26={'unitId':_0x7f5c87,'op':_0x19c1ff,'hierarchyChanges':_0x2a4e39,'source':_0x3fe0a0[_0x4f3104(0x18f)]??'ui'},_0x77fb69={..._0x206a26,'source':'redo'},_0x520eb5={'unitId':_0x7f5c87,'op':_0x42c728,'hierarchyChanges':_0x2a4e39[_0x4f3104(0x438)](_0xfba122=>({..._0xfba122,'oldParentRecordId':_0xfba122['parentRecordId'],'parentRecordId':_0xfba122[_0x4f3104(0x4da)]})),'source':_0x4f3104(0x36d)};return _0x193af8[_0x4f3104(0x328)](Q['id'],_0x206a26)?(_0x4c1549[_0x4f3104(0x428)](_0x7f5c87),_0x36b38b[_0x4f3104(0x23f)]({'unitID':_0x7f5c87,'undoMutations':[{'id':Q['id'],'params':_0x520eb5}],'redoMutations':[{'id':Q['id'],'params':_0x77fb69}]}),!0x0):!0x1;}},Ja={'id':_0x413924(0x26f),'type':_0x3abf95[_0x413924(0x4ab)],'handler':(_0x3f3a52,_0x528554)=>{const _0x1bceb1=_0x413924;if(!_0x528554)return!0x1;let _0xcabb56=_0x3f3a52[_0x1bceb1(0x113)](_0x4de172),{unitId:_0x3f375d,tableId:_0x4aa28e}=_0x528554,_0x29bc5e=_0xcabb56[_0x1bceb1(0x365)](_0x3f375d,_0x1a4689['UNIVER_BASE']);if(!_0x29bc5e||!$(_0x29bc5e,_0x4aa28e))return!0x1;let _0x2a8ec5=_0x3f3a52[_0x1bceb1(0x113)](_0x4c2cb1),_0x48f0a7=_0x3f3a52[_0x1bceb1(0x113)](_0xb7e499),_0x343c12=_0x29bc5e[_0x1bceb1(0x460)](),_0x5b9155=He(_0x343c12,_0x4aa28e);if(_0x5b9155[_0x1bceb1(0x4be)]>0x0)return console['error'](_0x1bceb1(0x437)+_0x4aa28e+_0x1bceb1(0x443)+_0x5b9155['map'](_0x5185e4=>_0x5185e4[_0x1bceb1(0x2ca)]+'.'+_0x5185e4[_0x1bceb1(0x1c3)])['join'](',\x20')+'.'),!0x1;let _0x11b050=new W()[_0x1bceb1(0x390)](_0x343c12,_0x4aa28e),_0x1aaa85=new z()[_0x1bceb1(0x447)](_0x343c12,_0x11b050),_0x2ed486={'unitId':_0x3f375d,'op':_0x11b050},_0xd949c={'unitId':_0x3f375d,'op':_0x1aaa85};return _0x2a8ec5[_0x1bceb1(0x328)](Q['id'],_0x2ed486)?(_0xcabb56[_0x1bceb1(0x428)](_0x3f375d),_0x48f0a7[_0x1bceb1(0x23f)]({'unitID':_0x3f375d,'undoMutations':[{'id':Q['id'],'params':_0xd949c}],'redoMutations':[{'id':Q['id'],'params':_0x2ed486}]}),!0x0):!0x1;}},Ya={'id':_0x413924(0x361),'type':_0x3abf95[_0x413924(0x4ab)],'handler':(_0x366b96,_0x436091)=>{const _0x30515=_0x413924;if(!_0x436091)return!0x1;let _0x3a0236=_0x366b96[_0x30515(0x113)](_0x4de172),{unitId:_0x515fb7,tableId:_0x11b197,viewId:_0x4b1512}=_0x436091,_0x1ba860=_0x3a0236[_0x30515(0x365)](_0x515fb7,_0x1a4689['UNIVER_BASE']);if(!_0x1ba860||!$(_0x1ba860,_0x11b197,{'viewIds':[_0x4b1512]}))return!0x1;let _0x156897=_0x366b96[_0x30515(0x113)](_0x4c2cb1),_0x47a945=_0x366b96[_0x30515(0x113)](_0xb7e499),_0x4fa644=_0x1ba860['getSnapshot'](),_0x308060=_0x4fa644['tables'][_0x11b197][_0x30515(0x379)][_0x4b1512][_0x30515(0x378)],_0x219fd2=new W()[_0x30515(0x245)](_0x4fa644,_0x11b197,_0x4b1512),_0x570439=new z()[_0x30515(0x447)](_0x4fa644,_0x219fd2),_0x3641e4={'historyAction':'delete-view','unitId':_0x515fb7,'op':_0x219fd2,'viewType':_0x308060},_0x1a0409={'historyAction':_0x30515(0x333),'unitId':_0x515fb7,'op':_0x570439,'viewType':_0x308060};return _0x156897[_0x30515(0x328)](Q['id'],_0x3641e4)?(_0x3a0236[_0x30515(0x428)](_0x515fb7),_0x47a945['pushUndoRedo']({'unitID':_0x515fb7,'undoMutations':[{'id':Q['id'],'params':_0x1a0409}],'redoMutations':[{'id':Q['id'],'params':_0x3641e4}]}),!0x0):!0x1;}},Xa={'id':'base.command.duplicate-base-field','type':_0x3abf95['COMMAND'],'handler':(_0x2fa0bf,_0x23774d)=>{const _0x434cb7=_0x413924;if(!_0x23774d)return!0x1;let _0x50b7a9=_0x2fa0bf['get'](_0x4de172),{unitId:_0x20b695,tableId:_0x3ec61e,sourceFieldId:_0x4b9beb,field:_0x412719,index:_0x298588,viewIndexes:_0x4bd70d}=_0x23774d,_0xb80dec=_0x50b7a9['getUnit'](_0x20b695,_0x1a4689['UNIVER_BASE']);if(!_0xb80dec||!$(_0xb80dec,_0x3ec61e,{'fieldIds':[_0x4b9beb]})||_0x4b9beb===_0x3f46af||_0xb80dec[_0x434cb7(0x460)]()[_0x434cb7(0x28d)][_0x3ec61e][_0x434cb7(0x175)][_0x412719['id']]||_0x298588===0x0||!ha(_0xb80dec,_0x3ec61e,_0x412719))return!0x1;let _0x53beb0=_0x2fa0bf[_0x434cb7(0x113)](_0x4c2cb1),_0x55ff58=_0x2fa0bf[_0x434cb7(0x113)](_0xb7e499),_0x138980=_0xb80dec[_0x434cb7(0x460)](),_0x1fabfe=new W()['duplicateField'](_0x138980,_0x3ec61e,_0x4b9beb,{'field':_0x412719,'index':_0x298588,'viewIndexes':_0x4bd70d}),_0x3f156f=new z()[_0x434cb7(0x447)](_0x138980,_0x1fabfe),_0x559db7={'unitId':_0x20b695,'op':_0x1fabfe},_0x379208={'unitId':_0x20b695,'op':_0x3f156f};return _0x53beb0[_0x434cb7(0x328)](Q['id'],_0x559db7)?(_0x50b7a9['focusUnit'](_0x20b695),_0x55ff58[_0x434cb7(0x23f)]({'unitID':_0x20b695,'undoMutations':[{'id':Q['id'],'params':_0x379208}],'redoMutations':[{'id':Q['id'],'params':_0x559db7}]}),!0x0):!0x1;}},Za={'id':_0x413924(0x36c),'type':_0x3abf95['COMMAND'],'handler':(_0x4155db,_0x4c9948)=>{const _0x5e6be7=_0x413924;if(!_0x4c9948)return!0x1;let _0x3670fb=_0x4155db['get'](_0x4de172),{unitId:_0x1da711,tableId:_0x55001d,sourceRecordId:_0x5c27ae,record:_0x1d6c19}=_0x4c9948,_0x4b246a=_0x3670fb[_0x5e6be7(0x365)](_0x1da711,_0x1a4689[_0x5e6be7(0x413)]);if(!_0x4b246a||!$(_0x4b246a,_0x55001d,{'recordIds':[_0x5c27ae]})||!_a(_0x4b246a,_0x55001d,_0x1d6c19))return!0x1;let _0xc2bbee=_0x4155db[_0x5e6be7(0x113)](_0x4c2cb1),_0x5dd0a2=_0x4155db['get'](_0xb7e499),_0x51c3bd=_0x4b246a[_0x5e6be7(0x460)](),_0x5cd783=va(_0x1d6c19),_0x51ac72=Qe(_0x51c3bd[_0x5e6be7(0x28d)][_0x55001d],[_0x5cd783]),_0x5a8ee2=new W()['duplicateRecord'](_0x51c3bd,_0x55001d,_0x5c27ae,_0x5cd783),_0x1fd62b=new z()['invertOp'](_0x51c3bd,_0x5a8ee2),_0x399bfe={'unitId':_0x1da711,'op':_0x5a8ee2,'hierarchyChanges':_0x51ac72['length']?_0x51ac72:void 0x0,'source':_0x51ac72[_0x5e6be7(0x4be)]?_0x4c9948[_0x5e6be7(0x18f)]??'ui':void 0x0},_0x4ae7f1={..._0x399bfe,'source':_0x51ac72[_0x5e6be7(0x4be)]?'redo':void 0x0},_0x1fc15a={'unitId':_0x1da711,'op':_0x1fd62b,'hierarchyChanges':_0x51ac72[_0x5e6be7(0x4be)]?_0x51ac72[_0x5e6be7(0x438)](_0x20b4d6=>({..._0x20b4d6,'oldParentRecordId':_0x20b4d6['parentRecordId'],'parentRecordId':null})):void 0x0,'source':_0x51ac72['length']?_0x5e6be7(0x36d):void 0x0};return _0xc2bbee[_0x5e6be7(0x328)](Q['id'],_0x399bfe)?(_0x3670fb[_0x5e6be7(0x428)](_0x1da711),_0x5dd0a2[_0x5e6be7(0x23f)]({'unitID':_0x1da711,'undoMutations':[{'id':Q['id'],'params':_0x1fc15a}],'redoMutations':[{'id':Q['id'],'params':_0x4ae7f1}]}),!0x0):!0x1;}},Qa={'id':_0x413924(0x20f),'type':_0x3abf95['COMMAND'],'handler'(_0x352e6d,_0x45fbb8){const _0x5343ed=_0x413924;if(!_0x45fbb8)return!0x1;let _0x5cdacc=_0x352e6d[_0x5343ed(0x113)](_0x4de172),{unitId:_0x64bf20,tableId:_0x568778,viewId:_0x67f7a3,ensureEndDateField:_0x50d272}=_0x45fbb8,_0x257375=_0x5cdacc['getUnit'](_0x64bf20,_0x1a4689[_0x5343ed(0x413)]);if(!_0x257375||!$(_0x257375,_0x568778,{'viewIds':[_0x67f7a3]}))return!0x1;let _0x1f4ead=_0x257375['getSnapshot'](),_0x4319be=_0x1f4ead[_0x5343ed(0x28d)][_0x568778],_0x5435ff=_0x4319be==null?void 0x0:_0x4319be[_0x5343ed(0x379)][_0x67f7a3];if(!_0x4319be||!_0x5435ff||_0x5435ff[_0x5343ed(0x378)]!==_0x5343ed(0x4a0)&&_0x5435ff[_0x5343ed(0x378)]!==_0x5343ed(0x2d6))return!0x1;let _0x38995b=Ia(_0x4319be,_0x5435ff,_0x50d272===!0x0);if(!_0x38995b[_0x5343ed(0x11e)])return!0x1;let _0x2a22df=_0x352e6d['get'](_0x4c2cb1),_0x14bcf3=_0x352e6d['get'](_0xb7e499),_0x440e8c=new W(),_0xa06256=[..._0x38995b[_0x5343ed(0x175)][_0x5343ed(0x438)](_0x1a8241=>_0x440e8c[_0x5343ed(0x4d5)](_0x1f4ead,_0x45fbb8[_0x5343ed(0x2ca)],{'field':_0x1a8241})),$a([...eo(_0x45fbb8[_0x5343ed(0x2ca)],_0x45fbb8[_0x5343ed(0x297)]),_0x5343ed(0x406)],_0x5435ff['config'],_0x38995b[_0x5343ed(0x406)])];_0x38995b[_0x5343ed(0x3fc)]&&_0xa06256[_0x5343ed(0x34c)]($a([...eo(_0x45fbb8['tableId'],_0x45fbb8[_0x5343ed(0x297)]),_0x5343ed(0x3fc)],_0x5435ff['fieldOrder'],_0x38995b[_0x5343ed(0x3fc)]));let _0x164ad5=R(_0xa06256),_0x499b42=new z()[_0x5343ed(0x447)](_0x1f4ead,_0x164ad5),_0x451f2b={'unitId':_0x64bf20,'op':_0x164ad5},_0x23ac2e={'unitId':_0x64bf20,'op':_0x499b42};return _0x2a22df[_0x5343ed(0x328)](Q['id'],_0x451f2b)?(_0x5cdacc[_0x5343ed(0x428)](_0x64bf20),_0x14bcf3[_0x5343ed(0x23f)]({'unitID':_0x64bf20,'undoMutations':[{'id':Q['id'],'params':_0x23ac2e}],'redoMutations':[{'id':Q['id'],'params':_0x451f2b}]}),!0x0):!0x1;}};function $a(_0x59e575,_0x27e9fa,_0xdc3c20){const _0x5bd3ab=_0x413924;return _0x27e9fa===void 0x0?_0x2c18c4[_0x5bd3ab(0x4a5)](_0x59e575,_0xdc3c20):_0x2c18c4[_0x5bd3ab(0x41c)](_0x59e575,_0x27e9fa,_0xdc3c20);}function eo(_0x4a27f2,_0x3e182a){const _0x22e642=_0x413924;return['tables',_0x4a27f2,_0x22e642(0x379),_0x3e182a];}const to={'id':_0x413924(0x425),'type':_0x3abf95['COMMAND'],'handler':(_0x3c4aff,_0x4ae2c6)=>{const _0x23d4df=_0x413924;if(!_0x4ae2c6)return!0x1;let _0x44f98d=_0x3c4aff[_0x23d4df(0x113)](_0x4de172),{unitId:_0x3f6f7e,tableId:_0x556dc8,fieldId:_0x351010,target:_0x42ee59}=_0x4ae2c6,_0x49586a=_0x44f98d['getUnit'](_0x3f6f7e,_0x1a4689[_0x23d4df(0x413)]),_0x47326d=_0x42ee59[_0x23d4df(0x28b)]??_0x42ee59[_0x23d4df(0x39b)];if(!_0x49586a||!!_0x42ee59[_0x23d4df(0x28b)]==!!_0x42ee59[_0x23d4df(0x39b)]||!_0x47326d||_0x47326d===_0x351010||_0x351010===_0x3f46af||_0x42ee59[_0x23d4df(0x28b)]===_0x3f46af||!$(_0x49586a,_0x556dc8,{'fieldIds':[_0x351010,_0x47326d]}))return!0x1;let _0x490913=_0x3c4aff[_0x23d4df(0x113)](_0x4c2cb1),_0x206140=_0x3c4aff[_0x23d4df(0x113)](_0xb7e499),_0x58d42d=_0x49586a[_0x23d4df(0x460)](),_0x1a6276=new W()[_0x23d4df(0x24a)](_0x58d42d,_0x556dc8,_0x351010,_0x42ee59),_0x5733a7=new z()[_0x23d4df(0x447)](_0x58d42d,_0x1a6276),_0x28bfbf={'unitId':_0x3f6f7e,'op':_0x1a6276},_0x461661={'unitId':_0x3f6f7e,'op':_0x5733a7};return _0x490913[_0x23d4df(0x328)](Q['id'],_0x28bfbf)?(_0x44f98d[_0x23d4df(0x428)](_0x3f6f7e),_0x206140[_0x23d4df(0x23f)]({'unitID':_0x3f6f7e,'undoMutations':[{'id':Q['id'],'params':_0x461661}],'redoMutations':[{'id':Q['id'],'params':_0x28bfbf}]}),!0x0):!0x1;}},no={'id':_0x413924(0x2e2),'type':_0x3abf95[_0x413924(0x4ab)],'handler':(_0x3cae05,_0x12150e)=>{const _0x93395a=_0x413924;var _0x320629;if(!_0x12150e)return!0x1;let {unitId:_0x1920cb,tableId:_0xd27d18,recordId:_0x54786d,parentRecordId:_0x15c58e,orderKey:_0x3ab332}=_0x12150e,_0x16b838=_0x3cae05[_0x93395a(0x113)](_0x4de172),_0x5894d1=_0x16b838[_0x93395a(0x365)](_0x1920cb,_0x1a4689[_0x93395a(0x413)]);if(!_0x5894d1||!$(_0x5894d1,_0xd27d18,{'recordIds':[_0x54786d,..._0x15c58e?[_0x15c58e]:[]]}))throw new P(_0x93395a(0x3ca));let _0xa4dadd=_0x5894d1['getSnapshot'](),_0x46fc27=_0xa4dadd[_0x93395a(0x28d)][_0xd27d18],_0x4046a6=qe(_0x46fc27),_0xbb17cd=_0x4046a6??_0x12150e['fieldId']??Je(_0x46fc27);if(_0x4046a6&&_0x12150e['fieldId']&&_0x12150e[_0x93395a(0x1c3)]!==_0x4046a6||_0x46fc27['fields'][_0xbb17cd]&&!F(_0x46fc27,_0xbb17cd))throw new P('invalidField');let _0x5363b7=tt(_0x46fc27,_0xbb17cd),_0x48d555=it(_0x5363b7,_0x54786d,_0x15c58e);if(!_0x48d555['valid'])throw new P(_0x48d555[_0x93395a(0x24f)]===_0x1b786b[_0x93395a(0x12a)]?_0x93395a(0x330):_0x48d555[_0x93395a(0x24f)]===_0x1b786b[_0x93395a(0x2a6)]?_0x93395a(0x1dd):_0x93395a(0x261));let _0x2bcf10=_0x5363b7[_0x93395a(0x430)][_0x93395a(0x113)](_0x54786d)??null,_0x1da3d0=_0x46fc27['records'][_0x54786d][_0x93395a(0x124)];if(_0x2bcf10===_0x15c58e&&(_0x3ab332===void 0x0||_0x3ab332===_0x1da3d0))return!0x0;let _0x2e36c4=_0x2bcf10!==_0x15c58e,_0xe9095e=_0x3ab332!==void 0x0&&_0x3ab332!==_0x1da3d0,_0x2d1903=new W(),_0x4cc8e2=[],_0x27556e=_0x46fc27[_0x93395a(0x175)][_0xbb17cd],_0x55e476=_0x2e36c4&&(!_0x27556e||((_0x320629=N(_0x27556e))==null?void 0x0:_0x320629['relationRole'])!==_0x169931[_0x93395a(0x4d6)])?_0x27556e?_0x2d1903[_0x93395a(0x29c)](_0xa4dadd,_0xd27d18,_0xbb17cd,{'config':{..._0x27556e[_0x93395a(0x406)],'relationRole':_0x169931[_0x93395a(0x4d6)]}}):_0x3cae05[_0x93395a(0x113)](Kr)[_0x93395a(0x1f6)](_0x5894d1,_0xd27d18,Ye(_0x46fc27,_0xbb17cd,_0x12150e[_0x93395a(0x3b7)]),_0x46fc27[_0x93395a(0x3fc)][_0x93395a(0x4be)]):null;_0x55e476&&_0x4cc8e2[_0x93395a(0x34c)](_0x55e476),_0x2e36c4&&_0x4cc8e2[_0x93395a(0x34c)](_0x2d1903[_0x93395a(0x301)](_0xa4dadd,_0xd27d18,_0x54786d,_0xbb17cd,_0x15c58e?Re([_0x15c58e]):'')),_0xe9095e&&_0x4cc8e2[_0x93395a(0x34c)](_0x2d1903[_0x93395a(0x332)](_0xa4dadd,_0xd27d18,_0x54786d,_0x3ab332));let _0x39db72=R(_0x4cc8e2),_0x107923={'tableId':_0xd27d18,'fieldId':_0xbb17cd,'recordId':_0x54786d,'oldParentRecordId':_0x2bcf10,'parentRecordId':_0x15c58e},_0x232bac={'unitId':_0x1920cb,'op':_0x39db72,'trigger':no['id'],'hierarchyChanges':[_0x107923],'source':_0x12150e[_0x93395a(0x18f)]??'ui'},_0x3a5855={..._0x232bac,'source':'redo'};if(!_0x3cae05[_0x93395a(0x113)](_0x4c2cb1)[_0x93395a(0x328)](Q['id'],_0x232bac))return!0x1;let _0x35d99d=_0x5894d1['getSnapshot'](),_0x4bc93e=[];_0x2e36c4&&_0x4bc93e[_0x93395a(0x34c)](ro(_0x35d99d,_0xa4dadd,_0xd27d18,_0x54786d,_0xbb17cd)),_0xe9095e&&_0x4bc93e[_0x93395a(0x34c)](io(_0x35d99d,_0xa4dadd,_0xd27d18,_0x54786d)),_0x55e476&&_0x4bc93e[_0x93395a(0x34c)](new z()[_0x93395a(0x447)](_0xa4dadd,_0x55e476));let _0x37a75a={'unitId':_0x1920cb,'op':R(_0x4bc93e),'trigger':no['id'],'hierarchyChanges':[{..._0x107923,'oldParentRecordId':_0x15c58e,'parentRecordId':_0x2bcf10}],'source':'undo'};return _0x16b838[_0x93395a(0x428)](_0x1920cb),_0x3cae05[_0x93395a(0x113)](_0xb7e499)[_0x93395a(0x23f)]({'unitID':_0x1920cb,'undoMutations':[{'id':Q['id'],'params':_0x37a75a}],'redoMutations':[{'id':Q['id'],'params':_0x3a5855}]}),!0x0;}};function ro(_0x117b0a,_0x14f150,_0x51d48c,_0x586357,_0x41c11a){const _0x187385=_0x413924;var _0x34bcab,_0x1a385d,_0xb849e2,_0x1fc360,_0x3fe875,_0x36225d,_0x49cfb9,_0x495c3f;let _0x4f3cee=_0x117b0a[_0x187385(0x28d)][_0x51d48c],_0x3921b5=_0x14f150[_0x187385(0x28d)][_0x51d48c],_0x46db28=(_0x34bcab=_0x4f3cee[_0x187385(0x12b)])==null?void 0x0:_0x34bcab[_0x586357],_0x828f49=(_0x1a385d=_0x4f3cee[_0x187385(0x4a2)])==null?void 0x0:_0x1a385d[_0x41c11a],_0x157d4e=(_0xb849e2=_0x3921b5[_0x187385(0x12b)])==null?void 0x0:_0xb849e2[_0x586357],_0x57c920=(_0x1fc360=_0x3921b5['colIndex'])==null?void 0x0:_0x1fc360[_0x41c11a],_0x472406=_0x46db28==null||_0x828f49==null||(_0x3fe875=_0x4f3cee[_0x187385(0x260)])==null||(_0x3fe875=_0x3fe875[_0x46db28])==null?void 0x0:_0x3fe875[_0x828f49],_0x2d24bf=_0x157d4e==null||_0x57c920==null||(_0x36225d=_0x3921b5[_0x187385(0x260)])==null||(_0x36225d=_0x36225d[_0x157d4e])==null?void 0x0:_0x36225d[_0x57c920],_0x2dca89=(_0x49cfb9=_0x4f3cee[_0x187385(0x3b4)][_0x586357])==null?void 0x0:_0x49cfb9['values'][_0x41c11a],_0x37aa99=(_0x495c3f=_0x3921b5[_0x187385(0x3b4)][_0x586357])==null?void 0x0:_0x495c3f[_0x187385(0x4ae)][_0x41c11a],_0x4ab5e8=[],_0x2e7d59=ao(_0x46db28==null||_0x828f49==null?null:U[_0x187385(0x260)](_0x51d48c,_0x46db28,_0x828f49),_0x472406,_0x2d24bf);_0x2e7d59&&_0x4ab5e8[_0x187385(0x34c)](_0x2e7d59);let _0x22d1f4=ao(U[_0x187385(0x3c4)](_0x51d48c,_0x586357,_0x41c11a),_0x2dca89,_0x37aa99);return _0x22d1f4&&_0x4ab5e8[_0x187385(0x34c)](_0x22d1f4),R(_0x4ab5e8);}function io(_0x5b7986,_0x254fc6,_0x528e78,_0x34c43a){const _0x128cf1=_0x413924;var _0x44db3e,_0x17c1a2;let _0x5b09ee=_0x5b7986['tables'][_0x528e78],_0xbf99a3=_0x254fc6[_0x128cf1(0x28d)][_0x528e78];return R([ao([...U[_0x128cf1(0x1cf)](_0x528e78,_0x34c43a),_0x128cf1(0x124)],(_0x44db3e=_0x5b09ee[_0x128cf1(0x3b4)][_0x34c43a])==null?void 0x0:_0x44db3e[_0x128cf1(0x124)],(_0x17c1a2=_0xbf99a3[_0x128cf1(0x3b4)][_0x34c43a])==null?void 0x0:_0x17c1a2[_0x128cf1(0x124)]),ao([...U[_0x128cf1(0x246)](_0x528e78),_0x128cf1(0x1c6)],_0x5b09ee['recordOrder'],_0xbf99a3[_0x128cf1(0x1c6)])]['filter'](_0x65a1ca=>!!_0x65a1ca));}function ao(_0xd14149,_0x41aa47,_0xbbf619){const _0x427e60=_0x413924;if(!_0xd14149||_0x41aa47===void 0x0&&_0xbbf619===void 0x0)return null;let _0x253505=_0xb3e801[_0x427e60(0x146)]();return _0xbbf619===void 0x0?_0x253505[_0x427e60(0x458)](_0xd14149,_0x41aa47):_0x41aa47===void 0x0?_0x253505[_0x427e60(0x4a5)](_0xd14149,_0xbbf619):_0x253505[_0x427e60(0x41c)](_0xd14149,_0x41aa47,_0xbbf619);}const oo={'id':_0x413924(0x47d),'type':_0x3abf95['COMMAND'],'handler':(_0x5a9000,_0x2a3f2a)=>{const _0x49fdf5=_0x413924;if(!_0x2a3f2a)return!0x1;let _0x5bfe29=_0x5a9000[_0x49fdf5(0x113)](_0x4de172),{unitId:_0x5810e6,tableId:_0x70aedb,viewId:_0x5d02b5,target:_0x129c03}=_0x2a3f2a,_0xdf21dd=_0x5bfe29['getUnit'](_0x5810e6,_0x1a4689[_0x49fdf5(0x413)]),_0x5ed797=_0x129c03['beforeViewId']??_0x129c03['afterViewId'];if(!_0xdf21dd||!_0x5ed797||_0x5ed797===_0x5d02b5||!$(_0xdf21dd,_0x70aedb,{'viewIds':[_0x5d02b5,_0x5ed797]}))return!0x1;let _0x2bc450=_0x5a9000[_0x49fdf5(0x113)](_0x4c2cb1),_0x531ec1=_0x5a9000[_0x49fdf5(0x113)](_0xb7e499),_0x4e671a=_0xdf21dd[_0x49fdf5(0x460)](),_0x2476e9=new W()[_0x49fdf5(0x1a7)](_0x4e671a,_0x70aedb,_0x5d02b5,_0x129c03),_0x325146=new z()['invertOp'](_0x4e671a,_0x2476e9),_0x538f8c={'unitId':_0x5810e6,'op':_0x2476e9},_0x39c66d={'unitId':_0x5810e6,'op':_0x325146};return _0x2bc450['syncExecuteCommand'](Q['id'],_0x538f8c)?(_0x5bfe29[_0x49fdf5(0x428)](_0x5810e6),_0x531ec1['pushUndoRedo']({'unitID':_0x5810e6,'undoMutations':[{'id':Q['id'],'params':_0x39c66d}],'redoMutations':[{'id':Q['id'],'params':_0x538f8c}]}),!0x0):!0x1;}},so={'id':_0x413924(0x203),'type':_0x3abf95[_0x413924(0x4ab)],'handler':(_0x5b9001,_0x3353a2)=>{const _0x4ae798=_0x413924;if(!_0x3353a2)return!0x1;let _0x2745b2=_0x5b9001[_0x4ae798(0x113)](_0x4de172),{unitId:_0x2ca76b,tableId:_0x4ff857,name:_0x1da41b}=_0x3353a2,_0x533a22=_0x2745b2['getUnit'](_0x2ca76b,_0x1a4689[_0x4ae798(0x413)]);if(!_0x533a22||!$(_0x533a22,_0x4ff857)||!Oa(_0x533a22['getSnapshot'](),_0x1da41b,_0x4ff857)[_0x4ae798(0x3e2)])return!0x1;let _0x4cff24=_0x5b9001['get'](_0x4c2cb1),_0x594ed9=_0x5b9001['get'](_0xb7e499),_0x443905=_0x533a22[_0x4ae798(0x460)](),_0x2b72aa=new W()['renameTable'](_0x443905,_0x4ff857,_0x1da41b),_0x1991c4=new z()['invertOp'](_0x443905,_0x2b72aa),_0x10841d={'unitId':_0x2ca76b,'op':_0x2b72aa},_0x5a3fc5={'unitId':_0x2ca76b,'op':_0x1991c4};return _0x4cff24[_0x4ae798(0x328)](Q['id'],_0x10841d)?(_0x2745b2[_0x4ae798(0x428)](_0x2ca76b),_0x594ed9['pushUndoRedo']({'unitID':_0x2ca76b,'undoMutations':[{'id':Q['id'],'params':_0x5a3fc5}],'redoMutations':[{'id':Q['id'],'params':_0x10841d}]}),!0x0):!0x1;}},co={'id':'base.command.rename-base-view','type':_0x3abf95[_0x413924(0x4ab)],'handler':(_0x321969,_0x5d603a)=>{const _0x97864a=_0x413924;if(!_0x5d603a)return!0x1;let _0x216540=_0x321969[_0x97864a(0x113)](_0x4de172),{unitId:_0x15ca00,tableId:_0x3b5c19,viewId:_0xbaf54c,name:_0x4d7288}=_0x5d603a,_0x4b0e80=_0x216540[_0x97864a(0x365)](_0x15ca00,_0x1a4689['UNIVER_BASE']);if(!_0x4b0e80||!$(_0x4b0e80,_0x3b5c19,{'viewIds':[_0xbaf54c]}))return!0x1;let _0x5b2dc6=_0x321969['get'](_0x4c2cb1),_0x2fb6bc=_0x321969[_0x97864a(0x113)](_0xb7e499),_0xdfccc9=_0x4b0e80[_0x97864a(0x460)](),_0x258dce=new W()['renameView'](_0xdfccc9,_0x3b5c19,_0xbaf54c,_0x4d7288),_0x48a4c8=new z()['invertOp'](_0xdfccc9,_0x258dce),_0x4a292d={'unitId':_0x15ca00,'op':_0x258dce},_0x19bef6={'unitId':_0x15ca00,'op':_0x48a4c8};return _0x5b2dc6[_0x97864a(0x328)](Q['id'],_0x4a292d)?(_0x216540[_0x97864a(0x428)](_0x15ca00),_0x2fb6bc[_0x97864a(0x23f)]({'unitID':_0x15ca00,'undoMutations':[{'id':Q['id'],'params':_0x19bef6}],'redoMutations':[{'id':Q['id'],'params':_0x4a292d}]}),!0x0):!0x1;}},lo={'id':'base.command.set-base-kanban-group-field','type':_0x3abf95[_0x413924(0x4ab)],'handler':(_0x2db74a,_0x40c224)=>{const _0x3e6b93=_0x413924;if(!_0x40c224)return!0x1;let _0x56302d=_0x2db74a[_0x3e6b93(0x113)](_0x4de172),{unitId:_0x23b2ac,tableId:_0x2c55a0,viewId:_0x15cc5d,fieldId:_0x3a267c}=_0x40c224,_0x446b45=_0x56302d[_0x3e6b93(0x365)](_0x23b2ac,_0x1a4689[_0x3e6b93(0x413)]);if(!_0x446b45||!$(_0x446b45,_0x2c55a0,{'viewIds':[_0x15cc5d],'fieldIds':[_0x3a267c]}))return!0x1;let _0x43374a=_0x2db74a[_0x3e6b93(0x113)](_0x4c2cb1),_0x3217f7=_0x2db74a[_0x3e6b93(0x113)](_0xb7e499),_0x56f7c6=_0x446b45[_0x3e6b93(0x460)](),_0x230b04=new W()[_0x3e6b93(0x2f8)](_0x56f7c6,_0x2c55a0,_0x15cc5d,{'groupFieldId':_0x3a267c}),_0x2dd2d1=new z()[_0x3e6b93(0x447)](_0x56f7c6,_0x230b04),_0x4c31b8={'unitId':_0x23b2ac,'op':_0x230b04},_0x47e48d={'unitId':_0x23b2ac,'op':_0x2dd2d1};return _0x43374a[_0x3e6b93(0x328)](Q['id'],_0x4c31b8)?(_0x56302d[_0x3e6b93(0x428)](_0x23b2ac),_0x3217f7[_0x3e6b93(0x23f)]({'unitID':_0x23b2ac,'undoMutations':[{'id':Q['id'],'params':_0x47e48d}],'redoMutations':[{'id':Q['id'],'params':_0x4c31b8}]}),!0x0):!0x1;}},uo={'id':_0x413924(0x407),'type':_0x3abf95[_0x413924(0x4ab)],'handler':(_0xec9ae9,_0x31c8df)=>{const _0x3c6993=_0x413924;if(!_0x31c8df)return!0x1;let _0x651f20=_0xec9ae9[_0x3c6993(0x113)](_0x4de172),_0x5e9929=_0x651f20['getUnit'](_0x31c8df[_0x3c6993(0x2b9)],_0x1a4689[_0x3c6993(0x413)]);if(!_0x5e9929)return!0x1;let _0x499187=_0x5e9929['getSnapshot']()[_0x3c6993(0x1f9)];if(_0x499187===_0x31c8df[_0x3c6993(0x1f9)])return!0x0;let _0x22ed5b=new W(),_0x3c4850=new z(),_0x21b3a8=[],_0x126a96=[],_0x237e83=[_0x5e9929,..._0x651f20[_0x3c6993(0x3ff)](_0x1a4689[_0x3c6993(0x413)])['filter'](_0x3fa3fb=>_0x3fa3fb[_0x3c6993(0x27e)]()!==_0x31c8df['unitId'])];for(let _0x4cd95f of _0x237e83){let _0xae43f0=_0x4cd95f[_0x3c6993(0x460)](),_0x1a6959=_0x4cd95f===_0x5e9929?_0x22ed5b['setBaseName'](_0xae43f0,_0x31c8df[_0x3c6993(0x1f9)]):_0x22ed5b[_0x3c6993(0x264)](_0xae43f0,_0x499187,_0x31c8df[_0x3c6993(0x1f9)]);_0x1a6959&&(_0x21b3a8[_0x3c6993(0x34c)]({'id':Q['id'],'params':{'unitId':_0x4cd95f[_0x3c6993(0x27e)](),'op':_0x1a6959,'trigger':uo['id']}}),_0x126a96['unshift']({'id':Q['id'],'params':{'unitId':_0x4cd95f[_0x3c6993(0x27e)](),'op':_0x3c4850[_0x3c6993(0x447)](_0xae43f0,_0x1a6959),'trigger':uo['id']}}));}let _0x5f2354=_0xec9ae9[_0x3c6993(0x113)](_0x4c2cb1),_0x52af2c=_0xec9ae9[_0x3c6993(0x113)](_0xb7e499),_0x837b0a=_0x52af2c['__tempBatchingUndoRedo'](_0x31c8df['unitId']);try{return _0x13120b(_0x21b3a8,_0x5f2354)[_0x3c6993(0x1a6)]?(_0x651f20[_0x3c6993(0x428)](_0x31c8df[_0x3c6993(0x2b9)]),_0x52af2c[_0x3c6993(0x23f)]({'unitID':_0x31c8df[_0x3c6993(0x2b9)],'undoMutations':_0x126a96,'redoMutations':_0x21b3a8}),!0x0):!0x1;}finally{_0x837b0a[_0x3c6993(0x310)]();}}},fo={'type':_0x3abf95['COMMAND'],'id':_0x413924(0x356),async 'handler'(_0x1be5c4,_0x5ecc0c){const _0x263885=_0x413924;if(!_0x5ecc0c||!Tr[_0x263885(0x35f)](_0x5ecc0c[_0x263885(0x272)])||_0x5ecc0c[_0x263885(0x1ac)]!==_0x5ecc0c['unitId']&&_0x5ecc0c[_0x263885(0x272)]!==_0x4a4e33[_0x263885(0x40f)]||_0x5ecc0c[_0x263885(0x415)]&&(![_0x263885(0x2f1),_0x263885(0x1c0),'members'][_0x263885(0x35f)](_0x5ecc0c[_0x263885(0x415)]['edit'])||_0x5ecc0c[_0x263885(0x415)][_0x263885(0x2a7)][_0x263885(0x2e3)](_0x37796a=>!Tr['includes'](_0x37796a[_0x263885(0x272)])||_0x5ecc0c['objectId']!==_0x5ecc0c[_0x263885(0x2b9)]&&_0x37796a[_0x263885(0x272)]!==_0x4a4e33['Edit'])))return!0x1;let _0x4ec54b=Pr(_0x5ecc0c[_0x263885(0x2b9)],_0x5ecc0c['objectId'],_0x5ecc0c['action']),_0x4830aa={'unitId':_0x5ecc0c['unitId'],'objectId':_0x5ecc0c[_0x263885(0x1ac)],'objectType':_0x4ec54b['type']},_0x29949c=_0x1be5c4[_0x263885(0x113)](_0x18e9f8);return _0x5ecc0c[_0x263885(0x44a)]?await _0x29949c[_0x263885(0x44a)](_0x4830aa):_0x5ecc0c[_0x263885(0x415)]?await _0x29949c[_0x263885(0x3de)](_0x4830aa,_0x5ecc0c['policy']):await _0x29949c[_0x263885(0x18d)](_0x4830aa,_0x4ec54b,_0x5ecc0c['value']),!0x0;}},po={'type':_0x3abf95[_0x413924(0x4ab)],'id':_0x413924(0x30d),async 'handler'(_0x30b363,_0x584a01){const _0x8b0125=_0x413924;if(!(_0x584a01!=null&&_0x584a01[_0x8b0125(0x2b9)])||!Array['isArray'](_0x584a01['changes'])||!_0x584a01['changes']['length']||_0x584a01[_0x8b0125(0x326)]['some'](_0x29faa2=>!(_0x29faa2!=null&&_0x29faa2['objectId'])||_0x29faa2[_0x8b0125(0x1ac)]===_0x584a01[_0x8b0125(0x2b9)]||_0x29faa2[_0x8b0125(0x415)]!==null&&(!_0x29faa2[_0x8b0125(0x415)]||![_0x8b0125(0x2f1),_0x8b0125(0x1c0),'members'][_0x8b0125(0x35f)](_0x29faa2[_0x8b0125(0x415)]['edit'])||!Array[_0x8b0125(0x348)](_0x29faa2[_0x8b0125(0x415)][_0x8b0125(0x318)])||!Array[_0x8b0125(0x348)](_0x29faa2[_0x8b0125(0x415)][_0x8b0125(0x2a7)])||_0x29faa2[_0x8b0125(0x415)]['strategies'][_0x8b0125(0x2e3)](_0x28b942=>_0x28b942[_0x8b0125(0x272)]!==_0x4a4e33['Edit']))))throw Error(_0x8b0125(0x1d9));return _0x30b363[_0x8b0125(0x113)](_0x18e9f8)[_0x8b0125(0x41f)](_0x584a01['changes'][_0x8b0125(0x438)](_0x399256=>{const _0xb8dd36=_0x8b0125;let _0x4bfd7c=Pr(_0x584a01[_0xb8dd36(0x2b9)],_0x399256[_0xb8dd36(0x1ac)],_0x4a4e33[_0xb8dd36(0x40f)]);return{'unitId':_0x584a01['unitId'],'objectId':_0x399256[_0xb8dd36(0x1ac)],'objectType':_0x4bfd7c[_0xb8dd36(0x378)],'policy':_0x399256['policy']};}));}};function mo(_0x575567,_0x53b057){const _0x1b0cd1=_0x413924;let _0x374a37=L(_0x285054[_0x1b0cd1(0x1b7)](_0x575567)),_0x2e7402=new Map();return _0x53b057['forEach'](_0x31fde5=>{const _0x195537=_0x1b0cd1;var _0x1f17b3,_0x2b41c4;let _0x1b40b0='recordId'in _0x31fde5?_0x31fde5['recordId']:(_0x1f17b3=_0x374a37['rowId'])==null?void 0x0:_0x1f17b3[_0x31fde5[_0x195537(0x47c)]],_0x4e7fbe=_0x195537(0x1c3)in _0x31fde5?_0x31fde5['fieldId']:(_0x2b41c4=_0x374a37[_0x195537(0x16c)])==null?void 0x0:_0x2b41c4[_0x31fde5[_0x195537(0x44d)]],_0x586081=_0x4e7fbe?_0x374a37['fields'][_0x4e7fbe]:void 0x0;if(!_0x1b40b0||!_0x4e7fbe||!_0x586081||!_0x374a37['records'][_0x1b40b0])return;let _0x14266e=xt(_0x31fde5[_0x195537(0x277)],_0x586081),_0x24aa4e=wt(_0x31fde5[_0x195537(0x277)],_0x14266e,_0x586081,_0x374a37,_0x1b40b0),_0x1b23c3=_0x2e7402[_0x195537(0x113)](_0x1b40b0)??{};_0x1b23c3[_0x4e7fbe]=_0x24aa4e,_0x2e7402[_0x195537(0x404)](_0x1b40b0,_0x1b23c3);}),[..._0x2e7402][_0x1b0cd1(0x438)](([_0x303b9e,_0x5baa66])=>({'recordId':_0x303b9e,'values':_0x5baa66}));}const ho={'id':_0x413924(0x46e),'type':_0x3abf95[_0x413924(0x4ab)],'handler'(_0x103e1e,_0x318993){const _0x202f1e=_0x413924;if(!_0x318993)return!0x1;let _0x16ca24=_0x103e1e[_0x202f1e(0x113)](_0x4de172),{unitId:_0x3660fb,tableId:_0x30065f,patches:_0x4ec811}=_0x318993,_0x3b99bf=_0x16ca24[_0x202f1e(0x365)](_0x3660fb,_0x1a4689[_0x202f1e(0x413)]);if(!_0x3b99bf||!$(_0x3b99bf,_0x30065f))return!0x1;let _0x37d26d=_0x103e1e['get'](_0x4c2cb1),_0x9eea6c=_0x103e1e[_0x202f1e(0x113)](_0xb7e499),_0x29cede=_0x3b99bf[_0x202f1e(0x460)](),_0x422e7a=L(_0x29cede[_0x202f1e(0x28d)][_0x30065f]),_0x174d37=_0x4ec811['map'](_0x17f8b1=>{const _0x48ead1=_0x202f1e;var _0x59e7c7;return _0x48ead1(0x170)in _0x17f8b1?_0x17f8b1[_0x48ead1(0x170)]:(_0x59e7c7=_0x422e7a['rowId'])==null?void 0x0:_0x59e7c7[_0x17f8b1[_0x48ead1(0x47c)]];})[_0x202f1e(0x457)](_0x344898=>_0x344898!=null),_0x159555=_0x4ec811[_0x202f1e(0x438)](_0x286495=>{const _0x401c35=_0x202f1e;var _0x4ccc52;return _0x401c35(0x1c3)in _0x286495?_0x286495[_0x401c35(0x1c3)]:(_0x4ccc52=_0x422e7a[_0x401c35(0x16c)])==null?void 0x0:_0x4ccc52[_0x286495[_0x401c35(0x44d)]];})[_0x202f1e(0x457)](_0x420948=>_0x420948!=null);if(_0x174d37[_0x202f1e(0x4be)]!==_0x4ec811[_0x202f1e(0x4be)]||_0x159555['length']!==_0x4ec811['length']||!$(_0x3b99bf,_0x30065f,{'recordIds':_0x174d37,'fieldIds':_0x159555})||_0x4ec811['some']((_0x50a2c0,_0x1579fa)=>!ga(_0x3b99bf,_0x30065f,_0x159555[_0x1579fa],_0x50a2c0[_0x202f1e(0x277)])))return!0x1;let _0x8bfd09=Ze(_0x422e7a,mo(_0x422e7a,_0x4ec811)),_0x5a4912=_0x4ec811[_0x202f1e(0x4ac)](_0x48be71=>{const _0x4130c5=_0x202f1e;var _0x54b888,_0x39ae1b;if(_0x4130c5(0x47c)in _0x48be71)return[_0x48be71];let _0x4c795f=(_0x54b888=_0x422e7a['rowIndex'])==null?void 0x0:_0x54b888[_0x48be71[_0x4130c5(0x170)]],_0x2b549a=(_0x39ae1b=_0x422e7a[_0x4130c5(0x4a2)])==null?void 0x0:_0x39ae1b[_0x48be71[_0x4130c5(0x1c3)]];return _0x4c795f==null||_0x2b549a==null?[]:[{'row':_0x4c795f,'col':_0x2b549a,'value':_0x48be71[_0x4130c5(0x277)]}];}),_0x5d43c8=new W()[_0x202f1e(0x153)](_0x29cede,_0x30065f,_0x5a4912),_0x415213=new z()['invertOp'](_0x29cede,_0x5d43c8),_0x10702c={'unitId':_0x3660fb,'op':_0x5d43c8,'trigger':_0x8bfd09['length']?ho['id']:void 0x0,'hierarchyChanges':_0x8bfd09['length']?_0x8bfd09:void 0x0,'source':_0x8bfd09[_0x202f1e(0x4be)]?_0x202f1e(0x229):void 0x0},_0x336d1c={'unitId':_0x3660fb,'op':_0x415213,'trigger':_0x8bfd09[_0x202f1e(0x4be)]?ho['id']:void 0x0,'hierarchyChanges':_0x8bfd09[_0x202f1e(0x4be)]?_0x8bfd09[_0x202f1e(0x438)](_0x478836=>({..._0x478836,'oldParentRecordId':_0x478836[_0x202f1e(0x3e4)],'parentRecordId':_0x478836[_0x202f1e(0x4da)]})):void 0x0,'source':_0x8bfd09[_0x202f1e(0x4be)]?_0x202f1e(0x36d):void 0x0},_0x11774c={..._0x10702c,'source':_0x8bfd09[_0x202f1e(0x4be)]?_0x318993[_0x202f1e(0x18f)]??'ui':void 0x0};return _0x37d26d['syncExecuteCommand'](Q['id'],_0x11774c)?(_0x16ca24[_0x202f1e(0x428)](_0x3660fb),_0x9eea6c[_0x202f1e(0x23f)]({'unitID':_0x3660fb,'undoMutations':[{'id':Q['id'],'params':_0x336d1c}],'redoMutations':[{'id':Q['id'],'params':_0x10702c}]}),!0x0):!0x1;}},go={'id':'base.command.set-base-record-values','type':_0x3abf95['COMMAND'],'handler'(_0x19eadb,_0x3f4e78){const _0x53bd15=_0x413924;if(!_0x3f4e78)return!0x1;let _0x55805b=_0x19eadb[_0x53bd15(0x113)](_0x4de172),{unitId:_0x2f2816,tableId:_0x2075bb,patches:_0x32255c}=_0x3f4e78,_0x21e0ad=_0x55805b[_0x53bd15(0x365)](_0x2f2816,_0x1a4689[_0x53bd15(0x413)]),_0x32ed0e=_0x32255c[_0x53bd15(0x438)](_0x15d7b9=>_0x15d7b9[_0x53bd15(0x170)]),_0x55c366=_0x32255c[_0x53bd15(0x4ac)](_0x36c5f1=>Object['keys'](_0x36c5f1[_0x53bd15(0x4ae)]));if(!_0x21e0ad||!$(_0x21e0ad,_0x2075bb,{'recordIds':_0x32ed0e,'fieldIds':_0x55c366})||_0x32255c[_0x53bd15(0x2e3)](_0x20834d=>Object[_0x53bd15(0x391)](_0x20834d[_0x53bd15(0x4ae)])[_0x53bd15(0x2e3)](([_0xc24e39,_0xca1e25])=>!ga(_0x21e0ad,_0x2075bb,_0xc24e39,_0xca1e25))))return!0x1;let _0x26cb10=Ze(_0x21e0ad[_0x53bd15(0x460)]()[_0x53bd15(0x28d)][_0x2075bb],_0x32255c),_0x170a27=_0x19eadb[_0x53bd15(0x113)](_0x4c2cb1),_0x15acdd=_0x19eadb['get'](_0xb7e499),_0x51ebc0=_0x19eadb['get'](Kr)['createSetRecordValuesOp'](_0x21e0ad,_0x2075bb,_0x32255c),_0x4f4aca=new z()['invertOp'](_0x21e0ad[_0x53bd15(0x460)](),_0x51ebc0),_0x4c7b5a={'unitId':_0x2f2816,'op':_0x51ebc0,'trigger':_0x26cb10[_0x53bd15(0x4be)]?go['id']:void 0x0,'hierarchyChanges':_0x26cb10[_0x53bd15(0x4be)]?_0x26cb10:void 0x0,'source':_0x26cb10[_0x53bd15(0x4be)]?_0x3f4e78[_0x53bd15(0x18f)]??'ui':void 0x0},_0x5a8545={..._0x4c7b5a,'source':_0x26cb10[_0x53bd15(0x4be)]?_0x53bd15(0x229):void 0x0},_0x11eadd={'unitId':_0x2f2816,'op':_0x4f4aca,'trigger':_0x26cb10['length']?go['id']:void 0x0,'hierarchyChanges':_0x26cb10[_0x53bd15(0x4be)]?_0x26cb10[_0x53bd15(0x438)](_0x1ed202=>({..._0x1ed202,'oldParentRecordId':_0x1ed202['parentRecordId'],'parentRecordId':_0x1ed202[_0x53bd15(0x4da)]})):void 0x0,'source':_0x26cb10[_0x53bd15(0x4be)]?_0x53bd15(0x36d):void 0x0};return _0x170a27[_0x53bd15(0x328)](Q['id'],_0x4c7b5a)?(_0x55805b[_0x53bd15(0x428)](_0x2f2816),_0x15acdd['pushUndoRedo']({'unitID':_0x2f2816,'undoMutations':[{'id':Q['id'],'params':_0x11eadd}],'redoMutations':[{'id':Q['id'],'params':_0x5a8545}]}),!0x0):!0x1;}},_o={'id':_0x413924(0x3b8),'type':_0x3abf95[_0x413924(0x4ab)],'handler':(_0x4d0b3c,_0x1c6645)=>{const _0x42bab7=_0x413924;if(!_0x1c6645)return!0x1;let {unitId:_0x1ca684,tableId:_0x1f22d1,fieldId:_0x1cff1d}=_0x1c6645,_0x1d76ac=_0x4d0b3c[_0x42bab7(0x113)](_0x4de172),_0x35e5bf=_0x1d76ac[_0x42bab7(0x365)](_0x1ca684,_0x1a4689['UNIVER_BASE']);if(!_0x35e5bf||!$(_0x35e5bf,_0x1f22d1))return!0x1;let _0x5f4918=_0x35e5bf[_0x42bab7(0x460)](),_0x515f30=_0x5f4918[_0x42bab7(0x28d)][_0x1f22d1];if(_0x1cff1d!==null&&!F(_0x515f30,_0x1cff1d))throw new P('invalidField');if(qe(_0x515f30)===_0x1cff1d)return!0x0;let _0x289082=new W(),_0x3f5aec=R(Object[_0x42bab7(0x4ae)](_0x515f30[_0x42bab7(0x175)])[_0x42bab7(0x4ac)](_0x57bf1f=>{const _0x2928dd=_0x42bab7;if(!F(_0x515f30,_0x57bf1f['id']))return[];let _0x51a03e=N(_0x57bf1f);if(!_0x51a03e)return[];let _0x201f34=_0x57bf1f['id']===_0x1cff1d;if(_0x51a03e[_0x2928dd(0x455)]===_0x169931['Parent']===_0x201f34)return[];let _0x289b5b={..._0x57bf1f['config'],'targetTableId':_0x51a03e[_0x2928dd(0x4a8)],'multiple':_0x51a03e['multiple']};return _0x201f34?_0x289b5b[_0x2928dd(0x455)]=_0x169931[_0x2928dd(0x4d6)]:delete _0x289b5b[_0x2928dd(0x455)],[_0x289082[_0x2928dd(0x29c)](_0x5f4918,_0x1f22d1,_0x57bf1f['id'],{'config':_0x289b5b})];})),_0x4d2f3b=new z()['invertOp'](_0x5f4918,_0x3f5aec),_0x361c04={'unitId':_0x1ca684,'op':_0x3f5aec},_0x5c8946={'unitId':_0x1ca684,'op':_0x4d2f3b};return _0x4d0b3c[_0x42bab7(0x113)](_0x4c2cb1)['syncExecuteCommand'](Q['id'],_0x361c04)?(_0x1d76ac[_0x42bab7(0x428)](_0x1ca684),_0x4d0b3c[_0x42bab7(0x113)](_0xb7e499)[_0x42bab7(0x23f)]({'unitID':_0x1ca684,'undoMutations':[{'id':Q['id'],'params':_0x5c8946}],'redoMutations':[{'id':Q['id'],'params':_0x361c04}]}),!0x0):!0x1;}},vo={'id':'base.command.set-base-view-field-order','type':_0x3abf95[_0x413924(0x4ab)],'handler':(_0x44cebd,_0x19f709)=>{const _0x385dd2=_0x413924;if(!_0x19f709)return!0x1;let _0x229a07=_0x44cebd[_0x385dd2(0x113)](_0x4de172),{unitId:_0x381e3c,tableId:_0x948b99,viewId:_0x4f1679,fieldId:_0x3fafd8,target:_0x38f457}=_0x19f709,_0x5c444f=_0x229a07['getUnit'](_0x381e3c,_0x1a4689[_0x385dd2(0x413)]),_0x220180=_0x38f457[_0x385dd2(0x28b)]??_0x38f457['afterFieldId'];if(!_0x5c444f||!_0x220180||_0x220180===_0x3fafd8||!$(_0x5c444f,_0x948b99,{'viewIds':[_0x4f1679],'fieldIds':[_0x3fafd8,_0x220180]}))return!0x1;let _0xbf6e5f=_0x5c444f['getSnapshot']()[_0x385dd2(0x28d)][_0x948b99],_0xa000a3=_0xbf6e5f['fields'][_0x3fafd8],_0x5bb441=_0xbf6e5f['fields'][_0x220180];if(_0xa000a3['system']===!0x0||_0xa000a3['type']===_0x39ba8f[_0x385dd2(0x216)]||_0x5bb441[_0x385dd2(0x22f)]===!0x0||_0x5bb441['type']===_0x39ba8f[_0x385dd2(0x216)])return!0x1;let _0xc1559f=_0x44cebd['get'](_0x4c2cb1),_0x17ca47=_0x44cebd['get'](_0xb7e499),_0x22bd6f=_0x5c444f['getSnapshot'](),_0x985095=new W()[_0x385dd2(0x22c)](_0x22bd6f,_0x948b99,_0x4f1679,_0x3fafd8,_0x38f457),_0x2ebab7=new z()[_0x385dd2(0x447)](_0x22bd6f,_0x985095),_0x8e0b7b={'unitId':_0x381e3c,'op':_0x985095},_0x378882={'unitId':_0x381e3c,'op':_0x2ebab7};return _0xc1559f['syncExecuteCommand'](Q['id'],_0x8e0b7b)?(_0x229a07[_0x385dd2(0x428)](_0x381e3c),_0x17ca47[_0x385dd2(0x23f)]({'unitID':_0x381e3c,'undoMutations':[{'id':Q['id'],'params':_0x378882}],'redoMutations':[{'id':Q['id'],'params':_0x8e0b7b}]}),!0x0):!0x1;}},yo={'id':_0x413924(0x34b),'type':_0x3abf95[_0x413924(0x4ab)],'handler'(_0x5ea3a2,_0x3bb83c){const _0x1fb0b3=_0x413924;if(!_0x3bb83c)return!0x1;let _0x235d32=_0x5ea3a2['get'](_0x4de172),{unitId:_0x4bbcce,tableId:_0x2b2adb,viewId:_0x44b3ed,fieldId:_0x4824c3,visible:_0x3aa86c}=_0x3bb83c,_0x53e490=_0x235d32[_0x1fb0b3(0x365)](_0x4bbcce,_0x1a4689[_0x1fb0b3(0x413)]);if(!_0x53e490||!$(_0x53e490,_0x2b2adb,{'viewIds':[_0x44b3ed],'fieldIds':[_0x4824c3]}))return!0x1;let _0x14992c=_0x53e490['getSnapshot']()[_0x1fb0b3(0x28d)][_0x2b2adb][_0x1fb0b3(0x175)][_0x4824c3];if(_0x14992c['system']===!0x0||_0x14992c[_0x1fb0b3(0x378)]===_0x39ba8f['RecordId'])return!0x1;let _0x4765f7=_0x5ea3a2['get'](_0x4c2cb1),_0x3057d4=_0x5ea3a2[_0x1fb0b3(0x113)](_0xb7e499),_0x13fdbd=_0x53e490[_0x1fb0b3(0x460)](),_0x5796a6=new W()['setViewFieldVisible'](_0x13fdbd,_0x2b2adb,_0x44b3ed,_0x4824c3,_0x3aa86c),_0xf2e08a=new z()[_0x1fb0b3(0x447)](_0x13fdbd,_0x5796a6),_0x18dc9d={'unitId':_0x4bbcce,'op':_0x5796a6},_0x54a385={'unitId':_0x4bbcce,'op':_0xf2e08a};return _0x4765f7[_0x1fb0b3(0x328)](Q['id'],_0x18dc9d)?(_0x235d32['focusUnit'](_0x4bbcce),_0x3057d4[_0x1fb0b3(0x23f)]({'unitID':_0x4bbcce,'undoMutations':[{'id':Q['id'],'params':_0x54a385}],'redoMutations':[{'id':Q['id'],'params':_0x18dc9d}]}),!0x0):!0x1;}},bo={'id':_0x413924(0x4c5),'type':_0x3abf95['COMMAND'],'handler':(_0x5012e6,_0x59cd1d)=>{const _0x59342c=_0x413924;if(!_0x59cd1d)return!0x1;let _0x120ad2=_0x5012e6[_0x59342c(0x113)](_0x4de172),{unitId:_0x4774ce,tableId:_0xba4ebe,viewId:_0x3d0e9c,fieldId:_0x4dfeaf,width:_0x4bde22}=_0x59cd1d,_0x13b795=_0x120ad2['getUnit'](_0x4774ce,_0x1a4689[_0x59342c(0x413)]);if(!_0x13b795||!$(_0x13b795,_0xba4ebe,{'viewIds':[_0x3d0e9c],'fieldIds':[_0x4dfeaf]}))return!0x1;let _0x1214f2=_0x13b795[_0x59342c(0x460)]()[_0x59342c(0x28d)][_0xba4ebe]['fields'][_0x4dfeaf];if(_0x1214f2[_0x59342c(0x22f)]===!0x0||_0x1214f2['type']===_0x39ba8f['RecordId'])return!0x1;let _0x400fed=_0x5012e6[_0x59342c(0x113)](_0x4c2cb1),_0x2c6169=_0x5012e6['get'](_0xb7e499),_0x548096=_0x13b795[_0x59342c(0x460)](),_0x4ea2e2=new W()['setViewFieldWidth'](_0x548096,_0xba4ebe,_0x3d0e9c,_0x4dfeaf,_0x4bde22),_0x9177c7=new z()[_0x59342c(0x447)](_0x548096,_0x4ea2e2),_0x1496fd={'unitId':_0x4774ce,'op':_0x4ea2e2},_0x235773={'unitId':_0x4774ce,'op':_0x9177c7};return _0x400fed[_0x59342c(0x328)](Q['id'],_0x1496fd)?(_0x120ad2[_0x59342c(0x428)](_0x4774ce),_0x2c6169[_0x59342c(0x23f)]({'unitID':_0x4774ce,'undoMutations':[{'id':Q['id'],'params':_0x235773}],'redoMutations':[{'id':Q['id'],'params':_0x1496fd}]}),!0x0):!0x1;}},xo={'id':_0x413924(0x2a3),'type':_0x3abf95[_0x413924(0x4ab)],'handler':(_0x41ef42,_0x6df81d)=>{const _0x5d2301=_0x413924;if(!_0x6df81d)return!0x1;let _0x21fa24=_0x41ef42[_0x5d2301(0x113)](_0x4de172),{unitId:_0x32b2e2,tableId:_0x58176e,viewId:_0x1a575c,filter:_0x501245}=_0x6df81d,_0x5435d7=_0x21fa24[_0x5d2301(0x365)](_0x32b2e2,_0x1a4689[_0x5d2301(0x413)]),_0x91ef9=(_0x501245==null?void 0x0:_0x501245[_0x5d2301(0x31c)][_0x5d2301(0x438)](_0x1dd7b1=>_0x1dd7b1[_0x5d2301(0x1c3)]))??[];if(!_0x5435d7||!$(_0x5435d7,_0x58176e,{'viewIds':[_0x1a575c],'fieldIds':_0x91ef9}))return!0x1;let _0x3169ac=_0x41ef42[_0x5d2301(0x113)](_0x4c2cb1),_0x85134a=_0x41ef42[_0x5d2301(0x113)](_0xb7e499),_0x5932d1=_0x5435d7[_0x5d2301(0x460)](),_0xa13e0c=new W()['setViewFilter'](_0x5932d1,_0x58176e,_0x1a575c,_0x501245),_0x501fbf=new z()[_0x5d2301(0x447)](_0x5932d1,_0xa13e0c),_0x1d448d={'unitId':_0x32b2e2,'op':_0xa13e0c},_0x4d4599={'unitId':_0x32b2e2,'op':_0x501fbf};return _0x3169ac[_0x5d2301(0x328)](Q['id'],_0x1d448d)?(_0x21fa24[_0x5d2301(0x428)](_0x32b2e2),_0x85134a[_0x5d2301(0x23f)]({'unitID':_0x32b2e2,'undoMutations':[{'id':Q['id'],'params':_0x4d4599}],'redoMutations':[{'id':Q['id'],'params':_0x1d448d}]}),!0x0):!0x1;}},So={'id':'base.command.set-base-view-group','type':_0x3abf95[_0x413924(0x4ab)],'handler':(_0x10cc4a,_0x3d4f72)=>{const _0x5e2998=_0x413924;if(!_0x3d4f72)return!0x1;let _0x4ff876=_0x10cc4a['get'](_0x4de172),{unitId:_0x3b7b11,tableId:_0x2569c9,viewId:_0x1f3954,group:_0x11d574}=_0x3d4f72,_0x1a2f84=_0x4ff876[_0x5e2998(0x365)](_0x3b7b11,_0x1a4689[_0x5e2998(0x413)]);if(!_0x1a2f84||!$(_0x1a2f84,_0x2569c9,{'viewIds':[_0x1f3954],'fieldIds':_0x11d574['map'](_0x1199a2=>_0x1199a2['fieldId'])}))return!0x1;let _0x4baab7=_0x10cc4a[_0x5e2998(0x113)](_0x4c2cb1),_0x4658ae=_0x10cc4a[_0x5e2998(0x113)](_0xb7e499),_0x5f06ae=_0x1a2f84['getSnapshot'](),_0x18e340=new W()[_0x5e2998(0x2e5)](_0x5f06ae,_0x2569c9,_0x1f3954,_0x11d574),_0xf66d05=new z()['invertOp'](_0x5f06ae,_0x18e340),_0xf5722e={'unitId':_0x3b7b11,'op':_0x18e340},_0x1b894e={'unitId':_0x3b7b11,'op':_0xf66d05};return _0x4baab7[_0x5e2998(0x328)](Q['id'],_0xf5722e)?(_0x4ff876[_0x5e2998(0x428)](_0x3b7b11),_0x4658ae[_0x5e2998(0x23f)]({'unitID':_0x3b7b11,'undoMutations':[{'id':Q['id'],'params':_0x1b894e}],'redoMutations':[{'id':Q['id'],'params':_0xf5722e}]}),!0x0):!0x1;}},Co={'id':_0x413924(0x238),'type':_0x3abf95[_0x413924(0x4ab)],'handler':(_0x4f5e57,_0x33b206)=>{const _0x39e69c=_0x413924;if(!_0x33b206)return!0x1;let _0x5aaac2=_0x4f5e57[_0x39e69c(0x113)](_0x4de172),{unitId:_0x3b890f,tableId:_0x2ec1fa,viewId:_0x35ca83,sort:_0x5d0010}=_0x33b206,_0x454893=_0x5aaac2[_0x39e69c(0x365)](_0x3b890f,_0x1a4689[_0x39e69c(0x413)]);if(!_0x454893||!$(_0x454893,_0x2ec1fa,{'viewIds':[_0x35ca83],'fieldIds':_0x5d0010[_0x39e69c(0x438)](_0x5078bc=>_0x5078bc[_0x39e69c(0x1c3)])}))return!0x1;let _0x450e8f=_0x4f5e57[_0x39e69c(0x113)](_0x4c2cb1),_0x5c072d=_0x4f5e57[_0x39e69c(0x113)](_0xb7e499),_0x11a6d3=_0x454893[_0x39e69c(0x460)](),_0x3e8de6=new W()[_0x39e69c(0x329)](_0x11a6d3,_0x2ec1fa,_0x35ca83,_0x5d0010),_0x46bb48=new z()[_0x39e69c(0x447)](_0x11a6d3,_0x3e8de6),_0x584688={'unitId':_0x3b890f,'op':_0x3e8de6},_0xa37ee5={'unitId':_0x3b890f,'op':_0x46bb48};return _0x450e8f[_0x39e69c(0x328)](Q['id'],_0x584688)?(_0x5aaac2[_0x39e69c(0x428)](_0x3b890f),_0x5c072d[_0x39e69c(0x23f)]({'unitID':_0x3b890f,'undoMutations':[{'id':Q['id'],'params':_0xa37ee5}],'redoMutations':[{'id':Q['id'],'params':_0x584688}]}),!0x0):!0x1;}},wo={'id':_0x413924(0x32c),'type':_0x3abf95['COMMAND'],'handler'(_0x3cb3e1,_0xb7cdb1){const _0x58fff9=_0x413924;if(!_0xb7cdb1)return!0x1;let _0x34d230=_0x3cb3e1[_0x58fff9(0x113)](_0x4de172),{unitId:_0x2177f8,tableId:_0x4673b3,recordId:_0x1a786d,fieldId:_0x1350b4,value:_0xb153a}=_0xb7cdb1,_0x2cd00b=_0x34d230['getUnit'](_0x2177f8,_0x1a4689[_0x58fff9(0x413)]);if(!_0x2cd00b||!$(_0x2cd00b,_0x4673b3,{'recordIds':[_0x1a786d],'fieldIds':[_0x1350b4]})||!ga(_0x2cd00b,_0x4673b3,_0x1350b4,_0xb153a))return!0x1;let _0x206852=_0x2cd00b['getSnapshot']()[_0x58fff9(0x28d)][_0x4673b3],_0x5c1a26=F(_0x206852,_0x1350b4)&&Xe(_0x206852)[_0x58fff9(0x35f)](_0x1350b4),_0x2c56e5=_0x5c1a26?tt(_0x206852,_0x1350b4):null,_0x1f56c3=(_0x2c56e5==null?void 0x0:_0x2c56e5[_0x58fff9(0x430)][_0x58fff9(0x113)](_0x1a786d))??null,_0x553832=_0x5c1a26?Le(_0xb153a)[0x0]??null:null;if(_0x2c56e5){if(_0x553832&&!_0x206852['records'][_0x553832])throw new P(_0x58fff9(0x3ca));let _0x390b1c=it(_0x2c56e5,_0x1a786d,_0x553832);if(!_0x390b1c[_0x58fff9(0x3e2)])throw new P(_0x390b1c[_0x58fff9(0x24f)]===_0x1b786b['SelfParent']?_0x58fff9(0x330):_0x390b1c[_0x58fff9(0x24f)]===_0x1b786b[_0x58fff9(0x2a6)]?_0x58fff9(0x1dd):_0x58fff9(0x261));}let _0x3c8c06=_0x3cb3e1[_0x58fff9(0x113)](_0x4c2cb1),_0x55e77f=_0x3cb3e1['get'](_0xb7e499),_0x333554=_0x3cb3e1[_0x58fff9(0x113)](Kr),_0xf48c05;try{_0xf48c05=_0x333554['createUpdateCellOp'](_0x2cd00b,_0x4673b3,_0x1a786d,_0x1350b4,_0xb153a);}catch(_0x325210){return console[_0x58fff9(0x221)](_0x58fff9(0x133),_0x325210),!0x1;}let _0x1c753a=new z()[_0x58fff9(0x447)](_0x2cd00b['getSnapshot'](),_0xf48c05),_0x26044f=_0x5c1a26&&_0x1f56c3!==_0x553832?[{'tableId':_0x4673b3,'fieldId':_0x1350b4,'recordId':_0x1a786d,'oldParentRecordId':_0x1f56c3,'parentRecordId':_0x553832}]:void 0x0,_0x3cef58={'unitId':_0x2177f8,'op':_0xf48c05,'trigger':_0x26044f?wo['id']:void 0x0,'hierarchyChanges':_0x26044f,'source':_0x26044f?_0xb7cdb1[_0x58fff9(0x18f)]??'ui':void 0x0},_0x23e677={..._0x3cef58,'source':_0x26044f?_0x58fff9(0x229):void 0x0},_0x1a57e9={'unitId':_0x2177f8,'op':_0x1c753a,'trigger':_0x26044f?wo['id']:void 0x0,'hierarchyChanges':_0x26044f==null?void 0x0:_0x26044f['map'](_0x373a84=>({..._0x373a84,'oldParentRecordId':_0x373a84[_0x58fff9(0x3e4)],'parentRecordId':_0x373a84['oldParentRecordId']})),'source':_0x26044f?_0x58fff9(0x36d):void 0x0};return _0x3c8c06['syncExecuteCommand'](Q['id'],_0x3cef58)?(_0x34d230[_0x58fff9(0x428)](_0x2177f8),_0x55e77f[_0x58fff9(0x23f)]({'unitID':_0x2177f8,'undoMutations':[{'id':Q['id'],'params':_0x1a57e9}],'redoMutations':[{'id':Q['id'],'params':_0x23e677}]}),!0x0):!0x1;}},To={'id':_0x413924(0x49a),'type':_0x3abf95[_0x413924(0x4ab)],'handler'(_0x5c28db,_0x4c8c7c){const _0x1d57aa=_0x413924;if(!_0x4c8c7c)return!0x1;let _0x1a8ffb=_0x5c28db[_0x1d57aa(0x113)](_0x4de172),{unitId:_0x2126eb,tableId:_0x181055,fieldId:_0x2d31a5}=_0x4c8c7c,_0x1036ab=_0x1a8ffb[_0x1d57aa(0x365)](_0x2126eb,_0x1a4689[_0x1d57aa(0x413)]);if(!_0x1036ab||!$(_0x1036ab,_0x181055,{'fieldIds':[_0x2d31a5]}))return!0x1;let _0x35b2e6=_0x5c28db['get'](_0x4c2cb1),_0x5da656=_0x5c28db[_0x1d57aa(0x113)](_0xb7e499),_0x1537c7=_0x1036ab[_0x1d57aa(0x460)](),_0x1860af=_0x4c8c7c[_0x1d57aa(0x4d8)][_0x1d57aa(0x401)](),_0x2a9391=new W()[_0x1d57aa(0x29c)](_0x1537c7,_0x181055,_0x2d31a5,{'description':_0x1860af}),_0x3ba804=new z()['invertOp'](_0x1036ab['getSnapshot'](),_0x2a9391),_0x1865b5={'unitId':_0x2126eb,'op':_0x2a9391},_0x5e2672={'unitId':_0x2126eb,'op':_0x3ba804};return _0x35b2e6[_0x1d57aa(0x328)](Q['id'],_0x1865b5)?(_0x1a8ffb[_0x1d57aa(0x428)](_0x2126eb),_0x5da656[_0x1d57aa(0x23f)]({'unitID':_0x2126eb,'undoMutations':[{'id':Q['id'],'params':_0x5e2672}],'redoMutations':[{'id':Q['id'],'params':_0x1865b5}]}),!0x0):!0x1;}},Eo={'id':_0x413924(0x11f),'type':_0x3abf95[_0x413924(0x4ab)],'handler':(_0x2ada04,_0x28b86a)=>{const _0x33fc67=_0x413924;if(!_0x28b86a)return!0x1;let _0x2ac1dd=_0x2ada04[_0x33fc67(0x113)](_0x4de172),{unitId:_0x1166d6,tableId:_0x2b3f94,fieldId:_0x3024d4,patch:_0x62bc3e}=_0x28b86a,_0x4dd652=_0x2ac1dd[_0x33fc67(0x365)](_0x1166d6,_0x1a4689[_0x33fc67(0x413)]);if(!_0x4dd652||_0x3024d4===_0x3f46af||!$(_0x4dd652,_0x2b3f94,{'fieldIds':[_0x3024d4]}))return!0x1;let _0x166760=_0x2ada04[_0x33fc67(0x113)](_0x4c2cb1),_0x4d59c6=_0x2ada04[_0x33fc67(0x113)](_0xb7e499),_0x4c69e8=_0x4dd652[_0x33fc67(0x460)]();if(!ha(_0x4dd652,_0x2b3f94,{..._0x4c69e8[_0x33fc67(0x28d)][_0x2b3f94][_0x33fc67(0x175)][_0x3024d4],..._0x62bc3e}))return!0x1;let _0x54f92d=new W()['updateField'](_0x4c69e8,_0x2b3f94,_0x3024d4,_0x62bc3e),_0x1c3728=new z()[_0x33fc67(0x447)](_0x4c69e8,_0x54f92d),_0x5a0159={'unitId':_0x1166d6,'op':_0x54f92d},_0x12f966={'unitId':_0x1166d6,'op':_0x1c3728};return _0x166760[_0x33fc67(0x328)](Q['id'],_0x5a0159)?(_0x2ac1dd[_0x33fc67(0x428)](_0x1166d6),_0x4d59c6[_0x33fc67(0x23f)]({'unitID':_0x1166d6,'undoMutations':[{'id':Q['id'],'params':_0x12f966}],'redoMutations':[{'id':Q['id'],'params':_0x5a0159}]}),!0x0):!0x1;}},Do={'id':_0x413924(0x1cd),'type':_0x3abf95['COMMAND'],'handler':(_0x5990b1,_0x1e10f1)=>{const _0x537acc=_0x413924;if(!_0x1e10f1)return!0x1;let _0x599168=_0x5990b1[_0x537acc(0x113)](_0x4de172),{unitId:_0x28dd64,tableId:_0x10a13b,viewId:_0x23c415,patch:_0x391029}=_0x1e10f1,_0x355b5f=_0x599168[_0x537acc(0x365)](_0x28dd64,_0x1a4689[_0x537acc(0x413)]);if(!_0x355b5f||!$(_0x355b5f,_0x10a13b,{'viewIds':[_0x23c415]}))return!0x1;let _0x250969=_0x5990b1[_0x537acc(0x113)](_0x4c2cb1),_0x251887=_0x5990b1[_0x537acc(0x113)](_0xb7e499),_0x370958=_0x355b5f[_0x537acc(0x460)](),_0x78aa26=new W()[_0x537acc(0x2f8)](_0x370958,_0x10a13b,_0x23c415,_0x391029),_0x5a7966=new z()[_0x537acc(0x447)](_0x370958,_0x78aa26),_0x26e67b={'unitId':_0x28dd64,'op':_0x78aa26},_0x56d9e4={'unitId':_0x28dd64,'op':_0x5a7966};return _0x250969[_0x537acc(0x328)](Q['id'],_0x26e67b)?(_0x599168[_0x537acc(0x428)](_0x28dd64),_0x251887[_0x537acc(0x23f)]({'unitID':_0x28dd64,'undoMutations':[{'id':Q['id'],'params':_0x56d9e4}],'redoMutations':[{'id':Q['id'],'params':_0x26e67b}]}),!0x0):!0x1;}},Oo={'id':_0x413924(0x17a),'type':_0x3abf95[_0x413924(0x4ab)],'handler':(_0x144c1d,_0xd5707f)=>{const _0x597bf6=_0x413924;if(!_0xd5707f)return!0x1;let _0xc3b7bf=_0x144c1d['get'](_0x4de172),{unitId:_0x5aff4a,tableId:_0x591d65,recordId:_0x1ca7eb,orderKey:_0x6ab1fb}=_0xd5707f,_0x18cc61=_0xc3b7bf['getUnit'](_0x5aff4a,_0x1a4689['UNIVER_BASE']);if(!_0x18cc61||!$(_0x18cc61,_0x591d65,{'recordIds':[_0x1ca7eb]}))return!0x1;let _0x55041b=_0x144c1d[_0x597bf6(0x113)](_0x4c2cb1),_0x21c41c=_0x144c1d[_0x597bf6(0x113)](_0xb7e499),_0x5a1229=_0x18cc61['getSnapshot'](),_0x1f47db=new W()['updateRecordOrder'](_0x5a1229,_0x591d65,_0x1ca7eb,_0x6ab1fb),_0x420849=new z()['invertOp'](_0x5a1229,_0x1f47db),_0x27d952={'unitId':_0x5aff4a,'op':_0x1f47db},_0xfcd1c0={'unitId':_0x5aff4a,'op':_0x420849};return _0x55041b[_0x597bf6(0x328)](Q['id'],_0x27d952)?(_0xc3b7bf['focusUnit'](_0x5aff4a),_0x21c41c[_0x597bf6(0x23f)]({'unitID':_0x5aff4a,'undoMutations':[{'id':Q['id'],'params':_0xfcd1c0}],'redoMutations':[{'id':Q['id'],'params':_0x27d952}]}),!0x0):!0x1;}};let ko=function(_0x4a3901){const _0x2d5928=_0x413924;return _0x4a3901[_0x2d5928(0x313)]=_0x2d5928(0x404),_0x4a3901[_0x2d5928(0x34a)]=_0x2d5928(0x4c2),_0x4a3901[_0x2d5928(0x4c4)]=_0x2d5928(0x4a1),_0x4a3901[_0x2d5928(0x353)]=_0x2d5928(0x214),_0x4a3901;}({});const Ao={'id':_0x413924(0x164),'type':_0x3abf95['COMMAND'],'handler':(_0x209278,_0x563d42)=>{const _0x5914f9=_0x413924;var _0xe2b82b;if(!_0x563d42)return!0x1;let _0x38e0aa=_0x209278['get'](_0x4de172),_0x170028=_0x38e0aa[_0x5914f9(0x365)](_0x563d42[_0x5914f9(0x2b9)],_0x1a4689[_0x5914f9(0x413)]);if(!_0x170028||!$(_0x170028,_0x563d42[_0x5914f9(0x2ca)],{'viewIds':[_0x563d42['viewId']]}))return!0x1;let _0x2ed072=_0x170028[_0x5914f9(0x460)](),_0x10ee4e=_0x2ed072[_0x5914f9(0x28d)][_0x563d42[_0x5914f9(0x2ca)]],_0x5185d3=jo(((_0xe2b82b=_0x10ee4e[_0x5914f9(0x379)][_0x563d42[_0x5914f9(0x297)]]['config'][_0x5914f9(0x4b9)])==null?void 0x0:_0xe2b82b[_0x5914f9(0x2d5)])??[],_0x563d42);if(!_0x5185d3)return!0x1;Mo(_0x10ee4e,_0x5185d3);let _0xfd3379=new W()[_0x5914f9(0x2f8)](_0x2ed072,_0x563d42[_0x5914f9(0x2ca)],_0x563d42[_0x5914f9(0x297)],{'conditionalColoring':_0x5185d3['length']?{'rules':_0x5185d3}:null}),_0x297905=new z()['invertOp'](_0x2ed072,_0xfd3379),_0x10e298={'unitId':_0x563d42['unitId'],'op':_0xfd3379},_0x28c05b={'unitId':_0x563d42[_0x5914f9(0x2b9)],'op':_0x297905};return _0x209278[_0x5914f9(0x113)](_0x4c2cb1)[_0x5914f9(0x328)](Q['id'],_0x10e298)?(_0x38e0aa[_0x5914f9(0x428)](_0x563d42['unitId']),_0x209278[_0x5914f9(0x113)](_0xb7e499)['pushUndoRedo']({'unitID':_0x563d42[_0x5914f9(0x2b9)],'undoMutations':[{'id':Q['id'],'params':_0x28c05b}],'redoMutations':[{'id':Q['id'],'params':_0x10e298}]}),!0x0):!0x1;}};function jo(_0x884786,_0x3fefcb){const _0x5677b5=_0x413924;switch(_0x3fefcb['type']){case _0x5677b5(0x404):return _0x285054[_0x5677b5(0x1b7)](_0x3fefcb[_0x5677b5(0x2d5)]);case'add':return[..._0x285054['deepClone'](_0x884786),_0x285054[_0x5677b5(0x1b7)](_0x3fefcb[_0x5677b5(0x17e)])];case _0x5677b5(0x4a1):{let _0x8b4dcd=_0x884786[_0x5677b5(0x457)](_0x21fa04=>_0x21fa04['id']!==_0x3fefcb[_0x5677b5(0x367)]);return _0x8b4dcd['length']===_0x884786['length']?null:_0x285054['deepClone'](_0x8b4dcd);}case _0x5677b5(0x214):return _0x884786['length']?[]:null;}}function Mo(_0x4ca719,_0x4524c7){const _0x3064d6=_0x413924;if(!Array[_0x3064d6(0x348)](_0x4524c7))throw TypeError(_0x3064d6(0x3bd));let _0x236e1f=new Set();for(let [_0xadb113,_0x42f399]of _0x4524c7[_0x3064d6(0x391)]())Po(_0x4ca719,_0x42f399,No(_0x42f399,_0xadb113,_0x236e1f));}function No(_0x2e7629,_0x31516e,_0x28b32a){const _0x1a9abd=_0x413924;if(!_0x2e7629||typeof _0x2e7629!=_0x1a9abd(0x441))throw TypeError('[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20at\x20index\x20'+_0x31516e+_0x1a9abd(0x45b));let _0x25a7c9=typeof _0x2e7629['id']==_0x1a9abd(0x3f0)&&_0x2e7629['id'][_0x1a9abd(0x401)]()?'\x22'+_0x2e7629['id']+'\x22':_0x1a9abd(0x179)+_0x31516e;if(typeof _0x2e7629['id']!=_0x1a9abd(0x3f0)||!_0x2e7629['id']['trim']())throw Error(_0x1a9abd(0x156)+_0x25a7c9+_0x1a9abd(0x46c));if(_0x28b32a['has'](_0x2e7629['id']))throw Error(_0x1a9abd(0x165)+_0x2e7629['id']+'\x22.');_0x28b32a[_0x1a9abd(0x4c2)](_0x2e7629['id']);let _0x5cd525=typeof _0x2e7629['color']==_0x1a9abd(0x3f0)&&_0x2e7629[_0x1a9abd(0x388)]['trim']()?new _0x7ed26d(_0x2e7629[_0x1a9abd(0x388)]):null;if(!(_0x5cd525!=null&&_0x5cd525[_0x1a9abd(0x132)]))throw Error(_0x1a9abd(0x156)+_0x25a7c9+_0x1a9abd(0x237));return _0x25a7c9;}function Po(_0x5809b5,_0x1a0e0d,_0x1e642f){const _0x1bb0b6=_0x413924;let _0x411591=new Set(Object[_0x1bb0b6(0x4ae)](_0x291ae8)),_0x4f0c21=new Set(Object[_0x1bb0b6(0x4ae)](_0x44d66f)),_0x2225f1=new Set(Object[_0x1bb0b6(0x4ae)](_0xd47639));if(!_0x411591[_0x1bb0b6(0x3cf)](_0x1a0e0d[_0x1bb0b6(0x3d4)]))throw Error(_0x1bb0b6(0x156)+_0x1e642f+_0x1bb0b6(0x3f4)+String(_0x1a0e0d[_0x1bb0b6(0x3d4)])+'\x22.');let _0x561ab1=typeof _0x1a0e0d[_0x1bb0b6(0x1c3)]==_0x1bb0b6(0x3f0)?_0x5809b5[_0x1bb0b6(0x175)][_0x1a0e0d['fieldId']]:void 0x0;if(!_0x561ab1||_0x561ab1[_0x1bb0b6(0x22f)]===!0x0||_0x561ab1['type']===_0x39ba8f[_0x1bb0b6(0x216)])throw Error(_0x1bb0b6(0x156)+_0x1e642f+_0x1bb0b6(0x3b6)+String(_0x1a0e0d[_0x1bb0b6(0x1c3)])+'\x22.');if(!_0x4f0c21['has'](_0x1a0e0d[_0x1bb0b6(0x129)]))throw Error('[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20'+_0x1e642f+_0x1bb0b6(0x269)+String(_0x1a0e0d[_0x1bb0b6(0x129)])+'\x22.');if(_0x1a0e0d[_0x1bb0b6(0x308)]!==void 0x0&&!_0x2225f1[_0x1bb0b6(0x3cf)](_0x1a0e0d[_0x1bb0b6(0x308)]))throw Error('[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20'+_0x1e642f+_0x1bb0b6(0x410)+String(_0x1a0e0d[_0x1bb0b6(0x308)])+'\x22.');if(_0x1a0e0d['target']===_0x291ae8[_0x1bb0b6(0x376)])return;let _0x208f1d=vn(_0x561ab1[_0x1bb0b6(0x378)]);if(!_0x208f1d[_0x1bb0b6(0x35f)](_0x1a0e0d[_0x1bb0b6(0x129)]))throw Error('[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20'+_0x1e642f+_0x1bb0b6(0x459)+_0x1a0e0d[_0x1bb0b6(0x129)]+_0x1bb0b6(0x349)+_0x561ab1[_0x1bb0b6(0x378)]+_0x1bb0b6(0x242)+_0x208f1d[_0x1bb0b6(0x4bd)](',\x20')+'.');if(_0x1a0e0d[_0x1bb0b6(0x308)]!==void 0x0&&!yn(_0x561ab1[_0x1bb0b6(0x378)]))throw Error(_0x1bb0b6(0x156)+_0x1e642f+_0x1bb0b6(0x2d1));}const Fo={'id':'base.command.update-base-view-config','type':_0x3abf95[_0x413924(0x4ab)],'handler':(_0x2ac0b5,_0x4769d3)=>{const _0x59858a=_0x413924;if(!_0x4769d3)return!0x1;let _0x46caf5=_0x2ac0b5[_0x59858a(0x113)](_0x4de172),{unitId:_0x366174,tableId:_0x1638b5,viewId:_0x3a7425,patch:_0x38ee1c}=_0x4769d3,_0xc2e60e=_0x46caf5[_0x59858a(0x365)](_0x366174,_0x1a4689[_0x59858a(0x413)]);if(!_0xc2e60e||!$(_0xc2e60e,_0x1638b5,{'viewIds':[_0x3a7425]}))return!0x1;let _0x188477=_0x2ac0b5[_0x59858a(0x113)](_0x4c2cb1),_0x51824c=_0x2ac0b5[_0x59858a(0x113)](_0xb7e499),_0x33172c=_0xc2e60e[_0x59858a(0x460)](),_0x4646d5=new W()[_0x59858a(0x2f8)](_0x33172c,_0x1638b5,_0x3a7425,_0x38ee1c),_0xc77f05=new z()['invertOp'](_0x33172c,_0x4646d5),_0x550ee0={'unitId':_0x366174,'op':_0x4646d5},_0x4a3e1d={'unitId':_0x366174,'op':_0xc77f05};return _0x188477[_0x59858a(0x328)](Q['id'],_0x550ee0)?(_0x46caf5['focusUnit'](_0x366174),_0x51824c[_0x59858a(0x23f)]({'unitID':_0x366174,'undoMutations':[{'id':Q['id'],'params':_0x4a3e1d}],'redoMutations':[{'id':Q['id'],'params':_0x550ee0}]}),!0x0):!0x1;}},Io={'id':_0x413924(0x394),'type':_0x3abf95['COMMAND'],'handler'(_0xe5d9d3,_0xb6db01){const _0x49e680=_0x413924;if(!_0xb6db01)return{'valid':!0x1,'reason':'[BaseFormula]:\x20validation\x20parameters\x20are\x20required.'};let _0x3b51b6=_0xe5d9d3['get'](_0x4de172)[_0x49e680(0x365)](_0xb6db01[_0x49e680(0x2b9)],_0x1a4689['UNIVER_BASE']),_0x371c9e=_0x3b51b6==null?void 0x0:_0x3b51b6['getSnapshot'](),_0x3dea55=_0x371c9e==null?void 0x0:_0x371c9e[_0x49e680(0x28d)][_0xb6db01[_0x49e680(0x2ca)]];return!_0x371c9e||!_0x3dea55?{'valid':!0x1,'reason':_0x49e680(0x25f)}:new Xi()[_0x49e680(0x294)](_0xb6db01[_0x49e680(0x49b)],_0x3dea55,{'snapshot':_0x371c9e});}};let Lo=class extends _0x329c66{constructor(_0x1e5ea7){const _0x2273bb=_0x413924;super(_0x1e5ea7,_0x2273bb(0x1a5),_0x1a4689[_0x2273bb(0x413)],[_0x518f29[_0x2273bb(0x218)],_0x518f29[_0x2273bb(0x21c)],_0x518f29[_0x2273bb(0x171)],_0x518f29[_0x2273bb(0x435)],_0x518f29['BaseDashboard']]);}};Lo=X([Y(0x0,_0x2b2f47)],Lo);const Ro={'id':_0x413924(0x167),'type':_0x3abf95[_0x413924(0x4cc)],'handler':(_0x11b321,_0x5308a0)=>!_0x5308a0||!_0x11b321[_0x413924(0x113)](_0x4de172)['getUnit'](_0x5308a0[_0x413924(0x2b9)],_0x1a4689[_0x413924(0x413)])?!0x1:_0x11b321[_0x413924(0x113)](Lo)['setRule'](_0x5308a0[_0x413924(0x2b9)],_0x5308a0[_0x413924(0x480)],_0x5308a0[_0x413924(0x1ac)],_0x5308a0[_0x413924(0x17e)])},zo={'id':'base.mutation.set-permission-rules','type':_0x3abf95[_0x413924(0x4cc)],'handler':(_0x5e0bab,_0x467563)=>!_0x467563||!_0x5e0bab['get'](_0x4de172)[_0x413924(0x365)](_0x467563[_0x413924(0x2b9)],_0x1a4689['UNIVER_BASE'])?!0x1:_0x5e0bab['get'](Lo)[_0x413924(0x38c)](_0x467563[_0x413924(0x2b9)],_0x467563[_0x413924(0x2d5)])};function Bo(_0x53f05b){const _0x34aab6=_0x413924;let _0x3e426e=_0x53f05b['now']??Date[_0x34aab6(0x24d)](),_0xd49e21=_0x53f05b[_0x34aab6(0x426)]??_0x53f05b['id']+_0x34aab6(0x411),_0x1af681=_0x53f05b[_0x34aab6(0x471)]??_0x53f05b['id']+_0x34aab6(0x26e),_0x764331=_0x53f05b[_0x34aab6(0x304)]??0x0,_0x2fb906=_0x1356d2(),_0x3a8dde={'id':_0xd49e21,'name':_0x53f05b[_0x34aab6(0x2ab)]??'Name','type':_0x39ba8f['Text'],'config':{'placeholder':_0x34aab6(0x199)}},_0x2444b5={},_0x50db58=[],_0x344f92={},_0x2cc731={},_0x288054={};for(let _0x4838fb=0x0;_0x4838fb<_0x764331;_0x4838fb++){let _0xee8751=_0x53f05b['id']+_0x34aab6(0x19b)+(_0x4838fb+0x1);_0x2444b5[_0xee8751]={'id':_0xee8751,'values':{[_0x3f46af]:_0xee8751,..._0x53f05b[_0x34aab6(0x46a)]?{[_0xd49e21]:_0x53f05b[_0x34aab6(0x46a)]+'\x20'+(_0x4838fb+0x1)}:{}},'orderKey':String(_0x4838fb+0x1)[_0x34aab6(0x3cb)](0x4,'0'),'createdAt':_0x3e426e,'updatedAt':_0x3e426e},_0x50db58[_0x34aab6(0x34c)](_0xee8751),_0x344f92[_0xee8751]=_0x4838fb,_0x2cc731[_0x4838fb]=_0xee8751,_0x288054[_0x4838fb]={0x0:{'v':_0xee8751,'t':_0x1b3c74[_0x34aab6(0x187)]}},_0x53f05b[_0x34aab6(0x46a)]&&(_0x288054[_0x4838fb][0x1]={'v':_0x53f05b['recordNamePrefix']+'\x20'+(_0x4838fb+0x1),'t':_0x1b3c74[_0x34aab6(0x187)]});}let _0x1d2fa2={'id':_0x1af681,'tableId':_0x53f05b['id'],'name':_0x34aab6(0x3dc),'type':_0xc119d4['Grid'],'fieldOrder':[_0x3f46af,_0xd49e21],'fieldSettings':{[_0x3f46af]:{'hidden':!0x0}},'config':{'frozenFieldCount':0x1}};return{'id':_0x53f05b['id'],'name':_0x53f05b[_0x34aab6(0x1f9)],'primaryFieldId':_0xd49e21,'fieldOrder':[_0x3f46af,_0xd49e21],'fields':{[_0x3f46af]:_0x2fb906,[_0xd49e21]:_0x3a8dde},'records':_0x2444b5,'recordOrder':_0x50db58,'rowIndex':_0x344f92,'rowId':_0x2cc731,'colIndex':{[_0x3f46af]:0x0,[_0xd49e21]:0x1},'colId':{0x0:_0x3f46af,0x1:_0xd49e21},'cellData':_0x288054,'views':{[_0x1af681]:_0x1d2fa2},'viewOrder':[_0x1af681]};}const Vo=_0x413924(0x46b);function Ho(_0x1e5c8d){const _0x308f48=_0x413924;let _0xd619ee=Bo({'id':_0x1e5c8d[_0x308f48(0x42e)],'name':_0x1e5c8d['name']??_0x1e5c8d['embedId'],'recordCount':0x0});return{..._0xd619ee,'resources':{..._0xd619ee[_0x308f48(0x228)]??{},[Vo]:Go(_0x1e5c8d)}};}function Uo(_0x6a5610){const _0xd7204e=_0x413924;return{'id':Q['id'],'params':{'unitId':_0x6a5610[_0xd7204e(0x2b9)],'op':_0x2c18c4[_0xd7204e(0x378)]['compose'](_0x2c18c4['insertOp']([_0xd7204e(0x28d),_0x6a5610['table']['id']],_0x6a5610[_0xd7204e(0x246)]),_0x2c18c4['insertOp']([_0xd7204e(0x2af),_0x6a5610[_0xd7204e(0x319)]??_0x6a5610[_0xd7204e(0x357)]['tableOrder'][_0xd7204e(0x4be)]],_0x6a5610[_0xd7204e(0x246)]['id'])),'trigger':'embed-ui'}};}function Wo(_0xd49a3c){const _0x27b35e=_0x413924;let _0x2f550f=_0xd49a3c[_0x27b35e(0x357)]['tableOrder'][_0x27b35e(0x3ef)](_0xd49a3c[_0x27b35e(0x2ca)]);if(!(!_0xd49a3c[_0x27b35e(0x357)][_0x27b35e(0x28d)][_0xd49a3c[_0x27b35e(0x2ca)]]||_0x2f550f<0x0))return{'id':Q['id'],'params':{'unitId':_0xd49a3c[_0x27b35e(0x2b9)],'op':_0x2c18c4[_0x27b35e(0x378)][_0x27b35e(0x2ad)](_0x2c18c4[_0x27b35e(0x458)]([_0x27b35e(0x28d),_0xd49a3c[_0x27b35e(0x2ca)]],_0xd49a3c[_0x27b35e(0x357)][_0x27b35e(0x28d)][_0xd49a3c[_0x27b35e(0x2ca)]]),_0x2c18c4[_0x27b35e(0x458)]([_0x27b35e(0x2af),_0x2f550f],_0xd49a3c[_0x27b35e(0x2ca)])),'trigger':_0x27b35e(0x176)}};}function Go(_0x22f618){const _0x364b0f=_0x413924;return{'version':0x1,'embedId':_0x22f618[_0x364b0f(0x4a3)],'hostAnchorId':_0x22f618[_0x364b0f(0x42e)],'childUnitId':_0x22f618['childUnitId'],'childType':_0x22f618['childType']};}function Ko(_0x1b4a41){const _0x529704=_0x413924;let _0x361da2=Math[_0x529704(0x487)](0x0,Number(_0x1b4a41[_0x529704(0x450)]??0x0)),_0x3ab629=_0x1b4a41[_0x529704(0x354)]===!0x1?'0':_0x529704(0x232),_0x2557ba=_0x361da2?'.'+'0'['repeat'](_0x361da2):'',_0x953714=Jo(_0x1b4a41['abbreviation']);return''+(_0x1b4a41['currencySymbol']?Yo(_0x1b4a41['currencySymbol']):'')+_0x3ab629+_0x2557ba+_0x953714;}function qo(_0x515c50,_0xb8bc10){const _0x19589f=_0x413924;let _0xdae8c0=Ko(_0xb8bc10),_0x120517=_0x554273['format'](_0xdae8c0,_0x515c50,{'throws':!0x1});return Xo(String(_0x120517),_0xb8bc10[_0x19589f(0x142)],_0xb8bc10[_0x19589f(0x3bc)]);}function Jo(_0x3fe0b6){const _0x128662=_0x413924;return _0x3fe0b6==='K'?',\x22K\x22':_0x3fe0b6==='M'?_0x128662(0x3f5):_0x3fe0b6==='B'?_0x128662(0x254):'';}function Yo(_0x21b43e){const _0x31060f=_0x413924;return/^[A-Z]+$/i[_0x31060f(0x114)](_0x21b43e)?'\x22'+_0x21b43e+'\x22':_0x21b43e;}function Xo(_0x2fdcf0,_0x329566,_0x3d8298){const _0xb41b5f=_0x413924;let _0x2add75=_0x329566===_0xb41b5f(0x373)?Zo(_0x3d8298):_0x329566;return _0x2add75===_0xb41b5f(0x386)?_0x2fdcf0[_0xb41b5f(0x4c0)](/,/g,'\x00')[_0xb41b5f(0x4c0)](/\./g,',')[_0xb41b5f(0x4c0)](/\0/g,'.'):_0x2add75==='spaceComma'?_0x2fdcf0[_0xb41b5f(0x4c0)](/,/g,'\x20')['replace'](/\./g,','):_0x2add75===_0xb41b5f(0x3b3)?_0x2fdcf0[_0xb41b5f(0x4c0)](/,/g,'\x20'):_0x2fdcf0;}function Zo(_0x3109f2){const _0x572a57=_0x413924;var _0x474c63,_0x332be1;let _0x1c7b06=_0x3109f2||new Intl[(_0x572a57(0x476))]()[_0x572a57(0x417)]()[_0x572a57(0x3bc)],_0x2e40b1;try{_0x2e40b1=new Intl['NumberFormat'](_0x1c7b06,{'minimumFractionDigits':0x2,'maximumFractionDigits':0x2,'useGrouping':!0x0})['formatToParts'](0xf4240);}catch{return _0x572a57(0x1cc);}let _0x40111d=(_0x474c63=_0x2e40b1[_0x572a57(0x196)](_0x4243e9=>_0x4243e9[_0x572a57(0x378)]===_0x572a57(0x151)))==null?void 0x0:_0x474c63[_0x572a57(0x277)],_0x53bbd7=(_0x332be1=_0x2e40b1[_0x572a57(0x196)](_0x21f6c9=>_0x21f6c9[_0x572a57(0x378)]==='decimal'))==null?void 0x0:_0x332be1[_0x572a57(0x277)],_0xa7e914=_0x40111d==='\u00a0'||_0x40111d==='\u202f'?'\x20':_0x40111d;return _0xa7e914==='.'&&_0x53bbd7===','?_0x572a57(0x386):_0xa7e914==='\x20'&&_0x53bbd7===','?'spaceComma':_0xa7e914==='\x20'&&_0x53bbd7==='.'?_0x572a57(0x3b3):_0x572a57(0x1cc);}function Qo(_0x2aec36,_0x3e6ebb){const _0x1fb6d9=_0x413924;let _0x1afe7c=_0x3e6ebb&&typeof _0x3e6ebb==_0x1fb6d9(0x441)&&!Array[_0x1fb6d9(0x348)](_0x3e6ebb)?_0x3e6ebb:{},_0x5e7585=$o(_0x1afe7c['decimalPlaces'],0x0,0x2,0x0),_0x23f6f=_0x2aec36[_0x1fb6d9(0x169)](_0x5e7585);return _0x1afe7c[_0x1fb6d9(0x368)]===_0x1fb6d9(0x42c)?_0x23f6f:_0x23f6f+'%';}function $o(_0x556795,_0x3c0cd8,_0x4280b7,_0x586e25){const _0x33d353=_0x413924;if(_0x556795==null||_0x556795==='')return _0x586e25;let _0x239938=typeof _0x556795==_0x33d353(0x42c)?_0x556795:Number(_0x556795);return Number['isFinite'](_0x239938)?Math[_0x33d353(0x487)](_0x3c0cd8,Math[_0x33d353(0x256)](_0x4280b7,Math['round'](_0x239938))):_0x586e25;}const es=[_0x413924(0x375),'filled','empty',_0x413924(0x120),'sum','average',_0x413924(0x256),'max'],ts=[_0x413924(0x375),_0x413924(0x1df),_0x413924(0x1e9),_0x413924(0x120)],ns=[_0x413924(0x1f5),_0x413924(0x2b8),_0x413924(0x256),_0x413924(0x487)],rs=[_0x413924(0x256),'max'],is=new Set([_0x39ba8f[_0x413924(0x21b)],_0x39ba8f[_0x413924(0x374)],_0x39ba8f[_0x413924(0x1a0)],_0x39ba8f[_0x413924(0x152)]]),as=new Set([_0x39ba8f['MultiSelect'],_0x39ba8f[_0x413924(0x3e7)],_0x39ba8f[_0x413924(0x14f)]]),os='General';function ss(_0x328e8f){const _0x8d7b91=_0x413924;return typeof _0x328e8f==_0x8d7b91(0x3f0)&&es[_0x8d7b91(0x35f)](_0x328e8f);}function cs(_0x23bd80){const _0x371a62=_0x413924;return!_0x23bd80||typeof _0x23bd80!='object'?{}:Object['fromEntries'](Object['entries'](_0x23bd80)[_0x371a62(0x457)](_0x60d8a9=>ss(_0x60d8a9[0x1])));}function ls(_0x24496d){const _0x2d1895=_0x413924;return is[_0x2d1895(0x3cf)](_0x24496d[_0x2d1895(0x378)])?[...ts,...ns]:_0x24496d[_0x2d1895(0x378)]===_0x39ba8f[_0x2d1895(0x1fa)]?[...ts,...ws(_0x24496d)==='date'?rs:ns]:ts;}function us(_0x5cd051,_0x338af1){const _0x8add3=_0x413924;return ls(_0x5cd051)[_0x8add3(0x35f)](_0x338af1);}function ds(_0x4fe45c,_0x45515c,_0x5f54e7){const _0x3f8235=_0x413924;if(!us(_0x4fe45c,_0x5f54e7))return null;let _0x1fbd5e=_0x45515c[_0x3f8235(0x457)](_0x153fa5=>!ps(_0x4fe45c,_0x153fa5));switch(_0x5f54e7){case _0x3f8235(0x375):return _0x45515c[_0x3f8235(0x4be)];case'filled':return _0x1fbd5e['length'];case _0x3f8235(0x1e9):return _0x45515c[_0x3f8235(0x4be)]-_0x1fbd5e['length'];case _0x3f8235(0x120):return new Set(_0x1fbd5e['map'](_0xf093fa=>_s(_0x4fe45c,_0xf093fa)))['size'];case _0x3f8235(0x1f5):{let _0x4d5c57=ms(_0x4fe45c,_0x1fbd5e);return _0x4d5c57[_0x3f8235(0x4be)]?gs(_0x4d5c57):null;}case'average':{let _0x3bfb74=ms(_0x4fe45c,_0x1fbd5e);return _0x3bfb74[_0x3f8235(0x4be)]?gs(_0x3bfb74)/_0x3bfb74[_0x3f8235(0x4be)]:null;}case _0x3f8235(0x256):{let _0x3b9dca=ms(_0x4fe45c,_0x1fbd5e);return _0x3b9dca[_0x3f8235(0x4be)]?Math[_0x3f8235(0x256)](..._0x3b9dca):null;}case _0x3f8235(0x487):{let _0x4f147e=ms(_0x4fe45c,_0x1fbd5e);return _0x4f147e[_0x3f8235(0x4be)]?Math['max'](..._0x4f147e):null;}}}function fs(_0x545a79,_0xf318e4,_0x375226){const _0x288284=_0x413924;if(_0x375226==null||!Number['isFinite'](_0x375226))return'-';if(ts[_0x288284(0x35f)](_0xf318e4))return String(_0x375226);switch(_0x545a79['type']){case _0x39ba8f['Number']:return qo(_0x375226,xs(_0x545a79));case _0x39ba8f[_0x288284(0x374)]:return qo(_0x375226,Ss(_0x545a79));case _0x39ba8f['Progress']:return Qo(_0x375226,_0x545a79[_0x288284(0x406)]);case _0x39ba8f[_0x288284(0x1fa)]:return Cs(_0x375226,_0x545a79);default:return Es(_0x375226);}}function ps(_0x3bd0d6,_0x3d19b2){const _0xe4978d=_0x413924;if(_0x3d19b2==null)return!0x0;if(typeof _0x3d19b2==_0xe4978d(0x3f0))return _0x3d19b2[_0xe4978d(0x401)]()==='';if(Array[_0xe4978d(0x348)](_0x3d19b2))return _0x3bd0d6[_0xe4978d(0x378)]===_0x39ba8f['Attachment']?!_0x3d19b2['some'](bs):_0x3d19b2[_0xe4978d(0x4be)]===0x0;if(_0x3bd0d6[_0xe4978d(0x378)]===_0x39ba8f[_0xe4978d(0x4b5)]&&typeof _0x3d19b2==_0xe4978d(0x441)){let _0x516523=_0x3d19b2;return[_0x516523[_0xe4978d(0x10d)],_0x516523[_0xe4978d(0x194)]][_0xe4978d(0x23d)](_0x4ae7b6=>_0x4ae7b6==null||String(_0x4ae7b6)['trim']()==='');}return!0x1;}function _0x5866(_0x43d6d1,_0x3ea2f8){_0x43d6d1=_0x43d6d1-0x10c;const _0xc540d8=_0xc540();let _0x58660a=_0xc540d8[_0x43d6d1];return _0x58660a;}function ms(_0x3a5c2b,_0x372695){const _0x5e67d0=_0x413924;let _0x26b609=[];for(let _0x311a6d of _0x372695){let _0x1fd230=hs(_0x3a5c2b,_0x311a6d);_0x1fd230!=null&&_0x26b609[_0x5e67d0(0x34c)](_0x1fd230);}return _0x26b609;}function hs(_0x211894,_0x46b01a){const _0x1b7779=_0x413924;if(typeof _0x46b01a==_0x1b7779(0x42c))return Number[_0x1b7779(0x479)](_0x46b01a)?_0x46b01a:null;if(_0x211894[_0x1b7779(0x378)]!==_0x39ba8f['Formula']&&typeof _0x46b01a==_0x1b7779(0x3f0)&&_0x46b01a[_0x1b7779(0x401)]()!==''){let _0x57edb9=Number(_0x46b01a);return Number[_0x1b7779(0x479)](_0x57edb9)?_0x57edb9:null;}return null;}function gs(_0x8bb0d){const _0x11e0f4=_0x413924;let _0x105a5f=0x0,_0x173857=0x0;for(let _0x53f2ed of _0x8bb0d){let _0x25375f=_0x105a5f+_0x53f2ed;_0x173857+=Math[_0x11e0f4(0x205)](_0x105a5f)>=Math[_0x11e0f4(0x205)](_0x53f2ed)?_0x105a5f-_0x25375f+_0x53f2ed:_0x53f2ed-_0x25375f+_0x105a5f,_0x105a5f=_0x25375f;}return _0x105a5f+_0x173857;}function _s(_0x422b73,_0x4088ea){const _0x5e064a=_0x413924;return as[_0x5e064a(0x3cf)](_0x422b73[_0x5e064a(0x378)])&&Array[_0x5e064a(0x348)](_0x4088ea)?ys([...new Set(_0x4088ea[_0x5e064a(0x438)](_0xf3258=>ys(vs(_0xf3258))))][_0x5e064a(0x116)]()):ys(vs(_0x4088ea));}function vs(_0x45b12c){const _0x19d82a=_0x413924;return Array[_0x19d82a(0x348)](_0x45b12c)?_0x45b12c['map'](vs):_0x45b12c&&typeof _0x45b12c==_0x19d82a(0x441)?Object[_0x19d82a(0x300)](Object[_0x19d82a(0x391)](_0x45b12c)['sort'](([_0x160550],[_0x447c0e])=>_0x160550[_0x19d82a(0x4ce)](_0x447c0e))['map'](([_0x1bb010,_0x10db12])=>[_0x1bb010,vs(_0x10db12)])):_0x45b12c;}function ys(_0x255ca2){const _0x240be8=_0x413924;return JSON['stringify'](_0x255ca2)??_0x240be8(0x30b);}function bs(_0x2e7570){const _0x4236cc=_0x413924;if(typeof _0x2e7570==_0x4236cc(0x3f0))return _0x2e7570['trim']()!=='';if(!_0x2e7570||typeof _0x2e7570!=_0x4236cc(0x441))return!0x1;let _0xe96ec9=_0x2e7570;return[_0xe96ec9['id'],_0xe96ec9['name'],_0xe96ec9['source'],_0xe96ec9[_0x4236cc(0x194)],_0xe96ec9['thumbnail']][_0x4236cc(0x2e3)](_0xbdb30a=>_0xbdb30a!=null&&String(_0xbdb30a)[_0x4236cc(0x401)]()!=='');}function xs(_0x1a3641){const _0x27dc62=_0x413924;let _0x41a41d=Ds(_0x1a3641[_0x27dc62(0x406)]);return{'decimalPlaces':ks(_0x41a41d[_0x27dc62(0x450)],0x0,0x14,0x2),'separatorStyle':typeof _0x41a41d[_0x27dc62(0x142)]=='string'?_0x41a41d[_0x27dc62(0x142)]:_0x27dc62(0x373),'locale':typeof _0x41a41d[_0x27dc62(0x3bc)]==_0x27dc62(0x3f0)?_0x41a41d[_0x27dc62(0x3bc)]:void 0x0,'useThousands':_0x41a41d[_0x27dc62(0x354)]!==!0x1,'abbreviation':typeof _0x41a41d[_0x27dc62(0x344)]=='string'?_0x41a41d[_0x27dc62(0x344)]:_0x27dc62(0x48b)};}function Ss(_0x50acb2){const _0x34b2e4=_0x413924;let _0x1636f0=Ds(_0x50acb2[_0x34b2e4(0x406)]);return{...xs(_0x50acb2),'currencySymbol':String(_0x1636f0['currencySymbol']??'$')};}function Cs(_0x101059,_0xf43c73){const _0x555e3e=_0x413924;let _0x43f38f=Ts(_0xf43c73);if(_0x43f38f===os)return Es(_0x101059);try{return String(_0x554273[_0x555e3e(0x368)](_0x43f38f,_0x101059,{'throws':!0x1}));}catch{return Es(_0x101059);}}function ws(_0x901309){const _0x50a584=_0x413924;let _0xf88040=Ds(Ds(_0x901309[_0x50a584(0x406)])[_0x50a584(0x208)]);return typeof _0xf88040[_0x50a584(0x378)]==_0x50a584(0x3f0)?_0xf88040[_0x50a584(0x378)]:'general';}function Ts(_0x1baec2){const _0x3d00b3=_0x413924;let _0x3e05c1=Ds(Ds(_0x1baec2['config'])['numfmt']);return String(_0x3e05c1[_0x3d00b3(0x34d)]??os)[_0x3d00b3(0x401)]()||os;}function Es(_0x33fc19){const _0x262bb5=_0x413924;return String(Number[_0x262bb5(0x32b)](_0x33fc19)?_0x33fc19:Math[_0x262bb5(0x2bd)]((_0x33fc19+0x2**-0x34)*0x64)/0x64);}function Ds(_0x24d603){const _0x18cc32=_0x413924;return _0x24d603&&typeof _0x24d603==_0x18cc32(0x441)&&!Array['isArray'](_0x24d603)?_0x24d603:{};}function Os(_0x478c90){if(_0x478c90==null||_0x478c90==='')return null;let _0xeb6085=typeof _0x478c90=='number'?_0x478c90:Number(_0x478c90);return Number['isFinite'](_0xeb6085)?_0xeb6085:null;}function ks(_0x57a99e,_0x56edc2,_0x188605,_0x2483b6){const _0x481ffc=_0x413924;let _0x381916=Os(_0x57a99e);return _0x381916==null?_0x2483b6:Math[_0x481ffc(0x487)](_0x56edc2,Math[_0x481ffc(0x256)](_0x188605,Math[_0x481ffc(0x2bd)](_0x381916)));}function As(_0x64cd7d,_0x502afa){const _0x42f804=_0x413924;let _0xf343ee=_0x285054['deepClone'](_0x64cd7d),_0x2b40e8=_0x502afa[_0x42f804(0x2d2)]===!0x0,_0x23fa2e=new Map(),_0x2afd02=_0x502afa[_0x42f804(0x1bb)]??(()=>_0x42f804(0x209)+_0x186b5a(0x8)),_0x1ee28c=_0xf343ee[_0x42f804(0x1f0)];return _0x502afa[_0x42f804(0x325)]&&(_0x1ee28c=_0xf343ee[_0x42f804(0x1f0)][_0x42f804(0x438)](_0x5478b7=>{const _0x5075e3=_0x42f804;let _0x2bcdfb=_0x2afd02();return _0x23fa2e[_0x5075e3(0x404)](_0x5478b7,_0x2bcdfb),_0x2bcdfb;})),{..._0xf343ee,'id':_0x502afa['id'],'name':_0x502afa[_0x42f804(0x1f9)],'records':_0x2b40e8?_0xf343ee['records']:{},'recordOrder':_0x2b40e8?_0xf343ee[_0x42f804(0x1c6)]:[],'rowIndex':_0x2b40e8?_0xf343ee[_0x42f804(0x12b)]:{},'rowId':_0x2b40e8?_0xf343ee[_0x42f804(0x3ce)]:{},'cellData':_0x2b40e8?_0xf343ee[_0x42f804(0x260)]:{},'resources':_0x2b40e8?_0xf343ee[_0x42f804(0x228)]:{},'viewOrder':_0x1ee28c,'views':Object['fromEntries'](Object[_0x42f804(0x391)](_0xf343ee[_0x42f804(0x379)]??{})[_0x42f804(0x438)](([_0x46fbf6,_0xae7903])=>{const _0x4cae88=_0x42f804;let _0x4b56d2=_0x23fa2e['get'](_0x46fbf6)??(_0x502afa[_0x4cae88(0x325)]?_0x2afd02():_0x46fbf6);return[_0x4b56d2,{..._0xae7903,'id':_0x4b56d2,'tableId':_0x502afa['id']}];}))};}var js=_0x413924(0x41d),Ms='1.0.4';const Ns={},Ps={};function Fs(_0x347023){const _0x36cb15=_0x413924;return new z()[_0x36cb15(0x3a3)](_0x347023);}function Is(_0x4a1f4b){const _0x178f92=_0x413924;return _0x4a1f4b['patches'][_0x178f92(0x438)](_0x19516e=>({'unitId':_0x4a1f4b[_0x178f92(0x2b9)],'sheetId':_0x4a1f4b['tableId'],'range':{'startRow':_0x19516e[_0x178f92(0x47c)],'endRow':_0x19516e[_0x178f92(0x47c)],'startColumn':_0x19516e[_0x178f92(0x44d)],'endColumn':_0x19516e[_0x178f92(0x44d)]}}));}function Ls(_0x8d90db,_0x12de62){const _0x4af509=_0x413924;return{[_0x8d90db]:Object[_0x4af509(0x300)](_0x12de62[_0x4af509(0x438)](_0x1b3cfe=>[_0x1b3cfe,'1']))};}let Rs=class extends _0x51b493{constructor(_0x226a76,_0x236a07){const _0x23a7f5=_0x413924;super(),this[_0x23a7f5(0x1b5)]=_0x226a76,this[_0x23a7f5(0x111)]=_0x236a07,this['_initialize']();}[_0x413924(0x16f)](){const _0x12b566=_0x413924;this[_0x12b566(0x1b5)][_0x12b566(0x331)](Q['id'],{'commandId':Q['id'],'getDirtyData':_0x82bf41=>this[_0x12b566(0x486)](_0x82bf41[_0x12b566(0x1d3)])}),this['disposeWithMe'](_0x500368(()=>{const _0x4b24d5=_0x12b566;this['_activeDirtyManagerService'][_0x4b24d5(0x44a)](Q['id']);}));}['_getTable'](_0x4b898a,_0x197ad2){const _0x4075a5=_0x413924;let _0x4c6417=this[_0x4075a5(0x111)][_0x4075a5(0x365)](_0x4b898a,_0x1a4689[_0x4075a5(0x413)]);return(_0x4c6417==null?void 0x0:_0x4c6417['getSnapshot']()[_0x4075a5(0x28d)][_0x197ad2])??null;}['_getJson1DirtyData'](_0x5aec35){const _0x359b48=_0x413924;if(_0x5aec35[_0x359b48(0x3d6)]==='formula.mutation.set-formula-calculation-result')return{};if(!_0x5aec35[_0x359b48(0x2b9)]||!_0x5aec35['op'])return{'clearDependencyTreeCache':this[_0x359b48(0x448)](),'forceCalculation':!0x0};let _0x302dd1=Fs(_0x5aec35['op']),_0x214649=this[_0x359b48(0x307)](_0x5aec35[_0x359b48(0x2b9)],_0x302dd1);if(_0x214649[_0x359b48(0x4be)])return{'clearDependencyTreeCache':Ls(_0x5aec35[_0x359b48(0x2b9)],_0x214649),'forceCalculation':!0x0};let _0x4ccb5e=Object[_0x359b48(0x391)](this['_groupCellInvalidations'](_0x5aec35[_0x359b48(0x2b9)],_0x302dd1))[_0x359b48(0x4ac)](([_0x508177,_0x23fde6])=>Is({'unitId':_0x5aec35[_0x359b48(0x2b9)],'tableId':_0x508177,'patches':_0x23fde6}));return _0x4ccb5e[_0x359b48(0x4be)]?{'dirtyRanges':_0x4ccb5e}:{};}[_0x413924(0x307)](_0x5a748e,_0x23493d){const _0xb84985=_0x413924;let _0x3026ee=_0x23493d[_0xb84985(0x457)](_0x5c5ec9=>_0x5c5ec9['reason']!==_0xb84985(0x3c4))['flatMap'](_0x2692eb=>_0x2692eb[_0xb84985(0x2ca)]?[_0x2692eb[_0xb84985(0x2ca)]]:this[_0xb84985(0x2e1)](_0x5a748e));return Array[_0xb84985(0x2f6)](new Set(_0x3026ee));}[_0x413924(0x136)](_0xb50e8,_0x165c7a){const _0x464a94=_0x413924;let _0x5e79f4=new Set();return _0x165c7a[_0x464a94(0x364)]((_0x10375a,_0xe91249)=>{const _0x12a5ba=_0x464a94;let _0xf60ad6=this['_toDirtyRangePatch'](_0xb50e8,_0xe91249);if(!_0xf60ad6)return _0x10375a;let _0xfe1d69=_0xe91249[_0x12a5ba(0x2ca)]+':'+_0xf60ad6[_0x12a5ba(0x47c)]+':'+_0xf60ad6[_0x12a5ba(0x44d)];return _0x5e79f4[_0x12a5ba(0x3cf)](_0xfe1d69)?_0x10375a:(_0x5e79f4[_0x12a5ba(0x4c2)](_0xfe1d69),_0x10375a[_0xe91249[_0x12a5ba(0x2ca)]]=_0x10375a[_0xe91249[_0x12a5ba(0x2ca)]]??[],_0x10375a[_0xe91249[_0x12a5ba(0x2ca)]][_0x12a5ba(0x34c)](_0xf60ad6),_0x10375a);},{});}[_0x413924(0x42f)](_0xf524fd,_0x1e5bf5){const _0x89bbf7=_0x413924;if(_0x1e5bf5['reason']!==_0x89bbf7(0x3c4))return null;if(_0x1e5bf5[_0x89bbf7(0x47c)]!=null&&_0x1e5bf5[_0x89bbf7(0x298)]!=null)return{'row':_0x1e5bf5['row'],'col':_0x1e5bf5[_0x89bbf7(0x298)],'value':null};if(!_0x1e5bf5[_0x89bbf7(0x170)]||!_0x1e5bf5[_0x89bbf7(0x1c3)])return null;let _0x12f538=this[_0x89bbf7(0x19a)](_0xf524fd,_0x1e5bf5[_0x89bbf7(0x2ca)]);if(!_0x12f538)return null;let _0x340bd7=_t(_0x12f538,_0x1e5bf5['recordId'],_0x1e5bf5[_0x89bbf7(0x1c3)]);return _0x340bd7?{'row':_0x340bd7[_0x89bbf7(0x47c)],'col':_0x340bd7[_0x89bbf7(0x44d)],'value':null}:null;}['_getAllTableIds'](_0x11fc08){const _0x174dbf=_0x413924;let _0x1c64ce=this[_0x174dbf(0x111)]['getUnit'](_0x11fc08,_0x1a4689[_0x174dbf(0x413)]);return Object[_0x174dbf(0x4ae)]((_0x1c64ce==null?void 0x0:_0x1c64ce[_0x174dbf(0x460)]()[_0x174dbf(0x28d)])??{})['map'](_0x57c51c=>_0x57c51c['id']);}[_0x413924(0x448)](){const _0x51f858=_0x413924;let _0x2adf82=this['_univerInstanceService']['getAllUnitsForType'](_0x1a4689['UNIVER_BASE'])[_0x51f858(0x438)](_0x6e2f9c=>Ls(_0x6e2f9c[_0x51f858(0x27e)](),Object[_0x51f858(0x3a2)](_0x6e2f9c[_0x51f858(0x460)]()['tables'])));return Object['assign']({},..._0x2adf82);}};Rs=X([Y(0x0,_0x42d5f5),Y(0x1,_0x4de172)],Rs);let zs=class extends _0x51b493{constructor(_0x5c9efa,_0x4af9f7,_0x11d5cb,_0xf6e2dd){const _0x40ed74=_0x413924;super(),this[_0x40ed74(0x4d4)]=_0x5c9efa,this[_0x40ed74(0x111)]=_0x4af9f7,this[_0x40ed74(0x18b)]=_0x11d5cb,this[_0x40ed74(0x4ad)]=_0xf6e2dd,G(this,'_formulaService',new Xi()),G(this,_0x40ed74(0x201),new Map()),G(this,'_scheduledSuperTableSyncs',new Set()),G(this,'_formulaSyncQueue',Promise[_0x40ed74(0x154)]()),G(this,_0x40ed74(0x32d),!0x1),this[_0x40ed74(0x16f)]();}['_initialize'](){const _0xac4bc5=_0x413924;this[_0xac4bc5(0x111)][_0xac4bc5(0x3ff)](_0x1a4689['UNIVER_BASE'])[_0xac4bc5(0x248)](_0x21a0f5=>{const _0x176bf1=_0xac4bc5;this[_0x176bf1(0x491)](_0x21a0f5);}),this[_0xac4bc5(0x1f4)](this[_0xac4bc5(0x111)][_0xac4bc5(0x223)](_0x1a4689[_0xac4bc5(0x413)])['subscribe'](({unit:_0x4bf228})=>{const _0x349f14=_0xac4bc5;this[_0x349f14(0x491)](_0x4bf228);})),this['disposeWithMe'](this['_univerInstanceService'][_0xac4bc5(0x1d7)](_0x1a4689[_0xac4bc5(0x413)])[_0xac4bc5(0x26d)](_0x1c3155=>{const _0x8a9618=_0xac4bc5;this[_0x8a9618(0x4bc)](()=>this[_0x8a9618(0x13a)](_0x1c3155['getUnitId']()));})),this[_0xac4bc5(0x1f4)](this['_commandService'][_0xac4bc5(0x250)](_0x4a9cfa=>this['_onCommandExecuted'](_0x4a9cfa)));}[_0x413924(0x23c)](_0x14aa23){const _0x9090b5=_0x413924;if(_0x14aa23['id']===_0x1c46d3['id']){Vs(_0x14aa23['params'])&&this[_0x9090b5(0x1fb)](_0x14aa23[_0x9090b5(0x1d3)]);return;}if(this['_applyingFormulaResults']||_0x14aa23['id']!==Q['id'])return;let _0x36144c=Bs(_0x14aa23['params'])?_0x14aa23[_0x9090b5(0x1d3)]:void 0x0,_0x3a78ed=_0x36144c!=null&&_0x36144c[_0x9090b5(0x2b9)]?[this[_0x9090b5(0x111)][_0x9090b5(0x365)](_0x36144c[_0x9090b5(0x2b9)],_0x1a4689[_0x9090b5(0x413)])]['filter'](_0x2278f3=>!!_0x2278f3):this[_0x9090b5(0x111)][_0x9090b5(0x3ff)](_0x1a4689['UNIVER_BASE']),_0x3d2ad3=_0x36144c==null?void 0x0:_0x36144c['op'];_0x3a78ed[_0x9090b5(0x248)](_0x1b105b=>{const _0x2e4a3c=_0x9090b5;let _0x5747dd=_0x3d2ad3?Fs(_0x3d2ad3):[];(!_0x3d2ad3||_0x5747dd[_0x2e4a3c(0x2e3)](_0x1cef37=>_0x1cef37['reason']!==_0x2e4a3c(0x3c4)))&&this[_0x2e4a3c(0x491)](_0x1b105b);});}[_0x413924(0x491)](_0x2d92e0){const _0x2bce0c=_0x413924;let _0x2532f0=_0x2d92e0['getUnitId']();this[_0x2bce0c(0x393)][_0x2bce0c(0x3cf)](_0x2532f0)||(this[_0x2bce0c(0x393)][_0x2bce0c(0x4c2)](_0x2532f0),this[_0x2bce0c(0x4bc)](async()=>{const _0x5c4873=_0x2bce0c;this['_scheduledSuperTableSyncs']['delete'](_0x2532f0),await this[_0x5c4873(0x2fd)](_0x2d92e0);}));}async[_0x413924(0x2fd)](_0x433923){const _0x5dc3bd=_0x413924;let _0x31d541=_0x433923['getUnitId'](),_0x3eb50c=this['_formulaService'][_0x5dc3bd(0x158)](_0x433923[_0x5dc3bd(0x460)]()),_0x36d1e7=new Set(_0x3eb50c['map'](({tableName:_0x3f18bd})=>_0x3f18bd)),_0x2e3001=this['_registeredSuperTableNames'][_0x5dc3bd(0x113)](_0x31d541)??new Set();for(let _0x139dee of _0x2e3001)if(!_0x36d1e7[_0x5dc3bd(0x3cf)](_0x139dee)&&!await this[_0x5dc3bd(0x49d)](_0x188f2e['id'],{'unitId':_0x31d541,'tableName':_0x139dee}))return;for(let {tableName:_0x44f627,reference:_0x501d10}of _0x3eb50c)if(!await this[_0x5dc3bd(0x49d)](_0x5007fb['id'],{'unitId':_0x31d541,'tableName':_0x44f627,'reference':_0x501d10}))return;this[_0x5dc3bd(0x201)][_0x5dc3bd(0x404)](_0x31d541,_0x36d1e7);}async[_0x413924(0x13a)](_0x776753){const _0x516c59=_0x413924;let _0x2f6cf0=this[_0x516c59(0x201)][_0x516c59(0x113)](_0x776753)??new Set();for(let _0x8d655 of _0x2f6cf0)if(!await this[_0x516c59(0x49d)](_0x188f2e['id'],{'unitId':_0x776753,'tableName':_0x8d655}))return;this[_0x516c59(0x201)][_0x516c59(0x4a1)](_0x776753);}async[_0x413924(0x49d)](_0x4a8f5f,_0x166e3d){const _0x5781c5=_0x413924;return!this[_0x5781c5(0x3e1)]&&await this[_0x5781c5(0x4d4)][_0x5781c5(0x384)](_0x4a8f5f,_0x166e3d,{'onlyLocal':!0x0})&&!this['_disposed'];}[_0x413924(0x4bc)](_0x58ee6c){const _0xd8a67c=_0x413924;this[_0xd8a67c(0x47a)]=this['_formulaSyncQueue'][_0xd8a67c(0x1e3)](_0x58ee6c,_0x58ee6c)[_0xd8a67c(0x1bc)](()=>void 0x0);}['_applyFormulaResult'](_0x502b40){const _0x571712=_0x413924;let _0x125196=this[_0x571712(0x111)][_0x571712(0x3ff)](_0x1a4689[_0x571712(0x413)]);if(!_0x125196[_0x571712(0x2e3)](_0x21f9be=>{const _0x3cd121=_0x571712;var _0x433120;return((_0x433120=_0x502b40[_0x3cd121(0x1d4)])==null?void 0x0:_0x433120[_0x21f9be[_0x3cd121(0x27e)]()])!=null;}))return;let _0x4e2e82=_0x125196[_0x571712(0x4ac)](_0x2b05d2=>Zi(_0x2b05d2[_0x571712(0x460)](),_0x502b40));if(!_0x4e2e82[_0x571712(0x4be)]){this['_formulaCalculationSessionService'][_0x571712(0x3fa)](_0xeea7e2[_0x571712(0x40e)],_0x502b40);return;}let _0x4a6434=new W(),_0x5ee349=_0x4e2e82[_0x571712(0x4ac)](_0x51b223=>Is({'unitId':_0x51b223[_0x571712(0x2b9)],'tableId':_0x51b223['tableId'],'patches':_0x51b223[_0x571712(0x159)]}));this[_0x571712(0x32d)]=!0x0,(async()=>{const _0x1603cd=_0x571712;for(let _0x448fcd of _0x4e2e82){let _0x3159e0=this[_0x1603cd(0x111)][_0x1603cd(0x365)](_0x448fcd[_0x1603cd(0x2b9)],_0x1a4689[_0x1603cd(0x413)]);_0x3159e0&&await this[_0x1603cd(0x4d4)][_0x1603cd(0x384)](Q['id'],{'unitId':_0x448fcd[_0x1603cd(0x2b9)],'op':_0x4a6434[_0x1603cd(0x153)](_0x3159e0[_0x1603cd(0x460)](),_0x448fcd[_0x1603cd(0x2ca)],_0x448fcd[_0x1603cd(0x159)]),'trigger':_0x1c46d3['id']},{'onlyLocal':!0x0});}await this[_0x1603cd(0x4d4)][_0x1603cd(0x384)](_0x390bf3['id'],{'dirtyRanges':_0x5ee349},{'onlyLocal':!0x0});})()[_0x571712(0x412)](()=>{const _0x1d72aa=_0x571712;this['_applyingFormulaResults']=!0x1,this[_0x1d72aa(0x4ad)]['markResultApplied'](_0xeea7e2[_0x1d72aa(0x40e)],_0x502b40);});}};zs=X([Y(0x0,_0x4c2cb1),Y(0x1,_0x4de172),Y(0x2,_0x4ceb1c(_0x397aea)),Y(0x3,_0x4ceb1c(_0x45f83b))],zs);function Bs(_0x57aecc){const _0x1e8629=_0x413924;return typeof _0x57aecc==_0x1e8629(0x441)&&!!_0x57aecc&&_0x1e8629(0x2b9)in _0x57aecc&&typeof _0x57aecc[_0x1e8629(0x2b9)]==_0x1e8629(0x3f0)&&'op'in _0x57aecc&&Array[_0x1e8629(0x348)](_0x57aecc['op']);}function Vs(_0x10e8d0){const _0x532c27=_0x413924;return typeof _0x10e8d0==_0x532c27(0x441)&&!!_0x10e8d0&&_0x532c27(0x1d4)in _0x10e8d0&&'unitOtherData'in _0x10e8d0;}const Hs=new Set([fo['id'],po['id'],Io['id']]);let Us=class extends _0x51b493{constructor(_0x5385a5,_0x56c555,_0x29d37b,_0x229100){const _0x20d31f=_0x413924;super(),this[_0x20d31f(0x452)]=_0x5385a5,this[_0x20d31f(0x4d4)]=_0x56c555,this[_0x20d31f(0x444)]=_0x29d37b,this['_instanceService']=_0x229100,this['_instanceService'][_0x20d31f(0x3ff)](_0x1a4689['UNIVER_BASE'])['forEach'](_0x3f54ac=>this[_0x20d31f(0x1eb)](_0x3f54ac[_0x20d31f(0x27e)]())),this[_0x20d31f(0x1f4)](this[_0x20d31f(0x398)]['getTypeOfUnitAdded$'](_0x1a4689[_0x20d31f(0x413)])['subscribe'](({unit:_0x38f5a8})=>this[_0x20d31f(0x1eb)](_0x38f5a8[_0x20d31f(0x27e)]()))),this[_0x20d31f(0x1f4)](this[_0x20d31f(0x4d4)][_0x20d31f(0x4b2)]((_0x542489,_0x45bf9d)=>this[_0x20d31f(0x220)](_0x542489,_0x45bf9d))),this['disposeWithMe'](this['_instanceService'][_0x20d31f(0x1d7)](_0x1a4689[_0x20d31f(0x413)])['subscribe'](_0x4f99e7=>{const _0x4537b6=_0x20d31f;this['_injector'][_0x4537b6(0x113)](_0x18e9f8)[_0x4537b6(0x285)](_0x4f99e7['getUnitId']()),Rr(this[_0x4537b6(0x444)],_0x4f99e7[_0x4537b6(0x27e)]());}));}['_registerUnitPermissionPoints'](_0x41ef15){const _0x1aedbe=_0x413924;Tr['forEach'](_0x2a1917=>{const _0x3601f0=_0x5866;let _0x184e4b=Pr(_0x41ef15,_0x41ef15,_0x2a1917);this['_permissionService']['getPermissionPoint'](_0x184e4b['id'])||this['_permissionService'][_0x3601f0(0x3e3)](_0x184e4b);}),this[_0x1aedbe(0x452)][_0x1aedbe(0x113)](_0x18e9f8)[_0x1aedbe(0x3f9)]({'unitId':_0x41ef15,'objectId':_0x41ef15,'objectType':_0x518f29['Base']});}['_check'](_0x129f51,_0x5f4428){const _0x5a0157=_0x413924;var _0x5cc7ac;if(_0x5f4428!=null&&_0x5f4428[_0x5a0157(0x2f4)]||_0x5f4428!=null&&_0x5f4428[_0x5a0157(0x2fb)])return;let _0xe197d3=tc(_0x129f51['params'])?_0x129f51[_0x5a0157(0x1d3)]:void 0x0;if(_0x5f4428!=null&&_0x5f4428[_0x5a0157(0x134)]&&_0x129f51['id']==='base.mutation.apply-base-json1'&&(_0xe197d3==null?void 0x0:_0xe197d3['trigger'])===_0x1c46d3['id'])return;let _0x24566f=Gs(_0x129f51['id']),_0x1f6226=Ws(_0xe197d3==null?void 0x0:_0xe197d3[_0x5a0157(0x2b9)],_0x5f4428)??(_0x24566f?(_0x5cc7ac=this[_0x5a0157(0x398)][_0x5a0157(0x327)](_0x1a4689[_0x5a0157(0x413)]))==null?void 0x0:_0x5cc7ac[_0x5a0157(0x27e)]():void 0x0);if(!_0x1f6226||this[_0x5a0157(0x398)][_0x5a0157(0x1e5)](_0x1f6226)!==_0x1a4689['UNIVER_BASE'])return;if(_0x24566f){if(!Fr(this[_0x5a0157(0x444)],_0x1f6226,_0x1f6226,_0x24566f))throw this['_injector']['get'](_0xd219dd)[_0x5a0157(0x405)](_0x1f6226),new _0x4875f1(_0x5a0157(0x2b0)+_0x4a4e33[_0x24566f]+_0x5a0157(0x48d));return;}if(Hs[_0x5a0157(0x3cf)](_0x129f51['id'])||!_0x129f51['id'][_0x5a0157(0x36e)]('base.command.')&&!_0x129f51['id'][_0x5a0157(0x36e)](_0x5a0157(0x39c)))return;let _0x4bce6b=this['_instanceService']['getUnit'](_0x1f6226,_0x1a4689[_0x5a0157(0x413)]),_0xb508ce=_0x4bce6b?Ks(_0x4bce6b,_0xe197d3??{},_0x129f51['id']):[];if(!_0x4bce6b||!zr(this[_0x5a0157(0x444)],_0x1f6226,_0xb508ce))throw this[_0x5a0157(0x452)][_0x5a0157(0x113)](_0xd219dd)[_0x5a0157(0x405)](_0x1f6226,_0xb508ce),new _0x4875f1(_0x5a0157(0x172));}};Us=X([Y(0x0,_0x4ceb1c(_0x19a16b)),Y(0x1,_0x4c2cb1),Y(0x2,_0x151b9e),Y(0x3,_0x4de172)],Us);function Ws(_0x5d1ba0,_0x5e14bc){const _0x22b31b=_0x413924;return typeof _0x5d1ba0==_0x22b31b(0x3f0)?_0x5d1ba0:typeof(_0x5e14bc==null?void 0x0:_0x5e14bc[_0x22b31b(0x2b9)])==_0x22b31b(0x3f0)?_0x5e14bc[_0x22b31b(0x2b9)]:void 0x0;}function Gs(_0x133f97){const _0x4de08b=_0x413924;if(_0x133f97===_0x4de08b(0x211)||_0x133f97===_0x4de08b(0x2dd))return _0x4a4e33[_0x4de08b(0x174)];if(_0x133f97['startsWith'](_0x4de08b(0x155))||_0x133f97['startsWith'](_0x4de08b(0x40a)))return _0x4a4e33['Comment'];}function Ks(_0x27dcca,_0x70319,_0x1cbaac){const _0x106e56=_0x413924;if(_0x1cbaac==='base.mutation.apply-base-json1'&&ec(_0x70319['op']))return qs(_0x27dcca,_0x70319['op']);let _0x1f28a1=new Set(),_0x25d6b0=Zs(_0x70319,_0x106e56(0x246)),_0x32028e=typeof _0x70319['tableId']==_0x106e56(0x3f0)?_0x70319[_0x106e56(0x2ca)]:_0x25d6b0[0x0];if(_0x25d6b0['forEach'](_0x19a2d2=>_0x1f28a1[_0x106e56(0x4c2)](K(_0x19a2d2))),!_0x32028e)return[..._0x1f28a1];let _0x443c93=_0x27dcca['getSnapshot']()[_0x106e56(0x28d)][_0x32028e],_0x4fd2c9=new Set(Zs(_0x70319,'field')),_0x24376a=new Set(Zs(_0x70319,'record')),_0x35091a=new Set(Zs(_0x70319,_0x106e56(0x1e0)));return Qs(_0x443c93,_0x70319[_0x106e56(0x159)],_0x24376a,_0x4fd2c9),$s(_0x70319,_0x4fd2c9),_0x4fd2c9[_0x106e56(0x248)](_0x569bc0=>_0x1f28a1[_0x106e56(0x4c2)](q(_0x32028e,_0x569bc0))),_0x24376a['forEach'](_0xae783=>_0x1f28a1[_0x106e56(0x4c2)](J(_0x32028e,_0xae783))),_0x35091a[_0x106e56(0x248)](_0x71230f=>_0x1f28a1[_0x106e56(0x4c2)](Mr(_0x32028e,_0x71230f))),[..._0x1f28a1];}function qs(_0x4fe608,_0x9c73c1){const _0x4e70f6=_0x413924;let _0x204ac2=_0x4fe608[_0x4e70f6(0x460)](),_0x785eb5=new z()[_0x4e70f6(0x3a3)](_0x9c73c1),_0x79491a=Js(_0x9c73c1),_0x584f09=new Set();return _0x785eb5[_0x4e70f6(0x248)](_0x161f2b=>{const _0x5e6934=_0x4e70f6;var _0x5ac093,_0x543cc3;let {tableId:_0x33ad5f}=_0x161f2b;if(!_0x33ad5f)return;_0x584f09[_0x5e6934(0x4c2)](K(_0x33ad5f));let _0x3d3e02=_0x204ac2[_0x5e6934(0x28d)][_0x33ad5f],_0x1c7893=_0x161f2b['recordId']??(_0x161f2b[_0x5e6934(0x47c)]==null||_0x3d3e02==null||(_0x5ac093=_0x3d3e02[_0x5e6934(0x3ce)])==null?void 0x0:_0x5ac093[_0x161f2b[_0x5e6934(0x47c)]]),_0x287930=_0x161f2b['fieldId']??(_0x161f2b[_0x5e6934(0x298)]==null||_0x3d3e02==null||(_0x543cc3=_0x3d3e02[_0x5e6934(0x16c)])==null?void 0x0:_0x543cc3[_0x161f2b[_0x5e6934(0x298)]]);_0x1c7893&&_0x584f09[_0x5e6934(0x4c2)](J(_0x33ad5f,_0x1c7893)),_0x287930&&_0x584f09[_0x5e6934(0x4c2)](q(_0x33ad5f,_0x287930)),_0x161f2b['viewId']&&_0x584f09['add'](Mr(_0x33ad5f,_0x161f2b[_0x5e6934(0x297)])),(_0x161f2b['reason']==='table'||_0x79491a[_0x5e6934(0x3cf)](_0x33ad5f))&&_0x3d3e02&&(Object[_0x5e6934(0x3a2)](_0x3d3e02[_0x5e6934(0x175)])[_0x5e6934(0x248)](_0x13957e=>_0x584f09[_0x5e6934(0x4c2)](q(_0x33ad5f,_0x13957e))),Object[_0x5e6934(0x3a2)](_0x3d3e02[_0x5e6934(0x3b4)])[_0x5e6934(0x248)](_0x45dd42=>_0x584f09[_0x5e6934(0x4c2)](J(_0x33ad5f,_0x45dd42))),Object[_0x5e6934(0x3a2)](_0x3d3e02[_0x5e6934(0x379)])[_0x5e6934(0x248)](_0x22a7b8=>_0x584f09[_0x5e6934(0x4c2)](Mr(_0x33ad5f,_0x22a7b8)))),_0x161f2b[_0x5e6934(0x24f)]===_0x5e6934(0x1cf)&&_0x3d3e02&&Object[_0x5e6934(0x3a2)](_0x3d3e02[_0x5e6934(0x175)])[_0x5e6934(0x248)](_0x14bac0=>_0x584f09[_0x5e6934(0x4c2)](q(_0x33ad5f,_0x14bac0)));}),_0x785eb5[_0x4e70f6(0x4be)]===0x0&&Xs(_0x9c73c1,'tableOrder')&&Object[_0x4e70f6(0x3a2)](_0x204ac2[_0x4e70f6(0x28d)])[_0x4e70f6(0x248)](_0x4708c7=>_0x584f09[_0x4e70f6(0x4c2)](K(_0x4708c7))),[..._0x584f09];}function Js(_0x1c07eb){let _0x5b9b1c=new Set(),_0x30c403=_0x4b4924=>{const _0x5da0f4=_0x5866;Array['isArray'](_0x4b4924)&&_0x4b4924[_0x5da0f4(0x248)]((_0x52bfc0,_0x409546)=>{const _0x15e561=_0x5da0f4;_0x52bfc0==='tables'&&typeof _0x4b4924[_0x409546+0x1]==_0x15e561(0x3f0)&&Ys(_0x4b4924[_0x409546+0x2])&&_0x5b9b1c[_0x15e561(0x4c2)](_0x4b4924[_0x409546+0x1]),_0x30c403(_0x52bfc0);});};return _0x30c403(_0x1c07eb),_0x5b9b1c;}function Ys(_0x36cec0){const _0x481b98=_0x413924;return!!_0x36cec0&&typeof _0x36cec0=='object'&&!Array[_0x481b98(0x348)](_0x36cec0)&&('i'in _0x36cec0||'r'in _0x36cec0||'p'in _0x36cec0||'d'in _0x36cec0||'es'in _0x36cec0||_0x481b98(0x2e0)in _0x36cec0||'et'in _0x36cec0);}function Xs(_0x11505b,_0x539547){const _0x1f013a=_0x413924;return Array['isArray'](_0x11505b)&&_0x11505b[_0x1f013a(0x2e3)](_0x463c78=>_0x463c78===_0x539547||Xs(_0x463c78,_0x539547));}function Zs(_0x505c4c,_0x34d1c9){const _0x10b510=_0x413924;let _0x18f9b8=new Set(),_0x35ee20=_0x34d1c9+'Id',_0x4402a8=_0x34d1c9+_0x10b510(0x451),_0x2c5b49=(_0x3783c4,_0x104f07='')=>{const _0x198571=_0x10b510;if(typeof _0x3783c4==_0x198571(0x3f0)){_0x104f07===_0x35ee20&&_0x18f9b8[_0x198571(0x4c2)](_0x3783c4);return;}if(Array[_0x198571(0x348)](_0x3783c4)){_0x104f07===_0x4402a8?_0x3783c4[_0x198571(0x248)](_0x5d68dd=>{const _0x2f3519=_0x198571;typeof _0x5d68dd==_0x2f3519(0x3f0)&&_0x18f9b8[_0x2f3519(0x4c2)](_0x5d68dd);}):_0x3783c4[_0x198571(0x248)](_0x3083ec=>_0x2c5b49(_0x3083ec,_0x104f07));return;}tc(_0x3783c4)&&Object['entries'](_0x3783c4)[_0x198571(0x248)](([_0x571c2b,_0x599b00])=>{const _0x550dd7=_0x198571;_0x571c2b==='id'&&_0x104f07===_0x34d1c9&&typeof _0x599b00==_0x550dd7(0x3f0)?_0x18f9b8[_0x550dd7(0x4c2)](_0x599b00):_0x2c5b49(_0x599b00,_0x571c2b);});};return _0x2c5b49(_0x505c4c),[..._0x18f9b8];}function Qs(_0x47097c,_0x4df09d,_0x223fe6,_0x311bdc){const _0x2dbdd9=_0x413924;_0x47097c&&Array[_0x2dbdd9(0x348)](_0x4df09d)&&_0x4df09d[_0x2dbdd9(0x248)](_0x43cbfd=>{const _0x387ad6=_0x2dbdd9;if(!tc(_0x43cbfd))return;let _0x333009=_0x43cbfd;if(typeof _0x333009[_0x387ad6(0x47c)]==_0x387ad6(0x42c)){var _0x23ed22;let _0x18f196=(_0x23ed22=_0x47097c['rowId'])==null?void 0x0:_0x23ed22[_0x333009['row']];_0x18f196&&_0x223fe6[_0x387ad6(0x4c2)](_0x18f196);}if(typeof _0x333009[_0x387ad6(0x44d)]=='number'){var _0xaacbb6;let _0x45468a=(_0xaacbb6=_0x47097c[_0x387ad6(0x16c)])==null?void 0x0:_0xaacbb6[_0x333009[_0x387ad6(0x44d)]];_0x45468a&&_0x311bdc[_0x387ad6(0x4c2)](_0x45468a);}});}function $s(_0x11bc5c,_0x1f9bd9,_0x5abf33=''){const _0x3a9a1f=_0x413924;if(_0x11bc5c&&typeof _0x11bc5c==_0x3a9a1f(0x441)){if(Array[_0x3a9a1f(0x348)](_0x11bc5c)){_0x11bc5c[_0x3a9a1f(0x248)](_0xc619f7=>$s(_0xc619f7,_0x1f9bd9,_0x5abf33));return;}tc(_0x11bc5c)&&Object['entries'](_0x11bc5c)[_0x3a9a1f(0x248)](([_0x2d4e15,_0x525b6d])=>{const _0x42d2cf=_0x3a9a1f;_0x5abf33===_0x42d2cf(0x4ae)&&_0x1f9bd9[_0x42d2cf(0x4c2)](_0x2d4e15),$s(_0x525b6d,_0x1f9bd9,_0x2d4e15);});}}function ec(_0x304853){const _0x56b671=_0x413924;return Array[_0x56b671(0x348)](_0x304853);}function tc(_0x590654){const _0x194e0e=_0x413924;return typeof _0x590654=='object'&&!!_0x590654&&!Array[_0x194e0e(0x348)](_0x590654);}const nc=_0x116afe('base.resource.service');let rc=class{constructor(_0x497954){const _0x2c4f1c=_0x413924;this[_0x2c4f1c(0x111)]=_0x497954;}['getBase'](_0x4091fd){const _0x396435=_0x413924;return this['_univerInstanceService'][_0x396435(0x365)](_0x4091fd,_0x1a4689[_0x396435(0x413)])??null;}[_0x413924(0x2bb)](){const _0x255ede=_0x413924;return this[_0x255ede(0x111)][_0x255ede(0x3ff)](_0x1a4689[_0x255ede(0x413)]);}[_0x413924(0x273)](_0x194312){const _0x1c304c=_0x413924;return this[_0x1c304c(0x111)][_0x1c304c(0x181)](_0x1a4689[_0x1c304c(0x413)],_0x194312);}};rc=X([Y(0x0,_0x4de172)],rc);const ic=_0x116afe(_0x413924(0x397));var ac=class extends _0x51b493{constructor(..._0x4dc506){const _0x11134d=_0x413924;super(..._0x4dc506),G(this,_0x11134d(0x4d3),new Map());}[_0x413924(0x331)](_0x2dc2c3){const _0x12c238=_0x413924;return this[_0x12c238(0x4d3)][_0x12c238(0x404)](_0x2dc2c3[_0x12c238(0x378)],_0x2dc2c3),_0x500368(()=>this['_plugins'][_0x12c238(0x4a1)](_0x2dc2c3['type']));}[_0x413924(0x113)](_0xa20cd6){const _0x1fa97a=_0x413924;let _0x2ade50=this['_plugins'][_0x1fa97a(0x113)](_0xa20cd6);if(!_0x2ade50)throw Error(_0x1fa97a(0x396)+_0xa20cd6+_0x1fa97a(0x414));return _0x2ade50;}['getAll'](){const _0x5a0536=_0x413924;return Array[_0x5a0536(0x2f6)](this[_0x5a0536(0x4d3)][_0x5a0536(0x4ae)]());}};const oc=[Q];let sc=class extends _0x5626e8{constructor(_0x231f2b=Ns,_0xd4c132,_0x58b419,_0x3ed672,_0x83b6e4,_0x3d3297){const _0x22ff66=_0x413924;super(),this[_0x22ff66(0x1ca)]=_0x231f2b,this['_injector']=_0xd4c132,this[_0x22ff66(0x4d4)]=_0x58b419,this['_univerInstanceService']=_0x3ed672,this['_configService']=_0x83b6e4,this['_dataSyncPrimaryController']=_0x3d3297,G(this,_0x22ff66(0x3cd),new Map());let {..._0x48621a}=_0x23d942({},Ns,this[_0x22ff66(0x1ca)]);this[_0x22ff66(0x180)][_0x22ff66(0x268)](_0x22ff66(0x161),_0x48621a),this[_0x22ff66(0x111)][_0x22ff66(0x3e0)](_0x1a4689[_0x22ff66(0x413)],_0x4fb297),this[_0x22ff66(0x23e)](),this['_initCommands'](),this[_0x22ff66(0x1b9)](),this['_initDataSync']();}[_0x413924(0x11a)](){const _0x377051=_0x413924;this[_0x377051(0x452)][_0x377051(0x4c2)]([Lo]),this[_0x377051(0x1f4)](this[_0x377051(0x452)][_0x377051(0x113)](_0x4c2cb1)['registerCommand'](Ro)),this['disposeWithMe'](this['_injector'][_0x377051(0x113)](_0x4c2cb1)[_0x377051(0x2e9)](zo)),this[_0x377051(0x1f4)](this['_injector'][_0x377051(0x113)](_0x18e9f8)[_0x377051(0x385)](_0x518f29['Base'],this[_0x377051(0x452)][_0x377051(0x113)](Lo),Ro['id'],zo['id']));}['onReady'](){const _0x18bf07=_0x413924;_0x144ea(this['_injector'],[[rc],[qr],[Rs]]),this[_0x18bf07(0x111)][_0x18bf07(0x3ff)](_0x1a4689['UNIVER_BASE'])['forEach'](_0x19466f=>this[_0x18bf07(0x48c)](_0x19466f['getUnitId']())),_0x144ea(this['_injector'],[[zs],[Us]]);}[_0x413924(0x23e)](){const _0x291606=_0x413924;[[mr,{'useClass':hr}],[ic,{'useClass':ac}],[ii,{'useClass':si}],[nc,{'useClass':rc}],[Br,{'useClass':Vr}],[Kr,{'useClass':qr}],[Rs],[zs],[Us]][_0x291606(0x248)](_0x4b0ab3=>this['_injector'][_0x291606(0x4c2)](_0x4b0ab3));}['_initCommands'](){const _0x58ea0b=_0x413924;[Aa,so,Ja,wo,go,ho,Ea,wa,xa,qa,Sa,Za,Oo,no,Ta,Xa,Eo,To,Ca,Ka,to,Io,Ga,Qa,co,uo,Ya,oo,Fo,Ao,lo,fo,po,Do,xo,Co,So,_o,yo,bo,vo,...oc][_0x58ea0b(0x248)](_0x348b7a=>this[_0x58ea0b(0x1f4)](this[_0x58ea0b(0x4d4)][_0x58ea0b(0x2e9)](_0x348b7a))),oc[_0x58ea0b(0x248)](_0x2b2b0e=>{const _0x2d5954=_0x58ea0b;var _0x3b78f7;return(_0x3b78f7=this['_dataSyncPrimaryController'])==null?void 0x0:_0x3b78f7[_0x2d5954(0x13b)](_0x2b2b0e);});}[_0x413924(0x1e6)](){const _0x44339=_0x413924;this[_0x44339(0x29a)]&&(this[_0x44339(0x1f4)](this[_0x44339(0x111)][_0x44339(0x223)](_0x1a4689[_0x44339(0x413)])[_0x44339(0x26d)](({unit:_0x555cfc})=>{const _0x1d311a=_0x44339;this[_0x1d311a(0x48c)](_0x555cfc['getUnitId']());})),this['disposeWithMe'](this[_0x44339(0x111)]['getTypeOfUnitDisposed$'](_0x1a4689[_0x44339(0x413)])[_0x44339(0x26d)](_0x40b523=>{const _0xd70cc7=_0x44339;var _0x5d2895;(_0x5d2895=this[_0xd70cc7(0x3cd)][_0xd70cc7(0x113)](_0x40b523[_0xd70cc7(0x27e)]()))==null||_0x5d2895['dispose'](),this[_0xd70cc7(0x3cd)][_0xd70cc7(0x4a1)](_0x40b523[_0xd70cc7(0x27e)]());})));}['_syncBaseUnit'](_0x3f235){const _0x5c3951=_0x413924;this[_0x5c3951(0x29a)]&&!this[_0x5c3951(0x3cd)]['has'](_0x3f235)&&this['_baseSyncDisposables'][_0x5c3951(0x404)](_0x3f235,this['_dataSyncPrimaryController'][_0x5c3951(0x1d5)](_0x3f235));}[_0x413924(0x1b9)](){const _0x4505c1=_0x413924;let _0x591d35=this[_0x4505c1(0x452)][_0x4505c1(0x113)](mr);zn()[_0x4505c1(0x248)](_0x582b18=>_0x591d35['register'](_0x582b18));let _0x4cde3b=this['_injector'][_0x4505c1(0x113)](ic),_0x1fdced=this[_0x4505c1(0x452)][_0x4505c1(0x113)](ii);$r()[_0x4505c1(0x248)](_0x348802=>{const _0x344e5e=_0x4505c1;_0x4cde3b[_0x344e5e(0x331)](_0x348802),_0x1fdced[_0x344e5e(0x23a)](_0x348802);});}};G(sc,_0x413924(0x274),_0x413924(0x147)),G(sc,_0x413924(0x322),js),G(sc,_0x413924(0x17d),Ms),G(sc,'type',_0x1a4689['UNIVER_BASE']),sc=X([_0x36214f(_0x5130b3,_0x235841),Y(0x1,_0x4ceb1c(_0x19a16b)),Y(0x2,_0x4c2cb1),Y(0x3,_0x4de172),Y(0x4,_0x12c3f9),Y(0x5,_0x1bc2ea(_0xb4b53e))],sc);let cc=class extends _0x5626e8{constructor(_0x44dcb4=Ps,_0x4a6805,_0x473c48,_0x1b35a3,_0x52fde0){const _0xa7a440=_0x413924;super(),this['_config']=_0x44dcb4,this[_0xa7a440(0x452)]=_0x4a6805,this[_0xa7a440(0x4d4)]=_0x473c48,this[_0xa7a440(0x180)]=_0x1b35a3,this[_0xa7a440(0x111)]=_0x52fde0;let {..._0x38f9aa}=_0x23d942({},Ps,this[_0xa7a440(0x1ca)]);this[_0xa7a440(0x180)][_0xa7a440(0x268)](_0xa7a440(0x1ab),_0x38f9aa),this[_0xa7a440(0x111)][_0xa7a440(0x3e0)](_0x1a4689[_0xa7a440(0x413)],_0x4fb297),[[mr,{'useClass':hr}],[ii,{'useClass':si}]]['forEach'](_0x345e32=>this[_0xa7a440(0x452)][_0xa7a440(0x4c2)](_0x345e32)),oc[_0xa7a440(0x248)](_0x578da7=>this[_0xa7a440(0x1f4)](this[_0xa7a440(0x4d4)][_0xa7a440(0x2e9)](_0x578da7)));}};G(cc,_0x413924(0x274),_0x413924(0x1be)),G(cc,_0x413924(0x322),js),G(cc,_0x413924(0x17d),Ms),G(cc,_0x413924(0x378),_0x1a4689[_0x413924(0x413)]),cc=X([_0x36214f(_0x5130b3,_0x235841),Y(0x1,_0x4ceb1c(_0x19a16b)),Y(0x2,_0x4c2cb1),Y(0x3,_0x12c3f9),Y(0x4,_0x4de172)],cc);function lc(_0x107810){const _0x4390a9=_0x413924;let _0x2bc5fa=Cc(_0x107810[_0x4390a9(0x126)]);if(!_0x2bc5fa)return{'query':'','total':0x0,'matches':[]};let _0x3bb48d=[],_0x45cab3=[];for(let _0x1732e6=0x0;_0x1732e6<_0x107810[_0x4390a9(0x481)][_0x4390a9(0x4be)];_0x1732e6++){if(!(_0x1732e6 in _0x107810[_0x4390a9(0x481)]))continue;let _0x389e2b=_0x107810['table'][_0x4390a9(0x175)][_0x107810['fieldIds'][_0x1732e6]];_0x389e2b&&_0x45cab3[_0x4390a9(0x34c)]({'field':_0x389e2b,'fieldIndex':_0x1732e6});}_0x107810['rows'][_0x4390a9(0x248)]((_0x59eafb,_0x4cc877)=>{const _0x214ead=_0x4390a9;_0x45cab3[_0x214ead(0x248)](({field:_0x66ff18,fieldIndex:_0x4e0e74})=>{const _0x1cbb00=_0x214ead;let _0x48184b=uc(_0x59eafb['values'][_0x66ff18['id']],_0x66ff18);if(!_0x48184b)return;let _0x54a0fc=Sc(_0x2bc5fa,_0x48184b[_0x1cbb00(0x12c)]);_0x54a0fc<=0x0||_0x3bb48d[_0x1cbb00(0x34c)]({'recordId':_0x59eafb['recordId'],'fieldId':_0x66ff18['id'],'fieldType':_0x66ff18[_0x1cbb00(0x378)],'text':_0x48184b[_0x1cbb00(0x27d)],'score':_0x54a0fc,'rowIndex':_0x4cc877,'fieldIndex':_0x4e0e74});});}),_0x3bb48d[_0x4390a9(0x116)]((_0x859f87,_0x1f66ef)=>_0x1f66ef[_0x4390a9(0x3b1)]-_0x859f87['score']||_0x859f87[_0x4390a9(0x12b)]-_0x1f66ef[_0x4390a9(0x12b)]||_0x859f87[_0x4390a9(0x35d)]-_0x1f66ef['fieldIndex']);let _0x1c9c1b=_0x107810[_0x4390a9(0x47e)]==null?_0x3bb48d:_0x3bb48d[_0x4390a9(0x3a7)](0x0,Math['max'](0x0,_0x107810[_0x4390a9(0x47e)]));return{'query':_0x2bc5fa,'total':_0x3bb48d[_0x4390a9(0x4be)],'matches':Tc(_0x1c9c1b)};}function uc(_0xb79f75,_0x52bd78){const _0x50b3fe=_0x413924;let _0x6da9e7=[];for(let _0x1639fd of fc(_0xb79f75,_0x52bd78)){let _0xc7e2b7=Cc(_0x1639fd);_0xc7e2b7&&_0x6da9e7[_0x50b3fe(0x34c)](_0xc7e2b7);}return _0x6da9e7[_0x50b3fe(0x4be)]?{'displayText':dc(_0xb79f75,_0x52bd78),'searchTexts':wc(_0x6da9e7)}:null;}function dc(_0x2e0e25,_0x15067c){const _0x221457=_0x413924;switch(_0x15067c[_0x221457(0x378)]){case _0x39ba8f[_0x221457(0x183)]:case _0x39ba8f['MultiSelect']:case _0x39ba8f['Group']:return pc(_0x2e0e25,_0x15067c)[_0x221457(0x4bd)](',\x20');case _0x39ba8f[_0x221457(0x4b5)]:return gc(_0x2e0e25);case _0x39ba8f[_0x221457(0x2c9)]:case _0x39ba8f['CreatedAt']:case _0x39ba8f[_0x221457(0x1b6)]:return _c(_0x2e0e25,_0x15067c);case _0x39ba8f['Number']:case _0x39ba8f[_0x221457(0x374)]:return vc(_0x2e0e25,_0x15067c);case _0x39ba8f['Progress']:return yc(_0x2e0e25,_0x15067c);case _0x39ba8f[_0x221457(0x15d)]:return _0x2e0e25?'Checked':_0x221457(0x2c4);case _0x39ba8f[_0x221457(0x2ba)]:return bc(_0x2e0e25)[_0x221457(0x4bd)](',\x20');default:return xc(_0x2e0e25);}}function fc(_0x2cd243,_0x6c1d1f){const _0x2723c3=_0x413924;switch(_0x6c1d1f[_0x2723c3(0x378)]){case _0x39ba8f['SingleSelect']:case _0x39ba8f[_0x2723c3(0x40c)]:case _0x39ba8f[_0x2723c3(0x14f)]:{let _0x4d71b9=pc(_0x2cd243,_0x6c1d1f);if(Array[_0x2723c3(0x348)](_0x2cd243)){let _0x44679d=[..._0x4d71b9];for(let _0x3c0611=0x0;_0x3c0611<_0x2cd243[_0x2723c3(0x4be)];_0x3c0611++)_0x3c0611 in _0x2cd243&&_0x44679d['push'](String(_0x2cd243[_0x3c0611]));return _0x44679d;}return _0x2cd243==null?_0x4d71b9:[..._0x4d71b9,String(_0x2cd243)];}case _0x39ba8f[_0x2723c3(0x4b5)]:{let _0x41fc7b=hc(_0x2cd243);return[_0x41fc7b['text'],_0x41fc7b['url']];}case _0x39ba8f[_0x2723c3(0x2c9)]:case _0x39ba8f[_0x2723c3(0x3b2)]:case _0x39ba8f['UpdatedAt']:return[_c(_0x2cd243,_0x6c1d1f),xc(_0x2cd243)];case _0x39ba8f[_0x2723c3(0x21b)]:case _0x39ba8f[_0x2723c3(0x374)]:return[vc(_0x2cd243,_0x6c1d1f),xc(_0x2cd243)];case _0x39ba8f[_0x2723c3(0x1a0)]:return[yc(_0x2cd243,_0x6c1d1f),xc(_0x2cd243)];case _0x39ba8f[_0x2723c3(0x15d)]:return _0x2cd243?[_0x2723c3(0x38f),_0x2723c3(0x3a5),_0x2723c3(0x4a9)]:['Unchecked','No',_0x2723c3(0x41e)];case _0x39ba8f[_0x2723c3(0x2ba)]:return bc(_0x2cd243);default:return[xc(_0x2cd243)];}}function pc(_0x529209,_0x504dc0){const _0x47908a=_0x413924;var _0x395ac5;let _0x5c680a=Array[_0x47908a(0x348)]((_0x395ac5=_0x504dc0[_0x47908a(0x406)])==null?void 0x0:_0x395ac5[_0x47908a(0x1ed)])?_0x504dc0[_0x47908a(0x406)][_0x47908a(0x1ed)]:[],_0x22d308=[];if(Array['isArray'](_0x529209)){for(let _0x211c50=0x0;_0x211c50<_0x529209[_0x47908a(0x4be)];_0x211c50++){if(!(_0x211c50 in _0x529209))continue;let _0x314e09=String(_0x529209[_0x211c50]);_0x314e09&&_0x22d308[_0x47908a(0x34c)](mc(_0x5c680a,_0x314e09));}return _0x22d308;}if(_0x529209!=null){let _0x4f6d77=String(_0x529209);_0x4f6d77&&_0x22d308[_0x47908a(0x34c)](mc(_0x5c680a,_0x4f6d77));}return _0x22d308;}function mc(_0x2b08ca,_0x7c6ad0){const _0x47c51f=_0x413924;for(let _0x358c32 of _0x2b08ca){if(typeof _0x358c32==_0x47c51f(0x3f0)&&_0x358c32===_0x7c6ad0)return _0x358c32;if(_0x358c32&&typeof _0x358c32==_0x47c51f(0x441)){let _0x2f7924=_0x358c32;if(String(_0x2f7924['id']??_0x2f7924[_0x47c51f(0x1f9)]??'')===_0x7c6ad0||String(_0x2f7924['name']??'')===_0x7c6ad0)return String(_0x2f7924[_0x47c51f(0x1f9)]??_0x2f7924['id']??_0x7c6ad0);}}return _0x7c6ad0;}function hc(_0x511b1e){const _0x3938bd=_0x413924;if(_0x511b1e&&typeof _0x511b1e==_0x3938bd(0x441)&&!Array[_0x3938bd(0x348)](_0x511b1e)){let _0x44e7aa=_0x511b1e;return{'text':String(_0x44e7aa[_0x3938bd(0x10d)]??_0x44e7aa[_0x3938bd(0x194)]??''),'url':String(_0x44e7aa[_0x3938bd(0x194)]??'')};}return{'text':xc(_0x511b1e),'url':xc(_0x511b1e)};}function gc(_0x10d3d8){const _0x477f96=_0x413924;let _0x463046=hc(_0x10d3d8);return _0x463046[_0x477f96(0x10d)]||_0x463046[_0x477f96(0x194)];}function _c(_0x1b56dd,_0x385698){const _0x5979e1=_0x413924;return typeof _0x1b56dd!=_0x5979e1(0x42c)||!Number[_0x5979e1(0x479)](_0x1b56dd)?'':mn(_0x1b56dd,_0x385698['config']);}function vc(_0x5e36ba,_0x132677){const _0x414f09=_0x413924;let _0x58fa72=typeof _0x5e36ba==_0x414f09(0x42c)?_0x5e36ba:Number(_0x5e36ba);return Number['isFinite'](_0x58fa72)?qo(_0x58fa72,_0x132677[_0x414f09(0x406)]):'';}function yc(_0x58e582,_0x4308b4){const _0xa53175=_0x413924;let _0x258cc8=typeof _0x58e582==_0xa53175(0x42c)?_0x58e582:Number(_0x58e582);return Number['isFinite'](_0x258cc8)?Qo(_0x258cc8,_0x4308b4[_0xa53175(0x406)]):'';}function bc(_0xd05dea){const _0x9d2ef7=_0x413924;return Array['isArray'](_0xd05dea)?_0xd05dea[_0x9d2ef7(0x4ac)](_0x413717=>{const _0x25f783=_0x9d2ef7;if(!_0x413717||typeof _0x413717!='object')return[];let _0x4c7e6d=_0x413717,_0x23685a=String(_0x4c7e6d[_0x25f783(0x1f9)]??_0x4c7e6d[_0x25f783(0x194)]??'')[_0x25f783(0x401)]();return _0x23685a?[_0x23685a]:[];}):[];}function xc(_0x4e5443){const _0xdd88fe=_0x413924;if(_0x4e5443==null)return'';if(typeof _0x4e5443==_0xdd88fe(0x4d9))return _0x4e5443?_0xdd88fe(0x436):_0xdd88fe(0x234);if(typeof _0x4e5443==_0xdd88fe(0x42c))return String(_0x4e5443);if(Array[_0xdd88fe(0x348)](_0x4e5443)){let _0x54e7c5=[];for(let _0x150cc8=0x0;_0x150cc8<_0x4e5443[_0xdd88fe(0x4be)];_0x150cc8++){if(!(_0x150cc8 in _0x4e5443))continue;let _0x37466b=xc(_0x4e5443[_0x150cc8]);_0x37466b&&_0x54e7c5[_0xdd88fe(0x34c)](_0x37466b);}return _0x54e7c5[_0xdd88fe(0x4bd)](',\x20');}if(typeof _0x4e5443==_0xdd88fe(0x441)){let _0x3397fb=_0x4e5443;return String(_0x3397fb['title']??_0x3397fb['name']??_0x3397fb[_0xdd88fe(0x10d)]??_0x3397fb['url']??'')['trim']();}return String(_0x4e5443);}function Sc(_0x2dc929,_0x5996cb){const _0x4181ad=_0x413924;let _0x7534dc=0x0;for(let _0x509e13 of _0x5996cb)if(_0x509e13){if(_0x509e13===_0x2dc929){_0x7534dc=Math[_0x4181ad(0x487)](_0x7534dc,0x12c);continue;}if(_0x509e13[_0x4181ad(0x36e)](_0x2dc929)){_0x7534dc=Math[_0x4181ad(0x487)](_0x7534dc,0xfa);continue;}_0x509e13[_0x4181ad(0x35f)](_0x2dc929)&&(_0x7534dc=Math[_0x4181ad(0x487)](_0x7534dc,0xc8));}return _0x7534dc;}function Cc(_0x1d3092){const _0x12d5b2=_0x413924;return _0x1d3092[_0x12d5b2(0x401)]()['replace'](/\s+/g,'\x20')[_0x12d5b2(0x358)]();}function wc(_0x276397){const _0x3252aa=_0x413924;return Array[_0x3252aa(0x2f6)](new Set(_0x276397));}function Tc(_0x2c4e0e){const _0x2696b2=_0x413924;let _0xb3beeb=[];for(let {rowIndex:_0x53c58f,fieldIndex:_0x3f163e,..._0x1f6578}of _0x2c4e0e)_0xb3beeb[_0x2696b2(0x34c)](_0x1f6578);return _0xb3beeb;}function Ec(_0x48126c){const _0x51de02=_0x413924;return{'compress':!0x0,'kind':_0x51de02(0x286),'u':_0x48126c[_0x51de02(0x2b9)],'t':_0x48126c[_0x51de02(0x2ca)],'p':_0x48126c[_0x51de02(0x159)]['map'](_0x574cd2=>[_0x574cd2[_0x51de02(0x47c)],_0x574cd2[_0x51de02(0x44d)],Ac(_0x574cd2[_0x51de02(0x277)])]),..._0x48126c['trigger']===void 0x0?{}:{'g':_0x48126c['trigger']}};}function Dc(_0x27734c){const _0x3a425c=_0x413924;if(Lc(_0x27734c,_0x3a425c(0x286)),!Oc(_0x27734c)){if(!Ic(_0x27734c))throw Error('[BaseCompression]:\x20invalid\x20uncompressed\x20range\x20values\x20payload.');return _0x27734c;}return{'unitId':_0x27734c['u'],'tableId':_0x27734c['t'],'patches':_0x27734c['p'][_0x3a425c(0x438)](([_0x59ae86,_0x40f6b4,_0x15a47b])=>({'row':_0x59ae86,'col':_0x40f6b4,'value':jc(_0x15a47b)})),..._0x27734c['g']===void 0x0?{}:{'trigger':_0x27734c['g']}};}function Oc(_0x236ae1){const _0x281067=_0x413924;return!Rc(_0x236ae1)||_0x236ae1['compress']!==!0x0||_0x236ae1[_0x281067(0x42d)]!==_0x281067(0x286)?!0x1:typeof _0x236ae1['u']==_0x281067(0x3f0)&&typeof _0x236ae1['t']==_0x281067(0x3f0)&&(_0x236ae1['g']===void 0x0||typeof _0x236ae1['g']==_0x281067(0x3f0))&&Array[_0x281067(0x348)](_0x236ae1['p'])&&_0x236ae1['p'][_0x281067(0x23d)](_0x3a7a38=>Array[_0x281067(0x348)](_0x3a7a38)&&_0x3a7a38['length']===0x3&&Number[_0x281067(0x32b)](_0x3a7a38[0x0])&&Number['isInteger'](_0x3a7a38[0x1]));}function kc(_0x53b020){const _0x1c236a=_0x413924;return!Rc(_0x53b020)||_0x53b020['compress']!==!0x0||_0x53b020['kind']!==_0x1c236a(0x1da)||!Rc(_0x53b020[_0x1c236a(0x28d)])?!0x1:Object['values'](_0x53b020['tables'])['every'](_0x23e41d=>Rc(_0x23e41d)&&(_0x23e41d['cd']===void 0x0||Array[_0x1c236a(0x348)](_0x23e41d['cd'])&&_0x23e41d['cd'][_0x1c236a(0x23d)](_0x4b23a5=>Array[_0x1c236a(0x348)](_0x4b23a5)&&_0x4b23a5['length']===0x3&&Number['isInteger'](_0x4b23a5[0x0])&&Number[_0x1c236a(0x32b)](_0x4b23a5[0x1])&&Fc(_0x4b23a5[0x2]))));}function Ac(_0x1cdb69){return Pc(_0x1cdb69)?Mc(_0x1cdb69):_0x1cdb69;}function jc(_0x514044){return Fc(_0x514044)?Nc(_0x514044):_0x514044;}function Mc(_0x407e63){return{'c':0x1,..._0x407e63['v']===void 0x0?{}:{'v':_0x407e63['v']},..._0x407e63['t']!==void 0x0&&_0x407e63['t']!==null?{'t':_0x407e63['t']}:_0x407e63['t']===null?{'t':null}:{},..._0x407e63['f']!==void 0x0&&_0x407e63['f']!==null?{'f':_0x407e63['f']}:_0x407e63['f']===null?{'f':null}:{},..._0x407e63['si']!==void 0x0&&_0x407e63['si']!==null?{'si':_0x407e63['si']}:_0x407e63['si']===null?{'si':null}:{},..._0x407e63['p']!==void 0x0&&_0x407e63['p']!==null?{'p':_0x407e63['p']}:_0x407e63['p']===null?{'p':null}:{}};}function Nc(_0x544084){return{..._0x544084['v']===void 0x0?{}:{'v':_0x544084['v']},..._0x544084['t']===void 0x0?{}:{'t':_0x544084['t']},..._0x544084['f']===void 0x0?{}:{'f':_0x544084['f']},..._0x544084['si']===void 0x0?{}:{'si':_0x544084['si']},..._0x544084['p']===void 0x0?{}:{'p':_0x544084['p']}};}function Pc(_0x3e91f6){const _0x251bc1=_0x413924;return!!_0x3e91f6&&typeof _0x3e91f6==_0x251bc1(0x441)&&!Array['isArray'](_0x3e91f6)&&(Object['prototype'][_0x251bc1(0x128)]['call'](_0x3e91f6,'v')||Object['prototype'][_0x251bc1(0x128)][_0x251bc1(0x157)](_0x3e91f6,'t')||Object[_0x251bc1(0x24b)]['hasOwnProperty']['call'](_0x3e91f6,'p')||Object[_0x251bc1(0x24b)][_0x251bc1(0x128)][_0x251bc1(0x157)](_0x3e91f6,'f')||Object[_0x251bc1(0x24b)][_0x251bc1(0x128)][_0x251bc1(0x157)](_0x3e91f6,'si'));}function Fc(_0x120498){return Rc(_0x120498)&&_0x120498['c']===0x1;}function Ic(_0x1b047a){const _0x3dd454=_0x413924;return Rc(_0x1b047a)&&typeof _0x1b047a[_0x3dd454(0x2b9)]==_0x3dd454(0x3f0)&&typeof _0x1b047a[_0x3dd454(0x2ca)]==_0x3dd454(0x3f0)&&(_0x1b047a[_0x3dd454(0x3d6)]===void 0x0||typeof _0x1b047a[_0x3dd454(0x3d6)]==_0x3dd454(0x3f0))&&Array[_0x3dd454(0x348)](_0x1b047a[_0x3dd454(0x159)])&&_0x1b047a['patches'][_0x3dd454(0x23d)](_0x4de851=>Rc(_0x4de851)&&Number[_0x3dd454(0x32b)](_0x4de851[_0x3dd454(0x47c)])&&Number[_0x3dd454(0x32b)](_0x4de851[_0x3dd454(0x44d)])&&_0x3dd454(0x277)in _0x4de851);}function Lc(_0x5ea189,_0x5d976e){const _0x299d50=_0x413924;if(Rc(_0x5ea189)&&_0x5ea189[_0x299d50(0x4d2)]===!0x0){if(_0x5ea189[_0x299d50(0x42d)]!==_0x5d976e)throw Error(_0x299d50(0x198)+String(_0x5ea189[_0x299d50(0x42d)])+'\x22.');if(!(_0x5d976e==='base-range-values-v1'?Oc(_0x5ea189):kc(_0x5ea189)))throw Error(_0x299d50(0x44f)+_0x5d976e+'\x22.');}}function Rc(_0x3faecd){const _0x496758=_0x413924;return!!_0x3faecd&&typeof _0x3faecd==_0x496758(0x441)&&!Array['isArray'](_0x3faecd);}export{Q as ApplyBaseJson1Mutation,es as BASE_FIELD_STAT_TYPES,Ue as BASE_HIERARCHY_MAX_LEVELS,We as BASE_HIERARCHY_PARENT_FIELD_ID,Da as BASE_TABLE_NAME_REQUIREMENTS,Tr as BASE_UNIT_PERMISSION_ACTIONS,ko as BaseConditionalColorRuleUpdateType,Ke as BaseEventSource,Xi as BaseFormulaService,P as BaseHierarchyError,Ge as BaseHierarchyErrorCode,Ri as BaseHistoryAction,z as BaseJson1OpApplier,W as BaseJson1OpFactory,xa as BatchCreateBaseRecordsCommand,Sa as BatchDeleteBaseRecordsCommand,Ca as ChangeBaseFieldTypeCommand,wa as CreateBaseChildRecordCommand,Ta as CreateBaseFieldCommand,Ea as CreateBaseRecordCommand,Aa as CreateBaseTableCommand,Ga as CreateBaseViewCommand,Ka as DeleteBaseFieldCommand,qa as DeleteBaseRecordCommand,Ja as DeleteBaseTableCommand,Ya as DeleteBaseViewCommand,Xa as DuplicateBaseFieldCommand,Za as DuplicateBaseRecordCommand,Vo as EMBED_BASES_TABLE_RESOURCE_KEY,Qa as EnsureBaseTemporalViewDateFieldsCommand,Kr as IBaseCommandService,Br as IBasePermissionService,ii as IBaseProjectionService,ic as IBaseViewRegistryService,to as MoveBaseFieldCommand,no as MoveBaseHierarchyRecordCommand,oo as MoveBaseViewCommand,so as RenameBaseTableCommand,co as RenameBaseViewCommand,lo as SetBaseKanbanGroupFieldCommand,uo as SetBaseNameCommand,fo as SetBasePermissionCommand,Ro as SetBasePermissionRuleMutation,zo as SetBasePermissionRulesMutation,po as SetBasePermissionsCommand,ho as SetBaseRangeValuesCommand,go as SetBaseRecordValuesCommand,_o as SetBaseTableHierarchyFieldCommand,vo as SetBaseViewFieldOrderCommand,yo as SetBaseViewFieldVisibleCommand,bo as SetBaseViewFieldWidthCommand,xo as SetBaseViewFilterCommand,So as SetBaseViewGroupCommand,Co as SetBaseViewSortCommand,sc as UniverBasesPlugin,cc as UniverRemoteBasesPlugin,wo as UpdateBaseCellCommand,Eo as UpdateBaseFieldCommand,To as UpdateBaseFieldDescriptionCommand,Do as UpdateBaseKanbanConfigCommand,Oo as UpdateBaseRecordOrderCommand,Ao as UpdateBaseViewConditionalColorRulesCommand,Fo as UpdateBaseViewConfigCommand,Io as ValidateBaseFormulaCommand,dn as baseDateSerialToDateMs,tt as buildBaseHierarchyIndex,ds as calculateBaseFieldStat,zr as canEditBaseTargets,Ec as compressBaseRangeValuesPayload,As as copyBaseTableSnapshot,Ye as createBaseHierarchyParentField,Bo as createDefaultBaseTableSnapshot,Ho as createEmbedBasesTable,Uo as createEmbedBasesTableAddMutation,Wo as createEmbedBasesTableRemoveMutation,ka as createUniqueBaseTableName,B as dateToExcelSerial,Dc as decompressBaseRangeValuesPayload,L as ensureBaseTableCellLayout,He as findRecordLinkReferences,mn as formatBaseDateValue,fs as formatBaseFieldStatValue,qo as formatBaseNumberValue,Qo as formatBaseProgressValue,Xe as getActiveBaseHierarchyFieldIds,bt as getBaseCellFormulaValue,yt as getBaseCellValue,vn as getBaseConditionalColorOperators,Nr as getBaseDashboardPermissionObjectId,q as getBaseFieldPermissionObjectId,_0x17901a as getBaseFormulaTableName,et as getBaseHierarchyDeletePromotions,qe as getBaseHierarchyFieldId,Fr as getBasePermissionValue,J as getBaseRecordPermissionObjectId,K as getBaseTablePermissionObjectId,Mr as getBaseViewPermissionObjectId,N as getRecordLinkFieldConfig,ls as getSupportedBaseFieldStatTypes,rt as getVisibleBaseHierarchyRows,Zo as inferBaseSeparatorStyle,yn as isBaseConditionalColorDateField,ps as isBaseFieldStatEmptyValue,us as isBaseFieldStatSupported,ss as isBaseFieldStatType,F as isBaseHierarchyField,Oc as isCompressedBaseRangeValuesPayload,xn as matchesBaseCondition,pn as normalizeBaseDateFieldConfig,un as normalizeBaseDateSerial,cs as normalizeBaseFieldStatsConfig,Le as parseRecordLinkIds,nt as projectBaseHierarchy,fn as resolveBaseDateFieldConfig,Je as resolveBaseHierarchyFieldId,mo as resolveBaseRangeHierarchyPatches,lc as searchBaseTable,Re as serializeRecordLinkIds,Ir as setBasePermissionValue,I as traceBasePerformance,ja as uniqueFieldName,it as validateBaseHierarchyMove,Qe as validateBaseHierarchyRecordCreations,Ze as validateBaseHierarchyRecordPatches,Oa as validateBaseTableName,ze as validateCanonicalRecordLinkValue,Be as validateRecordLinkField,Ve as validateRecordLinkValue};
|