@univerjs-pro/bases 1.2.0 → 1.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x354fcb=_0x48d8;(function(_0x14c018,_0x5b1382){const _0x23cbd7=_0x48d8,_0x123ec2=_0x14c018();while(!![]){try{const _0x4b267c=-parseInt(_0x23cbd7(0x48a))/0x1+parseInt(_0x23cbd7(0x323))/0x2*(parseInt(_0x23cbd7(0x21d))/0x3)+parseInt(_0x23cbd7(0x42a))/0x4*(-parseInt(_0x23cbd7(0x2ed))/0x5)+-parseInt(_0x23cbd7(0x2e6))/0x6+parseInt(_0x23cbd7(0x495))/0x7*(parseInt(_0x23cbd7(0x34f))/0x8)+-parseInt(_0x23cbd7(0x529))/0x9+parseInt(_0x23cbd7(0x32f))/0xa*(parseInt(_0x23cbd7(0x412))/0xb);if(_0x4b267c===_0x5b1382)break;else _0x123ec2['push'](_0x123ec2['shift']());}catch(_0x3256cc){_0x123ec2['push'](_0x123ec2['shift']());}}}(_0x2357,0x947d9));import{BASE_RECORD_ID_FIELD_ID as _0x3b44b5,BaseConditionalColorOperator as _0x79efc5,BaseConditionalColorTarget as _0x54bac1,BaseConditionalDateMode as _0x173d28,BaseDataModel as _0x2563fc,BaseFieldType as _0x19bf94,BaseFilterConjunction as _0x12daa6,BaseHierarchyInvalidReason as _0x3f9b5e,BaseRecordLinkRole as _0x170c14,BaseSortDirection as _0x7258f,BaseViewType as _0x2b4a2c,CellValueType as _0x149f0a,ColorKit as _0x3d2caa,CommandType as _0x3e23cf,CustomCommandExecutionError as _0x1cfc9b,DateSystem as _0x4547e4,DependentOn as _0x1bcd22,Disposable as _0x1589db,ErrorService as _0x359424,ICommandService as _0x3ff846,IConfigService as _0x14686f,IPermissionService as _0x211d15,IResourceManagerService as _0xee5072,IUndoRedoService as _0x5153d9,IUniverInstanceService as _0x3414e2,Inject as _0x42d70a,Injector as _0xcce289,JSON1 as _0x370803,JSONX as _0x426ad9,ObjectMatrix as _0x4bc349,ObjectPermissionRuleModel as _0x4a896e,ObjectPermissionService as _0x1e71b2,Optional as _0x560f5b,PermissionStatus as _0x15f2b3,Plugin as _0xf65dbf,Tools as _0x30f9db,UniverInstanceType as _0x28d752,allocateBaseFormulaTableName as _0x3ec76b,assertBaseTableRecordIdentity as _0x136f40,createBaseFormulaTableNameMap as _0x49362b,createBaseRecordIdField as _0x5c3ee9,createIdentifier as _0x5d0ae0,dateKit as _0x5cea60,excelDateTimeSerial as _0xa41fad,excelSerialToDateTime as _0x156e38,generateRandomId as _0x3ba5f0,getBaseFormulaTableName as _0x5d9833,isBaseRecordIdFieldName as _0x37b436,isValidBaseRecordId as _0x3605be,merge as _0x18cc98,nameCharacterCheck as _0x5b975c,numfmt as _0x5e5ce5,regexp as _0x1ae19d,sequenceExecute as _0x47a83f,toDisposable as _0x5b4066,touchDependencies as _0x137ee0}from'@univerjs/core';import{FormulaCalculationTriggerService as _0x4f3c26,IActiveDirtyManagerService as _0x35d62c,RemoveSuperTableMutation as _0x5d6472,SetFormulaCalculationResultMutation as _0x2d710f,SetSuperTableMutation as _0x33aa29,SetTriggerFormulaCalculationStartMutation as _0x46501c,UniverProFormulaEnginePlugin as _0x36289a,refactorFormulaUnitQualifier as _0x5981a8}from'@univerjs-pro/engine-formula';import{UnitAction as _0x391870,UnitObject as _0x56e21f}from'@univerjs/protocol';import{UniverLicensePlugin as _0x534d74}from'@univerjs-pro/license';import{DataSyncPrimaryController as _0x274988}from'@univerjs/rpc';import{FormulaCalculationSessionService as _0x1a1f33,FormulaResultApplicationType as _0x2001ae}from'@univerjs/engine-formula';function N(_0x1b83d5){const _0x77a462=_0x48d8;let _0x483dd8=_0x1b83d5[_0x77a462(0x342)][_0x77a462(0x1ab)],_0x3caf20=_0x1b83d5[_0x77a462(0x342)][_0x77a462(0x215)],_0x23e744=_0x1b83d5[_0x77a462(0x342)][_0x77a462(0x1e9)],_0x230351=_0x1b83d5['config'][_0x77a462(0x28e)],_0x43e002=_0x1b83d5[_0x77a462(0x342)][_0x77a462(0x274)];return typeof _0x483dd8!='string'||!_0x483dd8||typeof _0x3caf20!=_0x77a462(0x364)||_0x23e744!==void 0x0&&(typeof _0x23e744!=_0x77a462(0x471)||!_0x23e744)||_0x43e002!==void 0x0&&_0x43e002!==_0x170c14[_0x77a462(0x3a0)]||_0x230351!==void 0x0&&(!Array[_0x77a462(0x354)](_0x230351)||_0x230351[_0x77a462(0x257)](_0x545c8e=>typeof _0x545c8e!=_0x77a462(0x471)||!_0x545c8e)||new Set(_0x230351)['size']!==_0x230351[_0x77a462(0x458)])?null:{'targetTableId':_0x483dd8,'multiple':_0x3caf20,..._0x23e744?{'displayFieldId':_0x23e744}:{},..._0x230351?{'pickerFieldIds':[..._0x230351]}:{},..._0x43e002?{'relationRole':_0x43e002}:{}};}function Le(_0x268bd0){const _0xc3b165=_0x48d8;return typeof _0x268bd0!=_0xc3b165(0x471)||_0x268bd0===''?[]:_0x268bd0['split'](',');}function Re(_0x5b15c1){const _0x29cd03=_0x48d8;return Array[_0x29cd03(0x4dd)](new Set(_0x5b15c1))[_0x29cd03(0x4b5)](',');}function ze(_0x2cbe7a,_0x1d6e8e){const _0x350bb6=_0x48d8;if(typeof _0x2cbe7a!=_0x350bb6(0x471))return{'valid':!0x1,'reason':_0x350bb6(0x3ea)};if(_0x2cbe7a==='')return{'valid':!0x0};let _0x172c9b=_0x2cbe7a[_0x350bb6(0x1c5)](',');return!_0x1d6e8e&&_0x172c9b[_0x350bb6(0x458)]>0x1?{'valid':!0x1,'reason':_0x350bb6(0x404)}:_0x172c9b[_0x350bb6(0x257)](_0x1cea61=>!_0x3605be(_0x1cea61))||new Set(_0x172c9b)[_0x350bb6(0x473)]!==_0x172c9b[_0x350bb6(0x458)]||Re(_0x172c9b)!==_0x2cbe7a?{'valid':!0x1,'reason':_0x350bb6(0x3ec)}:{'valid':!0x0};}function Be(_0x101a62,_0x27ecee){const _0x30b013=_0x48d8;if(_0x27ecee[_0x30b013(0x33a)]!==_0x19bf94[_0x30b013(0x2bd)])return{'valid':!0x0};let _0x26dcc1=N(_0x27ecee),_0x2d46fe=_0x26dcc1?_0x101a62[_0x30b013(0x2ba)][_0x26dcc1[_0x30b013(0x1ab)]]:void 0x0;if(!_0x26dcc1||!_0x2d46fe)return{'valid':!0x1,'reason':_0x30b013(0x23c)};let _0x13e60c=[..._0x26dcc1[_0x30b013(0x1e9)]?[_0x26dcc1[_0x30b013(0x1e9)]]:[],..._0x26dcc1[_0x30b013(0x28e)]??[]][_0x30b013(0x22f)](_0x2082e0=>{const _0x5f537c=_0x30b013;let _0x5e01e4=_0x2d46fe['fields'][_0x2082e0];return!_0x5e01e4||_0x5e01e4[_0x5f537c(0x1cb)]===!0x0||_0x5e01e4[_0x5f537c(0x33a)]===_0x19bf94[_0x5f537c(0x44f)];});return _0x13e60c?{'valid':!0x1,'reason':'[RecordLink]:\x20display\x20field\x20\x22'+_0x13e60c+_0x30b013(0x3c0)}:{'valid':!0x0};}function Ve(_0x4227bd,_0x3c36d0,_0x3c0bce,_0x4f91ca={}){const _0x22a23c=_0x48d8;let _0x496096=N(_0x3c36d0);if(_0x3c36d0[_0x22a23c(0x33a)]!==_0x19bf94[_0x22a23c(0x2bd)]||!_0x496096)return{'valid':!0x1,'reason':_0x22a23c(0x436)};let _0x3dcbef=ze(_0x3c0bce,_0x496096[_0x22a23c(0x215)]);if(!_0x3dcbef[_0x22a23c(0x35c)]||_0x4f91ca[_0x22a23c(0x4ed)])return _0x3dcbef;let _0x23173c=_0x4227bd[_0x22a23c(0x2ba)][_0x496096['targetTableId']];if(!_0x23173c)return{'valid':!0x1,'reason':_0x22a23c(0x23c)};let _0x57feba=Le(_0x3c0bce)[_0x22a23c(0x22f)](_0x35e12d=>!_0x23173c['records'][_0x35e12d]);return _0x57feba?{'valid':!0x1,'reason':_0x22a23c(0x4e3)+_0x57feba+'\x22\x20does\x20not\x20exist.'}:{'valid':!0x0};}function He(_0x3e67a7,_0x41f9ba){const _0x2ba1ea=_0x48d8;return Object['values'](_0x3e67a7[_0x2ba1ea(0x2ba)])[_0x2ba1ea(0x2a2)](_0x1bfd18=>Object[_0x2ba1ea(0x1da)](_0x1bfd18[_0x2ba1ea(0x480)])[_0x2ba1ea(0x2a2)](_0x4847f8=>{const _0x3ace01=_0x2ba1ea;let _0x398de2=_0x4847f8['type']===_0x19bf94['RecordLink']?N(_0x4847f8):null;return(_0x398de2==null?void 0x0:_0x398de2[_0x3ace01(0x1ab)])===_0x41f9ba?[{'tableId':_0x1bfd18['id'],'fieldId':_0x4847f8['id']}]:[];}));}const Ue=0x5,We='__base_hierarchy_parent__';let Ge=function(_0x4be870){const _0x34ee5c=_0x48d8;return _0x4be870[_0x34ee5c(0x420)]=_0x34ee5c(0x4a7),_0x4be870[_0x34ee5c(0x173)]=_0x34ee5c(0x33b),_0x4be870[_0x34ee5c(0x47b)]=_0x34ee5c(0x4e2),_0x4be870[_0x34ee5c(0x270)]='cycle',_0x4be870['MaxDepth']='maxDepth',_0x4be870[_0x34ee5c(0x3ad)]=_0x34ee5c(0x265),_0x4be870;}({});var P=class extends Error{constructor(_0x13fca8,_0x561d74=_0x354fcb(0x263)+_0x13fca8){const _0x40e87b=_0x354fcb;super(_0x561d74),this[_0x40e87b(0x286)]=_0x13fca8,this['name']='BaseHierarchyError';}};let Ke=function(_0x3ad43f){const _0x272854=_0x354fcb;return _0x3ad43f['UI']='ui',_0x3ad43f['Facade']=_0x272854(0x295),_0x3ad43f[_0x272854(0x3e2)]=_0x272854(0x4c7),_0x3ad43f[_0x272854(0x344)]=_0x272854(0x37e),_0x3ad43f[_0x272854(0x264)]='redo',_0x3ad43f[_0x272854(0x4d5)]=_0x272854(0x353),_0x3ad43f;}({});function F(_0x51ad2f,_0x18bbb6){const _0x2a57ac=_0x354fcb;if(!_0x18bbb6)return!0x1;let _0x2078e7=_0x51ad2f['fields'][_0x18bbb6];if(!_0x2078e7||_0x2078e7[_0x2a57ac(0x33a)]!==_0x19bf94[_0x2a57ac(0x2bd)])return!0x1;let _0x1049ba=N(_0x2078e7);return _0x1049ba?_0x1049ba[_0x2a57ac(0x1ab)]===_0x51ad2f['id']&&_0x1049ba[_0x2a57ac(0x215)]===!0x1:!0x1;}function qe(_0xe20b6c){const _0x9247e0=_0x354fcb;return[..._0xe20b6c['fieldOrder'],...Object[_0x9247e0(0x51b)](_0xe20b6c[_0x9247e0(0x480)])[_0x9247e0(0x397)](_0x3ddf28=>!_0xe20b6c[_0x9247e0(0x1e1)][_0x9247e0(0x231)](_0x3ddf28))['sort']()][_0x9247e0(0x22f)](_0x1b3c20=>{const _0x1428b5=_0x9247e0;var _0x258498;return F(_0xe20b6c,_0x1b3c20)?((_0x258498=N(_0xe20b6c[_0x1428b5(0x480)][_0x1b3c20]))==null?void 0x0:_0x258498[_0x1428b5(0x274)])===_0x170c14[_0x1428b5(0x3a0)]:!0x1;})??null;}function Je(_0x2df4d8){const _0x2d89a9=_0x354fcb;let _0x319d25=qe(_0x2df4d8);if(_0x319d25)return _0x319d25;let _0x25dc72=We,_0x503111=0x2;for(;_0x2df4d8[_0x2d89a9(0x480)][_0x25dc72];)_0x25dc72=We+'_'+_0x503111++;return _0x25dc72;}function Ye(_0x2a8c2a,_0x13c0fa=Je(_0x2a8c2a),_0x498dd7=_0x354fcb(0x44b)){const _0x194fbe=_0x354fcb;return{'id':_0x13c0fa,'name':_0x498dd7,'type':_0x19bf94[_0x194fbe(0x2bd)],'config':{'targetTableId':_0x2a8c2a['id'],'multiple':!0x1,'displayFieldId':_0x2a8c2a['primaryFieldId'],'pickerFieldIds':[_0x2a8c2a[_0x194fbe(0x4cf)]],'relationRole':_0x170c14[_0x194fbe(0x3a0)]}};}function Xe(_0x4f65c1){let _0xdd503e=qe(_0x4f65c1);return _0xdd503e?[_0xdd503e]:[];}function Ze(_0x1710b0,_0xe482a2){const _0x40c6a9=_0x354fcb;let _0x576bc1=[...Xe(_0x1710b0)][_0x40c6a9(0x397)](_0x5a419a=>_0xe482a2[_0x40c6a9(0x257)](_0x181ece=>Object[_0x40c6a9(0x32b)]['hasOwnProperty'][_0x40c6a9(0x331)](_0x181ece[_0x40c6a9(0x1da)],_0x5a419a)));if(!_0x576bc1[_0x40c6a9(0x458)])return[];let _0x167b9={..._0x1710b0['records']};_0xe482a2['forEach'](_0x3f1033=>{const _0x1d4aa2=_0x40c6a9;let _0x59a4fe=_0x167b9[_0x3f1033[_0x1d4aa2(0x4bb)]];_0x59a4fe&&(_0x167b9[_0x3f1033[_0x1d4aa2(0x4bb)]]={..._0x59a4fe,'values':{..._0x59a4fe[_0x1d4aa2(0x1da)],..._0x3f1033[_0x1d4aa2(0x1da)]}});});let _0x23b45a={..._0x1710b0,'records':_0x167b9},_0xa32648=[];return _0x576bc1[_0x40c6a9(0x461)](_0x4df01d=>{const _0x440053=_0x40c6a9;let _0x7b3f82=tt(_0x1710b0,_0x4df01d),_0x3d6de2=tt(_0x23b45a,_0x4df01d);for(let [_0x588e49,_0x4a432]of _0x3d6de2[_0x440053(0x243)]){let _0x155f44=_0xe482a2[_0x440053(0x257)](_0x22b0fa=>_0x22b0fa[_0x440053(0x4bb)]===_0x588e49&&Object[_0x440053(0x32b)][_0x440053(0x42f)]['call'](_0x22b0fa[_0x440053(0x1da)],_0x4df01d));if(_0x7b3f82['invalidReasonByRecordId'][_0x440053(0x4a8)](_0x588e49)!==_0x4a432||_0x155f44)throw new P($e(_0x4a432));}_0xe482a2[_0x440053(0x461)](_0x1e3c17=>{const _0x431dca=_0x440053;if(!Object[_0x431dca(0x32b)][_0x431dca(0x42f)][_0x431dca(0x331)](_0x1e3c17['values'],_0x4df01d))return;let _0x324725=_0x7b3f82[_0x431dca(0x36e)][_0x431dca(0x4a8)](_0x1e3c17['recordId'])??null,_0x55b7a5=_0x3d6de2[_0x431dca(0x36e)][_0x431dca(0x4a8)](_0x1e3c17[_0x431dca(0x4bb)])??null;_0x324725!==_0x55b7a5&&_0xa32648[_0x431dca(0x1f3)]({'tableId':_0x1710b0['id'],'fieldId':_0x4df01d,'recordId':_0x1e3c17[_0x431dca(0x4bb)],'oldParentRecordId':_0x324725,'parentRecordId':_0x55b7a5});});}),_0xa32648;}function Qe(_0x4dc622,_0x365b08){const _0x5e4a26=_0x354fcb;let _0x6ea3c=_0x365b08[_0x5e4a26(0x29b)](_0x5ce93d=>_0x5ce93d['id']);if(new Set(_0x6ea3c)[_0x5e4a26(0x473)]!==_0x6ea3c['length']||_0x6ea3c['some'](_0x7c3952=>_0x4dc622[_0x5e4a26(0x45a)][_0x7c3952]))return[];let _0x293c95=Xe(_0x4dc622),_0xd9895c=_0x293c95[_0x5e4a26(0x458)]?null:Je(_0x4dc622),_0x27f219=[..._0x293c95,..._0xd9895c&&_0x365b08['some'](_0x3c6499=>Object[_0x5e4a26(0x32b)][_0x5e4a26(0x42f)][_0x5e4a26(0x331)](_0x3c6499[_0x5e4a26(0x1da)],_0xd9895c))?[_0xd9895c]:[]]['filter'](_0x74737c=>_0x365b08[_0x5e4a26(0x257)](_0x372523=>Object[_0x5e4a26(0x32b)][_0x5e4a26(0x42f)][_0x5e4a26(0x331)](_0x372523[_0x5e4a26(0x1da)],_0x74737c)));if(!_0x27f219[_0x5e4a26(0x458)])return[];let _0x32087e={..._0x4dc622,'records':{..._0x4dc622[_0x5e4a26(0x45a)],...Object[_0x5e4a26(0x2e8)](_0x365b08[_0x5e4a26(0x29b)](_0x3fb6a5=>[_0x3fb6a5['id'],_0x3fb6a5]))},'recordOrder':[..._0x4dc622[_0x5e4a26(0x22d)]??[],..._0x365b08[_0x5e4a26(0x29b)](_0x1bada3=>_0x1bada3['id'])]},_0x5864cb=[];return _0x27f219['forEach'](_0x2ebd84=>{const _0x24cb3f=_0x5e4a26;let _0x5d50f7=tt(_0x32087e,_0x2ebd84);_0x365b08[_0x24cb3f(0x461)](_0xeb6c0=>{const _0x57ceab=_0x24cb3f;let _0x879faa=_0x5d50f7[_0x57ceab(0x243)]['get'](_0xeb6c0['id']);if(_0x879faa)throw new P($e(_0x879faa));let _0x559bbf=_0x5d50f7[_0x57ceab(0x36e)][_0x57ceab(0x4a8)](_0xeb6c0['id'])??null;_0x559bbf&&_0x5864cb[_0x57ceab(0x1f3)]({'tableId':_0x4dc622['id'],'fieldId':_0x2ebd84,'recordId':_0xeb6c0['id'],'oldParentRecordId':null,'parentRecordId':_0x559bbf});});}),_0x5864cb;}function $e(_0x3d7907){const _0x58b07c=_0x354fcb;switch(_0x3d7907){case _0x3f9b5e[_0x58b07c(0x1a2)]:return _0x58b07c(0x33b);case _0x3f9b5e[_0x58b07c(0x47b)]:return'selfParent';case _0x3f9b5e[_0x58b07c(0x270)]:return _0x58b07c(0x363);case _0x3f9b5e[_0x58b07c(0x3ca)]:return _0x58b07c(0x228);}}function et(_0x260145,_0xfbbbe0){const _0x4ea0f7=_0x354fcb;let _0x2d07c6=new Set(_0xfbbbe0),_0x5d3097=Xe(_0x260145);return Object[_0x4ea0f7(0x1da)](_0x260145['records'])[_0x4ea0f7(0x2a2)](_0x7bae6b=>_0x2d07c6[_0x4ea0f7(0x23f)](_0x7bae6b['id'])?[]:Array[_0x4ea0f7(0x4dd)](_0x5d3097)[_0x4ea0f7(0x2a2)](_0x482141=>{const _0x4fe4f4=_0x4ea0f7;let _0x347cbf=Le(_0x7bae6b['values'][_0x482141])[0x0]??null;return _0x347cbf&&_0x2d07c6[_0x4fe4f4(0x23f)](_0x347cbf)?[{'tableId':_0x260145['id'],'fieldId':_0x482141,'recordId':_0x7bae6b['id'],'oldParentRecordId':_0x347cbf,'parentRecordId':null}]:[];}));}function tt(_0x46f903,_0xdc4986,_0x3f01e6=_0x46f903[_0x354fcb(0x22d)]??Object[_0x354fcb(0x51b)](_0x46f903['records'])){const _0x1e22db=_0x354fcb;if((_0x46f903[_0x1e22db(0x480)][_0xdc4986]||_0xdc4986!==Je(_0x46f903))&&!F(_0x46f903,_0xdc4986))throw Error(_0x1e22db(0x2dd)+_0xdc4986+_0x1e22db(0x1f1));let _0x1d7344=at(_0x46f903,_0x3f01e6),_0x452be3=new Map(),_0x4b1151=new Map();for(let _0x2860f7 of _0x1d7344){var _0x21c3c3;let _0x42ee2=Le((_0x21c3c3=_0x46f903[_0x1e22db(0x45a)][_0x2860f7])==null?void 0x0:_0x21c3c3[_0x1e22db(0x1da)][_0xdc4986])[0x0]??null;_0x42ee2?_0x42ee2===_0x2860f7?(_0x452be3[_0x1e22db(0x1a1)](_0x2860f7,null),_0x4b1151[_0x1e22db(0x1a1)](_0x2860f7,_0x3f9b5e['SelfParent'])):_0x46f903['records'][_0x42ee2]?_0x452be3[_0x1e22db(0x1a1)](_0x2860f7,_0x42ee2):(_0x452be3['set'](_0x2860f7,null),_0x4b1151[_0x1e22db(0x1a1)](_0x2860f7,_0x3f9b5e[_0x1e22db(0x1a2)])):_0x452be3[_0x1e22db(0x1a1)](_0x2860f7,null);}ot(_0x452be3,_0x4b1151,_0x1d7344),st(_0x452be3,_0x4b1151,_0x1d7344);let _0x45723e=new Map(_0x1d7344[_0x1e22db(0x29b)]((_0x258430,_0x21b053)=>[_0x258430,_0x21b053])),_0x44fa53=new Map();for(let _0x53d107 of _0x1d7344){let _0x59fdbf=_0x452be3[_0x1e22db(0x4a8)](_0x53d107)??null,_0x4fc43a=_0x44fa53[_0x1e22db(0x4a8)](_0x59fdbf)??[];_0x4fc43a['push'](_0x53d107),_0x44fa53[_0x1e22db(0x1a1)](_0x59fdbf,_0x4fc43a);}_0x44fa53[_0x1e22db(0x461)](_0xa07234=>_0xa07234['sort']((_0x5c1fdd,_0x4dee8e)=>(_0x45723e['get'](_0x5c1fdd)??0x0)-(_0x45723e[_0x1e22db(0x4a8)](_0x4dee8e)??0x0)));let _0x4c273e=_0x44fa53[_0x1e22db(0x4a8)](null)??[],_0x18e716=new Map(),_0x55680d=new Map(),_0x50995e=[],_0x5814db=(_0x5e2b94,_0x16f5be)=>{const _0x35fc6b=_0x1e22db;_0x18e716[_0x35fc6b(0x1a1)](_0x5e2b94,_0x16f5be),_0x50995e['push'](_0x5e2b94);let _0x47033a=0x0;for(let _0x1ff62a of _0x44fa53['get'](_0x5e2b94)??[])_0x47033a=Math[_0x35fc6b(0x1b3)](_0x47033a,0x1+_0x5814db(_0x1ff62a,_0x16f5be+0x1));return _0x55680d['set'](_0x5e2b94,_0x47033a),_0x47033a;};return _0x4c273e[_0x1e22db(0x461)](_0x2554f6=>_0x5814db(_0x2554f6,0x0)),{'fieldId':_0xdc4986,'parentByRecordId':_0x452be3,'childrenByParentId':_0x44fa53,'depthByRecordId':_0x18e716,'subtreeHeightByRecordId':_0x55680d,'invalidReasonByRecordId':_0x4b1151,'rootRecordIds':_0x4c273e,'orderedRecordIds':_0x50995e};}function nt(_0x1f1b45,_0x3ae769,_0x34ab72=new Set(_0x3ae769[_0x354fcb(0x29b)](_0x5c5efa=>_0x5c5efa[_0x354fcb(0x4bb)]))){const _0x6d71cd=_0x354fcb;let _0xd64451=new Set(_0x34ab72);for(let _0x28499c of _0x34ab72){let _0x3c5ef6=_0x1f1b45['parentByRecordId'][_0x6d71cd(0x4a8)](_0x28499c)??null;for(;_0x3c5ef6;)_0xd64451[_0x6d71cd(0x35e)](_0x3c5ef6),_0x3c5ef6=_0x1f1b45[_0x6d71cd(0x36e)][_0x6d71cd(0x4a8)](_0x3c5ef6)??null;}let _0x879cdd=new Map(_0x3ae769['map'](_0x950456=>[_0x950456['recordId'],_0x950456])),_0xfc9f29=_0x1f1b45[_0x6d71cd(0x1a3)][_0x6d71cd(0x397)](_0x330e2a=>_0xd64451['has'](_0x330e2a)),_0x148631=_0xfc9f29[_0x6d71cd(0x2a2)](_0xf29d89=>{let _0x53a751=_0x879cdd['get'](_0xf29d89);return _0x53a751?[_0x53a751]:[];}),_0x5c8450={};for(let _0x28d485=0x0;_0x28d485<_0xfc9f29[_0x6d71cd(0x458)];_0x28d485++){let _0x295a7d=_0xfc9f29[_0x28d485];_0x5c8450[_0x295a7d]={'recordId':_0x295a7d,'parentRecordId':_0x1f1b45['parentByRecordId'][_0x6d71cd(0x4a8)](_0x295a7d)??null,'depth':_0x1f1b45[_0x6d71cd(0x3ff)][_0x6d71cd(0x4a8)](_0x295a7d)??0x0,'directChildCount':(_0x1f1b45['childrenByParentId']['get'](_0x295a7d)??[])['length'],'subtreeHeight':_0x1f1b45['subtreeHeightByRecordId'][_0x6d71cd(0x4a8)](_0x295a7d)??0x0,'subtreeEndIndex':_0x28d485,'invalidReason':_0x1f1b45['invalidReasonByRecordId'][_0x6d71cd(0x4a8)](_0x295a7d)};}let _0x1517c4=[];for(let _0x2262d0=0x0;_0x2262d0<_0xfc9f29[_0x6d71cd(0x458)];_0x2262d0++){let _0x3c73d8=_0xfc9f29[_0x2262d0],_0x3582ae=_0x5c8450[_0x3c73d8][_0x6d71cd(0x18e)];for(;_0x1517c4[_0x6d71cd(0x458)]&&_0x1517c4[_0x1517c4[_0x6d71cd(0x458)]-0x1][_0x6d71cd(0x18e)]>=_0x3582ae;){let _0x46ac08=_0x1517c4[_0x6d71cd(0x1a5)]();_0x5c8450[_0x46ac08[_0x6d71cd(0x4bb)]]['subtreeEndIndex']=_0x2262d0-0x1;}_0x1517c4[_0x6d71cd(0x1f3)]({'recordId':_0x3c73d8,'depth':_0x3582ae});}return _0x1517c4[_0x6d71cd(0x461)](({recordId:_0xa8e6f9})=>{const _0xd6daaf=_0x6d71cd;_0x5c8450[_0xa8e6f9]['subtreeEndIndex']=_0xfc9f29[_0xd6daaf(0x458)]-0x1;}),{'rows':_0x148631,'hierarchy':{'fieldId':_0x1f1b45[_0x6d71cd(0x46e)],'rootRecordIds':_0x1f1b45[_0x6d71cd(0x1b5)][_0x6d71cd(0x397)](_0x11bc19=>_0xd64451[_0x6d71cd(0x23f)](_0x11bc19)),'orderedRecordIds':_0xfc9f29,'nodes':_0x5c8450}};}function rt(_0x2c46e7,_0x328b1d){const _0x336543=_0x354fcb;if(!_0x2c46e7[_0x336543(0x51a)]||!(_0x328b1d!=null&&_0x328b1d[_0x336543(0x473)]))return _0x2c46e7[_0x336543(0x490)];let _0x29584b=[],_0x1b4bd0=0x0;for(;_0x1b4bd0<_0x2c46e7['rows'][_0x336543(0x458)];){let _0x4cf535=_0x2c46e7['rows'][_0x1b4bd0];_0x29584b['push'](_0x4cf535);let _0x4a9393=_0x2c46e7[_0x336543(0x51a)][_0x336543(0x3fc)][_0x4cf535[_0x336543(0x4bb)]];_0x1b4bd0=_0x328b1d[_0x336543(0x23f)](_0x4cf535['recordId'])&&_0x4a9393?_0x4a9393[_0x336543(0x4ca)]+0x1:_0x1b4bd0+0x1;}return _0x29584b;}function it(_0x1d54eb,_0x3f128a,_0x4563a2){const _0x20b196=_0x354fcb;if(!_0x4563a2)return{'valid':!0x0};if(_0x3f128a===_0x4563a2)return{'valid':!0x1,'reason':_0x3f9b5e[_0x20b196(0x47b)]};let _0x2ad891=_0x4563a2;for(;_0x2ad891;){if(_0x2ad891===_0x3f128a)return{'valid':!0x1,'reason':_0x3f9b5e[_0x20b196(0x270)]};_0x2ad891=_0x1d54eb[_0x20b196(0x36e)]['get'](_0x2ad891)??null;}return(_0x1d54eb['depthByRecordId'][_0x20b196(0x4a8)](_0x4563a2)??0x0)+0x1+(_0x1d54eb['subtreeHeightByRecordId'][_0x20b196(0x4a8)](_0x3f128a)??0x0)>=0x5?{'valid':!0x1,'reason':_0x3f9b5e[_0x20b196(0x3ca)]}:{'valid':!0x0};}function at(_0x174ad5,_0x59b925){const _0x2eecdf=_0x354fcb;let _0x33db10=new Set(),_0x136c88=[];for(let _0x6c711f of _0x59b925)_0x174ad5['records'][_0x6c711f]&&!_0x33db10[_0x2eecdf(0x23f)](_0x6c711f)&&(_0x33db10[_0x2eecdf(0x35e)](_0x6c711f),_0x136c88['push'](_0x6c711f));return Object['keys'](_0x174ad5[_0x2eecdf(0x45a)])[_0x2eecdf(0x3db)]()[_0x2eecdf(0x461)](_0x2a55a7=>{const _0x49513f=_0x2eecdf;_0x33db10[_0x49513f(0x23f)](_0x2a55a7)||_0x136c88['push'](_0x2a55a7);}),_0x136c88;}function ot(_0x13650d,_0x1ddcaa,_0x24d18d){const _0x27b35f=_0x354fcb;let _0x16327c=new Set();for(let _0x1dd87e of _0x24d18d){if(_0x16327c[_0x27b35f(0x23f)](_0x1dd87e))continue;let _0x2d0a49=[],_0x914088=new Map(),_0x3767bf=_0x1dd87e;for(;_0x3767bf&&!_0x16327c[_0x27b35f(0x23f)](_0x3767bf);){let _0x46002c=_0x914088[_0x27b35f(0x4a8)](_0x3767bf);if(_0x46002c!=null){let _0x23cbf2=[..._0x2d0a49[_0x27b35f(0x192)](_0x46002c)][_0x27b35f(0x3db)]()[_0x27b35f(0x1a5)]();_0x13650d[_0x27b35f(0x1a1)](_0x23cbf2,null),_0x1ddcaa[_0x27b35f(0x1a1)](_0x23cbf2,_0x3f9b5e[_0x27b35f(0x270)]);break;}_0x914088[_0x27b35f(0x1a1)](_0x3767bf,_0x2d0a49[_0x27b35f(0x458)]),_0x2d0a49[_0x27b35f(0x1f3)](_0x3767bf),_0x3767bf=_0x13650d['get'](_0x3767bf)??null;}_0x2d0a49[_0x27b35f(0x461)](_0xe79556=>_0x16327c[_0x27b35f(0x35e)](_0xe79556));}}function st(_0x552bd3,_0x4e1875,_0x401111){const _0x26109c=_0x354fcb;let _0x23a337=new Map(),_0x314047=_0x2a2789=>{const _0x2c27f1=_0x48d8;let _0x530355=_0x23a337[_0x2c27f1(0x4a8)](_0x2a2789);if(_0x530355!=null)return _0x530355;let _0x2e186e=_0x552bd3[_0x2c27f1(0x4a8)](_0x2a2789)??null;if(!_0x2e186e)return _0x23a337[_0x2c27f1(0x1a1)](_0x2a2789,0x0),0x0;let _0x43bfad=_0x314047(_0x2e186e)+0x1;return _0x43bfad>=0x5?(_0x552bd3[_0x2c27f1(0x1a1)](_0x2a2789,null),_0x4e1875[_0x2c27f1(0x1a1)](_0x2a2789,_0x3f9b5e[_0x2c27f1(0x3ca)]),_0x23a337['set'](_0x2a2789,0x0),0x0):(_0x23a337['set'](_0x2a2789,_0x43bfad),_0x43bfad);};_0x401111[_0x26109c(0x461)](_0x314047);}let ct=0x0;function lt(){const _0x20b3c1=_0x354fcb;if(globalThis[_0x20b3c1(0x4a1)]===!0x0)return!0x0;try{let _0x72253=typeof location>'u'?'':location[_0x20b3c1(0x32c)],_0x364ea6=new URLSearchParams(_0x72253);if(_0x364ea6[_0x20b3c1(0x4a8)]('basePerf')==='1'||_0x364ea6[_0x20b3c1(0x4a8)](_0x20b3c1(0x33c))===_0x20b3c1(0x468)||_0x364ea6[_0x20b3c1(0x4a8)](_0x20b3c1(0x3b4))==='1')return!0x0;}catch{}try{let _0x791da2=typeof localStorage>'u'?null:localStorage['getItem'](_0x20b3c1(0x4ae));return _0x791da2==='1'||_0x791da2===_0x20b3c1(0x468);}catch{return!0x1;}}function I(_0x2c7f0d,_0x8f94f1,_0x51d304){const _0xd21ba7=_0x354fcb;if(!lt())return _0x8f94f1();let _0x4218d1=dt(),_0x769fb=_0xd21ba7(0x18c)+ct++;ft(_0x769fb+_0xd21ba7(0x188));try{return _0x8f94f1();}finally{let _0xea747=dt()-_0x4218d1;ft(_0x769fb+_0xd21ba7(0x327)),pt(_0x2c7f0d,_0x769fb+':start',_0x769fb+':end'),ut(_0x2c7f0d,_0xea747,_0x51d304);}}function ut(_0x3817b1,_0xf716c8,_0x51495f){const _0x452fbf=_0x354fcb;if(!lt())return;let _0x4bbbec=Math['round'](_0xf716c8*0x64)/0x64,_0x47ed2e=_0x51495f&&Object['keys'](_0x51495f)[_0x452fbf(0x458)]?'\x20'+JSON[_0x452fbf(0x449)](_0x51495f):'';console[_0x452fbf(0x38e)]('[BasePerf]\x20'+_0x3817b1+':\x20'+_0x4bbbec+'ms'+_0x47ed2e);}function dt(){const _0x44ffb1=_0x354fcb;return typeof performance<'u'&&typeof performance['now']=='function'?performance['now']():Date[_0x44ffb1(0x181)]();}function ft(_0x832b23){try{if(typeof performance<'u'){var _0x5ed05c,_0x3f3c75;(_0x5ed05c=(_0x3f3c75=performance)['mark'])==null||_0x5ed05c['call'](_0x3f3c75,_0x832b23);}}catch{}}function pt(_0x3d5036,_0x31ddb1,_0x36d7f8){const _0x21b5e9=_0x354fcb;try{if(typeof performance<'u'){var _0x53bdbc,_0x49ef63;(_0x53bdbc=(_0x49ef63=performance)[_0x21b5e9(0x1c4)])==null||_0x53bdbc[_0x21b5e9(0x331)](_0x49ef63,_0x21b5e9(0x46d)+_0x3d5036,_0x31ddb1,_0x36d7f8);}}catch{}}function L(_0x1179e2){const _0x4eec3f=_0x354fcb;var _0x315456;return lt()?I(_0x4eec3f(0x2fb),()=>mt(_0x1179e2),{'tableId':_0x1179e2['id'],'records':Object[_0x4eec3f(0x51b)](_0x1179e2['records']??{})[_0x4eec3f(0x458)],'fields':_0x1179e2[_0x4eec3f(0x1e1)]['length'],'hasRecordOrder':!!((_0x315456=_0x1179e2[_0x4eec3f(0x22d)])!=null&&_0x315456[_0x4eec3f(0x458)])}):mt(_0x1179e2);}function mt(_0x1866c9){const _0x409962=_0x354fcb;var _0x3a7265;let _0x21e0ea=_0x1866c9[_0x409962(0x45a)]??{},_0x429bf4=_0x1866c9[_0x409962(0x480)]??{},_0x3fd4fb=((_0x3a7265=_0x1866c9[_0x409962(0x22d)])==null?void 0x0:_0x3a7265[_0x409962(0x397)](_0x20b093=>_0x21e0ea[_0x20b093]))??[],_0x45f65a=new Set(_0x3fd4fb),_0x592df8=[];for(let _0x4c3d15 of Object[_0x409962(0x1da)](_0x21e0ea))_0x45f65a[_0x409962(0x23f)](_0x4c3d15['id'])||_0x592df8[_0x409962(0x1f3)](_0x4c3d15);let _0x3b623b=_0x592df8[_0x409962(0x458)]?[..._0x3fd4fb,...Rt(_0x592df8)]:_0x3fd4fb,_0x4ef437=_0x1866c9[_0x409962(0x1e1)][_0x409962(0x397)](_0x44d1e5=>_0x429bf4[_0x44d1e5]),_0x4389a9={..._0x1866c9[_0x409962(0x474)]??{}},_0x4d5dbb={..._0x1866c9[_0x409962(0x242)]??{}},_0x51223f={..._0x1866c9[_0x409962(0x1cf)]??{}};_0x1866c9[_0x409962(0x22d)]=_0x3b623b,_0x1866c9[_0x409962(0x290)]={},_0x1866c9[_0x409962(0x474)]={},_0x1866c9[_0x409962(0x288)]={},_0x1866c9[_0x409962(0x242)]={},_0x1866c9[_0x409962(0x1cf)]={},_0x1866c9['resources']={..._0x1866c9[_0x409962(0x358)]??{}},_0x1866c9[_0x409962(0x358)][_0x409962(0x47e)]={..._0x1866c9[_0x409962(0x358)]['attachmentSets']??{}},_0x1866c9[_0x409962(0x358)][_0x409962(0x499)]={..._0x1866c9['resources'][_0x409962(0x499)]??{}};let _0x599f51=_0x1866c9[_0x409962(0x290)],_0x557e8d=_0x1866c9['rowId'],_0x479f94=_0x1866c9['colIndex'],_0x5948d1=_0x1866c9[_0x409962(0x242)],_0x5e01af=_0x1866c9[_0x409962(0x1cf)];return _0x3b623b['forEach']((_0x18178d,_0x5f4e48)=>{_0x599f51[_0x18178d]=_0x5f4e48,_0x557e8d[_0x5f4e48]=_0x18178d;}),_0x4ef437[_0x409962(0x461)]((_0x2364b8,_0x4219a1)=>{_0x479f94[_0x2364b8]=_0x4219a1,_0x5948d1[_0x4219a1]=_0x2364b8;}),Object[_0x409962(0x1e2)](_0x51223f)[_0x409962(0x461)](([_0x31bcbb,_0x117267])=>{const _0x4ce48d=_0x409962;let _0xd4895b=Number(_0x31bcbb),_0x58f536=_0x4389a9[_0xd4895b]??_0x3b623b[_0xd4895b],_0x441b62=_0x58f536?_0x599f51[_0x58f536]:void 0x0;_0x441b62!=null&&(_0x5e01af[_0x441b62]={..._0x5e01af[_0x441b62]??{}},Object['entries'](_0x117267??{})[_0x4ce48d(0x461)](([_0x5466d4,_0x439216])=>{let _0x75ed5c=Number(_0x5466d4),_0x3906fe=_0x4d5dbb[_0x75ed5c]??_0x4ef437[_0x75ed5c],_0x2280c2=_0x3906fe?_0x479f94[_0x3906fe]:void 0x0;_0x2280c2!=null&&(_0x5e01af[_0x441b62][_0x2280c2]=St(_0x439216));}));}),Object[_0x409962(0x1da)](_0x21e0ea)[_0x409962(0x461)](_0x1b770a=>{const _0x590d78=_0x409962;let _0x1ecdf4=_0x599f51[_0x1b770a['id']];_0x1ecdf4!=null&&(_0x1b770a[_0x590d78(0x1da)]={..._0x1b770a[_0x590d78(0x1da)]??{},[_0x3b44b5]:_0x1b770a['id']},_0x5e01af[_0x1ecdf4]={..._0x5e01af[_0x1ecdf4]??{},0x0:{'v':_0x1b770a['id'],'t':_0x149f0a[_0x590d78(0x475)]}},Object[_0x590d78(0x1e2)](_0x1b770a['values']??{})[_0x590d78(0x461)](([_0x301044,_0xdfa354])=>{const _0x45f318=_0x590d78;let _0x5a6e6f=_0x429bf4[_0x301044];(_0x5a6e6f==null?void 0x0:_0x5a6e6f[_0x45f318(0x33a)])===_0x19bf94[_0x45f318(0x46f)]&&Dt(_0x1866c9,_0x1b770a['id'],_0x301044,_0xdfa354);let _0x49b454=_0x479f94[_0x301044];if(_0x49b454==null)return;let _0x317cce=_0x5e01af[_0x1ecdf4][_0x49b454];(_0x317cce==null||jt(_0x317cce,_0x5a6e6f,_0xdfa354))&&(_0x5e01af[_0x1ecdf4][_0x49b454]=xt(_0xdfa354,_0x5a6e6f));}));}),_0x1866c9;}function ht(_0x3edcee,_0x593d25){const _0x553a52=_0x354fcb;return _0x3edcee[_0x553a52(0x45a)]=Object[_0x553a52(0x2e8)](Object['entries'](_0x3edcee[_0x553a52(0x45a)])[_0x553a52(0x29b)](([_0x46ef20,_0x1ddbe6])=>[_0x46ef20,{..._0x1ddbe6}])),L(_0x3edcee),Object[_0x553a52(0x1e2)](_0x3edcee[_0x553a52(0x474)]??{})[_0x553a52(0x461)](([_0x423484,_0x5c3120])=>{const _0x1528c8=_0x553a52;var _0x22c524;let _0xe623bc=Number(_0x423484),_0x4a0a64=_0x3edcee[_0x1528c8(0x45a)][_0x5c3120];_0x4a0a64&&(_0x4a0a64['values']={..._0x4a0a64['values']??{}},Object[_0x1528c8(0x1e2)](((_0x22c524=_0x3edcee[_0x1528c8(0x1cf)])==null?void 0x0:_0x22c524[_0xe623bc])??{})['forEach'](([_0x42420b,_0x56b0ce])=>{const _0x1b2133=_0x1528c8;var _0x2c2288;let _0x4b588d=(_0x2c2288=_0x3edcee[_0x1b2133(0x242)])==null?void 0x0:_0x2c2288[Number(_0x42420b)];_0x4b588d&&_0x593d25&&!_0x593d25(_0x5c3120,_0x4b588d)||(_0x4b588d===_0x3b44b5?_0x4a0a64[_0x1b2133(0x1da)][_0x3b44b5]=_0x4a0a64['id']:_0x4b588d&&(_0x4a0a64[_0x1b2133(0x1da)][_0x4b588d]=Ct(_0x56b0ce,_0x3edcee[_0x1b2133(0x480)][_0x4b588d],_0x3edcee,_0x5c3120)));}));}),_0x3edcee;}function gt(_0x46b949,_0x58a910){const _0x298e2f=_0x354fcb;for(let {row:_0x26d9f3,col:_0xa54b4d}of _0x58a910){var _0x442096,_0x52bf24,_0x3284fb;let _0xe9a244=(_0x442096=_0x46b949['rowId'])==null?void 0x0:_0x442096[_0x26d9f3],_0x1cb47c=(_0x52bf24=_0x46b949[_0x298e2f(0x242)])==null?void 0x0:_0x52bf24[_0xa54b4d],_0x185f25=_0xe9a244?_0x46b949[_0x298e2f(0x45a)][_0xe9a244]:void 0x0;if(!_0x185f25||!_0x1cb47c)continue;if(_0x1cb47c===_0x3b44b5){_0x185f25[_0x298e2f(0x1da)][_0x3b44b5]=_0x185f25['id'];continue;}let _0x305f8c=(_0x3284fb=_0x46b949[_0x298e2f(0x1cf)])==null||(_0x3284fb=_0x3284fb[_0x26d9f3])==null?void 0x0:_0x3284fb[_0xa54b4d];(_0x305f8c!=null||Object['prototype'][_0x298e2f(0x42f)]['call'](_0x185f25[_0x298e2f(0x1da)]??{},_0x1cb47c))&&(_0x185f25[_0x298e2f(0x1da)]={..._0x185f25['values']??{}},_0x185f25[_0x298e2f(0x1da)][_0x1cb47c]=Ct(_0x305f8c,_0x46b949[_0x298e2f(0x480)][_0x1cb47c],_0x46b949,_0xe9a244));}return _0x46b949;}function _t(_0x5e47d4,_0x134246,_0x1ddd02){const _0x2dd944=_0x354fcb;var _0x1b3194,_0x130eef,_0x2d1497,_0x59c31c,_0xe2c45b,_0x5a927e;let _0x494ff6=(_0x1b3194=_0x5e47d4[_0x2dd944(0x290)])==null?void 0x0:_0x1b3194[_0x134246],_0x46ef39=(_0x130eef=_0x5e47d4[_0x2dd944(0x288)])==null?void 0x0:_0x130eef[_0x1ddd02];if(_0x494ff6!=null&&_0x46ef39!=null&&((_0x2d1497=_0x5e47d4[_0x2dd944(0x474)])==null?void 0x0:_0x2d1497[_0x494ff6])===_0x134246&&((_0x59c31c=_0x5e47d4[_0x2dd944(0x242)])==null?void 0x0:_0x59c31c[_0x46ef39])===_0x1ddd02)return{'row':_0x494ff6,'col':_0x46ef39};let _0x104a5b=L(_0x5e47d4),_0x26db20=(_0xe2c45b=_0x104a5b['rowIndex'])==null?void 0x0:_0xe2c45b[_0x134246],_0xf9b7ec=(_0x5a927e=_0x104a5b[_0x2dd944(0x288)])==null?void 0x0:_0x5a927e[_0x1ddd02];return _0x26db20==null||_0xf9b7ec==null?null:{'row':_0x26db20,'col':_0xf9b7ec};}function vt(_0x1b2953,_0x3007dc,_0x294437){const _0x5e57c0=_0x354fcb;var _0x52ba47;let _0x2f519d=_t(_0x1b2953,_0x3007dc,_0x294437);if(_0x2f519d)return(_0x52ba47=_0x1b2953['cellData'])==null||(_0x52ba47=_0x52ba47[_0x2f519d[_0x5e57c0(0x21b)]])==null?void 0x0:_0x52ba47[_0x2f519d[_0x5e57c0(0x1ea)]];}function yt(_0x56728d,_0x5dbb20,_0x49af4e){const _0x552811=_0x354fcb;var _0x2288a8;let _0x4deeae=vt(_0x56728d,_0x5dbb20,_0x49af4e),_0x3cb7d8=_0x56728d[_0x552811(0x480)][_0x49af4e];if((_0x3cb7d8==null?void 0x0:_0x3cb7d8[_0x552811(0x33a)])===_0x19bf94[_0x552811(0x46f)]){var _0x4b0723;return Ot(_0x56728d,_0x5dbb20,_0x49af4e)??kt((_0x4b0723=_0x56728d[_0x552811(0x45a)][_0x5dbb20])==null||(_0x4b0723=_0x4b0723[_0x552811(0x1da)])==null?void 0x0:_0x4b0723[_0x49af4e]);}if(Mt(_0x3cb7d8)||Nt(_0x3cb7d8)||(_0x3cb7d8==null?void 0x0:_0x3cb7d8[_0x552811(0x33a)])===_0x19bf94[_0x552811(0x4db)]){var _0x12d76d;let _0x1afa7b=(_0x12d76d=_0x56728d[_0x552811(0x45a)][_0x5dbb20])==null||(_0x12d76d=_0x12d76d['values'])==null?void 0x0:_0x12d76d[_0x49af4e];return _0x1afa7b!=null&&_0x1afa7b!==''?At(_0x1afa7b,_0x3cb7d8):Ct(_0x4deeae,_0x3cb7d8,_0x56728d,_0x5dbb20);}return _0x4deeae&&Object[_0x552811(0x32b)][_0x552811(0x42f)]['call'](_0x4deeae,'v')?_0x4deeae['v']??null:((_0x2288a8=_0x56728d['records'][_0x5dbb20])==null||(_0x2288a8=_0x2288a8[_0x552811(0x1da)])==null?void 0x0:_0x2288a8[_0x49af4e])??null;}function bt(_0x175439,_0x3a5e47,_0x1363e3){const _0x1186b4=_0x354fcb;var _0x202b2e;let _0x12e467=vt(_0x175439,_0x3a5e47,_0x1363e3);if(_0x12e467&&Object[_0x1186b4(0x32b)][_0x1186b4(0x42f)][_0x1186b4(0x331)](_0x12e467,'v'))return _0x12e467['v']??null;let _0x158044=_0x175439[_0x1186b4(0x480)][_0x1363e3];return xt(((_0x202b2e=_0x175439[_0x1186b4(0x45a)][_0x3a5e47])==null||(_0x202b2e=_0x202b2e[_0x1186b4(0x1da)])==null?void 0x0:_0x202b2e[_0x1363e3])??null,_0x158044)['v']??null;}function xt(_0x2ee3a8,_0x40cdb1){const _0x2ecbf9=_0x354fcb;if(Tt(_0x2ee3a8))return(_0x40cdb1==null?void 0x0:_0x40cdb1['type'])===_0x19bf94[_0x2ecbf9(0x46f)]?{..._0x2ee3a8,'v':'','t':_0x149f0a[_0x2ecbf9(0x475)]}:St(_0x2ee3a8);if((_0x40cdb1==null?void 0x0:_0x40cdb1[_0x2ecbf9(0x33a)])===_0x19bf94[_0x2ecbf9(0x46f)])return{'v':'','t':_0x149f0a[_0x2ecbf9(0x475)]};if(Nt(_0x40cdb1)){let _0x2c44bb=Pt(_0x2ee3a8);return{'v':_0x2c44bb,'t':Lt(_0x2c44bb)};}if(Mt(_0x40cdb1))return{'v':Ft(_0x2ee3a8)[_0x2ecbf9(0x4b5)](',\x20'),'t':_0x149f0a[_0x2ecbf9(0x475)]};if((_0x40cdb1==null?void 0x0:_0x40cdb1['type'])===_0x19bf94[_0x2ecbf9(0x4db)]&&_0x2ee3a8&&typeof _0x2ee3a8==_0x2ecbf9(0x269)&&!Array[_0x2ecbf9(0x354)](_0x2ee3a8)){let _0x30944f=_0x2ee3a8;return{'v':String(_0x30944f[_0x2ecbf9(0x4d2)]??_0x30944f[_0x2ecbf9(0x1c7)]??''),'t':_0x149f0a[_0x2ecbf9(0x475)]};}return _0x2ee3a8===null||typeof _0x2ee3a8==_0x2ecbf9(0x471)||typeof _0x2ee3a8=='number'||typeof _0x2ee3a8==_0x2ecbf9(0x364)?{'v':_0x2ee3a8,'t':Lt(_0x2ee3a8)}:{'v':null,'t':null};}function St(_0x11313e){let _0x22413d=zt(_0x11313e['t'],_0x11313e['v']);if(_0x22413d===void 0x0){let {t:_0x7a81f1,..._0x3c745d}=_0x11313e;return _0x3c745d;}return{..._0x11313e,'t':_0x22413d};}function Ct(_0x2d7b40,_0x33661f,_0x171d4a,_0x1166d9){const _0x1fbdc4=_0x354fcb;if(!_0x2d7b40)return null;if((_0x33661f==null?void 0x0:_0x33661f[_0x1fbdc4(0x33a)])===_0x19bf94[_0x1fbdc4(0x46f)])return _0x171d4a&&_0x1166d9?Ot(_0x171d4a,_0x1166d9,_0x33661f['id'])??[]:[];if(Mt(_0x33661f))return Ft(_0x2d7b40['v']);if((_0x33661f==null?void 0x0:_0x33661f[_0x1fbdc4(0x33a)])===_0x19bf94[_0x1fbdc4(0x4db)]&&_0x171d4a&&_0x1166d9){var _0x12ba77;let _0xc36b6b=(_0x12ba77=_0x171d4a[_0x1fbdc4(0x45a)][_0x1166d9])==null||(_0x12ba77=_0x12ba77[_0x1fbdc4(0x1da)])==null?void 0x0:_0x12ba77[_0x33661f['id']];if(_0xc36b6b&&typeof _0xc36b6b=='object'&&!Array[_0x1fbdc4(0x354)](_0xc36b6b))return _0xc36b6b;}return Object[_0x1fbdc4(0x32b)][_0x1fbdc4(0x42f)]['call'](_0x2d7b40,'v')?_0x2d7b40['v']??null:null;}function wt(_0x4e2b12,_0x44cd39,_0x4262e2,_0x533a76,_0x42509f){const _0x5c5b0f=_0x354fcb;return(_0x4262e2==null?void 0x0:_0x4262e2[_0x5c5b0f(0x33a)])===_0x19bf94[_0x5c5b0f(0x46f)]?kt(_0x4e2b12):Nt(_0x4262e2)?Pt(_0x4e2b12):Mt(_0x4262e2)?Ft(_0x4e2b12):(_0x4262e2==null?void 0x0:_0x4262e2[_0x5c5b0f(0x33a)])===_0x19bf94[_0x5c5b0f(0x4db)]&&(_0x4e2b12==null||_0x4e2b12==='')?null:(_0x4262e2==null?void 0x0:_0x4262e2[_0x5c5b0f(0x33a)])===_0x19bf94[_0x5c5b0f(0x4db)]&&_0x4e2b12&&typeof _0x4e2b12=='object'&&!Array[_0x5c5b0f(0x354)](_0x4e2b12)&&!Tt(_0x4e2b12)?_0x4e2b12:Ct(_0x44cd39,_0x4262e2,_0x533a76,_0x42509f);}function Tt(_0x3184d1){const _0x322a99=_0x354fcb;return!!_0x3184d1&&typeof _0x3184d1==_0x322a99(0x269)&&(Object['prototype']['hasOwnProperty'][_0x322a99(0x331)](_0x3184d1,'v')||Object[_0x322a99(0x32b)][_0x322a99(0x42f)][_0x322a99(0x331)](_0x3184d1,'t')||Object['prototype'][_0x322a99(0x42f)][_0x322a99(0x331)](_0x3184d1,'p')||Object[_0x322a99(0x32b)][_0x322a99(0x42f)]['call'](_0x3184d1,'f')||Object[_0x322a99(0x32b)][_0x322a99(0x42f)][_0x322a99(0x331)](_0x3184d1,'si'));}function Et(_0x17e499,_0x18881a){return _0x17e499+'\x1f'+_0x18881a;}function Dt(_0x25c6ea,_0x40962d,_0x3f2a17,_0x2fe5ec){const _0x4a187b=_0x354fcb;let _0x223164=kt(_0x2fe5ec);_0x25c6ea[_0x4a187b(0x358)]={..._0x25c6ea[_0x4a187b(0x358)]??{}},_0x25c6ea['resources'][_0x4a187b(0x47e)]={..._0x25c6ea[_0x4a187b(0x358)][_0x4a187b(0x47e)]??{}},_0x25c6ea[_0x4a187b(0x358)][_0x4a187b(0x499)]={..._0x25c6ea['resources']['attachments']??{}};let _0x301fce=Et(_0x3f2a17,_0x40962d),_0x41e1ef=[];for(let _0x3dc778=0x0;_0x3dc778<_0x223164['length'];_0x3dc778++){if(!(_0x3dc778 in _0x223164))continue;let _0xb40b94=_0x223164[_0x3dc778],_0xf86c0c=String(_0xb40b94['id']??_0x301fce+'\x1f'+_0x3dc778),_0x3acec5={..._0xb40b94,'id':_0xf86c0c};_0x25c6ea[_0x4a187b(0x358)][_0x4a187b(0x499)][_0xf86c0c]=_0x3acec5,_0x41e1ef[_0x4a187b(0x1f3)](_0xf86c0c);}_0x25c6ea[_0x4a187b(0x358)][_0x4a187b(0x47e)][_0x301fce]=_0x41e1ef;}function Ot(_0x17fa1f,_0xa1615d,_0x55c570){const _0x4981ef=_0x354fcb;var _0xb65491;let _0x4d6ae2=Et(_0x55c570,_0xa1615d),_0x3fa93f=(_0xb65491=_0x17fa1f[_0x4981ef(0x358)])==null||(_0xb65491=_0xb65491[_0x4981ef(0x47e)])==null?void 0x0:_0xb65491[_0x4d6ae2];if(!_0x3fa93f)return null;let _0x169758=[];for(let _0x37c96f=0x0;_0x37c96f<_0x3fa93f[_0x4981ef(0x458)];_0x37c96f++){var _0x408091;if(!(_0x37c96f in _0x3fa93f))continue;let _0x2b6b4b=(_0x408091=_0x17fa1f[_0x4981ef(0x358)])==null||(_0x408091=_0x408091[_0x4981ef(0x499)])==null?void 0x0:_0x408091[_0x3fa93f[_0x37c96f]];_0x2b6b4b&&_0x169758[_0x4981ef(0x1f3)]({..._0x2b6b4b});}return _0x169758;}function kt(_0x33faab){const _0x59ae2e=_0x354fcb;if(_0x33faab==null||_0x33faab===''||Tt(_0x33faab)&&!('id'in _0x33faab)&&!('name'in _0x33faab))return[];let _0x112571=Array[_0x59ae2e(0x354)](_0x33faab)?_0x33faab:[_0x33faab],_0x1c9fc6=[];for(let _0x364490=0x0;_0x364490<_0x112571[_0x59ae2e(0x458)];_0x364490++){if(!(_0x364490 in _0x112571))continue;let _0x188128=_0x112571[_0x364490],_0x4c0386=_0x188128&&typeof _0x188128==_0x59ae2e(0x269)?{..._0x188128}:{'id':_0x59ae2e(0x27a)+_0x364490,'name':String(_0x188128)};Object[_0x59ae2e(0x51b)](_0x4c0386)[_0x59ae2e(0x458)]>0x0&&_0x1c9fc6[_0x59ae2e(0x1f3)](_0x4c0386);}return _0x1c9fc6;}function At(_0x26a45b,_0x4d45f1){return(_0x4d45f1==null?void 0x0:_0x4d45f1['type'])===_0x19bf94['Attachment']?kt(_0x26a45b):Nt(_0x4d45f1)?Pt(_0x26a45b):Mt(_0x4d45f1)?Ft(_0x26a45b):_0x26a45b;}function jt(_0x3ff1b5,_0x1fc569,_0x77bb3c){const _0x35d81b=_0x354fcb;return(_0x1fc569==null?void 0x0:_0x1fc569[_0x35d81b(0x33a)])===_0x19bf94['Attachment']?_0x3ff1b5['v']!=='':Nt(_0x1fc569)?_0x3ff1b5['v']!==Pt(_0x77bb3c):Mt(_0x1fc569)?Array['isArray'](_0x77bb3c)&&(_0x3ff1b5['v']==null||_0x3ff1b5['v']===''):!0x1;}function Mt(_0x43dc37){const _0x3d4d9c=_0x354fcb;return(_0x43dc37==null?void 0x0:_0x43dc37[_0x3d4d9c(0x33a)])===_0x19bf94[_0x3d4d9c(0x283)]||(_0x43dc37==null?void 0x0:_0x43dc37[_0x3d4d9c(0x33a)])===_0x19bf94['Group']||(_0x43dc37==null?void 0x0:_0x43dc37[_0x3d4d9c(0x33a)])===_0x19bf94['Person']&&_0x43dc37[_0x3d4d9c(0x342)]['allowMultiple']===!0x0;}function Nt(_0x28c76f){const _0x3a0ea9=_0x354fcb;return(_0x28c76f==null?void 0x0:_0x28c76f[_0x3a0ea9(0x33a)])===_0x19bf94[_0x3a0ea9(0x1e5)]&&_0x28c76f[_0x3a0ea9(0x342)][_0x3a0ea9(0x18d)]!==!0x0;}function Pt(_0x5d0d11){let _0x408d83=Tt(_0x5d0d11)?_0x5d0d11['v']:_0x5d0d11,_0x310d4a=Array['isArray'](_0x408d83)?_0x408d83[0x0]:_0x408d83;return _0x310d4a==null||_0x310d4a===''?null:String(_0x310d4a);}function Ft(_0x1919e3){const _0x14b229=_0x354fcb;if(_0x1919e3==null||_0x1919e3==='')return[];let _0x410f2a=[];if(Array[_0x14b229(0x354)](_0x1919e3)){for(let _0x164b9a=0x0;_0x164b9a<_0x1919e3[_0x14b229(0x458)];_0x164b9a++){if(!(_0x164b9a in _0x1919e3))continue;let _0x4f7889=It(_0x1919e3[_0x164b9a]);_0x4f7889&&_0x410f2a['push'](_0x4f7889);}return _0x410f2a;}for(let _0x2bd2f3 of String(_0x1919e3)[_0x14b229(0x1c5)](',')){let _0xeaf506=_0x2bd2f3['trim']();_0xeaf506&&_0x410f2a[_0x14b229(0x1f3)](_0xeaf506);}return _0x410f2a;}function It(_0x35c04a){const _0x2c2060=_0x354fcb;if(_0x35c04a==null)return'';if(typeof _0x35c04a==_0x2c2060(0x471)||typeof _0x35c04a==_0x2c2060(0x256)||typeof _0x35c04a=='boolean')return String(_0x35c04a);if(typeof _0x35c04a=='object'){let _0x5e082f=_0x35c04a;return String(_0x5e082f['id']??_0x5e082f[_0x2c2060(0x1e0)]??_0x5e082f['text']??'');}return String(_0x35c04a);}function Lt(_0x466920){const _0x5d62ce=_0x354fcb;return _0x466920==null?null:typeof _0x466920=='number'?_0x149f0a['NUMBER']:typeof _0x466920=='boolean'?_0x149f0a[_0x5d62ce(0x176)]:_0x149f0a[_0x5d62ce(0x475)];}function Rt(_0x3a78d2){const _0x2bd55d=_0x354fcb;_0x3a78d2[_0x2bd55d(0x3db)]((_0x885cb0,_0x4beebc)=>_0x885cb0[_0x2bd55d(0x3ef)]['localeCompare'](_0x4beebc['orderKey']));let _0x16031b=[];for(let _0x229565 of _0x3a78d2)_0x16031b['push'](_0x229565['id']);return _0x16031b;}function zt(_0x48d91a,_0x33ccb1){const _0x142e04=_0x354fcb;return _0x48d91a===_0x149f0a[_0x142e04(0x475)]||_0x48d91a===_0x149f0a[_0x142e04(0x426)]||_0x48d91a===_0x149f0a[_0x142e04(0x176)]||_0x48d91a===_0x149f0a[_0x142e04(0x31e)]||_0x48d91a==null?_0x48d91a:Lt(_0x33ccb1??null);}function R(_0x482f2c){let _0x7201d2=null;for(let _0x547d17 of _0x482f2c)_0x7201d2=_0x7201d2===null?_0x547d17:_0x370803['type']['compose'](_0x7201d2,_0x547d17);return _0x7201d2;}var z=class e{static[_0x354fcb(0x322)](_0x2a19d9,_0x4db787){const _0x5ea286=_0x354fcb;let _0x2ef1fd=[];for(let _0x49a2bb of _0x4db787){let _0x1b351c=Bt(_0x49a2bb);if(!_0x1b351c||_0x1b351c['unitId']!==_0x2a19d9['id'])return null;_0x2ef1fd[_0x5ea286(0x1f3)](_0x1b351c['op']);}try{let _0x2d13ce=R(_0x2ef1fd);return _0x2d13ce===null?_0x2a19d9:new e()[_0x5ea286(0x2ad)](_0x2a19d9,_0x2d13ce);}catch{return null;}}[_0x354fcb(0x2ad)](_0x53c3de,_0x2f9315){const _0x383cc1=_0x354fcb;let _0x46a373=this['getAffectedRanges'](_0x2f9315),_0x16e80e=I(_0x383cc1(0x37a),()=>Xt(_0x53c3de,_0x2f9315),{'invalidations':_0x46a373[_0x383cc1(0x458)]}),_0x33b52d=I(_0x383cc1(0x1ae),()=>_0x370803[_0x383cc1(0x33a)]['apply'](_0x16e80e,_0x2f9315),{'invalidations':_0x46a373[_0x383cc1(0x458)]}),_0x19b153=Ht(_0x33b52d,_0x46a373);return I('BaseJson1.syncCellInvalidations',()=>Vt(_0x33b52d,_0x46a373),{'invalidations':_0x46a373[_0x383cc1(0x458)]})?(Ut(_0x33b52d,_0x19b153),_0x33b52d):(I(_0x383cc1(0x3a6),()=>{const _0x243c0a=_0x383cc1;this[_0x243c0a(0x2a4)](_0x33b52d,_0x46a373)[_0x243c0a(0x461)](_0x163efb=>{const _0x5a20cc=_0x243c0a;let _0x20ac7b=_0x46a373['filter'](_0x22afee=>_0x22afee[_0x5a20cc(0x1c3)]===_0x163efb['id']),_0x5ad8dc=_0x20ac7b[_0x5a20cc(0x458)]>0x0&&_0x20ac7b['every'](_0x2e6194=>_0x2e6194[_0x5a20cc(0x2d9)]===_0x5a20cc(0x28b)||_0x2e6194['reason']==='view'||_0x2e6194[_0x5a20cc(0x2d9)]===_0x5a20cc(0x4eb)||_0x2e6194['reason']==='record')?new Set(_0x20ac7b[_0x5a20cc(0x2a2)](_0x2a4d20=>{const _0x40eadc=_0x5a20cc;var _0x573ccb;if(_0x2a4d20['reason']!==_0x40eadc(0x28b)||!_0x2a4d20[_0x40eadc(0x46e)])return[];let _0x585c62=(_0x573ccb=_0x53c3de['tables'][_0x163efb['id']])==null?void 0x0:_0x573ccb[_0x40eadc(0x480)][_0x2a4d20[_0x40eadc(0x46e)]],_0x57f49e=_0x163efb[_0x40eadc(0x480)][_0x2a4d20[_0x40eadc(0x46e)]];return(_0x585c62==null?void 0x0:_0x585c62[_0x40eadc(0x33a)])!==(_0x57f49e==null?void 0x0:_0x57f49e[_0x40eadc(0x33a)])||(_0x585c62==null?void 0x0:_0x585c62[_0x40eadc(0x342)]['allowMultiple'])!==(_0x57f49e==null?void 0x0:_0x57f49e[_0x40eadc(0x342)][_0x40eadc(0x18d)])?[_0x2a4d20[_0x40eadc(0x46e)]]:[];})):void 0x0,_0x106c63=new Set(_0x20ac7b[_0x5a20cc(0x2a2)](_0x3920b3=>{const _0x369dad=_0x5a20cc;var _0x14d1a3,_0x39f229;return _0x3920b3[_0x369dad(0x2d9)]!==_0x369dad(0x4eb)||_0x3920b3['row']==null||_0x3920b3[_0x369dad(0x26e)]==null?[]:[JSON[_0x369dad(0x449)]([(_0x14d1a3=_0x163efb[_0x369dad(0x474)])==null?void 0x0:_0x14d1a3[_0x3920b3[_0x369dad(0x21b)]],(_0x39f229=_0x163efb['colId'])==null?void 0x0:_0x39f229[_0x3920b3['column']]])];}));ht(_0x163efb,_0x5ad8dc?(_0x290643,_0x576e84)=>_0x5ad8dc['has'](_0x576e84)||_0x106c63['has'](JSON[_0x5a20cc(0x449)]([_0x290643,_0x576e84])):void 0x0);});},{'invalidations':_0x46a373[_0x383cc1(0x458)]}),Ut(_0x33b52d,_0x19b153),_0x33b52d);}[_0x354fcb(0x2aa)](_0x1ef376,_0x5de11d){const _0x872c56=_0x354fcb;return _0x370803[_0x872c56(0x33a)][_0x872c56(0x1fd)](_0x5de11d,_0x1ef376);}[_0x354fcb(0x2b9)](_0x437cac){const _0x2393a4=_0x354fcb;let _0x2a873c=qt(_0x437cac);return _0x2a873c[_0x2393a4(0x458)]?Jt(_0x2a873c[_0x2393a4(0x2a2)](_0x444164=>this['getAffectedRanges'](_0x444164))):Wt(_0x437cac);}[_0x354fcb(0x2a4)](_0x2baae9,_0x309960){const _0x362bdc=_0x354fcb;let _0x59a87b=_0x309960[_0x362bdc(0x397)](_0x4c5233=>_0x4c5233['reason']!==_0x362bdc(0x2df));return _0x59a87b[_0x362bdc(0x458)]?_0x59a87b['some'](_0x57cb5d=>!_0x57cb5d[_0x362bdc(0x1c3)])?Object[_0x362bdc(0x1da)](_0x2baae9[_0x362bdc(0x2ba)]??{}):Array[_0x362bdc(0x4dd)](new Set(_0x59a87b[_0x362bdc(0x29b)](_0xce4b56=>_0xce4b56['tableId'])))[_0x362bdc(0x2a2)](_0x3c7632=>{var _0x8fdc49;let _0x3527af=(_0x8fdc49=_0x2baae9['tables'])==null?void 0x0:_0x8fdc49[_0x3c7632];return _0x3527af?[_0x3527af]:[];}):[];}};function Bt(_0x387d7c){const _0x6f9ad=_0x354fcb;let _0x15280f=_0x387d7c['params'];return _0x387d7c['id']!==_0x6f9ad(0x4d6)||typeof _0x15280f!=_0x6f9ad(0x269)||!_0x15280f||!(_0x6f9ad(0x278)in _0x15280f)||typeof _0x15280f['unitId']!=_0x6f9ad(0x471)||!('op'in _0x15280f)||!Array[_0x6f9ad(0x354)](_0x15280f['op'])?null:{'unitId':_0x15280f[_0x6f9ad(0x278)],'op':_0x15280f['op']};}function Vt(_0x1559c6,_0x4806f9){const _0x5adb30=_0x354fcb;if(!_0x4806f9[_0x5adb30(0x458)]||_0x4806f9[_0x5adb30(0x257)](_0x261695=>_0x261695[_0x5adb30(0x2d9)]!==_0x5adb30(0x4eb)))return!0x1;let _0x1bb496=new Map();for(let _0x1fabd2 of _0x4806f9){if(!_0x1fabd2[_0x5adb30(0x1c3)]||_0x1fabd2[_0x5adb30(0x21b)]==null||_0x1fabd2[_0x5adb30(0x26e)]==null)continue;let _0x5a9406=_0x1bb496['get'](_0x1fabd2[_0x5adb30(0x1c3)])??[];_0x5a9406[_0x5adb30(0x1f3)]({'row':_0x1fabd2['row'],'col':_0x1fabd2['column']}),_0x1bb496[_0x5adb30(0x1a1)](_0x1fabd2['tableId'],_0x5a9406);}return _0x1bb496[_0x5adb30(0x461)]((_0x5c7850,_0x1568c6)=>{const _0x2dd908=_0x5adb30;var _0xbd3e05;let _0x2f678f=(_0xbd3e05=_0x1559c6[_0x2dd908(0x2ba)])==null?void 0x0:_0xbd3e05[_0x1568c6];_0x2f678f&>(_0x2f678f,_0x5c7850);}),!0x0;}function Ht(_0x228b2d,_0xf68c42){const _0x5869a4=_0x354fcb;let _0x3b000b=new Set();return _0xf68c42[_0x5869a4(0x2a2)](_0x50b6c7=>{const _0x4d9bad=_0x5869a4;var _0x345998;if(!_0x50b6c7['tableId']||!_0x50b6c7[_0x4d9bad(0x4bb)]||!_0x50b6c7[_0x4d9bad(0x46e)])return[];let _0x1f9463=_0x50b6c7['tableId']+'\x1f'+_0x50b6c7[_0x4d9bad(0x4bb)]+'\x1f'+_0x50b6c7['fieldId'];if(_0x3b000b[_0x4d9bad(0x23f)](_0x1f9463))return[];_0x3b000b[_0x4d9bad(0x35e)](_0x1f9463);let _0x5a109b=(_0x345998=_0x228b2d[_0x4d9bad(0x2ba)][_0x50b6c7['tableId']])==null||(_0x345998=_0x345998[_0x4d9bad(0x45a)][_0x50b6c7[_0x4d9bad(0x4bb)]])==null?void 0x0:_0x345998[_0x4d9bad(0x1da)];return _0x5a109b?[{'tableId':_0x50b6c7[_0x4d9bad(0x1c3)],'recordId':_0x50b6c7[_0x4d9bad(0x4bb)],'fieldId':_0x50b6c7[_0x4d9bad(0x46e)],'exists':Object[_0x4d9bad(0x32b)][_0x4d9bad(0x42f)][_0x4d9bad(0x331)](_0x5a109b,_0x50b6c7[_0x4d9bad(0x46e)]),'value':_0x5a109b[_0x50b6c7[_0x4d9bad(0x46e)]]}]:[];});}function Ut(_0x36d0fd,_0x32b5ec){_0x32b5ec['forEach'](_0x24a2d8=>{const _0x3d689d=_0x48d8;var _0x1db230;let _0x359f0e=(_0x1db230=_0x36d0fd[_0x3d689d(0x2ba)][_0x24a2d8[_0x3d689d(0x1c3)]])==null||(_0x1db230=_0x1db230[_0x3d689d(0x45a)][_0x24a2d8[_0x3d689d(0x4bb)]])==null?void 0x0:_0x1db230[_0x3d689d(0x1da)];_0x359f0e&&(_0x24a2d8[_0x3d689d(0x335)]?_0x359f0e[_0x24a2d8[_0x3d689d(0x46e)]]=_0x24a2d8['value']:delete _0x359f0e[_0x24a2d8[_0x3d689d(0x46e)]]);});}function Wt(_0x354c8c){const _0x3fd53e=_0x354fcb;if(!Array[_0x3fd53e(0x354)](_0x354c8c)||_0x354c8c[_0x3fd53e(0x458)]<0x2)return[{'tableId':'','reason':'unknown'}];let _0x4f6ef0=_0x354c8c,_0x92a771=_0x4f6ef0['indexOf'](_0x3fd53e(0x2ba));return _0x92a771===-0x1||typeof _0x4f6ef0[_0x92a771+0x1]!=_0x3fd53e(0x471)?_0x4f6ef0[0x0]===_0x3fd53e(0x3e3)?[]:[{'tableId':'','reason':_0x3fd53e(0x37d)}]:Gt(_0x4f6ef0,_0x92a771,String(_0x4f6ef0[_0x92a771+0x1]));}function Gt(_0x1e42b5,_0x4cc015,_0x1985fd){const _0x231a34=_0x354fcb;let _0x51ea8f=_0x1e42b5[_0x4cc015+0x2];return _0x51ea8f==='records'&&typeof _0x1e42b5[_0x4cc015+0x3]==_0x231a34(0x471)?Kt(_0x1e42b5,_0x4cc015,_0x1985fd,String(_0x1e42b5[_0x4cc015+0x3])):_0x51ea8f===_0x231a34(0x1cf)&&_0x1e42b5[_0x4cc015+0x3]!=null&&_0x1e42b5[_0x4cc015+0x4]!=null?[{'tableId':_0x1985fd,'reason':_0x231a34(0x4eb),'row':Number(_0x1e42b5[_0x4cc015+0x3]),'column':Number(_0x1e42b5[_0x4cc015+0x4])}]:_0x51ea8f==='fields'&&typeof _0x1e42b5[_0x4cc015+0x3]==_0x231a34(0x471)?[{'tableId':_0x1985fd,'reason':_0x231a34(0x28b),'fieldId':String(_0x1e42b5[_0x4cc015+0x3])}]:_0x51ea8f===_0x231a34(0x1e1)?[{'tableId':_0x1985fd,'reason':_0x231a34(0x28b)}]:_0x51ea8f===_0x231a34(0x22d)?[{'tableId':_0x1985fd,'reason':'record'}]:_0x51ea8f==='views'&&typeof _0x1e42b5[_0x4cc015+0x3]==_0x231a34(0x471)?[{'tableId':_0x1985fd,'reason':_0x231a34(0x2df),'viewId':String(_0x1e42b5[_0x4cc015+0x3])}]:_0x51ea8f==='viewOrder'?[{'tableId':_0x1985fd,'reason':_0x231a34(0x2df)}]:_0x51ea8f===_0x231a34(0x358)?[{'tableId':_0x1985fd,'reason':_0x231a34(0x4eb)}]:[{'tableId':_0x1985fd,'reason':_0x51ea8f===void 0x0?'table':_0x231a34(0x37d)}];}function Kt(_0x43ae2d,_0x39e026,_0x288c80,_0x43694b){const _0x17baea=_0x354fcb;return _0x43ae2d[_0x39e026+0x4]===_0x17baea(0x1da)&&typeof _0x43ae2d[_0x39e026+0x5]==_0x17baea(0x471)?[{'tableId':_0x288c80,'reason':_0x17baea(0x4eb),'recordId':_0x43694b,'fieldId':String(_0x43ae2d[_0x39e026+0x5])}]:_0x43ae2d[_0x39e026+0x4]===_0x17baea(0x483)||_0x43ae2d[_0x39e026+0x4]===_0x17baea(0x2e9)?[]:[{'tableId':_0x288c80,'reason':_0x17baea(0x52b),'recordId':_0x43694b}];}function qt(_0x3105df){const _0x3eff5b=_0x354fcb;if(!Array[_0x3eff5b(0x354)](_0x3105df))return[];let _0x303c45=_0x3105df[_0x3eff5b(0x397)](Array['isArray']);if(_0x303c45[_0x3eff5b(0x458)]>0x1&&_0x303c45[_0x3eff5b(0x458)]===_0x3105df[_0x3eff5b(0x458)])return _0x303c45;let _0x311c8e=_0x3105df[_0x3eff5b(0x183)](Array[_0x3eff5b(0x354)]);if(_0x311c8e>0x0&&_0x3105df[_0x3eff5b(0x192)](_0x311c8e)['every'](Array[_0x3eff5b(0x354)])){let _0x31ca8e=_0x3105df['slice'](0x0,_0x311c8e);return _0x3105df[_0x3eff5b(0x192)](_0x311c8e)[_0x3eff5b(0x29b)](_0x27f281=>[..._0x31ca8e,..._0x27f281]);}let _0x313750=_0x3105df[_0x3eff5b(0x4c8)](_0x3eff5b(0x2ba));if(_0x313750===-0x1||typeof _0x3105df[_0x313750+0x1]!=_0x3eff5b(0x471))return[];let _0x1c826c=String(_0x3105df[_0x313750+0x1]),_0x59967f=_0x3105df['slice'](_0x313750+0x2)['filter'](Array['isArray']);return _0x59967f[_0x3eff5b(0x458)]<=0x1?[]:_0x59967f['map'](_0x53334d=>['tables',_0x1c826c,..._0x53334d]);}function Jt(_0x3cef58){let _0x38da5f=new Set();return _0x3cef58['filter'](_0x4b685b=>{const _0x52ccf5=_0x48d8;let _0x11951d=JSON[_0x52ccf5(0x449)](_0x4b685b);return!_0x38da5f[_0x52ccf5(0x23f)](_0x11951d)&&(_0x38da5f[_0x52ccf5(0x35e)](_0x11951d),!0x0);});}function Yt(_0xeaec73){return _0x30f9db['deepClone'](_0xeaec73);}function Xt(_0x2678e4,_0x2c0691){const _0xb5e7f7=_0x354fcb;let _0x1de794=Zt(_0x2c0691);if(!_0x1de794[_0xb5e7f7(0x458)])return Yt(_0x2678e4);let _0x1d2149=an(_0x2678e4),_0x1307c7=new Set();for(let _0x2986f5 of _0x1de794)en(_0x1d2149,_0x2986f5,_0x1307c7);return _0x1d2149;}function Zt(_0x448431){let _0x1ff7ef=[];return Qt(_0x448431,[],_0x1ff7ef),_0x1ff7ef;}function Qt(_0x4ba57d,_0x40ba19,_0x55924c){const _0x4b5113=_0x354fcb;if(!Array[_0x4b5113(0x354)](_0x4ba57d))return;let _0x3c3f67=[];for(let _0x5e1c61 of _0x4ba57d)Array[_0x4b5113(0x354)](_0x5e1c61)?Qt(_0x5e1c61,[..._0x40ba19,..._0x3c3f67],_0x55924c):$t(_0x5e1c61)?_0x55924c[_0x4b5113(0x1f3)]([..._0x40ba19,..._0x3c3f67]):(typeof _0x5e1c61==_0x4b5113(0x471)||typeof _0x5e1c61==_0x4b5113(0x256))&&_0x3c3f67[_0x4b5113(0x1f3)](_0x5e1c61);}function $t(_0x394ded){const _0x3c55bc=_0x354fcb;if(!_0x394ded||typeof _0x394ded!=_0x3c55bc(0x269)||Array[_0x3c55bc(0x354)](_0x394ded))return!0x1;let _0x50caf2=_0x394ded;return'i'in _0x50caf2||'r'in _0x50caf2||'p'in _0x50caf2||'d'in _0x50caf2||'es'in _0x50caf2||'ena'in _0x50caf2||'et'in _0x50caf2;}function en(_0x451b3d,_0x13301d,_0x4070d5){const _0x3574ab=_0x354fcb;let _0x1872d9=_0x451b3d,_0x1c4d05=[];for(let _0x31eaaf=0x0;_0x31eaaf<_0x13301d[_0x3574ab(0x458)]-0x1;_0x31eaaf++){let _0x2c2626=_0x13301d[_0x31eaaf];_0x1c4d05[_0x3574ab(0x1f3)](_0x2c2626);let _0x48406a=tn(_0x1872d9,_0x2c2626);if(!rn(_0x48406a))return;let _0x359bb3=JSON['stringify'](_0x1c4d05);_0x4070d5[_0x3574ab(0x23f)](_0x359bb3)||(nn(_0x1872d9,_0x2c2626,an(_0x48406a)),_0x4070d5['add'](_0x359bb3));let _0x24edca=tn(_0x1872d9,_0x2c2626);if(!rn(_0x24edca))return;_0x1872d9=_0x24edca;}}function tn(_0x556cc0,_0x55e95c){const _0xfdc55a=_0x354fcb;return Array['isArray'](_0x556cc0)?typeof _0x55e95c==_0xfdc55a(0x256)?_0x556cc0[_0x55e95c]:void 0x0:Reflect['get'](_0x556cc0,_0x55e95c);}function nn(_0xb5159d,_0x576e8a,_0x4c8727){const _0x6ce77a=_0x354fcb;Array[_0x6ce77a(0x354)](_0xb5159d)?typeof _0x576e8a=='number'&&(_0xb5159d[_0x576e8a]=_0x4c8727):Reflect['set'](_0xb5159d,_0x576e8a,_0x4c8727);}function rn(_0x52777f){const _0x30673d=_0x354fcb;return!!_0x52777f&&typeof _0x52777f==_0x30673d(0x269);}function an(_0x55e561){const _0x12de4d=_0x354fcb;return Array[_0x12de4d(0x354)](_0x55e561)?_0x55e561[_0x12de4d(0x192)]():{..._0x55e561};}const on='yyyy/mm/dd',sn=/\s+hh:mm\s*$/i,cn={'yyyy/mm/dd':_0x354fcb(0x1ac),'yyyy-mm-dd':'YYYY-MM-DD','mm-dd':'MM-DD','mm/dd/yyyy':_0x354fcb(0x4f7),'dd/mm/yyyy':_0x354fcb(0x3b3),'mmm\x20d,\x20yyyy':_0x354fcb(0x390)};function B(_0x163012,_0x1cab90=_0x4547e4[_0x354fcb(0x429)]){const _0x35e5d4=_0x354fcb;let _0x3fba62=_0x5cea60(_0x163012)[_0x35e5d4(0x3f0)]();return _0xa41fad(new Date(_0x3fba62),_0x1cab90);}function ln(_0x1940fc,_0x24dc02=_0x4547e4[_0x354fcb(0x429)]){const _0x13505a=_0x354fcb;return _0x156e38(_0x1940fc,_0x24dc02)[_0x13505a(0x3f6)]();}function un(_0xcdc644,_0x5ae89d=_0x4547e4[_0x354fcb(0x429)]){const _0x1d9513=_0x354fcb;if(_0xcdc644==null||_0xcdc644==='')return null;if(_0xcdc644 instanceof Date)return B(_0xcdc644,_0x5ae89d);if(typeof _0xcdc644==_0x1d9513(0x256))return Number[_0x1d9513(0x2c3)](_0xcdc644)?_0xcdc644>0xf4240?B(_0xcdc644,_0x5ae89d):_0xcdc644:null;let _0x48cd0e=Date['parse'](String(_0xcdc644));return Number[_0x1d9513(0x3b5)](_0x48cd0e)?null:B(_0x48cd0e,_0x5ae89d);}function dn(_0x5d8e9b,_0x560799=_0x4547e4[_0x354fcb(0x429)]){let _0x3a9aa5=un(_0x5d8e9b,_0x560799);return _0x3a9aa5==null?null:ln(_0x3a9aa5,_0x560799);}function fn(_0x1e99f7={}){const _0xe30d4b=_0x354fcb;let _0x5a3088=String(_0x1e99f7[_0xe30d4b(0x177)]??_0x1e99f7[_0xe30d4b(0x24a)]??_0x1e99f7[_0xe30d4b(0x476)]??on)[_0xe30d4b(0x3bc)]()||on,_0x319c5d=sn[_0xe30d4b(0x235)](_0x5a3088);return{'pattern':_0x5a3088[_0xe30d4b(0x2b1)](sn,'')||on,'includeTime':typeof _0x1e99f7['includeTime']==_0xe30d4b(0x364)?_0x1e99f7[_0xe30d4b(0x501)]:_0x319c5d,'hourCycle':_0x1e99f7[_0xe30d4b(0x21c)]===_0xe30d4b(0x2cc)?_0xe30d4b(0x2cc):_0xe30d4b(0x1a8)};}function pn(_0x934520={}){let {format:_0x50f4df,dateFormat:_0xa8ab7f,..._0x28346d}=_0x934520;return{..._0x28346d,...fn(_0x934520)};}function mn(_0x4d91d5,_0x579845={}){const _0x5c32c8=_0x354fcb;let _0x44d2a0=dn(_0x4d91d5);if(_0x44d2a0==null||!Number[_0x5c32c8(0x2c3)](_0x44d2a0))return'';let _0x2ccda7=fn(_0x579845);return _0x5cea60(_0x44d2a0)[_0x5c32c8(0x24a)](hn(_0x2ccda7));}function hn(_0x1527e2){const _0x8be71c=_0x354fcb;let {pattern:_0x55c560,includeTime:_0x4e4890,hourCycle:_0x139373}=_0x1527e2,_0x396135=cn[_0x55c560]??cn[on];return _0x4e4890?_0x396135+'\x20'+(_0x139373===_0x8be71c(0x2cc)?_0x8be71c(0x3f7):_0x8be71c(0x25d)):_0x396135;}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([_0x19bf94[_0x354fcb(0x44f)]]);function vn(_0x15d581){const _0x40e74c=_0x354fcb;switch(_0x15d581){case _0x19bf94['Number']:case _0x19bf94[_0x40e74c(0x19c)]:case _0x19bf94[_0x40e74c(0x1ba)]:case _0x19bf94[_0x40e74c(0x4c5)]:return[_0x79efc5['IS'],_0x79efc5[_0x40e74c(0x48d)],_0x79efc5[_0x40e74c(0x23b)],_0x79efc5['LESS_THAN'],_0x79efc5[_0x40e74c(0x308)],_0x79efc5[_0x40e74c(0x3d7)]];case _0x19bf94[_0x40e74c(0x440)]:case _0x19bf94[_0x40e74c(0x253)]:case _0x19bf94['UpdatedAt']:return[_0x79efc5['IS'],_0x79efc5[_0x40e74c(0x48d)],_0x79efc5['BEFORE'],_0x79efc5['AFTER'],_0x79efc5[_0x40e74c(0x308)],_0x79efc5[_0x40e74c(0x3d7)]];case _0x19bf94[_0x40e74c(0x19e)]:return[_0x79efc5['IS'],_0x79efc5[_0x40e74c(0x48d)]];default:return[_0x79efc5['IS'],_0x79efc5[_0x40e74c(0x48d)],_0x79efc5[_0x40e74c(0x33f)],_0x79efc5[_0x40e74c(0x34c)],_0x79efc5['IS_EMPTY'],_0x79efc5['IS_NOT_EMPTY']];}}function yn(_0x1bd2bb){const _0x2d5e9a=_0x354fcb;return _0x1bd2bb===_0x19bf94['Date']||_0x1bd2bb===_0x19bf94[_0x2d5e9a(0x253)]||_0x1bd2bb===_0x19bf94[_0x2d5e9a(0x347)];}function bn(_0x2e58f9,_0x5ef577){const _0x547784=_0x354fcb;return _0x2e58f9==null&&_0x5ef577==null?0x0:_0x2e58f9==null?-0x1:_0x5ef577==null?0x1:typeof _0x2e58f9==_0x547784(0x256)&&typeof _0x5ef577==_0x547784(0x256)?_0x2e58f9-_0x5ef577:String(_0x2e58f9)[_0x547784(0x4bc)](String(_0x5ef577));}function xn(_0x3f284f,_0x430f43,_0x1c65b2,_0x198223,_0x37a850={}){const _0x198adb=_0x354fcb;if(_0x430f43===_0x198adb(0x3cb))return Sn(_0x3f284f);if(_0x430f43==='isNotEmpty')return!Sn(_0x3f284f);switch(_0x198223[_0x198adb(0x33a)]){case _0x19bf94[_0x198adb(0x271)]:case _0x19bf94[_0x198adb(0x19c)]:case _0x19bf94[_0x198adb(0x1ba)]:case _0x19bf94[_0x198adb(0x4c5)]:return Cn(_0x3f284f,_0x430f43,_0x1c65b2);case _0x19bf94[_0x198adb(0x440)]:case _0x19bf94['CreatedAt']:case _0x19bf94[_0x198adb(0x347)]:return Tn(_0x3f284f,_0x430f43,_0x1c65b2,_0x37a850);case _0x19bf94[_0x198adb(0x19e)]:return jn(_0x3f284f,_0x430f43,_0x1c65b2);case _0x19bf94['SingleSelect']:case _0x19bf94['MultiSelect']:case _0x19bf94[_0x198adb(0x1e5)]:case _0x19bf94['Group']:return Nn(_0x3f284f,_0x430f43,_0x1c65b2,_0x198223);default:return Pn(_0x3f284f,_0x430f43,_0x1c65b2);}}function Sn(_0x6c1087){const _0x154548=_0x354fcb;return _0x6c1087==null?!0x0:Array[_0x154548(0x354)](_0x6c1087)?_0x6c1087[_0x154548(0x458)]===0x0:typeof _0x6c1087==_0x154548(0x471)&&_0x6c1087[_0x154548(0x3bc)]()==='';}function Cn(_0xe3b88f,_0x5ba7ba,_0x542d03){const _0x48366b=_0x354fcb;let _0x3cc6a9=wn(_0xe3b88f),_0x3e5755=wn(_0x542d03);if(_0x3cc6a9==null||_0x3e5755==null)return!0x1;switch(_0x5ba7ba){case'is':return _0x3cc6a9===_0x3e5755;case _0x48366b(0x521):return _0x3cc6a9!==_0x3e5755;case _0x48366b(0x267):return _0x3cc6a9>_0x3e5755;case'greaterThanOrEqual':return _0x3cc6a9>=_0x3e5755;case _0x48366b(0x212):return _0x3cc6a9<_0x3e5755;case _0x48366b(0x1eb):return _0x3cc6a9<=_0x3e5755;default:return!0x1;}}function wn(_0x2da85c){const _0x105ad2=_0x354fcb;if(_0x2da85c==null||_0x2da85c==='')return null;let _0x324912=Number(_0x2da85c);return Number[_0x105ad2(0x2c3)](_0x324912)?_0x324912:null;}function Tn(_0x1fa8ea,_0x48c1fd,_0x3d0e73,_0x3025e3){const _0x4e08e5=_0x354fcb;let _0x31d594=Dn(_0x1fa8ea);if(_0x31d594==null)return!0x1;let _0x5b5e8b=En(_0x3025e3[_0x4e08e5(0x43b)]??_0x173d28[_0x4e08e5(0x184)],_0x3d0e73,_0x3025e3[_0x4e08e5(0x181)]);if(!_0x5b5e8b)return!0x1;switch(_0x48c1fd){case _0x79efc5['IS']:return _0x31d594>=_0x5b5e8b[_0x4e08e5(0x191)]&&_0x31d594<=_0x5b5e8b[_0x4e08e5(0x3ce)];case _0x79efc5[_0x4e08e5(0x48d)]:return _0x31d594<_0x5b5e8b[_0x4e08e5(0x191)]||_0x31d594>_0x5b5e8b['end'];case _0x79efc5[_0x4e08e5(0x2e4)]:return _0x31d594<_0x5b5e8b['start'];case _0x79efc5[_0x4e08e5(0x486)]:return _0x31d594>_0x5b5e8b['end'];default:return!0x1;}}function En(_0x1bdaa3,_0x1660b8,_0xbff055=Date['now']()){const _0x9e8950=_0x354fcb;let _0x3f1656=On(_0xbff055);switch(_0x1bdaa3){case _0x173d28[_0x9e8950(0x184)]:{let _0x3e4223=Dn(_0x1660b8);return _0x3e4223==null?null:V(_0x3e4223,0x0,0x1);}case _0x173d28['TODAY']:return V(_0x3f1656,0x0,0x1);case _0x173d28[_0x9e8950(0x255)]:return V(_0x3f1656,0x1,0x1);case _0x173d28[_0x9e8950(0x4d9)]:return V(_0x3f1656,-0x1,0x1);case _0x173d28[_0x9e8950(0x2c6)]:return kn(_0x3f1656,0x0);case _0x173d28[_0x9e8950(0x454)]:return kn(_0x3f1656,-0x1);case _0x173d28['THIS_MONTH']:return An(_0x3f1656,0x0);case _0x173d28[_0x9e8950(0x417)]:return An(_0x3f1656,-0x1);case _0x173d28[_0x9e8950(0x489)]:return V(_0x3f1656,-0x6,0x7);case _0x173d28[_0x9e8950(0x2cb)]:return V(_0x3f1656,0x0,0x7);case _0x173d28[_0x9e8950(0x336)]:return V(_0x3f1656,-0x1d,0x1e);case _0x173d28[_0x9e8950(0x2e0)]:return V(_0x3f1656,0x0,0x1e);}}function Dn(_0x21b6fa){let _0x1975e0=un(_0x21b6fa);return _0x1975e0==null?null:On(ln(_0x1975e0));}function On(_0x54b4e7){let _0x3e86c=new Date(_0x54b4e7);return _0x3e86c['setHours'](0x0,0x0,0x0,0x0),_0x3e86c['getTime']();}function kn(_0x3a23ed,_0x16233a){return V(_0x3a23ed,-((new Date(_0x3a23ed)['getDay']()+0x6)%0x7)+_0x16233a*0x7,0x7);}function V(_0x1b2bdf,_0xc992bf,_0x5955c3){const _0x2258b7=_0x354fcb;let _0x12e3aa=_0x5cea60(_0x1b2bdf)[_0x2258b7(0x35e)](_0xc992bf,_0x2258b7(0x2d6));return{'start':_0x12e3aa[_0x2258b7(0x3f0)](),'end':_0x12e3aa[_0x2258b7(0x35e)](_0x5955c3,_0x2258b7(0x2d6))[_0x2258b7(0x3f0)]()-0x1};}function An(_0x27694d,_0x40a215){const _0x50db6f=_0x354fcb;let _0x224710=new Date(_0x27694d),_0x564c4c=new Date(_0x224710[_0x50db6f(0x2a8)](),_0x224710[_0x50db6f(0x531)]()+_0x40a215,0x1),_0x4fa8a5=new Date(_0x224710['getFullYear'](),_0x224710[_0x50db6f(0x531)]()+_0x40a215+0x1,0x1);return{'start':_0x564c4c['getTime'](),'end':_0x4fa8a5[_0x50db6f(0x3f6)]()-0x1};}function jn(_0x23de59,_0x4cf9e5,_0x3eb924){let _0x535d8e=Mn(_0x23de59),_0x21f170=Mn(_0x3eb924);switch(_0x4cf9e5){case'is':return _0x535d8e===_0x21f170;case'isNot':return _0x535d8e!==_0x21f170;default:return!0x1;}}function Mn(_0x28e28b){return _0x28e28b===!0x0||_0x28e28b==='true'||_0x28e28b===0x1||_0x28e28b==='1';}function Nn(_0x5475dd,_0x5d16d4,_0x3a9407,_0x642d9b){const _0xedbb0a=_0x354fcb;let _0x4c06b3=In(_0x5475dd,_0x642d9b),_0xd26c6a=In(_0x3a9407,_0x642d9b),_0xe0094c=_0xd26c6a['length']>0x0&&_0xd26c6a[_0xedbb0a(0x257)](_0x3cf325=>_0x4c06b3[_0xedbb0a(0x231)](_0x3cf325));switch(_0x5d16d4){case'is':case _0xedbb0a(0x4d7):return _0xe0094c;case _0xedbb0a(0x521):case _0xedbb0a(0x4a5):return!_0xe0094c;default:return!0x1;}}function Pn(_0x2a141f,_0x534d4a,_0x4c9fd){const _0x34d2e1=_0x354fcb;let _0x1c98b9=Fn(_0x2a141f),_0x183d47=Fn(_0x4c9fd);switch(_0x534d4a){case'is':return _0x1c98b9===_0x183d47;case _0x34d2e1(0x521):return _0x1c98b9!==_0x183d47;case _0x34d2e1(0x4d7):return _0x183d47?_0x1c98b9[_0x34d2e1(0x231)](_0x183d47):!0x1;case _0x34d2e1(0x4a5):return!_0x183d47||!_0x1c98b9[_0x34d2e1(0x231)](_0x183d47);default:return!0x1;}}function Fn(_0x23e09c){const _0x5defcf=_0x354fcb;if(Array[_0x5defcf(0x354)](_0x23e09c))return _0x23e09c['map'](_0x35d3c2=>Fn(_0x35d3c2))['join']('\x0a');if(_0x23e09c&&typeof _0x23e09c==_0x5defcf(0x269)){let _0x71ae6a=_0x23e09c;return String(_0x71ae6a['name']??_0x71ae6a['label']??_0x71ae6a[_0x5defcf(0x4d2)]??_0x71ae6a['value']??_0x71ae6a['id']??'')[_0x5defcf(0x3bc)]()[_0x5defcf(0x4f1)]();}return String(_0x23e09c??'')[_0x5defcf(0x3bc)]()[_0x5defcf(0x4f1)]();}function In(_0x4cc2a0,_0x1a83e1){const _0x18bda8=_0x354fcb;let _0x509f67=Ln(_0x4cc2a0),_0x1cb46c=Rn(_0x1a83e1[_0x18bda8(0x342)]??{});return _0x509f67[_0x18bda8(0x2a2)](_0x127756=>_0x1cb46c[_0x18bda8(0x4a8)](_0x127756)??[_0x127756])[_0x18bda8(0x397)]((_0x25cf07,_0x2c891d,_0x1907ab)=>_0x25cf07!==''&&_0x1907ab[_0x18bda8(0x4c8)](_0x25cf07)===_0x2c891d);}function Ln(_0x3b3e8f){const _0xfda5e5=_0x354fcb;if(_0x3b3e8f==null||_0x3b3e8f==='')return[];if(Array['isArray'](_0x3b3e8f))return _0x3b3e8f[_0xfda5e5(0x2a2)](_0x17889a=>Ln(_0x17889a));if(_0x3b3e8f&&typeof _0x3b3e8f==_0xfda5e5(0x269)){let _0x516133=_0x3b3e8f;return['id','name',_0xfda5e5(0x281),_0xfda5e5(0x416),_0xfda5e5(0x4d2)][_0xfda5e5(0x2a2)](_0xb2f89e=>Ln(_0x516133[_0xb2f89e]))[_0xfda5e5(0x397)]((_0x11157d,_0x412ad0,_0x189c26)=>_0x189c26[_0xfda5e5(0x4c8)](_0x11157d)===_0x412ad0);}return[Fn(_0x3b3e8f)];}function Rn(_0x2ee1d0){const _0x17cd19=_0x354fcb;let _0x2b4241=new Map();return(Array[_0x17cd19(0x354)](_0x2ee1d0['options'])?_0x2ee1d0[_0x17cd19(0x392)]:[])[_0x17cd19(0x461)](_0x38e858=>{const _0x28cea6=_0x17cd19;if(!_0x38e858||typeof _0x38e858!='object')return;let _0x39acb9=Ln(_0x38e858),_0x539759=_0x39acb9[_0x28cea6(0x397)]((_0x2b1df8,_0x300a27)=>_0x2b1df8!==''&&_0x39acb9['indexOf'](_0x2b1df8)===_0x300a27);_0x539759[_0x28cea6(0x461)](_0x2c7633=>_0x2b4241['set'](_0x2c7633,_0x539759));}),_0x2b4241;}function H(_0xe52b86,_0x420fa4={},_0xbfa693=_0x4eecc9=>_0x4eecc9,_0x4f142a={}){const _0x2c00e4=_0x354fcb;let _0x4fdf8b=!_n[_0x2c00e4(0x23f)](_0xe52b86),_0x86474e=_0xbfa693??(_0x40f62c=>_0x40f62c);return{'type':_0xe52b86,'i18nKey':_0x2c00e4(0x439)+_0xe52b86,'enabled':_0x4fdf8b,'visibleInCreateMenu':_0x4fdf8b,'createDefaultConfig':_0x4f142a[_0x2c00e4(0x435)]??(()=>({})),'createDefaultValue':_0x4f142a['createDefaultValue']??(_0x6f1610=>_0x6f1610['defaultValue']??null),'normalize':(_0x19b85a,_0x2af6f5)=>_0x86474e(_0x19b85a,_0x2af6f5),'validate':(_0x1c09c2,_0x32c821)=>{const _0x647eee=_0x2c00e4;var _0x548719;return _0x4fdf8b?((_0x548719=_0x4f142a[_0x647eee(0x209)])==null?void 0x0:_0x548719[_0x647eee(0x331)](_0x4f142a,_0x1c09c2,_0x32c821))??{'valid':!0x0}:{'valid':!0x1};},'compare':(_0x40a8c1,_0x52cd36)=>bn(_0x40a8c1,_0x52cd36),'filter':(_0x1c8ac9,_0x16707a,_0x15e424,_0x2dbe7b)=>xn(_0x1c8ac9,_0x16707a,_0x15e424,_0x2dbe7b),'toPlainText':_0x4f142a[_0x2c00e4(0x284)]??(_0x115b45=>_0x115b45==null?'':String(_0x115b45)),'fromPlainText':_0x4f142a[_0x2c00e4(0x4dc)]??(_0x412e92=>_0x86474e(_0x412e92,{'id':'','name':'','type':_0xe52b86,'config':{}})),'getCapabilities':()=>({...gn,..._0x420fa4,'editable':_0x4fdf8b&&(_0x420fa4[_0x2c00e4(0x346)]??gn[_0x2c00e4(0x346)])})};}function zn(){const _0x1ee0c6=_0x354fcb;return[H(_0x19bf94['Text'],{'groupable':!0x0,'usableAsTitle':!0x0},void 0x0,{'createDefaultConfig':()=>({'placeholder':_0x1ee0c6(0x3ab)}),'createDefaultValue':_0x1e958a=>_0x1e958a[_0x1ee0c6(0x241)]??''}),H(_0x19bf94['SingleSelect'],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsOptions':!0x0},_0x327416=>_0x327416==null||_0x327416===''?null:String(_0x327416),{'createDefaultConfig':()=>({'options':[],'optionSource':{'type':_0x1ee0c6(0x532)}})}),H(_0x19bf94[_0x1ee0c6(0x283)],{'filterable':!0x0,'usableAsKanbanGroup':!0x0,'supportsOptions':!0x0,'supportsMultipleValues':!0x0},_0x45d3b4=>Array[_0x1ee0c6(0x354)](_0x45d3b4)?_0x45d3b4[_0x1ee0c6(0x29b)](String):_0x45d3b4==null?[]:[String(_0x45d3b4)],{'createDefaultConfig':()=>({'options':[],'optionSource':{'type':_0x1ee0c6(0x532)}}),'createDefaultValue':_0x543094=>_0x543094[_0x1ee0c6(0x241)]??[]}),H(_0x19bf94[_0x1ee0c6(0x1e5)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsMultipleValues':!0x0},Wn,{'createDefaultConfig':()=>({'allowMultiple':!0x1,'provider':_0x1ee0c6(0x300)}),'validate':Gn}),H(_0x19bf94[_0x1ee0c6(0x223)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsMultipleValues':!0x0},Hn,{'createDefaultConfig':()=>({'allowMultiple':!0x0,'provider':_0x1ee0c6(0x1b9)}),'createDefaultValue':_0x423748=>_0x423748['defaultValue']??[],'validate':Kn}),H(_0x19bf94[_0x1ee0c6(0x440)],{'groupable':!0x0,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x218bac=>un(_0x218bac),{'createDefaultConfig':()=>Vn(),'validate':qn}),H(_0x19bf94[_0x1ee0c6(0x46f)],{'usableAsCardCover':!0x0,'supportsMultipleValues':!0x0},_0x4d8792=>_0x4d8792==null?[]:Array[_0x1ee0c6(0x354)](_0x4d8792)?_0x4d8792:[_0x4d8792],{'createDefaultValue':_0x2fbefa=>_0x2fbefa['defaultValue']??[]}),H(_0x19bf94[_0x1ee0c6(0x271)],{},_0x5afd92=>_0x5afd92==null||_0x5afd92===''?null:Number(_0x5afd92),{'createDefaultConfig':()=>Bn(),'validate':Jn}),H(_0x19bf94['Checkbox'],{'groupable':!0x0,'usableAsKanbanGroup':!0x0},_0x237b0a=>_0x237b0a===!0x0||_0x237b0a===_0x1ee0c6(0x468)||_0x237b0a===0x1||_0x237b0a==='1',{'createDefaultConfig':()=>({'icon':_0x1ee0c6(0x49b),'color':_0x1ee0c6(0x41f)}),'createDefaultValue':_0x55f08d=>_0x55f08d[_0x1ee0c6(0x241)]??!0x1,'validate':_0x459646=>typeof _0x459646==_0x1ee0c6(0x364)?{'valid':!0x0}:{'valid':!0x1,'reason':'[BaseField]:\x20invalid\x20checkbox\x20value.'}}),H(_0x19bf94['Link'],{'supportsRelation':!0x0},Xn,{'createDefaultConfig':()=>({'placeholder':_0x1ee0c6(0x2a7)}),'toPlainText':_0x4842aa=>Zn(_0x4842aa),'fromPlainText':_0x5b2aa4=>Xn(_0x5b2aa4)}),H(_0x19bf94[_0x1ee0c6(0x405)],{'editable':!0x1},void 0x0,{'createDefaultConfig':()=>({'formula':'','dependencies':[],'numfmt':{'type':_0x1ee0c6(0x325),'pattern':_0x1ee0c6(0x4e9)}}),'createDefaultValue':()=>null}),H(_0x19bf94[_0x1ee0c6(0x469)],{'editable':!0x1,'usableAsTitle':!0x0},void 0x0,{'createDefaultConfig':()=>({'mode':_0x1ee0c6(0x19d)}),'createDefaultValue':()=>null}),H(_0x19bf94[_0x1ee0c6(0x2ac)],{'usableAsTitle':!0x0},_0xa5f8aa=>_0xa5f8aa==null?null:String(_0xa5f8aa)[_0x1ee0c6(0x3bc)](),{'validate':_0x13a6f8=>_0x13a6f8==null||_0x13a6f8===''||/^\+?[0-9 ()-]{6,20}$/['test'](String(_0x13a6f8))?{'valid':!0x0}:{'valid':!0x1,'reason':'[BaseField]:\x20invalid\x20phone\x20value.'}}),H(_0x19bf94[_0x1ee0c6(0x34d)],{'usableAsTitle':!0x0},_0xe88a27=>_0xe88a27==null?null:String(_0xe88a27)[_0x1ee0c6(0x3bc)](),{'validate':_0x59c90e=>_0x59c90e==null||_0x59c90e===''||$n(String(_0x59c90e))?{'valid':!0x0}:{'valid':!0x1,'reason':_0x1ee0c6(0x2f3)}}),H(_0x19bf94[_0x1ee0c6(0x1ba)],{'usableAsGanttProgress':!0x0},_0xa4c57a=>_0xa4c57a==null||_0xa4c57a===''?null:Number(_0xa4c57a),{'createDefaultConfig':()=>({'format':'percent','decimalPlaces':0x0,'color':_0x1ee0c6(0x332),'customRange':!0x1,'start':0x0,'end':0x64}),'validate':(_0x1e411d,_0x527781)=>Yn(_0x1e411d,_0x527781,_0x1ee0c6(0x38d))}),H(_0x19bf94[_0x1ee0c6(0x19c)],{},_0x5325bd=>_0x5325bd==null||_0x5325bd===''?null:Number(_0x5325bd),{'createDefaultConfig':()=>({...Bn(),'currencySymbol':'$'}),'validate':Jn}),H(_0x19bf94[_0x1ee0c6(0x4c5)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0},_0x571480=>_0x571480==null||_0x571480===''?null:Number(_0x571480),{'createDefaultConfig':()=>({'icon':_0x1ee0c6(0x45b),'min':0x1,'max':0x5}),'createDefaultValue':()=>null,'validate':(_0x3ec766,_0x13fd53)=>Yn(_0x3ec766,_0x13fd53,'[BaseField]:\x20invalid\x20rating\x20value.')}),H(_0x19bf94[_0x1ee0c6(0x2bd)],{'supportsRelation':!0x0,'supportsMultipleValues':!0x0},Un,{'createDefaultConfig':()=>({'targetTableId':'','multiple':!0x1}),'createDefaultValue':()=>'','validate':(_0x3f27e4,_0x388120)=>ze(_0x3f27e4,_0x388120[_0x1ee0c6(0x342)]['multiple']===!0x0)}),H(_0x19bf94[_0x1ee0c6(0x44f)],{'editable':!0x1,'sortable':!0x0,'filterable':!0x0,'usableAsTitle':!0x0}),H(_0x19bf94[_0x1ee0c6(0x1fe)],{'editable':!0x1,'groupable':!0x0},_0x198be3=>_0x198be3==null?null:String(_0x198be3),{'createDefaultConfig':()=>({'provider':_0x1ee0c6(0x20b)}),'createDefaultValue':()=>null}),H(_0x19bf94[_0x1ee0c6(0x4df)],{'editable':!0x1,'groupable':!0x0},_0xc7f252=>_0xc7f252==null?null:String(_0xc7f252),{'createDefaultConfig':()=>({'provider':_0x1ee0c6(0x20b)}),'createDefaultValue':()=>null}),H(_0x19bf94[_0x1ee0c6(0x253)],{'editable':!0x1,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x6a04d1=>un(_0x6a04d1),{'createDefaultConfig':()=>Vn(),'createDefaultValue':()=>null,'validate':qn}),H(_0x19bf94[_0x1ee0c6(0x347)],{'editable':!0x1,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x463347=>un(_0x463347),{'createDefaultConfig':()=>Vn(),'createDefaultValue':()=>null,'validate':qn})];}function Bn(){const _0x5003ba=_0x354fcb;return{'pattern':_0x5003ba(0x408),'decimalPlaces':0x2,'separatorStyle':_0x5003ba(0x40a),'useThousands':!0x0,'abbreviation':_0x5003ba(0x3e0),'allowNegative':!0x0};}function Vn(){const _0x213d14=_0x354fcb;return{'locale':_0x213d14(0x1d5),'pattern':_0x213d14(0x1cd),'includeTime':!0x1,'hourCycle':_0x213d14(0x1a8),'defaultMode':_0x213d14(0x3e0)};}function Hn(_0x1fde51){const _0x26e1fe=_0x354fcb;return _0x1fde51==null||_0x1fde51===''?[]:Array[_0x26e1fe(0x354)](_0x1fde51)?_0x1fde51[_0x26e1fe(0x29b)](String):[String(_0x1fde51)];}function Un(_0x1074a8){const _0x28df28=_0x354fcb;return typeof _0x1074a8==_0x28df28(0x471)?_0x1074a8:'';}function Wn(_0x848846,_0x38c948){const _0x3a4f60=_0x354fcb;return _0x848846==null||_0x848846===''?_0x38c948[_0x3a4f60(0x342)][_0x3a4f60(0x18d)]===!0x0?[]:null:_0x38c948[_0x3a4f60(0x342)][_0x3a4f60(0x18d)]===!0x0?Array[_0x3a4f60(0x354)](_0x848846)?_0x848846[_0x3a4f60(0x29b)](String):[String(_0x848846)]:Array['isArray'](_0x848846)?String(_0x848846[0x0]??'')||null:String(_0x848846);}function Gn(_0x390d94,_0x3805f5){const _0x3be165=_0x354fcb;return _0x3805f5['config']['allowMultiple']===!0x0?Kn(_0x390d94):_0x390d94==null||_0x390d94===''||typeof _0x390d94==_0x3be165(0x471)?{'valid':!0x0}:{'valid':!0x1,'reason':_0x3be165(0x205)};}function Kn(_0x799c5f){const _0xb31783=_0x354fcb;return _0x799c5f==null||Array[_0xb31783(0x354)](_0x799c5f)&&_0x799c5f['every'](_0x24fdab=>typeof _0x24fdab==_0xb31783(0x471))?{'valid':!0x0}:{'valid':!0x1,'reason':_0xb31783(0x3bd)};}function qn(_0x391f0b){const _0x4add78=_0x354fcb;return _0x391f0b==null||typeof _0x391f0b==_0x4add78(0x256)&&Number[_0x4add78(0x2c3)](_0x391f0b)?{'valid':!0x0}:{'valid':!0x1,'reason':_0x4add78(0x394)};}function Jn(_0x59e7e1,_0x3db74b){const _0x5459f9=_0x354fcb;return _0x59e7e1==null||_0x59e7e1===''?{'valid':!0x0}:typeof _0x59e7e1!=_0x5459f9(0x256)||!Number[_0x5459f9(0x2c3)](_0x59e7e1)?{'valid':!0x1,'reason':'[BaseField]:\x20invalid\x20number\x20value.'}:_0x3db74b[_0x5459f9(0x342)][_0x5459f9(0x277)]===!0x1&&_0x59e7e1<0x0?{'valid':!0x1,'reason':_0x5459f9(0x4c9)}:{'valid':!0x0};}function Yn(_0x1dc9da,_0x5c49f8,_0x2e949c){const _0x54d96c=_0x354fcb;let _0x4e7ab0=Jn(_0x1dc9da,_0x5c49f8);if(!_0x4e7ab0[_0x54d96c(0x35c)]||_0x1dc9da==null||_0x1dc9da==='')return _0x4e7ab0;let _0x58a0da=Number(_0x5c49f8[_0x54d96c(0x342)]['min']??_0x5c49f8[_0x54d96c(0x342)][_0x54d96c(0x191)]??0x0),_0x3078fb=Number(_0x5c49f8['config']['max']??_0x5c49f8[_0x54d96c(0x342)][_0x54d96c(0x3ce)]??0x64),_0x5cf1ef=Number(_0x1dc9da);return _0x5cf1ef>=_0x58a0da&&_0x5cf1ef<=_0x3078fb?{'valid':!0x0}:{'valid':!0x1,'reason':_0x2e949c};}function Xn(_0x225fff){const _0x313ac6=_0x354fcb;if(_0x225fff==null||_0x225fff==='')return null;if(typeof _0x225fff==_0x313ac6(0x269)&&!Array[_0x313ac6(0x354)](_0x225fff)){let _0x232094=_0x225fff,_0x7e9c53=typeof _0x232094[_0x313ac6(0x4d2)]==_0x313ac6(0x471)?_0x232094['text'][_0x313ac6(0x3bc)]():'',_0x5d8565=typeof _0x232094[_0x313ac6(0x1c7)]=='string'?_0x232094[_0x313ac6(0x1c7)]['trim']():'',_0x5d7200=Qn(_0x5d8565||_0x7e9c53);return _0x5d7200?{'text':_0x7e9c53||_0x5d8565||_0x5d7200,'url':_0x5d7200}:null;}let _0x55557f=String(_0x225fff)[_0x313ac6(0x3bc)](),_0x42b333=Qn(_0x55557f);return _0x42b333?{'text':_0x55557f,'url':_0x42b333}:null;}function Zn(_0x5768b8){const _0x25ba4f=_0x354fcb;if(_0x5768b8==null)return'';if(typeof _0x5768b8=='object'&&!Array[_0x25ba4f(0x354)](_0x5768b8)){let _0x5841cd=_0x5768b8;return String(_0x5841cd[_0x25ba4f(0x4d2)]||_0x5841cd[_0x25ba4f(0x1c7)]||'');}return String(_0x5768b8);}function Qn(_0x57d5f5){const _0x568d70=_0x354fcb;let _0x403c7a=_0x57d5f5['trim']();if(!_0x403c7a)return'';let _0x57033f=/^[a-z][a-z\d+.-]*:/i['test'](_0x403c7a)?_0x403c7a:_0x403c7a[_0x568d70(0x254)]('//')?_0x568d70(0x45c)+_0x403c7a:'https://'+_0x403c7a;try{let _0x14ad9a=new URL(_0x57033f);return _0x14ad9a['protocol']===_0x568d70(0x410)||_0x14ad9a[_0x568d70(0x4ec)]===_0x568d70(0x45c)?_0x14ad9a[_0x568d70(0x3d9)]:'';}catch{return'';}}function $n(_0x5b1d4c){const _0x51541b=_0x354fcb;let _0x1f1465=_0x5b1d4c[_0x51541b(0x4c8)]('@');if(_0x1f1465<=0x0||_0x1f1465!==_0x5b1d4c[_0x51541b(0x444)]('@'))return!0x1;let _0x31134e=_0x5b1d4c[_0x51541b(0x192)](_0x1f1465+0x1);return _0x31134e['includes']('.')&&!_0x5b1d4c[_0x51541b(0x231)]('\x20')&&!_0x31134e[_0x51541b(0x254)]('.')&&!_0x31134e[_0x51541b(0x424)]('.');}const U={'table':_0x356416=>['tables',_0x356416],'field':(_0x337c3c,_0x3edec2)=>[_0x354fcb(0x2ba),_0x337c3c,_0x354fcb(0x480),_0x3edec2],'fieldOrder':(_0x14429c,_0x587a81)=>[_0x354fcb(0x2ba),_0x14429c,_0x354fcb(0x1e1),_0x587a81],'record':(_0x18f554,_0x24f935)=>[_0x354fcb(0x2ba),_0x18f554,_0x354fcb(0x45a),_0x24f935],'cell':(_0x4420bb,_0x424782,_0xf2cec8)=>[_0x354fcb(0x2ba),_0x4420bb,_0x354fcb(0x45a),_0x424782,_0x354fcb(0x1da),_0xf2cec8],'cellData':(_0x5d9c6f,_0x3c289d,_0xbd87cf)=>[_0x354fcb(0x2ba),_0x5d9c6f,_0x354fcb(0x1cf),String(_0x3c289d),String(_0xbd87cf)],'attachmentSet':(_0x4ccfd7,_0x529080)=>['tables',_0x4ccfd7,_0x354fcb(0x358),_0x354fcb(0x47e),_0x529080],'attachment':(_0x4a64ed,_0x21ac81)=>[_0x354fcb(0x2ba),_0x4a64ed,'resources',_0x354fcb(0x499),_0x21ac81],'view':(_0x265723,_0x34d7d2)=>['tables',_0x265723,_0x354fcb(0x38b),_0x34d7d2],'viewFieldHidden':(_0x122178,_0x299f55,_0x19540d)=>[_0x354fcb(0x2ba),_0x122178,'views',_0x299f55,_0x354fcb(0x484),_0x19540d,'hidden']};var W=class{[_0x354fcb(0x22a)](_0x196e68,_0x262fbc){const _0x108d4f=_0x354fcb;let _0x1c1902=this[_0x108d4f(0x1ed)](_0x196e68,_0x196e68[_0x108d4f(0x1e0)],_0x262fbc);return R([this[_0x108d4f(0x24b)]([_0x108d4f(0x1e0)],_0x196e68[_0x108d4f(0x1e0)],_0x262fbc),..._0x1c1902?[_0x1c1902]:[]]);}[_0x354fcb(0x1ed)](_0x32db73,_0x22c1d3,_0x38541a){const _0xbce59c=_0x354fcb;let _0x567e2f=Object[_0xbce59c(0x1da)](_0x32db73['tables'])['flatMap'](_0x4a381a=>Object[_0xbce59c(0x1da)](_0x4a381a[_0xbce59c(0x480)])[_0xbce59c(0x2a2)](_0x54c828=>{const _0xd1200d=_0xbce59c;var _0x2e45f7,_0x59ba07;if(_0x54c828[_0xd1200d(0x33a)]!==_0x19bf94[_0xd1200d(0x405)])return[];let _0x2d164f=String(((_0x2e45f7=_0x54c828[_0xd1200d(0x342)])==null?void 0x0:_0x2e45f7[_0xd1200d(0x23a)])??''),_0x5b35f8=_0x5981a8(_0x2d164f,_0x22c1d3,_0x38541a);return _0x5b35f8===_0x2d164f?[]:[this['_replaceOptional']([...U[_0xd1200d(0x28b)](_0x4a381a['id'],_0x54c828['id']),_0xd1200d(0x342),_0xd1200d(0x23a)],(_0x59ba07=_0x54c828[_0xd1200d(0x342)])==null?void 0x0:_0x59ba07[_0xd1200d(0x23a)],_0x5b35f8)];}));return _0x567e2f[_0xbce59c(0x458)]>0x0?R(_0x567e2f):void 0x0;}[_0x354fcb(0x500)](_0x5bcd44,_0x4f9dc3,_0x221442=_0x5bcd44[_0x354fcb(0x3e3)]['length']){const _0x4d74de=_0x354fcb;let _0x60153a=_0x3ec76b(_0x4f9dc3[_0x4d74de(0x1e0)],_0x49362b(_0x5bcd44)[_0x4d74de(0x1da)](),_0x4f9dc3[_0x4d74de(0x357)]),_0x4dece8=_0x4f9dc3[_0x4d74de(0x357)]===_0x60153a?_0x4f9dc3:{..._0x4f9dc3,'formulaName':_0x60153a};return R([...this[_0x4d74de(0x317)](_0x5bcd44),_0x370803[_0x4d74de(0x207)](U[_0x4d74de(0x513)](_0x4f9dc3['id']),_0x4dece8),_0x370803[_0x4d74de(0x207)](['tableOrder',_0x221442],_0x4f9dc3['id'])]);}[_0x354fcb(0x1be)](_0x2aa89f,_0x52aa2d,_0x15c8e2){const _0x1c80ab=_0x354fcb;let _0x9e5153=_0x2aa89f[_0x1c80ab(0x2ba)][_0x52aa2d];return R([...this[_0x1c80ab(0x317)](_0x2aa89f),_0x370803['replaceOp']([...U[_0x1c80ab(0x513)](_0x52aa2d),_0x1c80ab(0x1e0)],_0x9e5153[_0x1c80ab(0x1e0)],_0x15c8e2)]);}[_0x354fcb(0x4d8)](_0x8c193e,_0x1efc7c){const _0x4aa7d8=_0x354fcb;let _0x39ce3c=_0x8c193e['tables'][_0x1efc7c],_0x1fa51b=_0x8c193e[_0x4aa7d8(0x3e3)]['indexOf'](_0x1efc7c);return R([...this[_0x4aa7d8(0x317)](_0x8c193e,new Set([_0x1efc7c])),_0x370803[_0x4aa7d8(0x246)](U[_0x4aa7d8(0x513)](_0x1efc7c),_0x39ce3c),_0x370803[_0x4aa7d8(0x246)](['tableOrder',_0x1fa51b],_0x1efc7c)]);}[_0x354fcb(0x4a0)](_0x11e87b,_0x5197d,_0x2058f0){return this['createRecords'](_0x11e87b,_0x5197d,[_0x2058f0]);}[_0x354fcb(0x268)](_0x5372be,_0x46bf77,_0x5bb7f1){const _0x493bde=_0x354fcb;let _0x225d5a=_0x5372be[_0x493bde(0x2ba)][_0x46bf77],_0xff005e=_0x5bb7f1[_0x493bde(0x397)](_0x42c980=>_0x42c980&&!_0x225d5a[_0x493bde(0x45a)][_0x42c980['id']])[_0x493bde(0x29b)](_0x163c45=>({..._0x163c45,'values':{..._0x163c45[_0x493bde(0x1da)],[_0x3b44b5]:_0x163c45['id']}}));if(!_0xff005e['length'])return _0x370803[_0x493bde(0x333)]([...U[_0x493bde(0x513)](_0x46bf77),'records'],_0x225d5a[_0x493bde(0x45a)],_0x225d5a['records']);let _0x4f2a99=new _0x370803[(_0x493bde(0x343))](),_0x1896aa=[..._0xff005e][_0x493bde(0x3db)]((_0x439094,_0x4561f6)=>_0x439094['id']<_0x4561f6['id']?-0x1:+(_0x439094['id']>_0x4561f6['id'])),_0x578ad6=[...U[_0x493bde(0x513)](_0x46bf77),'records'];_0x4f2a99[_0x493bde(0x197)](_0x578ad6);for(let _0x5f2136 of _0x1896aa)_0x4f2a99[_0x493bde(0x1c1)](_0x5f2136['id']),_0x4f2a99[_0x493bde(0x338)]('i',_0x5f2136),_0x4f2a99[_0x493bde(0x2dc)]();for(let _0x10be1a=0x0;_0x10be1a<_0x578ad6[_0x493bde(0x458)];_0x10be1a+=0x1)_0x4f2a99['ascend']();return R([_0x4f2a99[_0x493bde(0x4a8)](),this['_createRecordOrderOp'](_0x5372be,_0x46bf77,_0xff005e)]);}[_0x354fcb(0x375)](_0x448e08,_0x41e5d5,_0x5b644f){const _0x3d76c7=_0x354fcb;return this[_0x3d76c7(0x305)](_0x448e08,_0x41e5d5,[_0x5b644f]);}[_0x354fcb(0x305)](_0x2eb6c6,_0x4dac0e,_0x441b2e){const _0x4d2249=_0x354fcb;let _0x367a20=_0x2eb6c6[_0x4d2249(0x2ba)][_0x4dac0e],_0x3d15c8=Array['from'](new Set(_0x441b2e))[_0x4d2249(0x397)](_0x1282c1=>_0x367a20['records'][_0x1282c1]);if(!_0x3d15c8['length'])return _0x370803[_0x4d2249(0x333)]([...U[_0x4d2249(0x513)](_0x4dac0e),_0x4d2249(0x45a)],_0x367a20[_0x4d2249(0x45a)],_0x367a20['records']);let _0x5a3a3a=new Set(_0x3d15c8),_0x323d9c=et(_0x367a20,_0x3d15c8)['map'](_0x57177b=>this[_0x4d2249(0x3e6)](_0x2eb6c6,_0x4dac0e,_0x57177b['recordId'],_0x57177b[_0x4d2249(0x46e)],''));return R([this[_0x4d2249(0x24c)](_0x2eb6c6,_0x4dac0e,_0x3d15c8,_0x5a3a3a),..._0x323d9c]);}[_0x354fcb(0x51d)](_0x541777,_0x531b53,_0x5518ae,_0x39ee30){const _0x19b61e=_0x354fcb;let _0x3526a4=_0x541777[_0x19b61e(0x2ba)][_0x5518ae],_0xfa08c4=Array[_0x19b61e(0x4dd)](new Set(_0x39ee30))[_0x19b61e(0x397)](_0x3ef604=>_0x3526a4[_0x19b61e(0x45a)][_0x3ef604]),_0x4dcb96=new Set(_0xfa08c4);return R([new z()[_0x19b61e(0x2aa)](_0x541777,this[_0x19b61e(0x24c)](_0x541777,_0x5518ae,_0xfa08c4,_0x4dcb96)),...et(_0x3526a4,_0xfa08c4)['map'](_0x669415=>this[_0x19b61e(0x3e6)](_0x531b53,_0x5518ae,_0x669415[_0x19b61e(0x4bb)],_0x669415[_0x19b61e(0x46e)],_0x669415[_0x19b61e(0x30d)]??''))]);}[_0x354fcb(0x24c)](_0x30d54f,_0x25683e,_0x556b49,_0x4468ad){const _0x54974a=_0x354fcb;let _0xa2aa49=_0x30d54f['tables'][_0x25683e],_0x4a5745=_0x556b49[_0x54974a(0x29b)](_0x1fc5ac=>{const _0x2f7eaf=_0x54974a;var _0x30b1a3;return{'recordId':_0x1fc5ac,'index':((_0x30b1a3=_0xa2aa49[_0x2f7eaf(0x22d)])==null?void 0x0:_0x30b1a3[_0x2f7eaf(0x4c8)](_0x1fc5ac))??-0x1};})[_0x54974a(0x397)](_0x3a25cc=>_0x3a25cc[_0x54974a(0x250)]>=0x0)['sort']((_0x276a42,_0x5edd0e)=>_0x5edd0e[_0x54974a(0x250)]-_0x276a42['index']);return R([..._0x556b49['map'](_0x5c1476=>_0x370803[_0x54974a(0x246)](U[_0x54974a(0x52b)](_0x25683e,_0x5c1476),_0xa2aa49[_0x54974a(0x45a)][_0x5c1476])),..._0x4a5745[_0x54974a(0x29b)](({recordId:_0x33c015,index:_0x5bb885})=>_0x370803[_0x54974a(0x246)]([_0x54974a(0x2ba),_0x25683e,'recordOrder',_0x5bb885],_0x33c015)),...this[_0x54974a(0x4a3)](_0xa2aa49,_0x25683e,_0x3953a6=>{const _0x3a831a=_0x54974a;let _0x257273=_0x3953a6[_0x3a831a(0x192)](_0x3953a6[_0x3a831a(0x444)]('\x1f')+0x1);return _0x4468ad[_0x3a831a(0x23f)](_0x257273);})]);}[_0x354fcb(0x3e5)](_0x5ea815,_0x45cf19,_0x12d5f2,_0x562f2e){const _0x4147ed=_0x354fcb;return this[_0x4147ed(0x4a0)](_0x5ea815,_0x45cf19,{..._0x562f2e,'values':{..._0x5ea815[_0x4147ed(0x2ba)][_0x45cf19][_0x4147ed(0x45a)][_0x12d5f2][_0x4147ed(0x1da)],..._0x562f2e[_0x4147ed(0x1da)],[_0x3b44b5]:_0x562f2e['id']}});}[_0x354fcb(0x229)](_0x15de97,_0x2239cb,_0x5a1aec,_0x4ec67a){const _0x18ae2b=_0x354fcb;let _0x280fde=_0x15de97[_0x18ae2b(0x2ba)][_0x2239cb],_0x4d1c6e=[...U['record'](_0x2239cb,_0x5a1aec),_0x18ae2b(0x3ef)],_0xcd69e4=Object[_0x18ae2b(0x1da)](_0x280fde[_0x18ae2b(0x45a)])[_0x18ae2b(0x29b)](_0x2f3024=>_0x2f3024['id']===_0x5a1aec?{..._0x2f3024,'orderKey':_0x4ec67a}:_0x2f3024)[_0x18ae2b(0x3db)]((_0x56e55f,_0x4e4277)=>String(_0x56e55f[_0x18ae2b(0x3ef)]??_0x56e55f['id'])[_0x18ae2b(0x4bc)](String(_0x4e4277[_0x18ae2b(0x3ef)]??_0x4e4277['id'])))[_0x18ae2b(0x29b)](_0x4694e2=>_0x4694e2['id']),_0x4725cb=[...U['table'](_0x2239cb),'recordOrder'];return R([this[_0x18ae2b(0x24b)](_0x4d1c6e,_0x280fde[_0x18ae2b(0x45a)][_0x5a1aec]['orderKey'],_0x4ec67a),_0x280fde[_0x18ae2b(0x22d)]?_0x370803[_0x18ae2b(0x333)](_0x4725cb,_0x280fde[_0x18ae2b(0x22d)],_0xcd69e4):_0x370803[_0x18ae2b(0x207)](_0x4725cb,_0xcd69e4)]);}['updateCell'](_0x442947,_0x1e74fe,_0x2251df,_0x1ff27f,_0x54d826){const _0x24f67f=_0x354fcb;var _0x38757f,_0x218502;let _0x16d4d9=_0x442947['tables'][_0x1e74fe],_0x109f2d=ar(_0x16d4d9,_0x2251df,_0x1ff27f)?_0x16d4d9:L(_0x16d4d9),_0x5acb88=(_0x38757f=_0x109f2d[_0x24f67f(0x290)])==null?void 0x0:_0x38757f[_0x2251df],_0x3da42e=(_0x218502=_0x109f2d[_0x24f67f(0x288)])==null?void 0x0:_0x218502[_0x1ff27f];if(_0x5acb88==null||_0x3da42e==null){var _0x5519dd;return this['_replaceOptional'](U[_0x24f67f(0x4eb)](_0x1e74fe,_0x2251df,_0x1ff27f),(_0x5519dd=_0x442947[_0x24f67f(0x2ba)][_0x1e74fe])==null||(_0x5519dd=_0x5519dd[_0x24f67f(0x45a)][_0x2251df])==null?void 0x0:_0x5519dd[_0x24f67f(0x1da)][_0x1ff27f],_0x54d826);}return this[_0x24f67f(0x511)](_0x442947,_0x1e74fe,[{'row':_0x5acb88,'col':_0x3da42e,'value':_0x54d826}]);}[_0x354fcb(0x19a)](_0x42b2b1,_0x5ea59e,_0x28f40b){const _0x5c77a2=_0x354fcb;let _0xfbd4d0=_0x42b2b1['tables'][_0x5ea59e],_0x22dcb9=_0x28f40b[_0x5c77a2(0x1b6)](_0x32f45a=>Object[_0x5c77a2(0x51b)](_0x32f45a[_0x5c77a2(0x1da)])[_0x5c77a2(0x1b6)](_0xb9b906=>ar(_0xfbd4d0,_0x32f45a['recordId'],_0xb9b906)))?_0xfbd4d0:L(_0xfbd4d0),_0x286017=_0x28f40b['flatMap'](_0x228547=>Object[_0x5c77a2(0x1e2)](_0x228547[_0x5c77a2(0x1da)])[_0x5c77a2(0x2a2)](([_0x537411,_0x331e55])=>{const _0x525ea7=_0x5c77a2;var _0x2a8ecf,_0x53edf0;let _0x12ec42=(_0x2a8ecf=_0x22dcb9[_0x525ea7(0x290)])==null?void 0x0:_0x2a8ecf[_0x228547[_0x525ea7(0x4bb)]],_0x25d862=(_0x53edf0=_0x22dcb9[_0x525ea7(0x288)])==null?void 0x0:_0x53edf0[_0x537411];return _0x12ec42==null||_0x25d862==null?[]:[{'row':_0x12ec42,'col':_0x25d862,'value':_0x331e55}];})),_0x211c8f=_0x28f40b[_0x5c77a2(0x2a2)](_0x5f41e0=>Object[_0x5c77a2(0x1e2)](_0x5f41e0[_0x5c77a2(0x4b8)]??{})['map'](([_0x450e48,_0x3866a5])=>{const _0xfe8910=_0x5c77a2;var _0x4ec52e;let _0xa959d9=[...U[_0xfe8910(0x52b)](_0x5ea59e,_0x5f41e0[_0xfe8910(0x4bb)]),_0x450e48],_0x6a4810=(_0x4ec52e=_0x42b2b1[_0xfe8910(0x2ba)][_0x5ea59e])==null||(_0x4ec52e=_0x4ec52e[_0xfe8910(0x45a)][_0x5f41e0[_0xfe8910(0x4bb)]])==null?void 0x0:_0x4ec52e[_0x450e48];return this['_replaceOptional'](_0xa959d9,_0x6a4810,_0x3866a5);}));return R([this[_0x5c77a2(0x511)](_0x42b2b1,_0x5ea59e,_0x286017),..._0x211c8f]);}[_0x354fcb(0x511)](_0x37b665,_0x20d686,_0x4ab010){const _0x111137=_0x354fcb;let _0xab954b=_0x37b665[_0x111137(0x2ba)][_0x20d686],_0x4510d7=_0x4ab010[_0x111137(0x1b6)](_0x295918=>or(_0xab954b,_0x295918['row'],_0x295918[_0x111137(0x1ea)]))?_0xab954b:L(_0xab954b),_0x3f6015=new Map(),_0x533cf2=_0x4ab010['flatMap'](_0x26a4d1=>{const _0x545c52=_0x111137;var _0x160a99,_0x52dccc,_0x42c4d7,_0x36eba1;let _0x1069ed=(_0x160a99=_0x4510d7[_0x545c52(0x242)])==null?void 0x0:_0x160a99[_0x26a4d1[_0x545c52(0x1ea)]],_0x16a050=(_0x52dccc=_0x4510d7[_0x545c52(0x474)])==null?void 0x0:_0x52dccc[_0x26a4d1[_0x545c52(0x21b)]],_0x50d2f8=_0x1069ed?_0x4510d7['fields'][_0x1069ed]:void 0x0;if(_0x1069ed===_0x3b44b5||(_0x50d2f8==null?void 0x0:_0x50d2f8[_0x545c52(0x33a)])===_0x19bf94[_0x545c52(0x44f)])throw Error(_0x545c52(0x2f2));let _0x2ae7d5=xt(_0x26a4d1[_0x545c52(0x416)],_0x50d2f8),_0x3b5daf=(_0x42c4d7=_0x4510d7[_0x545c52(0x1cf)])==null||(_0x42c4d7=_0x42c4d7[_0x26a4d1['row']])==null?void 0x0:_0x42c4d7[_0x26a4d1[_0x545c52(0x1ea)]],_0x3b889e=this[_0x545c52(0x24b)](U[_0x545c52(0x1cf)](_0x20d686,_0x26a4d1[_0x545c52(0x21b)],_0x26a4d1[_0x545c52(0x1ea)]),_0x3b5daf,_0x2ae7d5);if(!_0x1069ed||!_0x16a050)return[_0x3b889e];let _0x403a0f=(_0x36eba1=_0x4510d7[_0x545c52(0x45a)][_0x16a050])==null?void 0x0:_0x36eba1[_0x545c52(0x1da)][_0x1069ed],_0x2f56e8=(_0x50d2f8==null?void 0x0:_0x50d2f8[_0x545c52(0x33a)])===_0x19bf94[_0x545c52(0x46f)]?kt(_0x26a4d1[_0x545c52(0x416)]):wt(_0x26a4d1[_0x545c52(0x416)],_0x2ae7d5,_0x50d2f8,_0x4510d7,_0x16a050),_0xe1c566=[_0x3b889e,this[_0x545c52(0x24b)](U[_0x545c52(0x4eb)](_0x20d686,_0x16a050,_0x1069ed),_0x403a0f,_0x2f56e8)];return(_0x50d2f8==null?void 0x0:_0x50d2f8[_0x545c52(0x33a)])===_0x19bf94[_0x545c52(0x46f)]&&_0x3f6015[_0x545c52(0x1a1)](Et(_0x1069ed,_0x16a050),{'recordId':_0x16a050,'fieldId':_0x1069ed,'attachments':_0x2f56e8}),_0xe1c566;});return _0x533cf2['length']?R([..._0x533cf2,...this[_0x111137(0x4d0)](_0x4510d7,_0x20d686,Array[_0x111137(0x4dd)](_0x3f6015[_0x111137(0x1da)]()))]):_0x370803['replaceOp']([_0x111137(0x2ba),_0x20d686,_0x111137(0x1cf)],_0x4510d7[_0x111137(0x1cf)],_0x4510d7[_0x111137(0x1cf)]);}['createField'](_0x17fb5e,_0x5a9c7e,_0x3bbf65){const _0x155938=_0x354fcb;let _0xd19cad=_0x17fb5e[_0x155938(0x2ba)][_0x5a9c7e];if(_0xd19cad[_0x155938(0x480)][_0x3bbf65[_0x155938(0x28b)]['id']]||_0xd19cad['fieldOrder'][_0x155938(0x231)](_0x3bbf65[_0x155938(0x28b)]['id']))return _0x370803['replaceOp']([_0x155938(0x2ba),_0x5a9c7e,_0x155938(0x1e1)],_0xd19cad['fieldOrder'],_0xd19cad[_0x155938(0x1e1)]);let _0x35521b=Math[_0x155938(0x1b3)](0x1,_0x3bbf65[_0x155938(0x250)]??_0xd19cad['fieldOrder']['length']),_0xa7eb07=Object[_0x155938(0x1da)](_0xd19cad[_0x155938(0x38b)]??{})['flatMap'](_0x174848=>{const _0x5885bd=_0x155938;var _0x3701d2;if(!_0x174848[_0x5885bd(0x1e1)]||_0x174848[_0x5885bd(0x1e1)][_0x5885bd(0x231)](_0x3bbf65['field']['id']))return[];let _0x3bc4e7=ur(((_0x3701d2=_0x3bbf65[_0x5885bd(0x485)])==null?void 0x0:_0x3701d2[_0x174848['id']])??_0x35521b,_0x174848[_0x5885bd(0x1e1)][_0x5885bd(0x458)]);return[_0x370803[_0x5885bd(0x207)]([...U[_0x5885bd(0x2df)](_0x5a9c7e,_0x174848['id']),_0x5885bd(0x1e1),_0x3bc4e7],_0x3bbf65[_0x5885bd(0x28b)]['id'])];});return R([..._0x3bbf65[_0x155938(0x28b)]['type']===_0x19bf94['Formula']?this[_0x155938(0x317)](_0x17fb5e):[],_0x370803[_0x155938(0x207)](U[_0x155938(0x28b)](_0x5a9c7e,_0x3bbf65[_0x155938(0x28b)]['id']),_0x3bbf65[_0x155938(0x28b)]),_0x370803[_0x155938(0x207)](U[_0x155938(0x1e1)](_0x5a9c7e,_0x35521b),_0x3bbf65[_0x155938(0x28b)]['id']),..._0xa7eb07]);}['duplicateField'](_0x156f99,_0x5b3db4,_0x351a31,_0x49bb5d){const _0x1a538f=_0x354fcb;let _0x261205=_0x156f99[_0x1a538f(0x2ba)][_0x5b3db4];if(!_0x261205[_0x1a538f(0x480)][_0x351a31]||_0x261205[_0x1a538f(0x480)][_0x49bb5d['field']['id']]||_0x261205[_0x1a538f(0x1e1)][_0x1a538f(0x231)](_0x49bb5d[_0x1a538f(0x28b)]['id']))return _0x370803[_0x1a538f(0x333)]([_0x1a538f(0x2ba),_0x5b3db4,_0x1a538f(0x1e1)],_0x261205[_0x1a538f(0x1e1)],_0x261205[_0x1a538f(0x1e1)]);let _0xe8de3d=_0x49bb5d[_0x1a538f(0x250)]??_0x261205[_0x1a538f(0x1e1)][_0x1a538f(0x4c8)](_0x351a31)+0x1,_0x52ebf3=_0x261205[_0x1a538f(0x1e1)]['filter'](_0x311e98=>_0x311e98!==_0x49bb5d[_0x1a538f(0x28b)]['id']),_0x129ce0=cr(_0x52ebf3,_0x49bb5d['field']['id'],_0xe8de3d),_0x18a295=Object['values'](_0x261205[_0x1a538f(0x38b)]??{})[_0x1a538f(0x2a2)](_0x32a69d=>{const _0x8d3ebf=_0x1a538f;var _0x53bd82,_0xe6ce78,_0x32b816,_0x17c0ac;let _0x5cfd98=(_0x53bd82=_0x32a69d[_0x8d3ebf(0x1e1)])!=null&&_0x53bd82['length']?_0x32a69d[_0x8d3ebf(0x1e1)]:_0x52ebf3;if(_0x5cfd98[_0x8d3ebf(0x231)](_0x49bb5d[_0x8d3ebf(0x28b)]['id']))return[];let _0x1531bc=cr(_0x5cfd98,_0x49bb5d[_0x8d3ebf(0x28b)]['id'],((_0xe6ce78=_0x49bb5d['viewIndexes'])==null?void 0x0:_0xe6ce78[_0x32a69d['id']])??_0xe8de3d),_0x1f9fb5=(_0x32b816=_0x32a69d['fieldSettings'])==null?void 0x0:_0x32b816[_0x351a31];return[this[_0x8d3ebf(0x24b)]([...U[_0x8d3ebf(0x2df)](_0x5b3db4,_0x32a69d['id']),'fieldOrder'],_0x32a69d[_0x8d3ebf(0x1e1)],_0x1531bc),..._0x1f9fb5?[this[_0x8d3ebf(0x24b)]([...U[_0x8d3ebf(0x2df)](_0x5b3db4,_0x32a69d['id']),_0x8d3ebf(0x484),_0x49bb5d[_0x8d3ebf(0x28b)]['id']],(_0x17c0ac=_0x32a69d[_0x8d3ebf(0x484)])==null?void 0x0:_0x17c0ac[_0x49bb5d[_0x8d3ebf(0x28b)]['id']],_0x1f9fb5)]:[]];}),_0x3b4784=Object[_0x1a538f(0x1da)](_0x261205[_0x1a538f(0x45a)])[_0x1a538f(0x397)](_0x4441f9=>Object[_0x1a538f(0x32b)][_0x1a538f(0x42f)]['call'](_0x4441f9[_0x1a538f(0x1da)],_0x351a31))['map'](_0x27104b=>this[_0x1a538f(0x24b)](U[_0x1a538f(0x4eb)](_0x5b3db4,_0x27104b['id'],_0x49bb5d[_0x1a538f(0x28b)]['id']),_0x27104b[_0x1a538f(0x1da)][_0x49bb5d[_0x1a538f(0x28b)]['id']],_0x27104b[_0x1a538f(0x1da)][_0x351a31]));return R([..._0x49bb5d['field'][_0x1a538f(0x33a)]===_0x19bf94[_0x1a538f(0x405)]?this[_0x1a538f(0x317)](_0x156f99):[],_0x370803[_0x1a538f(0x207)](U[_0x1a538f(0x28b)](_0x5b3db4,_0x49bb5d['field']['id']),_0x49bb5d[_0x1a538f(0x28b)]),_0x370803[_0x1a538f(0x333)]([_0x1a538f(0x2ba),_0x5b3db4,_0x1a538f(0x1e1)],_0x261205[_0x1a538f(0x1e1)],_0x129ce0),..._0x18a295,..._0x3b4784]);}[_0x354fcb(0x409)](_0x350791,_0x4d6b11,_0x2cb2a3,_0x415ad5){const _0x421e04=_0x354fcb;let _0x33fc00=_0x350791['tables'][_0x4d6b11][_0x421e04(0x480)][_0x2cb2a3],_0x2be9c8={..._0x33fc00,..._0x415ad5};Object[_0x421e04(0x51b)](_0x415ad5)[_0x421e04(0x461)](_0x1069e0=>{_0x415ad5[_0x1069e0]===void 0x0&&delete _0x2be9c8[_0x1069e0];});let _0x5bb06f=er(_0x350791[_0x421e04(0x2ba)][_0x4d6b11],_0x2cb2a3,_0x33fc00,_0x2be9c8);_0x2be9c8=_0x5bb06f[_0x421e04(0x28b)];let _0xb323a=_0x370803['replaceOp'](U[_0x421e04(0x28b)](_0x4d6b11,_0x2cb2a3),_0x33fc00,_0x2be9c8);return _0x2be9c8[_0x421e04(0x33a)]===_0x19bf94[_0x421e04(0x405)]?R([...this[_0x421e04(0x317)](_0x350791),_0xb323a,...this[_0x421e04(0x221)](_0x350791,_0x4d6b11,_0x2cb2a3,_0x2be9c8)]):R([_0xb323a,..._0x5bb06f[_0x421e04(0x1bc)][_0x421e04(0x458)]?[this['setRangeValues'](_0x350791,_0x4d6b11,_0x5bb06f[_0x421e04(0x1bc)])]:[]]);}[_0x354fcb(0x2b7)](_0x1f3e4e,_0x4a39a4,_0x28ee06,_0x5721b6){const _0x3b8569=_0x354fcb;return this[_0x3b8569(0x409)](_0x1f3e4e,_0x4a39a4,_0x28ee06,_0x5721b6);}['deleteField'](_0x215a4b,_0x259f5c,_0x6dbd9f){const _0x959eb1=_0x354fcb;let _0x5bc7a5=_0x215a4b[_0x959eb1(0x2ba)][_0x259f5c];if(!(_0x5bc7a5!=null&&_0x5bc7a5[_0x959eb1(0x480)][_0x6dbd9f])||_0x5bc7a5['primaryFieldId']===_0x6dbd9f||_0x6dbd9f===_0x3b44b5)return _0x370803['replaceOp']([_0x959eb1(0x2ba),_0x259f5c,_0x959eb1(0x1e1)],_0x5bc7a5==null?void 0x0:_0x5bc7a5['fieldOrder'],_0x5bc7a5==null?void 0x0:_0x5bc7a5['fieldOrder']);let _0x3a9042=_0x5bc7a5[_0x959eb1(0x1e1)][_0x959eb1(0x4c8)](_0x6dbd9f),_0x4589b0=Object[_0x959eb1(0x1da)](_0x5bc7a5[_0x959eb1(0x38b)])[_0x959eb1(0x2a2)](_0x39d898=>{const _0x3ec393=_0x959eb1;var _0x1cbe01,_0x3b900d,_0x409075,_0x282d9f,_0x2592f6,_0x12bf39,_0x2993af;let _0x1f898c=[],_0x5e88ab=((_0x1cbe01=_0x39d898[_0x3ec393(0x1e1)])==null?void 0x0:_0x1cbe01['indexOf'](_0x6dbd9f))??-0x1;_0x5e88ab>=0x0&&_0x1f898c[_0x3ec393(0x1f3)](_0x370803['removeOp']([...U[_0x3ec393(0x2df)](_0x259f5c,_0x39d898['id']),_0x3ec393(0x1e1),_0x5e88ab],_0x6dbd9f));let _0xacedc0=(_0x3b900d=_0x39d898[_0x3ec393(0x484)])==null?void 0x0:_0x3b900d[_0x6dbd9f];_0xacedc0!==void 0x0&&_0x1f898c[_0x3ec393(0x1f3)](_0x370803[_0x3ec393(0x246)]([...U[_0x3ec393(0x2df)](_0x259f5c,_0x39d898['id']),_0x3ec393(0x484),_0x6dbd9f],_0xacedc0));let _0x1801c7=_0x39d898[_0x3ec393(0x397)]?{..._0x39d898['filter'],'conditions':_0x39d898['filter'][_0x3ec393(0x309)][_0x3ec393(0x397)](_0x3aecd8=>_0x3aecd8[_0x3ec393(0x46e)]!==_0x6dbd9f)}:_0x39d898[_0x3ec393(0x397)];_0x1801c7&&_0x1801c7[_0x3ec393(0x309)][_0x3ec393(0x458)]!==((_0x409075=_0x39d898[_0x3ec393(0x397)])==null?void 0x0:_0x409075[_0x3ec393(0x309)]['length'])&&_0x1f898c[_0x3ec393(0x1f3)](this[_0x3ec393(0x24b)]([...U[_0x3ec393(0x2df)](_0x259f5c,_0x39d898['id']),'filter'],_0x39d898[_0x3ec393(0x397)],_0x1801c7));let _0x2da8f1=(_0x282d9f=_0x39d898[_0x3ec393(0x3db)])==null?void 0x0:_0x282d9f[_0x3ec393(0x397)](_0x58f684=>_0x58f684['fieldId']!==_0x6dbd9f);_0x2da8f1&&_0x2da8f1[_0x3ec393(0x458)]!==((_0x2592f6=_0x39d898[_0x3ec393(0x3db)])==null?void 0x0:_0x2592f6[_0x3ec393(0x458)])&&_0x1f898c[_0x3ec393(0x1f3)](this[_0x3ec393(0x24b)]([...U[_0x3ec393(0x2df)](_0x259f5c,_0x39d898['id']),_0x3ec393(0x3db)],_0x39d898[_0x3ec393(0x3db)],_0x2da8f1));let _0x1385af=(_0x12bf39=_0x39d898['group'])==null?void 0x0:_0x12bf39[_0x3ec393(0x397)](_0x2aea05=>_0x2aea05['fieldId']!==_0x6dbd9f);_0x1385af&&_0x1385af['length']!==((_0x2993af=_0x39d898['group'])==null?void 0x0:_0x2993af[_0x3ec393(0x458)])&&_0x1f898c[_0x3ec393(0x1f3)](this[_0x3ec393(0x24b)]([...U[_0x3ec393(0x2df)](_0x259f5c,_0x39d898['id']),'group'],_0x39d898[_0x3ec393(0x1b9)],_0x1385af));let _0x5198f7=lr(_0x39d898[_0x3ec393(0x342)],_0x6dbd9f);return JSON['stringify'](_0x5198f7)!==JSON[_0x3ec393(0x449)](_0x39d898['config'])&&_0x1f898c['push'](_0x370803[_0x3ec393(0x333)]([...U['view'](_0x259f5c,_0x39d898['id']),'config'],_0x39d898[_0x3ec393(0x342)],_0x5198f7)),_0x1f898c;}),_0xf25c5d=Object[_0x959eb1(0x1da)](_0x5bc7a5[_0x959eb1(0x45a)])['flatMap'](_0x15970e=>Object['prototype']['hasOwnProperty']['call'](_0x15970e['values'],_0x6dbd9f)?[_0x370803[_0x959eb1(0x246)](U[_0x959eb1(0x4eb)](_0x259f5c,_0x15970e['id'],_0x6dbd9f),_0x15970e[_0x959eb1(0x1da)][_0x6dbd9f])]:[]);return R([_0x370803[_0x959eb1(0x246)](U[_0x959eb1(0x28b)](_0x259f5c,_0x6dbd9f),_0x5bc7a5[_0x959eb1(0x480)][_0x6dbd9f]),_0x370803['removeOp'](U[_0x959eb1(0x1e1)](_0x259f5c,_0x3a9042),_0x6dbd9f),..._0x4589b0,..._0xf25c5d,...this[_0x959eb1(0x4a3)](_0x5bc7a5,_0x259f5c,_0x2b5dfa=>_0x2b5dfa[_0x959eb1(0x254)](_0x6dbd9f+'\x1f'))]);}[_0x354fcb(0x399)](_0x2f1b7b,_0x5e237d,_0x37e3e8,_0x501b8e){const _0x493c1d=_0x354fcb;let _0x353105=_0x2f1b7b[_0x493c1d(0x2ba)][_0x5e237d]['fieldOrder'];if(_0x37e3e8===_0x3b44b5||_0x501b8e['beforeFieldId']===_0x3b44b5)throw Error(_0x493c1d(0x1f8));let _0xf529fd=sr(_0x353105,_0x37e3e8,_0x501b8e);return _0x370803[_0x493c1d(0x333)]([_0x493c1d(0x2ba),_0x5e237d,'fieldOrder'],_0x353105,_0xf529fd);}[_0x354fcb(0x446)](_0x5078f0,_0x15d27d,_0x18ad44,_0x3d7d1d=_0x5078f0[_0x354fcb(0x2ba)][_0x15d27d]['viewOrder'][_0x354fcb(0x458)]){const _0x284e53=_0x354fcb;return R([_0x370803[_0x284e53(0x207)](U['view'](_0x15d27d,_0x18ad44['id']),_0x18ad44),_0x370803['insertOp']([_0x284e53(0x2ba),_0x15d27d,_0x284e53(0x3f8),_0x3d7d1d],_0x18ad44['id'])]);}[_0x354fcb(0x370)](_0x4bb194,_0x5b038f,_0x37b347,_0x445fb4){const _0x1d0efe=_0x354fcb;return _0x370803[_0x1d0efe(0x333)]([...U['view'](_0x5b038f,_0x37b347),_0x1d0efe(0x1e0)],_0x4bb194[_0x1d0efe(0x2ba)][_0x5b038f]['views'][_0x37b347][_0x1d0efe(0x1e0)],_0x445fb4);}['deleteView'](_0x20502c,_0x15550f,_0x304c88){const _0x2db9b9=_0x354fcb;let _0x1ebe19=_0x20502c[_0x2db9b9(0x2ba)][_0x15550f],_0x5288fe=_0x1ebe19[_0x2db9b9(0x38b)][_0x304c88],_0x52cbb3=_0x1ebe19[_0x2db9b9(0x3f8)][_0x2db9b9(0x4c8)](_0x304c88);return R([_0x370803[_0x2db9b9(0x246)](U[_0x2db9b9(0x2df)](_0x15550f,_0x304c88),_0x5288fe),_0x370803['removeOp']([_0x2db9b9(0x2ba),_0x15550f,_0x2db9b9(0x3f8),_0x52cbb3],_0x304c88)]);}['moveView'](_0x27ed7e,_0x3c8511,_0x62ab24,_0x178e9d){const _0x57ad45=_0x354fcb;let _0x520409=_0x27ed7e[_0x57ad45(0x2ba)][_0x3c8511][_0x57ad45(0x3f8)],_0x287cbd=sr(_0x520409,_0x62ab24,{'beforeFieldId':_0x178e9d[_0x57ad45(0x2f6)],'afterFieldId':_0x178e9d['afterViewId']});return _0x370803[_0x57ad45(0x333)]([_0x57ad45(0x2ba),_0x3c8511,_0x57ad45(0x3f8)],_0x520409,_0x287cbd);}['updateViewConfig'](_0x449ddf,_0x4516c6,_0x38e5e4,_0x4a077f){const _0x30e3d4=_0x354fcb;let _0x2899bc=_0x449ddf[_0x30e3d4(0x2ba)][_0x4516c6][_0x30e3d4(0x38b)][_0x38e5e4][_0x30e3d4(0x342)]??{},_0x47371f={..._0x2899bc,..._0x4a077f};return Object['keys'](_0x4a077f)[_0x30e3d4(0x461)](_0x30a71c=>{_0x4a077f[_0x30a71c]===void 0x0&&delete _0x47371f[_0x30a71c];}),_0x370803[_0x30e3d4(0x333)]([...U[_0x30e3d4(0x2df)](_0x4516c6,_0x38e5e4),'config'],_0x2899bc,_0x47371f);}['setViewFilter'](_0x3c5f1f,_0x19a0be,_0x511fa0,_0x44b75a){const _0xdd413a=_0x354fcb;return this[_0xdd413a(0x24b)]([...U[_0xdd413a(0x2df)](_0x19a0be,_0x511fa0),_0xdd413a(0x397)],_0x3c5f1f[_0xdd413a(0x2ba)][_0x19a0be]['views'][_0x511fa0][_0xdd413a(0x397)],_0x44b75a);}['setViewSort'](_0x34c328,_0x5291a3,_0x4a6537,_0x322d67){const _0x20f58f=_0x354fcb;return this['_replaceOptional']([...U[_0x20f58f(0x2df)](_0x5291a3,_0x4a6537),'sort'],_0x34c328['tables'][_0x5291a3][_0x20f58f(0x38b)][_0x4a6537][_0x20f58f(0x3db)],_0x322d67);}[_0x354fcb(0x178)](_0x4cb7e8,_0x1f6eed,_0x47997b,_0x4d9bbb){const _0x383d5b=_0x354fcb;return this['_replaceOptional']([...U[_0x383d5b(0x2df)](_0x1f6eed,_0x47997b),'group'],_0x4cb7e8[_0x383d5b(0x2ba)][_0x1f6eed][_0x383d5b(0x38b)][_0x47997b][_0x383d5b(0x1b9)],_0x4d9bbb);}['setViewFieldVisible'](_0x3ccd01,_0x9765a4,_0x3f9430,_0x22face,_0x34cb69){const _0x4b8341=_0x354fcb;return this[_0x4b8341(0x43e)](_0x3ccd01,_0x9765a4,_0x3f9430,_0x22face,{'hidden':!_0x34cb69});}[_0x354fcb(0x175)](_0x1bf376,_0x1b4e10,_0x136e28,_0x15fb87,_0x50b61c){return this['_setViewFieldSetting'](_0x1bf376,_0x1b4e10,_0x136e28,_0x15fb87,{'width':_0x50b61c});}[_0x354fcb(0x457)](_0x43f4d4,_0x431093,_0x503ed9,_0x1cd65d,_0x85d626){const _0x435dd0=_0x354fcb;let _0xb010b8=_0x43f4d4[_0x435dd0(0x2ba)][_0x431093][_0x435dd0(0x38b)][_0x503ed9],_0x4af35d=sr(_0xb010b8[_0x435dd0(0x1e1)]??_0x43f4d4[_0x435dd0(0x2ba)][_0x431093][_0x435dd0(0x1e1)],_0x1cd65d,_0x85d626);return this[_0x435dd0(0x24b)]([...U[_0x435dd0(0x2df)](_0x431093,_0x503ed9),_0x435dd0(0x1e1)],_0xb010b8[_0x435dd0(0x1e1)],_0x4af35d);}['_setViewFieldSetting'](_0x39a88a,_0x2ab5f0,_0x139107,_0x44b745,_0x3bcafe){const _0x41fa9c=_0x354fcb;let _0x506a9e=_0x39a88a[_0x41fa9c(0x2ba)][_0x2ab5f0][_0x41fa9c(0x38b)][_0x139107][_0x41fa9c(0x484)]??{},_0xc87a73={..._0x506a9e,[_0x44b745]:{..._0x506a9e[_0x44b745],..._0x3bcafe}};return this[_0x41fa9c(0x24b)]([...U[_0x41fa9c(0x2df)](_0x2ab5f0,_0x139107),_0x41fa9c(0x484)],_0x39a88a['tables'][_0x2ab5f0][_0x41fa9c(0x38b)][_0x139107][_0x41fa9c(0x484)],_0xc87a73);}['_createRecordOrderOp'](_0x29fe1b,_0x38fd19,_0x5b17fa){const _0x278d36=_0x354fcb;let _0x4366b5=_0x29fe1b[_0x278d36(0x2ba)][_0x38fd19],_0x27289e=new Set(_0x5b17fa['map'](_0xf25330=>_0xf25330['id'])),_0x331ac2=[...Object['values'](_0x4366b5[_0x278d36(0x45a)])['filter'](_0x10d105=>!_0x27289e[_0x278d36(0x23f)](_0x10d105['id'])),..._0x5b17fa][_0x278d36(0x3db)]((_0x1b28b1,_0x4b446a)=>String(_0x1b28b1[_0x278d36(0x3ef)]??_0x1b28b1['id'])[_0x278d36(0x4bc)](String(_0x4b446a[_0x278d36(0x3ef)]??_0x4b446a['id'])))[_0x278d36(0x29b)](_0x58c1c3=>_0x58c1c3['id']),_0x4c1c7c=[...U[_0x278d36(0x513)](_0x38fd19),'recordOrder'];return _0x4366b5[_0x278d36(0x22d)]?_0x370803[_0x278d36(0x333)](_0x4c1c7c,_0x4366b5[_0x278d36(0x22d)],_0x331ac2):_0x370803[_0x278d36(0x207)](_0x4c1c7c,_0x331ac2);}[_0x354fcb(0x317)](_0x2ac4eb,_0x4d7da9=new Set()){const _0x2f29c7=_0x354fcb;let _0x3a0254=_0x49362b(_0x2ac4eb);return Object[_0x2f29c7(0x1da)](_0x2ac4eb[_0x2f29c7(0x2ba)])[_0x2f29c7(0x397)](_0x160c11=>!_0x4d7da9[_0x2f29c7(0x23f)](_0x160c11['id']))[_0x2f29c7(0x3db)]((_0xcbf928,_0x481b6d)=>_0xcbf928['id']['localeCompare'](_0x481b6d['id']))[_0x2f29c7(0x2a2)](_0x1548d5=>{const _0xb6a915=_0x2f29c7;let _0x32a8d2=_0x3a0254['get'](_0x1548d5['id']);return!_0x32a8d2||_0x1548d5[_0xb6a915(0x357)]===_0x32a8d2?[]:[this[_0xb6a915(0x24b)]([...U[_0xb6a915(0x513)](_0x1548d5['id']),'formulaName'],_0x1548d5[_0xb6a915(0x357)],_0x32a8d2)];});}[_0x354fcb(0x221)](_0x60476a,_0x5cdaf5,_0x5376be,_0x5e4af0){const _0x489f30=_0x354fcb;var _0x37906f,_0x33caf8;let _0x372dc4=L(_0x60476a[_0x489f30(0x2ba)][_0x5cdaf5]),_0x263fb6=String(((_0x37906f=_0x5e4af0[_0x489f30(0x342)])==null?void 0x0:_0x37906f['formula'])??'')[_0x489f30(0x3bc)](),_0x56db75=(_0x33caf8=_0x372dc4['colIndex'])==null?void 0x0:_0x33caf8[_0x5376be];if(_0x56db75==null)return[];let _0xcd098d=_0x372dc4['recordOrder']??Object['keys'](_0x372dc4[_0x489f30(0x45a)]),_0x2286b4=_0xcd098d[_0x489f30(0x29b)](_0x2ba7e0=>{const _0x3a1b68=_0x489f30;var _0x26bb6b;return(_0x26bb6b=_0x372dc4[_0x3a1b68(0x290)])==null?void 0x0:_0x26bb6b[_0x2ba7e0];})['find'](_0xd6e2fe=>_0xd6e2fe!=null);return _0xcd098d[_0x489f30(0x2a2)](_0x46b177=>{var _0x10ac9b,_0x450308;let _0x4bbf69=(_0x10ac9b=_0x372dc4['rowIndex'])==null?void 0x0:_0x10ac9b[_0x46b177];if(_0x4bbf69==null)return[];let _0x558af1=(_0x450308=_0x372dc4['cellData'])==null||(_0x450308=_0x450308[_0x4bbf69])==null?void 0x0:_0x450308[_0x56db75],_0x4ad5b2=_0x263fb6?_0x4bbf69===_0x2286b4?{'f':_0x263fb6,'si':_0x5376be}:{'si':_0x5376be}:{'v':null,'t':null};return[this['_replaceOptional'](U['cellData'](_0x5cdaf5,_0x4bbf69,_0x56db75),_0x558af1,_0x4ad5b2)];});}['_setAttachmentResources'](_0x2005ce,_0xe31bf7,_0x4c2a45){const _0x1c9e0b=_0x354fcb;var _0x53de44;let _0x4d0ec2=new Map(Object[_0x1c9e0b(0x1e2)](((_0x53de44=_0x2005ce[_0x1c9e0b(0x358)])==null?void 0x0:_0x53de44[_0x1c9e0b(0x47e)])??{})),_0x3b32e3=new Map(),_0x29d3d2=new Set(),_0xda3729=_0x4c2a45[_0x1c9e0b(0x29b)](({recordId:_0x5e3b0d,fieldId:_0x1606e2,attachments:_0x3880f6})=>{const _0x73b0d3=_0x1c9e0b;var _0x24d11e;let _0x1cbece=Et(_0x1606e2,_0x5e3b0d),_0x25504b=_0x3880f6[_0x73b0d3(0x29b)]((_0x2464d0,_0x2268ef)=>String(_0x2464d0['id']??_0x1cbece+'\x1f'+_0x2268ef));return _0x29d3d2[_0x73b0d3(0x35e)](_0x1cbece),_0x4d0ec2[_0x73b0d3(0x1a1)](_0x1cbece,_0x25504b),_0x3880f6[_0x73b0d3(0x461)]((_0x494324,_0x1bce80)=>{let _0x2e35a1=_0x25504b[_0x1bce80];_0x3b32e3['set'](_0x2e35a1,{..._0x494324,'id':_0x2e35a1});}),this[_0x73b0d3(0x24b)](U[_0x73b0d3(0x4e0)](_0xe31bf7,_0x1cbece),(_0x24d11e=_0x2005ce[_0x73b0d3(0x358)])==null||(_0x24d11e=_0x24d11e[_0x73b0d3(0x47e)])==null?void 0x0:_0x24d11e[_0x1cbece],_0x25504b);}),_0x5a2787=Array[_0x1c9e0b(0x4dd)](_0x3b32e3)[_0x1c9e0b(0x29b)](([_0x172805,_0x1cbcbe])=>{const _0x465bde=_0x1c9e0b;var _0x385059;return this[_0x465bde(0x24b)](U[_0x465bde(0x25c)](_0xe31bf7,_0x172805),(_0x385059=_0x2005ce[_0x465bde(0x358)])==null||(_0x385059=_0x385059['attachments'])==null?void 0x0:_0x385059[_0x172805],_0x1cbcbe);}),_0xa6ebff=new Set(Array[_0x1c9e0b(0x4dd)](_0x4d0ec2['values']())[_0x1c9e0b(0x2ec)]()),_0x30ee1d=new Set(Array[_0x1c9e0b(0x4dd)](_0x29d3d2)['flatMap'](_0x58be78=>{const _0x515d81=_0x1c9e0b;var _0x288209;return((_0x288209=_0x2005ce[_0x515d81(0x358)])==null||(_0x288209=_0x288209['attachmentSets'])==null?void 0x0:_0x288209[_0x58be78])??[];})),_0x1413e6=Array[_0x1c9e0b(0x4dd)](_0x30ee1d)['flatMap'](_0x481f33=>{const _0x4bda0a=_0x1c9e0b;var _0x5c0bf9;let _0x2ac245=(_0x5c0bf9=_0x2005ce[_0x4bda0a(0x358)])==null||(_0x5c0bf9=_0x5c0bf9['attachments'])==null?void 0x0:_0x5c0bf9[_0x481f33];return _0x2ac245!==void 0x0&&!_0xa6ebff['has'](_0x481f33)?[_0x370803[_0x4bda0a(0x246)](U[_0x4bda0a(0x25c)](_0xe31bf7,_0x481f33),_0x2ac245)]:[];});return[..._0xda3729,..._0x5a2787,..._0x1413e6];}[_0x354fcb(0x4a3)](_0x2bdf39,_0x8e81,_0x4e65db){const _0x434755=_0x354fcb;var _0x136d82;let _0x4a4930=((_0x136d82=_0x2bdf39[_0x434755(0x358)])==null?void 0x0:_0x136d82[_0x434755(0x47e)])??{},_0x2576e0=Object['entries'](_0x4a4930)[_0x434755(0x397)](([_0x5c44cd])=>_0x4e65db(_0x5c44cd));if(!_0x2576e0[_0x434755(0x458)])return[];let _0xa8b1a8=new Set(Object[_0x434755(0x1e2)](_0x4a4930)[_0x434755(0x397)](([_0x5b9845])=>!_0x4e65db(_0x5b9845))[_0x434755(0x2a2)](([,_0x1c4f51])=>_0x1c4f51)),_0x277db8=new Set(_0x2576e0[_0x434755(0x2a2)](([,_0x21aed9])=>_0x21aed9));return[..._0x2576e0['map'](([_0xece8cf,_0xb34c44])=>_0x370803['removeOp'](U[_0x434755(0x4e0)](_0x8e81,_0xece8cf),_0xb34c44)),...Array[_0x434755(0x4dd)](_0x277db8)[_0x434755(0x2a2)](_0x4fd623=>{const _0x1eb994=_0x434755;var _0x2f6a76;let _0x217090=(_0x2f6a76=_0x2bdf39[_0x1eb994(0x358)])==null||(_0x2f6a76=_0x2f6a76[_0x1eb994(0x499)])==null?void 0x0:_0x2f6a76[_0x4fd623];return _0x217090!==void 0x0&&!_0xa8b1a8['has'](_0x4fd623)?[_0x370803['removeOp'](U['attachment'](_0x8e81,_0x4fd623),_0x217090)]:[];})];}['_replaceOptional'](_0x578527,_0x6a9fcc,_0x1b2b7a){const _0x1b745b=_0x354fcb;return _0x6a9fcc===void 0x0?_0x370803[_0x1b745b(0x207)](_0x578527,_0x1b2b7a):_0x370803['replaceOp'](_0x578527,_0x6a9fcc,_0x1b2b7a);}};function er(_0x1df614,_0x349f62,_0xa05447,_0x5485b7){const _0x400b6e=_0x354fcb;var _0x3c02c6;let _0x4a1ee5=_0x5485b7['type'];if(_0xa05447['type']!==_0x4a1ee5||_0x4a1ee5!==_0x19bf94[_0x400b6e(0x407)]&&_0x4a1ee5!==_0x19bf94[_0x400b6e(0x283)]||tr(_0x5485b7[_0x400b6e(0x342)][_0x400b6e(0x4cc)]))return{'field':_0x5485b7,'patches':[]};let _0x5acc62=nr(_0xa05447),_0x38a359=nr(_0x5485b7);if(![..._0x5acc62][_0x400b6e(0x257)](_0x4a8897=>!_0x38a359[_0x400b6e(0x23f)](_0x4a8897)))return{'field':_0x5485b7,'patches':[]};let _0x21a537=rr(_0x5485b7[_0x400b6e(0x241)],_0x38a359,_0x4a1ee5),_0x5ae6f9=ir(_0x21a537,_0x5485b7['defaultValue'])?_0x5485b7:{..._0x5485b7,'defaultValue':_0x21a537},_0x221abb=L(_0x1df614),_0x4ea783=(_0x3c02c6=_0x221abb[_0x400b6e(0x288)])==null?void 0x0:_0x3c02c6[_0x349f62];return _0x4ea783==null?{'field':_0x5ae6f9,'patches':[]}:{'field':_0x5ae6f9,'patches':(_0x221abb[_0x400b6e(0x22d)]??[])['flatMap'](_0x1e94a6=>{const _0x3f379b=_0x400b6e;var _0x4f2cbd,_0x1a5141;let _0x3bd8b2=(_0x4f2cbd=_0x221abb['rowIndex'])==null?void 0x0:_0x4f2cbd[_0x1e94a6],_0x1c0d3b=(_0x1a5141=_0x221abb['records'][_0x1e94a6])==null?void 0x0:_0x1a5141[_0x3f379b(0x1da)][_0x349f62],_0x3e6bd7=rr(_0x1c0d3b,_0x38a359,_0x4a1ee5);return _0x3bd8b2==null||ir(_0x3e6bd7,_0x1c0d3b)?[]:[{'row':_0x3bd8b2,'col':_0x4ea783,'value':_0x3e6bd7??null}];})};}function tr(_0x3df10c){const _0x5d7d2c=_0x354fcb;return typeof _0x3df10c==_0x5d7d2c(0x269)&&!!_0x3df10c&&_0x5d7d2c(0x33a)in _0x3df10c&&_0x3df10c[_0x5d7d2c(0x33a)]===_0x5d7d2c(0x28b);}function nr(_0x83ae51){const _0x58bf45=_0x354fcb;var _0x3412a3;let _0x5b977d=Array[_0x58bf45(0x354)]((_0x3412a3=_0x83ae51['config'])==null?void 0x0:_0x3412a3[_0x58bf45(0x392)])?_0x83ae51[_0x58bf45(0x342)]['options']:[];return new Set(_0x5b977d['flatMap'](_0xbb98ac=>{const _0x49bc89=_0x58bf45;if(!_0xbb98ac||typeof _0xbb98ac!=_0x49bc89(0x269)||!('id'in _0xbb98ac))return[];let _0x43006c=String(_0xbb98ac['id']);return _0x43006c?[_0x43006c]:[];}));}function rr(_0x2cc61d,_0x56260e,_0x4f53dc){const _0x37cd83=_0x354fcb;if(_0x2cc61d==null||_0x2cc61d==='')return _0x2cc61d;if(_0x4f53dc===_0x19bf94['SingleSelect'])return _0x56260e[_0x37cd83(0x23f)](String(_0x2cc61d))?_0x2cc61d:null;let _0x1b7112=Array[_0x37cd83(0x354)](_0x2cc61d)?_0x2cc61d['map'](String):String(_0x2cc61d)['split'](',')[_0x37cd83(0x29b)](_0x3127fd=>_0x3127fd[_0x37cd83(0x3bc)]())[_0x37cd83(0x397)](Boolean),_0x3452d7=_0x1b7112[_0x37cd83(0x397)](_0x5982a0=>_0x56260e[_0x37cd83(0x23f)](_0x5982a0));return _0x3452d7[_0x37cd83(0x458)]===_0x1b7112['length']?_0x2cc61d:Array['isArray'](_0x2cc61d)?_0x3452d7:String(_0x2cc61d)[_0x37cd83(0x231)](',')?_0x3452d7[_0x37cd83(0x4b5)](','):_0x3452d7[0x0]??[];}function ir(_0x35b304,_0x42dea8){const _0x2648d6=_0x354fcb;return JSON[_0x2648d6(0x449)](_0x35b304)===JSON['stringify'](_0x42dea8);}function ar(_0x282280,_0x2d8157,_0x29be59){const _0xa89b1c=_0x354fcb;var _0x22f403,_0x2a8be2,_0x476cd2,_0x41f1d7;let _0x52cbe2=(_0x22f403=_0x282280[_0xa89b1c(0x290)])==null?void 0x0:_0x22f403[_0x2d8157],_0x14287a=(_0x2a8be2=_0x282280[_0xa89b1c(0x288)])==null?void 0x0:_0x2a8be2[_0x29be59];return _0x52cbe2!=null&&_0x14287a!=null&&((_0x476cd2=_0x282280[_0xa89b1c(0x474)])==null?void 0x0:_0x476cd2[_0x52cbe2])===_0x2d8157&&((_0x41f1d7=_0x282280[_0xa89b1c(0x242)])==null?void 0x0:_0x41f1d7[_0x14287a])===_0x29be59&&_0x282280[_0xa89b1c(0x1cf)]!=null;}function or(_0x322a7b,_0x248f31,_0x30bc9f){const _0x2fa164=_0x354fcb;var _0x370674,_0x55fc65;return((_0x370674=_0x322a7b[_0x2fa164(0x474)])==null?void 0x0:_0x370674[_0x248f31])!=null&&((_0x55fc65=_0x322a7b['colId'])==null?void 0x0:_0x55fc65[_0x30bc9f])!=null&&_0x322a7b[_0x2fa164(0x1cf)]!=null;}function sr(_0x5a038e,_0x8cd1f1,_0x5722f6){const _0x315efc=_0x354fcb;let _0x2721da=_0x5a038e['filter'](_0x2c2216=>_0x2c2216!==_0x8cd1f1),_0x239dc7=_0x5722f6['beforeFieldId']?_0x2721da['indexOf'](_0x5722f6[_0x315efc(0x381)]):_0x5722f6[_0x315efc(0x27b)]?_0x2721da[_0x315efc(0x4c8)](_0x5722f6[_0x315efc(0x27b)])+0x1:_0x2721da[_0x315efc(0x458)];return _0x2721da[_0x315efc(0x47d)](_0x239dc7<0x0?_0x2721da[_0x315efc(0x458)]:_0x239dc7,0x0,_0x8cd1f1),_0x2721da;}function cr(_0x4c6eae,_0x31b7fd,_0x2b42e7){const _0x1b4876=_0x354fcb;let _0x16acf0=_0x4c6eae['filter'](_0x5a0255=>_0x5a0255!==_0x31b7fd);return _0x16acf0[_0x1b4876(0x47d)](ur(_0x2b42e7,_0x16acf0['length']),0x0,_0x31b7fd),_0x16acf0;}function lr(_0x47cb45,_0x34c493,_0x5e9db4){const _0x519d4b=_0x354fcb;if(Array[_0x519d4b(0x354)](_0x47cb45))return _0x5e9db4===_0x519d4b(0x227)?_0x47cb45[_0x519d4b(0x397)](_0x123be4=>_0x123be4!==_0x34c493):_0x47cb45[_0x519d4b(0x2a2)](_0x1c5e0f=>{const _0x46ab4d=_0x519d4b;if(_0x1c5e0f&&typeof _0x1c5e0f=='object'&&!Array[_0x46ab4d(0x354)](_0x1c5e0f)&&_0x1c5e0f[_0x46ab4d(0x46e)]===_0x34c493)return[];let _0x4800f7=lr(_0x1c5e0f,_0x34c493);return _0x4800f7===void 0x0?[]:[_0x4800f7];});if(!_0x47cb45||typeof _0x47cb45!='object')return _0x5e9db4!=null&&_0x5e9db4[_0x519d4b(0x424)](_0x519d4b(0x334))&&_0x47cb45===_0x34c493?void 0x0:_0x47cb45;let _0x52813b=_0x47cb45;if(_0x52813b[_0x519d4b(0x46e)]!==_0x34c493)return Object[_0x519d4b(0x2e8)](Object['entries'](_0x52813b)[_0x519d4b(0x2a2)](([_0x405a84,_0x4a8ea2])=>{const _0x4cb536=_0x519d4b;if(_0x405a84===_0x34c493&&_0x5e9db4===_0x4cb536(0x484))return[];let _0x5ad692=lr(_0x4a8ea2,_0x34c493,_0x405a84);return _0x5ad692===void 0x0?[]:[[_0x405a84,_0x5ad692]];}));}function ur(_0x2c8671,_0x414a05){const _0x4eccc4=_0x354fcb;return Math[_0x4eccc4(0x1b3)](0x0,Math[_0x4eccc4(0x35d)](_0x2c8671,_0x414a05));}function dr(_0x119f09){'@babel/helpers - typeof';const _0x4768ed=_0x354fcb;return dr=typeof Symbol=='function'&&typeof Symbol[_0x4768ed(0x25e)]==_0x4768ed(0x451)?function(_0x3a7d16){return typeof _0x3a7d16;}:function(_0x466350){const _0x36d362=_0x4768ed;return _0x466350&&typeof Symbol==_0x36d362(0x389)&&_0x466350['constructor']===Symbol&&_0x466350!==Symbol[_0x36d362(0x32b)]?_0x36d362(0x451):typeof _0x466350;},dr(_0x119f09);}function fr(_0x62cb11,_0x362e71){const _0x5b3a55=_0x354fcb;if(dr(_0x62cb11)!='object'||!_0x62cb11)return _0x62cb11;var _0x20c4c3=_0x62cb11[Symbol[_0x5b3a55(0x41c)]];if(_0x20c4c3!==void 0x0){var _0x1a3183=_0x20c4c3[_0x5b3a55(0x331)](_0x62cb11,_0x362e71||_0x5b3a55(0x3ac));if(dr(_0x1a3183)!=_0x5b3a55(0x269))return _0x1a3183;throw TypeError(_0x5b3a55(0x512));}return(_0x362e71===_0x5b3a55(0x471)?String:Number)(_0x62cb11);}function pr(_0x159e2c){const _0x5ceb1d=_0x354fcb;var _0x1f3263=fr(_0x159e2c,_0x5ceb1d(0x471));return dr(_0x1f3263)=='symbol'?_0x1f3263:_0x1f3263+'';}function G(_0x319a67,_0x5f30bf,_0x1f76e6){const _0x30867e=_0x354fcb;return(_0x5f30bf=pr(_0x5f30bf))in _0x319a67?Object[_0x30867e(0x2b6)](_0x319a67,_0x5f30bf,{'value':_0x1f76e6,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x319a67[_0x5f30bf]=_0x1f76e6,_0x319a67;}const mr=_0x5d0ae0(_0x354fcb(0x273));var hr=class extends _0x1589db{constructor(..._0x4c3777){const _0x5abb94=_0x354fcb;super(..._0x4c3777),G(this,_0x5abb94(0x252),new Map());}[_0x354fcb(0x2f4)](_0x360f7c){const _0x25febb=_0x354fcb;return this[_0x25febb(0x252)]['set'](_0x360f7c[_0x25febb(0x33a)],_0x360f7c),_0x5b4066(()=>this[_0x25febb(0x252)]['delete'](_0x360f7c[_0x25febb(0x33a)]));}[_0x354fcb(0x4a8)](_0x777a4f){const _0x150fd9=_0x354fcb;let _0x2ef3e7=this[_0x150fd9(0x252)]['get'](_0x777a4f);if(!_0x2ef3e7)throw Error(_0x150fd9(0x196)+_0x777a4f+_0x150fd9(0x371));return _0x2ef3e7;}[_0x354fcb(0x3c6)](_0x111415){const _0x294496=_0x354fcb;return this[_0x294496(0x252)][_0x294496(0x4a8)](_0x111415);}['getAll'](){const _0x419445=_0x354fcb;return Array[_0x419445(0x4dd)](this['_plugins'][_0x419445(0x1da)]());}},gr=class{constructor(_0x3bf1f8){const _0x32f669=_0x354fcb;this[_0x32f669(0x278)]=_0x3bf1f8,G(this,_0x32f669(0x33a),_0x56e21f['Base']),G(this,_0x32f669(0x200),_0x391870[_0x32f669(0x36a)]),G(this,_0x32f669(0x372),_0x15f2b3[_0x32f669(0x3e4)]),G(this,'id',void 0x0),G(this,_0x32f669(0x416),!0x0),this['id']=this[_0x32f669(0x33a)]+'.'+this[_0x32f669(0x200)]+'_'+_0x3bf1f8;}},_r=class{constructor(_0x2672a6){const _0x5f0de4=_0x354fcb;this['unitId']=_0x2672a6,G(this,_0x5f0de4(0x33a),_0x56e21f['Base']),G(this,'subType',_0x391870['Copy']),G(this,'status',_0x15f2b3[_0x5f0de4(0x3e4)]),G(this,'id',void 0x0),G(this,'value',!0x0),this['id']=this[_0x5f0de4(0x33a)]+'.'+this[_0x5f0de4(0x200)]+'_'+_0x2672a6;}},vr=class{constructor(_0x296b01){const _0xce174d=_0x354fcb;this[_0xce174d(0x278)]=_0x296b01,G(this,_0xce174d(0x33a),_0x56e21f[_0xce174d(0x318)]),G(this,'subType',_0x391870['Edit']),G(this,_0xce174d(0x372),_0x15f2b3[_0xce174d(0x3e4)]),G(this,'id',void 0x0),G(this,_0xce174d(0x416),!0x0),this['id']=this[_0xce174d(0x33a)]+'.'+this[_0xce174d(0x200)]+'_'+_0x296b01;}},yr=class{constructor(_0x47dda2){const _0x4411f6=_0x354fcb;this['unitId']=_0x47dda2,G(this,_0x4411f6(0x33a),_0x56e21f[_0x4411f6(0x318)]),G(this,'subType',_0x391870[_0x4411f6(0x479)]),G(this,_0x4411f6(0x372),_0x15f2b3[_0x4411f6(0x3e4)]),G(this,'id',void 0x0),G(this,'value',!0x0),this['id']=this['type']+'.'+this[_0x4411f6(0x200)]+'_'+_0x47dda2;}},br=class{constructor(_0x2fe77e,_0xcdf329){const _0x35a572=_0x354fcb;this[_0x35a572(0x278)]=_0x2fe77e,this[_0x35a572(0x225)]=_0xcdf329,G(this,'type',_0x56e21f[_0x35a572(0x3f9)]),G(this,'subType',_0x391870[_0x35a572(0x463)]),G(this,_0x35a572(0x372),_0x15f2b3[_0x35a572(0x3e4)]),G(this,'id',void 0x0),G(this,_0x35a572(0x416),!0x0),this['id']=this[_0x35a572(0x33a)]+'.'+this[_0x35a572(0x200)]+'_'+_0x2fe77e+'_'+_0xcdf329;}},xr=class{constructor(_0x478fd6,_0x3f5799){const _0x46c1dd=_0x354fcb;this[_0x46c1dd(0x278)]=_0x478fd6,this['objectId']=_0x3f5799,G(this,'type',_0x56e21f['BaseField']),G(this,_0x46c1dd(0x200),_0x391870[_0x46c1dd(0x463)]),G(this,_0x46c1dd(0x372),_0x15f2b3[_0x46c1dd(0x3e4)]),G(this,'id',void 0x0),G(this,_0x46c1dd(0x416),!0x0),this['id']=this[_0x46c1dd(0x33a)]+'.'+this[_0x46c1dd(0x200)]+'_'+_0x478fd6+'_'+_0x3f5799;}},Sr=class{constructor(_0x4dd240,_0x394d23){const _0x1a093c=_0x354fcb;this[_0x1a093c(0x278)]=_0x4dd240,this['objectId']=_0x394d23,G(this,_0x1a093c(0x33a),_0x56e21f[_0x1a093c(0x1dc)]),G(this,_0x1a093c(0x200),_0x391870['Edit']),G(this,_0x1a093c(0x372),_0x15f2b3[_0x1a093c(0x3e4)]),G(this,'id',void 0x0),G(this,_0x1a093c(0x416),!0x0),this['id']=this[_0x1a093c(0x33a)]+'.'+this[_0x1a093c(0x200)]+'_'+_0x4dd240+'_'+_0x394d23;}},Cr=class{constructor(_0x5b0327,_0x13a9ba){const _0x128c5d=_0x354fcb;this[_0x128c5d(0x278)]=_0x5b0327,this[_0x128c5d(0x225)]=_0x13a9ba,G(this,'type',_0x56e21f['BaseTable']),G(this,_0x128c5d(0x200),_0x391870['Edit']),G(this,_0x128c5d(0x372),_0x15f2b3[_0x128c5d(0x3e4)]),G(this,'id',void 0x0),G(this,'value',!0x0),this['id']=this['type']+'.'+this[_0x128c5d(0x200)]+'_'+_0x5b0327+'_'+_0x13a9ba;}},wr=class{constructor(_0x58754b,_0x4621b4){const _0x45651b=_0x354fcb;this['unitId']=_0x58754b,this[_0x45651b(0x225)]=_0x4621b4,G(this,_0x45651b(0x33a),_0x56e21f[_0x45651b(0x52a)]),G(this,_0x45651b(0x200),_0x391870[_0x45651b(0x463)]),G(this,'status',_0x15f2b3[_0x45651b(0x3e4)]),G(this,'id',void 0x0),G(this,_0x45651b(0x416),!0x0),this['id']=this[_0x45651b(0x33a)]+'.'+this['subType']+'_'+_0x58754b+'_'+_0x4621b4;}};const Tr=[_0x391870[_0x354fcb(0x463)],_0x391870[_0x354fcb(0x453)],_0x391870[_0x354fcb(0x479)],_0x391870[_0x354fcb(0x36a)]],Er=new Set([_0x56e21f['Base'],_0x56e21f[_0x354fcb(0x1d0)],_0x56e21f[_0x354fcb(0x4ef)],_0x56e21f[_0x354fcb(0x1dc)],_0x56e21f[_0x354fcb(0x52a)],_0x56e21f['BaseDashboard']]),Dr=_0x354fcb(0x2e3),Or=_0x354fcb(0x45f),kr=_0x354fcb(0x4fe),Ar='view/',jr=_0x354fcb(0x237);function K(_0x20420e){return''+Dr+encodeURIComponent(_0x20420e);}function q(_0x345ce0,_0x5df5a5){return''+Or+encodeURIComponent(_0x345ce0)+'/'+encodeURIComponent(_0x5df5a5);}function J(_0x260ed1,_0x44e15d){return''+kr+encodeURIComponent(_0x260ed1)+'/'+encodeURIComponent(_0x44e15d);}function Mr(_0x4f7cfb,_0x4eabe5){return''+Ar+encodeURIComponent(_0x4f7cfb)+'/'+encodeURIComponent(_0x4eabe5);}function Nr(_0xecf542){return''+jr+encodeURIComponent(_0xecf542);}function Pr(_0x47b93d,_0x309b52,_0x1b1b13){const _0x4a84dd=_0x354fcb;if(_0x309b52===_0x47b93d)switch(_0x1b1b13){case _0x391870[_0x4a84dd(0x463)]:return new vr(_0x47b93d);case _0x391870[_0x4a84dd(0x453)]:return new _r(_0x47b93d);case _0x391870['Export']:return new yr(_0x47b93d);case _0x391870[_0x4a84dd(0x36a)]:return new gr(_0x47b93d);default:throw Error('Unsupported\x20Base\x20permission\x20action:\x20'+_0x1b1b13);}if(_0x1b1b13!==_0x391870[_0x4a84dd(0x463)])throw Error(_0x4a84dd(0x35b)+_0x309b52);if(_0x309b52[_0x4a84dd(0x254)](Dr))return new Cr(_0x47b93d,_0x309b52);if(_0x309b52['startsWith'](Or))return new xr(_0x47b93d,_0x309b52);if(_0x309b52[_0x4a84dd(0x254)](kr))return new Sr(_0x47b93d,_0x309b52);if(_0x309b52[_0x4a84dd(0x254)](Ar))return new wr(_0x47b93d,_0x309b52);if(_0x309b52[_0x4a84dd(0x254)](jr))return new br(_0x47b93d,_0x309b52);throw Error('Unsupported\x20Base\x20permission\x20object:\x20'+_0x309b52);}function Fr(_0x3d5373,_0x46f426,_0x5645d7,_0x5a49e0){const _0x1bfa1d=_0x354fcb;var _0x2623c5;return((_0x2623c5=_0x3d5373['getPermissionPoint'](Pr(_0x46f426,_0x5645d7,_0x5a49e0)['id']))==null?void 0x0:_0x2623c5[_0x1bfa1d(0x416)])??!0x0;}function Ir(_0x46e807,_0x21472,_0x4de206,_0x447016,_0x3fd401){const _0x4c40ba=_0x354fcb;let _0x27f719=Pr(_0x21472,_0x4de206,_0x447016);_0x46e807[_0x4c40ba(0x1c9)](_0x27f719['id'])||_0x46e807[_0x4c40ba(0x2da)](_0x27f719),_0x46e807[_0x4c40ba(0x447)](_0x27f719['id'],_0x3fd401);}function Lr(_0x20fbce,_0x3f38d4,_0x397b8e,_0x13c53a){const _0x471c61=_0x354fcb;_0x20fbce[_0x471c61(0x509)](Pr(_0x3f38d4,_0x397b8e,_0x13c53a)['id']);}function Rr(_0x293b92,_0x52540c){const _0x3a8192=_0x354fcb;_0x293b92[_0x3a8192(0x3b8)]()[_0x3a8192(0x461)]((_0xf884e0,_0x5c35fd)=>{const _0xed9c89=_0x3a8192;_0xf884e0[_0xed9c89(0x30f)](_0x98e0a0=>{const _0x277bf3=_0xed9c89;Er[_0x277bf3(0x23f)](_0x98e0a0[_0x277bf3(0x33a)])&&_0x277bf3(0x278)in _0x98e0a0&&_0x98e0a0[_0x277bf3(0x278)]===_0x52540c&&_0x293b92[_0x277bf3(0x509)](_0x5c35fd);})['unsubscribe']();});}function zr(_0x3cf926,_0x4336b7,_0x5ecca1){const _0x335ac1=_0x354fcb;return Fr(_0x3cf926,_0x4336b7,_0x4336b7,_0x391870[_0x335ac1(0x463)])&&Array[_0x335ac1(0x4dd)](_0x5ecca1)[_0x335ac1(0x1b6)](_0x4bd53e=>Fr(_0x3cf926,_0x4336b7,_0x4bd53e,_0x391870[_0x335ac1(0x463)]));}function Y(_0x78ec34,_0x4ca9b1){return function(_0x3a39d8,_0x5b9233){_0x4ca9b1(_0x3a39d8,_0x5b9233,_0x78ec34);};}function X(_0x3e7abe,_0x530b93,_0x29f355,_0x38eccd){const _0xf37495=_0x354fcb;var _0xd580ef=arguments[_0xf37495(0x458)],_0x270476=_0xd580ef<0x3?_0x530b93:_0x38eccd===null?_0x38eccd=Object[_0xf37495(0x503)](_0x530b93,_0x29f355):_0x38eccd,_0x309d5a;if(typeof Reflect==_0xf37495(0x269)&&typeof Reflect[_0xf37495(0x3f3)]==_0xf37495(0x389))_0x270476=Reflect[_0xf37495(0x3f3)](_0x3e7abe,_0x530b93,_0x29f355,_0x38eccd);else{for(var _0x2eacbf=_0x3e7abe[_0xf37495(0x458)]-0x1;_0x2eacbf>=0x0;_0x2eacbf--)(_0x309d5a=_0x3e7abe[_0x2eacbf])&&(_0x270476=(_0xd580ef<0x3?_0x309d5a(_0x270476):_0xd580ef>0x3?_0x309d5a(_0x530b93,_0x29f355,_0x270476):_0x309d5a(_0x530b93,_0x29f355))||_0x270476);}return _0xd580ef>0x3&&_0x270476&&Object[_0xf37495(0x2b6)](_0x530b93,_0x29f355,_0x270476),_0x270476;}const Br=_0x5d0ae0('base.permission.service');let Vr=class extends _0x1589db{constructor(_0x577945,_0x5c4df7){const _0x356a2f=_0x354fcb;super(),this[_0x356a2f(0x487)]=_0x577945,this[_0x356a2f(0x2cf)]=_0x5c4df7,G(this,_0x356a2f(0x35a),new Map()),G(this,'_tablePermissions',new Map()),G(this,'_fieldPermissions',new Map()),G(this,'_recordPermissions',new Map()),G(this,_0x356a2f(0x4ac),new Map()),G(this,_0x356a2f(0x1f7),new Map()),this[_0x356a2f(0x1b4)](this[_0x356a2f(0x2cf)]['getTypeOfUnitDisposed$'](_0x28d752['UNIVER_BASE'])[_0x356a2f(0x30f)](_0x5e235f=>this[_0x356a2f(0x1d7)](_0x5e235f[_0x356a2f(0x422)]())));}[_0x354fcb(0x352)](_0x6322f6){const _0x4b6f65=_0x354fcb;var _0x33ce2e;return this[_0x4b6f65(0x1fa)](_0x6322f6,[])&&(((_0x33ce2e=this[_0x4b6f65(0x35a)][_0x4b6f65(0x4a8)](_0x6322f6))==null?void 0x0:_0x33ce2e[_0x4b6f65(0x500)])??!0x0);}[_0x354fcb(0x481)](_0x5239bf){const _0x2b0046=_0x354fcb;return this[_0x2b0046(0x385)](_0x5239bf);}[_0x354fcb(0x3c1)](_0x54ae4d){const _0x3873ca=_0x354fcb;var _0x303a3d;return this['_canEditTable'](_0x54ae4d)&&(((_0x303a3d=this[_0x3873ca(0x415)][_0x3873ca(0x4a8)](_0x54ae4d))==null?void 0x0:_0x303a3d[_0x3873ca(0x4f4)])??!0x0);}[_0x354fcb(0x293)](_0x1643c6){const _0x5938ae=_0x354fcb;var _0x5b6476;return this[_0x5938ae(0x385)](_0x1643c6)&&(((_0x5b6476=this[_0x5938ae(0x415)][_0x5938ae(0x4a8)](_0x1643c6))==null?void 0x0:_0x5b6476[_0x5938ae(0x2c0)])??!0x0);}[_0x354fcb(0x341)](_0x46c98f,_0x1e81f4){const _0x16ffe1=_0x354fcb;var _0x2d9c53;return this[_0x16ffe1(0x385)](_0x46c98f)&&this[_0x16ffe1(0x1fa)](_0x46c98f,[q(_0x46c98f,_0x1e81f4)])&&(((_0x2d9c53=this[_0x16ffe1(0x44a)]['get'](Ur(_0x46c98f,_0x1e81f4)))==null?void 0x0:_0x2d9c53[_0x16ffe1(0x1db)])??!0x0);}['canDeleteField'](_0x24b017,_0x3db578){const _0xc9f061=_0x354fcb;var _0x524990;return this['canEditField'](_0x24b017,_0x3db578)&&(((_0x524990=this['_fieldPermissions'][_0xc9f061(0x4a8)](Ur(_0x24b017,_0x3db578)))==null?void 0x0:_0x524990[_0xc9f061(0x4f4)])??!0x0);}['canCreateRecord'](_0x249808){const _0x1a99ce=_0x354fcb;var _0x114502;return this[_0x1a99ce(0x385)](_0x249808)&&(((_0x114502=this[_0x1a99ce(0x415)][_0x1a99ce(0x4a8)](_0x249808))==null?void 0x0:_0x114502[_0x1a99ce(0x4a0)])??!0x0);}[_0x354fcb(0x210)](_0x1f8e43,_0xd65409){const _0x4c3154=_0x354fcb;var _0x229e30;let _0x2eab8f=this[_0x4c3154(0x203)][_0x4c3154(0x4a8)](Wr(_0x1f8e43,_0xd65409));return this[_0x4c3154(0x1fa)](_0x1f8e43,[K(_0x1f8e43),J(_0x1f8e43,_0xd65409)])&&(((_0x229e30=this[_0x4c3154(0x415)][_0x4c3154(0x4a8)](_0x1f8e43))==null?void 0x0:_0x229e30['edit'])??!0x0)&&((_0x2eab8f==null?void 0x0:_0x2eab8f[_0x4c3154(0x1db)])??!0x0)&&((_0x2eab8f==null?void 0x0:_0x2eab8f['editCell'])??!0x0);}['canDeleteRecord'](_0x49d50e,_0x4dab7c){const _0x465eec=_0x354fcb;var _0x29d943,_0x45794d,_0x5eb41;return this['_canEdit'](_0x49d50e,[K(_0x49d50e),J(_0x49d50e,_0x4dab7c)])&&(((_0x29d943=this[_0x465eec(0x415)]['get'](_0x49d50e))==null?void 0x0:_0x29d943[_0x465eec(0x1db)])??!0x0)&&(((_0x45794d=this[_0x465eec(0x203)]['get'](Wr(_0x49d50e,_0x4dab7c)))==null?void 0x0:_0x45794d[_0x465eec(0x1db)])??!0x0)&&(((_0x5eb41=this[_0x465eec(0x203)][_0x465eec(0x4a8)](Wr(_0x49d50e,_0x4dab7c)))==null?void 0x0:_0x5eb41[_0x465eec(0x4f4)])??!0x0);}['canEditCell'](_0x20d995,_0x3c3d05,_0x2f3075){const _0x110ae9=_0x354fcb;var _0x392d0f,_0x1bdd1c,_0x2d0caa;let _0x442eb2=this['_fieldPermissions'][_0x110ae9(0x4a8)](Ur(_0x20d995,_0x2f3075));return this[_0x110ae9(0x1fa)](_0x20d995,[K(_0x20d995),q(_0x20d995,_0x2f3075),J(_0x20d995,_0x3c3d05)])&&(((_0x392d0f=this[_0x110ae9(0x415)][_0x110ae9(0x4a8)](_0x20d995))==null?void 0x0:_0x392d0f[_0x110ae9(0x1db)])??!0x0)&&(((_0x1bdd1c=this[_0x110ae9(0x203)][_0x110ae9(0x4a8)](Wr(_0x20d995,_0x3c3d05)))==null?void 0x0:_0x1bdd1c[_0x110ae9(0x1db)])??!0x0)&&(((_0x2d0caa=this['_recordPermissions'][_0x110ae9(0x4a8)](Wr(_0x20d995,_0x3c3d05)))==null?void 0x0:_0x2d0caa[_0x110ae9(0x38c)])??!0x0)&&((_0x442eb2==null?void 0x0:_0x442eb2[_0x110ae9(0x1db)])??!0x0)&&((_0x442eb2==null?void 0x0:_0x442eb2[_0x110ae9(0x38c)])??!0x0);}['canManageView'](_0xc4e424,_0xcec1f4){const _0x180261=_0x354fcb;var _0x120ba2,_0x494753,_0x157359;return this['_canEdit'](_0xc4e424,[K(_0xc4e424),Mr(_0xc4e424,_0xcec1f4)])&&(((_0x120ba2=this[_0x180261(0x415)][_0x180261(0x4a8)](_0xc4e424))==null?void 0x0:_0x120ba2[_0x180261(0x1db)])??!0x0)&&(((_0x494753=this[_0x180261(0x4ac)][_0x180261(0x4a8)](Gr(_0xc4e424,_0xcec1f4)))==null?void 0x0:_0x494753[_0x180261(0x1db)])??!0x0)&&(((_0x157359=this[_0x180261(0x415)][_0x180261(0x4a8)](_0xc4e424))==null?void 0x0:_0x157359[_0x180261(0x238)])??!0x0);}['setBasePermission'](_0x4538cb,_0x5a1c95){const _0x449fa8=_0x354fcb;this['_basePermissions'][_0x449fa8(0x1a1)](_0x4538cb,{...this['_basePermissions'][_0x449fa8(0x4a8)](_0x4538cb),..._0x5a1c95}),_0x5a1c95[_0x449fa8(0x1db)]!==void 0x0&&Ir(this['_permissionService'],_0x4538cb,_0x4538cb,_0x391870['Edit'],_0x5a1c95[_0x449fa8(0x1db)]);}[_0x354fcb(0x298)](_0x2af400,_0x19c399){const _0x5d2b3e=_0x354fcb;this['_rememberTable'](_0x2af400),this[_0x5d2b3e(0x415)][_0x5d2b3e(0x1a1)](_0x2af400,{...this[_0x5d2b3e(0x415)]['get'](_0x2af400),..._0x19c399}),this[_0x5d2b3e(0x258)](_0x2af400,K(_0x2af400),_0x19c399['edit']);}[_0x354fcb(0x49e)](_0x31a8e1,_0xe7c615,_0x328d33){const _0xdc1ab1=_0x354fcb;this[_0xdc1ab1(0x17f)](_0x31a8e1);let _0x43d2ea=Ur(_0x31a8e1,_0xe7c615);this[_0xdc1ab1(0x44a)][_0xdc1ab1(0x1a1)](_0x43d2ea,{...this['_fieldPermissions'][_0xdc1ab1(0x4a8)](_0x43d2ea),..._0x328d33}),this[_0xdc1ab1(0x258)](_0x31a8e1,q(_0x31a8e1,_0xe7c615),_0x328d33[_0xdc1ab1(0x1db)]);}[_0x354fcb(0x528)](_0xdb3ce6,_0x60690f,_0x5a27ab){const _0x257241=_0x354fcb;this['_rememberTable'](_0xdb3ce6);let _0xa6d074=Wr(_0xdb3ce6,_0x60690f);this[_0x257241(0x203)][_0x257241(0x1a1)](_0xa6d074,{...this['_recordPermissions']['get'](_0xa6d074),..._0x5a27ab}),this[_0x257241(0x258)](_0xdb3ce6,J(_0xdb3ce6,_0x60690f),_0x5a27ab[_0x257241(0x1db)]);}['setViewPermission'](_0x2c1540,_0x17d4de,_0xe66408){const _0x23a80a=_0x354fcb;this[_0x23a80a(0x17f)](_0x2c1540);let _0x16b60d=Gr(_0x2c1540,_0x17d4de);this[_0x23a80a(0x4ac)][_0x23a80a(0x1a1)](_0x16b60d,{...this['_viewPermissions'][_0x23a80a(0x4a8)](_0x16b60d),..._0xe66408}),this[_0x23a80a(0x258)](_0x2c1540,Mr(_0x2c1540,_0x17d4de),_0xe66408[_0x23a80a(0x1db)]);}[_0x354fcb(0x4af)](_0xdea016){const _0x2507ae=_0x354fcb;this[_0x2507ae(0x35a)]['delete'](_0xdea016),Lr(this[_0x2507ae(0x487)],_0xdea016,_0xdea016,_0x391870['Edit']);}[_0x354fcb(0x396)](_0xc5ea9e){const _0x160e6e=_0x354fcb;this[_0x160e6e(0x415)]['delete'](_0xc5ea9e),this[_0x160e6e(0x1af)](_0xc5ea9e,K(_0xc5ea9e));}['clearFieldPermission'](_0x3848bf,_0x1d06e8){const _0x44fb61=_0x354fcb;this['_fieldPermissions'][_0x44fb61(0x4f4)](Ur(_0x3848bf,_0x1d06e8)),this['_clearObjectEdit'](_0x3848bf,q(_0x3848bf,_0x1d06e8));}['clearRecordPermission'](_0x444a45,_0x3c4487){const _0x59073f=_0x354fcb;this[_0x59073f(0x203)][_0x59073f(0x4f4)](Wr(_0x444a45,_0x3c4487)),this[_0x59073f(0x1af)](_0x444a45,J(_0x444a45,_0x3c4487));}[_0x354fcb(0x3d4)](_0x131e5a,_0x2db216){const _0x33adf0=_0x354fcb;this[_0x33adf0(0x4ac)][_0x33adf0(0x4f4)](Gr(_0x131e5a,_0x2db216)),this[_0x33adf0(0x1af)](_0x131e5a,Mr(_0x131e5a,_0x2db216));}[_0x354fcb(0x1f9)](){const _0xf507f8=_0x354fcb;return{'bases':Object['fromEntries'](this[_0xf507f8(0x35a)]),'tables':Object['fromEntries'](this[_0xf507f8(0x415)]),'fields':Object[_0xf507f8(0x2e8)](this[_0xf507f8(0x44a)]),'records':Object[_0xf507f8(0x2e8)](this[_0xf507f8(0x203)]),'views':Object[_0xf507f8(0x2e8)](this[_0xf507f8(0x4ac)])};}[_0x354fcb(0x385)](_0x5bb8c8){const _0x4cc536=_0x354fcb;var _0x367e54;return this[_0x4cc536(0x1fa)](_0x5bb8c8,[K(_0x5bb8c8)])&&(((_0x367e54=this['_tablePermissions'][_0x4cc536(0x4a8)](_0x5bb8c8))==null?void 0x0:_0x367e54[_0x4cc536(0x1db)])??!0x0);}['_canEdit'](_0x2691f1,_0x245589){const _0x230a9c=_0x354fcb;var _0x4d06a5;let _0x596618=this[_0x230a9c(0x29e)](_0x2691f1);return!_0x596618||zr(this[_0x230a9c(0x487)],_0x596618,_0x245589)&&(((_0x4d06a5=this[_0x230a9c(0x35a)][_0x230a9c(0x4a8)](_0x596618))==null?void 0x0:_0x4d06a5[_0x230a9c(0x1db)])??!0x0);}[_0x354fcb(0x258)](_0x22066a,_0x25c1d8,_0x29b876){const _0x3004ce=_0x354fcb;if(_0x29b876===void 0x0)return;let _0x1e19b7=this[_0x3004ce(0x29e)](_0x22066a);_0x1e19b7&&Ir(this[_0x3004ce(0x487)],_0x1e19b7,_0x25c1d8,_0x391870[_0x3004ce(0x463)],_0x29b876);}[_0x354fcb(0x1af)](_0x3166e4,_0x13e85a){const _0x2315fe=_0x354fcb;let _0x295718=this[_0x2315fe(0x29e)](_0x3166e4);_0x295718&&Lr(this[_0x2315fe(0x487)],_0x295718,_0x13e85a,_0x391870['Edit']);}['_resolveBaseId'](_0x2182a5){const _0x41ecb1=_0x354fcb;var _0x5b806a;let _0x6a1f7a=this[_0x41ecb1(0x2cf)][_0x41ecb1(0x2e5)](_0x2182a5,_0x28d752[_0x41ecb1(0x201)]);return _0x6a1f7a?_0x6a1f7a[_0x41ecb1(0x422)]():(_0x5b806a=this[_0x41ecb1(0x2cf)][_0x41ecb1(0x3c4)](_0x28d752[_0x41ecb1(0x201)])[_0x41ecb1(0x22f)](_0x585e21=>!!_0x585e21[_0x41ecb1(0x1f9)]()[_0x41ecb1(0x2ba)][_0x2182a5]))==null?void 0x0:_0x5b806a[_0x41ecb1(0x422)]();}[_0x354fcb(0x17f)](_0x7cbdee){const _0x1753db=_0x354fcb;let _0x4ea156=this['_resolveBaseId'](_0x7cbdee);_0x4ea156&&this['_tableBaseIds'][_0x1753db(0x1a1)](_0x7cbdee,_0x4ea156);}[_0x354fcb(0x1d7)](_0x34fae6){const _0x16d10f=_0x354fcb;this[_0x16d10f(0x35a)]['delete'](_0x34fae6),this[_0x16d10f(0x1f7)]['forEach']((_0x3138e1,_0x4dbd61)=>{const _0x551cd6=_0x16d10f;_0x3138e1===_0x34fae6&&(this[_0x551cd6(0x415)]['delete'](_0x4dbd61),Hr(this[_0x551cd6(0x44a)],_0x4dbd61+'\x1f'),Hr(this[_0x551cd6(0x203)],_0x4dbd61+'\x1f'),Hr(this[_0x551cd6(0x4ac)],_0x4dbd61+'\x1f'),this[_0x551cd6(0x1f7)][_0x551cd6(0x4f4)](_0x4dbd61));});}};Vr=X([Y(0x0,_0x211d15),Y(0x1,_0x3414e2)],Vr);function Hr(_0x132a94,_0x116bae){_0x132a94['forEach']((_0x56d054,_0x1ecc89)=>{const _0x22066b=_0x48d8;_0x1ecc89[_0x22066b(0x254)](_0x116bae)&&_0x132a94[_0x22066b(0x4f4)](_0x1ecc89);});}function Ur(_0x217b18,_0xc3e301){return _0x217b18+'\x1f'+_0xc3e301;}function Wr(_0xfd0a74,_0x3f5279){return _0xfd0a74+'\x1f'+_0x3f5279;}function Gr(_0x16f727,_0xa7f5c){return _0x16f727+'\x1f'+_0xa7f5c;}const Kr=_0x5d0ae0('base.command.service');let qr=class{constructor(_0x3411e0,_0x3c4f98=Jr(),_0x5d681c={}){const _0x4d8ae6=_0x354fcb;this['_permissionService']=_0x3411e0,this['_fieldRegistry']=_0x3c4f98,this[_0x4d8ae6(0x224)]=_0x5d681c,G(this,_0x4d8ae6(0x1dd),new W()),G(this,'_applier',new z());}[_0x354fcb(0x500)](_0x576e37,_0x1ecddc,_0x139169){const _0x36c325=_0x354fcb;if(!this['_permissionService'][_0x36c325(0x352)](_0x576e37[_0x36c325(0x422)]()))throw Error(_0x36c325(0x2a1));_0x136f40(_0x1ecddc),this[_0x36c325(0x402)](_0x576e37,this['_factory'][_0x36c325(0x500)](_0x576e37[_0x36c325(0x1f9)](),_0x1ecddc,_0x139169));}[_0x354fcb(0x1be)](_0x20e2eb,_0x2bb71e,_0x31770c){const _0x57a14a=_0x354fcb;if(!this[_0x57a14a(0x487)]['canEditTable'](_0x2bb71e))throw Error(_0x57a14a(0x172));this[_0x57a14a(0x402)](_0x20e2eb,this[_0x57a14a(0x1dd)][_0x57a14a(0x1be)](_0x20e2eb[_0x57a14a(0x1f9)](),_0x2bb71e,_0x31770c));}[_0x354fcb(0x4d8)](_0x41ee6c,_0x34512d){const _0x57446b=_0x354fcb;if(!this[_0x57446b(0x487)][_0x57446b(0x3c1)](_0x34512d))throw Error(_0x57446b(0x4ab));let _0x299e50=He(_0x41ee6c[_0x57446b(0x1f9)](),_0x34512d);if(_0x299e50['length']>0x0)throw Error('[BaseCommandService]:\x20cannot\x20delete\x20a\x20RecordLink\x20target\x20table\x20('+_0x299e50['map'](_0x119b4a=>_0x119b4a[_0x57446b(0x1c3)]+'.'+_0x119b4a[_0x57446b(0x46e)])['join'](',\x20')+').');this['_apply'](_0x41ee6c,this[_0x57446b(0x1dd)]['deleteTable'](_0x41ee6c[_0x57446b(0x1f9)](),_0x34512d));}[_0x354fcb(0x3e6)](_0x545ecf,_0x3856bc,_0x36fe1a,_0x2b324d,_0x360e07){const _0x287ee8=_0x354fcb;this[_0x287ee8(0x402)](_0x545ecf,this[_0x287ee8(0x22b)](_0x545ecf,_0x3856bc,_0x36fe1a,_0x2b324d,_0x360e07));}[_0x354fcb(0x19a)](_0x5f4c8d,_0x3e656d,_0x371b9a){const _0x3e1e25=_0x354fcb;this['_apply'](_0x5f4c8d,this[_0x3e1e25(0x2be)](_0x5f4c8d,_0x3e656d,_0x371b9a));}[_0x354fcb(0x4a0)](_0x524291,_0x8fccab,_0x255c1e){const _0x2bbd68=_0x354fcb;this[_0x2bbd68(0x402)](_0x524291,this[_0x2bbd68(0x40c)](_0x524291,_0x8fccab,_0x255c1e));}[_0x354fcb(0x22b)](_0x3fb30d,_0xfe837,_0x4fefb8,_0x49f915,_0x259688){const _0x5a7b99=_0x354fcb;let _0x484b48=_0x3fb30d[_0x5a7b99(0x1f9)](),_0x37468=this[_0x5a7b99(0x302)](_0x484b48,_0xfe837,_0x4fefb8,_0x49f915,_0x259688),_0xcb7a2c=this[_0x5a7b99(0x1d4)](_0x484b48,_0xfe837,_0x4fefb8,{[_0x49f915]:_0x37468});return this[_0x5a7b99(0x1dd)]['setRecordValues'](_0x484b48,_0xfe837,[_0xcb7a2c]);}['createSetRecordValuesOp'](_0x393153,_0x1d66a2,_0x4ad9f9){const _0x6f14d7=_0x354fcb;let _0x2db3c6=_0x393153[_0x6f14d7(0x1f9)](),_0x584128=_0x4ad9f9['map'](_0x47b5d8=>this[_0x6f14d7(0x1d4)](_0x2db3c6,_0x1d66a2,_0x47b5d8[_0x6f14d7(0x4bb)],{...Object[_0x6f14d7(0x2e8)](Object['entries'](_0x47b5d8[_0x6f14d7(0x1da)])[_0x6f14d7(0x29b)](([_0x5dcf85,_0x25be6e])=>[_0x5dcf85,this[_0x6f14d7(0x302)](_0x2db3c6,_0x1d66a2,_0x47b5d8['recordId'],_0x5dcf85,_0x25be6e)]))}));return this[_0x6f14d7(0x1dd)]['setRecordValues'](_0x2db3c6,_0x1d66a2,_0x584128);}[_0x354fcb(0x40c)](_0x2c140c,_0x19a31f,_0x93ce33){const _0x45de8f=_0x354fcb;if(!this[_0x45de8f(0x487)]['canCreateRecord'](_0x19a31f))throw Error(_0x45de8f(0x4b7));let _0x3d36b7=_0x2c140c['getSnapshot'](),_0x357efd=this['_createNumberingAllocators'](_0x3d36b7[_0x45de8f(0x2ba)][_0x19a31f]);return this[_0x45de8f(0x1dd)][_0x45de8f(0x4a0)](_0x3d36b7,_0x19a31f,this[_0x45de8f(0x42d)](_0x3d36b7,_0x19a31f,_0x93ce33,_0x357efd));}[_0x354fcb(0x518)](_0xabba5,_0x30e6d1,_0xc0fe8c){const _0x339f8b=_0x354fcb;if(!this[_0x339f8b(0x487)][_0x339f8b(0x280)](_0x30e6d1))throw Error('[BaseCommandService]:\x20cannot\x20create\x20record.');let _0x425088=_0xabba5['getSnapshot']();return I(_0x339f8b(0x23e),()=>{const _0x1fb40f=_0x339f8b;let _0x1f8915=this[_0x1fb40f(0x42e)](_0x425088['tables'][_0x30e6d1]);return this[_0x1fb40f(0x1dd)][_0x1fb40f(0x268)](_0x425088,_0x30e6d1,_0xc0fe8c[_0x1fb40f(0x29b)](_0x490da8=>this['_createRecordWithDefaults'](_0x425088,_0x30e6d1,_0x490da8,_0x1f8915)));},{'existingRecords':Object[_0x339f8b(0x51b)](_0x425088['tables'][_0x30e6d1][_0x339f8b(0x45a)])[_0x339f8b(0x458)],'records':_0xc0fe8c[_0x339f8b(0x458)]});}['createCreateFieldOp'](_0x449389,_0x1d731f,_0x1abb77,_0x3a743d,_0x2bdead){const _0x1d3187=_0x354fcb;if(!this[_0x1d3187(0x487)]['canCreateField'](_0x1d731f))throw Error(_0x1d3187(0x46c));let _0x431b03=_0x449389[_0x1d3187(0x1f9)]();if(this[_0x1d3187(0x3df)](_0x431b03,_0x1abb77),_0x3a743d===0x0)throw Error('[BaseCommandService]:\x20cannot\x20insert\x20a\x20field\x20before\x20record-id.');let _0x1e980e=this['_factory'][_0x1d3187(0x2c0)](_0x431b03,_0x1d731f,{'field':_0x1abb77,'index':_0x3a743d,'viewIndexes':_0x2bdead}),_0x3a5908=this[_0x1d3187(0x365)](_0x431b03,_0x1d731f,_0x1abb77);if(!_0x3a5908[_0x1d3187(0x458)])return _0x1e980e;let _0xd5a6a=this[_0x1d3187(0x493)][_0x1d3187(0x2ad)](_0x431b03,_0x1e980e);return R([_0x1e980e,this['_factory']['setRecordValues'](_0xd5a6a,_0x1d731f,_0x3a5908)]);}[_0x354fcb(0x375)](_0x51f826,_0x4e980e,_0x3805c6){const _0x5475f0=_0x354fcb;if(!this[_0x5475f0(0x487)][_0x5475f0(0x37c)](_0x4e980e,_0x3805c6))throw Error(_0x5475f0(0x2fe));this[_0x5475f0(0x402)](_0x51f826,this[_0x5475f0(0x1dd)]['deleteRecord'](_0x51f826[_0x5475f0(0x1f9)](),_0x4e980e,_0x3805c6));}[_0x354fcb(0x3e5)](_0x2de52a,_0x32bf0f,_0x39d1ee,_0x332642){const _0x269b77=_0x354fcb;if(!this['_permissionService'][_0x269b77(0x280)](_0x32bf0f))throw Error(_0x269b77(0x4b7));this[_0x269b77(0x402)](_0x2de52a,this['_factory'][_0x269b77(0x3e5)](_0x2de52a['getSnapshot'](),_0x32bf0f,_0x39d1ee,{..._0x332642,'values':{..._0x332642[_0x269b77(0x1da)],[_0x3b44b5]:_0x332642['id']}}));}[_0x354fcb(0x229)](_0x35fbe9,_0x4df03a,_0x4d069e,_0x4f7cc2){const _0x24ef2a=_0x354fcb;if(!this['_permissionService']['canEditRecord'](_0x4df03a,_0x4d069e))throw Error(_0x24ef2a(0x3ee));this[_0x24ef2a(0x402)](_0x35fbe9,this['_factory']['updateRecordOrder'](_0x35fbe9[_0x24ef2a(0x1f9)](),_0x4df03a,_0x4d069e,_0x4f7cc2));}[_0x354fcb(0x2c0)](_0x11e555,_0xdc81ea,_0x40ebf3,_0x22fb85,_0x23b8db){const _0x3eb11f=_0x354fcb;this['_apply'](_0x11e555,this[_0x3eb11f(0x20a)](_0x11e555,_0xdc81ea,_0x40ebf3,_0x22fb85,_0x23b8db));}['updateField'](_0x18cb38,_0x5d9f3a,_0x423d24,_0x483b01){const _0x16043a=_0x354fcb;var _0x5e0c35;if(!this[_0x16043a(0x487)][_0x16043a(0x341)](_0x5d9f3a,_0x423d24))throw Error(_0x16043a(0x351));let _0x1de38c=_0x18cb38[_0x16043a(0x1f9)](),_0x1bb796=(_0x5e0c35=_0x1de38c[_0x16043a(0x2ba)][_0x5d9f3a])==null?void 0x0:_0x5e0c35[_0x16043a(0x480)][_0x423d24];if(!_0x1bb796||_0x423d24===_0x3b44b5)throw Error(_0x16043a(0x27d));this[_0x16043a(0x3df)](_0x1de38c,{..._0x1bb796,..._0x483b01}),this[_0x16043a(0x402)](_0x18cb38,this[_0x16043a(0x1dd)][_0x16043a(0x409)](_0x1de38c,_0x5d9f3a,_0x423d24,_0x483b01));}['changeFieldType'](_0x292f35,_0x1cd207,_0x5863e3,_0x458e6a){const _0x45643b=_0x354fcb;var _0xacd85f;if(!this['_permissionService'][_0x45643b(0x341)](_0x1cd207,_0x5863e3))throw Error(_0x45643b(0x351));let _0xd4aaf5=_0x292f35['getSnapshot'](),_0x4e62b2=(_0xacd85f=_0xd4aaf5['tables'][_0x1cd207])==null?void 0x0:_0xacd85f[_0x45643b(0x480)][_0x5863e3];if(!_0x4e62b2||_0x5863e3===_0x3b44b5)throw Error('[BaseCommandService]:\x20cannot\x20change\x20record-id\x20field\x20type.');this[_0x45643b(0x3df)](_0xd4aaf5,{..._0x4e62b2,..._0x458e6a}),this['_apply'](_0x292f35,this[_0x45643b(0x1dd)][_0x45643b(0x2b7)](_0xd4aaf5,_0x1cd207,_0x5863e3,_0x458e6a));}[_0x354fcb(0x21f)](_0x57176a,_0x4403ba,_0xb94338){const _0x24e3e8=_0x354fcb;var _0x313e94;if(((_0x313e94=_0x57176a['getSnapshot']()[_0x24e3e8(0x2ba)][_0x4403ba])==null?void 0x0:_0x313e94[_0x24e3e8(0x4cf)])===_0xb94338||_0xb94338===_0x3b44b5)throw Error('[BaseCommandService]:\x20cannot\x20delete\x20primary\x20field.');if(!this[_0x24e3e8(0x487)][_0x24e3e8(0x2bf)](_0x4403ba,_0xb94338))throw Error('[BaseCommandService]:\x20cannot\x20delete\x20field.');this[_0x24e3e8(0x402)](_0x57176a,this[_0x24e3e8(0x1dd)]['deleteField'](_0x57176a[_0x24e3e8(0x1f9)](),_0x4403ba,_0xb94338));}[_0x354fcb(0x399)](_0x44cab7,_0x394e2f,_0x57fc6f,_0x53a0cb){const _0x1e440c=_0x354fcb;if(!this[_0x1e440c(0x487)][_0x1e440c(0x341)](_0x394e2f,_0x57fc6f))throw Error(_0x1e440c(0x351));if(_0x57fc6f===_0x3b44b5||_0x53a0cb[_0x1e440c(0x381)]===_0x3b44b5)throw Error(_0x1e440c(0x312));this[_0x1e440c(0x402)](_0x44cab7,this[_0x1e440c(0x1dd)][_0x1e440c(0x399)](_0x44cab7['getSnapshot'](),_0x394e2f,_0x57fc6f,_0x53a0cb));}[_0x354fcb(0x446)](_0x308e24,_0x20c275,_0x8d31fb,_0x19983b){const _0x11370c=_0x354fcb;if(!this[_0x11370c(0x487)][_0x11370c(0x459)](_0x20c275,_0x8d31fb['id']))throw Error(_0x11370c(0x465));this[_0x11370c(0x402)](_0x308e24,this[_0x11370c(0x1dd)]['createView'](_0x308e24['getSnapshot'](),_0x20c275,_0x8d31fb,_0x19983b));}['renameView'](_0x14890a,_0xf05c6c,_0x1d5b62,_0x5de984){const _0x18260b=_0x354fcb;if(!this[_0x18260b(0x487)][_0x18260b(0x459)](_0xf05c6c,_0x1d5b62))throw Error('[BaseCommandService]:\x20cannot\x20manage\x20view.');this[_0x18260b(0x402)](_0x14890a,this['_factory']['renameView'](_0x14890a['getSnapshot'](),_0xf05c6c,_0x1d5b62,_0x5de984));}[_0x354fcb(0x3a2)](_0x495806,_0x543fcc,_0x232245){const _0x1c7d01=_0x354fcb;if(!this[_0x1c7d01(0x487)][_0x1c7d01(0x459)](_0x543fcc,_0x232245))throw Error(_0x1c7d01(0x465));this['_apply'](_0x495806,this[_0x1c7d01(0x1dd)][_0x1c7d01(0x3a2)](_0x495806[_0x1c7d01(0x1f9)](),_0x543fcc,_0x232245));}[_0x354fcb(0x24d)](_0x3ef87b,_0x297af0,_0x25bc7a,_0x528d1e){const _0x54ddce=_0x354fcb;if(!this['_permissionService'][_0x54ddce(0x459)](_0x297af0,_0x25bc7a))throw Error('[BaseCommandService]:\x20cannot\x20manage\x20view.');this[_0x54ddce(0x402)](_0x3ef87b,this[_0x54ddce(0x1dd)][_0x54ddce(0x24d)](_0x3ef87b[_0x54ddce(0x1f9)](),_0x297af0,_0x25bc7a,_0x528d1e));}[_0x354fcb(0x4c1)](_0x146e08,_0x3476cb,_0x912879,_0x37ee58){const _0x43aebd=_0x354fcb;if(!this[_0x43aebd(0x487)][_0x43aebd(0x459)](_0x3476cb,_0x912879))throw Error(_0x43aebd(0x465));this[_0x43aebd(0x402)](_0x146e08,this[_0x43aebd(0x1dd)][_0x43aebd(0x4c1)](_0x146e08[_0x43aebd(0x1f9)](),_0x3476cb,_0x912879,_0x37ee58));}[_0x354fcb(0x2de)](_0x3721c1,_0x541c61,_0x1a7d50,_0x519651){const _0x2cdb47=_0x354fcb;if(!this[_0x2cdb47(0x487)][_0x2cdb47(0x459)](_0x541c61,_0x1a7d50))throw Error(_0x2cdb47(0x465));this[_0x2cdb47(0x402)](_0x3721c1,this[_0x2cdb47(0x1dd)][_0x2cdb47(0x2de)](_0x3721c1['getSnapshot'](),_0x541c61,_0x1a7d50,_0x519651));}[_0x354fcb(0x4ff)](_0x57f442,_0x5baa59,_0x12120c,_0xf2a627){const _0x57154c=_0x354fcb;if(!this[_0x57154c(0x487)][_0x57154c(0x459)](_0x5baa59,_0x12120c))throw Error('[BaseCommandService]:\x20cannot\x20manage\x20view.');this[_0x57154c(0x402)](_0x57f442,this[_0x57154c(0x1dd)][_0x57154c(0x4ff)](_0x57f442[_0x57154c(0x1f9)](),_0x5baa59,_0x12120c,_0xf2a627));}[_0x354fcb(0x178)](_0x276d6c,_0x3b5c6d,_0x5aa520,_0xc77251){const _0x50e559=_0x354fcb;if(!this['_permissionService']['canManageView'](_0x3b5c6d,_0x5aa520))throw Error(_0x50e559(0x465));this[_0x50e559(0x402)](_0x276d6c,this[_0x50e559(0x1dd)]['setViewGroup'](_0x276d6c[_0x50e559(0x1f9)](),_0x3b5c6d,_0x5aa520,_0xc77251));}[_0x354fcb(0x4fc)](_0x2eb842,_0x182c91,_0x4a6f,_0x285207,_0x131283){const _0x2ac761=_0x354fcb;if(!this['_permissionService'][_0x2ac761(0x459)](_0x182c91,_0x4a6f))throw Error(_0x2ac761(0x465));this[_0x2ac761(0x402)](_0x2eb842,this['_factory'][_0x2ac761(0x4fc)](_0x2eb842['getSnapshot'](),_0x182c91,_0x4a6f,_0x285207,_0x131283));}['setViewFieldWidth'](_0x5373e6,_0xa7ad5c,_0x313ac7,_0x3212f3,_0x3f08cf){const _0x3d90f3=_0x354fcb;if(!this[_0x3d90f3(0x487)][_0x3d90f3(0x459)](_0xa7ad5c,_0x313ac7))throw Error('[BaseCommandService]:\x20cannot\x20manage\x20view.');this[_0x3d90f3(0x402)](_0x5373e6,this['_factory'][_0x3d90f3(0x175)](_0x5373e6[_0x3d90f3(0x1f9)](),_0xa7ad5c,_0x313ac7,_0x3212f3,_0x3f08cf));}['setViewFieldOrder'](_0x119ebe,_0x452d7b,_0x1166d4,_0x58359b,_0x598b77){const _0x3692ea=_0x354fcb;if(!this[_0x3692ea(0x487)][_0x3692ea(0x459)](_0x452d7b,_0x1166d4))throw Error(_0x3692ea(0x465));this[_0x3692ea(0x402)](_0x119ebe,this[_0x3692ea(0x1dd)][_0x3692ea(0x457)](_0x119ebe[_0x3692ea(0x1f9)](),_0x452d7b,_0x1166d4,_0x58359b,_0x598b77));}[_0x354fcb(0x402)](_0x12960d,_0x43bd4c){const _0xc109b1=_0x354fcb;let _0x261ae7=_0x12960d[_0xc109b1(0x1f9)]();_0x12960d[_0xc109b1(0x2ff)](this['_applier'][_0xc109b1(0x2ad)](_0x261ae7,_0x43bd4c));}[_0x354fcb(0x42d)](_0x58f9c0,_0x30b1c1,_0x32eda5,_0x1b01f2=this[_0x354fcb(0x42e)](_0x58f9c0['tables'][_0x30b1c1])){const _0x1adf00=_0x354fcb;let _0x23572b=_0x58f9c0[_0x1adf00(0x2ba)][_0x30b1c1],_0x2bb687=_0x32eda5[_0x1adf00(0x3d0)]??_0x32eda5[_0x1adf00(0x2e9)]??this[_0x1adf00(0x3a5)](),_0x526022={..._0x32eda5,'createdBy':_0x32eda5[_0x1adf00(0x3d0)]??_0x2bb687,'updatedBy':_0x32eda5[_0x1adf00(0x2e9)]??_0x2bb687,'values':{..._0x32eda5['values']}};return _0x526022['values'][_0x3b44b5]=_0x526022['id'],_0x23572b['fieldOrder'][_0x1adf00(0x461)](_0x591147=>{const _0x57dae7=_0x1adf00;let _0x351e8b=_0x23572b[_0x57dae7(0x480)][_0x591147];if(_0x351e8b&&_0x526022[_0x57dae7(0x1da)][_0x591147]===void 0x0)switch(_0x351e8b[_0x57dae7(0x33a)]){case _0x19bf94['Numbering']:var _0x3619af;_0x526022[_0x57dae7(0x1da)][_0x591147]=((_0x3619af=_0x1b01f2['get'](_0x591147))==null?void 0x0:_0x3619af())??this[_0x57dae7(0x2c7)](_0x23572b,_0x591147)();break;case _0x19bf94['CreatedBy']:_0x526022[_0x57dae7(0x3d0)]&&(_0x526022[_0x57dae7(0x1da)][_0x591147]=_0x526022[_0x57dae7(0x3d0)]);break;case _0x19bf94['UpdatedBy']:_0x526022[_0x57dae7(0x2e9)]&&(_0x526022[_0x57dae7(0x1da)][_0x591147]=_0x526022[_0x57dae7(0x2e9)]);break;case _0x19bf94[_0x57dae7(0x253)]:_0x526022[_0x57dae7(0x1da)][_0x591147]=B(_0x526022[_0x57dae7(0x403)]);break;case _0x19bf94[_0x57dae7(0x347)]:_0x526022['values'][_0x591147]=B(_0x526022[_0x57dae7(0x483)]);break;default:{let _0x24f6dd=_0x351e8b[_0x57dae7(0x241)];_0x24f6dd!=null&&_0x24f6dd!==''&&!(Array[_0x57dae7(0x354)](_0x24f6dd)&&_0x24f6dd['length']===0x0)&&(_0x526022[_0x57dae7(0x1da)][_0x591147]=_0x24f6dd);}}}),_0x526022;}[_0x354fcb(0x1d4)](_0x9230f,_0x12256f,_0x1ae0c4,_0x6db730){const _0x5cf5e2=_0x354fcb;var _0x2f2fd3,_0x278acf;let _0x3b33b0=_0x9230f['tables'][_0x12256f],_0x459d6a=((_0x2f2fd3=(_0x278acf=this[_0x5cf5e2(0x224)])[_0x5cf5e2(0x181)])==null?void 0x0:_0x2f2fd3['call'](_0x278acf))??Date['now'](),_0x2de7e2=this[_0x5cf5e2(0x3a5)](),_0x15ff43={..._0x6db730};return _0x3b33b0['fieldOrder']['forEach'](_0x8b5c59=>{const _0x312e0f=_0x5cf5e2;let _0x4c690a=_0x3b33b0['fields'][_0x8b5c59];_0x4c690a&&(_0x4c690a['type']===_0x19bf94[_0x312e0f(0x347)]&&(_0x15ff43[_0x8b5c59]=B(_0x459d6a)),_0x4c690a[_0x312e0f(0x33a)]===_0x19bf94[_0x312e0f(0x4df)]&&_0x2de7e2&&(_0x15ff43[_0x8b5c59]=_0x2de7e2));}),{'recordId':_0x1ae0c4,'values':_0x15ff43,'recordPatch':{'updatedAt':_0x459d6a,..._0x2de7e2?{'updatedBy':_0x2de7e2}:{}}};}[_0x354fcb(0x365)](_0x5d7579,_0x1ba266,_0x5b33b3){const _0x1cce48=_0x354fcb;let _0x39f67=_0x5d7579[_0x1cce48(0x2ba)][_0x1ba266];return!_0x39f67||!Yr(_0x5b33b3)?[]:_0x5b33b3[_0x1cce48(0x33a)]===_0x19bf94[_0x1cce48(0x469)]?this[_0x1cce48(0x232)](_0x39f67,_0x5b33b3['id']):Object['values'](_0x39f67[_0x1cce48(0x45a)])[_0x1cce48(0x2a2)](_0x169dbc=>{let _0xf09980=this['_getSystemFieldValue'](_0x5b33b3,_0x169dbc);return _0xf09980===void 0x0?[]:[{'recordId':_0x169dbc['id'],'values':{[_0x5b33b3['id']]:_0xf09980}}];});}[_0x354fcb(0x497)](_0x51ef9d,_0x5ac58b){const _0x11b39f=_0x354fcb;switch(_0x51ef9d['type']){case _0x19bf94[_0x11b39f(0x1fe)]:return _0x5ac58b[_0x11b39f(0x3d0)]??this[_0x11b39f(0x3a5)]();case _0x19bf94[_0x11b39f(0x4df)]:return _0x5ac58b[_0x11b39f(0x2e9)]??this[_0x11b39f(0x3a5)]();case _0x19bf94[_0x11b39f(0x253)]:return B(_0x5ac58b['createdAt']??Date[_0x11b39f(0x181)]());case _0x19bf94[_0x11b39f(0x347)]:return B(_0x5ac58b[_0x11b39f(0x483)]??Date[_0x11b39f(0x181)]());default:return;}}[_0x354fcb(0x42e)](_0x44cf28){const _0x4bcd80=_0x354fcb;let _0xcd6472=new Map();return _0x44cf28&&_0x44cf28[_0x4bcd80(0x1e1)][_0x4bcd80(0x461)](_0x4b66e0=>{const _0x3f953c=_0x4bcd80;let _0x42847e=_0x44cf28[_0x3f953c(0x480)][_0x4b66e0];(_0x42847e==null?void 0x0:_0x42847e[_0x3f953c(0x33a)])===_0x19bf94['Numbering']&&_0xcd6472[_0x3f953c(0x1a1)](_0x4b66e0,this['_createNumberingAllocator'](_0x44cf28,_0x4b66e0));}),_0xcd6472;}[_0x354fcb(0x2c7)](_0x18f110,_0x5ddab9){const _0x1960e5=_0x354fcb;let _0x59915c=Object['values'](_0x18f110[_0x1960e5(0x45a)])[_0x1960e5(0x498)]((_0x319dd5,_0x354b7e)=>{const _0x29302d=_0x1960e5;let _0xe9e324=Number(_0x354b7e['values'][_0x5ddab9]);return Number[_0x29302d(0x2c3)](_0xe9e324)?Math[_0x29302d(0x1b3)](_0x319dd5,_0xe9e324):_0x319dd5;},0x0);return()=>String(++_0x59915c);}['_createNumberingFieldValuePatches'](_0x24359c,_0x4f50c3){const _0x393ca1=_0x354fcb;let _0x4c330b=this[_0x393ca1(0x17a)](_0x24359c),_0x5e15d3=this['_createNumberingAllocator'](_0x24359c,_0x4f50c3);return _0x4c330b[_0x393ca1(0x2a2)](_0x20de22=>this[_0x393ca1(0x3c7)](_0x20de22[_0x393ca1(0x1da)][_0x4f50c3])?[]:[{'recordId':_0x20de22['id'],'values':{[_0x4f50c3]:_0x5e15d3()}}]);}[_0x354fcb(0x17a)](_0x591de8){const _0x36b6a7=_0x354fcb;var _0x36b779;let _0x57fbef=Object[_0x36b6a7(0x1da)](_0x591de8[_0x36b6a7(0x45a)]),_0x485b68=new Map(_0x57fbef[_0x36b6a7(0x29b)](_0x174eb0=>[_0x174eb0['id'],_0x174eb0])),_0x5526f8=[],_0x532f91=new Set();(_0x36b779=_0x591de8[_0x36b6a7(0x22d)])==null||_0x36b779['forEach'](_0x4391a3=>{const _0x6d9933=_0x36b6a7;let _0x35c9b5=_0x485b68[_0x6d9933(0x4a8)](_0x4391a3);_0x35c9b5&&(_0x5526f8[_0x6d9933(0x1f3)](_0x35c9b5),_0x532f91[_0x6d9933(0x35e)](_0x4391a3));});let _0x45cb2d=_0x57fbef[_0x36b6a7(0x397)](_0x22f63f=>!_0x532f91[_0x36b6a7(0x23f)](_0x22f63f['id']))[_0x36b6a7(0x3db)]((_0x434672,_0x355457)=>String(_0x434672[_0x36b6a7(0x3ef)]??_0x434672['id'])['localeCompare'](String(_0x355457[_0x36b6a7(0x3ef)]??_0x355457['id']))||_0x434672['id']['localeCompare'](_0x355457['id']));return[..._0x5526f8,..._0x45cb2d];}[_0x354fcb(0x3c7)](_0x246202){const _0x312bd1=_0x354fcb;return _0x246202!=null&&_0x246202!==''&&!(Array[_0x312bd1(0x354)](_0x246202)&&_0x246202[_0x312bd1(0x458)]===0x0);}[_0x354fcb(0x3a5)](){const _0x46a355=_0x354fcb;var _0x373602,_0x170e6f,_0x91153f,_0x1ba55b;return((_0x373602=(_0x170e6f=this[_0x46a355(0x224)])['getCurrentUserId'])==null?void 0x0:_0x373602[_0x46a355(0x331)](_0x170e6f))??((_0x91153f=(_0x1ba55b=this[_0x46a355(0x224)])['getCurrentUser'])==null||(_0x91153f=_0x91153f['call'](_0x1ba55b))==null?void 0x0:_0x91153f[_0x46a355(0x2db)])??void 0x0;}['_normalizeCellValue'](_0x7c134,_0x368a26,_0x3af947,_0x1f8d3d,_0x3a206f){const _0x215bc3=_0x354fcb;var _0xc61542;if(!this[_0x215bc3(0x487)][_0x215bc3(0x1d2)](_0x368a26,_0x3af947,_0x1f8d3d))throw Error(_0x215bc3(0x1a6));let _0x23cac2=(_0xc61542=_0x7c134[_0x215bc3(0x2ba)][_0x368a26])==null?void 0x0:_0xc61542[_0x215bc3(0x480)][_0x1f8d3d];if(!_0x23cac2)throw Error(_0x215bc3(0x1d3)+_0x1f8d3d+'\x22\x20does\x20not\x20exist.');let _0x10bbd9=this[_0x215bc3(0x2c4)]['get'](_0x23cac2[_0x215bc3(0x33a)]);if(_0x23cac2[_0x215bc3(0x401)]||_0x23cac2[_0x215bc3(0x1cb)]||!_0x10bbd9[_0x215bc3(0x43a)](_0x23cac2)[_0x215bc3(0x346)])throw Error('[BaseCommandService]:\x20cannot\x20edit\x20readonly\x20field.');let _0x491e4d=_0x10bbd9[_0x215bc3(0x49f)](_0x3a206f,_0x23cac2),_0x4ecec0=_0x10bbd9[_0x215bc3(0x209)](_0x491e4d,_0x23cac2);if(!_0x4ecec0[_0x215bc3(0x35c)])throw Error(_0x4ecec0[_0x215bc3(0x2d9)]??_0x215bc3(0x43f));let _0x3f3b7c=_0x23cac2[_0x215bc3(0x33a)]===_0x19bf94[_0x215bc3(0x2bd)]?Ve(_0x7c134,_0x23cac2,_0x491e4d):{'valid':!0x0};if(!_0x3f3b7c[_0x215bc3(0x35c)])throw Error(_0x3f3b7c[_0x215bc3(0x2d9)]??_0x215bc3(0x3bb));return _0x491e4d;}[_0x354fcb(0x3df)](_0x16c588,_0x3d75ba){const _0x3b0559=_0x354fcb;if(_0x3d75ba['id']===_0x3b44b5||_0x3d75ba[_0x3b0559(0x33a)]===_0x19bf94[_0x3b0559(0x44f)]||_0x37b436(_0x3d75ba['name']))throw Error(_0x3b0559(0x4c4));let _0x586292=Be(_0x16c588,_0x3d75ba);if(!_0x586292[_0x3b0559(0x35c)])throw Error(_0x586292['reason']??_0x3b0559(0x248));}};qr=X([Y(0x0,Br),Y(0x1,mr)],qr);function Jr(){const _0x2dd760=_0x354fcb;let _0x17c402=new hr();return zn()[_0x2dd760(0x461)](_0x1bc518=>_0x17c402['register'](_0x1bc518)),_0x17c402;}function Yr(_0x489b3a){const _0x425ec8=_0x354fcb;return _0x489b3a[_0x425ec8(0x33a)]===_0x19bf94[_0x425ec8(0x469)]||_0x489b3a[_0x425ec8(0x33a)]===_0x19bf94[_0x425ec8(0x1fe)]||_0x489b3a[_0x425ec8(0x33a)]===_0x19bf94['UpdatedBy']||_0x489b3a[_0x425ec8(0x33a)]===_0x19bf94[_0x425ec8(0x253)]||_0x489b3a[_0x425ec8(0x33a)]===_0x19bf94[_0x425ec8(0x347)];}function _0x2357(){const _0x337978=['_setViewFieldSetting','[BaseCommandService]:\x20invalid\x20cell\x20value.','Date','_buildGallery','false','-view-grid','lastIndexOf','normal','createView','updatePermissionPoint','getInstance','stringify','_fieldPermissions','Parent\x20Items','_hierarchyIndexCache','_disposed','\x20must\x20have\x20a\x20valid\x20CSS\x20color.','RecordId','getUTCMonth','symbol','getUTCDay','Copy','LAST_WEEK','getProjection','_projectedViewRowsCache','setViewFieldOrder','length','canManageView','records','star','https:','base.command.ensure-base-temporal-view-date-fields','base.mutation.set-permission-rule','field/','_findCalendarDateFieldId','forEach','\x22\x20does\x20not\x20exist.','Edit','Gantt\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','[BaseCommandService]:\x20cannot\x20manage\x20view.','_capabilities','exec','true','Numbering','fld-','base.command.delete-base-field','[BaseCommandService]:\x20cannot\x20create\x20field.','[BasePerf]\x20','fieldId','Attachment','\x20must\x20have\x20a\x20non-empty\x20id.','string','Kanban\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','size','rowId','STRING','dateFormat','\x20permission\x20denied.','#3b82f6','Export','_configService','SelfParent','#BFDBFE','splice','attachmentSets','Base\x20edit\x20permission\x20denied.','fields','canEditTable','_normalizeGanttDisplayColor','updatedAt','fieldSettings','viewIndexes','AFTER','_permissionService','_fastSortRows','PAST_7_DAYS','387000MYvFjX','base.command.update-base-field','Todo','IS_NOT','base.command.move-base-view','projection','rows','ruleId','invalidGroupField','_applier','Table','7fdUiRV','_removeSuperTables','_getSystemFieldValue','reduce','attachments','[BaseProjectionService]:\x20missing\x20view\x20\x22','check','$1\x20','custom','setFieldPermission','normalize','createRecord','__UNIVER_BASE_PERF__','dependencyFieldId','_deleteAttachmentResources','_resolveGalleryCardFieldIds','notContains',',,,\x22B\x22','invalidField','get','_buildKanban','progressFieldId','[BaseCommandService]:\x20cannot\x20delete\x20table.','_viewPermissions','End\x20date','univer.basePerf','clearBasePermission','Clear','Calendar\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','_initDependencies','base.command.move-base-field','fieldIndex','join','clear','[BaseCommandService]:\x20cannot\x20create\x20record.','recordPatch','_materializeGroups','BaseProjection.getProjection','recordId','localeCompare','False','timeslotSize','missingField','_resolveKanbanCoverFieldId','updateViewConfig','unitWidth','_config','[BaseCommandService]:\x20record-id\x20is\x20reserved.','Rating','syncExecuteCommand','remote','indexOf','[BaseField]:\x20negative\x20numbers\x20are\x20disabled.','subtreeEndIndex','_getStructureDirtyTableIds','optionSource','source','Kanban','primaryFieldId','_setAttachmentResources','repeat','text','currencySymbol','columnSettings','Import','base.mutation.apply-base-json1','contains','deleteTable','YESTERDAY','usableAsGanttStart','Link','fromPlainText','from','rowIndexById','UpdatedBy','attachmentSet','\x20has\x20unsupported\x20operator\x20\x22','selfParent','[RecordLink]:\x20target\x20record\x20\x22','tableName','emitPermissionDenied','@univerjs-pro/bases','_ganttBarColor','Calendar','General','_formulaCalculationTriggerService','cell','protocol','allowDangling','direction','BaseField','getAllBases','toLowerCase','_globalRevision','base.command.update-base-record-order','delete','locale','_projectedGroupsCache','MM/DD/YYYY','coverFieldId','Gallery\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','base.command.create-base-view','NumberFormat','setViewFieldVisible','bases-exchange-client.operation.export-base','record/','setViewSort','createTable','includeTime','_isGanttDateField','getOwnPropertyDescriptor','Uncategorized','unique','saveMany','BASE','base.command.update-base-view-config','deletePermissionPoint','columns','Ids','getUTCFullYear','timeZone','-field-name','unitData','card','setRangeValues','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','table','[BaseViewRegistryService]:\x20view\x20type\x20\x22','getSuperTableRegistrations','base.command.update-base-cell','_cellRevisions','createBatchCreateRecordsOp','pushUndoRedo','hierarchy','keys','numfmt','createDeleteRecordsUndoOp','invalidateByOp','recordIds','invalidateByCell','isNot','colorFieldId','data','medium','childType','operand','base.command.set-base-range-values','setRecordPermission','10722330ytZByh','BaseView','record','CreateView','duplicate','_applyFormulaResult','diffValue','Unchecked','getMonth','manual','True','endDateFieldId','[BaseCommandService]:\x20cannot\x20edit\x20table.','MissingRecord','_recordIds','setViewFieldWidth','BOOLEAN','pattern','setViewGroup','base.command.batch-delete-base-records','_getOrderedRecords','base.command.delete-base-record','Gallery','A\x20table\x20with\x20this\x20name\x20already\x20exists.','scale','_rememberTable','_getJson1DirtyData','now','raw','findIndex','EXACT','base.view-registry.service','lastIndex','_buildGrid',':start','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).','action','Table\x20name\x20is\x20required.','base-perf-','allowMultiple','depth','_registeredSuperTableNames','color','start','slice','rule','_resolveKanbanGroupFieldId','[BaseCompression]:\x20unsupported\x20compressed\x20payload\x20kind\x20\x22','[BaseFieldRegistryService]:\x20field\x20type\x20\x22','descendPath','_sortRows','duplicateField','setRecordValues','month','Currency','autoIncrement','Checkbox','base.command.create-base-field','_getKanbanConfiguredLanes','set','MissingParent','orderedRecordIds','[BaseFormula]:\x20field\x20\x22','pop','[BaseCommandService]:\x20cannot\x20edit\x20cell.','_kanbanGroupKeys','h24','Checked','registerRuleModel','targetTableId','YYYY/MM/DD','trigger','BaseJson1.json1Apply','_clearObjectEdit','Failed\x20to\x20create\x20update\x20cell\x20operation:','parentRecordId','_groupsCacheKey','max','disposeWithMe','rootRecordIds','every','long','_injector','group','Progress','getDependencies','patches','_initialize','renameTable','beforeCommandExecuted','base-range-values-v1','descend','validateFormula','tableId','measure','split','codePointAt','url','gridViewId','getPermissionPoint','_filterRows','system','getUTCDate','yyyy/mm/dd','hidden','cellData','BaseTable','base.command.duplicate-base-field','canEditCell','[BaseCommandService]:\x20field\x20\x22','_withModifiedSystemValues','en-US','_viewRowsCacheKey','_clearUnit','base.command.set-base-record-values','showFieldNames','values','edit','BaseRecord','_factory','resolvedOptions','Status','name','fieldOrder','entries','#14b8a6','cellRevision','Person','exceptions','limit','kind','displayFieldId','col','lessThanOrEqual','_baseSyncDisposables','renameFormulaUnitReferences','_cacheKey','_isCalendarDateField','conditional','\x22\x20must\x20be\x20a\x20same-table,\x20single-value\x20RecordLink.','_viewRevisionKey','push','BASE_OBJECT_PERMISSION_PLUGIN','base.command.set-base-view-filter','base.command.batch-create-base-records','_tableBaseIds','[BaseJson1OpFactory]:\x20cannot\x20move\x20a\x20field\x20before\x20record-id.','getSnapshot','_canEdit','compose','week','invertWithDoc','CreatedBy','setConfig','subType','UNIVER_BASE','_getCachedProjection','_recordPermissions','objectType','[BaseField]:\x20invalid\x20person\x20value.','error','insertOp','_onCommandExecuted','validate','createCreateFieldOp','user','quarter','_setCachedProjection','invalid','_formulaSyncQueue','canEditRecord','params','lessThan','createViewId','\x20references\x20missing\x20or\x20non-public\x20field\x20\x22','multiple','base.viewType.gallery','undefined','average','date','invalidateByView','row','hourCycle','1181502QRUPLq','BaseProjection.filterAndSortRows','deleteField','path','_setFormulaFieldCells','COLUMN','Group','_runtimeContext','objectId','weekdays','fieldIds','maxDepth','updateRecordOrder','setBaseName','createUpdateCellOp','sum','recordOrder','includeRecords','find','_normalizeGanttConfig','includes','_createNumberingFieldValuePatches','finally','calendar','test','workingDays','dashboard/','manageView','getBase','formula','GREATER_THAN','[RecordLink]:\x20target\x20table\x20does\x20not\x20exist\x20in\x20this\x20Base.','toFixed','BaseCommand.createBatchCreateRecordsOp','has','startDateFieldId','defaultValue','colId','invalidReasonByRecordId','_isAllDayGanttDateRange','repairViewConfig','removeOp','clearUnit','[BaseCommandService]:\x20invalid\x20field\x20definition.','showTodayLine','format','_replaceOptional','_deleteRecordsBaseOp','moveView','forValue','_findKanbanGroupField','index','MUTATION','_plugins','CreatedAt','startsWith','TOMORROW','number','some','_setObjectEdit','_getHierarchyIndex','_executeSuperTableMutationWhileActive','base.command.delete-base-view','attachment','HH:mm','iterator','base.command.','executeCommand','remove','_rowTransformCacheSegment','[BaseHierarchy]:\x20','Redo','sortedView','width','greaterThan','createRecords','object','empty','primaryFieldName','spaceComma','globalRevision','column','create-view','Cycle','Number','_kanbanLaneTitle','base.field-registry.service','relationRole','getTypeOfUnitDisposed$','_groupCellInvalidations','allowNegative','unitId',',,\x22M\x22','attachment-','afterFieldId','\x20can\x20use\x20dateMode\x20only\x20with\x20Date,\x20CreatedAt,\x20or\x20UpdatedAt\x20fields.','[BaseCommandService]:\x20cannot\x20edit\x20record-id.','createRegExpFromSafeFragment','Add','canCreateRecord','label','recordNamePrefix','MultiSelect','toPlainText','base.command.create-base-table','code','_dataSyncPrimaryController','colIndex','base.command.set-base-view-field-order','base.viewType.calendar','field','_resolveCardTitleFieldId','separatorStyle','pickerFieldIds','cardLayout','rowIndex','_patchCachedProjectedRows','REMOTE_BASES_PLUGIN','canCreateField','_enqueueFormulaSync','facade','packageName','_formulaService','setTablePermission','_cellInvalidations','base.command.set-base-view-field-width','map','_registerUnitPermissionPoints','_T_','_resolveBaseId','redo','_viewRevisions','[BaseCommandService]:\x20cannot\x20create\x20table.','flatMap','this-row','_getTablesToNormalize','_canUseFastSort','_projectedRowsCache','bases.fieldConfig.linkPlaceholder','getFullYear','ena','invertOp','changed','Phone','applyOp','getTypeOfUnitAdded$','filled','\x20has\x20unsupported\x20date\x20mode\x20\x22','replace','_bumpTableRevision','_getTable','syncUnit','_views','defineProperty','changeFieldType','_cellInvalidationsTouchFields','getAffectedRanges','tables','[BaseCompression]:\x20invalid\x20uncompressed\x20range\x20values\x20payload.','off','RecordLink','createSetRecordValuesOp','canDeleteField','createField','resolve','pluginName','isFinite','_fieldRegistry','spacePeriod','THIS_WEEK','_createNumberingAllocator','fieldName','\x22\x20with\x20field\x20type\x20\x22','baseRows','NEXT_7_DAYS','h12','kanban','useThousands','_instanceService','_buildCalendar','strategies','snapshot','option-','base.command.update-base-kanban-config','onStarting','day','conjunction','score','reason','addPermissionPoint','userID','ascend','[BaseHierarchy]:\x20field\x20\x22','setViewFilter','view','NEXT_30_DAYS','usableAsGanttEnd','_tableRevisions','table/','BEFORE','getUnit','240390EOLHYe','assign','fromEntries','updatedBy','short','base.mutation.','flat','5hlDvIn','_commandService','compress','exception-','toLocaleString','[BaseJson1OpFactory]:\x20cannot\x20write\x20record-id.','[BaseField]:\x20invalid\x20email\x20value.','register','[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20','beforeViewId','abs','_scheduleSuperTableSync','base.command.set-base-view-sort','base.command.duplicate-base-record','IBaseCellData.ensureTableCellLayout','_initCommands','_projectionCache','[BaseCommandService]:\x20cannot\x20delete\x20record.','setSnapshot','person','COMMAND','_normalizeCellValue','hostAnchorId','save','deleteRecords','tableRevision','majorHeaders','IS_EMPTY','conditions','revision','small','_applyingFormulaResults','oldParentRecordId','setRules','subscribe','createSuperTableReference','[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20at\x20index\x20','[BaseCommandService]:\x20cannot\x20move\x20a\x20field\x20before\x20record-id.','[UpdateBaseViewConditionalColorRulesCommand]:\x20rules\x20must\x20be\x20an\x20array.','createUnit','_resolveKanbanCardFieldIds','base.viewType.gantt','_materializeFormulaTableNames','Base','major-','base.command.set-base-view-field-visible','mode','embed-ui','onCommandExecuted','FORCE_STRING','selectField','operator','DESC','tryMaterializeSnapshot','6jzmXdX','base.command.create-base-child-record','general','displayColor',':end','_patchProjectedRowsForCellInvalidations','level','thread-comment.command.','prototype','search','_projectTableRows','_isAllowedKanbanGroupField','1340IGTckn','_buildGantt','call','blue','replaceOp','FieldId','exists','PAST_30_DAYS','_isKanbanGroupField','write','UNIVER_EMBED_BASES_TABLE','type','missingRecord','basePerf','cardSize','childUnitId','CONTAINS','unshift','canEditField','config','WriteCursor','Undo','titleFieldId','editable','UpdatedAt','createBase','toString','_normalizeCalendarConfig','Base\x20','NOT_CONTAINS','Email','BaseProjection.projectGroups','795392LoMFsy','Empty','[BaseCommandService]:\x20cannot\x20edit\x20field.','canCreateTable','import','isArray','deepClone','abbreviation','formulaName','resources','doing','_basePermissions','Base\x20object\x20permissions\x20only\x20support\x20Edit:\x20','valid','min','add','_initRegistries','usableAsCardCover','_scheduledSuperTableSyncs','_getTableRevision','cycle','boolean','_createSystemFieldValuePatches','viewId','version','base.command.move-base-hierarchy-record','displayText','Comment','_formulaCalculationSessionService','rules','Name','parentByRecordId','_normalizeGalleryConfig','renameView','\x22\x20is\x20not\x20registered.','status','description','Text','deleteRecord','_getAllBaseDependencyTreeCacheMap','year','-record-','invalidGanttEndField','BaseJson1.cloneForOp','registerView','canDeleteRecord','unknown','undo','children','_syncSuperTables','beforeFieldId','fromCollab','_getViewRevision','_syncBaseUnit','_canEditTable','UTC','Start\x20date','Grid','function','groupFieldId','views','editCell','[BaseField]:\x20invalid\x20progress\x20value.','info','fromChangeset','MMM\x20D,\x20YYYY','afterViewId','options','base.command.create-base-record','[BaseField]:\x20invalid\x20date\x20value.','_matchesGanttColorRule','clearTablePermission','filter','parentFieldName','moveField','compare','workingDaysOnly','order','isInteger','embedId','[BaseFormula]:\x20validation\x20parameters\x20are\x20required.','Parent','#FDE68A','deleteView','_projectGroups','base-snapshot-v1','_getCurrentUserId','BaseJson1.normalizeTables','_initDataSync','BaseProjection.projectTableRows','setPoint','\x20has\x20unsupported\x20target\x20\x22','bases.fieldConfig.textPlaceholder','default','SortedView','A\x20table\x20name\x20cannot\x20start\x20or\x20end\x20with\x20an\x20apostrophe.','frozenFieldCount','gantt','_getAllTableIds','bases.remote.config','DD/MM/YYYY','base-perf','isNaN','_groupConfigCacheSegment','_kanbanLaneColor','getAllPermissionPoint','thread-comment.mutation.','title','[BaseCommandService]:\x20invalid\x20RecordLink\x20value.','trim','[BaseField]:\x20invalid\x20multi-value\x20reference.','_calendarEventColor','_toDirtyRangePatch','\x22\x20must\x20be\x20a\x20non-system\x20field\x20in\x20the\x20target\x20table.','canDeleteTable','getStructuredDependencies','#,##0','getAllUnitsForType','then','getTypePlugin','_isNonEmptyCellValue','changes','initializeUnit','MaxDepth','isEmpty','[BaseFormula]:\x20A1\x20references\x20and\x20ranges\x20are\x20not\x20supported\x20in\x20Base\x20formulas.','policy','end','\x22\x20does\x20not\x20exist.\x20Use\x20FBaseTable.getFormulaName()\x20or\x20getSchema().formulaName\x20for\x20structured\x20references.','createdBy','target','Delete','_groupProjectionFieldIds','clearViewPermission','_isColorfulKanbanGroupField','dispose','IS_NOT_EMPTY','registerCommand','href','Gantt','sort','_resolveCalendarDateFieldId','base.mutation.set-permission-rules','Done','_assertFieldDefinition','none','commaPeriod','Remote','tableOrder','INIT','duplicateRecord','updateCell','conditionalColoring','leftPaneCollapsed','\x22\x20is\x20referenced\x20by\x20','[RecordLink]:\x20value\x20must\x20be\x20a\x20canonical\x20string.','base.command.set-permission','[RecordLink]:\x20value\x20is\x20not\x20a\x20canonical\x20record\x20id\x20list.','getUnitType','[BaseCommandService]:\x20cannot\x20edit\x20record.','orderKey','valueOf','base.command.change-base-field-type','key','decorate','focusUnit','count','getTime','h:mm\x20a','viewOrder','BaseDashboard','usableAsCalendarDate','_resolveGalleryCoverFieldId','nodes','regenerateViewIds','1.2.0','depthByRecordId','matchAll','readonly','_apply','createdAt','[RecordLink]:\x20a\x20single\x20link\x20accepts\x20only\x20one\x20record\x20id.','Formula','result','SingleSelect','#,##0.00','updateField','local','round','createCreateRecordOp','base.command.update-base-view-conditional-color-rules','decimalPlaces','_projectRows','http:','_resolveGanttDateFieldId','108438dgwhTS','\x20cannot\x20use\x20operator\x20\x22','done','_tablePermissions','value','LAST_MONTH','[BaseCompression]:\x20invalid\x20compressed\x20payload\x20\x22','_activeDirtyManagerService','_check','formatToParts','toPrimitive','Doing','all','#16a34a','InvalidField','leftPaneWidth','getUnitId','_getCellRevision','endsWith','periodComma','NUMBER','_filterSortFieldIds','groups','Date1900','1500984rNkvqE','invalidateByField','invalid-characters','_createRecordWithDefaults','_createNumberingAllocators','hasOwnProperty','_projectFields','_title','_univerInstanceService','base.command.rename-base-view','registerCtorForType','createDefaultConfig','[RecordLink]:\x20field\x20config\x20is\x20invalid.','members','delete-view','base.fieldType.','getCapabilities','dateMode','_normalizeCalendarDisplayColor','too-long'];_0x2357=function(){return _0x337978;};return _0x2357();}const Xr=new Set([_0x19bf94[_0x354fcb(0x1ba)],_0x19bf94[_0x354fcb(0x4c5)],_0x19bf94[_0x354fcb(0x19e)]]);function Zr(_0x4778b1){const _0x47b5ef=_0x354fcb;let _0x10ff0f=_0x4778b1['fields'][_0x4778b1[_0x47b5ef(0x4cf)]];if((!_0x10ff0f||_0x10ff0f[_0x47b5ef(0x1cb)]!==!0x0&&_0x10ff0f['id'][_0x47b5ef(0x4f1)]()!=='id'&&_0x10ff0f[_0x47b5ef(0x1e0)][_0x47b5ef(0x3bc)]()[_0x47b5ef(0x4f1)]()!=='id')&&_0x10ff0f)return _0x10ff0f['id'];for(let _0x4eb0c0 of _0x4778b1[_0x47b5ef(0x1e1)]){let _0x51d820=_0x4778b1['fields'][_0x4eb0c0];if(_0x51d820&&_0x51d820['id']!==_0x4778b1[_0x47b5ef(0x4cf)]&&_0x51d820[_0x47b5ef(0x1cb)]!==!0x0&&_0x51d820['type']!==_0x19bf94[_0x47b5ef(0x44f)])return _0x51d820['id'];}return _0x4778b1[_0x47b5ef(0x4cf)];}function Qr(_0x238677,_0x37bfa3=[],_0x43ade3=0x5){const _0x229bf1=_0x354fcb;let _0x3d1cd8=new Set(_0x37bfa3[_0x229bf1(0x397)](_0x194139=>!!_0x194139)),_0x3cc58b=[],_0x3c7d62=[];for(let _0x453103 of _0x238677[_0x229bf1(0x1e1)]){let _0x1df681=_0x238677['fields'][_0x453103];_0x1df681&&_0x1df681[_0x229bf1(0x1cb)]!==!0x0&&_0x1df681['type']!==_0x19bf94[_0x229bf1(0x44f)]&&!_0x3d1cd8['has'](_0x1df681['id'])&&(Xr['has'](_0x1df681[_0x229bf1(0x33a)])?_0x3cc58b:_0x3c7d62)[_0x229bf1(0x1f3)](_0x1df681['id']);}return[..._0x3cc58b,..._0x3c7d62][_0x229bf1(0x192)](0x0,_0x43ade3);}function $r(){const _0x1f0379=_0x354fcb;return[{'type':_0x2b4a2c[_0x1f0379(0x388)],'i18nKey':'base.viewType.grid','createDefaultConfig':()=>({}),'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{throw Error('Grid\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.');}},{'type':_0x2b4a2c['Kanban'],'i18nKey':'base.viewType.kanban','createDefaultConfig':_0x3c0724=>{const _0x29251b=_0x1f0379;let _0x8b937a=ei(_0x3c0724);return{'groupFieldId':_0x8b937a,'coverFieldId':null,'cardLayout':'normal','showFieldNames':!0x0,'fieldSettings':{},'columnSettings':{},'card':{'titleFieldId':_0x3c0724['primaryFieldId'],'fieldIds':Qr(_0x3c0724,[_0x3c0724[_0x29251b(0x4cf)],_0x8b937a])}};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x17ec78=_0x1f0379;throw Error(_0x17ec78(0x472));}},{'type':_0x2b4a2c[_0x1f0379(0x4e8)],'i18nKey':_0x1f0379(0x28a),'createDefaultConfig':_0x2b624a=>{const _0x37478d=_0x1f0379;let _0x3eb9ae=ti(_0x2b624a);return{'startDateFieldId':_0x3eb9ae,'endDateFieldId':ni(_0x2b624a,_0x3eb9ae),'titleFieldId':_0x2b624a['primaryFieldId'],'mode':_0x37478d(0x19b),'timeslotSize':'medium','timeZone':_0x37478d(0x40a),'displayColor':{'type':_0x37478d(0x49d),'color':_0x37478d(0x478)},'fieldSettings':{}};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x3167e9=_0x1f0379;throw Error(_0x3167e9(0x4b1));}},{'type':_0x2b4a2c[_0x1f0379(0x3da)],'i18nKey':_0x1f0379(0x316),'createDefaultConfig':_0x1d2e35=>{const _0x2f3905=_0x1f0379;let _0xfc90c4=ti(_0x1d2e35);return{'startDateFieldId':_0xfc90c4,'endDateFieldId':ni(_0x1d2e35,_0xfc90c4)??_0xfc90c4,'titleFieldId':_0x1d2e35[_0x2f3905(0x4cf)],'scale':'month','showTodayLine':!0x0,'displayColor':{'type':_0x2f3905(0x49d),'color':_0x2f3905(0x1e3)},'fieldSettings':{},'workingDaysOnly':!0x1};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x14b5ac=_0x1f0379;throw Error(_0x14b5ac(0x464));}},{'type':_0x2b4a2c[_0x1f0379(0x17c)],'i18nKey':_0x1f0379(0x216),'createDefaultConfig':_0x1fdfd5=>{const _0x23ccbd=_0x1f0379;let _0x4f4bbc=Zr(_0x1fdfd5);return{'coverFieldId':null,'cardLayout':_0x23ccbd(0x445),'showFieldNames':!0x0,'fieldSettings':{},'card':{'titleFieldId':_0x4f4bbc,'coverFieldId':null,'fieldIds':Qr(_0x1fdfd5,[_0x4f4bbc,_0x1fdfd5[_0x23ccbd(0x4cf)]])},'cardSize':_0x23ccbd(0x524)};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x163dad=_0x1f0379;throw Error(_0x163dad(0x4f9));}}];}function ei(_0x36e05f){const _0x30c78c=_0x354fcb;var _0x5f0dbb,_0x3872b7,_0x1686d1;let _0x107ea1=_0x36e05f[_0x30c78c(0x1e1)]['map'](_0x5146d0=>_0x36e05f[_0x30c78c(0x480)][_0x5146d0])[_0x30c78c(0x397)](_0x3451cf=>!!_0x3451cf);return((_0x5f0dbb=_0x107ea1['find'](_0x24244e=>_0x24244e['type']===_0x19bf94[_0x30c78c(0x407)]||_0x24244e['type']===_0x19bf94[_0x30c78c(0x283)]||_0x24244e[_0x30c78c(0x33a)]===_0x19bf94[_0x30c78c(0x223)]))==null?void 0x0:_0x5f0dbb['id'])??((_0x3872b7=_0x107ea1[_0x30c78c(0x22f)](_0x504ac0=>_0x504ac0[_0x30c78c(0x33a)]===_0x19bf94['Text']))==null?void 0x0:_0x3872b7['id'])??((_0x1686d1=_0x107ea1[_0x30c78c(0x22f)](_0x4497ab=>_0x4497ab['type']===_0x19bf94[_0x30c78c(0x440)]||_0x4497ab['type']===_0x19bf94['CreatedAt']||_0x4497ab[_0x30c78c(0x33a)]===_0x19bf94[_0x30c78c(0x347)]))==null?void 0x0:_0x1686d1['id'])??_0x36e05f[_0x30c78c(0x4cf)];}function ti(_0x459957){const _0xbf53c2=_0x354fcb;var _0xd007f3;return((_0xd007f3=_0x459957[_0xbf53c2(0x1e1)][_0xbf53c2(0x29b)](_0x4e3a97=>_0x459957[_0xbf53c2(0x480)][_0x4e3a97])[_0xbf53c2(0x22f)](ri))==null?void 0x0:_0xd007f3['id'])??'';}function ni(_0xe011d3,_0xf1542){const _0x267369=_0x354fcb;var _0xf575e1;return(_0xf575e1=_0xe011d3[_0x267369(0x1e1)][_0x267369(0x29b)](_0x30b005=>_0xe011d3['fields'][_0x30b005])['find'](_0x42944d=>ri(_0x42944d)&&_0x42944d['id']!==_0xf1542))==null?void 0x0:_0xf575e1['id'];}function ri(_0x456cd5){const _0x5b1db5=_0x354fcb;return!!_0x456cd5&&_0x456cd5[_0x5b1db5(0x33a)]===_0x19bf94[_0x5b1db5(0x440)]&&_0x456cd5[_0x5b1db5(0x401)]!==!0x0&&_0x456cd5['system']!==!0x0;}const ii=_0x5d0ae0('base.projection.service'),ai=new Set([_0x19bf94[_0x354fcb(0x271)],_0x19bf94[_0x354fcb(0x19c)],_0x19bf94['Progress'],_0x19bf94[_0x354fcb(0x4c5)],_0x19bf94[_0x354fcb(0x440)],_0x19bf94[_0x354fcb(0x253)],_0x19bf94['UpdatedAt'],_0x19bf94[_0x354fcb(0x19e)]]),oi=0x5265c00;let si=class extends _0x1589db{constructor(_0x33e195){const _0x4cdff4=_0x354fcb;super(),this['_fieldRegistry']=_0x33e195,G(this,_0x4cdff4(0x2b5),new Map()),G(this,_0x4cdff4(0x2fd),new WeakMap()),G(this,'_projectedRowsCache',new Map()),G(this,_0x4cdff4(0x456),new Map()),G(this,_0x4cdff4(0x4f6),new Map()),G(this,_0x4cdff4(0x44c),new Map()),G(this,'_globalRevision',0x0),G(this,_0x4cdff4(0x2e2),new Map()),G(this,_0x4cdff4(0x517),new Map()),G(this,_0x4cdff4(0x299),new Map()),G(this,_0x4cdff4(0x2a0),new Map());}[_0x354fcb(0x37b)](_0x1a11a3){const _0x5eb94d=_0x354fcb;return this['_views']['set'](_0x1a11a3[_0x5eb94d(0x33a)],_0x1a11a3),_0x5b4066(()=>this[_0x5eb94d(0x2b5)][_0x5eb94d(0x4f4)](_0x1a11a3['type']));}[_0x354fcb(0x455)](_0x1ab8c6,_0x22a20f,_0xde52f6){const _0x8c2891=_0x354fcb;var _0x2c4748,_0x3509bf,_0x53debf;return I(_0x8c2891(0x4ba),()=>{const _0x8ef8e6=_0x8c2891;let _0x300e95=this[_0x8ef8e6(0x202)](_0x1ab8c6,_0x22a20f,_0xde52f6);if(_0x300e95)return _0x300e95;let _0x4133ef=_0x1ab8c6[_0x8ef8e6(0x2ba)][_0x22a20f],_0x286ce8=_0x4133ef==null?void 0x0:_0x4133ef[_0x8ef8e6(0x38b)][_0xde52f6];if(!_0x4133ef||!_0x286ce8)return this['_setCachedProjection'](_0x1ab8c6,_0x22a20f,_0xde52f6,{'type':_0x8ef8e6(0x20e),'viewType':(_0x286ce8==null?void 0x0:_0x286ce8[_0x8ef8e6(0x33a)])??_0x2b4a2c[_0x8ef8e6(0x388)],'reason':_0x8ef8e6(0x4bf)});let _0x3f2aea;switch(_0x286ce8[_0x8ef8e6(0x33a)]){case _0x2b4a2c['Grid']:_0x3f2aea=this[_0x8ef8e6(0x187)](_0x4133ef,_0x286ce8);break;case _0x2b4a2c[_0x8ef8e6(0x3da)]:_0x3f2aea=this[_0x8ef8e6(0x330)](_0x4133ef,_0x286ce8);break;case _0x2b4a2c['Kanban']:_0x3f2aea=this[_0x8ef8e6(0x4a9)](_0x4133ef,_0x286ce8);break;case _0x2b4a2c['Calendar']:_0x3f2aea=this[_0x8ef8e6(0x2d0)](_0x4133ef,_0x286ce8);break;case _0x2b4a2c['Gallery']:_0x3f2aea=this[_0x8ef8e6(0x441)](_0x4133ef,_0x286ce8);break;default:_0x3f2aea={'type':'invalid','viewType':_0x286ce8[_0x8ef8e6(0x33a)],'reason':_0x8ef8e6(0x4bf)};}return this[_0x8ef8e6(0x20d)](_0x1ab8c6,_0x22a20f,_0xde52f6,_0x3f2aea);},{'tableId':_0x22a20f,'viewId':_0xde52f6,'viewType':(_0x2c4748=_0x1ab8c6[_0x8c2891(0x2ba)][_0x22a20f])==null||(_0x2c4748=_0x2c4748[_0x8c2891(0x38b)][_0xde52f6])==null?void 0x0:_0x2c4748[_0x8c2891(0x33a)],'records':((_0x3509bf=_0x1ab8c6['tables'][_0x22a20f])==null||(_0x3509bf=_0x3509bf[_0x8c2891(0x22d)])==null?void 0x0:_0x3509bf['length'])??Object[_0x8c2891(0x51b)](((_0x53debf=_0x1ab8c6[_0x8c2891(0x2ba)][_0x22a20f])==null?void 0x0:_0x53debf['records'])??{})[_0x8c2891(0x458)]});}[_0x354fcb(0x245)](_0x42df31,_0x348e50,_0x331b93){const _0x161a71=_0x354fcb;var _0x4880c5,_0x166ed3,_0x2de594;let _0x4b855a=_0x42df31[_0x161a71(0x2ba)][_0x348e50],_0x3575f9=_0x4b855a==null?void 0x0:_0x4b855a['views'][_0x331b93];if(!_0x4b855a||!_0x3575f9)throw Error(_0x161a71(0x49a)+_0x331b93+'\x22.');let _0x5c693c=_0x105a18=>!!_0x4b855a['fields'][_0x105a18],_0x28b6c2={..._0x3575f9,'filter':_0x3575f9[_0x161a71(0x397)]?{..._0x3575f9[_0x161a71(0x397)],'conditions':_0x3575f9[_0x161a71(0x397)][_0x161a71(0x309)][_0x161a71(0x397)](_0x2955ee=>_0x5c693c(_0x2955ee[_0x161a71(0x46e)]))}:_0x3575f9['filter'],'sort':(_0x4880c5=_0x3575f9[_0x161a71(0x3db)])==null?void 0x0:_0x4880c5[_0x161a71(0x397)](_0x2cf25a=>_0x5c693c(_0x2cf25a[_0x161a71(0x46e)])),'group':(_0x166ed3=_0x3575f9[_0x161a71(0x1b9)])==null?void 0x0:_0x166ed3['filter'](_0x1fa4ce=>_0x5c693c(_0x1fa4ce['fieldId'])),'fieldOrder':(_0x2de594=_0x3575f9[_0x161a71(0x1e1)])==null?void 0x0:_0x2de594['filter'](_0x5c693c),'fieldSettings':Object[_0x161a71(0x2e8)](Object[_0x161a71(0x1e2)](_0x3575f9[_0x161a71(0x484)]??{})[_0x161a71(0x397)](([_0x224bee])=>_0x5c693c(_0x224bee)))};if(_0x28b6c2[_0x161a71(0x33a)]===_0x161a71(0x2cd)){var _0x211c41;let _0x1f9ec6=_0x28b6c2[_0x161a71(0x342)]??{},_0x48ff08=this[_0x161a71(0x194)](_0x4b855a,_0x28b6c2),_0x3dffcb=this[_0x161a71(0x28c)](_0x4b855a,(_0x211c41=_0x1f9ec6[_0x161a71(0x510)])==null?void 0x0:_0x211c41[_0x161a71(0x345)]);_0x28b6c2[_0x161a71(0x342)]={..._0x1f9ec6,'groupFieldId':_0x48ff08??_0x1f9ec6[_0x161a71(0x38a)],'coverFieldId':this[_0x161a71(0x4c0)](_0x4b855a,_0x1f9ec6),'cardLayout':_0x1f9ec6[_0x161a71(0x28f)]==='compose'?'compose':_0x161a71(0x445),'showFieldNames':_0x1f9ec6[_0x161a71(0x1d9)]!==!0x1,'fieldSettings':Object[_0x161a71(0x2e8)](Object[_0x161a71(0x1e2)](_0x1f9ec6[_0x161a71(0x484)]??{})['filter'](([_0x3f634f])=>_0x5c693c(_0x3f634f))),'columnSettings':_0x1f9ec6[_0x161a71(0x4d4)]??{},'card':{..._0x1f9ec6['card']??{},'titleFieldId':_0x3dffcb,'fieldIds':this[_0x161a71(0x315)](_0x4b855a,_0x28b6c2,_0x48ff08??'',_0x3dffcb)}};}return{'repaired':JSON[_0x161a71(0x449)](_0x28b6c2)!==JSON[_0x161a71(0x449)](_0x3575f9),'view':_0x28b6c2};}[_0x354fcb(0x51e)](){const _0x2d4c00=_0x354fcb;this[_0x2d4c00(0x4f2)]++;}[_0x354fcb(0x520)](_0x53a72e,_0x5c288a,_0x11e80e){const _0x431a21=_0x354fcb;let _0x33e551=this[_0x431a21(0x423)](_0x53a72e)+0x1;this[_0x431a21(0x517)][_0x431a21(0x1a1)](_0x53a72e,_0x33e551);let _0x214821=this['_cellInvalidations'][_0x431a21(0x4a8)](_0x53a72e)??[];_0x214821[_0x431a21(0x1f3)]({'revision':_0x33e551,'recordId':_0x5c288a,'fieldId':_0x11e80e}),this[_0x431a21(0x299)][_0x431a21(0x1a1)](_0x53a72e,_0x214821);}[_0x354fcb(0x42b)](_0x27db65,_0x18e5c9){const _0x1354a3=_0x354fcb;this[_0x1354a3(0x2b2)](_0x27db65);}['invalidateByView'](_0x360d86,_0x10bd2d){const _0x4ffd9e=_0x354fcb;this[_0x4ffd9e(0x2a0)][_0x4ffd9e(0x1a1)](this[_0x4ffd9e(0x1f2)](_0x360d86,_0x10bd2d),this[_0x4ffd9e(0x383)](_0x360d86,_0x10bd2d)+0x1);}['_getCachedProjection'](_0x29e266,_0xad3551,_0x5823ef){const _0x46c317=_0x354fcb;var _0x178ed9;let _0x447e88=(_0x178ed9=this[_0x46c317(0x2fd)]['get'](_0x29e266))==null?void 0x0:_0x178ed9[_0x46c317(0x4a8)](this[_0x46c317(0x1ee)](_0xad3551,_0x5823ef));return _0x447e88&&_0x447e88[_0x46c317(0x26d)]===this[_0x46c317(0x4f2)]&&_0x447e88['tableRevision']===this[_0x46c317(0x362)](_0xad3551)&&_0x447e88[_0x46c317(0x1e4)]===this[_0x46c317(0x423)](_0xad3551)&&_0x447e88['viewRevision']===this[_0x46c317(0x383)](_0xad3551,_0x5823ef)?_0x447e88[_0x46c317(0x48f)]:null;}[_0x354fcb(0x20d)](_0x27db7d,_0x1acded,_0x460ede,_0x373c40){const _0x4fd63e=_0x354fcb;let _0x56fa56=this[_0x4fd63e(0x2fd)][_0x4fd63e(0x4a8)](_0x27db7d);return _0x56fa56||(_0x56fa56=new Map(),this[_0x4fd63e(0x2fd)][_0x4fd63e(0x1a1)](_0x27db7d,_0x56fa56)),_0x56fa56[_0x4fd63e(0x1a1)](this[_0x4fd63e(0x1ee)](_0x1acded,_0x460ede),{'projection':_0x373c40,'globalRevision':this[_0x4fd63e(0x4f2)],'tableRevision':this[_0x4fd63e(0x362)](_0x1acded),'cellRevision':this[_0x4fd63e(0x423)](_0x1acded),'viewRevision':this[_0x4fd63e(0x383)](_0x1acded,_0x460ede)}),_0x373c40;}[_0x354fcb(0x2b2)](_0x707279){const _0x980038=_0x354fcb;this['_tableRevisions']['set'](_0x707279,this[_0x980038(0x362)](_0x707279)+0x1);}[_0x354fcb(0x362)](_0x5f172f){const _0x4a894b=_0x354fcb;return this[_0x4a894b(0x2e2)][_0x4a894b(0x4a8)](_0x5f172f)??0x0;}[_0x354fcb(0x423)](_0x29551e){const _0x5cee30=_0x354fcb;return this[_0x5cee30(0x517)][_0x5cee30(0x4a8)](_0x29551e)??0x0;}[_0x354fcb(0x383)](_0x4b35b9,_0x564b5d){const _0x2bebe3=_0x354fcb;return this[_0x2bebe3(0x2a0)][_0x2bebe3(0x4a8)](this[_0x2bebe3(0x1f2)](_0x4b35b9,_0x564b5d))??0x0;}[_0x354fcb(0x1ee)](_0x465618,_0x16993f){return _0x465618+'\x00'+_0x16993f;}[_0x354fcb(0x1d6)](_0x1bb6ad,_0x4129e4){const _0x28ab0b=_0x354fcb;return _0x1bb6ad+'\x00'+this[_0x28ab0b(0x262)](_0x4129e4);}['_groupsCacheKey'](_0x4e898a,_0x56fcb1,_0x1b832c){const _0x2d9f9f=_0x354fcb;return _0x4e898a+'\x00'+this[_0x2d9f9f(0x262)](_0x56fcb1)+'\x00'+this['_groupConfigCacheSegment'](_0x1b832c);}[_0x354fcb(0x262)](_0x2861e4){const _0x12e424=_0x354fcb;return _0x2861e4?mi({'filter':di(_0x2861e4[_0x12e424(0x397)]),'sort':pi(_0x2861e4[_0x12e424(0x3db)])}):'__all__';}[_0x354fcb(0x3b6)](_0x1a6cd0){const _0x407a9e=_0x354fcb;return mi(_0x1a6cd0['map'](_0xf444e=>({'fieldId':_0xf444e[_0x407a9e(0x46e)],'direction':_0xf444e['direction']??null})));}[_0x354fcb(0x1f2)](_0x90c919,_0x59fc11){return _0x90c919+'\x00'+_0x59fc11;}[_0x354fcb(0x187)](_0x1b9a1f,_0x76ef6e){const _0x38f4f5=_0x354fcb;var _0x38ca48;let _0x304f71=Je(_0x1b9a1f),_0x46a51e=this[_0x38f4f5(0x40f)](_0x1b9a1f,_0x76ef6e),_0x1ca098=(_0x38ca48=_0x76ef6e[_0x38f4f5(0x397)])!=null&&_0x38ca48[_0x38f4f5(0x309)][_0x38f4f5(0x458)]?this[_0x38f4f5(0x40f)](_0x1b9a1f,{..._0x76ef6e,'filter':null}):_0x46a51e,_0x1b7114=nt(this[_0x38f4f5(0x259)](_0x1b9a1f,_0x304f71,_0x76ef6e['id'],_0x1ca098[_0x38f4f5(0x29b)](_0x4f93b4=>_0x4f93b4['recordId'])),_0x1ca098,new Set(_0x46a51e[_0x38f4f5(0x29b)](_0x439557=>_0x439557[_0x38f4f5(0x4bb)])));return{'type':_0x2b4a2c[_0x38f4f5(0x388)],'fields':this[_0x38f4f5(0x430)](_0x1b9a1f,_0x76ef6e),'rows':_0x1b7114[_0x38f4f5(0x490)],'groups':this['_projectHierarchyGroups'](_0x1b9a1f,_0x76ef6e,_0x1b7114[_0x38f4f5(0x490)],_0x1b7114[_0x38f4f5(0x51a)]),'hierarchy':_0x1b7114['hierarchy'],'frozenFieldCount':typeof _0x76ef6e[_0x38f4f5(0x342)][_0x38f4f5(0x3af)]==_0x38f4f5(0x256)?_0x76ef6e[_0x38f4f5(0x342)][_0x38f4f5(0x3af)]:0x0};}[_0x354fcb(0x259)](_0x2222f4,_0x2d1b0d,_0x38a9c2,_0x49360c){const _0x488dc6=_0x354fcb;let _0x1d7715=_0x2222f4['id']+'\x00'+_0x2d1b0d+'\x00'+_0x38a9c2,_0x1d2765=this[_0x488dc6(0x423)](_0x2222f4['id']),_0x27740f=this['_hierarchyIndexCache']['get'](_0x1d7715);if(_0x27740f&&_0x27740f['globalRevision']===this['_globalRevision']&&_0x27740f[_0x488dc6(0x306)]===this['_getTableRevision'](_0x2222f4['id'])&&_0x27740f['orderedRecordIds']['length']===_0x49360c[_0x488dc6(0x458)]&&_0x27740f[_0x488dc6(0x1a3)][_0x488dc6(0x1b6)]((_0x4aab50,_0x4f3df2)=>_0x4aab50===_0x49360c[_0x4f3df2])){if(_0x27740f['cellRevision']===_0x1d2765&&_0x27740f[_0x488dc6(0x513)]===_0x2222f4)return _0x27740f[_0x488dc6(0x250)];if(!this[_0x488dc6(0x2b8)](_0x2222f4['id'],_0x27740f[_0x488dc6(0x1e4)],_0x1d2765,new Set([_0x2d1b0d])))return this['_hierarchyIndexCache'][_0x488dc6(0x1a1)](_0x1d7715,{..._0x27740f,'table':_0x2222f4,'cellRevision':_0x1d2765}),_0x27740f[_0x488dc6(0x250)];}let _0x1842c6=tt(_0x2222f4,_0x2d1b0d,_0x49360c);return this['_hierarchyIndexCache'][_0x488dc6(0x1a1)](_0x1d7715,{'table':_0x2222f4,'index':_0x1842c6,'orderedRecordIds':_0x49360c,'globalRevision':this[_0x488dc6(0x4f2)],'tableRevision':this['_getTableRevision'](_0x2222f4['id']),'cellRevision':_0x1d2765}),_0x1842c6;}['_projectHierarchyGroups'](_0x3d740c,_0x1bc281,_0x396e4a,_0x1867d9){const _0x1bfcf3=_0x354fcb;var _0x25aece;if(!((_0x25aece=_0x1bc281[_0x1bfcf3(0x1b9)])!=null&&_0x25aece['length']))return[];let _0x31b1d5=new Map(_0x396e4a[_0x1bfcf3(0x29b)](_0x509472=>[_0x509472[_0x1bfcf3(0x4bb)],_0x509472])),_0x298754=_0x1867d9['rootRecordIds'][_0x1bfcf3(0x2a2)](_0x17e90e=>{const _0x41c302=_0x1bfcf3;let _0x2d1ea7=_0x31b1d5[_0x41c302(0x4a8)](_0x17e90e);return _0x2d1ea7?[_0x2d1ea7]:[];}),_0x244969=this[_0x1bfcf3(0x3a3)](_0x3d740c,_0x1bc281,_0x298754),_0x3a90b5=new Map(_0x1867d9[_0x1bfcf3(0x1a3)]['map']((_0x9e9eee,_0x4647b1)=>[_0x9e9eee,_0x4647b1])),_0x43d328=_0x2a8467=>{const _0x2b57dc=_0x1bfcf3;let _0x36256a=_0x1867d9['nodes'][_0x2a8467],_0x385fa9=_0x3a90b5[_0x2b57dc(0x4a8)](_0x2a8467)??-0x1;return _0x385fa9<0x0||!_0x36256a?[]:_0x1867d9[_0x2b57dc(0x1a3)][_0x2b57dc(0x192)](_0x385fa9,_0x36256a['subtreeEndIndex']+0x1);},_0x3af8cc=_0x17507e=>{const _0x497da9=_0x1bfcf3;var _0x149bb8,_0x3e1c7f;return{..._0x17507e,'recordIds':(_0x149bb8=_0x17507e[_0x497da9(0x37f)])!=null&&_0x149bb8[_0x497da9(0x458)]?_0x17507e[_0x497da9(0x51f)]:_0x17507e[_0x497da9(0x51f)]['flatMap'](_0x43d328),'children':(_0x3e1c7f=_0x17507e['children'])==null?void 0x0:_0x3e1c7f[_0x497da9(0x29b)](_0x3af8cc)};};return _0x244969['map'](_0x3af8cc);}[_0x354fcb(0x4a9)](_0x3da628,_0x7e5b25){const _0x4061bf=_0x354fcb;var _0x3a4a75;let _0x4c5055=this[_0x4061bf(0x194)](_0x3da628,_0x7e5b25),_0x340a3e=_0x4c5055?_0x3da628[_0x4061bf(0x480)][_0x4c5055]:void 0x0;if(!_0x340a3e)return{'type':_0x4061bf(0x20e),'viewType':_0x2b4a2c[_0x4061bf(0x4ce)],'reason':_0x4061bf(0x492),'fieldId':_0x7e5b25[_0x4061bf(0x342)]['groupFieldId']};let _0x5cc3e6=this[_0x4061bf(0x40f)](_0x3da628,_0x7e5b25),_0x3f9e26=this[_0x4061bf(0x430)](_0x3da628,_0x7e5b25),_0x5a441c=_0x7e5b25[_0x4061bf(0x342)]??{},_0x457c3b=this[_0x4061bf(0x28c)](_0x3da628,(_0x3a4a75=_0x5a441c[_0x4061bf(0x510)])==null?void 0x0:_0x3a4a75[_0x4061bf(0x345)]),_0x1c78f3=this[_0x4061bf(0x315)](_0x3da628,_0x7e5b25,_0x340a3e['id'],_0x457c3b),_0x4c7bb1=new Map();if(F(_0x3da628,_0x340a3e['id'])){let _0x5aba63=this[_0x4061bf(0x259)](_0x3da628,_0x340a3e['id'],_0x7e5b25['id'],_0x5cc3e6[_0x4061bf(0x29b)](_0x1b6c71=>_0x1b6c71[_0x4061bf(0x4bb)])),_0x49636e=new Map();return _0x5cc3e6[_0x4061bf(0x461)](_0x2f851e=>{const _0x4cd98f=_0x4061bf;let _0x504761=_0x5aba63[_0x4cd98f(0x36e)][_0x4cd98f(0x4a8)](_0x2f851e[_0x4cd98f(0x4bb)])??null,_0x3915bd=_0x504761??'',_0x40b8d8=_0x504761?_0x3da628[_0x4cd98f(0x45a)][_0x504761]:void 0x0,_0x9fd1f5=_0x49636e['get'](_0x3915bd)??{'key':_0x3915bd,'title':_0x40b8d8?String(yt(_0x3da628,_0x40b8d8['id'],_0x3da628['primaryFieldId'])??_0x504761):this[_0x4cd98f(0x272)](_0x340a3e,_0x3915bd,_0x5a441c),'recordIds':[]};_0x9fd1f5[_0x4cd98f(0x51f)][_0x4cd98f(0x1f3)](_0x2f851e[_0x4cd98f(0x4bb)]),_0x49636e['set'](_0x3915bd,_0x9fd1f5);}),{'type':_0x2b4a2c[_0x4061bf(0x4ce)],'fields':_0x3f9e26,'rows':_0x5cc3e6,'groups':[],'groupFieldId':_0x340a3e['id'],'titleFieldId':_0x457c3b,'coverFieldId':this[_0x4061bf(0x4c0)](_0x3da628,_0x5a441c),'cardLayout':_0x5a441c[_0x4061bf(0x28f)]==='compose'?_0x4061bf(0x1fb):_0x4061bf(0x445),'showFieldNames':_0x5a441c[_0x4061bf(0x1d9)]!==!0x1,'visibleCardFieldIds':_0x1c78f3,'lanes':['',..._0x5aba63[_0x4061bf(0x1a3)]][_0x4061bf(0x2a2)](_0x26662f=>{const _0x5bac6b=_0x4061bf;let _0x1de35f=_0x49636e['get'](_0x26662f);return _0x1de35f!=null&&_0x1de35f[_0x5bac6b(0x51f)][_0x5bac6b(0x458)]?[_0x1de35f]:[];})};}return this[_0x4061bf(0x1a0)](_0x340a3e,_0x5a441c)['forEach'](_0x5af4e2=>_0x4c7bb1[_0x4061bf(0x1a1)](_0x5af4e2['key'],{..._0x5af4e2,'recordIds':[]})),_0x5cc3e6[_0x4061bf(0x461)](_0x5ce558=>{const _0x101fa9=_0x4061bf;this[_0x101fa9(0x1a7)](_0x340a3e,_0x5ce558['values'][_0x340a3e['id']])[_0x101fa9(0x461)](_0x2a0c47=>{const _0x55ced2=_0x101fa9;let _0x48ff0a=_0x4c7bb1['get'](_0x2a0c47)??{'key':_0x2a0c47,'title':this[_0x55ced2(0x272)](_0x340a3e,_0x2a0c47,_0x5a441c),'color':this[_0x55ced2(0x3b7)](_0x340a3e,_0x2a0c47,_0x5a441c),'recordIds':[]};_0x48ff0a['recordIds'][_0x55ced2(0x1f3)](_0x5ce558[_0x55ced2(0x4bb)]),_0x4c7bb1[_0x55ced2(0x1a1)](_0x2a0c47,_0x48ff0a);});}),{'type':_0x2b4a2c[_0x4061bf(0x4ce)],'fields':_0x3f9e26,'rows':_0x5cc3e6,'groups':this[_0x4061bf(0x3a3)](_0x3da628,_0x7e5b25,_0x5cc3e6),'groupFieldId':_0x340a3e['id'],'titleFieldId':_0x457c3b,'coverFieldId':this['_resolveKanbanCoverFieldId'](_0x3da628,_0x5a441c),'cardLayout':_0x5a441c[_0x4061bf(0x28f)]===_0x4061bf(0x1fb)?_0x4061bf(0x1fb):'normal','showFieldNames':_0x5a441c[_0x4061bf(0x1d9)]!==!0x1,'visibleCardFieldIds':_0x1c78f3,'lanes':Array['from'](_0x4c7bb1['values']())};}[_0x354fcb(0x194)](_0x526e2a,_0x56a523){const _0x55e4bd=_0x354fcb;var _0x317db2;let _0x4c0015=(_0x317db2=_0x56a523['config'])==null?void 0x0:_0x317db2['groupFieldId'];return _0x4c0015&&this[_0x55e4bd(0x337)](_0x526e2a,_0x4c0015)?_0x4c0015:this[_0x55e4bd(0x24f)](_0x526e2a,_0x1cf316=>this[_0x55e4bd(0x32e)](_0x1cf316));}['_findKanbanGroupField'](_0x53eed0,_0x250ec7){const _0x1016e4=_0x354fcb;for(let _0x4da37c of _0x53eed0[_0x1016e4(0x1e1)]){let _0x29e918=_0x53eed0[_0x1016e4(0x480)][_0x4da37c];if(_0x29e918&&_0x250ec7(_0x29e918))return _0x29e918['id'];}return null;}[_0x354fcb(0x337)](_0x3f2e6e,_0x40e919){const _0x374fe7=_0x354fcb;let _0x2c5eeb=_0x3f2e6e['fields'][_0x40e919];return this[_0x374fe7(0x32e)](_0x2c5eeb)||F(_0x3f2e6e,_0x40e919);}['_isAllowedKanbanGroupField'](_0x4d13e8){const _0x34f97a=_0x354fcb;return!!_0x4d13e8&&(_0x4d13e8[_0x34f97a(0x33a)]===_0x19bf94[_0x34f97a(0x407)]||_0x4d13e8[_0x34f97a(0x33a)]===_0x19bf94[_0x34f97a(0x283)]||_0x4d13e8[_0x34f97a(0x33a)]===_0x19bf94[_0x34f97a(0x4c5)]||_0x4d13e8['type']===_0x19bf94[_0x34f97a(0x1e5)]||_0x4d13e8['type']===_0x19bf94[_0x34f97a(0x223)]||_0x4d13e8[_0x34f97a(0x33a)]===_0x19bf94[_0x34f97a(0x19e)]);}[_0x354fcb(0x3d5)](_0x1c0026){const _0x3832ed=_0x354fcb;return _0x1c0026[_0x3832ed(0x33a)]===_0x19bf94['SingleSelect']||_0x1c0026['type']===_0x19bf94[_0x3832ed(0x283)];}[_0x354fcb(0x4c0)](_0x576e05,_0x245baa){const _0x110539=_0x354fcb;var _0x3a8e80;let _0x263c65=_0x245baa[_0x110539(0x4f8)]??((_0x3a8e80=_0x245baa[_0x110539(0x510)])==null?void 0x0:_0x3a8e80[_0x110539(0x4f8)])??null;if(!_0x263c65)return null;let _0x37ef5f=_0x576e05[_0x110539(0x480)][_0x263c65];return _0x37ef5f&&this[_0x110539(0x466)](_0x37ef5f)['usableAsCardCover']?_0x37ef5f['id']:null;}[_0x354fcb(0x315)](_0x1d47e8,_0x460f15,_0x5cd33f,_0x49c44e=this['_resolveCardTitleFieldId'](_0x1d47e8,((()=>{const _0x1555b4=_0x354fcb;var _0x3d2408;return(_0x3d2408=_0x460f15[_0x1555b4(0x342)])==null||(_0x3d2408=_0x3d2408[_0x1555b4(0x510)])==null?void 0x0:_0x3d2408[_0x1555b4(0x345)];})()))){const _0x4fa209=_0x354fcb;var _0x58c1a2;let _0x3145b5=_0x460f15[_0x4fa209(0x342)]??{},_0x5ce1b6=(_0x58c1a2=_0x3145b5['card'])!=null&&(_0x58c1a2=_0x58c1a2[_0x4fa209(0x227)])!=null&&_0x58c1a2[_0x4fa209(0x458)]?_0x3145b5[_0x4fa209(0x510)]['fieldIds']:Qr(_0x1d47e8,[_0x49c44e,_0x1d47e8[_0x4fa209(0x4cf)],_0x5cd33f]),_0x4721af=_0x3145b5[_0x4fa209(0x484)]??{};return _0x5ce1b6[_0x4fa209(0x397)](_0x2e6e4f=>{const _0x43e3b9=_0x4fa209;var _0x12cbcb,_0x3a12d3;let _0x3a23d3=_0x1d47e8[_0x43e3b9(0x480)][_0x2e6e4f];return!(!_0x3a23d3||_0x3a23d3[_0x43e3b9(0x1cb)]===!0x0||_0x3a23d3['type']===_0x19bf94[_0x43e3b9(0x44f)]||_0x3a23d3['id']===_0x5cd33f||_0x3a23d3['id']===_0x49c44e||(_0x12cbcb=_0x460f15['fieldSettings'])!=null&&(_0x12cbcb=_0x12cbcb[_0x2e6e4f])!=null&&_0x12cbcb[_0x43e3b9(0x1ce)]||(_0x3a12d3=_0x4721af[_0x2e6e4f])!=null&&_0x3a12d3[_0x43e3b9(0x1ce)]);})[_0x4fa209(0x3db)]((_0x13b0a3,_0x5c79f0)=>{const _0x21e589=_0x4fa209;var _0xbf4cca,_0x10bb11;return(((_0xbf4cca=_0x4721af[_0x13b0a3])==null?void 0x0:_0xbf4cca[_0x21e589(0x39c)])??_0x5ce1b6[_0x21e589(0x4c8)](_0x13b0a3))-(((_0x10bb11=_0x4721af[_0x5c79f0])==null?void 0x0:_0x10bb11[_0x21e589(0x39c)])??_0x5ce1b6[_0x21e589(0x4c8)](_0x5c79f0));});}[_0x354fcb(0x1a0)](_0x41b42b,_0x19affb){const _0x45511a=_0x354fcb;var _0x298fe9;let _0x9949d3=(Array['isArray']((_0x298fe9=_0x41b42b['config'])==null?void 0x0:_0x298fe9[_0x45511a(0x392)])?_0x41b42b[_0x45511a(0x342)][_0x45511a(0x392)]:[])[_0x45511a(0x2a2)]((_0x58c872,_0x394814)=>{const _0x4c3cf9=_0x45511a;if(_0x58c872==null)return[];let _0x12b259=typeof _0x58c872==_0x4c3cf9(0x471)?{'id':_0x58c872,'name':_0x58c872,'color':void 0x0}:_0x58c872,_0x5cf37e=String(_0x12b259['id']??_0x12b259[_0x4c3cf9(0x1e0)]??_0x4c3cf9(0x2d3)+(_0x394814+0x1));return[{'key':_0x5cf37e,'title':String(_0x12b259[_0x4c3cf9(0x1e0)]??_0x12b259['id']??_0x5cf37e),'color':this['_kanbanLaneColor'](_0x41b42b,_0x5cf37e,_0x19affb)}];});return Object[_0x45511a(0x1e2)](_0x19affb[_0x45511a(0x4d4)]??{})['forEach'](([_0x42dd43,_0x56dda4])=>{const _0xff6424=_0x45511a;_0x9949d3[_0xff6424(0x257)](_0x10c6b7=>_0x10c6b7[_0xff6424(0x3f2)]===_0x42dd43)||_0x9949d3[_0xff6424(0x1f3)]({'key':_0x42dd43,'title':this['_isColorfulKanbanGroupField'](_0x41b42b)?_0x56dda4[_0xff6424(0x3ba)]??this[_0xff6424(0x272)](_0x41b42b,_0x42dd43,_0x19affb):this[_0xff6424(0x272)](_0x41b42b,_0x42dd43,_0x19affb),'color':this[_0xff6424(0x3b7)](_0x41b42b,_0x42dd43,_0x19affb)});}),_0x9949d3;}[_0x354fcb(0x1a7)](_0x5c9d32,_0x2b8ff8){const _0x517130=_0x354fcb;let _0x5d4e25=_0x320f7e=>{var _0x2c9f9d;let _0x3cc6c6=_0x320f7e==null?'':String(_0x320f7e);return!_0x3cc6c6||!this['_isColorfulKanbanGroupField'](_0x5c9d32)?_0x3cc6c6:((_0x2c9f9d=Li(_0x5c9d32,_0x3cc6c6))==null?void 0x0:_0x2c9f9d['id'])??_0x3cc6c6;};if(Array['isArray'](_0x2b8ff8)){let _0x5a119c=_0x2b8ff8['map'](_0x5d4e25)[_0x517130(0x397)](_0x3d8027=>_0x3d8027!=='');return _0x5a119c[_0x517130(0x458)]?_0x5a119c:[''];}return[_0x5d4e25(_0x2b8ff8)];}[_0x354fcb(0x272)](_0xf3bb85,_0xa54c9,_0x55c118){const _0x4669b3=_0x354fcb;if(!_0xa54c9)return _0x4669b3(0x504);let _0x28500b=Li(_0xf3bb85,_0xa54c9);return(_0x28500b==null?void 0x0:_0x28500b[_0x4669b3(0x1e0)])??_0xa54c9;}[_0x354fcb(0x3b7)](_0x2f12af,_0x475ebf,_0x399cf7){const _0x2e8b91=_0x354fcb;var _0x230112;if(this[_0x2e8b91(0x3d5)](_0x2f12af))return(_0x230112=Li(_0x2f12af,_0x475ebf))==null?void 0x0:_0x230112[_0x2e8b91(0x190)];}['_buildCalendar'](_0x112f5c,_0x469944){const _0x2244b9=_0x354fcb;let _0x23dc42=this[_0x2244b9(0x34a)](_0x112f5c,_0x469944[_0x2244b9(0x342)]??{}),_0x3595f3=_0x112f5c[_0x2244b9(0x480)][_0x23dc42['startDateFieldId']];if(!_0x3595f3||_0x3595f3['type']!==_0x19bf94[_0x2244b9(0x440)]||_0x3595f3[_0x2244b9(0x401)]===!0x0||_0x3595f3[_0x2244b9(0x1cb)]===!0x0||!this[_0x2244b9(0x466)](_0x3595f3)[_0x2244b9(0x3fa)])return{'type':'invalid','viewType':_0x2b4a2c[_0x2244b9(0x4e8)],'reason':'invalidDateField','fieldId':_0x23dc42[_0x2244b9(0x240)]};let _0x5f0bf0=_0x23dc42[_0x2244b9(0x171)]?_0x112f5c[_0x2244b9(0x480)][_0x23dc42[_0x2244b9(0x171)]]:void 0x0,_0x3a8d7b=this[_0x2244b9(0x40f)](_0x112f5c,_0x469944);return{'type':_0x2b4a2c[_0x2244b9(0x4e8)],'config':_0x23dc42,'fields':this[_0x2244b9(0x430)](_0x112f5c,_0x469944),'rows':_0x3a8d7b,'groups':this[_0x2244b9(0x3a3)](_0x112f5c,_0x469944,_0x3a8d7b),'events':_0x3a8d7b[_0x2244b9(0x2a2)](_0x16dcf3=>{const _0xbc04fd=_0x2244b9;let _0x16a5e4=dn(_0x16dcf3[_0xbc04fd(0x1da)][_0x23dc42[_0xbc04fd(0x240)]]);if(!Number[_0xbc04fd(0x2c3)](_0x16a5e4))return[];let _0x21c424=_0x16dcf3[_0xbc04fd(0x1da)][_0x23dc42['startDateFieldId']],_0x1d2f8c=_0x23dc42[_0xbc04fd(0x171)]==null?void 0x0:_0x16dcf3[_0xbc04fd(0x1da)][_0x23dc42[_0xbc04fd(0x171)]],_0x462f37=_0x23dc42['endDateFieldId']==null?void 0x0:dn(_0x1d2f8c),_0x41a05c=Number[_0xbc04fd(0x2c3)](_0x462f37)?_0x462f37:void 0x0;return[{'recordId':_0x16dcf3[_0xbc04fd(0x4bb)],'title':this[_0xbc04fd(0x431)](_0x112f5c,_0x16dcf3,_0x23dc42[_0xbc04fd(0x345)]),'start':_0x16a5e4,'end':_0x41a05c,'color':this[_0xbc04fd(0x3be)](_0x112f5c,_0x16dcf3,_0x23dc42),'startMs':_0x16a5e4,'endMs':_0x41a05c,'allDay':this['_isAllDayCalendarEvent'](_0x3595f3,_0x5f0bf0,_0x21c424,_0x1d2f8c),'fieldValues':_0x16dcf3[_0xbc04fd(0x1da)]}];})};}[_0x354fcb(0x34a)](_0x3d17cb,_0x12d143){const _0x7cc3cd=_0x354fcb;let _0x58aeac=this[_0x7cc3cd(0x3dc)](_0x3d17cb,_0x12d143['startDateFieldId']),_0x5def45=_0x12d143[_0x7cc3cd(0x171)]&&this[_0x7cc3cd(0x1ef)](_0x3d17cb,_0x12d143[_0x7cc3cd(0x171)])?_0x12d143[_0x7cc3cd(0x171)]:this['_findCalendarDateFieldId'](_0x3d17cb,_0x58aeac)??void 0x0,_0x573b64=_0x12d143[_0x7cc3cd(0x345)]?_0x3d17cb[_0x7cc3cd(0x480)][_0x12d143[_0x7cc3cd(0x345)]]:void 0x0,_0x2c8796=_0x573b64&&_0x573b64[_0x7cc3cd(0x1cb)]!==!0x0&&_0x573b64[_0x7cc3cd(0x33a)]!==_0x19bf94[_0x7cc3cd(0x44f)]?_0x12d143[_0x7cc3cd(0x345)]:_0x3d17cb['primaryFieldId'],_0x73bf5d=_0x12d143[_0x7cc3cd(0x31b)]==='day'||_0x12d143[_0x7cc3cd(0x31b)]===_0x7cc3cd(0x1fc)?_0x12d143[_0x7cc3cd(0x31b)]:_0x7cc3cd(0x19b),_0x357ff7=_0x12d143[_0x7cc3cd(0x4be)]===_0x7cc3cd(0x2ea)||_0x12d143['timeslotSize']===_0x7cc3cd(0x1b7)?_0x12d143['timeslotSize']:'medium',_0x1b0e76=typeof _0x12d143[_0x7cc3cd(0x50d)]==_0x7cc3cd(0x471)&&_0x12d143[_0x7cc3cd(0x50d)][_0x7cc3cd(0x3bc)]()?_0x12d143[_0x7cc3cd(0x50d)]:'local',_0x278035=this[_0x7cc3cd(0x43c)](_0x3d17cb,_0x12d143);return{..._0x12d143,'startDateFieldId':_0x58aeac,'endDateFieldId':_0x5def45,'titleFieldId':_0x2c8796,'mode':_0x73bf5d,'timeslotSize':_0x357ff7,'timeZone':_0x1b0e76,'displayColor':_0x278035,'fieldSettings':Object[_0x7cc3cd(0x2e8)](Object[_0x7cc3cd(0x1e2)](_0x12d143[_0x7cc3cd(0x484)]??{})[_0x7cc3cd(0x397)](([_0x5a9898])=>{const _0x33b671=_0x7cc3cd;let _0x33fc0a=_0x3d17cb[_0x33b671(0x480)][_0x5a9898];return!!(_0x33fc0a&&_0x33fc0a[_0x33b671(0x1cb)]!==!0x0&&_0x33fc0a['type']!==_0x19bf94[_0x33b671(0x44f)]);}))};}[_0x354fcb(0x3dc)](_0x587c79,_0x4c03dd){const _0x5ee6b8=_0x354fcb;return _0x4c03dd&&this[_0x5ee6b8(0x1ef)](_0x587c79,_0x4c03dd)?_0x4c03dd:this[_0x5ee6b8(0x460)](_0x587c79)??_0x4c03dd??'';}[_0x354fcb(0x460)](_0x4f33a3,_0x982623){const _0x583f7f=_0x354fcb;for(let _0x12c171 of _0x4f33a3[_0x583f7f(0x1e1)])if(_0x12c171!==_0x982623&&this[_0x583f7f(0x1ef)](_0x4f33a3,_0x12c171))return _0x12c171;return null;}['_isCalendarDateField'](_0x266bc8,_0x1254ca){const _0x2427e1=_0x354fcb;let _0x3d20d8=_0x266bc8[_0x2427e1(0x480)][_0x1254ca];return!!_0x3d20d8&&_0x3d20d8[_0x2427e1(0x33a)]===_0x19bf94[_0x2427e1(0x440)]&&_0x3d20d8['readonly']!==!0x0&&_0x3d20d8['system']!==!0x0&&this[_0x2427e1(0x466)](_0x3d20d8)[_0x2427e1(0x3fa)];}['_normalizeCalendarDisplayColor'](_0x3c4a32,_0x31a7f1){const _0x3ac245=_0x354fcb;let _0x2c4e35=_0x31a7f1[_0x3ac245(0x326)];if((_0x2c4e35==null?void 0x0:_0x2c4e35[_0x3ac245(0x33a)])==='selectField'){let _0x1b2004=_0x3c4a32[_0x3ac245(0x480)][_0x2c4e35['fieldId']];if(_0x1b2004&&_0x1b2004['type']===_0x19bf94[_0x3ac245(0x407)])return _0x2c4e35;}if((_0x2c4e35==null?void 0x0:_0x2c4e35[_0x3ac245(0x33a)])==='custom'&&typeof _0x2c4e35[_0x3ac245(0x190)]==_0x3ac245(0x471)&&_0x2c4e35[_0x3ac245(0x190)][_0x3ac245(0x3bc)]())return{'type':'custom','color':_0x2c4e35[_0x3ac245(0x190)]};if(_0x31a7f1[_0x3ac245(0x522)]){let _0x4d6122=_0x3c4a32['fields'][_0x31a7f1['colorFieldId']];if(_0x4d6122&&_0x4d6122[_0x3ac245(0x33a)]===_0x19bf94[_0x3ac245(0x407)])return{'type':'selectField','fieldId':_0x31a7f1[_0x3ac245(0x522)]};}return{'type':_0x3ac245(0x49d),'color':_0x3ac245(0x478)};}['_calendarEventColor'](_0x184547,_0xb1d363,_0x510452){const _0x3536c8=_0x354fcb;let _0x429c9d=_0x510452['displayColor'];if((_0x429c9d==null?void 0x0:_0x429c9d[_0x3536c8(0x33a)])===_0x3536c8(0x31f)){var _0x1ed0d2;let _0x21551e=_0x184547[_0x3536c8(0x480)][_0x429c9d['fieldId']];if(!_0x21551e)return;let _0x621684=_0xb1d363[_0x3536c8(0x1da)][_0x429c9d[_0x3536c8(0x46e)]],_0x24c6c4=Array[_0x3536c8(0x354)](_0x621684)?_0x621684[0x0]:_0x621684;return _0x24c6c4==null||(_0x1ed0d2=Li(_0x21551e,String(_0x24c6c4)))==null?void 0x0:_0x1ed0d2[_0x3536c8(0x190)];}if((_0x429c9d==null?void 0x0:_0x429c9d[_0x3536c8(0x33a)])===_0x3536c8(0x49d))return _0x429c9d[_0x3536c8(0x190)];}['_isAllDayCalendarEvent'](_0x397915,_0x1823b0,_0x31dc1d,_0x3c3917){const _0x1fbb87=_0x354fcb;var _0x9ccc80,_0x3cdd3d;let _0x5d3a7d=((_0x9ccc80=_0x397915[_0x1fbb87(0x342)])==null?void 0x0:_0x9ccc80[_0x1fbb87(0x501)])===!0x0,_0x47f987=(_0x1823b0==null||(_0x3cdd3d=_0x1823b0[_0x1fbb87(0x342)])==null?void 0x0:_0x3cdd3d['includeTime'])===!0x0;return!_0x5d3a7d&&!_0x47f987;}['_isAllDayGanttDateRange'](_0x5c7488,_0x2eee87){const _0x1250fa=_0x354fcb;var _0xb9c740,_0x2a5dc3;let _0xe57f63=((_0xb9c740=_0x5c7488[_0x1250fa(0x342)])==null?void 0x0:_0xb9c740['includeTime'])===!0x0,_0x2287aa=((_0x2a5dc3=_0x2eee87[_0x1250fa(0x342)])==null?void 0x0:_0x2a5dc3[_0x1250fa(0x501)])===!0x0;return!_0xe57f63&&!_0x2287aa;}[_0x354fcb(0x330)](_0x47acda,_0x22887c){const _0x3f0c29=_0x354fcb;let _0x205b5d=this[_0x3f0c29(0x230)](_0x47acda,_0x22887c[_0x3f0c29(0x342)]),_0x28084e=_0x47acda[_0x3f0c29(0x480)][_0x205b5d['startDateFieldId']];if(!_0x28084e||_0x28084e[_0x3f0c29(0x33a)]!==_0x19bf94[_0x3f0c29(0x440)]||_0x28084e[_0x3f0c29(0x401)]===!0x0||_0x28084e['system']===!0x0||!this[_0x3f0c29(0x466)](_0x28084e)[_0x3f0c29(0x4da)])return{'type':_0x3f0c29(0x20e),'viewType':_0x2b4a2c[_0x3f0c29(0x3da)],'reason':'invalidGanttStartField','fieldId':_0x205b5d[_0x3f0c29(0x240)]};let _0x2f7ab0=_0x47acda['fields'][_0x205b5d['endDateFieldId']];if(!_0x2f7ab0||_0x2f7ab0['type']!==_0x19bf94[_0x3f0c29(0x440)]||_0x2f7ab0[_0x3f0c29(0x401)]===!0x0||_0x2f7ab0[_0x3f0c29(0x1cb)]===!0x0||!this[_0x3f0c29(0x466)](_0x2f7ab0)[_0x3f0c29(0x2e1)])return{'type':_0x3f0c29(0x20e),'viewType':_0x2b4a2c[_0x3f0c29(0x3da)],'reason':_0x3f0c29(0x379),'fieldId':_0x205b5d['endDateFieldId']};let _0x112615=this[_0x3f0c29(0x244)](_0x28084e,_0x2f7ab0),_0x3d5d4e=this['_projectRows'](_0x47acda,_0x22887c),_0x26fe0d=_0x3d5d4e[_0x3f0c29(0x2a2)](_0x217002=>{const _0x23d776=_0x3f0c29;let _0x47bb7b=dn(_0x217002[_0x23d776(0x1da)][_0x205b5d[_0x23d776(0x240)]]),_0x315dbe=dn(_0x217002[_0x23d776(0x1da)][_0x205b5d[_0x23d776(0x171)]]);if(!Number['isFinite'](_0x47bb7b)||!Number[_0x23d776(0x2c3)](_0x315dbe))return[];let _0x4e3030=Math[_0x23d776(0x35d)](_0x47bb7b,_0x315dbe),_0x3ad364=Math[_0x23d776(0x1b3)](_0x47bb7b,_0x315dbe),_0x1fd114=_0x205b5d['progressFieldId']==null?void 0x0:Number(_0x217002['values'][_0x205b5d[_0x23d776(0x4aa)]]);return[{'recordId':_0x217002[_0x23d776(0x4bb)],'title':this[_0x23d776(0x431)](_0x47acda,_0x217002,_0x205b5d[_0x23d776(0x345)]),'start':_0x4e3030,'end':_0x3ad364,'color':this[_0x23d776(0x4e7)](_0x47acda,_0x217002,_0x205b5d),'progress':Number[_0x23d776(0x2c3)](_0x1fd114)?_0x1fd114:void 0x0,'workingDayCount':_0x205b5d['workingDaysOnly']?Ti(_0x4e3030,_0x3ad364,_0x205b5d[_0x23d776(0x236)]):void 0x0,'dependencyRecordIds':this[_0x23d776(0x174)](_0x217002['values'][_0x205b5d[_0x23d776(0x4a2)]??''])}];}),_0x41a6b2=_0x26fe0d[_0x3f0c29(0x458)]?Z(Math['min'](..._0x26fe0d[_0x3f0c29(0x29b)](_0x1ac70e=>_0x1ac70e['start']))-0x5a*oi):Z(Date[_0x3f0c29(0x181)]()-0x5a*oi),_0xc71828=_0x26fe0d[_0x3f0c29(0x458)]?Z(Math['max'](..._0x26fe0d[_0x3f0c29(0x29b)](_0x310d41=>_0x310d41['end']))+0x5b*oi):Z(Date[_0x3f0c29(0x181)]()+0x5b*oi),_0x5d874e=_i(_0x205b5d[_0x3f0c29(0x17e)],_0x41a6b2,_0xc71828,_0x205b5d[_0x3f0c29(0x39b)]?_0x205b5d['workingDays']:void 0x0);return{'type':_0x2b4a2c[_0x3f0c29(0x3da)],'fields':this[_0x3f0c29(0x430)](_0x47acda,{..._0x22887c,'config':_0x205b5d}),'rows':_0x3d5d4e,'groups':this[_0x3f0c29(0x3a3)](_0x47acda,_0x22887c,_0x3d5d4e),'config':_0x205b5d,'dateRangeAllDay':_0x112615,'timeline':{'scale':_0x205b5d[_0x3f0c29(0x17e)],'start':_0x41a6b2,'end':_0xc71828,'unitWidth':_0x5d874e[_0x3f0c29(0x4c2)],'majorHeaders':_0x5d874e[_0x3f0c29(0x307)],'columns':_0x5d874e[_0x3f0c29(0x50a)]},'bars':_0x26fe0d};}['_normalizeGanttConfig'](_0x3f588a,_0x4a3068){const _0x6c2ab1=_0x354fcb;let _0x444cca=this[_0x6c2ab1(0x411)](_0x3f588a,_0x4a3068[_0x6c2ab1(0x240)],_0x6c2ab1(0x191)),_0x5e2715=this[_0x6c2ab1(0x411)](_0x3f588a,_0x4a3068[_0x6c2ab1(0x171)],'end')||_0x444cca,_0x5875a5=_0x4a3068[_0x6c2ab1(0x345)]?_0x3f588a[_0x6c2ab1(0x480)][_0x4a3068[_0x6c2ab1(0x345)]]:void 0x0,_0x26625f=_0x5875a5&&_0x5875a5[_0x6c2ab1(0x1cb)]!==!0x0&&_0x5875a5['type']!==_0x19bf94[_0x6c2ab1(0x44f)]?_0x4a3068[_0x6c2ab1(0x345)]:_0x3f588a[_0x6c2ab1(0x4cf)],_0x556ea5=_0x4a3068[_0x6c2ab1(0x17e)]===_0x6c2ab1(0x1fc)||_0x4a3068[_0x6c2ab1(0x17e)]===_0x6c2ab1(0x20c)||_0x4a3068['scale']===_0x6c2ab1(0x377)?_0x4a3068['scale']:_0x6c2ab1(0x19b),_0xdc1230=gi(_0x4a3068[_0x6c2ab1(0x236)]);return{..._0x4a3068,'startDateFieldId':_0x444cca,'endDateFieldId':_0x5e2715,'titleFieldId':_0x26625f,'scale':_0x556ea5,'leftPaneWidth':typeof _0x4a3068['leftPaneWidth']==_0x6c2ab1(0x256)?_0x4a3068[_0x6c2ab1(0x421)]:void 0x0,'leftPaneCollapsed':_0x4a3068[_0x6c2ab1(0x3e8)]===!0x0,'showTodayLine':_0x4a3068[_0x6c2ab1(0x249)]!==!0x1,'displayColor':this[_0x6c2ab1(0x482)](_0x3f588a,_0x4a3068),'fieldSettings':Object['fromEntries'](Object['entries'](_0x4a3068[_0x6c2ab1(0x484)]??{})[_0x6c2ab1(0x397)](([_0x1857a7])=>{const _0x12115c=_0x6c2ab1;let _0x3b49b0=_0x3f588a[_0x12115c(0x480)][_0x1857a7];return!!(_0x3b49b0&&_0x3b49b0['system']!==!0x0&&_0x3b49b0[_0x12115c(0x33a)]!==_0x19bf94[_0x12115c(0x44f)]);})),'workingDaysOnly':_0x4a3068[_0x6c2ab1(0x39b)]===!0x0,'workingDays':_0xdc1230};}['_resolveGanttDateFieldId'](_0x5663dd,_0x21c075,_0x15b9e6){const _0x5a4ad3=_0x354fcb;if(_0x21c075&&this[_0x5a4ad3(0x502)](_0x5663dd,_0x21c075,_0x15b9e6)||_0x21c075)return _0x21c075;for(let _0x47d395 of _0x5663dd[_0x5a4ad3(0x1e1)])if(this[_0x5a4ad3(0x502)](_0x5663dd,_0x47d395,_0x15b9e6))return _0x47d395;return _0x21c075??'';}[_0x354fcb(0x502)](_0x51bdf7,_0x47d0bd,_0x37c2ed){const _0x5c2d24=_0x354fcb;let _0x132ed5=_0x51bdf7['fields'][_0x47d0bd];if(!_0x132ed5||_0x132ed5[_0x5c2d24(0x33a)]!==_0x19bf94['Date']||_0x132ed5['readonly']===!0x0||_0x132ed5['system']===!0x0)return!0x1;let _0x34c971=this[_0x5c2d24(0x466)](_0x132ed5);return _0x37c2ed===_0x5c2d24(0x191)?_0x34c971[_0x5c2d24(0x4da)]:_0x34c971[_0x5c2d24(0x2e1)];}['_normalizeGanttDisplayColor'](_0x53d98c,_0x4b0c7c){const _0x1e421a=_0x354fcb;let _0x52eb73=_0x4b0c7c[_0x1e421a(0x326)];if((_0x52eb73==null?void 0x0:_0x52eb73[_0x1e421a(0x33a)])===_0x1e421a(0x31f)){let _0x5c80bf=_0x53d98c['fields'][_0x52eb73[_0x1e421a(0x46e)]];if(_0x5c80bf&&_0x5c80bf[_0x1e421a(0x33a)]===_0x19bf94['SingleSelect'])return _0x52eb73;}return(_0x52eb73==null?void 0x0:_0x52eb73[_0x1e421a(0x33a)])===_0x1e421a(0x1f0)&&Array['isArray'](_0x52eb73['rules'])?{'type':_0x1e421a(0x1f0),'rules':_0x52eb73[_0x1e421a(0x36c)][_0x1e421a(0x397)](_0x2d663b=>!!_0x53d98c[_0x1e421a(0x480)][_0x2d663b[_0x1e421a(0x46e)]])}:(_0x52eb73==null?void 0x0:_0x52eb73[_0x1e421a(0x33a)])===_0x1e421a(0x49d)&&typeof _0x52eb73['color']=='string'&&_0x52eb73['color'][_0x1e421a(0x3bc)]()?{'type':'custom','color':_0x52eb73[_0x1e421a(0x190)]}:{'type':_0x1e421a(0x49d),'color':_0x1e421a(0x1e3)};}[_0x354fcb(0x4e7)](_0x299724,_0x4010fb,_0x4d3009){const _0x5680cd=_0x354fcb;let _0x3baa3f=_0x4d3009['displayColor'];if((_0x3baa3f==null?void 0x0:_0x3baa3f['type'])==='conditional'){let _0x24559d=_0x3baa3f[_0x5680cd(0x36c)][_0x5680cd(0x22f)](_0x24fee7=>this[_0x5680cd(0x395)](_0x299724,_0x4010fb,_0x24fee7));if(_0x24559d)return _0x24559d[_0x5680cd(0x190)];}if((_0x3baa3f==null?void 0x0:_0x3baa3f['type'])===_0x5680cd(0x31f)){let _0x5dbc7f=_0x299724[_0x5680cd(0x480)][_0x3baa3f[_0x5680cd(0x46e)]];if(_0x5dbc7f){var _0x2b8c16;let _0x2c27f4=_0x4010fb['values'][_0x3baa3f[_0x5680cd(0x46e)]],_0x174df3=Array[_0x5680cd(0x354)](_0x2c27f4)?_0x2c27f4[0x0]:_0x2c27f4,_0xe5e634=_0x174df3==null||(_0x2b8c16=Li(_0x5dbc7f,String(_0x174df3)))==null?void 0x0:_0x2b8c16['color'];if(_0xe5e634)return _0xe5e634;}}return(_0x3baa3f==null?void 0x0:_0x3baa3f['type'])===_0x5680cd(0x49d)?_0x3baa3f[_0x5680cd(0x190)]:'#14b8a6';}[_0x354fcb(0x395)](_0x2ce437,_0x20360b,_0x35a4c4){const _0x3ab36c=_0x354fcb;let _0x594443=_0x2ce437[_0x3ab36c(0x480)][_0x35a4c4[_0x3ab36c(0x46e)]];return _0x594443?xn(_0x20360b[_0x3ab36c(0x1da)][_0x594443['id']],_0x35a4c4[_0x3ab36c(0x320)],_0x35a4c4[_0x3ab36c(0x526)],_0x594443,{'dateMode':_0x35a4c4[_0x3ab36c(0x43b)]}):!0x1;}[_0x354fcb(0x441)](_0x3474bf,_0x38035c){const _0x940e8e=_0x354fcb;let _0x4ef233=this[_0x940e8e(0x40f)](_0x3474bf,_0x38035c),_0x271dc8=this['_normalizeGalleryConfig'](_0x3474bf,_0x38035c['config']??{}),_0x1ddce2=this['_projectFields'](_0x3474bf,_0x38035c);return{'type':_0x2b4a2c[_0x940e8e(0x17c)],'fields':_0x1ddce2,'rows':_0x4ef233,'groups':this[_0x940e8e(0x3a3)](_0x3474bf,_0x38035c,_0x4ef233),'titleFieldId':_0x271dc8[_0x940e8e(0x510)]['titleFieldId'],'coverFieldId':_0x271dc8[_0x940e8e(0x4f8)],'cardLayout':_0x271dc8['cardLayout']??'normal','showFieldNames':_0x271dc8['showFieldNames']!==!0x1,'visibleCardFieldIds':this[_0x940e8e(0x4a4)](_0x3474bf,_0x38035c,_0x271dc8),'cardSize':_0x271dc8[_0x940e8e(0x33d)]??_0x940e8e(0x524),'cards':_0x4ef233[_0x940e8e(0x29b)](_0x44672b=>({'recordId':_0x44672b[_0x940e8e(0x4bb)],'title':this['_title'](_0x3474bf,_0x44672b,_0x271dc8[_0x940e8e(0x510)]['titleFieldId']),'values':_0x44672b['values']}))};}[_0x354fcb(0x36f)](_0x238ad2,_0x2ee77f){const _0x1c778b=_0x354fcb;let _0x534fc6=_0x2ee77f[_0x1c778b(0x510)]??{'fieldIds':[]},_0x4654d0=this['_resolveCardTitleFieldId'](_0x238ad2,_0x534fc6[_0x1c778b(0x345)]),_0x3b90a9=this[_0x1c778b(0x3fb)](_0x238ad2,_0x2ee77f),_0x31a5c8=_0x2ee77f[_0x1c778b(0x33d)]===_0x1c778b(0x30b)||_0x2ee77f[_0x1c778b(0x33d)]==='large'?_0x2ee77f[_0x1c778b(0x33d)]:_0x1c778b(0x524);return{..._0x2ee77f,'coverFieldId':_0x3b90a9,'cardLayout':_0x2ee77f[_0x1c778b(0x28f)]===_0x1c778b(0x1fb)?'compose':_0x1c778b(0x445),'showFieldNames':_0x2ee77f[_0x1c778b(0x1d9)]!==!0x1,'fieldSettings':Object[_0x1c778b(0x2e8)](Object[_0x1c778b(0x1e2)](_0x2ee77f['fieldSettings']??{})[_0x1c778b(0x397)](([_0x8c2217])=>{const _0x2f5806=_0x1c778b;let _0x530cde=_0x238ad2[_0x2f5806(0x480)][_0x8c2217];return!!(_0x530cde&&_0x530cde[_0x2f5806(0x1cb)]!==!0x0&&_0x530cde[_0x2f5806(0x33a)]!==_0x19bf94[_0x2f5806(0x44f)]);})),'card':{..._0x534fc6,'titleFieldId':_0x4654d0,'coverFieldId':_0x3b90a9,'fieldIds':Array[_0x1c778b(0x354)](_0x534fc6['fieldIds'])?_0x534fc6[_0x1c778b(0x227)]:[]},'cardSize':_0x31a5c8};}[_0x354fcb(0x28c)](_0x4b1d45,_0x3bec48){const _0x27d0c1=_0x354fcb;let _0x3e1201=_0x3bec48?_0x4b1d45['fields'][_0x3bec48]:void 0x0;return _0x3e1201&&_0x3e1201[_0x27d0c1(0x1cb)]!==!0x0&&_0x3e1201[_0x27d0c1(0x33a)]!==_0x19bf94[_0x27d0c1(0x44f)]?_0x3e1201['id']:Zr(_0x4b1d45);}['_resolveGalleryCoverFieldId'](_0x2cbd41,_0x43c12f){const _0x189d08=_0x354fcb;var _0x15984a;let _0xe83033=_0x43c12f[_0x189d08(0x4f8)]??((_0x15984a=_0x43c12f[_0x189d08(0x510)])==null?void 0x0:_0x15984a[_0x189d08(0x4f8)])??null;if(!_0xe83033)return null;let _0x424943=_0x2cbd41[_0x189d08(0x480)][_0xe83033];return _0x424943&&this['_capabilities'](_0x424943)[_0x189d08(0x360)]?_0x424943['id']:null;}[_0x354fcb(0x4a4)](_0x28ace9,_0x3f072d,_0x329fe3){const _0x3dd36a=_0x354fcb;var _0xa1f353,_0x36dbae,_0x348889;let _0x2cd9ad=_0x329fe3[_0x3dd36a(0x484)]??{},_0x3360fd=((_0xa1f353=_0x329fe3[_0x3dd36a(0x510)])==null?void 0x0:_0xa1f353[_0x3dd36a(0x345)])??Zr(_0x28ace9),_0x3a3a4e=_0x329fe3[_0x3dd36a(0x4f8)]??((_0x36dbae=_0x329fe3['card'])==null?void 0x0:_0x36dbae[_0x3dd36a(0x4f8)])??null,_0x349960=(_0x348889=_0x329fe3[_0x3dd36a(0x510)])!=null&&(_0x348889=_0x348889['fieldIds'])!=null&&_0x348889[_0x3dd36a(0x458)]?_0x329fe3[_0x3dd36a(0x510)][_0x3dd36a(0x227)]:Qr(_0x28ace9,[_0x3360fd,_0x3a3a4e,_0x28ace9[_0x3dd36a(0x4cf)]]);return _0x349960[_0x3dd36a(0x397)](_0x5ded64=>{const _0x10cf32=_0x3dd36a;var _0x2ded56,_0x542544;let _0x5ed92e=_0x28ace9['fields'][_0x5ded64];return!(!_0x5ed92e||_0x5ed92e[_0x10cf32(0x1cb)]===!0x0||_0x5ed92e[_0x10cf32(0x33a)]===_0x19bf94[_0x10cf32(0x44f)]||_0x5ed92e['id']===_0x3360fd||_0x5ed92e['id']===_0x3a3a4e||(_0x2ded56=_0x3f072d['fieldSettings'])!=null&&(_0x2ded56=_0x2ded56[_0x5ded64])!=null&&_0x2ded56[_0x10cf32(0x1ce)]||(_0x542544=_0x2cd9ad[_0x5ded64])!=null&&_0x542544[_0x10cf32(0x1ce)]);})[_0x3dd36a(0x3db)]((_0x210bf3,_0x2cfa63)=>{const _0x4e4e5d=_0x3dd36a;var _0x5885e6,_0x10680c;return(((_0x5885e6=_0x2cd9ad[_0x210bf3])==null?void 0x0:_0x5885e6[_0x4e4e5d(0x39c)])??_0x349960[_0x4e4e5d(0x4c8)](_0x210bf3))-(((_0x10680c=_0x2cd9ad[_0x2cfa63])==null?void 0x0:_0x10680c[_0x4e4e5d(0x39c)])??_0x349960[_0x4e4e5d(0x4c8)](_0x2cfa63));});}['_projectFields'](_0xe852d2,_0x1b3899){const _0x2d6291=_0x354fcb;var _0x2ef45b;return((_0x2ef45b=_0x1b3899[_0x2d6291(0x1e1)])!=null&&_0x2ef45b[_0x2d6291(0x458)]?_0x1b3899['fieldOrder']:_0xe852d2[_0x2d6291(0x1e1)])[_0x2d6291(0x2a2)](_0xe3533f=>{const _0x20ca51=_0x2d6291;var _0x615e3f;let _0x227916=_0xe852d2[_0x20ca51(0x480)][_0xe3533f],_0x438f72=((_0x615e3f=_0x1b3899[_0x20ca51(0x484)])==null?void 0x0:_0x615e3f[_0xe3533f])??{};return!_0x227916||_0x227916[_0x20ca51(0x1cb)]===!0x0||_0x227916['type']===_0x19bf94[_0x20ca51(0x44f)]||_0x438f72[_0x20ca51(0x1ce)]?[]:[{'id':_0x227916['id'],'name':_0x227916[_0x20ca51(0x1e0)],'description':_0x227916[_0x20ca51(0x373)],'type':_0x227916['type'],'config':_0x227916[_0x20ca51(0x342)],'width':_0x438f72[_0x20ca51(0x266)],'setting':_0x438f72}];});}[_0x354fcb(0x40f)](_0x562d52,_0x1bfc4a){const _0x43d4e0=_0x354fcb;var _0x7f3855;return I('BaseProjection.projectRows',()=>{const _0x207bbf=_0x48d8;var _0x43bc46,_0x3053be;let _0x5b63e3=this[_0x207bbf(0x32d)](_0x562d52),_0x482e95=this[_0x207bbf(0x1d6)](_0x562d52['id'],_0x1bfc4a),_0xd2733b=this[_0x207bbf(0x423)](_0x562d52['id']),_0x4b9bed=this[_0x207bbf(0x456)][_0x207bbf(0x4a8)](_0x482e95);if(_0x4b9bed&&_0x4b9bed[_0x207bbf(0x26d)]===this[_0x207bbf(0x4f2)]&&_0x4b9bed[_0x207bbf(0x306)]===this[_0x207bbf(0x362)](_0x562d52['id'])){if(_0x4b9bed[_0x207bbf(0x1e4)]===_0xd2733b&&_0x4b9bed[_0x207bbf(0x2ca)]===_0x5b63e3)return _0x4b9bed[_0x207bbf(0x490)];if(_0x4b9bed['cellRevision']!==_0xd2733b&&!this['_cellInvalidationsTouchFields'](_0x562d52['id'],_0x4b9bed[_0x207bbf(0x1e4)],_0xd2733b,this[_0x207bbf(0x427)](_0x1bfc4a))){let _0x5b6b19=_0x4b9bed[_0x207bbf(0x490)]===_0x4b9bed['baseRows']?_0x5b63e3:this['_patchCachedProjectedRows'](_0x4b9bed[_0x207bbf(0x490)],_0x5b63e3);if(_0x5b6b19)return this['_projectedViewRowsCache'][_0x207bbf(0x1a1)](_0x482e95,{..._0x4b9bed,'rows':_0x5b6b19,'baseRows':_0x5b63e3,'cellRevision':_0xd2733b}),_0x5b6b19;}}let _0x14dd20=I(_0x207bbf(0x21e),()=>this[_0x207bbf(0x198)](_0x562d52,_0x1bfc4a,this[_0x207bbf(0x1ca)](_0x562d52,_0x1bfc4a,_0x5b63e3)),{'tableId':_0x562d52['id'],'viewId':_0x1bfc4a==null?void 0x0:_0x1bfc4a['id'],'viewType':_0x1bfc4a==null?void 0x0:_0x1bfc4a[_0x207bbf(0x33a)],'rows':_0x5b63e3['length'],'filters':(_0x1bfc4a==null||(_0x43bc46=_0x1bfc4a[_0x207bbf(0x397)])==null?void 0x0:_0x43bc46[_0x207bbf(0x309)][_0x207bbf(0x458)])??0x0,'sorts':(_0x1bfc4a==null||(_0x3053be=_0x1bfc4a[_0x207bbf(0x3db)])==null?void 0x0:_0x3053be[_0x207bbf(0x458)])??0x0});return this[_0x207bbf(0x456)][_0x207bbf(0x1a1)](_0x482e95,{'table':_0x562d52,'rows':_0x14dd20,'baseRows':_0x5b63e3,'globalRevision':this['_globalRevision'],'tableRevision':this[_0x207bbf(0x362)](_0x562d52['id']),'cellRevision':_0xd2733b}),_0x14dd20;},{'tableId':_0x562d52['id'],'viewId':_0x1bfc4a==null?void 0x0:_0x1bfc4a['id'],'viewType':_0x1bfc4a==null?void 0x0:_0x1bfc4a[_0x43d4e0(0x33a)],'records':((_0x7f3855=_0x562d52[_0x43d4e0(0x22d)])==null?void 0x0:_0x7f3855[_0x43d4e0(0x458)])??Object['keys'](_0x562d52[_0x43d4e0(0x45a)]??{})[_0x43d4e0(0x458)]});}[_0x354fcb(0x32d)](_0x20daca){const _0x1f88ba=_0x354fcb;var _0x353cc1;return I(_0x1f88ba(0x3a8),()=>{const _0x5e2f24=_0x1f88ba;var _0x1518fb;let _0x12aee1=this[_0x5e2f24(0x423)](_0x20daca['id']),_0x8555c9=this[_0x5e2f24(0x2a6)][_0x5e2f24(0x4a8)](_0x20daca['id']);if(_0x8555c9&&_0x8555c9[_0x5e2f24(0x26d)]===this[_0x5e2f24(0x4f2)]&&_0x8555c9['tableRevision']===this[_0x5e2f24(0x362)](_0x20daca['id'])){if(_0x8555c9['cellRevision']===_0x12aee1&&fi(_0x8555c9[_0x5e2f24(0x513)],_0x20daca))return _0x8555c9[_0x5e2f24(0x513)]=_0x20daca,_0x8555c9[_0x5e2f24(0x490)];let _0x298a1b=this[_0x5e2f24(0x328)](_0x20daca,_0x8555c9,_0x12aee1);if(_0x298a1b)return _0x298a1b;}ui(_0x20daca)||L(_0x20daca);let _0x15285d=(_0x1518fb=_0x20daca[_0x5e2f24(0x22d)])!=null&&_0x1518fb['length']?_0x20daca[_0x5e2f24(0x22d)]:hi(_0x20daca[_0x5e2f24(0x45a)]),_0x4d9f00=I('BaseProjection.materializeTableRows',()=>{const _0x2acc2d=_0x5e2f24;let _0x281a81=[];for(let _0x10cc2f of _0x15285d){let _0x5d287c=_0x20daca[_0x2acc2d(0x45a)][_0x10cc2f];if(!_0x5d287c)continue;let _0x442dba={};for(let _0x344093 of _0x20daca[_0x2acc2d(0x1e1)])_0x442dba[_0x344093]=yt(_0x20daca,_0x5d287c['id'],_0x344093);_0x281a81[_0x2acc2d(0x1f3)]({'recordId':_0x5d287c['id'],'values':_0x442dba});}return _0x281a81;},{'tableId':_0x20daca['id'],'records':_0x15285d[_0x5e2f24(0x458)],'fields':_0x20daca[_0x5e2f24(0x1e1)][_0x5e2f24(0x458)]});return this[_0x5e2f24(0x2a6)][_0x5e2f24(0x1a1)](_0x20daca['id'],{'table':_0x20daca,'rows':_0x4d9f00,'rowIndexById':li(_0x4d9f00),'globalRevision':this[_0x5e2f24(0x4f2)],'tableRevision':this[_0x5e2f24(0x362)](_0x20daca['id']),'cellRevision':_0x12aee1}),_0x4d9f00;},{'tableId':_0x20daca['id'],'records':((_0x353cc1=_0x20daca[_0x1f88ba(0x22d)])==null?void 0x0:_0x353cc1[_0x1f88ba(0x458)])??Object[_0x1f88ba(0x51b)](_0x20daca[_0x1f88ba(0x45a)]??{})['length'],'fields':_0x20daca[_0x1f88ba(0x1e1)]['length']});}[_0x354fcb(0x328)](_0x4adf0f,_0x338ed7,_0x6d7ec6){const _0x326f5a=_0x354fcb;let _0x44566d=(this[_0x326f5a(0x299)][_0x326f5a(0x4a8)](_0x4adf0f['id'])??[])[_0x326f5a(0x397)](_0x6aa7e1=>_0x6aa7e1[_0x326f5a(0x30a)]>_0x338ed7[_0x326f5a(0x1e4)]&&_0x6aa7e1[_0x326f5a(0x30a)]<=_0x6d7ec6);if(!_0x44566d[_0x326f5a(0x458)])return _0x338ed7['table']===_0x4adf0f?_0x338ed7['rows']:null;let _0x1e7f75=_0x338ed7['rows'],_0x4e4c99=new Map();for(let _0x25b6ec of _0x44566d){let _0x3e6113=_0x4e4c99[_0x326f5a(0x4a8)](_0x25b6ec[_0x326f5a(0x4bb)]);_0x3e6113||(_0x3e6113=new Set(),_0x4e4c99[_0x326f5a(0x1a1)](_0x25b6ec[_0x326f5a(0x4bb)],_0x3e6113)),_0x3e6113[_0x326f5a(0x35e)](_0x25b6ec[_0x326f5a(0x46e)]);}for(let [_0x41a414,_0x58ff41]of _0x4e4c99){if(!_0x4adf0f[_0x326f5a(0x45a)][_0x41a414])return null;let _0x3d547d=_0x338ed7['rowIndexById']['get'](_0x41a414);if(_0x3d547d==null)return null;_0x1e7f75===_0x338ed7[_0x326f5a(0x490)]&&(_0x1e7f75=[..._0x338ed7['rows']]);let _0x3e37be=_0x1e7f75[_0x3d547d],_0x12f57b={..._0x3e37be[_0x326f5a(0x1da)]};_0x58ff41[_0x326f5a(0x461)](_0x5744db=>{_0x12f57b[_0x5744db]=yt(_0x4adf0f,_0x41a414,_0x5744db);}),_0x1e7f75[_0x3d547d]={..._0x3e37be,'values':_0x12f57b};}let _0x540d94={'table':_0x4adf0f,'rows':_0x1e7f75,'rowIndexById':_0x338ed7[_0x326f5a(0x4de)],'globalRevision':this[_0x326f5a(0x4f2)],'tableRevision':this[_0x326f5a(0x362)](_0x4adf0f['id']),'cellRevision':_0x6d7ec6};return this[_0x326f5a(0x2a6)][_0x326f5a(0x1a1)](_0x4adf0f['id'],_0x540d94),this['_cellInvalidations']['set'](_0x4adf0f['id'],(this[_0x326f5a(0x299)][_0x326f5a(0x4a8)](_0x4adf0f['id'])??[])['filter'](_0x41b44f=>_0x41b44f['revision']>Math[_0x326f5a(0x1b3)](0x0,_0x6d7ec6-0x100))),_0x1e7f75;}[_0x354fcb(0x291)](_0x536e7b,_0x128357){const _0x5d2ca9=_0x354fcb;let _0x541847=new Map(_0x128357[_0x5d2ca9(0x29b)](_0x116f61=>[_0x116f61['recordId'],_0x116f61])),_0x1e4e6c=!0x1,_0x4afdd3=_0x536e7b[_0x5d2ca9(0x29b)](_0x1935f5=>{const _0x3908b3=_0x5d2ca9;let _0x5372a2=_0x541847['get'](_0x1935f5[_0x3908b3(0x4bb)]);return _0x5372a2?_0x5372a2===_0x1935f5?_0x1935f5:(_0x1e4e6c=!0x0,_0x5372a2):_0x1935f5;});return _0x1e4e6c?_0x4afdd3:_0x536e7b;}[_0x354fcb(0x2b8)](_0x554a14,_0x111c98,_0x39867a,_0x38d6d3){const _0x53e283=_0x354fcb;return!_0x38d6d3['size']||_0x111c98===_0x39867a?!0x1:_0x39867a-_0x111c98>0x100||(this[_0x53e283(0x299)][_0x53e283(0x4a8)](_0x554a14)??[])['some'](_0x5b06eb=>_0x5b06eb[_0x53e283(0x30a)]>_0x111c98&&_0x5b06eb[_0x53e283(0x30a)]<=_0x39867a&&_0x38d6d3['has'](_0x5b06eb[_0x53e283(0x46e)]));}[_0x354fcb(0x427)](_0x59358b){const _0x1e0679=_0x354fcb;var _0x49b6e2,_0x475961;let _0x1bb374=new Set();return _0x59358b==null||(_0x49b6e2=_0x59358b[_0x1e0679(0x397)])==null||_0x49b6e2['conditions'][_0x1e0679(0x461)](_0x59afcf=>_0x1bb374[_0x1e0679(0x35e)](_0x59afcf[_0x1e0679(0x46e)])),_0x59358b==null||(_0x475961=_0x59358b[_0x1e0679(0x3db)])==null||_0x475961[_0x1e0679(0x461)](_0xa6f9e9=>_0x1bb374[_0x1e0679(0x35e)](_0xa6f9e9[_0x1e0679(0x46e)])),_0x1bb374;}['_groupProjectionFieldIds'](_0x1e84ad){const _0x3eb4cf=_0x354fcb;var _0x298f7b;let _0x35ffa7=this[_0x3eb4cf(0x427)](_0x1e84ad);return(_0x298f7b=_0x1e84ad['group'])==null||_0x298f7b['forEach'](_0x17776e=>_0x35ffa7[_0x3eb4cf(0x35e)](_0x17776e[_0x3eb4cf(0x46e)])),_0x35ffa7;}[_0x354fcb(0x1ca)](_0x13ec43,_0x3594fe,_0x8258fd){const _0x245080=_0x354fcb;let _0x52d761=_0x3594fe==null?void 0x0:_0x3594fe[_0x245080(0x397)];if(!(_0x52d761!=null&&_0x52d761[_0x245080(0x309)]['length']))return _0x8258fd;let _0xe9b056=_0x52d761[_0x245080(0x309)][_0x245080(0x397)](_0x27a9eb=>!Ii(_0x27a9eb));return _0xe9b056[_0x245080(0x458)]?_0x8258fd[_0x245080(0x397)](_0x291575=>{const _0x506d25=_0x245080;if(_0x52d761[_0x506d25(0x2d7)]===_0x12daa6['OR']){for(let _0x1a2d50 of _0xe9b056){let _0x1353e3=_0x13ec43['fields'][_0x1a2d50[_0x506d25(0x46e)]];if(!_0x1353e3||this[_0x506d25(0x2c4)][_0x506d25(0x4a8)](_0x1353e3['type'])[_0x506d25(0x397)](_0x291575[_0x506d25(0x1da)][_0x1353e3['id']],_0x1a2d50[_0x506d25(0x320)],_0x1a2d50[_0x506d25(0x526)],_0x1353e3))return!0x0;}return!0x1;}for(let _0x3971c7 of _0xe9b056){let _0x2d5bbc=_0x13ec43[_0x506d25(0x480)][_0x3971c7[_0x506d25(0x46e)]];if(_0x2d5bbc&&!this[_0x506d25(0x2c4)]['get'](_0x2d5bbc[_0x506d25(0x33a)])['filter'](_0x291575[_0x506d25(0x1da)][_0x2d5bbc['id']],_0x3971c7[_0x506d25(0x320)],_0x3971c7[_0x506d25(0x526)],_0x2d5bbc))return!0x1;}return!0x0;}):_0x8258fd;}[_0x354fcb(0x198)](_0x29bc21,_0x4a8b74,_0xc885f6){const _0x1e2a96=_0x354fcb;let _0x4e7303=(_0x4a8b74==null?void 0x0:_0x4a8b74[_0x1e2a96(0x3db)])??[];if(!_0x4e7303['length'])return _0xc885f6;let _0xd3e9d3=_0x4e7303['flatMap'](_0x49341d=>{const _0x294c37=_0x1e2a96;let _0x36f102=_0x29bc21[_0x294c37(0x480)][_0x49341d['fieldId']];return _0x36f102?[{..._0x49341d,'field':_0x36f102}]:[];});return _0xd3e9d3[_0x1e2a96(0x458)]?this['_canUseFastSort'](_0xd3e9d3)?this[_0x1e2a96(0x488)](_0xd3e9d3,_0xc885f6):[..._0xc885f6][_0x1e2a96(0x3db)]((_0x5a52d7,_0x2d50cc)=>{const _0x129a9e=_0x1e2a96;for(let _0x16734f of _0xd3e9d3){let _0x194d57=_0x16734f[_0x129a9e(0x28b)],_0xe9719d=this[_0x129a9e(0x2c4)]['get'](_0x194d57[_0x129a9e(0x33a)])[_0x129a9e(0x39a)](_0x5a52d7[_0x129a9e(0x1da)][_0x194d57['id']],_0x2d50cc[_0x129a9e(0x1da)][_0x194d57['id']],_0x194d57);if(_0xe9719d!==0x0)return _0x16734f[_0x129a9e(0x4ee)]===_0x7258f[_0x129a9e(0x321)]?-_0xe9719d:_0xe9719d;}return 0x0;}):_0xc885f6;}[_0x354fcb(0x2a5)](_0x4d9710){const _0xcf3d22=_0x354fcb;return _0x4d9710[_0xcf3d22(0x1b6)](_0x3c46d3=>ai['has'](_0x3c46d3[_0xcf3d22(0x28b)][_0xcf3d22(0x33a)]));}[_0x354fcb(0x488)](_0x47aaa3,_0x23c674){const _0x236da0=_0x354fcb;return _0x23c674[_0x236da0(0x29b)]((_0x5aa350,_0x8a3454)=>({'row':_0x5aa350,'index':_0x8a3454,'keys':_0x47aaa3[_0x236da0(0x29b)](_0xf2568c=>_0x5aa350[_0x236da0(0x1da)][_0xf2568c['fieldId']])}))[_0x236da0(0x3db)]((_0x1c4516,_0x40874c)=>{const _0x34e3be=_0x236da0;for(let _0x2f5fcc=0x0;_0x2f5fcc<_0x47aaa3[_0x34e3be(0x458)];_0x2f5fcc++){let _0x630521=Fi(_0x1c4516[_0x34e3be(0x51b)][_0x2f5fcc],_0x40874c[_0x34e3be(0x51b)][_0x2f5fcc]);if(_0x630521!==0x0)return _0x47aaa3[_0x2f5fcc][_0x34e3be(0x4ee)]===_0x7258f['DESC']?-_0x630521:_0x630521;}return _0x1c4516[_0x34e3be(0x250)]-_0x40874c['index'];})[_0x236da0(0x29b)](_0x3999cb=>_0x3999cb[_0x236da0(0x21b)]);}[_0x354fcb(0x3a3)](_0x29773e,_0x5b1552,_0x12c958){const _0x2c2803=_0x354fcb;var _0x166fb7;return I(_0x2c2803(0x34e),()=>{const _0x46988a=_0x2c2803;var _0x3d2b37;if(!((_0x3d2b37=_0x5b1552[_0x46988a(0x1b9)])!=null&&_0x3d2b37[_0x46988a(0x458)]))return[];let _0x9a0d54=_0x5b1552['group'][_0x46988a(0x397)](_0x129bce=>_0x29773e['fields'][_0x129bce[_0x46988a(0x46e)]]);if(!_0x9a0d54[_0x46988a(0x458)])return[];let _0x20b42d=this[_0x46988a(0x1b2)](_0x29773e['id'],_0x5b1552,_0x9a0d54),_0x1e57dc=this['_getCellRevision'](_0x29773e['id']),_0xa35966=this[_0x46988a(0x4f6)]['get'](_0x20b42d);if(_0xa35966&&_0xa35966[_0x46988a(0x26d)]===this[_0x46988a(0x4f2)]&&_0xa35966[_0x46988a(0x306)]===this[_0x46988a(0x362)](_0x29773e['id'])){if(_0xa35966[_0x46988a(0x1e4)]===_0x1e57dc&&_0xa35966[_0x46988a(0x490)]===_0x12c958)return _0xa35966['groups'];if(_0xa35966['cellRevision']!==_0x1e57dc&&!this['_cellInvalidationsTouchFields'](_0x29773e['id'],_0xa35966[_0x46988a(0x1e4)],_0x1e57dc,this[_0x46988a(0x3d3)](_0x5b1552)))return this[_0x46988a(0x4f6)][_0x46988a(0x1a1)](_0x20b42d,{..._0xa35966,'rows':_0x12c958,'cellRevision':_0x1e57dc}),_0xa35966[_0x46988a(0x428)];}let _0x4d8f85=new Map();for(let _0x26af6f of _0x12c958){let _0x3053a5=_0x4d8f85,_0x314315='';for(let _0x5d918e=0x0;_0x5d918e<_0x9a0d54['length'];_0x5d918e++){let _0x3798af=_0x9a0d54[_0x5d918e],_0x23bc09=_0x26af6f[_0x46988a(0x1da)][_0x3798af[_0x46988a(0x46e)]],_0x1fac58=ci(_0x23bc09),_0x3649ca=_0x3798af[_0x46988a(0x46e)]+'\x00'+_0x1fac58,_0x3ac2f5=_0x314315+'/'+_0x3798af['fieldId']+':'+_0x1fac58,_0x616c19=_0x3053a5[_0x46988a(0x4a8)](_0x3649ca);_0x616c19||(_0x616c19={'key':_0x1fac58,'value':_0x23bc09,'path':_0x3ac2f5,'label':_0x1fac58||_0x46988a(0x350),'fieldId':_0x3798af[_0x46988a(0x46e)],'level':_0x5d918e,'recordIds':[],'children':new Map()},_0x3053a5[_0x46988a(0x1a1)](_0x3649ca,_0x616c19)),_0x616c19[_0x46988a(0x51f)]['push'](_0x26af6f[_0x46988a(0x4bb)]),_0x3053a5=_0x616c19[_0x46988a(0x37f)],_0x314315=_0x3ac2f5;}}let _0x3b4cd9=this[_0x46988a(0x4b9)](_0x9a0d54,_0x4d8f85,0x0);return this[_0x46988a(0x4f6)]['set'](_0x20b42d,{'table':_0x29773e,'rows':_0x12c958,'groups':_0x3b4cd9,'globalRevision':this[_0x46988a(0x4f2)],'tableRevision':this[_0x46988a(0x362)](_0x29773e['id']),'cellRevision':_0x1e57dc}),_0x3b4cd9;},{'tableId':_0x29773e['id'],'viewId':_0x5b1552['id'],'viewType':_0x5b1552['type'],'rows':_0x12c958[_0x2c2803(0x458)],'groupFields':((_0x166fb7=_0x5b1552['group'])==null?void 0x0:_0x166fb7[_0x2c2803(0x458)])??0x0});}['_materializeGroups'](_0x28d864,_0x232be8,_0xc4681b){const _0x1e4f9d=_0x354fcb;var _0x4cb2c0;let _0x547ed8=Array[_0x1e4f9d(0x4dd)](_0x232be8['values']()),_0x409f79=(_0x4cb2c0=_0x28d864[_0xc4681b])==null?void 0x0:_0x4cb2c0[_0x1e4f9d(0x4ee)];return _0x409f79&&_0x547ed8['sort']((_0x4aa0ba,_0x5da257)=>{const _0x1dfb23=_0x1e4f9d;let _0x1d1f98=_0x4aa0ba['key'][_0x1dfb23(0x4bc)](_0x5da257[_0x1dfb23(0x3f2)]);return _0x409f79===_0x7258f['DESC']?-_0x1d1f98:_0x1d1f98;}),_0x547ed8[_0x1e4f9d(0x29b)](_0x218e7f=>({'key':_0x218e7f[_0x1e4f9d(0x3f2)],'value':_0x218e7f[_0x1e4f9d(0x416)],'path':_0x218e7f[_0x1e4f9d(0x220)],'label':_0x218e7f['label'],'fieldId':_0x218e7f[_0x1e4f9d(0x46e)],'level':_0x218e7f[_0x1e4f9d(0x329)],'recordIds':_0x218e7f['recordIds'],'children':this[_0x1e4f9d(0x4b9)](_0x28d864,_0x218e7f[_0x1e4f9d(0x37f)],_0xc4681b+0x1)}));}[_0x354fcb(0x431)](_0x5d3aac,_0x216c90,_0x4cdb37){const _0x1df03b=_0x354fcb;let _0x4f7076=_0x4cdb37??_0x5d3aac[_0x1df03b(0x4cf)],_0x2a4e13=_0x216c90[_0x1df03b(0x1da)][_0x4f7076];return _0x2a4e13==null?'':String(_0x2a4e13);}[_0x354fcb(0x174)](_0x58f786){const _0x28f600=_0x354fcb;if(Array[_0x28f600(0x354)](_0x58f786))return _0x58f786[_0x28f600(0x29b)](String);if(typeof _0x58f786==_0x28f600(0x471)&&_0x58f786)return[_0x58f786];}['_capabilities'](_0x111d55){const _0x11ece0=_0x354fcb;return this[_0x11ece0(0x2c4)][_0x11ece0(0x4a8)](_0x111d55[_0x11ece0(0x33a)])[_0x11ece0(0x43a)](_0x111d55);}};si=X([Y(0x0,_0x42d70a(mr))],si);function ci(_0x50b6a9){return _0x50b6a9==null?'':String(_0x50b6a9);}function li(_0x1aeb85){const _0x2c2c3c=_0x354fcb;return new Map(_0x1aeb85[_0x2c2c3c(0x29b)]((_0x306cda,_0x7ec07e)=>[_0x306cda[_0x2c2c3c(0x4bb)],_0x7ec07e]));}function ui(_0x12884d){const _0x19ec06=_0x354fcb;return!!(Array[_0x19ec06(0x354)](_0x12884d[_0x19ec06(0x22d)])&&_0x12884d[_0x19ec06(0x290)]&&_0x12884d['rowId']&&_0x12884d[_0x19ec06(0x288)]&&_0x12884d['colId']&&_0x12884d[_0x19ec06(0x1cf)]);}function di(_0x4b31b5){const _0x293b4e=_0x354fcb;let _0x331628=(_0x4b31b5==null?void 0x0:_0x4b31b5[_0x293b4e(0x309)][_0x293b4e(0x397)](_0xde636e=>!Ii(_0xde636e)))??[];return!_0x4b31b5||!_0x331628[_0x293b4e(0x458)]?null:{'conjunction':_0x4b31b5[_0x293b4e(0x2d7)],'conditions':_0x331628[_0x293b4e(0x29b)](_0x4913aa=>({'fieldId':_0x4913aa[_0x293b4e(0x46e)],'operator':_0x4913aa['operator'],'operand':_0x4913aa['operand']}))};}function fi(_0x2e1bce,_0x344a65){const _0x1584c3=_0x354fcb;return _0x2e1bce[_0x1584c3(0x45a)]===_0x344a65[_0x1584c3(0x45a)]&&_0x2e1bce[_0x1584c3(0x22d)]===_0x344a65[_0x1584c3(0x22d)]&&_0x2e1bce[_0x1584c3(0x480)]===_0x344a65[_0x1584c3(0x480)]&&_0x2e1bce[_0x1584c3(0x1e1)]===_0x344a65['fieldOrder']&&_0x2e1bce[_0x1584c3(0x1cf)]===_0x344a65['cellData']&&_0x2e1bce[_0x1584c3(0x290)]===_0x344a65[_0x1584c3(0x290)]&&_0x2e1bce[_0x1584c3(0x474)]===_0x344a65[_0x1584c3(0x474)]&&_0x2e1bce['colIndex']===_0x344a65[_0x1584c3(0x288)]&&_0x2e1bce[_0x1584c3(0x242)]===_0x344a65['colId'];}function pi(_0x5d2d9a){const _0x35da03=_0x354fcb;return _0x5d2d9a!=null&&_0x5d2d9a['length']?_0x5d2d9a[_0x35da03(0x29b)](_0x54e20b=>({'fieldId':_0x54e20b[_0x35da03(0x46e)],'direction':_0x54e20b[_0x35da03(0x4ee)]})):null;}function mi(_0x13c98c){const _0x4b4b2a=_0x354fcb;if(typeof _0x13c98c!='object'||!_0x13c98c)return JSON[_0x4b4b2a(0x449)](_0x13c98c)??_0x4b4b2a(0x217);if(Array['isArray'](_0x13c98c))return'['+_0x13c98c[_0x4b4b2a(0x29b)](mi)[_0x4b4b2a(0x4b5)](',')+']';let _0x4f962b=_0x13c98c;return'{'+Object[_0x4b4b2a(0x51b)](_0x4f962b)['sort']()[_0x4b4b2a(0x29b)](_0x4dd274=>JSON[_0x4b4b2a(0x449)](_0x4dd274)+':'+mi(_0x4f962b[_0x4dd274]))[_0x4b4b2a(0x4b5)](',')+'}';}function hi(_0x2a8175){const _0x2c7cae=_0x354fcb;let _0x1ed9e1=Object[_0x2c7cae(0x1da)](_0x2a8175)['sort']((_0x42b5df,_0x148e8f)=>_0x42b5df[_0x2c7cae(0x3ef)][_0x2c7cae(0x4bc)](_0x148e8f[_0x2c7cae(0x3ef)])),_0x50de4b=[];for(let _0x22663c of _0x1ed9e1)_0x50de4b['push'](_0x22663c['id']);return _0x50de4b;}function gi(_0x301e8b){const _0x5b41a3=_0x354fcb;return{'weekdays':Array[_0x5b41a3(0x354)](_0x301e8b==null?void 0x0:_0x301e8b[_0x5b41a3(0x226)])&&_0x301e8b[_0x5b41a3(0x226)]['length']?[...new Set(_0x301e8b[_0x5b41a3(0x226)][_0x5b41a3(0x397)](_0x3b7e7d=>Number['isInteger'](_0x3b7e7d)&&_0x3b7e7d>=0x1&&_0x3b7e7d<=0x7))]:[0x1,0x2,0x3,0x4,0x5],'exceptions':Array[_0x5b41a3(0x354)](_0x301e8b==null?void 0x0:_0x301e8b[_0x5b41a3(0x1e6)])?_0x301e8b[_0x5b41a3(0x1e6)]['flatMap'](_0x95cf75=>!_0x95cf75||!Number['isFinite'](_0x95cf75[_0x5b41a3(0x219)])?[]:[{'id':String(_0x95cf75['id']||_0x5b41a3(0x2f0)+_0x95cf75[_0x5b41a3(0x219)]),'date':Z(Number(_0x95cf75['date'])),'name':String(_0x95cf75['name']||'Working\x20day'),'type':_0x95cf75[_0x5b41a3(0x33a)]==='working'?'working':_0x5b41a3(0x2bc)}]):[]};}function _i(_0x1fbf28,_0x129237,_0x50e113,_0x4f6995){let _0x30ba7a=xi(_0x1fbf28,_0x129237),_0x591510=Si(_0x1fbf28,_0x50e113),_0x8c44df=vi(_0x1fbf28,_0x30ba7a,_0x591510,_0x4f6995);return{'scale':_0x1fbf28,'start':_0x30ba7a,'end':_0x591510,'unitWidth':bi(_0x1fbf28),'majorHeaders':yi(_0x1fbf28,_0x30ba7a,_0x591510),'columns':_0x8c44df};}function vi(_0x17ddff,_0x580f27,_0x4a16a1,_0x11481f){const _0x1198fb=_0x354fcb;let _0x291c72=[],_0x75cea0=_0x580f27;for(;_0x75cea0<_0x4a16a1;){let _0x40ac36=_0x17ddff===_0x1198fb(0x20c)?ji(_0x75cea0,0x7):_0x17ddff===_0x1198fb(0x377)?Mi(_0x75cea0,0x1):ji(_0x75cea0,0x1);_0x291c72['push']({'id':_0x17ddff+'-'+_0x75cea0,'label':Ci(_0x17ddff,_0x75cea0,_0x40ac36),'majorLabel':wi(_0x17ddff,_0x75cea0),'start':_0x75cea0,'end':_0x40ac36,'nonWorking':Ei(_0x75cea0,_0x40ac36,_0x11481f)}),_0x75cea0=_0x40ac36;}return _0x291c72;}function yi(_0xb54134,_0x762076,_0x100fe5){const _0x557ec7=_0x354fcb;let _0x5d3328=[],_0x539bb6=_0xb54134===_0x557ec7(0x377)?Ai(_0x762076):ki(_0x762076);for(;_0x539bb6<_0x100fe5;){let _0x1f67ae=_0xb54134===_0x557ec7(0x377)?Ni(_0x539bb6,0x1):Mi(_0x539bb6,0x1);_0x5d3328['push']({'id':_0x557ec7(0x319)+_0x539bb6,'label':_0xb54134===_0x557ec7(0x377)?String(new Date(_0x539bb6)[_0x557ec7(0x50c)]()):Pi(_0x539bb6),'start':_0x539bb6,'end':_0x1f67ae}),_0x539bb6=_0x1f67ae;}return _0x5d3328;}function bi(_0x209815){const _0x11da21=_0x354fcb;switch(_0x209815){case _0x11da21(0x1fc):return 0xac;case _0x11da21(0x20c):return 0xac;case _0x11da21(0x377):return 0x88;default:return 0x56;}}function xi(_0x4ad704,_0x1b392c){const _0x4a0306=_0x354fcb;return _0x4ad704===_0x4a0306(0x377)?Ai(_0x1b392c):_0x4ad704==='quarter'?Oi(_0x1b392c):Z(_0x1b392c);}function Si(_0x35a9f3,_0x24b15e){const _0x4b45fc=_0x354fcb;return _0x35a9f3===_0x4b45fc(0x377)?Ni(Ai(_0x24b15e),0x1):_0x35a9f3===_0x4b45fc(0x20c)?ji(Oi(_0x24b15e),0x7):ji(Z(_0x24b15e),0x1);}function Ci(_0x2a26f5,_0x4e660d,_0x5836c5){const _0x17d921=_0x354fcb;let _0x486c45=new Date(_0x4e660d);return _0x2a26f5===_0x17d921(0x20c)?_0x486c45[_0x17d921(0x1cc)]()+'-'+new Date(_0x5836c5-oi)[_0x17d921(0x1cc)]():_0x2a26f5==='year'?_0x486c45['toLocaleString'](_0x17d921(0x1d5),{'month':_0x17d921(0x2ea),'timeZone':_0x17d921(0x386)}):String(_0x486c45[_0x17d921(0x1cc)]());}function wi(_0x1098b0,_0xb6a90e){const _0x204bc6=_0x354fcb;return _0x1098b0===_0x204bc6(0x377)?String(new Date(_0xb6a90e)[_0x204bc6(0x50c)]()):Pi(_0xb6a90e);}function Ti(_0x386608,_0x369235,_0x582eb9){let _0x2b8c22=gi(_0x582eb9),_0xb70df3=0x0;for(let _0x1eba4b=Z(_0x386608);_0x1eba4b<=Z(_0x369235);_0x1eba4b=ji(_0x1eba4b,0x1))Di(_0x1eba4b,_0x2b8c22)||_0xb70df3++;return _0xb70df3;}function Ei(_0x32765b,_0x260052,_0x210fc3){if(!_0x210fc3)return!0x1;let _0x3d1a34=gi(_0x210fc3);for(let _0x5095ce=Z(_0x32765b);_0x5095ce<_0x260052;_0x5095ce=ji(_0x5095ce,0x1))if(!Di(_0x5095ce,_0x3d1a34))return!0x1;return!0x0;}function Di(_0xf7a951,_0x55d36a){const _0x335225=_0x354fcb;let _0x4ce47a=Z(_0xf7a951),_0x13978f=_0x55d36a[_0x335225(0x1e6)]['find'](_0x2271ba=>Z(_0x2271ba[_0x335225(0x219)])===_0x4ce47a);if(_0x13978f)return _0x13978f[_0x335225(0x33a)]===_0x335225(0x2bc);let _0x38d536=new Date(_0x4ce47a)[_0x335225(0x452)](),_0x133201=_0x38d536===0x0?0x7:_0x38d536;return!_0x55d36a[_0x335225(0x226)][_0x335225(0x231)](_0x133201);}function Z(_0x633eab){const _0x2097e1=_0x354fcb;let _0x4c9261=new Date(_0x633eab);return Date['UTC'](_0x4c9261[_0x2097e1(0x50c)](),_0x4c9261['getUTCMonth'](),_0x4c9261[_0x2097e1(0x1cc)]());}function Oi(_0x3c2ada){const _0x4c00fa=_0x354fcb;let _0x427423=Z(_0x3c2ada),_0x262fed=new Date(_0x427423)[_0x4c00fa(0x452)]();return ji(_0x427423,-(_0x262fed===0x0?0x6:_0x262fed-0x1));}function ki(_0x3b58e7){const _0x4298ac=_0x354fcb;let _0x520478=new Date(_0x3b58e7);return Date[_0x4298ac(0x386)](_0x520478[_0x4298ac(0x50c)](),_0x520478[_0x4298ac(0x450)](),0x1);}function Ai(_0x12b1dd){const _0x3e8467=_0x354fcb;let _0x40f0c9=new Date(_0x12b1dd);return Date[_0x3e8467(0x386)](_0x40f0c9['getUTCFullYear'](),0x0,0x1);}function ji(_0x309724,_0x4b0688){return _0x309724+_0x4b0688*oi;}function Mi(_0x5e331e,_0x2527d6){const _0x703c2b=_0x354fcb;let _0x5534b6=new Date(_0x5e331e);return Date[_0x703c2b(0x386)](_0x5534b6[_0x703c2b(0x50c)](),_0x5534b6['getUTCMonth']()+_0x2527d6,0x1);}function Ni(_0x33f513,_0x34b02a){const _0xf33ca3=_0x354fcb;let _0xb37a58=new Date(_0x33f513);return Date[_0xf33ca3(0x386)](_0xb37a58[_0xf33ca3(0x50c)]()+_0x34b02a,0x0,0x1);}function Pi(_0x4ec50b){const _0x366cf9=_0x354fcb;let _0x154dda=new Date(_0x4ec50b);return _0x154dda[_0x366cf9(0x2f1)]('en-US',{'month':_0x366cf9(0x2ea),'timeZone':'UTC'})+'\x20'+_0x154dda['getUTCFullYear']();}function Fi(_0x400543,_0x365e5c){const _0x56d1a3=_0x354fcb;if(_0x400543==null&&_0x365e5c==null)return 0x0;if(_0x400543==null)return-0x1;if(_0x365e5c==null)return 0x1;if(typeof _0x400543==_0x56d1a3(0x364)||typeof _0x365e5c=='boolean')return Number(_0x400543===!0x0)-Number(_0x365e5c===!0x0);let _0x13a2b5=Number(_0x400543),_0x2f2316=Number(_0x365e5c),_0x3cf090=Number[_0x56d1a3(0x2c3)](_0x13a2b5),_0x2526e2=Number[_0x56d1a3(0x2c3)](_0x2f2316);return _0x3cf090&&_0x2526e2?_0x13a2b5-_0x2f2316:_0x3cf090?0x1:_0x2526e2?-0x1:String(_0x400543)[_0x56d1a3(0x4bc)](String(_0x365e5c));}function Ii(_0x57ada0){const _0x218a6a=_0x354fcb;if(_0x57ada0[_0x218a6a(0x320)]!=='is'&&_0x57ada0[_0x218a6a(0x320)]!==_0x218a6a(0x521))return!0x1;let _0x1382f1=_0x57ada0[_0x218a6a(0x526)];return _0x1382f1==null?!0x0:typeof _0x1382f1==_0x218a6a(0x471)?_0x1382f1[_0x218a6a(0x3bc)]()==='':Array['isArray'](_0x1382f1)?_0x1382f1[_0x218a6a(0x458)]===0x0:!0x1;}function Li(_0x41902d,_0x2ea94f){const _0x4f0822=_0x354fcb;var _0x5c44e9;let _0x452c72=Array[_0x4f0822(0x354)]((_0x5c44e9=_0x41902d['config'])==null?void 0x0:_0x5c44e9['options'])?_0x41902d[_0x4f0822(0x342)]['options']:[];for(let _0x143cf5 of _0x452c72){if(_0x143cf5==null)continue;if(typeof _0x143cf5==_0x4f0822(0x471)){if(_0x143cf5===_0x2ea94f)return{'id':_0x143cf5,'name':_0x143cf5};continue;}let _0x3613ac=_0x143cf5,_0x29ec7d=String(_0x3613ac['id']??_0x3613ac[_0x4f0822(0x1e0)]??''),_0x2d9dab=String(_0x3613ac['name']??_0x3613ac['id']??_0x29ec7d);if(_0x29ec7d===_0x2ea94f||_0x2d9dab===_0x2ea94f)return{'id':_0x29ec7d,'name':_0x2d9dab,'color':_0x3613ac['color']==null?void 0x0:String(_0x3613ac[_0x4f0822(0x190)])};}return null;}let Ri=function(_0x5f22d8){const _0x59715e=_0x354fcb;return _0x5f22d8[_0x59715e(0x52c)]=_0x59715e(0x26f),_0x5f22d8['DeleteView']=_0x59715e(0x438),_0x5f22d8;}({});const Q={'id':_0x354fcb(0x4d6),'type':_0x3e23cf[_0x354fcb(0x251)],'handler'(_0x4df3ac,_0xd147fd){const _0xe66cd2=_0x354fcb;let {unitId:_0x57996a,op:_0x2d5027}=_0xd147fd,_0x2f263c=_0x4df3ac['get'](_0x3414e2)[_0xe66cd2(0x2e5)](_0x57996a,_0x28d752['UNIVER_BASE']);if(!_0x2f263c)return!0x1;let _0x1ea1f2=_0x2f263c[_0xe66cd2(0x1f9)](),_0x48f855=new z(),_0x46f6aa=_0x48f855[_0xe66cd2(0x2b9)](_0x2d5027),_0x94ded4=_0x48f855['applyOp'](_0x1ea1f2,_0x2d5027);return _0x2f263c[_0xe66cd2(0x2ff)](_0x94ded4),zi(_0x94ded4,_0x46f6aa,_0x4df3ac[_0xe66cd2(0x4a8)](ii)),!0x0;}};function zi(_0x5bfffd,_0x47ea27,_0x52940b){const _0xa5050=_0x354fcb;let _0x5e80c1=new Set(),_0x19b578=new Set(),_0x4a1d56=new Set();for(let _0x3bee88 of _0x47ea27){if(_0x3bee88[_0xa5050(0x2d9)]===_0xa5050(0x2df)&&_0x3bee88[_0xa5050(0x1c3)]&&_0x3bee88['viewId']){let _0x2d8ce6=_0x3bee88[_0xa5050(0x1c3)]+'\x00'+_0x3bee88[_0xa5050(0x366)];_0x4a1d56[_0xa5050(0x23f)](_0x2d8ce6)||(_0x4a1d56['add'](_0x2d8ce6),_0x52940b[_0xa5050(0x21a)](_0x3bee88['tableId'],_0x3bee88[_0xa5050(0x366)]));continue;}if(_0x3bee88[_0xa5050(0x2d9)]===_0xa5050(0x28b)&&_0x3bee88[_0xa5050(0x1c3)]&&_0x3bee88[_0xa5050(0x46e)]){let _0x4c3640=_0x3bee88[_0xa5050(0x1c3)]+'\x00'+_0x3bee88[_0xa5050(0x46e)];_0x19b578[_0xa5050(0x23f)](_0x4c3640)||(_0x19b578[_0xa5050(0x35e)](_0x4c3640),_0x52940b['invalidateByField'](_0x3bee88[_0xa5050(0x1c3)],_0x3bee88[_0xa5050(0x46e)]));continue;}if(_0x3bee88[_0xa5050(0x2d9)]!==_0xa5050(0x4eb)){_0x52940b[_0xa5050(0x51e)]();return;}let _0x338b35=Bi(_0x5bfffd,_0x3bee88);if(!_0x338b35){_0x52940b[_0xa5050(0x51e)]();return;}let _0x45c174=_0x338b35[_0xa5050(0x1c3)]+'\x00'+_0x338b35[_0xa5050(0x4bb)]+'\x00'+_0x338b35[_0xa5050(0x46e)];_0x5e80c1['has'](_0x45c174)||(_0x5e80c1[_0xa5050(0x35e)](_0x45c174),_0x52940b['invalidateByCell'](_0x338b35['tableId'],_0x338b35['recordId'],_0x338b35[_0xa5050(0x46e)]));}}function Bi(_0x254732,_0x280717){const _0x35eb8a=_0x354fcb;var _0x39036c,_0x1d7d93;if(!_0x280717[_0x35eb8a(0x1c3)])return null;if(_0x280717['recordId']&&_0x280717[_0x35eb8a(0x46e)])return{'tableId':_0x280717[_0x35eb8a(0x1c3)],'recordId':_0x280717[_0x35eb8a(0x4bb)],'fieldId':_0x280717[_0x35eb8a(0x46e)]};if(_0x280717[_0x35eb8a(0x21b)]==null||_0x280717[_0x35eb8a(0x26e)]==null)return null;let _0x14adcd=_0x254732['tables'][_0x280717['tableId']],_0x298dd3=_0x14adcd==null||(_0x39036c=_0x14adcd['rowId'])==null?void 0x0:_0x39036c[_0x280717[_0x35eb8a(0x21b)]],_0x57921e=_0x14adcd==null||(_0x1d7d93=_0x14adcd['colId'])==null?void 0x0:_0x1d7d93[_0x280717[_0x35eb8a(0x26e)]];return!_0x298dd3||!_0x57921e?null:{'tableId':_0x280717[_0x35eb8a(0x1c3)],'recordId':_0x298dd3,'fieldId':_0x57921e};}const Vi=_0x1ae19d[_0x354fcb(0x27e)](String[_0x354fcb(0x182)]`(?:^|\W)\$?[A-Z]{1,3}\$?\d+(?::\$?[A-Z]{1,3}\$?\d+)?(?:$|\W)`),Hi=_0x1ae19d[_0x354fcb(0x27e)](String[_0x354fcb(0x182)]`(?:'\[[^\]]+\](?:[^']|'')+'|\[[^\]]+\][^\s'!]+)!\$?[A-Z]{1,3}\$?\d+(?::\$?[A-Z]{1,3}\$?\d+)?`,'gi'),Ui=/\{([^}]+)\}/g,Wi=_0x1ae19d[_0x354fcb(0x27e)](String[_0x354fcb(0x182)]`\b([A-Z_][\w.]*)\[\[\s*#(This Row|Data)\s*\],\s*\[([^\]]+)\]\]`,'gi'),Gi=_0x1ae19d[_0x354fcb(0x27e)](String[_0x354fcb(0x182)]`\b([A-Z_][\w.]*)\[@\[([^\]]+)\]\]`,'gi'),Ki=_0x1ae19d[_0x354fcb(0x27e)](String['raw']`\b([A-Z_][\w.]*)\[([^\[\]#]+)\]`,'gi'),qi=_0x1ae19d[_0x354fcb(0x27e)](String[_0x354fcb(0x182)]`(^|[^\w\[])\[\[\s*#(This Row|Data)\s*\],\s*\[([^\]]+)\]\]`,'gi'),Ji=_0x1ae19d[_0x354fcb(0x27e)](String[_0x354fcb(0x182)]`(^|[^\w\[])\[@\[([^\]]+)\]\](?!\])`,'g'),Yi=_0x1ae19d['createRegExpFromSafeFragment'](String['raw']`(^|[^\w\[])\[@?([^\[\]#]+)\](?!\])`,'g');var Xi=class{[_0x354fcb(0x310)](_0x2c91e5,_0x577993=_0x2c91e5['id']){const _0x34854c=_0x354fcb;var _0xffab5e;let _0x5c3bdb=((_0xffab5e=_0x2c91e5[_0x34854c(0x22d)])==null?void 0x0:_0xffab5e['length'])??Object[_0x34854c(0x1da)](_0x2c91e5['records'])[_0x34854c(0x458)];return{'sheetId':_0x577993,'titleMap':new Map(_0x2c91e5[_0x34854c(0x1e1)]['map']((_0x4ebb50,_0x553858)=>{const _0x54ff01=_0x34854c;var _0x3b38fa;return[((_0x3b38fa=_0x2c91e5[_0x54ff01(0x480)][_0x4ebb50])==null?void 0x0:_0x3b38fa[_0x54ff01(0x1e0)])??_0x4ebb50,_0x553858];})),'range':{'startRow':0x0,'endRow':Math[_0x34854c(0x1b3)](0x0,_0x5c3bdb-0x1),'startColumn':0x0,'endColumn':Math[_0x34854c(0x1b3)](0x0,_0x2c91e5[_0x34854c(0x1e1)]['length']-0x1)},'showHeader':!0x1};}[_0x354fcb(0x515)](_0x235148,_0x3f4b80){const _0x51c9ff=_0x354fcb;let _0x246cde=[],_0x3f87f3=_0x3f4b80?new Set(_0x3f4b80):null,_0xa7162=_0x49362b(_0x235148);return Object['values'](_0x235148['tables'])['filter'](_0x57f51e=>!_0x3f87f3||_0x3f87f3[_0x51c9ff(0x23f)](_0x57f51e['id']))[_0x51c9ff(0x461)](_0x1aee9c=>{const _0x523319=_0x51c9ff;let _0x3b41ba=this['createSuperTableReference'](_0x1aee9c,_0x1aee9c['id']);_0x246cde[_0x523319(0x1f3)]({'tableId':_0x1aee9c['id'],'tableName':_0xa7162['get'](_0x1aee9c['id']),'reference':_0x3b41ba});}),_0x246cde;}['validateFormula'](_0x1fe83b,_0x300246,_0x383f0f={}){const _0x312be4=_0x354fcb;let _0x504344=_0x1fe83b[_0x312be4(0x3bc)]();if(!_0x504344)return{'valid':!0x0};if(na(_0x504344))return{'valid':!0x1,'reason':_0x312be4(0x3cc)};let _0x54883d=_0x383f0f[_0x312be4(0x2d2)]?_0x49362b(_0x383f0f['snapshot']):void 0x0;for(let _0x507318 of ta(_0x504344)){let _0x2fe195=ua(_0x507318,_0x300246,_0x383f0f[_0x312be4(0x2d2)],_0x54883d);if(!_0x2fe195[_0x312be4(0x513)])return{'valid':!0x1,'reason':'[BaseFormula]:\x20table\x20\x22'+_0x507318[_0x312be4(0x4e4)]+_0x312be4(0x3cf)};if(!_0x2fe195[_0x312be4(0x28b)])return{'valid':!0x1,'reason':_0x312be4(0x1a4)+_0x507318['fieldName']+_0x312be4(0x462)};}return{'valid':!0x0};}[_0x354fcb(0x1bb)](_0x4deba6,_0x57f777,_0xf0aeee={}){const _0x2bc94c=_0x354fcb;let _0x4d5527=new Set();for(let _0x4c09f8 of this[_0x2bc94c(0x3c2)](_0x4deba6,_0x57f777,_0xf0aeee))_0x4c09f8[_0x2bc94c(0x1c3)]===_0x57f777['id']&&_0x4d5527[_0x2bc94c(0x35e)](_0x4c09f8[_0x2bc94c(0x46e)]);return Array[_0x2bc94c(0x4dd)](_0x4d5527);}['getStructuredDependencies'](_0x2e722f,_0x21d82f,_0x56e097={}){const _0x4eb733=_0x354fcb;let _0x5a924a=new Map(),_0x1d362d=_0x56e097[_0x4eb733(0x2d2)]?_0x49362b(_0x56e097[_0x4eb733(0x2d2)]):void 0x0;for(let _0x5b1a35 of ta(_0x2e722f)){let _0x43075d=ua(_0x5b1a35,_0x21d82f,_0x56e097[_0x4eb733(0x2d2)],_0x1d362d);if(!_0x43075d['table']||!_0x43075d[_0x4eb733(0x28b)])continue;let _0x259f59=_0x43075d[_0x4eb733(0x513)]['id']+'\x1f'+_0x43075d[_0x4eb733(0x28b)]['id'];_0x5a924a[_0x4eb733(0x1a1)](_0x259f59,{'tableId':_0x43075d['table']['id'],'fieldId':_0x43075d[_0x4eb733(0x28b)]['id']});}return Array[_0x4eb733(0x4dd)](_0x5a924a[_0x4eb733(0x1da)]());}};function Zi(_0x500683,_0x24013c){const _0x154152=_0x354fcb;var _0x56f0fc;let _0x52af76=[],_0x404720=(_0x56f0fc=_0x24013c[_0x154152(0x50f)])==null?void 0x0:_0x56f0fc[_0x500683['id']];return _0x404720&&Object[_0x154152(0x1e2)](_0x404720)[_0x154152(0x461)](([_0x8d2a3c,_0x256b5b])=>{const _0x44ef86=_0x154152;let _0x161627=_0x500683[_0x44ef86(0x2ba)][_0x8d2a3c];if(!_0x161627||!_0x256b5b)return;let _0x3b9c19=L(_0x161627),_0x9587=[];new _0x4bc349(_0x256b5b)[_0x44ef86(0x24e)]((_0x5989fb,_0x3d2d41,_0x4ef79a)=>{const _0x3bf17f=_0x44ef86;let _0x3caafb=Qi(_0x3b9c19,_0x5989fb,_0x3d2d41,_0x4ef79a);_0x3caafb&&_0x9587[_0x3bf17f(0x1f3)](_0x3caafb);}),_0x9587[_0x44ef86(0x458)]&&_0x52af76['push']({'unitId':_0x500683['id'],'tableId':_0x8d2a3c,'patches':_0x9587});}),_0x52af76;}function Qi(_0x1a0f68,_0x5485c4,_0x36ae32,_0x475e03){const _0xcb0de3=_0x354fcb;var _0x185e38,_0x37c58c,_0x579bd9;let _0x1fe4b8=(_0x185e38=_0x1a0f68['rowId'])==null?void 0x0:_0x185e38[_0x5485c4],_0x5aef67=(_0x37c58c=_0x1a0f68[_0xcb0de3(0x242)])==null?void 0x0:_0x37c58c[_0x36ae32];if(!_0x1fe4b8||!_0x1a0f68[_0xcb0de3(0x45a)][_0x1fe4b8]||!_0x5aef67)return null;let _0x12b826=_0x1a0f68['fields'][_0x5aef67];if(!_0x12b826||_0x12b826[_0xcb0de3(0x33a)]!=='formula')return null;let _0x3573c1=String(((_0x579bd9=_0x12b826[_0xcb0de3(0x342)])==null?void 0x0:_0x579bd9[_0xcb0de3(0x23a)])??'')['trim'](),_0x4040d8=(_0x475e03==null?void 0x0:_0x475e03['v'])??null,_0x1cbbfc={'v':_0x4040d8,'t':ea(_0x4040d8),..._0x5485c4===0x0&&_0x3573c1?{'f':_0x3573c1}:{},'si':_0x12b826['id']};return $i(vt(_0x1a0f68,_0x1fe4b8,_0x5aef67),_0x1cbbfc)?null:{'row':_0x5485c4,'col':_0x36ae32,'value':_0x1cbbfc};}function $i(_0x6d42fe,_0x31cb8f){return _0x6d42fe!=null&&Object['is'](_0x6d42fe['v']??null,_0x31cb8f['v']??null)&&_0x6d42fe['t']===_0x31cb8f['t']&&_0x6d42fe['f']===_0x31cb8f['f']&&_0x6d42fe['si']===_0x31cb8f['si'];}function ea(_0x151d30){const _0x395767=_0x354fcb;return typeof _0x151d30==_0x395767(0x256)?_0x149f0a[_0x395767(0x426)]:typeof _0x151d30==_0x395767(0x364)?_0x149f0a[_0x395767(0x176)]:typeof _0x151d30==_0x395767(0x471)?_0x149f0a['STRING']:null;}function ta(_0x65ecc5){const _0x5c82ee=_0x354fcb;let _0x5e6462=ia(_0x65ecc5,()=>''),_0x3378df=new Map(),_0x419c80=_0xe8b97b=>{_0x3378df['set']((_0xe8b97b['tableName']??'')+'\x1f'+_0xe8b97b['fieldName'],_0xe8b97b);};for(let _0x28cfac of _0x5e6462['matchAll'](Ui))_0x419c80({'fieldName':_0x28cfac[0x1],'scope':_0x5c82ee(0x2a3)});_0x5e6462=_0x5e6462['replace'](Wi,(_0x2c9165,_0x13a8a6,_0x386281,_0x13f8f0)=>(_0x419c80({'tableName':_0x13a8a6,'fieldName':_0x13f8f0,'scope':_0x386281[_0x5c82ee(0x4f1)]()===_0x5c82ee(0x523)?_0x5c82ee(0x523):'this-row'}),'\x20')),_0x5e6462=_0x5e6462[_0x5c82ee(0x2b1)](Gi,(_0x415582,_0x21f7ef,_0x12c2a4)=>(_0x419c80({'tableName':_0x21f7ef,'fieldName':_0x12c2a4,'scope':'this-row'}),'\x20')),_0x5e6462=_0x5e6462[_0x5c82ee(0x2b1)](qi,(_0x4536d6,_0x57b46e,_0x44ea79,_0x5916f2)=>(_0x419c80({'fieldName':_0x5916f2,'scope':_0x44ea79[_0x5c82ee(0x4f1)]()==='data'?_0x5c82ee(0x523):_0x5c82ee(0x2a3)}),_0x57b46e+'\x20')),_0x5e6462=_0x5e6462[_0x5c82ee(0x2b1)](Ji,(_0x184c07,_0x28744a,_0x1d2b8d)=>(_0x419c80({'fieldName':_0x1d2b8d,'scope':_0x5c82ee(0x2a3)}),_0x28744a+'\x20'));for(let _0x3c85e5 of _0x5e6462[_0x5c82ee(0x400)](Ki))_0x419c80({'tableName':_0x3c85e5[0x1],'fieldName':_0x3c85e5[0x2]});for(let _0x38c8a0 of _0x5e6462[_0x5c82ee(0x400)](Yi))_0x419c80({'fieldName':_0x38c8a0[0x2],'scope':'this-row'});return Array[_0x5c82ee(0x4dd)](_0x3378df[_0x5c82ee(0x1da)]());}function na(_0x48e28e){const _0x5aac00=_0x354fcb;let _0x4d67c1=ia(_0x48e28e,()=>'\x20')[_0x5aac00(0x2b1)](Ui,'\x20')['replace'](Wi,'\x20')[_0x5aac00(0x2b1)](Gi,'\x20')['replace'](qi,_0x5aac00(0x49c))['replace'](Ji,_0x5aac00(0x49c))[_0x5aac00(0x2b1)](Ki,'\x20')['replace'](Yi,_0x5aac00(0x49c));return Vi['test'](_0x4d67c1);}function ra(_0x51a418,_0x128929){return ca(oa(_0x51a418,_0x128929),_0x128929);}function ia(_0x18a6ea,_0x4057f6){return aa(ra(_0x18a6ea,_0x4057f6),_0x4057f6);}function aa(_0x59cd6b,_0x4ceaef){const _0x4e6ca5=_0x354fcb;return _0x59cd6b[_0x4e6ca5(0x2b1)](/"(?:""|[^"])*"/g,_0x4ceaef);}function oa(_0x5b8dbf,_0x4ed800){const _0x306a05=_0x354fcb;return Hi[_0x306a05(0x186)]=0x0,_0x5b8dbf[_0x306a05(0x2b1)](Hi,(_0x2d387d,_0x19f8a5)=>la(_0x5b8dbf,_0x19f8a5)?_0x2d387d:_0x4ed800(_0x2d387d));}const sa=/(?:'((?:[^']|'')+)'|\[[^\]]+\]|[A-Za-z0-9_.-]+)![^\s!\[\]]+\[/g;function ca(_0x1a438a,_0x1a29d0){const _0x2cafba=_0x354fcb;let _0x41c5ab=[];for(sa[_0x2cafba(0x186)]=0x0;;){let _0x4f1140=sa[_0x2cafba(0x467)](_0x1a438a);if(_0x4f1140==null)break;if(la(_0x1a438a,_0x4f1140[_0x2cafba(0x250)]))continue;let _0x4072e8=sa[_0x2cafba(0x186)]-0x1,_0x5c7c4f=0x0;for(let _0x13564d=_0x4072e8;_0x13564d<_0x1a438a[_0x2cafba(0x458)];_0x13564d++)if(_0x1a438a[_0x13564d]==='['&&_0x5c7c4f++,_0x1a438a[_0x13564d]===']'&&(_0x5c7c4f--,_0x5c7c4f===0x0)){_0x41c5ab[_0x2cafba(0x1f3)]({'start':_0x4f1140[_0x2cafba(0x250)],'end':_0x13564d+0x1}),sa[_0x2cafba(0x186)]=_0x13564d+0x1;break;}}if(_0x41c5ab['length']===0x0)return _0x1a438a;let _0x2d7fd0='',_0x5c1959=0x0;for(let _0x4bd938 of _0x41c5ab)_0x2d7fd0+=_0x1a438a[_0x2cafba(0x192)](_0x5c1959,_0x4bd938['start']),_0x2d7fd0+=_0x1a29d0(_0x1a438a[_0x2cafba(0x192)](_0x4bd938[_0x2cafba(0x191)],_0x4bd938[_0x2cafba(0x3ce)])),_0x5c1959=_0x4bd938['end'];return _0x2d7fd0+_0x1a438a[_0x2cafba(0x192)](_0x5c1959);}function la(_0x12f2ce,_0x2cb3a4){let _0x1d8872=!0x1;for(let _0x18475d=0x0;_0x18475d<_0x2cb3a4;_0x18475d++)_0x12f2ce[_0x18475d]==='\x22'&&(_0x1d8872&&_0x12f2ce[_0x18475d+0x1]==='\x22'?_0x18475d++:_0x1d8872=!_0x1d8872);return _0x1d8872;}function ua(_0x21a0d2,_0x513b6e,_0x58e547,_0x3f098c){const _0x1db954=_0x354fcb;let _0x2242b1=da(_0x21a0d2[_0x1db954(0x4e4)],_0x513b6e,_0x58e547,_0x3f098c);return{'table':_0x2242b1,'field':_0x2242b1?Object[_0x1db954(0x1da)](_0x2242b1[_0x1db954(0x480)])['find'](_0xdb584=>_0xdb584['name']===_0x21a0d2[_0x1db954(0x2c8)]):void 0x0};}function da(_0x3f3d4f,_0x15e354,_0x44a674,_0x597ca4){const _0x2b859b=_0x354fcb;if(!_0x3f3d4f)return _0x15e354;if(!_0x44a674){var _0x300f49;let _0x32fdcb=_0x3f3d4f[_0x2b859b(0x4f1)]();return _0x32fdcb===_0x15e354['id']['toLowerCase']()||_0x32fdcb===_0x15e354[_0x2b859b(0x1e0)][_0x2b859b(0x4f1)]()||_0x32fdcb===((_0x300f49=_0x15e354['formulaName'])==null?void 0x0:_0x300f49[_0x2b859b(0x4f1)]())?_0x15e354:void 0x0;}let _0x1817f2=_0x3f3d4f['toLowerCase'](),_0x52b89f=_0x597ca4??_0x49362b(_0x44a674),_0x3e604e=Object[_0x2b859b(0x1da)](_0x44a674[_0x2b859b(0x2ba)])[_0x2b859b(0x397)](_0x5cc984=>{const _0x484325=_0x2b859b;var _0x4523df;return _0x5cc984['id'][_0x484325(0x4f1)]()===_0x1817f2||_0x5cc984[_0x484325(0x1e0)][_0x484325(0x4f1)]()===_0x1817f2||((_0x4523df=_0x52b89f['get'](_0x5cc984['id']))==null?void 0x0:_0x4523df['toLowerCase']())===_0x1817f2||fa(_0x5cc984['id'])[_0x484325(0x4f1)]()===_0x1817f2;});return _0x3e604e['length']===0x1?_0x3e604e[0x0]:void 0x0;}function fa(_0x488e2f){const _0xbd6be9=_0x354fcb;return _0xbd6be9(0x29d)+Array[_0xbd6be9(0x4dd)](_0x488e2f,_0x10d7b5=>{const _0x186ba2=_0xbd6be9;var _0x1ba89f;return/[A-Za-z0-9]/['test'](_0x10d7b5)?_0x10d7b5:'_x'+(((_0x1ba89f=_0x10d7b5[_0x186ba2(0x1c6)](0x0))==null?void 0x0:_0x1ba89f[_0x186ba2(0x349)](0x10))??'0')+'_';})[_0xbd6be9(0x4b5)]('');}const pa=new Xi();function ma(_0x2cea02,_0x1dddaa,_0x4845ad){const _0x4f4907=_0x354fcb;var _0x7fd86c;if(_0x4845ad[_0x4f4907(0x33a)]!==_0x19bf94['Formula'])return!0x0;let _0x54aced=String(((_0x7fd86c=_0x4845ad[_0x4f4907(0x342)])==null?void 0x0:_0x7fd86c[_0x4f4907(0x23a)])??''),_0x5e87e2=_0x2cea02[_0x4f4907(0x1f9)]();return pa['validateFormula'](_0x54aced,_0x5e87e2[_0x4f4907(0x2ba)][_0x1dddaa],{'snapshot':_0x5e87e2})[_0x4f4907(0x35c)];}function $(_0x197eb8,_0x505d41,_0x3608fd){const _0xbde71e=_0x354fcb;let _0x36c746=_0x197eb8[_0xbde71e(0x1f9)]()[_0xbde71e(0x2ba)][_0x505d41];if(!_0x36c746)return!0x1;let {viewIds:_0x4dc320,fieldIds:_0x485672,recordIds:_0x2c3f6a}=_0x3608fd||{};if(_0x4dc320){for(let _0x58b76f of _0x4dc320)if(!_0x36c746[_0xbde71e(0x38b)][_0x58b76f])return!0x1;}if(_0x485672){for(let _0x397315 of _0x485672)if(!_0x36c746[_0xbde71e(0x480)][_0x397315])return!0x1;}if(_0x2c3f6a){for(let _0xdc7b34 of _0x2c3f6a)if(!_0x36c746[_0xbde71e(0x45a)][_0xdc7b34])return!0x1;}return!0x0;}function ha(_0x3a2e3e,_0x3c5451,_0x3f9b13){const _0x4a60d0=_0x354fcb;if(_0x3f9b13['id']===_0x3b44b5||_0x3f9b13[_0x4a60d0(0x33a)]===_0x19bf94[_0x4a60d0(0x44f)]||_0x37b436(_0x3f9b13[_0x4a60d0(0x1e0)])||!ma(_0x3a2e3e,_0x3c5451,_0x3f9b13))return!0x1;let _0x495b4e=_0x3a2e3e[_0x4a60d0(0x1f9)]();if(!Be(_0x495b4e,_0x3f9b13)['valid'])return!0x1;if(_0x3f9b13['type']!==_0x19bf94['RecordLink'])return!0x0;let _0x49a022=N(_0x3f9b13);if(!_0x49a022)return!0x1;if(_0x49a022[_0x4a60d0(0x274)]===void 0x0)return!0x0;if(_0x49a022[_0x4a60d0(0x274)]!==_0x170c14[_0x4a60d0(0x3a0)]||_0x49a022['targetTableId']!==_0x3c5451||_0x49a022[_0x4a60d0(0x215)]!==!0x1)return!0x1;let _0x38dcad=_0x495b4e[_0x4a60d0(0x2ba)][_0x3c5451];return!Object[_0x4a60d0(0x1da)](_0x38dcad[_0x4a60d0(0x480)])[_0x4a60d0(0x257)](_0x3ea3cd=>{const _0x5512cc=_0x4a60d0;var _0x5b6660;return _0x3ea3cd['id']!==_0x3f9b13['id']&&_0x3ea3cd[_0x5512cc(0x33a)]===_0x19bf94[_0x5512cc(0x2bd)]&&((_0x5b6660=N(_0x3ea3cd))==null?void 0x0:_0x5b6660['relationRole'])===_0x170c14[_0x5512cc(0x3a0)];});}function ga(_0x345c3b,_0x87d7c9,_0xab055d,_0x16d2ac){const _0x4f54cb=_0x354fcb;var _0x16da24;let _0x25fb32=_0x345c3b[_0x4f54cb(0x1f9)](),_0x446e12=(_0x16da24=_0x25fb32['tables'][_0x87d7c9])==null?void 0x0:_0x16da24[_0x4f54cb(0x480)][_0xab055d];return!_0x446e12||_0x446e12['id']===_0x3b44b5||_0x446e12[_0x4f54cb(0x33a)]===_0x19bf94[_0x4f54cb(0x44f)]?!0x1:_0x446e12[_0x4f54cb(0x33a)]!==_0x19bf94[_0x4f54cb(0x2bd)]||Ve(_0x25fb32,_0x446e12,ya(_0x16d2ac))[_0x4f54cb(0x35c)];}function _a(_0xa8053e,_0x2bfbbe,_0x1f2f04){const _0x29df09=_0x354fcb;let _0x335e32=_0xa8053e[_0x29df09(0x1f9)]()[_0x29df09(0x2ba)][_0x2bfbbe];return!_0x335e32||!_0x3605be(_0x1f2f04['id'])||_0x335e32['records'][_0x1f2f04['id']]||Object[_0x29df09(0x32b)][_0x29df09(0x42f)][_0x29df09(0x331)](_0x1f2f04[_0x29df09(0x1da)],_0x3b44b5)&&_0x1f2f04[_0x29df09(0x1da)][_0x3b44b5]!==_0x1f2f04['id']?!0x1:Object[_0x29df09(0x1e2)](_0x1f2f04[_0x29df09(0x1da)])['every'](([_0x4d0990,_0x3c0a44])=>_0x4d0990===_0x3b44b5||ga(_0xa8053e,_0x2bfbbe,_0x4d0990,_0x3c0a44));}function va(_0x5704fa){const _0x5e5b0e=_0x354fcb;return{..._0x5704fa,'values':{..._0x5704fa[_0x5e5b0e(0x1da)],[_0x3b44b5]:_0x5704fa['id']}};}function ya(_0x115a3b){const _0x16b531=_0x354fcb;if(_0x115a3b&&typeof _0x115a3b==_0x16b531(0x269)&&!Array['isArray'](_0x115a3b)&&'v'in _0x115a3b){let _0x15b14a=_0x115a3b['v'];return _0x15b14a===void 0x0?null:_0x15b14a;}return _0x115a3b;}function ba(_0x7f7105,_0x5e44e0,_0x17d11d,_0x210a05){const _0x535135=_0x354fcb;let _0x4cdadc=_0x7f7105[_0x535135(0x1f9)]()['tables'][_0x5e44e0];if(!_0x4cdadc)return null;let _0x486af9=qe(_0x4cdadc),_0x3ea08d=_0x486af9??Je(_0x4cdadc),_0x4714c3=_0x17d11d[_0x535135(0x257)](_0x40f3cd=>Object[_0x535135(0x32b)][_0x535135(0x42f)][_0x535135(0x331)](_0x40f3cd[_0x535135(0x1da)],_0x3ea08d)),_0x2fcf1c=_0x486af9?_0x4cdadc['fields'][_0x486af9]:_0x4714c3?Ye(_0x4cdadc,_0x3ea08d,_0x210a05):null,_0x531478=[];for(let _0x5bfde9 of _0x17d11d){let _0x14ed18=_0x5bfde9[_0x535135(0x1da)][_0x3ea08d],_0x150edf=_0x2fcf1c!==null&&Object[_0x535135(0x32b)]['hasOwnProperty']['call'](_0x5bfde9[_0x535135(0x1da)],_0x3ea08d),_0x33c4d0=ya(_0x14ed18),_0x4b7ad2=null;if(_0x150edf){if(typeof _0x33c4d0!=_0x535135(0x471)||!ze(_0x33c4d0,!0x1)['valid'])return null;_0x4b7ad2=_0x33c4d0;}let _0x6634e9={};if(Object[_0x535135(0x1e2)](_0x5bfde9[_0x535135(0x1da)])['forEach'](([_0x29b999,_0x931916])=>{(!_0x150edf||_0x29b999!==_0x3ea08d)&&(_0x6634e9[_0x29b999]=_0x931916);}),!_a(_0x7f7105,_0x5e44e0,{..._0x5bfde9,'values':_0x6634e9}))return null;let _0x482e79={..._0x5bfde9['values']};_0x4b7ad2!==null&&(_0x482e79[_0x3ea08d]=_0x4b7ad2),_0x531478[_0x535135(0x1f3)](va({..._0x5bfde9,'values':_0x482e79}));}return{'records':_0x531478,'hierarchyFieldToMaterialize':_0x486af9?null:_0x2fcf1c,'hierarchyChanges':Qe(_0x4cdadc,_0x531478)};}const xa={'id':_0x354fcb(0x1f6),'type':_0x3e23cf[_0x354fcb(0x301)],'handler'(_0x2bb5ea,_0x58ae91){const _0x28ada7=_0x354fcb;if(!_0x58ae91)return!0x1;let _0x19df08=_0x2bb5ea[_0x28ada7(0x4a8)](_0x3414e2),{unitId:_0x1f57b8,tableId:_0x3b9538,records:_0x80130f}=_0x58ae91,_0x131cbb=_0x19df08[_0x28ada7(0x2e5)](_0x1f57b8,_0x28d752[_0x28ada7(0x201)]),_0xf69d7c=_0x80130f[_0x28ada7(0x29b)](_0x1812ee=>_0x1812ee['id']);if(!_0x131cbb||!$(_0x131cbb,_0x3b9538)||new Set(_0xf69d7c)[_0x28ada7(0x473)]!==_0xf69d7c[_0x28ada7(0x458)])return!0x1;let _0xad5f1b=_0x2bb5ea[_0x28ada7(0x4a8)](_0x3ff846),_0x15f111=_0x2bb5ea['get'](_0x5153d9),_0x1bc1d7=_0x2bb5ea[_0x28ada7(0x4a8)](Kr),_0x2ed0af=_0x131cbb[_0x28ada7(0x1f9)](),_0x4426f5=ba(_0x131cbb,_0x3b9538,_0x80130f);if(!_0x4426f5)return!0x1;let {records:_0xb7cbd8,hierarchyChanges:_0x4eaa1a,hierarchyFieldToMaterialize:_0x2ec815}=_0x4426f5,_0x12e5a4=_0x2ec815?_0x1bc1d7[_0x28ada7(0x20a)](_0x131cbb,_0x3b9538,_0x2ec815,_0x2ed0af[_0x28ada7(0x2ba)][_0x3b9538]['fieldOrder'][_0x28ada7(0x458)]):null,_0x4daf63=_0x1bc1d7[_0x28ada7(0x518)](_0x131cbb,_0x3b9538,_0xb7cbd8),_0x8bcc53=R([..._0x12e5a4?[_0x12e5a4]:[],_0x4daf63]),_0x3e1fe4=new z()[_0x28ada7(0x2aa)](_0x2ed0af,_0x8bcc53),_0x24cfe1={'unitId':_0x1f57b8,'op':_0x8bcc53,'hierarchyChanges':_0x4eaa1a[_0x28ada7(0x458)]?_0x4eaa1a:void 0x0,'source':_0x4eaa1a[_0x28ada7(0x458)]?_0x58ae91['source']??'ui':void 0x0},_0x545842={..._0x24cfe1,'source':_0x4eaa1a[_0x28ada7(0x458)]?_0x28ada7(0x29f):void 0x0},_0x26a821={'unitId':_0x1f57b8,'op':_0x3e1fe4,'hierarchyChanges':_0x4eaa1a[_0x28ada7(0x458)]?_0x4eaa1a[_0x28ada7(0x29b)](_0x4317ba=>({..._0x4317ba,'oldParentRecordId':_0x4317ba[_0x28ada7(0x1b1)],'parentRecordId':null})):void 0x0,'source':_0x4eaa1a[_0x28ada7(0x458)]?_0x28ada7(0x37e):void 0x0};return _0xad5f1b['syncExecuteCommand'](Q['id'],_0x24cfe1)?(_0x19df08[_0x28ada7(0x3f4)](_0x1f57b8),_0x15f111['pushUndoRedo']({'unitID':_0x1f57b8,'undoMutations':[{'id':Q['id'],'params':_0x26a821}],'redoMutations':[{'id':Q['id'],'params':_0x545842}]}),!0x0):!0x1;}},Sa={'id':_0x354fcb(0x179),'type':_0x3e23cf[_0x354fcb(0x301)],'handler':(_0x1e4a33,_0x3dd651)=>{const _0xfbd03=_0x354fcb;if(!_0x3dd651)return!0x1;let _0x51a65d=_0x1e4a33[_0xfbd03(0x4a8)](_0x3414e2),{unitId:_0x5cc4dc,tableId:_0x4aa2c9,recordIds:_0x187f2d}=_0x3dd651,_0x36ed72=_0x51a65d[_0xfbd03(0x2e5)](_0x5cc4dc,_0x28d752[_0xfbd03(0x201)]);if(!_0x36ed72||!$(_0x36ed72,_0x4aa2c9,{'recordIds':_0x187f2d}))return!0x1;let _0x183521=_0x1e4a33[_0xfbd03(0x4a8)](_0x3ff846),_0x13dc4a=_0x1e4a33[_0xfbd03(0x4a8)](_0x5153d9),_0x57b7a4=_0x36ed72[_0xfbd03(0x1f9)](),_0x1a542a=et(_0x57b7a4[_0xfbd03(0x2ba)][_0x4aa2c9],_0x187f2d),_0x57e342=new W(),_0x3ee215=new z(),_0x207b6a=_0x57e342[_0xfbd03(0x305)](_0x57b7a4,_0x4aa2c9,_0x187f2d),_0x4050a3=_0x3ee215[_0xfbd03(0x2ad)](_0x57b7a4,_0x207b6a),_0x5e37a4=_0x57e342[_0xfbd03(0x51d)](_0x57b7a4,_0x4050a3,_0x4aa2c9,_0x187f2d),_0x52333d={'unitId':_0x5cc4dc,'op':_0x207b6a,'hierarchyChanges':_0x1a542a,'source':_0x3dd651['source']??'ui'},_0x222847={..._0x52333d,'source':'redo'},_0x554d10={'unitId':_0x5cc4dc,'op':_0x5e37a4,'hierarchyChanges':_0x1a542a['map'](_0x175afb=>({..._0x175afb,'oldParentRecordId':_0x175afb['parentRecordId'],'parentRecordId':_0x175afb[_0xfbd03(0x30d)]})),'source':_0xfbd03(0x37e)};return _0x183521['syncExecuteCommand'](Q['id'],_0x52333d)?(_0x51a65d['focusUnit'](_0x5cc4dc),_0x13dc4a['pushUndoRedo']({'unitID':_0x5cc4dc,'undoMutations':[{'id':Q['id'],'params':_0x554d10}],'redoMutations':[{'id':Q['id'],'params':_0x222847}]}),!0x0):!0x1;}},Ca={'id':_0x354fcb(0x3f1),'type':_0x3e23cf[_0x354fcb(0x301)],'handler':(_0x23996e,_0x99b429)=>{const _0x4b9865=_0x354fcb;if(!_0x99b429)return!0x1;let _0x1f7fe7=_0x23996e[_0x4b9865(0x4a8)](_0x3414e2),{unitId:_0x27ade3,tableId:_0x1b6f27,fieldId:_0x438555,input:_0x262da8}=_0x99b429,_0x36b248=_0x1f7fe7['getUnit'](_0x27ade3,_0x28d752['UNIVER_BASE']);if(!_0x36b248||_0x438555===_0x3b44b5||!$(_0x36b248,_0x1b6f27,{'fieldIds':[_0x438555]}))return!0x1;let _0x34f37f=_0x23996e[_0x4b9865(0x4a8)](_0x3ff846),_0x275283=_0x23996e[_0x4b9865(0x4a8)](_0x5153d9),_0x308809=_0x36b248[_0x4b9865(0x1f9)]();if(!ha(_0x36b248,_0x1b6f27,{..._0x308809[_0x4b9865(0x2ba)][_0x1b6f27]['fields'][_0x438555],..._0x262da8}))return!0x1;let _0x2918d0=new W()[_0x4b9865(0x2b7)](_0x308809,_0x1b6f27,_0x438555,_0x262da8),_0x12298b=new z()[_0x4b9865(0x2aa)](_0x308809,_0x2918d0),_0x354dab={'unitId':_0x27ade3,'op':_0x2918d0},_0x48e1b4={'unitId':_0x27ade3,'op':_0x12298b};return _0x34f37f[_0x4b9865(0x4c6)](Q['id'],_0x354dab)?(_0x1f7fe7[_0x4b9865(0x3f4)](_0x27ade3),_0x275283[_0x4b9865(0x519)]({'unitID':_0x27ade3,'undoMutations':[{'id':Q['id'],'params':_0x48e1b4}],'redoMutations':[{'id':Q['id'],'params':_0x354dab}]}),!0x0):!0x1;}},wa={'id':_0x354fcb(0x324),'type':_0x3e23cf[_0x354fcb(0x301)],'handler'(_0x3aab6f,_0x55c2ea){const _0x9cbfdb=_0x354fcb;var _0x27a8b5;if(!_0x55c2ea)return!0x1;let {unitId:_0x11b9fd,tableId:_0x153a46,parentRecordId:_0x364e06}=_0x55c2ea,_0x6b95fe=_0x3aab6f['get'](_0x3414e2),_0xf142f7=_0x6b95fe[_0x9cbfdb(0x2e5)](_0x11b9fd,_0x28d752['UNIVER_BASE']);if(!_0xf142f7||!$(_0xf142f7,_0x153a46,{'recordIds':[_0x364e06]}))throw new P('missingRecord');let _0x4319f1=_0xf142f7[_0x9cbfdb(0x1f9)](),_0x6363a0=_0x4319f1['tables'][_0x153a46],_0x110656=qe(_0x6363a0),_0x337106=_0x110656??_0x55c2ea[_0x9cbfdb(0x46e)]??Je(_0x6363a0);if(_0x110656&&_0x55c2ea[_0x9cbfdb(0x46e)]&&_0x55c2ea[_0x9cbfdb(0x46e)]!==_0x110656||_0x6363a0['fields'][_0x337106]&&!F(_0x6363a0,_0x337106))throw new P(_0x9cbfdb(0x4a7));if((tt(_0x6363a0,_0x337106)[_0x9cbfdb(0x3ff)][_0x9cbfdb(0x4a8)](_0x364e06)??0x0)+0x1>=0x5)throw new P('maxDepth');if(!_a(_0xf142f7,_0x153a46,_0x55c2ea[_0x9cbfdb(0x52b)]))return!0x1;let _0x53cca1=va({..._0x55c2ea[_0x9cbfdb(0x52b)],'values':{..._0x55c2ea[_0x9cbfdb(0x52b)][_0x9cbfdb(0x1da)],[_0x337106]:Re([_0x364e06])}}),_0x59ee0e=_0x3aab6f['get'](Kr),_0x560339=new W(),_0x26c8fe=_0x6363a0['fields'][_0x337106],_0x4bfd3e=_0x26c8fe?((_0x27a8b5=N(_0x26c8fe))==null?void 0x0:_0x27a8b5[_0x9cbfdb(0x274)])===_0x170c14['Parent']?null:_0x560339[_0x9cbfdb(0x409)](_0x4319f1,_0x153a46,_0x337106,{'config':{..._0x26c8fe[_0x9cbfdb(0x342)],'relationRole':_0x170c14['Parent']}}):_0x59ee0e[_0x9cbfdb(0x20a)](_0xf142f7,_0x153a46,Ye(_0x6363a0,_0x337106,_0x55c2ea[_0x9cbfdb(0x398)]),_0x6363a0[_0x9cbfdb(0x1e1)][_0x9cbfdb(0x458)]),_0x7a1bba=_0x59ee0e[_0x9cbfdb(0x40c)](_0xf142f7,_0x153a46,_0x53cca1),_0x388c52=R([..._0x4bfd3e?[_0x4bfd3e]:[],_0x7a1bba]),_0x17c134=new z()[_0x9cbfdb(0x2aa)](_0x4319f1,_0x388c52),_0x9fb53={'tableId':_0x153a46,'fieldId':_0x337106,'recordId':_0x53cca1['id'],'oldParentRecordId':null,'parentRecordId':_0x364e06},_0x5ea679={'unitId':_0x11b9fd,'op':_0x388c52,'trigger':wa['id'],'hierarchyChanges':[_0x9fb53],'source':_0x55c2ea[_0x9cbfdb(0x4cd)]??'ui'},_0x4775b5={..._0x5ea679,'source':_0x9cbfdb(0x29f)},_0x260d21={'unitId':_0x11b9fd,'op':_0x17c134,'trigger':wa['id'],'hierarchyChanges':[{..._0x9fb53,'oldParentRecordId':_0x364e06,'parentRecordId':null}],'source':_0x9cbfdb(0x37e)};return _0x3aab6f[_0x9cbfdb(0x4a8)](_0x3ff846)[_0x9cbfdb(0x4c6)](Q['id'],_0x5ea679)?(_0x6b95fe[_0x9cbfdb(0x3f4)](_0x11b9fd),_0x3aab6f['get'](_0x5153d9)[_0x9cbfdb(0x519)]({'unitID':_0x11b9fd,'undoMutations':[{'id':Q['id'],'params':_0x260d21}],'redoMutations':[{'id':Q['id'],'params':_0x4775b5}]}),!0x0):!0x1;}},Ta={'id':_0x354fcb(0x19f),'type':_0x3e23cf[_0x354fcb(0x301)],'handler'(_0x26e7e8,_0x2741af){const _0x407ada=_0x354fcb;if(!_0x2741af)return!0x1;let _0x1d98c8=_0x26e7e8[_0x407ada(0x4a8)](_0x3414e2),{unitId:_0x1503df,tableId:_0x510f9a,field:_0x1ea059,index:_0x4fd16c,viewIndexes:_0x291694}=_0x2741af,_0x29337b=_0x1d98c8[_0x407ada(0x2e5)](_0x1503df,_0x28d752['UNIVER_BASE']);if(!_0x29337b||!$(_0x29337b,_0x510f9a)||_0x29337b[_0x407ada(0x1f9)]()[_0x407ada(0x2ba)][_0x510f9a][_0x407ada(0x480)][_0x1ea059['id']]||_0x4fd16c===0x0||!ha(_0x29337b,_0x510f9a,_0x1ea059))return!0x1;let _0xcc8dbe=_0x26e7e8[_0x407ada(0x4a8)](_0x3ff846),_0x2003f9=_0x26e7e8[_0x407ada(0x4a8)](_0x5153d9),_0x1935f6=_0x26e7e8[_0x407ada(0x4a8)](Kr)[_0x407ada(0x20a)](_0x29337b,_0x510f9a,_0x1ea059,_0x4fd16c,_0x291694),_0x4f9467=new z()[_0x407ada(0x2aa)](_0x29337b[_0x407ada(0x1f9)](),_0x1935f6),_0x422506={'unitId':_0x1503df,'op':_0x1935f6},_0x4264be={'unitId':_0x1503df,'op':_0x4f9467};return _0xcc8dbe[_0x407ada(0x4c6)](Q['id'],_0x422506)?(_0x1d98c8[_0x407ada(0x3f4)](_0x1503df),_0x2003f9[_0x407ada(0x519)]({'unitID':_0x1503df,'undoMutations':[{'id':Q['id'],'params':_0x4264be}],'redoMutations':[{'id':Q['id'],'params':_0x422506}]}),!0x0):!0x1;}},Ea={'id':_0x354fcb(0x393),'type':_0x3e23cf[_0x354fcb(0x301)],'handler'(_0xd7bbb4,_0x4b8556){const _0x4dd6ad=_0x354fcb;if(!_0x4b8556)return!0x1;let _0x1cccc0=_0xd7bbb4[_0x4dd6ad(0x4a8)](_0x3414e2),{unitId:_0x3f1bd7,tableId:_0x35d6c4,record:_0x113f98}=_0x4b8556,_0x19b8e7=_0x1cccc0['getUnit'](_0x3f1bd7,_0x28d752[_0x4dd6ad(0x201)]);if(!_0x19b8e7||!$(_0x19b8e7,_0x35d6c4))return!0x1;let _0x3c1f01=_0xd7bbb4[_0x4dd6ad(0x4a8)](_0x3ff846),_0x267c82=_0xd7bbb4[_0x4dd6ad(0x4a8)](_0x5153d9),_0x426612=_0xd7bbb4[_0x4dd6ad(0x4a8)](Kr),_0x4be1e3=_0x19b8e7[_0x4dd6ad(0x1f9)](),_0x215bad=ba(_0x19b8e7,_0x35d6c4,[_0x113f98]);if(!_0x215bad)return!0x1;let [_0x5018ce]=_0x215bad[_0x4dd6ad(0x45a)],{hierarchyChanges:_0x5a6d6b,hierarchyFieldToMaterialize:_0x5575c6}=_0x215bad,_0x229658=_0x5575c6?_0x426612[_0x4dd6ad(0x20a)](_0x19b8e7,_0x35d6c4,_0x5575c6,_0x4be1e3['tables'][_0x35d6c4][_0x4dd6ad(0x1e1)]['length']):null,_0x536131=_0x426612[_0x4dd6ad(0x40c)](_0x19b8e7,_0x35d6c4,_0x5018ce),_0x574137=R([..._0x229658?[_0x229658]:[],_0x536131]),_0x5cd684=new z()[_0x4dd6ad(0x2aa)](_0x4be1e3,_0x574137),_0x4663db={'unitId':_0x3f1bd7,'op':_0x574137,'hierarchyChanges':_0x5a6d6b['length']?_0x5a6d6b:void 0x0,'source':_0x5a6d6b[_0x4dd6ad(0x458)]?_0x4b8556[_0x4dd6ad(0x4cd)]??'ui':void 0x0},_0xc146ae={..._0x4663db,'source':_0x5a6d6b[_0x4dd6ad(0x458)]?_0x4dd6ad(0x29f):void 0x0},_0x12c965={'unitId':_0x3f1bd7,'op':_0x5cd684,'hierarchyChanges':_0x5a6d6b[_0x4dd6ad(0x458)]?_0x5a6d6b[_0x4dd6ad(0x29b)](_0x505e6a=>({..._0x505e6a,'oldParentRecordId':_0x505e6a[_0x4dd6ad(0x1b1)],'parentRecordId':null})):void 0x0,'source':_0x5a6d6b[_0x4dd6ad(0x458)]?_0x4dd6ad(0x37e):void 0x0};return _0x3c1f01[_0x4dd6ad(0x4c6)](Q['id'],_0x4663db)?(_0x1cccc0['focusUnit'](_0x3f1bd7),_0x267c82['pushUndoRedo']({'unitID':_0x3f1bd7,'undoMutations':[{'id':Q['id'],'params':_0x12c965}],'redoMutations':[{'id':Q['id'],'params':_0xc146ae}]}),!0x0):!0x1;}},Da=_0x354fcb(0x189);function Oa(_0x875f8b,_0x56c75d,_0x185f62){const _0x408055=_0x354fcb;if(!_0x56c75d[_0x408055(0x3bc)]())return{'valid':!0x1,'reason':_0x408055(0x18b),'error':'required'};if(_0x56c75d['length']>0x1f)return{'valid':!0x1,'reason':'Use\x2031\x20characters\x20or\x20fewer.','error':_0x408055(0x43d)};if(_0x56c75d['startsWith']('\x27')||_0x56c75d[_0x408055(0x424)]('\x27'))return{'valid':!0x1,'reason':_0x408055(0x3ae),'error':'apostrophe'};if(/[:\\/?*\[\]]/[_0x408055(0x235)](_0x56c75d))return{'valid':!0x1,'reason':'A\x20table\x20name\x20cannot\x20contain\x20:\x20\x5c\x20/\x20?\x20*\x20[\x20].','error':_0x408055(0x42c)};if(!_0x5b975c(_0x56c75d))return{'valid':!0x1,'reason':'Choose\x20another\x20name.','error':_0x408055(0x20e)};let _0x4de5bd=_0x56c75d[_0x408055(0x4f1)]();return Object[_0x408055(0x1da)](_0x875f8b['tables'])[_0x408055(0x257)](_0x5e11c6=>_0x5e11c6['id']!==_0x185f62&&_0x5e11c6[_0x408055(0x1e0)][_0x408055(0x4f1)]()===_0x4de5bd)?{'valid':!0x1,'reason':_0x408055(0x17d),'error':_0x408055(0x52d)}:{'valid':!0x0};}function ka(_0x2f7180,_0x34069b){const _0x53efe9=_0x354fcb;let _0x22d0ba=_0x34069b[_0x53efe9(0x2b1)](/[:\\/?*\[\]]/g,'\x20')[_0x53efe9(0x2b1)](/^'+|'+$/g,'')[_0x53efe9(0x3bc)]()||_0x53efe9(0x494),_0x1fb671=0x1;for(;;){let _0x969cff=_0x1fb671===0x1?'':'\x20'+_0x1fb671,_0x5580cb=''+_0x22d0ba[_0x53efe9(0x192)](0x0,0x1f-_0x969cff[_0x53efe9(0x458)])+_0x969cff;if(Oa(_0x2f7180,_0x5580cb)[_0x53efe9(0x35c)])return _0x5580cb;_0x1fb671++;}}const Aa={'id':_0x354fcb(0x285),'type':_0x3e23cf[_0x354fcb(0x301)],'handler':(_0x3b74cf,_0x5252d8)=>{const _0x4ec82f=_0x354fcb;if(!_0x5252d8)return!0x1;let _0x3dfaf6=_0x3b74cf['get'](_0x3414e2),{unitId:_0x29086c,table:_0xa8ee86,index:_0x59b5d9}=_0x5252d8,_0x12bee5=_0x3dfaf6['getUnit'](_0x29086c,_0x28d752[_0x4ec82f(0x201)]);if(!_0x12bee5||_0x12bee5[_0x4ec82f(0x1f9)]()['tables'][_0xa8ee86['id']]||!Oa(_0x12bee5[_0x4ec82f(0x1f9)](),_0xa8ee86[_0x4ec82f(0x1e0)])[_0x4ec82f(0x35c)])return!0x1;try{_0x136f40(_0xa8ee86);}catch{return!0x1;}let _0x803a5d=_0x3b74cf[_0x4ec82f(0x4a8)](_0x3ff846),_0x123b68=_0x3b74cf[_0x4ec82f(0x4a8)](_0x5153d9),_0x1219ba=_0x12bee5[_0x4ec82f(0x1f9)](),_0x3c7b60=new W()[_0x4ec82f(0x500)](_0x1219ba,_0xa8ee86,_0x59b5d9),_0x5d2dde=new z()[_0x4ec82f(0x2aa)](_0x1219ba,_0x3c7b60),_0x35c665={'unitId':_0x29086c,'op':_0x3c7b60},_0x6aa692={'unitId':_0x29086c,'op':_0x5d2dde};return _0x803a5d['syncExecuteCommand'](Q['id'],_0x35c665)?(_0x3dfaf6[_0x4ec82f(0x3f4)](_0x29086c),_0x123b68[_0x4ec82f(0x519)]({'unitID':_0x29086c,'undoMutations':[{'id':Q['id'],'params':_0x6aa692}],'redoMutations':[{'id':Q['id'],'params':_0x35c665}]}),!0x0):!0x1;}};function ja(_0xd5401a,_0x40f96b,_0x204a4d=[]){const _0x160c63=_0x354fcb;let _0x447ff2=new Set([...Object[_0x160c63(0x1da)](_0xd5401a[_0x160c63(0x480)])[_0x160c63(0x397)](_0xe50ba0=>_0xe50ba0)[_0x160c63(0x29b)](_0x4641d3=>_0x4641d3['name']),..._0x204a4d[_0x160c63(0x29b)](_0x433627=>_0x433627['name'])]);if(!_0x447ff2[_0x160c63(0x23f)](_0x40f96b))return _0x40f96b;let _0x2d2332=0x2;for(;_0x447ff2[_0x160c63(0x23f)](_0x40f96b+'\x20'+_0x2d2332);)_0x2d2332++;return _0x40f96b+'\x20'+_0x2d2332;}function Ma(_0x1da0d6,_0x1f9cb5){const _0x5f2842=_0x354fcb;if(!_0x1da0d6||!_0x1f9cb5[_0x5f2842(0x458)])return;let _0x31b6b4=[..._0x1da0d6];return _0x1f9cb5[_0x5f2842(0x461)](_0x110a15=>{const _0x4c1edd=_0x5f2842;_0x31b6b4[_0x4c1edd(0x231)](_0x110a15)||_0x31b6b4[_0x4c1edd(0x1f3)](_0x110a15);}),_0x31b6b4;}const Na={'options':[{'id':'todo','name':_0x354fcb(0x48c),'color':_0x354fcb(0x47c)},{'id':_0x354fcb(0x359),'name':_0x354fcb(0x41d),'color':_0x354fcb(0x3a1)},{'id':_0x354fcb(0x414),'name':_0x354fcb(0x3de),'color':'#BBF7D0'}]},Pa={'locale':'en-US','pattern':_0x354fcb(0x1cd),'includeTime':!0x1,'hourCycle':_0x354fcb(0x1a8),'defaultMode':_0x354fcb(0x3e0)};function Fa(_0x5c7f17,_0x531222,_0x33fbd7,_0x4097c2){const _0x217588=_0x354fcb;var _0x1deb9a;let _0x428c33=new W(),_0x3d433b=_0x5c7f17[_0x217588(0x2ba)][_0x531222],_0x2e0b69=_0x3d433b?{..._0x33fbd7,'fieldOrder':[_0x3b44b5,...(_0x33fbd7[_0x217588(0x1e1)]??_0x3d433b['fieldOrder'])[_0x217588(0x397)](_0x94c1ae=>_0x94c1ae!==_0x3b44b5)],'fieldSettings':{..._0x33fbd7[_0x217588(0x484)],[_0x3b44b5]:{...(_0x1deb9a=_0x33fbd7[_0x217588(0x484)])==null?void 0x0:_0x1deb9a[_0x3b44b5],'hidden':!0x0}}}:_0x33fbd7;if(_0x3d433b&&_0x2e0b69[_0x217588(0x33a)]==='kanban'){let _0x2abafd=La(_0x3d433b,_0x2e0b69),_0x2cc439=_0x2abafd['changed']?{..._0x2e0b69,'config':_0x2abafd[_0x217588(0x342)],'fieldOrder':_0x2abafd[_0x217588(0x1e1)]??_0x2e0b69[_0x217588(0x1e1)]}:_0x2e0b69;return R([..._0x2abafd[_0x217588(0x480)][_0x217588(0x29b)](_0x5e9bbc=>_0x428c33[_0x217588(0x2c0)](_0x5c7f17,_0x531222,{'field':_0x5e9bbc})),_0x428c33[_0x217588(0x446)](_0x5c7f17,_0x531222,_0x2cc439,_0x4097c2)]);}if(!_0x3d433b||_0x2e0b69[_0x217588(0x33a)]!=='calendar'&&_0x2e0b69[_0x217588(0x33a)]!==_0x217588(0x3b0))return _0x428c33['createView'](_0x5c7f17,_0x531222,_0x2e0b69,_0x4097c2);let _0x2ffda2=Ia(_0x3d433b,_0x2e0b69),_0x1ebb98=_0x2ffda2[_0x217588(0x2ab)]?{..._0x2e0b69,'config':_0x2ffda2['config'],'fieldOrder':_0x2ffda2[_0x217588(0x1e1)]??_0x2e0b69[_0x217588(0x1e1)]}:_0x2e0b69;return _0x2e0b69[_0x217588(0x33a)]==='gantt'&&Ba(_0x2e0b69)&&(_0x1ebb98=Va(_0x3d433b,_0x1ebb98,_0x2ffda2[_0x217588(0x480)])),R([..._0x2ffda2[_0x217588(0x480)][_0x217588(0x29b)](_0x2fbd64=>_0x428c33['createField'](_0x5c7f17,_0x531222,{'field':_0x2fbd64})),_0x428c33['createView'](_0x5c7f17,_0x531222,_0x1ebb98,_0x4097c2)]);}function Ia(_0x204d68,_0x4e4455,_0x31b047=!0x1){const _0x430d0a=_0x354fcb;var _0x3fb864,_0x1056d7;let _0x21766c=_0x204d68[_0x430d0a(0x1e1)]['filter'](_0x2b9226=>Ua(_0x204d68,_0x2b9226)),_0x42412c=[],_0xa497a5={..._0x4e4455[_0x430d0a(0x342)]??{}},_0x36ac66=typeof _0xa497a5[_0x430d0a(0x240)]==_0x430d0a(0x471)&&Ua(_0x204d68,_0xa497a5[_0x430d0a(0x240)])?_0xa497a5[_0x430d0a(0x240)]:_0x21766c[0x0],_0x251cde=typeof _0xa497a5[_0x430d0a(0x171)]==_0x430d0a(0x471)&&Ua(_0x204d68,_0xa497a5['endDateFieldId'])&&_0xa497a5['endDateFieldId']!==_0x36ac66?_0xa497a5['endDateFieldId']:_0x21766c[_0x430d0a(0x22f)](_0x2347dd=>_0x2347dd!==_0x36ac66);if(!_0x36ac66){let _0xbca362=Wa(_0x204d68,_0x42412c,_0x4e4455[_0x430d0a(0x33a)]==='gantt'?_0x430d0a(0x387):_0x430d0a(0x440));_0x42412c[_0x430d0a(0x1f3)](_0xbca362),_0x36ac66=_0xbca362['id'];}if((_0x4e4455['type']===_0x430d0a(0x3b0)||_0x31b047)&&!_0x251cde){let _0x1c6254=Wa(_0x204d68,_0x42412c,_0x430d0a(0x4ad));_0x42412c[_0x430d0a(0x1f3)](_0x1c6254),_0x251cde=_0x1c6254['id'];}_0x4e4455[_0x430d0a(0x33a)]==='calendar'&&!_0x251cde&&delete _0xa497a5[_0x430d0a(0x171)],_0xa497a5['startDateFieldId']=_0x36ac66,_0x4e4455[_0x430d0a(0x33a)]===_0x430d0a(0x234)&&_0x251cde&&(_0xa497a5[_0x430d0a(0x171)]=_0x251cde),_0x4e4455[_0x430d0a(0x33a)]===_0x430d0a(0x3b0)&&(_0xa497a5[_0x430d0a(0x171)]=_0x251cde??_0x36ac66);let _0x358a1b=Ma(_0x4e4455[_0x430d0a(0x1e1)],_0x42412c[_0x430d0a(0x29b)](_0x128f3a=>_0x128f3a['id']));return{'changed':_0x42412c[_0x430d0a(0x458)]>0x0||_0xa497a5['startDateFieldId']!==((_0x3fb864=_0x4e4455[_0x430d0a(0x342)])==null?void 0x0:_0x3fb864['startDateFieldId'])||_0xa497a5['endDateFieldId']!==((_0x1056d7=_0x4e4455[_0x430d0a(0x342)])==null?void 0x0:_0x1056d7[_0x430d0a(0x171)])||!(!_0x358a1b||_0x30f9db[_0x430d0a(0x52f)](_0x358a1b,_0x4e4455[_0x430d0a(0x1e1)]??[])),'fields':_0x42412c,'config':_0xa497a5,'fieldOrder':_0x358a1b};}function La(_0x5413d2,_0x3623c5){const _0x132b62=_0x354fcb;var _0x5d8ee2;let _0x43d64b=[],_0x361821={..._0x3623c5[_0x132b62(0x342)]??{}},_0x559677=typeof _0x361821[_0x132b62(0x38a)]==_0x132b62(0x471)&&Ra(_0x5413d2,_0x361821[_0x132b62(0x38a)])?_0x361821[_0x132b62(0x38a)]:_0x5413d2[_0x132b62(0x1e1)]['find'](_0x51916e=>Ra(_0x5413d2,_0x51916e));if(!_0x559677){let _0xf323cd=za(_0x5413d2,_0x43d64b);_0x43d64b[_0x132b62(0x1f3)](_0xf323cd),_0x559677=_0xf323cd['id'];}_0x361821['groupFieldId']=_0x559677;let _0x30315d=Ma(_0x3623c5['fieldOrder'],_0x43d64b[_0x132b62(0x29b)](_0x49b383=>_0x49b383['id']));return{'changed':_0x43d64b[_0x132b62(0x458)]>0x0||_0x361821[_0x132b62(0x38a)]!==((_0x5d8ee2=_0x3623c5[_0x132b62(0x342)])==null?void 0x0:_0x5d8ee2[_0x132b62(0x38a)])||!(!_0x30315d||_0x30f9db[_0x132b62(0x52f)](_0x30315d,_0x3623c5[_0x132b62(0x1e1)]??[])),'fields':_0x43d64b,'config':_0x361821,'fieldOrder':_0x30315d};}function Ra(_0x355e2a,_0x45b67a){const _0x502f28=_0x354fcb;let _0xee7caf=_0x45b67a?_0x355e2a[_0x502f28(0x480)][_0x45b67a]:null;return _0xee7caf?[_0x19bf94[_0x502f28(0x407)],_0x19bf94[_0x502f28(0x283)],_0x19bf94[_0x502f28(0x4c5)],_0x19bf94[_0x502f28(0x1e5)],_0x19bf94['Group'],_0x19bf94[_0x502f28(0x19e)]]['includes'](_0xee7caf[_0x502f28(0x33a)]):!0x1;}function za(_0x103e40,_0x114031){const _0x1ff470=_0x354fcb;return{'id':_0x1ff470(0x46a)+_0x3ba5f0(0x8),'name':ja(_0x103e40,_0x1ff470(0x1df),_0x114031),'type':_0x19bf94[_0x1ff470(0x407)],'config':_0x30f9db['deepClone'](Na)};}function Ba(_0x2a8b06){const _0x16ff69=_0x354fcb;return Object[_0x16ff69(0x51b)](_0x2a8b06[_0x16ff69(0x342)]??{})[_0x16ff69(0x458)]===0x0&&Object[_0x16ff69(0x51b)](_0x2a8b06[_0x16ff69(0x484)]??{})['length']===0x0;}function Va(_0x5cb3ba,_0x4dcbe0,_0x16073b){const _0x3c5735=_0x354fcb;let _0x3ba525={..._0x4dcbe0[_0x3c5735(0x342)]??{}},_0x10767d=_0x16073b[_0x3c5735(0x29b)](_0x528c78=>_0x528c78['id']),_0x5a004b=[..._0x5cb3ba[_0x3c5735(0x1e1)],..._0x10767d],_0x48e017=typeof _0x3ba525[_0x3c5735(0x345)]==_0x3c5735(0x471)&&Ha(_0x5cb3ba,_0x16073b,_0x3ba525['titleFieldId'])?_0x3ba525[_0x3c5735(0x345)]:_0x5cb3ba['primaryFieldId'],_0x42e04d=typeof _0x3ba525[_0x3c5735(0x240)]=='string'?_0x3ba525[_0x3c5735(0x240)]:'',_0x662f03=typeof _0x3ba525[_0x3c5735(0x171)]==_0x3c5735(0x471)?_0x3ba525[_0x3c5735(0x171)]:_0x42e04d,_0x54a491=new Set([_0x48e017,_0x42e04d,_0x662f03][_0x3c5735(0x397)](_0x3a32fe=>_0x3a32fe&&Ha(_0x5cb3ba,_0x16073b,_0x3a32fe))),_0x473216=Object[_0x3c5735(0x2e8)](_0x5a004b[_0x3c5735(0x2a2)](_0x2af9aa=>_0x54a491['has'](_0x2af9aa)||!Ha(_0x5cb3ba,_0x16073b,_0x2af9aa)?[]:[[_0x2af9aa,{'hidden':!0x0}]]));return{..._0x4dcbe0,'config':{..._0x3ba525,'titleFieldId':_0x48e017},'fieldSettings':_0x473216};}function Ha(_0x306f2c,_0xe0dd89,_0x1058db){const _0x2c84a9=_0x354fcb;return!!(_0x306f2c[_0x2c84a9(0x480)][_0x1058db]??_0xe0dd89['find'](_0x37989f=>_0x37989f['id']===_0x1058db))&&!0x0;}function Ua(_0x598f3e,_0xedb8d9){const _0x4fe151=_0x354fcb;let _0x1663a5=_0xedb8d9?_0x598f3e[_0x4fe151(0x480)][_0xedb8d9]:null;return!!_0x1663a5&&_0x1663a5[_0x4fe151(0x33a)]===_0x19bf94[_0x4fe151(0x440)]&&_0x1663a5['readonly']!==!0x0&&_0x1663a5[_0x4fe151(0x1cb)]!==!0x0;}function Wa(_0x21a08a,_0x431532,_0x44f2ab){const _0x483204=_0x354fcb;let _0x67bbc=new Set([...Object[_0x483204(0x51b)](_0x21a08a[_0x483204(0x480)]),..._0x431532[_0x483204(0x29b)](_0x475d1c=>_0x475d1c['id'])]),_0x14502b='fld-'+_0x3ba5f0(0x8);for(;_0x67bbc[_0x483204(0x23f)](_0x14502b);)_0x14502b='fld-'+_0x3ba5f0(0x8);return{'id':_0x14502b,'name':ja(_0x21a08a,_0x44f2ab,_0x431532),'type':_0x19bf94[_0x483204(0x440)],'config':{...Pa}};}const Ga={'id':_0x354fcb(0x4fa),'type':_0x3e23cf['COMMAND'],'handler':(_0x13f132,_0x2a4eca)=>{const _0x4096c7=_0x354fcb;if(!_0x2a4eca)return!0x1;let _0x545df3=_0x13f132[_0x4096c7(0x4a8)](_0x3414e2),{unitId:_0x329b02,tableId:_0x4952e1,view:_0x1273f8,index:_0x2d41fb}=_0x2a4eca,_0x5db18e=_0x545df3[_0x4096c7(0x2e5)](_0x329b02,_0x28d752[_0x4096c7(0x201)]);if(!_0x5db18e||!$(_0x5db18e,_0x4952e1)||_0x5db18e[_0x4096c7(0x1f9)]()['tables'][_0x4952e1]['views'][_0x1273f8['id']])return!0x1;let _0xb8a458=_0x13f132['get'](_0x3ff846),_0x491fb4=_0x13f132[_0x4096c7(0x4a8)](_0x5153d9),_0xb50c0d=_0x5db18e[_0x4096c7(0x1f9)](),_0x3ddb44=Fa(_0xb50c0d,_0x4952e1,_0x1273f8,_0x2d41fb),_0x5f4253=new z()[_0x4096c7(0x2aa)](_0xb50c0d,_0x3ddb44),_0x5a9ac4={'historyAction':_0x4096c7(0x26f),'unitId':_0x329b02,'op':_0x3ddb44,'viewType':_0x1273f8[_0x4096c7(0x33a)]},_0xe1a655={'historyAction':_0x4096c7(0x438),'unitId':_0x329b02,'op':_0x5f4253,'viewType':_0x1273f8['type']};return _0xb8a458[_0x4096c7(0x4c6)](Q['id'],_0x5a9ac4)?(_0x545df3['focusUnit'](_0x329b02),_0x491fb4[_0x4096c7(0x519)]({'unitID':_0x329b02,'undoMutations':[{'id':Q['id'],'params':_0xe1a655}],'redoMutations':[{'id':Q['id'],'params':_0x5a9ac4}]}),!0x0):!0x1;}},Ka={'id':_0x354fcb(0x46b),'type':_0x3e23cf[_0x354fcb(0x301)],'handler'(_0x1e0a5e,_0x59fa23){const _0x547ad4=_0x354fcb;if(!_0x59fa23)return!0x1;let _0x1e4c91=_0x1e0a5e[_0x547ad4(0x4a8)](_0x3414e2),{unitId:_0x1362a0,tableId:_0x49b947,fieldId:_0x12b8f0}=_0x59fa23,_0xb8829c=_0x1e4c91[_0x547ad4(0x2e5)](_0x1362a0,_0x28d752[_0x547ad4(0x201)]);if(!_0xb8829c)return!0x1;let _0x41ad1f=_0xb8829c[_0x547ad4(0x1f9)](),_0x336a89=_0x41ad1f[_0x547ad4(0x2ba)][_0x49b947];if(!$(_0xb8829c,_0x49b947,{'fieldIds':[_0x12b8f0]})||_0x336a89[_0x547ad4(0x4cf)]===_0x12b8f0||_0x12b8f0===_0x3b44b5)return!0x1;let _0x24d767=_0x1e0a5e[_0x547ad4(0x4a8)](_0x3ff846),_0x2d7dde=_0x1e0a5e[_0x547ad4(0x4a8)](_0x5153d9),_0x325091=new W()[_0x547ad4(0x21f)](_0x41ad1f,_0x49b947,_0x12b8f0),_0x15a44e=new z()['invertOp'](_0x41ad1f,_0x325091),_0xd6ec12={'unitId':_0x1362a0,'op':_0x325091},_0x3e00ec={'unitId':_0x1362a0,'op':_0x15a44e};return _0x24d767[_0x547ad4(0x4c6)](Q['id'],_0xd6ec12)?(_0x1e4c91['focusUnit'](_0x1362a0),_0x2d7dde[_0x547ad4(0x519)]({'unitID':_0x1362a0,'undoMutations':[{'id':Q['id'],'params':_0x3e00ec}],'redoMutations':[{'id':Q['id'],'params':_0xd6ec12}]}),!0x0):!0x1;}},qa={'id':_0x354fcb(0x17b),'type':_0x3e23cf['COMMAND'],'handler':(_0x5c561b,_0x44291d)=>{const _0x2db902=_0x354fcb;if(!_0x44291d)return!0x1;let _0x4a27af=_0x5c561b[_0x2db902(0x4a8)](_0x3414e2),{unitId:_0xd435fa,tableId:_0xaa252e,recordId:_0xbce966}=_0x44291d,_0x570016=_0x4a27af['getUnit'](_0xd435fa,_0x28d752[_0x2db902(0x201)]);if(!_0x570016||!$(_0x570016,_0xaa252e,{'recordIds':[_0xbce966]}))return!0x1;let _0x11ca65=_0x5c561b['get'](_0x3ff846),_0x557f4e=_0x5c561b[_0x2db902(0x4a8)](_0x5153d9),_0x2198f3=_0x570016[_0x2db902(0x1f9)](),_0x7467b6=et(_0x2198f3['tables'][_0xaa252e],[_0xbce966]),_0x44caec=new W(),_0x24d89d=new z(),_0x478784=_0x44caec[_0x2db902(0x375)](_0x2198f3,_0xaa252e,_0xbce966),_0x3f2598=_0x24d89d[_0x2db902(0x2ad)](_0x2198f3,_0x478784),_0x2ec71a=_0x44caec['createDeleteRecordsUndoOp'](_0x2198f3,_0x3f2598,_0xaa252e,[_0xbce966]),_0x10910f={'unitId':_0xd435fa,'op':_0x478784,'hierarchyChanges':_0x7467b6,'source':_0x44291d[_0x2db902(0x4cd)]??'ui'},_0x3afdb6={..._0x10910f,'source':'redo'},_0x148a0f={'unitId':_0xd435fa,'op':_0x2ec71a,'hierarchyChanges':_0x7467b6[_0x2db902(0x29b)](_0x5b11ea=>({..._0x5b11ea,'oldParentRecordId':_0x5b11ea[_0x2db902(0x1b1)],'parentRecordId':_0x5b11ea[_0x2db902(0x30d)]})),'source':'undo'};return _0x11ca65[_0x2db902(0x4c6)](Q['id'],_0x10910f)?(_0x4a27af['focusUnit'](_0xd435fa),_0x557f4e['pushUndoRedo']({'unitID':_0xd435fa,'undoMutations':[{'id':Q['id'],'params':_0x148a0f}],'redoMutations':[{'id':Q['id'],'params':_0x3afdb6}]}),!0x0):!0x1;}},Ja={'id':'base.command.delete-base-table','type':_0x3e23cf[_0x354fcb(0x301)],'handler':(_0x306ae6,_0x2a1b87)=>{const _0x5d9c33=_0x354fcb;if(!_0x2a1b87)return!0x1;let _0x88afcb=_0x306ae6[_0x5d9c33(0x4a8)](_0x3414e2),{unitId:_0x29b358,tableId:_0x4fa18f}=_0x2a1b87,_0x5a50e2=_0x88afcb[_0x5d9c33(0x2e5)](_0x29b358,_0x28d752['UNIVER_BASE']);if(!_0x5a50e2||!$(_0x5a50e2,_0x4fa18f))return!0x1;let _0x54bd87=_0x306ae6[_0x5d9c33(0x4a8)](_0x3ff846),_0x28e214=_0x306ae6[_0x5d9c33(0x4a8)](_0x5153d9),_0x21cd1f=_0x5a50e2['getSnapshot'](),_0x6aa2b=He(_0x21cd1f,_0x4fa18f);if(_0x6aa2b[_0x5d9c33(0x458)]>0x0)return console[_0x5d9c33(0x206)]('[DeleteBaseTableCommand]:\x20table\x20\x22'+_0x4fa18f+_0x5d9c33(0x3e9)+_0x6aa2b[_0x5d9c33(0x29b)](_0x5ba2cb=>_0x5ba2cb[_0x5d9c33(0x1c3)]+'.'+_0x5ba2cb['fieldId'])[_0x5d9c33(0x4b5)](',\x20')+'.'),!0x1;let _0x1da5a1=new W()['deleteTable'](_0x21cd1f,_0x4fa18f),_0x7fa810=new z()['invertOp'](_0x21cd1f,_0x1da5a1),_0x5e1721={'unitId':_0x29b358,'op':_0x1da5a1},_0x5e76b7={'unitId':_0x29b358,'op':_0x7fa810};return _0x54bd87[_0x5d9c33(0x4c6)](Q['id'],_0x5e1721)?(_0x88afcb[_0x5d9c33(0x3f4)](_0x29b358),_0x28e214[_0x5d9c33(0x519)]({'unitID':_0x29b358,'undoMutations':[{'id':Q['id'],'params':_0x5e76b7}],'redoMutations':[{'id':Q['id'],'params':_0x5e1721}]}),!0x0):!0x1;}},Ya={'id':_0x354fcb(0x25b),'type':_0x3e23cf[_0x354fcb(0x301)],'handler':(_0x22a43b,_0x42dcc1)=>{const _0x957ca9=_0x354fcb;if(!_0x42dcc1)return!0x1;let _0xec3305=_0x22a43b[_0x957ca9(0x4a8)](_0x3414e2),{unitId:_0xae219,tableId:_0x5d8cba,viewId:_0x455666}=_0x42dcc1,_0x5bbc10=_0xec3305[_0x957ca9(0x2e5)](_0xae219,_0x28d752[_0x957ca9(0x201)]);if(!_0x5bbc10||!$(_0x5bbc10,_0x5d8cba,{'viewIds':[_0x455666]}))return!0x1;let _0x103fef=_0x22a43b[_0x957ca9(0x4a8)](_0x3ff846),_0x5c7216=_0x22a43b[_0x957ca9(0x4a8)](_0x5153d9),_0x171a9f=_0x5bbc10['getSnapshot'](),_0x4b2cc8=_0x171a9f['tables'][_0x5d8cba][_0x957ca9(0x38b)][_0x455666][_0x957ca9(0x33a)],_0x2f4ff4=new W()['deleteView'](_0x171a9f,_0x5d8cba,_0x455666),_0x2d0035=new z()[_0x957ca9(0x2aa)](_0x171a9f,_0x2f4ff4),_0x1ff356={'historyAction':_0x957ca9(0x438),'unitId':_0xae219,'op':_0x2f4ff4,'viewType':_0x4b2cc8},_0x5a05c3={'historyAction':_0x957ca9(0x26f),'unitId':_0xae219,'op':_0x2d0035,'viewType':_0x4b2cc8};return _0x103fef['syncExecuteCommand'](Q['id'],_0x1ff356)?(_0xec3305[_0x957ca9(0x3f4)](_0xae219),_0x5c7216[_0x957ca9(0x519)]({'unitID':_0xae219,'undoMutations':[{'id':Q['id'],'params':_0x5a05c3}],'redoMutations':[{'id':Q['id'],'params':_0x1ff356}]}),!0x0):!0x1;}},Xa={'id':_0x354fcb(0x1d1),'type':_0x3e23cf[_0x354fcb(0x301)],'handler':(_0x3dba74,_0x3c805e)=>{const _0x4695c0=_0x354fcb;if(!_0x3c805e)return!0x1;let _0x5b91b1=_0x3dba74['get'](_0x3414e2),{unitId:_0x23735a,tableId:_0x175c40,sourceFieldId:_0x1da5b1,field:_0x4156e6,index:_0xd8f6b5,viewIndexes:_0x523806}=_0x3c805e,_0x448a9c=_0x5b91b1[_0x4695c0(0x2e5)](_0x23735a,_0x28d752[_0x4695c0(0x201)]);if(!_0x448a9c||!$(_0x448a9c,_0x175c40,{'fieldIds':[_0x1da5b1]})||_0x1da5b1===_0x3b44b5||_0x448a9c[_0x4695c0(0x1f9)]()['tables'][_0x175c40][_0x4695c0(0x480)][_0x4156e6['id']]||_0xd8f6b5===0x0||!ha(_0x448a9c,_0x175c40,_0x4156e6))return!0x1;let _0x452cb1=_0x3dba74[_0x4695c0(0x4a8)](_0x3ff846),_0x3da0a9=_0x3dba74[_0x4695c0(0x4a8)](_0x5153d9),_0x3e36d7=_0x448a9c[_0x4695c0(0x1f9)](),_0x287418=new W()[_0x4695c0(0x199)](_0x3e36d7,_0x175c40,_0x1da5b1,{'field':_0x4156e6,'index':_0xd8f6b5,'viewIndexes':_0x523806}),_0x2025da=new z()[_0x4695c0(0x2aa)](_0x3e36d7,_0x287418),_0x207180={'unitId':_0x23735a,'op':_0x287418},_0x8af91b={'unitId':_0x23735a,'op':_0x2025da};return _0x452cb1[_0x4695c0(0x4c6)](Q['id'],_0x207180)?(_0x5b91b1[_0x4695c0(0x3f4)](_0x23735a),_0x3da0a9['pushUndoRedo']({'unitID':_0x23735a,'undoMutations':[{'id':Q['id'],'params':_0x8af91b}],'redoMutations':[{'id':Q['id'],'params':_0x207180}]}),!0x0):!0x1;}},Za={'id':_0x354fcb(0x2fa),'type':_0x3e23cf[_0x354fcb(0x301)],'handler':(_0xaf1a27,_0x2f57cd)=>{const _0x30168b=_0x354fcb;if(!_0x2f57cd)return!0x1;let _0x26898c=_0xaf1a27[_0x30168b(0x4a8)](_0x3414e2),{unitId:_0x3cea23,tableId:_0x28ce4f,sourceRecordId:_0x263f92,record:_0x415531}=_0x2f57cd,_0x29f3a1=_0x26898c[_0x30168b(0x2e5)](_0x3cea23,_0x28d752[_0x30168b(0x201)]);if(!_0x29f3a1||!$(_0x29f3a1,_0x28ce4f,{'recordIds':[_0x263f92]})||!_a(_0x29f3a1,_0x28ce4f,_0x415531))return!0x1;let _0x263ae6=_0xaf1a27[_0x30168b(0x4a8)](_0x3ff846),_0x4bb6fe=_0xaf1a27[_0x30168b(0x4a8)](_0x5153d9),_0x2a9883=_0x29f3a1[_0x30168b(0x1f9)](),_0x2aa80f=va(_0x415531),_0x32d13e=Qe(_0x2a9883['tables'][_0x28ce4f],[_0x2aa80f]),_0x51a12f=new W()['duplicateRecord'](_0x2a9883,_0x28ce4f,_0x263f92,_0x2aa80f),_0x365954=new z()['invertOp'](_0x2a9883,_0x51a12f),_0x405aa9={'unitId':_0x3cea23,'op':_0x51a12f,'hierarchyChanges':_0x32d13e[_0x30168b(0x458)]?_0x32d13e:void 0x0,'source':_0x32d13e[_0x30168b(0x458)]?_0x2f57cd[_0x30168b(0x4cd)]??'ui':void 0x0},_0x18f5e0={..._0x405aa9,'source':_0x32d13e[_0x30168b(0x458)]?_0x30168b(0x29f):void 0x0},_0x46bcb7={'unitId':_0x3cea23,'op':_0x365954,'hierarchyChanges':_0x32d13e[_0x30168b(0x458)]?_0x32d13e['map'](_0xa4d85c=>({..._0xa4d85c,'oldParentRecordId':_0xa4d85c['parentRecordId'],'parentRecordId':null})):void 0x0,'source':_0x32d13e[_0x30168b(0x458)]?_0x30168b(0x37e):void 0x0};return _0x263ae6[_0x30168b(0x4c6)](Q['id'],_0x405aa9)?(_0x26898c[_0x30168b(0x3f4)](_0x3cea23),_0x4bb6fe[_0x30168b(0x519)]({'unitID':_0x3cea23,'undoMutations':[{'id':Q['id'],'params':_0x46bcb7}],'redoMutations':[{'id':Q['id'],'params':_0x18f5e0}]}),!0x0):!0x1;}},Qa={'id':_0x354fcb(0x45d),'type':_0x3e23cf['COMMAND'],'handler'(_0x748279,_0xee54d2){const _0x52c269=_0x354fcb;if(!_0xee54d2)return!0x1;let _0x3a994b=_0x748279[_0x52c269(0x4a8)](_0x3414e2),{unitId:_0x9e353e,tableId:_0x492cbb,viewId:_0x43f8fb,ensureEndDateField:_0x26b8e9}=_0xee54d2,_0x427fd0=_0x3a994b[_0x52c269(0x2e5)](_0x9e353e,_0x28d752[_0x52c269(0x201)]);if(!_0x427fd0||!$(_0x427fd0,_0x492cbb,{'viewIds':[_0x43f8fb]}))return!0x1;let _0x25755f=_0x427fd0[_0x52c269(0x1f9)](),_0x3da82d=_0x25755f[_0x52c269(0x2ba)][_0x492cbb],_0x362842=_0x3da82d==null?void 0x0:_0x3da82d[_0x52c269(0x38b)][_0x43f8fb];if(!_0x3da82d||!_0x362842||_0x362842[_0x52c269(0x33a)]!=='calendar'&&_0x362842[_0x52c269(0x33a)]!==_0x52c269(0x3b0))return!0x1;let _0x501af2=Ia(_0x3da82d,_0x362842,_0x26b8e9===!0x0);if(!_0x501af2['changed'])return!0x1;let _0x825fc=_0x748279['get'](_0x3ff846),_0x531050=_0x748279['get'](_0x5153d9),_0x1e9b23=new W(),_0x2017d7=[..._0x501af2[_0x52c269(0x480)][_0x52c269(0x29b)](_0x1c8ff9=>_0x1e9b23[_0x52c269(0x2c0)](_0x25755f,_0xee54d2[_0x52c269(0x1c3)],{'field':_0x1c8ff9})),$a([...eo(_0xee54d2[_0x52c269(0x1c3)],_0xee54d2[_0x52c269(0x366)]),_0x52c269(0x342)],_0x362842[_0x52c269(0x342)],_0x501af2[_0x52c269(0x342)])];_0x501af2['fieldOrder']&&_0x2017d7['push']($a([...eo(_0xee54d2['tableId'],_0xee54d2[_0x52c269(0x366)]),_0x52c269(0x1e1)],_0x362842[_0x52c269(0x1e1)],_0x501af2[_0x52c269(0x1e1)]));let _0x3dc2da=R(_0x2017d7),_0x33e338=new z()[_0x52c269(0x2aa)](_0x25755f,_0x3dc2da),_0x50b8d3={'unitId':_0x9e353e,'op':_0x3dc2da},_0x5d1368={'unitId':_0x9e353e,'op':_0x33e338};return _0x825fc['syncExecuteCommand'](Q['id'],_0x50b8d3)?(_0x3a994b[_0x52c269(0x3f4)](_0x9e353e),_0x531050[_0x52c269(0x519)]({'unitID':_0x9e353e,'undoMutations':[{'id':Q['id'],'params':_0x5d1368}],'redoMutations':[{'id':Q['id'],'params':_0x50b8d3}]}),!0x0):!0x1;}};function $a(_0x52a463,_0x3c9a97,_0x4b4415){const _0x1ac691=_0x354fcb;return _0x3c9a97===void 0x0?_0x370803[_0x1ac691(0x207)](_0x52a463,_0x4b4415):_0x370803[_0x1ac691(0x333)](_0x52a463,_0x3c9a97,_0x4b4415);}function eo(_0x5b7ca4,_0x545f00){const _0x53287c=_0x354fcb;return[_0x53287c(0x2ba),_0x5b7ca4,'views',_0x545f00];}const to={'id':_0x354fcb(0x4b3),'type':_0x3e23cf['COMMAND'],'handler':(_0x4c5305,_0x2f3825)=>{const _0x1c6625=_0x354fcb;if(!_0x2f3825)return!0x1;let _0x223060=_0x4c5305[_0x1c6625(0x4a8)](_0x3414e2),{unitId:_0x4ea858,tableId:_0x5a1caf,fieldId:_0x1a3dce,target:_0x4254fa}=_0x2f3825,_0x170056=_0x223060['getUnit'](_0x4ea858,_0x28d752[_0x1c6625(0x201)]),_0x43eec4=_0x4254fa[_0x1c6625(0x381)]??_0x4254fa[_0x1c6625(0x27b)];if(!_0x170056||!!_0x4254fa[_0x1c6625(0x381)]==!!_0x4254fa[_0x1c6625(0x27b)]||!_0x43eec4||_0x43eec4===_0x1a3dce||_0x1a3dce===_0x3b44b5||_0x4254fa[_0x1c6625(0x381)]===_0x3b44b5||!$(_0x170056,_0x5a1caf,{'fieldIds':[_0x1a3dce,_0x43eec4]}))return!0x1;let _0x128da3=_0x4c5305[_0x1c6625(0x4a8)](_0x3ff846),_0x3c9330=_0x4c5305[_0x1c6625(0x4a8)](_0x5153d9),_0x5e8189=_0x170056[_0x1c6625(0x1f9)](),_0x119fca=new W()[_0x1c6625(0x399)](_0x5e8189,_0x5a1caf,_0x1a3dce,_0x4254fa),_0x3b2e36=new z()['invertOp'](_0x5e8189,_0x119fca),_0x30b13e={'unitId':_0x4ea858,'op':_0x119fca},_0x29d436={'unitId':_0x4ea858,'op':_0x3b2e36};return _0x128da3[_0x1c6625(0x4c6)](Q['id'],_0x30b13e)?(_0x223060[_0x1c6625(0x3f4)](_0x4ea858),_0x3c9330[_0x1c6625(0x519)]({'unitID':_0x4ea858,'undoMutations':[{'id':Q['id'],'params':_0x29d436}],'redoMutations':[{'id':Q['id'],'params':_0x30b13e}]}),!0x0):!0x1;}},no={'id':_0x354fcb(0x368),'type':_0x3e23cf['COMMAND'],'handler':(_0x5a635f,_0x38604c)=>{const _0x10554c=_0x354fcb;var _0x31b1f3;if(!_0x38604c)return!0x1;let {unitId:_0xb22739,tableId:_0x4ecb87,recordId:_0x4fc00c,parentRecordId:_0x5770be,orderKey:_0x41ec6b}=_0x38604c,_0x2db3b1=_0x5a635f['get'](_0x3414e2),_0x5a53d1=_0x2db3b1[_0x10554c(0x2e5)](_0xb22739,_0x28d752[_0x10554c(0x201)]);if(!_0x5a53d1||!$(_0x5a53d1,_0x4ecb87,{'recordIds':[_0x4fc00c,..._0x5770be?[_0x5770be]:[]]}))throw new P('missingRecord');let _0x425442=_0x5a53d1[_0x10554c(0x1f9)](),_0x5632aa=_0x425442[_0x10554c(0x2ba)][_0x4ecb87],_0x2cbfb8=qe(_0x5632aa),_0x4175d1=_0x2cbfb8??_0x38604c[_0x10554c(0x46e)]??Je(_0x5632aa);if(_0x2cbfb8&&_0x38604c['fieldId']&&_0x38604c[_0x10554c(0x46e)]!==_0x2cbfb8||_0x5632aa[_0x10554c(0x480)][_0x4175d1]&&!F(_0x5632aa,_0x4175d1))throw new P(_0x10554c(0x4a7));let _0x4f4e3f=tt(_0x5632aa,_0x4175d1),_0x3bf6c7=it(_0x4f4e3f,_0x4fc00c,_0x5770be);if(!_0x3bf6c7[_0x10554c(0x35c)])throw new P(_0x3bf6c7['reason']===_0x3f9b5e['SelfParent']?'selfParent':_0x3bf6c7[_0x10554c(0x2d9)]===_0x3f9b5e[_0x10554c(0x270)]?_0x10554c(0x363):_0x10554c(0x228));let _0x1da767=_0x4f4e3f[_0x10554c(0x36e)]['get'](_0x4fc00c)??null,_0x375be8=_0x5632aa[_0x10554c(0x45a)][_0x4fc00c][_0x10554c(0x3ef)];if(_0x1da767===_0x5770be&&(_0x41ec6b===void 0x0||_0x41ec6b===_0x375be8))return!0x0;let _0x3f7923=_0x1da767!==_0x5770be,_0x34c0da=_0x41ec6b!==void 0x0&&_0x41ec6b!==_0x375be8,_0x1bd6f6=new W(),_0x2e4013=[],_0x2520eb=_0x5632aa[_0x10554c(0x480)][_0x4175d1],_0x2cbf12=_0x3f7923&&(!_0x2520eb||((_0x31b1f3=N(_0x2520eb))==null?void 0x0:_0x31b1f3[_0x10554c(0x274)])!==_0x170c14[_0x10554c(0x3a0)])?_0x2520eb?_0x1bd6f6[_0x10554c(0x409)](_0x425442,_0x4ecb87,_0x4175d1,{'config':{..._0x2520eb[_0x10554c(0x342)],'relationRole':_0x170c14[_0x10554c(0x3a0)]}}):_0x5a635f[_0x10554c(0x4a8)](Kr)[_0x10554c(0x20a)](_0x5a53d1,_0x4ecb87,Ye(_0x5632aa,_0x4175d1,_0x38604c[_0x10554c(0x398)]),_0x5632aa[_0x10554c(0x1e1)][_0x10554c(0x458)]):null;_0x2cbf12&&_0x2e4013['push'](_0x2cbf12),_0x3f7923&&_0x2e4013[_0x10554c(0x1f3)](_0x1bd6f6['updateCell'](_0x425442,_0x4ecb87,_0x4fc00c,_0x4175d1,_0x5770be?Re([_0x5770be]):'')),_0x34c0da&&_0x2e4013[_0x10554c(0x1f3)](_0x1bd6f6[_0x10554c(0x229)](_0x425442,_0x4ecb87,_0x4fc00c,_0x41ec6b));let _0x207867=R(_0x2e4013),_0x3fd9b8={'tableId':_0x4ecb87,'fieldId':_0x4175d1,'recordId':_0x4fc00c,'oldParentRecordId':_0x1da767,'parentRecordId':_0x5770be},_0x41efd7={'unitId':_0xb22739,'op':_0x207867,'trigger':no['id'],'hierarchyChanges':[_0x3fd9b8],'source':_0x38604c[_0x10554c(0x4cd)]??'ui'},_0x5ad8ef={..._0x41efd7,'source':_0x10554c(0x29f)};if(!_0x5a635f['get'](_0x3ff846)['syncExecuteCommand'](Q['id'],_0x41efd7))return!0x1;let _0x4e04ae=_0x5a53d1[_0x10554c(0x1f9)](),_0x1d9180=[];_0x3f7923&&_0x1d9180[_0x10554c(0x1f3)](ro(_0x4e04ae,_0x425442,_0x4ecb87,_0x4fc00c,_0x4175d1)),_0x34c0da&&_0x1d9180[_0x10554c(0x1f3)](io(_0x4e04ae,_0x425442,_0x4ecb87,_0x4fc00c)),_0x2cbf12&&_0x1d9180[_0x10554c(0x1f3)](new z()[_0x10554c(0x2aa)](_0x425442,_0x2cbf12));let _0x5c6776={'unitId':_0xb22739,'op':R(_0x1d9180),'trigger':no['id'],'hierarchyChanges':[{..._0x3fd9b8,'oldParentRecordId':_0x5770be,'parentRecordId':_0x1da767}],'source':'undo'};return _0x2db3b1[_0x10554c(0x3f4)](_0xb22739),_0x5a635f['get'](_0x5153d9)['pushUndoRedo']({'unitID':_0xb22739,'undoMutations':[{'id':Q['id'],'params':_0x5c6776}],'redoMutations':[{'id':Q['id'],'params':_0x5ad8ef}]}),!0x0;}};function ro(_0x40b907,_0x3117b2,_0x1ceb10,_0x111f5e,_0x59f36f){const _0x369dd2=_0x354fcb;var _0x12ec30,_0xefcbcd,_0x5625ba,_0x16ada7,_0x525e4d,_0x4a01ee,_0x33e579,_0x1baade;let _0x5cf63f=_0x40b907[_0x369dd2(0x2ba)][_0x1ceb10],_0x4a8a0c=_0x3117b2[_0x369dd2(0x2ba)][_0x1ceb10],_0x34ebaf=(_0x12ec30=_0x5cf63f[_0x369dd2(0x290)])==null?void 0x0:_0x12ec30[_0x111f5e],_0x42ab19=(_0xefcbcd=_0x5cf63f[_0x369dd2(0x288)])==null?void 0x0:_0xefcbcd[_0x59f36f],_0x3fa8dd=(_0x5625ba=_0x4a8a0c[_0x369dd2(0x290)])==null?void 0x0:_0x5625ba[_0x111f5e],_0x6e0e65=(_0x16ada7=_0x4a8a0c[_0x369dd2(0x288)])==null?void 0x0:_0x16ada7[_0x59f36f],_0x31a58a=_0x34ebaf==null||_0x42ab19==null||(_0x525e4d=_0x5cf63f[_0x369dd2(0x1cf)])==null||(_0x525e4d=_0x525e4d[_0x34ebaf])==null?void 0x0:_0x525e4d[_0x42ab19],_0x548242=_0x3fa8dd==null||_0x6e0e65==null||(_0x4a01ee=_0x4a8a0c['cellData'])==null||(_0x4a01ee=_0x4a01ee[_0x3fa8dd])==null?void 0x0:_0x4a01ee[_0x6e0e65],_0x402def=(_0x33e579=_0x5cf63f['records'][_0x111f5e])==null?void 0x0:_0x33e579[_0x369dd2(0x1da)][_0x59f36f],_0xd9d79=(_0x1baade=_0x4a8a0c['records'][_0x111f5e])==null?void 0x0:_0x1baade[_0x369dd2(0x1da)][_0x59f36f],_0x521aa5=[],_0x441ab6=ao(_0x34ebaf==null||_0x42ab19==null?null:U['cellData'](_0x1ceb10,_0x34ebaf,_0x42ab19),_0x31a58a,_0x548242);_0x441ab6&&_0x521aa5[_0x369dd2(0x1f3)](_0x441ab6);let _0x4add43=ao(U[_0x369dd2(0x4eb)](_0x1ceb10,_0x111f5e,_0x59f36f),_0x402def,_0xd9d79);return _0x4add43&&_0x521aa5[_0x369dd2(0x1f3)](_0x4add43),R(_0x521aa5);}function io(_0x5fe6f,_0x17fc84,_0x3c8c7a,_0x2d4069){const _0x3e8716=_0x354fcb;var _0x3de692,_0x426c55;let _0x55e8c2=_0x5fe6f[_0x3e8716(0x2ba)][_0x3c8c7a],_0x3377af=_0x17fc84[_0x3e8716(0x2ba)][_0x3c8c7a];return R([ao([...U[_0x3e8716(0x52b)](_0x3c8c7a,_0x2d4069),_0x3e8716(0x3ef)],(_0x3de692=_0x55e8c2[_0x3e8716(0x45a)][_0x2d4069])==null?void 0x0:_0x3de692[_0x3e8716(0x3ef)],(_0x426c55=_0x3377af[_0x3e8716(0x45a)][_0x2d4069])==null?void 0x0:_0x426c55['orderKey']),ao([...U[_0x3e8716(0x513)](_0x3c8c7a),_0x3e8716(0x22d)],_0x55e8c2[_0x3e8716(0x22d)],_0x3377af['recordOrder'])][_0x3e8716(0x397)](_0x5ef3c2=>!!_0x5ef3c2));}function ao(_0x3a28db,_0x3ad04c,_0x14bc0c){const _0x301064=_0x354fcb;if(!_0x3a28db||_0x3ad04c===void 0x0&&_0x14bc0c===void 0x0)return null;let _0x3abca5=_0x426ad9[_0x301064(0x448)]();return _0x14bc0c===void 0x0?_0x3abca5[_0x301064(0x246)](_0x3a28db,_0x3ad04c):_0x3ad04c===void 0x0?_0x3abca5[_0x301064(0x207)](_0x3a28db,_0x14bc0c):_0x3abca5['replaceOp'](_0x3a28db,_0x3ad04c,_0x14bc0c);}const oo={'id':_0x354fcb(0x48e),'type':_0x3e23cf[_0x354fcb(0x301)],'handler':(_0xdf8b53,_0x3a6625)=>{const _0x5a063d=_0x354fcb;if(!_0x3a6625)return!0x1;let _0x5db2d1=_0xdf8b53[_0x5a063d(0x4a8)](_0x3414e2),{unitId:_0x3d9f7e,tableId:_0xb0766,viewId:_0x4571d0,target:_0x26714d}=_0x3a6625,_0x5a9183=_0x5db2d1[_0x5a063d(0x2e5)](_0x3d9f7e,_0x28d752[_0x5a063d(0x201)]),_0x28cd43=_0x26714d[_0x5a063d(0x2f6)]??_0x26714d[_0x5a063d(0x391)];if(!_0x5a9183||!_0x28cd43||_0x28cd43===_0x4571d0||!$(_0x5a9183,_0xb0766,{'viewIds':[_0x4571d0,_0x28cd43]}))return!0x1;let _0xaa1c99=_0xdf8b53[_0x5a063d(0x4a8)](_0x3ff846),_0x50f2e4=_0xdf8b53[_0x5a063d(0x4a8)](_0x5153d9),_0x56c390=_0x5a9183[_0x5a063d(0x1f9)](),_0x588aa7=new W()['moveView'](_0x56c390,_0xb0766,_0x4571d0,_0x26714d),_0x5c4e62=new z()['invertOp'](_0x56c390,_0x588aa7),_0x554b3b={'unitId':_0x3d9f7e,'op':_0x588aa7},_0x29025f={'unitId':_0x3d9f7e,'op':_0x5c4e62};return _0xaa1c99[_0x5a063d(0x4c6)](Q['id'],_0x554b3b)?(_0x5db2d1[_0x5a063d(0x3f4)](_0x3d9f7e),_0x50f2e4[_0x5a063d(0x519)]({'unitID':_0x3d9f7e,'undoMutations':[{'id':Q['id'],'params':_0x29025f}],'redoMutations':[{'id':Q['id'],'params':_0x554b3b}]}),!0x0):!0x1;}},so={'id':'base.command.rename-base-table','type':_0x3e23cf[_0x354fcb(0x301)],'handler':(_0x37fb73,_0x53b558)=>{const _0x25f328=_0x354fcb;if(!_0x53b558)return!0x1;let _0x59ead8=_0x37fb73['get'](_0x3414e2),{unitId:_0x19a7e5,tableId:_0xf87020,name:_0x284e99}=_0x53b558,_0x18d2e6=_0x59ead8[_0x25f328(0x2e5)](_0x19a7e5,_0x28d752[_0x25f328(0x201)]);if(!_0x18d2e6||!$(_0x18d2e6,_0xf87020)||!Oa(_0x18d2e6[_0x25f328(0x1f9)](),_0x284e99,_0xf87020)[_0x25f328(0x35c)])return!0x1;let _0x12a1d5=_0x37fb73[_0x25f328(0x4a8)](_0x3ff846),_0x14e801=_0x37fb73[_0x25f328(0x4a8)](_0x5153d9),_0x5df1e2=_0x18d2e6[_0x25f328(0x1f9)](),_0x310e93=new W()['renameTable'](_0x5df1e2,_0xf87020,_0x284e99),_0x27ca1b=new z()[_0x25f328(0x2aa)](_0x5df1e2,_0x310e93),_0x53626a={'unitId':_0x19a7e5,'op':_0x310e93},_0x1a5afd={'unitId':_0x19a7e5,'op':_0x27ca1b};return _0x12a1d5[_0x25f328(0x4c6)](Q['id'],_0x53626a)?(_0x59ead8[_0x25f328(0x3f4)](_0x19a7e5),_0x14e801[_0x25f328(0x519)]({'unitID':_0x19a7e5,'undoMutations':[{'id':Q['id'],'params':_0x1a5afd}],'redoMutations':[{'id':Q['id'],'params':_0x53626a}]}),!0x0):!0x1;}},co={'id':_0x354fcb(0x433),'type':_0x3e23cf['COMMAND'],'handler':(_0x54e0ad,_0x50e8d2)=>{const _0x2124e2=_0x354fcb;if(!_0x50e8d2)return!0x1;let _0x30e1ec=_0x54e0ad[_0x2124e2(0x4a8)](_0x3414e2),{unitId:_0xf46a8e,tableId:_0x99b171,viewId:_0x24a225,name:_0x134844}=_0x50e8d2,_0x5a905f=_0x30e1ec[_0x2124e2(0x2e5)](_0xf46a8e,_0x28d752[_0x2124e2(0x201)]);if(!_0x5a905f||!$(_0x5a905f,_0x99b171,{'viewIds':[_0x24a225]}))return!0x1;let _0x17631e=_0x54e0ad[_0x2124e2(0x4a8)](_0x3ff846),_0x24b004=_0x54e0ad[_0x2124e2(0x4a8)](_0x5153d9),_0x258a72=_0x5a905f['getSnapshot'](),_0x364395=new W()[_0x2124e2(0x370)](_0x258a72,_0x99b171,_0x24a225,_0x134844),_0x3b619d=new z()['invertOp'](_0x258a72,_0x364395),_0x11f6a9={'unitId':_0xf46a8e,'op':_0x364395},_0x2b4bff={'unitId':_0xf46a8e,'op':_0x3b619d};return _0x17631e[_0x2124e2(0x4c6)](Q['id'],_0x11f6a9)?(_0x30e1ec[_0x2124e2(0x3f4)](_0xf46a8e),_0x24b004[_0x2124e2(0x519)]({'unitID':_0xf46a8e,'undoMutations':[{'id':Q['id'],'params':_0x2b4bff}],'redoMutations':[{'id':Q['id'],'params':_0x11f6a9}]}),!0x0):!0x1;}},lo={'id':'base.command.set-base-kanban-group-field','type':_0x3e23cf[_0x354fcb(0x301)],'handler':(_0x2f56cc,_0x67d97d)=>{const _0x2960f0=_0x354fcb;if(!_0x67d97d)return!0x1;let _0x7b7705=_0x2f56cc[_0x2960f0(0x4a8)](_0x3414e2),{unitId:_0x47e351,tableId:_0xf7f4a1,viewId:_0x520360,fieldId:_0x8f2b65}=_0x67d97d,_0x65c667=_0x7b7705[_0x2960f0(0x2e5)](_0x47e351,_0x28d752[_0x2960f0(0x201)]);if(!_0x65c667||!$(_0x65c667,_0xf7f4a1,{'viewIds':[_0x520360],'fieldIds':[_0x8f2b65]}))return!0x1;let _0x2212ac=_0x2f56cc['get'](_0x3ff846),_0x17d3ea=_0x2f56cc[_0x2960f0(0x4a8)](_0x5153d9),_0x6cde4b=_0x65c667[_0x2960f0(0x1f9)](),_0x4dc9b5=new W()['updateViewConfig'](_0x6cde4b,_0xf7f4a1,_0x520360,{'groupFieldId':_0x8f2b65}),_0x58fe50=new z()[_0x2960f0(0x2aa)](_0x6cde4b,_0x4dc9b5),_0x1a984d={'unitId':_0x47e351,'op':_0x4dc9b5},_0x1d6bab={'unitId':_0x47e351,'op':_0x58fe50};return _0x2212ac[_0x2960f0(0x4c6)](Q['id'],_0x1a984d)?(_0x7b7705[_0x2960f0(0x3f4)](_0x47e351),_0x17d3ea[_0x2960f0(0x519)]({'unitID':_0x47e351,'undoMutations':[{'id':Q['id'],'params':_0x1d6bab}],'redoMutations':[{'id':Q['id'],'params':_0x1a984d}]}),!0x0):!0x1;}},uo={'id':'base.command.set-base-name','type':_0x3e23cf[_0x354fcb(0x301)],'handler':(_0x58b85e,_0x2a359d)=>{const _0x5baae1=_0x354fcb;if(!_0x2a359d)return!0x1;let _0xf889c9=_0x58b85e['get'](_0x3414e2),_0x373ca9=_0xf889c9[_0x5baae1(0x2e5)](_0x2a359d[_0x5baae1(0x278)],_0x28d752[_0x5baae1(0x201)]);if(!_0x373ca9)return!0x1;let _0x390c72=_0x373ca9[_0x5baae1(0x1f9)]()[_0x5baae1(0x1e0)];if(_0x390c72===_0x2a359d[_0x5baae1(0x1e0)])return!0x0;let _0x313438=new W(),_0x3bfe15=new z(),_0x1f73cb=[],_0x104a27=[],_0x3c4dfe=[_0x373ca9,..._0xf889c9[_0x5baae1(0x3c4)](_0x28d752[_0x5baae1(0x201)])[_0x5baae1(0x397)](_0x665e9a=>_0x665e9a[_0x5baae1(0x422)]()!==_0x2a359d[_0x5baae1(0x278)])];for(let _0x22ec3f of _0x3c4dfe){let _0x562c80=_0x22ec3f['getSnapshot'](),_0x574b4d=_0x22ec3f===_0x373ca9?_0x313438['setBaseName'](_0x562c80,_0x2a359d[_0x5baae1(0x1e0)]):_0x313438[_0x5baae1(0x1ed)](_0x562c80,_0x390c72,_0x2a359d[_0x5baae1(0x1e0)]);_0x574b4d&&(_0x1f73cb[_0x5baae1(0x1f3)]({'id':Q['id'],'params':{'unitId':_0x22ec3f[_0x5baae1(0x422)](),'op':_0x574b4d,'trigger':uo['id']}}),_0x104a27[_0x5baae1(0x340)]({'id':Q['id'],'params':{'unitId':_0x22ec3f[_0x5baae1(0x422)](),'op':_0x3bfe15[_0x5baae1(0x2aa)](_0x562c80,_0x574b4d),'trigger':uo['id']}}));}let _0x23028f=_0x58b85e[_0x5baae1(0x4a8)](_0x3ff846),_0x4f6be9=_0x58b85e[_0x5baae1(0x4a8)](_0x5153d9),_0xdf69c1=_0x4f6be9['__tempBatchingUndoRedo'](_0x2a359d[_0x5baae1(0x278)]);try{return _0x47a83f(_0x1f73cb,_0x23028f)[_0x5baae1(0x406)]?(_0xf889c9[_0x5baae1(0x3f4)](_0x2a359d[_0x5baae1(0x278)]),_0x4f6be9[_0x5baae1(0x519)]({'unitID':_0x2a359d[_0x5baae1(0x278)],'undoMutations':_0x104a27,'redoMutations':_0x1f73cb}),!0x0):!0x1;}finally{_0xdf69c1[_0x5baae1(0x3d6)]();}}},fo={'type':_0x3e23cf['COMMAND'],'id':_0x354fcb(0x3eb),async 'handler'(_0x5b4e2b,_0x498664){const _0xfcb841=_0x354fcb;if(!_0x498664||!Tr[_0xfcb841(0x231)](_0x498664[_0xfcb841(0x18a)])||_0x498664[_0xfcb841(0x225)]!==_0x498664[_0xfcb841(0x278)]&&_0x498664[_0xfcb841(0x18a)]!==_0x391870[_0xfcb841(0x463)]||_0x498664[_0xfcb841(0x3cd)]&&(!['all','owner','members']['includes'](_0x498664[_0xfcb841(0x3cd)][_0xfcb841(0x1db)])||_0x498664[_0xfcb841(0x3cd)]['strategies'][_0xfcb841(0x257)](_0x2900a9=>!Tr[_0xfcb841(0x231)](_0x2900a9[_0xfcb841(0x18a)])||_0x498664[_0xfcb841(0x225)]!==_0x498664['unitId']&&_0x2900a9[_0xfcb841(0x18a)]!==_0x391870[_0xfcb841(0x463)])))return!0x1;let _0x3c5766=Pr(_0x498664[_0xfcb841(0x278)],_0x498664[_0xfcb841(0x225)],_0x498664[_0xfcb841(0x18a)]),_0x52856d={'unitId':_0x498664[_0xfcb841(0x278)],'objectId':_0x498664[_0xfcb841(0x225)],'objectType':_0x3c5766[_0xfcb841(0x33a)]},_0x20668a=_0x5b4e2b[_0xfcb841(0x4a8)](_0x1e71b2);return _0x498664[_0xfcb841(0x261)]?await _0x20668a[_0xfcb841(0x261)](_0x52856d):_0x498664[_0xfcb841(0x3cd)]?await _0x20668a[_0xfcb841(0x304)](_0x52856d,_0x498664[_0xfcb841(0x3cd)]):await _0x20668a[_0xfcb841(0x3a9)](_0x52856d,_0x3c5766,_0x498664[_0xfcb841(0x416)]),!0x0;}},po={'type':_0x3e23cf['COMMAND'],'id':'base.command.set-permissions',async 'handler'(_0x100bd8,_0x277623){const _0x22fa11=_0x354fcb;if(!(_0x277623!=null&&_0x277623[_0x22fa11(0x278)])||!Array['isArray'](_0x277623[_0x22fa11(0x3c8)])||!_0x277623[_0x22fa11(0x3c8)][_0x22fa11(0x458)]||_0x277623[_0x22fa11(0x3c8)][_0x22fa11(0x257)](_0x30d58d=>!(_0x30d58d!=null&&_0x30d58d[_0x22fa11(0x225)])||_0x30d58d[_0x22fa11(0x225)]===_0x277623[_0x22fa11(0x278)]||_0x30d58d['policy']!==null&&(!_0x30d58d[_0x22fa11(0x3cd)]||![_0x22fa11(0x41e),'owner',_0x22fa11(0x437)][_0x22fa11(0x231)](_0x30d58d[_0x22fa11(0x3cd)][_0x22fa11(0x1db)])||!Array[_0x22fa11(0x354)](_0x30d58d[_0x22fa11(0x3cd)]['collaborators'])||!Array[_0x22fa11(0x354)](_0x30d58d[_0x22fa11(0x3cd)][_0x22fa11(0x2d1)])||_0x30d58d[_0x22fa11(0x3cd)][_0x22fa11(0x2d1)][_0x22fa11(0x257)](_0x6a90c8=>_0x6a90c8[_0x22fa11(0x18a)]!==_0x391870['Edit']))))throw Error('Invalid\x20object\x20permission\x20batch.');return _0x100bd8[_0x22fa11(0x4a8)](_0x1e71b2)[_0x22fa11(0x506)](_0x277623[_0x22fa11(0x3c8)][_0x22fa11(0x29b)](_0x1dbc02=>{const _0xc9760e=_0x22fa11;let _0x4b7c47=Pr(_0x277623[_0xc9760e(0x278)],_0x1dbc02['objectId'],_0x391870['Edit']);return{'unitId':_0x277623[_0xc9760e(0x278)],'objectId':_0x1dbc02[_0xc9760e(0x225)],'objectType':_0x4b7c47[_0xc9760e(0x33a)],'policy':_0x1dbc02[_0xc9760e(0x3cd)]};}));}};function mo(_0x4a7605,_0x169fa9){const _0x492735=_0x354fcb;let _0x1ae5d4=L(_0x30f9db[_0x492735(0x355)](_0x4a7605)),_0x2764ed=new Map();return _0x169fa9[_0x492735(0x461)](_0x2624d7=>{const _0x3b92fe=_0x492735;var _0x21b593,_0x4df58c;let _0x4f57a0='recordId'in _0x2624d7?_0x2624d7[_0x3b92fe(0x4bb)]:(_0x21b593=_0x1ae5d4[_0x3b92fe(0x474)])==null?void 0x0:_0x21b593[_0x2624d7[_0x3b92fe(0x21b)]],_0xb1302d=_0x3b92fe(0x46e)in _0x2624d7?_0x2624d7[_0x3b92fe(0x46e)]:(_0x4df58c=_0x1ae5d4[_0x3b92fe(0x242)])==null?void 0x0:_0x4df58c[_0x2624d7[_0x3b92fe(0x1ea)]],_0x4322f6=_0xb1302d?_0x1ae5d4[_0x3b92fe(0x480)][_0xb1302d]:void 0x0;if(!_0x4f57a0||!_0xb1302d||!_0x4322f6||!_0x1ae5d4[_0x3b92fe(0x45a)][_0x4f57a0])return;let _0x18c62a=xt(_0x2624d7[_0x3b92fe(0x416)],_0x4322f6),_0x13c7b7=wt(_0x2624d7[_0x3b92fe(0x416)],_0x18c62a,_0x4322f6,_0x1ae5d4,_0x4f57a0),_0x98fb93=_0x2764ed['get'](_0x4f57a0)??{};_0x98fb93[_0xb1302d]=_0x13c7b7,_0x2764ed['set'](_0x4f57a0,_0x98fb93);}),[..._0x2764ed][_0x492735(0x29b)](([_0x21018c,_0x14ffe7])=>({'recordId':_0x21018c,'values':_0x14ffe7}));}const ho={'id':_0x354fcb(0x527),'type':_0x3e23cf['COMMAND'],'handler'(_0x48e90c,_0x248de2){const _0x34225d=_0x354fcb;if(!_0x248de2)return!0x1;let _0x3a8cfb=_0x48e90c['get'](_0x3414e2),{unitId:_0x1d7a5b,tableId:_0x3695b9,patches:_0x1dd998}=_0x248de2,_0xdca6b1=_0x3a8cfb[_0x34225d(0x2e5)](_0x1d7a5b,_0x28d752['UNIVER_BASE']);if(!_0xdca6b1||!$(_0xdca6b1,_0x3695b9))return!0x1;let _0x522d17=_0x48e90c[_0x34225d(0x4a8)](_0x3ff846),_0x4af185=_0x48e90c[_0x34225d(0x4a8)](_0x5153d9),_0x150835=_0xdca6b1[_0x34225d(0x1f9)](),_0x4ae44d=L(_0x150835[_0x34225d(0x2ba)][_0x3695b9]),_0x361e23=_0x1dd998[_0x34225d(0x29b)](_0x4938d9=>{const _0x6f31fc=_0x34225d;var _0x45bb6c;return _0x6f31fc(0x4bb)in _0x4938d9?_0x4938d9[_0x6f31fc(0x4bb)]:(_0x45bb6c=_0x4ae44d[_0x6f31fc(0x474)])==null?void 0x0:_0x45bb6c[_0x4938d9[_0x6f31fc(0x21b)]];})[_0x34225d(0x397)](_0x3311f7=>_0x3311f7!=null),_0x2e8c15=_0x1dd998['map'](_0x5baef4=>{const _0x47e61c=_0x34225d;var _0x16b0f9;return _0x47e61c(0x46e)in _0x5baef4?_0x5baef4['fieldId']:(_0x16b0f9=_0x4ae44d[_0x47e61c(0x242)])==null?void 0x0:_0x16b0f9[_0x5baef4[_0x47e61c(0x1ea)]];})['filter'](_0x216f68=>_0x216f68!=null);if(_0x361e23[_0x34225d(0x458)]!==_0x1dd998[_0x34225d(0x458)]||_0x2e8c15[_0x34225d(0x458)]!==_0x1dd998[_0x34225d(0x458)]||!$(_0xdca6b1,_0x3695b9,{'recordIds':_0x361e23,'fieldIds':_0x2e8c15})||_0x1dd998[_0x34225d(0x257)]((_0x1ee261,_0x4d635d)=>!ga(_0xdca6b1,_0x3695b9,_0x2e8c15[_0x4d635d],_0x1ee261['value'])))return!0x1;let _0x355d32=Ze(_0x4ae44d,mo(_0x4ae44d,_0x1dd998)),_0x55bf89=_0x1dd998[_0x34225d(0x2a2)](_0x16c139=>{const _0x4f56ca=_0x34225d;var _0x470a08,_0x242408;if(_0x4f56ca(0x21b)in _0x16c139)return[_0x16c139];let _0x246be2=(_0x470a08=_0x4ae44d[_0x4f56ca(0x290)])==null?void 0x0:_0x470a08[_0x16c139['recordId']],_0x2a93d8=(_0x242408=_0x4ae44d[_0x4f56ca(0x288)])==null?void 0x0:_0x242408[_0x16c139[_0x4f56ca(0x46e)]];return _0x246be2==null||_0x2a93d8==null?[]:[{'row':_0x246be2,'col':_0x2a93d8,'value':_0x16c139[_0x4f56ca(0x416)]}];}),_0x3496da=new W()[_0x34225d(0x511)](_0x150835,_0x3695b9,_0x55bf89),_0x296e69=new z()[_0x34225d(0x2aa)](_0x150835,_0x3496da),_0x266074={'unitId':_0x1d7a5b,'op':_0x3496da,'trigger':_0x355d32['length']?ho['id']:void 0x0,'hierarchyChanges':_0x355d32[_0x34225d(0x458)]?_0x355d32:void 0x0,'source':_0x355d32[_0x34225d(0x458)]?_0x34225d(0x29f):void 0x0},_0x3fae15={'unitId':_0x1d7a5b,'op':_0x296e69,'trigger':_0x355d32['length']?ho['id']:void 0x0,'hierarchyChanges':_0x355d32['length']?_0x355d32['map'](_0x334fb0=>({..._0x334fb0,'oldParentRecordId':_0x334fb0['parentRecordId'],'parentRecordId':_0x334fb0['oldParentRecordId']})):void 0x0,'source':_0x355d32[_0x34225d(0x458)]?_0x34225d(0x37e):void 0x0},_0x274c81={..._0x266074,'source':_0x355d32[_0x34225d(0x458)]?_0x248de2[_0x34225d(0x4cd)]??'ui':void 0x0};return _0x522d17['syncExecuteCommand'](Q['id'],_0x274c81)?(_0x3a8cfb[_0x34225d(0x3f4)](_0x1d7a5b),_0x4af185['pushUndoRedo']({'unitID':_0x1d7a5b,'undoMutations':[{'id':Q['id'],'params':_0x3fae15}],'redoMutations':[{'id':Q['id'],'params':_0x266074}]}),!0x0):!0x1;}},go={'id':_0x354fcb(0x1d8),'type':_0x3e23cf[_0x354fcb(0x301)],'handler'(_0xc20217,_0x23ccd4){const _0x5ce94e=_0x354fcb;if(!_0x23ccd4)return!0x1;let _0x268afb=_0xc20217['get'](_0x3414e2),{unitId:_0x4ddfa2,tableId:_0x1683af,patches:_0x3ba0e5}=_0x23ccd4,_0x428173=_0x268afb[_0x5ce94e(0x2e5)](_0x4ddfa2,_0x28d752[_0x5ce94e(0x201)]),_0x1fae4f=_0x3ba0e5[_0x5ce94e(0x29b)](_0x77d522=>_0x77d522['recordId']),_0x519798=_0x3ba0e5['flatMap'](_0x3858c6=>Object['keys'](_0x3858c6[_0x5ce94e(0x1da)]));if(!_0x428173||!$(_0x428173,_0x1683af,{'recordIds':_0x1fae4f,'fieldIds':_0x519798})||_0x3ba0e5['some'](_0x2055f5=>Object['entries'](_0x2055f5['values'])[_0x5ce94e(0x257)](([_0x158f52,_0x43bd16])=>!ga(_0x428173,_0x1683af,_0x158f52,_0x43bd16))))return!0x1;let _0x4f00db=Ze(_0x428173['getSnapshot']()[_0x5ce94e(0x2ba)][_0x1683af],_0x3ba0e5),_0x4eff50=_0xc20217[_0x5ce94e(0x4a8)](_0x3ff846),_0xceb277=_0xc20217[_0x5ce94e(0x4a8)](_0x5153d9),_0x2b31d9=_0xc20217[_0x5ce94e(0x4a8)](Kr)[_0x5ce94e(0x2be)](_0x428173,_0x1683af,_0x3ba0e5),_0x9127a2=new z()[_0x5ce94e(0x2aa)](_0x428173[_0x5ce94e(0x1f9)](),_0x2b31d9),_0x96876f={'unitId':_0x4ddfa2,'op':_0x2b31d9,'trigger':_0x4f00db[_0x5ce94e(0x458)]?go['id']:void 0x0,'hierarchyChanges':_0x4f00db[_0x5ce94e(0x458)]?_0x4f00db:void 0x0,'source':_0x4f00db[_0x5ce94e(0x458)]?_0x23ccd4[_0x5ce94e(0x4cd)]??'ui':void 0x0},_0x1a4cbe={..._0x96876f,'source':_0x4f00db['length']?_0x5ce94e(0x29f):void 0x0},_0x431e6f={'unitId':_0x4ddfa2,'op':_0x9127a2,'trigger':_0x4f00db[_0x5ce94e(0x458)]?go['id']:void 0x0,'hierarchyChanges':_0x4f00db[_0x5ce94e(0x458)]?_0x4f00db['map'](_0x4ed979=>({..._0x4ed979,'oldParentRecordId':_0x4ed979['parentRecordId'],'parentRecordId':_0x4ed979['oldParentRecordId']})):void 0x0,'source':_0x4f00db[_0x5ce94e(0x458)]?_0x5ce94e(0x37e):void 0x0};return _0x4eff50[_0x5ce94e(0x4c6)](Q['id'],_0x96876f)?(_0x268afb[_0x5ce94e(0x3f4)](_0x4ddfa2),_0xceb277[_0x5ce94e(0x519)]({'unitID':_0x4ddfa2,'undoMutations':[{'id':Q['id'],'params':_0x431e6f}],'redoMutations':[{'id':Q['id'],'params':_0x1a4cbe}]}),!0x0):!0x1;}},_o={'id':'base.command.set-base-table-hierarchy-field','type':_0x3e23cf['COMMAND'],'handler':(_0x357bf9,_0x28845b)=>{const _0x747bbb=_0x354fcb;if(!_0x28845b)return!0x1;let {unitId:_0x306467,tableId:_0x4c697a,fieldId:_0x261cfe}=_0x28845b,_0x58954d=_0x357bf9[_0x747bbb(0x4a8)](_0x3414e2),_0x190b35=_0x58954d['getUnit'](_0x306467,_0x28d752[_0x747bbb(0x201)]);if(!_0x190b35||!$(_0x190b35,_0x4c697a))return!0x1;let _0x55b02d=_0x190b35['getSnapshot'](),_0x2c96a1=_0x55b02d[_0x747bbb(0x2ba)][_0x4c697a];if(_0x261cfe!==null&&!F(_0x2c96a1,_0x261cfe))throw new P('invalidField');if(qe(_0x2c96a1)===_0x261cfe)return!0x0;let _0x2e6843=new W(),_0x2f2b89=R(Object[_0x747bbb(0x1da)](_0x2c96a1[_0x747bbb(0x480)])['flatMap'](_0x180c9b=>{const _0xdf529f=_0x747bbb;if(!F(_0x2c96a1,_0x180c9b['id']))return[];let _0x40052b=N(_0x180c9b);if(!_0x40052b)return[];let _0x1ee681=_0x180c9b['id']===_0x261cfe;if(_0x40052b['relationRole']===_0x170c14[_0xdf529f(0x3a0)]===_0x1ee681)return[];let _0x5ec89b={..._0x180c9b[_0xdf529f(0x342)],'targetTableId':_0x40052b['targetTableId'],'multiple':_0x40052b['multiple']};return _0x1ee681?_0x5ec89b[_0xdf529f(0x274)]=_0x170c14[_0xdf529f(0x3a0)]:delete _0x5ec89b[_0xdf529f(0x274)],[_0x2e6843[_0xdf529f(0x409)](_0x55b02d,_0x4c697a,_0x180c9b['id'],{'config':_0x5ec89b})];})),_0x5ec537=new z()['invertOp'](_0x55b02d,_0x2f2b89),_0x2ecc1f={'unitId':_0x306467,'op':_0x2f2b89},_0x19d650={'unitId':_0x306467,'op':_0x5ec537};return _0x357bf9['get'](_0x3ff846)['syncExecuteCommand'](Q['id'],_0x2ecc1f)?(_0x58954d['focusUnit'](_0x306467),_0x357bf9[_0x747bbb(0x4a8)](_0x5153d9)[_0x747bbb(0x519)]({'unitID':_0x306467,'undoMutations':[{'id':Q['id'],'params':_0x19d650}],'redoMutations':[{'id':Q['id'],'params':_0x2ecc1f}]}),!0x0):!0x1;}},vo={'id':_0x354fcb(0x289),'type':_0x3e23cf[_0x354fcb(0x301)],'handler':(_0x42e382,_0x25396d)=>{const _0x395caf=_0x354fcb;if(!_0x25396d)return!0x1;let _0x5cd9ef=_0x42e382[_0x395caf(0x4a8)](_0x3414e2),{unitId:_0x3aad90,tableId:_0x812d5b,viewId:_0x2441ca,fieldId:_0xcb49cb,target:_0xe211d4}=_0x25396d,_0x3b28d1=_0x5cd9ef[_0x395caf(0x2e5)](_0x3aad90,_0x28d752[_0x395caf(0x201)]),_0x2471ec=_0xe211d4[_0x395caf(0x381)]??_0xe211d4[_0x395caf(0x27b)];if(!_0x3b28d1||!_0x2471ec||_0x2471ec===_0xcb49cb||!$(_0x3b28d1,_0x812d5b,{'viewIds':[_0x2441ca],'fieldIds':[_0xcb49cb,_0x2471ec]}))return!0x1;let _0x3275b7=_0x3b28d1['getSnapshot']()[_0x395caf(0x2ba)][_0x812d5b],_0x23a02e=_0x3275b7[_0x395caf(0x480)][_0xcb49cb],_0x48affe=_0x3275b7['fields'][_0x2471ec];if(_0x23a02e[_0x395caf(0x1cb)]===!0x0||_0x23a02e[_0x395caf(0x33a)]===_0x19bf94[_0x395caf(0x44f)]||_0x48affe[_0x395caf(0x1cb)]===!0x0||_0x48affe['type']===_0x19bf94[_0x395caf(0x44f)])return!0x1;let _0x26293a=_0x42e382[_0x395caf(0x4a8)](_0x3ff846),_0x3e77f4=_0x42e382['get'](_0x5153d9),_0x3d521e=_0x3b28d1[_0x395caf(0x1f9)](),_0x85f42c=new W()[_0x395caf(0x457)](_0x3d521e,_0x812d5b,_0x2441ca,_0xcb49cb,_0xe211d4),_0x5e4644=new z()[_0x395caf(0x2aa)](_0x3d521e,_0x85f42c),_0x502b7a={'unitId':_0x3aad90,'op':_0x85f42c},_0x52a5bb={'unitId':_0x3aad90,'op':_0x5e4644};return _0x26293a['syncExecuteCommand'](Q['id'],_0x502b7a)?(_0x5cd9ef[_0x395caf(0x3f4)](_0x3aad90),_0x3e77f4[_0x395caf(0x519)]({'unitID':_0x3aad90,'undoMutations':[{'id':Q['id'],'params':_0x52a5bb}],'redoMutations':[{'id':Q['id'],'params':_0x502b7a}]}),!0x0):!0x1;}},yo={'id':_0x354fcb(0x31a),'type':_0x3e23cf[_0x354fcb(0x301)],'handler'(_0x3965f4,_0x5e7a40){const _0x734ffe=_0x354fcb;if(!_0x5e7a40)return!0x1;let _0x2a2727=_0x3965f4[_0x734ffe(0x4a8)](_0x3414e2),{unitId:_0x57d23a,tableId:_0x48618b,viewId:_0x4dc27f,fieldId:_0x4fdd96,visible:_0x391a22}=_0x5e7a40,_0x509191=_0x2a2727[_0x734ffe(0x2e5)](_0x57d23a,_0x28d752['UNIVER_BASE']);if(!_0x509191||!$(_0x509191,_0x48618b,{'viewIds':[_0x4dc27f],'fieldIds':[_0x4fdd96]}))return!0x1;let _0x432cd=_0x509191['getSnapshot']()[_0x734ffe(0x2ba)][_0x48618b][_0x734ffe(0x480)][_0x4fdd96];if(_0x432cd[_0x734ffe(0x1cb)]===!0x0||_0x432cd[_0x734ffe(0x33a)]===_0x19bf94['RecordId'])return!0x1;let _0x1d671b=_0x3965f4[_0x734ffe(0x4a8)](_0x3ff846),_0x376249=_0x3965f4['get'](_0x5153d9),_0x2e61e1=_0x509191[_0x734ffe(0x1f9)](),_0x2cd421=new W()[_0x734ffe(0x4fc)](_0x2e61e1,_0x48618b,_0x4dc27f,_0x4fdd96,_0x391a22),_0x11d212=new z()['invertOp'](_0x2e61e1,_0x2cd421),_0x422e87={'unitId':_0x57d23a,'op':_0x2cd421},_0x1681b3={'unitId':_0x57d23a,'op':_0x11d212};return _0x1d671b[_0x734ffe(0x4c6)](Q['id'],_0x422e87)?(_0x2a2727[_0x734ffe(0x3f4)](_0x57d23a),_0x376249[_0x734ffe(0x519)]({'unitID':_0x57d23a,'undoMutations':[{'id':Q['id'],'params':_0x1681b3}],'redoMutations':[{'id':Q['id'],'params':_0x422e87}]}),!0x0):!0x1;}},bo={'id':_0x354fcb(0x29a),'type':_0x3e23cf[_0x354fcb(0x301)],'handler':(_0x19f596,_0x28f434)=>{const _0x1cca14=_0x354fcb;if(!_0x28f434)return!0x1;let _0x495c7c=_0x19f596[_0x1cca14(0x4a8)](_0x3414e2),{unitId:_0x3c592a,tableId:_0x3336d4,viewId:_0x4d7738,fieldId:_0x5158c9,width:_0x265f5b}=_0x28f434,_0x55b36f=_0x495c7c[_0x1cca14(0x2e5)](_0x3c592a,_0x28d752[_0x1cca14(0x201)]);if(!_0x55b36f||!$(_0x55b36f,_0x3336d4,{'viewIds':[_0x4d7738],'fieldIds':[_0x5158c9]}))return!0x1;let _0x58b866=_0x55b36f['getSnapshot']()[_0x1cca14(0x2ba)][_0x3336d4][_0x1cca14(0x480)][_0x5158c9];if(_0x58b866[_0x1cca14(0x1cb)]===!0x0||_0x58b866[_0x1cca14(0x33a)]===_0x19bf94[_0x1cca14(0x44f)])return!0x1;let _0x1694e3=_0x19f596['get'](_0x3ff846),_0x130574=_0x19f596[_0x1cca14(0x4a8)](_0x5153d9),_0x4bb8f4=_0x55b36f[_0x1cca14(0x1f9)](),_0x363483=new W()['setViewFieldWidth'](_0x4bb8f4,_0x3336d4,_0x4d7738,_0x5158c9,_0x265f5b),_0x428d89=new z()['invertOp'](_0x4bb8f4,_0x363483),_0x5899d5={'unitId':_0x3c592a,'op':_0x363483},_0x2a5032={'unitId':_0x3c592a,'op':_0x428d89};return _0x1694e3[_0x1cca14(0x4c6)](Q['id'],_0x5899d5)?(_0x495c7c['focusUnit'](_0x3c592a),_0x130574[_0x1cca14(0x519)]({'unitID':_0x3c592a,'undoMutations':[{'id':Q['id'],'params':_0x2a5032}],'redoMutations':[{'id':Q['id'],'params':_0x5899d5}]}),!0x0):!0x1;}},xo={'id':_0x354fcb(0x1f5),'type':_0x3e23cf[_0x354fcb(0x301)],'handler':(_0x43322e,_0x13c680)=>{const _0xaa24e7=_0x354fcb;if(!_0x13c680)return!0x1;let _0x1834b8=_0x43322e[_0xaa24e7(0x4a8)](_0x3414e2),{unitId:_0x25398b,tableId:_0x58ff30,viewId:_0x2a4f51,filter:_0x2231d1}=_0x13c680,_0x3a6480=_0x1834b8['getUnit'](_0x25398b,_0x28d752['UNIVER_BASE']),_0x1e3a3f=(_0x2231d1==null?void 0x0:_0x2231d1[_0xaa24e7(0x309)][_0xaa24e7(0x29b)](_0x4f5b50=>_0x4f5b50[_0xaa24e7(0x46e)]))??[];if(!_0x3a6480||!$(_0x3a6480,_0x58ff30,{'viewIds':[_0x2a4f51],'fieldIds':_0x1e3a3f}))return!0x1;let _0x39cee3=_0x43322e[_0xaa24e7(0x4a8)](_0x3ff846),_0x35e7ec=_0x43322e[_0xaa24e7(0x4a8)](_0x5153d9),_0x4dc4f5=_0x3a6480[_0xaa24e7(0x1f9)](),_0x3a9e7d=new W()[_0xaa24e7(0x2de)](_0x4dc4f5,_0x58ff30,_0x2a4f51,_0x2231d1),_0x25883a=new z()['invertOp'](_0x4dc4f5,_0x3a9e7d),_0x573464={'unitId':_0x25398b,'op':_0x3a9e7d},_0x458172={'unitId':_0x25398b,'op':_0x25883a};return _0x39cee3['syncExecuteCommand'](Q['id'],_0x573464)?(_0x1834b8[_0xaa24e7(0x3f4)](_0x25398b),_0x35e7ec[_0xaa24e7(0x519)]({'unitID':_0x25398b,'undoMutations':[{'id':Q['id'],'params':_0x458172}],'redoMutations':[{'id':Q['id'],'params':_0x573464}]}),!0x0):!0x1;}},So={'id':'base.command.set-base-view-group','type':_0x3e23cf[_0x354fcb(0x301)],'handler':(_0x1f2223,_0x409e95)=>{const _0x52ed50=_0x354fcb;if(!_0x409e95)return!0x1;let _0x262ae5=_0x1f2223[_0x52ed50(0x4a8)](_0x3414e2),{unitId:_0x176293,tableId:_0x547b5a,viewId:_0x2a6387,group:_0x2373cf}=_0x409e95,_0x4c4fff=_0x262ae5['getUnit'](_0x176293,_0x28d752[_0x52ed50(0x201)]);if(!_0x4c4fff||!$(_0x4c4fff,_0x547b5a,{'viewIds':[_0x2a6387],'fieldIds':_0x2373cf['map'](_0x39ad72=>_0x39ad72['fieldId'])}))return!0x1;let _0x6e2b2c=_0x1f2223[_0x52ed50(0x4a8)](_0x3ff846),_0x119b1a=_0x1f2223[_0x52ed50(0x4a8)](_0x5153d9),_0x17014d=_0x4c4fff[_0x52ed50(0x1f9)](),_0x5b4f26=new W()[_0x52ed50(0x178)](_0x17014d,_0x547b5a,_0x2a6387,_0x2373cf),_0x27ddb2=new z()[_0x52ed50(0x2aa)](_0x17014d,_0x5b4f26),_0xa1e651={'unitId':_0x176293,'op':_0x5b4f26},_0x4c6bd5={'unitId':_0x176293,'op':_0x27ddb2};return _0x6e2b2c[_0x52ed50(0x4c6)](Q['id'],_0xa1e651)?(_0x262ae5[_0x52ed50(0x3f4)](_0x176293),_0x119b1a[_0x52ed50(0x519)]({'unitID':_0x176293,'undoMutations':[{'id':Q['id'],'params':_0x4c6bd5}],'redoMutations':[{'id':Q['id'],'params':_0xa1e651}]}),!0x0):!0x1;}},Co={'id':_0x354fcb(0x2f9),'type':_0x3e23cf[_0x354fcb(0x301)],'handler':(_0x2c673e,_0x232c6b)=>{const _0x46678=_0x354fcb;if(!_0x232c6b)return!0x1;let _0x248c3c=_0x2c673e['get'](_0x3414e2),{unitId:_0x21d9f2,tableId:_0x3ea1b8,viewId:_0xbb3177,sort:_0x490c8b}=_0x232c6b,_0x355961=_0x248c3c[_0x46678(0x2e5)](_0x21d9f2,_0x28d752[_0x46678(0x201)]);if(!_0x355961||!$(_0x355961,_0x3ea1b8,{'viewIds':[_0xbb3177],'fieldIds':_0x490c8b[_0x46678(0x29b)](_0x229c9a=>_0x229c9a[_0x46678(0x46e)])}))return!0x1;let _0x27d1bb=_0x2c673e['get'](_0x3ff846),_0xad4b6e=_0x2c673e[_0x46678(0x4a8)](_0x5153d9),_0x51d708=_0x355961[_0x46678(0x1f9)](),_0x5b9927=new W()[_0x46678(0x4ff)](_0x51d708,_0x3ea1b8,_0xbb3177,_0x490c8b),_0x52b676=new z()[_0x46678(0x2aa)](_0x51d708,_0x5b9927),_0x517e2c={'unitId':_0x21d9f2,'op':_0x5b9927},_0x55be77={'unitId':_0x21d9f2,'op':_0x52b676};return _0x27d1bb['syncExecuteCommand'](Q['id'],_0x517e2c)?(_0x248c3c[_0x46678(0x3f4)](_0x21d9f2),_0xad4b6e['pushUndoRedo']({'unitID':_0x21d9f2,'undoMutations':[{'id':Q['id'],'params':_0x55be77}],'redoMutations':[{'id':Q['id'],'params':_0x517e2c}]}),!0x0):!0x1;}},wo={'id':_0x354fcb(0x516),'type':_0x3e23cf[_0x354fcb(0x301)],'handler'(_0x4691b6,_0x4b0fbd){const _0x100892=_0x354fcb;if(!_0x4b0fbd)return!0x1;let _0x270c7d=_0x4691b6['get'](_0x3414e2),{unitId:_0xd8e308,tableId:_0x2a01db,recordId:_0x2feb3c,fieldId:_0x26253e,value:_0x207e7f}=_0x4b0fbd,_0x420087=_0x270c7d['getUnit'](_0xd8e308,_0x28d752[_0x100892(0x201)]);if(!_0x420087||!$(_0x420087,_0x2a01db,{'recordIds':[_0x2feb3c],'fieldIds':[_0x26253e]})||!ga(_0x420087,_0x2a01db,_0x26253e,_0x207e7f))return!0x1;let _0x13a44f=_0x420087[_0x100892(0x1f9)]()[_0x100892(0x2ba)][_0x2a01db],_0x1a0a99=F(_0x13a44f,_0x26253e)&&Xe(_0x13a44f)[_0x100892(0x231)](_0x26253e),_0x2cc69d=_0x1a0a99?tt(_0x13a44f,_0x26253e):null,_0x2a7df0=(_0x2cc69d==null?void 0x0:_0x2cc69d['parentByRecordId'][_0x100892(0x4a8)](_0x2feb3c))??null,_0x537068=_0x1a0a99?Le(_0x207e7f)[0x0]??null:null;if(_0x2cc69d){if(_0x537068&&!_0x13a44f[_0x100892(0x45a)][_0x537068])throw new P(_0x100892(0x33b));let _0x1bf85a=it(_0x2cc69d,_0x2feb3c,_0x537068);if(!_0x1bf85a['valid'])throw new P(_0x1bf85a[_0x100892(0x2d9)]===_0x3f9b5e[_0x100892(0x47b)]?'selfParent':_0x1bf85a[_0x100892(0x2d9)]===_0x3f9b5e[_0x100892(0x270)]?_0x100892(0x363):_0x100892(0x228));}let _0x313a6f=_0x4691b6['get'](_0x3ff846),_0x12afb8=_0x4691b6['get'](_0x5153d9),_0xbedd48=_0x4691b6['get'](Kr),_0x1f1822;try{_0x1f1822=_0xbedd48[_0x100892(0x22b)](_0x420087,_0x2a01db,_0x2feb3c,_0x26253e,_0x207e7f);}catch(_0x34cfcd){return console[_0x100892(0x206)](_0x100892(0x1b0),_0x34cfcd),!0x1;}let _0x58f727=new z()[_0x100892(0x2aa)](_0x420087[_0x100892(0x1f9)](),_0x1f1822),_0x1e2625=_0x1a0a99&&_0x2a7df0!==_0x537068?[{'tableId':_0x2a01db,'fieldId':_0x26253e,'recordId':_0x2feb3c,'oldParentRecordId':_0x2a7df0,'parentRecordId':_0x537068}]:void 0x0,_0xd164b7={'unitId':_0xd8e308,'op':_0x1f1822,'trigger':_0x1e2625?wo['id']:void 0x0,'hierarchyChanges':_0x1e2625,'source':_0x1e2625?_0x4b0fbd[_0x100892(0x4cd)]??'ui':void 0x0},_0xba35a7={..._0xd164b7,'source':_0x1e2625?_0x100892(0x29f):void 0x0},_0x28b3e3={'unitId':_0xd8e308,'op':_0x58f727,'trigger':_0x1e2625?wo['id']:void 0x0,'hierarchyChanges':_0x1e2625==null?void 0x0:_0x1e2625[_0x100892(0x29b)](_0x17e9b1=>({..._0x17e9b1,'oldParentRecordId':_0x17e9b1['parentRecordId'],'parentRecordId':_0x17e9b1['oldParentRecordId']})),'source':_0x1e2625?_0x100892(0x37e):void 0x0};return _0x313a6f[_0x100892(0x4c6)](Q['id'],_0xd164b7)?(_0x270c7d['focusUnit'](_0xd8e308),_0x12afb8[_0x100892(0x519)]({'unitID':_0xd8e308,'undoMutations':[{'id':Q['id'],'params':_0x28b3e3}],'redoMutations':[{'id':Q['id'],'params':_0xba35a7}]}),!0x0):!0x1;}},To={'id':'base.command.update-base-field-description','type':_0x3e23cf[_0x354fcb(0x301)],'handler'(_0x2f21f8,_0x524f9c){const _0x2e9445=_0x354fcb;if(!_0x524f9c)return!0x1;let _0x3bda89=_0x2f21f8[_0x2e9445(0x4a8)](_0x3414e2),{unitId:_0x1b6efa,tableId:_0x5f1e8b,fieldId:_0x490798}=_0x524f9c,_0x4b0bef=_0x3bda89[_0x2e9445(0x2e5)](_0x1b6efa,_0x28d752['UNIVER_BASE']);if(!_0x4b0bef||!$(_0x4b0bef,_0x5f1e8b,{'fieldIds':[_0x490798]}))return!0x1;let _0xbdfc6b=_0x2f21f8[_0x2e9445(0x4a8)](_0x3ff846),_0x555bf6=_0x2f21f8[_0x2e9445(0x4a8)](_0x5153d9),_0x5634d8=_0x4b0bef[_0x2e9445(0x1f9)](),_0x58576b=_0x524f9c[_0x2e9445(0x373)]['trim'](),_0x6a6234=new W()['updateField'](_0x5634d8,_0x5f1e8b,_0x490798,{'description':_0x58576b}),_0x4253d3=new z()[_0x2e9445(0x2aa)](_0x4b0bef[_0x2e9445(0x1f9)](),_0x6a6234),_0x5b8f30={'unitId':_0x1b6efa,'op':_0x6a6234},_0x8981f2={'unitId':_0x1b6efa,'op':_0x4253d3};return _0xbdfc6b['syncExecuteCommand'](Q['id'],_0x5b8f30)?(_0x3bda89[_0x2e9445(0x3f4)](_0x1b6efa),_0x555bf6[_0x2e9445(0x519)]({'unitID':_0x1b6efa,'undoMutations':[{'id':Q['id'],'params':_0x8981f2}],'redoMutations':[{'id':Q['id'],'params':_0x5b8f30}]}),!0x0):!0x1;}},Eo={'id':_0x354fcb(0x48b),'type':_0x3e23cf[_0x354fcb(0x301)],'handler':(_0x3144c6,_0x5361e3)=>{const _0x3e2883=_0x354fcb;if(!_0x5361e3)return!0x1;let _0x14c373=_0x3144c6[_0x3e2883(0x4a8)](_0x3414e2),{unitId:_0x50febd,tableId:_0x3503b9,fieldId:_0x46fe56,patch:_0x1a7132}=_0x5361e3,_0x238fb5=_0x14c373[_0x3e2883(0x2e5)](_0x50febd,_0x28d752[_0x3e2883(0x201)]);if(!_0x238fb5||_0x46fe56===_0x3b44b5||!$(_0x238fb5,_0x3503b9,{'fieldIds':[_0x46fe56]}))return!0x1;let _0xfc176=_0x3144c6['get'](_0x3ff846),_0x494b6d=_0x3144c6[_0x3e2883(0x4a8)](_0x5153d9),_0x1e1e9f=_0x238fb5[_0x3e2883(0x1f9)]();if(!ha(_0x238fb5,_0x3503b9,{..._0x1e1e9f[_0x3e2883(0x2ba)][_0x3503b9][_0x3e2883(0x480)][_0x46fe56],..._0x1a7132}))return!0x1;let _0x113b95=new W()[_0x3e2883(0x409)](_0x1e1e9f,_0x3503b9,_0x46fe56,_0x1a7132),_0x5ef139=new z()['invertOp'](_0x1e1e9f,_0x113b95),_0x491c55={'unitId':_0x50febd,'op':_0x113b95},_0x3b0583={'unitId':_0x50febd,'op':_0x5ef139};return _0xfc176[_0x3e2883(0x4c6)](Q['id'],_0x491c55)?(_0x14c373[_0x3e2883(0x3f4)](_0x50febd),_0x494b6d[_0x3e2883(0x519)]({'unitID':_0x50febd,'undoMutations':[{'id':Q['id'],'params':_0x3b0583}],'redoMutations':[{'id':Q['id'],'params':_0x491c55}]}),!0x0):!0x1;}},Do={'id':_0x354fcb(0x2d4),'type':_0x3e23cf['COMMAND'],'handler':(_0x2fdd50,_0x1f9fea)=>{const _0x4dbd13=_0x354fcb;if(!_0x1f9fea)return!0x1;let _0x309b61=_0x2fdd50[_0x4dbd13(0x4a8)](_0x3414e2),{unitId:_0x3e1bf1,tableId:_0x4f2f92,viewId:_0x273f52,patch:_0x433e00}=_0x1f9fea,_0x2005c7=_0x309b61['getUnit'](_0x3e1bf1,_0x28d752[_0x4dbd13(0x201)]);if(!_0x2005c7||!$(_0x2005c7,_0x4f2f92,{'viewIds':[_0x273f52]}))return!0x1;let _0x3a529d=_0x2fdd50[_0x4dbd13(0x4a8)](_0x3ff846),_0x96df47=_0x2fdd50[_0x4dbd13(0x4a8)](_0x5153d9),_0x22e40c=_0x2005c7[_0x4dbd13(0x1f9)](),_0x34b74c=new W()['updateViewConfig'](_0x22e40c,_0x4f2f92,_0x273f52,_0x433e00),_0x16d736=new z()[_0x4dbd13(0x2aa)](_0x22e40c,_0x34b74c),_0x2fa8a7={'unitId':_0x3e1bf1,'op':_0x34b74c},_0x3cbb04={'unitId':_0x3e1bf1,'op':_0x16d736};return _0x3a529d[_0x4dbd13(0x4c6)](Q['id'],_0x2fa8a7)?(_0x309b61[_0x4dbd13(0x3f4)](_0x3e1bf1),_0x96df47[_0x4dbd13(0x519)]({'unitID':_0x3e1bf1,'undoMutations':[{'id':Q['id'],'params':_0x3cbb04}],'redoMutations':[{'id':Q['id'],'params':_0x2fa8a7}]}),!0x0):!0x1;}},Oo={'id':_0x354fcb(0x4f3),'type':_0x3e23cf[_0x354fcb(0x301)],'handler':(_0x26578e,_0x265889)=>{const _0x71aa41=_0x354fcb;if(!_0x265889)return!0x1;let _0x28f5a4=_0x26578e['get'](_0x3414e2),{unitId:_0x5af915,tableId:_0x4e6358,recordId:_0x49fd76,orderKey:_0x1ecd42}=_0x265889,_0x236656=_0x28f5a4[_0x71aa41(0x2e5)](_0x5af915,_0x28d752[_0x71aa41(0x201)]);if(!_0x236656||!$(_0x236656,_0x4e6358,{'recordIds':[_0x49fd76]}))return!0x1;let _0x58b354=_0x26578e['get'](_0x3ff846),_0xfd174d=_0x26578e[_0x71aa41(0x4a8)](_0x5153d9),_0x2a4e0e=_0x236656[_0x71aa41(0x1f9)](),_0x4c84e6=new W()[_0x71aa41(0x229)](_0x2a4e0e,_0x4e6358,_0x49fd76,_0x1ecd42),_0x14627c=new z()[_0x71aa41(0x2aa)](_0x2a4e0e,_0x4c84e6),_0x203b33={'unitId':_0x5af915,'op':_0x4c84e6},_0x527ada={'unitId':_0x5af915,'op':_0x14627c};return _0x58b354['syncExecuteCommand'](Q['id'],_0x203b33)?(_0x28f5a4[_0x71aa41(0x3f4)](_0x5af915),_0xfd174d[_0x71aa41(0x519)]({'unitID':_0x5af915,'undoMutations':[{'id':Q['id'],'params':_0x527ada}],'redoMutations':[{'id':Q['id'],'params':_0x203b33}]}),!0x0):!0x1;}};let ko=function(_0x129941){const _0x3662e8=_0x354fcb;return _0x129941['Set']=_0x3662e8(0x1a1),_0x129941[_0x3662e8(0x27f)]=_0x3662e8(0x35e),_0x129941[_0x3662e8(0x3d2)]=_0x3662e8(0x4f4),_0x129941[_0x3662e8(0x4b0)]='clear',_0x129941;}({});const Ao={'id':_0x354fcb(0x40d),'type':_0x3e23cf[_0x354fcb(0x301)],'handler':(_0x3cd942,_0x11fb87)=>{const _0x385b20=_0x354fcb;var _0x483cc2;if(!_0x11fb87)return!0x1;let _0xc9f356=_0x3cd942[_0x385b20(0x4a8)](_0x3414e2),_0x550cba=_0xc9f356[_0x385b20(0x2e5)](_0x11fb87[_0x385b20(0x278)],_0x28d752[_0x385b20(0x201)]);if(!_0x550cba||!$(_0x550cba,_0x11fb87[_0x385b20(0x1c3)],{'viewIds':[_0x11fb87[_0x385b20(0x366)]]}))return!0x1;let _0xed793=_0x550cba['getSnapshot'](),_0x3fdb79=_0xed793[_0x385b20(0x2ba)][_0x11fb87['tableId']],_0x454c2e=jo(((_0x483cc2=_0x3fdb79['views'][_0x11fb87[_0x385b20(0x366)]][_0x385b20(0x342)][_0x385b20(0x3e7)])==null?void 0x0:_0x483cc2[_0x385b20(0x36c)])??[],_0x11fb87);if(!_0x454c2e)return!0x1;Mo(_0x3fdb79,_0x454c2e);let _0x3cb5f9=new W()[_0x385b20(0x4c1)](_0xed793,_0x11fb87['tableId'],_0x11fb87[_0x385b20(0x366)],{'conditionalColoring':_0x454c2e[_0x385b20(0x458)]?{'rules':_0x454c2e}:null}),_0x2c52cd=new z()[_0x385b20(0x2aa)](_0xed793,_0x3cb5f9),_0x3ac8c6={'unitId':_0x11fb87[_0x385b20(0x278)],'op':_0x3cb5f9},_0x42c9ef={'unitId':_0x11fb87[_0x385b20(0x278)],'op':_0x2c52cd};return _0x3cd942[_0x385b20(0x4a8)](_0x3ff846)[_0x385b20(0x4c6)](Q['id'],_0x3ac8c6)?(_0xc9f356[_0x385b20(0x3f4)](_0x11fb87[_0x385b20(0x278)]),_0x3cd942[_0x385b20(0x4a8)](_0x5153d9)[_0x385b20(0x519)]({'unitID':_0x11fb87[_0x385b20(0x278)],'undoMutations':[{'id':Q['id'],'params':_0x42c9ef}],'redoMutations':[{'id':Q['id'],'params':_0x3ac8c6}]}),!0x0):!0x1;}};function jo(_0x4819c6,_0xb3d9f0){const _0x22a554=_0x354fcb;switch(_0xb3d9f0[_0x22a554(0x33a)]){case'set':return _0x30f9db[_0x22a554(0x355)](_0xb3d9f0[_0x22a554(0x36c)]);case _0x22a554(0x35e):return[..._0x30f9db['deepClone'](_0x4819c6),_0x30f9db[_0x22a554(0x355)](_0xb3d9f0['rule'])];case _0x22a554(0x4f4):{let _0x5657de=_0x4819c6[_0x22a554(0x397)](_0x5945de=>_0x5945de['id']!==_0xb3d9f0[_0x22a554(0x491)]);return _0x5657de['length']===_0x4819c6['length']?null:_0x30f9db['deepClone'](_0x5657de);}case _0x22a554(0x4b6):return _0x4819c6[_0x22a554(0x458)]?[]:null;}}function Mo(_0x1ba8f9,_0x4be23b){const _0x3db896=_0x354fcb;if(!Array[_0x3db896(0x354)](_0x4be23b))throw TypeError(_0x3db896(0x313));let _0x5db824=new Set();for(let [_0x31bb9a,_0x3aeac2]of _0x4be23b[_0x3db896(0x1e2)]())Po(_0x1ba8f9,_0x3aeac2,No(_0x3aeac2,_0x31bb9a,_0x5db824));}function No(_0x11547f,_0x7111b,_0x543010){const _0x2361e6=_0x354fcb;if(!_0x11547f||typeof _0x11547f!=_0x2361e6(0x269))throw TypeError(_0x2361e6(0x311)+_0x7111b+'\x20must\x20be\x20an\x20object.');let _0x2aff6a=typeof _0x11547f['id']==_0x2361e6(0x471)&&_0x11547f['id'][_0x2361e6(0x3bc)]()?'\x22'+_0x11547f['id']+'\x22':'at\x20index\x20'+_0x7111b;if(typeof _0x11547f['id']!=_0x2361e6(0x471)||!_0x11547f['id']['trim']())throw Error('[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20'+_0x2aff6a+_0x2361e6(0x470));if(_0x543010[_0x2361e6(0x23f)](_0x11547f['id']))throw Error('[UpdateBaseViewConditionalColorRulesCommand]:\x20duplicate\x20rule\x20id\x20\x22'+_0x11547f['id']+'\x22.');_0x543010[_0x2361e6(0x35e)](_0x11547f['id']);let _0x29e373=typeof _0x11547f[_0x2361e6(0x190)]==_0x2361e6(0x471)&&_0x11547f[_0x2361e6(0x190)][_0x2361e6(0x3bc)]()?new _0x3d2caa(_0x11547f[_0x2361e6(0x190)]):null;if(!(_0x29e373!=null&&_0x29e373['isValid']))throw Error(_0x2361e6(0x2f5)+_0x2aff6a+_0x2361e6(0x44e));return _0x2aff6a;}function Po(_0x4472fe,_0x3cbd5d,_0x51108e){const _0x289dcb=_0x354fcb;let _0x215a7b=new Set(Object[_0x289dcb(0x1da)](_0x54bac1)),_0x40c600=new Set(Object[_0x289dcb(0x1da)](_0x79efc5)),_0x3cd731=new Set(Object['values'](_0x173d28));if(!_0x215a7b['has'](_0x3cbd5d[_0x289dcb(0x3d1)]))throw Error(_0x289dcb(0x2f5)+_0x51108e+_0x289dcb(0x3aa)+String(_0x3cbd5d[_0x289dcb(0x3d1)])+'\x22.');let _0x736b6d=typeof _0x3cbd5d['fieldId']==_0x289dcb(0x471)?_0x4472fe[_0x289dcb(0x480)][_0x3cbd5d['fieldId']]:void 0x0;if(!_0x736b6d||_0x736b6d[_0x289dcb(0x1cb)]===!0x0||_0x736b6d[_0x289dcb(0x33a)]===_0x19bf94[_0x289dcb(0x44f)])throw Error(_0x289dcb(0x2f5)+_0x51108e+_0x289dcb(0x214)+String(_0x3cbd5d[_0x289dcb(0x46e)])+'\x22.');if(!_0x40c600[_0x289dcb(0x23f)](_0x3cbd5d['operator']))throw Error(_0x289dcb(0x2f5)+_0x51108e+_0x289dcb(0x4e1)+String(_0x3cbd5d[_0x289dcb(0x320)])+'\x22.');if(_0x3cbd5d[_0x289dcb(0x43b)]!==void 0x0&&!_0x3cd731[_0x289dcb(0x23f)](_0x3cbd5d[_0x289dcb(0x43b)]))throw Error(_0x289dcb(0x2f5)+_0x51108e+_0x289dcb(0x2b0)+String(_0x3cbd5d['dateMode'])+'\x22.');if(_0x3cbd5d[_0x289dcb(0x3d1)]===_0x54bac1[_0x289dcb(0x222)])return;let _0x2f446d=vn(_0x736b6d[_0x289dcb(0x33a)]);if(!_0x2f446d['includes'](_0x3cbd5d['operator']))throw Error(_0x289dcb(0x2f5)+_0x51108e+_0x289dcb(0x413)+_0x3cbd5d[_0x289dcb(0x320)]+_0x289dcb(0x2c9)+_0x736b6d['type']+'\x22.\x20Allowed\x20operators:\x20'+_0x2f446d[_0x289dcb(0x4b5)](',\x20')+'.');if(_0x3cbd5d[_0x289dcb(0x43b)]!==void 0x0&&!yn(_0x736b6d[_0x289dcb(0x33a)]))throw Error('[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20'+_0x51108e+_0x289dcb(0x27c));}const Fo={'id':_0x354fcb(0x508),'type':_0x3e23cf[_0x354fcb(0x301)],'handler':(_0xceccc4,_0x1f0bef)=>{const _0x45e4ca=_0x354fcb;if(!_0x1f0bef)return!0x1;let _0x27a081=_0xceccc4['get'](_0x3414e2),{unitId:_0x290850,tableId:_0x30e199,viewId:_0x228191,patch:_0x1a9086}=_0x1f0bef,_0x2ac841=_0x27a081[_0x45e4ca(0x2e5)](_0x290850,_0x28d752['UNIVER_BASE']);if(!_0x2ac841||!$(_0x2ac841,_0x30e199,{'viewIds':[_0x228191]}))return!0x1;let _0x1c8be3=_0xceccc4['get'](_0x3ff846),_0xc84e5a=_0xceccc4[_0x45e4ca(0x4a8)](_0x5153d9),_0x1401a2=_0x2ac841[_0x45e4ca(0x1f9)](),_0x338dc5=new W()[_0x45e4ca(0x4c1)](_0x1401a2,_0x30e199,_0x228191,_0x1a9086),_0x1c5e16=new z()[_0x45e4ca(0x2aa)](_0x1401a2,_0x338dc5),_0x5b0cd4={'unitId':_0x290850,'op':_0x338dc5},_0x22a988={'unitId':_0x290850,'op':_0x1c5e16};return _0x1c8be3[_0x45e4ca(0x4c6)](Q['id'],_0x5b0cd4)?(_0x27a081['focusUnit'](_0x290850),_0xc84e5a['pushUndoRedo']({'unitID':_0x290850,'undoMutations':[{'id':Q['id'],'params':_0x22a988}],'redoMutations':[{'id':Q['id'],'params':_0x5b0cd4}]}),!0x0):!0x1;}},Io={'id':'base.command.validate-formula','type':_0x3e23cf['COMMAND'],'handler'(_0x4f555b,_0x332c93){const _0x4b8880=_0x354fcb;if(!_0x332c93)return{'valid':!0x1,'reason':_0x4b8880(0x39f)};let _0x453928=_0x4f555b[_0x4b8880(0x4a8)](_0x3414e2)[_0x4b8880(0x2e5)](_0x332c93[_0x4b8880(0x278)],_0x28d752['UNIVER_BASE']),_0x4091c4=_0x453928==null?void 0x0:_0x453928[_0x4b8880(0x1f9)](),_0x20d719=_0x4091c4==null?void 0x0:_0x4091c4[_0x4b8880(0x2ba)][_0x332c93[_0x4b8880(0x1c3)]];return!_0x4091c4||!_0x20d719?{'valid':!0x1,'reason':'[BaseFormula]:\x20table\x20does\x20not\x20exist.'}:new Xi()[_0x4b8880(0x1c2)](_0x332c93[_0x4b8880(0x23a)],_0x20d719,{'snapshot':_0x4091c4});}};let Lo=class extends _0x4a896e{constructor(_0xb5d54b){const _0x16eda2=_0x354fcb;super(_0xb5d54b,_0x16eda2(0x1f4),_0x28d752[_0x16eda2(0x201)],[_0x56e21f[_0x16eda2(0x1d0)],_0x56e21f['BaseField'],_0x56e21f['BaseRecord'],_0x56e21f[_0x16eda2(0x52a)],_0x56e21f[_0x16eda2(0x3f9)]]);}};Lo=X([Y(0x0,_0xee5072)],Lo);const Ro={'id':_0x354fcb(0x45e),'type':_0x3e23cf[_0x354fcb(0x251)],'handler':(_0x33a35a,_0x16ce20)=>!_0x16ce20||!_0x33a35a[_0x354fcb(0x4a8)](_0x3414e2)[_0x354fcb(0x2e5)](_0x16ce20[_0x354fcb(0x278)],_0x28d752[_0x354fcb(0x201)])?!0x1:_0x33a35a[_0x354fcb(0x4a8)](Lo)['setRule'](_0x16ce20[_0x354fcb(0x278)],_0x16ce20[_0x354fcb(0x204)],_0x16ce20[_0x354fcb(0x225)],_0x16ce20[_0x354fcb(0x193)])},zo={'id':_0x354fcb(0x3dd),'type':_0x3e23cf[_0x354fcb(0x251)],'handler':(_0xbeb69a,_0x4092e8)=>!_0x4092e8||!_0xbeb69a[_0x354fcb(0x4a8)](_0x3414e2)[_0x354fcb(0x2e5)](_0x4092e8[_0x354fcb(0x278)],_0x28d752[_0x354fcb(0x201)])?!0x1:_0xbeb69a[_0x354fcb(0x4a8)](Lo)[_0x354fcb(0x30e)](_0x4092e8[_0x354fcb(0x278)],_0x4092e8[_0x354fcb(0x36c)])};function Bo(_0x1771bc){const _0xb3eca0=_0x354fcb;let _0x401106=_0x1771bc[_0xb3eca0(0x181)]??Date['now'](),_0x1e0051=_0x1771bc[_0xb3eca0(0x4cf)]??_0x1771bc['id']+_0xb3eca0(0x50e),_0x1e80b7=_0x1771bc[_0xb3eca0(0x1c8)]??_0x1771bc['id']+_0xb3eca0(0x443),_0x389eb0=_0x1771bc['recordCount']??0x0,_0x4b8112=_0x5c3ee9(),_0x5ab6bc={'id':_0x1e0051,'name':_0x1771bc[_0xb3eca0(0x26b)]??_0xb3eca0(0x36d),'type':_0x19bf94[_0xb3eca0(0x374)],'config':{'placeholder':_0xb3eca0(0x3ab)}},_0x56ad1e={},_0xaaef58=[],_0x5c092e={},_0x4c3e4d={},_0x27221b={};for(let _0x13301=0x0;_0x13301<_0x389eb0;_0x13301++){let _0x2f1081=_0x1771bc['id']+_0xb3eca0(0x378)+(_0x13301+0x1);_0x56ad1e[_0x2f1081]={'id':_0x2f1081,'values':{[_0x3b44b5]:_0x2f1081,..._0x1771bc[_0xb3eca0(0x282)]?{[_0x1e0051]:_0x1771bc[_0xb3eca0(0x282)]+'\x20'+(_0x13301+0x1)}:{}},'orderKey':String(_0x13301+0x1)['padStart'](0x4,'0'),'createdAt':_0x401106,'updatedAt':_0x401106},_0xaaef58[_0xb3eca0(0x1f3)](_0x2f1081),_0x5c092e[_0x2f1081]=_0x13301,_0x4c3e4d[_0x13301]=_0x2f1081,_0x27221b[_0x13301]={0x0:{'v':_0x2f1081,'t':_0x149f0a['STRING']}},_0x1771bc['recordNamePrefix']&&(_0x27221b[_0x13301][0x1]={'v':_0x1771bc[_0xb3eca0(0x282)]+'\x20'+(_0x13301+0x1),'t':_0x149f0a['STRING']});}let _0x1552b6={'id':_0x1e80b7,'tableId':_0x1771bc['id'],'name':_0xb3eca0(0x388),'type':_0x2b4a2c[_0xb3eca0(0x388)],'fieldOrder':[_0x3b44b5,_0x1e0051],'fieldSettings':{[_0x3b44b5]:{'hidden':!0x0}},'config':{'frozenFieldCount':0x1}};return{'id':_0x1771bc['id'],'name':_0x1771bc[_0xb3eca0(0x1e0)],'primaryFieldId':_0x1e0051,'fieldOrder':[_0x3b44b5,_0x1e0051],'fields':{[_0x3b44b5]:_0x4b8112,[_0x1e0051]:_0x5ab6bc},'records':_0x56ad1e,'recordOrder':_0xaaef58,'rowIndex':_0x5c092e,'rowId':_0x4c3e4d,'colIndex':{[_0x3b44b5]:0x0,[_0x1e0051]:0x1},'colId':{0x0:_0x3b44b5,0x1:_0x1e0051},'cellData':_0x27221b,'views':{[_0x1e80b7]:_0x1552b6},'viewOrder':[_0x1e80b7]};}const Vo=_0x354fcb(0x339);function Ho(_0x46c524){const _0xcf2577=_0x354fcb;let _0xc784a5=Bo({'id':_0x46c524[_0xcf2577(0x303)],'name':_0x46c524[_0xcf2577(0x1e0)]??_0x46c524[_0xcf2577(0x39e)],'recordCount':0x0});return{..._0xc784a5,'resources':{..._0xc784a5[_0xcf2577(0x358)]??{},[Vo]:Go(_0x46c524)}};}function Uo(_0x5b23dd){const _0x3cc656=_0x354fcb;return{'id':Q['id'],'params':{'unitId':_0x5b23dd[_0x3cc656(0x278)],'op':_0x370803[_0x3cc656(0x33a)]['compose'](_0x370803[_0x3cc656(0x207)]([_0x3cc656(0x2ba),_0x5b23dd[_0x3cc656(0x513)]['id']],_0x5b23dd[_0x3cc656(0x513)]),_0x370803[_0x3cc656(0x207)]([_0x3cc656(0x3e3),_0x5b23dd[_0x3cc656(0x250)]??_0x5b23dd[_0x3cc656(0x2d2)][_0x3cc656(0x3e3)]['length']],_0x5b23dd[_0x3cc656(0x513)]['id'])),'trigger':_0x3cc656(0x31c)}};}function Wo(_0x3d9ca2){const _0x7101e8=_0x354fcb;let _0x1be666=_0x3d9ca2['snapshot'][_0x7101e8(0x3e3)][_0x7101e8(0x4c8)](_0x3d9ca2[_0x7101e8(0x1c3)]);if(!(!_0x3d9ca2['snapshot']['tables'][_0x3d9ca2[_0x7101e8(0x1c3)]]||_0x1be666<0x0))return{'id':Q['id'],'params':{'unitId':_0x3d9ca2['unitId'],'op':_0x370803['type'][_0x7101e8(0x1fb)](_0x370803[_0x7101e8(0x246)]([_0x7101e8(0x2ba),_0x3d9ca2[_0x7101e8(0x1c3)]],_0x3d9ca2[_0x7101e8(0x2d2)][_0x7101e8(0x2ba)][_0x3d9ca2[_0x7101e8(0x1c3)]]),_0x370803[_0x7101e8(0x246)]([_0x7101e8(0x3e3),_0x1be666],_0x3d9ca2[_0x7101e8(0x1c3)])),'trigger':_0x7101e8(0x31c)}};}function Go(_0xedb651){const _0x2dbcd6=_0x354fcb;return{'version':0x1,'embedId':_0xedb651[_0x2dbcd6(0x39e)],'hostAnchorId':_0xedb651[_0x2dbcd6(0x303)],'childUnitId':_0xedb651[_0x2dbcd6(0x33e)],'childType':_0xedb651[_0x2dbcd6(0x525)]};}function Ko(_0x44b35d){const _0x1eee40=_0x354fcb;let _0x595a9d=Math[_0x1eee40(0x1b3)](0x0,Number(_0x44b35d[_0x1eee40(0x40e)]??0x0)),_0x577650=_0x44b35d[_0x1eee40(0x2ce)]===!0x1?'0':_0x1eee40(0x3c3),_0x16907b=_0x595a9d?'.'+'0'[_0x1eee40(0x4d1)](_0x595a9d):'',_0x57c1e1=Jo(_0x44b35d['abbreviation']);return''+(_0x44b35d['currencySymbol']?Yo(_0x44b35d[_0x1eee40(0x4d3)]):'')+_0x577650+_0x16907b+_0x57c1e1;}function qo(_0x55aac2,_0x1834d8){const _0x5c492f=_0x354fcb;let _0xcfff44=Ko(_0x1834d8),_0x5eed9b=_0x5e5ce5['format'](_0xcfff44,_0x55aac2,{'throws':!0x1});return Xo(String(_0x5eed9b),_0x1834d8[_0x5c492f(0x28d)],_0x1834d8[_0x5c492f(0x4f5)]);}function Jo(_0x3e3af0){const _0x5c17f5=_0x354fcb;return _0x3e3af0==='K'?',\x22K\x22':_0x3e3af0==='M'?_0x5c17f5(0x279):_0x3e3af0==='B'?_0x5c17f5(0x4a6):'';}function Yo(_0x4c64ae){const _0x305676=_0x354fcb;return/^[A-Z]+$/i[_0x305676(0x235)](_0x4c64ae)?'\x22'+_0x4c64ae+'\x22':_0x4c64ae;}function Xo(_0xa4b339,_0x174271,_0x1bbba9){const _0x468207=_0x354fcb;let _0x51f2f8=_0x174271===_0x468207(0x40a)?Zo(_0x1bbba9):_0x174271;return _0x51f2f8===_0x468207(0x425)?_0xa4b339[_0x468207(0x2b1)](/,/g,'\x00')[_0x468207(0x2b1)](/\./g,',')['replace'](/\0/g,'.'):_0x51f2f8===_0x468207(0x26c)?_0xa4b339[_0x468207(0x2b1)](/,/g,'\x20')[_0x468207(0x2b1)](/\./g,','):_0x51f2f8===_0x468207(0x2c5)?_0xa4b339[_0x468207(0x2b1)](/,/g,'\x20'):_0xa4b339;}function Zo(_0x4cf187){const _0x56299f=_0x354fcb;var _0x916872,_0x27287d;let _0x533a13=_0x4cf187||new Intl[(_0x56299f(0x4fb))]()[_0x56299f(0x1de)]()[_0x56299f(0x4f5)],_0x2224cf;try{_0x2224cf=new Intl[(_0x56299f(0x4fb))](_0x533a13,{'minimumFractionDigits':0x2,'maximumFractionDigits':0x2,'useGrouping':!0x0})[_0x56299f(0x41b)](0xf4240);}catch{return'commaPeriod';}let _0x34bc9a=(_0x916872=_0x2224cf[_0x56299f(0x22f)](_0x387c8d=>_0x387c8d['type']===_0x56299f(0x1b9)))==null?void 0x0:_0x916872['value'],_0x59b0ab=(_0x27287d=_0x2224cf['find'](_0x5185de=>_0x5185de['type']==='decimal'))==null?void 0x0:_0x27287d[_0x56299f(0x416)],_0x79f63c=_0x34bc9a==='\u00a0'||_0x34bc9a==='\u202f'?'\x20':_0x34bc9a;return _0x79f63c==='.'&&_0x59b0ab===','?_0x56299f(0x425):_0x79f63c==='\x20'&&_0x59b0ab===','?'spaceComma':_0x79f63c==='\x20'&&_0x59b0ab==='.'?_0x56299f(0x2c5):_0x56299f(0x3e1);}function Qo(_0x4aea1c,_0x300f08){const _0x10e7a5=_0x354fcb;let _0x4ae1f8=_0x300f08&&typeof _0x300f08==_0x10e7a5(0x269)&&!Array[_0x10e7a5(0x354)](_0x300f08)?_0x300f08:{},_0x3c95b2=$o(_0x4ae1f8[_0x10e7a5(0x40e)],0x0,0x2,0x0),_0x4268e1=_0x4aea1c[_0x10e7a5(0x23d)](_0x3c95b2);return _0x4ae1f8[_0x10e7a5(0x24a)]===_0x10e7a5(0x256)?_0x4268e1:_0x4268e1+'%';}function $o(_0x4d22b7,_0x1b9fc2,_0x5b1417,_0x42472c){const _0x445246=_0x354fcb;if(_0x4d22b7==null||_0x4d22b7==='')return _0x42472c;let _0x471592=typeof _0x4d22b7==_0x445246(0x256)?_0x4d22b7:Number(_0x4d22b7);return Number[_0x445246(0x2c3)](_0x471592)?Math['max'](_0x1b9fc2,Math[_0x445246(0x35d)](_0x5b1417,Math[_0x445246(0x40b)](_0x471592))):_0x42472c;}const es=[_0x354fcb(0x3f5),_0x354fcb(0x2af),_0x354fcb(0x26a),_0x354fcb(0x505),_0x354fcb(0x22c),_0x354fcb(0x218),'min',_0x354fcb(0x1b3)],ts=[_0x354fcb(0x3f5),_0x354fcb(0x2af),_0x354fcb(0x26a),_0x354fcb(0x505)],ns=[_0x354fcb(0x22c),'average',_0x354fcb(0x35d),_0x354fcb(0x1b3)],rs=[_0x354fcb(0x35d),_0x354fcb(0x1b3)],is=new Set([_0x19bf94[_0x354fcb(0x271)],_0x19bf94['Currency'],_0x19bf94['Progress'],_0x19bf94[_0x354fcb(0x4c5)]]),as=new Set([_0x19bf94[_0x354fcb(0x283)],_0x19bf94[_0x354fcb(0x1e5)],_0x19bf94[_0x354fcb(0x223)]]),os='General';function ss(_0x2adb61){const _0xa6c2c3=_0x354fcb;return typeof _0x2adb61==_0xa6c2c3(0x471)&&es[_0xa6c2c3(0x231)](_0x2adb61);}function cs(_0x4abdca){const _0x3a3c76=_0x354fcb;return!_0x4abdca||typeof _0x4abdca!=_0x3a3c76(0x269)?{}:Object[_0x3a3c76(0x2e8)](Object[_0x3a3c76(0x1e2)](_0x4abdca)['filter'](_0x822ce=>ss(_0x822ce[0x1])));}function ls(_0x409a54){const _0x2a10c6=_0x354fcb;return is[_0x2a10c6(0x23f)](_0x409a54[_0x2a10c6(0x33a)])?[...ts,...ns]:_0x409a54[_0x2a10c6(0x33a)]===_0x19bf94['Formula']?[...ts,...ws(_0x409a54)===_0x2a10c6(0x219)?rs:ns]:ts;}function us(_0x240a8e,_0x25a25a){const _0x3ec0c5=_0x354fcb;return ls(_0x240a8e)[_0x3ec0c5(0x231)](_0x25a25a);}function ds(_0x36a3b2,_0x42d1d4,_0x5052f9){const _0x2bc2f7=_0x354fcb;if(!us(_0x36a3b2,_0x5052f9))return null;let _0x112613=_0x42d1d4[_0x2bc2f7(0x397)](_0x8bb13d=>!ps(_0x36a3b2,_0x8bb13d));switch(_0x5052f9){case _0x2bc2f7(0x3f5):return _0x42d1d4[_0x2bc2f7(0x458)];case _0x2bc2f7(0x2af):return _0x112613[_0x2bc2f7(0x458)];case _0x2bc2f7(0x26a):return _0x42d1d4[_0x2bc2f7(0x458)]-_0x112613[_0x2bc2f7(0x458)];case _0x2bc2f7(0x505):return new Set(_0x112613['map'](_0x1cae5e=>_s(_0x36a3b2,_0x1cae5e)))[_0x2bc2f7(0x473)];case _0x2bc2f7(0x22c):{let _0x37cfe6=ms(_0x36a3b2,_0x112613);return _0x37cfe6[_0x2bc2f7(0x458)]?gs(_0x37cfe6):null;}case _0x2bc2f7(0x218):{let _0x4976e5=ms(_0x36a3b2,_0x112613);return _0x4976e5['length']?gs(_0x4976e5)/_0x4976e5[_0x2bc2f7(0x458)]:null;}case _0x2bc2f7(0x35d):{let _0x237646=ms(_0x36a3b2,_0x112613);return _0x237646[_0x2bc2f7(0x458)]?Math[_0x2bc2f7(0x35d)](..._0x237646):null;}case _0x2bc2f7(0x1b3):{let _0x32c80b=ms(_0x36a3b2,_0x112613);return _0x32c80b['length']?Math['max'](..._0x32c80b):null;}}}function fs(_0x30eb7c,_0x34b16c,_0x493031){const _0x527f3d=_0x354fcb;if(_0x493031==null||!Number[_0x527f3d(0x2c3)](_0x493031))return'-';if(ts[_0x527f3d(0x231)](_0x34b16c))return String(_0x493031);switch(_0x30eb7c[_0x527f3d(0x33a)]){case _0x19bf94[_0x527f3d(0x271)]:return qo(_0x493031,xs(_0x30eb7c));case _0x19bf94[_0x527f3d(0x19c)]:return qo(_0x493031,Ss(_0x30eb7c));case _0x19bf94[_0x527f3d(0x1ba)]:return Qo(_0x493031,_0x30eb7c[_0x527f3d(0x342)]);case _0x19bf94[_0x527f3d(0x405)]:return Cs(_0x493031,_0x30eb7c);default:return Es(_0x493031);}}function ps(_0x23eea6,_0x2c95cf){const _0x590673=_0x354fcb;if(_0x2c95cf==null)return!0x0;if(typeof _0x2c95cf==_0x590673(0x471))return _0x2c95cf[_0x590673(0x3bc)]()==='';if(Array[_0x590673(0x354)](_0x2c95cf))return _0x23eea6[_0x590673(0x33a)]===_0x19bf94[_0x590673(0x46f)]?!_0x2c95cf[_0x590673(0x257)](bs):_0x2c95cf[_0x590673(0x458)]===0x0;if(_0x23eea6[_0x590673(0x33a)]===_0x19bf94[_0x590673(0x4db)]&&typeof _0x2c95cf==_0x590673(0x269)){let _0x3f71d9=_0x2c95cf;return[_0x3f71d9['text'],_0x3f71d9[_0x590673(0x1c7)]][_0x590673(0x1b6)](_0x5e1519=>_0x5e1519==null||String(_0x5e1519)[_0x590673(0x3bc)]()==='');}return!0x1;}function ms(_0x123c06,_0x4fa302){const _0x59db8d=_0x354fcb;let _0x12ad13=[];for(let _0x29bc6d of _0x4fa302){let _0x293ad5=hs(_0x123c06,_0x29bc6d);_0x293ad5!=null&&_0x12ad13[_0x59db8d(0x1f3)](_0x293ad5);}return _0x12ad13;}function hs(_0x4d27d0,_0x39a844){const _0xa18ee7=_0x354fcb;if(typeof _0x39a844=='number')return Number[_0xa18ee7(0x2c3)](_0x39a844)?_0x39a844:null;if(_0x4d27d0['type']!==_0x19bf94['Formula']&&typeof _0x39a844=='string'&&_0x39a844[_0xa18ee7(0x3bc)]()!==''){let _0x41ea52=Number(_0x39a844);return Number[_0xa18ee7(0x2c3)](_0x41ea52)?_0x41ea52:null;}return null;}function gs(_0x2f89da){const _0x1cdfc4=_0x354fcb;let _0x14ea8e=0x0,_0x52db04=0x0;for(let _0x1b5c93 of _0x2f89da){let _0x21b5ef=_0x14ea8e+_0x1b5c93;_0x52db04+=Math[_0x1cdfc4(0x2f7)](_0x14ea8e)>=Math[_0x1cdfc4(0x2f7)](_0x1b5c93)?_0x14ea8e-_0x21b5ef+_0x1b5c93:_0x1b5c93-_0x21b5ef+_0x14ea8e,_0x14ea8e=_0x21b5ef;}return _0x14ea8e+_0x52db04;}function _s(_0x2789d5,_0x4cd63a){const _0x221d7e=_0x354fcb;return as[_0x221d7e(0x23f)](_0x2789d5[_0x221d7e(0x33a)])&&Array[_0x221d7e(0x354)](_0x4cd63a)?ys([...new Set(_0x4cd63a[_0x221d7e(0x29b)](_0x3e280b=>ys(vs(_0x3e280b))))][_0x221d7e(0x3db)]()):ys(vs(_0x4cd63a));}function vs(_0x1b89b0){const _0x48910a=_0x354fcb;return Array['isArray'](_0x1b89b0)?_0x1b89b0[_0x48910a(0x29b)](vs):_0x1b89b0&&typeof _0x1b89b0=='object'?Object[_0x48910a(0x2e8)](Object[_0x48910a(0x1e2)](_0x1b89b0)[_0x48910a(0x3db)](([_0x3dd493],[_0x41a477])=>_0x3dd493[_0x48910a(0x4bc)](_0x41a477))[_0x48910a(0x29b)](([_0x16cffd,_0x2b2d25])=>[_0x16cffd,vs(_0x2b2d25)])):_0x1b89b0;}function ys(_0x2536a5){const _0x583cdc=_0x354fcb;return JSON[_0x583cdc(0x449)](_0x2536a5)??'undefined';}function bs(_0x5dc8fe){const _0x1afde1=_0x354fcb;if(typeof _0x5dc8fe=='string')return _0x5dc8fe[_0x1afde1(0x3bc)]()!=='';if(!_0x5dc8fe||typeof _0x5dc8fe!=_0x1afde1(0x269))return!0x1;let _0x2951f7=_0x5dc8fe;return[_0x2951f7['id'],_0x2951f7[_0x1afde1(0x1e0)],_0x2951f7[_0x1afde1(0x4cd)],_0x2951f7[_0x1afde1(0x1c7)],_0x2951f7['thumbnail']][_0x1afde1(0x257)](_0xab6ff9=>_0xab6ff9!=null&&String(_0xab6ff9)[_0x1afde1(0x3bc)]()!=='');}function xs(_0x2ff929){const _0x9c3246=_0x354fcb;let _0x3b18e1=Ds(_0x2ff929[_0x9c3246(0x342)]);return{'decimalPlaces':ks(_0x3b18e1[_0x9c3246(0x40e)],0x0,0x14,0x2),'separatorStyle':typeof _0x3b18e1[_0x9c3246(0x28d)]==_0x9c3246(0x471)?_0x3b18e1[_0x9c3246(0x28d)]:_0x9c3246(0x40a),'locale':typeof _0x3b18e1[_0x9c3246(0x4f5)]=='string'?_0x3b18e1[_0x9c3246(0x4f5)]:void 0x0,'useThousands':_0x3b18e1[_0x9c3246(0x2ce)]!==!0x1,'abbreviation':typeof _0x3b18e1['abbreviation']==_0x9c3246(0x471)?_0x3b18e1[_0x9c3246(0x356)]:'none'};}function Ss(_0x411d6a){const _0x380da1=_0x354fcb;let _0x4ea89b=Ds(_0x411d6a[_0x380da1(0x342)]);return{...xs(_0x411d6a),'currencySymbol':String(_0x4ea89b['currencySymbol']??'$')};}function Cs(_0x2d6721,_0x2eaef7){let _0x8f564b=Ts(_0x2eaef7);if(_0x8f564b===os)return Es(_0x2d6721);try{return String(_0x5e5ce5['format'](_0x8f564b,_0x2d6721,{'throws':!0x1}));}catch{return Es(_0x2d6721);}}function ws(_0x112cc5){const _0x10376d=_0x354fcb;let _0x29aa2a=Ds(Ds(_0x112cc5[_0x10376d(0x342)])[_0x10376d(0x51c)]);return typeof _0x29aa2a[_0x10376d(0x33a)]=='string'?_0x29aa2a[_0x10376d(0x33a)]:'general';}function Ts(_0x39c952){const _0x325160=_0x354fcb;let _0x1f99bc=Ds(Ds(_0x39c952[_0x325160(0x342)])['numfmt']);return String(_0x1f99bc[_0x325160(0x177)]??os)[_0x325160(0x3bc)]()||os;}function Es(_0x44d624){const _0x310221=_0x354fcb;return String(Number[_0x310221(0x39d)](_0x44d624)?_0x44d624:Math[_0x310221(0x40b)]((_0x44d624+0x2**-0x34)*0x64)/0x64);}function Ds(_0x3874eb){const _0x7c7c29=_0x354fcb;return _0x3874eb&&typeof _0x3874eb==_0x7c7c29(0x269)&&!Array[_0x7c7c29(0x354)](_0x3874eb)?_0x3874eb:{};}function Os(_0x17cf61){const _0x425bc8=_0x354fcb;if(_0x17cf61==null||_0x17cf61==='')return null;let _0x36cad6=typeof _0x17cf61==_0x425bc8(0x256)?_0x17cf61:Number(_0x17cf61);return Number[_0x425bc8(0x2c3)](_0x36cad6)?_0x36cad6:null;}function ks(_0x57b4dc,_0x70bd96,_0x5b3d6a,_0x3f5e42){const _0x5f42bc=_0x354fcb;let _0x22ee98=Os(_0x57b4dc);return _0x22ee98==null?_0x3f5e42:Math[_0x5f42bc(0x1b3)](_0x70bd96,Math['min'](_0x5b3d6a,Math[_0x5f42bc(0x40b)](_0x22ee98)));}function As(_0x544972,_0x43aec0){const _0x54c2e8=_0x354fcb;let _0x424486=_0x30f9db['deepClone'](_0x544972),_0x219d11=_0x43aec0[_0x54c2e8(0x22e)]===!0x0,_0x2b9516=new Map(),_0x5136e5=_0x43aec0[_0x54c2e8(0x213)]??(()=>'view-'+_0x3ba5f0(0x8)),_0x8a0b8a=_0x424486[_0x54c2e8(0x3f8)];return _0x43aec0[_0x54c2e8(0x3fd)]&&(_0x8a0b8a=_0x424486[_0x54c2e8(0x3f8)]['map'](_0x35f86=>{const _0xf541=_0x54c2e8;let _0x1f032b=_0x5136e5();return _0x2b9516[_0xf541(0x1a1)](_0x35f86,_0x1f032b),_0x1f032b;})),{..._0x424486,'id':_0x43aec0['id'],'name':_0x43aec0['name'],'records':_0x219d11?_0x424486[_0x54c2e8(0x45a)]:{},'recordOrder':_0x219d11?_0x424486[_0x54c2e8(0x22d)]:[],'rowIndex':_0x219d11?_0x424486[_0x54c2e8(0x290)]:{},'rowId':_0x219d11?_0x424486[_0x54c2e8(0x474)]:{},'cellData':_0x219d11?_0x424486[_0x54c2e8(0x1cf)]:{},'resources':_0x219d11?_0x424486[_0x54c2e8(0x358)]:{},'viewOrder':_0x8a0b8a,'views':Object['fromEntries'](Object[_0x54c2e8(0x1e2)](_0x424486['views']??{})['map'](([_0xe26fb1,_0x8c129])=>{const _0x5ee79d=_0x54c2e8;let _0x40ad41=_0x2b9516[_0x5ee79d(0x4a8)](_0xe26fb1)??(_0x43aec0['regenerateViewIds']?_0x5136e5():_0xe26fb1);return[_0x40ad41,{..._0x8c129,'id':_0x40ad41,'tableId':_0x43aec0['id']}];}))};}var js=_0x354fcb(0x4e6),Ms=_0x354fcb(0x3fe);const Ns={},Ps={};function Fs(_0x24afd0){const _0x127f33=_0x354fcb;return new z()[_0x127f33(0x2b9)](_0x24afd0);}function Is(_0x25e50b){const _0x14db31=_0x354fcb;return _0x25e50b[_0x14db31(0x1bc)][_0x14db31(0x29b)](_0x3f97e2=>({'unitId':_0x25e50b[_0x14db31(0x278)],'sheetId':_0x25e50b[_0x14db31(0x1c3)],'range':{'startRow':_0x3f97e2[_0x14db31(0x21b)],'endRow':_0x3f97e2[_0x14db31(0x21b)],'startColumn':_0x3f97e2[_0x14db31(0x1ea)],'endColumn':_0x3f97e2['col']}}));}function Ls(_0x2cda77,_0x5b8d9c){const _0x13f5c1=_0x354fcb;return{[_0x2cda77]:Object[_0x13f5c1(0x2e8)](_0x5b8d9c[_0x13f5c1(0x29b)](_0x388dae=>[_0x388dae,'1']))};}let Rs=class extends _0x1589db{constructor(_0x354736,_0x1186bc){const _0x4bce20=_0x354fcb;super(),this[_0x4bce20(0x419)]=_0x354736,this[_0x4bce20(0x432)]=_0x1186bc,this[_0x4bce20(0x1bd)]();}[_0x354fcb(0x1bd)](){const _0x3aa156=_0x354fcb;this[_0x3aa156(0x419)][_0x3aa156(0x2f4)](Q['id'],{'commandId':Q['id'],'getDirtyData':_0x1a6d44=>this[_0x3aa156(0x180)](_0x1a6d44[_0x3aa156(0x211)])}),this[_0x3aa156(0x1b4)](_0x5b4066(()=>{const _0x283288=_0x3aa156;this[_0x283288(0x419)]['remove'](Q['id']);}));}[_0x354fcb(0x2b3)](_0x4b5f7e,_0x367348){const _0x305843=_0x354fcb;let _0x18014a=this[_0x305843(0x432)]['getUnit'](_0x4b5f7e,_0x28d752[_0x305843(0x201)]);return(_0x18014a==null?void 0x0:_0x18014a[_0x305843(0x1f9)]()[_0x305843(0x2ba)][_0x367348])??null;}['_getJson1DirtyData'](_0x4f20e4){const _0x228b01=_0x354fcb;if(_0x4f20e4['trigger']==='formula.mutation.set-formula-calculation-result')return{};if(!_0x4f20e4[_0x228b01(0x278)]||!_0x4f20e4['op'])return{'clearDependencyTreeCache':this[_0x228b01(0x376)](),'forceCalculation':!0x0};let _0x4de89c=Fs(_0x4f20e4['op']),_0x15d9b1=this[_0x228b01(0x4cb)](_0x4f20e4[_0x228b01(0x278)],_0x4de89c);if(_0x15d9b1[_0x228b01(0x458)])return{'clearDependencyTreeCache':Ls(_0x4f20e4['unitId'],_0x15d9b1),'forceCalculation':!0x0};let _0x364d3d=Object[_0x228b01(0x1e2)](this[_0x228b01(0x276)](_0x4f20e4[_0x228b01(0x278)],_0x4de89c))[_0x228b01(0x2a2)](([_0x11bd78,_0x217be9])=>Is({'unitId':_0x4f20e4[_0x228b01(0x278)],'tableId':_0x11bd78,'patches':_0x217be9}));return _0x364d3d[_0x228b01(0x458)]?{'dirtyRanges':_0x364d3d}:{};}[_0x354fcb(0x4cb)](_0x414915,_0xb891b9){const _0x3bac7d=_0x354fcb;let _0xc6471f=_0xb891b9[_0x3bac7d(0x397)](_0x471577=>_0x471577[_0x3bac7d(0x2d9)]!=='cell')[_0x3bac7d(0x2a2)](_0x245c38=>_0x245c38[_0x3bac7d(0x1c3)]?[_0x245c38[_0x3bac7d(0x1c3)]]:this[_0x3bac7d(0x3b1)](_0x414915));return Array['from'](new Set(_0xc6471f));}['_groupCellInvalidations'](_0xa0cff7,_0x429082){let _0x40ebad=new Set();return _0x429082['reduce']((_0x3f1384,_0x12ff2e)=>{const _0x7ccbba=_0x48d8;let _0x453554=this[_0x7ccbba(0x3bf)](_0xa0cff7,_0x12ff2e);if(!_0x453554)return _0x3f1384;let _0x3e8e59=_0x12ff2e[_0x7ccbba(0x1c3)]+':'+_0x453554[_0x7ccbba(0x21b)]+':'+_0x453554[_0x7ccbba(0x1ea)];return _0x40ebad[_0x7ccbba(0x23f)](_0x3e8e59)||(_0x40ebad['add'](_0x3e8e59),_0x3f1384[_0x12ff2e[_0x7ccbba(0x1c3)]]=_0x3f1384[_0x12ff2e[_0x7ccbba(0x1c3)]]??[],_0x3f1384[_0x12ff2e[_0x7ccbba(0x1c3)]]['push'](_0x453554)),_0x3f1384;},{});}[_0x354fcb(0x3bf)](_0x2ee441,_0x363579){const _0x278e64=_0x354fcb;if(_0x363579[_0x278e64(0x2d9)]!==_0x278e64(0x4eb))return null;if(_0x363579[_0x278e64(0x21b)]!=null&&_0x363579[_0x278e64(0x26e)]!=null)return{'row':_0x363579[_0x278e64(0x21b)],'col':_0x363579['column'],'value':null};if(!_0x363579['recordId']||!_0x363579[_0x278e64(0x46e)])return null;let _0x197cfb=this[_0x278e64(0x2b3)](_0x2ee441,_0x363579[_0x278e64(0x1c3)]);if(!_0x197cfb)return null;let _0x5a3419=_t(_0x197cfb,_0x363579[_0x278e64(0x4bb)],_0x363579['fieldId']);return _0x5a3419?{'row':_0x5a3419[_0x278e64(0x21b)],'col':_0x5a3419[_0x278e64(0x1ea)],'value':null}:null;}['_getAllTableIds'](_0xf8076e){const _0xa067df=_0x354fcb;let _0x238e4c=this[_0xa067df(0x432)]['getUnit'](_0xf8076e,_0x28d752[_0xa067df(0x201)]);return Object['values']((_0x238e4c==null?void 0x0:_0x238e4c[_0xa067df(0x1f9)]()[_0xa067df(0x2ba)])??{})['map'](_0x37c321=>_0x37c321['id']);}[_0x354fcb(0x376)](){const _0xeb6522=_0x354fcb;let _0x346086=this['_univerInstanceService'][_0xeb6522(0x3c4)](_0x28d752['UNIVER_BASE'])[_0xeb6522(0x29b)](_0x118c62=>Ls(_0x118c62[_0xeb6522(0x422)](),Object['keys'](_0x118c62[_0xeb6522(0x1f9)]()[_0xeb6522(0x2ba)])));return Object[_0xeb6522(0x2e7)]({},..._0x346086);}};Rs=X([Y(0x0,_0x35d62c),Y(0x1,_0x3414e2)],Rs);let zs=class extends _0x1589db{constructor(_0x475020,_0x548a70,_0x3b4271,_0x388d1a){const _0x93894e=_0x354fcb;super(),this[_0x93894e(0x2ee)]=_0x475020,this[_0x93894e(0x432)]=_0x548a70,this[_0x93894e(0x4ea)]=_0x3b4271,this[_0x93894e(0x36b)]=_0x388d1a,G(this,_0x93894e(0x297),new Xi()),G(this,'_registeredSuperTableNames',new Map()),G(this,'_scheduledSuperTableSyncs',new Set()),G(this,_0x93894e(0x20f),Promise[_0x93894e(0x2c1)]()),G(this,'_applyingFormulaResults',!0x1),this[_0x93894e(0x1bd)]();}[_0x354fcb(0x1bd)](){const _0x460ddf=_0x354fcb;this['_univerInstanceService'][_0x460ddf(0x3c4)](_0x28d752[_0x460ddf(0x201)])['forEach'](_0x11dd6b=>{const _0x17149=_0x460ddf;this[_0x17149(0x2f8)](_0x11dd6b);}),this[_0x460ddf(0x1b4)](this[_0x460ddf(0x432)][_0x460ddf(0x2ae)](_0x28d752[_0x460ddf(0x201)])[_0x460ddf(0x30f)](({unit:_0x4efc33})=>{this['_scheduleSuperTableSync'](_0x4efc33);})),this[_0x460ddf(0x1b4)](this[_0x460ddf(0x432)][_0x460ddf(0x275)](_0x28d752[_0x460ddf(0x201)])[_0x460ddf(0x30f)](_0x7c5dea=>{const _0xaf2307=_0x460ddf;this['_enqueueFormulaSync'](()=>this[_0xaf2307(0x496)](_0x7c5dea[_0xaf2307(0x422)]()));})),this['disposeWithMe'](this[_0x460ddf(0x2ee)][_0x460ddf(0x31d)](_0x2f683b=>this[_0x460ddf(0x208)](_0x2f683b)));}[_0x354fcb(0x208)](_0x2ec9e7){const _0x1a6ff1=_0x354fcb;if(_0x2ec9e7['id']===_0x2d710f['id']){Vs(_0x2ec9e7[_0x1a6ff1(0x211)])&&this[_0x1a6ff1(0x52e)](_0x2ec9e7['params']);return;}if(this[_0x1a6ff1(0x30c)]||_0x2ec9e7['id']!==Q['id'])return;let _0x39afaa=Bs(_0x2ec9e7[_0x1a6ff1(0x211)])?_0x2ec9e7[_0x1a6ff1(0x211)]:void 0x0,_0xc6c36b=_0x39afaa!=null&&_0x39afaa[_0x1a6ff1(0x278)]?[this[_0x1a6ff1(0x432)][_0x1a6ff1(0x2e5)](_0x39afaa[_0x1a6ff1(0x278)],_0x28d752[_0x1a6ff1(0x201)])]['filter'](_0x55af83=>!!_0x55af83):this['_univerInstanceService'][_0x1a6ff1(0x3c4)](_0x28d752[_0x1a6ff1(0x201)]),_0xcd7450=_0x39afaa==null?void 0x0:_0x39afaa['op'];_0xc6c36b[_0x1a6ff1(0x461)](_0x33212c=>{const _0x3f04db=_0x1a6ff1;let _0x2624d0=_0xcd7450?Fs(_0xcd7450):[];(!_0xcd7450||_0x2624d0[_0x3f04db(0x257)](_0x2e0535=>_0x2e0535[_0x3f04db(0x2d9)]!=='cell'))&&this[_0x3f04db(0x2f8)](_0x33212c);});}[_0x354fcb(0x2f8)](_0x376a20){const _0x297a0c=_0x354fcb;let _0x175df6=_0x376a20[_0x297a0c(0x422)]();this[_0x297a0c(0x361)][_0x297a0c(0x23f)](_0x175df6)||(this[_0x297a0c(0x361)]['add'](_0x175df6),this[_0x297a0c(0x294)](async()=>{const _0x989283=_0x297a0c;this[_0x989283(0x361)]['delete'](_0x175df6),await this[_0x989283(0x380)](_0x376a20);}));}async[_0x354fcb(0x380)](_0x156a8d){const _0x5c8ba7=_0x354fcb;let _0x5daf55=_0x156a8d[_0x5c8ba7(0x422)](),_0x412a3e=this['_formulaService'][_0x5c8ba7(0x515)](_0x156a8d[_0x5c8ba7(0x1f9)]()),_0x58059e=new Set(_0x412a3e[_0x5c8ba7(0x29b)](({tableName:_0x3a0876})=>_0x3a0876)),_0x583753=this[_0x5c8ba7(0x18f)]['get'](_0x5daf55)??new Set();for(let _0x5f0e25 of _0x583753)if(!_0x58059e['has'](_0x5f0e25)&&!await this[_0x5c8ba7(0x25a)](_0x5d6472['id'],{'unitId':_0x5daf55,'tableName':_0x5f0e25}))return;for(let {tableName:_0x2f9ebe,reference:_0x5aeb28}of _0x412a3e)if(!await this[_0x5c8ba7(0x25a)](_0x33aa29['id'],{'unitId':_0x5daf55,'tableName':_0x2f9ebe,'reference':_0x5aeb28}))return;this[_0x5c8ba7(0x18f)][_0x5c8ba7(0x1a1)](_0x5daf55,_0x58059e);}async[_0x354fcb(0x496)](_0xd52789){const _0x171084=_0x354fcb;let _0x4035e8=this['_registeredSuperTableNames'][_0x171084(0x4a8)](_0xd52789)??new Set();for(let _0x409325 of _0x4035e8)if(!await this[_0x171084(0x25a)](_0x5d6472['id'],{'unitId':_0xd52789,'tableName':_0x409325}))return;this[_0x171084(0x18f)][_0x171084(0x4f4)](_0xd52789);}async[_0x354fcb(0x25a)](_0x3b4e35,_0x3ffd53){const _0x37b5e6=_0x354fcb;return!this[_0x37b5e6(0x44d)]&&await this[_0x37b5e6(0x2ee)]['executeCommand'](_0x3b4e35,_0x3ffd53,{'onlyLocal':!0x0})&&!this[_0x37b5e6(0x44d)];}[_0x354fcb(0x294)](_0x16d159){const _0x18740e=_0x354fcb;this[_0x18740e(0x20f)]=this[_0x18740e(0x20f)][_0x18740e(0x3c5)](_0x16d159,_0x16d159)['catch'](()=>void 0x0);}[_0x354fcb(0x52e)](_0x392a2f){const _0x2f444d=_0x354fcb;let _0x4aca71=this[_0x2f444d(0x432)]['getAllUnitsForType'](_0x28d752[_0x2f444d(0x201)]);if(!_0x4aca71[_0x2f444d(0x257)](_0x3c6bbd=>{const _0x173863=_0x2f444d;var _0x151c59;return((_0x151c59=_0x392a2f[_0x173863(0x50f)])==null?void 0x0:_0x151c59[_0x3c6bbd['getUnitId']()])!=null;}))return;let _0x1bc20a=_0x4aca71[_0x2f444d(0x2a2)](_0x46a28f=>Zi(_0x46a28f[_0x2f444d(0x1f9)](),_0x392a2f));if(!_0x1bc20a[_0x2f444d(0x458)]){this[_0x2f444d(0x36b)]['markResultApplied'](_0x2001ae[_0x2f444d(0x507)],_0x392a2f);return;}let _0x26b845=new W(),_0x41204c=_0x1bc20a[_0x2f444d(0x2a2)](_0x539c22=>Is({'unitId':_0x539c22[_0x2f444d(0x278)],'tableId':_0x539c22['tableId'],'patches':_0x539c22[_0x2f444d(0x1bc)]}));this['_applyingFormulaResults']=!0x0,(async()=>{const _0x33bac1=_0x2f444d;for(let _0x201585 of _0x1bc20a){let _0x3fac29=this[_0x33bac1(0x432)][_0x33bac1(0x2e5)](_0x201585[_0x33bac1(0x278)],_0x28d752[_0x33bac1(0x201)]);_0x3fac29&&await this[_0x33bac1(0x2ee)][_0x33bac1(0x260)](Q['id'],{'unitId':_0x201585['unitId'],'op':_0x26b845[_0x33bac1(0x511)](_0x3fac29[_0x33bac1(0x1f9)](),_0x201585[_0x33bac1(0x1c3)],_0x201585['patches']),'trigger':_0x2d710f['id']},{'onlyLocal':!0x0});}await this['_commandService'][_0x33bac1(0x260)](_0x46501c['id'],{'dirtyRanges':_0x41204c},{'onlyLocal':!0x0});})()[_0x2f444d(0x233)](()=>{const _0x29ffdb=_0x2f444d;this[_0x29ffdb(0x30c)]=!0x1,this[_0x29ffdb(0x36b)]['markResultApplied'](_0x2001ae['BASE'],_0x392a2f);});}};zs=X([Y(0x0,_0x3ff846),Y(0x1,_0x3414e2),Y(0x2,_0x42d70a(_0x4f3c26)),Y(0x3,_0x42d70a(_0x1a1f33))],zs);function Bs(_0x3cfb51){const _0x151453=_0x354fcb;return typeof _0x3cfb51=='object'&&!!_0x3cfb51&&'unitId'in _0x3cfb51&&typeof _0x3cfb51[_0x151453(0x278)]==_0x151453(0x471)&&'op'in _0x3cfb51&&Array['isArray'](_0x3cfb51['op']);}function Vs(_0x143a5e){return typeof _0x143a5e=='object'&&!!_0x143a5e&&'unitData'in _0x143a5e&&'unitOtherData'in _0x143a5e;}const Hs=new Set([fo['id'],po['id'],Io['id']]);let Us=class extends _0x1589db{constructor(_0x367cee,_0x2268be,_0x4d44bd,_0x4c53fa){const _0x41e617=_0x354fcb;super(),this[_0x41e617(0x1b8)]=_0x367cee,this['_commandService']=_0x2268be,this[_0x41e617(0x487)]=_0x4d44bd,this[_0x41e617(0x2cf)]=_0x4c53fa,this[_0x41e617(0x2cf)][_0x41e617(0x3c4)](_0x28d752[_0x41e617(0x201)])[_0x41e617(0x461)](_0x55b19f=>this['_registerUnitPermissionPoints'](_0x55b19f[_0x41e617(0x422)]())),this[_0x41e617(0x1b4)](this[_0x41e617(0x2cf)][_0x41e617(0x2ae)](_0x28d752['UNIVER_BASE'])[_0x41e617(0x30f)](({unit:_0x49f520})=>this[_0x41e617(0x29c)](_0x49f520[_0x41e617(0x422)]()))),this[_0x41e617(0x1b4)](this['_commandService'][_0x41e617(0x1bf)]((_0x41a979,_0x4ed70b)=>this[_0x41e617(0x41a)](_0x41a979,_0x4ed70b))),this['disposeWithMe'](this['_instanceService'][_0x41e617(0x275)](_0x28d752[_0x41e617(0x201)])[_0x41e617(0x30f)](_0x604213=>{const _0x47a7ed=_0x41e617;this['_injector']['get'](_0x1e71b2)[_0x47a7ed(0x247)](_0x604213[_0x47a7ed(0x422)]()),Rr(this[_0x47a7ed(0x487)],_0x604213['getUnitId']());}));}[_0x354fcb(0x29c)](_0xec7c95){const _0x31d0db=_0x354fcb;Tr['forEach'](_0x437e93=>{const _0x2079e4=_0x48d8;let _0x17ff0f=Pr(_0xec7c95,_0xec7c95,_0x437e93);this[_0x2079e4(0x487)]['getPermissionPoint'](_0x17ff0f['id'])||this[_0x2079e4(0x487)][_0x2079e4(0x2da)](_0x17ff0f);}),this[_0x31d0db(0x1b8)][_0x31d0db(0x4a8)](_0x1e71b2)[_0x31d0db(0x3c9)]({'unitId':_0xec7c95,'objectId':_0xec7c95,'objectType':_0x56e21f['Base']});}[_0x354fcb(0x41a)](_0x85ca7f,_0x49929e){const _0x764ee=_0x354fcb;var _0x18b33a;if(_0x49929e!=null&&_0x49929e[_0x764ee(0x382)]||_0x49929e!=null&&_0x49929e[_0x764ee(0x38f)])return;let _0x2eeaa2=tc(_0x85ca7f['params'])?_0x85ca7f[_0x764ee(0x211)]:void 0x0;if(_0x49929e!=null&&_0x49929e['onlyLocal']&&_0x85ca7f['id']===_0x764ee(0x4d6)&&(_0x2eeaa2==null?void 0x0:_0x2eeaa2[_0x764ee(0x1ad)])===_0x2d710f['id'])return;let _0x51db7e=Gs(_0x85ca7f['id']),_0x196083=Ws(_0x2eeaa2==null?void 0x0:_0x2eeaa2[_0x764ee(0x278)],_0x49929e)??(_0x51db7e?(_0x18b33a=this[_0x764ee(0x2cf)]['getCurrentUnitOfType'](_0x28d752[_0x764ee(0x201)]))==null?void 0x0:_0x18b33a[_0x764ee(0x422)]():void 0x0);if(!_0x196083||this[_0x764ee(0x2cf)][_0x764ee(0x3ed)](_0x196083)!==_0x28d752[_0x764ee(0x201)])return;if(_0x51db7e){if(!Fr(this['_permissionService'],_0x196083,_0x196083,_0x51db7e))throw this[_0x764ee(0x1b8)][_0x764ee(0x4a8)](_0x359424)[_0x764ee(0x4e5)](_0x196083),new _0x1cfc9b(_0x764ee(0x34b)+_0x391870[_0x51db7e]+_0x764ee(0x477));return;}if(Hs['has'](_0x85ca7f['id'])||!_0x85ca7f['id'][_0x764ee(0x254)](_0x764ee(0x25f))&&!_0x85ca7f['id'][_0x764ee(0x254)](_0x764ee(0x2eb)))return;let _0x6170bf=this['_instanceService'][_0x764ee(0x2e5)](_0x196083,_0x28d752[_0x764ee(0x201)]),_0x1c4c06=_0x6170bf?Ks(_0x6170bf,_0x2eeaa2??{},_0x85ca7f['id']):[];if(!_0x6170bf||!zr(this[_0x764ee(0x487)],_0x196083,_0x1c4c06))throw this[_0x764ee(0x1b8)][_0x764ee(0x4a8)](_0x359424)[_0x764ee(0x4e5)](_0x196083,_0x1c4c06),new _0x1cfc9b(_0x764ee(0x47f));}};Us=X([Y(0x0,_0x42d70a(_0xcce289)),Y(0x1,_0x3ff846),Y(0x2,_0x211d15),Y(0x3,_0x3414e2)],Us);function Ws(_0x580038,_0x3db079){const _0x4b903a=_0x354fcb;return typeof _0x580038==_0x4b903a(0x471)?_0x580038:typeof(_0x3db079==null?void 0x0:_0x3db079[_0x4b903a(0x278)])==_0x4b903a(0x471)?_0x3db079[_0x4b903a(0x278)]:void 0x0;}function Gs(_0x33b991){const _0x9dea7=_0x354fcb;if(_0x33b991===_0x9dea7(0x4fd)||_0x33b991==='bases-exchange-client.operation.export-base-by-format')return _0x391870[_0x9dea7(0x479)];if(_0x33b991[_0x9dea7(0x254)](_0x9dea7(0x32a))||_0x33b991['startsWith'](_0x9dea7(0x3b9)))return _0x391870['Comment'];}function Ks(_0x46a752,_0x4bf579,_0x144478){const _0x1fcf06=_0x354fcb;if(_0x144478===_0x1fcf06(0x4d6)&&ec(_0x4bf579['op']))return qs(_0x46a752,_0x4bf579['op']);let _0x25492b=new Set(),_0x2d94cd=Zs(_0x4bf579,_0x1fcf06(0x513)),_0x556ea3=typeof _0x4bf579['tableId']==_0x1fcf06(0x471)?_0x4bf579['tableId']:_0x2d94cd[0x0];if(_0x2d94cd[_0x1fcf06(0x461)](_0x58a5f9=>_0x25492b[_0x1fcf06(0x35e)](K(_0x58a5f9))),!_0x556ea3)return[..._0x25492b];let _0x3e0171=_0x46a752[_0x1fcf06(0x1f9)]()[_0x1fcf06(0x2ba)][_0x556ea3],_0x3ffead=new Set(Zs(_0x4bf579,'field')),_0x1a738=new Set(Zs(_0x4bf579,_0x1fcf06(0x52b))),_0x2f9ea6=new Set(Zs(_0x4bf579,'view'));return Qs(_0x3e0171,_0x4bf579[_0x1fcf06(0x1bc)],_0x1a738,_0x3ffead),$s(_0x4bf579,_0x3ffead),_0x3ffead[_0x1fcf06(0x461)](_0x49c218=>_0x25492b[_0x1fcf06(0x35e)](q(_0x556ea3,_0x49c218))),_0x1a738['forEach'](_0x3fb910=>_0x25492b[_0x1fcf06(0x35e)](J(_0x556ea3,_0x3fb910))),_0x2f9ea6[_0x1fcf06(0x461)](_0x34a1be=>_0x25492b[_0x1fcf06(0x35e)](Mr(_0x556ea3,_0x34a1be))),[..._0x25492b];}function qs(_0xec282c,_0x51b500){const _0x18455b=_0x354fcb;let _0x559f26=_0xec282c[_0x18455b(0x1f9)](),_0x86ac0=new z()[_0x18455b(0x2b9)](_0x51b500),_0x4011a8=Js(_0x51b500),_0x5b9498=new Set();return _0x86ac0[_0x18455b(0x461)](_0x113afa=>{const _0x4c1738=_0x18455b;var _0x5c9b74,_0x2c7432;let {tableId:_0x335ab3}=_0x113afa;if(!_0x335ab3)return;_0x5b9498[_0x4c1738(0x35e)](K(_0x335ab3));let _0x31ae50=_0x559f26[_0x4c1738(0x2ba)][_0x335ab3],_0x4aba14=_0x113afa['recordId']??(_0x113afa[_0x4c1738(0x21b)]==null||_0x31ae50==null||(_0x5c9b74=_0x31ae50[_0x4c1738(0x474)])==null?void 0x0:_0x5c9b74[_0x113afa[_0x4c1738(0x21b)]]),_0x42d1f0=_0x113afa[_0x4c1738(0x46e)]??(_0x113afa['column']==null||_0x31ae50==null||(_0x2c7432=_0x31ae50[_0x4c1738(0x242)])==null?void 0x0:_0x2c7432[_0x113afa[_0x4c1738(0x26e)]]);_0x4aba14&&_0x5b9498[_0x4c1738(0x35e)](J(_0x335ab3,_0x4aba14)),_0x42d1f0&&_0x5b9498['add'](q(_0x335ab3,_0x42d1f0)),_0x113afa['viewId']&&_0x5b9498['add'](Mr(_0x335ab3,_0x113afa[_0x4c1738(0x366)])),(_0x113afa[_0x4c1738(0x2d9)]==='table'||_0x4011a8[_0x4c1738(0x23f)](_0x335ab3))&&_0x31ae50&&(Object[_0x4c1738(0x51b)](_0x31ae50[_0x4c1738(0x480)])['forEach'](_0x5b409e=>_0x5b9498[_0x4c1738(0x35e)](q(_0x335ab3,_0x5b409e))),Object['keys'](_0x31ae50['records'])[_0x4c1738(0x461)](_0x4ffe3b=>_0x5b9498[_0x4c1738(0x35e)](J(_0x335ab3,_0x4ffe3b))),Object[_0x4c1738(0x51b)](_0x31ae50[_0x4c1738(0x38b)])['forEach'](_0x2ec2c7=>_0x5b9498[_0x4c1738(0x35e)](Mr(_0x335ab3,_0x2ec2c7)))),_0x113afa[_0x4c1738(0x2d9)]===_0x4c1738(0x52b)&&_0x31ae50&&Object[_0x4c1738(0x51b)](_0x31ae50[_0x4c1738(0x480)])[_0x4c1738(0x461)](_0x4810ac=>_0x5b9498[_0x4c1738(0x35e)](q(_0x335ab3,_0x4810ac)));}),_0x86ac0[_0x18455b(0x458)]===0x0&&Xs(_0x51b500,_0x18455b(0x3e3))&&Object[_0x18455b(0x51b)](_0x559f26[_0x18455b(0x2ba)])[_0x18455b(0x461)](_0x2df321=>_0x5b9498[_0x18455b(0x35e)](K(_0x2df321))),[..._0x5b9498];}function Js(_0x1e85c9){let _0x418d0a=new Set(),_0x3a5a63=_0x4a314c=>{const _0x295cbc=_0x48d8;Array[_0x295cbc(0x354)](_0x4a314c)&&_0x4a314c[_0x295cbc(0x461)]((_0xa0adbd,_0x34bdd5)=>{const _0x3e5021=_0x295cbc;_0xa0adbd===_0x3e5021(0x2ba)&&typeof _0x4a314c[_0x34bdd5+0x1]==_0x3e5021(0x471)&&Ys(_0x4a314c[_0x34bdd5+0x2])&&_0x418d0a[_0x3e5021(0x35e)](_0x4a314c[_0x34bdd5+0x1]),_0x3a5a63(_0xa0adbd);});};return _0x3a5a63(_0x1e85c9),_0x418d0a;}function Ys(_0x4662a5){const _0x570e0f=_0x354fcb;return!!_0x4662a5&&typeof _0x4662a5==_0x570e0f(0x269)&&!Array['isArray'](_0x4662a5)&&('i'in _0x4662a5||'r'in _0x4662a5||'p'in _0x4662a5||'d'in _0x4662a5||'es'in _0x4662a5||_0x570e0f(0x2a9)in _0x4662a5||'et'in _0x4662a5);}function Xs(_0x293b76,_0x335128){const _0x2dfe44=_0x354fcb;return Array[_0x2dfe44(0x354)](_0x293b76)&&_0x293b76[_0x2dfe44(0x257)](_0x17587=>_0x17587===_0x335128||Xs(_0x17587,_0x335128));}function Zs(_0x5113b6,_0x15d260){const _0x15f647=_0x354fcb;let _0x92be61=new Set(),_0x2b1092=_0x15d260+'Id',_0x3c0b3e=_0x15d260+_0x15f647(0x50b),_0x43b28c=(_0x41269e,_0x2f144c='')=>{const _0x3bc08e=_0x15f647;typeof _0x41269e==_0x3bc08e(0x471)?_0x2f144c===_0x2b1092&&_0x92be61['add'](_0x41269e):Array[_0x3bc08e(0x354)](_0x41269e)?_0x2f144c===_0x3c0b3e?_0x41269e[_0x3bc08e(0x461)](_0x4508e8=>{typeof _0x4508e8=='string'&&_0x92be61['add'](_0x4508e8);}):_0x41269e[_0x3bc08e(0x461)](_0x53c905=>_0x43b28c(_0x53c905,_0x2f144c)):tc(_0x41269e)&&Object[_0x3bc08e(0x1e2)](_0x41269e)[_0x3bc08e(0x461)](([_0x109cda,_0x3d29b6])=>{const _0x224578=_0x3bc08e;_0x109cda==='id'&&_0x2f144c===_0x15d260&&typeof _0x3d29b6=='string'?_0x92be61[_0x224578(0x35e)](_0x3d29b6):_0x43b28c(_0x3d29b6,_0x109cda);});};return _0x43b28c(_0x5113b6),[..._0x92be61];}function Qs(_0x8eaf,_0xa278c0,_0x1ec0cc,_0x5b0c46){const _0x16c7c0=_0x354fcb;_0x8eaf&&Array[_0x16c7c0(0x354)](_0xa278c0)&&_0xa278c0[_0x16c7c0(0x461)](_0xeffd78=>{const _0x42b249=_0x16c7c0;if(!tc(_0xeffd78))return;let _0x5a07ec=_0xeffd78;if(typeof _0x5a07ec[_0x42b249(0x21b)]==_0x42b249(0x256)){var _0x30d4df;let _0x3efc48=(_0x30d4df=_0x8eaf['rowId'])==null?void 0x0:_0x30d4df[_0x5a07ec[_0x42b249(0x21b)]];_0x3efc48&&_0x1ec0cc[_0x42b249(0x35e)](_0x3efc48);}if(typeof _0x5a07ec[_0x42b249(0x1ea)]=='number'){var _0x487d3e;let _0x52a9dd=(_0x487d3e=_0x8eaf[_0x42b249(0x242)])==null?void 0x0:_0x487d3e[_0x5a07ec[_0x42b249(0x1ea)]];_0x52a9dd&&_0x5b0c46[_0x42b249(0x35e)](_0x52a9dd);}});}function $s(_0x3d9ad3,_0x2d16d0,_0x1b0bba=''){const _0x2a7dcf=_0x354fcb;_0x3d9ad3&&typeof _0x3d9ad3==_0x2a7dcf(0x269)&&(Array['isArray'](_0x3d9ad3)?_0x3d9ad3['forEach'](_0x5d253b=>$s(_0x5d253b,_0x2d16d0,_0x1b0bba)):tc(_0x3d9ad3)&&Object['entries'](_0x3d9ad3)['forEach'](([_0xc8a885,_0xe6d304])=>{const _0x47ce79=_0x2a7dcf;_0x1b0bba===_0x47ce79(0x1da)&&_0x2d16d0[_0x47ce79(0x35e)](_0xc8a885),$s(_0xe6d304,_0x2d16d0,_0xc8a885);}));}function ec(_0x52ac20){const _0x353187=_0x354fcb;return Array[_0x353187(0x354)](_0x52ac20);}function tc(_0x39ed4e){const _0x1217f1=_0x354fcb;return typeof _0x39ed4e==_0x1217f1(0x269)&&!!_0x39ed4e&&!Array[_0x1217f1(0x354)](_0x39ed4e);}const nc=_0x5d0ae0('base.resource.service');let rc=class{constructor(_0x2fd7b3){const _0x4bc7d7=_0x354fcb;this[_0x4bc7d7(0x432)]=_0x2fd7b3;}[_0x354fcb(0x239)](_0xb004f3){const _0x4494ff=_0x354fcb;return this['_univerInstanceService']['getUnit'](_0xb004f3,_0x28d752[_0x4494ff(0x201)])??null;}[_0x354fcb(0x4f0)](){const _0x16c655=_0x354fcb;return this[_0x16c655(0x432)][_0x16c655(0x3c4)](_0x28d752[_0x16c655(0x201)]);}[_0x354fcb(0x348)](_0x4c8ab4){const _0x2e5f5e=_0x354fcb;return this['_univerInstanceService'][_0x2e5f5e(0x314)](_0x28d752['UNIVER_BASE'],_0x4c8ab4);}};rc=X([Y(0x0,_0x3414e2)],rc);const ic=_0x5d0ae0(_0x354fcb(0x185));var ac=class extends _0x1589db{constructor(..._0x9c961c){const _0x26185b=_0x354fcb;super(..._0x9c961c),G(this,_0x26185b(0x252),new Map());}[_0x354fcb(0x2f4)](_0x354014){const _0xc4c19b=_0x354fcb;return this[_0xc4c19b(0x252)][_0xc4c19b(0x1a1)](_0x354014['type'],_0x354014),_0x5b4066(()=>this[_0xc4c19b(0x252)][_0xc4c19b(0x4f4)](_0x354014[_0xc4c19b(0x33a)]));}[_0x354fcb(0x4a8)](_0xde3bf9){const _0x43d385=_0x354fcb;let _0x8992f=this[_0x43d385(0x252)][_0x43d385(0x4a8)](_0xde3bf9);if(!_0x8992f)throw Error(_0x43d385(0x514)+_0xde3bf9+'\x22\x20is\x20not\x20registered.');return _0x8992f;}['getAll'](){const _0x51691f=_0x354fcb;return Array[_0x51691f(0x4dd)](this[_0x51691f(0x252)]['values']());}};const oc=[Q];let sc=class extends _0xf65dbf{constructor(_0x30151d=Ns,_0x53a119,_0x428ee7,_0x2ff248,_0x3d2e2e,_0x1699f0){const _0x1fcfbe=_0x354fcb;super(),this[_0x1fcfbe(0x4c3)]=_0x30151d,this[_0x1fcfbe(0x1b8)]=_0x53a119,this[_0x1fcfbe(0x2ee)]=_0x428ee7,this[_0x1fcfbe(0x432)]=_0x2ff248,this[_0x1fcfbe(0x47a)]=_0x3d2e2e,this[_0x1fcfbe(0x287)]=_0x1699f0,G(this,_0x1fcfbe(0x1ec),new Map());let {..._0x44cbcd}=_0x18cc98({},Ns,this['_config']);this[_0x1fcfbe(0x47a)]['setConfig']('bases.config',_0x44cbcd),this[_0x1fcfbe(0x432)]['registerCtorForType'](_0x28d752[_0x1fcfbe(0x201)],_0x2563fc),this['_initDependencies'](),this[_0x1fcfbe(0x2fc)](),this[_0x1fcfbe(0x35f)](),this[_0x1fcfbe(0x3a7)]();}[_0x354fcb(0x2d5)](){const _0x4ee581=_0x354fcb;this[_0x4ee581(0x1b8)][_0x4ee581(0x35e)]([Lo]),this['disposeWithMe'](this[_0x4ee581(0x1b8)][_0x4ee581(0x4a8)](_0x3ff846)[_0x4ee581(0x3d8)](Ro)),this[_0x4ee581(0x1b4)](this['_injector']['get'](_0x3ff846)[_0x4ee581(0x3d8)](zo)),this[_0x4ee581(0x1b4)](this['_injector']['get'](_0x1e71b2)[_0x4ee581(0x1aa)](_0x56e21f['Base'],this['_injector']['get'](Lo),Ro['id'],zo['id']));}['onReady'](){const _0x454062=_0x354fcb;_0x137ee0(this['_injector'],[[rc],[qr],[Rs]]),this[_0x454062(0x432)]['getAllUnitsForType'](_0x28d752['UNIVER_BASE'])['forEach'](_0xfae939=>this[_0x454062(0x384)](_0xfae939[_0x454062(0x422)]())),_0x137ee0(this['_injector'],[[zs],[Us]]);}[_0x354fcb(0x4b2)](){const _0x3bf3ce=_0x354fcb;[[mr,{'useClass':hr}],[ic,{'useClass':ac}],[ii,{'useClass':si}],[nc,{'useClass':rc}],[Br,{'useClass':Vr}],[Kr,{'useClass':qr}],[Rs],[zs],[Us]][_0x3bf3ce(0x461)](_0x2a4c71=>this[_0x3bf3ce(0x1b8)]['add'](_0x2a4c71));}[_0x354fcb(0x2fc)](){const _0x535040=_0x354fcb;[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]['forEach'](_0xe07c3a=>this['disposeWithMe'](this[_0x535040(0x2ee)][_0x535040(0x3d8)](_0xe07c3a))),oc[_0x535040(0x461)](_0x61b654=>{const _0x37a3e3=_0x535040;var _0x4f46e2;return(_0x4f46e2=this[_0x37a3e3(0x287)])==null?void 0x0:_0x4f46e2['registerSyncingMutations'](_0x61b654);});}[_0x354fcb(0x3a7)](){const _0x4780f4=_0x354fcb;this[_0x4780f4(0x287)]&&(this[_0x4780f4(0x1b4)](this[_0x4780f4(0x432)]['getTypeOfUnitAdded$'](_0x28d752[_0x4780f4(0x201)])['subscribe'](({unit:_0x1b2d05})=>{const _0x44d50f=_0x4780f4;this[_0x44d50f(0x384)](_0x1b2d05['getUnitId']());})),this['disposeWithMe'](this[_0x4780f4(0x432)][_0x4780f4(0x275)](_0x28d752['UNIVER_BASE'])['subscribe'](_0x5a7876=>{const _0x5139d0=_0x4780f4;var _0x2491f6;(_0x2491f6=this[_0x5139d0(0x1ec)][_0x5139d0(0x4a8)](_0x5a7876[_0x5139d0(0x422)]()))==null||_0x2491f6[_0x5139d0(0x3d6)](),this[_0x5139d0(0x1ec)][_0x5139d0(0x4f4)](_0x5a7876[_0x5139d0(0x422)]());})));}[_0x354fcb(0x384)](_0x53a127){const _0x213b82=_0x354fcb;this[_0x213b82(0x287)]&&!this['_baseSyncDisposables'][_0x213b82(0x23f)](_0x53a127)&&this[_0x213b82(0x1ec)][_0x213b82(0x1a1)](_0x53a127,this['_dataSyncPrimaryController'][_0x213b82(0x2b4)](_0x53a127));}[_0x354fcb(0x35f)](){const _0x37b5a1=_0x354fcb;let _0xf7a7ce=this[_0x37b5a1(0x1b8)][_0x37b5a1(0x4a8)](mr);zn()[_0x37b5a1(0x461)](_0x15020d=>_0xf7a7ce['register'](_0x15020d));let _0x3eb799=this[_0x37b5a1(0x1b8)]['get'](ic),_0x34181e=this[_0x37b5a1(0x1b8)][_0x37b5a1(0x4a8)](ii);$r()['forEach'](_0x11cfc4=>{const _0x3a0e79=_0x37b5a1;_0x3eb799[_0x3a0e79(0x2f4)](_0x11cfc4),_0x34181e[_0x3a0e79(0x37b)](_0x11cfc4);});}};G(sc,_0x354fcb(0x2c2),'BASES_PLUGIN'),G(sc,_0x354fcb(0x296),js),G(sc,_0x354fcb(0x367),Ms),G(sc,_0x354fcb(0x33a),_0x28d752['UNIVER_BASE']),sc=X([_0x1bcd22(_0x534d74,_0x36289a),Y(0x1,_0x42d70a(_0xcce289)),Y(0x2,_0x3ff846),Y(0x3,_0x3414e2),Y(0x4,_0x14686f),Y(0x5,_0x560f5b(_0x274988))],sc);let cc=class extends _0xf65dbf{constructor(_0x342f9b=Ps,_0x366f54,_0x40b9e7,_0x46eefb,_0x2c8419){const _0x5aed90=_0x354fcb;super(),this['_config']=_0x342f9b,this[_0x5aed90(0x1b8)]=_0x366f54,this[_0x5aed90(0x2ee)]=_0x40b9e7,this[_0x5aed90(0x47a)]=_0x46eefb,this[_0x5aed90(0x432)]=_0x2c8419;let {..._0x5817f9}=_0x18cc98({},Ps,this['_config']);this[_0x5aed90(0x47a)][_0x5aed90(0x1ff)](_0x5aed90(0x3b2),_0x5817f9),this['_univerInstanceService'][_0x5aed90(0x434)](_0x28d752[_0x5aed90(0x201)],_0x2563fc),[[mr,{'useClass':hr}],[ii,{'useClass':si}]][_0x5aed90(0x461)](_0x3d4f1b=>this[_0x5aed90(0x1b8)][_0x5aed90(0x35e)](_0x3d4f1b)),oc[_0x5aed90(0x461)](_0x74c51=>this[_0x5aed90(0x1b4)](this[_0x5aed90(0x2ee)]['registerCommand'](_0x74c51)));}};G(cc,_0x354fcb(0x2c2),_0x354fcb(0x292)),G(cc,_0x354fcb(0x296),js),G(cc,_0x354fcb(0x367),Ms),G(cc,_0x354fcb(0x33a),_0x28d752['UNIVER_BASE']),cc=X([_0x1bcd22(_0x534d74,_0x36289a),Y(0x1,_0x42d70a(_0xcce289)),Y(0x2,_0x3ff846),Y(0x3,_0x14686f),Y(0x4,_0x3414e2)],cc);function lc(_0x264770){const _0x1f22ef=_0x354fcb;let _0x2a2281=Cc(_0x264770['query']);if(!_0x2a2281)return{'query':'','total':0x0,'matches':[]};let _0x5a71e1=[],_0x5eaa92=[];for(let _0x513e01=0x0;_0x513e01<_0x264770[_0x1f22ef(0x227)][_0x1f22ef(0x458)];_0x513e01++){if(!(_0x513e01 in _0x264770[_0x1f22ef(0x227)]))continue;let _0x1aafe=_0x264770[_0x1f22ef(0x513)]['fields'][_0x264770[_0x1f22ef(0x227)][_0x513e01]];_0x1aafe&&_0x5eaa92[_0x1f22ef(0x1f3)]({'field':_0x1aafe,'fieldIndex':_0x513e01});}_0x264770['rows'][_0x1f22ef(0x461)]((_0x4d92b6,_0x1db4c8)=>{const _0x39264e=_0x1f22ef;_0x5eaa92[_0x39264e(0x461)](({field:_0x483b50,fieldIndex:_0x16a618})=>{const _0xad4f08=_0x39264e;let _0x34b712=uc(_0x4d92b6[_0xad4f08(0x1da)][_0x483b50['id']],_0x483b50);if(!_0x34b712)return;let _0x285015=Sc(_0x2a2281,_0x34b712['searchTexts']);_0x285015<=0x0||_0x5a71e1[_0xad4f08(0x1f3)]({'recordId':_0x4d92b6[_0xad4f08(0x4bb)],'fieldId':_0x483b50['id'],'fieldType':_0x483b50[_0xad4f08(0x33a)],'text':_0x34b712[_0xad4f08(0x369)],'score':_0x285015,'rowIndex':_0x1db4c8,'fieldIndex':_0x16a618});});}),_0x5a71e1[_0x1f22ef(0x3db)]((_0x333d15,_0x456a2d)=>_0x456a2d[_0x1f22ef(0x2d8)]-_0x333d15[_0x1f22ef(0x2d8)]||_0x333d15['rowIndex']-_0x456a2d[_0x1f22ef(0x290)]||_0x333d15[_0x1f22ef(0x4b4)]-_0x456a2d[_0x1f22ef(0x4b4)]);let _0x3b213e=_0x264770[_0x1f22ef(0x1e7)]==null?_0x5a71e1:_0x5a71e1['slice'](0x0,Math[_0x1f22ef(0x1b3)](0x0,_0x264770[_0x1f22ef(0x1e7)]));return{'query':_0x2a2281,'total':_0x5a71e1['length'],'matches':Tc(_0x3b213e)};}function uc(_0x57e20d,_0x211660){const _0x1d8644=_0x354fcb;let _0x10f9b9=[];for(let _0x2a7f96 of fc(_0x57e20d,_0x211660)){let _0x346552=Cc(_0x2a7f96);_0x346552&&_0x10f9b9[_0x1d8644(0x1f3)](_0x346552);}return _0x10f9b9[_0x1d8644(0x458)]?{'displayText':dc(_0x57e20d,_0x211660),'searchTexts':wc(_0x10f9b9)}:null;}function dc(_0x1496fa,_0x47c7fd){const _0x2aef53=_0x354fcb;switch(_0x47c7fd[_0x2aef53(0x33a)]){case _0x19bf94['SingleSelect']:case _0x19bf94[_0x2aef53(0x283)]:case _0x19bf94[_0x2aef53(0x223)]:return pc(_0x1496fa,_0x47c7fd)['join'](',\x20');case _0x19bf94['Link']:return gc(_0x1496fa);case _0x19bf94['Date']:case _0x19bf94[_0x2aef53(0x253)]:case _0x19bf94[_0x2aef53(0x347)]:return _c(_0x1496fa,_0x47c7fd);case _0x19bf94[_0x2aef53(0x271)]:case _0x19bf94[_0x2aef53(0x19c)]:return vc(_0x1496fa,_0x47c7fd);case _0x19bf94[_0x2aef53(0x1ba)]:return yc(_0x1496fa,_0x47c7fd);case _0x19bf94[_0x2aef53(0x19e)]:return _0x1496fa?_0x2aef53(0x1a9):_0x2aef53(0x530);case _0x19bf94[_0x2aef53(0x46f)]:return bc(_0x1496fa)[_0x2aef53(0x4b5)](',\x20');default:return xc(_0x1496fa);}}function fc(_0x4c437c,_0x57ba32){const _0x4d3a03=_0x354fcb;switch(_0x57ba32[_0x4d3a03(0x33a)]){case _0x19bf94['SingleSelect']:case _0x19bf94['MultiSelect']:case _0x19bf94[_0x4d3a03(0x223)]:{let _0x1d22a5=pc(_0x4c437c,_0x57ba32);if(Array['isArray'](_0x4c437c)){let _0x40e804=[..._0x1d22a5];for(let _0x2e7bf7=0x0;_0x2e7bf7<_0x4c437c[_0x4d3a03(0x458)];_0x2e7bf7++)_0x2e7bf7 in _0x4c437c&&_0x40e804['push'](String(_0x4c437c[_0x2e7bf7]));return _0x40e804;}return _0x4c437c==null?_0x1d22a5:[..._0x1d22a5,String(_0x4c437c)];}case _0x19bf94[_0x4d3a03(0x4db)]:{let _0x157eba=hc(_0x4c437c);return[_0x157eba[_0x4d3a03(0x4d2)],_0x157eba[_0x4d3a03(0x1c7)]];}case _0x19bf94['Date']:case _0x19bf94[_0x4d3a03(0x253)]:case _0x19bf94[_0x4d3a03(0x347)]:return[_c(_0x4c437c,_0x57ba32),xc(_0x4c437c)];case _0x19bf94[_0x4d3a03(0x271)]:case _0x19bf94[_0x4d3a03(0x19c)]:return[vc(_0x4c437c,_0x57ba32),xc(_0x4c437c)];case _0x19bf94[_0x4d3a03(0x1ba)]:return[yc(_0x4c437c,_0x57ba32),xc(_0x4c437c)];case _0x19bf94['Checkbox']:return _0x4c437c?[_0x4d3a03(0x1a9),'Yes',_0x4d3a03(0x533)]:[_0x4d3a03(0x530),'No',_0x4d3a03(0x4bd)];case _0x19bf94[_0x4d3a03(0x46f)]:return bc(_0x4c437c);default:return[xc(_0x4c437c)];}}function pc(_0x3190ba,_0x22a0fa){const _0x36ff6d=_0x354fcb;var _0x56f0ec;let _0x5e372a=Array[_0x36ff6d(0x354)]((_0x56f0ec=_0x22a0fa[_0x36ff6d(0x342)])==null?void 0x0:_0x56f0ec[_0x36ff6d(0x392)])?_0x22a0fa[_0x36ff6d(0x342)][_0x36ff6d(0x392)]:[],_0x4ad766=[];if(Array['isArray'](_0x3190ba)){for(let _0x31202f=0x0;_0x31202f<_0x3190ba[_0x36ff6d(0x458)];_0x31202f++){if(!(_0x31202f in _0x3190ba))continue;let _0x50c2b9=String(_0x3190ba[_0x31202f]);_0x50c2b9&&_0x4ad766[_0x36ff6d(0x1f3)](mc(_0x5e372a,_0x50c2b9));}return _0x4ad766;}if(_0x3190ba!=null){let _0x3f37b2=String(_0x3190ba);_0x3f37b2&&_0x4ad766['push'](mc(_0x5e372a,_0x3f37b2));}return _0x4ad766;}function mc(_0x22f599,_0x11729b){const _0x2b0609=_0x354fcb;for(let _0x26f74c of _0x22f599){if(typeof _0x26f74c==_0x2b0609(0x471)&&_0x26f74c===_0x11729b)return _0x26f74c;if(_0x26f74c&&typeof _0x26f74c==_0x2b0609(0x269)){let _0x534e75=_0x26f74c;if(String(_0x534e75['id']??_0x534e75[_0x2b0609(0x1e0)]??'')===_0x11729b||String(_0x534e75[_0x2b0609(0x1e0)]??'')===_0x11729b)return String(_0x534e75[_0x2b0609(0x1e0)]??_0x534e75['id']??_0x11729b);}}return _0x11729b;}function hc(_0x1dec6c){const _0xef2fee=_0x354fcb;if(_0x1dec6c&&typeof _0x1dec6c=='object'&&!Array[_0xef2fee(0x354)](_0x1dec6c)){let _0x1decc5=_0x1dec6c;return{'text':String(_0x1decc5['text']??_0x1decc5['url']??''),'url':String(_0x1decc5['url']??'')};}return{'text':xc(_0x1dec6c),'url':xc(_0x1dec6c)};}function gc(_0x1d57c1){let _0x432193=hc(_0x1d57c1);return _0x432193['text']||_0x432193['url'];}function _c(_0x30562c,_0x693337){const _0x47a581=_0x354fcb;return typeof _0x30562c!=_0x47a581(0x256)||!Number[_0x47a581(0x2c3)](_0x30562c)?'':mn(_0x30562c,_0x693337['config']);}function vc(_0x48a3b9,_0x1dde41){const _0x7520cf=_0x354fcb;let _0x457724=typeof _0x48a3b9=='number'?_0x48a3b9:Number(_0x48a3b9);return Number[_0x7520cf(0x2c3)](_0x457724)?qo(_0x457724,_0x1dde41[_0x7520cf(0x342)]):'';}function yc(_0x5f4759,_0x1c189f){const _0x5e275a=_0x354fcb;let _0x363dd6=typeof _0x5f4759==_0x5e275a(0x256)?_0x5f4759:Number(_0x5f4759);return Number[_0x5e275a(0x2c3)](_0x363dd6)?Qo(_0x363dd6,_0x1c189f[_0x5e275a(0x342)]):'';}function bc(_0x1b4004){const _0x20d9ce=_0x354fcb;return Array[_0x20d9ce(0x354)](_0x1b4004)?_0x1b4004[_0x20d9ce(0x2a2)](_0x3b2dec=>{const _0x512a43=_0x20d9ce;if(!_0x3b2dec||typeof _0x3b2dec!=_0x512a43(0x269))return[];let _0x5702a1=_0x3b2dec,_0x254b26=String(_0x5702a1[_0x512a43(0x1e0)]??_0x5702a1[_0x512a43(0x1c7)]??'')[_0x512a43(0x3bc)]();return _0x254b26?[_0x254b26]:[];}):[];}function xc(_0x89fff0){const _0x2afde5=_0x354fcb;if(_0x89fff0==null)return'';if(typeof _0x89fff0==_0x2afde5(0x364))return _0x89fff0?_0x2afde5(0x468):_0x2afde5(0x442);if(typeof _0x89fff0=='number')return String(_0x89fff0);if(Array[_0x2afde5(0x354)](_0x89fff0)){let _0x42eb9b=[];for(let _0x32c7c0=0x0;_0x32c7c0<_0x89fff0['length'];_0x32c7c0++){if(!(_0x32c7c0 in _0x89fff0))continue;let _0x1c9dcf=xc(_0x89fff0[_0x32c7c0]);_0x1c9dcf&&_0x42eb9b[_0x2afde5(0x1f3)](_0x1c9dcf);}return _0x42eb9b[_0x2afde5(0x4b5)](',\x20');}if(typeof _0x89fff0==_0x2afde5(0x269)){let _0x41c3c2=_0x89fff0;return String(_0x41c3c2['title']??_0x41c3c2[_0x2afde5(0x1e0)]??_0x41c3c2[_0x2afde5(0x4d2)]??_0x41c3c2[_0x2afde5(0x1c7)]??'')[_0x2afde5(0x3bc)]();}return String(_0x89fff0);}function Sc(_0x1b1109,_0x547bfc){const _0x4d3caa=_0x354fcb;let _0x79746d=0x0;for(let _0x1e573d of _0x547bfc)_0x1e573d&&(_0x1e573d===_0x1b1109?_0x79746d=Math[_0x4d3caa(0x1b3)](_0x79746d,0x12c):_0x1e573d['startsWith'](_0x1b1109)?_0x79746d=Math[_0x4d3caa(0x1b3)](_0x79746d,0xfa):_0x1e573d[_0x4d3caa(0x231)](_0x1b1109)&&(_0x79746d=Math['max'](_0x79746d,0xc8)));return _0x79746d;}function Cc(_0x55bba7){const _0x3d4409=_0x354fcb;return _0x55bba7[_0x3d4409(0x3bc)]()[_0x3d4409(0x2b1)](/\s+/g,'\x20')[_0x3d4409(0x4f1)]();}function wc(_0x4e5e06){return Array['from'](new Set(_0x4e5e06));}function Tc(_0x54cac1){const _0x425d2f=_0x354fcb;let _0x32dc42=[];for(let {rowIndex:_0x159881,fieldIndex:_0x5e81e0,..._0x473393}of _0x54cac1)_0x32dc42[_0x425d2f(0x1f3)](_0x473393);return _0x32dc42;}function Ec(_0xd634e7){const _0x15dc1b=_0x354fcb;return{'compress':!0x0,'kind':_0x15dc1b(0x1c0),'u':_0xd634e7[_0x15dc1b(0x278)],'t':_0xd634e7['tableId'],'p':_0xd634e7[_0x15dc1b(0x1bc)][_0x15dc1b(0x29b)](_0x1d34b7=>[_0x1d34b7['row'],_0x1d34b7[_0x15dc1b(0x1ea)],Ac(_0x1d34b7[_0x15dc1b(0x416)])]),..._0xd634e7[_0x15dc1b(0x1ad)]===void 0x0?{}:{'g':_0xd634e7['trigger']}};}function Dc(_0x1be645){const _0x1332aa=_0x354fcb;if(Lc(_0x1be645,_0x1332aa(0x1c0)),!Oc(_0x1be645)){if(!Ic(_0x1be645))throw Error(_0x1332aa(0x2bb));return _0x1be645;}return{'unitId':_0x1be645['u'],'tableId':_0x1be645['t'],'patches':_0x1be645['p'][_0x1332aa(0x29b)](([_0x4a3af1,_0x33f51a,_0x5d9c97])=>({'row':_0x4a3af1,'col':_0x33f51a,'value':jc(_0x5d9c97)})),..._0x1be645['g']===void 0x0?{}:{'trigger':_0x1be645['g']}};}function Oc(_0x2efd63){const _0x31d2dc=_0x354fcb;return!Rc(_0x2efd63)||_0x2efd63[_0x31d2dc(0x2ef)]!==!0x0||_0x2efd63[_0x31d2dc(0x1e8)]!==_0x31d2dc(0x1c0)?!0x1:typeof _0x2efd63['u']==_0x31d2dc(0x471)&&typeof _0x2efd63['t']==_0x31d2dc(0x471)&&(_0x2efd63['g']===void 0x0||typeof _0x2efd63['g']=='string')&&Array['isArray'](_0x2efd63['p'])&&_0x2efd63['p'][_0x31d2dc(0x1b6)](_0x3cee7e=>Array['isArray'](_0x3cee7e)&&_0x3cee7e[_0x31d2dc(0x458)]===0x3&&Number['isInteger'](_0x3cee7e[0x0])&&Number[_0x31d2dc(0x39d)](_0x3cee7e[0x1]));}function kc(_0x574e26){const _0x410786=_0x354fcb;return!Rc(_0x574e26)||_0x574e26[_0x410786(0x2ef)]!==!0x0||_0x574e26[_0x410786(0x1e8)]!==_0x410786(0x3a4)||!Rc(_0x574e26['tables'])?!0x1:Object[_0x410786(0x1da)](_0x574e26['tables'])['every'](_0x21dee3=>Rc(_0x21dee3)&&(_0x21dee3['cd']===void 0x0||Array['isArray'](_0x21dee3['cd'])&&_0x21dee3['cd']['every'](_0x50264d=>Array['isArray'](_0x50264d)&&_0x50264d['length']===0x3&&Number[_0x410786(0x39d)](_0x50264d[0x0])&&Number['isInteger'](_0x50264d[0x1])&&Fc(_0x50264d[0x2]))));}function Ac(_0x2cbb9e){return Pc(_0x2cbb9e)?Mc(_0x2cbb9e):_0x2cbb9e;}function jc(_0x1509b6){return Fc(_0x1509b6)?Nc(_0x1509b6):_0x1509b6;}function Mc(_0x15a704){return{'c':0x1,..._0x15a704['v']===void 0x0?{}:{'v':_0x15a704['v']},..._0x15a704['t']!==void 0x0&&_0x15a704['t']!==null?{'t':_0x15a704['t']}:_0x15a704['t']===null?{'t':null}:{},..._0x15a704['f']!==void 0x0&&_0x15a704['f']!==null?{'f':_0x15a704['f']}:_0x15a704['f']===null?{'f':null}:{},..._0x15a704['si']!==void 0x0&&_0x15a704['si']!==null?{'si':_0x15a704['si']}:_0x15a704['si']===null?{'si':null}:{},..._0x15a704['p']!==void 0x0&&_0x15a704['p']!==null?{'p':_0x15a704['p']}:_0x15a704['p']===null?{'p':null}:{}};}function Nc(_0x312dcb){return{..._0x312dcb['v']===void 0x0?{}:{'v':_0x312dcb['v']},..._0x312dcb['t']===void 0x0?{}:{'t':_0x312dcb['t']},..._0x312dcb['f']===void 0x0?{}:{'f':_0x312dcb['f']},..._0x312dcb['si']===void 0x0?{}:{'si':_0x312dcb['si']},..._0x312dcb['p']===void 0x0?{}:{'p':_0x312dcb['p']}};}function Pc(_0x5eec51){const _0x5105ce=_0x354fcb;return!!_0x5eec51&&typeof _0x5eec51==_0x5105ce(0x269)&&!Array['isArray'](_0x5eec51)&&(Object['prototype'][_0x5105ce(0x42f)][_0x5105ce(0x331)](_0x5eec51,'v')||Object[_0x5105ce(0x32b)][_0x5105ce(0x42f)][_0x5105ce(0x331)](_0x5eec51,'t')||Object[_0x5105ce(0x32b)][_0x5105ce(0x42f)][_0x5105ce(0x331)](_0x5eec51,'p')||Object[_0x5105ce(0x32b)][_0x5105ce(0x42f)][_0x5105ce(0x331)](_0x5eec51,'f')||Object['prototype'][_0x5105ce(0x42f)][_0x5105ce(0x331)](_0x5eec51,'si'));}function Fc(_0x27d90d){return Rc(_0x27d90d)&&_0x27d90d['c']===0x1;}function Ic(_0xc5d21d){const _0x135caf=_0x354fcb;return Rc(_0xc5d21d)&&typeof _0xc5d21d[_0x135caf(0x278)]==_0x135caf(0x471)&&typeof _0xc5d21d[_0x135caf(0x1c3)]==_0x135caf(0x471)&&(_0xc5d21d[_0x135caf(0x1ad)]===void 0x0||typeof _0xc5d21d['trigger']==_0x135caf(0x471))&&Array[_0x135caf(0x354)](_0xc5d21d[_0x135caf(0x1bc)])&&_0xc5d21d[_0x135caf(0x1bc)][_0x135caf(0x1b6)](_0x4e0db6=>Rc(_0x4e0db6)&&Number[_0x135caf(0x39d)](_0x4e0db6[_0x135caf(0x21b)])&&Number['isInteger'](_0x4e0db6[_0x135caf(0x1ea)])&&_0x135caf(0x416)in _0x4e0db6);}function Lc(_0x55dce9,_0x1b3ca9){const _0x223722=_0x354fcb;if(Rc(_0x55dce9)&&_0x55dce9['compress']===!0x0){if(_0x55dce9[_0x223722(0x1e8)]!==_0x1b3ca9)throw Error(_0x223722(0x195)+String(_0x55dce9['kind'])+'\x22.');if(!(_0x1b3ca9===_0x223722(0x1c0)?Oc(_0x55dce9):kc(_0x55dce9)))throw Error(_0x223722(0x418)+_0x1b3ca9+'\x22.');}}function _0x48d8(_0x2f0482,_0x9465a9){_0x2f0482=_0x2f0482-0x171;const _0x235733=_0x2357();let _0x48d80b=_0x235733[_0x2f0482];return _0x48d80b;}function Rc(_0x50ddb7){const _0x2cfe51=_0x354fcb;return!!_0x50ddb7&&typeof _0x50ddb7=='object'&&!Array[_0x2cfe51(0x354)](_0x50ddb7);}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,_0x5d9833 as getBaseFormulaTableName,et as getBaseHierarchyDeletePromotions,qe as getBaseHierarchyFieldId,Fr as getBasePermissionValue,J as getBaseRecordPermissionObjectId,K as getBaseTablePermissionObjectId,Mr as getBaseViewPermissionObjectId,N as getRecordLinkFieldConfig,ls as getSupportedBaseFieldStatTypes,rt as getVisibleBaseHierarchyRows,Zo as inferBaseSeparatorStyle,yn as isBaseConditionalColorDateField,ps as isBaseFieldStatEmptyValue,us as isBaseFieldStatSupported,ss as isBaseFieldStatType,F as isBaseHierarchyField,Oc as isCompressedBaseRangeValuesPayload,xn as matchesBaseCondition,pn as normalizeBaseDateFieldConfig,un as normalizeBaseDateSerial,cs as normalizeBaseFieldStatsConfig,Le as parseRecordLinkIds,nt as projectBaseHierarchy,fn as resolveBaseDateFieldConfig,Je as resolveBaseHierarchyFieldId,mo as resolveBaseRangeHierarchyPatches,lc as searchBaseTable,Re as serializeRecordLinkIds,Ir as setBasePermissionValue,I as traceBasePerformance,ja as uniqueFieldName,it as validateBaseHierarchyMove,Qe as validateBaseHierarchyRecordCreations,Ze as validateBaseHierarchyRecordPatches,Oa as validateBaseTableName,ze as validateCanonicalRecordLinkValue,Be as validateRecordLinkField,Ve as validateRecordLinkValue};
|
|
1
|
+
const _0x5daf81=_0x188f;(function(_0x412257,_0x1df069){const _0x9dd229=_0x188f,_0xf2998=_0x412257();while(!![]){try{const _0x270664=-parseInt(_0x9dd229(0x45a))/0x1*(-parseInt(_0x9dd229(0x426))/0x2)+parseInt(_0x9dd229(0x4e6))/0x3*(parseInt(_0x9dd229(0x519))/0x4)+-parseInt(_0x9dd229(0x227))/0x5+parseInt(_0x9dd229(0x3cf))/0x6*(parseInt(_0x9dd229(0x428))/0x7)+parseInt(_0x9dd229(0x402))/0x8+parseInt(_0x9dd229(0x3a0))/0x9+-parseInt(_0x9dd229(0x4f6))/0xa;if(_0x270664===_0x1df069)break;else _0xf2998['push'](_0xf2998['shift']());}catch(_0x36f165){_0xf2998['push'](_0xf2998['shift']());}}}(_0x38bd,0x8f6a3));import{BASE_RECORD_ID_FIELD_ID as _0x4a6fc3,BaseConditionalColorOperator as _0xb7a4f0,BaseConditionalColorTarget as _0x20be76,BaseConditionalDateMode as _0x1a2fb9,BaseDataModel as _0x3bc5ac,BaseFieldType as _0x618ba,BaseFilterConjunction as _0x4967ae,BaseHierarchyInvalidReason as _0x335882,BaseRecordLinkRole as _0x1d1c88,BaseSortDirection as _0x43615e,BaseViewType as _0x168289,CellValueType as _0x20fde0,ColorKit as _0x480202,CommandType as _0x3d059d,CustomCommandExecutionError as _0x55df23,DateSystem as _0x7c5fe2,DependentOn as _0x2061bd,Disposable as _0x183939,ErrorService as _0x1bc7ec,ICommandService as _0x2ca718,IConfigService as _0x14abe6,IPermissionService as _0x2f962f,IResourceManagerService as _0x3e7637,IUndoRedoService as _0x51376c,IUniverInstanceService as _0x364596,Inject as _0x477fb0,Injector as _0x46096e,JSON1 as _0x1605a0,JSONX as _0x43324a,ObjectMatrix as _0x22a4fc,ObjectPermissionRuleModel as _0x3436af,ObjectPermissionService as _0x2cff1c,Optional as _0x1c6aef,PermissionStatus as _0x2150fa,Plugin as _0x29b1cf,Tools as _0x9abbbc,UniverInstanceType as _0x2ddca0,allocateBaseFormulaTableName as _0x7582ef,assertBaseTableRecordIdentity as _0x3db867,createBaseFormulaTableNameMap as _0x4b2d20,createBaseRecordIdField as _0x44aad8,createIdentifier as _0x3262c5,dateKit as _0x35a742,excelDateTimeSerial as _0x3f8456,excelSerialToDateTime as _0x4cb662,generateRandomId as _0x1d3e80,getBaseFormulaTableName as _0x36105f,isBaseRecordIdFieldName as _0x4dba8d,isValidBaseRecordId as _0x3c7887,merge as _0x5a5f56,nameCharacterCheck as _0x89c043,numfmt as _0x51878f,regexp as _0x5ac771,sequenceExecute as _0x557e96,toDisposable as _0x1a388a,touchDependencies as _0x32cf62}from'@univerjs/core';import{FormulaCalculationTriggerService as _0x319ec4,IActiveDirtyManagerService as _0x2d4d6c,RemoveSuperTableMutation as _0x5c6c2d,SetFormulaCalculationResultMutation as _0x245562,SetSuperTableMutation as _0x2c56be,SetTriggerFormulaCalculationStartMutation as _0x5cddaf,UniverProFormulaEnginePlugin as _0x446c43,refactorFormulaUnitQualifier as _0x58f593}from'@univerjs-pro/engine-formula';import{UnitAction as _0x44dc45,UnitObject as _0x2ea692}from'@univerjs/protocol';import{UniverLicensePlugin as _0x4380c0}from'@univerjs-pro/license';import{DataSyncPrimaryController as _0x51b863}from'@univerjs/rpc';import{FormulaCalculationSessionService as _0x34ef91,FormulaResultApplicationType as _0x310a16}from'@univerjs/engine-formula';function N(_0x238173){const _0x1ba318=_0x188f;let _0x2abdb2=_0x238173[_0x1ba318(0x396)]['targetTableId'],_0x42afd4=_0x238173[_0x1ba318(0x396)][_0x1ba318(0x3bd)],_0x475b02=_0x238173[_0x1ba318(0x396)][_0x1ba318(0x36e)],_0x2ab739=_0x238173['config'][_0x1ba318(0x54c)],_0x82b4dd=_0x238173[_0x1ba318(0x396)][_0x1ba318(0x33e)];return typeof _0x2abdb2!=_0x1ba318(0x2ed)||!_0x2abdb2||typeof _0x42afd4!=_0x1ba318(0x26c)||_0x475b02!==void 0x0&&(typeof _0x475b02!=_0x1ba318(0x2ed)||!_0x475b02)||_0x82b4dd!==void 0x0&&_0x82b4dd!==_0x1d1c88['Parent']||_0x2ab739!==void 0x0&&(!Array[_0x1ba318(0x31e)](_0x2ab739)||_0x2ab739[_0x1ba318(0x387)](_0x5940ad=>typeof _0x5940ad!=_0x1ba318(0x2ed)||!_0x5940ad)||new Set(_0x2ab739)[_0x1ba318(0x323)]!==_0x2ab739['length'])?null:{'targetTableId':_0x2abdb2,'multiple':_0x42afd4,..._0x475b02?{'displayFieldId':_0x475b02}:{},..._0x2ab739?{'pickerFieldIds':[..._0x2ab739]}:{},..._0x82b4dd?{'relationRole':_0x82b4dd}:{}};}function Le(_0x3b346d){const _0x2c2668=_0x188f;return typeof _0x3b346d!=_0x2c2668(0x2ed)||_0x3b346d===''?[]:_0x3b346d[_0x2c2668(0x4d9)](',');}function Re(_0x5d2c51){const _0x5b6e0c=_0x188f;return Array[_0x5b6e0c(0x404)](new Set(_0x5d2c51))[_0x5b6e0c(0x30a)](',');}function ze(_0x26e3db,_0x2d3744){const _0x5e4e27=_0x188f;if(typeof _0x26e3db!=_0x5e4e27(0x2ed))return{'valid':!0x1,'reason':'[RecordLink]:\x20value\x20must\x20be\x20a\x20canonical\x20string.'};if(_0x26e3db==='')return{'valid':!0x0};let _0x51a9d7=_0x26e3db[_0x5e4e27(0x4d9)](',');return!_0x2d3744&&_0x51a9d7[_0x5e4e27(0x21d)]>0x1?{'valid':!0x1,'reason':_0x5e4e27(0x291)}:_0x51a9d7[_0x5e4e27(0x387)](_0x33182e=>!_0x3c7887(_0x33182e))||new Set(_0x51a9d7)[_0x5e4e27(0x323)]!==_0x51a9d7[_0x5e4e27(0x21d)]||Re(_0x51a9d7)!==_0x26e3db?{'valid':!0x1,'reason':_0x5e4e27(0x4ca)}:{'valid':!0x0};}function Be(_0xf93c10,_0x44e5f4){const _0x36412f=_0x188f;if(_0x44e5f4[_0x36412f(0x305)]!==_0x618ba[_0x36412f(0x2e6)])return{'valid':!0x0};let _0x49baa0=N(_0x44e5f4),_0x1652bc=_0x49baa0?_0xf93c10[_0x36412f(0x2f7)][_0x49baa0[_0x36412f(0x337)]]:void 0x0;if(!_0x49baa0||!_0x1652bc)return{'valid':!0x1,'reason':'[RecordLink]:\x20target\x20table\x20does\x20not\x20exist\x20in\x20this\x20Base.'};let _0x4a97ac=[..._0x49baa0[_0x36412f(0x36e)]?[_0x49baa0['displayFieldId']]:[],..._0x49baa0['pickerFieldIds']??[]]['find'](_0x489ede=>{const _0x58803d=_0x36412f;let _0x119aad=_0x1652bc[_0x58803d(0x503)][_0x489ede];return!_0x119aad||_0x119aad[_0x58803d(0x3db)]===!0x0||_0x119aad[_0x58803d(0x305)]===_0x618ba['RecordId'];});return _0x4a97ac?{'valid':!0x1,'reason':'[RecordLink]:\x20display\x20field\x20\x22'+_0x4a97ac+_0x36412f(0x3aa)}:{'valid':!0x0};}function Ve(_0x470ee9,_0x5e9c84,_0x56f72d,_0x5b779d={}){const _0x34c849=_0x188f;let _0x3b5a5a=N(_0x5e9c84);if(_0x5e9c84[_0x34c849(0x305)]!==_0x618ba[_0x34c849(0x2e6)]||!_0x3b5a5a)return{'valid':!0x1,'reason':_0x34c849(0x200)};let _0x956c7d=ze(_0x56f72d,_0x3b5a5a[_0x34c849(0x3bd)]);if(!_0x956c7d['valid']||_0x5b779d['allowDangling'])return _0x956c7d;let _0x11dfed=_0x470ee9[_0x34c849(0x2f7)][_0x3b5a5a[_0x34c849(0x337)]];if(!_0x11dfed)return{'valid':!0x1,'reason':'[RecordLink]:\x20target\x20table\x20does\x20not\x20exist\x20in\x20this\x20Base.'};let _0x25697e=Le(_0x56f72d)[_0x34c849(0x2d8)](_0x5f1ed2=>!_0x11dfed[_0x34c849(0x43a)][_0x5f1ed2]);return _0x25697e?{'valid':!0x1,'reason':_0x34c849(0x3fe)+_0x25697e+_0x34c849(0x362)}:{'valid':!0x0};}function He(_0x3e5462,_0x1ffd62){const _0x4ef235=_0x188f;return Object['values'](_0x3e5462[_0x4ef235(0x2f7)])[_0x4ef235(0x36c)](_0x8f94a3=>Object[_0x4ef235(0x45b)](_0x8f94a3['fields'])[_0x4ef235(0x36c)](_0x443877=>{const _0x47d01d=_0x4ef235;let _0x5a1089=_0x443877[_0x47d01d(0x305)]===_0x618ba[_0x47d01d(0x2e6)]?N(_0x443877):null;return(_0x5a1089==null?void 0x0:_0x5a1089[_0x47d01d(0x337)])===_0x1ffd62?[{'tableId':_0x8f94a3['id'],'fieldId':_0x443877['id']}]:[];}));}const Ue=0x5,We=_0x5daf81(0x304);let Ge=function(_0x5ebbb3){const _0xda282f=_0x5daf81;return _0x5ebbb3[_0xda282f(0x4e1)]=_0xda282f(0x48a),_0x5ebbb3['MissingRecord']='missingRecord',_0x5ebbb3['SelfParent']=_0xda282f(0x343),_0x5ebbb3[_0xda282f(0x39e)]=_0xda282f(0x2a5),_0x5ebbb3[_0xda282f(0x37e)]=_0xda282f(0x25b),_0x5ebbb3['SortedView']=_0xda282f(0x3e5),_0x5ebbb3;}({});var P=class extends Error{constructor(_0x2a017b,_0x47caf3=_0x5daf81(0x460)+_0x2a017b){const _0x1e0b66=_0x5daf81;super(_0x47caf3),this[_0x1e0b66(0x340)]=_0x2a017b,this[_0x1e0b66(0x322)]=_0x1e0b66(0x214);}};let Ke=function(_0x49f493){const _0x5a45f0=_0x5daf81;return _0x49f493['UI']='ui',_0x49f493['Facade']=_0x5a45f0(0x328),_0x49f493[_0x5a45f0(0x285)]=_0x5a45f0(0x329),_0x49f493['Undo']=_0x5a45f0(0x3a8),_0x49f493[_0x5a45f0(0x50d)]=_0x5a45f0(0x424),_0x49f493[_0x5a45f0(0x3b4)]='import',_0x49f493;}({});function F(_0x5a5672,_0x2160cc){const _0x1eb0cd=_0x5daf81;if(!_0x2160cc)return!0x1;let _0x5d1336=_0x5a5672[_0x1eb0cd(0x503)][_0x2160cc];if(!_0x5d1336||_0x5d1336['type']!==_0x618ba[_0x1eb0cd(0x2e6)])return!0x1;let _0x4c2255=N(_0x5d1336);return _0x4c2255?_0x4c2255[_0x1eb0cd(0x337)]===_0x5a5672['id']&&_0x4c2255[_0x1eb0cd(0x3bd)]===!0x1:!0x1;}function qe(_0x61eb58){const _0x534b09=_0x5daf81;return[..._0x61eb58['fieldOrder'],...Object[_0x534b09(0x46f)](_0x61eb58['fields'])[_0x534b09(0x32f)](_0x1bf840=>!_0x61eb58[_0x534b09(0x1d6)][_0x534b09(0x4f9)](_0x1bf840))[_0x534b09(0x3c5)]()][_0x534b09(0x2d8)](_0x10b362=>{const _0x456e4d=_0x534b09;var _0xf01e6d;return F(_0x61eb58,_0x10b362)?((_0xf01e6d=N(_0x61eb58[_0x456e4d(0x503)][_0x10b362]))==null?void 0x0:_0xf01e6d[_0x456e4d(0x33e)])===_0x1d1c88[_0x456e4d(0x3fa)]:!0x1;})??null;}function Je(_0x5d5725){const _0x2efdfb=_0x5daf81;let _0x2244dd=qe(_0x5d5725);if(_0x2244dd)return _0x2244dd;let _0x1cf43d=We,_0x3a29e0=0x2;for(;_0x5d5725[_0x2efdfb(0x503)][_0x1cf43d];)_0x1cf43d=We+'_'+_0x3a29e0++;return _0x1cf43d;}function Ye(_0x1460fb,_0x53eff9=Je(_0x1460fb),_0x3c346f='Parent\x20Items'){const _0x3c33bb=_0x5daf81;return{'id':_0x53eff9,'name':_0x3c346f,'type':_0x618ba[_0x3c33bb(0x2e6)],'config':{'targetTableId':_0x1460fb['id'],'multiple':!0x1,'displayFieldId':_0x1460fb[_0x3c33bb(0x51f)],'pickerFieldIds':[_0x1460fb['primaryFieldId']],'relationRole':_0x1d1c88[_0x3c33bb(0x3fa)]}};}function Xe(_0x2b8d5){let _0x1b9e0a=qe(_0x2b8d5);return _0x1b9e0a?[_0x1b9e0a]:[];}function Ze(_0x10ac77,_0x1a0ace){const _0x53b75d=_0x5daf81;let _0x508d15=[...Xe(_0x10ac77)][_0x53b75d(0x32f)](_0x3080ce=>_0x1a0ace[_0x53b75d(0x387)](_0x2b5106=>Object[_0x53b75d(0x4e2)][_0x53b75d(0x4d7)]['call'](_0x2b5106[_0x53b75d(0x45b)],_0x3080ce)));if(!_0x508d15['length'])return[];let _0x1445fc={..._0x10ac77[_0x53b75d(0x43a)]};_0x1a0ace[_0x53b75d(0x429)](_0x128206=>{const _0x1b826f=_0x53b75d;let _0x1aadad=_0x1445fc[_0x128206[_0x1b826f(0x1c6)]];_0x1aadad&&(_0x1445fc[_0x128206[_0x1b826f(0x1c6)]]={..._0x1aadad,'values':{..._0x1aadad['values'],..._0x128206[_0x1b826f(0x45b)]}});});let _0x2756e9={..._0x10ac77,'records':_0x1445fc},_0x365422=[];return _0x508d15['forEach'](_0x21af0f=>{const _0x14b3d8=_0x53b75d;let _0x44b8cc=tt(_0x10ac77,_0x21af0f),_0x228cdd=tt(_0x2756e9,_0x21af0f);for(let [_0x2a5d28,_0x56307b]of _0x228cdd['invalidReasonByRecordId']){let _0x4f361b=_0x1a0ace[_0x14b3d8(0x387)](_0x31d144=>_0x31d144[_0x14b3d8(0x1c6)]===_0x2a5d28&&Object[_0x14b3d8(0x4e2)][_0x14b3d8(0x4d7)][_0x14b3d8(0x35d)](_0x31d144[_0x14b3d8(0x45b)],_0x21af0f));if(_0x44b8cc['invalidReasonByRecordId']['get'](_0x2a5d28)!==_0x56307b||_0x4f361b)throw new P($e(_0x56307b));}_0x1a0ace['forEach'](_0x494eda=>{const _0x421ac4=_0x14b3d8;if(!Object['prototype'][_0x421ac4(0x4d7)]['call'](_0x494eda['values'],_0x21af0f))return;let _0xe068f6=_0x44b8cc[_0x421ac4(0x4f3)][_0x421ac4(0x315)](_0x494eda[_0x421ac4(0x1c6)])??null,_0x189ae3=_0x228cdd[_0x421ac4(0x4f3)][_0x421ac4(0x315)](_0x494eda[_0x421ac4(0x1c6)])??null;_0xe068f6!==_0x189ae3&&_0x365422[_0x421ac4(0x482)]({'tableId':_0x10ac77['id'],'fieldId':_0x21af0f,'recordId':_0x494eda[_0x421ac4(0x1c6)],'oldParentRecordId':_0xe068f6,'parentRecordId':_0x189ae3});});}),_0x365422;}function Qe(_0x5be83f,_0x480734){const _0x3354c4=_0x5daf81;let _0x1822da=_0x480734[_0x3354c4(0x2b0)](_0x4f2549=>_0x4f2549['id']);if(new Set(_0x1822da)[_0x3354c4(0x323)]!==_0x1822da[_0x3354c4(0x21d)]||_0x1822da['some'](_0x3c0456=>_0x5be83f[_0x3354c4(0x43a)][_0x3c0456]))return[];let _0x44904c=Xe(_0x5be83f),_0x5bed29=_0x44904c['length']?null:Je(_0x5be83f),_0x70a02f=[..._0x44904c,..._0x5bed29&&_0x480734[_0x3354c4(0x387)](_0xfda14c=>Object[_0x3354c4(0x4e2)][_0x3354c4(0x4d7)][_0x3354c4(0x35d)](_0xfda14c[_0x3354c4(0x45b)],_0x5bed29))?[_0x5bed29]:[]]['filter'](_0x2c8e03=>_0x480734['some'](_0x23dab2=>Object[_0x3354c4(0x4e2)][_0x3354c4(0x4d7)][_0x3354c4(0x35d)](_0x23dab2[_0x3354c4(0x45b)],_0x2c8e03)));if(!_0x70a02f[_0x3354c4(0x21d)])return[];let _0x507a19={..._0x5be83f,'records':{..._0x5be83f[_0x3354c4(0x43a)],...Object['fromEntries'](_0x480734[_0x3354c4(0x2b0)](_0x47265f=>[_0x47265f['id'],_0x47265f]))},'recordOrder':[..._0x5be83f[_0x3354c4(0x3da)]??[],..._0x480734[_0x3354c4(0x2b0)](_0x5c5249=>_0x5c5249['id'])]},_0x58b673=[];return _0x70a02f['forEach'](_0x1edb98=>{let _0x1b158f=tt(_0x507a19,_0x1edb98);_0x480734['forEach'](_0xb1ca91=>{const _0x12feb4=_0x188f;let _0x222799=_0x1b158f['invalidReasonByRecordId']['get'](_0xb1ca91['id']);if(_0x222799)throw new P($e(_0x222799));let _0x99c655=_0x1b158f[_0x12feb4(0x4f3)][_0x12feb4(0x315)](_0xb1ca91['id'])??null;_0x99c655&&_0x58b673[_0x12feb4(0x482)]({'tableId':_0x5be83f['id'],'fieldId':_0x1edb98,'recordId':_0xb1ca91['id'],'oldParentRecordId':null,'parentRecordId':_0x99c655});});}),_0x58b673;}function $e(_0x1a3fa9){const _0x244163=_0x5daf81;switch(_0x1a3fa9){case _0x335882[_0x244163(0x515)]:return'missingRecord';case _0x335882[_0x244163(0x1fe)]:return _0x244163(0x343);case _0x335882['Cycle']:return'cycle';case _0x335882[_0x244163(0x37e)]:return _0x244163(0x25b);}}function et(_0x35a09,_0x592b9b){const _0x16cd44=_0x5daf81;let _0x209d6e=new Set(_0x592b9b),_0x5f2919=Xe(_0x35a09);return Object[_0x16cd44(0x45b)](_0x35a09[_0x16cd44(0x43a)])[_0x16cd44(0x36c)](_0x5f8e05=>_0x209d6e['has'](_0x5f8e05['id'])?[]:Array[_0x16cd44(0x404)](_0x5f2919)['flatMap'](_0x494dfb=>{const _0x954ad2=_0x16cd44;let _0x3018d8=Le(_0x5f8e05[_0x954ad2(0x45b)][_0x494dfb])[0x0]??null;return _0x3018d8&&_0x209d6e[_0x954ad2(0x253)](_0x3018d8)?[{'tableId':_0x35a09['id'],'fieldId':_0x494dfb,'recordId':_0x5f8e05['id'],'oldParentRecordId':_0x3018d8,'parentRecordId':null}]:[];}));}function tt(_0x394144,_0x5b1971,_0x1b88f8=_0x394144[_0x5daf81(0x3da)]??Object[_0x5daf81(0x46f)](_0x394144['records'])){const _0x4d308e=_0x5daf81;if((_0x394144[_0x4d308e(0x503)][_0x5b1971]||_0x5b1971!==Je(_0x394144))&&!F(_0x394144,_0x5b1971))throw Error(_0x4d308e(0x2e2)+_0x5b1971+_0x4d308e(0x1ca));let _0x2291c7=at(_0x394144,_0x1b88f8),_0x12e8fd=new Map(),_0x3ce67a=new Map();for(let _0x2a4256 of _0x2291c7){var _0x131851;let _0x536b4e=Le((_0x131851=_0x394144[_0x4d308e(0x43a)][_0x2a4256])==null?void 0x0:_0x131851[_0x4d308e(0x45b)][_0x5b1971])[0x0]??null;_0x536b4e?_0x536b4e===_0x2a4256?(_0x12e8fd['set'](_0x2a4256,null),_0x3ce67a[_0x4d308e(0x1ba)](_0x2a4256,_0x335882[_0x4d308e(0x1fe)])):_0x394144[_0x4d308e(0x43a)][_0x536b4e]?_0x12e8fd[_0x4d308e(0x1ba)](_0x2a4256,_0x536b4e):(_0x12e8fd[_0x4d308e(0x1ba)](_0x2a4256,null),_0x3ce67a[_0x4d308e(0x1ba)](_0x2a4256,_0x335882[_0x4d308e(0x515)])):_0x12e8fd['set'](_0x2a4256,null);}ot(_0x12e8fd,_0x3ce67a,_0x2291c7),st(_0x12e8fd,_0x3ce67a,_0x2291c7);let _0x55673c=new Map(_0x2291c7[_0x4d308e(0x2b0)]((_0x4f3e1c,_0x4171a3)=>[_0x4f3e1c,_0x4171a3])),_0x340088=new Map();for(let _0x564e13 of _0x2291c7){let _0x45a67b=_0x12e8fd['get'](_0x564e13)??null,_0x46921c=_0x340088['get'](_0x45a67b)??[];_0x46921c[_0x4d308e(0x482)](_0x564e13),_0x340088[_0x4d308e(0x1ba)](_0x45a67b,_0x46921c);}_0x340088['forEach'](_0x10575c=>_0x10575c[_0x4d308e(0x3c5)]((_0x26709f,_0x5a10e5)=>(_0x55673c[_0x4d308e(0x315)](_0x26709f)??0x0)-(_0x55673c[_0x4d308e(0x315)](_0x5a10e5)??0x0)));let _0x15d868=_0x340088['get'](null)??[],_0x3b02df=new Map(),_0xb83e4e=new Map(),_0x2ed102=[],_0x5a0452=(_0x2fa72b,_0x27e81f)=>{const _0x5ae5bb=_0x4d308e;_0x3b02df[_0x5ae5bb(0x1ba)](_0x2fa72b,_0x27e81f),_0x2ed102[_0x5ae5bb(0x482)](_0x2fa72b);let _0x2b0248=0x0;for(let _0x1826d8 of _0x340088[_0x5ae5bb(0x315)](_0x2fa72b)??[])_0x2b0248=Math[_0x5ae5bb(0x29c)](_0x2b0248,0x1+_0x5a0452(_0x1826d8,_0x27e81f+0x1));return _0xb83e4e[_0x5ae5bb(0x1ba)](_0x2fa72b,_0x2b0248),_0x2b0248;};return _0x15d868['forEach'](_0x523135=>_0x5a0452(_0x523135,0x0)),{'fieldId':_0x5b1971,'parentByRecordId':_0x12e8fd,'childrenByParentId':_0x340088,'depthByRecordId':_0x3b02df,'subtreeHeightByRecordId':_0xb83e4e,'invalidReasonByRecordId':_0x3ce67a,'rootRecordIds':_0x15d868,'orderedRecordIds':_0x2ed102};}function nt(_0xa7020e,_0x531883,_0x50b4e6=new Set(_0x531883[_0x5daf81(0x2b0)](_0x10e867=>_0x10e867['recordId']))){const _0xa22cdb=_0x5daf81;let _0x3bd46f=new Set(_0x50b4e6);for(let _0x4c6b4c of _0x50b4e6){let _0x3f5609=_0xa7020e[_0xa22cdb(0x4f3)]['get'](_0x4c6b4c)??null;for(;_0x3f5609;)_0x3bd46f[_0xa22cdb(0x4ee)](_0x3f5609),_0x3f5609=_0xa7020e['parentByRecordId']['get'](_0x3f5609)??null;}let _0x1de387=new Map(_0x531883[_0xa22cdb(0x2b0)](_0xb97c93=>[_0xb97c93[_0xa22cdb(0x1c6)],_0xb97c93])),_0xce7292=_0xa7020e[_0xa22cdb(0x4c4)]['filter'](_0x586bb0=>_0x3bd46f[_0xa22cdb(0x253)](_0x586bb0)),_0x44187f=_0xce7292[_0xa22cdb(0x36c)](_0x5adf8b=>{let _0x5834ae=_0x1de387['get'](_0x5adf8b);return _0x5834ae?[_0x5834ae]:[];}),_0x55a3d1={};for(let _0x2c30f1=0x0;_0x2c30f1<_0xce7292['length'];_0x2c30f1++){let _0x19e87e=_0xce7292[_0x2c30f1];_0x55a3d1[_0x19e87e]={'recordId':_0x19e87e,'parentRecordId':_0xa7020e[_0xa22cdb(0x4f3)][_0xa22cdb(0x315)](_0x19e87e)??null,'depth':_0xa7020e[_0xa22cdb(0x2f5)][_0xa22cdb(0x315)](_0x19e87e)??0x0,'directChildCount':(_0xa7020e[_0xa22cdb(0x3de)][_0xa22cdb(0x315)](_0x19e87e)??[])[_0xa22cdb(0x21d)],'subtreeHeight':_0xa7020e[_0xa22cdb(0x4a3)][_0xa22cdb(0x315)](_0x19e87e)??0x0,'subtreeEndIndex':_0x2c30f1,'invalidReason':_0xa7020e[_0xa22cdb(0x3d1)][_0xa22cdb(0x315)](_0x19e87e)};}let _0x3cb31a=[];for(let _0x481fd8=0x0;_0x481fd8<_0xce7292[_0xa22cdb(0x21d)];_0x481fd8++){let _0x43e5c7=_0xce7292[_0x481fd8],_0x505837=_0x55a3d1[_0x43e5c7][_0xa22cdb(0x398)];for(;_0x3cb31a[_0xa22cdb(0x21d)]&&_0x3cb31a[_0x3cb31a[_0xa22cdb(0x21d)]-0x1]['depth']>=_0x505837;){let _0x2f1301=_0x3cb31a[_0xa22cdb(0x401)]();_0x55a3d1[_0x2f1301['recordId']][_0xa22cdb(0x29a)]=_0x481fd8-0x1;}_0x3cb31a[_0xa22cdb(0x482)]({'recordId':_0x43e5c7,'depth':_0x505837});}return _0x3cb31a[_0xa22cdb(0x429)](({recordId:_0x29c9f0})=>{_0x55a3d1[_0x29c9f0]['subtreeEndIndex']=_0xce7292['length']-0x1;}),{'rows':_0x44187f,'hierarchy':{'fieldId':_0xa7020e[_0xa22cdb(0x4a1)],'rootRecordIds':_0xa7020e[_0xa22cdb(0x32b)]['filter'](_0x3e9bef=>_0x3bd46f['has'](_0x3e9bef)),'orderedRecordIds':_0xce7292,'nodes':_0x55a3d1}};}function rt(_0x58d5c2,_0x3b63e3){const _0x3af323=_0x5daf81;if(!_0x58d5c2['hierarchy']||!(_0x3b63e3!=null&&_0x3b63e3['size']))return _0x58d5c2[_0x3af323(0x372)];let _0x2579dd=[],_0x2ae289=0x0;for(;_0x2ae289<_0x58d5c2['rows'][_0x3af323(0x21d)];){let _0x37a4bf=_0x58d5c2['rows'][_0x2ae289];_0x2579dd['push'](_0x37a4bf);let _0x4f21f0=_0x58d5c2[_0x3af323(0x23c)][_0x3af323(0x42b)][_0x37a4bf[_0x3af323(0x1c6)]];_0x2ae289=_0x3b63e3['has'](_0x37a4bf['recordId'])&&_0x4f21f0?_0x4f21f0[_0x3af323(0x29a)]+0x1:_0x2ae289+0x1;}return _0x2579dd;}function it(_0x338ab9,_0x38c3f6,_0x19ba4a){const _0x277f4b=_0x5daf81;if(!_0x19ba4a)return{'valid':!0x0};if(_0x38c3f6===_0x19ba4a)return{'valid':!0x1,'reason':_0x335882['SelfParent']};let _0x3ba71f=_0x19ba4a;for(;_0x3ba71f;){if(_0x3ba71f===_0x38c3f6)return{'valid':!0x1,'reason':_0x335882['Cycle']};_0x3ba71f=_0x338ab9[_0x277f4b(0x4f3)]['get'](_0x3ba71f)??null;}return(_0x338ab9[_0x277f4b(0x2f5)]['get'](_0x19ba4a)??0x0)+0x1+(_0x338ab9['subtreeHeightByRecordId'][_0x277f4b(0x315)](_0x38c3f6)??0x0)>=0x5?{'valid':!0x1,'reason':_0x335882[_0x277f4b(0x37e)]}:{'valid':!0x0};}function at(_0x1fe0a6,_0x23f3b1){const _0x2a1da6=_0x5daf81;let _0x2b307f=new Set(),_0x2d0de4=[];for(let _0x13813b of _0x23f3b1)_0x1fe0a6[_0x2a1da6(0x43a)][_0x13813b]&&!_0x2b307f[_0x2a1da6(0x253)](_0x13813b)&&(_0x2b307f['add'](_0x13813b),_0x2d0de4[_0x2a1da6(0x482)](_0x13813b));return Object[_0x2a1da6(0x46f)](_0x1fe0a6[_0x2a1da6(0x43a)])[_0x2a1da6(0x3c5)]()[_0x2a1da6(0x429)](_0x4df542=>{const _0x1e74d5=_0x2a1da6;_0x2b307f['has'](_0x4df542)||_0x2d0de4[_0x1e74d5(0x482)](_0x4df542);}),_0x2d0de4;}function ot(_0x4ffaac,_0x5b53ac,_0x26644c){const _0x42f86a=_0x5daf81;let _0x18da7a=new Set();for(let _0x62e2b5 of _0x26644c){if(_0x18da7a['has'](_0x62e2b5))continue;let _0x35ab7b=[],_0x3ce983=new Map(),_0x1c4538=_0x62e2b5;for(;_0x1c4538&&!_0x18da7a['has'](_0x1c4538);){let _0x310778=_0x3ce983[_0x42f86a(0x315)](_0x1c4538);if(_0x310778!=null){let _0x235d26=[..._0x35ab7b[_0x42f86a(0x1cb)](_0x310778)][_0x42f86a(0x3c5)]()[_0x42f86a(0x401)]();_0x4ffaac[_0x42f86a(0x1ba)](_0x235d26,null),_0x5b53ac[_0x42f86a(0x1ba)](_0x235d26,_0x335882[_0x42f86a(0x39e)]);break;}_0x3ce983['set'](_0x1c4538,_0x35ab7b['length']),_0x35ab7b['push'](_0x1c4538),_0x1c4538=_0x4ffaac[_0x42f86a(0x315)](_0x1c4538)??null;}_0x35ab7b[_0x42f86a(0x429)](_0x526b0c=>_0x18da7a[_0x42f86a(0x4ee)](_0x526b0c));}}function st(_0x3b2601,_0x469725,_0x266f9e){const _0x22a719=_0x5daf81;let _0x1b945b=new Map(),_0x47361e=_0x40b234=>{const _0x4a0dd4=_0x188f;let _0x258f40=_0x1b945b['get'](_0x40b234);if(_0x258f40!=null)return _0x258f40;let _0x1833e4=_0x3b2601[_0x4a0dd4(0x315)](_0x40b234)??null;if(!_0x1833e4)return _0x1b945b[_0x4a0dd4(0x1ba)](_0x40b234,0x0),0x0;let _0x1f5148=_0x47361e(_0x1833e4)+0x1;return _0x1f5148>=0x5?(_0x3b2601['set'](_0x40b234,null),_0x469725['set'](_0x40b234,_0x335882['MaxDepth']),_0x1b945b[_0x4a0dd4(0x1ba)](_0x40b234,0x0),0x0):(_0x1b945b[_0x4a0dd4(0x1ba)](_0x40b234,_0x1f5148),_0x1f5148);};_0x266f9e[_0x22a719(0x429)](_0x47361e);}let ct=0x0;function lt(){const _0x4e36ad=_0x5daf81;if(globalThis[_0x4e36ad(0x42f)]===!0x0)return!0x0;try{let _0xfb20b9=typeof location>'u'?'':location[_0x4e36ad(0x318)],_0x51a0d1=new URLSearchParams(_0xfb20b9);if(_0x51a0d1['get'](_0x4e36ad(0x228))==='1'||_0x51a0d1['get']('basePerf')===_0x4e36ad(0x40e)||_0x51a0d1['get']('base-perf')==='1')return!0x0;}catch{}try{let _0x23cc0d=typeof localStorage>'u'?null:localStorage[_0x4e36ad(0x504)](_0x4e36ad(0x413));return _0x23cc0d==='1'||_0x23cc0d===_0x4e36ad(0x40e);}catch{return!0x1;}}function I(_0x1852da,_0x471984,_0x5132ae){const _0x294507=_0x5daf81;if(!lt())return _0x471984();let _0x9d33cf=dt(),_0x4b36f1=_0x294507(0x37c)+ct++;ft(_0x4b36f1+_0x294507(0x2e8));try{return _0x471984();}finally{let _0x4836ae=dt()-_0x9d33cf;ft(_0x4b36f1+':end'),pt(_0x1852da,_0x4b36f1+_0x294507(0x2e8),_0x4b36f1+_0x294507(0x379)),ut(_0x1852da,_0x4836ae,_0x5132ae);}}function ut(_0x3a69ae,_0x26ef4a,_0x5a0b23){const _0x2b22b9=_0x5daf81;if(!lt())return;let _0x3e4eff=Math[_0x2b22b9(0x447)](_0x26ef4a*0x64)/0x64,_0x4e918a=_0x5a0b23&&Object[_0x2b22b9(0x46f)](_0x5a0b23)[_0x2b22b9(0x21d)]?'\x20'+JSON[_0x2b22b9(0x439)](_0x5a0b23):'';console[_0x2b22b9(0x3b8)]('[BasePerf]\x20'+_0x3a69ae+':\x20'+_0x3e4eff+'ms'+_0x4e918a);}function dt(){const _0x508b0a=_0x5daf81;return typeof performance<'u'&&typeof performance[_0x508b0a(0x1d5)]==_0x508b0a(0x55e)?performance[_0x508b0a(0x1d5)]():Date[_0x508b0a(0x1d5)]();}function ft(_0x107346){const _0x40194b=_0x5daf81;try{if(typeof performance<'u'){var _0x21c011,_0xfe0258;(_0x21c011=(_0xfe0258=performance)[_0x40194b(0x2ad)])==null||_0x21c011[_0x40194b(0x35d)](_0xfe0258,_0x107346);}}catch{}}function pt(_0x265118,_0x201686,_0x499932){const _0x97b0e4=_0x5daf81;try{if(typeof performance<'u'){var _0x6733e9,_0x2b7c3b;(_0x6733e9=(_0x2b7c3b=performance)[_0x97b0e4(0x530)])==null||_0x6733e9[_0x97b0e4(0x35d)](_0x2b7c3b,_0x97b0e4(0x463)+_0x265118,_0x201686,_0x499932);}}catch{}}function L(_0x1115ce){const _0x484718=_0x5daf81;var _0x3335fa;return lt()?I(_0x484718(0x25a),()=>mt(_0x1115ce),{'tableId':_0x1115ce['id'],'records':Object[_0x484718(0x46f)](_0x1115ce[_0x484718(0x43a)]??{})[_0x484718(0x21d)],'fields':_0x1115ce[_0x484718(0x1d6)][_0x484718(0x21d)],'hasRecordOrder':!!((_0x3335fa=_0x1115ce[_0x484718(0x3da)])!=null&&_0x3335fa['length'])}):mt(_0x1115ce);}function mt(_0xaeb30b){const _0x2186c4=_0x5daf81;var _0x414198;let _0x361780=_0xaeb30b[_0x2186c4(0x43a)]??{},_0x15b6c0=_0xaeb30b['fields']??{},_0x576f42=((_0x414198=_0xaeb30b[_0x2186c4(0x3da)])==null?void 0x0:_0x414198[_0x2186c4(0x32f)](_0x297d85=>_0x361780[_0x297d85]))??[],_0xd46801=new Set(_0x576f42),_0xe2bc56=[];for(let _0x4c951a of Object['values'](_0x361780))_0xd46801['has'](_0x4c951a['id'])||_0xe2bc56[_0x2186c4(0x482)](_0x4c951a);let _0x4c2150=_0xe2bc56[_0x2186c4(0x21d)]?[..._0x576f42,...Rt(_0xe2bc56)]:_0x576f42,_0x435a3a=_0xaeb30b[_0x2186c4(0x1d6)][_0x2186c4(0x32f)](_0x1aab7=>_0x15b6c0[_0x1aab7]),_0x24d0ba={..._0xaeb30b['rowId']??{}},_0x22e3ba={..._0xaeb30b[_0x2186c4(0x33c)]??{}},_0x268e89={..._0xaeb30b['cellData']??{}};_0xaeb30b['recordOrder']=_0x4c2150,_0xaeb30b[_0x2186c4(0x2c4)]={},_0xaeb30b[_0x2186c4(0x1ec)]={},_0xaeb30b[_0x2186c4(0x3b9)]={},_0xaeb30b['colId']={},_0xaeb30b[_0x2186c4(0x1d3)]={},_0xaeb30b[_0x2186c4(0x48d)]={..._0xaeb30b['resources']??{}},_0xaeb30b['resources'][_0x2186c4(0x313)]={..._0xaeb30b[_0x2186c4(0x48d)][_0x2186c4(0x313)]??{}},_0xaeb30b[_0x2186c4(0x48d)][_0x2186c4(0x36f)]={..._0xaeb30b[_0x2186c4(0x48d)][_0x2186c4(0x36f)]??{}};let _0x21858c=_0xaeb30b['rowIndex'],_0xcea394=_0xaeb30b[_0x2186c4(0x1ec)],_0x1f1934=_0xaeb30b[_0x2186c4(0x3b9)],_0x3e12ab=_0xaeb30b[_0x2186c4(0x33c)],_0x2c2a55=_0xaeb30b[_0x2186c4(0x1d3)];return _0x4c2150[_0x2186c4(0x429)]((_0xc9a05,_0x10c0cb)=>{_0x21858c[_0xc9a05]=_0x10c0cb,_0xcea394[_0x10c0cb]=_0xc9a05;}),_0x435a3a[_0x2186c4(0x429)]((_0x158fc9,_0x235f3c)=>{_0x1f1934[_0x158fc9]=_0x235f3c,_0x3e12ab[_0x235f3c]=_0x158fc9;}),Object[_0x2186c4(0x2e4)](_0x268e89)[_0x2186c4(0x429)](([_0x597cf7,_0x19fddd])=>{const _0x3c73b7=_0x2186c4;let _0x323638=Number(_0x597cf7),_0x121af1=_0x24d0ba[_0x323638]??_0x4c2150[_0x323638],_0x5c6c23=_0x121af1?_0x21858c[_0x121af1]:void 0x0;_0x5c6c23!=null&&(_0x2c2a55[_0x5c6c23]={..._0x2c2a55[_0x5c6c23]??{}},Object[_0x3c73b7(0x2e4)](_0x19fddd??{})[_0x3c73b7(0x429)](([_0x968698,_0x40303f])=>{let _0x4d9462=Number(_0x968698),_0x5b3095=_0x22e3ba[_0x4d9462]??_0x435a3a[_0x4d9462],_0x154c6c=_0x5b3095?_0x1f1934[_0x5b3095]:void 0x0;_0x154c6c!=null&&(_0x2c2a55[_0x5c6c23][_0x154c6c]=St(_0x40303f));}));}),Object[_0x2186c4(0x45b)](_0x361780)[_0x2186c4(0x429)](_0x3b6b05=>{const _0x316d9a=_0x2186c4;let _0x474053=_0x21858c[_0x3b6b05['id']];_0x474053!=null&&(_0x3b6b05['values']={..._0x3b6b05['values']??{},[_0x4a6fc3]:_0x3b6b05['id']},_0x2c2a55[_0x474053]={..._0x2c2a55[_0x474053]??{},0x0:{'v':_0x3b6b05['id'],'t':_0x20fde0['STRING']}},Object[_0x316d9a(0x2e4)](_0x3b6b05[_0x316d9a(0x45b)]??{})[_0x316d9a(0x429)](([_0x2c5e3c,_0x1c06a5])=>{const _0x607ce6=_0x316d9a;let _0x5084bd=_0x15b6c0[_0x2c5e3c];(_0x5084bd==null?void 0x0:_0x5084bd[_0x607ce6(0x305)])===_0x618ba[_0x607ce6(0x1f8)]&&Dt(_0xaeb30b,_0x3b6b05['id'],_0x2c5e3c,_0x1c06a5);let _0x258a96=_0x1f1934[_0x2c5e3c];if(_0x258a96==null)return;let _0x80bb27=_0x2c2a55[_0x474053][_0x258a96];(_0x80bb27==null||jt(_0x80bb27,_0x5084bd,_0x1c06a5))&&(_0x2c2a55[_0x474053][_0x258a96]=xt(_0x1c06a5,_0x5084bd));}));}),_0xaeb30b;}function ht(_0x44b885,_0x41c07e){const _0x481e91=_0x5daf81;return _0x44b885[_0x481e91(0x43a)]=Object['fromEntries'](Object[_0x481e91(0x2e4)](_0x44b885[_0x481e91(0x43a)])[_0x481e91(0x2b0)](([_0x5ee859,_0x410dbb])=>[_0x5ee859,{..._0x410dbb}])),L(_0x44b885),Object[_0x481e91(0x2e4)](_0x44b885[_0x481e91(0x1ec)]??{})[_0x481e91(0x429)](([_0x4e8a26,_0x24419b])=>{const _0x245a26=_0x481e91;var _0x34f9da;let _0x39189e=Number(_0x4e8a26),_0x177182=_0x44b885[_0x245a26(0x43a)][_0x24419b];_0x177182&&(_0x177182[_0x245a26(0x45b)]={..._0x177182['values']??{}},Object[_0x245a26(0x2e4)](((_0x34f9da=_0x44b885[_0x245a26(0x1d3)])==null?void 0x0:_0x34f9da[_0x39189e])??{})[_0x245a26(0x429)](([_0x44ee64,_0x4f741f])=>{const _0x1d45a3=_0x245a26;var _0x34645f;let _0x438d1f=(_0x34645f=_0x44b885[_0x1d45a3(0x33c)])==null?void 0x0:_0x34645f[Number(_0x44ee64)];_0x438d1f&&_0x41c07e&&!_0x41c07e(_0x24419b,_0x438d1f)||(_0x438d1f===_0x4a6fc3?_0x177182['values'][_0x4a6fc3]=_0x177182['id']:_0x438d1f&&(_0x177182[_0x1d45a3(0x45b)][_0x438d1f]=Ct(_0x4f741f,_0x44b885[_0x1d45a3(0x503)][_0x438d1f],_0x44b885,_0x24419b)));}));}),_0x44b885;}function gt(_0x1aca0d,_0x196078){const _0x30016a=_0x5daf81;for(let {row:_0x57ba06,col:_0xb729e1}of _0x196078){var _0x48e0cb,_0x24c025,_0x1f5b70;let _0x11804f=(_0x48e0cb=_0x1aca0d[_0x30016a(0x1ec)])==null?void 0x0:_0x48e0cb[_0x57ba06],_0x985fa6=(_0x24c025=_0x1aca0d[_0x30016a(0x33c)])==null?void 0x0:_0x24c025[_0xb729e1],_0x14704c=_0x11804f?_0x1aca0d[_0x30016a(0x43a)][_0x11804f]:void 0x0;if(!_0x14704c||!_0x985fa6)continue;if(_0x985fa6===_0x4a6fc3){_0x14704c[_0x30016a(0x45b)][_0x4a6fc3]=_0x14704c['id'];continue;}let _0x358e9c=(_0x1f5b70=_0x1aca0d[_0x30016a(0x1d3)])==null||(_0x1f5b70=_0x1f5b70[_0x57ba06])==null?void 0x0:_0x1f5b70[_0xb729e1];(_0x358e9c!=null||Object[_0x30016a(0x4e2)][_0x30016a(0x4d7)][_0x30016a(0x35d)](_0x14704c['values']??{},_0x985fa6))&&(_0x14704c['values']={..._0x14704c['values']??{}},_0x14704c[_0x30016a(0x45b)][_0x985fa6]=Ct(_0x358e9c,_0x1aca0d[_0x30016a(0x503)][_0x985fa6],_0x1aca0d,_0x11804f));}return _0x1aca0d;}function _t(_0x365eb6,_0x19b129,_0xc952dc){const _0x3b7492=_0x5daf81;var _0x5771bd,_0x5efce9,_0x49b814,_0x1ad0ab,_0x57e87d,_0x57accb;let _0x52f51e=(_0x5771bd=_0x365eb6['rowIndex'])==null?void 0x0:_0x5771bd[_0x19b129],_0x5ae521=(_0x5efce9=_0x365eb6[_0x3b7492(0x3b9)])==null?void 0x0:_0x5efce9[_0xc952dc];if(_0x52f51e!=null&&_0x5ae521!=null&&((_0x49b814=_0x365eb6[_0x3b7492(0x1ec)])==null?void 0x0:_0x49b814[_0x52f51e])===_0x19b129&&((_0x1ad0ab=_0x365eb6[_0x3b7492(0x33c)])==null?void 0x0:_0x1ad0ab[_0x5ae521])===_0xc952dc)return{'row':_0x52f51e,'col':_0x5ae521};let _0x20443c=L(_0x365eb6),_0x5818c4=(_0x57e87d=_0x20443c['rowIndex'])==null?void 0x0:_0x57e87d[_0x19b129],_0x56b2ff=(_0x57accb=_0x20443c['colIndex'])==null?void 0x0:_0x57accb[_0xc952dc];return _0x5818c4==null||_0x56b2ff==null?null:{'row':_0x5818c4,'col':_0x56b2ff};}function vt(_0x5d5a92,_0xff6e29,_0x113026){const _0x1297a5=_0x5daf81;var _0x2cb9b1;let _0x2f95b4=_t(_0x5d5a92,_0xff6e29,_0x113026);if(_0x2f95b4)return(_0x2cb9b1=_0x5d5a92[_0x1297a5(0x1d3)])==null||(_0x2cb9b1=_0x2cb9b1[_0x2f95b4[_0x1297a5(0x406)]])==null?void 0x0:_0x2cb9b1[_0x2f95b4[_0x1297a5(0x2f0)]];}function yt(_0x46b0c6,_0x16fbb0,_0x5a86b3){const _0x44f9dd=_0x5daf81;var _0x41b392;let _0x2c8bad=vt(_0x46b0c6,_0x16fbb0,_0x5a86b3),_0x17bd52=_0x46b0c6[_0x44f9dd(0x503)][_0x5a86b3];if((_0x17bd52==null?void 0x0:_0x17bd52[_0x44f9dd(0x305)])===_0x618ba[_0x44f9dd(0x1f8)]){var _0x48315c;return Ot(_0x46b0c6,_0x16fbb0,_0x5a86b3)??kt((_0x48315c=_0x46b0c6[_0x44f9dd(0x43a)][_0x16fbb0])==null||(_0x48315c=_0x48315c[_0x44f9dd(0x45b)])==null?void 0x0:_0x48315c[_0x5a86b3]);}if(Mt(_0x17bd52)||Nt(_0x17bd52)||(_0x17bd52==null?void 0x0:_0x17bd52['type'])===_0x618ba[_0x44f9dd(0x42d)]){var _0xc8c3d6;let _0x5b6c1b=(_0xc8c3d6=_0x46b0c6['records'][_0x16fbb0])==null||(_0xc8c3d6=_0xc8c3d6['values'])==null?void 0x0:_0xc8c3d6[_0x5a86b3];return _0x5b6c1b!=null&&_0x5b6c1b!==''?At(_0x5b6c1b,_0x17bd52):Ct(_0x2c8bad,_0x17bd52,_0x46b0c6,_0x16fbb0);}return _0x2c8bad&&Object[_0x44f9dd(0x4e2)][_0x44f9dd(0x4d7)]['call'](_0x2c8bad,'v')?_0x2c8bad['v']??null:((_0x41b392=_0x46b0c6[_0x44f9dd(0x43a)][_0x16fbb0])==null||(_0x41b392=_0x41b392[_0x44f9dd(0x45b)])==null?void 0x0:_0x41b392[_0x5a86b3])??null;}function bt(_0x341e71,_0x537d4d,_0x1e00e5){const _0x6ef1b0=_0x5daf81;var _0x4e6190;let _0x3f878a=vt(_0x341e71,_0x537d4d,_0x1e00e5);if(_0x3f878a&&Object[_0x6ef1b0(0x4e2)][_0x6ef1b0(0x4d7)][_0x6ef1b0(0x35d)](_0x3f878a,'v'))return _0x3f878a['v']??null;let _0x431a6a=_0x341e71[_0x6ef1b0(0x503)][_0x1e00e5];return xt(((_0x4e6190=_0x341e71[_0x6ef1b0(0x43a)][_0x537d4d])==null||(_0x4e6190=_0x4e6190[_0x6ef1b0(0x45b)])==null?void 0x0:_0x4e6190[_0x1e00e5])??null,_0x431a6a)['v']??null;}function xt(_0x56b7b2,_0xacc67a){const _0x2d8187=_0x5daf81;if(Tt(_0x56b7b2))return(_0xacc67a==null?void 0x0:_0xacc67a[_0x2d8187(0x305)])===_0x618ba[_0x2d8187(0x1f8)]?{..._0x56b7b2,'v':'','t':_0x20fde0[_0x2d8187(0x376)]}:St(_0x56b7b2);if((_0xacc67a==null?void 0x0:_0xacc67a[_0x2d8187(0x305)])===_0x618ba[_0x2d8187(0x1f8)])return{'v':'','t':_0x20fde0[_0x2d8187(0x376)]};if(Nt(_0xacc67a)){let _0x17873a=Pt(_0x56b7b2);return{'v':_0x17873a,'t':Lt(_0x17873a)};}if(Mt(_0xacc67a))return{'v':Ft(_0x56b7b2)[_0x2d8187(0x30a)](',\x20'),'t':_0x20fde0['STRING']};if((_0xacc67a==null?void 0x0:_0xacc67a[_0x2d8187(0x305)])===_0x618ba[_0x2d8187(0x42d)]&&_0x56b7b2&&typeof _0x56b7b2==_0x2d8187(0x1fb)&&!Array[_0x2d8187(0x31e)](_0x56b7b2)){let _0x36ab42=_0x56b7b2;return{'v':String(_0x36ab42[_0x2d8187(0x38e)]??_0x36ab42[_0x2d8187(0x4fe)]??''),'t':_0x20fde0[_0x2d8187(0x376)]};}return _0x56b7b2===null||typeof _0x56b7b2=='string'||typeof _0x56b7b2=='number'||typeof _0x56b7b2==_0x2d8187(0x26c)?{'v':_0x56b7b2,'t':Lt(_0x56b7b2)}:{'v':null,'t':null};}function St(_0x4de46f){let _0x2a1a5b=zt(_0x4de46f['t'],_0x4de46f['v']);if(_0x2a1a5b===void 0x0){let {t:_0x46f7fa,..._0x4cb658}=_0x4de46f;return _0x4cb658;}return{..._0x4de46f,'t':_0x2a1a5b};}function Ct(_0x5ee744,_0x20e97e,_0x220775,_0x2c80ce){const _0x49f1d6=_0x5daf81;if(!_0x5ee744)return null;if((_0x20e97e==null?void 0x0:_0x20e97e[_0x49f1d6(0x305)])===_0x618ba[_0x49f1d6(0x1f8)])return _0x220775&&_0x2c80ce?Ot(_0x220775,_0x2c80ce,_0x20e97e['id'])??[]:[];if(Mt(_0x20e97e))return Ft(_0x5ee744['v']);if((_0x20e97e==null?void 0x0:_0x20e97e['type'])===_0x618ba[_0x49f1d6(0x42d)]&&_0x220775&&_0x2c80ce){var _0x5b10fa;let _0x1fa701=(_0x5b10fa=_0x220775[_0x49f1d6(0x43a)][_0x2c80ce])==null||(_0x5b10fa=_0x5b10fa['values'])==null?void 0x0:_0x5b10fa[_0x20e97e['id']];if(_0x1fa701&&typeof _0x1fa701=='object'&&!Array[_0x49f1d6(0x31e)](_0x1fa701))return _0x1fa701;}return Object[_0x49f1d6(0x4e2)][_0x49f1d6(0x4d7)][_0x49f1d6(0x35d)](_0x5ee744,'v')?_0x5ee744['v']??null:null;}function wt(_0x444026,_0x2e80ef,_0x408a4c,_0x41676c,_0x4f9a68){const _0xe745ba=_0x5daf81;return(_0x408a4c==null?void 0x0:_0x408a4c[_0xe745ba(0x305)])===_0x618ba['Attachment']?kt(_0x444026):Nt(_0x408a4c)?Pt(_0x444026):Mt(_0x408a4c)?Ft(_0x444026):(_0x408a4c==null?void 0x0:_0x408a4c['type'])===_0x618ba[_0xe745ba(0x42d)]&&(_0x444026==null||_0x444026==='')?null:(_0x408a4c==null?void 0x0:_0x408a4c[_0xe745ba(0x305)])===_0x618ba['Link']&&_0x444026&&typeof _0x444026==_0xe745ba(0x1fb)&&!Array[_0xe745ba(0x31e)](_0x444026)&&!Tt(_0x444026)?_0x444026:Ct(_0x2e80ef,_0x408a4c,_0x41676c,_0x4f9a68);}function Tt(_0x30fe28){const _0x31355c=_0x5daf81;return!!_0x30fe28&&typeof _0x30fe28=='object'&&(Object['prototype'][_0x31355c(0x4d7)][_0x31355c(0x35d)](_0x30fe28,'v')||Object[_0x31355c(0x4e2)][_0x31355c(0x4d7)]['call'](_0x30fe28,'t')||Object['prototype']['hasOwnProperty']['call'](_0x30fe28,'p')||Object[_0x31355c(0x4e2)]['hasOwnProperty'][_0x31355c(0x35d)](_0x30fe28,'f')||Object[_0x31355c(0x4e2)]['hasOwnProperty'][_0x31355c(0x35d)](_0x30fe28,'si'));}function Et(_0x22234c,_0x3a876b){return _0x22234c+'\x1f'+_0x3a876b;}function Dt(_0x2f8f0f,_0x4b5f62,_0xafcb17,_0x52d014){const _0x2a9ff3=_0x5daf81;let _0x29d606=kt(_0x52d014);_0x2f8f0f[_0x2a9ff3(0x48d)]={..._0x2f8f0f[_0x2a9ff3(0x48d)]??{}},_0x2f8f0f[_0x2a9ff3(0x48d)][_0x2a9ff3(0x313)]={..._0x2f8f0f[_0x2a9ff3(0x48d)]['attachmentSets']??{}},_0x2f8f0f[_0x2a9ff3(0x48d)][_0x2a9ff3(0x36f)]={..._0x2f8f0f[_0x2a9ff3(0x48d)]['attachments']??{}};let _0x310283=Et(_0xafcb17,_0x4b5f62),_0x3f65a4=[];for(let _0x22b32a=0x0;_0x22b32a<_0x29d606[_0x2a9ff3(0x21d)];_0x22b32a++){if(!(_0x22b32a in _0x29d606))continue;let _0x549220=_0x29d606[_0x22b32a],_0x4d391d=String(_0x549220['id']??_0x310283+'\x1f'+_0x22b32a),_0x4985d7={..._0x549220,'id':_0x4d391d};_0x2f8f0f[_0x2a9ff3(0x48d)][_0x2a9ff3(0x36f)][_0x4d391d]=_0x4985d7,_0x3f65a4[_0x2a9ff3(0x482)](_0x4d391d);}_0x2f8f0f['resources'][_0x2a9ff3(0x313)][_0x310283]=_0x3f65a4;}function Ot(_0x120cc3,_0x387afa,_0x380ebb){const _0x256dae=_0x5daf81;var _0xe424;let _0x992852=Et(_0x380ebb,_0x387afa),_0x33e24c=(_0xe424=_0x120cc3[_0x256dae(0x48d)])==null||(_0xe424=_0xe424['attachmentSets'])==null?void 0x0:_0xe424[_0x992852];if(!_0x33e24c)return null;let _0x5403c7=[];for(let _0x4da1d6=0x0;_0x4da1d6<_0x33e24c[_0x256dae(0x21d)];_0x4da1d6++){var _0x2767c6;if(!(_0x4da1d6 in _0x33e24c))continue;let _0x261343=(_0x2767c6=_0x120cc3[_0x256dae(0x48d)])==null||(_0x2767c6=_0x2767c6[_0x256dae(0x36f)])==null?void 0x0:_0x2767c6[_0x33e24c[_0x4da1d6]];_0x261343&&_0x5403c7['push']({..._0x261343});}return _0x5403c7;}function kt(_0x469489){const _0x450b77=_0x5daf81;if(_0x469489==null||_0x469489===''||Tt(_0x469489)&&!('id'in _0x469489)&&!(_0x450b77(0x322)in _0x469489))return[];let _0x2d2051=Array[_0x450b77(0x31e)](_0x469489)?_0x469489:[_0x469489],_0x4c53ab=[];for(let _0x5cf790=0x0;_0x5cf790<_0x2d2051[_0x450b77(0x21d)];_0x5cf790++){if(!(_0x5cf790 in _0x2d2051))continue;let _0x5e3045=_0x2d2051[_0x5cf790],_0x208339=_0x5e3045&&typeof _0x5e3045==_0x450b77(0x1fb)?{..._0x5e3045}:{'id':_0x450b77(0x44c)+_0x5cf790,'name':String(_0x5e3045)};Object[_0x450b77(0x46f)](_0x208339)[_0x450b77(0x21d)]>0x0&&_0x4c53ab[_0x450b77(0x482)](_0x208339);}return _0x4c53ab;}function At(_0x2c0e36,_0x852d76){const _0x286ed7=_0x5daf81;return(_0x852d76==null?void 0x0:_0x852d76[_0x286ed7(0x305)])===_0x618ba[_0x286ed7(0x1f8)]?kt(_0x2c0e36):Nt(_0x852d76)?Pt(_0x2c0e36):Mt(_0x852d76)?Ft(_0x2c0e36):_0x2c0e36;}function jt(_0x4d58ea,_0x5d3ec9,_0x1f70dc){const _0x22502f=_0x5daf81;return(_0x5d3ec9==null?void 0x0:_0x5d3ec9[_0x22502f(0x305)])===_0x618ba[_0x22502f(0x1f8)]?_0x4d58ea['v']!=='':Nt(_0x5d3ec9)?_0x4d58ea['v']!==Pt(_0x1f70dc):Mt(_0x5d3ec9)?Array[_0x22502f(0x31e)](_0x1f70dc)&&(_0x4d58ea['v']==null||_0x4d58ea['v']===''):!0x1;}function Mt(_0x3fe976){const _0x2fe5b6=_0x5daf81;return(_0x3fe976==null?void 0x0:_0x3fe976[_0x2fe5b6(0x305)])===_0x618ba[_0x2fe5b6(0x3a1)]||(_0x3fe976==null?void 0x0:_0x3fe976['type'])===_0x618ba[_0x2fe5b6(0x377)]||(_0x3fe976==null?void 0x0:_0x3fe976[_0x2fe5b6(0x305)])===_0x618ba['Person']&&_0x3fe976[_0x2fe5b6(0x396)][_0x2fe5b6(0x551)]===!0x0;}function Nt(_0x14e0bb){const _0x510eb6=_0x5daf81;return(_0x14e0bb==null?void 0x0:_0x14e0bb[_0x510eb6(0x305)])===_0x618ba[_0x510eb6(0x1e9)]&&_0x14e0bb['config'][_0x510eb6(0x551)]!==!0x0;}function Pt(_0x50dd17){const _0x16b9c8=_0x5daf81;let _0x45ca8f=Tt(_0x50dd17)?_0x50dd17['v']:_0x50dd17,_0x209a56=Array[_0x16b9c8(0x31e)](_0x45ca8f)?_0x45ca8f[0x0]:_0x45ca8f;return _0x209a56==null||_0x209a56===''?null:String(_0x209a56);}function Ft(_0x1213f9){const _0x47c2bb=_0x5daf81;if(_0x1213f9==null||_0x1213f9==='')return[];let _0x3a6846=[];if(Array[_0x47c2bb(0x31e)](_0x1213f9)){for(let _0x5880f9=0x0;_0x5880f9<_0x1213f9[_0x47c2bb(0x21d)];_0x5880f9++){if(!(_0x5880f9 in _0x1213f9))continue;let _0x49c070=It(_0x1213f9[_0x5880f9]);_0x49c070&&_0x3a6846['push'](_0x49c070);}return _0x3a6846;}for(let _0x438dcc of String(_0x1213f9)[_0x47c2bb(0x4d9)](',')){let _0xb6d5a1=_0x438dcc[_0x47c2bb(0x3a5)]();_0xb6d5a1&&_0x3a6846[_0x47c2bb(0x482)](_0xb6d5a1);}return _0x3a6846;}function It(_0x5822bd){const _0x4f854e=_0x5daf81;if(_0x5822bd==null)return'';if(typeof _0x5822bd==_0x4f854e(0x2ed)||typeof _0x5822bd==_0x4f854e(0x53d)||typeof _0x5822bd==_0x4f854e(0x26c))return String(_0x5822bd);if(typeof _0x5822bd==_0x4f854e(0x1fb)){let _0x5212a6=_0x5822bd;return String(_0x5212a6['id']??_0x5212a6[_0x4f854e(0x322)]??_0x5212a6[_0x4f854e(0x38e)]??'');}return String(_0x5822bd);}function Lt(_0x5f39f7){const _0x22505c=_0x5daf81;return _0x5f39f7==null?null:typeof _0x5f39f7==_0x22505c(0x53d)?_0x20fde0[_0x22505c(0x288)]:typeof _0x5f39f7==_0x22505c(0x26c)?_0x20fde0[_0x22505c(0x1b3)]:_0x20fde0['STRING'];}function Rt(_0x137abb){const _0x10f10a=_0x5daf81;_0x137abb[_0x10f10a(0x3c5)]((_0x43552d,_0x4b6e31)=>_0x43552d[_0x10f10a(0x2a2)][_0x10f10a(0x202)](_0x4b6e31[_0x10f10a(0x2a2)]));let _0x489c50=[];for(let _0x90eedb of _0x137abb)_0x489c50[_0x10f10a(0x482)](_0x90eedb['id']);return _0x489c50;}function zt(_0x204fcd,_0x1348df){const _0x50d8c3=_0x5daf81;return _0x204fcd===_0x20fde0['STRING']||_0x204fcd===_0x20fde0['NUMBER']||_0x204fcd===_0x20fde0['BOOLEAN']||_0x204fcd===_0x20fde0[_0x50d8c3(0x23e)]||_0x204fcd==null?_0x204fcd:Lt(_0x1348df??null);}function R(_0x575b44){const _0x1a7162=_0x5daf81;let _0xd0b0f3=null;for(let _0x96d5a5 of _0x575b44)_0xd0b0f3=_0xd0b0f3===null?_0x96d5a5:_0x1605a0[_0x1a7162(0x305)][_0x1a7162(0x363)](_0xd0b0f3,_0x96d5a5);return _0xd0b0f3;}var z=class e{static[_0x5daf81(0x547)](_0x55abb0,_0x47d471){const _0xd68165=_0x5daf81;let _0x4238e9=[];for(let _0x53092f of _0x47d471){let _0x3bad90=Bt(_0x53092f);if(!_0x3bad90||_0x3bad90[_0xd68165(0x3cb)]!==_0x55abb0['id'])return null;_0x4238e9[_0xd68165(0x482)](_0x3bad90['op']);}try{let _0x3d0ba0=R(_0x4238e9);return _0x3d0ba0===null?_0x55abb0:new e()[_0xd68165(0x525)](_0x55abb0,_0x3d0ba0);}catch{return null;}}[_0x5daf81(0x525)](_0x1deffa,_0x3d4c25){const _0x35e8e2=_0x5daf81;let _0x3d76e4=this['getAffectedRanges'](_0x3d4c25),_0xa9a7ef=I(_0x35e8e2(0x296),()=>Xt(_0x1deffa,_0x3d4c25),{'invalidations':_0x3d76e4['length']}),_0x329e7e=I(_0x35e8e2(0x30e),()=>_0x1605a0['type']['apply'](_0xa9a7ef,_0x3d4c25),{'invalidations':_0x3d76e4['length']}),_0x20fa1f=Ht(_0x329e7e,_0x3d76e4);return I(_0x35e8e2(0x38c),()=>Vt(_0x329e7e,_0x3d76e4),{'invalidations':_0x3d76e4[_0x35e8e2(0x21d)]})?(Ut(_0x329e7e,_0x20fa1f),_0x329e7e):(I(_0x35e8e2(0x21c),()=>{const _0x49a0f8=_0x35e8e2;this[_0x49a0f8(0x241)](_0x329e7e,_0x3d76e4)[_0x49a0f8(0x429)](_0x1c645e=>{const _0x63936=_0x49a0f8;let _0x51a54c=_0x3d76e4[_0x63936(0x32f)](_0x20eeb3=>_0x20eeb3[_0x63936(0x221)]===_0x1c645e['id']),_0x2e4769=_0x51a54c[_0x63936(0x21d)]>0x0&&_0x51a54c[_0x63936(0x2ab)](_0x2c45ec=>_0x2c45ec[_0x63936(0x483)]===_0x63936(0x50a)||_0x2c45ec[_0x63936(0x483)]==='view'||_0x2c45ec[_0x63936(0x483)]===_0x63936(0x203)||_0x2c45ec[_0x63936(0x483)]==='record')?new Set(_0x51a54c[_0x63936(0x36c)](_0x3107c4=>{const _0xe91cb0=_0x63936;var _0x51341e;if(_0x3107c4[_0xe91cb0(0x483)]!==_0xe91cb0(0x50a)||!_0x3107c4[_0xe91cb0(0x4a1)])return[];let _0x57faa4=(_0x51341e=_0x1deffa[_0xe91cb0(0x2f7)][_0x1c645e['id']])==null?void 0x0:_0x51341e['fields'][_0x3107c4[_0xe91cb0(0x4a1)]],_0x46bcc4=_0x1c645e[_0xe91cb0(0x503)][_0x3107c4['fieldId']];return(_0x57faa4==null?void 0x0:_0x57faa4[_0xe91cb0(0x305)])!==(_0x46bcc4==null?void 0x0:_0x46bcc4[_0xe91cb0(0x305)])||(_0x57faa4==null?void 0x0:_0x57faa4[_0xe91cb0(0x396)][_0xe91cb0(0x551)])!==(_0x46bcc4==null?void 0x0:_0x46bcc4[_0xe91cb0(0x396)][_0xe91cb0(0x551)])?[_0x3107c4[_0xe91cb0(0x4a1)]]:[];})):void 0x0,_0x272291=new Set(_0x51a54c['flatMap'](_0x1da0df=>{const _0x5727f8=_0x63936;var _0x224c1c,_0x68b238;return _0x1da0df[_0x5727f8(0x483)]!==_0x5727f8(0x203)||_0x1da0df[_0x5727f8(0x406)]==null||_0x1da0df['column']==null?[]:[JSON[_0x5727f8(0x439)]([(_0x224c1c=_0x1c645e[_0x5727f8(0x1ec)])==null?void 0x0:_0x224c1c[_0x1da0df['row']],(_0x68b238=_0x1c645e[_0x5727f8(0x33c)])==null?void 0x0:_0x68b238[_0x1da0df[_0x5727f8(0x1cc)]]])];}));ht(_0x1c645e,_0x2e4769?(_0x54c678,_0xd417fb)=>_0x2e4769[_0x63936(0x253)](_0xd417fb)||_0x272291[_0x63936(0x253)](JSON['stringify']([_0x54c678,_0xd417fb])):void 0x0);});},{'invalidations':_0x3d76e4['length']}),Ut(_0x329e7e,_0x20fa1f),_0x329e7e);}['invertOp'](_0x27554d,_0x235dee){const _0xdadd78=_0x5daf81;return _0x1605a0['type'][_0xdadd78(0x475)](_0x235dee,_0x27554d);}[_0x5daf81(0x26e)](_0x86bbb0){const _0x14dde7=_0x5daf81;let _0x3d28e8=qt(_0x86bbb0);return _0x3d28e8[_0x14dde7(0x21d)]?Jt(_0x3d28e8[_0x14dde7(0x36c)](_0x5c0beb=>this[_0x14dde7(0x26e)](_0x5c0beb))):Wt(_0x86bbb0);}[_0x5daf81(0x241)](_0x3a345d,_0x2aeff7){const _0x542747=_0x5daf81;let _0x11e2e4=_0x2aeff7[_0x542747(0x32f)](_0x5b729f=>_0x5b729f['reason']!==_0x542747(0x3a6));return _0x11e2e4[_0x542747(0x21d)]?_0x11e2e4[_0x542747(0x387)](_0x1e76f2=>!_0x1e76f2[_0x542747(0x221)])?Object[_0x542747(0x45b)](_0x3a345d[_0x542747(0x2f7)]??{}):Array[_0x542747(0x404)](new Set(_0x11e2e4['map'](_0x2b6457=>_0x2b6457['tableId'])))[_0x542747(0x36c)](_0x267a2a=>{const _0x27acb0=_0x542747;var _0x8af99a;let _0x4aa386=(_0x8af99a=_0x3a345d[_0x27acb0(0x2f7)])==null?void 0x0:_0x8af99a[_0x267a2a];return _0x4aa386?[_0x4aa386]:[];}):[];}};function Bt(_0x1a28bd){const _0x2c1858=_0x5daf81;let _0x669026=_0x1a28bd[_0x2c1858(0x422)];return _0x1a28bd['id']!=='base.mutation.apply-base-json1'||typeof _0x669026!=_0x2c1858(0x1fb)||!_0x669026||!(_0x2c1858(0x3cb)in _0x669026)||typeof _0x669026['unitId']!='string'||!('op'in _0x669026)||!Array[_0x2c1858(0x31e)](_0x669026['op'])?null:{'unitId':_0x669026[_0x2c1858(0x3cb)],'op':_0x669026['op']};}function Vt(_0x568cf2,_0x2304f1){const _0x3861dd=_0x5daf81;if(!_0x2304f1[_0x3861dd(0x21d)]||_0x2304f1['some'](_0x51bd43=>_0x51bd43[_0x3861dd(0x483)]!==_0x3861dd(0x203)))return!0x1;let _0x28759a=new Map();for(let _0x5a5e15 of _0x2304f1){if(!_0x5a5e15['tableId']||_0x5a5e15[_0x3861dd(0x406)]==null||_0x5a5e15[_0x3861dd(0x1cc)]==null)continue;let _0x599abd=_0x28759a[_0x3861dd(0x315)](_0x5a5e15[_0x3861dd(0x221)])??[];_0x599abd[_0x3861dd(0x482)]({'row':_0x5a5e15['row'],'col':_0x5a5e15[_0x3861dd(0x1cc)]}),_0x28759a[_0x3861dd(0x1ba)](_0x5a5e15[_0x3861dd(0x221)],_0x599abd);}return _0x28759a[_0x3861dd(0x429)]((_0x56f606,_0x1ca5d6)=>{const _0xfb5ea2=_0x3861dd;var _0x29386f;let _0x4d3282=(_0x29386f=_0x568cf2[_0xfb5ea2(0x2f7)])==null?void 0x0:_0x29386f[_0x1ca5d6];_0x4d3282&>(_0x4d3282,_0x56f606);}),!0x0;}function Ht(_0x460f49,_0x2a62fc){const _0x2fbab6=_0x5daf81;let _0xb4f688=new Set();return _0x2a62fc[_0x2fbab6(0x36c)](_0x3f385c=>{const _0x14a3ac=_0x2fbab6;var _0x3c903a;if(!_0x3f385c[_0x14a3ac(0x221)]||!_0x3f385c[_0x14a3ac(0x1c6)]||!_0x3f385c[_0x14a3ac(0x4a1)])return[];let _0x1a013d=_0x3f385c['tableId']+'\x1f'+_0x3f385c[_0x14a3ac(0x1c6)]+'\x1f'+_0x3f385c[_0x14a3ac(0x4a1)];if(_0xb4f688[_0x14a3ac(0x253)](_0x1a013d))return[];_0xb4f688[_0x14a3ac(0x4ee)](_0x1a013d);let _0x141a68=(_0x3c903a=_0x460f49[_0x14a3ac(0x2f7)][_0x3f385c[_0x14a3ac(0x221)]])==null||(_0x3c903a=_0x3c903a[_0x14a3ac(0x43a)][_0x3f385c[_0x14a3ac(0x1c6)]])==null?void 0x0:_0x3c903a[_0x14a3ac(0x45b)];return _0x141a68?[{'tableId':_0x3f385c[_0x14a3ac(0x221)],'recordId':_0x3f385c['recordId'],'fieldId':_0x3f385c[_0x14a3ac(0x4a1)],'exists':Object['prototype'][_0x14a3ac(0x4d7)][_0x14a3ac(0x35d)](_0x141a68,_0x3f385c[_0x14a3ac(0x4a1)]),'value':_0x141a68[_0x3f385c[_0x14a3ac(0x4a1)]]}]:[];});}function Ut(_0xf108f6,_0x53d945){_0x53d945['forEach'](_0x4b49c1=>{const _0x244b6d=_0x188f;var _0x3f54ea;let _0x46fcc1=(_0x3f54ea=_0xf108f6[_0x244b6d(0x2f7)][_0x4b49c1[_0x244b6d(0x221)]])==null||(_0x3f54ea=_0x3f54ea['records'][_0x4b49c1[_0x244b6d(0x1c6)]])==null?void 0x0:_0x3f54ea[_0x244b6d(0x45b)];_0x46fcc1&&(_0x4b49c1[_0x244b6d(0x4ac)]?_0x46fcc1[_0x4b49c1['fieldId']]=_0x4b49c1[_0x244b6d(0x3fd)]:delete _0x46fcc1[_0x4b49c1[_0x244b6d(0x4a1)]]);});}function Wt(_0x3f604b){const _0xe8bbd4=_0x5daf81;if(!Array[_0xe8bbd4(0x31e)](_0x3f604b)||_0x3f604b[_0xe8bbd4(0x21d)]<0x2)return[{'tableId':'','reason':_0xe8bbd4(0x275)}];let _0x409c31=_0x3f604b,_0x530959=_0x409c31['indexOf'](_0xe8bbd4(0x2f7));return _0x530959===-0x1||typeof _0x409c31[_0x530959+0x1]!=_0xe8bbd4(0x2ed)?_0x409c31[0x0]===_0xe8bbd4(0x3ee)?[]:[{'tableId':'','reason':_0xe8bbd4(0x275)}]:Gt(_0x409c31,_0x530959,String(_0x409c31[_0x530959+0x1]));}function Gt(_0x366d24,_0x8e4c6a,_0x44ec03){const _0x57dac5=_0x5daf81;let _0x452e9b=_0x366d24[_0x8e4c6a+0x2];return _0x452e9b===_0x57dac5(0x43a)&&typeof _0x366d24[_0x8e4c6a+0x3]==_0x57dac5(0x2ed)?Kt(_0x366d24,_0x8e4c6a,_0x44ec03,String(_0x366d24[_0x8e4c6a+0x3])):_0x452e9b===_0x57dac5(0x1d3)&&_0x366d24[_0x8e4c6a+0x3]!=null&&_0x366d24[_0x8e4c6a+0x4]!=null?[{'tableId':_0x44ec03,'reason':_0x57dac5(0x203),'row':Number(_0x366d24[_0x8e4c6a+0x3]),'column':Number(_0x366d24[_0x8e4c6a+0x4])}]:_0x452e9b==='fields'&&typeof _0x366d24[_0x8e4c6a+0x3]==_0x57dac5(0x2ed)?[{'tableId':_0x44ec03,'reason':_0x57dac5(0x50a),'fieldId':String(_0x366d24[_0x8e4c6a+0x3])}]:_0x452e9b===_0x57dac5(0x1d6)?[{'tableId':_0x44ec03,'reason':_0x57dac5(0x50a)}]:_0x452e9b===_0x57dac5(0x3da)?[{'tableId':_0x44ec03,'reason':_0x57dac5(0x1b5)}]:_0x452e9b==='views'&&typeof _0x366d24[_0x8e4c6a+0x3]==_0x57dac5(0x2ed)?[{'tableId':_0x44ec03,'reason':_0x57dac5(0x3a6),'viewId':String(_0x366d24[_0x8e4c6a+0x3])}]:_0x452e9b===_0x57dac5(0x410)?[{'tableId':_0x44ec03,'reason':_0x57dac5(0x3a6)}]:_0x452e9b==='resources'?[{'tableId':_0x44ec03,'reason':'cell'}]:[{'tableId':_0x44ec03,'reason':_0x452e9b===void 0x0?_0x57dac5(0x524):_0x57dac5(0x275)}];}function Kt(_0x17c3d4,_0x224643,_0x260351,_0x409fb8){const _0x90df2c=_0x5daf81;return _0x17c3d4[_0x224643+0x4]==='values'&&typeof _0x17c3d4[_0x224643+0x5]==_0x90df2c(0x2ed)?[{'tableId':_0x260351,'reason':_0x90df2c(0x203),'recordId':_0x409fb8,'fieldId':String(_0x17c3d4[_0x224643+0x5])}]:_0x17c3d4[_0x224643+0x4]===_0x90df2c(0x35b)||_0x17c3d4[_0x224643+0x4]==='updatedBy'?[]:[{'tableId':_0x260351,'reason':_0x90df2c(0x1b5),'recordId':_0x409fb8}];}function qt(_0x153582){const _0x465df8=_0x5daf81;if(!Array[_0x465df8(0x31e)](_0x153582))return[];let _0x422daa=_0x153582[_0x465df8(0x32f)](Array[_0x465df8(0x31e)]);if(_0x422daa[_0x465df8(0x21d)]>0x1&&_0x422daa[_0x465df8(0x21d)]===_0x153582['length'])return _0x422daa;let _0x41aed2=_0x153582[_0x465df8(0x564)](Array[_0x465df8(0x31e)]);if(_0x41aed2>0x0&&_0x153582[_0x465df8(0x1cb)](_0x41aed2)[_0x465df8(0x2ab)](Array['isArray'])){let _0x48b17e=_0x153582[_0x465df8(0x1cb)](0x0,_0x41aed2);return _0x153582[_0x465df8(0x1cb)](_0x41aed2)[_0x465df8(0x2b0)](_0x31bb9e=>[..._0x48b17e,..._0x31bb9e]);}let _0xb7b2c8=_0x153582['indexOf'](_0x465df8(0x2f7));if(_0xb7b2c8===-0x1||typeof _0x153582[_0xb7b2c8+0x1]!=_0x465df8(0x2ed))return[];let _0x95802f=String(_0x153582[_0xb7b2c8+0x1]),_0x2273ab=_0x153582[_0x465df8(0x1cb)](_0xb7b2c8+0x2)[_0x465df8(0x32f)](Array['isArray']);return _0x2273ab[_0x465df8(0x21d)]<=0x1?[]:_0x2273ab[_0x465df8(0x2b0)](_0x346b90=>['tables',_0x95802f,..._0x346b90]);}function Jt(_0x1b30b8){let _0x4c4abe=new Set();return _0x1b30b8['filter'](_0x1a0dd8=>{const _0x44a048=_0x188f;let _0x4a63c7=JSON['stringify'](_0x1a0dd8);return!_0x4c4abe[_0x44a048(0x253)](_0x4a63c7)&&(_0x4c4abe[_0x44a048(0x4ee)](_0x4a63c7),!0x0);});}function Yt(_0x221093){const _0x4db03c=_0x5daf81;return _0x9abbbc[_0x4db03c(0x28e)](_0x221093);}function Xt(_0x302971,_0x573626){const _0x52949d=_0x5daf81;let _0x127887=Zt(_0x573626);if(!_0x127887[_0x52949d(0x21d)])return Yt(_0x302971);let _0x5e9935=an(_0x302971),_0x352e11=new Set();for(let _0x733dcc of _0x127887)en(_0x5e9935,_0x733dcc,_0x352e11);return _0x5e9935;}function Zt(_0x486b05){let _0x5d073d=[];return Qt(_0x486b05,[],_0x5d073d),_0x5d073d;}function Qt(_0x1be515,_0x3baead,_0x2206f2){const _0x2e6384=_0x5daf81;if(!Array[_0x2e6384(0x31e)](_0x1be515))return;let _0x2e221a=[];for(let _0x59d30f of _0x1be515)Array[_0x2e6384(0x31e)](_0x59d30f)?Qt(_0x59d30f,[..._0x3baead,..._0x2e221a],_0x2206f2):$t(_0x59d30f)?_0x2206f2[_0x2e6384(0x482)]([..._0x3baead,..._0x2e221a]):(typeof _0x59d30f=='string'||typeof _0x59d30f=='number')&&_0x2e221a[_0x2e6384(0x482)](_0x59d30f);}function $t(_0x1a5ac2){const _0x437ffe=_0x5daf81;if(!_0x1a5ac2||typeof _0x1a5ac2!=_0x437ffe(0x1fb)||Array[_0x437ffe(0x31e)](_0x1a5ac2))return!0x1;let _0x306ab9=_0x1a5ac2;return'i'in _0x306ab9||'r'in _0x306ab9||'p'in _0x306ab9||'d'in _0x306ab9||'es'in _0x306ab9||'ena'in _0x306ab9||'et'in _0x306ab9;}function en(_0x1c7122,_0x55f87a,_0xab95e){const _0x1946ba=_0x5daf81;let _0x4f69ef=_0x1c7122,_0x3abaeb=[];for(let _0x388a34=0x0;_0x388a34<_0x55f87a['length']-0x1;_0x388a34++){let _0x474f0e=_0x55f87a[_0x388a34];_0x3abaeb['push'](_0x474f0e);let _0x330945=tn(_0x4f69ef,_0x474f0e);if(!rn(_0x330945))return;let _0x1cdf03=JSON[_0x1946ba(0x439)](_0x3abaeb);_0xab95e[_0x1946ba(0x253)](_0x1cdf03)||(nn(_0x4f69ef,_0x474f0e,an(_0x330945)),_0xab95e['add'](_0x1cdf03));let _0x1cdab7=tn(_0x4f69ef,_0x474f0e);if(!rn(_0x1cdab7))return;_0x4f69ef=_0x1cdab7;}}function tn(_0x8514ca,_0x2f19aa){const _0x4e03a8=_0x5daf81;return Array['isArray'](_0x8514ca)?typeof _0x2f19aa==_0x4e03a8(0x53d)?_0x8514ca[_0x2f19aa]:void 0x0:Reflect['get'](_0x8514ca,_0x2f19aa);}function nn(_0x46c8b7,_0xa6ad96,_0x3ecf29){const _0x423842=_0x5daf81;Array[_0x423842(0x31e)](_0x46c8b7)?typeof _0xa6ad96==_0x423842(0x53d)&&(_0x46c8b7[_0xa6ad96]=_0x3ecf29):Reflect[_0x423842(0x1ba)](_0x46c8b7,_0xa6ad96,_0x3ecf29);}function rn(_0x255b0f){const _0xb9d219=_0x5daf81;return!!_0x255b0f&&typeof _0x255b0f==_0xb9d219(0x1fb);}function an(_0x3e5f75){const _0x2417a2=_0x5daf81;return Array['isArray'](_0x3e5f75)?_0x3e5f75[_0x2417a2(0x1cb)]():{..._0x3e5f75};}const on=_0x5daf81(0x286),sn=/\s+hh:mm\s*$/i,cn={'yyyy/mm/dd':_0x5daf81(0x2bb),'yyyy-mm-dd':_0x5daf81(0x42a),'mm-dd':_0x5daf81(0x311),'mm/dd/yyyy':'MM/DD/YYYY','dd/mm/yyyy':'DD/MM/YYYY','mmm\x20d,\x20yyyy':'MMM\x20D,\x20YYYY'};function B(_0x2e8546,_0x163416=_0x7c5fe2[_0x5daf81(0x486)]){const _0x49314b=_0x5daf81;let _0x15c5e5=_0x35a742(_0x2e8546)[_0x49314b(0x2fd)]();return _0x3f8456(new Date(_0x15c5e5),_0x163416);}function ln(_0x560953,_0x25520f=_0x7c5fe2[_0x5daf81(0x486)]){const _0x50589e=_0x5daf81;return _0x4cb662(_0x560953,_0x25520f)[_0x50589e(0x489)]();}function un(_0x4d5ee8,_0x449fb6=_0x7c5fe2[_0x5daf81(0x486)]){const _0x2e7622=_0x5daf81;if(_0x4d5ee8==null||_0x4d5ee8==='')return null;if(_0x4d5ee8 instanceof Date)return B(_0x4d5ee8,_0x449fb6);if(typeof _0x4d5ee8=='number')return Number[_0x2e7622(0x2fc)](_0x4d5ee8)?_0x4d5ee8>0xf4240?B(_0x4d5ee8,_0x449fb6):_0x4d5ee8:null;let _0x1b1b8b=Date['parse'](String(_0x4d5ee8));return Number[_0x2e7622(0x24e)](_0x1b1b8b)?null:B(_0x1b1b8b,_0x449fb6);}function dn(_0x2212c8,_0x3d9301=_0x7c5fe2[_0x5daf81(0x486)]){let _0x21a292=un(_0x2212c8,_0x3d9301);return _0x21a292==null?null:ln(_0x21a292,_0x3d9301);}function fn(_0x41b844={}){const _0x4e9643=_0x5daf81;let _0x8ca812=String(_0x41b844['pattern']??_0x41b844[_0x4e9643(0x444)]??_0x41b844['dateFormat']??on)[_0x4e9643(0x3a5)]()||on,_0x3fb2a0=sn['test'](_0x8ca812);return{'pattern':_0x8ca812[_0x4e9643(0x39b)](sn,'')||on,'includeTime':typeof _0x41b844[_0x4e9643(0x427)]=='boolean'?_0x41b844[_0x4e9643(0x427)]:_0x3fb2a0,'hourCycle':_0x41b844[_0x4e9643(0x484)]===_0x4e9643(0x4fc)?_0x4e9643(0x4fc):_0x4e9643(0x34c)};}function pn(_0x17015c={}){let {format:_0x203ce8,dateFormat:_0x646578,..._0x27f281}=_0x17015c;return{..._0x27f281,...fn(_0x17015c)};}function mn(_0xda8232,_0xf4de4c={}){const _0x2f5d59=_0x5daf81;let _0x1739aa=dn(_0xda8232);if(_0x1739aa==null||!Number[_0x2f5d59(0x2fc)](_0x1739aa))return'';let _0x58f050=fn(_0xf4de4c);return _0x35a742(_0x1739aa)['format'](hn(_0x58f050));}function hn(_0x362156){const _0x4bf2aa=_0x5daf81;let {pattern:_0x11f1c8,includeTime:_0x2788f1,hourCycle:_0x193a72}=_0x362156,_0x1f01be=cn[_0x11f1c8]??cn[on];return _0x2788f1?_0x1f01be+'\x20'+(_0x193a72===_0x4bf2aa(0x4fc)?_0x4bf2aa(0x3d9):_0x4bf2aa(0x28a)):_0x1f01be;}const gn={'editable':!0x0,'sortable':!0x0,'filterable':!0x0,'groupable':!0x1,'usableAsKanbanGroup':!0x1,'usableAsCalendarDate':!0x1,'usableAsGanttStart':!0x1,'usableAsGanttEnd':!0x1,'usableAsGanttProgress':!0x1,'usableAsCardCover':!0x1,'usableAsTitle':!0x1},_n=new Set([_0x618ba[_0x5daf81(0x28f)]]);function vn(_0x4ecb23){const _0x4fd232=_0x5daf81;switch(_0x4ecb23){case _0x618ba[_0x4fd232(0x480)]:case _0x618ba[_0x4fd232(0x20a)]:case _0x618ba['Progress']:case _0x618ba['Rating']:return[_0xb7a4f0['IS'],_0xb7a4f0[_0x4fd232(0x46b)],_0xb7a4f0[_0x4fd232(0x533)],_0xb7a4f0[_0x4fd232(0x49f)],_0xb7a4f0['IS_EMPTY'],_0xb7a4f0[_0x4fd232(0x53f)]];case _0x618ba[_0x4fd232(0x47c)]:case _0x618ba[_0x4fd232(0x3fb)]:case _0x618ba[_0x4fd232(0x29f)]:return[_0xb7a4f0['IS'],_0xb7a4f0[_0x4fd232(0x46b)],_0xb7a4f0['BEFORE'],_0xb7a4f0[_0x4fd232(0x35f)],_0xb7a4f0['IS_EMPTY'],_0xb7a4f0[_0x4fd232(0x53f)]];case _0x618ba[_0x4fd232(0x4bb)]:return[_0xb7a4f0['IS'],_0xb7a4f0['IS_NOT']];default:return[_0xb7a4f0['IS'],_0xb7a4f0[_0x4fd232(0x46b)],_0xb7a4f0[_0x4fd232(0x421)],_0xb7a4f0['NOT_CONTAINS'],_0xb7a4f0['IS_EMPTY'],_0xb7a4f0[_0x4fd232(0x53f)]];}}function yn(_0x504923){const _0x1b38b5=_0x5daf81;return _0x504923===_0x618ba[_0x1b38b5(0x47c)]||_0x504923===_0x618ba[_0x1b38b5(0x3fb)]||_0x504923===_0x618ba[_0x1b38b5(0x29f)];}function bn(_0xa5fc1,_0x464b11){const _0xeb66c0=_0x5daf81;return _0xa5fc1==null&&_0x464b11==null?0x0:_0xa5fc1==null?-0x1:_0x464b11==null?0x1:typeof _0xa5fc1==_0xeb66c0(0x53d)&&typeof _0x464b11==_0xeb66c0(0x53d)?_0xa5fc1-_0x464b11:String(_0xa5fc1)['localeCompare'](String(_0x464b11));}function xn(_0x1489db,_0x1bf09a,_0x3e9d37,_0x41065d,_0x5cf307={}){const _0x53db1=_0x5daf81;if(_0x1bf09a===_0x53db1(0x32a))return Sn(_0x1489db);if(_0x1bf09a===_0x53db1(0x558))return!Sn(_0x1489db);switch(_0x41065d[_0x53db1(0x305)]){case _0x618ba[_0x53db1(0x480)]:case _0x618ba[_0x53db1(0x20a)]:case _0x618ba['Progress']:case _0x618ba[_0x53db1(0x238)]:return Cn(_0x1489db,_0x1bf09a,_0x3e9d37);case _0x618ba[_0x53db1(0x47c)]:case _0x618ba[_0x53db1(0x3fb)]:case _0x618ba[_0x53db1(0x29f)]:return Tn(_0x1489db,_0x1bf09a,_0x3e9d37,_0x5cf307);case _0x618ba['Checkbox']:return jn(_0x1489db,_0x1bf09a,_0x3e9d37);case _0x618ba['SingleSelect']:case _0x618ba[_0x53db1(0x3a1)]:case _0x618ba[_0x53db1(0x1e9)]:case _0x618ba[_0x53db1(0x377)]:return Nn(_0x1489db,_0x1bf09a,_0x3e9d37,_0x41065d);default:return Pn(_0x1489db,_0x1bf09a,_0x3e9d37);}}function Sn(_0x3925fe){const _0x5a0fa2=_0x5daf81;return _0x3925fe==null?!0x0:Array['isArray'](_0x3925fe)?_0x3925fe[_0x5a0fa2(0x21d)]===0x0:typeof _0x3925fe==_0x5a0fa2(0x2ed)&&_0x3925fe[_0x5a0fa2(0x3a5)]()==='';}function Cn(_0x39cc48,_0x59c951,_0x3c8af5){const _0x31677e=_0x5daf81;let _0x1bd7b9=wn(_0x39cc48),_0x23764b=wn(_0x3c8af5);if(_0x1bd7b9==null||_0x23764b==null)return!0x1;switch(_0x59c951){case'is':return _0x1bd7b9===_0x23764b;case _0x31677e(0x4b5):return _0x1bd7b9!==_0x23764b;case _0x31677e(0x4fd):return _0x1bd7b9>_0x23764b;case _0x31677e(0x514):return _0x1bd7b9>=_0x23764b;case _0x31677e(0x1f1):return _0x1bd7b9<_0x23764b;case _0x31677e(0x4b7):return _0x1bd7b9<=_0x23764b;default:return!0x1;}}function wn(_0x53b4dd){const _0x3179e8=_0x5daf81;if(_0x53b4dd==null||_0x53b4dd==='')return null;let _0x3a1399=Number(_0x53b4dd);return Number[_0x3179e8(0x2fc)](_0x3a1399)?_0x3a1399:null;}function Tn(_0x366662,_0x28fca4,_0x1d8cb0,_0x480817){const _0x165c17=_0x5daf81;let _0x40b1e1=Dn(_0x366662);if(_0x40b1e1==null)return!0x1;let _0x484a0c=En(_0x480817[_0x165c17(0x431)]??_0x1a2fb9[_0x165c17(0x4b8)],_0x1d8cb0,_0x480817[_0x165c17(0x1d5)]);if(!_0x484a0c)return!0x1;switch(_0x28fca4){case _0xb7a4f0['IS']:return _0x40b1e1>=_0x484a0c['start']&&_0x40b1e1<=_0x484a0c['end'];case _0xb7a4f0[_0x165c17(0x46b)]:return _0x40b1e1<_0x484a0c[_0x165c17(0x455)]||_0x40b1e1>_0x484a0c[_0x165c17(0x2fe)];case _0xb7a4f0['BEFORE']:return _0x40b1e1<_0x484a0c[_0x165c17(0x455)];case _0xb7a4f0['AFTER']:return _0x40b1e1>_0x484a0c[_0x165c17(0x2fe)];default:return!0x1;}}function En(_0x489766,_0x2702cf,_0x440320=Date[_0x5daf81(0x1d5)]()){const _0x14e9aa=_0x5daf81;let _0x7e5b5f=On(_0x440320);switch(_0x489766){case _0x1a2fb9['EXACT']:{let _0x23d427=Dn(_0x2702cf);return _0x23d427==null?null:V(_0x23d427,0x0,0x1);}case _0x1a2fb9['TODAY']:return V(_0x7e5b5f,0x0,0x1);case _0x1a2fb9['TOMORROW']:return V(_0x7e5b5f,0x1,0x1);case _0x1a2fb9['YESTERDAY']:return V(_0x7e5b5f,-0x1,0x1);case _0x1a2fb9[_0x14e9aa(0x445)]:return kn(_0x7e5b5f,0x0);case _0x1a2fb9[_0x14e9aa(0x2a9)]:return kn(_0x7e5b5f,-0x1);case _0x1a2fb9[_0x14e9aa(0x307)]:return An(_0x7e5b5f,0x0);case _0x1a2fb9['LAST_MONTH']:return An(_0x7e5b5f,-0x1);case _0x1a2fb9[_0x14e9aa(0x30f)]:return V(_0x7e5b5f,-0x6,0x7);case _0x1a2fb9['NEXT_7_DAYS']:return V(_0x7e5b5f,0x0,0x7);case _0x1a2fb9[_0x14e9aa(0x269)]:return V(_0x7e5b5f,-0x1d,0x1e);case _0x1a2fb9[_0x14e9aa(0x505)]:return V(_0x7e5b5f,0x0,0x1e);}}function Dn(_0xc1b2dd){let _0x4bbc47=un(_0xc1b2dd);return _0x4bbc47==null?null:On(ln(_0x4bbc47));}function On(_0x3060d4){const _0x3bc371=_0x5daf81;let _0x49627f=new Date(_0x3060d4);return _0x49627f[_0x3bc371(0x1d2)](0x0,0x0,0x0,0x0),_0x49627f[_0x3bc371(0x489)]();}function kn(_0x5f092f,_0x418934){const _0xc83191=_0x5daf81;return V(_0x5f092f,-((new Date(_0x5f092f)[_0xc83191(0x2d5)]()+0x6)%0x7)+_0x418934*0x7,0x7);}function V(_0x12d9ac,_0x32c4fa,_0x4f5820){const _0xaec165=_0x5daf81;let _0x164ac4=_0x35a742(_0x12d9ac)['add'](_0x32c4fa,_0xaec165(0x2d1));return{'start':_0x164ac4[_0xaec165(0x2fd)](),'end':_0x164ac4['add'](_0x4f5820,_0xaec165(0x2d1))[_0xaec165(0x2fd)]()-0x1};}function An(_0x83c0e0,_0x4bf0ea){const _0x2d570a=_0x5daf81;let _0x8f20f8=new Date(_0x83c0e0),_0xe22398=new Date(_0x8f20f8['getFullYear'](),_0x8f20f8[_0x2d570a(0x40d)]()+_0x4bf0ea,0x1),_0x289800=new Date(_0x8f20f8[_0x2d570a(0x52b)](),_0x8f20f8[_0x2d570a(0x40d)]()+_0x4bf0ea+0x1,0x1);return{'start':_0xe22398[_0x2d570a(0x489)](),'end':_0x289800[_0x2d570a(0x489)]()-0x1};}function jn(_0x5d2dad,_0x41cf9c,_0x1deaa8){const _0x5c99c0=_0x5daf81;let _0x4f2e6e=Mn(_0x5d2dad),_0x32744f=Mn(_0x1deaa8);switch(_0x41cf9c){case'is':return _0x4f2e6e===_0x32744f;case _0x5c99c0(0x4b5):return _0x4f2e6e!==_0x32744f;default:return!0x1;}}function Mn(_0x42fe02){return _0x42fe02===!0x0||_0x42fe02==='true'||_0x42fe02===0x1||_0x42fe02==='1';}function Nn(_0xb6606f,_0x2998fa,_0x350bdc,_0x1f15a3){const _0x4b8fa7=_0x5daf81;let _0x5dee61=In(_0xb6606f,_0x1f15a3),_0x2f7850=In(_0x350bdc,_0x1f15a3),_0x2d708c=_0x2f7850[_0x4b8fa7(0x21d)]>0x0&&_0x2f7850['some'](_0x3005c4=>_0x5dee61[_0x4b8fa7(0x4f9)](_0x3005c4));switch(_0x2998fa){case'is':case _0x4b8fa7(0x293):return _0x2d708c;case _0x4b8fa7(0x4b5):case _0x4b8fa7(0x1d9):return!_0x2d708c;default:return!0x1;}}function Pn(_0x5ac89a,_0x1c9c5e,_0x5bb060){const _0x326705=_0x5daf81;let _0x5eafcd=Fn(_0x5ac89a),_0x2d80e5=Fn(_0x5bb060);switch(_0x1c9c5e){case'is':return _0x5eafcd===_0x2d80e5;case _0x326705(0x4b5):return _0x5eafcd!==_0x2d80e5;case _0x326705(0x293):return _0x2d80e5?_0x5eafcd[_0x326705(0x4f9)](_0x2d80e5):!0x1;case _0x326705(0x1d9):return!_0x2d80e5||!_0x5eafcd[_0x326705(0x4f9)](_0x2d80e5);default:return!0x1;}}function Fn(_0x49367d){const _0x20a812=_0x5daf81;if(Array[_0x20a812(0x31e)](_0x49367d))return _0x49367d[_0x20a812(0x2b0)](_0x4f7814=>Fn(_0x4f7814))[_0x20a812(0x30a)]('\x0a');if(_0x49367d&&typeof _0x49367d==_0x20a812(0x1fb)){let _0x3117af=_0x49367d;return String(_0x3117af['name']??_0x3117af[_0x20a812(0x20b)]??_0x3117af[_0x20a812(0x38e)]??_0x3117af['value']??_0x3117af['id']??'')[_0x20a812(0x3a5)]()[_0x20a812(0x40c)]();}return String(_0x49367d??'')['trim']()['toLowerCase']();}function In(_0x45ba9b,_0x58c1cf){const _0x3e3dea=_0x5daf81;let _0x42e6c4=Ln(_0x45ba9b),_0x1f063c=Rn(_0x58c1cf['config']??{});return _0x42e6c4['flatMap'](_0x1420b5=>_0x1f063c[_0x3e3dea(0x315)](_0x1420b5)??[_0x1420b5])[_0x3e3dea(0x32f)]((_0x347447,_0x5a28a2,_0x59d2e4)=>_0x347447!==''&&_0x59d2e4[_0x3e3dea(0x25c)](_0x347447)===_0x5a28a2);}function Ln(_0x1a37f8){const _0x117a4a=_0x5daf81;if(_0x1a37f8==null||_0x1a37f8==='')return[];if(Array[_0x117a4a(0x31e)](_0x1a37f8))return _0x1a37f8[_0x117a4a(0x36c)](_0xaca02f=>Ln(_0xaca02f));if(_0x1a37f8&&typeof _0x1a37f8=='object'){let _0x1109bb=_0x1a37f8;return['id',_0x117a4a(0x322),'label',_0x117a4a(0x3fd),_0x117a4a(0x38e)]['flatMap'](_0x96f97c=>Ln(_0x1109bb[_0x96f97c]))[_0x117a4a(0x32f)]((_0x426979,_0x5c2602,_0x47f7d0)=>_0x47f7d0[_0x117a4a(0x25c)](_0x426979)===_0x5c2602);}return[Fn(_0x1a37f8)];}function Rn(_0x55f23c){const _0x2113e7=_0x5daf81;let _0x49177b=new Map();return(Array['isArray'](_0x55f23c[_0x2113e7(0x49e)])?_0x55f23c['options']:[])[_0x2113e7(0x429)](_0x9aa635=>{const _0x5b450a=_0x2113e7;if(!_0x9aa635||typeof _0x9aa635!='object')return;let _0x2b740b=Ln(_0x9aa635),_0x927843=_0x2b740b[_0x5b450a(0x32f)]((_0xfc87bc,_0x50a212)=>_0xfc87bc!==''&&_0x2b740b[_0x5b450a(0x25c)](_0xfc87bc)===_0x50a212);_0x927843['forEach'](_0x24d07b=>_0x49177b[_0x5b450a(0x1ba)](_0x24d07b,_0x927843));}),_0x49177b;}function H(_0x5f4023,_0x1d3ea4={},_0x5dcf44=_0x389b1d=>_0x389b1d,_0xc40e4f={}){const _0x151f1d=_0x5daf81;let _0x522f22=!_n['has'](_0x5f4023),_0x1d9a3a=_0x5dcf44??(_0x481beb=>_0x481beb);return{'type':_0x5f4023,'i18nKey':_0x151f1d(0x542)+_0x5f4023,'enabled':_0x522f22,'visibleInCreateMenu':_0x522f22,'createDefaultConfig':_0xc40e4f['createDefaultConfig']??(()=>({})),'createDefaultValue':_0xc40e4f['createDefaultValue']??(_0x22ad83=>_0x22ad83[_0x151f1d(0x224)]??null),'normalize':(_0x44cc2c,_0x222343)=>_0x1d9a3a(_0x44cc2c,_0x222343),'validate':(_0x25a87f,_0x192e49)=>{const _0x11466b=_0x151f1d;var _0x569254;return _0x522f22?((_0x569254=_0xc40e4f[_0x11466b(0x240)])==null?void 0x0:_0x569254[_0x11466b(0x35d)](_0xc40e4f,_0x25a87f,_0x192e49))??{'valid':!0x0}:{'valid':!0x1};},'compare':(_0x206de7,_0x40ddcf)=>bn(_0x206de7,_0x40ddcf),'filter':(_0x494e1b,_0x1226c8,_0x2fe4d4,_0x4dc5b0)=>xn(_0x494e1b,_0x1226c8,_0x2fe4d4,_0x4dc5b0),'toPlainText':_0xc40e4f[_0x151f1d(0x4ff)]??(_0x237f15=>_0x237f15==null?'':String(_0x237f15)),'fromPlainText':_0xc40e4f['fromPlainText']??(_0x451ed9=>_0x1d9a3a(_0x451ed9,{'id':'','name':'','type':_0x5f4023,'config':{}})),'getCapabilities':()=>({...gn,..._0x1d3ea4,'editable':_0x522f22&&(_0x1d3ea4[_0x151f1d(0x2cf)]??gn[_0x151f1d(0x2cf)])})};}function zn(){const _0x40ec81=_0x5daf81;return[H(_0x618ba[_0x40ec81(0x1da)],{'groupable':!0x0,'usableAsTitle':!0x0},void 0x0,{'createDefaultConfig':()=>({'placeholder':_0x40ec81(0x2e3)}),'createDefaultValue':_0x483eb8=>_0x483eb8[_0x40ec81(0x224)]??''}),H(_0x618ba[_0x40ec81(0x3af)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsOptions':!0x0},_0x18efbd=>_0x18efbd==null||_0x18efbd===''?null:String(_0x18efbd),{'createDefaultConfig':()=>({'options':[],'optionSource':{'type':_0x40ec81(0x2af)}})}),H(_0x618ba['MultiSelect'],{'filterable':!0x0,'usableAsKanbanGroup':!0x0,'supportsOptions':!0x0,'supportsMultipleValues':!0x0},_0x2f6559=>Array['isArray'](_0x2f6559)?_0x2f6559['map'](String):_0x2f6559==null?[]:[String(_0x2f6559)],{'createDefaultConfig':()=>({'options':[],'optionSource':{'type':_0x40ec81(0x2af)}}),'createDefaultValue':_0x2e39a3=>_0x2e39a3[_0x40ec81(0x224)]??[]}),H(_0x618ba[_0x40ec81(0x1e9)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsMultipleValues':!0x0},Wn,{'createDefaultConfig':()=>({'allowMultiple':!0x1,'provider':_0x40ec81(0x389)}),'validate':Gn}),H(_0x618ba[_0x40ec81(0x377)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsMultipleValues':!0x0},Hn,{'createDefaultConfig':()=>({'allowMultiple':!0x0,'provider':_0x40ec81(0x3e9)}),'createDefaultValue':_0x5dfa11=>_0x5dfa11[_0x40ec81(0x224)]??[],'validate':Kn}),H(_0x618ba[_0x40ec81(0x47c)],{'groupable':!0x0,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x4fbc76=>un(_0x4fbc76),{'createDefaultConfig':()=>Vn(),'validate':qn}),H(_0x618ba[_0x40ec81(0x1f8)],{'usableAsCardCover':!0x0,'supportsMultipleValues':!0x0},_0x235c3b=>_0x235c3b==null?[]:Array[_0x40ec81(0x31e)](_0x235c3b)?_0x235c3b:[_0x235c3b],{'createDefaultValue':_0x4eae03=>_0x4eae03[_0x40ec81(0x224)]??[]}),H(_0x618ba[_0x40ec81(0x480)],{},_0x4eeed2=>_0x4eeed2==null||_0x4eeed2===''?null:Number(_0x4eeed2),{'createDefaultConfig':()=>Bn(),'validate':Jn}),H(_0x618ba['Checkbox'],{'groupable':!0x0,'usableAsKanbanGroup':!0x0},_0x45b444=>_0x45b444===!0x0||_0x45b444===_0x40ec81(0x40e)||_0x45b444===0x1||_0x45b444==='1',{'createDefaultConfig':()=>({'icon':_0x40ec81(0x4b2),'color':_0x40ec81(0x1c8)}),'createDefaultValue':_0x56b4d5=>_0x56b4d5[_0x40ec81(0x224)]??!0x1,'validate':_0x3520b3=>typeof _0x3520b3==_0x40ec81(0x26c)?{'valid':!0x0}:{'valid':!0x1,'reason':_0x40ec81(0x51a)}}),H(_0x618ba[_0x40ec81(0x42d)],{'supportsRelation':!0x0},Xn,{'createDefaultConfig':()=>({'placeholder':'bases.fieldConfig.linkPlaceholder'}),'toPlainText':_0x47e6d5=>Zn(_0x47e6d5),'fromPlainText':_0x4f410a=>Xn(_0x4f410a)}),H(_0x618ba['Formula'],{'editable':!0x1},void 0x0,{'createDefaultConfig':()=>({'formula':'','dependencies':[],'numfmt':{'type':_0x40ec81(0x271),'pattern':_0x40ec81(0x309)}}),'createDefaultValue':()=>null}),H(_0x618ba[_0x40ec81(0x1e7)],{'editable':!0x1,'usableAsTitle':!0x0},void 0x0,{'createDefaultConfig':()=>({'mode':_0x40ec81(0x43f)}),'createDefaultValue':()=>null}),H(_0x618ba[_0x40ec81(0x3a4)],{'usableAsTitle':!0x0},_0x442efd=>_0x442efd==null?null:String(_0x442efd)[_0x40ec81(0x3a5)](),{'validate':_0x460b25=>_0x460b25==null||_0x460b25===''||/^\+?[0-9 ()-]{6,20}$/[_0x40ec81(0x27c)](String(_0x460b25))?{'valid':!0x0}:{'valid':!0x1,'reason':'[BaseField]:\x20invalid\x20phone\x20value.'}}),H(_0x618ba['Email'],{'usableAsTitle':!0x0},_0x36a190=>_0x36a190==null?null:String(_0x36a190)[_0x40ec81(0x3a5)](),{'validate':_0x52715f=>_0x52715f==null||_0x52715f===''||$n(String(_0x52715f))?{'valid':!0x0}:{'valid':!0x1,'reason':_0x40ec81(0x378)}}),H(_0x618ba['Progress'],{'usableAsGanttProgress':!0x0},_0x17fd08=>_0x17fd08==null||_0x17fd08===''?null:Number(_0x17fd08),{'createDefaultConfig':()=>({'format':'percent','decimalPlaces':0x0,'color':_0x40ec81(0x2d0),'customRange':!0x1,'start':0x0,'end':0x64}),'validate':(_0x35d052,_0xac2651)=>Yn(_0x35d052,_0xac2651,_0x40ec81(0x52e))}),H(_0x618ba[_0x40ec81(0x20a)],{},_0x376020=>_0x376020==null||_0x376020===''?null:Number(_0x376020),{'createDefaultConfig':()=>({...Bn(),'currencySymbol':'$'}),'validate':Jn}),H(_0x618ba['Rating'],{'groupable':!0x0,'usableAsKanbanGroup':!0x0},_0xacb2c3=>_0xacb2c3==null||_0xacb2c3===''?null:Number(_0xacb2c3),{'createDefaultConfig':()=>({'icon':'star','min':0x1,'max':0x5}),'createDefaultValue':()=>null,'validate':(_0x3e99d8,_0x4fe56e)=>Yn(_0x3e99d8,_0x4fe56e,_0x40ec81(0x213))}),H(_0x618ba[_0x40ec81(0x2e6)],{'supportsRelation':!0x0,'supportsMultipleValues':!0x0},Un,{'createDefaultConfig':()=>({'targetTableId':'','multiple':!0x1}),'createDefaultValue':()=>'','validate':(_0x24aab9,_0x8d6b2d)=>ze(_0x24aab9,_0x8d6b2d['config']['multiple']===!0x0)}),H(_0x618ba['RecordId'],{'editable':!0x1,'sortable':!0x0,'filterable':!0x0,'usableAsTitle':!0x0}),H(_0x618ba[_0x40ec81(0x366)],{'editable':!0x1,'groupable':!0x0},_0x2a89a5=>_0x2a89a5==null?null:String(_0x2a89a5),{'createDefaultConfig':()=>({'provider':_0x40ec81(0x2e5)}),'createDefaultValue':()=>null}),H(_0x618ba[_0x40ec81(0x4d3)],{'editable':!0x1,'groupable':!0x0},_0x5dd135=>_0x5dd135==null?null:String(_0x5dd135),{'createDefaultConfig':()=>({'provider':_0x40ec81(0x2e5)}),'createDefaultValue':()=>null}),H(_0x618ba[_0x40ec81(0x3fb)],{'editable':!0x1,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x51dafd=>un(_0x51dafd),{'createDefaultConfig':()=>Vn(),'createDefaultValue':()=>null,'validate':qn}),H(_0x618ba['UpdatedAt'],{'editable':!0x1,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x577ce0=>un(_0x577ce0),{'createDefaultConfig':()=>Vn(),'createDefaultValue':()=>null,'validate':qn})];}function Bn(){const _0x389128=_0x5daf81;return{'pattern':_0x389128(0x45d),'decimalPlaces':0x2,'separatorStyle':_0x389128(0x35a),'useThousands':!0x0,'abbreviation':_0x389128(0x3e4),'allowNegative':!0x0};}function Vn(){const _0xec2076=_0x5daf81;return{'locale':_0xec2076(0x231),'pattern':_0xec2076(0x286),'includeTime':!0x1,'hourCycle':_0xec2076(0x34c),'defaultMode':_0xec2076(0x3e4)};}function Hn(_0x30e5d8){const _0x56c7ba=_0x5daf81;return _0x30e5d8==null||_0x30e5d8===''?[]:Array[_0x56c7ba(0x31e)](_0x30e5d8)?_0x30e5d8[_0x56c7ba(0x2b0)](String):[String(_0x30e5d8)];}function Un(_0x15c951){return typeof _0x15c951=='string'?_0x15c951:'';}function Wn(_0x1c44ad,_0x9df2f3){const _0x35845d=_0x5daf81;return _0x1c44ad==null||_0x1c44ad===''?_0x9df2f3[_0x35845d(0x396)][_0x35845d(0x551)]===!0x0?[]:null:_0x9df2f3['config'][_0x35845d(0x551)]===!0x0?Array[_0x35845d(0x31e)](_0x1c44ad)?_0x1c44ad[_0x35845d(0x2b0)](String):[String(_0x1c44ad)]:Array[_0x35845d(0x31e)](_0x1c44ad)?String(_0x1c44ad[0x0]??'')||null:String(_0x1c44ad);}function Gn(_0x49f2bb,_0x9d8d17){const _0x506320=_0x5daf81;return _0x9d8d17[_0x506320(0x396)][_0x506320(0x551)]===!0x0?Kn(_0x49f2bb):_0x49f2bb==null||_0x49f2bb===''||typeof _0x49f2bb=='string'?{'valid':!0x0}:{'valid':!0x1,'reason':'[BaseField]:\x20invalid\x20person\x20value.'};}function Kn(_0x5ef4fe){const _0x48643b=_0x5daf81;return _0x5ef4fe==null||Array[_0x48643b(0x31e)](_0x5ef4fe)&&_0x5ef4fe[_0x48643b(0x2ab)](_0xeeabe=>typeof _0xeeabe=='string')?{'valid':!0x0}:{'valid':!0x1,'reason':'[BaseField]:\x20invalid\x20multi-value\x20reference.'};}function qn(_0x3bf04c){const _0xc38a77=_0x5daf81;return _0x3bf04c==null||typeof _0x3bf04c==_0xc38a77(0x53d)&&Number['isFinite'](_0x3bf04c)?{'valid':!0x0}:{'valid':!0x1,'reason':_0xc38a77(0x4d5)};}function Jn(_0x40e8de,_0x4537c7){const _0x45aa34=_0x5daf81;return _0x40e8de==null||_0x40e8de===''?{'valid':!0x0}:typeof _0x40e8de!=_0x45aa34(0x53d)||!Number[_0x45aa34(0x2fc)](_0x40e8de)?{'valid':!0x1,'reason':_0x45aa34(0x3cd)}:_0x4537c7[_0x45aa34(0x396)][_0x45aa34(0x1d8)]===!0x1&&_0x40e8de<0x0?{'valid':!0x1,'reason':'[BaseField]:\x20negative\x20numbers\x20are\x20disabled.'}:{'valid':!0x0};}function Yn(_0x4397dd,_0xc5cae3,_0x1e1ece){const _0x382fbb=_0x5daf81;let _0x37dbce=Jn(_0x4397dd,_0xc5cae3);if(!_0x37dbce[_0x382fbb(0x36d)]||_0x4397dd==null||_0x4397dd==='')return _0x37dbce;let _0x58426d=Number(_0xc5cae3[_0x382fbb(0x396)][_0x382fbb(0x469)]??_0xc5cae3['config']['start']??0x0),_0x50c225=Number(_0xc5cae3[_0x382fbb(0x396)][_0x382fbb(0x29c)]??_0xc5cae3[_0x382fbb(0x396)]['end']??0x64),_0x3383e4=Number(_0x4397dd);return _0x3383e4>=_0x58426d&&_0x3383e4<=_0x50c225?{'valid':!0x0}:{'valid':!0x1,'reason':_0x1e1ece};}function Xn(_0x32888c){const _0x2dc988=_0x5daf81;if(_0x32888c==null||_0x32888c==='')return null;if(typeof _0x32888c==_0x2dc988(0x1fb)&&!Array[_0x2dc988(0x31e)](_0x32888c)){let _0x1b704b=_0x32888c,_0x45c795=typeof _0x1b704b[_0x2dc988(0x38e)]==_0x2dc988(0x2ed)?_0x1b704b['text'][_0x2dc988(0x3a5)]():'',_0x22c3c4=typeof _0x1b704b[_0x2dc988(0x4fe)]==_0x2dc988(0x2ed)?_0x1b704b[_0x2dc988(0x4fe)][_0x2dc988(0x3a5)]():'',_0x41a0ce=Qn(_0x22c3c4||_0x45c795);return _0x41a0ce?{'text':_0x45c795||_0x22c3c4||_0x41a0ce,'url':_0x41a0ce}:null;}let _0x2497ee=String(_0x32888c)[_0x2dc988(0x3a5)](),_0x267ef3=Qn(_0x2497ee);return _0x267ef3?{'text':_0x2497ee,'url':_0x267ef3}:null;}function Zn(_0x2e2952){const _0x357a5b=_0x5daf81;if(_0x2e2952==null)return'';if(typeof _0x2e2952==_0x357a5b(0x1fb)&&!Array['isArray'](_0x2e2952)){let _0x47120=_0x2e2952;return String(_0x47120[_0x357a5b(0x38e)]||_0x47120[_0x357a5b(0x4fe)]||'');}return String(_0x2e2952);}function Qn(_0x4abfa9){const _0x107b8e=_0x5daf81;let _0x1909a9=_0x4abfa9[_0x107b8e(0x3a5)]();if(!_0x1909a9)return'';let _0x418f7e=/^[a-z][a-z\d+.-]*:/i['test'](_0x1909a9)?_0x1909a9:_0x1909a9[_0x107b8e(0x265)]('//')?_0x107b8e(0x33b)+_0x1909a9:_0x107b8e(0x342)+_0x1909a9;try{let _0x22fe3c=new URL(_0x418f7e);return _0x22fe3c[_0x107b8e(0x3ec)]===_0x107b8e(0x48e)||_0x22fe3c[_0x107b8e(0x3ec)]===_0x107b8e(0x33b)?_0x22fe3c[_0x107b8e(0x395)]:'';}catch{return'';}}function $n(_0x5959fa){const _0x4722fe=_0x5daf81;let _0x30f1f0=_0x5959fa[_0x4722fe(0x25c)]('@');if(_0x30f1f0<=0x0||_0x30f1f0!==_0x5959fa[_0x4722fe(0x3d6)]('@'))return!0x1;let _0x16f2eb=_0x5959fa['slice'](_0x30f1f0+0x1);return _0x16f2eb[_0x4722fe(0x4f9)]('.')&&!_0x5959fa[_0x4722fe(0x4f9)]('\x20')&&!_0x16f2eb[_0x4722fe(0x265)]('.')&&!_0x16f2eb[_0x4722fe(0x528)]('.');}const U={'table':_0x22f91a=>[_0x5daf81(0x2f7),_0x22f91a],'field':(_0x20b0c3,_0x193bd6)=>['tables',_0x20b0c3,_0x5daf81(0x503),_0x193bd6],'fieldOrder':(_0x38706f,_0x33e849)=>['tables',_0x38706f,_0x5daf81(0x1d6),_0x33e849],'record':(_0x1d317a,_0x3bd5f8)=>[_0x5daf81(0x2f7),_0x1d317a,_0x5daf81(0x43a),_0x3bd5f8],'cell':(_0xe82b86,_0x5885e7,_0x2488c3)=>[_0x5daf81(0x2f7),_0xe82b86,_0x5daf81(0x43a),_0x5885e7,_0x5daf81(0x45b),_0x2488c3],'cellData':(_0x3aa416,_0x476be3,_0x3132e8)=>['tables',_0x3aa416,_0x5daf81(0x1d3),String(_0x476be3),String(_0x3132e8)],'attachmentSet':(_0x53062b,_0x348f8f)=>[_0x5daf81(0x2f7),_0x53062b,_0x5daf81(0x48d),_0x5daf81(0x313),_0x348f8f],'attachment':(_0x2f9110,_0x536513)=>[_0x5daf81(0x2f7),_0x2f9110,_0x5daf81(0x48d),'attachments',_0x536513],'view':(_0xf7b1d7,_0x26a81f)=>[_0x5daf81(0x2f7),_0xf7b1d7,'views',_0x26a81f],'viewFieldHidden':(_0x2283f3,_0x39036c,_0x3f3732)=>[_0x5daf81(0x2f7),_0x2283f3,_0x5daf81(0x1e8),_0x39036c,_0x5daf81(0x508),_0x3f3732,'hidden']};var W=class{[_0x5daf81(0x490)](_0x4336d0,_0x42efd3){const _0x466a53=_0x5daf81;let _0x33599a=this[_0x466a53(0x1e5)](_0x4336d0,_0x4336d0['name'],_0x42efd3);return R([this['_replaceOptional']([_0x466a53(0x322)],_0x4336d0['name'],_0x42efd3),..._0x33599a?[_0x33599a]:[]]);}[_0x5daf81(0x1e5)](_0x26ed0c,_0x5814f5,_0x51dd6e){const _0x4b6457=_0x5daf81;let _0x521dcb=Object[_0x4b6457(0x45b)](_0x26ed0c[_0x4b6457(0x2f7)])['flatMap'](_0x11da13=>Object['values'](_0x11da13[_0x4b6457(0x503)])[_0x4b6457(0x36c)](_0x3c96e7=>{const _0x417b88=_0x4b6457;var _0x466f3b,_0x3e6209;if(_0x3c96e7[_0x417b88(0x305)]!==_0x618ba['Formula'])return[];let _0xbca10b=String(((_0x466f3b=_0x3c96e7[_0x417b88(0x396)])==null?void 0x0:_0x466f3b[_0x417b88(0x494)])??''),_0x12fb6b=_0x58f593(_0xbca10b,_0x5814f5,_0x51dd6e);return _0x12fb6b===_0xbca10b?[]:[this[_0x417b88(0x1e2)]([...U['field'](_0x11da13['id'],_0x3c96e7['id']),_0x417b88(0x396),_0x417b88(0x494)],(_0x3e6209=_0x3c96e7['config'])==null?void 0x0:_0x3e6209[_0x417b88(0x494)],_0x12fb6b)];}));return _0x521dcb[_0x4b6457(0x21d)]>0x0?R(_0x521dcb):void 0x0;}[_0x5daf81(0x3e6)](_0x2d2726,_0x1cc9bc,_0x202f7c=_0x2d2726[_0x5daf81(0x3ee)]['length']){const _0x379723=_0x5daf81;let _0xec7b0b=_0x7582ef(_0x1cc9bc[_0x379723(0x322)],_0x4b2d20(_0x2d2726)[_0x379723(0x45b)](),_0x1cc9bc[_0x379723(0x516)]),_0x4614e3=_0x1cc9bc['formulaName']===_0xec7b0b?_0x1cc9bc:{..._0x1cc9bc,'formulaName':_0xec7b0b};return R([...this[_0x379723(0x2eb)](_0x2d2726),_0x1605a0['insertOp'](U['table'](_0x1cc9bc['id']),_0x4614e3),_0x1605a0[_0x379723(0x2b6)]([_0x379723(0x3ee),_0x202f7c],_0x1cc9bc['id'])]);}[_0x5daf81(0x3c3)](_0x3cf584,_0x59b069,_0x580636){const _0x529582=_0x5daf81;let _0x2048e9=_0x3cf584[_0x529582(0x2f7)][_0x59b069];return R([...this['_materializeFormulaTableNames'](_0x3cf584),_0x1605a0[_0x529582(0x562)]([...U[_0x529582(0x524)](_0x59b069),_0x529582(0x322)],_0x2048e9[_0x529582(0x322)],_0x580636)]);}[_0x5daf81(0x4ed)](_0x1d1fba,_0xc5e205){const _0x3b7e1a=_0x5daf81;let _0x567595=_0x1d1fba[_0x3b7e1a(0x2f7)][_0xc5e205],_0x5310ec=_0x1d1fba[_0x3b7e1a(0x3ee)][_0x3b7e1a(0x25c)](_0xc5e205);return R([...this[_0x3b7e1a(0x2eb)](_0x1d1fba,new Set([_0xc5e205])),_0x1605a0[_0x3b7e1a(0x26d)](U[_0x3b7e1a(0x524)](_0xc5e205),_0x567595),_0x1605a0[_0x3b7e1a(0x26d)]([_0x3b7e1a(0x3ee),_0x5310ec],_0xc5e205)]);}[_0x5daf81(0x283)](_0x152ecc,_0x48fe44,_0x47db19){const _0x16ccb0=_0x5daf81;return this[_0x16ccb0(0x4da)](_0x152ecc,_0x48fe44,[_0x47db19]);}[_0x5daf81(0x4da)](_0x93133e,_0x67c95,_0x5aafb9){const _0x2e429f=_0x5daf81;let _0x262258=_0x93133e[_0x2e429f(0x2f7)][_0x67c95],_0x3e0b26=_0x5aafb9['filter'](_0x2bc9a2=>_0x2bc9a2&&!_0x262258['records'][_0x2bc9a2['id']])[_0x2e429f(0x2b0)](_0x54245e=>({..._0x54245e,'values':{..._0x54245e['values'],[_0x4a6fc3]:_0x54245e['id']}}));if(!_0x3e0b26[_0x2e429f(0x21d)])return _0x1605a0[_0x2e429f(0x562)]([...U[_0x2e429f(0x524)](_0x67c95),_0x2e429f(0x43a)],_0x262258[_0x2e429f(0x43a)],_0x262258['records']);let _0x463422=new _0x1605a0[(_0x2e429f(0x356))](),_0x124709=[..._0x3e0b26][_0x2e429f(0x3c5)]((_0x541e0a,_0x2afc01)=>_0x541e0a['id']<_0x2afc01['id']?-0x1:+(_0x541e0a['id']>_0x2afc01['id'])),_0x4c2770=[...U['table'](_0x67c95),_0x2e429f(0x43a)];_0x463422[_0x2e429f(0x276)](_0x4c2770);for(let _0x460a40 of _0x124709)_0x463422[_0x2e429f(0x4e5)](_0x460a40['id']),_0x463422[_0x2e429f(0x42e)]('i',_0x460a40),_0x463422['ascend']();for(let _0x3b7fc0=0x0;_0x3b7fc0<_0x4c2770[_0x2e429f(0x21d)];_0x3b7fc0+=0x1)_0x463422['ascend']();return R([_0x463422['get'](),this[_0x2e429f(0x4a0)](_0x93133e,_0x67c95,_0x3e0b26)]);}[_0x5daf81(0x45e)](_0x1b195f,_0x50a7d8,_0x128d29){const _0x432fc9=_0x5daf81;return this[_0x432fc9(0x20e)](_0x1b195f,_0x50a7d8,[_0x128d29]);}[_0x5daf81(0x20e)](_0x504685,_0x18e5bb,_0x4b587b){const _0x15252d=_0x5daf81;let _0x474b5c=_0x504685[_0x15252d(0x2f7)][_0x18e5bb],_0x463100=Array[_0x15252d(0x404)](new Set(_0x4b587b))[_0x15252d(0x32f)](_0x1c1e98=>_0x474b5c[_0x15252d(0x43a)][_0x1c1e98]);if(!_0x463100[_0x15252d(0x21d)])return _0x1605a0[_0x15252d(0x562)]([...U['table'](_0x18e5bb),'records'],_0x474b5c[_0x15252d(0x43a)],_0x474b5c[_0x15252d(0x43a)]);let _0x52f1cb=new Set(_0x463100),_0x2af152=et(_0x474b5c,_0x463100)['map'](_0x1617e7=>this[_0x15252d(0x2ef)](_0x504685,_0x18e5bb,_0x1617e7['recordId'],_0x1617e7['fieldId'],''));return R([this[_0x15252d(0x1ef)](_0x504685,_0x18e5bb,_0x463100,_0x52f1cb),..._0x2af152]);}[_0x5daf81(0x43b)](_0x1068ff,_0x35d60a,_0x4b0892,_0x1030be){const _0x4a0dff=_0x5daf81;let _0x46de71=_0x1068ff[_0x4a0dff(0x2f7)][_0x4b0892],_0x2f4b06=Array['from'](new Set(_0x1030be))[_0x4a0dff(0x32f)](_0x15ba19=>_0x46de71['records'][_0x15ba19]),_0x365a95=new Set(_0x2f4b06);return R([new z()[_0x4a0dff(0x388)](_0x1068ff,this[_0x4a0dff(0x1ef)](_0x1068ff,_0x4b0892,_0x2f4b06,_0x365a95)),...et(_0x46de71,_0x2f4b06)[_0x4a0dff(0x2b0)](_0xc279e2=>this[_0x4a0dff(0x2ef)](_0x35d60a,_0x4b0892,_0xc279e2[_0x4a0dff(0x1c6)],_0xc279e2[_0x4a0dff(0x4a1)],_0xc279e2[_0x4a0dff(0x266)]??''))]);}['_deleteRecordsBaseOp'](_0x57376c,_0x6b2ed7,_0x71ccdf,_0x1329a5){const _0xf1c6a6=_0x5daf81;let _0x2af867=_0x57376c[_0xf1c6a6(0x2f7)][_0x6b2ed7],_0x4af05d=_0x71ccdf[_0xf1c6a6(0x2b0)](_0x31ee38=>{const _0x4d17a5=_0xf1c6a6;var _0x2a581a;return{'recordId':_0x31ee38,'index':((_0x2a581a=_0x2af867[_0x4d17a5(0x3da)])==null?void 0x0:_0x2a581a[_0x4d17a5(0x25c)](_0x31ee38))??-0x1};})[_0xf1c6a6(0x32f)](_0x143935=>_0x143935[_0xf1c6a6(0x391)]>=0x0)[_0xf1c6a6(0x3c5)]((_0x1c7771,_0x177ad6)=>_0x177ad6[_0xf1c6a6(0x391)]-_0x1c7771[_0xf1c6a6(0x391)]);return R([..._0x71ccdf[_0xf1c6a6(0x2b0)](_0x167bbf=>_0x1605a0[_0xf1c6a6(0x26d)](U[_0xf1c6a6(0x1b5)](_0x6b2ed7,_0x167bbf),_0x2af867[_0xf1c6a6(0x43a)][_0x167bbf])),..._0x4af05d[_0xf1c6a6(0x2b0)](({recordId:_0x2ac214,index:_0x538658})=>_0x1605a0['removeOp']([_0xf1c6a6(0x2f7),_0x6b2ed7,_0xf1c6a6(0x3da),_0x538658],_0x2ac214)),...this[_0xf1c6a6(0x4bc)](_0x2af867,_0x6b2ed7,_0xf70037=>{const _0x16aad2=_0xf1c6a6;let _0x74adb2=_0xf70037[_0x16aad2(0x1cb)](_0xf70037[_0x16aad2(0x3d6)]('\x1f')+0x1);return _0x1329a5['has'](_0x74adb2);})]);}[_0x5daf81(0x339)](_0x48a5f9,_0x495c11,_0x80f6fd,_0x528bb3){const _0x1df51f=_0x5daf81;return this[_0x1df51f(0x283)](_0x48a5f9,_0x495c11,{..._0x528bb3,'values':{..._0x48a5f9['tables'][_0x495c11][_0x1df51f(0x43a)][_0x80f6fd][_0x1df51f(0x45b)],..._0x528bb3[_0x1df51f(0x45b)],[_0x4a6fc3]:_0x528bb3['id']}});}['updateRecordOrder'](_0x233d84,_0xd5e928,_0x3b51f3,_0x186459){const _0x3eec9e=_0x5daf81;let _0x4018b5=_0x233d84['tables'][_0xd5e928],_0x129d16=[...U[_0x3eec9e(0x1b5)](_0xd5e928,_0x3b51f3),_0x3eec9e(0x2a2)],_0x3eec79=Object[_0x3eec9e(0x45b)](_0x4018b5[_0x3eec9e(0x43a)])[_0x3eec9e(0x2b0)](_0x2b6e9a=>_0x2b6e9a['id']===_0x3b51f3?{..._0x2b6e9a,'orderKey':_0x186459}:_0x2b6e9a)['sort']((_0x13fd33,_0x3fdbc0)=>String(_0x13fd33[_0x3eec9e(0x2a2)]??_0x13fd33['id'])[_0x3eec9e(0x202)](String(_0x3fdbc0[_0x3eec9e(0x2a2)]??_0x3fdbc0['id'])))['map'](_0x9200b3=>_0x9200b3['id']),_0x14ad44=[...U[_0x3eec9e(0x524)](_0xd5e928),'recordOrder'];return R([this[_0x3eec9e(0x1e2)](_0x129d16,_0x4018b5[_0x3eec9e(0x43a)][_0x3b51f3][_0x3eec9e(0x2a2)],_0x186459),_0x4018b5[_0x3eec9e(0x3da)]?_0x1605a0[_0x3eec9e(0x562)](_0x14ad44,_0x4018b5[_0x3eec9e(0x3da)],_0x3eec79):_0x1605a0['insertOp'](_0x14ad44,_0x3eec79)]);}['updateCell'](_0x3b2376,_0x1cf5b0,_0x3ca854,_0xfa9181,_0x3fc840){const _0x85471=_0x5daf81;var _0x337112,_0x459ae0;let _0x3e7638=_0x3b2376[_0x85471(0x2f7)][_0x1cf5b0],_0x3fc749=ar(_0x3e7638,_0x3ca854,_0xfa9181)?_0x3e7638:L(_0x3e7638),_0x47713b=(_0x337112=_0x3fc749['rowIndex'])==null?void 0x0:_0x337112[_0x3ca854],_0x50bb64=(_0x459ae0=_0x3fc749[_0x85471(0x3b9)])==null?void 0x0:_0x459ae0[_0xfa9181];if(_0x47713b==null||_0x50bb64==null){var _0x13bbaf;return this['_replaceOptional'](U[_0x85471(0x203)](_0x1cf5b0,_0x3ca854,_0xfa9181),(_0x13bbaf=_0x3b2376[_0x85471(0x2f7)][_0x1cf5b0])==null||(_0x13bbaf=_0x13bbaf[_0x85471(0x43a)][_0x3ca854])==null?void 0x0:_0x13bbaf[_0x85471(0x45b)][_0xfa9181],_0x3fc840);}return this['setRangeValues'](_0x3b2376,_0x1cf5b0,[{'row':_0x47713b,'col':_0x50bb64,'value':_0x3fc840}]);}[_0x5daf81(0x529)](_0x38910c,_0x3e7501,_0x17a5f9){const _0x30158f=_0x5daf81;let _0x129e7c=_0x38910c[_0x30158f(0x2f7)][_0x3e7501],_0x1acedf=_0x17a5f9[_0x30158f(0x2ab)](_0x58d3db=>Object['keys'](_0x58d3db[_0x30158f(0x45b)])[_0x30158f(0x2ab)](_0x3cc6d0=>ar(_0x129e7c,_0x58d3db[_0x30158f(0x1c6)],_0x3cc6d0)))?_0x129e7c:L(_0x129e7c),_0x5be5fa=_0x17a5f9['flatMap'](_0x12e49b=>Object[_0x30158f(0x2e4)](_0x12e49b[_0x30158f(0x45b)])['flatMap'](([_0x4575e3,_0x357e3f])=>{const _0x57fb7a=_0x30158f;var _0x5a34df,_0x2f59a2;let _0x5119e0=(_0x5a34df=_0x1acedf[_0x57fb7a(0x2c4)])==null?void 0x0:_0x5a34df[_0x12e49b[_0x57fb7a(0x1c6)]],_0x121fdc=(_0x2f59a2=_0x1acedf['colIndex'])==null?void 0x0:_0x2f59a2[_0x4575e3];return _0x5119e0==null||_0x121fdc==null?[]:[{'row':_0x5119e0,'col':_0x121fdc,'value':_0x357e3f}];})),_0x5e1fea=_0x17a5f9['flatMap'](_0x4f6797=>Object[_0x30158f(0x2e4)](_0x4f6797[_0x30158f(0x268)]??{})[_0x30158f(0x2b0)](([_0x6d59ac,_0x12b8ff])=>{const _0x1376bc=_0x30158f;var _0x4b43f;let _0x5ce817=[...U[_0x1376bc(0x1b5)](_0x3e7501,_0x4f6797[_0x1376bc(0x1c6)]),_0x6d59ac],_0x5269de=(_0x4b43f=_0x38910c[_0x1376bc(0x2f7)][_0x3e7501])==null||(_0x4b43f=_0x4b43f[_0x1376bc(0x43a)][_0x4f6797[_0x1376bc(0x1c6)]])==null?void 0x0:_0x4b43f[_0x6d59ac];return this[_0x1376bc(0x1e2)](_0x5ce817,_0x5269de,_0x12b8ff);}));return R([this[_0x30158f(0x1d7)](_0x38910c,_0x3e7501,_0x5be5fa),..._0x5e1fea]);}[_0x5daf81(0x1d7)](_0x37da64,_0x246a98,_0x38d5e8){const _0x25247c=_0x5daf81;let _0x2d58de=_0x37da64[_0x25247c(0x2f7)][_0x246a98],_0x2929f5=_0x38d5e8['every'](_0x13c0fd=>or(_0x2d58de,_0x13c0fd[_0x25247c(0x406)],_0x13c0fd[_0x25247c(0x2f0)]))?_0x2d58de:L(_0x2d58de),_0x699fea=new Map(),_0x3634a4=_0x38d5e8['flatMap'](_0x7fce96=>{const _0x203b35=_0x25247c;var _0x58be20,_0x60cb39,_0x211e5e,_0x7143c1;let _0x3e88c6=(_0x58be20=_0x2929f5[_0x203b35(0x33c)])==null?void 0x0:_0x58be20[_0x7fce96[_0x203b35(0x2f0)]],_0x997911=(_0x60cb39=_0x2929f5[_0x203b35(0x1ec)])==null?void 0x0:_0x60cb39[_0x7fce96[_0x203b35(0x406)]],_0x39cf21=_0x3e88c6?_0x2929f5[_0x203b35(0x503)][_0x3e88c6]:void 0x0;if(_0x3e88c6===_0x4a6fc3||(_0x39cf21==null?void 0x0:_0x39cf21[_0x203b35(0x305)])===_0x618ba[_0x203b35(0x28f)])throw Error(_0x203b35(0x27a));let _0x3fc05e=xt(_0x7fce96[_0x203b35(0x3fd)],_0x39cf21),_0x3fb7de=(_0x211e5e=_0x2929f5[_0x203b35(0x1d3)])==null||(_0x211e5e=_0x211e5e[_0x7fce96[_0x203b35(0x406)]])==null?void 0x0:_0x211e5e[_0x7fce96[_0x203b35(0x2f0)]],_0x54c3c2=this['_replaceOptional'](U['cellData'](_0x246a98,_0x7fce96[_0x203b35(0x406)],_0x7fce96['col']),_0x3fb7de,_0x3fc05e);if(!_0x3e88c6||!_0x997911)return[_0x54c3c2];let _0xb22197=(_0x7143c1=_0x2929f5[_0x203b35(0x43a)][_0x997911])==null?void 0x0:_0x7143c1[_0x203b35(0x45b)][_0x3e88c6],_0x57e383=(_0x39cf21==null?void 0x0:_0x39cf21[_0x203b35(0x305)])===_0x618ba[_0x203b35(0x1f8)]?kt(_0x7fce96[_0x203b35(0x3fd)]):wt(_0x7fce96[_0x203b35(0x3fd)],_0x3fc05e,_0x39cf21,_0x2929f5,_0x997911),_0x2a0c3=[_0x54c3c2,this[_0x203b35(0x1e2)](U[_0x203b35(0x203)](_0x246a98,_0x997911,_0x3e88c6),_0xb22197,_0x57e383)];return(_0x39cf21==null?void 0x0:_0x39cf21[_0x203b35(0x305)])===_0x618ba[_0x203b35(0x1f8)]&&_0x699fea['set'](Et(_0x3e88c6,_0x997911),{'recordId':_0x997911,'fieldId':_0x3e88c6,'attachments':_0x57e383}),_0x2a0c3;});return _0x3634a4[_0x25247c(0x21d)]?R([..._0x3634a4,...this[_0x25247c(0x21b)](_0x2929f5,_0x246a98,Array[_0x25247c(0x404)](_0x699fea[_0x25247c(0x45b)]()))]):_0x1605a0[_0x25247c(0x562)]([_0x25247c(0x2f7),_0x246a98,_0x25247c(0x1d3)],_0x2929f5[_0x25247c(0x1d3)],_0x2929f5[_0x25247c(0x1d3)]);}['createField'](_0x425492,_0x27dde9,_0x4c5109){const _0x3a2650=_0x5daf81;let _0x83b38e=_0x425492['tables'][_0x27dde9];if(_0x83b38e['fields'][_0x4c5109[_0x3a2650(0x50a)]['id']]||_0x83b38e[_0x3a2650(0x1d6)][_0x3a2650(0x4f9)](_0x4c5109['field']['id']))return _0x1605a0[_0x3a2650(0x562)](['tables',_0x27dde9,_0x3a2650(0x1d6)],_0x83b38e[_0x3a2650(0x1d6)],_0x83b38e[_0x3a2650(0x1d6)]);let _0x2a584e=Math['max'](0x1,_0x4c5109[_0x3a2650(0x391)]??_0x83b38e[_0x3a2650(0x1d6)][_0x3a2650(0x21d)]),_0x470fac=Object[_0x3a2650(0x45b)](_0x83b38e['views']??{})[_0x3a2650(0x36c)](_0x3c7359=>{const _0x544d7c=_0x3a2650;var _0x465962;if(!_0x3c7359['fieldOrder']||_0x3c7359[_0x544d7c(0x1d6)][_0x544d7c(0x4f9)](_0x4c5109[_0x544d7c(0x50a)]['id']))return[];let _0x5a75b6=ur(((_0x465962=_0x4c5109['viewIndexes'])==null?void 0x0:_0x465962[_0x3c7359['id']])??_0x2a584e,_0x3c7359[_0x544d7c(0x1d6)][_0x544d7c(0x21d)]);return[_0x1605a0[_0x544d7c(0x2b6)]([...U['view'](_0x27dde9,_0x3c7359['id']),_0x544d7c(0x1d6),_0x5a75b6],_0x4c5109[_0x544d7c(0x50a)]['id'])];});return R([..._0x4c5109[_0x3a2650(0x50a)][_0x3a2650(0x305)]===_0x618ba[_0x3a2650(0x4a8)]?this[_0x3a2650(0x2eb)](_0x425492):[],_0x1605a0[_0x3a2650(0x2b6)](U[_0x3a2650(0x50a)](_0x27dde9,_0x4c5109['field']['id']),_0x4c5109[_0x3a2650(0x50a)]),_0x1605a0[_0x3a2650(0x2b6)](U['fieldOrder'](_0x27dde9,_0x2a584e),_0x4c5109[_0x3a2650(0x50a)]['id']),..._0x470fac]);}['duplicateField'](_0x24b8b8,_0x332c05,_0x453f41,_0xa4992e){const _0x3f2ed7=_0x5daf81;let _0x2b5b30=_0x24b8b8[_0x3f2ed7(0x2f7)][_0x332c05];if(!_0x2b5b30[_0x3f2ed7(0x503)][_0x453f41]||_0x2b5b30[_0x3f2ed7(0x503)][_0xa4992e[_0x3f2ed7(0x50a)]['id']]||_0x2b5b30[_0x3f2ed7(0x1d6)][_0x3f2ed7(0x4f9)](_0xa4992e['field']['id']))return _0x1605a0[_0x3f2ed7(0x562)]([_0x3f2ed7(0x2f7),_0x332c05,_0x3f2ed7(0x1d6)],_0x2b5b30[_0x3f2ed7(0x1d6)],_0x2b5b30[_0x3f2ed7(0x1d6)]);let _0x1580f1=_0xa4992e[_0x3f2ed7(0x391)]??_0x2b5b30['fieldOrder'][_0x3f2ed7(0x25c)](_0x453f41)+0x1,_0x2429aa=_0x2b5b30[_0x3f2ed7(0x1d6)][_0x3f2ed7(0x32f)](_0x350ac7=>_0x350ac7!==_0xa4992e[_0x3f2ed7(0x50a)]['id']),_0x313e03=cr(_0x2429aa,_0xa4992e[_0x3f2ed7(0x50a)]['id'],_0x1580f1),_0x3ca57b=Object['values'](_0x2b5b30[_0x3f2ed7(0x1e8)]??{})[_0x3f2ed7(0x36c)](_0x184d80=>{const _0x59953b=_0x3f2ed7;var _0x30d443,_0x120700,_0x2fbf8f,_0x8b77e3;let _0xedb950=(_0x30d443=_0x184d80[_0x59953b(0x1d6)])!=null&&_0x30d443['length']?_0x184d80[_0x59953b(0x1d6)]:_0x2429aa;if(_0xedb950['includes'](_0xa4992e[_0x59953b(0x50a)]['id']))return[];let _0x5904ad=cr(_0xedb950,_0xa4992e[_0x59953b(0x50a)]['id'],((_0x120700=_0xa4992e[_0x59953b(0x2f8)])==null?void 0x0:_0x120700[_0x184d80['id']])??_0x1580f1),_0x35a696=(_0x2fbf8f=_0x184d80[_0x59953b(0x508)])==null?void 0x0:_0x2fbf8f[_0x453f41];return[this[_0x59953b(0x1e2)]([...U[_0x59953b(0x3a6)](_0x332c05,_0x184d80['id']),'fieldOrder'],_0x184d80[_0x59953b(0x1d6)],_0x5904ad),..._0x35a696?[this['_replaceOptional']([...U[_0x59953b(0x3a6)](_0x332c05,_0x184d80['id']),_0x59953b(0x508),_0xa4992e[_0x59953b(0x50a)]['id']],(_0x8b77e3=_0x184d80[_0x59953b(0x508)])==null?void 0x0:_0x8b77e3[_0xa4992e[_0x59953b(0x50a)]['id']],_0x35a696)]:[]];}),_0x524356=Object['values'](_0x2b5b30[_0x3f2ed7(0x43a)])['filter'](_0x380fce=>Object['prototype']['hasOwnProperty'][_0x3f2ed7(0x35d)](_0x380fce['values'],_0x453f41))[_0x3f2ed7(0x2b0)](_0x39f345=>this['_replaceOptional'](U['cell'](_0x332c05,_0x39f345['id'],_0xa4992e[_0x3f2ed7(0x50a)]['id']),_0x39f345[_0x3f2ed7(0x45b)][_0xa4992e[_0x3f2ed7(0x50a)]['id']],_0x39f345[_0x3f2ed7(0x45b)][_0x453f41]));return R([..._0xa4992e['field'][_0x3f2ed7(0x305)]===_0x618ba['Formula']?this[_0x3f2ed7(0x2eb)](_0x24b8b8):[],_0x1605a0[_0x3f2ed7(0x2b6)](U[_0x3f2ed7(0x50a)](_0x332c05,_0xa4992e[_0x3f2ed7(0x50a)]['id']),_0xa4992e['field']),_0x1605a0[_0x3f2ed7(0x562)]([_0x3f2ed7(0x2f7),_0x332c05,'fieldOrder'],_0x2b5b30['fieldOrder'],_0x313e03),..._0x3ca57b,..._0x524356]);}['updateField'](_0x4bc777,_0xb59d46,_0x49ebf3,_0x88a5c3){const _0x21a467=_0x5daf81;let _0x3a1430=_0x4bc777[_0x21a467(0x2f7)][_0xb59d46][_0x21a467(0x503)][_0x49ebf3],_0x3519da={..._0x3a1430,..._0x88a5c3};Object[_0x21a467(0x46f)](_0x88a5c3)['forEach'](_0x5c310c=>{_0x88a5c3[_0x5c310c]===void 0x0&&delete _0x3519da[_0x5c310c];});let _0x86cd5f=er(_0x4bc777[_0x21a467(0x2f7)][_0xb59d46],_0x49ebf3,_0x3a1430,_0x3519da);_0x3519da=_0x86cd5f['field'];let _0x2b76ef=_0x1605a0[_0x21a467(0x562)](U[_0x21a467(0x50a)](_0xb59d46,_0x49ebf3),_0x3a1430,_0x3519da);return _0x3519da[_0x21a467(0x305)]===_0x618ba[_0x21a467(0x4a8)]?R([...this[_0x21a467(0x2eb)](_0x4bc777),_0x2b76ef,...this[_0x21a467(0x411)](_0x4bc777,_0xb59d46,_0x49ebf3,_0x3519da)]):R([_0x2b76ef,..._0x86cd5f[_0x21a467(0x4b0)][_0x21a467(0x21d)]?[this['setRangeValues'](_0x4bc777,_0xb59d46,_0x86cd5f['patches'])]:[]]);}['changeFieldType'](_0x37d024,_0x1309a6,_0x4b8030,_0x3e5291){const _0x1e1a8b=_0x5daf81;return this[_0x1e1a8b(0x23d)](_0x37d024,_0x1309a6,_0x4b8030,_0x3e5291);}[_0x5daf81(0x513)](_0x768a57,_0x10b33b,_0x5324f1){const _0x2691a0=_0x5daf81;let _0x1fbff4=_0x768a57[_0x2691a0(0x2f7)][_0x10b33b];if(!(_0x1fbff4!=null&&_0x1fbff4['fields'][_0x5324f1])||_0x1fbff4['primaryFieldId']===_0x5324f1||_0x5324f1===_0x4a6fc3)return _0x1605a0[_0x2691a0(0x562)](['tables',_0x10b33b,_0x2691a0(0x1d6)],_0x1fbff4==null?void 0x0:_0x1fbff4[_0x2691a0(0x1d6)],_0x1fbff4==null?void 0x0:_0x1fbff4[_0x2691a0(0x1d6)]);let _0x271396=_0x1fbff4[_0x2691a0(0x1d6)]['indexOf'](_0x5324f1),_0x575e2b=Object['values'](_0x1fbff4[_0x2691a0(0x1e8)])['flatMap'](_0x1c0dba=>{const _0x5bd620=_0x2691a0;var _0x57dbbb,_0x2450bf,_0x50bb4a,_0x22a3f7,_0xe05377,_0x5d65af,_0x59fb36;let _0x4104a8=[],_0x18d0d0=((_0x57dbbb=_0x1c0dba['fieldOrder'])==null?void 0x0:_0x57dbbb[_0x5bd620(0x25c)](_0x5324f1))??-0x1;_0x18d0d0>=0x0&&_0x4104a8[_0x5bd620(0x482)](_0x1605a0['removeOp']([...U[_0x5bd620(0x3a6)](_0x10b33b,_0x1c0dba['id']),_0x5bd620(0x1d6),_0x18d0d0],_0x5324f1));let _0x16fcf8=(_0x2450bf=_0x1c0dba[_0x5bd620(0x508)])==null?void 0x0:_0x2450bf[_0x5324f1];_0x16fcf8!==void 0x0&&_0x4104a8[_0x5bd620(0x482)](_0x1605a0['removeOp']([...U[_0x5bd620(0x3a6)](_0x10b33b,_0x1c0dba['id']),'fieldSettings',_0x5324f1],_0x16fcf8));let _0x3f8075=_0x1c0dba['filter']?{..._0x1c0dba[_0x5bd620(0x32f)],'conditions':_0x1c0dba['filter'][_0x5bd620(0x245)]['filter'](_0x1a5096=>_0x1a5096[_0x5bd620(0x4a1)]!==_0x5324f1)}:_0x1c0dba[_0x5bd620(0x32f)];_0x3f8075&&_0x3f8075[_0x5bd620(0x245)][_0x5bd620(0x21d)]!==((_0x50bb4a=_0x1c0dba['filter'])==null?void 0x0:_0x50bb4a[_0x5bd620(0x245)][_0x5bd620(0x21d)])&&_0x4104a8[_0x5bd620(0x482)](this[_0x5bd620(0x1e2)]([...U[_0x5bd620(0x3a6)](_0x10b33b,_0x1c0dba['id']),'filter'],_0x1c0dba[_0x5bd620(0x32f)],_0x3f8075));let _0xae07e3=(_0x22a3f7=_0x1c0dba[_0x5bd620(0x3c5)])==null?void 0x0:_0x22a3f7[_0x5bd620(0x32f)](_0x143294=>_0x143294[_0x5bd620(0x4a1)]!==_0x5324f1);_0xae07e3&&_0xae07e3[_0x5bd620(0x21d)]!==((_0xe05377=_0x1c0dba['sort'])==null?void 0x0:_0xe05377[_0x5bd620(0x21d)])&&_0x4104a8['push'](this[_0x5bd620(0x1e2)]([...U[_0x5bd620(0x3a6)](_0x10b33b,_0x1c0dba['id']),_0x5bd620(0x3c5)],_0x1c0dba[_0x5bd620(0x3c5)],_0xae07e3));let _0xf58eac=(_0x5d65af=_0x1c0dba[_0x5bd620(0x3e9)])==null?void 0x0:_0x5d65af[_0x5bd620(0x32f)](_0x590907=>_0x590907[_0x5bd620(0x4a1)]!==_0x5324f1);_0xf58eac&&_0xf58eac[_0x5bd620(0x21d)]!==((_0x59fb36=_0x1c0dba[_0x5bd620(0x3e9)])==null?void 0x0:_0x59fb36[_0x5bd620(0x21d)])&&_0x4104a8['push'](this[_0x5bd620(0x1e2)]([...U[_0x5bd620(0x3a6)](_0x10b33b,_0x1c0dba['id']),_0x5bd620(0x3e9)],_0x1c0dba[_0x5bd620(0x3e9)],_0xf58eac));let _0x323e54=lr(_0x1c0dba[_0x5bd620(0x396)],_0x5324f1);return JSON[_0x5bd620(0x439)](_0x323e54)!==JSON['stringify'](_0x1c0dba[_0x5bd620(0x396)])&&_0x4104a8[_0x5bd620(0x482)](_0x1605a0[_0x5bd620(0x562)]([...U[_0x5bd620(0x3a6)](_0x10b33b,_0x1c0dba['id']),'config'],_0x1c0dba[_0x5bd620(0x396)],_0x323e54)),_0x4104a8;}),_0x9404a2=Object[_0x2691a0(0x45b)](_0x1fbff4[_0x2691a0(0x43a)])[_0x2691a0(0x36c)](_0x234044=>Object[_0x2691a0(0x4e2)][_0x2691a0(0x4d7)][_0x2691a0(0x35d)](_0x234044['values'],_0x5324f1)?[_0x1605a0[_0x2691a0(0x26d)](U[_0x2691a0(0x203)](_0x10b33b,_0x234044['id'],_0x5324f1),_0x234044[_0x2691a0(0x45b)][_0x5324f1])]:[]);return R([_0x1605a0['removeOp'](U[_0x2691a0(0x50a)](_0x10b33b,_0x5324f1),_0x1fbff4[_0x2691a0(0x503)][_0x5324f1]),_0x1605a0[_0x2691a0(0x26d)](U[_0x2691a0(0x1d6)](_0x10b33b,_0x271396),_0x5324f1),..._0x575e2b,..._0x9404a2,...this[_0x2691a0(0x4bc)](_0x1fbff4,_0x10b33b,_0x1cbcca=>_0x1cbcca[_0x2691a0(0x265)](_0x5324f1+'\x1f'))]);}[_0x5daf81(0x3c8)](_0xce431d,_0x3b9b5b,_0x377cb1,_0x2aaf18){const _0x50cc04=_0x5daf81;let _0x18045d=_0xce431d[_0x50cc04(0x2f7)][_0x3b9b5b][_0x50cc04(0x1d6)];if(_0x377cb1===_0x4a6fc3||_0x2aaf18[_0x50cc04(0x1c5)]===_0x4a6fc3)throw Error('[BaseJson1OpFactory]:\x20cannot\x20move\x20a\x20field\x20before\x20record-id.');let _0x475b7b=sr(_0x18045d,_0x377cb1,_0x2aaf18);return _0x1605a0[_0x50cc04(0x562)]([_0x50cc04(0x2f7),_0x3b9b5b,'fieldOrder'],_0x18045d,_0x475b7b);}[_0x5daf81(0x1b6)](_0x11fd82,_0x11ca9f,_0x4a4b8f,_0x229a7f=_0x11fd82[_0x5daf81(0x2f7)][_0x11ca9f][_0x5daf81(0x410)]['length']){const _0x2badb5=_0x5daf81;return R([_0x1605a0[_0x2badb5(0x2b6)](U[_0x2badb5(0x3a6)](_0x11ca9f,_0x4a4b8f['id']),_0x4a4b8f),_0x1605a0[_0x2badb5(0x2b6)]([_0x2badb5(0x2f7),_0x11ca9f,'viewOrder',_0x229a7f],_0x4a4b8f['id'])]);}[_0x5daf81(0x461)](_0x235a78,_0x2a3598,_0x32e38a,_0x1005c2){const _0x33ed6d=_0x5daf81;return _0x1605a0[_0x33ed6d(0x562)]([...U['view'](_0x2a3598,_0x32e38a),_0x33ed6d(0x322)],_0x235a78[_0x33ed6d(0x2f7)][_0x2a3598]['views'][_0x32e38a][_0x33ed6d(0x322)],_0x1005c2);}[_0x5daf81(0x302)](_0x4035ed,_0x488453,_0x3fc992){const _0x642dfc=_0x5daf81;let _0x5579fb=_0x4035ed[_0x642dfc(0x2f7)][_0x488453],_0x1d2680=_0x5579fb['views'][_0x3fc992],_0x38831b=_0x5579fb[_0x642dfc(0x410)][_0x642dfc(0x25c)](_0x3fc992);return R([_0x1605a0['removeOp'](U[_0x642dfc(0x3a6)](_0x488453,_0x3fc992),_0x1d2680),_0x1605a0['removeOp'](['tables',_0x488453,'viewOrder',_0x38831b],_0x3fc992)]);}['moveView'](_0x5e487f,_0x2041ce,_0x3370b7,_0x58ebf5){const _0x3edabc=_0x5daf81;let _0x1a8117=_0x5e487f[_0x3edabc(0x2f7)][_0x2041ce][_0x3edabc(0x410)],_0x2d9d84=sr(_0x1a8117,_0x3370b7,{'beforeFieldId':_0x58ebf5[_0x3edabc(0x2f2)],'afterFieldId':_0x58ebf5[_0x3edabc(0x4b1)]});return _0x1605a0['replaceOp']([_0x3edabc(0x2f7),_0x2041ce,_0x3edabc(0x410)],_0x1a8117,_0x2d9d84);}[_0x5daf81(0x4c9)](_0x1abf42,_0x5a2072,_0x1de507,_0x54b1ee){const _0x509889=_0x5daf81;let _0x5dcb10=_0x1abf42[_0x509889(0x2f7)][_0x5a2072][_0x509889(0x1e8)][_0x1de507][_0x509889(0x396)]??{},_0x1e9ea2={..._0x5dcb10,..._0x54b1ee};return Object[_0x509889(0x46f)](_0x54b1ee)[_0x509889(0x429)](_0x4bb96e=>{_0x54b1ee[_0x4bb96e]===void 0x0&&delete _0x1e9ea2[_0x4bb96e];}),_0x1605a0[_0x509889(0x562)]([...U[_0x509889(0x3a6)](_0x5a2072,_0x1de507),_0x509889(0x396)],_0x5dcb10,_0x1e9ea2);}[_0x5daf81(0x4ea)](_0x211eb8,_0x3c68a4,_0x51b4a6,_0x2bef3a){const _0x16fb22=_0x5daf81;return this[_0x16fb22(0x1e2)]([...U['view'](_0x3c68a4,_0x51b4a6),_0x16fb22(0x32f)],_0x211eb8[_0x16fb22(0x2f7)][_0x3c68a4][_0x16fb22(0x1e8)][_0x51b4a6][_0x16fb22(0x32f)],_0x2bef3a);}[_0x5daf81(0x367)](_0xc6c48d,_0x3ae961,_0x193a67,_0x2593a3){const _0x2d94d2=_0x5daf81;return this['_replaceOptional']([...U[_0x2d94d2(0x3a6)](_0x3ae961,_0x193a67),_0x2d94d2(0x3c5)],_0xc6c48d[_0x2d94d2(0x2f7)][_0x3ae961][_0x2d94d2(0x1e8)][_0x193a67]['sort'],_0x2593a3);}[_0x5daf81(0x40b)](_0x38d921,_0x4dbe6b,_0x336500,_0x3c5f06){const _0x26ae1d=_0x5daf81;return this[_0x26ae1d(0x1e2)]([...U[_0x26ae1d(0x3a6)](_0x4dbe6b,_0x336500),_0x26ae1d(0x3e9)],_0x38d921[_0x26ae1d(0x2f7)][_0x4dbe6b][_0x26ae1d(0x1e8)][_0x336500][_0x26ae1d(0x3e9)],_0x3c5f06);}[_0x5daf81(0x44d)](_0x368c8f,_0x3d4883,_0x50fd21,_0x42ed04,_0x4624fb){const _0x4a35de=_0x5daf81;return this[_0x4a35de(0x336)](_0x368c8f,_0x3d4883,_0x50fd21,_0x42ed04,{'hidden':!_0x4624fb});}[_0x5daf81(0x41a)](_0x1dae53,_0x27350b,_0x2d2bbc,_0x3da41d,_0x9b1601){const _0x2b7060=_0x5daf81;return this[_0x2b7060(0x336)](_0x1dae53,_0x27350b,_0x2d2bbc,_0x3da41d,{'width':_0x9b1601});}[_0x5daf81(0x511)](_0x114de0,_0x310777,_0x129472,_0x4af4b8,_0x54229e){const _0x17b6cf=_0x5daf81;let _0x3711cb=_0x114de0['tables'][_0x310777][_0x17b6cf(0x1e8)][_0x129472],_0x3553fc=sr(_0x3711cb[_0x17b6cf(0x1d6)]??_0x114de0['tables'][_0x310777][_0x17b6cf(0x1d6)],_0x4af4b8,_0x54229e);return this[_0x17b6cf(0x1e2)]([...U[_0x17b6cf(0x3a6)](_0x310777,_0x129472),_0x17b6cf(0x1d6)],_0x3711cb[_0x17b6cf(0x1d6)],_0x3553fc);}[_0x5daf81(0x336)](_0x54327e,_0x49099e,_0x418c83,_0x29dc40,_0x31880e){const _0xa8b75=_0x5daf81;let _0x1da11e=_0x54327e[_0xa8b75(0x2f7)][_0x49099e][_0xa8b75(0x1e8)][_0x418c83][_0xa8b75(0x508)]??{},_0x45b37b={..._0x1da11e,[_0x29dc40]:{..._0x1da11e[_0x29dc40],..._0x31880e}};return this[_0xa8b75(0x1e2)]([...U[_0xa8b75(0x3a6)](_0x49099e,_0x418c83),_0xa8b75(0x508)],_0x54327e[_0xa8b75(0x2f7)][_0x49099e][_0xa8b75(0x1e8)][_0x418c83][_0xa8b75(0x508)],_0x45b37b);}[_0x5daf81(0x4a0)](_0x1ae50c,_0x5caf92,_0x3adc18){const _0x21169a=_0x5daf81;let _0x403e8e=_0x1ae50c[_0x21169a(0x2f7)][_0x5caf92],_0x296d99=new Set(_0x3adc18[_0x21169a(0x2b0)](_0x220db0=>_0x220db0['id'])),_0x3af5a6=[...Object[_0x21169a(0x45b)](_0x403e8e['records'])[_0x21169a(0x32f)](_0x1c1f39=>!_0x296d99['has'](_0x1c1f39['id'])),..._0x3adc18][_0x21169a(0x3c5)]((_0x324ba9,_0x453d7c)=>String(_0x324ba9[_0x21169a(0x2a2)]??_0x324ba9['id'])[_0x21169a(0x202)](String(_0x453d7c[_0x21169a(0x2a2)]??_0x453d7c['id'])))[_0x21169a(0x2b0)](_0xf2ffbb=>_0xf2ffbb['id']),_0x6e461d=[...U[_0x21169a(0x524)](_0x5caf92),_0x21169a(0x3da)];return _0x403e8e['recordOrder']?_0x1605a0['replaceOp'](_0x6e461d,_0x403e8e[_0x21169a(0x3da)],_0x3af5a6):_0x1605a0[_0x21169a(0x2b6)](_0x6e461d,_0x3af5a6);}['_materializeFormulaTableNames'](_0x1adf39,_0x1d327e=new Set()){const _0x410eac=_0x5daf81;let _0xf44985=_0x4b2d20(_0x1adf39);return Object[_0x410eac(0x45b)](_0x1adf39[_0x410eac(0x2f7)])[_0x410eac(0x32f)](_0x3b8c72=>!_0x1d327e[_0x410eac(0x253)](_0x3b8c72['id']))['sort']((_0x388695,_0x351cdd)=>_0x388695['id']['localeCompare'](_0x351cdd['id']))[_0x410eac(0x36c)](_0x33631a=>{const _0x21b91d=_0x410eac;let _0x50c007=_0xf44985[_0x21b91d(0x315)](_0x33631a['id']);return!_0x50c007||_0x33631a['formulaName']===_0x50c007?[]:[this['_replaceOptional']([...U[_0x21b91d(0x524)](_0x33631a['id']),_0x21b91d(0x516)],_0x33631a['formulaName'],_0x50c007)];});}[_0x5daf81(0x411)](_0x5d0512,_0x4f446a,_0x5dfe87,_0xa8b070){const _0x1315a5=_0x5daf81;var _0x292349,_0xe7461a;let _0x1c6ba0=L(_0x5d0512[_0x1315a5(0x2f7)][_0x4f446a]),_0x1b8e8a=String(((_0x292349=_0xa8b070['config'])==null?void 0x0:_0x292349[_0x1315a5(0x494)])??'')[_0x1315a5(0x3a5)](),_0x405a5d=(_0xe7461a=_0x1c6ba0[_0x1315a5(0x3b9)])==null?void 0x0:_0xe7461a[_0x5dfe87];if(_0x405a5d==null)return[];let _0x3a9851=_0x1c6ba0[_0x1315a5(0x3da)]??Object[_0x1315a5(0x46f)](_0x1c6ba0['records']),_0x5d9115=_0x3a9851[_0x1315a5(0x2b0)](_0x48d509=>{const _0x385c0f=_0x1315a5;var _0x21d5d6;return(_0x21d5d6=_0x1c6ba0[_0x385c0f(0x2c4)])==null?void 0x0:_0x21d5d6[_0x48d509];})[_0x1315a5(0x2d8)](_0x8a8e26=>_0x8a8e26!=null);return _0x3a9851[_0x1315a5(0x36c)](_0x1cf837=>{const _0x5559c6=_0x1315a5;var _0xbe0da,_0x5ced93;let _0x1bef40=(_0xbe0da=_0x1c6ba0[_0x5559c6(0x2c4)])==null?void 0x0:_0xbe0da[_0x1cf837];if(_0x1bef40==null)return[];let _0xf4437b=(_0x5ced93=_0x1c6ba0[_0x5559c6(0x1d3)])==null||(_0x5ced93=_0x5ced93[_0x1bef40])==null?void 0x0:_0x5ced93[_0x405a5d],_0x250190=_0x1b8e8a?_0x1bef40===_0x5d9115?{'f':_0x1b8e8a,'si':_0x5dfe87}:{'si':_0x5dfe87}:{'v':null,'t':null};return[this['_replaceOptional'](U[_0x5559c6(0x1d3)](_0x4f446a,_0x1bef40,_0x405a5d),_0xf4437b,_0x250190)];});}['_setAttachmentResources'](_0x429a6a,_0x2dc23f,_0x4dfb2a){const _0x3f93d4=_0x5daf81;var _0x31a2d6;let _0xb9eef2=new Map(Object[_0x3f93d4(0x2e4)](((_0x31a2d6=_0x429a6a[_0x3f93d4(0x48d)])==null?void 0x0:_0x31a2d6['attachmentSets'])??{})),_0x593d03=new Map(),_0x437dc7=new Set(),_0x51dc53=_0x4dfb2a[_0x3f93d4(0x2b0)](({recordId:_0x7c361a,fieldId:_0x2045cc,attachments:_0x241975})=>{const _0x26de03=_0x3f93d4;var _0x452dba;let _0xef1a92=Et(_0x2045cc,_0x7c361a),_0x5ac217=_0x241975[_0x26de03(0x2b0)]((_0x30c5ee,_0x4338b0)=>String(_0x30c5ee['id']??_0xef1a92+'\x1f'+_0x4338b0));return _0x437dc7['add'](_0xef1a92),_0xb9eef2[_0x26de03(0x1ba)](_0xef1a92,_0x5ac217),_0x241975[_0x26de03(0x429)]((_0x511b53,_0xbc6927)=>{const _0x16d9bd=_0x26de03;let _0x2e9f38=_0x5ac217[_0xbc6927];_0x593d03[_0x16d9bd(0x1ba)](_0x2e9f38,{..._0x511b53,'id':_0x2e9f38});}),this['_replaceOptional'](U[_0x26de03(0x488)](_0x2dc23f,_0xef1a92),(_0x452dba=_0x429a6a[_0x26de03(0x48d)])==null||(_0x452dba=_0x452dba[_0x26de03(0x313)])==null?void 0x0:_0x452dba[_0xef1a92],_0x5ac217);}),_0x4fe6a0=Array[_0x3f93d4(0x404)](_0x593d03)['map'](([_0x36206b,_0x21af85])=>{const _0x50d79b=_0x3f93d4;var _0x40af26;return this[_0x50d79b(0x1e2)](U[_0x50d79b(0x457)](_0x2dc23f,_0x36206b),(_0x40af26=_0x429a6a['resources'])==null||(_0x40af26=_0x40af26['attachments'])==null?void 0x0:_0x40af26[_0x36206b],_0x21af85);}),_0x4a08fd=new Set(Array['from'](_0xb9eef2[_0x3f93d4(0x45b)]())['flat']()),_0x1d1d1b=new Set(Array['from'](_0x437dc7)['flatMap'](_0x53fed5=>{const _0x39295a=_0x3f93d4;var _0x419a6a;return((_0x419a6a=_0x429a6a['resources'])==null||(_0x419a6a=_0x419a6a[_0x39295a(0x313)])==null?void 0x0:_0x419a6a[_0x53fed5])??[];})),_0x499904=Array[_0x3f93d4(0x404)](_0x1d1d1b)['flatMap'](_0xe610b9=>{const _0x1748fc=_0x3f93d4;var _0x578056;let _0x10445e=(_0x578056=_0x429a6a['resources'])==null||(_0x578056=_0x578056[_0x1748fc(0x36f)])==null?void 0x0:_0x578056[_0xe610b9];return _0x10445e!==void 0x0&&!_0x4a08fd['has'](_0xe610b9)?[_0x1605a0[_0x1748fc(0x26d)](U[_0x1748fc(0x457)](_0x2dc23f,_0xe610b9),_0x10445e)]:[];});return[..._0x51dc53,..._0x4fe6a0,..._0x499904];}[_0x5daf81(0x4bc)](_0x2fbd6c,_0x315e55,_0x3e52e2){const _0x1fdb5d=_0x5daf81;var _0x2a406e;let _0x5e5163=((_0x2a406e=_0x2fbd6c[_0x1fdb5d(0x48d)])==null?void 0x0:_0x2a406e['attachmentSets'])??{},_0x296027=Object[_0x1fdb5d(0x2e4)](_0x5e5163)[_0x1fdb5d(0x32f)](([_0x5a9d67])=>_0x3e52e2(_0x5a9d67));if(!_0x296027[_0x1fdb5d(0x21d)])return[];let _0x53c816=new Set(Object[_0x1fdb5d(0x2e4)](_0x5e5163)[_0x1fdb5d(0x32f)](([_0x4d364d])=>!_0x3e52e2(_0x4d364d))[_0x1fdb5d(0x36c)](([,_0x3520f0])=>_0x3520f0)),_0x25e748=new Set(_0x296027['flatMap'](([,_0x4bf83c])=>_0x4bf83c));return[..._0x296027[_0x1fdb5d(0x2b0)](([_0x368f27,_0x4ae91d])=>_0x1605a0['removeOp'](U['attachmentSet'](_0x315e55,_0x368f27),_0x4ae91d)),...Array[_0x1fdb5d(0x404)](_0x25e748)[_0x1fdb5d(0x36c)](_0x4b468c=>{const _0x192c97=_0x1fdb5d;var _0x4757b3;let _0x338899=(_0x4757b3=_0x2fbd6c[_0x192c97(0x48d)])==null||(_0x4757b3=_0x4757b3[_0x192c97(0x36f)])==null?void 0x0:_0x4757b3[_0x4b468c];return _0x338899!==void 0x0&&!_0x53c816[_0x192c97(0x253)](_0x4b468c)?[_0x1605a0[_0x192c97(0x26d)](U['attachment'](_0x315e55,_0x4b468c),_0x338899)]:[];})];}[_0x5daf81(0x1e2)](_0x45b419,_0x45dae2,_0x3de7df){const _0x13b5b0=_0x5daf81;return _0x45dae2===void 0x0?_0x1605a0[_0x13b5b0(0x2b6)](_0x45b419,_0x3de7df):_0x1605a0[_0x13b5b0(0x562)](_0x45b419,_0x45dae2,_0x3de7df);}};function er(_0xb67dfd,_0x1c45d3,_0x33902d,_0x3db16d){const _0x38f80c=_0x5daf81;var _0x929eda;let _0x53dd8b=_0x3db16d[_0x38f80c(0x305)];if(_0x33902d[_0x38f80c(0x305)]!==_0x53dd8b||_0x53dd8b!==_0x618ba['SingleSelect']&&_0x53dd8b!==_0x618ba['MultiSelect']||tr(_0x3db16d['config'][_0x38f80c(0x4ad)]))return{'field':_0x3db16d,'patches':[]};let _0x4845e3=nr(_0x33902d),_0x22dbeb=nr(_0x3db16d);if(![..._0x4845e3]['some'](_0x54ae02=>!_0x22dbeb[_0x38f80c(0x253)](_0x54ae02)))return{'field':_0x3db16d,'patches':[]};let _0x49607d=rr(_0x3db16d['defaultValue'],_0x22dbeb,_0x53dd8b),_0xb8078d=ir(_0x49607d,_0x3db16d[_0x38f80c(0x224)])?_0x3db16d:{..._0x3db16d,'defaultValue':_0x49607d},_0x2a3777=L(_0xb67dfd),_0x3d8032=(_0x929eda=_0x2a3777['colIndex'])==null?void 0x0:_0x929eda[_0x1c45d3];return _0x3d8032==null?{'field':_0xb8078d,'patches':[]}:{'field':_0xb8078d,'patches':(_0x2a3777['recordOrder']??[])[_0x38f80c(0x36c)](_0xb00168=>{const _0x269da9=_0x38f80c;var _0x14e5a8,_0x19c3d5;let _0x4dcf61=(_0x14e5a8=_0x2a3777[_0x269da9(0x2c4)])==null?void 0x0:_0x14e5a8[_0xb00168],_0x1da839=(_0x19c3d5=_0x2a3777['records'][_0xb00168])==null?void 0x0:_0x19c3d5[_0x269da9(0x45b)][_0x1c45d3],_0x4778e3=rr(_0x1da839,_0x22dbeb,_0x53dd8b);return _0x4dcf61==null||ir(_0x4778e3,_0x1da839)?[]:[{'row':_0x4dcf61,'col':_0x3d8032,'value':_0x4778e3??null}];})};}function tr(_0x5bfe92){const _0x10ce3c=_0x5daf81;return typeof _0x5bfe92==_0x10ce3c(0x1fb)&&!!_0x5bfe92&&'type'in _0x5bfe92&&_0x5bfe92[_0x10ce3c(0x305)]===_0x10ce3c(0x50a);}function nr(_0x251c7b){const _0x471ce0=_0x5daf81;var _0x2fe7b6;let _0x52e4cd=Array['isArray']((_0x2fe7b6=_0x251c7b[_0x471ce0(0x396)])==null?void 0x0:_0x2fe7b6[_0x471ce0(0x49e)])?_0x251c7b[_0x471ce0(0x396)]['options']:[];return new Set(_0x52e4cd[_0x471ce0(0x36c)](_0x2993f2=>{const _0x397d81=_0x471ce0;if(!_0x2993f2||typeof _0x2993f2!=_0x397d81(0x1fb)||!('id'in _0x2993f2))return[];let _0x2699ca=String(_0x2993f2['id']);return _0x2699ca?[_0x2699ca]:[];}));}function rr(_0x2a6608,_0xa0f41e,_0x3bc094){const _0x446f06=_0x5daf81;if(_0x2a6608==null||_0x2a6608==='')return _0x2a6608;if(_0x3bc094===_0x618ba[_0x446f06(0x3af)])return _0xa0f41e[_0x446f06(0x253)](String(_0x2a6608))?_0x2a6608:null;let _0x386e5f=Array[_0x446f06(0x31e)](_0x2a6608)?_0x2a6608[_0x446f06(0x2b0)](String):String(_0x2a6608)[_0x446f06(0x4d9)](',')[_0x446f06(0x2b0)](_0x118d8c=>_0x118d8c[_0x446f06(0x3a5)]())['filter'](Boolean),_0x5c1483=_0x386e5f['filter'](_0x21ebb3=>_0xa0f41e['has'](_0x21ebb3));return _0x5c1483['length']===_0x386e5f[_0x446f06(0x21d)]?_0x2a6608:Array['isArray'](_0x2a6608)?_0x5c1483:String(_0x2a6608)[_0x446f06(0x4f9)](',')?_0x5c1483[_0x446f06(0x30a)](','):_0x5c1483[0x0]??[];}function ir(_0x2296bd,_0x93c87f){const _0x487dcc=_0x5daf81;return JSON[_0x487dcc(0x439)](_0x2296bd)===JSON[_0x487dcc(0x439)](_0x93c87f);}function ar(_0x4e0baa,_0x565b89,_0x2390f4){const _0x543791=_0x5daf81;var _0x1e17fa,_0x4159aa,_0x8db428,_0x526af1;let _0x38bf8c=(_0x1e17fa=_0x4e0baa['rowIndex'])==null?void 0x0:_0x1e17fa[_0x565b89],_0x1d6689=(_0x4159aa=_0x4e0baa[_0x543791(0x3b9)])==null?void 0x0:_0x4159aa[_0x2390f4];return _0x38bf8c!=null&&_0x1d6689!=null&&((_0x8db428=_0x4e0baa['rowId'])==null?void 0x0:_0x8db428[_0x38bf8c])===_0x565b89&&((_0x526af1=_0x4e0baa[_0x543791(0x33c)])==null?void 0x0:_0x526af1[_0x1d6689])===_0x2390f4&&_0x4e0baa[_0x543791(0x1d3)]!=null;}function or(_0x21097c,_0x19adb6,_0x311553){const _0x4fa235=_0x5daf81;var _0x5c95c0,_0x4eb2fd;return((_0x5c95c0=_0x21097c[_0x4fa235(0x1ec)])==null?void 0x0:_0x5c95c0[_0x19adb6])!=null&&((_0x4eb2fd=_0x21097c['colId'])==null?void 0x0:_0x4eb2fd[_0x311553])!=null&&_0x21097c[_0x4fa235(0x1d3)]!=null;}function sr(_0x270b8d,_0x4c4ff6,_0x2d826d){const _0x2706da=_0x5daf81;let _0x2e601a=_0x270b8d[_0x2706da(0x32f)](_0x270034=>_0x270034!==_0x4c4ff6),_0x4357ae=_0x2d826d[_0x2706da(0x1c5)]?_0x2e601a[_0x2706da(0x25c)](_0x2d826d['beforeFieldId']):_0x2d826d[_0x2706da(0x51b)]?_0x2e601a['indexOf'](_0x2d826d[_0x2706da(0x51b)])+0x1:_0x2e601a[_0x2706da(0x21d)];return _0x2e601a[_0x2706da(0x3f5)](_0x4357ae<0x0?_0x2e601a[_0x2706da(0x21d)]:_0x4357ae,0x0,_0x4c4ff6),_0x2e601a;}function cr(_0x1f7f1b,_0x475681,_0x451cb8){const _0x8a6228=_0x5daf81;let _0x48a921=_0x1f7f1b['filter'](_0x291d26=>_0x291d26!==_0x475681);return _0x48a921[_0x8a6228(0x3f5)](ur(_0x451cb8,_0x48a921[_0x8a6228(0x21d)]),0x0,_0x475681),_0x48a921;}function lr(_0x487f26,_0x17c659,_0x67cc73){const _0x35bd48=_0x5daf81;if(Array[_0x35bd48(0x31e)](_0x487f26))return _0x67cc73===_0x35bd48(0x209)?_0x487f26[_0x35bd48(0x32f)](_0x4f3b41=>_0x4f3b41!==_0x17c659):_0x487f26['flatMap'](_0x320f0b=>{const _0x86789d=_0x35bd48;if(_0x320f0b&&typeof _0x320f0b==_0x86789d(0x1fb)&&!Array[_0x86789d(0x31e)](_0x320f0b)&&_0x320f0b[_0x86789d(0x4a1)]===_0x17c659)return[];let _0x415f29=lr(_0x320f0b,_0x17c659);return _0x415f29===void 0x0?[]:[_0x415f29];});if(!_0x487f26||typeof _0x487f26!=_0x35bd48(0x1fb))return _0x67cc73!=null&&_0x67cc73[_0x35bd48(0x528)]('FieldId')&&_0x487f26===_0x17c659?void 0x0:_0x487f26;let _0x385c3f=_0x487f26;if(_0x385c3f[_0x35bd48(0x4a1)]!==_0x17c659)return Object[_0x35bd48(0x407)](Object[_0x35bd48(0x2e4)](_0x385c3f)[_0x35bd48(0x36c)](([_0x25f83b,_0x1baeff])=>{const _0x4b1f3c=_0x35bd48;if(_0x25f83b===_0x17c659&&_0x67cc73===_0x4b1f3c(0x508))return[];let _0x46a577=lr(_0x1baeff,_0x17c659,_0x25f83b);return _0x46a577===void 0x0?[]:[[_0x25f83b,_0x46a577]];}));}function ur(_0x49d37f,_0x33eeaf){const _0x80dd81=_0x5daf81;return Math[_0x80dd81(0x29c)](0x0,Math[_0x80dd81(0x469)](_0x49d37f,_0x33eeaf));}function dr(_0x2a5f34){'@babel/helpers - typeof';const _0xaac5df=_0x5daf81;return dr=typeof Symbol==_0xaac5df(0x55e)&&typeof Symbol[_0xaac5df(0x369)]==_0xaac5df(0x374)?function(_0x231dcc){return typeof _0x231dcc;}:function(_0x30ac83){const _0x5538cd=_0xaac5df;return _0x30ac83&&typeof Symbol=='function'&&_0x30ac83[_0x5538cd(0x25f)]===Symbol&&_0x30ac83!==Symbol['prototype']?_0x5538cd(0x374):typeof _0x30ac83;},dr(_0x2a5f34);}function fr(_0x196196,_0x43b22f){const _0x44d492=_0x5daf81;if(dr(_0x196196)!=_0x44d492(0x1fb)||!_0x196196)return _0x196196;var _0xb2ab2=_0x196196[Symbol[_0x44d492(0x3e3)]];if(_0xb2ab2!==void 0x0){var _0x2e54b7=_0xb2ab2['call'](_0x196196,_0x43b22f||_0x44d492(0x261));if(dr(_0x2e54b7)!='object')return _0x2e54b7;throw TypeError(_0x44d492(0x2d6));}return(_0x43b22f===_0x44d492(0x2ed)?String:Number)(_0x196196);}function pr(_0x159598){const _0x5701b3=_0x5daf81;var _0x38d192=fr(_0x159598,_0x5701b3(0x2ed));return dr(_0x38d192)==_0x5701b3(0x374)?_0x38d192:_0x38d192+'';}function G(_0x3e6245,_0xadcec4,_0x2dfe4d){const _0x5af728=_0x5daf81;return(_0xadcec4=pr(_0xadcec4))in _0x3e6245?Object[_0x5af728(0x37a)](_0x3e6245,_0xadcec4,{'value':_0x2dfe4d,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x3e6245[_0xadcec4]=_0x2dfe4d,_0x3e6245;}const mr=_0x3262c5('base.field-registry.service');var hr=class extends _0x183939{constructor(..._0x4cd834){super(..._0x4cd834),G(this,'_plugins',new Map());}[_0x5daf81(0x549)](_0x43c554){const _0x56ce3d=_0x5daf81;return this[_0x56ce3d(0x450)]['set'](_0x43c554[_0x56ce3d(0x305)],_0x43c554),_0x1a388a(()=>this['_plugins'][_0x56ce3d(0x3ae)](_0x43c554[_0x56ce3d(0x305)]));}[_0x5daf81(0x315)](_0xe6849e){const _0x15f3b0=_0x5daf81;let _0x5d38df=this[_0x15f3b0(0x450)][_0x15f3b0(0x315)](_0xe6849e);if(!_0x5d38df)throw Error(_0x15f3b0(0x44e)+_0xe6849e+_0x15f3b0(0x2ec));return _0x5d38df;}[_0x5daf81(0x4fa)](_0x5b54b6){const _0x435e7d=_0x5daf81;return this[_0x435e7d(0x450)][_0x435e7d(0x315)](_0x5b54b6);}['getAll'](){const _0x1fd0b3=_0x5daf81;return Array[_0x1fd0b3(0x404)](this['_plugins']['values']());}},gr=class{constructor(_0x2ab736){const _0x3e16bf=_0x5daf81;this[_0x3e16bf(0x3cb)]=_0x2ab736,G(this,_0x3e16bf(0x305),_0x2ea692[_0x3e16bf(0x348)]),G(this,_0x3e16bf(0x208),_0x44dc45[_0x3e16bf(0x332)]),G(this,_0x3e16bf(0x3f0),_0x2150fa[_0x3e16bf(0x3d0)]),G(this,'id',void 0x0),G(this,'value',!0x0),this['id']=this[_0x3e16bf(0x305)]+'.'+this['subType']+'_'+_0x2ab736;}},_r=class{constructor(_0x43eded){const _0x490427=_0x5daf81;this[_0x490427(0x3cb)]=_0x43eded,G(this,_0x490427(0x305),_0x2ea692[_0x490427(0x348)]),G(this,_0x490427(0x208),_0x44dc45[_0x490427(0x331)]),G(this,_0x490427(0x3f0),_0x2150fa['INIT']),G(this,'id',void 0x0),G(this,_0x490427(0x3fd),!0x0),this['id']=this['type']+'.'+this[_0x490427(0x208)]+'_'+_0x43eded;}},vr=class{constructor(_0x5e497d){const _0x35a505=_0x5daf81;this['unitId']=_0x5e497d,G(this,'type',_0x2ea692[_0x35a505(0x348)]),G(this,'subType',_0x44dc45['Edit']),G(this,_0x35a505(0x3f0),_0x2150fa[_0x35a505(0x3d0)]),G(this,'id',void 0x0),G(this,_0x35a505(0x3fd),!0x0),this['id']=this[_0x35a505(0x305)]+'.'+this[_0x35a505(0x208)]+'_'+_0x5e497d;}},yr=class{constructor(_0x48650f){const _0x480c03=_0x5daf81;this[_0x480c03(0x3cb)]=_0x48650f,G(this,_0x480c03(0x305),_0x2ea692[_0x480c03(0x348)]),G(this,'subType',_0x44dc45[_0x480c03(0x29b)]),G(this,_0x480c03(0x3f0),_0x2150fa[_0x480c03(0x3d0)]),G(this,'id',void 0x0),G(this,_0x480c03(0x3fd),!0x0),this['id']=this['type']+'.'+this[_0x480c03(0x208)]+'_'+_0x48650f;}},br=class{constructor(_0x3767cc,_0x31ae4c){const _0x2a0ae5=_0x5daf81;this[_0x2a0ae5(0x3cb)]=_0x3767cc,this['objectId']=_0x31ae4c,G(this,'type',_0x2ea692['BaseDashboard']),G(this,_0x2a0ae5(0x208),_0x44dc45['Edit']),G(this,'status',_0x2150fa[_0x2a0ae5(0x3d0)]),G(this,'id',void 0x0),G(this,_0x2a0ae5(0x3fd),!0x0),this['id']=this[_0x2a0ae5(0x305)]+'.'+this['subType']+'_'+_0x3767cc+'_'+_0x31ae4c;}},xr=class{constructor(_0x377ebd,_0x2ecf00){const _0x58bb6f=_0x5daf81;this['unitId']=_0x377ebd,this['objectId']=_0x2ecf00,G(this,_0x58bb6f(0x305),_0x2ea692[_0x58bb6f(0x3c1)]),G(this,'subType',_0x44dc45[_0x58bb6f(0x555)]),G(this,'status',_0x2150fa[_0x58bb6f(0x3d0)]),G(this,'id',void 0x0),G(this,_0x58bb6f(0x3fd),!0x0),this['id']=this[_0x58bb6f(0x305)]+'.'+this[_0x58bb6f(0x208)]+'_'+_0x377ebd+'_'+_0x2ecf00;}},Sr=class{constructor(_0x5d5870,_0x304175){const _0x4b9b8a=_0x5daf81;this['unitId']=_0x5d5870,this[_0x4b9b8a(0x3d2)]=_0x304175,G(this,_0x4b9b8a(0x305),_0x2ea692[_0x4b9b8a(0x52a)]),G(this,'subType',_0x44dc45[_0x4b9b8a(0x555)]),G(this,_0x4b9b8a(0x3f0),_0x2150fa['INIT']),G(this,'id',void 0x0),G(this,_0x4b9b8a(0x3fd),!0x0),this['id']=this[_0x4b9b8a(0x305)]+'.'+this[_0x4b9b8a(0x208)]+'_'+_0x5d5870+'_'+_0x304175;}},Cr=class{constructor(_0x16a8ee,_0x1333e2){const _0x58be22=_0x5daf81;this[_0x58be22(0x3cb)]=_0x16a8ee,this[_0x58be22(0x3d2)]=_0x1333e2,G(this,'type',_0x2ea692['BaseTable']),G(this,_0x58be22(0x208),_0x44dc45[_0x58be22(0x555)]),G(this,_0x58be22(0x3f0),_0x2150fa[_0x58be22(0x3d0)]),G(this,'id',void 0x0),G(this,'value',!0x0),this['id']=this[_0x58be22(0x305)]+'.'+this[_0x58be22(0x208)]+'_'+_0x16a8ee+'_'+_0x1333e2;}},wr=class{constructor(_0x59d678,_0x28fc96){const _0x535722=_0x5daf81;this[_0x535722(0x3cb)]=_0x59d678,this[_0x535722(0x3d2)]=_0x28fc96,G(this,_0x535722(0x305),_0x2ea692[_0x535722(0x2cd)]),G(this,_0x535722(0x208),_0x44dc45[_0x535722(0x555)]),G(this,_0x535722(0x3f0),_0x2150fa[_0x535722(0x3d0)]),G(this,'id',void 0x0),G(this,'value',!0x0),this['id']=this[_0x535722(0x305)]+'.'+this['subType']+'_'+_0x59d678+'_'+_0x28fc96;}};const Tr=[_0x44dc45[_0x5daf81(0x555)],_0x44dc45[_0x5daf81(0x331)],_0x44dc45[_0x5daf81(0x29b)],_0x44dc45['Comment']],Er=new Set([_0x2ea692['Base'],_0x2ea692[_0x5daf81(0x1de)],_0x2ea692['BaseField'],_0x2ea692[_0x5daf81(0x52a)],_0x2ea692['BaseView'],_0x2ea692[_0x5daf81(0x357)]]),Dr=_0x5daf81(0x338),Or='field/',kr=_0x5daf81(0x3ef),Ar=_0x5daf81(0x2b1),jr=_0x5daf81(0x321);function K(_0x207fce){return''+Dr+encodeURIComponent(_0x207fce);}function q(_0x5b0782,_0x19a25d){return''+Or+encodeURIComponent(_0x5b0782)+'/'+encodeURIComponent(_0x19a25d);}function J(_0x468a36,_0x2488f4){return''+kr+encodeURIComponent(_0x468a36)+'/'+encodeURIComponent(_0x2488f4);}function Mr(_0x3b784c,_0xf21376){return''+Ar+encodeURIComponent(_0x3b784c)+'/'+encodeURIComponent(_0xf21376);}function Nr(_0x52f826){return''+jr+encodeURIComponent(_0x52f826);}function Pr(_0x569d55,_0x9bc6fb,_0x33f698){const _0x40295f=_0x5daf81;if(_0x9bc6fb===_0x569d55)switch(_0x33f698){case _0x44dc45['Edit']:return new vr(_0x569d55);case _0x44dc45[_0x40295f(0x331)]:return new _r(_0x569d55);case _0x44dc45[_0x40295f(0x29b)]:return new yr(_0x569d55);case _0x44dc45[_0x40295f(0x332)]:return new gr(_0x569d55);default:throw Error(_0x40295f(0x233)+_0x33f698);}if(_0x33f698!==_0x44dc45[_0x40295f(0x555)])throw Error('Base\x20object\x20permissions\x20only\x20support\x20Edit:\x20'+_0x9bc6fb);if(_0x9bc6fb['startsWith'](Dr))return new Cr(_0x569d55,_0x9bc6fb);if(_0x9bc6fb[_0x40295f(0x265)](Or))return new xr(_0x569d55,_0x9bc6fb);if(_0x9bc6fb[_0x40295f(0x265)](kr))return new Sr(_0x569d55,_0x9bc6fb);if(_0x9bc6fb[_0x40295f(0x265)](Ar))return new wr(_0x569d55,_0x9bc6fb);if(_0x9bc6fb[_0x40295f(0x265)](jr))return new br(_0x569d55,_0x9bc6fb);throw Error(_0x40295f(0x544)+_0x9bc6fb);}function Fr(_0x2a23b1,_0x53e4d5,_0x1bdbfa,_0x1147bb){const _0x6c8c91=_0x5daf81;var _0x3c8f09;return((_0x3c8f09=_0x2a23b1['getPermissionPoint'](Pr(_0x53e4d5,_0x1bdbfa,_0x1147bb)['id']))==null?void 0x0:_0x3c8f09[_0x6c8c91(0x3fd)])??!0x0;}function Ir(_0x597694,_0x48577b,_0x443ff4,_0x22e79c,_0x11c081){const _0x1fdbf2=_0x5daf81;let _0x740288=Pr(_0x48577b,_0x443ff4,_0x22e79c);_0x597694['getPermissionPoint'](_0x740288['id'])||_0x597694[_0x1fdbf2(0x292)](_0x740288),_0x597694[_0x1fdbf2(0x1c9)](_0x740288['id'],_0x11c081);}function Lr(_0x313f18,_0x18a8fd,_0x504bf5,_0xd836ae){const _0x3034e6=_0x5daf81;_0x313f18[_0x3034e6(0x258)](Pr(_0x18a8fd,_0x504bf5,_0xd836ae)['id']);}function Rr(_0x438fa6,_0x418dad){const _0x232ddf=_0x5daf81;_0x438fa6[_0x232ddf(0x1bd)]()[_0x232ddf(0x429)]((_0x2729b2,_0x35c5a2)=>{const _0x36883b=_0x232ddf;_0x2729b2[_0x36883b(0x341)](_0x307ce8=>{const _0x46f891=_0x36883b;Er[_0x46f891(0x253)](_0x307ce8['type'])&&_0x46f891(0x3cb)in _0x307ce8&&_0x307ce8[_0x46f891(0x3cb)]===_0x418dad&&_0x438fa6[_0x46f891(0x258)](_0x35c5a2);})[_0x36883b(0x2e9)]();});}function zr(_0x36de95,_0x5209d7,_0x5a2811){const _0x22322b=_0x5daf81;return Fr(_0x36de95,_0x5209d7,_0x5209d7,_0x44dc45[_0x22322b(0x555)])&&Array[_0x22322b(0x404)](_0x5a2811)[_0x22322b(0x2ab)](_0x3658f6=>Fr(_0x36de95,_0x5209d7,_0x3658f6,_0x44dc45[_0x22322b(0x555)]));}function Y(_0x1588d9,_0x3ca502){return function(_0x26570a,_0x540a1a){_0x3ca502(_0x26570a,_0x540a1a,_0x1588d9);};}function X(_0x4a3c0e,_0x5ef101,_0xcab42c,_0x2b72aa){const _0x206daf=_0x5daf81;var _0x4b5f1f=arguments[_0x206daf(0x21d)],_0x155c36=_0x4b5f1f<0x3?_0x5ef101:_0x2b72aa===null?_0x2b72aa=Object[_0x206daf(0x1f0)](_0x5ef101,_0xcab42c):_0x2b72aa,_0x28e73d;if(typeof Reflect=='object'&&typeof Reflect[_0x206daf(0x1d1)]==_0x206daf(0x55e))_0x155c36=Reflect[_0x206daf(0x1d1)](_0x4a3c0e,_0x5ef101,_0xcab42c,_0x2b72aa);else{for(var _0x466af2=_0x4a3c0e[_0x206daf(0x21d)]-0x1;_0x466af2>=0x0;_0x466af2--)(_0x28e73d=_0x4a3c0e[_0x466af2])&&(_0x155c36=(_0x4b5f1f<0x3?_0x28e73d(_0x155c36):_0x4b5f1f>0x3?_0x28e73d(_0x5ef101,_0xcab42c,_0x155c36):_0x28e73d(_0x5ef101,_0xcab42c))||_0x155c36);}return _0x4b5f1f>0x3&&_0x155c36&&Object[_0x206daf(0x37a)](_0x5ef101,_0xcab42c,_0x155c36),_0x155c36;}const Br=_0x3262c5('base.permission.service');let Vr=class extends _0x183939{constructor(_0xc323cf,_0x31958a){const _0x113128=_0x5daf81;super(),this[_0x113128(0x43e)]=_0xc323cf,this[_0x113128(0x443)]=_0x31958a,G(this,_0x113128(0x22b),new Map()),G(this,_0x113128(0x2c8),new Map()),G(this,_0x113128(0x1f7),new Map()),G(this,'_recordPermissions',new Map()),G(this,_0x113128(0x28b),new Map()),G(this,_0x113128(0x319),new Map()),this[_0x113128(0x314)](this[_0x113128(0x443)]['getTypeOfUnitDisposed$'](_0x2ddca0[_0x113128(0x33d)])[_0x113128(0x341)](_0x164beb=>this['_clearUnit'](_0x164beb[_0x113128(0x506)]())));}[_0x5daf81(0x477)](_0x2021db){const _0x150bb7=_0x5daf81;var _0x5c96ce;return this['_canEdit'](_0x2021db,[])&&(((_0x5c96ce=this[_0x150bb7(0x22b)][_0x150bb7(0x315)](_0x2021db))==null?void 0x0:_0x5c96ce[_0x150bb7(0x3e6)])??!0x0);}['canEditTable'](_0x5a28c2){const _0x535da2=_0x5daf81;return this[_0x535da2(0x2b7)](_0x5a28c2);}[_0x5daf81(0x1e4)](_0x32f035){const _0x421e2c=_0x5daf81;var _0x5678a6;return this['_canEditTable'](_0x32f035)&&(((_0x5678a6=this[_0x421e2c(0x2c8)][_0x421e2c(0x315)](_0x32f035))==null?void 0x0:_0x5678a6['delete'])??!0x0);}[_0x5daf81(0x4bd)](_0x21309e){const _0x2f0408=_0x5daf81;var _0x43ee80;return this[_0x2f0408(0x2b7)](_0x21309e)&&(((_0x43ee80=this['_tablePermissions'][_0x2f0408(0x315)](_0x21309e))==null?void 0x0:_0x43ee80[_0x2f0408(0x543)])??!0x0);}['canEditField'](_0x2ace54,_0x355ab8){const _0xb9fa9b=_0x5daf81;var _0x5351d7;return this[_0xb9fa9b(0x2b7)](_0x2ace54)&&this[_0xb9fa9b(0x2c6)](_0x2ace54,[q(_0x2ace54,_0x355ab8)])&&(((_0x5351d7=this[_0xb9fa9b(0x1f7)][_0xb9fa9b(0x315)](Ur(_0x2ace54,_0x355ab8)))==null?void 0x0:_0x5351d7[_0xb9fa9b(0x218)])??!0x0);}[_0x5daf81(0x435)](_0x17d090,_0x1395f4){const _0x2dd804=_0x5daf81;var _0x56248f;return this[_0x2dd804(0x2bd)](_0x17d090,_0x1395f4)&&(((_0x56248f=this['_fieldPermissions'][_0x2dd804(0x315)](Ur(_0x17d090,_0x1395f4)))==null?void 0x0:_0x56248f[_0x2dd804(0x3ae)])??!0x0);}['canCreateRecord'](_0x4774df){const _0x53ba98=_0x5daf81;var _0x3e41fb;return this['_canEditTable'](_0x4774df)&&(((_0x3e41fb=this[_0x53ba98(0x2c8)]['get'](_0x4774df))==null?void 0x0:_0x3e41fb[_0x53ba98(0x283)])??!0x0);}[_0x5daf81(0x3b5)](_0x3398e8,_0x2b69f7){const _0x5c30b8=_0x5daf81;var _0x863112;let _0x267a5d=this[_0x5c30b8(0x2c0)][_0x5c30b8(0x315)](Wr(_0x3398e8,_0x2b69f7));return this[_0x5c30b8(0x2c6)](_0x3398e8,[K(_0x3398e8),J(_0x3398e8,_0x2b69f7)])&&(((_0x863112=this[_0x5c30b8(0x2c8)][_0x5c30b8(0x315)](_0x3398e8))==null?void 0x0:_0x863112[_0x5c30b8(0x218)])??!0x0)&&((_0x267a5d==null?void 0x0:_0x267a5d[_0x5c30b8(0x218)])??!0x0)&&((_0x267a5d==null?void 0x0:_0x267a5d[_0x5c30b8(0x364)])??!0x0);}[_0x5daf81(0x408)](_0xca3ef0,_0x716a82){const _0x4b2e7d=_0x5daf81;var _0x408857,_0x3ea89f,_0xa8a31c;return this[_0x4b2e7d(0x2c6)](_0xca3ef0,[K(_0xca3ef0),J(_0xca3ef0,_0x716a82)])&&(((_0x408857=this[_0x4b2e7d(0x2c8)][_0x4b2e7d(0x315)](_0xca3ef0))==null?void 0x0:_0x408857['edit'])??!0x0)&&(((_0x3ea89f=this[_0x4b2e7d(0x2c0)]['get'](Wr(_0xca3ef0,_0x716a82)))==null?void 0x0:_0x3ea89f[_0x4b2e7d(0x218)])??!0x0)&&(((_0xa8a31c=this[_0x4b2e7d(0x2c0)][_0x4b2e7d(0x315)](Wr(_0xca3ef0,_0x716a82)))==null?void 0x0:_0xa8a31c['delete'])??!0x0);}[_0x5daf81(0x1be)](_0x33a770,_0x5b494f,_0xf0a5b4){const _0x784c02=_0x5daf81;var _0x5b8981,_0xb7918,_0x5357de;let _0x3aa8b8=this['_fieldPermissions'][_0x784c02(0x315)](Ur(_0x33a770,_0xf0a5b4));return this[_0x784c02(0x2c6)](_0x33a770,[K(_0x33a770),q(_0x33a770,_0xf0a5b4),J(_0x33a770,_0x5b494f)])&&(((_0x5b8981=this['_tablePermissions']['get'](_0x33a770))==null?void 0x0:_0x5b8981[_0x784c02(0x218)])??!0x0)&&(((_0xb7918=this[_0x784c02(0x2c0)][_0x784c02(0x315)](Wr(_0x33a770,_0x5b494f)))==null?void 0x0:_0xb7918[_0x784c02(0x218)])??!0x0)&&(((_0x5357de=this[_0x784c02(0x2c0)][_0x784c02(0x315)](Wr(_0x33a770,_0x5b494f)))==null?void 0x0:_0x5357de['editCell'])??!0x0)&&((_0x3aa8b8==null?void 0x0:_0x3aa8b8[_0x784c02(0x218)])??!0x0)&&((_0x3aa8b8==null?void 0x0:_0x3aa8b8[_0x784c02(0x364)])??!0x0);}[_0x5daf81(0x373)](_0x323534,_0x63155){const _0x5ce455=_0x5daf81;var _0x55c960,_0x5c7ca6,_0x1f3b6a;return this[_0x5ce455(0x2c6)](_0x323534,[K(_0x323534),Mr(_0x323534,_0x63155)])&&(((_0x55c960=this['_tablePermissions'][_0x5ce455(0x315)](_0x323534))==null?void 0x0:_0x55c960[_0x5ce455(0x218)])??!0x0)&&(((_0x5c7ca6=this[_0x5ce455(0x28b)][_0x5ce455(0x315)](Gr(_0x323534,_0x63155)))==null?void 0x0:_0x5c7ca6[_0x5ce455(0x218)])??!0x0)&&(((_0x1f3b6a=this['_tablePermissions']['get'](_0x323534))==null?void 0x0:_0x1f3b6a[_0x5ce455(0x27e)])??!0x0);}[_0x5daf81(0x52f)](_0x4aa06e,_0x521e6b){const _0x33df45=_0x5daf81;this[_0x33df45(0x22b)][_0x33df45(0x1ba)](_0x4aa06e,{...this['_basePermissions'][_0x33df45(0x315)](_0x4aa06e),..._0x521e6b}),_0x521e6b[_0x33df45(0x218)]!==void 0x0&&Ir(this['_permissionService'],_0x4aa06e,_0x4aa06e,_0x44dc45[_0x33df45(0x555)],_0x521e6b['edit']);}[_0x5daf81(0x2b9)](_0x221689,_0x1d10ca){const _0x1870ed=_0x5daf81;this[_0x1870ed(0x4d0)](_0x221689),this[_0x1870ed(0x2c8)]['set'](_0x221689,{...this[_0x1870ed(0x2c8)][_0x1870ed(0x315)](_0x221689),..._0x1d10ca}),this[_0x1870ed(0x2ae)](_0x221689,K(_0x221689),_0x1d10ca[_0x1870ed(0x218)]);}['setFieldPermission'](_0x287546,_0x110fb6,_0x2d77b8){const _0x118c9d=_0x5daf81;this['_rememberTable'](_0x287546);let _0x541e78=Ur(_0x287546,_0x110fb6);this['_fieldPermissions']['set'](_0x541e78,{...this[_0x118c9d(0x1f7)][_0x118c9d(0x315)](_0x541e78),..._0x2d77b8}),this['_setObjectEdit'](_0x287546,q(_0x287546,_0x110fb6),_0x2d77b8[_0x118c9d(0x218)]);}['setRecordPermission'](_0x4d8e7f,_0x383d84,_0x54ff38){const _0x59ed73=_0x5daf81;this[_0x59ed73(0x4d0)](_0x4d8e7f);let _0x52b23c=Wr(_0x4d8e7f,_0x383d84);this[_0x59ed73(0x2c0)][_0x59ed73(0x1ba)](_0x52b23c,{...this[_0x59ed73(0x2c0)]['get'](_0x52b23c),..._0x54ff38}),this[_0x59ed73(0x2ae)](_0x4d8e7f,J(_0x4d8e7f,_0x383d84),_0x54ff38[_0x59ed73(0x218)]);}[_0x5daf81(0x35e)](_0x52a40a,_0x1ab361,_0x220bb1){const _0x11c95d=_0x5daf81;this[_0x11c95d(0x4d0)](_0x52a40a);let _0x260fe6=Gr(_0x52a40a,_0x1ab361);this['_viewPermissions'][_0x11c95d(0x1ba)](_0x260fe6,{...this[_0x11c95d(0x28b)]['get'](_0x260fe6),..._0x220bb1}),this['_setObjectEdit'](_0x52a40a,Mr(_0x52a40a,_0x1ab361),_0x220bb1[_0x11c95d(0x218)]);}[_0x5daf81(0x40a)](_0x5521ab){const _0x52b9cb=_0x5daf81;this['_basePermissions'][_0x52b9cb(0x3ae)](_0x5521ab),Lr(this[_0x52b9cb(0x43e)],_0x5521ab,_0x5521ab,_0x44dc45[_0x52b9cb(0x555)]);}[_0x5daf81(0x3f4)](_0x395396){const _0x3b98e8=_0x5daf81;this[_0x3b98e8(0x2c8)]['delete'](_0x395396),this[_0x3b98e8(0x502)](_0x395396,K(_0x395396));}['clearFieldPermission'](_0x55c835,_0x155077){const _0x60b42=_0x5daf81;this[_0x60b42(0x1f7)]['delete'](Ur(_0x55c835,_0x155077)),this[_0x60b42(0x502)](_0x55c835,q(_0x55c835,_0x155077));}[_0x5daf81(0x1fd)](_0x40b011,_0x380c10){const _0x16a009=_0x5daf81;this['_recordPermissions'][_0x16a009(0x3ae)](Wr(_0x40b011,_0x380c10)),this[_0x16a009(0x502)](_0x40b011,J(_0x40b011,_0x380c10));}[_0x5daf81(0x471)](_0x3e5866,_0x46ecc3){const _0x183613=_0x5daf81;this[_0x183613(0x28b)][_0x183613(0x3ae)](Gr(_0x3e5866,_0x46ecc3)),this[_0x183613(0x502)](_0x3e5866,Mr(_0x3e5866,_0x46ecc3));}[_0x5daf81(0x2f3)](){const _0x3755a0=_0x5daf81;return{'bases':Object[_0x3755a0(0x407)](this[_0x3755a0(0x22b)]),'tables':Object['fromEntries'](this[_0x3755a0(0x2c8)]),'fields':Object[_0x3755a0(0x407)](this['_fieldPermissions']),'records':Object[_0x3755a0(0x407)](this[_0x3755a0(0x2c0)]),'views':Object[_0x3755a0(0x407)](this[_0x3755a0(0x28b)])};}[_0x5daf81(0x2b7)](_0x1da631){const _0x190e1e=_0x5daf81;var _0x5e3d4c;return this[_0x190e1e(0x2c6)](_0x1da631,[K(_0x1da631)])&&(((_0x5e3d4c=this[_0x190e1e(0x2c8)][_0x190e1e(0x315)](_0x1da631))==null?void 0x0:_0x5e3d4c[_0x190e1e(0x218)])??!0x0);}[_0x5daf81(0x2c6)](_0x26591e,_0xd7c73){const _0x1343af=_0x5daf81;var _0x2f40aa;let _0x14cd80=this[_0x1343af(0x45c)](_0x26591e);return!_0x14cd80||zr(this['_permissionService'],_0x14cd80,_0xd7c73)&&(((_0x2f40aa=this[_0x1343af(0x22b)]['get'](_0x14cd80))==null?void 0x0:_0x2f40aa[_0x1343af(0x218)])??!0x0);}[_0x5daf81(0x2ae)](_0x2caaef,_0x557a2b,_0x6e6d6e){const _0x39dc4e=_0x5daf81;if(_0x6e6d6e===void 0x0)return;let _0x3880a7=this[_0x39dc4e(0x45c)](_0x2caaef);_0x3880a7&&Ir(this[_0x39dc4e(0x43e)],_0x3880a7,_0x557a2b,_0x44dc45[_0x39dc4e(0x555)],_0x6e6d6e);}[_0x5daf81(0x502)](_0x5362e6,_0x487afa){const _0x3c979d=_0x5daf81;let _0x34ba84=this['_resolveBaseId'](_0x5362e6);_0x34ba84&&Lr(this[_0x3c979d(0x43e)],_0x34ba84,_0x487afa,_0x44dc45[_0x3c979d(0x555)]);}[_0x5daf81(0x45c)](_0x417292){const _0x1a7bcb=_0x5daf81;var _0x40c19a;let _0x1b0409=this[_0x1a7bcb(0x443)]['getUnit'](_0x417292,_0x2ddca0[_0x1a7bcb(0x33d)]);return _0x1b0409?_0x1b0409[_0x1a7bcb(0x506)]():(_0x40c19a=this[_0x1a7bcb(0x443)][_0x1a7bcb(0x34d)](_0x2ddca0['UNIVER_BASE'])['find'](_0x1e03da=>!!_0x1e03da[_0x1a7bcb(0x2f3)]()['tables'][_0x417292]))==null?void 0x0:_0x40c19a[_0x1a7bcb(0x506)]();}[_0x5daf81(0x4d0)](_0x1479cf){const _0x1b2c73=_0x5daf81;let _0x422fbd=this[_0x1b2c73(0x45c)](_0x1479cf);_0x422fbd&&this[_0x1b2c73(0x319)][_0x1b2c73(0x1ba)](_0x1479cf,_0x422fbd);}[_0x5daf81(0x3c9)](_0x1656e8){const _0x4ed80a=_0x5daf81;this[_0x4ed80a(0x22b)][_0x4ed80a(0x3ae)](_0x1656e8),this[_0x4ed80a(0x319)][_0x4ed80a(0x429)]((_0x29064f,_0x1c1917)=>{const _0x15e8ac=_0x4ed80a;_0x29064f===_0x1656e8&&(this['_tablePermissions'][_0x15e8ac(0x3ae)](_0x1c1917),Hr(this['_fieldPermissions'],_0x1c1917+'\x1f'),Hr(this[_0x15e8ac(0x2c0)],_0x1c1917+'\x1f'),Hr(this[_0x15e8ac(0x28b)],_0x1c1917+'\x1f'),this[_0x15e8ac(0x319)]['delete'](_0x1c1917));});}};Vr=X([Y(0x0,_0x2f962f),Y(0x1,_0x364596)],Vr);function Hr(_0x2fc79a,_0x331ec6){const _0x16b86b=_0x5daf81;_0x2fc79a[_0x16b86b(0x429)]((_0x5b1905,_0x3d4cad)=>{_0x3d4cad['startsWith'](_0x331ec6)&&_0x2fc79a['delete'](_0x3d4cad);});}function Ur(_0x5606eb,_0x5ca9a6){return _0x5606eb+'\x1f'+_0x5ca9a6;}function Wr(_0x56462a,_0x3c0549){return _0x56462a+'\x1f'+_0x3c0549;}function Gr(_0x3171b6,_0xb88c2b){return _0x3171b6+'\x1f'+_0xb88c2b;}const Kr=_0x3262c5(_0x5daf81(0x3ab));let qr=class{constructor(_0x1d8826,_0x3453b4=Jr(),_0x170c1c={}){const _0x5732db=_0x5daf81;this['_permissionService']=_0x1d8826,this[_0x5732db(0x47d)]=_0x3453b4,this[_0x5732db(0x2e7)]=_0x170c1c,G(this,_0x5732db(0x545),new W()),G(this,_0x5732db(0x4cb),new z());}[_0x5daf81(0x3e6)](_0x45af33,_0x3cf17a,_0x17983b){const _0x14441b=_0x5daf81;if(!this['_permissionService'][_0x14441b(0x477)](_0x45af33[_0x14441b(0x506)]()))throw Error(_0x14441b(0x412));_0x3db867(_0x3cf17a),this[_0x14441b(0x2f6)](_0x45af33,this[_0x14441b(0x545)][_0x14441b(0x3e6)](_0x45af33['getSnapshot'](),_0x3cf17a,_0x17983b));}[_0x5daf81(0x3c3)](_0x1ceed4,_0x178807,_0x26df02){const _0x4e2682=_0x5daf81;if(!this[_0x4e2682(0x43e)][_0x4e2682(0x28d)](_0x178807))throw Error(_0x4e2682(0x44f));this['_apply'](_0x1ceed4,this[_0x4e2682(0x545)][_0x4e2682(0x3c3)](_0x1ceed4[_0x4e2682(0x2f3)](),_0x178807,_0x26df02));}['deleteTable'](_0x5a405b,_0x3f17ac){const _0x12e94e=_0x5daf81;if(!this[_0x12e94e(0x43e)]['canDeleteTable'](_0x3f17ac))throw Error('[BaseCommandService]:\x20cannot\x20delete\x20table.');let _0x1deb51=He(_0x5a405b[_0x12e94e(0x2f3)](),_0x3f17ac);if(_0x1deb51[_0x12e94e(0x21d)]>0x0)throw Error(_0x12e94e(0x4af)+_0x1deb51['map'](_0x8db854=>_0x8db854['tableId']+'.'+_0x8db854['fieldId'])[_0x12e94e(0x30a)](',\x20')+').');this[_0x12e94e(0x2f6)](_0x5a405b,this[_0x12e94e(0x545)][_0x12e94e(0x4ed)](_0x5a405b[_0x12e94e(0x2f3)](),_0x3f17ac));}[_0x5daf81(0x2ef)](_0x3210f1,_0x556ff7,_0x51e9d9,_0x1a7500,_0x5c34c3){const _0x5f0891=_0x5daf81;this[_0x5f0891(0x2f6)](_0x3210f1,this[_0x5f0891(0x46c)](_0x3210f1,_0x556ff7,_0x51e9d9,_0x1a7500,_0x5c34c3));}[_0x5daf81(0x529)](_0x191160,_0x41ef47,_0x49b145){const _0x4ca632=_0x5daf81;this['_apply'](_0x191160,this[_0x4ca632(0x2be)](_0x191160,_0x41ef47,_0x49b145));}[_0x5daf81(0x283)](_0x665f23,_0x229994,_0x39778a){const _0x40b4d0=_0x5daf81;this[_0x40b4d0(0x2f6)](_0x665f23,this[_0x40b4d0(0x52d)](_0x665f23,_0x229994,_0x39778a));}[_0x5daf81(0x46c)](_0x517d49,_0x46630a,_0x21fb4a,_0xc9917d,_0x201d0c){const _0x2fffca=_0x5daf81;let _0x401343=_0x517d49[_0x2fffca(0x2f3)](),_0x134562=this[_0x2fffca(0x2b4)](_0x401343,_0x46630a,_0x21fb4a,_0xc9917d,_0x201d0c),_0x45179a=this[_0x2fffca(0x1fc)](_0x401343,_0x46630a,_0x21fb4a,{[_0xc9917d]:_0x134562});return this[_0x2fffca(0x545)][_0x2fffca(0x529)](_0x401343,_0x46630a,[_0x45179a]);}[_0x5daf81(0x2be)](_0x50b148,_0x13871f,_0x331966){const _0x8e637b=_0x5daf81;let _0x10ba0e=_0x50b148['getSnapshot'](),_0x2c7648=_0x331966['map'](_0x51d946=>this[_0x8e637b(0x1fc)](_0x10ba0e,_0x13871f,_0x51d946[_0x8e637b(0x1c6)],{...Object[_0x8e637b(0x407)](Object[_0x8e637b(0x2e4)](_0x51d946[_0x8e637b(0x45b)])[_0x8e637b(0x2b0)](([_0x4ae60d,_0x23f8ad])=>[_0x4ae60d,this[_0x8e637b(0x2b4)](_0x10ba0e,_0x13871f,_0x51d946[_0x8e637b(0x1c6)],_0x4ae60d,_0x23f8ad)]))}));return this['_factory']['setRecordValues'](_0x10ba0e,_0x13871f,_0x2c7648);}[_0x5daf81(0x52d)](_0x4dd31b,_0x27e3d0,_0x1960c7){const _0x489897=_0x5daf81;if(!this[_0x489897(0x43e)][_0x489897(0x31b)](_0x27e3d0))throw Error('[BaseCommandService]:\x20cannot\x20create\x20record.');let _0x2cc1b3=_0x4dd31b[_0x489897(0x2f3)](),_0x18e860=this[_0x489897(0x244)](_0x2cc1b3[_0x489897(0x2f7)][_0x27e3d0]);return this[_0x489897(0x545)][_0x489897(0x283)](_0x2cc1b3,_0x27e3d0,this[_0x489897(0x39d)](_0x2cc1b3,_0x27e3d0,_0x1960c7,_0x18e860));}[_0x5daf81(0x556)](_0x5d9cb2,_0x17847b,_0x80e081){const _0x5bde61=_0x5daf81;if(!this[_0x5bde61(0x43e)][_0x5bde61(0x31b)](_0x17847b))throw Error(_0x5bde61(0x34e));let _0x3d164d=_0x5d9cb2[_0x5bde61(0x2f3)]();return I('BaseCommand.createBatchCreateRecordsOp',()=>{const _0x6be912=_0x5bde61;let _0x2290f8=this[_0x6be912(0x244)](_0x3d164d[_0x6be912(0x2f7)][_0x17847b]);return this[_0x6be912(0x545)][_0x6be912(0x4da)](_0x3d164d,_0x17847b,_0x80e081[_0x6be912(0x2b0)](_0xa874ce=>this[_0x6be912(0x39d)](_0x3d164d,_0x17847b,_0xa874ce,_0x2290f8)));},{'existingRecords':Object[_0x5bde61(0x46f)](_0x3d164d[_0x5bde61(0x2f7)][_0x17847b]['records'])['length'],'records':_0x80e081['length']});}[_0x5daf81(0x539)](_0x390ea5,_0x41393,_0xe77d10,_0x3caf13,_0x1e6ac4){const _0x488316=_0x5daf81;if(!this[_0x488316(0x43e)][_0x488316(0x4bd)](_0x41393))throw Error(_0x488316(0x2de));let _0x4f23e3=_0x390ea5[_0x488316(0x2f3)]();if(this[_0x488316(0x405)](_0x4f23e3,_0xe77d10),_0x3caf13===0x0)throw Error(_0x488316(0x446));let _0x511a1d=this['_factory']['createField'](_0x4f23e3,_0x41393,{'field':_0xe77d10,'index':_0x3caf13,'viewIndexes':_0x1e6ac4}),_0x1d6d67=this[_0x488316(0x522)](_0x4f23e3,_0x41393,_0xe77d10);if(!_0x1d6d67['length'])return _0x511a1d;let _0x5c60de=this[_0x488316(0x4cb)][_0x488316(0x525)](_0x4f23e3,_0x511a1d);return R([_0x511a1d,this[_0x488316(0x545)]['setRecordValues'](_0x5c60de,_0x41393,_0x1d6d67)]);}[_0x5daf81(0x45e)](_0x3c2aa9,_0x5466b6,_0x15b21d){const _0x71f55d=_0x5daf81;if(!this[_0x71f55d(0x43e)][_0x71f55d(0x408)](_0x5466b6,_0x15b21d))throw Error(_0x71f55d(0x498));this[_0x71f55d(0x2f6)](_0x3c2aa9,this[_0x71f55d(0x545)]['deleteRecord'](_0x3c2aa9[_0x71f55d(0x2f3)](),_0x5466b6,_0x15b21d));}['duplicateRecord'](_0x54642b,_0x3228be,_0x169a73,_0x43f8cb){const _0x551ec7=_0x5daf81;if(!this[_0x551ec7(0x43e)][_0x551ec7(0x31b)](_0x3228be))throw Error(_0x551ec7(0x34e));this['_apply'](_0x54642b,this[_0x551ec7(0x545)][_0x551ec7(0x339)](_0x54642b[_0x551ec7(0x2f3)](),_0x3228be,_0x169a73,{..._0x43f8cb,'values':{..._0x43f8cb['values'],[_0x4a6fc3]:_0x43f8cb['id']}}));}[_0x5daf81(0x3f6)](_0x4470ff,_0x1bd4fd,_0x3acfaf,_0x4276f1){const _0x40033a=_0x5daf81;if(!this[_0x40033a(0x43e)][_0x40033a(0x3b5)](_0x1bd4fd,_0x3acfaf))throw Error(_0x40033a(0x277));this[_0x40033a(0x2f6)](_0x4470ff,this[_0x40033a(0x545)][_0x40033a(0x3f6)](_0x4470ff['getSnapshot'](),_0x1bd4fd,_0x3acfaf,_0x4276f1));}[_0x5daf81(0x543)](_0x403e6d,_0x3d060c,_0x10c807,_0x23837e,_0x31ea3d){const _0x347999=_0x5daf81;this['_apply'](_0x403e6d,this[_0x347999(0x539)](_0x403e6d,_0x3d060c,_0x10c807,_0x23837e,_0x31ea3d));}[_0x5daf81(0x23d)](_0x18d630,_0x309121,_0x2d22b0,_0xe56654){const _0x8006e0=_0x5daf81;var _0x34c575;if(!this[_0x8006e0(0x43e)][_0x8006e0(0x2bd)](_0x309121,_0x2d22b0))throw Error('[BaseCommandService]:\x20cannot\x20edit\x20field.');let _0x588dfb=_0x18d630['getSnapshot'](),_0x246ae3=(_0x34c575=_0x588dfb[_0x8006e0(0x2f7)][_0x309121])==null?void 0x0:_0x34c575[_0x8006e0(0x503)][_0x2d22b0];if(!_0x246ae3||_0x2d22b0===_0x4a6fc3)throw Error(_0x8006e0(0x47b));this[_0x8006e0(0x405)](_0x588dfb,{..._0x246ae3,..._0xe56654}),this[_0x8006e0(0x2f6)](_0x18d630,this[_0x8006e0(0x545)][_0x8006e0(0x23d)](_0x588dfb,_0x309121,_0x2d22b0,_0xe56654));}[_0x5daf81(0x4f5)](_0x288031,_0x507623,_0x57efb8,_0x7ccdae){const _0x1d5d70=_0x5daf81;var _0x598f68;if(!this[_0x1d5d70(0x43e)][_0x1d5d70(0x2bd)](_0x507623,_0x57efb8))throw Error(_0x1d5d70(0x3fc));let _0x1c31f8=_0x288031[_0x1d5d70(0x2f3)](),_0x5c4e02=(_0x598f68=_0x1c31f8[_0x1d5d70(0x2f7)][_0x507623])==null?void 0x0:_0x598f68[_0x1d5d70(0x503)][_0x57efb8];if(!_0x5c4e02||_0x57efb8===_0x4a6fc3)throw Error('[BaseCommandService]:\x20cannot\x20change\x20record-id\x20field\x20type.');this['_assertFieldDefinition'](_0x1c31f8,{..._0x5c4e02,..._0x7ccdae}),this[_0x1d5d70(0x2f6)](_0x288031,this['_factory'][_0x1d5d70(0x4f5)](_0x1c31f8,_0x507623,_0x57efb8,_0x7ccdae));}[_0x5daf81(0x513)](_0x48c0c3,_0x3e66fc,_0x4fbcb2){const _0x2e7ef2=_0x5daf81;var _0x1799d1;if(((_0x1799d1=_0x48c0c3[_0x2e7ef2(0x2f3)]()[_0x2e7ef2(0x2f7)][_0x3e66fc])==null?void 0x0:_0x1799d1[_0x2e7ef2(0x51f)])===_0x4fbcb2||_0x4fbcb2===_0x4a6fc3)throw Error(_0x2e7ef2(0x211));if(!this[_0x2e7ef2(0x43e)][_0x2e7ef2(0x435)](_0x3e66fc,_0x4fbcb2))throw Error('[BaseCommandService]:\x20cannot\x20delete\x20field.');this['_apply'](_0x48c0c3,this[_0x2e7ef2(0x545)][_0x2e7ef2(0x513)](_0x48c0c3[_0x2e7ef2(0x2f3)](),_0x3e66fc,_0x4fbcb2));}['moveField'](_0x4a4617,_0x1bf2d4,_0x36daf9,_0x38f8dd){const _0x5471b9=_0x5daf81;if(!this[_0x5471b9(0x43e)][_0x5471b9(0x2bd)](_0x1bf2d4,_0x36daf9))throw Error('[BaseCommandService]:\x20cannot\x20edit\x20field.');if(_0x36daf9===_0x4a6fc3||_0x38f8dd[_0x5471b9(0x1c5)]===_0x4a6fc3)throw Error(_0x5471b9(0x3ed));this[_0x5471b9(0x2f6)](_0x4a4617,this[_0x5471b9(0x545)][_0x5471b9(0x3c8)](_0x4a4617['getSnapshot'](),_0x1bf2d4,_0x36daf9,_0x38f8dd));}[_0x5daf81(0x1b6)](_0xb6dcf0,_0x487f40,_0x58fc70,_0x46d3b1){const _0x5bd3e7=_0x5daf81;if(!this[_0x5bd3e7(0x43e)][_0x5bd3e7(0x373)](_0x487f40,_0x58fc70['id']))throw Error(_0x5bd3e7(0x3a2));this[_0x5bd3e7(0x2f6)](_0xb6dcf0,this[_0x5bd3e7(0x545)][_0x5bd3e7(0x1b6)](_0xb6dcf0[_0x5bd3e7(0x2f3)](),_0x487f40,_0x58fc70,_0x46d3b1));}[_0x5daf81(0x461)](_0x39b46b,_0x402b57,_0xa8359e,_0x47a37c){const _0x2359b7=_0x5daf81;if(!this[_0x2359b7(0x43e)][_0x2359b7(0x373)](_0x402b57,_0xa8359e))throw Error(_0x2359b7(0x3a2));this[_0x2359b7(0x2f6)](_0x39b46b,this[_0x2359b7(0x545)][_0x2359b7(0x461)](_0x39b46b[_0x2359b7(0x2f3)](),_0x402b57,_0xa8359e,_0x47a37c));}[_0x5daf81(0x302)](_0x4359cb,_0x35d28c,_0xf26df3){const _0x4fdd3c=_0x5daf81;if(!this[_0x4fdd3c(0x43e)][_0x4fdd3c(0x373)](_0x35d28c,_0xf26df3))throw Error(_0x4fdd3c(0x3a2));this[_0x4fdd3c(0x2f6)](_0x4359cb,this[_0x4fdd3c(0x545)][_0x4fdd3c(0x302)](_0x4359cb[_0x4fdd3c(0x2f3)](),_0x35d28c,_0xf26df3));}[_0x5daf81(0x2d3)](_0x5bd055,_0x55d227,_0x3527f0,_0x5bf492){const _0x2c87fd=_0x5daf81;if(!this[_0x2c87fd(0x43e)]['canManageView'](_0x55d227,_0x3527f0))throw Error(_0x2c87fd(0x3a2));this[_0x2c87fd(0x2f6)](_0x5bd055,this['_factory'][_0x2c87fd(0x2d3)](_0x5bd055['getSnapshot'](),_0x55d227,_0x3527f0,_0x5bf492));}['updateViewConfig'](_0x1c3db9,_0x86173f,_0x2286ae,_0x30a549){const _0x1c241f=_0x5daf81;if(!this[_0x1c241f(0x43e)][_0x1c241f(0x373)](_0x86173f,_0x2286ae))throw Error(_0x1c241f(0x3a2));this[_0x1c241f(0x2f6)](_0x1c3db9,this['_factory'][_0x1c241f(0x4c9)](_0x1c3db9[_0x1c241f(0x2f3)](),_0x86173f,_0x2286ae,_0x30a549));}[_0x5daf81(0x4ea)](_0x1660b1,_0x90d1e6,_0x247c11,_0x23cb90){const _0x1db476=_0x5daf81;if(!this[_0x1db476(0x43e)]['canManageView'](_0x90d1e6,_0x247c11))throw Error(_0x1db476(0x3a2));this['_apply'](_0x1660b1,this[_0x1db476(0x545)][_0x1db476(0x4ea)](_0x1660b1['getSnapshot'](),_0x90d1e6,_0x247c11,_0x23cb90));}[_0x5daf81(0x367)](_0x2abc16,_0x398af2,_0x20768f,_0x1a2126){const _0xb955b1=_0x5daf81;if(!this['_permissionService'][_0xb955b1(0x373)](_0x398af2,_0x20768f))throw Error('[BaseCommandService]:\x20cannot\x20manage\x20view.');this[_0xb955b1(0x2f6)](_0x2abc16,this['_factory'][_0xb955b1(0x367)](_0x2abc16[_0xb955b1(0x2f3)](),_0x398af2,_0x20768f,_0x1a2126));}[_0x5daf81(0x40b)](_0x52ecd9,_0x3e1f07,_0x45f729,_0x52c385){const _0x274377=_0x5daf81;if(!this[_0x274377(0x43e)][_0x274377(0x373)](_0x3e1f07,_0x45f729))throw Error(_0x274377(0x3a2));this['_apply'](_0x52ecd9,this[_0x274377(0x545)][_0x274377(0x40b)](_0x52ecd9[_0x274377(0x2f3)](),_0x3e1f07,_0x45f729,_0x52c385));}[_0x5daf81(0x44d)](_0xf36205,_0x4790db,_0x268896,_0x30a8c2,_0x557147){const _0x8683a6=_0x5daf81;if(!this[_0x8683a6(0x43e)][_0x8683a6(0x373)](_0x4790db,_0x268896))throw Error('[BaseCommandService]:\x20cannot\x20manage\x20view.');this['_apply'](_0xf36205,this[_0x8683a6(0x545)][_0x8683a6(0x44d)](_0xf36205[_0x8683a6(0x2f3)](),_0x4790db,_0x268896,_0x30a8c2,_0x557147));}['setViewFieldWidth'](_0x1545f1,_0x1f4d03,_0x516d16,_0x5a78a4,_0xe2ad34){const _0x1aab3e=_0x5daf81;if(!this[_0x1aab3e(0x43e)]['canManageView'](_0x1f4d03,_0x516d16))throw Error('[BaseCommandService]:\x20cannot\x20manage\x20view.');this['_apply'](_0x1545f1,this[_0x1aab3e(0x545)][_0x1aab3e(0x41a)](_0x1545f1['getSnapshot'](),_0x1f4d03,_0x516d16,_0x5a78a4,_0xe2ad34));}[_0x5daf81(0x511)](_0x2d4499,_0x2b0354,_0x27ec59,_0x64ad44,_0x2b99a1){const _0x40a481=_0x5daf81;if(!this[_0x40a481(0x43e)][_0x40a481(0x373)](_0x2b0354,_0x27ec59))throw Error(_0x40a481(0x3a2));this[_0x40a481(0x2f6)](_0x2d4499,this[_0x40a481(0x545)][_0x40a481(0x511)](_0x2d4499[_0x40a481(0x2f3)](),_0x2b0354,_0x27ec59,_0x64ad44,_0x2b99a1));}['_apply'](_0x122284,_0x230670){const _0x310021=_0x5daf81;let _0x1b1d1d=_0x122284[_0x310021(0x2f3)]();_0x122284[_0x310021(0x49d)](this['_applier']['applyOp'](_0x1b1d1d,_0x230670));}['_createRecordWithDefaults'](_0x3c92bf,_0x3134a6,_0x472063,_0x16c8f8=this['_createNumberingAllocators'](_0x3c92bf[_0x5daf81(0x2f7)][_0x3134a6])){const _0x5230e3=_0x5daf81;let _0x3dc908=_0x3c92bf[_0x5230e3(0x2f7)][_0x3134a6],_0x359b18=_0x472063[_0x5230e3(0x416)]??_0x472063['updatedBy']??this[_0x5230e3(0x2d2)](),_0x73a65e={..._0x472063,'createdBy':_0x472063[_0x5230e3(0x416)]??_0x359b18,'updatedBy':_0x472063[_0x5230e3(0x382)]??_0x359b18,'values':{..._0x472063[_0x5230e3(0x45b)]}};return _0x73a65e[_0x5230e3(0x45b)][_0x4a6fc3]=_0x73a65e['id'],_0x3dc908['fieldOrder'][_0x5230e3(0x429)](_0x159060=>{const _0x113a0f=_0x5230e3;let _0x5a672e=_0x3dc908['fields'][_0x159060];if(_0x5a672e&&_0x73a65e[_0x113a0f(0x45b)][_0x159060]===void 0x0)switch(_0x5a672e[_0x113a0f(0x305)]){case _0x618ba['Numbering']:var _0x5bd104;_0x73a65e[_0x113a0f(0x45b)][_0x159060]=((_0x5bd104=_0x16c8f8[_0x113a0f(0x315)](_0x159060))==null?void 0x0:_0x5bd104())??this[_0x113a0f(0x38f)](_0x3dc908,_0x159060)();break;case _0x618ba[_0x113a0f(0x366)]:_0x73a65e['createdBy']&&(_0x73a65e[_0x113a0f(0x45b)][_0x159060]=_0x73a65e[_0x113a0f(0x416)]);break;case _0x618ba['UpdatedBy']:_0x73a65e[_0x113a0f(0x382)]&&(_0x73a65e[_0x113a0f(0x45b)][_0x159060]=_0x73a65e[_0x113a0f(0x382)]);break;case _0x618ba[_0x113a0f(0x3fb)]:_0x73a65e[_0x113a0f(0x45b)][_0x159060]=B(_0x73a65e[_0x113a0f(0x1b8)]);break;case _0x618ba['UpdatedAt']:_0x73a65e[_0x113a0f(0x45b)][_0x159060]=B(_0x73a65e[_0x113a0f(0x35b)]);break;default:{let _0x1f0aab=_0x5a672e[_0x113a0f(0x224)];_0x1f0aab!=null&&_0x1f0aab!==''&&!(Array[_0x113a0f(0x31e)](_0x1f0aab)&&_0x1f0aab[_0x113a0f(0x21d)]===0x0)&&(_0x73a65e[_0x113a0f(0x45b)][_0x159060]=_0x1f0aab);}}}),_0x73a65e;}['_withModifiedSystemValues'](_0x2ae33d,_0x5cef25,_0x3a4796,_0x3f89e6){const _0x38e066=_0x5daf81;var _0x246738,_0x5b18a1;let _0x36e811=_0x2ae33d[_0x38e066(0x2f7)][_0x5cef25],_0x503981=((_0x246738=(_0x5b18a1=this[_0x38e066(0x2e7)])[_0x38e066(0x1d5)])==null?void 0x0:_0x246738[_0x38e066(0x35d)](_0x5b18a1))??Date['now'](),_0x296803=this['_getCurrentUserId'](),_0x238f20={..._0x3f89e6};return _0x36e811[_0x38e066(0x1d6)][_0x38e066(0x429)](_0x54ee1d=>{const _0x3a410e=_0x38e066;let _0x137cf0=_0x36e811[_0x3a410e(0x503)][_0x54ee1d];_0x137cf0&&(_0x137cf0['type']===_0x618ba[_0x3a410e(0x29f)]&&(_0x238f20[_0x54ee1d]=B(_0x503981)),_0x137cf0['type']===_0x618ba[_0x3a410e(0x4d3)]&&_0x296803&&(_0x238f20[_0x54ee1d]=_0x296803));}),{'recordId':_0x3a4796,'values':_0x238f20,'recordPatch':{'updatedAt':_0x503981,..._0x296803?{'updatedBy':_0x296803}:{}}};}[_0x5daf81(0x522)](_0x1af03f,_0x363f6e,_0xf0a600){const _0x18e742=_0x5daf81;let _0x5bbcbe=_0x1af03f[_0x18e742(0x2f7)][_0x363f6e];return!_0x5bbcbe||!Yr(_0xf0a600)?[]:_0xf0a600[_0x18e742(0x305)]===_0x618ba[_0x18e742(0x1e7)]?this[_0x18e742(0x41d)](_0x5bbcbe,_0xf0a600['id']):Object['values'](_0x5bbcbe[_0x18e742(0x43a)])['flatMap'](_0x56f66d=>{const _0x2d1a72=_0x18e742;let _0xd4aa2=this[_0x2d1a72(0x48b)](_0xf0a600,_0x56f66d);return _0xd4aa2===void 0x0?[]:[{'recordId':_0x56f66d['id'],'values':{[_0xf0a600['id']]:_0xd4aa2}}];});}[_0x5daf81(0x48b)](_0x463c5b,_0x339b45){const _0x5c09ad=_0x5daf81;switch(_0x463c5b[_0x5c09ad(0x305)]){case _0x618ba[_0x5c09ad(0x366)]:return _0x339b45[_0x5c09ad(0x416)]??this[_0x5c09ad(0x2d2)]();case _0x618ba[_0x5c09ad(0x4d3)]:return _0x339b45['updatedBy']??this[_0x5c09ad(0x2d2)]();case _0x618ba[_0x5c09ad(0x3fb)]:return B(_0x339b45['createdAt']??Date['now']());case _0x618ba['UpdatedAt']:return B(_0x339b45[_0x5c09ad(0x35b)]??Date[_0x5c09ad(0x1d5)]());default:return;}}['_createNumberingAllocators'](_0x38bec2){const _0x5c6700=_0x5daf81;let _0x3fb7a1=new Map();return _0x38bec2&&_0x38bec2[_0x5c6700(0x1d6)][_0x5c6700(0x429)](_0x25b515=>{const _0x5afe4a=_0x5c6700;let _0x1d4a68=_0x38bec2[_0x5afe4a(0x503)][_0x25b515];(_0x1d4a68==null?void 0x0:_0x1d4a68[_0x5afe4a(0x305)])===_0x618ba[_0x5afe4a(0x1e7)]&&_0x3fb7a1[_0x5afe4a(0x1ba)](_0x25b515,this[_0x5afe4a(0x38f)](_0x38bec2,_0x25b515));}),_0x3fb7a1;}[_0x5daf81(0x38f)](_0x54eb96,_0xc62a28){const _0x102054=_0x5daf81;let _0x4cf9a1=Object[_0x102054(0x45b)](_0x54eb96[_0x102054(0x43a)])[_0x102054(0x251)]((_0x196463,_0x195999)=>{const _0x48c1f5=_0x102054;let _0x3ba383=Number(_0x195999[_0x48c1f5(0x45b)][_0xc62a28]);return Number[_0x48c1f5(0x2fc)](_0x3ba383)?Math[_0x48c1f5(0x29c)](_0x196463,_0x3ba383):_0x196463;},0x0);return()=>String(++_0x4cf9a1);}[_0x5daf81(0x41d)](_0x38c05e,_0x50d524){const _0x4a4153=_0x5daf81;let _0x4cfb2d=this[_0x4a4153(0x1d0)](_0x38c05e),_0x9b1382=this[_0x4a4153(0x38f)](_0x38c05e,_0x50d524);return _0x4cfb2d['flatMap'](_0x226979=>this[_0x4a4153(0x53a)](_0x226979[_0x4a4153(0x45b)][_0x50d524])?[]:[{'recordId':_0x226979['id'],'values':{[_0x50d524]:_0x9b1382()}}]);}['_getOrderedRecords'](_0xca130e){const _0x22f043=_0x5daf81;var _0x46ead5;let _0xa2827d=Object['values'](_0xca130e[_0x22f043(0x43a)]),_0x547ed5=new Map(_0xa2827d[_0x22f043(0x2b0)](_0x5b627=>[_0x5b627['id'],_0x5b627])),_0x11b66f=[],_0x22ab12=new Set();(_0x46ead5=_0xca130e[_0x22f043(0x3da)])==null||_0x46ead5[_0x22f043(0x429)](_0x29705a=>{const _0x58af64=_0x22f043;let _0x459de4=_0x547ed5[_0x58af64(0x315)](_0x29705a);_0x459de4&&(_0x11b66f[_0x58af64(0x482)](_0x459de4),_0x22ab12[_0x58af64(0x4ee)](_0x29705a));});let _0x18d9a9=_0xa2827d['filter'](_0x2566e8=>!_0x22ab12[_0x22f043(0x253)](_0x2566e8['id']))[_0x22f043(0x3c5)]((_0x2758bf,_0x4504e2)=>String(_0x2758bf[_0x22f043(0x2a2)]??_0x2758bf['id'])[_0x22f043(0x202)](String(_0x4504e2[_0x22f043(0x2a2)]??_0x4504e2['id']))||_0x2758bf['id'][_0x22f043(0x202)](_0x4504e2['id']));return[..._0x11b66f,..._0x18d9a9];}[_0x5daf81(0x53a)](_0xb51f6e){const _0x528fbb=_0x5daf81;return _0xb51f6e!=null&&_0xb51f6e!==''&&!(Array[_0x528fbb(0x31e)](_0xb51f6e)&&_0xb51f6e[_0x528fbb(0x21d)]===0x0);}[_0x5daf81(0x2d2)](){const _0x6d9864=_0x5daf81;var _0x3ac2bf,_0x539b7e,_0xbc99ca,_0x542359;return((_0x3ac2bf=(_0x539b7e=this[_0x6d9864(0x2e7)])[_0x6d9864(0x2a6)])==null?void 0x0:_0x3ac2bf['call'](_0x539b7e))??((_0xbc99ca=(_0x542359=this['_runtimeContext'])[_0x6d9864(0x279)])==null||(_0xbc99ca=_0xbc99ca[_0x6d9864(0x35d)](_0x542359))==null?void 0x0:_0xbc99ca[_0x6d9864(0x287)])??void 0x0;}[_0x5daf81(0x2b4)](_0x38390c,_0x479862,_0x5a6f83,_0x1d3d60,_0x43ef04){const _0xc5a47c=_0x5daf81;var _0x18b290;if(!this[_0xc5a47c(0x43e)][_0xc5a47c(0x1be)](_0x479862,_0x5a6f83,_0x1d3d60))throw Error(_0xc5a47c(0x4de));let _0x25cee2=(_0x18b290=_0x38390c[_0xc5a47c(0x2f7)][_0x479862])==null?void 0x0:_0x18b290['fields'][_0x1d3d60];if(!_0x25cee2)throw Error('[BaseCommandService]:\x20field\x20\x22'+_0x1d3d60+_0xc5a47c(0x362));let _0x4ff304=this[_0xc5a47c(0x47d)][_0xc5a47c(0x315)](_0x25cee2[_0xc5a47c(0x305)]);if(_0x25cee2['readonly']||_0x25cee2[_0xc5a47c(0x3db)]||!_0x4ff304[_0xc5a47c(0x4a4)](_0x25cee2)[_0xc5a47c(0x2cf)])throw Error(_0xc5a47c(0x360));let _0x37c3b1=_0x4ff304['normalize'](_0x43ef04,_0x25cee2),_0xe90fe=_0x4ff304[_0xc5a47c(0x240)](_0x37c3b1,_0x25cee2);if(!_0xe90fe[_0xc5a47c(0x36d)])throw Error(_0xe90fe['reason']??'[BaseCommandService]:\x20invalid\x20cell\x20value.');let _0x556975=_0x25cee2[_0xc5a47c(0x305)]===_0x618ba[_0xc5a47c(0x2e6)]?Ve(_0x38390c,_0x25cee2,_0x37c3b1):{'valid':!0x0};if(!_0x556975[_0xc5a47c(0x36d)])throw Error(_0x556975['reason']??_0xc5a47c(0x1fa));return _0x37c3b1;}['_assertFieldDefinition'](_0x2e8716,_0x26ae8d){const _0x2a4d80=_0x5daf81;if(_0x26ae8d['id']===_0x4a6fc3||_0x26ae8d['type']===_0x618ba[_0x2a4d80(0x28f)]||_0x4dba8d(_0x26ae8d[_0x2a4d80(0x322)]))throw Error(_0x2a4d80(0x2e1));let _0x2101c7=Be(_0x2e8716,_0x26ae8d);if(!_0x2101c7[_0x2a4d80(0x36d)])throw Error(_0x2101c7['reason']??_0x2a4d80(0x3dc));}};qr=X([Y(0x0,Br),Y(0x1,mr)],qr);function Jr(){const _0x568f24=_0x5daf81;let _0x116b66=new hr();return zn()['forEach'](_0x262959=>_0x116b66[_0x568f24(0x549)](_0x262959)),_0x116b66;}function Yr(_0xe73380){const _0x356073=_0x5daf81;return _0xe73380['type']===_0x618ba['Numbering']||_0xe73380[_0x356073(0x305)]===_0x618ba['CreatedBy']||_0xe73380[_0x356073(0x305)]===_0x618ba[_0x356073(0x4d3)]||_0xe73380[_0x356073(0x305)]===_0x618ba[_0x356073(0x3fb)]||_0xe73380[_0x356073(0x305)]===_0x618ba[_0x356073(0x29f)];}const Xr=new Set([_0x618ba[_0x5daf81(0x257)],_0x618ba[_0x5daf81(0x238)],_0x618ba[_0x5daf81(0x4bb)]]);function Zr(_0x258a7b){const _0x147b1b=_0x5daf81;let _0x3d0f47=_0x258a7b['fields'][_0x258a7b[_0x147b1b(0x51f)]];if((!_0x3d0f47||_0x3d0f47[_0x147b1b(0x3db)]!==!0x0&&_0x3d0f47['id'][_0x147b1b(0x40c)]()!=='id'&&_0x3d0f47[_0x147b1b(0x322)][_0x147b1b(0x3a5)]()[_0x147b1b(0x40c)]()!=='id')&&_0x3d0f47)return _0x3d0f47['id'];for(let _0x12a9ad of _0x258a7b[_0x147b1b(0x1d6)]){let _0x4ebdb7=_0x258a7b['fields'][_0x12a9ad];if(_0x4ebdb7&&_0x4ebdb7['id']!==_0x258a7b[_0x147b1b(0x51f)]&&_0x4ebdb7[_0x147b1b(0x3db)]!==!0x0&&_0x4ebdb7[_0x147b1b(0x305)]!==_0x618ba[_0x147b1b(0x28f)])return _0x4ebdb7['id'];}return _0x258a7b[_0x147b1b(0x51f)];}function Qr(_0x4f299c,_0x43dda3=[],_0x174a58=0x5){const _0x2bb3c9=_0x5daf81;let _0x70710b=new Set(_0x43dda3[_0x2bb3c9(0x32f)](_0x19af03=>!!_0x19af03)),_0x5e42c4=[],_0x4718b2=[];for(let _0x1b86f3 of _0x4f299c[_0x2bb3c9(0x1d6)]){let _0x453f30=_0x4f299c[_0x2bb3c9(0x503)][_0x1b86f3];_0x453f30&&_0x453f30['system']!==!0x0&&_0x453f30[_0x2bb3c9(0x305)]!==_0x618ba['RecordId']&&!_0x70710b['has'](_0x453f30['id'])&&(Xr[_0x2bb3c9(0x253)](_0x453f30[_0x2bb3c9(0x305)])?_0x5e42c4:_0x4718b2)['push'](_0x453f30['id']);}return[..._0x5e42c4,..._0x4718b2][_0x2bb3c9(0x1cb)](0x0,_0x174a58);}function $r(){const _0xcc0440=_0x5daf81;return[{'type':_0x168289[_0xcc0440(0x47f)],'i18nKey':_0xcc0440(0x274),'createDefaultConfig':()=>({}),'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x3c4a52=_0xcc0440;throw Error(_0x3c4a52(0x22d));}},{'type':_0x168289[_0xcc0440(0x3c6)],'i18nKey':_0xcc0440(0x1b7),'createDefaultConfig':_0x14aeca=>{const _0x2ab729=_0xcc0440;let _0x5e45d7=ei(_0x14aeca);return{'groupFieldId':_0x5e45d7,'coverFieldId':null,'cardLayout':_0x2ab729(0x441),'showFieldNames':!0x0,'fieldSettings':{},'columnSettings':{},'card':{'titleFieldId':_0x14aeca[_0x2ab729(0x51f)],'fieldIds':Qr(_0x14aeca,[_0x14aeca[_0x2ab729(0x51f)],_0x5e45d7])}};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x3d2807=_0xcc0440;throw Error(_0x3d2807(0x39c));}},{'type':_0x168289[_0xcc0440(0x3bf)],'i18nKey':_0xcc0440(0x3f3),'createDefaultConfig':_0x5d0d50=>{const _0x48095d=_0xcc0440;let _0x3c8488=ti(_0x5d0d50);return{'startDateFieldId':_0x3c8488,'endDateFieldId':ni(_0x5d0d50,_0x3c8488),'titleFieldId':_0x5d0d50['primaryFieldId'],'mode':'month','timeslotSize':'medium','timeZone':_0x48095d(0x35a),'displayColor':{'type':_0x48095d(0x3f1),'color':'#3b82f6'},'fieldSettings':{}};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x42937a=_0xcc0440;throw Error(_0x42937a(0x39f));}},{'type':_0x168289[_0xcc0440(0x386)],'i18nKey':_0xcc0440(0x4e3),'createDefaultConfig':_0x59268b=>{const _0x1444f9=_0xcc0440;let _0x17bf8a=ti(_0x59268b);return{'startDateFieldId':_0x17bf8a,'endDateFieldId':ni(_0x59268b,_0x17bf8a)??_0x17bf8a,'titleFieldId':_0x59268b[_0x1444f9(0x51f)],'scale':_0x1444f9(0x53e),'showTodayLine':!0x0,'displayColor':{'type':'custom','color':_0x1444f9(0x3ad)},'fieldSettings':{},'workingDaysOnly':!0x1};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{throw Error('Gantt\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.');}},{'type':_0x168289[_0xcc0440(0x493)],'i18nKey':_0xcc0440(0x383),'createDefaultConfig':_0x1ff6ca=>{const _0x176d45=_0xcc0440;let _0x3ada29=Zr(_0x1ff6ca);return{'coverFieldId':null,'cardLayout':'normal','showFieldNames':!0x0,'fieldSettings':{},'card':{'titleFieldId':_0x3ada29,'coverFieldId':null,'fieldIds':Qr(_0x1ff6ca,[_0x3ada29,_0x1ff6ca[_0x176d45(0x51f)]])},'cardSize':'medium'};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x3cb9ab=_0xcc0440;throw Error(_0x3cb9ab(0x497));}}];}function ei(_0x5ac7dc){const _0x1658da=_0x5daf81;var _0x4624d9,_0x52e622,_0x27b988;let _0x35ef50=_0x5ac7dc[_0x1658da(0x1d6)][_0x1658da(0x2b0)](_0x301bff=>_0x5ac7dc[_0x1658da(0x503)][_0x301bff])[_0x1658da(0x32f)](_0x114634=>!!_0x114634);return((_0x4624d9=_0x35ef50[_0x1658da(0x2d8)](_0x4a659e=>_0x4a659e['type']===_0x618ba['SingleSelect']||_0x4a659e[_0x1658da(0x305)]===_0x618ba[_0x1658da(0x3a1)]||_0x4a659e[_0x1658da(0x305)]===_0x618ba[_0x1658da(0x377)]))==null?void 0x0:_0x4624d9['id'])??((_0x52e622=_0x35ef50[_0x1658da(0x2d8)](_0x181e04=>_0x181e04[_0x1658da(0x305)]===_0x618ba[_0x1658da(0x1da)]))==null?void 0x0:_0x52e622['id'])??((_0x27b988=_0x35ef50[_0x1658da(0x2d8)](_0x4f0f95=>_0x4f0f95[_0x1658da(0x305)]===_0x618ba[_0x1658da(0x47c)]||_0x4f0f95['type']===_0x618ba['CreatedAt']||_0x4f0f95[_0x1658da(0x305)]===_0x618ba[_0x1658da(0x29f)]))==null?void 0x0:_0x27b988['id'])??_0x5ac7dc[_0x1658da(0x51f)];}function ti(_0x5318f9){const _0x327033=_0x5daf81;var _0xe651ab;return((_0xe651ab=_0x5318f9[_0x327033(0x1d6)][_0x327033(0x2b0)](_0x45d192=>_0x5318f9[_0x327033(0x503)][_0x45d192])[_0x327033(0x2d8)](ri))==null?void 0x0:_0xe651ab['id'])??'';}function ni(_0x475313,_0x5754fc){const _0x30bf7c=_0x5daf81;var _0x1a5cb7;return(_0x1a5cb7=_0x475313[_0x30bf7c(0x1d6)][_0x30bf7c(0x2b0)](_0x2ebece=>_0x475313[_0x30bf7c(0x503)][_0x2ebece])['find'](_0x2bd7d9=>ri(_0x2bd7d9)&&_0x2bd7d9['id']!==_0x5754fc))==null?void 0x0:_0x1a5cb7['id'];}function ri(_0xd3f08a){const _0x5549b9=_0x5daf81;return!!_0xd3f08a&&_0xd3f08a['type']===_0x618ba[_0x5549b9(0x47c)]&&_0xd3f08a[_0x5549b9(0x546)]!==!0x0&&_0xd3f08a[_0x5549b9(0x3db)]!==!0x0;}const ii=_0x3262c5(_0x5daf81(0x415)),ai=new Set([_0x618ba['Number'],_0x618ba[_0x5daf81(0x20a)],_0x618ba[_0x5daf81(0x257)],_0x618ba[_0x5daf81(0x238)],_0x618ba[_0x5daf81(0x47c)],_0x618ba['CreatedAt'],_0x618ba[_0x5daf81(0x29f)],_0x618ba[_0x5daf81(0x4bb)]]),oi=0x5265c00;let si=class extends _0x183939{constructor(_0x30356b){const _0xbba730=_0x5daf81;super(),this[_0xbba730(0x47d)]=_0x30356b,G(this,_0xbba730(0x2c5),new Map()),G(this,_0xbba730(0x3b1),new WeakMap()),G(this,_0xbba730(0x38b),new Map()),G(this,'_projectedViewRowsCache',new Map()),G(this,_0xbba730(0x31f),new Map()),G(this,_0xbba730(0x1ee),new Map()),G(this,_0xbba730(0x531),0x0),G(this,'_tableRevisions',new Map()),G(this,_0xbba730(0x216),new Map()),G(this,'_cellInvalidations',new Map()),G(this,_0xbba730(0x53c),new Map());}[_0x5daf81(0x3d3)](_0x4fdee6){const _0x1b7790=_0x5daf81;return this['_views'][_0x1b7790(0x1ba)](_0x4fdee6[_0x1b7790(0x305)],_0x4fdee6),_0x1a388a(()=>this[_0x1b7790(0x2c5)][_0x1b7790(0x3ae)](_0x4fdee6[_0x1b7790(0x305)]));}[_0x5daf81(0x2da)](_0x58bc34,_0x47373a,_0x2dcb4d){const _0x1a94fb=_0x5daf81;var _0x4d6e17,_0xbfbb56,_0x1a7879;return I('BaseProjection.getProjection',()=>{const _0xaf6eec=_0x188f;let _0x2371e4=this['_getCachedProjection'](_0x58bc34,_0x47373a,_0x2dcb4d);if(_0x2371e4)return _0x2371e4;let _0x5166a6=_0x58bc34[_0xaf6eec(0x2f7)][_0x47373a],_0x368249=_0x5166a6==null?void 0x0:_0x5166a6[_0xaf6eec(0x1e8)][_0x2dcb4d];if(!_0x5166a6||!_0x368249)return this['_setCachedProjection'](_0x58bc34,_0x47373a,_0x2dcb4d,{'type':_0xaf6eec(0x30c),'viewType':(_0x368249==null?void 0x0:_0x368249[_0xaf6eec(0x305)])??_0x168289['Grid'],'reason':_0xaf6eec(0x1b4)});let _0x31386d;switch(_0x368249[_0xaf6eec(0x305)]){case _0x168289[_0xaf6eec(0x47f)]:_0x31386d=this[_0xaf6eec(0x312)](_0x5166a6,_0x368249);break;case _0x168289[_0xaf6eec(0x386)]:_0x31386d=this[_0xaf6eec(0x4aa)](_0x5166a6,_0x368249);break;case _0x168289[_0xaf6eec(0x3c6)]:_0x31386d=this['_buildKanban'](_0x5166a6,_0x368249);break;case _0x168289[_0xaf6eec(0x3bf)]:_0x31386d=this[_0xaf6eec(0x2f9)](_0x5166a6,_0x368249);break;case _0x168289[_0xaf6eec(0x493)]:_0x31386d=this['_buildGallery'](_0x5166a6,_0x368249);break;default:_0x31386d={'type':_0xaf6eec(0x30c),'viewType':_0x368249[_0xaf6eec(0x305)],'reason':_0xaf6eec(0x1b4)};}return this[_0xaf6eec(0x41e)](_0x58bc34,_0x47373a,_0x2dcb4d,_0x31386d);},{'tableId':_0x47373a,'viewId':_0x2dcb4d,'viewType':(_0x4d6e17=_0x58bc34[_0x1a94fb(0x2f7)][_0x47373a])==null||(_0x4d6e17=_0x4d6e17[_0x1a94fb(0x1e8)][_0x2dcb4d])==null?void 0x0:_0x4d6e17[_0x1a94fb(0x305)],'records':((_0xbfbb56=_0x58bc34[_0x1a94fb(0x2f7)][_0x47373a])==null||(_0xbfbb56=_0xbfbb56[_0x1a94fb(0x3da)])==null?void 0x0:_0xbfbb56[_0x1a94fb(0x21d)])??Object[_0x1a94fb(0x46f)](((_0x1a7879=_0x58bc34['tables'][_0x47373a])==null?void 0x0:_0x1a7879[_0x1a94fb(0x43a)])??{})[_0x1a94fb(0x21d)]});}[_0x5daf81(0x496)](_0x598a23,_0x11084e,_0x57a520){const _0x455766=_0x5daf81;var _0x446931,_0x353cb4,_0x28f304;let _0x431a46=_0x598a23[_0x455766(0x2f7)][_0x11084e],_0x4a230a=_0x431a46==null?void 0x0:_0x431a46['views'][_0x57a520];if(!_0x431a46||!_0x4a230a)throw Error('[BaseProjectionService]:\x20missing\x20view\x20\x22'+_0x57a520+'\x22.');let _0x5de8e2=_0x3d3e86=>!!_0x431a46['fields'][_0x3d3e86],_0x4a4a6c={..._0x4a230a,'filter':_0x4a230a['filter']?{..._0x4a230a[_0x455766(0x32f)],'conditions':_0x4a230a[_0x455766(0x32f)][_0x455766(0x245)]['filter'](_0x53d2c2=>_0x5de8e2(_0x53d2c2['fieldId']))}:_0x4a230a[_0x455766(0x32f)],'sort':(_0x446931=_0x4a230a[_0x455766(0x3c5)])==null?void 0x0:_0x446931[_0x455766(0x32f)](_0xe0f632=>_0x5de8e2(_0xe0f632[_0x455766(0x4a1)])),'group':(_0x353cb4=_0x4a230a[_0x455766(0x3e9)])==null?void 0x0:_0x353cb4['filter'](_0x18bb72=>_0x5de8e2(_0x18bb72[_0x455766(0x4a1)])),'fieldOrder':(_0x28f304=_0x4a230a['fieldOrder'])==null?void 0x0:_0x28f304[_0x455766(0x32f)](_0x5de8e2),'fieldSettings':Object[_0x455766(0x407)](Object['entries'](_0x4a230a[_0x455766(0x508)]??{})[_0x455766(0x32f)](([_0x2cae5f])=>_0x5de8e2(_0x2cae5f)))};if(_0x4a4a6c[_0x455766(0x305)]===_0x455766(0x37b)){var _0x4d9ce3;let _0xf4386e=_0x4a4a6c[_0x455766(0x396)]??{},_0x1c4174=this['_resolveKanbanGroupFieldId'](_0x431a46,_0x4a4a6c),_0x1c2d1a=this[_0x455766(0x4c7)](_0x431a46,(_0x4d9ce3=_0xf4386e[_0x455766(0x24b)])==null?void 0x0:_0x4d9ce3[_0x455766(0x478)]);_0x4a4a6c[_0x455766(0x396)]={..._0xf4386e,'groupFieldId':_0x1c4174??_0xf4386e[_0x455766(0x49b)],'coverFieldId':this[_0x455766(0x537)](_0x431a46,_0xf4386e),'cardLayout':_0xf4386e[_0x455766(0x3e7)]===_0x455766(0x363)?_0x455766(0x363):_0x455766(0x441),'showFieldNames':_0xf4386e['showFieldNames']!==!0x1,'fieldSettings':Object[_0x455766(0x407)](Object[_0x455766(0x2e4)](_0xf4386e[_0x455766(0x508)]??{})['filter'](([_0x53a832])=>_0x5de8e2(_0x53a832))),'columnSettings':_0xf4386e['columnSettings']??{},'card':{..._0xf4386e['card']??{},'titleFieldId':_0x1c2d1a,'fieldIds':this[_0x455766(0x397)](_0x431a46,_0x4a4a6c,_0x1c4174??'',_0x1c2d1a)}};}return{'repaired':JSON[_0x455766(0x439)](_0x4a4a6c)!==JSON[_0x455766(0x439)](_0x4a230a),'view':_0x4a4a6c};}['invalidateByOp'](){const _0x5e2da5=_0x5daf81;this[_0x5e2da5(0x531)]++;}[_0x5daf81(0x334)](_0x5d1a5c,_0x438a71,_0x24740f){const _0x239ed4=_0x5daf81;let _0x41350f=this[_0x239ed4(0x215)](_0x5d1a5c)+0x1;this[_0x239ed4(0x216)][_0x239ed4(0x1ba)](_0x5d1a5c,_0x41350f);let _0xca54b2=this[_0x239ed4(0x235)][_0x239ed4(0x315)](_0x5d1a5c)??[];_0xca54b2[_0x239ed4(0x482)]({'revision':_0x41350f,'recordId':_0x438a71,'fieldId':_0x24740f}),this[_0x239ed4(0x235)][_0x239ed4(0x1ba)](_0x5d1a5c,_0xca54b2);}['invalidateByField'](_0x3f0c4f,_0x265689){const _0x273763=_0x5daf81;this[_0x273763(0x2b5)](_0x3f0c4f);}[_0x5daf81(0x2a1)](_0xf6e1d6,_0x3ab443){const _0x540765=_0x5daf81;this[_0x540765(0x53c)][_0x540765(0x1ba)](this[_0x540765(0x2db)](_0xf6e1d6,_0x3ab443),this[_0x540765(0x4f7)](_0xf6e1d6,_0x3ab443)+0x1);}['_getCachedProjection'](_0x1ce651,_0x243c52,_0x525d8b){const _0x474370=_0x5daf81;var _0x453020;let _0x2f827a=(_0x453020=this[_0x474370(0x3b1)][_0x474370(0x315)](_0x1ce651))==null?void 0x0:_0x453020[_0x474370(0x315)](this[_0x474370(0x32c)](_0x243c52,_0x525d8b));return _0x2f827a&&_0x2f827a[_0x474370(0x4c1)]===this[_0x474370(0x531)]&&_0x2f827a['tableRevision']===this[_0x474370(0x541)](_0x243c52)&&_0x2f827a[_0x474370(0x474)]===this[_0x474370(0x215)](_0x243c52)&&_0x2f827a[_0x474370(0x54b)]===this['_getViewRevision'](_0x243c52,_0x525d8b)?_0x2f827a[_0x474370(0x256)]:null;}[_0x5daf81(0x41e)](_0x7e5017,_0x1b496f,_0x344838,_0x3b20ae){const _0x237bd0=_0x5daf81;let _0xff61ec=this[_0x237bd0(0x3b1)][_0x237bd0(0x315)](_0x7e5017);return _0xff61ec||(_0xff61ec=new Map(),this['_projectionCache'][_0x237bd0(0x1ba)](_0x7e5017,_0xff61ec)),_0xff61ec[_0x237bd0(0x1ba)](this[_0x237bd0(0x32c)](_0x1b496f,_0x344838),{'projection':_0x3b20ae,'globalRevision':this[_0x237bd0(0x531)],'tableRevision':this['_getTableRevision'](_0x1b496f),'cellRevision':this[_0x237bd0(0x215)](_0x1b496f),'viewRevision':this[_0x237bd0(0x4f7)](_0x1b496f,_0x344838)}),_0x3b20ae;}[_0x5daf81(0x2b5)](_0x89d696){const _0xb59c45=_0x5daf81;this['_tableRevisions'][_0xb59c45(0x1ba)](_0x89d696,this[_0xb59c45(0x541)](_0x89d696)+0x1);}['_getTableRevision'](_0x29778d){const _0x207460=_0x5daf81;return this[_0x207460(0x298)][_0x207460(0x315)](_0x29778d)??0x0;}['_getCellRevision'](_0x6b1c9b){const _0x153c4e=_0x5daf81;return this[_0x153c4e(0x216)][_0x153c4e(0x315)](_0x6b1c9b)??0x0;}['_getViewRevision'](_0x554c92,_0x3a233d){const _0xabe56d=_0x5daf81;return this['_viewRevisions'][_0xabe56d(0x315)](this['_viewRevisionKey'](_0x554c92,_0x3a233d))??0x0;}[_0x5daf81(0x32c)](_0x202d27,_0x2e2209){return _0x202d27+'\x00'+_0x2e2209;}[_0x5daf81(0x206)](_0x34531a,_0x41e7ec){const _0x43269f=_0x5daf81;return _0x34531a+'\x00'+this[_0x43269f(0x201)](_0x41e7ec);}['_groupsCacheKey'](_0x5d8d48,_0x4d0460,_0x20243f){const _0x60b2f6=_0x5daf81;return _0x5d8d48+'\x00'+this['_rowTransformCacheSegment'](_0x4d0460)+'\x00'+this[_0x60b2f6(0x467)](_0x20243f);}['_rowTransformCacheSegment'](_0x25097f){const _0x46b3e7=_0x5daf81;return _0x25097f?mi({'filter':di(_0x25097f[_0x46b3e7(0x32f)]),'sort':pi(_0x25097f[_0x46b3e7(0x3c5)])}):'__all__';}[_0x5daf81(0x467)](_0x2a2320){const _0x2953b6=_0x5daf81;return mi(_0x2a2320[_0x2953b6(0x2b0)](_0x110b77=>({'fieldId':_0x110b77['fieldId'],'direction':_0x110b77['direction']??null})));}['_viewRevisionKey'](_0x2e5a93,_0x2fd0cf){return _0x2e5a93+'\x00'+_0x2fd0cf;}[_0x5daf81(0x312)](_0x20f6ad,_0x4c0d17){const _0x42840f=_0x5daf81;var _0x378849;let _0x14c614=Je(_0x20f6ad),_0x2d6c81=this[_0x42840f(0x353)](_0x20f6ad,_0x4c0d17),_0xb4ce71=(_0x378849=_0x4c0d17['filter'])!=null&&_0x378849[_0x42840f(0x245)]['length']?this[_0x42840f(0x353)](_0x20f6ad,{..._0x4c0d17,'filter':null}):_0x2d6c81,_0x48838a=nt(this['_getHierarchyIndex'](_0x20f6ad,_0x14c614,_0x4c0d17['id'],_0xb4ce71[_0x42840f(0x2b0)](_0xfc4994=>_0xfc4994[_0x42840f(0x1c6)])),_0xb4ce71,new Set(_0x2d6c81['map'](_0x26e7c5=>_0x26e7c5[_0x42840f(0x1c6)])));return{'type':_0x168289['Grid'],'fields':this[_0x42840f(0x2b3)](_0x20f6ad,_0x4c0d17),'rows':_0x48838a[_0x42840f(0x372)],'groups':this['_projectHierarchyGroups'](_0x20f6ad,_0x4c0d17,_0x48838a[_0x42840f(0x372)],_0x48838a['hierarchy']),'hierarchy':_0x48838a[_0x42840f(0x23c)],'frozenFieldCount':typeof _0x4c0d17[_0x42840f(0x396)][_0x42840f(0x1ce)]==_0x42840f(0x53d)?_0x4c0d17[_0x42840f(0x396)][_0x42840f(0x1ce)]:0x0};}[_0x5daf81(0x352)](_0x7dcbeb,_0x419d01,_0x584015,_0x444d3a){const _0x16913b=_0x5daf81;let _0xda6701=_0x7dcbeb['id']+'\x00'+_0x419d01+'\x00'+_0x584015,_0x26a847=this[_0x16913b(0x215)](_0x7dcbeb['id']),_0x33e444=this[_0x16913b(0x1ee)][_0x16913b(0x315)](_0xda6701);if(_0x33e444&&_0x33e444[_0x16913b(0x4c1)]===this[_0x16913b(0x531)]&&_0x33e444[_0x16913b(0x234)]===this[_0x16913b(0x541)](_0x7dcbeb['id'])&&_0x33e444['orderedRecordIds'][_0x16913b(0x21d)]===_0x444d3a['length']&&_0x33e444['orderedRecordIds']['every']((_0x370810,_0x38f271)=>_0x370810===_0x444d3a[_0x38f271])){if(_0x33e444[_0x16913b(0x474)]===_0x26a847&&_0x33e444[_0x16913b(0x524)]===_0x7dcbeb)return _0x33e444[_0x16913b(0x391)];if(!this[_0x16913b(0x220)](_0x7dcbeb['id'],_0x33e444[_0x16913b(0x474)],_0x26a847,new Set([_0x419d01])))return this[_0x16913b(0x1ee)][_0x16913b(0x1ba)](_0xda6701,{..._0x33e444,'table':_0x7dcbeb,'cellRevision':_0x26a847}),_0x33e444[_0x16913b(0x391)];}let _0x59c2c5=tt(_0x7dcbeb,_0x419d01,_0x444d3a);return this[_0x16913b(0x1ee)][_0x16913b(0x1ba)](_0xda6701,{'table':_0x7dcbeb,'index':_0x59c2c5,'orderedRecordIds':_0x444d3a,'globalRevision':this['_globalRevision'],'tableRevision':this[_0x16913b(0x541)](_0x7dcbeb['id']),'cellRevision':_0x26a847}),_0x59c2c5;}[_0x5daf81(0x466)](_0x2fbce4,_0x47a322,_0x2f498f,_0x35787f){const _0x51afda=_0x5daf81;var _0x11f902;if(!((_0x11f902=_0x47a322[_0x51afda(0x3e9)])!=null&&_0x11f902[_0x51afda(0x21d)]))return[];let _0x174c71=new Map(_0x2f498f[_0x51afda(0x2b0)](_0x2b2333=>[_0x2b2333['recordId'],_0x2b2333])),_0x59366a=_0x35787f[_0x51afda(0x32b)][_0x51afda(0x36c)](_0x57ef56=>{const _0x33f667=_0x51afda;let _0x597f7f=_0x174c71[_0x33f667(0x315)](_0x57ef56);return _0x597f7f?[_0x597f7f]:[];}),_0x3bd357=this[_0x51afda(0x495)](_0x2fbce4,_0x47a322,_0x59366a),_0x72a021=new Map(_0x35787f[_0x51afda(0x4c4)][_0x51afda(0x2b0)]((_0x14991d,_0x2bb08d)=>[_0x14991d,_0x2bb08d])),_0x456cd0=_0x5e14e9=>{const _0x14126a=_0x51afda;let _0x42e7a2=_0x35787f[_0x14126a(0x42b)][_0x5e14e9],_0x30c184=_0x72a021[_0x14126a(0x315)](_0x5e14e9)??-0x1;return _0x30c184<0x0||!_0x42e7a2?[]:_0x35787f[_0x14126a(0x4c4)][_0x14126a(0x1cb)](_0x30c184,_0x42e7a2['subtreeEndIndex']+0x1);},_0x18f241=_0x3bf740=>{const _0x51b72a=_0x51afda;var _0x3ffb4b,_0x1140aa;return{..._0x3bf740,'recordIds':(_0x3ffb4b=_0x3bf740[_0x51b72a(0x2c9)])!=null&&_0x3ffb4b[_0x51b72a(0x21d)]?_0x3bf740[_0x51b72a(0x3d8)]:_0x3bf740[_0x51b72a(0x3d8)][_0x51b72a(0x36c)](_0x456cd0),'children':(_0x1140aa=_0x3bf740[_0x51b72a(0x2c9)])==null?void 0x0:_0x1140aa[_0x51b72a(0x2b0)](_0x18f241)};};return _0x3bd357[_0x51afda(0x2b0)](_0x18f241);}[_0x5daf81(0x290)](_0x7bd2bf,_0x5096f7){const _0x3b792b=_0x5daf81;var _0xbda264;let _0x4ed53a=this[_0x3b792b(0x51d)](_0x7bd2bf,_0x5096f7),_0x4e3310=_0x4ed53a?_0x7bd2bf['fields'][_0x4ed53a]:void 0x0;if(!_0x4e3310)return{'type':_0x3b792b(0x30c),'viewType':_0x168289[_0x3b792b(0x3c6)],'reason':_0x3b792b(0x31a),'fieldId':_0x5096f7[_0x3b792b(0x396)]['groupFieldId']};let _0x220640=this['_projectRows'](_0x7bd2bf,_0x5096f7),_0x194f17=this[_0x3b792b(0x2b3)](_0x7bd2bf,_0x5096f7),_0x56cbe2=_0x5096f7['config']??{},_0x39085f=this['_resolveCardTitleFieldId'](_0x7bd2bf,(_0xbda264=_0x56cbe2[_0x3b792b(0x24b)])==null?void 0x0:_0xbda264['titleFieldId']),_0x145872=this[_0x3b792b(0x397)](_0x7bd2bf,_0x5096f7,_0x4e3310['id'],_0x39085f),_0x38cf22=new Map();if(F(_0x7bd2bf,_0x4e3310['id'])){let _0x2c9fbc=this[_0x3b792b(0x352)](_0x7bd2bf,_0x4e3310['id'],_0x5096f7['id'],_0x220640[_0x3b792b(0x2b0)](_0xa67f5c=>_0xa67f5c['recordId'])),_0x20ba83=new Map();return _0x220640[_0x3b792b(0x429)](_0x84a2e9=>{const _0x31e297=_0x3b792b;let _0xadba22=_0x2c9fbc[_0x31e297(0x4f3)][_0x31e297(0x315)](_0x84a2e9['recordId'])??null,_0x47b2ed=_0xadba22??'',_0x22fbf2=_0xadba22?_0x7bd2bf[_0x31e297(0x43a)][_0xadba22]:void 0x0,_0x1bc7f2=_0x20ba83['get'](_0x47b2ed)??{'key':_0x47b2ed,'title':_0x22fbf2?String(yt(_0x7bd2bf,_0x22fbf2['id'],_0x7bd2bf[_0x31e297(0x51f)])??_0xadba22):this['_kanbanLaneTitle'](_0x4e3310,_0x47b2ed,_0x56cbe2),'recordIds':[]};_0x1bc7f2[_0x31e297(0x3d8)][_0x31e297(0x482)](_0x84a2e9[_0x31e297(0x1c6)]),_0x20ba83[_0x31e297(0x1ba)](_0x47b2ed,_0x1bc7f2);}),{'type':_0x168289['Kanban'],'fields':_0x194f17,'rows':_0x220640,'groups':[],'groupFieldId':_0x4e3310['id'],'titleFieldId':_0x39085f,'coverFieldId':this['_resolveKanbanCoverFieldId'](_0x7bd2bf,_0x56cbe2),'cardLayout':_0x56cbe2[_0x3b792b(0x3e7)]===_0x3b792b(0x363)?_0x3b792b(0x363):_0x3b792b(0x441),'showFieldNames':_0x56cbe2[_0x3b792b(0x507)]!==!0x1,'visibleCardFieldIds':_0x145872,'lanes':['',..._0x2c9fbc[_0x3b792b(0x4c4)]]['flatMap'](_0x3caeeb=>{const _0x2cea22=_0x3b792b;let _0x525f50=_0x20ba83[_0x2cea22(0x315)](_0x3caeeb);return _0x525f50!=null&&_0x525f50['recordIds'][_0x2cea22(0x21d)]?[_0x525f50]:[];})};}return this[_0x3b792b(0x390)](_0x4e3310,_0x56cbe2)['forEach'](_0x4709b3=>_0x38cf22[_0x3b792b(0x1ba)](_0x4709b3[_0x3b792b(0x2d4)],{..._0x4709b3,'recordIds':[]})),_0x220640[_0x3b792b(0x429)](_0x5d970d=>{const _0x552a37=_0x3b792b;this[_0x552a37(0x229)](_0x4e3310,_0x5d970d['values'][_0x4e3310['id']])[_0x552a37(0x429)](_0x2d0f79=>{const _0x51a123=_0x552a37;let _0x33fa67=_0x38cf22[_0x51a123(0x315)](_0x2d0f79)??{'key':_0x2d0f79,'title':this[_0x51a123(0x434)](_0x4e3310,_0x2d0f79,_0x56cbe2),'color':this['_kanbanLaneColor'](_0x4e3310,_0x2d0f79,_0x56cbe2),'recordIds':[]};_0x33fa67[_0x51a123(0x3d8)][_0x51a123(0x482)](_0x5d970d[_0x51a123(0x1c6)]),_0x38cf22['set'](_0x2d0f79,_0x33fa67);});}),{'type':_0x168289[_0x3b792b(0x3c6)],'fields':_0x194f17,'rows':_0x220640,'groups':this['_projectGroups'](_0x7bd2bf,_0x5096f7,_0x220640),'groupFieldId':_0x4e3310['id'],'titleFieldId':_0x39085f,'coverFieldId':this[_0x3b792b(0x537)](_0x7bd2bf,_0x56cbe2),'cardLayout':_0x56cbe2[_0x3b792b(0x3e7)]==='compose'?'compose':_0x3b792b(0x441),'showFieldNames':_0x56cbe2['showFieldNames']!==!0x1,'visibleCardFieldIds':_0x145872,'lanes':Array[_0x3b792b(0x404)](_0x38cf22[_0x3b792b(0x45b)]())};}['_resolveKanbanGroupFieldId'](_0x4ae73d,_0xfad1ed){const _0x2a5abe=_0x5daf81;var _0x4d3676;let _0x1620b0=(_0x4d3676=_0xfad1ed[_0x2a5abe(0x396)])==null?void 0x0:_0x4d3676[_0x2a5abe(0x49b)];return _0x1620b0&&this[_0x2a5abe(0x559)](_0x4ae73d,_0x1620b0)?_0x1620b0:this[_0x2a5abe(0x41c)](_0x4ae73d,_0x4ac6f6=>this[_0x2a5abe(0x3eb)](_0x4ac6f6));}[_0x5daf81(0x41c)](_0x17d66d,_0x1b4a8c){for(let _0x3b6029 of _0x17d66d['fieldOrder']){let _0x5a5563=_0x17d66d['fields'][_0x3b6029];if(_0x5a5563&&_0x1b4a8c(_0x5a5563))return _0x5a5563['id'];}return null;}['_isKanbanGroupField'](_0x2bf7a0,_0x2be408){const _0x3fecf5=_0x5daf81;let _0x5036b5=_0x2bf7a0[_0x3fecf5(0x503)][_0x2be408];return this[_0x3fecf5(0x3eb)](_0x5036b5)||F(_0x2bf7a0,_0x2be408);}[_0x5daf81(0x3eb)](_0x35aea0){const _0x29555c=_0x5daf81;return!!_0x35aea0&&(_0x35aea0[_0x29555c(0x305)]===_0x618ba[_0x29555c(0x3af)]||_0x35aea0[_0x29555c(0x305)]===_0x618ba[_0x29555c(0x3a1)]||_0x35aea0['type']===_0x618ba[_0x29555c(0x238)]||_0x35aea0[_0x29555c(0x305)]===_0x618ba[_0x29555c(0x1e9)]||_0x35aea0[_0x29555c(0x305)]===_0x618ba['Group']||_0x35aea0[_0x29555c(0x305)]===_0x618ba[_0x29555c(0x4bb)]);}['_isColorfulKanbanGroupField'](_0x4d27d9){const _0x567e16=_0x5daf81;return _0x4d27d9[_0x567e16(0x305)]===_0x618ba[_0x567e16(0x3af)]||_0x4d27d9[_0x567e16(0x305)]===_0x618ba[_0x567e16(0x3a1)];}[_0x5daf81(0x537)](_0x47d8f5,_0x26ca7a){const _0x1e4b5=_0x5daf81;var _0x4e50b6;let _0x43dbc6=_0x26ca7a[_0x1e4b5(0x225)]??((_0x4e50b6=_0x26ca7a[_0x1e4b5(0x24b)])==null?void 0x0:_0x4e50b6[_0x1e4b5(0x225)])??null;if(!_0x43dbc6)return null;let _0x1e7b6f=_0x47d8f5[_0x1e4b5(0x503)][_0x43dbc6];return _0x1e7b6f&&this[_0x1e4b5(0x308)](_0x1e7b6f)[_0x1e4b5(0x294)]?_0x1e7b6f['id']:null;}[_0x5daf81(0x397)](_0x2fdbf9,_0x522dc3,_0xf2c27e,_0x3e805c=this[_0x5daf81(0x4c7)](_0x2fdbf9,((()=>{const _0x53d1b4=_0x5daf81;var _0x36415e;return(_0x36415e=_0x522dc3[_0x53d1b4(0x396)])==null||(_0x36415e=_0x36415e['card'])==null?void 0x0:_0x36415e['titleFieldId'];})()))){const _0x3c3ef7=_0x5daf81;var _0x492591;let _0x58acba=_0x522dc3[_0x3c3ef7(0x396)]??{},_0x3f8fa7=(_0x492591=_0x58acba[_0x3c3ef7(0x24b)])!=null&&(_0x492591=_0x492591[_0x3c3ef7(0x209)])!=null&&_0x492591[_0x3c3ef7(0x21d)]?_0x58acba[_0x3c3ef7(0x24b)][_0x3c3ef7(0x209)]:Qr(_0x2fdbf9,[_0x3e805c,_0x2fdbf9['primaryFieldId'],_0xf2c27e]),_0x6f93f=_0x58acba[_0x3c3ef7(0x508)]??{};return _0x3f8fa7[_0x3c3ef7(0x32f)](_0x1d2f96=>{const _0x19c941=_0x3c3ef7;var _0x5bd26f,_0x592ca5;let _0x1b3ed6=_0x2fdbf9[_0x19c941(0x503)][_0x1d2f96];return!(!_0x1b3ed6||_0x1b3ed6[_0x19c941(0x3db)]===!0x0||_0x1b3ed6[_0x19c941(0x305)]===_0x618ba[_0x19c941(0x28f)]||_0x1b3ed6['id']===_0xf2c27e||_0x1b3ed6['id']===_0x3e805c||(_0x5bd26f=_0x522dc3[_0x19c941(0x508)])!=null&&(_0x5bd26f=_0x5bd26f[_0x1d2f96])!=null&&_0x5bd26f[_0x19c941(0x219)]||(_0x592ca5=_0x6f93f[_0x1d2f96])!=null&&_0x592ca5[_0x19c941(0x219)]);})[_0x3c3ef7(0x3c5)]((_0x1cf379,_0x5adf57)=>{const _0x429c2f=_0x3c3ef7;var _0x105663,_0x143e76;return(((_0x105663=_0x6f93f[_0x1cf379])==null?void 0x0:_0x105663['order'])??_0x3f8fa7[_0x429c2f(0x25c)](_0x1cf379))-(((_0x143e76=_0x6f93f[_0x5adf57])==null?void 0x0:_0x143e76['order'])??_0x3f8fa7[_0x429c2f(0x25c)](_0x5adf57));});}['_getKanbanConfiguredLanes'](_0x12a10e,_0x2cf259){const _0x54398a=_0x5daf81;var _0x37798f;let _0x302061=(Array[_0x54398a(0x31e)]((_0x37798f=_0x12a10e['config'])==null?void 0x0:_0x37798f['options'])?_0x12a10e[_0x54398a(0x396)][_0x54398a(0x49e)]:[])['flatMap']((_0x23c165,_0x5bb88f)=>{const _0x15399a=_0x54398a;if(_0x23c165==null)return[];let _0x1d4624=typeof _0x23c165==_0x15399a(0x2ed)?{'id':_0x23c165,'name':_0x23c165,'color':void 0x0}:_0x23c165,_0x4ccaff=String(_0x1d4624['id']??_0x1d4624['name']??'option-'+(_0x5bb88f+0x1));return[{'key':_0x4ccaff,'title':String(_0x1d4624[_0x15399a(0x322)]??_0x1d4624['id']??_0x4ccaff),'color':this['_kanbanLaneColor'](_0x12a10e,_0x4ccaff,_0x2cf259)}];});return Object[_0x54398a(0x2e4)](_0x2cf259[_0x54398a(0x418)]??{})['forEach'](([_0x4b55d9,_0x36f067])=>{const _0x1bf287=_0x54398a;_0x302061[_0x1bf287(0x387)](_0x1ad1f8=>_0x1ad1f8['key']===_0x4b55d9)||_0x302061[_0x1bf287(0x482)]({'key':_0x4b55d9,'title':this[_0x1bf287(0x2cb)](_0x12a10e)?_0x36f067['title']??this[_0x1bf287(0x434)](_0x12a10e,_0x4b55d9,_0x2cf259):this[_0x1bf287(0x434)](_0x12a10e,_0x4b55d9,_0x2cf259),'color':this[_0x1bf287(0x468)](_0x12a10e,_0x4b55d9,_0x2cf259)});}),_0x302061;}[_0x5daf81(0x229)](_0x5ce13c,_0x5346bd){const _0x444098=_0x5daf81;let _0x2236f6=_0x2b2ae0=>{const _0xae9c2=_0x188f;var _0x3da1a8;let _0x3ccd1c=_0x2b2ae0==null?'':String(_0x2b2ae0);return!_0x3ccd1c||!this[_0xae9c2(0x2cb)](_0x5ce13c)?_0x3ccd1c:((_0x3da1a8=Li(_0x5ce13c,_0x3ccd1c))==null?void 0x0:_0x3da1a8['id'])??_0x3ccd1c;};if(Array['isArray'](_0x5346bd)){let _0x3fb9fe=_0x5346bd[_0x444098(0x2b0)](_0x2236f6)[_0x444098(0x32f)](_0x2eba33=>_0x2eba33!=='');return _0x3fb9fe['length']?_0x3fb9fe:[''];}return[_0x2236f6(_0x5346bd)];}[_0x5daf81(0x434)](_0x498c38,_0x2d9d71,_0x578948){const _0x563891=_0x5daf81;if(!_0x2d9d71)return _0x563891(0x300);let _0x19cfc8=Li(_0x498c38,_0x2d9d71);return(_0x19cfc8==null?void 0x0:_0x19cfc8[_0x563891(0x322)])??_0x2d9d71;}[_0x5daf81(0x468)](_0x19f12e,_0x289b8a,_0x9d2592){const _0x409d60=_0x5daf81;var _0x29384d;if(this[_0x409d60(0x2cb)](_0x19f12e))return(_0x29384d=Li(_0x19f12e,_0x289b8a))==null?void 0x0:_0x29384d[_0x409d60(0x3be)];}['_buildCalendar'](_0x4c3e8f,_0x45ad6e){const _0x5ed2ab=_0x5daf81;let _0x128db6=this[_0x5ed2ab(0x24a)](_0x4c3e8f,_0x45ad6e[_0x5ed2ab(0x396)]??{}),_0x4806b9=_0x4c3e8f[_0x5ed2ab(0x503)][_0x128db6['startDateFieldId']];if(!_0x4806b9||_0x4806b9['type']!==_0x618ba[_0x5ed2ab(0x47c)]||_0x4806b9['readonly']===!0x0||_0x4806b9[_0x5ed2ab(0x3db)]===!0x0||!this[_0x5ed2ab(0x308)](_0x4806b9)[_0x5ed2ab(0x34f)])return{'type':_0x5ed2ab(0x30c),'viewType':_0x168289[_0x5ed2ab(0x3bf)],'reason':'invalidDateField','fieldId':_0x128db6[_0x5ed2ab(0x3d5)]};let _0x1eb0f9=_0x128db6[_0x5ed2ab(0x39a)]?_0x4c3e8f['fields'][_0x128db6[_0x5ed2ab(0x39a)]]:void 0x0,_0x589d07=this[_0x5ed2ab(0x353)](_0x4c3e8f,_0x45ad6e);return{'type':_0x168289['Calendar'],'config':_0x128db6,'fields':this[_0x5ed2ab(0x2b3)](_0x4c3e8f,_0x45ad6e),'rows':_0x589d07,'groups':this[_0x5ed2ab(0x495)](_0x4c3e8f,_0x45ad6e,_0x589d07),'events':_0x589d07[_0x5ed2ab(0x36c)](_0x7b7bf5=>{const _0x2f9f82=_0x5ed2ab;let _0x4093e1=dn(_0x7b7bf5[_0x2f9f82(0x45b)][_0x128db6['startDateFieldId']]);if(!Number[_0x2f9f82(0x2fc)](_0x4093e1))return[];let _0xf74ad8=_0x7b7bf5[_0x2f9f82(0x45b)][_0x128db6['startDateFieldId']],_0x3c96a2=_0x128db6['endDateFieldId']==null?void 0x0:_0x7b7bf5['values'][_0x128db6[_0x2f9f82(0x39a)]],_0x56774d=_0x128db6[_0x2f9f82(0x39a)]==null?void 0x0:dn(_0x3c96a2),_0x3eb5fd=Number[_0x2f9f82(0x2fc)](_0x56774d)?_0x56774d:void 0x0;return[{'recordId':_0x7b7bf5[_0x2f9f82(0x1c6)],'title':this[_0x2f9f82(0x1c7)](_0x4c3e8f,_0x7b7bf5,_0x128db6[_0x2f9f82(0x478)]),'start':_0x4093e1,'end':_0x3eb5fd,'color':this[_0x2f9f82(0x51e)](_0x4c3e8f,_0x7b7bf5,_0x128db6),'startMs':_0x4093e1,'endMs':_0x3eb5fd,'allDay':this[_0x2f9f82(0x24f)](_0x4806b9,_0x1eb0f9,_0xf74ad8,_0x3c96a2),'fieldValues':_0x7b7bf5['values']}];})};}['_normalizeCalendarConfig'](_0x1d3c7a,_0x16a3bb){const _0x4cc776=_0x5daf81;let _0x3413bf=this[_0x4cc776(0x49a)](_0x1d3c7a,_0x16a3bb[_0x4cc776(0x3d5)]),_0xc0ea14=_0x16a3bb[_0x4cc776(0x39a)]&&this[_0x4cc776(0x2b2)](_0x1d3c7a,_0x16a3bb[_0x4cc776(0x39a)])?_0x16a3bb[_0x4cc776(0x39a)]:this['_findCalendarDateFieldId'](_0x1d3c7a,_0x3413bf)??void 0x0,_0x453b61=_0x16a3bb[_0x4cc776(0x478)]?_0x1d3c7a[_0x4cc776(0x503)][_0x16a3bb['titleFieldId']]:void 0x0,_0x388846=_0x453b61&&_0x453b61[_0x4cc776(0x3db)]!==!0x0&&_0x453b61['type']!==_0x618ba[_0x4cc776(0x28f)]?_0x16a3bb[_0x4cc776(0x478)]:_0x1d3c7a[_0x4cc776(0x51f)],_0xa4f142=_0x16a3bb[_0x4cc776(0x54f)]===_0x4cc776(0x2d1)||_0x16a3bb['mode']===_0x4cc776(0x2ba)?_0x16a3bb[_0x4cc776(0x54f)]:_0x4cc776(0x53e),_0x4216e6=_0x16a3bb['timeslotSize']===_0x4cc776(0x532)||_0x16a3bb['timeslotSize']===_0x4cc776(0x267)?_0x16a3bb[_0x4cc776(0x2bf)]:_0x4cc776(0x4be),_0x170119=typeof _0x16a3bb['timeZone']==_0x4cc776(0x2ed)&&_0x16a3bb[_0x4cc776(0x4dd)][_0x4cc776(0x3a5)]()?_0x16a3bb[_0x4cc776(0x4dd)]:_0x4cc776(0x35a),_0x5b6b0e=this[_0x4cc776(0x53b)](_0x1d3c7a,_0x16a3bb);return{..._0x16a3bb,'startDateFieldId':_0x3413bf,'endDateFieldId':_0xc0ea14,'titleFieldId':_0x388846,'mode':_0xa4f142,'timeslotSize':_0x4216e6,'timeZone':_0x170119,'displayColor':_0x5b6b0e,'fieldSettings':Object['fromEntries'](Object[_0x4cc776(0x2e4)](_0x16a3bb[_0x4cc776(0x508)]??{})['filter'](([_0x322d13])=>{const _0x5c84a4=_0x4cc776;let _0x2ffb17=_0x1d3c7a[_0x5c84a4(0x503)][_0x322d13];return!!(_0x2ffb17&&_0x2ffb17[_0x5c84a4(0x3db)]!==!0x0&&_0x2ffb17[_0x5c84a4(0x305)]!==_0x618ba['RecordId']);}))};}['_resolveCalendarDateFieldId'](_0x4a611a,_0x36f5af){const _0x15a0c4=_0x5daf81;return _0x36f5af&&this[_0x15a0c4(0x2b2)](_0x4a611a,_0x36f5af)?_0x36f5af:this[_0x15a0c4(0x239)](_0x4a611a)??_0x36f5af??'';}[_0x5daf81(0x239)](_0x55771d,_0x432998){const _0x5e0e79=_0x5daf81;for(let _0x373ce4 of _0x55771d[_0x5e0e79(0x1d6)])if(_0x373ce4!==_0x432998&&this[_0x5e0e79(0x2b2)](_0x55771d,_0x373ce4))return _0x373ce4;return null;}[_0x5daf81(0x2b2)](_0x458b3c,_0x477d76){const _0x13bbc6=_0x5daf81;let _0x4ccf38=_0x458b3c[_0x13bbc6(0x503)][_0x477d76];return!!_0x4ccf38&&_0x4ccf38[_0x13bbc6(0x305)]===_0x618ba[_0x13bbc6(0x47c)]&&_0x4ccf38[_0x13bbc6(0x546)]!==!0x0&&_0x4ccf38[_0x13bbc6(0x3db)]!==!0x0&&this[_0x13bbc6(0x308)](_0x4ccf38)['usableAsCalendarDate'];}[_0x5daf81(0x53b)](_0x1c9bb5,_0x379239){const _0x49d831=_0x5daf81;let _0x3e41a5=_0x379239[_0x49d831(0x4c6)];if((_0x3e41a5==null?void 0x0:_0x3e41a5[_0x49d831(0x305)])===_0x49d831(0x54d)){let _0xc22f7c=_0x1c9bb5['fields'][_0x3e41a5[_0x49d831(0x4a1)]];if(_0xc22f7c&&_0xc22f7c['type']===_0x618ba[_0x49d831(0x3af)])return _0x3e41a5;}if((_0x3e41a5==null?void 0x0:_0x3e41a5[_0x49d831(0x305)])===_0x49d831(0x3f1)&&typeof _0x3e41a5['color']==_0x49d831(0x2ed)&&_0x3e41a5[_0x49d831(0x3be)]['trim']())return{'type':_0x49d831(0x3f1),'color':_0x3e41a5[_0x49d831(0x3be)]};if(_0x379239[_0x49d831(0x392)]){let _0x1834cd=_0x1c9bb5[_0x49d831(0x503)][_0x379239[_0x49d831(0x392)]];if(_0x1834cd&&_0x1834cd[_0x49d831(0x305)]===_0x618ba[_0x49d831(0x3af)])return{'type':_0x49d831(0x54d),'fieldId':_0x379239[_0x49d831(0x392)]};}return{'type':_0x49d831(0x3f1),'color':_0x49d831(0x370)};}[_0x5daf81(0x51e)](_0x47150c,_0x5b2f52,_0x1e92af){const _0x5cd813=_0x5daf81;let _0x120e3a=_0x1e92af[_0x5cd813(0x4c6)];if((_0x120e3a==null?void 0x0:_0x120e3a[_0x5cd813(0x305)])===_0x5cd813(0x54d)){var _0x213869;let _0x359301=_0x47150c['fields'][_0x120e3a[_0x5cd813(0x4a1)]];if(!_0x359301)return;let _0x4103ab=_0x5b2f52[_0x5cd813(0x45b)][_0x120e3a[_0x5cd813(0x4a1)]],_0x263d0d=Array[_0x5cd813(0x31e)](_0x4103ab)?_0x4103ab[0x0]:_0x4103ab;return _0x263d0d==null||(_0x213869=Li(_0x359301,String(_0x263d0d)))==null?void 0x0:_0x213869[_0x5cd813(0x3be)];}if((_0x120e3a==null?void 0x0:_0x120e3a[_0x5cd813(0x305)])===_0x5cd813(0x3f1))return _0x120e3a[_0x5cd813(0x3be)];}[_0x5daf81(0x24f)](_0x41adb9,_0x32039e,_0x533208,_0x4a6b5a){const _0x5d3543=_0x5daf81;var _0x36825d,_0x1d99a6;let _0x17f1cb=((_0x36825d=_0x41adb9['config'])==null?void 0x0:_0x36825d[_0x5d3543(0x427)])===!0x0,_0x3b9c4d=(_0x32039e==null||(_0x1d99a6=_0x32039e['config'])==null?void 0x0:_0x1d99a6[_0x5d3543(0x427)])===!0x0;return!_0x17f1cb&&!_0x3b9c4d;}[_0x5daf81(0x1bc)](_0x225136,_0x3ba56b){const _0x1c6789=_0x5daf81;var _0x4783af,_0x57a44e;let _0x16830b=((_0x4783af=_0x225136['config'])==null?void 0x0:_0x4783af[_0x1c6789(0x427)])===!0x0,_0x945246=((_0x57a44e=_0x3ba56b[_0x1c6789(0x396)])==null?void 0x0:_0x57a44e['includeTime'])===!0x0;return!_0x16830b&&!_0x945246;}['_buildGantt'](_0x2b67cd,_0x7a7c67){const _0x3ef991=_0x5daf81;let _0xc036cd=this[_0x3ef991(0x442)](_0x2b67cd,_0x7a7c67[_0x3ef991(0x396)]),_0x5bab37=_0x2b67cd[_0x3ef991(0x503)][_0xc036cd[_0x3ef991(0x3d5)]];if(!_0x5bab37||_0x5bab37[_0x3ef991(0x305)]!==_0x618ba[_0x3ef991(0x47c)]||_0x5bab37[_0x3ef991(0x546)]===!0x0||_0x5bab37[_0x3ef991(0x3db)]===!0x0||!this[_0x3ef991(0x308)](_0x5bab37)[_0x3ef991(0x4e8)])return{'type':_0x3ef991(0x30c),'viewType':_0x168289[_0x3ef991(0x386)],'reason':'invalidGanttStartField','fieldId':_0xc036cd['startDateFieldId']};let _0x4a9fa2=_0x2b67cd[_0x3ef991(0x503)][_0xc036cd[_0x3ef991(0x39a)]];if(!_0x4a9fa2||_0x4a9fa2['type']!==_0x618ba['Date']||_0x4a9fa2['readonly']===!0x0||_0x4a9fa2[_0x3ef991(0x3db)]===!0x0||!this['_capabilities'](_0x4a9fa2)[_0x3ef991(0x248)])return{'type':_0x3ef991(0x30c),'viewType':_0x168289[_0x3ef991(0x386)],'reason':_0x3ef991(0x20c),'fieldId':_0xc036cd[_0x3ef991(0x39a)]};let _0x2cce17=this[_0x3ef991(0x1bc)](_0x5bab37,_0x4a9fa2),_0x36768f=this[_0x3ef991(0x353)](_0x2b67cd,_0x7a7c67),_0x336030=_0x36768f[_0x3ef991(0x36c)](_0x2f98d3=>{const _0x55d198=_0x3ef991;let _0x273dbc=dn(_0x2f98d3[_0x55d198(0x45b)][_0xc036cd[_0x55d198(0x3d5)]]),_0x2e8548=dn(_0x2f98d3[_0x55d198(0x45b)][_0xc036cd[_0x55d198(0x39a)]]);if(!Number[_0x55d198(0x2fc)](_0x273dbc)||!Number['isFinite'](_0x2e8548))return[];let _0x45ae88=Math[_0x55d198(0x469)](_0x273dbc,_0x2e8548),_0x17e26c=Math[_0x55d198(0x29c)](_0x273dbc,_0x2e8548),_0x11d750=_0xc036cd[_0x55d198(0x333)]==null?void 0x0:Number(_0x2f98d3[_0x55d198(0x45b)][_0xc036cd[_0x55d198(0x333)]]);return[{'recordId':_0x2f98d3[_0x55d198(0x1c6)],'title':this['_title'](_0x2b67cd,_0x2f98d3,_0xc036cd[_0x55d198(0x478)]),'start':_0x45ae88,'end':_0x17e26c,'color':this[_0x55d198(0x43c)](_0x2b67cd,_0x2f98d3,_0xc036cd),'progress':Number[_0x55d198(0x2fc)](_0x11d750)?_0x11d750:void 0x0,'workingDayCount':_0xc036cd[_0x55d198(0x2f1)]?Ti(_0x45ae88,_0x17e26c,_0xc036cd[_0x55d198(0x2c1)]):void 0x0,'dependencyRecordIds':this[_0x55d198(0x4ef)](_0x2f98d3[_0x55d198(0x45b)][_0xc036cd['dependencyFieldId']??''])}];}),_0xb0a769=_0x336030[_0x3ef991(0x21d)]?Z(Math['min'](..._0x336030[_0x3ef991(0x2b0)](_0x3ad7db=>_0x3ad7db['start']))-0x5a*oi):Z(Date[_0x3ef991(0x1d5)]()-0x5a*oi),_0x14ccf2=_0x336030['length']?Z(Math['max'](..._0x336030[_0x3ef991(0x2b0)](_0x18e386=>_0x18e386['end']))+0x5b*oi):Z(Date[_0x3ef991(0x1d5)]()+0x5b*oi),_0x23e7a1=_i(_0xc036cd[_0x3ef991(0x1eb)],_0xb0a769,_0x14ccf2,_0xc036cd[_0x3ef991(0x2f1)]?_0xc036cd[_0x3ef991(0x2c1)]:void 0x0);return{'type':_0x168289[_0x3ef991(0x386)],'fields':this['_projectFields'](_0x2b67cd,{..._0x7a7c67,'config':_0xc036cd}),'rows':_0x36768f,'groups':this[_0x3ef991(0x495)](_0x2b67cd,_0x7a7c67,_0x36768f),'config':_0xc036cd,'dateRangeAllDay':_0x2cce17,'timeline':{'scale':_0xc036cd[_0x3ef991(0x1eb)],'start':_0xb0a769,'end':_0x14ccf2,'unitWidth':_0x23e7a1[_0x3ef991(0x384)],'majorHeaders':_0x23e7a1[_0x3ef991(0x561)],'columns':_0x23e7a1[_0x3ef991(0x548)]},'bars':_0x336030};}['_normalizeGanttConfig'](_0x40709b,_0x5e7b7a){const _0x551241=_0x5daf81;let _0x3daaf3=this[_0x551241(0x394)](_0x40709b,_0x5e7b7a[_0x551241(0x3d5)],'start'),_0x737e9=this[_0x551241(0x394)](_0x40709b,_0x5e7b7a[_0x551241(0x39a)],'end')||_0x3daaf3,_0x1ee329=_0x5e7b7a[_0x551241(0x478)]?_0x40709b['fields'][_0x5e7b7a[_0x551241(0x478)]]:void 0x0,_0x21ff1f=_0x1ee329&&_0x1ee329[_0x551241(0x3db)]!==!0x0&&_0x1ee329[_0x551241(0x305)]!==_0x618ba[_0x551241(0x28f)]?_0x5e7b7a[_0x551241(0x478)]:_0x40709b[_0x551241(0x51f)],_0x22b4c5=_0x5e7b7a[_0x551241(0x1eb)]==='week'||_0x5e7b7a[_0x551241(0x1eb)]===_0x551241(0x459)||_0x5e7b7a[_0x551241(0x1eb)]===_0x551241(0x27d)?_0x5e7b7a[_0x551241(0x1eb)]:'month',_0x5b20c2=gi(_0x5e7b7a[_0x551241(0x2c1)]);return{..._0x5e7b7a,'startDateFieldId':_0x3daaf3,'endDateFieldId':_0x737e9,'titleFieldId':_0x21ff1f,'scale':_0x22b4c5,'leftPaneWidth':typeof _0x5e7b7a[_0x551241(0x46d)]==_0x551241(0x53d)?_0x5e7b7a[_0x551241(0x46d)]:void 0x0,'leftPaneCollapsed':_0x5e7b7a[_0x551241(0x2df)]===!0x0,'showTodayLine':_0x5e7b7a[_0x551241(0x1f6)]!==!0x1,'displayColor':this[_0x551241(0x485)](_0x40709b,_0x5e7b7a),'fieldSettings':Object['fromEntries'](Object['entries'](_0x5e7b7a[_0x551241(0x508)]??{})[_0x551241(0x32f)](([_0x4d380d])=>{const _0x243ec0=_0x551241;let _0x2dcd41=_0x40709b[_0x243ec0(0x503)][_0x4d380d];return!!(_0x2dcd41&&_0x2dcd41['system']!==!0x0&&_0x2dcd41[_0x243ec0(0x305)]!==_0x618ba[_0x243ec0(0x28f)]);})),'workingDaysOnly':_0x5e7b7a[_0x551241(0x2f1)]===!0x0,'workingDays':_0x5b20c2};}[_0x5daf81(0x394)](_0x67691d,_0x3b1f9b,_0x30210e){const _0x47e4df=_0x5daf81;if(_0x3b1f9b&&this[_0x47e4df(0x436)](_0x67691d,_0x3b1f9b,_0x30210e)||_0x3b1f9b)return _0x3b1f9b;for(let _0x5d1fa6 of _0x67691d[_0x47e4df(0x1d6)])if(this[_0x47e4df(0x436)](_0x67691d,_0x5d1fa6,_0x30210e))return _0x5d1fa6;return _0x3b1f9b??'';}['_isGanttDateField'](_0x4df813,_0x1d589c,_0x47eae3){const _0x375999=_0x5daf81;let _0x3c7f9a=_0x4df813['fields'][_0x1d589c];if(!_0x3c7f9a||_0x3c7f9a['type']!==_0x618ba[_0x375999(0x47c)]||_0x3c7f9a['readonly']===!0x0||_0x3c7f9a[_0x375999(0x3db)]===!0x0)return!0x1;let _0x4555ee=this[_0x375999(0x308)](_0x3c7f9a);return _0x47eae3==='start'?_0x4555ee[_0x375999(0x4e8)]:_0x4555ee[_0x375999(0x248)];}[_0x5daf81(0x485)](_0x18b904,_0x70f87){const _0x2092e2=_0x5daf81;let _0x516c44=_0x70f87[_0x2092e2(0x4c6)];if((_0x516c44==null?void 0x0:_0x516c44[_0x2092e2(0x305)])===_0x2092e2(0x54d)){let _0x5aaa27=_0x18b904['fields'][_0x516c44[_0x2092e2(0x4a1)]];if(_0x5aaa27&&_0x5aaa27[_0x2092e2(0x305)]===_0x618ba[_0x2092e2(0x3af)])return _0x516c44;}return(_0x516c44==null?void 0x0:_0x516c44[_0x2092e2(0x305)])==='conditional'&&Array[_0x2092e2(0x31e)](_0x516c44['rules'])?{'type':'conditional','rules':_0x516c44[_0x2092e2(0x2e0)][_0x2092e2(0x32f)](_0x1464ba=>!!_0x18b904[_0x2092e2(0x503)][_0x1464ba[_0x2092e2(0x4a1)]])}:(_0x516c44==null?void 0x0:_0x516c44[_0x2092e2(0x305)])===_0x2092e2(0x3f1)&&typeof _0x516c44[_0x2092e2(0x3be)]=='string'&&_0x516c44['color'][_0x2092e2(0x3a5)]()?{'type':_0x2092e2(0x3f1),'color':_0x516c44['color']}:{'type':'custom','color':_0x2092e2(0x3ad)};}[_0x5daf81(0x43c)](_0x1a5c68,_0x3a5d29,_0x5c7bbe){const _0x1e6554=_0x5daf81;let _0x56d49c=_0x5c7bbe[_0x1e6554(0x4c6)];if((_0x56d49c==null?void 0x0:_0x56d49c[_0x1e6554(0x305)])===_0x1e6554(0x454)){let _0x125d75=_0x56d49c[_0x1e6554(0x2e0)][_0x1e6554(0x2d8)](_0x57b285=>this[_0x1e6554(0x237)](_0x1a5c68,_0x3a5d29,_0x57b285));if(_0x125d75)return _0x125d75[_0x1e6554(0x3be)];}if((_0x56d49c==null?void 0x0:_0x56d49c[_0x1e6554(0x305)])===_0x1e6554(0x54d)){let _0x5680f4=_0x1a5c68[_0x1e6554(0x503)][_0x56d49c[_0x1e6554(0x4a1)]];if(_0x5680f4){var _0xba9d9e;let _0x10b930=_0x3a5d29[_0x1e6554(0x45b)][_0x56d49c[_0x1e6554(0x4a1)]],_0x5b93cd=Array[_0x1e6554(0x31e)](_0x10b930)?_0x10b930[0x0]:_0x10b930,_0x47a891=_0x5b93cd==null||(_0xba9d9e=Li(_0x5680f4,String(_0x5b93cd)))==null?void 0x0:_0xba9d9e['color'];if(_0x47a891)return _0x47a891;}}return(_0x56d49c==null?void 0x0:_0x56d49c['type'])===_0x1e6554(0x3f1)?_0x56d49c[_0x1e6554(0x3be)]:_0x1e6554(0x3ad);}['_matchesGanttColorRule'](_0x136cb8,_0x59e8e3,_0x56f56e){const _0x2a288b=_0x5daf81;let _0x546955=_0x136cb8[_0x2a288b(0x503)][_0x56f56e['fieldId']];return _0x546955?xn(_0x59e8e3[_0x2a288b(0x45b)][_0x546955['id']],_0x56f56e['operator'],_0x56f56e[_0x2a288b(0x30b)],_0x546955,{'dateMode':_0x56f56e['dateMode']}):!0x1;}['_buildGallery'](_0x338efe,_0x20002c){const _0x3c0ab4=_0x5daf81;let _0x56bb82=this['_projectRows'](_0x338efe,_0x20002c),_0x40c120=this[_0x3c0ab4(0x38a)](_0x338efe,_0x20002c[_0x3c0ab4(0x396)]??{}),_0x341070=this[_0x3c0ab4(0x2b3)](_0x338efe,_0x20002c);return{'type':_0x168289[_0x3c0ab4(0x493)],'fields':_0x341070,'rows':_0x56bb82,'groups':this['_projectGroups'](_0x338efe,_0x20002c,_0x56bb82),'titleFieldId':_0x40c120[_0x3c0ab4(0x24b)]['titleFieldId'],'coverFieldId':_0x40c120[_0x3c0ab4(0x225)],'cardLayout':_0x40c120[_0x3c0ab4(0x3e7)]??_0x3c0ab4(0x441),'showFieldNames':_0x40c120[_0x3c0ab4(0x507)]!==!0x1,'visibleCardFieldIds':this[_0x3c0ab4(0x2d7)](_0x338efe,_0x20002c,_0x40c120),'cardSize':_0x40c120[_0x3c0ab4(0x534)]??_0x3c0ab4(0x4be),'cards':_0x56bb82[_0x3c0ab4(0x2b0)](_0x4c6bdc=>({'recordId':_0x4c6bdc[_0x3c0ab4(0x1c6)],'title':this[_0x3c0ab4(0x1c7)](_0x338efe,_0x4c6bdc,_0x40c120[_0x3c0ab4(0x24b)][_0x3c0ab4(0x478)]),'values':_0x4c6bdc[_0x3c0ab4(0x45b)]}))};}[_0x5daf81(0x38a)](_0x12da9a,_0x155954){const _0x4eee78=_0x5daf81;let _0x4e64f2=_0x155954[_0x4eee78(0x24b)]??{'fieldIds':[]},_0x5344ed=this[_0x4eee78(0x4c7)](_0x12da9a,_0x4e64f2[_0x4eee78(0x478)]),_0x10d888=this[_0x4eee78(0x365)](_0x12da9a,_0x155954),_0x510d60=_0x155954[_0x4eee78(0x534)]==='small'||_0x155954[_0x4eee78(0x534)]==='large'?_0x155954[_0x4eee78(0x534)]:_0x4eee78(0x4be);return{..._0x155954,'coverFieldId':_0x10d888,'cardLayout':_0x155954[_0x4eee78(0x3e7)]==='compose'?'compose':_0x4eee78(0x441),'showFieldNames':_0x155954[_0x4eee78(0x507)]!==!0x1,'fieldSettings':Object['fromEntries'](Object['entries'](_0x155954['fieldSettings']??{})['filter'](([_0x22fc21])=>{const _0x2f0444=_0x4eee78;let _0x127e2a=_0x12da9a['fields'][_0x22fc21];return!!(_0x127e2a&&_0x127e2a[_0x2f0444(0x3db)]!==!0x0&&_0x127e2a[_0x2f0444(0x305)]!==_0x618ba['RecordId']);})),'card':{..._0x4e64f2,'titleFieldId':_0x5344ed,'coverFieldId':_0x10d888,'fieldIds':Array[_0x4eee78(0x31e)](_0x4e64f2[_0x4eee78(0x209)])?_0x4e64f2[_0x4eee78(0x209)]:[]},'cardSize':_0x510d60};}[_0x5daf81(0x4c7)](_0xb93927,_0x1f016a){const _0x178c09=_0x5daf81;let _0x443038=_0x1f016a?_0xb93927[_0x178c09(0x503)][_0x1f016a]:void 0x0;return _0x443038&&_0x443038['system']!==!0x0&&_0x443038[_0x178c09(0x305)]!==_0x618ba[_0x178c09(0x28f)]?_0x443038['id']:Zr(_0xb93927);}[_0x5daf81(0x365)](_0xf8ffe7,_0x5352ea){const _0x348477=_0x5daf81;var _0x37c612;let _0x439a70=_0x5352ea[_0x348477(0x225)]??((_0x37c612=_0x5352ea['card'])==null?void 0x0:_0x37c612[_0x348477(0x225)])??null;if(!_0x439a70)return null;let _0x2d2366=_0xf8ffe7[_0x348477(0x503)][_0x439a70];return _0x2d2366&&this[_0x348477(0x308)](_0x2d2366)[_0x348477(0x294)]?_0x2d2366['id']:null;}[_0x5daf81(0x2d7)](_0x23e70d,_0x4d64da,_0x44280e){const _0x3eb132=_0x5daf81;var _0x2d9198,_0x25ee27,_0x472661;let _0x52e931=_0x44280e[_0x3eb132(0x508)]??{},_0x3da9b5=((_0x2d9198=_0x44280e[_0x3eb132(0x24b)])==null?void 0x0:_0x2d9198[_0x3eb132(0x478)])??Zr(_0x23e70d),_0x6df08f=_0x44280e['coverFieldId']??((_0x25ee27=_0x44280e['card'])==null?void 0x0:_0x25ee27[_0x3eb132(0x225)])??null,_0x4d5e37=(_0x472661=_0x44280e['card'])!=null&&(_0x472661=_0x472661[_0x3eb132(0x209)])!=null&&_0x472661[_0x3eb132(0x21d)]?_0x44280e[_0x3eb132(0x24b)]['fieldIds']:Qr(_0x23e70d,[_0x3da9b5,_0x6df08f,_0x23e70d[_0x3eb132(0x51f)]]);return _0x4d5e37['filter'](_0x5ea334=>{const _0x48e512=_0x3eb132;var _0x5049fd,_0x4973cf;let _0x10b1e8=_0x23e70d[_0x48e512(0x503)][_0x5ea334];return!(!_0x10b1e8||_0x10b1e8[_0x48e512(0x3db)]===!0x0||_0x10b1e8['type']===_0x618ba[_0x48e512(0x28f)]||_0x10b1e8['id']===_0x3da9b5||_0x10b1e8['id']===_0x6df08f||(_0x5049fd=_0x4d64da['fieldSettings'])!=null&&(_0x5049fd=_0x5049fd[_0x5ea334])!=null&&_0x5049fd[_0x48e512(0x219)]||(_0x4973cf=_0x52e931[_0x5ea334])!=null&&_0x4973cf[_0x48e512(0x219)]);})[_0x3eb132(0x3c5)]((_0x5e00b9,_0x327336)=>{const _0x5be562=_0x3eb132;var _0x1d85c5,_0x3ae8cf;return(((_0x1d85c5=_0x52e931[_0x5e00b9])==null?void 0x0:_0x1d85c5['order'])??_0x4d5e37[_0x5be562(0x25c)](_0x5e00b9))-(((_0x3ae8cf=_0x52e931[_0x327336])==null?void 0x0:_0x3ae8cf[_0x5be562(0x33a)])??_0x4d5e37[_0x5be562(0x25c)](_0x327336));});}['_projectFields'](_0x11656b,_0x113fdf){const _0x4fa838=_0x5daf81;var _0x348614;return((_0x348614=_0x113fdf[_0x4fa838(0x1d6)])!=null&&_0x348614['length']?_0x113fdf['fieldOrder']:_0x11656b[_0x4fa838(0x1d6)])[_0x4fa838(0x36c)](_0x2deb85=>{const _0x2dd935=_0x4fa838;var _0x302b83;let _0xd2c0a7=_0x11656b[_0x2dd935(0x503)][_0x2deb85],_0x244ad8=((_0x302b83=_0x113fdf[_0x2dd935(0x508)])==null?void 0x0:_0x302b83[_0x2deb85])??{};return!_0xd2c0a7||_0xd2c0a7[_0x2dd935(0x3db)]===!0x0||_0xd2c0a7[_0x2dd935(0x305)]===_0x618ba[_0x2dd935(0x28f)]||_0x244ad8['hidden']?[]:[{'id':_0xd2c0a7['id'],'name':_0xd2c0a7['name'],'description':_0xd2c0a7[_0x2dd935(0x4e0)],'type':_0xd2c0a7[_0x2dd935(0x305)],'config':_0xd2c0a7[_0x2dd935(0x396)],'width':_0x244ad8[_0x2dd935(0x346)],'setting':_0x244ad8}];});}[_0x5daf81(0x353)](_0x2d7c46,_0x6b8cde){const _0x26f073=_0x5daf81;var _0x10b254;return I('BaseProjection.projectRows',()=>{const _0x1e4575=_0x188f;var _0x3128c2,_0x497eb1;let _0x121e7c=this['_projectTableRows'](_0x2d7c46),_0x342f6c=this[_0x1e4575(0x206)](_0x2d7c46['id'],_0x6b8cde),_0x224f76=this[_0x1e4575(0x215)](_0x2d7c46['id']),_0x2d89eb=this[_0x1e4575(0x3f9)][_0x1e4575(0x315)](_0x342f6c);if(_0x2d89eb&&_0x2d89eb[_0x1e4575(0x4c1)]===this[_0x1e4575(0x531)]&&_0x2d89eb['tableRevision']===this['_getTableRevision'](_0x2d7c46['id'])){if(_0x2d89eb[_0x1e4575(0x474)]===_0x224f76&&_0x2d89eb[_0x1e4575(0x487)]===_0x121e7c)return _0x2d89eb['rows'];if(_0x2d89eb['cellRevision']!==_0x224f76&&!this[_0x1e4575(0x220)](_0x2d7c46['id'],_0x2d89eb[_0x1e4575(0x474)],_0x224f76,this[_0x1e4575(0x4a2)](_0x6b8cde))){let _0x4e2d93=_0x2d89eb[_0x1e4575(0x372)]===_0x2d89eb['baseRows']?_0x121e7c:this['_patchCachedProjectedRows'](_0x2d89eb[_0x1e4575(0x372)],_0x121e7c);if(_0x4e2d93)return this['_projectedViewRowsCache']['set'](_0x342f6c,{..._0x2d89eb,'rows':_0x4e2d93,'baseRows':_0x121e7c,'cellRevision':_0x224f76}),_0x4e2d93;}}let _0x4d431e=I(_0x1e4575(0x1c0),()=>this[_0x1e4575(0x207)](_0x2d7c46,_0x6b8cde,this[_0x1e4575(0x4eb)](_0x2d7c46,_0x6b8cde,_0x121e7c)),{'tableId':_0x2d7c46['id'],'viewId':_0x6b8cde==null?void 0x0:_0x6b8cde['id'],'viewType':_0x6b8cde==null?void 0x0:_0x6b8cde[_0x1e4575(0x305)],'rows':_0x121e7c[_0x1e4575(0x21d)],'filters':(_0x6b8cde==null||(_0x3128c2=_0x6b8cde[_0x1e4575(0x32f)])==null?void 0x0:_0x3128c2[_0x1e4575(0x245)]['length'])??0x0,'sorts':(_0x6b8cde==null||(_0x497eb1=_0x6b8cde['sort'])==null?void 0x0:_0x497eb1[_0x1e4575(0x21d)])??0x0});return this[_0x1e4575(0x3f9)][_0x1e4575(0x1ba)](_0x342f6c,{'table':_0x2d7c46,'rows':_0x4d431e,'baseRows':_0x121e7c,'globalRevision':this['_globalRevision'],'tableRevision':this[_0x1e4575(0x541)](_0x2d7c46['id']),'cellRevision':_0x224f76}),_0x4d431e;},{'tableId':_0x2d7c46['id'],'viewId':_0x6b8cde==null?void 0x0:_0x6b8cde['id'],'viewType':_0x6b8cde==null?void 0x0:_0x6b8cde[_0x26f073(0x305)],'records':((_0x10b254=_0x2d7c46['recordOrder'])==null?void 0x0:_0x10b254[_0x26f073(0x21d)])??Object[_0x26f073(0x46f)](_0x2d7c46['records']??{})[_0x26f073(0x21d)]});}['_projectTableRows'](_0x3e4ea4){const _0x4a87f2=_0x5daf81;var _0x443367;return I('BaseProjection.projectTableRows',()=>{const _0x2fe73f=_0x188f;var _0x1876d5;let _0x2da8bd=this['_getCellRevision'](_0x3e4ea4['id']),_0x59cd11=this['_projectedRowsCache'][_0x2fe73f(0x315)](_0x3e4ea4['id']);if(_0x59cd11&&_0x59cd11[_0x2fe73f(0x4c1)]===this['_globalRevision']&&_0x59cd11[_0x2fe73f(0x234)]===this['_getTableRevision'](_0x3e4ea4['id'])){if(_0x59cd11[_0x2fe73f(0x474)]===_0x2da8bd&&fi(_0x59cd11[_0x2fe73f(0x524)],_0x3e4ea4))return _0x59cd11[_0x2fe73f(0x524)]=_0x3e4ea4,_0x59cd11['rows'];let _0x4b184e=this[_0x2fe73f(0x4e9)](_0x3e4ea4,_0x59cd11,_0x2da8bd);if(_0x4b184e)return _0x4b184e;}ui(_0x3e4ea4)||L(_0x3e4ea4);let _0x35bec3=(_0x1876d5=_0x3e4ea4[_0x2fe73f(0x3da)])!=null&&_0x1876d5[_0x2fe73f(0x21d)]?_0x3e4ea4[_0x2fe73f(0x3da)]:hi(_0x3e4ea4['records']),_0x3b5986=I(_0x2fe73f(0x212),()=>{const _0x2792b8=_0x2fe73f;let _0x183e70=[];for(let _0x5b7461 of _0x35bec3){let _0x5d6b5b=_0x3e4ea4[_0x2792b8(0x43a)][_0x5b7461];if(!_0x5d6b5b)continue;let _0x5ec9c9={};for(let _0xd57b75 of _0x3e4ea4[_0x2792b8(0x1d6)])_0x5ec9c9[_0xd57b75]=yt(_0x3e4ea4,_0x5d6b5b['id'],_0xd57b75);_0x183e70['push']({'recordId':_0x5d6b5b['id'],'values':_0x5ec9c9});}return _0x183e70;},{'tableId':_0x3e4ea4['id'],'records':_0x35bec3[_0x2fe73f(0x21d)],'fields':_0x3e4ea4['fieldOrder'][_0x2fe73f(0x21d)]});return this[_0x2fe73f(0x38b)][_0x2fe73f(0x1ba)](_0x3e4ea4['id'],{'table':_0x3e4ea4,'rows':_0x3b5986,'rowIndexById':li(_0x3b5986),'globalRevision':this[_0x2fe73f(0x531)],'tableRevision':this[_0x2fe73f(0x541)](_0x3e4ea4['id']),'cellRevision':_0x2da8bd}),_0x3b5986;},{'tableId':_0x3e4ea4['id'],'records':((_0x443367=_0x3e4ea4[_0x4a87f2(0x3da)])==null?void 0x0:_0x443367['length'])??Object['keys'](_0x3e4ea4[_0x4a87f2(0x43a)]??{})[_0x4a87f2(0x21d)],'fields':_0x3e4ea4['fieldOrder'][_0x4a87f2(0x21d)]});}[_0x5daf81(0x4e9)](_0x400494,_0x4c4ba7,_0x551c7c){const _0x526d7d=_0x5daf81;let _0x3478d6=(this[_0x526d7d(0x235)][_0x526d7d(0x315)](_0x400494['id'])??[])[_0x526d7d(0x32f)](_0x154396=>_0x154396[_0x526d7d(0x1c3)]>_0x4c4ba7[_0x526d7d(0x474)]&&_0x154396['revision']<=_0x551c7c);if(!_0x3478d6['length'])return _0x4c4ba7['table']===_0x400494?_0x4c4ba7[_0x526d7d(0x372)]:null;let _0x28f517=_0x4c4ba7['rows'],_0x13bf10=new Map();for(let _0x5ed11e of _0x3478d6){let _0x30d03c=_0x13bf10[_0x526d7d(0x315)](_0x5ed11e[_0x526d7d(0x1c6)]);_0x30d03c||(_0x30d03c=new Set(),_0x13bf10[_0x526d7d(0x1ba)](_0x5ed11e[_0x526d7d(0x1c6)],_0x30d03c)),_0x30d03c[_0x526d7d(0x4ee)](_0x5ed11e[_0x526d7d(0x4a1)]);}for(let [_0x11b298,_0x2aebd2]of _0x13bf10){if(!_0x400494['records'][_0x11b298])return null;let _0x300d21=_0x4c4ba7[_0x526d7d(0x281)][_0x526d7d(0x315)](_0x11b298);if(_0x300d21==null)return null;_0x28f517===_0x4c4ba7[_0x526d7d(0x372)]&&(_0x28f517=[..._0x4c4ba7[_0x526d7d(0x372)]]);let _0x5cef9e=_0x28f517[_0x300d21],_0x4937cc={..._0x5cef9e[_0x526d7d(0x45b)]};_0x2aebd2[_0x526d7d(0x429)](_0x2860a9=>{_0x4937cc[_0x2860a9]=yt(_0x400494,_0x11b298,_0x2860a9);}),_0x28f517[_0x300d21]={..._0x5cef9e,'values':_0x4937cc};}let _0x4026de={'table':_0x400494,'rows':_0x28f517,'rowIndexById':_0x4c4ba7[_0x526d7d(0x281)],'globalRevision':this[_0x526d7d(0x531)],'tableRevision':this[_0x526d7d(0x541)](_0x400494['id']),'cellRevision':_0x551c7c};return this[_0x526d7d(0x38b)]['set'](_0x400494['id'],_0x4026de),this[_0x526d7d(0x235)][_0x526d7d(0x1ba)](_0x400494['id'],(this['_cellInvalidations']['get'](_0x400494['id'])??[])[_0x526d7d(0x32f)](_0x3343a9=>_0x3343a9['revision']>Math['max'](0x0,_0x551c7c-0x100))),_0x28f517;}[_0x5daf81(0x1bf)](_0x15940e,_0x2c0c50){const _0x3e941b=_0x5daf81;let _0x528ee4=new Map(_0x2c0c50[_0x3e941b(0x2b0)](_0x5e8719=>[_0x5e8719[_0x3e941b(0x1c6)],_0x5e8719])),_0x1c2bc=!0x1,_0x38b21d=_0x15940e[_0x3e941b(0x2b0)](_0x25c1b0=>{const _0x862381=_0x3e941b;let _0x116f25=_0x528ee4[_0x862381(0x315)](_0x25c1b0[_0x862381(0x1c6)]);return _0x116f25?_0x116f25===_0x25c1b0?_0x25c1b0:(_0x1c2bc=!0x0,_0x116f25):_0x25c1b0;});return _0x1c2bc?_0x38b21d:_0x15940e;}['_cellInvalidationsTouchFields'](_0x40bc42,_0x5c9456,_0x44e16b,_0x4004b5){const _0x5aaf16=_0x5daf81;return!_0x4004b5['size']||_0x5c9456===_0x44e16b?!0x1:_0x44e16b-_0x5c9456>0x100||(this[_0x5aaf16(0x235)]['get'](_0x40bc42)??[])[_0x5aaf16(0x387)](_0x11cfce=>_0x11cfce[_0x5aaf16(0x1c3)]>_0x5c9456&&_0x11cfce['revision']<=_0x44e16b&&_0x4004b5[_0x5aaf16(0x253)](_0x11cfce['fieldId']));}['_filterSortFieldIds'](_0x54def7){const _0x5bb7c6=_0x5daf81;var _0x1a55eb,_0xb11178;let _0x524057=new Set();return _0x54def7==null||(_0x1a55eb=_0x54def7[_0x5bb7c6(0x32f)])==null||_0x1a55eb[_0x5bb7c6(0x245)][_0x5bb7c6(0x429)](_0x7dc302=>_0x524057[_0x5bb7c6(0x4ee)](_0x7dc302['fieldId'])),_0x54def7==null||(_0xb11178=_0x54def7[_0x5bb7c6(0x3c5)])==null||_0xb11178[_0x5bb7c6(0x429)](_0x4df97b=>_0x524057[_0x5bb7c6(0x4ee)](_0x4df97b[_0x5bb7c6(0x4a1)])),_0x524057;}[_0x5daf81(0x50c)](_0x32bb50){const _0x379cad=_0x5daf81;var _0x36cb6b;let _0x1740df=this[_0x379cad(0x4a2)](_0x32bb50);return(_0x36cb6b=_0x32bb50[_0x379cad(0x3e9)])==null||_0x36cb6b[_0x379cad(0x429)](_0x19be1c=>_0x1740df[_0x379cad(0x4ee)](_0x19be1c['fieldId'])),_0x1740df;}['_filterRows'](_0x21ce68,_0x5633b0,_0x13aaf3){const _0x2a5576=_0x5daf81;let _0x2897c4=_0x5633b0==null?void 0x0:_0x5633b0[_0x2a5576(0x32f)];if(!(_0x2897c4!=null&&_0x2897c4[_0x2a5576(0x245)][_0x2a5576(0x21d)]))return _0x13aaf3;let _0x268a0f=_0x2897c4[_0x2a5576(0x245)][_0x2a5576(0x32f)](_0x1b266a=>!Ii(_0x1b266a));return _0x268a0f['length']?_0x13aaf3['filter'](_0x4cab92=>{const _0x26cade=_0x2a5576;if(_0x2897c4[_0x26cade(0x437)]===_0x4967ae['OR']){for(let _0x59bfa9 of _0x268a0f){let _0x287cf8=_0x21ce68[_0x26cade(0x503)][_0x59bfa9[_0x26cade(0x4a1)]];if(!_0x287cf8||this[_0x26cade(0x47d)][_0x26cade(0x315)](_0x287cf8[_0x26cade(0x305)])[_0x26cade(0x32f)](_0x4cab92[_0x26cade(0x45b)][_0x287cf8['id']],_0x59bfa9[_0x26cade(0x246)],_0x59bfa9['operand'],_0x287cf8))return!0x0;}return!0x1;}for(let _0x2fcb73 of _0x268a0f){let _0x2dd0c4=_0x21ce68[_0x26cade(0x503)][_0x2fcb73[_0x26cade(0x4a1)]];if(_0x2dd0c4&&!this['_fieldRegistry'][_0x26cade(0x315)](_0x2dd0c4[_0x26cade(0x305)])[_0x26cade(0x32f)](_0x4cab92[_0x26cade(0x45b)][_0x2dd0c4['id']],_0x2fcb73['operator'],_0x2fcb73['operand'],_0x2dd0c4))return!0x1;}return!0x0;}):_0x13aaf3;}[_0x5daf81(0x207)](_0x192f37,_0x51ccce,_0x3ba131){const _0x8ba35b=_0x5daf81;let _0x2b8c6c=(_0x51ccce==null?void 0x0:_0x51ccce['sort'])??[];if(!_0x2b8c6c[_0x8ba35b(0x21d)])return _0x3ba131;let _0xfd8a85=_0x2b8c6c[_0x8ba35b(0x36c)](_0x576a63=>{const _0x450e6f=_0x8ba35b;let _0x2dca26=_0x192f37[_0x450e6f(0x503)][_0x576a63[_0x450e6f(0x4a1)]];return _0x2dca26?[{..._0x576a63,'field':_0x2dca26}]:[];});return _0xfd8a85[_0x8ba35b(0x21d)]?this['_canUseFastSort'](_0xfd8a85)?this[_0x8ba35b(0x36a)](_0xfd8a85,_0x3ba131):[..._0x3ba131][_0x8ba35b(0x3c5)]((_0x2f1cec,_0xa47e69)=>{const _0x3c153d=_0x8ba35b;for(let _0x513f9b of _0xfd8a85){let _0xc2111e=_0x513f9b['field'],_0x31bb37=this[_0x3c153d(0x47d)][_0x3c153d(0x315)](_0xc2111e[_0x3c153d(0x305)])[_0x3c153d(0x236)](_0x2f1cec[_0x3c153d(0x45b)][_0xc2111e['id']],_0xa47e69[_0x3c153d(0x45b)][_0xc2111e['id']],_0xc2111e);if(_0x31bb37!==0x0)return _0x513f9b[_0x3c153d(0x320)]===_0x43615e['DESC']?-_0x31bb37:_0x31bb37;}return 0x0;}):_0x3ba131;}['_canUseFastSort'](_0x470c36){const _0x27d4ef=_0x5daf81;return _0x470c36[_0x27d4ef(0x2ab)](_0x2d217f=>ai['has'](_0x2d217f[_0x27d4ef(0x50a)][_0x27d4ef(0x305)]));}[_0x5daf81(0x36a)](_0x3d300e,_0x2fda6a){const _0x2d5d29=_0x5daf81;return _0x2fda6a[_0x2d5d29(0x2b0)]((_0x34c494,_0x15e23d)=>({'row':_0x34c494,'index':_0x15e23d,'keys':_0x3d300e[_0x2d5d29(0x2b0)](_0x20230a=>_0x34c494[_0x2d5d29(0x45b)][_0x20230a[_0x2d5d29(0x4a1)]])}))[_0x2d5d29(0x3c5)]((_0x401fae,_0x7d3f1b)=>{const _0x5e81f3=_0x2d5d29;for(let _0x5f5bcd=0x0;_0x5f5bcd<_0x3d300e[_0x5e81f3(0x21d)];_0x5f5bcd++){let _0x4c8f3e=Fi(_0x401fae[_0x5e81f3(0x46f)][_0x5f5bcd],_0x7d3f1b['keys'][_0x5f5bcd]);if(_0x4c8f3e!==0x0)return _0x3d300e[_0x5f5bcd][_0x5e81f3(0x320)]===_0x43615e['DESC']?-_0x4c8f3e:_0x4c8f3e;}return _0x401fae[_0x5e81f3(0x391)]-_0x7d3f1b[_0x5e81f3(0x391)];})[_0x2d5d29(0x2b0)](_0x59e822=>_0x59e822[_0x2d5d29(0x406)]);}['_projectGroups'](_0x106e73,_0x479a26,_0x6c8611){const _0x5103de=_0x5daf81;var _0x3138fd;return I(_0x5103de(0x3ac),()=>{const _0x41d796=_0x5103de;var _0x15eb91;if(!((_0x15eb91=_0x479a26[_0x41d796(0x3e9)])!=null&&_0x15eb91[_0x41d796(0x21d)]))return[];let _0x161bae=_0x479a26[_0x41d796(0x3e9)]['filter'](_0x5930db=>_0x106e73['fields'][_0x5930db[_0x41d796(0x4a1)]]);if(!_0x161bae[_0x41d796(0x21d)])return[];let _0x3a1069=this[_0x41d796(0x4f0)](_0x106e73['id'],_0x479a26,_0x161bae),_0x56a97d=this['_getCellRevision'](_0x106e73['id']),_0x20157f=this['_projectedGroupsCache'][_0x41d796(0x315)](_0x3a1069);if(_0x20157f&&_0x20157f[_0x41d796(0x4c1)]===this['_globalRevision']&&_0x20157f[_0x41d796(0x234)]===this[_0x41d796(0x541)](_0x106e73['id'])){if(_0x20157f[_0x41d796(0x474)]===_0x56a97d&&_0x20157f['rows']===_0x6c8611)return _0x20157f[_0x41d796(0x21e)];if(_0x20157f[_0x41d796(0x474)]!==_0x56a97d&&!this['_cellInvalidationsTouchFields'](_0x106e73['id'],_0x20157f[_0x41d796(0x474)],_0x56a97d,this[_0x41d796(0x50c)](_0x479a26)))return this['_projectedGroupsCache']['set'](_0x3a1069,{..._0x20157f,'rows':_0x6c8611,'cellRevision':_0x56a97d}),_0x20157f['groups'];}let _0x538922=new Map();for(let _0x19ab75 of _0x6c8611){let _0x53388a=_0x538922,_0x311b0e='';for(let _0x275cbe=0x0;_0x275cbe<_0x161bae['length'];_0x275cbe++){let _0x132026=_0x161bae[_0x275cbe],_0x28484d=_0x19ab75['values'][_0x132026['fieldId']],_0xc6391d=ci(_0x28484d),_0x4a4d8d=_0x132026[_0x41d796(0x4a1)]+'\x00'+_0xc6391d,_0x338c61=_0x311b0e+'/'+_0x132026[_0x41d796(0x4a1)]+':'+_0xc6391d,_0x2539e8=_0x53388a['get'](_0x4a4d8d);_0x2539e8||(_0x2539e8={'key':_0xc6391d,'value':_0x28484d,'path':_0x338c61,'label':_0xc6391d||_0x41d796(0x289),'fieldId':_0x132026['fieldId'],'level':_0x275cbe,'recordIds':[],'children':new Map()},_0x53388a[_0x41d796(0x1ba)](_0x4a4d8d,_0x2539e8)),_0x2539e8['recordIds'][_0x41d796(0x482)](_0x19ab75[_0x41d796(0x1c6)]),_0x53388a=_0x2539e8[_0x41d796(0x2c9)],_0x311b0e=_0x338c61;}}let _0xed624b=this['_materializeGroups'](_0x161bae,_0x538922,0x0);return this['_projectedGroupsCache']['set'](_0x3a1069,{'table':_0x106e73,'rows':_0x6c8611,'groups':_0xed624b,'globalRevision':this['_globalRevision'],'tableRevision':this[_0x41d796(0x541)](_0x106e73['id']),'cellRevision':_0x56a97d}),_0xed624b;},{'tableId':_0x106e73['id'],'viewId':_0x479a26['id'],'viewType':_0x479a26[_0x5103de(0x305)],'rows':_0x6c8611[_0x5103de(0x21d)],'groupFields':((_0x3138fd=_0x479a26[_0x5103de(0x3e9)])==null?void 0x0:_0x3138fd['length'])??0x0});}[_0x5daf81(0x262)](_0x55d317,_0x26feed,_0x1a8389){const _0x4f3a9c=_0x5daf81;var _0x3b0269;let _0x2a59be=Array['from'](_0x26feed[_0x4f3a9c(0x45b)]()),_0xda060c=(_0x3b0269=_0x55d317[_0x1a8389])==null?void 0x0:_0x3b0269[_0x4f3a9c(0x320)];return _0xda060c&&_0x2a59be[_0x4f3a9c(0x3c5)]((_0x1259de,_0x183dd2)=>{const _0x74c529=_0x4f3a9c;let _0x12bb55=_0x1259de[_0x74c529(0x2d4)][_0x74c529(0x202)](_0x183dd2[_0x74c529(0x2d4)]);return _0xda060c===_0x43615e['DESC']?-_0x12bb55:_0x12bb55;}),_0x2a59be['map'](_0x18779e=>({'key':_0x18779e['key'],'value':_0x18779e[_0x4f3a9c(0x3fd)],'path':_0x18779e[_0x4f3a9c(0x25e)],'label':_0x18779e[_0x4f3a9c(0x20b)],'fieldId':_0x18779e['fieldId'],'level':_0x18779e[_0x4f3a9c(0x22e)],'recordIds':_0x18779e[_0x4f3a9c(0x3d8)],'children':this[_0x4f3a9c(0x262)](_0x55d317,_0x18779e[_0x4f3a9c(0x2c9)],_0x1a8389+0x1)}));}[_0x5daf81(0x1c7)](_0x53d3e5,_0x3d8414,_0x4c740f){const _0x5cf960=_0x5daf81;let _0x387520=_0x4c740f??_0x53d3e5[_0x5cf960(0x51f)],_0x125f4a=_0x3d8414[_0x5cf960(0x45b)][_0x387520];return _0x125f4a==null?'':String(_0x125f4a);}[_0x5daf81(0x4ef)](_0x2d7e81){const _0x1f012f=_0x5daf81;if(Array[_0x1f012f(0x31e)](_0x2d7e81))return _0x2d7e81[_0x1f012f(0x2b0)](String);if(typeof _0x2d7e81=='string'&&_0x2d7e81)return[_0x2d7e81];}['_capabilities'](_0x26cd3e){const _0x2ff821=_0x5daf81;return this[_0x2ff821(0x47d)]['get'](_0x26cd3e['type'])[_0x2ff821(0x4a4)](_0x26cd3e);}};si=X([Y(0x0,_0x477fb0(mr))],si);function ci(_0x161bd6){return _0x161bd6==null?'':String(_0x161bd6);}function li(_0x2922dc){const _0x5118c9=_0x5daf81;return new Map(_0x2922dc[_0x5118c9(0x2b0)]((_0x2fc111,_0x49b246)=>[_0x2fc111[_0x5118c9(0x1c6)],_0x49b246]));}function ui(_0x34f2af){const _0x466adc=_0x5daf81;return!!(Array[_0x466adc(0x31e)](_0x34f2af[_0x466adc(0x3da)])&&_0x34f2af[_0x466adc(0x2c4)]&&_0x34f2af[_0x466adc(0x1ec)]&&_0x34f2af[_0x466adc(0x3b9)]&&_0x34f2af[_0x466adc(0x33c)]&&_0x34f2af[_0x466adc(0x1d3)]);}function di(_0x28fe53){const _0x577068=_0x5daf81;let _0x155f0f=(_0x28fe53==null?void 0x0:_0x28fe53[_0x577068(0x245)][_0x577068(0x32f)](_0x55f89d=>!Ii(_0x55f89d)))??[];return!_0x28fe53||!_0x155f0f[_0x577068(0x21d)]?null:{'conjunction':_0x28fe53['conjunction'],'conditions':_0x155f0f[_0x577068(0x2b0)](_0x10472c=>({'fieldId':_0x10472c[_0x577068(0x4a1)],'operator':_0x10472c[_0x577068(0x246)],'operand':_0x10472c[_0x577068(0x30b)]}))};}function fi(_0x2ab391,_0x5ce1b0){const _0x2764e6=_0x5daf81;return _0x2ab391['records']===_0x5ce1b0['records']&&_0x2ab391[_0x2764e6(0x3da)]===_0x5ce1b0[_0x2764e6(0x3da)]&&_0x2ab391[_0x2764e6(0x503)]===_0x5ce1b0['fields']&&_0x2ab391[_0x2764e6(0x1d6)]===_0x5ce1b0['fieldOrder']&&_0x2ab391[_0x2764e6(0x1d3)]===_0x5ce1b0[_0x2764e6(0x1d3)]&&_0x2ab391[_0x2764e6(0x2c4)]===_0x5ce1b0[_0x2764e6(0x2c4)]&&_0x2ab391[_0x2764e6(0x1ec)]===_0x5ce1b0[_0x2764e6(0x1ec)]&&_0x2ab391[_0x2764e6(0x3b9)]===_0x5ce1b0[_0x2764e6(0x3b9)]&&_0x2ab391[_0x2764e6(0x33c)]===_0x5ce1b0[_0x2764e6(0x33c)];}function pi(_0x5dc423){const _0x6d7420=_0x5daf81;return _0x5dc423!=null&&_0x5dc423[_0x6d7420(0x21d)]?_0x5dc423[_0x6d7420(0x2b0)](_0x45dcd6=>({'fieldId':_0x45dcd6['fieldId'],'direction':_0x45dcd6['direction']})):null;}function mi(_0x3dbc61){const _0x2a5ea7=_0x5daf81;if(typeof _0x3dbc61!=_0x2a5ea7(0x1fb)||!_0x3dbc61)return JSON[_0x2a5ea7(0x439)](_0x3dbc61)??_0x2a5ea7(0x26a);if(Array[_0x2a5ea7(0x31e)](_0x3dbc61))return'['+_0x3dbc61[_0x2a5ea7(0x2b0)](mi)[_0x2a5ea7(0x30a)](',')+']';let _0x28934d=_0x3dbc61;return'{'+Object[_0x2a5ea7(0x46f)](_0x28934d)[_0x2a5ea7(0x3c5)]()[_0x2a5ea7(0x2b0)](_0x2594c6=>JSON['stringify'](_0x2594c6)+':'+mi(_0x28934d[_0x2594c6]))[_0x2a5ea7(0x30a)](',')+'}';}function hi(_0xd51ab0){const _0x5a4f94=_0x5daf81;let _0x6731a7=Object['values'](_0xd51ab0)[_0x5a4f94(0x3c5)]((_0x315568,_0x4c648f)=>_0x315568[_0x5a4f94(0x2a2)][_0x5a4f94(0x202)](_0x4c648f[_0x5a4f94(0x2a2)])),_0x540abc=[];for(let _0x5e1497 of _0x6731a7)_0x540abc[_0x5a4f94(0x482)](_0x5e1497['id']);return _0x540abc;}function gi(_0x3a3b58){const _0x4c9944=_0x5daf81;return{'weekdays':Array[_0x4c9944(0x31e)](_0x3a3b58==null?void 0x0:_0x3a3b58[_0x4c9944(0x479)])&&_0x3a3b58[_0x4c9944(0x479)][_0x4c9944(0x21d)]?[...new Set(_0x3a3b58['weekdays'][_0x4c9944(0x32f)](_0x547bc6=>Number[_0x4c9944(0x317)](_0x547bc6)&&_0x547bc6>=0x1&&_0x547bc6<=0x7))]:[0x1,0x2,0x3,0x4,0x5],'exceptions':Array[_0x4c9944(0x31e)](_0x3a3b58==null?void 0x0:_0x3a3b58[_0x4c9944(0x476)])?_0x3a3b58[_0x4c9944(0x476)]['flatMap'](_0xc9d0c0=>!_0xc9d0c0||!Number['isFinite'](_0xc9d0c0[_0x4c9944(0x4ae)])?[]:[{'id':String(_0xc9d0c0['id']||_0x4c9944(0x37f)+_0xc9d0c0[_0x4c9944(0x4ae)]),'date':Z(Number(_0xc9d0c0[_0x4c9944(0x4ae)])),'name':String(_0xc9d0c0[_0x4c9944(0x322)]||_0x4c9944(0x472)),'type':_0xc9d0c0[_0x4c9944(0x305)]==='working'?_0x4c9944(0x22f):_0x4c9944(0x31d)}]):[]};}function _i(_0x58973e,_0x3d504,_0x4da28b,_0xe1da4){let _0x4f2f22=xi(_0x58973e,_0x3d504),_0xbc466d=Si(_0x58973e,_0x4da28b),_0x170d1c=vi(_0x58973e,_0x4f2f22,_0xbc466d,_0xe1da4);return{'scale':_0x58973e,'start':_0x4f2f22,'end':_0xbc466d,'unitWidth':bi(_0x58973e),'majorHeaders':yi(_0x58973e,_0x4f2f22,_0xbc466d),'columns':_0x170d1c};}function vi(_0x72be32,_0x306bad,_0x144b23,_0x2142de){const _0x4a3cd1=_0x5daf81;let _0x409c7f=[],_0x3fca19=_0x306bad;for(;_0x3fca19<_0x144b23;){let _0xec399c=_0x72be32===_0x4a3cd1(0x459)?ji(_0x3fca19,0x7):_0x72be32==='year'?Mi(_0x3fca19,0x1):ji(_0x3fca19,0x1);_0x409c7f[_0x4a3cd1(0x482)]({'id':_0x72be32+'-'+_0x3fca19,'label':Ci(_0x72be32,_0x3fca19,_0xec399c),'majorLabel':wi(_0x72be32,_0x3fca19),'start':_0x3fca19,'end':_0xec399c,'nonWorking':Ei(_0x3fca19,_0xec399c,_0x2142de)}),_0x3fca19=_0xec399c;}return _0x409c7f;}function yi(_0x5e4d72,_0x5d5fed,_0x23e64e){const _0x400bdc=_0x5daf81;let _0x238ba4=[],_0x33835f=_0x5e4d72===_0x400bdc(0x27d)?Ai(_0x5d5fed):ki(_0x5d5fed);for(;_0x33835f<_0x23e64e;){let _0x521dcd=_0x5e4d72==='year'?Ni(_0x33835f,0x1):Mi(_0x33835f,0x1);_0x238ba4[_0x400bdc(0x482)]({'id':_0x400bdc(0x462)+_0x33835f,'label':_0x5e4d72===_0x400bdc(0x27d)?String(new Date(_0x33835f)['getUTCFullYear']()):Pi(_0x33835f),'start':_0x33835f,'end':_0x521dcd}),_0x33835f=_0x521dcd;}return _0x238ba4;}function bi(_0x30b9e6){const _0xb17dab=_0x5daf81;switch(_0x30b9e6){case _0xb17dab(0x2ba):return 0xac;case _0xb17dab(0x459):return 0xac;case'year':return 0x88;default:return 0x56;}}function xi(_0x274ef7,_0x388bef){const _0xfa236d=_0x5daf81;return _0x274ef7===_0xfa236d(0x27d)?Ai(_0x388bef):_0x274ef7===_0xfa236d(0x459)?Oi(_0x388bef):Z(_0x388bef);}function Si(_0x3b0709,_0x294257){const _0x21d3ba=_0x5daf81;return _0x3b0709===_0x21d3ba(0x27d)?Ni(Ai(_0x294257),0x1):_0x3b0709===_0x21d3ba(0x459)?ji(Oi(_0x294257),0x7):ji(Z(_0x294257),0x1);}function Ci(_0x3ca0e8,_0x37fb52,_0x2f6f03){const _0x1d5587=_0x5daf81;let _0x537661=new Date(_0x37fb52);return _0x3ca0e8===_0x1d5587(0x459)?_0x537661[_0x1d5587(0x560)]()+'-'+new Date(_0x2f6f03-oi)[_0x1d5587(0x560)]():_0x3ca0e8==='year'?_0x537661[_0x1d5587(0x492)]('en-US',{'month':'short','timeZone':_0x1d5587(0x50e)}):String(_0x537661[_0x1d5587(0x560)]());}function wi(_0x3df915,_0xcccb57){const _0x414226=_0x5daf81;return _0x3df915===_0x414226(0x27d)?String(new Date(_0xcccb57)[_0x414226(0x3ce)]()):Pi(_0xcccb57);}function Ti(_0x5bdff4,_0x7690ef,_0x1db07b){let _0x40aefd=gi(_0x1db07b),_0x1d6b35=0x0;for(let _0x244ac0=Z(_0x5bdff4);_0x244ac0<=Z(_0x7690ef);_0x244ac0=ji(_0x244ac0,0x1))Di(_0x244ac0,_0x40aefd)||_0x1d6b35++;return _0x1d6b35;}function Ei(_0x3de9cb,_0x49b7a2,_0x34d898){if(!_0x34d898)return!0x1;let _0x36c920=gi(_0x34d898);for(let _0x4bf37d=Z(_0x3de9cb);_0x4bf37d<_0x49b7a2;_0x4bf37d=ji(_0x4bf37d,0x1))if(!Di(_0x4bf37d,_0x36c920))return!0x1;return!0x0;}function Di(_0x41e24e,_0x1d97d6){const _0x10493c=_0x5daf81;let _0x14c976=Z(_0x41e24e),_0x26793c=_0x1d97d6[_0x10493c(0x476)][_0x10493c(0x2d8)](_0x33331c=>Z(_0x33331c[_0x10493c(0x4ae)])===_0x14c976);if(_0x26793c)return _0x26793c[_0x10493c(0x305)]===_0x10493c(0x31d);let _0x1de108=new Date(_0x14c976)[_0x10493c(0x512)](),_0x243a74=_0x1de108===0x0?0x7:_0x1de108;return!_0x1d97d6[_0x10493c(0x479)]['includes'](_0x243a74);}function Z(_0x2eeed9){const _0x3003b0=_0x5daf81;let _0x5b2c55=new Date(_0x2eeed9);return Date[_0x3003b0(0x50e)](_0x5b2c55[_0x3003b0(0x3ce)](),_0x5b2c55[_0x3003b0(0x222)](),_0x5b2c55[_0x3003b0(0x560)]());}function Oi(_0x11db8a){const _0x16899a=_0x5daf81;let _0x4bbc1f=Z(_0x11db8a),_0x11b2c0=new Date(_0x4bbc1f)[_0x16899a(0x512)]();return ji(_0x4bbc1f,-(_0x11b2c0===0x0?0x6:_0x11b2c0-0x1));}function ki(_0x1f7e1e){const _0x5498e4=_0x5daf81;let _0x5e850c=new Date(_0x1f7e1e);return Date[_0x5498e4(0x50e)](_0x5e850c[_0x5498e4(0x3ce)](),_0x5e850c[_0x5498e4(0x222)](),0x1);}function Ai(_0x47f63b){const _0x8da597=_0x5daf81;let _0x3c156c=new Date(_0x47f63b);return Date[_0x8da597(0x50e)](_0x3c156c[_0x8da597(0x3ce)](),0x0,0x1);}function ji(_0x1d9207,_0x5252de){return _0x1d9207+_0x5252de*oi;}function Mi(_0x5c0cbd,_0x5cb166){const _0x9cf43b=_0x5daf81;let _0x439584=new Date(_0x5c0cbd);return Date[_0x9cf43b(0x50e)](_0x439584[_0x9cf43b(0x3ce)](),_0x439584[_0x9cf43b(0x222)]()+_0x5cb166,0x1);}function Ni(_0x2b3c00,_0x28341a){const _0x46dadc=_0x5daf81;let _0x442485=new Date(_0x2b3c00);return Date['UTC'](_0x442485[_0x46dadc(0x3ce)]()+_0x28341a,0x0,0x1);}function Pi(_0x3ea57b){const _0x44714d=_0x5daf81;let _0x1b60fc=new Date(_0x3ea57b);return _0x1b60fc[_0x44714d(0x492)](_0x44714d(0x231),{'month':_0x44714d(0x532),'timeZone':_0x44714d(0x50e)})+'\x20'+_0x1b60fc[_0x44714d(0x3ce)]();}function Fi(_0x47ffc8,_0x9870b5){const _0x31c228=_0x5daf81;if(_0x47ffc8==null&&_0x9870b5==null)return 0x0;if(_0x47ffc8==null)return-0x1;if(_0x9870b5==null)return 0x1;if(typeof _0x47ffc8==_0x31c228(0x26c)||typeof _0x9870b5==_0x31c228(0x26c))return Number(_0x47ffc8===!0x0)-Number(_0x9870b5===!0x0);let _0x53ba1c=Number(_0x47ffc8),_0x1e2a8d=Number(_0x9870b5),_0x87750e=Number[_0x31c228(0x2fc)](_0x53ba1c),_0x133dab=Number['isFinite'](_0x1e2a8d);return _0x87750e&&_0x133dab?_0x53ba1c-_0x1e2a8d:_0x87750e?0x1:_0x133dab?-0x1:String(_0x47ffc8)[_0x31c228(0x202)](String(_0x9870b5));}function Ii(_0x2c0e53){const _0x64c1fe=_0x5daf81;if(_0x2c0e53['operator']!=='is'&&_0x2c0e53['operator']!==_0x64c1fe(0x4b5))return!0x1;let _0x503915=_0x2c0e53[_0x64c1fe(0x30b)];return _0x503915==null?!0x0:typeof _0x503915==_0x64c1fe(0x2ed)?_0x503915[_0x64c1fe(0x3a5)]()==='':Array[_0x64c1fe(0x31e)](_0x503915)?_0x503915[_0x64c1fe(0x21d)]===0x0:!0x1;}function Li(_0x401101,_0x27a495){const _0x21982=_0x5daf81;var _0x5dfb69;let _0x5fd6a8=Array[_0x21982(0x31e)]((_0x5dfb69=_0x401101[_0x21982(0x396)])==null?void 0x0:_0x5dfb69[_0x21982(0x49e)])?_0x401101[_0x21982(0x396)][_0x21982(0x49e)]:[];for(let _0x2162ed of _0x5fd6a8){if(_0x2162ed==null)continue;if(typeof _0x2162ed==_0x21982(0x2ed)){if(_0x2162ed===_0x27a495)return{'id':_0x2162ed,'name':_0x2162ed};continue;}let _0x420010=_0x2162ed,_0x19b0a9=String(_0x420010['id']??_0x420010[_0x21982(0x322)]??''),_0xea839a=String(_0x420010[_0x21982(0x322)]??_0x420010['id']??_0x19b0a9);if(_0x19b0a9===_0x27a495||_0xea839a===_0x27a495)return{'id':_0x19b0a9,'name':_0xea839a,'color':_0x420010[_0x21982(0x3be)]==null?void 0x0:String(_0x420010[_0x21982(0x3be)])};}return null;}let Ri=function(_0x4a180a){const _0x4c1707=_0x5daf81;return _0x4a180a[_0x4c1707(0x1cf)]=_0x4c1707(0x349),_0x4a180a[_0x4c1707(0x3e0)]=_0x4c1707(0x24c),_0x4a180a;}({});const Q={'id':_0x5daf81(0x554),'type':_0x3d059d['MUTATION'],'handler'(_0xf2623f,_0x3dc2ee){const _0x3209d3=_0x5daf81;let {unitId:_0x3a6600,op:_0x125c8c}=_0x3dc2ee,_0x18f36d=_0xf2623f['get'](_0x364596)[_0x3209d3(0x1ed)](_0x3a6600,_0x2ddca0[_0x3209d3(0x33d)]);if(!_0x18f36d)return!0x1;let _0x3f3a27=_0x18f36d[_0x3209d3(0x2f3)](),_0x4b113e=new z(),_0x20c792=_0x4b113e[_0x3209d3(0x26e)](_0x125c8c),_0x1d130b=_0x4b113e[_0x3209d3(0x525)](_0x3f3a27,_0x125c8c);return _0x18f36d[_0x3209d3(0x49d)](_0x1d130b),zi(_0x1d130b,_0x20c792,_0xf2623f['get'](ii)),!0x0;}};function zi(_0x20dd0f,_0x141a99,_0x4643b4){const _0x2240ec=_0x5daf81;let _0xb6eb07=new Set(),_0x2e0c9d=new Set(),_0x4975f8=new Set();for(let _0x82a83c of _0x141a99){if(_0x82a83c[_0x2240ec(0x483)]===_0x2240ec(0x3a6)&&_0x82a83c[_0x2240ec(0x221)]&&_0x82a83c[_0x2240ec(0x3c2)]){let _0x7d96dc=_0x82a83c[_0x2240ec(0x221)]+'\x00'+_0x82a83c[_0x2240ec(0x3c2)];_0x4975f8[_0x2240ec(0x253)](_0x7d96dc)||(_0x4975f8[_0x2240ec(0x4ee)](_0x7d96dc),_0x4643b4['invalidateByView'](_0x82a83c[_0x2240ec(0x221)],_0x82a83c[_0x2240ec(0x3c2)]));continue;}if(_0x82a83c[_0x2240ec(0x483)]===_0x2240ec(0x50a)&&_0x82a83c[_0x2240ec(0x221)]&&_0x82a83c[_0x2240ec(0x4a1)]){let _0x4ea74a=_0x82a83c[_0x2240ec(0x221)]+'\x00'+_0x82a83c[_0x2240ec(0x4a1)];_0x2e0c9d[_0x2240ec(0x253)](_0x4ea74a)||(_0x2e0c9d[_0x2240ec(0x4ee)](_0x4ea74a),_0x4643b4[_0x2240ec(0x4b4)](_0x82a83c[_0x2240ec(0x221)],_0x82a83c[_0x2240ec(0x4a1)]));continue;}if(_0x82a83c[_0x2240ec(0x483)]!==_0x2240ec(0x203)){_0x4643b4[_0x2240ec(0x4ce)]();return;}let _0xaa5779=Bi(_0x20dd0f,_0x82a83c);if(!_0xaa5779){_0x4643b4['invalidateByOp']();return;}let _0x44bc5f=_0xaa5779[_0x2240ec(0x221)]+'\x00'+_0xaa5779['recordId']+'\x00'+_0xaa5779[_0x2240ec(0x4a1)];_0xb6eb07['has'](_0x44bc5f)||(_0xb6eb07[_0x2240ec(0x4ee)](_0x44bc5f),_0x4643b4[_0x2240ec(0x334)](_0xaa5779[_0x2240ec(0x221)],_0xaa5779['recordId'],_0xaa5779['fieldId']));}}function Bi(_0x246362,_0x56ae22){const _0x476952=_0x5daf81;var _0x1e8681,_0x4fe226;if(!_0x56ae22['tableId'])return null;if(_0x56ae22[_0x476952(0x1c6)]&&_0x56ae22['fieldId'])return{'tableId':_0x56ae22[_0x476952(0x221)],'recordId':_0x56ae22[_0x476952(0x1c6)],'fieldId':_0x56ae22[_0x476952(0x4a1)]};if(_0x56ae22[_0x476952(0x406)]==null||_0x56ae22[_0x476952(0x1cc)]==null)return null;let _0x513938=_0x246362['tables'][_0x56ae22[_0x476952(0x221)]],_0x2aba16=_0x513938==null||(_0x1e8681=_0x513938['rowId'])==null?void 0x0:_0x1e8681[_0x56ae22['row']],_0x5e783a=_0x513938==null||(_0x4fe226=_0x513938['colId'])==null?void 0x0:_0x4fe226[_0x56ae22[_0x476952(0x1cc)]];return!_0x2aba16||!_0x5e783a?null:{'tableId':_0x56ae22['tableId'],'recordId':_0x2aba16,'fieldId':_0x5e783a};}const Vi=_0x5ac771[_0x5daf81(0x2c2)](String['raw']`(?:^|\W)\$?[A-Z]{1,3}\$?\d+(?::\$?[A-Z]{1,3}\$?\d+)?(?:$|\W)`),Hi=_0x5ac771['createRegExpFromSafeFragment'](String['raw']`(?:'\[[^\]]+\](?:[^']|'')+'|\[[^\]]+\][^\s'!]+)!\$?[A-Z]{1,3}\$?\d+(?::\$?[A-Z]{1,3}\$?\d+)?`,'gi'),Ui=/\{([^}]+)\}/g,Wi=_0x5ac771[_0x5daf81(0x2c2)](String['raw']`\b([A-Z_][\w.]*)\[\[\s*#(This Row|Data)\s*\],\s*\[([^\]]+)\]\]`,'gi'),Gi=_0x5ac771[_0x5daf81(0x2c2)](String[_0x5daf81(0x230)]`\b([A-Z_][\w.]*)\[@\[([^\]]+)\]\]`,'gi'),Ki=_0x5ac771['createRegExpFromSafeFragment'](String[_0x5daf81(0x230)]`\b([A-Z_][\w.]*)\[([^\[\]#]+)\]`,'gi'),qi=_0x5ac771[_0x5daf81(0x2c2)](String[_0x5daf81(0x230)]`(^|[^\w\[])\[\[\s*#(This Row|Data)\s*\],\s*\[([^\]]+)\]\]`,'gi'),Ji=_0x5ac771[_0x5daf81(0x2c2)](String[_0x5daf81(0x230)]`(^|[^\w\[])\[@\[([^\]]+)\]\](?!\])`,'g'),Yi=_0x5ac771[_0x5daf81(0x2c2)](String[_0x5daf81(0x230)]`(^|[^\w\[])\[@?([^\[\]#]+)\](?!\])`,'g');var Xi=class{[_0x5daf81(0x217)](_0x1bd84f,_0x4ca49b=_0x1bd84f['id']){const _0x2fbe8d=_0x5daf81;var _0xd2cfa0;let _0x20354d=((_0xd2cfa0=_0x1bd84f[_0x2fbe8d(0x3da)])==null?void 0x0:_0xd2cfa0['length'])??Object[_0x2fbe8d(0x45b)](_0x1bd84f[_0x2fbe8d(0x43a)])['length'];return{'sheetId':_0x4ca49b,'titleMap':new Map(_0x1bd84f[_0x2fbe8d(0x1d6)][_0x2fbe8d(0x2b0)]((_0x20a0b8,_0x5cfbaf)=>{const _0x50d57e=_0x2fbe8d;var _0x201cf9;return[((_0x201cf9=_0x1bd84f[_0x50d57e(0x503)][_0x20a0b8])==null?void 0x0:_0x201cf9[_0x50d57e(0x322)])??_0x20a0b8,_0x5cfbaf];})),'range':{'startRow':0x0,'endRow':Math[_0x2fbe8d(0x29c)](0x0,_0x20354d-0x1),'startColumn':0x0,'endColumn':Math['max'](0x0,_0x1bd84f[_0x2fbe8d(0x1d6)]['length']-0x1)},'showHeader':!0x1};}['getSuperTableRegistrations'](_0x4bfaff,_0x28bb40){const _0x49cc3f=_0x5daf81;let _0xeb8b98=[],_0x239c66=_0x28bb40?new Set(_0x28bb40):null,_0xa4b565=_0x4b2d20(_0x4bfaff);return Object[_0x49cc3f(0x45b)](_0x4bfaff[_0x49cc3f(0x2f7)])[_0x49cc3f(0x32f)](_0x30677c=>!_0x239c66||_0x239c66[_0x49cc3f(0x253)](_0x30677c['id']))[_0x49cc3f(0x429)](_0x154f4d=>{const _0x3196e0=_0x49cc3f;let _0x3c7086=this[_0x3196e0(0x217)](_0x154f4d,_0x154f4d['id']);_0xeb8b98[_0x3196e0(0x482)]({'tableId':_0x154f4d['id'],'tableName':_0xa4b565[_0x3196e0(0x315)](_0x154f4d['id']),'reference':_0x3c7086});}),_0xeb8b98;}[_0x5daf81(0x4dc)](_0xce57c0,_0xadfaee,_0x26c766={}){const _0x1ffaaf=_0x5daf81;let _0x2f9922=_0xce57c0[_0x1ffaaf(0x3a5)]();if(!_0x2f9922)return{'valid':!0x0};if(na(_0x2f9922))return{'valid':!0x1,'reason':_0x1ffaaf(0x1b9)};let _0x5b5390=_0x26c766['snapshot']?_0x4b2d20(_0x26c766[_0x1ffaaf(0x21a)]):void 0x0;for(let _0x2d56a9 of ta(_0x2f9922)){let _0x32813f=ua(_0x2d56a9,_0xadfaee,_0x26c766[_0x1ffaaf(0x21a)],_0x5b5390);if(!_0x32813f[_0x1ffaaf(0x524)])return{'valid':!0x1,'reason':_0x1ffaaf(0x41b)+_0x2d56a9[_0x1ffaaf(0x417)]+'\x22\x20does\x20not\x20exist.\x20Use\x20FBaseTable.getFormulaName()\x20or\x20getSchema().formulaName\x20for\x20structured\x20references.'};if(!_0x32813f['field'])return{'valid':!0x1,'reason':'[BaseFormula]:\x20field\x20\x22'+_0x2d56a9[_0x1ffaaf(0x3bb)]+_0x1ffaaf(0x362)};}return{'valid':!0x0};}[_0x5daf81(0x1c4)](_0x1006cc,_0x3dfd6a,_0xed6489={}){const _0x336f63=_0x5daf81;let _0x431d7e=new Set();for(let _0x4afe21 of this[_0x336f63(0x3f7)](_0x1006cc,_0x3dfd6a,_0xed6489))_0x4afe21['tableId']===_0x3dfd6a['id']&&_0x431d7e[_0x336f63(0x4ee)](_0x4afe21[_0x336f63(0x4a1)]);return Array[_0x336f63(0x404)](_0x431d7e);}[_0x5daf81(0x3f7)](_0x4a7da7,_0x5f2aba,_0x2badee={}){const _0x348c5e=_0x5daf81;let _0x5c3eae=new Map(),_0x25baf4=_0x2badee['snapshot']?_0x4b2d20(_0x2badee['snapshot']):void 0x0;for(let _0x377617 of ta(_0x4a7da7)){let _0x319bf9=ua(_0x377617,_0x5f2aba,_0x2badee[_0x348c5e(0x21a)],_0x25baf4);if(!_0x319bf9['table']||!_0x319bf9[_0x348c5e(0x50a)])continue;let _0x5b93b4=_0x319bf9[_0x348c5e(0x524)]['id']+'\x1f'+_0x319bf9[_0x348c5e(0x50a)]['id'];_0x5c3eae[_0x348c5e(0x1ba)](_0x5b93b4,{'tableId':_0x319bf9[_0x348c5e(0x524)]['id'],'fieldId':_0x319bf9['field']['id']});}return Array[_0x348c5e(0x404)](_0x5c3eae[_0x348c5e(0x45b)]());}};function Zi(_0x348f80,_0x40a80e){const _0x3851f4=_0x5daf81;var _0x3982ef;let _0x3aff9b=[],_0x2d7cbd=(_0x3982ef=_0x40a80e[_0x3851f4(0x24d)])==null?void 0x0:_0x3982ef[_0x348f80['id']];return _0x2d7cbd&&Object[_0x3851f4(0x2e4)](_0x2d7cbd)[_0x3851f4(0x429)](([_0x2684b4,_0x14a86f])=>{const _0x5ee2ee=_0x3851f4;let _0x4742cc=_0x348f80[_0x5ee2ee(0x2f7)][_0x2684b4];if(!_0x4742cc||!_0x14a86f)return;let _0x3e9b62=L(_0x4742cc),_0x3e900e=[];new _0x22a4fc(_0x14a86f)['forValue']((_0x2af271,_0x8ab8a1,_0x574525)=>{let _0x1063da=Qi(_0x3e9b62,_0x2af271,_0x8ab8a1,_0x574525);_0x1063da&&_0x3e900e['push'](_0x1063da);}),_0x3e900e[_0x5ee2ee(0x21d)]&&_0x3aff9b[_0x5ee2ee(0x482)]({'unitId':_0x348f80['id'],'tableId':_0x2684b4,'patches':_0x3e900e});}),_0x3aff9b;}function Qi(_0x422ded,_0x56198d,_0x113873,_0x2204d6){const _0x928441=_0x5daf81;var _0xc8297d,_0x33498d,_0x2b2a91;let _0x2d83e8=(_0xc8297d=_0x422ded[_0x928441(0x1ec)])==null?void 0x0:_0xc8297d[_0x56198d],_0x10bbe7=(_0x33498d=_0x422ded['colId'])==null?void 0x0:_0x33498d[_0x113873];if(!_0x2d83e8||!_0x422ded['records'][_0x2d83e8]||!_0x10bbe7)return null;let _0x2985d0=_0x422ded[_0x928441(0x503)][_0x10bbe7];if(!_0x2985d0||_0x2985d0[_0x928441(0x305)]!==_0x928441(0x494))return null;let _0x59ef9b=String(((_0x2b2a91=_0x2985d0[_0x928441(0x396)])==null?void 0x0:_0x2b2a91[_0x928441(0x494)])??'')[_0x928441(0x3a5)](),_0x2a4a90=(_0x2204d6==null?void 0x0:_0x2204d6['v'])??null,_0xf0e9b0={'v':_0x2a4a90,'t':ea(_0x2a4a90),..._0x56198d===0x0&&_0x59ef9b?{'f':_0x59ef9b}:{},'si':_0x2985d0['id']};return $i(vt(_0x422ded,_0x2d83e8,_0x10bbe7),_0xf0e9b0)?null:{'row':_0x56198d,'col':_0x113873,'value':_0xf0e9b0};}function $i(_0xfb5e78,_0x218e26){return _0xfb5e78!=null&&Object['is'](_0xfb5e78['v']??null,_0x218e26['v']??null)&&_0xfb5e78['t']===_0x218e26['t']&&_0xfb5e78['f']===_0x218e26['f']&&_0xfb5e78['si']===_0x218e26['si'];}function ea(_0x3a60f2){const _0x2a124f=_0x5daf81;return typeof _0x3a60f2==_0x2a124f(0x53d)?_0x20fde0[_0x2a124f(0x288)]:typeof _0x3a60f2==_0x2a124f(0x26c)?_0x20fde0[_0x2a124f(0x1b3)]:typeof _0x3a60f2==_0x2a124f(0x2ed)?_0x20fde0[_0x2a124f(0x376)]:null;}function ta(_0x4a9bd9){const _0x3ef43f=_0x5daf81;let _0x1e7814=ia(_0x4a9bd9,()=>''),_0xc972bd=new Map(),_0x3cc940=_0x44859d=>{const _0x4f228d=_0x188f;_0xc972bd[_0x4f228d(0x1ba)]((_0x44859d[_0x4f228d(0x417)]??'')+'\x1f'+_0x44859d[_0x4f228d(0x3bb)],_0x44859d);};for(let _0x2bae26 of _0x1e7814[_0x3ef43f(0x347)](Ui))_0x3cc940({'fieldName':_0x2bae26[0x1],'scope':_0x3ef43f(0x23b)});_0x1e7814=_0x1e7814[_0x3ef43f(0x39b)](Wi,(_0x5ddc17,_0x8e702a,_0x496d8b,_0x5201ec)=>(_0x3cc940({'tableName':_0x8e702a,'fieldName':_0x5201ec,'scope':_0x496d8b[_0x3ef43f(0x40c)]()===_0x3ef43f(0x41f)?_0x3ef43f(0x41f):'this-row'}),'\x20')),_0x1e7814=_0x1e7814[_0x3ef43f(0x39b)](Gi,(_0x5b5124,_0x4f07a9,_0x460bb3)=>(_0x3cc940({'tableName':_0x4f07a9,'fieldName':_0x460bb3,'scope':_0x3ef43f(0x23b)}),'\x20')),_0x1e7814=_0x1e7814[_0x3ef43f(0x39b)](qi,(_0x1375ca,_0x445c35,_0x2310e2,_0x1ae33b)=>(_0x3cc940({'fieldName':_0x1ae33b,'scope':_0x2310e2[_0x3ef43f(0x40c)]()===_0x3ef43f(0x41f)?_0x3ef43f(0x41f):'this-row'}),_0x445c35+'\x20')),_0x1e7814=_0x1e7814['replace'](Ji,(_0x46bac8,_0x11739c,_0x5bd5a2)=>(_0x3cc940({'fieldName':_0x5bd5a2,'scope':'this-row'}),_0x11739c+'\x20'));for(let _0x13e5c1 of _0x1e7814[_0x3ef43f(0x347)](Ki))_0x3cc940({'tableName':_0x13e5c1[0x1],'fieldName':_0x13e5c1[0x2]});for(let _0x159818 of _0x1e7814[_0x3ef43f(0x347)](Yi))_0x3cc940({'fieldName':_0x159818[0x2],'scope':_0x3ef43f(0x23b)});return Array['from'](_0xc972bd['values']());}function na(_0x2d197b){const _0x1d0a18=_0x5daf81;let _0x55286c=ia(_0x2d197b,()=>'\x20')[_0x1d0a18(0x39b)](Ui,'\x20')['replace'](Wi,'\x20')[_0x1d0a18(0x39b)](Gi,'\x20')[_0x1d0a18(0x39b)](qi,_0x1d0a18(0x1bb))[_0x1d0a18(0x39b)](Ji,'$1\x20')[_0x1d0a18(0x39b)](Ki,'\x20')['replace'](Yi,_0x1d0a18(0x1bb));return Vi[_0x1d0a18(0x27c)](_0x55286c);}function ra(_0x4f7532,_0xfbe1a1){return ca(oa(_0x4f7532,_0xfbe1a1),_0xfbe1a1);}function ia(_0x429bc8,_0x45de06){return aa(ra(_0x429bc8,_0x45de06),_0x45de06);}function aa(_0x3c7f26,_0x282573){return _0x3c7f26['replace'](/"(?:""|[^"])*"/g,_0x282573);}function oa(_0xf0e6c4,_0x1bd168){const _0x1d0b6b=_0x5daf81;return Hi[_0x1d0b6b(0x501)]=0x0,_0xf0e6c4['replace'](Hi,(_0x3ab8b7,_0x5ca49d)=>la(_0xf0e6c4,_0x5ca49d)?_0x3ab8b7:_0x1bd168(_0x3ab8b7));}const sa=/(?:'((?:[^']|'')+)'|\[[^\]]+\]|[A-Za-z0-9_.-]+)![^\s!\[\]]+\[/g;function ca(_0x26a438,_0x2b8447){const _0x42230c=_0x5daf81;let _0x2df089=[];for(sa['lastIndex']=0x0;;){let _0x344017=sa[_0x42230c(0x4a7)](_0x26a438);if(_0x344017==null)break;if(la(_0x26a438,_0x344017[_0x42230c(0x391)]))continue;let _0x3215ac=sa[_0x42230c(0x501)]-0x1,_0x82a7c3=0x0;for(let _0x1612e5=_0x3215ac;_0x1612e5<_0x26a438['length'];_0x1612e5++)if(_0x26a438[_0x1612e5]==='['&&_0x82a7c3++,_0x26a438[_0x1612e5]===']'&&(_0x82a7c3--,_0x82a7c3===0x0)){_0x2df089[_0x42230c(0x482)]({'start':_0x344017[_0x42230c(0x391)],'end':_0x1612e5+0x1}),sa['lastIndex']=_0x1612e5+0x1;break;}}if(_0x2df089['length']===0x0)return _0x26a438;let _0x1b16cc='',_0x397a96=0x0;for(let _0x254dbb of _0x2df089)_0x1b16cc+=_0x26a438[_0x42230c(0x1cb)](_0x397a96,_0x254dbb['start']),_0x1b16cc+=_0x2b8447(_0x26a438[_0x42230c(0x1cb)](_0x254dbb[_0x42230c(0x455)],_0x254dbb[_0x42230c(0x2fe)])),_0x397a96=_0x254dbb[_0x42230c(0x2fe)];return _0x1b16cc+_0x26a438[_0x42230c(0x1cb)](_0x397a96);}function la(_0x130a92,_0x198b3a){let _0x2b59d7=!0x1;for(let _0xe2cf4a=0x0;_0xe2cf4a<_0x198b3a;_0xe2cf4a++)_0x130a92[_0xe2cf4a]==='\x22'&&(_0x2b59d7&&_0x130a92[_0xe2cf4a+0x1]==='\x22'?_0xe2cf4a++:_0x2b59d7=!_0x2b59d7);return _0x2b59d7;}function ua(_0x4efc3a,_0x44cc74,_0x3e7c6f,_0x30acb4){const _0x496394=_0x5daf81;let _0x28fad0=da(_0x4efc3a[_0x496394(0x417)],_0x44cc74,_0x3e7c6f,_0x30acb4);return{'table':_0x28fad0,'field':_0x28fad0?Object[_0x496394(0x45b)](_0x28fad0[_0x496394(0x503)])[_0x496394(0x2d8)](_0x7cf837=>_0x7cf837[_0x496394(0x322)]===_0x4efc3a[_0x496394(0x3bb)]):void 0x0};}function da(_0x38c2a0,_0xe17cd4,_0x13515b,_0x4b2537){const _0x4239d0=_0x5daf81;if(!_0x38c2a0)return _0xe17cd4;if(!_0x13515b){var _0x43ba1e;let _0x29b8e8=_0x38c2a0[_0x4239d0(0x40c)]();return _0x29b8e8===_0xe17cd4['id']['toLowerCase']()||_0x29b8e8===_0xe17cd4[_0x4239d0(0x322)][_0x4239d0(0x40c)]()||_0x29b8e8===((_0x43ba1e=_0xe17cd4[_0x4239d0(0x516)])==null?void 0x0:_0x43ba1e[_0x4239d0(0x40c)]())?_0xe17cd4:void 0x0;}let _0xc04aae=_0x38c2a0[_0x4239d0(0x40c)](),_0x4cf198=_0x4b2537??_0x4b2d20(_0x13515b),_0x249122=Object[_0x4239d0(0x45b)](_0x13515b[_0x4239d0(0x2f7)])[_0x4239d0(0x32f)](_0x164995=>{const _0x86d040=_0x4239d0;var _0x5ccfbc;return _0x164995['id'][_0x86d040(0x40c)]()===_0xc04aae||_0x164995[_0x86d040(0x322)][_0x86d040(0x40c)]()===_0xc04aae||((_0x5ccfbc=_0x4cf198[_0x86d040(0x315)](_0x164995['id']))==null?void 0x0:_0x5ccfbc[_0x86d040(0x40c)]())===_0xc04aae||fa(_0x164995['id'])[_0x86d040(0x40c)]()===_0xc04aae;});return _0x249122['length']===0x1?_0x249122[0x0]:void 0x0;}function fa(_0x50a0f3){const _0x57362b=_0x5daf81;return _0x57362b(0x55d)+Array[_0x57362b(0x404)](_0x50a0f3,_0x295066=>{const _0x115e51=_0x57362b;var _0x5f5302;return/[A-Za-z0-9]/['test'](_0x295066)?_0x295066:'_x'+(((_0x5f5302=_0x295066[_0x115e51(0x27b)](0x0))==null?void 0x0:_0x5f5302[_0x115e51(0x25d)](0x10))??'0')+'_';})[_0x57362b(0x30a)]('');}const pa=new Xi();function ma(_0x24da7f,_0x12edcc,_0x57a59b){const _0x1ea56d=_0x5daf81;var _0x96ffcb;if(_0x57a59b[_0x1ea56d(0x305)]!==_0x618ba[_0x1ea56d(0x4a8)])return!0x0;let _0x2f847c=String(((_0x96ffcb=_0x57a59b['config'])==null?void 0x0:_0x96ffcb[_0x1ea56d(0x494)])??''),_0x1226c5=_0x24da7f[_0x1ea56d(0x2f3)]();return pa[_0x1ea56d(0x4dc)](_0x2f847c,_0x1226c5[_0x1ea56d(0x2f7)][_0x12edcc],{'snapshot':_0x1226c5})[_0x1ea56d(0x36d)];}function $(_0x335136,_0x50acba,_0x39478f){const _0xa7cf5d=_0x5daf81;let _0x222bfa=_0x335136[_0xa7cf5d(0x2f3)]()['tables'][_0x50acba];if(!_0x222bfa)return!0x1;let {viewIds:_0x3400fb,fieldIds:_0x5b9593,recordIds:_0x35d999}=_0x39478f||{};if(_0x3400fb){for(let _0x1b0901 of _0x3400fb)if(!_0x222bfa['views'][_0x1b0901])return!0x1;}if(_0x5b9593){for(let _0xfef3ac of _0x5b9593)if(!_0x222bfa[_0xa7cf5d(0x503)][_0xfef3ac])return!0x1;}if(_0x35d999){for(let _0x1221d7 of _0x35d999)if(!_0x222bfa[_0xa7cf5d(0x43a)][_0x1221d7])return!0x1;}return!0x0;}function ha(_0x12375d,_0x266714,_0x4a8441){const _0x2129c2=_0x5daf81;if(_0x4a8441['id']===_0x4a6fc3||_0x4a8441[_0x2129c2(0x305)]===_0x618ba[_0x2129c2(0x28f)]||_0x4dba8d(_0x4a8441[_0x2129c2(0x322)])||!ma(_0x12375d,_0x266714,_0x4a8441))return!0x1;let _0x14208b=_0x12375d[_0x2129c2(0x2f3)]();if(!Be(_0x14208b,_0x4a8441)['valid'])return!0x1;if(_0x4a8441[_0x2129c2(0x305)]!==_0x618ba[_0x2129c2(0x2e6)])return!0x0;let _0x10b633=N(_0x4a8441);if(!_0x10b633)return!0x1;if(_0x10b633[_0x2129c2(0x33e)]===void 0x0)return!0x0;if(_0x10b633[_0x2129c2(0x33e)]!==_0x1d1c88[_0x2129c2(0x3fa)]||_0x10b633['targetTableId']!==_0x266714||_0x10b633['multiple']!==!0x1)return!0x1;let _0x3d56a6=_0x14208b[_0x2129c2(0x2f7)][_0x266714];return!Object[_0x2129c2(0x45b)](_0x3d56a6['fields'])['some'](_0x1b2f43=>{const _0x31a0e4=_0x2129c2;var _0x46810f;return _0x1b2f43['id']!==_0x4a8441['id']&&_0x1b2f43[_0x31a0e4(0x305)]===_0x618ba['RecordLink']&&((_0x46810f=N(_0x1b2f43))==null?void 0x0:_0x46810f[_0x31a0e4(0x33e)])===_0x1d1c88[_0x31a0e4(0x3fa)];});}function ga(_0x4f2924,_0x40913d,_0x18acc1,_0x289af2){const _0x1de7b1=_0x5daf81;var _0x4e6382;let _0x45bcb4=_0x4f2924[_0x1de7b1(0x2f3)](),_0x2a1a02=(_0x4e6382=_0x45bcb4[_0x1de7b1(0x2f7)][_0x40913d])==null?void 0x0:_0x4e6382['fields'][_0x18acc1];return!_0x2a1a02||_0x2a1a02['id']===_0x4a6fc3||_0x2a1a02[_0x1de7b1(0x305)]===_0x618ba[_0x1de7b1(0x28f)]?!0x1:_0x2a1a02[_0x1de7b1(0x305)]!==_0x618ba[_0x1de7b1(0x2e6)]||Ve(_0x45bcb4,_0x2a1a02,ya(_0x289af2))[_0x1de7b1(0x36d)];}function _a(_0x1d78da,_0x5f46e8,_0xa135c1){const _0x1d604b=_0x5daf81;let _0x2936bb=_0x1d78da[_0x1d604b(0x2f3)]()[_0x1d604b(0x2f7)][_0x5f46e8];return!_0x2936bb||!_0x3c7887(_0xa135c1['id'])||_0x2936bb[_0x1d604b(0x43a)][_0xa135c1['id']]||Object['prototype']['hasOwnProperty'][_0x1d604b(0x35d)](_0xa135c1[_0x1d604b(0x45b)],_0x4a6fc3)&&_0xa135c1[_0x1d604b(0x45b)][_0x4a6fc3]!==_0xa135c1['id']?!0x1:Object[_0x1d604b(0x2e4)](_0xa135c1[_0x1d604b(0x45b)])[_0x1d604b(0x2ab)](([_0x5bdaec,_0x936a45])=>_0x5bdaec===_0x4a6fc3||ga(_0x1d78da,_0x5f46e8,_0x5bdaec,_0x936a45));}function va(_0x5217b7){const _0xba4f83=_0x5daf81;return{..._0x5217b7,'values':{..._0x5217b7[_0xba4f83(0x45b)],[_0x4a6fc3]:_0x5217b7['id']}};}function ya(_0x2a90f9){const _0x352f38=_0x5daf81;if(_0x2a90f9&&typeof _0x2a90f9==_0x352f38(0x1fb)&&!Array[_0x352f38(0x31e)](_0x2a90f9)&&'v'in _0x2a90f9){let _0x38360e=_0x2a90f9['v'];return _0x38360e===void 0x0?null:_0x38360e;}return _0x2a90f9;}function ba(_0x492afd,_0x20548c,_0x2f7519,_0x475974){const _0x1e17f8=_0x5daf81;let _0x1f4935=_0x492afd['getSnapshot']()[_0x1e17f8(0x2f7)][_0x20548c];if(!_0x1f4935)return null;let _0x399687=qe(_0x1f4935),_0x356ffb=_0x399687??Je(_0x1f4935),_0x11ad00=_0x2f7519[_0x1e17f8(0x387)](_0x52d4ac=>Object[_0x1e17f8(0x4e2)][_0x1e17f8(0x4d7)][_0x1e17f8(0x35d)](_0x52d4ac['values'],_0x356ffb)),_0x18bf2e=_0x399687?_0x1f4935[_0x1e17f8(0x503)][_0x399687]:_0x11ad00?Ye(_0x1f4935,_0x356ffb,_0x475974):null,_0x51cae6=[];for(let _0x588b4b of _0x2f7519){let _0x3e12c0=_0x588b4b[_0x1e17f8(0x45b)][_0x356ffb],_0x164631=_0x18bf2e!==null&&Object[_0x1e17f8(0x4e2)][_0x1e17f8(0x4d7)][_0x1e17f8(0x35d)](_0x588b4b['values'],_0x356ffb),_0x558228=ya(_0x3e12c0),_0x359a22=null;if(_0x164631){if(typeof _0x558228!='string'||!ze(_0x558228,!0x1)[_0x1e17f8(0x36d)])return null;_0x359a22=_0x558228;}let _0x5c6722={};if(Object['entries'](_0x588b4b[_0x1e17f8(0x45b)])[_0x1e17f8(0x429)](([_0x54e553,_0x565a12])=>{(!_0x164631||_0x54e553!==_0x356ffb)&&(_0x5c6722[_0x54e553]=_0x565a12);}),!_a(_0x492afd,_0x20548c,{..._0x588b4b,'values':_0x5c6722}))return null;let _0x303aef={..._0x588b4b[_0x1e17f8(0x45b)]};_0x359a22!==null&&(_0x303aef[_0x356ffb]=_0x359a22),_0x51cae6[_0x1e17f8(0x482)](va({..._0x588b4b,'values':_0x303aef}));}return{'records':_0x51cae6,'hierarchyFieldToMaterialize':_0x399687?null:_0x18bf2e,'hierarchyChanges':Qe(_0x1f4935,_0x51cae6)};}const xa={'id':'base.command.batch-create-base-records','type':_0x3d059d[_0x5daf81(0x44b)],'handler'(_0x3ff559,_0x4f1412){const _0x23851a=_0x5daf81;if(!_0x4f1412)return!0x1;let _0x645685=_0x3ff559['get'](_0x364596),{unitId:_0x16785e,tableId:_0x256e32,records:_0x336a93}=_0x4f1412,_0x26b12f=_0x645685[_0x23851a(0x1ed)](_0x16785e,_0x2ddca0[_0x23851a(0x33d)]),_0x1c2ffa=_0x336a93[_0x23851a(0x2b0)](_0xba23a7=>_0xba23a7['id']);if(!_0x26b12f||!$(_0x26b12f,_0x256e32)||new Set(_0x1c2ffa)['size']!==_0x1c2ffa[_0x23851a(0x21d)])return!0x1;let _0x2fb45a=_0x3ff559[_0x23851a(0x315)](_0x2ca718),_0x576d00=_0x3ff559['get'](_0x51376c),_0x28ee9f=_0x3ff559[_0x23851a(0x315)](Kr),_0x193eb0=_0x26b12f[_0x23851a(0x2f3)](),_0x2f324b=ba(_0x26b12f,_0x256e32,_0x336a93);if(!_0x2f324b)return!0x1;let {records:_0x196daf,hierarchyChanges:_0x121735,hierarchyFieldToMaterialize:_0x2f5881}=_0x2f324b,_0x37bd9c=_0x2f5881?_0x28ee9f[_0x23851a(0x539)](_0x26b12f,_0x256e32,_0x2f5881,_0x193eb0[_0x23851a(0x2f7)][_0x256e32][_0x23851a(0x1d6)]['length']):null,_0x86a0e8=_0x28ee9f[_0x23851a(0x556)](_0x26b12f,_0x256e32,_0x196daf),_0x8abfed=R([..._0x37bd9c?[_0x37bd9c]:[],_0x86a0e8]),_0x121f8d=new z()[_0x23851a(0x388)](_0x193eb0,_0x8abfed),_0x304b60={'unitId':_0x16785e,'op':_0x8abfed,'hierarchyChanges':_0x121735[_0x23851a(0x21d)]?_0x121735:void 0x0,'source':_0x121735[_0x23851a(0x21d)]?_0x4f1412[_0x23851a(0x1e1)]??'ui':void 0x0},_0x1ff0e0={..._0x304b60,'source':_0x121735['length']?_0x23851a(0x424):void 0x0},_0x84b40f={'unitId':_0x16785e,'op':_0x121f8d,'hierarchyChanges':_0x121735[_0x23851a(0x21d)]?_0x121735[_0x23851a(0x2b0)](_0x5535ed=>({..._0x5535ed,'oldParentRecordId':_0x5535ed['parentRecordId'],'parentRecordId':null})):void 0x0,'source':_0x121735[_0x23851a(0x21d)]?'undo':void 0x0};return _0x2fb45a[_0x23851a(0x1e6)](Q['id'],_0x304b60)?(_0x645685[_0x23851a(0x2ac)](_0x16785e),_0x576d00[_0x23851a(0x34a)]({'unitID':_0x16785e,'undoMutations':[{'id':Q['id'],'params':_0x84b40f}],'redoMutations':[{'id':Q['id'],'params':_0x1ff0e0}]}),!0x0):!0x1;}},Sa={'id':'base.command.batch-delete-base-records','type':_0x3d059d[_0x5daf81(0x44b)],'handler':(_0x29b6f1,_0x1dd363)=>{const _0x311f0f=_0x5daf81;if(!_0x1dd363)return!0x1;let _0x2bc60a=_0x29b6f1[_0x311f0f(0x315)](_0x364596),{unitId:_0x3c96dd,tableId:_0x792509,recordIds:_0x298ae7}=_0x1dd363,_0x47fd85=_0x2bc60a[_0x311f0f(0x1ed)](_0x3c96dd,_0x2ddca0[_0x311f0f(0x33d)]);if(!_0x47fd85||!$(_0x47fd85,_0x792509,{'recordIds':_0x298ae7}))return!0x1;let _0x3df10c=_0x29b6f1[_0x311f0f(0x315)](_0x2ca718),_0x1d9eed=_0x29b6f1['get'](_0x51376c),_0x1ec8e8=_0x47fd85[_0x311f0f(0x2f3)](),_0x2313c1=et(_0x1ec8e8[_0x311f0f(0x2f7)][_0x792509],_0x298ae7),_0x381da8=new W(),_0x4912b2=new z(),_0x178a23=_0x381da8[_0x311f0f(0x20e)](_0x1ec8e8,_0x792509,_0x298ae7),_0x1509f3=_0x4912b2[_0x311f0f(0x525)](_0x1ec8e8,_0x178a23),_0xd64f14=_0x381da8[_0x311f0f(0x43b)](_0x1ec8e8,_0x1509f3,_0x792509,_0x298ae7),_0x5380e7={'unitId':_0x3c96dd,'op':_0x178a23,'hierarchyChanges':_0x2313c1,'source':_0x1dd363['source']??'ui'},_0x4cde9d={..._0x5380e7,'source':_0x311f0f(0x424)},_0x531ea7={'unitId':_0x3c96dd,'op':_0xd64f14,'hierarchyChanges':_0x2313c1[_0x311f0f(0x2b0)](_0x1b3550=>({..._0x1b3550,'oldParentRecordId':_0x1b3550[_0x311f0f(0x419)],'parentRecordId':_0x1b3550[_0x311f0f(0x266)]})),'source':_0x311f0f(0x3a8)};return _0x3df10c['syncExecuteCommand'](Q['id'],_0x5380e7)?(_0x2bc60a[_0x311f0f(0x2ac)](_0x3c96dd),_0x1d9eed[_0x311f0f(0x34a)]({'unitID':_0x3c96dd,'undoMutations':[{'id':Q['id'],'params':_0x531ea7}],'redoMutations':[{'id':Q['id'],'params':_0x4cde9d}]}),!0x0):!0x1;}},Ca={'id':'base.command.change-base-field-type','type':_0x3d059d[_0x5daf81(0x44b)],'handler':(_0x49e453,_0xb15a52)=>{const _0x354bbc=_0x5daf81;if(!_0xb15a52)return!0x1;let _0x466d58=_0x49e453[_0x354bbc(0x315)](_0x364596),{unitId:_0xa0092d,tableId:_0x334588,fieldId:_0x5e8824,input:_0xe06195}=_0xb15a52,_0x1e7c76=_0x466d58['getUnit'](_0xa0092d,_0x2ddca0['UNIVER_BASE']);if(!_0x1e7c76||_0x5e8824===_0x4a6fc3||!$(_0x1e7c76,_0x334588,{'fieldIds':[_0x5e8824]}))return!0x1;let _0x50c846=_0x49e453[_0x354bbc(0x315)](_0x2ca718),_0x3c5b6a=_0x49e453[_0x354bbc(0x315)](_0x51376c),_0x1f96fa=_0x1e7c76[_0x354bbc(0x2f3)]();if(!ha(_0x1e7c76,_0x334588,{..._0x1f96fa[_0x354bbc(0x2f7)][_0x334588][_0x354bbc(0x503)][_0x5e8824],..._0xe06195}))return!0x1;let _0x56e17=new W()[_0x354bbc(0x4f5)](_0x1f96fa,_0x334588,_0x5e8824,_0xe06195),_0x5e7baf=new z()[_0x354bbc(0x388)](_0x1f96fa,_0x56e17),_0x5117e8={'unitId':_0xa0092d,'op':_0x56e17},_0x310a5d={'unitId':_0xa0092d,'op':_0x5e7baf};return _0x50c846[_0x354bbc(0x1e6)](Q['id'],_0x5117e8)?(_0x466d58[_0x354bbc(0x2ac)](_0xa0092d),_0x3c5b6a['pushUndoRedo']({'unitID':_0xa0092d,'undoMutations':[{'id':Q['id'],'params':_0x310a5d}],'redoMutations':[{'id':Q['id'],'params':_0x5117e8}]}),!0x0):!0x1;}},wa={'id':_0x5daf81(0x31c),'type':_0x3d059d['COMMAND'],'handler'(_0x559998,_0x2641dd){const _0x114573=_0x5daf81;var _0x3a06e5;if(!_0x2641dd)return!0x1;let {unitId:_0x3e1001,tableId:_0x77f0f6,parentRecordId:_0x500071}=_0x2641dd,_0x1571d9=_0x559998[_0x114573(0x315)](_0x364596),_0x432dba=_0x1571d9[_0x114573(0x1ed)](_0x3e1001,_0x2ddca0[_0x114573(0x33d)]);if(!_0x432dba||!$(_0x432dba,_0x77f0f6,{'recordIds':[_0x500071]}))throw new P(_0x114573(0x3e8));let _0x436da3=_0x432dba[_0x114573(0x2f3)](),_0x15e8d8=_0x436da3[_0x114573(0x2f7)][_0x77f0f6],_0x1e0cc1=qe(_0x15e8d8),_0x154d3b=_0x1e0cc1??_0x2641dd[_0x114573(0x4a1)]??Je(_0x15e8d8);if(_0x1e0cc1&&_0x2641dd['fieldId']&&_0x2641dd[_0x114573(0x4a1)]!==_0x1e0cc1||_0x15e8d8['fields'][_0x154d3b]&&!F(_0x15e8d8,_0x154d3b))throw new P(_0x114573(0x48a));if((tt(_0x15e8d8,_0x154d3b)[_0x114573(0x2f5)][_0x114573(0x315)](_0x500071)??0x0)+0x1>=0x5)throw new P('maxDepth');if(!_a(_0x432dba,_0x77f0f6,_0x2641dd[_0x114573(0x1b5)]))return!0x1;let _0x188b3b=va({..._0x2641dd[_0x114573(0x1b5)],'values':{..._0x2641dd[_0x114573(0x1b5)][_0x114573(0x45b)],[_0x154d3b]:Re([_0x500071])}}),_0x5bae4e=_0x559998[_0x114573(0x315)](Kr),_0x4f021a=new W(),_0x103452=_0x15e8d8[_0x114573(0x503)][_0x154d3b],_0x55fc4e=_0x103452?((_0x3a06e5=N(_0x103452))==null?void 0x0:_0x3a06e5['relationRole'])===_0x1d1c88[_0x114573(0x3fa)]?null:_0x4f021a[_0x114573(0x23d)](_0x436da3,_0x77f0f6,_0x154d3b,{'config':{..._0x103452[_0x114573(0x396)],'relationRole':_0x1d1c88['Parent']}}):_0x5bae4e['createCreateFieldOp'](_0x432dba,_0x77f0f6,Ye(_0x15e8d8,_0x154d3b,_0x2641dd[_0x114573(0x1e3)]),_0x15e8d8[_0x114573(0x1d6)][_0x114573(0x21d)]),_0x33d98f=_0x5bae4e['createCreateRecordOp'](_0x432dba,_0x77f0f6,_0x188b3b),_0x4e92dd=R([..._0x55fc4e?[_0x55fc4e]:[],_0x33d98f]),_0xa4c801=new z()[_0x114573(0x388)](_0x436da3,_0x4e92dd),_0x2768a1={'tableId':_0x77f0f6,'fieldId':_0x154d3b,'recordId':_0x188b3b['id'],'oldParentRecordId':null,'parentRecordId':_0x500071},_0x309166={'unitId':_0x3e1001,'op':_0x4e92dd,'trigger':wa['id'],'hierarchyChanges':[_0x2768a1],'source':_0x2641dd['source']??'ui'},_0x58f83c={..._0x309166,'source':'redo'},_0x3b4459={'unitId':_0x3e1001,'op':_0xa4c801,'trigger':wa['id'],'hierarchyChanges':[{..._0x2768a1,'oldParentRecordId':_0x500071,'parentRecordId':null}],'source':'undo'};return _0x559998[_0x114573(0x315)](_0x2ca718)[_0x114573(0x1e6)](Q['id'],_0x309166)?(_0x1571d9[_0x114573(0x2ac)](_0x3e1001),_0x559998[_0x114573(0x315)](_0x51376c)[_0x114573(0x34a)]({'unitID':_0x3e1001,'undoMutations':[{'id':Q['id'],'params':_0x3b4459}],'redoMutations':[{'id':Q['id'],'params':_0x58f83c}]}),!0x0):!0x1;}},Ta={'id':'base.command.create-base-field','type':_0x3d059d[_0x5daf81(0x44b)],'handler'(_0x4fb987,_0x4f594a){const _0xc0c197=_0x5daf81;if(!_0x4f594a)return!0x1;let _0x49f3e3=_0x4fb987[_0xc0c197(0x315)](_0x364596),{unitId:_0x380923,tableId:_0xdaa3fc,field:_0x1616f4,index:_0x4820a2,viewIndexes:_0x3b7a17}=_0x4f594a,_0x245238=_0x49f3e3[_0xc0c197(0x1ed)](_0x380923,_0x2ddca0[_0xc0c197(0x33d)]);if(!_0x245238||!$(_0x245238,_0xdaa3fc)||_0x245238['getSnapshot']()[_0xc0c197(0x2f7)][_0xdaa3fc]['fields'][_0x1616f4['id']]||_0x4820a2===0x0||!ha(_0x245238,_0xdaa3fc,_0x1616f4))return!0x1;let _0x4afbd6=_0x4fb987[_0xc0c197(0x315)](_0x2ca718),_0x2d1d36=_0x4fb987[_0xc0c197(0x315)](_0x51376c),_0x569554=_0x4fb987['get'](Kr)[_0xc0c197(0x539)](_0x245238,_0xdaa3fc,_0x1616f4,_0x4820a2,_0x3b7a17),_0x1cf9d2=new z()[_0xc0c197(0x388)](_0x245238[_0xc0c197(0x2f3)](),_0x569554),_0xc2e04a={'unitId':_0x380923,'op':_0x569554},_0x5cf7d6={'unitId':_0x380923,'op':_0x1cf9d2};return _0x4afbd6[_0xc0c197(0x1e6)](Q['id'],_0xc2e04a)?(_0x49f3e3[_0xc0c197(0x2ac)](_0x380923),_0x2d1d36['pushUndoRedo']({'unitID':_0x380923,'undoMutations':[{'id':Q['id'],'params':_0x5cf7d6}],'redoMutations':[{'id':Q['id'],'params':_0xc2e04a}]}),!0x0):!0x1;}},Ea={'id':_0x5daf81(0x43d),'type':_0x3d059d[_0x5daf81(0x44b)],'handler'(_0x2a02c0,_0x4325d5){const _0x3d2126=_0x5daf81;if(!_0x4325d5)return!0x1;let _0x47a04b=_0x2a02c0['get'](_0x364596),{unitId:_0x346ad8,tableId:_0x174260,record:_0x20940d}=_0x4325d5,_0x434b59=_0x47a04b[_0x3d2126(0x1ed)](_0x346ad8,_0x2ddca0[_0x3d2126(0x33d)]);if(!_0x434b59||!$(_0x434b59,_0x174260))return!0x1;let _0x420d5e=_0x2a02c0[_0x3d2126(0x315)](_0x2ca718),_0x7be5ad=_0x2a02c0[_0x3d2126(0x315)](_0x51376c),_0x18eabc=_0x2a02c0[_0x3d2126(0x315)](Kr),_0x3988ba=_0x434b59[_0x3d2126(0x2f3)](),_0x111e91=ba(_0x434b59,_0x174260,[_0x20940d]);if(!_0x111e91)return!0x1;let [_0x3dc6ca]=_0x111e91[_0x3d2126(0x43a)],{hierarchyChanges:_0xa3cb62,hierarchyFieldToMaterialize:_0x5cfbb6}=_0x111e91,_0x5c2d17=_0x5cfbb6?_0x18eabc['createCreateFieldOp'](_0x434b59,_0x174260,_0x5cfbb6,_0x3988ba[_0x3d2126(0x2f7)][_0x174260][_0x3d2126(0x1d6)][_0x3d2126(0x21d)]):null,_0x1db1c8=_0x18eabc[_0x3d2126(0x52d)](_0x434b59,_0x174260,_0x3dc6ca),_0x473e66=R([..._0x5c2d17?[_0x5c2d17]:[],_0x1db1c8]),_0x368c44=new z()['invertOp'](_0x3988ba,_0x473e66),_0xa261c8={'unitId':_0x346ad8,'op':_0x473e66,'hierarchyChanges':_0xa3cb62[_0x3d2126(0x21d)]?_0xa3cb62:void 0x0,'source':_0xa3cb62[_0x3d2126(0x21d)]?_0x4325d5[_0x3d2126(0x1e1)]??'ui':void 0x0},_0x5b35ee={..._0xa261c8,'source':_0xa3cb62['length']?_0x3d2126(0x424):void 0x0},_0x282802={'unitId':_0x346ad8,'op':_0x368c44,'hierarchyChanges':_0xa3cb62['length']?_0xa3cb62['map'](_0x35b719=>({..._0x35b719,'oldParentRecordId':_0x35b719[_0x3d2126(0x419)],'parentRecordId':null})):void 0x0,'source':_0xa3cb62['length']?_0x3d2126(0x3a8):void 0x0};return _0x420d5e[_0x3d2126(0x1e6)](Q['id'],_0xa261c8)?(_0x47a04b[_0x3d2126(0x2ac)](_0x346ad8),_0x7be5ad[_0x3d2126(0x34a)]({'unitID':_0x346ad8,'undoMutations':[{'id':Q['id'],'params':_0x282802}],'redoMutations':[{'id':Q['id'],'params':_0x5b35ee}]}),!0x0):!0x1;}},Da=_0x5daf81(0x325);function Oa(_0x3abf13,_0x5e57ef,_0x358a24){const _0xb5c856=_0x5daf81;if(!_0x5e57ef[_0xb5c856(0x3a5)]())return{'valid':!0x1,'reason':_0xb5c856(0x359),'error':_0xb5c856(0x4db)};if(_0x5e57ef[_0xb5c856(0x21d)]>0x1f)return{'valid':!0x1,'reason':'Use\x2031\x20characters\x20or\x20fewer.','error':'too-long'};if(_0x5e57ef[_0xb5c856(0x265)]('\x27')||_0x5e57ef[_0xb5c856(0x528)]('\x27'))return{'valid':!0x1,'reason':_0xb5c856(0x518),'error':_0xb5c856(0x520)};if(/[:\\/?*\[\]]/[_0xb5c856(0x27c)](_0x5e57ef))return{'valid':!0x1,'reason':'A\x20table\x20name\x20cannot\x20contain\x20:\x20\x5c\x20/\x20?\x20*\x20[\x20].','error':_0xb5c856(0x2aa)};if(!_0x89c043(_0x5e57ef))return{'valid':!0x1,'reason':_0xb5c856(0x23a),'error':_0xb5c856(0x30c)};let _0x1af12f=_0x5e57ef[_0xb5c856(0x40c)]();return Object[_0xb5c856(0x45b)](_0x3abf13[_0xb5c856(0x2f7)])[_0xb5c856(0x387)](_0x5ce164=>_0x5ce164['id']!==_0x358a24&&_0x5ce164[_0xb5c856(0x322)][_0xb5c856(0x40c)]()===_0x1af12f)?{'valid':!0x1,'reason':_0xb5c856(0x45f),'error':_0xb5c856(0x3ba)}:{'valid':!0x0};}function ka(_0x32e277,_0x1f47a6){const _0x2750bd=_0x5daf81;let _0x33a052=_0x1f47a6[_0x2750bd(0x39b)](/[:\\/?*\[\]]/g,'\x20')[_0x2750bd(0x39b)](/^'+|'+$/g,'')[_0x2750bd(0x3a5)]()||_0x2750bd(0x4e7),_0x53da00=0x1;for(;;){let _0x1dd095=_0x53da00===0x1?'':'\x20'+_0x53da00,_0xb27612=''+_0x33a052['slice'](0x0,0x1f-_0x1dd095['length'])+_0x1dd095;if(Oa(_0x32e277,_0xb27612)[_0x2750bd(0x36d)])return _0xb27612;_0x53da00++;}}const Aa={'id':_0x5daf81(0x1dd),'type':_0x3d059d['COMMAND'],'handler':(_0x2b50eb,_0x85c3f6)=>{const _0x48bff9=_0x5daf81;if(!_0x85c3f6)return!0x1;let _0x17c8ab=_0x2b50eb[_0x48bff9(0x315)](_0x364596),{unitId:_0x2c480f,table:_0x8483c5,index:_0x18b947}=_0x85c3f6,_0x3031fb=_0x17c8ab[_0x48bff9(0x1ed)](_0x2c480f,_0x2ddca0[_0x48bff9(0x33d)]);if(!_0x3031fb||_0x3031fb[_0x48bff9(0x2f3)]()[_0x48bff9(0x2f7)][_0x8483c5['id']]||!Oa(_0x3031fb['getSnapshot'](),_0x8483c5['name'])[_0x48bff9(0x36d)])return!0x1;try{_0x3db867(_0x8483c5);}catch{return!0x1;}let _0x2b7824=_0x2b50eb[_0x48bff9(0x315)](_0x2ca718),_0x462419=_0x2b50eb[_0x48bff9(0x315)](_0x51376c),_0x4fd3a5=_0x3031fb[_0x48bff9(0x2f3)](),_0x35f115=new W()[_0x48bff9(0x3e6)](_0x4fd3a5,_0x8483c5,_0x18b947),_0x22c272=new z()[_0x48bff9(0x388)](_0x4fd3a5,_0x35f115),_0x237c74={'unitId':_0x2c480f,'op':_0x35f115},_0x26c4dc={'unitId':_0x2c480f,'op':_0x22c272};return _0x2b7824[_0x48bff9(0x1e6)](Q['id'],_0x237c74)?(_0x17c8ab[_0x48bff9(0x2ac)](_0x2c480f),_0x462419[_0x48bff9(0x34a)]({'unitID':_0x2c480f,'undoMutations':[{'id':Q['id'],'params':_0x26c4dc}],'redoMutations':[{'id':Q['id'],'params':_0x237c74}]}),!0x0):!0x1;}};function ja(_0xad7e13,_0xfcda0c,_0x223d60=[]){const _0x2d7d27=_0x5daf81;let _0x54cd08=new Set([...Object[_0x2d7d27(0x45b)](_0xad7e13[_0x2d7d27(0x503)])['filter'](_0x58aba2=>_0x58aba2)[_0x2d7d27(0x2b0)](_0x6e97ce=>_0x6e97ce[_0x2d7d27(0x322)]),..._0x223d60['map'](_0x554813=>_0x554813[_0x2d7d27(0x322)])]);if(!_0x54cd08[_0x2d7d27(0x253)](_0xfcda0c))return _0xfcda0c;let _0x5345af=0x2;for(;_0x54cd08[_0x2d7d27(0x253)](_0xfcda0c+'\x20'+_0x5345af);)_0x5345af++;return _0xfcda0c+'\x20'+_0x5345af;}function Ma(_0x271e00,_0x14547a){const _0x337edc=_0x5daf81;if(!_0x271e00||!_0x14547a[_0x337edc(0x21d)])return;let _0x1fac2e=[..._0x271e00];return _0x14547a['forEach'](_0x1cd64c=>{const _0x478460=_0x337edc;_0x1fac2e[_0x478460(0x4f9)](_0x1cd64c)||_0x1fac2e['push'](_0x1cd64c);}),_0x1fac2e;}const Na={'options':[{'id':'todo','name':'Todo','color':_0x5daf81(0x330)},{'id':_0x5daf81(0x1e0),'name':_0x5daf81(0x47e),'color':_0x5daf81(0x3c0)},{'id':_0x5daf81(0x2a4),'name':_0x5daf81(0x29d),'color':_0x5daf81(0x440)}]},Pa={'locale':_0x5daf81(0x231),'pattern':_0x5daf81(0x286),'includeTime':!0x1,'hourCycle':_0x5daf81(0x34c),'defaultMode':_0x5daf81(0x3e4)};function Fa(_0x3b44b6,_0xbab8d2,_0x1358f5,_0x512ea6){const _0xce6ca2=_0x5daf81;var _0x53c2b9;let _0x2086c1=new W(),_0x3854b7=_0x3b44b6['tables'][_0xbab8d2],_0x1d5596=_0x3854b7?{..._0x1358f5,'fieldOrder':[_0x4a6fc3,...(_0x1358f5['fieldOrder']??_0x3854b7[_0xce6ca2(0x1d6)])[_0xce6ca2(0x32f)](_0x444642=>_0x444642!==_0x4a6fc3)],'fieldSettings':{..._0x1358f5['fieldSettings'],[_0x4a6fc3]:{...(_0x53c2b9=_0x1358f5[_0xce6ca2(0x508)])==null?void 0x0:_0x53c2b9[_0x4a6fc3],'hidden':!0x0}}}:_0x1358f5;if(_0x3854b7&&_0x1d5596[_0xce6ca2(0x305)]===_0xce6ca2(0x37b)){let _0x2ff99e=La(_0x3854b7,_0x1d5596),_0x4f207d=_0x2ff99e['changed']?{..._0x1d5596,'config':_0x2ff99e[_0xce6ca2(0x396)],'fieldOrder':_0x2ff99e['fieldOrder']??_0x1d5596['fieldOrder']}:_0x1d5596;return R([..._0x2ff99e['fields'][_0xce6ca2(0x2b0)](_0x2bd72b=>_0x2086c1[_0xce6ca2(0x543)](_0x3b44b6,_0xbab8d2,{'field':_0x2bd72b})),_0x2086c1['createView'](_0x3b44b6,_0xbab8d2,_0x4f207d,_0x512ea6)]);}if(!_0x3854b7||_0x1d5596['type']!==_0xce6ca2(0x3b7)&&_0x1d5596[_0xce6ca2(0x305)]!==_0xce6ca2(0x4c3))return _0x2086c1[_0xce6ca2(0x1b6)](_0x3b44b6,_0xbab8d2,_0x1d5596,_0x512ea6);let _0x21f001=Ia(_0x3854b7,_0x1d5596),_0x363ff6=_0x21f001[_0xce6ca2(0x52c)]?{..._0x1d5596,'config':_0x21f001['config'],'fieldOrder':_0x21f001['fieldOrder']??_0x1d5596[_0xce6ca2(0x1d6)]}:_0x1d5596;return _0x1d5596[_0xce6ca2(0x305)]==='gantt'&&Ba(_0x1d5596)&&(_0x363ff6=Va(_0x3854b7,_0x363ff6,_0x21f001['fields'])),R([..._0x21f001[_0xce6ca2(0x503)][_0xce6ca2(0x2b0)](_0x2f5899=>_0x2086c1[_0xce6ca2(0x543)](_0x3b44b6,_0xbab8d2,{'field':_0x2f5899})),_0x2086c1[_0xce6ca2(0x1b6)](_0x3b44b6,_0xbab8d2,_0x363ff6,_0x512ea6)]);}function Ia(_0x4110fa,_0x57abf6,_0x51b637=!0x1){const _0x5b9074=_0x5daf81;var _0x555038,_0x167af9;let _0x2253c9=_0x4110fa[_0x5b9074(0x1d6)][_0x5b9074(0x32f)](_0x5c5c85=>Ua(_0x4110fa,_0x5c5c85)),_0x555fe5=[],_0x44a57b={..._0x57abf6[_0x5b9074(0x396)]??{}},_0x9edfd2=typeof _0x44a57b[_0x5b9074(0x3d5)]==_0x5b9074(0x2ed)&&Ua(_0x4110fa,_0x44a57b[_0x5b9074(0x3d5)])?_0x44a57b[_0x5b9074(0x3d5)]:_0x2253c9[0x0],_0x9c101d=typeof _0x44a57b[_0x5b9074(0x39a)]==_0x5b9074(0x2ed)&&Ua(_0x4110fa,_0x44a57b[_0x5b9074(0x39a)])&&_0x44a57b[_0x5b9074(0x39a)]!==_0x9edfd2?_0x44a57b[_0x5b9074(0x39a)]:_0x2253c9[_0x5b9074(0x2d8)](_0x2c2f3f=>_0x2c2f3f!==_0x9edfd2);if(!_0x9edfd2){let _0x365b58=Wa(_0x4110fa,_0x555fe5,_0x57abf6[_0x5b9074(0x305)]==='gantt'?_0x5b9074(0x470):'Date');_0x555fe5[_0x5b9074(0x482)](_0x365b58),_0x9edfd2=_0x365b58['id'];}if((_0x57abf6[_0x5b9074(0x305)]===_0x5b9074(0x4c3)||_0x51b637)&&!_0x9c101d){let _0x39e812=Wa(_0x4110fa,_0x555fe5,'End\x20date');_0x555fe5['push'](_0x39e812),_0x9c101d=_0x39e812['id'];}_0x57abf6[_0x5b9074(0x305)]===_0x5b9074(0x3b7)&&!_0x9c101d&&delete _0x44a57b['endDateFieldId'],_0x44a57b[_0x5b9074(0x3d5)]=_0x9edfd2,_0x57abf6[_0x5b9074(0x305)]===_0x5b9074(0x3b7)&&_0x9c101d&&(_0x44a57b[_0x5b9074(0x39a)]=_0x9c101d),_0x57abf6[_0x5b9074(0x305)]==='gantt'&&(_0x44a57b[_0x5b9074(0x39a)]=_0x9c101d??_0x9edfd2);let _0x426265=Ma(_0x57abf6[_0x5b9074(0x1d6)],_0x555fe5['map'](_0x1185b0=>_0x1185b0['id']));return{'changed':_0x555fe5[_0x5b9074(0x21d)]>0x0||_0x44a57b[_0x5b9074(0x3d5)]!==((_0x555038=_0x57abf6[_0x5b9074(0x396)])==null?void 0x0:_0x555038[_0x5b9074(0x3d5)])||_0x44a57b['endDateFieldId']!==((_0x167af9=_0x57abf6[_0x5b9074(0x396)])==null?void 0x0:_0x167af9[_0x5b9074(0x39a)])||!(!_0x426265||_0x9abbbc[_0x5b9074(0x21f)](_0x426265,_0x57abf6[_0x5b9074(0x1d6)]??[])),'fields':_0x555fe5,'config':_0x44a57b,'fieldOrder':_0x426265};}function _0x38bd(){const _0x43892c=['_onCommandExecuted','1666394NKZfNU','includeTime','188293OEpTQQ','forEach','YYYY-MM-DD','nodes','count','Link','write','__UNIVER_BASE_PERF__','fld-','dateMode','_formulaService','base.command.update-base-view-config','_kanbanLaneTitle','canDeleteField','_isGanttDateField','conjunction','setConfig','stringify','records','createDeleteRecordsUndoOp','_ganttBarColor','base.command.create-base-record','_permissionService','autoIncrement','#BBF7D0','normal','_normalizeGanttConfig','_instanceService','format','THIS_WEEK','[BaseCommandService]:\x20cannot\x20insert\x20a\x20field\x20before\x20record-id.','round','onCommandExecuted','bases-exchange-client.operation.export-base-by-format',',,\x22M\x22','COMMAND','attachment-','setViewFieldVisible','[BaseFieldRegistryService]:\x20field\x20type\x20\x22','[BaseCommandService]:\x20cannot\x20edit\x20table.','_plugins','\x22.\x20Allowed\x20operators:\x20','_syncBaseUnit','Base\x20','conditional','start','_activeDirtyManagerService','attachment','fromCollab','quarter','1PswhJs','values','_resolveBaseId','#,##0.00','deleteRecord','A\x20table\x20with\x20this\x20name\x20already\x20exists.','[BaseHierarchy]:\x20','renameView','major-','[BasePerf]\x20','_formulaCalculationSessionService','changes','_projectHierarchyGroups','_groupConfigCacheSegment','_kanbanLaneColor','min','finally','IS_NOT','createUpdateCellOp','leftPaneWidth','bases-exchange-client.operation.export-base','keys','Start\x20date','clearViewPermission','Working\x20day','getPermissionPoint','cellRevision','invertWithDoc','exceptions','canCreateTable','titleFieldId','weekdays','bases.remote.config','[BaseCommandService]:\x20cannot\x20edit\x20record-id.','Date','_fieldRegistry','Doing','Grid','Number','getInstance','push','reason','hourCycle','_normalizeGanttDisplayColor','Date1900','baseRows','attachmentSet','getTime','invalidField','_getSystemFieldValue','_registeredSuperTableNames','resources','http:','\x22\x20is\x20referenced\x20by\x20','setBaseName','remove','toLocaleString','Gallery','formula','_projectGroups','repairViewConfig','Gallery\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','[BaseCommandService]:\x20cannot\x20delete\x20record.','_groupCellInvalidations','_resolveCalendarDateFieldId','groupFieldId','getFocusedUnit','setSnapshot','options','LESS_THAN','_createRecordOrderOp','fieldId','_filterSortFieldIds','subtreeHeightByRecordId','getCapabilities','getAll','_applyFormulaResult','exec','Formula','save','_buildGantt','repeat','exists','optionSource','date','[BaseCommandService]:\x20cannot\x20delete\x20a\x20RecordLink\x20target\x20table\x20(','patches','afterViewId','check','useThousands','invalidateByField','isNot','decimalPlaces','lessThanOrEqual','EXACT','base.command.set-base-view-sort','empty','Checkbox','_deleteAttachmentResources','canCreateField','medium','base.mutation.','initializeUnit','globalRevision','_getTable','gantt','orderedRecordIds','strategies','displayColor','_resolveCardTitleFieldId','getCurrentUnitOfType','updateViewConfig','[RecordLink]:\x20value\x20is\x20not\x20a\x20canonical\x20record\x20id\x20list.','_applier','base.command.update-base-view-conditional-color-rules','MUTATION','invalidateByOp','@univerjs-pro/bases','_rememberTable','_initialize','_baseSyncDisposables','UpdatedBy','formula.mutation.set-formula-calculation-result','[BaseField]:\x20invalid\x20date\x20value.','Clear','hasOwnProperty','_enqueueFormulaSync','split','createRecords','required','validateFormula','timeZone','[BaseCommandService]:\x20cannot\x20edit\x20cell.','Checked','description','InvalidField','prototype','base.viewType.gantt','recordNamePrefix','descend','497928jsdXpG','Table','usableAsGanttStart','_patchProjectedRowsForCellInvalidations','setViewFilter','_filterRows','_commandService','deleteTable','add','_recordIds','_groupsCacheKey','packageName','base-range-values-v1','parentByRecordId','_scheduledSuperTableSyncs','changeFieldType','33457080ujRLum','_getViewRevision','emitPermissionDenied','includes','getTypePlugin','_scheduleSuperTableSync','h12','greaterThan','url','toPlainText','base.command.set-base-name','lastIndex','_clearObjectEdit','fields','getItem','NEXT_30_DAYS','getUnitId','showFieldNames','fieldSettings','ruleId','field','\x20can\x20use\x20dateMode\x20only\x20with\x20Date,\x20CreatedAt,\x20or\x20UpdatedAt\x20fields.','_groupProjectionFieldIds','Redo','UTC','BASE','\x20references\x20missing\x20or\x20non-public\x20field\x20\x22','setViewFieldOrder','getUTCDay','deleteField','greaterThanOrEqual','MissingParent','formulaName','currencySymbol','A\x20table\x20name\x20cannot\x20start\x20or\x20end\x20with\x20an\x20apostrophe.','28uBwiMa','[BaseField]:\x20invalid\x20checkbox\x20value.','afterFieldId','error','_resolveKanbanGroupFieldId','_calendarEventColor','primaryFieldId','apostrophe','_initDependencies','_createSystemFieldValuePatches','base.command.set-base-view-group','table','applyOp','pattern','BASE_OBJECT_PERMISSION_PLUGIN','endsWith','setRecordValues','BaseRecord','getFullYear','changed','createCreateRecordOp','[BaseField]:\x20invalid\x20progress\x20value.','setBasePermission','measure','_globalRevision','short','GREATER_THAN','cardSize','registerCommand','_removeSuperTables','_resolveKanbanCoverFieldId','commaPeriod','createCreateFieldOp','_isNonEmptyCellValue','_normalizeCalendarDisplayColor','_viewRevisions','number','month','IS_NOT_EMPTY','bases.config','_getTableRevision','base.fieldType.','createField','Unsupported\x20Base\x20permission\x20object:\x20','_factory','readonly','tryMaterializeSnapshot','columns','register','base.resource.service','viewRevision','pickerFieldIds','selectField','base.command.delete-base-field','mode','sum','allowMultiple','_univerInstanceService','includeRecords','base.mutation.apply-base-json1','Edit','createBatchCreateRecordsOp','_configService','isNotEmpty','_isKanbanGroupField','_registerUnitPermissionPoints','base.command.move-base-field','createUnit','_T_','function','owner','getUTCDate','majorHeaders','replaceOp','getTypeOfUnitAdded$','findIndex','-field-name','BOOLEAN','missingField','record','createView','base.viewType.kanban','createdAt','[BaseFormula]:\x20A1\x20references\x20and\x20ranges\x20are\x20not\x20supported\x20in\x20Base\x20formulas.','set','$1\x20','_isAllDayGanttDateRange','getAllPermissionPoint','canEditCell','_patchCachedProjectedRows','BaseProjection.filterAndSortRows','score','isValid','revision','getDependencies','beforeFieldId','recordId','_title','#16a34a','updatePermissionPoint','\x22\x20must\x20be\x20a\x20same-table,\x20single-value\x20RecordLink.','slice','column','registerSyncingMutations','frozenFieldCount','CreateView','_getOrderedRecords','decorate','setHours','cellData','onlyLocal','now','fieldOrder','setRangeValues','allowNegative','notContains','Text','base.command.set-base-range-values','base.mutation.set-permission-rules','base.command.create-base-table','BaseTable','objectType','doing','source','_replaceOptional','parentFieldName','canDeleteTable','renameFormulaUnitReferences','syncExecuteCommand','Numbering','views','Person','at\x20index\x20','scale','rowId','getUnit','_hierarchyIndexCache','_deleteRecordsBaseOp','getOwnPropertyDescriptor','lessThan','target','-record-','abbreviation','base.command.update-base-record-order','showTodayLine','_fieldPermissions','Attachment','COLUMN','[BaseCommandService]:\x20invalid\x20RecordLink\x20value.','object','_withModifiedSystemValues','clearRecordPermission','SelfParent','_syncSuperTables','[RecordLink]:\x20field\x20config\x20is\x20invalid.','_rowTransformCacheSegment','localeCompare','cell','\x20must\x20have\x20a\x20non-empty\x20id.','registerRuleModel','_viewRowsCacheKey','_sortRows','subType','fieldIds','Currency','label','invalidGanttEndField','base.command.set-base-view-filter','deleteRecords','recordCount','base.command.set-base-view-field-order','[BaseCommandService]:\x20cannot\x20delete\x20primary\x20field.','BaseProjection.materializeTableRows','[BaseField]:\x20invalid\x20rating\x20value.','BaseHierarchyError','_getCellRevision','_cellRevisions','createSuperTableReference','edit','hidden','snapshot','_setAttachmentResources','BaseJson1.normalizeTables','length','groups','diffValue','_cellInvalidationsTouchFields','tableId','getUTCMonth','_formulaSyncQueue','defaultValue','coverFieldId','primaryFieldName','292485HpfRNY','basePerf','_kanbanGroupKeys','numfmt','_basePermissions','trigger','Grid\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','level','working','raw','en-US','base.command.delete-base-record','Unsupported\x20Base\x20permission\x20action:\x20','tableRevision','_cellInvalidations','compare','_matchesGanttColorRule','Rating','_findCalendarDateFieldId','Choose\x20another\x20name.','this-row','hierarchy','updateField','FORCE_STRING','base.command.update-base-field-description','validate','_getTablesToNormalize','[BaseCompression]:\x20unsupported\x20compressed\x20payload\x20kind\x20\x22','compress','_createNumberingAllocators','conditions','operator','_getAllBaseDependencyTreeCacheMap','usableAsGanttEnd','base.command.delete-base-view','_normalizeCalendarConfig','card','delete-view','unitData','isNaN','_isAllDayCalendarEvent','[BaseCompression]:\x20invalid\x20compressed\x20payload\x20\x22','reduce','embed-ui','has','result','_initRegistries','projection','Progress','deletePermissionPoint','members','IBaseCellData.ensureTableCellLayout','maxDepth','indexOf','toString','path','constructor','[UpdateBaseViewConditionalColorRulesCommand]:\x20duplicate\x20rule\x20id\x20\x22','default','_materializeGroups','_initCommands','searchTexts','startsWith','oldParentRecordId','long','recordPatch','PAST_30_DAYS','undefined','base.command.rename-base-table','boolean','removeOp','getAffectedRanges','\x20permission\x20denied.','_getStructureDirtyTableIds','general',',,,\x22B\x22','all','base.viewType.grid','unknown','descendPath','[BaseCommandService]:\x20cannot\x20edit\x20record.','setRule','getCurrentUser','[BaseJson1OpFactory]:\x20cannot\x20write\x20record-id.','codePointAt','test','year','manageView','base.command.move-base-hierarchy-record','fromChangeset','rowIndexById','Set','createRecord',',\x22K\x22','Remote','yyyy/mm/dd','userID','NUMBER','Empty','HH:mm','_viewPermissions','onStarting','canEditTable','deepClone','RecordId','_buildKanban','[RecordLink]:\x20a\x20single\x20link\x20accepts\x20only\x20one\x20record\x20id.','addPermissionPoint','contains','usableAsCardCover','policy','BaseJson1.cloneForOp','base.command.set-base-view-field-width','_tableRevisions','false','subtreeEndIndex','Export','max','Done','kind','UpdatedAt','base.command.set-base-view-field-visible','invalidateByView','orderKey','embedId','done','cycle','getCurrentUserId','_initDataSync','[DeleteBaseTableCommand]:\x20table\x20\x22','LAST_WEEK','invalid-characters','every','focusUnit','mark','_setObjectEdit','manual','map','view/','_isCalendarDateField','_projectFields','_normalizeCellValue','_bumpTableRevision','insertOp','_canEditTable','average','setTablePermission','week','YYYY/MM/DD','thread-comment.command.','canEditField','createSetRecordValuesOp','timeslotSize','_recordPermissions','workingDays','createRegExpFromSafeFragment','version','rowIndex','_views','_canEdit','#,##0','_tablePermissions','children','Yes','_isColorfulKanbanGroupField','setRules','BaseView','[BaseViewRegistryService]:\x20view\x20type\x20\x22','editable','blue','day','_getCurrentUserId','moveView','key','getDay','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','_resolveGalleryCardFieldIds','find','unshift','getProjection','_viewRevisionKey','locale','displayText','[BaseCommandService]:\x20cannot\x20create\x20field.','leftPaneCollapsed','rules','[BaseCommandService]:\x20record-id\x20is\x20reserved.','[BaseHierarchy]:\x20field\x20\x22','bases.fieldConfig.textPlaceholder','entries','user','RecordLink','_runtimeContext',':start','unsubscribe','base.command.delete-base-table','_materializeFormulaTableNames','\x22\x20is\x20not\x20registered.','string','rule','updateCell','col','workingDaysOnly','beforeViewId','getSnapshot','pluginName','depthByRecordId','_apply','tables','viewIndexes','_buildCalendar','getUnitType','_getJson1DirtyData','isFinite','valueOf','end','title','Uncategorized','fieldIndex','deleteView','gridViewId','__base_hierarchy_parent__','type','periodComma','THIS_MONTH','_capabilities','General','join','operand','invalid','toFixed','BaseJson1.json1Apply','PAST_7_DAYS','catch','MM-DD','_buildGrid','attachmentSets','disposeWithMe','get','base.command.set-base-table-hierarchy-field','isInteger','search','_tableBaseIds','invalidGroupField','canCreateRecord','base.command.create-base-child-record','off','isArray','_projectedGroupsCache','direction','dashboard/','name','size','base.command.set-permissions','Base\x20table\x20names\x20are\x20exported\x20as\x20Excel\x20worksheet\x20names\x20and\x20must\x20contain\x201-31\x20characters,\x20not\x20start\x20or\x20end\x20with\x20an\x20apostrophe,\x20not\x20contain\x20:\x20\x5c\x20/\x20?\x20*\x20[\x20],\x20and\x20be\x20unique\x20(case-insensitive).','clearUnit','executeCommand','facade','remote','isEmpty','rootRecordIds','_cacheKey','spacePeriod','unitOtherData','filter','#BFDBFE','Copy','Comment','progressFieldId','invalidateByCell','collaborators','_setViewFieldSetting','targetTableId','table/','duplicateRecord','order','https:','colId','UNIVER_BASE','relationRole','filled','code','subscribe','https://','selfParent','[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20','[UpdateBaseViewConditionalColorRulesCommand]:\x20rules\x20must\x20be\x20an\x20array.','width','matchAll','Base','create-view','pushUndoRedo','view-','h24','getAllUnitsForType','[BaseCommandService]:\x20cannot\x20create\x20record.','usableAsCalendarDate','regenerateViewIds','action','_getHierarchyIndex','_projectRows','limit','Invalid\x20object\x20permission\x20batch.','WriteCursor','BaseDashboard','syncUnit','Table\x20name\x20is\x20required.','local','updatedAt','1.3.1','call','setViewPermission','AFTER','[BaseCommandService]:\x20cannot\x20edit\x20readonly\x20field.','createViewId','\x22\x20does\x20not\x20exist.','compose','editCell','_resolveGalleryCoverFieldId','CreatedBy','setViewSort','base-snapshot-v1','iterator','_fastSortRows','_getAllTableIds','flatMap','valid','displayFieldId','attachments','#3b82f6','markResultApplied','rows','canManageView','symbol','base.command.create-base-view','STRING','Group','[BaseField]:\x20invalid\x20email\x20value.',':end','defineProperty','kanban','base-perf-','_formulaCalculationTriggerService','MaxDepth','exception-','Unchecked','-view-grid','updatedBy','base.viewType.gallery','unitWidth','_injector','Gantt','some','invertOp','person','_normalizeGalleryConfig','_projectedRowsCache','BaseJson1.syncCellInvalidations','abs','text','_createNumberingAllocator','_getKanbanConfiguredLanes','index','colorFieldId','[BaseCompression]:\x20invalid\x20uncompressed\x20range\x20values\x20payload.','_resolveGanttDateFieldId','href','config','_resolveKanbanCardFieldIds','depth','dispose','endDateFieldId','replace','Kanban\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','_createRecordWithDefaults','Cycle','Calendar\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','3794094RsqETd','MultiSelect','[BaseCommandService]:\x20cannot\x20manage\x20view.','childUnitId','Phone','trim','view','\x20has\x20unsupported\x20date\x20mode\x20\x22','undo','spaceComma','\x22\x20must\x20be\x20a\x20non-system\x20field\x20in\x20the\x20target\x20table.','base.command.service','BaseProjection.projectGroups','#14b8a6','delete','SingleSelect','_dataSyncPrimaryController','_projectionCache','NumberFormat','hostAnchorId','Import','canEditRecord','separatorStyle','calendar','info','colIndex','duplicate','fieldName','_check','multiple','color','Calendar','#FDE68A','BaseField','viewId','renameTable','base.command.duplicate-base-field','sort','Kanban','getTypeOfUnitDisposed$','moveField','_clearUnit','\x20must\x20have\x20a\x20valid\x20CSS\x20color.','unitId','base.mutation.set-permission-rule','[BaseField]:\x20invalid\x20number\x20value.','getUTCFullYear','246BErXhC','INIT','invalidReasonByRecordId','objectId','registerView','registerCtorForType','startDateFieldId','lastIndexOf','_config','recordIds','h:mm\x20a','recordOrder','system','[BaseCommandService]:\x20invalid\x20field\x20definition.','False','childrenByParentId','\x20has\x20unsupported\x20target\x20\x22','DeleteView','_disposed','_executeSuperTableMutationWhileActive','toPrimitive','none','sortedView','createTable','cardLayout','missingRecord','group','[BaseFormula]:\x20validation\x20parameters\x20are\x20required.','_isAllowedKanbanGroupField','protocol','[BaseCommandService]:\x20cannot\x20move\x20a\x20field\x20before\x20record-id.','tableOrder','record/','status','custom','unique','base.viewType.calendar','clearTablePermission','splice','updateRecordOrder','getStructuredDependencies','Failed\x20to\x20create\x20update\x20cell\x20operation:','_projectedViewRowsCache','Parent','CreatedAt','[BaseCommandService]:\x20cannot\x20edit\x20field.','value','[RecordLink]:\x20target\x20record\x20\x22','UNIVER_EMBED_BASES_TABLE','clear','pop','3777424vfssng','base.command.update-base-field','from','_assertFieldDefinition','row','fromEntries','canDeleteRecord','base.command.ensure-base-temporal-view-date-fields','clearBasePermission','setViewGroup','toLowerCase','getMonth','true','[BaseFormula]:\x20table\x20does\x20not\x20exist.','viewOrder','_setFormulaFieldCells','[BaseCommandService]:\x20cannot\x20create\x20table.','univer.basePerf','duplicateField','base.projection.service','createdBy','tableName','columnSettings','parentRecordId','setViewFieldWidth','[BaseFormula]:\x20table\x20\x22','_findKanbanGroupField','_createNumberingFieldValuePatches','_setCachedProjection','data','base.command.update-base-cell','CONTAINS','params','_applyingFormulaResults','redo'];_0x38bd=function(){return _0x43892c;};return _0x38bd();}function La(_0x2ba77a,_0x4724f4){const _0x5c9c25=_0x5daf81;var _0x55f4d8;let _0x25e25f=[],_0x5720ca={..._0x4724f4['config']??{}},_0x5af494=typeof _0x5720ca[_0x5c9c25(0x49b)]==_0x5c9c25(0x2ed)&&Ra(_0x2ba77a,_0x5720ca[_0x5c9c25(0x49b)])?_0x5720ca[_0x5c9c25(0x49b)]:_0x2ba77a['fieldOrder'][_0x5c9c25(0x2d8)](_0x453562=>Ra(_0x2ba77a,_0x453562));if(!_0x5af494){let _0x4f83fa=za(_0x2ba77a,_0x25e25f);_0x25e25f[_0x5c9c25(0x482)](_0x4f83fa),_0x5af494=_0x4f83fa['id'];}_0x5720ca[_0x5c9c25(0x49b)]=_0x5af494;let _0x347901=Ma(_0x4724f4[_0x5c9c25(0x1d6)],_0x25e25f[_0x5c9c25(0x2b0)](_0x36fa43=>_0x36fa43['id']));return{'changed':_0x25e25f[_0x5c9c25(0x21d)]>0x0||_0x5720ca['groupFieldId']!==((_0x55f4d8=_0x4724f4[_0x5c9c25(0x396)])==null?void 0x0:_0x55f4d8['groupFieldId'])||!(!_0x347901||_0x9abbbc[_0x5c9c25(0x21f)](_0x347901,_0x4724f4[_0x5c9c25(0x1d6)]??[])),'fields':_0x25e25f,'config':_0x5720ca,'fieldOrder':_0x347901};}function Ra(_0x4f7c8f,_0x2cb397){const _0x423196=_0x5daf81;let _0x4d4aeb=_0x2cb397?_0x4f7c8f[_0x423196(0x503)][_0x2cb397]:null;return _0x4d4aeb?[_0x618ba['SingleSelect'],_0x618ba['MultiSelect'],_0x618ba['Rating'],_0x618ba[_0x423196(0x1e9)],_0x618ba['Group'],_0x618ba[_0x423196(0x4bb)]][_0x423196(0x4f9)](_0x4d4aeb[_0x423196(0x305)]):!0x1;}function _0x188f(_0x1e70ec,_0x4dab61){_0x1e70ec=_0x1e70ec-0x1b3;const _0x38bd2f=_0x38bd();let _0x188fa0=_0x38bd2f[_0x1e70ec];return _0x188fa0;}function za(_0x12fac5,_0xec580a){const _0x4824b4=_0x5daf81;return{'id':_0x4824b4(0x430)+_0x1d3e80(0x8),'name':ja(_0x12fac5,'Status',_0xec580a),'type':_0x618ba[_0x4824b4(0x3af)],'config':_0x9abbbc[_0x4824b4(0x28e)](Na)};}function Ba(_0x5d37d7){const _0xae4925=_0x5daf81;return Object[_0xae4925(0x46f)](_0x5d37d7['config']??{})[_0xae4925(0x21d)]===0x0&&Object[_0xae4925(0x46f)](_0x5d37d7['fieldSettings']??{})[_0xae4925(0x21d)]===0x0;}function Va(_0x17ace0,_0x22af4b,_0x597987){const _0x4890a9=_0x5daf81;let _0x1daedc={..._0x22af4b[_0x4890a9(0x396)]??{}},_0x411afa=_0x597987[_0x4890a9(0x2b0)](_0xade051=>_0xade051['id']),_0x292874=[..._0x17ace0[_0x4890a9(0x1d6)],..._0x411afa],_0x406dfd=typeof _0x1daedc[_0x4890a9(0x478)]==_0x4890a9(0x2ed)&&Ha(_0x17ace0,_0x597987,_0x1daedc['titleFieldId'])?_0x1daedc[_0x4890a9(0x478)]:_0x17ace0['primaryFieldId'],_0x5dc5c7=typeof _0x1daedc[_0x4890a9(0x3d5)]==_0x4890a9(0x2ed)?_0x1daedc[_0x4890a9(0x3d5)]:'',_0x5a2f17=typeof _0x1daedc['endDateFieldId']=='string'?_0x1daedc[_0x4890a9(0x39a)]:_0x5dc5c7,_0x41750a=new Set([_0x406dfd,_0x5dc5c7,_0x5a2f17][_0x4890a9(0x32f)](_0x14203a=>_0x14203a&&Ha(_0x17ace0,_0x597987,_0x14203a))),_0x5ca66f=Object[_0x4890a9(0x407)](_0x292874[_0x4890a9(0x36c)](_0x5358aa=>_0x41750a[_0x4890a9(0x253)](_0x5358aa)||!Ha(_0x17ace0,_0x597987,_0x5358aa)?[]:[[_0x5358aa,{'hidden':!0x0}]]));return{..._0x22af4b,'config':{..._0x1daedc,'titleFieldId':_0x406dfd},'fieldSettings':_0x5ca66f};}function Ha(_0x32cb12,_0x267cb2,_0x5abcd0){const _0x40edd5=_0x5daf81;return!!(_0x32cb12['fields'][_0x5abcd0]??_0x267cb2[_0x40edd5(0x2d8)](_0x3557cf=>_0x3557cf['id']===_0x5abcd0))&&!0x0;}function Ua(_0x5d0313,_0xf6b833){const _0x26320b=_0x5daf81;let _0x348ef6=_0xf6b833?_0x5d0313[_0x26320b(0x503)][_0xf6b833]:null;return!!_0x348ef6&&_0x348ef6['type']===_0x618ba[_0x26320b(0x47c)]&&_0x348ef6['readonly']!==!0x0&&_0x348ef6['system']!==!0x0;}function Wa(_0x644b97,_0x278cc3,_0x201e73){const _0x4846ef=_0x5daf81;let _0x3a6c31=new Set([...Object['keys'](_0x644b97[_0x4846ef(0x503)]),..._0x278cc3[_0x4846ef(0x2b0)](_0x123662=>_0x123662['id'])]),_0x1be7d5=_0x4846ef(0x430)+_0x1d3e80(0x8);for(;_0x3a6c31[_0x4846ef(0x253)](_0x1be7d5);)_0x1be7d5=_0x4846ef(0x430)+_0x1d3e80(0x8);return{'id':_0x1be7d5,'name':ja(_0x644b97,_0x201e73,_0x278cc3),'type':_0x618ba[_0x4846ef(0x47c)],'config':{...Pa}};}const Ga={'id':_0x5daf81(0x375),'type':_0x3d059d[_0x5daf81(0x44b)],'handler':(_0x902e3a,_0x2bc276)=>{const _0xda2133=_0x5daf81;if(!_0x2bc276)return!0x1;let _0x133cbd=_0x902e3a['get'](_0x364596),{unitId:_0x204c35,tableId:_0x1c99b2,view:_0x2180dc,index:_0x4cabf7}=_0x2bc276,_0x15dfc6=_0x133cbd[_0xda2133(0x1ed)](_0x204c35,_0x2ddca0[_0xda2133(0x33d)]);if(!_0x15dfc6||!$(_0x15dfc6,_0x1c99b2)||_0x15dfc6['getSnapshot']()[_0xda2133(0x2f7)][_0x1c99b2]['views'][_0x2180dc['id']])return!0x1;let _0x39cf67=_0x902e3a[_0xda2133(0x315)](_0x2ca718),_0xe0016b=_0x902e3a[_0xda2133(0x315)](_0x51376c),_0x25c029=_0x15dfc6['getSnapshot'](),_0x2ababd=Fa(_0x25c029,_0x1c99b2,_0x2180dc,_0x4cabf7),_0x3f40f1=new z()['invertOp'](_0x25c029,_0x2ababd),_0x3c6bbd={'historyAction':_0xda2133(0x349),'unitId':_0x204c35,'op':_0x2ababd,'viewType':_0x2180dc[_0xda2133(0x305)]},_0x1e5e36={'historyAction':'delete-view','unitId':_0x204c35,'op':_0x3f40f1,'viewType':_0x2180dc[_0xda2133(0x305)]};return _0x39cf67[_0xda2133(0x1e6)](Q['id'],_0x3c6bbd)?(_0x133cbd['focusUnit'](_0x204c35),_0xe0016b[_0xda2133(0x34a)]({'unitID':_0x204c35,'undoMutations':[{'id':Q['id'],'params':_0x1e5e36}],'redoMutations':[{'id':Q['id'],'params':_0x3c6bbd}]}),!0x0):!0x1;}},Ka={'id':_0x5daf81(0x54e),'type':_0x3d059d[_0x5daf81(0x44b)],'handler'(_0x5dc1a0,_0x3a2e34){const _0x3564d8=_0x5daf81;if(!_0x3a2e34)return!0x1;let _0x155331=_0x5dc1a0[_0x3564d8(0x315)](_0x364596),{unitId:_0x4c4e5d,tableId:_0x53979a,fieldId:_0x353197}=_0x3a2e34,_0x378024=_0x155331[_0x3564d8(0x1ed)](_0x4c4e5d,_0x2ddca0[_0x3564d8(0x33d)]);if(!_0x378024)return!0x1;let _0x2798da=_0x378024['getSnapshot'](),_0x54ed9f=_0x2798da[_0x3564d8(0x2f7)][_0x53979a];if(!$(_0x378024,_0x53979a,{'fieldIds':[_0x353197]})||_0x54ed9f[_0x3564d8(0x51f)]===_0x353197||_0x353197===_0x4a6fc3)return!0x1;let _0x2947c5=_0x5dc1a0[_0x3564d8(0x315)](_0x2ca718),_0x528353=_0x5dc1a0[_0x3564d8(0x315)](_0x51376c),_0x21139f=new W()['deleteField'](_0x2798da,_0x53979a,_0x353197),_0x4091ff=new z()[_0x3564d8(0x388)](_0x2798da,_0x21139f),_0x16aefb={'unitId':_0x4c4e5d,'op':_0x21139f},_0xb1de4={'unitId':_0x4c4e5d,'op':_0x4091ff};return _0x2947c5[_0x3564d8(0x1e6)](Q['id'],_0x16aefb)?(_0x155331[_0x3564d8(0x2ac)](_0x4c4e5d),_0x528353['pushUndoRedo']({'unitID':_0x4c4e5d,'undoMutations':[{'id':Q['id'],'params':_0xb1de4}],'redoMutations':[{'id':Q['id'],'params':_0x16aefb}]}),!0x0):!0x1;}},qa={'id':_0x5daf81(0x232),'type':_0x3d059d[_0x5daf81(0x44b)],'handler':(_0x15d262,_0x1b3b2b)=>{const _0x101d63=_0x5daf81;if(!_0x1b3b2b)return!0x1;let _0xed61d6=_0x15d262[_0x101d63(0x315)](_0x364596),{unitId:_0x485bf5,tableId:_0x5e065d,recordId:_0x156566}=_0x1b3b2b,_0x5bc790=_0xed61d6[_0x101d63(0x1ed)](_0x485bf5,_0x2ddca0['UNIVER_BASE']);if(!_0x5bc790||!$(_0x5bc790,_0x5e065d,{'recordIds':[_0x156566]}))return!0x1;let _0x24d99a=_0x15d262[_0x101d63(0x315)](_0x2ca718),_0x4d58aa=_0x15d262[_0x101d63(0x315)](_0x51376c),_0x57ea44=_0x5bc790[_0x101d63(0x2f3)](),_0x54d053=et(_0x57ea44['tables'][_0x5e065d],[_0x156566]),_0x33af23=new W(),_0x123553=new z(),_0x404336=_0x33af23['deleteRecord'](_0x57ea44,_0x5e065d,_0x156566),_0x2a023b=_0x123553[_0x101d63(0x525)](_0x57ea44,_0x404336),_0xca34c2=_0x33af23['createDeleteRecordsUndoOp'](_0x57ea44,_0x2a023b,_0x5e065d,[_0x156566]),_0x37fc9b={'unitId':_0x485bf5,'op':_0x404336,'hierarchyChanges':_0x54d053,'source':_0x1b3b2b[_0x101d63(0x1e1)]??'ui'},_0xf988a={..._0x37fc9b,'source':_0x101d63(0x424)},_0x2bc649={'unitId':_0x485bf5,'op':_0xca34c2,'hierarchyChanges':_0x54d053[_0x101d63(0x2b0)](_0x227ebe=>({..._0x227ebe,'oldParentRecordId':_0x227ebe[_0x101d63(0x419)],'parentRecordId':_0x227ebe[_0x101d63(0x266)]})),'source':_0x101d63(0x3a8)};return _0x24d99a[_0x101d63(0x1e6)](Q['id'],_0x37fc9b)?(_0xed61d6[_0x101d63(0x2ac)](_0x485bf5),_0x4d58aa[_0x101d63(0x34a)]({'unitID':_0x485bf5,'undoMutations':[{'id':Q['id'],'params':_0x2bc649}],'redoMutations':[{'id':Q['id'],'params':_0xf988a}]}),!0x0):!0x1;}},Ja={'id':_0x5daf81(0x2ea),'type':_0x3d059d[_0x5daf81(0x44b)],'handler':(_0x1ddf4e,_0x2ed17f)=>{const _0x28a0cb=_0x5daf81;if(!_0x2ed17f)return!0x1;let _0x4e794d=_0x1ddf4e['get'](_0x364596),{unitId:_0x1198dd,tableId:_0x5b8604}=_0x2ed17f,_0x45ce46=_0x4e794d[_0x28a0cb(0x1ed)](_0x1198dd,_0x2ddca0[_0x28a0cb(0x33d)]);if(!_0x45ce46||!$(_0x45ce46,_0x5b8604))return!0x1;let _0x4588bf=_0x1ddf4e['get'](_0x2ca718),_0x565a16=_0x1ddf4e['get'](_0x51376c),_0x2f3fc9=_0x45ce46['getSnapshot'](),_0x35916c=He(_0x2f3fc9,_0x5b8604);if(_0x35916c[_0x28a0cb(0x21d)]>0x0)return console[_0x28a0cb(0x51c)](_0x28a0cb(0x2a8)+_0x5b8604+_0x28a0cb(0x48f)+_0x35916c[_0x28a0cb(0x2b0)](_0x240b8c=>_0x240b8c['tableId']+'.'+_0x240b8c['fieldId'])[_0x28a0cb(0x30a)](',\x20')+'.'),!0x1;let _0x287159=new W()[_0x28a0cb(0x4ed)](_0x2f3fc9,_0x5b8604),_0x47e79d=new z()['invertOp'](_0x2f3fc9,_0x287159),_0x227659={'unitId':_0x1198dd,'op':_0x287159},_0x268462={'unitId':_0x1198dd,'op':_0x47e79d};return _0x4588bf[_0x28a0cb(0x1e6)](Q['id'],_0x227659)?(_0x4e794d[_0x28a0cb(0x2ac)](_0x1198dd),_0x565a16[_0x28a0cb(0x34a)]({'unitID':_0x1198dd,'undoMutations':[{'id':Q['id'],'params':_0x268462}],'redoMutations':[{'id':Q['id'],'params':_0x227659}]}),!0x0):!0x1;}},Ya={'id':_0x5daf81(0x249),'type':_0x3d059d[_0x5daf81(0x44b)],'handler':(_0x232a6d,_0x2be235)=>{const _0x53afd8=_0x5daf81;if(!_0x2be235)return!0x1;let _0x866df7=_0x232a6d[_0x53afd8(0x315)](_0x364596),{unitId:_0x8ee4b4,tableId:_0x33f310,viewId:_0x44f618}=_0x2be235,_0x4181cc=_0x866df7[_0x53afd8(0x1ed)](_0x8ee4b4,_0x2ddca0['UNIVER_BASE']);if(!_0x4181cc||!$(_0x4181cc,_0x33f310,{'viewIds':[_0x44f618]}))return!0x1;let _0x3d636a=_0x232a6d[_0x53afd8(0x315)](_0x2ca718),_0x141f78=_0x232a6d[_0x53afd8(0x315)](_0x51376c),_0x232016=_0x4181cc[_0x53afd8(0x2f3)](),_0x5118cb=_0x232016[_0x53afd8(0x2f7)][_0x33f310][_0x53afd8(0x1e8)][_0x44f618][_0x53afd8(0x305)],_0x1bf632=new W()[_0x53afd8(0x302)](_0x232016,_0x33f310,_0x44f618),_0x4c2f30=new z()[_0x53afd8(0x388)](_0x232016,_0x1bf632),_0x1b9d2c={'historyAction':_0x53afd8(0x24c),'unitId':_0x8ee4b4,'op':_0x1bf632,'viewType':_0x5118cb},_0x553640={'historyAction':_0x53afd8(0x349),'unitId':_0x8ee4b4,'op':_0x4c2f30,'viewType':_0x5118cb};return _0x3d636a['syncExecuteCommand'](Q['id'],_0x1b9d2c)?(_0x866df7[_0x53afd8(0x2ac)](_0x8ee4b4),_0x141f78['pushUndoRedo']({'unitID':_0x8ee4b4,'undoMutations':[{'id':Q['id'],'params':_0x553640}],'redoMutations':[{'id':Q['id'],'params':_0x1b9d2c}]}),!0x0):!0x1;}},Xa={'id':_0x5daf81(0x3c4),'type':_0x3d059d['COMMAND'],'handler':(_0x2744e8,_0xb638b4)=>{const _0x3fed12=_0x5daf81;if(!_0xb638b4)return!0x1;let _0x5f1438=_0x2744e8[_0x3fed12(0x315)](_0x364596),{unitId:_0x176d27,tableId:_0x1a1c1f,sourceFieldId:_0x4f52df,field:_0x101387,index:_0x30e2e9,viewIndexes:_0x230d0f}=_0xb638b4,_0x1c830e=_0x5f1438[_0x3fed12(0x1ed)](_0x176d27,_0x2ddca0[_0x3fed12(0x33d)]);if(!_0x1c830e||!$(_0x1c830e,_0x1a1c1f,{'fieldIds':[_0x4f52df]})||_0x4f52df===_0x4a6fc3||_0x1c830e[_0x3fed12(0x2f3)]()[_0x3fed12(0x2f7)][_0x1a1c1f]['fields'][_0x101387['id']]||_0x30e2e9===0x0||!ha(_0x1c830e,_0x1a1c1f,_0x101387))return!0x1;let _0x4ac7=_0x2744e8['get'](_0x2ca718),_0x58a972=_0x2744e8[_0x3fed12(0x315)](_0x51376c),_0x1083c8=_0x1c830e[_0x3fed12(0x2f3)](),_0x41a596=new W()[_0x3fed12(0x414)](_0x1083c8,_0x1a1c1f,_0x4f52df,{'field':_0x101387,'index':_0x30e2e9,'viewIndexes':_0x230d0f}),_0x469274=new z()['invertOp'](_0x1083c8,_0x41a596),_0x196791={'unitId':_0x176d27,'op':_0x41a596},_0x277432={'unitId':_0x176d27,'op':_0x469274};return _0x4ac7[_0x3fed12(0x1e6)](Q['id'],_0x196791)?(_0x5f1438[_0x3fed12(0x2ac)](_0x176d27),_0x58a972[_0x3fed12(0x34a)]({'unitID':_0x176d27,'undoMutations':[{'id':Q['id'],'params':_0x277432}],'redoMutations':[{'id':Q['id'],'params':_0x196791}]}),!0x0):!0x1;}},Za={'id':'base.command.duplicate-base-record','type':_0x3d059d[_0x5daf81(0x44b)],'handler':(_0xd0dc67,_0x4478d2)=>{const _0x105461=_0x5daf81;if(!_0x4478d2)return!0x1;let _0x305363=_0xd0dc67[_0x105461(0x315)](_0x364596),{unitId:_0x4a5996,tableId:_0x207811,sourceRecordId:_0x31312f,record:_0x3cd42f}=_0x4478d2,_0xb77b9f=_0x305363['getUnit'](_0x4a5996,_0x2ddca0[_0x105461(0x33d)]);if(!_0xb77b9f||!$(_0xb77b9f,_0x207811,{'recordIds':[_0x31312f]})||!_a(_0xb77b9f,_0x207811,_0x3cd42f))return!0x1;let _0x459530=_0xd0dc67[_0x105461(0x315)](_0x2ca718),_0x4a84ec=_0xd0dc67[_0x105461(0x315)](_0x51376c),_0x676f9f=_0xb77b9f[_0x105461(0x2f3)](),_0x52d6ad=va(_0x3cd42f),_0x4827c6=Qe(_0x676f9f[_0x105461(0x2f7)][_0x207811],[_0x52d6ad]),_0x5163be=new W()[_0x105461(0x339)](_0x676f9f,_0x207811,_0x31312f,_0x52d6ad),_0x4227f2=new z()[_0x105461(0x388)](_0x676f9f,_0x5163be),_0x3a2a1d={'unitId':_0x4a5996,'op':_0x5163be,'hierarchyChanges':_0x4827c6[_0x105461(0x21d)]?_0x4827c6:void 0x0,'source':_0x4827c6['length']?_0x4478d2[_0x105461(0x1e1)]??'ui':void 0x0},_0xb7c43={..._0x3a2a1d,'source':_0x4827c6[_0x105461(0x21d)]?_0x105461(0x424):void 0x0},_0x5d557c={'unitId':_0x4a5996,'op':_0x4227f2,'hierarchyChanges':_0x4827c6[_0x105461(0x21d)]?_0x4827c6[_0x105461(0x2b0)](_0xcd4ab8=>({..._0xcd4ab8,'oldParentRecordId':_0xcd4ab8[_0x105461(0x419)],'parentRecordId':null})):void 0x0,'source':_0x4827c6[_0x105461(0x21d)]?_0x105461(0x3a8):void 0x0};return _0x459530[_0x105461(0x1e6)](Q['id'],_0x3a2a1d)?(_0x305363[_0x105461(0x2ac)](_0x4a5996),_0x4a84ec[_0x105461(0x34a)]({'unitID':_0x4a5996,'undoMutations':[{'id':Q['id'],'params':_0x5d557c}],'redoMutations':[{'id':Q['id'],'params':_0xb7c43}]}),!0x0):!0x1;}},Qa={'id':_0x5daf81(0x409),'type':_0x3d059d[_0x5daf81(0x44b)],'handler'(_0x348c69,_0x481dab){const _0x291f25=_0x5daf81;if(!_0x481dab)return!0x1;let _0x36e474=_0x348c69[_0x291f25(0x315)](_0x364596),{unitId:_0x5e4e85,tableId:_0x267db6,viewId:_0x2a16d3,ensureEndDateField:_0x2e9bd6}=_0x481dab,_0x4955df=_0x36e474['getUnit'](_0x5e4e85,_0x2ddca0[_0x291f25(0x33d)]);if(!_0x4955df||!$(_0x4955df,_0x267db6,{'viewIds':[_0x2a16d3]}))return!0x1;let _0x49a5dc=_0x4955df[_0x291f25(0x2f3)](),_0x1a92ec=_0x49a5dc['tables'][_0x267db6],_0x51a4c6=_0x1a92ec==null?void 0x0:_0x1a92ec[_0x291f25(0x1e8)][_0x2a16d3];if(!_0x1a92ec||!_0x51a4c6||_0x51a4c6[_0x291f25(0x305)]!==_0x291f25(0x3b7)&&_0x51a4c6['type']!=='gantt')return!0x1;let _0x1e97c5=Ia(_0x1a92ec,_0x51a4c6,_0x2e9bd6===!0x0);if(!_0x1e97c5[_0x291f25(0x52c)])return!0x1;let _0x38a611=_0x348c69[_0x291f25(0x315)](_0x2ca718),_0x4b2238=_0x348c69[_0x291f25(0x315)](_0x51376c),_0x1b475b=new W(),_0x235eb9=[..._0x1e97c5[_0x291f25(0x503)][_0x291f25(0x2b0)](_0x293604=>_0x1b475b['createField'](_0x49a5dc,_0x481dab[_0x291f25(0x221)],{'field':_0x293604})),$a([...eo(_0x481dab[_0x291f25(0x221)],_0x481dab[_0x291f25(0x3c2)]),'config'],_0x51a4c6['config'],_0x1e97c5[_0x291f25(0x396)])];_0x1e97c5[_0x291f25(0x1d6)]&&_0x235eb9[_0x291f25(0x482)]($a([...eo(_0x481dab['tableId'],_0x481dab[_0x291f25(0x3c2)]),_0x291f25(0x1d6)],_0x51a4c6[_0x291f25(0x1d6)],_0x1e97c5[_0x291f25(0x1d6)]));let _0xc09bdf=R(_0x235eb9),_0x48e678=new z()['invertOp'](_0x49a5dc,_0xc09bdf),_0x1e0be0={'unitId':_0x5e4e85,'op':_0xc09bdf},_0x48ba49={'unitId':_0x5e4e85,'op':_0x48e678};return _0x38a611['syncExecuteCommand'](Q['id'],_0x1e0be0)?(_0x36e474['focusUnit'](_0x5e4e85),_0x4b2238['pushUndoRedo']({'unitID':_0x5e4e85,'undoMutations':[{'id':Q['id'],'params':_0x48ba49}],'redoMutations':[{'id':Q['id'],'params':_0x1e0be0}]}),!0x0):!0x1;}};function $a(_0x5e28f7,_0x1a3589,_0x5863ed){const _0x4becb2=_0x5daf81;return _0x1a3589===void 0x0?_0x1605a0[_0x4becb2(0x2b6)](_0x5e28f7,_0x5863ed):_0x1605a0[_0x4becb2(0x562)](_0x5e28f7,_0x1a3589,_0x5863ed);}function eo(_0x2fdd4f,_0x116894){const _0x1d5ab2=_0x5daf81;return[_0x1d5ab2(0x2f7),_0x2fdd4f,_0x1d5ab2(0x1e8),_0x116894];}const to={'id':_0x5daf81(0x55b),'type':_0x3d059d[_0x5daf81(0x44b)],'handler':(_0x30a47b,_0x1d51b0)=>{const _0x484987=_0x5daf81;if(!_0x1d51b0)return!0x1;let _0x4709d7=_0x30a47b[_0x484987(0x315)](_0x364596),{unitId:_0x286565,tableId:_0x2749a6,fieldId:_0x1a5ba3,target:_0xb505fb}=_0x1d51b0,_0x489e07=_0x4709d7[_0x484987(0x1ed)](_0x286565,_0x2ddca0[_0x484987(0x33d)]),_0x1ec9bf=_0xb505fb[_0x484987(0x1c5)]??_0xb505fb[_0x484987(0x51b)];if(!_0x489e07||!!_0xb505fb[_0x484987(0x1c5)]==!!_0xb505fb['afterFieldId']||!_0x1ec9bf||_0x1ec9bf===_0x1a5ba3||_0x1a5ba3===_0x4a6fc3||_0xb505fb[_0x484987(0x1c5)]===_0x4a6fc3||!$(_0x489e07,_0x2749a6,{'fieldIds':[_0x1a5ba3,_0x1ec9bf]}))return!0x1;let _0x240318=_0x30a47b[_0x484987(0x315)](_0x2ca718),_0x159700=_0x30a47b['get'](_0x51376c),_0x5ea9d1=_0x489e07[_0x484987(0x2f3)](),_0x20af45=new W()['moveField'](_0x5ea9d1,_0x2749a6,_0x1a5ba3,_0xb505fb),_0x441746=new z()[_0x484987(0x388)](_0x5ea9d1,_0x20af45),_0x219e3c={'unitId':_0x286565,'op':_0x20af45},_0x5a223a={'unitId':_0x286565,'op':_0x441746};return _0x240318['syncExecuteCommand'](Q['id'],_0x219e3c)?(_0x4709d7['focusUnit'](_0x286565),_0x159700['pushUndoRedo']({'unitID':_0x286565,'undoMutations':[{'id':Q['id'],'params':_0x5a223a}],'redoMutations':[{'id':Q['id'],'params':_0x219e3c}]}),!0x0):!0x1;}},no={'id':_0x5daf81(0x27f),'type':_0x3d059d[_0x5daf81(0x44b)],'handler':(_0x6d39,_0x3b150f)=>{const _0x24464d=_0x5daf81;var _0x42ab2c;if(!_0x3b150f)return!0x1;let {unitId:_0x319004,tableId:_0x418b2a,recordId:_0x3e7681,parentRecordId:_0x5e1a8f,orderKey:_0x16efa9}=_0x3b150f,_0x2376c1=_0x6d39[_0x24464d(0x315)](_0x364596),_0x21d39b=_0x2376c1['getUnit'](_0x319004,_0x2ddca0[_0x24464d(0x33d)]);if(!_0x21d39b||!$(_0x21d39b,_0x418b2a,{'recordIds':[_0x3e7681,..._0x5e1a8f?[_0x5e1a8f]:[]]}))throw new P('missingRecord');let _0x4333af=_0x21d39b['getSnapshot'](),_0x18e986=_0x4333af[_0x24464d(0x2f7)][_0x418b2a],_0x188c56=qe(_0x18e986),_0x20c8a1=_0x188c56??_0x3b150f['fieldId']??Je(_0x18e986);if(_0x188c56&&_0x3b150f['fieldId']&&_0x3b150f[_0x24464d(0x4a1)]!==_0x188c56||_0x18e986['fields'][_0x20c8a1]&&!F(_0x18e986,_0x20c8a1))throw new P(_0x24464d(0x48a));let _0x288153=tt(_0x18e986,_0x20c8a1),_0x350d16=it(_0x288153,_0x3e7681,_0x5e1a8f);if(!_0x350d16[_0x24464d(0x36d)])throw new P(_0x350d16[_0x24464d(0x483)]===_0x335882['SelfParent']?_0x24464d(0x343):_0x350d16[_0x24464d(0x483)]===_0x335882['Cycle']?'cycle':'maxDepth');let _0x39b010=_0x288153['parentByRecordId'][_0x24464d(0x315)](_0x3e7681)??null,_0x1ae03a=_0x18e986[_0x24464d(0x43a)][_0x3e7681][_0x24464d(0x2a2)];if(_0x39b010===_0x5e1a8f&&(_0x16efa9===void 0x0||_0x16efa9===_0x1ae03a))return!0x0;let _0x38ba98=_0x39b010!==_0x5e1a8f,_0x5a2945=_0x16efa9!==void 0x0&&_0x16efa9!==_0x1ae03a,_0x74c66b=new W(),_0x29f1b6=[],_0x5d844f=_0x18e986['fields'][_0x20c8a1],_0x5a45ee=_0x38ba98&&(!_0x5d844f||((_0x42ab2c=N(_0x5d844f))==null?void 0x0:_0x42ab2c['relationRole'])!==_0x1d1c88[_0x24464d(0x3fa)])?_0x5d844f?_0x74c66b[_0x24464d(0x23d)](_0x4333af,_0x418b2a,_0x20c8a1,{'config':{..._0x5d844f[_0x24464d(0x396)],'relationRole':_0x1d1c88[_0x24464d(0x3fa)]}}):_0x6d39['get'](Kr)[_0x24464d(0x539)](_0x21d39b,_0x418b2a,Ye(_0x18e986,_0x20c8a1,_0x3b150f[_0x24464d(0x1e3)]),_0x18e986['fieldOrder']['length']):null;_0x5a45ee&&_0x29f1b6[_0x24464d(0x482)](_0x5a45ee),_0x38ba98&&_0x29f1b6[_0x24464d(0x482)](_0x74c66b['updateCell'](_0x4333af,_0x418b2a,_0x3e7681,_0x20c8a1,_0x5e1a8f?Re([_0x5e1a8f]):'')),_0x5a2945&&_0x29f1b6[_0x24464d(0x482)](_0x74c66b[_0x24464d(0x3f6)](_0x4333af,_0x418b2a,_0x3e7681,_0x16efa9));let _0x225059=R(_0x29f1b6),_0x21d619={'tableId':_0x418b2a,'fieldId':_0x20c8a1,'recordId':_0x3e7681,'oldParentRecordId':_0x39b010,'parentRecordId':_0x5e1a8f},_0x3d1bc0={'unitId':_0x319004,'op':_0x225059,'trigger':no['id'],'hierarchyChanges':[_0x21d619],'source':_0x3b150f['source']??'ui'},_0x442813={..._0x3d1bc0,'source':_0x24464d(0x424)};if(!_0x6d39[_0x24464d(0x315)](_0x2ca718)['syncExecuteCommand'](Q['id'],_0x3d1bc0))return!0x1;let _0x55bb1f=_0x21d39b[_0x24464d(0x2f3)](),_0x2689a5=[];_0x38ba98&&_0x2689a5[_0x24464d(0x482)](ro(_0x55bb1f,_0x4333af,_0x418b2a,_0x3e7681,_0x20c8a1)),_0x5a2945&&_0x2689a5[_0x24464d(0x482)](io(_0x55bb1f,_0x4333af,_0x418b2a,_0x3e7681)),_0x5a45ee&&_0x2689a5[_0x24464d(0x482)](new z()['invertOp'](_0x4333af,_0x5a45ee));let _0x51eaed={'unitId':_0x319004,'op':R(_0x2689a5),'trigger':no['id'],'hierarchyChanges':[{..._0x21d619,'oldParentRecordId':_0x5e1a8f,'parentRecordId':_0x39b010}],'source':'undo'};return _0x2376c1[_0x24464d(0x2ac)](_0x319004),_0x6d39[_0x24464d(0x315)](_0x51376c)[_0x24464d(0x34a)]({'unitID':_0x319004,'undoMutations':[{'id':Q['id'],'params':_0x51eaed}],'redoMutations':[{'id':Q['id'],'params':_0x442813}]}),!0x0;}};function ro(_0x529b5a,_0x49150a,_0x3b6727,_0x412a74,_0x5c30eb){const _0x3df910=_0x5daf81;var _0x1c2eee,_0x1fdea5,_0x249647,_0x189c55,_0x25102a,_0x4f9196,_0x57ec34,_0x4a3f20;let _0x203f5e=_0x529b5a[_0x3df910(0x2f7)][_0x3b6727],_0x56233e=_0x49150a['tables'][_0x3b6727],_0x40a600=(_0x1c2eee=_0x203f5e[_0x3df910(0x2c4)])==null?void 0x0:_0x1c2eee[_0x412a74],_0x41a4ee=(_0x1fdea5=_0x203f5e[_0x3df910(0x3b9)])==null?void 0x0:_0x1fdea5[_0x5c30eb],_0x4fd59e=(_0x249647=_0x56233e[_0x3df910(0x2c4)])==null?void 0x0:_0x249647[_0x412a74],_0x24cf3b=(_0x189c55=_0x56233e[_0x3df910(0x3b9)])==null?void 0x0:_0x189c55[_0x5c30eb],_0x400745=_0x40a600==null||_0x41a4ee==null||(_0x25102a=_0x203f5e[_0x3df910(0x1d3)])==null||(_0x25102a=_0x25102a[_0x40a600])==null?void 0x0:_0x25102a[_0x41a4ee],_0x5a4034=_0x4fd59e==null||_0x24cf3b==null||(_0x4f9196=_0x56233e[_0x3df910(0x1d3)])==null||(_0x4f9196=_0x4f9196[_0x4fd59e])==null?void 0x0:_0x4f9196[_0x24cf3b],_0x111995=(_0x57ec34=_0x203f5e[_0x3df910(0x43a)][_0x412a74])==null?void 0x0:_0x57ec34[_0x3df910(0x45b)][_0x5c30eb],_0x271fc7=(_0x4a3f20=_0x56233e[_0x3df910(0x43a)][_0x412a74])==null?void 0x0:_0x4a3f20[_0x3df910(0x45b)][_0x5c30eb],_0x646f32=[],_0x516560=ao(_0x40a600==null||_0x41a4ee==null?null:U[_0x3df910(0x1d3)](_0x3b6727,_0x40a600,_0x41a4ee),_0x400745,_0x5a4034);_0x516560&&_0x646f32[_0x3df910(0x482)](_0x516560);let _0x4b96f0=ao(U['cell'](_0x3b6727,_0x412a74,_0x5c30eb),_0x111995,_0x271fc7);return _0x4b96f0&&_0x646f32[_0x3df910(0x482)](_0x4b96f0),R(_0x646f32);}function io(_0x3ae48c,_0x253c1c,_0x248eed,_0x4d66e6){const _0x608443=_0x5daf81;var _0x1ae325,_0x7fa2ec;let _0x7f4a8b=_0x3ae48c[_0x608443(0x2f7)][_0x248eed],_0x8a1b6e=_0x253c1c['tables'][_0x248eed];return R([ao([...U[_0x608443(0x1b5)](_0x248eed,_0x4d66e6),_0x608443(0x2a2)],(_0x1ae325=_0x7f4a8b[_0x608443(0x43a)][_0x4d66e6])==null?void 0x0:_0x1ae325['orderKey'],(_0x7fa2ec=_0x8a1b6e[_0x608443(0x43a)][_0x4d66e6])==null?void 0x0:_0x7fa2ec[_0x608443(0x2a2)]),ao([...U[_0x608443(0x524)](_0x248eed),_0x608443(0x3da)],_0x7f4a8b[_0x608443(0x3da)],_0x8a1b6e['recordOrder'])][_0x608443(0x32f)](_0x2f86ce=>!!_0x2f86ce));}function ao(_0x43d064,_0x4bc7ea,_0xea1725){const _0x4ab350=_0x5daf81;if(!_0x43d064||_0x4bc7ea===void 0x0&&_0xea1725===void 0x0)return null;let _0x5e302d=_0x43324a[_0x4ab350(0x481)]();return _0xea1725===void 0x0?_0x5e302d['removeOp'](_0x43d064,_0x4bc7ea):_0x4bc7ea===void 0x0?_0x5e302d[_0x4ab350(0x2b6)](_0x43d064,_0xea1725):_0x5e302d['replaceOp'](_0x43d064,_0x4bc7ea,_0xea1725);}const oo={'id':'base.command.move-base-view','type':_0x3d059d[_0x5daf81(0x44b)],'handler':(_0x4ca16d,_0x1533dd)=>{const _0x11b214=_0x5daf81;if(!_0x1533dd)return!0x1;let _0x92d40d=_0x4ca16d['get'](_0x364596),{unitId:_0x69aecc,tableId:_0x110ccd,viewId:_0x13d49d,target:_0x49fc7f}=_0x1533dd,_0x2ff025=_0x92d40d[_0x11b214(0x1ed)](_0x69aecc,_0x2ddca0['UNIVER_BASE']),_0x47c32d=_0x49fc7f['beforeViewId']??_0x49fc7f[_0x11b214(0x4b1)];if(!_0x2ff025||!_0x47c32d||_0x47c32d===_0x13d49d||!$(_0x2ff025,_0x110ccd,{'viewIds':[_0x13d49d,_0x47c32d]}))return!0x1;let _0x25f137=_0x4ca16d[_0x11b214(0x315)](_0x2ca718),_0x503d85=_0x4ca16d[_0x11b214(0x315)](_0x51376c),_0x8a7bac=_0x2ff025[_0x11b214(0x2f3)](),_0x58f73e=new W()[_0x11b214(0x2d3)](_0x8a7bac,_0x110ccd,_0x13d49d,_0x49fc7f),_0x1b0c19=new z()[_0x11b214(0x388)](_0x8a7bac,_0x58f73e),_0x354e4f={'unitId':_0x69aecc,'op':_0x58f73e},_0x443ed0={'unitId':_0x69aecc,'op':_0x1b0c19};return _0x25f137['syncExecuteCommand'](Q['id'],_0x354e4f)?(_0x92d40d['focusUnit'](_0x69aecc),_0x503d85[_0x11b214(0x34a)]({'unitID':_0x69aecc,'undoMutations':[{'id':Q['id'],'params':_0x443ed0}],'redoMutations':[{'id':Q['id'],'params':_0x354e4f}]}),!0x0):!0x1;}},so={'id':_0x5daf81(0x26b),'type':_0x3d059d['COMMAND'],'handler':(_0xeb3d51,_0x4a4efb)=>{const _0x57e6a3=_0x5daf81;if(!_0x4a4efb)return!0x1;let _0x430990=_0xeb3d51[_0x57e6a3(0x315)](_0x364596),{unitId:_0x204763,tableId:_0x380417,name:_0x57d91b}=_0x4a4efb,_0x12f42b=_0x430990[_0x57e6a3(0x1ed)](_0x204763,_0x2ddca0[_0x57e6a3(0x33d)]);if(!_0x12f42b||!$(_0x12f42b,_0x380417)||!Oa(_0x12f42b[_0x57e6a3(0x2f3)](),_0x57d91b,_0x380417)[_0x57e6a3(0x36d)])return!0x1;let _0x4dfc3b=_0xeb3d51['get'](_0x2ca718),_0x343fc6=_0xeb3d51[_0x57e6a3(0x315)](_0x51376c),_0x114236=_0x12f42b[_0x57e6a3(0x2f3)](),_0x4ecc74=new W()[_0x57e6a3(0x3c3)](_0x114236,_0x380417,_0x57d91b),_0x4d654a=new z()['invertOp'](_0x114236,_0x4ecc74),_0x5f3f03={'unitId':_0x204763,'op':_0x4ecc74},_0x2d827b={'unitId':_0x204763,'op':_0x4d654a};return _0x4dfc3b[_0x57e6a3(0x1e6)](Q['id'],_0x5f3f03)?(_0x430990[_0x57e6a3(0x2ac)](_0x204763),_0x343fc6[_0x57e6a3(0x34a)]({'unitID':_0x204763,'undoMutations':[{'id':Q['id'],'params':_0x2d827b}],'redoMutations':[{'id':Q['id'],'params':_0x5f3f03}]}),!0x0):!0x1;}},co={'id':'base.command.rename-base-view','type':_0x3d059d[_0x5daf81(0x44b)],'handler':(_0x1942c0,_0x45bed5)=>{const _0x2c46bf=_0x5daf81;if(!_0x45bed5)return!0x1;let _0x578d02=_0x1942c0[_0x2c46bf(0x315)](_0x364596),{unitId:_0x3577f7,tableId:_0x5bd51d,viewId:_0xb0c14b,name:_0x15c835}=_0x45bed5,_0x26e558=_0x578d02['getUnit'](_0x3577f7,_0x2ddca0[_0x2c46bf(0x33d)]);if(!_0x26e558||!$(_0x26e558,_0x5bd51d,{'viewIds':[_0xb0c14b]}))return!0x1;let _0x20890a=_0x1942c0[_0x2c46bf(0x315)](_0x2ca718),_0x2b35e1=_0x1942c0['get'](_0x51376c),_0x1580c5=_0x26e558[_0x2c46bf(0x2f3)](),_0x31016e=new W()['renameView'](_0x1580c5,_0x5bd51d,_0xb0c14b,_0x15c835),_0x133bfd=new z()[_0x2c46bf(0x388)](_0x1580c5,_0x31016e),_0x291212={'unitId':_0x3577f7,'op':_0x31016e},_0x57395e={'unitId':_0x3577f7,'op':_0x133bfd};return _0x20890a[_0x2c46bf(0x1e6)](Q['id'],_0x291212)?(_0x578d02[_0x2c46bf(0x2ac)](_0x3577f7),_0x2b35e1[_0x2c46bf(0x34a)]({'unitID':_0x3577f7,'undoMutations':[{'id':Q['id'],'params':_0x57395e}],'redoMutations':[{'id':Q['id'],'params':_0x291212}]}),!0x0):!0x1;}},lo={'id':'base.command.set-base-kanban-group-field','type':_0x3d059d[_0x5daf81(0x44b)],'handler':(_0x3ccddd,_0xa44f79)=>{const _0x29db45=_0x5daf81;if(!_0xa44f79)return!0x1;let _0x4e983b=_0x3ccddd[_0x29db45(0x315)](_0x364596),{unitId:_0x2bd0a4,tableId:_0x4625e2,viewId:_0x40870c,fieldId:_0x37337a}=_0xa44f79,_0x2e184b=_0x4e983b[_0x29db45(0x1ed)](_0x2bd0a4,_0x2ddca0['UNIVER_BASE']);if(!_0x2e184b||!$(_0x2e184b,_0x4625e2,{'viewIds':[_0x40870c],'fieldIds':[_0x37337a]}))return!0x1;let _0x35d8fc=_0x3ccddd[_0x29db45(0x315)](_0x2ca718),_0x3aac46=_0x3ccddd[_0x29db45(0x315)](_0x51376c),_0x166f86=_0x2e184b['getSnapshot'](),_0x4523cc=new W()['updateViewConfig'](_0x166f86,_0x4625e2,_0x40870c,{'groupFieldId':_0x37337a}),_0x4493a3=new z()['invertOp'](_0x166f86,_0x4523cc),_0x4725e2={'unitId':_0x2bd0a4,'op':_0x4523cc},_0x36bfd2={'unitId':_0x2bd0a4,'op':_0x4493a3};return _0x35d8fc['syncExecuteCommand'](Q['id'],_0x4725e2)?(_0x4e983b[_0x29db45(0x2ac)](_0x2bd0a4),_0x3aac46['pushUndoRedo']({'unitID':_0x2bd0a4,'undoMutations':[{'id':Q['id'],'params':_0x36bfd2}],'redoMutations':[{'id':Q['id'],'params':_0x4725e2}]}),!0x0):!0x1;}},uo={'id':_0x5daf81(0x500),'type':_0x3d059d[_0x5daf81(0x44b)],'handler':(_0x53104b,_0x4c131c)=>{const _0x1e01e7=_0x5daf81;if(!_0x4c131c)return!0x1;let _0x213842=_0x53104b[_0x1e01e7(0x315)](_0x364596),_0xc883da=_0x213842[_0x1e01e7(0x1ed)](_0x4c131c[_0x1e01e7(0x3cb)],_0x2ddca0[_0x1e01e7(0x33d)]);if(!_0xc883da)return!0x1;let _0x986f5f=_0xc883da['getSnapshot']()['name'];if(_0x986f5f===_0x4c131c['name'])return!0x0;let _0x15b861=new W(),_0x4e9782=new z(),_0x4eb304=[],_0x17c454=[],_0x40d878=[_0xc883da,..._0x213842[_0x1e01e7(0x34d)](_0x2ddca0[_0x1e01e7(0x33d)])[_0x1e01e7(0x32f)](_0xa7efe2=>_0xa7efe2[_0x1e01e7(0x506)]()!==_0x4c131c['unitId'])];for(let _0x94a987 of _0x40d878){let _0x83539b=_0x94a987[_0x1e01e7(0x2f3)](),_0x5bf8fb=_0x94a987===_0xc883da?_0x15b861['setBaseName'](_0x83539b,_0x4c131c['name']):_0x15b861[_0x1e01e7(0x1e5)](_0x83539b,_0x986f5f,_0x4c131c[_0x1e01e7(0x322)]);_0x5bf8fb&&(_0x4eb304['push']({'id':Q['id'],'params':{'unitId':_0x94a987[_0x1e01e7(0x506)](),'op':_0x5bf8fb,'trigger':uo['id']}}),_0x17c454[_0x1e01e7(0x2d9)]({'id':Q['id'],'params':{'unitId':_0x94a987['getUnitId'](),'op':_0x4e9782['invertOp'](_0x83539b,_0x5bf8fb),'trigger':uo['id']}}));}let _0x24216d=_0x53104b[_0x1e01e7(0x315)](_0x2ca718),_0x1d7b77=_0x53104b[_0x1e01e7(0x315)](_0x51376c),_0x4df8fe=_0x1d7b77['__tempBatchingUndoRedo'](_0x4c131c[_0x1e01e7(0x3cb)]);try{return _0x557e96(_0x4eb304,_0x24216d)[_0x1e01e7(0x254)]?(_0x213842['focusUnit'](_0x4c131c[_0x1e01e7(0x3cb)]),_0x1d7b77[_0x1e01e7(0x34a)]({'unitID':_0x4c131c['unitId'],'undoMutations':_0x17c454,'redoMutations':_0x4eb304}),!0x0):!0x1;}finally{_0x4df8fe['dispose']();}}},fo={'type':_0x3d059d[_0x5daf81(0x44b)],'id':'base.command.set-permission',async 'handler'(_0x3db335,_0x2a4adb){const _0x56367e=_0x5daf81;if(!_0x2a4adb||!Tr[_0x56367e(0x4f9)](_0x2a4adb[_0x56367e(0x351)])||_0x2a4adb[_0x56367e(0x3d2)]!==_0x2a4adb[_0x56367e(0x3cb)]&&_0x2a4adb['action']!==_0x44dc45['Edit']||_0x2a4adb[_0x56367e(0x295)]&&(![_0x56367e(0x273),_0x56367e(0x55f),_0x56367e(0x259)][_0x56367e(0x4f9)](_0x2a4adb[_0x56367e(0x295)][_0x56367e(0x218)])||_0x2a4adb[_0x56367e(0x295)]['strategies'][_0x56367e(0x387)](_0x42e14b=>!Tr[_0x56367e(0x4f9)](_0x42e14b['action'])||_0x2a4adb[_0x56367e(0x3d2)]!==_0x2a4adb[_0x56367e(0x3cb)]&&_0x42e14b[_0x56367e(0x351)]!==_0x44dc45[_0x56367e(0x555)])))return!0x1;let _0xc9503a=Pr(_0x2a4adb[_0x56367e(0x3cb)],_0x2a4adb['objectId'],_0x2a4adb[_0x56367e(0x351)]),_0x126b98={'unitId':_0x2a4adb['unitId'],'objectId':_0x2a4adb['objectId'],'objectType':_0xc9503a[_0x56367e(0x305)]},_0xe6c342=_0x3db335['get'](_0x2cff1c);return _0x2a4adb[_0x56367e(0x491)]?await _0xe6c342[_0x56367e(0x491)](_0x126b98):_0x2a4adb[_0x56367e(0x295)]?await _0xe6c342[_0x56367e(0x4a9)](_0x126b98,_0x2a4adb[_0x56367e(0x295)]):await _0xe6c342['setPoint'](_0x126b98,_0xc9503a,_0x2a4adb['value']),!0x0;}},po={'type':_0x3d059d[_0x5daf81(0x44b)],'id':_0x5daf81(0x324),async 'handler'(_0x1de4e1,_0x49badb){const _0xa70696=_0x5daf81;if(!(_0x49badb!=null&&_0x49badb[_0xa70696(0x3cb)])||!Array[_0xa70696(0x31e)](_0x49badb[_0xa70696(0x465)])||!_0x49badb[_0xa70696(0x465)]['length']||_0x49badb[_0xa70696(0x465)][_0xa70696(0x387)](_0x3698a8=>!(_0x3698a8!=null&&_0x3698a8['objectId'])||_0x3698a8['objectId']===_0x49badb[_0xa70696(0x3cb)]||_0x3698a8['policy']!==null&&(!_0x3698a8[_0xa70696(0x295)]||![_0xa70696(0x273),_0xa70696(0x55f),_0xa70696(0x259)][_0xa70696(0x4f9)](_0x3698a8['policy'][_0xa70696(0x218)])||!Array[_0xa70696(0x31e)](_0x3698a8[_0xa70696(0x295)][_0xa70696(0x335)])||!Array[_0xa70696(0x31e)](_0x3698a8['policy']['strategies'])||_0x3698a8[_0xa70696(0x295)][_0xa70696(0x4c5)][_0xa70696(0x387)](_0x1d4c72=>_0x1d4c72['action']!==_0x44dc45[_0xa70696(0x555)]))))throw Error(_0xa70696(0x355));return _0x1de4e1[_0xa70696(0x315)](_0x2cff1c)['saveMany'](_0x49badb[_0xa70696(0x465)][_0xa70696(0x2b0)](_0x218c29=>{const _0x53d387=_0xa70696;let _0x5c3c41=Pr(_0x49badb[_0x53d387(0x3cb)],_0x218c29['objectId'],_0x44dc45[_0x53d387(0x555)]);return{'unitId':_0x49badb['unitId'],'objectId':_0x218c29['objectId'],'objectType':_0x5c3c41['type'],'policy':_0x218c29['policy']};}));}};function mo(_0xf4018f,_0x5df24c){const _0x45ec4e=_0x5daf81;let _0x448bf4=L(_0x9abbbc[_0x45ec4e(0x28e)](_0xf4018f)),_0x2ca971=new Map();return _0x5df24c[_0x45ec4e(0x429)](_0x3b3f95=>{const _0x3c411f=_0x45ec4e;var _0x479679,_0x21b254;let _0x21a5fd='recordId'in _0x3b3f95?_0x3b3f95[_0x3c411f(0x1c6)]:(_0x479679=_0x448bf4['rowId'])==null?void 0x0:_0x479679[_0x3b3f95['row']],_0x314f68=_0x3c411f(0x4a1)in _0x3b3f95?_0x3b3f95[_0x3c411f(0x4a1)]:(_0x21b254=_0x448bf4[_0x3c411f(0x33c)])==null?void 0x0:_0x21b254[_0x3b3f95['col']],_0x5cb051=_0x314f68?_0x448bf4[_0x3c411f(0x503)][_0x314f68]:void 0x0;if(!_0x21a5fd||!_0x314f68||!_0x5cb051||!_0x448bf4[_0x3c411f(0x43a)][_0x21a5fd])return;let _0x3e00ca=xt(_0x3b3f95[_0x3c411f(0x3fd)],_0x5cb051),_0x2ede70=wt(_0x3b3f95[_0x3c411f(0x3fd)],_0x3e00ca,_0x5cb051,_0x448bf4,_0x21a5fd),_0xc6d7a6=_0x2ca971[_0x3c411f(0x315)](_0x21a5fd)??{};_0xc6d7a6[_0x314f68]=_0x2ede70,_0x2ca971[_0x3c411f(0x1ba)](_0x21a5fd,_0xc6d7a6);}),[..._0x2ca971][_0x45ec4e(0x2b0)](([_0x437767,_0x528c63])=>({'recordId':_0x437767,'values':_0x528c63}));}const ho={'id':_0x5daf81(0x1db),'type':_0x3d059d[_0x5daf81(0x44b)],'handler'(_0x598153,_0x1ea2ee){const _0x1ed67e=_0x5daf81;if(!_0x1ea2ee)return!0x1;let _0x290c49=_0x598153[_0x1ed67e(0x315)](_0x364596),{unitId:_0x483f12,tableId:_0x2eb0cb,patches:_0x5d9b5a}=_0x1ea2ee,_0x12e7b8=_0x290c49[_0x1ed67e(0x1ed)](_0x483f12,_0x2ddca0[_0x1ed67e(0x33d)]);if(!_0x12e7b8||!$(_0x12e7b8,_0x2eb0cb))return!0x1;let _0x2d8b26=_0x598153['get'](_0x2ca718),_0x6373fc=_0x598153['get'](_0x51376c),_0x677fd=_0x12e7b8[_0x1ed67e(0x2f3)](),_0x5209c3=L(_0x677fd[_0x1ed67e(0x2f7)][_0x2eb0cb]),_0x21bb9b=_0x5d9b5a[_0x1ed67e(0x2b0)](_0x5aca1d=>{const _0x344c04=_0x1ed67e;var _0x598136;return _0x344c04(0x1c6)in _0x5aca1d?_0x5aca1d['recordId']:(_0x598136=_0x5209c3[_0x344c04(0x1ec)])==null?void 0x0:_0x598136[_0x5aca1d['row']];})[_0x1ed67e(0x32f)](_0x4c8795=>_0x4c8795!=null),_0x2d79ad=_0x5d9b5a[_0x1ed67e(0x2b0)](_0x315178=>{const _0x19ceb2=_0x1ed67e;var _0x43f20f;return'fieldId'in _0x315178?_0x315178[_0x19ceb2(0x4a1)]:(_0x43f20f=_0x5209c3[_0x19ceb2(0x33c)])==null?void 0x0:_0x43f20f[_0x315178[_0x19ceb2(0x2f0)]];})[_0x1ed67e(0x32f)](_0x4bfd32=>_0x4bfd32!=null);if(_0x21bb9b[_0x1ed67e(0x21d)]!==_0x5d9b5a[_0x1ed67e(0x21d)]||_0x2d79ad['length']!==_0x5d9b5a[_0x1ed67e(0x21d)]||!$(_0x12e7b8,_0x2eb0cb,{'recordIds':_0x21bb9b,'fieldIds':_0x2d79ad})||_0x5d9b5a[_0x1ed67e(0x387)]((_0x425620,_0x1bba94)=>!ga(_0x12e7b8,_0x2eb0cb,_0x2d79ad[_0x1bba94],_0x425620[_0x1ed67e(0x3fd)])))return!0x1;let _0x302f76=Ze(_0x5209c3,mo(_0x5209c3,_0x5d9b5a)),_0x5e7a9e=_0x5d9b5a[_0x1ed67e(0x36c)](_0x80eec1=>{const _0x3e3e07=_0x1ed67e;var _0x5d2d16,_0x250f9c;if('row'in _0x80eec1)return[_0x80eec1];let _0x3c71f2=(_0x5d2d16=_0x5209c3['rowIndex'])==null?void 0x0:_0x5d2d16[_0x80eec1['recordId']],_0x4cb990=(_0x250f9c=_0x5209c3[_0x3e3e07(0x3b9)])==null?void 0x0:_0x250f9c[_0x80eec1[_0x3e3e07(0x4a1)]];return _0x3c71f2==null||_0x4cb990==null?[]:[{'row':_0x3c71f2,'col':_0x4cb990,'value':_0x80eec1[_0x3e3e07(0x3fd)]}];}),_0x186a3a=new W()[_0x1ed67e(0x1d7)](_0x677fd,_0x2eb0cb,_0x5e7a9e),_0x28064e=new z()['invertOp'](_0x677fd,_0x186a3a),_0x5e47df={'unitId':_0x483f12,'op':_0x186a3a,'trigger':_0x302f76[_0x1ed67e(0x21d)]?ho['id']:void 0x0,'hierarchyChanges':_0x302f76['length']?_0x302f76:void 0x0,'source':_0x302f76['length']?_0x1ed67e(0x424):void 0x0},_0x427b80={'unitId':_0x483f12,'op':_0x28064e,'trigger':_0x302f76['length']?ho['id']:void 0x0,'hierarchyChanges':_0x302f76[_0x1ed67e(0x21d)]?_0x302f76[_0x1ed67e(0x2b0)](_0x9b6e54=>({..._0x9b6e54,'oldParentRecordId':_0x9b6e54[_0x1ed67e(0x419)],'parentRecordId':_0x9b6e54[_0x1ed67e(0x266)]})):void 0x0,'source':_0x302f76[_0x1ed67e(0x21d)]?_0x1ed67e(0x3a8):void 0x0},_0x426817={..._0x5e47df,'source':_0x302f76[_0x1ed67e(0x21d)]?_0x1ea2ee[_0x1ed67e(0x1e1)]??'ui':void 0x0};return _0x2d8b26[_0x1ed67e(0x1e6)](Q['id'],_0x426817)?(_0x290c49[_0x1ed67e(0x2ac)](_0x483f12),_0x6373fc[_0x1ed67e(0x34a)]({'unitID':_0x483f12,'undoMutations':[{'id':Q['id'],'params':_0x427b80}],'redoMutations':[{'id':Q['id'],'params':_0x5e47df}]}),!0x0):!0x1;}},go={'id':'base.command.set-base-record-values','type':_0x3d059d['COMMAND'],'handler'(_0x3a1675,_0x40de88){const _0x59bf18=_0x5daf81;if(!_0x40de88)return!0x1;let _0x30da42=_0x3a1675[_0x59bf18(0x315)](_0x364596),{unitId:_0x411959,tableId:_0x1c71a8,patches:_0x52d514}=_0x40de88,_0x3913b1=_0x30da42[_0x59bf18(0x1ed)](_0x411959,_0x2ddca0[_0x59bf18(0x33d)]),_0x3f472c=_0x52d514[_0x59bf18(0x2b0)](_0x557ca1=>_0x557ca1[_0x59bf18(0x1c6)]),_0xbc8561=_0x52d514[_0x59bf18(0x36c)](_0x3ef086=>Object['keys'](_0x3ef086['values']));if(!_0x3913b1||!$(_0x3913b1,_0x1c71a8,{'recordIds':_0x3f472c,'fieldIds':_0xbc8561})||_0x52d514[_0x59bf18(0x387)](_0x3abfd7=>Object[_0x59bf18(0x2e4)](_0x3abfd7[_0x59bf18(0x45b)])[_0x59bf18(0x387)](([_0x2aaa21,_0x3d9714])=>!ga(_0x3913b1,_0x1c71a8,_0x2aaa21,_0x3d9714))))return!0x1;let _0x5fcd35=Ze(_0x3913b1[_0x59bf18(0x2f3)]()[_0x59bf18(0x2f7)][_0x1c71a8],_0x52d514),_0x54e2ee=_0x3a1675[_0x59bf18(0x315)](_0x2ca718),_0x185ef4=_0x3a1675['get'](_0x51376c),_0x4505fb=_0x3a1675['get'](Kr)['createSetRecordValuesOp'](_0x3913b1,_0x1c71a8,_0x52d514),_0x540b57=new z()[_0x59bf18(0x388)](_0x3913b1['getSnapshot'](),_0x4505fb),_0x3debaa={'unitId':_0x411959,'op':_0x4505fb,'trigger':_0x5fcd35[_0x59bf18(0x21d)]?go['id']:void 0x0,'hierarchyChanges':_0x5fcd35[_0x59bf18(0x21d)]?_0x5fcd35:void 0x0,'source':_0x5fcd35[_0x59bf18(0x21d)]?_0x40de88[_0x59bf18(0x1e1)]??'ui':void 0x0},_0x5e3c28={..._0x3debaa,'source':_0x5fcd35['length']?_0x59bf18(0x424):void 0x0},_0x752e1b={'unitId':_0x411959,'op':_0x540b57,'trigger':_0x5fcd35['length']?go['id']:void 0x0,'hierarchyChanges':_0x5fcd35[_0x59bf18(0x21d)]?_0x5fcd35[_0x59bf18(0x2b0)](_0x2e4ec9=>({..._0x2e4ec9,'oldParentRecordId':_0x2e4ec9[_0x59bf18(0x419)],'parentRecordId':_0x2e4ec9[_0x59bf18(0x266)]})):void 0x0,'source':_0x5fcd35[_0x59bf18(0x21d)]?_0x59bf18(0x3a8):void 0x0};return _0x54e2ee['syncExecuteCommand'](Q['id'],_0x3debaa)?(_0x30da42['focusUnit'](_0x411959),_0x185ef4[_0x59bf18(0x34a)]({'unitID':_0x411959,'undoMutations':[{'id':Q['id'],'params':_0x752e1b}],'redoMutations':[{'id':Q['id'],'params':_0x5e3c28}]}),!0x0):!0x1;}},_o={'id':_0x5daf81(0x316),'type':_0x3d059d[_0x5daf81(0x44b)],'handler':(_0xfbb829,_0x1e6fee)=>{const _0x5d2fad=_0x5daf81;if(!_0x1e6fee)return!0x1;let {unitId:_0x5af755,tableId:_0xbf7a2a,fieldId:_0x1490a1}=_0x1e6fee,_0x3323f6=_0xfbb829['get'](_0x364596),_0x11f4fc=_0x3323f6[_0x5d2fad(0x1ed)](_0x5af755,_0x2ddca0[_0x5d2fad(0x33d)]);if(!_0x11f4fc||!$(_0x11f4fc,_0xbf7a2a))return!0x1;let _0x5c1ecc=_0x11f4fc[_0x5d2fad(0x2f3)](),_0x1422df=_0x5c1ecc[_0x5d2fad(0x2f7)][_0xbf7a2a];if(_0x1490a1!==null&&!F(_0x1422df,_0x1490a1))throw new P(_0x5d2fad(0x48a));if(qe(_0x1422df)===_0x1490a1)return!0x0;let _0x1de124=new W(),_0x27b265=R(Object[_0x5d2fad(0x45b)](_0x1422df[_0x5d2fad(0x503)])[_0x5d2fad(0x36c)](_0x1e4147=>{const _0x39561b=_0x5d2fad;if(!F(_0x1422df,_0x1e4147['id']))return[];let _0x41cb04=N(_0x1e4147);if(!_0x41cb04)return[];let _0xe12c23=_0x1e4147['id']===_0x1490a1;if(_0x41cb04['relationRole']===_0x1d1c88[_0x39561b(0x3fa)]===_0xe12c23)return[];let _0x2b3c50={..._0x1e4147[_0x39561b(0x396)],'targetTableId':_0x41cb04[_0x39561b(0x337)],'multiple':_0x41cb04[_0x39561b(0x3bd)]};return _0xe12c23?_0x2b3c50[_0x39561b(0x33e)]=_0x1d1c88[_0x39561b(0x3fa)]:delete _0x2b3c50[_0x39561b(0x33e)],[_0x1de124[_0x39561b(0x23d)](_0x5c1ecc,_0xbf7a2a,_0x1e4147['id'],{'config':_0x2b3c50})];})),_0x26b577=new z()[_0x5d2fad(0x388)](_0x5c1ecc,_0x27b265),_0x3f0af6={'unitId':_0x5af755,'op':_0x27b265},_0x37f5be={'unitId':_0x5af755,'op':_0x26b577};return _0xfbb829[_0x5d2fad(0x315)](_0x2ca718)['syncExecuteCommand'](Q['id'],_0x3f0af6)?(_0x3323f6[_0x5d2fad(0x2ac)](_0x5af755),_0xfbb829['get'](_0x51376c)[_0x5d2fad(0x34a)]({'unitID':_0x5af755,'undoMutations':[{'id':Q['id'],'params':_0x37f5be}],'redoMutations':[{'id':Q['id'],'params':_0x3f0af6}]}),!0x0):!0x1;}},vo={'id':_0x5daf81(0x210),'type':_0x3d059d[_0x5daf81(0x44b)],'handler':(_0x2b1b85,_0x21ae90)=>{const _0x2c1160=_0x5daf81;if(!_0x21ae90)return!0x1;let _0x33b7ae=_0x2b1b85['get'](_0x364596),{unitId:_0x31acbf,tableId:_0x458ef3,viewId:_0x3694d7,fieldId:_0x1181e2,target:_0x5d5f03}=_0x21ae90,_0x57d848=_0x33b7ae[_0x2c1160(0x1ed)](_0x31acbf,_0x2ddca0[_0x2c1160(0x33d)]),_0x5d234e=_0x5d5f03['beforeFieldId']??_0x5d5f03['afterFieldId'];if(!_0x57d848||!_0x5d234e||_0x5d234e===_0x1181e2||!$(_0x57d848,_0x458ef3,{'viewIds':[_0x3694d7],'fieldIds':[_0x1181e2,_0x5d234e]}))return!0x1;let _0x373581=_0x57d848[_0x2c1160(0x2f3)]()['tables'][_0x458ef3],_0x174d21=_0x373581[_0x2c1160(0x503)][_0x1181e2],_0x5e30d6=_0x373581[_0x2c1160(0x503)][_0x5d234e];if(_0x174d21['system']===!0x0||_0x174d21[_0x2c1160(0x305)]===_0x618ba[_0x2c1160(0x28f)]||_0x5e30d6['system']===!0x0||_0x5e30d6['type']===_0x618ba[_0x2c1160(0x28f)])return!0x1;let _0x378141=_0x2b1b85[_0x2c1160(0x315)](_0x2ca718),_0x56b7e8=_0x2b1b85[_0x2c1160(0x315)](_0x51376c),_0x30f971=_0x57d848[_0x2c1160(0x2f3)](),_0xc9cbb9=new W()[_0x2c1160(0x511)](_0x30f971,_0x458ef3,_0x3694d7,_0x1181e2,_0x5d5f03),_0x49fe7c=new z()[_0x2c1160(0x388)](_0x30f971,_0xc9cbb9),_0x2a07f0={'unitId':_0x31acbf,'op':_0xc9cbb9},_0x50b219={'unitId':_0x31acbf,'op':_0x49fe7c};return _0x378141[_0x2c1160(0x1e6)](Q['id'],_0x2a07f0)?(_0x33b7ae['focusUnit'](_0x31acbf),_0x56b7e8['pushUndoRedo']({'unitID':_0x31acbf,'undoMutations':[{'id':Q['id'],'params':_0x50b219}],'redoMutations':[{'id':Q['id'],'params':_0x2a07f0}]}),!0x0):!0x1;}},yo={'id':_0x5daf81(0x2a0),'type':_0x3d059d['COMMAND'],'handler'(_0x50c2ae,_0x58a98c){const _0x4ca3a0=_0x5daf81;if(!_0x58a98c)return!0x1;let _0x452d87=_0x50c2ae[_0x4ca3a0(0x315)](_0x364596),{unitId:_0x5ac077,tableId:_0x4e0f97,viewId:_0x31f9dc,fieldId:_0x3def5b,visible:_0x6a9311}=_0x58a98c,_0x788dcf=_0x452d87[_0x4ca3a0(0x1ed)](_0x5ac077,_0x2ddca0[_0x4ca3a0(0x33d)]);if(!_0x788dcf||!$(_0x788dcf,_0x4e0f97,{'viewIds':[_0x31f9dc],'fieldIds':[_0x3def5b]}))return!0x1;let _0x38f430=_0x788dcf[_0x4ca3a0(0x2f3)]()['tables'][_0x4e0f97]['fields'][_0x3def5b];if(_0x38f430[_0x4ca3a0(0x3db)]===!0x0||_0x38f430[_0x4ca3a0(0x305)]===_0x618ba[_0x4ca3a0(0x28f)])return!0x1;let _0x48242d=_0x50c2ae[_0x4ca3a0(0x315)](_0x2ca718),_0x3580fe=_0x50c2ae[_0x4ca3a0(0x315)](_0x51376c),_0x450999=_0x788dcf[_0x4ca3a0(0x2f3)](),_0xaba682=new W()[_0x4ca3a0(0x44d)](_0x450999,_0x4e0f97,_0x31f9dc,_0x3def5b,_0x6a9311),_0x4a4581=new z()[_0x4ca3a0(0x388)](_0x450999,_0xaba682),_0x3d9cc6={'unitId':_0x5ac077,'op':_0xaba682},_0x1fe966={'unitId':_0x5ac077,'op':_0x4a4581};return _0x48242d[_0x4ca3a0(0x1e6)](Q['id'],_0x3d9cc6)?(_0x452d87['focusUnit'](_0x5ac077),_0x3580fe[_0x4ca3a0(0x34a)]({'unitID':_0x5ac077,'undoMutations':[{'id':Q['id'],'params':_0x1fe966}],'redoMutations':[{'id':Q['id'],'params':_0x3d9cc6}]}),!0x0):!0x1;}},bo={'id':_0x5daf81(0x297),'type':_0x3d059d['COMMAND'],'handler':(_0xce2abe,_0x1e8e65)=>{const _0x55868d=_0x5daf81;if(!_0x1e8e65)return!0x1;let _0x38da5e=_0xce2abe[_0x55868d(0x315)](_0x364596),{unitId:_0x263763,tableId:_0x265bcb,viewId:_0x3b76b5,fieldId:_0x4dd3be,width:_0x4c6169}=_0x1e8e65,_0x266610=_0x38da5e[_0x55868d(0x1ed)](_0x263763,_0x2ddca0[_0x55868d(0x33d)]);if(!_0x266610||!$(_0x266610,_0x265bcb,{'viewIds':[_0x3b76b5],'fieldIds':[_0x4dd3be]}))return!0x1;let _0x202aa7=_0x266610[_0x55868d(0x2f3)]()[_0x55868d(0x2f7)][_0x265bcb][_0x55868d(0x503)][_0x4dd3be];if(_0x202aa7[_0x55868d(0x3db)]===!0x0||_0x202aa7[_0x55868d(0x305)]===_0x618ba[_0x55868d(0x28f)])return!0x1;let _0x11f0bf=_0xce2abe[_0x55868d(0x315)](_0x2ca718),_0x4381ea=_0xce2abe[_0x55868d(0x315)](_0x51376c),_0x4c0fde=_0x266610[_0x55868d(0x2f3)](),_0x5a6340=new W()[_0x55868d(0x41a)](_0x4c0fde,_0x265bcb,_0x3b76b5,_0x4dd3be,_0x4c6169),_0xf962db=new z()['invertOp'](_0x4c0fde,_0x5a6340),_0xa77f01={'unitId':_0x263763,'op':_0x5a6340},_0x34d138={'unitId':_0x263763,'op':_0xf962db};return _0x11f0bf[_0x55868d(0x1e6)](Q['id'],_0xa77f01)?(_0x38da5e[_0x55868d(0x2ac)](_0x263763),_0x4381ea[_0x55868d(0x34a)]({'unitID':_0x263763,'undoMutations':[{'id':Q['id'],'params':_0x34d138}],'redoMutations':[{'id':Q['id'],'params':_0xa77f01}]}),!0x0):!0x1;}},xo={'id':_0x5daf81(0x20d),'type':_0x3d059d[_0x5daf81(0x44b)],'handler':(_0x21ab5e,_0x39c28d)=>{const _0x4da41a=_0x5daf81;if(!_0x39c28d)return!0x1;let _0x2c636e=_0x21ab5e[_0x4da41a(0x315)](_0x364596),{unitId:_0x1f9970,tableId:_0x3d9e03,viewId:_0xa4aa8d,filter:_0x4e3295}=_0x39c28d,_0x381503=_0x2c636e['getUnit'](_0x1f9970,_0x2ddca0[_0x4da41a(0x33d)]),_0x212b02=(_0x4e3295==null?void 0x0:_0x4e3295['conditions'][_0x4da41a(0x2b0)](_0x1d14ce=>_0x1d14ce[_0x4da41a(0x4a1)]))??[];if(!_0x381503||!$(_0x381503,_0x3d9e03,{'viewIds':[_0xa4aa8d],'fieldIds':_0x212b02}))return!0x1;let _0x54408e=_0x21ab5e[_0x4da41a(0x315)](_0x2ca718),_0x321132=_0x21ab5e['get'](_0x51376c),_0x3feb72=_0x381503[_0x4da41a(0x2f3)](),_0x703608=new W()[_0x4da41a(0x4ea)](_0x3feb72,_0x3d9e03,_0xa4aa8d,_0x4e3295),_0x5b330e=new z()['invertOp'](_0x3feb72,_0x703608),_0x4c3a13={'unitId':_0x1f9970,'op':_0x703608},_0x3b10da={'unitId':_0x1f9970,'op':_0x5b330e};return _0x54408e[_0x4da41a(0x1e6)](Q['id'],_0x4c3a13)?(_0x2c636e[_0x4da41a(0x2ac)](_0x1f9970),_0x321132['pushUndoRedo']({'unitID':_0x1f9970,'undoMutations':[{'id':Q['id'],'params':_0x3b10da}],'redoMutations':[{'id':Q['id'],'params':_0x4c3a13}]}),!0x0):!0x1;}},So={'id':_0x5daf81(0x523),'type':_0x3d059d[_0x5daf81(0x44b)],'handler':(_0x59b5f0,_0x2a653f)=>{const _0x6574a9=_0x5daf81;if(!_0x2a653f)return!0x1;let _0x4ff693=_0x59b5f0[_0x6574a9(0x315)](_0x364596),{unitId:_0x809a9f,tableId:_0x4389fc,viewId:_0x3e223c,group:_0x5f29da}=_0x2a653f,_0x484f87=_0x4ff693['getUnit'](_0x809a9f,_0x2ddca0['UNIVER_BASE']);if(!_0x484f87||!$(_0x484f87,_0x4389fc,{'viewIds':[_0x3e223c],'fieldIds':_0x5f29da[_0x6574a9(0x2b0)](_0x23ce49=>_0x23ce49[_0x6574a9(0x4a1)])}))return!0x1;let _0x40e902=_0x59b5f0[_0x6574a9(0x315)](_0x2ca718),_0xd08be=_0x59b5f0[_0x6574a9(0x315)](_0x51376c),_0x283884=_0x484f87['getSnapshot'](),_0x162753=new W()[_0x6574a9(0x40b)](_0x283884,_0x4389fc,_0x3e223c,_0x5f29da),_0x3ee8d8=new z()[_0x6574a9(0x388)](_0x283884,_0x162753),_0x5c5106={'unitId':_0x809a9f,'op':_0x162753},_0x1a974f={'unitId':_0x809a9f,'op':_0x3ee8d8};return _0x40e902[_0x6574a9(0x1e6)](Q['id'],_0x5c5106)?(_0x4ff693[_0x6574a9(0x2ac)](_0x809a9f),_0xd08be['pushUndoRedo']({'unitID':_0x809a9f,'undoMutations':[{'id':Q['id'],'params':_0x1a974f}],'redoMutations':[{'id':Q['id'],'params':_0x5c5106}]}),!0x0):!0x1;}},Co={'id':_0x5daf81(0x4b9),'type':_0x3d059d[_0x5daf81(0x44b)],'handler':(_0x9e5bfa,_0x2f39f0)=>{const _0x17bcf1=_0x5daf81;if(!_0x2f39f0)return!0x1;let _0x58107d=_0x9e5bfa[_0x17bcf1(0x315)](_0x364596),{unitId:_0x5d4ed0,tableId:_0x532fad,viewId:_0x1fd615,sort:_0x591362}=_0x2f39f0,_0x11aa2d=_0x58107d[_0x17bcf1(0x1ed)](_0x5d4ed0,_0x2ddca0[_0x17bcf1(0x33d)]);if(!_0x11aa2d||!$(_0x11aa2d,_0x532fad,{'viewIds':[_0x1fd615],'fieldIds':_0x591362[_0x17bcf1(0x2b0)](_0x1c13fb=>_0x1c13fb[_0x17bcf1(0x4a1)])}))return!0x1;let _0x225d13=_0x9e5bfa[_0x17bcf1(0x315)](_0x2ca718),_0xae8e14=_0x9e5bfa['get'](_0x51376c),_0x2c37e8=_0x11aa2d['getSnapshot'](),_0x524975=new W()[_0x17bcf1(0x367)](_0x2c37e8,_0x532fad,_0x1fd615,_0x591362),_0x222a0f=new z()[_0x17bcf1(0x388)](_0x2c37e8,_0x524975),_0x482695={'unitId':_0x5d4ed0,'op':_0x524975},_0x253778={'unitId':_0x5d4ed0,'op':_0x222a0f};return _0x225d13[_0x17bcf1(0x1e6)](Q['id'],_0x482695)?(_0x58107d[_0x17bcf1(0x2ac)](_0x5d4ed0),_0xae8e14[_0x17bcf1(0x34a)]({'unitID':_0x5d4ed0,'undoMutations':[{'id':Q['id'],'params':_0x253778}],'redoMutations':[{'id':Q['id'],'params':_0x482695}]}),!0x0):!0x1;}},wo={'id':_0x5daf81(0x420),'type':_0x3d059d['COMMAND'],'handler'(_0x399208,_0x1cb84c){const _0x80c7d2=_0x5daf81;if(!_0x1cb84c)return!0x1;let _0x5e73b5=_0x399208[_0x80c7d2(0x315)](_0x364596),{unitId:_0x4d04bb,tableId:_0x101b7d,recordId:_0x2af820,fieldId:_0x48e80c,value:_0x155b66}=_0x1cb84c,_0x323932=_0x5e73b5[_0x80c7d2(0x1ed)](_0x4d04bb,_0x2ddca0[_0x80c7d2(0x33d)]);if(!_0x323932||!$(_0x323932,_0x101b7d,{'recordIds':[_0x2af820],'fieldIds':[_0x48e80c]})||!ga(_0x323932,_0x101b7d,_0x48e80c,_0x155b66))return!0x1;let _0x5d0f4a=_0x323932[_0x80c7d2(0x2f3)]()[_0x80c7d2(0x2f7)][_0x101b7d],_0xcb3a7a=F(_0x5d0f4a,_0x48e80c)&&Xe(_0x5d0f4a)[_0x80c7d2(0x4f9)](_0x48e80c),_0x1f4e76=_0xcb3a7a?tt(_0x5d0f4a,_0x48e80c):null,_0x70fcce=(_0x1f4e76==null?void 0x0:_0x1f4e76['parentByRecordId'][_0x80c7d2(0x315)](_0x2af820))??null,_0x51bb96=_0xcb3a7a?Le(_0x155b66)[0x0]??null:null;if(_0x1f4e76){if(_0x51bb96&&!_0x5d0f4a['records'][_0x51bb96])throw new P(_0x80c7d2(0x3e8));let _0x384aef=it(_0x1f4e76,_0x2af820,_0x51bb96);if(!_0x384aef[_0x80c7d2(0x36d)])throw new P(_0x384aef[_0x80c7d2(0x483)]===_0x335882[_0x80c7d2(0x1fe)]?_0x80c7d2(0x343):_0x384aef[_0x80c7d2(0x483)]===_0x335882['Cycle']?_0x80c7d2(0x2a5):_0x80c7d2(0x25b));}let _0x288fa0=_0x399208[_0x80c7d2(0x315)](_0x2ca718),_0xb4b17c=_0x399208[_0x80c7d2(0x315)](_0x51376c),_0x2266d6=_0x399208[_0x80c7d2(0x315)](Kr),_0x3d8222;try{_0x3d8222=_0x2266d6[_0x80c7d2(0x46c)](_0x323932,_0x101b7d,_0x2af820,_0x48e80c,_0x155b66);}catch(_0x1a7c59){return console[_0x80c7d2(0x51c)](_0x80c7d2(0x3f8),_0x1a7c59),!0x1;}let _0x4ea736=new z()[_0x80c7d2(0x388)](_0x323932[_0x80c7d2(0x2f3)](),_0x3d8222),_0x53a82e=_0xcb3a7a&&_0x70fcce!==_0x51bb96?[{'tableId':_0x101b7d,'fieldId':_0x48e80c,'recordId':_0x2af820,'oldParentRecordId':_0x70fcce,'parentRecordId':_0x51bb96}]:void 0x0,_0x320084={'unitId':_0x4d04bb,'op':_0x3d8222,'trigger':_0x53a82e?wo['id']:void 0x0,'hierarchyChanges':_0x53a82e,'source':_0x53a82e?_0x1cb84c['source']??'ui':void 0x0},_0xf5119={..._0x320084,'source':_0x53a82e?'redo':void 0x0},_0xd42434={'unitId':_0x4d04bb,'op':_0x4ea736,'trigger':_0x53a82e?wo['id']:void 0x0,'hierarchyChanges':_0x53a82e==null?void 0x0:_0x53a82e['map'](_0x339de8=>({..._0x339de8,'oldParentRecordId':_0x339de8[_0x80c7d2(0x419)],'parentRecordId':_0x339de8[_0x80c7d2(0x266)]})),'source':_0x53a82e?_0x80c7d2(0x3a8):void 0x0};return _0x288fa0[_0x80c7d2(0x1e6)](Q['id'],_0x320084)?(_0x5e73b5[_0x80c7d2(0x49c)]()||_0x5e73b5[_0x80c7d2(0x2ac)](_0x4d04bb),_0xb4b17c[_0x80c7d2(0x34a)]({'unitID':_0x4d04bb,'undoMutations':[{'id':Q['id'],'params':_0xd42434}],'redoMutations':[{'id':Q['id'],'params':_0xf5119}]}),!0x0):!0x1;}},To={'id':_0x5daf81(0x23f),'type':_0x3d059d['COMMAND'],'handler'(_0x13cbdb,_0x5c7483){const _0x5a3efd=_0x5daf81;if(!_0x5c7483)return!0x1;let _0x335417=_0x13cbdb['get'](_0x364596),{unitId:_0x5a31c7,tableId:_0x4af180,fieldId:_0x2361f3}=_0x5c7483,_0x47fcc3=_0x335417[_0x5a3efd(0x1ed)](_0x5a31c7,_0x2ddca0[_0x5a3efd(0x33d)]);if(!_0x47fcc3||!$(_0x47fcc3,_0x4af180,{'fieldIds':[_0x2361f3]}))return!0x1;let _0x28516e=_0x13cbdb[_0x5a3efd(0x315)](_0x2ca718),_0x43f18b=_0x13cbdb[_0x5a3efd(0x315)](_0x51376c),_0x22b715=_0x47fcc3[_0x5a3efd(0x2f3)](),_0x2eced1=_0x5c7483[_0x5a3efd(0x4e0)][_0x5a3efd(0x3a5)](),_0x1f8452=new W()[_0x5a3efd(0x23d)](_0x22b715,_0x4af180,_0x2361f3,{'description':_0x2eced1}),_0x2be4b0=new z()[_0x5a3efd(0x388)](_0x47fcc3[_0x5a3efd(0x2f3)](),_0x1f8452),_0x28a81e={'unitId':_0x5a31c7,'op':_0x1f8452},_0x4686db={'unitId':_0x5a31c7,'op':_0x2be4b0};return _0x28516e[_0x5a3efd(0x1e6)](Q['id'],_0x28a81e)?(_0x335417[_0x5a3efd(0x2ac)](_0x5a31c7),_0x43f18b[_0x5a3efd(0x34a)]({'unitID':_0x5a31c7,'undoMutations':[{'id':Q['id'],'params':_0x4686db}],'redoMutations':[{'id':Q['id'],'params':_0x28a81e}]}),!0x0):!0x1;}},Eo={'id':_0x5daf81(0x403),'type':_0x3d059d[_0x5daf81(0x44b)],'handler':(_0x5797ae,_0x50b22b)=>{const _0x1f9835=_0x5daf81;if(!_0x50b22b)return!0x1;let _0x21b854=_0x5797ae[_0x1f9835(0x315)](_0x364596),{unitId:_0x597538,tableId:_0x146474,fieldId:_0x5485bd,patch:_0x3c9a27}=_0x50b22b,_0x36f5f1=_0x21b854[_0x1f9835(0x1ed)](_0x597538,_0x2ddca0[_0x1f9835(0x33d)]);if(!_0x36f5f1||_0x5485bd===_0x4a6fc3||!$(_0x36f5f1,_0x146474,{'fieldIds':[_0x5485bd]}))return!0x1;let _0x97bfb1=_0x5797ae[_0x1f9835(0x315)](_0x2ca718),_0x484462=_0x5797ae[_0x1f9835(0x315)](_0x51376c),_0x2f51fa=_0x36f5f1['getSnapshot']();if(!ha(_0x36f5f1,_0x146474,{..._0x2f51fa[_0x1f9835(0x2f7)][_0x146474][_0x1f9835(0x503)][_0x5485bd],..._0x3c9a27}))return!0x1;let _0x1ddc08=new W()[_0x1f9835(0x23d)](_0x2f51fa,_0x146474,_0x5485bd,_0x3c9a27),_0x85cdf1=new z()[_0x1f9835(0x388)](_0x2f51fa,_0x1ddc08),_0x5d54c6={'unitId':_0x597538,'op':_0x1ddc08},_0x289a6c={'unitId':_0x597538,'op':_0x85cdf1};return _0x97bfb1[_0x1f9835(0x1e6)](Q['id'],_0x5d54c6)?(_0x21b854[_0x1f9835(0x2ac)](_0x597538),_0x484462[_0x1f9835(0x34a)]({'unitID':_0x597538,'undoMutations':[{'id':Q['id'],'params':_0x289a6c}],'redoMutations':[{'id':Q['id'],'params':_0x5d54c6}]}),!0x0):!0x1;}},Do={'id':'base.command.update-base-kanban-config','type':_0x3d059d[_0x5daf81(0x44b)],'handler':(_0x590ac3,_0x41e43d)=>{const _0x52528c=_0x5daf81;if(!_0x41e43d)return!0x1;let _0x4dd6f2=_0x590ac3[_0x52528c(0x315)](_0x364596),{unitId:_0x471fbf,tableId:_0x3f2a9f,viewId:_0x1d6f14,patch:_0x213497}=_0x41e43d,_0x339e47=_0x4dd6f2['getUnit'](_0x471fbf,_0x2ddca0[_0x52528c(0x33d)]);if(!_0x339e47||!$(_0x339e47,_0x3f2a9f,{'viewIds':[_0x1d6f14]}))return!0x1;let _0x100b16=_0x590ac3[_0x52528c(0x315)](_0x2ca718),_0x1bb115=_0x590ac3['get'](_0x51376c),_0x56e158=_0x339e47[_0x52528c(0x2f3)](),_0x368c5a=new W()[_0x52528c(0x4c9)](_0x56e158,_0x3f2a9f,_0x1d6f14,_0x213497),_0x32a08a=new z()['invertOp'](_0x56e158,_0x368c5a),_0x5b1c2b={'unitId':_0x471fbf,'op':_0x368c5a},_0x593430={'unitId':_0x471fbf,'op':_0x32a08a};return _0x100b16['syncExecuteCommand'](Q['id'],_0x5b1c2b)?(_0x4dd6f2[_0x52528c(0x2ac)](_0x471fbf),_0x1bb115['pushUndoRedo']({'unitID':_0x471fbf,'undoMutations':[{'id':Q['id'],'params':_0x593430}],'redoMutations':[{'id':Q['id'],'params':_0x5b1c2b}]}),!0x0):!0x1;}},Oo={'id':_0x5daf81(0x1f5),'type':_0x3d059d['COMMAND'],'handler':(_0x23d717,_0x5eca3a)=>{const _0xa40227=_0x5daf81;if(!_0x5eca3a)return!0x1;let _0x287e16=_0x23d717[_0xa40227(0x315)](_0x364596),{unitId:_0x8b2a8f,tableId:_0x22a165,recordId:_0x5ca6d4,orderKey:_0xd04b55}=_0x5eca3a,_0x416839=_0x287e16[_0xa40227(0x1ed)](_0x8b2a8f,_0x2ddca0[_0xa40227(0x33d)]);if(!_0x416839||!$(_0x416839,_0x22a165,{'recordIds':[_0x5ca6d4]}))return!0x1;let _0x3e4528=_0x23d717[_0xa40227(0x315)](_0x2ca718),_0xa436d8=_0x23d717[_0xa40227(0x315)](_0x51376c),_0x2ddd00=_0x416839[_0xa40227(0x2f3)](),_0x35d97f=new W()[_0xa40227(0x3f6)](_0x2ddd00,_0x22a165,_0x5ca6d4,_0xd04b55),_0x3343b2=new z()[_0xa40227(0x388)](_0x2ddd00,_0x35d97f),_0x1d0139={'unitId':_0x8b2a8f,'op':_0x35d97f},_0x337abf={'unitId':_0x8b2a8f,'op':_0x3343b2};return _0x3e4528[_0xa40227(0x1e6)](Q['id'],_0x1d0139)?(_0x287e16[_0xa40227(0x2ac)](_0x8b2a8f),_0xa436d8[_0xa40227(0x34a)]({'unitID':_0x8b2a8f,'undoMutations':[{'id':Q['id'],'params':_0x337abf}],'redoMutations':[{'id':Q['id'],'params':_0x1d0139}]}),!0x0):!0x1;}};let ko=function(_0x1ef3b6){const _0x4f0f10=_0x5daf81;return _0x1ef3b6[_0x4f0f10(0x282)]=_0x4f0f10(0x1ba),_0x1ef3b6['Add']='add',_0x1ef3b6['Delete']=_0x4f0f10(0x3ae),_0x1ef3b6[_0x4f0f10(0x4d6)]=_0x4f0f10(0x400),_0x1ef3b6;}({});const Ao={'id':_0x5daf81(0x4cc),'type':_0x3d059d[_0x5daf81(0x44b)],'handler':(_0x46db8e,_0x4b0872)=>{const _0x741fd0=_0x5daf81;var _0x982cca;if(!_0x4b0872)return!0x1;let _0x2d9fcb=_0x46db8e[_0x741fd0(0x315)](_0x364596),_0x4c588d=_0x2d9fcb[_0x741fd0(0x1ed)](_0x4b0872['unitId'],_0x2ddca0['UNIVER_BASE']);if(!_0x4c588d||!$(_0x4c588d,_0x4b0872['tableId'],{'viewIds':[_0x4b0872[_0x741fd0(0x3c2)]]}))return!0x1;let _0x230ec0=_0x4c588d[_0x741fd0(0x2f3)](),_0x22399b=_0x230ec0[_0x741fd0(0x2f7)][_0x4b0872[_0x741fd0(0x221)]],_0x415e2d=jo(((_0x982cca=_0x22399b[_0x741fd0(0x1e8)][_0x4b0872['viewId']]['config']['conditionalColoring'])==null?void 0x0:_0x982cca['rules'])??[],_0x4b0872);if(!_0x415e2d)return!0x1;Mo(_0x22399b,_0x415e2d);let _0x201039=new W()['updateViewConfig'](_0x230ec0,_0x4b0872[_0x741fd0(0x221)],_0x4b0872[_0x741fd0(0x3c2)],{'conditionalColoring':_0x415e2d[_0x741fd0(0x21d)]?{'rules':_0x415e2d}:null}),_0x54c784=new z()[_0x741fd0(0x388)](_0x230ec0,_0x201039),_0x519dbd={'unitId':_0x4b0872['unitId'],'op':_0x201039},_0x5e75b1={'unitId':_0x4b0872[_0x741fd0(0x3cb)],'op':_0x54c784};return _0x46db8e[_0x741fd0(0x315)](_0x2ca718)[_0x741fd0(0x1e6)](Q['id'],_0x519dbd)?(_0x2d9fcb['focusUnit'](_0x4b0872['unitId']),_0x46db8e[_0x741fd0(0x315)](_0x51376c)['pushUndoRedo']({'unitID':_0x4b0872[_0x741fd0(0x3cb)],'undoMutations':[{'id':Q['id'],'params':_0x5e75b1}],'redoMutations':[{'id':Q['id'],'params':_0x519dbd}]}),!0x0):!0x1;}};function jo(_0x1a1c40,_0x403ccb){const _0x4166ef=_0x5daf81;switch(_0x403ccb[_0x4166ef(0x305)]){case _0x4166ef(0x1ba):return _0x9abbbc[_0x4166ef(0x28e)](_0x403ccb[_0x4166ef(0x2e0)]);case'add':return[..._0x9abbbc[_0x4166ef(0x28e)](_0x1a1c40),_0x9abbbc[_0x4166ef(0x28e)](_0x403ccb[_0x4166ef(0x2ee)])];case _0x4166ef(0x3ae):{let _0x48e54d=_0x1a1c40[_0x4166ef(0x32f)](_0x16f4a0=>_0x16f4a0['id']!==_0x403ccb[_0x4166ef(0x509)]);return _0x48e54d[_0x4166ef(0x21d)]===_0x1a1c40[_0x4166ef(0x21d)]?null:_0x9abbbc['deepClone'](_0x48e54d);}case _0x4166ef(0x400):return _0x1a1c40[_0x4166ef(0x21d)]?[]:null;}}function Mo(_0x580cbb,_0x260620){const _0x448237=_0x5daf81;if(!Array['isArray'](_0x260620))throw TypeError(_0x448237(0x345));let _0xec811d=new Set();for(let [_0x2d52ff,_0x30e878]of _0x260620[_0x448237(0x2e4)]())Po(_0x580cbb,_0x30e878,No(_0x30e878,_0x2d52ff,_0xec811d));}function No(_0x1bca30,_0x369f27,_0x8e09be){const _0x4ca5c2=_0x5daf81;if(!_0x1bca30||typeof _0x1bca30!=_0x4ca5c2(0x1fb))throw TypeError('[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20at\x20index\x20'+_0x369f27+'\x20must\x20be\x20an\x20object.');let _0x3abee5=typeof _0x1bca30['id']==_0x4ca5c2(0x2ed)&&_0x1bca30['id'][_0x4ca5c2(0x3a5)]()?'\x22'+_0x1bca30['id']+'\x22':_0x4ca5c2(0x1ea)+_0x369f27;if(typeof _0x1bca30['id']!=_0x4ca5c2(0x2ed)||!_0x1bca30['id']['trim']())throw Error(_0x4ca5c2(0x344)+_0x3abee5+_0x4ca5c2(0x204));if(_0x8e09be[_0x4ca5c2(0x253)](_0x1bca30['id']))throw Error(_0x4ca5c2(0x260)+_0x1bca30['id']+'\x22.');_0x8e09be['add'](_0x1bca30['id']);let _0x590900=typeof _0x1bca30['color']=='string'&&_0x1bca30[_0x4ca5c2(0x3be)][_0x4ca5c2(0x3a5)]()?new _0x480202(_0x1bca30[_0x4ca5c2(0x3be)]):null;if(!(_0x590900!=null&&_0x590900[_0x4ca5c2(0x1c2)]))throw Error(_0x4ca5c2(0x344)+_0x3abee5+_0x4ca5c2(0x3ca));return _0x3abee5;}function Po(_0x531aaf,_0xec98fb,_0x1ec152){const _0xca7aee=_0x5daf81;let _0x46e747=new Set(Object[_0xca7aee(0x45b)](_0x20be76)),_0x3af7ad=new Set(Object[_0xca7aee(0x45b)](_0xb7a4f0)),_0x147d49=new Set(Object[_0xca7aee(0x45b)](_0x1a2fb9));if(!_0x46e747[_0xca7aee(0x253)](_0xec98fb[_0xca7aee(0x1f2)]))throw Error(_0xca7aee(0x344)+_0x1ec152+_0xca7aee(0x3df)+String(_0xec98fb[_0xca7aee(0x1f2)])+'\x22.');let _0x4b5c69=typeof _0xec98fb['fieldId']==_0xca7aee(0x2ed)?_0x531aaf[_0xca7aee(0x503)][_0xec98fb[_0xca7aee(0x4a1)]]:void 0x0;if(!_0x4b5c69||_0x4b5c69[_0xca7aee(0x3db)]===!0x0||_0x4b5c69[_0xca7aee(0x305)]===_0x618ba[_0xca7aee(0x28f)])throw Error(_0xca7aee(0x344)+_0x1ec152+_0xca7aee(0x510)+String(_0xec98fb[_0xca7aee(0x4a1)])+'\x22.');if(!_0x3af7ad['has'](_0xec98fb[_0xca7aee(0x246)]))throw Error(_0xca7aee(0x344)+_0x1ec152+'\x20has\x20unsupported\x20operator\x20\x22'+String(_0xec98fb[_0xca7aee(0x246)])+'\x22.');if(_0xec98fb[_0xca7aee(0x431)]!==void 0x0&&!_0x147d49[_0xca7aee(0x253)](_0xec98fb['dateMode']))throw Error(_0xca7aee(0x344)+_0x1ec152+_0xca7aee(0x3a7)+String(_0xec98fb[_0xca7aee(0x431)])+'\x22.');if(_0xec98fb[_0xca7aee(0x1f2)]===_0x20be76[_0xca7aee(0x1f9)])return;let _0x2a3348=vn(_0x4b5c69[_0xca7aee(0x305)]);if(!_0x2a3348['includes'](_0xec98fb[_0xca7aee(0x246)]))throw Error('[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20'+_0x1ec152+'\x20cannot\x20use\x20operator\x20\x22'+_0xec98fb[_0xca7aee(0x246)]+'\x22\x20with\x20field\x20type\x20\x22'+_0x4b5c69['type']+_0xca7aee(0x451)+_0x2a3348['join'](',\x20')+'.');if(_0xec98fb['dateMode']!==void 0x0&&!yn(_0x4b5c69['type']))throw Error(_0xca7aee(0x344)+_0x1ec152+_0xca7aee(0x50b));}const Fo={'id':_0x5daf81(0x433),'type':_0x3d059d[_0x5daf81(0x44b)],'handler':(_0x539407,_0x53acac)=>{const _0x4f827e=_0x5daf81;if(!_0x53acac)return!0x1;let _0x47e585=_0x539407[_0x4f827e(0x315)](_0x364596),{unitId:_0x16d86a,tableId:_0x3a85d2,viewId:_0xf8c88a,patch:_0x4d8eb5}=_0x53acac,_0x8885bf=_0x47e585[_0x4f827e(0x1ed)](_0x16d86a,_0x2ddca0[_0x4f827e(0x33d)]);if(!_0x8885bf||!$(_0x8885bf,_0x3a85d2,{'viewIds':[_0xf8c88a]}))return!0x1;let _0x5640b2=_0x539407['get'](_0x2ca718),_0x3da06e=_0x539407[_0x4f827e(0x315)](_0x51376c),_0x1e1e97=_0x8885bf[_0x4f827e(0x2f3)](),_0x3bb3df=new W()[_0x4f827e(0x4c9)](_0x1e1e97,_0x3a85d2,_0xf8c88a,_0x4d8eb5),_0xce0810=new z()[_0x4f827e(0x388)](_0x1e1e97,_0x3bb3df),_0x30d07b={'unitId':_0x16d86a,'op':_0x3bb3df},_0x24d7b2={'unitId':_0x16d86a,'op':_0xce0810};return _0x5640b2[_0x4f827e(0x1e6)](Q['id'],_0x30d07b)?(_0x47e585[_0x4f827e(0x2ac)](_0x16d86a),_0x3da06e['pushUndoRedo']({'unitID':_0x16d86a,'undoMutations':[{'id':Q['id'],'params':_0x24d7b2}],'redoMutations':[{'id':Q['id'],'params':_0x30d07b}]}),!0x0):!0x1;}},Io={'id':'base.command.validate-formula','type':_0x3d059d[_0x5daf81(0x44b)],'handler'(_0x4efa82,_0x54c2b9){const _0x90ff51=_0x5daf81;if(!_0x54c2b9)return{'valid':!0x1,'reason':_0x90ff51(0x3ea)};let _0x53ffe8=_0x4efa82[_0x90ff51(0x315)](_0x364596)[_0x90ff51(0x1ed)](_0x54c2b9[_0x90ff51(0x3cb)],_0x2ddca0[_0x90ff51(0x33d)]),_0x4309ed=_0x53ffe8==null?void 0x0:_0x53ffe8[_0x90ff51(0x2f3)](),_0x333df6=_0x4309ed==null?void 0x0:_0x4309ed['tables'][_0x54c2b9[_0x90ff51(0x221)]];return!_0x4309ed||!_0x333df6?{'valid':!0x1,'reason':_0x90ff51(0x40f)}:new Xi()[_0x90ff51(0x4dc)](_0x54c2b9[_0x90ff51(0x494)],_0x333df6,{'snapshot':_0x4309ed});}};let Lo=class extends _0x3436af{constructor(_0xc9af91){const _0x3064cd=_0x5daf81;super(_0xc9af91,_0x3064cd(0x527),_0x2ddca0[_0x3064cd(0x33d)],[_0x2ea692[_0x3064cd(0x1de)],_0x2ea692[_0x3064cd(0x3c1)],_0x2ea692[_0x3064cd(0x52a)],_0x2ea692[_0x3064cd(0x2cd)],_0x2ea692[_0x3064cd(0x357)]]);}};Lo=X([Y(0x0,_0x3e7637)],Lo);const Ro={'id':_0x5daf81(0x3cc),'type':_0x3d059d['MUTATION'],'handler':(_0x195aaa,_0x42c0da)=>!_0x42c0da||!_0x195aaa[_0x5daf81(0x315)](_0x364596)['getUnit'](_0x42c0da[_0x5daf81(0x3cb)],_0x2ddca0['UNIVER_BASE'])?!0x1:_0x195aaa[_0x5daf81(0x315)](Lo)[_0x5daf81(0x278)](_0x42c0da[_0x5daf81(0x3cb)],_0x42c0da[_0x5daf81(0x1df)],_0x42c0da[_0x5daf81(0x3d2)],_0x42c0da[_0x5daf81(0x2ee)])},zo={'id':_0x5daf81(0x1dc),'type':_0x3d059d[_0x5daf81(0x4cd)],'handler':(_0x350123,_0x144920)=>!_0x144920||!_0x350123[_0x5daf81(0x315)](_0x364596)['getUnit'](_0x144920[_0x5daf81(0x3cb)],_0x2ddca0[_0x5daf81(0x33d)])?!0x1:_0x350123['get'](Lo)[_0x5daf81(0x2cc)](_0x144920['unitId'],_0x144920['rules'])};function Bo(_0x29facf){const _0x22da53=_0x5daf81;let _0x4220e1=_0x29facf['now']??Date['now'](),_0x26fb29=_0x29facf[_0x22da53(0x51f)]??_0x29facf['id']+_0x22da53(0x565),_0x2e782d=_0x29facf[_0x22da53(0x303)]??_0x29facf['id']+_0x22da53(0x381),_0x4053f0=_0x29facf[_0x22da53(0x20f)]??0x0,_0x26a955=_0x44aad8(),_0xec5c6a={'id':_0x26fb29,'name':_0x29facf[_0x22da53(0x226)]??'Name','type':_0x618ba[_0x22da53(0x1da)],'config':{'placeholder':_0x22da53(0x2e3)}},_0x17a0c4={},_0x113a77=[],_0x45fdbb={},_0x12c5f2={},_0x3e16c7={};for(let _0x3aa284=0x0;_0x3aa284<_0x4053f0;_0x3aa284++){let _0x395651=_0x29facf['id']+_0x22da53(0x1f3)+(_0x3aa284+0x1);_0x17a0c4[_0x395651]={'id':_0x395651,'values':{[_0x4a6fc3]:_0x395651,..._0x29facf[_0x22da53(0x4e4)]?{[_0x26fb29]:_0x29facf['recordNamePrefix']+'\x20'+(_0x3aa284+0x1)}:{}},'orderKey':String(_0x3aa284+0x1)['padStart'](0x4,'0'),'createdAt':_0x4220e1,'updatedAt':_0x4220e1},_0x113a77['push'](_0x395651),_0x45fdbb[_0x395651]=_0x3aa284,_0x12c5f2[_0x3aa284]=_0x395651,_0x3e16c7[_0x3aa284]={0x0:{'v':_0x395651,'t':_0x20fde0[_0x22da53(0x376)]}},_0x29facf[_0x22da53(0x4e4)]&&(_0x3e16c7[_0x3aa284][0x1]={'v':_0x29facf[_0x22da53(0x4e4)]+'\x20'+(_0x3aa284+0x1),'t':_0x20fde0[_0x22da53(0x376)]});}let _0x4f525e={'id':_0x2e782d,'tableId':_0x29facf['id'],'name':'Grid','type':_0x168289[_0x22da53(0x47f)],'fieldOrder':[_0x4a6fc3,_0x26fb29],'fieldSettings':{[_0x4a6fc3]:{'hidden':!0x0}},'config':{'frozenFieldCount':0x1}};return{'id':_0x29facf['id'],'name':_0x29facf[_0x22da53(0x322)],'primaryFieldId':_0x26fb29,'fieldOrder':[_0x4a6fc3,_0x26fb29],'fields':{[_0x4a6fc3]:_0x26a955,[_0x26fb29]:_0xec5c6a},'records':_0x17a0c4,'recordOrder':_0x113a77,'rowIndex':_0x45fdbb,'rowId':_0x12c5f2,'colIndex':{[_0x4a6fc3]:0x0,[_0x26fb29]:0x1},'colId':{0x0:_0x4a6fc3,0x1:_0x26fb29},'cellData':_0x3e16c7,'views':{[_0x2e782d]:_0x4f525e},'viewOrder':[_0x2e782d]};}const Vo=_0x5daf81(0x3ff);function Ho(_0x32917d){const _0x67968a=_0x5daf81;let _0x2d9f9b=Bo({'id':_0x32917d['hostAnchorId'],'name':_0x32917d[_0x67968a(0x322)]??_0x32917d['embedId'],'recordCount':0x0});return{..._0x2d9f9b,'resources':{..._0x2d9f9b[_0x67968a(0x48d)]??{},[Vo]:Go(_0x32917d)}};}function Uo(_0x57a463){const _0x32aab7=_0x5daf81;return{'id':Q['id'],'params':{'unitId':_0x57a463['unitId'],'op':_0x1605a0[_0x32aab7(0x305)][_0x32aab7(0x363)](_0x1605a0[_0x32aab7(0x2b6)](['tables',_0x57a463[_0x32aab7(0x524)]['id']],_0x57a463[_0x32aab7(0x524)]),_0x1605a0[_0x32aab7(0x2b6)]([_0x32aab7(0x3ee),_0x57a463[_0x32aab7(0x391)]??_0x57a463[_0x32aab7(0x21a)]['tableOrder']['length']],_0x57a463[_0x32aab7(0x524)]['id'])),'trigger':'embed-ui'}};}function Wo(_0x3e1258){const _0x1feef8=_0x5daf81;let _0x4dd47b=_0x3e1258[_0x1feef8(0x21a)]['tableOrder'][_0x1feef8(0x25c)](_0x3e1258[_0x1feef8(0x221)]);if(!(!_0x3e1258[_0x1feef8(0x21a)][_0x1feef8(0x2f7)][_0x3e1258[_0x1feef8(0x221)]]||_0x4dd47b<0x0))return{'id':Q['id'],'params':{'unitId':_0x3e1258[_0x1feef8(0x3cb)],'op':_0x1605a0[_0x1feef8(0x305)][_0x1feef8(0x363)](_0x1605a0['removeOp']([_0x1feef8(0x2f7),_0x3e1258[_0x1feef8(0x221)]],_0x3e1258[_0x1feef8(0x21a)]['tables'][_0x3e1258[_0x1feef8(0x221)]]),_0x1605a0['removeOp']([_0x1feef8(0x3ee),_0x4dd47b],_0x3e1258[_0x1feef8(0x221)])),'trigger':_0x1feef8(0x252)}};}function Go(_0xbc6d62){const _0x5a1060=_0x5daf81;return{'version':0x1,'embedId':_0xbc6d62[_0x5a1060(0x2a3)],'hostAnchorId':_0xbc6d62[_0x5a1060(0x3b3)],'childUnitId':_0xbc6d62[_0x5a1060(0x3a3)],'childType':_0xbc6d62['childType']};}function Ko(_0x295f1f){const _0x143e2c=_0x5daf81;let _0x16f724=Math[_0x143e2c(0x29c)](0x0,Number(_0x295f1f['decimalPlaces']??0x0)),_0x520abb=_0x295f1f[_0x143e2c(0x4b3)]===!0x1?'0':_0x143e2c(0x2c7),_0x1ccb62=_0x16f724?'.'+'0'[_0x143e2c(0x4ab)](_0x16f724):'',_0x11a1fe=Jo(_0x295f1f[_0x143e2c(0x1f4)]);return''+(_0x295f1f['currencySymbol']?Yo(_0x295f1f[_0x143e2c(0x517)]):'')+_0x520abb+_0x1ccb62+_0x11a1fe;}function qo(_0x2a77fa,_0x395776){let _0x4663c3=Ko(_0x395776),_0x435fdf=_0x51878f['format'](_0x4663c3,_0x2a77fa,{'throws':!0x1});return Xo(String(_0x435fdf),_0x395776['separatorStyle'],_0x395776['locale']);}function Jo(_0x4d4711){const _0x3118a4=_0x5daf81;return _0x4d4711==='K'?_0x3118a4(0x284):_0x4d4711==='M'?_0x3118a4(0x44a):_0x4d4711==='B'?_0x3118a4(0x272):'';}function Yo(_0x24fc77){const _0x383113=_0x5daf81;return/^[A-Z]+$/i[_0x383113(0x27c)](_0x24fc77)?'\x22'+_0x24fc77+'\x22':_0x24fc77;}function Xo(_0x381885,_0x4a58c1,_0x10cf1a){const _0x5b692b=_0x5daf81;let _0x2a7077=_0x4a58c1===_0x5b692b(0x35a)?Zo(_0x10cf1a):_0x4a58c1;return _0x2a7077===_0x5b692b(0x306)?_0x381885[_0x5b692b(0x39b)](/,/g,'\x00')['replace'](/\./g,',')[_0x5b692b(0x39b)](/\0/g,'.'):_0x2a7077===_0x5b692b(0x3a9)?_0x381885[_0x5b692b(0x39b)](/,/g,'\x20')['replace'](/\./g,','):_0x2a7077===_0x5b692b(0x32d)?_0x381885['replace'](/,/g,'\x20'):_0x381885;}function Zo(_0x45e864){const _0x2030bb=_0x5daf81;var _0x1b9dee,_0x381b1a;let _0x38fe51=_0x45e864||new Intl[(_0x2030bb(0x3b2))]()['resolvedOptions']()[_0x2030bb(0x2dc)],_0x187fbe;try{_0x187fbe=new Intl['NumberFormat'](_0x38fe51,{'minimumFractionDigits':0x2,'maximumFractionDigits':0x2,'useGrouping':!0x0})['formatToParts'](0xf4240);}catch{return _0x2030bb(0x538);}let _0x57f938=(_0x1b9dee=_0x187fbe['find'](_0x416e2f=>_0x416e2f[_0x2030bb(0x305)]===_0x2030bb(0x3e9)))==null?void 0x0:_0x1b9dee['value'],_0x317bc0=(_0x381b1a=_0x187fbe[_0x2030bb(0x2d8)](_0x43b635=>_0x43b635[_0x2030bb(0x305)]==='decimal'))==null?void 0x0:_0x381b1a[_0x2030bb(0x3fd)],_0x534b5a=_0x57f938==='\u00a0'||_0x57f938==='\u202f'?'\x20':_0x57f938;return _0x534b5a==='.'&&_0x317bc0===','?_0x2030bb(0x306):_0x534b5a==='\x20'&&_0x317bc0===','?_0x2030bb(0x3a9):_0x534b5a==='\x20'&&_0x317bc0==='.'?_0x2030bb(0x32d):_0x2030bb(0x538);}function Qo(_0x238844,_0x40c271){const _0x598121=_0x5daf81;let _0xbdfae8=_0x40c271&&typeof _0x40c271=='object'&&!Array[_0x598121(0x31e)](_0x40c271)?_0x40c271:{},_0x24da66=$o(_0xbdfae8[_0x598121(0x4b6)],0x0,0x2,0x0),_0x49bd4f=_0x238844[_0x598121(0x30d)](_0x24da66);return _0xbdfae8[_0x598121(0x444)]==='number'?_0x49bd4f:_0x49bd4f+'%';}function $o(_0x350c89,_0x107db0,_0x50ab40,_0x283143){const _0x43974b=_0x5daf81;if(_0x350c89==null||_0x350c89==='')return _0x283143;let _0xb9cc8a=typeof _0x350c89=='number'?_0x350c89:Number(_0x350c89);return Number[_0x43974b(0x2fc)](_0xb9cc8a)?Math['max'](_0x107db0,Math[_0x43974b(0x469)](_0x50ab40,Math['round'](_0xb9cc8a))):_0x283143;}const es=[_0x5daf81(0x42c),_0x5daf81(0x33f),_0x5daf81(0x4ba),_0x5daf81(0x3f2),'sum','average','min','max'],ts=[_0x5daf81(0x42c),_0x5daf81(0x33f),_0x5daf81(0x4ba),_0x5daf81(0x3f2)],ns=[_0x5daf81(0x550),_0x5daf81(0x2b8),_0x5daf81(0x469),_0x5daf81(0x29c)],rs=[_0x5daf81(0x469),'max'],is=new Set([_0x618ba[_0x5daf81(0x480)],_0x618ba[_0x5daf81(0x20a)],_0x618ba['Progress'],_0x618ba['Rating']]),as=new Set([_0x618ba[_0x5daf81(0x3a1)],_0x618ba[_0x5daf81(0x1e9)],_0x618ba[_0x5daf81(0x377)]]),os='General';function ss(_0x44a4f6){const _0x465624=_0x5daf81;return typeof _0x44a4f6==_0x465624(0x2ed)&&es[_0x465624(0x4f9)](_0x44a4f6);}function cs(_0x3f5531){const _0x555853=_0x5daf81;return!_0x3f5531||typeof _0x3f5531!=_0x555853(0x1fb)?{}:Object[_0x555853(0x407)](Object['entries'](_0x3f5531)[_0x555853(0x32f)](_0x4be945=>ss(_0x4be945[0x1])));}function ls(_0x437382){const _0x9bf3b0=_0x5daf81;return is['has'](_0x437382[_0x9bf3b0(0x305)])?[...ts,...ns]:_0x437382[_0x9bf3b0(0x305)]===_0x618ba[_0x9bf3b0(0x4a8)]?[...ts,...ws(_0x437382)===_0x9bf3b0(0x4ae)?rs:ns]:ts;}function us(_0xe6a6cb,_0x435867){const _0x31be21=_0x5daf81;return ls(_0xe6a6cb)[_0x31be21(0x4f9)](_0x435867);}function ds(_0x29f3d6,_0x394c80,_0x12305b){const _0x59f8e1=_0x5daf81;if(!us(_0x29f3d6,_0x12305b))return null;let _0x4178da=_0x394c80['filter'](_0x2e4e36=>!ps(_0x29f3d6,_0x2e4e36));switch(_0x12305b){case _0x59f8e1(0x42c):return _0x394c80[_0x59f8e1(0x21d)];case _0x59f8e1(0x33f):return _0x4178da['length'];case _0x59f8e1(0x4ba):return _0x394c80['length']-_0x4178da[_0x59f8e1(0x21d)];case'unique':return new Set(_0x4178da[_0x59f8e1(0x2b0)](_0x50a667=>_s(_0x29f3d6,_0x50a667)))[_0x59f8e1(0x323)];case _0x59f8e1(0x550):{let _0x105269=ms(_0x29f3d6,_0x4178da);return _0x105269[_0x59f8e1(0x21d)]?gs(_0x105269):null;}case _0x59f8e1(0x2b8):{let _0xbbb84b=ms(_0x29f3d6,_0x4178da);return _0xbbb84b['length']?gs(_0xbbb84b)/_0xbbb84b[_0x59f8e1(0x21d)]:null;}case'min':{let _0x3abbb8=ms(_0x29f3d6,_0x4178da);return _0x3abbb8[_0x59f8e1(0x21d)]?Math[_0x59f8e1(0x469)](..._0x3abbb8):null;}case _0x59f8e1(0x29c):{let _0xbb0f40=ms(_0x29f3d6,_0x4178da);return _0xbb0f40[_0x59f8e1(0x21d)]?Math[_0x59f8e1(0x29c)](..._0xbb0f40):null;}}}function fs(_0x23598a,_0x1f6d72,_0x1da99d){const _0x3bccef=_0x5daf81;if(_0x1da99d==null||!Number[_0x3bccef(0x2fc)](_0x1da99d))return'-';if(ts[_0x3bccef(0x4f9)](_0x1f6d72))return String(_0x1da99d);switch(_0x23598a[_0x3bccef(0x305)]){case _0x618ba['Number']:return qo(_0x1da99d,xs(_0x23598a));case _0x618ba['Currency']:return qo(_0x1da99d,Ss(_0x23598a));case _0x618ba[_0x3bccef(0x257)]:return Qo(_0x1da99d,_0x23598a[_0x3bccef(0x396)]);case _0x618ba['Formula']:return Cs(_0x1da99d,_0x23598a);default:return Es(_0x1da99d);}}function ps(_0x304b67,_0x2f5813){const _0x599289=_0x5daf81;if(_0x2f5813==null)return!0x0;if(typeof _0x2f5813==_0x599289(0x2ed))return _0x2f5813[_0x599289(0x3a5)]()==='';if(Array['isArray'](_0x2f5813))return _0x304b67[_0x599289(0x305)]===_0x618ba[_0x599289(0x1f8)]?!_0x2f5813['some'](bs):_0x2f5813[_0x599289(0x21d)]===0x0;if(_0x304b67[_0x599289(0x305)]===_0x618ba[_0x599289(0x42d)]&&typeof _0x2f5813==_0x599289(0x1fb)){let _0x110ab6=_0x2f5813;return[_0x110ab6[_0x599289(0x38e)],_0x110ab6[_0x599289(0x4fe)]][_0x599289(0x2ab)](_0x13d6de=>_0x13d6de==null||String(_0x13d6de)[_0x599289(0x3a5)]()==='');}return!0x1;}function ms(_0x43644a,_0x31972e){const _0x4adc6f=_0x5daf81;let _0x417f44=[];for(let _0x51b752 of _0x31972e){let _0x5ee403=hs(_0x43644a,_0x51b752);_0x5ee403!=null&&_0x417f44[_0x4adc6f(0x482)](_0x5ee403);}return _0x417f44;}function hs(_0x63b7e2,_0x38fab2){const _0x545b37=_0x5daf81;if(typeof _0x38fab2==_0x545b37(0x53d))return Number['isFinite'](_0x38fab2)?_0x38fab2:null;if(_0x63b7e2[_0x545b37(0x305)]!==_0x618ba[_0x545b37(0x4a8)]&&typeof _0x38fab2==_0x545b37(0x2ed)&&_0x38fab2['trim']()!==''){let _0x32ac35=Number(_0x38fab2);return Number[_0x545b37(0x2fc)](_0x32ac35)?_0x32ac35:null;}return null;}function gs(_0x38e044){const _0x166270=_0x5daf81;let _0xed7329=0x0,_0x360dc2=0x0;for(let _0x13c010 of _0x38e044){let _0x47d784=_0xed7329+_0x13c010;_0x360dc2+=Math[_0x166270(0x38d)](_0xed7329)>=Math['abs'](_0x13c010)?_0xed7329-_0x47d784+_0x13c010:_0x13c010-_0x47d784+_0xed7329,_0xed7329=_0x47d784;}return _0xed7329+_0x360dc2;}function _s(_0x1ee68b,_0x46b9a1){const _0x4dd606=_0x5daf81;return as[_0x4dd606(0x253)](_0x1ee68b['type'])&&Array[_0x4dd606(0x31e)](_0x46b9a1)?ys([...new Set(_0x46b9a1[_0x4dd606(0x2b0)](_0x2c599e=>ys(vs(_0x2c599e))))][_0x4dd606(0x3c5)]()):ys(vs(_0x46b9a1));}function vs(_0x405909){const _0xace5e7=_0x5daf81;return Array[_0xace5e7(0x31e)](_0x405909)?_0x405909[_0xace5e7(0x2b0)](vs):_0x405909&&typeof _0x405909=='object'?Object[_0xace5e7(0x407)](Object[_0xace5e7(0x2e4)](_0x405909)[_0xace5e7(0x3c5)](([_0x5561f5],[_0x281bee])=>_0x5561f5[_0xace5e7(0x202)](_0x281bee))['map'](([_0x2882b1,_0x50b156])=>[_0x2882b1,vs(_0x50b156)])):_0x405909;}function ys(_0x9bbc0e){const _0x463081=_0x5daf81;return JSON[_0x463081(0x439)](_0x9bbc0e)??'undefined';}function bs(_0x4a2af5){const _0xdbdd54=_0x5daf81;if(typeof _0x4a2af5==_0xdbdd54(0x2ed))return _0x4a2af5[_0xdbdd54(0x3a5)]()!=='';if(!_0x4a2af5||typeof _0x4a2af5!=_0xdbdd54(0x1fb))return!0x1;let _0x4ee2c3=_0x4a2af5;return[_0x4ee2c3['id'],_0x4ee2c3[_0xdbdd54(0x322)],_0x4ee2c3[_0xdbdd54(0x1e1)],_0x4ee2c3[_0xdbdd54(0x4fe)],_0x4ee2c3['thumbnail']][_0xdbdd54(0x387)](_0x163eb8=>_0x163eb8!=null&&String(_0x163eb8)[_0xdbdd54(0x3a5)]()!=='');}function xs(_0x4d0de5){const _0x4f97cf=_0x5daf81;let _0x1076d3=Ds(_0x4d0de5[_0x4f97cf(0x396)]);return{'decimalPlaces':ks(_0x1076d3[_0x4f97cf(0x4b6)],0x0,0x14,0x2),'separatorStyle':typeof _0x1076d3['separatorStyle']=='string'?_0x1076d3[_0x4f97cf(0x3b6)]:_0x4f97cf(0x35a),'locale':typeof _0x1076d3[_0x4f97cf(0x2dc)]=='string'?_0x1076d3['locale']:void 0x0,'useThousands':_0x1076d3['useThousands']!==!0x1,'abbreviation':typeof _0x1076d3[_0x4f97cf(0x1f4)]=='string'?_0x1076d3[_0x4f97cf(0x1f4)]:'none'};}function Ss(_0x1095b3){const _0x2fea61=_0x5daf81;let _0x3783be=Ds(_0x1095b3[_0x2fea61(0x396)]);return{...xs(_0x1095b3),'currencySymbol':String(_0x3783be[_0x2fea61(0x517)]??'$')};}function Cs(_0x1026b2,_0x3bc6f3){const _0xdf2aca=_0x5daf81;let _0x37a25d=Ts(_0x3bc6f3);if(_0x37a25d===os)return Es(_0x1026b2);try{return String(_0x51878f[_0xdf2aca(0x444)](_0x37a25d,_0x1026b2,{'throws':!0x1}));}catch{return Es(_0x1026b2);}}function ws(_0x233836){const _0x1d866c=_0x5daf81;let _0x3cb0a9=Ds(Ds(_0x233836['config'])[_0x1d866c(0x22a)]);return typeof _0x3cb0a9[_0x1d866c(0x305)]==_0x1d866c(0x2ed)?_0x3cb0a9['type']:'general';}function Ts(_0x4bb59c){const _0x2d62d6=_0x5daf81;let _0x5f2d36=Ds(Ds(_0x4bb59c[_0x2d62d6(0x396)])[_0x2d62d6(0x22a)]);return String(_0x5f2d36[_0x2d62d6(0x526)]??os)[_0x2d62d6(0x3a5)]()||os;}function Es(_0xee0075){const _0x1e5523=_0x5daf81;return String(Number['isInteger'](_0xee0075)?_0xee0075:Math[_0x1e5523(0x447)]((_0xee0075+0x2**-0x34)*0x64)/0x64);}function Ds(_0x3fa634){const _0x102dd9=_0x5daf81;return _0x3fa634&&typeof _0x3fa634==_0x102dd9(0x1fb)&&!Array[_0x102dd9(0x31e)](_0x3fa634)?_0x3fa634:{};}function Os(_0x5939b6){const _0x4a108a=_0x5daf81;if(_0x5939b6==null||_0x5939b6==='')return null;let _0x3ac8b7=typeof _0x5939b6==_0x4a108a(0x53d)?_0x5939b6:Number(_0x5939b6);return Number[_0x4a108a(0x2fc)](_0x3ac8b7)?_0x3ac8b7:null;}function ks(_0x252957,_0x28ec6b,_0x3f66ec,_0xade6b9){const _0x535aad=_0x5daf81;let _0x2be533=Os(_0x252957);return _0x2be533==null?_0xade6b9:Math[_0x535aad(0x29c)](_0x28ec6b,Math[_0x535aad(0x469)](_0x3f66ec,Math[_0x535aad(0x447)](_0x2be533)));}function As(_0x3ceb88,_0x69e4e1){const _0x4bcad7=_0x5daf81;let _0x3dc7bd=_0x9abbbc[_0x4bcad7(0x28e)](_0x3ceb88),_0x27d985=_0x69e4e1[_0x4bcad7(0x553)]===!0x0,_0x387fa0=new Map(),_0x5ca463=_0x69e4e1[_0x4bcad7(0x361)]??(()=>_0x4bcad7(0x34b)+_0x1d3e80(0x8)),_0x4a3f43=_0x3dc7bd['viewOrder'];return _0x69e4e1[_0x4bcad7(0x350)]&&(_0x4a3f43=_0x3dc7bd[_0x4bcad7(0x410)][_0x4bcad7(0x2b0)](_0x3f8811=>{const _0x211024=_0x4bcad7;let _0x5f28d2=_0x5ca463();return _0x387fa0[_0x211024(0x1ba)](_0x3f8811,_0x5f28d2),_0x5f28d2;})),{..._0x3dc7bd,'id':_0x69e4e1['id'],'name':_0x69e4e1['name'],'records':_0x27d985?_0x3dc7bd[_0x4bcad7(0x43a)]:{},'recordOrder':_0x27d985?_0x3dc7bd[_0x4bcad7(0x3da)]:[],'rowIndex':_0x27d985?_0x3dc7bd[_0x4bcad7(0x2c4)]:{},'rowId':_0x27d985?_0x3dc7bd[_0x4bcad7(0x1ec)]:{},'cellData':_0x27d985?_0x3dc7bd['cellData']:{},'resources':_0x27d985?_0x3dc7bd[_0x4bcad7(0x48d)]:{},'viewOrder':_0x4a3f43,'views':Object[_0x4bcad7(0x407)](Object[_0x4bcad7(0x2e4)](_0x3dc7bd['views']??{})[_0x4bcad7(0x2b0)](([_0x1cc430,_0x57e432])=>{const _0x55d3b0=_0x4bcad7;let _0x18583d=_0x387fa0['get'](_0x1cc430)??(_0x69e4e1[_0x55d3b0(0x350)]?_0x5ca463():_0x1cc430);return[_0x18583d,{..._0x57e432,'id':_0x18583d,'tableId':_0x69e4e1['id']}];}))};}var js=_0x5daf81(0x4cf),Ms=_0x5daf81(0x35c);const Ns={},Ps={};function Fs(_0x4e010e){const _0x5c480e=_0x5daf81;return new z()[_0x5c480e(0x26e)](_0x4e010e);}function Is(_0x521a10){const _0x482925=_0x5daf81;return _0x521a10['patches'][_0x482925(0x2b0)](_0x34041a=>({'unitId':_0x521a10[_0x482925(0x3cb)],'sheetId':_0x521a10[_0x482925(0x221)],'range':{'startRow':_0x34041a['row'],'endRow':_0x34041a['row'],'startColumn':_0x34041a[_0x482925(0x2f0)],'endColumn':_0x34041a[_0x482925(0x2f0)]}}));}function Ls(_0x226065,_0x5911f4){const _0x4d017c=_0x5daf81;return{[_0x226065]:Object[_0x4d017c(0x407)](_0x5911f4['map'](_0x1c1cf6=>[_0x1c1cf6,'1']))};}let Rs=class extends _0x183939{constructor(_0xe3db0f,_0x92fe0f){const _0x4371e2=_0x5daf81;super(),this['_activeDirtyManagerService']=_0xe3db0f,this['_univerInstanceService']=_0x92fe0f,this[_0x4371e2(0x4d1)]();}[_0x5daf81(0x4d1)](){const _0x5a03cc=_0x5daf81;this[_0x5a03cc(0x456)][_0x5a03cc(0x549)](Q['id'],{'commandId':Q['id'],'getDirtyData':_0x540f77=>this[_0x5a03cc(0x2fb)](_0x540f77[_0x5a03cc(0x422)])}),this[_0x5a03cc(0x314)](_0x1a388a(()=>{this['_activeDirtyManagerService']['remove'](Q['id']);}));}['_getTable'](_0x5102b1,_0xe5c1a0){const _0x5e896d=_0x5daf81;let _0x44a532=this[_0x5e896d(0x552)][_0x5e896d(0x1ed)](_0x5102b1,_0x2ddca0[_0x5e896d(0x33d)]);return(_0x44a532==null?void 0x0:_0x44a532[_0x5e896d(0x2f3)]()[_0x5e896d(0x2f7)][_0xe5c1a0])??null;}['_getJson1DirtyData'](_0x23bc56){const _0x3bcd82=_0x5daf81;if(_0x23bc56[_0x3bcd82(0x22c)]===_0x3bcd82(0x4d4))return{};if(!_0x23bc56[_0x3bcd82(0x3cb)]||!_0x23bc56['op'])return{'clearDependencyTreeCache':this[_0x3bcd82(0x247)](),'forceCalculation':!0x0};let _0x36794a=Fs(_0x23bc56['op']),_0x223bf9=this[_0x3bcd82(0x270)](_0x23bc56['unitId'],_0x36794a);if(_0x223bf9[_0x3bcd82(0x21d)])return{'clearDependencyTreeCache':Ls(_0x23bc56[_0x3bcd82(0x3cb)],_0x223bf9),'forceCalculation':!0x0};let _0x180c50=Object[_0x3bcd82(0x2e4)](this[_0x3bcd82(0x499)](_0x23bc56[_0x3bcd82(0x3cb)],_0x36794a))[_0x3bcd82(0x36c)](([_0x59e633,_0x4f9ef5])=>Is({'unitId':_0x23bc56['unitId'],'tableId':_0x59e633,'patches':_0x4f9ef5}));return _0x180c50['length']?{'dirtyRanges':_0x180c50}:{};}[_0x5daf81(0x270)](_0x26eee7,_0xff61b2){const _0xf43f3c=_0x5daf81;let _0x31001d=_0xff61b2['filter'](_0xff53e4=>_0xff53e4[_0xf43f3c(0x483)]!=='cell')[_0xf43f3c(0x36c)](_0x390f87=>_0x390f87[_0xf43f3c(0x221)]?[_0x390f87['tableId']]:this[_0xf43f3c(0x36b)](_0x26eee7));return Array[_0xf43f3c(0x404)](new Set(_0x31001d));}[_0x5daf81(0x499)](_0x4cc652,_0x3d0cb8){const _0x2679aa=_0x5daf81;let _0x2c1ac1=new Set();return _0x3d0cb8[_0x2679aa(0x251)]((_0x58f2ed,_0x37dd88)=>{const _0x57b208=_0x2679aa;let _0x44cc35=this['_toDirtyRangePatch'](_0x4cc652,_0x37dd88);if(!_0x44cc35)return _0x58f2ed;let _0x386ccb=_0x37dd88[_0x57b208(0x221)]+':'+_0x44cc35[_0x57b208(0x406)]+':'+_0x44cc35[_0x57b208(0x2f0)];return _0x2c1ac1[_0x57b208(0x253)](_0x386ccb)||(_0x2c1ac1[_0x57b208(0x4ee)](_0x386ccb),_0x58f2ed[_0x37dd88['tableId']]=_0x58f2ed[_0x37dd88[_0x57b208(0x221)]]??[],_0x58f2ed[_0x37dd88[_0x57b208(0x221)]][_0x57b208(0x482)](_0x44cc35)),_0x58f2ed;},{});}['_toDirtyRangePatch'](_0x49185f,_0x24e55b){const _0x581e7f=_0x5daf81;if(_0x24e55b['reason']!==_0x581e7f(0x203))return null;if(_0x24e55b[_0x581e7f(0x406)]!=null&&_0x24e55b[_0x581e7f(0x1cc)]!=null)return{'row':_0x24e55b[_0x581e7f(0x406)],'col':_0x24e55b[_0x581e7f(0x1cc)],'value':null};if(!_0x24e55b[_0x581e7f(0x1c6)]||!_0x24e55b[_0x581e7f(0x4a1)])return null;let _0x220c78=this[_0x581e7f(0x4c2)](_0x49185f,_0x24e55b[_0x581e7f(0x221)]);if(!_0x220c78)return null;let _0x3db9c5=_t(_0x220c78,_0x24e55b[_0x581e7f(0x1c6)],_0x24e55b[_0x581e7f(0x4a1)]);return _0x3db9c5?{'row':_0x3db9c5[_0x581e7f(0x406)],'col':_0x3db9c5[_0x581e7f(0x2f0)],'value':null}:null;}[_0x5daf81(0x36b)](_0x525e24){const _0x293681=_0x5daf81;let _0x539e76=this[_0x293681(0x552)][_0x293681(0x1ed)](_0x525e24,_0x2ddca0[_0x293681(0x33d)]);return Object[_0x293681(0x45b)]((_0x539e76==null?void 0x0:_0x539e76['getSnapshot']()[_0x293681(0x2f7)])??{})['map'](_0x458ebf=>_0x458ebf['id']);}[_0x5daf81(0x247)](){const _0xa30581=_0x5daf81;let _0xfe2f11=this['_univerInstanceService'][_0xa30581(0x34d)](_0x2ddca0[_0xa30581(0x33d)])[_0xa30581(0x2b0)](_0x428088=>Ls(_0x428088[_0xa30581(0x506)](),Object['keys'](_0x428088[_0xa30581(0x2f3)]()['tables'])));return Object['assign']({},..._0xfe2f11);}};Rs=X([Y(0x0,_0x2d4d6c),Y(0x1,_0x364596)],Rs);let zs=class extends _0x183939{constructor(_0x543f29,_0x4a5faf,_0x5daf61,_0x2e47d7){const _0x25acb2=_0x5daf81;super(),this['_commandService']=_0x543f29,this['_univerInstanceService']=_0x4a5faf,this[_0x25acb2(0x37d)]=_0x5daf61,this['_formulaCalculationSessionService']=_0x2e47d7,G(this,_0x25acb2(0x432),new Xi()),G(this,_0x25acb2(0x48c),new Map()),G(this,'_scheduledSuperTableSyncs',new Set()),G(this,'_formulaSyncQueue',Promise['resolve']()),G(this,_0x25acb2(0x423),!0x1),this[_0x25acb2(0x4d1)]();}[_0x5daf81(0x4d1)](){const _0x9bf684=_0x5daf81;this[_0x9bf684(0x552)][_0x9bf684(0x34d)](_0x2ddca0[_0x9bf684(0x33d)])[_0x9bf684(0x429)](_0x2486d2=>{this['_scheduleSuperTableSync'](_0x2486d2);}),this[_0x9bf684(0x314)](this[_0x9bf684(0x552)][_0x9bf684(0x563)](_0x2ddca0[_0x9bf684(0x33d)])[_0x9bf684(0x341)](({unit:_0x4a9ee5})=>{this['_scheduleSuperTableSync'](_0x4a9ee5);})),this['disposeWithMe'](this[_0x9bf684(0x552)][_0x9bf684(0x3c7)](_0x2ddca0[_0x9bf684(0x33d)])['subscribe'](_0x4efd20=>{const _0xc84107=_0x9bf684;this[_0xc84107(0x4d8)](()=>this[_0xc84107(0x536)](_0x4efd20[_0xc84107(0x506)]()));})),this[_0x9bf684(0x314)](this[_0x9bf684(0x4ec)][_0x9bf684(0x448)](_0x331bdf=>this[_0x9bf684(0x425)](_0x331bdf)));}['_onCommandExecuted'](_0x455ce2){const _0x3bc4d2=_0x5daf81;if(_0x455ce2['id']===_0x245562['id']){Vs(_0x455ce2['params'])&&this[_0x3bc4d2(0x4a6)](_0x455ce2[_0x3bc4d2(0x422)]);return;}if(this[_0x3bc4d2(0x423)]||_0x455ce2['id']!==Q['id'])return;let _0xcd3e5c=Bs(_0x455ce2['params'])?_0x455ce2['params']:void 0x0,_0x58fc4d=_0xcd3e5c!=null&&_0xcd3e5c[_0x3bc4d2(0x3cb)]?[this[_0x3bc4d2(0x552)][_0x3bc4d2(0x1ed)](_0xcd3e5c['unitId'],_0x2ddca0['UNIVER_BASE'])][_0x3bc4d2(0x32f)](_0x52b4b5=>!!_0x52b4b5):this['_univerInstanceService']['getAllUnitsForType'](_0x2ddca0[_0x3bc4d2(0x33d)]),_0x5af6d4=_0xcd3e5c==null?void 0x0:_0xcd3e5c['op'];_0x58fc4d['forEach'](_0x5a361b=>{const _0x51d0ea=_0x3bc4d2;let _0x44315e=_0x5af6d4?Fs(_0x5af6d4):[];(!_0x5af6d4||_0x44315e[_0x51d0ea(0x387)](_0x1cb6aa=>_0x1cb6aa[_0x51d0ea(0x483)]!==_0x51d0ea(0x203)))&&this[_0x51d0ea(0x4fb)](_0x5a361b);});}[_0x5daf81(0x4fb)](_0x45febe){const _0xabc593=_0x5daf81;let _0xbeadef=_0x45febe[_0xabc593(0x506)]();this[_0xabc593(0x4f4)][_0xabc593(0x253)](_0xbeadef)||(this[_0xabc593(0x4f4)][_0xabc593(0x4ee)](_0xbeadef),this[_0xabc593(0x4d8)](async()=>{const _0xeaa39c=_0xabc593;this[_0xeaa39c(0x4f4)]['delete'](_0xbeadef),await this[_0xeaa39c(0x1ff)](_0x45febe);}));}async[_0x5daf81(0x1ff)](_0x445040){const _0x1503a2=_0x5daf81;let _0x50f264=_0x445040[_0x1503a2(0x506)](),_0x32444f=this[_0x1503a2(0x432)]['getSuperTableRegistrations'](_0x445040[_0x1503a2(0x2f3)]()),_0x441203=new Set(_0x32444f['map'](({tableName:_0x24783f})=>_0x24783f)),_0x536249=this[_0x1503a2(0x48c)][_0x1503a2(0x315)](_0x50f264)??new Set();for(let _0x2c1714 of _0x536249)if(!_0x441203[_0x1503a2(0x253)](_0x2c1714)&&!await this[_0x1503a2(0x3e2)](_0x5c6c2d['id'],{'unitId':_0x50f264,'tableName':_0x2c1714}))return;for(let {tableName:_0x8b6803,reference:_0x140fd4}of _0x32444f)if(!await this[_0x1503a2(0x3e2)](_0x2c56be['id'],{'unitId':_0x50f264,'tableName':_0x8b6803,'reference':_0x140fd4}))return;this[_0x1503a2(0x48c)]['set'](_0x50f264,_0x441203);}async[_0x5daf81(0x536)](_0xea5ac1){const _0x57ebf2=_0x5daf81;let _0x9934cc=this[_0x57ebf2(0x48c)][_0x57ebf2(0x315)](_0xea5ac1)??new Set();for(let _0x4e1550 of _0x9934cc)if(!await this[_0x57ebf2(0x3e2)](_0x5c6c2d['id'],{'unitId':_0xea5ac1,'tableName':_0x4e1550}))return;this[_0x57ebf2(0x48c)]['delete'](_0xea5ac1);}async['_executeSuperTableMutationWhileActive'](_0x31ec86,_0x17f22d){const _0x1ea906=_0x5daf81;return!this[_0x1ea906(0x3e1)]&&await this[_0x1ea906(0x4ec)][_0x1ea906(0x327)](_0x31ec86,_0x17f22d,{'onlyLocal':!0x0})&&!this[_0x1ea906(0x3e1)];}[_0x5daf81(0x4d8)](_0x34c3be){const _0x57fc7e=_0x5daf81;this[_0x57fc7e(0x223)]=this['_formulaSyncQueue']['then'](_0x34c3be,_0x34c3be)[_0x57fc7e(0x310)](()=>void 0x0);}[_0x5daf81(0x4a6)](_0x20d46e){const _0x4e98e9=_0x5daf81;let _0x252dc6=this['_univerInstanceService'][_0x4e98e9(0x34d)](_0x2ddca0[_0x4e98e9(0x33d)]);if(!_0x252dc6[_0x4e98e9(0x387)](_0x8a2e0a=>{const _0x36264d=_0x4e98e9;var _0x1957f0;return((_0x1957f0=_0x20d46e['unitData'])==null?void 0x0:_0x1957f0[_0x8a2e0a[_0x36264d(0x506)]()])!=null;}))return;let _0x5e6630=_0x252dc6['flatMap'](_0x23a255=>Zi(_0x23a255[_0x4e98e9(0x2f3)](),_0x20d46e));if(!_0x5e6630[_0x4e98e9(0x21d)]){this[_0x4e98e9(0x464)][_0x4e98e9(0x371)](_0x310a16[_0x4e98e9(0x50f)],_0x20d46e);return;}let _0x52b36c=new W(),_0x413dd5=_0x5e6630['flatMap'](_0x106c5d=>Is({'unitId':_0x106c5d[_0x4e98e9(0x3cb)],'tableId':_0x106c5d['tableId'],'patches':_0x106c5d[_0x4e98e9(0x4b0)]}));this[_0x4e98e9(0x423)]=!0x0,(async()=>{const _0x13e357=_0x4e98e9;for(let _0x8c4a17 of _0x5e6630){let _0x2f27c1=this['_univerInstanceService']['getUnit'](_0x8c4a17[_0x13e357(0x3cb)],_0x2ddca0[_0x13e357(0x33d)]);_0x2f27c1&&await this[_0x13e357(0x4ec)][_0x13e357(0x327)](Q['id'],{'unitId':_0x8c4a17['unitId'],'op':_0x52b36c[_0x13e357(0x1d7)](_0x2f27c1[_0x13e357(0x2f3)](),_0x8c4a17[_0x13e357(0x221)],_0x8c4a17[_0x13e357(0x4b0)]),'trigger':_0x245562['id']},{'onlyLocal':!0x0});}await this[_0x13e357(0x4ec)]['executeCommand'](_0x5cddaf['id'],{'dirtyRanges':_0x413dd5},{'onlyLocal':!0x0});})()[_0x4e98e9(0x46a)](()=>{const _0x2c8150=_0x4e98e9;this[_0x2c8150(0x423)]=!0x1,this[_0x2c8150(0x464)]['markResultApplied'](_0x310a16['BASE'],_0x20d46e);});}};zs=X([Y(0x0,_0x2ca718),Y(0x1,_0x364596),Y(0x2,_0x477fb0(_0x319ec4)),Y(0x3,_0x477fb0(_0x34ef91))],zs);function Bs(_0x42eeed){const _0x254ea0=_0x5daf81;return typeof _0x42eeed=='object'&&!!_0x42eeed&&_0x254ea0(0x3cb)in _0x42eeed&&typeof _0x42eeed[_0x254ea0(0x3cb)]==_0x254ea0(0x2ed)&&'op'in _0x42eeed&&Array[_0x254ea0(0x31e)](_0x42eeed['op']);}function Vs(_0x5a34c2){const _0x2a08df=_0x5daf81;return typeof _0x5a34c2=='object'&&!!_0x5a34c2&&_0x2a08df(0x24d)in _0x5a34c2&&_0x2a08df(0x32e)in _0x5a34c2;}const Hs=new Set([fo['id'],po['id'],Io['id']]);let Us=class extends _0x183939{constructor(_0x10cf00,_0x234c94,_0x26d0b3,_0x2abceb){const _0x3974a0=_0x5daf81;super(),this[_0x3974a0(0x385)]=_0x10cf00,this[_0x3974a0(0x4ec)]=_0x234c94,this[_0x3974a0(0x43e)]=_0x26d0b3,this[_0x3974a0(0x443)]=_0x2abceb,this[_0x3974a0(0x443)][_0x3974a0(0x34d)](_0x2ddca0[_0x3974a0(0x33d)])[_0x3974a0(0x429)](_0x4fa640=>this[_0x3974a0(0x55a)](_0x4fa640[_0x3974a0(0x506)]())),this[_0x3974a0(0x314)](this[_0x3974a0(0x443)][_0x3974a0(0x563)](_0x2ddca0[_0x3974a0(0x33d)])[_0x3974a0(0x341)](({unit:_0x455657})=>this[_0x3974a0(0x55a)](_0x455657[_0x3974a0(0x506)]()))),this[_0x3974a0(0x314)](this[_0x3974a0(0x4ec)]['beforeCommandExecuted']((_0x16733a,_0x2d3a76)=>this[_0x3974a0(0x3bc)](_0x16733a,_0x2d3a76))),this[_0x3974a0(0x314)](this[_0x3974a0(0x443)]['getTypeOfUnitDisposed$'](_0x2ddca0[_0x3974a0(0x33d)])['subscribe'](_0x4bfb7f=>{const _0x1b4315=_0x3974a0;this[_0x1b4315(0x385)]['get'](_0x2cff1c)[_0x1b4315(0x326)](_0x4bfb7f[_0x1b4315(0x506)]()),Rr(this[_0x1b4315(0x43e)],_0x4bfb7f[_0x1b4315(0x506)]());}));}[_0x5daf81(0x55a)](_0x1f017a){const _0x3acd93=_0x5daf81;Tr[_0x3acd93(0x429)](_0x14bf06=>{const _0x220689=_0x3acd93;let _0x12d618=Pr(_0x1f017a,_0x1f017a,_0x14bf06);this[_0x220689(0x43e)][_0x220689(0x473)](_0x12d618['id'])||this[_0x220689(0x43e)]['addPermissionPoint'](_0x12d618);}),this[_0x3acd93(0x385)][_0x3acd93(0x315)](_0x2cff1c)[_0x3acd93(0x4c0)]({'unitId':_0x1f017a,'objectId':_0x1f017a,'objectType':_0x2ea692[_0x3acd93(0x348)]});}[_0x5daf81(0x3bc)](_0xeb984b,_0x3f5354){const _0x4d95b6=_0x5daf81;var _0x4994b8;if(_0x3f5354!=null&&_0x3f5354[_0x4d95b6(0x458)]||_0x3f5354!=null&&_0x3f5354[_0x4d95b6(0x280)])return;let _0x298aa8=tc(_0xeb984b[_0x4d95b6(0x422)])?_0xeb984b['params']:void 0x0;if(_0x3f5354!=null&&_0x3f5354[_0x4d95b6(0x1d4)]&&_0xeb984b['id']===_0x4d95b6(0x554)&&(_0x298aa8==null?void 0x0:_0x298aa8[_0x4d95b6(0x22c)])===_0x245562['id'])return;let _0x2a9d80=Gs(_0xeb984b['id']),_0x22d5ad=Ws(_0x298aa8==null?void 0x0:_0x298aa8[_0x4d95b6(0x3cb)],_0x3f5354)??(_0x2a9d80?(_0x4994b8=this[_0x4d95b6(0x443)][_0x4d95b6(0x4c8)](_0x2ddca0[_0x4d95b6(0x33d)]))==null?void 0x0:_0x4994b8['getUnitId']():void 0x0);if(!_0x22d5ad||this[_0x4d95b6(0x443)][_0x4d95b6(0x2fa)](_0x22d5ad)!==_0x2ddca0[_0x4d95b6(0x33d)])return;if(_0x2a9d80){if(!Fr(this[_0x4d95b6(0x43e)],_0x22d5ad,_0x22d5ad,_0x2a9d80))throw this[_0x4d95b6(0x385)][_0x4d95b6(0x315)](_0x1bc7ec)['emitPermissionDenied'](_0x22d5ad),new _0x55df23(_0x4d95b6(0x453)+_0x44dc45[_0x2a9d80]+_0x4d95b6(0x26f));return;}if(Hs[_0x4d95b6(0x253)](_0xeb984b['id'])||!_0xeb984b['id']['startsWith']('base.command.')&&!_0xeb984b['id']['startsWith'](_0x4d95b6(0x4bf)))return;let _0x47ef52=this['_instanceService'][_0x4d95b6(0x1ed)](_0x22d5ad,_0x2ddca0[_0x4d95b6(0x33d)]),_0x4ad62e=_0x47ef52?Ks(_0x47ef52,_0x298aa8??{},_0xeb984b['id']):[];if(!_0x47ef52||!zr(this[_0x4d95b6(0x43e)],_0x22d5ad,_0x4ad62e))throw this[_0x4d95b6(0x385)][_0x4d95b6(0x315)](_0x1bc7ec)[_0x4d95b6(0x4f8)](_0x22d5ad,_0x4ad62e),new _0x55df23('Base\x20edit\x20permission\x20denied.');}};Us=X([Y(0x0,_0x477fb0(_0x46096e)),Y(0x1,_0x2ca718),Y(0x2,_0x2f962f),Y(0x3,_0x364596)],Us);function Ws(_0x502280,_0x5a1ccd){const _0x4b1824=_0x5daf81;return typeof _0x502280==_0x4b1824(0x2ed)?_0x502280:typeof(_0x5a1ccd==null?void 0x0:_0x5a1ccd[_0x4b1824(0x3cb)])==_0x4b1824(0x2ed)?_0x5a1ccd['unitId']:void 0x0;}function Gs(_0x5f51ef){const _0x265763=_0x5daf81;if(_0x5f51ef===_0x265763(0x46e)||_0x5f51ef===_0x265763(0x449))return _0x44dc45[_0x265763(0x29b)];if(_0x5f51ef['startsWith'](_0x265763(0x2bc))||_0x5f51ef[_0x265763(0x265)]('thread-comment.mutation.'))return _0x44dc45[_0x265763(0x332)];}function Ks(_0x5e4828,_0x11baa4,_0x1bd901){const _0x24b664=_0x5daf81;if(_0x1bd901===_0x24b664(0x554)&&ec(_0x11baa4['op']))return qs(_0x5e4828,_0x11baa4['op']);let _0x4841a1=new Set(),_0x159d68=Zs(_0x11baa4,_0x24b664(0x524)),_0x2f2cfb=typeof _0x11baa4[_0x24b664(0x221)]=='string'?_0x11baa4[_0x24b664(0x221)]:_0x159d68[0x0];if(_0x159d68[_0x24b664(0x429)](_0x6c8a00=>_0x4841a1[_0x24b664(0x4ee)](K(_0x6c8a00))),!_0x2f2cfb)return[..._0x4841a1];let _0x43246f=_0x5e4828['getSnapshot']()[_0x24b664(0x2f7)][_0x2f2cfb],_0x1a51e8=new Set(Zs(_0x11baa4,_0x24b664(0x50a))),_0xf006e3=new Set(Zs(_0x11baa4,_0x24b664(0x1b5))),_0x49f895=new Set(Zs(_0x11baa4,'view'));return Qs(_0x43246f,_0x11baa4[_0x24b664(0x4b0)],_0xf006e3,_0x1a51e8),$s(_0x11baa4,_0x1a51e8),_0x1a51e8[_0x24b664(0x429)](_0x3e2077=>_0x4841a1[_0x24b664(0x4ee)](q(_0x2f2cfb,_0x3e2077))),_0xf006e3[_0x24b664(0x429)](_0x38913d=>_0x4841a1['add'](J(_0x2f2cfb,_0x38913d))),_0x49f895[_0x24b664(0x429)](_0x21b052=>_0x4841a1[_0x24b664(0x4ee)](Mr(_0x2f2cfb,_0x21b052))),[..._0x4841a1];}function qs(_0x45d7b7,_0x5e9aab){const _0x1b7995=_0x5daf81;let _0x4a67bb=_0x45d7b7['getSnapshot'](),_0x1aece5=new z()[_0x1b7995(0x26e)](_0x5e9aab),_0x5aa757=Js(_0x5e9aab),_0x32deec=new Set();return _0x1aece5['forEach'](_0x639bc4=>{const _0x32496c=_0x1b7995;var _0xb5cb86,_0x9a1c9c;let {tableId:_0x18aad3}=_0x639bc4;if(!_0x18aad3)return;_0x32deec['add'](K(_0x18aad3));let _0x5df837=_0x4a67bb[_0x32496c(0x2f7)][_0x18aad3],_0xbb9c51=_0x639bc4[_0x32496c(0x1c6)]??(_0x639bc4[_0x32496c(0x406)]==null||_0x5df837==null||(_0xb5cb86=_0x5df837[_0x32496c(0x1ec)])==null?void 0x0:_0xb5cb86[_0x639bc4[_0x32496c(0x406)]]),_0x232b1a=_0x639bc4[_0x32496c(0x4a1)]??(_0x639bc4['column']==null||_0x5df837==null||(_0x9a1c9c=_0x5df837[_0x32496c(0x33c)])==null?void 0x0:_0x9a1c9c[_0x639bc4[_0x32496c(0x1cc)]]);_0xbb9c51&&_0x32deec[_0x32496c(0x4ee)](J(_0x18aad3,_0xbb9c51)),_0x232b1a&&_0x32deec[_0x32496c(0x4ee)](q(_0x18aad3,_0x232b1a)),_0x639bc4[_0x32496c(0x3c2)]&&_0x32deec[_0x32496c(0x4ee)](Mr(_0x18aad3,_0x639bc4['viewId'])),(_0x639bc4['reason']===_0x32496c(0x524)||_0x5aa757[_0x32496c(0x253)](_0x18aad3))&&_0x5df837&&(Object['keys'](_0x5df837[_0x32496c(0x503)])[_0x32496c(0x429)](_0x4e8ee3=>_0x32deec[_0x32496c(0x4ee)](q(_0x18aad3,_0x4e8ee3))),Object['keys'](_0x5df837[_0x32496c(0x43a)])[_0x32496c(0x429)](_0x2d1797=>_0x32deec[_0x32496c(0x4ee)](J(_0x18aad3,_0x2d1797))),Object[_0x32496c(0x46f)](_0x5df837[_0x32496c(0x1e8)])[_0x32496c(0x429)](_0x385b4d=>_0x32deec['add'](Mr(_0x18aad3,_0x385b4d)))),_0x639bc4['reason']===_0x32496c(0x1b5)&&_0x5df837&&Object[_0x32496c(0x46f)](_0x5df837[_0x32496c(0x503)])[_0x32496c(0x429)](_0xa4033d=>_0x32deec[_0x32496c(0x4ee)](q(_0x18aad3,_0xa4033d)));}),_0x1aece5[_0x1b7995(0x21d)]===0x0&&Xs(_0x5e9aab,'tableOrder')&&Object[_0x1b7995(0x46f)](_0x4a67bb[_0x1b7995(0x2f7)])[_0x1b7995(0x429)](_0x28a7b4=>_0x32deec['add'](K(_0x28a7b4))),[..._0x32deec];}function Js(_0x556f74){let _0x24c04b=new Set(),_0x3ea79c=_0x32200d=>{const _0x2ef9ee=_0x188f;Array['isArray'](_0x32200d)&&_0x32200d[_0x2ef9ee(0x429)]((_0x3fcf02,_0xdb7fe1)=>{const _0x2ce2f4=_0x2ef9ee;_0x3fcf02===_0x2ce2f4(0x2f7)&&typeof _0x32200d[_0xdb7fe1+0x1]==_0x2ce2f4(0x2ed)&&Ys(_0x32200d[_0xdb7fe1+0x2])&&_0x24c04b['add'](_0x32200d[_0xdb7fe1+0x1]),_0x3ea79c(_0x3fcf02);});};return _0x3ea79c(_0x556f74),_0x24c04b;}function Ys(_0x5be3dd){const _0x47de31=_0x5daf81;return!!_0x5be3dd&&typeof _0x5be3dd==_0x47de31(0x1fb)&&!Array[_0x47de31(0x31e)](_0x5be3dd)&&('i'in _0x5be3dd||'r'in _0x5be3dd||'p'in _0x5be3dd||'d'in _0x5be3dd||'es'in _0x5be3dd||'ena'in _0x5be3dd||'et'in _0x5be3dd);}function Xs(_0x2f2f29,_0x1187d6){const _0x221253=_0x5daf81;return Array[_0x221253(0x31e)](_0x2f2f29)&&_0x2f2f29['some'](_0x11679f=>_0x11679f===_0x1187d6||Xs(_0x11679f,_0x1187d6));}function Zs(_0x44432a,_0x52c0eb){let _0x207996=new Set(),_0xd09c84=_0x52c0eb+'Id',_0x3cd397=_0x52c0eb+'Ids',_0x36dded=(_0x33addd,_0x5036d0='')=>{const _0x542170=_0x188f;typeof _0x33addd==_0x542170(0x2ed)?_0x5036d0===_0xd09c84&&_0x207996[_0x542170(0x4ee)](_0x33addd):Array[_0x542170(0x31e)](_0x33addd)?_0x5036d0===_0x3cd397?_0x33addd[_0x542170(0x429)](_0x1fa1d8=>{typeof _0x1fa1d8=='string'&&_0x207996['add'](_0x1fa1d8);}):_0x33addd[_0x542170(0x429)](_0x14b60b=>_0x36dded(_0x14b60b,_0x5036d0)):tc(_0x33addd)&&Object['entries'](_0x33addd)[_0x542170(0x429)](([_0x27e6fe,_0x6cc7c7])=>{const _0x2a50b0=_0x542170;_0x27e6fe==='id'&&_0x5036d0===_0x52c0eb&&typeof _0x6cc7c7==_0x2a50b0(0x2ed)?_0x207996['add'](_0x6cc7c7):_0x36dded(_0x6cc7c7,_0x27e6fe);});};return _0x36dded(_0x44432a),[..._0x207996];}function Qs(_0x401703,_0x212d52,_0x5c4835,_0x25bf56){_0x401703&&Array['isArray'](_0x212d52)&&_0x212d52['forEach'](_0x3f5248=>{const _0x53802a=_0x188f;if(!tc(_0x3f5248))return;let _0x12d8fd=_0x3f5248;if(typeof _0x12d8fd[_0x53802a(0x406)]==_0x53802a(0x53d)){var _0x340380;let _0x266259=(_0x340380=_0x401703[_0x53802a(0x1ec)])==null?void 0x0:_0x340380[_0x12d8fd[_0x53802a(0x406)]];_0x266259&&_0x5c4835['add'](_0x266259);}if(typeof _0x12d8fd[_0x53802a(0x2f0)]==_0x53802a(0x53d)){var _0x2647d5;let _0x2744f0=(_0x2647d5=_0x401703[_0x53802a(0x33c)])==null?void 0x0:_0x2647d5[_0x12d8fd[_0x53802a(0x2f0)]];_0x2744f0&&_0x25bf56['add'](_0x2744f0);}});}function $s(_0xabae87,_0x40a9e1,_0x4b5635=''){const _0x430620=_0x5daf81;_0xabae87&&typeof _0xabae87==_0x430620(0x1fb)&&(Array[_0x430620(0x31e)](_0xabae87)?_0xabae87[_0x430620(0x429)](_0x32274d=>$s(_0x32274d,_0x40a9e1,_0x4b5635)):tc(_0xabae87)&&Object[_0x430620(0x2e4)](_0xabae87)[_0x430620(0x429)](([_0x3626f1,_0x303d74])=>{const _0x2b7e35=_0x430620;_0x4b5635===_0x2b7e35(0x45b)&&_0x40a9e1[_0x2b7e35(0x4ee)](_0x3626f1),$s(_0x303d74,_0x40a9e1,_0x3626f1);}));}function ec(_0x66e604){return Array['isArray'](_0x66e604);}function tc(_0x2b3dd8){const _0x523abb=_0x5daf81;return typeof _0x2b3dd8==_0x523abb(0x1fb)&&!!_0x2b3dd8&&!Array[_0x523abb(0x31e)](_0x2b3dd8);}const nc=_0x3262c5(_0x5daf81(0x54a));let rc=class{constructor(_0x442a58){const _0x51d8cf=_0x5daf81;this[_0x51d8cf(0x552)]=_0x442a58;}['getBase'](_0x40a1ce){const _0x4d89bd=_0x5daf81;return this[_0x4d89bd(0x552)][_0x4d89bd(0x1ed)](_0x40a1ce,_0x2ddca0['UNIVER_BASE'])??null;}['getAllBases'](){const _0x189b48=_0x5daf81;return this['_univerInstanceService'][_0x189b48(0x34d)](_0x2ddca0[_0x189b48(0x33d)]);}['createBase'](_0x5d5f54){const _0x49c072=_0x5daf81;return this['_univerInstanceService'][_0x49c072(0x55c)](_0x2ddca0[_0x49c072(0x33d)],_0x5d5f54);}};rc=X([Y(0x0,_0x364596)],rc);const ic=_0x3262c5('base.view-registry.service');var ac=class extends _0x183939{constructor(..._0x54478f){const _0x2d43b0=_0x5daf81;super(..._0x54478f),G(this,_0x2d43b0(0x450),new Map());}['register'](_0x1bb256){const _0x2ecae1=_0x5daf81;return this[_0x2ecae1(0x450)][_0x2ecae1(0x1ba)](_0x1bb256[_0x2ecae1(0x305)],_0x1bb256),_0x1a388a(()=>this[_0x2ecae1(0x450)][_0x2ecae1(0x3ae)](_0x1bb256['type']));}[_0x5daf81(0x315)](_0x3fe08f){const _0xc51a9e=_0x5daf81;let _0x3b8b66=this[_0xc51a9e(0x450)]['get'](_0x3fe08f);if(!_0x3b8b66)throw Error(_0xc51a9e(0x2ce)+_0x3fe08f+_0xc51a9e(0x2ec));return _0x3b8b66;}[_0x5daf81(0x4a5)](){const _0x33ef1d=_0x5daf81;return Array[_0x33ef1d(0x404)](this[_0x33ef1d(0x450)][_0x33ef1d(0x45b)]());}};const oc=[Q];let sc=class extends _0x29b1cf{constructor(_0x3550d7=Ns,_0x2cd8f0,_0x5706df,_0x335e12,_0x3dcee9,_0xe50f9e){const _0x46f9c7=_0x5daf81;super(),this[_0x46f9c7(0x3d7)]=_0x3550d7,this[_0x46f9c7(0x385)]=_0x2cd8f0,this[_0x46f9c7(0x4ec)]=_0x5706df,this[_0x46f9c7(0x552)]=_0x335e12,this[_0x46f9c7(0x557)]=_0x3dcee9,this[_0x46f9c7(0x3b0)]=_0xe50f9e,G(this,_0x46f9c7(0x4d2),new Map());let {..._0x4f6931}=_0x5a5f56({},Ns,this[_0x46f9c7(0x3d7)]);this[_0x46f9c7(0x557)][_0x46f9c7(0x438)](_0x46f9c7(0x540),_0x4f6931),this[_0x46f9c7(0x552)][_0x46f9c7(0x3d4)](_0x2ddca0[_0x46f9c7(0x33d)],_0x3bc5ac),this[_0x46f9c7(0x521)](),this[_0x46f9c7(0x263)](),this[_0x46f9c7(0x255)](),this[_0x46f9c7(0x2a7)]();}[_0x5daf81(0x28c)](){const _0x521c53=_0x5daf81;this[_0x521c53(0x385)][_0x521c53(0x4ee)]([Lo]),this[_0x521c53(0x314)](this[_0x521c53(0x385)][_0x521c53(0x315)](_0x2ca718)[_0x521c53(0x535)](Ro)),this['disposeWithMe'](this[_0x521c53(0x385)][_0x521c53(0x315)](_0x2ca718)['registerCommand'](zo)),this[_0x521c53(0x314)](this[_0x521c53(0x385)][_0x521c53(0x315)](_0x2cff1c)[_0x521c53(0x205)](_0x2ea692[_0x521c53(0x348)],this[_0x521c53(0x385)][_0x521c53(0x315)](Lo),Ro['id'],zo['id']));}['onReady'](){const _0x18b40d=_0x5daf81;_0x32cf62(this[_0x18b40d(0x385)],[[rc],[qr],[Rs]]),this[_0x18b40d(0x552)][_0x18b40d(0x34d)](_0x2ddca0[_0x18b40d(0x33d)])[_0x18b40d(0x429)](_0x208347=>this[_0x18b40d(0x452)](_0x208347[_0x18b40d(0x506)]())),_0x32cf62(this[_0x18b40d(0x385)],[[zs],[Us]]);}[_0x5daf81(0x521)](){const _0xd4bbbf=_0x5daf81;[[mr,{'useClass':hr}],[ic,{'useClass':ac}],[ii,{'useClass':si}],[nc,{'useClass':rc}],[Br,{'useClass':Vr}],[Kr,{'useClass':qr}],[Rs],[zs],[Us]][_0xd4bbbf(0x429)](_0xb5dd20=>this[_0xd4bbbf(0x385)][_0xd4bbbf(0x4ee)](_0xb5dd20));}['_initCommands'](){const _0x31323d=_0x5daf81;[Aa,so,Ja,wo,go,ho,Ea,wa,xa,qa,Sa,Za,Oo,no,Ta,Xa,Eo,To,Ca,Ka,to,Io,Ga,Qa,co,uo,Ya,oo,Fo,Ao,lo,fo,po,Do,xo,Co,So,_o,yo,bo,vo,...oc][_0x31323d(0x429)](_0x421159=>this[_0x31323d(0x314)](this[_0x31323d(0x4ec)][_0x31323d(0x535)](_0x421159))),oc[_0x31323d(0x429)](_0x306242=>{const _0x4bd16f=_0x31323d;var _0x5b6d3a;return(_0x5b6d3a=this[_0x4bd16f(0x3b0)])==null?void 0x0:_0x5b6d3a[_0x4bd16f(0x1cd)](_0x306242);});}[_0x5daf81(0x2a7)](){const _0x3831c4=_0x5daf81;this['_dataSyncPrimaryController']&&(this[_0x3831c4(0x314)](this[_0x3831c4(0x552)]['getTypeOfUnitAdded$'](_0x2ddca0[_0x3831c4(0x33d)])['subscribe'](({unit:_0x345bff})=>{const _0x486c3f=_0x3831c4;this[_0x486c3f(0x452)](_0x345bff[_0x486c3f(0x506)]());})),this[_0x3831c4(0x314)](this[_0x3831c4(0x552)][_0x3831c4(0x3c7)](_0x2ddca0[_0x3831c4(0x33d)])['subscribe'](_0xb847b0=>{const _0x392789=_0x3831c4;var _0x310454;(_0x310454=this[_0x392789(0x4d2)][_0x392789(0x315)](_0xb847b0[_0x392789(0x506)]()))==null||_0x310454[_0x392789(0x399)](),this[_0x392789(0x4d2)][_0x392789(0x3ae)](_0xb847b0['getUnitId']());})));}['_syncBaseUnit'](_0x53efa0){const _0x10c13a=_0x5daf81;this[_0x10c13a(0x3b0)]&&!this[_0x10c13a(0x4d2)][_0x10c13a(0x253)](_0x53efa0)&&this['_baseSyncDisposables'][_0x10c13a(0x1ba)](_0x53efa0,this['_dataSyncPrimaryController'][_0x10c13a(0x358)](_0x53efa0));}[_0x5daf81(0x255)](){const _0x3bc870=_0x5daf81;let _0x162d0b=this[_0x3bc870(0x385)][_0x3bc870(0x315)](mr);zn()['forEach'](_0x13da42=>_0x162d0b['register'](_0x13da42));let _0x3bb1ea=this[_0x3bc870(0x385)][_0x3bc870(0x315)](ic),_0x32a25d=this['_injector'][_0x3bc870(0x315)](ii);$r()['forEach'](_0x2faa8b=>{const _0x43bd16=_0x3bc870;_0x3bb1ea[_0x43bd16(0x549)](_0x2faa8b),_0x32a25d[_0x43bd16(0x3d3)](_0x2faa8b);});}};G(sc,_0x5daf81(0x2f4),'BASES_PLUGIN'),G(sc,_0x5daf81(0x4f1),js),G(sc,'version',Ms),G(sc,_0x5daf81(0x305),_0x2ddca0[_0x5daf81(0x33d)]),sc=X([_0x2061bd(_0x4380c0,_0x446c43),Y(0x1,_0x477fb0(_0x46096e)),Y(0x2,_0x2ca718),Y(0x3,_0x364596),Y(0x4,_0x14abe6),Y(0x5,_0x1c6aef(_0x51b863))],sc);let cc=class extends _0x29b1cf{constructor(_0xf85dc7=Ps,_0x190083,_0x50b954,_0x128aa1,_0x1666ec){const _0x3075b7=_0x5daf81;super(),this[_0x3075b7(0x3d7)]=_0xf85dc7,this[_0x3075b7(0x385)]=_0x190083,this['_commandService']=_0x50b954,this[_0x3075b7(0x557)]=_0x128aa1,this[_0x3075b7(0x552)]=_0x1666ec;let {..._0x399ac2}=_0x5a5f56({},Ps,this[_0x3075b7(0x3d7)]);this[_0x3075b7(0x557)][_0x3075b7(0x438)](_0x3075b7(0x47a),_0x399ac2),this[_0x3075b7(0x552)][_0x3075b7(0x3d4)](_0x2ddca0[_0x3075b7(0x33d)],_0x3bc5ac),[[mr,{'useClass':hr}],[ii,{'useClass':si}]]['forEach'](_0x5309f3=>this[_0x3075b7(0x385)][_0x3075b7(0x4ee)](_0x5309f3)),oc[_0x3075b7(0x429)](_0x250e5f=>this['disposeWithMe'](this[_0x3075b7(0x4ec)]['registerCommand'](_0x250e5f)));}};G(cc,_0x5daf81(0x2f4),'REMOTE_BASES_PLUGIN'),G(cc,'packageName',js),G(cc,_0x5daf81(0x2c3),Ms),G(cc,_0x5daf81(0x305),_0x2ddca0[_0x5daf81(0x33d)]),cc=X([_0x2061bd(_0x4380c0,_0x446c43),Y(0x1,_0x477fb0(_0x46096e)),Y(0x2,_0x2ca718),Y(0x3,_0x14abe6),Y(0x4,_0x364596)],cc);function lc(_0x4e1501){const _0x3a2d62=_0x5daf81;let _0x2a503e=Cc(_0x4e1501['query']);if(!_0x2a503e)return{'query':'','total':0x0,'matches':[]};let _0x5cc4d3=[],_0x3c2247=[];for(let _0x103bb2=0x0;_0x103bb2<_0x4e1501[_0x3a2d62(0x209)]['length'];_0x103bb2++){if(!(_0x103bb2 in _0x4e1501[_0x3a2d62(0x209)]))continue;let _0x4a4dc8=_0x4e1501['table'][_0x3a2d62(0x503)][_0x4e1501[_0x3a2d62(0x209)][_0x103bb2]];_0x4a4dc8&&_0x3c2247[_0x3a2d62(0x482)]({'field':_0x4a4dc8,'fieldIndex':_0x103bb2});}_0x4e1501[_0x3a2d62(0x372)][_0x3a2d62(0x429)]((_0x4904df,_0x2467f9)=>{const _0x35b53e=_0x3a2d62;_0x3c2247[_0x35b53e(0x429)](({field:_0x98aa86,fieldIndex:_0x129769})=>{const _0x322e3c=_0x35b53e;let _0x1460ef=uc(_0x4904df[_0x322e3c(0x45b)][_0x98aa86['id']],_0x98aa86);if(!_0x1460ef)return;let _0x34288f=Sc(_0x2a503e,_0x1460ef[_0x322e3c(0x264)]);_0x34288f<=0x0||_0x5cc4d3[_0x322e3c(0x482)]({'recordId':_0x4904df[_0x322e3c(0x1c6)],'fieldId':_0x98aa86['id'],'fieldType':_0x98aa86[_0x322e3c(0x305)],'text':_0x1460ef[_0x322e3c(0x2dd)],'score':_0x34288f,'rowIndex':_0x2467f9,'fieldIndex':_0x129769});});}),_0x5cc4d3[_0x3a2d62(0x3c5)]((_0x3c7ebb,_0x40b83d)=>_0x40b83d[_0x3a2d62(0x1c1)]-_0x3c7ebb[_0x3a2d62(0x1c1)]||_0x3c7ebb['rowIndex']-_0x40b83d[_0x3a2d62(0x2c4)]||_0x3c7ebb['fieldIndex']-_0x40b83d[_0x3a2d62(0x301)]);let _0x4cd9bf=_0x4e1501['limit']==null?_0x5cc4d3:_0x5cc4d3[_0x3a2d62(0x1cb)](0x0,Math[_0x3a2d62(0x29c)](0x0,_0x4e1501[_0x3a2d62(0x354)]));return{'query':_0x2a503e,'total':_0x5cc4d3[_0x3a2d62(0x21d)],'matches':Tc(_0x4cd9bf)};}function uc(_0x3332aa,_0x3ab791){const _0x3989aa=_0x5daf81;let _0x537500=[];for(let _0x97ba47 of fc(_0x3332aa,_0x3ab791)){let _0x24af4b=Cc(_0x97ba47);_0x24af4b&&_0x537500[_0x3989aa(0x482)](_0x24af4b);}return _0x537500[_0x3989aa(0x21d)]?{'displayText':dc(_0x3332aa,_0x3ab791),'searchTexts':wc(_0x537500)}:null;}function dc(_0x31bc09,_0x4ac8d6){const _0x389358=_0x5daf81;switch(_0x4ac8d6[_0x389358(0x305)]){case _0x618ba['SingleSelect']:case _0x618ba[_0x389358(0x3a1)]:case _0x618ba[_0x389358(0x377)]:return pc(_0x31bc09,_0x4ac8d6)[_0x389358(0x30a)](',\x20');case _0x618ba['Link']:return gc(_0x31bc09);case _0x618ba[_0x389358(0x47c)]:case _0x618ba['CreatedAt']:case _0x618ba[_0x389358(0x29f)]:return _c(_0x31bc09,_0x4ac8d6);case _0x618ba['Number']:case _0x618ba[_0x389358(0x20a)]:return vc(_0x31bc09,_0x4ac8d6);case _0x618ba[_0x389358(0x257)]:return yc(_0x31bc09,_0x4ac8d6);case _0x618ba[_0x389358(0x4bb)]:return _0x31bc09?_0x389358(0x4df):_0x389358(0x380);case _0x618ba[_0x389358(0x1f8)]:return bc(_0x31bc09)[_0x389358(0x30a)](',\x20');default:return xc(_0x31bc09);}}function fc(_0xb394b5,_0x57c997){const _0x484b6c=_0x5daf81;switch(_0x57c997[_0x484b6c(0x305)]){case _0x618ba[_0x484b6c(0x3af)]:case _0x618ba[_0x484b6c(0x3a1)]:case _0x618ba['Group']:{let _0x2ca277=pc(_0xb394b5,_0x57c997);if(Array[_0x484b6c(0x31e)](_0xb394b5)){let _0x16846a=[..._0x2ca277];for(let _0x3313be=0x0;_0x3313be<_0xb394b5['length'];_0x3313be++)_0x3313be in _0xb394b5&&_0x16846a[_0x484b6c(0x482)](String(_0xb394b5[_0x3313be]));return _0x16846a;}return _0xb394b5==null?_0x2ca277:[..._0x2ca277,String(_0xb394b5)];}case _0x618ba[_0x484b6c(0x42d)]:{let _0x59a637=hc(_0xb394b5);return[_0x59a637[_0x484b6c(0x38e)],_0x59a637[_0x484b6c(0x4fe)]];}case _0x618ba['Date']:case _0x618ba[_0x484b6c(0x3fb)]:case _0x618ba[_0x484b6c(0x29f)]:return[_c(_0xb394b5,_0x57c997),xc(_0xb394b5)];case _0x618ba[_0x484b6c(0x480)]:case _0x618ba['Currency']:return[vc(_0xb394b5,_0x57c997),xc(_0xb394b5)];case _0x618ba[_0x484b6c(0x257)]:return[yc(_0xb394b5,_0x57c997),xc(_0xb394b5)];case _0x618ba['Checkbox']:return _0xb394b5?[_0x484b6c(0x4df),_0x484b6c(0x2ca),'True']:['Unchecked','No',_0x484b6c(0x3dd)];case _0x618ba[_0x484b6c(0x1f8)]:return bc(_0xb394b5);default:return[xc(_0xb394b5)];}}function pc(_0x548148,_0x4753fa){const _0x596ce5=_0x5daf81;var _0x1a7426;let _0x2b74fc=Array[_0x596ce5(0x31e)]((_0x1a7426=_0x4753fa[_0x596ce5(0x396)])==null?void 0x0:_0x1a7426[_0x596ce5(0x49e)])?_0x4753fa[_0x596ce5(0x396)]['options']:[],_0x41f474=[];if(Array['isArray'](_0x548148)){for(let _0x10197f=0x0;_0x10197f<_0x548148['length'];_0x10197f++){if(!(_0x10197f in _0x548148))continue;let _0x1cfd6e=String(_0x548148[_0x10197f]);_0x1cfd6e&&_0x41f474['push'](mc(_0x2b74fc,_0x1cfd6e));}return _0x41f474;}if(_0x548148!=null){let _0x36accd=String(_0x548148);_0x36accd&&_0x41f474[_0x596ce5(0x482)](mc(_0x2b74fc,_0x36accd));}return _0x41f474;}function mc(_0x46b88f,_0x51dc51){const _0x3b48d3=_0x5daf81;for(let _0x146796 of _0x46b88f){if(typeof _0x146796==_0x3b48d3(0x2ed)&&_0x146796===_0x51dc51)return _0x146796;if(_0x146796&&typeof _0x146796==_0x3b48d3(0x1fb)){let _0x3aa935=_0x146796;if(String(_0x3aa935['id']??_0x3aa935[_0x3b48d3(0x322)]??'')===_0x51dc51||String(_0x3aa935['name']??'')===_0x51dc51)return String(_0x3aa935[_0x3b48d3(0x322)]??_0x3aa935['id']??_0x51dc51);}}return _0x51dc51;}function hc(_0x495d35){const _0x474d34=_0x5daf81;if(_0x495d35&&typeof _0x495d35=='object'&&!Array[_0x474d34(0x31e)](_0x495d35)){let _0x728f2f=_0x495d35;return{'text':String(_0x728f2f['text']??_0x728f2f[_0x474d34(0x4fe)]??''),'url':String(_0x728f2f[_0x474d34(0x4fe)]??'')};}return{'text':xc(_0x495d35),'url':xc(_0x495d35)};}function gc(_0x13b670){const _0x4a8a66=_0x5daf81;let _0xcfa46c=hc(_0x13b670);return _0xcfa46c[_0x4a8a66(0x38e)]||_0xcfa46c[_0x4a8a66(0x4fe)];}function _c(_0x5b0edf,_0x31274d){const _0x455490=_0x5daf81;return typeof _0x5b0edf!=_0x455490(0x53d)||!Number[_0x455490(0x2fc)](_0x5b0edf)?'':mn(_0x5b0edf,_0x31274d[_0x455490(0x396)]);}function vc(_0x2354cd,_0x3bdf98){const _0x17469a=_0x5daf81;let _0x5ba65d=typeof _0x2354cd==_0x17469a(0x53d)?_0x2354cd:Number(_0x2354cd);return Number[_0x17469a(0x2fc)](_0x5ba65d)?qo(_0x5ba65d,_0x3bdf98[_0x17469a(0x396)]):'';}function yc(_0x7ef953,_0x56a849){const _0x3ddf06=_0x5daf81;let _0x48c3fc=typeof _0x7ef953==_0x3ddf06(0x53d)?_0x7ef953:Number(_0x7ef953);return Number['isFinite'](_0x48c3fc)?Qo(_0x48c3fc,_0x56a849[_0x3ddf06(0x396)]):'';}function bc(_0x1f631d){const _0x26821e=_0x5daf81;return Array[_0x26821e(0x31e)](_0x1f631d)?_0x1f631d[_0x26821e(0x36c)](_0x586d26=>{const _0x34428a=_0x26821e;if(!_0x586d26||typeof _0x586d26!=_0x34428a(0x1fb))return[];let _0x60127e=_0x586d26,_0xaa900f=String(_0x60127e[_0x34428a(0x322)]??_0x60127e['url']??'')[_0x34428a(0x3a5)]();return _0xaa900f?[_0xaa900f]:[];}):[];}function xc(_0x4ad12e){const _0x5dd3ce=_0x5daf81;if(_0x4ad12e==null)return'';if(typeof _0x4ad12e==_0x5dd3ce(0x26c))return _0x4ad12e?'true':_0x5dd3ce(0x299);if(typeof _0x4ad12e==_0x5dd3ce(0x53d))return String(_0x4ad12e);if(Array['isArray'](_0x4ad12e)){let _0x2a648f=[];for(let _0x2b1ea3=0x0;_0x2b1ea3<_0x4ad12e[_0x5dd3ce(0x21d)];_0x2b1ea3++){if(!(_0x2b1ea3 in _0x4ad12e))continue;let _0x46dbc7=xc(_0x4ad12e[_0x2b1ea3]);_0x46dbc7&&_0x2a648f[_0x5dd3ce(0x482)](_0x46dbc7);}return _0x2a648f[_0x5dd3ce(0x30a)](',\x20');}if(typeof _0x4ad12e=='object'){let _0x1061da=_0x4ad12e;return String(_0x1061da[_0x5dd3ce(0x2ff)]??_0x1061da[_0x5dd3ce(0x322)]??_0x1061da['text']??_0x1061da[_0x5dd3ce(0x4fe)]??'')[_0x5dd3ce(0x3a5)]();}return String(_0x4ad12e);}function Sc(_0x374de4,_0x113413){const _0x38417c=_0x5daf81;let _0x2f99e3=0x0;for(let _0x527284 of _0x113413)_0x527284&&(_0x527284===_0x374de4?_0x2f99e3=Math[_0x38417c(0x29c)](_0x2f99e3,0x12c):_0x527284[_0x38417c(0x265)](_0x374de4)?_0x2f99e3=Math['max'](_0x2f99e3,0xfa):_0x527284[_0x38417c(0x4f9)](_0x374de4)&&(_0x2f99e3=Math[_0x38417c(0x29c)](_0x2f99e3,0xc8)));return _0x2f99e3;}function Cc(_0xd841b8){const _0x37b2ad=_0x5daf81;return _0xd841b8[_0x37b2ad(0x3a5)]()[_0x37b2ad(0x39b)](/\s+/g,'\x20')[_0x37b2ad(0x40c)]();}function wc(_0x31b2d3){const _0x1101a4=_0x5daf81;return Array[_0x1101a4(0x404)](new Set(_0x31b2d3));}function Tc(_0x3e70b4){const _0x1bd8b7=_0x5daf81;let _0x49ce06=[];for(let {rowIndex:_0x2cfa33,fieldIndex:_0x3c1dbf,..._0x33ee13}of _0x3e70b4)_0x49ce06[_0x1bd8b7(0x482)](_0x33ee13);return _0x49ce06;}function Ec(_0x56d10d){const _0x114f94=_0x5daf81;return{'compress':!0x0,'kind':_0x114f94(0x4f2),'u':_0x56d10d[_0x114f94(0x3cb)],'t':_0x56d10d[_0x114f94(0x221)],'p':_0x56d10d[_0x114f94(0x4b0)][_0x114f94(0x2b0)](_0x4e7a74=>[_0x4e7a74[_0x114f94(0x406)],_0x4e7a74[_0x114f94(0x2f0)],Ac(_0x4e7a74['value'])]),..._0x56d10d[_0x114f94(0x22c)]===void 0x0?{}:{'g':_0x56d10d[_0x114f94(0x22c)]}};}function Dc(_0x38298e){const _0x441aca=_0x5daf81;if(Lc(_0x38298e,_0x441aca(0x4f2)),!Oc(_0x38298e)){if(!Ic(_0x38298e))throw Error(_0x441aca(0x393));return _0x38298e;}return{'unitId':_0x38298e['u'],'tableId':_0x38298e['t'],'patches':_0x38298e['p']['map'](([_0x45269b,_0x21c227,_0x44e97b])=>({'row':_0x45269b,'col':_0x21c227,'value':jc(_0x44e97b)})),..._0x38298e['g']===void 0x0?{}:{'trigger':_0x38298e['g']}};}function Oc(_0x5f342b){const _0x5b052f=_0x5daf81;return!Rc(_0x5f342b)||_0x5f342b['compress']!==!0x0||_0x5f342b[_0x5b052f(0x29e)]!=='base-range-values-v1'?!0x1:typeof _0x5f342b['u']==_0x5b052f(0x2ed)&&typeof _0x5f342b['t']==_0x5b052f(0x2ed)&&(_0x5f342b['g']===void 0x0||typeof _0x5f342b['g']==_0x5b052f(0x2ed))&&Array[_0x5b052f(0x31e)](_0x5f342b['p'])&&_0x5f342b['p'][_0x5b052f(0x2ab)](_0x4be59b=>Array['isArray'](_0x4be59b)&&_0x4be59b[_0x5b052f(0x21d)]===0x3&&Number[_0x5b052f(0x317)](_0x4be59b[0x0])&&Number[_0x5b052f(0x317)](_0x4be59b[0x1]));}function kc(_0x3320d4){const _0x3a82e0=_0x5daf81;return!Rc(_0x3320d4)||_0x3320d4['compress']!==!0x0||_0x3320d4['kind']!==_0x3a82e0(0x368)||!Rc(_0x3320d4[_0x3a82e0(0x2f7)])?!0x1:Object[_0x3a82e0(0x45b)](_0x3320d4['tables'])['every'](_0xc5ea2a=>Rc(_0xc5ea2a)&&(_0xc5ea2a['cd']===void 0x0||Array[_0x3a82e0(0x31e)](_0xc5ea2a['cd'])&&_0xc5ea2a['cd'][_0x3a82e0(0x2ab)](_0x81c881=>Array[_0x3a82e0(0x31e)](_0x81c881)&&_0x81c881[_0x3a82e0(0x21d)]===0x3&&Number[_0x3a82e0(0x317)](_0x81c881[0x0])&&Number['isInteger'](_0x81c881[0x1])&&Fc(_0x81c881[0x2]))));}function Ac(_0x3d6e4a){return Pc(_0x3d6e4a)?Mc(_0x3d6e4a):_0x3d6e4a;}function jc(_0xda36a3){return Fc(_0xda36a3)?Nc(_0xda36a3):_0xda36a3;}function Mc(_0xbafab2){return{'c':0x1,..._0xbafab2['v']===void 0x0?{}:{'v':_0xbafab2['v']},..._0xbafab2['t']!==void 0x0&&_0xbafab2['t']!==null?{'t':_0xbafab2['t']}:_0xbafab2['t']===null?{'t':null}:{},..._0xbafab2['f']!==void 0x0&&_0xbafab2['f']!==null?{'f':_0xbafab2['f']}:_0xbafab2['f']===null?{'f':null}:{},..._0xbafab2['si']!==void 0x0&&_0xbafab2['si']!==null?{'si':_0xbafab2['si']}:_0xbafab2['si']===null?{'si':null}:{},..._0xbafab2['p']!==void 0x0&&_0xbafab2['p']!==null?{'p':_0xbafab2['p']}:_0xbafab2['p']===null?{'p':null}:{}};}function Nc(_0x3233ba){return{..._0x3233ba['v']===void 0x0?{}:{'v':_0x3233ba['v']},..._0x3233ba['t']===void 0x0?{}:{'t':_0x3233ba['t']},..._0x3233ba['f']===void 0x0?{}:{'f':_0x3233ba['f']},..._0x3233ba['si']===void 0x0?{}:{'si':_0x3233ba['si']},..._0x3233ba['p']===void 0x0?{}:{'p':_0x3233ba['p']}};}function Pc(_0x56b8e7){const _0x59063f=_0x5daf81;return!!_0x56b8e7&&typeof _0x56b8e7==_0x59063f(0x1fb)&&!Array[_0x59063f(0x31e)](_0x56b8e7)&&(Object[_0x59063f(0x4e2)][_0x59063f(0x4d7)]['call'](_0x56b8e7,'v')||Object['prototype'][_0x59063f(0x4d7)][_0x59063f(0x35d)](_0x56b8e7,'t')||Object[_0x59063f(0x4e2)][_0x59063f(0x4d7)][_0x59063f(0x35d)](_0x56b8e7,'p')||Object['prototype'][_0x59063f(0x4d7)]['call'](_0x56b8e7,'f')||Object[_0x59063f(0x4e2)][_0x59063f(0x4d7)][_0x59063f(0x35d)](_0x56b8e7,'si'));}function Fc(_0x94ef95){return Rc(_0x94ef95)&&_0x94ef95['c']===0x1;}function Ic(_0x3d8532){const _0x397524=_0x5daf81;return Rc(_0x3d8532)&&typeof _0x3d8532['unitId']==_0x397524(0x2ed)&&typeof _0x3d8532[_0x397524(0x221)]=='string'&&(_0x3d8532['trigger']===void 0x0||typeof _0x3d8532[_0x397524(0x22c)]==_0x397524(0x2ed))&&Array['isArray'](_0x3d8532[_0x397524(0x4b0)])&&_0x3d8532['patches']['every'](_0xf524ff=>Rc(_0xf524ff)&&Number[_0x397524(0x317)](_0xf524ff[_0x397524(0x406)])&&Number[_0x397524(0x317)](_0xf524ff[_0x397524(0x2f0)])&&'value'in _0xf524ff);}function Lc(_0x4d8031,_0x235363){const _0x21def2=_0x5daf81;if(Rc(_0x4d8031)&&_0x4d8031[_0x21def2(0x243)]===!0x0){if(_0x4d8031['kind']!==_0x235363)throw Error(_0x21def2(0x242)+String(_0x4d8031[_0x21def2(0x29e)])+'\x22.');if(!(_0x235363===_0x21def2(0x4f2)?Oc(_0x4d8031):kc(_0x4d8031)))throw Error(_0x21def2(0x250)+_0x235363+'\x22.');}}function Rc(_0x215a5c){const _0x319309=_0x5daf81;return!!_0x215a5c&&typeof _0x215a5c=='object'&&!Array[_0x319309(0x31e)](_0x215a5c);}export{Q as ApplyBaseJson1Mutation,es as BASE_FIELD_STAT_TYPES,Ue as BASE_HIERARCHY_MAX_LEVELS,We as BASE_HIERARCHY_PARENT_FIELD_ID,Da as BASE_TABLE_NAME_REQUIREMENTS,Tr as BASE_UNIT_PERMISSION_ACTIONS,ko as BaseConditionalColorRuleUpdateType,Ke as BaseEventSource,Xi as BaseFormulaService,P as BaseHierarchyError,Ge as BaseHierarchyErrorCode,Ri as BaseHistoryAction,z as BaseJson1OpApplier,W as BaseJson1OpFactory,xa as BatchCreateBaseRecordsCommand,Sa as BatchDeleteBaseRecordsCommand,Ca as ChangeBaseFieldTypeCommand,wa as CreateBaseChildRecordCommand,Ta as CreateBaseFieldCommand,Ea as CreateBaseRecordCommand,Aa as CreateBaseTableCommand,Ga as CreateBaseViewCommand,Ka as DeleteBaseFieldCommand,qa as DeleteBaseRecordCommand,Ja as DeleteBaseTableCommand,Ya as DeleteBaseViewCommand,Xa as DuplicateBaseFieldCommand,Za as DuplicateBaseRecordCommand,Vo as EMBED_BASES_TABLE_RESOURCE_KEY,Qa as EnsureBaseTemporalViewDateFieldsCommand,Kr as IBaseCommandService,Br as IBasePermissionService,ii as IBaseProjectionService,ic as IBaseViewRegistryService,to as MoveBaseFieldCommand,no as MoveBaseHierarchyRecordCommand,oo as MoveBaseViewCommand,so as RenameBaseTableCommand,co as RenameBaseViewCommand,lo as SetBaseKanbanGroupFieldCommand,uo as SetBaseNameCommand,fo as SetBasePermissionCommand,Ro as SetBasePermissionRuleMutation,zo as SetBasePermissionRulesMutation,po as SetBasePermissionsCommand,ho as SetBaseRangeValuesCommand,go as SetBaseRecordValuesCommand,_o as SetBaseTableHierarchyFieldCommand,vo as SetBaseViewFieldOrderCommand,yo as SetBaseViewFieldVisibleCommand,bo as SetBaseViewFieldWidthCommand,xo as SetBaseViewFilterCommand,So as SetBaseViewGroupCommand,Co as SetBaseViewSortCommand,sc as UniverBasesPlugin,cc as UniverRemoteBasesPlugin,wo as UpdateBaseCellCommand,Eo as UpdateBaseFieldCommand,To as UpdateBaseFieldDescriptionCommand,Do as UpdateBaseKanbanConfigCommand,Oo as UpdateBaseRecordOrderCommand,Ao as UpdateBaseViewConditionalColorRulesCommand,Fo as UpdateBaseViewConfigCommand,Io as ValidateBaseFormulaCommand,dn as baseDateSerialToDateMs,tt as buildBaseHierarchyIndex,ds as calculateBaseFieldStat,zr as canEditBaseTargets,Ec as compressBaseRangeValuesPayload,As as copyBaseTableSnapshot,Ye as createBaseHierarchyParentField,Bo as createDefaultBaseTableSnapshot,Ho as createEmbedBasesTable,Uo as createEmbedBasesTableAddMutation,Wo as createEmbedBasesTableRemoveMutation,ka as createUniqueBaseTableName,B as dateToExcelSerial,Dc as decompressBaseRangeValuesPayload,L as ensureBaseTableCellLayout,He as findRecordLinkReferences,mn as formatBaseDateValue,fs as formatBaseFieldStatValue,qo as formatBaseNumberValue,Qo as formatBaseProgressValue,Xe as getActiveBaseHierarchyFieldIds,bt as getBaseCellFormulaValue,yt as getBaseCellValue,vn as getBaseConditionalColorOperators,Nr as getBaseDashboardPermissionObjectId,q as getBaseFieldPermissionObjectId,_0x36105f as getBaseFormulaTableName,et as getBaseHierarchyDeletePromotions,qe as getBaseHierarchyFieldId,Fr as getBasePermissionValue,J as getBaseRecordPermissionObjectId,K as getBaseTablePermissionObjectId,Mr as getBaseViewPermissionObjectId,N as getRecordLinkFieldConfig,ls as getSupportedBaseFieldStatTypes,rt as getVisibleBaseHierarchyRows,Zo as inferBaseSeparatorStyle,yn as isBaseConditionalColorDateField,ps as isBaseFieldStatEmptyValue,us as isBaseFieldStatSupported,ss as isBaseFieldStatType,F as isBaseHierarchyField,Oc as isCompressedBaseRangeValuesPayload,xn as matchesBaseCondition,pn as normalizeBaseDateFieldConfig,un as normalizeBaseDateSerial,cs as normalizeBaseFieldStatsConfig,Le as parseRecordLinkIds,nt as projectBaseHierarchy,fn as resolveBaseDateFieldConfig,Je as resolveBaseHierarchyFieldId,mo as resolveBaseRangeHierarchyPatches,lc as searchBaseTable,Re as serializeRecordLinkIds,Ir as setBasePermissionValue,I as traceBasePerformance,ja as uniqueFieldName,it as validateBaseHierarchyMove,Qe as validateBaseHierarchyRecordCreations,Ze as validateBaseHierarchyRecordPatches,Oa as validateBaseTableName,ze as validateCanonicalRecordLinkValue,Be as validateRecordLinkField,Ve as validateRecordLinkValue};
|