@univerjs-pro/bases 1.0.0 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ar-SA.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/de-DE.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/id-ID.js +1 -1
- package/lib/cjs/locale/it-IT.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/pl-PL.js +1 -1
- package/lib/cjs/locale/pt-BR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/sk-SK.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-HK.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ar-SA.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/de-DE.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/id-ID.js +1 -1
- package/lib/es/locale/it-IT.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/pl-PL.js +1 -1
- package/lib/es/locale/pt-BR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/sk-SK.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-HK.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ar-SA.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/de-DE.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/id-ID.js +1 -1
- package/lib/locale/it-IT.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/pl-PL.js +1 -1
- package/lib/locale/pt-BR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/sk-SK.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-HK.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ar-SA.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/de-DE.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/id-ID.js +1 -1
- package/lib/umd/locale/it-IT.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/pl-PL.js +1 -1
- package/lib/umd/locale/pt-BR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/sk-SK.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-HK.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +8 -8
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x4e7c38=_0x16bf;(function(_0x80b698,_0x5f3551){const _0x51e661=_0x16bf,_0x27418e=_0x80b698();while(!![]){try{const _0xc0df6a=-parseInt(_0x51e661(0x2f6))/0x1*(parseInt(_0x51e661(0x278))/0x2)+-parseInt(_0x51e661(0x49d))/0x3*(-parseInt(_0x51e661(0x4db))/0x4)+-parseInt(_0x51e661(0x1ef))/0x5+-parseInt(_0x51e661(0x367))/0x6+-parseInt(_0x51e661(0x3d7))/0x7*(-parseInt(_0x51e661(0x238))/0x8)+parseInt(_0x51e661(0x1cc))/0x9+parseInt(_0x51e661(0x47f))/0xa*(parseInt(_0x51e661(0x22e))/0xb);if(_0xc0df6a===_0x5f3551)break;else _0x27418e['push'](_0x27418e['shift']());}catch(_0x360353){_0x27418e['push'](_0x27418e['shift']());}}}(_0x7f2c,0x7396c));import{BASE_RECORD_ID_FIELD_ID as _0x5802d7,BaseConditionalColorOperator as _0x4baac8,BaseConditionalColorTarget as _0x451bc0,BaseConditionalDateMode as _0x140f15,BaseDataModel as _0x1a83d0,BaseFieldType as _0x377615,BaseFilterConjunction as _0x56a03e,BaseHierarchyInvalidReason as _0x3ada7a,BaseRecordLinkRole as _0x4cb80e,BaseSortDirection as _0x122af4,BaseViewType as _0xa6488a,CellValueType as _0xbba171,ColorKit as _0x20c54c,CommandType as _0x32350d,CustomCommandExecutionError as _0x1a12bd,DateSystem as _0x3bdfd0,DependentOn as _0x5a051b,Disposable as _0x3aec08,ErrorService as _0x100489,ICommandService as _0x5342d9,IConfigService as _0x3caf08,IPermissionService as _0x1b4267,IResourceManagerService as _0x3897dd,IUndoRedoService as _0x1eb28c,IUniverInstanceService as _0x26755d,Inject as _0x4562a7,Injector as _0x53b1f5,JSON1 as _0x10aaca,JSONX as _0x52b262,ObjectMatrix as _0x5e8551,ObjectPermissionRuleModel as _0x5d02dd,ObjectPermissionService as _0x3cfcfc,Optional as _0x5ab67b,PermissionStatus as _0xa1e632,Plugin as _0x331aac,Tools as _0x42dbe9,UniverInstanceType as _0x2eb623,allocateBaseFormulaTableName as _0x58263d,assertBaseTableRecordIdentity as _0x2a8300,createBaseFormulaTableNameMap as _0x4669bc,createBaseRecordIdField as _0x560c8e,createIdentifier as _0x3c907b,dateKit as _0x2b0714,excelDateTimeSerial as _0x5292e2,excelSerialToDateTime as _0x4d9b98,generateRandomId as _0x53e5f1,getBaseFormulaTableName as _0x5b0b09,isBaseRecordIdFieldName as _0x56e40f,isValidBaseRecordId as _0x5a7c96,merge as _0xad5a6c,nameCharacterCheck as _0x2aad5d,numfmt as _0x807b25,regexp as _0x41e4dc,sequenceExecute as _0x457d09,toDisposable as _0x3e2bb5,touchDependencies as _0x18d3d5}from'@univerjs/core';import{FormulaCalculationTriggerService as _0x311f7f,IActiveDirtyManagerService as _0x41320a,RemoveSuperTableMutation as _0x45b52e,SetFormulaCalculationResultMutation as _0x792ef3,SetSuperTableMutation as _0xffecb3,SetTriggerFormulaCalculationStartMutation as _0x42598a,UniverProFormulaEnginePlugin as _0x3179a2,refactorFormulaUnitQualifier as _0x1f96dc}from'@univerjs-pro/engine-formula';import{UnitAction as _0x3ccddd,UnitObject as _0x3b454d}from'@univerjs/protocol';import{UniverLicensePlugin as _0xe1f7da}from'@univerjs-pro/license';import{DataSyncPrimaryController as _0x2caca0}from'@univerjs/rpc';import{FormulaCalculationSessionService as _0x16c3a6,FormulaResultApplicationType as _0x239f3c}from'@univerjs/engine-formula';function N(_0x2f5720){const _0x311b2c=_0x16bf;let _0x3b10e5=_0x2f5720[_0x311b2c(0x554)][_0x311b2c(0x3b9)],_0x1bffd4=_0x2f5720['config'][_0x311b2c(0x413)],_0x250bae=_0x2f5720['config'][_0x311b2c(0x29a)],_0x5b190b=_0x2f5720[_0x311b2c(0x554)][_0x311b2c(0x516)],_0x48387d=_0x2f5720[_0x311b2c(0x554)][_0x311b2c(0x4ab)];return typeof _0x3b10e5!=_0x311b2c(0x457)||!_0x3b10e5||typeof _0x1bffd4!='boolean'||_0x250bae!==void 0x0&&(typeof _0x250bae!=_0x311b2c(0x457)||!_0x250bae)||_0x48387d!==void 0x0&&_0x48387d!==_0x4cb80e['Parent']||_0x5b190b!==void 0x0&&(!Array[_0x311b2c(0x56b)](_0x5b190b)||_0x5b190b['some'](_0x455440=>typeof _0x455440!=_0x311b2c(0x457)||!_0x455440)||new Set(_0x5b190b)[_0x311b2c(0x231)]!==_0x5b190b['length'])?null:{'targetTableId':_0x3b10e5,'multiple':_0x1bffd4,..._0x250bae?{'displayFieldId':_0x250bae}:{},..._0x5b190b?{'pickerFieldIds':[..._0x5b190b]}:{},..._0x48387d?{'relationRole':_0x48387d}:{}};}function Le(_0x41ce58){const _0x405aab=_0x16bf;return typeof _0x41ce58!=_0x405aab(0x457)||_0x41ce58===''?[]:_0x41ce58['split'](',');}function Re(_0x3671b8){const _0x1bc718=_0x16bf;return Array[_0x1bc718(0x501)](new Set(_0x3671b8))[_0x1bc718(0x50e)](',');}function ze(_0x464713,_0x203fd5){const _0x139b28=_0x16bf;if(typeof _0x464713!=_0x139b28(0x457))return{'valid':!0x1,'reason':'[RecordLink]:\x20value\x20must\x20be\x20a\x20canonical\x20string.'};if(_0x464713==='')return{'valid':!0x0};let _0x4a2cef=_0x464713[_0x139b28(0x47a)](',');return!_0x203fd5&&_0x4a2cef[_0x139b28(0x2b6)]>0x1?{'valid':!0x1,'reason':_0x139b28(0x468)}:_0x4a2cef['some'](_0x5e86f5=>!_0x5a7c96(_0x5e86f5))||new Set(_0x4a2cef)[_0x139b28(0x231)]!==_0x4a2cef[_0x139b28(0x2b6)]||Re(_0x4a2cef)!==_0x464713?{'valid':!0x1,'reason':_0x139b28(0x33c)}:{'valid':!0x0};}function Be(_0x38343a,_0x46180c){const _0x30f032=_0x16bf;if(_0x46180c[_0x30f032(0x30b)]!==_0x377615[_0x30f032(0x23d)])return{'valid':!0x0};let _0x21ba58=N(_0x46180c),_0xd4553=_0x21ba58?_0x38343a[_0x30f032(0x29e)][_0x21ba58[_0x30f032(0x3b9)]]:void 0x0;if(!_0x21ba58||!_0xd4553)return{'valid':!0x1,'reason':_0x30f032(0x442)};let _0x339fa3=[..._0x21ba58[_0x30f032(0x29a)]?[_0x21ba58[_0x30f032(0x29a)]]:[],..._0x21ba58[_0x30f032(0x516)]??[]][_0x30f032(0x1c5)](_0x58f6de=>{const _0x381322=_0x30f032;let _0x6dd029=_0xd4553[_0x381322(0x531)][_0x58f6de];return!_0x6dd029||_0x6dd029[_0x381322(0x26d)]===!0x0||_0x6dd029[_0x381322(0x30b)]===_0x377615[_0x381322(0x4c5)];});return _0x339fa3?{'valid':!0x1,'reason':_0x30f032(0x432)+_0x339fa3+_0x30f032(0x3c8)}:{'valid':!0x0};}function Ve(_0x4f3136,_0x15618c,_0x539c2b,_0x1da0c7={}){const _0x1f1ac1=_0x16bf;let _0x56a8f4=N(_0x15618c);if(_0x15618c[_0x1f1ac1(0x30b)]!==_0x377615[_0x1f1ac1(0x23d)]||!_0x56a8f4)return{'valid':!0x1,'reason':_0x1f1ac1(0x355)};let _0x1b41c5=ze(_0x539c2b,_0x56a8f4[_0x1f1ac1(0x413)]);if(!_0x1b41c5[_0x1f1ac1(0x29f)]||_0x1da0c7[_0x1f1ac1(0x39f)])return _0x1b41c5;let _0x3f0d0e=_0x4f3136[_0x1f1ac1(0x29e)][_0x56a8f4['targetTableId']];if(!_0x3f0d0e)return{'valid':!0x1,'reason':_0x1f1ac1(0x442)};let _0x266b15=Le(_0x539c2b)['find'](_0x4605e7=>!_0x3f0d0e[_0x1f1ac1(0x2d1)][_0x4605e7]);return _0x266b15?{'valid':!0x1,'reason':_0x1f1ac1(0x427)+_0x266b15+_0x1f1ac1(0x4a8)}:{'valid':!0x0};}function He(_0x240f17,_0x43343c){const _0x421879=_0x16bf;return Object[_0x421879(0x4c0)](_0x240f17[_0x421879(0x29e)])[_0x421879(0x470)](_0x4b3a54=>Object[_0x421879(0x4c0)](_0x4b3a54[_0x421879(0x531)])[_0x421879(0x470)](_0x5863ed=>{const _0x3f87e7=_0x421879;let _0x248326=_0x5863ed[_0x3f87e7(0x30b)]===_0x377615['RecordLink']?N(_0x5863ed):null;return(_0x248326==null?void 0x0:_0x248326[_0x3f87e7(0x3b9)])===_0x43343c?[{'tableId':_0x4b3a54['id'],'fieldId':_0x5863ed['id']}]:[];}));}const Ue=0x5,We=_0x4e7c38(0x288);let Ge=function(_0x5f04df){const _0x455e20=_0x4e7c38;return _0x5f04df[_0x455e20(0x36e)]=_0x455e20(0x401),_0x5f04df[_0x455e20(0x428)]='missingRecord',_0x5f04df['SelfParent']='selfParent',_0x5f04df[_0x455e20(0x529)]='cycle',_0x5f04df[_0x455e20(0x3fe)]=_0x455e20(0x382),_0x5f04df['SortedView']=_0x455e20(0x53e),_0x5f04df;}({});var P=class extends Error{constructor(_0x2e8fb6,_0x2073f5=_0x4e7c38(0x363)+_0x2e8fb6){const _0x388b67=_0x4e7c38;super(_0x2073f5),this['code']=_0x2e8fb6,this[_0x388b67(0x39a)]=_0x388b67(0x46a);}};let Ke=function(_0x1195aa){const _0x157178=_0x4e7c38;return _0x1195aa['UI']='ui',_0x1195aa['Facade']=_0x157178(0x4a6),_0x1195aa[_0x157178(0x28e)]='remote',_0x1195aa[_0x157178(0x40c)]='undo',_0x1195aa[_0x157178(0x482)]='redo',_0x1195aa[_0x157178(0x41d)]=_0x157178(0x1cf),_0x1195aa;}({});function F(_0x4b7952,_0x4ffba9){const _0x3e0bef=_0x4e7c38;if(!_0x4ffba9)return!0x1;let _0x1d9b74=_0x4b7952[_0x3e0bef(0x531)][_0x4ffba9];if(!_0x1d9b74||_0x1d9b74['type']!==_0x377615[_0x3e0bef(0x23d)])return!0x1;let _0x27529a=N(_0x1d9b74);return _0x27529a?_0x27529a[_0x3e0bef(0x3b9)]===_0x4b7952['id']&&_0x27529a[_0x3e0bef(0x413)]===!0x1:!0x1;}function qe(_0x368208){const _0x5d172d=_0x4e7c38;return[..._0x368208[_0x5d172d(0x4dc)],...Object[_0x5d172d(0x3ca)](_0x368208['fields'])['filter'](_0x4be428=>!_0x368208[_0x5d172d(0x4dc)]['includes'](_0x4be428))[_0x5d172d(0x266)]()]['find'](_0xcdcf98=>{const _0x227f29=_0x5d172d;var _0x2da88f;return F(_0x368208,_0xcdcf98)?((_0x2da88f=N(_0x368208[_0x227f29(0x531)][_0xcdcf98]))==null?void 0x0:_0x2da88f[_0x227f29(0x4ab)])===_0x4cb80e[_0x227f29(0x3c7)]:!0x1;})??null;}function Je(_0x3ee00c){const _0x45b859=_0x4e7c38;let _0xa0391c=qe(_0x3ee00c);if(_0xa0391c)return _0xa0391c;let _0x3a9633=We,_0xd46ab1=0x2;for(;_0x3ee00c[_0x45b859(0x531)][_0x3a9633];)_0x3a9633=We+'_'+_0xd46ab1++;return _0x3a9633;}function Ye(_0x341f01,_0x188a18=Je(_0x341f01),_0x490ca3='Parent\x20Items'){const _0x3a6c12=_0x4e7c38;return{'id':_0x188a18,'name':_0x490ca3,'type':_0x377615[_0x3a6c12(0x23d)],'config':{'targetTableId':_0x341f01['id'],'multiple':!0x1,'displayFieldId':_0x341f01[_0x3a6c12(0x48d)],'pickerFieldIds':[_0x341f01[_0x3a6c12(0x48d)]],'relationRole':_0x4cb80e[_0x3a6c12(0x3c7)]}};}function Xe(_0x51c092){let _0x26e3bd=qe(_0x51c092);return _0x26e3bd?[_0x26e3bd]:[];}function Ze(_0x49dbdf,_0x5f549b){const _0x3ffe4d=_0x4e7c38;let _0x10dafc=[...Xe(_0x49dbdf)]['filter'](_0x449c6f=>_0x5f549b[_0x3ffe4d(0x48e)](_0x3b201a=>Object[_0x3ffe4d(0x2f7)]['hasOwnProperty']['call'](_0x3b201a[_0x3ffe4d(0x4c0)],_0x449c6f)));if(!_0x10dafc[_0x3ffe4d(0x2b6)])return[];let _0x4588c8={..._0x49dbdf[_0x3ffe4d(0x2d1)]};_0x5f549b['forEach'](_0x34cbac=>{const _0xe5ef39=_0x3ffe4d;let _0x4f2e70=_0x4588c8[_0x34cbac[_0xe5ef39(0x394)]];_0x4f2e70&&(_0x4588c8[_0x34cbac[_0xe5ef39(0x394)]]={..._0x4f2e70,'values':{..._0x4f2e70[_0xe5ef39(0x4c0)],..._0x34cbac[_0xe5ef39(0x4c0)]}});});let _0x266360={..._0x49dbdf,'records':_0x4588c8},_0x38b6cb=[];return _0x10dafc['forEach'](_0x9cf23a=>{const _0x53e7aa=_0x3ffe4d;let _0x56067c=tt(_0x49dbdf,_0x9cf23a),_0x3d224b=tt(_0x266360,_0x9cf23a);for(let [_0x560600,_0x3a4249]of _0x3d224b[_0x53e7aa(0x2fa)]){let _0x3eb1ab=_0x5f549b[_0x53e7aa(0x48e)](_0x3c7b45=>_0x3c7b45[_0x53e7aa(0x394)]===_0x560600&&Object['prototype']['hasOwnProperty'][_0x53e7aa(0x386)](_0x3c7b45[_0x53e7aa(0x4c0)],_0x9cf23a));if(_0x56067c[_0x53e7aa(0x2fa)][_0x53e7aa(0x4d5)](_0x560600)!==_0x3a4249||_0x3eb1ab)throw new P($e(_0x3a4249));}_0x5f549b[_0x53e7aa(0x397)](_0xf58bd3=>{const _0x2b015e=_0x53e7aa;if(!Object[_0x2b015e(0x2f7)][_0x2b015e(0x396)][_0x2b015e(0x386)](_0xf58bd3[_0x2b015e(0x4c0)],_0x9cf23a))return;let _0x9a0f89=_0x56067c['parentByRecordId'][_0x2b015e(0x4d5)](_0xf58bd3[_0x2b015e(0x394)])??null,_0x4847eb=_0x3d224b['parentByRecordId'][_0x2b015e(0x4d5)](_0xf58bd3[_0x2b015e(0x394)])??null;_0x9a0f89!==_0x4847eb&&_0x38b6cb['push']({'tableId':_0x49dbdf['id'],'fieldId':_0x9cf23a,'recordId':_0xf58bd3[_0x2b015e(0x394)],'oldParentRecordId':_0x9a0f89,'parentRecordId':_0x4847eb});});}),_0x38b6cb;}function Qe(_0x3e15d6,_0x3a236b){const _0x5b7d3b=_0x4e7c38;let _0x147c47=_0x3a236b[_0x5b7d3b(0x3e8)](_0x2e2b4e=>_0x2e2b4e['id']);if(new Set(_0x147c47)[_0x5b7d3b(0x231)]!==_0x147c47[_0x5b7d3b(0x2b6)]||_0x147c47[_0x5b7d3b(0x48e)](_0x13caa8=>_0x3e15d6[_0x5b7d3b(0x2d1)][_0x13caa8]))return[];let _0x17ca69=Xe(_0x3e15d6),_0x1a0098=_0x17ca69[_0x5b7d3b(0x2b6)]?null:Je(_0x3e15d6),_0x375618=[..._0x17ca69,..._0x1a0098&&_0x3a236b[_0x5b7d3b(0x48e)](_0x432f1d=>Object['prototype'][_0x5b7d3b(0x396)][_0x5b7d3b(0x386)](_0x432f1d[_0x5b7d3b(0x4c0)],_0x1a0098))?[_0x1a0098]:[]][_0x5b7d3b(0x20f)](_0x272644=>_0x3a236b[_0x5b7d3b(0x48e)](_0x304d92=>Object['prototype'][_0x5b7d3b(0x396)][_0x5b7d3b(0x386)](_0x304d92[_0x5b7d3b(0x4c0)],_0x272644)));if(!_0x375618['length'])return[];let _0x54723b={..._0x3e15d6,'records':{..._0x3e15d6[_0x5b7d3b(0x2d1)],...Object[_0x5b7d3b(0x2c2)](_0x3a236b[_0x5b7d3b(0x3e8)](_0x283198=>[_0x283198['id'],_0x283198]))},'recordOrder':[..._0x3e15d6[_0x5b7d3b(0x52d)]??[],..._0x3a236b[_0x5b7d3b(0x3e8)](_0x439875=>_0x439875['id'])]},_0x489243=[];return _0x375618[_0x5b7d3b(0x397)](_0x466a5f=>{const _0x29469f=_0x5b7d3b;let _0xe2ba3f=tt(_0x54723b,_0x466a5f);_0x3a236b[_0x29469f(0x397)](_0x229db9=>{const _0x52be30=_0x29469f;let _0x30b97d=_0xe2ba3f[_0x52be30(0x2fa)][_0x52be30(0x4d5)](_0x229db9['id']);if(_0x30b97d)throw new P($e(_0x30b97d));let _0x3847c8=_0xe2ba3f['parentByRecordId'][_0x52be30(0x4d5)](_0x229db9['id'])??null;_0x3847c8&&_0x489243[_0x52be30(0x3e2)]({'tableId':_0x3e15d6['id'],'fieldId':_0x466a5f,'recordId':_0x229db9['id'],'oldParentRecordId':null,'parentRecordId':_0x3847c8});});}),_0x489243;}function $e(_0x3ba0e0){const _0x535aae=_0x4e7c38;switch(_0x3ba0e0){case _0x3ada7a[_0x535aae(0x499)]:return _0x535aae(0x310);case _0x3ada7a[_0x535aae(0x31a)]:return _0x535aae(0x4f9);case _0x3ada7a[_0x535aae(0x529)]:return _0x535aae(0x38c);case _0x3ada7a[_0x535aae(0x3fe)]:return _0x535aae(0x382);}}function et(_0x40300e,_0x20ba78){const _0x1051ed=_0x4e7c38;let _0x467009=new Set(_0x20ba78),_0x4783b1=Xe(_0x40300e);return Object[_0x1051ed(0x4c0)](_0x40300e[_0x1051ed(0x2d1)])[_0x1051ed(0x470)](_0x547c01=>_0x467009[_0x1051ed(0x4d6)](_0x547c01['id'])?[]:Array[_0x1051ed(0x501)](_0x4783b1)[_0x1051ed(0x470)](_0x164dbe=>{const _0x217cba=_0x1051ed;let _0x313d77=Le(_0x547c01[_0x217cba(0x4c0)][_0x164dbe])[0x0]??null;return _0x313d77&&_0x467009[_0x217cba(0x4d6)](_0x313d77)?[{'tableId':_0x40300e['id'],'fieldId':_0x164dbe,'recordId':_0x547c01['id'],'oldParentRecordId':_0x313d77,'parentRecordId':null}]:[];}));}function tt(_0x1f65c7,_0x24fed2,_0x74e25a=_0x1f65c7[_0x4e7c38(0x52d)]??Object[_0x4e7c38(0x3ca)](_0x1f65c7['records'])){const _0x4a9f7c=_0x4e7c38;if((_0x1f65c7[_0x4a9f7c(0x531)][_0x24fed2]||_0x24fed2!==Je(_0x1f65c7))&&!F(_0x1f65c7,_0x24fed2))throw Error(_0x4a9f7c(0x3ea)+_0x24fed2+_0x4a9f7c(0x3aa));let _0x36c9a8=at(_0x1f65c7,_0x74e25a),_0x34901a=new Map(),_0x539a08=new Map();for(let _0x185a87 of _0x36c9a8){var _0x462931;let _0x131614=Le((_0x462931=_0x1f65c7['records'][_0x185a87])==null?void 0x0:_0x462931[_0x4a9f7c(0x4c0)][_0x24fed2])[0x0]??null;_0x131614?_0x131614===_0x185a87?(_0x34901a[_0x4a9f7c(0x205)](_0x185a87,null),_0x539a08[_0x4a9f7c(0x205)](_0x185a87,_0x3ada7a['SelfParent'])):_0x1f65c7[_0x4a9f7c(0x2d1)][_0x131614]?_0x34901a[_0x4a9f7c(0x205)](_0x185a87,_0x131614):(_0x34901a['set'](_0x185a87,null),_0x539a08['set'](_0x185a87,_0x3ada7a[_0x4a9f7c(0x499)])):_0x34901a[_0x4a9f7c(0x205)](_0x185a87,null);}ot(_0x34901a,_0x539a08,_0x36c9a8),st(_0x34901a,_0x539a08,_0x36c9a8);let _0x4c0f71=new Map(_0x36c9a8['map']((_0x1f93cd,_0x42a93)=>[_0x1f93cd,_0x42a93])),_0x34e698=new Map();for(let _0x8a66e0 of _0x36c9a8){let _0x262be7=_0x34901a[_0x4a9f7c(0x4d5)](_0x8a66e0)??null,_0x36b043=_0x34e698[_0x4a9f7c(0x4d5)](_0x262be7)??[];_0x36b043[_0x4a9f7c(0x3e2)](_0x8a66e0),_0x34e698[_0x4a9f7c(0x205)](_0x262be7,_0x36b043);}_0x34e698[_0x4a9f7c(0x397)](_0x4afe13=>_0x4afe13['sort']((_0x3ca289,_0x34e703)=>(_0x4c0f71[_0x4a9f7c(0x4d5)](_0x3ca289)??0x0)-(_0x4c0f71['get'](_0x34e703)??0x0)));let _0x333334=_0x34e698[_0x4a9f7c(0x4d5)](null)??[],_0x2e0db2=new Map(),_0xdeeea9=new Map(),_0x16e519=[],_0x47c438=(_0xd15644,_0x406b84)=>{const _0x4bb0c4=_0x4a9f7c;_0x2e0db2[_0x4bb0c4(0x205)](_0xd15644,_0x406b84),_0x16e519[_0x4bb0c4(0x3e2)](_0xd15644);let _0x561191=0x0;for(let _0x58a1ff of _0x34e698[_0x4bb0c4(0x4d5)](_0xd15644)??[])_0x561191=Math[_0x4bb0c4(0x265)](_0x561191,0x1+_0x47c438(_0x58a1ff,_0x406b84+0x1));return _0xdeeea9[_0x4bb0c4(0x205)](_0xd15644,_0x561191),_0x561191;};return _0x333334[_0x4a9f7c(0x397)](_0x34db03=>_0x47c438(_0x34db03,0x0)),{'fieldId':_0x24fed2,'parentByRecordId':_0x34901a,'childrenByParentId':_0x34e698,'depthByRecordId':_0x2e0db2,'subtreeHeightByRecordId':_0xdeeea9,'invalidReasonByRecordId':_0x539a08,'rootRecordIds':_0x333334,'orderedRecordIds':_0x16e519};}function nt(_0x5ffa1a,_0x238ea5,_0x57e29c=new Set(_0x238ea5[_0x4e7c38(0x3e8)](_0x487891=>_0x487891['recordId']))){const _0x78462f=_0x4e7c38;let _0x203d43=new Set(_0x57e29c);for(let _0x18bc94 of _0x57e29c){let _0x57fc93=_0x5ffa1a['parentByRecordId'][_0x78462f(0x4d5)](_0x18bc94)??null;for(;_0x57fc93;)_0x203d43[_0x78462f(0x290)](_0x57fc93),_0x57fc93=_0x5ffa1a[_0x78462f(0x3ed)][_0x78462f(0x4d5)](_0x57fc93)??null;}let _0x3beab8=new Map(_0x238ea5[_0x78462f(0x3e8)](_0x327123=>[_0x327123[_0x78462f(0x394)],_0x327123])),_0x3c9e03=_0x5ffa1a[_0x78462f(0x286)]['filter'](_0x3aa369=>_0x203d43[_0x78462f(0x4d6)](_0x3aa369)),_0xabb2cc=_0x3c9e03[_0x78462f(0x470)](_0x3853f7=>{const _0x58deef=_0x78462f;let _0x1cdafe=_0x3beab8[_0x58deef(0x4d5)](_0x3853f7);return _0x1cdafe?[_0x1cdafe]:[];}),_0x1a5dd3={};for(let _0x232552=0x0;_0x232552<_0x3c9e03[_0x78462f(0x2b6)];_0x232552++){let _0xb5bf18=_0x3c9e03[_0x232552];_0x1a5dd3[_0xb5bf18]={'recordId':_0xb5bf18,'parentRecordId':_0x5ffa1a[_0x78462f(0x3ed)][_0x78462f(0x4d5)](_0xb5bf18)??null,'depth':_0x5ffa1a[_0x78462f(0x375)][_0x78462f(0x4d5)](_0xb5bf18)??0x0,'directChildCount':(_0x5ffa1a[_0x78462f(0x1e4)]['get'](_0xb5bf18)??[])['length'],'subtreeHeight':_0x5ffa1a['subtreeHeightByRecordId']['get'](_0xb5bf18)??0x0,'subtreeEndIndex':_0x232552,'invalidReason':_0x5ffa1a[_0x78462f(0x2fa)][_0x78462f(0x4d5)](_0xb5bf18)};}let _0x110298=[];for(let _0xb1e0da=0x0;_0xb1e0da<_0x3c9e03['length'];_0xb1e0da++){let _0x2e6ca1=_0x3c9e03[_0xb1e0da],_0x4f3f12=_0x1a5dd3[_0x2e6ca1][_0x78462f(0x1d8)];for(;_0x110298[_0x78462f(0x2b6)]&&_0x110298[_0x110298[_0x78462f(0x2b6)]-0x1]['depth']>=_0x4f3f12;){let _0x5aacfb=_0x110298[_0x78462f(0x2b5)]();_0x1a5dd3[_0x5aacfb[_0x78462f(0x394)]][_0x78462f(0x210)]=_0xb1e0da-0x1;}_0x110298[_0x78462f(0x3e2)]({'recordId':_0x2e6ca1,'depth':_0x4f3f12});}return _0x110298[_0x78462f(0x397)](({recordId:_0x1ac309})=>{const _0x3d066e=_0x78462f;_0x1a5dd3[_0x1ac309][_0x3d066e(0x210)]=_0x3c9e03[_0x3d066e(0x2b6)]-0x1;}),{'rows':_0xabb2cc,'hierarchy':{'fieldId':_0x5ffa1a['fieldId'],'rootRecordIds':_0x5ffa1a[_0x78462f(0x23f)][_0x78462f(0x20f)](_0x3db128=>_0x203d43[_0x78462f(0x4d6)](_0x3db128)),'orderedRecordIds':_0x3c9e03,'nodes':_0x1a5dd3}};}function rt(_0x497536,_0x4158a8){const _0x3afde3=_0x4e7c38;if(!_0x497536[_0x3afde3(0x3c2)]||!(_0x4158a8!=null&&_0x4158a8[_0x3afde3(0x231)]))return _0x497536[_0x3afde3(0x2ff)];let _0x2172a5=[],_0x58533b=0x0;for(;_0x58533b<_0x497536[_0x3afde3(0x2ff)][_0x3afde3(0x2b6)];){let _0x3370b5=_0x497536[_0x3afde3(0x2ff)][_0x58533b];_0x2172a5[_0x3afde3(0x3e2)](_0x3370b5);let _0x392e83=_0x497536['hierarchy'][_0x3afde3(0x2ab)][_0x3370b5[_0x3afde3(0x394)]];_0x58533b=_0x4158a8[_0x3afde3(0x4d6)](_0x3370b5[_0x3afde3(0x394)])&&_0x392e83?_0x392e83[_0x3afde3(0x210)]+0x1:_0x58533b+0x1;}return _0x2172a5;}function it(_0x151d19,_0x13145f,_0x2bf188){const _0x47f63e=_0x4e7c38;if(!_0x2bf188)return{'valid':!0x0};if(_0x13145f===_0x2bf188)return{'valid':!0x1,'reason':_0x3ada7a[_0x47f63e(0x31a)]};let _0x12c048=_0x2bf188;for(;_0x12c048;){if(_0x12c048===_0x13145f)return{'valid':!0x1,'reason':_0x3ada7a[_0x47f63e(0x529)]};_0x12c048=_0x151d19[_0x47f63e(0x3ed)][_0x47f63e(0x4d5)](_0x12c048)??null;}return(_0x151d19[_0x47f63e(0x375)][_0x47f63e(0x4d5)](_0x2bf188)??0x0)+0x1+(_0x151d19[_0x47f63e(0x201)][_0x47f63e(0x4d5)](_0x13145f)??0x0)>=0x5?{'valid':!0x1,'reason':_0x3ada7a['MaxDepth']}:{'valid':!0x0};}function at(_0x5a2311,_0x2ed526){const _0x5a42f0=_0x4e7c38;let _0x229148=new Set(),_0x225c6a=[];for(let _0x3307b1 of _0x2ed526)_0x5a2311['records'][_0x3307b1]&&!_0x229148[_0x5a42f0(0x4d6)](_0x3307b1)&&(_0x229148[_0x5a42f0(0x290)](_0x3307b1),_0x225c6a[_0x5a42f0(0x3e2)](_0x3307b1));return Object[_0x5a42f0(0x3ca)](_0x5a2311[_0x5a42f0(0x2d1)])['sort']()[_0x5a42f0(0x397)](_0x42dee0=>{const _0x1999b3=_0x5a42f0;_0x229148[_0x1999b3(0x4d6)](_0x42dee0)||_0x225c6a['push'](_0x42dee0);}),_0x225c6a;}function ot(_0x4894b2,_0xf48ae0,_0x413222){const _0x57f857=_0x4e7c38;let _0x3e99df=new Set();for(let _0x22d588 of _0x413222){if(_0x3e99df[_0x57f857(0x4d6)](_0x22d588))continue;let _0x2cfce3=[],_0x248fe2=new Map(),_0x540eef=_0x22d588;for(;_0x540eef&&!_0x3e99df[_0x57f857(0x4d6)](_0x540eef);){let _0x4de20e=_0x248fe2['get'](_0x540eef);if(_0x4de20e!=null){let _0x122615=[..._0x2cfce3[_0x57f857(0x479)](_0x4de20e)][_0x57f857(0x266)]()[_0x57f857(0x2b5)]();_0x4894b2[_0x57f857(0x205)](_0x122615,null),_0xf48ae0[_0x57f857(0x205)](_0x122615,_0x3ada7a['Cycle']);break;}_0x248fe2[_0x57f857(0x205)](_0x540eef,_0x2cfce3[_0x57f857(0x2b6)]),_0x2cfce3['push'](_0x540eef),_0x540eef=_0x4894b2[_0x57f857(0x4d5)](_0x540eef)??null;}_0x2cfce3[_0x57f857(0x397)](_0x594e17=>_0x3e99df[_0x57f857(0x290)](_0x594e17));}}function st(_0x1267a8,_0x18c8e7,_0x1a35a6){const _0xd09afb=_0x4e7c38;let _0x58fb10=new Map(),_0x598a79=_0x19822d=>{const _0x15795f=_0x16bf;let _0x5a0f1b=_0x58fb10[_0x15795f(0x4d5)](_0x19822d);if(_0x5a0f1b!=null)return _0x5a0f1b;let _0x6ed622=_0x1267a8[_0x15795f(0x4d5)](_0x19822d)??null;if(!_0x6ed622)return _0x58fb10[_0x15795f(0x205)](_0x19822d,0x0),0x0;let _0x1e527c=_0x598a79(_0x6ed622)+0x1;return _0x1e527c>=0x5?(_0x1267a8['set'](_0x19822d,null),_0x18c8e7[_0x15795f(0x205)](_0x19822d,_0x3ada7a[_0x15795f(0x3fe)]),_0x58fb10[_0x15795f(0x205)](_0x19822d,0x0),0x0):(_0x58fb10['set'](_0x19822d,_0x1e527c),_0x1e527c);};_0x1a35a6[_0xd09afb(0x397)](_0x598a79);}let ct=0x0;function lt(){const _0x2af090=_0x4e7c38;if(globalThis['__UNIVER_BASE_PERF__']===!0x0)return!0x0;try{let _0x4bc80f=typeof location>'u'?'':location[_0x2af090(0x326)],_0x5709eb=new URLSearchParams(_0x4bc80f);if(_0x5709eb['get']('basePerf')==='1'||_0x5709eb['get']('basePerf')==='true'||_0x5709eb['get'](_0x2af090(0x474))==='1')return!0x0;}catch{}try{let _0x310832=typeof localStorage>'u'?null:localStorage[_0x2af090(0x4a5)]('univer.basePerf');return _0x310832==='1'||_0x310832===_0x2af090(0x3a0);}catch{return!0x1;}}function I(_0x4cc4c0,_0x45c3e1,_0x4c6568){const _0x78dc52=_0x4e7c38;if(!lt())return _0x45c3e1();let _0x1ae116=dt(),_0x112dbb=_0x78dc52(0x399)+ct++;ft(_0x112dbb+':start');try{return _0x45c3e1();}finally{let _0xef9e18=dt()-_0x1ae116;ft(_0x112dbb+_0x78dc52(0x456)),pt(_0x4cc4c0,_0x112dbb+_0x78dc52(0x1fd),_0x112dbb+_0x78dc52(0x456)),ut(_0x4cc4c0,_0xef9e18,_0x4c6568);}}function ut(_0x3e1feb,_0x59ff95,_0x36bb77){const _0x180c9b=_0x4e7c38;if(!lt())return;let _0x4c3b41=Math[_0x180c9b(0x544)](_0x59ff95*0x64)/0x64,_0x1795e3=_0x36bb77&&Object[_0x180c9b(0x3ca)](_0x36bb77)[_0x180c9b(0x2b6)]?'\x20'+JSON['stringify'](_0x36bb77):'';console[_0x180c9b(0x570)](_0x180c9b(0x1dd)+_0x3e1feb+':\x20'+_0x4c3b41+'ms'+_0x1795e3);}function dt(){const _0x491287=_0x4e7c38;return typeof performance<'u'&&typeof performance['now']==_0x491287(0x20b)?performance[_0x491287(0x32e)]():Date[_0x491287(0x32e)]();}function ft(_0xd00ebf){const _0x363640=_0x4e7c38;try{if(typeof performance<'u'){var _0x425299,_0x320c3a;(_0x425299=(_0x320c3a=performance)[_0x363640(0x1da)])==null||_0x425299[_0x363640(0x386)](_0x320c3a,_0xd00ebf);}}catch{}}function pt(_0x5d0286,_0x19871c,_0x1b77aa){const _0x379953=_0x4e7c38;try{if(typeof performance<'u'){var _0x23373a,_0x4fd977;(_0x23373a=(_0x4fd977=performance)[_0x379953(0x1c0)])==null||_0x23373a[_0x379953(0x386)](_0x4fd977,_0x379953(0x1dd)+_0x5d0286,_0x19871c,_0x1b77aa);}}catch{}}function L(_0x48d9e7){const _0x52fedc=_0x4e7c38;var _0x8c5ebe;return lt()?I(_0x52fedc(0x30a),()=>mt(_0x48d9e7),{'tableId':_0x48d9e7['id'],'records':Object[_0x52fedc(0x3ca)](_0x48d9e7[_0x52fedc(0x2d1)]??{})[_0x52fedc(0x2b6)],'fields':_0x48d9e7[_0x52fedc(0x4dc)]['length'],'hasRecordOrder':!!((_0x8c5ebe=_0x48d9e7[_0x52fedc(0x52d)])!=null&&_0x8c5ebe['length'])}):mt(_0x48d9e7);}function mt(_0x58a7d6){const _0x298295=_0x4e7c38;var _0x31e278;let _0x4e5ea8=_0x58a7d6[_0x298295(0x2d1)]??{},_0x1a89ff=_0x58a7d6[_0x298295(0x531)]??{},_0x417c8c=((_0x31e278=_0x58a7d6[_0x298295(0x52d)])==null?void 0x0:_0x31e278['filter'](_0x481fdd=>_0x4e5ea8[_0x481fdd]))??[],_0x4cd907=new Set(_0x417c8c),_0x315416=[];for(let _0x563d5c of Object['values'](_0x4e5ea8))_0x4cd907[_0x298295(0x4d6)](_0x563d5c['id'])||_0x315416[_0x298295(0x3e2)](_0x563d5c);let _0x34172e=_0x315416[_0x298295(0x2b6)]?[..._0x417c8c,...Rt(_0x315416)]:_0x417c8c,_0x295dc5=_0x58a7d6[_0x298295(0x4dc)][_0x298295(0x20f)](_0x499b00=>_0x1a89ff[_0x499b00]),_0x121b5f={..._0x58a7d6[_0x298295(0x565)]??{}},_0x3179c8={..._0x58a7d6['colId']??{}},_0x7c51ab={..._0x58a7d6[_0x298295(0x2b7)]??{}};_0x58a7d6['recordOrder']=_0x34172e,_0x58a7d6[_0x298295(0x2cd)]={},_0x58a7d6['rowId']={},_0x58a7d6['colIndex']={},_0x58a7d6[_0x298295(0x512)]={},_0x58a7d6[_0x298295(0x2b7)]={},_0x58a7d6[_0x298295(0x358)]={..._0x58a7d6['resources']??{}},_0x58a7d6[_0x298295(0x358)][_0x298295(0x572)]={..._0x58a7d6[_0x298295(0x358)]['attachmentSets']??{}},_0x58a7d6['resources'][_0x298295(0x3fa)]={..._0x58a7d6[_0x298295(0x358)][_0x298295(0x3fa)]??{}};let _0x14dd4a=_0x58a7d6['rowIndex'],_0x35610a=_0x58a7d6[_0x298295(0x565)],_0x5e49fa=_0x58a7d6[_0x298295(0x50b)],_0x2e55df=_0x58a7d6[_0x298295(0x512)],_0x42f80b=_0x58a7d6['cellData'];return _0x34172e[_0x298295(0x397)]((_0x24b1db,_0x1353d6)=>{_0x14dd4a[_0x24b1db]=_0x1353d6,_0x35610a[_0x1353d6]=_0x24b1db;}),_0x295dc5[_0x298295(0x397)]((_0x173e63,_0x207b73)=>{_0x5e49fa[_0x173e63]=_0x207b73,_0x2e55df[_0x207b73]=_0x173e63;}),Object['entries'](_0x7c51ab)[_0x298295(0x397)](([_0x446a4d,_0x43a18c])=>{const _0x517ab9=_0x298295;let _0x51c125=Number(_0x446a4d),_0x14ca08=_0x121b5f[_0x51c125]??_0x34172e[_0x51c125],_0x5da1ec=_0x14ca08?_0x14dd4a[_0x14ca08]:void 0x0;_0x5da1ec!=null&&(_0x42f80b[_0x5da1ec]={..._0x42f80b[_0x5da1ec]??{}},Object[_0x517ab9(0x502)](_0x43a18c??{})[_0x517ab9(0x397)](([_0x4357b0,_0x4712b0])=>{let _0x1b1a47=Number(_0x4357b0),_0x35d53a=_0x3179c8[_0x1b1a47]??_0x295dc5[_0x1b1a47],_0x2a37a2=_0x35d53a?_0x5e49fa[_0x35d53a]:void 0x0;_0x2a37a2!=null&&(_0x42f80b[_0x5da1ec][_0x2a37a2]=St(_0x4712b0));}));}),Object[_0x298295(0x4c0)](_0x4e5ea8)[_0x298295(0x397)](_0x196bb6=>{const _0x459ca0=_0x298295;let _0x431696=_0x14dd4a[_0x196bb6['id']];_0x431696!=null&&(_0x196bb6[_0x459ca0(0x4c0)]={..._0x196bb6[_0x459ca0(0x4c0)]??{},[_0x5802d7]:_0x196bb6['id']},_0x42f80b[_0x431696]={..._0x42f80b[_0x431696]??{},0x0:{'v':_0x196bb6['id'],'t':_0xbba171['STRING']}},Object[_0x459ca0(0x502)](_0x196bb6[_0x459ca0(0x4c0)]??{})[_0x459ca0(0x397)](([_0x14956e,_0x53f645])=>{const _0x20685e=_0x459ca0;let _0x5df94b=_0x1a89ff[_0x14956e];(_0x5df94b==null?void 0x0:_0x5df94b[_0x20685e(0x30b)])===_0x377615[_0x20685e(0x389)]&&Dt(_0x58a7d6,_0x196bb6['id'],_0x14956e,_0x53f645);let _0x2fca4a=_0x5e49fa[_0x14956e];if(_0x2fca4a==null)return;let _0x53438a=_0x42f80b[_0x431696][_0x2fca4a];if(_0x53438a!=null){jt(_0x53438a,_0x5df94b,_0x53f645)&&(_0x42f80b[_0x431696][_0x2fca4a]=xt(_0x53f645,_0x5df94b));return;}_0x42f80b[_0x431696][_0x2fca4a]=xt(_0x53f645,_0x5df94b);}));}),_0x58a7d6;}function _0x16bf(_0x296411,_0x4ac11d){_0x296411=_0x296411-0x1b9;const _0x7f2c03=_0x7f2c();let _0x16bf6c=_0x7f2c03[_0x296411];return _0x16bf6c;}function ht(_0x58f0eb,_0x3b425d){const _0x1e1f6c=_0x4e7c38;return _0x58f0eb['records']=Object[_0x1e1f6c(0x2c2)](Object[_0x1e1f6c(0x502)](_0x58f0eb[_0x1e1f6c(0x2d1)])[_0x1e1f6c(0x3e8)](([_0x58834d,_0x33ae4a])=>[_0x58834d,{..._0x33ae4a}])),L(_0x58f0eb),Object['entries'](_0x58f0eb[_0x1e1f6c(0x565)]??{})[_0x1e1f6c(0x397)](([_0x215d63,_0x51fe50])=>{const _0xc4ae00=_0x1e1f6c;var _0x547786;let _0x5f136f=Number(_0x215d63),_0x251cdc=_0x58f0eb[_0xc4ae00(0x2d1)][_0x51fe50];_0x251cdc&&(_0x251cdc[_0xc4ae00(0x4c0)]={..._0x251cdc[_0xc4ae00(0x4c0)]??{}},Object['entries'](((_0x547786=_0x58f0eb[_0xc4ae00(0x2b7)])==null?void 0x0:_0x547786[_0x5f136f])??{})['forEach'](([_0x34559d,_0x3f7917])=>{const _0x41ee32=_0xc4ae00;var _0x6f387f;let _0x306b7a=(_0x6f387f=_0x58f0eb[_0x41ee32(0x512)])==null?void 0x0:_0x6f387f[Number(_0x34559d)];_0x306b7a&&_0x3b425d&&!_0x3b425d(_0x51fe50,_0x306b7a)||(_0x306b7a===_0x5802d7?_0x251cdc[_0x41ee32(0x4c0)][_0x5802d7]=_0x251cdc['id']:_0x306b7a&&(_0x251cdc[_0x41ee32(0x4c0)][_0x306b7a]=Ct(_0x3f7917,_0x58f0eb[_0x41ee32(0x531)][_0x306b7a],_0x58f0eb,_0x51fe50)));}));}),_0x58f0eb;}function gt(_0x533af1,_0x237709){const _0x3bc55a=_0x4e7c38;for(let {row:_0x2c7b17,col:_0x350002}of _0x237709){var _0x574a3a,_0x53fd59,_0x22e5b4;let _0x55d7f4=(_0x574a3a=_0x533af1[_0x3bc55a(0x565)])==null?void 0x0:_0x574a3a[_0x2c7b17],_0x127ab2=(_0x53fd59=_0x533af1[_0x3bc55a(0x512)])==null?void 0x0:_0x53fd59[_0x350002],_0x9b8e79=_0x55d7f4?_0x533af1['records'][_0x55d7f4]:void 0x0;if(!_0x9b8e79||!_0x127ab2)continue;if(_0x127ab2===_0x5802d7){_0x9b8e79['values'][_0x5802d7]=_0x9b8e79['id'];continue;}let _0x2c64e9=(_0x22e5b4=_0x533af1[_0x3bc55a(0x2b7)])==null||(_0x22e5b4=_0x22e5b4[_0x2c7b17])==null?void 0x0:_0x22e5b4[_0x350002];(_0x2c64e9!=null||Object['prototype']['hasOwnProperty'][_0x3bc55a(0x386)](_0x9b8e79[_0x3bc55a(0x4c0)]??{},_0x127ab2))&&(_0x9b8e79[_0x3bc55a(0x4c0)]={..._0x9b8e79['values']??{}},_0x9b8e79['values'][_0x127ab2]=Ct(_0x2c64e9,_0x533af1['fields'][_0x127ab2],_0x533af1,_0x55d7f4));}return _0x533af1;}function _t(_0x28ebbc,_0x356353,_0x205594){const _0x1b7f17=_0x4e7c38;var _0x3ffffd,_0x417314,_0x561ddf,_0x28e91d,_0x2a947a,_0x5542a8;let _0x37a1b1=(_0x3ffffd=_0x28ebbc[_0x1b7f17(0x2cd)])==null?void 0x0:_0x3ffffd[_0x356353],_0xd99f79=(_0x417314=_0x28ebbc[_0x1b7f17(0x50b)])==null?void 0x0:_0x417314[_0x205594];if(_0x37a1b1!=null&&_0xd99f79!=null&&((_0x561ddf=_0x28ebbc[_0x1b7f17(0x565)])==null?void 0x0:_0x561ddf[_0x37a1b1])===_0x356353&&((_0x28e91d=_0x28ebbc[_0x1b7f17(0x512)])==null?void 0x0:_0x28e91d[_0xd99f79])===_0x205594)return{'row':_0x37a1b1,'col':_0xd99f79};let _0x255465=L(_0x28ebbc),_0x3d62ec=(_0x2a947a=_0x255465[_0x1b7f17(0x2cd)])==null?void 0x0:_0x2a947a[_0x356353],_0x588fa3=(_0x5542a8=_0x255465[_0x1b7f17(0x50b)])==null?void 0x0:_0x5542a8[_0x205594];return _0x3d62ec==null||_0x588fa3==null?null:{'row':_0x3d62ec,'col':_0x588fa3};}function vt(_0x4e0ae5,_0x49c8d2,_0x2bcfac){const _0x4485e0=_0x4e7c38;var _0x1cf029;let _0x40c6d1=_t(_0x4e0ae5,_0x49c8d2,_0x2bcfac);if(_0x40c6d1)return(_0x1cf029=_0x4e0ae5['cellData'])==null||(_0x1cf029=_0x1cf029[_0x40c6d1[_0x4485e0(0x505)]])==null?void 0x0:_0x1cf029[_0x40c6d1[_0x4485e0(0x444)]];}function yt(_0x4b4f0d,_0x5f3e31,_0x2a4b7b){const _0x1b8d76=_0x4e7c38;var _0x13ae5d;let _0x3aba8c=vt(_0x4b4f0d,_0x5f3e31,_0x2a4b7b),_0x2e9975=_0x4b4f0d[_0x1b8d76(0x531)][_0x2a4b7b];if((_0x2e9975==null?void 0x0:_0x2e9975[_0x1b8d76(0x30b)])===_0x377615[_0x1b8d76(0x389)]){var _0xc7ded;return Ot(_0x4b4f0d,_0x5f3e31,_0x2a4b7b)??kt((_0xc7ded=_0x4b4f0d['records'][_0x5f3e31])==null||(_0xc7ded=_0xc7ded['values'])==null?void 0x0:_0xc7ded[_0x2a4b7b]);}if(Mt(_0x2e9975)||Nt(_0x2e9975)||(_0x2e9975==null?void 0x0:_0x2e9975['type'])===_0x377615[_0x1b8d76(0x1c3)]){var _0x5b239c;let _0x4beeb9=(_0x5b239c=_0x4b4f0d[_0x1b8d76(0x2d1)][_0x5f3e31])==null||(_0x5b239c=_0x5b239c[_0x1b8d76(0x4c0)])==null?void 0x0:_0x5b239c[_0x2a4b7b];return _0x4beeb9!=null&&_0x4beeb9!==''?At(_0x4beeb9,_0x2e9975):Ct(_0x3aba8c,_0x2e9975,_0x4b4f0d,_0x5f3e31);}return _0x3aba8c&&Object[_0x1b8d76(0x2f7)][_0x1b8d76(0x396)]['call'](_0x3aba8c,'v')?_0x3aba8c['v']??null:((_0x13ae5d=_0x4b4f0d[_0x1b8d76(0x2d1)][_0x5f3e31])==null||(_0x13ae5d=_0x13ae5d[_0x1b8d76(0x4c0)])==null?void 0x0:_0x13ae5d[_0x2a4b7b])??null;}function bt(_0x32c3de,_0x547c54,_0x3f609e){const _0x558129=_0x4e7c38;var _0x1a3362;let _0x5245da=vt(_0x32c3de,_0x547c54,_0x3f609e);if(_0x5245da&&Object['prototype'][_0x558129(0x396)][_0x558129(0x386)](_0x5245da,'v'))return _0x5245da['v']??null;let _0x4fcbbc=_0x32c3de[_0x558129(0x531)][_0x3f609e];return xt(((_0x1a3362=_0x32c3de['records'][_0x547c54])==null||(_0x1a3362=_0x1a3362[_0x558129(0x4c0)])==null?void 0x0:_0x1a3362[_0x3f609e])??null,_0x4fcbbc)['v']??null;}function xt(_0x447a72,_0x3344c4){const _0x4fdfc8=_0x4e7c38;if(Tt(_0x447a72))return(_0x3344c4==null?void 0x0:_0x3344c4[_0x4fdfc8(0x30b)])===_0x377615[_0x4fdfc8(0x389)]?{..._0x447a72,'v':'','t':_0xbba171[_0x4fdfc8(0x329)]}:St(_0x447a72);if((_0x3344c4==null?void 0x0:_0x3344c4[_0x4fdfc8(0x30b)])===_0x377615[_0x4fdfc8(0x389)])return{'v':'','t':_0xbba171['STRING']};if(Nt(_0x3344c4)){let _0x419996=Pt(_0x447a72);return{'v':_0x419996,'t':Lt(_0x419996)};}if(Mt(_0x3344c4))return{'v':Ft(_0x447a72)['join'](',\x20'),'t':_0xbba171[_0x4fdfc8(0x329)]};if((_0x3344c4==null?void 0x0:_0x3344c4[_0x4fdfc8(0x30b)])===_0x377615['Link']&&_0x447a72&&typeof _0x447a72==_0x4fdfc8(0x3d3)&&!Array[_0x4fdfc8(0x56b)](_0x447a72)){let _0x58ea32=_0x447a72;return{'v':String(_0x58ea32[_0x4fdfc8(0x2bb)]??_0x58ea32[_0x4fdfc8(0x2d3)]??''),'t':_0xbba171[_0x4fdfc8(0x329)]};}return _0x447a72===null||typeof _0x447a72==_0x4fdfc8(0x457)||typeof _0x447a72==_0x4fdfc8(0x43a)||typeof _0x447a72==_0x4fdfc8(0x361)?{'v':_0x447a72,'t':Lt(_0x447a72)}:{'v':null,'t':null};}function St(_0x41e7e0){let _0x77564d=zt(_0x41e7e0['t'],_0x41e7e0['v']);if(_0x77564d===void 0x0){let {t:_0x8e3c16,..._0x547143}=_0x41e7e0;return _0x547143;}return{..._0x41e7e0,'t':_0x77564d};}function Ct(_0x190df5,_0x12796a,_0x17d7fe,_0x106233){const _0x571bf4=_0x4e7c38;if(!_0x190df5)return null;if((_0x12796a==null?void 0x0:_0x12796a[_0x571bf4(0x30b)])===_0x377615[_0x571bf4(0x389)])return _0x17d7fe&&_0x106233?Ot(_0x17d7fe,_0x106233,_0x12796a['id'])??[]:[];if(Mt(_0x12796a))return Ft(_0x190df5['v']);if((_0x12796a==null?void 0x0:_0x12796a['type'])===_0x377615[_0x571bf4(0x1c3)]&&_0x17d7fe&&_0x106233){var _0x33b7cd;let _0x7c4445=(_0x33b7cd=_0x17d7fe[_0x571bf4(0x2d1)][_0x106233])==null||(_0x33b7cd=_0x33b7cd[_0x571bf4(0x4c0)])==null?void 0x0:_0x33b7cd[_0x12796a['id']];if(_0x7c4445&&typeof _0x7c4445==_0x571bf4(0x3d3)&&!Array[_0x571bf4(0x56b)](_0x7c4445))return _0x7c4445;}return Object[_0x571bf4(0x2f7)]['hasOwnProperty'][_0x571bf4(0x386)](_0x190df5,'v')?_0x190df5['v']??null:null;}function wt(_0x9a894b,_0x2dd44a,_0x388115,_0x1616f8,_0x3594c3){const _0x5c1a2c=_0x4e7c38;return(_0x388115==null?void 0x0:_0x388115[_0x5c1a2c(0x30b)])===_0x377615['Attachment']?kt(_0x9a894b):Nt(_0x388115)?Pt(_0x9a894b):Mt(_0x388115)?Ft(_0x9a894b):(_0x388115==null?void 0x0:_0x388115[_0x5c1a2c(0x30b)])===_0x377615['Link']&&(_0x9a894b==null||_0x9a894b==='')?null:(_0x388115==null?void 0x0:_0x388115['type'])===_0x377615['Link']&&_0x9a894b&&typeof _0x9a894b=='object'&&!Array[_0x5c1a2c(0x56b)](_0x9a894b)&&!Tt(_0x9a894b)?_0x9a894b:Ct(_0x2dd44a,_0x388115,_0x1616f8,_0x3594c3);}function Tt(_0x3a66e0){const _0x16f1e5=_0x4e7c38;return!!_0x3a66e0&&typeof _0x3a66e0==_0x16f1e5(0x3d3)&&(Object[_0x16f1e5(0x2f7)]['hasOwnProperty'][_0x16f1e5(0x386)](_0x3a66e0,'v')||Object['prototype'][_0x16f1e5(0x396)][_0x16f1e5(0x386)](_0x3a66e0,'t')||Object['prototype'][_0x16f1e5(0x396)][_0x16f1e5(0x386)](_0x3a66e0,'p')||Object['prototype'][_0x16f1e5(0x396)][_0x16f1e5(0x386)](_0x3a66e0,'f')||Object['prototype']['hasOwnProperty'][_0x16f1e5(0x386)](_0x3a66e0,'si'));}function Et(_0x8af545,_0x59543f){return _0x8af545+'\x1f'+_0x59543f;}function Dt(_0xa09888,_0x4e8894,_0x5478e,_0x367606){const _0x1c6d09=_0x4e7c38;let _0x855b58=kt(_0x367606);_0xa09888[_0x1c6d09(0x358)]={..._0xa09888[_0x1c6d09(0x358)]??{}},_0xa09888[_0x1c6d09(0x358)]['attachmentSets']={..._0xa09888[_0x1c6d09(0x358)][_0x1c6d09(0x572)]??{}},_0xa09888[_0x1c6d09(0x358)][_0x1c6d09(0x3fa)]={..._0xa09888[_0x1c6d09(0x358)][_0x1c6d09(0x3fa)]??{}};let _0x541ad9=Et(_0x5478e,_0x4e8894),_0x1da706=[];for(let _0x561f71=0x0;_0x561f71<_0x855b58['length'];_0x561f71++){if(!(_0x561f71 in _0x855b58))continue;let _0x4e5875=_0x855b58[_0x561f71],_0x5b9589=String(_0x4e5875['id']??_0x541ad9+'\x1f'+_0x561f71),_0x187e2e={..._0x4e5875,'id':_0x5b9589};_0xa09888['resources'][_0x1c6d09(0x3fa)][_0x5b9589]=_0x187e2e,_0x1da706['push'](_0x5b9589);}_0xa09888[_0x1c6d09(0x358)][_0x1c6d09(0x572)][_0x541ad9]=_0x1da706;}function Ot(_0x18b4f8,_0x5e6e3e,_0x55ef77){const _0x35bd8b=_0x4e7c38;var _0xd18706;let _0x596b35=Et(_0x55ef77,_0x5e6e3e),_0x1f1b86=(_0xd18706=_0x18b4f8[_0x35bd8b(0x358)])==null||(_0xd18706=_0xd18706['attachmentSets'])==null?void 0x0:_0xd18706[_0x596b35];if(!_0x1f1b86)return null;let _0x134605=[];for(let _0x18989e=0x0;_0x18989e<_0x1f1b86[_0x35bd8b(0x2b6)];_0x18989e++){var _0x594d62;if(!(_0x18989e in _0x1f1b86))continue;let _0x598ea8=(_0x594d62=_0x18b4f8['resources'])==null||(_0x594d62=_0x594d62[_0x35bd8b(0x3fa)])==null?void 0x0:_0x594d62[_0x1f1b86[_0x18989e]];_0x598ea8&&_0x134605[_0x35bd8b(0x3e2)]({..._0x598ea8});}return _0x134605;}function kt(_0x1ae321){const _0x3c85a5=_0x4e7c38;if(_0x1ae321==null||_0x1ae321===''||Tt(_0x1ae321)&&!('id'in _0x1ae321)&&!('name'in _0x1ae321))return[];let _0x165098=Array[_0x3c85a5(0x56b)](_0x1ae321)?_0x1ae321:[_0x1ae321],_0x33447d=[];for(let _0x450c3a=0x0;_0x450c3a<_0x165098[_0x3c85a5(0x2b6)];_0x450c3a++){if(!(_0x450c3a in _0x165098))continue;let _0x231807=_0x165098[_0x450c3a],_0x108ebb=_0x231807&&typeof _0x231807==_0x3c85a5(0x3d3)?{..._0x231807}:{'id':_0x3c85a5(0x279)+_0x450c3a,'name':String(_0x231807)};Object['keys'](_0x108ebb)['length']>0x0&&_0x33447d[_0x3c85a5(0x3e2)](_0x108ebb);}return _0x33447d;}function At(_0x4cf0a2,_0x3c0d6d){const _0x3fa80f=_0x4e7c38;return(_0x3c0d6d==null?void 0x0:_0x3c0d6d[_0x3fa80f(0x30b)])===_0x377615[_0x3fa80f(0x389)]?kt(_0x4cf0a2):Nt(_0x3c0d6d)?Pt(_0x4cf0a2):Mt(_0x3c0d6d)?Ft(_0x4cf0a2):_0x4cf0a2;}function jt(_0x9ac087,_0x110f3d,_0x357d72){const _0x3b163c=_0x4e7c38;return(_0x110f3d==null?void 0x0:_0x110f3d[_0x3b163c(0x30b)])===_0x377615[_0x3b163c(0x389)]?_0x9ac087['v']!=='':Nt(_0x110f3d)?_0x9ac087['v']!==Pt(_0x357d72):Mt(_0x110f3d)?Array[_0x3b163c(0x56b)](_0x357d72)&&(_0x9ac087['v']==null||_0x9ac087['v']===''):!0x1;}function Mt(_0x37ea97){const _0x179520=_0x4e7c38;return(_0x37ea97==null?void 0x0:_0x37ea97[_0x179520(0x30b)])===_0x377615[_0x179520(0x1eb)]||(_0x37ea97==null?void 0x0:_0x37ea97[_0x179520(0x30b)])===_0x377615[_0x179520(0x1c4)]||(_0x37ea97==null?void 0x0:_0x37ea97[_0x179520(0x30b)])===_0x377615[_0x179520(0x4f8)]&&_0x37ea97[_0x179520(0x554)][_0x179520(0x305)]===!0x0;}function Nt(_0x53a130){const _0x58cace=_0x4e7c38;return(_0x53a130==null?void 0x0:_0x53a130[_0x58cace(0x30b)])===_0x377615[_0x58cace(0x4f8)]&&_0x53a130[_0x58cace(0x554)][_0x58cace(0x305)]!==!0x0;}function Pt(_0x8cc997){const _0x59c153=_0x4e7c38;let _0x4a162d=Tt(_0x8cc997)?_0x8cc997['v']:_0x8cc997,_0x10e37e=Array[_0x59c153(0x56b)](_0x4a162d)?_0x4a162d[0x0]:_0x4a162d;return _0x10e37e==null||_0x10e37e===''?null:String(_0x10e37e);}function Ft(_0xc7d1f3){const _0x4f27c5=_0x4e7c38;if(_0xc7d1f3==null||_0xc7d1f3==='')return[];let _0x2fe1fd=[];if(Array['isArray'](_0xc7d1f3)){for(let _0xf0f1f7=0x0;_0xf0f1f7<_0xc7d1f3[_0x4f27c5(0x2b6)];_0xf0f1f7++){if(!(_0xf0f1f7 in _0xc7d1f3))continue;let _0x88865f=It(_0xc7d1f3[_0xf0f1f7]);_0x88865f&&_0x2fe1fd['push'](_0x88865f);}return _0x2fe1fd;}for(let _0x5290a2 of String(_0xc7d1f3)['split'](',')){let _0x739a5a=_0x5290a2['trim']();_0x739a5a&&_0x2fe1fd[_0x4f27c5(0x3e2)](_0x739a5a);}return _0x2fe1fd;}function It(_0x59b458){const _0x2bd20a=_0x4e7c38;if(_0x59b458==null)return'';if(typeof _0x59b458=='string'||typeof _0x59b458==_0x2bd20a(0x43a)||typeof _0x59b458==_0x2bd20a(0x361))return String(_0x59b458);if(typeof _0x59b458=='object'){let _0x252f1f=_0x59b458;return String(_0x252f1f['id']??_0x252f1f[_0x2bd20a(0x39a)]??_0x252f1f[_0x2bd20a(0x2bb)]??'');}return String(_0x59b458);}function Lt(_0x3ed84a){const _0x3caeb6=_0x4e7c38;return _0x3ed84a==null?null:typeof _0x3ed84a==_0x3caeb6(0x43a)?_0xbba171[_0x3caeb6(0x256)]:typeof _0x3ed84a==_0x3caeb6(0x361)?_0xbba171[_0x3caeb6(0x2ec)]:_0xbba171[_0x3caeb6(0x329)];}function Rt(_0x40e0bd){const _0x150cb9=_0x4e7c38;_0x40e0bd['sort']((_0x22a119,_0x5318d3)=>_0x22a119[_0x150cb9(0x24c)][_0x150cb9(0x582)](_0x5318d3['orderKey']));let _0x137574=[];for(let _0x32a281 of _0x40e0bd)_0x137574[_0x150cb9(0x3e2)](_0x32a281['id']);return _0x137574;}function zt(_0x3b8b5d,_0x42227e){const _0x13c1ae=_0x4e7c38;return _0x3b8b5d===_0xbba171[_0x13c1ae(0x329)]||_0x3b8b5d===_0xbba171['NUMBER']||_0x3b8b5d===_0xbba171[_0x13c1ae(0x2ec)]||_0x3b8b5d===_0xbba171[_0x13c1ae(0x56c)]||_0x3b8b5d==null?_0x3b8b5d:Lt(_0x42227e??null);}function R(_0x25c9c2){const _0x994d9f=_0x4e7c38;let _0xb96d60=null;for(let _0x571d09 of _0x25c9c2)_0xb96d60=_0xb96d60===null?_0x571d09:_0x10aaca['type'][_0x994d9f(0x356)](_0xb96d60,_0x571d09);return _0xb96d60;}var z=class e{static['tryMaterializeSnapshot'](_0x5a6f1a,_0x220c3d){const _0x15c5bb=_0x4e7c38;let _0x503ce6=[];for(let _0x2dd505 of _0x220c3d){let _0x2ddf43=Bt(_0x2dd505);if(!_0x2ddf43||_0x2ddf43[_0x15c5bb(0x423)]!==_0x5a6f1a['id'])return null;_0x503ce6[_0x15c5bb(0x3e2)](_0x2ddf43['op']);}try{let _0x53bb16=R(_0x503ce6);return _0x53bb16===null?_0x5a6f1a:new e()['applyOp'](_0x5a6f1a,_0x53bb16);}catch{return null;}}[_0x4e7c38(0x348)](_0x230cf0,_0x43492e){const _0x3d27ed=_0x4e7c38;let _0x68e6ff=this[_0x3d27ed(0x4c7)](_0x43492e),_0x51f0be=I('BaseJson1.cloneForOp',()=>Xt(_0x230cf0,_0x43492e),{'invalidations':_0x68e6ff[_0x3d27ed(0x2b6)]}),_0x477062=I(_0x3d27ed(0x535),()=>_0x10aaca[_0x3d27ed(0x30b)]['apply'](_0x51f0be,_0x43492e),{'invalidations':_0x68e6ff[_0x3d27ed(0x2b6)]}),_0x33eb8a=Ht(_0x477062,_0x68e6ff);return I('BaseJson1.syncCellInvalidations',()=>Vt(_0x477062,_0x68e6ff),{'invalidations':_0x68e6ff['length']})?(Ut(_0x477062,_0x33eb8a),_0x477062):(I(_0x3d27ed(0x520),()=>{const _0x158316=_0x3d27ed;this[_0x158316(0x3ec)](_0x477062,_0x68e6ff)[_0x158316(0x397)](_0x4f0e05=>{const _0x159142=_0x158316;let _0x1bcb84=_0x68e6ff[_0x159142(0x20f)](_0x4e4444=>_0x4e4444[_0x159142(0x2cc)]===_0x4f0e05['id']),_0x30b0f=_0x1bcb84['length']>0x0&&_0x1bcb84['every'](_0x500a14=>_0x500a14['reason']===_0x159142(0x380)||_0x500a14['reason']===_0x159142(0x2aa)||_0x500a14['reason']===_0x159142(0x2c9)||_0x500a14[_0x159142(0x3be)]==='record')?new Set(_0x1bcb84[_0x159142(0x470)](_0x1ff55a=>{const _0x2b7ffe=_0x159142;var _0x18ac90;if(_0x1ff55a[_0x2b7ffe(0x3be)]!=='field'||!_0x1ff55a[_0x2b7ffe(0x446)])return[];let _0x4942c9=(_0x18ac90=_0x230cf0['tables'][_0x4f0e05['id']])==null?void 0x0:_0x18ac90[_0x2b7ffe(0x531)][_0x1ff55a['fieldId']],_0x593345=_0x4f0e05[_0x2b7ffe(0x531)][_0x1ff55a[_0x2b7ffe(0x446)]];return(_0x4942c9==null?void 0x0:_0x4942c9['type'])!==(_0x593345==null?void 0x0:_0x593345['type'])||(_0x4942c9==null?void 0x0:_0x4942c9[_0x2b7ffe(0x554)][_0x2b7ffe(0x305)])!==(_0x593345==null?void 0x0:_0x593345['config'][_0x2b7ffe(0x305)])?[_0x1ff55a['fieldId']]:[];})):void 0x0,_0x3907cf=new Set(_0x1bcb84[_0x159142(0x470)](_0x32a50e=>{const _0x522a7e=_0x159142;var _0x284037,_0x64eb8e;return _0x32a50e[_0x522a7e(0x3be)]!==_0x522a7e(0x2c9)||_0x32a50e[_0x522a7e(0x505)]==null||_0x32a50e['column']==null?[]:[JSON[_0x522a7e(0x2af)]([(_0x284037=_0x4f0e05[_0x522a7e(0x565)])==null?void 0x0:_0x284037[_0x32a50e['row']],(_0x64eb8e=_0x4f0e05[_0x522a7e(0x512)])==null?void 0x0:_0x64eb8e[_0x32a50e[_0x522a7e(0x50c)]]])];}));ht(_0x4f0e05,_0x30b0f?(_0x2c91dd,_0x81391e)=>_0x30b0f[_0x159142(0x4d6)](_0x81391e)||_0x3907cf[_0x159142(0x4d6)](JSON[_0x159142(0x2af)]([_0x2c91dd,_0x81391e])):void 0x0);});},{'invalidations':_0x68e6ff[_0x3d27ed(0x2b6)]}),Ut(_0x477062,_0x33eb8a),_0x477062);}[_0x4e7c38(0x27f)](_0x1256f3,_0xb9e6f){return _0x10aaca['type']['invertWithDoc'](_0xb9e6f,_0x1256f3);}['getAffectedRanges'](_0x234f22){const _0x5c4daf=_0x4e7c38;let _0x1065b8=qt(_0x234f22);return _0x1065b8[_0x5c4daf(0x2b6)]?Jt(_0x1065b8['flatMap'](_0x33b323=>this[_0x5c4daf(0x4c7)](_0x33b323))):Wt(_0x234f22);}[_0x4e7c38(0x3ec)](_0x21b724,_0x23ea49){const _0x4136fc=_0x4e7c38;let _0x466ce3=_0x23ea49[_0x4136fc(0x20f)](_0x57bc89=>_0x57bc89[_0x4136fc(0x3be)]!==_0x4136fc(0x2aa));return _0x466ce3['length']?_0x466ce3[_0x4136fc(0x48e)](_0x8f9282=>!_0x8f9282[_0x4136fc(0x2cc)])?Object['values'](_0x21b724[_0x4136fc(0x29e)]??{}):Array[_0x4136fc(0x501)](new Set(_0x466ce3[_0x4136fc(0x3e8)](_0x2dabb5=>_0x2dabb5['tableId'])))[_0x4136fc(0x470)](_0x8d7e58=>{var _0x4361bd;let _0x2c50db=(_0x4361bd=_0x21b724['tables'])==null?void 0x0:_0x4361bd[_0x8d7e58];return _0x2c50db?[_0x2c50db]:[];}):[];}};function Bt(_0x270426){const _0xf9576=_0x4e7c38;let _0x1fbf3b=_0x270426[_0xf9576(0x3eb)];return _0x270426['id']!=='base.mutation.apply-base-json1'||typeof _0x1fbf3b!='object'||!_0x1fbf3b||!(_0xf9576(0x423)in _0x1fbf3b)||typeof _0x1fbf3b[_0xf9576(0x423)]!=_0xf9576(0x457)||!('op'in _0x1fbf3b)||!Array[_0xf9576(0x56b)](_0x1fbf3b['op'])?null:{'unitId':_0x1fbf3b[_0xf9576(0x423)],'op':_0x1fbf3b['op']};}function Vt(_0x465e69,_0x4b7446){const _0x1610e7=_0x4e7c38;if(!_0x4b7446[_0x1610e7(0x2b6)]||_0x4b7446[_0x1610e7(0x48e)](_0x4cda1a=>_0x4cda1a[_0x1610e7(0x3be)]!==_0x1610e7(0x2c9)))return!0x1;let _0x622bca=new Map();for(let _0x1cb5b9 of _0x4b7446){if(!_0x1cb5b9['tableId']||_0x1cb5b9[_0x1610e7(0x505)]==null||_0x1cb5b9[_0x1610e7(0x50c)]==null)continue;let _0x200b43=_0x622bca[_0x1610e7(0x4d5)](_0x1cb5b9[_0x1610e7(0x2cc)])??[];_0x200b43[_0x1610e7(0x3e2)]({'row':_0x1cb5b9['row'],'col':_0x1cb5b9[_0x1610e7(0x50c)]}),_0x622bca[_0x1610e7(0x205)](_0x1cb5b9[_0x1610e7(0x2cc)],_0x200b43);}return _0x622bca[_0x1610e7(0x397)]((_0x47da6e,_0x332ae0)=>{var _0x2a776b;let _0x5b79a0=(_0x2a776b=_0x465e69['tables'])==null?void 0x0:_0x2a776b[_0x332ae0];_0x5b79a0&>(_0x5b79a0,_0x47da6e);}),!0x0;}function Ht(_0x3f5784,_0x5e7e7c){const _0x1c89d6=_0x4e7c38;let _0x148308=new Set();return _0x5e7e7c[_0x1c89d6(0x470)](_0x24acdf=>{const _0x51121b=_0x1c89d6;var _0x2be7c0;if(!_0x24acdf[_0x51121b(0x2cc)]||!_0x24acdf[_0x51121b(0x394)]||!_0x24acdf[_0x51121b(0x446)])return[];let _0x21520d=_0x24acdf[_0x51121b(0x2cc)]+'\x1f'+_0x24acdf[_0x51121b(0x394)]+'\x1f'+_0x24acdf['fieldId'];if(_0x148308['has'](_0x21520d))return[];_0x148308[_0x51121b(0x290)](_0x21520d);let _0x309b85=(_0x2be7c0=_0x3f5784[_0x51121b(0x29e)][_0x24acdf[_0x51121b(0x2cc)]])==null||(_0x2be7c0=_0x2be7c0[_0x51121b(0x2d1)][_0x24acdf[_0x51121b(0x394)]])==null?void 0x0:_0x2be7c0[_0x51121b(0x4c0)];return _0x309b85?[{'tableId':_0x24acdf['tableId'],'recordId':_0x24acdf[_0x51121b(0x394)],'fieldId':_0x24acdf['fieldId'],'exists':Object['prototype']['hasOwnProperty'][_0x51121b(0x386)](_0x309b85,_0x24acdf['fieldId']),'value':_0x309b85[_0x24acdf['fieldId']]}]:[];});}function Ut(_0x398fd2,_0x3c0f5f){const _0x41460f=_0x4e7c38;_0x3c0f5f[_0x41460f(0x397)](_0x40a8d7=>{const _0x21b704=_0x41460f;var _0x2130fe;let _0x248f92=(_0x2130fe=_0x398fd2['tables'][_0x40a8d7[_0x21b704(0x2cc)]])==null||(_0x2130fe=_0x2130fe[_0x21b704(0x2d1)][_0x40a8d7['recordId']])==null?void 0x0:_0x2130fe[_0x21b704(0x4c0)];_0x248f92&&(_0x40a8d7['exists']?_0x248f92[_0x40a8d7[_0x21b704(0x446)]]=_0x40a8d7['value']:delete _0x248f92[_0x40a8d7[_0x21b704(0x446)]]);});}function Wt(_0x4ea043){const _0x55b1e3=_0x4e7c38;if(!Array[_0x55b1e3(0x56b)](_0x4ea043)||_0x4ea043[_0x55b1e3(0x2b6)]<0x2)return[{'tableId':'','reason':_0x55b1e3(0x392)}];let _0x37c96d=_0x4ea043,_0xb8f78b=_0x37c96d[_0x55b1e3(0x20c)](_0x55b1e3(0x29e));return _0xb8f78b===-0x1||typeof _0x37c96d[_0xb8f78b+0x1]!='string'?_0x37c96d[0x0]===_0x55b1e3(0x38f)?[]:[{'tableId':'','reason':'unknown'}]:Gt(_0x37c96d,_0xb8f78b,String(_0x37c96d[_0xb8f78b+0x1]));}function Gt(_0x40a9aa,_0x3cfe4b,_0x1d50f1){const _0x1e909c=_0x4e7c38;let _0x35154a=_0x40a9aa[_0x3cfe4b+0x2];return _0x35154a===_0x1e909c(0x2d1)&&typeof _0x40a9aa[_0x3cfe4b+0x3]==_0x1e909c(0x457)?Kt(_0x40a9aa,_0x3cfe4b,_0x1d50f1,String(_0x40a9aa[_0x3cfe4b+0x3])):_0x35154a===_0x1e909c(0x2b7)&&_0x40a9aa[_0x3cfe4b+0x3]!=null&&_0x40a9aa[_0x3cfe4b+0x4]!=null?[{'tableId':_0x1d50f1,'reason':_0x1e909c(0x2c9),'row':Number(_0x40a9aa[_0x3cfe4b+0x3]),'column':Number(_0x40a9aa[_0x3cfe4b+0x4])}]:_0x35154a===_0x1e909c(0x531)&&typeof _0x40a9aa[_0x3cfe4b+0x3]=='string'?[{'tableId':_0x1d50f1,'reason':_0x1e909c(0x380),'fieldId':String(_0x40a9aa[_0x3cfe4b+0x3])}]:_0x35154a===_0x1e909c(0x4dc)?[{'tableId':_0x1d50f1,'reason':_0x1e909c(0x380)}]:_0x35154a===_0x1e909c(0x52d)?[{'tableId':_0x1d50f1,'reason':_0x1e909c(0x51b)}]:_0x35154a===_0x1e909c(0x460)&&typeof _0x40a9aa[_0x3cfe4b+0x3]==_0x1e909c(0x457)?[{'tableId':_0x1d50f1,'reason':_0x1e909c(0x2aa),'viewId':String(_0x40a9aa[_0x3cfe4b+0x3])}]:_0x35154a===_0x1e909c(0x43e)?[{'tableId':_0x1d50f1,'reason':_0x1e909c(0x2aa)}]:_0x35154a===_0x1e909c(0x358)?[{'tableId':_0x1d50f1,'reason':_0x1e909c(0x2c9)}]:[{'tableId':_0x1d50f1,'reason':_0x35154a===void 0x0?_0x1e909c(0x438):_0x1e909c(0x392)}];}function Kt(_0x1ac1ef,_0x51add4,_0x371e02,_0xb5b733){const _0x35a7c4=_0x4e7c38;return _0x1ac1ef[_0x51add4+0x4]===_0x35a7c4(0x4c0)&&typeof _0x1ac1ef[_0x51add4+0x5]=='string'?[{'tableId':_0x371e02,'reason':'cell','recordId':_0xb5b733,'fieldId':String(_0x1ac1ef[_0x51add4+0x5])}]:_0x1ac1ef[_0x51add4+0x4]===_0x35a7c4(0x3d8)||_0x1ac1ef[_0x51add4+0x4]===_0x35a7c4(0x4af)?[]:[{'tableId':_0x371e02,'reason':_0x35a7c4(0x51b),'recordId':_0xb5b733}];}function qt(_0x3081b4){const _0x2e000a=_0x4e7c38;if(!Array['isArray'](_0x3081b4))return[];let _0x272109=_0x3081b4[_0x2e000a(0x20f)](Array[_0x2e000a(0x56b)]);if(_0x272109['length']>0x1&&_0x272109[_0x2e000a(0x2b6)]===_0x3081b4[_0x2e000a(0x2b6)])return _0x272109;let _0x1be598=_0x3081b4['findIndex'](Array['isArray']);if(_0x1be598>0x0&&_0x3081b4[_0x2e000a(0x479)](_0x1be598)[_0x2e000a(0x1f6)](Array[_0x2e000a(0x56b)])){let _0x170d37=_0x3081b4[_0x2e000a(0x479)](0x0,_0x1be598);return _0x3081b4['slice'](_0x1be598)[_0x2e000a(0x3e8)](_0x4f3b1c=>[..._0x170d37,..._0x4f3b1c]);}let _0x39d594=_0x3081b4[_0x2e000a(0x20c)](_0x2e000a(0x29e));if(_0x39d594===-0x1||typeof _0x3081b4[_0x39d594+0x1]!=_0x2e000a(0x457))return[];let _0xf14811=String(_0x3081b4[_0x39d594+0x1]),_0x40e154=_0x3081b4[_0x2e000a(0x479)](_0x39d594+0x2)[_0x2e000a(0x20f)](Array[_0x2e000a(0x56b)]);return _0x40e154['length']<=0x1?[]:_0x40e154[_0x2e000a(0x3e8)](_0x25584a=>[_0x2e000a(0x29e),_0xf14811,..._0x25584a]);}function Jt(_0x27ce28){let _0x22401f=new Set();return _0x27ce28['filter'](_0x3fea15=>{const _0x35994e=_0x16bf;let _0x1cba81=JSON[_0x35994e(0x2af)](_0x3fea15);return!_0x22401f[_0x35994e(0x4d6)](_0x1cba81)&&(_0x22401f[_0x35994e(0x290)](_0x1cba81),!0x0);});}function Yt(_0x4d47fc){return _0x42dbe9['deepClone'](_0x4d47fc);}function Xt(_0x4427d0,_0x1052a3){const _0x443d65=_0x4e7c38;let _0xadc6c1=Zt(_0x1052a3);if(!_0xadc6c1[_0x443d65(0x2b6)])return Yt(_0x4427d0);let _0x593828=an(_0x4427d0),_0x563fa4=new Set();for(let _0x21b825 of _0xadc6c1)en(_0x593828,_0x21b825,_0x563fa4);return _0x593828;}function Zt(_0x3d2295){let _0x562dd6=[];return Qt(_0x3d2295,[],_0x562dd6),_0x562dd6;}function Qt(_0x1ed50a,_0x285fd0,_0x4a946b){const _0x47e7de=_0x4e7c38;if(!Array[_0x47e7de(0x56b)](_0x1ed50a))return;let _0x1a544b=[];for(let _0x21a0c9 of _0x1ed50a){if(Array['isArray'](_0x21a0c9)){Qt(_0x21a0c9,[..._0x285fd0,..._0x1a544b],_0x4a946b);continue;}if($t(_0x21a0c9)){_0x4a946b[_0x47e7de(0x3e2)]([..._0x285fd0,..._0x1a544b]);continue;}(typeof _0x21a0c9==_0x47e7de(0x457)||typeof _0x21a0c9=='number')&&_0x1a544b[_0x47e7de(0x3e2)](_0x21a0c9);}}function $t(_0x517b59){const _0x2df293=_0x4e7c38;if(!_0x517b59||typeof _0x517b59!=_0x2df293(0x3d3)||Array[_0x2df293(0x56b)](_0x517b59))return!0x1;let _0x1798ad=_0x517b59;return'i'in _0x1798ad||'r'in _0x1798ad||'p'in _0x1798ad||'d'in _0x1798ad||'es'in _0x1798ad||_0x2df293(0x3f4)in _0x1798ad||'et'in _0x1798ad;}function en(_0x4e8b1e,_0x3a9fe9,_0x2f489d){const _0x12b0dd=_0x4e7c38;let _0x5a8f09=_0x4e8b1e,_0xfb3db1=[];for(let _0x353a3f=0x0;_0x353a3f<_0x3a9fe9[_0x12b0dd(0x2b6)]-0x1;_0x353a3f++){let _0x101615=_0x3a9fe9[_0x353a3f];_0xfb3db1[_0x12b0dd(0x3e2)](_0x101615);let _0x432ea3=tn(_0x5a8f09,_0x101615);if(!rn(_0x432ea3))return;let _0x2653ec=JSON[_0x12b0dd(0x2af)](_0xfb3db1);_0x2f489d['has'](_0x2653ec)||(nn(_0x5a8f09,_0x101615,an(_0x432ea3)),_0x2f489d['add'](_0x2653ec));let _0x17b22b=tn(_0x5a8f09,_0x101615);if(!rn(_0x17b22b))return;_0x5a8f09=_0x17b22b;}}function tn(_0x14e517,_0x5544d0){const _0x5e7cd3=_0x4e7c38;return Array[_0x5e7cd3(0x56b)](_0x14e517)?typeof _0x5544d0==_0x5e7cd3(0x43a)?_0x14e517[_0x5544d0]:void 0x0:Reflect[_0x5e7cd3(0x4d5)](_0x14e517,_0x5544d0);}function nn(_0x54f0bc,_0x1b86d4,_0xfea059){const _0x5a9a31=_0x4e7c38;if(Array[_0x5a9a31(0x56b)](_0x54f0bc)){typeof _0x1b86d4==_0x5a9a31(0x43a)&&(_0x54f0bc[_0x1b86d4]=_0xfea059);return;}Reflect[_0x5a9a31(0x205)](_0x54f0bc,_0x1b86d4,_0xfea059);}function rn(_0x4bc75a){return!!_0x4bc75a&&typeof _0x4bc75a=='object';}function an(_0x1eceb2){const _0x1d354c=_0x4e7c38;return Array['isArray'](_0x1eceb2)?_0x1eceb2[_0x1d354c(0x479)]():{..._0x1eceb2};}const on=_0x4e7c38(0x4ff),sn=/\s+hh:mm\s*$/i,cn={'yyyy/mm/dd':_0x4e7c38(0x26e),'yyyy-mm-dd':_0x4e7c38(0x24a),'mm-dd':_0x4e7c38(0x2d6),'mm/dd/yyyy':'MM/DD/YYYY','dd/mm/yyyy':_0x4e7c38(0x2b8),'mmm\x20d,\x20yyyy':_0x4e7c38(0x53b)};function B(_0x73ec82,_0x2bacab=_0x3bdfd0[_0x4e7c38(0x1bb)]){let _0xda583a=_0x2b0714(_0x73ec82)['valueOf']();return _0x5292e2(new Date(_0xda583a),_0x2bacab);}function ln(_0x102ddc,_0x4362c5=_0x3bdfd0['Date1900']){const _0x3ccf9b=_0x4e7c38;return _0x4d9b98(_0x102ddc,_0x4362c5)[_0x3ccf9b(0x32b)]();}function un(_0x40ada7,_0x921577=_0x3bdfd0[_0x4e7c38(0x1bb)]){const _0x43608b=_0x4e7c38;if(_0x40ada7==null||_0x40ada7==='')return null;if(_0x40ada7 instanceof Date)return B(_0x40ada7,_0x921577);if(typeof _0x40ada7=='number')return Number[_0x43608b(0x338)](_0x40ada7)?_0x40ada7>0xf4240?B(_0x40ada7,_0x921577):_0x40ada7:null;let _0x4d1efb=Date[_0x43608b(0x220)](String(_0x40ada7));return Number['isNaN'](_0x4d1efb)?null:B(_0x4d1efb,_0x921577);}function dn(_0x152512,_0x3c4bab=_0x3bdfd0[_0x4e7c38(0x1bb)]){let _0x20d751=un(_0x152512,_0x3c4bab);return _0x20d751==null?null:ln(_0x20d751,_0x3c4bab);}function fn(_0x5aea7={}){const _0x150bda=_0x4e7c38;let _0x2d6406=String(_0x5aea7['pattern']??_0x5aea7[_0x150bda(0x455)]??_0x5aea7[_0x150bda(0x317)]??on)['trim']()||on,_0x44097d=sn['test'](_0x2d6406);return{'pattern':_0x2d6406[_0x150bda(0x212)](sn,'')||on,'includeTime':typeof _0x5aea7[_0x150bda(0x4a1)]==_0x150bda(0x361)?_0x5aea7[_0x150bda(0x4a1)]:_0x44097d,'hourCycle':_0x5aea7[_0x150bda(0x465)]===_0x150bda(0x25e)?_0x150bda(0x25e):_0x150bda(0x4a2)};}function pn(_0x14e60f={}){let {format:_0x3832af,dateFormat:_0x31e043,..._0x23ced7}=_0x14e60f;return{..._0x23ced7,...fn(_0x14e60f)};}function mn(_0x774880,_0x189cca={}){const _0x38eaf7=_0x4e7c38;let _0x5c895a=dn(_0x774880);if(_0x5c895a==null||!Number['isFinite'](_0x5c895a))return'';let _0x40cf20=fn(_0x189cca);return _0x2b0714(_0x5c895a)[_0x38eaf7(0x455)](hn(_0x40cf20));}function hn(_0x9dfcca){const _0x2be21c=_0x4e7c38;let {pattern:_0x5e2bd8,includeTime:_0x21ea82,hourCycle:_0x61cda7}=_0x9dfcca,_0x3bd2c2=cn[_0x5e2bd8]??cn[on];return _0x21ea82?_0x3bd2c2+'\x20'+(_0x61cda7===_0x2be21c(0x25e)?_0x2be21c(0x44f):_0x2be21c(0x35f)):_0x3bd2c2;}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([_0x377615[_0x4e7c38(0x4c5)]]),V=0x5265c00;function vn(_0x5cca0e){const _0x3335f5=_0x4e7c38;switch(_0x5cca0e){case _0x377615[_0x3335f5(0x242)]:case _0x377615['Currency']:case _0x377615['Progress']:case _0x377615[_0x3335f5(0x33a)]:return[_0x4baac8['IS'],_0x4baac8[_0x3335f5(0x2a9)],_0x4baac8[_0x3335f5(0x481)],_0x4baac8[_0x3335f5(0x4f6)],_0x4baac8['IS_EMPTY'],_0x4baac8[_0x3335f5(0x2c4)]];case _0x377615[_0x3335f5(0x55e)]:case _0x377615[_0x3335f5(0x3d5)]:case _0x377615[_0x3335f5(0x4ec)]:return[_0x4baac8['IS'],_0x4baac8[_0x3335f5(0x2a9)],_0x4baac8[_0x3335f5(0x483)],_0x4baac8[_0x3335f5(0x2e4)],_0x4baac8[_0x3335f5(0x2e0)],_0x4baac8[_0x3335f5(0x2c4)]];case _0x377615['Checkbox']:return[_0x4baac8['IS'],_0x4baac8[_0x3335f5(0x2a9)]];default:return[_0x4baac8['IS'],_0x4baac8['IS_NOT'],_0x4baac8[_0x3335f5(0x273)],_0x4baac8[_0x3335f5(0x46b)],_0x4baac8[_0x3335f5(0x2e0)],_0x4baac8[_0x3335f5(0x2c4)]];}}function yn(_0x2e854e){const _0x17a052=_0x4e7c38;return _0x2e854e===_0x377615[_0x17a052(0x55e)]||_0x2e854e===_0x377615['CreatedAt']||_0x2e854e===_0x377615[_0x17a052(0x4ec)];}function bn(_0x15d54b,_0x4745f){const _0x5df53e=_0x4e7c38;return _0x15d54b==null&&_0x4745f==null?0x0:_0x15d54b==null?-0x1:_0x4745f==null?0x1:typeof _0x15d54b==_0x5df53e(0x43a)&&typeof _0x4745f==_0x5df53e(0x43a)?_0x15d54b-_0x4745f:String(_0x15d54b)['localeCompare'](String(_0x4745f));}function xn(_0x3fb130,_0x43c42f,_0x205db3,_0x1d7536,_0x332e91={}){const _0x2d3437=_0x4e7c38;if(_0x43c42f===_0x2d3437(0x4d3))return Sn(_0x3fb130);if(_0x43c42f==='isNotEmpty')return!Sn(_0x3fb130);switch(_0x1d7536[_0x2d3437(0x30b)]){case _0x377615[_0x2d3437(0x242)]:case _0x377615[_0x2d3437(0x40e)]:case _0x377615[_0x2d3437(0x3a3)]:case _0x377615['Rating']:return Cn(_0x3fb130,_0x43c42f,_0x205db3);case _0x377615[_0x2d3437(0x55e)]:case _0x377615[_0x2d3437(0x3d5)]:case _0x377615[_0x2d3437(0x4ec)]:return Tn(_0x3fb130,_0x43c42f,_0x205db3,_0x332e91);case _0x377615[_0x2d3437(0x1e2)]:return jn(_0x3fb130,_0x43c42f,_0x205db3);case _0x377615[_0x2d3437(0x38d)]:case _0x377615[_0x2d3437(0x1eb)]:case _0x377615['Person']:case _0x377615[_0x2d3437(0x1c4)]:return Nn(_0x3fb130,_0x43c42f,_0x205db3,_0x1d7536);default:return Pn(_0x3fb130,_0x43c42f,_0x205db3);}}function Sn(_0x41b0a){const _0x4418ff=_0x4e7c38;return _0x41b0a==null?!0x0:Array[_0x4418ff(0x56b)](_0x41b0a)?_0x41b0a[_0x4418ff(0x2b6)]===0x0:typeof _0x41b0a==_0x4418ff(0x457)&&_0x41b0a['trim']()==='';}function Cn(_0x5981a4,_0x12ec88,_0x550ad){const _0x31fa7f=_0x4e7c38;let _0x5a5c73=wn(_0x5981a4),_0x28dd22=wn(_0x550ad);if(_0x5a5c73==null||_0x28dd22==null)return!0x1;switch(_0x12ec88){case'is':return _0x5a5c73===_0x28dd22;case _0x31fa7f(0x4a3):return _0x5a5c73!==_0x28dd22;case'greaterThan':return _0x5a5c73>_0x28dd22;case'greaterThanOrEqual':return _0x5a5c73>=_0x28dd22;case _0x31fa7f(0x2ea):return _0x5a5c73<_0x28dd22;case _0x31fa7f(0x313):return _0x5a5c73<=_0x28dd22;default:return!0x1;}}function wn(_0x3cafe5){if(_0x3cafe5==null||_0x3cafe5==='')return null;let _0x4b296e=Number(_0x3cafe5);return Number['isFinite'](_0x4b296e)?_0x4b296e:null;}function Tn(_0x314524,_0x5aff24,_0x56a206,_0x5001a9){const _0xf674fb=_0x4e7c38;let _0x347707=Dn(_0x314524);if(_0x347707==null)return!0x1;let _0x4788a5=En(_0x5001a9['dateMode']??_0xf674fb(0x517),_0x56a206,_0x5001a9[_0xf674fb(0x32e)]);if(!_0x4788a5)return!0x1;switch(_0x5aff24){case'is':return _0x347707>=_0x4788a5[_0xf674fb(0x2b1)]&&_0x347707<=_0x4788a5[_0xf674fb(0x41a)];case'isNot':return _0x347707<_0x4788a5['start']||_0x347707>_0x4788a5[_0xf674fb(0x41a)];case _0xf674fb(0x3b6):return _0x347707<_0x4788a5[_0xf674fb(0x2b1)];case _0xf674fb(0x425):return _0x347707>_0x4788a5[_0xf674fb(0x41a)];default:return!0x1;}}function En(_0x993f91,_0x580d1b,_0x3c62c6=Date[_0x4e7c38(0x32e)]()){const _0x1d1386=_0x4e7c38;let _0x1ce988=On(_0x3c62c6);switch(_0x993f91){case'exact':{let _0x46c0b6=Dn(_0x580d1b);return _0x46c0b6==null?null:{'start':_0x46c0b6,'end':_0x46c0b6+V-0x1};}case _0x1d1386(0x258):return{'start':_0x1ce988,'end':_0x1ce988+V-0x1};case _0x1d1386(0x4bd):return{'start':_0x1ce988+V,'end':_0x1ce988+V*0x2-0x1};case'yesterday':return{'start':_0x1ce988-V,'end':_0x1ce988-0x1};case _0x1d1386(0x3d1):return kn(_0x1ce988,0x0);case _0x1d1386(0x2ae):return kn(_0x1ce988,-0x1);case _0x1d1386(0x2d8):return An(_0x1ce988,0x0);case'lastMonth':return An(_0x1ce988,-0x1);case _0x1d1386(0x35e):return{'start':_0x1ce988-V*0x6,'end':_0x1ce988+V-0x1};case'next7':return{'start':_0x1ce988,'end':_0x1ce988+V*0x7-0x1};case _0x1d1386(0x559):return{'start':_0x1ce988-V*0x1d,'end':_0x1ce988+V-0x1};case _0x1d1386(0x4df):return{'start':_0x1ce988,'end':_0x1ce988+V*0x1e-0x1};}}function Dn(_0x3811b8){let _0x748cc8=un(_0x3811b8);return _0x748cc8==null?null:On(ln(_0x748cc8));}function On(_0x257041){const _0x28182c=_0x4e7c38;let _0xec903d=new Date(_0x257041);return _0xec903d[_0x28182c(0x407)](0x0,0x0,0x0,0x0),_0xec903d['getTime']();}function kn(_0x428769,_0x54726a){const _0x2996b8=_0x4e7c38;let _0x2c0cd9=_0x428769-(new Date(_0x428769)[_0x2996b8(0x418)]()+0x6)%0x7*V+_0x54726a*V*0x7;return{'start':_0x2c0cd9,'end':_0x2c0cd9+V*0x7-0x1};}function An(_0x1b4799,_0x427402){const _0x1d70b3=_0x4e7c38;let _0x3c47b3=new Date(_0x1b4799),_0x1f8c43=new Date(_0x3c47b3[_0x1d70b3(0x579)](),_0x3c47b3[_0x1d70b3(0x200)]()+_0x427402,0x1),_0x30b7cf=new Date(_0x3c47b3[_0x1d70b3(0x579)](),_0x3c47b3[_0x1d70b3(0x200)]()+_0x427402+0x1,0x1);return{'start':_0x1f8c43[_0x1d70b3(0x32b)](),'end':_0x30b7cf['getTime']()-0x1};}function jn(_0x337dff,_0x5a8939,_0x521251){const _0x3d9e12=_0x4e7c38;let _0x41aa09=Mn(_0x337dff),_0x1276eb=Mn(_0x521251);switch(_0x5a8939){case'is':return _0x41aa09===_0x1276eb;case _0x3d9e12(0x4a3):return _0x41aa09!==_0x1276eb;default:return!0x1;}}function Mn(_0x46f9a0){const _0x492522=_0x4e7c38;return _0x46f9a0===!0x0||_0x46f9a0===_0x492522(0x3a0)||_0x46f9a0===0x1||_0x46f9a0==='1';}function Nn(_0x41dd8a,_0x2f95f1,_0x26e0a3,_0x45b076){const _0x1e7a35=_0x4e7c38;let _0x56dec8=In(_0x41dd8a,_0x45b076),_0x23f2bb=In(_0x26e0a3,_0x45b076),_0x305546=_0x23f2bb[_0x1e7a35(0x2b6)]>0x0&&_0x23f2bb['some'](_0x35e462=>_0x56dec8[_0x1e7a35(0x37a)](_0x35e462));switch(_0x2f95f1){case'is':case _0x1e7a35(0x525):return _0x305546;case _0x1e7a35(0x4a3):case _0x1e7a35(0x37b):return!_0x305546;default:return!0x1;}}function Pn(_0x3adbbe,_0x29aaa7,_0x1c5ed1){const _0x2b5a89=_0x4e7c38;let _0x27fff1=Fn(_0x3adbbe),_0x2e74da=Fn(_0x1c5ed1);switch(_0x29aaa7){case'is':return _0x27fff1===_0x2e74da;case _0x2b5a89(0x4a3):return _0x27fff1!==_0x2e74da;case _0x2b5a89(0x525):return _0x2e74da?_0x27fff1[_0x2b5a89(0x37a)](_0x2e74da):!0x1;case _0x2b5a89(0x37b):return!_0x2e74da||!_0x27fff1[_0x2b5a89(0x37a)](_0x2e74da);default:return!0x1;}}function Fn(_0x16a1f6){const _0x3adc24=_0x4e7c38;if(Array[_0x3adc24(0x56b)](_0x16a1f6))return _0x16a1f6[_0x3adc24(0x3e8)](_0xd287e2=>Fn(_0xd287e2))['join']('\x0a');if(_0x16a1f6&&typeof _0x16a1f6==_0x3adc24(0x3d3)){let _0x2b7aba=_0x16a1f6;return String(_0x2b7aba['name']??_0x2b7aba[_0x3adc24(0x55b)]??_0x2b7aba['text']??_0x2b7aba[_0x3adc24(0x4de)]??_0x2b7aba['id']??'')[_0x3adc24(0x42c)]()['toLowerCase']();}return String(_0x16a1f6??'')[_0x3adc24(0x42c)]()['toLowerCase']();}function In(_0x3f9349,_0x1c9c87){const _0xd524a7=_0x4e7c38;let _0x58c766=Ln(_0x3f9349),_0x3c253d=Rn(_0x1c9c87['config']??{});return _0x58c766[_0xd524a7(0x470)](_0x21bb80=>_0x3c253d[_0xd524a7(0x4d5)](_0x21bb80)??[_0x21bb80])['filter']((_0x177c7b,_0x491b52,_0x265bf2)=>_0x177c7b!==''&&_0x265bf2[_0xd524a7(0x20c)](_0x177c7b)===_0x491b52);}function Ln(_0x50430a){const _0xc052ad=_0x4e7c38;if(_0x50430a==null||_0x50430a==='')return[];if(Array[_0xc052ad(0x56b)](_0x50430a))return _0x50430a[_0xc052ad(0x470)](_0xd8e0d1=>Ln(_0xd8e0d1));if(_0x50430a&&typeof _0x50430a==_0xc052ad(0x3d3)){let _0x8d144a=_0x50430a;return['id',_0xc052ad(0x39a),'label',_0xc052ad(0x4de),_0xc052ad(0x2bb)][_0xc052ad(0x470)](_0x5de049=>Ln(_0x8d144a[_0x5de049]))[_0xc052ad(0x20f)]((_0x5b6b1d,_0x4c86a4,_0x39e6c4)=>_0x39e6c4['indexOf'](_0x5b6b1d)===_0x4c86a4);}return[Fn(_0x50430a)];}function Rn(_0x383e21){const _0x1f3a18=_0x4e7c38;let _0x2936e9=new Map();return(Array[_0x1f3a18(0x56b)](_0x383e21[_0x1f3a18(0x246)])?_0x383e21[_0x1f3a18(0x246)]:[])[_0x1f3a18(0x397)](_0x211b13=>{const _0x417a4d=_0x1f3a18;if(!_0x211b13||typeof _0x211b13!=_0x417a4d(0x3d3))return;let _0x1209da=Ln(_0x211b13),_0x566192=_0x1209da[_0x417a4d(0x20f)]((_0x4af45f,_0x1057cc)=>_0x4af45f!==''&&_0x1209da['indexOf'](_0x4af45f)===_0x1057cc);_0x566192[_0x417a4d(0x397)](_0x320b6c=>_0x2936e9[_0x417a4d(0x205)](_0x320b6c,_0x566192));}),_0x2936e9;}function H(_0xf8cbb5,_0x4c841c={},_0x429c90=_0x37632f=>_0x37632f,_0x4b0936={}){const _0x431aa5=_0x4e7c38;let _0x5500a3=!_n[_0x431aa5(0x4d6)](_0xf8cbb5),_0x5ab070=_0x429c90??(_0x3484a1=>_0x3484a1);return{'type':_0xf8cbb5,'i18nKey':_0x431aa5(0x2fe)+_0xf8cbb5,'enabled':_0x5500a3,'visibleInCreateMenu':_0x5500a3,'createDefaultConfig':_0x4b0936[_0x431aa5(0x540)]??(()=>({})),'createDefaultValue':_0x4b0936[_0x431aa5(0x2e2)]??(_0x5701e2=>_0x5701e2['defaultValue']??null),'normalize':(_0x5cacc9,_0x1655b2)=>_0x5ab070(_0x5cacc9,_0x1655b2),'validate':(_0x3ad85b,_0x50cecf)=>{const _0x4f29b7=_0x431aa5;var _0x2590bb;return _0x5500a3?((_0x2590bb=_0x4b0936[_0x4f29b7(0x1bc)])==null?void 0x0:_0x2590bb['call'](_0x4b0936,_0x3ad85b,_0x50cecf))??{'valid':!0x0}:{'valid':!0x1};},'compare':(_0x1912a6,_0x430c79)=>bn(_0x1912a6,_0x430c79),'filter':(_0x574dbc,_0x215077,_0x13ea36,_0x25449f)=>xn(_0x574dbc,_0x215077,_0x13ea36,_0x25449f),'toPlainText':_0x4b0936[_0x431aa5(0x365)]??(_0x51f944=>_0x51f944==null?'':String(_0x51f944)),'fromPlainText':_0x4b0936[_0x431aa5(0x248)]??(_0x181ef2=>_0x5ab070(_0x181ef2,{'id':'','name':'','type':_0xf8cbb5,'config':{}})),'getCapabilities':()=>({...gn,..._0x4c841c,'editable':_0x5500a3&&(_0x4c841c[_0x431aa5(0x1d7)]??gn[_0x431aa5(0x1d7)])})};}function zn(){const _0x1893bc=_0x4e7c38;return[H(_0x377615['Text'],{'groupable':!0x0,'usableAsTitle':!0x0},void 0x0,{'createDefaultConfig':()=>({'placeholder':_0x1893bc(0x28d)}),'createDefaultValue':_0x3d2ead=>_0x3d2ead[_0x1893bc(0x2a8)]??''}),H(_0x377615[_0x1893bc(0x38d)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsOptions':!0x0},_0x3a5418=>_0x3a5418==null||_0x3a5418===''?null:String(_0x3a5418),{'createDefaultConfig':()=>({'options':[],'optionSource':{'type':'manual'}})}),H(_0x377615[_0x1893bc(0x1eb)],{'filterable':!0x0,'usableAsKanbanGroup':!0x0,'supportsOptions':!0x0,'supportsMultipleValues':!0x0},_0x5da64f=>Array['isArray'](_0x5da64f)?_0x5da64f[_0x1893bc(0x3e8)](String):_0x5da64f==null?[]:[String(_0x5da64f)],{'createDefaultConfig':()=>({'options':[],'optionSource':{'type':_0x1893bc(0x22a)}}),'createDefaultValue':_0x4ed9f0=>_0x4ed9f0['defaultValue']??[]}),H(_0x377615[_0x1893bc(0x4f8)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsMultipleValues':!0x0},Wn,{'createDefaultConfig':()=>({'allowMultiple':!0x1,'provider':'person'}),'validate':Gn}),H(_0x377615[_0x1893bc(0x1c4)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsMultipleValues':!0x0},Hn,{'createDefaultConfig':()=>({'allowMultiple':!0x0,'provider':'group'}),'createDefaultValue':_0x44ca8b=>_0x44ca8b[_0x1893bc(0x2a8)]??[],'validate':Kn}),H(_0x377615[_0x1893bc(0x55e)],{'groupable':!0x0,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x57d3dd=>un(_0x57d3dd),{'createDefaultConfig':()=>Vn(),'validate':qn}),H(_0x377615['Attachment'],{'usableAsCardCover':!0x0,'supportsMultipleValues':!0x0},_0x33df25=>_0x33df25==null?[]:Array['isArray'](_0x33df25)?_0x33df25:[_0x33df25],{'createDefaultValue':_0x28fc84=>_0x28fc84[_0x1893bc(0x2a8)]??[]}),H(_0x377615[_0x1893bc(0x242)],{},_0x13c32f=>_0x13c32f==null||_0x13c32f===''?null:Number(_0x13c32f),{'createDefaultConfig':()=>Bn(),'validate':Jn}),H(_0x377615[_0x1893bc(0x1e2)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0},_0x1df0bf=>_0x1df0bf===!0x0||_0x1df0bf===_0x1893bc(0x3a0)||_0x1df0bf===0x1||_0x1df0bf==='1',{'createDefaultConfig':()=>({'icon':_0x1893bc(0x4ad),'color':_0x1893bc(0x48c)}),'createDefaultValue':_0x440a58=>_0x440a58[_0x1893bc(0x2a8)]??!0x1,'validate':_0x3d6953=>typeof _0x3d6953==_0x1893bc(0x361)?{'valid':!0x0}:{'valid':!0x1,'reason':_0x1893bc(0x2b4)}}),H(_0x377615[_0x1893bc(0x1c3)],{'supportsRelation':!0x0},Xn,{'createDefaultConfig':()=>({'placeholder':'bases.fieldConfig.linkPlaceholder'}),'toPlainText':_0x3ae899=>Zn(_0x3ae899),'fromPlainText':_0x4f3fee=>Xn(_0x4f3fee)}),H(_0x377615[_0x1893bc(0x26c)],{'editable':!0x1},void 0x0,{'createDefaultConfig':()=>({'formula':'','dependencies':[],'numfmt':{'type':_0x1893bc(0x573),'pattern':_0x1893bc(0x52c)}}),'createDefaultValue':()=>null}),H(_0x377615[_0x1893bc(0x34c)],{'editable':!0x1,'usableAsTitle':!0x0},void 0x0,{'createDefaultConfig':()=>({'mode':'autoIncrement'}),'createDefaultValue':()=>null}),H(_0x377615[_0x1893bc(0x445)],{'usableAsTitle':!0x0},_0xe76c97=>_0xe76c97==null?null:String(_0xe76c97)[_0x1893bc(0x42c)](),{'validate':_0x1e2999=>_0x1e2999==null||_0x1e2999===''||/^\+?[0-9 ()-]{6,20}$/[_0x1893bc(0x463)](String(_0x1e2999))?{'valid':!0x0}:{'valid':!0x1,'reason':_0x1893bc(0x412)}}),H(_0x377615[_0x1893bc(0x252)],{'usableAsTitle':!0x0},_0x202a02=>_0x202a02==null?null:String(_0x202a02)[_0x1893bc(0x42c)](),{'validate':_0x16c0b9=>_0x16c0b9==null||_0x16c0b9===''||$n(String(_0x16c0b9))?{'valid':!0x0}:{'valid':!0x1,'reason':_0x1893bc(0x32a)}}),H(_0x377615[_0x1893bc(0x3a3)],{'usableAsGanttProgress':!0x0},_0x42c9fa=>_0x42c9fa==null||_0x42c9fa===''?null:Number(_0x42c9fa),{'createDefaultConfig':()=>({'format':_0x1893bc(0x1c6),'decimalPlaces':0x0,'color':_0x1893bc(0x557),'customRange':!0x1,'start':0x0,'end':0x64}),'validate':(_0x13718f,_0x213095)=>Yn(_0x13718f,_0x213095,_0x1893bc(0x293))}),H(_0x377615['Currency'],{},_0x196294=>_0x196294==null||_0x196294===''?null:Number(_0x196294),{'createDefaultConfig':()=>({...Bn(),'currencySymbol':'$'}),'validate':Jn}),H(_0x377615[_0x1893bc(0x33a)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0},_0x19513d=>_0x19513d==null||_0x19513d===''?null:Number(_0x19513d),{'createDefaultConfig':()=>({'icon':'star','min':0x1,'max':0x5}),'createDefaultValue':()=>null,'validate':(_0xab4f21,_0x4bb6f2)=>Yn(_0xab4f21,_0x4bb6f2,_0x1893bc(0x410))}),H(_0x377615[_0x1893bc(0x23d)],{'supportsRelation':!0x0,'supportsMultipleValues':!0x0},Un,{'createDefaultConfig':()=>({'targetTableId':'','multiple':!0x1}),'createDefaultValue':()=>'','validate':(_0x42ad02,_0x1a9399)=>ze(_0x42ad02,_0x1a9399[_0x1893bc(0x554)][_0x1893bc(0x413)]===!0x0)}),H(_0x377615[_0x1893bc(0x4c5)],{'editable':!0x1,'sortable':!0x0,'filterable':!0x0,'usableAsTitle':!0x0}),H(_0x377615[_0x1893bc(0x1cd)],{'editable':!0x1,'groupable':!0x0},_0x36cfc1=>_0x36cfc1==null?null:String(_0x36cfc1),{'createDefaultConfig':()=>({'provider':_0x1893bc(0x2b3)}),'createDefaultValue':()=>null}),H(_0x377615[_0x1893bc(0x3c0)],{'editable':!0x1,'groupable':!0x0},_0x16ddd8=>_0x16ddd8==null?null:String(_0x16ddd8),{'createDefaultConfig':()=>({'provider':_0x1893bc(0x2b3)}),'createDefaultValue':()=>null}),H(_0x377615[_0x1893bc(0x3d5)],{'editable':!0x1,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x306f40=>un(_0x306f40),{'createDefaultConfig':()=>Vn(),'createDefaultValue':()=>null,'validate':qn}),H(_0x377615['UpdatedAt'],{'editable':!0x1,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0xce67cc=>un(_0xce67cc),{'createDefaultConfig':()=>Vn(),'createDefaultValue':()=>null,'validate':qn})];}function Bn(){const _0x28a36=_0x4e7c38;return{'pattern':_0x28a36(0x203),'decimalPlaces':0x2,'separatorStyle':_0x28a36(0x31c),'useThousands':!0x0,'abbreviation':_0x28a36(0x4e8),'allowNegative':!0x0};}function Vn(){const _0x3aa72d=_0x4e7c38;return{'locale':_0x3aa72d(0x1c9),'pattern':_0x3aa72d(0x4ff),'includeTime':!0x1,'hourCycle':'h24','defaultMode':_0x3aa72d(0x4e8)};}function Hn(_0x33f604){const _0x3d89fa=_0x4e7c38;return _0x33f604==null||_0x33f604===''?[]:Array[_0x3d89fa(0x56b)](_0x33f604)?_0x33f604[_0x3d89fa(0x3e8)](String):[String(_0x33f604)];}function Un(_0x12c883){const _0x1d3baf=_0x4e7c38;return typeof _0x12c883==_0x1d3baf(0x457)?_0x12c883:'';}function Wn(_0x48fafe,_0x4d8dce){const _0x496aac=_0x4e7c38;return _0x48fafe==null||_0x48fafe===''?_0x4d8dce[_0x496aac(0x554)][_0x496aac(0x305)]===!0x0?[]:null:_0x4d8dce[_0x496aac(0x554)][_0x496aac(0x305)]===!0x0?Array[_0x496aac(0x56b)](_0x48fafe)?_0x48fafe['map'](String):[String(_0x48fafe)]:Array[_0x496aac(0x56b)](_0x48fafe)?String(_0x48fafe[0x0]??'')||null:String(_0x48fafe);}function Gn(_0x3af0c0,_0x422e74){const _0x47526c=_0x4e7c38;return _0x422e74[_0x47526c(0x554)][_0x47526c(0x305)]===!0x0?Kn(_0x3af0c0):_0x3af0c0==null||_0x3af0c0===''||typeof _0x3af0c0==_0x47526c(0x457)?{'valid':!0x0}:{'valid':!0x1,'reason':_0x47526c(0x1fc)};}function Kn(_0x5bc84a){const _0x189749=_0x4e7c38;return _0x5bc84a==null||Array['isArray'](_0x5bc84a)&&_0x5bc84a['every'](_0x31ef31=>typeof _0x31ef31=='string')?{'valid':!0x0}:{'valid':!0x1,'reason':_0x189749(0x33b)};}function qn(_0x41b74a){const _0x508b5f=_0x4e7c38;return _0x41b74a==null||typeof _0x41b74a==_0x508b5f(0x43a)&&Number[_0x508b5f(0x338)](_0x41b74a)?{'valid':!0x0}:{'valid':!0x1,'reason':_0x508b5f(0x25b)};}function Jn(_0x543456,_0x39afba){const _0x30e7e2=_0x4e7c38;return _0x543456==null||_0x543456===''?{'valid':!0x0}:typeof _0x543456!=_0x30e7e2(0x43a)||!Number['isFinite'](_0x543456)?{'valid':!0x1,'reason':_0x30e7e2(0x3db)}:_0x39afba['config'][_0x30e7e2(0x20e)]===!0x1&&_0x543456<0x0?{'valid':!0x1,'reason':_0x30e7e2(0x209)}:{'valid':!0x0};}function Yn(_0x4cb242,_0x53eeff,_0x3f3c4c){const _0x39928e=_0x4e7c38;let _0x13aff9=Jn(_0x4cb242,_0x53eeff);if(!_0x13aff9[_0x39928e(0x29f)]||_0x4cb242==null||_0x4cb242==='')return _0x13aff9;let _0x281475=Number(_0x53eeff[_0x39928e(0x554)][_0x39928e(0x218)]??_0x53eeff[_0x39928e(0x554)][_0x39928e(0x2b1)]??0x0),_0x37a5d3=Number(_0x53eeff[_0x39928e(0x554)][_0x39928e(0x265)]??_0x53eeff[_0x39928e(0x554)][_0x39928e(0x41a)]??0x64),_0x4b2fa=Number(_0x4cb242);return _0x4b2fa>=_0x281475&&_0x4b2fa<=_0x37a5d3?{'valid':!0x0}:{'valid':!0x1,'reason':_0x3f3c4c};}function Xn(_0xdb3a2){const _0x17bbdd=_0x4e7c38;if(_0xdb3a2==null||_0xdb3a2==='')return null;if(typeof _0xdb3a2==_0x17bbdd(0x3d3)&&!Array['isArray'](_0xdb3a2)){let _0x3c0393=_0xdb3a2,_0xabe081=typeof _0x3c0393['text']==_0x17bbdd(0x457)?_0x3c0393[_0x17bbdd(0x2bb)]['trim']():'',_0xa4ed8d=typeof _0x3c0393['url']==_0x17bbdd(0x457)?_0x3c0393[_0x17bbdd(0x2d3)]['trim']():'',_0x4a9d73=Qn(_0xa4ed8d||_0xabe081);return _0x4a9d73?{'text':_0xabe081||_0xa4ed8d||_0x4a9d73,'url':_0x4a9d73}:null;}let _0x10bb76=String(_0xdb3a2)[_0x17bbdd(0x42c)](),_0x161667=Qn(_0x10bb76);return _0x161667?{'text':_0x10bb76,'url':_0x161667}:null;}function Zn(_0x27a487){const _0x5bdd28=_0x4e7c38;if(_0x27a487==null)return'';if(typeof _0x27a487==_0x5bdd28(0x3d3)&&!Array['isArray'](_0x27a487)){let _0x554d61=_0x27a487;return String(_0x554d61['text']||_0x554d61['url']||'');}return String(_0x27a487);}function Qn(_0x1e51eb){const _0x47b12c=_0x4e7c38;let _0x2a147d=_0x1e51eb[_0x47b12c(0x42c)]();if(!_0x2a147d)return'';let _0x4f959e=/^[a-z][a-z\d+.-]*:/i[_0x47b12c(0x463)](_0x2a147d)?_0x2a147d:_0x2a147d[_0x47b12c(0x3c5)]('//')?_0x47b12c(0x3e1)+_0x2a147d:_0x47b12c(0x25c)+_0x2a147d;try{let _0x4267ea=new URL(_0x4f959e);return _0x4267ea[_0x47b12c(0x379)]==='http:'||_0x4267ea['protocol']==='https:'?_0x4267ea[_0x47b12c(0x31d)]:'';}catch{return'';}}function $n(_0x293707){const _0x16107d=_0x4e7c38;let _0x264b1f=_0x293707['indexOf']('@');if(_0x264b1f<=0x0||_0x264b1f!==_0x293707['lastIndexOf']('@'))return!0x1;let _0x22face=_0x293707[_0x16107d(0x479)](_0x264b1f+0x1);return _0x22face[_0x16107d(0x37a)]('.')&&!_0x293707[_0x16107d(0x37a)]('\x20')&&!_0x22face['startsWith']('.')&&!_0x22face[_0x16107d(0x56d)]('.');}const U={'table':_0x2b3615=>['tables',_0x2b3615],'field':(_0x54659f,_0x1d10c4)=>['tables',_0x54659f,_0x4e7c38(0x531),_0x1d10c4],'fieldOrder':(_0x32fcc6,_0x4fa826)=>['tables',_0x32fcc6,_0x4e7c38(0x4dc),_0x4fa826],'record':(_0x1e8fcd,_0x80714d)=>[_0x4e7c38(0x29e),_0x1e8fcd,'records',_0x80714d],'cell':(_0x2f3e1b,_0x1a07c5,_0x2e565a)=>[_0x4e7c38(0x29e),_0x2f3e1b,_0x4e7c38(0x2d1),_0x1a07c5,'values',_0x2e565a],'cellData':(_0x27ead2,_0x421856,_0xc2effb)=>['tables',_0x27ead2,'cellData',String(_0x421856),String(_0xc2effb)],'attachmentSet':(_0x5b2f98,_0x22c67f)=>[_0x4e7c38(0x29e),_0x5b2f98,_0x4e7c38(0x358),_0x4e7c38(0x572),_0x22c67f],'attachment':(_0x13dfed,_0x180744)=>['tables',_0x13dfed,_0x4e7c38(0x358),'attachments',_0x180744],'view':(_0x20d87c,_0x1664a1)=>[_0x4e7c38(0x29e),_0x20d87c,_0x4e7c38(0x460),_0x1664a1],'viewFieldHidden':(_0x4fe977,_0x42fd43,_0xe7ae02)=>['tables',_0x4fe977,_0x4e7c38(0x460),_0x42fd43,_0x4e7c38(0x568),_0xe7ae02,_0x4e7c38(0x332)]};var W=class{[_0x4e7c38(0x1ec)](_0x444f89,_0x58da32){const _0x522b0d=_0x4e7c38;let _0x21d1c0=this[_0x522b0d(0x555)](_0x444f89,_0x444f89[_0x522b0d(0x39a)],_0x58da32);return R([this[_0x522b0d(0x45a)]([_0x522b0d(0x39a)],_0x444f89['name'],_0x58da32),..._0x21d1c0?[_0x21d1c0]:[]]);}['renameFormulaUnitReferences'](_0x1a72a5,_0x5331e5,_0x5dc4d8){const _0x5b7a51=_0x4e7c38;let _0x3f4d94=Object[_0x5b7a51(0x4c0)](_0x1a72a5[_0x5b7a51(0x29e)])[_0x5b7a51(0x470)](_0x56a84a=>Object['values'](_0x56a84a[_0x5b7a51(0x531)])[_0x5b7a51(0x470)](_0x53ebf0=>{const _0x2118c8=_0x5b7a51;var _0x5bc65d,_0x2292ef;if(_0x53ebf0['type']!==_0x377615['Formula'])return[];let _0x5051ff=String(((_0x5bc65d=_0x53ebf0[_0x2118c8(0x554)])==null?void 0x0:_0x5bc65d[_0x2118c8(0x44e)])??''),_0x39ef6b=_0x1f96dc(_0x5051ff,_0x5331e5,_0x5dc4d8);return _0x39ef6b===_0x5051ff?[]:[this['_replaceOptional']([...U[_0x2118c8(0x380)](_0x56a84a['id'],_0x53ebf0['id']),'config',_0x2118c8(0x44e)],(_0x2292ef=_0x53ebf0[_0x2118c8(0x554)])==null?void 0x0:_0x2292ef[_0x2118c8(0x44e)],_0x39ef6b)];}));return _0x3f4d94[_0x5b7a51(0x2b6)]>0x0?R(_0x3f4d94):void 0x0;}['createTable'](_0x2c9a24,_0x119041,_0x230cf1=_0x2c9a24[_0x4e7c38(0x38f)][_0x4e7c38(0x2b6)]){const _0x86c65e=_0x4e7c38;let _0x4c43f7=_0x58263d(_0x119041[_0x86c65e(0x39a)],_0x4669bc(_0x2c9a24)[_0x86c65e(0x4c0)](),_0x119041[_0x86c65e(0x2cf)]),_0x2c26e3=_0x119041[_0x86c65e(0x2cf)]===_0x4c43f7?_0x119041:{..._0x119041,'formulaName':_0x4c43f7};return R([...this[_0x86c65e(0x1d2)](_0x2c9a24),_0x10aaca[_0x86c65e(0x45d)](U['table'](_0x119041['id']),_0x2c26e3),_0x10aaca[_0x86c65e(0x45d)]([_0x86c65e(0x38f),_0x230cf1],_0x119041['id'])]);}[_0x4e7c38(0x204)](_0x1049d4,_0x32e2e3,_0x1e9a1a){const _0x2dcda9=_0x4e7c38;let _0x548060=_0x1049d4['tables'][_0x32e2e3];return R([...this[_0x2dcda9(0x1d2)](_0x1049d4),_0x10aaca['replaceOp']([...U[_0x2dcda9(0x438)](_0x32e2e3),'name'],_0x548060['name'],_0x1e9a1a)]);}[_0x4e7c38(0x36b)](_0x21cef3,_0xc3cf99){const _0x57c735=_0x4e7c38;let _0x57d7d4=_0x21cef3[_0x57c735(0x29e)][_0xc3cf99],_0x548407=_0x21cef3[_0x57c735(0x38f)]['indexOf'](_0xc3cf99);return R([...this[_0x57c735(0x1d2)](_0x21cef3,new Set([_0xc3cf99])),_0x10aaca[_0x57c735(0x3c4)](U[_0x57c735(0x438)](_0xc3cf99),_0x57d7d4),_0x10aaca[_0x57c735(0x3c4)]([_0x57c735(0x38f),_0x548407],_0xc3cf99)]);}[_0x4e7c38(0x4c2)](_0x5df96c,_0x3fdb17,_0x53393e){return this['createRecords'](_0x5df96c,_0x3fdb17,[_0x53393e]);}[_0x4e7c38(0x536)](_0x2286cb,_0x4f3428,_0x23c56c){const _0x2842bd=_0x4e7c38;let _0x351226=_0x2286cb[_0x2842bd(0x29e)][_0x4f3428],_0x570564=_0x23c56c[_0x2842bd(0x20f)](_0x5b5412=>_0x5b5412&&!_0x351226[_0x2842bd(0x2d1)][_0x5b5412['id']])[_0x2842bd(0x3e8)](_0x758ea4=>({..._0x758ea4,'values':{..._0x758ea4[_0x2842bd(0x4c0)],[_0x5802d7]:_0x758ea4['id']}}));if(!_0x570564[_0x2842bd(0x2b6)])return _0x10aaca[_0x2842bd(0x53d)]([...U[_0x2842bd(0x438)](_0x4f3428),_0x2842bd(0x2d1)],_0x351226[_0x2842bd(0x2d1)],_0x351226[_0x2842bd(0x2d1)]);let _0x4ee497=new _0x10aaca['WriteCursor'](),_0x3edf12=[..._0x570564]['sort']((_0x1dc980,_0x524248)=>_0x1dc980['id']<_0x524248['id']?-0x1:+(_0x1dc980['id']>_0x524248['id'])),_0x41b53b=[...U[_0x2842bd(0x438)](_0x4f3428),_0x2842bd(0x2d1)];_0x4ee497[_0x2842bd(0x259)](_0x41b53b);for(let _0x599006 of _0x3edf12)_0x4ee497[_0x2842bd(0x567)](_0x599006['id']),_0x4ee497[_0x2842bd(0x223)]('i',_0x599006),_0x4ee497[_0x2842bd(0x31b)]();for(let _0x426772=0x0;_0x426772<_0x41b53b['length'];_0x426772+=0x1)_0x4ee497[_0x2842bd(0x31b)]();return R([_0x4ee497[_0x2842bd(0x4d5)](),this[_0x2842bd(0x458)](_0x2286cb,_0x4f3428,_0x570564)]);}[_0x4e7c38(0x577)](_0x361d26,_0x36101e,_0x2f29eb){const _0x3d20a4=_0x4e7c38;return this[_0x3d20a4(0x48f)](_0x361d26,_0x36101e,[_0x2f29eb]);}[_0x4e7c38(0x48f)](_0x97f394,_0x15b12b,_0x113feb){const _0x4a996d=_0x4e7c38;let _0x28e162=_0x97f394[_0x4a996d(0x29e)][_0x15b12b],_0x2f65ff=Array['from'](new Set(_0x113feb))['filter'](_0x220aae=>_0x28e162['records'][_0x220aae]);if(!_0x2f65ff[_0x4a996d(0x2b6)])return _0x10aaca[_0x4a996d(0x53d)]([...U[_0x4a996d(0x438)](_0x15b12b),_0x4a996d(0x2d1)],_0x28e162['records'],_0x28e162[_0x4a996d(0x2d1)]);let _0x164ae8=new Set(_0x2f65ff),_0x372154=et(_0x28e162,_0x2f65ff)[_0x4a996d(0x3e8)](_0x413d35=>this[_0x4a996d(0x344)](_0x97f394,_0x15b12b,_0x413d35['recordId'],_0x413d35[_0x4a996d(0x446)],''));return R([this['_deleteRecordsBaseOp'](_0x97f394,_0x15b12b,_0x2f65ff,_0x164ae8),..._0x372154]);}[_0x4e7c38(0x24f)](_0x1e05b3,_0x2ca27c,_0x1aa9dc,_0x5601f9){const _0x43a1b8=_0x4e7c38;let _0x37c9d3=_0x1e05b3['tables'][_0x1aa9dc],_0xb6a6f2=Array['from'](new Set(_0x5601f9))[_0x43a1b8(0x20f)](_0xa798e8=>_0x37c9d3[_0x43a1b8(0x2d1)][_0xa798e8]),_0xbca92=new Set(_0xb6a6f2);return R([new z()[_0x43a1b8(0x27f)](_0x1e05b3,this[_0x43a1b8(0x54b)](_0x1e05b3,_0x1aa9dc,_0xb6a6f2,_0xbca92)),...et(_0x37c9d3,_0xb6a6f2)[_0x43a1b8(0x3e8)](_0x2bd3ae=>this['updateCell'](_0x2ca27c,_0x1aa9dc,_0x2bd3ae[_0x43a1b8(0x394)],_0x2bd3ae[_0x43a1b8(0x446)],_0x2bd3ae[_0x43a1b8(0x272)]??''))]);}[_0x4e7c38(0x54b)](_0x1de68b,_0x736117,_0x264822,_0x1d94bd){const _0x2722ce=_0x4e7c38;let _0x5b7123=_0x1de68b['tables'][_0x736117],_0x42f4b3=_0x264822[_0x2722ce(0x3e8)](_0xfe0cc4=>{const _0x1e1ecb=_0x2722ce;var _0x555893;return{'recordId':_0xfe0cc4,'index':((_0x555893=_0x5b7123[_0x1e1ecb(0x52d)])==null?void 0x0:_0x555893['indexOf'](_0xfe0cc4))??-0x1};})[_0x2722ce(0x20f)](_0x34149a=>_0x34149a[_0x2722ce(0x230)]>=0x0)[_0x2722ce(0x266)]((_0xfb35ae,_0x49badc)=>_0x49badc[_0x2722ce(0x230)]-_0xfb35ae[_0x2722ce(0x230)]);return R([..._0x264822[_0x2722ce(0x3e8)](_0x497b3b=>_0x10aaca[_0x2722ce(0x3c4)](U['record'](_0x736117,_0x497b3b),_0x5b7123[_0x2722ce(0x2d1)][_0x497b3b])),..._0x42f4b3['map'](({recordId:_0xda4b14,index:_0x2edf35})=>_0x10aaca[_0x2722ce(0x3c4)]([_0x2722ce(0x29e),_0x736117,_0x2722ce(0x52d),_0x2edf35],_0xda4b14)),...this[_0x2722ce(0x1fa)](_0x5b7123,_0x736117,_0x122152=>{const _0x100a2d=_0x2722ce;let _0x39403a=_0x122152['slice'](_0x122152[_0x100a2d(0x1e3)]('\x1f')+0x1);return _0x1d94bd[_0x100a2d(0x4d6)](_0x39403a);})]);}['duplicateRecord'](_0x27f30f,_0x9f3a79,_0x87c43b,_0x4b02d2){const _0x1b7ec2=_0x4e7c38;return this['createRecord'](_0x27f30f,_0x9f3a79,{..._0x4b02d2,'values':{..._0x27f30f[_0x1b7ec2(0x29e)][_0x9f3a79][_0x1b7ec2(0x2d1)][_0x87c43b][_0x1b7ec2(0x4c0)],..._0x4b02d2[_0x1b7ec2(0x4c0)],[_0x5802d7]:_0x4b02d2['id']}});}[_0x4e7c38(0x2c1)](_0x436cb5,_0x416fe5,_0x1d9fd9,_0x168634){const _0x360eab=_0x4e7c38;let _0x2cd87f=_0x436cb5[_0x360eab(0x29e)][_0x416fe5],_0xc0a504=[...U[_0x360eab(0x51b)](_0x416fe5,_0x1d9fd9),_0x360eab(0x24c)],_0x574502=Object[_0x360eab(0x4c0)](_0x2cd87f[_0x360eab(0x2d1)])['map'](_0xdcb5a8=>_0xdcb5a8['id']===_0x1d9fd9?{..._0xdcb5a8,'orderKey':_0x168634}:_0xdcb5a8)['sort']((_0x37ebee,_0x3f5670)=>String(_0x37ebee[_0x360eab(0x24c)]??_0x37ebee['id'])[_0x360eab(0x582)](String(_0x3f5670[_0x360eab(0x24c)]??_0x3f5670['id'])))['map'](_0x29a479=>_0x29a479['id']),_0x56789a=[...U['table'](_0x416fe5),_0x360eab(0x52d)];return R([this[_0x360eab(0x45a)](_0xc0a504,_0x2cd87f['records'][_0x1d9fd9][_0x360eab(0x24c)],_0x168634),_0x2cd87f['recordOrder']?_0x10aaca[_0x360eab(0x53d)](_0x56789a,_0x2cd87f[_0x360eab(0x52d)],_0x574502):_0x10aaca[_0x360eab(0x45d)](_0x56789a,_0x574502)]);}['updateCell'](_0x282b89,_0x2160a7,_0x3343ca,_0x4bca3a,_0x3b7680){const _0x584ab6=_0x4e7c38;var _0x23a6be,_0x5a6f5b;let _0x38dde2=_0x282b89[_0x584ab6(0x29e)][_0x2160a7],_0x1837e2=ar(_0x38dde2,_0x3343ca,_0x4bca3a)?_0x38dde2:L(_0x38dde2),_0x416f1c=(_0x23a6be=_0x1837e2[_0x584ab6(0x2cd)])==null?void 0x0:_0x23a6be[_0x3343ca],_0x1c3435=(_0x5a6f5b=_0x1837e2[_0x584ab6(0x50b)])==null?void 0x0:_0x5a6f5b[_0x4bca3a];if(_0x416f1c==null||_0x1c3435==null){var _0x2cd69b;return this[_0x584ab6(0x45a)](U[_0x584ab6(0x2c9)](_0x2160a7,_0x3343ca,_0x4bca3a),(_0x2cd69b=_0x282b89[_0x584ab6(0x29e)][_0x2160a7])==null||(_0x2cd69b=_0x2cd69b['records'][_0x3343ca])==null?void 0x0:_0x2cd69b[_0x584ab6(0x4c0)][_0x4bca3a],_0x3b7680);}return this[_0x584ab6(0x4e5)](_0x282b89,_0x2160a7,[{'row':_0x416f1c,'col':_0x1c3435,'value':_0x3b7680}]);}[_0x4e7c38(0x1ba)](_0x45446d,_0x31db6d,_0x2eed57){const _0x54ae4a=_0x4e7c38;let _0x2ede5f=_0x45446d[_0x54ae4a(0x29e)][_0x31db6d],_0xd8b532=_0x2eed57[_0x54ae4a(0x1f6)](_0x1ae26f=>Object[_0x54ae4a(0x3ca)](_0x1ae26f[_0x54ae4a(0x4c0)])[_0x54ae4a(0x1f6)](_0x146045=>ar(_0x2ede5f,_0x1ae26f[_0x54ae4a(0x394)],_0x146045)))?_0x2ede5f:L(_0x2ede5f),_0xf16ca7=_0x2eed57[_0x54ae4a(0x470)](_0xc7be77=>Object[_0x54ae4a(0x502)](_0xc7be77['values'])[_0x54ae4a(0x470)](([_0x4e6325,_0xb2d3df])=>{const _0x20716c=_0x54ae4a;var _0x210e36,_0x348bf0;let _0x5d9a42=(_0x210e36=_0xd8b532[_0x20716c(0x2cd)])==null?void 0x0:_0x210e36[_0xc7be77[_0x20716c(0x394)]],_0x8de481=(_0x348bf0=_0xd8b532[_0x20716c(0x50b)])==null?void 0x0:_0x348bf0[_0x4e6325];return _0x5d9a42==null||_0x8de481==null?[]:[{'row':_0x5d9a42,'col':_0x8de481,'value':_0xb2d3df}];})),_0x94c0d0=_0x2eed57[_0x54ae4a(0x470)](_0x5b0ed0=>Object[_0x54ae4a(0x502)](_0x5b0ed0['recordPatch']??{})[_0x54ae4a(0x3e8)](([_0x30cc3a,_0x51585b])=>{const _0x38d3b9=_0x54ae4a;var _0x3d2c14;let _0x215d18=[...U[_0x38d3b9(0x51b)](_0x31db6d,_0x5b0ed0[_0x38d3b9(0x394)]),_0x30cc3a],_0x15ae81=(_0x3d2c14=_0x45446d[_0x38d3b9(0x29e)][_0x31db6d])==null||(_0x3d2c14=_0x3d2c14[_0x38d3b9(0x2d1)][_0x5b0ed0['recordId']])==null?void 0x0:_0x3d2c14[_0x30cc3a];return this[_0x38d3b9(0x45a)](_0x215d18,_0x15ae81,_0x51585b);}));return R([this['setRangeValues'](_0x45446d,_0x31db6d,_0xf16ca7),..._0x94c0d0]);}[_0x4e7c38(0x4e5)](_0x179aef,_0x141dff,_0x20262f){const _0x53fa4e=_0x4e7c38;let _0x3384d1=_0x179aef[_0x53fa4e(0x29e)][_0x141dff],_0x104916=_0x20262f[_0x53fa4e(0x1f6)](_0x1f10c5=>or(_0x3384d1,_0x1f10c5[_0x53fa4e(0x505)],_0x1f10c5[_0x53fa4e(0x444)]))?_0x3384d1:L(_0x3384d1),_0x4e910e=new Map(),_0xe3e691=_0x20262f[_0x53fa4e(0x470)](_0x4f1904=>{const _0x3a88d1=_0x53fa4e;var _0x7535b9,_0x411516,_0x4faa51,_0x4ca210;let _0x1ea640=(_0x7535b9=_0x104916[_0x3a88d1(0x512)])==null?void 0x0:_0x7535b9[_0x4f1904['col']],_0x2bbbc4=(_0x411516=_0x104916[_0x3a88d1(0x565)])==null?void 0x0:_0x411516[_0x4f1904[_0x3a88d1(0x505)]],_0x1449f3=_0x1ea640?_0x104916[_0x3a88d1(0x531)][_0x1ea640]:void 0x0;if(_0x1ea640===_0x5802d7||(_0x1449f3==null?void 0x0:_0x1449f3[_0x3a88d1(0x30b)])===_0x377615['RecordId'])throw Error(_0x3a88d1(0x1d0));let _0x44ee3d=xt(_0x4f1904[_0x3a88d1(0x4de)],_0x1449f3),_0x4e5dde=(_0x4faa51=_0x104916[_0x3a88d1(0x2b7)])==null||(_0x4faa51=_0x4faa51[_0x4f1904[_0x3a88d1(0x505)]])==null?void 0x0:_0x4faa51[_0x4f1904[_0x3a88d1(0x444)]],_0x1b3d03=this[_0x3a88d1(0x45a)](U[_0x3a88d1(0x2b7)](_0x141dff,_0x4f1904['row'],_0x4f1904['col']),_0x4e5dde,_0x44ee3d);if(!_0x1ea640||!_0x2bbbc4)return[_0x1b3d03];let _0x4e89d1=(_0x4ca210=_0x104916[_0x3a88d1(0x2d1)][_0x2bbbc4])==null?void 0x0:_0x4ca210[_0x3a88d1(0x4c0)][_0x1ea640],_0x470cca=(_0x1449f3==null?void 0x0:_0x1449f3['type'])===_0x377615[_0x3a88d1(0x389)]?kt(_0x4f1904[_0x3a88d1(0x4de)]):wt(_0x4f1904[_0x3a88d1(0x4de)],_0x44ee3d,_0x1449f3,_0x104916,_0x2bbbc4),_0x40f8a5=[_0x1b3d03,this[_0x3a88d1(0x45a)](U[_0x3a88d1(0x2c9)](_0x141dff,_0x2bbbc4,_0x1ea640),_0x4e89d1,_0x470cca)];return(_0x1449f3==null?void 0x0:_0x1449f3['type'])===_0x377615[_0x3a88d1(0x389)]&&_0x4e910e[_0x3a88d1(0x205)](Et(_0x1ea640,_0x2bbbc4),{'recordId':_0x2bbbc4,'fieldId':_0x1ea640,'attachments':_0x470cca}),_0x40f8a5;});return _0xe3e691[_0x53fa4e(0x2b6)]?R([..._0xe3e691,...this[_0x53fa4e(0x2ed)](_0x104916,_0x141dff,Array['from'](_0x4e910e['values']()))]):_0x10aaca[_0x53fa4e(0x53d)]([_0x53fa4e(0x29e),_0x141dff,_0x53fa4e(0x2b7)],_0x104916[_0x53fa4e(0x2b7)],_0x104916['cellData']);}[_0x4e7c38(0x4fd)](_0x54f404,_0x202cc1,_0x3e7bcc){const _0x569db3=_0x4e7c38;let _0x16f47e=_0x54f404[_0x569db3(0x29e)][_0x202cc1];if(_0x16f47e['fields'][_0x3e7bcc['field']['id']]||_0x16f47e['fieldOrder']['includes'](_0x3e7bcc[_0x569db3(0x380)]['id']))return _0x10aaca['replaceOp']([_0x569db3(0x29e),_0x202cc1,_0x569db3(0x4dc)],_0x16f47e[_0x569db3(0x4dc)],_0x16f47e['fieldOrder']);let _0x18381c=Math['max'](0x1,_0x3e7bcc[_0x569db3(0x230)]??_0x16f47e[_0x569db3(0x4dc)][_0x569db3(0x2b6)]),_0x471b35=Object[_0x569db3(0x4c0)](_0x16f47e[_0x569db3(0x460)]??{})[_0x569db3(0x470)](_0x1a243c=>{const _0x42c293=_0x569db3;var _0x195907;if(!_0x1a243c[_0x42c293(0x4dc)]||_0x1a243c[_0x42c293(0x4dc)][_0x42c293(0x37a)](_0x3e7bcc[_0x42c293(0x380)]['id']))return[];let _0x50e5c2=ur(((_0x195907=_0x3e7bcc[_0x42c293(0x262)])==null?void 0x0:_0x195907[_0x1a243c['id']])??_0x18381c,_0x1a243c[_0x42c293(0x4dc)][_0x42c293(0x2b6)]);return[_0x10aaca['insertOp']([...U[_0x42c293(0x2aa)](_0x202cc1,_0x1a243c['id']),'fieldOrder',_0x50e5c2],_0x3e7bcc[_0x42c293(0x380)]['id'])];});return R([..._0x3e7bcc['field'][_0x569db3(0x30b)]===_0x377615[_0x569db3(0x26c)]?this['_materializeFormulaTableNames'](_0x54f404):[],_0x10aaca['insertOp'](U[_0x569db3(0x380)](_0x202cc1,_0x3e7bcc[_0x569db3(0x380)]['id']),_0x3e7bcc['field']),_0x10aaca[_0x569db3(0x45d)](U[_0x569db3(0x4dc)](_0x202cc1,_0x18381c),_0x3e7bcc[_0x569db3(0x380)]['id']),..._0x471b35]);}['duplicateField'](_0x1944b4,_0x46ed65,_0x27af32,_0x19fd65){const _0x5ecddf=_0x4e7c38;let _0x2d4839=_0x1944b4[_0x5ecddf(0x29e)][_0x46ed65];if(!_0x2d4839[_0x5ecddf(0x531)][_0x27af32]||_0x2d4839[_0x5ecddf(0x531)][_0x19fd65['field']['id']]||_0x2d4839['fieldOrder']['includes'](_0x19fd65[_0x5ecddf(0x380)]['id']))return _0x10aaca[_0x5ecddf(0x53d)](['tables',_0x46ed65,_0x5ecddf(0x4dc)],_0x2d4839['fieldOrder'],_0x2d4839[_0x5ecddf(0x4dc)]);let _0x177544=_0x19fd65[_0x5ecddf(0x230)]??_0x2d4839[_0x5ecddf(0x4dc)][_0x5ecddf(0x20c)](_0x27af32)+0x1,_0x16a679=_0x2d4839['fieldOrder']['filter'](_0x355902=>_0x355902!==_0x19fd65['field']['id']),_0x497193=cr(_0x16a679,_0x19fd65[_0x5ecddf(0x380)]['id'],_0x177544),_0x2ffc5a=Object[_0x5ecddf(0x4c0)](_0x2d4839[_0x5ecddf(0x460)]??{})[_0x5ecddf(0x470)](_0x1e7ac0=>{const _0x305b3a=_0x5ecddf;var _0x106844,_0x3797e6,_0x3b3abb,_0x4ed057;let _0x49213c=(_0x106844=_0x1e7ac0[_0x305b3a(0x4dc)])!=null&&_0x106844[_0x305b3a(0x2b6)]?_0x1e7ac0[_0x305b3a(0x4dc)]:_0x16a679;if(_0x49213c[_0x305b3a(0x37a)](_0x19fd65[_0x305b3a(0x380)]['id']))return[];let _0x14c5d0=cr(_0x49213c,_0x19fd65[_0x305b3a(0x380)]['id'],((_0x3797e6=_0x19fd65[_0x305b3a(0x262)])==null?void 0x0:_0x3797e6[_0x1e7ac0['id']])??_0x177544),_0x5389f9=(_0x3b3abb=_0x1e7ac0['fieldSettings'])==null?void 0x0:_0x3b3abb[_0x27af32];return[this[_0x305b3a(0x45a)]([...U['view'](_0x46ed65,_0x1e7ac0['id']),_0x305b3a(0x4dc)],_0x1e7ac0['fieldOrder'],_0x14c5d0),..._0x5389f9?[this['_replaceOptional']([...U['view'](_0x46ed65,_0x1e7ac0['id']),_0x305b3a(0x568),_0x19fd65[_0x305b3a(0x380)]['id']],(_0x4ed057=_0x1e7ac0[_0x305b3a(0x568)])==null?void 0x0:_0x4ed057[_0x19fd65[_0x305b3a(0x380)]['id']],_0x5389f9)]:[]];}),_0x2ad0f0=Object[_0x5ecddf(0x4c0)](_0x2d4839[_0x5ecddf(0x2d1)])[_0x5ecddf(0x20f)](_0x93db6c=>Object[_0x5ecddf(0x2f7)][_0x5ecddf(0x396)][_0x5ecddf(0x386)](_0x93db6c[_0x5ecddf(0x4c0)],_0x27af32))['map'](_0x56f53f=>this[_0x5ecddf(0x45a)](U[_0x5ecddf(0x2c9)](_0x46ed65,_0x56f53f['id'],_0x19fd65[_0x5ecddf(0x380)]['id']),_0x56f53f[_0x5ecddf(0x4c0)][_0x19fd65[_0x5ecddf(0x380)]['id']],_0x56f53f[_0x5ecddf(0x4c0)][_0x27af32]));return R([..._0x19fd65['field'][_0x5ecddf(0x30b)]===_0x377615['Formula']?this[_0x5ecddf(0x1d2)](_0x1944b4):[],_0x10aaca['insertOp'](U[_0x5ecddf(0x380)](_0x46ed65,_0x19fd65[_0x5ecddf(0x380)]['id']),_0x19fd65[_0x5ecddf(0x380)]),_0x10aaca[_0x5ecddf(0x53d)]([_0x5ecddf(0x29e),_0x46ed65,'fieldOrder'],_0x2d4839[_0x5ecddf(0x4dc)],_0x497193),..._0x2ffc5a,..._0x2ad0f0]);}[_0x4e7c38(0x309)](_0x50e559,_0x2cd6ab,_0x96377c,_0x259073){const _0x9d951d=_0x4e7c38;let _0x37e915=_0x50e559[_0x9d951d(0x29e)][_0x2cd6ab][_0x9d951d(0x531)][_0x96377c],_0xbce648={..._0x37e915,..._0x259073};Object[_0x9d951d(0x3ca)](_0x259073)[_0x9d951d(0x397)](_0x5460b8=>{_0x259073[_0x5460b8]===void 0x0&&delete _0xbce648[_0x5460b8];});let _0x280d6a=er(_0x50e559[_0x9d951d(0x29e)][_0x2cd6ab],_0x96377c,_0x37e915,_0xbce648);_0xbce648=_0x280d6a[_0x9d951d(0x380)];let _0x43a582=_0x10aaca[_0x9d951d(0x53d)](U[_0x9d951d(0x380)](_0x2cd6ab,_0x96377c),_0x37e915,_0xbce648);return _0xbce648[_0x9d951d(0x30b)]===_0x377615[_0x9d951d(0x26c)]?R([...this[_0x9d951d(0x1d2)](_0x50e559),_0x43a582,...this[_0x9d951d(0x40f)](_0x50e559,_0x2cd6ab,_0x96377c,_0xbce648)]):R([_0x43a582,..._0x280d6a[_0x9d951d(0x3a6)][_0x9d951d(0x2b6)]?[this[_0x9d951d(0x4e5)](_0x50e559,_0x2cd6ab,_0x280d6a[_0x9d951d(0x3a6)])]:[]]);}[_0x4e7c38(0x36f)](_0x5a0f9f,_0x305048,_0x3596fa,_0x2acf6a){const _0x28fdf3=_0x4e7c38;return this[_0x28fdf3(0x309)](_0x5a0f9f,_0x305048,_0x3596fa,_0x2acf6a);}[_0x4e7c38(0x3c1)](_0x809d2b,_0x19bba0,_0x4450c9){const _0x9e98c8=_0x4e7c38;let _0x3ff33c=_0x809d2b[_0x9e98c8(0x29e)][_0x19bba0];if(!(_0x3ff33c!=null&&_0x3ff33c[_0x9e98c8(0x531)][_0x4450c9])||_0x3ff33c[_0x9e98c8(0x48d)]===_0x4450c9||_0x4450c9===_0x5802d7)return _0x10aaca[_0x9e98c8(0x53d)]([_0x9e98c8(0x29e),_0x19bba0,_0x9e98c8(0x4dc)],_0x3ff33c==null?void 0x0:_0x3ff33c[_0x9e98c8(0x4dc)],_0x3ff33c==null?void 0x0:_0x3ff33c['fieldOrder']);let _0xe544e5=_0x3ff33c[_0x9e98c8(0x4dc)][_0x9e98c8(0x20c)](_0x4450c9),_0x4ff47b=Object[_0x9e98c8(0x4c0)](_0x3ff33c[_0x9e98c8(0x460)])[_0x9e98c8(0x470)](_0x4cd03d=>{const _0x4d152a=_0x9e98c8;var _0x3ea712,_0x193a2d,_0x30853a,_0x3bbea5,_0x128987,_0x404d06,_0xf80a8e;let _0x3c92b0=[],_0x17ed7c=((_0x3ea712=_0x4cd03d[_0x4d152a(0x4dc)])==null?void 0x0:_0x3ea712[_0x4d152a(0x20c)](_0x4450c9))??-0x1;_0x17ed7c>=0x0&&_0x3c92b0['push'](_0x10aaca['removeOp']([...U[_0x4d152a(0x2aa)](_0x19bba0,_0x4cd03d['id']),_0x4d152a(0x4dc),_0x17ed7c],_0x4450c9));let _0x26ea55=(_0x193a2d=_0x4cd03d[_0x4d152a(0x568)])==null?void 0x0:_0x193a2d[_0x4450c9];_0x26ea55!==void 0x0&&_0x3c92b0['push'](_0x10aaca['removeOp']([...U[_0x4d152a(0x2aa)](_0x19bba0,_0x4cd03d['id']),'fieldSettings',_0x4450c9],_0x26ea55));let _0xd27265=_0x4cd03d[_0x4d152a(0x20f)]?{..._0x4cd03d[_0x4d152a(0x20f)],'conditions':_0x4cd03d[_0x4d152a(0x20f)][_0x4d152a(0x477)][_0x4d152a(0x20f)](_0x5b9b6c=>_0x5b9b6c[_0x4d152a(0x446)]!==_0x4450c9)}:_0x4cd03d[_0x4d152a(0x20f)];_0xd27265&&_0xd27265[_0x4d152a(0x477)][_0x4d152a(0x2b6)]!==((_0x30853a=_0x4cd03d[_0x4d152a(0x20f)])==null?void 0x0:_0x30853a['conditions'][_0x4d152a(0x2b6)])&&_0x3c92b0[_0x4d152a(0x3e2)](this[_0x4d152a(0x45a)]([...U[_0x4d152a(0x2aa)](_0x19bba0,_0x4cd03d['id']),_0x4d152a(0x20f)],_0x4cd03d[_0x4d152a(0x20f)],_0xd27265));let _0xa00bec=(_0x3bbea5=_0x4cd03d[_0x4d152a(0x266)])==null?void 0x0:_0x3bbea5['filter'](_0x1dd301=>_0x1dd301['fieldId']!==_0x4450c9);_0xa00bec&&_0xa00bec[_0x4d152a(0x2b6)]!==((_0x128987=_0x4cd03d[_0x4d152a(0x266)])==null?void 0x0:_0x128987[_0x4d152a(0x2b6)])&&_0x3c92b0[_0x4d152a(0x3e2)](this[_0x4d152a(0x45a)]([...U[_0x4d152a(0x2aa)](_0x19bba0,_0x4cd03d['id']),'sort'],_0x4cd03d[_0x4d152a(0x266)],_0xa00bec));let _0x4c7e99=(_0x404d06=_0x4cd03d[_0x4d152a(0x3b2)])==null?void 0x0:_0x404d06[_0x4d152a(0x20f)](_0x59f251=>_0x59f251[_0x4d152a(0x446)]!==_0x4450c9);_0x4c7e99&&_0x4c7e99[_0x4d152a(0x2b6)]!==((_0xf80a8e=_0x4cd03d['group'])==null?void 0x0:_0xf80a8e[_0x4d152a(0x2b6)])&&_0x3c92b0[_0x4d152a(0x3e2)](this[_0x4d152a(0x45a)]([...U[_0x4d152a(0x2aa)](_0x19bba0,_0x4cd03d['id']),_0x4d152a(0x3b2)],_0x4cd03d['group'],_0x4c7e99));let _0x8329fb=lr(_0x4cd03d[_0x4d152a(0x554)],_0x4450c9);return JSON[_0x4d152a(0x2af)](_0x8329fb)!==JSON[_0x4d152a(0x2af)](_0x4cd03d[_0x4d152a(0x554)])&&_0x3c92b0['push'](_0x10aaca[_0x4d152a(0x53d)]([...U[_0x4d152a(0x2aa)](_0x19bba0,_0x4cd03d['id']),_0x4d152a(0x554)],_0x4cd03d[_0x4d152a(0x554)],_0x8329fb)),_0x3c92b0;}),_0x26104e=Object[_0x9e98c8(0x4c0)](_0x3ff33c[_0x9e98c8(0x2d1)])[_0x9e98c8(0x470)](_0x2e9ecb=>Object[_0x9e98c8(0x2f7)]['hasOwnProperty']['call'](_0x2e9ecb[_0x9e98c8(0x4c0)],_0x4450c9)?[_0x10aaca[_0x9e98c8(0x3c4)](U[_0x9e98c8(0x2c9)](_0x19bba0,_0x2e9ecb['id'],_0x4450c9),_0x2e9ecb[_0x9e98c8(0x4c0)][_0x4450c9])]:[]);return R([_0x10aaca[_0x9e98c8(0x3c4)](U[_0x9e98c8(0x380)](_0x19bba0,_0x4450c9),_0x3ff33c['fields'][_0x4450c9]),_0x10aaca[_0x9e98c8(0x3c4)](U[_0x9e98c8(0x4dc)](_0x19bba0,_0xe544e5),_0x4450c9),..._0x4ff47b,..._0x26104e,...this[_0x9e98c8(0x1fa)](_0x3ff33c,_0x19bba0,_0x3241b8=>_0x3241b8[_0x9e98c8(0x3c5)](_0x4450c9+'\x1f'))]);}[_0x4e7c38(0x37d)](_0x3d0ea7,_0x50458d,_0x18b7b3,_0x2f29ea){const _0x14cf2b=_0x4e7c38;let _0x3c489a=_0x3d0ea7[_0x14cf2b(0x29e)][_0x50458d]['fieldOrder'];if(_0x18b7b3===_0x5802d7||_0x2f29ea[_0x14cf2b(0x409)]===_0x5802d7)throw Error('[BaseJson1OpFactory]:\x20cannot\x20move\x20a\x20field\x20before\x20record-id.');let _0x1fa2dc=sr(_0x3c489a,_0x18b7b3,_0x2f29ea);return _0x10aaca[_0x14cf2b(0x53d)]([_0x14cf2b(0x29e),_0x50458d,_0x14cf2b(0x4dc)],_0x3c489a,_0x1fa2dc);}[_0x4e7c38(0x562)](_0x528b98,_0x14ae3a,_0x5c1fbd,_0x47b4c6=_0x528b98[_0x4e7c38(0x29e)][_0x14ae3a]['viewOrder']['length']){const _0x3d359f=_0x4e7c38;return R([_0x10aaca[_0x3d359f(0x45d)](U[_0x3d359f(0x2aa)](_0x14ae3a,_0x5c1fbd['id']),_0x5c1fbd),_0x10aaca[_0x3d359f(0x45d)](['tables',_0x14ae3a,'viewOrder',_0x47b4c6],_0x5c1fbd['id'])]);}[_0x4e7c38(0x2f2)](_0x32ebdb,_0x3c4344,_0x100820,_0xd86aca){const _0x458cac=_0x4e7c38;return _0x10aaca[_0x458cac(0x53d)]([...U[_0x458cac(0x2aa)](_0x3c4344,_0x100820),_0x458cac(0x39a)],_0x32ebdb['tables'][_0x3c4344][_0x458cac(0x460)][_0x100820]['name'],_0xd86aca);}[_0x4e7c38(0x3f1)](_0xacf08e,_0x3be054,_0x216b10){const _0x5e11ae=_0x4e7c38;let _0xed7630=_0xacf08e[_0x5e11ae(0x29e)][_0x3be054],_0x147d5b=_0xed7630['views'][_0x216b10],_0x21c3f9=_0xed7630['viewOrder'][_0x5e11ae(0x20c)](_0x216b10);return R([_0x10aaca[_0x5e11ae(0x3c4)](U[_0x5e11ae(0x2aa)](_0x3be054,_0x216b10),_0x147d5b),_0x10aaca[_0x5e11ae(0x3c4)](['tables',_0x3be054,_0x5e11ae(0x43e),_0x21c3f9],_0x216b10)]);}['moveView'](_0x58981d,_0x42725d,_0x59b146,_0x1e64f8){const _0x5f3d2b=_0x4e7c38;let _0x188024=_0x58981d[_0x5f3d2b(0x29e)][_0x42725d][_0x5f3d2b(0x43e)],_0x3f1861=sr(_0x188024,_0x59b146,{'beforeFieldId':_0x1e64f8[_0x5f3d2b(0x473)],'afterFieldId':_0x1e64f8[_0x5f3d2b(0x4ca)]});return _0x10aaca['replaceOp']([_0x5f3d2b(0x29e),_0x42725d,_0x5f3d2b(0x43e)],_0x188024,_0x3f1861);}[_0x4e7c38(0x3e4)](_0x4e8f56,_0x124ada,_0x2fb8cb,_0x57fb4f){const _0x263f32=_0x4e7c38;let _0x3cb735=_0x4e8f56['tables'][_0x124ada][_0x263f32(0x460)][_0x2fb8cb][_0x263f32(0x554)]??{},_0x3f4e42={..._0x3cb735,..._0x57fb4f};return Object[_0x263f32(0x3ca)](_0x57fb4f)[_0x263f32(0x397)](_0x368587=>{_0x57fb4f[_0x368587]===void 0x0&&delete _0x3f4e42[_0x368587];}),_0x10aaca['replaceOp']([...U[_0x263f32(0x2aa)](_0x124ada,_0x2fb8cb),_0x263f32(0x554)],_0x3cb735,_0x3f4e42);}[_0x4e7c38(0x276)](_0x40b588,_0x598a54,_0x505d2b,_0x123f2d){const _0x5837c7=_0x4e7c38;return this['_replaceOptional']([...U[_0x5837c7(0x2aa)](_0x598a54,_0x505d2b),_0x5837c7(0x20f)],_0x40b588[_0x5837c7(0x29e)][_0x598a54][_0x5837c7(0x460)][_0x505d2b][_0x5837c7(0x20f)],_0x123f2d);}['setViewSort'](_0xe1661e,_0x50e94e,_0x40a15c,_0x24687b){const _0x30d8eb=_0x4e7c38;return this[_0x30d8eb(0x45a)]([...U['view'](_0x50e94e,_0x40a15c),'sort'],_0xe1661e[_0x30d8eb(0x29e)][_0x50e94e][_0x30d8eb(0x460)][_0x40a15c]['sort'],_0x24687b);}['setViewGroup'](_0x1ab8b3,_0x495512,_0x4e9757,_0x800fed){const _0x832f35=_0x4e7c38;return this[_0x832f35(0x45a)]([...U[_0x832f35(0x2aa)](_0x495512,_0x4e9757),'group'],_0x1ab8b3[_0x832f35(0x29e)][_0x495512][_0x832f35(0x460)][_0x4e9757][_0x832f35(0x3b2)],_0x800fed);}[_0x4e7c38(0x2e7)](_0x2bde11,_0x23670d,_0x152a25,_0x4aecef,_0x478013){return this['_setViewFieldSetting'](_0x2bde11,_0x23670d,_0x152a25,_0x4aecef,{'hidden':!_0x478013});}[_0x4e7c38(0x4dd)](_0x2408fe,_0xd50096,_0x4b671e,_0x464f97,_0x32829c){const _0x5aaf4a=_0x4e7c38;return this[_0x5aaf4a(0x303)](_0x2408fe,_0xd50096,_0x4b671e,_0x464f97,{'width':_0x32829c});}[_0x4e7c38(0x4c9)](_0x481f74,_0x1100e2,_0x32176f,_0x442b14,_0x157266){const _0x5857ac=_0x4e7c38;let _0x4037d2=_0x481f74['tables'][_0x1100e2]['views'][_0x32176f],_0x1f95dd=sr(_0x4037d2[_0x5857ac(0x4dc)]??_0x481f74['tables'][_0x1100e2]['fieldOrder'],_0x442b14,_0x157266);return this[_0x5857ac(0x45a)]([...U[_0x5857ac(0x2aa)](_0x1100e2,_0x32176f),_0x5857ac(0x4dc)],_0x4037d2[_0x5857ac(0x4dc)],_0x1f95dd);}['_setViewFieldSetting'](_0x1fe9a2,_0x2e0855,_0x12c3d8,_0x5790a6,_0x198e0e){const _0x4d083f=_0x4e7c38;let _0x5c1609=_0x1fe9a2[_0x4d083f(0x29e)][_0x2e0855][_0x4d083f(0x460)][_0x12c3d8][_0x4d083f(0x568)]??{},_0x3d080f={..._0x5c1609,[_0x5790a6]:{..._0x5c1609[_0x5790a6],..._0x198e0e}};return this[_0x4d083f(0x45a)]([...U['view'](_0x2e0855,_0x12c3d8),_0x4d083f(0x568)],_0x1fe9a2['tables'][_0x2e0855][_0x4d083f(0x460)][_0x12c3d8]['fieldSettings'],_0x3d080f);}[_0x4e7c38(0x458)](_0x52974c,_0x5d08ca,_0x4c9906){const _0x4857ad=_0x4e7c38;let _0x7156c2=_0x52974c[_0x4857ad(0x29e)][_0x5d08ca],_0x13fafa=new Set(_0x4c9906[_0x4857ad(0x3e8)](_0x901c90=>_0x901c90['id'])),_0x733c95=[...Object['values'](_0x7156c2[_0x4857ad(0x2d1)])[_0x4857ad(0x20f)](_0x2d9a6d=>!_0x13fafa[_0x4857ad(0x4d6)](_0x2d9a6d['id'])),..._0x4c9906][_0x4857ad(0x266)]((_0x3edf22,_0x1c0357)=>String(_0x3edf22[_0x4857ad(0x24c)]??_0x3edf22['id'])['localeCompare'](String(_0x1c0357[_0x4857ad(0x24c)]??_0x1c0357['id'])))[_0x4857ad(0x3e8)](_0x28254c=>_0x28254c['id']),_0x1fd39f=[...U['table'](_0x5d08ca),_0x4857ad(0x52d)];return _0x7156c2[_0x4857ad(0x52d)]?_0x10aaca['replaceOp'](_0x1fd39f,_0x7156c2[_0x4857ad(0x52d)],_0x733c95):_0x10aaca[_0x4857ad(0x45d)](_0x1fd39f,_0x733c95);}[_0x4e7c38(0x1d2)](_0x5e9b63,_0x5a402b=new Set()){const _0x451a96=_0x4e7c38;let _0xe2fd8e=_0x4669bc(_0x5e9b63);return Object[_0x451a96(0x4c0)](_0x5e9b63[_0x451a96(0x29e)])[_0x451a96(0x20f)](_0x5bf25f=>!_0x5a402b[_0x451a96(0x4d6)](_0x5bf25f['id']))[_0x451a96(0x266)]((_0x1935e5,_0x30a796)=>_0x1935e5['id'][_0x451a96(0x582)](_0x30a796['id']))[_0x451a96(0x470)](_0x350e63=>{const _0xb46d56=_0x451a96;let _0x33aec6=_0xe2fd8e[_0xb46d56(0x4d5)](_0x350e63['id']);return!_0x33aec6||_0x350e63[_0xb46d56(0x2cf)]===_0x33aec6?[]:[this['_replaceOptional']([...U['table'](_0x350e63['id']),_0xb46d56(0x2cf)],_0x350e63['formulaName'],_0x33aec6)];});}['_setFormulaFieldCells'](_0x970dd,_0x3cd289,_0x526334,_0x3a7657){const _0x30c2fb=_0x4e7c38;var _0x3b9573,_0x1dc182;let _0x2b6c70=L(_0x970dd[_0x30c2fb(0x29e)][_0x3cd289]),_0x511ed8=String(((_0x3b9573=_0x3a7657['config'])==null?void 0x0:_0x3b9573[_0x30c2fb(0x44e)])??'')['trim'](),_0x1a88d1=(_0x1dc182=_0x2b6c70[_0x30c2fb(0x50b)])==null?void 0x0:_0x1dc182[_0x526334];if(_0x1a88d1==null)return[];let _0x4cf678=_0x2b6c70[_0x30c2fb(0x52d)]??Object[_0x30c2fb(0x3ca)](_0x2b6c70['records']),_0x435b77=_0x4cf678[_0x30c2fb(0x3e8)](_0x426ea3=>{const _0x1ef00e=_0x30c2fb;var _0x1268f7;return(_0x1268f7=_0x2b6c70[_0x1ef00e(0x2cd)])==null?void 0x0:_0x1268f7[_0x426ea3];})[_0x30c2fb(0x1c5)](_0x4562ba=>_0x4562ba!=null);return _0x4cf678[_0x30c2fb(0x470)](_0x18ae68=>{const _0x217b61=_0x30c2fb;var _0x37a89b,_0x55ac11;let _0x936282=(_0x37a89b=_0x2b6c70['rowIndex'])==null?void 0x0:_0x37a89b[_0x18ae68];if(_0x936282==null)return[];let _0x2e6281=(_0x55ac11=_0x2b6c70[_0x217b61(0x2b7)])==null||(_0x55ac11=_0x55ac11[_0x936282])==null?void 0x0:_0x55ac11[_0x1a88d1],_0x4c1463=_0x511ed8?_0x936282===_0x435b77?{'f':_0x511ed8,'si':_0x526334}:{'si':_0x526334}:{'v':null,'t':null};return[this[_0x217b61(0x45a)](U[_0x217b61(0x2b7)](_0x3cd289,_0x936282,_0x1a88d1),_0x2e6281,_0x4c1463)];});}['_setAttachmentResources'](_0x1c67d0,_0x156e00,_0x35cb98){const _0x479361=_0x4e7c38;var _0x2770a4;let _0x32bbb8=new Map(Object['entries'](((_0x2770a4=_0x1c67d0['resources'])==null?void 0x0:_0x2770a4[_0x479361(0x572)])??{})),_0xdb35cd=new Map(),_0x515cbd=new Set(),_0x4ac19e=_0x35cb98[_0x479361(0x3e8)](({recordId:_0x7de640,fieldId:_0x14bb0,attachments:_0x1738e0})=>{const _0x5cd0fe=_0x479361;var _0x4aca7a;let _0x1c7312=Et(_0x14bb0,_0x7de640),_0x1abc09=_0x1738e0[_0x5cd0fe(0x3e8)]((_0x187db5,_0x217f34)=>String(_0x187db5['id']??_0x1c7312+'\x1f'+_0x217f34));return _0x515cbd[_0x5cd0fe(0x290)](_0x1c7312),_0x32bbb8[_0x5cd0fe(0x205)](_0x1c7312,_0x1abc09),_0x1738e0['forEach']((_0x34de28,_0xb29d81)=>{let _0x424d1e=_0x1abc09[_0xb29d81];_0xdb35cd['set'](_0x424d1e,{..._0x34de28,'id':_0x424d1e});}),this[_0x5cd0fe(0x45a)](U[_0x5cd0fe(0x3bc)](_0x156e00,_0x1c7312),(_0x4aca7a=_0x1c67d0[_0x5cd0fe(0x358)])==null||(_0x4aca7a=_0x4aca7a['attachmentSets'])==null?void 0x0:_0x4aca7a[_0x1c7312],_0x1abc09);}),_0x1d7122=Array[_0x479361(0x501)](_0xdb35cd)['map'](([_0xfd4cec,_0x50114c])=>{const _0x3e680c=_0x479361;var _0x447c60;return this['_replaceOptional'](U[_0x3e680c(0x46f)](_0x156e00,_0xfd4cec),(_0x447c60=_0x1c67d0[_0x3e680c(0x358)])==null||(_0x447c60=_0x447c60[_0x3e680c(0x3fa)])==null?void 0x0:_0x447c60[_0xfd4cec],_0x50114c);}),_0x1028d7=new Set(Array[_0x479361(0x501)](_0x32bbb8[_0x479361(0x4c0)]())[_0x479361(0x3d4)]()),_0x1903cb=new Set(Array[_0x479361(0x501)](_0x515cbd)[_0x479361(0x470)](_0x3288d1=>{const _0x1e1926=_0x479361;var _0x33a023;return((_0x33a023=_0x1c67d0[_0x1e1926(0x358)])==null||(_0x33a023=_0x33a023[_0x1e1926(0x572)])==null?void 0x0:_0x33a023[_0x3288d1])??[];})),_0x15f887=Array[_0x479361(0x501)](_0x1903cb)[_0x479361(0x470)](_0x283266=>{const _0xcca229=_0x479361;var _0x4dc84f;let _0x45729b=(_0x4dc84f=_0x1c67d0[_0xcca229(0x358)])==null||(_0x4dc84f=_0x4dc84f[_0xcca229(0x3fa)])==null?void 0x0:_0x4dc84f[_0x283266];return _0x45729b!==void 0x0&&!_0x1028d7[_0xcca229(0x4d6)](_0x283266)?[_0x10aaca['removeOp'](U['attachment'](_0x156e00,_0x283266),_0x45729b)]:[];});return[..._0x4ac19e,..._0x1d7122,..._0x15f887];}[_0x4e7c38(0x1fa)](_0x1b50b0,_0x19a559,_0xad07c5){const _0x3e66b6=_0x4e7c38;var _0x1136b2;let _0x261351=((_0x1136b2=_0x1b50b0[_0x3e66b6(0x358)])==null?void 0x0:_0x1136b2[_0x3e66b6(0x572)])??{},_0x4afbff=Object[_0x3e66b6(0x502)](_0x261351)['filter'](([_0x485dbf])=>_0xad07c5(_0x485dbf));if(!_0x4afbff['length'])return[];let _0x50e965=new Set(Object[_0x3e66b6(0x502)](_0x261351)[_0x3e66b6(0x20f)](([_0x2cd9ea])=>!_0xad07c5(_0x2cd9ea))['flatMap'](([,_0xb29cf5])=>_0xb29cf5)),_0x2d7fc1=new Set(_0x4afbff[_0x3e66b6(0x470)](([,_0x1b5a90])=>_0x1b5a90));return[..._0x4afbff[_0x3e66b6(0x3e8)](([_0x519dc1,_0x5dbd73])=>_0x10aaca[_0x3e66b6(0x3c4)](U[_0x3e66b6(0x3bc)](_0x19a559,_0x519dc1),_0x5dbd73)),...Array[_0x3e66b6(0x501)](_0x2d7fc1)[_0x3e66b6(0x470)](_0x17c4f0=>{const _0x4ed165=_0x3e66b6;var _0x2c9444;let _0xd38226=(_0x2c9444=_0x1b50b0['resources'])==null||(_0x2c9444=_0x2c9444['attachments'])==null?void 0x0:_0x2c9444[_0x17c4f0];return _0xd38226!==void 0x0&&!_0x50e965[_0x4ed165(0x4d6)](_0x17c4f0)?[_0x10aaca['removeOp'](U[_0x4ed165(0x46f)](_0x19a559,_0x17c4f0),_0xd38226)]:[];})];}[_0x4e7c38(0x45a)](_0x301976,_0x56d3c0,_0x148845){const _0x5a67a4=_0x4e7c38;return _0x56d3c0===void 0x0?_0x10aaca[_0x5a67a4(0x45d)](_0x301976,_0x148845):_0x10aaca[_0x5a67a4(0x53d)](_0x301976,_0x56d3c0,_0x148845);}};function er(_0xae0b1a,_0x1ad59e,_0xe45d28,_0x5992d1){const _0x37b71c=_0x4e7c38;var _0x956039;let _0x1342ee=_0x5992d1[_0x37b71c(0x30b)];if(_0xe45d28[_0x37b71c(0x30b)]!==_0x1342ee||_0x1342ee!==_0x377615[_0x37b71c(0x38d)]&&_0x1342ee!==_0x377615[_0x37b71c(0x1eb)]||tr(_0x5992d1[_0x37b71c(0x554)][_0x37b71c(0x518)]))return{'field':_0x5992d1,'patches':[]};let _0x5865ff=nr(_0xe45d28),_0x167ab0=nr(_0x5992d1);if(![..._0x5865ff]['some'](_0x5a64a2=>!_0x167ab0[_0x37b71c(0x4d6)](_0x5a64a2)))return{'field':_0x5992d1,'patches':[]};let _0x5df3bc=rr(_0x5992d1[_0x37b71c(0x2a8)],_0x167ab0,_0x1342ee),_0x1e3abb=ir(_0x5df3bc,_0x5992d1[_0x37b71c(0x2a8)])?_0x5992d1:{..._0x5992d1,'defaultValue':_0x5df3bc},_0x2dfc75=L(_0xae0b1a),_0x26904e=(_0x956039=_0x2dfc75[_0x37b71c(0x50b)])==null?void 0x0:_0x956039[_0x1ad59e];return _0x26904e==null?{'field':_0x1e3abb,'patches':[]}:{'field':_0x1e3abb,'patches':(_0x2dfc75[_0x37b71c(0x52d)]??[])[_0x37b71c(0x470)](_0x4e608=>{var _0x1769a1,_0x50457a;let _0x19b407=(_0x1769a1=_0x2dfc75['rowIndex'])==null?void 0x0:_0x1769a1[_0x4e608],_0x2cb51d=(_0x50457a=_0x2dfc75['records'][_0x4e608])==null?void 0x0:_0x50457a['values'][_0x1ad59e],_0xa4a237=rr(_0x2cb51d,_0x167ab0,_0x1342ee);return _0x19b407==null||ir(_0xa4a237,_0x2cb51d)?[]:[{'row':_0x19b407,'col':_0x26904e,'value':_0xa4a237??null}];})};}function tr(_0xb95ba){return typeof _0xb95ba=='object'&&!!_0xb95ba&&'type'in _0xb95ba&&_0xb95ba['type']==='field';}function nr(_0x13ce60){const _0x2de5e8=_0x4e7c38;var _0x4168fc;let _0x914260=Array[_0x2de5e8(0x56b)]((_0x4168fc=_0x13ce60[_0x2de5e8(0x554)])==null?void 0x0:_0x4168fc[_0x2de5e8(0x246)])?_0x13ce60[_0x2de5e8(0x554)][_0x2de5e8(0x246)]:[];return new Set(_0x914260[_0x2de5e8(0x470)](_0x1fe51f=>{const _0x2d5792=_0x2de5e8;if(!_0x1fe51f||typeof _0x1fe51f!=_0x2d5792(0x3d3)||!('id'in _0x1fe51f))return[];let _0x550549=String(_0x1fe51f['id']);return _0x550549?[_0x550549]:[];}));}function rr(_0x535a96,_0xf46a28,_0x429d5f){const _0xe6af2b=_0x4e7c38;if(_0x535a96==null||_0x535a96==='')return _0x535a96;if(_0x429d5f===_0x377615[_0xe6af2b(0x38d)])return _0xf46a28[_0xe6af2b(0x4d6)](String(_0x535a96))?_0x535a96:null;let _0xe3da84=Array[_0xe6af2b(0x56b)](_0x535a96)?_0x535a96['map'](String):String(_0x535a96)['split'](',')['map'](_0x215b97=>_0x215b97[_0xe6af2b(0x42c)]())[_0xe6af2b(0x20f)](Boolean),_0x1dd9a2=_0xe3da84[_0xe6af2b(0x20f)](_0x56d32f=>_0xf46a28[_0xe6af2b(0x4d6)](_0x56d32f));return _0x1dd9a2[_0xe6af2b(0x2b6)]===_0xe3da84[_0xe6af2b(0x2b6)]?_0x535a96:Array[_0xe6af2b(0x56b)](_0x535a96)?_0x1dd9a2:String(_0x535a96)['includes'](',')?_0x1dd9a2[_0xe6af2b(0x50e)](','):_0x1dd9a2[0x0]??[];}function ir(_0x1ac786,_0x449d49){const _0x8352e3=_0x4e7c38;return JSON[_0x8352e3(0x2af)](_0x1ac786)===JSON[_0x8352e3(0x2af)](_0x449d49);}function ar(_0x4171e1,_0x1bb4f0,_0x17ef22){const _0x32e5a9=_0x4e7c38;var _0x289109,_0x2f9f6f,_0x2fedc5,_0x1d4669;let _0x4e7210=(_0x289109=_0x4171e1[_0x32e5a9(0x2cd)])==null?void 0x0:_0x289109[_0x1bb4f0],_0x2cff1d=(_0x2f9f6f=_0x4171e1[_0x32e5a9(0x50b)])==null?void 0x0:_0x2f9f6f[_0x17ef22];return _0x4e7210!=null&&_0x2cff1d!=null&&((_0x2fedc5=_0x4171e1[_0x32e5a9(0x565)])==null?void 0x0:_0x2fedc5[_0x4e7210])===_0x1bb4f0&&((_0x1d4669=_0x4171e1[_0x32e5a9(0x512)])==null?void 0x0:_0x1d4669[_0x2cff1d])===_0x17ef22&&_0x4171e1[_0x32e5a9(0x2b7)]!=null;}function or(_0xe4eed2,_0x2c68d2,_0x551796){const _0x2412e8=_0x4e7c38;var _0x4aace0,_0x297fc2;return((_0x4aace0=_0xe4eed2[_0x2412e8(0x565)])==null?void 0x0:_0x4aace0[_0x2c68d2])!=null&&((_0x297fc2=_0xe4eed2['colId'])==null?void 0x0:_0x297fc2[_0x551796])!=null&&_0xe4eed2['cellData']!=null;}function sr(_0x563cf3,_0x55c51b,_0x235a45){const _0x373295=_0x4e7c38;let _0x8f174b=_0x563cf3[_0x373295(0x20f)](_0x44b3df=>_0x44b3df!==_0x55c51b),_0x120a92=_0x235a45[_0x373295(0x409)]?_0x8f174b[_0x373295(0x20c)](_0x235a45[_0x373295(0x409)]):_0x235a45[_0x373295(0x1db)]?_0x8f174b[_0x373295(0x20c)](_0x235a45['afterFieldId'])+0x1:_0x8f174b[_0x373295(0x2b6)];return _0x8f174b[_0x373295(0x269)](_0x120a92<0x0?_0x8f174b[_0x373295(0x2b6)]:_0x120a92,0x0,_0x55c51b),_0x8f174b;}function cr(_0x15f279,_0x23590c,_0xe5ae7f){const _0x3f885e=_0x4e7c38;let _0x32d174=_0x15f279[_0x3f885e(0x20f)](_0x292158=>_0x292158!==_0x23590c);return _0x32d174[_0x3f885e(0x269)](ur(_0xe5ae7f,_0x32d174['length']),0x0,_0x23590c),_0x32d174;}function lr(_0x4031a6,_0x61488f,_0x3ba30b){const _0x443904=_0x4e7c38;if(Array[_0x443904(0x56b)](_0x4031a6))return _0x3ba30b===_0x443904(0x1c7)?_0x4031a6[_0x443904(0x20f)](_0x28732f=>_0x28732f!==_0x61488f):_0x4031a6[_0x443904(0x470)](_0x5d762f=>{const _0x40ab61=_0x443904;if(_0x5d762f&&typeof _0x5d762f==_0x40ab61(0x3d3)&&!Array[_0x40ab61(0x56b)](_0x5d762f)&&_0x5d762f['fieldId']===_0x61488f)return[];let _0x2b94bd=lr(_0x5d762f,_0x61488f);return _0x2b94bd===void 0x0?[]:[_0x2b94bd];});if(!_0x4031a6||typeof _0x4031a6!=_0x443904(0x3d3))return _0x3ba30b!=null&&_0x3ba30b['endsWith'](_0x443904(0x2f9))&&_0x4031a6===_0x61488f?void 0x0:_0x4031a6;let _0x587ffa=_0x4031a6;if(_0x587ffa['fieldId']!==_0x61488f)return Object[_0x443904(0x2c2)](Object[_0x443904(0x502)](_0x587ffa)[_0x443904(0x470)](([_0x48111c,_0x5f4417])=>{if(_0x48111c===_0x61488f&&_0x3ba30b==='fieldSettings')return[];let _0x31e0ed=lr(_0x5f4417,_0x61488f,_0x48111c);return _0x31e0ed===void 0x0?[]:[[_0x48111c,_0x31e0ed]];}));}function ur(_0x450cb4,_0x4bb02d){const _0x520620=_0x4e7c38;return Math['max'](0x0,Math[_0x520620(0x218)](_0x450cb4,_0x4bb02d));}function dr(_0x169c64){'@babel/helpers - typeof';const _0x5962dc=_0x4e7c38;return dr=typeof Symbol==_0x5962dc(0x20b)&&typeof Symbol[_0x5962dc(0x494)]=='symbol'?function(_0x20a174){return typeof _0x20a174;}:function(_0x5a94c2){const _0x3ce3ac=_0x5962dc;return _0x5a94c2&&typeof Symbol==_0x3ce3ac(0x20b)&&_0x5a94c2['constructor']===Symbol&&_0x5a94c2!==Symbol[_0x3ce3ac(0x2f7)]?_0x3ce3ac(0x4bc):typeof _0x5a94c2;},dr(_0x169c64);}function fr(_0x166765,_0xb45224){const _0x42fe1a=_0x4e7c38;if(dr(_0x166765)!=_0x42fe1a(0x3d3)||!_0x166765)return _0x166765;var _0x10a3c1=_0x166765[Symbol[_0x42fe1a(0x22c)]];if(_0x10a3c1!==void 0x0){var _0x240dad=_0x10a3c1[_0x42fe1a(0x386)](_0x166765,_0xb45224||_0x42fe1a(0x55d));if(dr(_0x240dad)!=_0x42fe1a(0x3d3))return _0x240dad;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0xb45224===_0x42fe1a(0x457)?String:Number)(_0x166765);}function pr(_0x43da47){const _0x42950c=_0x4e7c38;var _0x5f62b2=fr(_0x43da47,'string');return dr(_0x5f62b2)==_0x42950c(0x4bc)?_0x5f62b2:_0x5f62b2+'';}function G(_0x459069,_0x2de2ca,_0x15a71e){const _0x4378c5=_0x4e7c38;return(_0x2de2ca=pr(_0x2de2ca))in _0x459069?Object[_0x4378c5(0x50f)](_0x459069,_0x2de2ca,{'value':_0x15a71e,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x459069[_0x2de2ca]=_0x15a71e,_0x459069;}const mr=_0x3c907b(_0x4e7c38(0x566));var hr=class extends _0x3aec08{constructor(..._0x1fa028){const _0x41ac96=_0x4e7c38;super(..._0x1fa028),G(this,_0x41ac96(0x298),new Map());}['register'](_0x18ca74){const _0x5a4957=_0x4e7c38;return this[_0x5a4957(0x298)][_0x5a4957(0x205)](_0x18ca74['type'],_0x18ca74),_0x3e2bb5(()=>this['_plugins']['delete'](_0x18ca74[_0x5a4957(0x30b)]));}[_0x4e7c38(0x4d5)](_0x4b4a4c){const _0x54f64d=_0x4e7c38;let _0x110cdb=this[_0x54f64d(0x298)]['get'](_0x4b4a4c);if(!_0x110cdb)throw Error(_0x54f64d(0x3e7)+_0x4b4a4c+_0x54f64d(0x37e));return _0x110cdb;}[_0x4e7c38(0x4ac)](_0x5df227){const _0x2f70a2=_0x4e7c38;return this[_0x2f70a2(0x298)]['get'](_0x5df227);}['getAll'](){const _0x4c88c0=_0x4e7c38;return Array[_0x4c88c0(0x501)](this[_0x4c88c0(0x298)]['values']());}},gr=class{constructor(_0x598642){const _0xb4b75e=_0x4e7c38;this['unitId']=_0x598642,G(this,'type',_0x3b454d[_0xb4b75e(0x1de)]),G(this,_0xb4b75e(0x475),_0x3ccddd[_0xb4b75e(0x4eb)]),G(this,_0xb4b75e(0x431),_0xa1e632[_0xb4b75e(0x1ed)]),G(this,'id',void 0x0),G(this,_0xb4b75e(0x4de),!0x0),this['id']=this[_0xb4b75e(0x30b)]+'.'+this[_0xb4b75e(0x475)]+'_'+_0x598642;}},_r=class{constructor(_0x52ccc4){const _0x5e1d76=_0x4e7c38;this['unitId']=_0x52ccc4,G(this,_0x5e1d76(0x30b),_0x3b454d[_0x5e1d76(0x1de)]),G(this,_0x5e1d76(0x475),_0x3ccddd[_0x5e1d76(0x3b5)]),G(this,_0x5e1d76(0x431),_0xa1e632['INIT']),G(this,'id',void 0x0),G(this,_0x5e1d76(0x4de),!0x0),this['id']=this[_0x5e1d76(0x30b)]+'.'+this['subType']+'_'+_0x52ccc4;}},vr=class{constructor(_0x3ef3f3){const _0x54bc40=_0x4e7c38;this[_0x54bc40(0x423)]=_0x3ef3f3,G(this,'type',_0x3b454d[_0x54bc40(0x1de)]),G(this,_0x54bc40(0x475),_0x3ccddd[_0x54bc40(0x319)]),G(this,_0x54bc40(0x431),_0xa1e632[_0x54bc40(0x1ed)]),G(this,'id',void 0x0),G(this,_0x54bc40(0x4de),!0x0),this['id']=this[_0x54bc40(0x30b)]+'.'+this[_0x54bc40(0x475)]+'_'+_0x3ef3f3;}},yr=class{constructor(_0x23325f){const _0x10aefa=_0x4e7c38;this['unitId']=_0x23325f,G(this,_0x10aefa(0x30b),_0x3b454d[_0x10aefa(0x1de)]),G(this,_0x10aefa(0x475),_0x3ccddd[_0x10aefa(0x29d)]),G(this,'status',_0xa1e632[_0x10aefa(0x1ed)]),G(this,'id',void 0x0),G(this,_0x10aefa(0x4de),!0x0),this['id']=this[_0x10aefa(0x30b)]+'.'+this['subType']+'_'+_0x23325f;}},br=class{constructor(_0x2f37f2,_0x3a7cdf){const _0x2f4f0a=_0x4e7c38;this[_0x2f4f0a(0x423)]=_0x2f37f2,this[_0x2f4f0a(0x48b)]=_0x3a7cdf,G(this,'type',_0x3b454d['BaseDashboard']),G(this,'subType',_0x3ccddd['Edit']),G(this,_0x2f4f0a(0x431),_0xa1e632[_0x2f4f0a(0x1ed)]),G(this,'id',void 0x0),G(this,'value',!0x0),this['id']=this[_0x2f4f0a(0x30b)]+'.'+this['subType']+'_'+_0x2f37f2+'_'+_0x3a7cdf;}},xr=class{constructor(_0xecfbc8,_0x221380){const _0x4b4d7b=_0x4e7c38;this[_0x4b4d7b(0x423)]=_0xecfbc8,this['objectId']=_0x221380,G(this,_0x4b4d7b(0x30b),_0x3b454d['BaseField']),G(this,_0x4b4d7b(0x475),_0x3ccddd[_0x4b4d7b(0x319)]),G(this,_0x4b4d7b(0x431),_0xa1e632[_0x4b4d7b(0x1ed)]),G(this,'id',void 0x0),G(this,_0x4b4d7b(0x4de),!0x0),this['id']=this[_0x4b4d7b(0x30b)]+'.'+this[_0x4b4d7b(0x475)]+'_'+_0xecfbc8+'_'+_0x221380;}},Sr=class{constructor(_0x3fbd67,_0x2f7ff4){const _0x41aa2e=_0x4e7c38;this[_0x41aa2e(0x423)]=_0x3fbd67,this['objectId']=_0x2f7ff4,G(this,_0x41aa2e(0x30b),_0x3b454d[_0x41aa2e(0x40d)]),G(this,'subType',_0x3ccddd[_0x41aa2e(0x319)]),G(this,_0x41aa2e(0x431),_0xa1e632[_0x41aa2e(0x1ed)]),G(this,'id',void 0x0),G(this,_0x41aa2e(0x4de),!0x0),this['id']=this[_0x41aa2e(0x30b)]+'.'+this['subType']+'_'+_0x3fbd67+'_'+_0x2f7ff4;}},Cr=class{constructor(_0x12161d,_0x5bbd0e){const _0x32bc78=_0x4e7c38;this[_0x32bc78(0x423)]=_0x12161d,this[_0x32bc78(0x48b)]=_0x5bbd0e,G(this,_0x32bc78(0x30b),_0x3b454d['BaseTable']),G(this,_0x32bc78(0x475),_0x3ccddd[_0x32bc78(0x319)]),G(this,_0x32bc78(0x431),_0xa1e632['INIT']),G(this,'id',void 0x0),G(this,_0x32bc78(0x4de),!0x0),this['id']=this[_0x32bc78(0x30b)]+'.'+this[_0x32bc78(0x475)]+'_'+_0x12161d+'_'+_0x5bbd0e;}},wr=class{constructor(_0x118f3e,_0x532cea){const _0x4acd2f=_0x4e7c38;this[_0x4acd2f(0x423)]=_0x118f3e,this[_0x4acd2f(0x48b)]=_0x532cea,G(this,'type',_0x3b454d[_0x4acd2f(0x3a4)]),G(this,_0x4acd2f(0x475),_0x3ccddd[_0x4acd2f(0x319)]),G(this,_0x4acd2f(0x431),_0xa1e632[_0x4acd2f(0x1ed)]),G(this,'id',void 0x0),G(this,_0x4acd2f(0x4de),!0x0),this['id']=this[_0x4acd2f(0x30b)]+'.'+this[_0x4acd2f(0x475)]+'_'+_0x118f3e+'_'+_0x532cea;}};const Tr=[_0x3ccddd[_0x4e7c38(0x319)],_0x3ccddd[_0x4e7c38(0x3b5)],_0x3ccddd[_0x4e7c38(0x29d)],_0x3ccddd[_0x4e7c38(0x4eb)]],Er=new Set([_0x3b454d[_0x4e7c38(0x1de)],_0x3b454d[_0x4e7c38(0x439)],_0x3b454d[_0x4e7c38(0x29b)],_0x3b454d[_0x4e7c38(0x40d)],_0x3b454d[_0x4e7c38(0x3a4)],_0x3b454d['BaseDashboard']]),Dr=_0x4e7c38(0x25d),Or='field/',kr=_0x4e7c38(0x484),Ar=_0x4e7c38(0x318),jr=_0x4e7c38(0x2b0);function K(_0x51457e){return''+Dr+encodeURIComponent(_0x51457e);}function q(_0xb3308e,_0x1a5c2f){return''+Or+encodeURIComponent(_0xb3308e)+'/'+encodeURIComponent(_0x1a5c2f);}function J(_0xc44fc4,_0x52db4c){return''+kr+encodeURIComponent(_0xc44fc4)+'/'+encodeURIComponent(_0x52db4c);}function Mr(_0x5a4716,_0x4b75c8){return''+Ar+encodeURIComponent(_0x5a4716)+'/'+encodeURIComponent(_0x4b75c8);}function Nr(_0xdaccae){return''+jr+encodeURIComponent(_0xdaccae);}function Pr(_0x14603a,_0x1dc8f9,_0x20d341){const _0x41fa9f=_0x4e7c38;if(_0x1dc8f9===_0x14603a)switch(_0x20d341){case _0x3ccddd['Edit']:return new vr(_0x14603a);case _0x3ccddd['Copy']:return new _r(_0x14603a);case _0x3ccddd[_0x41fa9f(0x29d)]:return new yr(_0x14603a);case _0x3ccddd['Comment']:return new gr(_0x14603a);default:throw Error(_0x41fa9f(0x207)+_0x20d341);}if(_0x20d341!==_0x3ccddd['Edit'])throw Error(_0x41fa9f(0x528)+_0x1dc8f9);if(_0x1dc8f9[_0x41fa9f(0x3c5)](Dr))return new Cr(_0x14603a,_0x1dc8f9);if(_0x1dc8f9[_0x41fa9f(0x3c5)](Or))return new xr(_0x14603a,_0x1dc8f9);if(_0x1dc8f9[_0x41fa9f(0x3c5)](kr))return new Sr(_0x14603a,_0x1dc8f9);if(_0x1dc8f9[_0x41fa9f(0x3c5)](Ar))return new wr(_0x14603a,_0x1dc8f9);if(_0x1dc8f9['startsWith'](jr))return new br(_0x14603a,_0x1dc8f9);throw Error(_0x41fa9f(0x342)+_0x1dc8f9);}function Fr(_0x6a49b2,_0x35d46e,_0x29925c,_0x22a22e){const _0x5080f7=_0x4e7c38;var _0x460487;return((_0x460487=_0x6a49b2[_0x5080f7(0x1e6)](Pr(_0x35d46e,_0x29925c,_0x22a22e)['id']))==null?void 0x0:_0x460487[_0x5080f7(0x4de)])??!0x0;}function Ir(_0x151a16,_0x35c6d5,_0x1d5021,_0x2a7979,_0x5acad8){const _0x259f17=_0x4e7c38;let _0x31aa9=Pr(_0x35c6d5,_0x1d5021,_0x2a7979);_0x151a16[_0x259f17(0x1e6)](_0x31aa9['id'])||_0x151a16[_0x259f17(0x441)](_0x31aa9),_0x151a16['updatePermissionPoint'](_0x31aa9['id'],_0x5acad8);}function Lr(_0x1f98a3,_0x12f121,_0x21d25a,_0x282a42){_0x1f98a3['deletePermissionPoint'](Pr(_0x12f121,_0x21d25a,_0x282a42)['id']);}function Rr(_0x1db094,_0xacde90){const _0xdc73b9=_0x4e7c38;_0x1db094['getAllPermissionPoint']()[_0xdc73b9(0x397)]((_0x2a18ae,_0x122310)=>{const _0x5580a0=_0xdc73b9;_0x2a18ae[_0x5580a0(0x4ce)](_0x39b31e=>{const _0x11a96b=_0x5580a0;Er[_0x11a96b(0x4d6)](_0x39b31e[_0x11a96b(0x30b)])&&_0x11a96b(0x423)in _0x39b31e&&_0x39b31e[_0x11a96b(0x423)]===_0xacde90&&_0x1db094['deletePermissionPoint'](_0x122310);})['unsubscribe']();});}function zr(_0x3c54c7,_0x102ecb,_0x2b7e12){const _0x35007e=_0x4e7c38;return Fr(_0x3c54c7,_0x102ecb,_0x102ecb,_0x3ccddd[_0x35007e(0x319)])&&Array['from'](_0x2b7e12)[_0x35007e(0x1f6)](_0x159ea5=>Fr(_0x3c54c7,_0x102ecb,_0x159ea5,_0x3ccddd[_0x35007e(0x319)]));}function Y(_0x3b5b97,_0x5f33ab){return function(_0x3069b7,_0x17f16f){_0x5f33ab(_0x3069b7,_0x17f16f,_0x3b5b97);};}function X(_0xde0294,_0x37f703,_0x399bdc,_0x2ad528){const _0x33f271=_0x4e7c38;var _0x528d90=arguments[_0x33f271(0x2b6)],_0x4a196e=_0x528d90<0x3?_0x37f703:_0x2ad528===null?_0x2ad528=Object[_0x33f271(0x302)](_0x37f703,_0x399bdc):_0x2ad528,_0x5b9736;if(typeof Reflect==_0x33f271(0x3d3)&&typeof Reflect[_0x33f271(0x36c)]==_0x33f271(0x20b))_0x4a196e=Reflect[_0x33f271(0x36c)](_0xde0294,_0x37f703,_0x399bdc,_0x2ad528);else{for(var _0x138159=_0xde0294[_0x33f271(0x2b6)]-0x1;_0x138159>=0x0;_0x138159--)(_0x5b9736=_0xde0294[_0x138159])&&(_0x4a196e=(_0x528d90<0x3?_0x5b9736(_0x4a196e):_0x528d90>0x3?_0x5b9736(_0x37f703,_0x399bdc,_0x4a196e):_0x5b9736(_0x37f703,_0x399bdc))||_0x4a196e);}return _0x528d90>0x3&&_0x4a196e&&Object['defineProperty'](_0x37f703,_0x399bdc,_0x4a196e),_0x4a196e;}const Br=_0x3c907b(_0x4e7c38(0x2e8));let Vr=class extends _0x3aec08{constructor(_0x521fc0,_0x17876f){const _0x279463=_0x4e7c38;super(),this['_permissionService']=_0x521fc0,this[_0x279463(0x56e)]=_0x17876f,G(this,'_basePermissions',new Map()),G(this,_0x279463(0x224),new Map()),G(this,_0x279463(0x1f3),new Map()),G(this,_0x279463(0x39e),new Map()),G(this,'_viewPermissions',new Map()),G(this,_0x279463(0x4d9),new Map()),this[_0x279463(0x533)](this['_instanceService'][_0x279463(0x1f8)](_0x2eb623[_0x279463(0x583)])[_0x279463(0x4ce)](_0x3b9479=>this['_clearUnit'](_0x3b9479[_0x279463(0x49c)]())));}[_0x4e7c38(0x30c)](_0x9a8149){const _0x3c797b=_0x4e7c38;var _0x3265d9;return this[_0x3c797b(0x25f)](_0x9a8149,[])&&(((_0x3265d9=this[_0x3c797b(0x291)][_0x3c797b(0x4d5)](_0x9a8149))==null?void 0x0:_0x3265d9[_0x3c797b(0x1c2)])??!0x0);}[_0x4e7c38(0x52b)](_0x1eeb29){return this['_canEditTable'](_0x1eeb29);}[_0x4e7c38(0x57b)](_0x6bd123){const _0xb84833=_0x4e7c38;var _0x52bc0e;return this[_0xb84833(0x48a)](_0x6bd123)&&(((_0x52bc0e=this[_0xb84833(0x224)]['get'](_0x6bd123))==null?void 0x0:_0x52bc0e[_0xb84833(0x57a)])??!0x0);}[_0x4e7c38(0x2fc)](_0x347900){const _0x2473eb=_0x4e7c38;var _0x22bc83;return this[_0x2473eb(0x48a)](_0x347900)&&(((_0x22bc83=this[_0x2473eb(0x224)]['get'](_0x347900))==null?void 0x0:_0x22bc83[_0x2473eb(0x4fd)])??!0x0);}['canEditField'](_0x1a7578,_0x28e99d){const _0x702c61=_0x4e7c38;var _0x140e66;return this[_0x702c61(0x48a)](_0x1a7578)&&this[_0x702c61(0x25f)](_0x1a7578,[q(_0x1a7578,_0x28e99d)])&&(((_0x140e66=this[_0x702c61(0x1f3)][_0x702c61(0x4d5)](Ur(_0x1a7578,_0x28e99d)))==null?void 0x0:_0x140e66['edit'])??!0x0);}[_0x4e7c38(0x450)](_0x21cbf8,_0x2c8233){const _0x4cd3cb=_0x4e7c38;var _0x493842;return this[_0x4cd3cb(0x51a)](_0x21cbf8,_0x2c8233)&&(((_0x493842=this[_0x4cd3cb(0x1f3)]['get'](Ur(_0x21cbf8,_0x2c8233)))==null?void 0x0:_0x493842[_0x4cd3cb(0x57a)])??!0x0);}['canCreateRecord'](_0x4ecf32){const _0x112cd4=_0x4e7c38;var _0x493bad;return this['_canEditTable'](_0x4ecf32)&&(((_0x493bad=this[_0x112cd4(0x224)]['get'](_0x4ecf32))==null?void 0x0:_0x493bad['createRecord'])??!0x0);}[_0x4e7c38(0x2bc)](_0xbf7bbc,_0x4d64ee){const _0x2aa16a=_0x4e7c38;var _0x431884;let _0x200e57=this[_0x2aa16a(0x39e)][_0x2aa16a(0x4d5)](Wr(_0xbf7bbc,_0x4d64ee));return this[_0x2aa16a(0x25f)](_0xbf7bbc,[K(_0xbf7bbc),J(_0xbf7bbc,_0x4d64ee)])&&(((_0x431884=this[_0x2aa16a(0x224)][_0x2aa16a(0x4d5)](_0xbf7bbc))==null?void 0x0:_0x431884[_0x2aa16a(0x35a)])??!0x0)&&((_0x200e57==null?void 0x0:_0x200e57[_0x2aa16a(0x35a)])??!0x0)&&((_0x200e57==null?void 0x0:_0x200e57[_0x2aa16a(0x4a7)])??!0x0);}['canDeleteRecord'](_0x567527,_0x366334){const _0x20226e=_0x4e7c38;var _0x5404bd,_0x28b6f3,_0x477be8;return this[_0x20226e(0x25f)](_0x567527,[K(_0x567527),J(_0x567527,_0x366334)])&&(((_0x5404bd=this[_0x20226e(0x224)][_0x20226e(0x4d5)](_0x567527))==null?void 0x0:_0x5404bd['edit'])??!0x0)&&(((_0x28b6f3=this[_0x20226e(0x39e)][_0x20226e(0x4d5)](Wr(_0x567527,_0x366334)))==null?void 0x0:_0x28b6f3[_0x20226e(0x35a)])??!0x0)&&(((_0x477be8=this[_0x20226e(0x39e)][_0x20226e(0x4d5)](Wr(_0x567527,_0x366334)))==null?void 0x0:_0x477be8[_0x20226e(0x57a)])??!0x0);}['canEditCell'](_0x49a6bf,_0x5eaa62,_0x45bda6){const _0x5a566d=_0x4e7c38;var _0x2b3af0,_0x2ac852,_0x221b4c;let _0xc7a705=this['_fieldPermissions'][_0x5a566d(0x4d5)](Ur(_0x49a6bf,_0x45bda6));return this['_canEdit'](_0x49a6bf,[K(_0x49a6bf),q(_0x49a6bf,_0x45bda6),J(_0x49a6bf,_0x5eaa62)])&&(((_0x2b3af0=this[_0x5a566d(0x224)][_0x5a566d(0x4d5)](_0x49a6bf))==null?void 0x0:_0x2b3af0[_0x5a566d(0x35a)])??!0x0)&&(((_0x2ac852=this[_0x5a566d(0x39e)][_0x5a566d(0x4d5)](Wr(_0x49a6bf,_0x5eaa62)))==null?void 0x0:_0x2ac852[_0x5a566d(0x35a)])??!0x0)&&(((_0x221b4c=this['_recordPermissions'][_0x5a566d(0x4d5)](Wr(_0x49a6bf,_0x5eaa62)))==null?void 0x0:_0x221b4c['editCell'])??!0x0)&&((_0xc7a705==null?void 0x0:_0xc7a705[_0x5a566d(0x35a)])??!0x0)&&((_0xc7a705==null?void 0x0:_0xc7a705[_0x5a566d(0x4a7)])??!0x0);}['canManageView'](_0x4ed4fa,_0x29faa0){const _0x5bdbe8=_0x4e7c38;var _0x7c623b,_0x9dd255,_0x2c32d2;return this[_0x5bdbe8(0x25f)](_0x4ed4fa,[K(_0x4ed4fa),Mr(_0x4ed4fa,_0x29faa0)])&&(((_0x7c623b=this[_0x5bdbe8(0x224)][_0x5bdbe8(0x4d5)](_0x4ed4fa))==null?void 0x0:_0x7c623b['edit'])??!0x0)&&(((_0x9dd255=this[_0x5bdbe8(0x255)]['get'](Gr(_0x4ed4fa,_0x29faa0)))==null?void 0x0:_0x9dd255[_0x5bdbe8(0x35a)])??!0x0)&&(((_0x2c32d2=this[_0x5bdbe8(0x224)][_0x5bdbe8(0x4d5)](_0x4ed4fa))==null?void 0x0:_0x2c32d2[_0x5bdbe8(0x45f)])??!0x0);}[_0x4e7c38(0x404)](_0x14a685,_0x5af6b2){const _0x3b1be6=_0x4e7c38;this[_0x3b1be6(0x291)][_0x3b1be6(0x205)](_0x14a685,{...this[_0x3b1be6(0x291)][_0x3b1be6(0x4d5)](_0x14a685),..._0x5af6b2}),_0x5af6b2[_0x3b1be6(0x35a)]!==void 0x0&&Ir(this['_permissionService'],_0x14a685,_0x14a685,_0x3ccddd[_0x3b1be6(0x319)],_0x5af6b2[_0x3b1be6(0x35a)]);}['setTablePermission'](_0x7e441f,_0x5f50dd){const _0x560a57=_0x4e7c38;this[_0x560a57(0x2f4)](_0x7e441f),this[_0x560a57(0x224)]['set'](_0x7e441f,{...this[_0x560a57(0x224)][_0x560a57(0x4d5)](_0x7e441f),..._0x5f50dd}),this['_setObjectEdit'](_0x7e441f,K(_0x7e441f),_0x5f50dd[_0x560a57(0x35a)]);}[_0x4e7c38(0x372)](_0x2e2344,_0x221a3e,_0x14236f){const _0x48ab9f=_0x4e7c38;this[_0x48ab9f(0x2f4)](_0x2e2344);let _0x1ccb25=Ur(_0x2e2344,_0x221a3e);this[_0x48ab9f(0x1f3)][_0x48ab9f(0x205)](_0x1ccb25,{...this[_0x48ab9f(0x1f3)][_0x48ab9f(0x4d5)](_0x1ccb25),..._0x14236f}),this[_0x48ab9f(0x24d)](_0x2e2344,q(_0x2e2344,_0x221a3e),_0x14236f[_0x48ab9f(0x35a)]);}['setRecordPermission'](_0x499075,_0x499a35,_0x25710d){const _0x443231=_0x4e7c38;this[_0x443231(0x2f4)](_0x499075);let _0x2adbec=Wr(_0x499075,_0x499a35);this[_0x443231(0x39e)][_0x443231(0x205)](_0x2adbec,{...this[_0x443231(0x39e)][_0x443231(0x4d5)](_0x2adbec),..._0x25710d}),this[_0x443231(0x24d)](_0x499075,J(_0x499075,_0x499a35),_0x25710d[_0x443231(0x35a)]);}[_0x4e7c38(0x3b4)](_0x3f4fe9,_0x25c368,_0x3b0bab){const _0x3d869f=_0x4e7c38;this[_0x3d869f(0x2f4)](_0x3f4fe9);let _0x43eb52=Gr(_0x3f4fe9,_0x25c368);this[_0x3d869f(0x255)][_0x3d869f(0x205)](_0x43eb52,{...this[_0x3d869f(0x255)][_0x3d869f(0x4d5)](_0x43eb52),..._0x3b0bab}),this[_0x3d869f(0x24d)](_0x3f4fe9,Mr(_0x3f4fe9,_0x25c368),_0x3b0bab['edit']);}[_0x4e7c38(0x24b)](_0x288d91){const _0x5c76b5=_0x4e7c38;this[_0x5c76b5(0x291)][_0x5c76b5(0x57a)](_0x288d91),Lr(this[_0x5c76b5(0x377)],_0x288d91,_0x288d91,_0x3ccddd[_0x5c76b5(0x319)]);}[_0x4e7c38(0x28c)](_0x5cc128){const _0x2ae9d3=_0x4e7c38;this['_tablePermissions'][_0x2ae9d3(0x57a)](_0x5cc128),this[_0x2ae9d3(0x2a0)](_0x5cc128,K(_0x5cc128));}['clearFieldPermission'](_0x2495c7,_0x59ed6d){const _0x4739c8=_0x4e7c38;this[_0x4739c8(0x1f3)][_0x4739c8(0x57a)](Ur(_0x2495c7,_0x59ed6d)),this[_0x4739c8(0x2a0)](_0x2495c7,q(_0x2495c7,_0x59ed6d));}[_0x4e7c38(0x2dd)](_0x381a93,_0x38cc25){const _0x1d404c=_0x4e7c38;this['_recordPermissions'][_0x1d404c(0x57a)](Wr(_0x381a93,_0x38cc25)),this[_0x1d404c(0x2a0)](_0x381a93,J(_0x381a93,_0x38cc25));}[_0x4e7c38(0x270)](_0x54ef2a,_0x35d67e){const _0x3bc73a=_0x4e7c38;this[_0x3bc73a(0x255)]['delete'](Gr(_0x54ef2a,_0x35d67e)),this[_0x3bc73a(0x2a0)](_0x54ef2a,Mr(_0x54ef2a,_0x35d67e));}[_0x4e7c38(0x2a7)](){const _0x49a262=_0x4e7c38;return{'bases':Object[_0x49a262(0x2c2)](this[_0x49a262(0x291)]),'tables':Object[_0x49a262(0x2c2)](this[_0x49a262(0x224)]),'fields':Object[_0x49a262(0x2c2)](this[_0x49a262(0x1f3)]),'records':Object[_0x49a262(0x2c2)](this['_recordPermissions']),'views':Object[_0x49a262(0x2c2)](this[_0x49a262(0x255)])};}[_0x4e7c38(0x48a)](_0x524cba){const _0x3a8259=_0x4e7c38;var _0x19aa42;return this[_0x3a8259(0x25f)](_0x524cba,[K(_0x524cba)])&&(((_0x19aa42=this[_0x3a8259(0x224)][_0x3a8259(0x4d5)](_0x524cba))==null?void 0x0:_0x19aa42[_0x3a8259(0x35a)])??!0x0);}[_0x4e7c38(0x25f)](_0x555b8a,_0x2afde6){const _0x3c3e3f=_0x4e7c38;var _0x23212;let _0x458de9=this['_resolveBaseId'](_0x555b8a);return!_0x458de9||zr(this['_permissionService'],_0x458de9,_0x2afde6)&&(((_0x23212=this[_0x3c3e3f(0x291)]['get'](_0x458de9))==null?void 0x0:_0x23212[_0x3c3e3f(0x35a)])??!0x0);}[_0x4e7c38(0x24d)](_0x2fe044,_0x1af343,_0x176b11){const _0x3a8d91=_0x4e7c38;if(_0x176b11===void 0x0)return;let _0x2ca60f=this[_0x3a8d91(0x443)](_0x2fe044);_0x2ca60f&&Ir(this[_0x3a8d91(0x377)],_0x2ca60f,_0x1af343,_0x3ccddd[_0x3a8d91(0x319)],_0x176b11);}['_clearObjectEdit'](_0x122dcf,_0x32b34e){const _0x3c7086=_0x4e7c38;let _0x189c1=this['_resolveBaseId'](_0x122dcf);_0x189c1&&Lr(this[_0x3c7086(0x377)],_0x189c1,_0x32b34e,_0x3ccddd[_0x3c7086(0x319)]);}[_0x4e7c38(0x443)](_0xe79dea){const _0xb24e03=_0x4e7c38;var _0x11bae1;let _0x4abda9=this[_0xb24e03(0x56e)]['getUnit'](_0xe79dea,_0x2eb623[_0xb24e03(0x583)]);return _0x4abda9?_0x4abda9[_0xb24e03(0x49c)]():(_0x11bae1=this['_instanceService'][_0xb24e03(0x281)](_0x2eb623[_0xb24e03(0x583)])[_0xb24e03(0x1c5)](_0x3f2d61=>!!_0x3f2d61['getSnapshot']()['tables'][_0xe79dea]))==null?void 0x0:_0x11bae1[_0xb24e03(0x49c)]();}['_rememberTable'](_0x2eac0c){const _0x29f506=_0x4e7c38;let _0x5331f4=this[_0x29f506(0x443)](_0x2eac0c);_0x5331f4&&this[_0x29f506(0x4d9)][_0x29f506(0x205)](_0x2eac0c,_0x5331f4);}['_clearUnit'](_0x243085){const _0x1e2668=_0x4e7c38;this[_0x1e2668(0x291)][_0x1e2668(0x57a)](_0x243085),this[_0x1e2668(0x4d9)]['forEach']((_0x4a2fb8,_0x39f8f8)=>{const _0x13dbfc=_0x1e2668;_0x4a2fb8===_0x243085&&(this[_0x13dbfc(0x224)][_0x13dbfc(0x57a)](_0x39f8f8),Hr(this[_0x13dbfc(0x1f3)],_0x39f8f8+'\x1f'),Hr(this['_recordPermissions'],_0x39f8f8+'\x1f'),Hr(this['_viewPermissions'],_0x39f8f8+'\x1f'),this[_0x13dbfc(0x4d9)]['delete'](_0x39f8f8));});}};Vr=X([Y(0x0,_0x1b4267),Y(0x1,_0x26755d)],Vr);function Hr(_0x317628,_0x26c00c){const _0x2edc46=_0x4e7c38;_0x317628[_0x2edc46(0x397)]((_0x559a20,_0x2b3afd)=>{const _0x167022=_0x2edc46;_0x2b3afd[_0x167022(0x3c5)](_0x26c00c)&&_0x317628[_0x167022(0x57a)](_0x2b3afd);});}function Ur(_0x5db0cd,_0x3886b2){return _0x5db0cd+'\x1f'+_0x3886b2;}function Wr(_0x18b3f8,_0x4023c4){return _0x18b3f8+'\x1f'+_0x4023c4;}function Gr(_0xa2a657,_0x2a904e){return _0xa2a657+'\x1f'+_0x2a904e;}const Kr=_0x3c907b(_0x4e7c38(0x54e));let qr=class{constructor(_0x28a645,_0x30228d=Jr(),_0x37d720={}){const _0x489889=_0x4e7c38;this[_0x489889(0x377)]=_0x28a645,this[_0x489889(0x21f)]=_0x30228d,this[_0x489889(0x2d9)]=_0x37d720,G(this,_0x489889(0x20d),new W()),G(this,'_applier',new z());}[_0x4e7c38(0x1c2)](_0x310bbf,_0x9f259,_0x506425){const _0x3823d2=_0x4e7c38;if(!this['_permissionService']['canCreateTable'](_0x310bbf['getUnitId']()))throw Error(_0x3823d2(0x527));_0x2a8300(_0x9f259),this['_apply'](_0x310bbf,this[_0x3823d2(0x20d)][_0x3823d2(0x1c2)](_0x310bbf['getSnapshot'](),_0x9f259,_0x506425));}[_0x4e7c38(0x204)](_0x17dec2,_0x5daa0f,_0x5d308f){const _0x4ffbe2=_0x4e7c38;if(!this[_0x4ffbe2(0x377)][_0x4ffbe2(0x52b)](_0x5daa0f))throw Error(_0x4ffbe2(0x347));this[_0x4ffbe2(0x360)](_0x17dec2,this[_0x4ffbe2(0x20d)][_0x4ffbe2(0x204)](_0x17dec2[_0x4ffbe2(0x2a7)](),_0x5daa0f,_0x5d308f));}['deleteTable'](_0x590311,_0x232cab){const _0x5698b5=_0x4e7c38;if(!this[_0x5698b5(0x377)][_0x5698b5(0x57b)](_0x232cab))throw Error('[BaseCommandService]:\x20cannot\x20delete\x20table.');let _0x5a60f4=He(_0x590311[_0x5698b5(0x2a7)](),_0x232cab);if(_0x5a60f4[_0x5698b5(0x2b6)]>0x0)throw Error(_0x5698b5(0x1f9)+_0x5a60f4['map'](_0x2971de=>_0x2971de[_0x5698b5(0x2cc)]+'.'+_0x2971de['fieldId'])[_0x5698b5(0x50e)](',\x20')+').');this[_0x5698b5(0x360)](_0x590311,this[_0x5698b5(0x20d)][_0x5698b5(0x36b)](_0x590311['getSnapshot'](),_0x232cab));}[_0x4e7c38(0x344)](_0x4fd117,_0xf6b790,_0x2ae40b,_0x27b815,_0x342de2){const _0x51a865=_0x4e7c38;this[_0x51a865(0x360)](_0x4fd117,this[_0x51a865(0x1be)](_0x4fd117,_0xf6b790,_0x2ae40b,_0x27b815,_0x342de2));}['setRecordValues'](_0x45408a,_0xaa671b,_0x28fdaa){const _0x54b79a=_0x4e7c38;this['_apply'](_0x45408a,this[_0x54b79a(0x3f3)](_0x45408a,_0xaa671b,_0x28fdaa));}[_0x4e7c38(0x4c2)](_0x2c6a0d,_0x30c3cd,_0x3cbb5d){const _0x555c43=_0x4e7c38;this[_0x555c43(0x360)](_0x2c6a0d,this['createCreateRecordOp'](_0x2c6a0d,_0x30c3cd,_0x3cbb5d));}[_0x4e7c38(0x1be)](_0x5bb033,_0x1a9b9b,_0x170ffa,_0x334c55,_0xb4c83f){const _0x63fc11=_0x4e7c38;let _0x16e885=_0x5bb033['getSnapshot'](),_0x27e860=this[_0x63fc11(0x57f)](_0x16e885,_0x1a9b9b,_0x170ffa,_0x334c55,_0xb4c83f),_0x43c7b3=this['_withModifiedSystemValues'](_0x16e885,_0x1a9b9b,_0x170ffa,{[_0x334c55]:_0x27e860});return this['_factory']['setRecordValues'](_0x16e885,_0x1a9b9b,[_0x43c7b3]);}[_0x4e7c38(0x3f3)](_0x2bac76,_0x927fb7,_0x5386a4){const _0x3b9a01=_0x4e7c38;let _0x4c4105=_0x2bac76[_0x3b9a01(0x2a7)](),_0x2bb75a=_0x5386a4[_0x3b9a01(0x3e8)](_0x3712a7=>this[_0x3b9a01(0x57c)](_0x4c4105,_0x927fb7,_0x3712a7[_0x3b9a01(0x394)],{...Object[_0x3b9a01(0x2c2)](Object['entries'](_0x3712a7[_0x3b9a01(0x4c0)])[_0x3b9a01(0x3e8)](([_0x38651f,_0x29a0c4])=>[_0x38651f,this[_0x3b9a01(0x57f)](_0x4c4105,_0x927fb7,_0x3712a7[_0x3b9a01(0x394)],_0x38651f,_0x29a0c4)]))}));return this['_factory'][_0x3b9a01(0x1ba)](_0x4c4105,_0x927fb7,_0x2bb75a);}[_0x4e7c38(0x28a)](_0x3fca6a,_0x34bdd6,_0x719ede){const _0x4df118=_0x4e7c38;if(!this['_permissionService'][_0x4df118(0x39c)](_0x34bdd6))throw Error(_0x4df118(0x522));let _0x226274=_0x3fca6a[_0x4df118(0x2a7)](),_0x28353d=this[_0x4df118(0x4da)](_0x226274[_0x4df118(0x29e)][_0x34bdd6]);return this['_factory'][_0x4df118(0x4c2)](_0x226274,_0x34bdd6,this[_0x4df118(0x373)](_0x226274,_0x34bdd6,_0x719ede,_0x28353d));}[_0x4e7c38(0x325)](_0x4ce81e,_0x5c0adf,_0x375904){const _0xe35f03=_0x4e7c38;if(!this['_permissionService'][_0xe35f03(0x39c)](_0x5c0adf))throw Error(_0xe35f03(0x522));let _0x39c0e9=_0x4ce81e[_0xe35f03(0x2a7)]();return I(_0xe35f03(0x2ac),()=>{const _0x2ae5e5=_0xe35f03;let _0x1fe46f=this[_0x2ae5e5(0x4da)](_0x39c0e9[_0x2ae5e5(0x29e)][_0x5c0adf]);return this['_factory'][_0x2ae5e5(0x536)](_0x39c0e9,_0x5c0adf,_0x375904[_0x2ae5e5(0x3e8)](_0x50c49d=>this[_0x2ae5e5(0x373)](_0x39c0e9,_0x5c0adf,_0x50c49d,_0x1fe46f)));},{'existingRecords':Object[_0xe35f03(0x3ca)](_0x39c0e9['tables'][_0x5c0adf][_0xe35f03(0x2d1)])[_0xe35f03(0x2b6)],'records':_0x375904[_0xe35f03(0x2b6)]});}[_0x4e7c38(0x42d)](_0x36ea0b,_0x4f64f4,_0x45fc24,_0x4c62ba,_0x677048){const _0x820bbe=_0x4e7c38;if(!this[_0x820bbe(0x377)][_0x820bbe(0x2fc)](_0x4f64f4))throw Error(_0x820bbe(0x54a));let _0x362c50=_0x36ea0b['getSnapshot']();if(this[_0x820bbe(0x41e)](_0x362c50,_0x45fc24),_0x4c62ba===0x0)throw Error(_0x820bbe(0x3cc));let _0x4ac524=this[_0x820bbe(0x20d)][_0x820bbe(0x4fd)](_0x362c50,_0x4f64f4,{'field':_0x45fc24,'index':_0x4c62ba,'viewIndexes':_0x677048}),_0x266840=this['_createSystemFieldValuePatches'](_0x362c50,_0x4f64f4,_0x45fc24);if(!_0x266840['length'])return _0x4ac524;let _0xe39487=this[_0x820bbe(0x275)]['applyOp'](_0x362c50,_0x4ac524);return R([_0x4ac524,this[_0x820bbe(0x20d)][_0x820bbe(0x1ba)](_0xe39487,_0x4f64f4,_0x266840)]);}[_0x4e7c38(0x577)](_0x576cf9,_0x1e3829,_0x451a57){const _0x461786=_0x4e7c38;if(!this[_0x461786(0x377)][_0x461786(0x3ab)](_0x1e3829,_0x451a57))throw Error('[BaseCommandService]:\x20cannot\x20delete\x20record.');this[_0x461786(0x360)](_0x576cf9,this[_0x461786(0x20d)][_0x461786(0x577)](_0x576cf9[_0x461786(0x2a7)](),_0x1e3829,_0x451a57));}['duplicateRecord'](_0x5ef693,_0x1c2d87,_0x21b2ee,_0x2d4542){const _0x18cab6=_0x4e7c38;if(!this['_permissionService'][_0x18cab6(0x39c)](_0x1c2d87))throw Error(_0x18cab6(0x522));this[_0x18cab6(0x360)](_0x5ef693,this['_factory'][_0x18cab6(0x4b9)](_0x5ef693[_0x18cab6(0x2a7)](),_0x1c2d87,_0x21b2ee,{..._0x2d4542,'values':{..._0x2d4542[_0x18cab6(0x4c0)],[_0x5802d7]:_0x2d4542['id']}}));}[_0x4e7c38(0x2c1)](_0x29edd7,_0x52f3c9,_0x3f2479,_0xb9d772){const _0x1d338e=_0x4e7c38;if(!this[_0x1d338e(0x377)][_0x1d338e(0x2bc)](_0x52f3c9,_0x3f2479))throw Error(_0x1d338e(0x435));this['_apply'](_0x29edd7,this[_0x1d338e(0x20d)][_0x1d338e(0x2c1)](_0x29edd7[_0x1d338e(0x2a7)](),_0x52f3c9,_0x3f2479,_0xb9d772));}['createField'](_0x264ae7,_0x22d247,_0x265a03,_0x18e6c0,_0x38bfae){const _0x15bbed=_0x4e7c38;this[_0x15bbed(0x360)](_0x264ae7,this[_0x15bbed(0x42d)](_0x264ae7,_0x22d247,_0x265a03,_0x18e6c0,_0x38bfae));}[_0x4e7c38(0x309)](_0x1b21c3,_0x2a66df,_0x542e1f,_0x5a180b){const _0x5af904=_0x4e7c38;var _0x2ff85f;if(!this['_permissionService']['canEditField'](_0x2a66df,_0x542e1f))throw Error(_0x5af904(0x46d));let _0x2ca017=_0x1b21c3[_0x5af904(0x2a7)](),_0x3a6f75=(_0x2ff85f=_0x2ca017['tables'][_0x2a66df])==null?void 0x0:_0x2ff85f[_0x5af904(0x531)][_0x542e1f];if(!_0x3a6f75||_0x542e1f===_0x5802d7)throw Error(_0x5af904(0x1fe));this[_0x5af904(0x41e)](_0x2ca017,{..._0x3a6f75,..._0x5a180b}),this['_apply'](_0x1b21c3,this[_0x5af904(0x20d)]['updateField'](_0x2ca017,_0x2a66df,_0x542e1f,_0x5a180b));}[_0x4e7c38(0x36f)](_0x133a61,_0x5466eb,_0x51904a,_0x44482e){const _0x23201f=_0x4e7c38;var _0x5680bf;if(!this['_permissionService']['canEditField'](_0x5466eb,_0x51904a))throw Error('[BaseCommandService]:\x20cannot\x20edit\x20field.');let _0x364578=_0x133a61[_0x23201f(0x2a7)](),_0x3cb573=(_0x5680bf=_0x364578[_0x23201f(0x29e)][_0x5466eb])==null?void 0x0:_0x5680bf[_0x23201f(0x531)][_0x51904a];if(!_0x3cb573||_0x51904a===_0x5802d7)throw Error(_0x23201f(0x3f7));this['_assertFieldDefinition'](_0x364578,{..._0x3cb573,..._0x44482e}),this[_0x23201f(0x360)](_0x133a61,this[_0x23201f(0x20d)]['changeFieldType'](_0x364578,_0x5466eb,_0x51904a,_0x44482e));}[_0x4e7c38(0x3c1)](_0x543dd5,_0x19c61a,_0x4d74b2){const _0x9ed4fc=_0x4e7c38;var _0xd791c8;if(((_0xd791c8=_0x543dd5[_0x9ed4fc(0x2a7)]()[_0x9ed4fc(0x29e)][_0x19c61a])==null?void 0x0:_0xd791c8[_0x9ed4fc(0x48d)])===_0x4d74b2||_0x4d74b2===_0x5802d7)throw Error('[BaseCommandService]:\x20cannot\x20delete\x20primary\x20field.');if(!this[_0x9ed4fc(0x377)][_0x9ed4fc(0x450)](_0x19c61a,_0x4d74b2))throw Error(_0x9ed4fc(0x53c));this[_0x9ed4fc(0x360)](_0x543dd5,this[_0x9ed4fc(0x20d)][_0x9ed4fc(0x3c1)](_0x543dd5[_0x9ed4fc(0x2a7)](),_0x19c61a,_0x4d74b2));}[_0x4e7c38(0x37d)](_0x103187,_0x1d8d3d,_0x32197c,_0x2bf69b){const _0x4842e2=_0x4e7c38;if(!this[_0x4842e2(0x377)][_0x4842e2(0x51a)](_0x1d8d3d,_0x32197c))throw Error('[BaseCommandService]:\x20cannot\x20edit\x20field.');if(_0x32197c===_0x5802d7||_0x2bf69b[_0x4842e2(0x409)]===_0x5802d7)throw Error(_0x4842e2(0x3e0));this[_0x4842e2(0x360)](_0x103187,this[_0x4842e2(0x20d)][_0x4842e2(0x37d)](_0x103187[_0x4842e2(0x2a7)](),_0x1d8d3d,_0x32197c,_0x2bf69b));}[_0x4e7c38(0x562)](_0x50a657,_0x3b4224,_0x3ea27c,_0x4b8a0f){const _0x232a81=_0x4e7c38;if(!this[_0x232a81(0x377)][_0x232a81(0x1f7)](_0x3b4224,_0x3ea27c['id']))throw Error(_0x232a81(0x46c));this[_0x232a81(0x360)](_0x50a657,this[_0x232a81(0x20d)]['createView'](_0x50a657[_0x232a81(0x2a7)](),_0x3b4224,_0x3ea27c,_0x4b8a0f));}[_0x4e7c38(0x2f2)](_0x43f900,_0x2ed944,_0x4b0294,_0x1a4f32){const _0x20196b=_0x4e7c38;if(!this['_permissionService'][_0x20196b(0x1f7)](_0x2ed944,_0x4b0294))throw Error('[BaseCommandService]:\x20cannot\x20manage\x20view.');this[_0x20196b(0x360)](_0x43f900,this[_0x20196b(0x20d)][_0x20196b(0x2f2)](_0x43f900[_0x20196b(0x2a7)](),_0x2ed944,_0x4b0294,_0x1a4f32));}[_0x4e7c38(0x3f1)](_0x258371,_0x14e0c0,_0x19e706){const _0x48dc14=_0x4e7c38;if(!this[_0x48dc14(0x377)][_0x48dc14(0x1f7)](_0x14e0c0,_0x19e706))throw Error(_0x48dc14(0x46c));this['_apply'](_0x258371,this['_factory'][_0x48dc14(0x3f1)](_0x258371[_0x48dc14(0x2a7)](),_0x14e0c0,_0x19e706));}[_0x4e7c38(0x493)](_0x9f7d32,_0x45f847,_0x5bf87d,_0x48691c){const _0x343e5f=_0x4e7c38;if(!this[_0x343e5f(0x377)]['canManageView'](_0x45f847,_0x5bf87d))throw Error('[BaseCommandService]:\x20cannot\x20manage\x20view.');this[_0x343e5f(0x360)](_0x9f7d32,this[_0x343e5f(0x20d)][_0x343e5f(0x493)](_0x9f7d32[_0x343e5f(0x2a7)](),_0x45f847,_0x5bf87d,_0x48691c));}['updateViewConfig'](_0x359fbd,_0x19eb69,_0x33444c,_0x11e07d){const _0x539337=_0x4e7c38;if(!this[_0x539337(0x377)][_0x539337(0x1f7)](_0x19eb69,_0x33444c))throw Error(_0x539337(0x46c));this[_0x539337(0x360)](_0x359fbd,this[_0x539337(0x20d)][_0x539337(0x3e4)](_0x359fbd['getSnapshot'](),_0x19eb69,_0x33444c,_0x11e07d));}[_0x4e7c38(0x276)](_0x12414e,_0x3e4429,_0x25a20b,_0x234381){const _0x20b3a3=_0x4e7c38;if(!this['_permissionService'][_0x20b3a3(0x1f7)](_0x3e4429,_0x25a20b))throw Error('[BaseCommandService]:\x20cannot\x20manage\x20view.');this[_0x20b3a3(0x360)](_0x12414e,this[_0x20b3a3(0x20d)]['setViewFilter'](_0x12414e['getSnapshot'](),_0x3e4429,_0x25a20b,_0x234381));}['setViewSort'](_0xc558c3,_0x10d0fb,_0x19856b,_0x3c2781){const _0x1d07aa=_0x4e7c38;if(!this[_0x1d07aa(0x377)]['canManageView'](_0x10d0fb,_0x19856b))throw Error(_0x1d07aa(0x46c));this[_0x1d07aa(0x360)](_0xc558c3,this[_0x1d07aa(0x20d)][_0x1d07aa(0x374)](_0xc558c3[_0x1d07aa(0x2a7)](),_0x10d0fb,_0x19856b,_0x3c2781));}[_0x4e7c38(0x2ca)](_0x4a8d1c,_0xcb6204,_0x538c9f,_0x3fa4fe){const _0x36168a=_0x4e7c38;if(!this[_0x36168a(0x377)]['canManageView'](_0xcb6204,_0x538c9f))throw Error(_0x36168a(0x46c));this[_0x36168a(0x360)](_0x4a8d1c,this['_factory']['setViewGroup'](_0x4a8d1c[_0x36168a(0x2a7)](),_0xcb6204,_0x538c9f,_0x3fa4fe));}['setViewFieldVisible'](_0x197f5a,_0x4c154d,_0x434e27,_0x4c8479,_0x12c4ef){const _0x12d73b=_0x4e7c38;if(!this[_0x12d73b(0x377)][_0x12d73b(0x1f7)](_0x4c154d,_0x434e27))throw Error('[BaseCommandService]:\x20cannot\x20manage\x20view.');this[_0x12d73b(0x360)](_0x197f5a,this['_factory'][_0x12d73b(0x2e7)](_0x197f5a['getSnapshot'](),_0x4c154d,_0x434e27,_0x4c8479,_0x12c4ef));}[_0x4e7c38(0x4dd)](_0x3d2264,_0x38c399,_0x1d9c45,_0x23ec9d,_0x4bd471){const _0x25c312=_0x4e7c38;if(!this[_0x25c312(0x377)]['canManageView'](_0x38c399,_0x1d9c45))throw Error(_0x25c312(0x46c));this['_apply'](_0x3d2264,this['_factory'][_0x25c312(0x4dd)](_0x3d2264[_0x25c312(0x2a7)](),_0x38c399,_0x1d9c45,_0x23ec9d,_0x4bd471));}[_0x4e7c38(0x4c9)](_0x582432,_0x1730d7,_0x54f37a,_0x356f4f,_0x59796e){const _0xed2174=_0x4e7c38;if(!this[_0xed2174(0x377)][_0xed2174(0x1f7)](_0x1730d7,_0x54f37a))throw Error(_0xed2174(0x46c));this[_0xed2174(0x360)](_0x582432,this[_0xed2174(0x20d)][_0xed2174(0x4c9)](_0x582432[_0xed2174(0x2a7)](),_0x1730d7,_0x54f37a,_0x356f4f,_0x59796e));}[_0x4e7c38(0x360)](_0x3e60db,_0x4f4263){const _0x38fe92=_0x4e7c38;let _0x594714=_0x3e60db[_0x38fe92(0x2a7)]();_0x3e60db[_0x38fe92(0x411)](this[_0x38fe92(0x275)]['applyOp'](_0x594714,_0x4f4263));}[_0x4e7c38(0x373)](_0x21af76,_0x2b5391,_0x2dcc2f,_0x1c9d64=this['_createNumberingAllocators'](_0x21af76[_0x4e7c38(0x29e)][_0x2b5391])){const _0x147cb3=_0x4e7c38;let _0x20358c=_0x21af76[_0x147cb3(0x29e)][_0x2b5391],_0x172efa=_0x2dcc2f[_0x147cb3(0x4f0)]??_0x2dcc2f[_0x147cb3(0x4af)]??this[_0x147cb3(0x2ad)](),_0x4390da={..._0x2dcc2f,'createdBy':_0x2dcc2f[_0x147cb3(0x4f0)]??_0x172efa,'updatedBy':_0x2dcc2f[_0x147cb3(0x4af)]??_0x172efa,'values':{..._0x2dcc2f[_0x147cb3(0x4c0)]}};return _0x4390da[_0x147cb3(0x4c0)][_0x5802d7]=_0x4390da['id'],_0x20358c[_0x147cb3(0x4dc)][_0x147cb3(0x397)](_0x51cbd0=>{const _0x5ce131=_0x147cb3;let _0x39c456=_0x20358c['fields'][_0x51cbd0];if(_0x39c456&&_0x4390da[_0x5ce131(0x4c0)][_0x51cbd0]===void 0x0)switch(_0x39c456[_0x5ce131(0x30b)]){case _0x377615[_0x5ce131(0x34c)]:var _0x11f765;_0x4390da[_0x5ce131(0x4c0)][_0x51cbd0]=((_0x11f765=_0x1c9d64['get'](_0x51cbd0))==null?void 0x0:_0x11f765())??this['_createNumberingAllocator'](_0x20358c,_0x51cbd0)();break;case _0x377615[_0x5ce131(0x1cd)]:_0x4390da[_0x5ce131(0x4f0)]&&(_0x4390da['values'][_0x51cbd0]=_0x4390da[_0x5ce131(0x4f0)]);break;case _0x377615[_0x5ce131(0x3c0)]:_0x4390da[_0x5ce131(0x4af)]&&(_0x4390da[_0x5ce131(0x4c0)][_0x51cbd0]=_0x4390da[_0x5ce131(0x4af)]);break;case _0x377615['CreatedAt']:_0x4390da['values'][_0x51cbd0]=B(_0x4390da[_0x5ce131(0x42f)]);break;case _0x377615[_0x5ce131(0x4ec)]:_0x4390da[_0x5ce131(0x4c0)][_0x51cbd0]=B(_0x4390da[_0x5ce131(0x3d8)]);break;default:{let _0x2fad65=_0x39c456['defaultValue'];_0x2fad65!=null&&_0x2fad65!==''&&!(Array[_0x5ce131(0x56b)](_0x2fad65)&&_0x2fad65[_0x5ce131(0x2b6)]===0x0)&&(_0x4390da[_0x5ce131(0x4c0)][_0x51cbd0]=_0x2fad65);}}}),_0x4390da;}[_0x4e7c38(0x57c)](_0x2dc1ff,_0xa59d7b,_0x5c4a69,_0x3af5ab){const _0x3e1482=_0x4e7c38;var _0x14d03f,_0x4b556d;let _0x1faa98=_0x2dc1ff[_0x3e1482(0x29e)][_0xa59d7b],_0x2cad52=((_0x14d03f=(_0x4b556d=this[_0x3e1482(0x2d9)])[_0x3e1482(0x32e)])==null?void 0x0:_0x14d03f[_0x3e1482(0x386)](_0x4b556d))??Date[_0x3e1482(0x32e)](),_0x1dbba4=this[_0x3e1482(0x2ad)](),_0x3bdf9f={..._0x3af5ab};return _0x1faa98[_0x3e1482(0x4dc)]['forEach'](_0x58fd98=>{const _0x30baf2=_0x3e1482;let _0x3721cb=_0x1faa98[_0x30baf2(0x531)][_0x58fd98];_0x3721cb&&(_0x3721cb[_0x30baf2(0x30b)]===_0x377615[_0x30baf2(0x4ec)]&&(_0x3bdf9f[_0x58fd98]=B(_0x2cad52)),_0x3721cb[_0x30baf2(0x30b)]===_0x377615[_0x30baf2(0x3c0)]&&_0x1dbba4&&(_0x3bdf9f[_0x58fd98]=_0x1dbba4));}),{'recordId':_0x5c4a69,'values':_0x3bdf9f,'recordPatch':{'updatedAt':_0x2cad52,..._0x1dbba4?{'updatedBy':_0x1dbba4}:{}}};}[_0x4e7c38(0x316)](_0x198349,_0x7fa742,_0x50121b){const _0x14daf1=_0x4e7c38;let _0x259318=_0x198349[_0x14daf1(0x29e)][_0x7fa742];return!_0x259318||!Yr(_0x50121b)?[]:_0x50121b[_0x14daf1(0x30b)]===_0x377615[_0x14daf1(0x34c)]?this[_0x14daf1(0x4c4)](_0x259318,_0x50121b['id']):Object[_0x14daf1(0x4c0)](_0x259318[_0x14daf1(0x2d1)])[_0x14daf1(0x470)](_0x47bfeb=>{const _0x17b4c4=_0x14daf1;let _0x279927=this[_0x17b4c4(0x27b)](_0x50121b,_0x47bfeb);return _0x279927===void 0x0?[]:[{'recordId':_0x47bfeb['id'],'values':{[_0x50121b['id']]:_0x279927}}];});}[_0x4e7c38(0x27b)](_0x1177a5,_0x288398){const _0x3c5b73=_0x4e7c38;switch(_0x1177a5['type']){case _0x377615[_0x3c5b73(0x1cd)]:return _0x288398[_0x3c5b73(0x4f0)]??this[_0x3c5b73(0x2ad)]();case _0x377615['UpdatedBy']:return _0x288398[_0x3c5b73(0x4af)]??this[_0x3c5b73(0x2ad)]();case _0x377615[_0x3c5b73(0x3d5)]:return B(_0x288398[_0x3c5b73(0x42f)]??Date[_0x3c5b73(0x32e)]());case _0x377615[_0x3c5b73(0x4ec)]:return B(_0x288398['updatedAt']??Date[_0x3c5b73(0x32e)]());default:return;}}[_0x4e7c38(0x4da)](_0xf99775){const _0x2986de=_0x4e7c38;let _0xe562ca=new Map();return _0xf99775&&_0xf99775[_0x2986de(0x4dc)][_0x2986de(0x397)](_0x1d5fcf=>{const _0x1bc4fb=_0x2986de;let _0x5b0df6=_0xf99775['fields'][_0x1d5fcf];(_0x5b0df6==null?void 0x0:_0x5b0df6['type'])===_0x377615[_0x1bc4fb(0x34c)]&&_0xe562ca['set'](_0x1d5fcf,this[_0x1bc4fb(0x330)](_0xf99775,_0x1d5fcf));}),_0xe562ca;}['_createNumberingAllocator'](_0x32651e,_0x2d221a){const _0x13a3b6=_0x4e7c38;let _0x5e203d=Object['values'](_0x32651e[_0x13a3b6(0x2d1)])[_0x13a3b6(0x54c)]((_0x58f60a,_0x248524)=>{const _0x41dfa8=_0x13a3b6;let _0x11991d=Number(_0x248524['values'][_0x2d221a]);return Number[_0x41dfa8(0x338)](_0x11991d)?Math['max'](_0x58f60a,_0x11991d):_0x58f60a;},0x0);return()=>String(++_0x5e203d);}[_0x4e7c38(0x4c4)](_0x136161,_0x28dd59){const _0x1502c9=_0x4e7c38;let _0x52b60f=this[_0x1502c9(0x421)](_0x136161),_0x45453e=this[_0x1502c9(0x330)](_0x136161,_0x28dd59);return _0x52b60f[_0x1502c9(0x470)](_0xeefd2=>this['_isNonEmptyCellValue'](_0xeefd2[_0x1502c9(0x4c0)][_0x28dd59])?[]:[{'recordId':_0xeefd2['id'],'values':{[_0x28dd59]:_0x45453e()}}]);}[_0x4e7c38(0x421)](_0x466ce0){const _0x23e716=_0x4e7c38;var _0x4a7b45;let _0x452f10=Object[_0x23e716(0x4c0)](_0x466ce0[_0x23e716(0x2d1)]),_0x1215dc=new Map(_0x452f10[_0x23e716(0x3e8)](_0x2cd45b=>[_0x2cd45b['id'],_0x2cd45b])),_0x3ae35a=[],_0x594167=new Set();(_0x4a7b45=_0x466ce0[_0x23e716(0x52d)])==null||_0x4a7b45[_0x23e716(0x397)](_0xf3b32a=>{const _0x2e1fc0=_0x23e716;let _0x31de78=_0x1215dc[_0x2e1fc0(0x4d5)](_0xf3b32a);_0x31de78&&(_0x3ae35a[_0x2e1fc0(0x3e2)](_0x31de78),_0x594167['add'](_0xf3b32a));});let _0x23d625=_0x452f10[_0x23e716(0x20f)](_0x10ec80=>!_0x594167['has'](_0x10ec80['id']))[_0x23e716(0x266)]((_0x476888,_0x38f3a7)=>String(_0x476888[_0x23e716(0x24c)]??_0x476888['id'])[_0x23e716(0x582)](String(_0x38f3a7[_0x23e716(0x24c)]??_0x38f3a7['id']))||_0x476888['id'][_0x23e716(0x582)](_0x38f3a7['id']));return[..._0x3ae35a,..._0x23d625];}['_isNonEmptyCellValue'](_0x54a1f4){const _0x3e664e=_0x4e7c38;return _0x54a1f4!=null&&_0x54a1f4!==''&&!(Array[_0x3e664e(0x56b)](_0x54a1f4)&&_0x54a1f4[_0x3e664e(0x2b6)]===0x0);}['_getCurrentUserId'](){const _0x27ab97=_0x4e7c38;var _0x4d0b46,_0x283227,_0x5c7915,_0x1fdc96;return((_0x4d0b46=(_0x283227=this['_runtimeContext'])[_0x27ab97(0x4ef)])==null?void 0x0:_0x4d0b46[_0x27ab97(0x386)](_0x283227))??((_0x5c7915=(_0x1fdc96=this[_0x27ab97(0x2d9)])[_0x27ab97(0x4aa)])==null||(_0x5c7915=_0x5c7915['call'](_0x1fdc96))==null?void 0x0:_0x5c7915[_0x27ab97(0x55a)])??void 0x0;}[_0x4e7c38(0x57f)](_0x3a73a7,_0xe4f52b,_0x44d552,_0x8d14c7,_0x4723e3){const _0xf6d8b9=_0x4e7c38;var _0x489c1d;if(!this['_permissionService'][_0xf6d8b9(0x228)](_0xe4f52b,_0x44d552,_0x8d14c7))throw Error(_0xf6d8b9(0x2f5));let _0x382c70=(_0x489c1d=_0x3a73a7[_0xf6d8b9(0x29e)][_0xe4f52b])==null?void 0x0:_0x489c1d[_0xf6d8b9(0x531)][_0x8d14c7];if(!_0x382c70)throw Error(_0xf6d8b9(0x322)+_0x8d14c7+_0xf6d8b9(0x4a8));let _0x567826=this['_fieldRegistry'][_0xf6d8b9(0x4d5)](_0x382c70[_0xf6d8b9(0x30b)]);if(_0x382c70[_0xf6d8b9(0x339)]||_0x382c70[_0xf6d8b9(0x26d)]||!_0x567826['getCapabilities'](_0x382c70)[_0xf6d8b9(0x1d7)])throw Error('[BaseCommandService]:\x20cannot\x20edit\x20readonly\x20field.');let _0x55a119=_0x567826['normalize'](_0x4723e3,_0x382c70),_0x8fb446=_0x567826[_0xf6d8b9(0x1bc)](_0x55a119,_0x382c70);if(!_0x8fb446[_0xf6d8b9(0x29f)])throw Error(_0x8fb446['reason']??_0xf6d8b9(0x408));let _0x28a784=_0x382c70[_0xf6d8b9(0x30b)]===_0x377615[_0xf6d8b9(0x23d)]?Ve(_0x3a73a7,_0x382c70,_0x55a119):{'valid':!0x0};if(!_0x28a784[_0xf6d8b9(0x29f)])throw Error(_0x28a784[_0xf6d8b9(0x3be)]??_0xf6d8b9(0x575));return _0x55a119;}[_0x4e7c38(0x41e)](_0x1df3f9,_0x4ca1d6){const _0x2d7cbb=_0x4e7c38;if(_0x4ca1d6['id']===_0x5802d7||_0x4ca1d6[_0x2d7cbb(0x30b)]===_0x377615['RecordId']||_0x56e40f(_0x4ca1d6['name']))throw Error(_0x2d7cbb(0x30e));let _0x217a61=Be(_0x1df3f9,_0x4ca1d6);if(!_0x217a61[_0x2d7cbb(0x29f)])throw Error(_0x217a61[_0x2d7cbb(0x3be)]??'[BaseCommandService]:\x20invalid\x20field\x20definition.');}};qr=X([Y(0x0,Br),Y(0x1,mr)],qr);function Jr(){const _0x4fb580=_0x4e7c38;let _0x24fa03=new hr();return zn()[_0x4fb580(0x397)](_0x1c96fc=>_0x24fa03[_0x4fb580(0x27e)](_0x1c96fc)),_0x24fa03;}function Yr(_0x4d082a){const _0x2ae2e3=_0x4e7c38;return _0x4d082a['type']===_0x377615[_0x2ae2e3(0x34c)]||_0x4d082a[_0x2ae2e3(0x30b)]===_0x377615['CreatedBy']||_0x4d082a['type']===_0x377615[_0x2ae2e3(0x3c0)]||_0x4d082a[_0x2ae2e3(0x30b)]===_0x377615[_0x2ae2e3(0x3d5)]||_0x4d082a[_0x2ae2e3(0x30b)]===_0x377615['UpdatedAt'];}const Xr=new Set([_0x377615[_0x4e7c38(0x3a3)],_0x377615['Rating'],_0x377615[_0x4e7c38(0x1e2)]]);function Zr(_0xb28b69){const _0x3e2a6c=_0x4e7c38;let _0x27d160=_0xb28b69['fields'][_0xb28b69[_0x3e2a6c(0x48d)]];if((!_0x27d160||_0x27d160[_0x3e2a6c(0x26d)]!==!0x0&&_0x27d160['id'][_0x3e2a6c(0x1e9)]()!=='id'&&_0x27d160['name'][_0x3e2a6c(0x42c)]()[_0x3e2a6c(0x1e9)]()!=='id')&&_0x27d160)return _0x27d160['id'];for(let _0x17651f of _0xb28b69[_0x3e2a6c(0x4dc)]){let _0x4bc355=_0xb28b69[_0x3e2a6c(0x531)][_0x17651f];if(_0x4bc355&&_0x4bc355['id']!==_0xb28b69[_0x3e2a6c(0x48d)]&&_0x4bc355['system']!==!0x0&&_0x4bc355[_0x3e2a6c(0x30b)]!==_0x377615[_0x3e2a6c(0x4c5)])return _0x4bc355['id'];}return _0xb28b69[_0x3e2a6c(0x48d)];}function Qr(_0x1f35b6,_0x9ecf76=[],_0x52391e=0x5){const _0x171816=_0x4e7c38;let _0x37d27b=new Set(_0x9ecf76['filter'](_0x439708=>!!_0x439708)),_0x49f9cf=[],_0xe2ecc6=[];for(let _0x299321 of _0x1f35b6[_0x171816(0x4dc)]){let _0x290d2d=_0x1f35b6['fields'][_0x299321];_0x290d2d&&_0x290d2d['system']!==!0x0&&_0x290d2d[_0x171816(0x30b)]!==_0x377615[_0x171816(0x4c5)]&&!_0x37d27b[_0x171816(0x4d6)](_0x290d2d['id'])&&(Xr[_0x171816(0x4d6)](_0x290d2d[_0x171816(0x30b)])?_0x49f9cf:_0xe2ecc6)[_0x171816(0x3e2)](_0x290d2d['id']);}return[..._0x49f9cf,..._0xe2ecc6][_0x171816(0x479)](0x0,_0x52391e);}function $r(){const _0x143b01=_0x4e7c38;return[{'type':_0xa6488a[_0x143b01(0x571)],'i18nKey':_0x143b01(0x1bf),'createDefaultConfig':()=>({}),'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x1b34db=_0x143b01;throw Error(_0x1b34db(0x4be));}},{'type':_0xa6488a[_0x143b01(0x466)],'i18nKey':'base.viewType.kanban','createDefaultConfig':_0x502c66=>{const _0x5abd74=_0x143b01;let _0x149638=ei(_0x502c66);return{'groupFieldId':_0x149638,'coverFieldId':null,'cardLayout':_0x5abd74(0x556),'showFieldNames':!0x0,'fieldSettings':{},'columnSettings':{},'card':{'titleFieldId':_0x502c66[_0x5abd74(0x48d)],'fieldIds':Qr(_0x502c66,[_0x502c66[_0x5abd74(0x48d)],_0x149638])}};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x5c29be=_0x143b01;throw Error(_0x5c29be(0x331));}},{'type':_0xa6488a['Calendar'],'i18nKey':_0x143b01(0x1d1),'createDefaultConfig':_0xe4f93f=>{const _0x24db85=_0x143b01;let _0x4729a3=ti(_0xe4f93f);return{'startDateFieldId':_0x4729a3,'endDateFieldId':ni(_0xe4f93f,_0x4729a3),'titleFieldId':_0xe4f93f['primaryFieldId'],'mode':_0x24db85(0x564),'timeslotSize':_0x24db85(0x576),'timeZone':_0x24db85(0x31c),'displayColor':{'type':_0x24db85(0x333),'color':_0x24db85(0x297)},'fieldSettings':{}};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x270e2d=_0x143b01;throw Error(_0x270e2d(0x587));}},{'type':_0xa6488a[_0x143b01(0x451)],'i18nKey':_0x143b01(0x4d2),'createDefaultConfig':_0x23698a=>{const _0x42fe66=_0x143b01;let _0x3f4ab2=ti(_0x23698a);return{'startDateFieldId':_0x3f4ab2,'endDateFieldId':ni(_0x23698a,_0x3f4ab2)??_0x3f4ab2,'titleFieldId':_0x23698a[_0x42fe66(0x48d)],'scale':'month','showTodayLine':!0x0,'displayColor':{'type':_0x42fe66(0x333),'color':'#14b8a6'},'fieldSettings':{},'workingDaysOnly':!0x1};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x26f4bc=_0x143b01;throw Error(_0x26f4bc(0x476));}},{'type':_0xa6488a[_0x143b01(0x226)],'i18nKey':_0x143b01(0x4d4),'createDefaultConfig':_0x19a07f=>{const _0x1db7e8=_0x143b01;let _0xc159c0=Zr(_0x19a07f);return{'coverFieldId':null,'cardLayout':_0x1db7e8(0x556),'showFieldNames':!0x0,'fieldSettings':{},'card':{'titleFieldId':_0xc159c0,'coverFieldId':null,'fieldIds':Qr(_0x19a07f,[_0xc159c0,_0x19a07f[_0x1db7e8(0x48d)]])},'cardSize':_0x1db7e8(0x576)};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x41cd36=_0x143b01;throw Error(_0x41cd36(0x47e));}}];}function ei(_0xf7d6bd){const _0x635eb=_0x4e7c38;var _0x583a12,_0x260f9e,_0x1ea509;let _0x5dbc80=_0xf7d6bd['fieldOrder'][_0x635eb(0x3e8)](_0x35cd60=>_0xf7d6bd['fields'][_0x35cd60])[_0x635eb(0x20f)](_0x3ab736=>!!_0x3ab736);return((_0x583a12=_0x5dbc80['find'](_0x18e248=>_0x18e248[_0x635eb(0x30b)]===_0x377615['SingleSelect']||_0x18e248[_0x635eb(0x30b)]===_0x377615[_0x635eb(0x1eb)]||_0x18e248['type']===_0x377615[_0x635eb(0x1c4)]))==null?void 0x0:_0x583a12['id'])??((_0x260f9e=_0x5dbc80[_0x635eb(0x1c5)](_0x45e8d5=>_0x45e8d5[_0x635eb(0x30b)]===_0x377615[_0x635eb(0x46e)]))==null?void 0x0:_0x260f9e['id'])??((_0x1ea509=_0x5dbc80['find'](_0x2fc0aa=>_0x2fc0aa[_0x635eb(0x30b)]===_0x377615['Date']||_0x2fc0aa[_0x635eb(0x30b)]===_0x377615[_0x635eb(0x3d5)]||_0x2fc0aa[_0x635eb(0x30b)]===_0x377615['UpdatedAt']))==null?void 0x0:_0x1ea509['id'])??_0xf7d6bd[_0x635eb(0x48d)];}function ti(_0xd68f0c){const _0x1025df=_0x4e7c38;var _0x51298f;return((_0x51298f=_0xd68f0c[_0x1025df(0x4dc)]['map'](_0x4acc43=>_0xd68f0c[_0x1025df(0x531)][_0x4acc43])['find'](ri))==null?void 0x0:_0x51298f['id'])??'';}function ni(_0x50f93e,_0x4d08f4){const _0x42593a=_0x4e7c38;var _0x47ebed;return(_0x47ebed=_0x50f93e['fieldOrder'][_0x42593a(0x3e8)](_0x48bf9e=>_0x50f93e[_0x42593a(0x531)][_0x48bf9e])[_0x42593a(0x1c5)](_0x52796c=>ri(_0x52796c)&&_0x52796c['id']!==_0x4d08f4))==null?void 0x0:_0x47ebed['id'];}function ri(_0x3ac8d4){const _0xc9b116=_0x4e7c38;return!!_0x3ac8d4&&_0x3ac8d4[_0xc9b116(0x30b)]===_0x377615[_0xc9b116(0x55e)]&&_0x3ac8d4['readonly']!==!0x0&&_0x3ac8d4['system']!==!0x0;}const ii=_0x3c907b('base.projection.service'),ai=new Set([_0x377615[_0x4e7c38(0x242)],_0x377615[_0x4e7c38(0x40e)],_0x377615[_0x4e7c38(0x3a3)],_0x377615[_0x4e7c38(0x33a)],_0x377615[_0x4e7c38(0x55e)],_0x377615[_0x4e7c38(0x3d5)],_0x377615['UpdatedAt'],_0x377615['Checkbox']]),oi=0x5265c00;let si=class extends _0x3aec08{constructor(_0x3a7318){const _0x2bc9e1=_0x4e7c38;super(),this[_0x2bc9e1(0x21f)]=_0x3a7318,G(this,_0x2bc9e1(0x492),new Map()),G(this,_0x2bc9e1(0x44c),new WeakMap()),G(this,_0x2bc9e1(0x436),new Map()),G(this,'_projectedViewRowsCache',new Map()),G(this,_0x2bc9e1(0x4bf),new Map()),G(this,_0x2bc9e1(0x497),new Map()),G(this,_0x2bc9e1(0x549),0x0),G(this,'_tableRevisions',new Map()),G(this,_0x2bc9e1(0x586),new Map()),G(this,_0x2bc9e1(0x4d8),new Map()),G(this,'_viewRevisions',new Map());}[_0x4e7c38(0x343)](_0x366781){const _0x5e7c7c=_0x4e7c38;return this[_0x5e7c7c(0x492)][_0x5e7c7c(0x205)](_0x366781[_0x5e7c7c(0x30b)],_0x366781),_0x3e2bb5(()=>this[_0x5e7c7c(0x492)][_0x5e7c7c(0x57a)](_0x366781[_0x5e7c7c(0x30b)]));}[_0x4e7c38(0x447)](_0x5d306b,_0x368355,_0xfee454){const _0x53ffb2=_0x4e7c38;var _0x509dc5,_0x3e08a7,_0x1ef48b;return I(_0x53ffb2(0x33f),()=>{const _0x2f93ce=_0x53ffb2;let _0x34a600=this[_0x2f93ce(0x1ca)](_0x5d306b,_0x368355,_0xfee454);if(_0x34a600)return _0x34a600;let _0x29ce2c=_0x5d306b[_0x2f93ce(0x29e)][_0x368355],_0x564a8a=_0x29ce2c==null?void 0x0:_0x29ce2c[_0x2f93ce(0x460)][_0xfee454];if(!_0x29ce2c||!_0x564a8a)return this[_0x2f93ce(0x206)](_0x5d306b,_0x368355,_0xfee454,{'type':_0x2f93ce(0x574),'viewType':(_0x564a8a==null?void 0x0:_0x564a8a[_0x2f93ce(0x30b)])??_0xa6488a[_0x2f93ce(0x571)],'reason':_0x2f93ce(0x403)});let _0x1e5410;switch(_0x564a8a[_0x2f93ce(0x30b)]){case _0xa6488a[_0x2f93ce(0x571)]:_0x1e5410=this[_0x2f93ce(0x491)](_0x29ce2c,_0x564a8a);break;case _0xa6488a[_0x2f93ce(0x451)]:_0x1e5410=this[_0x2f93ce(0x585)](_0x29ce2c,_0x564a8a);break;case _0xa6488a[_0x2f93ce(0x466)]:_0x1e5410=this[_0x2f93ce(0x214)](_0x29ce2c,_0x564a8a);break;case _0xa6488a[_0x2f93ce(0x3a9)]:_0x1e5410=this[_0x2f93ce(0x4e4)](_0x29ce2c,_0x564a8a);break;case _0xa6488a[_0x2f93ce(0x226)]:_0x1e5410=this[_0x2f93ce(0x56a)](_0x29ce2c,_0x564a8a);break;default:_0x1e5410={'type':_0x2f93ce(0x574),'viewType':_0x564a8a['type'],'reason':_0x2f93ce(0x403)};}return this[_0x2f93ce(0x206)](_0x5d306b,_0x368355,_0xfee454,_0x1e5410);},{'tableId':_0x368355,'viewId':_0xfee454,'viewType':(_0x509dc5=_0x5d306b['tables'][_0x368355])==null||(_0x509dc5=_0x509dc5[_0x53ffb2(0x460)][_0xfee454])==null?void 0x0:_0x509dc5[_0x53ffb2(0x30b)],'records':((_0x3e08a7=_0x5d306b[_0x53ffb2(0x29e)][_0x368355])==null||(_0x3e08a7=_0x3e08a7['recordOrder'])==null?void 0x0:_0x3e08a7[_0x53ffb2(0x2b6)])??Object['keys'](((_0x1ef48b=_0x5d306b[_0x53ffb2(0x29e)][_0x368355])==null?void 0x0:_0x1ef48b[_0x53ffb2(0x2d1)])??{})[_0x53ffb2(0x2b6)]});}[_0x4e7c38(0x4f2)](_0x237b87,_0x301c7f,_0x9dcef3){const _0xbbd0b3=_0x4e7c38;var _0x1d9ed2,_0xb33e70,_0x301e40;let _0x577769=_0x237b87[_0xbbd0b3(0x29e)][_0x301c7f],_0x3a618c=_0x577769==null?void 0x0:_0x577769['views'][_0x9dcef3];if(!_0x577769||!_0x3a618c)throw Error(_0xbbd0b3(0x3fb)+_0x9dcef3+'\x22.');let _0x4aac6c=_0x2c9d0a=>!!_0x577769['fields'][_0x2c9d0a],_0x31fa13={..._0x3a618c,'filter':_0x3a618c[_0xbbd0b3(0x20f)]?{..._0x3a618c[_0xbbd0b3(0x20f)],'conditions':_0x3a618c['filter'][_0xbbd0b3(0x477)][_0xbbd0b3(0x20f)](_0x4d23b5=>_0x4aac6c(_0x4d23b5[_0xbbd0b3(0x446)]))}:_0x3a618c[_0xbbd0b3(0x20f)],'sort':(_0x1d9ed2=_0x3a618c['sort'])==null?void 0x0:_0x1d9ed2['filter'](_0x43cd91=>_0x4aac6c(_0x43cd91[_0xbbd0b3(0x446)])),'group':(_0xb33e70=_0x3a618c[_0xbbd0b3(0x3b2)])==null?void 0x0:_0xb33e70[_0xbbd0b3(0x20f)](_0x232450=>_0x4aac6c(_0x232450[_0xbbd0b3(0x446)])),'fieldOrder':(_0x301e40=_0x3a618c['fieldOrder'])==null?void 0x0:_0x301e40[_0xbbd0b3(0x20f)](_0x4aac6c),'fieldSettings':Object['fromEntries'](Object[_0xbbd0b3(0x502)](_0x3a618c[_0xbbd0b3(0x568)]??{})[_0xbbd0b3(0x20f)](([_0x4e3cdb])=>_0x4aac6c(_0x4e3cdb)))};if(_0x31fa13[_0xbbd0b3(0x30b)]==='kanban'){var _0x551635;let _0x404e63=_0x31fa13[_0xbbd0b3(0x554)]??{},_0x577fb0=this[_0xbbd0b3(0x4fb)](_0x577769,_0x31fa13),_0x399ac4=this[_0xbbd0b3(0x523)](_0x577769,(_0x551635=_0x404e63[_0xbbd0b3(0x349)])==null?void 0x0:_0x551635[_0xbbd0b3(0x1e8)]);_0x31fa13[_0xbbd0b3(0x554)]={..._0x404e63,'groupFieldId':_0x577fb0??_0x404e63[_0xbbd0b3(0x2bf)],'coverFieldId':this['_resolveKanbanCoverFieldId'](_0x577769,_0x404e63),'cardLayout':_0x404e63[_0xbbd0b3(0x21c)]===_0xbbd0b3(0x356)?_0xbbd0b3(0x356):_0xbbd0b3(0x556),'showFieldNames':_0x404e63['showFieldNames']!==!0x1,'fieldSettings':Object['fromEntries'](Object['entries'](_0x404e63[_0xbbd0b3(0x568)]??{})['filter'](([_0x4d1536])=>_0x4aac6c(_0x4d1536))),'columnSettings':_0x404e63['columnSettings']??{},'card':{..._0x404e63[_0xbbd0b3(0x349)]??{},'titleFieldId':_0x399ac4,'fieldIds':this[_0xbbd0b3(0x26b)](_0x577769,_0x31fa13,_0x577fb0??'',_0x399ac4)}};}return{'repaired':JSON[_0xbbd0b3(0x2af)](_0x31fa13)!==JSON[_0xbbd0b3(0x2af)](_0x3a618c),'view':_0x31fa13};}[_0x4e7c38(0x208)](){const _0x16b179=_0x4e7c38;this[_0x16b179(0x549)]++;}[_0x4e7c38(0x27c)](_0x3fe4d9,_0x15d779,_0x28f441){const _0x597eac=_0x4e7c38;let _0x2fee0a=this['_getCellRevision'](_0x3fe4d9)+0x1;this['_cellRevisions']['set'](_0x3fe4d9,_0x2fee0a);let _0x492b9f=this[_0x597eac(0x4d8)][_0x597eac(0x4d5)](_0x3fe4d9)??[];_0x492b9f['push']({'revision':_0x2fee0a,'recordId':_0x15d779,'fieldId':_0x28f441}),this[_0x597eac(0x4d8)][_0x597eac(0x205)](_0x3fe4d9,_0x492b9f);}[_0x4e7c38(0x2eb)](_0x1b9c83,_0x4d0f4b){const _0x393a10=_0x4e7c38;this[_0x393a10(0x3cf)](_0x1b9c83);}['invalidateByView'](_0x5468ee,_0x52a6c6){const _0x1dcca6=_0x4e7c38;this[_0x1dcca6(0x312)][_0x1dcca6(0x205)](this[_0x1dcca6(0x35d)](_0x5468ee,_0x52a6c6),this[_0x1dcca6(0x235)](_0x5468ee,_0x52a6c6)+0x1);}[_0x4e7c38(0x1ca)](_0x580231,_0x41d715,_0x1ccbd3){const _0x1cf4d4=_0x4e7c38;var _0x40e63b;let _0x55a9fe=(_0x40e63b=this[_0x1cf4d4(0x44c)][_0x1cf4d4(0x4d5)](_0x580231))==null?void 0x0:_0x40e63b[_0x1cf4d4(0x4d5)](this['_cacheKey'](_0x41d715,_0x1ccbd3));return _0x55a9fe&&_0x55a9fe[_0x1cf4d4(0x47d)]===this['_globalRevision']&&_0x55a9fe[_0x1cf4d4(0x287)]===this[_0x1cf4d4(0x229)](_0x41d715)&&_0x55a9fe['cellRevision']===this[_0x1cf4d4(0x371)](_0x41d715)&&_0x55a9fe[_0x1cf4d4(0x33d)]===this[_0x1cf4d4(0x235)](_0x41d715,_0x1ccbd3)?_0x55a9fe[_0x1cf4d4(0x56f)]:null;}[_0x4e7c38(0x206)](_0x354f8c,_0x851649,_0x34e2a1,_0x1451d4){const _0x4f704f=_0x4e7c38;let _0x579d8b=this[_0x4f704f(0x44c)]['get'](_0x354f8c);return _0x579d8b||(_0x579d8b=new Map(),this['_projectionCache'][_0x4f704f(0x205)](_0x354f8c,_0x579d8b)),_0x579d8b[_0x4f704f(0x205)](this[_0x4f704f(0x370)](_0x851649,_0x34e2a1),{'projection':_0x1451d4,'globalRevision':this[_0x4f704f(0x549)],'tableRevision':this[_0x4f704f(0x229)](_0x851649),'cellRevision':this[_0x4f704f(0x371)](_0x851649),'viewRevision':this[_0x4f704f(0x235)](_0x851649,_0x34e2a1)}),_0x1451d4;}['_bumpTableRevision'](_0x35e2a3){const _0x3a8445=_0x4e7c38;this[_0x3a8445(0x241)][_0x3a8445(0x205)](_0x35e2a3,this[_0x3a8445(0x229)](_0x35e2a3)+0x1);}[_0x4e7c38(0x229)](_0x333e29){const _0x554a63=_0x4e7c38;return this[_0x554a63(0x241)][_0x554a63(0x4d5)](_0x333e29)??0x0;}['_getCellRevision'](_0x2ef57d){const _0x1c741b=_0x4e7c38;return this['_cellRevisions'][_0x1c741b(0x4d5)](_0x2ef57d)??0x0;}['_getViewRevision'](_0xf1efee,_0xa0f28f){const _0x3a98bb=_0x4e7c38;return this[_0x3a98bb(0x312)][_0x3a98bb(0x4d5)](this[_0x3a98bb(0x35d)](_0xf1efee,_0xa0f28f))??0x0;}[_0x4e7c38(0x370)](_0x48b7b2,_0x41bae3){return _0x48b7b2+'\x00'+_0x41bae3;}[_0x4e7c38(0x4b3)](_0x46b932,_0x3869ad){const _0x391538=_0x4e7c38;return _0x46b932+'\x00'+this[_0x391538(0x1f1)](_0x3869ad);}['_groupsCacheKey'](_0x10b49d,_0x14223c,_0x222c25){const _0x1e1d6c=_0x4e7c38;return _0x10b49d+'\x00'+this[_0x1e1d6c(0x1f1)](_0x14223c)+'\x00'+this[_0x1e1d6c(0x2be)](_0x222c25);}[_0x4e7c38(0x1f1)](_0x3ad906){const _0xdf97f=_0x4e7c38;return _0x3ad906?mi({'filter':di(_0x3ad906['filter']),'sort':pi(_0x3ad906[_0xdf97f(0x266)])}):_0xdf97f(0x36a);}[_0x4e7c38(0x2be)](_0x51e50d){const _0x258999=_0x4e7c38;return mi(_0x51e50d[_0x258999(0x3e8)](_0x407d7c=>({'fieldId':_0x407d7c['fieldId'],'direction':_0x407d7c[_0x258999(0x1e7)]??null})));}[_0x4e7c38(0x35d)](_0x74d7f2,_0x5e1d9e){return _0x74d7f2+'\x00'+_0x5e1d9e;}[_0x4e7c38(0x491)](_0xb04d2,_0x1f3ae9){const _0x3fa43b=_0x4e7c38;var _0x2c0550;let _0xb49b00=Je(_0xb04d2),_0x7e836c=this['_projectRows'](_0xb04d2,_0x1f3ae9),_0x331734=(_0x2c0550=_0x1f3ae9[_0x3fa43b(0x20f)])!=null&&_0x2c0550['conditions'][_0x3fa43b(0x2b6)]?this[_0x3fa43b(0x243)](_0xb04d2,{..._0x1f3ae9,'filter':null}):_0x7e836c,_0x29cec8=nt(this[_0x3fa43b(0x2dc)](_0xb04d2,_0xb49b00,_0x1f3ae9['id'],_0x331734[_0x3fa43b(0x3e8)](_0x4b207b=>_0x4b207b[_0x3fa43b(0x394)])),_0x331734,new Set(_0x7e836c[_0x3fa43b(0x3e8)](_0x1491fb=>_0x1491fb[_0x3fa43b(0x394)])));return{'type':_0xa6488a[_0x3fa43b(0x571)],'fields':this['_projectFields'](_0xb04d2,_0x1f3ae9),'rows':_0x29cec8[_0x3fa43b(0x2ff)],'groups':this['_projectHierarchyGroups'](_0xb04d2,_0x1f3ae9,_0x29cec8[_0x3fa43b(0x2ff)],_0x29cec8[_0x3fa43b(0x3c2)]),'hierarchy':_0x29cec8['hierarchy'],'frozenFieldCount':typeof _0x1f3ae9['config']['frozenFieldCount']==_0x3fa43b(0x43a)?_0x1f3ae9[_0x3fa43b(0x554)][_0x3fa43b(0x4cd)]:0x0};}[_0x4e7c38(0x2dc)](_0x307da5,_0x4c032f,_0x495a9a,_0x7345fc){const _0x1789e9=_0x4e7c38;let _0x576cc1=_0x307da5['id']+'\x00'+_0x4c032f+'\x00'+_0x495a9a,_0x2e263c=this[_0x1789e9(0x371)](_0x307da5['id']),_0x53501e=this[_0x1789e9(0x497)]['get'](_0x576cc1);if(_0x53501e&&_0x53501e[_0x1789e9(0x47d)]===this[_0x1789e9(0x549)]&&_0x53501e[_0x1789e9(0x287)]===this[_0x1789e9(0x229)](_0x307da5['id'])&&_0x53501e[_0x1789e9(0x286)][_0x1789e9(0x2b6)]===_0x7345fc[_0x1789e9(0x2b6)]&&_0x53501e[_0x1789e9(0x286)]['every']((_0x4ce308,_0x5d7003)=>_0x4ce308===_0x7345fc[_0x5d7003])){if(_0x53501e['cellRevision']===_0x2e263c&&_0x53501e['table']===_0x307da5)return _0x53501e['index'];if(!this[_0x1789e9(0x4d0)](_0x307da5['id'],_0x53501e[_0x1789e9(0x43f)],_0x2e263c,new Set([_0x4c032f])))return this[_0x1789e9(0x497)][_0x1789e9(0x205)](_0x576cc1,{..._0x53501e,'table':_0x307da5,'cellRevision':_0x2e263c}),_0x53501e['index'];}let _0x380f91=tt(_0x307da5,_0x4c032f,_0x7345fc);return this[_0x1789e9(0x497)][_0x1789e9(0x205)](_0x576cc1,{'table':_0x307da5,'index':_0x380f91,'orderedRecordIds':_0x7345fc,'globalRevision':this[_0x1789e9(0x549)],'tableRevision':this[_0x1789e9(0x229)](_0x307da5['id']),'cellRevision':_0x2e263c}),_0x380f91;}[_0x4e7c38(0x53a)](_0x56a747,_0x50f7ea,_0x38953a,_0x1087a2){const _0x148a3d=_0x4e7c38;var _0x3d43dd;if(!((_0x3d43dd=_0x50f7ea[_0x148a3d(0x3b2)])!=null&&_0x3d43dd['length']))return[];let _0x231270=new Map(_0x38953a[_0x148a3d(0x3e8)](_0x1cadf7=>[_0x1cadf7[_0x148a3d(0x394)],_0x1cadf7])),_0x15fa68=_0x1087a2[_0x148a3d(0x23f)]['flatMap'](_0x44fd1f=>{const _0x313eec=_0x148a3d;let _0x21958c=_0x231270[_0x313eec(0x4d5)](_0x44fd1f);return _0x21958c?[_0x21958c]:[];}),_0x5ba8c0=this[_0x148a3d(0x55f)](_0x56a747,_0x50f7ea,_0x15fa68),_0x48c985=new Map(_0x1087a2['orderedRecordIds'][_0x148a3d(0x3e8)]((_0x37fe3f,_0x15d43d)=>[_0x37fe3f,_0x15d43d])),_0xc0aaa2=_0x31bf16=>{const _0x5778e5=_0x148a3d;let _0x5af29d=_0x1087a2['nodes'][_0x31bf16],_0x2778fe=_0x48c985[_0x5778e5(0x4d5)](_0x31bf16)??-0x1;return _0x2778fe<0x0||!_0x5af29d?[]:_0x1087a2[_0x5778e5(0x286)]['slice'](_0x2778fe,_0x5af29d['subtreeEndIndex']+0x1);},_0x20fd55=_0x2f6c47=>{const _0x4a9f1b=_0x148a3d;var _0x4101d3,_0x2daeb4;return{..._0x2f6c47,'recordIds':(_0x4101d3=_0x2f6c47[_0x4a9f1b(0x2d2)])!=null&&_0x4101d3[_0x4a9f1b(0x2b6)]?_0x2f6c47[_0x4a9f1b(0x3ad)]:_0x2f6c47[_0x4a9f1b(0x3ad)][_0x4a9f1b(0x470)](_0xc0aaa2),'children':(_0x2daeb4=_0x2f6c47['children'])==null?void 0x0:_0x2daeb4[_0x4a9f1b(0x3e8)](_0x20fd55)};};return _0x5ba8c0[_0x148a3d(0x3e8)](_0x20fd55);}[_0x4e7c38(0x214)](_0x63bc18,_0x53557b){const _0x5b39ae=_0x4e7c38;var _0x9847aa;let _0x9449e5=this[_0x5b39ae(0x4fb)](_0x63bc18,_0x53557b),_0x43323c=_0x9449e5?_0x63bc18[_0x5b39ae(0x531)][_0x9449e5]:void 0x0;if(!_0x43323c)return{'type':'invalid','viewType':_0xa6488a[_0x5b39ae(0x466)],'reason':_0x5b39ae(0x353),'fieldId':_0x53557b['config']['groupFieldId']};let _0x284919=this['_projectRows'](_0x63bc18,_0x53557b),_0x62d4cb=this[_0x5b39ae(0x4cb)](_0x63bc18,_0x53557b),_0x35671b=_0x53557b[_0x5b39ae(0x554)]??{},_0x435c16=this['_resolveCardTitleFieldId'](_0x63bc18,(_0x9847aa=_0x35671b[_0x5b39ae(0x349)])==null?void 0x0:_0x9847aa[_0x5b39ae(0x1e8)]),_0x972e17=this[_0x5b39ae(0x26b)](_0x63bc18,_0x53557b,_0x43323c['id'],_0x435c16),_0x5d387d=new Map();if(F(_0x63bc18,_0x43323c['id'])){let _0x2b05cd=this['_getHierarchyIndex'](_0x63bc18,_0x43323c['id'],_0x53557b['id'],_0x284919[_0x5b39ae(0x3e8)](_0x6b9ed8=>_0x6b9ed8[_0x5b39ae(0x394)])),_0x49da2f=new Map();return _0x284919['forEach'](_0x1f2a56=>{const _0x37aec1=_0x5b39ae;let _0x4a8d1a=_0x2b05cd[_0x37aec1(0x3ed)][_0x37aec1(0x4d5)](_0x1f2a56['recordId'])??null,_0x6ec0f2=_0x4a8d1a??'',_0x531568=_0x4a8d1a?_0x63bc18[_0x37aec1(0x2d1)][_0x4a8d1a]:void 0x0,_0x2c8022=_0x49da2f['get'](_0x6ec0f2)??{'key':_0x6ec0f2,'title':_0x531568?String(yt(_0x63bc18,_0x531568['id'],_0x63bc18[_0x37aec1(0x48d)])??_0x4a8d1a):this[_0x37aec1(0x539)](_0x43323c,_0x6ec0f2,_0x35671b),'recordIds':[]};_0x2c8022[_0x37aec1(0x3ad)][_0x37aec1(0x3e2)](_0x1f2a56[_0x37aec1(0x394)]),_0x49da2f['set'](_0x6ec0f2,_0x2c8022);}),{'type':_0xa6488a['Kanban'],'fields':_0x62d4cb,'rows':_0x284919,'groups':[],'groupFieldId':_0x43323c['id'],'titleFieldId':_0x435c16,'coverFieldId':this[_0x5b39ae(0x588)](_0x63bc18,_0x35671b),'cardLayout':_0x35671b['cardLayout']===_0x5b39ae(0x356)?_0x5b39ae(0x356):_0x5b39ae(0x556),'showFieldNames':_0x35671b['showFieldNames']!==!0x1,'visibleCardFieldIds':_0x972e17,'lanes':['',..._0x2b05cd[_0x5b39ae(0x286)]][_0x5b39ae(0x470)](_0x42927c=>{const _0x4d5297=_0x5b39ae;let _0x2fc953=_0x49da2f[_0x4d5297(0x4d5)](_0x42927c);return _0x2fc953!=null&&_0x2fc953[_0x4d5297(0x3ad)][_0x4d5297(0x2b6)]?[_0x2fc953]:[];})};}return this[_0x5b39ae(0x21b)](_0x43323c,_0x35671b)[_0x5b39ae(0x397)](_0x3422da=>_0x5d387d[_0x5b39ae(0x205)](_0x3422da[_0x5b39ae(0x340)],{..._0x3422da,'recordIds':[]})),_0x284919['forEach'](_0x30e8a3=>{const _0x1ba603=_0x5b39ae;this['_kanbanGroupKeys'](_0x43323c,_0x30e8a3[_0x1ba603(0x4c0)][_0x43323c['id']])[_0x1ba603(0x397)](_0x15b74d=>{const _0x181e7e=_0x1ba603;let _0xdc5cef=_0x5d387d[_0x181e7e(0x4d5)](_0x15b74d)??{'key':_0x15b74d,'title':this['_kanbanLaneTitle'](_0x43323c,_0x15b74d,_0x35671b),'color':this[_0x181e7e(0x391)](_0x43323c,_0x15b74d,_0x35671b),'recordIds':[]};_0xdc5cef['recordIds'][_0x181e7e(0x3e2)](_0x30e8a3['recordId']),_0x5d387d[_0x181e7e(0x205)](_0x15b74d,_0xdc5cef);});}),{'type':_0xa6488a[_0x5b39ae(0x466)],'fields':_0x62d4cb,'rows':_0x284919,'groups':this[_0x5b39ae(0x55f)](_0x63bc18,_0x53557b,_0x284919),'groupFieldId':_0x43323c['id'],'titleFieldId':_0x435c16,'coverFieldId':this[_0x5b39ae(0x588)](_0x63bc18,_0x35671b),'cardLayout':_0x35671b[_0x5b39ae(0x21c)]===_0x5b39ae(0x356)?'compose':_0x5b39ae(0x556),'showFieldNames':_0x35671b[_0x5b39ae(0x42e)]!==!0x1,'visibleCardFieldIds':_0x972e17,'lanes':Array[_0x5b39ae(0x501)](_0x5d387d['values']())};}[_0x4e7c38(0x4fb)](_0x3ddcc2,_0x13cdaa){const _0x371f84=_0x4e7c38;var _0x27eeaa;let _0x465215=(_0x27eeaa=_0x13cdaa[_0x371f84(0x554)])==null?void 0x0:_0x27eeaa[_0x371f84(0x2bf)];return _0x465215&&this[_0x371f84(0x26a)](_0x3ddcc2,_0x465215)?_0x465215:this['_findKanbanGroupField'](_0x3ddcc2,_0x402f54=>this['_isAllowedKanbanGroupField'](_0x402f54));}[_0x4e7c38(0x52e)](_0x1319de,_0x2ea73c){const _0x39d934=_0x4e7c38;for(let _0x433806 of _0x1319de[_0x39d934(0x4dc)]){let _0x1392ff=_0x1319de['fields'][_0x433806];if(_0x1392ff&&_0x2ea73c(_0x1392ff))return _0x1392ff['id'];}return null;}[_0x4e7c38(0x26a)](_0x241a31,_0xe1db02){const _0x191e97=_0x4e7c38;let _0x5ac107=_0x241a31[_0x191e97(0x531)][_0xe1db02];return this[_0x191e97(0x24e)](_0x5ac107)||F(_0x241a31,_0xe1db02);}[_0x4e7c38(0x24e)](_0x156053){const _0x5d6651=_0x4e7c38;return!!_0x156053&&(_0x156053[_0x5d6651(0x30b)]===_0x377615['SingleSelect']||_0x156053[_0x5d6651(0x30b)]===_0x377615[_0x5d6651(0x1eb)]||_0x156053['type']===_0x377615[_0x5d6651(0x33a)]||_0x156053[_0x5d6651(0x30b)]===_0x377615[_0x5d6651(0x4f8)]||_0x156053['type']===_0x377615[_0x5d6651(0x1c4)]||_0x156053[_0x5d6651(0x30b)]===_0x377615[_0x5d6651(0x1e2)]);}['_isColorfulKanbanGroupField'](_0x2e53f9){const _0x525107=_0x4e7c38;return _0x2e53f9['type']===_0x377615[_0x525107(0x38d)]||_0x2e53f9[_0x525107(0x30b)]===_0x377615['MultiSelect'];}[_0x4e7c38(0x588)](_0x41d06d,_0x4a3b2d){const _0x48858e=_0x4e7c38;var _0x2f541a;let _0x2144d3=_0x4a3b2d[_0x48858e(0x500)]??((_0x2f541a=_0x4a3b2d[_0x48858e(0x349)])==null?void 0x0:_0x2f541a[_0x48858e(0x500)])??null;if(!_0x2144d3)return null;let _0x1fe0ca=_0x41d06d[_0x48858e(0x531)][_0x2144d3];return _0x1fe0ca&&this[_0x48858e(0x3b0)](_0x1fe0ca)[_0x48858e(0x51c)]?_0x1fe0ca['id']:null;}['_resolveKanbanCardFieldIds'](_0x46bdb9,_0x5ae9ab,_0x2dc4d4,_0x5da4dd=this['_resolveCardTitleFieldId'](_0x46bdb9,((()=>{const _0x1731d9=_0x4e7c38;var _0x28e16d;return(_0x28e16d=_0x5ae9ab['config'])==null||(_0x28e16d=_0x28e16d[_0x1731d9(0x349)])==null?void 0x0:_0x28e16d[_0x1731d9(0x1e8)];})()))){const _0x10ab6d=_0x4e7c38;var _0x59240e;let _0x8687c9=_0x5ae9ab[_0x10ab6d(0x554)]??{},_0x3df962=(_0x59240e=_0x8687c9[_0x10ab6d(0x349)])!=null&&(_0x59240e=_0x59240e[_0x10ab6d(0x1c7)])!=null&&_0x59240e['length']?_0x8687c9[_0x10ab6d(0x349)]['fieldIds']:Qr(_0x46bdb9,[_0x5da4dd,_0x46bdb9[_0x10ab6d(0x48d)],_0x2dc4d4]),_0x2be65f=_0x8687c9['fieldSettings']??{};return _0x3df962[_0x10ab6d(0x20f)](_0x46834d=>{const _0x57b40f=_0x10ab6d;var _0x218720,_0x533198;let _0x3af255=_0x46bdb9['fields'][_0x46834d];return!(!_0x3af255||_0x3af255['system']===!0x0||_0x3af255['type']===_0x377615['RecordId']||_0x3af255['id']===_0x2dc4d4||_0x3af255['id']===_0x5da4dd||(_0x218720=_0x5ae9ab['fieldSettings'])!=null&&(_0x218720=_0x218720[_0x46834d])!=null&&_0x218720[_0x57b40f(0x332)]||(_0x533198=_0x2be65f[_0x46834d])!=null&&_0x533198[_0x57b40f(0x332)]);})['sort']((_0x2d7683,_0x225431)=>{const _0x2e44b8=_0x10ab6d;var _0x17558,_0x4e7125;return(((_0x17558=_0x2be65f[_0x2d7683])==null?void 0x0:_0x17558[_0x2e44b8(0x1df)])??_0x3df962[_0x2e44b8(0x20c)](_0x2d7683))-(((_0x4e7125=_0x2be65f[_0x225431])==null?void 0x0:_0x4e7125[_0x2e44b8(0x1df)])??_0x3df962[_0x2e44b8(0x20c)](_0x225431));});}[_0x4e7c38(0x21b)](_0x2c85ec,_0x4b5554){const _0x161caa=_0x4e7c38;var _0xe025ec;let _0x654d13=(Array[_0x161caa(0x56b)]((_0xe025ec=_0x2c85ec[_0x161caa(0x554)])==null?void 0x0:_0xe025ec['options'])?_0x2c85ec[_0x161caa(0x554)][_0x161caa(0x246)]:[])[_0x161caa(0x470)]((_0xe07a31,_0x3bfd8a)=>{const _0x8b6054=_0x161caa;if(_0xe07a31==null)return[];let _0x4d48b6=typeof _0xe07a31=='string'?{'id':_0xe07a31,'name':_0xe07a31,'color':void 0x0}:_0xe07a31,_0x3a7c37=String(_0x4d48b6['id']??_0x4d48b6['name']??_0x8b6054(0x4a0)+(_0x3bfd8a+0x1));return[{'key':_0x3a7c37,'title':String(_0x4d48b6[_0x8b6054(0x39a)]??_0x4d48b6['id']??_0x3a7c37),'color':this[_0x8b6054(0x391)](_0x2c85ec,_0x3a7c37,_0x4b5554)}];});return Object[_0x161caa(0x502)](_0x4b5554[_0x161caa(0x543)]??{})[_0x161caa(0x397)](([_0x3c5c8a,_0x44fdb2])=>{const _0x177d76=_0x161caa;_0x654d13['some'](_0x18e32a=>_0x18e32a[_0x177d76(0x340)]===_0x3c5c8a)||_0x654d13[_0x177d76(0x3e2)]({'key':_0x3c5c8a,'title':this['_isColorfulKanbanGroupField'](_0x2c85ec)?_0x44fdb2['title']??this[_0x177d76(0x539)](_0x2c85ec,_0x3c5c8a,_0x4b5554):this[_0x177d76(0x539)](_0x2c85ec,_0x3c5c8a,_0x4b5554),'color':this[_0x177d76(0x391)](_0x2c85ec,_0x3c5c8a,_0x4b5554)});}),_0x654d13;}[_0x4e7c38(0x1fb)](_0x5ec7c7,_0x41664b){const _0xa406f2=_0x4e7c38;let _0x3d86d8=_0x188b52=>{const _0x280026=_0x16bf;var _0x2f20ed;let _0x3010a8=_0x188b52==null?'':String(_0x188b52);return!_0x3010a8||!this[_0x280026(0x43c)](_0x5ec7c7)?_0x3010a8:((_0x2f20ed=Li(_0x5ec7c7,_0x3010a8))==null?void 0x0:_0x2f20ed['id'])??_0x3010a8;};if(Array[_0xa406f2(0x56b)](_0x41664b)){let _0x2a82d6=_0x41664b[_0xa406f2(0x3e8)](_0x3d86d8)[_0xa406f2(0x20f)](_0x377355=>_0x377355!=='');return _0x2a82d6[_0xa406f2(0x2b6)]?_0x2a82d6:[''];}return[_0x3d86d8(_0x41664b)];}[_0x4e7c38(0x539)](_0x53d8f4,_0x8f1b44,_0x3d52e2){const _0x3c6db7=_0x4e7c38;if(!_0x8f1b44)return _0x3c6db7(0x537);let _0x4a66a9=Li(_0x53d8f4,_0x8f1b44);return(_0x4a66a9==null?void 0x0:_0x4a66a9[_0x3c6db7(0x39a)])??_0x8f1b44;}[_0x4e7c38(0x391)](_0x281c3e,_0x48fd46,_0x431639){const _0x50934a=_0x4e7c38;var _0x71257e;if(this[_0x50934a(0x43c)](_0x281c3e))return(_0x71257e=Li(_0x281c3e,_0x48fd46))==null?void 0x0:_0x71257e[_0x50934a(0x480)];}[_0x4e7c38(0x4e4)](_0x2021b8,_0x3c6b16){const _0x6d1817=_0x4e7c38;let _0x3e2816=this[_0x6d1817(0x45c)](_0x2021b8,_0x3c6b16[_0x6d1817(0x554)]??{}),_0x5f0a02=_0x2021b8['fields'][_0x3e2816['startDateFieldId']];if(!_0x5f0a02||_0x5f0a02['type']!==_0x377615[_0x6d1817(0x55e)]||_0x5f0a02['readonly']===!0x0||_0x5f0a02[_0x6d1817(0x26d)]===!0x0||!this[_0x6d1817(0x3b0)](_0x5f0a02)[_0x6d1817(0x55c)])return{'type':_0x6d1817(0x574),'viewType':_0xa6488a[_0x6d1817(0x3a9)],'reason':_0x6d1817(0x26f),'fieldId':_0x3e2816[_0x6d1817(0x2fd)]};let _0x5ac76e=_0x3e2816[_0x6d1817(0x369)]?_0x2021b8['fields'][_0x3e2816['endDateFieldId']]:void 0x0,_0x5615ad=this[_0x6d1817(0x243)](_0x2021b8,_0x3c6b16);return{'type':_0xa6488a[_0x6d1817(0x3a9)],'config':_0x3e2816,'fields':this[_0x6d1817(0x4cb)](_0x2021b8,_0x3c6b16),'rows':_0x5615ad,'groups':this[_0x6d1817(0x55f)](_0x2021b8,_0x3c6b16,_0x5615ad),'events':_0x5615ad[_0x6d1817(0x470)](_0x2bbb24=>{const _0x40a7a3=_0x6d1817;let _0x31c03e=dn(_0x2bbb24[_0x40a7a3(0x4c0)][_0x3e2816[_0x40a7a3(0x2fd)]]);if(!Number[_0x40a7a3(0x338)](_0x31c03e))return[];let _0x84a2ca=_0x2bbb24[_0x40a7a3(0x4c0)][_0x3e2816['startDateFieldId']],_0x3f3792=_0x3e2816[_0x40a7a3(0x369)]==null?void 0x0:_0x2bbb24[_0x40a7a3(0x4c0)][_0x3e2816[_0x40a7a3(0x369)]],_0x5d0655=_0x3e2816['endDateFieldId']==null?void 0x0:dn(_0x3f3792),_0x11ce2b=Number['isFinite'](_0x5d0655)?_0x5d0655:void 0x0;return[{'recordId':_0x2bbb24[_0x40a7a3(0x394)],'title':this[_0x40a7a3(0x2bd)](_0x2021b8,_0x2bbb24,_0x3e2816[_0x40a7a3(0x1e8)]),'start':_0x31c03e,'end':_0x11ce2b,'color':this[_0x40a7a3(0x449)](_0x2021b8,_0x2bbb24,_0x3e2816),'startMs':_0x31c03e,'endMs':_0x11ce2b,'allDay':this['_isAllDayCalendarEvent'](_0x5f0a02,_0x5ac76e,_0x84a2ca,_0x3f3792),'fieldValues':_0x2bbb24[_0x40a7a3(0x4c0)]}];})};}['_normalizeCalendarConfig'](_0x4b3a9f,_0x340954){const _0x4453e7=_0x4e7c38;let _0x49e965=this[_0x4453e7(0x584)](_0x4b3a9f,_0x340954[_0x4453e7(0x2fd)]),_0x2a183a=_0x340954[_0x4453e7(0x369)]&&this[_0x4453e7(0x301)](_0x4b3a9f,_0x340954['endDateFieldId'])?_0x340954[_0x4453e7(0x369)]:this['_findCalendarDateFieldId'](_0x4b3a9f,_0x49e965)??void 0x0,_0x29dc65=_0x340954['titleFieldId']?_0x4b3a9f[_0x4453e7(0x531)][_0x340954['titleFieldId']]:void 0x0,_0x49486f=_0x29dc65&&_0x29dc65[_0x4453e7(0x26d)]!==!0x0&&_0x29dc65[_0x4453e7(0x30b)]!==_0x377615[_0x4453e7(0x4c5)]?_0x340954[_0x4453e7(0x1e8)]:_0x4b3a9f[_0x4453e7(0x48d)],_0x57c009=_0x340954[_0x4453e7(0x4d7)]==='day'||_0x340954[_0x4453e7(0x4d7)]==='week'?_0x340954[_0x4453e7(0x4d7)]:'month',_0x441bf4=_0x340954[_0x4453e7(0x327)]===_0x4453e7(0x33e)||_0x340954[_0x4453e7(0x327)]===_0x4453e7(0x304)?_0x340954[_0x4453e7(0x327)]:_0x4453e7(0x576),_0x3ce01d=typeof _0x340954[_0x4453e7(0x469)]==_0x4453e7(0x457)&&_0x340954['timeZone'][_0x4453e7(0x42c)]()?_0x340954[_0x4453e7(0x469)]:_0x4453e7(0x31c),_0x346ddf=this[_0x4453e7(0x4f3)](_0x4b3a9f,_0x340954);return{..._0x340954,'startDateFieldId':_0x49e965,'endDateFieldId':_0x2a183a,'titleFieldId':_0x49486f,'mode':_0x57c009,'timeslotSize':_0x441bf4,'timeZone':_0x3ce01d,'displayColor':_0x346ddf,'fieldSettings':Object[_0x4453e7(0x2c2)](Object['entries'](_0x340954[_0x4453e7(0x568)]??{})[_0x4453e7(0x20f)](([_0x4739c6])=>{const _0x984c71=_0x4453e7;let _0x3875e3=_0x4b3a9f[_0x984c71(0x531)][_0x4739c6];return!!(_0x3875e3&&_0x3875e3[_0x984c71(0x26d)]!==!0x0&&_0x3875e3[_0x984c71(0x30b)]!==_0x377615['RecordId']);}))};}[_0x4e7c38(0x584)](_0x25e31d,_0x46a339){const _0x2bba46=_0x4e7c38;return _0x46a339&&this[_0x2bba46(0x301)](_0x25e31d,_0x46a339)?_0x46a339:this['_findCalendarDateFieldId'](_0x25e31d)??_0x46a339??'';}[_0x4e7c38(0x2c5)](_0x3b9f71,_0x202e50){const _0x34e699=_0x4e7c38;for(let _0x416311 of _0x3b9f71[_0x34e699(0x4dc)])if(_0x416311!==_0x202e50&&this[_0x34e699(0x301)](_0x3b9f71,_0x416311))return _0x416311;return null;}[_0x4e7c38(0x301)](_0x28c94d,_0x2eb769){const _0x2a9fec=_0x4e7c38;let _0x384fe9=_0x28c94d[_0x2a9fec(0x531)][_0x2eb769];return!!_0x384fe9&&_0x384fe9[_0x2a9fec(0x30b)]===_0x377615[_0x2a9fec(0x55e)]&&_0x384fe9[_0x2a9fec(0x339)]!==!0x0&&_0x384fe9[_0x2a9fec(0x26d)]!==!0x0&&this[_0x2a9fec(0x3b0)](_0x384fe9)[_0x2a9fec(0x55c)];}['_normalizeCalendarDisplayColor'](_0x40d202,_0x217d79){const _0x44fafb=_0x4e7c38;let _0x22e261=_0x217d79[_0x44fafb(0x299)];if((_0x22e261==null?void 0x0:_0x22e261[_0x44fafb(0x30b)])===_0x44fafb(0x221)){let _0x4c44f0=_0x40d202[_0x44fafb(0x531)][_0x22e261[_0x44fafb(0x446)]];if(_0x4c44f0&&_0x4c44f0['type']===_0x377615['SingleSelect'])return _0x22e261;}if((_0x22e261==null?void 0x0:_0x22e261[_0x44fafb(0x30b)])===_0x44fafb(0x333)&&typeof _0x22e261[_0x44fafb(0x480)]=='string'&&_0x22e261['color']['trim']())return{'type':_0x44fafb(0x333),'color':_0x22e261['color']};if(_0x217d79[_0x44fafb(0x471)]){let _0xf7f7c4=_0x40d202[_0x44fafb(0x531)][_0x217d79[_0x44fafb(0x471)]];if(_0xf7f7c4&&_0xf7f7c4['type']===_0x377615[_0x44fafb(0x38d)])return{'type':_0x44fafb(0x221),'fieldId':_0x217d79['colorFieldId']};}return{'type':_0x44fafb(0x333),'color':'#3b82f6'};}[_0x4e7c38(0x449)](_0x287bf7,_0x50735a,_0x19a14b){const _0x35aac7=_0x4e7c38;let _0x1bf1e7=_0x19a14b[_0x35aac7(0x299)];if((_0x1bf1e7==null?void 0x0:_0x1bf1e7['type'])===_0x35aac7(0x221)){var _0x1cc540;let _0x5d559e=_0x287bf7['fields'][_0x1bf1e7[_0x35aac7(0x446)]];if(!_0x5d559e)return;let _0x3527b0=_0x50735a[_0x35aac7(0x4c0)][_0x1bf1e7[_0x35aac7(0x446)]],_0xf5ccd1=Array[_0x35aac7(0x56b)](_0x3527b0)?_0x3527b0[0x0]:_0x3527b0;return _0xf5ccd1==null||(_0x1cc540=Li(_0x5d559e,String(_0xf5ccd1)))==null?void 0x0:_0x1cc540['color'];}if((_0x1bf1e7==null?void 0x0:_0x1bf1e7[_0x35aac7(0x30b)])===_0x35aac7(0x333))return _0x1bf1e7[_0x35aac7(0x480)];}[_0x4e7c38(0x307)](_0x54f28a,_0x1cd89e,_0x738b35,_0x48112c){const _0x29bb2b=_0x4e7c38;var _0x2cff6b,_0x1ce8f0;let _0x26e844=((_0x2cff6b=_0x54f28a[_0x29bb2b(0x554)])==null?void 0x0:_0x2cff6b[_0x29bb2b(0x4a1)])===!0x0,_0x377141=(_0x1cd89e==null||(_0x1ce8f0=_0x1cd89e[_0x29bb2b(0x554)])==null?void 0x0:_0x1ce8f0[_0x29bb2b(0x4a1)])===!0x0;return!_0x26e844&&!_0x377141;}[_0x4e7c38(0x462)](_0x59fc2e,_0x19a91c){const _0x445aec=_0x4e7c38;var _0x3e0aab,_0x29a59b;let _0x38f637=((_0x3e0aab=_0x59fc2e[_0x445aec(0x554)])==null?void 0x0:_0x3e0aab['includeTime'])===!0x0,_0x406555=((_0x29a59b=_0x19a91c[_0x445aec(0x554)])==null?void 0x0:_0x29a59b['includeTime'])===!0x0;return!_0x38f637&&!_0x406555;}['_buildGantt'](_0xa8f3f1,_0x190718){const _0x2d2820=_0x4e7c38;let _0x296c86=this[_0x2d2820(0x296)](_0xa8f3f1,_0x190718[_0x2d2820(0x554)]),_0xbb3ccd=_0xa8f3f1[_0x2d2820(0x531)][_0x296c86[_0x2d2820(0x2fd)]];if(!_0xbb3ccd||_0xbb3ccd[_0x2d2820(0x30b)]!==_0x377615['Date']||_0xbb3ccd['readonly']===!0x0||_0xbb3ccd['system']===!0x0||!this['_capabilities'](_0xbb3ccd)['usableAsGanttStart'])return{'type':_0x2d2820(0x574),'viewType':_0xa6488a[_0x2d2820(0x451)],'reason':_0x2d2820(0x4bb),'fieldId':_0x296c86[_0x2d2820(0x2fd)]};let _0x5c3336=_0xa8f3f1[_0x2d2820(0x531)][_0x296c86[_0x2d2820(0x369)]];if(!_0x5c3336||_0x5c3336[_0x2d2820(0x30b)]!==_0x377615[_0x2d2820(0x55e)]||_0x5c3336[_0x2d2820(0x339)]===!0x0||_0x5c3336[_0x2d2820(0x26d)]===!0x0||!this[_0x2d2820(0x3b0)](_0x5c3336)[_0x2d2820(0x357)])return{'type':_0x2d2820(0x574),'viewType':_0xa6488a['Gantt'],'reason':_0x2d2820(0x268),'fieldId':_0x296c86['endDateFieldId']};let _0x53d14f=this[_0x2d2820(0x462)](_0xbb3ccd,_0x5c3336),_0x567184=this[_0x2d2820(0x243)](_0xa8f3f1,_0x190718),_0x2e17a3=_0x567184[_0x2d2820(0x470)](_0x3c7875=>{const _0x48d958=_0x2d2820;let _0x56e9ce=dn(_0x3c7875[_0x48d958(0x4c0)][_0x296c86[_0x48d958(0x2fd)]]),_0x320513=dn(_0x3c7875[_0x48d958(0x4c0)][_0x296c86[_0x48d958(0x369)]]);if(!Number['isFinite'](_0x56e9ce)||!Number[_0x48d958(0x338)](_0x320513))return[];let _0x555708=Math[_0x48d958(0x218)](_0x56e9ce,_0x320513),_0xbc514d=Math[_0x48d958(0x265)](_0x56e9ce,_0x320513),_0x124015=_0x296c86['progressFieldId']==null?void 0x0:Number(_0x3c7875[_0x48d958(0x4c0)][_0x296c86[_0x48d958(0x51f)]]);return[{'recordId':_0x3c7875[_0x48d958(0x394)],'title':this[_0x48d958(0x2bd)](_0xa8f3f1,_0x3c7875,_0x296c86[_0x48d958(0x1e8)]),'start':_0x555708,'end':_0xbc514d,'color':this[_0x48d958(0x513)](_0xa8f3f1,_0x3c7875,_0x296c86),'progress':Number[_0x48d958(0x338)](_0x124015)?_0x124015:void 0x0,'workingDayCount':_0x296c86[_0x48d958(0x1ee)]?Ti(_0x555708,_0xbc514d,_0x296c86[_0x48d958(0x2e1)]):void 0x0,'dependencyRecordIds':this[_0x48d958(0x3c6)](_0x3c7875[_0x48d958(0x4c0)][_0x296c86[_0x48d958(0x219)]??''])}];}),_0x2a444e=_0x2e17a3[_0x2d2820(0x2b6)]?Z(Math[_0x2d2820(0x218)](..._0x2e17a3[_0x2d2820(0x3e8)](_0x4528d2=>_0x4528d2[_0x2d2820(0x2b1)]))-0x5a*oi):Z(Date[_0x2d2820(0x32e)]()-0x5a*oi),_0x2689e7=_0x2e17a3[_0x2d2820(0x2b6)]?Z(Math[_0x2d2820(0x265)](..._0x2e17a3['map'](_0x3fca6e=>_0x3fca6e['end']))+0x5b*oi):Z(Date[_0x2d2820(0x32e)]()+0x5b*oi),_0x722dd8=_i(_0x296c86['scale'],_0x2a444e,_0x2689e7,_0x296c86[_0x2d2820(0x1ee)]?_0x296c86[_0x2d2820(0x2e1)]:void 0x0);return{'type':_0xa6488a['Gantt'],'fields':this[_0x2d2820(0x4cb)](_0xa8f3f1,{..._0x190718,'config':_0x296c86}),'rows':_0x567184,'groups':this['_projectGroups'](_0xa8f3f1,_0x190718,_0x567184),'config':_0x296c86,'dateRangeAllDay':_0x53d14f,'timeline':{'scale':_0x296c86['scale'],'start':_0x2a444e,'end':_0x2689e7,'unitWidth':_0x722dd8[_0x2d2820(0x4c8)],'majorHeaders':_0x722dd8[_0x2d2820(0x54d)],'columns':_0x722dd8[_0x2d2820(0x430)]},'bars':_0x2e17a3};}['_normalizeGanttConfig'](_0x32efbe,_0x5ae17e){const _0x12d38d=_0x4e7c38;let _0x316b09=this[_0x12d38d(0x2db)](_0x32efbe,_0x5ae17e[_0x12d38d(0x2fd)],_0x12d38d(0x2b1)),_0x1fc223=this[_0x12d38d(0x2db)](_0x32efbe,_0x5ae17e[_0x12d38d(0x369)],_0x12d38d(0x41a))||_0x316b09,_0x56ac38=_0x5ae17e[_0x12d38d(0x1e8)]?_0x32efbe[_0x12d38d(0x531)][_0x5ae17e[_0x12d38d(0x1e8)]]:void 0x0,_0x2b11e5=_0x56ac38&&_0x56ac38[_0x12d38d(0x26d)]!==!0x0&&_0x56ac38['type']!==_0x377615[_0x12d38d(0x4c5)]?_0x5ae17e[_0x12d38d(0x1e8)]:_0x32efbe['primaryFieldId'],_0x26fd7e=_0x5ae17e[_0x12d38d(0x563)]===_0x12d38d(0x38a)||_0x5ae17e[_0x12d38d(0x563)]===_0x12d38d(0x548)||_0x5ae17e[_0x12d38d(0x563)]==='year'?_0x5ae17e['scale']:_0x12d38d(0x564),_0x4fd162=gi(_0x5ae17e['workingDays']);return{..._0x5ae17e,'startDateFieldId':_0x316b09,'endDateFieldId':_0x1fc223,'titleFieldId':_0x2b11e5,'scale':_0x26fd7e,'leftPaneWidth':typeof _0x5ae17e[_0x12d38d(0x323)]==_0x12d38d(0x43a)?_0x5ae17e[_0x12d38d(0x323)]:void 0x0,'leftPaneCollapsed':_0x5ae17e['leftPaneCollapsed']===!0x0,'showTodayLine':_0x5ae17e[_0x12d38d(0x295)]!==!0x1,'displayColor':this[_0x12d38d(0x47c)](_0x32efbe,_0x5ae17e),'fieldSettings':Object[_0x12d38d(0x2c2)](Object[_0x12d38d(0x502)](_0x5ae17e[_0x12d38d(0x568)]??{})[_0x12d38d(0x20f)](([_0x58320b])=>{const _0x34b037=_0x12d38d;let _0x734bfa=_0x32efbe[_0x34b037(0x531)][_0x58320b];return!!(_0x734bfa&&_0x734bfa[_0x34b037(0x26d)]!==!0x0&&_0x734bfa[_0x34b037(0x30b)]!==_0x377615['RecordId']);})),'workingDaysOnly':_0x5ae17e[_0x12d38d(0x1ee)]===!0x0,'workingDays':_0x4fd162};}['_resolveGanttDateFieldId'](_0xc29163,_0x2271bb,_0xcf271a){const _0x3662b5=_0x4e7c38;if(_0x2271bb&&this[_0x3662b5(0x254)](_0xc29163,_0x2271bb,_0xcf271a)||_0x2271bb)return _0x2271bb;for(let _0x25712c of _0xc29163[_0x3662b5(0x4dc)])if(this['_isGanttDateField'](_0xc29163,_0x25712c,_0xcf271a))return _0x25712c;return _0x2271bb??'';}[_0x4e7c38(0x254)](_0x1a75c8,_0x9284c6,_0x6a6087){const _0x2df994=_0x4e7c38;let _0x277961=_0x1a75c8[_0x2df994(0x531)][_0x9284c6];if(!_0x277961||_0x277961[_0x2df994(0x30b)]!==_0x377615['Date']||_0x277961[_0x2df994(0x339)]===!0x0||_0x277961[_0x2df994(0x26d)]===!0x0)return!0x1;let _0x9f0189=this[_0x2df994(0x3b0)](_0x277961);return _0x6a6087===_0x2df994(0x2b1)?_0x9f0189[_0x2df994(0x2d0)]:_0x9f0189[_0x2df994(0x357)];}[_0x4e7c38(0x47c)](_0x29a972,_0x3c7d10){const _0x149a91=_0x4e7c38;let _0x29597e=_0x3c7d10['displayColor'];if((_0x29597e==null?void 0x0:_0x29597e[_0x149a91(0x30b)])===_0x149a91(0x221)){let _0x414101=_0x29a972[_0x149a91(0x531)][_0x29597e[_0x149a91(0x446)]];if(_0x414101&&_0x414101[_0x149a91(0x30b)]===_0x377615['SingleSelect'])return _0x29597e;}return(_0x29597e==null?void 0x0:_0x29597e['type'])===_0x149a91(0x2cb)&&Array[_0x149a91(0x56b)](_0x29597e[_0x149a91(0x532)])?{'type':_0x149a91(0x2cb),'rules':_0x29597e[_0x149a91(0x532)][_0x149a91(0x20f)](_0x4b15a3=>!!_0x29a972[_0x149a91(0x531)][_0x4b15a3[_0x149a91(0x446)]])}:(_0x29597e==null?void 0x0:_0x29597e['type'])===_0x149a91(0x333)&&typeof _0x29597e[_0x149a91(0x480)]==_0x149a91(0x457)&&_0x29597e[_0x149a91(0x480)][_0x149a91(0x42c)]()?{'type':_0x149a91(0x333),'color':_0x29597e['color']}:{'type':_0x149a91(0x333),'color':_0x149a91(0x40b)};}[_0x4e7c38(0x513)](_0x12f1ae,_0x2e2ce5,_0x5f54aa){const _0x589cdd=_0x4e7c38;let _0x38206c=_0x5f54aa[_0x589cdd(0x299)];if((_0x38206c==null?void 0x0:_0x38206c[_0x589cdd(0x30b)])===_0x589cdd(0x2cb)){let _0x2df08a=_0x38206c[_0x589cdd(0x532)]['find'](_0x3adda4=>this['_matchesGanttColorRule'](_0x12f1ae,_0x2e2ce5,_0x3adda4));if(_0x2df08a)return _0x2df08a[_0x589cdd(0x480)];}if((_0x38206c==null?void 0x0:_0x38206c[_0x589cdd(0x30b)])==='selectField'){let _0xe6f51e=_0x12f1ae[_0x589cdd(0x531)][_0x38206c[_0x589cdd(0x446)]];if(_0xe6f51e){var _0x2e72b1;let _0x204240=_0x2e2ce5['values'][_0x38206c['fieldId']],_0xd8d8c0=Array[_0x589cdd(0x56b)](_0x204240)?_0x204240[0x0]:_0x204240,_0x64e76=_0xd8d8c0==null||(_0x2e72b1=Li(_0xe6f51e,String(_0xd8d8c0)))==null?void 0x0:_0x2e72b1[_0x589cdd(0x480)];if(_0x64e76)return _0x64e76;}}return(_0x38206c==null?void 0x0:_0x38206c['type'])===_0x589cdd(0x333)?_0x38206c[_0x589cdd(0x480)]:'#14b8a6';}['_matchesGanttColorRule'](_0x21cae4,_0x5d00ef,_0x59d315){const _0x5a9a0b=_0x4e7c38;let _0x13dcf9=_0x21cae4['fields'][_0x59d315[_0x5a9a0b(0x446)]];return _0x13dcf9?xn(_0x5d00ef[_0x5a9a0b(0x4c0)][_0x13dcf9['id']],_0x59d315[_0x5a9a0b(0x4c6)],_0x59d315[_0x5a9a0b(0x300)],_0x13dcf9,{'dateMode':_0x59d315['dateMode']}):!0x1;}[_0x4e7c38(0x56a)](_0x1b835b,_0x1d7331){const _0x214a3e=_0x4e7c38;let _0x4d766d=this[_0x214a3e(0x243)](_0x1b835b,_0x1d7331),_0x210821=this[_0x214a3e(0x22d)](_0x1b835b,_0x1d7331[_0x214a3e(0x554)]??{}),_0x5551f3=this[_0x214a3e(0x4cb)](_0x1b835b,_0x1d7331);return{'type':_0xa6488a[_0x214a3e(0x226)],'fields':_0x5551f3,'rows':_0x4d766d,'groups':this[_0x214a3e(0x55f)](_0x1b835b,_0x1d7331,_0x4d766d),'titleFieldId':_0x210821['card'][_0x214a3e(0x1e8)],'coverFieldId':_0x210821[_0x214a3e(0x500)],'cardLayout':_0x210821[_0x214a3e(0x21c)]??_0x214a3e(0x556),'showFieldNames':_0x210821[_0x214a3e(0x42e)]!==!0x1,'visibleCardFieldIds':this[_0x214a3e(0x4c3)](_0x1b835b,_0x1d7331,_0x210821),'cardSize':_0x210821[_0x214a3e(0x538)]??_0x214a3e(0x576),'cards':_0x4d766d['map'](_0x42fda1=>({'recordId':_0x42fda1[_0x214a3e(0x394)],'title':this[_0x214a3e(0x2bd)](_0x1b835b,_0x42fda1,_0x210821[_0x214a3e(0x349)][_0x214a3e(0x1e8)]),'values':_0x42fda1['values']}))};}['_normalizeGalleryConfig'](_0x58053f,_0x380c3d){const _0x20ebd=_0x4e7c38;let _0x42d363=_0x380c3d[_0x20ebd(0x349)]??{'fieldIds':[]},_0x2f38a5=this[_0x20ebd(0x523)](_0x58053f,_0x42d363[_0x20ebd(0x1e8)]),_0x2d4193=this[_0x20ebd(0x406)](_0x58053f,_0x380c3d),_0xcbb58d=_0x380c3d['cardSize']===_0x20ebd(0x2e5)||_0x380c3d['cardSize']===_0x20ebd(0x569)?_0x380c3d[_0x20ebd(0x538)]:'medium';return{..._0x380c3d,'coverFieldId':_0x2d4193,'cardLayout':_0x380c3d[_0x20ebd(0x21c)]===_0x20ebd(0x356)?'compose':_0x20ebd(0x556),'showFieldNames':_0x380c3d['showFieldNames']!==!0x1,'fieldSettings':Object[_0x20ebd(0x2c2)](Object[_0x20ebd(0x502)](_0x380c3d['fieldSettings']??{})[_0x20ebd(0x20f)](([_0x3d5d2c])=>{const _0x4f2333=_0x20ebd;let _0x4c83fe=_0x58053f['fields'][_0x3d5d2c];return!!(_0x4c83fe&&_0x4c83fe[_0x4f2333(0x26d)]!==!0x0&&_0x4c83fe[_0x4f2333(0x30b)]!==_0x377615[_0x4f2333(0x4c5)]);})),'card':{..._0x42d363,'titleFieldId':_0x2f38a5,'coverFieldId':_0x2d4193,'fieldIds':Array[_0x20ebd(0x56b)](_0x42d363[_0x20ebd(0x1c7)])?_0x42d363['fieldIds']:[]},'cardSize':_0xcbb58d};}[_0x4e7c38(0x523)](_0x3ef2ee,_0x312334){const _0x1ed54a=_0x4e7c38;let _0x53e905=_0x312334?_0x3ef2ee['fields'][_0x312334]:void 0x0;return _0x53e905&&_0x53e905[_0x1ed54a(0x26d)]!==!0x0&&_0x53e905[_0x1ed54a(0x30b)]!==_0x377615['RecordId']?_0x53e905['id']:Zr(_0x3ef2ee);}['_resolveGalleryCoverFieldId'](_0x2b620d,_0x5ae248){const _0x29b7f2=_0x4e7c38;var _0x5ae38b;let _0x9abf5d=_0x5ae248[_0x29b7f2(0x500)]??((_0x5ae38b=_0x5ae248[_0x29b7f2(0x349)])==null?void 0x0:_0x5ae38b['coverFieldId'])??null;if(!_0x9abf5d)return null;let _0x287e5c=_0x2b620d[_0x29b7f2(0x531)][_0x9abf5d];return _0x287e5c&&this['_capabilities'](_0x287e5c)[_0x29b7f2(0x51c)]?_0x287e5c['id']:null;}[_0x4e7c38(0x4c3)](_0x1de532,_0xdb73b3,_0x24e753){const _0x60edfd=_0x4e7c38;var _0x3e8182,_0x573146,_0x117f0b;let _0x4a642a=_0x24e753['fieldSettings']??{},_0x8e3801=((_0x3e8182=_0x24e753[_0x60edfd(0x349)])==null?void 0x0:_0x3e8182['titleFieldId'])??Zr(_0x1de532),_0x4e00ea=_0x24e753['coverFieldId']??((_0x573146=_0x24e753[_0x60edfd(0x349)])==null?void 0x0:_0x573146[_0x60edfd(0x500)])??null,_0x5a93c2=(_0x117f0b=_0x24e753[_0x60edfd(0x349)])!=null&&(_0x117f0b=_0x117f0b['fieldIds'])!=null&&_0x117f0b[_0x60edfd(0x2b6)]?_0x24e753[_0x60edfd(0x349)][_0x60edfd(0x1c7)]:Qr(_0x1de532,[_0x8e3801,_0x4e00ea,_0x1de532['primaryFieldId']]);return _0x5a93c2[_0x60edfd(0x20f)](_0x20528e=>{const _0x2db10f=_0x60edfd;var _0x5d5f7c,_0x32a447;let _0x20632f=_0x1de532[_0x2db10f(0x531)][_0x20528e];return!(!_0x20632f||_0x20632f[_0x2db10f(0x26d)]===!0x0||_0x20632f[_0x2db10f(0x30b)]===_0x377615['RecordId']||_0x20632f['id']===_0x8e3801||_0x20632f['id']===_0x4e00ea||(_0x5d5f7c=_0xdb73b3[_0x2db10f(0x568)])!=null&&(_0x5d5f7c=_0x5d5f7c[_0x20528e])!=null&&_0x5d5f7c['hidden']||(_0x32a447=_0x4a642a[_0x20528e])!=null&&_0x32a447['hidden']);})[_0x60edfd(0x266)]((_0x5c14e8,_0x5113ca)=>{const _0xc34a44=_0x60edfd;var _0x5acbbd,_0x4a3190;return(((_0x5acbbd=_0x4a642a[_0x5c14e8])==null?void 0x0:_0x5acbbd[_0xc34a44(0x1df)])??_0x5a93c2[_0xc34a44(0x20c)](_0x5c14e8))-(((_0x4a3190=_0x4a642a[_0x5113ca])==null?void 0x0:_0x4a3190[_0xc34a44(0x1df)])??_0x5a93c2[_0xc34a44(0x20c)](_0x5113ca));});}['_projectFields'](_0x3e715f,_0xfdaf8d){const _0x41402f=_0x4e7c38;var _0xeaa593;return((_0xeaa593=_0xfdaf8d[_0x41402f(0x4dc)])!=null&&_0xeaa593[_0x41402f(0x2b6)]?_0xfdaf8d['fieldOrder']:_0x3e715f[_0x41402f(0x4dc)])[_0x41402f(0x470)](_0x54df93=>{const _0x3ed348=_0x41402f;var _0x8505da;let _0x5c6c0f=_0x3e715f[_0x3ed348(0x531)][_0x54df93],_0x224f20=((_0x8505da=_0xfdaf8d['fieldSettings'])==null?void 0x0:_0x8505da[_0x54df93])??{};return!_0x5c6c0f||_0x5c6c0f['system']===!0x0||_0x5c6c0f['type']===_0x377615[_0x3ed348(0x4c5)]||_0x224f20['hidden']?[]:[{'id':_0x5c6c0f['id'],'name':_0x5c6c0f['name'],'description':_0x5c6c0f[_0x3ed348(0x4a4)],'type':_0x5c6c0f['type'],'config':_0x5c6c0f[_0x3ed348(0x554)],'width':_0x224f20[_0x3ed348(0x3f5)],'setting':_0x224f20}];});}['_projectRows'](_0x251f81,_0x595ba4){const _0x3a5de1=_0x4e7c38;var _0x2d04f9;return I(_0x3a5de1(0x34b),()=>{const _0x4273c6=_0x3a5de1;var _0x5d63e0,_0xae0a37;let _0x599d9a=this[_0x4273c6(0x31f)](_0x251f81),_0x2305a0=this[_0x4273c6(0x4b3)](_0x251f81['id'],_0x595ba4),_0x4f97a7=this[_0x4273c6(0x371)](_0x251f81['id']),_0x3c443d=this[_0x4273c6(0x28f)][_0x4273c6(0x4d5)](_0x2305a0);if(_0x3c443d&&_0x3c443d[_0x4273c6(0x47d)]===this[_0x4273c6(0x549)]&&_0x3c443d[_0x4273c6(0x287)]===this['_getTableRevision'](_0x251f81['id'])){if(_0x3c443d['cellRevision']===_0x4f97a7&&_0x3c443d[_0x4273c6(0x28b)]===_0x599d9a)return _0x3c443d[_0x4273c6(0x2ff)];if(_0x3c443d[_0x4273c6(0x43f)]!==_0x4f97a7&&!this[_0x4273c6(0x4d0)](_0x251f81['id'],_0x3c443d[_0x4273c6(0x43f)],_0x4f97a7,this[_0x4273c6(0x37c)](_0x595ba4))){let _0x5d8252=_0x3c443d[_0x4273c6(0x2ff)]===_0x3c443d['baseRows']?_0x599d9a:this[_0x4273c6(0x311)](_0x3c443d[_0x4273c6(0x2ff)],_0x599d9a);if(_0x5d8252)return this[_0x4273c6(0x28f)][_0x4273c6(0x205)](_0x2305a0,{..._0x3c443d,'rows':_0x5d8252,'baseRows':_0x599d9a,'cellRevision':_0x4f97a7}),_0x5d8252;}}let _0x55394f=I(_0x4273c6(0x4b5),()=>this[_0x4273c6(0x578)](_0x251f81,_0x595ba4,this[_0x4273c6(0x3ce)](_0x251f81,_0x595ba4,_0x599d9a)),{'tableId':_0x251f81['id'],'viewId':_0x595ba4==null?void 0x0:_0x595ba4['id'],'viewType':_0x595ba4==null?void 0x0:_0x595ba4[_0x4273c6(0x30b)],'rows':_0x599d9a['length'],'filters':(_0x595ba4==null||(_0x5d63e0=_0x595ba4[_0x4273c6(0x20f)])==null?void 0x0:_0x5d63e0[_0x4273c6(0x477)][_0x4273c6(0x2b6)])??0x0,'sorts':(_0x595ba4==null||(_0xae0a37=_0x595ba4['sort'])==null?void 0x0:_0xae0a37[_0x4273c6(0x2b6)])??0x0});return this[_0x4273c6(0x28f)]['set'](_0x2305a0,{'table':_0x251f81,'rows':_0x55394f,'baseRows':_0x599d9a,'globalRevision':this[_0x4273c6(0x549)],'tableRevision':this['_getTableRevision'](_0x251f81['id']),'cellRevision':_0x4f97a7}),_0x55394f;},{'tableId':_0x251f81['id'],'viewId':_0x595ba4==null?void 0x0:_0x595ba4['id'],'viewType':_0x595ba4==null?void 0x0:_0x595ba4[_0x3a5de1(0x30b)],'records':((_0x2d04f9=_0x251f81['recordOrder'])==null?void 0x0:_0x2d04f9[_0x3a5de1(0x2b6)])??Object[_0x3a5de1(0x3ca)](_0x251f81['records']??{})['length']});}[_0x4e7c38(0x31f)](_0x5f15e8){const _0x3c0bce=_0x4e7c38;var _0x3e4164;return I(_0x3c0bce(0x4fc),()=>{const _0x360f80=_0x3c0bce;var _0x472f05;let _0x237aa9=this['_getCellRevision'](_0x5f15e8['id']),_0x33743b=this[_0x360f80(0x436)][_0x360f80(0x4d5)](_0x5f15e8['id']);if(_0x33743b&&_0x33743b['globalRevision']===this[_0x360f80(0x549)]&&_0x33743b[_0x360f80(0x287)]===this[_0x360f80(0x229)](_0x5f15e8['id'])){if(_0x33743b['cellRevision']===_0x237aa9&&fi(_0x33743b[_0x360f80(0x438)],_0x5f15e8))return _0x33743b[_0x360f80(0x438)]=_0x5f15e8,_0x33743b['rows'];let _0x2bf919=this['_patchProjectedRowsForCellInvalidations'](_0x5f15e8,_0x33743b,_0x237aa9);if(_0x2bf919)return _0x2bf919;}ui(_0x5f15e8)||L(_0x5f15e8);let _0x445932=(_0x472f05=_0x5f15e8[_0x360f80(0x52d)])!=null&&_0x472f05[_0x360f80(0x2b6)]?_0x5f15e8[_0x360f80(0x52d)]:hi(_0x5f15e8[_0x360f80(0x2d1)]),_0xda8aa2=I(_0x360f80(0x486),()=>{const _0x5c173e=_0x360f80;let _0x3a1055=[];for(let _0x5a08a9 of _0x445932){let _0x425136=_0x5f15e8[_0x5c173e(0x2d1)][_0x5a08a9];if(!_0x425136)continue;let _0x42c427={};for(let _0x2935ec of _0x5f15e8['fieldOrder'])_0x42c427[_0x2935ec]=yt(_0x5f15e8,_0x425136['id'],_0x2935ec);_0x3a1055[_0x5c173e(0x3e2)]({'recordId':_0x425136['id'],'values':_0x42c427});}return _0x3a1055;},{'tableId':_0x5f15e8['id'],'records':_0x445932[_0x360f80(0x2b6)],'fields':_0x5f15e8[_0x360f80(0x4dc)][_0x360f80(0x2b6)]});return this[_0x360f80(0x436)][_0x360f80(0x205)](_0x5f15e8['id'],{'table':_0x5f15e8,'rows':_0xda8aa2,'rowIndexById':li(_0xda8aa2),'globalRevision':this['_globalRevision'],'tableRevision':this[_0x360f80(0x229)](_0x5f15e8['id']),'cellRevision':_0x237aa9}),_0xda8aa2;},{'tableId':_0x5f15e8['id'],'records':((_0x3e4164=_0x5f15e8[_0x3c0bce(0x52d)])==null?void 0x0:_0x3e4164[_0x3c0bce(0x2b6)])??Object[_0x3c0bce(0x3ca)](_0x5f15e8['records']??{})['length'],'fields':_0x5f15e8['fieldOrder'][_0x3c0bce(0x2b6)]});}[_0x4e7c38(0x45e)](_0x2088d3,_0x57e79f,_0x45d3bc){const _0xb6b0b9=_0x4e7c38;let _0xb52b6f=(this[_0xb6b0b9(0x4d8)][_0xb6b0b9(0x4d5)](_0x2088d3['id'])??[])[_0xb6b0b9(0x20f)](_0x23de58=>_0x23de58[_0xb6b0b9(0x2de)]>_0x57e79f[_0xb6b0b9(0x43f)]&&_0x23de58[_0xb6b0b9(0x2de)]<=_0x45d3bc);if(!_0xb52b6f[_0xb6b0b9(0x2b6)])return _0x57e79f[_0xb6b0b9(0x438)]===_0x2088d3?_0x57e79f[_0xb6b0b9(0x2ff)]:null;let _0x476264=_0x57e79f[_0xb6b0b9(0x2ff)],_0x830699=new Map();for(let _0x21fc75 of _0xb52b6f){let _0x140da=_0x830699[_0xb6b0b9(0x4d5)](_0x21fc75[_0xb6b0b9(0x394)]);_0x140da||(_0x140da=new Set(),_0x830699[_0xb6b0b9(0x205)](_0x21fc75[_0xb6b0b9(0x394)],_0x140da)),_0x140da[_0xb6b0b9(0x290)](_0x21fc75[_0xb6b0b9(0x446)]);}for(let [_0x70f6dc,_0x2a916b]of _0x830699){if(!_0x2088d3['records'][_0x70f6dc])return null;let _0x360062=_0x57e79f[_0xb6b0b9(0x545)][_0xb6b0b9(0x4d5)](_0x70f6dc);if(_0x360062==null)return null;_0x476264===_0x57e79f[_0xb6b0b9(0x2ff)]&&(_0x476264=[..._0x57e79f['rows']]);let _0x32edc1=_0x476264[_0x360062],_0x419ed2={..._0x32edc1[_0xb6b0b9(0x4c0)]};_0x2a916b[_0xb6b0b9(0x397)](_0x1b3814=>{_0x419ed2[_0x1b3814]=yt(_0x2088d3,_0x70f6dc,_0x1b3814);}),_0x476264[_0x360062]={..._0x32edc1,'values':_0x419ed2};}let _0x33af58={'table':_0x2088d3,'rows':_0x476264,'rowIndexById':_0x57e79f[_0xb6b0b9(0x545)],'globalRevision':this[_0xb6b0b9(0x549)],'tableRevision':this[_0xb6b0b9(0x229)](_0x2088d3['id']),'cellRevision':_0x45d3bc};return this[_0xb6b0b9(0x436)][_0xb6b0b9(0x205)](_0x2088d3['id'],_0x33af58),this[_0xb6b0b9(0x4d8)][_0xb6b0b9(0x205)](_0x2088d3['id'],(this['_cellInvalidations'][_0xb6b0b9(0x4d5)](_0x2088d3['id'])??[])[_0xb6b0b9(0x20f)](_0x226071=>_0x226071[_0xb6b0b9(0x2de)]>Math[_0xb6b0b9(0x265)](0x0,_0x45d3bc-0x100))),_0x476264;}[_0x4e7c38(0x311)](_0x3a1681,_0x1b45cb){const _0x2c7597=_0x4e7c38;let _0x249283=new Map(_0x1b45cb['map'](_0x1a55da=>[_0x1a55da[_0x2c7597(0x394)],_0x1a55da])),_0x44a26f=!0x1,_0x77478f=_0x3a1681[_0x2c7597(0x3e8)](_0x41a678=>{let _0x3754bb=_0x249283['get'](_0x41a678['recordId']);return _0x3754bb?_0x3754bb===_0x41a678?_0x41a678:(_0x44a26f=!0x0,_0x3754bb):_0x41a678;});return _0x44a26f?_0x77478f:_0x3a1681;}[_0x4e7c38(0x4d0)](_0x38df3c,_0x268ed9,_0x23c9c9,_0x159706){const _0x4e8cc4=_0x4e7c38;return!_0x159706[_0x4e8cc4(0x231)]||_0x268ed9===_0x23c9c9?!0x1:_0x23c9c9-_0x268ed9>0x100||(this[_0x4e8cc4(0x4d8)]['get'](_0x38df3c)??[])[_0x4e8cc4(0x48e)](_0x6cc17f=>_0x6cc17f['revision']>_0x268ed9&&_0x6cc17f['revision']<=_0x23c9c9&&_0x159706['has'](_0x6cc17f['fieldId']));}[_0x4e7c38(0x37c)](_0x257b53){const _0x209f0e=_0x4e7c38;var _0x5961a3,_0x308953;let _0xeb7599=new Set();return _0x257b53==null||(_0x5961a3=_0x257b53[_0x209f0e(0x20f)])==null||_0x5961a3[_0x209f0e(0x477)][_0x209f0e(0x397)](_0x598f45=>_0xeb7599[_0x209f0e(0x290)](_0x598f45[_0x209f0e(0x446)])),_0x257b53==null||(_0x308953=_0x257b53[_0x209f0e(0x266)])==null||_0x308953[_0x209f0e(0x397)](_0x59153e=>_0xeb7599[_0x209f0e(0x290)](_0x59153e[_0x209f0e(0x446)])),_0xeb7599;}[_0x4e7c38(0x2f1)](_0x4cdfad){const _0x3c1c96=_0x4e7c38;var _0x4ac795;let _0xac95e6=this[_0x3c1c96(0x37c)](_0x4cdfad);return(_0x4ac795=_0x4cdfad['group'])==null||_0x4ac795[_0x3c1c96(0x397)](_0x3eb9e1=>_0xac95e6[_0x3c1c96(0x290)](_0x3eb9e1['fieldId'])),_0xac95e6;}[_0x4e7c38(0x3ce)](_0xc6ee81,_0x56f536,_0x3d38b8){const _0x2c234d=_0x4e7c38;let _0x10e897=_0x56f536==null?void 0x0:_0x56f536[_0x2c234d(0x20f)];if(!(_0x10e897!=null&&_0x10e897[_0x2c234d(0x477)][_0x2c234d(0x2b6)]))return _0x3d38b8;let _0x19559f=_0x10e897[_0x2c234d(0x477)]['filter'](_0xe0836e=>!Ii(_0xe0836e));return _0x19559f[_0x2c234d(0x2b6)]?_0x3d38b8[_0x2c234d(0x20f)](_0x3cf405=>{const _0x5c0b10=_0x2c234d;if(_0x10e897['conjunction']===_0x56a03e['OR']){for(let _0x24c2fc of _0x19559f){let _0x4a8aa7=_0xc6ee81[_0x5c0b10(0x531)][_0x24c2fc[_0x5c0b10(0x446)]];if(!_0x4a8aa7||this['_fieldRegistry']['get'](_0x4a8aa7[_0x5c0b10(0x30b)])['filter'](_0x3cf405[_0x5c0b10(0x4c0)][_0x4a8aa7['id']],_0x24c2fc[_0x5c0b10(0x4c6)],_0x24c2fc['operand'],_0x4a8aa7))return!0x0;}return!0x1;}for(let _0x4605d0 of _0x19559f){let _0x3347dc=_0xc6ee81[_0x5c0b10(0x531)][_0x4605d0[_0x5c0b10(0x446)]];if(_0x3347dc&&!this[_0x5c0b10(0x21f)][_0x5c0b10(0x4d5)](_0x3347dc['type'])[_0x5c0b10(0x20f)](_0x3cf405[_0x5c0b10(0x4c0)][_0x3347dc['id']],_0x4605d0[_0x5c0b10(0x4c6)],_0x4605d0['operand'],_0x3347dc))return!0x1;}return!0x0;}):_0x3d38b8;}[_0x4e7c38(0x578)](_0x552b9f,_0x12041f,_0x344e89){const _0x3c36fc=_0x4e7c38;let _0x797405=(_0x12041f==null?void 0x0:_0x12041f[_0x3c36fc(0x266)])??[];if(!_0x797405[_0x3c36fc(0x2b6)])return _0x344e89;let _0x44ec10=_0x797405[_0x3c36fc(0x470)](_0x49621c=>{const _0x3c2697=_0x3c36fc;let _0x244391=_0x552b9f[_0x3c2697(0x531)][_0x49621c[_0x3c2697(0x446)]];return _0x244391?[{..._0x49621c,'field':_0x244391}]:[];});return _0x44ec10[_0x3c36fc(0x2b6)]?this[_0x3c36fc(0x1d6)](_0x44ec10)?this['_fastSortRows'](_0x44ec10,_0x344e89):[..._0x344e89][_0x3c36fc(0x266)]((_0x5da16e,_0x47090f)=>{const _0x25cd68=_0x3c36fc;for(let _0x32312c of _0x44ec10){let _0x456ffe=_0x32312c[_0x25cd68(0x380)],_0xfd39fe=this[_0x25cd68(0x21f)]['get'](_0x456ffe['type'])[_0x25cd68(0x390)](_0x5da16e[_0x25cd68(0x4c0)][_0x456ffe['id']],_0x47090f[_0x25cd68(0x4c0)][_0x456ffe['id']],_0x456ffe);if(_0xfd39fe!==0x0)return _0x32312c[_0x25cd68(0x1e7)]===_0x122af4[_0x25cd68(0x414)]?-_0xfd39fe:_0xfd39fe;}return 0x0;}):_0x344e89;}[_0x4e7c38(0x1d6)](_0x466962){const _0x84febb=_0x4e7c38;return _0x466962[_0x84febb(0x1f6)](_0x4dfd04=>ai[_0x84febb(0x4d6)](_0x4dfd04[_0x84febb(0x380)][_0x84febb(0x30b)]));}[_0x4e7c38(0x487)](_0x48edf1,_0x2e1343){const _0x22773f=_0x4e7c38;return _0x2e1343[_0x22773f(0x3e8)]((_0x1563b9,_0x3aec27)=>({'row':_0x1563b9,'index':_0x3aec27,'keys':_0x48edf1['map'](_0x226782=>_0x1563b9[_0x22773f(0x4c0)][_0x226782['fieldId']])}))[_0x22773f(0x266)]((_0x33eceb,_0x48a769)=>{const _0x3d950b=_0x22773f;for(let _0x107dc5=0x0;_0x107dc5<_0x48edf1['length'];_0x107dc5++){let _0x1a76f6=Fi(_0x33eceb['keys'][_0x107dc5],_0x48a769[_0x3d950b(0x3ca)][_0x107dc5]);if(_0x1a76f6!==0x0)return _0x48edf1[_0x107dc5][_0x3d950b(0x1e7)]===_0x122af4[_0x3d950b(0x414)]?-_0x1a76f6:_0x1a76f6;}return _0x33eceb[_0x3d950b(0x230)]-_0x48a769[_0x3d950b(0x230)];})[_0x22773f(0x3e8)](_0x25d4e2=>_0x25d4e2[_0x22773f(0x505)]);}[_0x4e7c38(0x55f)](_0x49100c,_0x5ed065,_0x50b45b){const _0x5d2bd6=_0x4e7c38;var _0x3eb706;return I(_0x5d2bd6(0x3dd),()=>{const _0x5944ce=_0x5d2bd6;var _0x229236;if(!((_0x229236=_0x5ed065[_0x5944ce(0x3b2)])!=null&&_0x229236[_0x5944ce(0x2b6)]))return[];let _0x359409=_0x5ed065[_0x5944ce(0x3b2)][_0x5944ce(0x20f)](_0x200cd8=>_0x49100c[_0x5944ce(0x531)][_0x200cd8['fieldId']]);if(!_0x359409[_0x5944ce(0x2b6)])return[];let _0x5f540f=this[_0x5944ce(0x4ee)](_0x49100c['id'],_0x5ed065,_0x359409),_0x433fad=this[_0x5944ce(0x371)](_0x49100c['id']),_0x345cfd=this[_0x5944ce(0x4bf)][_0x5944ce(0x4d5)](_0x5f540f);if(_0x345cfd&&_0x345cfd['globalRevision']===this[_0x5944ce(0x549)]&&_0x345cfd['tableRevision']===this[_0x5944ce(0x229)](_0x49100c['id'])){if(_0x345cfd['cellRevision']===_0x433fad&&_0x345cfd['rows']===_0x50b45b)return _0x345cfd[_0x5944ce(0x40a)];if(_0x345cfd[_0x5944ce(0x43f)]!==_0x433fad&&!this[_0x5944ce(0x4d0)](_0x49100c['id'],_0x345cfd['cellRevision'],_0x433fad,this[_0x5944ce(0x2f1)](_0x5ed065)))return this[_0x5944ce(0x4bf)][_0x5944ce(0x205)](_0x5f540f,{..._0x345cfd,'rows':_0x50b45b,'cellRevision':_0x433fad}),_0x345cfd['groups'];}let _0xf9e273=new Map();for(let _0x2f163a of _0x50b45b){let _0x4c8b3a=_0xf9e273,_0x32042a='';for(let _0x31bd76=0x0;_0x31bd76<_0x359409[_0x5944ce(0x2b6)];_0x31bd76++){let _0x44202a=_0x359409[_0x31bd76],_0x566935=_0x2f163a[_0x5944ce(0x4c0)][_0x44202a['fieldId']],_0x445316=ci(_0x566935),_0x386425=_0x44202a[_0x5944ce(0x446)]+'\x00'+_0x445316,_0x15fb36=_0x32042a+'/'+_0x44202a[_0x5944ce(0x446)]+':'+_0x445316,_0x3b7d27=_0x4c8b3a['get'](_0x386425);_0x3b7d27||(_0x3b7d27={'key':_0x445316,'value':_0x566935,'path':_0x15fb36,'label':_0x445316||_0x5944ce(0x1f0),'fieldId':_0x44202a[_0x5944ce(0x446)],'level':_0x31bd76,'recordIds':[],'children':new Map()},_0x4c8b3a['set'](_0x386425,_0x3b7d27)),_0x3b7d27[_0x5944ce(0x3ad)][_0x5944ce(0x3e2)](_0x2f163a[_0x5944ce(0x394)]),_0x4c8b3a=_0x3b7d27['children'],_0x32042a=_0x15fb36;}}let _0x55c3d2=this['_materializeGroups'](_0x359409,_0xf9e273,0x0);return this[_0x5944ce(0x4bf)]['set'](_0x5f540f,{'table':_0x49100c,'rows':_0x50b45b,'groups':_0x55c3d2,'globalRevision':this['_globalRevision'],'tableRevision':this[_0x5944ce(0x229)](_0x49100c['id']),'cellRevision':_0x433fad}),_0x55c3d2;},{'tableId':_0x49100c['id'],'viewId':_0x5ed065['id'],'viewType':_0x5ed065['type'],'rows':_0x50b45b['length'],'groupFields':((_0x3eb706=_0x5ed065[_0x5d2bd6(0x3b2)])==null?void 0x0:_0x3eb706[_0x5d2bd6(0x2b6)])??0x0});}['_materializeGroups'](_0x4c02cf,_0x17b38c,_0x13b823){const _0x439e08=_0x4e7c38;var _0x52ce82;let _0x3d3e93=Array[_0x439e08(0x501)](_0x17b38c[_0x439e08(0x4c0)]()),_0x27041a=(_0x52ce82=_0x4c02cf[_0x13b823])==null?void 0x0:_0x52ce82[_0x439e08(0x1e7)];return _0x27041a&&_0x3d3e93[_0x439e08(0x266)]((_0x3dfef4,_0xf3b241)=>{const _0x31e320=_0x439e08;let _0x4d263b=_0x3dfef4[_0x31e320(0x340)][_0x31e320(0x582)](_0xf3b241[_0x31e320(0x340)]);return _0x27041a===_0x122af4['DESC']?-_0x4d263b:_0x4d263b;}),_0x3d3e93[_0x439e08(0x3e8)](_0xe38010=>({'key':_0xe38010['key'],'value':_0xe38010['value'],'path':_0xe38010[_0x439e08(0x534)],'label':_0xe38010[_0x439e08(0x55b)],'fieldId':_0xe38010[_0x439e08(0x446)],'level':_0xe38010[_0x439e08(0x345)],'recordIds':_0xe38010['recordIds'],'children':this[_0x439e08(0x472)](_0x4c02cf,_0xe38010['children'],_0x13b823+0x1)}));}[_0x4e7c38(0x2bd)](_0x22c454,_0x447b09,_0x1e0d36){const _0x4a57c4=_0x4e7c38;let _0x4a539f=_0x1e0d36??_0x22c454[_0x4a57c4(0x48d)],_0x2c5a7a=_0x447b09['values'][_0x4a539f];return _0x2c5a7a==null?'':String(_0x2c5a7a);}['_recordIds'](_0x4fb1d9){const _0x27c5dd=_0x4e7c38;if(Array['isArray'](_0x4fb1d9))return _0x4fb1d9[_0x27c5dd(0x3e8)](String);if(typeof _0x4fb1d9=='string'&&_0x4fb1d9)return[_0x4fb1d9];}[_0x4e7c38(0x3b0)](_0x5ef598){const _0x553304=_0x4e7c38;return this[_0x553304(0x21f)][_0x553304(0x4d5)](_0x5ef598[_0x553304(0x30b)])[_0x553304(0x3bf)](_0x5ef598);}};si=X([Y(0x0,_0x4562a7(mr))],si);function ci(_0x4b3923){return _0x4b3923==null?'':String(_0x4b3923);}function li(_0x56ec4e){const _0x2b3e0d=_0x4e7c38;return new Map(_0x56ec4e[_0x2b3e0d(0x3e8)]((_0x4c2b6c,_0x11b189)=>[_0x4c2b6c[_0x2b3e0d(0x394)],_0x11b189]));}function ui(_0x52b720){const _0x19e8ad=_0x4e7c38;return!!(Array[_0x19e8ad(0x56b)](_0x52b720[_0x19e8ad(0x52d)])&&_0x52b720['rowIndex']&&_0x52b720[_0x19e8ad(0x565)]&&_0x52b720['colIndex']&&_0x52b720[_0x19e8ad(0x512)]&&_0x52b720[_0x19e8ad(0x2b7)]);}function di(_0x3bb638){const _0x280da7=_0x4e7c38;let _0x30c5cb=(_0x3bb638==null?void 0x0:_0x3bb638[_0x280da7(0x477)]['filter'](_0x28c469=>!Ii(_0x28c469)))??[];return!_0x3bb638||!_0x30c5cb[_0x280da7(0x2b6)]?null:{'conjunction':_0x3bb638[_0x280da7(0x2c8)],'conditions':_0x30c5cb[_0x280da7(0x3e8)](_0x5e4926=>({'fieldId':_0x5e4926['fieldId'],'operator':_0x5e4926[_0x280da7(0x4c6)],'operand':_0x5e4926['operand']}))};}function fi(_0xda6f24,_0x2b0349){const _0x35abea=_0x4e7c38;return _0xda6f24[_0x35abea(0x2d1)]===_0x2b0349[_0x35abea(0x2d1)]&&_0xda6f24[_0x35abea(0x52d)]===_0x2b0349[_0x35abea(0x52d)]&&_0xda6f24[_0x35abea(0x531)]===_0x2b0349[_0x35abea(0x531)]&&_0xda6f24[_0x35abea(0x4dc)]===_0x2b0349[_0x35abea(0x4dc)]&&_0xda6f24[_0x35abea(0x2b7)]===_0x2b0349['cellData']&&_0xda6f24[_0x35abea(0x2cd)]===_0x2b0349['rowIndex']&&_0xda6f24[_0x35abea(0x565)]===_0x2b0349[_0x35abea(0x565)]&&_0xda6f24[_0x35abea(0x50b)]===_0x2b0349[_0x35abea(0x50b)]&&_0xda6f24[_0x35abea(0x512)]===_0x2b0349['colId'];}function pi(_0x5a6bde){const _0x140dfb=_0x4e7c38;return _0x5a6bde!=null&&_0x5a6bde[_0x140dfb(0x2b6)]?_0x5a6bde[_0x140dfb(0x3e8)](_0x31f09d=>({'fieldId':_0x31f09d[_0x140dfb(0x446)],'direction':_0x31f09d[_0x140dfb(0x1e7)]})):null;}function mi(_0x15319b){const _0x5c518c=_0x4e7c38;if(typeof _0x15319b!=_0x5c518c(0x3d3)||!_0x15319b)return JSON[_0x5c518c(0x2af)](_0x15319b)??_0x5c518c(0x526);if(Array[_0x5c518c(0x56b)](_0x15319b))return'['+_0x15319b[_0x5c518c(0x3e8)](mi)['join'](',')+']';let _0x5f9c1b=_0x15319b;return'{'+Object[_0x5c518c(0x3ca)](_0x5f9c1b)[_0x5c518c(0x266)]()['map'](_0x49911a=>JSON[_0x5c518c(0x2af)](_0x49911a)+':'+mi(_0x5f9c1b[_0x49911a]))['join'](',')+'}';}function hi(_0x46d952){const _0x4a84cf=_0x4e7c38;let _0x4201a5=Object[_0x4a84cf(0x4c0)](_0x46d952)[_0x4a84cf(0x266)]((_0xdad152,_0x530ce1)=>_0xdad152[_0x4a84cf(0x24c)][_0x4a84cf(0x582)](_0x530ce1[_0x4a84cf(0x24c)])),_0x33002d=[];for(let _0x63de32 of _0x4201a5)_0x33002d[_0x4a84cf(0x3e2)](_0x63de32['id']);return _0x33002d;}function gi(_0x89b3b5){const _0x557467=_0x4e7c38;return{'weekdays':Array[_0x557467(0x56b)](_0x89b3b5==null?void 0x0:_0x89b3b5[_0x557467(0x4e1)])&&_0x89b3b5[_0x557467(0x4e1)][_0x557467(0x2b6)]?[...new Set(_0x89b3b5[_0x557467(0x4e1)]['filter'](_0x2063ad=>Number[_0x557467(0x314)](_0x2063ad)&&_0x2063ad>=0x1&&_0x2063ad<=0x7))]:[0x1,0x2,0x3,0x4,0x5],'exceptions':Array[_0x557467(0x56b)](_0x89b3b5==null?void 0x0:_0x89b3b5[_0x557467(0x2d4)])?_0x89b3b5[_0x557467(0x2d4)]['flatMap'](_0x314e53=>!_0x314e53||!Number[_0x557467(0x338)](_0x314e53[_0x557467(0x3ee)])?[]:[{'id':String(_0x314e53['id']||'exception-'+_0x314e53['date']),'date':Z(Number(_0x314e53[_0x557467(0x3ee)])),'name':String(_0x314e53[_0x557467(0x39a)]||_0x557467(0x422)),'type':_0x314e53[_0x557467(0x30b)]===_0x557467(0x22f)?_0x557467(0x22f):_0x557467(0x283)}]):[]};}function _i(_0x514c49,_0x5a3fa0,_0x4b2148,_0x597c8f){let _0x4ec7fa=xi(_0x514c49,_0x5a3fa0),_0x4f55db=Si(_0x514c49,_0x4b2148),_0x4bb35c=vi(_0x514c49,_0x4ec7fa,_0x4f55db,_0x597c8f);return{'scale':_0x514c49,'start':_0x4ec7fa,'end':_0x4f55db,'unitWidth':bi(_0x514c49),'majorHeaders':yi(_0x514c49,_0x4ec7fa,_0x4f55db),'columns':_0x4bb35c};}function vi(_0x591999,_0xcc0876,_0x5c711d,_0xa2c2e9){const _0x3c4e82=_0x4e7c38;let _0x49d48d=[],_0x3ff677=_0xcc0876;for(;_0x3ff677<_0x5c711d;){let _0x4eaae5=_0x591999==='quarter'?ji(_0x3ff677,0x7):_0x591999===_0x3c4e82(0x1dc)?Mi(_0x3ff677,0x1):ji(_0x3ff677,0x1);_0x49d48d[_0x3c4e82(0x3e2)]({'id':_0x591999+'-'+_0x3ff677,'label':Ci(_0x591999,_0x3ff677,_0x4eaae5),'majorLabel':wi(_0x591999,_0x3ff677),'start':_0x3ff677,'end':_0x4eaae5,'nonWorking':Ei(_0x3ff677,_0x4eaae5,_0xa2c2e9)}),_0x3ff677=_0x4eaae5;}return _0x49d48d;}function yi(_0x3f4ee2,_0x2588d8,_0xd4e445){const _0x68c05e=_0x4e7c38;let _0x4e717c=[],_0x236aeb=_0x3f4ee2===_0x68c05e(0x1dc)?Ai(_0x2588d8):ki(_0x2588d8);for(;_0x236aeb<_0xd4e445;){let _0x5c65d5=_0x3f4ee2===_0x68c05e(0x1dc)?Ni(_0x236aeb,0x1):Mi(_0x236aeb,0x1);_0x4e717c[_0x68c05e(0x3e2)]({'id':_0x68c05e(0x426)+_0x236aeb,'label':_0x3f4ee2===_0x68c05e(0x1dc)?String(new Date(_0x236aeb)[_0x68c05e(0x2f0)]()):Pi(_0x236aeb),'start':_0x236aeb,'end':_0x5c65d5}),_0x236aeb=_0x5c65d5;}return _0x4e717c;}function bi(_0xe8010d){const _0x489d2f=_0x4e7c38;switch(_0xe8010d){case _0x489d2f(0x38a):return 0xac;case _0x489d2f(0x548):return 0xac;case _0x489d2f(0x1dc):return 0x88;default:return 0x56;}}function xi(_0x43a668,_0x4fb1fb){const _0x223d36=_0x4e7c38;return _0x43a668==='year'?Ai(_0x4fb1fb):_0x43a668===_0x223d36(0x548)?Oi(_0x4fb1fb):Z(_0x4fb1fb);}function Si(_0x2d6fad,_0x3f0846){const _0x38a48e=_0x4e7c38;return _0x2d6fad==='year'?Ni(Ai(_0x3f0846),0x1):_0x2d6fad===_0x38a48e(0x548)?ji(Oi(_0x3f0846),0x7):ji(Z(_0x3f0846),0x1);}function Ci(_0xd1f749,_0x51337,_0x337550){const _0x34fcab=_0x4e7c38;let _0x5a2031=new Date(_0x51337);return _0xd1f749==='quarter'?_0x5a2031[_0x34fcab(0x337)]()+'-'+new Date(_0x337550-oi)[_0x34fcab(0x337)]():_0xd1f749==='year'?_0x5a2031[_0x34fcab(0x384)](_0x34fcab(0x1c9),{'month':_0x34fcab(0x33e),'timeZone':_0x34fcab(0x1d4)}):String(_0x5a2031[_0x34fcab(0x337)]());}function wi(_0x42d633,_0x51bb90){const _0x37c47f=_0x4e7c38;return _0x42d633===_0x37c47f(0x1dc)?String(new Date(_0x51bb90)[_0x37c47f(0x2f0)]()):Pi(_0x51bb90);}function Ti(_0x8137e,_0x988ddb,_0x2da1c7){let _0x36c0a6=gi(_0x2da1c7),_0x1faa38=0x0;for(let _0x13442f=Z(_0x8137e);_0x13442f<=Z(_0x988ddb);_0x13442f=ji(_0x13442f,0x1))Di(_0x13442f,_0x36c0a6)||_0x1faa38++;return _0x1faa38;}function Ei(_0x42701c,_0x36cf1d,_0x33cca7){if(!_0x33cca7)return!0x1;let _0x3cc255=gi(_0x33cca7);for(let _0x7be46e=Z(_0x42701c);_0x7be46e<_0x36cf1d;_0x7be46e=ji(_0x7be46e,0x1))if(!Di(_0x7be46e,_0x3cc255))return!0x1;return!0x0;}function Di(_0xbe9469,_0x3862fa){const _0x2c2e64=_0x4e7c38;let _0x45c251=Z(_0xbe9469),_0x554629=_0x3862fa[_0x2c2e64(0x2d4)][_0x2c2e64(0x1c5)](_0x648c33=>Z(_0x648c33[_0x2c2e64(0x3ee)])===_0x45c251);if(_0x554629)return _0x554629[_0x2c2e64(0x30b)]===_0x2c2e64(0x283);let _0x562b2f=new Date(_0x45c251)['getUTCDay'](),_0x28da27=_0x562b2f===0x0?0x7:_0x562b2f;return!_0x3862fa[_0x2c2e64(0x4e1)][_0x2c2e64(0x37a)](_0x28da27);}function Z(_0x5645b8){const _0x5b0510=_0x4e7c38;let _0x270f12=new Date(_0x5645b8);return Date[_0x5b0510(0x1d4)](_0x270f12['getUTCFullYear'](),_0x270f12[_0x5b0510(0x2a1)](),_0x270f12[_0x5b0510(0x337)]());}function Oi(_0x3c4e4a){const _0x5a7051=_0x4e7c38;let _0x46daa9=Z(_0x3c4e4a),_0x58d962=new Date(_0x46daa9)[_0x5a7051(0x4ea)]();return ji(_0x46daa9,-(_0x58d962===0x0?0x6:_0x58d962-0x1));}function ki(_0x39a07f){const _0x5cfd8b=_0x4e7c38;let _0x565606=new Date(_0x39a07f);return Date[_0x5cfd8b(0x1d4)](_0x565606[_0x5cfd8b(0x2f0)](),_0x565606['getUTCMonth'](),0x1);}function Ai(_0x59ff13){const _0x45fe0c=_0x4e7c38;let _0x16ad11=new Date(_0x59ff13);return Date[_0x45fe0c(0x1d4)](_0x16ad11[_0x45fe0c(0x2f0)](),0x0,0x1);}function ji(_0x250c51,_0x1539a4){return _0x250c51+_0x1539a4*oi;}function Mi(_0x48efbc,_0x592d9d){const _0xb70caf=_0x4e7c38;let _0x56b227=new Date(_0x48efbc);return Date[_0xb70caf(0x1d4)](_0x56b227[_0xb70caf(0x2f0)](),_0x56b227[_0xb70caf(0x2a1)]()+_0x592d9d,0x1);}function Ni(_0x1e93be,_0x367dfd){const _0x3b86c4=_0x4e7c38;let _0x488084=new Date(_0x1e93be);return Date[_0x3b86c4(0x1d4)](_0x488084[_0x3b86c4(0x2f0)]()+_0x367dfd,0x0,0x1);}function Pi(_0x2e0716){const _0x270dfd=_0x4e7c38;let _0x1e6cde=new Date(_0x2e0716);return _0x1e6cde[_0x270dfd(0x384)](_0x270dfd(0x1c9),{'month':'short','timeZone':'UTC'})+'\x20'+_0x1e6cde[_0x270dfd(0x2f0)]();}function Fi(_0x491397,_0x57bac4){const _0x5ad0ba=_0x4e7c38;if(_0x491397==null&&_0x57bac4==null)return 0x0;if(_0x491397==null)return-0x1;if(_0x57bac4==null)return 0x1;if(typeof _0x491397==_0x5ad0ba(0x361)||typeof _0x57bac4=='boolean')return Number(_0x491397===!0x0)-Number(_0x57bac4===!0x0);let _0x426637=Number(_0x491397),_0x29e917=Number(_0x57bac4),_0x14fa06=Number[_0x5ad0ba(0x338)](_0x426637),_0x260227=Number[_0x5ad0ba(0x338)](_0x29e917);return _0x14fa06&&_0x260227?_0x426637-_0x29e917:_0x14fa06?0x1:_0x260227?-0x1:String(_0x491397)[_0x5ad0ba(0x582)](String(_0x57bac4));}function Ii(_0x4b1e97){const _0x3631c2=_0x4e7c38;if(_0x4b1e97[_0x3631c2(0x4c6)]!=='is'&&_0x4b1e97[_0x3631c2(0x4c6)]!==_0x3631c2(0x4a3))return!0x1;let _0x11752d=_0x4b1e97[_0x3631c2(0x300)];return _0x11752d==null?!0x0:typeof _0x11752d==_0x3631c2(0x457)?_0x11752d['trim']()==='':Array[_0x3631c2(0x56b)](_0x11752d)?_0x11752d['length']===0x0:!0x1;}function Li(_0x22d483,_0x514f09){const _0x4becba=_0x4e7c38;var _0x23dca8;let _0x205120=Array[_0x4becba(0x56b)]((_0x23dca8=_0x22d483[_0x4becba(0x554)])==null?void 0x0:_0x23dca8[_0x4becba(0x246)])?_0x22d483[_0x4becba(0x554)][_0x4becba(0x246)]:[];for(let _0x5d0536 of _0x205120){if(_0x5d0536==null)continue;if(typeof _0x5d0536==_0x4becba(0x457)){if(_0x5d0536===_0x514f09)return{'id':_0x5d0536,'name':_0x5d0536};continue;}let _0x19b5b6=_0x5d0536,_0x17517b=String(_0x19b5b6['id']??_0x19b5b6['name']??''),_0x5a97bd=String(_0x19b5b6[_0x4becba(0x39a)]??_0x19b5b6['id']??_0x17517b);if(_0x17517b===_0x514f09||_0x5a97bd===_0x514f09)return{'id':_0x17517b,'name':_0x5a97bd,'color':_0x19b5b6[_0x4becba(0x480)]==null?void 0x0:String(_0x19b5b6[_0x4becba(0x480)])};}return null;}let Ri=function(_0xc795c){const _0x5abbe8=_0x4e7c38;return _0xc795c[_0x5abbe8(0x4e3)]='create-view',_0xc795c['DeleteView']='delete-view',_0xc795c;}({});const Q={'id':_0x4e7c38(0x216),'type':_0x32350d['MUTATION'],'handler'(_0x58a981,_0x12c0e2){const _0x32fc2a=_0x4e7c38;let {unitId:_0x172e4d,op:_0x228eae}=_0x12c0e2,_0x1332e4=_0x58a981[_0x32fc2a(0x4d5)](_0x26755d)[_0x32fc2a(0x34e)](_0x172e4d,_0x2eb623[_0x32fc2a(0x583)]);if(!_0x1332e4)return!0x1;let _0x303364=_0x1332e4[_0x32fc2a(0x2a7)](),_0x2fc0a7=new z(),_0x312848=_0x2fc0a7['getAffectedRanges'](_0x228eae),_0x5ad27d=_0x2fc0a7['applyOp'](_0x303364,_0x228eae);return _0x1332e4[_0x32fc2a(0x411)](_0x5ad27d),zi(_0x5ad27d,_0x312848,_0x58a981[_0x32fc2a(0x4d5)](ii)),!0x0;}};function zi(_0x2ea902,_0x269b33,_0x223b9a){const _0x16495b=_0x4e7c38;let _0x3f4798=new Set(),_0x5a7957=new Set(),_0xc4af3b=new Set();for(let _0x92eefb of _0x269b33){if(_0x92eefb[_0x16495b(0x3be)]==='view'&&_0x92eefb[_0x16495b(0x2cc)]&&_0x92eefb[_0x16495b(0x34a)]){let _0x3c1402=_0x92eefb[_0x16495b(0x2cc)]+'\x00'+_0x92eefb['viewId'];_0xc4af3b[_0x16495b(0x4d6)](_0x3c1402)||(_0xc4af3b[_0x16495b(0x290)](_0x3c1402),_0x223b9a[_0x16495b(0x277)](_0x92eefb[_0x16495b(0x2cc)],_0x92eefb[_0x16495b(0x34a)]));continue;}if(_0x92eefb['reason']===_0x16495b(0x380)&&_0x92eefb['tableId']&&_0x92eefb[_0x16495b(0x446)]){let _0x5b8cc6=_0x92eefb['tableId']+'\x00'+_0x92eefb[_0x16495b(0x446)];_0x5a7957['has'](_0x5b8cc6)||(_0x5a7957['add'](_0x5b8cc6),_0x223b9a[_0x16495b(0x2eb)](_0x92eefb[_0x16495b(0x2cc)],_0x92eefb[_0x16495b(0x446)]));continue;}if(_0x92eefb['reason']!==_0x16495b(0x2c9)){_0x223b9a[_0x16495b(0x208)]();return;}let _0x562ec1=Bi(_0x2ea902,_0x92eefb);if(!_0x562ec1){_0x223b9a[_0x16495b(0x208)]();return;}let _0x5f0c97=_0x562ec1['tableId']+'\x00'+_0x562ec1[_0x16495b(0x394)]+'\x00'+_0x562ec1[_0x16495b(0x446)];_0x3f4798[_0x16495b(0x4d6)](_0x5f0c97)||(_0x3f4798[_0x16495b(0x290)](_0x5f0c97),_0x223b9a['invalidateByCell'](_0x562ec1[_0x16495b(0x2cc)],_0x562ec1[_0x16495b(0x394)],_0x562ec1[_0x16495b(0x446)]));}}function Bi(_0x5c3282,_0x429555){const _0x38e122=_0x4e7c38;var _0x4d25b6,_0x455774;if(!_0x429555[_0x38e122(0x2cc)])return null;if(_0x429555[_0x38e122(0x394)]&&_0x429555[_0x38e122(0x446)])return{'tableId':_0x429555[_0x38e122(0x2cc)],'recordId':_0x429555[_0x38e122(0x394)],'fieldId':_0x429555['fieldId']};if(_0x429555[_0x38e122(0x505)]==null||_0x429555[_0x38e122(0x50c)]==null)return null;let _0xf4ad3a=_0x5c3282[_0x38e122(0x29e)][_0x429555[_0x38e122(0x2cc)]],_0x4c96e0=_0xf4ad3a==null||(_0x4d25b6=_0xf4ad3a[_0x38e122(0x565)])==null?void 0x0:_0x4d25b6[_0x429555[_0x38e122(0x505)]],_0xa2a5f2=_0xf4ad3a==null||(_0x455774=_0xf4ad3a['colId'])==null?void 0x0:_0x455774[_0x429555['column']];return!_0x4c96e0||!_0xa2a5f2?null:{'tableId':_0x429555[_0x38e122(0x2cc)],'recordId':_0x4c96e0,'fieldId':_0xa2a5f2};}const Vi=_0x41e4dc['createRegExpFromSafeFragment'](String['raw']`(?:^|\W)\$?[A-Z]{1,3}\$?\d+(?::\$?[A-Z]{1,3}\$?\d+)?(?:$|\W)`),Hi=_0x41e4dc[_0x4e7c38(0x315)](String['raw']`(?:'\[[^\]]+\](?:[^']|'')+'|\[[^\]]+\][^\s'!]+)!\$?[A-Z]{1,3}\$?\d+(?::\$?[A-Z]{1,3}\$?\d+)?`,'gi'),Ui=/\{([^}]+)\}/g,Wi=_0x41e4dc[_0x4e7c38(0x315)](String[_0x4e7c38(0x489)]`\b([A-Z_][\w.]*)\[\[\s*#(This Row|Data)\s*\],\s*\[([^\]]+)\]\]`,'gi'),Gi=_0x41e4dc[_0x4e7c38(0x315)](String[_0x4e7c38(0x489)]`\b([A-Z_][\w.]*)\[@\[([^\]]+)\]\]`,'gi'),Ki=_0x41e4dc[_0x4e7c38(0x315)](String[_0x4e7c38(0x489)]`\b([A-Z_][\w.]*)\[([^\[\]#]+)\]`,'gi'),qi=_0x41e4dc[_0x4e7c38(0x315)](String[_0x4e7c38(0x489)]`(^|[^\w\[])\[\[\s*#(This Row|Data)\s*\],\s*\[([^\]]+)\]\]`,'gi'),Ji=_0x41e4dc[_0x4e7c38(0x315)](String[_0x4e7c38(0x489)]`(^|[^\w\[])\[@\[([^\]]+)\]\](?!\])`,'g'),Yi=_0x41e4dc[_0x4e7c38(0x315)](String[_0x4e7c38(0x489)]`(^|[^\w\[])\[@?([^\[\]#]+)\](?!\])`,'g');var Xi=class{[_0x4e7c38(0x1ce)](_0x2f4ab9,_0x510d76=_0x2f4ab9['id']){const _0x1b5449=_0x4e7c38;var _0x4ec2bf;let _0x19cc9b=((_0x4ec2bf=_0x2f4ab9[_0x1b5449(0x52d)])==null?void 0x0:_0x4ec2bf['length'])??Object['values'](_0x2f4ab9[_0x1b5449(0x2d1)])[_0x1b5449(0x2b6)];return{'sheetId':_0x510d76,'titleMap':new Map(_0x2f4ab9['fieldOrder']['map']((_0x57d7fc,_0x20a6e0)=>{const _0x16a8d3=_0x1b5449;var _0x5eeeb4;return[((_0x5eeeb4=_0x2f4ab9[_0x16a8d3(0x531)][_0x57d7fc])==null?void 0x0:_0x5eeeb4[_0x16a8d3(0x39a)])??_0x57d7fc,_0x20a6e0];})),'range':{'startRow':0x0,'endRow':Math[_0x1b5449(0x265)](0x0,_0x19cc9b-0x1),'startColumn':0x0,'endColumn':Math[_0x1b5449(0x265)](0x0,_0x2f4ab9[_0x1b5449(0x4dc)][_0x1b5449(0x2b6)]-0x1)},'showHeader':!0x1};}[_0x4e7c38(0x1e0)](_0x24ca8d,_0x2c0f95){const _0x325767=_0x4e7c38;let _0x4fa9de=[],_0x4cd954=_0x2c0f95?new Set(_0x2c0f95):null,_0x331e4e=_0x4669bc(_0x24ca8d);return Object[_0x325767(0x4c0)](_0x24ca8d[_0x325767(0x29e)])[_0x325767(0x20f)](_0x16ab9a=>!_0x4cd954||_0x4cd954['has'](_0x16ab9a['id']))[_0x325767(0x397)](_0x88247a=>{const _0x48918b=_0x325767;let _0x47d6d1=this['createSuperTableReference'](_0x88247a,_0x88247a['id']);_0x4fa9de[_0x48918b(0x3e2)]({'tableId':_0x88247a['id'],'tableName':_0x331e4e[_0x48918b(0x4d5)](_0x88247a['id']),'reference':_0x47d6d1});}),_0x4fa9de;}[_0x4e7c38(0x398)](_0x4c3541,_0x13a631,_0x13fb58={}){const _0x363314=_0x4e7c38;let _0x218e4b=_0x4c3541['trim']();if(!_0x218e4b)return{'valid':!0x0};if(na(_0x218e4b))return{'valid':!0x1,'reason':_0x363314(0x383)};let _0x5c5318=_0x13fb58['snapshot']?_0x4669bc(_0x13fb58[_0x363314(0x400)]):void 0x0;for(let _0x1d6d12 of ta(_0x218e4b)){let _0x59004f=ua(_0x1d6d12,_0x13a631,_0x13fb58[_0x363314(0x400)],_0x5c5318);if(!_0x59004f[_0x363314(0x438)])return{'valid':!0x1,'reason':_0x363314(0x4b0)+_0x1d6d12['tableName']+_0x363314(0x236)};if(!_0x59004f[_0x363314(0x380)])return{'valid':!0x1,'reason':_0x363314(0x2b9)+_0x1d6d12[_0x363314(0x21a)]+_0x363314(0x4a8)};}return{'valid':!0x0};}[_0x4e7c38(0x362)](_0x5c6133,_0x1d047a,_0x5ac7c6={}){const _0x5e7db4=_0x4e7c38;let _0x196496=new Set();for(let _0x4723cf of this[_0x5e7db4(0x289)](_0x5c6133,_0x1d047a,_0x5ac7c6))_0x4723cf[_0x5e7db4(0x2cc)]===_0x1d047a['id']&&_0x196496['add'](_0x4723cf[_0x5e7db4(0x446)]);return Array[_0x5e7db4(0x501)](_0x196496);}[_0x4e7c38(0x289)](_0x4f0fcd,_0x4bab25,_0x1f2a7a={}){const _0x4ea00d=_0x4e7c38;let _0x5cced4=new Map(),_0x1925cb=_0x1f2a7a[_0x4ea00d(0x400)]?_0x4669bc(_0x1f2a7a[_0x4ea00d(0x400)]):void 0x0;for(let _0x294867 of ta(_0x4f0fcd)){let _0x56afc7=ua(_0x294867,_0x4bab25,_0x1f2a7a['snapshot'],_0x1925cb);if(!_0x56afc7[_0x4ea00d(0x438)]||!_0x56afc7[_0x4ea00d(0x380)])continue;let _0x572d36=_0x56afc7[_0x4ea00d(0x438)]['id']+'\x1f'+_0x56afc7[_0x4ea00d(0x380)]['id'];_0x5cced4[_0x4ea00d(0x205)](_0x572d36,{'tableId':_0x56afc7[_0x4ea00d(0x438)]['id'],'fieldId':_0x56afc7['field']['id']});}return Array[_0x4ea00d(0x501)](_0x5cced4['values']());}};function Zi(_0x4fcab7,_0x40d4a9){const _0x4783d8=_0x4e7c38;var _0x1fb33c;let _0x3a0832=[],_0x402294=(_0x1fb33c=_0x40d4a9[_0x4783d8(0x3fd)])==null?void 0x0:_0x1fb33c[_0x4fcab7['id']];return _0x402294&&Object[_0x4783d8(0x502)](_0x402294)[_0x4783d8(0x397)](([_0x58351b,_0x1e0c1b])=>{const _0x5b52d4=_0x4783d8;let _0x4e073d=_0x4fcab7[_0x5b52d4(0x29e)][_0x58351b];if(!_0x4e073d||!_0x1e0c1b)return;let _0x38d083=L(_0x4e073d),_0x36e935=[];new _0x5e8551(_0x1e0c1b)[_0x5b52d4(0x546)]((_0x16ab53,_0x4b83a9,_0x1be09c)=>{const _0x11aed8=_0x5b52d4;let _0x19f778=Qi(_0x38d083,_0x16ab53,_0x4b83a9,_0x1be09c);_0x19f778&&_0x36e935[_0x11aed8(0x3e2)](_0x19f778);}),_0x36e935[_0x5b52d4(0x2b6)]&&_0x3a0832[_0x5b52d4(0x3e2)]({'unitId':_0x4fcab7['id'],'tableId':_0x58351b,'patches':_0x36e935});}),_0x3a0832;}function Qi(_0x80cd5e,_0x56bacb,_0x4e0e22,_0x1aea19){const _0xe0e65a=_0x4e7c38;var _0x4a4cf9,_0x1a98c7,_0x18a5e1;let _0x4b7c83=(_0x4a4cf9=_0x80cd5e[_0xe0e65a(0x565)])==null?void 0x0:_0x4a4cf9[_0x56bacb],_0x305d33=(_0x1a98c7=_0x80cd5e[_0xe0e65a(0x512)])==null?void 0x0:_0x1a98c7[_0x4e0e22];if(!_0x4b7c83||!_0x80cd5e[_0xe0e65a(0x2d1)][_0x4b7c83]||!_0x305d33)return null;let _0x5bf9d7=_0x80cd5e[_0xe0e65a(0x531)][_0x305d33];if(!_0x5bf9d7||_0x5bf9d7[_0xe0e65a(0x30b)]!==_0xe0e65a(0x44e))return null;let _0x350671=String(((_0x18a5e1=_0x5bf9d7[_0xe0e65a(0x554)])==null?void 0x0:_0x18a5e1[_0xe0e65a(0x44e)])??'')[_0xe0e65a(0x42c)](),_0x483eb0=(_0x1aea19==null?void 0x0:_0x1aea19['v'])??null,_0x8a1d78={'v':_0x483eb0,'t':ea(_0x483eb0),..._0x56bacb===0x0&&_0x350671?{'f':_0x350671}:{},'si':_0x5bf9d7['id']};return $i(vt(_0x80cd5e,_0x4b7c83,_0x305d33),_0x8a1d78)?null:{'row':_0x56bacb,'col':_0x4e0e22,'value':_0x8a1d78};}function $i(_0xe53eb9,_0x275ff8){return _0xe53eb9!=null&&Object['is'](_0xe53eb9['v']??null,_0x275ff8['v']??null)&&_0xe53eb9['t']===_0x275ff8['t']&&_0xe53eb9['f']===_0x275ff8['f']&&_0xe53eb9['si']===_0x275ff8['si'];}function ea(_0x532c9d){const _0x557a4e=_0x4e7c38;return typeof _0x532c9d=='number'?_0xbba171[_0x557a4e(0x256)]:typeof _0x532c9d=='boolean'?_0xbba171[_0x557a4e(0x2ec)]:typeof _0x532c9d==_0x557a4e(0x457)?_0xbba171[_0x557a4e(0x329)]:null;}function ta(_0x47039e){const _0x126263=_0x4e7c38;let _0x2cc490=ia(_0x47039e,()=>''),_0x2b7f4a=new Map(),_0x629cbc=_0x416cb4=>{const _0x250138=_0x16bf;_0x2b7f4a['set']((_0x416cb4[_0x250138(0x1d9)]??'')+'\x1f'+_0x416cb4[_0x250138(0x21a)],_0x416cb4);};for(let _0x5bdf5c of _0x2cc490['matchAll'](Ui))_0x629cbc({'fieldName':_0x5bdf5c[0x1],'scope':_0x126263(0x42a)});_0x2cc490=_0x2cc490[_0x126263(0x212)](Wi,(_0x29da44,_0x37ca6d,_0x40dc5d,_0x3fd650)=>(_0x629cbc({'tableName':_0x37ca6d,'fieldName':_0x3fd650,'scope':_0x40dc5d[_0x126263(0x1e9)]()===_0x126263(0x3ba)?_0x126263(0x3ba):_0x126263(0x42a)}),'\x20')),_0x2cc490=_0x2cc490[_0x126263(0x212)](Gi,(_0x4dcb3f,_0x3d5e8f,_0x489d4b)=>(_0x629cbc({'tableName':_0x3d5e8f,'fieldName':_0x489d4b,'scope':_0x126263(0x42a)}),'\x20')),_0x2cc490=_0x2cc490[_0x126263(0x212)](qi,(_0x210949,_0x3a1f23,_0x25cd37,_0x4413e6)=>(_0x629cbc({'fieldName':_0x4413e6,'scope':_0x25cd37[_0x126263(0x1e9)]()==='data'?_0x126263(0x3ba):_0x126263(0x42a)}),_0x3a1f23+'\x20')),_0x2cc490=_0x2cc490[_0x126263(0x212)](Ji,(_0x2449d5,_0x348624,_0x167284)=>(_0x629cbc({'fieldName':_0x167284,'scope':_0x126263(0x42a)}),_0x348624+'\x20'));for(let _0x18f047 of _0x2cc490['matchAll'](Ki))_0x629cbc({'tableName':_0x18f047[0x1],'fieldName':_0x18f047[0x2]});for(let _0x84671b of _0x2cc490['matchAll'](Yi))_0x629cbc({'fieldName':_0x84671b[0x2],'scope':'this-row'});return Array['from'](_0x2b7f4a[_0x126263(0x4c0)]());}function na(_0x171e81){const _0x9dd8f6=_0x4e7c38;let _0x13df1f=ia(_0x171e81,()=>'\x20')[_0x9dd8f6(0x212)](Ui,'\x20')[_0x9dd8f6(0x212)](Wi,'\x20')[_0x9dd8f6(0x212)](Gi,'\x20')[_0x9dd8f6(0x212)](qi,'$1\x20')[_0x9dd8f6(0x212)](Ji,_0x9dd8f6(0x30f))['replace'](Ki,'\x20')[_0x9dd8f6(0x212)](Yi,_0x9dd8f6(0x30f));return Vi[_0x9dd8f6(0x463)](_0x13df1f);}function ra(_0x371a5d,_0x4acf5a){return ca(oa(_0x371a5d,_0x4acf5a),_0x4acf5a);}function ia(_0xfa4d2,_0xdadec0){return aa(ra(_0xfa4d2,_0xdadec0),_0xdadec0);}function aa(_0x5c48d5,_0x4ac7ed){const _0x1f8e73=_0x4e7c38;return _0x5c48d5[_0x1f8e73(0x212)](/"(?:""|[^"])*"/g,_0x4ac7ed);}function oa(_0x41ffad,_0x43e9fe){const _0x201e3d=_0x4e7c38;return Hi['lastIndex']=0x0,_0x41ffad[_0x201e3d(0x212)](Hi,(_0x2f20a3,_0x42ffa5)=>la(_0x41ffad,_0x42ffa5)?_0x2f20a3:_0x43e9fe(_0x2f20a3));}const sa=/(?:'((?:[^']|'')+)'|\[[^\]]+\]|[A-Za-z0-9_.-]+)![^\s!\[\]]+\[/g;function ca(_0x2eab5c,_0xf9ca44){const _0x24e0f6=_0x4e7c38;let _0x4d5ada=[];for(sa[_0x24e0f6(0x485)]=0x0;;){let _0x74f98d=sa[_0x24e0f6(0x1c8)](_0x2eab5c);if(_0x74f98d==null)break;if(la(_0x2eab5c,_0x74f98d[_0x24e0f6(0x230)]))continue;let _0x4a98a1=sa['lastIndex']-0x1,_0x40b71d=0x0;for(let _0x43118c=_0x4a98a1;_0x43118c<_0x2eab5c[_0x24e0f6(0x2b6)];_0x43118c++)if(_0x2eab5c[_0x43118c]==='['&&_0x40b71d++,_0x2eab5c[_0x43118c]===']'&&(_0x40b71d--,_0x40b71d===0x0)){_0x4d5ada[_0x24e0f6(0x3e2)]({'start':_0x74f98d[_0x24e0f6(0x230)],'end':_0x43118c+0x1}),sa['lastIndex']=_0x43118c+0x1;break;}}if(_0x4d5ada[_0x24e0f6(0x2b6)]===0x0)return _0x2eab5c;let _0x4b5e09='',_0x597683=0x0;for(let _0x51598b of _0x4d5ada)_0x4b5e09+=_0x2eab5c[_0x24e0f6(0x479)](_0x597683,_0x51598b[_0x24e0f6(0x2b1)]),_0x4b5e09+=_0xf9ca44(_0x2eab5c[_0x24e0f6(0x479)](_0x51598b[_0x24e0f6(0x2b1)],_0x51598b[_0x24e0f6(0x41a)])),_0x597683=_0x51598b[_0x24e0f6(0x41a)];return _0x4b5e09+_0x2eab5c[_0x24e0f6(0x479)](_0x597683);}function la(_0x2b2474,_0x57d5d8){let _0x57740b=!0x1;for(let _0x58871a=0x0;_0x58871a<_0x57d5d8;_0x58871a++)if(_0x2b2474[_0x58871a]==='\x22'){if(_0x57740b&&_0x2b2474[_0x58871a+0x1]==='\x22'){_0x58871a++;continue;}_0x57740b=!_0x57740b;}return _0x57740b;}function ua(_0x2cd9ca,_0x2e5e3e,_0x54101b,_0x45c69f){const _0x4aece5=_0x4e7c38;let _0x5bdc6d=da(_0x2cd9ca[_0x4aece5(0x1d9)],_0x2e5e3e,_0x54101b,_0x45c69f);return{'table':_0x5bdc6d,'field':_0x5bdc6d?Object[_0x4aece5(0x4c0)](_0x5bdc6d[_0x4aece5(0x531)])[_0x4aece5(0x1c5)](_0x4c9109=>_0x4c9109[_0x4aece5(0x39a)]===_0x2cd9ca[_0x4aece5(0x21a)]):void 0x0};}function da(_0x11228d,_0x3a2350,_0x2b1bd9,_0x29b8e1){const _0x29fcd6=_0x4e7c38;if(!_0x11228d)return _0x3a2350;if(!_0x2b1bd9){var _0x3a434a;let _0x27e472=_0x11228d[_0x29fcd6(0x1e9)]();return _0x27e472===_0x3a2350['id'][_0x29fcd6(0x1e9)]()||_0x27e472===_0x3a2350[_0x29fcd6(0x39a)][_0x29fcd6(0x1e9)]()||_0x27e472===((_0x3a434a=_0x3a2350[_0x29fcd6(0x2cf)])==null?void 0x0:_0x3a434a['toLowerCase']())?_0x3a2350:void 0x0;}let _0x5d8bff=_0x11228d[_0x29fcd6(0x1e9)](),_0x84c97c=_0x29b8e1??_0x4669bc(_0x2b1bd9),_0x4a99ad=Object[_0x29fcd6(0x4c0)](_0x2b1bd9[_0x29fcd6(0x29e)])[_0x29fcd6(0x20f)](_0x4ceb4c=>{const _0x6ff3f2=_0x29fcd6;var _0x461e2e;return _0x4ceb4c['id'][_0x6ff3f2(0x1e9)]()===_0x5d8bff||_0x4ceb4c['name'][_0x6ff3f2(0x1e9)]()===_0x5d8bff||((_0x461e2e=_0x84c97c[_0x6ff3f2(0x4d5)](_0x4ceb4c['id']))==null?void 0x0:_0x461e2e['toLowerCase']())===_0x5d8bff||fa(_0x4ceb4c['id'])[_0x6ff3f2(0x1e9)]()===_0x5d8bff;});return _0x4a99ad[_0x29fcd6(0x2b6)]===0x1?_0x4a99ad[0x0]:void 0x0;}function fa(_0x45371c){const _0x3acd87=_0x4e7c38;return _0x3acd87(0x29c)+Array['from'](_0x45371c,_0x92ee90=>{const _0x20bd2a=_0x3acd87;var _0x26e735;return/[A-Za-z0-9]/['test'](_0x92ee90)?_0x92ee90:'_x'+(((_0x26e735=_0x92ee90[_0x20bd2a(0x3e5)](0x0))==null?void 0x0:_0x26e735['toString'](0x10))??'0')+'_';})['join']('');}const pa=new Xi();function ma(_0x34420e,_0x227b2a,_0x2f4d50){const _0x53e366=_0x4e7c38;var _0x1887dd;if(_0x2f4d50['type']!==_0x377615['Formula'])return!0x0;let _0x45f5f2=String(((_0x1887dd=_0x2f4d50[_0x53e366(0x554)])==null?void 0x0:_0x1887dd[_0x53e366(0x44e)])??''),_0x29b1fb=_0x34420e['getSnapshot']();return pa[_0x53e366(0x398)](_0x45f5f2,_0x29b1fb[_0x53e366(0x29e)][_0x227b2a],{'snapshot':_0x29b1fb})[_0x53e366(0x29f)];}function $(_0x1db8b2,_0x3bf601,_0x2f218d){const _0x5e48c8=_0x4e7c38;let _0x4075d4=_0x1db8b2[_0x5e48c8(0x2a7)]()[_0x5e48c8(0x29e)][_0x3bf601];if(!_0x4075d4)return!0x1;let {viewIds:_0x5b8a79,fieldIds:_0x2e290e,recordIds:_0x27c448}=_0x2f218d||{};if(_0x5b8a79){for(let _0x1dfa9e of _0x5b8a79)if(!_0x4075d4[_0x5e48c8(0x460)][_0x1dfa9e])return!0x1;}if(_0x2e290e){for(let _0x330c5c of _0x2e290e)if(!_0x4075d4[_0x5e48c8(0x531)][_0x330c5c])return!0x1;}if(_0x27c448){for(let _0x3b272c of _0x27c448)if(!_0x4075d4[_0x5e48c8(0x2d1)][_0x3b272c])return!0x1;}return!0x0;}function ha(_0xb9030a,_0x42c7a6,_0x15819b){const _0x21d602=_0x4e7c38;if(_0x15819b['id']===_0x5802d7||_0x15819b['type']===_0x377615['RecordId']||_0x56e40f(_0x15819b[_0x21d602(0x39a)])||!ma(_0xb9030a,_0x42c7a6,_0x15819b))return!0x1;let _0x576c9b=_0xb9030a[_0x21d602(0x2a7)]();if(!Be(_0x576c9b,_0x15819b)['valid'])return!0x1;if(_0x15819b['type']!==_0x377615[_0x21d602(0x23d)])return!0x0;let _0x43610d=N(_0x15819b);if(!_0x43610d)return!0x1;if(_0x43610d['relationRole']===void 0x0)return!0x0;if(_0x43610d[_0x21d602(0x4ab)]!==_0x4cb80e['Parent']||_0x43610d[_0x21d602(0x3b9)]!==_0x42c7a6||_0x43610d[_0x21d602(0x413)]!==!0x1)return!0x1;let _0x528e4b=_0x576c9b[_0x21d602(0x29e)][_0x42c7a6];return!Object[_0x21d602(0x4c0)](_0x528e4b[_0x21d602(0x531)])[_0x21d602(0x48e)](_0x47dc75=>{const _0x42a9b3=_0x21d602;var _0x34b64d;return _0x47dc75['id']!==_0x15819b['id']&&_0x47dc75[_0x42a9b3(0x30b)]===_0x377615[_0x42a9b3(0x23d)]&&((_0x34b64d=N(_0x47dc75))==null?void 0x0:_0x34b64d[_0x42a9b3(0x4ab)])===_0x4cb80e[_0x42a9b3(0x3c7)];});}function ga(_0x561164,_0x23babe,_0x12d906,_0x43b013){const _0x53f1be=_0x4e7c38;var _0x421962;let _0x8cdf95=_0x561164[_0x53f1be(0x2a7)](),_0x3f5a85=(_0x421962=_0x8cdf95[_0x53f1be(0x29e)][_0x23babe])==null?void 0x0:_0x421962[_0x53f1be(0x531)][_0x12d906];return!_0x3f5a85||_0x3f5a85['id']===_0x5802d7||_0x3f5a85[_0x53f1be(0x30b)]===_0x377615[_0x53f1be(0x4c5)]?!0x1:_0x3f5a85[_0x53f1be(0x30b)]!==_0x377615[_0x53f1be(0x23d)]||Ve(_0x8cdf95,_0x3f5a85,ya(_0x43b013))['valid'];}function _a(_0x487304,_0x84e746,_0x53d3a1){const _0x379406=_0x4e7c38;let _0x1426f9=_0x487304[_0x379406(0x2a7)]()[_0x379406(0x29e)][_0x84e746];return!_0x1426f9||!_0x5a7c96(_0x53d3a1['id'])||_0x1426f9['records'][_0x53d3a1['id']]||Object[_0x379406(0x2f7)]['hasOwnProperty'][_0x379406(0x386)](_0x53d3a1[_0x379406(0x4c0)],_0x5802d7)&&_0x53d3a1['values'][_0x5802d7]!==_0x53d3a1['id']?!0x1:Object[_0x379406(0x502)](_0x53d3a1[_0x379406(0x4c0)])[_0x379406(0x1f6)](([_0xdfca5f,_0x173dad])=>_0xdfca5f===_0x5802d7||ga(_0x487304,_0x84e746,_0xdfca5f,_0x173dad));}function va(_0x4ee0a0){const _0x5d177c=_0x4e7c38;return{..._0x4ee0a0,'values':{..._0x4ee0a0[_0x5d177c(0x4c0)],[_0x5802d7]:_0x4ee0a0['id']}};}function ya(_0x51d57f){const _0x4b8161=_0x4e7c38;if(_0x51d57f&&typeof _0x51d57f==_0x4b8161(0x3d3)&&!Array[_0x4b8161(0x56b)](_0x51d57f)&&'v'in _0x51d57f){let _0x20f4f3=_0x51d57f['v'];return _0x20f4f3===void 0x0?null:_0x20f4f3;}return _0x51d57f;}function ba(_0x36cae0,_0x45e328,_0x5e61f1,_0x15d145){const _0x13df11=_0x4e7c38;let _0x368dbf=_0x36cae0[_0x13df11(0x2a7)]()['tables'][_0x45e328];if(!_0x368dbf)return null;let _0x3b5608=qe(_0x368dbf),_0x27d350=_0x3b5608??Je(_0x368dbf),_0x51433e=_0x5e61f1['some'](_0x36b5f6=>Object[_0x13df11(0x2f7)][_0x13df11(0x396)][_0x13df11(0x386)](_0x36b5f6[_0x13df11(0x4c0)],_0x27d350)),_0x32f9f7=_0x3b5608?_0x368dbf[_0x13df11(0x531)][_0x3b5608]:_0x51433e?Ye(_0x368dbf,_0x27d350,_0x15d145):null,_0x3bc44f=[];for(let _0x5c7313 of _0x5e61f1){let _0x23b98c=_0x5c7313[_0x13df11(0x4c0)][_0x27d350],_0x329ab4=_0x32f9f7!==null&&Object['prototype'][_0x13df11(0x396)][_0x13df11(0x386)](_0x5c7313[_0x13df11(0x4c0)],_0x27d350),_0x1b0edf=ya(_0x23b98c),_0x104955=null;if(_0x329ab4){if(typeof _0x1b0edf!='string'||!ze(_0x1b0edf,!0x1)[_0x13df11(0x29f)])return null;_0x104955=_0x1b0edf;}let _0x3d3067={};if(Object[_0x13df11(0x502)](_0x5c7313['values'])[_0x13df11(0x397)](([_0x45dc5f,_0x38dbbd])=>{(!_0x329ab4||_0x45dc5f!==_0x27d350)&&(_0x3d3067[_0x45dc5f]=_0x38dbbd);}),!_a(_0x36cae0,_0x45e328,{..._0x5c7313,'values':_0x3d3067}))return null;let _0x1e721={..._0x5c7313[_0x13df11(0x4c0)]};_0x104955!==null&&(_0x1e721[_0x27d350]=_0x104955),_0x3bc44f[_0x13df11(0x3e2)](va({..._0x5c7313,'values':_0x1e721}));}return{'records':_0x3bc44f,'hierarchyFieldToMaterialize':_0x3b5608?null:_0x32f9f7,'hierarchyChanges':Qe(_0x368dbf,_0x3bc44f)};}const xa={'id':_0x4e7c38(0x1ff),'type':_0x32350d[_0x4e7c38(0x47b)],'handler'(_0x3fe102,_0x428216){const _0x3a3251=_0x4e7c38;if(!_0x428216)return!0x1;let _0x4746cf=_0x3fe102[_0x3a3251(0x4d5)](_0x26755d),{unitId:_0x853870,tableId:_0x9a9cae,records:_0x193ab4}=_0x428216,_0x4cac9d=_0x4746cf[_0x3a3251(0x34e)](_0x853870,_0x2eb623[_0x3a3251(0x583)]),_0x111431=_0x193ab4['map'](_0x2a0033=>_0x2a0033['id']);if(!_0x4cac9d||!$(_0x4cac9d,_0x9a9cae)||new Set(_0x111431)['size']!==_0x111431['length'])return!0x1;let _0x405143=_0x3fe102[_0x3a3251(0x4d5)](_0x5342d9),_0x59b3e2=_0x3fe102['get'](_0x1eb28c),_0x3b76ce=_0x3fe102['get'](Kr),_0x4748e0=_0x4cac9d[_0x3a3251(0x2a7)](),_0x2a2a9d=ba(_0x4cac9d,_0x9a9cae,_0x193ab4);if(!_0x2a2a9d)return!0x1;let {records:_0x1d531a,hierarchyChanges:_0x4fd94e,hierarchyFieldToMaterialize:_0x4fc4d}=_0x2a2a9d,_0x4f82e4=_0x4fc4d?_0x3b76ce[_0x3a3251(0x42d)](_0x4cac9d,_0x9a9cae,_0x4fc4d,_0x4748e0['tables'][_0x9a9cae][_0x3a3251(0x4dc)][_0x3a3251(0x2b6)]):null,_0xfd1f78=_0x3b76ce['createBatchCreateRecordsOp'](_0x4cac9d,_0x9a9cae,_0x1d531a),_0x3d64e1=R([..._0x4f82e4?[_0x4f82e4]:[],_0xfd1f78]),_0x27560b=new z()['invertOp'](_0x4748e0,_0x3d64e1),_0x1e9652={'unitId':_0x853870,'op':_0x3d64e1,'hierarchyChanges':_0x4fd94e[_0x3a3251(0x2b6)]?_0x4fd94e:void 0x0,'source':_0x4fd94e['length']?_0x428216['source']??'ui':void 0x0},_0x2d1e5a={..._0x1e9652,'source':_0x4fd94e[_0x3a3251(0x2b6)]?_0x3a3251(0x237):void 0x0},_0x538e50={'unitId':_0x853870,'op':_0x27560b,'hierarchyChanges':_0x4fd94e[_0x3a3251(0x2b6)]?_0x4fd94e[_0x3a3251(0x3e8)](_0x6ad68f=>({..._0x6ad68f,'oldParentRecordId':_0x6ad68f[_0x3a3251(0x44b)],'parentRecordId':null})):void 0x0,'source':_0x4fd94e[_0x3a3251(0x2b6)]?'undo':void 0x0};return _0x405143[_0x3a3251(0x490)](Q['id'],_0x1e9652)?(_0x4746cf['focusUnit'](_0x853870),_0x59b3e2[_0x3a3251(0x260)]({'unitID':_0x853870,'undoMutations':[{'id':Q['id'],'params':_0x538e50}],'redoMutations':[{'id':Q['id'],'params':_0x2d1e5a}]}),!0x0):!0x1;}},Sa={'id':_0x4e7c38(0x393),'type':_0x32350d[_0x4e7c38(0x47b)],'handler':(_0x493e50,_0x5664da)=>{const _0x4f8ba6=_0x4e7c38;if(!_0x5664da)return!0x1;let _0x261e11=_0x493e50[_0x4f8ba6(0x4d5)](_0x26755d),{unitId:_0x3f773b,tableId:_0x1c0788,recordIds:_0x16ed0e}=_0x5664da,_0x108eb5=_0x261e11['getUnit'](_0x3f773b,_0x2eb623[_0x4f8ba6(0x583)]);if(!_0x108eb5||!$(_0x108eb5,_0x1c0788,{'recordIds':_0x16ed0e}))return!0x1;let _0x36143f=_0x493e50[_0x4f8ba6(0x4d5)](_0x5342d9),_0x2b4268=_0x493e50['get'](_0x1eb28c),_0x30dcc8=_0x108eb5['getSnapshot'](),_0x4db238=et(_0x30dcc8['tables'][_0x1c0788],_0x16ed0e),_0x28c935=new W(),_0x2ee34e=new z(),_0x1a8d01=_0x28c935[_0x4f8ba6(0x48f)](_0x30dcc8,_0x1c0788,_0x16ed0e),_0x437e44=_0x2ee34e[_0x4f8ba6(0x348)](_0x30dcc8,_0x1a8d01),_0x3c6c03=_0x28c935[_0x4f8ba6(0x24f)](_0x30dcc8,_0x437e44,_0x1c0788,_0x16ed0e),_0x43429c={'unitId':_0x3f773b,'op':_0x1a8d01,'hierarchyChanges':_0x4db238,'source':_0x5664da['source']??'ui'},_0x5927f4={..._0x43429c,'source':_0x4f8ba6(0x237)},_0x35d912={'unitId':_0x3f773b,'op':_0x3c6c03,'hierarchyChanges':_0x4db238[_0x4f8ba6(0x3e8)](_0x2cca49=>({..._0x2cca49,'oldParentRecordId':_0x2cca49[_0x4f8ba6(0x44b)],'parentRecordId':_0x2cca49['oldParentRecordId']})),'source':_0x4f8ba6(0x3ef)};return _0x36143f[_0x4f8ba6(0x490)](Q['id'],_0x43429c)?(_0x261e11[_0x4f8ba6(0x366)](_0x3f773b),_0x2b4268[_0x4f8ba6(0x260)]({'unitID':_0x3f773b,'undoMutations':[{'id':Q['id'],'params':_0x35d912}],'redoMutations':[{'id':Q['id'],'params':_0x5927f4}]}),!0x0):!0x1;}},Ca={'id':_0x4e7c38(0x424),'type':_0x32350d[_0x4e7c38(0x47b)],'handler':(_0x26523b,_0x6d8506)=>{const _0x65efd8=_0x4e7c38;if(!_0x6d8506)return!0x1;let _0x3783aa=_0x26523b[_0x65efd8(0x4d5)](_0x26755d),{unitId:_0x3662ff,tableId:_0x20085a,fieldId:_0x587ad4,input:_0x5b137b}=_0x6d8506,_0x3658fa=_0x3783aa[_0x65efd8(0x34e)](_0x3662ff,_0x2eb623[_0x65efd8(0x583)]);if(!_0x3658fa||_0x587ad4===_0x5802d7||!$(_0x3658fa,_0x20085a,{'fieldIds':[_0x587ad4]}))return!0x1;let _0x37fba6=_0x26523b['get'](_0x5342d9),_0x419aad=_0x26523b[_0x65efd8(0x4d5)](_0x1eb28c),_0x21f7e9=_0x3658fa[_0x65efd8(0x2a7)]();if(!ha(_0x3658fa,_0x20085a,{..._0x21f7e9[_0x65efd8(0x29e)][_0x20085a][_0x65efd8(0x531)][_0x587ad4],..._0x5b137b}))return!0x1;let _0x4b7392=new W()[_0x65efd8(0x36f)](_0x21f7e9,_0x20085a,_0x587ad4,_0x5b137b),_0x37c023=new z()[_0x65efd8(0x27f)](_0x21f7e9,_0x4b7392),_0x424881={'unitId':_0x3662ff,'op':_0x4b7392},_0x5c1fb8={'unitId':_0x3662ff,'op':_0x37c023};return _0x37fba6[_0x65efd8(0x490)](Q['id'],_0x424881)?(_0x3783aa[_0x65efd8(0x366)](_0x3662ff),_0x419aad[_0x65efd8(0x260)]({'unitID':_0x3662ff,'undoMutations':[{'id':Q['id'],'params':_0x5c1fb8}],'redoMutations':[{'id':Q['id'],'params':_0x424881}]}),!0x0):!0x1;}},wa={'id':'base.command.create-base-child-record','type':_0x32350d[_0x4e7c38(0x47b)],'handler'(_0x171cb9,_0x37adf7){const _0x4d3d8f=_0x4e7c38;var _0x319809;if(!_0x37adf7)return!0x1;let {unitId:_0xb6d677,tableId:_0x36a92c,parentRecordId:_0x1bb67a}=_0x37adf7,_0x67c362=_0x171cb9[_0x4d3d8f(0x4d5)](_0x26755d),_0x85f45d=_0x67c362[_0x4d3d8f(0x34e)](_0xb6d677,_0x2eb623[_0x4d3d8f(0x583)]);if(!_0x85f45d||!$(_0x85f45d,_0x36a92c,{'recordIds':[_0x1bb67a]}))throw new P(_0x4d3d8f(0x310));let _0x100b3d=_0x85f45d[_0x4d3d8f(0x2a7)](),_0x44b311=_0x100b3d[_0x4d3d8f(0x29e)][_0x36a92c],_0x1dc3ba=qe(_0x44b311),_0x4573f3=_0x1dc3ba??_0x37adf7[_0x4d3d8f(0x446)]??Je(_0x44b311);if(_0x1dc3ba&&_0x37adf7[_0x4d3d8f(0x446)]&&_0x37adf7[_0x4d3d8f(0x446)]!==_0x1dc3ba||_0x44b311[_0x4d3d8f(0x531)][_0x4573f3]&&!F(_0x44b311,_0x4573f3))throw new P(_0x4d3d8f(0x401));if((tt(_0x44b311,_0x4573f3)['depthByRecordId'][_0x4d3d8f(0x4d5)](_0x1bb67a)??0x0)+0x1>=0x5)throw new P(_0x4d3d8f(0x382));if(!_a(_0x85f45d,_0x36a92c,_0x37adf7[_0x4d3d8f(0x51b)]))return!0x1;let _0x25e461=va({..._0x37adf7[_0x4d3d8f(0x51b)],'values':{..._0x37adf7[_0x4d3d8f(0x51b)][_0x4d3d8f(0x4c0)],[_0x4573f3]:Re([_0x1bb67a])}}),_0x2afafa=_0x171cb9[_0x4d3d8f(0x4d5)](Kr),_0x141920=new W(),_0x4da51a=_0x44b311[_0x4d3d8f(0x531)][_0x4573f3],_0x589caf=_0x4da51a?((_0x319809=N(_0x4da51a))==null?void 0x0:_0x319809['relationRole'])===_0x4cb80e[_0x4d3d8f(0x3c7)]?null:_0x141920[_0x4d3d8f(0x309)](_0x100b3d,_0x36a92c,_0x4573f3,{'config':{..._0x4da51a['config'],'relationRole':_0x4cb80e['Parent']}}):_0x2afafa['createCreateFieldOp'](_0x85f45d,_0x36a92c,Ye(_0x44b311,_0x4573f3,_0x37adf7[_0x4d3d8f(0x3df)]),_0x44b311[_0x4d3d8f(0x4dc)][_0x4d3d8f(0x2b6)]),_0x542d73=_0x2afafa[_0x4d3d8f(0x28a)](_0x85f45d,_0x36a92c,_0x25e461),_0x3abe74=R([..._0x589caf?[_0x589caf]:[],_0x542d73]),_0x3f1323=new z()[_0x4d3d8f(0x27f)](_0x100b3d,_0x3abe74),_0x38a1c8={'tableId':_0x36a92c,'fieldId':_0x4573f3,'recordId':_0x25e461['id'],'oldParentRecordId':null,'parentRecordId':_0x1bb67a},_0x20dc3d={'unitId':_0xb6d677,'op':_0x3abe74,'trigger':wa['id'],'hierarchyChanges':[_0x38a1c8],'source':_0x37adf7[_0x4d3d8f(0x211)]??'ui'},_0x60f595={..._0x20dc3d,'source':_0x4d3d8f(0x237)},_0x3604a7={'unitId':_0xb6d677,'op':_0x3f1323,'trigger':wa['id'],'hierarchyChanges':[{..._0x38a1c8,'oldParentRecordId':_0x1bb67a,'parentRecordId':null}],'source':_0x4d3d8f(0x3ef)};return _0x171cb9[_0x4d3d8f(0x4d5)](_0x5342d9)[_0x4d3d8f(0x490)](Q['id'],_0x20dc3d)?(_0x67c362['focusUnit'](_0xb6d677),_0x171cb9['get'](_0x1eb28c)[_0x4d3d8f(0x260)]({'unitID':_0xb6d677,'undoMutations':[{'id':Q['id'],'params':_0x3604a7}],'redoMutations':[{'id':Q['id'],'params':_0x60f595}]}),!0x0):!0x1;}},Ta={'id':_0x4e7c38(0x4f1),'type':_0x32350d[_0x4e7c38(0x47b)],'handler'(_0x2ddfce,_0x31924a){const _0x1fb7c8=_0x4e7c38;if(!_0x31924a)return!0x1;let _0x3abb99=_0x2ddfce['get'](_0x26755d),{unitId:_0x454c19,tableId:_0x2a418d,field:_0xc2be19,index:_0xc82f6b,viewIndexes:_0x107ab4}=_0x31924a,_0x5e98f7=_0x3abb99[_0x1fb7c8(0x34e)](_0x454c19,_0x2eb623[_0x1fb7c8(0x583)]);if(!_0x5e98f7||!$(_0x5e98f7,_0x2a418d)||_0x5e98f7['getSnapshot']()[_0x1fb7c8(0x29e)][_0x2a418d][_0x1fb7c8(0x531)][_0xc2be19['id']]||_0xc82f6b===0x0||!ha(_0x5e98f7,_0x2a418d,_0xc2be19))return!0x1;let _0xa34812=_0x2ddfce[_0x1fb7c8(0x4d5)](_0x5342d9),_0x319778=_0x2ddfce[_0x1fb7c8(0x4d5)](_0x1eb28c),_0x46226b=_0x2ddfce[_0x1fb7c8(0x4d5)](Kr)[_0x1fb7c8(0x42d)](_0x5e98f7,_0x2a418d,_0xc2be19,_0xc82f6b,_0x107ab4),_0x14868c=new z()['invertOp'](_0x5e98f7[_0x1fb7c8(0x2a7)](),_0x46226b),_0x8883c7={'unitId':_0x454c19,'op':_0x46226b},_0x302c07={'unitId':_0x454c19,'op':_0x14868c};return _0xa34812[_0x1fb7c8(0x490)](Q['id'],_0x8883c7)?(_0x3abb99[_0x1fb7c8(0x366)](_0x454c19),_0x319778[_0x1fb7c8(0x260)]({'unitID':_0x454c19,'undoMutations':[{'id':Q['id'],'params':_0x302c07}],'redoMutations':[{'id':Q['id'],'params':_0x8883c7}]}),!0x0):!0x1;}},Ea={'id':_0x4e7c38(0x22b),'type':_0x32350d[_0x4e7c38(0x47b)],'handler'(_0x5a73d6,_0x4e9b60){const _0x77fcfb=_0x4e7c38;if(!_0x4e9b60)return!0x1;let _0x39d87b=_0x5a73d6[_0x77fcfb(0x4d5)](_0x26755d),{unitId:_0x5f3290,tableId:_0x3a6aaa,record:_0x10aa91}=_0x4e9b60,_0x1c2794=_0x39d87b[_0x77fcfb(0x34e)](_0x5f3290,_0x2eb623[_0x77fcfb(0x583)]);if(!_0x1c2794||!$(_0x1c2794,_0x3a6aaa))return!0x1;let _0x163763=_0x5a73d6['get'](_0x5342d9),_0x250dcc=_0x5a73d6[_0x77fcfb(0x4d5)](_0x1eb28c),_0x3f6d81=_0x5a73d6[_0x77fcfb(0x4d5)](Kr),_0x33ac5f=_0x1c2794[_0x77fcfb(0x2a7)](),_0x547e9d=ba(_0x1c2794,_0x3a6aaa,[_0x10aa91]);if(!_0x547e9d)return!0x1;let [_0x269914]=_0x547e9d[_0x77fcfb(0x2d1)],{hierarchyChanges:_0x253c6e,hierarchyFieldToMaterialize:_0x3564d0}=_0x547e9d,_0x423912=_0x3564d0?_0x3f6d81[_0x77fcfb(0x42d)](_0x1c2794,_0x3a6aaa,_0x3564d0,_0x33ac5f[_0x77fcfb(0x29e)][_0x3a6aaa]['fieldOrder'][_0x77fcfb(0x2b6)]):null,_0x2f09b1=_0x3f6d81[_0x77fcfb(0x28a)](_0x1c2794,_0x3a6aaa,_0x269914),_0x488739=R([..._0x423912?[_0x423912]:[],_0x2f09b1]),_0x54d68f=new z()[_0x77fcfb(0x27f)](_0x33ac5f,_0x488739),_0x290d6b={'unitId':_0x5f3290,'op':_0x488739,'hierarchyChanges':_0x253c6e[_0x77fcfb(0x2b6)]?_0x253c6e:void 0x0,'source':_0x253c6e[_0x77fcfb(0x2b6)]?_0x4e9b60['source']??'ui':void 0x0},_0x1d93e7={..._0x290d6b,'source':_0x253c6e['length']?_0x77fcfb(0x237):void 0x0},_0x366387={'unitId':_0x5f3290,'op':_0x54d68f,'hierarchyChanges':_0x253c6e[_0x77fcfb(0x2b6)]?_0x253c6e[_0x77fcfb(0x3e8)](_0x46c77b=>({..._0x46c77b,'oldParentRecordId':_0x46c77b[_0x77fcfb(0x44b)],'parentRecordId':null})):void 0x0,'source':_0x253c6e['length']?'undo':void 0x0};return _0x163763[_0x77fcfb(0x490)](Q['id'],_0x290d6b)?(_0x39d87b['focusUnit'](_0x5f3290),_0x250dcc[_0x77fcfb(0x260)]({'unitID':_0x5f3290,'undoMutations':[{'id':Q['id'],'params':_0x366387}],'redoMutations':[{'id':Q['id'],'params':_0x1d93e7}]}),!0x0):!0x1;}},Da=_0x4e7c38(0x368);function Oa(_0x4fd9e8,_0x1d36aa,_0x124eb3){const _0x96915=_0x4e7c38;if(!_0x1d36aa[_0x96915(0x42c)]())return{'valid':!0x1,'reason':'Table\x20name\x20is\x20required.','error':_0x96915(0x41f)};if(_0x1d36aa[_0x96915(0x2b6)]>0x1f)return{'valid':!0x1,'reason':'Use\x2031\x20characters\x20or\x20fewer.','error':'too-long'};if(_0x1d36aa[_0x96915(0x3c5)]('\x27')||_0x1d36aa['endsWith']('\x27'))return{'valid':!0x1,'reason':_0x96915(0x49f),'error':_0x96915(0x352)};if(/[:\\/?*\[\]]/[_0x96915(0x463)](_0x1d36aa))return{'valid':!0x1,'reason':'A\x20table\x20name\x20cannot\x20contain\x20:\x20\x5c\x20/\x20?\x20*\x20[\x20].','error':'invalid-characters'};if(!_0x2aad5d(_0x1d36aa))return{'valid':!0x1,'reason':_0x96915(0x3f0),'error':'invalid'};let _0x9252f5=_0x1d36aa[_0x96915(0x1e9)]();return Object[_0x96915(0x4c0)](_0x4fd9e8[_0x96915(0x29e)])[_0x96915(0x48e)](_0x2953a8=>_0x2953a8['id']!==_0x124eb3&&_0x2953a8[_0x96915(0x39a)]['toLowerCase']()===_0x9252f5)?{'valid':!0x1,'reason':_0x96915(0x49a),'error':_0x96915(0x250)}:{'valid':!0x0};}function ka(_0x1e9a55,_0x3934ba){const _0x509596=_0x4e7c38;let _0x392cd4=_0x3934ba[_0x509596(0x212)](/[:\\/?*\[\]]/g,'\x20')[_0x509596(0x212)](/^'+|'+$/g,'')['trim']()||_0x509596(0x232),_0x5dfabc=0x1;for(;;){let _0x1de0bd=_0x5dfabc===0x1?'':'\x20'+_0x5dfabc,_0x33964a=''+_0x392cd4[_0x509596(0x479)](0x0,0x1f-_0x1de0bd[_0x509596(0x2b6)])+_0x1de0bd;if(Oa(_0x1e9a55,_0x33964a)[_0x509596(0x29f)])return _0x33964a;_0x5dfabc++;}}const Aa={'id':'base.command.create-base-table','type':_0x32350d[_0x4e7c38(0x47b)],'handler':(_0x340222,_0x584895)=>{const _0x15059f=_0x4e7c38;if(!_0x584895)return!0x1;let _0x54c7e3=_0x340222['get'](_0x26755d),{unitId:_0x381ccd,table:_0x3f4876,index:_0x7b4c96}=_0x584895,_0xfc030c=_0x54c7e3[_0x15059f(0x34e)](_0x381ccd,_0x2eb623[_0x15059f(0x583)]);if(!_0xfc030c||_0xfc030c[_0x15059f(0x2a7)]()['tables'][_0x3f4876['id']]||!Oa(_0xfc030c[_0x15059f(0x2a7)](),_0x3f4876[_0x15059f(0x39a)])[_0x15059f(0x29f)])return!0x1;try{_0x2a8300(_0x3f4876);}catch{return!0x1;}let _0x122b7c=_0x340222['get'](_0x5342d9),_0x2a14cc=_0x340222[_0x15059f(0x4d5)](_0x1eb28c),_0x1d5e8c=_0xfc030c[_0x15059f(0x2a7)](),_0x43f28f=new W()[_0x15059f(0x1c2)](_0x1d5e8c,_0x3f4876,_0x7b4c96),_0x53c390=new z()[_0x15059f(0x27f)](_0x1d5e8c,_0x43f28f),_0x554372={'unitId':_0x381ccd,'op':_0x43f28f},_0x1d2761={'unitId':_0x381ccd,'op':_0x53c390};return _0x122b7c[_0x15059f(0x490)](Q['id'],_0x554372)?(_0x54c7e3[_0x15059f(0x366)](_0x381ccd),_0x2a14cc['pushUndoRedo']({'unitID':_0x381ccd,'undoMutations':[{'id':Q['id'],'params':_0x1d2761}],'redoMutations':[{'id':Q['id'],'params':_0x554372}]}),!0x0):!0x1;}};function ja(_0x4746df,_0x62cac2,_0xb474a1=[]){const _0x1b35ba=_0x4e7c38;let _0x168b05=new Set([...Object['values'](_0x4746df['fields'])[_0x1b35ba(0x20f)](_0x2c5f00=>_0x2c5f00)[_0x1b35ba(0x3e8)](_0x4bbc30=>_0x4bbc30[_0x1b35ba(0x39a)]),..._0xb474a1[_0x1b35ba(0x3e8)](_0x1f3342=>_0x1f3342[_0x1b35ba(0x39a)])]);if(!_0x168b05[_0x1b35ba(0x4d6)](_0x62cac2))return _0x62cac2;let _0xd7daaa=0x2;for(;_0x168b05['has'](_0x62cac2+'\x20'+_0xd7daaa);)_0xd7daaa++;return _0x62cac2+'\x20'+_0xd7daaa;}function Ma(_0x59791a,_0x4812d0){const _0x4a37b5=_0x4e7c38;if(!_0x59791a||!_0x4812d0[_0x4a37b5(0x2b6)])return;let _0x52c90b=[..._0x59791a];return _0x4812d0[_0x4a37b5(0x397)](_0xfa4bf7=>{const _0x3a5ee4=_0x4a37b5;_0x52c90b[_0x3a5ee4(0x37a)](_0xfa4bf7)||_0x52c90b['push'](_0xfa4bf7);}),_0x52c90b;}const Na={'options':[{'id':_0x4e7c38(0x2f8),'name':'Todo','color':_0x4e7c38(0x3da)},{'id':_0x4e7c38(0x346),'name':_0x4e7c38(0x1bd),'color':_0x4e7c38(0x35b)},{'id':_0x4e7c38(0x454),'name':_0x4e7c38(0x2c0),'color':_0x4e7c38(0x52f)}]},Pa={'locale':'en-US','pattern':_0x4e7c38(0x4ff),'includeTime':!0x1,'hourCycle':_0x4e7c38(0x4a2),'defaultMode':_0x4e7c38(0x4e8)};function Fa(_0x4ec63b,_0x520d55,_0x45211e,_0x4114e3){const _0x543ebf=_0x4e7c38;var _0x24a8a7;let _0xf3a6c0=new W(),_0xec5ee5=_0x4ec63b['tables'][_0x520d55],_0xd48bd=_0xec5ee5?{..._0x45211e,'fieldOrder':[_0x5802d7,...(_0x45211e[_0x543ebf(0x4dc)]??_0xec5ee5['fieldOrder'])[_0x543ebf(0x20f)](_0x1e42ef=>_0x1e42ef!==_0x5802d7)],'fieldSettings':{..._0x45211e[_0x543ebf(0x568)],[_0x5802d7]:{...(_0x24a8a7=_0x45211e[_0x543ebf(0x568)])==null?void 0x0:_0x24a8a7[_0x5802d7],'hidden':!0x0}}}:_0x45211e;if(_0xec5ee5&&_0xd48bd[_0x543ebf(0x30b)]===_0x543ebf(0x488)){let _0xf08cec=La(_0xec5ee5,_0xd48bd),_0x1a8927=_0xf08cec[_0x543ebf(0x21e)]?{..._0xd48bd,'config':_0xf08cec[_0x543ebf(0x554)],'fieldOrder':_0xf08cec[_0x543ebf(0x4dc)]??_0xd48bd['fieldOrder']}:_0xd48bd;return R([..._0xf08cec[_0x543ebf(0x531)][_0x543ebf(0x3e8)](_0x3833c3=>_0xf3a6c0[_0x543ebf(0x4fd)](_0x4ec63b,_0x520d55,{'field':_0x3833c3})),_0xf3a6c0['createView'](_0x4ec63b,_0x520d55,_0x1a8927,_0x4114e3)]);}if(!_0xec5ee5||_0xd48bd['type']!==_0x543ebf(0x381)&&_0xd48bd[_0x543ebf(0x30b)]!==_0x543ebf(0x38b))return _0xf3a6c0[_0x543ebf(0x562)](_0x4ec63b,_0x520d55,_0xd48bd,_0x4114e3);let _0xc58b4=Ia(_0xec5ee5,_0xd48bd),_0x416fe0=_0xc58b4[_0x543ebf(0x21e)]?{..._0xd48bd,'config':_0xc58b4[_0x543ebf(0x554)],'fieldOrder':_0xc58b4[_0x543ebf(0x4dc)]??_0xd48bd[_0x543ebf(0x4dc)]}:_0xd48bd;return _0xd48bd[_0x543ebf(0x30b)]===_0x543ebf(0x38b)&&Ba(_0xd48bd)&&(_0x416fe0=Va(_0xec5ee5,_0x416fe0,_0xc58b4[_0x543ebf(0x531)])),R([..._0xc58b4['fields'][_0x543ebf(0x3e8)](_0x14b6b3=>_0xf3a6c0[_0x543ebf(0x4fd)](_0x4ec63b,_0x520d55,{'field':_0x14b6b3})),_0xf3a6c0[_0x543ebf(0x562)](_0x4ec63b,_0x520d55,_0x416fe0,_0x4114e3)]);}function Ia(_0x579c36,_0x260161,_0x3a4ced=!0x1){const _0x1af4b4=_0x4e7c38;var _0x2caf49,_0x3ba457;let _0x4f7250=_0x579c36[_0x1af4b4(0x4dc)][_0x1af4b4(0x20f)](_0x9b91ab=>Ua(_0x579c36,_0x9b91ab)),_0x20c3ce=[],_0x992e09={..._0x260161['config']??{}},_0x29e1f2=typeof _0x992e09[_0x1af4b4(0x2fd)]==_0x1af4b4(0x457)&&Ua(_0x579c36,_0x992e09[_0x1af4b4(0x2fd)])?_0x992e09[_0x1af4b4(0x2fd)]:_0x4f7250[0x0],_0x3f9c4a=typeof _0x992e09[_0x1af4b4(0x369)]==_0x1af4b4(0x457)&&Ua(_0x579c36,_0x992e09['endDateFieldId'])&&_0x992e09[_0x1af4b4(0x369)]!==_0x29e1f2?_0x992e09['endDateFieldId']:_0x4f7250[_0x1af4b4(0x1c5)](_0x16e2e7=>_0x16e2e7!==_0x29e1f2);if(!_0x29e1f2){let _0xa46bd1=Wa(_0x579c36,_0x20c3ce,_0x260161[_0x1af4b4(0x30b)]==='gantt'?_0x1af4b4(0x321):_0x1af4b4(0x55e));_0x20c3ce['push'](_0xa46bd1),_0x29e1f2=_0xa46bd1['id'];}if((_0x260161[_0x1af4b4(0x30b)]===_0x1af4b4(0x38b)||_0x3a4ced)&&!_0x3f9c4a){let _0x599b89=Wa(_0x579c36,_0x20c3ce,'End\x20date');_0x20c3ce[_0x1af4b4(0x3e2)](_0x599b89),_0x3f9c4a=_0x599b89['id'];}_0x260161[_0x1af4b4(0x30b)]===_0x1af4b4(0x381)&&!_0x3f9c4a&&delete _0x992e09['endDateFieldId'],_0x992e09[_0x1af4b4(0x2fd)]=_0x29e1f2,_0x260161[_0x1af4b4(0x30b)]==='calendar'&&_0x3f9c4a&&(_0x992e09[_0x1af4b4(0x369)]=_0x3f9c4a),_0x260161[_0x1af4b4(0x30b)]===_0x1af4b4(0x38b)&&(_0x992e09[_0x1af4b4(0x369)]=_0x3f9c4a??_0x29e1f2);let _0x5d7a9f=Ma(_0x260161[_0x1af4b4(0x4dc)],_0x20c3ce['map'](_0x214c89=>_0x214c89['id']));return{'changed':_0x20c3ce[_0x1af4b4(0x2b6)]>0x0||_0x992e09[_0x1af4b4(0x2fd)]!==((_0x2caf49=_0x260161[_0x1af4b4(0x554)])==null?void 0x0:_0x2caf49['startDateFieldId'])||_0x992e09[_0x1af4b4(0x369)]!==((_0x3ba457=_0x260161[_0x1af4b4(0x554)])==null?void 0x0:_0x3ba457[_0x1af4b4(0x369)])||!(!_0x5d7a9f||_0x42dbe9['diffValue'](_0x5d7a9f,_0x260161[_0x1af4b4(0x4dc)]??[])),'fields':_0x20c3ce,'config':_0x992e09,'fieldOrder':_0x5d7a9f};}function La(_0x10892c,_0x29c7a4){const _0x5db5d1=_0x4e7c38;var _0x14ebf7;let _0x183932=[],_0x59012a={..._0x29c7a4['config']??{}},_0x463b57=typeof _0x59012a[_0x5db5d1(0x2bf)]=='string'&&Ra(_0x10892c,_0x59012a['groupFieldId'])?_0x59012a[_0x5db5d1(0x2bf)]:_0x10892c['fieldOrder']['find'](_0x24b128=>Ra(_0x10892c,_0x24b128));if(!_0x463b57){let _0x4796fa=za(_0x10892c,_0x183932);_0x183932['push'](_0x4796fa),_0x463b57=_0x4796fa['id'];}_0x59012a[_0x5db5d1(0x2bf)]=_0x463b57;let _0x3c7c4b=Ma(_0x29c7a4['fieldOrder'],_0x183932[_0x5db5d1(0x3e8)](_0x211c84=>_0x211c84['id']));return{'changed':_0x183932[_0x5db5d1(0x2b6)]>0x0||_0x59012a[_0x5db5d1(0x2bf)]!==((_0x14ebf7=_0x29c7a4[_0x5db5d1(0x554)])==null?void 0x0:_0x14ebf7[_0x5db5d1(0x2bf)])||!(!_0x3c7c4b||_0x42dbe9[_0x5db5d1(0x4ba)](_0x3c7c4b,_0x29c7a4['fieldOrder']??[])),'fields':_0x183932,'config':_0x59012a,'fieldOrder':_0x3c7c4b};}function Ra(_0x4ab64e,_0x1fae1e){const _0x2b7368=_0x4e7c38;let _0x11fd36=_0x1fae1e?_0x4ab64e[_0x2b7368(0x531)][_0x1fae1e]:null;return _0x11fd36?[_0x377615[_0x2b7368(0x38d)],_0x377615[_0x2b7368(0x1eb)],_0x377615[_0x2b7368(0x33a)],_0x377615[_0x2b7368(0x4f8)],_0x377615[_0x2b7368(0x1c4)],_0x377615['Checkbox']][_0x2b7368(0x37a)](_0x11fd36[_0x2b7368(0x30b)]):!0x1;}function za(_0x139063,_0x20c0c0){const _0x129e0e=_0x4e7c38;return{'id':'fld-'+_0x53e5f1(0x8),'name':ja(_0x139063,_0x129e0e(0x44a),_0x20c0c0),'type':_0x377615[_0x129e0e(0x38d)],'config':_0x42dbe9['deepClone'](Na)};}function Ba(_0x498608){const _0x448ebc=_0x4e7c38;return Object[_0x448ebc(0x3ca)](_0x498608[_0x448ebc(0x554)]??{})[_0x448ebc(0x2b6)]===0x0&&Object[_0x448ebc(0x3ca)](_0x498608[_0x448ebc(0x568)]??{})[_0x448ebc(0x2b6)]===0x0;}function Va(_0x21d627,_0x29a847,_0x1f8647){const _0x11998b=_0x4e7c38;let _0x65f8a8={..._0x29a847[_0x11998b(0x554)]??{}},_0x2a21c2=_0x1f8647[_0x11998b(0x3e8)](_0xd88cb7=>_0xd88cb7['id']),_0x34d2ec=[..._0x21d627['fieldOrder'],..._0x2a21c2],_0x198de5=typeof _0x65f8a8[_0x11998b(0x1e8)]==_0x11998b(0x457)&&Ha(_0x21d627,_0x1f8647,_0x65f8a8[_0x11998b(0x1e8)])?_0x65f8a8[_0x11998b(0x1e8)]:_0x21d627[_0x11998b(0x48d)],_0x5e18f5=typeof _0x65f8a8[_0x11998b(0x2fd)]==_0x11998b(0x457)?_0x65f8a8[_0x11998b(0x2fd)]:'',_0x27fab0=typeof _0x65f8a8[_0x11998b(0x369)]==_0x11998b(0x457)?_0x65f8a8['endDateFieldId']:_0x5e18f5,_0x43d439=new Set([_0x198de5,_0x5e18f5,_0x27fab0][_0x11998b(0x20f)](_0x26c386=>_0x26c386&&Ha(_0x21d627,_0x1f8647,_0x26c386))),_0x5cbbe8=Object[_0x11998b(0x2c2)](_0x34d2ec[_0x11998b(0x470)](_0x4b08f6=>_0x43d439[_0x11998b(0x4d6)](_0x4b08f6)||!Ha(_0x21d627,_0x1f8647,_0x4b08f6)?[]:[[_0x4b08f6,{'hidden':!0x0}]]));return{..._0x29a847,'config':{..._0x65f8a8,'titleFieldId':_0x198de5},'fieldSettings':_0x5cbbe8};}function Ha(_0x5e4f9c,_0x12558a,_0x1edd01){return!!(_0x5e4f9c['fields'][_0x1edd01]??_0x12558a['find'](_0x50e6f6=>_0x50e6f6['id']===_0x1edd01))&&!0x0;}function Ua(_0x5a72a7,_0x224d7a){const _0x29624e=_0x4e7c38;let _0x5d94d7=_0x224d7a?_0x5a72a7[_0x29624e(0x531)][_0x224d7a]:null;return!!_0x5d94d7&&_0x5d94d7[_0x29624e(0x30b)]===_0x377615[_0x29624e(0x55e)]&&_0x5d94d7[_0x29624e(0x339)]!==!0x0&&_0x5d94d7[_0x29624e(0x26d)]!==!0x0;}function Wa(_0x3354ab,_0x574ae6,_0x748b12){const _0x2cd2bb=_0x4e7c38;let _0x50e056=new Set([...Object[_0x2cd2bb(0x3ca)](_0x3354ab[_0x2cd2bb(0x531)]),..._0x574ae6[_0x2cd2bb(0x3e8)](_0xcb570c=>_0xcb570c['id'])]),_0x3aefb3=_0x2cd2bb(0x405)+_0x53e5f1(0x8);for(;_0x50e056[_0x2cd2bb(0x4d6)](_0x3aefb3);)_0x3aefb3=_0x2cd2bb(0x405)+_0x53e5f1(0x8);return{'id':_0x3aefb3,'name':ja(_0x3354ab,_0x748b12,_0x574ae6),'type':_0x377615[_0x2cd2bb(0x55e)],'config':{...Pa}};}const Ga={'id':'base.command.create-base-view','type':_0x32350d[_0x4e7c38(0x47b)],'handler':(_0x3b5eec,_0x5d63e9)=>{const _0x59d185=_0x4e7c38;if(!_0x5d63e9)return!0x1;let _0x12978e=_0x3b5eec['get'](_0x26755d),{unitId:_0x7b7b13,tableId:_0x441748,view:_0x3e664c,index:_0x1e8a8d}=_0x5d63e9,_0x3e092a=_0x12978e[_0x59d185(0x34e)](_0x7b7b13,_0x2eb623[_0x59d185(0x583)]);if(!_0x3e092a||!$(_0x3e092a,_0x441748)||_0x3e092a[_0x59d185(0x2a7)]()[_0x59d185(0x29e)][_0x441748][_0x59d185(0x460)][_0x3e664c['id']])return!0x1;let _0x5d5714=_0x3b5eec[_0x59d185(0x4d5)](_0x5342d9),_0x133d81=_0x3b5eec[_0x59d185(0x4d5)](_0x1eb28c),_0x4389f4=_0x3e092a[_0x59d185(0x2a7)](),_0x17b5b5=Fa(_0x4389f4,_0x441748,_0x3e664c,_0x1e8a8d),_0x114a3c=new z()[_0x59d185(0x27f)](_0x4389f4,_0x17b5b5),_0x405352={'historyAction':_0x59d185(0x2a6),'unitId':_0x7b7b13,'op':_0x17b5b5,'viewType':_0x3e664c[_0x59d185(0x30b)]},_0x53a19b={'historyAction':_0x59d185(0x215),'unitId':_0x7b7b13,'op':_0x114a3c,'viewType':_0x3e664c[_0x59d185(0x30b)]};return _0x5d5714['syncExecuteCommand'](Q['id'],_0x405352)?(_0x12978e[_0x59d185(0x366)](_0x7b7b13),_0x133d81[_0x59d185(0x260)]({'unitID':_0x7b7b13,'undoMutations':[{'id':Q['id'],'params':_0x53a19b}],'redoMutations':[{'id':Q['id'],'params':_0x405352}]}),!0x0):!0x1;}},Ka={'id':_0x4e7c38(0x227),'type':_0x32350d[_0x4e7c38(0x47b)],'handler'(_0x217e93,_0x41524c){const _0x4e787a=_0x4e7c38;if(!_0x41524c)return!0x1;let _0x49aa74=_0x217e93[_0x4e787a(0x4d5)](_0x26755d),{unitId:_0xf5069c,tableId:_0x38bb6c,fieldId:_0x21280e}=_0x41524c,_0x40052a=_0x49aa74[_0x4e787a(0x34e)](_0xf5069c,_0x2eb623[_0x4e787a(0x583)]);if(!_0x40052a)return!0x1;let _0x4c9a75=_0x40052a[_0x4e787a(0x2a7)](),_0x4b74f4=_0x4c9a75[_0x4e787a(0x29e)][_0x38bb6c];if(!$(_0x40052a,_0x38bb6c,{'fieldIds':[_0x21280e]})||_0x4b74f4['primaryFieldId']===_0x21280e||_0x21280e===_0x5802d7)return!0x1;let _0x3526ed=_0x217e93[_0x4e787a(0x4d5)](_0x5342d9),_0x2bda7e=_0x217e93[_0x4e787a(0x4d5)](_0x1eb28c),_0x3931c3=new W()[_0x4e787a(0x3c1)](_0x4c9a75,_0x38bb6c,_0x21280e),_0x308a7b=new z()[_0x4e787a(0x27f)](_0x4c9a75,_0x3931c3),_0x30cdbd={'unitId':_0xf5069c,'op':_0x3931c3},_0x1ab2cf={'unitId':_0xf5069c,'op':_0x308a7b};return _0x3526ed[_0x4e787a(0x490)](Q['id'],_0x30cdbd)?(_0x49aa74[_0x4e787a(0x366)](_0xf5069c),_0x2bda7e[_0x4e787a(0x260)]({'unitID':_0xf5069c,'undoMutations':[{'id':Q['id'],'params':_0x1ab2cf}],'redoMutations':[{'id':Q['id'],'params':_0x30cdbd}]}),!0x0):!0x1;}},qa={'id':_0x4e7c38(0x3bb),'type':_0x32350d[_0x4e7c38(0x47b)],'handler':(_0x53d4b3,_0x5ee734)=>{const _0x31401a=_0x4e7c38;if(!_0x5ee734)return!0x1;let _0x356d9b=_0x53d4b3[_0x31401a(0x4d5)](_0x26755d),{unitId:_0x4d88ca,tableId:_0x5638ed,recordId:_0x46ac5c}=_0x5ee734,_0x3398ca=_0x356d9b[_0x31401a(0x34e)](_0x4d88ca,_0x2eb623[_0x31401a(0x583)]);if(!_0x3398ca||!$(_0x3398ca,_0x5638ed,{'recordIds':[_0x46ac5c]}))return!0x1;let _0x4337de=_0x53d4b3[_0x31401a(0x4d5)](_0x5342d9),_0x3463de=_0x53d4b3[_0x31401a(0x4d5)](_0x1eb28c),_0x2c4f29=_0x3398ca[_0x31401a(0x2a7)](),_0x205a46=et(_0x2c4f29['tables'][_0x5638ed],[_0x46ac5c]),_0x5cc830=new W(),_0x4ec199=new z(),_0x265cbd=_0x5cc830[_0x31401a(0x577)](_0x2c4f29,_0x5638ed,_0x46ac5c),_0x4108ba=_0x4ec199[_0x31401a(0x348)](_0x2c4f29,_0x265cbd),_0x2afb47=_0x5cc830[_0x31401a(0x24f)](_0x2c4f29,_0x4108ba,_0x5638ed,[_0x46ac5c]),_0x1d5b8d={'unitId':_0x4d88ca,'op':_0x265cbd,'hierarchyChanges':_0x205a46,'source':_0x5ee734[_0x31401a(0x211)]??'ui'},_0x5d1cc1={..._0x1d5b8d,'source':_0x31401a(0x237)},_0x37ce6b={'unitId':_0x4d88ca,'op':_0x2afb47,'hierarchyChanges':_0x205a46[_0x31401a(0x3e8)](_0x3ec13b=>({..._0x3ec13b,'oldParentRecordId':_0x3ec13b['parentRecordId'],'parentRecordId':_0x3ec13b['oldParentRecordId']})),'source':_0x31401a(0x3ef)};return _0x4337de['syncExecuteCommand'](Q['id'],_0x1d5b8d)?(_0x356d9b[_0x31401a(0x366)](_0x4d88ca),_0x3463de[_0x31401a(0x260)]({'unitID':_0x4d88ca,'undoMutations':[{'id':Q['id'],'params':_0x37ce6b}],'redoMutations':[{'id':Q['id'],'params':_0x5d1cc1}]}),!0x0):!0x1;}},Ja={'id':_0x4e7c38(0x41c),'type':_0x32350d[_0x4e7c38(0x47b)],'handler':(_0x3f97c7,_0x52dba0)=>{const _0x44d638=_0x4e7c38;if(!_0x52dba0)return!0x1;let _0x5a1fe7=_0x3f97c7[_0x44d638(0x4d5)](_0x26755d),{unitId:_0x3e7c57,tableId:_0x245e1b}=_0x52dba0,_0x5d0748=_0x5a1fe7[_0x44d638(0x34e)](_0x3e7c57,_0x2eb623[_0x44d638(0x583)]);if(!_0x5d0748||!$(_0x5d0748,_0x245e1b))return!0x1;let _0x59726f=_0x3f97c7[_0x44d638(0x4d5)](_0x5342d9),_0x435e64=_0x3f97c7[_0x44d638(0x4d5)](_0x1eb28c),_0x46bf93=_0x5d0748['getSnapshot'](),_0x11bbfa=He(_0x46bf93,_0x245e1b);if(_0x11bbfa[_0x44d638(0x2b6)]>0x0)return console[_0x44d638(0x509)](_0x44d638(0x1d3)+_0x245e1b+'\x22\x20is\x20referenced\x20by\x20'+_0x11bbfa[_0x44d638(0x3e8)](_0x2475af=>_0x2475af[_0x44d638(0x2cc)]+'.'+_0x2475af[_0x44d638(0x446)])[_0x44d638(0x50e)](',\x20')+'.'),!0x1;let _0x3fa3f0=new W()[_0x44d638(0x36b)](_0x46bf93,_0x245e1b),_0x16039a=new z()[_0x44d638(0x27f)](_0x46bf93,_0x3fa3f0),_0x16b646={'unitId':_0x3e7c57,'op':_0x3fa3f0},_0x57da34={'unitId':_0x3e7c57,'op':_0x16039a};return _0x59726f[_0x44d638(0x490)](Q['id'],_0x16b646)?(_0x5a1fe7[_0x44d638(0x366)](_0x3e7c57),_0x435e64[_0x44d638(0x260)]({'unitID':_0x3e7c57,'undoMutations':[{'id':Q['id'],'params':_0x57da34}],'redoMutations':[{'id':Q['id'],'params':_0x16b646}]}),!0x0):!0x1;}},Ya={'id':_0x4e7c38(0x3a5),'type':_0x32350d['COMMAND'],'handler':(_0x50a635,_0x58a2e4)=>{const _0x290a0e=_0x4e7c38;if(!_0x58a2e4)return!0x1;let _0x3957d7=_0x50a635['get'](_0x26755d),{unitId:_0x45e2d0,tableId:_0x447001,viewId:_0x2a3bc1}=_0x58a2e4,_0x49ff2e=_0x3957d7['getUnit'](_0x45e2d0,_0x2eb623[_0x290a0e(0x583)]);if(!_0x49ff2e||!$(_0x49ff2e,_0x447001,{'viewIds':[_0x2a3bc1]}))return!0x1;let _0x54e31d=_0x50a635[_0x290a0e(0x4d5)](_0x5342d9),_0x35039d=_0x50a635['get'](_0x1eb28c),_0x200971=_0x49ff2e['getSnapshot'](),_0x3c6667=_0x200971[_0x290a0e(0x29e)][_0x447001]['views'][_0x2a3bc1][_0x290a0e(0x30b)],_0x590edb=new W()['deleteView'](_0x200971,_0x447001,_0x2a3bc1),_0xa3a44e=new z()['invertOp'](_0x200971,_0x590edb),_0x1ea79b={'historyAction':'delete-view','unitId':_0x45e2d0,'op':_0x590edb,'viewType':_0x3c6667},_0x2f6576={'historyAction':_0x290a0e(0x2a6),'unitId':_0x45e2d0,'op':_0xa3a44e,'viewType':_0x3c6667};return _0x54e31d[_0x290a0e(0x490)](Q['id'],_0x1ea79b)?(_0x3957d7['focusUnit'](_0x45e2d0),_0x35039d[_0x290a0e(0x260)]({'unitID':_0x45e2d0,'undoMutations':[{'id':Q['id'],'params':_0x2f6576}],'redoMutations':[{'id':Q['id'],'params':_0x1ea79b}]}),!0x0):!0x1;}},Xa={'id':'base.command.duplicate-base-field','type':_0x32350d[_0x4e7c38(0x47b)],'handler':(_0x28a6f8,_0x5d3710)=>{const _0x389fb6=_0x4e7c38;if(!_0x5d3710)return!0x1;let _0x425e48=_0x28a6f8[_0x389fb6(0x4d5)](_0x26755d),{unitId:_0x2f2f98,tableId:_0x3de9bb,sourceFieldId:_0xd8006a,field:_0x3ba083,index:_0x47c73a,viewIndexes:_0x175fe8}=_0x5d3710,_0x346499=_0x425e48['getUnit'](_0x2f2f98,_0x2eb623['UNIVER_BASE']);if(!_0x346499||!$(_0x346499,_0x3de9bb,{'fieldIds':[_0xd8006a]})||_0xd8006a===_0x5802d7||_0x346499[_0x389fb6(0x2a7)]()['tables'][_0x3de9bb][_0x389fb6(0x531)][_0x3ba083['id']]||_0x47c73a===0x0||!ha(_0x346499,_0x3de9bb,_0x3ba083))return!0x1;let _0x21eb14=_0x28a6f8[_0x389fb6(0x4d5)](_0x5342d9),_0x42263f=_0x28a6f8[_0x389fb6(0x4d5)](_0x1eb28c),_0x5ddb6f=_0x346499[_0x389fb6(0x2a7)](),_0x221b05=new W()[_0x389fb6(0x3e3)](_0x5ddb6f,_0x3de9bb,_0xd8006a,{'field':_0x3ba083,'index':_0x47c73a,'viewIndexes':_0x175fe8}),_0x4f180d=new z()[_0x389fb6(0x27f)](_0x5ddb6f,_0x221b05),_0x2fade0={'unitId':_0x2f2f98,'op':_0x221b05},_0x2d04b6={'unitId':_0x2f2f98,'op':_0x4f180d};return _0x21eb14[_0x389fb6(0x490)](Q['id'],_0x2fade0)?(_0x425e48[_0x389fb6(0x366)](_0x2f2f98),_0x42263f[_0x389fb6(0x260)]({'unitID':_0x2f2f98,'undoMutations':[{'id':Q['id'],'params':_0x2d04b6}],'redoMutations':[{'id':Q['id'],'params':_0x2fade0}]}),!0x0):!0x1;}},Za={'id':_0x4e7c38(0x4f4),'type':_0x32350d[_0x4e7c38(0x47b)],'handler':(_0xe7bd2a,_0x1cb6c3)=>{const _0x59238a=_0x4e7c38;if(!_0x1cb6c3)return!0x1;let _0x25a19a=_0xe7bd2a[_0x59238a(0x4d5)](_0x26755d),{unitId:_0x4dac0a,tableId:_0x372169,sourceRecordId:_0x50984e,record:_0x47ad01}=_0x1cb6c3,_0x5e6338=_0x25a19a[_0x59238a(0x34e)](_0x4dac0a,_0x2eb623[_0x59238a(0x583)]);if(!_0x5e6338||!$(_0x5e6338,_0x372169,{'recordIds':[_0x50984e]})||!_a(_0x5e6338,_0x372169,_0x47ad01))return!0x1;let _0x9aebc8=_0xe7bd2a[_0x59238a(0x4d5)](_0x5342d9),_0x1f3357=_0xe7bd2a[_0x59238a(0x4d5)](_0x1eb28c),_0x5e756f=_0x5e6338[_0x59238a(0x2a7)](),_0xfc149b=va(_0x47ad01),_0x3202fd=Qe(_0x5e756f[_0x59238a(0x29e)][_0x372169],[_0xfc149b]),_0x2cbf77=new W()[_0x59238a(0x4b9)](_0x5e756f,_0x372169,_0x50984e,_0xfc149b),_0x23be6b=new z()[_0x59238a(0x27f)](_0x5e756f,_0x2cbf77),_0x59dc16={'unitId':_0x4dac0a,'op':_0x2cbf77,'hierarchyChanges':_0x3202fd[_0x59238a(0x2b6)]?_0x3202fd:void 0x0,'source':_0x3202fd['length']?_0x1cb6c3[_0x59238a(0x211)]??'ui':void 0x0},_0x56eb8d={..._0x59dc16,'source':_0x3202fd[_0x59238a(0x2b6)]?'redo':void 0x0},_0xa4a251={'unitId':_0x4dac0a,'op':_0x23be6b,'hierarchyChanges':_0x3202fd[_0x59238a(0x2b6)]?_0x3202fd[_0x59238a(0x3e8)](_0xd7caaf=>({..._0xd7caaf,'oldParentRecordId':_0xd7caaf[_0x59238a(0x44b)],'parentRecordId':null})):void 0x0,'source':_0x3202fd[_0x59238a(0x2b6)]?_0x59238a(0x3ef):void 0x0};return _0x9aebc8[_0x59238a(0x490)](Q['id'],_0x59dc16)?(_0x25a19a[_0x59238a(0x366)](_0x4dac0a),_0x1f3357[_0x59238a(0x260)]({'unitID':_0x4dac0a,'undoMutations':[{'id':Q['id'],'params':_0xa4a251}],'redoMutations':[{'id':Q['id'],'params':_0x56eb8d}]}),!0x0):!0x1;}},Qa={'id':_0x4e7c38(0x57d),'type':_0x32350d['COMMAND'],'handler'(_0x73aa7,_0x24c6fb){const _0xf8cefa=_0x4e7c38;if(!_0x24c6fb)return!0x1;let _0xee8205=_0x73aa7[_0xf8cefa(0x4d5)](_0x26755d),{unitId:_0x4000a8,tableId:_0xd0d3cc,viewId:_0x283fe4,ensureEndDateField:_0x4a9114}=_0x24c6fb,_0x51ac0c=_0xee8205['getUnit'](_0x4000a8,_0x2eb623[_0xf8cefa(0x583)]);if(!_0x51ac0c||!$(_0x51ac0c,_0xd0d3cc,{'viewIds':[_0x283fe4]}))return!0x1;let _0x38a33c=_0x51ac0c[_0xf8cefa(0x2a7)](),_0xfd7cdc=_0x38a33c[_0xf8cefa(0x29e)][_0xd0d3cc],_0x24069a=_0xfd7cdc==null?void 0x0:_0xfd7cdc[_0xf8cefa(0x460)][_0x283fe4];if(!_0xfd7cdc||!_0x24069a||_0x24069a[_0xf8cefa(0x30b)]!==_0xf8cefa(0x381)&&_0x24069a[_0xf8cefa(0x30b)]!==_0xf8cefa(0x38b))return!0x1;let _0x57212d=Ia(_0xfd7cdc,_0x24069a,_0x4a9114===!0x0);if(!_0x57212d['changed'])return!0x1;let _0x125f8b=_0x73aa7['get'](_0x5342d9),_0x34a757=_0x73aa7[_0xf8cefa(0x4d5)](_0x1eb28c),_0x3ee409=new W(),_0x4c61cf=[..._0x57212d[_0xf8cefa(0x531)][_0xf8cefa(0x3e8)](_0x70c47a=>_0x3ee409[_0xf8cefa(0x4fd)](_0x38a33c,_0x24c6fb[_0xf8cefa(0x2cc)],{'field':_0x70c47a})),$a([...eo(_0x24c6fb[_0xf8cefa(0x2cc)],_0x24c6fb[_0xf8cefa(0x34a)]),_0xf8cefa(0x554)],_0x24069a[_0xf8cefa(0x554)],_0x57212d[_0xf8cefa(0x554)])];_0x57212d['fieldOrder']&&_0x4c61cf[_0xf8cefa(0x3e2)]($a([...eo(_0x24c6fb[_0xf8cefa(0x2cc)],_0x24c6fb[_0xf8cefa(0x34a)]),_0xf8cefa(0x4dc)],_0x24069a['fieldOrder'],_0x57212d[_0xf8cefa(0x4dc)]));let _0xfc26d0=R(_0x4c61cf),_0x9733cb=new z()[_0xf8cefa(0x27f)](_0x38a33c,_0xfc26d0),_0x5a8f1a={'unitId':_0x4000a8,'op':_0xfc26d0},_0x1213eb={'unitId':_0x4000a8,'op':_0x9733cb};return _0x125f8b['syncExecuteCommand'](Q['id'],_0x5a8f1a)?(_0xee8205[_0xf8cefa(0x366)](_0x4000a8),_0x34a757[_0xf8cefa(0x260)]({'unitID':_0x4000a8,'undoMutations':[{'id':Q['id'],'params':_0x1213eb}],'redoMutations':[{'id':Q['id'],'params':_0x5a8f1a}]}),!0x0):!0x1;}};function $a(_0x1c5e6e,_0x3de345,_0x18ad8d){return _0x3de345===void 0x0?_0x10aaca['insertOp'](_0x1c5e6e,_0x18ad8d):_0x10aaca['replaceOp'](_0x1c5e6e,_0x3de345,_0x18ad8d);}function eo(_0x460c4f,_0x46dd3b){const _0x50897b=_0x4e7c38;return['tables',_0x460c4f,_0x50897b(0x460),_0x46dd3b];}const to={'id':_0x4e7c38(0x202),'type':_0x32350d['COMMAND'],'handler':(_0x3cc724,_0x5634ee)=>{const _0x4dea32=_0x4e7c38;if(!_0x5634ee)return!0x1;let _0x4fcc8c=_0x3cc724[_0x4dea32(0x4d5)](_0x26755d),{unitId:_0x4ec2a6,tableId:_0x24aac1,fieldId:_0x4091b5,target:_0x13978f}=_0x5634ee,_0xeaf02=_0x4fcc8c['getUnit'](_0x4ec2a6,_0x2eb623[_0x4dea32(0x583)]),_0x21a70b=_0x13978f['beforeFieldId']??_0x13978f[_0x4dea32(0x1db)];if(!_0xeaf02||!!_0x13978f[_0x4dea32(0x409)]==!!_0x13978f[_0x4dea32(0x1db)]||!_0x21a70b||_0x21a70b===_0x4091b5||_0x4091b5===_0x5802d7||_0x13978f['beforeFieldId']===_0x5802d7||!$(_0xeaf02,_0x24aac1,{'fieldIds':[_0x4091b5,_0x21a70b]}))return!0x1;let _0x3d7e1f=_0x3cc724['get'](_0x5342d9),_0x3704f7=_0x3cc724[_0x4dea32(0x4d5)](_0x1eb28c),_0x31086d=_0xeaf02[_0x4dea32(0x2a7)](),_0x1d1289=new W()[_0x4dea32(0x37d)](_0x31086d,_0x24aac1,_0x4091b5,_0x13978f),_0x447155=new z()[_0x4dea32(0x27f)](_0x31086d,_0x1d1289),_0x1ae477={'unitId':_0x4ec2a6,'op':_0x1d1289},_0xa8849c={'unitId':_0x4ec2a6,'op':_0x447155};return _0x3d7e1f[_0x4dea32(0x490)](Q['id'],_0x1ae477)?(_0x4fcc8c[_0x4dea32(0x366)](_0x4ec2a6),_0x3704f7[_0x4dea32(0x260)]({'unitID':_0x4ec2a6,'undoMutations':[{'id':Q['id'],'params':_0xa8849c}],'redoMutations':[{'id':Q['id'],'params':_0x1ae477}]}),!0x0):!0x1;}},no={'id':_0x4e7c38(0x32f),'type':_0x32350d[_0x4e7c38(0x47b)],'handler':(_0x4b8fc4,_0x49064f)=>{const _0x149bb=_0x4e7c38;var _0x5b81d3;if(!_0x49064f)return!0x1;let {unitId:_0x56c632,tableId:_0x1bee9c,recordId:_0x828b38,parentRecordId:_0x5cb3db,orderKey:_0x1d7984}=_0x49064f,_0x173b35=_0x4b8fc4[_0x149bb(0x4d5)](_0x26755d),_0x2e9c7b=_0x173b35[_0x149bb(0x34e)](_0x56c632,_0x2eb623[_0x149bb(0x583)]);if(!_0x2e9c7b||!$(_0x2e9c7b,_0x1bee9c,{'recordIds':[_0x828b38,..._0x5cb3db?[_0x5cb3db]:[]]}))throw new P('missingRecord');let _0x39b746=_0x2e9c7b[_0x149bb(0x2a7)](),_0x41097c=_0x39b746[_0x149bb(0x29e)][_0x1bee9c],_0x35f4b0=qe(_0x41097c),_0x410324=_0x35f4b0??_0x49064f[_0x149bb(0x446)]??Je(_0x41097c);if(_0x35f4b0&&_0x49064f[_0x149bb(0x446)]&&_0x49064f['fieldId']!==_0x35f4b0||_0x41097c['fields'][_0x410324]&&!F(_0x41097c,_0x410324))throw new P(_0x149bb(0x401));let _0x45063f=tt(_0x41097c,_0x410324),_0x33efbb=it(_0x45063f,_0x828b38,_0x5cb3db);if(!_0x33efbb[_0x149bb(0x29f)])throw new P(_0x33efbb['reason']===_0x3ada7a['SelfParent']?_0x149bb(0x4f9):_0x33efbb['reason']===_0x3ada7a[_0x149bb(0x529)]?_0x149bb(0x38c):'maxDepth');let _0xe9e36e=_0x45063f[_0x149bb(0x3ed)][_0x149bb(0x4d5)](_0x828b38)??null,_0x3791c2=_0x41097c[_0x149bb(0x2d1)][_0x828b38]['orderKey'];if(_0xe9e36e===_0x5cb3db&&(_0x1d7984===void 0x0||_0x1d7984===_0x3791c2))return!0x0;let _0x28f597=_0xe9e36e!==_0x5cb3db,_0x1961ba=_0x1d7984!==void 0x0&&_0x1d7984!==_0x3791c2,_0x289a28=new W(),_0x32ca4a=[],_0x5e59b8=_0x41097c['fields'][_0x410324],_0x3a68d7=_0x28f597&&(!_0x5e59b8||((_0x5b81d3=N(_0x5e59b8))==null?void 0x0:_0x5b81d3[_0x149bb(0x4ab)])!==_0x4cb80e[_0x149bb(0x3c7)])?_0x5e59b8?_0x289a28['updateField'](_0x39b746,_0x1bee9c,_0x410324,{'config':{..._0x5e59b8[_0x149bb(0x554)],'relationRole':_0x4cb80e[_0x149bb(0x3c7)]}}):_0x4b8fc4[_0x149bb(0x4d5)](Kr)[_0x149bb(0x42d)](_0x2e9c7b,_0x1bee9c,Ye(_0x41097c,_0x410324,_0x49064f['parentFieldName']),_0x41097c[_0x149bb(0x4dc)][_0x149bb(0x2b6)]):null;_0x3a68d7&&_0x32ca4a['push'](_0x3a68d7),_0x28f597&&_0x32ca4a[_0x149bb(0x3e2)](_0x289a28['updateCell'](_0x39b746,_0x1bee9c,_0x828b38,_0x410324,_0x5cb3db?Re([_0x5cb3db]):'')),_0x1961ba&&_0x32ca4a[_0x149bb(0x3e2)](_0x289a28[_0x149bb(0x2c1)](_0x39b746,_0x1bee9c,_0x828b38,_0x1d7984));let _0x28f9e7=R(_0x32ca4a),_0x43f695={'tableId':_0x1bee9c,'fieldId':_0x410324,'recordId':_0x828b38,'oldParentRecordId':_0xe9e36e,'parentRecordId':_0x5cb3db},_0xf3b53f={'unitId':_0x56c632,'op':_0x28f9e7,'trigger':no['id'],'hierarchyChanges':[_0x43f695],'source':_0x49064f['source']??'ui'},_0x420278={..._0xf3b53f,'source':'redo'};if(!_0x4b8fc4[_0x149bb(0x4d5)](_0x5342d9)['syncExecuteCommand'](Q['id'],_0xf3b53f))return!0x1;let _0x406cbc=_0x2e9c7b[_0x149bb(0x2a7)](),_0x3c316e=[];_0x28f597&&_0x3c316e[_0x149bb(0x3e2)](ro(_0x406cbc,_0x39b746,_0x1bee9c,_0x828b38,_0x410324)),_0x1961ba&&_0x3c316e[_0x149bb(0x3e2)](io(_0x406cbc,_0x39b746,_0x1bee9c,_0x828b38)),_0x3a68d7&&_0x3c316e[_0x149bb(0x3e2)](new z()[_0x149bb(0x27f)](_0x39b746,_0x3a68d7));let _0x4469bf={'unitId':_0x56c632,'op':R(_0x3c316e),'trigger':no['id'],'hierarchyChanges':[{..._0x43f695,'oldParentRecordId':_0x5cb3db,'parentRecordId':_0xe9e36e}],'source':_0x149bb(0x3ef)};return _0x173b35['focusUnit'](_0x56c632),_0x4b8fc4[_0x149bb(0x4d5)](_0x1eb28c)['pushUndoRedo']({'unitID':_0x56c632,'undoMutations':[{'id':Q['id'],'params':_0x4469bf}],'redoMutations':[{'id':Q['id'],'params':_0x420278}]}),!0x0;}};function ro(_0x2aec0b,_0x5b187a,_0x33798e,_0x492bed,_0x53cdac){const _0x5099ef=_0x4e7c38;var _0x4ccfd6,_0x2915a1,_0x1903cc,_0x3d3f9c,_0x47ce5c,_0x2e0638,_0x15d4e7,_0x390575;let _0xe78044=_0x2aec0b[_0x5099ef(0x29e)][_0x33798e],_0x126c67=_0x5b187a[_0x5099ef(0x29e)][_0x33798e],_0x31f36d=(_0x4ccfd6=_0xe78044[_0x5099ef(0x2cd)])==null?void 0x0:_0x4ccfd6[_0x492bed],_0x494ea6=(_0x2915a1=_0xe78044[_0x5099ef(0x50b)])==null?void 0x0:_0x2915a1[_0x53cdac],_0x4e27e8=(_0x1903cc=_0x126c67[_0x5099ef(0x2cd)])==null?void 0x0:_0x1903cc[_0x492bed],_0x29eda0=(_0x3d3f9c=_0x126c67[_0x5099ef(0x50b)])==null?void 0x0:_0x3d3f9c[_0x53cdac],_0x5c9f42=_0x31f36d==null||_0x494ea6==null||(_0x47ce5c=_0xe78044[_0x5099ef(0x2b7)])==null||(_0x47ce5c=_0x47ce5c[_0x31f36d])==null?void 0x0:_0x47ce5c[_0x494ea6],_0x337eb5=_0x4e27e8==null||_0x29eda0==null||(_0x2e0638=_0x126c67['cellData'])==null||(_0x2e0638=_0x2e0638[_0x4e27e8])==null?void 0x0:_0x2e0638[_0x29eda0],_0x1b79f4=(_0x15d4e7=_0xe78044[_0x5099ef(0x2d1)][_0x492bed])==null?void 0x0:_0x15d4e7[_0x5099ef(0x4c0)][_0x53cdac],_0x632c5f=(_0x390575=_0x126c67[_0x5099ef(0x2d1)][_0x492bed])==null?void 0x0:_0x390575[_0x5099ef(0x4c0)][_0x53cdac],_0x452f53=[],_0x5d05ca=ao(_0x31f36d==null||_0x494ea6==null?null:U['cellData'](_0x33798e,_0x31f36d,_0x494ea6),_0x5c9f42,_0x337eb5);_0x5d05ca&&_0x452f53[_0x5099ef(0x3e2)](_0x5d05ca);let _0x949e6d=ao(U['cell'](_0x33798e,_0x492bed,_0x53cdac),_0x1b79f4,_0x632c5f);return _0x949e6d&&_0x452f53[_0x5099ef(0x3e2)](_0x949e6d),R(_0x452f53);}function io(_0x58398e,_0x118493,_0x31ed09,_0x451174){const _0x1e2de4=_0x4e7c38;var _0x9b59e3,_0x519ab6;let _0x481860=_0x58398e[_0x1e2de4(0x29e)][_0x31ed09],_0x3a8cde=_0x118493['tables'][_0x31ed09];return R([ao([...U['record'](_0x31ed09,_0x451174),_0x1e2de4(0x24c)],(_0x9b59e3=_0x481860['records'][_0x451174])==null?void 0x0:_0x9b59e3[_0x1e2de4(0x24c)],(_0x519ab6=_0x3a8cde[_0x1e2de4(0x2d1)][_0x451174])==null?void 0x0:_0x519ab6['orderKey']),ao([...U[_0x1e2de4(0x438)](_0x31ed09),_0x1e2de4(0x52d)],_0x481860[_0x1e2de4(0x52d)],_0x3a8cde[_0x1e2de4(0x52d)])][_0x1e2de4(0x20f)](_0x3d2e38=>!!_0x3d2e38));}function ao(_0x2e1b85,_0x1f12cd,_0x538d25){const _0x2e5372=_0x4e7c38;if(!_0x2e1b85||_0x1f12cd===void 0x0&&_0x538d25===void 0x0)return null;let _0x1aa718=_0x52b262[_0x2e5372(0x552)]();return _0x538d25===void 0x0?_0x1aa718[_0x2e5372(0x3c4)](_0x2e1b85,_0x1f12cd):_0x1f12cd===void 0x0?_0x1aa718['insertOp'](_0x2e1b85,_0x538d25):_0x1aa718[_0x2e5372(0x53d)](_0x2e1b85,_0x1f12cd,_0x538d25);}const oo={'id':_0x4e7c38(0x4c1),'type':_0x32350d[_0x4e7c38(0x47b)],'handler':(_0x5621fb,_0x4dd643)=>{const _0x2a86f0=_0x4e7c38;if(!_0x4dd643)return!0x1;let _0x34fcf1=_0x5621fb[_0x2a86f0(0x4d5)](_0x26755d),{unitId:_0x35d73b,tableId:_0x204b33,viewId:_0x434577,target:_0x350c84}=_0x4dd643,_0x229071=_0x34fcf1[_0x2a86f0(0x34e)](_0x35d73b,_0x2eb623['UNIVER_BASE']),_0x119ae2=_0x350c84['beforeViewId']??_0x350c84[_0x2a86f0(0x4ca)];if(!_0x229071||!_0x119ae2||_0x119ae2===_0x434577||!$(_0x229071,_0x204b33,{'viewIds':[_0x434577,_0x119ae2]}))return!0x1;let _0x4a5911=_0x5621fb[_0x2a86f0(0x4d5)](_0x5342d9),_0x11b032=_0x5621fb[_0x2a86f0(0x4d5)](_0x1eb28c),_0x5628e9=_0x229071[_0x2a86f0(0x2a7)](),_0x507161=new W()[_0x2a86f0(0x493)](_0x5628e9,_0x204b33,_0x434577,_0x350c84),_0x500c7e=new z()[_0x2a86f0(0x27f)](_0x5628e9,_0x507161),_0x47d16={'unitId':_0x35d73b,'op':_0x507161},_0x237b65={'unitId':_0x35d73b,'op':_0x500c7e};return _0x4a5911[_0x2a86f0(0x490)](Q['id'],_0x47d16)?(_0x34fcf1['focusUnit'](_0x35d73b),_0x11b032[_0x2a86f0(0x260)]({'unitID':_0x35d73b,'undoMutations':[{'id':Q['id'],'params':_0x237b65}],'redoMutations':[{'id':Q['id'],'params':_0x47d16}]}),!0x0):!0x1;}},so={'id':'base.command.rename-base-table','type':_0x32350d['COMMAND'],'handler':(_0x33ba04,_0x35c418)=>{const _0x363be4=_0x4e7c38;if(!_0x35c418)return!0x1;let _0x3a1e60=_0x33ba04[_0x363be4(0x4d5)](_0x26755d),{unitId:_0x22bc02,tableId:_0x35ef82,name:_0x13b363}=_0x35c418,_0x50de75=_0x3a1e60[_0x363be4(0x34e)](_0x22bc02,_0x2eb623['UNIVER_BASE']);if(!_0x50de75||!$(_0x50de75,_0x35ef82)||!Oa(_0x50de75[_0x363be4(0x2a7)](),_0x13b363,_0x35ef82)[_0x363be4(0x29f)])return!0x1;let _0x34ab28=_0x33ba04[_0x363be4(0x4d5)](_0x5342d9),_0x541fa9=_0x33ba04[_0x363be4(0x4d5)](_0x1eb28c),_0x493c95=_0x50de75['getSnapshot'](),_0x222211=new W()[_0x363be4(0x204)](_0x493c95,_0x35ef82,_0x13b363),_0x22e055=new z()['invertOp'](_0x493c95,_0x222211),_0x2f077c={'unitId':_0x22bc02,'op':_0x222211},_0x19ba7f={'unitId':_0x22bc02,'op':_0x22e055};return _0x34ab28['syncExecuteCommand'](Q['id'],_0x2f077c)?(_0x3a1e60[_0x363be4(0x366)](_0x22bc02),_0x541fa9[_0x363be4(0x260)]({'unitID':_0x22bc02,'undoMutations':[{'id':Q['id'],'params':_0x19ba7f}],'redoMutations':[{'id':Q['id'],'params':_0x2f077c}]}),!0x0):!0x1;}},co={'id':_0x4e7c38(0x429),'type':_0x32350d[_0x4e7c38(0x47b)],'handler':(_0x32c3bf,_0x958ee0)=>{const _0x2285da=_0x4e7c38;if(!_0x958ee0)return!0x1;let _0x4ef82a=_0x32c3bf['get'](_0x26755d),{unitId:_0x17f688,tableId:_0x59831b,viewId:_0x23d4f8,name:_0x12bfe8}=_0x958ee0,_0x5dda28=_0x4ef82a[_0x2285da(0x34e)](_0x17f688,_0x2eb623[_0x2285da(0x583)]);if(!_0x5dda28||!$(_0x5dda28,_0x59831b,{'viewIds':[_0x23d4f8]}))return!0x1;let _0x1e4acf=_0x32c3bf[_0x2285da(0x4d5)](_0x5342d9),_0x3c1ca2=_0x32c3bf[_0x2285da(0x4d5)](_0x1eb28c),_0x14a3f9=_0x5dda28[_0x2285da(0x2a7)](),_0x4ae5e2=new W()[_0x2285da(0x2f2)](_0x14a3f9,_0x59831b,_0x23d4f8,_0x12bfe8),_0x40042d=new z()['invertOp'](_0x14a3f9,_0x4ae5e2),_0x1f8a72={'unitId':_0x17f688,'op':_0x4ae5e2},_0x265007={'unitId':_0x17f688,'op':_0x40042d};return _0x1e4acf['syncExecuteCommand'](Q['id'],_0x1f8a72)?(_0x4ef82a['focusUnit'](_0x17f688),_0x3c1ca2[_0x2285da(0x260)]({'unitID':_0x17f688,'undoMutations':[{'id':Q['id'],'params':_0x265007}],'redoMutations':[{'id':Q['id'],'params':_0x1f8a72}]}),!0x0):!0x1;}},lo={'id':_0x4e7c38(0x328),'type':_0x32350d[_0x4e7c38(0x47b)],'handler':(_0x5dac02,_0x329b6f)=>{const _0x11ee18=_0x4e7c38;if(!_0x329b6f)return!0x1;let _0x50d5f1=_0x5dac02['get'](_0x26755d),{unitId:_0x2d78a0,tableId:_0x21f9eb,viewId:_0xba7147,fieldId:_0x5357c8}=_0x329b6f,_0x2d3a71=_0x50d5f1[_0x11ee18(0x34e)](_0x2d78a0,_0x2eb623[_0x11ee18(0x583)]);if(!_0x2d3a71||!$(_0x2d3a71,_0x21f9eb,{'viewIds':[_0xba7147],'fieldIds':[_0x5357c8]}))return!0x1;let _0xf40609=_0x5dac02['get'](_0x5342d9),_0x2709aa=_0x5dac02[_0x11ee18(0x4d5)](_0x1eb28c),_0x40dda8=_0x2d3a71[_0x11ee18(0x2a7)](),_0x4b88a8=new W()[_0x11ee18(0x3e4)](_0x40dda8,_0x21f9eb,_0xba7147,{'groupFieldId':_0x5357c8}),_0x81ac8a=new z()[_0x11ee18(0x27f)](_0x40dda8,_0x4b88a8),_0x41beda={'unitId':_0x2d78a0,'op':_0x4b88a8},_0x4b1bfc={'unitId':_0x2d78a0,'op':_0x81ac8a};return _0xf40609[_0x11ee18(0x490)](Q['id'],_0x41beda)?(_0x50d5f1[_0x11ee18(0x366)](_0x2d78a0),_0x2709aa[_0x11ee18(0x260)]({'unitID':_0x2d78a0,'undoMutations':[{'id':Q['id'],'params':_0x4b1bfc}],'redoMutations':[{'id':Q['id'],'params':_0x41beda}]}),!0x0):!0x1;}},uo={'id':'base.command.set-base-name','type':_0x32350d[_0x4e7c38(0x47b)],'handler':(_0x5771d8,_0x456a3c)=>{const _0x27393b=_0x4e7c38;if(!_0x456a3c)return!0x1;let _0x11603e=_0x5771d8[_0x27393b(0x4d5)](_0x26755d),_0x579f16=_0x11603e[_0x27393b(0x34e)](_0x456a3c[_0x27393b(0x423)],_0x2eb623[_0x27393b(0x583)]);if(!_0x579f16)return!0x1;let _0x35994c=_0x579f16[_0x27393b(0x2a7)]()[_0x27393b(0x39a)];if(_0x35994c===_0x456a3c['name'])return!0x0;let _0x176632=new W(),_0x29b3c9=new z(),_0x4c4dc6=[],_0x446aa9=[],_0x223305=[_0x579f16,..._0x11603e[_0x27393b(0x281)](_0x2eb623['UNIVER_BASE'])[_0x27393b(0x20f)](_0x5da247=>_0x5da247[_0x27393b(0x49c)]()!==_0x456a3c[_0x27393b(0x423)])];for(let _0x393627 of _0x223305){let _0x363707=_0x393627[_0x27393b(0x2a7)](),_0x9d4347=_0x393627===_0x579f16?_0x176632['setBaseName'](_0x363707,_0x456a3c[_0x27393b(0x39a)]):_0x176632[_0x27393b(0x555)](_0x363707,_0x35994c,_0x456a3c[_0x27393b(0x39a)]);_0x9d4347&&(_0x4c4dc6[_0x27393b(0x3e2)]({'id':Q['id'],'params':{'unitId':_0x393627['getUnitId'](),'op':_0x9d4347,'trigger':uo['id']}}),_0x446aa9[_0x27393b(0x2c3)]({'id':Q['id'],'params':{'unitId':_0x393627[_0x27393b(0x49c)](),'op':_0x29b3c9[_0x27393b(0x27f)](_0x363707,_0x9d4347),'trigger':uo['id']}}));}let _0x5f2c5d=_0x5771d8['get'](_0x5342d9),_0x1a07e6=_0x5771d8['get'](_0x1eb28c),_0x374d7f=_0x1a07e6[_0x27393b(0x244)](_0x456a3c['unitId']);try{return _0x457d09(_0x4c4dc6,_0x5f2c5d)[_0x27393b(0x561)]?(_0x11603e['focusUnit'](_0x456a3c['unitId']),_0x1a07e6[_0x27393b(0x260)]({'unitID':_0x456a3c['unitId'],'undoMutations':_0x446aa9,'redoMutations':_0x4c4dc6}),!0x0):!0x1;}finally{_0x374d7f['dispose']();}}},fo={'type':_0x32350d[_0x4e7c38(0x47b)],'id':'base.command.set-permission',async 'handler'(_0x2de1fb,_0x31cf68){const _0x47a430=_0x4e7c38;if(!_0x31cf68||!Tr[_0x47a430(0x37a)](_0x31cf68[_0x47a430(0x1f2)])||_0x31cf68['objectId']!==_0x31cf68[_0x47a430(0x423)]&&_0x31cf68[_0x47a430(0x1f2)]!==_0x3ccddd[_0x47a430(0x319)]||_0x31cf68['policy']&&(![_0x47a430(0x249),'owner',_0x47a430(0x3bd)][_0x47a430(0x37a)](_0x31cf68[_0x47a430(0x267)]['edit'])||_0x31cf68[_0x47a430(0x267)][_0x47a430(0x2f3)]['some'](_0x4f1403=>!Tr[_0x47a430(0x37a)](_0x4f1403[_0x47a430(0x1f2)])||_0x31cf68['objectId']!==_0x31cf68['unitId']&&_0x4f1403[_0x47a430(0x1f2)]!==_0x3ccddd[_0x47a430(0x319)])))return!0x1;let _0x18447e=Pr(_0x31cf68[_0x47a430(0x423)],_0x31cf68[_0x47a430(0x48b)],_0x31cf68[_0x47a430(0x1f2)]),_0x3e77ec={'unitId':_0x31cf68[_0x47a430(0x423)],'objectId':_0x31cf68[_0x47a430(0x48b)],'objectType':_0x18447e[_0x47a430(0x30b)]},_0x5d9872=_0x2de1fb['get'](_0x3cfcfc);return _0x31cf68[_0x47a430(0x4ae)]?await _0x5d9872['remove'](_0x3e77ec):_0x31cf68[_0x47a430(0x267)]?await _0x5d9872[_0x47a430(0x2c6)](_0x3e77ec,_0x31cf68[_0x47a430(0x267)]):await _0x5d9872[_0x47a430(0x2e9)](_0x3e77ec,_0x18447e,_0x31cf68[_0x47a430(0x4de)]),!0x0;}},po={'type':_0x32350d[_0x4e7c38(0x47b)],'id':_0x4e7c38(0x467),async 'handler'(_0x38e746,_0x4675ff){const _0x25519c=_0x4e7c38;if(!(_0x4675ff!=null&&_0x4675ff[_0x25519c(0x423)])||!Array[_0x25519c(0x56b)](_0x4675ff[_0x25519c(0x387)])||!_0x4675ff[_0x25519c(0x387)][_0x25519c(0x2b6)]||_0x4675ff[_0x25519c(0x387)][_0x25519c(0x48e)](_0x5719cb=>!(_0x5719cb!=null&&_0x5719cb[_0x25519c(0x48b)])||_0x5719cb[_0x25519c(0x48b)]===_0x4675ff['unitId']||_0x5719cb[_0x25519c(0x267)]!==null&&(!_0x5719cb[_0x25519c(0x267)]||![_0x25519c(0x249),_0x25519c(0x1f4),'members'][_0x25519c(0x37a)](_0x5719cb[_0x25519c(0x267)][_0x25519c(0x35a)])||!Array[_0x25519c(0x56b)](_0x5719cb[_0x25519c(0x267)][_0x25519c(0x4fa)])||!Array[_0x25519c(0x56b)](_0x5719cb['policy'][_0x25519c(0x2f3)])||_0x5719cb['policy'][_0x25519c(0x2f3)]['some'](_0x538e97=>_0x538e97[_0x25519c(0x1f2)]!==_0x3ccddd[_0x25519c(0x319)]))))throw Error(_0x25519c(0x3ff));return _0x38e746['get'](_0x3cfcfc)[_0x25519c(0x459)](_0x4675ff[_0x25519c(0x387)][_0x25519c(0x3e8)](_0x356c44=>{const _0x45cedd=_0x25519c;let _0x24e315=Pr(_0x4675ff[_0x45cedd(0x423)],_0x356c44[_0x45cedd(0x48b)],_0x3ccddd[_0x45cedd(0x319)]);return{'unitId':_0x4675ff[_0x45cedd(0x423)],'objectId':_0x356c44[_0x45cedd(0x48b)],'objectType':_0x24e315[_0x45cedd(0x30b)],'policy':_0x356c44[_0x45cedd(0x267)]};}));}};function mo(_0x14f3ee,_0x2d7bd3){const _0x39ce92=_0x4e7c38;let _0x2470c8=L(_0x42dbe9[_0x39ce92(0x560)](_0x14f3ee)),_0x10422a=new Map();return _0x2d7bd3['forEach'](_0x4f58e2=>{const _0x3527bf=_0x39ce92;var _0x1d8662,_0x183c7a;let _0x15cf17=_0x3527bf(0x394)in _0x4f58e2?_0x4f58e2[_0x3527bf(0x394)]:(_0x1d8662=_0x2470c8[_0x3527bf(0x565)])==null?void 0x0:_0x1d8662[_0x4f58e2[_0x3527bf(0x505)]],_0x1ca884='fieldId'in _0x4f58e2?_0x4f58e2[_0x3527bf(0x446)]:(_0x183c7a=_0x2470c8[_0x3527bf(0x512)])==null?void 0x0:_0x183c7a[_0x4f58e2[_0x3527bf(0x444)]],_0x6c2cf5=_0x1ca884?_0x2470c8[_0x3527bf(0x531)][_0x1ca884]:void 0x0;if(!_0x15cf17||!_0x1ca884||!_0x6c2cf5||!_0x2470c8[_0x3527bf(0x2d1)][_0x15cf17])return;let _0xf09c94=xt(_0x4f58e2[_0x3527bf(0x4de)],_0x6c2cf5),_0x593328=wt(_0x4f58e2[_0x3527bf(0x4de)],_0xf09c94,_0x6c2cf5,_0x2470c8,_0x15cf17),_0x3931f8=_0x10422a['get'](_0x15cf17)??{};_0x3931f8[_0x1ca884]=_0x593328,_0x10422a[_0x3527bf(0x205)](_0x15cf17,_0x3931f8);}),[..._0x10422a][_0x39ce92(0x3e8)](([_0x40cdfd,_0x4009bb])=>({'recordId':_0x40cdfd,'values':_0x4009bb}));}const ho={'id':_0x4e7c38(0x49b),'type':_0x32350d[_0x4e7c38(0x47b)],'handler'(_0x45853e,_0x23086a){const _0x31e239=_0x4e7c38;if(!_0x23086a)return!0x1;let _0x4b5c5f=_0x45853e[_0x31e239(0x4d5)](_0x26755d),{unitId:_0x53ef14,tableId:_0x5088f9,patches:_0x3eefab}=_0x23086a,_0x37d863=_0x4b5c5f['getUnit'](_0x53ef14,_0x2eb623[_0x31e239(0x583)]);if(!_0x37d863||!$(_0x37d863,_0x5088f9))return!0x1;let _0x555076=_0x45853e[_0x31e239(0x4d5)](_0x5342d9),_0x185f30=_0x45853e['get'](_0x1eb28c),_0x124da2=_0x37d863['getSnapshot'](),_0x33086b=L(_0x124da2[_0x31e239(0x29e)][_0x5088f9]),_0x5d3feb=_0x3eefab[_0x31e239(0x3e8)](_0x49ac4e=>{const _0x58ec41=_0x31e239;var _0x34f190;return _0x58ec41(0x394)in _0x49ac4e?_0x49ac4e[_0x58ec41(0x394)]:(_0x34f190=_0x33086b[_0x58ec41(0x565)])==null?void 0x0:_0x34f190[_0x49ac4e[_0x58ec41(0x505)]];})[_0x31e239(0x20f)](_0x4fcf09=>_0x4fcf09!=null),_0x56795b=_0x3eefab[_0x31e239(0x3e8)](_0x188e63=>{const _0xe5646c=_0x31e239;var _0x229776;return _0xe5646c(0x446)in _0x188e63?_0x188e63['fieldId']:(_0x229776=_0x33086b[_0xe5646c(0x512)])==null?void 0x0:_0x229776[_0x188e63[_0xe5646c(0x444)]];})['filter'](_0x4bd16d=>_0x4bd16d!=null);if(_0x5d3feb[_0x31e239(0x2b6)]!==_0x3eefab[_0x31e239(0x2b6)]||_0x56795b[_0x31e239(0x2b6)]!==_0x3eefab['length']||!$(_0x37d863,_0x5088f9,{'recordIds':_0x5d3feb,'fieldIds':_0x56795b})||_0x3eefab['some']((_0x47924a,_0x227b44)=>!ga(_0x37d863,_0x5088f9,_0x56795b[_0x227b44],_0x47924a[_0x31e239(0x4de)])))return!0x1;let _0x2b3a29=Ze(_0x33086b,mo(_0x33086b,_0x3eefab)),_0x417fbd=_0x3eefab[_0x31e239(0x470)](_0x12e948=>{const _0x28dc93=_0x31e239;var _0x17747d,_0xeb95;if(_0x28dc93(0x505)in _0x12e948)return[_0x12e948];let _0x152898=(_0x17747d=_0x33086b['rowIndex'])==null?void 0x0:_0x17747d[_0x12e948[_0x28dc93(0x394)]],_0x331276=(_0xeb95=_0x33086b[_0x28dc93(0x50b)])==null?void 0x0:_0xeb95[_0x12e948[_0x28dc93(0x446)]];return _0x152898==null||_0x331276==null?[]:[{'row':_0x152898,'col':_0x331276,'value':_0x12e948[_0x28dc93(0x4de)]}];}),_0x439be0=new W()['setRangeValues'](_0x124da2,_0x5088f9,_0x417fbd),_0x24c41c=new z()[_0x31e239(0x27f)](_0x124da2,_0x439be0),_0x31ec4f={'unitId':_0x53ef14,'op':_0x439be0,'trigger':_0x2b3a29[_0x31e239(0x2b6)]?ho['id']:void 0x0,'hierarchyChanges':_0x2b3a29['length']?_0x2b3a29:void 0x0,'source':_0x2b3a29[_0x31e239(0x2b6)]?_0x31e239(0x237):void 0x0},_0x3290c9={'unitId':_0x53ef14,'op':_0x24c41c,'trigger':_0x2b3a29[_0x31e239(0x2b6)]?ho['id']:void 0x0,'hierarchyChanges':_0x2b3a29[_0x31e239(0x2b6)]?_0x2b3a29[_0x31e239(0x3e8)](_0x2b2c73=>({..._0x2b2c73,'oldParentRecordId':_0x2b2c73['parentRecordId'],'parentRecordId':_0x2b2c73['oldParentRecordId']})):void 0x0,'source':_0x2b3a29[_0x31e239(0x2b6)]?_0x31e239(0x3ef):void 0x0},_0x90993={..._0x31ec4f,'source':_0x2b3a29['length']?_0x23086a[_0x31e239(0x211)]??'ui':void 0x0};return _0x555076[_0x31e239(0x490)](Q['id'],_0x90993)?(_0x4b5c5f[_0x31e239(0x366)](_0x53ef14),_0x185f30[_0x31e239(0x260)]({'unitID':_0x53ef14,'undoMutations':[{'id':Q['id'],'params':_0x3290c9}],'redoMutations':[{'id':Q['id'],'params':_0x31ec4f}]}),!0x0):!0x1;}},go={'id':'base.command.set-base-record-values','type':_0x32350d['COMMAND'],'handler'(_0x38aaf4,_0x3a9592){const _0x561f29=_0x4e7c38;if(!_0x3a9592)return!0x1;let _0xb05857=_0x38aaf4[_0x561f29(0x4d5)](_0x26755d),{unitId:_0x458996,tableId:_0x23a0f3,patches:_0x3d546f}=_0x3a9592,_0x8c603=_0xb05857[_0x561f29(0x34e)](_0x458996,_0x2eb623[_0x561f29(0x583)]),_0x453060=_0x3d546f[_0x561f29(0x3e8)](_0x56a0be=>_0x56a0be[_0x561f29(0x394)]),_0x1e98c8=_0x3d546f['flatMap'](_0x4e37c4=>Object[_0x561f29(0x3ca)](_0x4e37c4['values']));if(!_0x8c603||!$(_0x8c603,_0x23a0f3,{'recordIds':_0x453060,'fieldIds':_0x1e98c8})||_0x3d546f[_0x561f29(0x48e)](_0x4beb1d=>Object[_0x561f29(0x502)](_0x4beb1d[_0x561f29(0x4c0)])[_0x561f29(0x48e)](([_0x3c8863,_0xcc78a0])=>!ga(_0x8c603,_0x23a0f3,_0x3c8863,_0xcc78a0))))return!0x1;let _0x46c7e8=Ze(_0x8c603['getSnapshot']()['tables'][_0x23a0f3],_0x3d546f),_0x4e6fbc=_0x38aaf4[_0x561f29(0x4d5)](_0x5342d9),_0x1343e1=_0x38aaf4[_0x561f29(0x4d5)](_0x1eb28c),_0x2c4324=_0x38aaf4['get'](Kr)[_0x561f29(0x3f3)](_0x8c603,_0x23a0f3,_0x3d546f),_0x5b1409=new z()['invertOp'](_0x8c603[_0x561f29(0x2a7)](),_0x2c4324),_0x55ac8f={'unitId':_0x458996,'op':_0x2c4324,'trigger':_0x46c7e8[_0x561f29(0x2b6)]?go['id']:void 0x0,'hierarchyChanges':_0x46c7e8[_0x561f29(0x2b6)]?_0x46c7e8:void 0x0,'source':_0x46c7e8['length']?_0x3a9592['source']??'ui':void 0x0},_0x25ce01={..._0x55ac8f,'source':_0x46c7e8[_0x561f29(0x2b6)]?'redo':void 0x0},_0x4bd53a={'unitId':_0x458996,'op':_0x5b1409,'trigger':_0x46c7e8[_0x561f29(0x2b6)]?go['id']:void 0x0,'hierarchyChanges':_0x46c7e8[_0x561f29(0x2b6)]?_0x46c7e8[_0x561f29(0x3e8)](_0x200266=>({..._0x200266,'oldParentRecordId':_0x200266[_0x561f29(0x44b)],'parentRecordId':_0x200266[_0x561f29(0x272)]})):void 0x0,'source':_0x46c7e8[_0x561f29(0x2b6)]?_0x561f29(0x3ef):void 0x0};return _0x4e6fbc[_0x561f29(0x490)](Q['id'],_0x55ac8f)?(_0xb05857['focusUnit'](_0x458996),_0x1343e1[_0x561f29(0x260)]({'unitID':_0x458996,'undoMutations':[{'id':Q['id'],'params':_0x4bd53a}],'redoMutations':[{'id':Q['id'],'params':_0x25ce01}]}),!0x0):!0x1;}},_o={'id':_0x4e7c38(0x4b7),'type':_0x32350d[_0x4e7c38(0x47b)],'handler':(_0x579b33,_0x1db521)=>{const _0x2e6716=_0x4e7c38;if(!_0x1db521)return!0x1;let {unitId:_0x3692fa,tableId:_0xb1b2e5,fieldId:_0x21b0b0}=_0x1db521,_0x2c2e53=_0x579b33[_0x2e6716(0x4d5)](_0x26755d),_0x491b1e=_0x2c2e53[_0x2e6716(0x34e)](_0x3692fa,_0x2eb623[_0x2e6716(0x583)]);if(!_0x491b1e||!$(_0x491b1e,_0xb1b2e5))return!0x1;let _0x238e2a=_0x491b1e['getSnapshot'](),_0x2a7804=_0x238e2a['tables'][_0xb1b2e5];if(_0x21b0b0!==null&&!F(_0x2a7804,_0x21b0b0))throw new P('invalidField');if(qe(_0x2a7804)===_0x21b0b0)return!0x0;let _0x5c5a53=new W(),_0x33b8d3=R(Object['values'](_0x2a7804['fields'])[_0x2e6716(0x470)](_0x3c89fa=>{const _0x4f627e=_0x2e6716;if(!F(_0x2a7804,_0x3c89fa['id']))return[];let _0x361369=N(_0x3c89fa);if(!_0x361369)return[];let _0x1bf0c8=_0x3c89fa['id']===_0x21b0b0;if(_0x361369[_0x4f627e(0x4ab)]===_0x4cb80e[_0x4f627e(0x3c7)]===_0x1bf0c8)return[];let _0x165ed0={..._0x3c89fa[_0x4f627e(0x554)],'targetTableId':_0x361369[_0x4f627e(0x3b9)],'multiple':_0x361369[_0x4f627e(0x413)]};return _0x1bf0c8?_0x165ed0[_0x4f627e(0x4ab)]=_0x4cb80e['Parent']:delete _0x165ed0['relationRole'],[_0x5c5a53[_0x4f627e(0x309)](_0x238e2a,_0xb1b2e5,_0x3c89fa['id'],{'config':_0x165ed0})];})),_0x426380=new z()[_0x2e6716(0x27f)](_0x238e2a,_0x33b8d3),_0x36ac25={'unitId':_0x3692fa,'op':_0x33b8d3},_0x2700a1={'unitId':_0x3692fa,'op':_0x426380};return _0x579b33['get'](_0x5342d9)[_0x2e6716(0x490)](Q['id'],_0x36ac25)?(_0x2c2e53[_0x2e6716(0x366)](_0x3692fa),_0x579b33['get'](_0x1eb28c)[_0x2e6716(0x260)]({'unitID':_0x3692fa,'undoMutations':[{'id':Q['id'],'params':_0x2700a1}],'redoMutations':[{'id':Q['id'],'params':_0x36ac25}]}),!0x0):!0x1;}},vo={'id':_0x4e7c38(0x2fb),'type':_0x32350d[_0x4e7c38(0x47b)],'handler':(_0x5e9a8c,_0x293139)=>{const _0x2c6cfd=_0x4e7c38;if(!_0x293139)return!0x1;let _0x764851=_0x5e9a8c[_0x2c6cfd(0x4d5)](_0x26755d),{unitId:_0x96aed1,tableId:_0x2d1640,viewId:_0x23844c,fieldId:_0x5d1029,target:_0x239e08}=_0x293139,_0x1cb28a=_0x764851['getUnit'](_0x96aed1,_0x2eb623['UNIVER_BASE']),_0x2c010e=_0x239e08[_0x2c6cfd(0x409)]??_0x239e08[_0x2c6cfd(0x1db)];if(!_0x1cb28a||!_0x2c010e||_0x2c010e===_0x5d1029||!$(_0x1cb28a,_0x2d1640,{'viewIds':[_0x23844c],'fieldIds':[_0x5d1029,_0x2c010e]}))return!0x1;let _0x3fd348=_0x1cb28a[_0x2c6cfd(0x2a7)]()[_0x2c6cfd(0x29e)][_0x2d1640],_0x486ee0=_0x3fd348[_0x2c6cfd(0x531)][_0x5d1029],_0x5b3daa=_0x3fd348[_0x2c6cfd(0x531)][_0x2c010e];if(_0x486ee0[_0x2c6cfd(0x26d)]===!0x0||_0x486ee0[_0x2c6cfd(0x30b)]===_0x377615[_0x2c6cfd(0x4c5)]||_0x5b3daa['system']===!0x0||_0x5b3daa[_0x2c6cfd(0x30b)]===_0x377615[_0x2c6cfd(0x4c5)])return!0x1;let _0x7ef057=_0x5e9a8c[_0x2c6cfd(0x4d5)](_0x5342d9),_0x217464=_0x5e9a8c[_0x2c6cfd(0x4d5)](_0x1eb28c),_0x57c48=_0x1cb28a[_0x2c6cfd(0x2a7)](),_0x4ac0f7=new W()[_0x2c6cfd(0x4c9)](_0x57c48,_0x2d1640,_0x23844c,_0x5d1029,_0x239e08),_0x491c2d=new z()[_0x2c6cfd(0x27f)](_0x57c48,_0x4ac0f7),_0x5de14c={'unitId':_0x96aed1,'op':_0x4ac0f7},_0x1f9811={'unitId':_0x96aed1,'op':_0x491c2d};return _0x7ef057[_0x2c6cfd(0x490)](Q['id'],_0x5de14c)?(_0x764851[_0x2c6cfd(0x366)](_0x96aed1),_0x217464[_0x2c6cfd(0x260)]({'unitID':_0x96aed1,'undoMutations':[{'id':Q['id'],'params':_0x1f9811}],'redoMutations':[{'id':Q['id'],'params':_0x5de14c}]}),!0x0):!0x1;}},yo={'id':_0x4e7c38(0x510),'type':_0x32350d[_0x4e7c38(0x47b)],'handler'(_0x3fd401,_0x16ec3b){const _0x509f51=_0x4e7c38;if(!_0x16ec3b)return!0x1;let _0x435dbe=_0x3fd401[_0x509f51(0x4d5)](_0x26755d),{unitId:_0x2f8a26,tableId:_0x586413,viewId:_0x44c339,fieldId:_0x78a1b4,visible:_0x2a74f0}=_0x16ec3b,_0x2b3e6f=_0x435dbe[_0x509f51(0x34e)](_0x2f8a26,_0x2eb623[_0x509f51(0x583)]);if(!_0x2b3e6f||!$(_0x2b3e6f,_0x586413,{'viewIds':[_0x44c339],'fieldIds':[_0x78a1b4]}))return!0x1;let _0x2deace=_0x2b3e6f[_0x509f51(0x2a7)]()['tables'][_0x586413][_0x509f51(0x531)][_0x78a1b4];if(_0x2deace[_0x509f51(0x26d)]===!0x0||_0x2deace[_0x509f51(0x30b)]===_0x377615[_0x509f51(0x4c5)])return!0x1;let _0x29ab7f=_0x3fd401['get'](_0x5342d9),_0x305c4e=_0x3fd401['get'](_0x1eb28c),_0x7ce33e=_0x2b3e6f['getSnapshot'](),_0x2c3dd4=new W()[_0x509f51(0x2e7)](_0x7ce33e,_0x586413,_0x44c339,_0x78a1b4,_0x2a74f0),_0x3e4c51=new z()[_0x509f51(0x27f)](_0x7ce33e,_0x2c3dd4),_0x23f76f={'unitId':_0x2f8a26,'op':_0x2c3dd4},_0x3c0de7={'unitId':_0x2f8a26,'op':_0x3e4c51};return _0x29ab7f[_0x509f51(0x490)](Q['id'],_0x23f76f)?(_0x435dbe[_0x509f51(0x366)](_0x2f8a26),_0x305c4e['pushUndoRedo']({'unitID':_0x2f8a26,'undoMutations':[{'id':Q['id'],'params':_0x3c0de7}],'redoMutations':[{'id':Q['id'],'params':_0x23f76f}]}),!0x0):!0x1;}},bo={'id':'base.command.set-base-view-field-width','type':_0x32350d[_0x4e7c38(0x47b)],'handler':(_0xc95332,_0x251129)=>{const _0x5daafa=_0x4e7c38;if(!_0x251129)return!0x1;let _0xb024b9=_0xc95332[_0x5daafa(0x4d5)](_0x26755d),{unitId:_0x5e28ed,tableId:_0x3f8de8,viewId:_0x250f19,fieldId:_0x1ca24c,width:_0x37bc92}=_0x251129,_0x15620c=_0xb024b9[_0x5daafa(0x34e)](_0x5e28ed,_0x2eb623[_0x5daafa(0x583)]);if(!_0x15620c||!$(_0x15620c,_0x3f8de8,{'viewIds':[_0x250f19],'fieldIds':[_0x1ca24c]}))return!0x1;let _0x28e9d1=_0x15620c[_0x5daafa(0x2a7)]()[_0x5daafa(0x29e)][_0x3f8de8][_0x5daafa(0x531)][_0x1ca24c];if(_0x28e9d1[_0x5daafa(0x26d)]===!0x0||_0x28e9d1[_0x5daafa(0x30b)]===_0x377615[_0x5daafa(0x4c5)])return!0x1;let _0x535d33=_0xc95332['get'](_0x5342d9),_0x525aa6=_0xc95332[_0x5daafa(0x4d5)](_0x1eb28c),_0x16cc6d=_0x15620c[_0x5daafa(0x2a7)](),_0x53801d=new W()['setViewFieldWidth'](_0x16cc6d,_0x3f8de8,_0x250f19,_0x1ca24c,_0x37bc92),_0x23824a=new z()[_0x5daafa(0x27f)](_0x16cc6d,_0x53801d),_0x564ff3={'unitId':_0x5e28ed,'op':_0x53801d},_0x4f80e5={'unitId':_0x5e28ed,'op':_0x23824a};return _0x535d33[_0x5daafa(0x490)](Q['id'],_0x564ff3)?(_0xb024b9[_0x5daafa(0x366)](_0x5e28ed),_0x525aa6[_0x5daafa(0x260)]({'unitID':_0x5e28ed,'undoMutations':[{'id':Q['id'],'params':_0x4f80e5}],'redoMutations':[{'id':Q['id'],'params':_0x564ff3}]}),!0x0):!0x1;}},xo={'id':_0x4e7c38(0x213),'type':_0x32350d[_0x4e7c38(0x47b)],'handler':(_0x343110,_0x3a8be9)=>{const _0x41dff4=_0x4e7c38;if(!_0x3a8be9)return!0x1;let _0x4131fe=_0x343110[_0x41dff4(0x4d5)](_0x26755d),{unitId:_0x254dc6,tableId:_0x5881dd,viewId:_0x560174,filter:_0x24398f}=_0x3a8be9,_0x49b6a8=_0x4131fe['getUnit'](_0x254dc6,_0x2eb623[_0x41dff4(0x583)]),_0xb65520=(_0x24398f==null?void 0x0:_0x24398f[_0x41dff4(0x477)][_0x41dff4(0x3e8)](_0x33b6a0=>_0x33b6a0[_0x41dff4(0x446)]))??[];if(!_0x49b6a8||!$(_0x49b6a8,_0x5881dd,{'viewIds':[_0x560174],'fieldIds':_0xb65520}))return!0x1;let _0x35d8e3=_0x343110['get'](_0x5342d9),_0x2c4fb0=_0x343110[_0x41dff4(0x4d5)](_0x1eb28c),_0x54ef2e=_0x49b6a8['getSnapshot'](),_0x207f03=new W()[_0x41dff4(0x276)](_0x54ef2e,_0x5881dd,_0x560174,_0x24398f),_0x44ba7c=new z()[_0x41dff4(0x27f)](_0x54ef2e,_0x207f03),_0x2bc02c={'unitId':_0x254dc6,'op':_0x207f03},_0x212ac3={'unitId':_0x254dc6,'op':_0x44ba7c};return _0x35d8e3[_0x41dff4(0x490)](Q['id'],_0x2bc02c)?(_0x4131fe[_0x41dff4(0x366)](_0x254dc6),_0x2c4fb0[_0x41dff4(0x260)]({'unitID':_0x254dc6,'undoMutations':[{'id':Q['id'],'params':_0x212ac3}],'redoMutations':[{'id':Q['id'],'params':_0x2bc02c}]}),!0x0):!0x1;}},So={'id':_0x4e7c38(0x50a),'type':_0x32350d[_0x4e7c38(0x47b)],'handler':(_0xd281cc,_0x398a60)=>{const _0x2fc492=_0x4e7c38;if(!_0x398a60)return!0x1;let _0x4f59db=_0xd281cc[_0x2fc492(0x4d5)](_0x26755d),{unitId:_0x127260,tableId:_0x4d2f1b,viewId:_0x547693,group:_0x4b45af}=_0x398a60,_0x25517a=_0x4f59db[_0x2fc492(0x34e)](_0x127260,_0x2eb623[_0x2fc492(0x583)]);if(!_0x25517a||!$(_0x25517a,_0x4d2f1b,{'viewIds':[_0x547693],'fieldIds':_0x4b45af[_0x2fc492(0x3e8)](_0xfbbe1f=>_0xfbbe1f[_0x2fc492(0x446)])}))return!0x1;let _0x341f98=_0xd281cc[_0x2fc492(0x4d5)](_0x5342d9),_0x297eae=_0xd281cc['get'](_0x1eb28c),_0x343237=_0x25517a[_0x2fc492(0x2a7)](),_0xe5b063=new W()[_0x2fc492(0x2ca)](_0x343237,_0x4d2f1b,_0x547693,_0x4b45af),_0x3bc858=new z()[_0x2fc492(0x27f)](_0x343237,_0xe5b063),_0x998e2d={'unitId':_0x127260,'op':_0xe5b063},_0x17addd={'unitId':_0x127260,'op':_0x3bc858};return _0x341f98[_0x2fc492(0x490)](Q['id'],_0x998e2d)?(_0x4f59db[_0x2fc492(0x366)](_0x127260),_0x297eae[_0x2fc492(0x260)]({'unitID':_0x127260,'undoMutations':[{'id':Q['id'],'params':_0x17addd}],'redoMutations':[{'id':Q['id'],'params':_0x998e2d}]}),!0x0):!0x1;}},Co={'id':_0x4e7c38(0x542),'type':_0x32350d[_0x4e7c38(0x47b)],'handler':(_0x204f96,_0x5627d8)=>{const _0x29f609=_0x4e7c38;if(!_0x5627d8)return!0x1;let _0x1184af=_0x204f96[_0x29f609(0x4d5)](_0x26755d),{unitId:_0x1d51f1,tableId:_0x5376b9,viewId:_0x34a9e7,sort:_0x8b754c}=_0x5627d8,_0x31a9ee=_0x1184af[_0x29f609(0x34e)](_0x1d51f1,_0x2eb623[_0x29f609(0x583)]);if(!_0x31a9ee||!$(_0x31a9ee,_0x5376b9,{'viewIds':[_0x34a9e7],'fieldIds':_0x8b754c[_0x29f609(0x3e8)](_0x708a8f=>_0x708a8f[_0x29f609(0x446)])}))return!0x1;let _0x3bc9b0=_0x204f96[_0x29f609(0x4d5)](_0x5342d9),_0x52d82d=_0x204f96[_0x29f609(0x4d5)](_0x1eb28c),_0x4b8e16=_0x31a9ee[_0x29f609(0x2a7)](),_0x15e5de=new W()[_0x29f609(0x374)](_0x4b8e16,_0x5376b9,_0x34a9e7,_0x8b754c),_0x1ef803=new z()['invertOp'](_0x4b8e16,_0x15e5de),_0x5cf967={'unitId':_0x1d51f1,'op':_0x15e5de},_0x3b7f7a={'unitId':_0x1d51f1,'op':_0x1ef803};return _0x3bc9b0['syncExecuteCommand'](Q['id'],_0x5cf967)?(_0x1184af['focusUnit'](_0x1d51f1),_0x52d82d['pushUndoRedo']({'unitID':_0x1d51f1,'undoMutations':[{'id':Q['id'],'params':_0x3b7f7a}],'redoMutations':[{'id':Q['id'],'params':_0x5cf967}]}),!0x0):!0x1;}},wo={'id':_0x4e7c38(0x478),'type':_0x32350d[_0x4e7c38(0x47b)],'handler'(_0x5a637b,_0x43019b){const _0x1d92b2=_0x4e7c38;if(!_0x43019b)return!0x1;let _0x5d155c=_0x5a637b[_0x1d92b2(0x4d5)](_0x26755d),{unitId:_0x147f4b,tableId:_0x42f1a4,recordId:_0x5b97dc,fieldId:_0xd99191,value:_0x29d042}=_0x43019b,_0x2a9022=_0x5d155c[_0x1d92b2(0x34e)](_0x147f4b,_0x2eb623[_0x1d92b2(0x583)]);if(!_0x2a9022||!$(_0x2a9022,_0x42f1a4,{'recordIds':[_0x5b97dc],'fieldIds':[_0xd99191]})||!ga(_0x2a9022,_0x42f1a4,_0xd99191,_0x29d042))return!0x1;let _0x309d0f=_0x2a9022[_0x1d92b2(0x2a7)]()[_0x1d92b2(0x29e)][_0x42f1a4],_0x15c4df=F(_0x309d0f,_0xd99191)&&Xe(_0x309d0f)[_0x1d92b2(0x37a)](_0xd99191),_0x469fb6=_0x15c4df?tt(_0x309d0f,_0xd99191):null,_0x18c74f=(_0x469fb6==null?void 0x0:_0x469fb6[_0x1d92b2(0x3ed)][_0x1d92b2(0x4d5)](_0x5b97dc))??null,_0x3f6000=_0x15c4df?Le(_0x29d042)[0x0]??null:null;if(_0x469fb6){if(_0x3f6000&&!_0x309d0f[_0x1d92b2(0x2d1)][_0x3f6000])throw new P(_0x1d92b2(0x310));let _0x2c94ac=it(_0x469fb6,_0x5b97dc,_0x3f6000);if(!_0x2c94ac['valid'])throw new P(_0x2c94ac[_0x1d92b2(0x3be)]===_0x3ada7a[_0x1d92b2(0x31a)]?_0x1d92b2(0x4f9):_0x2c94ac[_0x1d92b2(0x3be)]===_0x3ada7a[_0x1d92b2(0x529)]?'cycle':_0x1d92b2(0x382));}let _0x38a8e7=_0x5a637b[_0x1d92b2(0x4d5)](_0x5342d9),_0x221c03=_0x5a637b[_0x1d92b2(0x4d5)](_0x1eb28c),_0x1893b5=_0x5a637b[_0x1d92b2(0x4d5)](Kr),_0x31b996;try{_0x31b996=_0x1893b5['createUpdateCellOp'](_0x2a9022,_0x42f1a4,_0x5b97dc,_0xd99191,_0x29d042);}catch(_0x3eb351){return console[_0x1d92b2(0x509)](_0x1d92b2(0x508),_0x3eb351),!0x1;}let _0x28dd8d=new z()[_0x1d92b2(0x27f)](_0x2a9022[_0x1d92b2(0x2a7)](),_0x31b996),_0x2bb85a=_0x15c4df&&_0x18c74f!==_0x3f6000?[{'tableId':_0x42f1a4,'fieldId':_0xd99191,'recordId':_0x5b97dc,'oldParentRecordId':_0x18c74f,'parentRecordId':_0x3f6000}]:void 0x0,_0x153209={'unitId':_0x147f4b,'op':_0x31b996,'trigger':_0x2bb85a?wo['id']:void 0x0,'hierarchyChanges':_0x2bb85a,'source':_0x2bb85a?_0x43019b[_0x1d92b2(0x211)]??'ui':void 0x0},_0x25f89a={..._0x153209,'source':_0x2bb85a?_0x1d92b2(0x237):void 0x0},_0x5f4d3f={'unitId':_0x147f4b,'op':_0x28dd8d,'trigger':_0x2bb85a?wo['id']:void 0x0,'hierarchyChanges':_0x2bb85a==null?void 0x0:_0x2bb85a[_0x1d92b2(0x3e8)](_0x355d9d=>({..._0x355d9d,'oldParentRecordId':_0x355d9d['parentRecordId'],'parentRecordId':_0x355d9d['oldParentRecordId']})),'source':_0x2bb85a?'undo':void 0x0};return _0x38a8e7[_0x1d92b2(0x490)](Q['id'],_0x153209)?(_0x5d155c[_0x1d92b2(0x366)](_0x147f4b),_0x221c03[_0x1d92b2(0x260)]({'unitID':_0x147f4b,'undoMutations':[{'id':Q['id'],'params':_0x5f4d3f}],'redoMutations':[{'id':Q['id'],'params':_0x25f89a}]}),!0x0):!0x1;}},To={'id':_0x4e7c38(0x419),'type':_0x32350d[_0x4e7c38(0x47b)],'handler'(_0x3eb25e,_0x2ccec3){const _0x504c5b=_0x4e7c38;if(!_0x2ccec3)return!0x1;let _0x3b31b0=_0x3eb25e[_0x504c5b(0x4d5)](_0x26755d),{unitId:_0x24c925,tableId:_0x3ef9ec,fieldId:_0x216d35}=_0x2ccec3,_0x591b16=_0x3b31b0[_0x504c5b(0x34e)](_0x24c925,_0x2eb623[_0x504c5b(0x583)]);if(!_0x591b16||!$(_0x591b16,_0x3ef9ec,{'fieldIds':[_0x216d35]}))return!0x1;let _0x5d5954=_0x3eb25e[_0x504c5b(0x4d5)](_0x5342d9),_0x1808a9=_0x3eb25e[_0x504c5b(0x4d5)](_0x1eb28c),_0x1e82bf=_0x591b16[_0x504c5b(0x2a7)](),_0x213a57=_0x2ccec3[_0x504c5b(0x4a4)][_0x504c5b(0x42c)](),_0x1a0d39=new W()[_0x504c5b(0x309)](_0x1e82bf,_0x3ef9ec,_0x216d35,{'description':_0x213a57}),_0x2bc33e=new z()[_0x504c5b(0x27f)](_0x591b16[_0x504c5b(0x2a7)](),_0x1a0d39),_0x23e0e9={'unitId':_0x24c925,'op':_0x1a0d39},_0x30b5f0={'unitId':_0x24c925,'op':_0x2bc33e};return _0x5d5954[_0x504c5b(0x490)](Q['id'],_0x23e0e9)?(_0x3b31b0[_0x504c5b(0x366)](_0x24c925),_0x1808a9[_0x504c5b(0x260)]({'unitID':_0x24c925,'undoMutations':[{'id':Q['id'],'params':_0x30b5f0}],'redoMutations':[{'id':Q['id'],'params':_0x23e0e9}]}),!0x0):!0x1;}},Eo={'id':_0x4e7c38(0x51e),'type':_0x32350d[_0x4e7c38(0x47b)],'handler':(_0x17c6c7,_0x3a451b)=>{const _0x43ce5d=_0x4e7c38;if(!_0x3a451b)return!0x1;let _0x3d7efb=_0x17c6c7[_0x43ce5d(0x4d5)](_0x26755d),{unitId:_0x46776e,tableId:_0x1019f7,fieldId:_0x37349d,patch:_0x1c3cee}=_0x3a451b,_0x1b391f=_0x3d7efb[_0x43ce5d(0x34e)](_0x46776e,_0x2eb623[_0x43ce5d(0x583)]);if(!_0x1b391f||_0x37349d===_0x5802d7||!$(_0x1b391f,_0x1019f7,{'fieldIds':[_0x37349d]}))return!0x1;let _0x35a353=_0x17c6c7[_0x43ce5d(0x4d5)](_0x5342d9),_0x3143fc=_0x17c6c7[_0x43ce5d(0x4d5)](_0x1eb28c),_0x2bf4f6=_0x1b391f[_0x43ce5d(0x2a7)]();if(!ha(_0x1b391f,_0x1019f7,{..._0x2bf4f6[_0x43ce5d(0x29e)][_0x1019f7]['fields'][_0x37349d],..._0x1c3cee}))return!0x1;let _0x4eb3ac=new W()[_0x43ce5d(0x309)](_0x2bf4f6,_0x1019f7,_0x37349d,_0x1c3cee),_0x48683b=new z()[_0x43ce5d(0x27f)](_0x2bf4f6,_0x4eb3ac),_0x5192c2={'unitId':_0x46776e,'op':_0x4eb3ac},_0x4e6353={'unitId':_0x46776e,'op':_0x48683b};return _0x35a353[_0x43ce5d(0x490)](Q['id'],_0x5192c2)?(_0x3d7efb['focusUnit'](_0x46776e),_0x3143fc[_0x43ce5d(0x260)]({'unitID':_0x46776e,'undoMutations':[{'id':Q['id'],'params':_0x4e6353}],'redoMutations':[{'id':Q['id'],'params':_0x5192c2}]}),!0x0):!0x1;}},Do={'id':_0x4e7c38(0x4cf),'type':_0x32350d['COMMAND'],'handler':(_0x28c005,_0xac4bed)=>{const _0x2b1317=_0x4e7c38;if(!_0xac4bed)return!0x1;let _0x1630e0=_0x28c005[_0x2b1317(0x4d5)](_0x26755d),{unitId:_0x19b833,tableId:_0x56ce5a,viewId:_0x37cad2,patch:_0x2d9a91}=_0xac4bed,_0x462355=_0x1630e0[_0x2b1317(0x34e)](_0x19b833,_0x2eb623[_0x2b1317(0x583)]);if(!_0x462355||!$(_0x462355,_0x56ce5a,{'viewIds':[_0x37cad2]}))return!0x1;let _0x1fb8b7=_0x28c005['get'](_0x5342d9),_0x322759=_0x28c005[_0x2b1317(0x4d5)](_0x1eb28c),_0x1b3d6c=_0x462355[_0x2b1317(0x2a7)](),_0x296554=new W()[_0x2b1317(0x3e4)](_0x1b3d6c,_0x56ce5a,_0x37cad2,_0x2d9a91),_0x156d71=new z()[_0x2b1317(0x27f)](_0x1b3d6c,_0x296554),_0x65fcbd={'unitId':_0x19b833,'op':_0x296554},_0x328a11={'unitId':_0x19b833,'op':_0x156d71};return _0x1fb8b7[_0x2b1317(0x490)](Q['id'],_0x65fcbd)?(_0x1630e0[_0x2b1317(0x366)](_0x19b833),_0x322759['pushUndoRedo']({'unitID':_0x19b833,'undoMutations':[{'id':Q['id'],'params':_0x328a11}],'redoMutations':[{'id':Q['id'],'params':_0x65fcbd}]}),!0x0):!0x1;}},Oo={'id':_0x4e7c38(0x3f9),'type':_0x32350d[_0x4e7c38(0x47b)],'handler':(_0x47f0af,_0x5a8b3e)=>{const _0x440135=_0x4e7c38;if(!_0x5a8b3e)return!0x1;let _0x1b397c=_0x47f0af['get'](_0x26755d),{unitId:_0x31bac2,tableId:_0x44a5a7,recordId:_0x24c61a,orderKey:_0x27fa04}=_0x5a8b3e,_0x27616=_0x1b397c[_0x440135(0x34e)](_0x31bac2,_0x2eb623['UNIVER_BASE']);if(!_0x27616||!$(_0x27616,_0x44a5a7,{'recordIds':[_0x24c61a]}))return!0x1;let _0x17d39e=_0x47f0af['get'](_0x5342d9),_0x5c4360=_0x47f0af[_0x440135(0x4d5)](_0x1eb28c),_0x57a85e=_0x27616[_0x440135(0x2a7)](),_0x4a5444=new W()[_0x440135(0x2c1)](_0x57a85e,_0x44a5a7,_0x24c61a,_0x27fa04),_0x2debd4=new z()['invertOp'](_0x57a85e,_0x4a5444),_0x3e430b={'unitId':_0x31bac2,'op':_0x4a5444},_0x193f23={'unitId':_0x31bac2,'op':_0x2debd4};return _0x17d39e['syncExecuteCommand'](Q['id'],_0x3e430b)?(_0x1b397c['focusUnit'](_0x31bac2),_0x5c4360['pushUndoRedo']({'unitID':_0x31bac2,'undoMutations':[{'id':Q['id'],'params':_0x193f23}],'redoMutations':[{'id':Q['id'],'params':_0x3e430b}]}),!0x0):!0x1;}};let ko=function(_0x36c121){const _0x446ceb=_0x4e7c38;return _0x36c121[_0x446ceb(0x21d)]=_0x446ceb(0x205),_0x36c121[_0x446ceb(0x39d)]=_0x446ceb(0x290),_0x36c121[_0x446ceb(0x1d5)]='delete',_0x36c121[_0x446ceb(0x3e6)]=_0x446ceb(0x2b2),_0x36c121;}({});const Ao={'id':_0x4e7c38(0x420),'type':_0x32350d[_0x4e7c38(0x47b)],'handler':(_0x329e88,_0x237379)=>{const _0x5ebb9d=_0x4e7c38;var _0x3e0746;if(!_0x237379)return!0x1;let _0x4c6c46=_0x329e88[_0x5ebb9d(0x4d5)](_0x26755d),_0x3a2888=_0x4c6c46[_0x5ebb9d(0x34e)](_0x237379['unitId'],_0x2eb623['UNIVER_BASE']);if(!_0x3a2888||!$(_0x3a2888,_0x237379[_0x5ebb9d(0x2cc)],{'viewIds':[_0x237379['viewId']]}))return!0x1;let _0x1db5a8=_0x3a2888[_0x5ebb9d(0x2a7)](),_0x242620=_0x1db5a8['tables'][_0x237379[_0x5ebb9d(0x2cc)]],_0x53008d=jo(((_0x3e0746=_0x242620[_0x5ebb9d(0x460)][_0x237379[_0x5ebb9d(0x34a)]]['config']['conditionalColoring'])==null?void 0x0:_0x3e0746[_0x5ebb9d(0x532)])??[],_0x237379);if(!_0x53008d)return!0x1;Mo(_0x242620,_0x53008d);let _0x3ebc3a=new W()[_0x5ebb9d(0x3e4)](_0x1db5a8,_0x237379[_0x5ebb9d(0x2cc)],_0x237379['viewId'],{'conditionalColoring':_0x53008d[_0x5ebb9d(0x2b6)]?{'rules':_0x53008d}:null}),_0x183025=new z()['invertOp'](_0x1db5a8,_0x3ebc3a),_0x50c1fa={'unitId':_0x237379[_0x5ebb9d(0x423)],'op':_0x3ebc3a},_0x18f92e={'unitId':_0x237379[_0x5ebb9d(0x423)],'op':_0x183025};return _0x329e88[_0x5ebb9d(0x4d5)](_0x5342d9)[_0x5ebb9d(0x490)](Q['id'],_0x50c1fa)?(_0x4c6c46['focusUnit'](_0x237379['unitId']),_0x329e88[_0x5ebb9d(0x4d5)](_0x1eb28c)[_0x5ebb9d(0x260)]({'unitID':_0x237379['unitId'],'undoMutations':[{'id':Q['id'],'params':_0x18f92e}],'redoMutations':[{'id':Q['id'],'params':_0x50c1fa}]}),!0x0):!0x1;}};function jo(_0x4ffa74,_0x17d87b){const _0x250f0d=_0x4e7c38;switch(_0x17d87b[_0x250f0d(0x30b)]){case _0x250f0d(0x205):return _0x42dbe9['deepClone'](_0x17d87b[_0x250f0d(0x532)]);case _0x250f0d(0x290):return[..._0x42dbe9[_0x250f0d(0x560)](_0x4ffa74),_0x42dbe9[_0x250f0d(0x560)](_0x17d87b[_0x250f0d(0x4f5)])];case _0x250f0d(0x57a):{let _0x2e3812=_0x4ffa74[_0x250f0d(0x20f)](_0x2b5fae=>_0x2b5fae['id']!==_0x17d87b[_0x250f0d(0x503)]);return _0x2e3812[_0x250f0d(0x2b6)]===_0x4ffa74[_0x250f0d(0x2b6)]?null:_0x42dbe9[_0x250f0d(0x560)](_0x2e3812);}case _0x250f0d(0x2b2):return _0x4ffa74[_0x250f0d(0x2b6)]?[]:null;}}function Mo(_0x4da173,_0xc7b3b){const _0x74bc8d=_0x4e7c38;if(!Array['isArray'](_0xc7b3b))throw TypeError(_0x74bc8d(0x553));let _0x38b88c=new Set();for(let [_0x34eae9,_0x406fdd]of _0xc7b3b['entries']())Po(_0x4da173,_0x406fdd,No(_0x406fdd,_0x34eae9,_0x38b88c));}function No(_0x30e570,_0x4b91e4,_0x57f830){const _0x407606=_0x4e7c38;if(!_0x30e570||typeof _0x30e570!=_0x407606(0x3d3))throw TypeError('[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20at\x20index\x20'+_0x4b91e4+_0x407606(0x27d));let _0x38833b=typeof _0x30e570['id']==_0x407606(0x457)&&_0x30e570['id']['trim']()?'\x22'+_0x30e570['id']+'\x22':_0x407606(0x2a5)+_0x4b91e4;if(typeof _0x30e570['id']!='string'||!_0x30e570['id']['trim']())throw Error(_0x407606(0x3b1)+_0x38833b+_0x407606(0x253));if(_0x57f830[_0x407606(0x4d6)](_0x30e570['id']))throw Error('[UpdateBaseViewConditionalColorRulesCommand]:\x20duplicate\x20rule\x20id\x20\x22'+_0x30e570['id']+'\x22.');_0x57f830[_0x407606(0x290)](_0x30e570['id']);let _0x275b56=typeof _0x30e570['color']=='string'&&_0x30e570[_0x407606(0x480)][_0x407606(0x42c)]()?new _0x20c54c(_0x30e570[_0x407606(0x480)]):null;if(!(_0x275b56!=null&&_0x275b56[_0x407606(0x31e)]))throw Error(_0x407606(0x3b1)+_0x38833b+_0x407606(0x4e6));return _0x38833b;}function Po(_0x42b2c8,_0xce8c0f,_0x40c702){const _0x3e4b8e=_0x4e7c38;let _0x2440f4=new Set(Object[_0x3e4b8e(0x4c0)](_0x451bc0)),_0x56fb16=new Set(Object[_0x3e4b8e(0x4c0)](_0x4baac8)),_0x35e4df=new Set(Object[_0x3e4b8e(0x4c0)](_0x140f15));if(!_0x2440f4[_0x3e4b8e(0x4d6)](_0xce8c0f[_0x3e4b8e(0x44d)]))throw Error(_0x3e4b8e(0x3b1)+_0x40c702+_0x3e4b8e(0x3cd)+String(_0xce8c0f[_0x3e4b8e(0x44d)])+'\x22.');let _0x30355b=typeof _0xce8c0f[_0x3e4b8e(0x446)]==_0x3e4b8e(0x457)?_0x42b2c8['fields'][_0xce8c0f[_0x3e4b8e(0x446)]]:void 0x0;if(!_0x30355b||_0x30355b[_0x3e4b8e(0x26d)]===!0x0||_0x30355b[_0x3e4b8e(0x30b)]===_0x377615[_0x3e4b8e(0x4c5)])throw Error(_0x3e4b8e(0x3b1)+_0x40c702+'\x20references\x20missing\x20or\x20non-public\x20field\x20\x22'+String(_0xce8c0f[_0x3e4b8e(0x446)])+'\x22.');if(!_0x56fb16['has'](_0xce8c0f[_0x3e4b8e(0x4c6)]))throw Error(_0x3e4b8e(0x3b1)+_0x40c702+_0x3e4b8e(0x1f5)+String(_0xce8c0f[_0x3e4b8e(0x4c6)])+'\x22.');if(_0xce8c0f[_0x3e4b8e(0x3a8)]!==void 0x0&&!_0x35e4df[_0x3e4b8e(0x4d6)](_0xce8c0f['dateMode']))throw Error('[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20'+_0x40c702+_0x3e4b8e(0x378)+String(_0xce8c0f['dateMode'])+'\x22.');if(_0xce8c0f['target']===_0x451bc0[_0x3e4b8e(0x263)])return;let _0x4b570b=vn(_0x30355b[_0x3e4b8e(0x30b)]);if(!_0x4b570b[_0x3e4b8e(0x37a)](_0xce8c0f[_0x3e4b8e(0x4c6)]))throw Error(_0x3e4b8e(0x3b1)+_0x40c702+_0x3e4b8e(0x530)+_0xce8c0f['operator']+_0x3e4b8e(0x2c7)+_0x30355b[_0x3e4b8e(0x30b)]+_0x3e4b8e(0x4b2)+_0x4b570b[_0x3e4b8e(0x50e)](',\x20')+'.');if(_0xce8c0f[_0x3e4b8e(0x3a8)]!==void 0x0&&!yn(_0x30355b[_0x3e4b8e(0x30b)]))throw Error('[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20'+_0x40c702+_0x3e4b8e(0x541));}const Fo={'id':'base.command.update-base-view-config','type':_0x32350d[_0x4e7c38(0x47b)],'handler':(_0xbfcd65,_0x5bb9a3)=>{const _0x544d06=_0x4e7c38;if(!_0x5bb9a3)return!0x1;let _0x5880cc=_0xbfcd65[_0x544d06(0x4d5)](_0x26755d),{unitId:_0x22b448,tableId:_0x47df87,viewId:_0x310809,patch:_0x3641e1}=_0x5bb9a3,_0x58afce=_0x5880cc[_0x544d06(0x34e)](_0x22b448,_0x2eb623[_0x544d06(0x583)]);if(!_0x58afce||!$(_0x58afce,_0x47df87,{'viewIds':[_0x310809]}))return!0x1;let _0x335b4f=_0xbfcd65[_0x544d06(0x4d5)](_0x5342d9),_0x590dae=_0xbfcd65[_0x544d06(0x4d5)](_0x1eb28c),_0x422f71=_0x58afce['getSnapshot'](),_0x1c340e=new W()[_0x544d06(0x3e4)](_0x422f71,_0x47df87,_0x310809,_0x3641e1),_0x5e09e4=new z()[_0x544d06(0x27f)](_0x422f71,_0x1c340e),_0x4de859={'unitId':_0x22b448,'op':_0x1c340e},_0x467f15={'unitId':_0x22b448,'op':_0x5e09e4};return _0x335b4f[_0x544d06(0x490)](Q['id'],_0x4de859)?(_0x5880cc[_0x544d06(0x366)](_0x22b448),_0x590dae[_0x544d06(0x260)]({'unitID':_0x22b448,'undoMutations':[{'id':Q['id'],'params':_0x467f15}],'redoMutations':[{'id':Q['id'],'params':_0x4de859}]}),!0x0):!0x1;}},Io={'id':'base.command.validate-formula','type':_0x32350d[_0x4e7c38(0x47b)],'handler'(_0x1c2717,_0x532714){const _0x527cea=_0x4e7c38;if(!_0x532714)return{'valid':!0x1,'reason':_0x527cea(0x2ba)};let _0x290a36=_0x1c2717['get'](_0x26755d)['getUnit'](_0x532714[_0x527cea(0x423)],_0x2eb623['UNIVER_BASE']),_0xff3a06=_0x290a36==null?void 0x0:_0x290a36[_0x527cea(0x2a7)](),_0x346adf=_0xff3a06==null?void 0x0:_0xff3a06[_0x527cea(0x29e)][_0x532714[_0x527cea(0x2cc)]];return!_0xff3a06||!_0x346adf?{'valid':!0x1,'reason':_0x527cea(0x23a)}:new Xi()[_0x527cea(0x398)](_0x532714['formula'],_0x346adf,{'snapshot':_0xff3a06});}};let Lo=class extends _0x5d02dd{constructor(_0x204fd4){const _0x1a5d12=_0x4e7c38;super(_0x204fd4,_0x1a5d12(0x550),_0x2eb623['UNIVER_BASE'],[_0x3b454d[_0x1a5d12(0x439)],_0x3b454d[_0x1a5d12(0x29b)],_0x3b454d['BaseRecord'],_0x3b454d['BaseView'],_0x3b454d[_0x1a5d12(0x416)]]);}};Lo=X([Y(0x0,_0x3897dd)],Lo);const Ro={'id':_0x4e7c38(0x558),'type':_0x32350d[_0x4e7c38(0x324)],'handler':(_0x117b69,_0x431c92)=>!_0x431c92||!_0x117b69[_0x4e7c38(0x4d5)](_0x26755d)['getUnit'](_0x431c92[_0x4e7c38(0x423)],_0x2eb623[_0x4e7c38(0x583)])?!0x1:_0x117b69[_0x4e7c38(0x4d5)](Lo)[_0x4e7c38(0x234)](_0x431c92['unitId'],_0x431c92[_0x4e7c38(0x417)],_0x431c92[_0x4e7c38(0x48b)],_0x431c92['rule'])},zo={'id':'base.mutation.set-permission-rules','type':_0x32350d['MUTATION'],'handler':(_0x36c222,_0x432598)=>!_0x432598||!_0x36c222[_0x4e7c38(0x4d5)](_0x26755d)[_0x4e7c38(0x34e)](_0x432598[_0x4e7c38(0x423)],_0x2eb623['UNIVER_BASE'])?!0x1:_0x36c222[_0x4e7c38(0x4d5)](Lo)[_0x4e7c38(0x515)](_0x432598[_0x4e7c38(0x423)],_0x432598[_0x4e7c38(0x532)])};function Bo(_0x38c3dd){const _0x5d3a30=_0x4e7c38;let _0x37d983=_0x38c3dd[_0x5d3a30(0x32e)]??Date['now'](),_0x3c120d=_0x38c3dd[_0x5d3a30(0x48d)]??_0x38c3dd['id']+_0x5d3a30(0x2da),_0xb8ce71=_0x38c3dd[_0x5d3a30(0x3ac)]??_0x38c3dd['id']+'-view-grid',_0x2196b6=_0x38c3dd[_0x5d3a30(0x274)]??0x0,_0x278fcd=_0x560c8e(),_0x5352a3={'id':_0x3c120d,'name':_0x38c3dd[_0x5d3a30(0x495)]??_0x5d3a30(0x233),'type':_0x377615[_0x5d3a30(0x46e)],'config':{'placeholder':_0x5d3a30(0x28d)}},_0x407c3a={},_0xca8af7=[],_0x185970={},_0x3eb6f0={},_0x215dcd={};for(let _0x28d298=0x0;_0x28d298<_0x2196b6;_0x28d298++){let _0x5c118d=_0x38c3dd['id']+_0x5d3a30(0x280)+(_0x28d298+0x1);_0x407c3a[_0x5c118d]={'id':_0x5c118d,'values':{[_0x5802d7]:_0x5c118d,..._0x38c3dd[_0x5d3a30(0x32c)]?{[_0x3c120d]:_0x38c3dd[_0x5d3a30(0x32c)]+'\x20'+(_0x28d298+0x1)}:{}},'orderKey':String(_0x28d298+0x1)['padStart'](0x4,'0'),'createdAt':_0x37d983,'updatedAt':_0x37d983},_0xca8af7[_0x5d3a30(0x3e2)](_0x5c118d),_0x185970[_0x5c118d]=_0x28d298,_0x3eb6f0[_0x28d298]=_0x5c118d,_0x215dcd[_0x28d298]={0x0:{'v':_0x5c118d,'t':_0xbba171[_0x5d3a30(0x329)]}},_0x38c3dd[_0x5d3a30(0x32c)]&&(_0x215dcd[_0x28d298][0x1]={'v':_0x38c3dd[_0x5d3a30(0x32c)]+'\x20'+(_0x28d298+0x1),'t':_0xbba171[_0x5d3a30(0x329)]});}let _0x4eb307={'id':_0xb8ce71,'tableId':_0x38c3dd['id'],'name':_0x5d3a30(0x571),'type':_0xa6488a[_0x5d3a30(0x571)],'fieldOrder':[_0x5802d7,_0x3c120d],'fieldSettings':{[_0x5802d7]:{'hidden':!0x0}},'config':{'frozenFieldCount':0x1}};return{'id':_0x38c3dd['id'],'name':_0x38c3dd[_0x5d3a30(0x39a)],'primaryFieldId':_0x3c120d,'fieldOrder':[_0x5802d7,_0x3c120d],'fields':{[_0x5802d7]:_0x278fcd,[_0x3c120d]:_0x5352a3},'records':_0x407c3a,'recordOrder':_0xca8af7,'rowIndex':_0x185970,'rowId':_0x3eb6f0,'colIndex':{[_0x5802d7]:0x0,[_0x3c120d]:0x1},'colId':{0x0:_0x5802d7,0x1:_0x3c120d},'cellData':_0x215dcd,'views':{[_0xb8ce71]:_0x4eb307},'viewOrder':[_0xb8ce71]};}const Vo=_0x4e7c38(0x3d9);function Ho(_0x4acc76){const _0x506937=_0x4e7c38;let _0x453dfc=Bo({'id':_0x4acc76[_0x506937(0x271)],'name':_0x4acc76[_0x506937(0x39a)]??_0x4acc76[_0x506937(0x4e0)],'recordCount':0x0});return{..._0x453dfc,'resources':{..._0x453dfc[_0x506937(0x358)]??{},[Vo]:Go(_0x4acc76)}};}function Uo(_0x184852){const _0x17c8f2=_0x4e7c38;return{'id':Q['id'],'params':{'unitId':_0x184852[_0x17c8f2(0x423)],'op':_0x10aaca[_0x17c8f2(0x30b)][_0x17c8f2(0x356)](_0x10aaca[_0x17c8f2(0x45d)]([_0x17c8f2(0x29e),_0x184852[_0x17c8f2(0x438)]['id']],_0x184852[_0x17c8f2(0x438)]),_0x10aaca[_0x17c8f2(0x45d)](['tableOrder',_0x184852[_0x17c8f2(0x230)]??_0x184852[_0x17c8f2(0x400)][_0x17c8f2(0x38f)][_0x17c8f2(0x2b6)]],_0x184852[_0x17c8f2(0x438)]['id'])),'trigger':'embed-ui'}};}function Wo(_0x1294c3){const _0x12a9da=_0x4e7c38;let _0x56f15b=_0x1294c3[_0x12a9da(0x400)][_0x12a9da(0x38f)][_0x12a9da(0x20c)](_0x1294c3[_0x12a9da(0x2cc)]);if(!(!_0x1294c3[_0x12a9da(0x400)][_0x12a9da(0x29e)][_0x1294c3[_0x12a9da(0x2cc)]]||_0x56f15b<0x0))return{'id':Q['id'],'params':{'unitId':_0x1294c3['unitId'],'op':_0x10aaca[_0x12a9da(0x30b)][_0x12a9da(0x356)](_0x10aaca['removeOp']([_0x12a9da(0x29e),_0x1294c3[_0x12a9da(0x2cc)]],_0x1294c3[_0x12a9da(0x400)][_0x12a9da(0x29e)][_0x1294c3['tableId']]),_0x10aaca[_0x12a9da(0x3c4)]([_0x12a9da(0x38f),_0x56f15b],_0x1294c3[_0x12a9da(0x2cc)])),'trigger':'embed-ui'}};}function Go(_0x390f5f){const _0xc32149=_0x4e7c38;return{'version':0x1,'embedId':_0x390f5f['embedId'],'hostAnchorId':_0x390f5f[_0xc32149(0x271)],'childUnitId':_0x390f5f[_0xc32149(0x336)],'childType':_0x390f5f[_0xc32149(0x4a9)]};}function Ko(_0x44ac07){const _0xd185b7=_0x4e7c38;let _0x542207=Math['max'](0x0,Number(_0x44ac07[_0xd185b7(0x350)]??0x0)),_0x2ae5be=_0x44ac07[_0xd185b7(0x4b1)]===!0x1?'0':_0xd185b7(0x25a),_0x43d65f=_0x542207?'.'+'0'[_0xd185b7(0x1b9)](_0x542207):'',_0x293fb9=Jo(_0x44ac07[_0xd185b7(0x43b)]);return''+(_0x44ac07[_0xd185b7(0x34f)]?Yo(_0x44ac07[_0xd185b7(0x34f)]):'')+_0x2ae5be+_0x43d65f+_0x293fb9;}function qo(_0x419ea0,_0x5728af){const _0x40ee86=_0x4e7c38;let _0x1f6062=Ko(_0x5728af),_0x1569bf=_0x807b25[_0x40ee86(0x455)](_0x1f6062,_0x419ea0,{'throws':!0x1});return Xo(String(_0x1569bf),_0x5728af[_0x40ee86(0x2e6)],_0x5728af[_0x40ee86(0x3e9)]);}function Jo(_0x49e872){const _0x49d448=_0x4e7c38;return _0x49e872==='K'?_0x49d448(0x3d6):_0x49e872==='M'?_0x49d448(0x519):_0x49e872==='B'?_0x49d448(0x222):'';}function Yo(_0x43ef90){const _0x119ba9=_0x4e7c38;return/^[A-Z]+$/i[_0x119ba9(0x463)](_0x43ef90)?'\x22'+_0x43ef90+'\x22':_0x43ef90;}function Xo(_0x49d0a2,_0x107e7e,_0x366b99){const _0x5bb6d7=_0x4e7c38;let _0x57d2f4=_0x107e7e===_0x5bb6d7(0x31c)?Zo(_0x366b99):_0x107e7e;return _0x57d2f4===_0x5bb6d7(0x434)?_0x49d0a2[_0x5bb6d7(0x212)](/,/g,'\x00')[_0x5bb6d7(0x212)](/\./g,',')[_0x5bb6d7(0x212)](/\0/g,'.'):_0x57d2f4==='spaceComma'?_0x49d0a2[_0x5bb6d7(0x212)](/,/g,'\x20')['replace'](/\./g,','):_0x57d2f4===_0x5bb6d7(0x3ae)?_0x49d0a2[_0x5bb6d7(0x212)](/,/g,'\x20'):_0x49d0a2;}function Zo(_0x479551){const _0xb6abe9=_0x4e7c38;var _0x19b17a,_0x45de57;let _0x455e95=_0x479551||new Intl[(_0xb6abe9(0x395))]()[_0xb6abe9(0x4e2)]()['locale'],_0x5e772f;try{_0x5e772f=new Intl[(_0xb6abe9(0x395))](_0x455e95,{'minimumFractionDigits':0x2,'maximumFractionDigits':0x2,'useGrouping':!0x0})[_0xb6abe9(0x437)](0xf4240);}catch{return _0xb6abe9(0x4d1);}let _0xb591a=(_0x19b17a=_0x5e772f['find'](_0x1c1f3d=>_0x1c1f3d['type']===_0xb6abe9(0x3b2)))==null?void 0x0:_0x19b17a['value'],_0x56cc60=(_0x45de57=_0x5e772f[_0xb6abe9(0x1c5)](_0x107b09=>_0x107b09[_0xb6abe9(0x30b)]===_0xb6abe9(0x282)))==null?void 0x0:_0x45de57[_0xb6abe9(0x4de)],_0x5c6a79=_0xb591a==='\u00a0'||_0xb591a==='\u202f'?'\x20':_0xb591a;return _0x5c6a79==='.'&&_0x56cc60===','?_0xb6abe9(0x434):_0x5c6a79==='\x20'&&_0x56cc60===','?_0xb6abe9(0x3d2):_0x5c6a79==='\x20'&&_0x56cc60==='.'?_0xb6abe9(0x3ae):_0xb6abe9(0x4d1);}function Qo(_0x437987,_0x5e3640){const _0x4cea8c=_0x4e7c38;let _0x346f06=_0x5e3640&&typeof _0x5e3640==_0x4cea8c(0x3d3)&&!Array[_0x4cea8c(0x56b)](_0x5e3640)?_0x5e3640:{},_0x5da4d2=$o(_0x346f06[_0x4cea8c(0x350)],0x0,0x2,0x0),_0x2803d1=_0x437987[_0x4cea8c(0x34d)](_0x5da4d2);return _0x346f06[_0x4cea8c(0x455)]===_0x4cea8c(0x43a)?_0x2803d1:_0x2803d1+'%';}function $o(_0x569164,_0x402777,_0x43a53f,_0x36f82d){const _0x268d1f=_0x4e7c38;if(_0x569164==null||_0x569164==='')return _0x36f82d;let _0x587fa7=typeof _0x569164==_0x268d1f(0x43a)?_0x569164:Number(_0x569164);return Number['isFinite'](_0x587fa7)?Math[_0x268d1f(0x265)](_0x402777,Math[_0x268d1f(0x218)](_0x43a53f,Math[_0x268d1f(0x544)](_0x587fa7))):_0x36f82d;}const es=[_0x4e7c38(0x3c9),'filled',_0x4e7c38(0x2e3),_0x4e7c38(0x341),'sum',_0x4e7c38(0x504),'min',_0x4e7c38(0x265)],ts=['count',_0x4e7c38(0x3af),_0x4e7c38(0x2e3),'unique'],ns=[_0x4e7c38(0x1e5),_0x4e7c38(0x504),_0x4e7c38(0x218),_0x4e7c38(0x265)],rs=[_0x4e7c38(0x218),_0x4e7c38(0x265)],is=new Set([_0x377615[_0x4e7c38(0x242)],_0x377615[_0x4e7c38(0x40e)],_0x377615[_0x4e7c38(0x3a3)],_0x377615[_0x4e7c38(0x33a)]]),as=new Set([_0x377615[_0x4e7c38(0x1eb)],_0x377615[_0x4e7c38(0x4f8)],_0x377615[_0x4e7c38(0x1c4)]]),os=_0x4e7c38(0x52c);function ss(_0x439096){const _0x3e2577=_0x4e7c38;return typeof _0x439096==_0x3e2577(0x457)&&es[_0x3e2577(0x37a)](_0x439096);}function cs(_0x462ace){const _0x23df5e=_0x4e7c38;return!_0x462ace||typeof _0x462ace!=_0x23df5e(0x3d3)?{}:Object['fromEntries'](Object['entries'](_0x462ace)['filter'](_0x3429fb=>ss(_0x3429fb[0x1])));}function ls(_0x41f711){const _0x7ae124=_0x4e7c38;return is[_0x7ae124(0x4d6)](_0x41f711[_0x7ae124(0x30b)])?[...ts,...ns]:_0x41f711[_0x7ae124(0x30b)]===_0x377615['Formula']?[...ts,...ws(_0x41f711)===_0x7ae124(0x3ee)?rs:ns]:ts;}function us(_0x3655f5,_0x4bada1){return ls(_0x3655f5)['includes'](_0x4bada1);}function ds(_0x4da4ba,_0x4d849a,_0x4b45f2){const _0x360c69=_0x4e7c38;if(!us(_0x4da4ba,_0x4b45f2))return null;let _0x1f8657=_0x4d849a[_0x360c69(0x20f)](_0x555679=>!ps(_0x4da4ba,_0x555679));switch(_0x4b45f2){case _0x360c69(0x3c9):return _0x4d849a['length'];case _0x360c69(0x3af):return _0x1f8657[_0x360c69(0x2b6)];case _0x360c69(0x2e3):return _0x4d849a[_0x360c69(0x2b6)]-_0x1f8657[_0x360c69(0x2b6)];case _0x360c69(0x341):return new Set(_0x1f8657['map'](_0x3951ea=>_s(_0x4da4ba,_0x3951ea)))['size'];case _0x360c69(0x1e5):{let _0x4a4ddc=ms(_0x4da4ba,_0x1f8657);return _0x4a4ddc[_0x360c69(0x2b6)]?gs(_0x4a4ddc):null;}case _0x360c69(0x504):{let _0x1bf8ad=ms(_0x4da4ba,_0x1f8657);return _0x1bf8ad['length']?gs(_0x1bf8ad)/_0x1bf8ad['length']:null;}case _0x360c69(0x218):{let _0x12b672=ms(_0x4da4ba,_0x1f8657);return _0x12b672[_0x360c69(0x2b6)]?Math[_0x360c69(0x218)](..._0x12b672):null;}case _0x360c69(0x265):{let _0x1ff24d=ms(_0x4da4ba,_0x1f8657);return _0x1ff24d['length']?Math[_0x360c69(0x265)](..._0x1ff24d):null;}}}function fs(_0x37b7fb,_0x352563,_0x33a663){const _0x57953a=_0x4e7c38;if(_0x33a663==null||!Number[_0x57953a(0x338)](_0x33a663))return'-';if(ts[_0x57953a(0x37a)](_0x352563))return String(_0x33a663);switch(_0x37b7fb[_0x57953a(0x30b)]){case _0x377615['Number']:return qo(_0x33a663,xs(_0x37b7fb));case _0x377615[_0x57953a(0x40e)]:return qo(_0x33a663,Ss(_0x37b7fb));case _0x377615[_0x57953a(0x3a3)]:return Qo(_0x33a663,_0x37b7fb[_0x57953a(0x554)]);case _0x377615[_0x57953a(0x26c)]:return Cs(_0x33a663,_0x37b7fb);default:return Es(_0x33a663);}}function ps(_0x2cf591,_0x347998){const _0x4531f9=_0x4e7c38;if(_0x347998==null)return!0x0;if(typeof _0x347998==_0x4531f9(0x457))return _0x347998[_0x4531f9(0x42c)]()==='';if(Array['isArray'](_0x347998))return _0x2cf591[_0x4531f9(0x30b)]===_0x377615[_0x4531f9(0x389)]?!_0x347998[_0x4531f9(0x48e)](bs):_0x347998['length']===0x0;if(_0x2cf591[_0x4531f9(0x30b)]===_0x377615[_0x4531f9(0x1c3)]&&typeof _0x347998==_0x4531f9(0x3d3)){let _0x2c171a=_0x347998;return[_0x2c171a[_0x4531f9(0x2bb)],_0x2c171a[_0x4531f9(0x2d3)]]['every'](_0x59ce21=>_0x59ce21==null||String(_0x59ce21)[_0x4531f9(0x42c)]()==='');}return!0x1;}function ms(_0x2f8dbe,_0x45fa5b){let _0x275e0c=[];for(let _0x3ee1a8 of _0x45fa5b){let _0x11f947=hs(_0x2f8dbe,_0x3ee1a8);_0x11f947!=null&&_0x275e0c['push'](_0x11f947);}return _0x275e0c;}function hs(_0x5bf6b,_0x40fb66){const _0x4403b7=_0x4e7c38;if(typeof _0x40fb66==_0x4403b7(0x43a))return Number[_0x4403b7(0x338)](_0x40fb66)?_0x40fb66:null;if(_0x5bf6b['type']!==_0x377615['Formula']&&typeof _0x40fb66=='string'&&_0x40fb66[_0x4403b7(0x42c)]()!==''){let _0x46db1a=Number(_0x40fb66);return Number[_0x4403b7(0x338)](_0x46db1a)?_0x46db1a:null;}return null;}function gs(_0xe50822){const _0x449c06=_0x4e7c38;let _0x5951e9=0x0,_0x2f0bab=0x0;for(let _0x45bc5d of _0xe50822){let _0x22d770=_0x5951e9+_0x45bc5d;_0x2f0bab+=Math['abs'](_0x5951e9)>=Math[_0x449c06(0x402)](_0x45bc5d)?_0x5951e9-_0x22d770+_0x45bc5d:_0x45bc5d-_0x22d770+_0x5951e9,_0x5951e9=_0x22d770;}return _0x5951e9+_0x2f0bab;}function _s(_0x293190,_0x36a53b){const _0x5395eb=_0x4e7c38;return as['has'](_0x293190[_0x5395eb(0x30b)])&&Array[_0x5395eb(0x56b)](_0x36a53b)?ys([...new Set(_0x36a53b[_0x5395eb(0x3e8)](_0xcc92f6=>ys(vs(_0xcc92f6))))][_0x5395eb(0x266)]()):ys(vs(_0x36a53b));}function vs(_0x406bbe){const _0x5390b8=_0x4e7c38;return Array[_0x5390b8(0x56b)](_0x406bbe)?_0x406bbe['map'](vs):_0x406bbe&&typeof _0x406bbe==_0x5390b8(0x3d3)?Object['fromEntries'](Object[_0x5390b8(0x502)](_0x406bbe)[_0x5390b8(0x266)](([_0x16301d],[_0x20983c])=>_0x16301d['localeCompare'](_0x20983c))['map'](([_0xedd6bd,_0xb7b041])=>[_0xedd6bd,vs(_0xb7b041)])):_0x406bbe;}function ys(_0x3b1588){const _0x1c745f=_0x4e7c38;return JSON[_0x1c745f(0x2af)](_0x3b1588)??_0x1c745f(0x526);}function bs(_0x2bee53){const _0x3e4b20=_0x4e7c38;if(typeof _0x2bee53==_0x3e4b20(0x457))return _0x2bee53['trim']()!=='';if(!_0x2bee53||typeof _0x2bee53!=_0x3e4b20(0x3d3))return!0x1;let _0x1d4ef8=_0x2bee53;return[_0x1d4ef8['id'],_0x1d4ef8[_0x3e4b20(0x39a)],_0x1d4ef8['source'],_0x1d4ef8['url'],_0x1d4ef8[_0x3e4b20(0x448)]][_0x3e4b20(0x48e)](_0x8e7889=>_0x8e7889!=null&&String(_0x8e7889)[_0x3e4b20(0x42c)]()!=='');}function xs(_0x1cc1cd){const _0x4ae7c7=_0x4e7c38;let _0x4f762f=Ds(_0x1cc1cd[_0x4ae7c7(0x554)]);return{'decimalPlaces':ks(_0x4f762f['decimalPlaces'],0x0,0x14,0x2),'separatorStyle':typeof _0x4f762f[_0x4ae7c7(0x2e6)]==_0x4ae7c7(0x457)?_0x4f762f[_0x4ae7c7(0x2e6)]:_0x4ae7c7(0x31c),'locale':typeof _0x4f762f[_0x4ae7c7(0x3e9)]=='string'?_0x4f762f['locale']:void 0x0,'useThousands':_0x4f762f[_0x4ae7c7(0x4b1)]!==!0x1,'abbreviation':typeof _0x4f762f['abbreviation']=='string'?_0x4f762f[_0x4ae7c7(0x43b)]:_0x4ae7c7(0x4e8)};}function Ss(_0x259723){const _0x3ea1f6=_0x4e7c38;let _0x116608=Ds(_0x259723[_0x3ea1f6(0x554)]);return{...xs(_0x259723),'currencySymbol':String(_0x116608[_0x3ea1f6(0x34f)]??'$')};}function Cs(_0x4de655,_0x6a599f){const _0x26cde0=_0x4e7c38;let _0x4ad093=Ts(_0x6a599f);if(_0x4ad093===os)return Es(_0x4de655);try{return String(_0x807b25[_0x26cde0(0x455)](_0x4ad093,_0x4de655,{'throws':!0x1}));}catch{return Es(_0x4de655);}}function ws(_0x3e8181){const _0x20f845=_0x4e7c38;let _0x13e8ea=Ds(Ds(_0x3e8181[_0x20f845(0x554)])['numfmt']);return typeof _0x13e8ea['type']==_0x20f845(0x457)?_0x13e8ea[_0x20f845(0x30b)]:_0x20f845(0x573);}function Ts(_0x2a92b6){const _0x563bc7=_0x4e7c38;let _0x1e3478=Ds(Ds(_0x2a92b6[_0x563bc7(0x554)])[_0x563bc7(0x1e1)]);return String(_0x1e3478[_0x563bc7(0x4ed)]??os)[_0x563bc7(0x42c)]()||os;}function Es(_0x32b683){const _0x4b988d=_0x4e7c38;return String(Number[_0x4b988d(0x314)](_0x32b683)?_0x32b683:Math[_0x4b988d(0x544)]((_0x32b683+0x2**-0x34)*0x64)/0x64);}function Ds(_0x48c0e2){const _0x38a365=_0x4e7c38;return _0x48c0e2&&typeof _0x48c0e2==_0x38a365(0x3d3)&&!Array[_0x38a365(0x56b)](_0x48c0e2)?_0x48c0e2:{};}function Os(_0x4aac3f){const _0x25789a=_0x4e7c38;if(_0x4aac3f==null||_0x4aac3f==='')return null;let _0x34b292=typeof _0x4aac3f==_0x25789a(0x43a)?_0x4aac3f:Number(_0x4aac3f);return Number['isFinite'](_0x34b292)?_0x34b292:null;}function ks(_0x75959d,_0x429a54,_0x59dec3,_0x2c651a){const _0x39bc66=_0x4e7c38;let _0x5d139e=Os(_0x75959d);return _0x5d139e==null?_0x2c651a:Math[_0x39bc66(0x265)](_0x429a54,Math['min'](_0x59dec3,Math[_0x39bc66(0x544)](_0x5d139e)));}function As(_0x1d172c,_0x455ccf){const _0x148e5d=_0x4e7c38;let _0x180a95=_0x42dbe9['deepClone'](_0x1d172c),_0x4fc93c=_0x455ccf['includeRecords']===!0x0,_0x2e903a=new Map(),_0x5f02e6=_0x455ccf['createViewId']??(()=>_0x148e5d(0x351)+_0x53e5f1(0x8)),_0xb270fe=_0x180a95[_0x148e5d(0x43e)];return _0x455ccf[_0x148e5d(0x415)]&&(_0xb270fe=_0x180a95[_0x148e5d(0x43e)][_0x148e5d(0x3e8)](_0x5915db=>{const _0x2b626c=_0x148e5d;let _0x326445=_0x5f02e6();return _0x2e903a[_0x2b626c(0x205)](_0x5915db,_0x326445),_0x326445;})),{..._0x180a95,'id':_0x455ccf['id'],'name':_0x455ccf[_0x148e5d(0x39a)],'records':_0x4fc93c?_0x180a95['records']:{},'recordOrder':_0x4fc93c?_0x180a95['recordOrder']:[],'rowIndex':_0x4fc93c?_0x180a95[_0x148e5d(0x2cd)]:{},'rowId':_0x4fc93c?_0x180a95[_0x148e5d(0x565)]:{},'cellData':_0x4fc93c?_0x180a95[_0x148e5d(0x2b7)]:{},'resources':_0x4fc93c?_0x180a95[_0x148e5d(0x358)]:{},'viewOrder':_0xb270fe,'views':Object[_0x148e5d(0x2c2)](Object['entries'](_0x180a95[_0x148e5d(0x460)]??{})[_0x148e5d(0x3e8)](([_0x21b28a,_0x9c6cf3])=>{const _0x59d504=_0x148e5d;let _0x5cbf0d=_0x2e903a[_0x59d504(0x4d5)](_0x21b28a)??(_0x455ccf[_0x59d504(0x415)]?_0x5f02e6():_0x21b28a);return[_0x5cbf0d,{..._0x9c6cf3,'id':_0x5cbf0d,'tableId':_0x455ccf['id']}];}))};}var js='@univerjs-pro/bases',Ms=_0x4e7c38(0x50d);const Ns={},Ps={};function Fs(_0x54adaa){const _0x108e70=_0x4e7c38;return new z()[_0x108e70(0x4c7)](_0x54adaa);}function Is(_0x41c46b){const _0x144a43=_0x4e7c38;return _0x41c46b[_0x144a43(0x3a6)][_0x144a43(0x3e8)](_0x5a6e11=>({'unitId':_0x41c46b[_0x144a43(0x423)],'sheetId':_0x41c46b['tableId'],'range':{'startRow':_0x5a6e11['row'],'endRow':_0x5a6e11['row'],'startColumn':_0x5a6e11[_0x144a43(0x444)],'endColumn':_0x5a6e11[_0x144a43(0x444)]}}));}function Ls(_0x5a6064,_0x540496){const _0x15e1eb=_0x4e7c38;return{[_0x5a6064]:Object['fromEntries'](_0x540496[_0x15e1eb(0x3e8)](_0x4259c6=>[_0x4259c6,'1']))};}let Rs=class extends _0x3aec08{constructor(_0x82a2bf,_0xb6a346){const _0x591447=_0x4e7c38;super(),this['_activeDirtyManagerService']=_0x82a2bf,this[_0x591447(0x3b8)]=_0xb6a346,this[_0x591447(0x3a1)]();}[_0x4e7c38(0x3a1)](){const _0x26e351=_0x4e7c38;this[_0x26e351(0x3a2)]['register'](Q['id'],{'commandId':Q['id'],'getDirtyData':_0x86dc0=>this[_0x26e351(0x3f8)](_0x86dc0[_0x26e351(0x3eb)])}),this[_0x26e351(0x533)](_0x3e2bb5(()=>{const _0x3889b3=_0x26e351;this[_0x3889b3(0x3a2)][_0x3889b3(0x4ae)](Q['id']);}));}[_0x4e7c38(0x23c)](_0xd34286,_0x45a18b){const _0x452632=_0x4e7c38;let _0x584735=this[_0x452632(0x3b8)]['getUnit'](_0xd34286,_0x2eb623[_0x452632(0x583)]);return(_0x584735==null?void 0x0:_0x584735[_0x452632(0x2a7)]()[_0x452632(0x29e)][_0x45a18b])??null;}[_0x4e7c38(0x3f8)](_0x1b70e2){const _0x42edef=_0x4e7c38;if(_0x1b70e2['trigger']===_0x42edef(0x3fc))return{};if(!_0x1b70e2['unitId']||!_0x1b70e2['op'])return{'clearDependencyTreeCache':this[_0x42edef(0x308)](),'forceCalculation':!0x0};let _0x419dc1=Fs(_0x1b70e2['op']),_0x3c88b5=this[_0x42edef(0x38e)](_0x1b70e2[_0x42edef(0x423)],_0x419dc1);if(_0x3c88b5[_0x42edef(0x2b6)])return{'clearDependencyTreeCache':Ls(_0x1b70e2['unitId'],_0x3c88b5),'forceCalculation':!0x0};let _0x2d1a52=Object['entries'](this[_0x42edef(0x23e)](_0x1b70e2[_0x42edef(0x423)],_0x419dc1))[_0x42edef(0x470)](([_0x19010a,_0xaaeeef])=>Is({'unitId':_0x1b70e2['unitId'],'tableId':_0x19010a,'patches':_0xaaeeef}));return _0x2d1a52[_0x42edef(0x2b6)]?{'dirtyRanges':_0x2d1a52}:{};}['_getStructureDirtyTableIds'](_0x5261d2,_0x3dc10d){const _0x321f78=_0x4e7c38;let _0x483d4d=_0x3dc10d['filter'](_0xbe4348=>_0xbe4348[_0x321f78(0x3be)]!==_0x321f78(0x2c9))[_0x321f78(0x470)](_0xdfb9a5=>_0xdfb9a5[_0x321f78(0x2cc)]?[_0xdfb9a5['tableId']]:this['_getAllTableIds'](_0x5261d2));return Array[_0x321f78(0x501)](new Set(_0x483d4d));}['_groupCellInvalidations'](_0x187605,_0x28919d){const _0x245ff4=_0x4e7c38;let _0x7cb816=new Set();return _0x28919d[_0x245ff4(0x54c)]((_0x1d57ae,_0x1387b0)=>{const _0x2fe6c5=_0x245ff4;let _0x12b62f=this[_0x2fe6c5(0x506)](_0x187605,_0x1387b0);if(!_0x12b62f)return _0x1d57ae;let _0x3114af=_0x1387b0[_0x2fe6c5(0x2cc)]+':'+_0x12b62f[_0x2fe6c5(0x505)]+':'+_0x12b62f[_0x2fe6c5(0x444)];return _0x7cb816[_0x2fe6c5(0x4d6)](_0x3114af)?_0x1d57ae:(_0x7cb816['add'](_0x3114af),_0x1d57ae[_0x1387b0[_0x2fe6c5(0x2cc)]]=_0x1d57ae[_0x1387b0[_0x2fe6c5(0x2cc)]]??[],_0x1d57ae[_0x1387b0[_0x2fe6c5(0x2cc)]]['push'](_0x12b62f),_0x1d57ae);},{});}['_toDirtyRangePatch'](_0x195c50,_0x48bbad){const _0x1b6e2b=_0x4e7c38;if(_0x48bbad[_0x1b6e2b(0x3be)]!==_0x1b6e2b(0x2c9))return null;if(_0x48bbad[_0x1b6e2b(0x505)]!=null&&_0x48bbad[_0x1b6e2b(0x50c)]!=null)return{'row':_0x48bbad[_0x1b6e2b(0x505)],'col':_0x48bbad[_0x1b6e2b(0x50c)],'value':null};if(!_0x48bbad[_0x1b6e2b(0x394)]||!_0x48bbad[_0x1b6e2b(0x446)])return null;let _0x464630=this['_getTable'](_0x195c50,_0x48bbad[_0x1b6e2b(0x2cc)]);if(!_0x464630)return null;let _0x5ad433=_t(_0x464630,_0x48bbad[_0x1b6e2b(0x394)],_0x48bbad[_0x1b6e2b(0x446)]);return _0x5ad433?{'row':_0x5ad433[_0x1b6e2b(0x505)],'col':_0x5ad433[_0x1b6e2b(0x444)],'value':null}:null;}['_getAllTableIds'](_0x495cf0){const _0x2ca108=_0x4e7c38;let _0x23ae2f=this[_0x2ca108(0x3b8)][_0x2ca108(0x34e)](_0x495cf0,_0x2eb623[_0x2ca108(0x583)]);return Object[_0x2ca108(0x4c0)]((_0x23ae2f==null?void 0x0:_0x23ae2f[_0x2ca108(0x2a7)]()[_0x2ca108(0x29e)])??{})[_0x2ca108(0x3e8)](_0x406f8b=>_0x406f8b['id']);}[_0x4e7c38(0x308)](){const _0x5bcf87=_0x4e7c38;let _0x7a7954=this[_0x5bcf87(0x3b8)][_0x5bcf87(0x281)](_0x2eb623[_0x5bcf87(0x583)])[_0x5bcf87(0x3e8)](_0x14c05c=>Ls(_0x14c05c[_0x5bcf87(0x49c)](),Object['keys'](_0x14c05c[_0x5bcf87(0x2a7)]()['tables'])));return Object[_0x5bcf87(0x294)]({},..._0x7a7954);}};Rs=X([Y(0x0,_0x41320a),Y(0x1,_0x26755d)],Rs);let zs=class extends _0x3aec08{constructor(_0x4956ea,_0x492ca1,_0x40c00d,_0x141e80){const _0x2768ef=_0x4e7c38;super(),this['_commandService']=_0x4956ea,this[_0x2768ef(0x3b8)]=_0x492ca1,this[_0x2768ef(0x3cb)]=_0x40c00d,this[_0x2768ef(0x36d)]=_0x141e80,G(this,_0x2768ef(0x385),new Xi()),G(this,_0x2768ef(0x57e),new Map()),G(this,'_scheduledSuperTableSyncs',new Set()),G(this,_0x2768ef(0x581),Promise[_0x2768ef(0x514)]()),G(this,_0x2768ef(0x32d),!0x1),this[_0x2768ef(0x3a1)]();}[_0x4e7c38(0x3a1)](){const _0x4228e7=_0x4e7c38;this[_0x4228e7(0x3b8)][_0x4228e7(0x281)](_0x2eb623['UNIVER_BASE'])[_0x4228e7(0x397)](_0x14c5fa=>{const _0x13994b=_0x4228e7;this[_0x13994b(0x284)](_0x14c5fa);}),this[_0x4228e7(0x533)](this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x2eb623[_0x4228e7(0x583)])['subscribe'](({unit:_0x4d1e30})=>{const _0x123271=_0x4228e7;this[_0x123271(0x284)](_0x4d1e30);})),this[_0x4228e7(0x533)](this['_univerInstanceService'][_0x4228e7(0x1f8)](_0x2eb623[_0x4228e7(0x583)])[_0x4228e7(0x4ce)](_0x4ad126=>{const _0x559551=_0x4228e7;this['_enqueueFormulaSync'](()=>this[_0x559551(0x292)](_0x4ad126['getUnitId']()));})),this[_0x4228e7(0x533)](this[_0x4228e7(0x320)][_0x4228e7(0x257)](_0xb862bd=>this[_0x4228e7(0x2a2)](_0xb862bd)));}[_0x4e7c38(0x2a2)](_0xec8554){const _0x5cf573=_0x4e7c38;if(_0xec8554['id']===_0x792ef3['id']){Vs(_0xec8554['params'])&&this[_0x5cf573(0x1c1)](_0xec8554['params']);return;}if(this[_0x5cf573(0x32d)]||_0xec8554['id']!==Q['id'])return;let _0x44c964=Bs(_0xec8554[_0x5cf573(0x3eb)])?_0xec8554[_0x5cf573(0x3eb)]:void 0x0,_0x2d1574=_0x44c964!=null&&_0x44c964['unitId']?[this['_univerInstanceService'][_0x5cf573(0x34e)](_0x44c964[_0x5cf573(0x423)],_0x2eb623[_0x5cf573(0x583)])]['filter'](_0x1d4251=>!!_0x1d4251):this[_0x5cf573(0x3b8)][_0x5cf573(0x281)](_0x2eb623[_0x5cf573(0x583)]),_0x4b2262=_0x44c964==null?void 0x0:_0x44c964['op'];_0x2d1574[_0x5cf573(0x397)](_0x1441b2=>{const _0x5a101a=_0x5cf573;let _0x1ffbe9=_0x4b2262?Fs(_0x4b2262):[];(!_0x4b2262||_0x1ffbe9[_0x5a101a(0x48e)](_0x34acd8=>_0x34acd8[_0x5a101a(0x3be)]!==_0x5a101a(0x2c9)))&&this[_0x5a101a(0x284)](_0x1441b2);});}[_0x4e7c38(0x284)](_0x46779a){const _0x409243=_0x4e7c38;let _0x3d2345=_0x46779a[_0x409243(0x49c)]();this['_scheduledSuperTableSyncs'][_0x409243(0x4d6)](_0x3d2345)||(this[_0x409243(0x35c)][_0x409243(0x290)](_0x3d2345),this[_0x409243(0x225)](async()=>{const _0x32ae46=_0x409243;this[_0x32ae46(0x35c)]['delete'](_0x3d2345),await this['_syncSuperTables'](_0x46779a);}));}async[_0x4e7c38(0x54f)](_0x560bb9){const _0x191749=_0x4e7c38;let _0x40ac7b=_0x560bb9['getUnitId'](),_0x501ea2=this[_0x191749(0x385)][_0x191749(0x1e0)](_0x560bb9[_0x191749(0x2a7)]()),_0x23f24d=new Set(_0x501ea2['map'](({tableName:_0x4928d5})=>_0x4928d5)),_0x5bae73=this[_0x191749(0x57e)]['get'](_0x40ac7b)??new Set();for(let _0x5e8b6f of _0x5bae73)if(!_0x23f24d[_0x191749(0x4d6)](_0x5e8b6f)&&!await this[_0x191749(0x52a)](_0x45b52e['id'],{'unitId':_0x40ac7b,'tableName':_0x5e8b6f}))return;for(let {tableName:_0x578435,reference:_0x4de403}of _0x501ea2)if(!await this[_0x191749(0x52a)](_0xffecb3['id'],{'unitId':_0x40ac7b,'tableName':_0x578435,'reference':_0x4de403}))return;this[_0x191749(0x57e)][_0x191749(0x205)](_0x40ac7b,_0x23f24d);}async[_0x4e7c38(0x292)](_0x207781){const _0x5b4f74=_0x4e7c38;let _0x9f1ca8=this[_0x5b4f74(0x57e)][_0x5b4f74(0x4d5)](_0x207781)??new Set();for(let _0x5d853f of _0x9f1ca8)if(!await this['_executeSuperTableMutationWhileActive'](_0x45b52e['id'],{'unitId':_0x207781,'tableName':_0x5d853f}))return;this[_0x5b4f74(0x57e)][_0x5b4f74(0x57a)](_0x207781);}async[_0x4e7c38(0x52a)](_0x594f0f,_0x396470){const _0x94d4fd=_0x4e7c38;return!this[_0x94d4fd(0x247)]&&await this[_0x94d4fd(0x320)][_0x94d4fd(0x3c3)](_0x594f0f,_0x396470,{'onlyLocal':!0x0})&&!this['_disposed'];}['_enqueueFormulaSync'](_0x298f88){const _0x2faf02=_0x4e7c38;this[_0x2faf02(0x581)]=this[_0x2faf02(0x581)][_0x2faf02(0x4b4)](_0x298f88,_0x298f88)['catch'](()=>void 0x0);}[_0x4e7c38(0x1c1)](_0x395fa9){const _0x158127=_0x4e7c38;let _0x5dbba5=this['_univerInstanceService']['getAllUnitsForType'](_0x2eb623[_0x158127(0x583)]);if(!_0x5dbba5[_0x158127(0x48e)](_0x19c877=>{const _0x584c05=_0x158127;var _0x58d6f6;return((_0x58d6f6=_0x395fa9[_0x584c05(0x3fd)])==null?void 0x0:_0x58d6f6[_0x19c877[_0x584c05(0x49c)]()])!=null;}))return;let _0x232958=_0x5dbba5[_0x158127(0x470)](_0x4a0c92=>Zi(_0x4a0c92[_0x158127(0x2a7)](),_0x395fa9));if(!_0x232958[_0x158127(0x2b6)]){this[_0x158127(0x36d)][_0x158127(0x440)](_0x239f3c[_0x158127(0x27a)],_0x395fa9);return;}let _0x1912e8=new W(),_0x19d5fd=_0x232958[_0x158127(0x470)](_0x47afbb=>Is({'unitId':_0x47afbb[_0x158127(0x423)],'tableId':_0x47afbb['tableId'],'patches':_0x47afbb['patches']}));this[_0x158127(0x32d)]=!0x0,(async()=>{const _0x514459=_0x158127;for(let _0x1d6e09 of _0x232958){let _0x561f43=this['_univerInstanceService'][_0x514459(0x34e)](_0x1d6e09[_0x514459(0x423)],_0x2eb623[_0x514459(0x583)]);_0x561f43&&await this[_0x514459(0x320)][_0x514459(0x3c3)](Q['id'],{'unitId':_0x1d6e09[_0x514459(0x423)],'op':_0x1912e8[_0x514459(0x4e5)](_0x561f43['getSnapshot'](),_0x1d6e09[_0x514459(0x2cc)],_0x1d6e09[_0x514459(0x3a6)]),'trigger':_0x792ef3['id']},{'onlyLocal':!0x0});}await this[_0x514459(0x320)]['executeCommand'](_0x42598a['id'],{'dirtyRanges':_0x19d5fd},{'onlyLocal':!0x0});})()[_0x158127(0x4f7)](()=>{const _0x4f3110=_0x158127;this[_0x4f3110(0x32d)]=!0x1,this['_formulaCalculationSessionService'][_0x4f3110(0x440)](_0x239f3c[_0x4f3110(0x27a)],_0x395fa9);});}};zs=X([Y(0x0,_0x5342d9),Y(0x1,_0x26755d),Y(0x2,_0x4562a7(_0x311f7f)),Y(0x3,_0x4562a7(_0x16c3a6))],zs);function Bs(_0x113de3){const _0x330974=_0x4e7c38;return typeof _0x113de3==_0x330974(0x3d3)&&!!_0x113de3&&'unitId'in _0x113de3&&typeof _0x113de3[_0x330974(0x423)]==_0x330974(0x457)&&'op'in _0x113de3&&Array[_0x330974(0x56b)](_0x113de3['op']);}function Vs(_0x490769){const _0x113273=_0x4e7c38;return typeof _0x490769==_0x113273(0x3d3)&&!!_0x490769&&_0x113273(0x3fd)in _0x490769&&_0x113273(0x3de)in _0x490769;}function _0x7f2c(){const _0x24a704=['fromChangeset','A\x20table\x20name\x20cannot\x20start\x20or\x20end\x20with\x20an\x20apostrophe.','option-','includeTime','h24','isNot','description','getItem','facade','editCell','\x22\x20does\x20not\x20exist.','childType','getCurrentUser','relationRole','getTypePlugin','check','remove','updatedBy','[BaseFormula]:\x20table\x20\x22','useThousands','\x22.\x20Allowed\x20operators:\x20','_viewRowsCacheKey','then','BaseProjection.filterAndSortRows','getAll','base.command.set-base-table-hierarchy-field','_registerUnitPermissionPoints','duplicateRecord','diffValue','invalidGanttStartField','symbol','tomorrow','Grid\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','_projectedGroupsCache','values','base.command.move-base-view','createRecord','_resolveGalleryCardFieldIds','_createNumberingFieldValuePatches','RecordId','operator','getAffectedRanges','unitWidth','setViewFieldOrder','afterViewId','_projectFields','True','frozenFieldCount','subscribe','base.command.update-base-kanban-config','_cellInvalidationsTouchFields','commaPeriod','base.viewType.gantt','isEmpty','base.viewType.gallery','get','has','mode','_cellInvalidations','_tableBaseIds','_createNumberingAllocators','2907036LsGktP','fieldOrder','setViewFieldWidth','value','next30','embedId','weekdays','resolvedOptions','CreateView','_buildCalendar','setRangeValues','\x20must\x20have\x20a\x20valid\x20CSS\x20color.','[BaseCompression]:\x20invalid\x20uncompressed\x20range\x20values\x20payload.','none','bases.remote.config','getUTCDay','Comment','UpdatedAt','pattern','_groupsCacheKey','getCurrentUserId','createdBy','base.command.create-base-field','repairViewConfig','_normalizeCalendarDisplayColor','base.command.duplicate-base-record','rule','LESS_THAN','finally','Person','selfParent','collaborators','_resolveKanbanGroupFieldId','BaseProjection.projectTableRows','createField','version','yyyy/mm/dd','coverFieldId','from','entries','ruleId','average','row','_toDirtyRangePatch','_initCommands','Failed\x20to\x20create\x20update\x20cell\x20operation:','error','base.command.set-base-view-group','colIndex','column','1.0.0','join','defineProperty','base.command.set-base-view-field-visible','base-range-values-v1','colId','_ganttBarColor','resolve','setRules','pickerFieldIds','exact','optionSource',',,\x22M\x22','canEditField','record','usableAsCardCover','_check','base.command.update-base-field','progressFieldId','BaseJson1.normalizeTables','createBase','[BaseCommandService]:\x20cannot\x20create\x20record.','_resolveCardTitleFieldId','onlyLocal','contains','undefined','[BaseCommandService]:\x20cannot\x20create\x20table.','Base\x20object\x20permissions\x20only\x20support\x20Edit:\x20','Cycle','_executeSuperTableMutationWhileActive','canEditTable','General','recordOrder','_findKanbanGroupField','#BBF7D0','\x20cannot\x20use\x20operator\x20\x22','fields','rules','disposeWithMe','path','BaseJson1.json1Apply','createRecords','Uncategorized','cardSize','_kanbanLaneTitle','_projectHierarchyGroups','MMM\x20D,\x20YYYY','[BaseCommandService]:\x20cannot\x20delete\x20field.','replaceOp','sortedView','compress','createDefaultConfig','\x20can\x20use\x20dateMode\x20only\x20with\x20Date,\x20CreatedAt,\x20or\x20UpdatedAt\x20fields.','base.command.set-base-view-sort','columnSettings','round','rowIndexById','forValue','base.resource.service','quarter','_globalRevision','[BaseCommandService]:\x20cannot\x20create\x20field.','_deleteRecordsBaseOp','reduce','majorHeaders','base.command.service','_syncSuperTables','BASE_OBJECT_PERMISSION_PLUGIN','_configService','getInstance','[UpdateBaseViewConditionalColorRulesCommand]:\x20rules\x20must\x20be\x20an\x20array.','config','renameFormulaUnitReferences','normal','blue','base.mutation.set-permission-rule','past30','userID','label','usableAsCalendarDate','default','Date','_projectGroups','deepClone','result','createView','scale','month','rowId','base.field-registry.service','descend','fieldSettings','large','_buildGallery','isArray','FORCE_STRING','endsWith','_instanceService','projection','info','Grid','attachmentSets','general','invalid','[BaseCommandService]:\x20invalid\x20RecordLink\x20value.','medium','deleteRecord','_sortRows','getFullYear','delete','canDeleteTable','_withModifiedSystemValues','base.command.ensure-base-temporal-view-date-fields','_registeredSuperTableNames','_normalizeCellValue','kind','_formulaSyncQueue','localeCompare','UNIVER_BASE','_resolveCalendarDateFieldId','_buildGantt','_cellRevisions','Calendar\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','_resolveKanbanCoverFieldId','repeat','setRecordValues','Date1900','validate','Doing','createUpdateCellOp','base.viewType.grid','measure','_applyFormulaResult','createTable','Link','Group','find','percent','fieldIds','exec','en-US','_getCachedProjection','score','7448049wupgne','CreatedBy','createSuperTableReference','import','[BaseJson1OpFactory]:\x20cannot\x20write\x20record-id.','base.viewType.calendar','_materializeFormulaTableNames','[DeleteBaseTableCommand]:\x20table\x20\x22','UTC','Delete','_canUseFastSort','editable','depth','tableName','mark','afterFieldId','year','[BasePerf]\x20','Base','order','getSuperTableRegistrations','numfmt','Checkbox','lastIndexOf','childrenByParentId','sum','getPermissionPoint','direction','titleFieldId','toLowerCase','\x20permission\x20denied.','MultiSelect','setBaseName','INIT','workingDaysOnly','4227410vAaHhy','Empty','_rowTransformCacheSegment','action','_fieldPermissions','owner','\x20has\x20unsupported\x20operator\x20\x22','every','canManageView','getTypeOfUnitDisposed$','[BaseCommandService]:\x20cannot\x20delete\x20a\x20RecordLink\x20target\x20table\x20(','_deleteAttachmentResources','_kanbanGroupKeys','[BaseField]:\x20invalid\x20person\x20value.',':start','[BaseCommandService]:\x20cannot\x20edit\x20record-id.','base.command.batch-create-base-records','getMonth','subtreeHeightByRecordId','base.command.move-base-field','#,##0.00','renameTable','set','_setCachedProjection','Unsupported\x20Base\x20permission\x20action:\x20','invalidateByOp','[BaseField]:\x20negative\x20numbers\x20are\x20disabled.','getBase','function','indexOf','_factory','allowNegative','filter','subtreeEndIndex','source','replace','base.command.set-base-view-filter','_buildKanban','delete-view','base.mutation.apply-base-json1','base.mutation.','min','dependencyFieldId','fieldName','_getKanbanConfiguredLanes','cardLayout','Set','changed','_fieldRegistry','parse','selectField',',,,\x22B\x22','write','_tablePermissions','_enqueueFormulaSync','Gallery','base.command.delete-base-field','canEditCell','_getTableRevision','manual','base.command.create-base-record','toPrimitive','_normalizeGalleryConfig','33iiizyi','working','index','size','Table','Name','setRule','_getViewRevision','\x22\x20does\x20not\x20exist.\x20Use\x20FBaseTable.getFormulaName()\x20or\x20getSchema().formulaName\x20for\x20structured\x20references.','redo','161200oTmEOp','_injector','[BaseFormula]:\x20table\x20does\x20not\x20exist.','Base\x20','_getTable','RecordLink','_groupCellInvalidations','rootRecordIds','thread-comment.command.','_tableRevisions','Number','_projectRows','__tempBatchingUndoRedo','Ids','options','_disposed','fromPlainText','all','YYYY-MM-DD','clearBasePermission','orderKey','_setObjectEdit','_isAllowedKanbanGroupField','createDeleteRecordsUndoOp','duplicate','dispose','Email','\x20must\x20have\x20a\x20non-empty\x20id.','_isGanttDateField','_viewPermissions','NUMBER','onCommandExecuted','today','descendPath','#,##0','[BaseField]:\x20invalid\x20date\x20value.','https://','table/','h12','_canEdit','pushUndoRedo','base.view-registry.service','viewIndexes','COLUMN','_syncBaseUnit','max','sort','policy','invalidGanttEndField','splice','_isKanbanGroupField','_resolveKanbanCardFieldIds','Formula','system','YYYY/MM/DD','invalidDateField','clearViewPermission','hostAnchorId','oldParentRecordId','CONTAINS','recordCount','_applier','setViewFilter','invalidateByView','307294RUfvsl','attachment-','BASE','_getSystemFieldValue','invalidateByCell','\x20must\x20be\x20an\x20object.','register','invertOp','-record-','getAllUnitsForType','decimal','off','_scheduleSuperTableSync','clearUnit','orderedRecordIds','tableRevision','__base_hierarchy_parent__','getStructuredDependencies','createCreateRecordOp','baseRows','clearTablePermission','bases.fieldConfig.textPlaceholder','Remote','_projectedViewRowsCache','add','_basePermissions','_removeSuperTables','[BaseField]:\x20invalid\x20progress\x20value.','assign','showTodayLine','_normalizeGanttConfig','#3b82f6','_plugins','displayColor','displayFieldId','BaseField','_T_','Export','tables','valid','_clearObjectEdit','getUTCMonth','_onCommandExecuted','syncUnit','title','at\x20index\x20','create-view','getSnapshot','defaultValue','IS_NOT','view','nodes','BaseCommand.createBatchCreateRecordsOp','_getCurrentUserId','lastWeek','stringify','dashboard/','start','clear','user','[BaseField]:\x20invalid\x20checkbox\x20value.','pop','length','cellData','DD/MM/YYYY','[BaseFormula]:\x20field\x20\x22','[BaseFormula]:\x20validation\x20parameters\x20are\x20required.','text','canEditRecord','_title','_groupConfigCacheSegment','groupFieldId','Done','updateRecordOrder','fromEntries','unshift','IS_NOT_EMPTY','_findCalendarDateFieldId','save','\x22\x20with\x20field\x20type\x20\x22','conjunction','cell','setViewGroup','conditional','tableId','rowIndex','getCurrentUnitOfType','formulaName','usableAsGanttStart','records','children','url','exceptions','registerCommand','MM-DD','[BaseCompression]:\x20invalid\x20compressed\x20payload\x20\x22','thisMonth','_runtimeContext','-field-name','_resolveGanttDateFieldId','_getHierarchyIndex','clearRecordPermission','revision','registerSyncingMutations','IS_EMPTY','workingDays','createDefaultValue','empty','AFTER','small','separatorStyle','setViewFieldVisible','base.permission.service','setPoint','lessThan','invalidateByField','BOOLEAN','_setAttachmentResources','_initRegistries','_initDependencies','getUTCFullYear','_groupProjectionFieldIds','renameView','strategies','_rememberTable','[BaseCommandService]:\x20cannot\x20edit\x20cell.','1zmxURg','prototype','todo','FieldId','invalidReasonByRecordId','base.command.set-base-view-field-order','canCreateField','startDateFieldId','base.fieldType.','rows','operand','_isCalendarDateField','getOwnPropertyDescriptor','_setViewFieldSetting','long','allowMultiple','_baseSyncDisposables','_isAllDayCalendarEvent','_getAllBaseDependencyTreeCacheMap','updateField','IBaseCellData.ensureTableCellLayout','type','canCreateTable','createUnit','[BaseCommandService]:\x20record-id\x20is\x20reserved.','$1\x20','missingRecord','_patchCachedProjectedRows','_viewRevisions','lessThanOrEqual','isInteger','createRegExpFromSafeFragment','_createSystemFieldValuePatches','dateFormat','view/','Edit','SelfParent','ascend','local','href','isValid','_projectTableRows','_commandService','Start\x20date','[BaseCommandService]:\x20field\x20\x22','leftPaneWidth','MUTATION','createBatchCreateRecordsOp','search','timeslotSize','base.command.set-base-kanban-group-field','STRING','[BaseField]:\x20invalid\x20email\x20value.','getTime','recordNamePrefix','_applyingFormulaResults','now','base.command.move-base-hierarchy-record','_createNumberingAllocator','Kanban\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','hidden','custom','Base\x20edit\x20permission\x20denied.','onReady','childUnitId','getUTCDate','isFinite','readonly','Rating','[BaseField]:\x20invalid\x20multi-value\x20reference.','[RecordLink]:\x20value\x20is\x20not\x20a\x20canonical\x20record\x20id\x20list.','viewRevision','short','BaseProjection.getProjection','key','unique','Unsupported\x20Base\x20permission\x20object:\x20','registerView','updateCell','level','doing','[BaseCommandService]:\x20cannot\x20edit\x20table.','applyOp','card','viewId','BaseProjection.projectRows','Numbering','toFixed','getUnit','currencySymbol','decimalPlaces','view-','apostrophe','invalidGroupField','_dataSyncPrimaryController','[RecordLink]:\x20field\x20config\x20is\x20invalid.','compose','usableAsGanttEnd','resources','bases.config','edit','#FDE68A','_scheduledSuperTableSyncs','_viewRevisionKey','past7','HH:mm','_apply','boolean','getDependencies','[BaseHierarchy]:\x20','BASES_PLUGIN','toPlainText','focusUnit','4294200RxlzCl','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).','endDateFieldId','__all__','deleteTable','decorate','_formulaCalculationSessionService','InvalidField','changeFieldType','_cacheKey','_getCellRevision','setFieldPermission','_createRecordWithDefaults','setViewSort','depthByRecordId','searchTexts','_permissionService','\x20has\x20unsupported\x20date\x20mode\x20\x22','protocol','includes','notContains','_filterSortFieldIds','moveField','\x22\x20is\x20not\x20registered.','registerCtorForType','field','calendar','maxDepth','[BaseFormula]:\x20A1\x20references\x20and\x20ranges\x20are\x20not\x20supported\x20in\x20Base\x20formulas.','toLocaleString','_formulaService','call','changes','Checked','Attachment','week','gantt','cycle','SingleSelect','_getStructureDirtyTableIds','tableOrder','compare','_kanbanLaneColor','unknown','base.command.batch-delete-base-records','recordId','NumberFormat','hasOwnProperty','forEach','validateFormula','base-perf-','name','[BaseViewRegistryService]:\x20view\x20type\x20\x22','canCreateRecord','Add','_recordPermissions','allowDangling','true','_initialize','_activeDirtyManagerService','Progress','BaseView','base.command.delete-base-view','patches','False','dateMode','Calendar','\x22\x20must\x20be\x20a\x20same-table,\x20single-value\x20RecordLink.','canDeleteRecord','gridViewId','recordIds','spacePeriod','filled','_capabilities','[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20','group','false','setViewPermission','Copy','before','bases-exchange-client.operation.export-base-by-format','_univerInstanceService','targetTableId','data','base.command.delete-base-record','attachmentSet','members','reason','getCapabilities','UpdatedBy','deleteField','hierarchy','executeCommand','removeOp','startsWith','_recordIds','Parent','\x22\x20must\x20be\x20a\x20non-system\x20field\x20in\x20the\x20target\x20table.','count','keys','_formulaCalculationTriggerService','[BaseCommandService]:\x20cannot\x20insert\x20a\x20field\x20before\x20record-id.','\x20has\x20unsupported\x20target\x20\x22','_filterRows','_bumpTableRevision','_initDataSync','thisWeek','spaceComma','object','flat','CreatedAt',',\x22K\x22','56gJGwXG','updatedAt','UNIVER_EMBED_BASES_TABLE','#BFDBFE','[BaseField]:\x20invalid\x20number\x20value.','limit','BaseProjection.projectGroups','unitOtherData','parentFieldName','[BaseCommandService]:\x20cannot\x20move\x20a\x20field\x20before\x20record-id.','https:','push','duplicateField','updateViewConfig','codePointAt','Clear','[BaseFieldRegistryService]:\x20field\x20type\x20\x22','map','locale','[BaseHierarchy]:\x20field\x20\x22','params','_getTablesToNormalize','parentByRecordId','date','undo','Choose\x20another\x20name.','deleteView','getAllBases','createSetRecordValuesOp','ena','width','pluginName','[BaseCommandService]:\x20cannot\x20change\x20record-id\x20field\x20type.','_getJson1DirtyData','base.command.update-base-record-order','attachments','[BaseProjectionService]:\x20missing\x20view\x20\x22','formula.mutation.set-formula-calculation-result','unitData','MaxDepth','Invalid\x20object\x20permission\x20batch.','snapshot','invalidField','abs','missingField','setBasePermission','fld-','_resolveGalleryCoverFieldId','setHours','[BaseCommandService]:\x20invalid\x20cell\x20value.','beforeFieldId','groups','#14b8a6','Undo','BaseRecord','Currency','_setFormulaFieldCells','[BaseField]:\x20invalid\x20rating\x20value.','setSnapshot','[BaseField]:\x20invalid\x20phone\x20value.','multiple','DESC','regenerateViewIds','BaseDashboard','objectType','getDay','base.command.update-base-field-description','end','getTypeOfUnitAdded$','base.command.delete-base-table','Import','_assertFieldDefinition','required','base.command.update-base-view-conditional-color-rules','_getOrderedRecords','Working\x20day','unitId','base.command.change-base-field-type','after','major-','[RecordLink]:\x20target\x20record\x20\x22','MissingRecord','base.command.rename-base-view','this-row','displayText','trim','createCreateFieldOp','showFieldNames','createdAt','columns','status','[RecordLink]:\x20display\x20field\x20\x22','beforeCommandExecuted','periodComma','[BaseCommandService]:\x20cannot\x20edit\x20record.','_projectedRowsCache','formatToParts','table','BaseTable','number','abbreviation','_isColorfulKanbanGroupField','trigger','viewOrder','cellRevision','markResultApplied','addPermissionPoint','[RecordLink]:\x20target\x20table\x20does\x20not\x20exist\x20in\x20this\x20Base.','_resolveBaseId','col','Phone','fieldId','getProjection','thumbnail','_calendarEventColor','Status','parentRecordId','_projectionCache','target','formula','h:mm\x20a','canDeleteField','Gantt','base-snapshot-v1','setConfig','done','format',':end','string','_createRecordOrderOp','saveMany','_replaceOptional','_config','_normalizeCalendarConfig','insertOp','_patchProjectedRowsForCellInvalidations','manageView','views','query','_isAllDayGanttDateRange','test','[BaseCompression]:\x20unsupported\x20compressed\x20payload\x20kind\x20\x22','hourCycle','Kanban','base.command.set-permissions','[RecordLink]:\x20a\x20single\x20link\x20accepts\x20only\x20one\x20record\x20id.','timeZone','BaseHierarchyError','NOT_CONTAINS','[BaseCommandService]:\x20cannot\x20manage\x20view.','[BaseCommandService]:\x20cannot\x20edit\x20field.','Text','attachment','flatMap','colorFieldId','_materializeGroups','beforeViewId','base-perf','subType','Gantt\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','conditions','base.command.update-base-cell','slice','split','COMMAND','_normalizeGanttDisplayColor','globalRevision','Gallery\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','1575870dzBGAJ','color','GREATER_THAN','Redo','BEFORE','record/','lastIndex','BaseProjection.materializeTableRows','_fastSortRows','kanban','raw','_canEditTable','objectId','#16a34a','primaryFieldId','some','deleteRecords','syncExecuteCommand','_buildGrid','_views','moveView','iterator','primaryFieldName','emitPermissionDenied','_hierarchyIndexCache','base.command.','MissingParent','A\x20table\x20with\x20this\x20name\x20already\x20exists.','base.command.set-base-range-values','getUnitId','3MDejXt'];_0x7f2c=function(){return _0x24a704;};return _0x7f2c();}const Hs=new Set([fo['id'],po['id'],Io['id']]);let Us=class extends _0x3aec08{constructor(_0xc11035,_0x3c14b3,_0x4cc2ce,_0xce9f4){const _0xd70aae=_0x4e7c38;super(),this[_0xd70aae(0x239)]=_0xc11035,this[_0xd70aae(0x320)]=_0x3c14b3,this[_0xd70aae(0x377)]=_0x4cc2ce,this['_instanceService']=_0xce9f4,this[_0xd70aae(0x56e)][_0xd70aae(0x281)](_0x2eb623[_0xd70aae(0x583)])['forEach'](_0x782f1d=>this['_registerUnitPermissionPoints'](_0x782f1d[_0xd70aae(0x49c)]())),this['disposeWithMe'](this[_0xd70aae(0x56e)]['getTypeOfUnitAdded$'](_0x2eb623[_0xd70aae(0x583)])[_0xd70aae(0x4ce)](({unit:_0x538aee})=>this[_0xd70aae(0x4b8)](_0x538aee[_0xd70aae(0x49c)]()))),this[_0xd70aae(0x533)](this['_commandService'][_0xd70aae(0x433)]((_0x2c11f3,_0x1dbfe3)=>this[_0xd70aae(0x51d)](_0x2c11f3,_0x1dbfe3))),this[_0xd70aae(0x533)](this[_0xd70aae(0x56e)][_0xd70aae(0x1f8)](_0x2eb623[_0xd70aae(0x583)])[_0xd70aae(0x4ce)](_0x2435df=>{const _0x44b8b3=_0xd70aae;this[_0x44b8b3(0x239)][_0x44b8b3(0x4d5)](_0x3cfcfc)[_0x44b8b3(0x285)](_0x2435df[_0x44b8b3(0x49c)]()),Rr(this[_0x44b8b3(0x377)],_0x2435df[_0x44b8b3(0x49c)]());}));}[_0x4e7c38(0x4b8)](_0x3d3c27){const _0x4529bc=_0x4e7c38;Tr[_0x4529bc(0x397)](_0x34e2d5=>{const _0x26d2eb=_0x4529bc;let _0xd44c43=Pr(_0x3d3c27,_0x3d3c27,_0x34e2d5);this[_0x26d2eb(0x377)]['getPermissionPoint'](_0xd44c43['id'])||this[_0x26d2eb(0x377)][_0x26d2eb(0x441)](_0xd44c43);}),this['_injector'][_0x4529bc(0x4d5)](_0x3cfcfc)['initializeUnit']({'unitId':_0x3d3c27,'objectId':_0x3d3c27,'objectType':_0x3b454d['Base']});}[_0x4e7c38(0x51d)](_0x300e19,_0x115991){const _0x50a38b=_0x4e7c38;var _0x3458ba;if(_0x115991!=null&&_0x115991['fromCollab']||_0x115991!=null&&_0x115991[_0x50a38b(0x49e)])return;let _0x710242=tc(_0x300e19['params'])?_0x300e19[_0x50a38b(0x3eb)]:void 0x0;if(_0x115991!=null&&_0x115991[_0x50a38b(0x524)]&&_0x300e19['id']==='base.mutation.apply-base-json1'&&(_0x710242==null?void 0x0:_0x710242[_0x50a38b(0x43d)])===_0x792ef3['id'])return;let _0x5bac1e=Gs(_0x300e19['id']),_0x2103ae=Ws(_0x710242==null?void 0x0:_0x710242[_0x50a38b(0x423)],_0x115991)??(_0x5bac1e?(_0x3458ba=this[_0x50a38b(0x56e)][_0x50a38b(0x2ce)](_0x2eb623[_0x50a38b(0x583)]))==null?void 0x0:_0x3458ba[_0x50a38b(0x49c)]():void 0x0);if(!_0x2103ae||this[_0x50a38b(0x56e)]['getUnitType'](_0x2103ae)!==_0x2eb623['UNIVER_BASE'])return;if(_0x5bac1e){if(!Fr(this[_0x50a38b(0x377)],_0x2103ae,_0x2103ae,_0x5bac1e))throw this[_0x50a38b(0x239)][_0x50a38b(0x4d5)](_0x100489)[_0x50a38b(0x496)](_0x2103ae),new _0x1a12bd(_0x50a38b(0x23b)+_0x3ccddd[_0x5bac1e]+_0x50a38b(0x1ea));return;}if(Hs[_0x50a38b(0x4d6)](_0x300e19['id'])||!_0x300e19['id'][_0x50a38b(0x3c5)](_0x50a38b(0x498))&&!_0x300e19['id'][_0x50a38b(0x3c5)](_0x50a38b(0x217)))return;let _0x356feb=this[_0x50a38b(0x56e)][_0x50a38b(0x34e)](_0x2103ae,_0x2eb623[_0x50a38b(0x583)]),_0x3cac7b=_0x356feb?Ks(_0x356feb,_0x710242??{},_0x300e19['id']):[];if(!_0x356feb||!zr(this[_0x50a38b(0x377)],_0x2103ae,_0x3cac7b))throw this['_injector']['get'](_0x100489)['emitPermissionDenied'](_0x2103ae,_0x3cac7b),new _0x1a12bd(_0x50a38b(0x334));}};Us=X([Y(0x0,_0x4562a7(_0x53b1f5)),Y(0x1,_0x5342d9),Y(0x2,_0x1b4267),Y(0x3,_0x26755d)],Us);function Ws(_0x2474a8,_0x4533c9){const _0x170d61=_0x4e7c38;return typeof _0x2474a8==_0x170d61(0x457)?_0x2474a8:typeof(_0x4533c9==null?void 0x0:_0x4533c9[_0x170d61(0x423)])==_0x170d61(0x457)?_0x4533c9[_0x170d61(0x423)]:void 0x0;}function Gs(_0x46bd10){const _0x4e0879=_0x4e7c38;if(_0x46bd10==='bases-exchange-client.operation.export-base'||_0x46bd10===_0x4e0879(0x3b7))return _0x3ccddd['Export'];if(_0x46bd10['startsWith'](_0x4e0879(0x240))||_0x46bd10[_0x4e0879(0x3c5)]('thread-comment.mutation.'))return _0x3ccddd['Comment'];}function Ks(_0x168860,_0x4a9990,_0x1a2a53){const _0x2b0958=_0x4e7c38;if(_0x1a2a53===_0x2b0958(0x216)&&ec(_0x4a9990['op']))return qs(_0x168860,_0x4a9990['op']);let _0x3690f9=new Set(),_0x5b413e=Zs(_0x4a9990,'table'),_0x59d892=typeof _0x4a9990[_0x2b0958(0x2cc)]=='string'?_0x4a9990[_0x2b0958(0x2cc)]:_0x5b413e[0x0];if(_0x5b413e['forEach'](_0x3348e0=>_0x3690f9[_0x2b0958(0x290)](K(_0x3348e0))),!_0x59d892)return[..._0x3690f9];let _0x527ca6=_0x168860['getSnapshot']()[_0x2b0958(0x29e)][_0x59d892],_0x55fb69=new Set(Zs(_0x4a9990,_0x2b0958(0x380))),_0x5d7cb8=new Set(Zs(_0x4a9990,_0x2b0958(0x51b))),_0x43ea1c=new Set(Zs(_0x4a9990,_0x2b0958(0x2aa)));return Qs(_0x527ca6,_0x4a9990['patches'],_0x5d7cb8,_0x55fb69),$s(_0x4a9990,_0x55fb69),_0x55fb69[_0x2b0958(0x397)](_0x46077a=>_0x3690f9[_0x2b0958(0x290)](q(_0x59d892,_0x46077a))),_0x5d7cb8[_0x2b0958(0x397)](_0x4d8df9=>_0x3690f9[_0x2b0958(0x290)](J(_0x59d892,_0x4d8df9))),_0x43ea1c[_0x2b0958(0x397)](_0x569132=>_0x3690f9['add'](Mr(_0x59d892,_0x569132))),[..._0x3690f9];}function qs(_0x365109,_0x3aed3d){const _0x547bf9=_0x4e7c38;let _0x560723=_0x365109['getSnapshot'](),_0x2d69d4=new z()[_0x547bf9(0x4c7)](_0x3aed3d),_0x594c2a=Js(_0x3aed3d),_0x457c10=new Set();return _0x2d69d4[_0x547bf9(0x397)](_0x2fc8bd=>{const _0x3da2a5=_0x547bf9;var _0x2d4293,_0x532e3d;let {tableId:_0x13d474}=_0x2fc8bd;if(!_0x13d474)return;_0x457c10[_0x3da2a5(0x290)](K(_0x13d474));let _0x17bc57=_0x560723['tables'][_0x13d474],_0x52b3b3=_0x2fc8bd[_0x3da2a5(0x394)]??(_0x2fc8bd[_0x3da2a5(0x505)]==null||_0x17bc57==null||(_0x2d4293=_0x17bc57['rowId'])==null?void 0x0:_0x2d4293[_0x2fc8bd['row']]),_0x4abd03=_0x2fc8bd[_0x3da2a5(0x446)]??(_0x2fc8bd[_0x3da2a5(0x50c)]==null||_0x17bc57==null||(_0x532e3d=_0x17bc57['colId'])==null?void 0x0:_0x532e3d[_0x2fc8bd['column']]);_0x52b3b3&&_0x457c10[_0x3da2a5(0x290)](J(_0x13d474,_0x52b3b3)),_0x4abd03&&_0x457c10[_0x3da2a5(0x290)](q(_0x13d474,_0x4abd03)),_0x2fc8bd[_0x3da2a5(0x34a)]&&_0x457c10[_0x3da2a5(0x290)](Mr(_0x13d474,_0x2fc8bd[_0x3da2a5(0x34a)])),(_0x2fc8bd['reason']===_0x3da2a5(0x438)||_0x594c2a[_0x3da2a5(0x4d6)](_0x13d474))&&_0x17bc57&&(Object[_0x3da2a5(0x3ca)](_0x17bc57['fields'])[_0x3da2a5(0x397)](_0x2f1ab4=>_0x457c10[_0x3da2a5(0x290)](q(_0x13d474,_0x2f1ab4))),Object[_0x3da2a5(0x3ca)](_0x17bc57[_0x3da2a5(0x2d1)])[_0x3da2a5(0x397)](_0x3ffb86=>_0x457c10[_0x3da2a5(0x290)](J(_0x13d474,_0x3ffb86))),Object[_0x3da2a5(0x3ca)](_0x17bc57[_0x3da2a5(0x460)])[_0x3da2a5(0x397)](_0x4aa88d=>_0x457c10[_0x3da2a5(0x290)](Mr(_0x13d474,_0x4aa88d)))),_0x2fc8bd[_0x3da2a5(0x3be)]==='record'&&_0x17bc57&&Object[_0x3da2a5(0x3ca)](_0x17bc57[_0x3da2a5(0x531)])['forEach'](_0x42e00f=>_0x457c10['add'](q(_0x13d474,_0x42e00f)));}),_0x2d69d4[_0x547bf9(0x2b6)]===0x0&&Xs(_0x3aed3d,_0x547bf9(0x38f))&&Object[_0x547bf9(0x3ca)](_0x560723[_0x547bf9(0x29e)])[_0x547bf9(0x397)](_0x395dd5=>_0x457c10[_0x547bf9(0x290)](K(_0x395dd5))),[..._0x457c10];}function Js(_0x226b3c){let _0x3bee3a=new Set(),_0xda1830=_0x41e8d6=>{const _0x22aa12=_0x16bf;Array[_0x22aa12(0x56b)](_0x41e8d6)&&_0x41e8d6[_0x22aa12(0x397)]((_0x12eef7,_0x1768c7)=>{const _0x452a7e=_0x22aa12;_0x12eef7===_0x452a7e(0x29e)&&typeof _0x41e8d6[_0x1768c7+0x1]==_0x452a7e(0x457)&&Ys(_0x41e8d6[_0x1768c7+0x2])&&_0x3bee3a['add'](_0x41e8d6[_0x1768c7+0x1]),_0xda1830(_0x12eef7);});};return _0xda1830(_0x226b3c),_0x3bee3a;}function Ys(_0x398808){const _0x139bf7=_0x4e7c38;return!!_0x398808&&typeof _0x398808==_0x139bf7(0x3d3)&&!Array[_0x139bf7(0x56b)](_0x398808)&&('i'in _0x398808||'r'in _0x398808||'p'in _0x398808||'d'in _0x398808||'es'in _0x398808||'ena'in _0x398808||'et'in _0x398808);}function Xs(_0xd99b79,_0x14c14c){const _0xe739de=_0x4e7c38;return Array[_0xe739de(0x56b)](_0xd99b79)&&_0xd99b79['some'](_0x3322fa=>_0x3322fa===_0x14c14c||Xs(_0x3322fa,_0x14c14c));}function Zs(_0x19f7bf,_0x3e608d){const _0x4ba563=_0x4e7c38;let _0x3f23f7=new Set(),_0x2d73ef=_0x3e608d+'Id',_0x505f49=_0x3e608d+_0x4ba563(0x245),_0x22c010=(_0x4d5c5c,_0x28fe5c='')=>{const _0x488207=_0x4ba563;if(typeof _0x4d5c5c==_0x488207(0x457)){_0x28fe5c===_0x2d73ef&&_0x3f23f7[_0x488207(0x290)](_0x4d5c5c);return;}if(Array[_0x488207(0x56b)](_0x4d5c5c)){_0x28fe5c===_0x505f49?_0x4d5c5c['forEach'](_0x5201bb=>{typeof _0x5201bb=='string'&&_0x3f23f7['add'](_0x5201bb);}):_0x4d5c5c['forEach'](_0x236344=>_0x22c010(_0x236344,_0x28fe5c));return;}tc(_0x4d5c5c)&&Object[_0x488207(0x502)](_0x4d5c5c)['forEach'](([_0x3751fb,_0x4f294c])=>{_0x3751fb==='id'&&_0x28fe5c===_0x3e608d&&typeof _0x4f294c=='string'?_0x3f23f7['add'](_0x4f294c):_0x22c010(_0x4f294c,_0x3751fb);});};return _0x22c010(_0x19f7bf),[..._0x3f23f7];}function Qs(_0x132b8e,_0x3f9238,_0x70a010,_0x1b6ad8){_0x132b8e&&Array['isArray'](_0x3f9238)&&_0x3f9238['forEach'](_0x45785b=>{const _0x27e353=_0x16bf;if(!tc(_0x45785b))return;let _0x566d1d=_0x45785b;if(typeof _0x566d1d['row']==_0x27e353(0x43a)){var _0x537eed;let _0x3dd440=(_0x537eed=_0x132b8e[_0x27e353(0x565)])==null?void 0x0:_0x537eed[_0x566d1d[_0x27e353(0x505)]];_0x3dd440&&_0x70a010[_0x27e353(0x290)](_0x3dd440);}if(typeof _0x566d1d[_0x27e353(0x444)]==_0x27e353(0x43a)){var _0x19d6b8;let _0x200135=(_0x19d6b8=_0x132b8e[_0x27e353(0x512)])==null?void 0x0:_0x19d6b8[_0x566d1d['col']];_0x200135&&_0x1b6ad8[_0x27e353(0x290)](_0x200135);}});}function $s(_0x3fa013,_0x2e77be,_0x54f0d5=''){const _0x27f062=_0x4e7c38;if(_0x3fa013&&typeof _0x3fa013=='object'){if(Array[_0x27f062(0x56b)](_0x3fa013)){_0x3fa013['forEach'](_0x232542=>$s(_0x232542,_0x2e77be,_0x54f0d5));return;}tc(_0x3fa013)&&Object[_0x27f062(0x502)](_0x3fa013)['forEach'](([_0x427ad5,_0x1aaf0a])=>{const _0x3be1db=_0x27f062;_0x54f0d5===_0x3be1db(0x4c0)&&_0x2e77be[_0x3be1db(0x290)](_0x427ad5),$s(_0x1aaf0a,_0x2e77be,_0x427ad5);});}}function ec(_0xf13f97){const _0x4b6a4c=_0x4e7c38;return Array[_0x4b6a4c(0x56b)](_0xf13f97);}function tc(_0x18c1c5){const _0xab8c2=_0x4e7c38;return typeof _0x18c1c5==_0xab8c2(0x3d3)&&!!_0x18c1c5&&!Array['isArray'](_0x18c1c5);}const nc=_0x3c907b(_0x4e7c38(0x547));let rc=class{constructor(_0x5efb81){const _0x21dfd1=_0x4e7c38;this[_0x21dfd1(0x3b8)]=_0x5efb81;}[_0x4e7c38(0x20a)](_0x40f1c2){const _0x1ada46=_0x4e7c38;return this[_0x1ada46(0x3b8)][_0x1ada46(0x34e)](_0x40f1c2,_0x2eb623['UNIVER_BASE'])??null;}[_0x4e7c38(0x3f2)](){const _0x58bd0e=_0x4e7c38;return this[_0x58bd0e(0x3b8)]['getAllUnitsForType'](_0x2eb623[_0x58bd0e(0x583)]);}[_0x4e7c38(0x521)](_0x211263){const _0x3e4c18=_0x4e7c38;return this[_0x3e4c18(0x3b8)][_0x3e4c18(0x30d)](_0x2eb623[_0x3e4c18(0x583)],_0x211263);}};rc=X([Y(0x0,_0x26755d)],rc);const ic=_0x3c907b(_0x4e7c38(0x261));var ac=class extends _0x3aec08{constructor(..._0x5d1376){const _0xcc44a=_0x4e7c38;super(..._0x5d1376),G(this,_0xcc44a(0x298),new Map());}[_0x4e7c38(0x27e)](_0x509029){const _0x1e25bd=_0x4e7c38;return this['_plugins'][_0x1e25bd(0x205)](_0x509029[_0x1e25bd(0x30b)],_0x509029),_0x3e2bb5(()=>this[_0x1e25bd(0x298)]['delete'](_0x509029['type']));}[_0x4e7c38(0x4d5)](_0x6026a3){const _0x5f29aa=_0x4e7c38;let _0x56ef9f=this[_0x5f29aa(0x298)][_0x5f29aa(0x4d5)](_0x6026a3);if(!_0x56ef9f)throw Error(_0x5f29aa(0x39b)+_0x6026a3+_0x5f29aa(0x37e));return _0x56ef9f;}[_0x4e7c38(0x4b6)](){const _0x5da85a=_0x4e7c38;return Array[_0x5da85a(0x501)](this[_0x5da85a(0x298)][_0x5da85a(0x4c0)]());}};const oc=[Q];let sc=class extends _0x331aac{constructor(_0x3adcc0=Ns,_0x3cb109,_0x2dfd64,_0x5c1854,_0x48cd07,_0x226f2b){const _0xcd8ef5=_0x4e7c38;super(),this['_config']=_0x3adcc0,this[_0xcd8ef5(0x239)]=_0x3cb109,this[_0xcd8ef5(0x320)]=_0x2dfd64,this['_univerInstanceService']=_0x5c1854,this[_0xcd8ef5(0x551)]=_0x48cd07,this['_dataSyncPrimaryController']=_0x226f2b,G(this,_0xcd8ef5(0x306),new Map());let {..._0x2ced4b}=_0xad5a6c({},Ns,this[_0xcd8ef5(0x45b)]);this[_0xcd8ef5(0x551)][_0xcd8ef5(0x453)](_0xcd8ef5(0x359),_0x2ced4b),this['_univerInstanceService'][_0xcd8ef5(0x37f)](_0x2eb623[_0xcd8ef5(0x583)],_0x1a83d0),this[_0xcd8ef5(0x2ef)](),this[_0xcd8ef5(0x507)](),this['_initRegistries'](),this[_0xcd8ef5(0x3d0)]();}['onStarting'](){const _0x196975=_0x4e7c38;this['_injector'][_0x196975(0x290)]([Lo]),this[_0x196975(0x533)](this[_0x196975(0x239)]['get'](_0x5342d9)['registerCommand'](Ro)),this['disposeWithMe'](this[_0x196975(0x239)][_0x196975(0x4d5)](_0x5342d9)[_0x196975(0x2d5)](zo)),this[_0x196975(0x533)](this[_0x196975(0x239)][_0x196975(0x4d5)](_0x3cfcfc)['registerRuleModel'](_0x3b454d[_0x196975(0x1de)],this['_injector'][_0x196975(0x4d5)](Lo),Ro['id'],zo['id']));}[_0x4e7c38(0x335)](){const _0x2b55f7=_0x4e7c38;_0x18d3d5(this[_0x2b55f7(0x239)],[[rc],[qr],[Rs]]),this[_0x2b55f7(0x3b8)][_0x2b55f7(0x281)](_0x2eb623['UNIVER_BASE'])[_0x2b55f7(0x397)](_0x483508=>this[_0x2b55f7(0x264)](_0x483508[_0x2b55f7(0x49c)]())),_0x18d3d5(this[_0x2b55f7(0x239)],[[zs],[Us]]);}['_initDependencies'](){const _0x811e27=_0x4e7c38;[[mr,{'useClass':hr}],[ic,{'useClass':ac}],[ii,{'useClass':si}],[nc,{'useClass':rc}],[Br,{'useClass':Vr}],[Kr,{'useClass':qr}],[Rs],[zs],[Us]]['forEach'](_0x25f202=>this[_0x811e27(0x239)]['add'](_0x25f202));}[_0x4e7c38(0x507)](){const _0x2ff95f=_0x4e7c38;[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][_0x2ff95f(0x397)](_0x206045=>this['disposeWithMe'](this['_commandService']['registerCommand'](_0x206045))),oc['forEach'](_0x23a1a0=>{const _0x1696ba=_0x2ff95f;var _0x1d144c;return(_0x1d144c=this[_0x1696ba(0x354)])==null?void 0x0:_0x1d144c[_0x1696ba(0x2df)](_0x23a1a0);});}[_0x4e7c38(0x3d0)](){const _0x45f4b0=_0x4e7c38;this[_0x45f4b0(0x354)]&&(this['disposeWithMe'](this[_0x45f4b0(0x3b8)][_0x45f4b0(0x41b)](_0x2eb623[_0x45f4b0(0x583)])[_0x45f4b0(0x4ce)](({unit:_0xb58c76})=>{const _0x26be05=_0x45f4b0;this['_syncBaseUnit'](_0xb58c76[_0x26be05(0x49c)]());})),this['disposeWithMe'](this['_univerInstanceService'][_0x45f4b0(0x1f8)](_0x2eb623[_0x45f4b0(0x583)])[_0x45f4b0(0x4ce)](_0x25549b=>{const _0x24004f=_0x45f4b0;var _0x493579;(_0x493579=this[_0x24004f(0x306)][_0x24004f(0x4d5)](_0x25549b[_0x24004f(0x49c)]()))==null||_0x493579[_0x24004f(0x251)](),this['_baseSyncDisposables'][_0x24004f(0x57a)](_0x25549b[_0x24004f(0x49c)]());})));}[_0x4e7c38(0x264)](_0x69c180){const _0x37073f=_0x4e7c38;this[_0x37073f(0x354)]&&!this[_0x37073f(0x306)][_0x37073f(0x4d6)](_0x69c180)&&this[_0x37073f(0x306)][_0x37073f(0x205)](_0x69c180,this[_0x37073f(0x354)][_0x37073f(0x2a3)](_0x69c180));}[_0x4e7c38(0x2ee)](){const _0x510944=_0x4e7c38;let _0x36dff9=this['_injector'][_0x510944(0x4d5)](mr);zn()['forEach'](_0x520287=>_0x36dff9[_0x510944(0x27e)](_0x520287));let _0x3300f6=this['_injector'][_0x510944(0x4d5)](ic),_0x52cb94=this['_injector'][_0x510944(0x4d5)](ii);$r()[_0x510944(0x397)](_0x3d04a2=>{const _0x184e97=_0x510944;_0x3300f6[_0x184e97(0x27e)](_0x3d04a2),_0x52cb94['registerView'](_0x3d04a2);});}};G(sc,'pluginName',_0x4e7c38(0x364)),G(sc,'packageName',js),G(sc,_0x4e7c38(0x4fe),Ms),G(sc,_0x4e7c38(0x30b),_0x2eb623['UNIVER_BASE']),sc=X([_0x5a051b(_0xe1f7da,_0x3179a2),Y(0x1,_0x4562a7(_0x53b1f5)),Y(0x2,_0x5342d9),Y(0x3,_0x26755d),Y(0x4,_0x3caf08),Y(0x5,_0x5ab67b(_0x2caca0))],sc);let cc=class extends _0x331aac{constructor(_0x50e6cf=Ps,_0x1666ca,_0x296aaf,_0xdfb436,_0x5e84c4){const _0xef4cdd=_0x4e7c38;super(),this[_0xef4cdd(0x45b)]=_0x50e6cf,this['_injector']=_0x1666ca,this[_0xef4cdd(0x320)]=_0x296aaf,this[_0xef4cdd(0x551)]=_0xdfb436,this[_0xef4cdd(0x3b8)]=_0x5e84c4;let {..._0x57d61b}=_0xad5a6c({},Ps,this[_0xef4cdd(0x45b)]);this[_0xef4cdd(0x551)][_0xef4cdd(0x453)](_0xef4cdd(0x4e9),_0x57d61b),this[_0xef4cdd(0x3b8)][_0xef4cdd(0x37f)](_0x2eb623['UNIVER_BASE'],_0x1a83d0),[[mr,{'useClass':hr}],[ii,{'useClass':si}]][_0xef4cdd(0x397)](_0x51c66d=>this[_0xef4cdd(0x239)][_0xef4cdd(0x290)](_0x51c66d)),oc[_0xef4cdd(0x397)](_0x491b7a=>this[_0xef4cdd(0x533)](this[_0xef4cdd(0x320)][_0xef4cdd(0x2d5)](_0x491b7a)));}};G(cc,_0x4e7c38(0x3f6),'REMOTE_BASES_PLUGIN'),G(cc,'packageName',js),G(cc,_0x4e7c38(0x4fe),Ms),G(cc,'type',_0x2eb623[_0x4e7c38(0x583)]),cc=X([_0x5a051b(_0xe1f7da,_0x3179a2),Y(0x1,_0x4562a7(_0x53b1f5)),Y(0x2,_0x5342d9),Y(0x3,_0x3caf08),Y(0x4,_0x26755d)],cc);function lc(_0x49c405){const _0xe18aa1=_0x4e7c38;let _0x8558b4=Cc(_0x49c405[_0xe18aa1(0x461)]);if(!_0x8558b4)return{'query':'','total':0x0,'matches':[]};let _0x23c7c0=[],_0x5522b7=[];for(let _0x22161d=0x0;_0x22161d<_0x49c405[_0xe18aa1(0x1c7)][_0xe18aa1(0x2b6)];_0x22161d++){if(!(_0x22161d in _0x49c405[_0xe18aa1(0x1c7)]))continue;let _0x4fa811=_0x49c405[_0xe18aa1(0x438)][_0xe18aa1(0x531)][_0x49c405[_0xe18aa1(0x1c7)][_0x22161d]];_0x4fa811&&_0x5522b7['push']({'field':_0x4fa811,'fieldIndex':_0x22161d});}_0x49c405[_0xe18aa1(0x2ff)]['forEach']((_0x5ba634,_0x23b736)=>{const _0xc774cd=_0xe18aa1;_0x5522b7[_0xc774cd(0x397)](({field:_0xa80482,fieldIndex:_0x2a3dbd})=>{const _0x4e2673=_0xc774cd;let _0x38da55=uc(_0x5ba634['values'][_0xa80482['id']],_0xa80482);if(!_0x38da55)return;let _0x2cb52a=Sc(_0x8558b4,_0x38da55[_0x4e2673(0x376)]);_0x2cb52a<=0x0||_0x23c7c0[_0x4e2673(0x3e2)]({'recordId':_0x5ba634[_0x4e2673(0x394)],'fieldId':_0xa80482['id'],'fieldType':_0xa80482[_0x4e2673(0x30b)],'text':_0x38da55[_0x4e2673(0x42b)],'score':_0x2cb52a,'rowIndex':_0x23b736,'fieldIndex':_0x2a3dbd});});}),_0x23c7c0[_0xe18aa1(0x266)]((_0x359904,_0x433744)=>_0x433744[_0xe18aa1(0x1cb)]-_0x359904[_0xe18aa1(0x1cb)]||_0x359904[_0xe18aa1(0x2cd)]-_0x433744[_0xe18aa1(0x2cd)]||_0x359904['fieldIndex']-_0x433744['fieldIndex']);let _0x44b4f9=_0x49c405[_0xe18aa1(0x3dc)]==null?_0x23c7c0:_0x23c7c0['slice'](0x0,Math['max'](0x0,_0x49c405['limit']));return{'query':_0x8558b4,'total':_0x23c7c0[_0xe18aa1(0x2b6)],'matches':Tc(_0x44b4f9)};}function uc(_0x56bbe6,_0x538d47){const _0x5777a2=_0x4e7c38;let _0x57916c=[];for(let _0x12640e of fc(_0x56bbe6,_0x538d47)){let _0x3431f1=Cc(_0x12640e);_0x3431f1&&_0x57916c[_0x5777a2(0x3e2)](_0x3431f1);}return _0x57916c[_0x5777a2(0x2b6)]?{'displayText':dc(_0x56bbe6,_0x538d47),'searchTexts':wc(_0x57916c)}:null;}function dc(_0x271bd0,_0x362914){const _0x101b84=_0x4e7c38;switch(_0x362914['type']){case _0x377615[_0x101b84(0x38d)]:case _0x377615[_0x101b84(0x1eb)]:case _0x377615['Group']:return pc(_0x271bd0,_0x362914)[_0x101b84(0x50e)](',\x20');case _0x377615[_0x101b84(0x1c3)]:return gc(_0x271bd0);case _0x377615[_0x101b84(0x55e)]:case _0x377615[_0x101b84(0x3d5)]:case _0x377615[_0x101b84(0x4ec)]:return _c(_0x271bd0,_0x362914);case _0x377615['Number']:case _0x377615['Currency']:return vc(_0x271bd0,_0x362914);case _0x377615[_0x101b84(0x3a3)]:return yc(_0x271bd0,_0x362914);case _0x377615[_0x101b84(0x1e2)]:return _0x271bd0?_0x101b84(0x388):'Unchecked';case _0x377615[_0x101b84(0x389)]:return bc(_0x271bd0)[_0x101b84(0x50e)](',\x20');default:return xc(_0x271bd0);}}function fc(_0x14277d,_0x581397){const _0x2a1840=_0x4e7c38;switch(_0x581397['type']){case _0x377615[_0x2a1840(0x38d)]:case _0x377615[_0x2a1840(0x1eb)]:case _0x377615[_0x2a1840(0x1c4)]:{let _0x1fbb27=pc(_0x14277d,_0x581397);if(Array[_0x2a1840(0x56b)](_0x14277d)){let _0x18b802=[..._0x1fbb27];for(let _0x159662=0x0;_0x159662<_0x14277d['length'];_0x159662++)_0x159662 in _0x14277d&&_0x18b802[_0x2a1840(0x3e2)](String(_0x14277d[_0x159662]));return _0x18b802;}return _0x14277d==null?_0x1fbb27:[..._0x1fbb27,String(_0x14277d)];}case _0x377615['Link']:{let _0x53666f=hc(_0x14277d);return[_0x53666f['text'],_0x53666f[_0x2a1840(0x2d3)]];}case _0x377615[_0x2a1840(0x55e)]:case _0x377615[_0x2a1840(0x3d5)]:case _0x377615[_0x2a1840(0x4ec)]:return[_c(_0x14277d,_0x581397),xc(_0x14277d)];case _0x377615[_0x2a1840(0x242)]:case _0x377615['Currency']:return[vc(_0x14277d,_0x581397),xc(_0x14277d)];case _0x377615['Progress']:return[yc(_0x14277d,_0x581397),xc(_0x14277d)];case _0x377615[_0x2a1840(0x1e2)]:return _0x14277d?[_0x2a1840(0x388),'Yes',_0x2a1840(0x4cc)]:['Unchecked','No',_0x2a1840(0x3a7)];case _0x377615[_0x2a1840(0x389)]:return bc(_0x14277d);default:return[xc(_0x14277d)];}}function pc(_0x361a91,_0x58c6da){const _0x59ef08=_0x4e7c38;var _0x301054;let _0x7e69a6=Array['isArray']((_0x301054=_0x58c6da[_0x59ef08(0x554)])==null?void 0x0:_0x301054[_0x59ef08(0x246)])?_0x58c6da[_0x59ef08(0x554)][_0x59ef08(0x246)]:[],_0x3f5b01=[];if(Array[_0x59ef08(0x56b)](_0x361a91)){for(let _0x46fc18=0x0;_0x46fc18<_0x361a91[_0x59ef08(0x2b6)];_0x46fc18++){if(!(_0x46fc18 in _0x361a91))continue;let _0x46b796=String(_0x361a91[_0x46fc18]);_0x46b796&&_0x3f5b01[_0x59ef08(0x3e2)](mc(_0x7e69a6,_0x46b796));}return _0x3f5b01;}if(_0x361a91!=null){let _0x20ed73=String(_0x361a91);_0x20ed73&&_0x3f5b01[_0x59ef08(0x3e2)](mc(_0x7e69a6,_0x20ed73));}return _0x3f5b01;}function mc(_0x5e1ed3,_0x78a417){const _0x11c163=_0x4e7c38;for(let _0x26ba75 of _0x5e1ed3){if(typeof _0x26ba75==_0x11c163(0x457)&&_0x26ba75===_0x78a417)return _0x26ba75;if(_0x26ba75&&typeof _0x26ba75==_0x11c163(0x3d3)){let _0x729b90=_0x26ba75;if(String(_0x729b90['id']??_0x729b90[_0x11c163(0x39a)]??'')===_0x78a417||String(_0x729b90[_0x11c163(0x39a)]??'')===_0x78a417)return String(_0x729b90[_0x11c163(0x39a)]??_0x729b90['id']??_0x78a417);}}return _0x78a417;}function hc(_0x4c9373){const _0x525342=_0x4e7c38;if(_0x4c9373&&typeof _0x4c9373==_0x525342(0x3d3)&&!Array['isArray'](_0x4c9373)){let _0x4f60e9=_0x4c9373;return{'text':String(_0x4f60e9[_0x525342(0x2bb)]??_0x4f60e9[_0x525342(0x2d3)]??''),'url':String(_0x4f60e9[_0x525342(0x2d3)]??'')};}return{'text':xc(_0x4c9373),'url':xc(_0x4c9373)};}function gc(_0x288c23){const _0x314f46=_0x4e7c38;let _0x4d689e=hc(_0x288c23);return _0x4d689e[_0x314f46(0x2bb)]||_0x4d689e[_0x314f46(0x2d3)];}function _c(_0x50638b,_0x20ea9e){const _0x597c20=_0x4e7c38;return typeof _0x50638b!=_0x597c20(0x43a)||!Number[_0x597c20(0x338)](_0x50638b)?'':mn(_0x50638b,_0x20ea9e[_0x597c20(0x554)]);}function vc(_0x5bfaa7,_0x2f2e94){const _0x12b9d8=_0x4e7c38;let _0x48b586=typeof _0x5bfaa7==_0x12b9d8(0x43a)?_0x5bfaa7:Number(_0x5bfaa7);return Number[_0x12b9d8(0x338)](_0x48b586)?qo(_0x48b586,_0x2f2e94[_0x12b9d8(0x554)]):'';}function yc(_0xbb369b,_0x56bee0){const _0x1c8d5f=_0x4e7c38;let _0xcd8398=typeof _0xbb369b==_0x1c8d5f(0x43a)?_0xbb369b:Number(_0xbb369b);return Number[_0x1c8d5f(0x338)](_0xcd8398)?Qo(_0xcd8398,_0x56bee0[_0x1c8d5f(0x554)]):'';}function bc(_0xaf2a6e){const _0x14dff4=_0x4e7c38;return Array[_0x14dff4(0x56b)](_0xaf2a6e)?_0xaf2a6e[_0x14dff4(0x470)](_0x127dd4=>{const _0x45a5ff=_0x14dff4;if(!_0x127dd4||typeof _0x127dd4!=_0x45a5ff(0x3d3))return[];let _0x3b5c09=_0x127dd4,_0x443f8c=String(_0x3b5c09[_0x45a5ff(0x39a)]??_0x3b5c09[_0x45a5ff(0x2d3)]??'')[_0x45a5ff(0x42c)]();return _0x443f8c?[_0x443f8c]:[];}):[];}function xc(_0x4f22fe){const _0x13b40f=_0x4e7c38;if(_0x4f22fe==null)return'';if(typeof _0x4f22fe==_0x13b40f(0x361))return _0x4f22fe?_0x13b40f(0x3a0):_0x13b40f(0x3b3);if(typeof _0x4f22fe=='number')return String(_0x4f22fe);if(Array[_0x13b40f(0x56b)](_0x4f22fe)){let _0x498ecb=[];for(let _0xca2089=0x0;_0xca2089<_0x4f22fe[_0x13b40f(0x2b6)];_0xca2089++){if(!(_0xca2089 in _0x4f22fe))continue;let _0x3a985e=xc(_0x4f22fe[_0xca2089]);_0x3a985e&&_0x498ecb[_0x13b40f(0x3e2)](_0x3a985e);}return _0x498ecb[_0x13b40f(0x50e)](',\x20');}if(typeof _0x4f22fe==_0x13b40f(0x3d3)){let _0x3a8a6f=_0x4f22fe;return String(_0x3a8a6f[_0x13b40f(0x2a4)]??_0x3a8a6f[_0x13b40f(0x39a)]??_0x3a8a6f['text']??_0x3a8a6f[_0x13b40f(0x2d3)]??'')['trim']();}return String(_0x4f22fe);}function Sc(_0x3d42be,_0x582072){const _0x546edc=_0x4e7c38;let _0xb7ab89=0x0;for(let _0x3f540a of _0x582072)if(_0x3f540a){if(_0x3f540a===_0x3d42be){_0xb7ab89=Math['max'](_0xb7ab89,0x12c);continue;}if(_0x3f540a[_0x546edc(0x3c5)](_0x3d42be)){_0xb7ab89=Math[_0x546edc(0x265)](_0xb7ab89,0xfa);continue;}_0x3f540a[_0x546edc(0x37a)](_0x3d42be)&&(_0xb7ab89=Math[_0x546edc(0x265)](_0xb7ab89,0xc8));}return _0xb7ab89;}function Cc(_0x102341){const _0x2cae65=_0x4e7c38;return _0x102341[_0x2cae65(0x42c)]()[_0x2cae65(0x212)](/\s+/g,'\x20')[_0x2cae65(0x1e9)]();}function wc(_0x539084){const _0x3daca7=_0x4e7c38;return Array[_0x3daca7(0x501)](new Set(_0x539084));}function Tc(_0x3300c5){const _0xd9d412=_0x4e7c38;let _0x1999fd=[];for(let {rowIndex:_0x209b62,fieldIndex:_0x33bba2,..._0x3762c8}of _0x3300c5)_0x1999fd[_0xd9d412(0x3e2)](_0x3762c8);return _0x1999fd;}function Ec(_0x16b841){const _0x4dad3b=_0x4e7c38;return{'compress':!0x0,'kind':_0x4dad3b(0x511),'u':_0x16b841[_0x4dad3b(0x423)],'t':_0x16b841[_0x4dad3b(0x2cc)],'p':_0x16b841[_0x4dad3b(0x3a6)]['map'](_0x4d0700=>[_0x4d0700[_0x4dad3b(0x505)],_0x4d0700[_0x4dad3b(0x444)],Ac(_0x4d0700[_0x4dad3b(0x4de)])]),..._0x16b841[_0x4dad3b(0x43d)]===void 0x0?{}:{'g':_0x16b841[_0x4dad3b(0x43d)]}};}function Dc(_0x4dff8f){const _0x113af3=_0x4e7c38;if(Lc(_0x4dff8f,_0x113af3(0x511)),!Oc(_0x4dff8f)){if(!Ic(_0x4dff8f))throw Error(_0x113af3(0x4e7));return _0x4dff8f;}return{'unitId':_0x4dff8f['u'],'tableId':_0x4dff8f['t'],'patches':_0x4dff8f['p'][_0x113af3(0x3e8)](([_0x1eb5ef,_0x2bcece,_0x5e89b8])=>({'row':_0x1eb5ef,'col':_0x2bcece,'value':jc(_0x5e89b8)})),..._0x4dff8f['g']===void 0x0?{}:{'trigger':_0x4dff8f['g']}};}function Oc(_0x2e99cf){const _0x1c4e3c=_0x4e7c38;return!Rc(_0x2e99cf)||_0x2e99cf[_0x1c4e3c(0x53f)]!==!0x0||_0x2e99cf[_0x1c4e3c(0x580)]!==_0x1c4e3c(0x511)?!0x1:typeof _0x2e99cf['u']==_0x1c4e3c(0x457)&&typeof _0x2e99cf['t']=='string'&&(_0x2e99cf['g']===void 0x0||typeof _0x2e99cf['g']==_0x1c4e3c(0x457))&&Array['isArray'](_0x2e99cf['p'])&&_0x2e99cf['p'][_0x1c4e3c(0x1f6)](_0x2b5987=>Array['isArray'](_0x2b5987)&&_0x2b5987[_0x1c4e3c(0x2b6)]===0x3&&Number[_0x1c4e3c(0x314)](_0x2b5987[0x0])&&Number['isInteger'](_0x2b5987[0x1]));}function kc(_0x5a8d18){const _0x1a2457=_0x4e7c38;return!Rc(_0x5a8d18)||_0x5a8d18[_0x1a2457(0x53f)]!==!0x0||_0x5a8d18[_0x1a2457(0x580)]!==_0x1a2457(0x452)||!Rc(_0x5a8d18[_0x1a2457(0x29e)])?!0x1:Object[_0x1a2457(0x4c0)](_0x5a8d18[_0x1a2457(0x29e)])['every'](_0x2cce2d=>Rc(_0x2cce2d)&&(_0x2cce2d['cd']===void 0x0||Array[_0x1a2457(0x56b)](_0x2cce2d['cd'])&&_0x2cce2d['cd']['every'](_0x1cf3d8=>Array[_0x1a2457(0x56b)](_0x1cf3d8)&&_0x1cf3d8[_0x1a2457(0x2b6)]===0x3&&Number[_0x1a2457(0x314)](_0x1cf3d8[0x0])&&Number[_0x1a2457(0x314)](_0x1cf3d8[0x1])&&Fc(_0x1cf3d8[0x2]))));}function Ac(_0x1f68de){return Pc(_0x1f68de)?Mc(_0x1f68de):_0x1f68de;}function jc(_0x1ef552){return Fc(_0x1ef552)?Nc(_0x1ef552):_0x1ef552;}function Mc(_0x497f7a){return{'c':0x1,..._0x497f7a['v']===void 0x0?{}:{'v':_0x497f7a['v']},..._0x497f7a['t']!==void 0x0&&_0x497f7a['t']!==null?{'t':_0x497f7a['t']}:_0x497f7a['t']===null?{'t':null}:{},..._0x497f7a['f']!==void 0x0&&_0x497f7a['f']!==null?{'f':_0x497f7a['f']}:_0x497f7a['f']===null?{'f':null}:{},..._0x497f7a['si']!==void 0x0&&_0x497f7a['si']!==null?{'si':_0x497f7a['si']}:_0x497f7a['si']===null?{'si':null}:{},..._0x497f7a['p']!==void 0x0&&_0x497f7a['p']!==null?{'p':_0x497f7a['p']}:_0x497f7a['p']===null?{'p':null}:{}};}function Nc(_0x386cce){return{..._0x386cce['v']===void 0x0?{}:{'v':_0x386cce['v']},..._0x386cce['t']===void 0x0?{}:{'t':_0x386cce['t']},..._0x386cce['f']===void 0x0?{}:{'f':_0x386cce['f']},..._0x386cce['si']===void 0x0?{}:{'si':_0x386cce['si']},..._0x386cce['p']===void 0x0?{}:{'p':_0x386cce['p']}};}function Pc(_0x11b112){const _0x5ee239=_0x4e7c38;return!!_0x11b112&&typeof _0x11b112==_0x5ee239(0x3d3)&&!Array['isArray'](_0x11b112)&&(Object[_0x5ee239(0x2f7)][_0x5ee239(0x396)][_0x5ee239(0x386)](_0x11b112,'v')||Object['prototype']['hasOwnProperty'][_0x5ee239(0x386)](_0x11b112,'t')||Object[_0x5ee239(0x2f7)][_0x5ee239(0x396)][_0x5ee239(0x386)](_0x11b112,'p')||Object[_0x5ee239(0x2f7)]['hasOwnProperty']['call'](_0x11b112,'f')||Object[_0x5ee239(0x2f7)]['hasOwnProperty'][_0x5ee239(0x386)](_0x11b112,'si'));}function Fc(_0x25d546){return Rc(_0x25d546)&&_0x25d546['c']===0x1;}function Ic(_0x2b25c6){const _0x297da4=_0x4e7c38;return Rc(_0x2b25c6)&&typeof _0x2b25c6['unitId']==_0x297da4(0x457)&&typeof _0x2b25c6[_0x297da4(0x2cc)]==_0x297da4(0x457)&&(_0x2b25c6[_0x297da4(0x43d)]===void 0x0||typeof _0x2b25c6[_0x297da4(0x43d)]==_0x297da4(0x457))&&Array[_0x297da4(0x56b)](_0x2b25c6['patches'])&&_0x2b25c6['patches'][_0x297da4(0x1f6)](_0x1590e1=>Rc(_0x1590e1)&&Number['isInteger'](_0x1590e1[_0x297da4(0x505)])&&Number[_0x297da4(0x314)](_0x1590e1[_0x297da4(0x444)])&&_0x297da4(0x4de)in _0x1590e1);}function Lc(_0x4bcd45,_0x12869e){const _0x2b5199=_0x4e7c38;if(Rc(_0x4bcd45)&&_0x4bcd45[_0x2b5199(0x53f)]===!0x0){if(_0x4bcd45['kind']!==_0x12869e)throw Error(_0x2b5199(0x464)+String(_0x4bcd45[_0x2b5199(0x580)])+'\x22.');if(!(_0x12869e===_0x2b5199(0x511)?Oc(_0x4bcd45):kc(_0x4bcd45)))throw Error(_0x2b5199(0x2d7)+_0x12869e+'\x22.');}}function Rc(_0x24f7a8){const _0x1013c9=_0x4e7c38;return!!_0x24f7a8&&typeof _0x24f7a8==_0x1013c9(0x3d3)&&!Array['isArray'](_0x24f7a8);}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,_0x5b0b09 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 _0x327967=_0x11ae;(function(_0xec87a,_0x412d4c){const _0x4ee3c6=_0x11ae,_0x13a870=_0xec87a();while(!![]){try{const _0x619d8f=-parseInt(_0x4ee3c6(0x3a2))/0x1*(-parseInt(_0x4ee3c6(0x427))/0x2)+-parseInt(_0x4ee3c6(0x2e9))/0x3+-parseInt(_0x4ee3c6(0x216))/0x4*(parseInt(_0x4ee3c6(0x34f))/0x5)+parseInt(_0x4ee3c6(0x3e6))/0x6+-parseInt(_0x4ee3c6(0x1ac))/0x7*(parseInt(_0x4ee3c6(0x3f7))/0x8)+parseInt(_0x4ee3c6(0x131))/0x9+-parseInt(_0x4ee3c6(0x121))/0xa;if(_0x619d8f===_0x412d4c)break;else _0x13a870['push'](_0x13a870['shift']());}catch(_0x18a297){_0x13a870['push'](_0x13a870['shift']());}}}(_0x4f42,0x75a03));import{BASE_RECORD_ID_FIELD_ID as _0x40fc9d,BaseConditionalColorOperator as _0x4710de,BaseConditionalColorTarget as _0x49363a,BaseConditionalDateMode as _0x1467aa,BaseDataModel as _0x271087,BaseFieldType as _0x1013ad,BaseFilterConjunction as _0x2fab97,BaseHierarchyInvalidReason as _0x240c41,BaseRecordLinkRole as _0x3e0df7,BaseSortDirection as _0x391c0e,BaseViewType as _0x3dd96c,CellValueType as _0x556bff,ColorKit as _0x377ff1,CommandType as _0x281ad9,CustomCommandExecutionError as _0x268330,DateSystem as _0x2dcec1,DependentOn as _0x32cfaf,Disposable as _0x4de356,ErrorService as _0xeb132,ICommandService as _0x2823d6,IConfigService as _0x3c388e,IPermissionService as _0x5cc725,IResourceManagerService as _0x2a6b91,IUndoRedoService as _0x15f92a,IUniverInstanceService as _0x3a38b9,Inject as _0x1345e2,Injector as _0x4a869a,JSON1 as _0x43163e,JSONX as _0x12a725,ObjectMatrix as _0x53a4cf,ObjectPermissionRuleModel as _0x58664a,ObjectPermissionService as _0x77c4ee,Optional as _0x388498,PermissionStatus as _0x1ebfa9,Plugin as _0x2f79be,Tools as _0x2ea00f,UniverInstanceType as _0x49a6be,allocateBaseFormulaTableName as _0x54f542,assertBaseTableRecordIdentity as _0x15f38a,createBaseFormulaTableNameMap as _0xbad9f1,createBaseRecordIdField as _0x529243,createIdentifier as _0x1ada6c,dateKit as _0x28e66b,excelDateTimeSerial as _0x54e6bc,excelSerialToDateTime as _0x568db3,generateRandomId as _0x1dd020,getBaseFormulaTableName as _0x15970e,isBaseRecordIdFieldName as _0x4fd5e0,isValidBaseRecordId as _0x522a38,merge as _0xcc3099,nameCharacterCheck as _0x4a2760,numfmt as _0x50b573,regexp as _0x23a4c4,sequenceExecute as _0x4a8c31,toDisposable as _0x569b00,touchDependencies as _0x253fbd}from'@univerjs/core';import{FormulaCalculationTriggerService as _0x18360a,IActiveDirtyManagerService as _0x1624f9,RemoveSuperTableMutation as _0x3c0f14,SetFormulaCalculationResultMutation as _0x30184a,SetSuperTableMutation as _0x574d24,SetTriggerFormulaCalculationStartMutation as _0xbd4092,UniverProFormulaEnginePlugin as _0x16307b,refactorFormulaUnitQualifier as _0x21a61d}from'@univerjs-pro/engine-formula';import{UnitAction as _0x3709ae,UnitObject as _0x230625}from'@univerjs/protocol';import{UniverLicensePlugin as _0x343622}from'@univerjs-pro/license';import{DataSyncPrimaryController as _0x1829c1}from'@univerjs/rpc';import{FormulaCalculationSessionService as _0x31dae7,FormulaResultApplicationType as _0x4cbf5b}from'@univerjs/engine-formula';function N(_0x32ae48){const _0x798058=_0x11ae;let _0x1c20a7=_0x32ae48[_0x798058(0x174)]['targetTableId'],_0xd25b67=_0x32ae48['config']['multiple'],_0x14ce76=_0x32ae48['config']['displayFieldId'],_0x32ae52=_0x32ae48['config']['pickerFieldIds'],_0x8ec418=_0x32ae48[_0x798058(0x174)][_0x798058(0x382)];return typeof _0x1c20a7!=_0x798058(0x2a0)||!_0x1c20a7||typeof _0xd25b67!='boolean'||_0x14ce76!==void 0x0&&(typeof _0x14ce76!=_0x798058(0x2a0)||!_0x14ce76)||_0x8ec418!==void 0x0&&_0x8ec418!==_0x3e0df7[_0x798058(0x4a4)]||_0x32ae52!==void 0x0&&(!Array[_0x798058(0x3fb)](_0x32ae52)||_0x32ae52[_0x798058(0x35d)](_0x3ecb7e=>typeof _0x3ecb7e!='string'||!_0x3ecb7e)||new Set(_0x32ae52)[_0x798058(0x1d0)]!==_0x32ae52['length'])?null:{'targetTableId':_0x1c20a7,'multiple':_0xd25b67,..._0x14ce76?{'displayFieldId':_0x14ce76}:{},..._0x32ae52?{'pickerFieldIds':[..._0x32ae52]}:{},..._0x8ec418?{'relationRole':_0x8ec418}:{}};}function Le(_0x275690){const _0x2fe2a1=_0x11ae;return typeof _0x275690!=_0x2fe2a1(0x2a0)||_0x275690===''?[]:_0x275690[_0x2fe2a1(0x2e5)](',');}function Re(_0x3f5687){const _0x4ccc06=_0x11ae;return Array[_0x4ccc06(0x1d1)](new Set(_0x3f5687))[_0x4ccc06(0x3a1)](',');}function ze(_0x441f1b,_0x5a164e){const _0x425dda=_0x11ae;if(typeof _0x441f1b!=_0x425dda(0x2a0))return{'valid':!0x1,'reason':_0x425dda(0x1f2)};if(_0x441f1b==='')return{'valid':!0x0};let _0x2ca89f=_0x441f1b[_0x425dda(0x2e5)](',');return!_0x5a164e&&_0x2ca89f['length']>0x1?{'valid':!0x1,'reason':_0x425dda(0x104)}:_0x2ca89f[_0x425dda(0x35d)](_0x100d95=>!_0x522a38(_0x100d95))||new Set(_0x2ca89f)[_0x425dda(0x1d0)]!==_0x2ca89f[_0x425dda(0x1bf)]||Re(_0x2ca89f)!==_0x441f1b?{'valid':!0x1,'reason':_0x425dda(0x164)}:{'valid':!0x0};}function Be(_0xb28297,_0x36b1da){const _0x18d13c=_0x11ae;if(_0x36b1da[_0x18d13c(0x346)]!==_0x1013ad[_0x18d13c(0x12f)])return{'valid':!0x0};let _0x16e702=N(_0x36b1da),_0x3c864d=_0x16e702?_0xb28297[_0x18d13c(0x486)][_0x16e702['targetTableId']]:void 0x0;if(!_0x16e702||!_0x3c864d)return{'valid':!0x1,'reason':_0x18d13c(0x1a9)};let _0x4e79e7=[..._0x16e702[_0x18d13c(0x2ca)]?[_0x16e702[_0x18d13c(0x2ca)]]:[],..._0x16e702[_0x18d13c(0x10b)]??[]][_0x18d13c(0x451)](_0x3c38e1=>{const _0xd1e89b=_0x18d13c;let _0x1ff143=_0x3c864d[_0xd1e89b(0x305)][_0x3c38e1];return!_0x1ff143||_0x1ff143[_0xd1e89b(0x272)]===!0x0||_0x1ff143[_0xd1e89b(0x346)]===_0x1013ad[_0xd1e89b(0x212)];});return _0x4e79e7?{'valid':!0x1,'reason':_0x18d13c(0x36a)+_0x4e79e7+_0x18d13c(0x4a8)}:{'valid':!0x0};}function Ve(_0x289972,_0x3bfc2c,_0x42afbb,_0x341ac4={}){const _0x5042b8=_0x11ae;let _0x6d7c54=N(_0x3bfc2c);if(_0x3bfc2c[_0x5042b8(0x346)]!==_0x1013ad[_0x5042b8(0x12f)]||!_0x6d7c54)return{'valid':!0x1,'reason':_0x5042b8(0x299)};let _0x4d3de3=ze(_0x42afbb,_0x6d7c54[_0x5042b8(0x3eb)]);if(!_0x4d3de3[_0x5042b8(0x48b)]||_0x341ac4[_0x5042b8(0x366)])return _0x4d3de3;let _0x499b61=_0x289972[_0x5042b8(0x486)][_0x6d7c54[_0x5042b8(0x16b)]];if(!_0x499b61)return{'valid':!0x1,'reason':_0x5042b8(0x1a9)};let _0xaaa988=Le(_0x42afbb)['find'](_0x2c553f=>!_0x499b61[_0x5042b8(0x1d7)][_0x2c553f]);return _0xaaa988?{'valid':!0x1,'reason':_0x5042b8(0x3db)+_0xaaa988+_0x5042b8(0x223)}:{'valid':!0x0};}function He(_0x298dda,_0x51335b){const _0x3a9c3c=_0x11ae;return Object['values'](_0x298dda['tables'])['flatMap'](_0x3d666b=>Object[_0x3a9c3c(0x259)](_0x3d666b['fields'])[_0x3a9c3c(0xeb)](_0x1479a0=>{const _0x5289f5=_0x3a9c3c;let _0x23e876=_0x1479a0[_0x5289f5(0x346)]===_0x1013ad['RecordLink']?N(_0x1479a0):null;return(_0x23e876==null?void 0x0:_0x23e876[_0x5289f5(0x16b)])===_0x51335b?[{'tableId':_0x3d666b['id'],'fieldId':_0x1479a0['id']}]:[];}));}const Ue=0x5,We=_0x327967(0x355);let Ge=function(_0x142e50){const _0x5a9b01=_0x327967;return _0x142e50[_0x5a9b01(0x11b)]=_0x5a9b01(0x421),_0x142e50[_0x5a9b01(0x256)]=_0x5a9b01(0x3bd),_0x142e50['SelfParent']=_0x5a9b01(0x43b),_0x142e50[_0x5a9b01(0x2d8)]=_0x5a9b01(0x403),_0x142e50['MaxDepth']=_0x5a9b01(0x231),_0x142e50[_0x5a9b01(0x287)]=_0x5a9b01(0x3ea),_0x142e50;}({});var P=class extends Error{constructor(_0x5f4b72,_0xddd344=_0x327967(0x2cf)+_0x5f4b72){const _0x250c1d=_0x327967;super(_0xddd344),this['code']=_0x5f4b72,this[_0x250c1d(0x158)]=_0x250c1d(0x247);}};let Ke=function(_0x1a17a7){const _0x4a8859=_0x327967;return _0x1a17a7['UI']='ui',_0x1a17a7[_0x4a8859(0x15b)]=_0x4a8859(0x111),_0x1a17a7[_0x4a8859(0x3c4)]='remote',_0x1a17a7[_0x4a8859(0x325)]='undo',_0x1a17a7[_0x4a8859(0x36e)]=_0x4a8859(0x274),_0x1a17a7[_0x4a8859(0x4a1)]=_0x4a8859(0x35a),_0x1a17a7;}({});function F(_0x25beba,_0x2f6c7f){const _0x2ecc5b=_0x327967;if(!_0x2f6c7f)return!0x1;let _0x578bf3=_0x25beba[_0x2ecc5b(0x305)][_0x2f6c7f];if(!_0x578bf3||_0x578bf3[_0x2ecc5b(0x346)]!==_0x1013ad[_0x2ecc5b(0x12f)])return!0x1;let _0x57f058=N(_0x578bf3);return _0x57f058?_0x57f058['targetTableId']===_0x25beba['id']&&_0x57f058['multiple']===!0x1:!0x1;}function qe(_0x2c1b56){const _0x32759d=_0x327967;return[..._0x2c1b56[_0x32759d(0x1f8)],...Object[_0x32759d(0x27a)](_0x2c1b56[_0x32759d(0x305)])[_0x32759d(0x1be)](_0x7efdb9=>!_0x2c1b56[_0x32759d(0x1f8)]['includes'](_0x7efdb9))['sort']()]['find'](_0x5d9350=>{const _0x2dfef3=_0x32759d;var _0x484d6f;return F(_0x2c1b56,_0x5d9350)?((_0x484d6f=N(_0x2c1b56[_0x2dfef3(0x305)][_0x5d9350]))==null?void 0x0:_0x484d6f[_0x2dfef3(0x382)])===_0x3e0df7['Parent']:!0x1;})??null;}function Je(_0x404bdf){const _0x2556b0=_0x327967;let _0x2ee720=qe(_0x404bdf);if(_0x2ee720)return _0x2ee720;let _0x3294c4=We,_0x45e5b6=0x2;for(;_0x404bdf[_0x2556b0(0x305)][_0x3294c4];)_0x3294c4=We+'_'+_0x45e5b6++;return _0x3294c4;}function Ye(_0x2d8ed6,_0x358a4c=Je(_0x2d8ed6),_0x4367b0=_0x327967(0x41f)){const _0x9064ee=_0x327967;return{'id':_0x358a4c,'name':_0x4367b0,'type':_0x1013ad[_0x9064ee(0x12f)],'config':{'targetTableId':_0x2d8ed6['id'],'multiple':!0x1,'displayFieldId':_0x2d8ed6[_0x9064ee(0x44a)],'pickerFieldIds':[_0x2d8ed6[_0x9064ee(0x44a)]],'relationRole':_0x3e0df7[_0x9064ee(0x4a4)]}};}function Xe(_0x122eda){let _0x210b7b=qe(_0x122eda);return _0x210b7b?[_0x210b7b]:[];}function Ze(_0x3d839d,_0x21904a){const _0x11cb5d=_0x327967;let _0x8bb56e=[...Xe(_0x3d839d)]['filter'](_0x7213f=>_0x21904a['some'](_0x36d13c=>Object[_0x11cb5d(0x331)][_0x11cb5d(0x150)][_0x11cb5d(0x171)](_0x36d13c['values'],_0x7213f)));if(!_0x8bb56e[_0x11cb5d(0x1bf)])return[];let _0x19a30b={..._0x3d839d[_0x11cb5d(0x1d7)]};_0x21904a[_0x11cb5d(0x29b)](_0x1d13d8=>{const _0x30c440=_0x11cb5d;let _0x58d0dd=_0x19a30b[_0x1d13d8[_0x30c440(0x345)]];_0x58d0dd&&(_0x19a30b[_0x1d13d8[_0x30c440(0x345)]]={..._0x58d0dd,'values':{..._0x58d0dd[_0x30c440(0x259)],..._0x1d13d8['values']}});});let _0x3c76f0={..._0x3d839d,'records':_0x19a30b},_0x3284e5=[];return _0x8bb56e[_0x11cb5d(0x29b)](_0x3d3f1b=>{const _0x57b813=_0x11cb5d;let _0x47dee4=tt(_0x3d839d,_0x3d3f1b),_0x38fefd=tt(_0x3c76f0,_0x3d3f1b);for(let [_0x1e7606,_0x15f533]of _0x38fefd[_0x57b813(0x206)]){let _0x4e0930=_0x21904a[_0x57b813(0x35d)](_0x548150=>_0x548150[_0x57b813(0x345)]===_0x1e7606&&Object[_0x57b813(0x331)][_0x57b813(0x150)][_0x57b813(0x171)](_0x548150[_0x57b813(0x259)],_0x3d3f1b));if(_0x47dee4[_0x57b813(0x206)][_0x57b813(0x318)](_0x1e7606)!==_0x15f533||_0x4e0930)throw new P($e(_0x15f533));}_0x21904a[_0x57b813(0x29b)](_0x468cee=>{const _0x2b0590=_0x57b813;if(!Object[_0x2b0590(0x331)][_0x2b0590(0x150)][_0x2b0590(0x171)](_0x468cee[_0x2b0590(0x259)],_0x3d3f1b))return;let _0x27c5c4=_0x47dee4[_0x2b0590(0x47c)]['get'](_0x468cee[_0x2b0590(0x345)])??null,_0x28ab78=_0x38fefd[_0x2b0590(0x47c)][_0x2b0590(0x318)](_0x468cee['recordId'])??null;_0x27c5c4!==_0x28ab78&&_0x3284e5['push']({'tableId':_0x3d839d['id'],'fieldId':_0x3d3f1b,'recordId':_0x468cee[_0x2b0590(0x345)],'oldParentRecordId':_0x27c5c4,'parentRecordId':_0x28ab78});});}),_0x3284e5;}function Qe(_0x5e1f46,_0xfff739){const _0x4f896e=_0x327967;let _0x10a2c6=_0xfff739[_0x4f896e(0x412)](_0x12e841=>_0x12e841['id']);if(new Set(_0x10a2c6)[_0x4f896e(0x1d0)]!==_0x10a2c6[_0x4f896e(0x1bf)]||_0x10a2c6[_0x4f896e(0x35d)](_0x4076af=>_0x5e1f46[_0x4f896e(0x1d7)][_0x4076af]))return[];let _0xf1122e=Xe(_0x5e1f46),_0x4d0061=_0xf1122e[_0x4f896e(0x1bf)]?null:Je(_0x5e1f46),_0x26d4dc=[..._0xf1122e,..._0x4d0061&&_0xfff739['some'](_0x347e6e=>Object[_0x4f896e(0x331)][_0x4f896e(0x150)]['call'](_0x347e6e[_0x4f896e(0x259)],_0x4d0061))?[_0x4d0061]:[]][_0x4f896e(0x1be)](_0x3284ba=>_0xfff739[_0x4f896e(0x35d)](_0x445cd5=>Object[_0x4f896e(0x331)][_0x4f896e(0x150)]['call'](_0x445cd5[_0x4f896e(0x259)],_0x3284ba)));if(!_0x26d4dc['length'])return[];let _0x7992db={..._0x5e1f46,'records':{..._0x5e1f46['records'],...Object[_0x4f896e(0x49f)](_0xfff739['map'](_0x289b7f=>[_0x289b7f['id'],_0x289b7f]))},'recordOrder':[..._0x5e1f46[_0x4f896e(0x1e2)]??[],..._0xfff739[_0x4f896e(0x412)](_0x338490=>_0x338490['id'])]},_0xf64709=[];return _0x26d4dc[_0x4f896e(0x29b)](_0x9257c6=>{const _0x419906=_0x4f896e;let _0x112683=tt(_0x7992db,_0x9257c6);_0xfff739[_0x419906(0x29b)](_0x52d96c=>{const _0x19fa2a=_0x419906;let _0x131500=_0x112683[_0x19fa2a(0x206)][_0x19fa2a(0x318)](_0x52d96c['id']);if(_0x131500)throw new P($e(_0x131500));let _0x2c7209=_0x112683[_0x19fa2a(0x47c)][_0x19fa2a(0x318)](_0x52d96c['id'])??null;_0x2c7209&&_0xf64709[_0x19fa2a(0x161)]({'tableId':_0x5e1f46['id'],'fieldId':_0x9257c6,'recordId':_0x52d96c['id'],'oldParentRecordId':null,'parentRecordId':_0x2c7209});});}),_0xf64709;}function $e(_0x3cf0a8){const _0x17e11e=_0x327967;switch(_0x3cf0a8){case _0x240c41[_0x17e11e(0x3a9)]:return _0x17e11e(0x3bd);case _0x240c41[_0x17e11e(0x38b)]:return _0x17e11e(0x43b);case _0x240c41[_0x17e11e(0x2d8)]:return'cycle';case _0x240c41['MaxDepth']:return _0x17e11e(0x231);}}function et(_0x512974,_0x1326a3){const _0x3dec9f=_0x327967;let _0x366a39=new Set(_0x1326a3),_0x159b4c=Xe(_0x512974);return Object[_0x3dec9f(0x259)](_0x512974[_0x3dec9f(0x1d7)])[_0x3dec9f(0xeb)](_0x3d8777=>_0x366a39[_0x3dec9f(0x103)](_0x3d8777['id'])?[]:Array[_0x3dec9f(0x1d1)](_0x159b4c)['flatMap'](_0x3715f1=>{const _0xb81a41=_0x3dec9f;let _0x9b48c9=Le(_0x3d8777['values'][_0x3715f1])[0x0]??null;return _0x9b48c9&&_0x366a39[_0xb81a41(0x103)](_0x9b48c9)?[{'tableId':_0x512974['id'],'fieldId':_0x3715f1,'recordId':_0x3d8777['id'],'oldParentRecordId':_0x9b48c9,'parentRecordId':null}]:[];}));}function tt(_0x260b4a,_0x222cad,_0x51c3dc=_0x260b4a[_0x327967(0x1e2)]??Object['keys'](_0x260b4a[_0x327967(0x1d7)])){const _0x2aab67=_0x327967;if((_0x260b4a[_0x2aab67(0x305)][_0x222cad]||_0x222cad!==Je(_0x260b4a))&&!F(_0x260b4a,_0x222cad))throw Error(_0x2aab67(0x4a9)+_0x222cad+_0x2aab67(0x1d6));let _0x5dc2bb=at(_0x260b4a,_0x51c3dc),_0x17f2a7=new Map(),_0x515da3=new Map();for(let _0x30ea73 of _0x5dc2bb){var _0x384b10;let _0x57572e=Le((_0x384b10=_0x260b4a[_0x2aab67(0x1d7)][_0x30ea73])==null?void 0x0:_0x384b10[_0x2aab67(0x259)][_0x222cad])[0x0]??null;_0x57572e?_0x57572e===_0x30ea73?(_0x17f2a7[_0x2aab67(0x3fe)](_0x30ea73,null),_0x515da3[_0x2aab67(0x3fe)](_0x30ea73,_0x240c41[_0x2aab67(0x38b)])):_0x260b4a[_0x2aab67(0x1d7)][_0x57572e]?_0x17f2a7[_0x2aab67(0x3fe)](_0x30ea73,_0x57572e):(_0x17f2a7['set'](_0x30ea73,null),_0x515da3['set'](_0x30ea73,_0x240c41[_0x2aab67(0x3a9)])):_0x17f2a7[_0x2aab67(0x3fe)](_0x30ea73,null);}ot(_0x17f2a7,_0x515da3,_0x5dc2bb),st(_0x17f2a7,_0x515da3,_0x5dc2bb);let _0x10eaa9=new Map(_0x5dc2bb['map']((_0x5d59f9,_0x4d8038)=>[_0x5d59f9,_0x4d8038])),_0x47801b=new Map();for(let _0x1b380b of _0x5dc2bb){let _0x506496=_0x17f2a7[_0x2aab67(0x318)](_0x1b380b)??null,_0x568c9e=_0x47801b[_0x2aab67(0x318)](_0x506496)??[];_0x568c9e['push'](_0x1b380b),_0x47801b[_0x2aab67(0x3fe)](_0x506496,_0x568c9e);}_0x47801b['forEach'](_0x161d55=>_0x161d55[_0x2aab67(0x460)]((_0xcc055b,_0x39add1)=>(_0x10eaa9[_0x2aab67(0x318)](_0xcc055b)??0x0)-(_0x10eaa9[_0x2aab67(0x318)](_0x39add1)??0x0)));let _0x510719=_0x47801b[_0x2aab67(0x318)](null)??[],_0x5a311d=new Map(),_0x4d42fb=new Map(),_0x1b7a11=[],_0x52684a=(_0x30bf12,_0xa8d9bb)=>{const _0x246344=_0x2aab67;_0x5a311d[_0x246344(0x3fe)](_0x30bf12,_0xa8d9bb),_0x1b7a11['push'](_0x30bf12);let _0x420d1f=0x0;for(let _0x2d9f1d of _0x47801b['get'](_0x30bf12)??[])_0x420d1f=Math['max'](_0x420d1f,0x1+_0x52684a(_0x2d9f1d,_0xa8d9bb+0x1));return _0x4d42fb[_0x246344(0x3fe)](_0x30bf12,_0x420d1f),_0x420d1f;};return _0x510719[_0x2aab67(0x29b)](_0x1bcd6a=>_0x52684a(_0x1bcd6a,0x0)),{'fieldId':_0x222cad,'parentByRecordId':_0x17f2a7,'childrenByParentId':_0x47801b,'depthByRecordId':_0x5a311d,'subtreeHeightByRecordId':_0x4d42fb,'invalidReasonByRecordId':_0x515da3,'rootRecordIds':_0x510719,'orderedRecordIds':_0x1b7a11};}function nt(_0x5228fd,_0x39b98c,_0xa8187f=new Set(_0x39b98c['map'](_0x3ab8d4=>_0x3ab8d4['recordId']))){const _0x3e428c=_0x327967;let _0x32a248=new Set(_0xa8187f);for(let _0x7b4cc7 of _0xa8187f){let _0x1cbfe7=_0x5228fd['parentByRecordId'][_0x3e428c(0x318)](_0x7b4cc7)??null;for(;_0x1cbfe7;)_0x32a248[_0x3e428c(0x12e)](_0x1cbfe7),_0x1cbfe7=_0x5228fd['parentByRecordId'][_0x3e428c(0x318)](_0x1cbfe7)??null;}let _0x282fd7=new Map(_0x39b98c[_0x3e428c(0x412)](_0x2b42e7=>[_0x2b42e7[_0x3e428c(0x345)],_0x2b42e7])),_0x59e2d9=_0x5228fd[_0x3e428c(0x437)][_0x3e428c(0x1be)](_0x3376da=>_0x32a248[_0x3e428c(0x103)](_0x3376da)),_0x3a7e21=_0x59e2d9['flatMap'](_0x52ae6f=>{const _0x1e7b5d=_0x3e428c;let _0x240999=_0x282fd7[_0x1e7b5d(0x318)](_0x52ae6f);return _0x240999?[_0x240999]:[];}),_0x452302={};for(let _0x28b9c5=0x0;_0x28b9c5<_0x59e2d9[_0x3e428c(0x1bf)];_0x28b9c5++){let _0x587d30=_0x59e2d9[_0x28b9c5];_0x452302[_0x587d30]={'recordId':_0x587d30,'parentRecordId':_0x5228fd[_0x3e428c(0x47c)][_0x3e428c(0x318)](_0x587d30)??null,'depth':_0x5228fd[_0x3e428c(0x308)][_0x3e428c(0x318)](_0x587d30)??0x0,'directChildCount':(_0x5228fd[_0x3e428c(0x471)][_0x3e428c(0x318)](_0x587d30)??[])['length'],'subtreeHeight':_0x5228fd[_0x3e428c(0x3a6)][_0x3e428c(0x318)](_0x587d30)??0x0,'subtreeEndIndex':_0x28b9c5,'invalidReason':_0x5228fd['invalidReasonByRecordId'][_0x3e428c(0x318)](_0x587d30)};}let _0xc4e2c1=[];for(let _0x548f75=0x0;_0x548f75<_0x59e2d9['length'];_0x548f75++){let _0x2c7cc6=_0x59e2d9[_0x548f75],_0xcbff44=_0x452302[_0x2c7cc6]['depth'];for(;_0xc4e2c1[_0x3e428c(0x1bf)]&&_0xc4e2c1[_0xc4e2c1[_0x3e428c(0x1bf)]-0x1][_0x3e428c(0x442)]>=_0xcbff44;){let _0x4eb6c5=_0xc4e2c1['pop']();_0x452302[_0x4eb6c5['recordId']]['subtreeEndIndex']=_0x548f75-0x1;}_0xc4e2c1[_0x3e428c(0x161)]({'recordId':_0x2c7cc6,'depth':_0xcbff44});}return _0xc4e2c1['forEach'](({recordId:_0x59765d})=>{_0x452302[_0x59765d]['subtreeEndIndex']=_0x59e2d9['length']-0x1;}),{'rows':_0x3a7e21,'hierarchy':{'fieldId':_0x5228fd[_0x3e428c(0x173)],'rootRecordIds':_0x5228fd[_0x3e428c(0x32f)][_0x3e428c(0x1be)](_0x471116=>_0x32a248[_0x3e428c(0x103)](_0x471116)),'orderedRecordIds':_0x59e2d9,'nodes':_0x452302}};}function rt(_0x47d198,_0x3e11f7){const _0x3a2ce8=_0x327967;if(!_0x47d198[_0x3a2ce8(0xec)]||!(_0x3e11f7!=null&&_0x3e11f7[_0x3a2ce8(0x1d0)]))return _0x47d198[_0x3a2ce8(0x26f)];let _0x1fd762=[],_0x197ecc=0x0;for(;_0x197ecc<_0x47d198[_0x3a2ce8(0x26f)][_0x3a2ce8(0x1bf)];){let _0x321b5a=_0x47d198[_0x3a2ce8(0x26f)][_0x197ecc];_0x1fd762[_0x3a2ce8(0x161)](_0x321b5a);let _0x16d493=_0x47d198[_0x3a2ce8(0xec)]['nodes'][_0x321b5a[_0x3a2ce8(0x345)]];_0x197ecc=_0x3e11f7[_0x3a2ce8(0x103)](_0x321b5a[_0x3a2ce8(0x345)])&&_0x16d493?_0x16d493[_0x3a2ce8(0x2cd)]+0x1:_0x197ecc+0x1;}return _0x1fd762;}function _0x11ae(_0x599db4,_0x3fecbf){_0x599db4=_0x599db4-0xdc;const _0x4f42a9=_0x4f42();let _0x11aea9=_0x4f42a9[_0x599db4];return _0x11aea9;}function it(_0x1912c4,_0x221a1c,_0x20cb3b){const _0x5108e0=_0x327967;if(!_0x20cb3b)return{'valid':!0x0};if(_0x221a1c===_0x20cb3b)return{'valid':!0x1,'reason':_0x240c41[_0x5108e0(0x38b)]};let _0x406ce0=_0x20cb3b;for(;_0x406ce0;){if(_0x406ce0===_0x221a1c)return{'valid':!0x1,'reason':_0x240c41[_0x5108e0(0x2d8)]};_0x406ce0=_0x1912c4[_0x5108e0(0x47c)][_0x5108e0(0x318)](_0x406ce0)??null;}return(_0x1912c4[_0x5108e0(0x308)]['get'](_0x20cb3b)??0x0)+0x1+(_0x1912c4[_0x5108e0(0x3a6)][_0x5108e0(0x318)](_0x221a1c)??0x0)>=0x5?{'valid':!0x1,'reason':_0x240c41['MaxDepth']}:{'valid':!0x0};}function at(_0x48e3df,_0x295753){const _0x5c89d2=_0x327967;let _0x1030cc=new Set(),_0x3c503e=[];for(let _0x43506e of _0x295753)_0x48e3df[_0x5c89d2(0x1d7)][_0x43506e]&&!_0x1030cc[_0x5c89d2(0x103)](_0x43506e)&&(_0x1030cc['add'](_0x43506e),_0x3c503e[_0x5c89d2(0x161)](_0x43506e));return Object[_0x5c89d2(0x27a)](_0x48e3df[_0x5c89d2(0x1d7)])['sort']()[_0x5c89d2(0x29b)](_0x127de5=>{const _0x44dd48=_0x5c89d2;_0x1030cc['has'](_0x127de5)||_0x3c503e[_0x44dd48(0x161)](_0x127de5);}),_0x3c503e;}function ot(_0x3de256,_0x238d58,_0x320114){const _0x3dfa11=_0x327967;let _0xe505ac=new Set();for(let _0x2e0a1a of _0x320114){if(_0xe505ac[_0x3dfa11(0x103)](_0x2e0a1a))continue;let _0x7f211c=[],_0x1ed3b8=new Map(),_0x5dc897=_0x2e0a1a;for(;_0x5dc897&&!_0xe505ac[_0x3dfa11(0x103)](_0x5dc897);){let _0x3394fe=_0x1ed3b8['get'](_0x5dc897);if(_0x3394fe!=null){let _0x1ad0cd=[..._0x7f211c['slice'](_0x3394fe)][_0x3dfa11(0x460)]()['pop']();_0x3de256[_0x3dfa11(0x3fe)](_0x1ad0cd,null),_0x238d58[_0x3dfa11(0x3fe)](_0x1ad0cd,_0x240c41[_0x3dfa11(0x2d8)]);break;}_0x1ed3b8[_0x3dfa11(0x3fe)](_0x5dc897,_0x7f211c[_0x3dfa11(0x1bf)]),_0x7f211c[_0x3dfa11(0x161)](_0x5dc897),_0x5dc897=_0x3de256[_0x3dfa11(0x318)](_0x5dc897)??null;}_0x7f211c[_0x3dfa11(0x29b)](_0x57a92e=>_0xe505ac['add'](_0x57a92e));}}function st(_0x3efc1e,_0x59291b,_0x5a9087){const _0x403c5c=_0x327967;let _0x4a6fac=new Map(),_0x44c2f3=_0x3e1583=>{const _0x14bc65=_0x11ae;let _0x5a9592=_0x4a6fac[_0x14bc65(0x318)](_0x3e1583);if(_0x5a9592!=null)return _0x5a9592;let _0x40488b=_0x3efc1e[_0x14bc65(0x318)](_0x3e1583)??null;if(!_0x40488b)return _0x4a6fac['set'](_0x3e1583,0x0),0x0;let _0x449560=_0x44c2f3(_0x40488b)+0x1;return _0x449560>=0x5?(_0x3efc1e[_0x14bc65(0x3fe)](_0x3e1583,null),_0x59291b[_0x14bc65(0x3fe)](_0x3e1583,_0x240c41['MaxDepth']),_0x4a6fac[_0x14bc65(0x3fe)](_0x3e1583,0x0),0x0):(_0x4a6fac[_0x14bc65(0x3fe)](_0x3e1583,_0x449560),_0x449560);};_0x5a9087[_0x403c5c(0x29b)](_0x44c2f3);}let ct=0x0;function lt(){const _0x578b28=_0x327967;if(globalThis[_0x578b28(0x22e)]===!0x0)return!0x0;try{let _0x5b6249=typeof location>'u'?'':location[_0x578b28(0x1f4)],_0x5255d8=new URLSearchParams(_0x5b6249);if(_0x5255d8[_0x578b28(0x318)]('basePerf')==='1'||_0x5255d8[_0x578b28(0x318)](_0x578b28(0x2c3))==='true'||_0x5255d8[_0x578b28(0x318)](_0x578b28(0x27c))==='1')return!0x0;}catch{}try{let _0x36493e=typeof localStorage>'u'?null:localStorage[_0x578b28(0x213)](_0x578b28(0x14d));return _0x36493e==='1'||_0x36493e===_0x578b28(0x1f3);}catch{return!0x1;}}function I(_0x571df2,_0x20a952,_0x458990){const _0x20a709=_0x327967;if(!lt())return _0x20a952();let _0x1b4122=dt(),_0x476427=_0x20a709(0x2af)+ct++;ft(_0x476427+_0x20a709(0x16e));try{return _0x20a952();}finally{let _0x391756=dt()-_0x1b4122;ft(_0x476427+_0x20a709(0x347)),pt(_0x571df2,_0x476427+_0x20a709(0x16e),_0x476427+':end'),ut(_0x571df2,_0x391756,_0x458990);}}function ut(_0x10bbd8,_0x4cca2b,_0x1a4304){const _0x30549f=_0x327967;if(!lt())return;let _0x1ea452=Math['round'](_0x4cca2b*0x64)/0x64,_0x3c1a5b=_0x1a4304&&Object[_0x30549f(0x27a)](_0x1a4304)[_0x30549f(0x1bf)]?'\x20'+JSON['stringify'](_0x1a4304):'';console[_0x30549f(0x294)](_0x30549f(0x14c)+_0x10bbd8+':\x20'+_0x1ea452+'ms'+_0x3c1a5b);}function dt(){const _0x490ce3=_0x327967;return typeof performance<'u'&&typeof performance['now']==_0x490ce3(0x2ef)?performance[_0x490ce3(0xfa)]():Date[_0x490ce3(0xfa)]();}function ft(_0xee105e){const _0x5395fc=_0x327967;try{if(typeof performance<'u'){var _0x3d3f4b,_0x4f0d3f;(_0x3d3f4b=(_0x4f0d3f=performance)[_0x5395fc(0x254)])==null||_0x3d3f4b['call'](_0x4f0d3f,_0xee105e);}}catch{}}function pt(_0xc0129d,_0x526d6b,_0x490501){const _0x1409c8=_0x327967;try{if(typeof performance<'u'){var _0x470932,_0x5565a2;(_0x470932=(_0x5565a2=performance)[_0x1409c8(0x3bb)])==null||_0x470932[_0x1409c8(0x171)](_0x5565a2,_0x1409c8(0x14c)+_0xc0129d,_0x526d6b,_0x490501);}}catch{}}function L(_0x569474){const _0x7cca15=_0x327967;var _0x2f44e1;return lt()?I(_0x7cca15(0xfe),()=>mt(_0x569474),{'tableId':_0x569474['id'],'records':Object[_0x7cca15(0x27a)](_0x569474[_0x7cca15(0x1d7)]??{})[_0x7cca15(0x1bf)],'fields':_0x569474[_0x7cca15(0x1f8)][_0x7cca15(0x1bf)],'hasRecordOrder':!!((_0x2f44e1=_0x569474[_0x7cca15(0x1e2)])!=null&&_0x2f44e1[_0x7cca15(0x1bf)])}):mt(_0x569474);}function mt(_0x23b759){const _0x16108a=_0x327967;var _0x2d2ddb;let _0x8ca96a=_0x23b759[_0x16108a(0x1d7)]??{},_0x1e1578=_0x23b759[_0x16108a(0x305)]??{},_0x3ddc48=((_0x2d2ddb=_0x23b759[_0x16108a(0x1e2)])==null?void 0x0:_0x2d2ddb[_0x16108a(0x1be)](_0x27a319=>_0x8ca96a[_0x27a319]))??[],_0x3005f2=new Set(_0x3ddc48),_0x2fcd54=[];for(let _0x435e64 of Object[_0x16108a(0x259)](_0x8ca96a))_0x3005f2['has'](_0x435e64['id'])||_0x2fcd54[_0x16108a(0x161)](_0x435e64);let _0x5b91f1=_0x2fcd54['length']?[..._0x3ddc48,...Rt(_0x2fcd54)]:_0x3ddc48,_0x9dc2ca=_0x23b759['fieldOrder'][_0x16108a(0x1be)](_0x3df87e=>_0x1e1578[_0x3df87e]),_0x1e6ec8={..._0x23b759[_0x16108a(0x2a7)]??{}},_0x2662e0={..._0x23b759[_0x16108a(0x2ba)]??{}},_0x4b9070={..._0x23b759['cellData']??{}};_0x23b759['recordOrder']=_0x5b91f1,_0x23b759['rowIndex']={},_0x23b759[_0x16108a(0x2a7)]={},_0x23b759[_0x16108a(0x22a)]={},_0x23b759[_0x16108a(0x2ba)]={},_0x23b759[_0x16108a(0xdd)]={},_0x23b759[_0x16108a(0x2b3)]={..._0x23b759[_0x16108a(0x2b3)]??{}},_0x23b759[_0x16108a(0x2b3)]['attachmentSets']={..._0x23b759[_0x16108a(0x2b3)][_0x16108a(0x40e)]??{}},_0x23b759[_0x16108a(0x2b3)][_0x16108a(0x320)]={..._0x23b759[_0x16108a(0x2b3)]['attachments']??{}};let _0xbb9fe8=_0x23b759[_0x16108a(0x257)],_0x1b6bdf=_0x23b759[_0x16108a(0x2a7)],_0x29cd69=_0x23b759[_0x16108a(0x22a)],_0x335622=_0x23b759[_0x16108a(0x2ba)],_0x24acbe=_0x23b759[_0x16108a(0xdd)];return _0x5b91f1[_0x16108a(0x29b)]((_0x5074ca,_0x37e27c)=>{_0xbb9fe8[_0x5074ca]=_0x37e27c,_0x1b6bdf[_0x37e27c]=_0x5074ca;}),_0x9dc2ca[_0x16108a(0x29b)]((_0x3b1f0c,_0x225edb)=>{_0x29cd69[_0x3b1f0c]=_0x225edb,_0x335622[_0x225edb]=_0x3b1f0c;}),Object['entries'](_0x4b9070)[_0x16108a(0x29b)](([_0x1450d8,_0x4a06a8])=>{const _0x2ea635=_0x16108a;let _0x530e89=Number(_0x1450d8),_0x16acab=_0x1e6ec8[_0x530e89]??_0x5b91f1[_0x530e89],_0x44a83c=_0x16acab?_0xbb9fe8[_0x16acab]:void 0x0;_0x44a83c!=null&&(_0x24acbe[_0x44a83c]={..._0x24acbe[_0x44a83c]??{}},Object[_0x2ea635(0x209)](_0x4a06a8??{})[_0x2ea635(0x29b)](([_0x2fe583,_0x27f0c4])=>{let _0x53066d=Number(_0x2fe583),_0x1e8575=_0x2662e0[_0x53066d]??_0x9dc2ca[_0x53066d],_0x1b9a88=_0x1e8575?_0x29cd69[_0x1e8575]:void 0x0;_0x1b9a88!=null&&(_0x24acbe[_0x44a83c][_0x1b9a88]=St(_0x27f0c4));}));}),Object[_0x16108a(0x259)](_0x8ca96a)[_0x16108a(0x29b)](_0x18a818=>{const _0x4a5bb0=_0x16108a;let _0x4ea5ac=_0xbb9fe8[_0x18a818['id']];_0x4ea5ac!=null&&(_0x18a818[_0x4a5bb0(0x259)]={..._0x18a818[_0x4a5bb0(0x259)]??{},[_0x40fc9d]:_0x18a818['id']},_0x24acbe[_0x4ea5ac]={..._0x24acbe[_0x4ea5ac]??{},0x0:{'v':_0x18a818['id'],'t':_0x556bff['STRING']}},Object['entries'](_0x18a818[_0x4a5bb0(0x259)]??{})[_0x4a5bb0(0x29b)](([_0x293bd6,_0xe20647])=>{let _0x3fa2fe=_0x1e1578[_0x293bd6];(_0x3fa2fe==null?void 0x0:_0x3fa2fe['type'])===_0x1013ad['Attachment']&&Dt(_0x23b759,_0x18a818['id'],_0x293bd6,_0xe20647);let _0x3b9d82=_0x29cd69[_0x293bd6];if(_0x3b9d82==null)return;let _0x3e066c=_0x24acbe[_0x4ea5ac][_0x3b9d82];if(_0x3e066c!=null){jt(_0x3e066c,_0x3fa2fe,_0xe20647)&&(_0x24acbe[_0x4ea5ac][_0x3b9d82]=xt(_0xe20647,_0x3fa2fe));return;}_0x24acbe[_0x4ea5ac][_0x3b9d82]=xt(_0xe20647,_0x3fa2fe);}));}),_0x23b759;}function ht(_0x10facf,_0x27f3f9){const _0x51df34=_0x327967;return _0x10facf['records']=Object[_0x51df34(0x49f)](Object[_0x51df34(0x209)](_0x10facf[_0x51df34(0x1d7)])['map'](([_0x4c5a46,_0x1c6039])=>[_0x4c5a46,{..._0x1c6039}])),L(_0x10facf),Object['entries'](_0x10facf[_0x51df34(0x2a7)]??{})[_0x51df34(0x29b)](([_0xa7429,_0x4daf5d])=>{const _0x6d1f0c=_0x51df34;var _0x5bcc5a;let _0x4869b1=Number(_0xa7429),_0x58d72d=_0x10facf[_0x6d1f0c(0x1d7)][_0x4daf5d];_0x58d72d&&(_0x58d72d[_0x6d1f0c(0x259)]={..._0x58d72d[_0x6d1f0c(0x259)]??{}},Object[_0x6d1f0c(0x209)](((_0x5bcc5a=_0x10facf['cellData'])==null?void 0x0:_0x5bcc5a[_0x4869b1])??{})[_0x6d1f0c(0x29b)](([_0x1bb150,_0x1c9cdf])=>{const _0x431f16=_0x6d1f0c;var _0x4db98c;let _0x3fd868=(_0x4db98c=_0x10facf[_0x431f16(0x2ba)])==null?void 0x0:_0x4db98c[Number(_0x1bb150)];_0x3fd868&&_0x27f3f9&&!_0x27f3f9(_0x4daf5d,_0x3fd868)||(_0x3fd868===_0x40fc9d?_0x58d72d[_0x431f16(0x259)][_0x40fc9d]=_0x58d72d['id']:_0x3fd868&&(_0x58d72d[_0x431f16(0x259)][_0x3fd868]=Ct(_0x1c9cdf,_0x10facf[_0x431f16(0x305)][_0x3fd868],_0x10facf,_0x4daf5d)));}));}),_0x10facf;}function gt(_0x3ebd50,_0xdd37e0){const _0x57e9c6=_0x327967;for(let {row:_0x2c6468,col:_0x4bf06d}of _0xdd37e0){var _0x473a08,_0x49be48,_0x5cd912;let _0x196ded=(_0x473a08=_0x3ebd50[_0x57e9c6(0x2a7)])==null?void 0x0:_0x473a08[_0x2c6468],_0x58a565=(_0x49be48=_0x3ebd50[_0x57e9c6(0x2ba)])==null?void 0x0:_0x49be48[_0x4bf06d],_0x420808=_0x196ded?_0x3ebd50[_0x57e9c6(0x1d7)][_0x196ded]:void 0x0;if(!_0x420808||!_0x58a565)continue;if(_0x58a565===_0x40fc9d){_0x420808['values'][_0x40fc9d]=_0x420808['id'];continue;}let _0x3ab8f4=(_0x5cd912=_0x3ebd50[_0x57e9c6(0xdd)])==null||(_0x5cd912=_0x5cd912[_0x2c6468])==null?void 0x0:_0x5cd912[_0x4bf06d];(_0x3ab8f4!=null||Object[_0x57e9c6(0x331)][_0x57e9c6(0x150)][_0x57e9c6(0x171)](_0x420808[_0x57e9c6(0x259)]??{},_0x58a565))&&(_0x420808[_0x57e9c6(0x259)]={..._0x420808[_0x57e9c6(0x259)]??{}},_0x420808[_0x57e9c6(0x259)][_0x58a565]=Ct(_0x3ab8f4,_0x3ebd50[_0x57e9c6(0x305)][_0x58a565],_0x3ebd50,_0x196ded));}return _0x3ebd50;}function _t(_0x137a4c,_0x523996,_0x392e70){const _0x5df792=_0x327967;var _0x39f338,_0x250ef7,_0x18ec08,_0xe0e577,_0x3a1464,_0x13e17b;let _0x798c55=(_0x39f338=_0x137a4c[_0x5df792(0x257)])==null?void 0x0:_0x39f338[_0x523996],_0x3b1838=(_0x250ef7=_0x137a4c['colIndex'])==null?void 0x0:_0x250ef7[_0x392e70];if(_0x798c55!=null&&_0x3b1838!=null&&((_0x18ec08=_0x137a4c[_0x5df792(0x2a7)])==null?void 0x0:_0x18ec08[_0x798c55])===_0x523996&&((_0xe0e577=_0x137a4c[_0x5df792(0x2ba)])==null?void 0x0:_0xe0e577[_0x3b1838])===_0x392e70)return{'row':_0x798c55,'col':_0x3b1838};let _0x44cd7c=L(_0x137a4c),_0x3d3375=(_0x3a1464=_0x44cd7c[_0x5df792(0x257)])==null?void 0x0:_0x3a1464[_0x523996],_0xa2816a=(_0x13e17b=_0x44cd7c[_0x5df792(0x22a)])==null?void 0x0:_0x13e17b[_0x392e70];return _0x3d3375==null||_0xa2816a==null?null:{'row':_0x3d3375,'col':_0xa2816a};}function vt(_0x3207df,_0x116eef,_0x2a28af){const _0x5941fc=_0x327967;var _0x17653f;let _0x420c46=_t(_0x3207df,_0x116eef,_0x2a28af);if(_0x420c46)return(_0x17653f=_0x3207df[_0x5941fc(0xdd)])==null||(_0x17653f=_0x17653f[_0x420c46['row']])==null?void 0x0:_0x17653f[_0x420c46['col']];}function yt(_0x417fac,_0x57457b,_0x15598a){const _0x320706=_0x327967;var _0x3cbda9;let _0x4d1820=vt(_0x417fac,_0x57457b,_0x15598a),_0x3e0836=_0x417fac[_0x320706(0x305)][_0x15598a];if((_0x3e0836==null?void 0x0:_0x3e0836['type'])===_0x1013ad[_0x320706(0x49d)]){var _0x370520;return Ot(_0x417fac,_0x57457b,_0x15598a)??kt((_0x370520=_0x417fac['records'][_0x57457b])==null||(_0x370520=_0x370520[_0x320706(0x259)])==null?void 0x0:_0x370520[_0x15598a]);}if(Mt(_0x3e0836)||Nt(_0x3e0836)||(_0x3e0836==null?void 0x0:_0x3e0836[_0x320706(0x346)])===_0x1013ad[_0x320706(0x170)]){var _0x5ed585;let _0x351f38=(_0x5ed585=_0x417fac[_0x320706(0x1d7)][_0x57457b])==null||(_0x5ed585=_0x5ed585[_0x320706(0x259)])==null?void 0x0:_0x5ed585[_0x15598a];return _0x351f38!=null&&_0x351f38!==''?At(_0x351f38,_0x3e0836):Ct(_0x4d1820,_0x3e0836,_0x417fac,_0x57457b);}return _0x4d1820&&Object[_0x320706(0x331)][_0x320706(0x150)]['call'](_0x4d1820,'v')?_0x4d1820['v']??null:((_0x3cbda9=_0x417fac[_0x320706(0x1d7)][_0x57457b])==null||(_0x3cbda9=_0x3cbda9['values'])==null?void 0x0:_0x3cbda9[_0x15598a])??null;}function bt(_0x36dbe4,_0x1cfaea,_0x4da394){const _0x3571d0=_0x327967;var _0x1c3b46;let _0x2fce9e=vt(_0x36dbe4,_0x1cfaea,_0x4da394);if(_0x2fce9e&&Object[_0x3571d0(0x331)][_0x3571d0(0x150)][_0x3571d0(0x171)](_0x2fce9e,'v'))return _0x2fce9e['v']??null;let _0x1ea93e=_0x36dbe4[_0x3571d0(0x305)][_0x4da394];return xt(((_0x1c3b46=_0x36dbe4[_0x3571d0(0x1d7)][_0x1cfaea])==null||(_0x1c3b46=_0x1c3b46[_0x3571d0(0x259)])==null?void 0x0:_0x1c3b46[_0x4da394])??null,_0x1ea93e)['v']??null;}function xt(_0x5ef7d1,_0x5b469b){const _0x598142=_0x327967;if(Tt(_0x5ef7d1))return(_0x5b469b==null?void 0x0:_0x5b469b[_0x598142(0x346)])===_0x1013ad[_0x598142(0x49d)]?{..._0x5ef7d1,'v':'','t':_0x556bff[_0x598142(0x334)]}:St(_0x5ef7d1);if((_0x5b469b==null?void 0x0:_0x5b469b['type'])===_0x1013ad[_0x598142(0x49d)])return{'v':'','t':_0x556bff[_0x598142(0x334)]};if(Nt(_0x5b469b)){let _0xef4ec7=Pt(_0x5ef7d1);return{'v':_0xef4ec7,'t':Lt(_0xef4ec7)};}if(Mt(_0x5b469b))return{'v':Ft(_0x5ef7d1)['join'](',\x20'),'t':_0x556bff[_0x598142(0x334)]};if((_0x5b469b==null?void 0x0:_0x5b469b['type'])===_0x1013ad[_0x598142(0x170)]&&_0x5ef7d1&&typeof _0x5ef7d1==_0x598142(0x3d8)&&!Array['isArray'](_0x5ef7d1)){let _0x2179de=_0x5ef7d1;return{'v':String(_0x2179de[_0x598142(0x179)]??_0x2179de['url']??''),'t':_0x556bff[_0x598142(0x334)]};}return _0x5ef7d1===null||typeof _0x5ef7d1=='string'||typeof _0x5ef7d1==_0x598142(0x218)||typeof _0x5ef7d1==_0x598142(0x224)?{'v':_0x5ef7d1,'t':Lt(_0x5ef7d1)}:{'v':null,'t':null};}function St(_0x265007){let _0x333244=zt(_0x265007['t'],_0x265007['v']);if(_0x333244===void 0x0){let {t:_0x179b79,..._0x5a1772}=_0x265007;return _0x5a1772;}return{..._0x265007,'t':_0x333244};}function Ct(_0x5a254f,_0x1a9f2c,_0x23cda8,_0x125b6b){const _0x99ffd5=_0x327967;if(!_0x5a254f)return null;if((_0x1a9f2c==null?void 0x0:_0x1a9f2c[_0x99ffd5(0x346)])===_0x1013ad[_0x99ffd5(0x49d)])return _0x23cda8&&_0x125b6b?Ot(_0x23cda8,_0x125b6b,_0x1a9f2c['id'])??[]:[];if(Mt(_0x1a9f2c))return Ft(_0x5a254f['v']);if((_0x1a9f2c==null?void 0x0:_0x1a9f2c[_0x99ffd5(0x346)])===_0x1013ad['Link']&&_0x23cda8&&_0x125b6b){var _0x583520;let _0x1b7203=(_0x583520=_0x23cda8[_0x99ffd5(0x1d7)][_0x125b6b])==null||(_0x583520=_0x583520[_0x99ffd5(0x259)])==null?void 0x0:_0x583520[_0x1a9f2c['id']];if(_0x1b7203&&typeof _0x1b7203==_0x99ffd5(0x3d8)&&!Array[_0x99ffd5(0x3fb)](_0x1b7203))return _0x1b7203;}return Object['prototype'][_0x99ffd5(0x150)][_0x99ffd5(0x171)](_0x5a254f,'v')?_0x5a254f['v']??null:null;}function wt(_0xbc2f2d,_0x15a33b,_0x4cd5bf,_0x4a51e3,_0x10ba82){const _0x23412a=_0x327967;return(_0x4cd5bf==null?void 0x0:_0x4cd5bf[_0x23412a(0x346)])===_0x1013ad[_0x23412a(0x49d)]?kt(_0xbc2f2d):Nt(_0x4cd5bf)?Pt(_0xbc2f2d):Mt(_0x4cd5bf)?Ft(_0xbc2f2d):(_0x4cd5bf==null?void 0x0:_0x4cd5bf[_0x23412a(0x346)])===_0x1013ad[_0x23412a(0x170)]&&(_0xbc2f2d==null||_0xbc2f2d==='')?null:(_0x4cd5bf==null?void 0x0:_0x4cd5bf['type'])===_0x1013ad[_0x23412a(0x170)]&&_0xbc2f2d&&typeof _0xbc2f2d==_0x23412a(0x3d8)&&!Array[_0x23412a(0x3fb)](_0xbc2f2d)&&!Tt(_0xbc2f2d)?_0xbc2f2d:Ct(_0x15a33b,_0x4cd5bf,_0x4a51e3,_0x10ba82);}function Tt(_0x40de29){const _0x59c287=_0x327967;return!!_0x40de29&&typeof _0x40de29==_0x59c287(0x3d8)&&(Object[_0x59c287(0x331)][_0x59c287(0x150)]['call'](_0x40de29,'v')||Object[_0x59c287(0x331)][_0x59c287(0x150)][_0x59c287(0x171)](_0x40de29,'t')||Object[_0x59c287(0x331)]['hasOwnProperty'][_0x59c287(0x171)](_0x40de29,'p')||Object['prototype'][_0x59c287(0x150)]['call'](_0x40de29,'f')||Object['prototype']['hasOwnProperty'][_0x59c287(0x171)](_0x40de29,'si'));}function Et(_0x14de81,_0x43d3a0){return _0x14de81+'\x1f'+_0x43d3a0;}function Dt(_0x3f957c,_0xec78bb,_0x451143,_0xb2de2c){const _0x1677b2=_0x327967;let _0x1c43fb=kt(_0xb2de2c);_0x3f957c[_0x1677b2(0x2b3)]={..._0x3f957c[_0x1677b2(0x2b3)]??{}},_0x3f957c[_0x1677b2(0x2b3)]['attachmentSets']={..._0x3f957c[_0x1677b2(0x2b3)][_0x1677b2(0x40e)]??{}},_0x3f957c['resources'][_0x1677b2(0x320)]={..._0x3f957c[_0x1677b2(0x2b3)][_0x1677b2(0x320)]??{}};let _0x52e0f0=Et(_0x451143,_0xec78bb),_0x37ffbc=[];for(let _0x459ed7=0x0;_0x459ed7<_0x1c43fb['length'];_0x459ed7++){if(!(_0x459ed7 in _0x1c43fb))continue;let _0x1e7f94=_0x1c43fb[_0x459ed7],_0x3bda24=String(_0x1e7f94['id']??_0x52e0f0+'\x1f'+_0x459ed7),_0x2ab3c3={..._0x1e7f94,'id':_0x3bda24};_0x3f957c[_0x1677b2(0x2b3)][_0x1677b2(0x320)][_0x3bda24]=_0x2ab3c3,_0x37ffbc[_0x1677b2(0x161)](_0x3bda24);}_0x3f957c[_0x1677b2(0x2b3)][_0x1677b2(0x40e)][_0x52e0f0]=_0x37ffbc;}function Ot(_0x535d6f,_0x278bae,_0x43c958){const _0x5d1eb2=_0x327967;var _0xc7c790;let _0x4c48fc=Et(_0x43c958,_0x278bae),_0x484e32=(_0xc7c790=_0x535d6f[_0x5d1eb2(0x2b3)])==null||(_0xc7c790=_0xc7c790[_0x5d1eb2(0x40e)])==null?void 0x0:_0xc7c790[_0x4c48fc];if(!_0x484e32)return null;let _0x586e14=[];for(let _0x42b422=0x0;_0x42b422<_0x484e32[_0x5d1eb2(0x1bf)];_0x42b422++){var _0x6b551b;if(!(_0x42b422 in _0x484e32))continue;let _0x570d19=(_0x6b551b=_0x535d6f[_0x5d1eb2(0x2b3)])==null||(_0x6b551b=_0x6b551b[_0x5d1eb2(0x320)])==null?void 0x0:_0x6b551b[_0x484e32[_0x42b422]];_0x570d19&&_0x586e14['push']({..._0x570d19});}return _0x586e14;}function kt(_0x209dbe){const _0x1749d8=_0x327967;if(_0x209dbe==null||_0x209dbe===''||Tt(_0x209dbe)&&!('id'in _0x209dbe)&&!(_0x1749d8(0x158)in _0x209dbe))return[];let _0x5c33a6=Array[_0x1749d8(0x3fb)](_0x209dbe)?_0x209dbe:[_0x209dbe],_0x210bec=[];for(let _0x392f1a=0x0;_0x392f1a<_0x5c33a6[_0x1749d8(0x1bf)];_0x392f1a++){if(!(_0x392f1a in _0x5c33a6))continue;let _0x9e3790=_0x5c33a6[_0x392f1a],_0x5b988f=_0x9e3790&&typeof _0x9e3790==_0x1749d8(0x3d8)?{..._0x9e3790}:{'id':'attachment-'+_0x392f1a,'name':String(_0x9e3790)};Object[_0x1749d8(0x27a)](_0x5b988f)['length']>0x0&&_0x210bec[_0x1749d8(0x161)](_0x5b988f);}return _0x210bec;}function At(_0x8722b7,_0x18c195){const _0x1574b1=_0x327967;return(_0x18c195==null?void 0x0:_0x18c195['type'])===_0x1013ad[_0x1574b1(0x49d)]?kt(_0x8722b7):Nt(_0x18c195)?Pt(_0x8722b7):Mt(_0x18c195)?Ft(_0x8722b7):_0x8722b7;}function jt(_0x4b88fb,_0x8ce5d1,_0x44c622){const _0x288ba3=_0x327967;return(_0x8ce5d1==null?void 0x0:_0x8ce5d1['type'])===_0x1013ad['Attachment']?_0x4b88fb['v']!=='':Nt(_0x8ce5d1)?_0x4b88fb['v']!==Pt(_0x44c622):Mt(_0x8ce5d1)?Array[_0x288ba3(0x3fb)](_0x44c622)&&(_0x4b88fb['v']==null||_0x4b88fb['v']===''):!0x1;}function Mt(_0x3c5a60){const _0x56b65a=_0x327967;return(_0x3c5a60==null?void 0x0:_0x3c5a60['type'])===_0x1013ad[_0x56b65a(0x190)]||(_0x3c5a60==null?void 0x0:_0x3c5a60[_0x56b65a(0x346)])===_0x1013ad[_0x56b65a(0xf7)]||(_0x3c5a60==null?void 0x0:_0x3c5a60[_0x56b65a(0x346)])===_0x1013ad[_0x56b65a(0x3df)]&&_0x3c5a60[_0x56b65a(0x174)][_0x56b65a(0x118)]===!0x0;}function Nt(_0x1c400e){const _0x581cbc=_0x327967;return(_0x1c400e==null?void 0x0:_0x1c400e[_0x581cbc(0x346)])===_0x1013ad[_0x581cbc(0x3df)]&&_0x1c400e[_0x581cbc(0x174)][_0x581cbc(0x118)]!==!0x0;}function Pt(_0x4b0161){const _0xb724b2=_0x327967;let _0x65abbc=Tt(_0x4b0161)?_0x4b0161['v']:_0x4b0161,_0x251530=Array[_0xb724b2(0x3fb)](_0x65abbc)?_0x65abbc[0x0]:_0x65abbc;return _0x251530==null||_0x251530===''?null:String(_0x251530);}function Ft(_0xe4831b){const _0x19e3c6=_0x327967;if(_0xe4831b==null||_0xe4831b==='')return[];let _0x39f184=[];if(Array[_0x19e3c6(0x3fb)](_0xe4831b)){for(let _0x4c8d30=0x0;_0x4c8d30<_0xe4831b['length'];_0x4c8d30++){if(!(_0x4c8d30 in _0xe4831b))continue;let _0x1a53fd=It(_0xe4831b[_0x4c8d30]);_0x1a53fd&&_0x39f184[_0x19e3c6(0x161)](_0x1a53fd);}return _0x39f184;}for(let _0x1573e0 of String(_0xe4831b)['split'](',')){let _0x12bd17=_0x1573e0[_0x19e3c6(0x140)]();_0x12bd17&&_0x39f184[_0x19e3c6(0x161)](_0x12bd17);}return _0x39f184;}function It(_0x1b2bac){const _0x19d1a6=_0x327967;if(_0x1b2bac==null)return'';if(typeof _0x1b2bac==_0x19d1a6(0x2a0)||typeof _0x1b2bac=='number'||typeof _0x1b2bac==_0x19d1a6(0x224))return String(_0x1b2bac);if(typeof _0x1b2bac==_0x19d1a6(0x3d8)){let _0x4a42f9=_0x1b2bac;return String(_0x4a42f9['id']??_0x4a42f9['name']??_0x4a42f9[_0x19d1a6(0x179)]??'');}return String(_0x1b2bac);}function Lt(_0x539610){const _0x1070b9=_0x327967;return _0x539610==null?null:typeof _0x539610==_0x1070b9(0x218)?_0x556bff[_0x1070b9(0x39f)]:typeof _0x539610==_0x1070b9(0x224)?_0x556bff['BOOLEAN']:_0x556bff[_0x1070b9(0x334)];}function Rt(_0x3ef695){const _0x2afbd5=_0x327967;_0x3ef695[_0x2afbd5(0x460)]((_0x1e0bbf,_0x3fee55)=>_0x1e0bbf[_0x2afbd5(0x44c)][_0x2afbd5(0x3a4)](_0x3fee55['orderKey']));let _0x305aff=[];for(let _0x36ea6e of _0x3ef695)_0x305aff['push'](_0x36ea6e['id']);return _0x305aff;}function zt(_0x4cf112,_0x4f6315){return _0x4cf112===_0x556bff['STRING']||_0x4cf112===_0x556bff['NUMBER']||_0x4cf112===_0x556bff['BOOLEAN']||_0x4cf112===_0x556bff['FORCE_STRING']||_0x4cf112==null?_0x4cf112:Lt(_0x4f6315??null);}function R(_0x4dd918){const _0x2e9185=_0x327967;let _0x4dee54=null;for(let _0x5292b9 of _0x4dd918)_0x4dee54=_0x4dee54===null?_0x5292b9:_0x43163e['type'][_0x2e9185(0x13d)](_0x4dee54,_0x5292b9);return _0x4dee54;}var z=class e{static[_0x327967(0x207)](_0x26dc0b,_0x4b6d0c){const _0x5a2e1b=_0x327967;let _0x837d40=[];for(let _0x1d9909 of _0x4b6d0c){let _0x2bf9c5=Bt(_0x1d9909);if(!_0x2bf9c5||_0x2bf9c5[_0x5a2e1b(0x409)]!==_0x26dc0b['id'])return null;_0x837d40[_0x5a2e1b(0x161)](_0x2bf9c5['op']);}try{let _0x921ca3=R(_0x837d40);return _0x921ca3===null?_0x26dc0b:new e()[_0x5a2e1b(0x240)](_0x26dc0b,_0x921ca3);}catch{return null;}}[_0x327967(0x240)](_0x5abef5,_0x5d3c64){const _0x4ed0a5=_0x327967;let _0x3943c1=this[_0x4ed0a5(0x19d)](_0x5d3c64),_0x484ece=I(_0x4ed0a5(0x1d3),()=>Xt(_0x5abef5,_0x5d3c64),{'invalidations':_0x3943c1[_0x4ed0a5(0x1bf)]}),_0x281f03=I(_0x4ed0a5(0x499),()=>_0x43163e[_0x4ed0a5(0x346)]['apply'](_0x484ece,_0x5d3c64),{'invalidations':_0x3943c1['length']}),_0x1acffa=Ht(_0x281f03,_0x3943c1);return I('BaseJson1.syncCellInvalidations',()=>Vt(_0x281f03,_0x3943c1),{'invalidations':_0x3943c1['length']})?(Ut(_0x281f03,_0x1acffa),_0x281f03):(I('BaseJson1.normalizeTables',()=>{const _0x35f5fc=_0x4ed0a5;this[_0x35f5fc(0x101)](_0x281f03,_0x3943c1)[_0x35f5fc(0x29b)](_0x789fd9=>{const _0xe826dd=_0x35f5fc;let _0x2518f2=_0x3943c1[_0xe826dd(0x1be)](_0x2e4aac=>_0x2e4aac[_0xe826dd(0x19a)]===_0x789fd9['id']),_0x52e116=_0x2518f2['length']>0x0&&_0x2518f2[_0xe826dd(0x44b)](_0x44f03f=>_0x44f03f[_0xe826dd(0x3bf)]==='field'||_0x44f03f[_0xe826dd(0x3bf)]===_0xe826dd(0x333)||_0x44f03f['reason']===_0xe826dd(0x228)||_0x44f03f[_0xe826dd(0x3bf)]===_0xe826dd(0x472))?new Set(_0x2518f2[_0xe826dd(0xeb)](_0x51eef1=>{const _0x3a52fc=_0xe826dd;var _0x4caa45;if(_0x51eef1['reason']!=='field'||!_0x51eef1[_0x3a52fc(0x173)])return[];let _0x297c83=(_0x4caa45=_0x5abef5[_0x3a52fc(0x486)][_0x789fd9['id']])==null?void 0x0:_0x4caa45[_0x3a52fc(0x305)][_0x51eef1[_0x3a52fc(0x173)]],_0x10babe=_0x789fd9[_0x3a52fc(0x305)][_0x51eef1[_0x3a52fc(0x173)]];return(_0x297c83==null?void 0x0:_0x297c83[_0x3a52fc(0x346)])!==(_0x10babe==null?void 0x0:_0x10babe[_0x3a52fc(0x346)])||(_0x297c83==null?void 0x0:_0x297c83['config'][_0x3a52fc(0x118)])!==(_0x10babe==null?void 0x0:_0x10babe[_0x3a52fc(0x174)][_0x3a52fc(0x118)])?[_0x51eef1[_0x3a52fc(0x173)]]:[];})):void 0x0,_0x4f1ccd=new Set(_0x2518f2['flatMap'](_0x4c949c=>{const _0x422560=_0xe826dd;var _0x30267e,_0xcee638;return _0x4c949c[_0x422560(0x3bf)]!==_0x422560(0x228)||_0x4c949c[_0x422560(0x124)]==null||_0x4c949c[_0x422560(0x115)]==null?[]:[JSON[_0x422560(0xf8)]([(_0x30267e=_0x789fd9[_0x422560(0x2a7)])==null?void 0x0:_0x30267e[_0x4c949c[_0x422560(0x124)]],(_0xcee638=_0x789fd9[_0x422560(0x2ba)])==null?void 0x0:_0xcee638[_0x4c949c[_0x422560(0x115)]]])];}));ht(_0x789fd9,_0x52e116?(_0x155778,_0x2e2095)=>_0x52e116[_0xe826dd(0x103)](_0x2e2095)||_0x4f1ccd[_0xe826dd(0x103)](JSON['stringify']([_0x155778,_0x2e2095])):void 0x0);});},{'invalidations':_0x3943c1['length']}),Ut(_0x281f03,_0x1acffa),_0x281f03);}[_0x327967(0x38e)](_0x2c1754,_0x53e2c3){const _0x1c403a=_0x327967;return _0x43163e[_0x1c403a(0x346)]['invertWithDoc'](_0x53e2c3,_0x2c1754);}[_0x327967(0x19d)](_0x3fd6b0){const _0x160fef=_0x327967;let _0x4b9e2c=qt(_0x3fd6b0);return _0x4b9e2c['length']?Jt(_0x4b9e2c[_0x160fef(0xeb)](_0x300e92=>this[_0x160fef(0x19d)](_0x300e92))):Wt(_0x3fd6b0);}[_0x327967(0x101)](_0x474f9f,_0x32f1ce){const _0x180550=_0x327967;let _0x18a758=_0x32f1ce['filter'](_0x1909ef=>_0x1909ef[_0x180550(0x3bf)]!==_0x180550(0x333));return _0x18a758[_0x180550(0x1bf)]?_0x18a758[_0x180550(0x35d)](_0x5c637f=>!_0x5c637f[_0x180550(0x19a)])?Object[_0x180550(0x259)](_0x474f9f[_0x180550(0x486)]??{}):Array[_0x180550(0x1d1)](new Set(_0x18a758[_0x180550(0x412)](_0x27fe63=>_0x27fe63['tableId'])))[_0x180550(0xeb)](_0x13d59e=>{const _0x495883=_0x180550;var _0xc6a5cb;let _0x12185c=(_0xc6a5cb=_0x474f9f[_0x495883(0x486)])==null?void 0x0:_0xc6a5cb[_0x13d59e];return _0x12185c?[_0x12185c]:[];}):[];}};function Bt(_0x268005){const _0x1820af=_0x327967;let _0x17bda6=_0x268005[_0x1820af(0x303)];return _0x268005['id']!==_0x1820af(0x444)||typeof _0x17bda6!=_0x1820af(0x3d8)||!_0x17bda6||!('unitId'in _0x17bda6)||typeof _0x17bda6[_0x1820af(0x409)]!=_0x1820af(0x2a0)||!('op'in _0x17bda6)||!Array['isArray'](_0x17bda6['op'])?null:{'unitId':_0x17bda6[_0x1820af(0x409)],'op':_0x17bda6['op']};}function Vt(_0x5e26ec,_0x36ce33){const _0x5332aa=_0x327967;if(!_0x36ce33[_0x5332aa(0x1bf)]||_0x36ce33[_0x5332aa(0x35d)](_0x26decf=>_0x26decf[_0x5332aa(0x3bf)]!=='cell'))return!0x1;let _0x20d857=new Map();for(let _0x417002 of _0x36ce33){if(!_0x417002[_0x5332aa(0x19a)]||_0x417002[_0x5332aa(0x124)]==null||_0x417002[_0x5332aa(0x115)]==null)continue;let _0x130edf=_0x20d857['get'](_0x417002['tableId'])??[];_0x130edf[_0x5332aa(0x161)]({'row':_0x417002['row'],'col':_0x417002['column']}),_0x20d857['set'](_0x417002['tableId'],_0x130edf);}return _0x20d857[_0x5332aa(0x29b)]((_0x103b42,_0x3823db)=>{var _0x52d6aa;let _0x556447=(_0x52d6aa=_0x5e26ec['tables'])==null?void 0x0:_0x52d6aa[_0x3823db];_0x556447&>(_0x556447,_0x103b42);}),!0x0;}function Ht(_0x2150a7,_0x3e6a5b){const _0x4a7ba6=_0x327967;let _0x13faef=new Set();return _0x3e6a5b[_0x4a7ba6(0xeb)](_0x39f797=>{const _0x33e819=_0x4a7ba6;var _0x27d5e6;if(!_0x39f797[_0x33e819(0x19a)]||!_0x39f797[_0x33e819(0x345)]||!_0x39f797[_0x33e819(0x173)])return[];let _0x11e856=_0x39f797['tableId']+'\x1f'+_0x39f797['recordId']+'\x1f'+_0x39f797[_0x33e819(0x173)];if(_0x13faef[_0x33e819(0x103)](_0x11e856))return[];_0x13faef[_0x33e819(0x12e)](_0x11e856);let _0x4af1d1=(_0x27d5e6=_0x2150a7[_0x33e819(0x486)][_0x39f797['tableId']])==null||(_0x27d5e6=_0x27d5e6[_0x33e819(0x1d7)][_0x39f797[_0x33e819(0x345)]])==null?void 0x0:_0x27d5e6[_0x33e819(0x259)];return _0x4af1d1?[{'tableId':_0x39f797[_0x33e819(0x19a)],'recordId':_0x39f797[_0x33e819(0x345)],'fieldId':_0x39f797[_0x33e819(0x173)],'exists':Object[_0x33e819(0x331)][_0x33e819(0x150)]['call'](_0x4af1d1,_0x39f797[_0x33e819(0x173)]),'value':_0x4af1d1[_0x39f797['fieldId']]}]:[];});}function Ut(_0x247655,_0x1a948f){_0x1a948f['forEach'](_0x38039b=>{const _0x3c4694=_0x11ae;var _0x1d0c3a;let _0x3cd9a8=(_0x1d0c3a=_0x247655['tables'][_0x38039b[_0x3c4694(0x19a)]])==null||(_0x1d0c3a=_0x1d0c3a[_0x3c4694(0x1d7)][_0x38039b[_0x3c4694(0x345)]])==null?void 0x0:_0x1d0c3a[_0x3c4694(0x259)];_0x3cd9a8&&(_0x38039b[_0x3c4694(0x1b7)]?_0x3cd9a8[_0x38039b[_0x3c4694(0x173)]]=_0x38039b[_0x3c4694(0x1e1)]:delete _0x3cd9a8[_0x38039b['fieldId']]);});}function Wt(_0x2fd9f6){const _0x2601da=_0x327967;if(!Array[_0x2601da(0x3fb)](_0x2fd9f6)||_0x2fd9f6[_0x2601da(0x1bf)]<0x2)return[{'tableId':'','reason':_0x2601da(0x49c)}];let _0x4ec82a=_0x2fd9f6,_0x5b09a2=_0x4ec82a[_0x2601da(0x1c5)]('tables');return _0x5b09a2===-0x1||typeof _0x4ec82a[_0x5b09a2+0x1]!=_0x2601da(0x2a0)?_0x4ec82a[0x0]==='tableOrder'?[]:[{'tableId':'','reason':_0x2601da(0x49c)}]:Gt(_0x4ec82a,_0x5b09a2,String(_0x4ec82a[_0x5b09a2+0x1]));}function Gt(_0x2795c0,_0x4ca581,_0x3fe8f3){const _0x15b9c6=_0x327967;let _0x5dabcd=_0x2795c0[_0x4ca581+0x2];return _0x5dabcd==='records'&&typeof _0x2795c0[_0x4ca581+0x3]==_0x15b9c6(0x2a0)?Kt(_0x2795c0,_0x4ca581,_0x3fe8f3,String(_0x2795c0[_0x4ca581+0x3])):_0x5dabcd===_0x15b9c6(0xdd)&&_0x2795c0[_0x4ca581+0x3]!=null&&_0x2795c0[_0x4ca581+0x4]!=null?[{'tableId':_0x3fe8f3,'reason':'cell','row':Number(_0x2795c0[_0x4ca581+0x3]),'column':Number(_0x2795c0[_0x4ca581+0x4])}]:_0x5dabcd===_0x15b9c6(0x305)&&typeof _0x2795c0[_0x4ca581+0x3]==_0x15b9c6(0x2a0)?[{'tableId':_0x3fe8f3,'reason':'field','fieldId':String(_0x2795c0[_0x4ca581+0x3])}]:_0x5dabcd===_0x15b9c6(0x1f8)?[{'tableId':_0x3fe8f3,'reason':'field'}]:_0x5dabcd===_0x15b9c6(0x1e2)?[{'tableId':_0x3fe8f3,'reason':_0x15b9c6(0x472)}]:_0x5dabcd===_0x15b9c6(0x1eb)&&typeof _0x2795c0[_0x4ca581+0x3]=='string'?[{'tableId':_0x3fe8f3,'reason':_0x15b9c6(0x333),'viewId':String(_0x2795c0[_0x4ca581+0x3])}]:_0x5dabcd===_0x15b9c6(0x2e1)?[{'tableId':_0x3fe8f3,'reason':_0x15b9c6(0x333)}]:_0x5dabcd===_0x15b9c6(0x2b3)?[{'tableId':_0x3fe8f3,'reason':'cell'}]:[{'tableId':_0x3fe8f3,'reason':_0x5dabcd===void 0x0?_0x15b9c6(0x496):_0x15b9c6(0x49c)}];}function Kt(_0xd8f721,_0x2b1858,_0xb04482,_0x2608e3){const _0x125139=_0x327967;return _0xd8f721[_0x2b1858+0x4]===_0x125139(0x259)&&typeof _0xd8f721[_0x2b1858+0x5]=='string'?[{'tableId':_0xb04482,'reason':'cell','recordId':_0x2608e3,'fieldId':String(_0xd8f721[_0x2b1858+0x5])}]:_0xd8f721[_0x2b1858+0x4]===_0x125139(0x1db)||_0xd8f721[_0x2b1858+0x4]===_0x125139(0x2c9)?[]:[{'tableId':_0xb04482,'reason':_0x125139(0x472),'recordId':_0x2608e3}];}function qt(_0x536f96){const _0xc488c3=_0x327967;if(!Array[_0xc488c3(0x3fb)](_0x536f96))return[];let _0x5def5b=_0x536f96[_0xc488c3(0x1be)](Array[_0xc488c3(0x3fb)]);if(_0x5def5b['length']>0x1&&_0x5def5b['length']===_0x536f96[_0xc488c3(0x1bf)])return _0x5def5b;let _0x43c2b2=_0x536f96['findIndex'](Array[_0xc488c3(0x3fb)]);if(_0x43c2b2>0x0&&_0x536f96[_0xc488c3(0x348)](_0x43c2b2)[_0xc488c3(0x44b)](Array[_0xc488c3(0x3fb)])){let _0x162a6d=_0x536f96[_0xc488c3(0x348)](0x0,_0x43c2b2);return _0x536f96['slice'](_0x43c2b2)[_0xc488c3(0x412)](_0x576d78=>[..._0x162a6d,..._0x576d78]);}let _0x1ce032=_0x536f96[_0xc488c3(0x1c5)](_0xc488c3(0x486));if(_0x1ce032===-0x1||typeof _0x536f96[_0x1ce032+0x1]!=_0xc488c3(0x2a0))return[];let _0x2dd000=String(_0x536f96[_0x1ce032+0x1]),_0x7ecdf9=_0x536f96['slice'](_0x1ce032+0x2)['filter'](Array[_0xc488c3(0x3fb)]);return _0x7ecdf9[_0xc488c3(0x1bf)]<=0x1?[]:_0x7ecdf9['map'](_0x1a5369=>[_0xc488c3(0x486),_0x2dd000,..._0x1a5369]);}function Jt(_0x3afdd2){const _0x592e77=_0x327967;let _0x4b2595=new Set();return _0x3afdd2[_0x592e77(0x1be)](_0x46c52e=>{const _0x52f505=_0x592e77;let _0x57358a=JSON[_0x52f505(0xf8)](_0x46c52e);return!_0x4b2595[_0x52f505(0x103)](_0x57358a)&&(_0x4b2595[_0x52f505(0x12e)](_0x57358a),!0x0);});}function Yt(_0x4a8f6a){const _0x3d42b5=_0x327967;return _0x2ea00f[_0x3d42b5(0x3e0)](_0x4a8f6a);}function Xt(_0x3e0077,_0x217b3e){let _0x4195fb=Zt(_0x217b3e);if(!_0x4195fb['length'])return Yt(_0x3e0077);let _0x2500ff=an(_0x3e0077),_0x375512=new Set();for(let _0x28183c of _0x4195fb)en(_0x2500ff,_0x28183c,_0x375512);return _0x2500ff;}function Zt(_0x15e533){let _0x321c85=[];return Qt(_0x15e533,[],_0x321c85),_0x321c85;}function Qt(_0x307b99,_0x2e5ed3,_0xfd69b4){const _0x3a2378=_0x327967;if(!Array[_0x3a2378(0x3fb)](_0x307b99))return;let _0x1903f5=[];for(let _0x759fc3 of _0x307b99){if(Array[_0x3a2378(0x3fb)](_0x759fc3)){Qt(_0x759fc3,[..._0x2e5ed3,..._0x1903f5],_0xfd69b4);continue;}if($t(_0x759fc3)){_0xfd69b4[_0x3a2378(0x161)]([..._0x2e5ed3,..._0x1903f5]);continue;}(typeof _0x759fc3=='string'||typeof _0x759fc3==_0x3a2378(0x218))&&_0x1903f5[_0x3a2378(0x161)](_0x759fc3);}}function $t(_0x56bfb6){const _0x2e958f=_0x327967;if(!_0x56bfb6||typeof _0x56bfb6!=_0x2e958f(0x3d8)||Array[_0x2e958f(0x3fb)](_0x56bfb6))return!0x1;let _0x152fef=_0x56bfb6;return'i'in _0x152fef||'r'in _0x152fef||'p'in _0x152fef||'d'in _0x152fef||'es'in _0x152fef||_0x2e958f(0x488)in _0x152fef||'et'in _0x152fef;}function en(_0x2dc184,_0x28b31c,_0x1e7431){const _0x2cc15f=_0x327967;let _0x5b45b2=_0x2dc184,_0x135214=[];for(let _0x4ac6ff=0x0;_0x4ac6ff<_0x28b31c[_0x2cc15f(0x1bf)]-0x1;_0x4ac6ff++){let _0x3b4e67=_0x28b31c[_0x4ac6ff];_0x135214[_0x2cc15f(0x161)](_0x3b4e67);let _0x1a25f6=tn(_0x5b45b2,_0x3b4e67);if(!rn(_0x1a25f6))return;let _0x5678fa=JSON['stringify'](_0x135214);_0x1e7431[_0x2cc15f(0x103)](_0x5678fa)||(nn(_0x5b45b2,_0x3b4e67,an(_0x1a25f6)),_0x1e7431[_0x2cc15f(0x12e)](_0x5678fa));let _0x33649f=tn(_0x5b45b2,_0x3b4e67);if(!rn(_0x33649f))return;_0x5b45b2=_0x33649f;}}function tn(_0x4b8f9a,_0x2c7dbe){const _0x186e8e=_0x327967;return Array[_0x186e8e(0x3fb)](_0x4b8f9a)?typeof _0x2c7dbe==_0x186e8e(0x218)?_0x4b8f9a[_0x2c7dbe]:void 0x0:Reflect[_0x186e8e(0x318)](_0x4b8f9a,_0x2c7dbe);}function nn(_0x5293e2,_0x327296,_0x1e35dc){const _0x319ea9=_0x327967;if(Array['isArray'](_0x5293e2)){typeof _0x327296=='number'&&(_0x5293e2[_0x327296]=_0x1e35dc);return;}Reflect[_0x319ea9(0x3fe)](_0x5293e2,_0x327296,_0x1e35dc);}function rn(_0x5066c3){const _0xfc96f2=_0x327967;return!!_0x5066c3&&typeof _0x5066c3==_0xfc96f2(0x3d8);}function an(_0x7e735b){const _0x24a834=_0x327967;return Array[_0x24a834(0x3fb)](_0x7e735b)?_0x7e735b[_0x24a834(0x348)]():{..._0x7e735b};}const on=_0x327967(0x20c),sn=/\s+hh:mm\s*$/i,cn={'yyyy/mm/dd':_0x327967(0x178),'yyyy-mm-dd':'YYYY-MM-DD','mm-dd':_0x327967(0x405),'mm/dd/yyyy':'MM/DD/YYYY','dd/mm/yyyy':_0x327967(0x12c),'mmm\x20d,\x20yyyy':_0x327967(0x30d)};function B(_0x11c278,_0x292e33=_0x2dcec1[_0x327967(0x107)]){const _0x28378c=_0x327967;let _0x1b841d=_0x28e66b(_0x11c278)[_0x28378c(0x160)]();return _0x54e6bc(new Date(_0x1b841d),_0x292e33);}function ln(_0x3a0449,_0x7fbbd=_0x2dcec1[_0x327967(0x107)]){const _0x3207ec=_0x327967;return _0x568db3(_0x3a0449,_0x7fbbd)[_0x3207ec(0xee)]();}function un(_0x2663b7,_0x8e1086=_0x2dcec1[_0x327967(0x107)]){const _0x1ad3a4=_0x327967;if(_0x2663b7==null||_0x2663b7==='')return null;if(_0x2663b7 instanceof Date)return B(_0x2663b7,_0x8e1086);if(typeof _0x2663b7=='number')return Number[_0x1ad3a4(0x138)](_0x2663b7)?_0x2663b7>0xf4240?B(_0x2663b7,_0x8e1086):_0x2663b7:null;let _0x41935e=Date[_0x1ad3a4(0x389)](String(_0x2663b7));return Number[_0x1ad3a4(0x242)](_0x41935e)?null:B(_0x41935e,_0x8e1086);}function dn(_0xd15216,_0x3bd06e=_0x2dcec1[_0x327967(0x107)]){let _0x110840=un(_0xd15216,_0x3bd06e);return _0x110840==null?null:ln(_0x110840,_0x3bd06e);}function fn(_0x545af2={}){const _0x529fbf=_0x327967;let _0x1f2565=String(_0x545af2['pattern']??_0x545af2[_0x529fbf(0x493)]??_0x545af2[_0x529fbf(0x227)]??on)[_0x529fbf(0x140)]()||on,_0x119062=sn['test'](_0x1f2565);return{'pattern':_0x1f2565[_0x529fbf(0x42d)](sn,'')||on,'includeTime':typeof _0x545af2[_0x529fbf(0x26e)]=='boolean'?_0x545af2[_0x529fbf(0x26e)]:_0x119062,'hourCycle':_0x545af2[_0x529fbf(0x204)]===_0x529fbf(0xef)?_0x529fbf(0xef):_0x529fbf(0x350)};}function pn(_0x25b8f0={}){let {format:_0x581d99,dateFormat:_0x18af03,..._0x3d87e0}=_0x25b8f0;return{..._0x3d87e0,...fn(_0x25b8f0)};}function mn(_0x37ebca,_0x318082={}){const _0x234efd=_0x327967;let _0xe315c5=dn(_0x37ebca);if(_0xe315c5==null||!Number[_0x234efd(0x138)](_0xe315c5))return'';let _0x5b9f4a=fn(_0x318082);return _0x28e66b(_0xe315c5)[_0x234efd(0x493)](hn(_0x5b9f4a));}function hn(_0x324b74){const _0x3229b2=_0x327967;let {pattern:_0x384d1b,includeTime:_0x51c007,hourCycle:_0x463fa7}=_0x324b74,_0x465fb0=cn[_0x384d1b]??cn[on];return _0x51c007?_0x465fb0+'\x20'+(_0x463fa7===_0x3229b2(0xef)?_0x3229b2(0x33e):_0x3229b2(0x16d)):_0x465fb0;}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([_0x1013ad['RecordId']]),V=0x5265c00;function vn(_0x154ded){const _0x133034=_0x327967;switch(_0x154ded){case _0x1013ad['Number']:case _0x1013ad[_0x133034(0x295)]:case _0x1013ad['Progress']:case _0x1013ad['Rating']:return[_0x4710de['IS'],_0x4710de[_0x133034(0x129)],_0x4710de['GREATER_THAN'],_0x4710de[_0x133034(0x3c2)],_0x4710de['IS_EMPTY'],_0x4710de[_0x133034(0x1cb)]];case _0x1013ad[_0x133034(0x2b2)]:case _0x1013ad['CreatedAt']:case _0x1013ad['UpdatedAt']:return[_0x4710de['IS'],_0x4710de[_0x133034(0x129)],_0x4710de[_0x133034(0xe1)],_0x4710de[_0x133034(0x1e9)],_0x4710de[_0x133034(0x3ec)],_0x4710de[_0x133034(0x1cb)]];case _0x1013ad[_0x133034(0x205)]:return[_0x4710de['IS'],_0x4710de['IS_NOT']];default:return[_0x4710de['IS'],_0x4710de['IS_NOT'],_0x4710de[_0x133034(0x11a)],_0x4710de[_0x133034(0x2a5)],_0x4710de[_0x133034(0x3ec)],_0x4710de[_0x133034(0x1cb)]];}}function yn(_0x48a8e2){const _0x5190c6=_0x327967;return _0x48a8e2===_0x1013ad['Date']||_0x48a8e2===_0x1013ad[_0x5190c6(0x483)]||_0x48a8e2===_0x1013ad['UpdatedAt'];}function bn(_0x2a5e32,_0x3d8e3d){const _0x16bcbd=_0x327967;return _0x2a5e32==null&&_0x3d8e3d==null?0x0:_0x2a5e32==null?-0x1:_0x3d8e3d==null?0x1:typeof _0x2a5e32==_0x16bcbd(0x218)&&typeof _0x3d8e3d==_0x16bcbd(0x218)?_0x2a5e32-_0x3d8e3d:String(_0x2a5e32)[_0x16bcbd(0x3a4)](String(_0x3d8e3d));}function xn(_0x1baa62,_0x540554,_0x5c7293,_0x50c190,_0x1ffebf={}){const _0x3d9af5=_0x327967;if(_0x540554==='isEmpty')return Sn(_0x1baa62);if(_0x540554===_0x3d9af5(0x35c))return!Sn(_0x1baa62);switch(_0x50c190[_0x3d9af5(0x346)]){case _0x1013ad['Number']:case _0x1013ad[_0x3d9af5(0x295)]:case _0x1013ad[_0x3d9af5(0x3e1)]:case _0x1013ad[_0x3d9af5(0x20a)]:return Cn(_0x1baa62,_0x540554,_0x5c7293);case _0x1013ad[_0x3d9af5(0x2b2)]:case _0x1013ad[_0x3d9af5(0x483)]:case _0x1013ad[_0x3d9af5(0xe4)]:return Tn(_0x1baa62,_0x540554,_0x5c7293,_0x1ffebf);case _0x1013ad['Checkbox']:return jn(_0x1baa62,_0x540554,_0x5c7293);case _0x1013ad[_0x3d9af5(0x413)]:case _0x1013ad[_0x3d9af5(0x190)]:case _0x1013ad[_0x3d9af5(0x3df)]:case _0x1013ad[_0x3d9af5(0xf7)]:return Nn(_0x1baa62,_0x540554,_0x5c7293,_0x50c190);default:return Pn(_0x1baa62,_0x540554,_0x5c7293);}}function Sn(_0x40ed61){const _0x30a5b2=_0x327967;return _0x40ed61==null?!0x0:Array[_0x30a5b2(0x3fb)](_0x40ed61)?_0x40ed61['length']===0x0:typeof _0x40ed61==_0x30a5b2(0x2a0)&&_0x40ed61['trim']()==='';}function Cn(_0x56fe76,_0x246680,_0x2d4192){const _0x2fd46b=_0x327967;let _0x39ca67=wn(_0x56fe76),_0x165145=wn(_0x2d4192);if(_0x39ca67==null||_0x165145==null)return!0x1;switch(_0x246680){case'is':return _0x39ca67===_0x165145;case _0x2fd46b(0x47d):return _0x39ca67!==_0x165145;case'greaterThan':return _0x39ca67>_0x165145;case _0x2fd46b(0x196):return _0x39ca67>=_0x165145;case _0x2fd46b(0x3ba):return _0x39ca67<_0x165145;case _0x2fd46b(0x438):return _0x39ca67<=_0x165145;default:return!0x1;}}function wn(_0x354052){const _0x265cf9=_0x327967;if(_0x354052==null||_0x354052==='')return null;let _0xb2b0fc=Number(_0x354052);return Number[_0x265cf9(0x138)](_0xb2b0fc)?_0xb2b0fc:null;}function Tn(_0x5172af,_0x5d5c23,_0x5361c2,_0xd209df){const _0x4aa397=_0x327967;let _0x3f5161=Dn(_0x5172af);if(_0x3f5161==null)return!0x1;let _0x5e6791=En(_0xd209df[_0x4aa397(0x365)]??_0x4aa397(0x1da),_0x5361c2,_0xd209df[_0x4aa397(0xfa)]);if(!_0x5e6791)return!0x1;switch(_0x5d5c23){case'is':return _0x3f5161>=_0x5e6791[_0x4aa397(0x47f)]&&_0x3f5161<=_0x5e6791[_0x4aa397(0x3c3)];case _0x4aa397(0x47d):return _0x3f5161<_0x5e6791['start']||_0x3f5161>_0x5e6791[_0x4aa397(0x3c3)];case _0x4aa397(0x1f6):return _0x3f5161<_0x5e6791['start'];case'after':return _0x3f5161>_0x5e6791[_0x4aa397(0x3c3)];default:return!0x1;}}function En(_0x38e1b6,_0x3af378,_0xac1e65=Date['now']()){const _0x1a9932=_0x327967;let _0x24d723=On(_0xac1e65);switch(_0x38e1b6){case _0x1a9932(0x1da):{let _0x5e7e6f=Dn(_0x3af378);return _0x5e7e6f==null?null:{'start':_0x5e7e6f,'end':_0x5e7e6f+V-0x1};}case'today':return{'start':_0x24d723,'end':_0x24d723+V-0x1};case _0x1a9932(0x3f2):return{'start':_0x24d723+V,'end':_0x24d723+V*0x2-0x1};case _0x1a9932(0x48c):return{'start':_0x24d723-V,'end':_0x24d723-0x1};case'thisWeek':return kn(_0x24d723,0x0);case _0x1a9932(0x117):return kn(_0x24d723,-0x1);case _0x1a9932(0x2f0):return An(_0x24d723,0x0);case _0x1a9932(0x4a0):return An(_0x24d723,-0x1);case _0x1a9932(0x43c):return{'start':_0x24d723-V*0x6,'end':_0x24d723+V-0x1};case'next7':return{'start':_0x24d723,'end':_0x24d723+V*0x7-0x1};case'past30':return{'start':_0x24d723-V*0x1d,'end':_0x24d723+V-0x1};case'next30':return{'start':_0x24d723,'end':_0x24d723+V*0x1e-0x1};}}function Dn(_0x2dce45){let _0x14d25c=un(_0x2dce45);return _0x14d25c==null?null:On(ln(_0x14d25c));}function On(_0x3f3bc0){const _0x454450=_0x327967;let _0x435819=new Date(_0x3f3bc0);return _0x435819[_0x454450(0x362)](0x0,0x0,0x0,0x0),_0x435819[_0x454450(0xee)]();}function kn(_0x65f02c,_0x5ee95e){let _0x2d55d8=_0x65f02c-(new Date(_0x65f02c)['getDay']()+0x6)%0x7*V+_0x5ee95e*V*0x7;return{'start':_0x2d55d8,'end':_0x2d55d8+V*0x7-0x1};}function An(_0x3eb281,_0x596615){const _0x50c09d=_0x327967;let _0x203e49=new Date(_0x3eb281),_0x22b962=new Date(_0x203e49[_0x50c09d(0x152)](),_0x203e49[_0x50c09d(0x3e3)]()+_0x596615,0x1),_0xe6f453=new Date(_0x203e49['getFullYear'](),_0x203e49['getMonth']()+_0x596615+0x1,0x1);return{'start':_0x22b962[_0x50c09d(0xee)](),'end':_0xe6f453[_0x50c09d(0xee)]()-0x1};}function jn(_0xc0235f,_0xb82004,_0x3bcf91){const _0x3875c9=_0x327967;let _0x2990a4=Mn(_0xc0235f),_0x1c5c24=Mn(_0x3bcf91);switch(_0xb82004){case'is':return _0x2990a4===_0x1c5c24;case _0x3875c9(0x47d):return _0x2990a4!==_0x1c5c24;default:return!0x1;}}function Mn(_0x4b25f5){const _0x76eaea=_0x327967;return _0x4b25f5===!0x0||_0x4b25f5===_0x76eaea(0x1f3)||_0x4b25f5===0x1||_0x4b25f5==='1';}function Nn(_0x258e59,_0x3dfcd4,_0x1c6d8a,_0x3c6fed){const _0x3f081c=_0x327967;let _0x19c2b8=In(_0x258e59,_0x3c6fed),_0x4cf479=In(_0x1c6d8a,_0x3c6fed),_0x5eb931=_0x4cf479['length']>0x0&&_0x4cf479[_0x3f081c(0x35d)](_0x72b529=>_0x19c2b8[_0x3f081c(0x45c)](_0x72b529));switch(_0x3dfcd4){case'is':case'contains':return _0x5eb931;case _0x3f081c(0x47d):case'notContains':return!_0x5eb931;default:return!0x1;}}function Pn(_0x6b0492,_0x56a053,_0x12a4fc){const _0x42b97e=_0x327967;let _0x4e44b6=Fn(_0x6b0492),_0xb60e9c=Fn(_0x12a4fc);switch(_0x56a053){case'is':return _0x4e44b6===_0xb60e9c;case _0x42b97e(0x47d):return _0x4e44b6!==_0xb60e9c;case _0x42b97e(0x38f):return _0xb60e9c?_0x4e44b6[_0x42b97e(0x45c)](_0xb60e9c):!0x1;case _0x42b97e(0xe0):return!_0xb60e9c||!_0x4e44b6['includes'](_0xb60e9c);default:return!0x1;}}function Fn(_0x3cb3ae){const _0x5200c6=_0x327967;if(Array['isArray'](_0x3cb3ae))return _0x3cb3ae[_0x5200c6(0x412)](_0x26aa46=>Fn(_0x26aa46))['join']('\x0a');if(_0x3cb3ae&&typeof _0x3cb3ae=='object'){let _0x4247eb=_0x3cb3ae;return String(_0x4247eb[_0x5200c6(0x158)]??_0x4247eb[_0x5200c6(0x33b)]??_0x4247eb[_0x5200c6(0x179)]??_0x4247eb[_0x5200c6(0x1e1)]??_0x4247eb['id']??'')['trim']()[_0x5200c6(0x3af)]();}return String(_0x3cb3ae??'')[_0x5200c6(0x140)]()[_0x5200c6(0x3af)]();}function In(_0x484366,_0x115015){const _0x1545ba=_0x327967;let _0x540213=Ln(_0x484366),_0x3ac897=Rn(_0x115015[_0x1545ba(0x174)]??{});return _0x540213[_0x1545ba(0xeb)](_0x542455=>_0x3ac897[_0x1545ba(0x318)](_0x542455)??[_0x542455])[_0x1545ba(0x1be)]((_0x5e3278,_0x49789b,_0x1e59dc)=>_0x5e3278!==''&&_0x1e59dc[_0x1545ba(0x1c5)](_0x5e3278)===_0x49789b);}function Ln(_0x5b55c0){const _0x44297b=_0x327967;if(_0x5b55c0==null||_0x5b55c0==='')return[];if(Array[_0x44297b(0x3fb)](_0x5b55c0))return _0x5b55c0[_0x44297b(0xeb)](_0x2635b8=>Ln(_0x2635b8));if(_0x5b55c0&&typeof _0x5b55c0==_0x44297b(0x3d8)){let _0x4d0eff=_0x5b55c0;return['id',_0x44297b(0x158),_0x44297b(0x33b),_0x44297b(0x1e1),_0x44297b(0x179)]['flatMap'](_0x519963=>Ln(_0x4d0eff[_0x519963]))[_0x44297b(0x1be)]((_0x1a9d7e,_0x55013f,_0x45d098)=>_0x45d098[_0x44297b(0x1c5)](_0x1a9d7e)===_0x55013f);}return[Fn(_0x5b55c0)];}function Rn(_0x14fd73){const _0x2b6bcf=_0x327967;let _0x2e43fd=new Map();return(Array[_0x2b6bcf(0x3fb)](_0x14fd73[_0x2b6bcf(0x495)])?_0x14fd73['options']:[])[_0x2b6bcf(0x29b)](_0x447d7a=>{const _0x1d1a20=_0x2b6bcf;if(!_0x447d7a||typeof _0x447d7a!=_0x1d1a20(0x3d8))return;let _0x8de69b=Ln(_0x447d7a),_0x513e72=_0x8de69b[_0x1d1a20(0x1be)]((_0x11fde4,_0x1ccc6b)=>_0x11fde4!==''&&_0x8de69b['indexOf'](_0x11fde4)===_0x1ccc6b);_0x513e72['forEach'](_0x216328=>_0x2e43fd['set'](_0x216328,_0x513e72));}),_0x2e43fd;}function H(_0x2b4eca,_0x100225={},_0x3d7a0d=_0x3d4c71=>_0x3d4c71,_0xd61c6e={}){const _0x514bfe=_0x327967;let _0x3c8b26=!_n['has'](_0x2b4eca),_0x42fa9f=_0x3d7a0d??(_0x5d3e9e=>_0x5d3e9e);return{'type':_0x2b4eca,'i18nKey':'base.fieldType.'+_0x2b4eca,'enabled':_0x3c8b26,'visibleInCreateMenu':_0x3c8b26,'createDefaultConfig':_0xd61c6e[_0x514bfe(0x2b9)]??(()=>({})),'createDefaultValue':_0xd61c6e[_0x514bfe(0x3d7)]??(_0xf3f578=>_0xf3f578[_0x514bfe(0x487)]??null),'normalize':(_0x46411c,_0x1c5c29)=>_0x42fa9f(_0x46411c,_0x1c5c29),'validate':(_0x5df733,_0x4575b5)=>{const _0x544e7c=_0x514bfe;var _0x4523a1;return _0x3c8b26?((_0x4523a1=_0xd61c6e['validate'])==null?void 0x0:_0x4523a1[_0x544e7c(0x171)](_0xd61c6e,_0x5df733,_0x4575b5))??{'valid':!0x0}:{'valid':!0x1};},'compare':(_0x183f9d,_0x7a33e2)=>bn(_0x183f9d,_0x7a33e2),'filter':(_0x4ee02a,_0xc3a9b3,_0x859559,_0x28ba46)=>xn(_0x4ee02a,_0xc3a9b3,_0x859559,_0x28ba46),'toPlainText':_0xd61c6e[_0x514bfe(0x41a)]??(_0xeedcf2=>_0xeedcf2==null?'':String(_0xeedcf2)),'fromPlainText':_0xd61c6e[_0x514bfe(0x1c3)]??(_0x3f1a79=>_0x42fa9f(_0x3f1a79,{'id':'','name':'','type':_0x2b4eca,'config':{}})),'getCapabilities':()=>({...gn,..._0x100225,'editable':_0x3c8b26&&(_0x100225[_0x514bfe(0x2bc)]??gn[_0x514bfe(0x2bc)])})};}function zn(){const _0x16a3f5=_0x327967;return[H(_0x1013ad[_0x16a3f5(0x2cb)],{'groupable':!0x0,'usableAsTitle':!0x0},void 0x0,{'createDefaultConfig':()=>({'placeholder':'bases.fieldConfig.textPlaceholder'}),'createDefaultValue':_0x194377=>_0x194377['defaultValue']??''}),H(_0x1013ad['SingleSelect'],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsOptions':!0x0},_0x17bbdb=>_0x17bbdb==null||_0x17bbdb===''?null:String(_0x17bbdb),{'createDefaultConfig':()=>({'options':[],'optionSource':{'type':_0x16a3f5(0x134)}})}),H(_0x1013ad['MultiSelect'],{'filterable':!0x0,'usableAsKanbanGroup':!0x0,'supportsOptions':!0x0,'supportsMultipleValues':!0x0},_0x4c169c=>Array[_0x16a3f5(0x3fb)](_0x4c169c)?_0x4c169c[_0x16a3f5(0x412)](String):_0x4c169c==null?[]:[String(_0x4c169c)],{'createDefaultConfig':()=>({'options':[],'optionSource':{'type':'manual'}}),'createDefaultValue':_0x1f9a4f=>_0x1f9a4f[_0x16a3f5(0x487)]??[]}),H(_0x1013ad['Person'],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsMultipleValues':!0x0},Wn,{'createDefaultConfig':()=>({'allowMultiple':!0x1,'provider':_0x16a3f5(0x2c8)}),'validate':Gn}),H(_0x1013ad[_0x16a3f5(0xf7)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsMultipleValues':!0x0},Hn,{'createDefaultConfig':()=>({'allowMultiple':!0x0,'provider':_0x16a3f5(0x16a)}),'createDefaultValue':_0x3e010f=>_0x3e010f[_0x16a3f5(0x487)]??[],'validate':Kn}),H(_0x1013ad[_0x16a3f5(0x2b2)],{'groupable':!0x0,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x235366=>un(_0x235366),{'createDefaultConfig':()=>Vn(),'validate':qn}),H(_0x1013ad['Attachment'],{'usableAsCardCover':!0x0,'supportsMultipleValues':!0x0},_0x2ea8a7=>_0x2ea8a7==null?[]:Array['isArray'](_0x2ea8a7)?_0x2ea8a7:[_0x2ea8a7],{'createDefaultValue':_0x1d78e8=>_0x1d78e8[_0x16a3f5(0x487)]??[]}),H(_0x1013ad[_0x16a3f5(0x302)],{},_0x48f924=>_0x48f924==null||_0x48f924===''?null:Number(_0x48f924),{'createDefaultConfig':()=>Bn(),'validate':Jn}),H(_0x1013ad[_0x16a3f5(0x205)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0},_0x26d22b=>_0x26d22b===!0x0||_0x26d22b===_0x16a3f5(0x1f3)||_0x26d22b===0x1||_0x26d22b==='1',{'createDefaultConfig':()=>({'icon':_0x16a3f5(0xfc),'color':_0x16a3f5(0xe5)}),'createDefaultValue':_0x1111fb=>_0x1111fb[_0x16a3f5(0x487)]??!0x1,'validate':_0xdc0916=>typeof _0xdc0916==_0x16a3f5(0x224)?{'valid':!0x0}:{'valid':!0x1,'reason':_0x16a3f5(0x234)}}),H(_0x1013ad[_0x16a3f5(0x170)],{'supportsRelation':!0x0},Xn,{'createDefaultConfig':()=>({'placeholder':_0x16a3f5(0x238)}),'toPlainText':_0x3b9473=>Zn(_0x3b9473),'fromPlainText':_0x3fa913=>Xn(_0x3fa913)}),H(_0x1013ad[_0x16a3f5(0x3d9)],{'editable':!0x1},void 0x0,{'createDefaultConfig':()=>({'formula':'','dependencies':[],'numfmt':{'type':_0x16a3f5(0x42c),'pattern':_0x16a3f5(0x149)}}),'createDefaultValue':()=>null}),H(_0x1013ad[_0x16a3f5(0x1d8)],{'editable':!0x1,'usableAsTitle':!0x0},void 0x0,{'createDefaultConfig':()=>({'mode':_0x16a3f5(0x37f)}),'createDefaultValue':()=>null}),H(_0x1013ad[_0x16a3f5(0x1fc)],{'usableAsTitle':!0x0},_0x38a493=>_0x38a493==null?null:String(_0x38a493)[_0x16a3f5(0x140)](),{'validate':_0x1955ac=>_0x1955ac==null||_0x1955ac===''||/^\+?[0-9 ()-]{6,20}$/['test'](String(_0x1955ac))?{'valid':!0x0}:{'valid':!0x1,'reason':'[BaseField]:\x20invalid\x20phone\x20value.'}}),H(_0x1013ad[_0x16a3f5(0x20f)],{'usableAsTitle':!0x0},_0x4918f6=>_0x4918f6==null?null:String(_0x4918f6)[_0x16a3f5(0x140)](),{'validate':_0x6107e9=>_0x6107e9==null||_0x6107e9===''||$n(String(_0x6107e9))?{'valid':!0x0}:{'valid':!0x1,'reason':_0x16a3f5(0x226)}}),H(_0x1013ad[_0x16a3f5(0x3e1)],{'usableAsGanttProgress':!0x0},_0x51528c=>_0x51528c==null||_0x51528c===''?null:Number(_0x51528c),{'createDefaultConfig':()=>({'format':_0x16a3f5(0x2ed),'decimalPlaces':0x0,'color':_0x16a3f5(0x465),'customRange':!0x1,'start':0x0,'end':0x64}),'validate':(_0x1d39da,_0x4d5058)=>Yn(_0x1d39da,_0x4d5058,_0x16a3f5(0x19f))}),H(_0x1013ad[_0x16a3f5(0x295)],{},_0x18e7a0=>_0x18e7a0==null||_0x18e7a0===''?null:Number(_0x18e7a0),{'createDefaultConfig':()=>({...Bn(),'currencySymbol':'$'}),'validate':Jn}),H(_0x1013ad[_0x16a3f5(0x20a)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0},_0x314a51=>_0x314a51==null||_0x314a51===''?null:Number(_0x314a51),{'createDefaultConfig':()=>({'icon':_0x16a3f5(0x21d),'min':0x1,'max':0x5}),'createDefaultValue':()=>null,'validate':(_0x2cbbf8,_0x5cd5de)=>Yn(_0x2cbbf8,_0x5cd5de,'[BaseField]:\x20invalid\x20rating\x20value.')}),H(_0x1013ad[_0x16a3f5(0x12f)],{'supportsRelation':!0x0,'supportsMultipleValues':!0x0},Un,{'createDefaultConfig':()=>({'targetTableId':'','multiple':!0x1}),'createDefaultValue':()=>'','validate':(_0xe3aa51,_0x1f319f)=>ze(_0xe3aa51,_0x1f319f[_0x16a3f5(0x174)][_0x16a3f5(0x3eb)]===!0x0)}),H(_0x1013ad[_0x16a3f5(0x212)],{'editable':!0x1,'sortable':!0x0,'filterable':!0x0,'usableAsTitle':!0x0}),H(_0x1013ad['CreatedBy'],{'editable':!0x1,'groupable':!0x0},_0x4bd7ae=>_0x4bd7ae==null?null:String(_0x4bd7ae),{'createDefaultConfig':()=>({'provider':_0x16a3f5(0x25c)}),'createDefaultValue':()=>null}),H(_0x1013ad[_0x16a3f5(0x1d5)],{'editable':!0x1,'groupable':!0x0},_0x1dd639=>_0x1dd639==null?null:String(_0x1dd639),{'createDefaultConfig':()=>({'provider':_0x16a3f5(0x25c)}),'createDefaultValue':()=>null}),H(_0x1013ad[_0x16a3f5(0x483)],{'editable':!0x1,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x49d742=>un(_0x49d742),{'createDefaultConfig':()=>Vn(),'createDefaultValue':()=>null,'validate':qn}),H(_0x1013ad[_0x16a3f5(0xe4)],{'editable':!0x1,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x39aa3d=>un(_0x39aa3d),{'createDefaultConfig':()=>Vn(),'createDefaultValue':()=>null,'validate':qn})];}function Bn(){const _0x56b0c3=_0x327967;return{'pattern':_0x56b0c3(0x395),'decimalPlaces':0x2,'separatorStyle':_0x56b0c3(0xea),'useThousands':!0x0,'abbreviation':_0x56b0c3(0x2d2),'allowNegative':!0x0};}function Vn(){const _0x12af3f=_0x327967;return{'locale':_0x12af3f(0x29d),'pattern':_0x12af3f(0x20c),'includeTime':!0x1,'hourCycle':'h24','defaultMode':_0x12af3f(0x2d2)};}function Hn(_0x42e61a){const _0x38b9fe=_0x327967;return _0x42e61a==null||_0x42e61a===''?[]:Array[_0x38b9fe(0x3fb)](_0x42e61a)?_0x42e61a[_0x38b9fe(0x412)](String):[String(_0x42e61a)];}function Un(_0x57dbef){const _0x3b697b=_0x327967;return typeof _0x57dbef==_0x3b697b(0x2a0)?_0x57dbef:'';}function Wn(_0x5ba25e,_0x50fb65){const _0x3855aa=_0x327967;return _0x5ba25e==null||_0x5ba25e===''?_0x50fb65[_0x3855aa(0x174)][_0x3855aa(0x118)]===!0x0?[]:null:_0x50fb65['config'][_0x3855aa(0x118)]===!0x0?Array[_0x3855aa(0x3fb)](_0x5ba25e)?_0x5ba25e['map'](String):[String(_0x5ba25e)]:Array[_0x3855aa(0x3fb)](_0x5ba25e)?String(_0x5ba25e[0x0]??'')||null:String(_0x5ba25e);}function Gn(_0xbbac2,_0x12eee7){const _0x3ef063=_0x327967;return _0x12eee7[_0x3ef063(0x174)][_0x3ef063(0x118)]===!0x0?Kn(_0xbbac2):_0xbbac2==null||_0xbbac2===''||typeof _0xbbac2==_0x3ef063(0x2a0)?{'valid':!0x0}:{'valid':!0x1,'reason':_0x3ef063(0x344)};}function Kn(_0x5dc35d){const _0x1afbca=_0x327967;return _0x5dc35d==null||Array[_0x1afbca(0x3fb)](_0x5dc35d)&&_0x5dc35d[_0x1afbca(0x44b)](_0x56d7dc=>typeof _0x56d7dc==_0x1afbca(0x2a0))?{'valid':!0x0}:{'valid':!0x1,'reason':_0x1afbca(0x310)};}function qn(_0x3b0f26){const _0xcd2d7a=_0x327967;return _0x3b0f26==null||typeof _0x3b0f26=='number'&&Number[_0xcd2d7a(0x138)](_0x3b0f26)?{'valid':!0x0}:{'valid':!0x1,'reason':_0xcd2d7a(0x290)};}function Jn(_0x45cf45,_0x3cac0d){const _0x500bde=_0x327967;return _0x45cf45==null||_0x45cf45===''?{'valid':!0x0}:typeof _0x45cf45!=_0x500bde(0x218)||!Number[_0x500bde(0x138)](_0x45cf45)?{'valid':!0x1,'reason':'[BaseField]:\x20invalid\x20number\x20value.'}:_0x3cac0d[_0x500bde(0x174)]['allowNegative']===!0x1&&_0x45cf45<0x0?{'valid':!0x1,'reason':_0x500bde(0x1fd)}:{'valid':!0x0};}function Yn(_0x409bee,_0x5c5b81,_0x4155ef){const _0x50a44f=_0x327967;let _0x5589f7=Jn(_0x409bee,_0x5c5b81);if(!_0x5589f7[_0x50a44f(0x48b)]||_0x409bee==null||_0x409bee==='')return _0x5589f7;let _0x2c6ad1=Number(_0x5c5b81['config'][_0x50a44f(0x37a)]??_0x5c5b81[_0x50a44f(0x174)][_0x50a44f(0x47f)]??0x0),_0x2ec129=Number(_0x5c5b81[_0x50a44f(0x174)]['max']??_0x5c5b81[_0x50a44f(0x174)][_0x50a44f(0x3c3)]??0x64),_0x546a9f=Number(_0x409bee);return _0x546a9f>=_0x2c6ad1&&_0x546a9f<=_0x2ec129?{'valid':!0x0}:{'valid':!0x1,'reason':_0x4155ef};}function Xn(_0x3e5693){const _0x3de853=_0x327967;if(_0x3e5693==null||_0x3e5693==='')return null;if(typeof _0x3e5693==_0x3de853(0x3d8)&&!Array['isArray'](_0x3e5693)){let _0x10d1f2=_0x3e5693,_0x52ee82=typeof _0x10d1f2['text']==_0x3de853(0x2a0)?_0x10d1f2[_0x3de853(0x179)][_0x3de853(0x140)]():'',_0x2abc7f=typeof _0x10d1f2[_0x3de853(0x15e)]==_0x3de853(0x2a0)?_0x10d1f2[_0x3de853(0x15e)][_0x3de853(0x140)]():'',_0x1b3301=Qn(_0x2abc7f||_0x52ee82);return _0x1b3301?{'text':_0x52ee82||_0x2abc7f||_0x1b3301,'url':_0x1b3301}:null;}let _0xba04a1=String(_0x3e5693)[_0x3de853(0x140)](),_0x47a34a=Qn(_0xba04a1);return _0x47a34a?{'text':_0xba04a1,'url':_0x47a34a}:null;}function Zn(_0x1545ed){const _0xaec375=_0x327967;if(_0x1545ed==null)return'';if(typeof _0x1545ed==_0xaec375(0x3d8)&&!Array['isArray'](_0x1545ed)){let _0x57c66a=_0x1545ed;return String(_0x57c66a['text']||_0x57c66a['url']||'');}return String(_0x1545ed);}function Qn(_0x151c3f){const _0x58d85b=_0x327967;let _0x5d4c4f=_0x151c3f[_0x58d85b(0x140)]();if(!_0x5d4c4f)return'';let _0x823d49=/^[a-z][a-z\d+.-]*:/i[_0x58d85b(0x3e2)](_0x5d4c4f)?_0x5d4c4f:_0x5d4c4f[_0x58d85b(0x2ad)]('//')?_0x58d85b(0x141)+_0x5d4c4f:_0x58d85b(0x156)+_0x5d4c4f;try{let _0x336629=new URL(_0x823d49);return _0x336629[_0x58d85b(0x1a3)]===_0x58d85b(0x1f9)||_0x336629[_0x58d85b(0x1a3)]==='https:'?_0x336629['href']:'';}catch{return'';}}function $n(_0x231287){const _0x40dbe5=_0x327967;let _0x3d8dcb=_0x231287[_0x40dbe5(0x1c5)]('@');if(_0x3d8dcb<=0x0||_0x3d8dcb!==_0x231287[_0x40dbe5(0x414)]('@'))return!0x1;let _0x57aab5=_0x231287[_0x40dbe5(0x348)](_0x3d8dcb+0x1);return _0x57aab5[_0x40dbe5(0x45c)]('.')&&!_0x231287['includes']('\x20')&&!_0x57aab5['startsWith']('.')&&!_0x57aab5['endsWith']('.');}const U={'table':_0x25bc3a=>[_0x327967(0x486),_0x25bc3a],'field':(_0x31fd1d,_0x328458)=>[_0x327967(0x486),_0x31fd1d,_0x327967(0x305),_0x328458],'fieldOrder':(_0xf03a91,_0x430381)=>['tables',_0xf03a91,_0x327967(0x1f8),_0x430381],'record':(_0x2cf561,_0x394f89)=>['tables',_0x2cf561,_0x327967(0x1d7),_0x394f89],'cell':(_0x31359c,_0x5abd1c,_0x172203)=>[_0x327967(0x486),_0x31359c,_0x327967(0x1d7),_0x5abd1c,_0x327967(0x259),_0x172203],'cellData':(_0x1a5120,_0x542970,_0x44106f)=>[_0x327967(0x486),_0x1a5120,_0x327967(0xdd),String(_0x542970),String(_0x44106f)],'attachmentSet':(_0x480d58,_0x5a3b95)=>['tables',_0x480d58,_0x327967(0x2b3),'attachmentSets',_0x5a3b95],'attachment':(_0xb17584,_0x3f2fc8)=>[_0x327967(0x486),_0xb17584,_0x327967(0x2b3),_0x327967(0x320),_0x3f2fc8],'view':(_0xca2b88,_0xce7aec)=>[_0x327967(0x486),_0xca2b88,_0x327967(0x1eb),_0xce7aec],'viewFieldHidden':(_0x2db12f,_0x413798,_0x34469c)=>[_0x327967(0x486),_0x2db12f,_0x327967(0x1eb),_0x413798,_0x327967(0x105),_0x34469c,_0x327967(0x30a)]};var W=class{[_0x327967(0x41e)](_0x5d4cbf,_0x35b12d){const _0x737873=_0x327967;let _0x4f38d0=this['renameFormulaUnitReferences'](_0x5d4cbf,_0x5d4cbf[_0x737873(0x158)],_0x35b12d);return R([this[_0x737873(0x435)]([_0x737873(0x158)],_0x5d4cbf['name'],_0x35b12d),..._0x4f38d0?[_0x4f38d0]:[]]);}[_0x327967(0x44f)](_0x1696df,_0x6100bf,_0x583608){const _0x4e64c1=_0x327967;let _0x2bdc71=Object[_0x4e64c1(0x259)](_0x1696df[_0x4e64c1(0x486)])['flatMap'](_0x48597d=>Object[_0x4e64c1(0x259)](_0x48597d[_0x4e64c1(0x305)])['flatMap'](_0x1a57b4=>{const _0x3f1c01=_0x4e64c1;var _0x50cf2e,_0x43c65b;if(_0x1a57b4[_0x3f1c01(0x346)]!==_0x1013ad[_0x3f1c01(0x3d9)])return[];let _0x46e4b3=String(((_0x50cf2e=_0x1a57b4[_0x3f1c01(0x174)])==null?void 0x0:_0x50cf2e[_0x3f1c01(0x377)])??''),_0x5ce4e3=_0x21a61d(_0x46e4b3,_0x6100bf,_0x583608);return _0x5ce4e3===_0x46e4b3?[]:[this[_0x3f1c01(0x435)]([...U[_0x3f1c01(0x1fe)](_0x48597d['id'],_0x1a57b4['id']),_0x3f1c01(0x174),_0x3f1c01(0x377)],(_0x43c65b=_0x1a57b4[_0x3f1c01(0x174)])==null?void 0x0:_0x43c65b[_0x3f1c01(0x377)],_0x5ce4e3)];}));return _0x2bdc71[_0x4e64c1(0x1bf)]>0x0?R(_0x2bdc71):void 0x0;}[_0x327967(0x378)](_0x538f80,_0x597a0c,_0x4cdb28=_0x538f80[_0x327967(0x39b)][_0x327967(0x1bf)]){const _0x810ac5=_0x327967;let _0x5b8f48=_0x54f542(_0x597a0c[_0x810ac5(0x158)],_0xbad9f1(_0x538f80)[_0x810ac5(0x259)](),_0x597a0c['formulaName']),_0x578140=_0x597a0c[_0x810ac5(0x3a8)]===_0x5b8f48?_0x597a0c:{..._0x597a0c,'formulaName':_0x5b8f48};return R([...this['_materializeFormulaTableNames'](_0x538f80),_0x43163e['insertOp'](U[_0x810ac5(0x496)](_0x597a0c['id']),_0x578140),_0x43163e[_0x810ac5(0xf4)](['tableOrder',_0x4cdb28],_0x597a0c['id'])]);}['renameTable'](_0x2d88ae,_0x2e42ce,_0x516103){const _0x47845a=_0x327967;let _0x5e41f1=_0x2d88ae[_0x47845a(0x486)][_0x2e42ce];return R([...this[_0x47845a(0x229)](_0x2d88ae),_0x43163e[_0x47845a(0x464)]([...U[_0x47845a(0x496)](_0x2e42ce),_0x47845a(0x158)],_0x5e41f1['name'],_0x516103)]);}['deleteTable'](_0x1ce553,_0xc4f4de){const _0x22218a=_0x327967;let _0x521202=_0x1ce553['tables'][_0xc4f4de],_0x638bfd=_0x1ce553[_0x22218a(0x39b)]['indexOf'](_0xc4f4de);return R([...this['_materializeFormulaTableNames'](_0x1ce553,new Set([_0xc4f4de])),_0x43163e[_0x22218a(0x3e5)](U[_0x22218a(0x496)](_0xc4f4de),_0x521202),_0x43163e['removeOp'](['tableOrder',_0x638bfd],_0xc4f4de)]);}[_0x327967(0x3ab)](_0x2ed5f4,_0x3cf800,_0xd32d){const _0x3e3d9c=_0x327967;return this[_0x3e3d9c(0x46e)](_0x2ed5f4,_0x3cf800,[_0xd32d]);}[_0x327967(0x46e)](_0x56309a,_0x23d33e,_0x12f459){const _0x4916ad=_0x327967;let _0x56ac17=_0x56309a[_0x4916ad(0x486)][_0x23d33e],_0x283f7b=_0x12f459['filter'](_0x2f0a63=>_0x2f0a63&&!_0x56ac17[_0x4916ad(0x1d7)][_0x2f0a63['id']])[_0x4916ad(0x412)](_0x3f5324=>({..._0x3f5324,'values':{..._0x3f5324['values'],[_0x40fc9d]:_0x3f5324['id']}}));if(!_0x283f7b[_0x4916ad(0x1bf)])return _0x43163e[_0x4916ad(0x464)]([...U[_0x4916ad(0x496)](_0x23d33e),_0x4916ad(0x1d7)],_0x56ac17[_0x4916ad(0x1d7)],_0x56ac17[_0x4916ad(0x1d7)]);let _0x75df02=new _0x43163e[(_0x4916ad(0x45e))](),_0x2673f4=[..._0x283f7b][_0x4916ad(0x460)]((_0x4c795d,_0x151ea6)=>_0x4c795d['id']<_0x151ea6['id']?-0x1:+(_0x4c795d['id']>_0x151ea6['id'])),_0x597d83=[...U[_0x4916ad(0x496)](_0x23d33e),_0x4916ad(0x1d7)];_0x75df02[_0x4916ad(0x35b)](_0x597d83);for(let _0x5147cd of _0x2673f4)_0x75df02[_0x4916ad(0x2c2)](_0x5147cd['id']),_0x75df02[_0x4916ad(0x29f)]('i',_0x5147cd),_0x75df02[_0x4916ad(0x2f3)]();for(let _0x439775=0x0;_0x439775<_0x597d83[_0x4916ad(0x1bf)];_0x439775+=0x1)_0x75df02[_0x4916ad(0x2f3)]();return R([_0x75df02[_0x4916ad(0x318)](),this[_0x4916ad(0x2a2)](_0x56309a,_0x23d33e,_0x283f7b)]);}[_0x327967(0x33a)](_0x59f8e1,_0x128265,_0x5a2433){const _0x2b83c1=_0x327967;return this[_0x2b83c1(0x109)](_0x59f8e1,_0x128265,[_0x5a2433]);}[_0x327967(0x109)](_0x5ba94e,_0x4c4145,_0x3ae1fc){const _0x72d877=_0x327967;let _0x426bde=_0x5ba94e[_0x72d877(0x486)][_0x4c4145],_0x1f71d2=Array[_0x72d877(0x1d1)](new Set(_0x3ae1fc))[_0x72d877(0x1be)](_0x4760de=>_0x426bde['records'][_0x4760de]);if(!_0x1f71d2[_0x72d877(0x1bf)])return _0x43163e[_0x72d877(0x464)]([...U['table'](_0x4c4145),_0x72d877(0x1d7)],_0x426bde[_0x72d877(0x1d7)],_0x426bde[_0x72d877(0x1d7)]);let _0x4b4c39=new Set(_0x1f71d2),_0x2a82dc=et(_0x426bde,_0x1f71d2)['map'](_0x4f1152=>this[_0x72d877(0x154)](_0x5ba94e,_0x4c4145,_0x4f1152[_0x72d877(0x345)],_0x4f1152[_0x72d877(0x173)],''));return R([this['_deleteRecordsBaseOp'](_0x5ba94e,_0x4c4145,_0x1f71d2,_0x4b4c39),..._0x2a82dc]);}[_0x327967(0x1ea)](_0x593cd1,_0xda686,_0x3cd0f4,_0x220b06){const _0x158413=_0x327967;let _0x2c9937=_0x593cd1[_0x158413(0x486)][_0x3cd0f4],_0x1546c1=Array[_0x158413(0x1d1)](new Set(_0x220b06))[_0x158413(0x1be)](_0x5deff1=>_0x2c9937['records'][_0x5deff1]),_0x5e9fb5=new Set(_0x1546c1);return R([new z()[_0x158413(0x38e)](_0x593cd1,this[_0x158413(0x494)](_0x593cd1,_0x3cd0f4,_0x1546c1,_0x5e9fb5)),...et(_0x2c9937,_0x1546c1)[_0x158413(0x412)](_0x198ae4=>this['updateCell'](_0xda686,_0x3cd0f4,_0x198ae4[_0x158413(0x345)],_0x198ae4[_0x158413(0x173)],_0x198ae4[_0x158413(0x410)]??''))]);}[_0x327967(0x494)](_0x4c0582,_0xc3e503,_0xc538b9,_0xa4fc49){const _0x546174=_0x327967;let _0xf4ab8f=_0x4c0582['tables'][_0xc3e503],_0x238c69=_0xc538b9[_0x546174(0x412)](_0x56bb33=>{const _0x91f38d=_0x546174;var _0x48256f;return{'recordId':_0x56bb33,'index':((_0x48256f=_0xf4ab8f['recordOrder'])==null?void 0x0:_0x48256f[_0x91f38d(0x1c5)](_0x56bb33))??-0x1};})[_0x546174(0x1be)](_0x2d9f5=>_0x2d9f5[_0x546174(0x1b6)]>=0x0)[_0x546174(0x460)]((_0x28de14,_0x565c42)=>_0x565c42[_0x546174(0x1b6)]-_0x28de14[_0x546174(0x1b6)]);return R([..._0xc538b9['map'](_0x589819=>_0x43163e['removeOp'](U[_0x546174(0x472)](_0xc3e503,_0x589819),_0xf4ab8f['records'][_0x589819])),..._0x238c69[_0x546174(0x412)](({recordId:_0x111e3c,index:_0x391a27})=>_0x43163e['removeOp']([_0x546174(0x486),_0xc3e503,_0x546174(0x1e2),_0x391a27],_0x111e3c)),...this[_0x546174(0x3d5)](_0xf4ab8f,_0xc3e503,_0x37ae96=>{const _0x35d2a6=_0x546174;let _0x2631bf=_0x37ae96[_0x35d2a6(0x348)](_0x37ae96[_0x35d2a6(0x414)]('\x1f')+0x1);return _0xa4fc49[_0x35d2a6(0x103)](_0x2631bf);})]);}[_0x327967(0x11d)](_0x58c759,_0xac9f70,_0x4d2bac,_0x381744){const _0x300a31=_0x327967;return this[_0x300a31(0x3ab)](_0x58c759,_0xac9f70,{..._0x381744,'values':{..._0x58c759[_0x300a31(0x486)][_0xac9f70]['records'][_0x4d2bac][_0x300a31(0x259)],..._0x381744['values'],[_0x40fc9d]:_0x381744['id']}});}[_0x327967(0x19e)](_0x59351e,_0x2afc40,_0x407571,_0x400042){const _0x10337e=_0x327967;let _0x2cc6da=_0x59351e[_0x10337e(0x486)][_0x2afc40],_0x2624db=[...U[_0x10337e(0x472)](_0x2afc40,_0x407571),_0x10337e(0x44c)],_0x57f36d=Object[_0x10337e(0x259)](_0x2cc6da[_0x10337e(0x1d7)])[_0x10337e(0x412)](_0x30128d=>_0x30128d['id']===_0x407571?{..._0x30128d,'orderKey':_0x400042}:_0x30128d)[_0x10337e(0x460)]((_0x4675a5,_0xc508f3)=>String(_0x4675a5['orderKey']??_0x4675a5['id'])[_0x10337e(0x3a4)](String(_0xc508f3[_0x10337e(0x44c)]??_0xc508f3['id'])))[_0x10337e(0x412)](_0x2a9a66=>_0x2a9a66['id']),_0x256e42=[...U[_0x10337e(0x496)](_0x2afc40),_0x10337e(0x1e2)];return R([this[_0x10337e(0x435)](_0x2624db,_0x2cc6da['records'][_0x407571][_0x10337e(0x44c)],_0x400042),_0x2cc6da[_0x10337e(0x1e2)]?_0x43163e[_0x10337e(0x464)](_0x256e42,_0x2cc6da[_0x10337e(0x1e2)],_0x57f36d):_0x43163e[_0x10337e(0xf4)](_0x256e42,_0x57f36d)]);}[_0x327967(0x154)](_0x5d42f5,_0x491bae,_0x52c8e8,_0x514337,_0x424323){const _0x35e495=_0x327967;var _0x21e205,_0x129934;let _0x2f9c63=_0x5d42f5['tables'][_0x491bae],_0x2714e7=ar(_0x2f9c63,_0x52c8e8,_0x514337)?_0x2f9c63:L(_0x2f9c63),_0x1b75fb=(_0x21e205=_0x2714e7[_0x35e495(0x257)])==null?void 0x0:_0x21e205[_0x52c8e8],_0x2d375d=(_0x129934=_0x2714e7['colIndex'])==null?void 0x0:_0x129934[_0x514337];if(_0x1b75fb==null||_0x2d375d==null){var _0x1c6110;return this['_replaceOptional'](U[_0x35e495(0x228)](_0x491bae,_0x52c8e8,_0x514337),(_0x1c6110=_0x5d42f5[_0x35e495(0x486)][_0x491bae])==null||(_0x1c6110=_0x1c6110[_0x35e495(0x1d7)][_0x52c8e8])==null?void 0x0:_0x1c6110[_0x35e495(0x259)][_0x514337],_0x424323);}return this['setRangeValues'](_0x5d42f5,_0x491bae,[{'row':_0x1b75fb,'col':_0x2d375d,'value':_0x424323}]);}['setRecordValues'](_0x25fd41,_0x435224,_0x923b78){const _0x176704=_0x327967;let _0x1412e2=_0x25fd41[_0x176704(0x486)][_0x435224],_0x17ec25=_0x923b78[_0x176704(0x44b)](_0x2d70b2=>Object[_0x176704(0x27a)](_0x2d70b2[_0x176704(0x259)])[_0x176704(0x44b)](_0x5c8cf2=>ar(_0x1412e2,_0x2d70b2[_0x176704(0x345)],_0x5c8cf2)))?_0x1412e2:L(_0x1412e2),_0x5e5de6=_0x923b78['flatMap'](_0xc247c3=>Object[_0x176704(0x209)](_0xc247c3[_0x176704(0x259)])[_0x176704(0xeb)](([_0x3e7c3f,_0x4d541f])=>{const _0x10298c=_0x176704;var _0x3968cd,_0x3d1c20;let _0x516860=(_0x3968cd=_0x17ec25['rowIndex'])==null?void 0x0:_0x3968cd[_0xc247c3[_0x10298c(0x345)]],_0xc43626=(_0x3d1c20=_0x17ec25[_0x10298c(0x22a)])==null?void 0x0:_0x3d1c20[_0x3e7c3f];return _0x516860==null||_0xc43626==null?[]:[{'row':_0x516860,'col':_0xc43626,'value':_0x4d541f}];})),_0x493530=_0x923b78[_0x176704(0xeb)](_0x1fb2fa=>Object[_0x176704(0x209)](_0x1fb2fa[_0x176704(0x37c)]??{})['map'](([_0x4e51dd,_0x12622a])=>{const _0x2a8020=_0x176704;var _0x4b279c;let _0x479262=[...U[_0x2a8020(0x472)](_0x435224,_0x1fb2fa[_0x2a8020(0x345)]),_0x4e51dd],_0x17cbaf=(_0x4b279c=_0x25fd41['tables'][_0x435224])==null||(_0x4b279c=_0x4b279c[_0x2a8020(0x1d7)][_0x1fb2fa[_0x2a8020(0x345)]])==null?void 0x0:_0x4b279c[_0x4e51dd];return this[_0x2a8020(0x435)](_0x479262,_0x17cbaf,_0x12622a);}));return R([this['setRangeValues'](_0x25fd41,_0x435224,_0x5e5de6),..._0x493530]);}[_0x327967(0x1c0)](_0x53c38e,_0x139907,_0x2d1b26){const _0x36cf36=_0x327967;let _0x4db7a4=_0x53c38e[_0x36cf36(0x486)][_0x139907],_0x5662c3=_0x2d1b26[_0x36cf36(0x44b)](_0x3f7f8b=>or(_0x4db7a4,_0x3f7f8b[_0x36cf36(0x124)],_0x3f7f8b[_0x36cf36(0x36b)]))?_0x4db7a4:L(_0x4db7a4),_0x3e2247=new Map(),_0xd0da1=_0x2d1b26[_0x36cf36(0xeb)](_0x366e30=>{const _0x44ea50=_0x36cf36;var _0x26ec00,_0x2dbc7d,_0x4f3266,_0x568f70;let _0x26900c=(_0x26ec00=_0x5662c3[_0x44ea50(0x2ba)])==null?void 0x0:_0x26ec00[_0x366e30[_0x44ea50(0x36b)]],_0x5735c9=(_0x2dbc7d=_0x5662c3['rowId'])==null?void 0x0:_0x2dbc7d[_0x366e30['row']],_0x3f2b9f=_0x26900c?_0x5662c3[_0x44ea50(0x305)][_0x26900c]:void 0x0;if(_0x26900c===_0x40fc9d||(_0x3f2b9f==null?void 0x0:_0x3f2b9f[_0x44ea50(0x346)])===_0x1013ad['RecordId'])throw Error(_0x44ea50(0x19c));let _0x4209dc=xt(_0x366e30[_0x44ea50(0x1e1)],_0x3f2b9f),_0x4cca6b=(_0x4f3266=_0x5662c3[_0x44ea50(0xdd)])==null||(_0x4f3266=_0x4f3266[_0x366e30[_0x44ea50(0x124)]])==null?void 0x0:_0x4f3266[_0x366e30['col']],_0x7f78a4=this[_0x44ea50(0x435)](U[_0x44ea50(0xdd)](_0x139907,_0x366e30['row'],_0x366e30[_0x44ea50(0x36b)]),_0x4cca6b,_0x4209dc);if(!_0x26900c||!_0x5735c9)return[_0x7f78a4];let _0xa2f928=(_0x568f70=_0x5662c3[_0x44ea50(0x1d7)][_0x5735c9])==null?void 0x0:_0x568f70['values'][_0x26900c],_0x39a4c3=(_0x3f2b9f==null?void 0x0:_0x3f2b9f[_0x44ea50(0x346)])===_0x1013ad['Attachment']?kt(_0x366e30[_0x44ea50(0x1e1)]):wt(_0x366e30[_0x44ea50(0x1e1)],_0x4209dc,_0x3f2b9f,_0x5662c3,_0x5735c9),_0x1adf30=[_0x7f78a4,this[_0x44ea50(0x435)](U[_0x44ea50(0x228)](_0x139907,_0x5735c9,_0x26900c),_0xa2f928,_0x39a4c3)];return(_0x3f2b9f==null?void 0x0:_0x3f2b9f[_0x44ea50(0x346)])===_0x1013ad[_0x44ea50(0x49d)]&&_0x3e2247[_0x44ea50(0x3fe)](Et(_0x26900c,_0x5735c9),{'recordId':_0x5735c9,'fieldId':_0x26900c,'attachments':_0x39a4c3}),_0x1adf30;});return _0xd0da1[_0x36cf36(0x1bf)]?R([..._0xd0da1,...this[_0x36cf36(0x432)](_0x5662c3,_0x139907,Array['from'](_0x3e2247[_0x36cf36(0x259)]()))]):_0x43163e[_0x36cf36(0x464)]([_0x36cf36(0x486),_0x139907,_0x36cf36(0xdd)],_0x5662c3[_0x36cf36(0xdd)],_0x5662c3['cellData']);}['createField'](_0x5c76ca,_0x7df360,_0x50f52e){const _0x3d8167=_0x327967;let _0x75273d=_0x5c76ca['tables'][_0x7df360];if(_0x75273d[_0x3d8167(0x305)][_0x50f52e[_0x3d8167(0x1fe)]['id']]||_0x75273d['fieldOrder'][_0x3d8167(0x45c)](_0x50f52e[_0x3d8167(0x1fe)]['id']))return _0x43163e[_0x3d8167(0x464)]([_0x3d8167(0x486),_0x7df360,'fieldOrder'],_0x75273d['fieldOrder'],_0x75273d[_0x3d8167(0x1f8)]);let _0x2430b1=Math[_0x3d8167(0x31a)](0x1,_0x50f52e[_0x3d8167(0x1b6)]??_0x75273d[_0x3d8167(0x1f8)]['length']),_0x16caf1=Object[_0x3d8167(0x259)](_0x75273d[_0x3d8167(0x1eb)]??{})[_0x3d8167(0xeb)](_0x40aaa6=>{const _0x404cff=_0x3d8167;var _0x5ba1f8;if(!_0x40aaa6['fieldOrder']||_0x40aaa6[_0x404cff(0x1f8)][_0x404cff(0x45c)](_0x50f52e[_0x404cff(0x1fe)]['id']))return[];let _0x1fa99f=ur(((_0x5ba1f8=_0x50f52e[_0x404cff(0x321)])==null?void 0x0:_0x5ba1f8[_0x40aaa6['id']])??_0x2430b1,_0x40aaa6[_0x404cff(0x1f8)]['length']);return[_0x43163e['insertOp']([...U['view'](_0x7df360,_0x40aaa6['id']),'fieldOrder',_0x1fa99f],_0x50f52e[_0x404cff(0x1fe)]['id'])];});return R([..._0x50f52e['field'][_0x3d8167(0x346)]===_0x1013ad['Formula']?this['_materializeFormulaTableNames'](_0x5c76ca):[],_0x43163e['insertOp'](U[_0x3d8167(0x1fe)](_0x7df360,_0x50f52e[_0x3d8167(0x1fe)]['id']),_0x50f52e[_0x3d8167(0x1fe)]),_0x43163e['insertOp'](U['fieldOrder'](_0x7df360,_0x2430b1),_0x50f52e[_0x3d8167(0x1fe)]['id']),..._0x16caf1]);}[_0x327967(0x400)](_0x2856a5,_0x5afb96,_0x3bf676,_0x114cc4){const _0xa70869=_0x327967;let _0x1f373c=_0x2856a5[_0xa70869(0x486)][_0x5afb96];if(!_0x1f373c['fields'][_0x3bf676]||_0x1f373c[_0xa70869(0x305)][_0x114cc4[_0xa70869(0x1fe)]['id']]||_0x1f373c['fieldOrder']['includes'](_0x114cc4[_0xa70869(0x1fe)]['id']))return _0x43163e[_0xa70869(0x464)]([_0xa70869(0x486),_0x5afb96,'fieldOrder'],_0x1f373c[_0xa70869(0x1f8)],_0x1f373c[_0xa70869(0x1f8)]);let _0x5984a7=_0x114cc4['index']??_0x1f373c[_0xa70869(0x1f8)][_0xa70869(0x1c5)](_0x3bf676)+0x1,_0x5ad1f7=_0x1f373c['fieldOrder'][_0xa70869(0x1be)](_0x107083=>_0x107083!==_0x114cc4[_0xa70869(0x1fe)]['id']),_0x5a88a6=cr(_0x5ad1f7,_0x114cc4['field']['id'],_0x5984a7),_0x5933c2=Object[_0xa70869(0x259)](_0x1f373c['views']??{})[_0xa70869(0xeb)](_0x37e1b9=>{const _0x579598=_0xa70869;var _0x2f656e,_0x43c6c9,_0x565372,_0x281d3d;let _0x397ac5=(_0x2f656e=_0x37e1b9['fieldOrder'])!=null&&_0x2f656e[_0x579598(0x1bf)]?_0x37e1b9['fieldOrder']:_0x5ad1f7;if(_0x397ac5['includes'](_0x114cc4[_0x579598(0x1fe)]['id']))return[];let _0x27f4a8=cr(_0x397ac5,_0x114cc4['field']['id'],((_0x43c6c9=_0x114cc4['viewIndexes'])==null?void 0x0:_0x43c6c9[_0x37e1b9['id']])??_0x5984a7),_0x29e22e=(_0x565372=_0x37e1b9[_0x579598(0x105)])==null?void 0x0:_0x565372[_0x3bf676];return[this[_0x579598(0x435)]([...U['view'](_0x5afb96,_0x37e1b9['id']),_0x579598(0x1f8)],_0x37e1b9[_0x579598(0x1f8)],_0x27f4a8),..._0x29e22e?[this[_0x579598(0x435)]([...U['view'](_0x5afb96,_0x37e1b9['id']),'fieldSettings',_0x114cc4[_0x579598(0x1fe)]['id']],(_0x281d3d=_0x37e1b9[_0x579598(0x105)])==null?void 0x0:_0x281d3d[_0x114cc4[_0x579598(0x1fe)]['id']],_0x29e22e)]:[]];}),_0x278e51=Object[_0xa70869(0x259)](_0x1f373c[_0xa70869(0x1d7)])[_0xa70869(0x1be)](_0x5d8d1c=>Object[_0xa70869(0x331)][_0xa70869(0x150)][_0xa70869(0x171)](_0x5d8d1c[_0xa70869(0x259)],_0x3bf676))[_0xa70869(0x412)](_0x5e9922=>this[_0xa70869(0x435)](U['cell'](_0x5afb96,_0x5e9922['id'],_0x114cc4[_0xa70869(0x1fe)]['id']),_0x5e9922[_0xa70869(0x259)][_0x114cc4['field']['id']],_0x5e9922[_0xa70869(0x259)][_0x3bf676]));return R([..._0x114cc4[_0xa70869(0x1fe)][_0xa70869(0x346)]===_0x1013ad[_0xa70869(0x3d9)]?this['_materializeFormulaTableNames'](_0x2856a5):[],_0x43163e[_0xa70869(0xf4)](U['field'](_0x5afb96,_0x114cc4[_0xa70869(0x1fe)]['id']),_0x114cc4[_0xa70869(0x1fe)]),_0x43163e[_0xa70869(0x464)](['tables',_0x5afb96,_0xa70869(0x1f8)],_0x1f373c[_0xa70869(0x1f8)],_0x5a88a6),..._0x5933c2,..._0x278e51]);}[_0x327967(0x3de)](_0x45ac55,_0x1fc259,_0x51f240,_0x55d4a0){const _0x2ca4a4=_0x327967;let _0x17510b=_0x45ac55[_0x2ca4a4(0x486)][_0x1fc259][_0x2ca4a4(0x305)][_0x51f240],_0x200e32={..._0x17510b,..._0x55d4a0};Object[_0x2ca4a4(0x27a)](_0x55d4a0)[_0x2ca4a4(0x29b)](_0x29cdcd=>{_0x55d4a0[_0x29cdcd]===void 0x0&&delete _0x200e32[_0x29cdcd];});let _0x610c10=er(_0x45ac55['tables'][_0x1fc259],_0x51f240,_0x17510b,_0x200e32);_0x200e32=_0x610c10['field'];let _0x23f0db=_0x43163e[_0x2ca4a4(0x464)](U[_0x2ca4a4(0x1fe)](_0x1fc259,_0x51f240),_0x17510b,_0x200e32);return _0x200e32[_0x2ca4a4(0x346)]===_0x1013ad['Formula']?R([...this[_0x2ca4a4(0x229)](_0x45ac55),_0x23f0db,...this[_0x2ca4a4(0x319)](_0x45ac55,_0x1fc259,_0x51f240,_0x200e32)]):R([_0x23f0db,..._0x610c10[_0x2ca4a4(0x14b)]['length']?[this['setRangeValues'](_0x45ac55,_0x1fc259,_0x610c10['patches'])]:[]]);}['changeFieldType'](_0x54d880,_0x275e0d,_0x1bb9db,_0x18822f){const _0x4e9dbf=_0x327967;return this[_0x4e9dbf(0x3de)](_0x54d880,_0x275e0d,_0x1bb9db,_0x18822f);}[_0x327967(0x42f)](_0x3f899f,_0xee3840,_0x4cef46){const _0xc0a8f2=_0x327967;let _0x369117=_0x3f899f['tables'][_0xee3840];if(!(_0x369117!=null&&_0x369117[_0xc0a8f2(0x305)][_0x4cef46])||_0x369117[_0xc0a8f2(0x44a)]===_0x4cef46||_0x4cef46===_0x40fc9d)return _0x43163e[_0xc0a8f2(0x464)]([_0xc0a8f2(0x486),_0xee3840,'fieldOrder'],_0x369117==null?void 0x0:_0x369117[_0xc0a8f2(0x1f8)],_0x369117==null?void 0x0:_0x369117['fieldOrder']);let _0x3997ab=_0x369117[_0xc0a8f2(0x1f8)]['indexOf'](_0x4cef46),_0x155a66=Object[_0xc0a8f2(0x259)](_0x369117['views'])[_0xc0a8f2(0xeb)](_0x176c38=>{const _0x1d0e35=_0xc0a8f2;var _0x5e89d5,_0x22b94f,_0xb56026,_0x23bdbf,_0xa29654,_0x54eb2a,_0x426407;let _0x49cff6=[],_0x517fc3=((_0x5e89d5=_0x176c38[_0x1d0e35(0x1f8)])==null?void 0x0:_0x5e89d5['indexOf'](_0x4cef46))??-0x1;_0x517fc3>=0x0&&_0x49cff6['push'](_0x43163e['removeOp']([...U[_0x1d0e35(0x333)](_0xee3840,_0x176c38['id']),_0x1d0e35(0x1f8),_0x517fc3],_0x4cef46));let _0x49ba5b=(_0x22b94f=_0x176c38[_0x1d0e35(0x105)])==null?void 0x0:_0x22b94f[_0x4cef46];_0x49ba5b!==void 0x0&&_0x49cff6[_0x1d0e35(0x161)](_0x43163e[_0x1d0e35(0x3e5)]([...U[_0x1d0e35(0x333)](_0xee3840,_0x176c38['id']),_0x1d0e35(0x105),_0x4cef46],_0x49ba5b));let _0x586e12=_0x176c38[_0x1d0e35(0x1be)]?{..._0x176c38[_0x1d0e35(0x1be)],'conditions':_0x176c38[_0x1d0e35(0x1be)][_0x1d0e35(0x39c)][_0x1d0e35(0x1be)](_0x2c2688=>_0x2c2688[_0x1d0e35(0x173)]!==_0x4cef46)}:_0x176c38[_0x1d0e35(0x1be)];_0x586e12&&_0x586e12[_0x1d0e35(0x39c)][_0x1d0e35(0x1bf)]!==((_0xb56026=_0x176c38['filter'])==null?void 0x0:_0xb56026['conditions'][_0x1d0e35(0x1bf)])&&_0x49cff6[_0x1d0e35(0x161)](this[_0x1d0e35(0x435)]([...U[_0x1d0e35(0x333)](_0xee3840,_0x176c38['id']),_0x1d0e35(0x1be)],_0x176c38[_0x1d0e35(0x1be)],_0x586e12));let _0x443c17=(_0x23bdbf=_0x176c38['sort'])==null?void 0x0:_0x23bdbf['filter'](_0x721ef6=>_0x721ef6['fieldId']!==_0x4cef46);_0x443c17&&_0x443c17[_0x1d0e35(0x1bf)]!==((_0xa29654=_0x176c38[_0x1d0e35(0x460)])==null?void 0x0:_0xa29654[_0x1d0e35(0x1bf)])&&_0x49cff6['push'](this[_0x1d0e35(0x435)]([...U[_0x1d0e35(0x333)](_0xee3840,_0x176c38['id']),_0x1d0e35(0x460)],_0x176c38[_0x1d0e35(0x460)],_0x443c17));let _0x997e43=(_0x54eb2a=_0x176c38['group'])==null?void 0x0:_0x54eb2a['filter'](_0x25e3c9=>_0x25e3c9[_0x1d0e35(0x173)]!==_0x4cef46);_0x997e43&&_0x997e43['length']!==((_0x426407=_0x176c38[_0x1d0e35(0x16a)])==null?void 0x0:_0x426407[_0x1d0e35(0x1bf)])&&_0x49cff6['push'](this[_0x1d0e35(0x435)]([...U['view'](_0xee3840,_0x176c38['id']),_0x1d0e35(0x16a)],_0x176c38[_0x1d0e35(0x16a)],_0x997e43));let _0x5cd20f=lr(_0x176c38[_0x1d0e35(0x174)],_0x4cef46);return JSON[_0x1d0e35(0xf8)](_0x5cd20f)!==JSON[_0x1d0e35(0xf8)](_0x176c38[_0x1d0e35(0x174)])&&_0x49cff6[_0x1d0e35(0x161)](_0x43163e['replaceOp']([...U[_0x1d0e35(0x333)](_0xee3840,_0x176c38['id']),'config'],_0x176c38[_0x1d0e35(0x174)],_0x5cd20f)),_0x49cff6;}),_0x28b911=Object[_0xc0a8f2(0x259)](_0x369117[_0xc0a8f2(0x1d7)])[_0xc0a8f2(0xeb)](_0x10b51d=>Object[_0xc0a8f2(0x331)]['hasOwnProperty'][_0xc0a8f2(0x171)](_0x10b51d[_0xc0a8f2(0x259)],_0x4cef46)?[_0x43163e[_0xc0a8f2(0x3e5)](U[_0xc0a8f2(0x228)](_0xee3840,_0x10b51d['id'],_0x4cef46),_0x10b51d[_0xc0a8f2(0x259)][_0x4cef46])]:[]);return R([_0x43163e['removeOp'](U[_0xc0a8f2(0x1fe)](_0xee3840,_0x4cef46),_0x369117[_0xc0a8f2(0x305)][_0x4cef46]),_0x43163e['removeOp'](U[_0xc0a8f2(0x1f8)](_0xee3840,_0x3997ab),_0x4cef46),..._0x155a66,..._0x28b911,...this[_0xc0a8f2(0x3d5)](_0x369117,_0xee3840,_0x42a07a=>_0x42a07a[_0xc0a8f2(0x2ad)](_0x4cef46+'\x1f'))]);}[_0x327967(0x420)](_0x1bdddd,_0x2e0215,_0x519699,_0x310a73){const _0x410c66=_0x327967;let _0x52a203=_0x1bdddd[_0x410c66(0x486)][_0x2e0215][_0x410c66(0x1f8)];if(_0x519699===_0x40fc9d||_0x310a73[_0x410c66(0x25b)]===_0x40fc9d)throw Error(_0x410c66(0x375));let _0x2fa377=sr(_0x52a203,_0x519699,_0x310a73);return _0x43163e[_0x410c66(0x464)]([_0x410c66(0x486),_0x2e0215,'fieldOrder'],_0x52a203,_0x2fa377);}['createView'](_0x4a45f8,_0xdb4e98,_0x5687d5,_0x19f2e6=_0x4a45f8[_0x327967(0x486)][_0xdb4e98][_0x327967(0x2e1)][_0x327967(0x1bf)]){const _0x2b9c89=_0x327967;return R([_0x43163e[_0x2b9c89(0xf4)](U[_0x2b9c89(0x333)](_0xdb4e98,_0x5687d5['id']),_0x5687d5),_0x43163e[_0x2b9c89(0xf4)]([_0x2b9c89(0x486),_0xdb4e98,'viewOrder',_0x19f2e6],_0x5687d5['id'])]);}[_0x327967(0x271)](_0x506aac,_0x41892e,_0x27db60,_0x2f808b){const _0x3c4b26=_0x327967;return _0x43163e[_0x3c4b26(0x464)]([...U['view'](_0x41892e,_0x27db60),_0x3c4b26(0x158)],_0x506aac[_0x3c4b26(0x486)][_0x41892e]['views'][_0x27db60][_0x3c4b26(0x158)],_0x2f808b);}['deleteView'](_0x183c1e,_0xf67c38,_0x5db56c){const _0x4bec9c=_0x327967;let _0x219531=_0x183c1e[_0x4bec9c(0x486)][_0xf67c38],_0x1d68e1=_0x219531['views'][_0x5db56c],_0x4add22=_0x219531[_0x4bec9c(0x2e1)][_0x4bec9c(0x1c5)](_0x5db56c);return R([_0x43163e['removeOp'](U['view'](_0xf67c38,_0x5db56c),_0x1d68e1),_0x43163e[_0x4bec9c(0x3e5)]([_0x4bec9c(0x486),_0xf67c38,_0x4bec9c(0x2e1),_0x4add22],_0x5db56c)]);}[_0x327967(0x2dc)](_0x4ec460,_0x191e1a,_0x1d9d9e,_0x2a4477){const _0x545b33=_0x327967;let _0x27b7f8=_0x4ec460[_0x545b33(0x486)][_0x191e1a][_0x545b33(0x2e1)],_0x213998=sr(_0x27b7f8,_0x1d9d9e,{'beforeFieldId':_0x2a4477[_0x545b33(0x372)],'afterFieldId':_0x2a4477['afterViewId']});return _0x43163e[_0x545b33(0x464)](['tables',_0x191e1a,_0x545b33(0x2e1)],_0x27b7f8,_0x213998);}[_0x327967(0x18c)](_0x4cd85e,_0x53f196,_0x4a4a4a,_0x594917){const _0x44e15a=_0x327967;let _0x1653e7=_0x4cd85e[_0x44e15a(0x486)][_0x53f196]['views'][_0x4a4a4a]['config']??{},_0xf77549={..._0x1653e7,..._0x594917};return Object[_0x44e15a(0x27a)](_0x594917)[_0x44e15a(0x29b)](_0x86d622=>{_0x594917[_0x86d622]===void 0x0&&delete _0xf77549[_0x86d622];}),_0x43163e[_0x44e15a(0x464)]([...U[_0x44e15a(0x333)](_0x53f196,_0x4a4a4a),'config'],_0x1653e7,_0xf77549);}[_0x327967(0x2e8)](_0x1e1482,_0x53c59f,_0x221759,_0x2fa6a2){const _0x15481f=_0x327967;return this[_0x15481f(0x435)]([...U['view'](_0x53c59f,_0x221759),_0x15481f(0x1be)],_0x1e1482[_0x15481f(0x486)][_0x53c59f]['views'][_0x221759]['filter'],_0x2fa6a2);}[_0x327967(0x2ae)](_0x199d73,_0x19848a,_0x3cf4ce,_0x2bfcad){const _0x5d231a=_0x327967;return this[_0x5d231a(0x435)]([...U[_0x5d231a(0x333)](_0x19848a,_0x3cf4ce),'sort'],_0x199d73['tables'][_0x19848a][_0x5d231a(0x1eb)][_0x3cf4ce][_0x5d231a(0x460)],_0x2bfcad);}[_0x327967(0x356)](_0xd16ea8,_0x41b1a3,_0x4447a7,_0x7ea441){const _0x4023ef=_0x327967;return this[_0x4023ef(0x435)]([...U[_0x4023ef(0x333)](_0x41b1a3,_0x4447a7),_0x4023ef(0x16a)],_0xd16ea8[_0x4023ef(0x486)][_0x41b1a3][_0x4023ef(0x1eb)][_0x4447a7]['group'],_0x7ea441);}['setViewFieldVisible'](_0x19976b,_0x4161eb,_0x1e7a79,_0x2b8174,_0x5b1694){const _0xccc74a=_0x327967;return this[_0xccc74a(0x267)](_0x19976b,_0x4161eb,_0x1e7a79,_0x2b8174,{'hidden':!_0x5b1694});}['setViewFieldWidth'](_0x42442a,_0x43dade,_0x12656d,_0x5b754,_0x41bd4b){const _0x2b34af=_0x327967;return this[_0x2b34af(0x267)](_0x42442a,_0x43dade,_0x12656d,_0x5b754,{'width':_0x41bd4b});}[_0x327967(0x25d)](_0x3de38f,_0x348b6b,_0xf394f0,_0x48d1c7,_0x420d8d){const _0x67cdbb=_0x327967;let _0x4823f2=_0x3de38f[_0x67cdbb(0x486)][_0x348b6b]['views'][_0xf394f0],_0x4ba11e=sr(_0x4823f2[_0x67cdbb(0x1f8)]??_0x3de38f[_0x67cdbb(0x486)][_0x348b6b][_0x67cdbb(0x1f8)],_0x48d1c7,_0x420d8d);return this[_0x67cdbb(0x435)]([...U[_0x67cdbb(0x333)](_0x348b6b,_0xf394f0),_0x67cdbb(0x1f8)],_0x4823f2[_0x67cdbb(0x1f8)],_0x4ba11e);}[_0x327967(0x267)](_0x7dcca6,_0x2f1d05,_0xa3e9d3,_0x5e824c,_0x197959){const _0x27aae8=_0x327967;let _0x498bf2=_0x7dcca6[_0x27aae8(0x486)][_0x2f1d05][_0x27aae8(0x1eb)][_0xa3e9d3][_0x27aae8(0x105)]??{},_0x56a8ec={..._0x498bf2,[_0x5e824c]:{..._0x498bf2[_0x5e824c],..._0x197959}};return this['_replaceOptional']([...U[_0x27aae8(0x333)](_0x2f1d05,_0xa3e9d3),'fieldSettings'],_0x7dcca6['tables'][_0x2f1d05][_0x27aae8(0x1eb)][_0xa3e9d3][_0x27aae8(0x105)],_0x56a8ec);}[_0x327967(0x2a2)](_0x3187fb,_0x1346b0,_0xd163b0){const _0x1262fd=_0x327967;let _0x3b2f3b=_0x3187fb[_0x1262fd(0x486)][_0x1346b0],_0x551cc4=new Set(_0xd163b0[_0x1262fd(0x412)](_0x43cb7e=>_0x43cb7e['id'])),_0x47995a=[...Object[_0x1262fd(0x259)](_0x3b2f3b[_0x1262fd(0x1d7)])[_0x1262fd(0x1be)](_0x5a4c32=>!_0x551cc4['has'](_0x5a4c32['id'])),..._0xd163b0]['sort']((_0x351563,_0x562798)=>String(_0x351563[_0x1262fd(0x44c)]??_0x351563['id'])[_0x1262fd(0x3a4)](String(_0x562798[_0x1262fd(0x44c)]??_0x562798['id'])))[_0x1262fd(0x412)](_0x494cff=>_0x494cff['id']),_0x199b1a=[...U[_0x1262fd(0x496)](_0x1346b0),_0x1262fd(0x1e2)];return _0x3b2f3b[_0x1262fd(0x1e2)]?_0x43163e[_0x1262fd(0x464)](_0x199b1a,_0x3b2f3b[_0x1262fd(0x1e2)],_0x47995a):_0x43163e[_0x1262fd(0xf4)](_0x199b1a,_0x47995a);}[_0x327967(0x229)](_0x279aed,_0x5cd0fd=new Set()){const _0x165468=_0x327967;let _0xcb5a33=_0xbad9f1(_0x279aed);return Object[_0x165468(0x259)](_0x279aed[_0x165468(0x486)])[_0x165468(0x1be)](_0x381c6d=>!_0x5cd0fd[_0x165468(0x103)](_0x381c6d['id']))[_0x165468(0x460)]((_0x2b2ac1,_0x5f1c80)=>_0x2b2ac1['id'][_0x165468(0x3a4)](_0x5f1c80['id']))['flatMap'](_0x18e753=>{const _0x334dc1=_0x165468;let _0xd3f7a4=_0xcb5a33[_0x334dc1(0x318)](_0x18e753['id']);return!_0xd3f7a4||_0x18e753['formulaName']===_0xd3f7a4?[]:[this['_replaceOptional']([...U[_0x334dc1(0x496)](_0x18e753['id']),_0x334dc1(0x3a8)],_0x18e753['formulaName'],_0xd3f7a4)];});}[_0x327967(0x319)](_0x573ebf,_0x340655,_0x1713c7,_0x49793c){const _0x3a59d8=_0x327967;var _0x35668c,_0x2564a2;let _0x23af63=L(_0x573ebf[_0x3a59d8(0x486)][_0x340655]),_0x494f1a=String(((_0x35668c=_0x49793c['config'])==null?void 0x0:_0x35668c[_0x3a59d8(0x377)])??'')[_0x3a59d8(0x140)](),_0x1bb998=(_0x2564a2=_0x23af63[_0x3a59d8(0x22a)])==null?void 0x0:_0x2564a2[_0x1713c7];if(_0x1bb998==null)return[];let _0x3d3d9c=_0x23af63['recordOrder']??Object['keys'](_0x23af63['records']),_0x3c3a08=_0x3d3d9c['map'](_0x293db7=>{var _0x3ed183;return(_0x3ed183=_0x23af63['rowIndex'])==null?void 0x0:_0x3ed183[_0x293db7];})[_0x3a59d8(0x451)](_0x249517=>_0x249517!=null);return _0x3d3d9c[_0x3a59d8(0xeb)](_0x4e2eaa=>{const _0x45eff5=_0x3a59d8;var _0x4b1b53,_0x516b1f;let _0x831e2b=(_0x4b1b53=_0x23af63['rowIndex'])==null?void 0x0:_0x4b1b53[_0x4e2eaa];if(_0x831e2b==null)return[];let _0x2adfbd=(_0x516b1f=_0x23af63[_0x45eff5(0xdd)])==null||(_0x516b1f=_0x516b1f[_0x831e2b])==null?void 0x0:_0x516b1f[_0x1bb998],_0x3a7b4f=_0x494f1a?_0x831e2b===_0x3c3a08?{'f':_0x494f1a,'si':_0x1713c7}:{'si':_0x1713c7}:{'v':null,'t':null};return[this[_0x45eff5(0x435)](U[_0x45eff5(0xdd)](_0x340655,_0x831e2b,_0x1bb998),_0x2adfbd,_0x3a7b4f)];});}[_0x327967(0x432)](_0x5b7fda,_0x439e32,_0x4913bd){const _0x108b5c=_0x327967;var _0x37aa08;let _0x49a9b7=new Map(Object[_0x108b5c(0x209)](((_0x37aa08=_0x5b7fda[_0x108b5c(0x2b3)])==null?void 0x0:_0x37aa08[_0x108b5c(0x40e)])??{})),_0x1b181a=new Map(),_0x4cc341=new Set(),_0x1caef2=_0x4913bd[_0x108b5c(0x412)](({recordId:_0x2b4243,fieldId:_0x5a4b42,attachments:_0x3f0ce7})=>{const _0x4cdd3b=_0x108b5c;var _0x5de884;let _0x4e9b88=Et(_0x5a4b42,_0x2b4243),_0x3685ce=_0x3f0ce7[_0x4cdd3b(0x412)]((_0x147a2b,_0x35eaaa)=>String(_0x147a2b['id']??_0x4e9b88+'\x1f'+_0x35eaaa));return _0x4cc341[_0x4cdd3b(0x12e)](_0x4e9b88),_0x49a9b7[_0x4cdd3b(0x3fe)](_0x4e9b88,_0x3685ce),_0x3f0ce7[_0x4cdd3b(0x29b)]((_0x59f288,_0x299692)=>{const _0x44c475=_0x4cdd3b;let _0x1df04a=_0x3685ce[_0x299692];_0x1b181a[_0x44c475(0x3fe)](_0x1df04a,{..._0x59f288,'id':_0x1df04a});}),this[_0x4cdd3b(0x435)](U[_0x4cdd3b(0x2ac)](_0x439e32,_0x4e9b88),(_0x5de884=_0x5b7fda[_0x4cdd3b(0x2b3)])==null||(_0x5de884=_0x5de884[_0x4cdd3b(0x40e)])==null?void 0x0:_0x5de884[_0x4e9b88],_0x3685ce);}),_0x54e79c=Array[_0x108b5c(0x1d1)](_0x1b181a)[_0x108b5c(0x412)](([_0xb0d6db,_0x5a3d43])=>{const _0x1c18dd=_0x108b5c;var _0x4b946f;return this['_replaceOptional'](U['attachment'](_0x439e32,_0xb0d6db),(_0x4b946f=_0x5b7fda['resources'])==null||(_0x4b946f=_0x4b946f[_0x1c18dd(0x320)])==null?void 0x0:_0x4b946f[_0xb0d6db],_0x5a3d43);}),_0x17f2f1=new Set(Array[_0x108b5c(0x1d1)](_0x49a9b7['values']())[_0x108b5c(0x2f5)]()),_0x4e106f=new Set(Array[_0x108b5c(0x1d1)](_0x4cc341)['flatMap'](_0x425d20=>{const _0x4369ea=_0x108b5c;var _0xf19904;return((_0xf19904=_0x5b7fda[_0x4369ea(0x2b3)])==null||(_0xf19904=_0xf19904['attachmentSets'])==null?void 0x0:_0xf19904[_0x425d20])??[];})),_0x585e31=Array[_0x108b5c(0x1d1)](_0x4e106f)['flatMap'](_0xb41eac=>{const _0x332384=_0x108b5c;var _0x90e6aa;let _0x2cb41b=(_0x90e6aa=_0x5b7fda[_0x332384(0x2b3)])==null||(_0x90e6aa=_0x90e6aa['attachments'])==null?void 0x0:_0x90e6aa[_0xb41eac];return _0x2cb41b!==void 0x0&&!_0x17f2f1[_0x332384(0x103)](_0xb41eac)?[_0x43163e[_0x332384(0x3e5)](U['attachment'](_0x439e32,_0xb41eac),_0x2cb41b)]:[];});return[..._0x1caef2,..._0x54e79c,..._0x585e31];}['_deleteAttachmentResources'](_0x4a446f,_0x57d283,_0x27d835){const _0x1319fd=_0x327967;var _0x4158da;let _0x3ecde0=((_0x4158da=_0x4a446f[_0x1319fd(0x2b3)])==null?void 0x0:_0x4158da[_0x1319fd(0x40e)])??{},_0x6701f4=Object[_0x1319fd(0x209)](_0x3ecde0)[_0x1319fd(0x1be)](([_0x2ae96b])=>_0x27d835(_0x2ae96b));if(!_0x6701f4['length'])return[];let _0x3e886f=new Set(Object[_0x1319fd(0x209)](_0x3ecde0)[_0x1319fd(0x1be)](([_0x3e5f7a])=>!_0x27d835(_0x3e5f7a))[_0x1319fd(0xeb)](([,_0x3220c6])=>_0x3220c6)),_0x5644b8=new Set(_0x6701f4[_0x1319fd(0xeb)](([,_0x5357de])=>_0x5357de));return[..._0x6701f4[_0x1319fd(0x412)](([_0x11f7d0,_0x1c1c43])=>_0x43163e[_0x1319fd(0x3e5)](U[_0x1319fd(0x2ac)](_0x57d283,_0x11f7d0),_0x1c1c43)),...Array['from'](_0x5644b8)[_0x1319fd(0xeb)](_0x1b0de9=>{const _0x4ab03d=_0x1319fd;var _0x57da8a;let _0x550ac7=(_0x57da8a=_0x4a446f[_0x4ab03d(0x2b3)])==null||(_0x57da8a=_0x57da8a[_0x4ab03d(0x320)])==null?void 0x0:_0x57da8a[_0x1b0de9];return _0x550ac7!==void 0x0&&!_0x3e886f['has'](_0x1b0de9)?[_0x43163e[_0x4ab03d(0x3e5)](U[_0x4ab03d(0x449)](_0x57d283,_0x1b0de9),_0x550ac7)]:[];})];}[_0x327967(0x435)](_0x2da5fd,_0x1ea502,_0x3c2701){return _0x1ea502===void 0x0?_0x43163e['insertOp'](_0x2da5fd,_0x3c2701):_0x43163e['replaceOp'](_0x2da5fd,_0x1ea502,_0x3c2701);}};function er(_0x56d62c,_0x4770db,_0x1b61f9,_0x960d5){const _0x5cf75a=_0x327967;var _0x114c29;let _0x31cb48=_0x960d5[_0x5cf75a(0x346)];if(_0x1b61f9[_0x5cf75a(0x346)]!==_0x31cb48||_0x31cb48!==_0x1013ad[_0x5cf75a(0x413)]&&_0x31cb48!==_0x1013ad[_0x5cf75a(0x190)]||tr(_0x960d5['config'][_0x5cf75a(0x29c)]))return{'field':_0x960d5,'patches':[]};let _0x49ec95=nr(_0x1b61f9),_0x432d28=nr(_0x960d5);if(![..._0x49ec95]['some'](_0x3aa34a=>!_0x432d28['has'](_0x3aa34a)))return{'field':_0x960d5,'patches':[]};let _0x18a1ee=rr(_0x960d5[_0x5cf75a(0x487)],_0x432d28,_0x31cb48),_0x117447=ir(_0x18a1ee,_0x960d5[_0x5cf75a(0x487)])?_0x960d5:{..._0x960d5,'defaultValue':_0x18a1ee},_0x26a6aa=L(_0x56d62c),_0xd48a20=(_0x114c29=_0x26a6aa[_0x5cf75a(0x22a)])==null?void 0x0:_0x114c29[_0x4770db];return _0xd48a20==null?{'field':_0x117447,'patches':[]}:{'field':_0x117447,'patches':(_0x26a6aa[_0x5cf75a(0x1e2)]??[])[_0x5cf75a(0xeb)](_0xeb0edf=>{var _0x198dfd,_0x179c12;let _0x6347bd=(_0x198dfd=_0x26a6aa['rowIndex'])==null?void 0x0:_0x198dfd[_0xeb0edf],_0x28640f=(_0x179c12=_0x26a6aa['records'][_0xeb0edf])==null?void 0x0:_0x179c12['values'][_0x4770db],_0x2cb2b1=rr(_0x28640f,_0x432d28,_0x31cb48);return _0x6347bd==null||ir(_0x2cb2b1,_0x28640f)?[]:[{'row':_0x6347bd,'col':_0xd48a20,'value':_0x2cb2b1??null}];})};}function tr(_0x24c7f6){const _0x159605=_0x327967;return typeof _0x24c7f6==_0x159605(0x3d8)&&!!_0x24c7f6&&_0x159605(0x346)in _0x24c7f6&&_0x24c7f6['type']===_0x159605(0x1fe);}function nr(_0x28900f){const _0x376afe=_0x327967;var _0x434de6;let _0x2715c9=Array[_0x376afe(0x3fb)]((_0x434de6=_0x28900f[_0x376afe(0x174)])==null?void 0x0:_0x434de6['options'])?_0x28900f[_0x376afe(0x174)][_0x376afe(0x495)]:[];return new Set(_0x2715c9[_0x376afe(0xeb)](_0xf393c1=>{if(!_0xf393c1||typeof _0xf393c1!='object'||!('id'in _0xf393c1))return[];let _0xd6a4e2=String(_0xf393c1['id']);return _0xd6a4e2?[_0xd6a4e2]:[];}));}function rr(_0x544376,_0x2e409e,_0x4fccac){const _0x2da09b=_0x327967;if(_0x544376==null||_0x544376==='')return _0x544376;if(_0x4fccac===_0x1013ad[_0x2da09b(0x413)])return _0x2e409e['has'](String(_0x544376))?_0x544376:null;let _0x14e94f=Array[_0x2da09b(0x3fb)](_0x544376)?_0x544376[_0x2da09b(0x412)](String):String(_0x544376)['split'](',')[_0x2da09b(0x412)](_0x3d369a=>_0x3d369a['trim']())[_0x2da09b(0x1be)](Boolean),_0x49b75d=_0x14e94f[_0x2da09b(0x1be)](_0x31c393=>_0x2e409e[_0x2da09b(0x103)](_0x31c393));return _0x49b75d[_0x2da09b(0x1bf)]===_0x14e94f[_0x2da09b(0x1bf)]?_0x544376:Array[_0x2da09b(0x3fb)](_0x544376)?_0x49b75d:String(_0x544376)['includes'](',')?_0x49b75d['join'](','):_0x49b75d[0x0]??[];}function ir(_0x5edc0e,_0x24832d){const _0x569e19=_0x327967;return JSON[_0x569e19(0xf8)](_0x5edc0e)===JSON['stringify'](_0x24832d);}function ar(_0x5445eb,_0x202661,_0x375626){const _0x458a74=_0x327967;var _0x530837,_0xa173a0,_0x2e9839,_0x41e0b4;let _0x5917c1=(_0x530837=_0x5445eb[_0x458a74(0x257)])==null?void 0x0:_0x530837[_0x202661],_0x50cef4=(_0xa173a0=_0x5445eb['colIndex'])==null?void 0x0:_0xa173a0[_0x375626];return _0x5917c1!=null&&_0x50cef4!=null&&((_0x2e9839=_0x5445eb['rowId'])==null?void 0x0:_0x2e9839[_0x5917c1])===_0x202661&&((_0x41e0b4=_0x5445eb[_0x458a74(0x2ba)])==null?void 0x0:_0x41e0b4[_0x50cef4])===_0x375626&&_0x5445eb[_0x458a74(0xdd)]!=null;}function or(_0x42607e,_0x307452,_0x44b5f3){const _0xb446ca=_0x327967;var _0x280efe,_0x148404;return((_0x280efe=_0x42607e[_0xb446ca(0x2a7)])==null?void 0x0:_0x280efe[_0x307452])!=null&&((_0x148404=_0x42607e['colId'])==null?void 0x0:_0x148404[_0x44b5f3])!=null&&_0x42607e['cellData']!=null;}function sr(_0x18a79f,_0x25a398,_0x40711a){const _0x3aeee7=_0x327967;let _0x1e59a7=_0x18a79f[_0x3aeee7(0x1be)](_0x41bebc=>_0x41bebc!==_0x25a398),_0x3dab15=_0x40711a[_0x3aeee7(0x25b)]?_0x1e59a7[_0x3aeee7(0x1c5)](_0x40711a['beforeFieldId']):_0x40711a['afterFieldId']?_0x1e59a7['indexOf'](_0x40711a[_0x3aeee7(0x338)])+0x1:_0x1e59a7[_0x3aeee7(0x1bf)];return _0x1e59a7[_0x3aeee7(0x147)](_0x3dab15<0x0?_0x1e59a7[_0x3aeee7(0x1bf)]:_0x3dab15,0x0,_0x25a398),_0x1e59a7;}function cr(_0x3920f7,_0x178e58,_0x26338d){const _0x3b64e0=_0x327967;let _0x5d4a4d=_0x3920f7[_0x3b64e0(0x1be)](_0xc36e00=>_0xc36e00!==_0x178e58);return _0x5d4a4d[_0x3b64e0(0x147)](ur(_0x26338d,_0x5d4a4d[_0x3b64e0(0x1bf)]),0x0,_0x178e58),_0x5d4a4d;}function lr(_0x1af860,_0x4f73e7,_0x1840b5){const _0x34904c=_0x327967;if(Array[_0x34904c(0x3fb)](_0x1af860))return _0x1840b5===_0x34904c(0x143)?_0x1af860[_0x34904c(0x1be)](_0x51bf70=>_0x51bf70!==_0x4f73e7):_0x1af860[_0x34904c(0xeb)](_0x52ba2a=>{const _0x5404ba=_0x34904c;if(_0x52ba2a&&typeof _0x52ba2a=='object'&&!Array[_0x5404ba(0x3fb)](_0x52ba2a)&&_0x52ba2a[_0x5404ba(0x173)]===_0x4f73e7)return[];let _0x54b713=lr(_0x52ba2a,_0x4f73e7);return _0x54b713===void 0x0?[]:[_0x54b713];});if(!_0x1af860||typeof _0x1af860!=_0x34904c(0x3d8))return _0x1840b5!=null&&_0x1840b5[_0x34904c(0x18b)]('FieldId')&&_0x1af860===_0x4f73e7?void 0x0:_0x1af860;let _0x2625c1=_0x1af860;if(_0x2625c1[_0x34904c(0x173)]!==_0x4f73e7)return Object[_0x34904c(0x49f)](Object['entries'](_0x2625c1)['flatMap'](([_0x2aec04,_0x4485ef])=>{if(_0x2aec04===_0x4f73e7&&_0x1840b5==='fieldSettings')return[];let _0x4e591a=lr(_0x4485ef,_0x4f73e7,_0x2aec04);return _0x4e591a===void 0x0?[]:[[_0x2aec04,_0x4e591a]];}));}function ur(_0x5b61e1,_0x5313a3){const _0xca240a=_0x327967;return Math[_0xca240a(0x31a)](0x0,Math[_0xca240a(0x37a)](_0x5b61e1,_0x5313a3));}function dr(_0x38299e){'@babel/helpers - typeof';const _0x4958b6=_0x327967;return dr=typeof Symbol==_0x4958b6(0x2ef)&&typeof Symbol[_0x4958b6(0x166)]=='symbol'?function(_0x299aab){return typeof _0x299aab;}:function(_0xc0a2ff){const _0x37b96e=_0x4958b6;return _0xc0a2ff&&typeof Symbol==_0x37b96e(0x2ef)&&_0xc0a2ff[_0x37b96e(0x16c)]===Symbol&&_0xc0a2ff!==Symbol[_0x37b96e(0x331)]?'symbol':typeof _0xc0a2ff;},dr(_0x38299e);}function fr(_0x54d835,_0x3f0126){const _0x286091=_0x327967;if(dr(_0x54d835)!=_0x286091(0x3d8)||!_0x54d835)return _0x54d835;var _0x453c06=_0x54d835[Symbol['toPrimitive']];if(_0x453c06!==void 0x0){var _0xec7454=_0x453c06[_0x286091(0x171)](_0x54d835,_0x3f0126||_0x286091(0x11c));if(dr(_0xec7454)!=_0x286091(0x3d8))return _0xec7454;throw TypeError(_0x286091(0x298));}return(_0x3f0126===_0x286091(0x2a0)?String:Number)(_0x54d835);}function pr(_0x3ffa87){const _0x3a9206=_0x327967;var _0xd1b183=fr(_0x3ffa87,_0x3a9206(0x2a0));return dr(_0xd1b183)==_0x3a9206(0x41c)?_0xd1b183:_0xd1b183+'';}function G(_0xf5b987,_0x959e9e,_0x5f388b){const _0x273cbc=_0x327967;return(_0x959e9e=pr(_0x959e9e))in _0xf5b987?Object[_0x273cbc(0x24b)](_0xf5b987,_0x959e9e,{'value':_0x5f388b,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0xf5b987[_0x959e9e]=_0x5f388b,_0xf5b987;}const mr=_0x1ada6c(_0x327967(0x18a));var hr=class extends _0x4de356{constructor(..._0x1e77fd){const _0xb3a469=_0x327967;super(..._0x1e77fd),G(this,_0xb3a469(0x3ce),new Map());}[_0x327967(0x263)](_0x39eb07){const _0x51be7d=_0x327967;return this['_plugins'][_0x51be7d(0x3fe)](_0x39eb07[_0x51be7d(0x346)],_0x39eb07),_0x569b00(()=>this['_plugins']['delete'](_0x39eb07[_0x51be7d(0x346)]));}['get'](_0x375108){const _0x12b61f=_0x327967;let _0x2bf239=this['_plugins'][_0x12b61f(0x318)](_0x375108);if(!_0x2bf239)throw Error(_0x12b61f(0x470)+_0x375108+'\x22\x20is\x20not\x20registered.');return _0x2bf239;}['getTypePlugin'](_0x23a71c){const _0x322518=_0x327967;return this[_0x322518(0x3ce)][_0x322518(0x318)](_0x23a71c);}[_0x327967(0x24a)](){const _0x5490ba=_0x327967;return Array['from'](this[_0x5490ba(0x3ce)]['values']());}},gr=class{constructor(_0x3d8a76){const _0x154c73=_0x327967;this[_0x154c73(0x409)]=_0x3d8a76,G(this,_0x154c73(0x346),_0x230625['Base']),G(this,_0x154c73(0x399),_0x3709ae['Comment']),G(this,_0x154c73(0x45a),_0x1ebfa9[_0x154c73(0x364)]),G(this,'id',void 0x0),G(this,_0x154c73(0x1e1),!0x0),this['id']=this['type']+'.'+this[_0x154c73(0x399)]+'_'+_0x3d8a76;}},_r=class{constructor(_0x2a01a0){const _0x3c7749=_0x327967;this[_0x3c7749(0x409)]=_0x2a01a0,G(this,'type',_0x230625[_0x3c7749(0x336)]),G(this,_0x3c7749(0x399),_0x3709ae[_0x3c7749(0x2ea)]),G(this,_0x3c7749(0x45a),_0x1ebfa9[_0x3c7749(0x364)]),G(this,'id',void 0x0),G(this,_0x3c7749(0x1e1),!0x0),this['id']=this[_0x3c7749(0x346)]+'.'+this[_0x3c7749(0x399)]+'_'+_0x2a01a0;}},vr=class{constructor(_0x5bc94a){const _0x4fb104=_0x327967;this[_0x4fb104(0x409)]=_0x5bc94a,G(this,_0x4fb104(0x346),_0x230625['Base']),G(this,_0x4fb104(0x399),_0x3709ae[_0x4fb104(0x474)]),G(this,'status',_0x1ebfa9[_0x4fb104(0x364)]),G(this,'id',void 0x0),G(this,_0x4fb104(0x1e1),!0x0),this['id']=this[_0x4fb104(0x346)]+'.'+this[_0x4fb104(0x399)]+'_'+_0x5bc94a;}},yr=class{constructor(_0x423317){const _0x5e30fa=_0x327967;this['unitId']=_0x423317,G(this,_0x5e30fa(0x346),_0x230625[_0x5e30fa(0x336)]),G(this,'subType',_0x3709ae['Export']),G(this,_0x5e30fa(0x45a),_0x1ebfa9[_0x5e30fa(0x364)]),G(this,'id',void 0x0),G(this,_0x5e30fa(0x1e1),!0x0),this['id']=this[_0x5e30fa(0x346)]+'.'+this[_0x5e30fa(0x399)]+'_'+_0x423317;}},br=class{constructor(_0x5e3637,_0x11f013){const _0x338588=_0x327967;this['unitId']=_0x5e3637,this[_0x338588(0x136)]=_0x11f013,G(this,_0x338588(0x346),_0x230625['BaseDashboard']),G(this,_0x338588(0x399),_0x3709ae[_0x338588(0x474)]),G(this,'status',_0x1ebfa9[_0x338588(0x364)]),G(this,'id',void 0x0),G(this,_0x338588(0x1e1),!0x0),this['id']=this[_0x338588(0x346)]+'.'+this[_0x338588(0x399)]+'_'+_0x5e3637+'_'+_0x11f013;}},xr=class{constructor(_0x493f72,_0x93e5f4){const _0x26cbc1=_0x327967;this[_0x26cbc1(0x409)]=_0x493f72,this[_0x26cbc1(0x136)]=_0x93e5f4,G(this,_0x26cbc1(0x346),_0x230625['BaseField']),G(this,_0x26cbc1(0x399),_0x3709ae[_0x26cbc1(0x474)]),G(this,'status',_0x1ebfa9['INIT']),G(this,'id',void 0x0),G(this,_0x26cbc1(0x1e1),!0x0),this['id']=this[_0x26cbc1(0x346)]+'.'+this['subType']+'_'+_0x493f72+'_'+_0x93e5f4;}},Sr=class{constructor(_0x340c6c,_0x261d26){const _0x5c996f=_0x327967;this[_0x5c996f(0x409)]=_0x340c6c,this[_0x5c996f(0x136)]=_0x261d26,G(this,_0x5c996f(0x346),_0x230625[_0x5c996f(0x163)]),G(this,_0x5c996f(0x399),_0x3709ae['Edit']),G(this,'status',_0x1ebfa9[_0x5c996f(0x364)]),G(this,'id',void 0x0),G(this,_0x5c996f(0x1e1),!0x0),this['id']=this[_0x5c996f(0x346)]+'.'+this[_0x5c996f(0x399)]+'_'+_0x340c6c+'_'+_0x261d26;}},Cr=class{constructor(_0xa931b6,_0x3db753){const _0x4ac565=_0x327967;this[_0x4ac565(0x409)]=_0xa931b6,this[_0x4ac565(0x136)]=_0x3db753,G(this,_0x4ac565(0x346),_0x230625['BaseTable']),G(this,_0x4ac565(0x399),_0x3709ae[_0x4ac565(0x474)]),G(this,_0x4ac565(0x45a),_0x1ebfa9[_0x4ac565(0x364)]),G(this,'id',void 0x0),G(this,'value',!0x0),this['id']=this[_0x4ac565(0x346)]+'.'+this[_0x4ac565(0x399)]+'_'+_0xa931b6+'_'+_0x3db753;}},wr=class{constructor(_0x5ac375,_0x592a42){const _0x5e1083=_0x327967;this[_0x5e1083(0x409)]=_0x5ac375,this[_0x5e1083(0x136)]=_0x592a42,G(this,_0x5e1083(0x346),_0x230625['BaseView']),G(this,'subType',_0x3709ae['Edit']),G(this,_0x5e1083(0x45a),_0x1ebfa9['INIT']),G(this,'id',void 0x0),G(this,_0x5e1083(0x1e1),!0x0),this['id']=this[_0x5e1083(0x346)]+'.'+this[_0x5e1083(0x399)]+'_'+_0x5ac375+'_'+_0x592a42;}};const Tr=[_0x3709ae[_0x327967(0x474)],_0x3709ae['Copy'],_0x3709ae['Export'],_0x3709ae[_0x327967(0x1dd)]],Er=new Set([_0x230625[_0x327967(0x336)],_0x230625['BaseTable'],_0x230625[_0x327967(0x262)],_0x230625[_0x327967(0x163)],_0x230625['BaseView'],_0x230625[_0x327967(0x27d)]]),Dr='table/',Or=_0x327967(0x144),kr=_0x327967(0x2ab),Ar=_0x327967(0x3ed),jr='dashboard/';function K(_0x47c717){return''+Dr+encodeURIComponent(_0x47c717);}function q(_0x4b892e,_0x200291){return''+Or+encodeURIComponent(_0x4b892e)+'/'+encodeURIComponent(_0x200291);}function J(_0xe6e937,_0x36965d){return''+kr+encodeURIComponent(_0xe6e937)+'/'+encodeURIComponent(_0x36965d);}function Mr(_0x44ad88,_0x44fd39){return''+Ar+encodeURIComponent(_0x44ad88)+'/'+encodeURIComponent(_0x44fd39);}function Nr(_0x3c41ff){return''+jr+encodeURIComponent(_0x3c41ff);}function Pr(_0x4725c0,_0x1b4b94,_0x149830){const _0x46e3b4=_0x327967;if(_0x1b4b94===_0x4725c0)switch(_0x149830){case _0x3709ae['Edit']:return new vr(_0x4725c0);case _0x3709ae['Copy']:return new _r(_0x4725c0);case _0x3709ae['Export']:return new yr(_0x4725c0);case _0x3709ae[_0x46e3b4(0x1dd)]:return new gr(_0x4725c0);default:throw Error(_0x46e3b4(0x3c7)+_0x149830);}if(_0x149830!==_0x3709ae['Edit'])throw Error(_0x46e3b4(0x1de)+_0x1b4b94);if(_0x1b4b94[_0x46e3b4(0x2ad)](Dr))return new Cr(_0x4725c0,_0x1b4b94);if(_0x1b4b94[_0x46e3b4(0x2ad)](Or))return new xr(_0x4725c0,_0x1b4b94);if(_0x1b4b94[_0x46e3b4(0x2ad)](kr))return new Sr(_0x4725c0,_0x1b4b94);if(_0x1b4b94['startsWith'](Ar))return new wr(_0x4725c0,_0x1b4b94);if(_0x1b4b94[_0x46e3b4(0x2ad)](jr))return new br(_0x4725c0,_0x1b4b94);throw Error(_0x46e3b4(0x2d1)+_0x1b4b94);}function Fr(_0x431597,_0x3571ab,_0x43f40c,_0x64948c){const _0x3f2624=_0x327967;var _0x5be926;return((_0x5be926=_0x431597['getPermissionPoint'](Pr(_0x3571ab,_0x43f40c,_0x64948c)['id']))==null?void 0x0:_0x5be926[_0x3f2624(0x1e1)])??!0x0;}function Ir(_0x2d97dd,_0x98c35c,_0x127455,_0x143a67,_0x2f7ad1){const _0x26c825=_0x327967;let _0x464242=Pr(_0x98c35c,_0x127455,_0x143a67);_0x2d97dd[_0x26c825(0x45b)](_0x464242['id'])||_0x2d97dd[_0x26c825(0x46a)](_0x464242),_0x2d97dd[_0x26c825(0x260)](_0x464242['id'],_0x2f7ad1);}function Lr(_0x4d9bb2,_0x4852af,_0x47d6a1,_0x1edf06){const _0x4c63d4=_0x327967;_0x4d9bb2[_0x4c63d4(0x4a5)](Pr(_0x4852af,_0x47d6a1,_0x1edf06)['id']);}function Rr(_0xc80399,_0x5ad6ef){const _0x340087=_0x327967;_0xc80399[_0x340087(0x22f)]()[_0x340087(0x29b)]((_0x4d8f1a,_0x129975)=>{const _0xe08c0c=_0x340087;_0x4d8f1a[_0xe08c0c(0x16f)](_0x4b7a01=>{const _0x306971=_0xe08c0c;Er['has'](_0x4b7a01[_0x306971(0x346)])&&_0x306971(0x409)in _0x4b7a01&&_0x4b7a01[_0x306971(0x409)]===_0x5ad6ef&&_0xc80399['deletePermissionPoint'](_0x129975);})['unsubscribe']();});}function zr(_0x40caa3,_0x1a9a0e,_0x3ebff9){const _0x16ff40=_0x327967;return Fr(_0x40caa3,_0x1a9a0e,_0x1a9a0e,_0x3709ae[_0x16ff40(0x474)])&&Array['from'](_0x3ebff9)[_0x16ff40(0x44b)](_0x1e698d=>Fr(_0x40caa3,_0x1a9a0e,_0x1e698d,_0x3709ae[_0x16ff40(0x474)]));}function Y(_0x496732,_0xc491e6){return function(_0x123ae1,_0x26ed7a){_0xc491e6(_0x123ae1,_0x26ed7a,_0x496732);};}function X(_0x2c3d2e,_0x1763c0,_0x5e1fc2,_0xb8bc22){const _0x3f7eb4=_0x327967;var _0x5c8255=arguments['length'],_0x475624=_0x5c8255<0x3?_0x1763c0:_0xb8bc22===null?_0xb8bc22=Object[_0x3f7eb4(0x266)](_0x1763c0,_0x5e1fc2):_0xb8bc22,_0x3a8882;if(typeof Reflect==_0x3f7eb4(0x3d8)&&typeof Reflect[_0x3f7eb4(0x2bd)]==_0x3f7eb4(0x2ef))_0x475624=Reflect[_0x3f7eb4(0x2bd)](_0x2c3d2e,_0x1763c0,_0x5e1fc2,_0xb8bc22);else{for(var _0x4cb024=_0x2c3d2e[_0x3f7eb4(0x1bf)]-0x1;_0x4cb024>=0x0;_0x4cb024--)(_0x3a8882=_0x2c3d2e[_0x4cb024])&&(_0x475624=(_0x5c8255<0x3?_0x3a8882(_0x475624):_0x5c8255>0x3?_0x3a8882(_0x1763c0,_0x5e1fc2,_0x475624):_0x3a8882(_0x1763c0,_0x5e1fc2))||_0x475624);}return _0x5c8255>0x3&&_0x475624&&Object[_0x3f7eb4(0x24b)](_0x1763c0,_0x5e1fc2,_0x475624),_0x475624;}const Br=_0x1ada6c('base.permission.service');let Vr=class extends _0x4de356{constructor(_0x176871,_0x36ae5d){const _0x40e63a=_0x327967;super(),this[_0x40e63a(0x1ae)]=_0x176871,this[_0x40e63a(0x3f8)]=_0x36ae5d,G(this,_0x40e63a(0x3b2),new Map()),G(this,_0x40e63a(0x21c),new Map()),G(this,_0x40e63a(0x3c5),new Map()),G(this,_0x40e63a(0x162),new Map()),G(this,_0x40e63a(0x485),new Map()),G(this,_0x40e63a(0x44e),new Map()),this[_0x40e63a(0x29e)](this[_0x40e63a(0x3f8)][_0x40e63a(0x38d)](_0x49a6be[_0x40e63a(0xf9)])[_0x40e63a(0x16f)](_0x55b3dc=>this[_0x40e63a(0x47a)](_0x55b3dc[_0x40e63a(0x40a)]())));}[_0x327967(0x2c7)](_0x40bc93){const _0x5d4f5d=_0x327967;var _0x255b89;return this[_0x5d4f5d(0x447)](_0x40bc93,[])&&(((_0x255b89=this[_0x5d4f5d(0x3b2)][_0x5d4f5d(0x318)](_0x40bc93))==null?void 0x0:_0x255b89['createTable'])??!0x0);}[_0x327967(0x1d9)](_0x68fda1){return this['_canEditTable'](_0x68fda1);}[_0x327967(0x258)](_0x1613fc){const _0x5ca3f7=_0x327967;var _0x19019f;return this[_0x5ca3f7(0x3b1)](_0x1613fc)&&(((_0x19019f=this['_tablePermissions'][_0x5ca3f7(0x318)](_0x1613fc))==null?void 0x0:_0x19019f[_0x5ca3f7(0x253)])??!0x0);}[_0x327967(0x22c)](_0x437b8c){const _0x588787=_0x327967;var _0x49e1be;return this[_0x588787(0x3b1)](_0x437b8c)&&(((_0x49e1be=this[_0x588787(0x21c)][_0x588787(0x318)](_0x437b8c))==null?void 0x0:_0x49e1be[_0x588787(0x24c)])??!0x0);}[_0x327967(0x285)](_0x4af35,_0x367dc5){const _0x4e93bc=_0x327967;var _0x356096;return this[_0x4e93bc(0x3b1)](_0x4af35)&&this[_0x4e93bc(0x447)](_0x4af35,[q(_0x4af35,_0x367dc5)])&&(((_0x356096=this[_0x4e93bc(0x3c5)][_0x4e93bc(0x318)](Ur(_0x4af35,_0x367dc5)))==null?void 0x0:_0x356096['edit'])??!0x0);}[_0x327967(0x3cd)](_0x248a40,_0xb88cf2){const _0x54f854=_0x327967;var _0x2cd0b8;return this[_0x54f854(0x285)](_0x248a40,_0xb88cf2)&&(((_0x2cd0b8=this[_0x54f854(0x3c5)][_0x54f854(0x318)](Ur(_0x248a40,_0xb88cf2)))==null?void 0x0:_0x2cd0b8['delete'])??!0x0);}[_0x327967(0x2b6)](_0x407391){const _0x1138ab=_0x327967;var _0x5344a4;return this[_0x1138ab(0x3b1)](_0x407391)&&(((_0x5344a4=this[_0x1138ab(0x21c)]['get'](_0x407391))==null?void 0x0:_0x5344a4[_0x1138ab(0x3ab)])??!0x0);}[_0x327967(0x32a)](_0x2d6f75,_0x42c530){const _0x1742d1=_0x327967;var _0x5dbcd0;let _0x3e872e=this[_0x1742d1(0x162)][_0x1742d1(0x318)](Wr(_0x2d6f75,_0x42c530));return this[_0x1742d1(0x447)](_0x2d6f75,[K(_0x2d6f75),J(_0x2d6f75,_0x42c530)])&&(((_0x5dbcd0=this[_0x1742d1(0x21c)][_0x1742d1(0x318)](_0x2d6f75))==null?void 0x0:_0x5dbcd0['edit'])??!0x0)&&((_0x3e872e==null?void 0x0:_0x3e872e[_0x1742d1(0x248)])??!0x0)&&((_0x3e872e==null?void 0x0:_0x3e872e[_0x1742d1(0x380)])??!0x0);}[_0x327967(0x3d4)](_0x3b27f1,_0xc0969d){const _0x326016=_0x327967;var _0x1cd91e,_0x262d90,_0x9a1e37;return this[_0x326016(0x447)](_0x3b27f1,[K(_0x3b27f1),J(_0x3b27f1,_0xc0969d)])&&(((_0x1cd91e=this[_0x326016(0x21c)][_0x326016(0x318)](_0x3b27f1))==null?void 0x0:_0x1cd91e[_0x326016(0x248)])??!0x0)&&(((_0x262d90=this['_recordPermissions'][_0x326016(0x318)](Wr(_0x3b27f1,_0xc0969d)))==null?void 0x0:_0x262d90[_0x326016(0x248)])??!0x0)&&(((_0x9a1e37=this['_recordPermissions']['get'](Wr(_0x3b27f1,_0xc0969d)))==null?void 0x0:_0x9a1e37[_0x326016(0x253)])??!0x0);}[_0x327967(0x255)](_0x3e731c,_0x22573a,_0x6855d3){const _0x25f53c=_0x327967;var _0x26ffa8,_0x418eb9,_0x4bb16d;let _0x57d61d=this[_0x25f53c(0x3c5)][_0x25f53c(0x318)](Ur(_0x3e731c,_0x6855d3));return this['_canEdit'](_0x3e731c,[K(_0x3e731c),q(_0x3e731c,_0x6855d3),J(_0x3e731c,_0x22573a)])&&(((_0x26ffa8=this['_tablePermissions'][_0x25f53c(0x318)](_0x3e731c))==null?void 0x0:_0x26ffa8[_0x25f53c(0x248)])??!0x0)&&(((_0x418eb9=this[_0x25f53c(0x162)]['get'](Wr(_0x3e731c,_0x22573a)))==null?void 0x0:_0x418eb9[_0x25f53c(0x248)])??!0x0)&&(((_0x4bb16d=this['_recordPermissions'][_0x25f53c(0x318)](Wr(_0x3e731c,_0x22573a)))==null?void 0x0:_0x4bb16d[_0x25f53c(0x380)])??!0x0)&&((_0x57d61d==null?void 0x0:_0x57d61d[_0x25f53c(0x248)])??!0x0)&&((_0x57d61d==null?void 0x0:_0x57d61d[_0x25f53c(0x380)])??!0x0);}['canManageView'](_0x13dc61,_0x3c35a2){const _0x34bb8e=_0x327967;var _0x151608,_0x381eaa,_0x23ff6f;return this['_canEdit'](_0x13dc61,[K(_0x13dc61),Mr(_0x13dc61,_0x3c35a2)])&&(((_0x151608=this[_0x34bb8e(0x21c)]['get'](_0x13dc61))==null?void 0x0:_0x151608[_0x34bb8e(0x248)])??!0x0)&&(((_0x381eaa=this[_0x34bb8e(0x485)][_0x34bb8e(0x318)](Gr(_0x13dc61,_0x3c35a2)))==null?void 0x0:_0x381eaa[_0x34bb8e(0x248)])??!0x0)&&(((_0x23ff6f=this[_0x34bb8e(0x21c)]['get'](_0x13dc61))==null?void 0x0:_0x23ff6f[_0x34bb8e(0x273)])??!0x0);}['setBasePermission'](_0x1d9dc7,_0x1ebd43){const _0x42be4d=_0x327967;this[_0x42be4d(0x3b2)][_0x42be4d(0x3fe)](_0x1d9dc7,{...this[_0x42be4d(0x3b2)][_0x42be4d(0x318)](_0x1d9dc7),..._0x1ebd43}),_0x1ebd43[_0x42be4d(0x248)]!==void 0x0&&Ir(this['_permissionService'],_0x1d9dc7,_0x1d9dc7,_0x3709ae[_0x42be4d(0x474)],_0x1ebd43[_0x42be4d(0x248)]);}[_0x327967(0x13f)](_0x1d9920,_0x3f3abf){const _0x1ff764=_0x327967;this[_0x1ff764(0x26c)](_0x1d9920),this[_0x1ff764(0x21c)][_0x1ff764(0x3fe)](_0x1d9920,{...this[_0x1ff764(0x21c)][_0x1ff764(0x318)](_0x1d9920),..._0x3f3abf}),this[_0x1ff764(0x191)](_0x1d9920,K(_0x1d9920),_0x3f3abf[_0x1ff764(0x248)]);}[_0x327967(0x371)](_0x45387b,_0x16bc7f,_0x2e6290){const _0x3d76b9=_0x327967;this['_rememberTable'](_0x45387b);let _0x4ababb=Ur(_0x45387b,_0x16bc7f);this[_0x3d76b9(0x3c5)][_0x3d76b9(0x3fe)](_0x4ababb,{...this['_fieldPermissions'][_0x3d76b9(0x318)](_0x4ababb),..._0x2e6290}),this[_0x3d76b9(0x191)](_0x45387b,q(_0x45387b,_0x16bc7f),_0x2e6290[_0x3d76b9(0x248)]);}[_0x327967(0x1a4)](_0x3d52e2,_0x2eb662,_0x1bf341){const _0x1cec1c=_0x327967;this[_0x1cec1c(0x26c)](_0x3d52e2);let _0x59522b=Wr(_0x3d52e2,_0x2eb662);this[_0x1cec1c(0x162)][_0x1cec1c(0x3fe)](_0x59522b,{...this['_recordPermissions'][_0x1cec1c(0x318)](_0x59522b),..._0x1bf341}),this[_0x1cec1c(0x191)](_0x3d52e2,J(_0x3d52e2,_0x2eb662),_0x1bf341[_0x1cec1c(0x248)]);}[_0x327967(0x393)](_0x28ee39,_0x4d870f,_0x549d13){const _0x51bd43=_0x327967;this[_0x51bd43(0x26c)](_0x28ee39);let _0x71bf2f=Gr(_0x28ee39,_0x4d870f);this[_0x51bd43(0x485)]['set'](_0x71bf2f,{...this[_0x51bd43(0x485)][_0x51bd43(0x318)](_0x71bf2f),..._0x549d13}),this[_0x51bd43(0x191)](_0x28ee39,Mr(_0x28ee39,_0x4d870f),_0x549d13['edit']);}[_0x327967(0x3b5)](_0x18c2c9){const _0x3123b7=_0x327967;this[_0x3123b7(0x3b2)]['delete'](_0x18c2c9),Lr(this[_0x3123b7(0x1ae)],_0x18c2c9,_0x18c2c9,_0x3709ae['Edit']);}[_0x327967(0x31b)](_0x41222a){const _0xa65e20=_0x327967;this[_0xa65e20(0x21c)][_0xa65e20(0x253)](_0x41222a),this[_0xa65e20(0xf3)](_0x41222a,K(_0x41222a));}[_0x327967(0x339)](_0x35e014,_0x2e5638){const _0x3dfb41=_0x327967;this[_0x3dfb41(0x3c5)][_0x3dfb41(0x253)](Ur(_0x35e014,_0x2e5638)),this['_clearObjectEdit'](_0x35e014,q(_0x35e014,_0x2e5638));}[_0x327967(0x235)](_0x5381eb,_0x471a57){const _0x4e90c0=_0x327967;this['_recordPermissions']['delete'](Wr(_0x5381eb,_0x471a57)),this[_0x4e90c0(0xf3)](_0x5381eb,J(_0x5381eb,_0x471a57));}[_0x327967(0x15d)](_0x1929d7,_0x3cc34c){const _0x196c93=_0x327967;this[_0x196c93(0x485)][_0x196c93(0x253)](Gr(_0x1929d7,_0x3cc34c)),this['_clearObjectEdit'](_0x1929d7,Mr(_0x1929d7,_0x3cc34c));}['getSnapshot'](){const _0x2184a1=_0x327967;return{'bases':Object[_0x2184a1(0x49f)](this[_0x2184a1(0x3b2)]),'tables':Object['fromEntries'](this['_tablePermissions']),'fields':Object[_0x2184a1(0x49f)](this[_0x2184a1(0x3c5)]),'records':Object[_0x2184a1(0x49f)](this[_0x2184a1(0x162)]),'views':Object[_0x2184a1(0x49f)](this[_0x2184a1(0x485)])};}[_0x327967(0x3b1)](_0x4643d8){const _0x3a85e2=_0x327967;var _0x2e02eb;return this['_canEdit'](_0x4643d8,[K(_0x4643d8)])&&(((_0x2e02eb=this[_0x3a85e2(0x21c)]['get'](_0x4643d8))==null?void 0x0:_0x2e02eb[_0x3a85e2(0x248)])??!0x0);}['_canEdit'](_0x57b6e1,_0x4a84cf){const _0x39fdbd=_0x327967;var _0x59f277;let _0x5e6147=this[_0x39fdbd(0x440)](_0x57b6e1);return!_0x5e6147||zr(this['_permissionService'],_0x5e6147,_0x4a84cf)&&(((_0x59f277=this[_0x39fdbd(0x3b2)][_0x39fdbd(0x318)](_0x5e6147))==null?void 0x0:_0x59f277[_0x39fdbd(0x248)])??!0x0);}[_0x327967(0x191)](_0xda77b4,_0x1633b0,_0x2e3612){const _0x3fb77b=_0x327967;if(_0x2e3612===void 0x0)return;let _0x32244a=this[_0x3fb77b(0x440)](_0xda77b4);_0x32244a&&Ir(this[_0x3fb77b(0x1ae)],_0x32244a,_0x1633b0,_0x3709ae['Edit'],_0x2e3612);}['_clearObjectEdit'](_0x4017ea,_0x12fbc8){const _0x54e9aa=_0x327967;let _0x13e880=this[_0x54e9aa(0x440)](_0x4017ea);_0x13e880&&Lr(this[_0x54e9aa(0x1ae)],_0x13e880,_0x12fbc8,_0x3709ae['Edit']);}[_0x327967(0x440)](_0x7ed045){const _0x3e1430=_0x327967;var _0x46bc6e;let _0x355493=this[_0x3e1430(0x3f8)][_0x3e1430(0x1d4)](_0x7ed045,_0x49a6be[_0x3e1430(0xf9)]);return _0x355493?_0x355493[_0x3e1430(0x40a)]():(_0x46bc6e=this[_0x3e1430(0x3f8)]['getAllUnitsForType'](_0x49a6be[_0x3e1430(0xf9)])[_0x3e1430(0x451)](_0x33dd51=>!!_0x33dd51[_0x3e1430(0x32b)]()[_0x3e1430(0x486)][_0x7ed045]))==null?void 0x0:_0x46bc6e[_0x3e1430(0x40a)]();}[_0x327967(0x26c)](_0x4d9eb1){const _0x40267d=_0x327967;let _0x428096=this[_0x40267d(0x440)](_0x4d9eb1);_0x428096&&this[_0x40267d(0x44e)][_0x40267d(0x3fe)](_0x4d9eb1,_0x428096);}[_0x327967(0x47a)](_0x48839b){const _0x2c8271=_0x327967;this[_0x2c8271(0x3b2)][_0x2c8271(0x253)](_0x48839b),this['_tableBaseIds'][_0x2c8271(0x29b)]((_0x303975,_0x3c9389)=>{const _0x1f5272=_0x2c8271;_0x303975===_0x48839b&&(this[_0x1f5272(0x21c)]['delete'](_0x3c9389),Hr(this[_0x1f5272(0x3c5)],_0x3c9389+'\x1f'),Hr(this[_0x1f5272(0x162)],_0x3c9389+'\x1f'),Hr(this[_0x1f5272(0x485)],_0x3c9389+'\x1f'),this[_0x1f5272(0x44e)][_0x1f5272(0x253)](_0x3c9389));});}};Vr=X([Y(0x0,_0x5cc725),Y(0x1,_0x3a38b9)],Vr);function Hr(_0x30aaff,_0x435dc1){const _0x44ab5c=_0x327967;_0x30aaff[_0x44ab5c(0x29b)]((_0x5a607f,_0x41f5e7)=>{const _0x1f0bec=_0x44ab5c;_0x41f5e7[_0x1f0bec(0x2ad)](_0x435dc1)&&_0x30aaff['delete'](_0x41f5e7);});}function Ur(_0x9824a8,_0x4b4fbb){return _0x9824a8+'\x1f'+_0x4b4fbb;}function Wr(_0x393613,_0x3f7aa4){return _0x393613+'\x1f'+_0x3f7aa4;}function Gr(_0x55d0ad,_0x225969){return _0x55d0ad+'\x1f'+_0x225969;}const Kr=_0x1ada6c(_0x327967(0x3a7));let qr=class{constructor(_0x25c14a,_0x4cb0b5=Jr(),_0xbd9d8e={}){const _0x3854bf=_0x327967;this[_0x3854bf(0x1ae)]=_0x25c14a,this['_fieldRegistry']=_0x4cb0b5,this[_0x3854bf(0x34c)]=_0xbd9d8e,G(this,_0x3854bf(0x3cf),new W()),G(this,_0x3854bf(0x27e),new z());}[_0x327967(0x378)](_0x3edded,_0x21add9,_0x2df74f){const _0xda8acf=_0x327967;if(!this['_permissionService'][_0xda8acf(0x2c7)](_0x3edded[_0xda8acf(0x40a)]()))throw Error(_0xda8acf(0x3fc));_0x15f38a(_0x21add9),this[_0xda8acf(0x40d)](_0x3edded,this[_0xda8acf(0x3cf)]['createTable'](_0x3edded[_0xda8acf(0x32b)](),_0x21add9,_0x2df74f));}[_0x327967(0x48f)](_0x3896b3,_0x26afda,_0x832db1){const _0x17d7e3=_0x327967;if(!this['_permissionService'][_0x17d7e3(0x1d9)](_0x26afda))throw Error('[BaseCommandService]:\x20cannot\x20edit\x20table.');this[_0x17d7e3(0x40d)](_0x3896b3,this[_0x17d7e3(0x3cf)][_0x17d7e3(0x48f)](_0x3896b3[_0x17d7e3(0x32b)](),_0x26afda,_0x832db1));}[_0x327967(0x277)](_0x3fbcca,_0x3c40a1){const _0x359455=_0x327967;if(!this[_0x359455(0x1ae)][_0x359455(0x258)](_0x3c40a1))throw Error(_0x359455(0x31f));let _0x57499b=He(_0x3fbcca[_0x359455(0x32b)](),_0x3c40a1);if(_0x57499b[_0x359455(0x1bf)]>0x0)throw Error(_0x359455(0x42b)+_0x57499b[_0x359455(0x412)](_0x52932b=>_0x52932b['tableId']+'.'+_0x52932b[_0x359455(0x173)])[_0x359455(0x3a1)](',\x20')+').');this[_0x359455(0x40d)](_0x3fbcca,this[_0x359455(0x3cf)]['deleteTable'](_0x3fbcca[_0x359455(0x32b)](),_0x3c40a1));}[_0x327967(0x154)](_0x380138,_0x32f5b1,_0x2991ce,_0x3ef390,_0x17045a){const _0x153608=_0x327967;this[_0x153608(0x40d)](_0x380138,this['createUpdateCellOp'](_0x380138,_0x32f5b1,_0x2991ce,_0x3ef390,_0x17045a));}[_0x327967(0x249)](_0xbd97cb,_0x2d9e45,_0x28fadc){const _0x53e8c0=_0x327967;this[_0x53e8c0(0x40d)](_0xbd97cb,this[_0x53e8c0(0x289)](_0xbd97cb,_0x2d9e45,_0x28fadc));}['createRecord'](_0x33729f,_0x5ece88,_0x26b52f){const _0x429798=_0x327967;this['_apply'](_0x33729f,this[_0x429798(0x1fb)](_0x33729f,_0x5ece88,_0x26b52f));}[_0x327967(0x3a0)](_0x3a6d2c,_0x548351,_0x1dd75b,_0x2d4f9a,_0x3ee6c1){const _0xda88f1=_0x327967;let _0x40923f=_0x3a6d2c[_0xda88f1(0x32b)](),_0x58482e=this[_0xda88f1(0x41b)](_0x40923f,_0x548351,_0x1dd75b,_0x2d4f9a,_0x3ee6c1),_0x1d4771=this[_0xda88f1(0x198)](_0x40923f,_0x548351,_0x1dd75b,{[_0x2d4f9a]:_0x58482e});return this['_factory'][_0xda88f1(0x249)](_0x40923f,_0x548351,[_0x1d4771]);}['createSetRecordValuesOp'](_0x301b6c,_0x4a9635,_0xc99672){const _0x910e2=_0x327967;let _0x14b36a=_0x301b6c['getSnapshot'](),_0x1a3ad2=_0xc99672[_0x910e2(0x412)](_0x34b017=>this['_withModifiedSystemValues'](_0x14b36a,_0x4a9635,_0x34b017['recordId'],{...Object[_0x910e2(0x49f)](Object[_0x910e2(0x209)](_0x34b017[_0x910e2(0x259)])['map'](([_0x3739dd,_0x22b036])=>[_0x3739dd,this['_normalizeCellValue'](_0x14b36a,_0x4a9635,_0x34b017[_0x910e2(0x345)],_0x3739dd,_0x22b036)]))}));return this[_0x910e2(0x3cf)]['setRecordValues'](_0x14b36a,_0x4a9635,_0x1a3ad2);}[_0x327967(0x1fb)](_0x30d1ff,_0x1747ce,_0x28605b){const _0x24b676=_0x327967;if(!this[_0x24b676(0x1ae)][_0x24b676(0x2b6)](_0x1747ce))throw Error(_0x24b676(0x452));let _0x24e409=_0x30d1ff[_0x24b676(0x32b)](),_0x5d9c1d=this[_0x24b676(0x43f)](_0x24e409[_0x24b676(0x486)][_0x1747ce]);return this[_0x24b676(0x3cf)][_0x24b676(0x3ab)](_0x24e409,_0x1747ce,this[_0x24b676(0x202)](_0x24e409,_0x1747ce,_0x28605b,_0x5d9c1d));}[_0x327967(0x3ad)](_0x392997,_0x280381,_0x15db8b){const _0x4859ce=_0x327967;if(!this[_0x4859ce(0x1ae)]['canCreateRecord'](_0x280381))throw Error(_0x4859ce(0x452));let _0x5d4ff0=_0x392997[_0x4859ce(0x32b)]();return I(_0x4859ce(0xe3),()=>{const _0x4b33a0=_0x4859ce;let _0x9bda83=this['_createNumberingAllocators'](_0x5d4ff0[_0x4b33a0(0x486)][_0x280381]);return this[_0x4b33a0(0x3cf)][_0x4b33a0(0x46e)](_0x5d4ff0,_0x280381,_0x15db8b[_0x4b33a0(0x412)](_0x2a80d6=>this[_0x4b33a0(0x202)](_0x5d4ff0,_0x280381,_0x2a80d6,_0x9bda83)));},{'existingRecords':Object[_0x4859ce(0x27a)](_0x5d4ff0[_0x4859ce(0x486)][_0x280381][_0x4859ce(0x1d7)])['length'],'records':_0x15db8b[_0x4859ce(0x1bf)]});}['createCreateFieldOp'](_0x530827,_0x5492e5,_0x14ba8c,_0x5bec47,_0x5b5cd2){const _0x4d96d4=_0x327967;if(!this[_0x4d96d4(0x1ae)][_0x4d96d4(0x22c)](_0x5492e5))throw Error(_0x4d96d4(0x490));let _0x5bbd76=_0x530827[_0x4d96d4(0x32b)]();if(this['_assertFieldDefinition'](_0x5bbd76,_0x14ba8c),_0x5bec47===0x0)throw Error(_0x4d96d4(0x157));let _0x15d73d=this[_0x4d96d4(0x3cf)][_0x4d96d4(0x24c)](_0x5bbd76,_0x5492e5,{'field':_0x14ba8c,'index':_0x5bec47,'viewIndexes':_0x5b5cd2}),_0x165097=this[_0x4d96d4(0x24e)](_0x5bbd76,_0x5492e5,_0x14ba8c);if(!_0x165097[_0x4d96d4(0x1bf)])return _0x15d73d;let _0x2ed1ee=this[_0x4d96d4(0x27e)]['applyOp'](_0x5bbd76,_0x15d73d);return R([_0x15d73d,this[_0x4d96d4(0x3cf)][_0x4d96d4(0x249)](_0x2ed1ee,_0x5492e5,_0x165097)]);}[_0x327967(0x33a)](_0x189199,_0x1bc39b,_0x3fcc11){const _0xd4ca0e=_0x327967;if(!this['_permissionService']['canDeleteRecord'](_0x1bc39b,_0x3fcc11))throw Error(_0xd4ca0e(0x1bd));this[_0xd4ca0e(0x40d)](_0x189199,this['_factory'][_0xd4ca0e(0x33a)](_0x189199[_0xd4ca0e(0x32b)](),_0x1bc39b,_0x3fcc11));}[_0x327967(0x11d)](_0x5a8e0d,_0x2cca9a,_0xd3fa8a,_0x10aaeb){const _0x3a03ca=_0x327967;if(!this[_0x3a03ca(0x1ae)]['canCreateRecord'](_0x2cca9a))throw Error('[BaseCommandService]:\x20cannot\x20create\x20record.');this[_0x3a03ca(0x40d)](_0x5a8e0d,this[_0x3a03ca(0x3cf)][_0x3a03ca(0x11d)](_0x5a8e0d['getSnapshot'](),_0x2cca9a,_0xd3fa8a,{..._0x10aaeb,'values':{..._0x10aaeb[_0x3a03ca(0x259)],[_0x40fc9d]:_0x10aaeb['id']}}));}[_0x327967(0x19e)](_0x12185f,_0x3842ea,_0x3cc3c7,_0x1e0c10){const _0x5041fa=_0x327967;if(!this[_0x5041fa(0x1ae)][_0x5041fa(0x32a)](_0x3842ea,_0x3cc3c7))throw Error(_0x5041fa(0x430));this['_apply'](_0x12185f,this['_factory']['updateRecordOrder'](_0x12185f[_0x5041fa(0x32b)](),_0x3842ea,_0x3cc3c7,_0x1e0c10));}['createField'](_0x485bf3,_0x290b67,_0x18e3bf,_0x4d9cba,_0xdf233c){const _0x4f924c=_0x327967;this[_0x4f924c(0x40d)](_0x485bf3,this['createCreateFieldOp'](_0x485bf3,_0x290b67,_0x18e3bf,_0x4d9cba,_0xdf233c));}[_0x327967(0x3de)](_0x3aac4c,_0x40a384,_0x4c9733,_0x5a1e15){const _0x3e084d=_0x327967;var _0x4da998;if(!this[_0x3e084d(0x1ae)][_0x3e084d(0x285)](_0x40a384,_0x4c9733))throw Error(_0x3e084d(0x3b3));let _0x32f31a=_0x3aac4c['getSnapshot'](),_0x232c6f=(_0x4da998=_0x32f31a[_0x3e084d(0x486)][_0x40a384])==null?void 0x0:_0x4da998['fields'][_0x4c9733];if(!_0x232c6f||_0x4c9733===_0x40fc9d)throw Error('[BaseCommandService]:\x20cannot\x20edit\x20record-id.');this[_0x3e084d(0x30e)](_0x32f31a,{..._0x232c6f,..._0x5a1e15}),this[_0x3e084d(0x40d)](_0x3aac4c,this[_0x3e084d(0x3cf)][_0x3e084d(0x3de)](_0x32f31a,_0x40a384,_0x4c9733,_0x5a1e15));}[_0x327967(0x2c1)](_0x388ddb,_0xcdc46b,_0x55a8ef,_0x4de442){const _0xf45bfc=_0x327967;var _0x16f7aa;if(!this[_0xf45bfc(0x1ae)]['canEditField'](_0xcdc46b,_0x55a8ef))throw Error(_0xf45bfc(0x3b3));let _0x4be057=_0x388ddb[_0xf45bfc(0x32b)](),_0x418c8e=(_0x16f7aa=_0x4be057[_0xf45bfc(0x486)][_0xcdc46b])==null?void 0x0:_0x16f7aa[_0xf45bfc(0x305)][_0x55a8ef];if(!_0x418c8e||_0x55a8ef===_0x40fc9d)throw Error('[BaseCommandService]:\x20cannot\x20change\x20record-id\x20field\x20type.');this[_0xf45bfc(0x30e)](_0x4be057,{..._0x418c8e,..._0x4de442}),this[_0xf45bfc(0x40d)](_0x388ddb,this['_factory']['changeFieldType'](_0x4be057,_0xcdc46b,_0x55a8ef,_0x4de442));}[_0x327967(0x42f)](_0x36f6f8,_0x3df596,_0x388cb4){const _0x5b6963=_0x327967;var _0x2d6ea2;if(((_0x2d6ea2=_0x36f6f8[_0x5b6963(0x32b)]()['tables'][_0x3df596])==null?void 0x0:_0x2d6ea2[_0x5b6963(0x44a)])===_0x388cb4||_0x388cb4===_0x40fc9d)throw Error('[BaseCommandService]:\x20cannot\x20delete\x20primary\x20field.');if(!this['_permissionService']['canDeleteField'](_0x3df596,_0x388cb4))throw Error(_0x5b6963(0x187));this[_0x5b6963(0x40d)](_0x36f6f8,this[_0x5b6963(0x3cf)][_0x5b6963(0x42f)](_0x36f6f8[_0x5b6963(0x32b)](),_0x3df596,_0x388cb4));}[_0x327967(0x420)](_0xee6efb,_0x22d270,_0x5ec9ef,_0x406250){const _0x371975=_0x327967;if(!this['_permissionService']['canEditField'](_0x22d270,_0x5ec9ef))throw Error(_0x371975(0x3b3));if(_0x5ec9ef===_0x40fc9d||_0x406250['beforeFieldId']===_0x40fc9d)throw Error(_0x371975(0x2b5));this[_0x371975(0x40d)](_0xee6efb,this[_0x371975(0x3cf)][_0x371975(0x420)](_0xee6efb[_0x371975(0x32b)](),_0x22d270,_0x5ec9ef,_0x406250));}[_0x327967(0x3b7)](_0x3b4ee8,_0x176641,_0x52f28f,_0x5c3e37){const _0x239bec=_0x327967;if(!this[_0x239bec(0x1ae)][_0x239bec(0x177)](_0x176641,_0x52f28f['id']))throw Error(_0x239bec(0x1b2));this[_0x239bec(0x40d)](_0x3b4ee8,this['_factory'][_0x239bec(0x3b7)](_0x3b4ee8['getSnapshot'](),_0x176641,_0x52f28f,_0x5c3e37));}['renameView'](_0x4a0f6d,_0x3d1a87,_0x128ac9,_0x30e4a7){const _0x24e6b0=_0x327967;if(!this[_0x24e6b0(0x1ae)][_0x24e6b0(0x177)](_0x3d1a87,_0x128ac9))throw Error('[BaseCommandService]:\x20cannot\x20manage\x20view.');this['_apply'](_0x4a0f6d,this[_0x24e6b0(0x3cf)][_0x24e6b0(0x271)](_0x4a0f6d['getSnapshot'](),_0x3d1a87,_0x128ac9,_0x30e4a7));}[_0x327967(0x467)](_0xeec845,_0x1fabc6,_0x451bfa){const _0xda731f=_0x327967;if(!this['_permissionService'][_0xda731f(0x177)](_0x1fabc6,_0x451bfa))throw Error(_0xda731f(0x1b2));this[_0xda731f(0x40d)](_0xeec845,this['_factory'][_0xda731f(0x467)](_0xeec845['getSnapshot'](),_0x1fabc6,_0x451bfa));}[_0x327967(0x2dc)](_0x23d49f,_0x1fa7bb,_0x3ec027,_0xb48df8){const _0x2598b4=_0x327967;if(!this[_0x2598b4(0x1ae)][_0x2598b4(0x177)](_0x1fa7bb,_0x3ec027))throw Error(_0x2598b4(0x1b2));this[_0x2598b4(0x40d)](_0x23d49f,this[_0x2598b4(0x3cf)][_0x2598b4(0x2dc)](_0x23d49f[_0x2598b4(0x32b)](),_0x1fa7bb,_0x3ec027,_0xb48df8));}[_0x327967(0x18c)](_0x70c3e7,_0x4b1f75,_0x475615,_0x54b9a7){const _0x522290=_0x327967;if(!this[_0x522290(0x1ae)][_0x522290(0x177)](_0x4b1f75,_0x475615))throw Error('[BaseCommandService]:\x20cannot\x20manage\x20view.');this[_0x522290(0x40d)](_0x70c3e7,this['_factory'][_0x522290(0x18c)](_0x70c3e7[_0x522290(0x32b)](),_0x4b1f75,_0x475615,_0x54b9a7));}[_0x327967(0x2e8)](_0x36c295,_0x14583e,_0x1c98dd,_0x41e2d3){const _0x26d66a=_0x327967;if(!this['_permissionService'][_0x26d66a(0x177)](_0x14583e,_0x1c98dd))throw Error(_0x26d66a(0x1b2));this[_0x26d66a(0x40d)](_0x36c295,this[_0x26d66a(0x3cf)][_0x26d66a(0x2e8)](_0x36c295['getSnapshot'](),_0x14583e,_0x1c98dd,_0x41e2d3));}['setViewSort'](_0x5d2f8b,_0x2aa171,_0x32b85a,_0x4c95d3){const _0x3dbe4b=_0x327967;if(!this[_0x3dbe4b(0x1ae)][_0x3dbe4b(0x177)](_0x2aa171,_0x32b85a))throw Error(_0x3dbe4b(0x1b2));this['_apply'](_0x5d2f8b,this[_0x3dbe4b(0x3cf)][_0x3dbe4b(0x2ae)](_0x5d2f8b[_0x3dbe4b(0x32b)](),_0x2aa171,_0x32b85a,_0x4c95d3));}[_0x327967(0x356)](_0x413e0f,_0x36ca6f,_0x1156e1,_0x5a1683){const _0x3170d=_0x327967;if(!this['_permissionService'][_0x3170d(0x177)](_0x36ca6f,_0x1156e1))throw Error(_0x3170d(0x1b2));this[_0x3170d(0x40d)](_0x413e0f,this[_0x3170d(0x3cf)][_0x3170d(0x356)](_0x413e0f[_0x3170d(0x32b)](),_0x36ca6f,_0x1156e1,_0x5a1683));}[_0x327967(0x326)](_0x2e9f98,_0x445f65,_0x14702b,_0x43f876,_0xeb974){const _0x2590a8=_0x327967;if(!this[_0x2590a8(0x1ae)][_0x2590a8(0x177)](_0x445f65,_0x14702b))throw Error('[BaseCommandService]:\x20cannot\x20manage\x20view.');this[_0x2590a8(0x40d)](_0x2e9f98,this[_0x2590a8(0x3cf)]['setViewFieldVisible'](_0x2e9f98['getSnapshot'](),_0x445f65,_0x14702b,_0x43f876,_0xeb974));}[_0x327967(0x492)](_0x59236f,_0x50fe91,_0x6c8bfc,_0x4d7d10,_0x1046f5){const _0x517681=_0x327967;if(!this[_0x517681(0x1ae)][_0x517681(0x177)](_0x50fe91,_0x6c8bfc))throw Error(_0x517681(0x1b2));this[_0x517681(0x40d)](_0x59236f,this[_0x517681(0x3cf)][_0x517681(0x492)](_0x59236f[_0x517681(0x32b)](),_0x50fe91,_0x6c8bfc,_0x4d7d10,_0x1046f5));}['setViewFieldOrder'](_0x217341,_0x13d0cc,_0x406642,_0x489420,_0x5dc691){const _0x3bcc5b=_0x327967;if(!this[_0x3bcc5b(0x1ae)][_0x3bcc5b(0x177)](_0x13d0cc,_0x406642))throw Error(_0x3bcc5b(0x1b2));this[_0x3bcc5b(0x40d)](_0x217341,this['_factory'][_0x3bcc5b(0x25d)](_0x217341[_0x3bcc5b(0x32b)](),_0x13d0cc,_0x406642,_0x489420,_0x5dc691));}[_0x327967(0x40d)](_0xbd9d04,_0x5ba08a){const _0x3928b9=_0x327967;let _0xc067ae=_0xbd9d04[_0x3928b9(0x32b)]();_0xbd9d04[_0x3928b9(0x22b)](this[_0x3928b9(0x27e)]['applyOp'](_0xc067ae,_0x5ba08a));}[_0x327967(0x202)](_0x23a900,_0x4ff722,_0xed081d,_0x176952=this[_0x327967(0x43f)](_0x23a900['tables'][_0x4ff722])){const _0x547678=_0x327967;let _0x3a3138=_0x23a900[_0x547678(0x486)][_0x4ff722],_0x21b7c1=_0xed081d[_0x547678(0x463)]??_0xed081d['updatedBy']??this['_getCurrentUserId'](),_0x9c8402={..._0xed081d,'createdBy':_0xed081d['createdBy']??_0x21b7c1,'updatedBy':_0xed081d[_0x547678(0x2c9)]??_0x21b7c1,'values':{..._0xed081d[_0x547678(0x259)]}};return _0x9c8402[_0x547678(0x259)][_0x40fc9d]=_0x9c8402['id'],_0x3a3138[_0x547678(0x1f8)][_0x547678(0x29b)](_0x26a919=>{const _0x383d47=_0x547678;let _0x4e3f68=_0x3a3138['fields'][_0x26a919];if(_0x4e3f68&&_0x9c8402[_0x383d47(0x259)][_0x26a919]===void 0x0)switch(_0x4e3f68[_0x383d47(0x346)]){case _0x1013ad[_0x383d47(0x1d8)]:var _0x5b783c;_0x9c8402['values'][_0x26a919]=((_0x5b783c=_0x176952[_0x383d47(0x318)](_0x26a919))==null?void 0x0:_0x5b783c())??this[_0x383d47(0x199)](_0x3a3138,_0x26a919)();break;case _0x1013ad[_0x383d47(0x3dd)]:_0x9c8402[_0x383d47(0x463)]&&(_0x9c8402[_0x383d47(0x259)][_0x26a919]=_0x9c8402['createdBy']);break;case _0x1013ad[_0x383d47(0x1d5)]:_0x9c8402[_0x383d47(0x2c9)]&&(_0x9c8402[_0x383d47(0x259)][_0x26a919]=_0x9c8402[_0x383d47(0x2c9)]);break;case _0x1013ad[_0x383d47(0x483)]:_0x9c8402[_0x383d47(0x259)][_0x26a919]=B(_0x9c8402[_0x383d47(0x2f1)]);break;case _0x1013ad[_0x383d47(0xe4)]:_0x9c8402['values'][_0x26a919]=B(_0x9c8402[_0x383d47(0x1db)]);break;default:{let _0x25cd58=_0x4e3f68['defaultValue'];_0x25cd58!=null&&_0x25cd58!==''&&!(Array[_0x383d47(0x3fb)](_0x25cd58)&&_0x25cd58[_0x383d47(0x1bf)]===0x0)&&(_0x9c8402[_0x383d47(0x259)][_0x26a919]=_0x25cd58);}}}),_0x9c8402;}[_0x327967(0x198)](_0x3b6062,_0x2e5e27,_0xdf0248,_0x381509){const _0x2331cb=_0x327967;var _0x1ad982,_0x51fd67;let _0x1cba2a=_0x3b6062[_0x2331cb(0x486)][_0x2e5e27],_0x15ee32=((_0x1ad982=(_0x51fd67=this[_0x2331cb(0x34c)])[_0x2331cb(0xfa)])==null?void 0x0:_0x1ad982[_0x2331cb(0x171)](_0x51fd67))??Date[_0x2331cb(0xfa)](),_0x3975ad=this[_0x2331cb(0x3b8)](),_0x9bb336={..._0x381509};return _0x1cba2a[_0x2331cb(0x1f8)][_0x2331cb(0x29b)](_0x1b5def=>{const _0x5626d5=_0x2331cb;let _0x50d8b8=_0x1cba2a[_0x5626d5(0x305)][_0x1b5def];_0x50d8b8&&(_0x50d8b8[_0x5626d5(0x346)]===_0x1013ad[_0x5626d5(0xe4)]&&(_0x9bb336[_0x1b5def]=B(_0x15ee32)),_0x50d8b8[_0x5626d5(0x346)]===_0x1013ad[_0x5626d5(0x1d5)]&&_0x3975ad&&(_0x9bb336[_0x1b5def]=_0x3975ad));}),{'recordId':_0xdf0248,'values':_0x9bb336,'recordPatch':{'updatedAt':_0x15ee32,..._0x3975ad?{'updatedBy':_0x3975ad}:{}}};}[_0x327967(0x24e)](_0xf0c386,_0x50d50d,_0x2d94fe){const _0x5d6079=_0x327967;let _0x228350=_0xf0c386['tables'][_0x50d50d];return!_0x228350||!Yr(_0x2d94fe)?[]:_0x2d94fe[_0x5d6079(0x346)]===_0x1013ad['Numbering']?this['_createNumberingFieldValuePatches'](_0x228350,_0x2d94fe['id']):Object[_0x5d6079(0x259)](_0x228350['records'])[_0x5d6079(0xeb)](_0x520aaa=>{let _0x519c61=this['_getSystemFieldValue'](_0x2d94fe,_0x520aaa);return _0x519c61===void 0x0?[]:[{'recordId':_0x520aaa['id'],'values':{[_0x2d94fe['id']]:_0x519c61}}];});}[_0x327967(0x2e2)](_0x4f23a8,_0x53972d){const _0x118c44=_0x327967;switch(_0x4f23a8[_0x118c44(0x346)]){case _0x1013ad[_0x118c44(0x3dd)]:return _0x53972d[_0x118c44(0x463)]??this[_0x118c44(0x3b8)]();case _0x1013ad[_0x118c44(0x1d5)]:return _0x53972d[_0x118c44(0x2c9)]??this[_0x118c44(0x3b8)]();case _0x1013ad[_0x118c44(0x483)]:return B(_0x53972d['createdAt']??Date[_0x118c44(0xfa)]());case _0x1013ad['UpdatedAt']:return B(_0x53972d['updatedAt']??Date['now']());default:return;}}[_0x327967(0x43f)](_0x5b0942){const _0x4f9752=_0x327967;let _0x26d061=new Map();return _0x5b0942&&_0x5b0942[_0x4f9752(0x1f8)]['forEach'](_0x16e678=>{const _0x5d0c00=_0x4f9752;let _0x4794be=_0x5b0942[_0x5d0c00(0x305)][_0x16e678];(_0x4794be==null?void 0x0:_0x4794be[_0x5d0c00(0x346)])===_0x1013ad['Numbering']&&_0x26d061[_0x5d0c00(0x3fe)](_0x16e678,this[_0x5d0c00(0x199)](_0x5b0942,_0x16e678));}),_0x26d061;}['_createNumberingAllocator'](_0x30439c,_0x419208){const _0x48237d=_0x327967;let _0x17a419=Object[_0x48237d(0x259)](_0x30439c['records'])[_0x48237d(0x3d6)]((_0x7c7eef,_0x50430f)=>{const _0x1a73a0=_0x48237d;let _0x2ccea7=Number(_0x50430f[_0x1a73a0(0x259)][_0x419208]);return Number['isFinite'](_0x2ccea7)?Math[_0x1a73a0(0x31a)](_0x7c7eef,_0x2ccea7):_0x7c7eef;},0x0);return()=>String(++_0x17a419);}[_0x327967(0x1ed)](_0x1fb1df,_0x2ce128){const _0x487b69=_0x327967;let _0x5c3152=this[_0x487b69(0x211)](_0x1fb1df),_0x3f8785=this[_0x487b69(0x199)](_0x1fb1df,_0x2ce128);return _0x5c3152[_0x487b69(0xeb)](_0x8bc6d7=>this[_0x487b69(0x30b)](_0x8bc6d7[_0x487b69(0x259)][_0x2ce128])?[]:[{'recordId':_0x8bc6d7['id'],'values':{[_0x2ce128]:_0x3f8785()}}]);}[_0x327967(0x211)](_0x54c7f3){const _0x17ccda=_0x327967;var _0x545883;let _0x3ada25=Object[_0x17ccda(0x259)](_0x54c7f3[_0x17ccda(0x1d7)]),_0x17fc94=new Map(_0x3ada25[_0x17ccda(0x412)](_0x34e88b=>[_0x34e88b['id'],_0x34e88b])),_0x5dfc9e=[],_0xe685f7=new Set();(_0x545883=_0x54c7f3['recordOrder'])==null||_0x545883[_0x17ccda(0x29b)](_0x3a5f1e=>{const _0x2213c3=_0x17ccda;let _0x32ae67=_0x17fc94[_0x2213c3(0x318)](_0x3a5f1e);_0x32ae67&&(_0x5dfc9e[_0x2213c3(0x161)](_0x32ae67),_0xe685f7[_0x2213c3(0x12e)](_0x3a5f1e));});let _0x34dc24=_0x3ada25[_0x17ccda(0x1be)](_0x9c26a6=>!_0xe685f7['has'](_0x9c26a6['id']))[_0x17ccda(0x460)]((_0x308b29,_0x14c3b5)=>String(_0x308b29[_0x17ccda(0x44c)]??_0x308b29['id'])['localeCompare'](String(_0x14c3b5[_0x17ccda(0x44c)]??_0x14c3b5['id']))||_0x308b29['id'][_0x17ccda(0x3a4)](_0x14c3b5['id']));return[..._0x5dfc9e,..._0x34dc24];}[_0x327967(0x30b)](_0x41f844){const _0x37d465=_0x327967;return _0x41f844!=null&&_0x41f844!==''&&!(Array['isArray'](_0x41f844)&&_0x41f844[_0x37d465(0x1bf)]===0x0);}['_getCurrentUserId'](){const _0x166195=_0x327967;var _0x520788,_0x250fed,_0x2f7df5,_0x2e900d;return((_0x520788=(_0x250fed=this[_0x166195(0x34c)])[_0x166195(0x416)])==null?void 0x0:_0x520788[_0x166195(0x171)](_0x250fed))??((_0x2f7df5=(_0x2e900d=this['_runtimeContext'])[_0x166195(0x29a)])==null||(_0x2f7df5=_0x2f7df5[_0x166195(0x171)](_0x2e900d))==null?void 0x0:_0x2f7df5[_0x166195(0x3f5)])??void 0x0;}[_0x327967(0x41b)](_0x2cf7e9,_0x124dcd,_0x1c0a1d,_0x29421c,_0xe80862){const _0x5acc9c=_0x327967;var _0x10d164;if(!this[_0x5acc9c(0x1ae)]['canEditCell'](_0x124dcd,_0x1c0a1d,_0x29421c))throw Error(_0x5acc9c(0x383));let _0x33d094=(_0x10d164=_0x2cf7e9[_0x5acc9c(0x486)][_0x124dcd])==null?void 0x0:_0x10d164[_0x5acc9c(0x305)][_0x29421c];if(!_0x33d094)throw Error(_0x5acc9c(0x2fe)+_0x29421c+_0x5acc9c(0x223));let _0x186af7=this[_0x5acc9c(0x1cc)][_0x5acc9c(0x318)](_0x33d094[_0x5acc9c(0x346)]);if(_0x33d094[_0x5acc9c(0x397)]||_0x33d094['system']||!_0x186af7['getCapabilities'](_0x33d094)['editable'])throw Error('[BaseCommandService]:\x20cannot\x20edit\x20readonly\x20field.');let _0xd6a7dc=_0x186af7[_0x5acc9c(0x2ec)](_0xe80862,_0x33d094),_0x41ea91=_0x186af7[_0x5acc9c(0x186)](_0xd6a7dc,_0x33d094);if(!_0x41ea91[_0x5acc9c(0x48b)])throw Error(_0x41ea91[_0x5acc9c(0x3bf)]??_0x5acc9c(0x1b0));let _0x4d11f6=_0x33d094[_0x5acc9c(0x346)]===_0x1013ad['RecordLink']?Ve(_0x2cf7e9,_0x33d094,_0xd6a7dc):{'valid':!0x0};if(!_0x4d11f6[_0x5acc9c(0x48b)])throw Error(_0x4d11f6[_0x5acc9c(0x3bf)]??_0x5acc9c(0x28f));return _0xd6a7dc;}[_0x327967(0x30e)](_0xca1584,_0x41264a){const _0x33774b=_0x327967;if(_0x41264a['id']===_0x40fc9d||_0x41264a[_0x33774b(0x346)]===_0x1013ad[_0x33774b(0x212)]||_0x4fd5e0(_0x41264a[_0x33774b(0x158)]))throw Error(_0x33774b(0x1a8));let _0x3c410b=Be(_0xca1584,_0x41264a);if(!_0x3c410b['valid'])throw Error(_0x3c410b[_0x33774b(0x3bf)]??'[BaseCommandService]:\x20invalid\x20field\x20definition.');}};qr=X([Y(0x0,Br),Y(0x1,mr)],qr);function Jr(){const _0xcbd066=_0x327967;let _0x59780f=new hr();return zn()[_0xcbd066(0x29b)](_0x373352=>_0x59780f[_0xcbd066(0x263)](_0x373352)),_0x59780f;}function Yr(_0x4a9fc6){const _0x46b5d0=_0x327967;return _0x4a9fc6['type']===_0x1013ad[_0x46b5d0(0x1d8)]||_0x4a9fc6[_0x46b5d0(0x346)]===_0x1013ad['CreatedBy']||_0x4a9fc6[_0x46b5d0(0x346)]===_0x1013ad[_0x46b5d0(0x1d5)]||_0x4a9fc6[_0x46b5d0(0x346)]===_0x1013ad[_0x46b5d0(0x483)]||_0x4a9fc6[_0x46b5d0(0x346)]===_0x1013ad[_0x46b5d0(0xe4)];}const Xr=new Set([_0x1013ad[_0x327967(0x3e1)],_0x1013ad[_0x327967(0x20a)],_0x1013ad[_0x327967(0x205)]]);function Zr(_0x1c06b2){const _0x3155eb=_0x327967;let _0x26d094=_0x1c06b2['fields'][_0x1c06b2[_0x3155eb(0x44a)]];if((!_0x26d094||_0x26d094['system']!==!0x0&&_0x26d094['id']['toLowerCase']()!=='id'&&_0x26d094[_0x3155eb(0x158)][_0x3155eb(0x140)]()[_0x3155eb(0x3af)]()!=='id')&&_0x26d094)return _0x26d094['id'];for(let _0xabd09c of _0x1c06b2[_0x3155eb(0x1f8)]){let _0x4126c3=_0x1c06b2[_0x3155eb(0x305)][_0xabd09c];if(_0x4126c3&&_0x4126c3['id']!==_0x1c06b2[_0x3155eb(0x44a)]&&_0x4126c3[_0x3155eb(0x272)]!==!0x0&&_0x4126c3[_0x3155eb(0x346)]!==_0x1013ad['RecordId'])return _0x4126c3['id'];}return _0x1c06b2[_0x3155eb(0x44a)];}function Qr(_0x196d1d,_0x42890c=[],_0x1e8e08=0x5){const _0x1000ec=_0x327967;let _0x12f9d=new Set(_0x42890c[_0x1000ec(0x1be)](_0x5cbe94=>!!_0x5cbe94)),_0x2ad5f0=[],_0x4410c9=[];for(let _0x24bbba of _0x196d1d[_0x1000ec(0x1f8)]){let _0x2a3d81=_0x196d1d['fields'][_0x24bbba];_0x2a3d81&&_0x2a3d81[_0x1000ec(0x272)]!==!0x0&&_0x2a3d81[_0x1000ec(0x346)]!==_0x1013ad[_0x1000ec(0x212)]&&!_0x12f9d[_0x1000ec(0x103)](_0x2a3d81['id'])&&(Xr['has'](_0x2a3d81[_0x1000ec(0x346)])?_0x2ad5f0:_0x4410c9)['push'](_0x2a3d81['id']);}return[..._0x2ad5f0,..._0x4410c9]['slice'](0x0,_0x1e8e08);}function $r(){const _0x585a1f=_0x327967;return[{'type':_0x3dd96c[_0x585a1f(0xdc)],'i18nKey':_0x585a1f(0x3e9),'createDefaultConfig':()=>({}),'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x5f2cbd=_0x585a1f;throw Error(_0x5f2cbd(0x2e0));}},{'type':_0x3dd96c[_0x585a1f(0x4a2)],'i18nKey':_0x585a1f(0x1f7),'createDefaultConfig':_0x56deb7=>{const _0x291c99=_0x585a1f;let _0x55855e=ei(_0x56deb7);return{'groupFieldId':_0x55855e,'coverFieldId':null,'cardLayout':_0x291c99(0x436),'showFieldNames':!0x0,'fieldSettings':{},'columnSettings':{},'card':{'titleFieldId':_0x56deb7[_0x291c99(0x44a)],'fieldIds':Qr(_0x56deb7,[_0x56deb7[_0x291c99(0x44a)],_0x55855e])}};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x456063=_0x585a1f;throw Error(_0x456063(0x155));}},{'type':_0x3dd96c['Calendar'],'i18nKey':_0x585a1f(0x30c),'createDefaultConfig':_0x573eb5=>{const _0x4b7152=_0x585a1f;let _0x285a98=ti(_0x573eb5);return{'startDateFieldId':_0x285a98,'endDateFieldId':ni(_0x573eb5,_0x285a98),'titleFieldId':_0x573eb5[_0x4b7152(0x44a)],'mode':_0x4b7152(0x3ee),'timeslotSize':_0x4b7152(0x1df),'timeZone':_0x4b7152(0xea),'displayColor':{'type':_0x4b7152(0x26b),'color':'#3b82f6'},'fieldSettings':{}};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{throw Error('Calendar\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.');}},{'type':_0x3dd96c['Gantt'],'i18nKey':_0x585a1f(0x1e8),'createDefaultConfig':_0x1ff410=>{const _0x425e26=_0x585a1f;let _0x251ed8=ti(_0x1ff410);return{'startDateFieldId':_0x251ed8,'endDateFieldId':ni(_0x1ff410,_0x251ed8)??_0x251ed8,'titleFieldId':_0x1ff410[_0x425e26(0x44a)],'scale':_0x425e26(0x3ee),'showTodayLine':!0x0,'displayColor':{'type':_0x425e26(0x26b),'color':_0x425e26(0x1e6)},'fieldSettings':{},'workingDaysOnly':!0x1};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x522d9d=_0x585a1f;throw Error(_0x522d9d(0x2fb));}},{'type':_0x3dd96c[_0x585a1f(0x386)],'i18nKey':_0x585a1f(0x120),'createDefaultConfig':_0x25c942=>{const _0x27badc=_0x585a1f;let _0x2c416f=Zr(_0x25c942);return{'coverFieldId':null,'cardLayout':_0x27badc(0x436),'showFieldNames':!0x0,'fieldSettings':{},'card':{'titleFieldId':_0x2c416f,'coverFieldId':null,'fieldIds':Qr(_0x25c942,[_0x2c416f,_0x25c942[_0x27badc(0x44a)]])},'cardSize':_0x27badc(0x1df)};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x4a5e0d=_0x585a1f;throw Error(_0x4a5e0d(0x368));}}];}function ei(_0x1acce8){const _0xb599f0=_0x327967;var _0x40e1b3,_0x2acc5b,_0x5a7b32;let _0x265078=_0x1acce8[_0xb599f0(0x1f8)][_0xb599f0(0x412)](_0x11672b=>_0x1acce8['fields'][_0x11672b])['filter'](_0x30b0ab=>!!_0x30b0ab);return((_0x40e1b3=_0x265078[_0xb599f0(0x451)](_0x1f33c1=>_0x1f33c1[_0xb599f0(0x346)]===_0x1013ad[_0xb599f0(0x413)]||_0x1f33c1['type']===_0x1013ad[_0xb599f0(0x190)]||_0x1f33c1[_0xb599f0(0x346)]===_0x1013ad[_0xb599f0(0xf7)]))==null?void 0x0:_0x40e1b3['id'])??((_0x2acc5b=_0x265078['find'](_0x4e5aec=>_0x4e5aec[_0xb599f0(0x346)]===_0x1013ad[_0xb599f0(0x2cb)]))==null?void 0x0:_0x2acc5b['id'])??((_0x5a7b32=_0x265078[_0xb599f0(0x451)](_0x55299e=>_0x55299e['type']===_0x1013ad['Date']||_0x55299e[_0xb599f0(0x346)]===_0x1013ad[_0xb599f0(0x483)]||_0x55299e[_0xb599f0(0x346)]===_0x1013ad[_0xb599f0(0xe4)]))==null?void 0x0:_0x5a7b32['id'])??_0x1acce8[_0xb599f0(0x44a)];}function ti(_0x38bfbe){const _0x6e98e9=_0x327967;var _0x273d5d;return((_0x273d5d=_0x38bfbe[_0x6e98e9(0x1f8)][_0x6e98e9(0x412)](_0x310405=>_0x38bfbe[_0x6e98e9(0x305)][_0x310405])[_0x6e98e9(0x451)](ri))==null?void 0x0:_0x273d5d['id'])??'';}function ni(_0x427ebf,_0x46bbb4){const _0xd73e3e=_0x327967;var _0x142c85;return(_0x142c85=_0x427ebf['fieldOrder'][_0xd73e3e(0x412)](_0x4b0ec7=>_0x427ebf[_0xd73e3e(0x305)][_0x4b0ec7])[_0xd73e3e(0x451)](_0x53229d=>ri(_0x53229d)&&_0x53229d['id']!==_0x46bbb4))==null?void 0x0:_0x142c85['id'];}function ri(_0x3df0eb){const _0x3c44e4=_0x327967;return!!_0x3df0eb&&_0x3df0eb['type']===_0x1013ad[_0x3c44e4(0x2b2)]&&_0x3df0eb['readonly']!==!0x0&&_0x3df0eb[_0x3c44e4(0x272)]!==!0x0;}const ii=_0x1ada6c(_0x327967(0x12a)),ai=new Set([_0x1013ad[_0x327967(0x302)],_0x1013ad[_0x327967(0x295)],_0x1013ad[_0x327967(0x3e1)],_0x1013ad[_0x327967(0x20a)],_0x1013ad['Date'],_0x1013ad[_0x327967(0x483)],_0x1013ad['UpdatedAt'],_0x1013ad['Checkbox']]),oi=0x5265c00;let si=class extends _0x4de356{constructor(_0x16ea4a){const _0x5f564d=_0x327967;super(),this[_0x5f564d(0x1cc)]=_0x16ea4a,G(this,'_views',new Map()),G(this,_0x5f564d(0x1e0),new WeakMap()),G(this,_0x5f564d(0x1a0),new Map()),G(this,_0x5f564d(0x2aa),new Map()),G(this,_0x5f564d(0x4a7),new Map()),G(this,_0x5f564d(0x445),new Map()),G(this,_0x5f564d(0x13e),0x0),G(this,'_tableRevisions',new Map()),G(this,_0x5f564d(0x26d),new Map()),G(this,_0x5f564d(0x340),new Map()),G(this,_0x5f564d(0x426),new Map());}['registerView'](_0x991379){const _0x1f6ef6=_0x327967;return this['_views'][_0x1f6ef6(0x3fe)](_0x991379[_0x1f6ef6(0x346)],_0x991379),_0x569b00(()=>this[_0x1f6ef6(0x122)][_0x1f6ef6(0x253)](_0x991379[_0x1f6ef6(0x346)]));}[_0x327967(0x46d)](_0x2cabce,_0x14ee7b,_0x1e1008){const _0x1117d0=_0x327967;var _0x113cf3,_0x16af1c,_0x6ff419;return I(_0x1117d0(0x12d),()=>{const _0x5161e6=_0x1117d0;let _0x1ae247=this[_0x5161e6(0x398)](_0x2cabce,_0x14ee7b,_0x1e1008);if(_0x1ae247)return _0x1ae247;let _0x5b71cc=_0x2cabce[_0x5161e6(0x486)][_0x14ee7b],_0x509919=_0x5b71cc==null?void 0x0:_0x5b71cc[_0x5161e6(0x1eb)][_0x1e1008];if(!_0x5b71cc||!_0x509919)return this[_0x5161e6(0x317)](_0x2cabce,_0x14ee7b,_0x1e1008,{'type':'invalid','viewType':(_0x509919==null?void 0x0:_0x509919[_0x5161e6(0x346)])??_0x3dd96c[_0x5161e6(0xdc)],'reason':_0x5161e6(0x1bc)});let _0x26f717;switch(_0x509919['type']){case _0x3dd96c[_0x5161e6(0xdc)]:_0x26f717=this['_buildGrid'](_0x5b71cc,_0x509919);break;case _0x3dd96c[_0x5161e6(0x376)]:_0x26f717=this['_buildGantt'](_0x5b71cc,_0x509919);break;case _0x3dd96c[_0x5161e6(0x4a2)]:_0x26f717=this[_0x5161e6(0x180)](_0x5b71cc,_0x509919);break;case _0x3dd96c[_0x5161e6(0x322)]:_0x26f717=this['_buildCalendar'](_0x5b71cc,_0x509919);break;case _0x3dd96c['Gallery']:_0x26f717=this['_buildGallery'](_0x5b71cc,_0x509919);break;default:_0x26f717={'type':_0x5161e6(0x461),'viewType':_0x509919['type'],'reason':'missingField'};}return this['_setCachedProjection'](_0x2cabce,_0x14ee7b,_0x1e1008,_0x26f717);},{'tableId':_0x14ee7b,'viewId':_0x1e1008,'viewType':(_0x113cf3=_0x2cabce['tables'][_0x14ee7b])==null||(_0x113cf3=_0x113cf3['views'][_0x1e1008])==null?void 0x0:_0x113cf3[_0x1117d0(0x346)],'records':((_0x16af1c=_0x2cabce['tables'][_0x14ee7b])==null||(_0x16af1c=_0x16af1c[_0x1117d0(0x1e2)])==null?void 0x0:_0x16af1c[_0x1117d0(0x1bf)])??Object[_0x1117d0(0x27a)](((_0x6ff419=_0x2cabce[_0x1117d0(0x486)][_0x14ee7b])==null?void 0x0:_0x6ff419[_0x1117d0(0x1d7)])??{})[_0x1117d0(0x1bf)]});}[_0x327967(0x34e)](_0x2375ed,_0x5458dc,_0x3735a4){const _0x2035f1=_0x327967;var _0xd45ebd,_0x199197,_0x1137a6;let _0x156b0b=_0x2375ed['tables'][_0x5458dc],_0x16f968=_0x156b0b==null?void 0x0:_0x156b0b[_0x2035f1(0x1eb)][_0x3735a4];if(!_0x156b0b||!_0x16f968)throw Error('[BaseProjectionService]:\x20missing\x20view\x20\x22'+_0x3735a4+'\x22.');let _0x4426be=_0x2b69f0=>!!_0x156b0b[_0x2035f1(0x305)][_0x2b69f0],_0x3c08c3={..._0x16f968,'filter':_0x16f968[_0x2035f1(0x1be)]?{..._0x16f968[_0x2035f1(0x1be)],'conditions':_0x16f968[_0x2035f1(0x1be)][_0x2035f1(0x39c)][_0x2035f1(0x1be)](_0x10c448=>_0x4426be(_0x10c448[_0x2035f1(0x173)]))}:_0x16f968['filter'],'sort':(_0xd45ebd=_0x16f968[_0x2035f1(0x460)])==null?void 0x0:_0xd45ebd['filter'](_0x2f16dd=>_0x4426be(_0x2f16dd[_0x2035f1(0x173)])),'group':(_0x199197=_0x16f968[_0x2035f1(0x16a)])==null?void 0x0:_0x199197[_0x2035f1(0x1be)](_0x2bbc88=>_0x4426be(_0x2bbc88[_0x2035f1(0x173)])),'fieldOrder':(_0x1137a6=_0x16f968[_0x2035f1(0x1f8)])==null?void 0x0:_0x1137a6[_0x2035f1(0x1be)](_0x4426be),'fieldSettings':Object[_0x2035f1(0x49f)](Object[_0x2035f1(0x209)](_0x16f968['fieldSettings']??{})['filter'](([_0x10d4ab])=>_0x4426be(_0x10d4ab)))};if(_0x3c08c3[_0x2035f1(0x346)]===_0x2035f1(0x2c4)){var _0x3cf382;let _0x280f0c=_0x3c08c3[_0x2035f1(0x174)]??{},_0x184173=this[_0x2035f1(0x491)](_0x156b0b,_0x3c08c3),_0x3950ce=this[_0x2035f1(0x194)](_0x156b0b,(_0x3cf382=_0x280f0c[_0x2035f1(0x31c)])==null?void 0x0:_0x3cf382[_0x2035f1(0x19b)]);_0x3c08c3['config']={..._0x280f0c,'groupFieldId':_0x184173??_0x280f0c['groupFieldId'],'coverFieldId':this[_0x2035f1(0xdf)](_0x156b0b,_0x280f0c),'cardLayout':_0x280f0c['cardLayout']===_0x2035f1(0x13d)?_0x2035f1(0x13d):_0x2035f1(0x436),'showFieldNames':_0x280f0c[_0x2035f1(0x37b)]!==!0x1,'fieldSettings':Object[_0x2035f1(0x49f)](Object[_0x2035f1(0x209)](_0x280f0c[_0x2035f1(0x105)]??{})[_0x2035f1(0x1be)](([_0x47453f])=>_0x4426be(_0x47453f))),'columnSettings':_0x280f0c[_0x2035f1(0x2a4)]??{},'card':{..._0x280f0c[_0x2035f1(0x31c)]??{},'titleFieldId':_0x3950ce,'fieldIds':this[_0x2035f1(0x304)](_0x156b0b,_0x3c08c3,_0x184173??'',_0x3950ce)}};}return{'repaired':JSON[_0x2035f1(0xf8)](_0x3c08c3)!==JSON['stringify'](_0x16f968),'view':_0x3c08c3};}['invalidateByOp'](){const _0x38fbfa=_0x327967;this[_0x38fbfa(0x13e)]++;}[_0x327967(0x3b0)](_0x564027,_0x54ddd1,_0x562a1c){const _0xcb25bd=_0x327967;let _0x255860=this[_0xcb25bd(0x351)](_0x564027)+0x1;this[_0xcb25bd(0x26d)][_0xcb25bd(0x3fe)](_0x564027,_0x255860);let _0x237acc=this[_0xcb25bd(0x340)][_0xcb25bd(0x318)](_0x564027)??[];_0x237acc['push']({'revision':_0x255860,'recordId':_0x54ddd1,'fieldId':_0x562a1c}),this[_0xcb25bd(0x340)]['set'](_0x564027,_0x237acc);}[_0x327967(0x353)](_0x35bd8b,_0x3d4fd4){this['_bumpTableRevision'](_0x35bd8b);}[_0x327967(0x203)](_0x4da40f,_0x337496){const _0x418936=_0x327967;this[_0x418936(0x426)][_0x418936(0x3fe)](this['_viewRevisionKey'](_0x4da40f,_0x337496),this[_0x418936(0x32d)](_0x4da40f,_0x337496)+0x1);}[_0x327967(0x398)](_0x31c4db,_0x482e22,_0x560352){const _0x4ab548=_0x327967;var _0x4e6e5f;let _0x1c21f2=(_0x4e6e5f=this[_0x4ab548(0x1e0)][_0x4ab548(0x318)](_0x31c4db))==null?void 0x0:_0x4e6e5f[_0x4ab548(0x318)](this[_0x4ab548(0x119)](_0x482e22,_0x560352));return _0x1c21f2&&_0x1c21f2[_0x4ab548(0x172)]===this[_0x4ab548(0x13e)]&&_0x1c21f2[_0x4ab548(0x145)]===this[_0x4ab548(0x114)](_0x482e22)&&_0x1c21f2[_0x4ab548(0x37d)]===this['_getCellRevision'](_0x482e22)&&_0x1c21f2[_0x4ab548(0x1c1)]===this[_0x4ab548(0x32d)](_0x482e22,_0x560352)?_0x1c21f2[_0x4ab548(0x3e8)]:null;}[_0x327967(0x317)](_0x18431e,_0x8dbf97,_0x444b9d,_0x2d7e0c){const _0x30a155=_0x327967;let _0x52ca84=this['_projectionCache'][_0x30a155(0x318)](_0x18431e);return _0x52ca84||(_0x52ca84=new Map(),this[_0x30a155(0x1e0)]['set'](_0x18431e,_0x52ca84)),_0x52ca84[_0x30a155(0x3fe)](this[_0x30a155(0x119)](_0x8dbf97,_0x444b9d),{'projection':_0x2d7e0c,'globalRevision':this[_0x30a155(0x13e)],'tableRevision':this['_getTableRevision'](_0x8dbf97),'cellRevision':this[_0x30a155(0x351)](_0x8dbf97),'viewRevision':this['_getViewRevision'](_0x8dbf97,_0x444b9d)}),_0x2d7e0c;}[_0x327967(0x3f9)](_0x56b118){const _0x4b2d46=_0x327967;this['_tableRevisions'][_0x4b2d46(0x3fe)](_0x56b118,this[_0x4b2d46(0x114)](_0x56b118)+0x1);}[_0x327967(0x114)](_0x4fb33d){const _0x5213b2=_0x327967;return this[_0x5213b2(0x176)][_0x5213b2(0x318)](_0x4fb33d)??0x0;}['_getCellRevision'](_0x9e5940){const _0xfbfaa1=_0x327967;return this['_cellRevisions'][_0xfbfaa1(0x318)](_0x9e5940)??0x0;}['_getViewRevision'](_0x2582a6,_0x2b3572){const _0x1af731=_0x327967;return this[_0x1af731(0x426)][_0x1af731(0x318)](this[_0x1af731(0x293)](_0x2582a6,_0x2b3572))??0x0;}[_0x327967(0x119)](_0x2ff633,_0x3c5e3c){return _0x2ff633+'\x00'+_0x3c5e3c;}[_0x327967(0x396)](_0x1b5941,_0x1a9fdc){const _0xee4260=_0x327967;return _0x1b5941+'\x00'+this[_0xee4260(0x433)](_0x1a9fdc);}['_groupsCacheKey'](_0x5b4c44,_0x542257,_0x56338d){return _0x5b4c44+'\x00'+this['_rowTransformCacheSegment'](_0x542257)+'\x00'+this['_groupConfigCacheSegment'](_0x56338d);}[_0x327967(0x433)](_0x52e851){const _0x44099c=_0x327967;return _0x52e851?mi({'filter':di(_0x52e851[_0x44099c(0x1be)]),'sort':pi(_0x52e851[_0x44099c(0x460)])}):_0x44099c(0x49a);}[_0x327967(0x309)](_0x4926ab){const _0x5cf236=_0x327967;return mi(_0x4926ab[_0x5cf236(0x412)](_0x42fa1c=>({'fieldId':_0x42fa1c['fieldId'],'direction':_0x42fa1c[_0x5cf236(0x429)]??null})));}[_0x327967(0x293)](_0x342f88,_0xfc2478){return _0x342f88+'\x00'+_0xfc2478;}[_0x327967(0x1a5)](_0x135321,_0x4117d1){const _0x3cc77d=_0x327967;var _0xf660b8;let _0x2d2325=Je(_0x135321),_0x17863c=this[_0x3cc77d(0x183)](_0x135321,_0x4117d1),_0x455543=(_0xf660b8=_0x4117d1['filter'])!=null&&_0xf660b8[_0x3cc77d(0x39c)][_0x3cc77d(0x1bf)]?this[_0x3cc77d(0x183)](_0x135321,{..._0x4117d1,'filter':null}):_0x17863c,_0x4e7a1b=nt(this[_0x3cc77d(0x291)](_0x135321,_0x2d2325,_0x4117d1['id'],_0x455543[_0x3cc77d(0x412)](_0x5f4673=>_0x5f4673[_0x3cc77d(0x345)])),_0x455543,new Set(_0x17863c['map'](_0x4106f7=>_0x4106f7[_0x3cc77d(0x345)])));return{'type':_0x3dd96c[_0x3cc77d(0xdc)],'fields':this[_0x3cc77d(0x457)](_0x135321,_0x4117d1),'rows':_0x4e7a1b[_0x3cc77d(0x26f)],'groups':this[_0x3cc77d(0x106)](_0x135321,_0x4117d1,_0x4e7a1b[_0x3cc77d(0x26f)],_0x4e7a1b[_0x3cc77d(0xec)]),'hierarchy':_0x4e7a1b[_0x3cc77d(0xec)],'frozenFieldCount':typeof _0x4117d1[_0x3cc77d(0x174)][_0x3cc77d(0x2c6)]==_0x3cc77d(0x218)?_0x4117d1[_0x3cc77d(0x174)][_0x3cc77d(0x2c6)]:0x0};}[_0x327967(0x291)](_0x3aa7c0,_0x4107e1,_0x217ca6,_0x54da76){const _0x2a844e=_0x327967;let _0x5a75d5=_0x3aa7c0['id']+'\x00'+_0x4107e1+'\x00'+_0x217ca6,_0x896cc9=this[_0x2a844e(0x351)](_0x3aa7c0['id']),_0x366c87=this['_hierarchyIndexCache'][_0x2a844e(0x318)](_0x5a75d5);if(_0x366c87&&_0x366c87[_0x2a844e(0x172)]===this[_0x2a844e(0x13e)]&&_0x366c87[_0x2a844e(0x145)]===this[_0x2a844e(0x114)](_0x3aa7c0['id'])&&_0x366c87[_0x2a844e(0x437)][_0x2a844e(0x1bf)]===_0x54da76[_0x2a844e(0x1bf)]&&_0x366c87[_0x2a844e(0x437)][_0x2a844e(0x44b)]((_0x2c6816,_0x4975d9)=>_0x2c6816===_0x54da76[_0x4975d9])){if(_0x366c87['cellRevision']===_0x896cc9&&_0x366c87['table']===_0x3aa7c0)return _0x366c87[_0x2a844e(0x1b6)];if(!this[_0x2a844e(0x27b)](_0x3aa7c0['id'],_0x366c87[_0x2a844e(0x37d)],_0x896cc9,new Set([_0x4107e1])))return this[_0x2a844e(0x445)]['set'](_0x5a75d5,{..._0x366c87,'table':_0x3aa7c0,'cellRevision':_0x896cc9}),_0x366c87[_0x2a844e(0x1b6)];}let _0x4ba4b7=tt(_0x3aa7c0,_0x4107e1,_0x54da76);return this[_0x2a844e(0x445)][_0x2a844e(0x3fe)](_0x5a75d5,{'table':_0x3aa7c0,'index':_0x4ba4b7,'orderedRecordIds':_0x54da76,'globalRevision':this[_0x2a844e(0x13e)],'tableRevision':this[_0x2a844e(0x114)](_0x3aa7c0['id']),'cellRevision':_0x896cc9}),_0x4ba4b7;}[_0x327967(0x106)](_0x1505a3,_0x2dff4c,_0x487e71,_0x468a8b){const _0x16b2e5=_0x327967;var _0x6d53d7;if(!((_0x6d53d7=_0x2dff4c[_0x16b2e5(0x16a)])!=null&&_0x6d53d7[_0x16b2e5(0x1bf)]))return[];let _0x323aba=new Map(_0x487e71[_0x16b2e5(0x412)](_0x4a431d=>[_0x4a431d[_0x16b2e5(0x345)],_0x4a431d])),_0x5a8785=_0x468a8b[_0x16b2e5(0x32f)]['flatMap'](_0x47a9d0=>{const _0x13233b=_0x16b2e5;let _0x1206ee=_0x323aba[_0x13233b(0x318)](_0x47a9d0);return _0x1206ee?[_0x1206ee]:[];}),_0x358461=this[_0x16b2e5(0x297)](_0x1505a3,_0x2dff4c,_0x5a8785),_0x35a939=new Map(_0x468a8b['orderedRecordIds']['map']((_0x700bdd,_0x93f37d)=>[_0x700bdd,_0x93f37d])),_0x1474f6=_0x359c2b=>{const _0x1bb897=_0x16b2e5;let _0x16b836=_0x468a8b[_0x1bb897(0x439)][_0x359c2b],_0x13a6c2=_0x35a939[_0x1bb897(0x318)](_0x359c2b)??-0x1;return _0x13a6c2<0x0||!_0x16b836?[]:_0x468a8b[_0x1bb897(0x437)][_0x1bb897(0x348)](_0x13a6c2,_0x16b836[_0x1bb897(0x2cd)]+0x1);},_0xe01da7=_0x5b28ba=>{const _0x572dcb=_0x16b2e5;var _0x3db34d,_0x1802ee;return{..._0x5b28ba,'recordIds':(_0x3db34d=_0x5b28ba[_0x572dcb(0x22d)])!=null&&_0x3db34d[_0x572dcb(0x1bf)]?_0x5b28ba[_0x572dcb(0x3d1)]:_0x5b28ba['recordIds'][_0x572dcb(0xeb)](_0x1474f6),'children':(_0x1802ee=_0x5b28ba['children'])==null?void 0x0:_0x1802ee[_0x572dcb(0x412)](_0xe01da7)};};return _0x358461['map'](_0xe01da7);}[_0x327967(0x180)](_0x1257e7,_0x227bf0){const _0x360fc4=_0x327967;var _0x3b9410;let _0x51cbf0=this[_0x360fc4(0x491)](_0x1257e7,_0x227bf0),_0x31768a=_0x51cbf0?_0x1257e7[_0x360fc4(0x305)][_0x51cbf0]:void 0x0;if(!_0x31768a)return{'type':_0x360fc4(0x461),'viewType':_0x3dd96c[_0x360fc4(0x4a2)],'reason':_0x360fc4(0x39e),'fieldId':_0x227bf0[_0x360fc4(0x174)]['groupFieldId']};let _0x22b219=this['_projectRows'](_0x1257e7,_0x227bf0),_0x3cbbb5=this[_0x360fc4(0x457)](_0x1257e7,_0x227bf0),_0x351bda=_0x227bf0[_0x360fc4(0x174)]??{},_0x15f2e=this[_0x360fc4(0x194)](_0x1257e7,(_0x3b9410=_0x351bda[_0x360fc4(0x31c)])==null?void 0x0:_0x3b9410[_0x360fc4(0x19b)]),_0x4ee07c=this[_0x360fc4(0x304)](_0x1257e7,_0x227bf0,_0x31768a['id'],_0x15f2e),_0xa4e35d=new Map();if(F(_0x1257e7,_0x31768a['id'])){let _0x5115bd=this[_0x360fc4(0x291)](_0x1257e7,_0x31768a['id'],_0x227bf0['id'],_0x22b219['map'](_0x3b2ac0=>_0x3b2ac0[_0x360fc4(0x345)])),_0x2b4a1e=new Map();return _0x22b219['forEach'](_0x567bea=>{const _0x4ab73f=_0x360fc4;let _0x1805f0=_0x5115bd[_0x4ab73f(0x47c)][_0x4ab73f(0x318)](_0x567bea[_0x4ab73f(0x345)])??null,_0x28427b=_0x1805f0??'',_0x187339=_0x1805f0?_0x1257e7[_0x4ab73f(0x1d7)][_0x1805f0]:void 0x0,_0x2fd7d7=_0x2b4a1e[_0x4ab73f(0x318)](_0x28427b)??{'key':_0x28427b,'title':_0x187339?String(yt(_0x1257e7,_0x187339['id'],_0x1257e7['primaryFieldId'])??_0x1805f0):this['_kanbanLaneTitle'](_0x31768a,_0x28427b,_0x351bda),'recordIds':[]};_0x2fd7d7[_0x4ab73f(0x3d1)][_0x4ab73f(0x161)](_0x567bea[_0x4ab73f(0x345)]),_0x2b4a1e[_0x4ab73f(0x3fe)](_0x28427b,_0x2fd7d7);}),{'type':_0x3dd96c[_0x360fc4(0x4a2)],'fields':_0x3cbbb5,'rows':_0x22b219,'groups':[],'groupFieldId':_0x31768a['id'],'titleFieldId':_0x15f2e,'coverFieldId':this[_0x360fc4(0xdf)](_0x1257e7,_0x351bda),'cardLayout':_0x351bda['cardLayout']===_0x360fc4(0x13d)?'compose':'normal','showFieldNames':_0x351bda[_0x360fc4(0x37b)]!==!0x1,'visibleCardFieldIds':_0x4ee07c,'lanes':['',..._0x5115bd[_0x360fc4(0x437)]][_0x360fc4(0xeb)](_0x5a9ead=>{const _0x22a031=_0x360fc4;let _0x484ebd=_0x2b4a1e[_0x22a031(0x318)](_0x5a9ead);return _0x484ebd!=null&&_0x484ebd[_0x22a031(0x3d1)][_0x22a031(0x1bf)]?[_0x484ebd]:[];})};}return this[_0x360fc4(0x34d)](_0x31768a,_0x351bda)['forEach'](_0x18cadf=>_0xa4e35d[_0x360fc4(0x3fe)](_0x18cadf['key'],{..._0x18cadf,'recordIds':[]})),_0x22b219[_0x360fc4(0x29b)](_0x316d63=>{const _0x502921=_0x360fc4;this[_0x502921(0x47b)](_0x31768a,_0x316d63[_0x502921(0x259)][_0x31768a['id']])['forEach'](_0x21c34d=>{const _0x280716=_0x502921;let _0x53ec44=_0xa4e35d[_0x280716(0x318)](_0x21c34d)??{'key':_0x21c34d,'title':this[_0x280716(0x2ee)](_0x31768a,_0x21c34d,_0x351bda),'color':this[_0x280716(0x2ff)](_0x31768a,_0x21c34d,_0x351bda),'recordIds':[]};_0x53ec44[_0x280716(0x3d1)][_0x280716(0x161)](_0x316d63[_0x280716(0x345)]),_0xa4e35d[_0x280716(0x3fe)](_0x21c34d,_0x53ec44);});}),{'type':_0x3dd96c[_0x360fc4(0x4a2)],'fields':_0x3cbbb5,'rows':_0x22b219,'groups':this['_projectGroups'](_0x1257e7,_0x227bf0,_0x22b219),'groupFieldId':_0x31768a['id'],'titleFieldId':_0x15f2e,'coverFieldId':this[_0x360fc4(0xdf)](_0x1257e7,_0x351bda),'cardLayout':_0x351bda['cardLayout']===_0x360fc4(0x13d)?_0x360fc4(0x13d):'normal','showFieldNames':_0x351bda[_0x360fc4(0x37b)]!==!0x1,'visibleCardFieldIds':_0x4ee07c,'lanes':Array[_0x360fc4(0x1d1)](_0xa4e35d[_0x360fc4(0x259)]())};}[_0x327967(0x491)](_0x341ede,_0x15a1e5){const _0x382470=_0x327967;var _0x2c5796;let _0x7be566=(_0x2c5796=_0x15a1e5[_0x382470(0x174)])==null?void 0x0:_0x2c5796[_0x382470(0x110)];return _0x7be566&&this[_0x382470(0x2e3)](_0x341ede,_0x7be566)?_0x7be566:this[_0x382470(0x1b3)](_0x341ede,_0x490830=>this[_0x382470(0x133)](_0x490830));}['_findKanbanGroupField'](_0x16497d,_0x48efd8){const _0x2a6d72=_0x327967;for(let _0x5ea9f5 of _0x16497d[_0x2a6d72(0x1f8)]){let _0x11bd6d=_0x16497d['fields'][_0x5ea9f5];if(_0x11bd6d&&_0x48efd8(_0x11bd6d))return _0x11bd6d['id'];}return null;}[_0x327967(0x2e3)](_0x37ba01,_0x36ca2a){const _0x108509=_0x327967;let _0x4978bc=_0x37ba01[_0x108509(0x305)][_0x36ca2a];return this[_0x108509(0x133)](_0x4978bc)||F(_0x37ba01,_0x36ca2a);}['_isAllowedKanbanGroupField'](_0x218f3a){const _0x1bb46f=_0x327967;return!!_0x218f3a&&(_0x218f3a[_0x1bb46f(0x346)]===_0x1013ad[_0x1bb46f(0x413)]||_0x218f3a[_0x1bb46f(0x346)]===_0x1013ad[_0x1bb46f(0x190)]||_0x218f3a[_0x1bb46f(0x346)]===_0x1013ad[_0x1bb46f(0x20a)]||_0x218f3a[_0x1bb46f(0x346)]===_0x1013ad[_0x1bb46f(0x3df)]||_0x218f3a[_0x1bb46f(0x346)]===_0x1013ad[_0x1bb46f(0xf7)]||_0x218f3a[_0x1bb46f(0x346)]===_0x1013ad[_0x1bb46f(0x205)]);}['_isColorfulKanbanGroupField'](_0xdf4233){const _0x5e83fc=_0x327967;return _0xdf4233[_0x5e83fc(0x346)]===_0x1013ad[_0x5e83fc(0x413)]||_0xdf4233[_0x5e83fc(0x346)]===_0x1013ad[_0x5e83fc(0x190)];}[_0x327967(0xdf)](_0x522d94,_0x354120){const _0x3731ec=_0x327967;var _0xeb3023;let _0x1aa18f=_0x354120['coverFieldId']??((_0xeb3023=_0x354120[_0x3731ec(0x31c)])==null?void 0x0:_0xeb3023['coverFieldId'])??null;if(!_0x1aa18f)return null;let _0x4951ea=_0x522d94[_0x3731ec(0x305)][_0x1aa18f];return _0x4951ea&&this['_capabilities'](_0x4951ea)[_0x3731ec(0x476)]?_0x4951ea['id']:null;}[_0x327967(0x304)](_0x5342f8,_0x870e5d,_0x21512a,_0x391879=this['_resolveCardTitleFieldId'](_0x5342f8,((()=>{const _0x5ceb53=_0x327967;var _0x355656;return(_0x355656=_0x870e5d[_0x5ceb53(0x174)])==null||(_0x355656=_0x355656['card'])==null?void 0x0:_0x355656[_0x5ceb53(0x19b)];})()))){const _0x406905=_0x327967;var _0x43a1d7;let _0x354f0a=_0x870e5d[_0x406905(0x174)]??{},_0x1758db=(_0x43a1d7=_0x354f0a[_0x406905(0x31c)])!=null&&(_0x43a1d7=_0x43a1d7['fieldIds'])!=null&&_0x43a1d7['length']?_0x354f0a[_0x406905(0x31c)][_0x406905(0x143)]:Qr(_0x5342f8,[_0x391879,_0x5342f8[_0x406905(0x44a)],_0x21512a]),_0x51005f=_0x354f0a[_0x406905(0x105)]??{};return _0x1758db[_0x406905(0x1be)](_0x25cf68=>{const _0x127463=_0x406905;var _0x270ff6,_0x5031c1;let _0x270b0e=_0x5342f8[_0x127463(0x305)][_0x25cf68];return!(!_0x270b0e||_0x270b0e['system']===!0x0||_0x270b0e[_0x127463(0x346)]===_0x1013ad[_0x127463(0x212)]||_0x270b0e['id']===_0x21512a||_0x270b0e['id']===_0x391879||(_0x270ff6=_0x870e5d[_0x127463(0x105)])!=null&&(_0x270ff6=_0x270ff6[_0x25cf68])!=null&&_0x270ff6['hidden']||(_0x5031c1=_0x51005f[_0x25cf68])!=null&&_0x5031c1[_0x127463(0x30a)]);})['sort']((_0x35069d,_0xa72971)=>{const _0x147005=_0x406905;var _0x28b5a5,_0x147997;return(((_0x28b5a5=_0x51005f[_0x35069d])==null?void 0x0:_0x28b5a5[_0x147005(0x148)])??_0x1758db['indexOf'](_0x35069d))-(((_0x147997=_0x51005f[_0xa72971])==null?void 0x0:_0x147997[_0x147005(0x148)])??_0x1758db[_0x147005(0x1c5)](_0xa72971));});}[_0x327967(0x34d)](_0x3c0ce2,_0x372bf6){const _0x3f8a8f=_0x327967;var _0x5b9fbe;let _0x5df7ff=(Array['isArray']((_0x5b9fbe=_0x3c0ce2['config'])==null?void 0x0:_0x5b9fbe[_0x3f8a8f(0x495)])?_0x3c0ce2[_0x3f8a8f(0x174)][_0x3f8a8f(0x495)]:[])[_0x3f8a8f(0xeb)]((_0x11edb3,_0x5eebdc)=>{const _0xce522=_0x3f8a8f;if(_0x11edb3==null)return[];let _0x93236b=typeof _0x11edb3=='string'?{'id':_0x11edb3,'name':_0x11edb3,'color':void 0x0}:_0x11edb3,_0x5f1c7a=String(_0x93236b['id']??_0x93236b[_0xce522(0x158)]??_0xce522(0x330)+(_0x5eebdc+0x1));return[{'key':_0x5f1c7a,'title':String(_0x93236b[_0xce522(0x158)]??_0x93236b['id']??_0x5f1c7a),'color':this[_0xce522(0x2ff)](_0x3c0ce2,_0x5f1c7a,_0x372bf6)}];});return Object[_0x3f8a8f(0x209)](_0x372bf6['columnSettings']??{})[_0x3f8a8f(0x29b)](([_0x24593f,_0x48ff78])=>{const _0x550489=_0x3f8a8f;_0x5df7ff['some'](_0xe2ba33=>_0xe2ba33['key']===_0x24593f)||_0x5df7ff['push']({'key':_0x24593f,'title':this[_0x550489(0x3cc)](_0x3c0ce2)?_0x48ff78[_0x550489(0x1e5)]??this[_0x550489(0x2ee)](_0x3c0ce2,_0x24593f,_0x372bf6):this['_kanbanLaneTitle'](_0x3c0ce2,_0x24593f,_0x372bf6),'color':this[_0x550489(0x2ff)](_0x3c0ce2,_0x24593f,_0x372bf6)});}),_0x5df7ff;}[_0x327967(0x47b)](_0xcff281,_0x34001b){const _0x11a7d8=_0x327967;let _0x3d7e85=_0x4d629f=>{var _0x15d06f;let _0x1b8423=_0x4d629f==null?'':String(_0x4d629f);return!_0x1b8423||!this['_isColorfulKanbanGroupField'](_0xcff281)?_0x1b8423:((_0x15d06f=Li(_0xcff281,_0x1b8423))==null?void 0x0:_0x15d06f['id'])??_0x1b8423;};if(Array[_0x11a7d8(0x3fb)](_0x34001b)){let _0x1c3114=_0x34001b[_0x11a7d8(0x412)](_0x3d7e85)[_0x11a7d8(0x1be)](_0x172d6b=>_0x172d6b!=='');return _0x1c3114[_0x11a7d8(0x1bf)]?_0x1c3114:[''];}return[_0x3d7e85(_0x34001b)];}[_0x327967(0x2ee)](_0x3efb0b,_0x545bbe,_0x4be1a2){const _0x50a02f=_0x327967;if(!_0x545bbe)return _0x50a02f(0x42a);let _0x1419f0=Li(_0x3efb0b,_0x545bbe);return(_0x1419f0==null?void 0x0:_0x1419f0[_0x50a02f(0x158)])??_0x545bbe;}[_0x327967(0x2ff)](_0x5055d8,_0x10334e,_0x15cc9c){const _0x35a96b=_0x327967;var _0x1fb47b;if(this['_isColorfulKanbanGroupField'](_0x5055d8))return(_0x1fb47b=Li(_0x5055d8,_0x10334e))==null?void 0x0:_0x1fb47b[_0x35a96b(0x233)];}[_0x327967(0x2bb)](_0xaceaed,_0x5ea401){const _0x3a4c1f=_0x327967;let _0x16bcc7=this[_0x3a4c1f(0x296)](_0xaceaed,_0x5ea401['config']??{}),_0x313c8f=_0xaceaed[_0x3a4c1f(0x305)][_0x16bcc7[_0x3a4c1f(0x3d2)]];if(!_0x313c8f||_0x313c8f[_0x3a4c1f(0x346)]!==_0x1013ad[_0x3a4c1f(0x2b2)]||_0x313c8f[_0x3a4c1f(0x397)]===!0x0||_0x313c8f[_0x3a4c1f(0x272)]===!0x0||!this['_capabilities'](_0x313c8f)['usableAsCalendarDate'])return{'type':_0x3a4c1f(0x461),'viewType':_0x3dd96c[_0x3a4c1f(0x322)],'reason':_0x3a4c1f(0x24d),'fieldId':_0x16bcc7[_0x3a4c1f(0x3d2)]};let _0x771821=_0x16bcc7[_0x3a4c1f(0x406)]?_0xaceaed[_0x3a4c1f(0x305)][_0x16bcc7[_0x3a4c1f(0x406)]]:void 0x0,_0x45556b=this[_0x3a4c1f(0x183)](_0xaceaed,_0x5ea401);return{'type':_0x3dd96c['Calendar'],'config':_0x16bcc7,'fields':this[_0x3a4c1f(0x457)](_0xaceaed,_0x5ea401),'rows':_0x45556b,'groups':this['_projectGroups'](_0xaceaed,_0x5ea401,_0x45556b),'events':_0x45556b['flatMap'](_0x992ff9=>{const _0xae9a5b=_0x3a4c1f;let _0x52caed=dn(_0x992ff9[_0xae9a5b(0x259)][_0x16bcc7[_0xae9a5b(0x3d2)]]);if(!Number['isFinite'](_0x52caed))return[];let _0x9aa89b=_0x992ff9[_0xae9a5b(0x259)][_0x16bcc7[_0xae9a5b(0x3d2)]],_0x22c9e7=_0x16bcc7[_0xae9a5b(0x406)]==null?void 0x0:_0x992ff9[_0xae9a5b(0x259)][_0x16bcc7[_0xae9a5b(0x406)]],_0x20a39d=_0x16bcc7[_0xae9a5b(0x406)]==null?void 0x0:dn(_0x22c9e7),_0x1f5093=Number[_0xae9a5b(0x138)](_0x20a39d)?_0x20a39d:void 0x0;return[{'recordId':_0x992ff9[_0xae9a5b(0x345)],'title':this['_title'](_0xaceaed,_0x992ff9,_0x16bcc7[_0xae9a5b(0x19b)]),'start':_0x52caed,'end':_0x1f5093,'color':this['_calendarEventColor'](_0xaceaed,_0x992ff9,_0x16bcc7),'startMs':_0x52caed,'endMs':_0x1f5093,'allDay':this[_0xae9a5b(0x1a6)](_0x313c8f,_0x771821,_0x9aa89b,_0x22c9e7),'fieldValues':_0x992ff9['values']}];})};}[_0x327967(0x296)](_0x285179,_0x579a34){const _0x490e7b=_0x327967;let _0x52272c=this[_0x490e7b(0x15c)](_0x285179,_0x579a34[_0x490e7b(0x3d2)]),_0x78c48a=_0x579a34[_0x490e7b(0x406)]&&this[_0x490e7b(0x25f)](_0x285179,_0x579a34[_0x490e7b(0x406)])?_0x579a34[_0x490e7b(0x406)]:this[_0x490e7b(0x3d3)](_0x285179,_0x52272c)??void 0x0,_0x1006f9=_0x579a34[_0x490e7b(0x19b)]?_0x285179['fields'][_0x579a34['titleFieldId']]:void 0x0,_0x4afe6f=_0x1006f9&&_0x1006f9[_0x490e7b(0x272)]!==!0x0&&_0x1006f9[_0x490e7b(0x346)]!==_0x1013ad[_0x490e7b(0x212)]?_0x579a34[_0x490e7b(0x19b)]:_0x285179['primaryFieldId'],_0x1e3deb=_0x579a34['mode']==='day'||_0x579a34[_0x490e7b(0x441)]===_0x490e7b(0x39a)?_0x579a34[_0x490e7b(0x441)]:_0x490e7b(0x3ee),_0x2e3dab=_0x579a34[_0x490e7b(0x2e6)]==='short'||_0x579a34[_0x490e7b(0x2e6)]===_0x490e7b(0x466)?_0x579a34[_0x490e7b(0x2e6)]:'medium',_0x7ff5da=typeof _0x579a34[_0x490e7b(0x417)]==_0x490e7b(0x2a0)&&_0x579a34['timeZone'][_0x490e7b(0x140)]()?_0x579a34[_0x490e7b(0x417)]:'local',_0xd6c28c=this[_0x490e7b(0x39d)](_0x285179,_0x579a34);return{..._0x579a34,'startDateFieldId':_0x52272c,'endDateFieldId':_0x78c48a,'titleFieldId':_0x4afe6f,'mode':_0x1e3deb,'timeslotSize':_0x2e3dab,'timeZone':_0x7ff5da,'displayColor':_0xd6c28c,'fieldSettings':Object['fromEntries'](Object[_0x490e7b(0x209)](_0x579a34[_0x490e7b(0x105)]??{})[_0x490e7b(0x1be)](([_0x3fdded])=>{const _0x590fcb=_0x490e7b;let _0x426c01=_0x285179[_0x590fcb(0x305)][_0x3fdded];return!!(_0x426c01&&_0x426c01[_0x590fcb(0x272)]!==!0x0&&_0x426c01['type']!==_0x1013ad['RecordId']);}))};}['_resolveCalendarDateFieldId'](_0x258f25,_0x24a664){const _0x397448=_0x327967;return _0x24a664&&this[_0x397448(0x25f)](_0x258f25,_0x24a664)?_0x24a664:this[_0x397448(0x3d3)](_0x258f25)??_0x24a664??'';}[_0x327967(0x3d3)](_0x38d111,_0x135842){const _0x18336a=_0x327967;for(let _0x235dbe of _0x38d111[_0x18336a(0x1f8)])if(_0x235dbe!==_0x135842&&this[_0x18336a(0x25f)](_0x38d111,_0x235dbe))return _0x235dbe;return null;}['_isCalendarDateField'](_0x2ae89d,_0x456147){const _0x42222f=_0x327967;let _0x3a1612=_0x2ae89d[_0x42222f(0x305)][_0x456147];return!!_0x3a1612&&_0x3a1612['type']===_0x1013ad[_0x42222f(0x2b2)]&&_0x3a1612['readonly']!==!0x0&&_0x3a1612[_0x42222f(0x272)]!==!0x0&&this[_0x42222f(0x23c)](_0x3a1612)['usableAsCalendarDate'];}[_0x327967(0x39d)](_0x469275,_0x5453bc){const _0x218fda=_0x327967;let _0x121b77=_0x5453bc[_0x218fda(0xf6)];if((_0x121b77==null?void 0x0:_0x121b77[_0x218fda(0x346)])===_0x218fda(0x28b)){let _0x272c06=_0x469275[_0x218fda(0x305)][_0x121b77[_0x218fda(0x173)]];if(_0x272c06&&_0x272c06[_0x218fda(0x346)]===_0x1013ad['SingleSelect'])return _0x121b77;}if((_0x121b77==null?void 0x0:_0x121b77['type'])===_0x218fda(0x26b)&&typeof _0x121b77[_0x218fda(0x233)]=='string'&&_0x121b77[_0x218fda(0x233)][_0x218fda(0x140)]())return{'type':'custom','color':_0x121b77[_0x218fda(0x233)]};if(_0x5453bc['colorFieldId']){let _0x3594b7=_0x469275[_0x218fda(0x305)][_0x5453bc[_0x218fda(0xe8)]];if(_0x3594b7&&_0x3594b7[_0x218fda(0x346)]===_0x1013ad[_0x218fda(0x413)])return{'type':_0x218fda(0x28b),'fieldId':_0x5453bc[_0x218fda(0xe8)]};}return{'type':'custom','color':_0x218fda(0x2f9)};}[_0x327967(0x284)](_0xf4c1e9,_0x14e00a,_0x53909b){const _0x266a2c=_0x327967;let _0x786158=_0x53909b['displayColor'];if((_0x786158==null?void 0x0:_0x786158[_0x266a2c(0x346)])===_0x266a2c(0x28b)){var _0x4e6125;let _0x3f33ee=_0xf4c1e9[_0x266a2c(0x305)][_0x786158[_0x266a2c(0x173)]];if(!_0x3f33ee)return;let _0x2c9cfd=_0x14e00a[_0x266a2c(0x259)][_0x786158['fieldId']],_0x1d2c37=Array[_0x266a2c(0x3fb)](_0x2c9cfd)?_0x2c9cfd[0x0]:_0x2c9cfd;return _0x1d2c37==null||(_0x4e6125=Li(_0x3f33ee,String(_0x1d2c37)))==null?void 0x0:_0x4e6125[_0x266a2c(0x233)];}if((_0x786158==null?void 0x0:_0x786158[_0x266a2c(0x346)])===_0x266a2c(0x26b))return _0x786158[_0x266a2c(0x233)];}['_isAllDayCalendarEvent'](_0x5cccd1,_0x3eedc7,_0xf226db,_0x19af80){const _0x4b5e43=_0x327967;var _0x5d863c,_0x36d5cb;let _0x12a8cf=((_0x5d863c=_0x5cccd1[_0x4b5e43(0x174)])==null?void 0x0:_0x5d863c[_0x4b5e43(0x26e)])===!0x0,_0xfc54af=(_0x3eedc7==null||(_0x36d5cb=_0x3eedc7['config'])==null?void 0x0:_0x36d5cb[_0x4b5e43(0x26e)])===!0x0;return!_0x12a8cf&&!_0xfc54af;}[_0x327967(0x3c0)](_0x115771,_0x226d5f){const _0x2c32a2=_0x327967;var _0x4ad8d0,_0x1208fe;let _0x9aa206=((_0x4ad8d0=_0x115771[_0x2c32a2(0x174)])==null?void 0x0:_0x4ad8d0[_0x2c32a2(0x26e)])===!0x0,_0x97c637=((_0x1208fe=_0x226d5f['config'])==null?void 0x0:_0x1208fe[_0x2c32a2(0x26e)])===!0x0;return!_0x9aa206&&!_0x97c637;}[_0x327967(0x391)](_0x1e292d,_0x569681){const _0x515c58=_0x327967;let _0x595cfd=this[_0x515c58(0x1e7)](_0x1e292d,_0x569681[_0x515c58(0x174)]),_0x21018b=_0x1e292d[_0x515c58(0x305)][_0x595cfd[_0x515c58(0x3d2)]];if(!_0x21018b||_0x21018b[_0x515c58(0x346)]!==_0x1013ad['Date']||_0x21018b[_0x515c58(0x397)]===!0x0||_0x21018b['system']===!0x0||!this[_0x515c58(0x23c)](_0x21018b)[_0x515c58(0x388)])return{'type':_0x515c58(0x461),'viewType':_0x3dd96c[_0x515c58(0x376)],'reason':_0x515c58(0x1b1),'fieldId':_0x595cfd[_0x515c58(0x3d2)]};let _0x15c9df=_0x1e292d['fields'][_0x595cfd[_0x515c58(0x406)]];if(!_0x15c9df||_0x15c9df[_0x515c58(0x346)]!==_0x1013ad[_0x515c58(0x2b2)]||_0x15c9df[_0x515c58(0x397)]===!0x0||_0x15c9df[_0x515c58(0x272)]===!0x0||!this['_capabilities'](_0x15c9df)[_0x515c58(0x43d)])return{'type':_0x515c58(0x461),'viewType':_0x3dd96c[_0x515c58(0x376)],'reason':_0x515c58(0x455),'fieldId':_0x595cfd[_0x515c58(0x406)]};let _0x1fb9db=this[_0x515c58(0x3c0)](_0x21018b,_0x15c9df),_0x15f3c9=this[_0x515c58(0x183)](_0x1e292d,_0x569681),_0x34ca9a=_0x15f3c9[_0x515c58(0xeb)](_0x454c9b=>{const _0x113f68=_0x515c58;let _0x112834=dn(_0x454c9b[_0x113f68(0x259)][_0x595cfd['startDateFieldId']]),_0x5d4a96=dn(_0x454c9b[_0x113f68(0x259)][_0x595cfd['endDateFieldId']]);if(!Number[_0x113f68(0x138)](_0x112834)||!Number[_0x113f68(0x138)](_0x5d4a96))return[];let _0x9e55bc=Math[_0x113f68(0x37a)](_0x112834,_0x5d4a96),_0x31f18e=Math[_0x113f68(0x31a)](_0x112834,_0x5d4a96),_0x4b159a=_0x595cfd[_0x113f68(0x192)]==null?void 0x0:Number(_0x454c9b[_0x113f68(0x259)][_0x595cfd[_0x113f68(0x192)]]);return[{'recordId':_0x454c9b[_0x113f68(0x345)],'title':this['_title'](_0x1e292d,_0x454c9b,_0x595cfd[_0x113f68(0x19b)]),'start':_0x9e55bc,'end':_0x31f18e,'color':this[_0x113f68(0x21f)](_0x1e292d,_0x454c9b,_0x595cfd),'progress':Number['isFinite'](_0x4b159a)?_0x4b159a:void 0x0,'workingDayCount':_0x595cfd['workingDaysOnly']?Ti(_0x9e55bc,_0x31f18e,_0x595cfd[_0x113f68(0x358)]):void 0x0,'dependencyRecordIds':this[_0x113f68(0x43a)](_0x454c9b['values'][_0x595cfd['dependencyFieldId']??''])}];}),_0xe495d7=_0x34ca9a[_0x515c58(0x1bf)]?Z(Math[_0x515c58(0x37a)](..._0x34ca9a[_0x515c58(0x412)](_0x5219b1=>_0x5219b1[_0x515c58(0x47f)]))-0x5a*oi):Z(Date[_0x515c58(0xfa)]()-0x5a*oi),_0x1bbdf4=_0x34ca9a['length']?Z(Math[_0x515c58(0x31a)](..._0x34ca9a['map'](_0x2c9275=>_0x2c9275[_0x515c58(0x3c3)]))+0x5b*oi):Z(Date[_0x515c58(0xfa)]()+0x5b*oi),_0x5ae482=_i(_0x595cfd[_0x515c58(0x241)],_0xe495d7,_0x1bbdf4,_0x595cfd[_0x515c58(0x453)]?_0x595cfd[_0x515c58(0x358)]:void 0x0);return{'type':_0x3dd96c[_0x515c58(0x376)],'fields':this[_0x515c58(0x457)](_0x1e292d,{..._0x569681,'config':_0x595cfd}),'rows':_0x15f3c9,'groups':this[_0x515c58(0x297)](_0x1e292d,_0x569681,_0x15f3c9),'config':_0x595cfd,'dateRangeAllDay':_0x1fb9db,'timeline':{'scale':_0x595cfd[_0x515c58(0x241)],'start':_0xe495d7,'end':_0x1bbdf4,'unitWidth':_0x5ae482[_0x515c58(0x479)],'majorHeaders':_0x5ae482[_0x515c58(0x1ff)],'columns':_0x5ae482[_0x515c58(0x137)]},'bars':_0x34ca9a};}['_normalizeGanttConfig'](_0x500db4,_0x3b04da){const _0x2260d4=_0x327967;let _0x25bc28=this[_0x2260d4(0x3b4)](_0x500db4,_0x3b04da[_0x2260d4(0x3d2)],_0x2260d4(0x47f)),_0x1185f2=this['_resolveGanttDateFieldId'](_0x500db4,_0x3b04da['endDateFieldId'],_0x2260d4(0x3c3))||_0x25bc28,_0x10c9e5=_0x3b04da[_0x2260d4(0x19b)]?_0x500db4[_0x2260d4(0x305)][_0x3b04da[_0x2260d4(0x19b)]]:void 0x0,_0x487bc6=_0x10c9e5&&_0x10c9e5['system']!==!0x0&&_0x10c9e5[_0x2260d4(0x346)]!==_0x1013ad[_0x2260d4(0x212)]?_0x3b04da[_0x2260d4(0x19b)]:_0x500db4[_0x2260d4(0x44a)],_0x5a979d=_0x3b04da[_0x2260d4(0x241)]===_0x2260d4(0x39a)||_0x3b04da[_0x2260d4(0x241)]===_0x2260d4(0x324)||_0x3b04da[_0x2260d4(0x241)]===_0x2260d4(0x102)?_0x3b04da['scale']:_0x2260d4(0x3ee),_0x2d93ea=gi(_0x3b04da[_0x2260d4(0x358)]);return{..._0x3b04da,'startDateFieldId':_0x25bc28,'endDateFieldId':_0x1185f2,'titleFieldId':_0x487bc6,'scale':_0x5a979d,'leftPaneWidth':typeof _0x3b04da[_0x2260d4(0x323)]==_0x2260d4(0x218)?_0x3b04da[_0x2260d4(0x323)]:void 0x0,'leftPaneCollapsed':_0x3b04da[_0x2260d4(0x221)]===!0x0,'showTodayLine':_0x3b04da[_0x2260d4(0x139)]!==!0x1,'displayColor':this['_normalizeGanttDisplayColor'](_0x500db4,_0x3b04da),'fieldSettings':Object[_0x2260d4(0x49f)](Object[_0x2260d4(0x209)](_0x3b04da['fieldSettings']??{})[_0x2260d4(0x1be)](([_0x197b8d])=>{const _0x3df237=_0x2260d4;let _0x5bf833=_0x500db4[_0x3df237(0x305)][_0x197b8d];return!!(_0x5bf833&&_0x5bf833[_0x3df237(0x272)]!==!0x0&&_0x5bf833['type']!==_0x1013ad[_0x3df237(0x212)]);})),'workingDaysOnly':_0x3b04da['workingDaysOnly']===!0x0,'workingDays':_0x2d93ea};}['_resolveGanttDateFieldId'](_0x13caf2,_0x39004f,_0x2e509e){const _0x3568e4=_0x327967;if(_0x39004f&&this[_0x3568e4(0x342)](_0x13caf2,_0x39004f,_0x2e509e)||_0x39004f)return _0x39004f;for(let _0x5ef767 of _0x13caf2[_0x3568e4(0x1f8)])if(this[_0x3568e4(0x342)](_0x13caf2,_0x5ef767,_0x2e509e))return _0x5ef767;return _0x39004f??'';}[_0x327967(0x342)](_0x35accb,_0x238dc1,_0x12e7c4){const _0x28e445=_0x327967;let _0x153505=_0x35accb['fields'][_0x238dc1];if(!_0x153505||_0x153505[_0x28e445(0x346)]!==_0x1013ad['Date']||_0x153505[_0x28e445(0x397)]===!0x0||_0x153505['system']===!0x0)return!0x1;let _0xe93349=this['_capabilities'](_0x153505);return _0x12e7c4===_0x28e445(0x47f)?_0xe93349[_0x28e445(0x388)]:_0xe93349[_0x28e445(0x43d)];}['_normalizeGanttDisplayColor'](_0x41ee7f,_0x50aff5){const _0x455b57=_0x327967;let _0x442111=_0x50aff5['displayColor'];if((_0x442111==null?void 0x0:_0x442111['type'])===_0x455b57(0x28b)){let _0xbc5109=_0x41ee7f['fields'][_0x442111[_0x455b57(0x173)]];if(_0xbc5109&&_0xbc5109[_0x455b57(0x346)]===_0x1013ad[_0x455b57(0x413)])return _0x442111;}return(_0x442111==null?void 0x0:_0x442111[_0x455b57(0x346)])==='conditional'&&Array[_0x455b57(0x3fb)](_0x442111[_0x455b57(0x21a)])?{'type':_0x455b57(0x188),'rules':_0x442111[_0x455b57(0x21a)]['filter'](_0xaab968=>!!_0x41ee7f[_0x455b57(0x305)][_0xaab968[_0x455b57(0x173)]])}:(_0x442111==null?void 0x0:_0x442111['type'])===_0x455b57(0x26b)&&typeof _0x442111[_0x455b57(0x233)]==_0x455b57(0x2a0)&&_0x442111[_0x455b57(0x233)][_0x455b57(0x140)]()?{'type':_0x455b57(0x26b),'color':_0x442111[_0x455b57(0x233)]}:{'type':_0x455b57(0x26b),'color':_0x455b57(0x1e6)};}['_ganttBarColor'](_0x20d294,_0x46e341,_0x35c58b){const _0x5c9a8d=_0x327967;let _0x146dc1=_0x35c58b[_0x5c9a8d(0xf6)];if((_0x146dc1==null?void 0x0:_0x146dc1[_0x5c9a8d(0x346)])===_0x5c9a8d(0x188)){let _0x511f69=_0x146dc1[_0x5c9a8d(0x21a)][_0x5c9a8d(0x451)](_0x338628=>this[_0x5c9a8d(0x201)](_0x20d294,_0x46e341,_0x338628));if(_0x511f69)return _0x511f69['color'];}if((_0x146dc1==null?void 0x0:_0x146dc1[_0x5c9a8d(0x346)])===_0x5c9a8d(0x28b)){let _0x370f82=_0x20d294['fields'][_0x146dc1['fieldId']];if(_0x370f82){var _0x32fd83;let _0x21a7a9=_0x46e341[_0x5c9a8d(0x259)][_0x146dc1[_0x5c9a8d(0x173)]],_0x172b5a=Array[_0x5c9a8d(0x3fb)](_0x21a7a9)?_0x21a7a9[0x0]:_0x21a7a9,_0xf8d4b3=_0x172b5a==null||(_0x32fd83=Li(_0x370f82,String(_0x172b5a)))==null?void 0x0:_0x32fd83[_0x5c9a8d(0x233)];if(_0xf8d4b3)return _0xf8d4b3;}}return(_0x146dc1==null?void 0x0:_0x146dc1[_0x5c9a8d(0x346)])===_0x5c9a8d(0x26b)?_0x146dc1[_0x5c9a8d(0x233)]:_0x5c9a8d(0x1e6);}[_0x327967(0x201)](_0x319831,_0x495a04,_0x3e7314){const _0x4b944e=_0x327967;let _0x5aad97=_0x319831[_0x4b944e(0x305)][_0x3e7314[_0x4b944e(0x173)]];return _0x5aad97?xn(_0x495a04[_0x4b944e(0x259)][_0x5aad97['id']],_0x3e7314[_0x4b944e(0xfb)],_0x3e7314[_0x4b944e(0x2d4)],_0x5aad97,{'dateMode':_0x3e7314[_0x4b944e(0x365)]}):!0x1;}[_0x327967(0x1d2)](_0x27f27e,_0x4a44a8){const _0x581538=_0x327967;let _0x16400f=this[_0x581538(0x183)](_0x27f27e,_0x4a44a8),_0x3f77c9=this[_0x581538(0x12b)](_0x27f27e,_0x4a44a8['config']??{}),_0x28ab80=this['_projectFields'](_0x27f27e,_0x4a44a8);return{'type':_0x3dd96c['Gallery'],'fields':_0x28ab80,'rows':_0x16400f,'groups':this['_projectGroups'](_0x27f27e,_0x4a44a8,_0x16400f),'titleFieldId':_0x3f77c9[_0x581538(0x31c)][_0x581538(0x19b)],'coverFieldId':_0x3f77c9[_0x581538(0x1dc)],'cardLayout':_0x3f77c9[_0x581538(0x3f4)]??_0x581538(0x436),'showFieldNames':_0x3f77c9[_0x581538(0x37b)]!==!0x1,'visibleCardFieldIds':this[_0x581538(0x126)](_0x27f27e,_0x4a44a8,_0x3f77c9),'cardSize':_0x3f77c9[_0x581538(0x32c)]??_0x581538(0x1df),'cards':_0x16400f['map'](_0x44d7db=>({'recordId':_0x44d7db['recordId'],'title':this[_0x581538(0x26a)](_0x27f27e,_0x44d7db,_0x3f77c9[_0x581538(0x31c)]['titleFieldId']),'values':_0x44d7db[_0x581538(0x259)]}))};}[_0x327967(0x12b)](_0x3a3b41,_0x1792dd){const _0xfdcace=_0x327967;let _0x550355=_0x1792dd[_0xfdcace(0x31c)]??{'fieldIds':[]},_0x1cee0b=this[_0xfdcace(0x194)](_0x3a3b41,_0x550355[_0xfdcace(0x19b)]),_0x5129e2=this['_resolveGalleryCoverFieldId'](_0x3a3b41,_0x1792dd),_0x41161f=_0x1792dd['cardSize']===_0xfdcace(0x2b4)||_0x1792dd['cardSize']===_0xfdcace(0x3a3)?_0x1792dd[_0xfdcace(0x32c)]:_0xfdcace(0x1df);return{..._0x1792dd,'coverFieldId':_0x5129e2,'cardLayout':_0x1792dd['cardLayout']===_0xfdcace(0x13d)?_0xfdcace(0x13d):_0xfdcace(0x436),'showFieldNames':_0x1792dd[_0xfdcace(0x37b)]!==!0x1,'fieldSettings':Object[_0xfdcace(0x49f)](Object[_0xfdcace(0x209)](_0x1792dd['fieldSettings']??{})['filter'](([_0xafc419])=>{const _0x397c87=_0xfdcace;let _0x40f12e=_0x3a3b41[_0x397c87(0x305)][_0xafc419];return!!(_0x40f12e&&_0x40f12e[_0x397c87(0x272)]!==!0x0&&_0x40f12e['type']!==_0x1013ad[_0x397c87(0x212)]);})),'card':{..._0x550355,'titleFieldId':_0x1cee0b,'coverFieldId':_0x5129e2,'fieldIds':Array[_0xfdcace(0x3fb)](_0x550355[_0xfdcace(0x143)])?_0x550355[_0xfdcace(0x143)]:[]},'cardSize':_0x41161f};}[_0x327967(0x194)](_0x1abf66,_0x506169){const _0x132b92=_0x327967;let _0x401aa2=_0x506169?_0x1abf66[_0x132b92(0x305)][_0x506169]:void 0x0;return _0x401aa2&&_0x401aa2[_0x132b92(0x272)]!==!0x0&&_0x401aa2['type']!==_0x1013ad[_0x132b92(0x212)]?_0x401aa2['id']:Zr(_0x1abf66);}[_0x327967(0x36f)](_0x7f4afe,_0x5b1725){const _0x1bcc9c=_0x327967;var _0x17861a;let _0x5d8f2f=_0x5b1725[_0x1bcc9c(0x1dc)]??((_0x17861a=_0x5b1725['card'])==null?void 0x0:_0x17861a[_0x1bcc9c(0x1dc)])??null;if(!_0x5d8f2f)return null;let _0xedacb2=_0x7f4afe[_0x1bcc9c(0x305)][_0x5d8f2f];return _0xedacb2&&this[_0x1bcc9c(0x23c)](_0xedacb2)['usableAsCardCover']?_0xedacb2['id']:null;}[_0x327967(0x126)](_0x1fba40,_0x154910,_0x518367){const _0x18eb34=_0x327967;var _0x566ca0,_0x497e3c,_0x262cb0;let _0x5dbdaa=_0x518367[_0x18eb34(0x105)]??{},_0x22051c=((_0x566ca0=_0x518367[_0x18eb34(0x31c)])==null?void 0x0:_0x566ca0['titleFieldId'])??Zr(_0x1fba40),_0x4c3a12=_0x518367[_0x18eb34(0x1dc)]??((_0x497e3c=_0x518367[_0x18eb34(0x31c)])==null?void 0x0:_0x497e3c[_0x18eb34(0x1dc)])??null,_0x3eccb0=(_0x262cb0=_0x518367['card'])!=null&&(_0x262cb0=_0x262cb0['fieldIds'])!=null&&_0x262cb0[_0x18eb34(0x1bf)]?_0x518367[_0x18eb34(0x31c)][_0x18eb34(0x143)]:Qr(_0x1fba40,[_0x22051c,_0x4c3a12,_0x1fba40[_0x18eb34(0x44a)]]);return _0x3eccb0[_0x18eb34(0x1be)](_0x448e6a=>{const _0x1797ed=_0x18eb34;var _0x177ed5,_0x4545e0;let _0x3e9c85=_0x1fba40['fields'][_0x448e6a];return!(!_0x3e9c85||_0x3e9c85[_0x1797ed(0x272)]===!0x0||_0x3e9c85[_0x1797ed(0x346)]===_0x1013ad[_0x1797ed(0x212)]||_0x3e9c85['id']===_0x22051c||_0x3e9c85['id']===_0x4c3a12||(_0x177ed5=_0x154910['fieldSettings'])!=null&&(_0x177ed5=_0x177ed5[_0x448e6a])!=null&&_0x177ed5[_0x1797ed(0x30a)]||(_0x4545e0=_0x5dbdaa[_0x448e6a])!=null&&_0x4545e0[_0x1797ed(0x30a)]);})[_0x18eb34(0x460)]((_0x2f22c5,_0x4482d0)=>{const _0x5778be=_0x18eb34;var _0x5a3d82,_0x334513;return(((_0x5a3d82=_0x5dbdaa[_0x2f22c5])==null?void 0x0:_0x5a3d82[_0x5778be(0x148)])??_0x3eccb0['indexOf'](_0x2f22c5))-(((_0x334513=_0x5dbdaa[_0x4482d0])==null?void 0x0:_0x334513[_0x5778be(0x148)])??_0x3eccb0[_0x5778be(0x1c5)](_0x4482d0));});}[_0x327967(0x457)](_0x54f150,_0x466428){const _0xa11b1d=_0x327967;var _0x594bc7;return((_0x594bc7=_0x466428['fieldOrder'])!=null&&_0x594bc7[_0xa11b1d(0x1bf)]?_0x466428[_0xa11b1d(0x1f8)]:_0x54f150['fieldOrder'])[_0xa11b1d(0xeb)](_0x5e80cf=>{const _0x330335=_0xa11b1d;var _0x21dc3d;let _0xcc0eeb=_0x54f150[_0x330335(0x305)][_0x5e80cf],_0x249e7e=((_0x21dc3d=_0x466428['fieldSettings'])==null?void 0x0:_0x21dc3d[_0x5e80cf])??{};return!_0xcc0eeb||_0xcc0eeb[_0x330335(0x272)]===!0x0||_0xcc0eeb[_0x330335(0x346)]===_0x1013ad[_0x330335(0x212)]||_0x249e7e[_0x330335(0x30a)]?[]:[{'id':_0xcc0eeb['id'],'name':_0xcc0eeb['name'],'description':_0xcc0eeb[_0x330335(0x36d)],'type':_0xcc0eeb[_0x330335(0x346)],'config':_0xcc0eeb[_0x330335(0x174)],'width':_0x249e7e[_0x330335(0x10f)],'setting':_0x249e7e}];});}[_0x327967(0x183)](_0x453016,_0x2c319a){const _0x21faa6=_0x327967;var _0x50fe84;return I(_0x21faa6(0x270),()=>{const _0xddddaf=_0x21faa6;var _0x4826fe,_0x8fa08e;let _0x482475=this[_0xddddaf(0x38c)](_0x453016),_0x5d811b=this[_0xddddaf(0x396)](_0x453016['id'],_0x2c319a),_0x365cb5=this[_0xddddaf(0x351)](_0x453016['id']),_0x34ec66=this[_0xddddaf(0x2aa)][_0xddddaf(0x318)](_0x5d811b);if(_0x34ec66&&_0x34ec66[_0xddddaf(0x172)]===this['_globalRevision']&&_0x34ec66[_0xddddaf(0x145)]===this['_getTableRevision'](_0x453016['id'])){if(_0x34ec66['cellRevision']===_0x365cb5&&_0x34ec66[_0xddddaf(0x37e)]===_0x482475)return _0x34ec66[_0xddddaf(0x26f)];if(_0x34ec66[_0xddddaf(0x37d)]!==_0x365cb5&&!this[_0xddddaf(0x27b)](_0x453016['id'],_0x34ec66[_0xddddaf(0x37d)],_0x365cb5,this['_filterSortFieldIds'](_0x2c319a))){let _0x40a1db=_0x34ec66[_0xddddaf(0x26f)]===_0x34ec66[_0xddddaf(0x37e)]?_0x482475:this[_0xddddaf(0x3f6)](_0x34ec66['rows'],_0x482475);if(_0x40a1db)return this[_0xddddaf(0x2aa)][_0xddddaf(0x3fe)](_0x5d811b,{..._0x34ec66,'rows':_0x40a1db,'baseRows':_0x482475,'cellRevision':_0x365cb5}),_0x40a1db;}}let _0x2a4969=I(_0xddddaf(0x280),()=>this[_0xddddaf(0xff)](_0x453016,_0x2c319a,this[_0xddddaf(0x15f)](_0x453016,_0x2c319a,_0x482475)),{'tableId':_0x453016['id'],'viewId':_0x2c319a==null?void 0x0:_0x2c319a['id'],'viewType':_0x2c319a==null?void 0x0:_0x2c319a[_0xddddaf(0x346)],'rows':_0x482475[_0xddddaf(0x1bf)],'filters':(_0x2c319a==null||(_0x4826fe=_0x2c319a[_0xddddaf(0x1be)])==null?void 0x0:_0x4826fe['conditions'][_0xddddaf(0x1bf)])??0x0,'sorts':(_0x2c319a==null||(_0x8fa08e=_0x2c319a[_0xddddaf(0x460)])==null?void 0x0:_0x8fa08e[_0xddddaf(0x1bf)])??0x0});return this[_0xddddaf(0x2aa)][_0xddddaf(0x3fe)](_0x5d811b,{'table':_0x453016,'rows':_0x2a4969,'baseRows':_0x482475,'globalRevision':this[_0xddddaf(0x13e)],'tableRevision':this[_0xddddaf(0x114)](_0x453016['id']),'cellRevision':_0x365cb5}),_0x2a4969;},{'tableId':_0x453016['id'],'viewId':_0x2c319a==null?void 0x0:_0x2c319a['id'],'viewType':_0x2c319a==null?void 0x0:_0x2c319a[_0x21faa6(0x346)],'records':((_0x50fe84=_0x453016[_0x21faa6(0x1e2)])==null?void 0x0:_0x50fe84['length'])??Object['keys'](_0x453016[_0x21faa6(0x1d7)]??{})[_0x21faa6(0x1bf)]});}[_0x327967(0x38c)](_0x98e6d){const _0x45a3cc=_0x327967;var _0x75dcb1;return I(_0x45a3cc(0x381),()=>{const _0x1e8e16=_0x45a3cc;var _0x308ea0;let _0x20c580=this['_getCellRevision'](_0x98e6d['id']),_0x3f91bc=this['_projectedRowsCache'][_0x1e8e16(0x318)](_0x98e6d['id']);if(_0x3f91bc&&_0x3f91bc[_0x1e8e16(0x172)]===this[_0x1e8e16(0x13e)]&&_0x3f91bc[_0x1e8e16(0x145)]===this[_0x1e8e16(0x114)](_0x98e6d['id'])){if(_0x3f91bc['cellRevision']===_0x20c580&&fi(_0x3f91bc[_0x1e8e16(0x496)],_0x98e6d))return _0x3f91bc[_0x1e8e16(0x496)]=_0x98e6d,_0x3f91bc['rows'];let _0x12c8c8=this[_0x1e8e16(0x2de)](_0x98e6d,_0x3f91bc,_0x20c580);if(_0x12c8c8)return _0x12c8c8;}ui(_0x98e6d)||L(_0x98e6d);let _0x1c5702=(_0x308ea0=_0x98e6d[_0x1e8e16(0x1e2)])!=null&&_0x308ea0[_0x1e8e16(0x1bf)]?_0x98e6d[_0x1e8e16(0x1e2)]:hi(_0x98e6d[_0x1e8e16(0x1d7)]),_0x59218c=I('BaseProjection.materializeTableRows',()=>{const _0x235dc2=_0x1e8e16;let _0x52d37c=[];for(let _0x19c01e of _0x1c5702){let _0x21aa57=_0x98e6d[_0x235dc2(0x1d7)][_0x19c01e];if(!_0x21aa57)continue;let _0x2394c8={};for(let _0x284aa0 of _0x98e6d[_0x235dc2(0x1f8)])_0x2394c8[_0x284aa0]=yt(_0x98e6d,_0x21aa57['id'],_0x284aa0);_0x52d37c[_0x235dc2(0x161)]({'recordId':_0x21aa57['id'],'values':_0x2394c8});}return _0x52d37c;},{'tableId':_0x98e6d['id'],'records':_0x1c5702[_0x1e8e16(0x1bf)],'fields':_0x98e6d['fieldOrder'][_0x1e8e16(0x1bf)]});return this[_0x1e8e16(0x1a0)][_0x1e8e16(0x3fe)](_0x98e6d['id'],{'table':_0x98e6d,'rows':_0x59218c,'rowIndexById':li(_0x59218c),'globalRevision':this['_globalRevision'],'tableRevision':this['_getTableRevision'](_0x98e6d['id']),'cellRevision':_0x20c580}),_0x59218c;},{'tableId':_0x98e6d['id'],'records':((_0x75dcb1=_0x98e6d[_0x45a3cc(0x1e2)])==null?void 0x0:_0x75dcb1[_0x45a3cc(0x1bf)])??Object['keys'](_0x98e6d[_0x45a3cc(0x1d7)]??{})[_0x45a3cc(0x1bf)],'fields':_0x98e6d['fieldOrder']['length']});}['_patchProjectedRowsForCellInvalidations'](_0x59cc3c,_0x4427c5,_0x4e328f){const _0x2387fe=_0x327967;let _0xb80230=(this['_cellInvalidations']['get'](_0x59cc3c['id'])??[])[_0x2387fe(0x1be)](_0x5d0866=>_0x5d0866[_0x2387fe(0x49e)]>_0x4427c5[_0x2387fe(0x37d)]&&_0x5d0866[_0x2387fe(0x49e)]<=_0x4e328f);if(!_0xb80230[_0x2387fe(0x1bf)])return _0x4427c5[_0x2387fe(0x496)]===_0x59cc3c?_0x4427c5[_0x2387fe(0x26f)]:null;let _0x45d0a0=_0x4427c5[_0x2387fe(0x26f)],_0x36709a=new Map();for(let _0x158313 of _0xb80230){let _0x12a709=_0x36709a['get'](_0x158313[_0x2387fe(0x345)]);_0x12a709||(_0x12a709=new Set(),_0x36709a[_0x2387fe(0x3fe)](_0x158313['recordId'],_0x12a709)),_0x12a709[_0x2387fe(0x12e)](_0x158313['fieldId']);}for(let [_0x4b8841,_0x1aae7f]of _0x36709a){if(!_0x59cc3c[_0x2387fe(0x1d7)][_0x4b8841])return null;let _0x121b0d=_0x4427c5[_0x2387fe(0x153)][_0x2387fe(0x318)](_0x4b8841);if(_0x121b0d==null)return null;_0x45d0a0===_0x4427c5[_0x2387fe(0x26f)]&&(_0x45d0a0=[..._0x4427c5[_0x2387fe(0x26f)]]);let _0x3c7a9e=_0x45d0a0[_0x121b0d],_0x131c26={..._0x3c7a9e[_0x2387fe(0x259)]};_0x1aae7f[_0x2387fe(0x29b)](_0x156c1e=>{_0x131c26[_0x156c1e]=yt(_0x59cc3c,_0x4b8841,_0x156c1e);}),_0x45d0a0[_0x121b0d]={..._0x3c7a9e,'values':_0x131c26};}let _0x177e1e={'table':_0x59cc3c,'rows':_0x45d0a0,'rowIndexById':_0x4427c5[_0x2387fe(0x153)],'globalRevision':this[_0x2387fe(0x13e)],'tableRevision':this[_0x2387fe(0x114)](_0x59cc3c['id']),'cellRevision':_0x4e328f};return this[_0x2387fe(0x1a0)]['set'](_0x59cc3c['id'],_0x177e1e),this['_cellInvalidations'][_0x2387fe(0x3fe)](_0x59cc3c['id'],(this[_0x2387fe(0x340)][_0x2387fe(0x318)](_0x59cc3c['id'])??[])[_0x2387fe(0x1be)](_0x2be939=>_0x2be939[_0x2387fe(0x49e)]>Math[_0x2387fe(0x31a)](0x0,_0x4e328f-0x100))),_0x45d0a0;}[_0x327967(0x3f6)](_0x305a2e,_0x25227e){const _0x372399=_0x327967;let _0x1bea39=new Map(_0x25227e[_0x372399(0x412)](_0x62b642=>[_0x62b642[_0x372399(0x345)],_0x62b642])),_0x14bf1a=!0x1,_0x349afa=_0x305a2e['map'](_0x3ec098=>{let _0x3ca5ae=_0x1bea39['get'](_0x3ec098['recordId']);return _0x3ca5ae?_0x3ca5ae===_0x3ec098?_0x3ec098:(_0x14bf1a=!0x0,_0x3ca5ae):_0x3ec098;});return _0x14bf1a?_0x349afa:_0x305a2e;}[_0x327967(0x27b)](_0x3fb89d,_0x55ac66,_0x52e3c4,_0x107256){const _0x357efe=_0x327967;return!_0x107256[_0x357efe(0x1d0)]||_0x55ac66===_0x52e3c4?!0x1:_0x52e3c4-_0x55ac66>0x100||(this[_0x357efe(0x340)][_0x357efe(0x318)](_0x3fb89d)??[])[_0x357efe(0x35d)](_0x59d24a=>_0x59d24a['revision']>_0x55ac66&&_0x59d24a[_0x357efe(0x49e)]<=_0x52e3c4&&_0x107256[_0x357efe(0x103)](_0x59d24a[_0x357efe(0x173)]));}[_0x327967(0x210)](_0x2e0531){const _0x2fec92=_0x327967;var _0x5662ac,_0x1e23ba;let _0x4c1c55=new Set();return _0x2e0531==null||(_0x5662ac=_0x2e0531[_0x2fec92(0x1be)])==null||_0x5662ac[_0x2fec92(0x39c)][_0x2fec92(0x29b)](_0x520417=>_0x4c1c55[_0x2fec92(0x12e)](_0x520417['fieldId'])),_0x2e0531==null||(_0x1e23ba=_0x2e0531[_0x2fec92(0x460)])==null||_0x1e23ba['forEach'](_0x3f095a=>_0x4c1c55[_0x2fec92(0x12e)](_0x3f095a[_0x2fec92(0x173)])),_0x4c1c55;}[_0x327967(0x165)](_0x52ebe0){const _0x7c1f27=_0x327967;var _0x5e7d75;let _0x4fa2f1=this['_filterSortFieldIds'](_0x52ebe0);return(_0x5e7d75=_0x52ebe0[_0x7c1f27(0x16a)])==null||_0x5e7d75[_0x7c1f27(0x29b)](_0x2a1efa=>_0x4fa2f1[_0x7c1f27(0x12e)](_0x2a1efa[_0x7c1f27(0x173)])),_0x4fa2f1;}[_0x327967(0x15f)](_0x1ea7e2,_0x1cf163,_0x3876e3){const _0x51e7dd=_0x327967;let _0x50405b=_0x1cf163==null?void 0x0:_0x1cf163[_0x51e7dd(0x1be)];if(!(_0x50405b!=null&&_0x50405b[_0x51e7dd(0x39c)][_0x51e7dd(0x1bf)]))return _0x3876e3;let _0x12cc40=_0x50405b[_0x51e7dd(0x39c)]['filter'](_0x13510b=>!Ii(_0x13510b));return _0x12cc40[_0x51e7dd(0x1bf)]?_0x3876e3[_0x51e7dd(0x1be)](_0x2a0d8e=>{const _0x2ab7fa=_0x51e7dd;if(_0x50405b[_0x2ab7fa(0x168)]===_0x2fab97['OR']){for(let _0x33d326 of _0x12cc40){let _0x4ef13c=_0x1ea7e2[_0x2ab7fa(0x305)][_0x33d326[_0x2ab7fa(0x173)]];if(!_0x4ef13c||this[_0x2ab7fa(0x1cc)]['get'](_0x4ef13c['type'])['filter'](_0x2a0d8e[_0x2ab7fa(0x259)][_0x4ef13c['id']],_0x33d326['operator'],_0x33d326['operand'],_0x4ef13c))return!0x0;}return!0x1;}for(let _0x1580a5 of _0x12cc40){let _0x111825=_0x1ea7e2[_0x2ab7fa(0x305)][_0x1580a5[_0x2ab7fa(0x173)]];if(_0x111825&&!this[_0x2ab7fa(0x1cc)][_0x2ab7fa(0x318)](_0x111825[_0x2ab7fa(0x346)])[_0x2ab7fa(0x1be)](_0x2a0d8e[_0x2ab7fa(0x259)][_0x111825['id']],_0x1580a5[_0x2ab7fa(0xfb)],_0x1580a5[_0x2ab7fa(0x2d4)],_0x111825))return!0x1;}return!0x0;}):_0x3876e3;}[_0x327967(0xff)](_0x2d88e1,_0x148503,_0x541eae){const _0x1a5f19=_0x327967;let _0x3ce8fa=(_0x148503==null?void 0x0:_0x148503[_0x1a5f19(0x460)])??[];if(!_0x3ce8fa[_0x1a5f19(0x1bf)])return _0x541eae;let _0x491eb5=_0x3ce8fa[_0x1a5f19(0xeb)](_0x24b840=>{let _0x3e675b=_0x2d88e1['fields'][_0x24b840['fieldId']];return _0x3e675b?[{..._0x24b840,'field':_0x3e675b}]:[];});return _0x491eb5[_0x1a5f19(0x1bf)]?this[_0x1a5f19(0x458)](_0x491eb5)?this['_fastSortRows'](_0x491eb5,_0x541eae):[..._0x541eae]['sort']((_0x177a45,_0x53605b)=>{const _0x3d723a=_0x1a5f19;for(let _0x55285d of _0x491eb5){let _0x14318e=_0x55285d['field'],_0x233b2c=this['_fieldRegistry'][_0x3d723a(0x318)](_0x14318e[_0x3d723a(0x346)])['compare'](_0x177a45[_0x3d723a(0x259)][_0x14318e['id']],_0x53605b[_0x3d723a(0x259)][_0x14318e['id']],_0x14318e);if(_0x233b2c!==0x0)return _0x55285d[_0x3d723a(0x429)]===_0x391c0e[_0x3d723a(0x2e4)]?-_0x233b2c:_0x233b2c;}return 0x0;}):_0x541eae;}[_0x327967(0x458)](_0x4d2f95){const _0x2cfb9f=_0x327967;return _0x4d2f95[_0x2cfb9f(0x44b)](_0x665330=>ai[_0x2cfb9f(0x103)](_0x665330[_0x2cfb9f(0x1fe)][_0x2cfb9f(0x346)]));}['_fastSortRows'](_0x67c882,_0x50ae7b){const _0x73ddc4=_0x327967;return _0x50ae7b['map']((_0x5a8056,_0x37b9eb)=>({'row':_0x5a8056,'index':_0x37b9eb,'keys':_0x67c882[_0x73ddc4(0x412)](_0x4f7608=>_0x5a8056[_0x73ddc4(0x259)][_0x4f7608[_0x73ddc4(0x173)]])}))[_0x73ddc4(0x460)]((_0x5b06bd,_0x4eb02e)=>{const _0x2b6487=_0x73ddc4;for(let _0x3bd72b=0x0;_0x3bd72b<_0x67c882[_0x2b6487(0x1bf)];_0x3bd72b++){let _0x50da42=Fi(_0x5b06bd[_0x2b6487(0x27a)][_0x3bd72b],_0x4eb02e[_0x2b6487(0x27a)][_0x3bd72b]);if(_0x50da42!==0x0)return _0x67c882[_0x3bd72b][_0x2b6487(0x429)]===_0x391c0e[_0x2b6487(0x2e4)]?-_0x50da42:_0x50da42;}return _0x5b06bd[_0x2b6487(0x1b6)]-_0x4eb02e[_0x2b6487(0x1b6)];})[_0x73ddc4(0x412)](_0x12d17e=>_0x12d17e[_0x73ddc4(0x124)]);}[_0x327967(0x297)](_0x181e80,_0x6aa8ed,_0x571b04){const _0x2601af=_0x327967;var _0x327bd0;return I(_0x2601af(0x462),()=>{const _0x242e7a=_0x2601af;var _0x509c36;if(!((_0x509c36=_0x6aa8ed['group'])!=null&&_0x509c36[_0x242e7a(0x1bf)]))return[];let _0x48d1e9=_0x6aa8ed[_0x242e7a(0x16a)][_0x242e7a(0x1be)](_0x1c350a=>_0x181e80['fields'][_0x1c350a[_0x242e7a(0x173)]]);if(!_0x48d1e9[_0x242e7a(0x1bf)])return[];let _0x390258=this[_0x242e7a(0x10a)](_0x181e80['id'],_0x6aa8ed,_0x48d1e9),_0x3f14e8=this['_getCellRevision'](_0x181e80['id']),_0x45828d=this[_0x242e7a(0x4a7)][_0x242e7a(0x318)](_0x390258);if(_0x45828d&&_0x45828d['globalRevision']===this['_globalRevision']&&_0x45828d['tableRevision']===this[_0x242e7a(0x114)](_0x181e80['id'])){if(_0x45828d[_0x242e7a(0x37d)]===_0x3f14e8&&_0x45828d[_0x242e7a(0x26f)]===_0x571b04)return _0x45828d['groups'];if(_0x45828d[_0x242e7a(0x37d)]!==_0x3f14e8&&!this[_0x242e7a(0x27b)](_0x181e80['id'],_0x45828d[_0x242e7a(0x37d)],_0x3f14e8,this[_0x242e7a(0x165)](_0x6aa8ed)))return this['_projectedGroupsCache'][_0x242e7a(0x3fe)](_0x390258,{..._0x45828d,'rows':_0x571b04,'cellRevision':_0x3f14e8}),_0x45828d[_0x242e7a(0x23b)];}let _0x1a850b=new Map();for(let _0x42bff4 of _0x571b04){let _0x5761e5=_0x1a850b,_0xc57e53='';for(let _0x1e1dfd=0x0;_0x1e1dfd<_0x48d1e9['length'];_0x1e1dfd++){let _0x57db21=_0x48d1e9[_0x1e1dfd],_0x579e42=_0x42bff4[_0x242e7a(0x259)][_0x57db21[_0x242e7a(0x173)]],_0x218de1=ci(_0x579e42),_0x2a6a6f=_0x57db21['fieldId']+'\x00'+_0x218de1,_0x4a3fcd=_0xc57e53+'/'+_0x57db21[_0x242e7a(0x173)]+':'+_0x218de1,_0x3f005e=_0x5761e5['get'](_0x2a6a6f);_0x3f005e||(_0x3f005e={'key':_0x218de1,'value':_0x579e42,'path':_0x4a3fcd,'label':_0x218de1||'Empty','fieldId':_0x57db21['fieldId'],'level':_0x1e1dfd,'recordIds':[],'children':new Map()},_0x5761e5[_0x242e7a(0x3fe)](_0x2a6a6f,_0x3f005e)),_0x3f005e[_0x242e7a(0x3d1)][_0x242e7a(0x161)](_0x42bff4[_0x242e7a(0x345)]),_0x5761e5=_0x3f005e[_0x242e7a(0x22d)],_0xc57e53=_0x4a3fcd;}}let _0x1ecbe6=this[_0x242e7a(0x311)](_0x48d1e9,_0x1a850b,0x0);return this[_0x242e7a(0x4a7)]['set'](_0x390258,{'table':_0x181e80,'rows':_0x571b04,'groups':_0x1ecbe6,'globalRevision':this[_0x242e7a(0x13e)],'tableRevision':this[_0x242e7a(0x114)](_0x181e80['id']),'cellRevision':_0x3f14e8}),_0x1ecbe6;},{'tableId':_0x181e80['id'],'viewId':_0x6aa8ed['id'],'viewType':_0x6aa8ed[_0x2601af(0x346)],'rows':_0x571b04[_0x2601af(0x1bf)],'groupFields':((_0x327bd0=_0x6aa8ed['group'])==null?void 0x0:_0x327bd0[_0x2601af(0x1bf)])??0x0});}[_0x327967(0x311)](_0x3baa6c,_0x5f0389,_0xfc0a00){const _0x403f02=_0x327967;var _0x80b0eb;let _0x59a3be=Array[_0x403f02(0x1d1)](_0x5f0389['values']()),_0x37caff=(_0x80b0eb=_0x3baa6c[_0xfc0a00])==null?void 0x0:_0x80b0eb[_0x403f02(0x429)];return _0x37caff&&_0x59a3be[_0x403f02(0x460)]((_0x12d3bd,_0x4219b8)=>{const _0x2afe0b=_0x403f02;let _0x737661=_0x12d3bd[_0x2afe0b(0x2c5)][_0x2afe0b(0x3a4)](_0x4219b8[_0x2afe0b(0x2c5)]);return _0x37caff===_0x391c0e[_0x2afe0b(0x2e4)]?-_0x737661:_0x737661;}),_0x59a3be[_0x403f02(0x412)](_0x3b8f25=>({'key':_0x3b8f25[_0x403f02(0x2c5)],'value':_0x3b8f25[_0x403f02(0x1e1)],'path':_0x3b8f25[_0x403f02(0x361)],'label':_0x3b8f25[_0x403f02(0x33b)],'fieldId':_0x3b8f25[_0x403f02(0x173)],'level':_0x3b8f25[_0x403f02(0x478)],'recordIds':_0x3b8f25['recordIds'],'children':this[_0x403f02(0x311)](_0x3baa6c,_0x3b8f25[_0x403f02(0x22d)],_0xfc0a00+0x1)}));}['_title'](_0x558270,_0x25ea25,_0x387164){const _0xcdede5=_0x327967;let _0x4e21c3=_0x387164??_0x558270[_0xcdede5(0x44a)],_0x5af008=_0x25ea25['values'][_0x4e21c3];return _0x5af008==null?'':String(_0x5af008);}['_recordIds'](_0x2bfd00){const _0xeee49e=_0x327967;if(Array[_0xeee49e(0x3fb)](_0x2bfd00))return _0x2bfd00[_0xeee49e(0x412)](String);if(typeof _0x2bfd00==_0xeee49e(0x2a0)&&_0x2bfd00)return[_0x2bfd00];}[_0x327967(0x23c)](_0x16068b){const _0x4d66b8=_0x327967;return this[_0x4d66b8(0x1cc)]['get'](_0x16068b[_0x4d66b8(0x346)])[_0x4d66b8(0x1f1)](_0x16068b);}};si=X([Y(0x0,_0x1345e2(mr))],si);function ci(_0x1e9498){return _0x1e9498==null?'':String(_0x1e9498);}function li(_0x36c605){const _0x51d5c5=_0x327967;return new Map(_0x36c605[_0x51d5c5(0x412)]((_0x14dd7f,_0x12ae95)=>[_0x14dd7f[_0x51d5c5(0x345)],_0x12ae95]));}function ui(_0x36a983){const _0x2a2e9d=_0x327967;return!!(Array[_0x2a2e9d(0x3fb)](_0x36a983[_0x2a2e9d(0x1e2)])&&_0x36a983[_0x2a2e9d(0x257)]&&_0x36a983['rowId']&&_0x36a983[_0x2a2e9d(0x22a)]&&_0x36a983['colId']&&_0x36a983[_0x2a2e9d(0xdd)]);}function di(_0x2325a9){const _0x1f73c1=_0x327967;let _0x14c2e0=(_0x2325a9==null?void 0x0:_0x2325a9[_0x1f73c1(0x39c)][_0x1f73c1(0x1be)](_0x306d11=>!Ii(_0x306d11)))??[];return!_0x2325a9||!_0x14c2e0['length']?null:{'conjunction':_0x2325a9[_0x1f73c1(0x168)],'conditions':_0x14c2e0['map'](_0x5a48a4=>({'fieldId':_0x5a48a4[_0x1f73c1(0x173)],'operator':_0x5a48a4['operator'],'operand':_0x5a48a4[_0x1f73c1(0x2d4)]}))};}function fi(_0x4c96d6,_0x2d2bed){const _0x40e907=_0x327967;return _0x4c96d6[_0x40e907(0x1d7)]===_0x2d2bed[_0x40e907(0x1d7)]&&_0x4c96d6[_0x40e907(0x1e2)]===_0x2d2bed['recordOrder']&&_0x4c96d6[_0x40e907(0x305)]===_0x2d2bed[_0x40e907(0x305)]&&_0x4c96d6['fieldOrder']===_0x2d2bed[_0x40e907(0x1f8)]&&_0x4c96d6[_0x40e907(0xdd)]===_0x2d2bed['cellData']&&_0x4c96d6[_0x40e907(0x257)]===_0x2d2bed[_0x40e907(0x257)]&&_0x4c96d6[_0x40e907(0x2a7)]===_0x2d2bed[_0x40e907(0x2a7)]&&_0x4c96d6[_0x40e907(0x22a)]===_0x2d2bed[_0x40e907(0x22a)]&&_0x4c96d6[_0x40e907(0x2ba)]===_0x2d2bed['colId'];}function pi(_0x5540a9){const _0x411cb1=_0x327967;return _0x5540a9!=null&&_0x5540a9[_0x411cb1(0x1bf)]?_0x5540a9[_0x411cb1(0x412)](_0x46b4f9=>({'fieldId':_0x46b4f9['fieldId'],'direction':_0x46b4f9[_0x411cb1(0x429)]})):null;}function mi(_0x349060){const _0x59f7de=_0x327967;if(typeof _0x349060!=_0x59f7de(0x3d8)||!_0x349060)return JSON['stringify'](_0x349060)??_0x59f7de(0x367);if(Array[_0x59f7de(0x3fb)](_0x349060))return'['+_0x349060[_0x59f7de(0x412)](mi)[_0x59f7de(0x3a1)](',')+']';let _0x27fd64=_0x349060;return'{'+Object['keys'](_0x27fd64)[_0x59f7de(0x460)]()['map'](_0x50a19d=>JSON[_0x59f7de(0xf8)](_0x50a19d)+':'+mi(_0x27fd64[_0x50a19d]))[_0x59f7de(0x3a1)](',')+'}';}function hi(_0x4758e0){const _0x723c6a=_0x327967;let _0x47fcc8=Object['values'](_0x4758e0)[_0x723c6a(0x460)]((_0x3046fb,_0x45579d)=>_0x3046fb[_0x723c6a(0x44c)][_0x723c6a(0x3a4)](_0x45579d['orderKey'])),_0x23561d=[];for(let _0x2d1dcd of _0x47fcc8)_0x23561d[_0x723c6a(0x161)](_0x2d1dcd['id']);return _0x23561d;}function gi(_0x361f08){const _0x2b4565=_0x327967;return{'weekdays':Array['isArray'](_0x361f08==null?void 0x0:_0x361f08['weekdays'])&&_0x361f08['weekdays'][_0x2b4565(0x1bf)]?[...new Set(_0x361f08[_0x2b4565(0x159)][_0x2b4565(0x1be)](_0x137e4f=>Number[_0x2b4565(0xe9)](_0x137e4f)&&_0x137e4f>=0x1&&_0x137e4f<=0x7))]:[0x1,0x2,0x3,0x4,0x5],'exceptions':Array[_0x2b4565(0x3fb)](_0x361f08==null?void 0x0:_0x361f08[_0x2b4565(0x214)])?_0x361f08[_0x2b4565(0x214)]['flatMap'](_0x47c715=>!_0x47c715||!Number[_0x2b4565(0x138)](_0x47c715[_0x2b4565(0x17a)])?[]:[{'id':String(_0x47c715['id']||_0x2b4565(0xed)+_0x47c715['date']),'date':Z(Number(_0x47c715[_0x2b4565(0x17a)])),'name':String(_0x47c715[_0x2b4565(0x158)]||_0x2b4565(0x276)),'type':_0x47c715[_0x2b4565(0x346)]===_0x2b4565(0x100)?_0x2b4565(0x100):'off'}]):[]};}function _i(_0x21b38d,_0xa5327a,_0x5cffab,_0x3a5ce4){let _0x322773=xi(_0x21b38d,_0xa5327a),_0x2b76a1=Si(_0x21b38d,_0x5cffab),_0x2ed179=vi(_0x21b38d,_0x322773,_0x2b76a1,_0x3a5ce4);return{'scale':_0x21b38d,'start':_0x322773,'end':_0x2b76a1,'unitWidth':bi(_0x21b38d),'majorHeaders':yi(_0x21b38d,_0x322773,_0x2b76a1),'columns':_0x2ed179};}function vi(_0x48be1a,_0x55211b,_0x33495f,_0x2f8dca){const _0x3126b4=_0x327967;let _0x305a4e=[],_0x887f5d=_0x55211b;for(;_0x887f5d<_0x33495f;){let _0x2c0669=_0x48be1a===_0x3126b4(0x324)?ji(_0x887f5d,0x7):_0x48be1a===_0x3126b4(0x102)?Mi(_0x887f5d,0x1):ji(_0x887f5d,0x1);_0x305a4e['push']({'id':_0x48be1a+'-'+_0x887f5d,'label':Ci(_0x48be1a,_0x887f5d,_0x2c0669),'majorLabel':wi(_0x48be1a,_0x887f5d),'start':_0x887f5d,'end':_0x2c0669,'nonWorking':Ei(_0x887f5d,_0x2c0669,_0x2f8dca)}),_0x887f5d=_0x2c0669;}return _0x305a4e;}function yi(_0x150f22,_0xaa5e04,_0x439f12){const _0x3dbfc0=_0x327967;let _0xbbee4f=[],_0x52110b=_0x150f22==='year'?Ai(_0xaa5e04):ki(_0xaa5e04);for(;_0x52110b<_0x439f12;){let _0xa4169d=_0x150f22===_0x3dbfc0(0x102)?Ni(_0x52110b,0x1):Mi(_0x52110b,0x1);_0xbbee4f['push']({'id':_0x3dbfc0(0x1a7)+_0x52110b,'label':_0x150f22===_0x3dbfc0(0x102)?String(new Date(_0x52110b)[_0x3dbfc0(0x45d)]()):Pi(_0x52110b),'start':_0x52110b,'end':_0xa4169d}),_0x52110b=_0xa4169d;}return _0xbbee4f;}function bi(_0x172989){const _0x213b2c=_0x327967;switch(_0x172989){case _0x213b2c(0x39a):return 0xac;case _0x213b2c(0x324):return 0xac;case _0x213b2c(0x102):return 0x88;default:return 0x56;}}function xi(_0xca94f0,_0x5e42cc){return _0xca94f0==='year'?Ai(_0x5e42cc):_0xca94f0==='quarter'?Oi(_0x5e42cc):Z(_0x5e42cc);}function Si(_0x401b21,_0x5628f0){const _0x20ecf7=_0x327967;return _0x401b21===_0x20ecf7(0x102)?Ni(Ai(_0x5628f0),0x1):_0x401b21==='quarter'?ji(Oi(_0x5628f0),0x7):ji(Z(_0x5628f0),0x1);}function Ci(_0x3d0dff,_0x515f18,_0x6c3e39){const _0x4ccf75=_0x327967;let _0xff34b2=new Date(_0x515f18);return _0x3d0dff===_0x4ccf75(0x324)?_0xff34b2[_0x4ccf75(0x279)]()+'-'+new Date(_0x6c3e39-oi)[_0x4ccf75(0x279)]():_0x3d0dff===_0x4ccf75(0x102)?_0xff34b2[_0x4ccf75(0x369)](_0x4ccf75(0x29d),{'month':_0x4ccf75(0x20e),'timeZone':_0x4ccf75(0x3be)}):String(_0xff34b2['getUTCDate']());}function wi(_0x168948,_0x54a466){const _0x35a977=_0x327967;return _0x168948===_0x35a977(0x102)?String(new Date(_0x54a466)[_0x35a977(0x45d)]()):Pi(_0x54a466);}function Ti(_0x1805c1,_0x1aec59,_0x155137){let _0x74e5aa=gi(_0x155137),_0x590640=0x0;for(let _0x405a90=Z(_0x1805c1);_0x405a90<=Z(_0x1aec59);_0x405a90=ji(_0x405a90,0x1))Di(_0x405a90,_0x74e5aa)||_0x590640++;return _0x590640;}function Ei(_0x34aac9,_0x2ec525,_0x107253){if(!_0x107253)return!0x1;let _0x14dd67=gi(_0x107253);for(let _0x1e13b6=Z(_0x34aac9);_0x1e13b6<_0x2ec525;_0x1e13b6=ji(_0x1e13b6,0x1))if(!Di(_0x1e13b6,_0x14dd67))return!0x1;return!0x0;}function Di(_0x10ef4b,_0x272b4d){const _0x2597bc=_0x327967;let _0x377d57=Z(_0x10ef4b),_0x10e2bb=_0x272b4d[_0x2597bc(0x214)]['find'](_0x30b8d1=>Z(_0x30b8d1[_0x2597bc(0x17a)])===_0x377d57);if(_0x10e2bb)return _0x10e2bb[_0x2597bc(0x346)]===_0x2597bc(0x2f8);let _0x249be3=new Date(_0x377d57)[_0x2597bc(0x1ce)](),_0x12410=_0x249be3===0x0?0x7:_0x249be3;return!_0x272b4d[_0x2597bc(0x159)][_0x2597bc(0x45c)](_0x12410);}function Z(_0x3a9820){const _0x1152e7=_0x327967;let _0x4f823c=new Date(_0x3a9820);return Date[_0x1152e7(0x3be)](_0x4f823c['getUTCFullYear'](),_0x4f823c[_0x1152e7(0x4a6)](),_0x4f823c[_0x1152e7(0x279)]());}function Oi(_0x576e37){let _0x21b1d1=Z(_0x576e37),_0x32b78c=new Date(_0x21b1d1)['getUTCDay']();return ji(_0x21b1d1,-(_0x32b78c===0x0?0x6:_0x32b78c-0x1));}function ki(_0x1f2dae){const _0x21cb3d=_0x327967;let _0x14c406=new Date(_0x1f2dae);return Date[_0x21cb3d(0x3be)](_0x14c406[_0x21cb3d(0x45d)](),_0x14c406[_0x21cb3d(0x4a6)](),0x1);}function Ai(_0x238f15){const _0x1febec=_0x327967;let _0x25bfe8=new Date(_0x238f15);return Date[_0x1febec(0x3be)](_0x25bfe8[_0x1febec(0x45d)](),0x0,0x1);}function ji(_0x4d5bc3,_0x5a03a9){return _0x4d5bc3+_0x5a03a9*oi;}function Mi(_0x4f4a43,_0x39c257){const _0x2e8ae6=_0x327967;let _0x1650a8=new Date(_0x4f4a43);return Date[_0x2e8ae6(0x3be)](_0x1650a8[_0x2e8ae6(0x45d)](),_0x1650a8['getUTCMonth']()+_0x39c257,0x1);}function Ni(_0xe90477,_0x25ae7d){const _0x56911b=_0x327967;let _0x1c9951=new Date(_0xe90477);return Date['UTC'](_0x1c9951[_0x56911b(0x45d)]()+_0x25ae7d,0x0,0x1);}function Pi(_0xf81423){const _0x2ced52=_0x327967;let _0x5afe3c=new Date(_0xf81423);return _0x5afe3c[_0x2ced52(0x369)]('en-US',{'month':_0x2ced52(0x20e),'timeZone':'UTC'})+'\x20'+_0x5afe3c[_0x2ced52(0x45d)]();}function Fi(_0x590af4,_0x4290fb){const _0x4c4cf3=_0x327967;if(_0x590af4==null&&_0x4290fb==null)return 0x0;if(_0x590af4==null)return-0x1;if(_0x4290fb==null)return 0x1;if(typeof _0x590af4=='boolean'||typeof _0x4290fb==_0x4c4cf3(0x224))return Number(_0x590af4===!0x0)-Number(_0x4290fb===!0x0);let _0x20bed0=Number(_0x590af4),_0x40d5cd=Number(_0x4290fb),_0x5f292c=Number[_0x4c4cf3(0x138)](_0x20bed0),_0x4c36c7=Number['isFinite'](_0x40d5cd);return _0x5f292c&&_0x4c36c7?_0x20bed0-_0x40d5cd:_0x5f292c?0x1:_0x4c36c7?-0x1:String(_0x590af4)[_0x4c4cf3(0x3a4)](String(_0x4290fb));}function Ii(_0x4f3f1c){const _0x35d1dc=_0x327967;if(_0x4f3f1c['operator']!=='is'&&_0x4f3f1c[_0x35d1dc(0xfb)]!=='isNot')return!0x1;let _0x2c9587=_0x4f3f1c[_0x35d1dc(0x2d4)];return _0x2c9587==null?!0x0:typeof _0x2c9587==_0x35d1dc(0x2a0)?_0x2c9587[_0x35d1dc(0x140)]()==='':Array[_0x35d1dc(0x3fb)](_0x2c9587)?_0x2c9587[_0x35d1dc(0x1bf)]===0x0:!0x1;}function Li(_0x1f2395,_0x1f2dfb){const _0x140629=_0x327967;var _0x5dc942;let _0x5474df=Array['isArray']((_0x5dc942=_0x1f2395[_0x140629(0x174)])==null?void 0x0:_0x5dc942[_0x140629(0x495)])?_0x1f2395[_0x140629(0x174)][_0x140629(0x495)]:[];for(let _0x466752 of _0x5474df){if(_0x466752==null)continue;if(typeof _0x466752==_0x140629(0x2a0)){if(_0x466752===_0x1f2dfb)return{'id':_0x466752,'name':_0x466752};continue;}let _0x3d0e3e=_0x466752,_0x37d564=String(_0x3d0e3e['id']??_0x3d0e3e[_0x140629(0x158)]??''),_0x20189e=String(_0x3d0e3e['name']??_0x3d0e3e['id']??_0x37d564);if(_0x37d564===_0x1f2dfb||_0x20189e===_0x1f2dfb)return{'id':_0x37d564,'name':_0x20189e,'color':_0x3d0e3e[_0x140629(0x233)]==null?void 0x0:String(_0x3d0e3e[_0x140629(0x233)])};}return null;}let Ri=function(_0x28320a){const _0x49330f=_0x327967;return _0x28320a[_0x49330f(0x185)]=_0x49330f(0x1e3),_0x28320a[_0x49330f(0x49b)]=_0x49330f(0x1f0),_0x28320a;}({});const Q={'id':_0x327967(0x444),'type':_0x281ad9[_0x327967(0x48e)],'handler'(_0x2e3029,_0x1ea6ca){const _0x502e6b=_0x327967;let {unitId:_0x834ba1,op:_0x271469}=_0x1ea6ca,_0x8c6820=_0x2e3029[_0x502e6b(0x318)](_0x3a38b9)[_0x502e6b(0x1d4)](_0x834ba1,_0x49a6be[_0x502e6b(0xf9)]);if(!_0x8c6820)return!0x1;let _0x8d2413=_0x8c6820[_0x502e6b(0x32b)](),_0x362826=new z(),_0x4814cd=_0x362826[_0x502e6b(0x19d)](_0x271469),_0x4445a6=_0x362826[_0x502e6b(0x240)](_0x8d2413,_0x271469);return _0x8c6820[_0x502e6b(0x22b)](_0x4445a6),zi(_0x4445a6,_0x4814cd,_0x2e3029[_0x502e6b(0x318)](ii)),!0x0;}};function zi(_0x58dadf,_0x457071,_0x27f939){const _0x44cca9=_0x327967;let _0x47a0b6=new Set(),_0x233c6e=new Set(),_0x423e56=new Set();for(let _0x1f065a of _0x457071){if(_0x1f065a[_0x44cca9(0x3bf)]===_0x44cca9(0x333)&&_0x1f065a[_0x44cca9(0x19a)]&&_0x1f065a[_0x44cca9(0x2d0)]){let _0x13e4a1=_0x1f065a['tableId']+'\x00'+_0x1f065a[_0x44cca9(0x2d0)];_0x423e56[_0x44cca9(0x103)](_0x13e4a1)||(_0x423e56[_0x44cca9(0x12e)](_0x13e4a1),_0x27f939[_0x44cca9(0x203)](_0x1f065a[_0x44cca9(0x19a)],_0x1f065a[_0x44cca9(0x2d0)]));continue;}if(_0x1f065a[_0x44cca9(0x3bf)]==='field'&&_0x1f065a[_0x44cca9(0x19a)]&&_0x1f065a['fieldId']){let _0x6e0100=_0x1f065a[_0x44cca9(0x19a)]+'\x00'+_0x1f065a['fieldId'];_0x233c6e[_0x44cca9(0x103)](_0x6e0100)||(_0x233c6e['add'](_0x6e0100),_0x27f939['invalidateByField'](_0x1f065a[_0x44cca9(0x19a)],_0x1f065a[_0x44cca9(0x173)]));continue;}if(_0x1f065a[_0x44cca9(0x3bf)]!==_0x44cca9(0x228)){_0x27f939[_0x44cca9(0x1b8)]();return;}let _0x31683c=Bi(_0x58dadf,_0x1f065a);if(!_0x31683c){_0x27f939[_0x44cca9(0x1b8)]();return;}let _0x4d3d0b=_0x31683c['tableId']+'\x00'+_0x31683c[_0x44cca9(0x345)]+'\x00'+_0x31683c['fieldId'];_0x47a0b6['has'](_0x4d3d0b)||(_0x47a0b6['add'](_0x4d3d0b),_0x27f939[_0x44cca9(0x3b0)](_0x31683c['tableId'],_0x31683c[_0x44cca9(0x345)],_0x31683c[_0x44cca9(0x173)]));}}function Bi(_0x3e1c2a,_0x35cda0){const _0x3e8f68=_0x327967;var _0x2727f3,_0x21189b;if(!_0x35cda0[_0x3e8f68(0x19a)])return null;if(_0x35cda0['recordId']&&_0x35cda0[_0x3e8f68(0x173)])return{'tableId':_0x35cda0['tableId'],'recordId':_0x35cda0[_0x3e8f68(0x345)],'fieldId':_0x35cda0[_0x3e8f68(0x173)]};if(_0x35cda0[_0x3e8f68(0x124)]==null||_0x35cda0[_0x3e8f68(0x115)]==null)return null;let _0x58e525=_0x3e1c2a[_0x3e8f68(0x486)][_0x35cda0['tableId']],_0x2b592c=_0x58e525==null||(_0x2727f3=_0x58e525[_0x3e8f68(0x2a7)])==null?void 0x0:_0x2727f3[_0x35cda0[_0x3e8f68(0x124)]],_0xb8e05b=_0x58e525==null||(_0x21189b=_0x58e525[_0x3e8f68(0x2ba)])==null?void 0x0:_0x21189b[_0x35cda0['column']];return!_0x2b592c||!_0xb8e05b?null:{'tableId':_0x35cda0[_0x3e8f68(0x19a)],'recordId':_0x2b592c,'fieldId':_0xb8e05b};}const Vi=_0x23a4c4[_0x327967(0x17f)](String[_0x327967(0x1c8)]`(?:^|\W)\$?[A-Z]{1,3}\$?\d+(?::\$?[A-Z]{1,3}\$?\d+)?(?:$|\W)`),Hi=_0x23a4c4['createRegExpFromSafeFragment'](String[_0x327967(0x1c8)]`(?:'\[[^\]]+\](?:[^']|'')+'|\[[^\]]+\][^\s'!]+)!\$?[A-Z]{1,3}\$?\d+(?::\$?[A-Z]{1,3}\$?\d+)?`,'gi'),Ui=/\{([^}]+)\}/g,Wi=_0x23a4c4[_0x327967(0x17f)](String[_0x327967(0x1c8)]`\b([A-Z_][\w.]*)\[\[\s*#(This Row|Data)\s*\],\s*\[([^\]]+)\]\]`,'gi'),Gi=_0x23a4c4[_0x327967(0x17f)](String['raw']`\b([A-Z_][\w.]*)\[@\[([^\]]+)\]\]`,'gi'),Ki=_0x23a4c4[_0x327967(0x17f)](String[_0x327967(0x1c8)]`\b([A-Z_][\w.]*)\[([^\[\]#]+)\]`,'gi'),qi=_0x23a4c4[_0x327967(0x17f)](String[_0x327967(0x1c8)]`(^|[^\w\[])\[\[\s*#(This Row|Data)\s*\],\s*\[([^\]]+)\]\]`,'gi'),Ji=_0x23a4c4['createRegExpFromSafeFragment'](String['raw']`(^|[^\w\[])\[@\[([^\]]+)\]\](?!\])`,'g'),Yi=_0x23a4c4['createRegExpFromSafeFragment'](String[_0x327967(0x1c8)]`(^|[^\w\[])\[@?([^\[\]#]+)\](?!\])`,'g');var Xi=class{[_0x327967(0x3c8)](_0x19d377,_0x3004d7=_0x19d377['id']){const _0x46c878=_0x327967;var _0xf477cf;let _0x14bdb1=((_0xf477cf=_0x19d377[_0x46c878(0x1e2)])==null?void 0x0:_0xf477cf['length'])??Object[_0x46c878(0x259)](_0x19d377[_0x46c878(0x1d7)])[_0x46c878(0x1bf)];return{'sheetId':_0x3004d7,'titleMap':new Map(_0x19d377[_0x46c878(0x1f8)]['map']((_0x31e81d,_0x3c3fdc)=>{const _0x204d1e=_0x46c878;var _0x14a0ac;return[((_0x14a0ac=_0x19d377['fields'][_0x31e81d])==null?void 0x0:_0x14a0ac[_0x204d1e(0x158)])??_0x31e81d,_0x3c3fdc];})),'range':{'startRow':0x0,'endRow':Math[_0x46c878(0x31a)](0x0,_0x14bdb1-0x1),'startColumn':0x0,'endColumn':Math[_0x46c878(0x31a)](0x0,_0x19d377['fieldOrder'][_0x46c878(0x1bf)]-0x1)},'showHeader':!0x1};}[_0x327967(0x2f6)](_0x1ef916,_0x436091){const _0x575823=_0x327967;let _0x5395a4=[],_0x4b431e=_0x436091?new Set(_0x436091):null,_0xd863e9=_0xbad9f1(_0x1ef916);return Object[_0x575823(0x259)](_0x1ef916[_0x575823(0x486)])['filter'](_0x1523fe=>!_0x4b431e||_0x4b431e[_0x575823(0x103)](_0x1523fe['id']))[_0x575823(0x29b)](_0x1cbb7c=>{const _0x576111=_0x575823;let _0x3f1bd3=this['createSuperTableReference'](_0x1cbb7c,_0x1cbb7c['id']);_0x5395a4[_0x576111(0x161)]({'tableId':_0x1cbb7c['id'],'tableName':_0xd863e9[_0x576111(0x318)](_0x1cbb7c['id']),'reference':_0x3f1bd3});}),_0x5395a4;}['validateFormula'](_0x57c841,_0x34d39a,_0x48d4f3={}){const _0x1e8c32=_0x327967;let _0x3614cf=_0x57c841[_0x1e8c32(0x140)]();if(!_0x3614cf)return{'valid':!0x0};if(na(_0x3614cf))return{'valid':!0x1,'reason':_0x1e8c32(0x443)};let _0x1a6002=_0x48d4f3[_0x1e8c32(0x484)]?_0xbad9f1(_0x48d4f3[_0x1e8c32(0x484)]):void 0x0;for(let _0xc1527b of ta(_0x3614cf)){let _0x556142=ua(_0xc1527b,_0x34d39a,_0x48d4f3[_0x1e8c32(0x484)],_0x1a6002);if(!_0x556142[_0x1e8c32(0x496)])return{'valid':!0x1,'reason':'[BaseFormula]:\x20table\x20\x22'+_0xc1527b[_0x1e8c32(0x2a9)]+_0x1e8c32(0x45f)};if(!_0x556142[_0x1e8c32(0x1fe)])return{'valid':!0x1,'reason':_0x1e8c32(0xf0)+_0xc1527b[_0x1e8c32(0x489)]+'\x22\x20does\x20not\x20exist.'};}return{'valid':!0x0};}[_0x327967(0x236)](_0x1de3ae,_0xc5405b,_0x4b8d99={}){const _0x5084c2=_0x327967;let _0x4ea440=new Set();for(let _0xf10feb of this[_0x5084c2(0x2dd)](_0x1de3ae,_0xc5405b,_0x4b8d99))_0xf10feb['tableId']===_0xc5405b['id']&&_0x4ea440[_0x5084c2(0x12e)](_0xf10feb['fieldId']);return Array[_0x5084c2(0x1d1)](_0x4ea440);}['getStructuredDependencies'](_0x2b9dec,_0x2b9bdc,_0x40ca2f={}){const _0x2840e1=_0x327967;let _0x15e538=new Map(),_0x35a0c3=_0x40ca2f['snapshot']?_0xbad9f1(_0x40ca2f[_0x2840e1(0x484)]):void 0x0;for(let _0x4abadc of ta(_0x2b9dec)){let _0x31bf5a=ua(_0x4abadc,_0x2b9bdc,_0x40ca2f[_0x2840e1(0x484)],_0x35a0c3);if(!_0x31bf5a[_0x2840e1(0x496)]||!_0x31bf5a[_0x2840e1(0x1fe)])continue;let _0x512ea7=_0x31bf5a['table']['id']+'\x1f'+_0x31bf5a[_0x2840e1(0x1fe)]['id'];_0x15e538[_0x2840e1(0x3fe)](_0x512ea7,{'tableId':_0x31bf5a['table']['id'],'fieldId':_0x31bf5a[_0x2840e1(0x1fe)]['id']});}return Array[_0x2840e1(0x1d1)](_0x15e538[_0x2840e1(0x259)]());}};function Zi(_0x7df6c1,_0x39b2ba){const _0xf4b64a=_0x327967;var _0x13170a;let _0x3c54f4=[],_0x5283f5=(_0x13170a=_0x39b2ba[_0xf4b64a(0xf5)])==null?void 0x0:_0x13170a[_0x7df6c1['id']];return _0x5283f5&&Object['entries'](_0x5283f5)[_0xf4b64a(0x29b)](([_0x4821cc,_0x6141ec])=>{const _0x5af7ad=_0xf4b64a;let _0x5a51f9=_0x7df6c1[_0x5af7ad(0x486)][_0x4821cc];if(!_0x5a51f9||!_0x6141ec)return;let _0xe7318e=L(_0x5a51f9),_0x96d914=[];new _0x53a4cf(_0x6141ec)[_0x5af7ad(0x34a)]((_0x2e3c73,_0x17698a,_0x52a7bb)=>{const _0x5053e2=_0x5af7ad;let _0x2df88b=Qi(_0xe7318e,_0x2e3c73,_0x17698a,_0x52a7bb);_0x2df88b&&_0x96d914[_0x5053e2(0x161)](_0x2df88b);}),_0x96d914[_0x5af7ad(0x1bf)]&&_0x3c54f4['push']({'unitId':_0x7df6c1['id'],'tableId':_0x4821cc,'patches':_0x96d914});}),_0x3c54f4;}function Qi(_0x427eb6,_0x2b46c6,_0x4a5a9f,_0x2dedd2){const _0x3772fc=_0x327967;var _0xe98c0,_0x532d52,_0x540fcc;let _0x24682a=(_0xe98c0=_0x427eb6['rowId'])==null?void 0x0:_0xe98c0[_0x2b46c6],_0x4d99eb=(_0x532d52=_0x427eb6[_0x3772fc(0x2ba)])==null?void 0x0:_0x532d52[_0x4a5a9f];if(!_0x24682a||!_0x427eb6[_0x3772fc(0x1d7)][_0x24682a]||!_0x4d99eb)return null;let _0x8a0943=_0x427eb6[_0x3772fc(0x305)][_0x4d99eb];if(!_0x8a0943||_0x8a0943[_0x3772fc(0x346)]!==_0x3772fc(0x377))return null;let _0x465ec1=String(((_0x540fcc=_0x8a0943[_0x3772fc(0x174)])==null?void 0x0:_0x540fcc[_0x3772fc(0x377)])??'')[_0x3772fc(0x140)](),_0x40d288=(_0x2dedd2==null?void 0x0:_0x2dedd2['v'])??null,_0x3c7dcc={'v':_0x40d288,'t':ea(_0x40d288),..._0x2b46c6===0x0&&_0x465ec1?{'f':_0x465ec1}:{},'si':_0x8a0943['id']};return $i(vt(_0x427eb6,_0x24682a,_0x4d99eb),_0x3c7dcc)?null:{'row':_0x2b46c6,'col':_0x4a5a9f,'value':_0x3c7dcc};}function $i(_0x1d1863,_0x3f0426){return _0x1d1863!=null&&Object['is'](_0x1d1863['v']??null,_0x3f0426['v']??null)&&_0x1d1863['t']===_0x3f0426['t']&&_0x1d1863['f']===_0x3f0426['f']&&_0x1d1863['si']===_0x3f0426['si'];}function ea(_0x18f631){const _0xbab220=_0x327967;return typeof _0x18f631==_0xbab220(0x218)?_0x556bff[_0xbab220(0x39f)]:typeof _0x18f631==_0xbab220(0x224)?_0x556bff[_0xbab220(0x125)]:typeof _0x18f631=='string'?_0x556bff['STRING']:null;}function ta(_0x29166c){const _0xbae715=_0x327967;let _0x35ec2a=ia(_0x29166c,()=>''),_0x33c561=new Map(),_0x2aee04=_0x3d2c71=>{const _0x548d73=_0x11ae;_0x33c561[_0x548d73(0x3fe)]((_0x3d2c71[_0x548d73(0x2a9)]??'')+'\x1f'+_0x3d2c71[_0x548d73(0x489)],_0x3d2c71);};for(let _0x1e2278 of _0x35ec2a[_0xbae715(0x28d)](Ui))_0x2aee04({'fieldName':_0x1e2278[0x1],'scope':_0xbae715(0x38a)});_0x35ec2a=_0x35ec2a[_0xbae715(0x42d)](Wi,(_0x41657c,_0x1d5b51,_0x18ed51,_0x193964)=>(_0x2aee04({'tableName':_0x1d5b51,'fieldName':_0x193964,'scope':_0x18ed51['toLowerCase']()===_0xbae715(0x35f)?_0xbae715(0x35f):_0xbae715(0x38a)}),'\x20')),_0x35ec2a=_0x35ec2a[_0xbae715(0x42d)](Gi,(_0x21e1cb,_0x5f4995,_0x1a2288)=>(_0x2aee04({'tableName':_0x5f4995,'fieldName':_0x1a2288,'scope':_0xbae715(0x38a)}),'\x20')),_0x35ec2a=_0x35ec2a[_0xbae715(0x42d)](qi,(_0x4fd06d,_0x525fd4,_0x2d6aa4,_0x6949da)=>(_0x2aee04({'fieldName':_0x6949da,'scope':_0x2d6aa4[_0xbae715(0x3af)]()===_0xbae715(0x35f)?'data':_0xbae715(0x38a)}),_0x525fd4+'\x20')),_0x35ec2a=_0x35ec2a[_0xbae715(0x42d)](Ji,(_0x123b3b,_0xc7d889,_0x133283)=>(_0x2aee04({'fieldName':_0x133283,'scope':_0xbae715(0x38a)}),_0xc7d889+'\x20'));for(let _0x4f69a7 of _0x35ec2a[_0xbae715(0x28d)](Ki))_0x2aee04({'tableName':_0x4f69a7[0x1],'fieldName':_0x4f69a7[0x2]});for(let _0x285289 of _0x35ec2a[_0xbae715(0x28d)](Yi))_0x2aee04({'fieldName':_0x285289[0x2],'scope':'this-row'});return Array[_0xbae715(0x1d1)](_0x33c561['values']());}function na(_0x8da672){const _0x5b7908=_0x327967;let _0x45d44b=ia(_0x8da672,()=>'\x20')[_0x5b7908(0x42d)](Ui,'\x20')[_0x5b7908(0x42d)](Wi,'\x20')[_0x5b7908(0x42d)](Gi,'\x20')[_0x5b7908(0x42d)](qi,'$1\x20')['replace'](Ji,_0x5b7908(0x33d))[_0x5b7908(0x42d)](Ki,'\x20')['replace'](Yi,_0x5b7908(0x33d));return Vi[_0x5b7908(0x3e2)](_0x45d44b);}function ra(_0x3be881,_0x4b7225){return ca(oa(_0x3be881,_0x4b7225),_0x4b7225);}function ia(_0x5bfbe3,_0x4bcfc8){return aa(ra(_0x5bfbe3,_0x4bcfc8),_0x4bcfc8);}function aa(_0x324d35,_0x1931e6){const _0x4f7966=_0x327967;return _0x324d35[_0x4f7966(0x42d)](/"(?:""|[^"])*"/g,_0x1931e6);}function oa(_0x5d75fe,_0x30f796){const _0x385c7e=_0x327967;return Hi[_0x385c7e(0x167)]=0x0,_0x5d75fe['replace'](Hi,(_0x17b19f,_0x481c6e)=>la(_0x5d75fe,_0x481c6e)?_0x17b19f:_0x30f796(_0x17b19f));}const sa=/(?:'((?:[^']|'')+)'|\[[^\]]+\]|[A-Za-z0-9_.-]+)![^\s!\[\]]+\[/g;function ca(_0x3a8851,_0x3bce90){const _0xe07bac=_0x327967;let _0x3fa2e4=[];for(sa['lastIndex']=0x0;;){let _0x5dc34c=sa[_0xe07bac(0x1ab)](_0x3a8851);if(_0x5dc34c==null)break;if(la(_0x3a8851,_0x5dc34c[_0xe07bac(0x1b6)]))continue;let _0x5b43a5=sa[_0xe07bac(0x167)]-0x1,_0x3c2cfa=0x0;for(let _0x4daefb=_0x5b43a5;_0x4daefb<_0x3a8851['length'];_0x4daefb++)if(_0x3a8851[_0x4daefb]==='['&&_0x3c2cfa++,_0x3a8851[_0x4daefb]===']'&&(_0x3c2cfa--,_0x3c2cfa===0x0)){_0x3fa2e4[_0xe07bac(0x161)]({'start':_0x5dc34c['index'],'end':_0x4daefb+0x1}),sa[_0xe07bac(0x167)]=_0x4daefb+0x1;break;}}if(_0x3fa2e4[_0xe07bac(0x1bf)]===0x0)return _0x3a8851;let _0x4c5780='',_0x546588=0x0;for(let _0x39520a of _0x3fa2e4)_0x4c5780+=_0x3a8851[_0xe07bac(0x348)](_0x546588,_0x39520a[_0xe07bac(0x47f)]),_0x4c5780+=_0x3bce90(_0x3a8851[_0xe07bac(0x348)](_0x39520a['start'],_0x39520a[_0xe07bac(0x3c3)])),_0x546588=_0x39520a['end'];return _0x4c5780+_0x3a8851[_0xe07bac(0x348)](_0x546588);}function la(_0x32bc26,_0x489e9a){let _0x490b9c=!0x1;for(let _0x31293d=0x0;_0x31293d<_0x489e9a;_0x31293d++)if(_0x32bc26[_0x31293d]==='\x22'){if(_0x490b9c&&_0x32bc26[_0x31293d+0x1]==='\x22'){_0x31293d++;continue;}_0x490b9c=!_0x490b9c;}return _0x490b9c;}function ua(_0x458ea8,_0x524243,_0x1980e6,_0x5c7033){const _0x523eab=_0x327967;let _0x2cca82=da(_0x458ea8[_0x523eab(0x2a9)],_0x524243,_0x1980e6,_0x5c7033);return{'table':_0x2cca82,'field':_0x2cca82?Object[_0x523eab(0x259)](_0x2cca82[_0x523eab(0x305)])['find'](_0x45e5d5=>_0x45e5d5['name']===_0x458ea8[_0x523eab(0x489)]):void 0x0};}function da(_0x186bf3,_0x107265,_0x59a540,_0x1fd4e1){const _0x49a255=_0x327967;if(!_0x186bf3)return _0x107265;if(!_0x59a540){var _0x46bd17;let _0x462914=_0x186bf3[_0x49a255(0x3af)]();return _0x462914===_0x107265['id'][_0x49a255(0x3af)]()||_0x462914===_0x107265[_0x49a255(0x158)]['toLowerCase']()||_0x462914===((_0x46bd17=_0x107265[_0x49a255(0x3a8)])==null?void 0x0:_0x46bd17['toLowerCase']())?_0x107265:void 0x0;}let _0x507dfc=_0x186bf3[_0x49a255(0x3af)](),_0x1e129e=_0x1fd4e1??_0xbad9f1(_0x59a540),_0x258f00=Object[_0x49a255(0x259)](_0x59a540[_0x49a255(0x486)])[_0x49a255(0x1be)](_0x5326a7=>{const _0xa4bbc1=_0x49a255;var _0x1704b8;return _0x5326a7['id'][_0xa4bbc1(0x3af)]()===_0x507dfc||_0x5326a7['name'][_0xa4bbc1(0x3af)]()===_0x507dfc||((_0x1704b8=_0x1e129e[_0xa4bbc1(0x318)](_0x5326a7['id']))==null?void 0x0:_0x1704b8[_0xa4bbc1(0x3af)]())===_0x507dfc||fa(_0x5326a7['id'])[_0xa4bbc1(0x3af)]()===_0x507dfc;});return _0x258f00[_0x49a255(0x1bf)]===0x1?_0x258f00[0x0]:void 0x0;}function fa(_0x158831){const _0x4a307d=_0x327967;return'_T_'+Array[_0x4a307d(0x1d1)](_0x158831,_0x29e4b3=>{const _0x487def=_0x4a307d;var _0x1fca56;return/[A-Za-z0-9]/[_0x487def(0x3e2)](_0x29e4b3)?_0x29e4b3:'_x'+(((_0x1fca56=_0x29e4b3[_0x487def(0x23f)](0x0))==null?void 0x0:_0x1fca56[_0x487def(0x360)](0x10))??'0')+'_';})[_0x4a307d(0x3a1)]('');}const pa=new Xi();function ma(_0x5bcb26,_0x306484,_0x19314c){const _0x284e57=_0x327967;var _0x32a49b;if(_0x19314c[_0x284e57(0x346)]!==_0x1013ad[_0x284e57(0x3d9)])return!0x0;let _0xa14f8=String(((_0x32a49b=_0x19314c['config'])==null?void 0x0:_0x32a49b[_0x284e57(0x377)])??''),_0x119cc3=_0x5bcb26['getSnapshot']();return pa[_0x284e57(0x1ec)](_0xa14f8,_0x119cc3['tables'][_0x306484],{'snapshot':_0x119cc3})[_0x284e57(0x48b)];}function $(_0x2bba53,_0x259d6d,_0x45e196){const _0x4222c1=_0x327967;let _0x3cde8a=_0x2bba53[_0x4222c1(0x32b)]()['tables'][_0x259d6d];if(!_0x3cde8a)return!0x1;let {viewIds:_0x1808b1,fieldIds:_0x27ee62,recordIds:_0x2d1d10}=_0x45e196||{};if(_0x1808b1){for(let _0x23fdc4 of _0x1808b1)if(!_0x3cde8a[_0x4222c1(0x1eb)][_0x23fdc4])return!0x1;}if(_0x27ee62){for(let _0x3d23cf of _0x27ee62)if(!_0x3cde8a[_0x4222c1(0x305)][_0x3d23cf])return!0x1;}if(_0x2d1d10){for(let _0x10b254 of _0x2d1d10)if(!_0x3cde8a[_0x4222c1(0x1d7)][_0x10b254])return!0x1;}return!0x0;}function ha(_0x7d40aa,_0x45ee44,_0x368601){const _0x29eccd=_0x327967;if(_0x368601['id']===_0x40fc9d||_0x368601['type']===_0x1013ad['RecordId']||_0x4fd5e0(_0x368601[_0x29eccd(0x158)])||!ma(_0x7d40aa,_0x45ee44,_0x368601))return!0x1;let _0x164fc8=_0x7d40aa[_0x29eccd(0x32b)]();if(!Be(_0x164fc8,_0x368601)[_0x29eccd(0x48b)])return!0x1;if(_0x368601[_0x29eccd(0x346)]!==_0x1013ad[_0x29eccd(0x12f)])return!0x0;let _0x3ad3da=N(_0x368601);if(!_0x3ad3da)return!0x1;if(_0x3ad3da[_0x29eccd(0x382)]===void 0x0)return!0x0;if(_0x3ad3da[_0x29eccd(0x382)]!==_0x3e0df7[_0x29eccd(0x4a4)]||_0x3ad3da[_0x29eccd(0x16b)]!==_0x45ee44||_0x3ad3da[_0x29eccd(0x3eb)]!==!0x1)return!0x1;let _0x45a205=_0x164fc8[_0x29eccd(0x486)][_0x45ee44];return!Object['values'](_0x45a205['fields'])[_0x29eccd(0x35d)](_0x1e02cb=>{const _0x909003=_0x29eccd;var _0x4d93ac;return _0x1e02cb['id']!==_0x368601['id']&&_0x1e02cb[_0x909003(0x346)]===_0x1013ad[_0x909003(0x12f)]&&((_0x4d93ac=N(_0x1e02cb))==null?void 0x0:_0x4d93ac[_0x909003(0x382)])===_0x3e0df7['Parent'];});}function ga(_0x49bb7e,_0x5ca57a,_0x43433b,_0x18b87c){const _0x48174e=_0x327967;var _0x3c3834;let _0x211241=_0x49bb7e[_0x48174e(0x32b)](),_0xe2ad31=(_0x3c3834=_0x211241[_0x48174e(0x486)][_0x5ca57a])==null?void 0x0:_0x3c3834[_0x48174e(0x305)][_0x43433b];return!_0xe2ad31||_0xe2ad31['id']===_0x40fc9d||_0xe2ad31[_0x48174e(0x346)]===_0x1013ad[_0x48174e(0x212)]?!0x1:_0xe2ad31[_0x48174e(0x346)]!==_0x1013ad['RecordLink']||Ve(_0x211241,_0xe2ad31,ya(_0x18b87c))[_0x48174e(0x48b)];}function _a(_0x10d8af,_0x525ca0,_0x329ffd){const _0x52c015=_0x327967;let _0x25607d=_0x10d8af[_0x52c015(0x32b)]()[_0x52c015(0x486)][_0x525ca0];return!_0x25607d||!_0x522a38(_0x329ffd['id'])||_0x25607d[_0x52c015(0x1d7)][_0x329ffd['id']]||Object[_0x52c015(0x331)][_0x52c015(0x150)][_0x52c015(0x171)](_0x329ffd[_0x52c015(0x259)],_0x40fc9d)&&_0x329ffd[_0x52c015(0x259)][_0x40fc9d]!==_0x329ffd['id']?!0x1:Object[_0x52c015(0x209)](_0x329ffd[_0x52c015(0x259)])[_0x52c015(0x44b)](([_0x209d64,_0x29fb96])=>_0x209d64===_0x40fc9d||ga(_0x10d8af,_0x525ca0,_0x209d64,_0x29fb96));}function va(_0x32f51f){return{..._0x32f51f,'values':{..._0x32f51f['values'],[_0x40fc9d]:_0x32f51f['id']}};}function ya(_0x5eae0b){if(_0x5eae0b&&typeof _0x5eae0b=='object'&&!Array['isArray'](_0x5eae0b)&&'v'in _0x5eae0b){let _0x3983f8=_0x5eae0b['v'];return _0x3983f8===void 0x0?null:_0x3983f8;}return _0x5eae0b;}function ba(_0x496313,_0x476202,_0x519f4c,_0x208fb7){const _0x492f02=_0x327967;let _0x2bb7c9=_0x496313['getSnapshot']()['tables'][_0x476202];if(!_0x2bb7c9)return null;let _0xc71ae0=qe(_0x2bb7c9),_0x58a614=_0xc71ae0??Je(_0x2bb7c9),_0x586f24=_0x519f4c['some'](_0x47926e=>Object[_0x492f02(0x331)][_0x492f02(0x150)][_0x492f02(0x171)](_0x47926e['values'],_0x58a614)),_0x116bdc=_0xc71ae0?_0x2bb7c9[_0x492f02(0x305)][_0xc71ae0]:_0x586f24?Ye(_0x2bb7c9,_0x58a614,_0x208fb7):null,_0x524eda=[];for(let _0x33de56 of _0x519f4c){let _0x1bb899=_0x33de56['values'][_0x58a614],_0x50108a=_0x116bdc!==null&&Object[_0x492f02(0x331)][_0x492f02(0x150)]['call'](_0x33de56[_0x492f02(0x259)],_0x58a614),_0x4c74e9=ya(_0x1bb899),_0x2c9ca2=null;if(_0x50108a){if(typeof _0x4c74e9!=_0x492f02(0x2a0)||!ze(_0x4c74e9,!0x1)[_0x492f02(0x48b)])return null;_0x2c9ca2=_0x4c74e9;}let _0x4cf472={};if(Object[_0x492f02(0x209)](_0x33de56['values'])[_0x492f02(0x29b)](([_0x420613,_0x2ed0f2])=>{(!_0x50108a||_0x420613!==_0x58a614)&&(_0x4cf472[_0x420613]=_0x2ed0f2);}),!_a(_0x496313,_0x476202,{..._0x33de56,'values':_0x4cf472}))return null;let _0x153415={..._0x33de56[_0x492f02(0x259)]};_0x2c9ca2!==null&&(_0x153415[_0x58a614]=_0x2c9ca2),_0x524eda[_0x492f02(0x161)](va({..._0x33de56,'values':_0x153415}));}return{'records':_0x524eda,'hierarchyFieldToMaterialize':_0xc71ae0?null:_0x116bdc,'hierarchyChanges':Qe(_0x2bb7c9,_0x524eda)};}const xa={'id':'base.command.batch-create-base-records','type':_0x281ad9['COMMAND'],'handler'(_0x261721,_0x57c36a){const _0x29d390=_0x327967;if(!_0x57c36a)return!0x1;let _0x374f74=_0x261721[_0x29d390(0x318)](_0x3a38b9),{unitId:_0x9e6035,tableId:_0x569b99,records:_0x45d3d5}=_0x57c36a,_0x555b79=_0x374f74[_0x29d390(0x1d4)](_0x9e6035,_0x49a6be[_0x29d390(0xf9)]),_0x551735=_0x45d3d5['map'](_0x4f5c3d=>_0x4f5c3d['id']);if(!_0x555b79||!$(_0x555b79,_0x569b99)||new Set(_0x551735)[_0x29d390(0x1d0)]!==_0x551735[_0x29d390(0x1bf)])return!0x1;let _0x4814b8=_0x261721[_0x29d390(0x318)](_0x2823d6),_0x144b37=_0x261721[_0x29d390(0x318)](_0x15f92a),_0x339ddb=_0x261721[_0x29d390(0x318)](Kr),_0x355237=_0x555b79[_0x29d390(0x32b)](),_0x509e73=ba(_0x555b79,_0x569b99,_0x45d3d5);if(!_0x509e73)return!0x1;let {records:_0x124019,hierarchyChanges:_0x23c6cb,hierarchyFieldToMaterialize:_0x1595dd}=_0x509e73,_0x488c35=_0x1595dd?_0x339ddb[_0x29d390(0x40b)](_0x555b79,_0x569b99,_0x1595dd,_0x355237['tables'][_0x569b99][_0x29d390(0x1f8)][_0x29d390(0x1bf)]):null,_0x3bcf9d=_0x339ddb[_0x29d390(0x3ad)](_0x555b79,_0x569b99,_0x124019),_0x51c56e=R([..._0x488c35?[_0x488c35]:[],_0x3bcf9d]),_0xfefe2c=new z()[_0x29d390(0x38e)](_0x355237,_0x51c56e),_0x3713f9={'unitId':_0x9e6035,'op':_0x51c56e,'hierarchyChanges':_0x23c6cb[_0x29d390(0x1bf)]?_0x23c6cb:void 0x0,'source':_0x23c6cb[_0x29d390(0x1bf)]?_0x57c36a[_0x29d390(0x300)]??'ui':void 0x0},_0x4b9322={..._0x3713f9,'source':_0x23c6cb[_0x29d390(0x1bf)]?_0x29d390(0x274):void 0x0},_0x5e794f={'unitId':_0x9e6035,'op':_0xfefe2c,'hierarchyChanges':_0x23c6cb[_0x29d390(0x1bf)]?_0x23c6cb[_0x29d390(0x412)](_0x33f259=>({..._0x33f259,'oldParentRecordId':_0x33f259['parentRecordId'],'parentRecordId':null})):void 0x0,'source':_0x23c6cb[_0x29d390(0x1bf)]?_0x29d390(0x175):void 0x0};return _0x4814b8[_0x29d390(0x2f7)](Q['id'],_0x3713f9)?(_0x374f74['focusUnit'](_0x9e6035),_0x144b37[_0x29d390(0x244)]({'unitID':_0x9e6035,'undoMutations':[{'id':Q['id'],'params':_0x5e794f}],'redoMutations':[{'id':Q['id'],'params':_0x4b9322}]}),!0x0):!0x1;}},Sa={'id':_0x327967(0x2e7),'type':_0x281ad9[_0x327967(0x23d)],'handler':(_0x24a928,_0x354aa9)=>{const _0x4e1423=_0x327967;if(!_0x354aa9)return!0x1;let _0x37eafc=_0x24a928[_0x4e1423(0x318)](_0x3a38b9),{unitId:_0x169be2,tableId:_0x3125ab,recordIds:_0x4c8423}=_0x354aa9,_0x3b835b=_0x37eafc[_0x4e1423(0x1d4)](_0x169be2,_0x49a6be[_0x4e1423(0xf9)]);if(!_0x3b835b||!$(_0x3b835b,_0x3125ab,{'recordIds':_0x4c8423}))return!0x1;let _0x157bdd=_0x24a928[_0x4e1423(0x318)](_0x2823d6),_0x24be3f=_0x24a928[_0x4e1423(0x318)](_0x15f92a),_0x24f60c=_0x3b835b[_0x4e1423(0x32b)](),_0xc12c0=et(_0x24f60c[_0x4e1423(0x486)][_0x3125ab],_0x4c8423),_0x350109=new W(),_0x231eaa=new z(),_0x77e3ee=_0x350109[_0x4e1423(0x109)](_0x24f60c,_0x3125ab,_0x4c8423),_0xf15f2f=_0x231eaa['applyOp'](_0x24f60c,_0x77e3ee),_0x58db78=_0x350109[_0x4e1423(0x1ea)](_0x24f60c,_0xf15f2f,_0x3125ab,_0x4c8423),_0x544f1d={'unitId':_0x169be2,'op':_0x77e3ee,'hierarchyChanges':_0xc12c0,'source':_0x354aa9[_0x4e1423(0x300)]??'ui'},_0x225f76={..._0x544f1d,'source':_0x4e1423(0x274)},_0xa57bd5={'unitId':_0x169be2,'op':_0x58db78,'hierarchyChanges':_0xc12c0[_0x4e1423(0x412)](_0x3c2dd7=>({..._0x3c2dd7,'oldParentRecordId':_0x3c2dd7[_0x4e1423(0x3a5)],'parentRecordId':_0x3c2dd7['oldParentRecordId']})),'source':_0x4e1423(0x175)};return _0x157bdd[_0x4e1423(0x2f7)](Q['id'],_0x544f1d)?(_0x37eafc[_0x4e1423(0x354)](_0x169be2),_0x24be3f[_0x4e1423(0x244)]({'unitID':_0x169be2,'undoMutations':[{'id':Q['id'],'params':_0xa57bd5}],'redoMutations':[{'id':Q['id'],'params':_0x225f76}]}),!0x0):!0x1;}},Ca={'id':_0x327967(0x316),'type':_0x281ad9[_0x327967(0x23d)],'handler':(_0x330450,_0x589a91)=>{const _0x13e7f8=_0x327967;if(!_0x589a91)return!0x1;let _0x30f61d=_0x330450[_0x13e7f8(0x318)](_0x3a38b9),{unitId:_0x1bb36b,tableId:_0x1ec612,fieldId:_0x394041,input:_0x17fcad}=_0x589a91,_0x5ac775=_0x30f61d[_0x13e7f8(0x1d4)](_0x1bb36b,_0x49a6be[_0x13e7f8(0xf9)]);if(!_0x5ac775||_0x394041===_0x40fc9d||!$(_0x5ac775,_0x1ec612,{'fieldIds':[_0x394041]}))return!0x1;let _0x61bd99=_0x330450[_0x13e7f8(0x318)](_0x2823d6),_0x4a75ea=_0x330450[_0x13e7f8(0x318)](_0x15f92a),_0x4e9d03=_0x5ac775[_0x13e7f8(0x32b)]();if(!ha(_0x5ac775,_0x1ec612,{..._0x4e9d03[_0x13e7f8(0x486)][_0x1ec612][_0x13e7f8(0x305)][_0x394041],..._0x17fcad}))return!0x1;let _0x15b06a=new W()['changeFieldType'](_0x4e9d03,_0x1ec612,_0x394041,_0x17fcad),_0x262e7a=new z()[_0x13e7f8(0x38e)](_0x4e9d03,_0x15b06a),_0x2c6f2f={'unitId':_0x1bb36b,'op':_0x15b06a},_0x5db925={'unitId':_0x1bb36b,'op':_0x262e7a};return _0x61bd99[_0x13e7f8(0x2f7)](Q['id'],_0x2c6f2f)?(_0x30f61d[_0x13e7f8(0x354)](_0x1bb36b),_0x4a75ea[_0x13e7f8(0x244)]({'unitID':_0x1bb36b,'undoMutations':[{'id':Q['id'],'params':_0x5db925}],'redoMutations':[{'id':Q['id'],'params':_0x2c6f2f}]}),!0x0):!0x1;}},wa={'id':_0x327967(0xde),'type':_0x281ad9['COMMAND'],'handler'(_0x9f8155,_0x33ab0e){const _0x560959=_0x327967;var _0x5f2919;if(!_0x33ab0e)return!0x1;let {unitId:_0x1146e5,tableId:_0x2ce545,parentRecordId:_0x274a50}=_0x33ab0e,_0x2b881d=_0x9f8155[_0x560959(0x318)](_0x3a38b9),_0x342f3c=_0x2b881d[_0x560959(0x1d4)](_0x1146e5,_0x49a6be[_0x560959(0xf9)]);if(!_0x342f3c||!$(_0x342f3c,_0x2ce545,{'recordIds':[_0x274a50]}))throw new P(_0x560959(0x3bd));let _0x22a264=_0x342f3c[_0x560959(0x32b)](),_0x9dc9cb=_0x22a264[_0x560959(0x486)][_0x2ce545],_0x3a8e69=qe(_0x9dc9cb),_0x56e23c=_0x3a8e69??_0x33ab0e[_0x560959(0x173)]??Je(_0x9dc9cb);if(_0x3a8e69&&_0x33ab0e[_0x560959(0x173)]&&_0x33ab0e['fieldId']!==_0x3a8e69||_0x9dc9cb[_0x560959(0x305)][_0x56e23c]&&!F(_0x9dc9cb,_0x56e23c))throw new P(_0x560959(0x421));if((tt(_0x9dc9cb,_0x56e23c)[_0x560959(0x308)][_0x560959(0x318)](_0x274a50)??0x0)+0x1>=0x5)throw new P(_0x560959(0x231));if(!_a(_0x342f3c,_0x2ce545,_0x33ab0e[_0x560959(0x472)]))return!0x1;let _0x3df679=va({..._0x33ab0e[_0x560959(0x472)],'values':{..._0x33ab0e['record']['values'],[_0x56e23c]:Re([_0x274a50])}}),_0x136acc=_0x9f8155[_0x560959(0x318)](Kr),_0x308d7c=new W(),_0x21e527=_0x9dc9cb['fields'][_0x56e23c],_0x3e6439=_0x21e527?((_0x5f2919=N(_0x21e527))==null?void 0x0:_0x5f2919[_0x560959(0x382)])===_0x3e0df7[_0x560959(0x4a4)]?null:_0x308d7c[_0x560959(0x3de)](_0x22a264,_0x2ce545,_0x56e23c,{'config':{..._0x21e527[_0x560959(0x174)],'relationRole':_0x3e0df7[_0x560959(0x4a4)]}}):_0x136acc['createCreateFieldOp'](_0x342f3c,_0x2ce545,Ye(_0x9dc9cb,_0x56e23c,_0x33ab0e[_0x560959(0x3ff)]),_0x9dc9cb['fieldOrder'][_0x560959(0x1bf)]),_0x3599e5=_0x136acc['createCreateRecordOp'](_0x342f3c,_0x2ce545,_0x3df679),_0x590704=R([..._0x3e6439?[_0x3e6439]:[],_0x3599e5]),_0x2d638b=new z()['invertOp'](_0x22a264,_0x590704),_0x514ce7={'tableId':_0x2ce545,'fieldId':_0x56e23c,'recordId':_0x3df679['id'],'oldParentRecordId':null,'parentRecordId':_0x274a50},_0x5a1a90={'unitId':_0x1146e5,'op':_0x590704,'trigger':wa['id'],'hierarchyChanges':[_0x514ce7],'source':_0x33ab0e[_0x560959(0x300)]??'ui'},_0x21d4f7={..._0x5a1a90,'source':'redo'},_0x5a649f={'unitId':_0x1146e5,'op':_0x2d638b,'trigger':wa['id'],'hierarchyChanges':[{..._0x514ce7,'oldParentRecordId':_0x274a50,'parentRecordId':null}],'source':_0x560959(0x175)};return _0x9f8155[_0x560959(0x318)](_0x2823d6)[_0x560959(0x2f7)](Q['id'],_0x5a1a90)?(_0x2b881d[_0x560959(0x354)](_0x1146e5),_0x9f8155['get'](_0x15f92a)[_0x560959(0x244)]({'unitID':_0x1146e5,'undoMutations':[{'id':Q['id'],'params':_0x5a649f}],'redoMutations':[{'id':Q['id'],'params':_0x21d4f7}]}),!0x0):!0x1;}},Ta={'id':_0x327967(0x387),'type':_0x281ad9[_0x327967(0x23d)],'handler'(_0x4b6b93,_0x50378a){const _0x56057c=_0x327967;if(!_0x50378a)return!0x1;let _0x4f39ab=_0x4b6b93[_0x56057c(0x318)](_0x3a38b9),{unitId:_0x2646b7,tableId:_0x21514f,field:_0x39a516,index:_0x2dcd04,viewIndexes:_0x115cbe}=_0x50378a,_0x20604d=_0x4f39ab[_0x56057c(0x1d4)](_0x2646b7,_0x49a6be[_0x56057c(0xf9)]);if(!_0x20604d||!$(_0x20604d,_0x21514f)||_0x20604d[_0x56057c(0x32b)]()[_0x56057c(0x486)][_0x21514f][_0x56057c(0x305)][_0x39a516['id']]||_0x2dcd04===0x0||!ha(_0x20604d,_0x21514f,_0x39a516))return!0x1;let _0x200f4c=_0x4b6b93['get'](_0x2823d6),_0x5e876b=_0x4b6b93['get'](_0x15f92a),_0x18ffa7=_0x4b6b93['get'](Kr)['createCreateFieldOp'](_0x20604d,_0x21514f,_0x39a516,_0x2dcd04,_0x115cbe),_0x15acfe=new z()['invertOp'](_0x20604d['getSnapshot'](),_0x18ffa7),_0x39641e={'unitId':_0x2646b7,'op':_0x18ffa7},_0x7eaf0d={'unitId':_0x2646b7,'op':_0x15acfe};return _0x200f4c[_0x56057c(0x2f7)](Q['id'],_0x39641e)?(_0x4f39ab[_0x56057c(0x354)](_0x2646b7),_0x5e876b['pushUndoRedo']({'unitID':_0x2646b7,'undoMutations':[{'id':Q['id'],'params':_0x7eaf0d}],'redoMutations':[{'id':Q['id'],'params':_0x39641e}]}),!0x0):!0x1;}},Ea={'id':_0x327967(0x2a6),'type':_0x281ad9[_0x327967(0x23d)],'handler'(_0x4210e2,_0x13460a){const _0x2394bf=_0x327967;if(!_0x13460a)return!0x1;let _0x3179dd=_0x4210e2[_0x2394bf(0x318)](_0x3a38b9),{unitId:_0x55c2d7,tableId:_0x4bbfbb,record:_0x58744c}=_0x13460a,_0x5eed90=_0x3179dd[_0x2394bf(0x1d4)](_0x55c2d7,_0x49a6be[_0x2394bf(0xf9)]);if(!_0x5eed90||!$(_0x5eed90,_0x4bbfbb))return!0x1;let _0x556240=_0x4210e2['get'](_0x2823d6),_0x4719a5=_0x4210e2[_0x2394bf(0x318)](_0x15f92a),_0x37e94d=_0x4210e2[_0x2394bf(0x318)](Kr),_0x1c2122=_0x5eed90[_0x2394bf(0x32b)](),_0x27f87b=ba(_0x5eed90,_0x4bbfbb,[_0x58744c]);if(!_0x27f87b)return!0x1;let [_0x117e4e]=_0x27f87b['records'],{hierarchyChanges:_0x6e21ff,hierarchyFieldToMaterialize:_0x4099b5}=_0x27f87b,_0x406ded=_0x4099b5?_0x37e94d['createCreateFieldOp'](_0x5eed90,_0x4bbfbb,_0x4099b5,_0x1c2122[_0x2394bf(0x486)][_0x4bbfbb]['fieldOrder'][_0x2394bf(0x1bf)]):null,_0x11fd47=_0x37e94d[_0x2394bf(0x1fb)](_0x5eed90,_0x4bbfbb,_0x117e4e),_0x301d8b=R([..._0x406ded?[_0x406ded]:[],_0x11fd47]),_0x123759=new z()['invertOp'](_0x1c2122,_0x301d8b),_0x1292e6={'unitId':_0x55c2d7,'op':_0x301d8b,'hierarchyChanges':_0x6e21ff[_0x2394bf(0x1bf)]?_0x6e21ff:void 0x0,'source':_0x6e21ff[_0x2394bf(0x1bf)]?_0x13460a[_0x2394bf(0x300)]??'ui':void 0x0},_0x3845ac={..._0x1292e6,'source':_0x6e21ff[_0x2394bf(0x1bf)]?_0x2394bf(0x274):void 0x0},_0x44c656={'unitId':_0x55c2d7,'op':_0x123759,'hierarchyChanges':_0x6e21ff[_0x2394bf(0x1bf)]?_0x6e21ff[_0x2394bf(0x412)](_0x134d18=>({..._0x134d18,'oldParentRecordId':_0x134d18[_0x2394bf(0x3a5)],'parentRecordId':null})):void 0x0,'source':_0x6e21ff[_0x2394bf(0x1bf)]?_0x2394bf(0x175):void 0x0};return _0x556240['syncExecuteCommand'](Q['id'],_0x1292e6)?(_0x3179dd['focusUnit'](_0x55c2d7),_0x4719a5[_0x2394bf(0x244)]({'unitID':_0x55c2d7,'undoMutations':[{'id':Q['id'],'params':_0x44c656}],'redoMutations':[{'id':Q['id'],'params':_0x3845ac}]}),!0x0):!0x1;}},Da=_0x327967(0x1b4);function Oa(_0x11baa1,_0x47134a,_0x8655e8){const _0x2ad230=_0x327967;if(!_0x47134a['trim']())return{'valid':!0x1,'reason':'Table\x20name\x20is\x20required.','error':_0x2ad230(0x25a)};if(_0x47134a[_0x2ad230(0x1bf)]>0x1f)return{'valid':!0x1,'reason':_0x2ad230(0x46b),'error':_0x2ad230(0x1c7)};if(_0x47134a[_0x2ad230(0x2ad)]('\x27')||_0x47134a['endsWith']('\x27'))return{'valid':!0x1,'reason':_0x2ad230(0x10e),'error':_0x2ad230(0x418)};if(/[:\\/?*\[\]]/[_0x2ad230(0x3e2)](_0x47134a))return{'valid':!0x1,'reason':_0x2ad230(0x2db),'error':_0x2ad230(0x1a2)};if(!_0x4a2760(_0x47134a))return{'valid':!0x1,'reason':_0x2ad230(0x2ce),'error':'invalid'};let _0x45495c=_0x47134a[_0x2ad230(0x3af)]();return Object['values'](_0x11baa1[_0x2ad230(0x486)])[_0x2ad230(0x35d)](_0x21cb05=>_0x21cb05['id']!==_0x8655e8&&_0x21cb05[_0x2ad230(0x158)][_0x2ad230(0x3af)]()===_0x45495c)?{'valid':!0x1,'reason':_0x2ad230(0xf2),'error':'duplicate'}:{'valid':!0x0};}function ka(_0x58de43,_0x41489a){const _0x2bb393=_0x327967;let _0x5c7811=_0x41489a[_0x2bb393(0x42d)](/[:\\/?*\[\]]/g,'\x20')[_0x2bb393(0x42d)](/^'+|'+$/g,'')[_0x2bb393(0x140)]()||_0x2bb393(0x448),_0x74a203=0x1;for(;;){let _0xc57ce2=_0x74a203===0x1?'':'\x20'+_0x74a203,_0x4a2052=''+_0x5c7811[_0x2bb393(0x348)](0x0,0x1f-_0xc57ce2['length'])+_0xc57ce2;if(Oa(_0x58de43,_0x4a2052)[_0x2bb393(0x48b)])return _0x4a2052;_0x74a203++;}}const Aa={'id':_0x327967(0x2d5),'type':_0x281ad9[_0x327967(0x23d)],'handler':(_0x8ba46d,_0x50758a)=>{const _0x7431fa=_0x327967;if(!_0x50758a)return!0x1;let _0x4df2e0=_0x8ba46d[_0x7431fa(0x318)](_0x3a38b9),{unitId:_0x185a0e,table:_0x4b5af7,index:_0x266ea3}=_0x50758a,_0x2e948e=_0x4df2e0['getUnit'](_0x185a0e,_0x49a6be['UNIVER_BASE']);if(!_0x2e948e||_0x2e948e[_0x7431fa(0x32b)]()['tables'][_0x4b5af7['id']]||!Oa(_0x2e948e[_0x7431fa(0x32b)](),_0x4b5af7['name'])[_0x7431fa(0x48b)])return!0x1;try{_0x15f38a(_0x4b5af7);}catch{return!0x1;}let _0x5130a1=_0x8ba46d[_0x7431fa(0x318)](_0x2823d6),_0xff84e2=_0x8ba46d[_0x7431fa(0x318)](_0x15f92a),_0x30290b=_0x2e948e[_0x7431fa(0x32b)](),_0x3aee76=new W()['createTable'](_0x30290b,_0x4b5af7,_0x266ea3),_0x3cc57b=new z()[_0x7431fa(0x38e)](_0x30290b,_0x3aee76),_0x496d23={'unitId':_0x185a0e,'op':_0x3aee76},_0x355f73={'unitId':_0x185a0e,'op':_0x3cc57b};return _0x5130a1[_0x7431fa(0x2f7)](Q['id'],_0x496d23)?(_0x4df2e0[_0x7431fa(0x354)](_0x185a0e),_0xff84e2[_0x7431fa(0x244)]({'unitID':_0x185a0e,'undoMutations':[{'id':Q['id'],'params':_0x355f73}],'redoMutations':[{'id':Q['id'],'params':_0x496d23}]}),!0x0):!0x1;}};function ja(_0x1742fb,_0x2ea346,_0x137a34=[]){const _0x12f37c=_0x327967;let _0x1238f1=new Set([...Object[_0x12f37c(0x259)](_0x1742fb[_0x12f37c(0x305)])[_0x12f37c(0x1be)](_0x3af9ec=>_0x3af9ec)[_0x12f37c(0x412)](_0x48cb58=>_0x48cb58[_0x12f37c(0x158)]),..._0x137a34['map'](_0x511bf0=>_0x511bf0[_0x12f37c(0x158)])]);if(!_0x1238f1[_0x12f37c(0x103)](_0x2ea346))return _0x2ea346;let _0x3456a1=0x2;for(;_0x1238f1[_0x12f37c(0x103)](_0x2ea346+'\x20'+_0x3456a1);)_0x3456a1++;return _0x2ea346+'\x20'+_0x3456a1;}function Ma(_0x4569eb,_0x18e2d0){const _0x3b835d=_0x327967;if(!_0x4569eb||!_0x18e2d0['length'])return;let _0xf9f9b8=[..._0x4569eb];return _0x18e2d0[_0x3b835d(0x29b)](_0x337450=>{const _0x261082=_0x3b835d;_0xf9f9b8[_0x261082(0x45c)](_0x337450)||_0xf9f9b8['push'](_0x337450);}),_0xf9f9b8;}const Na={'options':[{'id':_0x327967(0x343),'name':_0x327967(0x3ac),'color':_0x327967(0x337)},{'id':'doing','name':'Doing','color':_0x327967(0x10d)},{'id':_0x327967(0x3ae),'name':'Done','color':'#BBF7D0'}]},Pa={'locale':_0x327967(0x29d),'pattern':_0x327967(0x20c),'includeTime':!0x1,'hourCycle':'h24','defaultMode':_0x327967(0x2d2)};function Fa(_0x1992c9,_0x24fb54,_0x6e0407,_0x5e1bf2){const _0x4db5bf=_0x327967;var _0x6680f8;let _0x53b1bd=new W(),_0x3e92a1=_0x1992c9[_0x4db5bf(0x486)][_0x24fb54],_0x4c6014=_0x3e92a1?{..._0x6e0407,'fieldOrder':[_0x40fc9d,...(_0x6e0407['fieldOrder']??_0x3e92a1[_0x4db5bf(0x1f8)])[_0x4db5bf(0x1be)](_0x3e32f4=>_0x3e32f4!==_0x40fc9d)],'fieldSettings':{..._0x6e0407[_0x4db5bf(0x105)],[_0x40fc9d]:{...(_0x6680f8=_0x6e0407[_0x4db5bf(0x105)])==null?void 0x0:_0x6680f8[_0x40fc9d],'hidden':!0x0}}}:_0x6e0407;if(_0x3e92a1&&_0x4c6014[_0x4db5bf(0x346)]===_0x4db5bf(0x2c4)){let _0x269dcd=La(_0x3e92a1,_0x4c6014),_0x46ff8f=_0x269dcd[_0x4db5bf(0x2cc)]?{..._0x4c6014,'config':_0x269dcd[_0x4db5bf(0x174)],'fieldOrder':_0x269dcd[_0x4db5bf(0x1f8)]??_0x4c6014[_0x4db5bf(0x1f8)]}:_0x4c6014;return R([..._0x269dcd[_0x4db5bf(0x305)][_0x4db5bf(0x412)](_0x54ce00=>_0x53b1bd['createField'](_0x1992c9,_0x24fb54,{'field':_0x54ce00})),_0x53b1bd[_0x4db5bf(0x3b7)](_0x1992c9,_0x24fb54,_0x46ff8f,_0x5e1bf2)]);}if(!_0x3e92a1||_0x4c6014[_0x4db5bf(0x346)]!==_0x4db5bf(0x32e)&&_0x4c6014[_0x4db5bf(0x346)]!==_0x4db5bf(0x3ca))return _0x53b1bd[_0x4db5bf(0x3b7)](_0x1992c9,_0x24fb54,_0x4c6014,_0x5e1bf2);let _0x30ed9b=Ia(_0x3e92a1,_0x4c6014),_0x5f43b8=_0x30ed9b[_0x4db5bf(0x2cc)]?{..._0x4c6014,'config':_0x30ed9b[_0x4db5bf(0x174)],'fieldOrder':_0x30ed9b['fieldOrder']??_0x4c6014[_0x4db5bf(0x1f8)]}:_0x4c6014;return _0x4c6014[_0x4db5bf(0x346)]===_0x4db5bf(0x3ca)&&Ba(_0x4c6014)&&(_0x5f43b8=Va(_0x3e92a1,_0x5f43b8,_0x30ed9b[_0x4db5bf(0x305)])),R([..._0x30ed9b['fields'][_0x4db5bf(0x412)](_0x444ec4=>_0x53b1bd[_0x4db5bf(0x24c)](_0x1992c9,_0x24fb54,{'field':_0x444ec4})),_0x53b1bd[_0x4db5bf(0x3b7)](_0x1992c9,_0x24fb54,_0x5f43b8,_0x5e1bf2)]);}function Ia(_0x28bdbe,_0x4190fb,_0x49f52b=!0x1){const _0x54e11c=_0x327967;var _0x53c36d,_0x33d96b;let _0x297885=_0x28bdbe[_0x54e11c(0x1f8)][_0x54e11c(0x1be)](_0x449f31=>Ua(_0x28bdbe,_0x449f31)),_0x550259=[],_0x3f61bd={..._0x4190fb[_0x54e11c(0x174)]??{}},_0x456906=typeof _0x3f61bd['startDateFieldId']==_0x54e11c(0x2a0)&&Ua(_0x28bdbe,_0x3f61bd['startDateFieldId'])?_0x3f61bd[_0x54e11c(0x3d2)]:_0x297885[0x0],_0x199299=typeof _0x3f61bd[_0x54e11c(0x406)]==_0x54e11c(0x2a0)&&Ua(_0x28bdbe,_0x3f61bd['endDateFieldId'])&&_0x3f61bd[_0x54e11c(0x406)]!==_0x456906?_0x3f61bd[_0x54e11c(0x406)]:_0x297885['find'](_0x2d5254=>_0x2d5254!==_0x456906);if(!_0x456906){let _0x31a2a5=Wa(_0x28bdbe,_0x550259,_0x4190fb[_0x54e11c(0x346)]==='gantt'?_0x54e11c(0x2f2):_0x54e11c(0x2b2));_0x550259[_0x54e11c(0x161)](_0x31a2a5),_0x456906=_0x31a2a5['id'];}if((_0x4190fb[_0x54e11c(0x346)]===_0x54e11c(0x3ca)||_0x49f52b)&&!_0x199299){let _0x3a8faf=Wa(_0x28bdbe,_0x550259,_0x54e11c(0x15a));_0x550259[_0x54e11c(0x161)](_0x3a8faf),_0x199299=_0x3a8faf['id'];}_0x4190fb[_0x54e11c(0x346)]===_0x54e11c(0x32e)&&!_0x199299&&delete _0x3f61bd[_0x54e11c(0x406)],_0x3f61bd[_0x54e11c(0x3d2)]=_0x456906,_0x4190fb[_0x54e11c(0x346)]===_0x54e11c(0x32e)&&_0x199299&&(_0x3f61bd[_0x54e11c(0x406)]=_0x199299),_0x4190fb[_0x54e11c(0x346)]===_0x54e11c(0x3ca)&&(_0x3f61bd[_0x54e11c(0x406)]=_0x199299??_0x456906);let _0x52baec=Ma(_0x4190fb[_0x54e11c(0x1f8)],_0x550259['map'](_0x4ce2c5=>_0x4ce2c5['id']));return{'changed':_0x550259[_0x54e11c(0x1bf)]>0x0||_0x3f61bd[_0x54e11c(0x3d2)]!==((_0x53c36d=_0x4190fb[_0x54e11c(0x174)])==null?void 0x0:_0x53c36d[_0x54e11c(0x3d2)])||_0x3f61bd[_0x54e11c(0x406)]!==((_0x33d96b=_0x4190fb[_0x54e11c(0x174)])==null?void 0x0:_0x33d96b['endDateFieldId'])||!(!_0x52baec||_0x2ea00f[_0x54e11c(0xe6)](_0x52baec,_0x4190fb[_0x54e11c(0x1f8)]??[])),'fields':_0x550259,'config':_0x3f61bd,'fieldOrder':_0x52baec};}function La(_0x13c918,_0x43b5c5){const _0x5e5f49=_0x327967;var _0x1cb6e2;let _0x3cea5a=[],_0x24f82e={..._0x43b5c5[_0x5e5f49(0x174)]??{}},_0x282a94=typeof _0x24f82e[_0x5e5f49(0x110)]=='string'&&Ra(_0x13c918,_0x24f82e[_0x5e5f49(0x110)])?_0x24f82e[_0x5e5f49(0x110)]:_0x13c918[_0x5e5f49(0x1f8)][_0x5e5f49(0x451)](_0xc2c1bd=>Ra(_0x13c918,_0xc2c1bd));if(!_0x282a94){let _0x307cd2=za(_0x13c918,_0x3cea5a);_0x3cea5a[_0x5e5f49(0x161)](_0x307cd2),_0x282a94=_0x307cd2['id'];}_0x24f82e[_0x5e5f49(0x110)]=_0x282a94;let _0xe2f90f=Ma(_0x43b5c5[_0x5e5f49(0x1f8)],_0x3cea5a[_0x5e5f49(0x412)](_0x33fb71=>_0x33fb71['id']));return{'changed':_0x3cea5a[_0x5e5f49(0x1bf)]>0x0||_0x24f82e[_0x5e5f49(0x110)]!==((_0x1cb6e2=_0x43b5c5[_0x5e5f49(0x174)])==null?void 0x0:_0x1cb6e2[_0x5e5f49(0x110)])||!(!_0xe2f90f||_0x2ea00f[_0x5e5f49(0xe6)](_0xe2f90f,_0x43b5c5[_0x5e5f49(0x1f8)]??[])),'fields':_0x3cea5a,'config':_0x24f82e,'fieldOrder':_0xe2f90f};}function Ra(_0x2e308c,_0x39520f){const _0x4fb173=_0x327967;let _0x477dc2=_0x39520f?_0x2e308c['fields'][_0x39520f]:null;return _0x477dc2?[_0x1013ad[_0x4fb173(0x413)],_0x1013ad[_0x4fb173(0x190)],_0x1013ad['Rating'],_0x1013ad['Person'],_0x1013ad[_0x4fb173(0xf7)],_0x1013ad['Checkbox']]['includes'](_0x477dc2[_0x4fb173(0x346)]):!0x1;}function za(_0x53784e,_0x2fe01f){const _0x1a7f6c=_0x327967;return{'id':_0x1a7f6c(0x456)+_0x1dd020(0x8),'name':ja(_0x53784e,'Status',_0x2fe01f),'type':_0x1013ad[_0x1a7f6c(0x413)],'config':_0x2ea00f[_0x1a7f6c(0x3e0)](Na)};}function Ba(_0xbd2182){const _0x8cb8b8=_0x327967;return Object['keys'](_0xbd2182[_0x8cb8b8(0x174)]??{})[_0x8cb8b8(0x1bf)]===0x0&&Object[_0x8cb8b8(0x27a)](_0xbd2182['fieldSettings']??{})[_0x8cb8b8(0x1bf)]===0x0;}function Va(_0x1fd55a,_0x1d9b13,_0x5d6b7c){const _0x840ec9=_0x327967;let _0x9cfb93={..._0x1d9b13[_0x840ec9(0x174)]??{}},_0x4892d4=_0x5d6b7c[_0x840ec9(0x412)](_0x574a3c=>_0x574a3c['id']),_0x25bb6e=[..._0x1fd55a[_0x840ec9(0x1f8)],..._0x4892d4],_0x3657eb=typeof _0x9cfb93[_0x840ec9(0x19b)]==_0x840ec9(0x2a0)&&Ha(_0x1fd55a,_0x5d6b7c,_0x9cfb93[_0x840ec9(0x19b)])?_0x9cfb93[_0x840ec9(0x19b)]:_0x1fd55a[_0x840ec9(0x44a)],_0x872a2d=typeof _0x9cfb93['startDateFieldId']=='string'?_0x9cfb93[_0x840ec9(0x3d2)]:'',_0x19b374=typeof _0x9cfb93[_0x840ec9(0x406)]==_0x840ec9(0x2a0)?_0x9cfb93[_0x840ec9(0x406)]:_0x872a2d,_0x21e4f1=new Set([_0x3657eb,_0x872a2d,_0x19b374][_0x840ec9(0x1be)](_0x376b6c=>_0x376b6c&&Ha(_0x1fd55a,_0x5d6b7c,_0x376b6c))),_0x13ad6c=Object[_0x840ec9(0x49f)](_0x25bb6e[_0x840ec9(0xeb)](_0x32cd5a=>_0x21e4f1[_0x840ec9(0x103)](_0x32cd5a)||!Ha(_0x1fd55a,_0x5d6b7c,_0x32cd5a)?[]:[[_0x32cd5a,{'hidden':!0x0}]]));return{..._0x1d9b13,'config':{..._0x9cfb93,'titleFieldId':_0x3657eb},'fieldSettings':_0x13ad6c};}function Ha(_0x881345,_0x270518,_0x19288a){const _0x2fae25=_0x327967;return!!(_0x881345[_0x2fae25(0x305)][_0x19288a]??_0x270518[_0x2fae25(0x451)](_0x2bf055=>_0x2bf055['id']===_0x19288a))&&!0x0;}function Ua(_0x25973a,_0xf4e328){const _0x356b79=_0x327967;let _0x4c421a=_0xf4e328?_0x25973a[_0x356b79(0x305)][_0xf4e328]:null;return!!_0x4c421a&&_0x4c421a[_0x356b79(0x346)]===_0x1013ad['Date']&&_0x4c421a[_0x356b79(0x397)]!==!0x0&&_0x4c421a[_0x356b79(0x272)]!==!0x0;}function Wa(_0x3f1ed4,_0x4d88f5,_0x285cf7){const _0x29832a=_0x327967;let _0x595edb=new Set([...Object[_0x29832a(0x27a)](_0x3f1ed4['fields']),..._0x4d88f5[_0x29832a(0x412)](_0x370829=>_0x370829['id'])]),_0x2b5df0='fld-'+_0x1dd020(0x8);for(;_0x595edb['has'](_0x2b5df0);)_0x2b5df0=_0x29832a(0x456)+_0x1dd020(0x8);return{'id':_0x2b5df0,'name':ja(_0x3f1ed4,_0x285cf7,_0x4d88f5),'type':_0x1013ad['Date'],'config':{...Pa}};}const Ga={'id':_0x327967(0x17e),'type':_0x281ad9[_0x327967(0x23d)],'handler':(_0x57cfd7,_0x4c8528)=>{const _0x2d1cc9=_0x327967;if(!_0x4c8528)return!0x1;let _0x515796=_0x57cfd7['get'](_0x3a38b9),{unitId:_0x129a31,tableId:_0x57958f,view:_0x14139e,index:_0x520f3e}=_0x4c8528,_0x14ef13=_0x515796[_0x2d1cc9(0x1d4)](_0x129a31,_0x49a6be[_0x2d1cc9(0xf9)]);if(!_0x14ef13||!$(_0x14ef13,_0x57958f)||_0x14ef13[_0x2d1cc9(0x32b)]()[_0x2d1cc9(0x486)][_0x57958f][_0x2d1cc9(0x1eb)][_0x14139e['id']])return!0x1;let _0x41eb0e=_0x57cfd7['get'](_0x2823d6),_0x5227e8=_0x57cfd7['get'](_0x15f92a),_0x193698=_0x14ef13[_0x2d1cc9(0x32b)](),_0x29fa73=Fa(_0x193698,_0x57958f,_0x14139e,_0x520f3e),_0x4b9c0b=new z()[_0x2d1cc9(0x38e)](_0x193698,_0x29fa73),_0x9a648c={'historyAction':'create-view','unitId':_0x129a31,'op':_0x29fa73,'viewType':_0x14139e[_0x2d1cc9(0x346)]},_0x52e863={'historyAction':_0x2d1cc9(0x1f0),'unitId':_0x129a31,'op':_0x4b9c0b,'viewType':_0x14139e['type']};return _0x41eb0e[_0x2d1cc9(0x2f7)](Q['id'],_0x9a648c)?(_0x515796[_0x2d1cc9(0x354)](_0x129a31),_0x5227e8[_0x2d1cc9(0x244)]({'unitID':_0x129a31,'undoMutations':[{'id':Q['id'],'params':_0x52e863}],'redoMutations':[{'id':Q['id'],'params':_0x9a648c}]}),!0x0):!0x1;}},Ka={'id':_0x327967(0x3d0),'type':_0x281ad9[_0x327967(0x23d)],'handler'(_0x383574,_0x5a813d){const _0x1e986c=_0x327967;if(!_0x5a813d)return!0x1;let _0x35d13c=_0x383574[_0x1e986c(0x318)](_0x3a38b9),{unitId:_0x136b2d,tableId:_0x3d28eb,fieldId:_0x592bac}=_0x5a813d,_0x40fe66=_0x35d13c['getUnit'](_0x136b2d,_0x49a6be[_0x1e986c(0xf9)]);if(!_0x40fe66)return!0x1;let _0x28106d=_0x40fe66[_0x1e986c(0x32b)](),_0x322f19=_0x28106d[_0x1e986c(0x486)][_0x3d28eb];if(!$(_0x40fe66,_0x3d28eb,{'fieldIds':[_0x592bac]})||_0x322f19[_0x1e986c(0x44a)]===_0x592bac||_0x592bac===_0x40fc9d)return!0x1;let _0xdb58c5=_0x383574[_0x1e986c(0x318)](_0x2823d6),_0x1b6952=_0x383574['get'](_0x15f92a),_0x42e2d2=new W()[_0x1e986c(0x42f)](_0x28106d,_0x3d28eb,_0x592bac),_0x1878d9=new z()[_0x1e986c(0x38e)](_0x28106d,_0x42e2d2),_0x5560de={'unitId':_0x136b2d,'op':_0x42e2d2},_0x433221={'unitId':_0x136b2d,'op':_0x1878d9};return _0xdb58c5[_0x1e986c(0x2f7)](Q['id'],_0x5560de)?(_0x35d13c[_0x1e986c(0x354)](_0x136b2d),_0x1b6952[_0x1e986c(0x244)]({'unitID':_0x136b2d,'undoMutations':[{'id':Q['id'],'params':_0x433221}],'redoMutations':[{'id':Q['id'],'params':_0x5560de}]}),!0x0):!0x1;}},qa={'id':_0x327967(0x3fa),'type':_0x281ad9[_0x327967(0x23d)],'handler':(_0x3591dc,_0x28ce08)=>{const _0x4cac8e=_0x327967;if(!_0x28ce08)return!0x1;let _0x2b4d8=_0x3591dc[_0x4cac8e(0x318)](_0x3a38b9),{unitId:_0x46cd8e,tableId:_0xc9d332,recordId:_0x2280bd}=_0x28ce08,_0x3d949b=_0x2b4d8[_0x4cac8e(0x1d4)](_0x46cd8e,_0x49a6be['UNIVER_BASE']);if(!_0x3d949b||!$(_0x3d949b,_0xc9d332,{'recordIds':[_0x2280bd]}))return!0x1;let _0x35e928=_0x3591dc['get'](_0x2823d6),_0x3e982f=_0x3591dc[_0x4cac8e(0x318)](_0x15f92a),_0x52dc5b=_0x3d949b[_0x4cac8e(0x32b)](),_0x3c6c40=et(_0x52dc5b[_0x4cac8e(0x486)][_0xc9d332],[_0x2280bd]),_0xbb98f5=new W(),_0x345827=new z(),_0x5ee693=_0xbb98f5[_0x4cac8e(0x33a)](_0x52dc5b,_0xc9d332,_0x2280bd),_0x372256=_0x345827[_0x4cac8e(0x240)](_0x52dc5b,_0x5ee693),_0x48e960=_0xbb98f5['createDeleteRecordsUndoOp'](_0x52dc5b,_0x372256,_0xc9d332,[_0x2280bd]),_0x533c7d={'unitId':_0x46cd8e,'op':_0x5ee693,'hierarchyChanges':_0x3c6c40,'source':_0x28ce08[_0x4cac8e(0x300)]??'ui'},_0xea31c8={..._0x533c7d,'source':_0x4cac8e(0x274)},_0x2c9715={'unitId':_0x46cd8e,'op':_0x48e960,'hierarchyChanges':_0x3c6c40['map'](_0x2ca763=>({..._0x2ca763,'oldParentRecordId':_0x2ca763[_0x4cac8e(0x3a5)],'parentRecordId':_0x2ca763[_0x4cac8e(0x410)]})),'source':_0x4cac8e(0x175)};return _0x35e928['syncExecuteCommand'](Q['id'],_0x533c7d)?(_0x2b4d8[_0x4cac8e(0x354)](_0x46cd8e),_0x3e982f['pushUndoRedo']({'unitID':_0x46cd8e,'undoMutations':[{'id':Q['id'],'params':_0x2c9715}],'redoMutations':[{'id':Q['id'],'params':_0xea31c8}]}),!0x0):!0x1;}},Ja={'id':_0x327967(0x4a3),'type':_0x281ad9['COMMAND'],'handler':(_0x512491,_0x4eaf62)=>{const _0x59a244=_0x327967;if(!_0x4eaf62)return!0x1;let _0x2a4ef0=_0x512491[_0x59a244(0x318)](_0x3a38b9),{unitId:_0x3429fa,tableId:_0x572a2d}=_0x4eaf62,_0x58f560=_0x2a4ef0['getUnit'](_0x3429fa,_0x49a6be[_0x59a244(0xf9)]);if(!_0x58f560||!$(_0x58f560,_0x572a2d))return!0x1;let _0x1e34d9=_0x512491[_0x59a244(0x318)](_0x2823d6),_0x4a8aa8=_0x512491[_0x59a244(0x318)](_0x15f92a),_0x905bd2=_0x58f560[_0x59a244(0x32b)](),_0x400d38=He(_0x905bd2,_0x572a2d);if(_0x400d38['length']>0x0)return console['error'](_0x59a244(0x275)+_0x572a2d+_0x59a244(0x454)+_0x400d38['map'](_0x372424=>_0x372424[_0x59a244(0x19a)]+'.'+_0x372424[_0x59a244(0x173)])[_0x59a244(0x3a1)](',\x20')+'.'),!0x1;let _0x41bf7a=new W()[_0x59a244(0x277)](_0x905bd2,_0x572a2d),_0x28d99a=new z()[_0x59a244(0x38e)](_0x905bd2,_0x41bf7a),_0x466293={'unitId':_0x3429fa,'op':_0x41bf7a},_0x4d38df={'unitId':_0x3429fa,'op':_0x28d99a};return _0x1e34d9['syncExecuteCommand'](Q['id'],_0x466293)?(_0x2a4ef0[_0x59a244(0x354)](_0x3429fa),_0x4a8aa8[_0x59a244(0x244)]({'unitID':_0x3429fa,'undoMutations':[{'id':Q['id'],'params':_0x4d38df}],'redoMutations':[{'id':Q['id'],'params':_0x466293}]}),!0x0):!0x1;}},Ya={'id':_0x327967(0x3bc),'type':_0x281ad9[_0x327967(0x23d)],'handler':(_0x400930,_0x428d93)=>{const _0x2ca912=_0x327967;if(!_0x428d93)return!0x1;let _0x4de313=_0x400930['get'](_0x3a38b9),{unitId:_0x3714f7,tableId:_0x2999c3,viewId:_0x2d305b}=_0x428d93,_0x5c4c3a=_0x4de313[_0x2ca912(0x1d4)](_0x3714f7,_0x49a6be[_0x2ca912(0xf9)]);if(!_0x5c4c3a||!$(_0x5c4c3a,_0x2999c3,{'viewIds':[_0x2d305b]}))return!0x1;let _0x4097a6=_0x400930[_0x2ca912(0x318)](_0x2823d6),_0xbe1405=_0x400930[_0x2ca912(0x318)](_0x15f92a),_0x99232b=_0x5c4c3a[_0x2ca912(0x32b)](),_0x56dae6=_0x99232b[_0x2ca912(0x486)][_0x2999c3][_0x2ca912(0x1eb)][_0x2d305b]['type'],_0xc2620d=new W()['deleteView'](_0x99232b,_0x2999c3,_0x2d305b),_0x55f019=new z()['invertOp'](_0x99232b,_0xc2620d),_0x4c4cdf={'historyAction':_0x2ca912(0x1f0),'unitId':_0x3714f7,'op':_0xc2620d,'viewType':_0x56dae6},_0x1d1ba6={'historyAction':_0x2ca912(0x1e3),'unitId':_0x3714f7,'op':_0x55f019,'viewType':_0x56dae6};return _0x4097a6[_0x2ca912(0x2f7)](Q['id'],_0x4c4cdf)?(_0x4de313[_0x2ca912(0x354)](_0x3714f7),_0xbe1405[_0x2ca912(0x244)]({'unitID':_0x3714f7,'undoMutations':[{'id':Q['id'],'params':_0x1d1ba6}],'redoMutations':[{'id':Q['id'],'params':_0x4c4cdf}]}),!0x0):!0x1;}},Xa={'id':_0x327967(0x31e),'type':_0x281ad9['COMMAND'],'handler':(_0x658cd2,_0x123e40)=>{const _0x56ab50=_0x327967;if(!_0x123e40)return!0x1;let _0xf37f7d=_0x658cd2[_0x56ab50(0x318)](_0x3a38b9),{unitId:_0x45abe8,tableId:_0x1160b7,sourceFieldId:_0x1fecd7,field:_0x442d12,index:_0x2e31a3,viewIndexes:_0x5b5b55}=_0x123e40,_0xba0f58=_0xf37f7d[_0x56ab50(0x1d4)](_0x45abe8,_0x49a6be[_0x56ab50(0xf9)]);if(!_0xba0f58||!$(_0xba0f58,_0x1160b7,{'fieldIds':[_0x1fecd7]})||_0x1fecd7===_0x40fc9d||_0xba0f58['getSnapshot']()[_0x56ab50(0x486)][_0x1160b7][_0x56ab50(0x305)][_0x442d12['id']]||_0x2e31a3===0x0||!ha(_0xba0f58,_0x1160b7,_0x442d12))return!0x1;let _0x9a7f07=_0x658cd2[_0x56ab50(0x318)](_0x2823d6),_0x477891=_0x658cd2[_0x56ab50(0x318)](_0x15f92a),_0x46dd54=_0xba0f58[_0x56ab50(0x32b)](),_0x556c16=new W()[_0x56ab50(0x400)](_0x46dd54,_0x1160b7,_0x1fecd7,{'field':_0x442d12,'index':_0x2e31a3,'viewIndexes':_0x5b5b55}),_0x1920ba=new z()[_0x56ab50(0x38e)](_0x46dd54,_0x556c16),_0x2bf324={'unitId':_0x45abe8,'op':_0x556c16},_0x11335e={'unitId':_0x45abe8,'op':_0x1920ba};return _0x9a7f07[_0x56ab50(0x2f7)](Q['id'],_0x2bf324)?(_0xf37f7d['focusUnit'](_0x45abe8),_0x477891[_0x56ab50(0x244)]({'unitID':_0x45abe8,'undoMutations':[{'id':Q['id'],'params':_0x11335e}],'redoMutations':[{'id':Q['id'],'params':_0x2bf324}]}),!0x0):!0x1;}},Za={'id':_0x327967(0x2f4),'type':_0x281ad9['COMMAND'],'handler':(_0x5550fb,_0x5efcdb)=>{const _0x298adf=_0x327967;if(!_0x5efcdb)return!0x1;let _0x4bc4e7=_0x5550fb[_0x298adf(0x318)](_0x3a38b9),{unitId:_0x3d4a8e,tableId:_0x361623,sourceRecordId:_0x97b946,record:_0x1e9d67}=_0x5efcdb,_0x4fd8af=_0x4bc4e7[_0x298adf(0x1d4)](_0x3d4a8e,_0x49a6be[_0x298adf(0xf9)]);if(!_0x4fd8af||!$(_0x4fd8af,_0x361623,{'recordIds':[_0x97b946]})||!_a(_0x4fd8af,_0x361623,_0x1e9d67))return!0x1;let _0x2c72a2=_0x5550fb[_0x298adf(0x318)](_0x2823d6),_0x4a6e18=_0x5550fb[_0x298adf(0x318)](_0x15f92a),_0x5ab63f=_0x4fd8af[_0x298adf(0x32b)](),_0x27a286=va(_0x1e9d67),_0x1eef0e=Qe(_0x5ab63f[_0x298adf(0x486)][_0x361623],[_0x27a286]),_0x442644=new W()[_0x298adf(0x11d)](_0x5ab63f,_0x361623,_0x97b946,_0x27a286),_0x5dfab2=new z()['invertOp'](_0x5ab63f,_0x442644),_0x1fe3f3={'unitId':_0x3d4a8e,'op':_0x442644,'hierarchyChanges':_0x1eef0e[_0x298adf(0x1bf)]?_0x1eef0e:void 0x0,'source':_0x1eef0e['length']?_0x5efcdb[_0x298adf(0x300)]??'ui':void 0x0},_0x5c1dc9={..._0x1fe3f3,'source':_0x1eef0e[_0x298adf(0x1bf)]?_0x298adf(0x274):void 0x0},_0x1106ba={'unitId':_0x3d4a8e,'op':_0x5dfab2,'hierarchyChanges':_0x1eef0e[_0x298adf(0x1bf)]?_0x1eef0e[_0x298adf(0x412)](_0x183dbb=>({..._0x183dbb,'oldParentRecordId':_0x183dbb[_0x298adf(0x3a5)],'parentRecordId':null})):void 0x0,'source':_0x1eef0e[_0x298adf(0x1bf)]?_0x298adf(0x175):void 0x0};return _0x2c72a2['syncExecuteCommand'](Q['id'],_0x1fe3f3)?(_0x4bc4e7[_0x298adf(0x354)](_0x3d4a8e),_0x4a6e18[_0x298adf(0x244)]({'unitID':_0x3d4a8e,'undoMutations':[{'id':Q['id'],'params':_0x1106ba}],'redoMutations':[{'id':Q['id'],'params':_0x5c1dc9}]}),!0x0):!0x1;}},Qa={'id':_0x327967(0x1ca),'type':_0x281ad9[_0x327967(0x23d)],'handler'(_0x29a0c7,_0xf9f12b){const _0x41f128=_0x327967;if(!_0xf9f12b)return!0x1;let _0x29b849=_0x29a0c7[_0x41f128(0x318)](_0x3a38b9),{unitId:_0x126910,tableId:_0x4eb9ef,viewId:_0x22fb40,ensureEndDateField:_0x1d54b1}=_0xf9f12b,_0x2f9b8d=_0x29b849[_0x41f128(0x1d4)](_0x126910,_0x49a6be[_0x41f128(0xf9)]);if(!_0x2f9b8d||!$(_0x2f9b8d,_0x4eb9ef,{'viewIds':[_0x22fb40]}))return!0x1;let _0x1e5830=_0x2f9b8d[_0x41f128(0x32b)](),_0x4723e9=_0x1e5830[_0x41f128(0x486)][_0x4eb9ef],_0x5e8e1f=_0x4723e9==null?void 0x0:_0x4723e9[_0x41f128(0x1eb)][_0x22fb40];if(!_0x4723e9||!_0x5e8e1f||_0x5e8e1f[_0x41f128(0x346)]!=='calendar'&&_0x5e8e1f[_0x41f128(0x346)]!==_0x41f128(0x3ca))return!0x1;let _0x5de77c=Ia(_0x4723e9,_0x5e8e1f,_0x1d54b1===!0x0);if(!_0x5de77c[_0x41f128(0x2cc)])return!0x1;let _0x1a054=_0x29a0c7['get'](_0x2823d6),_0x3b07b3=_0x29a0c7[_0x41f128(0x318)](_0x15f92a),_0x542707=new W(),_0x815c99=[..._0x5de77c[_0x41f128(0x305)]['map'](_0x1f97bc=>_0x542707[_0x41f128(0x24c)](_0x1e5830,_0xf9f12b[_0x41f128(0x19a)],{'field':_0x1f97bc})),$a([...eo(_0xf9f12b['tableId'],_0xf9f12b[_0x41f128(0x2d0)]),_0x41f128(0x174)],_0x5e8e1f[_0x41f128(0x174)],_0x5de77c['config'])];_0x5de77c['fieldOrder']&&_0x815c99[_0x41f128(0x161)]($a([...eo(_0xf9f12b[_0x41f128(0x19a)],_0xf9f12b['viewId']),'fieldOrder'],_0x5e8e1f[_0x41f128(0x1f8)],_0x5de77c['fieldOrder']));let _0x226204=R(_0x815c99),_0x44e11f=new z()['invertOp'](_0x1e5830,_0x226204),_0x3a2c99={'unitId':_0x126910,'op':_0x226204},_0x33e854={'unitId':_0x126910,'op':_0x44e11f};return _0x1a054[_0x41f128(0x2f7)](Q['id'],_0x3a2c99)?(_0x29b849['focusUnit'](_0x126910),_0x3b07b3[_0x41f128(0x244)]({'unitID':_0x126910,'undoMutations':[{'id':Q['id'],'params':_0x33e854}],'redoMutations':[{'id':Q['id'],'params':_0x3a2c99}]}),!0x0):!0x1;}};function $a(_0x48db55,_0x2d2baa,_0x15f0fd){const _0x3d33e9=_0x327967;return _0x2d2baa===void 0x0?_0x43163e[_0x3d33e9(0xf4)](_0x48db55,_0x15f0fd):_0x43163e[_0x3d33e9(0x464)](_0x48db55,_0x2d2baa,_0x15f0fd);}function eo(_0x13f272,_0x13c81b){const _0x243600=_0x327967;return[_0x243600(0x486),_0x13f272,_0x243600(0x1eb),_0x13c81b];}const to={'id':_0x327967(0x269),'type':_0x281ad9[_0x327967(0x23d)],'handler':(_0x75d9f5,_0x5be591)=>{const _0x4bd83e=_0x327967;if(!_0x5be591)return!0x1;let _0x73593=_0x75d9f5[_0x4bd83e(0x318)](_0x3a38b9),{unitId:_0xbb4cca,tableId:_0x8ac588,fieldId:_0x2023fa,target:_0x1c2d85}=_0x5be591,_0x4c4519=_0x73593[_0x4bd83e(0x1d4)](_0xbb4cca,_0x49a6be[_0x4bd83e(0xf9)]),_0x450ab6=_0x1c2d85[_0x4bd83e(0x25b)]??_0x1c2d85[_0x4bd83e(0x338)];if(!_0x4c4519||!!_0x1c2d85[_0x4bd83e(0x25b)]==!!_0x1c2d85[_0x4bd83e(0x338)]||!_0x450ab6||_0x450ab6===_0x2023fa||_0x2023fa===_0x40fc9d||_0x1c2d85[_0x4bd83e(0x25b)]===_0x40fc9d||!$(_0x4c4519,_0x8ac588,{'fieldIds':[_0x2023fa,_0x450ab6]}))return!0x1;let _0x1e2e64=_0x75d9f5['get'](_0x2823d6),_0x23646b=_0x75d9f5['get'](_0x15f92a),_0x2041f4=_0x4c4519[_0x4bd83e(0x32b)](),_0x1bf630=new W()['moveField'](_0x2041f4,_0x8ac588,_0x2023fa,_0x1c2d85),_0x582a44=new z()[_0x4bd83e(0x38e)](_0x2041f4,_0x1bf630),_0x105793={'unitId':_0xbb4cca,'op':_0x1bf630},_0x4605c0={'unitId':_0xbb4cca,'op':_0x582a44};return _0x1e2e64[_0x4bd83e(0x2f7)](Q['id'],_0x105793)?(_0x73593['focusUnit'](_0xbb4cca),_0x23646b[_0x4bd83e(0x244)]({'unitID':_0xbb4cca,'undoMutations':[{'id':Q['id'],'params':_0x4605c0}],'redoMutations':[{'id':Q['id'],'params':_0x105793}]}),!0x0):!0x1;}},no={'id':_0x327967(0x181),'type':_0x281ad9['COMMAND'],'handler':(_0x18a852,_0x375cfe)=>{const _0x101e34=_0x327967;var _0x2bcd22;if(!_0x375cfe)return!0x1;let {unitId:_0x1da349,tableId:_0x4f7553,recordId:_0x27fe4c,parentRecordId:_0x3706ff,orderKey:_0x460bb6}=_0x375cfe,_0x3c3776=_0x18a852['get'](_0x3a38b9),_0x173e55=_0x3c3776[_0x101e34(0x1d4)](_0x1da349,_0x49a6be[_0x101e34(0xf9)]);if(!_0x173e55||!$(_0x173e55,_0x4f7553,{'recordIds':[_0x27fe4c,..._0x3706ff?[_0x3706ff]:[]]}))throw new P(_0x101e34(0x3bd));let _0x37f9b7=_0x173e55[_0x101e34(0x32b)](),_0x139f05=_0x37f9b7[_0x101e34(0x486)][_0x4f7553],_0x4632d0=qe(_0x139f05),_0x5e34f3=_0x4632d0??_0x375cfe['fieldId']??Je(_0x139f05);if(_0x4632d0&&_0x375cfe['fieldId']&&_0x375cfe[_0x101e34(0x173)]!==_0x4632d0||_0x139f05[_0x101e34(0x305)][_0x5e34f3]&&!F(_0x139f05,_0x5e34f3))throw new P(_0x101e34(0x421));let _0x4e29c2=tt(_0x139f05,_0x5e34f3),_0xbd7bf3=it(_0x4e29c2,_0x27fe4c,_0x3706ff);if(!_0xbd7bf3['valid'])throw new P(_0xbd7bf3[_0x101e34(0x3bf)]===_0x240c41[_0x101e34(0x38b)]?_0x101e34(0x43b):_0xbd7bf3['reason']===_0x240c41[_0x101e34(0x2d8)]?_0x101e34(0x403):'maxDepth');let _0x7a6dfa=_0x4e29c2[_0x101e34(0x47c)][_0x101e34(0x318)](_0x27fe4c)??null,_0x1cd64e=_0x139f05['records'][_0x27fe4c][_0x101e34(0x44c)];if(_0x7a6dfa===_0x3706ff&&(_0x460bb6===void 0x0||_0x460bb6===_0x1cd64e))return!0x0;let _0x5ba628=_0x7a6dfa!==_0x3706ff,_0x4bddd2=_0x460bb6!==void 0x0&&_0x460bb6!==_0x1cd64e,_0x50b193=new W(),_0xea5f0b=[],_0x4b693b=_0x139f05[_0x101e34(0x305)][_0x5e34f3],_0x40330d=_0x5ba628&&(!_0x4b693b||((_0x2bcd22=N(_0x4b693b))==null?void 0x0:_0x2bcd22[_0x101e34(0x382)])!==_0x3e0df7[_0x101e34(0x4a4)])?_0x4b693b?_0x50b193[_0x101e34(0x3de)](_0x37f9b7,_0x4f7553,_0x5e34f3,{'config':{..._0x4b693b['config'],'relationRole':_0x3e0df7[_0x101e34(0x4a4)]}}):_0x18a852[_0x101e34(0x318)](Kr)[_0x101e34(0x40b)](_0x173e55,_0x4f7553,Ye(_0x139f05,_0x5e34f3,_0x375cfe[_0x101e34(0x3ff)]),_0x139f05[_0x101e34(0x1f8)]['length']):null;_0x40330d&&_0xea5f0b['push'](_0x40330d),_0x5ba628&&_0xea5f0b[_0x101e34(0x161)](_0x50b193[_0x101e34(0x154)](_0x37f9b7,_0x4f7553,_0x27fe4c,_0x5e34f3,_0x3706ff?Re([_0x3706ff]):'')),_0x4bddd2&&_0xea5f0b[_0x101e34(0x161)](_0x50b193[_0x101e34(0x19e)](_0x37f9b7,_0x4f7553,_0x27fe4c,_0x460bb6));let _0x49ca58=R(_0xea5f0b),_0x1bdaff={'tableId':_0x4f7553,'fieldId':_0x5e34f3,'recordId':_0x27fe4c,'oldParentRecordId':_0x7a6dfa,'parentRecordId':_0x3706ff},_0x944ae9={'unitId':_0x1da349,'op':_0x49ca58,'trigger':no['id'],'hierarchyChanges':[_0x1bdaff],'source':_0x375cfe['source']??'ui'},_0x37efb5={..._0x944ae9,'source':_0x101e34(0x274)};if(!_0x18a852[_0x101e34(0x318)](_0x2823d6)[_0x101e34(0x2f7)](Q['id'],_0x944ae9))return!0x1;let _0x5a93d9=_0x173e55[_0x101e34(0x32b)](),_0x4eb6b6=[];_0x5ba628&&_0x4eb6b6[_0x101e34(0x161)](ro(_0x5a93d9,_0x37f9b7,_0x4f7553,_0x27fe4c,_0x5e34f3)),_0x4bddd2&&_0x4eb6b6[_0x101e34(0x161)](io(_0x5a93d9,_0x37f9b7,_0x4f7553,_0x27fe4c)),_0x40330d&&_0x4eb6b6['push'](new z()[_0x101e34(0x38e)](_0x37f9b7,_0x40330d));let _0x5494dc={'unitId':_0x1da349,'op':R(_0x4eb6b6),'trigger':no['id'],'hierarchyChanges':[{..._0x1bdaff,'oldParentRecordId':_0x3706ff,'parentRecordId':_0x7a6dfa}],'source':_0x101e34(0x175)};return _0x3c3776['focusUnit'](_0x1da349),_0x18a852[_0x101e34(0x318)](_0x15f92a)['pushUndoRedo']({'unitID':_0x1da349,'undoMutations':[{'id':Q['id'],'params':_0x5494dc}],'redoMutations':[{'id':Q['id'],'params':_0x37efb5}]}),!0x0;}};function ro(_0x252617,_0x26c624,_0x4a4ec9,_0x44c583,_0x5a4956){const _0xae9196=_0x327967;var _0x45748c,_0x28a262,_0x4907fe,_0x25ae07,_0x1b7057,_0x346e05,_0x3e14a4,_0x3c5739;let _0x44a905=_0x252617[_0xae9196(0x486)][_0x4a4ec9],_0x135364=_0x26c624[_0xae9196(0x486)][_0x4a4ec9],_0x41c1da=(_0x45748c=_0x44a905[_0xae9196(0x257)])==null?void 0x0:_0x45748c[_0x44c583],_0x31f310=(_0x28a262=_0x44a905['colIndex'])==null?void 0x0:_0x28a262[_0x5a4956],_0x52fd74=(_0x4907fe=_0x135364[_0xae9196(0x257)])==null?void 0x0:_0x4907fe[_0x44c583],_0x595b50=(_0x25ae07=_0x135364[_0xae9196(0x22a)])==null?void 0x0:_0x25ae07[_0x5a4956],_0x3178f1=_0x41c1da==null||_0x31f310==null||(_0x1b7057=_0x44a905[_0xae9196(0xdd)])==null||(_0x1b7057=_0x1b7057[_0x41c1da])==null?void 0x0:_0x1b7057[_0x31f310],_0x1edd95=_0x52fd74==null||_0x595b50==null||(_0x346e05=_0x135364['cellData'])==null||(_0x346e05=_0x346e05[_0x52fd74])==null?void 0x0:_0x346e05[_0x595b50],_0x31fc9f=(_0x3e14a4=_0x44a905[_0xae9196(0x1d7)][_0x44c583])==null?void 0x0:_0x3e14a4['values'][_0x5a4956],_0x3d13b9=(_0x3c5739=_0x135364[_0xae9196(0x1d7)][_0x44c583])==null?void 0x0:_0x3c5739[_0xae9196(0x259)][_0x5a4956],_0x21d43f=[],_0x10e252=ao(_0x41c1da==null||_0x31f310==null?null:U[_0xae9196(0xdd)](_0x4a4ec9,_0x41c1da,_0x31f310),_0x3178f1,_0x1edd95);_0x10e252&&_0x21d43f[_0xae9196(0x161)](_0x10e252);let _0x530326=ao(U['cell'](_0x4a4ec9,_0x44c583,_0x5a4956),_0x31fc9f,_0x3d13b9);return _0x530326&&_0x21d43f[_0xae9196(0x161)](_0x530326),R(_0x21d43f);}function io(_0x304b20,_0x460f94,_0x46f5de,_0x4c5fcd){const _0x2e7235=_0x327967;var _0x5526bc,_0x267c3c;let _0xfead39=_0x304b20['tables'][_0x46f5de],_0x364ccb=_0x460f94[_0x2e7235(0x486)][_0x46f5de];return R([ao([...U[_0x2e7235(0x472)](_0x46f5de,_0x4c5fcd),_0x2e7235(0x44c)],(_0x5526bc=_0xfead39['records'][_0x4c5fcd])==null?void 0x0:_0x5526bc['orderKey'],(_0x267c3c=_0x364ccb[_0x2e7235(0x1d7)][_0x4c5fcd])==null?void 0x0:_0x267c3c[_0x2e7235(0x44c)]),ao([...U['table'](_0x46f5de),_0x2e7235(0x1e2)],_0xfead39[_0x2e7235(0x1e2)],_0x364ccb['recordOrder'])][_0x2e7235(0x1be)](_0x143eee=>!!_0x143eee));}function ao(_0x4adb74,_0x341e34,_0x5047fe){const _0x5e32a7=_0x327967;if(!_0x4adb74||_0x341e34===void 0x0&&_0x5047fe===void 0x0)return null;let _0x219fa6=_0x12a725[_0x5e32a7(0x2d3)]();return _0x5047fe===void 0x0?_0x219fa6['removeOp'](_0x4adb74,_0x341e34):_0x341e34===void 0x0?_0x219fa6[_0x5e32a7(0xf4)](_0x4adb74,_0x5047fe):_0x219fa6[_0x5e32a7(0x464)](_0x4adb74,_0x341e34,_0x5047fe);}const oo={'id':_0x327967(0x459),'type':_0x281ad9[_0x327967(0x23d)],'handler':(_0xcf0cd4,_0x2c3d54)=>{const _0x16a102=_0x327967;if(!_0x2c3d54)return!0x1;let _0x1b4997=_0xcf0cd4[_0x16a102(0x318)](_0x3a38b9),{unitId:_0x48d638,tableId:_0x4145b3,viewId:_0x81cfde,target:_0x4c3296}=_0x2c3d54,_0x2467b6=_0x1b4997[_0x16a102(0x1d4)](_0x48d638,_0x49a6be[_0x16a102(0xf9)]),_0x21b814=_0x4c3296['beforeViewId']??_0x4c3296[_0x16a102(0x24f)];if(!_0x2467b6||!_0x21b814||_0x21b814===_0x81cfde||!$(_0x2467b6,_0x4145b3,{'viewIds':[_0x81cfde,_0x21b814]}))return!0x1;let _0x46c1a5=_0xcf0cd4[_0x16a102(0x318)](_0x2823d6),_0xe6b6b0=_0xcf0cd4[_0x16a102(0x318)](_0x15f92a),_0x519cb7=_0x2467b6[_0x16a102(0x32b)](),_0x53b7a0=new W()[_0x16a102(0x2dc)](_0x519cb7,_0x4145b3,_0x81cfde,_0x4c3296),_0x27ce1b=new z()[_0x16a102(0x38e)](_0x519cb7,_0x53b7a0),_0x1510fe={'unitId':_0x48d638,'op':_0x53b7a0},_0x4189ed={'unitId':_0x48d638,'op':_0x27ce1b};return _0x46c1a5[_0x16a102(0x2f7)](Q['id'],_0x1510fe)?(_0x1b4997[_0x16a102(0x354)](_0x48d638),_0xe6b6b0[_0x16a102(0x244)]({'unitID':_0x48d638,'undoMutations':[{'id':Q['id'],'params':_0x4189ed}],'redoMutations':[{'id':Q['id'],'params':_0x1510fe}]}),!0x0):!0x1;}},so={'id':'base.command.rename-base-table','type':_0x281ad9[_0x327967(0x23d)],'handler':(_0x407e76,_0x80544d)=>{const _0x54261a=_0x327967;if(!_0x80544d)return!0x1;let _0x5271f9=_0x407e76[_0x54261a(0x318)](_0x3a38b9),{unitId:_0x36739b,tableId:_0x1006f3,name:_0x36abf7}=_0x80544d,_0x3b1a17=_0x5271f9[_0x54261a(0x1d4)](_0x36739b,_0x49a6be[_0x54261a(0xf9)]);if(!_0x3b1a17||!$(_0x3b1a17,_0x1006f3)||!Oa(_0x3b1a17[_0x54261a(0x32b)](),_0x36abf7,_0x1006f3)[_0x54261a(0x48b)])return!0x1;let _0x5ea47d=_0x407e76[_0x54261a(0x318)](_0x2823d6),_0x21f262=_0x407e76['get'](_0x15f92a),_0x29e010=_0x3b1a17[_0x54261a(0x32b)](),_0x14e8bf=new W()['renameTable'](_0x29e010,_0x1006f3,_0x36abf7),_0x356fd1=new z()['invertOp'](_0x29e010,_0x14e8bf),_0x523bec={'unitId':_0x36739b,'op':_0x14e8bf},_0x4970de={'unitId':_0x36739b,'op':_0x356fd1};return _0x5ea47d[_0x54261a(0x2f7)](Q['id'],_0x523bec)?(_0x5271f9[_0x54261a(0x354)](_0x36739b),_0x21f262['pushUndoRedo']({'unitID':_0x36739b,'undoMutations':[{'id':Q['id'],'params':_0x4970de}],'redoMutations':[{'id':Q['id'],'params':_0x523bec}]}),!0x0):!0x1;}},co={'id':'base.command.rename-base-view','type':_0x281ad9['COMMAND'],'handler':(_0x723d1e,_0x22df62)=>{const _0x569c5f=_0x327967;if(!_0x22df62)return!0x1;let _0x247a9e=_0x723d1e[_0x569c5f(0x318)](_0x3a38b9),{unitId:_0x75e5f7,tableId:_0x5ea481,viewId:_0x1fbe07,name:_0x1bd67e}=_0x22df62,_0x10d70f=_0x247a9e['getUnit'](_0x75e5f7,_0x49a6be[_0x569c5f(0xf9)]);if(!_0x10d70f||!$(_0x10d70f,_0x5ea481,{'viewIds':[_0x1fbe07]}))return!0x1;let _0x1e46e1=_0x723d1e['get'](_0x2823d6),_0x167606=_0x723d1e[_0x569c5f(0x318)](_0x15f92a),_0x3a6fc2=_0x10d70f['getSnapshot'](),_0x252e88=new W()[_0x569c5f(0x271)](_0x3a6fc2,_0x5ea481,_0x1fbe07,_0x1bd67e),_0x57374e=new z()['invertOp'](_0x3a6fc2,_0x252e88),_0x3a74ee={'unitId':_0x75e5f7,'op':_0x252e88},_0x49046a={'unitId':_0x75e5f7,'op':_0x57374e};return _0x1e46e1['syncExecuteCommand'](Q['id'],_0x3a74ee)?(_0x247a9e[_0x569c5f(0x354)](_0x75e5f7),_0x167606[_0x569c5f(0x244)]({'unitID':_0x75e5f7,'undoMutations':[{'id':Q['id'],'params':_0x49046a}],'redoMutations':[{'id':Q['id'],'params':_0x3a74ee}]}),!0x0):!0x1;}},lo={'id':_0x327967(0x401),'type':_0x281ad9[_0x327967(0x23d)],'handler':(_0xb028f,_0x2ed076)=>{const _0x2b0cb3=_0x327967;if(!_0x2ed076)return!0x1;let _0x1585d3=_0xb028f[_0x2b0cb3(0x318)](_0x3a38b9),{unitId:_0x5bd4d2,tableId:_0x198db8,viewId:_0x451344,fieldId:_0x57555e}=_0x2ed076,_0x5462bc=_0x1585d3[_0x2b0cb3(0x1d4)](_0x5bd4d2,_0x49a6be[_0x2b0cb3(0xf9)]);if(!_0x5462bc||!$(_0x5462bc,_0x198db8,{'viewIds':[_0x451344],'fieldIds':[_0x57555e]}))return!0x1;let _0x4dee40=_0xb028f[_0x2b0cb3(0x318)](_0x2823d6),_0xfc952=_0xb028f[_0x2b0cb3(0x318)](_0x15f92a),_0x5e92f1=_0x5462bc['getSnapshot'](),_0xa5a3d=new W()[_0x2b0cb3(0x18c)](_0x5e92f1,_0x198db8,_0x451344,{'groupFieldId':_0x57555e}),_0x54cf70=new z()[_0x2b0cb3(0x38e)](_0x5e92f1,_0xa5a3d),_0x598528={'unitId':_0x5bd4d2,'op':_0xa5a3d},_0x4d46a9={'unitId':_0x5bd4d2,'op':_0x54cf70};return _0x4dee40['syncExecuteCommand'](Q['id'],_0x598528)?(_0x1585d3[_0x2b0cb3(0x354)](_0x5bd4d2),_0xfc952[_0x2b0cb3(0x244)]({'unitID':_0x5bd4d2,'undoMutations':[{'id':Q['id'],'params':_0x4d46a9}],'redoMutations':[{'id':Q['id'],'params':_0x598528}]}),!0x0):!0x1;}},uo={'id':_0x327967(0x10c),'type':_0x281ad9[_0x327967(0x23d)],'handler':(_0x1ae32c,_0x13840b)=>{const _0x167f03=_0x327967;if(!_0x13840b)return!0x1;let _0x529520=_0x1ae32c[_0x167f03(0x318)](_0x3a38b9),_0x1523a9=_0x529520[_0x167f03(0x1d4)](_0x13840b[_0x167f03(0x409)],_0x49a6be['UNIVER_BASE']);if(!_0x1523a9)return!0x1;let _0x3fb695=_0x1523a9[_0x167f03(0x32b)]()[_0x167f03(0x158)];if(_0x3fb695===_0x13840b[_0x167f03(0x158)])return!0x0;let _0x63163a=new W(),_0x55baa4=new z(),_0xfa5209=[],_0x5e13ce=[],_0x3494b4=[_0x1523a9,..._0x529520[_0x167f03(0x498)](_0x49a6be[_0x167f03(0xf9)])[_0x167f03(0x1be)](_0x12ddab=>_0x12ddab[_0x167f03(0x40a)]()!==_0x13840b[_0x167f03(0x409)])];for(let _0x24a31f of _0x3494b4){let _0x28c2e8=_0x24a31f[_0x167f03(0x32b)](),_0x14e8ef=_0x24a31f===_0x1523a9?_0x63163a[_0x167f03(0x41e)](_0x28c2e8,_0x13840b[_0x167f03(0x158)]):_0x63163a['renameFormulaUnitReferences'](_0x28c2e8,_0x3fb695,_0x13840b[_0x167f03(0x158)]);_0x14e8ef&&(_0xfa5209[_0x167f03(0x161)]({'id':Q['id'],'params':{'unitId':_0x24a31f[_0x167f03(0x40a)](),'op':_0x14e8ef,'trigger':uo['id']}}),_0x5e13ce[_0x167f03(0x245)]({'id':Q['id'],'params':{'unitId':_0x24a31f[_0x167f03(0x40a)](),'op':_0x55baa4[_0x167f03(0x38e)](_0x28c2e8,_0x14e8ef),'trigger':uo['id']}}));}let _0x178149=_0x1ae32c['get'](_0x2823d6),_0x1eaa68=_0x1ae32c[_0x167f03(0x318)](_0x15f92a),_0x5a63d0=_0x1eaa68['__tempBatchingUndoRedo'](_0x13840b['unitId']);try{return _0x4a8c31(_0xfa5209,_0x178149)[_0x167f03(0x1a1)]?(_0x529520[_0x167f03(0x354)](_0x13840b[_0x167f03(0x409)]),_0x1eaa68[_0x167f03(0x244)]({'unitID':_0x13840b[_0x167f03(0x409)],'undoMutations':_0x5e13ce,'redoMutations':_0xfa5209}),!0x0):!0x1;}finally{_0x5a63d0[_0x167f03(0x2b1)]();}}},fo={'type':_0x281ad9[_0x327967(0x23d)],'id':_0x327967(0x40c),async 'handler'(_0x2c671f,_0xa2fdac){const _0x2a4769=_0x327967;if(!_0xa2fdac||!Tr[_0x2a4769(0x45c)](_0xa2fdac[_0x2a4769(0x2b0)])||_0xa2fdac[_0x2a4769(0x136)]!==_0xa2fdac[_0x2a4769(0x409)]&&_0xa2fdac['action']!==_0x3709ae['Edit']||_0xa2fdac[_0x2a4769(0x195)]&&(![_0x2a4769(0x113),_0x2a4769(0x411),_0x2a4769(0x3fd)][_0x2a4769(0x45c)](_0xa2fdac[_0x2a4769(0x195)][_0x2a4769(0x248)])||_0xa2fdac[_0x2a4769(0x195)][_0x2a4769(0x246)]['some'](_0x4e03a8=>!Tr[_0x2a4769(0x45c)](_0x4e03a8[_0x2a4769(0x2b0)])||_0xa2fdac['objectId']!==_0xa2fdac[_0x2a4769(0x409)]&&_0x4e03a8[_0x2a4769(0x2b0)]!==_0x3709ae[_0x2a4769(0x474)])))return!0x1;let _0x43def6=Pr(_0xa2fdac[_0x2a4769(0x409)],_0xa2fdac[_0x2a4769(0x136)],_0xa2fdac['action']),_0x31f442={'unitId':_0xa2fdac['unitId'],'objectId':_0xa2fdac[_0x2a4769(0x136)],'objectType':_0x43def6[_0x2a4769(0x346)]},_0x4208f9=_0x2c671f['get'](_0x77c4ee);return _0xa2fdac[_0x2a4769(0x13b)]?await _0x4208f9[_0x2a4769(0x13b)](_0x31f442):_0xa2fdac['policy']?await _0x4208f9[_0x2a4769(0x2b8)](_0x31f442,_0xa2fdac[_0x2a4769(0x195)]):await _0x4208f9[_0x2a4769(0x17d)](_0x31f442,_0x43def6,_0xa2fdac[_0x2a4769(0x1e1)]),!0x0;}},po={'type':_0x281ad9[_0x327967(0x23d)],'id':_0x327967(0x288),async 'handler'(_0x254823,_0x95b7ae){const _0x154559=_0x327967;if(!(_0x95b7ae!=null&&_0x95b7ae[_0x154559(0x409)])||!Array[_0x154559(0x3fb)](_0x95b7ae[_0x154559(0x17c)])||!_0x95b7ae[_0x154559(0x17c)][_0x154559(0x1bf)]||_0x95b7ae[_0x154559(0x17c)][_0x154559(0x35d)](_0x32807c=>!(_0x32807c!=null&&_0x32807c[_0x154559(0x136)])||_0x32807c[_0x154559(0x136)]===_0x95b7ae['unitId']||_0x32807c[_0x154559(0x195)]!==null&&(!_0x32807c[_0x154559(0x195)]||![_0x154559(0x113),_0x154559(0x411),_0x154559(0x3fd)][_0x154559(0x45c)](_0x32807c[_0x154559(0x195)][_0x154559(0x248)])||!Array['isArray'](_0x32807c[_0x154559(0x195)][_0x154559(0x2c0)])||!Array[_0x154559(0x3fb)](_0x32807c['policy'][_0x154559(0x246)])||_0x32807c['policy']['strategies'][_0x154559(0x35d)](_0x1418c0=>_0x1418c0[_0x154559(0x2b0)]!==_0x3709ae[_0x154559(0x474)]))))throw Error(_0x154559(0x278));return _0x254823['get'](_0x77c4ee)[_0x154559(0x142)](_0x95b7ae[_0x154559(0x17c)][_0x154559(0x412)](_0x270208=>{const _0x498824=_0x154559;let _0xa8aa11=Pr(_0x95b7ae['unitId'],_0x270208[_0x498824(0x136)],_0x3709ae['Edit']);return{'unitId':_0x95b7ae['unitId'],'objectId':_0x270208['objectId'],'objectType':_0xa8aa11[_0x498824(0x346)],'policy':_0x270208[_0x498824(0x195)]};}));}};function mo(_0x27269e,_0xde827c){const _0x43c90d=_0x327967;let _0x5092a6=L(_0x2ea00f[_0x43c90d(0x3e0)](_0x27269e)),_0x2c6b49=new Map();return _0xde827c[_0x43c90d(0x29b)](_0x3e971e=>{const _0x5189c9=_0x43c90d;var _0x405e48,_0x5b38fa;let _0x46e865=_0x5189c9(0x345)in _0x3e971e?_0x3e971e[_0x5189c9(0x345)]:(_0x405e48=_0x5092a6[_0x5189c9(0x2a7)])==null?void 0x0:_0x405e48[_0x3e971e[_0x5189c9(0x124)]],_0x2671f0=_0x5189c9(0x173)in _0x3e971e?_0x3e971e['fieldId']:(_0x5b38fa=_0x5092a6[_0x5189c9(0x2ba)])==null?void 0x0:_0x5b38fa[_0x3e971e[_0x5189c9(0x36b)]],_0x3e8a90=_0x2671f0?_0x5092a6[_0x5189c9(0x305)][_0x2671f0]:void 0x0;if(!_0x46e865||!_0x2671f0||!_0x3e8a90||!_0x5092a6[_0x5189c9(0x1d7)][_0x46e865])return;let _0x3cbfb9=xt(_0x3e971e[_0x5189c9(0x1e1)],_0x3e8a90),_0xda6796=wt(_0x3e971e[_0x5189c9(0x1e1)],_0x3cbfb9,_0x3e8a90,_0x5092a6,_0x46e865),_0x26bd28=_0x2c6b49[_0x5189c9(0x318)](_0x46e865)??{};_0x26bd28[_0x2671f0]=_0xda6796,_0x2c6b49[_0x5189c9(0x3fe)](_0x46e865,_0x26bd28);}),[..._0x2c6b49]['map'](([_0x30cc5b,_0x387406])=>({'recordId':_0x30cc5b,'values':_0x387406}));}const ho={'id':_0x327967(0xe2),'type':_0x281ad9[_0x327967(0x23d)],'handler'(_0x584512,_0x2039e5){const _0x99a261=_0x327967;if(!_0x2039e5)return!0x1;let _0x1567fb=_0x584512['get'](_0x3a38b9),{unitId:_0x4e538b,tableId:_0xfe89c6,patches:_0x5599c9}=_0x2039e5,_0x5a91d2=_0x1567fb[_0x99a261(0x1d4)](_0x4e538b,_0x49a6be[_0x99a261(0xf9)]);if(!_0x5a91d2||!$(_0x5a91d2,_0xfe89c6))return!0x1;let _0x21a156=_0x584512[_0x99a261(0x318)](_0x2823d6),_0x3acd=_0x584512[_0x99a261(0x318)](_0x15f92a),_0x558c4d=_0x5a91d2['getSnapshot'](),_0x959f9f=L(_0x558c4d['tables'][_0xfe89c6]),_0x275ee7=_0x5599c9[_0x99a261(0x412)](_0x5e0153=>{const _0x3a1298=_0x99a261;var _0xaa9941;return'recordId'in _0x5e0153?_0x5e0153[_0x3a1298(0x345)]:(_0xaa9941=_0x959f9f[_0x3a1298(0x2a7)])==null?void 0x0:_0xaa9941[_0x5e0153[_0x3a1298(0x124)]];})['filter'](_0xa24d56=>_0xa24d56!=null),_0x5d6d41=_0x5599c9[_0x99a261(0x412)](_0x4425d6=>{const _0x1a7f3=_0x99a261;var _0x576486;return _0x1a7f3(0x173)in _0x4425d6?_0x4425d6['fieldId']:(_0x576486=_0x959f9f['colId'])==null?void 0x0:_0x576486[_0x4425d6[_0x1a7f3(0x36b)]];})['filter'](_0x8a2941=>_0x8a2941!=null);if(_0x275ee7[_0x99a261(0x1bf)]!==_0x5599c9['length']||_0x5d6d41['length']!==_0x5599c9[_0x99a261(0x1bf)]||!$(_0x5a91d2,_0xfe89c6,{'recordIds':_0x275ee7,'fieldIds':_0x5d6d41})||_0x5599c9['some']((_0x27c025,_0x59c1b9)=>!ga(_0x5a91d2,_0xfe89c6,_0x5d6d41[_0x59c1b9],_0x27c025['value'])))return!0x1;let _0x2dd5e7=Ze(_0x959f9f,mo(_0x959f9f,_0x5599c9)),_0x4e282c=_0x5599c9['flatMap'](_0x217f48=>{const _0xc6c44f=_0x99a261;var _0x5b2d89,_0xe6d9c2;if(_0xc6c44f(0x124)in _0x217f48)return[_0x217f48];let _0x15bf12=(_0x5b2d89=_0x959f9f[_0xc6c44f(0x257)])==null?void 0x0:_0x5b2d89[_0x217f48[_0xc6c44f(0x345)]],_0x437859=(_0xe6d9c2=_0x959f9f[_0xc6c44f(0x22a)])==null?void 0x0:_0xe6d9c2[_0x217f48[_0xc6c44f(0x173)]];return _0x15bf12==null||_0x437859==null?[]:[{'row':_0x15bf12,'col':_0x437859,'value':_0x217f48[_0xc6c44f(0x1e1)]}];}),_0x4e4939=new W()[_0x99a261(0x1c0)](_0x558c4d,_0xfe89c6,_0x4e282c),_0x1dd378=new z()[_0x99a261(0x38e)](_0x558c4d,_0x4e4939),_0x2f4be1={'unitId':_0x4e538b,'op':_0x4e4939,'trigger':_0x2dd5e7[_0x99a261(0x1bf)]?ho['id']:void 0x0,'hierarchyChanges':_0x2dd5e7[_0x99a261(0x1bf)]?_0x2dd5e7:void 0x0,'source':_0x2dd5e7[_0x99a261(0x1bf)]?'redo':void 0x0},_0x4f33f9={'unitId':_0x4e538b,'op':_0x1dd378,'trigger':_0x2dd5e7['length']?ho['id']:void 0x0,'hierarchyChanges':_0x2dd5e7['length']?_0x2dd5e7[_0x99a261(0x412)](_0x3761f8=>({..._0x3761f8,'oldParentRecordId':_0x3761f8[_0x99a261(0x3a5)],'parentRecordId':_0x3761f8[_0x99a261(0x410)]})):void 0x0,'source':_0x2dd5e7[_0x99a261(0x1bf)]?_0x99a261(0x175):void 0x0},_0x218850={..._0x2f4be1,'source':_0x2dd5e7[_0x99a261(0x1bf)]?_0x2039e5[_0x99a261(0x300)]??'ui':void 0x0};return _0x21a156[_0x99a261(0x2f7)](Q['id'],_0x218850)?(_0x1567fb[_0x99a261(0x354)](_0x4e538b),_0x3acd[_0x99a261(0x244)]({'unitID':_0x4e538b,'undoMutations':[{'id':Q['id'],'params':_0x4f33f9}],'redoMutations':[{'id':Q['id'],'params':_0x2f4be1}]}),!0x0):!0x1;}},go={'id':_0x327967(0x128),'type':_0x281ad9[_0x327967(0x23d)],'handler'(_0x58ac84,_0x4cac65){const _0x525ee9=_0x327967;if(!_0x4cac65)return!0x1;let _0x9cc9fb=_0x58ac84['get'](_0x3a38b9),{unitId:_0x8074ab,tableId:_0x9d808f,patches:_0x19a73a}=_0x4cac65,_0x3d6275=_0x9cc9fb['getUnit'](_0x8074ab,_0x49a6be[_0x525ee9(0xf9)]),_0x4fb316=_0x19a73a[_0x525ee9(0x412)](_0x9888ed=>_0x9888ed['recordId']),_0xda5091=_0x19a73a[_0x525ee9(0xeb)](_0x5ce8da=>Object[_0x525ee9(0x27a)](_0x5ce8da['values']));if(!_0x3d6275||!$(_0x3d6275,_0x9d808f,{'recordIds':_0x4fb316,'fieldIds':_0xda5091})||_0x19a73a[_0x525ee9(0x35d)](_0x5bd038=>Object[_0x525ee9(0x209)](_0x5bd038[_0x525ee9(0x259)])[_0x525ee9(0x35d)](([_0x411bc3,_0x59b947])=>!ga(_0x3d6275,_0x9d808f,_0x411bc3,_0x59b947))))return!0x1;let _0x2a79f9=Ze(_0x3d6275[_0x525ee9(0x32b)]()[_0x525ee9(0x486)][_0x9d808f],_0x19a73a),_0x5c7d95=_0x58ac84[_0x525ee9(0x318)](_0x2823d6),_0x4524c1=_0x58ac84[_0x525ee9(0x318)](_0x15f92a),_0x189acb=_0x58ac84[_0x525ee9(0x318)](Kr)[_0x525ee9(0x289)](_0x3d6275,_0x9d808f,_0x19a73a),_0x26501b=new z()['invertOp'](_0x3d6275[_0x525ee9(0x32b)](),_0x189acb),_0x29dae0={'unitId':_0x8074ab,'op':_0x189acb,'trigger':_0x2a79f9[_0x525ee9(0x1bf)]?go['id']:void 0x0,'hierarchyChanges':_0x2a79f9[_0x525ee9(0x1bf)]?_0x2a79f9:void 0x0,'source':_0x2a79f9['length']?_0x4cac65[_0x525ee9(0x300)]??'ui':void 0x0},_0x150405={..._0x29dae0,'source':_0x2a79f9[_0x525ee9(0x1bf)]?_0x525ee9(0x274):void 0x0},_0x151447={'unitId':_0x8074ab,'op':_0x26501b,'trigger':_0x2a79f9[_0x525ee9(0x1bf)]?go['id']:void 0x0,'hierarchyChanges':_0x2a79f9[_0x525ee9(0x1bf)]?_0x2a79f9[_0x525ee9(0x412)](_0x261dac=>({..._0x261dac,'oldParentRecordId':_0x261dac[_0x525ee9(0x3a5)],'parentRecordId':_0x261dac[_0x525ee9(0x410)]})):void 0x0,'source':_0x2a79f9[_0x525ee9(0x1bf)]?_0x525ee9(0x175):void 0x0};return _0x5c7d95[_0x525ee9(0x2f7)](Q['id'],_0x29dae0)?(_0x9cc9fb[_0x525ee9(0x354)](_0x8074ab),_0x4524c1[_0x525ee9(0x244)]({'unitID':_0x8074ab,'undoMutations':[{'id':Q['id'],'params':_0x151447}],'redoMutations':[{'id':Q['id'],'params':_0x150405}]}),!0x0):!0x1;}},_o={'id':_0x327967(0x481),'type':_0x281ad9['COMMAND'],'handler':(_0x260771,_0x266317)=>{const _0x232d89=_0x327967;if(!_0x266317)return!0x1;let {unitId:_0x4711f0,tableId:_0x1f9eb3,fieldId:_0x4512fa}=_0x266317,_0x1d2e43=_0x260771['get'](_0x3a38b9),_0x25b42c=_0x1d2e43[_0x232d89(0x1d4)](_0x4711f0,_0x49a6be['UNIVER_BASE']);if(!_0x25b42c||!$(_0x25b42c,_0x1f9eb3))return!0x1;let _0x23cd6a=_0x25b42c[_0x232d89(0x32b)](),_0x4493ff=_0x23cd6a[_0x232d89(0x486)][_0x1f9eb3];if(_0x4512fa!==null&&!F(_0x4493ff,_0x4512fa))throw new P(_0x232d89(0x421));if(qe(_0x4493ff)===_0x4512fa)return!0x0;let _0x33dbcc=new W(),_0x1680a1=R(Object[_0x232d89(0x259)](_0x4493ff[_0x232d89(0x305)])[_0x232d89(0xeb)](_0x21430b=>{const _0x41b77e=_0x232d89;if(!F(_0x4493ff,_0x21430b['id']))return[];let _0x3766d9=N(_0x21430b);if(!_0x3766d9)return[];let _0x27c4f2=_0x21430b['id']===_0x4512fa;if(_0x3766d9[_0x41b77e(0x382)]===_0x3e0df7['Parent']===_0x27c4f2)return[];let _0x43d785={..._0x21430b[_0x41b77e(0x174)],'targetTableId':_0x3766d9[_0x41b77e(0x16b)],'multiple':_0x3766d9[_0x41b77e(0x3eb)]};return _0x27c4f2?_0x43d785['relationRole']=_0x3e0df7[_0x41b77e(0x4a4)]:delete _0x43d785[_0x41b77e(0x382)],[_0x33dbcc[_0x41b77e(0x3de)](_0x23cd6a,_0x1f9eb3,_0x21430b['id'],{'config':_0x43d785})];})),_0x344bd=new z()[_0x232d89(0x38e)](_0x23cd6a,_0x1680a1),_0x44cfb8={'unitId':_0x4711f0,'op':_0x1680a1},_0x3238fd={'unitId':_0x4711f0,'op':_0x344bd};return _0x260771[_0x232d89(0x318)](_0x2823d6)['syncExecuteCommand'](Q['id'],_0x44cfb8)?(_0x1d2e43[_0x232d89(0x354)](_0x4711f0),_0x260771[_0x232d89(0x318)](_0x15f92a)[_0x232d89(0x244)]({'unitID':_0x4711f0,'undoMutations':[{'id':Q['id'],'params':_0x3238fd}],'redoMutations':[{'id':Q['id'],'params':_0x44cfb8}]}),!0x0):!0x1;}},vo={'id':'base.command.set-base-view-field-order','type':_0x281ad9[_0x327967(0x23d)],'handler':(_0x1a2cfd,_0x2a706f)=>{const _0x9b1253=_0x327967;if(!_0x2a706f)return!0x1;let _0x96c5b9=_0x1a2cfd[_0x9b1253(0x318)](_0x3a38b9),{unitId:_0x2127a4,tableId:_0x2237c3,viewId:_0x5afce7,fieldId:_0xd3d052,target:_0x578395}=_0x2a706f,_0x10ee59=_0x96c5b9[_0x9b1253(0x1d4)](_0x2127a4,_0x49a6be['UNIVER_BASE']),_0x1ba52c=_0x578395[_0x9b1253(0x25b)]??_0x578395[_0x9b1253(0x338)];if(!_0x10ee59||!_0x1ba52c||_0x1ba52c===_0xd3d052||!$(_0x10ee59,_0x2237c3,{'viewIds':[_0x5afce7],'fieldIds':[_0xd3d052,_0x1ba52c]}))return!0x1;let _0x32d1a4=_0x10ee59[_0x9b1253(0x32b)]()[_0x9b1253(0x486)][_0x2237c3],_0x5f10f7=_0x32d1a4[_0x9b1253(0x305)][_0xd3d052],_0x5e0be6=_0x32d1a4[_0x9b1253(0x305)][_0x1ba52c];if(_0x5f10f7[_0x9b1253(0x272)]===!0x0||_0x5f10f7[_0x9b1253(0x346)]===_0x1013ad[_0x9b1253(0x212)]||_0x5e0be6[_0x9b1253(0x272)]===!0x0||_0x5e0be6[_0x9b1253(0x346)]===_0x1013ad['RecordId'])return!0x1;let _0x1c0de6=_0x1a2cfd['get'](_0x2823d6),_0x15280b=_0x1a2cfd['get'](_0x15f92a),_0x3b649f=_0x10ee59[_0x9b1253(0x32b)](),_0x582757=new W()[_0x9b1253(0x25d)](_0x3b649f,_0x2237c3,_0x5afce7,_0xd3d052,_0x578395),_0x42b6c3=new z()[_0x9b1253(0x38e)](_0x3b649f,_0x582757),_0xea819e={'unitId':_0x2127a4,'op':_0x582757},_0x5ccfe1={'unitId':_0x2127a4,'op':_0x42b6c3};return _0x1c0de6['syncExecuteCommand'](Q['id'],_0xea819e)?(_0x96c5b9[_0x9b1253(0x354)](_0x2127a4),_0x15280b[_0x9b1253(0x244)]({'unitID':_0x2127a4,'undoMutations':[{'id':Q['id'],'params':_0x5ccfe1}],'redoMutations':[{'id':Q['id'],'params':_0xea819e}]}),!0x0):!0x1;}},yo={'id':_0x327967(0x11e),'type':_0x281ad9[_0x327967(0x23d)],'handler'(_0x5c4213,_0xdc68e2){const _0x1deebf=_0x327967;if(!_0xdc68e2)return!0x1;let _0x692e0c=_0x5c4213[_0x1deebf(0x318)](_0x3a38b9),{unitId:_0x4ed630,tableId:_0x2b7eb8,viewId:_0x5eb06a,fieldId:_0x5cdd17,visible:_0x147691}=_0xdc68e2,_0x556053=_0x692e0c[_0x1deebf(0x1d4)](_0x4ed630,_0x49a6be[_0x1deebf(0xf9)]);if(!_0x556053||!$(_0x556053,_0x2b7eb8,{'viewIds':[_0x5eb06a],'fieldIds':[_0x5cdd17]}))return!0x1;let _0x3c99c3=_0x556053[_0x1deebf(0x32b)]()[_0x1deebf(0x486)][_0x2b7eb8][_0x1deebf(0x305)][_0x5cdd17];if(_0x3c99c3['system']===!0x0||_0x3c99c3[_0x1deebf(0x346)]===_0x1013ad[_0x1deebf(0x212)])return!0x1;let _0x3bd86f=_0x5c4213[_0x1deebf(0x318)](_0x2823d6),_0x12305f=_0x5c4213['get'](_0x15f92a),_0x32a9a3=_0x556053[_0x1deebf(0x32b)](),_0x713b82=new W()[_0x1deebf(0x326)](_0x32a9a3,_0x2b7eb8,_0x5eb06a,_0x5cdd17,_0x147691),_0xe8a1cc=new z()['invertOp'](_0x32a9a3,_0x713b82),_0x526ffc={'unitId':_0x4ed630,'op':_0x713b82},_0x97fa55={'unitId':_0x4ed630,'op':_0xe8a1cc};return _0x3bd86f['syncExecuteCommand'](Q['id'],_0x526ffc)?(_0x692e0c[_0x1deebf(0x354)](_0x4ed630),_0x12305f[_0x1deebf(0x244)]({'unitID':_0x4ed630,'undoMutations':[{'id':Q['id'],'params':_0x97fa55}],'redoMutations':[{'id':Q['id'],'params':_0x526ffc}]}),!0x0):!0x1;}},bo={'id':_0x327967(0x3e4),'type':_0x281ad9[_0x327967(0x23d)],'handler':(_0x2c211a,_0x161afb)=>{const _0xe7925d=_0x327967;if(!_0x161afb)return!0x1;let _0x4f033e=_0x2c211a[_0xe7925d(0x318)](_0x3a38b9),{unitId:_0x51e6df,tableId:_0x2c701b,viewId:_0x3d4f79,fieldId:_0x743452,width:_0x28de8b}=_0x161afb,_0x1114a3=_0x4f033e[_0xe7925d(0x1d4)](_0x51e6df,_0x49a6be[_0xe7925d(0xf9)]);if(!_0x1114a3||!$(_0x1114a3,_0x2c701b,{'viewIds':[_0x3d4f79],'fieldIds':[_0x743452]}))return!0x1;let _0x4004bd=_0x1114a3[_0xe7925d(0x32b)]()[_0xe7925d(0x486)][_0x2c701b][_0xe7925d(0x305)][_0x743452];if(_0x4004bd['system']===!0x0||_0x4004bd['type']===_0x1013ad['RecordId'])return!0x1;let _0x273ec4=_0x2c211a[_0xe7925d(0x318)](_0x2823d6),_0x2a2fcf=_0x2c211a['get'](_0x15f92a),_0x1b0860=_0x1114a3[_0xe7925d(0x32b)](),_0x4ba9e3=new W()[_0xe7925d(0x492)](_0x1b0860,_0x2c701b,_0x3d4f79,_0x743452,_0x28de8b),_0x5b0dcb=new z()[_0xe7925d(0x38e)](_0x1b0860,_0x4ba9e3),_0x23f744={'unitId':_0x51e6df,'op':_0x4ba9e3},_0x1c66a7={'unitId':_0x51e6df,'op':_0x5b0dcb};return _0x273ec4['syncExecuteCommand'](Q['id'],_0x23f744)?(_0x4f033e['focusUnit'](_0x51e6df),_0x2a2fcf['pushUndoRedo']({'unitID':_0x51e6df,'undoMutations':[{'id':Q['id'],'params':_0x1c66a7}],'redoMutations':[{'id':Q['id'],'params':_0x23f744}]}),!0x0):!0x1;}},xo={'id':_0x327967(0x215),'type':_0x281ad9[_0x327967(0x23d)],'handler':(_0x200fd5,_0xe93f64)=>{const _0x5e867f=_0x327967;if(!_0xe93f64)return!0x1;let _0x182f69=_0x200fd5[_0x5e867f(0x318)](_0x3a38b9),{unitId:_0x20958b,tableId:_0x1b8ffe,viewId:_0x483ce1,filter:_0x2a1cbb}=_0xe93f64,_0x3f7c13=_0x182f69[_0x5e867f(0x1d4)](_0x20958b,_0x49a6be[_0x5e867f(0xf9)]),_0x1ab2f0=(_0x2a1cbb==null?void 0x0:_0x2a1cbb['conditions'][_0x5e867f(0x412)](_0xf89876=>_0xf89876[_0x5e867f(0x173)]))??[];if(!_0x3f7c13||!$(_0x3f7c13,_0x1b8ffe,{'viewIds':[_0x483ce1],'fieldIds':_0x1ab2f0}))return!0x1;let _0x543697=_0x200fd5['get'](_0x2823d6),_0x27dfe3=_0x200fd5[_0x5e867f(0x318)](_0x15f92a),_0x23afab=_0x3f7c13['getSnapshot'](),_0x3ae907=new W()['setViewFilter'](_0x23afab,_0x1b8ffe,_0x483ce1,_0x2a1cbb),_0x556616=new z()[_0x5e867f(0x38e)](_0x23afab,_0x3ae907),_0x384d59={'unitId':_0x20958b,'op':_0x3ae907},_0x235523={'unitId':_0x20958b,'op':_0x556616};return _0x543697[_0x5e867f(0x2f7)](Q['id'],_0x384d59)?(_0x182f69[_0x5e867f(0x354)](_0x20958b),_0x27dfe3[_0x5e867f(0x244)]({'unitID':_0x20958b,'undoMutations':[{'id':Q['id'],'params':_0x235523}],'redoMutations':[{'id':Q['id'],'params':_0x384d59}]}),!0x0):!0x1;}},So={'id':_0x327967(0x2eb),'type':_0x281ad9[_0x327967(0x23d)],'handler':(_0x404685,_0x293724)=>{const _0x4538f3=_0x327967;if(!_0x293724)return!0x1;let _0x104007=_0x404685['get'](_0x3a38b9),{unitId:_0x3af44f,tableId:_0x4384b0,viewId:_0x4f4ca4,group:_0x2f4deb}=_0x293724,_0x2099c4=_0x104007[_0x4538f3(0x1d4)](_0x3af44f,_0x49a6be['UNIVER_BASE']);if(!_0x2099c4||!$(_0x2099c4,_0x4384b0,{'viewIds':[_0x4f4ca4],'fieldIds':_0x2f4deb[_0x4538f3(0x412)](_0x55c485=>_0x55c485['fieldId'])}))return!0x1;let _0x1f7f9e=_0x404685['get'](_0x2823d6),_0x383350=_0x404685[_0x4538f3(0x318)](_0x15f92a),_0x4e9956=_0x2099c4[_0x4538f3(0x32b)](),_0x49eae0=new W()[_0x4538f3(0x356)](_0x4e9956,_0x4384b0,_0x4f4ca4,_0x2f4deb),_0x45afde=new z()[_0x4538f3(0x38e)](_0x4e9956,_0x49eae0),_0x5d8122={'unitId':_0x3af44f,'op':_0x49eae0},_0x48f933={'unitId':_0x3af44f,'op':_0x45afde};return _0x1f7f9e[_0x4538f3(0x2f7)](Q['id'],_0x5d8122)?(_0x104007[_0x4538f3(0x354)](_0x3af44f),_0x383350[_0x4538f3(0x244)]({'unitID':_0x3af44f,'undoMutations':[{'id':Q['id'],'params':_0x48f933}],'redoMutations':[{'id':Q['id'],'params':_0x5d8122}]}),!0x0):!0x1;}},Co={'id':_0x327967(0x1af),'type':_0x281ad9[_0x327967(0x23d)],'handler':(_0x89ca2a,_0x40eafe)=>{const _0x5f268a=_0x327967;if(!_0x40eafe)return!0x1;let _0x2365f2=_0x89ca2a[_0x5f268a(0x318)](_0x3a38b9),{unitId:_0x47df24,tableId:_0x594df6,viewId:_0x3abf93,sort:_0x49bc04}=_0x40eafe,_0x4b65e9=_0x2365f2[_0x5f268a(0x1d4)](_0x47df24,_0x49a6be['UNIVER_BASE']);if(!_0x4b65e9||!$(_0x4b65e9,_0x594df6,{'viewIds':[_0x3abf93],'fieldIds':_0x49bc04[_0x5f268a(0x412)](_0x1718a1=>_0x1718a1[_0x5f268a(0x173)])}))return!0x1;let _0x3b9340=_0x89ca2a[_0x5f268a(0x318)](_0x2823d6),_0x38d003=_0x89ca2a[_0x5f268a(0x318)](_0x15f92a),_0x2030b6=_0x4b65e9['getSnapshot'](),_0x2edf91=new W()['setViewSort'](_0x2030b6,_0x594df6,_0x3abf93,_0x49bc04),_0x401fd6=new z()[_0x5f268a(0x38e)](_0x2030b6,_0x2edf91),_0x2328a3={'unitId':_0x47df24,'op':_0x2edf91},_0x317611={'unitId':_0x47df24,'op':_0x401fd6};return _0x3b9340['syncExecuteCommand'](Q['id'],_0x2328a3)?(_0x2365f2[_0x5f268a(0x354)](_0x47df24),_0x38d003[_0x5f268a(0x244)]({'unitID':_0x47df24,'undoMutations':[{'id':Q['id'],'params':_0x317611}],'redoMutations':[{'id':Q['id'],'params':_0x2328a3}]}),!0x0):!0x1;}},wo={'id':_0x327967(0x314),'type':_0x281ad9['COMMAND'],'handler'(_0x43e271,_0x4d79ad){const _0x2d971e=_0x327967;if(!_0x4d79ad)return!0x1;let _0x1e95e5=_0x43e271['get'](_0x3a38b9),{unitId:_0x21467d,tableId:_0x4bb41c,recordId:_0x16eacc,fieldId:_0x3a870f,value:_0x555506}=_0x4d79ad,_0x391219=_0x1e95e5[_0x2d971e(0x1d4)](_0x21467d,_0x49a6be[_0x2d971e(0xf9)]);if(!_0x391219||!$(_0x391219,_0x4bb41c,{'recordIds':[_0x16eacc],'fieldIds':[_0x3a870f]})||!ga(_0x391219,_0x4bb41c,_0x3a870f,_0x555506))return!0x1;let _0x539c35=_0x391219['getSnapshot']()[_0x2d971e(0x486)][_0x4bb41c],_0x46c6ae=F(_0x539c35,_0x3a870f)&&Xe(_0x539c35)[_0x2d971e(0x45c)](_0x3a870f),_0x50566d=_0x46c6ae?tt(_0x539c35,_0x3a870f):null,_0xcd8904=(_0x50566d==null?void 0x0:_0x50566d[_0x2d971e(0x47c)][_0x2d971e(0x318)](_0x16eacc))??null,_0x240081=_0x46c6ae?Le(_0x555506)[0x0]??null:null;if(_0x50566d){if(_0x240081&&!_0x539c35[_0x2d971e(0x1d7)][_0x240081])throw new P(_0x2d971e(0x3bd));let _0x387f95=it(_0x50566d,_0x16eacc,_0x240081);if(!_0x387f95[_0x2d971e(0x48b)])throw new P(_0x387f95[_0x2d971e(0x3bf)]===_0x240c41[_0x2d971e(0x38b)]?_0x2d971e(0x43b):_0x387f95['reason']===_0x240c41[_0x2d971e(0x2d8)]?_0x2d971e(0x403):_0x2d971e(0x231));}let _0x35b470=_0x43e271[_0x2d971e(0x318)](_0x2823d6),_0x1b61ba=_0x43e271[_0x2d971e(0x318)](_0x15f92a),_0x1f6e6e=_0x43e271[_0x2d971e(0x318)](Kr),_0x345cc8;try{_0x345cc8=_0x1f6e6e[_0x2d971e(0x3a0)](_0x391219,_0x4bb41c,_0x16eacc,_0x3a870f,_0x555506);}catch(_0x258887){return console[_0x2d971e(0x313)](_0x2d971e(0xf1),_0x258887),!0x1;}let _0x10cd3e=new z()[_0x2d971e(0x38e)](_0x391219[_0x2d971e(0x32b)](),_0x345cc8),_0x41b574=_0x46c6ae&&_0xcd8904!==_0x240081?[{'tableId':_0x4bb41c,'fieldId':_0x3a870f,'recordId':_0x16eacc,'oldParentRecordId':_0xcd8904,'parentRecordId':_0x240081}]:void 0x0,_0x33120d={'unitId':_0x21467d,'op':_0x345cc8,'trigger':_0x41b574?wo['id']:void 0x0,'hierarchyChanges':_0x41b574,'source':_0x41b574?_0x4d79ad[_0x2d971e(0x300)]??'ui':void 0x0},_0x27ca6c={..._0x33120d,'source':_0x41b574?'redo':void 0x0},_0x1b6e65={'unitId':_0x21467d,'op':_0x10cd3e,'trigger':_0x41b574?wo['id']:void 0x0,'hierarchyChanges':_0x41b574==null?void 0x0:_0x41b574[_0x2d971e(0x412)](_0x4e7ef9=>({..._0x4e7ef9,'oldParentRecordId':_0x4e7ef9[_0x2d971e(0x3a5)],'parentRecordId':_0x4e7ef9[_0x2d971e(0x410)]})),'source':_0x41b574?'undo':void 0x0};return _0x35b470['syncExecuteCommand'](Q['id'],_0x33120d)?(_0x1e95e5[_0x2d971e(0x354)](_0x21467d),_0x1b61ba[_0x2d971e(0x244)]({'unitID':_0x21467d,'undoMutations':[{'id':Q['id'],'params':_0x1b6e65}],'redoMutations':[{'id':Q['id'],'params':_0x27ca6c}]}),!0x0):!0x1;}},To={'id':_0x327967(0x1fa),'type':_0x281ad9[_0x327967(0x23d)],'handler'(_0x4729f1,_0xac28e6){const _0x526ee9=_0x327967;if(!_0xac28e6)return!0x1;let _0x5b9b9a=_0x4729f1[_0x526ee9(0x318)](_0x3a38b9),{unitId:_0xb3bd44,tableId:_0x2985ae,fieldId:_0x2d5e1b}=_0xac28e6,_0xc9847e=_0x5b9b9a['getUnit'](_0xb3bd44,_0x49a6be[_0x526ee9(0xf9)]);if(!_0xc9847e||!$(_0xc9847e,_0x2985ae,{'fieldIds':[_0x2d5e1b]}))return!0x1;let _0x302fea=_0x4729f1[_0x526ee9(0x318)](_0x2823d6),_0x11ca5c=_0x4729f1[_0x526ee9(0x318)](_0x15f92a),_0x5a8679=_0xc9847e[_0x526ee9(0x32b)](),_0x318dec=_0xac28e6['description'][_0x526ee9(0x140)](),_0x344741=new W()[_0x526ee9(0x3de)](_0x5a8679,_0x2985ae,_0x2d5e1b,{'description':_0x318dec}),_0x6c85d1=new z()[_0x526ee9(0x38e)](_0xc9847e['getSnapshot'](),_0x344741),_0x27e828={'unitId':_0xb3bd44,'op':_0x344741},_0x535352={'unitId':_0xb3bd44,'op':_0x6c85d1};return _0x302fea[_0x526ee9(0x2f7)](Q['id'],_0x27e828)?(_0x5b9b9a['focusUnit'](_0xb3bd44),_0x11ca5c[_0x526ee9(0x244)]({'unitID':_0xb3bd44,'undoMutations':[{'id':Q['id'],'params':_0x535352}],'redoMutations':[{'id':Q['id'],'params':_0x27e828}]}),!0x0):!0x1;}},Eo={'id':_0x327967(0x11f),'type':_0x281ad9[_0x327967(0x23d)],'handler':(_0x28ec39,_0xa2c6ec)=>{const _0x2b2b8b=_0x327967;if(!_0xa2c6ec)return!0x1;let _0x52397d=_0x28ec39[_0x2b2b8b(0x318)](_0x3a38b9),{unitId:_0x2f7446,tableId:_0x5b9332,fieldId:_0x235030,patch:_0x39dd93}=_0xa2c6ec,_0x163329=_0x52397d[_0x2b2b8b(0x1d4)](_0x2f7446,_0x49a6be[_0x2b2b8b(0xf9)]);if(!_0x163329||_0x235030===_0x40fc9d||!$(_0x163329,_0x5b9332,{'fieldIds':[_0x235030]}))return!0x1;let _0x4f8a86=_0x28ec39[_0x2b2b8b(0x318)](_0x2823d6),_0x2cdbdc=_0x28ec39[_0x2b2b8b(0x318)](_0x15f92a),_0x237df5=_0x163329[_0x2b2b8b(0x32b)]();if(!ha(_0x163329,_0x5b9332,{..._0x237df5['tables'][_0x5b9332]['fields'][_0x235030],..._0x39dd93}))return!0x1;let _0x4ff35f=new W()[_0x2b2b8b(0x3de)](_0x237df5,_0x5b9332,_0x235030,_0x39dd93),_0x290dc0=new z()[_0x2b2b8b(0x38e)](_0x237df5,_0x4ff35f),_0x27fc70={'unitId':_0x2f7446,'op':_0x4ff35f},_0x1cfb24={'unitId':_0x2f7446,'op':_0x290dc0};return _0x4f8a86['syncExecuteCommand'](Q['id'],_0x27fc70)?(_0x52397d['focusUnit'](_0x2f7446),_0x2cdbdc[_0x2b2b8b(0x244)]({'unitID':_0x2f7446,'undoMutations':[{'id':Q['id'],'params':_0x1cfb24}],'redoMutations':[{'id':Q['id'],'params':_0x27fc70}]}),!0x0):!0x1;}},Do={'id':_0x327967(0x359),'type':_0x281ad9['COMMAND'],'handler':(_0x3c67b2,_0x14c61f)=>{const _0x314ce8=_0x327967;if(!_0x14c61f)return!0x1;let _0x5ddd08=_0x3c67b2[_0x314ce8(0x318)](_0x3a38b9),{unitId:_0x44bbaf,tableId:_0x5bf869,viewId:_0x113d49,patch:_0x186183}=_0x14c61f,_0x278f95=_0x5ddd08[_0x314ce8(0x1d4)](_0x44bbaf,_0x49a6be[_0x314ce8(0xf9)]);if(!_0x278f95||!$(_0x278f95,_0x5bf869,{'viewIds':[_0x113d49]}))return!0x1;let _0x36bc72=_0x3c67b2[_0x314ce8(0x318)](_0x2823d6),_0x4d7c64=_0x3c67b2['get'](_0x15f92a),_0x1bf30e=_0x278f95[_0x314ce8(0x32b)](),_0xf88110=new W()['updateViewConfig'](_0x1bf30e,_0x5bf869,_0x113d49,_0x186183),_0x2b5768=new z()[_0x314ce8(0x38e)](_0x1bf30e,_0xf88110),_0x15ea55={'unitId':_0x44bbaf,'op':_0xf88110},_0x4f283d={'unitId':_0x44bbaf,'op':_0x2b5768};return _0x36bc72[_0x314ce8(0x2f7)](Q['id'],_0x15ea55)?(_0x5ddd08['focusUnit'](_0x44bbaf),_0x4d7c64[_0x314ce8(0x244)]({'unitID':_0x44bbaf,'undoMutations':[{'id':Q['id'],'params':_0x4f283d}],'redoMutations':[{'id':Q['id'],'params':_0x15ea55}]}),!0x0):!0x1;}},Oo={'id':_0x327967(0x1b9),'type':_0x281ad9[_0x327967(0x23d)],'handler':(_0x53f030,_0x327d61)=>{const _0x54173e=_0x327967;if(!_0x327d61)return!0x1;let _0x3ce4d5=_0x53f030['get'](_0x3a38b9),{unitId:_0x1ff8f2,tableId:_0x3d97e7,recordId:_0x52d1a6,orderKey:_0x56dee7}=_0x327d61,_0x4e2afb=_0x3ce4d5[_0x54173e(0x1d4)](_0x1ff8f2,_0x49a6be[_0x54173e(0xf9)]);if(!_0x4e2afb||!$(_0x4e2afb,_0x3d97e7,{'recordIds':[_0x52d1a6]}))return!0x1;let _0x356764=_0x53f030[_0x54173e(0x318)](_0x2823d6),_0x3e2580=_0x53f030[_0x54173e(0x318)](_0x15f92a),_0x575bd4=_0x4e2afb[_0x54173e(0x32b)](),_0x117b52=new W()[_0x54173e(0x19e)](_0x575bd4,_0x3d97e7,_0x52d1a6,_0x56dee7),_0x4e2154=new z()[_0x54173e(0x38e)](_0x575bd4,_0x117b52),_0x336447={'unitId':_0x1ff8f2,'op':_0x117b52},_0x5ad532={'unitId':_0x1ff8f2,'op':_0x4e2154};return _0x356764['syncExecuteCommand'](Q['id'],_0x336447)?(_0x3ce4d5[_0x54173e(0x354)](_0x1ff8f2),_0x3e2580['pushUndoRedo']({'unitID':_0x1ff8f2,'undoMutations':[{'id':Q['id'],'params':_0x5ad532}],'redoMutations':[{'id':Q['id'],'params':_0x336447}]}),!0x0):!0x1;}};let ko=function(_0x3f6af1){const _0x14bb19=_0x327967;return _0x3f6af1[_0x14bb19(0x329)]=_0x14bb19(0x3fe),_0x3f6af1['Add']='add',_0x3f6af1[_0x14bb19(0x2a3)]=_0x14bb19(0x253),_0x3f6af1[_0x14bb19(0x370)]=_0x14bb19(0x2fa),_0x3f6af1;}({});const Ao={'id':'base.command.update-base-view-conditional-color-rules','type':_0x281ad9[_0x327967(0x23d)],'handler':(_0x220daa,_0x891fdb)=>{const _0x39bd06=_0x327967;var _0x4b6302;if(!_0x891fdb)return!0x1;let _0x407d11=_0x220daa['get'](_0x3a38b9),_0x17c8ce=_0x407d11['getUnit'](_0x891fdb[_0x39bd06(0x409)],_0x49a6be[_0x39bd06(0xf9)]);if(!_0x17c8ce||!$(_0x17c8ce,_0x891fdb[_0x39bd06(0x19a)],{'viewIds':[_0x891fdb[_0x39bd06(0x2d0)]]}))return!0x1;let _0x4d6d6c=_0x17c8ce[_0x39bd06(0x32b)](),_0x5b63a8=_0x4d6d6c[_0x39bd06(0x486)][_0x891fdb['tableId']],_0xfa2ba2=jo(((_0x4b6302=_0x5b63a8[_0x39bd06(0x1eb)][_0x891fdb['viewId']][_0x39bd06(0x174)]['conditionalColoring'])==null?void 0x0:_0x4b6302[_0x39bd06(0x21a)])??[],_0x891fdb);if(!_0xfa2ba2)return!0x1;Mo(_0x5b63a8,_0xfa2ba2);let _0x2f14a2=new W()[_0x39bd06(0x18c)](_0x4d6d6c,_0x891fdb[_0x39bd06(0x19a)],_0x891fdb['viewId'],{'conditionalColoring':_0xfa2ba2[_0x39bd06(0x1bf)]?{'rules':_0xfa2ba2}:null}),_0x1a8e0d=new z()['invertOp'](_0x4d6d6c,_0x2f14a2),_0x6acd4c={'unitId':_0x891fdb[_0x39bd06(0x409)],'op':_0x2f14a2},_0x5231b8={'unitId':_0x891fdb[_0x39bd06(0x409)],'op':_0x1a8e0d};return _0x220daa[_0x39bd06(0x318)](_0x2823d6)[_0x39bd06(0x2f7)](Q['id'],_0x6acd4c)?(_0x407d11[_0x39bd06(0x354)](_0x891fdb[_0x39bd06(0x409)]),_0x220daa[_0x39bd06(0x318)](_0x15f92a)[_0x39bd06(0x244)]({'unitID':_0x891fdb[_0x39bd06(0x409)],'undoMutations':[{'id':Q['id'],'params':_0x5231b8}],'redoMutations':[{'id':Q['id'],'params':_0x6acd4c}]}),!0x0):!0x1;}};function jo(_0x597c41,_0x1a324c){const _0x3ada3e=_0x327967;switch(_0x1a324c[_0x3ada3e(0x346)]){case _0x3ada3e(0x3fe):return _0x2ea00f[_0x3ada3e(0x3e0)](_0x1a324c[_0x3ada3e(0x21a)]);case _0x3ada3e(0x12e):return[..._0x2ea00f[_0x3ada3e(0x3e0)](_0x597c41),_0x2ea00f[_0x3ada3e(0x3e0)](_0x1a324c[_0x3ada3e(0x44d)])];case'delete':{let _0x4723e7=_0x597c41['filter'](_0x5af91b=>_0x5af91b['id']!==_0x1a324c[_0x3ada3e(0x2d6)]);return _0x4723e7[_0x3ada3e(0x1bf)]===_0x597c41[_0x3ada3e(0x1bf)]?null:_0x2ea00f[_0x3ada3e(0x3e0)](_0x4723e7);}case'clear':return _0x597c41[_0x3ada3e(0x1bf)]?[]:null;}}function Mo(_0x5d5d2c,_0x34d942){const _0x4b30a8=_0x327967;if(!Array[_0x4b30a8(0x3fb)](_0x34d942))throw TypeError(_0x4b30a8(0x424));let _0x294710=new Set();for(let [_0x3d0582,_0x3fb4ab]of _0x34d942[_0x4b30a8(0x209)]())Po(_0x5d5d2c,_0x3fb4ab,No(_0x3fb4ab,_0x3d0582,_0x294710));}function No(_0x153d89,_0xa9b1fe,_0x15ce74){const _0x5a6a3b=_0x327967;if(!_0x153d89||typeof _0x153d89!=_0x5a6a3b(0x3d8))throw TypeError(_0x5a6a3b(0x2bf)+_0xa9b1fe+_0x5a6a3b(0x261));let _0x26d1ce=typeof _0x153d89['id']==_0x5a6a3b(0x2a0)&&_0x153d89['id'][_0x5a6a3b(0x140)]()?'\x22'+_0x153d89['id']+'\x22':_0x5a6a3b(0x301)+_0xa9b1fe;if(typeof _0x153d89['id']!='string'||!_0x153d89['id'][_0x5a6a3b(0x140)]())throw Error(_0x5a6a3b(0x21e)+_0x26d1ce+_0x5a6a3b(0x40f));if(_0x15ce74['has'](_0x153d89['id']))throw Error(_0x5a6a3b(0x182)+_0x153d89['id']+'\x22.');_0x15ce74[_0x5a6a3b(0x12e)](_0x153d89['id']);let _0x4efcc8=typeof _0x153d89[_0x5a6a3b(0x233)]=='string'&&_0x153d89['color']['trim']()?new _0x377ff1(_0x153d89[_0x5a6a3b(0x233)]):null;if(!(_0x4efcc8!=null&&_0x4efcc8[_0x5a6a3b(0x1e4)]))throw Error(_0x5a6a3b(0x21e)+_0x26d1ce+_0x5a6a3b(0x47e));return _0x26d1ce;}function Po(_0x278625,_0x2981c2,_0x1e9237){const _0x24492f=_0x327967;let _0x27abae=new Set(Object['values'](_0x49363a)),_0x2f9dd6=new Set(Object[_0x24492f(0x259)](_0x4710de)),_0x40a646=new Set(Object[_0x24492f(0x259)](_0x1467aa));if(!_0x27abae[_0x24492f(0x103)](_0x2981c2[_0x24492f(0x469)]))throw Error(_0x24492f(0x21e)+_0x1e9237+'\x20has\x20unsupported\x20target\x20\x22'+String(_0x2981c2[_0x24492f(0x469)])+'\x22.');let _0x5ee588=typeof _0x2981c2[_0x24492f(0x173)]=='string'?_0x278625[_0x24492f(0x305)][_0x2981c2[_0x24492f(0x173)]]:void 0x0;if(!_0x5ee588||_0x5ee588[_0x24492f(0x272)]===!0x0||_0x5ee588['type']===_0x1013ad[_0x24492f(0x212)])throw Error(_0x24492f(0x21e)+_0x1e9237+_0x24492f(0x477)+String(_0x2981c2[_0x24492f(0x173)])+'\x22.');if(!_0x2f9dd6[_0x24492f(0x103)](_0x2981c2[_0x24492f(0xfb)]))throw Error(_0x24492f(0x21e)+_0x1e9237+_0x24492f(0x208)+String(_0x2981c2['operator'])+'\x22.');if(_0x2981c2[_0x24492f(0x365)]!==void 0x0&&!_0x40a646[_0x24492f(0x103)](_0x2981c2[_0x24492f(0x365)]))throw Error(_0x24492f(0x21e)+_0x1e9237+'\x20has\x20unsupported\x20date\x20mode\x20\x22'+String(_0x2981c2[_0x24492f(0x365)])+'\x22.');if(_0x2981c2['target']===_0x49363a[_0x24492f(0x18e)])return;let _0x2f14a1=vn(_0x5ee588[_0x24492f(0x346)]);if(!_0x2f14a1[_0x24492f(0x45c)](_0x2981c2[_0x24492f(0xfb)]))throw Error('[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20'+_0x1e9237+'\x20cannot\x20use\x20operator\x20\x22'+_0x2981c2['operator']+_0x24492f(0x1aa)+_0x5ee588[_0x24492f(0x346)]+_0x24492f(0x13a)+_0x2f14a1['join'](',\x20')+'.');if(_0x2981c2['dateMode']!==void 0x0&&!yn(_0x5ee588[_0x24492f(0x346)]))throw Error('[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20'+_0x1e9237+'\x20can\x20use\x20dateMode\x20only\x20with\x20Date,\x20CreatedAt,\x20or\x20UpdatedAt\x20fields.');}const Fo={'id':_0x327967(0x281),'type':_0x281ad9['COMMAND'],'handler':(_0x54215b,_0xb21f21)=>{const _0x50496e=_0x327967;if(!_0xb21f21)return!0x1;let _0x5f0a87=_0x54215b[_0x50496e(0x318)](_0x3a38b9),{unitId:_0x33254b,tableId:_0x3ae027,viewId:_0x1434f3,patch:_0x3d47ce}=_0xb21f21,_0x5f4705=_0x5f0a87[_0x50496e(0x1d4)](_0x33254b,_0x49a6be['UNIVER_BASE']);if(!_0x5f4705||!$(_0x5f4705,_0x3ae027,{'viewIds':[_0x1434f3]}))return!0x1;let _0x5c2d24=_0x54215b[_0x50496e(0x318)](_0x2823d6),_0x3b194a=_0x54215b[_0x50496e(0x318)](_0x15f92a),_0x41f1d6=_0x5f4705[_0x50496e(0x32b)](),_0x4f8cfe=new W()[_0x50496e(0x18c)](_0x41f1d6,_0x3ae027,_0x1434f3,_0x3d47ce),_0x2613de=new z()['invertOp'](_0x41f1d6,_0x4f8cfe),_0x109078={'unitId':_0x33254b,'op':_0x4f8cfe},_0x74b4c5={'unitId':_0x33254b,'op':_0x2613de};return _0x5c2d24['syncExecuteCommand'](Q['id'],_0x109078)?(_0x5f0a87['focusUnit'](_0x33254b),_0x3b194a['pushUndoRedo']({'unitID':_0x33254b,'undoMutations':[{'id':Q['id'],'params':_0x74b4c5}],'redoMutations':[{'id':Q['id'],'params':_0x109078}]}),!0x0):!0x1;}},Io={'id':'base.command.validate-formula','type':_0x281ad9['COMMAND'],'handler'(_0x59410e,_0x59ae5d){const _0x2c0d01=_0x327967;if(!_0x59ae5d)return{'valid':!0x1,'reason':'[BaseFormula]:\x20validation\x20parameters\x20are\x20required.'};let _0x1a7ccf=_0x59410e[_0x2c0d01(0x318)](_0x3a38b9)[_0x2c0d01(0x1d4)](_0x59ae5d[_0x2c0d01(0x409)],_0x49a6be[_0x2c0d01(0xf9)]),_0x1506bc=_0x1a7ccf==null?void 0x0:_0x1a7ccf[_0x2c0d01(0x32b)](),_0x3847e8=_0x1506bc==null?void 0x0:_0x1506bc[_0x2c0d01(0x486)][_0x59ae5d[_0x2c0d01(0x19a)]];return!_0x1506bc||!_0x3847e8?{'valid':!0x1,'reason':'[BaseFormula]:\x20table\x20does\x20not\x20exist.'}:new Xi()['validateFormula'](_0x59ae5d[_0x2c0d01(0x377)],_0x3847e8,{'snapshot':_0x1506bc});}};let Lo=class extends _0x58664a{constructor(_0x52e841){const _0x4f7cfa=_0x327967;super(_0x52e841,'BASE_OBJECT_PERMISSION_PLUGIN',_0x49a6be[_0x4f7cfa(0xf9)],[_0x230625[_0x4f7cfa(0x312)],_0x230625[_0x4f7cfa(0x262)],_0x230625[_0x4f7cfa(0x163)],_0x230625[_0x4f7cfa(0x232)],_0x230625[_0x4f7cfa(0x27d)]]);}};Lo=X([Y(0x0,_0x2a6b91)],Lo);const Ro={'id':_0x327967(0x415),'type':_0x281ad9[_0x327967(0x48e)],'handler':(_0xad5604,_0x51788d)=>!_0x51788d||!_0xad5604[_0x327967(0x318)](_0x3a38b9)[_0x327967(0x1d4)](_0x51788d[_0x327967(0x409)],_0x49a6be[_0x327967(0xf9)])?!0x1:_0xad5604[_0x327967(0x318)](Lo)[_0x327967(0x374)](_0x51788d['unitId'],_0x51788d[_0x327967(0x197)],_0x51788d[_0x327967(0x136)],_0x51788d['rule'])},zo={'id':_0x327967(0x20b),'type':_0x281ad9[_0x327967(0x48e)],'handler':(_0x12f99a,_0x5703a2)=>!_0x5703a2||!_0x12f99a['get'](_0x3a38b9)[_0x327967(0x1d4)](_0x5703a2['unitId'],_0x49a6be[_0x327967(0xf9)])?!0x1:_0x12f99a[_0x327967(0x318)](Lo)[_0x327967(0x28e)](_0x5703a2[_0x327967(0x409)],_0x5703a2[_0x327967(0x21a)])};function Bo(_0x51c3d7){const _0x50289d=_0x327967;let _0x5d708b=_0x51c3d7['now']??Date[_0x50289d(0xfa)](),_0xb4341e=_0x51c3d7[_0x50289d(0x44a)]??_0x51c3d7['id']+_0x50289d(0x1bb),_0x47febc=_0x51c3d7[_0x50289d(0x35e)]??_0x51c3d7['id']+_0x50289d(0x237),_0x447d99=_0x51c3d7[_0x50289d(0x2a1)]??0x0,_0x5c14a6=_0x529243(),_0xaf75ee={'id':_0xb4341e,'name':_0x51c3d7[_0x50289d(0x225)]??'Name','type':_0x1013ad[_0x50289d(0x2cb)],'config':{'placeholder':_0x50289d(0xfd)}},_0x22ef6d={},_0x2863ff=[],_0x1e97c6={},_0x42e23e={},_0x588d69={};for(let _0x105f3c=0x0;_0x105f3c<_0x447d99;_0x105f3c++){let _0x1a11c3=_0x51c3d7['id']+_0x50289d(0x14f)+(_0x105f3c+0x1);_0x22ef6d[_0x1a11c3]={'id':_0x1a11c3,'values':{[_0x40fc9d]:_0x1a11c3,..._0x51c3d7['recordNamePrefix']?{[_0xb4341e]:_0x51c3d7[_0x50289d(0x2fc)]+'\x20'+(_0x105f3c+0x1)}:{}},'orderKey':String(_0x105f3c+0x1)[_0x50289d(0x1cd)](0x4,'0'),'createdAt':_0x5d708b,'updatedAt':_0x5d708b},_0x2863ff['push'](_0x1a11c3),_0x1e97c6[_0x1a11c3]=_0x105f3c,_0x42e23e[_0x105f3c]=_0x1a11c3,_0x588d69[_0x105f3c]={0x0:{'v':_0x1a11c3,'t':_0x556bff[_0x50289d(0x334)]}},_0x51c3d7[_0x50289d(0x2fc)]&&(_0x588d69[_0x105f3c][0x1]={'v':_0x51c3d7['recordNamePrefix']+'\x20'+(_0x105f3c+0x1),'t':_0x556bff[_0x50289d(0x334)]});}let _0xb5eeef={'id':_0x47febc,'tableId':_0x51c3d7['id'],'name':'Grid','type':_0x3dd96c[_0x50289d(0xdc)],'fieldOrder':[_0x40fc9d,_0xb4341e],'fieldSettings':{[_0x40fc9d]:{'hidden':!0x0}},'config':{'frozenFieldCount':0x1}};return{'id':_0x51c3d7['id'],'name':_0x51c3d7[_0x50289d(0x158)],'primaryFieldId':_0xb4341e,'fieldOrder':[_0x40fc9d,_0xb4341e],'fields':{[_0x40fc9d]:_0x5c14a6,[_0xb4341e]:_0xaf75ee},'records':_0x22ef6d,'recordOrder':_0x2863ff,'rowIndex':_0x1e97c6,'rowId':_0x42e23e,'colIndex':{[_0x40fc9d]:0x0,[_0xb4341e]:0x1},'colId':{0x0:_0x40fc9d,0x1:_0xb4341e},'cellData':_0x588d69,'views':{[_0x47febc]:_0xb5eeef},'viewOrder':[_0x47febc]};}const Vo=_0x327967(0x2b7);function Ho(_0xf1e471){const _0x5b3a15=_0x327967;let _0x4cd33c=Bo({'id':_0xf1e471[_0x5b3a15(0x21b)],'name':_0xf1e471['name']??_0xf1e471[_0x5b3a15(0x239)],'recordCount':0x0});return{..._0x4cd33c,'resources':{..._0x4cd33c[_0x5b3a15(0x2b3)]??{},[Vo]:Go(_0xf1e471)}};}function Uo(_0x493d20){const _0x4ffb75=_0x327967;return{'id':Q['id'],'params':{'unitId':_0x493d20[_0x4ffb75(0x409)],'op':_0x43163e[_0x4ffb75(0x346)][_0x4ffb75(0x13d)](_0x43163e[_0x4ffb75(0xf4)]([_0x4ffb75(0x486),_0x493d20['table']['id']],_0x493d20[_0x4ffb75(0x496)]),_0x43163e[_0x4ffb75(0xf4)](['tableOrder',_0x493d20[_0x4ffb75(0x1b6)]??_0x493d20[_0x4ffb75(0x484)]['tableOrder'][_0x4ffb75(0x1bf)]],_0x493d20['table']['id'])),'trigger':_0x4ffb75(0x385)}};}function Wo(_0x55ab13){const _0x1e42f1=_0x327967;let _0x509065=_0x55ab13[_0x1e42f1(0x484)]['tableOrder'][_0x1e42f1(0x1c5)](_0x55ab13[_0x1e42f1(0x19a)]);if(!(!_0x55ab13['snapshot'][_0x1e42f1(0x486)][_0x55ab13[_0x1e42f1(0x19a)]]||_0x509065<0x0))return{'id':Q['id'],'params':{'unitId':_0x55ab13[_0x1e42f1(0x409)],'op':_0x43163e[_0x1e42f1(0x346)][_0x1e42f1(0x13d)](_0x43163e[_0x1e42f1(0x3e5)]([_0x1e42f1(0x486),_0x55ab13[_0x1e42f1(0x19a)]],_0x55ab13[_0x1e42f1(0x484)][_0x1e42f1(0x486)][_0x55ab13[_0x1e42f1(0x19a)]]),_0x43163e[_0x1e42f1(0x3e5)](['tableOrder',_0x509065],_0x55ab13[_0x1e42f1(0x19a)])),'trigger':'embed-ui'}};}function Go(_0x484098){const _0x57e5ee=_0x327967;return{'version':0x1,'embedId':_0x484098[_0x57e5ee(0x239)],'hostAnchorId':_0x484098[_0x57e5ee(0x21b)],'childUnitId':_0x484098[_0x57e5ee(0x425)],'childType':_0x484098['childType']};}function Ko(_0x3bbb9e){const _0x4872c3=_0x327967;let _0x4972d3=Math[_0x4872c3(0x31a)](0x0,Number(_0x3bbb9e[_0x4872c3(0x43e)]??0x0)),_0x13cd1a=_0x3bbb9e[_0x4872c3(0x1ef)]===!0x1?'0':_0x4872c3(0x2be),_0x12e813=_0x4972d3?'.'+'0'[_0x4872c3(0x219)](_0x4972d3):'',_0x19a521=Jo(_0x3bbb9e[_0x4872c3(0x3b6)]);return''+(_0x3bbb9e[_0x4872c3(0x497)]?Yo(_0x3bbb9e['currencySymbol']):'')+_0x13cd1a+_0x12e813+_0x19a521;}function qo(_0xaa042c,_0x456f54){const _0x5a4909=_0x327967;let _0x586809=Ko(_0x456f54),_0x3ebb52=_0x50b573[_0x5a4909(0x493)](_0x586809,_0xaa042c,{'throws':!0x1});return Xo(String(_0x3ebb52),_0x456f54[_0x5a4909(0x480)],_0x456f54[_0x5a4909(0x200)]);}function Jo(_0x368630){const _0x1d450c=_0x327967;return _0x368630==='K'?_0x1d450c(0x473):_0x368630==='M'?',,\x22M\x22':_0x368630==='B'?',,,\x22B\x22':'';}function Yo(_0x9adabe){const _0x4355c7=_0x327967;return/^[A-Z]+$/i[_0x4355c7(0x3e2)](_0x9adabe)?'\x22'+_0x9adabe+'\x22':_0x9adabe;}function Xo(_0xb06c57,_0x1f0ed8,_0x2f9b54){const _0x55e4ee=_0x327967;let _0x3bc7b0=_0x1f0ed8===_0x55e4ee(0xea)?Zo(_0x2f9b54):_0x1f0ed8;return _0x3bc7b0===_0x55e4ee(0x3c6)?_0xb06c57[_0x55e4ee(0x42d)](/,/g,'\x00')[_0x55e4ee(0x42d)](/\./g,',')[_0x55e4ee(0x42d)](/\0/g,'.'):_0x3bc7b0===_0x55e4ee(0x28a)?_0xb06c57[_0x55e4ee(0x42d)](/,/g,'\x20')[_0x55e4ee(0x42d)](/\./g,','):_0x3bc7b0===_0x55e4ee(0x31d)?_0xb06c57['replace'](/,/g,'\x20'):_0xb06c57;}function Zo(_0x17c3f6){const _0x45a487=_0x327967;var _0x45a1b6,_0x456e00;let _0x37b384=_0x17c3f6||new Intl[(_0x45a487(0x341))]()['resolvedOptions']()[_0x45a487(0x200)],_0x1832a5;try{_0x1832a5=new Intl[(_0x45a487(0x341))](_0x37b384,{'minimumFractionDigits':0x2,'maximumFractionDigits':0x2,'useGrouping':!0x0})['formatToParts'](0xf4240);}catch{return _0x45a487(0x251);}let _0x2abc01=(_0x45a1b6=_0x1832a5['find'](_0x3b95a2=>_0x3b95a2[_0x45a487(0x346)]==='group'))==null?void 0x0:_0x45a1b6[_0x45a487(0x1e1)],_0x1a5a10=(_0x456e00=_0x1832a5[_0x45a487(0x451)](_0x395353=>_0x395353[_0x45a487(0x346)]===_0x45a487(0x283)))==null?void 0x0:_0x456e00[_0x45a487(0x1e1)],_0x3dd91d=_0x2abc01==='\u00a0'||_0x2abc01==='\u202f'?'\x20':_0x2abc01;return _0x3dd91d==='.'&&_0x1a5a10===','?_0x45a487(0x3c6):_0x3dd91d==='\x20'&&_0x1a5a10===','?_0x45a487(0x28a):_0x3dd91d==='\x20'&&_0x1a5a10==='.'?'spacePeriod':_0x45a487(0x251);}function Qo(_0x3bacf6,_0x3ad9db){const _0x19faa3=_0x327967;let _0x1c9a3b=_0x3ad9db&&typeof _0x3ad9db=='object'&&!Array[_0x19faa3(0x3fb)](_0x3ad9db)?_0x3ad9db:{},_0x5e352f=$o(_0x1c9a3b[_0x19faa3(0x43e)],0x0,0x2,0x0),_0x52c850=_0x3bacf6['toFixed'](_0x5e352f);return _0x1c9a3b['format']===_0x19faa3(0x218)?_0x52c850:_0x52c850+'%';}function $o(_0x37307f,_0x20ec86,_0x1e326e,_0x25e5bf){const _0x55ef1a=_0x327967;if(_0x37307f==null||_0x37307f==='')return _0x25e5bf;let _0xcd1326=typeof _0x37307f==_0x55ef1a(0x218)?_0x37307f:Number(_0x37307f);return Number[_0x55ef1a(0x138)](_0xcd1326)?Math[_0x55ef1a(0x31a)](_0x20ec86,Math[_0x55ef1a(0x37a)](_0x1e326e,Math[_0x55ef1a(0x407)](_0xcd1326))):_0x25e5bf;}const es=[_0x327967(0x1c4),_0x327967(0x193),_0x327967(0x13c),_0x327967(0x2da),_0x327967(0x1f5),'average',_0x327967(0x37a),_0x327967(0x31a)],ts=[_0x327967(0x1c4),_0x327967(0x193),_0x327967(0x13c),'unique'],ns=[_0x327967(0x1f5),_0x327967(0x184),_0x327967(0x37a),_0x327967(0x31a)],rs=[_0x327967(0x37a),'max'],is=new Set([_0x1013ad[_0x327967(0x302)],_0x1013ad[_0x327967(0x295)],_0x1013ad[_0x327967(0x3e1)],_0x1013ad['Rating']]),as=new Set([_0x1013ad[_0x327967(0x190)],_0x1013ad[_0x327967(0x3df)],_0x1013ad[_0x327967(0xf7)]]),os=_0x327967(0x149);function ss(_0x1a053f){const _0x508b27=_0x327967;return typeof _0x1a053f==_0x508b27(0x2a0)&&es[_0x508b27(0x45c)](_0x1a053f);}function cs(_0x443f6b){const _0x1ab410=_0x327967;return!_0x443f6b||typeof _0x443f6b!=_0x1ab410(0x3d8)?{}:Object['fromEntries'](Object[_0x1ab410(0x209)](_0x443f6b)[_0x1ab410(0x1be)](_0x439601=>ss(_0x439601[0x1])));}function ls(_0x363455){const _0x1f8485=_0x327967;return is[_0x1f8485(0x103)](_0x363455['type'])?[...ts,...ns]:_0x363455[_0x1f8485(0x346)]===_0x1013ad[_0x1f8485(0x3d9)]?[...ts,...ws(_0x363455)===_0x1f8485(0x17a)?rs:ns]:ts;}function us(_0x171306,_0x32fddd){const _0x731a0f=_0x327967;return ls(_0x171306)[_0x731a0f(0x45c)](_0x32fddd);}function ds(_0x251679,_0x1a598a,_0x551f88){const _0x453600=_0x327967;if(!us(_0x251679,_0x551f88))return null;let _0x50dfd8=_0x1a598a[_0x453600(0x1be)](_0x1bedcb=>!ps(_0x251679,_0x1bedcb));switch(_0x551f88){case _0x453600(0x1c4):return _0x1a598a[_0x453600(0x1bf)];case _0x453600(0x193):return _0x50dfd8[_0x453600(0x1bf)];case _0x453600(0x13c):return _0x1a598a[_0x453600(0x1bf)]-_0x50dfd8[_0x453600(0x1bf)];case'unique':return new Set(_0x50dfd8[_0x453600(0x412)](_0x45aba3=>_s(_0x251679,_0x45aba3)))[_0x453600(0x1d0)];case _0x453600(0x1f5):{let _0x30bc28=ms(_0x251679,_0x50dfd8);return _0x30bc28[_0x453600(0x1bf)]?gs(_0x30bc28):null;}case'average':{let _0xdf7ae0=ms(_0x251679,_0x50dfd8);return _0xdf7ae0[_0x453600(0x1bf)]?gs(_0xdf7ae0)/_0xdf7ae0[_0x453600(0x1bf)]:null;}case'min':{let _0xb340fc=ms(_0x251679,_0x50dfd8);return _0xb340fc[_0x453600(0x1bf)]?Math[_0x453600(0x37a)](..._0xb340fc):null;}case'max':{let _0x168878=ms(_0x251679,_0x50dfd8);return _0x168878[_0x453600(0x1bf)]?Math['max'](..._0x168878):null;}}}function fs(_0x541b8e,_0x2ea56f,_0x171432){const _0x1d01e8=_0x327967;if(_0x171432==null||!Number[_0x1d01e8(0x138)](_0x171432))return'-';if(ts[_0x1d01e8(0x45c)](_0x2ea56f))return String(_0x171432);switch(_0x541b8e[_0x1d01e8(0x346)]){case _0x1013ad[_0x1d01e8(0x302)]:return qo(_0x171432,xs(_0x541b8e));case _0x1013ad[_0x1d01e8(0x295)]:return qo(_0x171432,Ss(_0x541b8e));case _0x1013ad[_0x1d01e8(0x3e1)]:return Qo(_0x171432,_0x541b8e[_0x1d01e8(0x174)]);case _0x1013ad[_0x1d01e8(0x3d9)]:return Cs(_0x171432,_0x541b8e);default:return Es(_0x171432);}}function ps(_0x2bd740,_0x5f20a1){const _0x1bc029=_0x327967;if(_0x5f20a1==null)return!0x0;if(typeof _0x5f20a1=='string')return _0x5f20a1['trim']()==='';if(Array[_0x1bc029(0x3fb)](_0x5f20a1))return _0x2bd740[_0x1bc029(0x346)]===_0x1013ad[_0x1bc029(0x49d)]?!_0x5f20a1[_0x1bc029(0x35d)](bs):_0x5f20a1[_0x1bc029(0x1bf)]===0x0;if(_0x2bd740['type']===_0x1013ad[_0x1bc029(0x170)]&&typeof _0x5f20a1==_0x1bc029(0x3d8)){let _0x144bdf=_0x5f20a1;return[_0x144bdf[_0x1bc029(0x179)],_0x144bdf[_0x1bc029(0x15e)]][_0x1bc029(0x44b)](_0x15ef4d=>_0x15ef4d==null||String(_0x15ef4d)[_0x1bc029(0x140)]()==='');}return!0x1;}function ms(_0x36eac1,_0x328a3e){const _0x44e569=_0x327967;let _0x36a96d=[];for(let _0x4e7147 of _0x328a3e){let _0x59fc3b=hs(_0x36eac1,_0x4e7147);_0x59fc3b!=null&&_0x36a96d[_0x44e569(0x161)](_0x59fc3b);}return _0x36a96d;}function hs(_0xfe34b8,_0x2f537f){const _0x1af97f=_0x327967;if(typeof _0x2f537f==_0x1af97f(0x218))return Number[_0x1af97f(0x138)](_0x2f537f)?_0x2f537f:null;if(_0xfe34b8[_0x1af97f(0x346)]!==_0x1013ad[_0x1af97f(0x3d9)]&&typeof _0x2f537f=='string'&&_0x2f537f[_0x1af97f(0x140)]()!==''){let _0x4ab893=Number(_0x2f537f);return Number[_0x1af97f(0x138)](_0x4ab893)?_0x4ab893:null;}return null;}function gs(_0x4b10df){const _0x3d72e0=_0x327967;let _0x58fe03=0x0,_0x36408e=0x0;for(let _0x3808e1 of _0x4b10df){let _0xede298=_0x58fe03+_0x3808e1;_0x36408e+=Math[_0x3d72e0(0x379)](_0x58fe03)>=Math[_0x3d72e0(0x379)](_0x3808e1)?_0x58fe03-_0xede298+_0x3808e1:_0x3808e1-_0xede298+_0x58fe03,_0x58fe03=_0xede298;}return _0x58fe03+_0x36408e;}function _s(_0x21c8d2,_0x44ec54){const _0x122bae=_0x327967;return as[_0x122bae(0x103)](_0x21c8d2[_0x122bae(0x346)])&&Array[_0x122bae(0x3fb)](_0x44ec54)?ys([...new Set(_0x44ec54[_0x122bae(0x412)](_0x4e5437=>ys(vs(_0x4e5437))))]['sort']()):ys(vs(_0x44ec54));}function vs(_0xdc8854){const _0x19eaad=_0x327967;return Array[_0x19eaad(0x3fb)](_0xdc8854)?_0xdc8854[_0x19eaad(0x412)](vs):_0xdc8854&&typeof _0xdc8854=='object'?Object['fromEntries'](Object['entries'](_0xdc8854)[_0x19eaad(0x460)](([_0x52555c],[_0x3301b3])=>_0x52555c[_0x19eaad(0x3a4)](_0x3301b3))[_0x19eaad(0x412)](([_0x30ffe8,_0x49e6ad])=>[_0x30ffe8,vs(_0x49e6ad)])):_0xdc8854;}function ys(_0x4dfe38){const _0x6cc1ab=_0x327967;return JSON['stringify'](_0x4dfe38)??_0x6cc1ab(0x367);}function bs(_0x54b324){const _0x1fe163=_0x327967;if(typeof _0x54b324==_0x1fe163(0x2a0))return _0x54b324[_0x1fe163(0x140)]()!=='';if(!_0x54b324||typeof _0x54b324!='object')return!0x1;let _0x45cfcb=_0x54b324;return[_0x45cfcb['id'],_0x45cfcb[_0x1fe163(0x158)],_0x45cfcb[_0x1fe163(0x300)],_0x45cfcb[_0x1fe163(0x15e)],_0x45cfcb['thumbnail']]['some'](_0xaa31b=>_0xaa31b!=null&&String(_0xaa31b)[_0x1fe163(0x140)]()!=='');}function xs(_0x944e5b){const _0x1446e2=_0x327967;let _0x29f9ab=Ds(_0x944e5b[_0x1446e2(0x174)]);return{'decimalPlaces':ks(_0x29f9ab[_0x1446e2(0x43e)],0x0,0x14,0x2),'separatorStyle':typeof _0x29f9ab[_0x1446e2(0x480)]==_0x1446e2(0x2a0)?_0x29f9ab[_0x1446e2(0x480)]:'local','locale':typeof _0x29f9ab[_0x1446e2(0x200)]==_0x1446e2(0x2a0)?_0x29f9ab[_0x1446e2(0x200)]:void 0x0,'useThousands':_0x29f9ab['useThousands']!==!0x1,'abbreviation':typeof _0x29f9ab['abbreviation']==_0x1446e2(0x2a0)?_0x29f9ab['abbreviation']:_0x1446e2(0x2d2)};}function Ss(_0x5055e7){const _0x22d425=_0x327967;let _0x384509=Ds(_0x5055e7[_0x22d425(0x174)]);return{...xs(_0x5055e7),'currencySymbol':String(_0x384509[_0x22d425(0x497)]??'$')};}function Cs(_0x4871d9,_0x3b2ff0){const _0x470a78=_0x327967;let _0x5022f7=Ts(_0x3b2ff0);if(_0x5022f7===os)return Es(_0x4871d9);try{return String(_0x50b573[_0x470a78(0x493)](_0x5022f7,_0x4871d9,{'throws':!0x1}));}catch{return Es(_0x4871d9);}}function ws(_0x2e9976){const _0x4c5baf=_0x327967;let _0x588c81=Ds(Ds(_0x2e9976[_0x4c5baf(0x174)])[_0x4c5baf(0x286)]);return typeof _0x588c81[_0x4c5baf(0x346)]==_0x4c5baf(0x2a0)?_0x588c81[_0x4c5baf(0x346)]:_0x4c5baf(0x42c);}function Ts(_0x586ebf){const _0x4c6040=_0x327967;let _0x36384b=Ds(Ds(_0x586ebf[_0x4c6040(0x174)])['numfmt']);return String(_0x36384b[_0x4c6040(0x2d7)]??os)['trim']()||os;}function Es(_0x32522e){const _0x2efdc6=_0x327967;return String(Number[_0x2efdc6(0xe9)](_0x32522e)?_0x32522e:Math[_0x2efdc6(0x407)]((_0x32522e+0x2**-0x34)*0x64)/0x64);}function Ds(_0x2354d1){const _0x1b68d4=_0x327967;return _0x2354d1&&typeof _0x2354d1==_0x1b68d4(0x3d8)&&!Array[_0x1b68d4(0x3fb)](_0x2354d1)?_0x2354d1:{};}function Os(_0x4fcacf){const _0x368abb=_0x327967;if(_0x4fcacf==null||_0x4fcacf==='')return null;let _0x2e9360=typeof _0x4fcacf==_0x368abb(0x218)?_0x4fcacf:Number(_0x4fcacf);return Number[_0x368abb(0x138)](_0x2e9360)?_0x2e9360:null;}function ks(_0x1b22a4,_0x944a5,_0x493414,_0x2d171f){const _0x25e4ab=_0x327967;let _0x3deb91=Os(_0x1b22a4);return _0x3deb91==null?_0x2d171f:Math[_0x25e4ab(0x31a)](_0x944a5,Math['min'](_0x493414,Math[_0x25e4ab(0x407)](_0x3deb91)));}function As(_0x6a6fcf,_0x2ab73c){const _0x1f6bcd=_0x327967;let _0x3ea185=_0x2ea00f['deepClone'](_0x6a6fcf),_0x59e6f8=_0x2ab73c['includeRecords']===!0x0,_0x33e535=new Map(),_0x7c527b=_0x2ab73c['createViewId']??(()=>'view-'+_0x1dd020(0x8)),_0x1baeab=_0x3ea185['viewOrder'];return _0x2ab73c[_0x1f6bcd(0x3f1)]&&(_0x1baeab=_0x3ea185[_0x1f6bcd(0x2e1)][_0x1f6bcd(0x412)](_0x10ce81=>{const _0x1984ec=_0x1f6bcd;let _0x237dc4=_0x7c527b();return _0x33e535[_0x1984ec(0x3fe)](_0x10ce81,_0x237dc4),_0x237dc4;})),{..._0x3ea185,'id':_0x2ab73c['id'],'name':_0x2ab73c[_0x1f6bcd(0x158)],'records':_0x59e6f8?_0x3ea185[_0x1f6bcd(0x1d7)]:{},'recordOrder':_0x59e6f8?_0x3ea185[_0x1f6bcd(0x1e2)]:[],'rowIndex':_0x59e6f8?_0x3ea185[_0x1f6bcd(0x257)]:{},'rowId':_0x59e6f8?_0x3ea185[_0x1f6bcd(0x2a7)]:{},'cellData':_0x59e6f8?_0x3ea185[_0x1f6bcd(0xdd)]:{},'resources':_0x59e6f8?_0x3ea185[_0x1f6bcd(0x2b3)]:{},'viewOrder':_0x1baeab,'views':Object[_0x1f6bcd(0x49f)](Object[_0x1f6bcd(0x209)](_0x3ea185[_0x1f6bcd(0x1eb)]??{})[_0x1f6bcd(0x412)](([_0x4b7ab5,_0x4a4fcd])=>{const _0x224575=_0x1f6bcd;let _0x239375=_0x33e535[_0x224575(0x318)](_0x4b7ab5)??(_0x2ab73c[_0x224575(0x3f1)]?_0x7c527b():_0x4b7ab5);return[_0x239375,{..._0x4a4fcd,'id':_0x239375,'tableId':_0x2ab73c['id']}];}))};}var js=_0x327967(0x14e),Ms=_0x327967(0x48d);const Ns={},Ps={};function Fs(_0x248705){return new z()['getAffectedRanges'](_0x248705);}function Is(_0x488b1c){const _0xcdcda1=_0x327967;return _0x488b1c[_0xcdcda1(0x14b)][_0xcdcda1(0x412)](_0x4ea842=>({'unitId':_0x488b1c['unitId'],'sheetId':_0x488b1c[_0xcdcda1(0x19a)],'range':{'startRow':_0x4ea842['row'],'endRow':_0x4ea842[_0xcdcda1(0x124)],'startColumn':_0x4ea842[_0xcdcda1(0x36b)],'endColumn':_0x4ea842[_0xcdcda1(0x36b)]}}));}function Ls(_0x1e7ff5,_0x453a67){return{[_0x1e7ff5]:Object['fromEntries'](_0x453a67['map'](_0x2d82ef=>[_0x2d82ef,'1']))};}let Rs=class extends _0x4de356{constructor(_0xa8d219,_0x20c41a){const _0x52a0bb=_0x327967;super(),this[_0x52a0bb(0x363)]=_0xa8d219,this[_0x52a0bb(0x33f)]=_0x20c41a,this[_0x52a0bb(0x28c)]();}['_initialize'](){const _0x668124=_0x327967;this[_0x668124(0x363)][_0x668124(0x263)](Q['id'],{'commandId':Q['id'],'getDirtyData':_0xd5b30f=>this['_getJson1DirtyData'](_0xd5b30f[_0x668124(0x303)])}),this[_0x668124(0x29e)](_0x569b00(()=>{const _0x31c0cc=_0x668124;this['_activeDirtyManagerService'][_0x31c0cc(0x13b)](Q['id']);}));}[_0x327967(0x25e)](_0x566a56,_0x587f34){const _0x31b044=_0x327967;let _0x16d4c2=this[_0x31b044(0x33f)][_0x31b044(0x1d4)](_0x566a56,_0x49a6be[_0x31b044(0xf9)]);return(_0x16d4c2==null?void 0x0:_0x16d4c2['getSnapshot']()[_0x31b044(0x486)][_0x587f34])??null;}[_0x327967(0x3ef)](_0x1d5b2a){const _0x3e7da7=_0x327967;if(_0x1d5b2a['trigger']==='formula.mutation.set-formula-calculation-result')return{};if(!_0x1d5b2a[_0x3e7da7(0x409)]||!_0x1d5b2a['op'])return{'clearDependencyTreeCache':this[_0x3e7da7(0x1ee)](),'forceCalculation':!0x0};let _0x3df471=Fs(_0x1d5b2a['op']),_0x2b1a87=this[_0x3e7da7(0x307)](_0x1d5b2a[_0x3e7da7(0x409)],_0x3df471);if(_0x2b1a87[_0x3e7da7(0x1bf)])return{'clearDependencyTreeCache':Ls(_0x1d5b2a[_0x3e7da7(0x409)],_0x2b1a87),'forceCalculation':!0x0};let _0x480be3=Object[_0x3e7da7(0x209)](this[_0x3e7da7(0x127)](_0x1d5b2a[_0x3e7da7(0x409)],_0x3df471))[_0x3e7da7(0xeb)](([_0x15a756,_0x326fa1])=>Is({'unitId':_0x1d5b2a[_0x3e7da7(0x409)],'tableId':_0x15a756,'patches':_0x326fa1}));return _0x480be3['length']?{'dirtyRanges':_0x480be3}:{};}[_0x327967(0x307)](_0x27394a,_0x7bf69b){const _0x1aec64=_0x327967;let _0x408045=_0x7bf69b[_0x1aec64(0x1be)](_0x4797a1=>_0x4797a1[_0x1aec64(0x3bf)]!==_0x1aec64(0x228))[_0x1aec64(0xeb)](_0x379120=>_0x379120[_0x1aec64(0x19a)]?[_0x379120[_0x1aec64(0x19a)]]:this[_0x1aec64(0x384)](_0x27394a));return Array['from'](new Set(_0x408045));}[_0x327967(0x127)](_0x453eb2,_0x36a17d){const _0xcf4214=_0x327967;let _0x535ef9=new Set();return _0x36a17d[_0xcf4214(0x3d6)]((_0x57ef77,_0x4824d7)=>{const _0x16db18=_0xcf4214;let _0x510849=this[_0x16db18(0x475)](_0x453eb2,_0x4824d7);if(!_0x510849)return _0x57ef77;let _0x4abf66=_0x4824d7[_0x16db18(0x19a)]+':'+_0x510849['row']+':'+_0x510849['col'];return _0x535ef9[_0x16db18(0x103)](_0x4abf66)?_0x57ef77:(_0x535ef9[_0x16db18(0x12e)](_0x4abf66),_0x57ef77[_0x4824d7['tableId']]=_0x57ef77[_0x4824d7[_0x16db18(0x19a)]]??[],_0x57ef77[_0x4824d7[_0x16db18(0x19a)]][_0x16db18(0x161)](_0x510849),_0x57ef77);},{});}[_0x327967(0x475)](_0x53be4c,_0x571f62){const _0x31164b=_0x327967;if(_0x571f62[_0x31164b(0x3bf)]!==_0x31164b(0x228))return null;if(_0x571f62[_0x31164b(0x124)]!=null&&_0x571f62[_0x31164b(0x115)]!=null)return{'row':_0x571f62[_0x31164b(0x124)],'col':_0x571f62[_0x31164b(0x115)],'value':null};if(!_0x571f62[_0x31164b(0x345)]||!_0x571f62[_0x31164b(0x173)])return null;let _0x572ad1=this[_0x31164b(0x25e)](_0x53be4c,_0x571f62[_0x31164b(0x19a)]);if(!_0x572ad1)return null;let _0x516efd=_t(_0x572ad1,_0x571f62[_0x31164b(0x345)],_0x571f62['fieldId']);return _0x516efd?{'row':_0x516efd[_0x31164b(0x124)],'col':_0x516efd['col'],'value':null}:null;}[_0x327967(0x384)](_0x13aa3a){const _0x27d06f=_0x327967;let _0x32bb01=this[_0x27d06f(0x33f)][_0x27d06f(0x1d4)](_0x13aa3a,_0x49a6be[_0x27d06f(0xf9)]);return Object[_0x27d06f(0x259)]((_0x32bb01==null?void 0x0:_0x32bb01[_0x27d06f(0x32b)]()[_0x27d06f(0x486)])??{})[_0x27d06f(0x412)](_0x62902c=>_0x62902c['id']);}[_0x327967(0x1ee)](){const _0x792883=_0x327967;let _0x1c0ee9=this['_univerInstanceService']['getAllUnitsForType'](_0x49a6be[_0x792883(0xf9)])[_0x792883(0x412)](_0x5a7e3e=>Ls(_0x5a7e3e[_0x792883(0x40a)](),Object[_0x792883(0x27a)](_0x5a7e3e[_0x792883(0x32b)]()[_0x792883(0x486)])));return Object[_0x792883(0x335)]({},..._0x1c0ee9);}};Rs=X([Y(0x0,_0x1624f9),Y(0x1,_0x3a38b9)],Rs);let zs=class extends _0x4de356{constructor(_0x3d2cac,_0x2d8ac0,_0x1b6faa,_0x7b5d19){const _0x430127=_0x327967;super(),this[_0x430127(0x1ba)]=_0x3d2cac,this[_0x430127(0x33f)]=_0x2d8ac0,this[_0x430127(0x217)]=_0x1b6faa,this[_0x430127(0x42e)]=_0x7b5d19,G(this,_0x430127(0x189),new Xi()),G(this,_0x430127(0x292),new Map()),G(this,_0x430127(0x450),new Set()),G(this,_0x430127(0x1c6),Promise[_0x430127(0x2d9)]()),G(this,_0x430127(0x222),!0x1),this['_initialize']();}['_initialize'](){const _0xdec188=_0x327967;this[_0xdec188(0x33f)]['getAllUnitsForType'](_0x49a6be[_0xdec188(0xf9)])[_0xdec188(0x29b)](_0x578149=>{this['_scheduleSuperTableSync'](_0x578149);}),this['disposeWithMe'](this[_0xdec188(0x33f)][_0xdec188(0x220)](_0x49a6be['UNIVER_BASE'])['subscribe'](({unit:_0x1faf9e})=>{this['_scheduleSuperTableSync'](_0x1faf9e);})),this[_0xdec188(0x29e)](this[_0xdec188(0x33f)][_0xdec188(0x38d)](_0x49a6be['UNIVER_BASE'])['subscribe'](_0xe6a1f1=>{const _0x16bc18=_0xdec188;this['_enqueueFormulaSync'](()=>this['_removeSuperTables'](_0xe6a1f1[_0x16bc18(0x40a)]()));})),this[_0xdec188(0x29e)](this[_0xdec188(0x1ba)][_0xdec188(0x250)](_0x163229=>this[_0xdec188(0x108)](_0x163229)));}['_onCommandExecuted'](_0x17fee6){const _0x15f948=_0x327967;if(_0x17fee6['id']===_0x30184a['id']){Vs(_0x17fee6[_0x15f948(0x303)])&&this[_0x15f948(0x230)](_0x17fee6[_0x15f948(0x303)]);return;}if(this[_0x15f948(0x222)]||_0x17fee6['id']!==Q['id'])return;let _0x3416f1=Bs(_0x17fee6[_0x15f948(0x303)])?_0x17fee6['params']:void 0x0,_0x400c90=_0x3416f1!=null&&_0x3416f1[_0x15f948(0x409)]?[this[_0x15f948(0x33f)][_0x15f948(0x1d4)](_0x3416f1[_0x15f948(0x409)],_0x49a6be[_0x15f948(0xf9)])][_0x15f948(0x1be)](_0x40b32f=>!!_0x40b32f):this[_0x15f948(0x33f)][_0x15f948(0x498)](_0x49a6be[_0x15f948(0xf9)]),_0x2cba3e=_0x3416f1==null?void 0x0:_0x3416f1['op'];_0x400c90[_0x15f948(0x29b)](_0x1d861d=>{const _0x58f564=_0x15f948;let _0x5ea62a=_0x2cba3e?Fs(_0x2cba3e):[];(!_0x2cba3e||_0x5ea62a[_0x58f564(0x35d)](_0x4250c0=>_0x4250c0[_0x58f564(0x3bf)]!==_0x58f564(0x228)))&&this[_0x58f564(0x1ad)](_0x1d861d);});}['_scheduleSuperTableSync'](_0x3fe683){const _0x10d297=_0x327967;let _0x9d65a9=_0x3fe683[_0x10d297(0x40a)]();this['_scheduledSuperTableSyncs'][_0x10d297(0x103)](_0x9d65a9)||(this[_0x10d297(0x450)][_0x10d297(0x12e)](_0x9d65a9),this['_enqueueFormulaSync'](async()=>{const _0x22c34b=_0x10d297;this['_scheduledSuperTableSyncs'][_0x22c34b(0x253)](_0x9d65a9),await this[_0x22c34b(0x17b)](_0x3fe683);}));}async[_0x327967(0x17b)](_0x2d863f){const _0x2dfbf6=_0x327967;let _0x5b6784=_0x2d863f[_0x2dfbf6(0x40a)](),_0x6aedba=this[_0x2dfbf6(0x189)]['getSuperTableRegistrations'](_0x2d863f[_0x2dfbf6(0x32b)]()),_0x36c969=new Set(_0x6aedba[_0x2dfbf6(0x412)](({tableName:_0x12e213})=>_0x12e213)),_0x200576=this[_0x2dfbf6(0x292)][_0x2dfbf6(0x318)](_0x5b6784)??new Set();for(let _0x3c2b7e of _0x200576)if(!_0x36c969[_0x2dfbf6(0x103)](_0x3c2b7e)&&!await this[_0x2dfbf6(0x265)](_0x3c0f14['id'],{'unitId':_0x5b6784,'tableName':_0x3c2b7e}))return;for(let {tableName:_0x12e947,reference:_0x2fc1b5}of _0x6aedba)if(!await this[_0x2dfbf6(0x265)](_0x574d24['id'],{'unitId':_0x5b6784,'tableName':_0x12e947,'reference':_0x2fc1b5}))return;this[_0x2dfbf6(0x292)][_0x2dfbf6(0x3fe)](_0x5b6784,_0x36c969);}async['_removeSuperTables'](_0x5b5b06){const _0x3744c5=_0x327967;let _0x3b9fc0=this[_0x3744c5(0x292)]['get'](_0x5b5b06)??new Set();for(let _0x2011c4 of _0x3b9fc0)if(!await this[_0x3744c5(0x265)](_0x3c0f14['id'],{'unitId':_0x5b5b06,'tableName':_0x2011c4}))return;this[_0x3744c5(0x292)][_0x3744c5(0x253)](_0x5b5b06);}async[_0x327967(0x265)](_0x1d5caa,_0x1185c6){const _0x3acce0=_0x327967;return!this['_disposed']&&await this[_0x3acce0(0x1ba)][_0x3acce0(0x27f)](_0x1d5caa,_0x1185c6,{'onlyLocal':!0x0})&&!this[_0x3acce0(0x169)];}[_0x327967(0x3dc)](_0x41fbc2){const _0x91d578=_0x327967;this['_formulaSyncQueue']=this[_0x91d578(0x1c6)][_0x91d578(0x116)](_0x41fbc2,_0x41fbc2)['catch'](()=>void 0x0);}['_applyFormulaResult'](_0x335a7){const _0x364c28=_0x327967;let _0x2f4763=this[_0x364c28(0x33f)]['getAllUnitsForType'](_0x49a6be[_0x364c28(0xf9)]);if(!_0x2f4763[_0x364c28(0x35d)](_0x27e87e=>{const _0x30ae74=_0x364c28;var _0x455620;return((_0x455620=_0x335a7['unitData'])==null?void 0x0:_0x455620[_0x27e87e[_0x30ae74(0x40a)]()])!=null;}))return;let _0x23fc8a=_0x2f4763['flatMap'](_0xf65f89=>Zi(_0xf65f89[_0x364c28(0x32b)](),_0x335a7));if(!_0x23fc8a[_0x364c28(0x1bf)]){this[_0x364c28(0x42e)][_0x364c28(0x1c9)](_0x4cbf5b[_0x364c28(0x130)],_0x335a7);return;}let _0x42f5e5=new W(),_0x3295fa=_0x23fc8a['flatMap'](_0x1a0f50=>Is({'unitId':_0x1a0f50['unitId'],'tableId':_0x1a0f50[_0x364c28(0x19a)],'patches':_0x1a0f50['patches']}));this[_0x364c28(0x222)]=!0x0,(async()=>{const _0x3af35=_0x364c28;for(let _0x1c7be8 of _0x23fc8a){let _0x1e4022=this[_0x3af35(0x33f)]['getUnit'](_0x1c7be8['unitId'],_0x49a6be[_0x3af35(0xf9)]);_0x1e4022&&await this['_commandService'][_0x3af35(0x27f)](Q['id'],{'unitId':_0x1c7be8['unitId'],'op':_0x42f5e5[_0x3af35(0x1c0)](_0x1e4022['getSnapshot'](),_0x1c7be8[_0x3af35(0x19a)],_0x1c7be8['patches']),'trigger':_0x30184a['id']},{'onlyLocal':!0x0});}await this[_0x3af35(0x1ba)]['executeCommand'](_0xbd4092['id'],{'dirtyRanges':_0x3295fa},{'onlyLocal':!0x0});})()['finally'](()=>{const _0x445df7=_0x364c28;this[_0x445df7(0x222)]=!0x1,this[_0x445df7(0x42e)][_0x445df7(0x1c9)](_0x4cbf5b[_0x445df7(0x130)],_0x335a7);});}};zs=X([Y(0x0,_0x2823d6),Y(0x1,_0x3a38b9),Y(0x2,_0x1345e2(_0x18360a)),Y(0x3,_0x1345e2(_0x31dae7))],zs);function Bs(_0x574f77){const _0x59aa43=_0x327967;return typeof _0x574f77==_0x59aa43(0x3d8)&&!!_0x574f77&&_0x59aa43(0x409)in _0x574f77&&typeof _0x574f77['unitId']=='string'&&'op'in _0x574f77&&Array['isArray'](_0x574f77['op']);}function Vs(_0xbcb317){const _0x5c051c=_0x327967;return typeof _0xbcb317==_0x5c051c(0x3d8)&&!!_0xbcb317&&_0x5c051c(0xf5)in _0xbcb317&&_0x5c051c(0x18d)in _0xbcb317;}function _0x4f42(){const _0x15a459=['base.command.delete-base-field','recordIds','startDateFieldId','_findCalendarDateFieldId','canDeleteRecord','_deleteAttachmentResources','reduce','createDefaultValue','object','Formula','fieldIndex','[RecordLink]:\x20target\x20record\x20\x22','_enqueueFormulaSync','CreatedBy','updateField','Person','deepClone','Progress','test','getMonth','base.command.set-base-view-field-width','removeOp','4064070ZjRVWZ','[BaseCompression]:\x20unsupported\x20compressed\x20payload\x20kind\x20\x22','projection','base.viewType.grid','sortedView','multiple','IS_EMPTY','view/','month','_getJson1DirtyData','[BaseViewRegistryService]:\x20view\x20type\x20\x22','regenerateViewIds','tomorrow','packageName','cardLayout','userID','_patchCachedProjectedRows','24cqDppH','_instanceService','_bumpTableRevision','base.command.delete-base-record','isArray','[BaseCommandService]:\x20cannot\x20create\x20table.','members','set','parentFieldName','duplicateField','base.command.set-base-kanban-group-field','createBase','cycle','getCurrentUnitOfType','MM-DD','endDateFieldId','round','false','unitId','getUnitId','createCreateFieldOp','base.command.set-permission','_apply','attachmentSets','\x20must\x20have\x20a\x20non-empty\x20id.','oldParentRecordId','owner','map','SingleSelect','lastIndexOf','base.mutation.set-permission-rule','getCurrentUserId','timeZone','apostrophe','_syncBaseUnit','toPlainText','_normalizeCellValue','symbol','base-snapshot-v1','setBaseName','Parent\x20Items','moveField','invalidField','bases.config','_initRegistries','[UpdateBaseViewConditionalColorRulesCommand]:\x20rules\x20must\x20be\x20an\x20array.','childUnitId','_viewRevisions','4FNepqv','kind','direction','Uncategorized','[BaseCommandService]:\x20cannot\x20delete\x20a\x20RecordLink\x20target\x20table\x20(','general','replace','_formulaCalculationSessionService','deleteField','[BaseCommandService]:\x20cannot\x20edit\x20record.','base.resource.service','_setAttachmentResources','_rowTransformCacheSegment','onlyLocal','_replaceOptional','normal','orderedRecordIds','lessThanOrEqual','nodes','_recordIds','selfParent','past7','usableAsGanttEnd','decimalPlaces','_createNumberingAllocators','_resolveBaseId','mode','depth','[BaseFormula]:\x20A1\x20references\x20and\x20ranges\x20are\x20not\x20supported\x20in\x20Base\x20formulas.','base.mutation.apply-base-json1','_hierarchyIndexCache','registerView','_canEdit','Table','attachment','primaryFieldId','every','orderKey','rule','_tableBaseIds','renameFormulaUnitReferences','_scheduledSuperTableSyncs','find','[BaseCommandService]:\x20cannot\x20create\x20record.','workingDaysOnly','\x22\x20is\x20referenced\x20by\x20','invalidGanttEndField','fld-','_projectFields','_canUseFastSort','base.command.move-base-view','status','getPermissionPoint','includes','getUTCFullYear','WriteCursor','\x22\x20does\x20not\x20exist.\x20Use\x20FBaseTable.getFormulaName()\x20or\x20getSchema().formulaName\x20for\x20structured\x20references.','sort','invalid','BaseProjection.projectGroups','createdBy','replaceOp','blue','long','deleteView','emitPermissionDenied','target','addPermissionPoint','Use\x2031\x20characters\x20or\x20fewer.','_baseSyncDisposables','getProjection','createRecords','limit','[BaseFieldRegistryService]:\x20field\x20type\x20\x22','childrenByParentId','record',',\x22K\x22','Edit','_toDirtyRangePatch','usableAsCardCover','\x20references\x20missing\x20or\x20non-public\x20field\x20\x22','level','unitWidth','_clearUnit','_kanbanGroupKeys','parentByRecordId','isNot','\x20must\x20have\x20a\x20valid\x20CSS\x20color.','start','separatorStyle','base.command.set-base-table-hierarchy-field','registerCommand','CreatedAt','snapshot','_viewPermissions','tables','defaultValue','ena','fieldName','_initCommands','valid','yesterday','1.0.2','MUTATION','renameTable','[BaseCommandService]:\x20cannot\x20create\x20field.','_resolveKanbanGroupFieldId','setViewFieldWidth','format','_deleteRecordsBaseOp','options','table','currencySymbol','getAllUnitsForType','BaseJson1.json1Apply','__all__','DeleteView','unknown','Attachment','revision','fromEntries','lastMonth','Import','Kanban','base.command.delete-base-table','Parent','deletePermissionPoint','getUTCMonth','_projectedGroupsCache','\x22\x20must\x20be\x20a\x20non-system\x20field\x20in\x20the\x20target\x20table.','[BaseHierarchy]:\x20field\x20\x22','Grid','cellData','base.command.create-base-child-record','_resolveKanbanCoverFieldId','notContains','BEFORE','base.command.set-base-range-values','BaseCommand.createBatchCreateRecordsOp','UpdatedAt','#16a34a','diffValue','Yes','colorFieldId','isInteger','local','flatMap','hierarchy','exception-','getTime','h12','[BaseFormula]:\x20field\x20\x22','Failed\x20to\x20create\x20update\x20cell\x20operation:','A\x20table\x20with\x20this\x20name\x20already\x20exists.','_clearObjectEdit','insertOp','unitData','displayColor','Group','stringify','UNIVER_BASE','now','operator','check','bases.fieldConfig.textPlaceholder','IBaseCellData.ensureTableCellLayout','_sortRows','working','_getTablesToNormalize','year','has','[RecordLink]:\x20a\x20single\x20link\x20accepts\x20only\x20one\x20record\x20id.','fieldSettings','_projectHierarchyGroups','Date1900','_onCommandExecuted','deleteRecords','_groupsCacheKey','pickerFieldIds','base.command.set-base-name','#FDE68A','A\x20table\x20name\x20cannot\x20start\x20or\x20end\x20with\x20an\x20apostrophe.','width','groupFieldId','facade','version','all','_getTableRevision','column','then','lastWeek','allowMultiple','_cacheKey','CONTAINS','InvalidField','default','duplicateRecord','base.command.set-base-view-field-visible','base.command.update-base-field','base.viewType.gallery','629040RHzDQm','_views','fromCollab','row','BOOLEAN','_resolveGalleryCardFieldIds','_groupCellInvalidations','base.command.set-base-record-values','IS_NOT','base.projection.service','_normalizeGalleryConfig','DD/MM/YYYY','BaseProjection.getProjection','add','RecordLink','BASE','5572485dyVLGr','registerCtorForType','_isAllowedKanbanGroupField','manual','beforeCommandExecuted','objectId','columns','isFinite','showTodayLine','\x22.\x20Allowed\x20operators:\x20','remove','empty','compose','_globalRevision','setTablePermission','trim','https:','saveMany','fieldIds','field/','tableRevision','compress','splice','order','General','bases-exchange-client.operation.export-base-by-format','patches','[BasePerf]\x20','univer.basePerf','@univerjs-pro/bases','-record-','hasOwnProperty','Unchecked','getFullYear','rowIndexById','updateCell','Kanban\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','https://','[BaseCommandService]:\x20cannot\x20insert\x20a\x20field\x20before\x20record-id.','name','weekdays','End\x20date','Facade','_resolveCalendarDateFieldId','clearViewPermission','url','_filterRows','valueOf','push','_recordPermissions','BaseRecord','[RecordLink]:\x20value\x20is\x20not\x20a\x20canonical\x20record\x20id\x20list.','_groupProjectionFieldIds','iterator','lastIndex','conjunction','_disposed','group','targetTableId','constructor','HH:mm',':start','subscribe','Link','call','globalRevision','fieldId','config','undo','_tableRevisions','canManageView','YYYY/MM/DD','text','date','_syncSuperTables','changes','setPoint','base.command.create-base-view','createRegExpFromSafeFragment','_buildKanban','base.command.move-base-hierarchy-record','[UpdateBaseViewConditionalColorRulesCommand]:\x20duplicate\x20rule\x20id\x20\x22','_projectRows','average','CreateView','validate','[BaseCommandService]:\x20cannot\x20delete\x20field.','conditional','_formulaService','base.field-registry.service','endsWith','updateViewConfig','unitOtherData','COLUMN','score','MultiSelect','_setObjectEdit','progressFieldId','filled','_resolveCardTitleFieldId','policy','greaterThanOrEqual','objectType','_withModifiedSystemValues','_createNumberingAllocator','tableId','titleFieldId','[BaseJson1OpFactory]:\x20cannot\x20write\x20record-id.','getAffectedRanges','updateRecordOrder','[BaseField]:\x20invalid\x20progress\x20value.','_projectedRowsCache','result','invalid-characters','protocol','setRecordPermission','_buildGrid','_isAllDayCalendarEvent','major-','[BaseCommandService]:\x20record-id\x20is\x20reserved.','[RecordLink]:\x20target\x20table\x20does\x20not\x20exist\x20in\x20this\x20Base.','\x22\x20with\x20field\x20type\x20\x22','exec','686007tKGqyz','_scheduleSuperTableSync','_permissionService','base.command.set-base-view-sort','[BaseCommandService]:\x20invalid\x20cell\x20value.','invalidGanttStartField','[BaseCommandService]:\x20cannot\x20manage\x20view.','_findKanbanGroupField','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).','getAllBases','index','exists','invalidateByOp','base.command.update-base-record-order','_commandService','-field-name','missingField','[BaseCommandService]:\x20cannot\x20delete\x20record.','filter','length','setRangeValues','viewRevision','_injector','fromPlainText','count','indexOf','_formulaSyncQueue','too-long','raw','markResultApplied','base.command.ensure-base-temporal-view-date-fields','IS_NOT_EMPTY','_fieldRegistry','padStart','getUTCDay','getUnitType','size','from','_buildGallery','BaseJson1.cloneForOp','getUnit','UpdatedBy','\x22\x20must\x20be\x20a\x20same-table,\x20single-value\x20RecordLink.','records','Numbering','canEditTable','exact','updatedAt','coverFieldId','Comment','Base\x20object\x20permissions\x20only\x20support\x20Edit:\x20','medium','_projectionCache','value','recordOrder','create-view','isValid','title','#14b8a6','_normalizeGanttConfig','base.viewType.gantt','AFTER','createDeleteRecordsUndoOp','views','validateFormula','_createNumberingFieldValuePatches','_getAllBaseDependencyTreeCacheMap','useThousands','delete-view','getCapabilities','[RecordLink]:\x20value\x20must\x20be\x20a\x20canonical\x20string.','true','search','sum','before','base.viewType.kanban','fieldOrder','http:','base.command.update-base-field-description','createCreateRecordOp','Phone','[BaseField]:\x20negative\x20numbers\x20are\x20disabled.','field','majorHeaders','locale','_matchesGanttColorRule','_createRecordWithDefaults','invalidateByView','hourCycle','Checkbox','invalidReasonByRecordId','tryMaterializeSnapshot','\x20has\x20unsupported\x20operator\x20\x22','entries','Rating','base.mutation.set-permission-rules','yyyy/mm/dd','searchTexts','short','Email','_filterSortFieldIds','_getOrderedRecords','RecordId','getItem','exceptions','base.command.set-base-view-filter','4nGFHqU','_formulaCalculationTriggerService','number','repeat','rules','hostAnchorId','_tablePermissions','star','[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20','_ganttBarColor','getTypeOfUnitAdded$','leftPaneCollapsed','_applyingFormulaResults','\x22\x20does\x20not\x20exist.','boolean','primaryFieldName','[BaseField]:\x20invalid\x20email\x20value.','dateFormat','cell','_materializeFormulaTableNames','colIndex','setSnapshot','canCreateField','children','__UNIVER_BASE_PERF__','getAllPermissionPoint','_applyFormulaResult','maxDepth','BaseView','color','[BaseField]:\x20invalid\x20checkbox\x20value.','clearRecordPermission','getDependencies','-view-grid','bases.fieldConfig.linkPlaceholder','embedId','displayText','groups','_capabilities','COMMAND','False','codePointAt','applyOp','scale','isNaN','trigger','pushUndoRedo','unshift','strategies','BaseHierarchyError','edit','setRecordValues','getAll','defineProperty','createField','invalidDateField','_createSystemFieldValuePatches','afterViewId','onCommandExecuted','commaPeriod','BASES_PLUGIN','delete','mark','canEditCell','MissingRecord','rowIndex','canDeleteTable','values','required','beforeFieldId','user','setViewFieldOrder','_getTable','_isCalendarDateField','updatePermissionPoint','\x20must\x20be\x20an\x20object.','BaseField','register','pluginName','_executeSuperTableMutationWhileActive','getOwnPropertyDescriptor','_setViewFieldSetting','onStarting','base.command.move-base-field','_title','custom','_rememberTable','_cellRevisions','includeTime','rows','BaseProjection.projectRows','renameView','system','manageView','redo','[DeleteBaseTableCommand]:\x20table\x20\x22','Working\x20day','deleteTable','Invalid\x20object\x20permission\x20batch.','getUTCDate','keys','_cellInvalidationsTouchFields','base-perf','BaseDashboard','_applier','executeCommand','BaseProjection.filterAndSortRows','base.command.update-base-view-config','_configService','decimal','_calendarEventColor','canEditField','numfmt','SortedView','base.command.set-permissions','createSetRecordValuesOp','spaceComma','selectField','_initialize','matchAll','setRules','[BaseCommandService]:\x20invalid\x20RecordLink\x20value.','[BaseField]:\x20invalid\x20date\x20value.','_getHierarchyIndex','_registeredSuperTableNames','_viewRevisionKey','info','Currency','_normalizeCalendarConfig','_projectGroups','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','[RecordLink]:\x20field\x20config\x20is\x20invalid.','getCurrentUser','forEach','optionSource','en-US','disposeWithMe','write','string','recordCount','_createRecordOrderOp','Delete','columnSettings','NOT_CONTAINS','base.command.create-base-record','rowId','Checked','tableName','_projectedViewRowsCache','record/','attachmentSet','startsWith','setViewSort','base-perf-','action','dispose','Date','resources','small','[BaseCommandService]:\x20cannot\x20move\x20a\x20field\x20before\x20record-id.','canCreateRecord','UNIVER_EMBED_BASES_TABLE','save','createDefaultConfig','colId','_buildCalendar','editable','decorate','#,##0','[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20at\x20index\x20','collaborators','changeFieldType','descend','basePerf','kanban','key','frozenFieldCount','canCreateTable','person','updatedBy','displayFieldId','Text','changed','subtreeEndIndex','Choose\x20another\x20name.','[BaseHierarchy]:\x20','viewId','Unsupported\x20Base\x20permission\x20object:\x20','none','getInstance','operand','base.command.create-base-table','ruleId','pattern','Cycle','resolve','unique','A\x20table\x20name\x20cannot\x20contain\x20:\x20\x5c\x20/\x20?\x20*\x20[\x20].','moveView','getStructuredDependencies','_patchProjectedRowsForCellInvalidations','True','Grid\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','viewOrder','_getSystemFieldValue','_isKanbanGroupField','DESC','split','timeslotSize','base.command.batch-delete-base-records','setViewFilter','1310673LOFZKD','Copy','base.command.set-base-view-group','normalize','percent','_kanbanLaneTitle','function','thisMonth','createdAt','Start\x20date','ascend','base.command.duplicate-base-record','flat','getSuperTableRegistrations','syncExecuteCommand','off','#3b82f6','clear','Gantt\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','recordNamePrefix','_initDataSync','[BaseCommandService]:\x20field\x20\x22','_kanbanLaneColor','source','at\x20index\x20','Number','params','_resolveKanbanCardFieldIds','fields','_config','_getStructureDirtyTableIds','depthByRecordId','_groupConfigCacheSegment','hidden','_isNonEmptyCellValue','base.viewType.calendar','MMM\x20D,\x20YYYY','_assertFieldDefinition','base.mutation.','[BaseField]:\x20invalid\x20multi-value\x20reference.','_materializeGroups','BaseTable','error','base.command.update-base-cell','base-range-values-v1','base.command.change-base-field-type','_setCachedProjection','get','_setFormulaFieldCells','max','clearTablePermission','card','spacePeriod','base.command.duplicate-base-field','[BaseCommandService]:\x20cannot\x20delete\x20table.','attachments','viewIndexes','Calendar','leftPaneWidth','quarter','Undo','setViewFieldVisible','initializeUnit','[BaseCompression]:\x20invalid\x20uncompressed\x20range\x20values\x20payload.','Set','canEditRecord','getSnapshot','cardSize','_getViewRevision','calendar','rootRecordIds','option-','prototype','base.view-registry.service','view','STRING','assign','Base','#BFDBFE','afterFieldId','clearFieldPermission','deleteRecord','label','_initDependencies','$1\x20','h:mm\x20a','_univerInstanceService','_cellInvalidations','NumberFormat','_isGanttDateField','todo','[BaseField]:\x20invalid\x20person\x20value.','recordId','type',':end','slice','thread-comment.command.','forValue','Export','_runtimeContext','_getKanbanConfiguredLanes','repairViewConfig','2689645qiDvXP','h24','_getCellRevision','_registerUnitPermissionPoints','invalidateByField','focusUnit','__base_hierarchy_parent__','setViewGroup','base.command.','workingDays','base.command.update-base-kanban-config','import','descendPath','isNotEmpty','some','gridViewId','data','toString','path','setHours','_activeDirtyManagerService','INIT','dateMode','allowDangling','undefined','Gallery\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','toLocaleString','[RecordLink]:\x20display\x20field\x20\x22','col','_check','description','Redo','_resolveGalleryCoverFieldId','Clear','setFieldPermission','beforeViewId','_dataSyncPrimaryController','setRule','[BaseJson1OpFactory]:\x20cannot\x20move\x20a\x20field\x20before\x20record-id.','Gantt','formula','createTable','abs','min','showFieldNames','recordPatch','cellRevision','baseRows','autoIncrement','editCell','BaseProjection.projectTableRows','relationRole','[BaseCommandService]:\x20cannot\x20edit\x20cell.','_getAllTableIds','embed-ui','Gallery','base.command.create-base-field','usableAsGanttStart','parse','this-row','SelfParent','_projectTableRows','getTypeOfUnitDisposed$','invertOp','contains','registerSyncingMutations','_buildGantt','[BaseCompression]:\x20invalid\x20compressed\x20payload\x20\x22','setViewPermission','setConfig','#,##0.00','_viewRowsCacheKey','readonly','_getCachedProjection','subType','week','tableOrder','conditions','_normalizeCalendarDisplayColor','invalidGroupField','NUMBER','createUpdateCellOp','join','258506nVMVMT','large','localeCompare','parentRecordId','subtreeHeightByRecordId','base.command.service','formulaName','MissingParent','getBase','createRecord','Todo','createBatchCreateRecordsOp','done','toLowerCase','invalidateByCell','_canEditTable','_basePermissions','[BaseCommandService]:\x20cannot\x20edit\x20field.','_resolveGanttDateFieldId','clearBasePermission','abbreviation','createView','_getCurrentUserId','thread-comment.mutation.','lessThan','measure','base.command.delete-base-view','missingRecord','UTC','reason','_isAllDayGanttDateRange','clearUnit','LESS_THAN','end','Remote','_fieldPermissions','periodComma','Unsupported\x20Base\x20permission\x20action:\x20','createSuperTableReference','Ids','gantt','\x22\x20is\x20not\x20registered.','_isColorfulKanbanGroupField','canDeleteField','_plugins','_factory'];_0x4f42=function(){return _0x15a459;};return _0x4f42();}const Hs=new Set([fo['id'],po['id'],Io['id']]);let Us=class extends _0x4de356{constructor(_0xe324cc,_0x5de7c8,_0x2509e8,_0x2658e2){const _0x324e51=_0x327967;super(),this['_injector']=_0xe324cc,this[_0x324e51(0x1ba)]=_0x5de7c8,this[_0x324e51(0x1ae)]=_0x2509e8,this[_0x324e51(0x3f8)]=_0x2658e2,this[_0x324e51(0x3f8)][_0x324e51(0x498)](_0x49a6be[_0x324e51(0xf9)])[_0x324e51(0x29b)](_0x288ef6=>this[_0x324e51(0x352)](_0x288ef6[_0x324e51(0x40a)]())),this['disposeWithMe'](this['_instanceService']['getTypeOfUnitAdded$'](_0x49a6be['UNIVER_BASE'])[_0x324e51(0x16f)](({unit:_0x36e7da})=>this[_0x324e51(0x352)](_0x36e7da[_0x324e51(0x40a)]()))),this[_0x324e51(0x29e)](this[_0x324e51(0x1ba)][_0x324e51(0x135)]((_0x1431d2,_0x3e8c3f)=>this[_0x324e51(0x36c)](_0x1431d2,_0x3e8c3f))),this[_0x324e51(0x29e)](this['_instanceService'][_0x324e51(0x38d)](_0x49a6be[_0x324e51(0xf9)])[_0x324e51(0x16f)](_0x94a30c=>{const _0x4b8d45=_0x324e51;this['_injector'][_0x4b8d45(0x318)](_0x77c4ee)[_0x4b8d45(0x3c1)](_0x94a30c[_0x4b8d45(0x40a)]()),Rr(this[_0x4b8d45(0x1ae)],_0x94a30c[_0x4b8d45(0x40a)]());}));}[_0x327967(0x352)](_0x29466b){const _0x380890=_0x327967;Tr[_0x380890(0x29b)](_0x173d9f=>{const _0x282441=_0x380890;let _0x21c99f=Pr(_0x29466b,_0x29466b,_0x173d9f);this['_permissionService'][_0x282441(0x45b)](_0x21c99f['id'])||this[_0x282441(0x1ae)][_0x282441(0x46a)](_0x21c99f);}),this['_injector'][_0x380890(0x318)](_0x77c4ee)[_0x380890(0x327)]({'unitId':_0x29466b,'objectId':_0x29466b,'objectType':_0x230625['Base']});}[_0x327967(0x36c)](_0x34a5be,_0x14eca1){const _0x2909e0=_0x327967;var _0x1f978a;if(_0x14eca1!=null&&_0x14eca1[_0x2909e0(0x123)]||_0x14eca1!=null&&_0x14eca1['fromChangeset'])return;let _0x546da0=tc(_0x34a5be[_0x2909e0(0x303)])?_0x34a5be['params']:void 0x0;if(_0x14eca1!=null&&_0x14eca1[_0x2909e0(0x434)]&&_0x34a5be['id']==='base.mutation.apply-base-json1'&&(_0x546da0==null?void 0x0:_0x546da0['trigger'])===_0x30184a['id'])return;let _0xec3074=Gs(_0x34a5be['id']),_0xc8a85=Ws(_0x546da0==null?void 0x0:_0x546da0[_0x2909e0(0x409)],_0x14eca1)??(_0xec3074?(_0x1f978a=this['_instanceService'][_0x2909e0(0x404)](_0x49a6be[_0x2909e0(0xf9)]))==null?void 0x0:_0x1f978a[_0x2909e0(0x40a)]():void 0x0);if(!_0xc8a85||this[_0x2909e0(0x3f8)][_0x2909e0(0x1cf)](_0xc8a85)!==_0x49a6be[_0x2909e0(0xf9)])return;if(_0xec3074){if(!Fr(this[_0x2909e0(0x1ae)],_0xc8a85,_0xc8a85,_0xec3074))throw this['_injector'][_0x2909e0(0x318)](_0xeb132)[_0x2909e0(0x468)](_0xc8a85),new _0x268330('Base\x20'+_0x3709ae[_0xec3074]+'\x20permission\x20denied.');return;}if(Hs[_0x2909e0(0x103)](_0x34a5be['id'])||!_0x34a5be['id']['startsWith'](_0x2909e0(0x357))&&!_0x34a5be['id'][_0x2909e0(0x2ad)](_0x2909e0(0x30f)))return;let _0x505d25=this[_0x2909e0(0x3f8)][_0x2909e0(0x1d4)](_0xc8a85,_0x49a6be[_0x2909e0(0xf9)]),_0x679fcd=_0x505d25?Ks(_0x505d25,_0x546da0??{},_0x34a5be['id']):[];if(!_0x505d25||!zr(this[_0x2909e0(0x1ae)],_0xc8a85,_0x679fcd))throw this[_0x2909e0(0x1c2)]['get'](_0xeb132)[_0x2909e0(0x468)](_0xc8a85,_0x679fcd),new _0x268330('Base\x20edit\x20permission\x20denied.');}};Us=X([Y(0x0,_0x1345e2(_0x4a869a)),Y(0x1,_0x2823d6),Y(0x2,_0x5cc725),Y(0x3,_0x3a38b9)],Us);function Ws(_0x3416b6,_0x542cb4){const _0x4fbdd1=_0x327967;return typeof _0x3416b6=='string'?_0x3416b6:typeof(_0x542cb4==null?void 0x0:_0x542cb4[_0x4fbdd1(0x409)])==_0x4fbdd1(0x2a0)?_0x542cb4[_0x4fbdd1(0x409)]:void 0x0;}function Gs(_0xafd554){const _0x536b98=_0x327967;if(_0xafd554==='bases-exchange-client.operation.export-base'||_0xafd554===_0x536b98(0x14a))return _0x3709ae[_0x536b98(0x34b)];if(_0xafd554[_0x536b98(0x2ad)](_0x536b98(0x349))||_0xafd554[_0x536b98(0x2ad)](_0x536b98(0x3b9)))return _0x3709ae['Comment'];}function Ks(_0x8312d0,_0x328a3a,_0xa45b7c){const _0xeb6649=_0x327967;if(_0xa45b7c===_0xeb6649(0x444)&&ec(_0x328a3a['op']))return qs(_0x8312d0,_0x328a3a['op']);let _0x2db530=new Set(),_0x1c33b1=Zs(_0x328a3a,_0xeb6649(0x496)),_0x5baace=typeof _0x328a3a[_0xeb6649(0x19a)]=='string'?_0x328a3a['tableId']:_0x1c33b1[0x0];if(_0x1c33b1[_0xeb6649(0x29b)](_0x14d676=>_0x2db530['add'](K(_0x14d676))),!_0x5baace)return[..._0x2db530];let _0x5bcc90=_0x8312d0[_0xeb6649(0x32b)]()['tables'][_0x5baace],_0x21a666=new Set(Zs(_0x328a3a,_0xeb6649(0x1fe))),_0x47a737=new Set(Zs(_0x328a3a,_0xeb6649(0x472))),_0x193c95=new Set(Zs(_0x328a3a,'view'));return Qs(_0x5bcc90,_0x328a3a[_0xeb6649(0x14b)],_0x47a737,_0x21a666),$s(_0x328a3a,_0x21a666),_0x21a666['forEach'](_0x5bc8d9=>_0x2db530[_0xeb6649(0x12e)](q(_0x5baace,_0x5bc8d9))),_0x47a737[_0xeb6649(0x29b)](_0x27ff6c=>_0x2db530[_0xeb6649(0x12e)](J(_0x5baace,_0x27ff6c))),_0x193c95[_0xeb6649(0x29b)](_0x30bb0c=>_0x2db530[_0xeb6649(0x12e)](Mr(_0x5baace,_0x30bb0c))),[..._0x2db530];}function qs(_0x485967,_0x2b23c0){const _0x4a4f44=_0x327967;let _0x89fd0a=_0x485967[_0x4a4f44(0x32b)](),_0x413cfd=new z()[_0x4a4f44(0x19d)](_0x2b23c0),_0x215c94=Js(_0x2b23c0),_0x174a67=new Set();return _0x413cfd['forEach'](_0x1a1203=>{const _0xb39ec5=_0x4a4f44;var _0x589c10,_0x463e79;let {tableId:_0x5a3a0e}=_0x1a1203;if(!_0x5a3a0e)return;_0x174a67[_0xb39ec5(0x12e)](K(_0x5a3a0e));let _0x5d9071=_0x89fd0a['tables'][_0x5a3a0e],_0x476a47=_0x1a1203[_0xb39ec5(0x345)]??(_0x1a1203[_0xb39ec5(0x124)]==null||_0x5d9071==null||(_0x589c10=_0x5d9071['rowId'])==null?void 0x0:_0x589c10[_0x1a1203[_0xb39ec5(0x124)]]),_0x4369b4=_0x1a1203[_0xb39ec5(0x173)]??(_0x1a1203['column']==null||_0x5d9071==null||(_0x463e79=_0x5d9071[_0xb39ec5(0x2ba)])==null?void 0x0:_0x463e79[_0x1a1203[_0xb39ec5(0x115)]]);_0x476a47&&_0x174a67[_0xb39ec5(0x12e)](J(_0x5a3a0e,_0x476a47)),_0x4369b4&&_0x174a67['add'](q(_0x5a3a0e,_0x4369b4)),_0x1a1203[_0xb39ec5(0x2d0)]&&_0x174a67[_0xb39ec5(0x12e)](Mr(_0x5a3a0e,_0x1a1203[_0xb39ec5(0x2d0)])),(_0x1a1203['reason']==='table'||_0x215c94['has'](_0x5a3a0e))&&_0x5d9071&&(Object['keys'](_0x5d9071[_0xb39ec5(0x305)])[_0xb39ec5(0x29b)](_0x59de2f=>_0x174a67[_0xb39ec5(0x12e)](q(_0x5a3a0e,_0x59de2f))),Object['keys'](_0x5d9071[_0xb39ec5(0x1d7)])[_0xb39ec5(0x29b)](_0x5829f4=>_0x174a67[_0xb39ec5(0x12e)](J(_0x5a3a0e,_0x5829f4))),Object[_0xb39ec5(0x27a)](_0x5d9071['views'])[_0xb39ec5(0x29b)](_0x348b62=>_0x174a67[_0xb39ec5(0x12e)](Mr(_0x5a3a0e,_0x348b62)))),_0x1a1203[_0xb39ec5(0x3bf)]===_0xb39ec5(0x472)&&_0x5d9071&&Object[_0xb39ec5(0x27a)](_0x5d9071[_0xb39ec5(0x305)])['forEach'](_0x6eacb3=>_0x174a67[_0xb39ec5(0x12e)](q(_0x5a3a0e,_0x6eacb3)));}),_0x413cfd[_0x4a4f44(0x1bf)]===0x0&&Xs(_0x2b23c0,_0x4a4f44(0x39b))&&Object['keys'](_0x89fd0a['tables'])[_0x4a4f44(0x29b)](_0x545e41=>_0x174a67[_0x4a4f44(0x12e)](K(_0x545e41))),[..._0x174a67];}function Js(_0x2515f9){let _0xdfe283=new Set(),_0x438934=_0x499f2b=>{const _0x5ac92c=_0x11ae;Array[_0x5ac92c(0x3fb)](_0x499f2b)&&_0x499f2b[_0x5ac92c(0x29b)]((_0x1656bb,_0x10269b)=>{const _0x1a0318=_0x5ac92c;_0x1656bb===_0x1a0318(0x486)&&typeof _0x499f2b[_0x10269b+0x1]==_0x1a0318(0x2a0)&&Ys(_0x499f2b[_0x10269b+0x2])&&_0xdfe283[_0x1a0318(0x12e)](_0x499f2b[_0x10269b+0x1]),_0x438934(_0x1656bb);});};return _0x438934(_0x2515f9),_0xdfe283;}function Ys(_0x4b329d){const _0x965b8b=_0x327967;return!!_0x4b329d&&typeof _0x4b329d==_0x965b8b(0x3d8)&&!Array[_0x965b8b(0x3fb)](_0x4b329d)&&('i'in _0x4b329d||'r'in _0x4b329d||'p'in _0x4b329d||'d'in _0x4b329d||'es'in _0x4b329d||'ena'in _0x4b329d||'et'in _0x4b329d);}function Xs(_0x237bef,_0x4e5a31){const _0x3d1c97=_0x327967;return Array[_0x3d1c97(0x3fb)](_0x237bef)&&_0x237bef[_0x3d1c97(0x35d)](_0x1922aa=>_0x1922aa===_0x4e5a31||Xs(_0x1922aa,_0x4e5a31));}function Zs(_0x16f4e4,_0x42c8f6){const _0x31c722=_0x327967;let _0x33b3ca=new Set(),_0x9c11e0=_0x42c8f6+'Id',_0x48adfa=_0x42c8f6+_0x31c722(0x3c9),_0x5ac082=(_0x266e33,_0x480bf7='')=>{const _0x359f02=_0x31c722;if(typeof _0x266e33==_0x359f02(0x2a0)){_0x480bf7===_0x9c11e0&&_0x33b3ca[_0x359f02(0x12e)](_0x266e33);return;}if(Array[_0x359f02(0x3fb)](_0x266e33)){_0x480bf7===_0x48adfa?_0x266e33[_0x359f02(0x29b)](_0x53eb29=>{const _0x5bb652=_0x359f02;typeof _0x53eb29==_0x5bb652(0x2a0)&&_0x33b3ca[_0x5bb652(0x12e)](_0x53eb29);}):_0x266e33['forEach'](_0x16d924=>_0x5ac082(_0x16d924,_0x480bf7));return;}tc(_0x266e33)&&Object[_0x359f02(0x209)](_0x266e33)[_0x359f02(0x29b)](([_0x5a17d3,_0x3a04bc])=>{const _0x4dbec6=_0x359f02;_0x5a17d3==='id'&&_0x480bf7===_0x42c8f6&&typeof _0x3a04bc==_0x4dbec6(0x2a0)?_0x33b3ca[_0x4dbec6(0x12e)](_0x3a04bc):_0x5ac082(_0x3a04bc,_0x5a17d3);});};return _0x5ac082(_0x16f4e4),[..._0x33b3ca];}function Qs(_0x4a0b70,_0x499b82,_0x2bb8f7,_0x3f0c49){const _0x9644fd=_0x327967;_0x4a0b70&&Array[_0x9644fd(0x3fb)](_0x499b82)&&_0x499b82[_0x9644fd(0x29b)](_0x383454=>{const _0x3b3d20=_0x9644fd;if(!tc(_0x383454))return;let _0x490934=_0x383454;if(typeof _0x490934[_0x3b3d20(0x124)]==_0x3b3d20(0x218)){var _0x1ea288;let _0x259da5=(_0x1ea288=_0x4a0b70[_0x3b3d20(0x2a7)])==null?void 0x0:_0x1ea288[_0x490934['row']];_0x259da5&&_0x2bb8f7[_0x3b3d20(0x12e)](_0x259da5);}if(typeof _0x490934[_0x3b3d20(0x36b)]=='number'){var _0x6a2676;let _0x1fc01c=(_0x6a2676=_0x4a0b70['colId'])==null?void 0x0:_0x6a2676[_0x490934[_0x3b3d20(0x36b)]];_0x1fc01c&&_0x3f0c49[_0x3b3d20(0x12e)](_0x1fc01c);}});}function $s(_0x472e10,_0x4fcaec,_0x2fca14=''){const _0x2ceca7=_0x327967;if(_0x472e10&&typeof _0x472e10=='object'){if(Array[_0x2ceca7(0x3fb)](_0x472e10)){_0x472e10['forEach'](_0x4149d4=>$s(_0x4149d4,_0x4fcaec,_0x2fca14));return;}tc(_0x472e10)&&Object[_0x2ceca7(0x209)](_0x472e10)[_0x2ceca7(0x29b)](([_0x24ac7a,_0x3ebffd])=>{const _0x3a0441=_0x2ceca7;_0x2fca14===_0x3a0441(0x259)&&_0x4fcaec[_0x3a0441(0x12e)](_0x24ac7a),$s(_0x3ebffd,_0x4fcaec,_0x24ac7a);});}}function ec(_0x8b9927){return Array['isArray'](_0x8b9927);}function tc(_0x2d7901){const _0x474015=_0x327967;return typeof _0x2d7901==_0x474015(0x3d8)&&!!_0x2d7901&&!Array[_0x474015(0x3fb)](_0x2d7901);}const nc=_0x1ada6c(_0x327967(0x431));let rc=class{constructor(_0x45b2c6){const _0x2b8e26=_0x327967;this[_0x2b8e26(0x33f)]=_0x45b2c6;}[_0x327967(0x3aa)](_0x34d02f){const _0xb1b01f=_0x327967;return this[_0xb1b01f(0x33f)]['getUnit'](_0x34d02f,_0x49a6be['UNIVER_BASE'])??null;}[_0x327967(0x1b5)](){const _0x39e5c5=_0x327967;return this[_0x39e5c5(0x33f)][_0x39e5c5(0x498)](_0x49a6be[_0x39e5c5(0xf9)]);}[_0x327967(0x402)](_0x2a2a30){const _0x556bc0=_0x327967;return this[_0x556bc0(0x33f)]['createUnit'](_0x49a6be[_0x556bc0(0xf9)],_0x2a2a30);}};rc=X([Y(0x0,_0x3a38b9)],rc);const ic=_0x1ada6c(_0x327967(0x332));var ac=class extends _0x4de356{constructor(..._0x4a990e){super(..._0x4a990e),G(this,'_plugins',new Map());}[_0x327967(0x263)](_0x18da9c){const _0x142b6d=_0x327967;return this[_0x142b6d(0x3ce)]['set'](_0x18da9c['type'],_0x18da9c),_0x569b00(()=>this['_plugins'][_0x142b6d(0x253)](_0x18da9c[_0x142b6d(0x346)]));}['get'](_0x1b63d){const _0x2c1bcc=_0x327967;let _0x3780f6=this['_plugins']['get'](_0x1b63d);if(!_0x3780f6)throw Error(_0x2c1bcc(0x3f0)+_0x1b63d+_0x2c1bcc(0x3cb));return _0x3780f6;}['getAll'](){const _0x232774=_0x327967;return Array[_0x232774(0x1d1)](this['_plugins'][_0x232774(0x259)]());}};const oc=[Q];let sc=class extends _0x2f79be{constructor(_0x4fb9e4=Ns,_0x5e47e6,_0x4768c3,_0x5c7371,_0x303aa6,_0x4ebf73){const _0x16ede4=_0x327967;super(),this['_config']=_0x4fb9e4,this[_0x16ede4(0x1c2)]=_0x5e47e6,this[_0x16ede4(0x1ba)]=_0x4768c3,this['_univerInstanceService']=_0x5c7371,this['_configService']=_0x303aa6,this[_0x16ede4(0x373)]=_0x4ebf73,G(this,_0x16ede4(0x46c),new Map());let {..._0x1ec61f}=_0xcc3099({},Ns,this[_0x16ede4(0x306)]);this[_0x16ede4(0x282)][_0x16ede4(0x394)](_0x16ede4(0x422),_0x1ec61f),this[_0x16ede4(0x33f)][_0x16ede4(0x132)](_0x49a6be[_0x16ede4(0xf9)],_0x271087),this[_0x16ede4(0x33c)](),this['_initCommands'](),this[_0x16ede4(0x423)](),this[_0x16ede4(0x2fd)]();}[_0x327967(0x268)](){const _0x46952a=_0x327967;this[_0x46952a(0x1c2)][_0x46952a(0x12e)]([Lo]),this[_0x46952a(0x29e)](this[_0x46952a(0x1c2)][_0x46952a(0x318)](_0x2823d6)['registerCommand'](Ro)),this[_0x46952a(0x29e)](this[_0x46952a(0x1c2)]['get'](_0x2823d6)[_0x46952a(0x482)](zo)),this[_0x46952a(0x29e)](this[_0x46952a(0x1c2)]['get'](_0x77c4ee)['registerRuleModel'](_0x230625['Base'],this[_0x46952a(0x1c2)][_0x46952a(0x318)](Lo),Ro['id'],zo['id']));}['onReady'](){const _0x4dc882=_0x327967;_0x253fbd(this['_injector'],[[rc],[qr],[Rs]]),this[_0x4dc882(0x33f)][_0x4dc882(0x498)](_0x49a6be['UNIVER_BASE'])['forEach'](_0x18c35c=>this[_0x4dc882(0x419)](_0x18c35c[_0x4dc882(0x40a)]())),_0x253fbd(this[_0x4dc882(0x1c2)],[[zs],[Us]]);}['_initDependencies'](){const _0x56826d=_0x327967;[[mr,{'useClass':hr}],[ic,{'useClass':ac}],[ii,{'useClass':si}],[nc,{'useClass':rc}],[Br,{'useClass':Vr}],[Kr,{'useClass':qr}],[Rs],[zs],[Us]][_0x56826d(0x29b)](_0x5aa418=>this[_0x56826d(0x1c2)][_0x56826d(0x12e)](_0x5aa418));}[_0x327967(0x48a)](){const _0x51619c=_0x327967;[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][_0x51619c(0x29b)](_0x1fdda0=>this[_0x51619c(0x29e)](this[_0x51619c(0x1ba)][_0x51619c(0x482)](_0x1fdda0))),oc[_0x51619c(0x29b)](_0x175722=>{const _0x173298=_0x51619c;var _0x1d84b7;return(_0x1d84b7=this[_0x173298(0x373)])==null?void 0x0:_0x1d84b7[_0x173298(0x390)](_0x175722);});}[_0x327967(0x2fd)](){const _0x24ef1d=_0x327967;this[_0x24ef1d(0x373)]&&(this['disposeWithMe'](this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x49a6be[_0x24ef1d(0xf9)])[_0x24ef1d(0x16f)](({unit:_0x2af443})=>{const _0x157dd4=_0x24ef1d;this[_0x157dd4(0x419)](_0x2af443[_0x157dd4(0x40a)]());})),this[_0x24ef1d(0x29e)](this[_0x24ef1d(0x33f)][_0x24ef1d(0x38d)](_0x49a6be[_0x24ef1d(0xf9)])[_0x24ef1d(0x16f)](_0x3f16a2=>{const _0x21928c=_0x24ef1d;var _0x1b2f8a;(_0x1b2f8a=this['_baseSyncDisposables']['get'](_0x3f16a2[_0x21928c(0x40a)]()))==null||_0x1b2f8a[_0x21928c(0x2b1)](),this[_0x21928c(0x46c)]['delete'](_0x3f16a2[_0x21928c(0x40a)]());})));}['_syncBaseUnit'](_0x546f2f){const _0xab626a=_0x327967;this[_0xab626a(0x373)]&&!this['_baseSyncDisposables'][_0xab626a(0x103)](_0x546f2f)&&this['_baseSyncDisposables'][_0xab626a(0x3fe)](_0x546f2f,this[_0xab626a(0x373)]['syncUnit'](_0x546f2f));}[_0x327967(0x423)](){const _0x2ca997=_0x327967;let _0x1b14dc=this[_0x2ca997(0x1c2)][_0x2ca997(0x318)](mr);zn()[_0x2ca997(0x29b)](_0x1050b7=>_0x1b14dc[_0x2ca997(0x263)](_0x1050b7));let _0x121bc0=this[_0x2ca997(0x1c2)][_0x2ca997(0x318)](ic),_0x5f3889=this[_0x2ca997(0x1c2)][_0x2ca997(0x318)](ii);$r()[_0x2ca997(0x29b)](_0x595e27=>{const _0x469d75=_0x2ca997;_0x121bc0[_0x469d75(0x263)](_0x595e27),_0x5f3889[_0x469d75(0x446)](_0x595e27);});}};G(sc,_0x327967(0x264),_0x327967(0x252)),G(sc,'packageName',js),G(sc,_0x327967(0x112),Ms),G(sc,_0x327967(0x346),_0x49a6be[_0x327967(0xf9)]),sc=X([_0x32cfaf(_0x343622,_0x16307b),Y(0x1,_0x1345e2(_0x4a869a)),Y(0x2,_0x2823d6),Y(0x3,_0x3a38b9),Y(0x4,_0x3c388e),Y(0x5,_0x388498(_0x1829c1))],sc);let cc=class extends _0x2f79be{constructor(_0x52921f=Ps,_0x156160,_0x59f309,_0x268458,_0x171b55){const _0x379d35=_0x327967;super(),this['_config']=_0x52921f,this[_0x379d35(0x1c2)]=_0x156160,this[_0x379d35(0x1ba)]=_0x59f309,this[_0x379d35(0x282)]=_0x268458,this[_0x379d35(0x33f)]=_0x171b55;let {..._0x1b62fc}=_0xcc3099({},Ps,this['_config']);this[_0x379d35(0x282)][_0x379d35(0x394)]('bases.remote.config',_0x1b62fc),this['_univerInstanceService'][_0x379d35(0x132)](_0x49a6be[_0x379d35(0xf9)],_0x271087),[[mr,{'useClass':hr}],[ii,{'useClass':si}]][_0x379d35(0x29b)](_0x5ba266=>this['_injector']['add'](_0x5ba266)),oc[_0x379d35(0x29b)](_0x552a8e=>this[_0x379d35(0x29e)](this[_0x379d35(0x1ba)]['registerCommand'](_0x552a8e)));}};G(cc,_0x327967(0x264),'REMOTE_BASES_PLUGIN'),G(cc,_0x327967(0x3f3),js),G(cc,_0x327967(0x112),Ms),G(cc,'type',_0x49a6be['UNIVER_BASE']),cc=X([_0x32cfaf(_0x343622,_0x16307b),Y(0x1,_0x1345e2(_0x4a869a)),Y(0x2,_0x2823d6),Y(0x3,_0x3c388e),Y(0x4,_0x3a38b9)],cc);function lc(_0x1560e6){const _0x157100=_0x327967;let _0x153532=Cc(_0x1560e6['query']);if(!_0x153532)return{'query':'','total':0x0,'matches':[]};let _0x5f5d29=[],_0x20657b=[];for(let _0x3c58ad=0x0;_0x3c58ad<_0x1560e6[_0x157100(0x143)]['length'];_0x3c58ad++){if(!(_0x3c58ad in _0x1560e6[_0x157100(0x143)]))continue;let _0x6d5265=_0x1560e6[_0x157100(0x496)][_0x157100(0x305)][_0x1560e6[_0x157100(0x143)][_0x3c58ad]];_0x6d5265&&_0x20657b['push']({'field':_0x6d5265,'fieldIndex':_0x3c58ad});}_0x1560e6['rows'][_0x157100(0x29b)]((_0x57ee53,_0x5628ff)=>{const _0x55f461=_0x157100;_0x20657b[_0x55f461(0x29b)](({field:_0x328c32,fieldIndex:_0x5cf2ea})=>{const _0x461d34=_0x55f461;let _0x5cf9f5=uc(_0x57ee53[_0x461d34(0x259)][_0x328c32['id']],_0x328c32);if(!_0x5cf9f5)return;let _0x2177b9=Sc(_0x153532,_0x5cf9f5[_0x461d34(0x20d)]);_0x2177b9<=0x0||_0x5f5d29['push']({'recordId':_0x57ee53[_0x461d34(0x345)],'fieldId':_0x328c32['id'],'fieldType':_0x328c32[_0x461d34(0x346)],'text':_0x5cf9f5[_0x461d34(0x23a)],'score':_0x2177b9,'rowIndex':_0x5628ff,'fieldIndex':_0x5cf2ea});});}),_0x5f5d29['sort']((_0x3be8d4,_0x1ea92e)=>_0x1ea92e[_0x157100(0x18f)]-_0x3be8d4[_0x157100(0x18f)]||_0x3be8d4[_0x157100(0x257)]-_0x1ea92e['rowIndex']||_0x3be8d4[_0x157100(0x3da)]-_0x1ea92e[_0x157100(0x3da)]);let _0x14ad97=_0x1560e6[_0x157100(0x46f)]==null?_0x5f5d29:_0x5f5d29[_0x157100(0x348)](0x0,Math['max'](0x0,_0x1560e6[_0x157100(0x46f)]));return{'query':_0x153532,'total':_0x5f5d29['length'],'matches':Tc(_0x14ad97)};}function uc(_0x1933bd,_0x2573b6){const _0x2be448=_0x327967;let _0x1efaa2=[];for(let _0x48fbb2 of fc(_0x1933bd,_0x2573b6)){let _0x45caf7=Cc(_0x48fbb2);_0x45caf7&&_0x1efaa2['push'](_0x45caf7);}return _0x1efaa2[_0x2be448(0x1bf)]?{'displayText':dc(_0x1933bd,_0x2573b6),'searchTexts':wc(_0x1efaa2)}:null;}function dc(_0x538dc7,_0x54ef9f){const _0x261a56=_0x327967;switch(_0x54ef9f[_0x261a56(0x346)]){case _0x1013ad[_0x261a56(0x413)]:case _0x1013ad[_0x261a56(0x190)]:case _0x1013ad['Group']:return pc(_0x538dc7,_0x54ef9f)[_0x261a56(0x3a1)](',\x20');case _0x1013ad[_0x261a56(0x170)]:return gc(_0x538dc7);case _0x1013ad[_0x261a56(0x2b2)]:case _0x1013ad[_0x261a56(0x483)]:case _0x1013ad[_0x261a56(0xe4)]:return _c(_0x538dc7,_0x54ef9f);case _0x1013ad[_0x261a56(0x302)]:case _0x1013ad[_0x261a56(0x295)]:return vc(_0x538dc7,_0x54ef9f);case _0x1013ad[_0x261a56(0x3e1)]:return yc(_0x538dc7,_0x54ef9f);case _0x1013ad['Checkbox']:return _0x538dc7?_0x261a56(0x2a8):_0x261a56(0x151);case _0x1013ad['Attachment']:return bc(_0x538dc7)[_0x261a56(0x3a1)](',\x20');default:return xc(_0x538dc7);}}function fc(_0x2c2dac,_0x536654){const _0x57eb70=_0x327967;switch(_0x536654[_0x57eb70(0x346)]){case _0x1013ad[_0x57eb70(0x413)]:case _0x1013ad[_0x57eb70(0x190)]:case _0x1013ad['Group']:{let _0x369fbb=pc(_0x2c2dac,_0x536654);if(Array[_0x57eb70(0x3fb)](_0x2c2dac)){let _0x30fc99=[..._0x369fbb];for(let _0x305cf9=0x0;_0x305cf9<_0x2c2dac['length'];_0x305cf9++)_0x305cf9 in _0x2c2dac&&_0x30fc99['push'](String(_0x2c2dac[_0x305cf9]));return _0x30fc99;}return _0x2c2dac==null?_0x369fbb:[..._0x369fbb,String(_0x2c2dac)];}case _0x1013ad[_0x57eb70(0x170)]:{let _0xf1bf03=hc(_0x2c2dac);return[_0xf1bf03[_0x57eb70(0x179)],_0xf1bf03['url']];}case _0x1013ad[_0x57eb70(0x2b2)]:case _0x1013ad[_0x57eb70(0x483)]:case _0x1013ad[_0x57eb70(0xe4)]:return[_c(_0x2c2dac,_0x536654),xc(_0x2c2dac)];case _0x1013ad['Number']:case _0x1013ad[_0x57eb70(0x295)]:return[vc(_0x2c2dac,_0x536654),xc(_0x2c2dac)];case _0x1013ad[_0x57eb70(0x3e1)]:return[yc(_0x2c2dac,_0x536654),xc(_0x2c2dac)];case _0x1013ad['Checkbox']:return _0x2c2dac?[_0x57eb70(0x2a8),_0x57eb70(0xe7),_0x57eb70(0x2df)]:['Unchecked','No',_0x57eb70(0x23e)];case _0x1013ad[_0x57eb70(0x49d)]:return bc(_0x2c2dac);default:return[xc(_0x2c2dac)];}}function pc(_0x3101cb,_0x26aa54){const _0x4039bd=_0x327967;var _0x3bc013;let _0x1e4ce3=Array[_0x4039bd(0x3fb)]((_0x3bc013=_0x26aa54['config'])==null?void 0x0:_0x3bc013[_0x4039bd(0x495)])?_0x26aa54['config'][_0x4039bd(0x495)]:[],_0x1fff90=[];if(Array[_0x4039bd(0x3fb)](_0x3101cb)){for(let _0x13101b=0x0;_0x13101b<_0x3101cb[_0x4039bd(0x1bf)];_0x13101b++){if(!(_0x13101b in _0x3101cb))continue;let _0x5622a8=String(_0x3101cb[_0x13101b]);_0x5622a8&&_0x1fff90[_0x4039bd(0x161)](mc(_0x1e4ce3,_0x5622a8));}return _0x1fff90;}if(_0x3101cb!=null){let _0xf1f32a=String(_0x3101cb);_0xf1f32a&&_0x1fff90[_0x4039bd(0x161)](mc(_0x1e4ce3,_0xf1f32a));}return _0x1fff90;}function mc(_0x55ef06,_0x2a5d18){const _0x2a1f2b=_0x327967;for(let _0x1af62a of _0x55ef06){if(typeof _0x1af62a==_0x2a1f2b(0x2a0)&&_0x1af62a===_0x2a5d18)return _0x1af62a;if(_0x1af62a&&typeof _0x1af62a==_0x2a1f2b(0x3d8)){let _0x54d2f1=_0x1af62a;if(String(_0x54d2f1['id']??_0x54d2f1['name']??'')===_0x2a5d18||String(_0x54d2f1[_0x2a1f2b(0x158)]??'')===_0x2a5d18)return String(_0x54d2f1[_0x2a1f2b(0x158)]??_0x54d2f1['id']??_0x2a5d18);}}return _0x2a5d18;}function hc(_0x24c141){const _0x3d5bd0=_0x327967;if(_0x24c141&&typeof _0x24c141==_0x3d5bd0(0x3d8)&&!Array[_0x3d5bd0(0x3fb)](_0x24c141)){let _0x58cb8f=_0x24c141;return{'text':String(_0x58cb8f['text']??_0x58cb8f['url']??''),'url':String(_0x58cb8f[_0x3d5bd0(0x15e)]??'')};}return{'text':xc(_0x24c141),'url':xc(_0x24c141)};}function gc(_0x227e84){const _0x27ddf5=_0x327967;let _0x5ba4ba=hc(_0x227e84);return _0x5ba4ba[_0x27ddf5(0x179)]||_0x5ba4ba[_0x27ddf5(0x15e)];}function _c(_0x29816e,_0x515d5c){const _0x45ef90=_0x327967;return typeof _0x29816e!=_0x45ef90(0x218)||!Number[_0x45ef90(0x138)](_0x29816e)?'':mn(_0x29816e,_0x515d5c[_0x45ef90(0x174)]);}function vc(_0x31ca00,_0x17bffb){const _0x40325f=_0x327967;let _0x3e126a=typeof _0x31ca00==_0x40325f(0x218)?_0x31ca00:Number(_0x31ca00);return Number[_0x40325f(0x138)](_0x3e126a)?qo(_0x3e126a,_0x17bffb[_0x40325f(0x174)]):'';}function yc(_0x84eee,_0x5f27b4){const _0x50740d=_0x327967;let _0x24052d=typeof _0x84eee==_0x50740d(0x218)?_0x84eee:Number(_0x84eee);return Number[_0x50740d(0x138)](_0x24052d)?Qo(_0x24052d,_0x5f27b4[_0x50740d(0x174)]):'';}function bc(_0x11219a){const _0x233cdd=_0x327967;return Array[_0x233cdd(0x3fb)](_0x11219a)?_0x11219a[_0x233cdd(0xeb)](_0x471793=>{const _0x31c47b=_0x233cdd;if(!_0x471793||typeof _0x471793!=_0x31c47b(0x3d8))return[];let _0x180493=_0x471793,_0x2abd30=String(_0x180493['name']??_0x180493[_0x31c47b(0x15e)]??'')['trim']();return _0x2abd30?[_0x2abd30]:[];}):[];}function xc(_0x3736fb){const _0x4eae85=_0x327967;if(_0x3736fb==null)return'';if(typeof _0x3736fb=='boolean')return _0x3736fb?_0x4eae85(0x1f3):_0x4eae85(0x408);if(typeof _0x3736fb=='number')return String(_0x3736fb);if(Array['isArray'](_0x3736fb)){let _0x1029f7=[];for(let _0x2d6bfb=0x0;_0x2d6bfb<_0x3736fb[_0x4eae85(0x1bf)];_0x2d6bfb++){if(!(_0x2d6bfb in _0x3736fb))continue;let _0x49bb7b=xc(_0x3736fb[_0x2d6bfb]);_0x49bb7b&&_0x1029f7[_0x4eae85(0x161)](_0x49bb7b);}return _0x1029f7['join'](',\x20');}if(typeof _0x3736fb==_0x4eae85(0x3d8)){let _0x54cc0a=_0x3736fb;return String(_0x54cc0a['title']??_0x54cc0a['name']??_0x54cc0a[_0x4eae85(0x179)]??_0x54cc0a[_0x4eae85(0x15e)]??'')['trim']();}return String(_0x3736fb);}function Sc(_0x4f8d07,_0x355fa3){const _0x861d47=_0x327967;let _0x4d404d=0x0;for(let _0x271d2e of _0x355fa3)if(_0x271d2e){if(_0x271d2e===_0x4f8d07){_0x4d404d=Math[_0x861d47(0x31a)](_0x4d404d,0x12c);continue;}if(_0x271d2e['startsWith'](_0x4f8d07)){_0x4d404d=Math[_0x861d47(0x31a)](_0x4d404d,0xfa);continue;}_0x271d2e[_0x861d47(0x45c)](_0x4f8d07)&&(_0x4d404d=Math[_0x861d47(0x31a)](_0x4d404d,0xc8));}return _0x4d404d;}function Cc(_0x16f5a9){const _0x27f1a4=_0x327967;return _0x16f5a9[_0x27f1a4(0x140)]()[_0x27f1a4(0x42d)](/\s+/g,'\x20')[_0x27f1a4(0x3af)]();}function wc(_0x11977c){const _0x4b02d7=_0x327967;return Array[_0x4b02d7(0x1d1)](new Set(_0x11977c));}function Tc(_0x1ed515){const _0x4d136a=_0x327967;let _0xbcdd51=[];for(let {rowIndex:_0x3f9f4e,fieldIndex:_0x2a4ece,..._0x28ed35}of _0x1ed515)_0xbcdd51[_0x4d136a(0x161)](_0x28ed35);return _0xbcdd51;}function Ec(_0x5710e4){const _0x53264d=_0x327967;return{'compress':!0x0,'kind':'base-range-values-v1','u':_0x5710e4[_0x53264d(0x409)],'t':_0x5710e4['tableId'],'p':_0x5710e4[_0x53264d(0x14b)][_0x53264d(0x412)](_0x170584=>[_0x170584['row'],_0x170584[_0x53264d(0x36b)],Ac(_0x170584[_0x53264d(0x1e1)])]),..._0x5710e4[_0x53264d(0x243)]===void 0x0?{}:{'g':_0x5710e4[_0x53264d(0x243)]}};}function Dc(_0x3e5733){const _0x2dc3d5=_0x327967;if(Lc(_0x3e5733,_0x2dc3d5(0x315)),!Oc(_0x3e5733)){if(!Ic(_0x3e5733))throw Error(_0x2dc3d5(0x328));return _0x3e5733;}return{'unitId':_0x3e5733['u'],'tableId':_0x3e5733['t'],'patches':_0x3e5733['p'][_0x2dc3d5(0x412)](([_0x5b0ae3,_0x12325b,_0x3cea31])=>({'row':_0x5b0ae3,'col':_0x12325b,'value':jc(_0x3cea31)})),..._0x3e5733['g']===void 0x0?{}:{'trigger':_0x3e5733['g']}};}function Oc(_0x4b0ecd){const _0x4120a3=_0x327967;return!Rc(_0x4b0ecd)||_0x4b0ecd[_0x4120a3(0x146)]!==!0x0||_0x4b0ecd[_0x4120a3(0x428)]!==_0x4120a3(0x315)?!0x1:typeof _0x4b0ecd['u']==_0x4120a3(0x2a0)&&typeof _0x4b0ecd['t']=='string'&&(_0x4b0ecd['g']===void 0x0||typeof _0x4b0ecd['g']==_0x4120a3(0x2a0))&&Array[_0x4120a3(0x3fb)](_0x4b0ecd['p'])&&_0x4b0ecd['p']['every'](_0x11c95d=>Array[_0x4120a3(0x3fb)](_0x11c95d)&&_0x11c95d[_0x4120a3(0x1bf)]===0x3&&Number[_0x4120a3(0xe9)](_0x11c95d[0x0])&&Number[_0x4120a3(0xe9)](_0x11c95d[0x1]));}function kc(_0x259afe){const _0x338328=_0x327967;return!Rc(_0x259afe)||_0x259afe[_0x338328(0x146)]!==!0x0||_0x259afe[_0x338328(0x428)]!==_0x338328(0x41d)||!Rc(_0x259afe[_0x338328(0x486)])?!0x1:Object[_0x338328(0x259)](_0x259afe[_0x338328(0x486)])[_0x338328(0x44b)](_0x118481=>Rc(_0x118481)&&(_0x118481['cd']===void 0x0||Array[_0x338328(0x3fb)](_0x118481['cd'])&&_0x118481['cd'][_0x338328(0x44b)](_0x4e3f2e=>Array['isArray'](_0x4e3f2e)&&_0x4e3f2e[_0x338328(0x1bf)]===0x3&&Number[_0x338328(0xe9)](_0x4e3f2e[0x0])&&Number[_0x338328(0xe9)](_0x4e3f2e[0x1])&&Fc(_0x4e3f2e[0x2]))));}function Ac(_0x5e75ad){return Pc(_0x5e75ad)?Mc(_0x5e75ad):_0x5e75ad;}function jc(_0x38d1b2){return Fc(_0x38d1b2)?Nc(_0x38d1b2):_0x38d1b2;}function Mc(_0x1d9888){return{'c':0x1,..._0x1d9888['v']===void 0x0?{}:{'v':_0x1d9888['v']},..._0x1d9888['t']!==void 0x0&&_0x1d9888['t']!==null?{'t':_0x1d9888['t']}:_0x1d9888['t']===null?{'t':null}:{},..._0x1d9888['f']!==void 0x0&&_0x1d9888['f']!==null?{'f':_0x1d9888['f']}:_0x1d9888['f']===null?{'f':null}:{},..._0x1d9888['si']!==void 0x0&&_0x1d9888['si']!==null?{'si':_0x1d9888['si']}:_0x1d9888['si']===null?{'si':null}:{},..._0x1d9888['p']!==void 0x0&&_0x1d9888['p']!==null?{'p':_0x1d9888['p']}:_0x1d9888['p']===null?{'p':null}:{}};}function Nc(_0x5b8ab3){return{..._0x5b8ab3['v']===void 0x0?{}:{'v':_0x5b8ab3['v']},..._0x5b8ab3['t']===void 0x0?{}:{'t':_0x5b8ab3['t']},..._0x5b8ab3['f']===void 0x0?{}:{'f':_0x5b8ab3['f']},..._0x5b8ab3['si']===void 0x0?{}:{'si':_0x5b8ab3['si']},..._0x5b8ab3['p']===void 0x0?{}:{'p':_0x5b8ab3['p']}};}function Pc(_0xf298a8){const _0x286454=_0x327967;return!!_0xf298a8&&typeof _0xf298a8==_0x286454(0x3d8)&&!Array['isArray'](_0xf298a8)&&(Object['prototype']['hasOwnProperty'][_0x286454(0x171)](_0xf298a8,'v')||Object['prototype'][_0x286454(0x150)]['call'](_0xf298a8,'t')||Object[_0x286454(0x331)][_0x286454(0x150)][_0x286454(0x171)](_0xf298a8,'p')||Object[_0x286454(0x331)][_0x286454(0x150)][_0x286454(0x171)](_0xf298a8,'f')||Object[_0x286454(0x331)]['hasOwnProperty'][_0x286454(0x171)](_0xf298a8,'si'));}function Fc(_0xf37247){return Rc(_0xf37247)&&_0xf37247['c']===0x1;}function Ic(_0x4e5e44){const _0x3a9092=_0x327967;return Rc(_0x4e5e44)&&typeof _0x4e5e44[_0x3a9092(0x409)]=='string'&&typeof _0x4e5e44[_0x3a9092(0x19a)]==_0x3a9092(0x2a0)&&(_0x4e5e44['trigger']===void 0x0||typeof _0x4e5e44[_0x3a9092(0x243)]=='string')&&Array['isArray'](_0x4e5e44[_0x3a9092(0x14b)])&&_0x4e5e44['patches']['every'](_0x5e7afd=>Rc(_0x5e7afd)&&Number['isInteger'](_0x5e7afd[_0x3a9092(0x124)])&&Number[_0x3a9092(0xe9)](_0x5e7afd['col'])&&_0x3a9092(0x1e1)in _0x5e7afd);}function Lc(_0x1c4b5b,_0x24d032){const _0x27f679=_0x327967;if(Rc(_0x1c4b5b)&&_0x1c4b5b[_0x27f679(0x146)]===!0x0){if(_0x1c4b5b[_0x27f679(0x428)]!==_0x24d032)throw Error(_0x27f679(0x3e7)+String(_0x1c4b5b[_0x27f679(0x428)])+'\x22.');if(!(_0x24d032==='base-range-values-v1'?Oc(_0x1c4b5b):kc(_0x1c4b5b)))throw Error(_0x27f679(0x392)+_0x24d032+'\x22.');}}function Rc(_0x158ef4){const _0x14a49d=_0x327967;return!!_0x158ef4&&typeof _0x158ef4==_0x14a49d(0x3d8)&&!Array[_0x14a49d(0x3fb)](_0x158ef4);}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,_0x15970e 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};
|