@univerjs-pro/bases 1.0.0-alpha.8 → 1.0.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ar-SA.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/de-DE.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/id-ID.js +1 -1
- package/lib/cjs/locale/it-IT.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/pl-PL.js +1 -1
- package/lib/cjs/locale/pt-BR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/sk-SK.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-HK.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ar-SA.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/de-DE.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/id-ID.js +1 -1
- package/lib/es/locale/it-IT.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/pl-PL.js +1 -1
- package/lib/es/locale/pt-BR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/sk-SK.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-HK.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ar-SA.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/de-DE.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/id-ID.js +1 -1
- package/lib/locale/it-IT.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/pl-PL.js +1 -1
- package/lib/locale/pt-BR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/sk-SK.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-HK.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/commands/commands/batch-create-base-records.command.d.ts +2 -0
- package/lib/types/commands/commands/batch-delete-base-records.command.d.ts +2 -0
- package/lib/types/commands/commands/create-base-child-record.command.d.ts +15 -0
- package/lib/types/commands/commands/create-base-record.command.d.ts +2 -0
- package/lib/types/commands/commands/delete-base-record.command.d.ts +2 -0
- package/lib/types/commands/commands/duplicate-base-record.command.d.ts +2 -0
- package/lib/types/commands/commands/move-base-hierarchy-record.command.d.ts +17 -0
- package/lib/types/commands/commands/set-base-range-values.command.d.ts +8 -1
- package/lib/types/commands/commands/set-base-record-values.command.d.ts +2 -0
- package/lib/types/commands/commands/set-base-table-hierarchy-field.command.d.ts +9 -0
- package/lib/types/commands/commands/update-base-cell.command.d.ts +2 -0
- package/lib/types/commands/commands/update-base-view-conditional-color-rules.command.d.ts +32 -0
- package/lib/types/commands/commands/validate-base-formula.command.d.ts +8 -0
- package/lib/types/commands/mutations/apply-base-json1.mutation.d.ts +4 -0
- package/lib/types/commands/utils/base-record-creation.d.ts +18 -0
- package/lib/types/commands/utils/base-validation.d.ts +6 -1
- package/lib/types/controllers/base-formula-calculation.controller.d.ts +1 -0
- package/lib/types/facade/f-base.d.ts +24 -9
- package/lib/types/facade/f-enum.d.ts +208 -3
- package/lib/types/facade/f-event.d.ts +102 -0
- package/lib/types/facade/f-field.d.ts +6 -6
- package/lib/types/facade/f-range.d.ts +4 -1
- package/lib/types/facade/f-record.d.ts +325 -1
- package/lib/types/facade/f-table.d.ts +293 -16
- package/lib/types/facade/f-univer.d.ts +2 -0
- package/lib/types/facade/f-view.d.ts +179 -3
- package/lib/types/facade/field-key.d.ts +3 -1
- package/lib/types/fields/date-format.d.ts +20 -1
- package/lib/types/fields/field-core-plugin.d.ts +7 -4
- package/lib/types/fields/field-stat.d.ts +10 -0
- package/lib/types/fields/progress-format.d.ts +1 -0
- package/lib/types/index.d.ts +25 -2
- package/lib/types/locale/en-US.d.ts +1 -1
- package/lib/types/models/base-hierarchy.d.ts +108 -0
- package/lib/types/models/base-table-name.d.ts +8 -0
- package/lib/types/models/record-link.d.ts +14 -0
- package/lib/types/ot/json1-op-applier.d.ts +3 -1
- package/lib/types/ot/json1-op-factory.d.ts +1 -1
- package/lib/types/ot/json1-util.d.ts +2 -2
- package/lib/types/services/base-command.service.d.ts +1 -0
- package/lib/types/services/base-formula.service.d.ts +2 -23
- package/lib/types/services/base-projection.service.d.ts +4 -0
- 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 +7 -7
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x46db(_0x57cd89,_0x57eb3f){_0x57cd89=_0x57cd89-0x15f;const _0x47b7a2=_0x47b7();let _0x46db0c=_0x47b7a2[_0x57cd89];return _0x46db0c;}(function(_0x1f79a6,_0x56f54a){const _0x363ed7=_0x46db,_0x221638=_0x1f79a6();while(!![]){try{const _0x2d9955=-parseInt(_0x363ed7(0x469))/0x1+parseInt(_0x363ed7(0x345))/0x2*(-parseInt(_0x363ed7(0x438))/0x3)+-parseInt(_0x363ed7(0x326))/0x4+parseInt(_0x363ed7(0x33b))/0x5+-parseInt(_0x363ed7(0x225))/0x6+-parseInt(_0x363ed7(0x176))/0x7+parseInt(_0x363ed7(0x27c))/0x8;if(_0x2d9955===_0x56f54a)break;else _0x221638['push'](_0x221638['shift']());}catch(_0x1a2545){_0x221638['push'](_0x221638['shift']());}}}(_0x47b7,0x42e47),function(_0x22b89f,_0x32b98d){const _0x63ed31=_0x46db;typeof exports==_0x63ed31(0x3b2)&&typeof module<'u'?_0x32b98d(exports,require('@univerjs/core'),require('@univerjs-pro/engine-formula'),require('@univerjs-pro/license'),require('@univerjs/rpc'),require('@univerjs/engine-formula')):typeof define==_0x63ed31(0x1e0)&&define[_0x63ed31(0x3b0)]?define([_0x63ed31(0x488),_0x63ed31(0x23c),_0x63ed31(0x3a7),_0x63ed31(0x2eb),_0x63ed31(0x174),_0x63ed31(0x40b)],_0x32b98d):(_0x22b89f=typeof globalThis<'u'?globalThis:_0x22b89f||self,_0x32b98d(_0x22b89f['UniverProBases']={},_0x22b89f[_0x63ed31(0x2ce)],_0x22b89f['UniverProEngineFormula'],_0x22b89f[_0x63ed31(0x1e5)],_0x22b89f[_0x63ed31(0x3c4)],_0x22b89f['UniverEngineFormula']));}(this,function(_0xa7b41c,_0x3ffd4d,_0x3a7103,_0x1cd60b,_0x54c5b3,_0x55656d){const _0x3bf781=_0x46db;Object[_0x3bf781(0x3a9)](_0xa7b41c,Symbol[_0x3bf781(0x252)],{'value':_0x3bf781(0x384)});let _0x5da0c2=0x0;function _0x1c6752(){const _0x58aa95=_0x3bf781;if(globalThis[_0x58aa95(0x1e1)]===!0x0)return!0x0;try{let _0x468450=typeof location>'u'?'':location[_0x58aa95(0x1b0)],_0x3f4ea7=new URLSearchParams(_0x468450);if(_0x3f4ea7['get'](_0x58aa95(0x25b))==='1'||_0x3f4ea7[_0x58aa95(0x393)](_0x58aa95(0x25b))==='true'||_0x3f4ea7[_0x58aa95(0x393)]('base-perf')==='1')return!0x0;}catch{}try{let _0x187a6f=typeof localStorage>'u'?null:localStorage[_0x58aa95(0x1ee)](_0x58aa95(0x379));return _0x187a6f==='1'||_0x187a6f===_0x58aa95(0x369);}catch{return!0x1;}}function _0xaf0146(_0x1a3fb4,_0x592a94,_0x26e631){const _0x45893b=_0x3bf781;if(!_0x1c6752())return _0x592a94();let _0x3ebd45=_0x1cb70c(),_0x5799bb=_0x45893b(0x1e2)+_0x5da0c2++;_0x3c1e70(_0x5799bb+_0x45893b(0x425));try{return _0x592a94();}finally{let _0x207156=_0x1cb70c()-_0x3ebd45;_0x3c1e70(_0x5799bb+':end'),_0x3519b3(_0x1a3fb4,_0x5799bb+_0x45893b(0x425),_0x5799bb+_0x45893b(0x421)),_0x35a7fb(_0x1a3fb4,_0x207156,_0x26e631);}}function _0x35a7fb(_0x309975,_0x1ac773,_0x26fb01){const _0x328498=_0x3bf781;if(!_0x1c6752())return;let _0x2fe4b4=Math[_0x328498(0x3c8)](_0x1ac773*0x64)/0x64,_0x513f86=_0x26fb01&&Object['keys'](_0x26fb01)[_0x328498(0x2e1)]?'\x20'+JSON[_0x328498(0x177)](_0x26fb01):'';console['info'](_0x328498(0x248)+_0x309975+':\x20'+_0x2fe4b4+'ms'+_0x513f86);}function _0x1cb70c(){const _0x30e5f4=_0x3bf781;return typeof performance<'u'&&typeof performance[_0x30e5f4(0x18a)]==_0x30e5f4(0x1e0)?performance[_0x30e5f4(0x18a)]():Date[_0x30e5f4(0x18a)]();}function _0x3c1e70(_0xa13c4d){const _0x3befbc=_0x3bf781;try{if(typeof performance<'u'){var _0x5ab6ad,_0x4961df;(_0x5ab6ad=(_0x4961df=performance)[_0x3befbc(0x2b3)])==null||_0x5ab6ad[_0x3befbc(0x1cf)](_0x4961df,_0xa13c4d);}}catch{}}function _0x3519b3(_0x50ed04,_0x3568ea,_0x5a29e9){const _0x5e5054=_0x3bf781;try{if(typeof performance<'u'){var _0x18a30a,_0x33f795;(_0x18a30a=(_0x33f795=performance)[_0x5e5054(0x3ae)])==null||_0x18a30a[_0x5e5054(0x1cf)](_0x33f795,_0x5e5054(0x248)+_0x50ed04,_0x3568ea,_0x5a29e9);}}catch{}}function _0x374807(_0x1e95ab){const _0x1d5c8f=_0x3bf781;var _0x265914,_0x29b530;return _0x1c6752()?_0xaf0146(_0x1d5c8f(0x186),()=>_0x5937ec(_0x1e95ab),{'tableId':_0x1e95ab['id'],'records':Object['keys']((_0x265914=_0x1e95ab[_0x1d5c8f(0x25f)])==null?{}:_0x265914)[_0x1d5c8f(0x2e1)],'fields':_0x1e95ab[_0x1d5c8f(0x2a8)]['length'],'hasRecordOrder':!!((_0x29b530=_0x1e95ab[_0x1d5c8f(0x19f)])!=null&&_0x29b530[_0x1d5c8f(0x2e1)])}):_0x5937ec(_0x1e95ab);}function _0x5937ec(_0x29071c){const _0x364101=_0x3bf781;var _0x5bcfad,_0x26ed44,_0xe27e80,_0x305c27,_0x5e931c,_0x1f93ac,_0x142e4d,_0x59ebbd,_0x3150cb,_0x4c3a5;let _0x2936a0=(_0x5bcfad=_0x29071c['records'])==null?{}:_0x5bcfad,_0x531924=(_0x26ed44=_0x29071c['fields'])==null?{}:_0x26ed44,_0x205608=(_0xe27e80=(_0x305c27=_0x29071c['recordOrder'])==null?void 0x0:_0x305c27[_0x364101(0x3e7)](_0x1a722c=>_0x2936a0[_0x1a722c]))==null?[]:_0xe27e80,_0x269372=new Set(_0x205608),_0x1b8905=[];for(let _0x353185 of Object[_0x364101(0x449)](_0x2936a0))_0x269372[_0x364101(0x22a)](_0x353185['id'])||_0x1b8905['push'](_0x353185);let _0x3d4da6=_0x1b8905['length']?[..._0x205608,..._0x273f40(_0x1b8905)]:_0x205608,_0x7afb48=_0x29071c[_0x364101(0x2a8)][_0x364101(0x3e7)](_0x41cf81=>_0x531924[_0x41cf81]),_0x5f5120={...(_0x5e931c=_0x29071c[_0x364101(0x3e2)])==null?{}:_0x5e931c},_0x38ce99={...(_0x1f93ac=_0x29071c[_0x364101(0x3d8)])==null?{}:_0x1f93ac},_0x480f86={...(_0x142e4d=_0x29071c[_0x364101(0x434)])==null?{}:_0x142e4d};return _0x29071c['recordOrder']=_0x3d4da6,_0x29071c[_0x364101(0x491)]={},_0x29071c[_0x364101(0x3e2)]={},_0x29071c['colIndex']={},_0x29071c[_0x364101(0x3d8)]={},_0x29071c[_0x364101(0x434)]={},_0x29071c[_0x364101(0x432)]={...(_0x59ebbd=_0x29071c[_0x364101(0x432)])==null?{}:_0x59ebbd},_0x29071c[_0x364101(0x432)][_0x364101(0x48c)]={...(_0x3150cb=_0x29071c[_0x364101(0x432)][_0x364101(0x48c)])==null?{}:_0x3150cb},_0x29071c[_0x364101(0x432)][_0x364101(0x26b)]={...(_0x4c3a5=_0x29071c[_0x364101(0x432)]['attachments'])==null?{}:_0x4c3a5},_0x3d4da6[_0x364101(0x43f)]((_0x1a3ff3,_0x31c5f9)=>{const _0x3c598a=_0x364101;_0x29071c[_0x3c598a(0x491)][_0x1a3ff3]=_0x31c5f9,_0x29071c[_0x3c598a(0x3e2)][_0x31c5f9]=_0x1a3ff3;}),_0x7afb48[_0x364101(0x43f)]((_0x100548,_0x21cb29)=>{const _0x16d00a=_0x364101;_0x29071c[_0x16d00a(0x395)][_0x100548]=_0x21cb29,_0x29071c[_0x16d00a(0x3d8)][_0x21cb29]=_0x100548;}),Object[_0x364101(0x1d1)](_0x480f86)[_0x364101(0x43f)](([_0x4ec58b,_0x58c804])=>{const _0x5e0b86=_0x364101;var _0x2200f6,_0x573c32;let _0x1cbd56=Number(_0x4ec58b),_0x4fb308=(_0x2200f6=_0x5f5120[_0x1cbd56])==null?_0x3d4da6[_0x1cbd56]:_0x2200f6,_0x1cb875=_0x4fb308?_0x29071c['rowIndex'][_0x4fb308]:void 0x0;_0x1cb875!=null&&(_0x29071c[_0x5e0b86(0x434)][_0x1cb875]={...(_0x573c32=_0x29071c['cellData'][_0x1cb875])==null?{}:_0x573c32},Object[_0x5e0b86(0x1d1)](_0x58c804==null?{}:_0x58c804)[_0x5e0b86(0x43f)](([_0x143ef0,_0x582c87])=>{const _0x288116=_0x5e0b86;var _0xd9eecb;let _0xbea1af=Number(_0x143ef0),_0x29e1d9=(_0xd9eecb=_0x38ce99[_0xbea1af])==null?_0x7afb48[_0xbea1af]:_0xd9eecb,_0x49453f=_0x29e1d9?_0x29071c[_0x288116(0x395)][_0x29e1d9]:void 0x0;_0x49453f!=null&&(_0x29071c[_0x288116(0x434)][_0x1cb875][_0x49453f]=_0x111955(_0x582c87));}));}),Object[_0x364101(0x449)](_0x2936a0)[_0x364101(0x43f)](_0x484cec=>{const _0x3f9299=_0x364101;var _0x2b3bbb,_0x3370cb;let _0x28381a=_0x29071c[_0x3f9299(0x491)][_0x484cec['id']];_0x28381a!=null&&(_0x29071c[_0x3f9299(0x434)][_0x28381a]={...(_0x2b3bbb=_0x29071c[_0x3f9299(0x434)][_0x28381a])==null?{}:_0x2b3bbb},Object[_0x3f9299(0x1d1)]((_0x3370cb=_0x484cec['values'])==null?{}:_0x3370cb)[_0x3f9299(0x43f)](([_0xace33c,_0x4bc259])=>{const _0x52ffd0=_0x3f9299;let _0x7bf262=_0x531924[_0xace33c];(_0x7bf262==null?void 0x0:_0x7bf262['type'])===_0x3ffd4d[_0x52ffd0(0x376)][_0x52ffd0(0x291)]&&_0x3dd7c2(_0x29071c,_0x484cec['id'],_0xace33c,_0x4bc259);let _0x4561a5=_0x29071c[_0x52ffd0(0x395)][_0xace33c];if(_0x4561a5==null)return;let _0x2fa181=_0x29071c[_0x52ffd0(0x434)][_0x28381a][_0x4561a5];if(_0x2fa181!=null){_0x4b0779(_0x2fa181,_0x7bf262,_0x4bc259)&&(_0x29071c[_0x52ffd0(0x434)][_0x28381a][_0x4561a5]=_0xa2dd6(_0x4bc259,_0x7bf262));return;}_0x29071c[_0x52ffd0(0x434)][_0x28381a][_0x4561a5]=_0xa2dd6(_0x4bc259,_0x7bf262);}));}),_0x29071c;}function _0x2cfce6(_0x4ae3d6){const _0x33d5e2=_0x3bf781;var _0x269d2b;return _0x374807(_0x4ae3d6),Object['entries']((_0x269d2b=_0x4ae3d6[_0x33d5e2(0x3e2)])==null?{}:_0x269d2b)[_0x33d5e2(0x43f)](([_0x36139f,_0x1fab14])=>{const _0x594484=_0x33d5e2;var _0x2d94a9,_0x3e2570,_0x187797;let _0x1fb6ff=Number(_0x36139f),_0x25ff4f=_0x4ae3d6['records'][_0x1fab14];_0x25ff4f&&(_0x25ff4f[_0x594484(0x449)]={...(_0x2d94a9=_0x25ff4f[_0x594484(0x449)])==null?{}:_0x2d94a9},Object['entries']((_0x3e2570=(_0x187797=_0x4ae3d6['cellData'])==null?void 0x0:_0x187797[_0x1fb6ff])==null?{}:_0x3e2570)['forEach'](([_0x240cfb,_0x484a1b])=>{const _0x2d6aab=_0x594484;var _0x41fc01;let _0x3a8bbc=(_0x41fc01=_0x4ae3d6[_0x2d6aab(0x3d8)])==null?void 0x0:_0x41fc01[Number(_0x240cfb)];_0x3a8bbc&&(_0x25ff4f[_0x2d6aab(0x449)][_0x3a8bbc]=_0x311d37(_0x484a1b,_0x4ae3d6[_0x2d6aab(0x3b1)][_0x3a8bbc],_0x4ae3d6,_0x1fab14));}));}),_0x4ae3d6;}function _0x4647e0(_0x40f795,_0x3d5a76){const _0x590175=_0x3bf781;for(let {row:_0x2bd820,col:_0x3076c6}of _0x3d5a76){var _0x57d1dd,_0x4e32fc,_0x284308,_0x2ec87c,_0x234112;let _0x1551f1=(_0x57d1dd=_0x40f795['rowId'])==null?void 0x0:_0x57d1dd[_0x2bd820],_0x59e6e6=(_0x4e32fc=_0x40f795[_0x590175(0x3d8)])==null?void 0x0:_0x4e32fc[_0x3076c6],_0x5c394e=_0x1551f1?_0x40f795[_0x590175(0x25f)][_0x1551f1]:void 0x0;if(!_0x5c394e||!_0x59e6e6)continue;let _0x3e11f4=(_0x284308=_0x40f795['cellData'])==null||(_0x284308=_0x284308[_0x2bd820])==null?void 0x0:_0x284308[_0x3076c6];_0x3e11f4==null&&!Object[_0x590175(0x3d0)]['hasOwnProperty'][_0x590175(0x1cf)]((_0x2ec87c=_0x5c394e[_0x590175(0x449)])==null?{}:_0x2ec87c,_0x59e6e6)||(_0x5c394e['values']={...(_0x234112=_0x5c394e[_0x590175(0x449)])==null?{}:_0x234112},_0x5c394e['values'][_0x59e6e6]=_0x311d37(_0x3e11f4,_0x40f795[_0x590175(0x3b1)][_0x59e6e6],_0x40f795,_0x1551f1));}return _0x40f795;}function _0x534fa6(_0x1b5066,_0x9df6c7,_0x811c89){const _0x38e03a=_0x3bf781;var _0x31f87d,_0xbdc9ba,_0x3e74d3,_0x6f317e,_0x42dabe,_0x550ee3;let _0x1dd9fa=(_0x31f87d=_0x1b5066[_0x38e03a(0x491)])==null?void 0x0:_0x31f87d[_0x9df6c7],_0x2ed47e=(_0xbdc9ba=_0x1b5066[_0x38e03a(0x395)])==null?void 0x0:_0xbdc9ba[_0x811c89];if(_0x1dd9fa!=null&&_0x2ed47e!=null&&((_0x3e74d3=_0x1b5066[_0x38e03a(0x3e2)])==null?void 0x0:_0x3e74d3[_0x1dd9fa])===_0x9df6c7&&((_0x6f317e=_0x1b5066[_0x38e03a(0x3d8)])==null?void 0x0:_0x6f317e[_0x2ed47e])===_0x811c89)return{'row':_0x1dd9fa,'col':_0x2ed47e};let _0x118a41=_0x374807(_0x1b5066),_0x582b85=(_0x42dabe=_0x118a41['rowIndex'])==null?void 0x0:_0x42dabe[_0x9df6c7],_0x12415d=(_0x550ee3=_0x118a41[_0x38e03a(0x395)])==null?void 0x0:_0x550ee3[_0x811c89];return _0x582b85==null||_0x12415d==null?null:{'row':_0x582b85,'col':_0x12415d};}function _0x2a3cd5(_0x398225,_0x563997,_0x3b3a4c){const _0x5bd811=_0x3bf781;var _0x457b88;let _0x51ac86=_0x534fa6(_0x398225,_0x563997,_0x3b3a4c);if(_0x51ac86)return(_0x457b88=_0x398225[_0x5bd811(0x434)])==null||(_0x457b88=_0x457b88[_0x51ac86['row']])==null?void 0x0:_0x457b88[_0x51ac86['col']];}function _0x2615d4(_0x34d80,_0xaec1fa,_0x3144fd){const _0x54d485=_0x3bf781;var _0x1454f7,_0x292b12;let _0xf74d0a=_0x2a3cd5(_0x34d80,_0xaec1fa,_0x3144fd),_0x3442db=_0x34d80[_0x54d485(0x3b1)][_0x3144fd];if((_0x3442db==null?void 0x0:_0x3442db['type'])===_0x3ffd4d['BaseFieldType']['Attachment']){var _0x850e7f,_0x303b3f;return(_0x850e7f=_0x130e5a(_0x34d80,_0xaec1fa,_0x3144fd))==null?_0xbab599((_0x303b3f=_0x34d80[_0x54d485(0x25f)][_0xaec1fa])==null||(_0x303b3f=_0x303b3f[_0x54d485(0x449)])==null?void 0x0:_0x303b3f[_0x3144fd]):_0x850e7f;}if(_0x372ace(_0x3442db)||(_0x3442db==null?void 0x0:_0x3442db[_0x54d485(0x2ec)])===_0x3ffd4d[_0x54d485(0x376)][_0x54d485(0x3e8)]){var _0x572dfd;let _0x175322=(_0x572dfd=_0x34d80[_0x54d485(0x25f)][_0xaec1fa])==null||(_0x572dfd=_0x572dfd[_0x54d485(0x449)])==null?void 0x0:_0x572dfd[_0x3144fd];return _0x175322!=null&&_0x175322!==''?_0x3bec3a(_0x175322,_0x3442db):_0x311d37(_0xf74d0a,_0x3442db,_0x34d80,_0xaec1fa);}if(_0xf74d0a&&Object[_0x54d485(0x3d0)][_0x54d485(0x33c)][_0x54d485(0x1cf)](_0xf74d0a,'v')){var _0x30b527;return(_0x30b527=_0xf74d0a['v'])==null?null:_0x30b527;}return(_0x1454f7=(_0x292b12=_0x34d80['records'][_0xaec1fa])==null||(_0x292b12=_0x292b12[_0x54d485(0x449)])==null?void 0x0:_0x292b12[_0x3144fd])==null?null:_0x1454f7;}function _0x2986e9(_0x2c5f16,_0x3caa5d,_0x2bd048){const _0x542f58=_0x3bf781;var _0x5da27e,_0x11572a,_0xd70878;let _0x26bf46=_0x2a3cd5(_0x2c5f16,_0x3caa5d,_0x2bd048);if(_0x26bf46&&Object['prototype'][_0x542f58(0x33c)][_0x542f58(0x1cf)](_0x26bf46,'v')){var _0x3504ce;return(_0x3504ce=_0x26bf46['v'])==null?null:_0x3504ce;}let _0x1712dd=_0x2c5f16[_0x542f58(0x3b1)][_0x2bd048];return(_0x5da27e=_0xa2dd6((_0x11572a=(_0xd70878=_0x2c5f16[_0x542f58(0x25f)][_0x3caa5d])==null||(_0xd70878=_0xd70878['values'])==null?void 0x0:_0xd70878[_0x2bd048])==null?null:_0x11572a,_0x1712dd)['v'])==null?null:_0x5da27e;}function _0xa2dd6(_0x10999a,_0x518e84){const _0x300232=_0x3bf781;if(_0xde6e89(_0x10999a))return(_0x518e84==null?void 0x0:_0x518e84['type'])===_0x3ffd4d[_0x300232(0x376)][_0x300232(0x291)]?{..._0x10999a,'v':'','t':_0x3ffd4d[_0x300232(0x29d)]['STRING']}:_0x111955(_0x10999a);if((_0x518e84==null?void 0x0:_0x518e84[_0x300232(0x2ec)])===_0x3ffd4d[_0x300232(0x376)][_0x300232(0x291)])return{'v':'','t':_0x3ffd4d[_0x300232(0x29d)][_0x300232(0x456)]};if(_0x372ace(_0x518e84))return{'v':_0x5b392e(_0x10999a)[_0x300232(0x2ee)](',\x20'),'t':_0x3ffd4d['CellValueType'][_0x300232(0x456)]};if((_0x518e84==null?void 0x0:_0x518e84['type'])===_0x3ffd4d[_0x300232(0x376)][_0x300232(0x3e8)]&&_0x10999a&&typeof _0x10999a==_0x300232(0x3b2)&&!Array[_0x300232(0x30b)](_0x10999a)){var _0x353cfe,_0x14f6b6;let _0x3ceaa9=_0x10999a;return{'v':String((_0x353cfe=(_0x14f6b6=_0x3ceaa9[_0x300232(0x1a7)])==null?_0x3ceaa9[_0x300232(0x16c)]:_0x14f6b6)==null?'':_0x353cfe),'t':_0x3ffd4d[_0x300232(0x29d)]['STRING']};}return _0x10999a===null||typeof _0x10999a==_0x300232(0x2e9)||typeof _0x10999a==_0x300232(0x236)||typeof _0x10999a==_0x300232(0x2c2)?{'v':_0x10999a,'t':_0x1fb8e2(_0x10999a)}:{'v':null,'t':null};}function _0x111955(_0x5da501){let _0x2c1642=_0xf4f794(_0x5da501['t'],_0x5da501['v']);if(_0x2c1642===void 0x0){let {t:_0xf06097,..._0x4f70d2}=_0x5da501;return _0x4f70d2;}return{..._0x5da501,'t':_0x2c1642};}function _0x311d37(_0x1525a6,_0xacb1ed,_0x2b2606,_0x551baf){const _0x19e83f=_0x3bf781;if(!_0x1525a6)return null;if((_0xacb1ed==null?void 0x0:_0xacb1ed[_0x19e83f(0x2ec)])===_0x3ffd4d[_0x19e83f(0x376)][_0x19e83f(0x291)]){var _0x5557de;return _0x2b2606&&_0x551baf?(_0x5557de=_0x130e5a(_0x2b2606,_0x551baf,_0xacb1ed['id']))==null?[]:_0x5557de:[];}if(_0x372ace(_0xacb1ed))return _0x5b392e(_0x1525a6['v']);if((_0xacb1ed==null?void 0x0:_0xacb1ed[_0x19e83f(0x2ec)])===_0x3ffd4d[_0x19e83f(0x376)]['Link']&&_0x2b2606&&_0x551baf){var _0x15e591;let _0xec67a8=(_0x15e591=_0x2b2606[_0x19e83f(0x25f)][_0x551baf])==null||(_0x15e591=_0x15e591[_0x19e83f(0x449)])==null?void 0x0:_0x15e591[_0xacb1ed['id']];if(_0xec67a8&&typeof _0xec67a8==_0x19e83f(0x3b2)&&!Array[_0x19e83f(0x30b)](_0xec67a8))return _0xec67a8;}if(Object[_0x19e83f(0x3d0)]['hasOwnProperty'][_0x19e83f(0x1cf)](_0x1525a6,'v')){var _0x13e0f2;return(_0x13e0f2=_0x1525a6['v'])==null?null:_0x13e0f2;}return null;}function _0x4b91d3(_0x568408,_0x24093e,_0x3ae4e0,_0x5e2641,_0x295898){const _0x3f831b=_0x3bf781;return(_0x3ae4e0==null?void 0x0:_0x3ae4e0[_0x3f831b(0x2ec)])===_0x3ffd4d[_0x3f831b(0x376)][_0x3f831b(0x291)]?_0xbab599(_0x568408):_0x372ace(_0x3ae4e0)?_0x5b392e(_0x568408):(_0x3ae4e0==null?void 0x0:_0x3ae4e0[_0x3f831b(0x2ec)])===_0x3ffd4d['BaseFieldType'][_0x3f831b(0x3e8)]&&_0x568408&&typeof _0x568408==_0x3f831b(0x3b2)&&!Array[_0x3f831b(0x30b)](_0x568408)&&!_0xde6e89(_0x568408)?_0x568408:_0x311d37(_0x24093e,_0x3ae4e0,_0x5e2641,_0x295898);}function _0xde6e89(_0x54773f){const _0x13e149=_0x3bf781;return!!_0x54773f&&typeof _0x54773f=='object'&&(Object['prototype'][_0x13e149(0x33c)][_0x13e149(0x1cf)](_0x54773f,'v')||Object[_0x13e149(0x3d0)][_0x13e149(0x33c)][_0x13e149(0x1cf)](_0x54773f,'t')||Object[_0x13e149(0x3d0)]['hasOwnProperty'][_0x13e149(0x1cf)](_0x54773f,'p')||Object[_0x13e149(0x3d0)]['hasOwnProperty'][_0x13e149(0x1cf)](_0x54773f,'f')||Object[_0x13e149(0x3d0)]['hasOwnProperty'][_0x13e149(0x1cf)](_0x54773f,'si'));}function _0x53a71f(_0xfae904,_0x542676){return _0xfae904+'\x1f'+_0x542676;}function _0x3dd7c2(_0xdcbad,_0x4d446f,_0x1b95a2,_0x3a5b9f){const _0x134ecb=_0x3bf781;var _0x11f1d7,_0x1786c2,_0x28b8e6;let _0x50cfad=_0xbab599(_0x3a5b9f);_0xdcbad[_0x134ecb(0x432)]={...(_0x11f1d7=_0xdcbad['resources'])==null?{}:_0x11f1d7},_0xdcbad[_0x134ecb(0x432)][_0x134ecb(0x48c)]={...(_0x1786c2=_0xdcbad[_0x134ecb(0x432)][_0x134ecb(0x48c)])==null?{}:_0x1786c2},_0xdcbad['resources'][_0x134ecb(0x26b)]={...(_0x28b8e6=_0xdcbad['resources'][_0x134ecb(0x26b)])==null?{}:_0x28b8e6};let _0x29115b=_0x53a71f(_0x1b95a2,_0x4d446f),_0x59293e=[];for(let _0x473dd0=0x0;_0x473dd0<_0x50cfad[_0x134ecb(0x2e1)];_0x473dd0++){var _0x134057;if(!(_0x473dd0 in _0x50cfad))continue;let _0x24746a=_0x50cfad[_0x473dd0],_0x28b03b=String((_0x134057=_0x24746a['id'])==null?_0x29115b+'\x1f'+_0x473dd0:_0x134057),_0xf450b4={..._0x24746a,'id':_0x28b03b};_0xdcbad[_0x134ecb(0x432)][_0x134ecb(0x26b)][_0x28b03b]=_0xf450b4,_0x59293e[_0x134ecb(0x2af)](_0x28b03b);}_0xdcbad[_0x134ecb(0x432)]['attachmentSets'][_0x29115b]=_0x59293e;}function _0x130e5a(_0x42017b,_0x34f78b,_0x27ae46){const _0x224844=_0x3bf781;var _0x26308f;let _0x1fc61b=_0x53a71f(_0x27ae46,_0x34f78b),_0x257d54=(_0x26308f=_0x42017b['resources'])==null||(_0x26308f=_0x26308f['attachmentSets'])==null?void 0x0:_0x26308f[_0x1fc61b];if(!_0x257d54)return null;let _0x11060d=[];for(let _0x59bed6=0x0;_0x59bed6<_0x257d54[_0x224844(0x2e1)];_0x59bed6++){var _0x23789a;if(!(_0x59bed6 in _0x257d54))continue;let _0x386a21=(_0x23789a=_0x42017b[_0x224844(0x432)])==null||(_0x23789a=_0x23789a[_0x224844(0x26b)])==null?void 0x0:_0x23789a[_0x257d54[_0x59bed6]];_0x386a21&&_0x11060d[_0x224844(0x2af)]({..._0x386a21});}return _0x11060d;}function _0xbab599(_0x587056){const _0x439f45=_0x3bf781;if(_0x587056==null||_0x587056===''||_0xde6e89(_0x587056)&&!('id'in _0x587056)&&!('name'in _0x587056))return[];let _0x40924c=Array[_0x439f45(0x30b)](_0x587056)?_0x587056:[_0x587056],_0x1d1446=[];for(let _0x52a7a8=0x0;_0x52a7a8<_0x40924c['length'];_0x52a7a8++){if(!(_0x52a7a8 in _0x40924c))continue;let _0x4d34d3=_0x40924c[_0x52a7a8],_0x4273cf=_0x4d34d3&&typeof _0x4d34d3==_0x439f45(0x3b2)?{..._0x4d34d3}:{'id':'attachment-'+_0x52a7a8,'name':String(_0x4d34d3)};Object['keys'](_0x4273cf)[_0x439f45(0x2e1)]>0x0&&_0x1d1446[_0x439f45(0x2af)](_0x4273cf);}return _0x1d1446;}function _0x3bec3a(_0x1ecf57,_0x1d909c){const _0x5aeaaf=_0x3bf781;return(_0x1d909c==null?void 0x0:_0x1d909c[_0x5aeaaf(0x2ec)])===_0x3ffd4d[_0x5aeaaf(0x376)][_0x5aeaaf(0x291)]?_0xbab599(_0x1ecf57):_0x372ace(_0x1d909c)?_0x5b392e(_0x1ecf57):_0x1ecf57;}function _0x4b0779(_0x39b4e5,_0x1d0721,_0x244d75){const _0x38cfef=_0x3bf781;return(_0x1d0721==null?void 0x0:_0x1d0721[_0x38cfef(0x2ec)])===_0x3ffd4d[_0x38cfef(0x376)][_0x38cfef(0x291)]?_0x39b4e5['v']!=='':_0x372ace(_0x1d0721)?Array[_0x38cfef(0x30b)](_0x244d75)&&(_0x39b4e5['v']==null||_0x39b4e5['v']===''):!0x1;}function _0x372ace(_0x26912e){const _0x55d31c=_0x3bf781;return(_0x26912e==null?void 0x0:_0x26912e[_0x55d31c(0x2ec)])===_0x3ffd4d['BaseFieldType'][_0x55d31c(0x36f)]||(_0x26912e==null?void 0x0:_0x26912e[_0x55d31c(0x2ec)])===_0x3ffd4d[_0x55d31c(0x376)][_0x55d31c(0x2a3)]||(_0x26912e==null?void 0x0:_0x26912e[_0x55d31c(0x2ec)])===_0x3ffd4d[_0x55d31c(0x376)][_0x55d31c(0x34d)];}function _0x5b392e(_0xd3f266){const _0x5a7f85=_0x3bf781;if(_0xd3f266==null||_0xd3f266==='')return[];let _0x4a83cb=[];if(Array[_0x5a7f85(0x30b)](_0xd3f266)){for(let _0x553a78=0x0;_0x553a78<_0xd3f266[_0x5a7f85(0x2e1)];_0x553a78++){if(!(_0x553a78 in _0xd3f266))continue;let _0x2740d4=_0xc706a9(_0xd3f266[_0x553a78]);_0x2740d4&&_0x4a83cb['push'](_0x2740d4);}return _0x4a83cb;}for(let _0x57185f of String(_0xd3f266)[_0x5a7f85(0x295)](',')){let _0x531a0a=_0x57185f['trim']();_0x531a0a&&_0x4a83cb[_0x5a7f85(0x2af)](_0x531a0a);}return _0x4a83cb;}function _0xc706a9(_0xd06565){const _0x5dd381=_0x3bf781;if(_0xd06565==null)return'';if(typeof _0xd06565==_0x5dd381(0x2e9)||typeof _0xd06565==_0x5dd381(0x236)||typeof _0xd06565==_0x5dd381(0x2c2))return String(_0xd06565);if(typeof _0xd06565==_0x5dd381(0x3b2)){var _0x4f9c93,_0x4a06c0,_0xaf295f;let _0x248216=_0xd06565;return String((_0x4f9c93=(_0x4a06c0=(_0xaf295f=_0x248216['id'])==null?_0x248216[_0x5dd381(0x209)]:_0xaf295f)==null?_0x248216[_0x5dd381(0x1a7)]:_0x4a06c0)==null?'':_0x4f9c93);}return String(_0xd06565);}function _0x1fb8e2(_0x336286){const _0x33c92d=_0x3bf781;return _0x336286==null?null:typeof _0x336286=='number'?_0x3ffd4d[_0x33c92d(0x29d)][_0x33c92d(0x32c)]:typeof _0x336286==_0x33c92d(0x2c2)?_0x3ffd4d['CellValueType']['BOOLEAN']:_0x3ffd4d[_0x33c92d(0x29d)]['STRING'];}function _0x273f40(_0x27552f){const _0x2de00a=_0x3bf781;_0x27552f[_0x2de00a(0x1ef)]((_0x28a01c,_0x3925ad)=>_0x28a01c['orderKey'][_0x2de00a(0x3ce)](_0x3925ad[_0x2de00a(0x3f5)]));let _0x41d3a7=[];for(let _0xf63ec9 of _0x27552f)_0x41d3a7[_0x2de00a(0x2af)](_0xf63ec9['id']);return _0x41d3a7;}function _0xf4f794(_0x476c8a,_0x2eaaf7){const _0x3577d8=_0x3bf781;return _0x476c8a===_0x3ffd4d['CellValueType'][_0x3577d8(0x456)]||_0x476c8a===_0x3ffd4d[_0x3577d8(0x29d)]['NUMBER']||_0x476c8a===_0x3ffd4d[_0x3577d8(0x29d)]['BOOLEAN']||_0x476c8a===_0x3ffd4d['CellValueType'][_0x3577d8(0x323)]||_0x476c8a==null?_0x476c8a:_0x1fb8e2(_0x2eaaf7==null?null:_0x2eaaf7);}var _0x2d39fe=class{['applyOp'](_0x4e0046,_0x1a23f7){const _0x266ea1=_0x3bf781;let _0x1efafd=this[_0x266ea1(0x437)](_0x1a23f7),_0x29583e=_0xaf0146('BaseJson1.cloneForOp',()=>_0xeef8f5(_0x4e0046,_0x1a23f7),{'invalidations':_0x1efafd['length']}),_0x30cc18=_0xaf0146(_0x266ea1(0x2c1),()=>_0x3ffd4d['JSON1'][_0x266ea1(0x2ec)][_0x266ea1(0x1b4)](_0x29583e,_0x1a23f7),{'invalidations':_0x1efafd[_0x266ea1(0x2e1)]});return _0xaf0146(_0x266ea1(0x2e0),()=>_0x119501(_0x30cc18,_0x1efafd),{'invalidations':_0x1efafd['length']})||_0xaf0146(_0x266ea1(0x41b),()=>{const _0x85d7c2=_0x266ea1;this[_0x85d7c2(0x3c0)](_0x30cc18,_0x1efafd)[_0x85d7c2(0x43f)](_0xb45cdb=>{_0x2cfce6(_0xb45cdb);});},{'invalidations':_0x1efafd[_0x266ea1(0x2e1)]}),_0x30cc18;}['invertOp'](_0x413bd0,_0x9ba316){const _0x5f3e66=_0x3bf781;return _0x3ffd4d[_0x5f3e66(0x3f7)][_0x5f3e66(0x2ec)][_0x5f3e66(0x23d)](_0x9ba316,_0x413bd0);}[_0x3bf781(0x437)](_0x37d4ba){const _0x19bf16=_0x3bf781;let _0x23746e=_0x249f7e(_0x37d4ba);return _0x23746e[_0x19bf16(0x2e1)]?_0x4e3dcf(_0x23746e[_0x19bf16(0x1db)](_0x42abae=>this[_0x19bf16(0x437)](_0x42abae))):_0x5cd9f4(_0x37d4ba);}[_0x3bf781(0x3c0)](_0x1d2e5e,_0x5393c6){const _0x3ce3bb=_0x3bf781;if(!_0x5393c6[_0x3ce3bb(0x2e1)])return[];if(_0x5393c6['some'](_0x40a26b=>!_0x40a26b[_0x3ce3bb(0x1fe)])){var _0x33d159;return Object[_0x3ce3bb(0x449)]((_0x33d159=_0x1d2e5e[_0x3ce3bb(0x38a)])==null?{}:_0x33d159);}return Array['from'](new Set(_0x5393c6[_0x3ce3bb(0x2c0)](_0x5f1b18=>_0x5f1b18['tableId'])))[_0x3ce3bb(0x1db)](_0x4021c1=>{const _0x90fcb2=_0x3ce3bb;var _0x1d6ed6;let _0x390a0b=(_0x1d6ed6=_0x1d2e5e[_0x90fcb2(0x38a)])==null?void 0x0:_0x1d6ed6[_0x4021c1];return _0x390a0b?[_0x390a0b]:[];});}};function _0x119501(_0x1d8762,_0x1364a0){const _0x1016a0=_0x3bf781;if(!_0x1364a0[_0x1016a0(0x2e1)]||_0x1364a0[_0x1016a0(0x2fa)](_0x9d91c7=>_0x9d91c7[_0x1016a0(0x29e)]!==_0x1016a0(0x1b8)))return!0x1;let _0x3f7fe6=new Map();for(let _0x10a11e of _0x1364a0){var _0x36eae5;if(!_0x10a11e[_0x1016a0(0x1fe)]||_0x10a11e[_0x1016a0(0x247)]==null||_0x10a11e['column']==null)continue;let _0x350e25=(_0x36eae5=_0x3f7fe6[_0x1016a0(0x393)](_0x10a11e['tableId']))==null?[]:_0x36eae5;_0x350e25[_0x1016a0(0x2af)]({'row':_0x10a11e['row'],'col':_0x10a11e[_0x1016a0(0x17a)]}),_0x3f7fe6['set'](_0x10a11e[_0x1016a0(0x1fe)],_0x350e25);}return _0x3f7fe6[_0x1016a0(0x43f)]((_0x3817bd,_0x5a1ab0)=>{const _0x27f60b=_0x1016a0;var _0x34f6ce;let _0x4d61f2=(_0x34f6ce=_0x1d8762[_0x27f60b(0x38a)])==null?void 0x0:_0x34f6ce[_0x5a1ab0];_0x4d61f2&&_0x4647e0(_0x4d61f2,_0x3817bd);}),!0x0;}function _0x5cd9f4(_0x20d949){const _0x114414=_0x3bf781;if(!Array['isArray'](_0x20d949)||_0x20d949[_0x114414(0x2e1)]<0x2)return[{'tableId':'','reason':'unknown'}];let _0x499ae1=_0x20d949,_0x510714=_0x499ae1[_0x114414(0x1c2)](_0x114414(0x38a));return _0x510714===-0x1||typeof _0x499ae1[_0x510714+0x1]!=_0x114414(0x2e9)?_0x499ae1[0x0]===_0x114414(0x1df)?[]:[{'tableId':'','reason':'unknown'}]:_0x38b544(_0x499ae1,_0x510714,String(_0x499ae1[_0x510714+0x1]));}function _0x38b544(_0x14a50b,_0x542046,_0xbe58){const _0x3949c7=_0x3bf781;let _0x3eee57=_0x14a50b[_0x542046+0x2];return _0x3eee57==='records'&&typeof _0x14a50b[_0x542046+0x3]=='string'?_0x572e5d(_0x14a50b,_0x542046,_0xbe58,String(_0x14a50b[_0x542046+0x3])):_0x3eee57===_0x3949c7(0x434)&&_0x14a50b[_0x542046+0x3]!=null&&_0x14a50b[_0x542046+0x4]!=null?[{'tableId':_0xbe58,'reason':_0x3949c7(0x1b8),'row':Number(_0x14a50b[_0x542046+0x3]),'column':Number(_0x14a50b[_0x542046+0x4])}]:_0x3eee57===_0x3949c7(0x3b1)&&typeof _0x14a50b[_0x542046+0x3]==_0x3949c7(0x2e9)?[{'tableId':_0xbe58,'reason':_0x3949c7(0x189),'fieldId':String(_0x14a50b[_0x542046+0x3])}]:_0x3eee57===_0x3949c7(0x37f)&&typeof _0x14a50b[_0x542046+0x3]==_0x3949c7(0x2e9)?[{'tableId':_0xbe58,'reason':_0x3949c7(0x299),'viewId':String(_0x14a50b[_0x542046+0x3])}]:[{'tableId':_0xbe58,'reason':_0x3eee57===void 0x0?'table':_0x3949c7(0x165)}];}function _0x572e5d(_0xdf668d,_0x159026,_0xa0fc5,_0x33fdc9){const _0x3279ac=_0x3bf781;return _0xdf668d[_0x159026+0x4]===_0x3279ac(0x449)&&typeof _0xdf668d[_0x159026+0x5]==_0x3279ac(0x2e9)?[{'tableId':_0xa0fc5,'reason':_0x3279ac(0x1b8),'recordId':_0x33fdc9,'fieldId':String(_0xdf668d[_0x159026+0x5])}]:_0xdf668d[_0x159026+0x4]==='updatedAt'||_0xdf668d[_0x159026+0x4]==='updatedBy'?[]:[{'tableId':_0xa0fc5,'reason':'record','recordId':_0x33fdc9}];}function _0x249f7e(_0x45d1e4){const _0x22be09=_0x3bf781;if(!Array[_0x22be09(0x30b)](_0x45d1e4))return[];let _0x34c586=_0x45d1e4[_0x22be09(0x3e7)](Array[_0x22be09(0x30b)]);if(_0x34c586[_0x22be09(0x2e1)]>0x1&&_0x34c586['length']===_0x45d1e4[_0x22be09(0x2e1)])return _0x34c586;let _0xe9ee30=_0x45d1e4[_0x22be09(0x2e5)](Array[_0x22be09(0x30b)]);if(_0xe9ee30>0x0&&_0x45d1e4[_0x22be09(0x2db)](_0xe9ee30)['every'](Array[_0x22be09(0x30b)])){let _0x35f9c7=_0x45d1e4[_0x22be09(0x2db)](0x0,_0xe9ee30);return _0x45d1e4[_0x22be09(0x2db)](_0xe9ee30)[_0x22be09(0x2c0)](_0x59442d=>[..._0x35f9c7,..._0x59442d]);}let _0x20d042=_0x45d1e4['indexOf'](_0x22be09(0x38a));if(_0x20d042===-0x1||typeof _0x45d1e4[_0x20d042+0x1]!=_0x22be09(0x2e9))return[];let _0x5dfd0a=String(_0x45d1e4[_0x20d042+0x1]),_0x3cc665=_0x45d1e4['slice'](_0x20d042+0x2)[_0x22be09(0x3e7)](Array[_0x22be09(0x30b)]);return _0x3cc665['length']<=0x1?[]:_0x3cc665[_0x22be09(0x2c0)](_0x4bc6cb=>[_0x22be09(0x38a),_0x5dfd0a,..._0x4bc6cb]);}function _0x4e3dcf(_0x379c20){let _0x5a42e6=new Set();return _0x379c20['filter'](_0x1c0d1e=>{const _0x479991=_0x46db;let _0x46b48f=JSON[_0x479991(0x177)](_0x1c0d1e);return _0x5a42e6[_0x479991(0x22a)](_0x46b48f)?!0x1:(_0x5a42e6['add'](_0x46b48f),!0x0);});}function _0x3231d2(_0x5a88cd){const _0x573aff=_0x3bf781;return _0x3ffd4d[_0x573aff(0x372)][_0x573aff(0x2fd)](_0x5a88cd);}function _0xeef8f5(_0xb3f9d1,_0x16abb8){const _0x378499=_0x3bf781;let _0x5b053d=_0x2146b3(_0x16abb8);if(!_0x5b053d[_0x378499(0x2e1)])return _0x3231d2(_0xb3f9d1);let _0x49271b=_0x1715fc(_0xb3f9d1),_0x1a066e=new Set();for(let _0x24dc1f of _0x5b053d)_0x4b6b32(_0x49271b,_0x24dc1f,_0x1a066e);return _0x49271b;}function _0x2146b3(_0x3e29eb){let _0x396764=[];return _0x74115c(_0x3e29eb,[],_0x396764),_0x396764;}function _0x74115c(_0x4135bd,_0x487535,_0x4d8a04){const _0x32c232=_0x3bf781;if(!Array[_0x32c232(0x30b)](_0x4135bd))return;let _0x25abb5=[];for(let _0x467d31 of _0x4135bd){if(Array['isArray'](_0x467d31)){_0x74115c(_0x467d31,[..._0x487535,..._0x25abb5],_0x4d8a04);continue;}if(_0x182bc3(_0x467d31)){_0x4d8a04[_0x32c232(0x2af)]([..._0x487535,..._0x25abb5]);continue;}(typeof _0x467d31==_0x32c232(0x2e9)||typeof _0x467d31==_0x32c232(0x236))&&_0x25abb5[_0x32c232(0x2af)](_0x467d31);}}function _0x182bc3(_0x301832){const _0x5264a6=_0x3bf781;if(!_0x301832||typeof _0x301832!=_0x5264a6(0x3b2)||Array[_0x5264a6(0x30b)](_0x301832))return!0x1;let _0x2410a9=_0x301832;return'i'in _0x2410a9||'r'in _0x2410a9||'p'in _0x2410a9||'d'in _0x2410a9||'es'in _0x2410a9||_0x5264a6(0x204)in _0x2410a9||'et'in _0x2410a9;}function _0x4b6b32(_0x5fa506,_0x3b3cc3,_0x86ef8){const _0x15761a=_0x3bf781;let _0x3a4c6b=_0x5fa506,_0x3284ce=[];for(let _0x30c5f0=0x0;_0x30c5f0<_0x3b3cc3[_0x15761a(0x2e1)]-0x1;_0x30c5f0++){let _0x4d9b91=_0x3b3cc3[_0x30c5f0];_0x3284ce['push'](_0x4d9b91);let _0x35bd40=_0xa2c6b0(_0x3a4c6b,_0x4d9b91);if(!_0x4ac1e2(_0x35bd40))return;let _0x2f5dd2=JSON[_0x15761a(0x177)](_0x3284ce);_0x86ef8[_0x15761a(0x22a)](_0x2f5dd2)||(_0x5ab915(_0x3a4c6b,_0x4d9b91,_0x1715fc(_0x35bd40)),_0x86ef8[_0x15761a(0x45a)](_0x2f5dd2));let _0x567cc4=_0xa2c6b0(_0x3a4c6b,_0x4d9b91);if(!_0x4ac1e2(_0x567cc4))return;_0x3a4c6b=_0x567cc4;}}function _0xa2c6b0(_0x521e2e,_0x53569d){const _0x3ffb3e=_0x3bf781;return Array[_0x3ffb3e(0x30b)](_0x521e2e)?typeof _0x53569d=='number'?_0x521e2e[_0x53569d]:void 0x0:Reflect[_0x3ffb3e(0x393)](_0x521e2e,_0x53569d);}function _0x5ab915(_0x12a901,_0x386da9,_0x57dc63){const _0x43cf1e=_0x3bf781;if(Array['isArray'](_0x12a901)){typeof _0x386da9=='number'&&(_0x12a901[_0x386da9]=_0x57dc63);return;}Reflect[_0x43cf1e(0x2b9)](_0x12a901,_0x386da9,_0x57dc63);}function _0x4ac1e2(_0x19593f){const _0x145dd2=_0x3bf781;return!!_0x19593f&&typeof _0x19593f==_0x145dd2(0x3b2);}function _0x1715fc(_0xf4b162){return Array['isArray'](_0xf4b162)?_0xf4b162['slice']():{..._0xf4b162};}let _0x270589=0x5a0*0x3c*0x3e8,_0x1d754c=0x63e1,_0x344d73='yyyy/mm/dd',_0x579027={'yyyy/mm/dd':_0x3bf781(0x366),'yyyy/mm/dd\x20hh:mm':_0x3bf781(0x403),'yyyy-mm-dd':_0x3bf781(0x3d9),'mm-dd':_0x3bf781(0x17c),'mm/dd/yyyy':_0x3bf781(0x1da),'dd/mm/yyyy':_0x3bf781(0x1c9),'mmm\x20d,\x20yyyy':'MMM\x20D,\x20YYYY'};function _0x26a206(_0x404eb2){const _0xccea37=_0x3bf781;return(0x0,_0x3ffd4d[_0xccea37(0x2c8)])(_0x404eb2)['valueOf']()/_0x270589+_0x1d754c;}function _0x1cca16(_0x10c82e){return(_0x10c82e-_0x1d754c)*_0x270589;}function _0x3d6e6a(_0xd2173b){const _0x287001=_0x3bf781;if(_0xd2173b==null||_0xd2173b==='')return null;if(_0xd2173b instanceof Date)return _0x26a206(_0xd2173b);if(typeof _0xd2173b==_0x287001(0x236))return Number[_0x287001(0x272)](_0xd2173b)?_0xd2173b>0xf4240?_0x26a206(_0xd2173b):_0xd2173b:null;let _0x4fb996=Date[_0x287001(0x16f)](String(_0xd2173b));return Number['isNaN'](_0x4fb996)?null:_0x26a206(_0x4fb996);}function _0x43974e(_0x1fb7a7){let _0x2c8842=_0x3d6e6a(_0x1fb7a7);return _0x2c8842==null?null:_0x1cca16(_0x2c8842);}function _0x55ddef(_0x4e8fe,_0x38e820={}){const _0x2a89b4=_0x3bf781;var _0x25c074,_0x54d07f,_0x3efdfb;let _0x63404e=_0x43974e(_0x4e8fe);if(_0x63404e==null||!Number[_0x2a89b4(0x272)](_0x63404e))return'';let _0x11ec51=String((_0x25c074=(_0x54d07f=_0x38e820[_0x2a89b4(0x2c5)])==null?_0x38e820[_0x2a89b4(0x241)]:_0x54d07f)==null?_0x344d73:_0x25c074),_0x369e87=_0x38e820['includeTime']===!0x0||_0x11ec51[_0x2a89b4(0x487)]('hh:mm'),_0x2e7c7d=String((_0x3efdfb=_0x38e820[_0x2a89b4(0x453)])==null?_0x2a89b4(0x39d):_0x3efdfb);return(0x0,_0x3ffd4d[_0x2a89b4(0x2c8)])(_0x63404e)[_0x2a89b4(0x241)](_0xb0ec9f(_0x11ec51,_0x369e87,_0x2e7c7d));}function _0xb0ec9f(_0x5d81f1,_0x4b0ae0,_0x5513c4){const _0x29dd99=_0x3bf781;var _0x221953;let _0x698a36=(_0x221953=_0x579027[_0x5d81f1])==null?_0x579027[_0x344d73]:_0x221953;return!_0x4b0ae0||_0x5d81f1['includes'](_0x29dd99(0x199))?_0x698a36:_0x698a36+'\x20'+(_0x5513c4==='h12'?_0x29dd99(0x36c):_0x29dd99(0x20e));}let _0x588ba4={'editable':!0x0,'sortable':!0x0,'filterable':!0x0,'groupable':!0x1,'usableAsKanbanGroup':!0x1,'usableAsCalendarDate':!0x1,'usableAsGanttStart':!0x1,'usableAsGanttEnd':!0x1,'usableAsGanttProgress':!0x1,'usableAsCardCover':!0x1,'usableAsTitle':!0x1},_0x2e143f=new Set([_0x3ffd4d[_0x3bf781(0x376)]['Lookup'],_0x3ffd4d[_0x3bf781(0x376)][_0x3bf781(0x3cc)],_0x3ffd4d[_0x3bf781(0x376)][_0x3bf781(0x2a0)],_0x3ffd4d[_0x3bf781(0x376)]['Button'],_0x3ffd4d[_0x3bf781(0x376)][_0x3bf781(0x3c3)],_0x3ffd4d[_0x3bf781(0x376)][_0x3bf781(0x265)],_0x3ffd4d[_0x3bf781(0x376)][_0x3bf781(0x1d9)],_0x3ffd4d[_0x3bf781(0x376)][_0x3bf781(0x37d)]]),_0x265ef3=0x5a0*0x3c*0x3e8;function _0x5b7a42(_0x316056,_0x3d58cc){const _0x32c6a1=_0x3bf781;return _0x316056==null&&_0x3d58cc==null?0x0:_0x316056==null?-0x1:_0x3d58cc==null?0x1:typeof _0x316056==_0x32c6a1(0x236)&&typeof _0x3d58cc==_0x32c6a1(0x236)?_0x316056-_0x3d58cc:String(_0x316056)[_0x32c6a1(0x3ce)](String(_0x3d58cc));}function _0x38416c(_0xb25c4c,_0x2e3a9d,_0x391ec3,_0x377458,_0x4e6552={}){const _0x324100=_0x3bf781;if(_0x2e3a9d==='isEmpty')return _0x1e8f2f(_0xb25c4c);if(_0x2e3a9d===_0x324100(0x30a))return!_0x1e8f2f(_0xb25c4c);switch(_0x377458[_0x324100(0x2ec)]){case _0x3ffd4d[_0x324100(0x376)][_0x324100(0x327)]:case _0x3ffd4d[_0x324100(0x376)][_0x324100(0x407)]:case _0x3ffd4d[_0x324100(0x376)][_0x324100(0x228)]:case _0x3ffd4d[_0x324100(0x376)][_0x324100(0x1d7)]:return _0x2ccde2(_0xb25c4c,_0x2e3a9d,_0x391ec3);case _0x3ffd4d[_0x324100(0x376)][_0x324100(0x2a4)]:case _0x3ffd4d[_0x324100(0x376)][_0x324100(0x3a0)]:case _0x3ffd4d['BaseFieldType'][_0x324100(0x19e)]:return _0x312998(_0xb25c4c,_0x2e3a9d,_0x391ec3,_0x4e6552);case _0x3ffd4d['BaseFieldType'][_0x324100(0x2b1)]:return _0x35c4f9(_0xb25c4c,_0x2e3a9d,_0x391ec3);case _0x3ffd4d[_0x324100(0x376)]['SingleSelect']:case _0x3ffd4d[_0x324100(0x376)][_0x324100(0x36f)]:case _0x3ffd4d[_0x324100(0x376)]['Person']:case _0x3ffd4d[_0x324100(0x376)][_0x324100(0x34d)]:return _0x34be40(_0xb25c4c,_0x2e3a9d,_0x391ec3,_0x377458);default:return _0x2f59da(_0xb25c4c,_0x2e3a9d,_0x391ec3);}}function _0x1e8f2f(_0x474a1f){const _0x5f3333=_0x3bf781;return _0x474a1f==null?!0x0:Array[_0x5f3333(0x30b)](_0x474a1f)?_0x474a1f['length']===0x0:typeof _0x474a1f==_0x5f3333(0x2e9)&&_0x474a1f[_0x5f3333(0x187)]()==='';}function _0x2ccde2(_0x33d097,_0x1f9624,_0x4411ae){const _0x19cc86=_0x3bf781;let _0x371e62=_0x6a6d32(_0x33d097),_0x39ab35=_0x6a6d32(_0x4411ae);if(_0x371e62==null||_0x39ab35==null)return!0x1;switch(_0x1f9624){case'is':return _0x371e62===_0x39ab35;case _0x19cc86(0x206):return _0x371e62!==_0x39ab35;case _0x19cc86(0x335):return _0x371e62>_0x39ab35;case'greaterThanOrEqual':return _0x371e62>=_0x39ab35;case'lessThan':return _0x371e62<_0x39ab35;case'lessThanOrEqual':return _0x371e62<=_0x39ab35;default:return!0x1;}}function _0x6a6d32(_0x2621b6){const _0x2b7a60=_0x3bf781;if(_0x2621b6==null||_0x2621b6==='')return null;let _0x5b85fb=Number(_0x2621b6);return Number[_0x2b7a60(0x272)](_0x5b85fb)?_0x5b85fb:null;}function _0x312998(_0x351034,_0x38fb19,_0x157451,_0x139f33){const _0x3661fb=_0x3bf781;var _0x37ec67;let _0x1fe7a4=_0x3876be(_0x351034);if(_0x1fe7a4==null)return!0x1;let _0x23ee95=_0x2a1c74((_0x37ec67=_0x139f33[_0x3661fb(0x442)])==null?_0x3661fb(0x49e):_0x37ec67,_0x157451,_0x139f33['now']);if(!_0x23ee95)return!0x1;switch(_0x38fb19){case'is':return _0x1fe7a4>=_0x23ee95[_0x3661fb(0x2dd)]&&_0x1fe7a4<=_0x23ee95['end'];case _0x3661fb(0x206):return _0x1fe7a4<_0x23ee95[_0x3661fb(0x2dd)]||_0x1fe7a4>_0x23ee95[_0x3661fb(0x3a6)];case _0x3661fb(0x1d0):return _0x1fe7a4<_0x23ee95['start'];case'after':return _0x1fe7a4>_0x23ee95['end'];default:return!0x1;}}function _0x2a1c74(_0x2519bb,_0x42eab5,_0xe7e1c1=Date[_0x3bf781(0x18a)]()){const _0x250503=_0x3bf781;let _0x5ddfdb=_0x328bec(_0xe7e1c1);switch(_0x2519bb){case _0x250503(0x49e):{let _0x48fafb=_0x3876be(_0x42eab5);return _0x48fafb==null?null:{'start':_0x48fafb,'end':_0x48fafb+_0x265ef3-0x1};}case'today':return{'start':_0x5ddfdb,'end':_0x5ddfdb+_0x265ef3-0x1};case _0x250503(0x1c4):return{'start':_0x5ddfdb+_0x265ef3,'end':_0x5ddfdb+_0x265ef3*0x2-0x1};case'yesterday':return{'start':_0x5ddfdb-_0x265ef3,'end':_0x5ddfdb-0x1};case _0x250503(0x2a1):return _0x4eb6b2(_0x5ddfdb,0x0);case _0x250503(0x28d):return _0x4eb6b2(_0x5ddfdb,-0x1);case _0x250503(0x1d8):return _0x52e2cd(_0x5ddfdb,0x0);case _0x250503(0x2c7):return _0x52e2cd(_0x5ddfdb,-0x1);case _0x250503(0x19c):return{'start':_0x5ddfdb-_0x265ef3*0x6,'end':_0x5ddfdb+_0x265ef3-0x1};case'next7':return{'start':_0x5ddfdb,'end':_0x5ddfdb+_0x265ef3*0x7-0x1};case _0x250503(0x31b):return{'start':_0x5ddfdb-_0x265ef3*0x1d,'end':_0x5ddfdb+_0x265ef3-0x1};case _0x250503(0x31f):return{'start':_0x5ddfdb,'end':_0x5ddfdb+_0x265ef3*0x1e-0x1};}}function _0x3876be(_0x7e0437){let _0x160022=_0x3d6e6a(_0x7e0437);return _0x160022==null?null:_0x328bec(_0x1cca16(_0x160022));}function _0x328bec(_0x5621cf){const _0x194207=_0x3bf781;let _0x343cd5=new Date(_0x5621cf);return _0x343cd5[_0x194207(0x36a)](0x0,0x0,0x0,0x0),_0x343cd5[_0x194207(0x255)]();}function _0x4eb6b2(_0x327361,_0x4ab4ec){const _0x4da837=_0x3bf781;let _0x42c0c8=_0x327361-(new Date(_0x327361)[_0x4da837(0x3f0)]()+0x6)%0x7*_0x265ef3+_0x4ab4ec*_0x265ef3*0x7;return{'start':_0x42c0c8,'end':_0x42c0c8+_0x265ef3*0x7-0x1};}function _0x52e2cd(_0x3b259a,_0x2dbfde){const _0x244a31=_0x3bf781;let _0x3930e6=new Date(_0x3b259a),_0x5605c1=new Date(_0x3930e6[_0x244a31(0x2d7)](),_0x3930e6[_0x244a31(0x320)]()+_0x2dbfde,0x1),_0x7ee998=new Date(_0x3930e6['getFullYear'](),_0x3930e6[_0x244a31(0x320)]()+_0x2dbfde+0x1,0x1);return{'start':_0x5605c1[_0x244a31(0x255)](),'end':_0x7ee998['getTime']()-0x1};}function _0x35c4f9(_0x2aa25b,_0x121cd7,_0x28484b){const _0x5177d8=_0x3bf781;let _0xf432c2=_0x43172f(_0x2aa25b),_0x22ca8c=_0x43172f(_0x28484b);switch(_0x121cd7){case'is':return _0xf432c2===_0x22ca8c;case _0x5177d8(0x206):return _0xf432c2!==_0x22ca8c;default:return!0x1;}}function _0x43172f(_0x49c653){const _0x570ff1=_0x3bf781;return _0x49c653===!0x0||_0x49c653===_0x570ff1(0x369)||_0x49c653===0x1||_0x49c653==='1';}function _0x34be40(_0x3458b3,_0x4cc49f,_0xe62502,_0x56c956){const _0x45a19e=_0x3bf781;let _0x3a18d1=_0x574cbc(_0x3458b3,_0x56c956),_0x79e0e8=_0x574cbc(_0xe62502,_0x56c956),_0x20bb17=_0x79e0e8['length']>0x0&&_0x79e0e8[_0x45a19e(0x2fa)](_0x542ddf=>_0x3a18d1['includes'](_0x542ddf));switch(_0x4cc49f){case'is':case _0x45a19e(0x494):return _0x20bb17;case _0x45a19e(0x206):case _0x45a19e(0x305):return!_0x20bb17;default:return!0x1;}}function _0x2f59da(_0x2477c7,_0x31bb82,_0x6674dc){const _0x3cf84d=_0x3bf781;let _0x334695=_0x4a7766(_0x2477c7),_0x415f3b=_0x4a7766(_0x6674dc);switch(_0x31bb82){case'is':return _0x334695===_0x415f3b;case _0x3cf84d(0x206):return _0x334695!==_0x415f3b;case _0x3cf84d(0x494):return _0x415f3b?_0x334695[_0x3cf84d(0x487)](_0x415f3b):!0x1;case _0x3cf84d(0x305):return!_0x415f3b||!_0x334695[_0x3cf84d(0x487)](_0x415f3b);default:return!0x1;}}function _0x4a7766(_0x303e42){const _0x312d86=_0x3bf781;if(Array[_0x312d86(0x30b)](_0x303e42))return _0x303e42['map'](_0x1dec2b=>_0x4a7766(_0x1dec2b))['join']('\x0a');if(_0x303e42&&typeof _0x303e42==_0x312d86(0x3b2)){var _0x44b6e0,_0x27ef69,_0x4313f7,_0x77ab87,_0x5cbdf8;let _0x44fb2c=_0x303e42;return String((_0x44b6e0=(_0x27ef69=(_0x4313f7=(_0x77ab87=(_0x5cbdf8=_0x44fb2c[_0x312d86(0x209)])==null?_0x44fb2c[_0x312d86(0x284)]:_0x5cbdf8)==null?_0x44fb2c[_0x312d86(0x1a7)]:_0x77ab87)==null?_0x44fb2c[_0x312d86(0x2cf)]:_0x4313f7)==null?_0x44fb2c['id']:_0x27ef69)==null?'':_0x44b6e0)['trim']()[_0x312d86(0x2d1)]();}return String(_0x303e42==null?'':_0x303e42)['trim']()[_0x312d86(0x2d1)]();}function _0x574cbc(_0x373c2d,_0x50f1cb){const _0x489c86=_0x3bf781;var _0x19723a;let _0x3dbb64=_0x19016d(_0x373c2d),_0x2d388e=_0x5297be((_0x19723a=_0x50f1cb[_0x489c86(0x1a3)])==null?{}:_0x19723a);return _0x3dbb64[_0x489c86(0x1db)](_0x56c8c8=>{const _0x8a0a82=_0x489c86;var _0x350d27;return(_0x350d27=_0x2d388e[_0x8a0a82(0x393)](_0x56c8c8))==null?[_0x56c8c8]:_0x350d27;})[_0x489c86(0x3e7)]((_0x208408,_0x40546a,_0x654d67)=>_0x208408!==''&&_0x654d67[_0x489c86(0x1c2)](_0x208408)===_0x40546a);}function _0x19016d(_0x2f7a3b){const _0x49fe7e=_0x3bf781;if(_0x2f7a3b==null||_0x2f7a3b==='')return[];if(Array[_0x49fe7e(0x30b)](_0x2f7a3b))return _0x2f7a3b[_0x49fe7e(0x1db)](_0xa1226a=>_0x19016d(_0xa1226a));if(_0x2f7a3b&&typeof _0x2f7a3b=='object'){let _0x3c713f=_0x2f7a3b;return['id',_0x49fe7e(0x209),_0x49fe7e(0x284),_0x49fe7e(0x2cf),_0x49fe7e(0x1a7)][_0x49fe7e(0x1db)](_0x11e3e3=>_0x19016d(_0x3c713f[_0x11e3e3]))[_0x49fe7e(0x3e7)]((_0x541e49,_0x55d88a,_0x514862)=>_0x514862[_0x49fe7e(0x1c2)](_0x541e49)===_0x55d88a);}return[_0x4a7766(_0x2f7a3b)];}function _0x5297be(_0x2906c3){const _0x5ab163=_0x3bf781;let _0x712255=new Map();return(Array['isArray'](_0x2906c3[_0x5ab163(0x310)])?_0x2906c3['options']:[])[_0x5ab163(0x43f)](_0x14e1fe=>{const _0x5d96c4=_0x5ab163;if(!_0x14e1fe||typeof _0x14e1fe!='object')return;let _0x34da0b=_0x19016d(_0x14e1fe),_0x4f5e76=_0x34da0b[_0x5d96c4(0x3e7)]((_0x435fb7,_0x2885b7)=>_0x435fb7!==''&&_0x34da0b['indexOf'](_0x435fb7)===_0x2885b7);_0x4f5e76[_0x5d96c4(0x43f)](_0x506deb=>_0x712255[_0x5d96c4(0x2b9)](_0x506deb,_0x4f5e76));}),_0x712255;}function _0x4d28bf(_0x5c83d0,_0x570aaf={},_0x3e526b=_0x54c506=>_0x54c506,_0x44340e={}){const _0x4e59ff=_0x3bf781;var _0x4c509a,_0x3e8833,_0x2da1fe,_0x2c82f3;let _0x4fc3a8=!_0x2e143f[_0x4e59ff(0x22a)](_0x5c83d0),_0x3260f8=_0x3e526b==null?_0x38f869=>_0x38f869:_0x3e526b;return{'type':_0x5c83d0,'i18nKey':_0x4e59ff(0x2cd)+_0x5c83d0,'enabled':_0x4fc3a8,'visibleInCreateMenu':_0x4fc3a8,'createDefaultConfig':(_0x4c509a=_0x44340e['createDefaultConfig'])==null?()=>({}):_0x4c509a,'createDefaultValue':(_0x3e8833=_0x44340e['createDefaultValue'])==null?_0xc5d15b=>{const _0x4938d5=_0x4e59ff;var _0x3fd0cb;return(_0x3fd0cb=_0xc5d15b[_0x4938d5(0x40d)])==null?null:_0x3fd0cb;}:_0x3e8833,'normalize':(_0x537613,_0x409e67)=>_0x3260f8(_0x537613,_0x409e67),'validate':(_0x1b528b,_0x556093)=>{const _0x22f898=_0x4e59ff;var _0x199cc5,_0x1759b;return _0x4fc3a8?(_0x199cc5=(_0x1759b=_0x44340e[_0x22f898(0x293)])==null?void 0x0:_0x1759b[_0x22f898(0x1cf)](_0x44340e,_0x1b528b,_0x556093))==null?{'valid':!0x0}:_0x199cc5:{'valid':!0x1};},'compare':(_0x53b93e,_0x15308f)=>_0x5b7a42(_0x53b93e,_0x15308f),'filter':(_0x5df697,_0x2801d4,_0x58c774,_0x4f060e)=>_0x38416c(_0x5df697,_0x2801d4,_0x58c774,_0x4f060e),'toPlainText':(_0x2da1fe=_0x44340e[_0x4e59ff(0x1d3)])==null?_0xcd29a=>_0xcd29a==null?'':String(_0xcd29a):_0x2da1fe,'fromPlainText':(_0x2c82f3=_0x44340e[_0x4e59ff(0x45b)])==null?_0xe70d90=>_0x3260f8(_0xe70d90,{'id':'','name':'','type':_0x5c83d0,'config':{}}):_0x2c82f3,'getCapabilities':()=>{const _0x93008a=_0x4e59ff;var _0x2f9c05;return{..._0x588ba4,..._0x570aaf,'editable':_0x4fc3a8&&((_0x2f9c05=_0x570aaf[_0x93008a(0x21d)])==null?_0x588ba4[_0x93008a(0x21d)]:_0x2f9c05)};}};}function _0x557b25(){const _0x6498e0=_0x3bf781;return[_0x4d28bf(_0x3ffd4d[_0x6498e0(0x376)][_0x6498e0(0x2f4)],{'groupable':!0x0,'usableAsTitle':!0x0},void 0x0,{'createDefaultConfig':()=>({'placeholder':_0x6498e0(0x179)}),'createDefaultValue':_0xd644fa=>{var _0xa6be90;return(_0xa6be90=_0xd644fa['defaultValue'])==null?'':_0xa6be90;}}),_0x4d28bf(_0x3ffd4d[_0x6498e0(0x376)]['SingleSelect'],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsOptions':!0x0},_0x385073=>_0x385073==null||_0x385073===''?null:String(_0x385073),{'createDefaultConfig':()=>({'options':[],'optionSource':{'type':'manual'}})}),_0x4d28bf(_0x3ffd4d[_0x6498e0(0x376)][_0x6498e0(0x36f)],{'filterable':!0x0,'usableAsKanbanGroup':!0x0,'supportsOptions':!0x0,'supportsMultipleValues':!0x0},_0x20ed7a=>Array[_0x6498e0(0x30b)](_0x20ed7a)?_0x20ed7a['map'](String):_0x20ed7a==null?[]:[String(_0x20ed7a)],{'createDefaultConfig':()=>({'options':[],'optionSource':{'type':'manual'}}),'createDefaultValue':_0x1ce198=>{const _0x2b7528=_0x6498e0;var _0x152e4c;return(_0x152e4c=_0x1ce198[_0x2b7528(0x40d)])==null?[]:_0x152e4c;}}),_0x4d28bf(_0x3ffd4d[_0x6498e0(0x376)][_0x6498e0(0x2a3)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsMultipleValues':!0x0},_0x1bd6ae,{'createDefaultConfig':()=>({'allowMultiple':!0x1,'provider':_0x6498e0(0x495)}),'validate':_0x41829f}),_0x4d28bf(_0x3ffd4d[_0x6498e0(0x376)][_0x6498e0(0x34d)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsMultipleValues':!0x0},_0xd053b8,{'createDefaultConfig':()=>({'allowMultiple':!0x0,'provider':_0x6498e0(0x32a)}),'createDefaultValue':_0x2389cc=>{const _0x703bd0=_0x6498e0;var _0x15fcf1;return(_0x15fcf1=_0x2389cc[_0x703bd0(0x40d)])==null?[]:_0x15fcf1;},'validate':_0x70f5ff}),_0x4d28bf(_0x3ffd4d[_0x6498e0(0x376)]['Date'],{'groupable':!0x0,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x369401=>_0x3d6e6a(_0x369401),{'createDefaultConfig':()=>_0x5485e8(),'validate':_0x379eeb}),_0x4d28bf(_0x3ffd4d[_0x6498e0(0x376)]['Attachment'],{'usableAsCardCover':!0x0,'supportsMultipleValues':!0x0},_0x1170e4=>_0x1170e4==null?[]:Array[_0x6498e0(0x30b)](_0x1170e4)?_0x1170e4:[_0x1170e4],{'createDefaultValue':_0xdd649a=>{const _0x16edbf=_0x6498e0;var _0x5d77d8;return(_0x5d77d8=_0xdd649a[_0x16edbf(0x40d)])==null?[]:_0x5d77d8;}}),_0x4d28bf(_0x3ffd4d[_0x6498e0(0x376)][_0x6498e0(0x327)],{},_0x2b871c=>_0x2b871c==null||_0x2b871c===''?null:Number(_0x2b871c),{'createDefaultConfig':()=>_0x1bd12f(),'validate':_0xbae75e}),_0x4d28bf(_0x3ffd4d[_0x6498e0(0x376)][_0x6498e0(0x2b1)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0},_0xb033d7=>_0xb033d7===!0x0||_0xb033d7===_0x6498e0(0x369)||_0xb033d7===0x1||_0xb033d7==='1',{'createDefaultConfig':()=>({'icon':'check','color':'#16a34a'}),'createDefaultValue':_0x37d992=>{const _0x11fe8e=_0x6498e0;var _0x58cec2;return(_0x58cec2=_0x37d992[_0x11fe8e(0x40d)])!=null&&_0x58cec2;},'validate':_0x519540=>typeof _0x519540==_0x6498e0(0x2c2)?{'valid':!0x0}:{'valid':!0x1,'reason':_0x6498e0(0x163)}}),_0x4d28bf(_0x3ffd4d[_0x6498e0(0x376)][_0x6498e0(0x3e8)],{'supportsRelation':!0x0},_0x449fcf,{'createDefaultConfig':()=>({'placeholder':'bases.fieldConfig.linkPlaceholder'}),'toPlainText':_0x1aa6fc=>_0x442807(_0x1aa6fc),'fromPlainText':_0x53207e=>_0x449fcf(_0x53207e)}),_0x4d28bf(_0x3ffd4d[_0x6498e0(0x376)][_0x6498e0(0x1d4)],{'editable':!0x1},void 0x0,{'createDefaultConfig':()=>({'formula':'','dependencies':[],'numfmt':{'type':_0x6498e0(0x3ac),'pattern':_0x6498e0(0x1b3)}}),'createDefaultValue':()=>null}),_0x4d28bf(_0x3ffd4d[_0x6498e0(0x376)][_0x6498e0(0x20b)],{}),_0x4d28bf(_0x3ffd4d[_0x6498e0(0x376)][_0x6498e0(0x2a0)],{}),_0x4d28bf(_0x3ffd4d[_0x6498e0(0x376)][_0x6498e0(0x3ed)],{'editable':!0x1,'sortable':!0x1,'filterable':!0x1}),_0x4d28bf(_0x3ffd4d[_0x6498e0(0x376)]['Numbering'],{'editable':!0x1,'usableAsTitle':!0x0},void 0x0,{'createDefaultConfig':()=>({'mode':_0x6498e0(0x347)}),'createDefaultValue':()=>null}),_0x4d28bf(_0x3ffd4d[_0x6498e0(0x376)][_0x6498e0(0x413)],{'usableAsTitle':!0x0},_0x4251f8=>_0x4251f8==null?null:String(_0x4251f8)[_0x6498e0(0x187)](),{'validate':_0x2595e6=>_0x2595e6==null||_0x2595e6===''||/^\+?[0-9 ()-]{6,20}$/[_0x6498e0(0x280)](String(_0x2595e6))?{'valid':!0x0}:{'valid':!0x1,'reason':_0x6498e0(0x1e4)}}),_0x4d28bf(_0x3ffd4d[_0x6498e0(0x376)][_0x6498e0(0x2cc)],{'usableAsTitle':!0x0},_0x38e321=>_0x38e321==null?null:String(_0x38e321)[_0x6498e0(0x187)](),{'validate':_0x3a0bd4=>_0x3a0bd4==null||_0x3a0bd4===''||_0x347fe6(String(_0x3a0bd4))?{'valid':!0x0}:{'valid':!0x1,'reason':_0x6498e0(0x1b6)}}),_0x4d28bf(_0x3ffd4d[_0x6498e0(0x376)][_0x6498e0(0x3c3)],{'usableAsTitle':!0x0}),_0x4d28bf(_0x3ffd4d['BaseFieldType'][_0x6498e0(0x37d)],{'usableAsTitle':!0x0}),_0x4d28bf(_0x3ffd4d[_0x6498e0(0x376)]['Progress'],{'usableAsGanttProgress':!0x0},_0x1be1ab=>_0x1be1ab==null||_0x1be1ab===''?null:Number(_0x1be1ab),{'createDefaultConfig':()=>({'format':'percent','decimalPlaces':0x0,'color':_0x6498e0(0x2b2),'customRange':!0x1,'start':0x0,'end':0x64}),'validate':(_0x2ee8ab,_0x17f09c)=>_0x299c34(_0x2ee8ab,_0x17f09c,'[BaseField]:\x20invalid\x20progress\x20value.')}),_0x4d28bf(_0x3ffd4d[_0x6498e0(0x376)]['Currency'],{},_0xa740bc=>_0xa740bc==null||_0xa740bc===''?null:Number(_0xa740bc),{'createDefaultConfig':()=>({..._0x1bd12f(),'currencySymbol':'$'}),'validate':_0xbae75e}),_0x4d28bf(_0x3ffd4d[_0x6498e0(0x376)][_0x6498e0(0x1d7)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0},_0x39a373=>_0x39a373==null||_0x39a373===''?null:Number(_0x39a373),{'createDefaultConfig':()=>({'icon':_0x6498e0(0x3fe),'min':0x1,'max':0x5}),'createDefaultValue':()=>null,'validate':(_0x589d05,_0x1c6665)=>_0x299c34(_0x589d05,_0x1c6665,'[BaseField]:\x20invalid\x20rating\x20value.')}),_0x4d28bf(_0x3ffd4d[_0x6498e0(0x376)][_0x6498e0(0x265)],{'supportsRelation':!0x0}),_0x4d28bf(_0x3ffd4d[_0x6498e0(0x376)]['RecordId'],{'editable':!0x1,'sortable':!0x0,'filterable':!0x0,'usableAsTitle':!0x0}),_0x4d28bf(_0x3ffd4d[_0x6498e0(0x376)][_0x6498e0(0x329)],{'editable':!0x1,'groupable':!0x0},_0x24fb35=>_0x24fb35==null?null:String(_0x24fb35),{'createDefaultConfig':()=>({'provider':_0x6498e0(0x36d)}),'createDefaultValue':()=>null}),_0x4d28bf(_0x3ffd4d[_0x6498e0(0x376)][_0x6498e0(0x1c7)],{'editable':!0x1,'groupable':!0x0},_0x80f7ea=>_0x80f7ea==null?null:String(_0x80f7ea),{'createDefaultConfig':()=>({'provider':_0x6498e0(0x36d)}),'createDefaultValue':()=>null}),_0x4d28bf(_0x3ffd4d['BaseFieldType'][_0x6498e0(0x3a0)],{'editable':!0x1,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x273723=>_0x3d6e6a(_0x273723),{'createDefaultConfig':()=>_0x5485e8(),'createDefaultValue':()=>null,'validate':_0x379eeb}),_0x4d28bf(_0x3ffd4d[_0x6498e0(0x376)][_0x6498e0(0x19e)],{'editable':!0x1,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x1ba6cf=>_0x3d6e6a(_0x1ba6cf),{'createDefaultConfig':()=>_0x5485e8(),'createDefaultValue':()=>null,'validate':_0x379eeb}),_0x4d28bf(_0x3ffd4d[_0x6498e0(0x376)][_0x6498e0(0x3cc)],{})];}function _0x1bd12f(){const _0x102360=_0x3bf781;return{'pattern':_0x102360(0x451),'decimalPlaces':0x2,'separatorStyle':_0x102360(0x3f6),'useThousands':!0x0,'abbreviation':_0x102360(0x276),'allowNegative':!0x0};}function _0x5485e8(){const _0x1360d8=_0x3bf781;return{'locale':_0x1360d8(0x3b9),'pattern':_0x1360d8(0x410),'includeTime':!0x1,'hourCycle':_0x1360d8(0x39d),'defaultMode':'none'};}function _0xd053b8(_0x5c2d5d){const _0x34dd5b=_0x3bf781;return _0x5c2d5d==null||_0x5c2d5d===''?[]:Array['isArray'](_0x5c2d5d)?_0x5c2d5d[_0x34dd5b(0x2c0)](String):[String(_0x5c2d5d)];}function _0x1bd6ae(_0x4de1f4,_0x6678b6){const _0x1d3d97=_0x3bf781;var _0x2db8a4;return _0x4de1f4==null||_0x4de1f4===''?_0x6678b6[_0x1d3d97(0x1a3)][_0x1d3d97(0x44b)]===!0x0?[]:null:_0x6678b6[_0x1d3d97(0x1a3)]['allowMultiple']===!0x0?Array[_0x1d3d97(0x30b)](_0x4de1f4)?_0x4de1f4['map'](String):[String(_0x4de1f4)]:Array[_0x1d3d97(0x30b)](_0x4de1f4)?String((_0x2db8a4=_0x4de1f4[0x0])==null?'':_0x2db8a4)||null:String(_0x4de1f4);}function _0x41829f(_0x1b9841,_0x81a1e9){const _0x484221=_0x3bf781;return _0x81a1e9[_0x484221(0x1a3)][_0x484221(0x44b)]===!0x0?_0x70f5ff(_0x1b9841):_0x1b9841==null||_0x1b9841===''||typeof _0x1b9841==_0x484221(0x2e9)?{'valid':!0x0}:{'valid':!0x1,'reason':'[BaseField]:\x20invalid\x20person\x20value.'};}function _0x70f5ff(_0x6344dd){const _0x528be0=_0x3bf781;return _0x6344dd==null||Array[_0x528be0(0x30b)](_0x6344dd)&&_0x6344dd['every'](_0x26de38=>typeof _0x26de38==_0x528be0(0x2e9))?{'valid':!0x0}:{'valid':!0x1,'reason':_0x528be0(0x271)};}function _0x379eeb(_0x33321d){const _0x7c04ce=_0x3bf781;return _0x33321d==null||typeof _0x33321d==_0x7c04ce(0x236)&&Number[_0x7c04ce(0x272)](_0x33321d)?{'valid':!0x0}:{'valid':!0x1,'reason':_0x7c04ce(0x302)};}function _0xbae75e(_0x2afea0,_0x1ede9a){const _0x5b9f9e=_0x3bf781;return _0x2afea0==null||_0x2afea0===''?{'valid':!0x0}:typeof _0x2afea0!=_0x5b9f9e(0x236)||!Number[_0x5b9f9e(0x272)](_0x2afea0)?{'valid':!0x1,'reason':'[BaseField]:\x20invalid\x20number\x20value.'}:_0x1ede9a[_0x5b9f9e(0x1a3)][_0x5b9f9e(0x46f)]===!0x1&&_0x2afea0<0x0?{'valid':!0x1,'reason':_0x5b9f9e(0x1c8)}:{'valid':!0x0};}function _0x299c34(_0x3e2272,_0x5dd284,_0x5878d5){const _0x559b79=_0x3bf781;var _0x3b0979,_0x11dea0,_0x172c78,_0x516543;let _0x53c0f7=_0xbae75e(_0x3e2272,_0x5dd284);if(!_0x53c0f7['valid']||_0x3e2272==null||_0x3e2272==='')return _0x53c0f7;let _0xbbf317=Number((_0x3b0979=(_0x11dea0=_0x5dd284['config'][_0x559b79(0x162)])==null?_0x5dd284['config'][_0x559b79(0x2dd)]:_0x11dea0)==null?0x0:_0x3b0979),_0x1b1c1a=Number((_0x172c78=(_0x516543=_0x5dd284[_0x559b79(0x1a3)][_0x559b79(0x41e)])==null?_0x5dd284[_0x559b79(0x1a3)][_0x559b79(0x3a6)]:_0x516543)==null?0x64:_0x172c78),_0x114fea=Number(_0x3e2272);return _0x114fea>=_0xbbf317&&_0x114fea<=_0x1b1c1a?{'valid':!0x0}:{'valid':!0x1,'reason':_0x5878d5};}function _0x449fcf(_0x527a44){const _0x33c2eb=_0x3bf781;if(_0x527a44==null||_0x527a44==='')return null;if(typeof _0x527a44==_0x33c2eb(0x3b2)&&!Array[_0x33c2eb(0x30b)](_0x527a44)){let _0x2c99bd=_0x527a44,_0x53b55b=typeof _0x2c99bd[_0x33c2eb(0x1a7)]=='string'?_0x2c99bd[_0x33c2eb(0x1a7)][_0x33c2eb(0x187)]():'',_0x32e486=typeof _0x2c99bd[_0x33c2eb(0x16c)]==_0x33c2eb(0x2e9)?_0x2c99bd['url'][_0x33c2eb(0x187)]():'',_0x2a283d=_0x3e1cae(_0x32e486||_0x53b55b);return _0x2a283d?{'text':_0x53b55b||_0x32e486||_0x2a283d,'url':_0x2a283d}:null;}let _0x5de452=String(_0x527a44)[_0x33c2eb(0x187)](),_0x5b0179=_0x3e1cae(_0x5de452);return _0x5b0179?{'text':_0x5de452,'url':_0x5b0179}:null;}function _0x442807(_0x34abd4){const _0x2ccfea=_0x3bf781;if(_0x34abd4==null)return'';if(typeof _0x34abd4==_0x2ccfea(0x3b2)&&!Array[_0x2ccfea(0x30b)](_0x34abd4)){let _0x5f49ae=_0x34abd4;return String(_0x5f49ae['text']||_0x5f49ae[_0x2ccfea(0x16c)]||'');}return String(_0x34abd4);}function _0x3e1cae(_0x1e071b){const _0x55dacb=_0x3bf781;let _0x53a12f=_0x1e071b[_0x55dacb(0x187)]();if(!_0x53a12f)return'';let _0x359e52=/^[a-z][a-z\d+.-]*:/i[_0x55dacb(0x280)](_0x53a12f)?_0x53a12f:_0x53a12f[_0x55dacb(0x18f)]('//')?_0x55dacb(0x328)+_0x53a12f:'https://'+_0x53a12f;try{let _0x18b33b=new URL(_0x359e52);return _0x18b33b[_0x55dacb(0x21c)]===_0x55dacb(0x261)||_0x18b33b[_0x55dacb(0x21c)]===_0x55dacb(0x328)?_0x18b33b[_0x55dacb(0x370)]:'';}catch{return'';}}function _0x347fe6(_0x1550df){const _0x17acd6=_0x3bf781;let _0x3e3fc3=_0x1550df[_0x17acd6(0x1c2)]('@');if(_0x3e3fc3<=0x0||_0x3e3fc3!==_0x1550df['lastIndexOf']('@'))return!0x1;let _0xb425cc=_0x1550df['slice'](_0x3e3fc3+0x1);return _0xb425cc[_0x17acd6(0x487)]('.')&&!_0x1550df[_0x17acd6(0x487)]('\x20')&&!_0xb425cc[_0x17acd6(0x18f)]('.')&&!_0xb425cc['endsWith']('.');}let _0x51dbfc={'table':_0x5b1c92=>['tables',_0x5b1c92],'field':(_0x3ec533,_0x562501)=>[_0x3bf781(0x38a),_0x3ec533,_0x3bf781(0x3b1),_0x562501],'fieldOrder':(_0x503bb6,_0x26198e)=>['tables',_0x503bb6,_0x3bf781(0x2a8),_0x26198e],'record':(_0x4ae904,_0x2e56fa)=>[_0x3bf781(0x38a),_0x4ae904,_0x3bf781(0x25f),_0x2e56fa],'cell':(_0x18c8f6,_0x1f00d6,_0x19e89c)=>[_0x3bf781(0x38a),_0x18c8f6,_0x3bf781(0x25f),_0x1f00d6,_0x3bf781(0x449),_0x19e89c],'cellData':(_0x55362d,_0x1112e6,_0x115a45)=>[_0x3bf781(0x38a),_0x55362d,_0x3bf781(0x434),String(_0x1112e6),String(_0x115a45)],'attachmentSet':(_0x15df45,_0x84a6c6)=>[_0x3bf781(0x38a),_0x15df45,_0x3bf781(0x432),_0x3bf781(0x48c),_0x84a6c6],'attachment':(_0x31e67c,_0x3757dc)=>[_0x3bf781(0x38a),_0x31e67c,_0x3bf781(0x432),_0x3bf781(0x26b),_0x3757dc],'view':(_0x2437a0,_0x23f541)=>[_0x3bf781(0x38a),_0x2437a0,'views',_0x23f541],'viewFieldHidden':(_0x10fcf6,_0x24dc17,_0x19fe46)=>[_0x3bf781(0x38a),_0x10fcf6,'views',_0x24dc17,_0x3bf781(0x231),_0x19fe46,_0x3bf781(0x16e)]};function _0x6bf7b1(_0x46a4c0){const _0x25986f=_0x3bf781;return _0x46a4c0[_0x25986f(0x409)]((_0x588b4a,_0x1cfba6)=>_0x588b4a==null?_0x1cfba6:_0x3ffd4d[_0x25986f(0x3f7)][_0x25986f(0x2ec)][_0x25986f(0x2e7)](_0x588b4a,_0x1cfba6),void 0x0);}var _0x5e5613=class{[_0x3bf781(0x31c)](_0x5ac64c,_0x401d3b){const _0x553d0f=_0x3bf781;let _0x10a44d=this[_0x553d0f(0x43d)](_0x5ac64c,_0x5ac64c['name'],_0x401d3b);return _0x6bf7b1([this[_0x553d0f(0x173)]([_0x553d0f(0x209)],_0x5ac64c[_0x553d0f(0x209)],_0x401d3b),..._0x10a44d?[_0x10a44d]:[]]);}[_0x3bf781(0x43d)](_0x157105,_0x570a69,_0x1c27a7){const _0x2faf28=_0x3bf781;let _0x3265b9=Object[_0x2faf28(0x449)](_0x157105['tables'])[_0x2faf28(0x1db)](_0x1d59c0=>Object[_0x2faf28(0x449)](_0x1d59c0[_0x2faf28(0x3b1)])[_0x2faf28(0x1db)](_0x2713eb=>{const _0x3f3624=_0x2faf28;var _0x531e91,_0x2ea3ce,_0x3996be;if(_0x2713eb['type']!==_0x3ffd4d[_0x3f3624(0x376)][_0x3f3624(0x1d4)])return[];let _0x5a61c8=String((_0x531e91=(_0x2ea3ce=_0x2713eb[_0x3f3624(0x1a3)])==null?void 0x0:_0x2ea3ce['formula'])==null?'':_0x531e91),_0x97ddb2=(0x0,_0x3a7103[_0x3f3624(0x217)])(_0x5a61c8,_0x570a69,_0x1c27a7);return _0x97ddb2===_0x5a61c8?[]:[this[_0x3f3624(0x173)]([..._0x51dbfc[_0x3f3624(0x189)](_0x1d59c0['id'],_0x2713eb['id']),'config',_0x3f3624(0x1f0)],(_0x3996be=_0x2713eb[_0x3f3624(0x1a3)])==null?void 0x0:_0x3996be['formula'],_0x97ddb2)];}));return _0x3265b9[_0x2faf28(0x2e1)]>0x0?_0x6bf7b1(_0x3265b9):void 0x0;}[_0x3bf781(0x264)](_0x5030e5,_0x227d98,_0x129d5b=_0x5030e5[_0x3bf781(0x1df)]['length']){const _0x4754aa=_0x3bf781;return _0x6bf7b1([_0x3ffd4d['JSON1'][_0x4754aa(0x44c)](_0x51dbfc['table'](_0x227d98['id']),_0x227d98),_0x3ffd4d['JSON1'][_0x4754aa(0x44c)]([_0x4754aa(0x1df),_0x129d5b],_0x227d98['id'])]);}[_0x3bf781(0x2c9)](_0x1b8742,_0x5cc8c2,_0x400401){const _0x4c22dc=_0x3bf781;let _0x266d83=_0x1b8742['tables'][_0x5cc8c2][_0x4c22dc(0x209)],_0x39c2a9=Object[_0x4c22dc(0x449)](_0x1b8742[_0x4c22dc(0x38a)])['flatMap'](_0x222108=>Object[_0x4c22dc(0x449)](_0x222108['fields'])[_0x4c22dc(0x1db)](_0x4a04cb=>{const _0x4823cb=_0x4c22dc;var _0x2c6c60,_0x213a0e;if(_0x4a04cb[_0x4823cb(0x2ec)]!==_0x3ffd4d['BaseFieldType'][_0x4823cb(0x1d4)])return[];let _0x12aa94=String((_0x2c6c60=(_0x213a0e=_0x4a04cb['config'])==null?void 0x0:_0x213a0e['formula'])==null?'':_0x2c6c60),_0x1e557d=_0x136fbd(_0x12aa94,_0x266d83,_0x400401);return _0x1e557d===_0x12aa94?[]:[this[_0x4823cb(0x183)](_0x1b8742,_0x222108['id'],_0x4a04cb['id'],{'config':{..._0x4a04cb[_0x4823cb(0x1a3)],'formula':_0x1e557d}})];}));return _0x6bf7b1([_0x3ffd4d[_0x4c22dc(0x3f7)][_0x4c22dc(0x188)]([..._0x51dbfc[_0x4c22dc(0x49a)](_0x5cc8c2),_0x4c22dc(0x209)],_0x266d83,_0x400401),..._0x39c2a9]);}[_0x3bf781(0x16b)](_0x2e2643,_0x30c992){const _0x1f23f4=_0x3bf781;let _0x3ef46b=_0x2e2643[_0x1f23f4(0x38a)][_0x30c992],_0x11396b=_0x2e2643['tableOrder'][_0x1f23f4(0x1c2)](_0x30c992);return _0x6bf7b1([_0x3ffd4d['JSON1'][_0x1f23f4(0x474)](_0x51dbfc['table'](_0x30c992),_0x3ef46b),_0x3ffd4d[_0x1f23f4(0x3f7)][_0x1f23f4(0x474)]([_0x1f23f4(0x1df),_0x11396b],_0x30c992)]);}[_0x3bf781(0x465)](_0x177758,_0x5d7968,_0x3af2df){return this['createRecords'](_0x177758,_0x5d7968,[_0x3af2df]);}[_0x3bf781(0x31e)](_0x2e2bfe,_0x206e07,_0x3e83a9){const _0x54a085=_0x3bf781;let _0x509478=_0x2e2bfe[_0x54a085(0x38a)][_0x206e07],_0x39cbb5=_0x3e83a9[_0x54a085(0x3e7)](_0x52c37f=>_0x52c37f&&!_0x509478['records'][_0x52c37f['id']]);if(!_0x39cbb5['length'])return _0x3ffd4d[_0x54a085(0x3f7)][_0x54a085(0x188)]([..._0x51dbfc[_0x54a085(0x49a)](_0x206e07),_0x54a085(0x25f)],_0x509478[_0x54a085(0x25f)],_0x509478[_0x54a085(0x25f)]);let _0x4d6922=new _0x3ffd4d[(_0x54a085(0x3f7))][(_0x54a085(0x325))](),_0x5a15fd=[..._0x39cbb5]['sort']((_0x1c4f8f,_0x50c93c)=>_0x1c4f8f['id']<_0x50c93c['id']?-0x1:+(_0x1c4f8f['id']>_0x50c93c['id'])),_0x43ca99=[..._0x51dbfc['table'](_0x206e07),_0x54a085(0x25f)];_0x4d6922[_0x54a085(0x455)](_0x43ca99);for(let _0x79d46e of _0x5a15fd)_0x4d6922[_0x54a085(0x21a)](_0x79d46e['id']),_0x4d6922[_0x54a085(0x1a8)]('i',_0x79d46e),_0x4d6922[_0x54a085(0x356)]();for(let _0x481b38=0x0;_0x481b38<_0x43ca99[_0x54a085(0x2e1)];_0x481b38+=0x1)_0x4d6922['ascend']();return _0x6bf7b1([_0x4d6922[_0x54a085(0x393)](),this[_0x54a085(0x227)](_0x2e2bfe,_0x206e07,_0x39cbb5)]);}[_0x3bf781(0x2ea)](_0x36f00f,_0x136978,_0x1b929f){const _0x488438=_0x3bf781;return this[_0x488438(0x351)](_0x36f00f,_0x136978,[_0x1b929f]);}['deleteRecords'](_0x266600,_0x34a26f,_0x1a243c){const _0x1397a8=_0x3bf781;let _0x47cae3=_0x266600[_0x1397a8(0x38a)][_0x34a26f],_0x148fef=Array[_0x1397a8(0x278)](new Set(_0x1a243c))[_0x1397a8(0x3e7)](_0x405a26=>_0x47cae3['records'][_0x405a26]);if(!_0x148fef[_0x1397a8(0x2e1)])return _0x3ffd4d[_0x1397a8(0x3f7)]['replaceOp']([..._0x51dbfc[_0x1397a8(0x49a)](_0x34a26f),_0x1397a8(0x25f)],_0x47cae3[_0x1397a8(0x25f)],_0x47cae3[_0x1397a8(0x25f)]);let _0x4aa603=new Set(_0x148fef),_0x138f27=_0x148fef[_0x1397a8(0x2c0)](_0x3d5c2f=>{const _0x5ea499=_0x1397a8;var _0x6e0e41,_0x55f638;return{'recordId':_0x3d5c2f,'index':(_0x6e0e41=(_0x55f638=_0x47cae3[_0x5ea499(0x19f)])==null?void 0x0:_0x55f638[_0x5ea499(0x1c2)](_0x3d5c2f))==null?-0x1:_0x6e0e41};})[_0x1397a8(0x3e7)](_0x55ab11=>_0x55ab11['index']>=0x0)[_0x1397a8(0x1ef)]((_0x5e73b5,_0x587856)=>_0x587856[_0x1397a8(0x19b)]-_0x5e73b5['index']);return _0x6bf7b1([..._0x148fef[_0x1397a8(0x2c0)](_0x745a5b=>_0x3ffd4d[_0x1397a8(0x3f7)]['removeOp'](_0x51dbfc[_0x1397a8(0x41c)](_0x34a26f,_0x745a5b),_0x47cae3[_0x1397a8(0x25f)][_0x745a5b])),..._0x138f27[_0x1397a8(0x2c0)](({recordId:_0x3ac46f,index:_0x19b372})=>_0x3ffd4d[_0x1397a8(0x3f7)][_0x1397a8(0x474)]([_0x1397a8(0x38a),_0x34a26f,_0x1397a8(0x19f),_0x19b372],_0x3ac46f)),...this[_0x1397a8(0x1fa)](_0x47cae3,_0x34a26f,_0x54c419=>{const _0x3325f0=_0x1397a8;let _0x34a280=_0x54c419[_0x3325f0(0x2db)](_0x54c419[_0x3325f0(0x2cb)]('\x1f')+0x1);return _0x4aa603[_0x3325f0(0x22a)](_0x34a280);})]);}[_0x3bf781(0x317)](_0x101b16,_0x3cfa4b,_0xd458d2,_0x40f862){const _0x562bbf=_0x3bf781;return this['createRecord'](_0x101b16,_0x3cfa4b,{..._0x40f862,'values':{..._0x101b16[_0x562bbf(0x38a)][_0x3cfa4b]['records'][_0xd458d2][_0x562bbf(0x449)],..._0x40f862[_0x562bbf(0x449)]}});}['updateRecordOrder'](_0x1fcc59,_0x276f80,_0x973be8,_0x3914e9){const _0x377e0e=_0x3bf781;let _0x1402d4=_0x1fcc59[_0x377e0e(0x38a)][_0x276f80],_0x574f92=[..._0x51dbfc[_0x377e0e(0x41c)](_0x276f80,_0x973be8),_0x377e0e(0x3f5)],_0x2ed4f6=Object[_0x377e0e(0x449)](_0x1402d4['records'])[_0x377e0e(0x2c0)](_0x15d16b=>_0x15d16b['id']===_0x973be8?{..._0x15d16b,'orderKey':_0x3914e9}:_0x15d16b)[_0x377e0e(0x1ef)]((_0xd2277f,_0x53deb7)=>{const _0x41183b=_0x377e0e;var _0x424c08,_0x5811c6;return String((_0x424c08=_0xd2277f[_0x41183b(0x3f5)])==null?_0xd2277f['id']:_0x424c08)['localeCompare'](String((_0x5811c6=_0x53deb7[_0x41183b(0x3f5)])==null?_0x53deb7['id']:_0x5811c6));})[_0x377e0e(0x2c0)](_0x4e5419=>_0x4e5419['id']),_0x2cbea8=[..._0x51dbfc[_0x377e0e(0x49a)](_0x276f80),_0x377e0e(0x19f)];return _0x6bf7b1([_0x3ffd4d[_0x377e0e(0x3f7)][_0x377e0e(0x188)](_0x574f92,_0x1402d4[_0x377e0e(0x25f)][_0x973be8][_0x377e0e(0x3f5)],_0x3914e9),_0x1402d4[_0x377e0e(0x19f)]?_0x3ffd4d[_0x377e0e(0x3f7)][_0x377e0e(0x188)](_0x2cbea8,_0x1402d4[_0x377e0e(0x19f)],_0x2ed4f6):_0x3ffd4d['JSON1'][_0x377e0e(0x44c)](_0x2cbea8,_0x2ed4f6)]);}[_0x3bf781(0x1b9)](_0x5d2be0,_0x23c06b,_0x4fcbd6,_0x5589ea,_0x561c07){const _0x13eb4a=_0x3bf781;var _0x475a5e,_0x2fdafa;let _0x5b3601=_0x5d2be0[_0x13eb4a(0x38a)][_0x23c06b],_0x5997c7=_0x319689(_0x5b3601,_0x4fcbd6,_0x5589ea)?_0x5b3601:_0x374807(_0x5b3601),_0x51e030=(_0x475a5e=_0x5997c7['rowIndex'])==null?void 0x0:_0x475a5e[_0x4fcbd6],_0x295cd2=(_0x2fdafa=_0x5997c7[_0x13eb4a(0x395)])==null?void 0x0:_0x2fdafa[_0x5589ea];if(_0x51e030==null||_0x295cd2==null){var _0x50344d;return this[_0x13eb4a(0x173)](_0x51dbfc[_0x13eb4a(0x1b8)](_0x23c06b,_0x4fcbd6,_0x5589ea),(_0x50344d=_0x5d2be0[_0x13eb4a(0x38a)][_0x23c06b])==null||(_0x50344d=_0x50344d[_0x13eb4a(0x25f)][_0x4fcbd6])==null?void 0x0:_0x50344d[_0x13eb4a(0x449)][_0x5589ea],_0x561c07);}return this[_0x13eb4a(0x2f2)](_0x5d2be0,_0x23c06b,[{'row':_0x51e030,'col':_0x295cd2,'value':_0x561c07}]);}[_0x3bf781(0x47e)](_0x135eca,_0x106c6c,_0x39d903){const _0x2ebd42=_0x3bf781;let _0x7ea98=_0x135eca[_0x2ebd42(0x38a)][_0x106c6c],_0xc1bf7=_0x39d903[_0x2ebd42(0x405)](_0x163e9f=>Object[_0x2ebd42(0x3f8)](_0x163e9f['values'])[_0x2ebd42(0x405)](_0x4e1a23=>_0x319689(_0x7ea98,_0x163e9f[_0x2ebd42(0x2f3)],_0x4e1a23)))?_0x7ea98:_0x374807(_0x7ea98),_0x230f93=_0x39d903[_0x2ebd42(0x1db)](_0x527084=>Object[_0x2ebd42(0x1d1)](_0x527084['values'])[_0x2ebd42(0x1db)](([_0x305f9c,_0x18bec2])=>{const _0xd1f6ed=_0x2ebd42;var _0x3ffbbc,_0x299881;let _0x100359=(_0x3ffbbc=_0xc1bf7[_0xd1f6ed(0x491)])==null?void 0x0:_0x3ffbbc[_0x527084[_0xd1f6ed(0x2f3)]],_0x2aecd6=(_0x299881=_0xc1bf7['colIndex'])==null?void 0x0:_0x299881[_0x305f9c];return _0x100359==null||_0x2aecd6==null?[]:[{'row':_0x100359,'col':_0x2aecd6,'value':_0x18bec2}];})),_0x1b57f3=_0x39d903[_0x2ebd42(0x1db)](_0x37cff0=>{var _0x51aac7;return Object['entries']((_0x51aac7=_0x37cff0['recordPatch'])==null?{}:_0x51aac7)['map'](([_0x29dd13,_0x12abcb])=>{const _0x396680=_0x46db;var _0x2fca73;let _0x5dd5ee=[..._0x51dbfc[_0x396680(0x41c)](_0x106c6c,_0x37cff0[_0x396680(0x2f3)]),_0x29dd13],_0x441ecb=(_0x2fca73=_0x135eca[_0x396680(0x38a)][_0x106c6c])==null||(_0x2fca73=_0x2fca73[_0x396680(0x25f)][_0x37cff0[_0x396680(0x2f3)]])==null?void 0x0:_0x2fca73[_0x29dd13];return this[_0x396680(0x173)](_0x5dd5ee,_0x441ecb,_0x12abcb);});});return _0x6bf7b1([this[_0x2ebd42(0x2f2)](_0x135eca,_0x106c6c,_0x230f93),..._0x1b57f3]);}['setRangeValues'](_0x1029d1,_0xf383c8,_0x357c56){const _0x190cd8=_0x3bf781;let _0x49d9b5=_0x1029d1['tables'][_0xf383c8],_0x3eb9c8=_0x357c56[_0x190cd8(0x405)](_0x404173=>_0x479d27(_0x49d9b5,_0x404173[_0x190cd8(0x247)],_0x404173[_0x190cd8(0x1de)]))?_0x49d9b5:_0x374807(_0x49d9b5),_0x5a340f=_0x357c56[_0x190cd8(0x1db)](_0x481198=>{const _0x73261f=_0x190cd8;var _0x47ab9e,_0x53dc23,_0x4aba6c,_0x3889c7;let _0x3e7500=(_0x47ab9e=_0x3eb9c8[_0x73261f(0x3d8)])==null?void 0x0:_0x47ab9e[_0x481198[_0x73261f(0x1de)]],_0x14bbb2=(_0x53dc23=_0x3eb9c8[_0x73261f(0x3e2)])==null?void 0x0:_0x53dc23[_0x481198[_0x73261f(0x247)]],_0x1ec6ad=_0x3e7500?_0x3eb9c8['fields'][_0x3e7500]:void 0x0,_0x1f4dcd=_0xa2dd6(_0x481198[_0x73261f(0x2cf)],_0x1ec6ad),_0x213b74=(_0x4aba6c=_0x3eb9c8['cellData'])==null||(_0x4aba6c=_0x4aba6c[_0x481198[_0x73261f(0x247)]])==null?void 0x0:_0x4aba6c[_0x481198[_0x73261f(0x1de)]],_0x41571a=this[_0x73261f(0x173)](_0x51dbfc['cellData'](_0xf383c8,_0x481198[_0x73261f(0x247)],_0x481198[_0x73261f(0x1de)]),_0x213b74,_0x1f4dcd);if(!_0x3e7500||!_0x14bbb2)return[_0x41571a];let _0x27f512=(_0x3889c7=_0x3eb9c8[_0x73261f(0x25f)][_0x14bbb2])==null?void 0x0:_0x3889c7['values'][_0x3e7500],_0x3c6b06=(_0x1ec6ad==null?void 0x0:_0x1ec6ad[_0x73261f(0x2ec)])===_0x3ffd4d[_0x73261f(0x376)][_0x73261f(0x291)]?_0xbab599(_0x481198['value']):_0x4b91d3(_0x481198[_0x73261f(0x2cf)],_0x1f4dcd,_0x1ec6ad,_0x3eb9c8,_0x14bbb2),_0x2a942d=[_0x41571a,this[_0x73261f(0x173)](_0x51dbfc['cell'](_0xf383c8,_0x14bbb2,_0x3e7500),_0x27f512,_0x3c6b06)];if((_0x1ec6ad==null?void 0x0:_0x1ec6ad['type'])!==_0x3ffd4d[_0x73261f(0x376)][_0x73261f(0x291)])return _0x2a942d;let _0x2591ce=this['_setAttachmentResources'](_0x3eb9c8,_0xf383c8,_0x14bbb2,_0x3e7500,_0x3c6b06);return[..._0x2a942d,..._0x2591ce];});return _0x5a340f[_0x190cd8(0x2e1)]?_0x6bf7b1(_0x5a340f):_0x3ffd4d[_0x190cd8(0x3f7)]['replaceOp']([_0x190cd8(0x38a),_0xf383c8,_0x190cd8(0x434)],_0x3eb9c8[_0x190cd8(0x434)],_0x3eb9c8['cellData']);}[_0x3bf781(0x42f)](_0x2cf3e7,_0x12fc92,_0x2a9a21){const _0x4df878=_0x3bf781;var _0x199298,_0x3809b1;let _0x493399=_0x2cf3e7['tables'][_0x12fc92];if(_0x493399[_0x4df878(0x3b1)][_0x2a9a21[_0x4df878(0x189)]['id']]||_0x493399[_0x4df878(0x2a8)][_0x4df878(0x487)](_0x2a9a21[_0x4df878(0x189)]['id']))return _0x3ffd4d[_0x4df878(0x3f7)]['replaceOp']([_0x4df878(0x38a),_0x12fc92,_0x4df878(0x2a8)],_0x493399[_0x4df878(0x2a8)],_0x493399[_0x4df878(0x2a8)]);let _0x10e81c=(_0x199298=_0x2a9a21[_0x4df878(0x19b)])==null?_0x493399[_0x4df878(0x2a8)][_0x4df878(0x2e1)]:_0x199298,_0x1ed0a3=Object[_0x4df878(0x449)]((_0x3809b1=_0x493399['views'])==null?{}:_0x3809b1)['flatMap'](_0x7edeba=>{const _0x282479=_0x4df878;var _0x49e6e7,_0x3c12ad;if(!_0x7edeba[_0x282479(0x2a8)]||_0x7edeba[_0x282479(0x2a8)]['includes'](_0x2a9a21[_0x282479(0x189)]['id']))return[];let _0x542bbe=_0x35f345((_0x49e6e7=(_0x3c12ad=_0x2a9a21[_0x282479(0x2f1)])==null?void 0x0:_0x3c12ad[_0x7edeba['id']])==null?_0x10e81c:_0x49e6e7,_0x7edeba['fieldOrder'][_0x282479(0x2e1)]);return[_0x3ffd4d[_0x282479(0x3f7)][_0x282479(0x44c)]([..._0x51dbfc[_0x282479(0x299)](_0x12fc92,_0x7edeba['id']),_0x282479(0x2a8),_0x542bbe],_0x2a9a21[_0x282479(0x189)]['id'])];});return _0x6bf7b1([_0x3ffd4d[_0x4df878(0x3f7)][_0x4df878(0x44c)](_0x51dbfc['field'](_0x12fc92,_0x2a9a21[_0x4df878(0x189)]['id']),_0x2a9a21[_0x4df878(0x189)]),_0x3ffd4d[_0x4df878(0x3f7)][_0x4df878(0x44c)](_0x51dbfc[_0x4df878(0x2a8)](_0x12fc92,_0x10e81c),_0x2a9a21[_0x4df878(0x189)]['id']),..._0x1ed0a3]);}[_0x3bf781(0x24e)](_0x472e61,_0x35ba90,_0x43b8df,_0x7482be){const _0x4a1e94=_0x3bf781;var _0x30f8d8,_0x5f3299;let _0x40f324=_0x472e61[_0x4a1e94(0x38a)][_0x35ba90];if(!_0x40f324['fields'][_0x43b8df]||_0x40f324[_0x4a1e94(0x3b1)][_0x7482be[_0x4a1e94(0x189)]['id']]||_0x40f324[_0x4a1e94(0x2a8)][_0x4a1e94(0x487)](_0x7482be[_0x4a1e94(0x189)]['id']))return _0x3ffd4d[_0x4a1e94(0x3f7)][_0x4a1e94(0x188)](['tables',_0x35ba90,_0x4a1e94(0x2a8)],_0x40f324[_0x4a1e94(0x2a8)],_0x40f324[_0x4a1e94(0x2a8)]);let _0x44e403=(_0x30f8d8=_0x7482be['index'])==null?_0x40f324[_0x4a1e94(0x2a8)][_0x4a1e94(0x1c2)](_0x43b8df)+0x1:_0x30f8d8,_0x5e3f58=_0x40f324[_0x4a1e94(0x2a8)][_0x4a1e94(0x3e7)](_0x338037=>_0x338037!==_0x7482be[_0x4a1e94(0x189)]['id']),_0x137e37=_0x57f089(_0x5e3f58,_0x7482be['field']['id'],_0x44e403),_0x4b2bcc=Object[_0x4a1e94(0x449)]((_0x5f3299=_0x40f324[_0x4a1e94(0x37f)])==null?{}:_0x5f3299)[_0x4a1e94(0x1db)](_0x1cdcdd=>{const _0x453479=_0x4a1e94;var _0x254b7f,_0x1bb964,_0x331da7,_0x17084e,_0x86fc2d;let _0x4560b0=(_0x254b7f=_0x1cdcdd[_0x453479(0x2a8)])!=null&&_0x254b7f['length']?_0x1cdcdd[_0x453479(0x2a8)]:_0x5e3f58;if(_0x4560b0['includes'](_0x7482be[_0x453479(0x189)]['id']))return[];let _0x2ea80d=_0x57f089(_0x4560b0,_0x7482be[_0x453479(0x189)]['id'],(_0x1bb964=(_0x331da7=_0x7482be[_0x453479(0x2f1)])==null?void 0x0:_0x331da7[_0x1cdcdd['id']])==null?_0x44e403:_0x1bb964),_0x3ffa62=(_0x17084e=_0x1cdcdd[_0x453479(0x231)])==null?void 0x0:_0x17084e[_0x43b8df];return[this['_replaceOptional']([..._0x51dbfc[_0x453479(0x299)](_0x35ba90,_0x1cdcdd['id']),_0x453479(0x2a8)],_0x1cdcdd['fieldOrder'],_0x2ea80d),..._0x3ffa62?[this[_0x453479(0x173)]([..._0x51dbfc[_0x453479(0x299)](_0x35ba90,_0x1cdcdd['id']),_0x453479(0x231),_0x7482be[_0x453479(0x189)]['id']],(_0x86fc2d=_0x1cdcdd[_0x453479(0x231)])==null?void 0x0:_0x86fc2d[_0x7482be[_0x453479(0x189)]['id']],_0x3ffa62)]:[]];}),_0x37a0da=Object[_0x4a1e94(0x449)](_0x40f324[_0x4a1e94(0x25f)])[_0x4a1e94(0x3e7)](_0x1e04b9=>Object['prototype'][_0x4a1e94(0x33c)][_0x4a1e94(0x1cf)](_0x1e04b9[_0x4a1e94(0x449)],_0x43b8df))['map'](_0x5d4030=>this[_0x4a1e94(0x173)](_0x51dbfc[_0x4a1e94(0x1b8)](_0x35ba90,_0x5d4030['id'],_0x7482be['field']['id']),_0x5d4030['values'][_0x7482be['field']['id']],_0x5d4030[_0x4a1e94(0x449)][_0x43b8df]));return _0x6bf7b1([_0x3ffd4d[_0x4a1e94(0x3f7)][_0x4a1e94(0x44c)](_0x51dbfc[_0x4a1e94(0x189)](_0x35ba90,_0x7482be[_0x4a1e94(0x189)]['id']),_0x7482be[_0x4a1e94(0x189)]),_0x3ffd4d[_0x4a1e94(0x3f7)]['replaceOp']([_0x4a1e94(0x38a),_0x35ba90,_0x4a1e94(0x2a8)],_0x40f324[_0x4a1e94(0x2a8)],_0x137e37),..._0x4b2bcc,..._0x37a0da]);}[_0x3bf781(0x183)](_0x2abea7,_0x154d96,_0xdeef3c,_0xc70582){const _0x2eca28=_0x3bf781;let _0x2a7134=_0x2abea7[_0x2eca28(0x38a)][_0x154d96][_0x2eca28(0x3b1)][_0xdeef3c],_0x38af59={..._0x2a7134,..._0xc70582};Object[_0x2eca28(0x3f8)](_0xc70582)[_0x2eca28(0x43f)](_0x57f507=>{_0xc70582[_0x57f507]===void 0x0&&delete _0x38af59[_0x57f507];});let _0x2e7bba=_0x3ffd4d[_0x2eca28(0x3f7)][_0x2eca28(0x188)](_0x51dbfc['field'](_0x154d96,_0xdeef3c),_0x2a7134,_0x38af59);return _0x38af59[_0x2eca28(0x2ec)]===_0x3ffd4d[_0x2eca28(0x376)]['Formula']?_0x6bf7b1([_0x2e7bba,...this['_setFormulaFieldCells'](_0x2abea7,_0x154d96,_0xdeef3c,_0x38af59)]):_0x2e7bba;}[_0x3bf781(0x2f0)](_0x9cf68e,_0x3aa88a,_0x848bfe,_0x5c8f72){const _0x1604fb=_0x3bf781;return this[_0x1604fb(0x183)](_0x9cf68e,_0x3aa88a,_0x848bfe,_0x5c8f72);}[_0x3bf781(0x1b1)](_0x437c44,_0x55c9ff,_0xe65797){const _0x4cee49=_0x3bf781;let _0x3df8d5=_0x437c44[_0x4cee49(0x38a)][_0x55c9ff];if(!(_0x3df8d5!=null&&_0x3df8d5[_0x4cee49(0x3b1)][_0xe65797])||_0x3df8d5[_0x4cee49(0x3e1)]===_0xe65797)return _0x3ffd4d['JSON1'][_0x4cee49(0x188)]([_0x4cee49(0x38a),_0x55c9ff,_0x4cee49(0x2a8)],_0x3df8d5==null?void 0x0:_0x3df8d5[_0x4cee49(0x2a8)],_0x3df8d5==null?void 0x0:_0x3df8d5['fieldOrder']);let _0x504830=_0x3df8d5[_0x4cee49(0x2a8)]['indexOf'](_0xe65797),_0x27d880=Object['values'](_0x3df8d5['views'])[_0x4cee49(0x1db)](_0x1516f1=>{const _0x563ba4=_0x4cee49;var _0x51621f,_0x58ad10,_0x4ea013,_0x37de58,_0x1caad4,_0x5d3de6,_0x448441,_0x135d4c;let _0xa6348a=[],_0x40df31=(_0x51621f=(_0x58ad10=_0x1516f1[_0x563ba4(0x2a8)])==null?void 0x0:_0x58ad10[_0x563ba4(0x1c2)](_0xe65797))==null?-0x1:_0x51621f;_0x40df31>=0x0&&_0xa6348a[_0x563ba4(0x2af)](_0x3ffd4d[_0x563ba4(0x3f7)][_0x563ba4(0x474)]([..._0x51dbfc[_0x563ba4(0x299)](_0x55c9ff,_0x1516f1['id']),_0x563ba4(0x2a8),_0x40df31],_0xe65797));let _0xa50830=(_0x4ea013=_0x1516f1[_0x563ba4(0x231)])==null?void 0x0:_0x4ea013[_0xe65797];_0xa50830!==void 0x0&&_0xa6348a[_0x563ba4(0x2af)](_0x3ffd4d[_0x563ba4(0x3f7)][_0x563ba4(0x474)]([..._0x51dbfc[_0x563ba4(0x299)](_0x55c9ff,_0x1516f1['id']),_0x563ba4(0x231),_0xe65797],_0xa50830));let _0x521ca2=_0x1516f1[_0x563ba4(0x3e7)]?{..._0x1516f1['filter'],'conditions':_0x1516f1[_0x563ba4(0x3e7)][_0x563ba4(0x312)]['filter'](_0x449f4c=>_0x449f4c[_0x563ba4(0x29f)]!==_0xe65797)}:_0x1516f1[_0x563ba4(0x3e7)];_0x521ca2&&_0x521ca2['conditions'][_0x563ba4(0x2e1)]!==((_0x37de58=_0x1516f1[_0x563ba4(0x3e7)])==null?void 0x0:_0x37de58[_0x563ba4(0x312)]['length'])&&_0xa6348a[_0x563ba4(0x2af)](this[_0x563ba4(0x173)]([..._0x51dbfc['view'](_0x55c9ff,_0x1516f1['id']),'filter'],_0x1516f1['filter'],_0x521ca2));let _0x155c4e=(_0x1caad4=_0x1516f1[_0x563ba4(0x1ef)])==null?void 0x0:_0x1caad4[_0x563ba4(0x3e7)](_0x4efe8e=>_0x4efe8e[_0x563ba4(0x29f)]!==_0xe65797);_0x155c4e&&_0x155c4e['length']!==((_0x5d3de6=_0x1516f1[_0x563ba4(0x1ef)])==null?void 0x0:_0x5d3de6[_0x563ba4(0x2e1)])&&_0xa6348a[_0x563ba4(0x2af)](this[_0x563ba4(0x173)]([..._0x51dbfc[_0x563ba4(0x299)](_0x55c9ff,_0x1516f1['id']),_0x563ba4(0x1ef)],_0x1516f1[_0x563ba4(0x1ef)],_0x155c4e));let _0x13ecc5=(_0x448441=_0x1516f1[_0x563ba4(0x32a)])==null?void 0x0:_0x448441['filter'](_0x127d28=>_0x127d28[_0x563ba4(0x29f)]!==_0xe65797);_0x13ecc5&&_0x13ecc5['length']!==((_0x135d4c=_0x1516f1[_0x563ba4(0x32a)])==null?void 0x0:_0x135d4c[_0x563ba4(0x2e1)])&&_0xa6348a['push'](this[_0x563ba4(0x173)]([..._0x51dbfc['view'](_0x55c9ff,_0x1516f1['id']),_0x563ba4(0x32a)],_0x1516f1[_0x563ba4(0x32a)],_0x13ecc5));let _0x3f37a2=_0x1a8829(_0x1516f1[_0x563ba4(0x1a3)],_0xe65797);return JSON['stringify'](_0x3f37a2)!==JSON[_0x563ba4(0x177)](_0x1516f1[_0x563ba4(0x1a3)])&&_0xa6348a[_0x563ba4(0x2af)](_0x3ffd4d[_0x563ba4(0x3f7)][_0x563ba4(0x188)]([..._0x51dbfc['view'](_0x55c9ff,_0x1516f1['id']),_0x563ba4(0x1a3)],_0x1516f1[_0x563ba4(0x1a3)],_0x3f37a2)),_0xa6348a;}),_0x8cd0e9=Object[_0x4cee49(0x449)](_0x3df8d5['records'])[_0x4cee49(0x1db)](_0xe2c4ac=>Object[_0x4cee49(0x3d0)]['hasOwnProperty'][_0x4cee49(0x1cf)](_0xe2c4ac['values'],_0xe65797)?[_0x3ffd4d[_0x4cee49(0x3f7)][_0x4cee49(0x474)](_0x51dbfc[_0x4cee49(0x1b8)](_0x55c9ff,_0xe2c4ac['id'],_0xe65797),_0xe2c4ac['values'][_0xe65797])]:[]);return _0x6bf7b1([_0x3ffd4d[_0x4cee49(0x3f7)][_0x4cee49(0x474)](_0x51dbfc[_0x4cee49(0x189)](_0x55c9ff,_0xe65797),_0x3df8d5[_0x4cee49(0x3b1)][_0xe65797]),_0x3ffd4d['JSON1'][_0x4cee49(0x474)](_0x51dbfc[_0x4cee49(0x2a8)](_0x55c9ff,_0x504830),_0xe65797),..._0x27d880,..._0x8cd0e9,...this[_0x4cee49(0x1fa)](_0x3df8d5,_0x55c9ff,_0x4e8967=>_0x4e8967[_0x4cee49(0x18f)](_0xe65797+'\x1f'))]);}[_0x3bf781(0x443)](_0x1eb3ff,_0x2753a9,_0x8a2c34,_0x1f96bd){const _0x28f5fc=_0x3bf781;let _0x2a21ff=_0x1eb3ff[_0x28f5fc(0x38a)][_0x2753a9]['fieldOrder'],_0xf9979c=_0x5e967d(_0x2a21ff,_0x8a2c34,_0x1f96bd);return _0x3ffd4d[_0x28f5fc(0x3f7)][_0x28f5fc(0x188)]([_0x28f5fc(0x38a),_0x2753a9,'fieldOrder'],_0x2a21ff,_0xf9979c);}[_0x3bf781(0x1ab)](_0x4f5530,_0x1c2f70,_0x53f846,_0x3f0174=_0x4f5530[_0x3bf781(0x38a)][_0x1c2f70][_0x3bf781(0x1c3)][_0x3bf781(0x2e1)]){const _0x1f15b5=_0x3bf781;return _0x6bf7b1([_0x3ffd4d[_0x1f15b5(0x3f7)][_0x1f15b5(0x44c)](_0x51dbfc['view'](_0x1c2f70,_0x53f846['id']),_0x53f846),_0x3ffd4d[_0x1f15b5(0x3f7)][_0x1f15b5(0x44c)]([_0x1f15b5(0x38a),_0x1c2f70,'viewOrder',_0x3f0174],_0x53f846['id'])]);}['renameView'](_0x20759b,_0x381aba,_0x19aadb,_0x2c0658){const _0x2cab95=_0x3bf781;return _0x3ffd4d[_0x2cab95(0x3f7)][_0x2cab95(0x188)]([..._0x51dbfc[_0x2cab95(0x299)](_0x381aba,_0x19aadb),_0x2cab95(0x209)],_0x20759b[_0x2cab95(0x38a)][_0x381aba][_0x2cab95(0x37f)][_0x19aadb][_0x2cab95(0x209)],_0x2c0658);}[_0x3bf781(0x391)](_0x215b53,_0x4b466c,_0x34492a){const _0x29578c=_0x3bf781;let _0x3d38e4=_0x215b53[_0x29578c(0x38a)][_0x4b466c],_0x2bdc5e=_0x3d38e4[_0x29578c(0x37f)][_0x34492a],_0x36252f=_0x3d38e4[_0x29578c(0x1c3)]['indexOf'](_0x34492a);return _0x6bf7b1([_0x3ffd4d[_0x29578c(0x3f7)][_0x29578c(0x474)](_0x51dbfc[_0x29578c(0x299)](_0x4b466c,_0x34492a),_0x2bdc5e),_0x3ffd4d[_0x29578c(0x3f7)][_0x29578c(0x474)]([_0x29578c(0x38a),_0x4b466c,_0x29578c(0x1c3),_0x36252f],_0x34492a)]);}[_0x3bf781(0x30c)](_0x2beca9,_0xa1d07e,_0x45368e,_0x5c75a9){const _0x37a4ac=_0x3bf781;let _0x1b237a=_0x2beca9[_0x37a4ac(0x38a)][_0xa1d07e][_0x37a4ac(0x1c3)],_0x5af501=_0x5e967d(_0x1b237a,_0x45368e,{'beforeFieldId':_0x5c75a9[_0x37a4ac(0x3ab)],'afterFieldId':_0x5c75a9[_0x37a4ac(0x3e9)]});return _0x3ffd4d[_0x37a4ac(0x3f7)][_0x37a4ac(0x188)]([_0x37a4ac(0x38a),_0xa1d07e,'viewOrder'],_0x1b237a,_0x5af501);}['updateViewConfig'](_0x3db2b9,_0x37c306,_0x33d6b3,_0x51bed1){const _0x596625=_0x3bf781;var _0x309b57;let _0x32ee70=(_0x309b57=_0x3db2b9[_0x596625(0x38a)][_0x37c306][_0x596625(0x37f)][_0x33d6b3]['config'])==null?{}:_0x309b57,_0x77cac3={..._0x32ee70,..._0x51bed1};return Object['keys'](_0x51bed1)['forEach'](_0x331cdf=>{_0x51bed1[_0x331cdf]===void 0x0&&delete _0x77cac3[_0x331cdf];}),_0x3ffd4d[_0x596625(0x3f7)][_0x596625(0x188)]([..._0x51dbfc[_0x596625(0x299)](_0x37c306,_0x33d6b3),_0x596625(0x1a3)],_0x32ee70,_0x77cac3);}[_0x3bf781(0x339)](_0x2da523,_0x5e2f93,_0x36dba0,_0x395e12){const _0x13b534=_0x3bf781;return this['_replaceOptional']([..._0x51dbfc['view'](_0x5e2f93,_0x36dba0),_0x13b534(0x3e7)],_0x2da523[_0x13b534(0x38a)][_0x5e2f93][_0x13b534(0x37f)][_0x36dba0][_0x13b534(0x3e7)],_0x395e12);}[_0x3bf781(0x450)](_0x39fbf5,_0xe4fda3,_0x1f77ec,_0x2d8381){const _0x254aaa=_0x3bf781;return this[_0x254aaa(0x173)]([..._0x51dbfc[_0x254aaa(0x299)](_0xe4fda3,_0x1f77ec),'sort'],_0x39fbf5['tables'][_0xe4fda3][_0x254aaa(0x37f)][_0x1f77ec]['sort'],_0x2d8381);}['setViewGroup'](_0x3ba064,_0x31c5cb,_0x5d84ec,_0x580ff3){const _0x173691=_0x3bf781;return this[_0x173691(0x173)]([..._0x51dbfc[_0x173691(0x299)](_0x31c5cb,_0x5d84ec),_0x173691(0x32a)],_0x3ba064['tables'][_0x31c5cb][_0x173691(0x37f)][_0x5d84ec][_0x173691(0x32a)],_0x580ff3);}['setViewFieldVisible'](_0x352c7b,_0x20479a,_0x528faf,_0x43205f,_0x31e29a){const _0x43f6b9=_0x3bf781;return this[_0x43f6b9(0x282)](_0x352c7b,_0x20479a,_0x528faf,_0x43205f,{'hidden':!_0x31e29a});}[_0x3bf781(0x459)](_0x2c7ebd,_0x492f62,_0x276a81,_0x30c99f,_0xa1674c){const _0x20c16c=_0x3bf781;return this[_0x20c16c(0x282)](_0x2c7ebd,_0x492f62,_0x276a81,_0x30c99f,{'width':_0xa1674c});}[_0x3bf781(0x2d3)](_0x40ef19,_0x55bb84,_0x1d3a00,_0x1f7620,_0x9d5ae2){const _0x5c34fc=_0x3bf781;var _0x5df7cf;let _0x1ced85=_0x40ef19[_0x5c34fc(0x38a)][_0x55bb84][_0x5c34fc(0x37f)][_0x1d3a00],_0x565c18=_0x5e967d((_0x5df7cf=_0x1ced85['fieldOrder'])==null?_0x40ef19[_0x5c34fc(0x38a)][_0x55bb84][_0x5c34fc(0x2a8)]:_0x5df7cf,_0x1f7620,_0x9d5ae2);return this[_0x5c34fc(0x173)]([..._0x51dbfc[_0x5c34fc(0x299)](_0x55bb84,_0x1d3a00),_0x5c34fc(0x2a8)],_0x1ced85[_0x5c34fc(0x2a8)],_0x565c18);}[_0x3bf781(0x282)](_0x58179b,_0x3e270d,_0x49782a,_0x641b22,_0xbe039f){const _0x4d7d14=_0x3bf781;var _0x4bdf8c;let _0x53e37d=(_0x4bdf8c=_0x58179b[_0x4d7d14(0x38a)][_0x3e270d][_0x4d7d14(0x37f)][_0x49782a][_0x4d7d14(0x231)])==null?{}:_0x4bdf8c,_0x549fc0={..._0x53e37d,[_0x641b22]:{..._0x53e37d[_0x641b22],..._0xbe039f}};return this[_0x4d7d14(0x173)]([..._0x51dbfc['view'](_0x3e270d,_0x49782a),_0x4d7d14(0x231)],_0x58179b[_0x4d7d14(0x38a)][_0x3e270d]['views'][_0x49782a][_0x4d7d14(0x231)],_0x549fc0);}[_0x3bf781(0x227)](_0xd06fb7,_0x189b26,_0x1d3cbf){const _0x3ef2e0=_0x3bf781;let _0x34a9cd=_0xd06fb7[_0x3ef2e0(0x38a)][_0x189b26],_0x44c196=new Set(_0x1d3cbf[_0x3ef2e0(0x2c0)](_0x30493e=>_0x30493e['id'])),_0x3c30bd=[...Object[_0x3ef2e0(0x449)](_0x34a9cd[_0x3ef2e0(0x25f)])[_0x3ef2e0(0x3e7)](_0x4eacef=>!_0x44c196[_0x3ef2e0(0x22a)](_0x4eacef['id'])),..._0x1d3cbf][_0x3ef2e0(0x1ef)]((_0x271810,_0x4241ec)=>{const _0x239a4e=_0x3ef2e0;var _0x9d3ef0,_0x330d58;return String((_0x9d3ef0=_0x271810[_0x239a4e(0x3f5)])==null?_0x271810['id']:_0x9d3ef0)['localeCompare'](String((_0x330d58=_0x4241ec[_0x239a4e(0x3f5)])==null?_0x4241ec['id']:_0x330d58));})[_0x3ef2e0(0x2c0)](_0xa219e5=>_0xa219e5['id']),_0x2c93f2=[..._0x51dbfc[_0x3ef2e0(0x49a)](_0x189b26),_0x3ef2e0(0x19f)];return _0x34a9cd['recordOrder']?_0x3ffd4d[_0x3ef2e0(0x3f7)][_0x3ef2e0(0x188)](_0x2c93f2,_0x34a9cd[_0x3ef2e0(0x19f)],_0x3c30bd):_0x3ffd4d['JSON1'][_0x3ef2e0(0x44c)](_0x2c93f2,_0x3c30bd);}[_0x3bf781(0x44e)](_0x1a20af,_0x58c8f2,_0x5c2815,_0x31272d){const _0x495f6a=_0x3bf781;var _0x2fd07c,_0x401254,_0x2f6bd9,_0x22e938;let _0x591419=_0x374807(_0x1a20af[_0x495f6a(0x38a)][_0x58c8f2]),_0x2332df=String((_0x2fd07c=(_0x401254=_0x31272d[_0x495f6a(0x1a3)])==null?void 0x0:_0x401254['formula'])==null?'':_0x2fd07c)['trim'](),_0x23a9f5=(_0x2f6bd9=_0x591419[_0x495f6a(0x395)])==null?void 0x0:_0x2f6bd9[_0x5c2815];if(_0x23a9f5==null)return[];let _0x4ba8c1=(_0x22e938=_0x591419[_0x495f6a(0x19f)])==null?Object[_0x495f6a(0x3f8)](_0x591419[_0x495f6a(0x25f)]):_0x22e938,_0x5a6671=_0x4ba8c1[_0x495f6a(0x2c0)](_0x3d63d3=>{const _0x28ce90=_0x495f6a;var _0x14e5b0;return(_0x14e5b0=_0x591419[_0x28ce90(0x491)])==null?void 0x0:_0x14e5b0[_0x3d63d3];})[_0x495f6a(0x367)](_0x332234=>_0x332234!=null);return _0x4ba8c1['flatMap'](_0xb4033f=>{const _0x29d8d6=_0x495f6a;var _0x1bccd9,_0x12bb55;let _0xd12f31=(_0x1bccd9=_0x591419['rowIndex'])==null?void 0x0:_0x1bccd9[_0xb4033f];if(_0xd12f31==null)return[];let _0x314f1e=(_0x12bb55=_0x591419[_0x29d8d6(0x434)])==null||(_0x12bb55=_0x12bb55[_0xd12f31])==null?void 0x0:_0x12bb55[_0x23a9f5],_0x29bbb7=_0x2332df?_0xd12f31===_0x5a6671?{'f':_0x2332df,'si':_0x5c2815}:{'si':_0x5c2815}:{'v':null,'t':null};return[this['_replaceOptional'](_0x51dbfc['cellData'](_0x58c8f2,_0xd12f31,_0x23a9f5),_0x314f1e,_0x29bbb7)];});}[_0x3bf781(0x2d2)](_0x294b30,_0x2dd7ed,_0x5e7e29,_0x2af565,_0x348a53){const _0x123707=_0x3bf781;var _0x582b46;let _0x110c60=_0x53a71f(_0x2af565,_0x5e7e29),_0x2e9fc2=_0x348a53['map']((_0x21ab32,_0x4488b3)=>{var _0xc7a7b3;return String((_0xc7a7b3=_0x21ab32['id'])==null?_0x110c60+'\x1f'+_0x4488b3:_0xc7a7b3);});return[this[_0x123707(0x173)](_0x51dbfc['attachmentSet'](_0x2dd7ed,_0x110c60),(_0x582b46=_0x294b30[_0x123707(0x432)])==null||(_0x582b46=_0x582b46['attachmentSets'])==null?void 0x0:_0x582b46[_0x110c60],_0x2e9fc2),..._0x348a53[_0x123707(0x2c0)]((_0x24f411,_0x264017)=>{const _0x4e0562=_0x123707;var _0x3ca34b;let _0x381659=_0x2e9fc2[_0x264017];return this[_0x4e0562(0x173)](_0x51dbfc['attachment'](_0x2dd7ed,_0x381659),(_0x3ca34b=_0x294b30[_0x4e0562(0x432)])==null||(_0x3ca34b=_0x3ca34b[_0x4e0562(0x26b)])==null?void 0x0:_0x3ca34b[_0x381659],{..._0x24f411,'id':_0x381659});})];}[_0x3bf781(0x1fa)](_0x2486f7,_0x46d93f,_0x54c10){const _0x384aa5=_0x3bf781;var _0x5ea85b,_0x57061d;let _0x3af4fc=(_0x5ea85b=(_0x57061d=_0x2486f7['resources'])==null?void 0x0:_0x57061d['attachmentSets'])==null?{}:_0x5ea85b,_0x34c95e=Object[_0x384aa5(0x1d1)](_0x3af4fc)[_0x384aa5(0x3e7)](([_0x5c4014])=>_0x54c10(_0x5c4014));if(!_0x34c95e[_0x384aa5(0x2e1)])return[];let _0x1048ce=new Set(Object[_0x384aa5(0x1d1)](_0x3af4fc)[_0x384aa5(0x3e7)](([_0x49c0d2])=>!_0x54c10(_0x49c0d2))['flatMap'](([,_0x2f8bb8])=>_0x2f8bb8)),_0x403d36=new Set(_0x34c95e[_0x384aa5(0x1db)](([,_0x1bb4cd])=>_0x1bb4cd));return[..._0x34c95e[_0x384aa5(0x2c0)](([_0xd098a8,_0x3692a2])=>_0x3ffd4d[_0x384aa5(0x3f7)]['removeOp'](_0x51dbfc[_0x384aa5(0x1a2)](_0x46d93f,_0xd098a8),_0x3692a2)),...Array[_0x384aa5(0x278)](_0x403d36)[_0x384aa5(0x1db)](_0x2412cf=>{const _0x5f00a5=_0x384aa5;var _0x108d85;let _0x28bc45=(_0x108d85=_0x2486f7[_0x5f00a5(0x432)])==null||(_0x108d85=_0x108d85['attachments'])==null?void 0x0:_0x108d85[_0x2412cf];return _0x28bc45!==void 0x0&&!_0x1048ce[_0x5f00a5(0x22a)](_0x2412cf)?[_0x3ffd4d['JSON1']['removeOp'](_0x51dbfc[_0x5f00a5(0x2d9)](_0x46d93f,_0x2412cf),_0x28bc45)]:[];})];}[_0x3bf781(0x173)](_0x3fd228,_0x408ccc,_0x2ea24a){const _0x442f48=_0x3bf781;return _0x408ccc===void 0x0?_0x3ffd4d[_0x442f48(0x3f7)]['insertOp'](_0x3fd228,_0x2ea24a):_0x3ffd4d[_0x442f48(0x3f7)][_0x442f48(0x188)](_0x3fd228,_0x408ccc,_0x2ea24a);}};function _0x319689(_0x5cafb4,_0x40dadd,_0x4683a3){const _0x233c38=_0x3bf781;var _0x26786c,_0x2132fe,_0x22d54e,_0x313914;let _0x508a87=(_0x26786c=_0x5cafb4[_0x233c38(0x491)])==null?void 0x0:_0x26786c[_0x40dadd],_0x4b4119=(_0x2132fe=_0x5cafb4['colIndex'])==null?void 0x0:_0x2132fe[_0x4683a3];return _0x508a87!=null&&_0x4b4119!=null&&((_0x22d54e=_0x5cafb4[_0x233c38(0x3e2)])==null?void 0x0:_0x22d54e[_0x508a87])===_0x40dadd&&((_0x313914=_0x5cafb4[_0x233c38(0x3d8)])==null?void 0x0:_0x313914[_0x4b4119])===_0x4683a3&&_0x5cafb4[_0x233c38(0x434)]!=null;}function _0x479d27(_0x1de3ca,_0x4a83df,_0x31f764){const _0x20d89e=_0x3bf781;var _0x48599e,_0x196629;return((_0x48599e=_0x1de3ca[_0x20d89e(0x3e2)])==null?void 0x0:_0x48599e[_0x4a83df])!=null&&((_0x196629=_0x1de3ca[_0x20d89e(0x3d8)])==null?void 0x0:_0x196629[_0x31f764])!=null&&_0x1de3ca[_0x20d89e(0x434)]!=null;}function _0x5e967d(_0x2481ff,_0x294018,_0x2d68de){const _0x2de034=_0x3bf781;let _0x27ba40=_0x2481ff[_0x2de034(0x3e7)](_0x2e53af=>_0x2e53af!==_0x294018),_0x1c1412=_0x2d68de[_0x2de034(0x1ea)]?_0x27ba40['indexOf'](_0x2d68de[_0x2de034(0x1ea)]):_0x2d68de[_0x2de034(0x33d)]?_0x27ba40[_0x2de034(0x1c2)](_0x2d68de[_0x2de034(0x33d)])+0x1:_0x27ba40[_0x2de034(0x2e1)];return _0x27ba40[_0x2de034(0x3c6)](_0x1c1412<0x0?_0x27ba40[_0x2de034(0x2e1)]:_0x1c1412,0x0,_0x294018),_0x27ba40;}function _0x57f089(_0x11587e,_0x16718b,_0x5ca925){const _0x3a6b41=_0x3bf781;let _0x3ff5b8=_0x11587e[_0x3a6b41(0x3e7)](_0x4ddea5=>_0x4ddea5!==_0x16718b);return _0x3ff5b8['splice'](_0x35f345(_0x5ca925,_0x3ff5b8[_0x3a6b41(0x2e1)]),0x0,_0x16718b),_0x3ff5b8;}function _0x1a8829(_0x1abce8,_0x18d647,_0xcad512){const _0x469a72=_0x3bf781;if(Array[_0x469a72(0x30b)](_0x1abce8))return _0xcad512===_0x469a72(0x40c)?_0x1abce8[_0x469a72(0x3e7)](_0x4c0297=>_0x4c0297!==_0x18d647):_0x1abce8['flatMap'](_0x512ca7=>{const _0x32f78c=_0x469a72;if(_0x512ca7&&typeof _0x512ca7==_0x32f78c(0x3b2)&&!Array[_0x32f78c(0x30b)](_0x512ca7)&&_0x512ca7[_0x32f78c(0x29f)]===_0x18d647)return[];let _0xea6e2e=_0x1a8829(_0x512ca7,_0x18d647);return _0xea6e2e===void 0x0?[]:[_0xea6e2e];});if(!_0x1abce8||typeof _0x1abce8!='object')return _0xcad512!=null&&_0xcad512[_0x469a72(0x37e)](_0x469a72(0x17f))&&_0x1abce8===_0x18d647?void 0x0:_0x1abce8;let _0x28521e=_0x1abce8;if(_0x28521e[_0x469a72(0x29f)]!==_0x18d647)return Object[_0x469a72(0x234)](Object[_0x469a72(0x1d1)](_0x28521e)[_0x469a72(0x1db)](([_0x1896f3,_0x2c3386])=>{if(_0x1896f3===_0x18d647&&_0xcad512==='fieldSettings')return[];let _0x4ee088=_0x1a8829(_0x2c3386,_0x18d647,_0x1896f3);return _0x4ee088===void 0x0?[]:[[_0x1896f3,_0x4ee088]];}));}function _0x35f345(_0xe094d5,_0x248137){const _0x5a7b2c=_0x3bf781;return Math[_0x5a7b2c(0x41e)](0x0,Math['min'](_0xe094d5,_0x248137));}function _0x136fbd(_0xc790c0,_0x3bdf00,_0x284ffc){const _0x1d3f90=_0x3bf781;if(!_0xc790c0||!_0x3bdf00||_0x3bdf00===_0x284ffc)return _0xc790c0;let _0x79f163='',_0x294b97=!0x1,_0x3af6ae=_0x3bdf00['toLowerCase']();for(let _0x386768=0x0;_0x386768<_0xc790c0[_0x1d3f90(0x2e1)];){let _0x5db008=_0xc790c0[_0x386768];if(_0x5db008==='\x22'){if(_0x294b97&&_0xc790c0[_0x386768+0x1]==='\x22'){_0x79f163+='\x22\x22',_0x386768+=0x2;continue;}_0x294b97=!_0x294b97,_0x79f163+=_0x5db008,_0x386768++;continue;}if(!_0x294b97&&_0xc790c0['slice'](_0x386768,_0x386768+_0x3bdf00[_0x1d3f90(0x2e1)])['toLowerCase']()===_0x3af6ae&&_0x184ad2(_0xc790c0,_0x386768,_0x3bdf00[_0x1d3f90(0x2e1)])){_0x79f163+=_0x284ffc,_0x386768+=_0x3bdf00[_0x1d3f90(0x2e1)];continue;}_0x79f163+=_0x5db008,_0x386768++;}return _0x79f163;}function _0x184ad2(_0x1b1f50,_0x4a5d51,_0x2247b3){const _0x4fc4eb=_0x3bf781;var _0x2c05a1;let _0xd646ef=_0x1b1f50[_0x4a5d51-0x1];if(_0xd646ef&&/[\w.]/[_0x4fc4eb(0x280)](_0xd646ef))return!0x1;let _0xd41434=_0x4a5d51+_0x2247b3;for(;/\s/[_0x4fc4eb(0x280)]((_0x2c05a1=_0x1b1f50[_0xd41434])==null?'':_0x2c05a1);)_0xd41434++;return _0x1b1f50[_0xd41434]==='[';}function _0x468d4c(_0x8f1800){'@babel/helpers - typeof';const _0x7999b9=_0x3bf781;return _0x468d4c=typeof Symbol==_0x7999b9(0x1e0)&&typeof Symbol[_0x7999b9(0x2b5)]=='symbol'?function(_0x2a77f1){return typeof _0x2a77f1;}:function(_0xe165b7){const _0x25c064=_0x7999b9;return _0xe165b7&&typeof Symbol==_0x25c064(0x1e0)&&_0xe165b7['constructor']===Symbol&&_0xe165b7!==Symbol[_0x25c064(0x3d0)]?_0x25c064(0x164):typeof _0xe165b7;},_0x468d4c(_0x8f1800);}function _0x46ef36(_0xeec7ae,_0x49b64c){const _0x121b91=_0x3bf781;if(_0x468d4c(_0xeec7ae)!=_0x121b91(0x3b2)||!_0xeec7ae)return _0xeec7ae;var _0x1d0714=_0xeec7ae[Symbol['toPrimitive']];if(_0x1d0714!==void 0x0){var _0x52d37e=_0x1d0714[_0x121b91(0x1cf)](_0xeec7ae,_0x49b64c||_0x121b91(0x25c));if(_0x468d4c(_0x52d37e)!=_0x121b91(0x3b2))return _0x52d37e;throw TypeError(_0x121b91(0x30d));}return(_0x49b64c===_0x121b91(0x2e9)?String:Number)(_0xeec7ae);}function _0x318bf0(_0x2d0fef){const _0x328729=_0x3bf781;var _0x257e2c=_0x46ef36(_0x2d0fef,_0x328729(0x2e9));return _0x468d4c(_0x257e2c)==_0x328729(0x164)?_0x257e2c:_0x257e2c+'';}function _0x7373d(_0x422523,_0x1dac6b,_0x4b5784){const _0xe199a8=_0x3bf781;return(_0x1dac6b=_0x318bf0(_0x1dac6b))in _0x422523?Object[_0xe199a8(0x3a9)](_0x422523,_0x1dac6b,{'value':_0x4b5784,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x422523[_0x1dac6b]=_0x4b5784,_0x422523;}let _0x42616a=(0x0,_0x3ffd4d[_0x3bf781(0x43c)])(_0x3bf781(0x2d5));var _0x58d978=class extends _0x3ffd4d[_0x3bf781(0x35f)]{constructor(..._0x1679d1){const _0x58ded1=_0x3bf781;super(..._0x1679d1),_0x7373d(this,_0x58ded1(0x170),new Map());}['register'](_0x4721c6){const _0x4cfa47=_0x3bf781;return this['_plugins'][_0x4cfa47(0x2b9)](_0x4721c6['type'],_0x4721c6),(0x0,_0x3ffd4d[_0x4cfa47(0x1e3)])(()=>this[_0x4cfa47(0x170)]['delete'](_0x4721c6[_0x4cfa47(0x2ec)]));}['get'](_0x1300d2){const _0x580322=_0x3bf781;let _0x2f550a=this[_0x580322(0x170)][_0x580322(0x393)](_0x1300d2);if(!_0x2f550a)throw Error('[BaseFieldRegistryService]:\x20field\x20type\x20\x22'+_0x1300d2+_0x580322(0x490));return _0x2f550a;}[_0x3bf781(0x3d1)](_0x4b7c64){const _0x2234cd=_0x3bf781;return this[_0x2234cd(0x170)][_0x2234cd(0x393)](_0x4b7c64);}[_0x3bf781(0x431)](){const _0x5d5e31=_0x3bf781;return Array['from'](this[_0x5d5e31(0x170)][_0x5d5e31(0x449)]());}};let _0x44b25b=(0x0,_0x3ffd4d[_0x3bf781(0x43c)])(_0x3bf781(0x401));var _0x3a5e6f=class{constructor(){const _0x250516=_0x3bf781;_0x7373d(this,_0x250516(0x23e),new Map()),_0x7373d(this,_0x250516(0x2ef),new Map()),_0x7373d(this,'_fieldPermissions',new Map()),_0x7373d(this,_0x250516(0x436),new Map());}[_0x3bf781(0x21b)](_0x5e1380){const _0x1337ac=_0x3bf781;var _0x238c20,_0x44e5d1;return(_0x238c20=(_0x44e5d1=this[_0x1337ac(0x23e)][_0x1337ac(0x393)](_0x5e1380))==null?void 0x0:_0x44e5d1[_0x1337ac(0x264)])==null||_0x238c20;}[_0x3bf781(0x287)](_0x185962){const _0x37c254=_0x3bf781;var _0x2c23de,_0x41c799;return(_0x2c23de=(_0x41c799=this[_0x37c254(0x2ef)][_0x37c254(0x393)](_0x185962))==null?void 0x0:_0x41c799[_0x37c254(0x1a9)])==null||_0x2c23de;}[_0x3bf781(0x48b)](_0x4f908a){const _0xd8fefe=_0x3bf781;var _0x447da4,_0x133d9f;return(_0x447da4=(_0x133d9f=this[_0xd8fefe(0x2ef)][_0xd8fefe(0x393)](_0x4f908a))==null?void 0x0:_0x133d9f[_0xd8fefe(0x42f)])==null||_0x447da4;}['canEditField'](_0x4c508b,_0xe8383d){const _0x35cf9d=_0x3bf781;var _0x27f6aa,_0x2c7ad7;return(_0x27f6aa=(_0x2c7ad7=this[_0x35cf9d(0x478)]['get'](_0xfc4b52(_0x4c508b,_0xe8383d)))==null?void 0x0:_0x2c7ad7[_0x35cf9d(0x371)])==null||_0x27f6aa;}[_0x3bf781(0x463)](_0x41c19e,_0x1d67f1){const _0x38fefd=_0x3bf781;var _0x15dcc9,_0x92c04e;return(_0x15dcc9=(_0x92c04e=this[_0x38fefd(0x478)][_0x38fefd(0x393)](_0xfc4b52(_0x41c19e,_0x1d67f1)))==null?void 0x0:_0x92c04e['delete'])==null||_0x15dcc9;}[_0x3bf781(0x221)](_0x30b287){const _0x1a4bc7=_0x3bf781;var _0x161bda,_0x5300ff;return(_0x161bda=(_0x5300ff=this[_0x1a4bc7(0x2ef)][_0x1a4bc7(0x393)](_0x30b287))==null?void 0x0:_0x5300ff['createRecord'])==null||_0x161bda;}[_0x3bf781(0x48d)](_0x4728e3,_0x126d52){const _0x1e9016=_0x3bf781;var _0x1f13b7,_0x18dd11;return(_0x1f13b7=(_0x18dd11=this[_0x1e9016(0x436)][_0x1e9016(0x393)](_0x5df9af(_0x4728e3,_0x126d52)))==null?void 0x0:_0x18dd11[_0x1e9016(0x1a9)])==null||_0x1f13b7;}[_0x3bf781(0x213)](_0x3e566c,_0x4b77ed,_0x1d3576){const _0x12a858=_0x3bf781;var _0x71539b,_0x38479e,_0x3d6717,_0x2f5d3f;let _0x57d746=this[_0x12a858(0x478)]['get'](_0xfc4b52(_0x3e566c,_0x1d3576));return((_0x71539b=(_0x38479e=this[_0x12a858(0x436)][_0x12a858(0x393)](_0x5df9af(_0x3e566c,_0x4b77ed)))==null?void 0x0:_0x38479e[_0x12a858(0x226)])==null||_0x71539b)&&((_0x3d6717=_0x57d746==null?void 0x0:_0x57d746[_0x12a858(0x371)])==null||_0x3d6717)&&((_0x2f5d3f=_0x57d746==null?void 0x0:_0x57d746[_0x12a858(0x226)])==null||_0x2f5d3f);}[_0x3bf781(0x178)](_0x3ac2f7){const _0x107ea4=_0x3bf781;var _0xcd59c4,_0x32c6a0;return(_0xcd59c4=(_0x32c6a0=this[_0x107ea4(0x2ef)][_0x107ea4(0x393)](_0x3ac2f7))==null?void 0x0:_0x32c6a0[_0x107ea4(0x3c1)])==null||_0xcd59c4;}['setBasePermission'](_0x39d311,_0x37a38f){const _0x32a519=_0x3bf781;this[_0x32a519(0x23e)][_0x32a519(0x2b9)](_0x39d311,{...this[_0x32a519(0x23e)]['get'](_0x39d311),..._0x37a38f});}[_0x3bf781(0x167)](_0x39717b,_0x301ce9){const _0x5a2b01=_0x3bf781;this[_0x5a2b01(0x2ef)][_0x5a2b01(0x2b9)](_0x39717b,{...this[_0x5a2b01(0x2ef)][_0x5a2b01(0x393)](_0x39717b),..._0x301ce9});}[_0x3bf781(0x304)](_0x219081,_0x1d937c,_0x25ddd8){const _0x46b705=_0x3bf781;let _0x1c44c0=_0xfc4b52(_0x219081,_0x1d937c);this[_0x46b705(0x478)][_0x46b705(0x2b9)](_0x1c44c0,{...this[_0x46b705(0x478)][_0x46b705(0x393)](_0x1c44c0),..._0x25ddd8});}['setRecordPermission'](_0x5e8987,_0x10b40e,_0x3bd71d){const _0x4ec92a=_0x3bf781;let _0x39f507=_0x5df9af(_0x5e8987,_0x10b40e);this[_0x4ec92a(0x436)][_0x4ec92a(0x2b9)](_0x39f507,{...this[_0x4ec92a(0x436)][_0x4ec92a(0x393)](_0x39f507),..._0x3bd71d});}[_0x3bf781(0x1ec)](_0x3b19d2){const _0x3abf2f=_0x3bf781;this[_0x3abf2f(0x23e)][_0x3abf2f(0x1a9)](_0x3b19d2);}[_0x3bf781(0x3d6)](_0x1116b3){const _0x5a32eb=_0x3bf781;this[_0x5a32eb(0x2ef)]['delete'](_0x1116b3);}['clearFieldPermission'](_0x135eb8,_0x25c511){const _0x2ea5ad=_0x3bf781;this[_0x2ea5ad(0x478)][_0x2ea5ad(0x1a9)](_0xfc4b52(_0x135eb8,_0x25c511));}[_0x3bf781(0x416)](_0x23d641,_0xcf6bcc){const _0x470c9d=_0x3bf781;this[_0x470c9d(0x436)][_0x470c9d(0x1a9)](_0x5df9af(_0x23d641,_0xcf6bcc));}[_0x3bf781(0x313)](){const _0xcdf7c9=_0x3bf781;return{'bases':Object[_0xcdf7c9(0x234)](this[_0xcdf7c9(0x23e)]),'tables':Object[_0xcdf7c9(0x234)](this[_0xcdf7c9(0x2ef)]),'fields':Object[_0xcdf7c9(0x234)](this[_0xcdf7c9(0x478)]),'records':Object['fromEntries'](this[_0xcdf7c9(0x436)])};}};function _0xfc4b52(_0x57c1a5,_0x4abfea){return _0x57c1a5+'\x1f'+_0x4abfea;}function _0x5df9af(_0x2b88ca,_0x5bf264){return _0x2b88ca+'\x1f'+_0x5bf264;}function _0x5ba4ba(_0x330ce4,_0x43ad69){return function(_0x2d4b7a,_0x3f4c22){_0x43ad69(_0x2d4b7a,_0x3f4c22,_0x330ce4);};}function _0x3c58c5(_0x21697e,_0x3824aa,_0x1ca3ba,_0x7746a6){const _0x1faebf=_0x3bf781;var _0xddffe3=arguments['length'],_0x1c4dd1=_0xddffe3<0x3?_0x3824aa:_0x7746a6===null?_0x7746a6=Object['getOwnPropertyDescriptor'](_0x3824aa,_0x1ca3ba):_0x7746a6,_0x2f1d80;if(typeof Reflect==_0x1faebf(0x3b2)&&typeof Reflect['decorate']==_0x1faebf(0x1e0))_0x1c4dd1=Reflect['decorate'](_0x21697e,_0x3824aa,_0x1ca3ba,_0x7746a6);else{for(var _0x3cce77=_0x21697e[_0x1faebf(0x2e1)]-0x1;_0x3cce77>=0x0;_0x3cce77--)(_0x2f1d80=_0x21697e[_0x3cce77])&&(_0x1c4dd1=(_0xddffe3<0x3?_0x2f1d80(_0x1c4dd1):_0xddffe3>0x3?_0x2f1d80(_0x3824aa,_0x1ca3ba,_0x1c4dd1):_0x2f1d80(_0x3824aa,_0x1ca3ba))||_0x1c4dd1);}return _0xddffe3>0x3&&_0x1c4dd1&&Object[_0x1faebf(0x3a9)](_0x3824aa,_0x1ca3ba,_0x1c4dd1),_0x1c4dd1;}let _0x48571e=(0x0,_0x3ffd4d['createIdentifier'])(_0x3bf781(0x419)),_0x56bd7d=class{constructor(_0x3bd630,_0x14a0d3=_0x23040f(),_0x4988c7={}){const _0x142af6=_0x3bf781;this[_0x142af6(0x16d)]=_0x3bd630,this[_0x142af6(0x46c)]=_0x14a0d3,this[_0x142af6(0x440)]=_0x4988c7,_0x7373d(this,'_factory',new _0x5e5613()),_0x7373d(this,'_applier',new _0x2d39fe());}[_0x3bf781(0x264)](_0x3127ea,_0x8a470d,_0x1ded51){const _0x516b55=_0x3bf781;if(!this[_0x516b55(0x16d)]['canCreateTable'](_0x3127ea['getUnitId']()))throw Error(_0x516b55(0x378));this['_apply'](_0x3127ea,this[_0x516b55(0x275)][_0x516b55(0x264)](_0x3127ea[_0x516b55(0x313)](),_0x8a470d,_0x1ded51));}['renameTable'](_0xe13ea4,_0x1bb5a7,_0x2a3ffc){const _0x4666f2=_0x3bf781;this[_0x4666f2(0x3b7)](_0xe13ea4,this[_0x4666f2(0x275)][_0x4666f2(0x2c9)](_0xe13ea4['getSnapshot'](),_0x1bb5a7,_0x2a3ffc));}['deleteTable'](_0x4ab20b,_0x3156db){const _0x473179=_0x3bf781;if(!this['_permissionService'][_0x473179(0x287)](_0x3156db))throw Error(_0x473179(0x172));this['_apply'](_0x4ab20b,this[_0x473179(0x275)]['deleteTable'](_0x4ab20b['getSnapshot'](),_0x3156db));}['updateCell'](_0xc00786,_0x2799bf,_0x4b0da0,_0x4fc9b5,_0x168fe6){const _0xb8411e=_0x3bf781;this[_0xb8411e(0x3b7)](_0xc00786,this[_0xb8411e(0x464)](_0xc00786,_0x2799bf,_0x4b0da0,_0x4fc9b5,_0x168fe6));}[_0x3bf781(0x47e)](_0x426c75,_0x1b0dfd,_0xb0650a){this['_apply'](_0x426c75,this['createSetRecordValuesOp'](_0x426c75,_0x1b0dfd,_0xb0650a));}['createRecord'](_0x33f0b1,_0x305ece,_0x2b86e5){const _0x337f9b=_0x3bf781;this[_0x337f9b(0x3b7)](_0x33f0b1,this[_0x337f9b(0x353)](_0x33f0b1,_0x305ece,_0x2b86e5));}[_0x3bf781(0x464)](_0x2a6624,_0x377ed7,_0x2c6d4f,_0x301c32,_0x3085f9){const _0x4e1980=_0x3bf781;let _0x412ecd=_0x2a6624[_0x4e1980(0x313)](),_0x407315=this[_0x4e1980(0x3aa)](_0x412ecd,_0x377ed7,_0x2c6d4f,_0x301c32,_0x3085f9),_0x46d76d=this['_withModifiedSystemValues'](_0x412ecd,_0x377ed7,_0x2c6d4f,{[_0x301c32]:_0x407315});return this[_0x4e1980(0x275)][_0x4e1980(0x47e)](_0x412ecd,_0x377ed7,[_0x46d76d]);}[_0x3bf781(0x17e)](_0x112bf1,_0x29ea67,_0x2bf40c){const _0x1a6689=_0x3bf781;let _0x3a326f=_0x112bf1[_0x1a6689(0x313)](),_0x3da294=_0x2bf40c[_0x1a6689(0x2c0)](_0x4897e3=>this['_withModifiedSystemValues'](_0x3a326f,_0x29ea67,_0x4897e3[_0x1a6689(0x2f3)],{...Object[_0x1a6689(0x234)](Object[_0x1a6689(0x1d1)](_0x4897e3['values'])['map'](([_0x54ef12,_0x75feae])=>[_0x54ef12,this[_0x1a6689(0x3aa)](_0x3a326f,_0x29ea67,_0x4897e3[_0x1a6689(0x2f3)],_0x54ef12,_0x75feae)]))}));return this[_0x1a6689(0x275)][_0x1a6689(0x47e)](_0x3a326f,_0x29ea67,_0x3da294);}[_0x3bf781(0x353)](_0x43df8e,_0x16ef08,_0x46390f){const _0x540fc8=_0x3bf781;if(!this[_0x540fc8(0x16d)][_0x540fc8(0x221)](_0x16ef08))throw Error(_0x540fc8(0x3f2));let _0x121557=_0x43df8e[_0x540fc8(0x313)](),_0x31c383=this['_createNumberingAllocators'](_0x121557[_0x540fc8(0x38a)][_0x16ef08]);return this[_0x540fc8(0x275)][_0x540fc8(0x465)](_0x121557,_0x16ef08,this[_0x540fc8(0x175)](_0x121557,_0x16ef08,_0x46390f,_0x31c383));}[_0x3bf781(0x31d)](_0x478482,_0x158145,_0xb10454){const _0x411f2a=_0x3bf781;if(!this[_0x411f2a(0x16d)][_0x411f2a(0x221)](_0x158145))throw Error(_0x411f2a(0x3f2));let _0x4d5b3e=_0x478482[_0x411f2a(0x313)]();return _0xaf0146(_0x411f2a(0x28c),()=>{const _0xa55394=_0x411f2a;let _0x3be73b=this['_createNumberingAllocators'](_0x4d5b3e[_0xa55394(0x38a)][_0x158145]);return this[_0xa55394(0x275)][_0xa55394(0x31e)](_0x4d5b3e,_0x158145,_0xb10454[_0xa55394(0x2c0)](_0x4d2407=>this[_0xa55394(0x175)](_0x4d5b3e,_0x158145,_0x4d2407,_0x3be73b)));},{'existingRecords':Object[_0x411f2a(0x3f8)](_0x4d5b3e[_0x411f2a(0x38a)][_0x158145][_0x411f2a(0x25f)])['length'],'records':_0xb10454[_0x411f2a(0x2e1)]});}[_0x3bf781(0x2e2)](_0x598b35,_0x1918d7,_0xb43d91,_0x1cd78e,_0xb4f56b){const _0x46a81b=_0x3bf781;if(!this[_0x46a81b(0x16d)]['canCreateField'](_0x1918d7))throw Error(_0x46a81b(0x2d6));let _0x2e5c85=_0x598b35['getSnapshot'](),_0x2f7a89=this[_0x46a81b(0x275)][_0x46a81b(0x42f)](_0x2e5c85,_0x1918d7,{'field':_0xb43d91,'index':_0x1cd78e,'viewIndexes':_0xb4f56b}),_0x31e6de=this['_createSystemFieldValuePatches'](_0x2e5c85,_0x1918d7,_0xb43d91);if(!_0x31e6de[_0x46a81b(0x2e1)])return _0x2f7a89;let _0x406964=this['_applier'][_0x46a81b(0x3dc)](_0x2e5c85,_0x2f7a89);return _0x6bf7b1([_0x2f7a89,this[_0x46a81b(0x275)][_0x46a81b(0x47e)](_0x406964,_0x1918d7,_0x31e6de)]);}[_0x3bf781(0x2ea)](_0x52c902,_0x281784,_0x15071d){const _0x5b87d8=_0x3bf781;if(!this['_permissionService'][_0x5b87d8(0x48d)](_0x281784,_0x15071d))throw Error(_0x5b87d8(0x3b6));this[_0x5b87d8(0x3b7)](_0x52c902,this['_factory']['deleteRecord'](_0x52c902[_0x5b87d8(0x313)](),_0x281784,_0x15071d));}[_0x3bf781(0x317)](_0x5ba8a7,_0x313e33,_0x4591cf,_0x31ab7a){const _0x251495=_0x3bf781;this[_0x251495(0x3b7)](_0x5ba8a7,this[_0x251495(0x275)][_0x251495(0x317)](_0x5ba8a7[_0x251495(0x313)](),_0x313e33,_0x4591cf,_0x31ab7a));}[_0x3bf781(0x25e)](_0x479b19,_0x3e6cb2,_0x2bd2d4,_0x49223e){const _0x46269e=_0x3bf781;this['_apply'](_0x479b19,this[_0x46269e(0x275)][_0x46269e(0x25e)](_0x479b19[_0x46269e(0x313)](),_0x3e6cb2,_0x2bd2d4,_0x49223e));}[_0x3bf781(0x42f)](_0x21fdb0,_0x52a100,_0x48d01e,_0x2e8df4,_0x3531b5){const _0x12ed39=_0x3bf781;this[_0x12ed39(0x3b7)](_0x21fdb0,this[_0x12ed39(0x2e2)](_0x21fdb0,_0x52a100,_0x48d01e,_0x2e8df4,_0x3531b5));}[_0x3bf781(0x183)](_0xf9766d,_0x1f2c27,_0x49188b,_0x4f6997){const _0x1ea770=_0x3bf781;if(!this['_permissionService']['canEditField'](_0x1f2c27,_0x49188b))throw Error(_0x1ea770(0x399));this['_apply'](_0xf9766d,this['_factory'][_0x1ea770(0x183)](_0xf9766d['getSnapshot'](),_0x1f2c27,_0x49188b,_0x4f6997));}[_0x3bf781(0x2f0)](_0x5aa5b0,_0x38c199,_0xdade30,_0xe7e663){const _0x201cf3=_0x3bf781;if(!this[_0x201cf3(0x16d)][_0x201cf3(0x203)](_0x38c199,_0xdade30))throw Error('[BaseCommandService]:\x20cannot\x20edit\x20field.');this[_0x201cf3(0x3b7)](_0x5aa5b0,this['_factory'][_0x201cf3(0x2f0)](_0x5aa5b0[_0x201cf3(0x313)](),_0x38c199,_0xdade30,_0xe7e663));}[_0x3bf781(0x1b1)](_0x26ab11,_0x7e2d9d,_0x71da4d){const _0x508508=_0x3bf781;var _0x337055;if(((_0x337055=_0x26ab11[_0x508508(0x313)]()[_0x508508(0x38a)][_0x7e2d9d])==null?void 0x0:_0x337055[_0x508508(0x3e1)])===_0x71da4d)throw Error(_0x508508(0x408));if(!this[_0x508508(0x16d)]['canDeleteField'](_0x7e2d9d,_0x71da4d))throw Error(_0x508508(0x471));this[_0x508508(0x3b7)](_0x26ab11,this['_factory']['deleteField'](_0x26ab11['getSnapshot'](),_0x7e2d9d,_0x71da4d));}[_0x3bf781(0x443)](_0x174a9a,_0x8f855c,_0x22a6f7,_0x5e0797){const _0x3e127e=_0x3bf781;if(!this[_0x3e127e(0x16d)]['canEditField'](_0x8f855c,_0x22a6f7))throw Error(_0x3e127e(0x399));this[_0x3e127e(0x3b7)](_0x174a9a,this[_0x3e127e(0x275)][_0x3e127e(0x443)](_0x174a9a['getSnapshot'](),_0x8f855c,_0x22a6f7,_0x5e0797));}[_0x3bf781(0x1ab)](_0xd7a3de,_0x3b58b4,_0x31b60b,_0x45b057){const _0x239031=_0x3bf781;this[_0x239031(0x3b7)](_0xd7a3de,this[_0x239031(0x275)][_0x239031(0x1ab)](_0xd7a3de['getSnapshot'](),_0x3b58b4,_0x31b60b,_0x45b057));}['renameView'](_0x60f5f2,_0x1af054,_0x5aaff8,_0x77704d){const _0x8ce323=_0x3bf781;if(!this['_permissionService']['canManageView'](_0x1af054,_0x5aaff8))throw Error(_0x8ce323(0x257));this[_0x8ce323(0x3b7)](_0x60f5f2,this[_0x8ce323(0x275)][_0x8ce323(0x389)](_0x60f5f2[_0x8ce323(0x313)](),_0x1af054,_0x5aaff8,_0x77704d));}[_0x3bf781(0x391)](_0x77f900,_0xba0b02,_0x5d9d45){const _0x5d2f05=_0x3bf781;if(!this['_permissionService'][_0x5d2f05(0x178)](_0xba0b02,_0x5d9d45))throw Error(_0x5d2f05(0x257));this['_apply'](_0x77f900,this[_0x5d2f05(0x275)][_0x5d2f05(0x391)](_0x77f900['getSnapshot'](),_0xba0b02,_0x5d9d45));}['moveView'](_0x1bfcb6,_0x275c80,_0x1053d8,_0x4b4f75){const _0x2d5b08=_0x3bf781;if(!this[_0x2d5b08(0x16d)][_0x2d5b08(0x178)](_0x275c80,_0x1053d8))throw Error(_0x2d5b08(0x257));this['_apply'](_0x1bfcb6,this[_0x2d5b08(0x275)][_0x2d5b08(0x30c)](_0x1bfcb6['getSnapshot'](),_0x275c80,_0x1053d8,_0x4b4f75));}[_0x3bf781(0x3bb)](_0x28e24a,_0x587de5,_0x283981,_0x3a7a4c){const _0x4bebff=_0x3bf781;if(!this[_0x4bebff(0x16d)][_0x4bebff(0x178)](_0x587de5,_0x283981))throw Error('[BaseCommandService]:\x20cannot\x20manage\x20view.');this[_0x4bebff(0x3b7)](_0x28e24a,this[_0x4bebff(0x275)][_0x4bebff(0x3bb)](_0x28e24a[_0x4bebff(0x313)](),_0x587de5,_0x283981,_0x3a7a4c));}[_0x3bf781(0x339)](_0x268693,_0x165b48,_0x3c3c36,_0x3ce2c8){const _0x550810=_0x3bf781;this[_0x550810(0x3b7)](_0x268693,this[_0x550810(0x275)]['setViewFilter'](_0x268693['getSnapshot'](),_0x165b48,_0x3c3c36,_0x3ce2c8));}['setViewSort'](_0x831660,_0x14e57f,_0x5aeabc,_0x3943db){const _0xb130f9=_0x3bf781;this['_apply'](_0x831660,this[_0xb130f9(0x275)][_0xb130f9(0x450)](_0x831660[_0xb130f9(0x313)](),_0x14e57f,_0x5aeabc,_0x3943db));}[_0x3bf781(0x274)](_0x58a185,_0x19f166,_0x469d21,_0x360e2f){const _0x3e277c=_0x3bf781;this[_0x3e277c(0x3b7)](_0x58a185,this[_0x3e277c(0x275)][_0x3e277c(0x274)](_0x58a185[_0x3e277c(0x313)](),_0x19f166,_0x469d21,_0x360e2f));}[_0x3bf781(0x26e)](_0x347cd4,_0x2f49e8,_0x2cc0f1,_0x4b03c1,_0x394a18){const _0x42672b=_0x3bf781;if(!this[_0x42672b(0x16d)][_0x42672b(0x178)](_0x2f49e8,_0x2cc0f1))throw Error(_0x42672b(0x257));this[_0x42672b(0x3b7)](_0x347cd4,this[_0x42672b(0x275)][_0x42672b(0x26e)](_0x347cd4[_0x42672b(0x313)](),_0x2f49e8,_0x2cc0f1,_0x4b03c1,_0x394a18));}[_0x3bf781(0x459)](_0x38a135,_0x23a3bc,_0x2d4a7f,_0x2c27f0,_0x4b0e27){const _0xa5799c=_0x3bf781;this[_0xa5799c(0x3b7)](_0x38a135,this['_factory'][_0xa5799c(0x459)](_0x38a135[_0xa5799c(0x313)](),_0x23a3bc,_0x2d4a7f,_0x2c27f0,_0x4b0e27));}[_0x3bf781(0x2d3)](_0x1e8fae,_0xa8efa3,_0x1216c4,_0x20bc5b,_0x682079){const _0x2d1051=_0x3bf781;this[_0x2d1051(0x3b7)](_0x1e8fae,this[_0x2d1051(0x275)][_0x2d1051(0x2d3)](_0x1e8fae[_0x2d1051(0x313)](),_0xa8efa3,_0x1216c4,_0x20bc5b,_0x682079));}['_apply'](_0x475f8e,_0x573f04){const _0x2a24e1=_0x3bf781;let _0x52df76=_0x475f8e[_0x2a24e1(0x313)]();_0x475f8e['setSnapshot'](this[_0x2a24e1(0x244)]['applyOp'](_0x52df76,_0x573f04));}[_0x3bf781(0x175)](_0x485a0f,_0x286e59,_0x16be30,_0x1e87d3=this['_createNumberingAllocators'](_0x485a0f[_0x3bf781(0x38a)][_0x286e59])){const _0x594103=_0x3bf781;var _0x39cf1f,_0x547a23,_0x118370,_0x5e234e;let _0xd33df3=_0x485a0f['tables'][_0x286e59],_0x5d7064=(_0x39cf1f=(_0x547a23=_0x16be30[_0x594103(0x3e5)])==null?_0x16be30[_0x594103(0x1ce)]:_0x547a23)==null?this[_0x594103(0x39c)]():_0x39cf1f,_0xbd72ab={..._0x16be30,'createdBy':(_0x118370=_0x16be30[_0x594103(0x3e5)])==null?_0x5d7064:_0x118370,'updatedBy':(_0x5e234e=_0x16be30['updatedBy'])==null?_0x5d7064:_0x5e234e,'values':{..._0x16be30[_0x594103(0x449)]}};return _0xd33df3[_0x594103(0x2a8)]['forEach'](_0x16b5e6=>{const _0x41ba06=_0x594103;let _0xe455f0=_0xd33df3[_0x41ba06(0x3b1)][_0x16b5e6];if(!(!_0xe455f0||_0xbd72ab['values'][_0x16b5e6]!==void 0x0))switch(_0xe455f0[_0x41ba06(0x2ec)]){case _0x3ffd4d[_0x41ba06(0x376)][_0x41ba06(0x485)]:var _0x491a48,_0x1fbf07;_0xbd72ab[_0x41ba06(0x449)][_0x16b5e6]=(_0x491a48=(_0x1fbf07=_0x1e87d3['get'](_0x16b5e6))==null?void 0x0:_0x1fbf07())==null?this[_0x41ba06(0x308)](_0xd33df3,_0x16b5e6)():_0x491a48;break;case _0x3ffd4d[_0x41ba06(0x376)][_0x41ba06(0x329)]:_0xbd72ab[_0x41ba06(0x3e5)]&&(_0xbd72ab['values'][_0x16b5e6]=_0xbd72ab[_0x41ba06(0x3e5)]);break;case _0x3ffd4d[_0x41ba06(0x376)][_0x41ba06(0x1c7)]:_0xbd72ab[_0x41ba06(0x1ce)]&&(_0xbd72ab[_0x41ba06(0x449)][_0x16b5e6]=_0xbd72ab[_0x41ba06(0x1ce)]);break;case _0x3ffd4d['BaseFieldType'][_0x41ba06(0x3a0)]:_0xbd72ab[_0x41ba06(0x449)][_0x16b5e6]=_0x26a206(_0xbd72ab[_0x41ba06(0x360)]);break;case _0x3ffd4d['BaseFieldType'][_0x41ba06(0x19e)]:_0xbd72ab[_0x41ba06(0x449)][_0x16b5e6]=_0x26a206(_0xbd72ab[_0x41ba06(0x362)]);break;default:{let _0x416475=_0xe455f0[_0x41ba06(0x40d)];_0x416475!=null&&_0x416475!==''&&!(Array[_0x41ba06(0x30b)](_0x416475)&&_0x416475[_0x41ba06(0x2e1)]===0x0)&&(_0xbd72ab[_0x41ba06(0x449)][_0x16b5e6]=_0x416475);}}}),_0xbd72ab;}[_0x3bf781(0x3c7)](_0x20084e,_0x3eb285,_0x56c7b2,_0x138d67){const _0x4db940=_0x3bf781;var _0x53394e,_0x2254a5,_0x201ab3;let _0x28d25d=_0x20084e['tables'][_0x3eb285],_0x35da58=(_0x53394e=(_0x2254a5=(_0x201ab3=this['_runtimeContext'])[_0x4db940(0x18a)])==null?void 0x0:_0x2254a5[_0x4db940(0x1cf)](_0x201ab3))==null?Date[_0x4db940(0x18a)]():_0x53394e,_0x14d206=this['_getCurrentUserId'](),_0x5484b2={..._0x138d67};return _0x28d25d[_0x4db940(0x2a8)]['forEach'](_0x4d1ddc=>{const _0x47451f=_0x4db940;let _0x4fbb51=_0x28d25d['fields'][_0x4d1ddc];_0x4fbb51&&(_0x4fbb51[_0x47451f(0x2ec)]===_0x3ffd4d[_0x47451f(0x376)][_0x47451f(0x19e)]&&(_0x5484b2[_0x4d1ddc]=_0x26a206(_0x35da58)),_0x4fbb51['type']===_0x3ffd4d[_0x47451f(0x376)][_0x47451f(0x1c7)]&&_0x14d206&&(_0x5484b2[_0x4d1ddc]=_0x14d206));}),{'recordId':_0x56c7b2,'values':_0x5484b2,'recordPatch':{'updatedAt':_0x35da58,..._0x14d206?{'updatedBy':_0x14d206}:{}}};}[_0x3bf781(0x33a)](_0x1e4359,_0x51bcd1,_0x943365){const _0x3dacee=_0x3bf781;let _0x1de3aa=_0x1e4359[_0x3dacee(0x38a)][_0x51bcd1];return!_0x1de3aa||!_0x1f0a6d(_0x943365)?[]:_0x943365['type']===_0x3ffd4d[_0x3dacee(0x376)]['Numbering']?this[_0x3dacee(0x249)](_0x1de3aa,_0x943365['id']):Object[_0x3dacee(0x449)](_0x1de3aa[_0x3dacee(0x25f)])[_0x3dacee(0x1db)](_0x114860=>{const _0x424235=_0x3dacee;let _0x56d06e=this[_0x424235(0x202)](_0x943365,_0x114860);return _0x56d06e===void 0x0?[]:[{'recordId':_0x114860['id'],'values':{[_0x943365['id']]:_0x56d06e}}];});}['_getSystemFieldValue'](_0x37a8de,_0xa3fca1){const _0x1823ef=_0x3bf781;switch(_0x37a8de['type']){case _0x3ffd4d['BaseFieldType']['CreatedBy']:var _0x5152dd;return(_0x5152dd=_0xa3fca1[_0x1823ef(0x3e5)])==null?this[_0x1823ef(0x39c)]():_0x5152dd;case _0x3ffd4d[_0x1823ef(0x376)][_0x1823ef(0x1c7)]:var _0x5885cc;return(_0x5885cc=_0xa3fca1[_0x1823ef(0x1ce)])==null?this['_getCurrentUserId']():_0x5885cc;case _0x3ffd4d[_0x1823ef(0x376)][_0x1823ef(0x3a0)]:var _0x5598cf;return _0x26a206((_0x5598cf=_0xa3fca1[_0x1823ef(0x360)])==null?Date[_0x1823ef(0x18a)]():_0x5598cf);case _0x3ffd4d[_0x1823ef(0x376)]['UpdatedAt']:var _0x1c3a0d;return _0x26a206((_0x1c3a0d=_0xa3fca1['updatedAt'])==null?Date[_0x1823ef(0x18a)]():_0x1c3a0d);default:return;}}[_0x3bf781(0x324)](_0x544cc2){const _0x3e75bb=_0x3bf781;let _0x22d66c=new Map();return _0x544cc2&&_0x544cc2[_0x3e75bb(0x2a8)][_0x3e75bb(0x43f)](_0x4c458c=>{const _0x27b40d=_0x3e75bb;let _0x30cdac=_0x544cc2[_0x27b40d(0x3b1)][_0x4c458c];(_0x30cdac==null?void 0x0:_0x30cdac[_0x27b40d(0x2ec)])===_0x3ffd4d['BaseFieldType'][_0x27b40d(0x485)]&&_0x22d66c[_0x27b40d(0x2b9)](_0x4c458c,this[_0x27b40d(0x308)](_0x544cc2,_0x4c458c));}),_0x22d66c;}[_0x3bf781(0x308)](_0x1182e6,_0x102b0d){const _0x434278=_0x3bf781;let _0x42fa62=Object['values'](_0x1182e6[_0x434278(0x25f)])[_0x434278(0x409)]((_0x47e651,_0x6968f)=>{const _0x30e5e4=_0x434278;let _0x15c604=Number(_0x6968f[_0x30e5e4(0x449)][_0x102b0d]);return Number[_0x30e5e4(0x272)](_0x15c604)?Math[_0x30e5e4(0x41e)](_0x47e651,_0x15c604):_0x47e651;},0x0);return()=>String(++_0x42fa62);}[_0x3bf781(0x249)](_0x527cd7,_0x13bb16){const _0xec0cfc=_0x3bf781;let _0x3aecef=this[_0xec0cfc(0x3b3)](_0x527cd7),_0x132751=this['_createNumberingAllocator'](_0x527cd7,_0x13bb16);return _0x3aecef['flatMap'](_0x197eb8=>this[_0xec0cfc(0x20d)](_0x197eb8[_0xec0cfc(0x449)][_0x13bb16])?[]:[{'recordId':_0x197eb8['id'],'values':{[_0x13bb16]:_0x132751()}}]);}[_0x3bf781(0x3b3)](_0xbc1b7e){const _0x326f1d=_0x3bf781;var _0x393f97;let _0x1ceb05=Object['values'](_0xbc1b7e['records']),_0x43bb07=new Map(_0x1ceb05[_0x326f1d(0x2c0)](_0x2919da=>[_0x2919da['id'],_0x2919da])),_0x5bd5f8=[],_0x54f9ce=new Set();(_0x393f97=_0xbc1b7e['recordOrder'])==null||_0x393f97[_0x326f1d(0x43f)](_0x4cf57a=>{const _0x35ddfe=_0x326f1d;let _0x12e784=_0x43bb07['get'](_0x4cf57a);_0x12e784&&(_0x5bd5f8[_0x35ddfe(0x2af)](_0x12e784),_0x54f9ce['add'](_0x4cf57a));});let _0x26d539=_0x1ceb05[_0x326f1d(0x3e7)](_0x593407=>!_0x54f9ce[_0x326f1d(0x22a)](_0x593407['id']))[_0x326f1d(0x1ef)]((_0x2fae6c,_0x587eb7)=>{const _0x3ced79=_0x326f1d;var _0x44ba4d,_0x2a3fa9;return String((_0x44ba4d=_0x2fae6c['orderKey'])==null?_0x2fae6c['id']:_0x44ba4d)[_0x3ced79(0x3ce)](String((_0x2a3fa9=_0x587eb7['orderKey'])==null?_0x587eb7['id']:_0x2a3fa9))||_0x2fae6c['id'][_0x3ced79(0x3ce)](_0x587eb7['id']);});return[..._0x5bd5f8,..._0x26d539];}[_0x3bf781(0x20d)](_0x2153ca){const _0x203fee=_0x3bf781;return _0x2153ca!=null&&_0x2153ca!==''&&!(Array[_0x203fee(0x30b)](_0x2153ca)&&_0x2153ca[_0x203fee(0x2e1)]===0x0);}[_0x3bf781(0x39c)](){const _0x4e6cb3=_0x3bf781;var _0xf5842e,_0x1a91da,_0x5c7fb3,_0x3415b3,_0x142bfa,_0x39a8c1;return(_0xf5842e=(_0x1a91da=(_0x5c7fb3=(_0x3415b3=this[_0x4e6cb3(0x440)])[_0x4e6cb3(0x211)])==null?void 0x0:_0x5c7fb3['call'](_0x3415b3))==null?(_0x142bfa=(_0x39a8c1=this['_runtimeContext'])[_0x4e6cb3(0x2ab)])==null||(_0x142bfa=_0x142bfa['call'](_0x39a8c1))==null?void 0x0:_0x142bfa['userID']:_0x1a91da)==null?void 0x0:_0xf5842e;}['_normalizeCellValue'](_0x19446f,_0x5563a8,_0x1b18f9,_0x33a076,_0x512fd4){const _0x4be4e7=_0x3bf781;var _0x1b9163;if(!this[_0x4be4e7(0x16d)][_0x4be4e7(0x213)](_0x5563a8,_0x1b18f9,_0x33a076))throw Error(_0x4be4e7(0x2bc));let _0x11ac29=(_0x1b9163=_0x19446f[_0x4be4e7(0x38a)][_0x5563a8])==null?void 0x0:_0x1b9163[_0x4be4e7(0x3b1)][_0x33a076];if(!_0x11ac29)throw Error(_0x4be4e7(0x482)+_0x33a076+_0x4be4e7(0x210));let _0x17c413=this['_fieldRegistry'][_0x4be4e7(0x393)](_0x11ac29[_0x4be4e7(0x2ec)]);if(_0x11ac29[_0x4be4e7(0x322)]||_0x11ac29[_0x4be4e7(0x230)]||!_0x17c413['getCapabilities'](_0x11ac29)[_0x4be4e7(0x21d)])throw Error(_0x4be4e7(0x214));let _0x10f1d0=_0x17c413[_0x4be4e7(0x364)](_0x512fd4,_0x11ac29),_0x5cd90b=_0x17c413['validate'](_0x10f1d0,_0x11ac29);if(!_0x5cd90b[_0x4be4e7(0x3fc)]){var _0x298fb6;throw Error((_0x298fb6=_0x5cd90b[_0x4be4e7(0x29e)])==null?'[BaseCommandService]:\x20invalid\x20cell\x20value.':_0x298fb6);}return _0x10f1d0;}};_0x56bd7d=_0x3c58c5([_0x5ba4ba(0x0,_0x44b25b),_0x5ba4ba(0x1,_0x42616a)],_0x56bd7d);function _0x23040f(){const _0x38d9c1=_0x3bf781;let _0x4b4099=new _0x58d978();return _0x557b25()[_0x38d9c1(0x43f)](_0x1cfd00=>_0x4b4099[_0x38d9c1(0x342)](_0x1cfd00)),_0x4b4099;}function _0x1f0a6d(_0x4b84a7){const _0x1a952a=_0x3bf781;return _0x4b84a7['type']===_0x3ffd4d[_0x1a952a(0x376)]['Numbering']||_0x4b84a7['type']===_0x3ffd4d[_0x1a952a(0x376)]['CreatedBy']||_0x4b84a7[_0x1a952a(0x2ec)]===_0x3ffd4d[_0x1a952a(0x376)][_0x1a952a(0x1c7)]||_0x4b84a7['type']===_0x3ffd4d[_0x1a952a(0x376)][_0x1a952a(0x3a0)]||_0x4b84a7['type']===_0x3ffd4d[_0x1a952a(0x376)][_0x1a952a(0x19e)];}let _0x30352c=new Set([_0x3ffd4d[_0x3bf781(0x376)]['Progress'],_0x3ffd4d['BaseFieldType']['Rating'],_0x3ffd4d[_0x3bf781(0x376)]['Checkbox']]);function _0xc2f214(_0x36f8da){const _0x423bba=_0x3bf781;var _0x4f2e4d,_0x281bed;let _0x34b855=_0x36f8da['fields'][_0x36f8da[_0x423bba(0x3e1)]];return!(_0x34b855&&(_0x34b855[_0x423bba(0x230)]===!0x0||_0x34b855['id'][_0x423bba(0x2d1)]()==='id'||_0x34b855['name'][_0x423bba(0x187)]()['toLowerCase']()==='id'))&&_0x34b855?_0x34b855['id']:(_0x4f2e4d=(_0x281bed=_0x36f8da[_0x423bba(0x2a8)]['map'](_0x7bb035=>_0x36f8da[_0x423bba(0x3b1)][_0x7bb035])[_0x423bba(0x367)](_0x49fc88=>_0x49fc88&&_0x49fc88['id']!==_0x36f8da['primaryFieldId']))==null?void 0x0:_0x281bed['id'])==null?_0x36f8da['primaryFieldId']:_0x4f2e4d;}function _0x57aeaf(_0x28aca4,_0x442ba5=[],_0x542962=0x5){const _0x4e7a86=_0x3bf781;let _0x951f22=new Set(_0x442ba5['filter'](_0x2f4d9c=>!!_0x2f4d9c)),_0x46d7c3=_0x28aca4[_0x4e7a86(0x2a8)][_0x4e7a86(0x1db)](_0xcf03f6=>{const _0x17cba4=_0x4e7a86;let _0x6290c5=_0x28aca4[_0x17cba4(0x3b1)][_0xcf03f6];return _0x6290c5&&!_0x951f22[_0x17cba4(0x22a)](_0x6290c5['id'])?[_0x6290c5]:[];}),_0x50e8dd=_0x46d7c3['filter'](_0x266f99=>_0x30352c['has'](_0x266f99[_0x4e7a86(0x2ec)])),_0x533518=_0x46d7c3[_0x4e7a86(0x3e7)](_0x1f5025=>!_0x30352c[_0x4e7a86(0x22a)](_0x1f5025[_0x4e7a86(0x2ec)]));return[..._0x50e8dd,..._0x533518]['slice'](0x0,_0x542962)[_0x4e7a86(0x2c0)](_0x3c5f86=>_0x3c5f86['id']);}function _0x4829a9(){const _0xab29a8=_0x3bf781;return[{'type':_0x3ffd4d[_0xab29a8(0x484)][_0xab29a8(0x1c6)],'i18nKey':_0xab29a8(0x1f7),'createDefaultConfig':()=>({}),'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{throw Error('Grid\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.');}},{'type':_0x3ffd4d[_0xab29a8(0x484)][_0xab29a8(0x3c5)],'i18nKey':_0xab29a8(0x1b2),'createDefaultConfig':_0x2adcb3=>{const _0xb1309d=_0xab29a8;let _0x2b5ec7=_0x3f8b69(_0x2adcb3);return{'groupFieldId':_0x2b5ec7,'coverFieldId':null,'cardLayout':_0xb1309d(0x33e),'showFieldNames':!0x0,'fieldSettings':{},'columnSettings':{},'card':{'titleFieldId':_0x2adcb3[_0xb1309d(0x3e1)],'fieldIds':_0x57aeaf(_0x2adcb3,[_0x2adcb3[_0xb1309d(0x3e1)],_0x2b5ec7])}};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x9e13b8=_0xab29a8;throw Error(_0x9e13b8(0x2b0));}},{'type':_0x3ffd4d[_0xab29a8(0x484)][_0xab29a8(0x4a1)],'i18nKey':'base.viewType.calendar','createDefaultConfig':_0xb36cdc=>{const _0x54cbe5=_0xab29a8;let _0x33d82d=_0x33d039(_0xb36cdc);return{'startDateFieldId':_0x33d82d,'endDateFieldId':_0x47c3eb(_0xb36cdc,_0x33d82d),'titleFieldId':_0xb36cdc['primaryFieldId'],'mode':_0x54cbe5(0x460),'timeslotSize':_0x54cbe5(0x41d),'timeZone':_0x54cbe5(0x3f6),'displayColor':{'type':'custom','color':_0x54cbe5(0x223)},'fieldSettings':{}};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x6627f1=_0xab29a8;throw Error(_0x6627f1(0x290));}},{'type':_0x3ffd4d[_0xab29a8(0x484)][_0xab29a8(0x3a2)],'i18nKey':_0xab29a8(0x319),'createDefaultConfig':_0x22358e=>{const _0xb7b7fb=_0xab29a8;var _0xf720c;let _0x457a12=_0x33d039(_0x22358e);return{'startDateFieldId':_0x457a12,'endDateFieldId':(_0xf720c=_0x47c3eb(_0x22358e,_0x457a12))==null?_0x457a12:_0xf720c,'titleFieldId':_0x22358e[_0xb7b7fb(0x3e1)],'scale':_0xb7b7fb(0x460),'showTodayLine':!0x0,'displayColor':{'type':_0xb7b7fb(0x1d5),'color':_0xb7b7fb(0x289)},'fieldSettings':{},'workingDaysOnly':!0x1};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{throw Error('Gantt\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.');}},{'type':_0x3ffd4d[_0xab29a8(0x484)][_0xab29a8(0x387)],'i18nKey':'base.viewType.gallery','createDefaultConfig':_0x50a96f=>{const _0x11d5f8=_0xab29a8;let _0x2128e5=_0xc2f214(_0x50a96f);return{'coverFieldId':null,'cardLayout':_0x11d5f8(0x33e),'showFieldNames':!0x0,'fieldSettings':{},'card':{'titleFieldId':_0x2128e5,'coverFieldId':null,'fieldIds':_0x57aeaf(_0x50a96f,[_0x2128e5,_0x50a96f[_0x11d5f8(0x3e1)]])},'cardSize':'medium'};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x41598e=_0xab29a8;throw Error(_0x41598e(0x2da));}}];}function _0x3f8b69(_0x32e2f5){const _0x748840=_0x3bf781;var _0x43d441,_0x48b60f,_0x545f1b,_0x29e58f,_0x49b802,_0x530525;let _0x231bc2=_0x32e2f5[_0x748840(0x2a8)]['map'](_0x5d136=>_0x32e2f5['fields'][_0x5d136])[_0x748840(0x3e7)](_0xc06ac6=>!!_0xc06ac6);return(_0x43d441=(_0x48b60f=(_0x545f1b=(_0x29e58f=_0x231bc2[_0x748840(0x367)](_0x4e7a5b=>_0x4e7a5b[_0x748840(0x2ec)]===_0x3ffd4d[_0x748840(0x376)][_0x748840(0x44f)]||_0x4e7a5b[_0x748840(0x2ec)]===_0x3ffd4d['BaseFieldType']['MultiSelect']||_0x4e7a5b['type']===_0x3ffd4d['BaseFieldType'][_0x748840(0x34d)]))==null?void 0x0:_0x29e58f['id'])==null?(_0x49b802=_0x231bc2[_0x748840(0x367)](_0x2de745=>_0x2de745[_0x748840(0x2ec)]===_0x3ffd4d[_0x748840(0x376)][_0x748840(0x2f4)]))==null?void 0x0:_0x49b802['id']:_0x545f1b)==null?(_0x530525=_0x231bc2['find'](_0x248a5f=>_0x248a5f[_0x748840(0x2ec)]===_0x3ffd4d[_0x748840(0x376)]['Date']||_0x248a5f[_0x748840(0x2ec)]===_0x3ffd4d[_0x748840(0x376)][_0x748840(0x3a0)]||_0x248a5f[_0x748840(0x2ec)]===_0x3ffd4d[_0x748840(0x376)][_0x748840(0x19e)]))==null?void 0x0:_0x530525['id']:_0x48b60f)==null?_0x32e2f5[_0x748840(0x3e1)]:_0x43d441;}function _0x33d039(_0x23bb18){const _0xf7955b=_0x3bf781;var _0x1250d1,_0x22440a;return(_0x1250d1=(_0x22440a=_0x23bb18[_0xf7955b(0x2a8)][_0xf7955b(0x2c0)](_0x7211e4=>_0x23bb18[_0xf7955b(0x3b1)][_0x7211e4])[_0xf7955b(0x367)](_0x4626c3))==null?void 0x0:_0x22440a['id'])==null?'':_0x1250d1;}function _0x47c3eb(_0x1e8e53,_0x91b94b){const _0x3cc240=_0x3bf781;var _0x4004a6;return(_0x4004a6=_0x1e8e53[_0x3cc240(0x2a8)][_0x3cc240(0x2c0)](_0x298359=>_0x1e8e53[_0x3cc240(0x3b1)][_0x298359])[_0x3cc240(0x367)](_0x1cf54a=>_0x4626c3(_0x1cf54a)&&_0x1cf54a['id']!==_0x91b94b))==null?void 0x0:_0x4004a6['id'];}function _0x4626c3(_0x2b2998){const _0x4a8409=_0x3bf781;return!!_0x2b2998&&_0x2b2998['type']===_0x3ffd4d[_0x4a8409(0x376)][_0x4a8409(0x2a4)]&&_0x2b2998['readonly']!==!0x0&&_0x2b2998[_0x4a8409(0x230)]!==!0x0;}let _0x545217=(0x0,_0x3ffd4d[_0x3bf781(0x43c)])(_0x3bf781(0x251)),_0x1ab3c2=new Set([_0x3ffd4d[_0x3bf781(0x376)]['Number'],_0x3ffd4d[_0x3bf781(0x376)][_0x3bf781(0x407)],_0x3ffd4d[_0x3bf781(0x376)][_0x3bf781(0x228)],_0x3ffd4d[_0x3bf781(0x376)]['Rating'],_0x3ffd4d[_0x3bf781(0x376)][_0x3bf781(0x2a4)],_0x3ffd4d['BaseFieldType'][_0x3bf781(0x3a0)],_0x3ffd4d[_0x3bf781(0x376)][_0x3bf781(0x19e)],_0x3ffd4d[_0x3bf781(0x376)][_0x3bf781(0x2b1)]]),_0x2c1f12=class extends _0x3ffd4d[_0x3bf781(0x35f)]{constructor(_0x4a16d3){const _0x2fe981=_0x3bf781;super(),this[_0x2fe981(0x46c)]=_0x4a16d3,_0x7373d(this,_0x2fe981(0x2d4),new Map()),_0x7373d(this,_0x2fe981(0x2f6),new WeakMap()),_0x7373d(this,'_projectedRowsCache',new Map()),_0x7373d(this,_0x2fe981(0x346),new Map()),_0x7373d(this,'_projectedGroupsCache',new Map()),_0x7373d(this,_0x2fe981(0x2f5),0x0),_0x7373d(this,'_tableRevisions',new Map()),_0x7373d(this,_0x2fe981(0x435),new Map()),_0x7373d(this,_0x2fe981(0x402),new Map()),_0x7373d(this,_0x2fe981(0x28e),new Map());}[_0x3bf781(0x44a)](_0x11e994){const _0x5dcb65=_0x3bf781;return this['_views'][_0x5dcb65(0x2b9)](_0x11e994[_0x5dcb65(0x2ec)],_0x11e994),(0x0,_0x3ffd4d['toDisposable'])(()=>this[_0x5dcb65(0x2d4)][_0x5dcb65(0x1a9)](_0x11e994[_0x5dcb65(0x2ec)]));}[_0x3bf781(0x486)](_0x47cc3c,_0xa64f24,_0x217755){const _0x312707=_0x3bf781;var _0x20e225,_0x103c7e,_0x3c5ffb,_0xd7b89b,_0xdffb58;return _0xaf0146(_0x312707(0x1f5),()=>{const _0x42bfda=_0x312707;let _0x4501ea=this['_getCachedProjection'](_0x47cc3c,_0xa64f24,_0x217755);if(_0x4501ea)return _0x4501ea;let _0x4ea449=_0x47cc3c[_0x42bfda(0x38a)][_0xa64f24],_0xf3da2=_0x4ea449==null?void 0x0:_0x4ea449[_0x42bfda(0x37f)][_0x217755];if(!_0x4ea449||!_0xf3da2){var _0x3a9a97;return this[_0x42bfda(0x1ae)](_0x47cc3c,_0xa64f24,_0x217755,{'type':_0x42bfda(0x239),'viewType':(_0x3a9a97=_0xf3da2==null?void 0x0:_0xf3da2['type'])==null?_0x3ffd4d[_0x42bfda(0x484)]['Grid']:_0x3a9a97,'reason':_0x42bfda(0x171)});}let _0x19f86b;switch(_0xf3da2[_0x42bfda(0x2ec)]){case _0x3ffd4d[_0x42bfda(0x484)][_0x42bfda(0x1c6)]:_0x19f86b=this[_0x42bfda(0x24b)](_0x4ea449,_0xf3da2);break;case _0x3ffd4d[_0x42bfda(0x484)][_0x42bfda(0x3a2)]:_0x19f86b=this[_0x42bfda(0x2f9)](_0x4ea449,_0xf3da2);break;case _0x3ffd4d[_0x42bfda(0x484)][_0x42bfda(0x3c5)]:_0x19f86b=this['_buildKanban'](_0x4ea449,_0xf3da2);break;case _0x3ffd4d[_0x42bfda(0x484)]['Calendar']:_0x19f86b=this[_0x42bfda(0x242)](_0x4ea449,_0xf3da2);break;case _0x3ffd4d[_0x42bfda(0x484)][_0x42bfda(0x387)]:_0x19f86b=this[_0x42bfda(0x47d)](_0x4ea449,_0xf3da2);break;default:_0x19f86b={'type':'invalid','viewType':_0xf3da2[_0x42bfda(0x2ec)],'reason':'missingField'};}return this[_0x42bfda(0x1ae)](_0x47cc3c,_0xa64f24,_0x217755,_0x19f86b);},{'tableId':_0xa64f24,'viewId':_0x217755,'viewType':(_0x20e225=_0x47cc3c[_0x312707(0x38a)][_0xa64f24])==null||(_0x20e225=_0x20e225[_0x312707(0x37f)][_0x217755])==null?void 0x0:_0x20e225[_0x312707(0x2ec)],'records':(_0x103c7e=(_0x3c5ffb=_0x47cc3c[_0x312707(0x38a)][_0xa64f24])==null||(_0x3c5ffb=_0x3c5ffb[_0x312707(0x19f)])==null?void 0x0:_0x3c5ffb[_0x312707(0x2e1)])==null?Object['keys']((_0xd7b89b=(_0xdffb58=_0x47cc3c['tables'][_0xa64f24])==null?void 0x0:_0xdffb58[_0x312707(0x25f)])==null?{}:_0xd7b89b)['length']:_0x103c7e});}[_0x3bf781(0x380)](_0x20eb48,_0x28909,_0x2d66cf){const _0x582bd9=_0x3bf781;var _0x3de453,_0x8f3b49,_0x28b4ad,_0x7989e1;let _0x3f4929=_0x20eb48[_0x582bd9(0x38a)][_0x28909],_0x471906=_0x3f4929==null?void 0x0:_0x3f4929['views'][_0x2d66cf];if(!_0x3f4929||!_0x471906)throw Error(_0x582bd9(0x466)+_0x2d66cf+'\x22.');let _0x82b75e=_0x545af8=>!!_0x3f4929[_0x582bd9(0x3b1)][_0x545af8],_0x49f043={..._0x471906,'filter':_0x471906[_0x582bd9(0x3e7)]?{..._0x471906[_0x582bd9(0x3e7)],'conditions':_0x471906['filter'][_0x582bd9(0x312)][_0x582bd9(0x3e7)](_0x3f75ac=>_0x82b75e(_0x3f75ac[_0x582bd9(0x29f)]))}:_0x471906[_0x582bd9(0x3e7)],'sort':(_0x3de453=_0x471906[_0x582bd9(0x1ef)])==null?void 0x0:_0x3de453[_0x582bd9(0x3e7)](_0x3b9d9c=>_0x82b75e(_0x3b9d9c[_0x582bd9(0x29f)])),'group':(_0x8f3b49=_0x471906[_0x582bd9(0x32a)])==null?void 0x0:_0x8f3b49[_0x582bd9(0x3e7)](_0x51bead=>_0x82b75e(_0x51bead[_0x582bd9(0x29f)])),'fieldOrder':(_0x28b4ad=_0x471906[_0x582bd9(0x2a8)])==null?void 0x0:_0x28b4ad[_0x582bd9(0x3e7)](_0x82b75e),'fieldSettings':Object[_0x582bd9(0x234)](Object['entries']((_0x7989e1=_0x471906['fieldSettings'])==null?{}:_0x7989e1)[_0x582bd9(0x3e7)](([_0xeb0d2a])=>_0x82b75e(_0xeb0d2a)))};if(_0x49f043[_0x582bd9(0x2ec)]===_0x582bd9(0x181)){var _0x5020d8,_0x5577c3,_0x528e1d,_0x5159f5;let _0x3e04aa=(_0x5020d8=_0x49f043[_0x582bd9(0x1a3)])==null?{}:_0x5020d8,_0x226b09=this['_resolveKanbanGroupFieldId'](_0x3f4929,_0x49f043);_0x49f043[_0x582bd9(0x1a3)]={..._0x3e04aa,'groupFieldId':_0x226b09==null?_0x3e04aa[_0x582bd9(0x388)]:_0x226b09,'coverFieldId':this[_0x582bd9(0x246)](_0x3f4929,_0x3e04aa),'cardLayout':_0x3e04aa[_0x582bd9(0x3fa)]===_0x582bd9(0x2e7)?_0x582bd9(0x2e7):_0x582bd9(0x33e),'showFieldNames':_0x3e04aa[_0x582bd9(0x267)]!==!0x1,'fieldSettings':Object[_0x582bd9(0x234)](Object[_0x582bd9(0x1d1)]((_0x5577c3=_0x3e04aa[_0x582bd9(0x231)])==null?{}:_0x5577c3)[_0x582bd9(0x3e7)](([_0x1021f1])=>_0x82b75e(_0x1021f1))),'columnSettings':(_0x528e1d=_0x3e04aa[_0x582bd9(0x333)])==null?{}:_0x528e1d,'card':{...(_0x5159f5=_0x3e04aa[_0x582bd9(0x306)])==null?{}:_0x5159f5,'fieldIds':this[_0x582bd9(0x2a7)](_0x3f4929,_0x49f043,_0x226b09==null?'':_0x226b09)}};}return{'repaired':JSON[_0x582bd9(0x177)](_0x49f043)!==JSON[_0x582bd9(0x177)](_0x471906),'view':_0x49f043};}[_0x3bf781(0x3bf)](){const _0x3b9196=_0x3bf781;this[_0x3b9196(0x2f5)]++;}['invalidateByCell'](_0x5a283d,_0x5d188b,_0x5cabee){const _0xdb170b=_0x3bf781;var _0x385d6e;let _0x1c28d5=this[_0xdb170b(0x3eb)](_0x5a283d)+0x1;this['_cellRevisions'][_0xdb170b(0x2b9)](_0x5a283d,_0x1c28d5);let _0x4266b3=(_0x385d6e=this[_0xdb170b(0x402)]['get'](_0x5a283d))==null?[]:_0x385d6e;_0x4266b3['push']({'revision':_0x1c28d5,'recordId':_0x5d188b,'fieldId':_0x5cabee}),this['_cellInvalidations']['set'](_0x5a283d,_0x4266b3);}['invalidateByField'](_0xb568,_0x182f60){const _0x576a94=_0x3bf781;this[_0x576a94(0x32e)](_0xb568);}[_0x3bf781(0x439)](_0x463acf,_0x508da1){const _0xcea958=_0x3bf781;this[_0xcea958(0x28e)][_0xcea958(0x2b9)](this['_viewRevisionKey'](_0x463acf,_0x508da1),this['_getViewRevision'](_0x463acf,_0x508da1)+0x1);}[_0x3bf781(0x208)](_0x45ae5c,_0x24904f,_0x5a0ec6){const _0x1df37f=_0x3bf781;var _0x483131;let _0x1c5a82=(_0x483131=this[_0x1df37f(0x2f6)][_0x1df37f(0x393)](_0x45ae5c))==null?void 0x0:_0x483131['get'](this[_0x1df37f(0x2f8)](_0x24904f,_0x5a0ec6));return _0x1c5a82&&_0x1c5a82[_0x1df37f(0x28b)]===this['_globalRevision']&&_0x1c5a82[_0x1df37f(0x37c)]===this[_0x1df37f(0x31a)](_0x24904f)&&_0x1c5a82[_0x1df37f(0x15f)]===this[_0x1df37f(0x3eb)](_0x24904f)&&_0x1c5a82[_0x1df37f(0x452)]===this[_0x1df37f(0x240)](_0x24904f,_0x5a0ec6)?_0x1c5a82[_0x1df37f(0x340)]:null;}[_0x3bf781(0x1ae)](_0x45146e,_0x25ef8,_0x4fc40b,_0x1077f3){const _0x2eb903=_0x3bf781;let _0x485ceb=this['_projectionCache'][_0x2eb903(0x393)](_0x45146e);return _0x485ceb||(_0x485ceb=new Map(),this[_0x2eb903(0x2f6)][_0x2eb903(0x2b9)](_0x45146e,_0x485ceb)),_0x485ceb[_0x2eb903(0x2b9)](this['_cacheKey'](_0x25ef8,_0x4fc40b),{'projection':_0x1077f3,'globalRevision':this[_0x2eb903(0x2f5)],'tableRevision':this[_0x2eb903(0x31a)](_0x25ef8),'cellRevision':this['_getCellRevision'](_0x25ef8),'viewRevision':this['_getViewRevision'](_0x25ef8,_0x4fc40b)}),_0x1077f3;}['_bumpTableRevision'](_0x4dc330){const _0x3e15d3=_0x3bf781;this[_0x3e15d3(0x27e)][_0x3e15d3(0x2b9)](_0x4dc330,this[_0x3e15d3(0x31a)](_0x4dc330)+0x1);}[_0x3bf781(0x31a)](_0x487ad4){const _0x4df3b5=_0x3bf781;var _0x2deea3;return(_0x2deea3=this['_tableRevisions'][_0x4df3b5(0x393)](_0x487ad4))==null?0x0:_0x2deea3;}[_0x3bf781(0x3eb)](_0x43fc35){const _0x3f6a9a=_0x3bf781;var _0x4226b3;return(_0x4226b3=this[_0x3f6a9a(0x435)]['get'](_0x43fc35))==null?0x0:_0x4226b3;}['_getViewRevision'](_0x15324d,_0x8de89d){const _0x1af3d7=_0x3bf781;var _0x423560;return(_0x423560=this[_0x1af3d7(0x28e)]['get'](this[_0x1af3d7(0x42e)](_0x15324d,_0x8de89d)))==null?0x0:_0x423560;}[_0x3bf781(0x2f8)](_0x551ab9,_0x34a447){return _0x551ab9+'\x00'+_0x34a447;}['_viewRowsCacheKey'](_0x25017c,_0x3463ff){const _0x569515=_0x3bf781;return _0x25017c+'\x00'+this[_0x569515(0x43e)](_0x3463ff);}[_0x3bf781(0x18d)](_0x1a1f8b,_0x10266b,_0x407d32){const _0x1ee1f2=_0x3bf781;return _0x1a1f8b+'\x00'+this[_0x1ee1f2(0x43e)](_0x10266b)+'\x00'+this[_0x1ee1f2(0x375)](_0x407d32);}[_0x3bf781(0x43e)](_0xef1056){const _0xde9afc=_0x3bf781;return _0xef1056?_0x66e291({'filter':_0x5143b7(_0xef1056[_0xde9afc(0x3e7)]),'sort':_0x4820a7(_0xef1056[_0xde9afc(0x1ef)])}):'__all__';}[_0x3bf781(0x375)](_0x1c4552){const _0x16890b=_0x3bf781;return _0x66e291(_0x1c4552[_0x16890b(0x2c0)](_0x3a1e6c=>{var _0x2770d6;return{'fieldId':_0x3a1e6c['fieldId'],'direction':(_0x2770d6=_0x3a1e6c['direction'])==null?null:_0x2770d6};}));}[_0x3bf781(0x42e)](_0x7b7261,_0xe7b3d7){return _0x7b7261+'\x00'+_0xe7b3d7;}['_buildGrid'](_0x2f2227,_0x24fca9){const _0x3f443c=_0x3bf781;let _0x474463=this['_projectRows'](_0x2f2227,_0x24fca9);return{'type':_0x3ffd4d[_0x3f443c(0x484)][_0x3f443c(0x1c6)],'fields':this[_0x3f443c(0x3d7)](_0x2f2227,_0x24fca9),'rows':_0x474463,'groups':this[_0x3f443c(0x3d5)](_0x2f2227,_0x24fca9,_0x474463),'frozenFieldCount':typeof _0x24fca9[_0x3f443c(0x1a3)][_0x3f443c(0x2e8)]==_0x3f443c(0x236)?_0x24fca9[_0x3f443c(0x1a3)][_0x3f443c(0x2e8)]:0x0};}[_0x3bf781(0x477)](_0x48387f,_0x53b3a2){const _0x7b2194=_0x3bf781;var _0x112ec6;let _0x2bbc76=this['_resolveKanbanGroupFieldId'](_0x48387f,_0x53b3a2),_0x12b33d=_0x2bbc76?_0x48387f[_0x7b2194(0x3b1)][_0x2bbc76]:void 0x0;if(!_0x12b33d)return{'type':_0x7b2194(0x239),'viewType':_0x3ffd4d['BaseViewType'][_0x7b2194(0x3c5)],'reason':_0x7b2194(0x23a),'fieldId':_0x53b3a2[_0x7b2194(0x1a3)][_0x7b2194(0x388)]};let _0x394469=this[_0x7b2194(0x23f)](_0x48387f,_0x53b3a2),_0x2cdb8f=this[_0x7b2194(0x3d7)](_0x48387f,_0x53b3a2),_0x57d37a=(_0x112ec6=_0x53b3a2[_0x7b2194(0x1a3)])==null?{}:_0x112ec6,_0x2f4fba=this['_resolveKanbanCardFieldIds'](_0x48387f,_0x53b3a2,_0x12b33d['id']),_0x32ca9f=new Map();return this[_0x7b2194(0x259)](_0x12b33d,_0x57d37a)[_0x7b2194(0x43f)](_0x2e648b=>_0x32ca9f[_0x7b2194(0x2b9)](_0x2e648b[_0x7b2194(0x34a)],{..._0x2e648b,'recordIds':[]})),_0x394469['forEach'](_0x2b8726=>{const _0x2b5115=_0x7b2194;this[_0x2b5115(0x34f)](_0x12b33d,_0x2b8726[_0x2b5115(0x449)][_0x12b33d['id']])[_0x2b5115(0x43f)](_0x25d9b2=>{const _0x3ba9c2=_0x2b5115;let _0x24f291=_0x32ca9f[_0x3ba9c2(0x393)](_0x25d9b2),_0x230f96=_0x24f291==null?{'key':_0x25d9b2,'title':this[_0x3ba9c2(0x1e6)](_0x12b33d,_0x25d9b2,_0x57d37a),'color':this[_0x3ba9c2(0x245)](_0x12b33d,_0x25d9b2,_0x57d37a),'recordIds':[]}:_0x24f291;_0x230f96[_0x3ba9c2(0x3e3)][_0x3ba9c2(0x2af)](_0x2b8726[_0x3ba9c2(0x2f3)]),_0x32ca9f['set'](_0x25d9b2,_0x230f96);});}),{'type':_0x3ffd4d[_0x7b2194(0x484)][_0x7b2194(0x3c5)],'fields':_0x2cdb8f,'rows':_0x394469,'groups':this[_0x7b2194(0x3d5)](_0x48387f,_0x53b3a2,_0x394469),'groupFieldId':_0x12b33d['id'],'coverFieldId':this[_0x7b2194(0x246)](_0x48387f,_0x57d37a),'cardLayout':_0x57d37a[_0x7b2194(0x3fa)]===_0x7b2194(0x2e7)?_0x7b2194(0x2e7):_0x7b2194(0x33e),'showFieldNames':_0x57d37a[_0x7b2194(0x267)]!==!0x1,'visibleCardFieldIds':_0x2f4fba,'lanes':Array['from'](_0x32ca9f[_0x7b2194(0x449)]())};}[_0x3bf781(0x343)](_0x5b7b3d,_0x44c506){const _0x183ef2=_0x3bf781;var _0xe3f4c1;let _0x4011ed=(_0xe3f4c1=_0x44c506[_0x183ef2(0x1a3)])==null?void 0x0:_0xe3f4c1['groupFieldId'];return _0x4011ed&&this[_0x183ef2(0x3cd)](_0x5b7b3d,_0x4011ed)?_0x4011ed:this[_0x183ef2(0x412)](_0x5b7b3d,_0x341d0a=>this[_0x183ef2(0x47c)](_0x341d0a));}[_0x3bf781(0x412)](_0x388ea2,_0x968574){const _0x2de19a=_0x3bf781;for(let _0x1710e1 of _0x388ea2[_0x2de19a(0x2a8)]){let _0x660772=_0x388ea2['fields'][_0x1710e1];if(_0x660772&&_0x968574(_0x660772))return _0x660772['id'];}return null;}[_0x3bf781(0x3cd)](_0x4513e7,_0x2f68a3){const _0x4c3c3c=_0x3bf781;let _0x314831=_0x4513e7[_0x4c3c3c(0x3b1)][_0x2f68a3];return this[_0x4c3c3c(0x47c)](_0x314831);}[_0x3bf781(0x47c)](_0x35dd76){const _0x19a712=_0x3bf781;return!!_0x35dd76&&(_0x35dd76[_0x19a712(0x2ec)]===_0x3ffd4d[_0x19a712(0x376)][_0x19a712(0x44f)]||_0x35dd76[_0x19a712(0x2ec)]===_0x3ffd4d[_0x19a712(0x376)][_0x19a712(0x36f)]||_0x35dd76[_0x19a712(0x2ec)]===_0x3ffd4d[_0x19a712(0x376)]['Rating']||_0x35dd76[_0x19a712(0x2ec)]===_0x3ffd4d['BaseFieldType'][_0x19a712(0x2a3)]||_0x35dd76[_0x19a712(0x2ec)]===_0x3ffd4d[_0x19a712(0x376)][_0x19a712(0x34d)]||_0x35dd76[_0x19a712(0x2ec)]===_0x3ffd4d['BaseFieldType'][_0x19a712(0x2b1)]);}['_isColorfulKanbanGroupField'](_0x269e45){const _0x13effd=_0x3bf781;return _0x269e45['type']===_0x3ffd4d[_0x13effd(0x376)][_0x13effd(0x44f)]||_0x269e45[_0x13effd(0x2ec)]===_0x3ffd4d[_0x13effd(0x376)][_0x13effd(0x36f)];}[_0x3bf781(0x246)](_0x218851,_0x4d7c97){const _0x597218=_0x3bf781;var _0x37b8ad,_0x4f26d6,_0xe1d662;let _0x4d56d2=(_0x37b8ad=(_0x4f26d6=_0x4d7c97[_0x597218(0x1f2)])==null?(_0xe1d662=_0x4d7c97[_0x597218(0x306)])==null?void 0x0:_0xe1d662[_0x597218(0x1f2)]:_0x4f26d6)==null?null:_0x37b8ad;if(!_0x4d56d2)return null;let _0x20287f=_0x218851[_0x597218(0x3b1)][_0x4d56d2];return _0x20287f&&this[_0x597218(0x1cb)](_0x20287f)['usableAsCardCover']?_0x20287f['id']:null;}[_0x3bf781(0x2a7)](_0x1e7978,_0x43bfa4,_0x3a83d6){const _0x15b4e1=_0x3bf781;var _0x5b2b84,_0x3d6ea9,_0x49211d;let _0x26bf2e=(_0x5b2b84=_0x43bfa4[_0x15b4e1(0x1a3)])==null?{}:_0x5b2b84,_0x3ddf40=(_0x3d6ea9=_0x26bf2e[_0x15b4e1(0x306)])!=null&&(_0x3d6ea9=_0x3d6ea9[_0x15b4e1(0x40c)])!=null&&_0x3d6ea9[_0x15b4e1(0x2e1)]?_0x26bf2e[_0x15b4e1(0x306)][_0x15b4e1(0x40c)]:_0x57aeaf(_0x1e7978,[_0x1e7978[_0x15b4e1(0x3e1)],_0x3a83d6]),_0x380156=(_0x49211d=_0x26bf2e['fieldSettings'])==null?{}:_0x49211d;return _0x3ddf40['filter'](_0x202c6f=>{const _0x29229b=_0x15b4e1;var _0x3e6789,_0x1929d7;let _0x4f3306=_0x1e7978[_0x29229b(0x3b1)][_0x202c6f];return!(!_0x4f3306||_0x4f3306['id']===_0x3a83d6||(_0x3e6789=_0x43bfa4[_0x29229b(0x231)])!=null&&(_0x3e6789=_0x3e6789[_0x202c6f])!=null&&_0x3e6789['hidden']||(_0x1929d7=_0x380156[_0x202c6f])!=null&&_0x1929d7[_0x29229b(0x16e)]);})[_0x15b4e1(0x1ef)]((_0x410c0e,_0x52ae8a)=>{const _0x2e1508=_0x15b4e1;var _0x45d45d,_0x5012e2,_0x2bc634,_0x1bdb85;return((_0x45d45d=(_0x5012e2=_0x380156[_0x410c0e])==null?void 0x0:_0x5012e2[_0x2e1508(0x444)])==null?_0x3ddf40[_0x2e1508(0x1c2)](_0x410c0e):_0x45d45d)-((_0x2bc634=(_0x1bdb85=_0x380156[_0x52ae8a])==null?void 0x0:_0x1bdb85['order'])==null?_0x3ddf40['indexOf'](_0x52ae8a):_0x2bc634);});}[_0x3bf781(0x259)](_0x2c12bf,_0x2d94a4){const _0x1c5825=_0x3bf781;var _0x1dfdc0,_0x2dc081;let _0xb90821=(Array[_0x1c5825(0x30b)]((_0x1dfdc0=_0x2c12bf[_0x1c5825(0x1a3)])==null?void 0x0:_0x1dfdc0[_0x1c5825(0x310)])?_0x2c12bf[_0x1c5825(0x1a3)][_0x1c5825(0x310)]:[])[_0x1c5825(0x1db)]((_0x3cede9,_0x2f4999)=>{const _0x1a49ce=_0x1c5825;var _0x218a6c,_0x17d4e4,_0x3bb96f,_0x53e376;if(_0x3cede9==null)return[];let _0x128cdf=typeof _0x3cede9=='string'?{'id':_0x3cede9,'name':_0x3cede9,'color':void 0x0}:_0x3cede9,_0x55b47c=String((_0x218a6c=(_0x17d4e4=_0x128cdf['id'])==null?_0x128cdf['name']:_0x17d4e4)==null?_0x1a49ce(0x406)+(_0x2f4999+0x1):_0x218a6c);return[{'key':_0x55b47c,'title':String((_0x3bb96f=(_0x53e376=_0x128cdf['name'])==null?_0x128cdf['id']:_0x53e376)==null?_0x55b47c:_0x3bb96f),'color':this[_0x1a49ce(0x245)](_0x2c12bf,_0x55b47c,_0x2d94a4)}];});return Object[_0x1c5825(0x1d1)]((_0x2dc081=_0x2d94a4[_0x1c5825(0x333)])==null?{}:_0x2dc081)[_0x1c5825(0x43f)](([_0x5da419,_0x55197d])=>{const _0x231994=_0x1c5825;var _0x1efde6;_0xb90821[_0x231994(0x2fa)](_0xd3590d=>_0xd3590d[_0x231994(0x34a)]===_0x5da419)||_0xb90821['push']({'key':_0x5da419,'title':this[_0x231994(0x426)](_0x2c12bf)?(_0x1efde6=_0x55197d[_0x231994(0x428)])==null?this[_0x231994(0x1e6)](_0x2c12bf,_0x5da419,_0x2d94a4):_0x1efde6:this[_0x231994(0x1e6)](_0x2c12bf,_0x5da419,_0x2d94a4),'color':this[_0x231994(0x245)](_0x2c12bf,_0x5da419,_0x2d94a4)});}),_0xb90821;}['_kanbanGroupKeys'](_0x6e28a2,_0x247bf3){const _0x405fb6=_0x3bf781;let _0x31c087=_0x795aed=>{const _0x5786ef=_0x46db;var _0x1fe8ef,_0x42a483;let _0x3d2d9b=_0x795aed==null?'':String(_0x795aed);return!_0x3d2d9b||!this[_0x5786ef(0x426)](_0x6e28a2)||(_0x1fe8ef=(_0x42a483=_0x54212f(_0x6e28a2,_0x3d2d9b))==null?void 0x0:_0x42a483['id'])==null?_0x3d2d9b:_0x1fe8ef;};if(Array[_0x405fb6(0x30b)](_0x247bf3)){let _0x2d8aba=_0x247bf3['map'](_0x31c087)['filter'](_0x19bef7=>_0x19bef7!=='');return _0x2d8aba[_0x405fb6(0x2e1)]?_0x2d8aba:[''];}return[_0x31c087(_0x247bf3)];}[_0x3bf781(0x1e6)](_0x654069,_0x5d48c4,_0x179b32){const _0x314e1f=_0x3bf781;var _0x2ffa5f;if(!_0x5d48c4)return _0x314e1f(0x26a);let _0x3af90b=_0x54212f(_0x654069,_0x5d48c4);return(_0x2ffa5f=_0x3af90b==null?void 0x0:_0x3af90b[_0x314e1f(0x209)])==null?_0x5d48c4:_0x2ffa5f;}[_0x3bf781(0x245)](_0x49e1b5,_0x349d5d,_0x4f8827){const _0x7f571=_0x3bf781;var _0x3899bc;if(this['_isColorfulKanbanGroupField'](_0x49e1b5))return(_0x3899bc=_0x54212f(_0x49e1b5,_0x349d5d))==null?void 0x0:_0x3899bc[_0x7f571(0x24c)];}['_buildCalendar'](_0x2f3a8d,_0x8189fb){const _0x122ae4=_0x3bf781;var _0x38eb60;let _0x88379=this['_normalizeCalendarConfig'](_0x2f3a8d,(_0x38eb60=_0x8189fb[_0x122ae4(0x1a3)])==null?{}:_0x38eb60),_0x10afd0=_0x2f3a8d['fields'][_0x88379[_0x122ae4(0x499)]];if(!_0x10afd0||_0x10afd0['type']!==_0x3ffd4d[_0x122ae4(0x376)][_0x122ae4(0x2a4)]||_0x10afd0[_0x122ae4(0x322)]===!0x0||_0x10afd0['system']===!0x0||!this['_capabilities'](_0x10afd0)[_0x122ae4(0x1f1)])return{'type':'invalid','viewType':_0x3ffd4d[_0x122ae4(0x484)][_0x122ae4(0x4a1)],'reason':_0x122ae4(0x3e0),'fieldId':_0x88379['startDateFieldId']};let _0x5ab5dc=_0x88379[_0x122ae4(0x36b)]?_0x2f3a8d[_0x122ae4(0x3b1)][_0x88379[_0x122ae4(0x36b)]]:void 0x0,_0x3359ad=this[_0x122ae4(0x23f)](_0x2f3a8d,_0x8189fb);return{'type':_0x3ffd4d['BaseViewType'][_0x122ae4(0x4a1)],'config':_0x88379,'fields':this[_0x122ae4(0x3d7)](_0x2f3a8d,_0x8189fb),'rows':_0x3359ad,'groups':this['_projectGroups'](_0x2f3a8d,_0x8189fb,_0x3359ad),'events':_0x3359ad['flatMap'](_0x59ff33=>{const _0x10f4a7=_0x122ae4;let _0xf74122=_0x43974e(_0x59ff33[_0x10f4a7(0x449)][_0x88379[_0x10f4a7(0x499)]]);if(!Number['isFinite'](_0xf74122))return[];let _0x51dd7f=_0x59ff33[_0x10f4a7(0x449)][_0x88379[_0x10f4a7(0x499)]],_0x3c8fa9=_0x88379[_0x10f4a7(0x36b)]==null?void 0x0:_0x59ff33['values'][_0x88379[_0x10f4a7(0x36b)]],_0x4a68bd=_0x88379['endDateFieldId']==null?void 0x0:_0x43974e(_0x3c8fa9),_0x27b407=Number[_0x10f4a7(0x272)](_0x4a68bd)?_0x4a68bd:void 0x0;return[{'recordId':_0x59ff33[_0x10f4a7(0x2f3)],'title':this[_0x10f4a7(0x3a5)](_0x2f3a8d,_0x59ff33,_0x88379[_0x10f4a7(0x45e)]),'start':_0xf74122,'end':_0x27b407,'color':this[_0x10f4a7(0x483)](_0x2f3a8d,_0x59ff33,_0x88379),'startMs':_0xf74122,'endMs':_0x27b407,'allDay':this[_0x10f4a7(0x493)](_0x10afd0,_0x5ab5dc,_0x51dd7f,_0x3c8fa9),'fieldValues':_0x59ff33[_0x10f4a7(0x449)]}];})};}['_normalizeCalendarConfig'](_0x3d2896,_0x3d07f9){const _0x3f1a66=_0x3bf781;var _0x4dcb82,_0x3cf91d;let _0x242d3f=this['_resolveCalendarDateFieldId'](_0x3d2896,_0x3d07f9[_0x3f1a66(0x499)]),_0x5bd480=_0x3d07f9[_0x3f1a66(0x36b)]&&this[_0x3f1a66(0x300)](_0x3d2896,_0x3d07f9[_0x3f1a66(0x36b)])?_0x3d07f9[_0x3f1a66(0x36b)]:(_0x4dcb82=this['_findCalendarDateFieldId'](_0x3d2896,_0x242d3f))==null?void 0x0:_0x4dcb82,_0x39a1d4=_0x3d07f9[_0x3f1a66(0x45e)]&&_0x3d2896[_0x3f1a66(0x3b1)][_0x3d07f9[_0x3f1a66(0x45e)]]?_0x3d07f9[_0x3f1a66(0x45e)]:_0x3d2896[_0x3f1a66(0x3e1)],_0x2c43ad=_0x3d07f9[_0x3f1a66(0x192)]==='day'||_0x3d07f9[_0x3f1a66(0x192)]===_0x3f1a66(0x218)?_0x3d07f9['mode']:_0x3f1a66(0x460),_0x3022d5=_0x3d07f9[_0x3f1a66(0x2a5)]===_0x3f1a66(0x30e)||_0x3d07f9['timeslotSize']===_0x3f1a66(0x232)?_0x3d07f9[_0x3f1a66(0x2a5)]:_0x3f1a66(0x41d),_0x25e5d3=typeof _0x3d07f9[_0x3f1a66(0x311)]=='string'&&_0x3d07f9[_0x3f1a66(0x311)][_0x3f1a66(0x187)]()?_0x3d07f9['timeZone']:'local',_0x10788a=this[_0x3f1a66(0x18c)](_0x3d2896,_0x3d07f9);return{..._0x3d07f9,'startDateFieldId':_0x242d3f,'endDateFieldId':_0x5bd480,'titleFieldId':_0x39a1d4,'mode':_0x2c43ad,'timeslotSize':_0x3022d5,'timeZone':_0x25e5d3,'displayColor':_0x10788a,'fieldSettings':Object[_0x3f1a66(0x234)](Object['entries']((_0x3cf91d=_0x3d07f9[_0x3f1a66(0x231)])==null?{}:_0x3cf91d)[_0x3f1a66(0x3e7)](([_0x5cee53])=>!!_0x3d2896[_0x3f1a66(0x3b1)][_0x5cee53]))};}[_0x3bf781(0x1f8)](_0x41ad11,_0x895733){const _0x850248=_0x3bf781;var _0x2ebacb,_0x1e65c9;return _0x895733&&this['_isCalendarDateField'](_0x41ad11,_0x895733)?_0x895733:(_0x2ebacb=(_0x1e65c9=this[_0x850248(0x448)](_0x41ad11))==null?_0x895733:_0x1e65c9)==null?'':_0x2ebacb;}[_0x3bf781(0x448)](_0x258c85,_0xc212e6){const _0x489c63=_0x3bf781;for(let _0x2c1462 of _0x258c85[_0x489c63(0x2a8)])if(_0x2c1462!==_0xc212e6&&this[_0x489c63(0x300)](_0x258c85,_0x2c1462))return _0x2c1462;return null;}[_0x3bf781(0x300)](_0x23f622,_0x3d5d1e){const _0x18bb90=_0x3bf781;let _0x220427=_0x23f622[_0x18bb90(0x3b1)][_0x3d5d1e];return!!_0x220427&&_0x220427[_0x18bb90(0x2ec)]===_0x3ffd4d[_0x18bb90(0x376)][_0x18bb90(0x2a4)]&&_0x220427[_0x18bb90(0x322)]!==!0x0&&_0x220427[_0x18bb90(0x230)]!==!0x0&&this['_capabilities'](_0x220427)[_0x18bb90(0x1f1)];}[_0x3bf781(0x18c)](_0x495a78,_0x521984){const _0x33492e=_0x3bf781;let _0x2d340b=_0x521984[_0x33492e(0x3a3)];if((_0x2d340b==null?void 0x0:_0x2d340b[_0x33492e(0x2ec)])===_0x33492e(0x18b)){let _0x116118=_0x495a78[_0x33492e(0x3b1)][_0x2d340b[_0x33492e(0x29f)]];if(_0x116118&&_0x116118[_0x33492e(0x2ec)]===_0x3ffd4d[_0x33492e(0x376)]['SingleSelect'])return _0x2d340b;}if((_0x2d340b==null?void 0x0:_0x2d340b[_0x33492e(0x2ec)])===_0x33492e(0x1d5)&&typeof _0x2d340b[_0x33492e(0x24c)]==_0x33492e(0x2e9)&&_0x2d340b['color'][_0x33492e(0x187)]())return{'type':'custom','color':_0x2d340b['color']};if(_0x521984[_0x33492e(0x40f)]){let _0x5749da=_0x495a78['fields'][_0x521984['colorFieldId']];if(_0x5749da&&_0x5749da['type']===_0x3ffd4d['BaseFieldType'][_0x33492e(0x44f)])return{'type':_0x33492e(0x18b),'fieldId':_0x521984[_0x33492e(0x40f)]};}return{'type':_0x33492e(0x1d5),'color':_0x33492e(0x223)};}[_0x3bf781(0x483)](_0x56793b,_0x5c925d,_0x3e5be7){const _0x83e75a=_0x3bf781;let _0x47f2fa=_0x3e5be7[_0x83e75a(0x3a3)];if((_0x47f2fa==null?void 0x0:_0x47f2fa[_0x83e75a(0x2ec)])==='selectField'){var _0x40d2ea;let _0x4bbfa9=_0x56793b[_0x83e75a(0x3b1)][_0x47f2fa[_0x83e75a(0x29f)]];if(!_0x4bbfa9)return;let _0x13487a=_0x5c925d[_0x83e75a(0x449)][_0x47f2fa[_0x83e75a(0x29f)]],_0x2b494c=Array[_0x83e75a(0x30b)](_0x13487a)?_0x13487a[0x0]:_0x13487a;return _0x2b494c==null||(_0x40d2ea=_0x54212f(_0x4bbfa9,String(_0x2b494c)))==null?void 0x0:_0x40d2ea['color'];}if((_0x47f2fa==null?void 0x0:_0x47f2fa[_0x83e75a(0x2ec)])===_0x83e75a(0x1d5))return _0x47f2fa[_0x83e75a(0x24c)];}[_0x3bf781(0x493)](_0x5aebdc,_0x55ca8,_0x3a3cc1,_0x5ad0cb){const _0x52b928=_0x3bf781;var _0xf46973,_0x26234d;let _0x1bed27=((_0xf46973=_0x5aebdc[_0x52b928(0x1a3)])==null?void 0x0:_0xf46973[_0x52b928(0x46b)])===!0x0,_0x2da11b=(_0x55ca8==null||(_0x26234d=_0x55ca8[_0x52b928(0x1a3)])==null?void 0x0:_0x26234d[_0x52b928(0x46b)])===!0x0;return!_0x1bed27&&!_0x2da11b;}[_0x3bf781(0x357)](_0x472a36,_0x2b1285){const _0x33f814=_0x3bf781;var _0x40eb28,_0x2ef12a;let _0x2b95eb=((_0x40eb28=_0x472a36[_0x33f814(0x1a3)])==null?void 0x0:_0x40eb28['includeTime'])===!0x0,_0x29cea1=((_0x2ef12a=_0x2b1285[_0x33f814(0x1a3)])==null?void 0x0:_0x2ef12a[_0x33f814(0x46b)])===!0x0;return!_0x2b95eb&&!_0x29cea1;}[_0x3bf781(0x2f9)](_0x18913b,_0x282abe){const _0x35cda6=_0x3bf781;let _0x50fca9=this['_normalizeGanttConfig'](_0x18913b,_0x282abe[_0x35cda6(0x1a3)]),_0x3a40dd=_0x18913b[_0x35cda6(0x3b1)][_0x50fca9[_0x35cda6(0x499)]];if(!_0x3a40dd||_0x3a40dd[_0x35cda6(0x2ec)]!==_0x3ffd4d['BaseFieldType'][_0x35cda6(0x2a4)]||_0x3a40dd['readonly']===!0x0||_0x3a40dd[_0x35cda6(0x230)]===!0x0||!this[_0x35cda6(0x1cb)](_0x3a40dd)[_0x35cda6(0x268)])return{'type':_0x35cda6(0x239),'viewType':_0x3ffd4d[_0x35cda6(0x484)][_0x35cda6(0x3a2)],'reason':_0x35cda6(0x20a),'fieldId':_0x50fca9[_0x35cda6(0x499)]};let _0x4f7724=_0x18913b[_0x35cda6(0x3b1)][_0x50fca9[_0x35cda6(0x36b)]];if(!_0x4f7724||_0x4f7724[_0x35cda6(0x2ec)]!==_0x3ffd4d[_0x35cda6(0x376)][_0x35cda6(0x2a4)]||_0x4f7724['readonly']===!0x0||_0x4f7724['system']===!0x0||!this[_0x35cda6(0x1cb)](_0x4f7724)['usableAsGanttEnd'])return{'type':'invalid','viewType':_0x3ffd4d[_0x35cda6(0x484)][_0x35cda6(0x3a2)],'reason':'invalidGanttEndField','fieldId':_0x50fca9['endDateFieldId']};let _0x583e4a=this['_isAllDayGanttDateRange'](_0x3a40dd,_0x4f7724),_0x2827e5=this[_0x35cda6(0x23f)](_0x18913b,_0x282abe),_0x373fbd=_0x2827e5[_0x35cda6(0x1db)](_0x16b2ba=>{const _0x2aa710=_0x35cda6;var _0x4e41c8;let _0x22ec9c=_0x43974e(_0x16b2ba[_0x2aa710(0x449)][_0x50fca9[_0x2aa710(0x499)]]),_0x215842=_0x43974e(_0x16b2ba[_0x2aa710(0x449)][_0x50fca9[_0x2aa710(0x36b)]]);if(!Number[_0x2aa710(0x272)](_0x22ec9c)||!Number[_0x2aa710(0x272)](_0x215842))return[];let _0x562680=Math[_0x2aa710(0x162)](_0x22ec9c,_0x215842),_0x19fb8c=Math[_0x2aa710(0x41e)](_0x22ec9c,_0x215842),_0x3ee49a=_0x50fca9[_0x2aa710(0x43a)]==null?void 0x0:Number(_0x16b2ba[_0x2aa710(0x449)][_0x50fca9['progressFieldId']]);return[{'recordId':_0x16b2ba[_0x2aa710(0x2f3)],'title':this['_title'](_0x18913b,_0x16b2ba,_0x50fca9[_0x2aa710(0x45e)]),'start':_0x562680,'end':_0x19fb8c,'color':this[_0x2aa710(0x3c9)](_0x18913b,_0x16b2ba,_0x50fca9),'progress':Number[_0x2aa710(0x272)](_0x3ee49a)?_0x3ee49a:void 0x0,'workingDayCount':_0x50fca9[_0x2aa710(0x36e)]?_0x1f67b3(_0x562680,_0x19fb8c,_0x50fca9[_0x2aa710(0x492)]):void 0x0,'dependencyRecordIds':this[_0x2aa710(0x2fc)](_0x16b2ba['values'][(_0x4e41c8=_0x50fca9['dependencyFieldId'])==null?'':_0x4e41c8])}];}),_0x515260=_0x373fbd[_0x35cda6(0x2e1)]?_0x3201c5(Math['min'](..._0x373fbd[_0x35cda6(0x2c0)](_0x28be3e=>_0x28be3e['start']))-0x5a*_0x49a2e1):_0x3201c5(Date['now']()-0x5a*_0x49a2e1),_0x205b0b=_0x373fbd[_0x35cda6(0x2e1)]?_0x3201c5(Math[_0x35cda6(0x41e)](..._0x373fbd[_0x35cda6(0x2c0)](_0x5c36a9=>_0x5c36a9[_0x35cda6(0x3a6)]))+0x5b*_0x49a2e1):_0x3201c5(Date[_0x35cda6(0x18a)]()+0x5b*_0x49a2e1),_0x183e7f=_0xbf2389(_0x50fca9['scale'],_0x515260,_0x205b0b,_0x50fca9[_0x35cda6(0x36e)]?_0x50fca9[_0x35cda6(0x492)]:void 0x0);return{'type':_0x3ffd4d['BaseViewType'][_0x35cda6(0x3a2)],'fields':this[_0x35cda6(0x3d7)](_0x18913b,{..._0x282abe,'config':_0x50fca9}),'rows':_0x2827e5,'groups':this['_projectGroups'](_0x18913b,_0x282abe,_0x2827e5),'config':_0x50fca9,'dateRangeAllDay':_0x583e4a,'timeline':{'scale':_0x50fca9['scale'],'start':_0x515260,'end':_0x205b0b,'unitWidth':_0x183e7f[_0x35cda6(0x3ec)],'majorHeaders':_0x183e7f[_0x35cda6(0x205)],'columns':_0x183e7f[_0x35cda6(0x48e)]},'bars':_0x373fbd};}[_0x3bf781(0x1eb)](_0x2393d5,_0x2218f3){const _0x16e8bd=_0x3bf781;var _0x50aba9;let _0x1d7a23=this[_0x16e8bd(0x350)](_0x2393d5,_0x2218f3['startDateFieldId'],_0x16e8bd(0x2dd)),_0x29d4af=this[_0x16e8bd(0x350)](_0x2393d5,_0x2218f3[_0x16e8bd(0x36b)],_0x16e8bd(0x3a6))||_0x1d7a23,_0x286bd2=_0x2218f3[_0x16e8bd(0x45e)]&&_0x2393d5[_0x16e8bd(0x3b1)][_0x2218f3['titleFieldId']]?_0x2218f3[_0x16e8bd(0x45e)]:_0x2393d5[_0x16e8bd(0x3e1)],_0x4e8676=_0x2218f3[_0x16e8bd(0x1d2)]==='week'||_0x2218f3[_0x16e8bd(0x1d2)]===_0x16e8bd(0x17d)||_0x2218f3['scale']==='year'?_0x2218f3[_0x16e8bd(0x1d2)]:_0x16e8bd(0x460),_0x210a0f=_0x398c48(_0x2218f3[_0x16e8bd(0x492)]);return{..._0x2218f3,'startDateFieldId':_0x1d7a23,'endDateFieldId':_0x29d4af,'titleFieldId':_0x286bd2,'scale':_0x4e8676,'leftPaneWidth':typeof _0x2218f3[_0x16e8bd(0x256)]=='number'?_0x2218f3[_0x16e8bd(0x256)]:void 0x0,'leftPaneCollapsed':_0x2218f3[_0x16e8bd(0x21e)]===!0x0,'showTodayLine':_0x2218f3[_0x16e8bd(0x3d2)]!==!0x1,'displayColor':this[_0x16e8bd(0x28f)](_0x2393d5,_0x2218f3),'fieldSettings':Object['fromEntries'](Object['entries']((_0x50aba9=_0x2218f3[_0x16e8bd(0x231)])==null?{}:_0x50aba9)[_0x16e8bd(0x3e7)](([_0x454e0e])=>!!_0x2393d5[_0x16e8bd(0x3b1)][_0x454e0e])),'workingDaysOnly':_0x2218f3[_0x16e8bd(0x36e)]===!0x0,'workingDays':_0x210a0f};}[_0x3bf781(0x350)](_0x32ced2,_0xcdd9c2,_0x4fd21b){const _0x1f44e6=_0x3bf781;if(_0xcdd9c2&&this['_isGanttDateField'](_0x32ced2,_0xcdd9c2,_0x4fd21b)||_0xcdd9c2)return _0xcdd9c2;for(let _0x343ffc of _0x32ced2[_0x1f44e6(0x2a8)])if(this['_isGanttDateField'](_0x32ced2,_0x343ffc,_0x4fd21b))return _0x343ffc;return _0xcdd9c2==null?'':_0xcdd9c2;}['_isGanttDateField'](_0x49cf0b,_0xf7a9a3,_0x30e2d3){const _0x19fc34=_0x3bf781;let _0x426d5f=_0x49cf0b[_0x19fc34(0x3b1)][_0xf7a9a3];if(!_0x426d5f||_0x426d5f[_0x19fc34(0x2ec)]!==_0x3ffd4d['BaseFieldType'][_0x19fc34(0x2a4)]||_0x426d5f['readonly']===!0x0||_0x426d5f[_0x19fc34(0x230)]===!0x0)return!0x1;let _0x4d0554=this[_0x19fc34(0x1cb)](_0x426d5f);return _0x30e2d3===_0x19fc34(0x2dd)?_0x4d0554[_0x19fc34(0x268)]:_0x4d0554[_0x19fc34(0x184)];}['_normalizeGanttDisplayColor'](_0x329225,_0x4ae1f1){const _0xe53798=_0x3bf781;let _0x413b56=_0x4ae1f1[_0xe53798(0x3a3)];if((_0x413b56==null?void 0x0:_0x413b56[_0xe53798(0x2ec)])==='selectField'){let _0x40d802=_0x329225[_0xe53798(0x3b1)][_0x413b56['fieldId']];if(_0x40d802&&_0x40d802[_0xe53798(0x2ec)]===_0x3ffd4d[_0xe53798(0x376)][_0xe53798(0x44f)])return _0x413b56;}return(_0x413b56==null?void 0x0:_0x413b56['type'])==='conditional'&&Array['isArray'](_0x413b56[_0xe53798(0x316)])?{'type':_0xe53798(0x254),'rules':_0x413b56[_0xe53798(0x316)][_0xe53798(0x3e7)](_0x4b6946=>!!_0x329225[_0xe53798(0x3b1)][_0x4b6946[_0xe53798(0x29f)]])}:(_0x413b56==null?void 0x0:_0x413b56[_0xe53798(0x2ec)])===_0xe53798(0x1d5)&&typeof _0x413b56[_0xe53798(0x24c)]==_0xe53798(0x2e9)&&_0x413b56['color'][_0xe53798(0x187)]()?{'type':'custom','color':_0x413b56['color']}:{'type':_0xe53798(0x1d5),'color':_0xe53798(0x289)};}[_0x3bf781(0x3c9)](_0x3fc2b7,_0x320446,_0x180ed9){const _0x19260e=_0x3bf781;let _0x1a1bca=_0x180ed9[_0x19260e(0x3a3)];if((_0x1a1bca==null?void 0x0:_0x1a1bca[_0x19260e(0x2ec)])===_0x19260e(0x254)){let _0x295c42=_0x1a1bca['rules'][_0x19260e(0x367)](_0x14e6ba=>this[_0x19260e(0x1a6)](_0x3fc2b7,_0x320446,_0x14e6ba));if(_0x295c42)return _0x295c42['color'];}if((_0x1a1bca==null?void 0x0:_0x1a1bca['type'])===_0x19260e(0x18b)){let _0x3f4d51=_0x3fc2b7[_0x19260e(0x3b1)][_0x1a1bca['fieldId']];if(_0x3f4d51){var _0x295569;let _0x24f4ac=_0x320446[_0x19260e(0x449)][_0x1a1bca[_0x19260e(0x29f)]],_0x347f7c=Array[_0x19260e(0x30b)](_0x24f4ac)?_0x24f4ac[0x0]:_0x24f4ac,_0x51cb0c=_0x347f7c==null||(_0x295569=_0x54212f(_0x3f4d51,String(_0x347f7c)))==null?void 0x0:_0x295569['color'];if(_0x51cb0c)return _0x51cb0c;}}return(_0x1a1bca==null?void 0x0:_0x1a1bca[_0x19260e(0x2ec)])===_0x19260e(0x1d5)?_0x1a1bca['color']:'#14b8a6';}[_0x3bf781(0x1a6)](_0x51abda,_0xce312d,_0xf0c8c6){const _0xe7f8f8=_0x3bf781;let _0x18c275=_0x51abda[_0xe7f8f8(0x3b1)][_0xf0c8c6[_0xe7f8f8(0x29f)]];return _0x18c275?_0x38416c(_0xce312d[_0xe7f8f8(0x449)][_0x18c275['id']],_0xf0c8c6[_0xe7f8f8(0x2c3)],_0xf0c8c6[_0xe7f8f8(0x35a)],_0x18c275,{'dateMode':_0xf0c8c6[_0xe7f8f8(0x442)]}):!0x1;}[_0x3bf781(0x47d)](_0x35d909,_0x9449e9){const _0x2afd70=_0x3bf781;var _0x4dd8ee,_0x5ddc46,_0x5db484;let _0x821633=this[_0x2afd70(0x23f)](_0x35d909,_0x9449e9),_0x4475bf=this[_0x2afd70(0x3d4)](_0x35d909,(_0x4dd8ee=_0x9449e9[_0x2afd70(0x1a3)])==null?{}:_0x4dd8ee),_0x350ea6=this[_0x2afd70(0x3d7)](_0x35d909,_0x9449e9);return{'type':_0x3ffd4d[_0x2afd70(0x484)]['Gallery'],'fields':_0x350ea6,'rows':_0x821633,'groups':this['_projectGroups'](_0x35d909,_0x9449e9,_0x821633),'coverFieldId':_0x4475bf['coverFieldId'],'cardLayout':(_0x5ddc46=_0x4475bf[_0x2afd70(0x3fa)])==null?_0x2afd70(0x33e):_0x5ddc46,'showFieldNames':_0x4475bf[_0x2afd70(0x267)]!==!0x1,'visibleCardFieldIds':this[_0x2afd70(0x2dc)](_0x35d909,_0x9449e9,_0x4475bf),'cardSize':(_0x5db484=_0x4475bf[_0x2afd70(0x2e4)])==null?_0x2afd70(0x41d):_0x5db484,'cards':_0x821633[_0x2afd70(0x2c0)](_0x2f1db1=>({'recordId':_0x2f1db1[_0x2afd70(0x2f3)],'title':this['_title'](_0x35d909,_0x2f1db1,_0x4475bf[_0x2afd70(0x306)][_0x2afd70(0x45e)]),'values':_0x2f1db1[_0x2afd70(0x449)]}))};}[_0x3bf781(0x3d4)](_0x81569b,_0x4410f4){const _0x109d65=_0x3bf781;var _0x2d9293,_0x75c396;let _0x5e43a5=(_0x2d9293=_0x4410f4[_0x109d65(0x306)])==null?{'fieldIds':[]}:_0x2d9293,_0x4e14e4=_0x5e43a5[_0x109d65(0x45e)]&&_0x81569b[_0x109d65(0x3b1)][_0x5e43a5['titleFieldId']]?_0x5e43a5[_0x109d65(0x45e)]:_0xc2f214(_0x81569b),_0x275d7c=this[_0x109d65(0x377)](_0x81569b,_0x4410f4),_0x390c99=_0x4410f4['cardSize']===_0x109d65(0x34c)||_0x4410f4['cardSize']===_0x109d65(0x3ca)?_0x4410f4['cardSize']:'medium';return{..._0x4410f4,'coverFieldId':_0x275d7c,'cardLayout':_0x4410f4[_0x109d65(0x3fa)]===_0x109d65(0x2e7)?'compose':_0x109d65(0x33e),'showFieldNames':_0x4410f4[_0x109d65(0x267)]!==!0x1,'fieldSettings':Object[_0x109d65(0x234)](Object[_0x109d65(0x1d1)]((_0x75c396=_0x4410f4[_0x109d65(0x231)])==null?{}:_0x75c396)[_0x109d65(0x3e7)](([_0xa92fb1])=>!!_0x81569b[_0x109d65(0x3b1)][_0xa92fb1])),'card':{..._0x5e43a5,'titleFieldId':_0x4e14e4,'coverFieldId':_0x275d7c,'fieldIds':Array[_0x109d65(0x30b)](_0x5e43a5[_0x109d65(0x40c)])?_0x5e43a5['fieldIds']:[]},'cardSize':_0x390c99};}['_resolveGalleryCoverFieldId'](_0x4472b0,_0x3113c7){const _0x20300c=_0x3bf781;var _0x545c56,_0x383208,_0x1804d6;let _0x9a2b90=(_0x545c56=(_0x383208=_0x3113c7[_0x20300c(0x1f2)])==null?(_0x1804d6=_0x3113c7[_0x20300c(0x306)])==null?void 0x0:_0x1804d6[_0x20300c(0x1f2)]:_0x383208)==null?null:_0x545c56;if(!_0x9a2b90)return null;let _0x74f8c5=_0x4472b0[_0x20300c(0x3b1)][_0x9a2b90];return _0x74f8c5&&this[_0x20300c(0x1cb)](_0x74f8c5)[_0x20300c(0x296)]?_0x74f8c5['id']:null;}['_resolveGalleryCardFieldIds'](_0xe46ce0,_0x4f08,_0xcfe219){const _0x38b7d3=_0x3bf781;var _0x158e48,_0x178e9b,_0x28e0cc,_0x416aa1,_0x49d9c7,_0x524511,_0x5302e4;let _0x3def59=(_0x158e48=_0xcfe219[_0x38b7d3(0x231)])==null?{}:_0x158e48,_0x3e2057=(_0x178e9b=(_0x28e0cc=_0xcfe219[_0x38b7d3(0x306)])==null?void 0x0:_0x28e0cc[_0x38b7d3(0x45e)])==null?_0xc2f214(_0xe46ce0):_0x178e9b,_0x1f64ec=(_0x416aa1=(_0x49d9c7=_0xcfe219[_0x38b7d3(0x1f2)])==null?(_0x524511=_0xcfe219[_0x38b7d3(0x306)])==null?void 0x0:_0x524511[_0x38b7d3(0x1f2)]:_0x49d9c7)==null?null:_0x416aa1,_0x157f89=(_0x5302e4=_0xcfe219[_0x38b7d3(0x306)])!=null&&(_0x5302e4=_0x5302e4['fieldIds'])!=null&&_0x5302e4[_0x38b7d3(0x2e1)]?_0xcfe219[_0x38b7d3(0x306)]['fieldIds']:_0x57aeaf(_0xe46ce0,[_0x3e2057,_0x1f64ec,_0xe46ce0['primaryFieldId']]);return _0x157f89[_0x38b7d3(0x3e7)](_0x31d050=>{const _0x7eab2d=_0x38b7d3;var _0x323a32,_0x4ec906;let _0x2da69e=_0xe46ce0[_0x7eab2d(0x3b1)][_0x31d050];return!(!_0x2da69e||_0x2da69e['id']===_0x3e2057||_0x2da69e['id']===_0x1f64ec||(_0x323a32=_0x4f08[_0x7eab2d(0x231)])!=null&&(_0x323a32=_0x323a32[_0x31d050])!=null&&_0x323a32[_0x7eab2d(0x16e)]||(_0x4ec906=_0x3def59[_0x31d050])!=null&&_0x4ec906[_0x7eab2d(0x16e)]);})[_0x38b7d3(0x1ef)]((_0x2411cf,_0x133f4c)=>{const _0x56b834=_0x38b7d3;var _0x529721,_0x385db0,_0x28578c,_0x2dc0de;return((_0x529721=(_0x385db0=_0x3def59[_0x2411cf])==null?void 0x0:_0x385db0['order'])==null?_0x157f89[_0x56b834(0x1c2)](_0x2411cf):_0x529721)-((_0x28578c=(_0x2dc0de=_0x3def59[_0x133f4c])==null?void 0x0:_0x2dc0de[_0x56b834(0x444)])==null?_0x157f89[_0x56b834(0x1c2)](_0x133f4c):_0x28578c);});}[_0x3bf781(0x3d7)](_0x5a29cf,_0x5b4057){const _0x4431c9=_0x3bf781;var _0x4fadc5;return((_0x4fadc5=_0x5b4057[_0x4431c9(0x2a8)])!=null&&_0x4fadc5[_0x4431c9(0x2e1)]?_0x5b4057['fieldOrder']:_0x5a29cf[_0x4431c9(0x2a8)])[_0x4431c9(0x1db)](_0x4d9660=>{const _0x2f1236=_0x4431c9;var _0x2415a1,_0x1cf056;let _0x33ec13=_0x5a29cf[_0x2f1236(0x3b1)][_0x4d9660],_0x5875ed=(_0x2415a1=(_0x1cf056=_0x5b4057[_0x2f1236(0x231)])==null?void 0x0:_0x1cf056[_0x4d9660])==null?{}:_0x2415a1;return!_0x33ec13||_0x5875ed[_0x2f1236(0x16e)]?[]:[{'id':_0x33ec13['id'],'name':_0x33ec13['name'],'description':_0x33ec13['description'],'type':_0x33ec13[_0x2f1236(0x2ec)],'config':_0x33ec13[_0x2f1236(0x1a3)],'width':_0x5875ed[_0x2f1236(0x3a1)],'setting':_0x5875ed}];});}[_0x3bf781(0x23f)](_0x31ade3,_0x2e444c){const _0x1613b1=_0x3bf781;var _0x36386c,_0x474add,_0x287365;return _0xaf0146(_0x1613b1(0x2d8),()=>{const _0x124c81=_0x1613b1;var _0xff7e64,_0x5231cf,_0x4d5c26,_0x52bad0;let _0x534347=this['_projectTableRows'](_0x31ade3),_0x231989=this[_0x124c81(0x237)](_0x31ade3['id'],_0x2e444c),_0x53b2b9=this['_getCellRevision'](_0x31ade3['id']),_0x87bcaa=this['_projectedViewRowsCache'][_0x124c81(0x393)](_0x231989);if(_0x87bcaa&&_0x87bcaa[_0x124c81(0x28b)]===this[_0x124c81(0x2f5)]&&_0x87bcaa['tableRevision']===this[_0x124c81(0x31a)](_0x31ade3['id'])){if(_0x87bcaa[_0x124c81(0x15f)]===_0x53b2b9&&_0x87bcaa['baseRows']===_0x534347)return _0x87bcaa[_0x124c81(0x269)];if(_0x87bcaa[_0x124c81(0x15f)]!==_0x53b2b9&&!this[_0x124c81(0x25d)](_0x31ade3['id'],_0x87bcaa[_0x124c81(0x15f)],_0x53b2b9,this['_filterSortFieldIds'](_0x2e444c))){let _0x458167=_0x87bcaa[_0x124c81(0x269)]===_0x87bcaa['baseRows']?_0x534347:this[_0x124c81(0x365)](_0x87bcaa[_0x124c81(0x269)],_0x534347);if(_0x458167)return this[_0x124c81(0x346)]['set'](_0x231989,{..._0x87bcaa,'rows':_0x458167,'baseRows':_0x534347,'cellRevision':_0x53b2b9}),_0x458167;}}let _0xea83ca=_0xaf0146(_0x124c81(0x480),()=>this[_0x124c81(0x160)](_0x31ade3,_0x2e444c,this[_0x124c81(0x3b8)](_0x31ade3,_0x2e444c,_0x534347)),{'tableId':_0x31ade3['id'],'viewId':_0x2e444c==null?void 0x0:_0x2e444c['id'],'viewType':_0x2e444c==null?void 0x0:_0x2e444c[_0x124c81(0x2ec)],'rows':_0x534347[_0x124c81(0x2e1)],'filters':(_0xff7e64=_0x2e444c==null||(_0x5231cf=_0x2e444c[_0x124c81(0x3e7)])==null?void 0x0:_0x5231cf[_0x124c81(0x312)]['length'])==null?0x0:_0xff7e64,'sorts':(_0x4d5c26=_0x2e444c==null||(_0x52bad0=_0x2e444c['sort'])==null?void 0x0:_0x52bad0[_0x124c81(0x2e1)])==null?0x0:_0x4d5c26});return this[_0x124c81(0x346)][_0x124c81(0x2b9)](_0x231989,{'table':_0x31ade3,'rows':_0xea83ca,'baseRows':_0x534347,'globalRevision':this[_0x124c81(0x2f5)],'tableRevision':this[_0x124c81(0x31a)](_0x31ade3['id']),'cellRevision':_0x53b2b9}),_0xea83ca;},{'tableId':_0x31ade3['id'],'viewId':_0x2e444c==null?void 0x0:_0x2e444c['id'],'viewType':_0x2e444c==null?void 0x0:_0x2e444c[_0x1613b1(0x2ec)],'records':(_0x36386c=(_0x474add=_0x31ade3['recordOrder'])==null?void 0x0:_0x474add[_0x1613b1(0x2e1)])==null?Object[_0x1613b1(0x3f8)]((_0x287365=_0x31ade3[_0x1613b1(0x25f)])==null?{}:_0x287365)[_0x1613b1(0x2e1)]:_0x36386c});}[_0x3bf781(0x3ff)](_0x590f4a){const _0x2311dc=_0x3bf781;var _0x2350e3,_0x64e68f,_0x112a60;return _0xaf0146(_0x2311dc(0x298),()=>{const _0x199470=_0x2311dc;var _0x4c0d6b;let _0x114f90=this[_0x199470(0x3eb)](_0x590f4a['id']),_0x53dddb=this[_0x199470(0x3ee)]['get'](_0x590f4a['id']);if(_0x53dddb&&_0x53dddb['globalRevision']===this[_0x199470(0x2f5)]&&_0x53dddb[_0x199470(0x37c)]===this[_0x199470(0x31a)](_0x590f4a['id'])){if(_0x53dddb[_0x199470(0x15f)]===_0x114f90&&_0x53dddb['table']===_0x590f4a)return _0x53dddb[_0x199470(0x269)];let _0x3a44ac=this[_0x199470(0x1a0)](_0x590f4a,_0x53dddb,_0x114f90);if(_0x3a44ac)return _0x3a44ac;}_0x5f1015(_0x590f4a)||_0x374807(_0x590f4a);let _0x12e075=(_0x4c0d6b=_0x590f4a['recordOrder'])!=null&&_0x4c0d6b[_0x199470(0x2e1)]?_0x590f4a[_0x199470(0x19f)]:_0x5cf8ba(_0x590f4a[_0x199470(0x25f)]),_0x3ce46f=_0xaf0146('BaseProjection.materializeTableRows',()=>{const _0x51d3b3=_0x199470;let _0x241ff8=[];for(let _0x199d1e of _0x12e075){let _0x4e4a49=_0x590f4a[_0x51d3b3(0x25f)][_0x199d1e];if(!_0x4e4a49)continue;let _0x54fa2a={};for(let _0x27c0df of _0x590f4a[_0x51d3b3(0x2a8)])_0x54fa2a[_0x27c0df]=_0x2615d4(_0x590f4a,_0x4e4a49['id'],_0x27c0df);_0x241ff8[_0x51d3b3(0x2af)]({'recordId':_0x4e4a49['id'],'values':_0x54fa2a});}return _0x241ff8;},{'tableId':_0x590f4a['id'],'records':_0x12e075[_0x199470(0x2e1)],'fields':_0x590f4a[_0x199470(0x2a8)][_0x199470(0x2e1)]});return this[_0x199470(0x3ee)]['set'](_0x590f4a['id'],{'table':_0x590f4a,'rows':_0x3ce46f,'rowIndexById':_0x435637(_0x3ce46f),'globalRevision':this[_0x199470(0x2f5)],'tableRevision':this[_0x199470(0x31a)](_0x590f4a['id']),'cellRevision':_0x114f90}),_0x3ce46f;},{'tableId':_0x590f4a['id'],'records':(_0x2350e3=(_0x64e68f=_0x590f4a[_0x2311dc(0x19f)])==null?void 0x0:_0x64e68f[_0x2311dc(0x2e1)])==null?Object[_0x2311dc(0x3f8)]((_0x112a60=_0x590f4a[_0x2311dc(0x25f)])==null?{}:_0x112a60)['length']:_0x2350e3,'fields':_0x590f4a['fieldOrder'][_0x2311dc(0x2e1)]});}['_patchProjectedRowsForCellInvalidations'](_0x556fa0,_0x45388a,_0x56045e){const _0x42117f=_0x3bf781;var _0x3937d7,_0x3796a3;let _0x3bae8d=((_0x3937d7=this['_cellInvalidations']['get'](_0x556fa0['id']))==null?[]:_0x3937d7)[_0x42117f(0x3e7)](_0x100b74=>_0x100b74[_0x42117f(0x3f3)]>_0x45388a[_0x42117f(0x15f)]&&_0x100b74[_0x42117f(0x3f3)]<=_0x56045e);if(!_0x3bae8d['length'])return _0x45388a[_0x42117f(0x49a)]===_0x556fa0?_0x45388a[_0x42117f(0x269)]:null;let _0x5a8f14=_0x45388a['rows'],_0xc30bb9=new Map();for(let _0x21be03 of _0x3bae8d){let _0x56da36=_0xc30bb9[_0x42117f(0x393)](_0x21be03[_0x42117f(0x2f3)]);_0x56da36||(_0x56da36=new Set(),_0xc30bb9[_0x42117f(0x2b9)](_0x21be03[_0x42117f(0x2f3)],_0x56da36)),_0x56da36[_0x42117f(0x45a)](_0x21be03[_0x42117f(0x29f)]);}for(let [_0x55f040,_0x4eb891]of _0xc30bb9){if(!_0x556fa0['records'][_0x55f040])return null;let _0x4e4898=_0x45388a[_0x42117f(0x38c)][_0x42117f(0x393)](_0x55f040);if(_0x4e4898==null)return null;_0x5a8f14===_0x45388a['rows']&&(_0x5a8f14=[..._0x45388a[_0x42117f(0x269)]]);let _0x5cb828=_0x5a8f14[_0x4e4898],_0x57cd4a={..._0x5cb828[_0x42117f(0x449)]};_0x4eb891['forEach'](_0x277f4a=>{_0x57cd4a[_0x277f4a]=_0x2615d4(_0x556fa0,_0x55f040,_0x277f4a);}),_0x5a8f14[_0x4e4898]={..._0x5cb828,'values':_0x57cd4a};}let _0x2c4a38={'table':_0x556fa0,'rows':_0x5a8f14,'rowIndexById':_0x45388a[_0x42117f(0x38c)],'globalRevision':this['_globalRevision'],'tableRevision':this[_0x42117f(0x31a)](_0x556fa0['id']),'cellRevision':_0x56045e};return this[_0x42117f(0x3ee)][_0x42117f(0x2b9)](_0x556fa0['id'],_0x2c4a38),this['_cellInvalidations'][_0x42117f(0x2b9)](_0x556fa0['id'],((_0x3796a3=this[_0x42117f(0x402)][_0x42117f(0x393)](_0x556fa0['id']))==null?[]:_0x3796a3)[_0x42117f(0x3e7)](_0x177254=>_0x177254[_0x42117f(0x3f3)]>Math[_0x42117f(0x41e)](0x0,_0x56045e-0x100))),_0x5a8f14;}[_0x3bf781(0x365)](_0x304f67,_0x41251a){const _0x29cabb=_0x3bf781;let _0x2f7ee6=new Map(_0x41251a[_0x29cabb(0x2c0)](_0x201bc5=>[_0x201bc5[_0x29cabb(0x2f3)],_0x201bc5])),_0x262be6=!0x1,_0xd96401=_0x304f67['map'](_0x338b3f=>{const _0x4c3f3a=_0x29cabb;let _0x50d798=_0x2f7ee6[_0x4c3f3a(0x393)](_0x338b3f[_0x4c3f3a(0x2f3)]);return _0x50d798?_0x50d798===_0x338b3f?_0x338b3f:(_0x262be6=!0x0,_0x50d798):_0x338b3f;});return _0x262be6?_0xd96401:_0x304f67;}[_0x3bf781(0x25d)](_0x39ddf2,_0x315aa7,_0x280a42,_0x4aa990){const _0x9f03f5=_0x3bf781;var _0x4409f2;return!_0x4aa990[_0x9f03f5(0x30f)]||_0x315aa7===_0x280a42?!0x1:_0x280a42-_0x315aa7>0x100||((_0x4409f2=this['_cellInvalidations'][_0x9f03f5(0x393)](_0x39ddf2))==null?[]:_0x4409f2)[_0x9f03f5(0x2fa)](_0x12348e=>_0x12348e[_0x9f03f5(0x3f3)]>_0x315aa7&&_0x12348e['revision']<=_0x280a42&&_0x4aa990[_0x9f03f5(0x22a)](_0x12348e[_0x9f03f5(0x29f)]));}['_filterSortFieldIds'](_0x159564){const _0x37a0f5=_0x3bf781;var _0x425646,_0x4481de;let _0x523f2a=new Set();return _0x159564==null||(_0x425646=_0x159564['filter'])==null||_0x425646[_0x37a0f5(0x312)]['forEach'](_0x3a7d9e=>_0x523f2a['add'](_0x3a7d9e['fieldId'])),_0x159564==null||(_0x4481de=_0x159564[_0x37a0f5(0x1ef)])==null||_0x4481de[_0x37a0f5(0x43f)](_0x5e3b53=>_0x523f2a[_0x37a0f5(0x45a)](_0x5e3b53[_0x37a0f5(0x29f)])),_0x523f2a;}[_0x3bf781(0x46a)](_0x3f738b){const _0x264c8f=_0x3bf781;var _0x588471;let _0x78bdf0=this[_0x264c8f(0x1a5)](_0x3f738b);return(_0x588471=_0x3f738b[_0x264c8f(0x32a)])==null||_0x588471[_0x264c8f(0x43f)](_0x2cbbd2=>_0x78bdf0['add'](_0x2cbbd2['fieldId'])),_0x78bdf0;}[_0x3bf781(0x3b8)](_0x5c89e0,_0xc277e0,_0x36c0a8){const _0x56dfff=_0x3bf781;let _0x25b331=_0xc277e0==null?void 0x0:_0xc277e0[_0x56dfff(0x3e7)];if(!(_0x25b331!=null&&_0x25b331['conditions'][_0x56dfff(0x2e1)]))return _0x36c0a8;let _0x38bef6=_0x25b331[_0x56dfff(0x312)]['filter'](_0x12ecd8=>!_0x38ab5e(_0x12ecd8));return _0x38bef6[_0x56dfff(0x2e1)]?_0x36c0a8[_0x56dfff(0x3e7)](_0x1d784f=>{const _0x567bc3=_0x56dfff;if(_0x25b331[_0x567bc3(0x336)]===_0x3ffd4d['BaseFilterConjunction']['OR']){for(let _0x209fb2 of _0x38bef6){let _0x459069=_0x5c89e0[_0x567bc3(0x3b1)][_0x209fb2[_0x567bc3(0x29f)]];if(!_0x459069||this[_0x567bc3(0x46c)][_0x567bc3(0x393)](_0x459069[_0x567bc3(0x2ec)])[_0x567bc3(0x3e7)](_0x1d784f['values'][_0x459069['id']],_0x209fb2[_0x567bc3(0x2c3)],_0x209fb2[_0x567bc3(0x35a)],_0x459069))return!0x0;}return!0x1;}for(let _0x4923c6 of _0x38bef6){let _0x4cca6f=_0x5c89e0[_0x567bc3(0x3b1)][_0x4923c6['fieldId']];if(_0x4cca6f&&!this[_0x567bc3(0x46c)][_0x567bc3(0x393)](_0x4cca6f[_0x567bc3(0x2ec)])[_0x567bc3(0x3e7)](_0x1d784f[_0x567bc3(0x449)][_0x4cca6f['id']],_0x4923c6[_0x567bc3(0x2c3)],_0x4923c6[_0x567bc3(0x35a)],_0x4cca6f))return!0x1;}return!0x0;}):_0x36c0a8;}['_sortRows'](_0x321355,_0x1213c8,_0x27c227){const _0x212863=_0x3bf781;var _0x4831f9;let _0x74c62a=(_0x4831f9=_0x1213c8==null?void 0x0:_0x1213c8[_0x212863(0x1ef)])==null?[]:_0x4831f9;if(!_0x74c62a['length'])return _0x27c227;let _0x220553=_0x74c62a['flatMap'](_0x25811e=>{const _0x50774f=_0x212863;let _0x3b6b4e=_0x321355['fields'][_0x25811e[_0x50774f(0x29f)]];return _0x3b6b4e?[{..._0x25811e,'field':_0x3b6b4e}]:[];});return _0x220553[_0x212863(0x2e1)]?this[_0x212863(0x222)](_0x220553)?this[_0x212863(0x2e3)](_0x220553,_0x27c227):[..._0x27c227][_0x212863(0x1ef)]((_0x10c9f3,_0x43a341)=>{const _0x454533=_0x212863;for(let _0xf8a901 of _0x220553){let _0x48b75e=_0xf8a901[_0x454533(0x189)],_0x23ed3f=this['_fieldRegistry'][_0x454533(0x393)](_0x48b75e[_0x454533(0x2ec)])[_0x454533(0x27a)](_0x10c9f3[_0x454533(0x449)][_0x48b75e['id']],_0x43a341[_0x454533(0x449)][_0x48b75e['id']],_0x48b75e);if(_0x23ed3f!==0x0)return _0xf8a901[_0x454533(0x32f)]===_0x3ffd4d[_0x454533(0x1fd)][_0x454533(0x1ba)]?-_0x23ed3f:_0x23ed3f;}return 0x0;}):_0x27c227;}[_0x3bf781(0x222)](_0x1ba6bd){const _0x4ccbe6=_0x3bf781;return _0x1ba6bd[_0x4ccbe6(0x405)](_0x161c03=>_0x1ab3c2[_0x4ccbe6(0x22a)](_0x161c03[_0x4ccbe6(0x189)][_0x4ccbe6(0x2ec)]));}[_0x3bf781(0x2e3)](_0x464fc6,_0x437e7e){const _0x576941=_0x3bf781;return _0x437e7e['map']((_0x9fc9dc,_0x35004e)=>({'row':_0x9fc9dc,'index':_0x35004e,'keys':_0x464fc6[_0x576941(0x2c0)](_0x23aa3a=>_0x9fc9dc[_0x576941(0x449)][_0x23aa3a['fieldId']])}))[_0x576941(0x1ef)]((_0x58b643,_0x2c97cc)=>{const _0x4c6d96=_0x576941;for(let _0x3057ac=0x0;_0x3057ac<_0x464fc6['length'];_0x3057ac++){let _0x1bef49=_0x57bfa8(_0x58b643['keys'][_0x3057ac],_0x2c97cc[_0x4c6d96(0x3f8)][_0x3057ac]);if(_0x1bef49!==0x0)return _0x464fc6[_0x3057ac]['direction']===_0x3ffd4d['BaseSortDirection'][_0x4c6d96(0x1ba)]?-_0x1bef49:_0x1bef49;}return _0x58b643[_0x4c6d96(0x19b)]-_0x2c97cc['index'];})[_0x576941(0x2c0)](_0xa035f7=>_0xa035f7[_0x576941(0x247)]);}[_0x3bf781(0x3d5)](_0x46633f,_0x240f88,_0x36d96a){const _0x142f2c=_0x3bf781;var _0x257a95,_0x4c3b28;return _0xaf0146(_0x142f2c(0x418),()=>{const _0x395959=_0x142f2c;var _0x163882;if(!((_0x163882=_0x240f88['group'])!=null&&_0x163882[_0x395959(0x2e1)]))return[];let _0x4c9010=_0x240f88[_0x395959(0x32a)]['filter'](_0xb79ca3=>_0x46633f[_0x395959(0x3b1)][_0xb79ca3[_0x395959(0x29f)]]);if(!_0x4c9010['length'])return[];let _0x179c88=this[_0x395959(0x18d)](_0x46633f['id'],_0x240f88,_0x4c9010),_0x112f18=this[_0x395959(0x3eb)](_0x46633f['id']),_0x90f3d4=this[_0x395959(0x20f)][_0x395959(0x393)](_0x179c88);if(_0x90f3d4&&_0x90f3d4[_0x395959(0x28b)]===this[_0x395959(0x2f5)]&&_0x90f3d4[_0x395959(0x37c)]===this[_0x395959(0x31a)](_0x46633f['id'])){if(_0x90f3d4['cellRevision']===_0x112f18&&_0x90f3d4[_0x395959(0x269)]===_0x36d96a)return _0x90f3d4[_0x395959(0x1b5)];if(_0x90f3d4[_0x395959(0x15f)]!==_0x112f18&&!this['_cellInvalidationsTouchFields'](_0x46633f['id'],_0x90f3d4[_0x395959(0x15f)],_0x112f18,this['_groupProjectionFieldIds'](_0x240f88)))return this['_projectedGroupsCache']['set'](_0x179c88,{..._0x90f3d4,'rows':_0x36d96a,'cellRevision':_0x112f18}),_0x90f3d4[_0x395959(0x1b5)];}let _0x325d2e=new Map();for(let _0x32122f of _0x36d96a){let _0x26f4d8=_0x325d2e,_0x384419='';for(let _0x22bb49=0x0;_0x22bb49<_0x4c9010[_0x395959(0x2e1)];_0x22bb49++){let _0x43b21c=_0x4c9010[_0x22bb49],_0x2d0696=_0x32122f[_0x395959(0x449)][_0x43b21c[_0x395959(0x29f)]],_0x22c997=_0x356d8b(_0x2d0696),_0x265158=_0x43b21c[_0x395959(0x29f)]+'\x00'+_0x22c997,_0x10caaa=_0x384419+'/'+_0x43b21c[_0x395959(0x29f)]+':'+_0x22c997,_0xf81035=_0x26f4d8[_0x395959(0x393)](_0x265158);_0xf81035||(_0xf81035={'key':_0x22c997,'value':_0x2d0696,'path':_0x10caaa,'label':_0x22c997||_0x395959(0x215),'fieldId':_0x43b21c['fieldId'],'level':_0x22bb49,'recordIds':[],'children':new Map()},_0x26f4d8[_0x395959(0x2b9)](_0x265158,_0xf81035)),_0xf81035[_0x395959(0x3e3)][_0x395959(0x2af)](_0x32122f[_0x395959(0x2f3)]),_0x26f4d8=_0xf81035['children'],_0x384419=_0x10caaa;}}let _0x463696=this[_0x395959(0x2bf)](_0x4c9010,_0x325d2e,0x0);return this[_0x395959(0x20f)]['set'](_0x179c88,{'table':_0x46633f,'rows':_0x36d96a,'groups':_0x463696,'globalRevision':this[_0x395959(0x2f5)],'tableRevision':this[_0x395959(0x31a)](_0x46633f['id']),'cellRevision':_0x112f18}),_0x463696;},{'tableId':_0x46633f['id'],'viewId':_0x240f88['id'],'viewType':_0x240f88[_0x142f2c(0x2ec)],'rows':_0x36d96a[_0x142f2c(0x2e1)],'groupFields':(_0x257a95=(_0x4c3b28=_0x240f88[_0x142f2c(0x32a)])==null?void 0x0:_0x4c3b28[_0x142f2c(0x2e1)])==null?0x0:_0x257a95});}['_materializeGroups'](_0x5c61bf,_0xb27398,_0x42d3a7){const _0x514390=_0x3bf781;var _0x297047;let _0xe81eb1=Array[_0x514390(0x278)](_0xb27398[_0x514390(0x449)]()),_0x3fad9e=(_0x297047=_0x5c61bf[_0x42d3a7])==null?void 0x0:_0x297047[_0x514390(0x32f)];return _0x3fad9e&&_0xe81eb1[_0x514390(0x1ef)]((_0x5e71e4,_0x3ba1d0)=>{const _0x411e59=_0x514390;let _0x326f7e=_0x5e71e4[_0x411e59(0x34a)][_0x411e59(0x3ce)](_0x3ba1d0[_0x411e59(0x34a)]);return _0x3fad9e===_0x3ffd4d['BaseSortDirection'][_0x411e59(0x1ba)]?-_0x326f7e:_0x326f7e;}),_0xe81eb1[_0x514390(0x2c0)](_0x16c95a=>({'key':_0x16c95a[_0x514390(0x34a)],'value':_0x16c95a['value'],'path':_0x16c95a[_0x514390(0x1aa)],'label':_0x16c95a[_0x514390(0x284)],'fieldId':_0x16c95a[_0x514390(0x29f)],'level':_0x16c95a[_0x514390(0x3d3)],'recordIds':_0x16c95a[_0x514390(0x3e3)],'children':this[_0x514390(0x2bf)](_0x5c61bf,_0x16c95a[_0x514390(0x200)],_0x42d3a7+0x1)}));}[_0x3bf781(0x3a5)](_0x53aa42,_0x297fe8,_0x534c76){const _0x4a76b4=_0x3bf781;let _0x9b8945=_0x534c76==null?_0x53aa42['primaryFieldId']:_0x534c76,_0xf31091=_0x297fe8[_0x4a76b4(0x449)][_0x9b8945];return _0xf31091==null?'':String(_0xf31091);}[_0x3bf781(0x2fc)](_0x5a4c29){const _0x172385=_0x3bf781;if(Array[_0x172385(0x30b)](_0x5a4c29))return _0x5a4c29[_0x172385(0x2c0)](String);if(typeof _0x5a4c29==_0x172385(0x2e9)&&_0x5a4c29)return[_0x5a4c29];}[_0x3bf781(0x1cb)](_0x39dfbf){const _0x3bf997=_0x3bf781;return this['_fieldRegistry'][_0x3bf997(0x393)](_0x39dfbf[_0x3bf997(0x2ec)])[_0x3bf997(0x3fd)](_0x39dfbf);}};_0x2c1f12=_0x3c58c5([_0x5ba4ba(0x0,(0x0,_0x3ffd4d[_0x3bf781(0x35c)])(_0x42616a))],_0x2c1f12);function _0x356d8b(_0x3b055a){return _0x3b055a==null?'':String(_0x3b055a);}function _0x435637(_0x472e69){const _0x48ce9c=_0x3bf781;return new Map(_0x472e69[_0x48ce9c(0x2c0)]((_0x8171c,_0x379b09)=>[_0x8171c[_0x48ce9c(0x2f3)],_0x379b09]));}function _0x5f1015(_0x1a67f4){const _0x54834b=_0x3bf781;return!!(Array['isArray'](_0x1a67f4[_0x54834b(0x19f)])&&_0x1a67f4[_0x54834b(0x491)]&&_0x1a67f4[_0x54834b(0x3e2)]&&_0x1a67f4[_0x54834b(0x395)]&&_0x1a67f4[_0x54834b(0x3d8)]&&_0x1a67f4[_0x54834b(0x434)]);}function _0x5143b7(_0x5d3083){const _0xf5760c=_0x3bf781;return _0x5d3083!=null&&_0x5d3083[_0xf5760c(0x312)]['length']?{'conjunction':_0x5d3083[_0xf5760c(0x336)],'conditions':_0x5d3083[_0xf5760c(0x312)][_0xf5760c(0x2c0)](_0x11f4fe=>({'fieldId':_0x11f4fe[_0xf5760c(0x29f)],'operator':_0x11f4fe[_0xf5760c(0x2c3)],'operand':_0x11f4fe['operand']}))}:null;}function _0x4820a7(_0x4b876e){const _0x215ae8=_0x3bf781;return _0x4b876e!=null&&_0x4b876e['length']?_0x4b876e[_0x215ae8(0x2c0)](_0x38ac71=>({'fieldId':_0x38ac71[_0x215ae8(0x29f)],'direction':_0x38ac71[_0x215ae8(0x32f)]})):null;}function _0x66e291(_0x15a0f9){const _0x2a71b0=_0x3bf781;if(typeof _0x15a0f9!=_0x2a71b0(0x3b2)||!_0x15a0f9){var _0x49fbf2;return(_0x49fbf2=JSON[_0x2a71b0(0x177)](_0x15a0f9))==null?'undefined':_0x49fbf2;}if(Array[_0x2a71b0(0x30b)](_0x15a0f9))return'['+_0x15a0f9['map'](_0x66e291)[_0x2a71b0(0x2ee)](',')+']';let _0x51d641=_0x15a0f9;return'{'+Object[_0x2a71b0(0x3f8)](_0x51d641)[_0x2a71b0(0x1ef)]()['map'](_0x18e7e5=>JSON[_0x2a71b0(0x177)](_0x18e7e5)+':'+_0x66e291(_0x51d641[_0x18e7e5]))[_0x2a71b0(0x2ee)](',')+'}';}function _0x5cf8ba(_0x548919){const _0x5ba5bc=_0x3bf781;let _0x12fc7c=Object[_0x5ba5bc(0x449)](_0x548919)[_0x5ba5bc(0x1ef)]((_0x3134ae,_0xe550d7)=>_0x3134ae[_0x5ba5bc(0x3f5)][_0x5ba5bc(0x3ce)](_0xe550d7['orderKey'])),_0x32a551=[];for(let _0x4142b0 of _0x12fc7c)_0x32a551[_0x5ba5bc(0x2af)](_0x4142b0['id']);return _0x32a551;}let _0x49a2e1=0x5a0*0x3c*0x3e8;function _0x398c48(_0x29c8ca){const _0x1cd0a6=_0x3bf781;return{'weekdays':Array[_0x1cd0a6(0x30b)](_0x29c8ca==null?void 0x0:_0x29c8ca[_0x1cd0a6(0x19a)])&&_0x29c8ca[_0x1cd0a6(0x19a)][_0x1cd0a6(0x2e1)]?[...new Set(_0x29c8ca[_0x1cd0a6(0x19a)][_0x1cd0a6(0x3e7)](_0x118d3a=>Number[_0x1cd0a6(0x33f)](_0x118d3a)&&_0x118d3a>=0x1&&_0x118d3a<=0x7))]:[0x1,0x2,0x3,0x4,0x5],'exceptions':Array['isArray'](_0x29c8ca==null?void 0x0:_0x29c8ca[_0x1cd0a6(0x17b)])?_0x29c8ca[_0x1cd0a6(0x17b)]['flatMap'](_0x3c76f2=>!_0x3c76f2||!Number[_0x1cd0a6(0x272)](_0x3c76f2['date'])?[]:[{'id':String(_0x3c76f2['id']||_0x1cd0a6(0x3f4)+_0x3c76f2[_0x1cd0a6(0x382)]),'date':_0x3201c5(Number(_0x3c76f2['date'])),'name':String(_0x3c76f2[_0x1cd0a6(0x209)]||_0x1cd0a6(0x2ba)),'type':_0x3c76f2['type']==='working'?'working':_0x1cd0a6(0x193)}]):[]};}function _0xbf2389(_0xc8a73,_0x46c626,_0x59b87f,_0x2b28d1){let _0x41529d=_0x343122(_0xc8a73,_0x46c626),_0x4ad69a=_0x2bc762(_0xc8a73,_0x59b87f),_0x2121e8=_0x43c2eb(_0xc8a73,_0x41529d,_0x4ad69a,_0x2b28d1);return{'scale':_0xc8a73,'start':_0x41529d,'end':_0x4ad69a,'unitWidth':_0x3d6f2c(_0xc8a73),'majorHeaders':_0x3d0a2d(_0xc8a73,_0x41529d,_0x4ad69a),'columns':_0x2121e8};}function _0x43c2eb(_0x3fbb8a,_0x32dd36,_0x4fb5b5,_0x587de1){const _0x1ae1ab=_0x3bf781;let _0xabf1d3=[],_0x3b5fda=_0x32dd36;for(;_0x3b5fda<_0x4fb5b5;){let _0x5d8751=_0x3fbb8a===_0x1ae1ab(0x17d)?_0x5f2ab7(_0x3b5fda,0x7):_0x3fbb8a===_0x1ae1ab(0x2b8)?_0x5090e3(_0x3b5fda,0x1):_0x5f2ab7(_0x3b5fda,0x1);_0xabf1d3['push']({'id':_0x3fbb8a+'-'+_0x3b5fda,'label':_0x3f8cfc(_0x3fbb8a,_0x3b5fda,_0x5d8751),'majorLabel':_0x2e928f(_0x3fbb8a,_0x3b5fda),'start':_0x3b5fda,'end':_0x5d8751,'nonWorking':_0x159534(_0x3b5fda,_0x5d8751,_0x587de1)}),_0x3b5fda=_0x5d8751;}return _0xabf1d3;}function _0x3d0a2d(_0x4f4b20,_0x184c16,_0x456860){const _0x186b41=_0x3bf781;let _0xf7465d=[],_0x368d76=_0x4f4b20===_0x186b41(0x2b8)?_0x31eed1(_0x184c16):_0x518209(_0x184c16);for(;_0x368d76<_0x456860;){let _0x397713=_0x4f4b20==='year'?_0x501bd2(_0x368d76,0x1):_0x5090e3(_0x368d76,0x1);_0xf7465d[_0x186b41(0x2af)]({'id':_0x186b41(0x1c5)+_0x368d76,'label':_0x4f4b20===_0x186b41(0x2b8)?String(new Date(_0x368d76)[_0x186b41(0x1e8)]()):_0x3417e6(_0x368d76),'start':_0x368d76,'end':_0x397713}),_0x368d76=_0x397713;}return _0xf7465d;}function _0x3d6f2c(_0x2ef74a){const _0x4e5a7c=_0x3bf781;switch(_0x2ef74a){case _0x4e5a7c(0x218):return 0xac;case'quarter':return 0xac;case _0x4e5a7c(0x2b8):return 0x88;default:return 0x56;}}function _0x343122(_0x236749,_0x16dc63){const _0x263035=_0x3bf781;return _0x236749===_0x263035(0x2b8)?_0x31eed1(_0x16dc63):_0x236749==='quarter'?_0x142852(_0x16dc63):_0x3201c5(_0x16dc63);}function _0x2bc762(_0x58ef2c,_0x1155fe){const _0x2ce11d=_0x3bf781;return _0x58ef2c===_0x2ce11d(0x2b8)?_0x501bd2(_0x31eed1(_0x1155fe),0x1):_0x58ef2c===_0x2ce11d(0x17d)?_0x5f2ab7(_0x142852(_0x1155fe),0x7):_0x5f2ab7(_0x3201c5(_0x1155fe),0x1);}function _0x3f8cfc(_0x13d498,_0x4ddeaf,_0x29f62c){const _0x460b7a=_0x3bf781;let _0x91edf9=new Date(_0x4ddeaf);return _0x13d498===_0x460b7a(0x17d)?_0x91edf9[_0x460b7a(0x489)]()+'-'+new Date(_0x29f62c-_0x49a2e1)[_0x460b7a(0x489)]():_0x13d498===_0x460b7a(0x2b8)?_0x91edf9[_0x460b7a(0x281)](_0x460b7a(0x3b9),{'month':_0x460b7a(0x30e),'timeZone':'UTC'}):String(_0x91edf9[_0x460b7a(0x489)]());}function _0x2e928f(_0x5a6675,_0xa397c9){const _0x39dc0f=_0x3bf781;return _0x5a6675===_0x39dc0f(0x2b8)?String(new Date(_0xa397c9)[_0x39dc0f(0x1e8)]()):_0x3417e6(_0xa397c9);}function _0x1f67b3(_0x3e7988,_0x4b23fe,_0x4d8198){let _0xc6b8f2=_0x398c48(_0x4d8198),_0x3ccf00=0x0;for(let _0x21b4e5=_0x3201c5(_0x3e7988);_0x21b4e5<=_0x3201c5(_0x4b23fe);_0x21b4e5=_0x5f2ab7(_0x21b4e5,0x1))_0x18769b(_0x21b4e5,_0xc6b8f2)||_0x3ccf00++;return _0x3ccf00;}function _0x159534(_0x471331,_0x40932a,_0x1016f5){if(!_0x1016f5)return!0x1;let _0xad7851=_0x398c48(_0x1016f5);for(let _0x5b6dce=_0x3201c5(_0x471331);_0x5b6dce<_0x40932a;_0x5b6dce=_0x5f2ab7(_0x5b6dce,0x1))if(!_0x18769b(_0x5b6dce,_0xad7851))return!0x1;return!0x0;}function _0x18769b(_0x472d1e,_0x320211){const _0x55635d=_0x3bf781;let _0x1c426f=_0x3201c5(_0x472d1e),_0x27dca0=_0x320211[_0x55635d(0x17b)][_0x55635d(0x367)](_0x517742=>_0x3201c5(_0x517742[_0x55635d(0x382)])===_0x1c426f);if(_0x27dca0)return _0x27dca0[_0x55635d(0x2ec)]==='off';let _0x5898c3=new Date(_0x1c426f)[_0x55635d(0x42b)](),_0x463da0=_0x5898c3===0x0?0x7:_0x5898c3;return!_0x320211[_0x55635d(0x19a)][_0x55635d(0x487)](_0x463da0);}function _0x3201c5(_0x21b7b5){const _0x53129c=_0x3bf781;let _0x18b1a4=new Date(_0x21b7b5);return Date[_0x53129c(0x390)](_0x18b1a4[_0x53129c(0x1e8)](),_0x18b1a4[_0x53129c(0x3bc)](),_0x18b1a4['getUTCDate']());}function _0x142852(_0x659943){const _0x4bad25=_0x3bf781;let _0x564ce1=_0x3201c5(_0x659943),_0x1ccd27=new Date(_0x564ce1)[_0x4bad25(0x42b)]();return _0x5f2ab7(_0x564ce1,-(_0x1ccd27===0x0?0x6:_0x1ccd27-0x1));}function _0x518209(_0x3d25c7){const _0x117146=_0x3bf781;let _0x284f03=new Date(_0x3d25c7);return Date['UTC'](_0x284f03[_0x117146(0x1e8)](),_0x284f03[_0x117146(0x3bc)](),0x1);}function _0x31eed1(_0x1dc6eb){let _0x3e276c=new Date(_0x1dc6eb);return Date['UTC'](_0x3e276c['getUTCFullYear'](),0x0,0x1);}function _0x5f2ab7(_0xe3f5d,_0x49d833){return _0xe3f5d+_0x49d833*_0x49a2e1;}function _0x5090e3(_0x597291,_0x58a822){const _0xc11816=_0x3bf781;let _0x3242fb=new Date(_0x597291);return Date[_0xc11816(0x390)](_0x3242fb['getUTCFullYear'](),_0x3242fb[_0xc11816(0x3bc)]()+_0x58a822,0x1);}function _0x501bd2(_0x27c68f,_0x5b46f7){const _0x39de56=_0x3bf781;let _0x2c4718=new Date(_0x27c68f);return Date[_0x39de56(0x390)](_0x2c4718['getUTCFullYear']()+_0x5b46f7,0x0,0x1);}function _0x3417e6(_0x31f611){const _0x5614be=_0x3bf781;let _0x3a3f04=new Date(_0x31f611);return _0x3a3f04['toLocaleString'](_0x5614be(0x3b9),{'month':'short','timeZone':_0x5614be(0x390)})+'\x20'+_0x3a3f04[_0x5614be(0x1e8)]();}function _0x57bfa8(_0x16fc09,_0x376b8f){const _0x159df7=_0x3bf781;if(_0x16fc09==null&&_0x376b8f==null)return 0x0;if(_0x16fc09==null)return-0x1;if(_0x376b8f==null)return 0x1;if(typeof _0x16fc09=='boolean'||typeof _0x376b8f==_0x159df7(0x2c2))return Number(_0x16fc09===!0x0)-Number(_0x376b8f===!0x0);let _0x240647=Number(_0x16fc09),_0x1710c9=Number(_0x376b8f),_0x424781=Number[_0x159df7(0x272)](_0x240647),_0x23734c=Number[_0x159df7(0x272)](_0x1710c9);return _0x424781&&_0x23734c?_0x240647-_0x1710c9:_0x424781?0x1:_0x23734c?-0x1:String(_0x16fc09)['localeCompare'](String(_0x376b8f));}function _0x38ab5e(_0x56db60){const _0x3a9473=_0x3bf781;if(_0x56db60[_0x3a9473(0x2c3)]!=='is'&&_0x56db60[_0x3a9473(0x2c3)]!==_0x3a9473(0x206))return!0x1;let _0x38e92d=_0x56db60[_0x3a9473(0x35a)];return _0x38e92d==null?!0x0:typeof _0x38e92d==_0x3a9473(0x2e9)?_0x38e92d[_0x3a9473(0x187)]()==='':Array[_0x3a9473(0x30b)](_0x38e92d)?_0x38e92d['length']===0x0:!0x1;}function _0x54212f(_0x8716f5,_0x35e233){const _0x48880a=_0x3bf781;var _0x21bff6;let _0x1b5663=Array[_0x48880a(0x30b)]((_0x21bff6=_0x8716f5['config'])==null?void 0x0:_0x21bff6[_0x48880a(0x310)])?_0x8716f5[_0x48880a(0x1a3)][_0x48880a(0x310)]:[];for(let _0xa2e528 of _0x1b5663){var _0x143122,_0x29f98d,_0x1e4c51,_0x314bcc;if(_0xa2e528==null)continue;if(typeof _0xa2e528==_0x48880a(0x2e9)){if(_0xa2e528===_0x35e233)return{'id':_0xa2e528,'name':_0xa2e528};continue;}let _0x21d31e=_0xa2e528,_0x2e72ce=String((_0x143122=(_0x29f98d=_0x21d31e['id'])==null?_0x21d31e['name']:_0x29f98d)==null?'':_0x143122),_0xeb8b8d=String((_0x1e4c51=(_0x314bcc=_0x21d31e[_0x48880a(0x209)])==null?_0x21d31e['id']:_0x314bcc)==null?_0x2e72ce:_0x1e4c51);if(_0x2e72ce===_0x35e233||_0xeb8b8d===_0x35e233)return{'id':_0x2e72ce,'name':_0xeb8b8d,'color':_0x21d31e[_0x48880a(0x24c)]==null?void 0x0:String(_0x21d31e[_0x48880a(0x24c)])};}return null;}let _0x225ef4={'id':_0x3bf781(0x48a),'type':_0x3ffd4d[_0x3bf781(0x415)][_0x3bf781(0x263)],'handler'(_0x97f2d9,_0x540c5e){const _0x62de8a=_0x3bf781;let {unitId:_0x596e0f,op:_0x3794f8}=_0x540c5e,_0x2dc400=_0x97f2d9[_0x62de8a(0x393)](_0x3ffd4d[_0x62de8a(0x1cd)])[_0x62de8a(0x224)](_0x596e0f,_0x3ffd4d[_0x62de8a(0x433)][_0x62de8a(0x314)]);if(!_0x2dc400)return!0x1;let _0x57f723=_0x2dc400[_0x62de8a(0x313)](),_0x1699e3=new _0x2d39fe(),_0x322cef=_0x1699e3[_0x62de8a(0x437)](_0x3794f8),_0x57f893=_0x1699e3[_0x62de8a(0x3dc)](_0x57f723,_0x3794f8);return _0x2dc400[_0x62de8a(0x386)](_0x57f893),_0x8f9eb1(_0x57f893,_0x322cef,_0x97f2d9[_0x62de8a(0x393)](_0x545217)),!0x0;}};function _0x8f9eb1(_0x293d96,_0x48bd89,_0x568575){const _0x11e713=_0x3bf781;let _0x5277ba=new Set();for(let _0x598e11 of _0x48bd89){if(_0x598e11[_0x11e713(0x29e)]!==_0x11e713(0x1b8)){_0x568575[_0x11e713(0x3bf)]();return;}let _0x4bad0b=_0x1acef9(_0x293d96,_0x598e11);if(!_0x4bad0b){_0x568575[_0x11e713(0x3bf)]();return;}let _0x3f5e3c=_0x4bad0b[_0x11e713(0x1fe)]+'\x00'+_0x4bad0b[_0x11e713(0x2f3)]+'\x00'+_0x4bad0b['fieldId'];_0x5277ba['has'](_0x3f5e3c)||(_0x5277ba[_0x11e713(0x45a)](_0x3f5e3c),_0x568575[_0x11e713(0x358)](_0x4bad0b[_0x11e713(0x1fe)],_0x4bad0b['recordId'],_0x4bad0b['fieldId']));}}function _0x1acef9(_0x1d0886,_0x165408){const _0x42f9db=_0x3bf781;var _0x45e0d4,_0x4eced6;if(!_0x165408[_0x42f9db(0x1fe)])return null;if(_0x165408[_0x42f9db(0x2f3)]&&_0x165408['fieldId'])return{'tableId':_0x165408[_0x42f9db(0x1fe)],'recordId':_0x165408[_0x42f9db(0x2f3)],'fieldId':_0x165408[_0x42f9db(0x29f)]};if(_0x165408['row']==null||_0x165408[_0x42f9db(0x17a)]==null)return null;let _0x561a2a=_0x1d0886['tables'][_0x165408[_0x42f9db(0x1fe)]],_0x1a00ba=_0x561a2a==null||(_0x45e0d4=_0x561a2a[_0x42f9db(0x3e2)])==null?void 0x0:_0x45e0d4[_0x165408[_0x42f9db(0x247)]],_0x31d2c7=_0x561a2a==null||(_0x4eced6=_0x561a2a[_0x42f9db(0x3d8)])==null?void 0x0:_0x4eced6[_0x165408[_0x42f9db(0x17a)]];return!_0x1a00ba||!_0x31d2c7?null:{'tableId':_0x165408[_0x42f9db(0x1fe)],'recordId':_0x1a00ba,'fieldId':_0x31d2c7};}function _0x28cb01(_0x190cf9,_0x51efe6,_0x4feb05){const _0x18b589=_0x3bf781;let _0x550b1e=_0x190cf9['getSnapshot']()[_0x18b589(0x38a)][_0x51efe6];if(!_0x550b1e)return!0x1;let {viewIds:_0x3c6b62,fieldIds:_0x21b1cc,recordIds:_0x546e6a}=_0x4feb05||{};if(_0x3c6b62){for(let _0x20e5e8 of _0x3c6b62)if(!_0x550b1e[_0x18b589(0x37f)][_0x20e5e8])return!0x1;}if(_0x21b1cc){for(let _0xd1c0e1 of _0x21b1cc)if(!_0x550b1e[_0x18b589(0x3b1)][_0xd1c0e1])return!0x1;}if(_0x546e6a){for(let _0x26803e of _0x546e6a)if(!_0x550b1e[_0x18b589(0x25f)][_0x26803e])return!0x1;}return!0x0;}let _0x32887a={'id':'base.command.batch-create-base-records','type':_0x3ffd4d['CommandType'][_0x3bf781(0x475)],'handler'(_0x592d7d,_0x552bde){const _0x47c19e=_0x3bf781;if(!_0x552bde)return!0x1;let _0x307efd=_0x592d7d[_0x47c19e(0x393)](_0x3ffd4d[_0x47c19e(0x1cd)]),{unitId:_0x25e01e,tableId:_0x116323,records:_0x3a98f7}=_0x552bde,_0x319bb3=_0x307efd[_0x47c19e(0x224)](_0x25e01e,_0x3ffd4d[_0x47c19e(0x433)][_0x47c19e(0x314)]),_0x2a5211=_0x3a98f7['map'](_0x678849=>_0x678849['id']);if(!_0x319bb3||!_0x28cb01(_0x319bb3,_0x116323)||new Set(_0x2a5211)[_0x47c19e(0x30f)]!==_0x2a5211[_0x47c19e(0x2e1)]||_0x2a5211[_0x47c19e(0x2fa)](_0x1fe21f=>_0x319bb3[_0x47c19e(0x313)]()[_0x47c19e(0x38a)][_0x116323]['records'][_0x1fe21f]))return!0x1;let _0x4a8ffe=_0x592d7d[_0x47c19e(0x393)](_0x3ffd4d[_0x47c19e(0x318)]),_0x20efcf=_0x592d7d[_0x47c19e(0x393)](_0x3ffd4d['IUndoRedoService']),_0x462018=_0x592d7d[_0x47c19e(0x393)](_0x48571e)[_0x47c19e(0x31d)](_0x319bb3,_0x116323,_0x3a98f7),_0x4c8ba6=new _0x2d39fe()['invertOp'](_0x319bb3['getSnapshot'](),_0x462018),_0x1c3c90={'unitId':_0x25e01e,'op':_0x462018},_0x2db6f6={'unitId':_0x25e01e,'op':_0x4c8ba6};return _0x4a8ffe['syncExecuteCommand'](_0x225ef4['id'],_0x1c3c90)?(_0x307efd[_0x47c19e(0x400)](_0x25e01e),_0x20efcf[_0x47c19e(0x1cc)]({'unitID':_0x25e01e,'undoMutations':[{'id':_0x225ef4['id'],'params':_0x2db6f6}],'redoMutations':[{'id':_0x225ef4['id'],'params':_0x1c3c90}]}),!0x0):!0x1;}},_0x290875={'id':_0x3bf781(0x2c6),'type':_0x3ffd4d['CommandType'][_0x3bf781(0x475)],'handler':(_0x53aa86,_0x28411d)=>{const _0x2af415=_0x3bf781;if(!_0x28411d)return!0x1;let _0x1608bc=_0x53aa86['get'](_0x3ffd4d[_0x2af415(0x1cd)]),{unitId:_0x10bfbf,tableId:_0x1c7269,recordIds:_0x56bb48}=_0x28411d,_0x22d38c=_0x1608bc[_0x2af415(0x224)](_0x10bfbf,_0x3ffd4d['UniverInstanceType'][_0x2af415(0x314)]);if(!_0x22d38c||!_0x28cb01(_0x22d38c,_0x1c7269,{'recordIds':_0x56bb48}))return!0x1;let _0x5110cf=_0x53aa86[_0x2af415(0x393)](_0x3ffd4d['ICommandService']),_0x14d007=_0x53aa86[_0x2af415(0x393)](_0x3ffd4d['IUndoRedoService']),_0x578816=_0x22d38c[_0x2af415(0x313)](),_0x5a8ba9=new _0x5e5613()[_0x2af415(0x351)](_0x578816,_0x1c7269,_0x56bb48),_0xcda355=new _0x2d39fe()[_0x2af415(0x24f)](_0x578816,_0x5a8ba9),_0x508408={'unitId':_0x10bfbf,'op':_0x5a8ba9},_0x154fd8={'unitId':_0x10bfbf,'op':_0xcda355};return _0x5110cf['syncExecuteCommand'](_0x225ef4['id'],_0x508408)?(_0x1608bc[_0x2af415(0x400)](_0x10bfbf),_0x14d007['pushUndoRedo']({'unitID':_0x10bfbf,'undoMutations':[{'id':_0x225ef4['id'],'params':_0x154fd8}],'redoMutations':[{'id':_0x225ef4['id'],'params':_0x508408}]}),!0x0):!0x1;}},_0xa5c6f6={'id':_0x3bf781(0x1f6),'type':_0x3ffd4d[_0x3bf781(0x415)][_0x3bf781(0x475)],'handler':(_0x4a30ab,_0x445315)=>{const _0x4b43d5=_0x3bf781;if(!_0x445315)return!0x1;let _0x187723=_0x4a30ab[_0x4b43d5(0x393)](_0x3ffd4d['IUniverInstanceService']),{unitId:_0x5175ef,tableId:_0x429d8c,fieldId:_0x722216,input:_0x562ddd}=_0x445315,_0x169b63=_0x187723[_0x4b43d5(0x224)](_0x5175ef,_0x3ffd4d[_0x4b43d5(0x433)][_0x4b43d5(0x314)]);if(!_0x169b63||!_0x28cb01(_0x169b63,_0x429d8c,{'fieldIds':[_0x722216]}))return!0x1;let _0x24b04a=_0x4a30ab['get'](_0x3ffd4d[_0x4b43d5(0x318)]),_0x2bf641=_0x4a30ab['get'](_0x3ffd4d['IUndoRedoService']),_0x31d3bb=_0x169b63['getSnapshot'](),_0x29cf89=new _0x5e5613()['changeFieldType'](_0x31d3bb,_0x429d8c,_0x722216,_0x562ddd),_0x515d8c=new _0x2d39fe()['invertOp'](_0x31d3bb,_0x29cf89),_0x5405b2={'unitId':_0x5175ef,'op':_0x29cf89},_0x5cd656={'unitId':_0x5175ef,'op':_0x515d8c};return _0x24b04a[_0x4b43d5(0x2b7)](_0x225ef4['id'],_0x5405b2)?(_0x187723['focusUnit'](_0x5175ef),_0x2bf641['pushUndoRedo']({'unitID':_0x5175ef,'undoMutations':[{'id':_0x225ef4['id'],'params':_0x5cd656}],'redoMutations':[{'id':_0x225ef4['id'],'params':_0x5405b2}]}),!0x0):!0x1;}},_0x60800f={'id':_0x3bf781(0x266),'type':_0x3ffd4d['CommandType']['COMMAND'],'handler'(_0x4e660a,_0x546663){const _0x343ba1=_0x3bf781;if(!_0x546663)return!0x1;let _0x433ef3=_0x4e660a[_0x343ba1(0x393)](_0x3ffd4d['IUniverInstanceService']),{unitId:_0x30e2e8,tableId:_0x273a8b,field:_0x572178,index:_0x180c0c,viewIndexes:_0x10fe4c}=_0x546663,_0x1650a3=_0x433ef3[_0x343ba1(0x224)](_0x30e2e8,_0x3ffd4d[_0x343ba1(0x433)][_0x343ba1(0x314)]);if(!_0x1650a3||!_0x28cb01(_0x1650a3,_0x273a8b)||_0x1650a3[_0x343ba1(0x313)]()[_0x343ba1(0x38a)][_0x273a8b]['fields'][_0x572178['id']])return!0x1;let _0x27b7c6=_0x4e660a[_0x343ba1(0x393)](_0x3ffd4d[_0x343ba1(0x318)]),_0x4cbde2=_0x4e660a[_0x343ba1(0x393)](_0x3ffd4d['IUndoRedoService']),_0x677093=_0x4e660a[_0x343ba1(0x393)](_0x48571e)[_0x343ba1(0x2e2)](_0x1650a3,_0x273a8b,_0x572178,_0x180c0c,_0x10fe4c),_0x9e9f1b=new _0x2d39fe()[_0x343ba1(0x24f)](_0x1650a3['getSnapshot'](),_0x677093),_0xfccb2f={'unitId':_0x30e2e8,'op':_0x677093},_0x455d03={'unitId':_0x30e2e8,'op':_0x9e9f1b};return _0x27b7c6[_0x343ba1(0x2b7)](_0x225ef4['id'],_0xfccb2f)?(_0x433ef3[_0x343ba1(0x400)](_0x30e2e8),_0x4cbde2[_0x343ba1(0x1cc)]({'unitID':_0x30e2e8,'undoMutations':[{'id':_0x225ef4['id'],'params':_0x455d03}],'redoMutations':[{'id':_0x225ef4['id'],'params':_0xfccb2f}]}),!0x0):!0x1;}},_0x398914={'id':_0x3bf781(0x43b),'type':_0x3ffd4d['CommandType'][_0x3bf781(0x475)],'handler'(_0x4ee120,_0xd637e7){const _0x2b80b8=_0x3bf781;if(!_0xd637e7)return!0x1;let _0x4f4a73=_0x4ee120[_0x2b80b8(0x393)](_0x3ffd4d[_0x2b80b8(0x1cd)]),{unitId:_0x154cc5,tableId:_0x1916a4,record:_0x159658}=_0xd637e7,_0x2a2605=_0x4f4a73[_0x2b80b8(0x224)](_0x154cc5,_0x3ffd4d[_0x2b80b8(0x433)]['UNIVER_BASE']);if(!_0x2a2605||!_0x28cb01(_0x2a2605,_0x1916a4)||_0x2a2605[_0x2b80b8(0x313)]()[_0x2b80b8(0x38a)][_0x1916a4][_0x2b80b8(0x25f)][_0x159658['id']])return!0x1;let _0x2c006c=_0x4ee120['get'](_0x3ffd4d['ICommandService']),_0x454949=_0x4ee120['get'](_0x3ffd4d['IUndoRedoService']),_0x318a3d=_0x4ee120[_0x2b80b8(0x393)](_0x48571e)[_0x2b80b8(0x353)](_0x2a2605,_0x1916a4,_0x159658),_0x326826=new _0x2d39fe()[_0x2b80b8(0x24f)](_0x2a2605[_0x2b80b8(0x313)](),_0x318a3d),_0x1b75d7={'unitId':_0x154cc5,'op':_0x318a3d},_0xb375c5={'unitId':_0x154cc5,'op':_0x326826};return _0x2c006c[_0x2b80b8(0x2b7)](_0x225ef4['id'],_0x1b75d7)?(_0x4f4a73[_0x2b80b8(0x400)](_0x154cc5),_0x454949[_0x2b80b8(0x1cc)]({'unitID':_0x154cc5,'undoMutations':[{'id':_0x225ef4['id'],'params':_0xb375c5}],'redoMutations':[{'id':_0x225ef4['id'],'params':_0x1b75d7}]}),!0x0):!0x1;}},_0xf47a16={'id':'base.command.create-base-table','type':_0x3ffd4d['CommandType'][_0x3bf781(0x475)],'handler':(_0x3f30fb,_0x57588b)=>{const _0x3da487=_0x3bf781;if(!_0x57588b)return!0x1;let _0x4700ac=_0x3f30fb[_0x3da487(0x393)](_0x3ffd4d[_0x3da487(0x1cd)]),{unitId:_0x4240ab,table:_0x3d186f,index:_0x25a55e}=_0x57588b,_0xa54776=_0x4700ac[_0x3da487(0x224)](_0x4240ab,_0x3ffd4d[_0x3da487(0x433)][_0x3da487(0x314)]);if(!_0xa54776||_0xa54776['getSnapshot']()['tables'][_0x3d186f['id']])return!0x1;let _0x5edd12=_0x3f30fb['get'](_0x3ffd4d[_0x3da487(0x318)]),_0x499fd6=_0x3f30fb[_0x3da487(0x393)](_0x3ffd4d['IUndoRedoService']),_0x26fde5=_0xa54776['getSnapshot'](),_0x57e019={..._0x3d186f,'name':_0xa54776[_0x3da487(0x216)](_0x3d186f[_0x3da487(0x209)])},_0x38e99e=new _0x5e5613()[_0x3da487(0x264)](_0x26fde5,_0x57e019,_0x25a55e),_0x29d1bb=new _0x2d39fe()['invertOp'](_0x26fde5,_0x38e99e),_0x1e62ca={'unitId':_0x4240ab,'op':_0x38e99e},_0x348b1f={'unitId':_0x4240ab,'op':_0x29d1bb};return _0x5edd12['syncExecuteCommand'](_0x225ef4['id'],_0x1e62ca)?(_0x4700ac[_0x3da487(0x400)](_0x4240ab),_0x499fd6[_0x3da487(0x1cc)]({'unitID':_0x4240ab,'undoMutations':[{'id':_0x225ef4['id'],'params':_0x348b1f}],'redoMutations':[{'id':_0x225ef4['id'],'params':_0x1e62ca}]}),!0x0):!0x1;}};function _0x43e962(_0x409788,_0x3825a4,_0x349609=[]){const _0x59c14b=_0x3bf781;let _0x1bac57=new Set([...Object[_0x59c14b(0x449)](_0x409788[_0x59c14b(0x3b1)])[_0x59c14b(0x3e7)](_0x5e49f7=>_0x5e49f7)[_0x59c14b(0x2c0)](_0x192a6a=>_0x192a6a[_0x59c14b(0x209)]),..._0x349609[_0x59c14b(0x2c0)](_0x58873e=>_0x58873e[_0x59c14b(0x209)])]);if(!_0x1bac57['has'](_0x3825a4))return _0x3825a4;let _0x2ba6b2=0x2;for(;_0x1bac57['has'](_0x3825a4+'\x20'+_0x2ba6b2);)_0x2ba6b2++;return _0x3825a4+'\x20'+_0x2ba6b2;}function _0x49bf30(_0x47462b,_0x2591d3){const _0x1123b4=_0x3bf781;if(!_0x47462b||!_0x2591d3[_0x1123b4(0x2e1)])return;let _0x57a062=[..._0x47462b];return _0x2591d3[_0x1123b4(0x43f)](_0x51ac4f=>{_0x57a062['includes'](_0x51ac4f)||_0x57a062['push'](_0x51ac4f);}),_0x57a062;}let _0x48dcd7={'options':[{'id':_0x3bf781(0x4a0),'name':_0x3bf781(0x392),'color':_0x3bf781(0x35e)},{'id':_0x3bf781(0x2ff),'name':_0x3bf781(0x1bb),'color':_0x3bf781(0x23b)},{'id':_0x3bf781(0x424),'name':_0x3bf781(0x235),'color':_0x3bf781(0x2ca)}]},_0x195888={'locale':_0x3bf781(0x3b9),'pattern':_0x3bf781(0x410),'includeTime':!0x1,'hourCycle':_0x3bf781(0x39d),'defaultMode':'none'};function _0x54a183(_0x5b96cb,_0x172582,_0x2145db,_0x39439c){const _0x48bd06=_0x3bf781;var _0x3d0054;let _0x9c169=new _0x5e5613(),_0x34a02a=_0x5b96cb[_0x48bd06(0x38a)][_0x172582];if(_0x34a02a&&_0x2145db[_0x48bd06(0x2ec)]===_0x48bd06(0x181)){var _0x208289;let _0x3a791c=_0x36a66d(_0x34a02a,_0x2145db),_0xe50ce8=_0x3a791c[_0x48bd06(0x3e4)]?{..._0x2145db,'config':_0x3a791c[_0x48bd06(0x1a3)],'fieldOrder':(_0x208289=_0x3a791c[_0x48bd06(0x2a8)])==null?_0x2145db[_0x48bd06(0x2a8)]:_0x208289}:_0x2145db;return _0x6bf7b1([..._0x3a791c[_0x48bd06(0x3b1)][_0x48bd06(0x2c0)](_0x57dbb4=>_0x9c169[_0x48bd06(0x42f)](_0x5b96cb,_0x172582,{'field':_0x57dbb4})),_0x9c169['createView'](_0x5b96cb,_0x172582,_0xe50ce8,_0x39439c)]);}if(!_0x34a02a||_0x2145db[_0x48bd06(0x2ec)]!==_0x48bd06(0x3ad)&&_0x2145db['type']!=='gantt')return _0x9c169[_0x48bd06(0x1ab)](_0x5b96cb,_0x172582,_0x2145db,_0x39439c);let _0x347938=_0x2a4073(_0x34a02a,_0x2145db),_0x227679=_0x347938[_0x48bd06(0x3e4)]?{..._0x2145db,'config':_0x347938[_0x48bd06(0x1a3)],'fieldOrder':(_0x3d0054=_0x347938[_0x48bd06(0x2a8)])==null?_0x2145db[_0x48bd06(0x2a8)]:_0x3d0054}:_0x2145db;return _0x2145db[_0x48bd06(0x2ec)]===_0x48bd06(0x470)&&_0x583e59(_0x2145db)&&(_0x227679=_0x15b2f5(_0x34a02a,_0x227679,_0x347938[_0x48bd06(0x3b1)])),_0x6bf7b1([..._0x347938[_0x48bd06(0x3b1)][_0x48bd06(0x2c0)](_0x3cf260=>_0x9c169[_0x48bd06(0x42f)](_0x5b96cb,_0x172582,{'field':_0x3cf260})),_0x9c169[_0x48bd06(0x1ab)](_0x5b96cb,_0x172582,_0x227679,_0x39439c)]);}function _0x2a4073(_0x3a2424,_0x32559c,_0x3f801a=!0x1){const _0x529dce=_0x3bf781;var _0x5654a4,_0x354484,_0x1a1141,_0xaca78d;let _0x586494=_0x3a2424[_0x529dce(0x2a8)]['filter'](_0x36dd51=>_0x597613(_0x3a2424,_0x36dd51)),_0x566194=[],_0x595aa9={...(_0x5654a4=_0x32559c[_0x529dce(0x1a3)])==null?{}:_0x5654a4},_0x494c7a=typeof _0x595aa9[_0x529dce(0x499)]==_0x529dce(0x2e9)&&_0x597613(_0x3a2424,_0x595aa9[_0x529dce(0x499)])?_0x595aa9[_0x529dce(0x499)]:_0x586494[0x0],_0x52a071=typeof _0x595aa9[_0x529dce(0x36b)]==_0x529dce(0x2e9)&&_0x597613(_0x3a2424,_0x595aa9[_0x529dce(0x36b)])&&_0x595aa9[_0x529dce(0x36b)]!==_0x494c7a?_0x595aa9[_0x529dce(0x36b)]:_0x586494[_0x529dce(0x367)](_0x408788=>_0x408788!==_0x494c7a);if(!_0x494c7a){let _0x5a0c2e=_0x4550c1(_0x3a2424,_0x566194,_0x32559c[_0x529dce(0x2ec)]===_0x529dce(0x470)?_0x529dce(0x3de):_0x529dce(0x2a4));_0x566194[_0x529dce(0x2af)](_0x5a0c2e),_0x494c7a=_0x5a0c2e['id'];}if((_0x32559c[_0x529dce(0x2ec)]===_0x529dce(0x470)||_0x3f801a)&&!_0x52a071){let _0x11509d=_0x4550c1(_0x3a2424,_0x566194,'End\x20date');_0x566194[_0x529dce(0x2af)](_0x11509d),_0x52a071=_0x11509d['id'];}if(_0x32559c[_0x529dce(0x2ec)]===_0x529dce(0x3ad)&&!_0x52a071&&delete _0x595aa9[_0x529dce(0x36b)],_0x595aa9[_0x529dce(0x499)]=_0x494c7a,_0x32559c[_0x529dce(0x2ec)]===_0x529dce(0x3ad)&&_0x52a071&&(_0x595aa9[_0x529dce(0x36b)]=_0x52a071),_0x32559c[_0x529dce(0x2ec)]===_0x529dce(0x470)){var _0x37ec9f;_0x595aa9[_0x529dce(0x36b)]=(_0x37ec9f=_0x52a071)==null?_0x494c7a:_0x37ec9f;}let _0x405e65=_0x49bf30(_0x32559c[_0x529dce(0x2a8)],_0x566194[_0x529dce(0x2c0)](_0x17c314=>_0x17c314['id']));return{'changed':_0x566194[_0x529dce(0x2e1)]>0x0||_0x595aa9['startDateFieldId']!==((_0x354484=_0x32559c[_0x529dce(0x1a3)])==null?void 0x0:_0x354484[_0x529dce(0x499)])||_0x595aa9['endDateFieldId']!==((_0x1a1141=_0x32559c[_0x529dce(0x1a3)])==null?void 0x0:_0x1a1141[_0x529dce(0x36b)])||!!(_0x405e65&&!_0x3ffd4d['Tools'][_0x529dce(0x45c)](_0x405e65,(_0xaca78d=_0x32559c[_0x529dce(0x2a8)])==null?[]:_0xaca78d)),'fields':_0x566194,'config':_0x595aa9,'fieldOrder':_0x405e65};}function _0x36a66d(_0x4ae323,_0x4c87dc){const _0xfd8e10=_0x3bf781;var _0x480f91,_0x1622c3,_0x4febff;let _0xea3eaa=[],_0x235789={...(_0x480f91=_0x4c87dc['config'])==null?{}:_0x480f91},_0x5161e1=typeof _0x235789[_0xfd8e10(0x388)]=='string'&&_0x135da5(_0x4ae323,_0x235789[_0xfd8e10(0x388)])?_0x235789[_0xfd8e10(0x388)]:_0x4ae323[_0xfd8e10(0x2a8)]['find'](_0x4b374a=>_0x135da5(_0x4ae323,_0x4b374a));if(!_0x5161e1){let _0x233f3a=_0x2e3800(_0x4ae323,_0xea3eaa);_0xea3eaa[_0xfd8e10(0x2af)](_0x233f3a),_0x5161e1=_0x233f3a['id'];}_0x235789[_0xfd8e10(0x388)]=_0x5161e1;let _0xdd194d=_0x49bf30(_0x4c87dc['fieldOrder'],_0xea3eaa['map'](_0x2bb684=>_0x2bb684['id']));return{'changed':_0xea3eaa[_0xfd8e10(0x2e1)]>0x0||_0x235789[_0xfd8e10(0x388)]!==((_0x1622c3=_0x4c87dc['config'])==null?void 0x0:_0x1622c3[_0xfd8e10(0x388)])||!!(_0xdd194d&&!_0x3ffd4d['Tools']['diffValue'](_0xdd194d,(_0x4febff=_0x4c87dc[_0xfd8e10(0x2a8)])==null?[]:_0x4febff)),'fields':_0xea3eaa,'config':_0x235789,'fieldOrder':_0xdd194d};}function _0x135da5(_0x3dca1d,_0x6b0a9e){const _0x4dd614=_0x3bf781;let _0x346c5e=_0x6b0a9e?_0x3dca1d[_0x4dd614(0x3b1)][_0x6b0a9e]:null;return _0x346c5e?[_0x3ffd4d[_0x4dd614(0x376)][_0x4dd614(0x44f)],_0x3ffd4d[_0x4dd614(0x376)][_0x4dd614(0x36f)],_0x3ffd4d[_0x4dd614(0x376)][_0x4dd614(0x1d7)],_0x3ffd4d[_0x4dd614(0x376)][_0x4dd614(0x2a3)],_0x3ffd4d[_0x4dd614(0x376)][_0x4dd614(0x34d)],_0x3ffd4d[_0x4dd614(0x376)][_0x4dd614(0x2b1)]][_0x4dd614(0x487)](_0x346c5e[_0x4dd614(0x2ec)]):!0x1;}function _0x2e3800(_0x4c59c6,_0x49a746){const _0x3cda92=_0x3bf781;return{'id':_0x3cda92(0x1ed)+(0x0,_0x3ffd4d[_0x3cda92(0x458)])(0x8),'name':_0x43e962(_0x4c59c6,'Status',_0x49a746),'type':_0x3ffd4d['BaseFieldType']['SingleSelect'],'config':_0x3ffd4d['Tools'][_0x3cda92(0x2fd)](_0x48dcd7)};}function _0x583e59(_0xcc1262){const _0x400fd4=_0x3bf781;var _0x42dd3c,_0x500d29;return Object[_0x400fd4(0x3f8)]((_0x42dd3c=_0xcc1262[_0x400fd4(0x1a3)])==null?{}:_0x42dd3c)['length']===0x0&&Object['keys']((_0x500d29=_0xcc1262[_0x400fd4(0x231)])==null?{}:_0x500d29)[_0x400fd4(0x2e1)]===0x0;}function _0x15b2f5(_0x1ab3e9,_0x4220cb,_0x40716e){const _0x44762a=_0x3bf781;var _0x4a85f2;let _0xa699be={...(_0x4a85f2=_0x4220cb[_0x44762a(0x1a3)])==null?{}:_0x4a85f2},_0x4afd69=_0x40716e[_0x44762a(0x2c0)](_0x58292b=>_0x58292b['id']),_0xb705c=[..._0x1ab3e9[_0x44762a(0x2a8)],..._0x4afd69],_0x37ed1a=typeof _0xa699be[_0x44762a(0x45e)]==_0x44762a(0x2e9)&&_0x29f9ec(_0x1ab3e9,_0x40716e,_0xa699be[_0x44762a(0x45e)])?_0xa699be[_0x44762a(0x45e)]:_0x1ab3e9['primaryFieldId'],_0x3fd9ae=typeof _0xa699be[_0x44762a(0x499)]==_0x44762a(0x2e9)?_0xa699be['startDateFieldId']:'',_0x21a833=typeof _0xa699be[_0x44762a(0x36b)]==_0x44762a(0x2e9)?_0xa699be['endDateFieldId']:_0x3fd9ae,_0x9e10e=new Set([_0x37ed1a,_0x3fd9ae,_0x21a833]['filter'](_0x5af9f5=>_0x5af9f5&&_0x29f9ec(_0x1ab3e9,_0x40716e,_0x5af9f5))),_0x1a6b93=Object[_0x44762a(0x234)](_0xb705c[_0x44762a(0x1db)](_0x3995ec=>_0x9e10e[_0x44762a(0x22a)](_0x3995ec)||!_0x29f9ec(_0x1ab3e9,_0x40716e,_0x3995ec)?[]:[[_0x3995ec,{'hidden':!0x0}]]));return{..._0x4220cb,'config':{..._0xa699be,'titleFieldId':_0x37ed1a},'fieldSettings':_0x1a6b93};}function _0x29f9ec(_0x4e7081,_0x5125ae,_0x358957){const _0x597931=_0x3bf781;var _0x4ab350;return!!((_0x4ab350=_0x4e7081[_0x597931(0x3b1)][_0x358957])==null?_0x5125ae[_0x597931(0x367)](_0xd55bcb=>_0xd55bcb['id']===_0x358957):_0x4ab350)&&!0x0;}function _0x597613(_0x573a1e,_0xb69a91){const _0x35b191=_0x3bf781;let _0x3319b3=_0xb69a91?_0x573a1e['fields'][_0xb69a91]:null;return!!_0x3319b3&&_0x3319b3[_0x35b191(0x2ec)]===_0x3ffd4d['BaseFieldType'][_0x35b191(0x2a4)]&&_0x3319b3['readonly']!==!0x0&&_0x3319b3[_0x35b191(0x230)]!==!0x0;}function _0x4550c1(_0x32634f,_0x22ae82,_0x39998a){const _0x5b0cc0=_0x3bf781;let _0x427916=new Set([...Object[_0x5b0cc0(0x3f8)](_0x32634f['fields']),..._0x22ae82[_0x5b0cc0(0x2c0)](_0x14a624=>_0x14a624['id'])]),_0x526760=_0x5b0cc0(0x1ed)+(0x0,_0x3ffd4d[_0x5b0cc0(0x458)])(0x8);for(;_0x427916[_0x5b0cc0(0x22a)](_0x526760);)_0x526760=_0x5b0cc0(0x1ed)+(0x0,_0x3ffd4d['generateRandomId'])(0x8);return{'id':_0x526760,'name':_0x43e962(_0x32634f,_0x39998a,_0x22ae82),'type':_0x3ffd4d[_0x5b0cc0(0x376)]['Date'],'config':{..._0x195888}};}let _0x5355f1={'id':_0x3bf781(0x454),'type':_0x3ffd4d[_0x3bf781(0x415)]['COMMAND'],'handler':(_0x2050bb,_0x3416ab)=>{const _0xf66307=_0x3bf781;if(!_0x3416ab)return!0x1;let _0x320f80=_0x2050bb[_0xf66307(0x393)](_0x3ffd4d['IUniverInstanceService']),{unitId:_0x3c1588,tableId:_0x443d3e,view:_0x203dc4,index:_0x2e80cc}=_0x3416ab,_0x32ff36=_0x320f80[_0xf66307(0x224)](_0x3c1588,_0x3ffd4d[_0xf66307(0x433)][_0xf66307(0x314)]);if(!_0x32ff36||!_0x28cb01(_0x32ff36,_0x443d3e)||_0x32ff36[_0xf66307(0x313)]()[_0xf66307(0x38a)][_0x443d3e][_0xf66307(0x37f)][_0x203dc4['id']])return!0x1;let _0x4e2f75=_0x2050bb[_0xf66307(0x393)](_0x3ffd4d[_0xf66307(0x318)]),_0x446141=_0x2050bb['get'](_0x3ffd4d[_0xf66307(0x190)]),_0x5858a6=_0x32ff36[_0xf66307(0x313)](),_0x633b0e=_0x54a183(_0x5858a6,_0x443d3e,_0x203dc4,_0x2e80cc),_0x424968=new _0x2d39fe()[_0xf66307(0x24f)](_0x5858a6,_0x633b0e),_0x52e98a={'unitId':_0x3c1588,'op':_0x633b0e},_0x43b53a={'unitId':_0x3c1588,'op':_0x424968};return _0x4e2f75[_0xf66307(0x2b7)](_0x225ef4['id'],_0x52e98a)?(_0x320f80[_0xf66307(0x400)](_0x3c1588),_0x446141[_0xf66307(0x1cc)]({'unitID':_0x3c1588,'undoMutations':[{'id':_0x225ef4['id'],'params':_0x43b53a}],'redoMutations':[{'id':_0x225ef4['id'],'params':_0x52e98a}]}),!0x0):!0x1;}},_0x322e6a={'id':_0x3bf781(0x1e9),'type':_0x3ffd4d[_0x3bf781(0x415)]['COMMAND'],'handler'(_0x37bd52,_0x72bc73){const _0x4886ab=_0x3bf781;if(!_0x72bc73)return!0x1;let _0x5cb9ed=_0x37bd52[_0x4886ab(0x393)](_0x3ffd4d[_0x4886ab(0x1cd)]),{unitId:_0x49848c,tableId:_0x5c86a0,fieldId:_0x3a842f}=_0x72bc73,_0x458eb9=_0x5cb9ed[_0x4886ab(0x224)](_0x49848c,_0x3ffd4d[_0x4886ab(0x433)][_0x4886ab(0x314)]);if(!_0x458eb9)return!0x1;let _0x203d28=_0x458eb9[_0x4886ab(0x313)](),_0xa20930=_0x203d28[_0x4886ab(0x38a)][_0x5c86a0];if(!_0x28cb01(_0x458eb9,_0x5c86a0,{'fieldIds':[_0x3a842f]})||_0xa20930[_0x4886ab(0x3e1)]===_0x3a842f)return!0x1;let _0x4c31a3=_0x37bd52[_0x4886ab(0x393)](_0x3ffd4d[_0x4886ab(0x318)]),_0x346353=_0x37bd52[_0x4886ab(0x393)](_0x3ffd4d['IUndoRedoService']),_0x11dc5c=new _0x5e5613()[_0x4886ab(0x1b1)](_0x203d28,_0x5c86a0,_0x3a842f),_0x42bbde=new _0x2d39fe()[_0x4886ab(0x24f)](_0x203d28,_0x11dc5c),_0x42c57d={'unitId':_0x49848c,'op':_0x11dc5c},_0x50d202={'unitId':_0x49848c,'op':_0x42bbde};return _0x4c31a3[_0x4886ab(0x2b7)](_0x225ef4['id'],_0x42c57d)?(_0x5cb9ed['focusUnit'](_0x49848c),_0x346353['pushUndoRedo']({'unitID':_0x49848c,'undoMutations':[{'id':_0x225ef4['id'],'params':_0x50d202}],'redoMutations':[{'id':_0x225ef4['id'],'params':_0x42c57d}]}),!0x0):!0x1;}},_0x454d05={'id':_0x3bf781(0x19d),'type':_0x3ffd4d[_0x3bf781(0x415)]['COMMAND'],'handler':(_0x18b347,_0x5a847e)=>{const _0x4ae00f=_0x3bf781;if(!_0x5a847e)return!0x1;let _0x191fc0=_0x18b347['get'](_0x3ffd4d[_0x4ae00f(0x1cd)]),{unitId:_0xa453f7,tableId:_0xb2d68e,recordId:_0x13eb2b}=_0x5a847e,_0x4a9c62=_0x191fc0[_0x4ae00f(0x224)](_0xa453f7,_0x3ffd4d[_0x4ae00f(0x433)][_0x4ae00f(0x314)]);if(!_0x4a9c62||!_0x28cb01(_0x4a9c62,_0xb2d68e,{'recordIds':[_0x13eb2b]}))return!0x1;let _0x692eb5=_0x18b347[_0x4ae00f(0x393)](_0x3ffd4d[_0x4ae00f(0x318)]),_0x27bfef=_0x18b347['get'](_0x3ffd4d[_0x4ae00f(0x190)]),_0x58123f=_0x4a9c62[_0x4ae00f(0x313)](),_0x47f83b=new _0x5e5613()[_0x4ae00f(0x2ea)](_0x58123f,_0xb2d68e,_0x13eb2b),_0x1cb6e1=new _0x2d39fe()[_0x4ae00f(0x24f)](_0x58123f,_0x47f83b),_0x4bc5e3={'unitId':_0xa453f7,'op':_0x47f83b},_0x2d93ba={'unitId':_0xa453f7,'op':_0x1cb6e1};return _0x692eb5[_0x4ae00f(0x2b7)](_0x225ef4['id'],_0x4bc5e3)?(_0x191fc0[_0x4ae00f(0x400)](_0xa453f7),_0x27bfef[_0x4ae00f(0x1cc)]({'unitID':_0xa453f7,'undoMutations':[{'id':_0x225ef4['id'],'params':_0x2d93ba}],'redoMutations':[{'id':_0x225ef4['id'],'params':_0x4bc5e3}]}),!0x0):!0x1;}},_0x4e95dd={'id':_0x3bf781(0x25a),'type':_0x3ffd4d['CommandType']['COMMAND'],'handler':(_0x3a39a3,_0xffb578)=>{const _0x3bed0a=_0x3bf781;if(!_0xffb578)return!0x1;let _0xd42c89=_0x3a39a3[_0x3bed0a(0x393)](_0x3ffd4d['IUniverInstanceService']),{unitId:_0x54cf01,tableId:_0x45aa9c}=_0xffb578,_0x56846b=_0xd42c89[_0x3bed0a(0x224)](_0x54cf01,_0x3ffd4d['UniverInstanceType'][_0x3bed0a(0x314)]);if(!_0x56846b||!_0x28cb01(_0x56846b,_0x45aa9c))return!0x1;let _0x28bb4b=_0x3a39a3['get'](_0x3ffd4d[_0x3bed0a(0x318)]),_0x28c19a=_0x3a39a3['get'](_0x3ffd4d['IUndoRedoService']),_0x4a86eb=_0x56846b[_0x3bed0a(0x313)](),_0x1f803d=new _0x5e5613()[_0x3bed0a(0x16b)](_0x4a86eb,_0x45aa9c),_0xfa5337=new _0x2d39fe()[_0x3bed0a(0x24f)](_0x4a86eb,_0x1f803d),_0x2d0d11={'unitId':_0x54cf01,'op':_0x1f803d},_0x250d1c={'unitId':_0x54cf01,'op':_0xfa5337};return _0x28bb4b[_0x3bed0a(0x2b7)](_0x225ef4['id'],_0x2d0d11)?(_0xd42c89[_0x3bed0a(0x400)](_0x54cf01),_0x28c19a[_0x3bed0a(0x1cc)]({'unitID':_0x54cf01,'undoMutations':[{'id':_0x225ef4['id'],'params':_0x250d1c}],'redoMutations':[{'id':_0x225ef4['id'],'params':_0x2d0d11}]}),!0x0):!0x1;}},_0x54a5f5={'id':_0x3bf781(0x309),'type':_0x3ffd4d['CommandType'][_0x3bf781(0x475)],'handler':(_0xddec10,_0x351b58)=>{const _0x42ec30=_0x3bf781;if(!_0x351b58)return!0x1;let _0x3b9730=_0xddec10[_0x42ec30(0x393)](_0x3ffd4d[_0x42ec30(0x1cd)]),{unitId:_0xec9642,tableId:_0x2652f9,viewId:_0x315272}=_0x351b58,_0x414502=_0x3b9730[_0x42ec30(0x224)](_0xec9642,_0x3ffd4d['UniverInstanceType'][_0x42ec30(0x314)]);if(!_0x414502||!_0x28cb01(_0x414502,_0x2652f9,{'viewIds':[_0x315272]}))return!0x1;let _0x158964=_0xddec10['get'](_0x3ffd4d[_0x42ec30(0x318)]),_0x35a546=_0xddec10['get'](_0x3ffd4d['IUndoRedoService']),_0x43a202=_0x414502[_0x42ec30(0x313)](),_0x2c814b=new _0x5e5613()['deleteView'](_0x43a202,_0x2652f9,_0x315272),_0x15b090=new _0x2d39fe()[_0x42ec30(0x24f)](_0x43a202,_0x2c814b),_0x5f3679={'unitId':_0xec9642,'op':_0x2c814b},_0x2e87c3={'unitId':_0xec9642,'op':_0x15b090};return _0x158964[_0x42ec30(0x2b7)](_0x225ef4['id'],_0x5f3679)?(_0x3b9730[_0x42ec30(0x400)](_0xec9642),_0x35a546['pushUndoRedo']({'unitID':_0xec9642,'undoMutations':[{'id':_0x225ef4['id'],'params':_0x2e87c3}],'redoMutations':[{'id':_0x225ef4['id'],'params':_0x5f3679}]}),!0x0):!0x1;}},_0x2db188={'id':_0x3bf781(0x41a),'type':_0x3ffd4d[_0x3bf781(0x415)][_0x3bf781(0x475)],'handler':(_0x37a68b,_0x1bfacf)=>{const _0x461e03=_0x3bf781;if(!_0x1bfacf)return!0x1;let _0x1f72d5=_0x37a68b[_0x461e03(0x393)](_0x3ffd4d['IUniverInstanceService']),{unitId:_0x4c9ae1,tableId:_0x37210c,sourceFieldId:_0x302ef5,field:_0x515ab3,index:_0x307f48,viewIndexes:_0x443c4e}=_0x1bfacf,_0x523260=_0x1f72d5[_0x461e03(0x224)](_0x4c9ae1,_0x3ffd4d[_0x461e03(0x433)][_0x461e03(0x314)]);if(!_0x523260||!_0x28cb01(_0x523260,_0x37210c,{'fieldIds':[_0x302ef5]})||_0x523260['getSnapshot']()['tables'][_0x37210c][_0x461e03(0x3b1)][_0x515ab3['id']])return!0x1;let _0x11f70d=_0x37a68b['get'](_0x3ffd4d[_0x461e03(0x318)]),_0xb6a083=_0x37a68b[_0x461e03(0x393)](_0x3ffd4d[_0x461e03(0x190)]),_0x17d0c8=_0x523260[_0x461e03(0x313)](),_0x322327=new _0x5e5613()[_0x461e03(0x24e)](_0x17d0c8,_0x37210c,_0x302ef5,{'field':_0x515ab3,'index':_0x307f48,'viewIndexes':_0x443c4e}),_0x418062=new _0x2d39fe()[_0x461e03(0x24f)](_0x17d0c8,_0x322327),_0x5b23c1={'unitId':_0x4c9ae1,'op':_0x322327},_0x548b26={'unitId':_0x4c9ae1,'op':_0x418062};return _0x11f70d[_0x461e03(0x2b7)](_0x225ef4['id'],_0x5b23c1)?(_0x1f72d5[_0x461e03(0x400)](_0x4c9ae1),_0xb6a083[_0x461e03(0x1cc)]({'unitID':_0x4c9ae1,'undoMutations':[{'id':_0x225ef4['id'],'params':_0x548b26}],'redoMutations':[{'id':_0x225ef4['id'],'params':_0x5b23c1}]}),!0x0):!0x1;}},_0x24b392={'id':_0x3bf781(0x368),'type':_0x3ffd4d[_0x3bf781(0x415)][_0x3bf781(0x475)],'handler':(_0x5e0387,_0x4da44a)=>{const _0x113694=_0x3bf781;if(!_0x4da44a)return!0x1;let _0x10b121=_0x5e0387[_0x113694(0x393)](_0x3ffd4d[_0x113694(0x1cd)]),{unitId:_0x5ba2f9,tableId:_0x27748f,sourceRecordId:_0x2ccb67,record:_0x3c126f}=_0x4da44a,_0x3ccd4e=_0x10b121['getUnit'](_0x5ba2f9,_0x3ffd4d['UniverInstanceType'][_0x113694(0x314)]);if(!_0x3ccd4e||!_0x28cb01(_0x3ccd4e,_0x27748f,{'recordIds':[_0x2ccb67]})||_0x3ccd4e[_0x113694(0x313)]()[_0x113694(0x38a)][_0x27748f][_0x113694(0x25f)][_0x3c126f['id']])return!0x1;let _0x51baf1=_0x5e0387['get'](_0x3ffd4d[_0x113694(0x318)]),_0x297dbd=_0x5e0387[_0x113694(0x393)](_0x3ffd4d[_0x113694(0x190)]),_0x20cfd8=_0x3ccd4e[_0x113694(0x313)](),_0x3931fb=new _0x5e5613()['duplicateRecord'](_0x20cfd8,_0x27748f,_0x2ccb67,_0x3c126f),_0x2ed81f=new _0x2d39fe()[_0x113694(0x24f)](_0x20cfd8,_0x3931fb),_0x2b8777={'unitId':_0x5ba2f9,'op':_0x3931fb},_0x4103d7={'unitId':_0x5ba2f9,'op':_0x2ed81f};return _0x51baf1[_0x113694(0x2b7)](_0x225ef4['id'],_0x2b8777)?(_0x10b121[_0x113694(0x400)](_0x5ba2f9),_0x297dbd[_0x113694(0x1cc)]({'unitID':_0x5ba2f9,'undoMutations':[{'id':_0x225ef4['id'],'params':_0x4103d7}],'redoMutations':[{'id':_0x225ef4['id'],'params':_0x2b8777}]}),!0x0):!0x1;}},_0x5af5cd={'id':'base.command.ensure-base-temporal-view-date-fields','type':_0x3ffd4d['CommandType'][_0x3bf781(0x475)],'handler'(_0x4a79b3,_0x3de10d){const _0x5ba2ef=_0x3bf781;if(!_0x3de10d)return!0x1;let _0x5b2c35=_0x4a79b3[_0x5ba2ef(0x393)](_0x3ffd4d[_0x5ba2ef(0x1cd)]),{unitId:_0x399bb1,tableId:_0x17dacc,viewId:_0x4d58b4,ensureEndDateField:_0x6d5a7c}=_0x3de10d,_0x35eb6e=_0x5b2c35[_0x5ba2ef(0x224)](_0x399bb1,_0x3ffd4d[_0x5ba2ef(0x433)]['UNIVER_BASE']);if(!_0x35eb6e||!_0x28cb01(_0x35eb6e,_0x17dacc,{'viewIds':[_0x4d58b4]}))return!0x1;let _0x319c9c=_0x35eb6e[_0x5ba2ef(0x313)](),_0x5ed48c=_0x319c9c[_0x5ba2ef(0x38a)][_0x17dacc],_0x2fd8a6=_0x5ed48c==null?void 0x0:_0x5ed48c[_0x5ba2ef(0x37f)][_0x4d58b4];if(!_0x5ed48c||!_0x2fd8a6||_0x2fd8a6[_0x5ba2ef(0x2ec)]!==_0x5ba2ef(0x3ad)&&_0x2fd8a6[_0x5ba2ef(0x2ec)]!==_0x5ba2ef(0x470))return!0x1;let _0x1a2f8b=_0x2a4073(_0x5ed48c,_0x2fd8a6,_0x6d5a7c===!0x0);if(!_0x1a2f8b[_0x5ba2ef(0x3e4)])return!0x1;let _0x428fdd=_0x4a79b3[_0x5ba2ef(0x393)](_0x3ffd4d[_0x5ba2ef(0x318)]),_0x37a2d4=_0x4a79b3['get'](_0x3ffd4d[_0x5ba2ef(0x190)]),_0x20fcf1=new _0x5e5613(),_0x16ec35=[..._0x1a2f8b['fields'][_0x5ba2ef(0x2c0)](_0x2000cd=>_0x20fcf1['createField'](_0x319c9c,_0x3de10d[_0x5ba2ef(0x1fe)],{'field':_0x2000cd})),_0x49313f([..._0x4471c2(_0x3de10d['tableId'],_0x3de10d[_0x5ba2ef(0x219)]),'config'],_0x2fd8a6[_0x5ba2ef(0x1a3)],_0x1a2f8b[_0x5ba2ef(0x1a3)])];_0x1a2f8b[_0x5ba2ef(0x2a8)]&&_0x16ec35[_0x5ba2ef(0x2af)](_0x49313f([..._0x4471c2(_0x3de10d[_0x5ba2ef(0x1fe)],_0x3de10d[_0x5ba2ef(0x219)]),_0x5ba2ef(0x2a8)],_0x2fd8a6[_0x5ba2ef(0x2a8)],_0x1a2f8b[_0x5ba2ef(0x2a8)]));let _0x21353e=_0x6bf7b1(_0x16ec35),_0x5898c9=new _0x2d39fe()['invertOp'](_0x319c9c,_0x21353e),_0x287f5a={'unitId':_0x399bb1,'op':_0x21353e},_0x3b73b8={'unitId':_0x399bb1,'op':_0x5898c9};return _0x428fdd[_0x5ba2ef(0x2b7)](_0x225ef4['id'],_0x287f5a)?(_0x5b2c35[_0x5ba2ef(0x400)](_0x399bb1),_0x37a2d4[_0x5ba2ef(0x1cc)]({'unitID':_0x399bb1,'undoMutations':[{'id':_0x225ef4['id'],'params':_0x3b73b8}],'redoMutations':[{'id':_0x225ef4['id'],'params':_0x287f5a}]}),!0x0):!0x1;}};function _0x49313f(_0xf29c12,_0x311c9c,_0x2e1ef5){const _0x20683b=_0x3bf781;return _0x311c9c===void 0x0?_0x3ffd4d[_0x20683b(0x3f7)][_0x20683b(0x44c)](_0xf29c12,_0x2e1ef5):_0x3ffd4d['JSON1'][_0x20683b(0x188)](_0xf29c12,_0x311c9c,_0x2e1ef5);}function _0x4471c2(_0xb01760,_0x55e651){const _0x4c4c05=_0x3bf781;return[_0x4c4c05(0x38a),_0xb01760,'views',_0x55e651];}let _0x48ee38={'id':_0x3bf781(0x47a),'type':_0x3ffd4d['CommandType'][_0x3bf781(0x475)],'handler':(_0x4eb66d,_0x2ddcb2)=>{const _0x3a915b=_0x3bf781;var _0x418e58;if(!_0x2ddcb2)return!0x1;let _0x3000cb=_0x4eb66d['get'](_0x3ffd4d[_0x3a915b(0x1cd)]),{unitId:_0x5b14e6,tableId:_0x1a7be6,fieldId:_0x459deb,target:_0x1b4aab}=_0x2ddcb2,_0x2b07a6=_0x3000cb['getUnit'](_0x5b14e6,_0x3ffd4d[_0x3a915b(0x433)][_0x3a915b(0x314)]),_0x542dd8=(_0x418e58=_0x1b4aab['beforeFieldId'])==null?_0x1b4aab[_0x3a915b(0x33d)]:_0x418e58;if(!_0x2b07a6||!!_0x1b4aab[_0x3a915b(0x1ea)]==!!_0x1b4aab[_0x3a915b(0x33d)]||!_0x542dd8||_0x542dd8===_0x459deb||!_0x28cb01(_0x2b07a6,_0x1a7be6,{'fieldIds':[_0x459deb,_0x542dd8]}))return!0x1;let _0x5a8682=_0x4eb66d[_0x3a915b(0x393)](_0x3ffd4d[_0x3a915b(0x318)]),_0x524fa2=_0x4eb66d[_0x3a915b(0x393)](_0x3ffd4d[_0x3a915b(0x190)]),_0xa3da75=_0x2b07a6[_0x3a915b(0x313)](),_0x303cbb=new _0x5e5613()['moveField'](_0xa3da75,_0x1a7be6,_0x459deb,_0x1b4aab),_0x3cf32b=new _0x2d39fe()['invertOp'](_0xa3da75,_0x303cbb),_0x4a5d56={'unitId':_0x5b14e6,'op':_0x303cbb},_0x553f94={'unitId':_0x5b14e6,'op':_0x3cf32b};return _0x5a8682[_0x3a915b(0x2b7)](_0x225ef4['id'],_0x4a5d56)?(_0x3000cb[_0x3a915b(0x400)](_0x5b14e6),_0x524fa2[_0x3a915b(0x1cc)]({'unitID':_0x5b14e6,'undoMutations':[{'id':_0x225ef4['id'],'params':_0x553f94}],'redoMutations':[{'id':_0x225ef4['id'],'params':_0x4a5d56}]}),!0x0):!0x1;}},_0x2270e9={'id':_0x3bf781(0x39f),'type':_0x3ffd4d['CommandType'][_0x3bf781(0x475)],'handler':(_0x323e89,_0x124746)=>{const _0x3da7e6=_0x3bf781;var _0x458cf0;if(!_0x124746)return!0x1;let _0x29c4b7=_0x323e89[_0x3da7e6(0x393)](_0x3ffd4d['IUniverInstanceService']),{unitId:_0x3f81af,tableId:_0x385b8c,viewId:_0x3f59d0,target:_0xc29f79}=_0x124746,_0x1f843e=_0x29c4b7[_0x3da7e6(0x224)](_0x3f81af,_0x3ffd4d[_0x3da7e6(0x433)][_0x3da7e6(0x314)]),_0x3fbbf4=(_0x458cf0=_0xc29f79[_0x3da7e6(0x3ab)])==null?_0xc29f79['afterViewId']:_0x458cf0;if(!_0x1f843e||!_0x3fbbf4||_0x3fbbf4===_0x3f59d0||!_0x28cb01(_0x1f843e,_0x385b8c,{'viewIds':[_0x3f59d0,_0x3fbbf4]}))return!0x1;let _0x8a14f0=_0x323e89[_0x3da7e6(0x393)](_0x3ffd4d[_0x3da7e6(0x318)]),_0x22421e=_0x323e89[_0x3da7e6(0x393)](_0x3ffd4d[_0x3da7e6(0x190)]),_0x3b2fb5=_0x1f843e['getSnapshot'](),_0xef8b98=new _0x5e5613()[_0x3da7e6(0x30c)](_0x3b2fb5,_0x385b8c,_0x3f59d0,_0xc29f79),_0x511585=new _0x2d39fe()['invertOp'](_0x3b2fb5,_0xef8b98),_0x860f4d={'unitId':_0x3f81af,'op':_0xef8b98},_0x308665={'unitId':_0x3f81af,'op':_0x511585};return _0x8a14f0[_0x3da7e6(0x2b7)](_0x225ef4['id'],_0x860f4d)?(_0x29c4b7[_0x3da7e6(0x400)](_0x3f81af),_0x22421e[_0x3da7e6(0x1cc)]({'unitID':_0x3f81af,'undoMutations':[{'id':_0x225ef4['id'],'params':_0x308665}],'redoMutations':[{'id':_0x225ef4['id'],'params':_0x860f4d}]}),!0x0):!0x1;}},_0x3897da={'id':_0x3bf781(0x1be),'type':_0x3ffd4d[_0x3bf781(0x415)]['COMMAND'],'handler':(_0xdad7b1,_0x1af4ce)=>{const _0x4958f4=_0x3bf781;if(!_0x1af4ce)return!0x1;let _0x54de7b=_0xdad7b1[_0x4958f4(0x393)](_0x3ffd4d[_0x4958f4(0x1cd)]),{unitId:_0x529f11,tableId:_0x1f0c79,name:_0x1ca687}=_0x1af4ce,_0x51aa71=_0x54de7b[_0x4958f4(0x224)](_0x529f11,_0x3ffd4d[_0x4958f4(0x433)][_0x4958f4(0x314)]);if(!_0x51aa71||!_0x28cb01(_0x51aa71,_0x1f0c79))return!0x1;let _0x501773=_0xdad7b1[_0x4958f4(0x393)](_0x3ffd4d[_0x4958f4(0x318)]),_0x8cf658=_0xdad7b1[_0x4958f4(0x393)](_0x3ffd4d['IUndoRedoService']),_0x1bcaa2=_0x51aa71[_0x4958f4(0x313)](),_0x51a4cc=new _0x5e5613()[_0x4958f4(0x2c9)](_0x1bcaa2,_0x1f0c79,_0x1ca687),_0x11c95f=new _0x2d39fe()[_0x4958f4(0x24f)](_0x1bcaa2,_0x51a4cc),_0x4bcd8c={'unitId':_0x529f11,'op':_0x51a4cc},_0x513c2a={'unitId':_0x529f11,'op':_0x11c95f};return _0x501773[_0x4958f4(0x2b7)](_0x225ef4['id'],_0x4bcd8c)?(_0x54de7b[_0x4958f4(0x400)](_0x529f11),_0x8cf658[_0x4958f4(0x1cc)]({'unitID':_0x529f11,'undoMutations':[{'id':_0x225ef4['id'],'params':_0x513c2a}],'redoMutations':[{'id':_0x225ef4['id'],'params':_0x4bcd8c}]}),!0x0):!0x1;}},_0x5888ae={'id':_0x3bf781(0x297),'type':_0x3ffd4d[_0x3bf781(0x415)][_0x3bf781(0x475)],'handler':(_0x2dfaea,_0x325abe)=>{const _0x10bfdf=_0x3bf781;if(!_0x325abe)return!0x1;let _0x3413e4=_0x2dfaea[_0x10bfdf(0x393)](_0x3ffd4d[_0x10bfdf(0x1cd)]),{unitId:_0x32e092,tableId:_0x1a9dfe,viewId:_0x50ae13,name:_0x24d78a}=_0x325abe,_0x2eac7e=_0x3413e4[_0x10bfdf(0x224)](_0x32e092,_0x3ffd4d[_0x10bfdf(0x433)][_0x10bfdf(0x314)]);if(!_0x2eac7e||!_0x28cb01(_0x2eac7e,_0x1a9dfe,{'viewIds':[_0x50ae13]}))return!0x1;let _0x3e68b8=_0x2dfaea['get'](_0x3ffd4d[_0x10bfdf(0x318)]),_0x6f9b3e=_0x2dfaea[_0x10bfdf(0x393)](_0x3ffd4d['IUndoRedoService']),_0x2785eb=_0x2eac7e[_0x10bfdf(0x313)](),_0x1439db=new _0x5e5613()[_0x10bfdf(0x389)](_0x2785eb,_0x1a9dfe,_0x50ae13,_0x24d78a),_0x37e7af=new _0x2d39fe()[_0x10bfdf(0x24f)](_0x2785eb,_0x1439db),_0x217caf={'unitId':_0x32e092,'op':_0x1439db},_0x50e29d={'unitId':_0x32e092,'op':_0x37e7af};return _0x3e68b8[_0x10bfdf(0x2b7)](_0x225ef4['id'],_0x217caf)?(_0x3413e4[_0x10bfdf(0x400)](_0x32e092),_0x6f9b3e[_0x10bfdf(0x1cc)]({'unitID':_0x32e092,'undoMutations':[{'id':_0x225ef4['id'],'params':_0x50e29d}],'redoMutations':[{'id':_0x225ef4['id'],'params':_0x217caf}]}),!0x0):!0x1;}},_0x2d29={'id':_0x3bf781(0x417),'type':_0x3ffd4d[_0x3bf781(0x415)][_0x3bf781(0x475)],'handler':(_0x4df78a,_0x329c8b)=>{const _0x58b776=_0x3bf781;if(!_0x329c8b)return!0x1;let _0x41cd51=_0x4df78a[_0x58b776(0x393)](_0x3ffd4d[_0x58b776(0x1cd)]),{unitId:_0x4cdf24,tableId:_0x1cf8d4,viewId:_0x38b5cf,fieldId:_0x2a1d9f}=_0x329c8b,_0x3e27ad=_0x41cd51['getUnit'](_0x4cdf24,_0x3ffd4d[_0x58b776(0x433)][_0x58b776(0x314)]);if(!_0x3e27ad||!_0x28cb01(_0x3e27ad,_0x1cf8d4,{'viewIds':[_0x38b5cf],'fieldIds':[_0x2a1d9f]}))return!0x1;let _0x166db6=_0x4df78a[_0x58b776(0x393)](_0x3ffd4d[_0x58b776(0x318)]),_0x245afe=_0x4df78a[_0x58b776(0x393)](_0x3ffd4d[_0x58b776(0x190)]),_0x210af3=_0x3e27ad[_0x58b776(0x313)](),_0x1dc0c2=new _0x5e5613()[_0x58b776(0x3bb)](_0x210af3,_0x1cf8d4,_0x38b5cf,{'groupFieldId':_0x2a1d9f}),_0x974220=new _0x2d39fe()[_0x58b776(0x24f)](_0x210af3,_0x1dc0c2),_0x552302={'unitId':_0x4cdf24,'op':_0x1dc0c2},_0x407c98={'unitId':_0x4cdf24,'op':_0x974220};return _0x166db6[_0x58b776(0x2b7)](_0x225ef4['id'],_0x552302)?(_0x41cd51[_0x58b776(0x400)](_0x4cdf24),_0x245afe[_0x58b776(0x1cc)]({'unitID':_0x4cdf24,'undoMutations':[{'id':_0x225ef4['id'],'params':_0x407c98}],'redoMutations':[{'id':_0x225ef4['id'],'params':_0x552302}]}),!0x0):!0x1;}},_0x46e7ea={'id':_0x3bf781(0x1c0),'type':_0x3ffd4d['CommandType'][_0x3bf781(0x475)],'handler':(_0x478a0e,_0x4e49bf)=>{const _0x2a619d=_0x3bf781;if(!_0x4e49bf)return!0x1;let _0x250d01=_0x478a0e['get'](_0x3ffd4d[_0x2a619d(0x1cd)]),_0x5c7102=_0x250d01[_0x2a619d(0x224)](_0x4e49bf[_0x2a619d(0x166)],_0x3ffd4d[_0x2a619d(0x433)][_0x2a619d(0x314)]);if(!_0x5c7102)return!0x1;let _0xecb084=_0x5c7102[_0x2a619d(0x313)]()[_0x2a619d(0x209)];if(_0xecb084===_0x4e49bf[_0x2a619d(0x209)])return!0x0;let _0x2f92e9=new _0x5e5613(),_0x28dd0b=new _0x2d39fe(),_0x1b12f1=[],_0x38edc4=[],_0x5d6c26=[_0x5c7102,..._0x250d01[_0x2a619d(0x49d)](_0x3ffd4d['UniverInstanceType'][_0x2a619d(0x314)])[_0x2a619d(0x3e7)](_0x38cb2a=>_0x38cb2a['getUnitId']()!==_0x4e49bf[_0x2a619d(0x166)])];for(let _0x339cb8 of _0x5d6c26){let _0x1dc1cd=_0x339cb8[_0x2a619d(0x313)](),_0x948d14=_0x339cb8===_0x5c7102?_0x2f92e9['setBaseName'](_0x1dc1cd,_0x4e49bf[_0x2a619d(0x209)]):_0x2f92e9[_0x2a619d(0x43d)](_0x1dc1cd,_0xecb084,_0x4e49bf['name']);_0x948d14&&(_0x1b12f1[_0x2a619d(0x2af)]({'id':_0x225ef4['id'],'params':{'unitId':_0x339cb8[_0x2a619d(0x348)](),'op':_0x948d14,'trigger':_0x46e7ea['id']}}),_0x38edc4[_0x2a619d(0x479)]({'id':_0x225ef4['id'],'params':{'unitId':_0x339cb8['getUnitId'](),'op':_0x28dd0b[_0x2a619d(0x24f)](_0x1dc1cd,_0x948d14),'trigger':_0x46e7ea['id']}}));}let _0x2a67e0=_0x478a0e[_0x2a619d(0x393)](_0x3ffd4d[_0x2a619d(0x318)]),_0xef20d2=_0x478a0e['get'](_0x3ffd4d[_0x2a619d(0x190)]),_0x362ab5=_0xef20d2[_0x2a619d(0x161)](_0x4e49bf[_0x2a619d(0x166)]);try{return(0x0,_0x3ffd4d[_0x2a619d(0x21f)])(_0x1b12f1,_0x2a67e0)['result']?(_0x250d01['focusUnit'](_0x4e49bf[_0x2a619d(0x166)]),_0xef20d2[_0x2a619d(0x1cc)]({'unitID':_0x4e49bf[_0x2a619d(0x166)],'undoMutations':_0x38edc4,'redoMutations':_0x1b12f1}),!0x0):!0x1;}finally{_0x362ab5[_0x2a619d(0x462)]();}}},_0x298f60={'id':_0x3bf781(0x1af),'type':_0x3ffd4d[_0x3bf781(0x415)][_0x3bf781(0x475)],'handler'(_0x48d3e4,_0x11c010){const _0x3f4b87=_0x3bf781;if(!_0x11c010)return!0x1;let _0x242cab=_0x48d3e4[_0x3f4b87(0x393)](_0x3ffd4d[_0x3f4b87(0x1cd)]),{unitId:_0x330c00,tableId:_0x157876,patches:_0x387d56}=_0x11c010,_0x1a2ce2=_0x242cab[_0x3f4b87(0x224)](_0x330c00,_0x3ffd4d[_0x3f4b87(0x433)]['UNIVER_BASE']);if(!_0x1a2ce2||!_0x28cb01(_0x1a2ce2,_0x157876))return!0x1;let _0x45f6dc=_0x48d3e4[_0x3f4b87(0x393)](_0x3ffd4d[_0x3f4b87(0x318)]),_0xd25726=_0x48d3e4[_0x3f4b87(0x393)](_0x3ffd4d[_0x3f4b87(0x190)]),_0x54e2a6=_0x1a2ce2[_0x3f4b87(0x313)](),_0x45d56a=_0x374807(_0x54e2a6[_0x3f4b87(0x38a)][_0x157876]),_0x1b5bf8=_0x387d56['map'](_0x36d6e2=>{const _0x28a618=_0x3f4b87;var _0x1b14d2;return'recordId'in _0x36d6e2?_0x36d6e2['recordId']:(_0x1b14d2=_0x45d56a[_0x28a618(0x3e2)])==null?void 0x0:_0x1b14d2[_0x36d6e2['row']];})[_0x3f4b87(0x3e7)](_0x1abd6a=>_0x1abd6a!=null),_0x7105cb=_0x387d56['map'](_0x2e4332=>{const _0x3c17c6=_0x3f4b87;var _0xd57b68;return _0x3c17c6(0x29f)in _0x2e4332?_0x2e4332[_0x3c17c6(0x29f)]:(_0xd57b68=_0x45d56a[_0x3c17c6(0x3d8)])==null?void 0x0:_0xd57b68[_0x2e4332[_0x3c17c6(0x1de)]];})[_0x3f4b87(0x3e7)](_0x7fb062=>_0x7fb062!=null);if(_0x1b5bf8[_0x3f4b87(0x2e1)]!==_0x387d56['length']||_0x7105cb['length']!==_0x387d56[_0x3f4b87(0x2e1)]||!_0x28cb01(_0x1a2ce2,_0x157876,{'recordIds':_0x1b5bf8,'fieldIds':_0x7105cb}))return!0x1;let _0x2bb085=_0x387d56[_0x3f4b87(0x1db)](_0x5c01d7=>{const _0x252c84=_0x3f4b87;var _0x3185e7,_0x26dff3;if('row'in _0x5c01d7)return[_0x5c01d7];let _0x4a8396=(_0x3185e7=_0x45d56a[_0x252c84(0x491)])==null?void 0x0:_0x3185e7[_0x5c01d7[_0x252c84(0x2f3)]],_0x2497d8=(_0x26dff3=_0x45d56a[_0x252c84(0x395)])==null?void 0x0:_0x26dff3[_0x5c01d7[_0x252c84(0x29f)]];return _0x4a8396==null||_0x2497d8==null?[]:[{'row':_0x4a8396,'col':_0x2497d8,'value':_0x5c01d7[_0x252c84(0x2cf)]}];}),_0x5175bc=new _0x5e5613()['setRangeValues'](_0x54e2a6,_0x157876,_0x2bb085),_0x4116e0=new _0x2d39fe()[_0x3f4b87(0x24f)](_0x54e2a6,_0x5175bc),_0x3e33a9={'unitId':_0x330c00,'op':_0x5175bc},_0xf2f4bb={'unitId':_0x330c00,'op':_0x4116e0};return _0x45f6dc[_0x3f4b87(0x2b7)](_0x225ef4['id'],_0x3e33a9)?(_0x242cab[_0x3f4b87(0x400)](_0x330c00),_0xd25726[_0x3f4b87(0x1cc)]({'unitID':_0x330c00,'undoMutations':[{'id':_0x225ef4['id'],'params':_0xf2f4bb}],'redoMutations':[{'id':_0x225ef4['id'],'params':_0x3e33a9}]}),!0x0):!0x1;}},_0x3d487f={'id':_0x3bf781(0x331),'type':_0x3ffd4d[_0x3bf781(0x415)][_0x3bf781(0x475)],'handler'(_0x4877d0,_0xa7c5d9){const _0x3fee27=_0x3bf781;if(!_0xa7c5d9)return!0x1;let _0x4c070f=_0x4877d0[_0x3fee27(0x393)](_0x3ffd4d['IUniverInstanceService']),{unitId:_0x5b3112,tableId:_0x218651,patches:_0x1e9668}=_0xa7c5d9,_0x3ca407=_0x4c070f[_0x3fee27(0x224)](_0x5b3112,_0x3ffd4d[_0x3fee27(0x433)][_0x3fee27(0x314)]),_0x1ea4a6=_0x1e9668['map'](_0x3acc41=>_0x3acc41[_0x3fee27(0x2f3)]),_0x236927=_0x1e9668[_0x3fee27(0x1db)](_0x426202=>Object[_0x3fee27(0x3f8)](_0x426202[_0x3fee27(0x449)]));if(!_0x3ca407||!_0x28cb01(_0x3ca407,_0x218651,{'recordIds':_0x1ea4a6,'fieldIds':_0x236927}))return!0x1;let _0xa125ba=_0x4877d0[_0x3fee27(0x393)](_0x3ffd4d[_0x3fee27(0x318)]),_0xdc6f39=_0x4877d0['get'](_0x3ffd4d[_0x3fee27(0x190)]),_0x177faf=_0x4877d0['get'](_0x48571e)[_0x3fee27(0x17e)](_0x3ca407,_0x218651,_0x1e9668),_0x238803=new _0x2d39fe()[_0x3fee27(0x24f)](_0x3ca407['getSnapshot'](),_0x177faf),_0x4775ad={'unitId':_0x5b3112,'op':_0x177faf},_0x2f6a0c={'unitId':_0x5b3112,'op':_0x238803};return _0xa125ba['syncExecuteCommand'](_0x225ef4['id'],_0x4775ad)?(_0x4c070f[_0x3fee27(0x400)](_0x5b3112),_0xdc6f39[_0x3fee27(0x1cc)]({'unitID':_0x5b3112,'undoMutations':[{'id':_0x225ef4['id'],'params':_0x2f6a0c}],'redoMutations':[{'id':_0x225ef4['id'],'params':_0x4775ad}]}),!0x0):!0x1;}},_0x6729ad={'id':_0x3bf781(0x29c),'type':_0x3ffd4d[_0x3bf781(0x415)][_0x3bf781(0x475)],'handler':(_0x4a7919,_0x2ff4e5)=>{const _0x5a571e=_0x3bf781;var _0x902178;if(!_0x2ff4e5)return!0x1;let _0x18929a=_0x4a7919[_0x5a571e(0x393)](_0x3ffd4d[_0x5a571e(0x1cd)]),{unitId:_0x277d23,tableId:_0x11e145,viewId:_0x30cadc,fieldId:_0x53618d,target:_0x1ba70a}=_0x2ff4e5,_0x10ee38=_0x18929a['getUnit'](_0x277d23,_0x3ffd4d[_0x5a571e(0x433)][_0x5a571e(0x314)]),_0x2d788f=(_0x902178=_0x1ba70a[_0x5a571e(0x1ea)])==null?_0x1ba70a[_0x5a571e(0x33d)]:_0x902178;if(!_0x10ee38||!_0x2d788f||_0x2d788f===_0x53618d||!_0x28cb01(_0x10ee38,_0x11e145,{'viewIds':[_0x30cadc],'fieldIds':[_0x53618d,_0x2d788f]}))return!0x1;let _0x22f932=_0x4a7919[_0x5a571e(0x393)](_0x3ffd4d[_0x5a571e(0x318)]),_0x2d4596=_0x4a7919['get'](_0x3ffd4d[_0x5a571e(0x190)]),_0x1c6450=_0x10ee38['getSnapshot'](),_0xfc20b7=new _0x5e5613()['setViewFieldOrder'](_0x1c6450,_0x11e145,_0x30cadc,_0x53618d,_0x1ba70a),_0x126507=new _0x2d39fe()[_0x5a571e(0x24f)](_0x1c6450,_0xfc20b7),_0xc655ac={'unitId':_0x277d23,'op':_0xfc20b7},_0x56ec9e={'unitId':_0x277d23,'op':_0x126507};return _0x22f932[_0x5a571e(0x2b7)](_0x225ef4['id'],_0xc655ac)?(_0x18929a[_0x5a571e(0x400)](_0x277d23),_0x2d4596[_0x5a571e(0x1cc)]({'unitID':_0x277d23,'undoMutations':[{'id':_0x225ef4['id'],'params':_0x56ec9e}],'redoMutations':[{'id':_0x225ef4['id'],'params':_0xc655ac}]}),!0x0):!0x1;}},_0x195fd9={'id':_0x3bf781(0x49c),'type':_0x3ffd4d[_0x3bf781(0x415)][_0x3bf781(0x475)],'handler'(_0xc37d30,_0x1cdc03){const _0x1382a8=_0x3bf781;if(!_0x1cdc03)return!0x1;let _0x713c0d=_0xc37d30[_0x1382a8(0x393)](_0x3ffd4d['IUniverInstanceService']),{unitId:_0x211429,tableId:_0x3a4fda,viewId:_0x161178,fieldId:_0x188ca6,visible:_0x2d4a50}=_0x1cdc03,_0x2daff0=_0x713c0d[_0x1382a8(0x224)](_0x211429,_0x3ffd4d[_0x1382a8(0x433)]['UNIVER_BASE']);if(!_0x2daff0||!_0x28cb01(_0x2daff0,_0x3a4fda,{'viewIds':[_0x161178],'fieldIds':[_0x188ca6]}))return!0x1;let _0x300dbe=_0xc37d30['get'](_0x3ffd4d['ICommandService']),_0x1dbcb6=_0xc37d30[_0x1382a8(0x393)](_0x3ffd4d['IUndoRedoService']),_0x18b0eb=_0x2daff0[_0x1382a8(0x313)](),_0x2d76d6=new _0x5e5613()[_0x1382a8(0x26e)](_0x18b0eb,_0x3a4fda,_0x161178,_0x188ca6,_0x2d4a50),_0x4bb5ae=new _0x2d39fe()[_0x1382a8(0x24f)](_0x18b0eb,_0x2d76d6),_0x23b424={'unitId':_0x211429,'op':_0x2d76d6},_0x14725c={'unitId':_0x211429,'op':_0x4bb5ae};return _0x300dbe[_0x1382a8(0x2b7)](_0x225ef4['id'],_0x23b424)?(_0x713c0d[_0x1382a8(0x400)](_0x211429),_0x1dbcb6[_0x1382a8(0x1cc)]({'unitID':_0x211429,'undoMutations':[{'id':_0x225ef4['id'],'params':_0x14725c}],'redoMutations':[{'id':_0x225ef4['id'],'params':_0x23b424}]}),!0x0):!0x1;}},_0x3d18c5={'id':_0x3bf781(0x45d),'type':_0x3ffd4d[_0x3bf781(0x415)]['COMMAND'],'handler':(_0x6d492a,_0x2ddd91)=>{const _0xe1c7bf=_0x3bf781;if(!_0x2ddd91)return!0x1;let _0x356acf=_0x6d492a[_0xe1c7bf(0x393)](_0x3ffd4d['IUniverInstanceService']),{unitId:_0x4fdc30,tableId:_0x350348,viewId:_0xac7843,fieldId:_0x5858f4,width:_0x1db140}=_0x2ddd91,_0x50d113=_0x356acf[_0xe1c7bf(0x224)](_0x4fdc30,_0x3ffd4d[_0xe1c7bf(0x433)][_0xe1c7bf(0x314)]);if(!_0x50d113||!_0x28cb01(_0x50d113,_0x350348,{'viewIds':[_0xac7843],'fieldIds':[_0x5858f4]}))return!0x1;let _0x40651f=_0x6d492a[_0xe1c7bf(0x393)](_0x3ffd4d[_0xe1c7bf(0x318)]),_0x50375c=_0x6d492a[_0xe1c7bf(0x393)](_0x3ffd4d[_0xe1c7bf(0x190)]),_0x118096=_0x50d113[_0xe1c7bf(0x313)](),_0x1059de=new _0x5e5613()[_0xe1c7bf(0x459)](_0x118096,_0x350348,_0xac7843,_0x5858f4,_0x1db140),_0x40ed4f=new _0x2d39fe()[_0xe1c7bf(0x24f)](_0x118096,_0x1059de),_0x171fd7={'unitId':_0x4fdc30,'op':_0x1059de},_0x20fbb9={'unitId':_0x4fdc30,'op':_0x40ed4f};return _0x40651f[_0xe1c7bf(0x2b7)](_0x225ef4['id'],_0x171fd7)?(_0x356acf[_0xe1c7bf(0x400)](_0x4fdc30),_0x50375c[_0xe1c7bf(0x1cc)]({'unitID':_0x4fdc30,'undoMutations':[{'id':_0x225ef4['id'],'params':_0x20fbb9}],'redoMutations':[{'id':_0x225ef4['id'],'params':_0x171fd7}]}),!0x0):!0x1;}},_0x5e186d={'id':_0x3bf781(0x422),'type':_0x3ffd4d[_0x3bf781(0x415)][_0x3bf781(0x475)],'handler':(_0x582842,_0x8ead9a)=>{const _0x3e55be=_0x3bf781;var _0x25cf4f;if(!_0x8ead9a)return!0x1;let _0x2c7a2b=_0x582842[_0x3e55be(0x393)](_0x3ffd4d[_0x3e55be(0x1cd)]),{unitId:_0x3370fa,tableId:_0x25f8e9,viewId:_0x3dbc2a,filter:_0x5859f6}=_0x8ead9a,_0x53b722=_0x2c7a2b[_0x3e55be(0x224)](_0x3370fa,_0x3ffd4d[_0x3e55be(0x433)][_0x3e55be(0x314)]),_0x49d52e=(_0x25cf4f=_0x5859f6==null?void 0x0:_0x5859f6['conditions'][_0x3e55be(0x2c0)](_0x19d8f9=>_0x19d8f9[_0x3e55be(0x29f)]))==null?[]:_0x25cf4f;if(!_0x53b722||!_0x28cb01(_0x53b722,_0x25f8e9,{'viewIds':[_0x3dbc2a],'fieldIds':_0x49d52e}))return!0x1;let _0x3641eb=_0x582842[_0x3e55be(0x393)](_0x3ffd4d[_0x3e55be(0x318)]),_0x47d048=_0x582842[_0x3e55be(0x393)](_0x3ffd4d[_0x3e55be(0x190)]),_0x5dbb38=_0x53b722['getSnapshot'](),_0x2083ee=new _0x5e5613()[_0x3e55be(0x339)](_0x5dbb38,_0x25f8e9,_0x3dbc2a,_0x5859f6),_0x146aa9=new _0x2d39fe()[_0x3e55be(0x24f)](_0x5dbb38,_0x2083ee),_0x5016f7={'unitId':_0x3370fa,'op':_0x2083ee},_0x579c01={'unitId':_0x3370fa,'op':_0x146aa9};return _0x3641eb[_0x3e55be(0x2b7)](_0x225ef4['id'],_0x5016f7)?(_0x2c7a2b[_0x3e55be(0x400)](_0x3370fa),_0x47d048[_0x3e55be(0x1cc)]({'unitID':_0x3370fa,'undoMutations':[{'id':_0x225ef4['id'],'params':_0x579c01}],'redoMutations':[{'id':_0x225ef4['id'],'params':_0x5016f7}]}),!0x0):!0x1;}},_0x29709f={'id':_0x3bf781(0x3cf),'type':_0x3ffd4d[_0x3bf781(0x415)]['COMMAND'],'handler':(_0x1c5cfc,_0x4745ba)=>{const _0x5e8282=_0x3bf781;if(!_0x4745ba)return!0x1;let _0x50ab05=_0x1c5cfc['get'](_0x3ffd4d[_0x5e8282(0x1cd)]),{unitId:_0x112a7a,tableId:_0x513fdd,viewId:_0x174328,group:_0x1751bf}=_0x4745ba,_0x32eba5=_0x50ab05[_0x5e8282(0x224)](_0x112a7a,_0x3ffd4d[_0x5e8282(0x433)][_0x5e8282(0x314)]);if(!_0x32eba5||!_0x28cb01(_0x32eba5,_0x513fdd,{'viewIds':[_0x174328],'fieldIds':_0x1751bf[_0x5e8282(0x2c0)](_0x52b013=>_0x52b013[_0x5e8282(0x29f)])}))return!0x1;let _0x9d29bd=_0x1c5cfc[_0x5e8282(0x393)](_0x3ffd4d[_0x5e8282(0x318)]),_0x459919=_0x1c5cfc['get'](_0x3ffd4d['IUndoRedoService']),_0x56df4b=_0x32eba5[_0x5e8282(0x313)](),_0x324f11=new _0x5e5613()[_0x5e8282(0x274)](_0x56df4b,_0x513fdd,_0x174328,_0x1751bf),_0x4142f8=new _0x2d39fe()[_0x5e8282(0x24f)](_0x56df4b,_0x324f11),_0x3eada5={'unitId':_0x112a7a,'op':_0x324f11},_0x14fe14={'unitId':_0x112a7a,'op':_0x4142f8};return _0x9d29bd[_0x5e8282(0x2b7)](_0x225ef4['id'],_0x3eada5)?(_0x50ab05[_0x5e8282(0x400)](_0x112a7a),_0x459919['pushUndoRedo']({'unitID':_0x112a7a,'undoMutations':[{'id':_0x225ef4['id'],'params':_0x14fe14}],'redoMutations':[{'id':_0x225ef4['id'],'params':_0x3eada5}]}),!0x0):!0x1;}},_0x11fa3d={'id':'base.command.set-base-view-sort','type':_0x3ffd4d[_0x3bf781(0x415)]['COMMAND'],'handler':(_0x52adaf,_0x5f47fd)=>{const _0x25578c=_0x3bf781;if(!_0x5f47fd)return!0x1;let _0x15d642=_0x52adaf['get'](_0x3ffd4d[_0x25578c(0x1cd)]),{unitId:_0x57cc14,tableId:_0x15d961,viewId:_0x41844e,sort:_0x3f3480}=_0x5f47fd,_0x683829=_0x15d642[_0x25578c(0x224)](_0x57cc14,_0x3ffd4d[_0x25578c(0x433)][_0x25578c(0x314)]);if(!_0x683829||!_0x28cb01(_0x683829,_0x15d961,{'viewIds':[_0x41844e],'fieldIds':_0x3f3480[_0x25578c(0x2c0)](_0x4c7931=>_0x4c7931[_0x25578c(0x29f)])}))return!0x1;let _0x1f7acc=_0x52adaf[_0x25578c(0x393)](_0x3ffd4d[_0x25578c(0x318)]),_0x348088=_0x52adaf[_0x25578c(0x393)](_0x3ffd4d[_0x25578c(0x190)]),_0x2da9ab=_0x683829[_0x25578c(0x313)](),_0x3f42d0=new _0x5e5613()['setViewSort'](_0x2da9ab,_0x15d961,_0x41844e,_0x3f3480),_0x56196e=new _0x2d39fe()[_0x25578c(0x24f)](_0x2da9ab,_0x3f42d0),_0x3a4f50={'unitId':_0x57cc14,'op':_0x3f42d0},_0x2a7563={'unitId':_0x57cc14,'op':_0x56196e};return _0x1f7acc[_0x25578c(0x2b7)](_0x225ef4['id'],_0x3a4f50)?(_0x15d642[_0x25578c(0x400)](_0x57cc14),_0x348088['pushUndoRedo']({'unitID':_0x57cc14,'undoMutations':[{'id':_0x225ef4['id'],'params':_0x2a7563}],'redoMutations':[{'id':_0x225ef4['id'],'params':_0x3a4f50}]}),!0x0):!0x1;}},_0xf30bcf={'id':_0x3bf781(0x197),'type':_0x3ffd4d['CommandType']['COMMAND'],'handler'(_0x42046b,_0xbea19f){const _0x357d14=_0x3bf781;if(!_0xbea19f)return!0x1;let _0x17f8d8=_0x42046b[_0x357d14(0x393)](_0x3ffd4d['IUniverInstanceService']),{unitId:_0x25974b,tableId:_0x14f25b,recordId:_0x1272dd,fieldId:_0x16bbad,value:_0x200dc3}=_0xbea19f,_0x1c5b84=_0x17f8d8[_0x357d14(0x224)](_0x25974b,_0x3ffd4d[_0x357d14(0x433)][_0x357d14(0x314)]);if(!_0x1c5b84||!_0x28cb01(_0x1c5b84,_0x14f25b,{'recordIds':[_0x1272dd],'fieldIds':[_0x16bbad]}))return!0x1;let _0xf017d7=_0x42046b[_0x357d14(0x393)](_0x3ffd4d[_0x357d14(0x318)]),_0x251ac0=_0x42046b[_0x357d14(0x393)](_0x3ffd4d[_0x357d14(0x190)]),_0x74a25c=_0x42046b[_0x357d14(0x393)](_0x48571e),_0xf30b48;try{_0xf30b48=_0x74a25c[_0x357d14(0x464)](_0x1c5b84,_0x14f25b,_0x1272dd,_0x16bbad,_0x200dc3);}catch(_0x589cd6){return console[_0x357d14(0x292)]('Failed\x20to\x20create\x20update\x20cell\x20operation:',_0x589cd6),!0x1;}let _0xbaea3d=new _0x2d39fe()[_0x357d14(0x24f)](_0x1c5b84[_0x357d14(0x313)](),_0xf30b48),_0x16639d={'unitId':_0x25974b,'op':_0xf30b48},_0x3d94ca={'unitId':_0x25974b,'op':_0xbaea3d};return _0xf017d7[_0x357d14(0x2b7)](_0x225ef4['id'],_0x16639d)?(_0x17f8d8['focusUnit'](_0x25974b),_0x251ac0[_0x357d14(0x1cc)]({'unitID':_0x25974b,'undoMutations':[{'id':_0x225ef4['id'],'params':_0x3d94ca}],'redoMutations':[{'id':_0x225ef4['id'],'params':_0x16639d}]}),!0x0):!0x1;}},_0x4cbbb2={'id':_0x3bf781(0x3bd),'type':_0x3ffd4d[_0x3bf781(0x415)][_0x3bf781(0x475)],'handler'(_0x29b284,_0xcce4b){const _0x175994=_0x3bf781;if(!_0xcce4b)return!0x1;let _0x5f46f7=_0x29b284[_0x175994(0x393)](_0x3ffd4d[_0x175994(0x1cd)]),{unitId:_0x6ed368,tableId:_0x6abd54,fieldId:_0x569172}=_0xcce4b,_0x30be19=_0x5f46f7[_0x175994(0x224)](_0x6ed368,_0x3ffd4d[_0x175994(0x433)][_0x175994(0x314)]);if(!_0x30be19||!_0x28cb01(_0x30be19,_0x6abd54,{'fieldIds':[_0x569172]}))return!0x1;let _0xe7d8ae=_0x29b284['get'](_0x3ffd4d['ICommandService']),_0x406357=_0x29b284['get'](_0x3ffd4d[_0x175994(0x190)]),_0x43b6bb=_0x30be19[_0x175994(0x313)](),_0x3f5533=_0xcce4b[_0x175994(0x394)][_0x175994(0x187)](),_0x44bf1f=new _0x5e5613()['updateField'](_0x43b6bb,_0x6abd54,_0x569172,{'description':_0x3f5533}),_0x284d8c=new _0x2d39fe()[_0x175994(0x24f)](_0x30be19[_0x175994(0x313)](),_0x44bf1f),_0x1e6f6f={'unitId':_0x6ed368,'op':_0x44bf1f},_0xe1a8e2={'unitId':_0x6ed368,'op':_0x284d8c};return _0xe7d8ae[_0x175994(0x2b7)](_0x225ef4['id'],_0x1e6f6f)?(_0x5f46f7[_0x175994(0x400)](_0x6ed368),_0x406357['pushUndoRedo']({'unitID':_0x6ed368,'undoMutations':[{'id':_0x225ef4['id'],'params':_0xe1a8e2}],'redoMutations':[{'id':_0x225ef4['id'],'params':_0x1e6f6f}]}),!0x0):!0x1;}},_0x38e085={'id':_0x3bf781(0x337),'type':_0x3ffd4d[_0x3bf781(0x415)][_0x3bf781(0x475)],'handler':(_0x3e951e,_0x493e88)=>{const _0x35c5f1=_0x3bf781;if(!_0x493e88)return!0x1;let _0x1ecb43=_0x3e951e['get'](_0x3ffd4d[_0x35c5f1(0x1cd)]),{unitId:_0x42e6ee,tableId:_0x4f3da1,fieldId:_0x504821,patch:_0xe33f26}=_0x493e88,_0x2cdd17=_0x1ecb43[_0x35c5f1(0x224)](_0x42e6ee,_0x3ffd4d[_0x35c5f1(0x433)][_0x35c5f1(0x314)]);if(!_0x2cdd17||!_0x28cb01(_0x2cdd17,_0x4f3da1,{'fieldIds':[_0x504821]}))return!0x1;let _0x2926d0=_0x3e951e[_0x35c5f1(0x393)](_0x3ffd4d[_0x35c5f1(0x318)]),_0x4b8463=_0x3e951e['get'](_0x3ffd4d['IUndoRedoService']),_0x1b7251=_0x2cdd17[_0x35c5f1(0x313)](),_0x58ea15=new _0x5e5613()['updateField'](_0x1b7251,_0x4f3da1,_0x504821,_0xe33f26),_0x115e4e=new _0x2d39fe()[_0x35c5f1(0x24f)](_0x1b7251,_0x58ea15),_0x55b1f7={'unitId':_0x42e6ee,'op':_0x58ea15},_0x57783e={'unitId':_0x42e6ee,'op':_0x115e4e};return _0x2926d0[_0x35c5f1(0x2b7)](_0x225ef4['id'],_0x55b1f7)?(_0x1ecb43[_0x35c5f1(0x400)](_0x42e6ee),_0x4b8463[_0x35c5f1(0x1cc)]({'unitID':_0x42e6ee,'undoMutations':[{'id':_0x225ef4['id'],'params':_0x57783e}],'redoMutations':[{'id':_0x225ef4['id'],'params':_0x55b1f7}]}),!0x0):!0x1;}},_0x397c07={'id':_0x3bf781(0x481),'type':_0x3ffd4d['CommandType'][_0x3bf781(0x475)],'handler':(_0x4f9426,_0xaf25a2)=>{const _0x3f6a64=_0x3bf781;if(!_0xaf25a2)return!0x1;let _0x24fa71=_0x4f9426[_0x3f6a64(0x393)](_0x3ffd4d[_0x3f6a64(0x1cd)]),{unitId:_0x334b1f,tableId:_0xda5222,viewId:_0x4cbd6c,patch:_0x3cb460}=_0xaf25a2,_0x3a9360=_0x24fa71[_0x3f6a64(0x224)](_0x334b1f,_0x3ffd4d['UniverInstanceType'][_0x3f6a64(0x314)]);if(!_0x3a9360||!_0x28cb01(_0x3a9360,_0xda5222,{'viewIds':[_0x4cbd6c]}))return!0x1;let _0x183298=_0x4f9426[_0x3f6a64(0x393)](_0x3ffd4d[_0x3f6a64(0x318)]),_0x5bd92a=_0x4f9426['get'](_0x3ffd4d[_0x3f6a64(0x190)]),_0xcd90b=_0x3a9360['getSnapshot'](),_0x427e1f=new _0x5e5613()[_0x3f6a64(0x3bb)](_0xcd90b,_0xda5222,_0x4cbd6c,_0x3cb460),_0x207035=new _0x2d39fe()[_0x3f6a64(0x24f)](_0xcd90b,_0x427e1f),_0x95be61={'unitId':_0x334b1f,'op':_0x427e1f},_0xf640af={'unitId':_0x334b1f,'op':_0x207035};return _0x183298[_0x3f6a64(0x2b7)](_0x225ef4['id'],_0x95be61)?(_0x24fa71[_0x3f6a64(0x400)](_0x334b1f),_0x5bd92a[_0x3f6a64(0x1cc)]({'unitID':_0x334b1f,'undoMutations':[{'id':_0x225ef4['id'],'params':_0xf640af}],'redoMutations':[{'id':_0x225ef4['id'],'params':_0x95be61}]}),!0x0):!0x1;}},_0x37fff6={'id':_0x3bf781(0x44d),'type':_0x3ffd4d[_0x3bf781(0x415)][_0x3bf781(0x475)],'handler':(_0x407059,_0x5e942b)=>{const _0x3f572b=_0x3bf781;if(!_0x5e942b)return!0x1;let _0x7e4377=_0x407059[_0x3f572b(0x393)](_0x3ffd4d[_0x3f572b(0x1cd)]),{unitId:_0x337516,tableId:_0x36c623,recordId:_0x2708ab,orderKey:_0x34bbb6}=_0x5e942b,_0x5ed65f=_0x7e4377[_0x3f572b(0x224)](_0x337516,_0x3ffd4d['UniverInstanceType']['UNIVER_BASE']);if(!_0x5ed65f||!_0x28cb01(_0x5ed65f,_0x36c623,{'recordIds':[_0x2708ab]}))return!0x1;let _0x23fdf8=_0x407059['get'](_0x3ffd4d['ICommandService']),_0xdf62cd=_0x407059[_0x3f572b(0x393)](_0x3ffd4d['IUndoRedoService']),_0x317889=_0x5ed65f[_0x3f572b(0x313)](),_0x20ec11=new _0x5e5613()[_0x3f572b(0x25e)](_0x317889,_0x36c623,_0x2708ab,_0x34bbb6),_0x4b8f9b=new _0x2d39fe()[_0x3f572b(0x24f)](_0x317889,_0x20ec11),_0x4130c3={'unitId':_0x337516,'op':_0x20ec11},_0x4ab161={'unitId':_0x337516,'op':_0x4b8f9b};return _0x23fdf8[_0x3f572b(0x2b7)](_0x225ef4['id'],_0x4130c3)?(_0x7e4377[_0x3f572b(0x400)](_0x337516),_0xdf62cd[_0x3f572b(0x1cc)]({'unitID':_0x337516,'undoMutations':[{'id':_0x225ef4['id'],'params':_0x4ab161}],'redoMutations':[{'id':_0x225ef4['id'],'params':_0x4130c3}]}),!0x0):!0x1;}},_0x3b995d={'id':_0x3bf781(0x3a8),'type':_0x3ffd4d[_0x3bf781(0x415)][_0x3bf781(0x475)],'handler':(_0xf31589,_0x2d4826)=>{const _0x13c73c=_0x3bf781;if(!_0x2d4826)return!0x1;let _0x382e18=_0xf31589[_0x13c73c(0x393)](_0x3ffd4d['IUniverInstanceService']),{unitId:_0x127991,tableId:_0x490a4b,viewId:_0x217a92,patch:_0x2d53e4}=_0x2d4826,_0x149ac3=_0x382e18[_0x13c73c(0x224)](_0x127991,_0x3ffd4d[_0x13c73c(0x433)][_0x13c73c(0x314)]);if(!_0x149ac3||!_0x28cb01(_0x149ac3,_0x490a4b,{'viewIds':[_0x217a92]}))return!0x1;let _0x3a07e2=_0xf31589[_0x13c73c(0x393)](_0x3ffd4d[_0x13c73c(0x318)]),_0x8534e2=_0xf31589[_0x13c73c(0x393)](_0x3ffd4d[_0x13c73c(0x190)]),_0x6fa27a=_0x149ac3[_0x13c73c(0x313)](),_0x1f407d=new _0x5e5613()['updateViewConfig'](_0x6fa27a,_0x490a4b,_0x217a92,_0x2d53e4),_0x139d6b=new _0x2d39fe()[_0x13c73c(0x24f)](_0x6fa27a,_0x1f407d),_0x159383={'unitId':_0x127991,'op':_0x1f407d},_0x7ee9ce={'unitId':_0x127991,'op':_0x139d6b};return _0x3a07e2[_0x13c73c(0x2b7)](_0x225ef4['id'],_0x159383)?(_0x382e18['focusUnit'](_0x127991),_0x8534e2[_0x13c73c(0x1cc)]({'unitID':_0x127991,'undoMutations':[{'id':_0x225ef4['id'],'params':_0x7ee9ce}],'redoMutations':[{'id':_0x225ef4['id'],'params':_0x159383}]}),!0x0):!0x1;}};function _0x26f213(_0xa016ed){const _0xd902a1=_0x3bf781;var _0x5dc2b6,_0x34b8dd,_0x163cd6,_0x9aac2d,_0x26f5b0;let _0x51ef0d=(_0x5dc2b6=_0xa016ed[_0xd902a1(0x18a)])==null?Date[_0xd902a1(0x18a)]():_0x5dc2b6,_0x437c4f=(_0x34b8dd=_0xa016ed[_0xd902a1(0x3e1)])==null?_0xa016ed['id']+_0xd902a1(0x1ff):_0x34b8dd,_0x4d8533=(_0x163cd6=_0xa016ed[_0xd902a1(0x38f)])==null?_0xa016ed['id']+_0xd902a1(0x341):_0x163cd6,_0x1e8584=(_0x9aac2d=_0xa016ed[_0xd902a1(0x262)])==null?0x5:_0x9aac2d,_0x5282ec={'id':_0x437c4f,'name':(_0x26f5b0=_0xa016ed['primaryFieldName'])==null?_0xd902a1(0x330):_0x26f5b0,'type':_0x3ffd4d[_0xd902a1(0x376)][_0xd902a1(0x2f4)],'config':{'placeholder':_0xd902a1(0x179)}},_0x59c2c2={},_0x59eea4=[],_0x5e4794={},_0x574699={},_0x11191d={};for(let _0x549406=0x0;_0x549406<_0x1e8584;_0x549406++){let _0x32ec5a=_0xa016ed['id']+'-record-'+(_0x549406+0x1);_0x59c2c2[_0x32ec5a]={'id':_0x32ec5a,'values':_0xa016ed[_0xd902a1(0x40e)]?{[_0x437c4f]:_0xa016ed[_0xd902a1(0x40e)]+'\x20'+(_0x549406+0x1)}:{},'orderKey':String(_0x549406+0x1)[_0xd902a1(0x1f3)](0x4,'0'),'createdAt':_0x51ef0d,'updatedAt':_0x51ef0d},_0x59eea4[_0xd902a1(0x2af)](_0x32ec5a),_0x5e4794[_0x32ec5a]=_0x549406,_0x574699[_0x549406]=_0x32ec5a,_0x11191d[_0x549406]={},_0xa016ed[_0xd902a1(0x40e)]&&(_0x11191d[_0x549406][0x0]={'v':_0xa016ed[_0xd902a1(0x40e)]+'\x20'+(_0x549406+0x1)});}let _0x23f0bd={'id':_0x4d8533,'tableId':_0xa016ed['id'],'name':_0xd902a1(0x1c6),'type':_0x3ffd4d[_0xd902a1(0x484)][_0xd902a1(0x1c6)],'fieldOrder':[_0x437c4f],'fieldSettings':{},'config':{'frozenFieldCount':0x1}};return{'id':_0xa016ed['id'],'name':_0xa016ed[_0xd902a1(0x209)],'primaryFieldId':_0x437c4f,'fieldOrder':[_0x437c4f],'fields':{[_0x437c4f]:_0x5282ec},'records':_0x59c2c2,'recordOrder':_0x59eea4,'rowIndex':_0x5e4794,'rowId':_0x574699,'colIndex':{[_0x437c4f]:0x0},'colId':{0x0:_0x437c4f},'cellData':_0x11191d,'views':{[_0x4d8533]:_0x23f0bd},'viewOrder':[_0x4d8533]};}let _0x35d97c='UNIVER_EMBED_BASES_TABLE';function _0x15436c(_0x332b1c){const _0x5ac659=_0x3bf781;var _0xd8dc30,_0x3f6e81;let _0x3a500c=_0x26f213({'id':_0x332b1c['hostAnchorId'],'name':(_0xd8dc30=_0x332b1c[_0x5ac659(0x209)])==null?_0x332b1c[_0x5ac659(0x3c2)]:_0xd8dc30,'recordCount':0x0});return{..._0x3a500c,'resources':{...(_0x3f6e81=_0x3a500c[_0x5ac659(0x432)])==null?{}:_0x3f6e81,[_0x35d97c]:_0x161c26(_0x332b1c)}};}function _0x24eb61(_0x379ed9){const _0xd5dd38=_0x3bf781;return{'id':_0x225ef4['id'],'params':{'unitId':_0x379ed9[_0xd5dd38(0x166)],'op':new _0x5e5613()[_0xd5dd38(0x264)](_0x379ed9[_0xd5dd38(0x38d)],_0x379ed9[_0xd5dd38(0x49a)],_0x379ed9[_0xd5dd38(0x19b)]),'trigger':_0xd5dd38(0x2ae)}};}function _0x593d2d(_0x437706){const _0x14c9e3=_0x3bf781;let _0x29c187=_0x437706[_0x14c9e3(0x38d)]['tableOrder'][_0x14c9e3(0x1c2)](_0x437706[_0x14c9e3(0x1fe)]);if(!(!_0x437706['snapshot'][_0x14c9e3(0x38a)][_0x437706[_0x14c9e3(0x1fe)]]||_0x29c187<0x0))return{'id':_0x225ef4['id'],'params':{'unitId':_0x437706[_0x14c9e3(0x166)],'op':new _0x5e5613()['deleteTable'](_0x437706[_0x14c9e3(0x38d)],_0x437706[_0x14c9e3(0x1fe)]),'trigger':_0x14c9e3(0x2ae)}};}function _0x161c26(_0x1c8e44){const _0x5870eb=_0x3bf781;return{'version':0x1,'embedId':_0x1c8e44[_0x5870eb(0x3c2)],'hostAnchorId':_0x1c8e44[_0x5870eb(0x354)],'childUnitId':_0x1c8e44['childUnitId'],'childType':_0x1c8e44[_0x5870eb(0x185)]};}function _0x36db5a(_0x1fbc9e){const _0x14aa80=_0x3bf781;var _0x523ec7;let _0x49c754=Math[_0x14aa80(0x41e)](0x0,Number((_0x523ec7=_0x1fbc9e['decimalPlaces'])==null?0x0:_0x523ec7)),_0x38fbc8=_0x1fbc9e[_0x14aa80(0x38b)]===!0x1?'0':_0x14aa80(0x3dd),_0x582000=_0x49c754?'.'+'0'[_0x14aa80(0x1ad)](_0x49c754):'',_0x273c03=_0x1a738d(_0x1fbc9e['abbreviation']);return''+(_0x1fbc9e['currencySymbol']?_0xbfbf79(_0x1fbc9e['currencySymbol']):'')+_0x38fbc8+_0x582000+_0x273c03;}function _0x5ab3dc(_0x4278ce,_0x1412ff){const _0x4cbf39=_0x3bf781;let _0x40f451=_0x36db5a(_0x1412ff),_0x251e01=_0x3ffd4d['numfmt'][_0x4cbf39(0x241)](_0x40f451,_0x4278ce,{'throws':!0x1});return _0x1f5cc3(String(_0x251e01),_0x1412ff['separatorStyle'],_0x1412ff[_0x4cbf39(0x383)]);}function _0x1a738d(_0x36b031){const _0x4ff5bd=_0x3bf781;return _0x36b031==='K'?',\x22K\x22':_0x36b031==='M'?_0x4ff5bd(0x41f):_0x36b031==='B'?_0x4ff5bd(0x26f):'';}function _0xbfbf79(_0x4d5a6a){const _0x4c1983=_0x3bf781;return/^[A-Z]+$/i[_0x4c1983(0x280)](_0x4d5a6a)?'\x22'+_0x4d5a6a+'\x22':_0x4d5a6a;}function _0x1f5cc3(_0x4e0bc9,_0xe962af,_0x38d25c){const _0x244399=_0x3bf781;let _0x12cdb1=_0xe962af===_0x244399(0x3f6)?_0x23165c(_0x38d25c):_0xe962af;return _0x12cdb1===_0x244399(0x42c)?_0x4e0bc9[_0x244399(0x180)](/,/g,'\x00')[_0x244399(0x180)](/\./g,',')[_0x244399(0x180)](/\0/g,'.'):_0x12cdb1===_0x244399(0x2ad)?_0x4e0bc9[_0x244399(0x180)](/,/g,'\x20')[_0x244399(0x180)](/\./g,','):_0x12cdb1==='spacePeriod'?_0x4e0bc9[_0x244399(0x180)](/,/g,'\x20'):_0x4e0bc9;}function _0x23165c(_0x4de5aa){const _0x19f94b=_0x3bf781;var _0x55515c,_0x40d690;let _0x305290=_0x4de5aa||new Intl['NumberFormat']()[_0x19f94b(0x18e)]()['locale'],_0x16135f;try{_0x16135f=new Intl[(_0x19f94b(0x32d))](_0x305290,{'minimumFractionDigits':0x2,'maximumFractionDigits':0x2,'useGrouping':!0x0})['formatToParts'](0xf4240);}catch{return _0x19f94b(0x233);}let _0x389341=(_0x55515c=_0x16135f[_0x19f94b(0x367)](_0x20b8b2=>_0x20b8b2[_0x19f94b(0x2ec)]===_0x19f94b(0x32a)))==null?void 0x0:_0x55515c[_0x19f94b(0x2cf)],_0x248fc9=(_0x40d690=_0x16135f[_0x19f94b(0x367)](_0x17a4df=>_0x17a4df['type']===_0x19f94b(0x1fb)))==null?void 0x0:_0x40d690[_0x19f94b(0x2cf)],_0x4f420d=_0x389341==='\u00a0'||_0x389341==='\u202f'?'\x20':_0x389341;return _0x4f420d==='.'&&_0x248fc9===','?'periodComma':_0x4f420d==='\x20'&&_0x248fc9===','?_0x19f94b(0x2ad):_0x4f420d==='\x20'&&_0x248fc9==='.'?_0x19f94b(0x1f4):_0x19f94b(0x233);}function _0x21b82a(_0x2bab87,_0xc4b181){const _0x3bbe58=_0x3bf781;var _0x1ba45c,_0x1a3da8;let _0xa70380=_0x3ffd4d['Tools'][_0x3bbe58(0x2fd)](_0x2bab87),_0x3f0792=_0xc4b181['includeRecords']===!0x0,_0x48e479=new Map(),_0x42940c=(_0x1ba45c=_0xc4b181[_0x3bbe58(0x49f)])==null?()=>_0x3bbe58(0x46d)+(0x0,_0x3ffd4d[_0x3bbe58(0x458)])(0x8):_0x1ba45c,_0x384ef8=_0xa70380['viewOrder'];return _0xc4b181[_0x3bbe58(0x2a6)]&&(_0x384ef8=_0xa70380[_0x3bbe58(0x1c3)][_0x3bbe58(0x2c0)](_0x4ab2d0=>{const _0x28c6d2=_0x3bbe58;let _0xe618f=_0x42940c();return _0x48e479[_0x28c6d2(0x2b9)](_0x4ab2d0,_0xe618f),_0xe618f;})),{..._0xa70380,'id':_0xc4b181['id'],'name':_0xc4b181[_0x3bbe58(0x209)],'records':_0x3f0792?_0xa70380[_0x3bbe58(0x25f)]:{},'recordOrder':_0x3f0792?_0xa70380['recordOrder']:[],'rowIndex':_0x3f0792?_0xa70380[_0x3bbe58(0x491)]:{},'rowId':_0x3f0792?_0xa70380['rowId']:{},'cellData':_0x3f0792?_0xa70380[_0x3bbe58(0x434)]:{},'resources':_0x3f0792?_0xa70380[_0x3bbe58(0x432)]:{},'viewOrder':_0x384ef8,'views':Object[_0x3bbe58(0x234)](Object['entries']((_0x1a3da8=_0xa70380[_0x3bbe58(0x37f)])==null?{}:_0x1a3da8)['map'](([_0x8e8e9d,_0x20d839])=>{const _0x26f99c=_0x3bbe58;var _0x251c10;let _0x45e4ee=(_0x251c10=_0x48e479['get'](_0x8e8e9d))==null?_0xc4b181[_0x26f99c(0x2a6)]?_0x42940c():_0x8e8e9d:_0x251c10;return[_0x45e4ee,{..._0x20d839,'id':_0x45e4ee,'tableId':_0xc4b181['id']}];}))};}var _0x313d91=_0x3bf781(0x40a),_0x486c43=_0x3bf781(0x39a);let _0x365f0d={},_0x5ce932={};function _0x583cd5(_0x1c07d8){const _0xce8619=_0x3bf781;return new _0x2d39fe()[_0xce8619(0x437)](_0x1c07d8);}function _0x4742c3(_0x2f612e){const _0x29f5a1=_0x3bf781;return _0x2f612e[_0x29f5a1(0x2bd)]['map'](_0x4d0dbf=>({'unitId':_0x2f612e[_0x29f5a1(0x166)],'sheetId':_0x2f612e[_0x29f5a1(0x1fe)],'range':{'startRow':_0x4d0dbf[_0x29f5a1(0x247)],'endRow':_0x4d0dbf['row'],'startColumn':_0x4d0dbf[_0x29f5a1(0x1de)],'endColumn':_0x4d0dbf[_0x29f5a1(0x1de)]}}));}function _0x1ae187(_0x446147,_0x56e8c7){const _0x826361=_0x3bf781;return{[_0x446147]:Object[_0x826361(0x234)](_0x56e8c7[_0x826361(0x2c0)](_0xc3f425=>[_0xc3f425,'1']))};}let _0x5483af=class extends _0x3ffd4d['Disposable']{constructor(_0x333736,_0x127e16){const _0x591d67=_0x3bf781;super(),this['_activeDirtyManagerService']=_0x333736,this[_0x591d67(0x1a1)]=_0x127e16,this[_0x591d67(0x457)]();}[_0x3bf781(0x457)](){const _0x2f9441=_0x3bf781;this[_0x2f9441(0x2e6)][_0x2f9441(0x342)](_0x225ef4['id'],{'commandId':_0x225ef4['id'],'getDirtyData':_0x57e6e0=>this['_getJson1DirtyData'](_0x57e6e0['params'])}),this[_0x2f9441(0x273)]((0x0,_0x3ffd4d[_0x2f9441(0x1e3)])(()=>{const _0xd33c65=_0x2f9441;this[_0xd33c65(0x2e6)][_0xd33c65(0x3fb)](_0x225ef4['id']);}));}['_getTable'](_0x16aa93,_0x40ac64){const _0x2aef3d=_0x3bf781;var _0x2ee6c0;let _0x33197f=this[_0x2aef3d(0x1a1)][_0x2aef3d(0x224)](_0x16aa93,_0x3ffd4d[_0x2aef3d(0x433)][_0x2aef3d(0x314)]);return(_0x2ee6c0=_0x33197f==null?void 0x0:_0x33197f[_0x2aef3d(0x313)]()['tables'][_0x40ac64])==null?null:_0x2ee6c0;}[_0x3bf781(0x385)](_0x996f5e){const _0x277fb0=_0x3bf781;if(_0x996f5e['trigger']==='formula.mutation.set-formula-calculation-result')return{};if(!_0x996f5e['unitId']||!_0x996f5e['op'])return{'clearDependencyTreeCache':this[_0x277fb0(0x1a4)](),'forceCalculation':!0x0};let _0x20e9ee=_0x583cd5(_0x996f5e['op']),_0x3f3918=this[_0x277fb0(0x201)](_0x996f5e[_0x277fb0(0x166)],_0x20e9ee);if(_0x3f3918[_0x277fb0(0x2e1)])return{'clearDependencyTreeCache':_0x1ae187(_0x996f5e[_0x277fb0(0x166)],_0x3f3918),'forceCalculation':!0x0};let _0x4d74c0=Object[_0x277fb0(0x1d1)](this[_0x277fb0(0x260)](_0x996f5e[_0x277fb0(0x166)],_0x20e9ee))[_0x277fb0(0x1db)](([_0x31a208,_0x123a4c])=>_0x4742c3({'unitId':_0x996f5e[_0x277fb0(0x166)],'tableId':_0x31a208,'patches':_0x123a4c}));return _0x4d74c0[_0x277fb0(0x2e1)]?{'dirtyRanges':_0x4d74c0}:{};}['_getStructureDirtyTableIds'](_0x2142f7,_0x422752){const _0xbb80a4=_0x3bf781;let _0x1344fa=_0x422752['filter'](_0x4fc2f3=>_0x4fc2f3[_0xbb80a4(0x29e)]!=='cell')['flatMap'](_0x430c0b=>_0x430c0b['tableId']?[_0x430c0b[_0xbb80a4(0x1fe)]]:this[_0xbb80a4(0x349)](_0x2142f7));return Array['from'](new Set(_0x1344fa));}[_0x3bf781(0x260)](_0x406c6b,_0x2ee6f2){const _0x4e9237=_0x3bf781;let _0x3493c5=new Set();return _0x2ee6f2[_0x4e9237(0x409)]((_0x26df2d,_0x5cf108)=>{const _0x108799=_0x4e9237;var _0x2c81ce;let _0x41695c=this[_0x108799(0x334)](_0x406c6b,_0x5cf108);if(!_0x41695c)return _0x26df2d;let _0x4b887a=_0x5cf108[_0x108799(0x1fe)]+':'+_0x41695c[_0x108799(0x247)]+':'+_0x41695c[_0x108799(0x1de)];return _0x3493c5[_0x108799(0x22a)](_0x4b887a)?_0x26df2d:(_0x3493c5['add'](_0x4b887a),_0x26df2d[_0x5cf108[_0x108799(0x1fe)]]=(_0x2c81ce=_0x26df2d[_0x5cf108[_0x108799(0x1fe)]])==null?[]:_0x2c81ce,_0x26df2d[_0x5cf108[_0x108799(0x1fe)]][_0x108799(0x2af)](_0x41695c),_0x26df2d);},{});}['_toDirtyRangePatch'](_0x3aba6c,_0x320352){const _0x59559c=_0x3bf781;if(_0x320352[_0x59559c(0x29e)]!==_0x59559c(0x1b8))return null;if(_0x320352['row']!=null&&_0x320352[_0x59559c(0x17a)]!=null)return{'row':_0x320352[_0x59559c(0x247)],'col':_0x320352[_0x59559c(0x17a)],'value':null};if(!_0x320352['recordId']||!_0x320352[_0x59559c(0x29f)])return null;let _0x2549b2=this[_0x59559c(0x168)](_0x3aba6c,_0x320352['tableId']);if(!_0x2549b2)return null;let _0x3aa5ba=_0x534fa6(_0x2549b2,_0x320352[_0x59559c(0x2f3)],_0x320352[_0x59559c(0x29f)]);return _0x3aa5ba?{'row':_0x3aa5ba[_0x59559c(0x247)],'col':_0x3aa5ba['col'],'value':null}:null;}[_0x3bf781(0x349)](_0x26931c){const _0x47eb83=_0x3bf781;var _0x3fe302;let _0x33e5e9=this[_0x47eb83(0x1a1)][_0x47eb83(0x224)](_0x26931c,_0x3ffd4d['UniverInstanceType'][_0x47eb83(0x314)]);return Object[_0x47eb83(0x449)]((_0x3fe302=_0x33e5e9==null?void 0x0:_0x33e5e9[_0x47eb83(0x313)]()['tables'])==null?{}:_0x3fe302)['map'](_0x563c94=>_0x563c94['id']);}[_0x3bf781(0x1a4)](){const _0x17ab16=_0x3bf781;let _0x4146e3=this[_0x17ab16(0x1a1)][_0x17ab16(0x49d)](_0x3ffd4d[_0x17ab16(0x433)][_0x17ab16(0x314)])[_0x17ab16(0x2c0)](_0x10f0b9=>_0x1ae187(_0x10f0b9['getUnitId'](),Object[_0x17ab16(0x3f8)](_0x10f0b9[_0x17ab16(0x313)]()['tables'])));return Object[_0x17ab16(0x374)]({},..._0x4146e3);}};_0x5483af=_0x3c58c5([_0x5ba4ba(0x0,_0x3a7103[_0x3bf781(0x467)]),_0x5ba4ba(0x1,_0x3ffd4d[_0x3bf781(0x1cd)])],_0x5483af);let _0x446aed=_0x3ffd4d['regexp']['createRegExpFromSafeFragment'](String['raw']`(?:^|\W)\$?[A-Z]{1,3}\$?\d+(?::\$?[A-Z]{1,3}\$?\d+)?(?:$|\W)`),_0x596b84=_0x3ffd4d[_0x3bf781(0x22d)][_0x3bf781(0x47b)](String[_0x3bf781(0x461)]`(?:'\[[^\]]+\](?:[^']|'')+'|\[[^\]]+\][^\s'!]+)!\$?[A-Z]{1,3}\$?\d+(?::\$?[A-Z]{1,3}\$?\d+)?`,'gi'),_0x225334=/\{([^}]+)\}/g,_0x151ab4=_0x3ffd4d[_0x3bf781(0x22d)][_0x3bf781(0x47b)](String[_0x3bf781(0x461)]`\b([A-Z_]\w*)\[([^\]]+)\]`,'gi'),_0x18a293=_0x3ffd4d['regexp'][_0x3bf781(0x47b)](String[_0x3bf781(0x461)]`(^|[^\w\][])\[([^\]]+)\]`,'g');var _0x17d062=class{['createSuperTableReference'](_0x222075,_0x3be8fc=_0x222075['id']){const _0x1d596f=_0x3bf781;var _0x50a0ab,_0x2dddd3;let _0x5923b6=(_0x50a0ab=(_0x2dddd3=_0x222075[_0x1d596f(0x19f)])==null?void 0x0:_0x2dddd3[_0x1d596f(0x2e1)])==null?Object[_0x1d596f(0x449)](_0x222075[_0x1d596f(0x25f)])['length']:_0x50a0ab;return{'sheetId':_0x3be8fc,'titleMap':new Map(_0x222075[_0x1d596f(0x2a8)][_0x1d596f(0x2c0)]((_0x23012c,_0x43c2f0)=>{const _0x12bce2=_0x1d596f;var _0x314d05,_0x243a12;return[(_0x314d05=(_0x243a12=_0x222075[_0x12bce2(0x3b1)][_0x23012c])==null?void 0x0:_0x243a12[_0x12bce2(0x209)])==null?_0x23012c:_0x314d05,_0x43c2f0];})),'range':{'startRow':0x0,'endRow':Math[_0x1d596f(0x41e)](0x0,_0x5923b6-0x1),'startColumn':0x0,'endColumn':Math[_0x1d596f(0x41e)](0x0,_0x222075[_0x1d596f(0x2a8)][_0x1d596f(0x2e1)]-0x1)},'showHeader':!0x1};}['registerSuperTable'](_0x7519f2,_0x586b93,_0x5d67a8,_0x5e9640={}){const _0x21fed4=_0x3bf781;var _0x4d5ff2;let _0x324695=this['createSuperTableReference'](_0x5d67a8,(_0x4d5ff2=_0x5e9640[_0x21fed4(0x2a9)])==null?_0x5d67a8['id']:_0x4d5ff2);return new Set([_0x5d67a8['id'],_0x5d67a8[_0x21fed4(0x209)],_0x5e9640[_0x21fed4(0x447)]][_0x21fed4(0x3e7)](_0x2cff2b=>!!_0x2cff2b))[_0x21fed4(0x43f)](_0xcd5f27=>_0x7519f2['registerTable'](_0x586b93,_0xcd5f27,_0x324695)),_0x324695;}[_0x3bf781(0x34e)](_0x33ec14,_0x311911){const _0x28cad3=_0x3bf781;let _0x1c6ec3=this[_0x28cad3(0x22c)](_0x311911);return _0x1c6ec3[_0x28cad3(0x43f)](({tableName:_0x5cab17,reference:_0x5c9b96})=>{const _0x3f39c2=_0x28cad3;_0x33ec14[_0x3f39c2(0x16a)](_0x311911['id'],_0x5cab17,_0x5c9b96);}),Array[_0x28cad3(0x278)](new Set(_0x1c6ec3[_0x28cad3(0x2c0)](({reference:_0x5808c7})=>_0x5808c7)));}[_0x3bf781(0x22c)](_0x1a7f9a,_0x15fe91){const _0x381364=_0x3bf781;let _0x299ca0=[],_0x51ebb4=_0x15fe91?new Set(_0x15fe91):null,_0x1d862e=new Map();return Object[_0x381364(0x449)](_0x1a7f9a['tables'])['forEach'](_0x137beb=>{const _0x2de65f=_0x381364;var _0x40aad2;let _0x1b980c=_0x137beb[_0x2de65f(0x209)][_0x2de65f(0x187)]()['toLowerCase']();_0x1d862e[_0x2de65f(0x2b9)](_0x1b980c,((_0x40aad2=_0x1d862e[_0x2de65f(0x393)](_0x1b980c))==null?0x0:_0x40aad2)+0x1);}),Object['values'](_0x1a7f9a[_0x381364(0x38a)])['filter'](_0x51e821=>!_0x51ebb4||_0x51ebb4[_0x381364(0x22a)](_0x51e821['id']))['forEach'](_0x18a4cd=>{const _0xb8d910=_0x381364;var _0xc3983d;let _0x5a7517=this[_0xb8d910(0x258)](_0x18a4cd,_0x18a4cd['id']);_0x299ca0[_0xb8d910(0x2af)]({'tableId':_0x18a4cd['id'],'tableName':_0x18a4cd['id'],'reference':_0x5a7517}),((_0xc3983d=_0x1d862e[_0xb8d910(0x393)](_0x18a4cd[_0xb8d910(0x209)][_0xb8d910(0x187)]()['toLowerCase']()))==null?0x0:_0xc3983d)===0x1&&_0x299ca0[_0xb8d910(0x2af)]({'tableId':_0x18a4cd['id'],'tableName':_0x18a4cd[_0xb8d910(0x209)],'reference':_0x5a7517});}),_0x299ca0;}[_0x3bf781(0x2c4)](_0x141e90,_0x5dd4a3,_0x6487ee={}){const _0x550287=_0x3bf781;let _0x2faf6c=_0x141e90[_0x550287(0x187)]();if(!_0x2faf6c)return{'valid':!0x0};if(_0x24c45f(_0x2faf6c))return{'valid':!0x1,'reason':'[BaseFormula]:\x20A1\x20references\x20and\x20ranges\x20are\x20not\x20supported\x20in\x20Base\x20formulas.'};for(let _0x141b90 of _0x278987(_0x2faf6c)){let _0x13e059=_0x2ed65c(_0x141b90,_0x5dd4a3,_0x6487ee['snapshot']);if(!_0x13e059[_0x550287(0x49a)])return{'valid':!0x1,'reason':_0x550287(0x352)+_0x141b90[_0x550287(0x447)]+'\x22\x20does\x20not\x20exist.'};if(!_0x13e059[_0x550287(0x189)])return{'valid':!0x1,'reason':_0x550287(0x338)+_0x141b90[_0x550287(0x2be)]+_0x550287(0x210)};}return{'valid':!0x0};}[_0x3bf781(0x191)](_0x500319,_0x5c3c45,_0x3b2ce6={}){const _0x1fcc99=_0x3bf781;let _0x5ea2ec=new Set();for(let _0x2f7d2b of this[_0x1fcc99(0x3cb)](_0x500319,_0x5c3c45,_0x3b2ce6))_0x2f7d2b[_0x1fcc99(0x1fe)]===_0x5c3c45['id']&&_0x5ea2ec[_0x1fcc99(0x45a)](_0x2f7d2b['fieldId']);return Array[_0x1fcc99(0x278)](_0x5ea2ec);}['getStructuredDependencies'](_0x36fca2,_0x5f5901,_0x4332bd={}){const _0x1dacf8=_0x3bf781;let _0x831e11=new Map();for(let _0x3b1397 of _0x278987(_0x36fca2)){let _0x2597eb=_0x2ed65c(_0x3b1397,_0x5f5901,_0x4332bd['snapshot']);if(!_0x2597eb['table']||!_0x2597eb['field'])continue;let _0x3bcbd4=_0x2597eb[_0x1dacf8(0x49a)]['id']+'\x1f'+_0x2597eb[_0x1dacf8(0x189)]['id'];_0x831e11['set'](_0x3bcbd4,{'tableId':_0x2597eb[_0x1dacf8(0x49a)]['id'],'fieldId':_0x2597eb[_0x1dacf8(0x189)]['id']});}return Array['from'](_0x831e11[_0x1dacf8(0x449)]());}};function _0x335917(_0x44cbee,_0x55361c){const _0xf24d7d=_0x3bf781;var _0x43333d;let _0x73f03=[],_0x1e1969=(_0x43333d=_0x55361c[_0xf24d7d(0x198)])==null?void 0x0:_0x43333d[_0x44cbee['id']];return _0x1e1969&&Object['entries'](_0x1e1969)[_0xf24d7d(0x43f)](([_0x2df05d,_0x1d4d5c])=>{const _0x3a459f=_0xf24d7d;let _0x4e2076=_0x44cbee[_0x3a459f(0x38a)][_0x2df05d];if(!_0x4e2076||!_0x1d4d5c)return;let _0x16c577=_0x374807(_0x4e2076),_0x1a82f1=[];new _0x3ffd4d[(_0x3a459f(0x1d6))](_0x1d4d5c)[_0x3a459f(0x2df)]((_0x2ec6cb,_0x26c589,_0x37dcd7)=>{const _0xa99646=_0x3a459f;let _0x4d9cf6=_0x2b3a3a(_0x16c577,_0x2ec6cb,_0x26c589,_0x37dcd7);_0x4d9cf6&&_0x1a82f1[_0xa99646(0x2af)](_0x4d9cf6);}),_0x1a82f1[_0x3a459f(0x2e1)]&&_0x73f03[_0x3a459f(0x2af)]({'unitId':_0x44cbee['id'],'tableId':_0x2df05d,'patches':_0x1a82f1});}),_0x73f03;}function _0x2b3a3a(_0x512bab,_0x1d5d37,_0xb04b4e,_0x3bbbb0){const _0x3c4021=_0x3bf781;var _0x554283,_0x2e9d4a,_0x34257a,_0x4b2a5b,_0x2e8136;let _0x876e5c=(_0x554283=_0x512bab['rowId'])==null?void 0x0:_0x554283[_0x1d5d37],_0xb51cef=(_0x2e9d4a=_0x512bab[_0x3c4021(0x3d8)])==null?void 0x0:_0x2e9d4a[_0xb04b4e];if(!_0x876e5c||!_0x512bab[_0x3c4021(0x25f)][_0x876e5c]||!_0xb51cef)return null;let _0x3892a1=_0x512bab[_0x3c4021(0x3b1)][_0xb51cef];if(!_0x3892a1||_0x3892a1[_0x3c4021(0x2ec)]!=='formula')return null;let _0x130965=String((_0x34257a=(_0x4b2a5b=_0x3892a1[_0x3c4021(0x1a3)])==null?void 0x0:_0x4b2a5b[_0x3c4021(0x1f0)])==null?'':_0x34257a)[_0x3c4021(0x187)](),_0x539341=(_0x2e8136=_0x3bbbb0==null?void 0x0:_0x3bbbb0['v'])==null?null:_0x2e8136,_0x413a54={'v':_0x539341,'t':_0xafd100(_0x539341),..._0x1d5d37===0x0&&_0x130965?{'f':_0x130965}:{},'si':_0x3892a1['id']};return _0x357c91(_0x2a3cd5(_0x512bab,_0x876e5c,_0xb51cef),_0x413a54)?null:{'row':_0x1d5d37,'col':_0xb04b4e,'value':_0x413a54};}function _0x357c91(_0x3a6475,_0x609a34){var _0x2b8e59,_0x4e2815;return _0x3a6475!=null&&Object['is']((_0x2b8e59=_0x3a6475['v'])==null?null:_0x2b8e59,(_0x4e2815=_0x609a34['v'])==null?null:_0x4e2815)&&_0x3a6475['t']===_0x609a34['t']&&_0x3a6475['f']===_0x609a34['f']&&_0x3a6475['si']===_0x609a34['si'];}function _0xafd100(_0xfd18ba){const _0x5df546=_0x3bf781;return typeof _0xfd18ba==_0x5df546(0x236)?_0x3ffd4d[_0x5df546(0x29d)]['NUMBER']:typeof _0xfd18ba=='boolean'?_0x3ffd4d[_0x5df546(0x29d)][_0x5df546(0x2fe)]:typeof _0xfd18ba=='string'?_0x3ffd4d[_0x5df546(0x29d)][_0x5df546(0x456)]:null;}function _0x278987(_0x408a0e){const _0x486e82=_0x3bf781;_0x408a0e=_0x483b9a(_0x408a0e,()=>'');let _0x5b900d=new Map();for(let _0x56102d of _0x408a0e[_0x486e82(0x497)](_0x225334)){let _0x2ec797={'fieldName':_0x56102d[0x1]};_0x5b900d['set']('\x1f'+_0x2ec797[_0x486e82(0x2be)],_0x2ec797);}for(let _0x30e937 of _0x408a0e[_0x486e82(0x497)](_0x151ab4)){let _0x58f37e={'tableName':_0x30e937[0x1],'fieldName':_0x30e937[0x2]};_0x5b900d[_0x486e82(0x2b9)](_0x58f37e[_0x486e82(0x447)]+'\x1f'+_0x58f37e['fieldName'],_0x58f37e);}for(let _0x3744cf of _0x408a0e['matchAll'](_0x18a293)){let _0x3659d1={'fieldName':_0x3744cf[0x2]};_0x5b900d[_0x486e82(0x2b9)]('\x1f'+_0x3659d1[_0x486e82(0x2be)],_0x3659d1);}return Array[_0x486e82(0x278)](_0x5b900d[_0x486e82(0x449)]());}function _0x24c45f(_0x302fb8){const _0x128924=_0x3bf781;let _0x2cdfa2=_0x28fde7(_0x302fb8,()=>'\x20')[_0x128924(0x180)](_0x225334,'\x20')[_0x128924(0x180)](_0x151ab4,'\x20')[_0x128924(0x180)](_0x18a293,_0x128924(0x441));return _0x446aed[_0x128924(0x280)](_0x2cdfa2);}function _0x483b9a(_0x93aa5d,_0x130807){return _0x4a0631(_0x28fde7(_0x93aa5d,_0x130807),_0x130807);}function _0x28fde7(_0x3c03a8,_0x6b55e3){const _0xe048b=_0x3bf781;return _0x596b84[_0xe048b(0x28a)]=0x0,_0x3c03a8[_0xe048b(0x180)](_0x596b84,(_0x307333,_0x40017e)=>_0x2f9b2f(_0x3c03a8,_0x40017e)?_0x307333:_0x6b55e3(_0x307333));}let _0x3a8522=/(?:'((?:[^']|'')+)'|\[[^\]]+\]|[A-Za-z0-9_.-]+)![^\s!\[\]]+\[/g;function _0x4a0631(_0x2fb575,_0x2fff5f){const _0x48a387=_0x3bf781;let _0x4384aa=[];_0x3a8522[_0x48a387(0x28a)]=0x0;let _0x52cf7b;for(;(_0x52cf7b=_0x3a8522[_0x48a387(0x361)](_0x2fb575))!=null;){if(_0x2f9b2f(_0x2fb575,_0x52cf7b[_0x48a387(0x19b)]))continue;let _0xf4e975=_0x3a8522['lastIndex']-0x1,_0x5c5715=0x0;for(let _0x1518a3=_0xf4e975;_0x1518a3<_0x2fb575[_0x48a387(0x2e1)];_0x1518a3++)if(_0x2fb575[_0x1518a3]==='['&&_0x5c5715++,_0x2fb575[_0x1518a3]===']'&&(_0x5c5715--,_0x5c5715===0x0)){_0x4384aa[_0x48a387(0x2af)]({'start':_0x52cf7b[_0x48a387(0x19b)],'end':_0x1518a3+0x1}),_0x3a8522[_0x48a387(0x28a)]=_0x1518a3+0x1;break;}}if(_0x4384aa['length']===0x0)return _0x2fb575;let _0x49f1d2='',_0x37c543=0x0;for(let _0x4682d7 of _0x4384aa)_0x49f1d2+=_0x2fb575[_0x48a387(0x2db)](_0x37c543,_0x4682d7[_0x48a387(0x2dd)]),_0x49f1d2+=_0x2fff5f(_0x2fb575[_0x48a387(0x2db)](_0x4682d7[_0x48a387(0x2dd)],_0x4682d7[_0x48a387(0x3a6)])),_0x37c543=_0x4682d7[_0x48a387(0x3a6)];return _0x49f1d2+_0x2fb575['slice'](_0x37c543);}function _0x2f9b2f(_0x56c6e3,_0x412ca0){let _0x32a077=!0x1;for(let _0x4a9729=0x0;_0x4a9729<_0x412ca0;_0x4a9729++)if(_0x56c6e3[_0x4a9729]==='\x22'){if(_0x32a077&&_0x56c6e3[_0x4a9729+0x1]==='\x22'){_0x4a9729++;continue;}_0x32a077=!_0x32a077;}return _0x32a077;}function _0x2ed65c(_0x76365,_0x8b5ca0,_0x51ecb4){const _0x5b4150=_0x3bf781;let _0x99d397=_0xf75017(_0x76365[_0x5b4150(0x447)],_0x8b5ca0,_0x51ecb4);return{'table':_0x99d397,'field':_0x99d397?Object['values'](_0x99d397[_0x5b4150(0x3b1)])[_0x5b4150(0x367)](_0x4c9bb5=>_0x4c9bb5[_0x5b4150(0x209)]===_0x76365['fieldName']):void 0x0};}function _0xf75017(_0x5337ec,_0x593802,_0x26cca9){const _0x448c8d=_0x3bf781;if(!_0x5337ec||_0x5337ec===_0x448c8d(0x49a)||_0x5337ec===_0x593802['id']||_0x5337ec===_0x593802['name'])return _0x593802;if(!_0x26cca9)return;let _0x1b0c48=_0x26cca9['tables'][_0x5337ec];if(_0x1b0c48)return _0x1b0c48;let _0x3684ca=Object[_0x448c8d(0x449)](_0x26cca9['tables'])[_0x448c8d(0x3e7)](_0x1f23ce=>_0x1f23ce[_0x448c8d(0x209)]===_0x5337ec);return _0x3684ca['length']===0x1?_0x3684ca[0x0]:void 0x0;}let _0x599581=class extends _0x3ffd4d[_0x3bf781(0x35f)]{constructor(_0x573a89,_0x175d7b,_0x4a9b61,_0xad9c95){const _0xcc6258=_0x3bf781;super(),this[_0xcc6258(0x42d)]=_0x573a89,this[_0xcc6258(0x1a1)]=_0x175d7b,this[_0xcc6258(0x196)]=_0x4a9b61,this[_0xcc6258(0x423)]=_0xad9c95,_0x7373d(this,_0xcc6258(0x48f),new _0x17d062()),_0x7373d(this,_0xcc6258(0x26c),new Map()),_0x7373d(this,'_scheduledSuperTableSyncs',new Set()),_0x7373d(this,'_formulaSyncQueue',Promise['resolve']()),_0x7373d(this,_0xcc6258(0x359),!0x1),this[_0xcc6258(0x457)]();}[_0x3bf781(0x457)](){const _0x5992cf=_0x3bf781;this[_0x5992cf(0x1a1)][_0x5992cf(0x49d)](_0x3ffd4d[_0x5992cf(0x433)]['UNIVER_BASE'])[_0x5992cf(0x43f)](_0x499a60=>{const _0x5f4dc1=_0x5992cf;this[_0x5f4dc1(0x429)](_0x499a60);}),this['disposeWithMe'](this[_0x5992cf(0x1a1)][_0x5992cf(0x2b4)](_0x3ffd4d[_0x5992cf(0x433)][_0x5992cf(0x314)])[_0x5992cf(0x286)](({unit:_0x38ef44})=>{const _0x56c79d=_0x5992cf;this[_0x56c79d(0x429)](_0x38ef44);})),this['disposeWithMe'](this[_0x5992cf(0x1a1)][_0x5992cf(0x1bd)](_0x3ffd4d[_0x5992cf(0x433)][_0x5992cf(0x314)])[_0x5992cf(0x286)](_0x418082=>{const _0x439e13=_0x5992cf;this[_0x439e13(0x3da)](()=>this[_0x439e13(0x3db)](_0x418082[_0x439e13(0x348)]()));})),this[_0x5992cf(0x273)](this[_0x5992cf(0x42d)][_0x5992cf(0x32b)](_0x5dfd62=>this[_0x5992cf(0x498)](_0x5dfd62)));}[_0x3bf781(0x498)](_0x337720){const _0xf0edb8=_0x3bf781;if(_0x337720['id']===_0x3a7103[_0xf0edb8(0x3e6)]['id']){_0xeff59f(_0x337720[_0xf0edb8(0x3ba)])&&this[_0xf0edb8(0x49b)](_0x337720[_0xf0edb8(0x3ba)]);return;}if(this['_applyingFormulaResults']||_0x337720['id']!==_0x225ef4['id'])return;let _0x1da98e=_0x24622a(_0x337720[_0xf0edb8(0x3ba)])?_0x337720[_0xf0edb8(0x3ba)]:void 0x0,_0x2fab5f=_0x1da98e!=null&&_0x1da98e[_0xf0edb8(0x166)]?[this[_0xf0edb8(0x1a1)][_0xf0edb8(0x224)](_0x1da98e[_0xf0edb8(0x166)],_0x3ffd4d['UniverInstanceType'][_0xf0edb8(0x314)])][_0xf0edb8(0x3e7)](_0x2c5b1f=>!!_0x2c5b1f):this[_0xf0edb8(0x1a1)]['getAllUnitsForType'](_0x3ffd4d[_0xf0edb8(0x433)][_0xf0edb8(0x314)]),_0x14a8cf=_0x1da98e==null?void 0x0:_0x1da98e['op'];_0x2fab5f[_0xf0edb8(0x43f)](_0x19b149=>{const _0x17bf2c=_0xf0edb8;let _0x2600e5=_0x14a8cf?_0x583cd5(_0x14a8cf):[];(!_0x14a8cf||_0x2600e5[_0x17bf2c(0x2fa)](_0x4a5b99=>_0x4a5b99[_0x17bf2c(0x29e)]!=='cell'))&&this[_0x17bf2c(0x429)](_0x19b149);});}[_0x3bf781(0x429)](_0x4def1a){const _0x209f4e=_0x3bf781;let _0x1fe470=_0x4def1a[_0x209f4e(0x348)]();this[_0x209f4e(0x1fc)][_0x209f4e(0x22a)](_0x1fe470)||(this['_scheduledSuperTableSyncs'][_0x209f4e(0x45a)](_0x1fe470),this['_enqueueFormulaSync'](async()=>{const _0x2df4be=_0x209f4e;this[_0x2df4be(0x1fc)][_0x2df4be(0x1a9)](_0x1fe470),await this[_0x2df4be(0x47f)](_0x4def1a);}));}async['_syncSuperTables'](_0x3c8d57){const _0x1773a3=_0x3bf781;var _0x4c59de;let _0x5766b0=_0x3c8d57[_0x1773a3(0x348)](),_0x810f07=this['_formulaService']['getSuperTableRegistrations'](_0x3c8d57[_0x1773a3(0x313)]()),_0x36973c=new Set(_0x810f07[_0x1773a3(0x2c0)](({tableName:_0x267e10})=>_0x267e10)),_0x50b5ae=(_0x4c59de=this[_0x1773a3(0x26c)][_0x1773a3(0x393)](_0x5766b0))==null?new Set():_0x4c59de;for(let _0x3ec1d5 of _0x50b5ae)_0x36973c[_0x1773a3(0x22a)](_0x3ec1d5)||await this[_0x1773a3(0x42d)][_0x1773a3(0x1dd)](_0x3a7103[_0x1773a3(0x29a)]['id'],{'unitId':_0x5766b0,'tableName':_0x3ec1d5},{'onlyLocal':!0x0});for(let {tableName:_0x3431ea,reference:_0xe6d44b}of _0x810f07)await this[_0x1773a3(0x42d)]['executeCommand'](_0x3a7103[_0x1773a3(0x24a)]['id'],{'unitId':_0x5766b0,'tableName':_0x3431ea,'reference':_0xe6d44b},{'onlyLocal':!0x0});this['_registeredSuperTableNames'][_0x1773a3(0x2b9)](_0x5766b0,_0x36973c);}async[_0x3bf781(0x3db)](_0x39db63){const _0xd44bab=_0x3bf781;var _0x2619dd;let _0x3b737d=(_0x2619dd=this[_0xd44bab(0x26c)]['get'](_0x39db63))==null?new Set():_0x2619dd;for(let _0x34db56 of _0x3b737d)await this[_0xd44bab(0x42d)][_0xd44bab(0x1dd)](_0x3a7103['RemoveSuperTableMutation']['id'],{'unitId':_0x39db63,'tableName':_0x34db56},{'onlyLocal':!0x0});this[_0xd44bab(0x26c)][_0xd44bab(0x1a9)](_0x39db63);}[_0x3bf781(0x3da)](_0x2868f8){const _0x2ca6cf=_0x3bf781;this['_formulaSyncQueue']=this[_0x2ca6cf(0x37b)][_0x2ca6cf(0x27b)](_0x2868f8,_0x2868f8)[_0x2ca6cf(0x381)](()=>void 0x0);}[_0x3bf781(0x49b)](_0x49ddf6){const _0x50ba7b=_0x3bf781;let _0x5645d4=this[_0x50ba7b(0x1a1)][_0x50ba7b(0x49d)](_0x3ffd4d[_0x50ba7b(0x433)][_0x50ba7b(0x314)]);if(!_0x5645d4[_0x50ba7b(0x2fa)](_0x4e3a21=>{const _0x119d3c=_0x50ba7b;var _0x13503d;return((_0x13503d=_0x49ddf6[_0x119d3c(0x198)])==null?void 0x0:_0x13503d[_0x4e3a21[_0x119d3c(0x348)]()])!=null;}))return;let _0x2c4450=_0x5645d4[_0x50ba7b(0x1db)](_0x1041bf=>_0x335917(_0x1041bf[_0x50ba7b(0x313)](),_0x49ddf6));if(!_0x2c4450[_0x50ba7b(0x2e1)]){this['_formulaCalculationSessionService'][_0x50ba7b(0x307)](_0x55656d[_0x50ba7b(0x46e)][_0x50ba7b(0x27f)],_0x49ddf6);return;}let _0x22c0f4=new _0x5e5613(),_0x2a66bd=_0x2c4450['flatMap'](_0x62147a=>_0x4742c3({'unitId':_0x62147a['unitId'],'tableId':_0x62147a[_0x50ba7b(0x1fe)],'patches':_0x62147a[_0x50ba7b(0x2bd)]}));this[_0x50ba7b(0x359)]=!0x0,(async()=>{const _0x19161a=_0x50ba7b;for(let _0x5116f2 of _0x2c4450){let _0x7f36f4=this['_univerInstanceService'][_0x19161a(0x224)](_0x5116f2['unitId'],_0x3ffd4d['UniverInstanceType']['UNIVER_BASE']);_0x7f36f4&&await this[_0x19161a(0x42d)]['executeCommand'](_0x225ef4['id'],{'unitId':_0x5116f2[_0x19161a(0x166)],'op':_0x22c0f4['setRangeValues'](_0x7f36f4[_0x19161a(0x313)](),_0x5116f2[_0x19161a(0x1fe)],_0x5116f2[_0x19161a(0x2bd)]),'trigger':_0x3a7103[_0x19161a(0x3e6)]['id']},{'onlyLocal':!0x0});}await this[_0x19161a(0x42d)][_0x19161a(0x1dd)](_0x3a7103[_0x19161a(0x411)]['id'],{'dirtyRanges':_0x2a66bd},{'onlyLocal':!0x0});})()[_0x50ba7b(0x194)](()=>{const _0x6e649b=_0x50ba7b;this[_0x6e649b(0x359)]=!0x1,this[_0x6e649b(0x423)][_0x6e649b(0x307)](_0x55656d[_0x6e649b(0x46e)]['BASE'],_0x49ddf6);});}};_0x599581=_0x3c58c5([_0x5ba4ba(0x0,_0x3ffd4d[_0x3bf781(0x318)]),_0x5ba4ba(0x1,_0x3ffd4d['IUniverInstanceService']),_0x5ba4ba(0x2,(0x0,_0x3ffd4d[_0x3bf781(0x35c)])(_0x3a7103['FormulaCalculationTriggerService'])),_0x5ba4ba(0x3,(0x0,_0x3ffd4d[_0x3bf781(0x35c)])(_0x55656d[_0x3bf781(0x2f7)]))],_0x599581);function _0x24622a(_0x31b3b5){const _0x18a9d8=_0x3bf781;return typeof _0x31b3b5==_0x18a9d8(0x3b2)&&!!_0x31b3b5&&_0x18a9d8(0x166)in _0x31b3b5&&typeof _0x31b3b5[_0x18a9d8(0x166)]==_0x18a9d8(0x2e9)&&'op'in _0x31b3b5&&Array['isArray'](_0x31b3b5['op']);}function _0xeff59f(_0x2e9d1b){const _0x14bf0c=_0x3bf781;return typeof _0x2e9d1b==_0x14bf0c(0x3b2)&&!!_0x2e9d1b&&'unitData'in _0x2e9d1b&&_0x14bf0c(0x279)in _0x2e9d1b;}let _0x54f6f9=(0x0,_0x3ffd4d[_0x3bf781(0x43c)])(_0x3bf781(0x270)),_0x1a2420=class{constructor(_0x35cc6e){const _0x1de9e8=_0x3bf781;this[_0x1de9e8(0x1a1)]=_0x35cc6e;}['getBase'](_0x7e3ba5){const _0x140763=_0x3bf781;var _0x48a6dc;return(_0x48a6dc=this['_univerInstanceService'][_0x140763(0x224)](_0x7e3ba5,_0x3ffd4d[_0x140763(0x433)][_0x140763(0x314)]))==null?null:_0x48a6dc;}[_0x3bf781(0x3ef)](){const _0x426a30=_0x3bf781;return this[_0x426a30(0x1a1)][_0x426a30(0x49d)](_0x3ffd4d[_0x426a30(0x433)][_0x426a30(0x314)]);}[_0x3bf781(0x427)](_0x348903){const _0x4c7032=_0x3bf781;return this[_0x4c7032(0x1a1)][_0x4c7032(0x285)](_0x3ffd4d[_0x4c7032(0x433)][_0x4c7032(0x314)],_0x348903);}};_0x1a2420=_0x3c58c5([_0x5ba4ba(0x0,_0x3ffd4d['IUniverInstanceService'])],_0x1a2420);let _0x567ecc=(0x0,_0x3ffd4d[_0x3bf781(0x43c)])('base.view-registry.service');var _0x27dbbf=class extends _0x3ffd4d[_0x3bf781(0x35f)]{constructor(..._0x5e2699){const _0x5c55b0=_0x3bf781;super(..._0x5e2699),_0x7373d(this,_0x5c55b0(0x170),new Map());}[_0x3bf781(0x342)](_0x1a167e){const _0x2a2fa4=_0x3bf781;return this[_0x2a2fa4(0x170)][_0x2a2fa4(0x2b9)](_0x1a167e[_0x2a2fa4(0x2ec)],_0x1a167e),(0x0,_0x3ffd4d[_0x2a2fa4(0x1e3)])(()=>this[_0x2a2fa4(0x170)][_0x2a2fa4(0x1a9)](_0x1a167e[_0x2a2fa4(0x2ec)]));}[_0x3bf781(0x393)](_0x295cc1){const _0x1b8b76=_0x3bf781;let _0x134380=this[_0x1b8b76(0x170)][_0x1b8b76(0x393)](_0x295cc1);if(!_0x134380)throw Error(_0x1b8b76(0x22b)+_0x295cc1+_0x1b8b76(0x490));return _0x134380;}[_0x3bf781(0x431)](){const _0x43e62d=_0x3bf781;return Array[_0x43e62d(0x278)](this[_0x43e62d(0x170)][_0x43e62d(0x449)]());}};let _0x4e5910=[_0x225ef4],_0x2e7a6e=class extends _0x3ffd4d['Plugin']{constructor(_0x86a07c=_0x365f0d,_0x9bcb47,_0x3c4866,_0x511c28,_0x591982,_0x51adc5){const _0x1fbe66=_0x3bf781;super(),this[_0x1fbe66(0x29b)]=_0x86a07c,this['_injector']=_0x9bcb47,this['_commandService']=_0x3c4866,this[_0x1fbe66(0x1a1)]=_0x511c28,this[_0x1fbe66(0x39e)]=_0x591982,this[_0x1fbe66(0x301)]=_0x51adc5,_0x7373d(this,_0x1fbe66(0x2aa),new Map());let {..._0x527a8f}=(0x0,_0x3ffd4d[_0x1fbe66(0x473)])({},_0x365f0d,this[_0x1fbe66(0x29b)]);this[_0x1fbe66(0x39e)][_0x1fbe66(0x38e)](_0x1fbe66(0x2a2),_0x527a8f),this[_0x1fbe66(0x1a1)][_0x1fbe66(0x34b)](_0x3ffd4d['UniverInstanceType'][_0x1fbe66(0x314)],_0x3ffd4d[_0x1fbe66(0x396)]),this[_0x1fbe66(0x1bc)](),this[_0x1fbe66(0x2fb)](),this[_0x1fbe66(0x1e7)](),this[_0x1fbe66(0x3be)]();}[_0x3bf781(0x472)](){const _0x347c00=_0x3bf781;(0x0,_0x3ffd4d[_0x347c00(0x1bf)])(this['_injector'],[[_0x1a2420],[_0x56bd7d],[_0x5483af]]),this['_univerInstanceService'][_0x347c00(0x49d)](_0x3ffd4d[_0x347c00(0x433)][_0x347c00(0x314)])['forEach'](_0x40b345=>this[_0x347c00(0x238)](_0x40b345['getUnitId']())),(0x0,_0x3ffd4d[_0x347c00(0x1bf)])(this['_injector'],[[_0x599581]]);}[_0x3bf781(0x1bc)](){const _0x3909c2=_0x3bf781;[[_0x42616a,{'useClass':_0x58d978}],[_0x567ecc,{'useClass':_0x27dbbf}],[_0x545217,{'useClass':_0x2c1f12}],[_0x54f6f9,{'useClass':_0x1a2420}],[_0x44b25b,{'useClass':_0x3a5e6f}],[_0x48571e,{'useClass':_0x56bd7d}],[_0x5483af],[_0x599581]][_0x3909c2(0x43f)](_0x418c73=>this[_0x3909c2(0x3f1)][_0x3909c2(0x45a)](_0x418c73));}[_0x3bf781(0x2fb)](){const _0x2e223a=_0x3bf781;[_0xf47a16,_0x3897da,_0x4e95dd,_0xf30bcf,_0x3d487f,_0x298f60,_0x398914,_0x32887a,_0x454d05,_0x290875,_0x24b392,_0x37fff6,_0x60800f,_0x2db188,_0x38e085,_0x4cbbb2,_0xa5c6f6,_0x322e6a,_0x48ee38,_0x5355f1,_0x5af5cd,_0x5888ae,_0x46e7ea,_0x54a5f5,_0x2270e9,_0x3b995d,_0x2d29,_0x397c07,_0x5e186d,_0x11fa3d,_0x29709f,_0x195fd9,_0x3d18c5,_0x6729ad,..._0x4e5910][_0x2e223a(0x43f)](_0x495c84=>this[_0x2e223a(0x273)](this[_0x2e223a(0x42d)]['registerCommand'](_0x495c84))),_0x4e5910[_0x2e223a(0x43f)](_0x1e90f6=>{const _0x3ca0b8=_0x2e223a;var _0x4f0c6d;return(_0x4f0c6d=this[_0x3ca0b8(0x301)])==null?void 0x0:_0x4f0c6d[_0x3ca0b8(0x253)](_0x1e90f6);});}[_0x3bf781(0x3be)](){const _0x436f25=_0x3bf781;this['_dataSyncPrimaryController']&&(this[_0x436f25(0x273)](this[_0x436f25(0x1a1)][_0x436f25(0x2b4)](_0x3ffd4d[_0x436f25(0x433)][_0x436f25(0x314)])[_0x436f25(0x286)](({unit:_0x153250})=>{const _0x25f2f4=_0x436f25;this[_0x25f2f4(0x238)](_0x153250[_0x25f2f4(0x348)]());})),this['disposeWithMe'](this[_0x436f25(0x1a1)][_0x436f25(0x1bd)](_0x3ffd4d[_0x436f25(0x433)][_0x436f25(0x314)])[_0x436f25(0x286)](_0x5740de=>{const _0x3a17fe=_0x436f25;var _0x333993;(_0x333993=this[_0x3a17fe(0x2aa)][_0x3a17fe(0x393)](_0x5740de['getUnitId']()))==null||_0x333993[_0x3a17fe(0x462)](),this[_0x3a17fe(0x2aa)][_0x3a17fe(0x1a9)](_0x5740de[_0x3a17fe(0x348)]());})));}[_0x3bf781(0x238)](_0x5e333f){const _0x5b5111=_0x3bf781;!this[_0x5b5111(0x301)]||this['_baseSyncDisposables'][_0x5b5111(0x22a)](_0x5e333f)||this[_0x5b5111(0x2aa)][_0x5b5111(0x2b9)](_0x5e333f,this[_0x5b5111(0x301)][_0x5b5111(0x445)](_0x5e333f));}[_0x3bf781(0x1e7)](){const _0xc79b7f=_0x3bf781;let _0x276e92=this[_0xc79b7f(0x3f1)]['get'](_0x42616a);_0x557b25()[_0xc79b7f(0x43f)](_0x1c73ba=>_0x276e92['register'](_0x1c73ba));let _0x166f95=this['_injector']['get'](_0x567ecc),_0x11ce74=this[_0xc79b7f(0x3f1)][_0xc79b7f(0x393)](_0x545217);_0x4829a9()['forEach'](_0x5edbf7=>{const _0x49e296=_0xc79b7f;_0x166f95['register'](_0x5edbf7),_0x11ce74[_0x49e296(0x44a)](_0x5edbf7);});}};_0x7373d(_0x2e7a6e,_0x3bf781(0x2ac),_0x3bf781(0x195)),_0x7373d(_0x2e7a6e,'packageName',_0x313d91),_0x7373d(_0x2e7a6e,_0x3bf781(0x397),_0x486c43),_0x7373d(_0x2e7a6e,_0x3bf781(0x2ec),_0x3ffd4d[_0x3bf781(0x433)]['UNIVER_BASE']),_0x2e7a6e=_0x3c58c5([(0x0,_0x3ffd4d['DependentOn'])(_0x1cd60b['UniverLicensePlugin'],_0x3a7103['UniverProFormulaEnginePlugin']),_0x5ba4ba(0x1,(0x0,_0x3ffd4d['Inject'])(_0x3ffd4d['Injector'])),_0x5ba4ba(0x2,_0x3ffd4d[_0x3bf781(0x318)]),_0x5ba4ba(0x3,_0x3ffd4d[_0x3bf781(0x1cd)]),_0x5ba4ba(0x4,_0x3ffd4d[_0x3bf781(0x3a4)]),_0x5ba4ba(0x5,(0x0,_0x3ffd4d['Optional'])(_0x54c5b3[_0x3bf781(0x3f9)]))],_0x2e7a6e);let _0x154119=class extends _0x3ffd4d[_0x3bf781(0x3b5)]{constructor(_0x58ab30=_0x5ce932,_0x236e27,_0x19c92e,_0x1a8463,_0x345f3d){const _0x438f88=_0x3bf781;super(),this[_0x438f88(0x29b)]=_0x58ab30,this[_0x438f88(0x3f1)]=_0x236e27,this['_commandService']=_0x19c92e,this['_configService']=_0x1a8463,this[_0x438f88(0x1a1)]=_0x345f3d;let {..._0x2a31b2}=(0x0,_0x3ffd4d['merge'])({},_0x5ce932,this[_0x438f88(0x29b)]);this[_0x438f88(0x39e)][_0x438f88(0x38e)]('bases.remote.config',_0x2a31b2),this[_0x438f88(0x1a1)]['registerCtorForType'](_0x3ffd4d['UniverInstanceType'][_0x438f88(0x314)],_0x3ffd4d[_0x438f88(0x396)]),[[_0x42616a,{'useClass':_0x58d978}],[_0x545217,{'useClass':_0x2c1f12}]][_0x438f88(0x43f)](_0x49faff=>this['_injector']['add'](_0x49faff)),_0x4e5910[_0x438f88(0x43f)](_0x2e87e0=>this['disposeWithMe'](this['_commandService']['registerCommand'](_0x2e87e0)));}};_0x7373d(_0x154119,_0x3bf781(0x2ac),'REMOTE_BASES_PLUGIN'),_0x7373d(_0x154119,_0x3bf781(0x182),_0x313d91),_0x7373d(_0x154119,_0x3bf781(0x397),_0x486c43),_0x7373d(_0x154119,'type',_0x3ffd4d[_0x3bf781(0x433)][_0x3bf781(0x314)]),_0x154119=_0x3c58c5([(0x0,_0x3ffd4d[_0x3bf781(0x414)])(_0x1cd60b[_0x3bf781(0x363)],_0x3a7103[_0x3bf781(0x27d)]),_0x5ba4ba(0x1,(0x0,_0x3ffd4d[_0x3bf781(0x35c)])(_0x3ffd4d[_0x3bf781(0x344)])),_0x5ba4ba(0x2,_0x3ffd4d[_0x3bf781(0x318)]),_0x5ba4ba(0x3,_0x3ffd4d[_0x3bf781(0x3a4)]),_0x5ba4ba(0x4,_0x3ffd4d[_0x3bf781(0x1cd)])],_0x154119);function _0x477db5(_0x229dbc){const _0x1d027d=_0x3bf781;let _0x50d186=_0xaaa456(_0x229dbc[_0x1d027d(0x398)]);if(!_0x50d186)return{'query':'','total':0x0,'matches':[]};let _0x2cb3be=[],_0x4535b2=[];for(let _0x23d469=0x0;_0x23d469<_0x229dbc[_0x1d027d(0x40c)]['length'];_0x23d469++){if(!(_0x23d469 in _0x229dbc[_0x1d027d(0x40c)]))continue;let _0x1c0bc4=_0x229dbc[_0x1d027d(0x49a)][_0x1d027d(0x3b1)][_0x229dbc[_0x1d027d(0x40c)][_0x23d469]];_0x1c0bc4&&_0x4535b2['push']({'field':_0x1c0bc4,'fieldIndex':_0x23d469});}_0x229dbc['rows'][_0x1d027d(0x43f)]((_0x9ec31e,_0x5307b3)=>{const _0x588583=_0x1d027d;_0x4535b2[_0x588583(0x43f)](({field:_0x4f0130,fieldIndex:_0x2217f8})=>{const _0x1fd0c6=_0x588583;let _0x104acf=_0x16ec32(_0x9ec31e['values'][_0x4f0130['id']],_0x4f0130);if(!_0x104acf)return;let _0x21cb01=_0x401c23(_0x50d186,_0x104acf['searchTexts']);_0x21cb01<=0x0||_0x2cb3be[_0x1fd0c6(0x2af)]({'recordId':_0x9ec31e[_0x1fd0c6(0x2f3)],'fieldId':_0x4f0130['id'],'fieldType':_0x4f0130[_0x1fd0c6(0x2ec)],'text':_0x104acf['displayText'],'score':_0x21cb01,'rowIndex':_0x5307b3,'fieldIndex':_0x2217f8});});}),_0x2cb3be[_0x1d027d(0x1ef)]((_0x35fb9b,_0x36d04b)=>_0x36d04b[_0x1d027d(0x2ed)]-_0x35fb9b[_0x1d027d(0x2ed)]||_0x35fb9b[_0x1d027d(0x491)]-_0x36d04b[_0x1d027d(0x491)]||_0x35fb9b[_0x1d027d(0x2d0)]-_0x36d04b[_0x1d027d(0x2d0)]);let _0x5753fa=_0x229dbc['limit']==null?_0x2cb3be:_0x2cb3be[_0x1d027d(0x2db)](0x0,Math[_0x1d027d(0x41e)](0x0,_0x229dbc['limit']));return{'query':_0x50d186,'total':_0x2cb3be[_0x1d027d(0x2e1)],'matches':_0x461559(_0x5753fa)};}function _0x16ec32(_0x129734,_0x3b10b8){const _0x5938e5=_0x3bf781;let _0x54c84f=[];for(let _0x5e5c57 of _0x155870(_0x129734,_0x3b10b8)){let _0x311f27=_0xaaa456(_0x5e5c57);_0x311f27&&_0x54c84f[_0x5938e5(0x2af)](_0x311f27);}return _0x54c84f[_0x5938e5(0x2e1)]?{'displayText':_0x1c0d4e(_0x129734,_0x3b10b8),'searchTexts':_0x58eb01(_0x54c84f)}:null;}function _0x1c0d4e(_0x514555,_0xc2d263){const _0x1d7259=_0x3bf781;switch(_0xc2d263[_0x1d7259(0x2ec)]){case _0x3ffd4d[_0x1d7259(0x376)][_0x1d7259(0x44f)]:case _0x3ffd4d[_0x1d7259(0x376)][_0x1d7259(0x36f)]:case _0x3ffd4d['BaseFieldType'][_0x1d7259(0x34d)]:return _0x42cf3e(_0x514555,_0xc2d263)['join'](',\x20');case _0x3ffd4d[_0x1d7259(0x376)][_0x1d7259(0x3e8)]:return _0x385b39(_0x514555);case _0x3ffd4d['BaseFieldType'][_0x1d7259(0x2a4)]:case _0x3ffd4d[_0x1d7259(0x376)][_0x1d7259(0x3a0)]:case _0x3ffd4d[_0x1d7259(0x376)]['UpdatedAt']:return _0x40cf9a(_0x514555,_0xc2d263);case _0x3ffd4d['BaseFieldType'][_0x1d7259(0x327)]:case _0x3ffd4d[_0x1d7259(0x376)][_0x1d7259(0x407)]:return _0x3b59b9(_0x514555,_0xc2d263);case _0x3ffd4d[_0x1d7259(0x376)]['Progress']:return _0x32b89c(_0x514555,_0xc2d263);case _0x3ffd4d[_0x1d7259(0x376)][_0x1d7259(0x2b1)]:return _0x514555?_0x1d7259(0x35b):'Unchecked';case _0x3ffd4d['BaseFieldType'][_0x1d7259(0x291)]:return _0x1ee15e(_0x514555)[_0x1d7259(0x2ee)](',\x20');default:return _0x33e0f8(_0x514555);}}function _0x155870(_0x6f607c,_0x2c0408){const _0x3d8118=_0x3bf781;switch(_0x2c0408[_0x3d8118(0x2ec)]){case _0x3ffd4d[_0x3d8118(0x376)]['SingleSelect']:case _0x3ffd4d['BaseFieldType'][_0x3d8118(0x36f)]:case _0x3ffd4d['BaseFieldType']['Group']:{let _0x317e8a=_0x42cf3e(_0x6f607c,_0x2c0408);if(Array[_0x3d8118(0x30b)](_0x6f607c)){let _0x3f3471=[..._0x317e8a];for(let _0x526799=0x0;_0x526799<_0x6f607c['length'];_0x526799++)_0x526799 in _0x6f607c&&_0x3f3471[_0x3d8118(0x2af)](String(_0x6f607c[_0x526799]));return _0x3f3471;}return _0x6f607c==null?_0x317e8a:[..._0x317e8a,String(_0x6f607c)];}case _0x3ffd4d[_0x3d8118(0x376)]['Link']:{let _0x4def71=_0x2050e9(_0x6f607c);return[_0x4def71['text'],_0x4def71['url']];}case _0x3ffd4d[_0x3d8118(0x376)][_0x3d8118(0x2a4)]:case _0x3ffd4d[_0x3d8118(0x376)][_0x3d8118(0x3a0)]:case _0x3ffd4d[_0x3d8118(0x376)][_0x3d8118(0x19e)]:return[_0x40cf9a(_0x6f607c,_0x2c0408),_0x33e0f8(_0x6f607c)];case _0x3ffd4d[_0x3d8118(0x376)][_0x3d8118(0x327)]:case _0x3ffd4d[_0x3d8118(0x376)]['Currency']:return[_0x3b59b9(_0x6f607c,_0x2c0408),_0x33e0f8(_0x6f607c)];case _0x3ffd4d[_0x3d8118(0x376)][_0x3d8118(0x228)]:return[_0x32b89c(_0x6f607c,_0x2c0408),_0x33e0f8(_0x6f607c)];case _0x3ffd4d[_0x3d8118(0x376)]['Checkbox']:return _0x6f607c?[_0x3d8118(0x35b),_0x3d8118(0x26d),_0x3d8118(0x22f)]:[_0x3d8118(0x250),'No',_0x3d8118(0x243)];case _0x3ffd4d[_0x3d8118(0x376)][_0x3d8118(0x291)]:return _0x1ee15e(_0x6f607c);default:return[_0x33e0f8(_0x6f607c)];}}function _0x42cf3e(_0x4168df,_0x36c031){const _0x103b22=_0x3bf781;var _0x43e3b4;let _0x45ce10=Array[_0x103b22(0x30b)]((_0x43e3b4=_0x36c031['config'])==null?void 0x0:_0x43e3b4[_0x103b22(0x310)])?_0x36c031[_0x103b22(0x1a3)]['options']:[],_0x4308f4=[];if(Array[_0x103b22(0x30b)](_0x4168df)){for(let _0x138309=0x0;_0x138309<_0x4168df[_0x103b22(0x2e1)];_0x138309++){if(!(_0x138309 in _0x4168df))continue;let _0x46bc05=String(_0x4168df[_0x138309]);_0x46bc05&&_0x4308f4[_0x103b22(0x2af)](_0x5205ee(_0x45ce10,_0x46bc05));}return _0x4308f4;}if(_0x4168df!=null){let _0x3fc94b=String(_0x4168df);_0x3fc94b&&_0x4308f4['push'](_0x5205ee(_0x45ce10,_0x3fc94b));}return _0x4308f4;}function _0x5205ee(_0x9e79d7,_0x54d9da){const _0x230ff5=_0x3bf781;for(let _0x1bb96d of _0x9e79d7){if(typeof _0x1bb96d=='string'&&_0x1bb96d===_0x54d9da)return _0x1bb96d;if(_0x1bb96d&&typeof _0x1bb96d=='object'){var _0x184f15,_0x513e61,_0x571a84;let _0x5ef2b7=_0x1bb96d;if(String((_0x184f15=(_0x513e61=_0x5ef2b7['id'])==null?_0x5ef2b7[_0x230ff5(0x209)]:_0x513e61)==null?'':_0x184f15)===_0x54d9da||String((_0x571a84=_0x5ef2b7['name'])==null?'':_0x571a84)===_0x54d9da){var _0x29d482,_0xb349a4;return String((_0x29d482=(_0xb349a4=_0x5ef2b7[_0x230ff5(0x209)])==null?_0x5ef2b7['id']:_0xb349a4)==null?_0x54d9da:_0x29d482);}}}return _0x54d9da;}function _0x2050e9(_0x5a4900){const _0x24a023=_0x3bf781;if(_0x5a4900&&typeof _0x5a4900=='object'&&!Array[_0x24a023(0x30b)](_0x5a4900)){var _0x5cd5b4,_0x96e1c4,_0x218f9f;let _0x55245f=_0x5a4900;return{'text':String((_0x5cd5b4=(_0x96e1c4=_0x55245f[_0x24a023(0x1a7)])==null?_0x55245f[_0x24a023(0x16c)]:_0x96e1c4)==null?'':_0x5cd5b4),'url':String((_0x218f9f=_0x55245f[_0x24a023(0x16c)])==null?'':_0x218f9f)};}return{'text':_0x33e0f8(_0x5a4900),'url':_0x33e0f8(_0x5a4900)};}function _0x385b39(_0x593836){const _0x4ea0b7=_0x3bf781;let _0x4c95ff=_0x2050e9(_0x593836);return _0x4c95ff[_0x4ea0b7(0x1a7)]||_0x4c95ff[_0x4ea0b7(0x16c)];}function _0x40cf9a(_0x412b3a,_0x2f3473){const _0x4098b7=_0x3bf781;return typeof _0x412b3a!=_0x4098b7(0x236)||!Number[_0x4098b7(0x272)](_0x412b3a)?'':_0x55ddef(_0x412b3a,_0x2f3473[_0x4098b7(0x1a3)]);}function _0x3b59b9(_0xb401f5,_0x59861d){const _0x38980e=_0x3bf781;let _0x34ceb4=typeof _0xb401f5==_0x38980e(0x236)?_0xb401f5:Number(_0xb401f5);return Number[_0x38980e(0x272)](_0x34ceb4)?_0x5ab3dc(_0x34ceb4,_0x59861d[_0x38980e(0x1a3)]):'';}function _0x32b89c(_0x19cb04,_0x4b76e8){const _0x2d32b4=_0x3bf781;var _0x1ec138;let _0x361b54=typeof _0x19cb04=='number'?_0x19cb04:Number(_0x19cb04);if(!Number[_0x2d32b4(0x272)](_0x361b54))return'';let _0xd58bd8=(_0x1ec138=_0x4b76e8[_0x2d32b4(0x1a3)])==null?{}:_0x1ec138,_0x451252=_0xd58bd8[_0x2d32b4(0x332)]===0x1||_0xd58bd8[_0x2d32b4(0x332)]===0x2?_0xd58bd8[_0x2d32b4(0x332)]:0x0,_0x4ab7ef=_0x361b54[_0x2d32b4(0x294)](_0x451252);return _0xd58bd8[_0x2d32b4(0x241)]===_0x2d32b4(0x236)?_0x4ab7ef:_0x4ab7ef+'%';}function _0x1ee15e(_0x3830a9){const _0x1e468d=_0x3bf781;return Array[_0x1e468d(0x30b)](_0x3830a9)?_0x3830a9[_0x1e468d(0x1db)](_0x278069=>{const _0x407597=_0x1e468d;var _0x32967d,_0x3461e0;if(!_0x278069||typeof _0x278069!=_0x407597(0x3b2))return[];let _0x1bb1cd=_0x278069,_0x34d51c=String((_0x32967d=(_0x3461e0=_0x1bb1cd[_0x407597(0x209)])==null?_0x1bb1cd[_0x407597(0x16c)]:_0x3461e0)==null?'':_0x32967d)['trim']();return _0x34d51c?[_0x34d51c]:[];}):[];}function _0x33e0f8(_0x3e5f75){const _0x1cdc8a=_0x3bf781;if(_0x3e5f75==null)return'';if(typeof _0x3e5f75==_0x1cdc8a(0x2c2))return _0x3e5f75?'true':'false';if(typeof _0x3e5f75==_0x1cdc8a(0x236))return String(_0x3e5f75);if(Array[_0x1cdc8a(0x30b)](_0x3e5f75)){let _0x13af6b=[];for(let _0x192634=0x0;_0x192634<_0x3e5f75['length'];_0x192634++){if(!(_0x192634 in _0x3e5f75))continue;let _0x39fc10=_0x33e0f8(_0x3e5f75[_0x192634]);_0x39fc10&&_0x13af6b[_0x1cdc8a(0x2af)](_0x39fc10);}return _0x13af6b[_0x1cdc8a(0x2ee)](',\x20');}if(typeof _0x3e5f75==_0x1cdc8a(0x3b2)){var _0xe97160,_0x52e732,_0x53b858,_0x211091;let _0x23c3a9=_0x3e5f75;return String((_0xe97160=(_0x52e732=(_0x53b858=(_0x211091=_0x23c3a9[_0x1cdc8a(0x428)])==null?_0x23c3a9['name']:_0x211091)==null?_0x23c3a9[_0x1cdc8a(0x1a7)]:_0x53b858)==null?_0x23c3a9[_0x1cdc8a(0x16c)]:_0x52e732)==null?'':_0xe97160)[_0x1cdc8a(0x187)]();}return String(_0x3e5f75);}function _0x401c23(_0x1a3020,_0x481e47){const _0x5de08b=_0x3bf781;let _0x18e847=0x0;for(let _0x59fea8 of _0x481e47)if(_0x59fea8){if(_0x59fea8===_0x1a3020){_0x18e847=Math[_0x5de08b(0x41e)](_0x18e847,0x12c);continue;}if(_0x59fea8[_0x5de08b(0x18f)](_0x1a3020)){_0x18e847=Math['max'](_0x18e847,0xfa);continue;}_0x59fea8[_0x5de08b(0x487)](_0x1a3020)&&(_0x18e847=Math['max'](_0x18e847,0xc8));}return _0x18e847;}function _0xaaa456(_0x2fcbeb){const _0xf2b982=_0x3bf781;return _0x2fcbeb[_0xf2b982(0x187)]()[_0xf2b982(0x180)](/\s+/g,'\x20')[_0xf2b982(0x2d1)]();}function _0x58eb01(_0x4e477e){const _0xf25b90=_0x3bf781;return Array[_0xf25b90(0x278)](new Set(_0x4e477e));}function _0x461559(_0x245d4f){let _0x348f5b=[];for(let {rowIndex:_0x5332c7,fieldIndex:_0x4b40bf,..._0x160caf}of _0x245d4f)_0x348f5b['push'](_0x160caf);return _0x348f5b;}_0xa7b41c[_0x3bf781(0x496)]=_0x225ef4,_0xa7b41c[_0x3bf781(0x430)]=_0x2d39fe,_0xa7b41c[_0x3bf781(0x1ac)]=_0x5e5613,_0xa7b41c['BatchCreateBaseRecordsCommand']=_0x32887a,_0xa7b41c[_0x3bf781(0x373)]=_0x290875,_0xa7b41c['ChangeBaseFieldTypeCommand']=_0xa5c6f6,_0xa7b41c['CreateBaseFieldCommand']=_0x60800f,_0xa7b41c['CreateBaseRecordCommand']=_0x398914,_0xa7b41c[_0x3bf781(0x24d)]=_0xf47a16,_0xa7b41c['CreateBaseViewCommand']=_0x5355f1,_0xa7b41c['DeleteBaseFieldCommand']=_0x322e6a,_0xa7b41c['DeleteBaseRecordCommand']=_0x454d05,_0xa7b41c['DeleteBaseTableCommand']=_0x4e95dd,_0xa7b41c[_0x3bf781(0x3b4)]=_0x54a5f5,_0xa7b41c['DuplicateBaseFieldCommand']=_0x2db188,_0xa7b41c[_0x3bf781(0x3ea)]=_0x24b392,_0xa7b41c['EMBED_BASES_TABLE_RESOURCE_KEY']=_0x35d97c,_0xa7b41c[_0x3bf781(0x37a)]=_0x5af5cd,_0xa7b41c[_0x3bf781(0x2de)]=_0x48571e,_0xa7b41c[_0x3bf781(0x3df)]=_0x44b25b,_0xa7b41c[_0x3bf781(0x45f)]=_0x545217,_0xa7b41c[_0x3bf781(0x476)]=_0x567ecc,_0xa7b41c['MoveBaseFieldCommand']=_0x48ee38,_0xa7b41c[_0x3bf781(0x220)]=_0x2270e9,_0xa7b41c['RenameBaseTableCommand']=_0x3897da,_0xa7b41c[_0x3bf781(0x283)]=_0x5888ae,_0xa7b41c['SetBaseKanbanGroupFieldCommand']=_0x2d29,_0xa7b41c[_0x3bf781(0x2b6)]=_0x46e7ea,_0xa7b41c[_0x3bf781(0x303)]=_0x298f60,_0xa7b41c['SetBaseRecordValuesCommand']=_0x3d487f,_0xa7b41c[_0x3bf781(0x229)]=_0x6729ad,_0xa7b41c[_0x3bf781(0x288)]=_0x195fd9,_0xa7b41c[_0x3bf781(0x404)]=_0x3d18c5,_0xa7b41c[_0x3bf781(0x1ca)]=_0x5e186d,_0xa7b41c[_0x3bf781(0x468)]=_0x29709f,_0xa7b41c[_0x3bf781(0x20c)]=_0x11fa3d,Object[_0x3bf781(0x3a9)](_0xa7b41c,'UniverBasesPlugin',{'enumerable':!0x0,'get':function(){return _0x2e7a6e;}}),Object[_0x3bf781(0x3a9)](_0xa7b41c,_0x3bf781(0x315),{'enumerable':!0x0,'get':function(){return _0x154119;}}),_0xa7b41c[_0x3bf781(0x1f9)]=_0xf30bcf,_0xa7b41c[_0x3bf781(0x169)]=_0x38e085,_0xa7b41c['UpdateBaseFieldDescriptionCommand']=_0x4cbbb2,_0xa7b41c[_0x3bf781(0x1b7)]=_0x397c07,_0xa7b41c[_0x3bf781(0x446)]=_0x37fff6,_0xa7b41c['UpdateBaseViewConfigCommand']=_0x3b995d,_0xa7b41c[_0x3bf781(0x420)]=_0x43974e,_0xa7b41c[_0x3bf781(0x212)]=_0x21b82a,_0xa7b41c['createDefaultBaseTableSnapshot']=_0x26f213,_0xa7b41c[_0x3bf781(0x39b)]=_0x15436c,_0xa7b41c['createEmbedBasesTableAddMutation']=_0x24eb61,_0xa7b41c[_0x3bf781(0x2bb)]=_0x593d2d,_0xa7b41c[_0x3bf781(0x35d)]=_0x26a206,_0xa7b41c[_0x3bf781(0x3af)]=_0x374807,_0xa7b41c[_0x3bf781(0x277)]=_0x55ddef,_0xa7b41c[_0x3bf781(0x321)]=_0x5ab3dc,_0xa7b41c[_0x3bf781(0x1dc)]=_0x2986e9,_0xa7b41c[_0x3bf781(0x22e)]=_0x2615d4,_0xa7b41c[_0x3bf781(0x207)]=_0x23165c,_0xa7b41c['matchesBaseCondition']=_0x38416c,_0xa7b41c[_0x3bf781(0x42a)]=_0x3d6e6a,_0xa7b41c[_0x3bf781(0x1c1)]=_0x477db5,_0xa7b41c[_0x3bf781(0x355)]=_0xaf0146,_0xa7b41c['uniqueFieldName']=_0x43e962;}));function _0x47b7(){const _0x12f293=['fieldIds','defaultValue','recordNamePrefix','colorFieldId','yyyy/mm/dd','SetTriggerFormulaCalculationStartMutation','_findKanbanGroupField','Phone','DependentOn','CommandType','clearRecordPermission','base.command.set-base-kanban-group-field','BaseProjection.projectGroups','base.command.service','base.command.duplicate-base-field','BaseJson1.normalizeTables','record','medium','max',',,\x22M\x22','baseDateSerialToDateMs',':end','base.command.set-base-view-filter','_formulaCalculationSessionService','done',':start','_isColorfulKanbanGroupField','createBase','title','_scheduleSuperTableSync','normalizeBaseDateSerial','getUTCDay','periodComma','_commandService','_viewRevisionKey','createField','BaseJson1OpApplier','getAll','resources','UniverInstanceType','cellData','_cellRevisions','_recordPermissions','getAffectedRanges','2229OitIhA','invalidateByView','progressFieldId','base.command.create-base-record','createIdentifier','renameFormulaUnitReferences','_rowTransformCacheSegment','forEach','_runtimeContext','$1\x20','dateMode','moveField','order','syncUnit','UpdateBaseRecordOrderCommand','tableName','_findCalendarDateFieldId','values','registerView','allowMultiple','insertOp','base.command.update-base-record-order','_setFormulaFieldCells','SingleSelect','setViewSort','#,##0.00','viewRevision','hourCycle','base.command.create-base-view','descendPath','STRING','_initialize','generateRandomId','setViewFieldWidth','add','fromPlainText','diffValue','base.command.set-base-view-field-width','titleFieldId','IBaseProjectionService','month','raw','dispose','canDeleteField','createUpdateCellOp','createRecord','[BaseProjectionService]:\x20missing\x20view\x20\x22','IActiveDirtyManagerService','SetBaseViewGroupCommand','48812aIgBHz','_groupProjectionFieldIds','includeTime','_fieldRegistry','view-','FormulaResultApplicationType','allowNegative','gantt','[BaseCommandService]:\x20cannot\x20delete\x20field.','onReady','merge','removeOp','COMMAND','IBaseViewRegistryService','_buildKanban','_fieldPermissions','unshift','base.command.move-base-field','createRegExpFromSafeFragment','_isAllowedKanbanGroupField','_buildGallery','setRecordValues','_syncSuperTables','BaseProjection.filterAndSortRows','base.command.update-base-kanban-config','[BaseCommandService]:\x20field\x20\x22','_calendarEventColor','BaseViewType','Numbering','getProjection','includes','exports','getUTCDate','base.mutation.apply-base-json1','canCreateField','attachmentSets','canDeleteRecord','columns','_formulaService','\x22\x20is\x20not\x20registered.','rowIndex','workingDays','_isAllDayCalendarEvent','contains','person','ApplyBaseJson1Mutation','matchAll','_onCommandExecuted','startDateFieldId','table','_applyFormulaResult','base.command.set-base-view-field-visible','getAllUnitsForType','exact','createViewId','todo','Calendar','cellRevision','_sortRows','__tempBatchingUndoRedo','min','[BaseField]:\x20invalid\x20checkbox\x20value.','symbol','unknown','unitId','setTablePermission','_getTable','UpdateBaseFieldCommand','registerTable','deleteTable','url','_permissionService','hidden','parse','_plugins','missingField','[BaseCommandService]:\x20cannot\x20delete\x20table.','_replaceOptional','@univerjs/rpc','_createRecordWithDefaults','3808287kwsSAY','stringify','canManageView','bases.fieldConfig.textPlaceholder','column','exceptions','MM-DD','quarter','createSetRecordValuesOp','FieldId','replace','kanban','packageName','updateField','usableAsGanttEnd','childType','IBaseCellData.ensureTableCellLayout','trim','replaceOp','field','now','selectField','_normalizeCalendarDisplayColor','_groupsCacheKey','resolvedOptions','startsWith','IUndoRedoService','getDependencies','mode','off','finally','BASES_PLUGIN','_formulaCalculationTriggerService','base.command.update-base-cell','unitData','hh:mm','weekdays','index','past7','base.command.delete-base-record','UpdatedAt','recordOrder','_patchProjectedRowsForCellInvalidations','_univerInstanceService','attachmentSet','config','_getAllBaseDependencyTreeCacheMap','_filterSortFieldIds','_matchesGanttColorRule','text','write','delete','path','createView','BaseJson1OpFactory','repeat','_setCachedProjection','base.command.set-base-range-values','search','deleteField','base.viewType.kanban','General','apply','groups','[BaseField]:\x20invalid\x20email\x20value.','UpdateBaseKanbanConfigCommand','cell','updateCell','DESC','Doing','_initDependencies','getTypeOfUnitDisposed$','base.command.rename-base-table','touchDependencies','base.command.set-base-name','searchBaseTable','indexOf','viewOrder','tomorrow','major-','Grid','UpdatedBy','[BaseField]:\x20negative\x20numbers\x20are\x20disabled.','DD/MM/YYYY','SetBaseViewFilterCommand','_capabilities','pushUndoRedo','IUniverInstanceService','updatedBy','call','before','entries','scale','toPlainText','Formula','custom','ObjectMatrix','Rating','thisMonth','RecordId','MM/DD/YYYY','flatMap','getBaseCellFormulaValue','executeCommand','col','tableOrder','function','__UNIVER_BASE_PERF__','base-perf-','toDisposable','[BaseField]:\x20invalid\x20phone\x20value.','UniverProLicense','_kanbanLaneTitle','_initRegistries','getUTCFullYear','base.command.delete-base-field','beforeFieldId','_normalizeGanttConfig','clearBasePermission','fld-','getItem','sort','formula','usableAsCalendarDate','coverFieldId','padStart','spacePeriod','BaseProjection.getProjection','base.command.change-base-field-type','base.viewType.grid','_resolveCalendarDateFieldId','UpdateBaseCellCommand','_deleteAttachmentResources','decimal','_scheduledSuperTableSyncs','BaseSortDirection','tableId','-field-name','children','_getStructureDirtyTableIds','_getSystemFieldValue','canEditField','ena','majorHeaders','isNot','inferBaseSeparatorStyle','_getCachedProjection','name','invalidGanttStartField','Lookup','SetBaseViewSortCommand','_isNonEmptyCellValue','HH:mm','_projectedGroupsCache','\x22\x20does\x20not\x20exist.','getCurrentUserId','copyBaseTableSnapshot','canEditCell','[BaseCommandService]:\x20cannot\x20edit\x20readonly\x20field.','Empty','uniqueTableName','refactorFormulaUnitQualifier','week','viewId','descend','canCreateTable','protocol','editable','leftPaneCollapsed','sequenceExecute','MoveBaseViewCommand','canCreateRecord','_canUseFastSort','#3b82f6','getUnit','858192gYsVJm','editCell','_createRecordOrderOp','Progress','SetBaseViewFieldOrderCommand','has','[BaseViewRegistryService]:\x20view\x20type\x20\x22','getSuperTableRegistrations','regexp','getBaseCellValue','True','system','fieldSettings','long','commaPeriod','fromEntries','Done','number','_viewRowsCacheKey','_syncBaseUnit','invalid','invalidGroupField','#FDE68A','@univerjs/core','invertWithDoc','_basePermissions','_projectRows','_getViewRevision','format','_buildCalendar','False','_applier','_kanbanLaneColor','_resolveKanbanCoverFieldId','row','[BasePerf]\x20','_createNumberingFieldValuePatches','SetSuperTableMutation','_buildGrid','color','CreateBaseTableCommand','duplicateField','invertOp','Unchecked','base.projection.service','toStringTag','registerSyncingMutations','conditional','getTime','leftPaneWidth','[BaseCommandService]:\x20cannot\x20manage\x20view.','createSuperTableReference','_getKanbanConfiguredLanes','base.command.delete-base-table','basePerf','default','_cellInvalidationsTouchFields','updateRecordOrder','records','_groupCellInvalidations','http:','recordCount','MUTATION','createTable','TwoWayLink','base.command.create-base-field','showFieldNames','usableAsGanttStart','rows','Uncategorized','attachments','_registeredSuperTableNames','Yes','setViewFieldVisible',',,,\x22B\x22','base.resource.service','[BaseField]:\x20invalid\x20multi-value\x20reference.','isFinite','disposeWithMe','setViewGroup','_factory','none','formatBaseDateValue','from','unitOtherData','compare','then','5966360CTleWn','UniverProFormulaEnginePlugin','_tableRevisions','BASE','test','toLocaleString','_setViewFieldSetting','RenameBaseViewCommand','label','createUnit','subscribe','canDeleteTable','SetBaseViewFieldVisibleCommand','#14b8a6','lastIndex','globalRevision','BaseCommand.createBatchCreateRecordsOp','lastWeek','_viewRevisions','_normalizeGanttDisplayColor','Calendar\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','Attachment','error','validate','toFixed','split','usableAsCardCover','base.command.rename-base-view','BaseProjection.projectTableRows','view','RemoveSuperTableMutation','_config','base.command.set-base-view-field-order','CellValueType','reason','fieldId','Flow','thisWeek','bases.config','Person','Date','timeslotSize','regenerateViewIds','_resolveKanbanCardFieldIds','fieldOrder','sheetId','_baseSyncDisposables','getCurrentUser','pluginName','spaceComma','embed-ui','push','Kanban\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','Checkbox','blue','mark','getTypeOfUnitAdded$','iterator','SetBaseNameCommand','syncExecuteCommand','year','set','Working\x20day','createEmbedBasesTableRemoveMutation','[BaseCommandService]:\x20cannot\x20edit\x20cell.','patches','fieldName','_materializeGroups','map','BaseJson1.json1Apply','boolean','operator','validateFormula','pattern','base.command.batch-delete-base-records','lastMonth','dateKit','renameTable','#BBF7D0','lastIndexOf','Email','base.fieldType.','UniverCore','value','fieldIndex','toLowerCase','_setAttachmentResources','setViewFieldOrder','_views','base.field-registry.service','[BaseCommandService]:\x20cannot\x20create\x20field.','getFullYear','BaseProjection.projectRows','attachment','Gallery\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','slice','_resolveGalleryCardFieldIds','start','IBaseCommandService','forValue','BaseJson1.syncCellInvalidations','length','createCreateFieldOp','_fastSortRows','cardSize','findIndex','_activeDirtyManagerService','compose','frozenFieldCount','string','deleteRecord','@univerjs-pro/license','type','score','join','_tablePermissions','changeFieldType','viewIndexes','setRangeValues','recordId','Text','_globalRevision','_projectionCache','FormulaCalculationSessionService','_cacheKey','_buildGantt','some','_initCommands','_recordIds','deepClone','BOOLEAN','doing','_isCalendarDateField','_dataSyncPrimaryController','[BaseField]:\x20invalid\x20date\x20value.','SetBaseRangeValuesCommand','setFieldPermission','notContains','card','markResultApplied','_createNumberingAllocator','base.command.delete-base-view','isNotEmpty','isArray','moveView','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','short','size','options','timeZone','conditions','getSnapshot','UNIVER_BASE','UniverRemoteBasesPlugin','rules','duplicateRecord','ICommandService','base.viewType.gantt','_getTableRevision','past30','setBaseName','createBatchCreateRecordsOp','createRecords','next30','getMonth','formatBaseNumberValue','readonly','FORCE_STRING','_createNumberingAllocators','WriteCursor','694536QDvvAQ','Number','https:','CreatedBy','group','onCommandExecuted','NUMBER','NumberFormat','_bumpTableRevision','direction','Name','base.command.set-base-record-values','decimalPlaces','columnSettings','_toDirtyRangePatch','greaterThan','conjunction','base.command.update-base-field','[BaseFormula]:\x20field\x20\x22','setViewFilter','_createSystemFieldValuePatches','2441195KcepuE','hasOwnProperty','afterFieldId','normal','isInteger','projection','-view-grid','register','_resolveKanbanGroupFieldId','Injector','136tKTLGg','_projectedViewRowsCache','autoIncrement','getUnitId','_getAllTableIds','key','registerCtorForType','small','Group','registerSuperTables','_kanbanGroupKeys','_resolveGanttDateFieldId','deleteRecords','[BaseFormula]:\x20table\x20\x22','createCreateRecordOp','hostAnchorId','traceBasePerformance','ascend','_isAllDayGanttDateRange','invalidateByCell','_applyingFormulaResults','operand','Checked','Inject','dateToExcelSerial','#BFDBFE','Disposable','createdAt','exec','updatedAt','UniverLicensePlugin','normalize','_patchCachedProjectedRows','YYYY/MM/DD','find','base.command.duplicate-base-record','true','setHours','endDateFieldId','h:mm\x20a','user','workingDaysOnly','MultiSelect','href','edit','Tools','BatchDeleteBaseRecordsCommand','assign','_groupConfigCacheSegment','BaseFieldType','_resolveGalleryCoverFieldId','[BaseCommandService]:\x20cannot\x20create\x20table.','univer.basePerf','EnsureBaseTemporalViewDateFieldsCommand','_formulaSyncQueue','tableRevision','Barcode','endsWith','views','repairViewConfig','catch','date','locale','Module','_getJson1DirtyData','setSnapshot','Gallery','groupFieldId','renameView','tables','useThousands','rowIndexById','snapshot','setConfig','gridViewId','UTC','deleteView','Todo','get','description','colIndex','BaseDataModel','version','query','[BaseCommandService]:\x20cannot\x20edit\x20field.','1.0.0-alpha.8','createEmbedBasesTable','_getCurrentUserId','h24','_configService','base.command.move-base-view','CreatedAt','width','Gantt','displayColor','IConfigService','_title','end','@univerjs-pro/engine-formula','base.command.update-base-view-config','defineProperty','_normalizeCellValue','beforeViewId','general','calendar','measure','ensureBaseTableCellLayout','amd','fields','object','_getOrderedRecords','DeleteBaseViewCommand','Plugin','[BaseCommandService]:\x20cannot\x20delete\x20record.','_apply','_filterRows','en-US','params','updateViewConfig','getUTCMonth','base.command.update-base-field-description','_initDataSync','invalidateByOp','_getTablesToNormalize','manageView','embedId','Location','UniverRpc','Kanban','splice','_withModifiedSystemValues','round','_ganttBarColor','large','getStructuredDependencies','Summary','_isKanbanGroupField','localeCompare','base.command.set-base-view-group','prototype','getTypePlugin','showTodayLine','level','_normalizeGalleryConfig','_projectGroups','clearTablePermission','_projectFields','colId','YYYY-MM-DD','_enqueueFormulaSync','_removeSuperTables','applyOp','#,##0','Start\x20date','IBasePermissionService','invalidDateField','primaryFieldId','rowId','recordIds','changed','createdBy','SetFormulaCalculationResultMutation','filter','Link','afterViewId','DuplicateBaseRecordCommand','_getCellRevision','unitWidth','Button','_projectedRowsCache','getAllBases','getDay','_injector','[BaseCommandService]:\x20cannot\x20create\x20record.','revision','exception-','orderKey','local','JSON1','keys','DataSyncPrimaryController','cardLayout','remove','valid','getCapabilities','star','_projectTableRows','focusUnit','base.permission.service','_cellInvalidations','YYYY/MM/DD\x20HH:mm','SetBaseViewFieldWidthCommand','every','option-','Currency','[BaseCommandService]:\x20cannot\x20delete\x20primary\x20field.','reduce','@univerjs-pro/bases','@univerjs/engine-formula'];_0x47b7=function(){return _0x12f293;};return _0x47b7();}
|
|
1
|
+
function _0x2760(_0x4b39db,_0x37a58e){_0x4b39db=_0x4b39db-0x7b;const _0x54e0c8=_0x54e0();let _0x276054=_0x54e0c8[_0x4b39db];return _0x276054;}function _0x54e0(){const _0x254316=['Empty','NUMBER','_projectedViewRowsCache','setRangeValues','showTodayLine','sequenceExecute','BEFORE','hostAnchorId','duplicate','BASES_PLUGIN','setFieldPermission','syncUnit','getBaseCellValue','Attachment','YYYY/MM/DD','base.command.delete-base-field','unique','ascend','Checkbox','pop','Optional','constructor','localeCompare','SetBaseTableHierarchyFieldCommand','DuplicateBaseFieldCommand','isValidBaseRecordId','filled','#,##0','target','IUniverInstanceService','DependentOn','blue','sum','_commandService','DuplicateBaseRecordCommand','RecordLink','calendar','lessThanOrEqual','\x20can\x20use\x20dateMode\x20only\x20with\x20Date,\x20CreatedAt,\x20or\x20UpdatedAt\x20fields.','Date','descendPath','ICommandService','base.command.set-base-kanban-group-field','BOOLEAN','SetBaseViewFilterCommand','duplicateField','_isGanttDateField','tables','_buildGantt','createTable','isBaseFieldStatSupported','hidden','undefined','markResultApplied','path','_capabilities','stringify','_replaceOptional','fieldOrder','_getCurrentUserId','CONTAINS','canDeleteField','matchesBaseCondition','applyOp','edit','version','REMOTE_BASES_PLUGIN','BaseRecordLinkRole','getDay','exceptions','DeleteBaseFieldCommand','groups','bases.config','_projectGroups','Number','findRecordLinkReferences','getBaseFormulaTableName','base.command.rename-base-table','titleFieldId','[BaseViewRegistryService]:\x20view\x20type\x20\x22','Cycle','CreateBaseChildRecordCommand','rowId','createEmbedBasesTable','base.command.move-base-field','toLowerCase','validateFormula','[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20at\x20index\x20','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','end','Gantt','CreateBaseRecordCommand','tableName','Parent\x20Items','UniverProLicense','pluginName','view','oldParentRecordId','symbol','createBaseRecordIdField','MoveBaseHierarchyRecordCommand','card','BASE_RECORD_ID_FIELD_ID','_hierarchyIndexCache','formula.mutation.set-formula-calculation-result','Grid','1364612EDlUEn','recordOrder','BaseConditionalDateMode','operator','_isAllDayGanttDateRange','registerSyncingMutations','conditionalColoring','base.command.set-base-name','BaseConditionalColorOperator','Calendar\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','clear','base.command.create-base-table','columnSettings','dispose','[BaseCommandService]:\x20cannot\x20delete\x20table.','data','BaseFormulaService','parentRecordId','_resolveGalleryCardFieldIds','measure','unknown','apostrophe','_scheduleSuperTableSync','invertOp','_config','renameView','_cellInvalidations','getOwnPropertyDescriptor','[BaseCommandService]:\x20cannot\x20create\x20table.','_setFormulaFieldCells','pickerFieldIds','exec','field','tomorrow','recordIds','LESS_THAN','createBatchCreateRecordsOp','Module','[RecordLink]:\x20field\x20config\x20is\x20invalid.','fieldIndex','diffValue','trigger','touchDependencies','canCreateRecord','decimalPlaces','_globalRevision','config','executeCommand','table','_tableRevisions','add','_buildKanban','http:','thisWeek','_formulaCalculationSessionService','createRecord','AFTER','onReady','base.command.create-base-field','https:','createUniqueBaseTableName','unitOtherData','_recordIds','url','string','createRecords','_resolveKanbanCardFieldIds','values','deleteField','DD/MM/YYYY','greaterThanOrEqual','find','IUndoRedoService','getMonth','ChangeBaseFieldTypeCommand','base.command.set-base-view-field-visible','sort','label','setViewSort','IBaseProjectionService','base.command.set-base-view-sort','_matchesGanttColorRule','createDefaultConfig','_getHierarchyIndex','[BaseCommandService]:\x20invalid\x20field\x20definition.','yyyy/mm/dd','_filterRows','invalidReasonByRecordId','exports','_isCalendarDateField','1.0.0-beta.1','usableAsCalendarDate','start','forEach','en-US','progressFieldId','editable','IS_EMPTY','hasOwnProperty','false','UNIVER_EMBED_BASES_TABLE','_getAllTableIds','[BaseFormula]:\x20A1\x20references\x20and\x20ranges\x20are\x20not\x20supported\x20in\x20Base\x20formulas.','min','keys','SortedView','options','_disposed','rowIndex','createDefaultValue','base.field-registry.service','SetBaseViewFieldOrderCommand','Rating','setViewFieldOrder','format','syncExecuteCommand','source','@univerjs-pro/license','regenerateViewIds','EnsureBaseTemporalViewDateFieldsCommand','_canUseFastSort','max','globalRevision','recordNamePrefix','[RecordLink]:\x20target\x20record\x20\x22','deleteRecords','next30','[BaseField]:\x20invalid\x20rating\x20value.','split','__base_hierarchy_parent__','\x20has\x20unsupported\x20operator\x20\x22','info','_normalizeCellValue','setRecordValues','small','href','formatBaseNumberValue','validateBaseHierarchyRecordCreations','_registeredSuperTableNames','key','kanban','slice','_setAttachmentResources','usableAsGanttStart','includes','9152632dxteWa','resolveBaseDateFieldConfig','childType','invalidateByOp','mark','_createSystemFieldValuePatches','Calendar','isValid','lastIndex','relationRole','redo','getAllBases','today','_normalizeGanttDisplayColor','Status','SetBaseRangeValuesCommand','BaseProjection.projectRows','deleteRecord','COMMAND','Clear','toPlainText','Parent','FieldId','codePointAt','validateBaseTableName','BaseFieldType','getActiveBaseHierarchyFieldIds','_isAllowedKanbanGroupField','Group','A\x20table\x20name\x20cannot\x20contain\x20:\x20\x5c\x20/\x20?\x20*\x20[\x20].','beforeViewId','_projectFields','views','getVisibleBaseHierarchyRows','398830SiwcEN','_applyingFormulaResults','fieldId','filter','[UpdateBaseViewConditionalColorRulesCommand]:\x20duplicate\x20rule\x20id\x20\x22','setHours','_kanbanLaneColor','createView','h12','[BaseCommandService]:\x20cannot\x20change\x20record-id\x20field\x20type.','_projectTableRows','canCreateField','BASE','unshift','_patchProjectedRowsForCellInvalidations','_groupConfigCacheSegment','parentFieldName','colorFieldId','allocateBaseFormulaTableName','_buildGallery','__UNIVER_BASE_PERF__','base.command.set-base-table-hierarchy-field','empty','unitWidth','system','getAffectedRanges','percent','todo','SetBaseKanbanGroupFieldCommand','getUTCMonth','base.command.create-base-record','level','cardSize','BatchDeleteBaseRecordsCommand','locale','test','call','registerCtorForType','[BaseHierarchy]:\x20','isBaseRecordIdFieldName','prototype','usableAsCardCover','unitId','\x20references\x20missing\x20or\x20non-public\x20field\x20\x22','reason','BaseHierarchyInvalidReason','_isKanbanGroupField','_scheduledSuperTableSyncs','SetBaseViewFieldVisibleCommand','_resolveCalendarDateFieldId','groupFieldId','primaryFieldId','getBaseHierarchyDeletePromotions','_getCellRevision','endsWith','updateViewConfig','_groupProjectionFieldIds','createUpdateCellOp','fieldName','entries','removeOp','replaceOp','_recordPermissions','[BaseCommandService]:\x20cannot\x20edit\x20readonly\x20field.','base.command.create-base-view','record','projectBaseHierarchy','cycle','type','average','createField','normalizeBaseDateSerial','count','toStringTag','_createRecordWithDefaults','orderKey','isArray','column','_projectRows','changed','parse','maxDepth','this-row','base.command.duplicate-base-field','renameFormulaUnitReferences','major-','_getAllBaseDependencyTreeCacheMap','https://','_patchCachedProjectedRows','error','base.command.move-base-view','greaterThan','moveField','sortedView','Link','catch','Text','fromEntries','dependencyFieldId','raw','changeFieldType','_executeSuperTableMutationWhileActive','_initialize','afterViewId','allowMultiple','rows','formula','Person','base.command.delete-base-view','getCapabilities','title','UniverProFormulaEnginePlugin','setBaseName','createDefaultBaseTableSnapshot','Grid\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','CreatedBy','getUTCDay','viewOrder','Delete','function','get','JSON1','_cacheKey','recordPatch','[RecordLink]:\x20value\x20must\x20be\x20a\x20canonical\x20string.','getSupportedBaseFieldStatTypes','MissingRecord','8341929GbtKAz','_dataSyncPrimaryController','_ganttBarColor','[BaseCommandService]:\x20cannot\x20edit\x20cell.','_buildCalendar','[BaseCommandService]:\x20cannot\x20delete\x20field.','CommandType','Choose\x20another\x20name.','searchTexts','_getCachedProjection','_baseSyncDisposables','onCommandExecuted','_univerInstanceService','decorate','_materializeFormulaTableNames','amd','_initDataSync','tableRevision','userID','none','[BaseCommandService]:\x20cannot\x20move\x20a\x20field\x20before\x20record-id.','_normalizeGanttConfig','getUnitId','baseRows','ColorKit','remove',',,\x22M\x22','baseDateSerialToDateMs','timeslotSize','beforeFieldId','_buildGrid','_normalizeGalleryConfig','getUTCDate','_runtimeContext','clearTablePermission','WriteCursor','UniverInstanceType','base.command.update-base-cell','disposeWithMe','_rowTransformCacheSegment','DeleteBaseRecordCommand','tryMaterializeSnapshot','_activeDirtyManagerService','matchAll','UniverCore','BaseViewType','setTablePermission','_removeSuperTables','[RecordLink]:\x20display\x20field\x20\x22','missingRecord','basePerf','map','@univerjs/engine-formula','isBaseConditionalColorDateField','_findCalendarDateFieldId','_kanbanLaneTitle','BaseDataModel','isBaseFieldStatType','limit','[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20','user','_toDirtyRangePatch','code','too-long','base.view-registry.service','[BaseCommandService]:\x20invalid\x20RecordLink\x20value.','useThousands','DeleteBaseViewCommand','findIndex','IActiveDirtyManagerService','_getTableRevision','pattern','deepClone','repeat','spacePeriod','canCreateTable','getUTCFullYear','UpdateBaseCellCommand','attachmentSets','_getSystemFieldValue','toDisposable','fld-','nodes','UniverRemoteBasesPlugin','separatorStyle','base.viewType.grid','attachmentSet','invalidGanttStartField','iterator','setViewFieldWidth','revision','UNIVER_BASE','_initDependencies','columns','Unchecked','required','regexp','score','BatchCreateBaseRecordsCommand','viewIndexes','IS_NOT','view-','tableId','getBaseConditionalColorOperators','tableOrder','BaseProjection.filterAndSortRows','invalid','startDateFieldId','push','\x22\x20does\x20not\x20exist.','lastIndexOf','base.command.set-base-range-values','[BaseFormula]:\x20field\x20\x22','lastMonth','colIndex','$1\x20','abbreviation','option-','formulaName','trim','manual','createEmbedBasesTableRemoveMutation','General','getAll','_filterSortFieldIds','viewRevision','readonly','getTypePlugin','_views','-record-','UniverLicensePlugin','fields','clearRecordPermission','large','set','UniverProBases','value','insertOp','invalid-characters','dateKit','done','params','Disposable','setViewGroup','depthByRecordId','base.command.update-base-view-conditional-color-rules','toString','MissingParent','[BaseCommandService]:\x20cannot\x20create\x20record.','JSONX','createSuperTableReference','[BaseFieldRegistryService]:\x20field\x20type\x20\x22','UTC','getCurrentUserId','date','Gallery','NumberFormat','base.command.update-base-record-order','check','createEmbedBasesTableAddMutation','text','_projectedGroupsCache','leftPaneWidth','base.viewType.calendar','7gOQEaj','buildBaseHierarchyIndex','records','createUnit','apply','_fastSortRows','createSetRecordValuesOp','yesterday','FORCE_STRING','_createRecordOrderOp','base.resource.service','isBaseHierarchyField','targetTableId','_formulaSyncQueue','setViewFilter','Table\x20name\x20is\x20required.','setSnapshot','SetBaseViewGroupCommand','#3b82f6','displayColor','_resolveCardTitleFieldId','general','patches','group','Remote','updatedBy','base.projection.service','base-perf-','deleteView','_formulaService','[DeleteBaseTableCommand]:\x20table\x20\x22','\x22\x20is\x20not\x20registered.','[BaseCommandService]:\x20invalid\x20cell\x20value.','duplicateRecord','base.command.set-base-view-filter','_basePermissions','missingField','_projectHierarchyGroups','bases.remote.config','resources','selfParent','_isColorfulKanbanGroupField','normalizeBaseDateFieldConfig','projection','month','\x22\x20must\x20be\x20a\x20non-system\x20field\x20in\x20the\x20target\x20table.','every','commaPeriod','dateFormat','cellData','createBaseFormulaTableNameMap','[BaseCommandService]:\x20cannot\x20delete\x20record.','base.command.validate-formula','uniqueFieldName','formatToParts','Kanban\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.',',,,\x22B\x22','FormulaResultApplicationType','FormulaCalculationTriggerService','_applyFormulaResult','UpdatedBy','createCreateRecordOp','\x20must\x20be\x20an\x20object.','pushUndoRedo','invalidateByField','refactorFormulaUnitQualifier','cellRevision','merge','protocol','_projectionCache','validateRecordLinkField','SingleSelect','End\x20date','afterFieldId','DeleteBaseTableCommand','_normalizeCalendarDisplayColor','base-perf','ruleId','createdAt','quarter','toLocaleString','#16a34a','now','base.command.batch-create-base-records','SelfParent','registerCommand','CreatedAt','\x20has\x20unsupported\x20target\x20\x22','[BaseCommandService]:\x20field\x20\x22','editCell','toFixed','_apply','BaseJson1.cloneForOp','MultiSelect','h:mm\x20a','replace','validate','_syncBaseUnit','base.command.update-base-field','_kanbanGroupKeys','IBaseCellData.ensureTableCellLayout','currencySymbol','\x20must\x20have\x20a\x20non-empty\x20id.','invalidGroupField','_bumpTableRevision','row','createIdentifier','Done','fromPlainText','finally','moveView','local','_injector','base.command.create-base-child-record','updateRecordOrder','YYYY-MM-DD','parentByRecordId','off','_plugins','precision','focusUnit','unitData','getProjection','isFinite','IBaseCommandService','MaxDepth','BaseProjection.projectGroups','BaseConditionalColorTarget','getBase','SetBaseViewSortCommand','GREATER_THAN','createCreateFieldOp','base.command.set-base-record-values','SetFormulaCalculationResultMutation','@univerjs/rpc','endDateFieldId','result','gantt','_T_','valid','BASE_HIERARCHY_PARENT_FIELD_ID','getItem','Progress','base.command.update-base-view-config','forValue','_resolveKanbanCoverFieldId','_createNumberingFieldValuePatches','True','embed-ui','valueOf','coverFieldId','UpdateBaseFieldDescriptionCommand','_enqueueFormulaSync','base.permission.service','mode','_getViewRevision','compose','_resolveKanbanGroupFieldId','_syncSuperTables','scale','Tools','has','getTypeOfUnitAdded$','_projectedRowsCache','color','join','defaultValue','timeZone','_setViewFieldSetting','_viewRowsCacheKey','hourCycle','base.command.duplicate-base-record','colId','invalidateByCell','canDeleteRecord','rules',',\x22K\x22','[BaseField]:\x20invalid\x20phone\x20value.','lessThan','_fieldPermissions','Currency','DESC','Use\x2031\x20characters\x20or\x20fewer.','setViewFieldVisible','dateMode','_initRegistries','invertWithDoc','delete','UniverRpc','base.command.update-base-field-description','name','exception-','Plugin','[BaseJson1OpFactory]:\x20cannot\x20write\x20record-id.','canEditField','Gantt\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','_deleteAttachmentResources','traceBasePerformance','base.command.delete-base-table','indexOf','[BaseFormula]:\x20table\x20\x22','SetSuperTableMutation','SetTriggerFormulaCalculationStartMutation','past7','generateRandomId','boolean','star','473MJfIjx','frozenFieldCount','createdBy','Formula','workingDays','invalidField','MoveBaseViewCommand','size','_permissionService','true','Failed\x20to\x20create\x20update\x20cell\x20operation:','_viewRevisionKey','IBasePermissionService','DataSyncPrimaryController','attachment','dateToExcelSerial','getDependencies','_getJson1DirtyData','[BaseCommandService]:\x20cannot\x20manage\x20view.','subscribe','toPrimitive','base.command.rename-base-view','BaseConditionalColorRuleUpdateType','undo','year','searchBaseTable','_getTable','BaseJson1OpApplier',':start','UpdateBaseViewConditionalColorRulesCommand','\x22\x20does\x20not\x20exist.\x20Use\x20FBaseTable.getFormulaName()\x20or\x20getSchema().formulaName\x20for\x20structured\x20references.','Email','spaceComma','showFieldNames','hierarchy','copyBaseTableSnapshot','recordId','[BaseProjectionService]:\x20missing\x20view\x20\x22','#,##0.00','[BaseField]:\x20invalid\x20email\x20value.','__tempBatchingUndoRedo','defineProperty','setConfig','long','order','BASE_HIERARCHY_MAX_LEVELS','resolvedOptions','attachment-','abs','weekdays','startsWith','embedId','attachments','BaseEventSource','viewId','_fieldRegistry','_initCommands','canDeleteTable','getSuperTableRegistrations','validateCanonicalRecordLinkValue','_cellRevisions','some','_isNonEmptyCellValue','search','resolveBaseHierarchyFieldId','setBasePermission','Gallery\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','working','[RecordLink]:\x20target\x20table\x20does\x20not\x20exist\x20in\x20this\x20Base.','IConfigService','children','splice','normal','h24','getAllUnitsForType','BaseProjection.projectTableRows','getInstance','RecordId','isNotEmpty','414620Pamrxs','orderedRecordIds','_withModifiedSystemValues','9YXXSbp','Kanban','STRING','getFullYear','_applier','isInteger','BaseSortDirection','[BaseCommandService]:\x20cannot\x20insert\x20a\x20field\x20before\x20record-id.','_factory','canManageView','fieldIds','_viewRevisions','recordCount','length','Numbering','short','week','direction','getUnit','usableAsGanttEnd','getTime','rootRecordIds','SetBaseViewFieldWidthCommand','col','BASE_TABLE_NAME_REQUIREMENTS','query','after','\x20must\x20have\x20a\x20valid\x20CSS\x20color.','conjunction','bases.fieldConfig.textPlaceholder','Todo','BaseHierarchyError','formatBaseFieldStatValue','medium','BaseCommand.createBatchCreateRecordsOp','70HrrmCJ','getStructuredDependencies','includeTime','operand','_resolveGalleryCoverFieldId','index','isNot','_getStructureDirtyTableIds','_getOrderedRecords','object','\x22\x20must\x20be\x20a\x20same-table,\x20single-value\x20RecordLink.','then','rule','HH:mm','deleteTable','[BaseField]:\x20invalid\x20checkbox\x20value.','_findKanbanGroupField','BaseJson1OpFactory','base.viewType.gantt',':end','numfmt','817516bgOzyB','[BaseCommandService]:\x20record-id\x20is\x20reserved.','updateCell','resolve','_calendarEventColor','cardLayout','@univerjs-pro/engine-formula','workingDaysOnly','Inject','canEditCell','[BaseField]:\x20negative\x20numbers\x20are\x20disabled.','NOT_CONTAINS','register','updatedAt','multiple','thisMonth','_resolveGanttDateFieldId','\x22.\x20Allowed\x20operators:\x20','_setCachedProjection','base.mutation.apply-base-json1','_getKanbanConfiguredLanes','flatMap','_createNumberingAllocators','from','EMBED_BASES_TABLE_RESOURCE_KEY','subtreeEndIndex','_onCommandExecuted','displayFieldId','updateField','_configService','number','past30','assertBaseTableRecordIdentity','custom','lastWeek','[BaseField]:\x20invalid\x20number\x20value.','_formulaCalculationTriggerService','invalidDateField','decimal','_title','cell','registerView','[BaseCommandService]:\x20cannot\x20create\x20field.','_isAllDayCalendarEvent','_createNumberingAllocator','depth','UniverBasesPlugin','Add','CreateBaseViewCommand','MUTATION','COLUMN','padStart','selectField','_tablePermissions','reduce','clearBasePermission','-field-name','getTypeOfUnitDisposed$','ApplyBaseJson1Mutation','getSnapshot','IS_NOT_EMPTY','nameCharacterCheck','resolveBaseRangeHierarchyPatches','exact','round','before','parseRecordLinkIds','createRegExpFromSafeFragment','UpdatedAt','#14b8a6','snapshot','561606tCNURN','renameTable','Name','gridViewId','conditions','RemoveSuperTableMutation','[BaseCommandService]:\x20cannot\x20edit\x20field.','_groupsCacheKey','CellValueType','ensureBaseTableCellLayout','packageName','-view-grid','[BaseFormula]:\x20validation\x20parameters\x20are\x20required.','contains','Injector','_cellInvalidationsTouchFields','[BaseCommandService]:\x20cannot\x20delete\x20a\x20RecordLink\x20target\x20table\x20(','validateRecordLinkValue','[BaseJson1OpFactory]:\x20cannot\x20move\x20a\x20field\x20before\x20record-id.','fieldSettings','[RecordLink]:\x20a\x20single\x20link\x20accepts\x20only\x20one\x20record\x20id.','_assertFieldDefinition','Import','Checked','base.command.set-base-view-group','day','childrenByParentId'];_0x54e0=function(){return _0x254316;};return _0x54e0();}(function(_0x2dd620,_0x188317){const _0x2a9593=_0x2760,_0x261ec2=_0x2dd620();while(!![]){try{const _0x380d6e=parseInt(_0x2a9593(0x36f))/0x1+-parseInt(_0x2a9593(0x422))/0x2+-parseInt(_0x2a9593(0x26b))/0x3*(-parseInt(_0x2a9593(0x2a3))/0x4)+-parseInt(_0x2a9593(0x28e))/0x5*(parseInt(_0x2a9593(0x2ea))/0x6)+-parseInt(_0x2a9593(0x14a))/0x7*(-parseInt(_0x2a9593(0x400))/0x8)+parseInt(_0x2a9593(0xa6))/0x9+-parseInt(_0x2a9593(0x268))/0xa*(parseInt(_0x2a9593(0x219))/0xb);if(_0x380d6e===_0x188317)break;else _0x261ec2['push'](_0x261ec2['shift']());}catch(_0x3158fd){_0x261ec2['push'](_0x261ec2['shift']());}}}(_0x54e0,0xb892e),function(_0x3d5b30,_0x131864){const _0x40b04d=_0x2760;typeof exports==_0x40b04d(0x297)&&typeof module<'u'?_0x131864(exports,require('@univerjs/core'),require('@univerjs-pro/engine-formula'),require('@univerjs-pro/license'),require('@univerjs/rpc'),require('@univerjs/engine-formula')):typeof define==_0x40b04d(0x9e)&&define[_0x40b04d(0xb5)]?define([_0x40b04d(0x3c7),'@univerjs/core',_0x40b04d(0x2a9),_0x40b04d(0x3e4),_0x40b04d(0x1d0),_0x40b04d(0xda)],_0x131864):(_0x3d5b30=typeof globalThis<'u'?globalThis:_0x3d5b30||self,_0x131864(_0x3d5b30[_0x40b04d(0x12d)]={},_0x3d5b30[_0x40b04d(0xd2)],_0x3d5b30['UniverProEngineFormula'],_0x3d5b30[_0x40b04d(0x363)],_0x3d5b30[_0x40b04d(0x206)],_0x3d5b30['UniverEngineFormula']));}(this,function(_0x9c1748,_0x4d7b12,_0x21a938,_0x2837f2,_0x39f057,_0x38bc67){const _0x17666d=_0x2760;Object[_0x17666d(0x242)](_0x9c1748,Symbol[_0x17666d(0x46b)],{'value':_0x17666d(0x394)});function _0x2c9bfd(_0x13d7d5){const _0x52e7c3=_0x17666d;let _0x4f3ee0=_0x13d7d5[_0x52e7c3(0x39d)]['targetTableId'],_0x5f4a06=_0x13d7d5[_0x52e7c3(0x39d)]['multiple'],_0x96715=_0x13d7d5['config'][_0x52e7c3(0x2be)],_0x13b158=_0x13d7d5[_0x52e7c3(0x39d)][_0x52e7c3(0x38d)],_0x468299=_0x13d7d5[_0x52e7c3(0x39d)][_0x52e7c3(0x409)];return typeof _0x4f3ee0!=_0x52e7c3(0x3af)||!_0x4f3ee0||typeof _0x5f4a06!=_0x52e7c3(0x217)||_0x96715!==void 0x0&&(typeof _0x96715!=_0x52e7c3(0x3af)||!_0x96715)||_0x468299!==void 0x0&&_0x468299!==_0x4d7b12[_0x52e7c3(0x348)][_0x52e7c3(0x415)]||_0x13b158!==void 0x0&&(!Array['isArray'](_0x13b158)||_0x13b158[_0x52e7c3(0x256)](_0x412820=>typeof _0x412820!=_0x52e7c3(0x3af)||!_0x412820)||new Set(_0x13b158)[_0x52e7c3(0x220)]!==_0x13b158['length'])?null:{'targetTableId':_0x4f3ee0,'multiple':_0x5f4a06,..._0x96715?{'displayFieldId':_0x96715}:{},..._0x13b158?{'pickerFieldIds':[..._0x13b158]}:{},..._0x468299?{'relationRole':_0x468299}:{}};}function _0x474d19(_0x5cee91){const _0x34cae0=_0x17666d;return typeof _0x5cee91!=_0x34cae0(0x3af)||_0x5cee91===''?[]:_0x5cee91[_0x34cae0(0x3ef)](',');}function _0x5a2c52(_0x8bf4e7){const _0x44ee15=_0x17666d;return Array['from'](new Set(_0x8bf4e7))[_0x44ee15(0x1ef)](',');}function _0x2eeb56(_0x52ec18,_0x1033dc){const _0x1665c1=_0x17666d;if(typeof _0x52ec18!=_0x1665c1(0x3af))return{'valid':!0x1,'reason':_0x1665c1(0xa3)};if(_0x52ec18==='')return{'valid':!0x0};let _0x10e734=_0x52ec18[_0x1665c1(0x3ef)](',');return!_0x1033dc&&_0x10e734[_0x1665c1(0x278)]>0x1?{'valid':!0x1,'reason':_0x1665c1(0x2fe)}:_0x10e734[_0x1665c1(0x256)](_0x1d01cd=>!(0x0,_0x4d7b12[_0x1665c1(0x31e)])(_0x1d01cd))||new Set(_0x10e734)[_0x1665c1(0x220)]!==_0x10e734[_0x1665c1(0x278)]||_0x5a2c52(_0x10e734)!==_0x52ec18?{'valid':!0x1,'reason':'[RecordLink]:\x20value\x20is\x20not\x20a\x20canonical\x20record\x20id\x20list.'}:{'valid':!0x0};}function _0x2bb568(_0x3015ff,_0x2d8078){const _0x28fc3a=_0x17666d;if(_0x2d8078[_0x28fc3a(0x466)]!==_0x4d7b12[_0x28fc3a(0x419)]['RecordLink'])return{'valid':!0x0};let _0x3edfcd=_0x2c9bfd(_0x2d8078),_0xfd05ff=_0x3edfcd?_0x3015ff[_0x28fc3a(0x334)][_0x3edfcd[_0x28fc3a(0x156)]]:void 0x0;if(!_0x3edfcd||!_0xfd05ff)return{'valid':!0x1,'reason':'[RecordLink]:\x20target\x20table\x20does\x20not\x20exist\x20in\x20this\x20Base.'};let _0x5080a0=[..._0x3edfcd[_0x28fc3a(0x2be)]?[_0x3edfcd[_0x28fc3a(0x2be)]]:[],..._0x3edfcd['pickerFieldIds']??[]]['find'](_0x6d1e63=>{const _0x28df90=_0x28fc3a;let _0x9e9fe1=_0xfd05ff['fields'][_0x6d1e63];return!_0x9e9fe1||_0x9e9fe1[_0x28df90(0x43a)]===!0x0||_0x9e9fe1[_0x28df90(0x466)]===_0x4d7b12[_0x28df90(0x419)][_0x28df90(0x266)];});return _0x5080a0?{'valid':!0x1,'reason':_0x28fc3a(0xd6)+_0x5080a0+_0x28fc3a(0x177)}:{'valid':!0x0};}function _0x475374(_0x19b807,_0x185379,_0x588b33,_0x33f77d={}){const _0x327c4d=_0x17666d;let _0x3a2bab=_0x2c9bfd(_0x185379);if(_0x185379[_0x327c4d(0x466)]!==_0x4d7b12['BaseFieldType'][_0x327c4d(0x328)]||!_0x3a2bab)return{'valid':!0x1,'reason':_0x327c4d(0x395)};let _0x57c117=_0x2eeb56(_0x588b33,_0x3a2bab[_0x327c4d(0x2b1)]);if(!_0x57c117[_0x327c4d(0x1d5)]||_0x33f77d['allowDangling'])return _0x57c117;let _0x57013a=_0x19b807[_0x327c4d(0x334)][_0x3a2bab[_0x327c4d(0x156)]];if(!_0x57013a)return{'valid':!0x1,'reason':_0x327c4d(0x25d)};let _0x43710d=_0x474d19(_0x588b33)[_0x327c4d(0x3b6)](_0x1604d4=>!_0x57013a[_0x327c4d(0x14c)][_0x1604d4]);return _0x43710d?{'valid':!0x1,'reason':_0x327c4d(0x3eb)+_0x43710d+'\x22\x20does\x20not\x20exist.'}:{'valid':!0x0};}function _0x26c103(_0x450de0,_0x40e16a){const _0x5c1b94=_0x17666d;return Object[_0x5c1b94(0x3b2)](_0x450de0[_0x5c1b94(0x334)])[_0x5c1b94(0x2b8)](_0x3e30a3=>Object['values'](_0x3e30a3[_0x5c1b94(0x129)])[_0x5c1b94(0x2b8)](_0x1bce6d=>{const _0x5a28e6=_0x5c1b94;let _0x4fbc84=_0x1bce6d[_0x5a28e6(0x466)]===_0x4d7b12[_0x5a28e6(0x419)][_0x5a28e6(0x328)]?_0x2c9bfd(_0x1bce6d):null;return(_0x4fbc84==null?void 0x0:_0x4fbc84[_0x5a28e6(0x156)])===_0x40e16a?[{'tableId':_0x3e30a3['id'],'fieldId':_0x1bce6d['id']}]:[];}));}let _0x2e101c=_0x17666d(0x3f0),_0x18b9d3=function(_0x494062){const _0x26cc7c=_0x17666d;return _0x494062['InvalidField']=_0x26cc7c(0x21e),_0x494062[_0x26cc7c(0xa5)]=_0x26cc7c(0xd7),_0x494062[_0x26cc7c(0x19e)]=_0x26cc7c(0x172),_0x494062['Cycle']=_0x26cc7c(0x465),_0x494062[_0x26cc7c(0x1c7)]=_0x26cc7c(0x473),_0x494062[_0x26cc7c(0x3d8)]=_0x26cc7c(0x84),_0x494062;}({});var _0x2f9e6c=class extends Error{constructor(_0x56d104,_0x51747a=_0x17666d(0x448)+_0x56d104){const _0x236d24=_0x17666d;super(_0x51747a),this[_0x236d24(0xe4)]=_0x56d104,this[_0x236d24(0x208)]=_0x236d24(0x28a);}};let _0x5693c1=function(_0x189cad){const _0x1e4ec8=_0x17666d;return _0x189cad['UI']='ui',_0x189cad['Facade']='facade',_0x189cad[_0x1e4ec8(0x162)]='remote',_0x189cad['Undo']=_0x1e4ec8(0x230),_0x189cad['Redo']=_0x1e4ec8(0x40a),_0x189cad[_0x1e4ec8(0x300)]='import',_0x189cad;}({});function _0x216ae2(_0x3888ec,_0x467db1){const _0x2a32f8=_0x17666d;if(!_0x467db1)return!0x1;let _0x30812a=_0x3888ec[_0x2a32f8(0x129)][_0x467db1];if(!_0x30812a||_0x30812a[_0x2a32f8(0x466)]!==_0x4d7b12[_0x2a32f8(0x419)][_0x2a32f8(0x328)])return!0x1;let _0x38da21=_0x2c9bfd(_0x30812a);return _0x38da21?_0x38da21[_0x2a32f8(0x156)]===_0x3888ec['id']&&_0x38da21[_0x2a32f8(0x2b1)]===!0x1:!0x1;}function _0x571551(_0x1f20a0){const _0x39a3e6=_0x17666d;return[..._0x1f20a0[_0x39a3e6(0x33f)],...Object['keys'](_0x1f20a0[_0x39a3e6(0x129)])['filter'](_0x136e37=>!_0x1f20a0[_0x39a3e6(0x33f)][_0x39a3e6(0x3ff)](_0x136e37))[_0x39a3e6(0x3bb)]()][_0x39a3e6(0x3b6)](_0x8c1b43=>{const _0x3e1c88=_0x39a3e6;var _0x15c435;return _0x216ae2(_0x1f20a0,_0x8c1b43)?((_0x15c435=_0x2c9bfd(_0x1f20a0[_0x3e1c88(0x129)][_0x8c1b43]))==null?void 0x0:_0x15c435['relationRole'])===_0x4d7b12[_0x3e1c88(0x348)]['Parent']:!0x1;})??null;}function _0x2a161a(_0x7bad85){const _0xaa78aa=_0x17666d;let _0x32f536=_0x571551(_0x7bad85);if(_0x32f536)return _0x32f536;let _0x46fe5b=_0x2e101c,_0x416396=0x2;for(;_0x7bad85[_0xaa78aa(0x129)][_0x46fe5b];)_0x46fe5b=_0x2e101c+'_'+_0x416396++;return _0x46fe5b;}function _0x523965(_0x4ebefd,_0x369010=_0x2a161a(_0x4ebefd),_0x54e8ca=_0x17666d(0x362)){const _0x446e57=_0x17666d;return{'id':_0x369010,'name':_0x54e8ca,'type':_0x4d7b12[_0x446e57(0x419)][_0x446e57(0x328)],'config':{'targetTableId':_0x4ebefd['id'],'multiple':!0x1,'displayFieldId':_0x4ebefd[_0x446e57(0x455)],'pickerFieldIds':[_0x4ebefd[_0x446e57(0x455)]],'relationRole':_0x4d7b12[_0x446e57(0x348)][_0x446e57(0x415)]}};}function _0x4619c5(_0x1cb695){let _0x5d8d20=_0x571551(_0x1cb695);return _0x5d8d20?[_0x5d8d20]:[];}function _0x4d5504(_0x40aa56,_0x5101a0){const _0x51d72b=_0x17666d;let _0x22828e=[..._0x4619c5(_0x40aa56)][_0x51d72b(0x425)](_0xd12fc9=>_0x5101a0[_0x51d72b(0x256)](_0x30ab1c=>Object[_0x51d72b(0x44a)]['hasOwnProperty'][_0x51d72b(0x446)](_0x30ab1c[_0x51d72b(0x3b2)],_0xd12fc9)));if(!_0x22828e[_0x51d72b(0x278)])return[];let _0x339549={..._0x40aa56[_0x51d72b(0x14c)]};_0x5101a0[_0x51d72b(0x3cc)](_0x500d68=>{const _0x261c9f=_0x51d72b;let _0x11b9ab=_0x339549[_0x500d68[_0x261c9f(0x23d)]];_0x11b9ab&&(_0x339549[_0x500d68['recordId']]={..._0x11b9ab,'values':{..._0x11b9ab['values'],..._0x500d68[_0x261c9f(0x3b2)]}});});let _0x6e4fdc={..._0x40aa56,'records':_0x339549},_0x22bd5c=[];return _0x22828e[_0x51d72b(0x3cc)](_0x490c59=>{const _0x2ce880=_0x51d72b;let _0x5f4660=_0x19fe79(_0x40aa56,_0x490c59),_0x68ef4c=_0x19fe79(_0x6e4fdc,_0x490c59);for(let [_0x513048,_0x282c92]of _0x68ef4c[_0x2ce880(0x3c6)]){let _0x31dfb1=_0x5101a0['some'](_0x52190f=>_0x52190f[_0x2ce880(0x23d)]===_0x513048&&Object['prototype'][_0x2ce880(0x3d1)][_0x2ce880(0x446)](_0x52190f['values'],_0x490c59));if(_0x5f4660[_0x2ce880(0x3c6)][_0x2ce880(0x9f)](_0x513048)!==_0x282c92||_0x31dfb1)throw new _0x2f9e6c(_0x322966(_0x282c92));}_0x5101a0[_0x2ce880(0x3cc)](_0x5d9d37=>{const _0x4bbb19=_0x2ce880;if(!Object[_0x4bbb19(0x44a)]['hasOwnProperty'][_0x4bbb19(0x446)](_0x5d9d37[_0x4bbb19(0x3b2)],_0x490c59))return;let _0x4f5b63=_0x5f4660['parentByRecordId'][_0x4bbb19(0x9f)](_0x5d9d37[_0x4bbb19(0x23d)])??null,_0x59dbf8=_0x68ef4c['parentByRecordId'][_0x4bbb19(0x9f)](_0x5d9d37[_0x4bbb19(0x23d)])??null;_0x4f5b63!==_0x59dbf8&&_0x22bd5c[_0x4bbb19(0x112)]({'tableId':_0x40aa56['id'],'fieldId':_0x490c59,'recordId':_0x5d9d37[_0x4bbb19(0x23d)],'oldParentRecordId':_0x4f5b63,'parentRecordId':_0x59dbf8});});}),_0x22bd5c;}function _0x30fd91(_0x23261e,_0x283837){const _0x2b5681=_0x17666d;let _0x3df5f0=_0x283837[_0x2b5681(0xd9)](_0x46d796=>_0x46d796['id']);if(new Set(_0x3df5f0)[_0x2b5681(0x220)]!==_0x3df5f0[_0x2b5681(0x278)]||_0x3df5f0['some'](_0x11fd01=>_0x23261e[_0x2b5681(0x14c)][_0x11fd01]))return[];let _0x47b597=_0x4619c5(_0x23261e),_0xe29d48=_0x47b597[_0x2b5681(0x278)]?null:_0x2a161a(_0x23261e),_0x2fdbcf=[..._0x47b597,..._0xe29d48&&_0x283837[_0x2b5681(0x256)](_0x5ae9eb=>Object['prototype'][_0x2b5681(0x3d1)][_0x2b5681(0x446)](_0x5ae9eb[_0x2b5681(0x3b2)],_0xe29d48))?[_0xe29d48]:[]][_0x2b5681(0x425)](_0x12e2eb=>_0x283837[_0x2b5681(0x256)](_0x33c5de=>Object[_0x2b5681(0x44a)]['hasOwnProperty'][_0x2b5681(0x446)](_0x33c5de[_0x2b5681(0x3b2)],_0x12e2eb)));if(!_0x2fdbcf[_0x2b5681(0x278)])return[];let _0x1b2072={..._0x23261e,'records':{..._0x23261e[_0x2b5681(0x14c)],...Object[_0x2b5681(0x88)](_0x283837[_0x2b5681(0xd9)](_0x20e46f=>[_0x20e46f['id'],_0x20e46f]))},'recordOrder':[..._0x23261e['recordOrder']??[],..._0x283837[_0x2b5681(0xd9)](_0x37e5f4=>_0x37e5f4['id'])]},_0x2c3574=[];return _0x2fdbcf[_0x2b5681(0x3cc)](_0x2db086=>{const _0x23caf9=_0x2b5681;let _0x55f73f=_0x19fe79(_0x1b2072,_0x2db086);_0x283837[_0x23caf9(0x3cc)](_0x54bcc2=>{const _0xc837f5=_0x23caf9;let _0xb53f6e=_0x55f73f[_0xc837f5(0x3c6)]['get'](_0x54bcc2['id']);if(_0xb53f6e)throw new _0x2f9e6c(_0x322966(_0xb53f6e));let _0x4238f4=_0x55f73f[_0xc837f5(0x1be)][_0xc837f5(0x9f)](_0x54bcc2['id'])??null;_0x4238f4&&_0x2c3574['push']({'tableId':_0x23261e['id'],'fieldId':_0x2db086,'recordId':_0x54bcc2['id'],'oldParentRecordId':null,'parentRecordId':_0x4238f4});});}),_0x2c3574;}function _0x322966(_0x4563a9){const _0x65da7=_0x17666d;switch(_0x4563a9){case _0x4d7b12[_0x65da7(0x44f)][_0x65da7(0x139)]:return _0x65da7(0xd7);case _0x4d7b12['BaseHierarchyInvalidReason'][_0x65da7(0x19e)]:return _0x65da7(0x172);case _0x4d7b12['BaseHierarchyInvalidReason'][_0x65da7(0x355)]:return _0x65da7(0x465);case _0x4d7b12[_0x65da7(0x44f)][_0x65da7(0x1c7)]:return _0x65da7(0x473);}}function _0x593e95(_0x18ec95,_0x13f02c){const _0x5c6194=_0x17666d;let _0x1786cf=new Set(_0x13f02c),_0x5317ef=_0x4619c5(_0x18ec95);return Object[_0x5c6194(0x3b2)](_0x18ec95[_0x5c6194(0x14c)])[_0x5c6194(0x2b8)](_0x14848c=>_0x1786cf[_0x5c6194(0x1eb)](_0x14848c['id'])?[]:Array[_0x5c6194(0x2ba)](_0x5317ef)[_0x5c6194(0x2b8)](_0x5317c8=>{const _0x3ea1da=_0x5c6194;let _0x2ddf13=_0x474d19(_0x14848c['values'][_0x5317c8])[0x0]??null;return _0x2ddf13&&_0x1786cf[_0x3ea1da(0x1eb)](_0x2ddf13)?[{'tableId':_0x18ec95['id'],'fieldId':_0x5317c8,'recordId':_0x14848c['id'],'oldParentRecordId':_0x2ddf13,'parentRecordId':null}]:[];}));}function _0x19fe79(_0x5f303d,_0x338a2f,_0x14f5dc=_0x5f303d['recordOrder']??Object[_0x17666d(0x3d7)](_0x5f303d['records'])){const _0x441d18=_0x17666d;if(!(!_0x5f303d[_0x441d18(0x129)][_0x338a2f]&&_0x338a2f===_0x2a161a(_0x5f303d))&&!_0x216ae2(_0x5f303d,_0x338a2f))throw Error('[BaseHierarchy]:\x20field\x20\x22'+_0x338a2f+_0x441d18(0x298));let _0x5537d6=_0x19b861(_0x5f303d,_0x14f5dc),_0x2f3c69=new Map(),_0x596871=new Map();for(let _0x29cd2b of _0x5537d6){var _0x159f31;let _0x2164b2=_0x474d19((_0x159f31=_0x5f303d['records'][_0x29cd2b])==null?void 0x0:_0x159f31['values'][_0x338a2f])[0x0]??null;_0x2164b2?_0x2164b2===_0x29cd2b?(_0x2f3c69[_0x441d18(0x12c)](_0x29cd2b,null),_0x596871[_0x441d18(0x12c)](_0x29cd2b,_0x4d7b12['BaseHierarchyInvalidReason'][_0x441d18(0x19e)])):_0x5f303d[_0x441d18(0x14c)][_0x2164b2]?_0x2f3c69[_0x441d18(0x12c)](_0x29cd2b,_0x2164b2):(_0x2f3c69[_0x441d18(0x12c)](_0x29cd2b,null),_0x596871[_0x441d18(0x12c)](_0x29cd2b,_0x4d7b12['BaseHierarchyInvalidReason'][_0x441d18(0x139)])):_0x2f3c69['set'](_0x29cd2b,null);}_0x226008(_0x2f3c69,_0x596871,_0x5537d6),_0x554598(_0x2f3c69,_0x596871,_0x5537d6);let _0x59c422=new Map(_0x5537d6['map']((_0x35f56f,_0x4f2219)=>[_0x35f56f,_0x4f2219])),_0x393213=new Map();for(let _0x926935 of _0x5537d6){let _0x522c19=_0x2f3c69['get'](_0x926935)??null,_0x31e20e=_0x393213[_0x441d18(0x9f)](_0x522c19)??[];_0x31e20e[_0x441d18(0x112)](_0x926935),_0x393213[_0x441d18(0x12c)](_0x522c19,_0x31e20e);}_0x393213[_0x441d18(0x3cc)](_0x3acf46=>_0x3acf46[_0x441d18(0x3bb)]((_0x432e1a,_0x4c7ec2)=>(_0x59c422['get'](_0x432e1a)??0x0)-(_0x59c422[_0x441d18(0x9f)](_0x4c7ec2)??0x0)));let _0x5d3cfa=_0x393213['get'](null)??[],_0x10ed26=new Map(),_0x2e603e=new Map(),_0x15a71c=[],_0x2f57f0=(_0x4ffce0,_0x115a5b)=>{const _0x5df2d2=_0x441d18;_0x10ed26['set'](_0x4ffce0,_0x115a5b),_0x15a71c[_0x5df2d2(0x112)](_0x4ffce0);let _0x2cf043=0x0;for(let _0x63fd9d of _0x393213[_0x5df2d2(0x9f)](_0x4ffce0)??[])_0x2cf043=Math[_0x5df2d2(0x3e8)](_0x2cf043,0x1+_0x2f57f0(_0x63fd9d,_0x115a5b+0x1));return _0x2e603e[_0x5df2d2(0x12c)](_0x4ffce0,_0x2cf043),_0x2cf043;};return _0x5d3cfa[_0x441d18(0x3cc)](_0x496d21=>_0x2f57f0(_0x496d21,0x0)),{'fieldId':_0x338a2f,'parentByRecordId':_0x2f3c69,'childrenByParentId':_0x393213,'depthByRecordId':_0x10ed26,'subtreeHeightByRecordId':_0x2e603e,'invalidReasonByRecordId':_0x596871,'rootRecordIds':_0x5d3cfa,'orderedRecordIds':_0x15a71c};}function _0xaacbb4(_0x1de2d0,_0x58e8ec,_0x486b4c=new Set(_0x58e8ec[_0x17666d(0xd9)](_0x430409=>_0x430409[_0x17666d(0x23d)]))){const _0x58c46b=_0x17666d;let _0x4e1ede=new Set(_0x486b4c);for(let _0x381802 of _0x486b4c){let _0x458a6c=_0x1de2d0['parentByRecordId'][_0x58c46b(0x9f)](_0x381802)??null;for(;_0x458a6c;)_0x4e1ede[_0x58c46b(0x3a1)](_0x458a6c),_0x458a6c=_0x1de2d0['parentByRecordId'][_0x58c46b(0x9f)](_0x458a6c)??null;}let _0x3addb5=new Map(_0x58e8ec[_0x58c46b(0xd9)](_0x1d8283=>[_0x1d8283[_0x58c46b(0x23d)],_0x1d8283])),_0xad4537=_0x1de2d0[_0x58c46b(0x269)][_0x58c46b(0x425)](_0x2801d2=>_0x4e1ede[_0x58c46b(0x1eb)](_0x2801d2)),_0x503024=_0xad4537[_0x58c46b(0x2b8)](_0x2aa825=>{const _0x53e0f9=_0x58c46b;let _0x5c5085=_0x3addb5[_0x53e0f9(0x9f)](_0x2aa825);return _0x5c5085?[_0x5c5085]:[];}),_0x1e8804={};for(let _0x423ff8=0x0;_0x423ff8<_0xad4537[_0x58c46b(0x278)];_0x423ff8++){let _0x2b2864=_0xad4537[_0x423ff8];_0x1e8804[_0x2b2864]={'recordId':_0x2b2864,'parentRecordId':_0x1de2d0[_0x58c46b(0x1be)][_0x58c46b(0x9f)](_0x2b2864)??null,'depth':_0x1de2d0[_0x58c46b(0x136)][_0x58c46b(0x9f)](_0x2b2864)??0x0,'directChildCount':(_0x1de2d0[_0x58c46b(0x304)]['get'](_0x2b2864)??[])['length'],'subtreeHeight':_0x1de2d0['subtreeHeightByRecordId'][_0x58c46b(0x9f)](_0x2b2864)??0x0,'subtreeEndIndex':_0x423ff8,'invalidReason':_0x1de2d0['invalidReasonByRecordId'][_0x58c46b(0x9f)](_0x2b2864)};}let _0x2677fa=[];for(let _0x529890=0x0;_0x529890<_0xad4537[_0x58c46b(0x278)];_0x529890++){let _0x12e0d7=_0xad4537[_0x529890],_0x223dc7=_0x1e8804[_0x12e0d7][_0x58c46b(0x2d0)];for(;_0x2677fa['length']&&_0x2677fa[_0x2677fa[_0x58c46b(0x278)]-0x1]['depth']>=_0x223dc7;){let _0x41385c=_0x2677fa[_0x58c46b(0x318)]();_0x1e8804[_0x41385c['recordId']][_0x58c46b(0x2bc)]=_0x529890-0x1;}_0x2677fa['push']({'recordId':_0x12e0d7,'depth':_0x223dc7});}return _0x2677fa['forEach'](({recordId:_0x2ad0bd})=>{const _0x184921=_0x58c46b;_0x1e8804[_0x2ad0bd][_0x184921(0x2bc)]=_0xad4537['length']-0x1;}),{'rows':_0x503024,'hierarchy':{'fieldId':_0x1de2d0[_0x58c46b(0x424)],'rootRecordIds':_0x1de2d0[_0x58c46b(0x280)]['filter'](_0x15e7fd=>_0x4e1ede[_0x58c46b(0x1eb)](_0x15e7fd)),'orderedRecordIds':_0xad4537,'nodes':_0x1e8804}};}function _0x757508(_0x3a68fe,_0x27dfd3){const _0x225022=_0x17666d;if(!_0x3a68fe['hierarchy']||!(_0x27dfd3!=null&&_0x27dfd3['size']))return _0x3a68fe[_0x225022(0x90)];let _0x2f70a7=[],_0x39215e=0x0;for(;_0x39215e<_0x3a68fe[_0x225022(0x90)]['length'];){let _0x4604e2=_0x3a68fe['rows'][_0x39215e];_0x2f70a7[_0x225022(0x112)](_0x4604e2);let _0x3774a4=_0x3a68fe[_0x225022(0x23b)][_0x225022(0xf8)][_0x4604e2[_0x225022(0x23d)]];_0x39215e=_0x27dfd3[_0x225022(0x1eb)](_0x4604e2[_0x225022(0x23d)])&&_0x3774a4?_0x3774a4['subtreeEndIndex']+0x1:_0x39215e+0x1;}return _0x2f70a7;}function _0x370f2f(_0x1844f5,_0x12c220,_0xf1d9f){const _0x24a7c7=_0x17666d;if(!_0xf1d9f)return{'valid':!0x0};if(_0x12c220===_0xf1d9f)return{'valid':!0x1,'reason':_0x4d7b12[_0x24a7c7(0x44f)][_0x24a7c7(0x19e)]};let _0x416c12=_0xf1d9f;for(;_0x416c12;){if(_0x416c12===_0x12c220)return{'valid':!0x1,'reason':_0x4d7b12[_0x24a7c7(0x44f)][_0x24a7c7(0x355)]};_0x416c12=_0x1844f5['parentByRecordId'][_0x24a7c7(0x9f)](_0x416c12)??null;}return(_0x1844f5[_0x24a7c7(0x136)]['get'](_0xf1d9f)??0x0)+0x1+(_0x1844f5['subtreeHeightByRecordId'][_0x24a7c7(0x9f)](_0x12c220)??0x0)>=0x5?{'valid':!0x1,'reason':_0x4d7b12[_0x24a7c7(0x44f)][_0x24a7c7(0x1c7)]}:{'valid':!0x0};}function _0x19b861(_0x2d925f,_0x5bbf8e){const _0xf942a0=_0x17666d;let _0x46bf64=new Set(),_0x82ac9c=[];for(let _0x1bfc51 of _0x5bbf8e)_0x2d925f['records'][_0x1bfc51]&&!_0x46bf64[_0xf942a0(0x1eb)](_0x1bfc51)&&(_0x46bf64[_0xf942a0(0x3a1)](_0x1bfc51),_0x82ac9c['push'](_0x1bfc51));return Object[_0xf942a0(0x3d7)](_0x2d925f['records'])[_0xf942a0(0x3bb)]()[_0xf942a0(0x3cc)](_0x4e7389=>{const _0x21d07b=_0xf942a0;_0x46bf64[_0x21d07b(0x1eb)](_0x4e7389)||_0x82ac9c[_0x21d07b(0x112)](_0x4e7389);}),_0x82ac9c;}function _0x226008(_0x30aed6,_0x25d9ef,_0x287860){const _0x2da138=_0x17666d;let _0x467c54=new Set();for(let _0x2fff7a of _0x287860){if(_0x467c54[_0x2da138(0x1eb)](_0x2fff7a))continue;let _0x3e4acb=[],_0xad4348=new Map(),_0xd94ff3=_0x2fff7a;for(;_0xd94ff3&&!_0x467c54[_0x2da138(0x1eb)](_0xd94ff3);){let _0x561b19=_0xad4348[_0x2da138(0x9f)](_0xd94ff3);if(_0x561b19!=null){let _0xe0e6af=[..._0x3e4acb['slice'](_0x561b19)]['sort']()[_0x2da138(0x318)]();_0x30aed6[_0x2da138(0x12c)](_0xe0e6af,null),_0x25d9ef[_0x2da138(0x12c)](_0xe0e6af,_0x4d7b12[_0x2da138(0x44f)][_0x2da138(0x355)]);break;}_0xad4348['set'](_0xd94ff3,_0x3e4acb[_0x2da138(0x278)]),_0x3e4acb['push'](_0xd94ff3),_0xd94ff3=_0x30aed6['get'](_0xd94ff3)??null;}_0x3e4acb[_0x2da138(0x3cc)](_0x3595c7=>_0x467c54[_0x2da138(0x3a1)](_0x3595c7));}}function _0x554598(_0x2a8fc7,_0x440f0a,_0x43abc3){let _0x480621=new Map(),_0x2d9234=_0x2f9ff7=>{const _0x4cc0c1=_0x2760;let _0x6cddf9=_0x480621[_0x4cc0c1(0x9f)](_0x2f9ff7);if(_0x6cddf9!=null)return _0x6cddf9;let _0x1c1828=_0x2a8fc7['get'](_0x2f9ff7)??null;if(!_0x1c1828)return _0x480621[_0x4cc0c1(0x12c)](_0x2f9ff7,0x0),0x0;let _0x2037b9=_0x2d9234(_0x1c1828)+0x1;return _0x2037b9>=0x5?(_0x2a8fc7[_0x4cc0c1(0x12c)](_0x2f9ff7,null),_0x440f0a[_0x4cc0c1(0x12c)](_0x2f9ff7,_0x4d7b12[_0x4cc0c1(0x44f)][_0x4cc0c1(0x1c7)]),_0x480621[_0x4cc0c1(0x12c)](_0x2f9ff7,0x0),0x0):(_0x480621['set'](_0x2f9ff7,_0x2037b9),_0x2037b9);};_0x43abc3['forEach'](_0x2d9234);}let _0x2cbae9=0x0;function _0x51de20(){const _0x5369c3=_0x17666d;if(globalThis[_0x5369c3(0x436)]===!0x0)return!0x0;try{let _0x5cac22=typeof location>'u'?'':location[_0x5369c3(0x258)],_0x55c675=new URLSearchParams(_0x5cac22);if(_0x55c675[_0x5369c3(0x9f)]('basePerf')==='1'||_0x55c675[_0x5369c3(0x9f)](_0x5369c3(0xd8))==='true'||_0x55c675[_0x5369c3(0x9f)](_0x5369c3(0x196))==='1')return!0x0;}catch{}try{let _0x4f879c=typeof localStorage>'u'?null:localStorage[_0x5369c3(0x1d7)]('univer.basePerf');return _0x4f879c==='1'||_0x4f879c===_0x5369c3(0x222);}catch{return!0x1;}}function _0x1b2201(_0x4b0abf,_0x318c25,_0x4e83d2){const _0xea04f1=_0x17666d;if(!_0x51de20())return _0x318c25();let _0x1d46ef=_0x3b29e1(),_0x7681ad=_0xea04f1(0x165)+_0x2cbae9++;_0x321216(_0x7681ad+_0xea04f1(0x235));try{return _0x318c25();}finally{let _0x4918e7=_0x3b29e1()-_0x1d46ef;_0x321216(_0x7681ad+_0xea04f1(0x2a1)),_0x2c7bc1(_0x4b0abf,_0x7681ad+_0xea04f1(0x235),_0x7681ad+_0xea04f1(0x2a1)),_0x26ce8a(_0x4b0abf,_0x4918e7,_0x4e83d2);}}function _0x26ce8a(_0xc2a184,_0x47b898,_0xb9447f){const _0x348b63=_0x17666d;if(!_0x51de20())return;let _0x81c509=Math[_0x348b63(0x2e3)](_0x47b898*0x64)/0x64,_0x41fbef=_0xb9447f&&Object['keys'](_0xb9447f)[_0x348b63(0x278)]?'\x20'+JSON[_0x348b63(0x33d)](_0xb9447f):'';console[_0x348b63(0x3f2)]('[BasePerf]\x20'+_0xc2a184+':\x20'+_0x81c509+'ms'+_0x41fbef);}function _0x3b29e1(){const _0x2ee255=_0x17666d;return typeof performance<'u'&&typeof performance[_0x2ee255(0x19c)]==_0x2ee255(0x9e)?performance[_0x2ee255(0x19c)]():Date[_0x2ee255(0x19c)]();}function _0x321216(_0x53c959){const _0x2d9585=_0x17666d;try{if(typeof performance<'u'){var _0x54a04c,_0x1b5739;(_0x54a04c=(_0x1b5739=performance)[_0x2d9585(0x404)])==null||_0x54a04c[_0x2d9585(0x446)](_0x1b5739,_0x53c959);}}catch{}}function _0x2c7bc1(_0x460983,_0x2f6086,_0x4db228){const _0x5b1124=_0x17666d;try{if(typeof performance<'u'){var _0x33bc32,_0x14b40d;(_0x33bc32=(_0x14b40d=performance)[_0x5b1124(0x382)])==null||_0x33bc32[_0x5b1124(0x446)](_0x14b40d,'[BasePerf]\x20'+_0x460983,_0x2f6086,_0x4db228);}}catch{}}function _0x4cff78(_0x438705){const _0x4ce317=_0x17666d;var _0x285fde;return _0x51de20()?_0x1b2201(_0x4ce317(0x1ae),()=>_0x53e38c(_0x438705),{'tableId':_0x438705['id'],'records':Object[_0x4ce317(0x3d7)](_0x438705['records']??{})[_0x4ce317(0x278)],'fields':_0x438705['fieldOrder'][_0x4ce317(0x278)],'hasRecordOrder':!!((_0x285fde=_0x438705['recordOrder'])!=null&&_0x285fde[_0x4ce317(0x278)])}):_0x53e38c(_0x438705);}function _0x53e38c(_0x4670c9){const _0x2e60fa=_0x17666d;var _0x53bdfb;let _0x2fd0e0=_0x4670c9[_0x2e60fa(0x14c)]??{},_0x9f84bb=_0x4670c9[_0x2e60fa(0x129)]??{},_0x3e417a=((_0x53bdfb=_0x4670c9[_0x2e60fa(0x370)])==null?void 0x0:_0x53bdfb[_0x2e60fa(0x425)](_0x5e275f=>_0x2fd0e0[_0x5e275f]))??[],_0x55370c=new Set(_0x3e417a),_0x549c98=[];for(let _0x9d5d0b of Object[_0x2e60fa(0x3b2)](_0x2fd0e0))_0x55370c[_0x2e60fa(0x1eb)](_0x9d5d0b['id'])||_0x549c98[_0x2e60fa(0x112)](_0x9d5d0b);let _0x22f540=_0x549c98[_0x2e60fa(0x278)]?[..._0x3e417a,..._0x5913e0(_0x549c98)]:_0x3e417a,_0x40033f=_0x4670c9['fieldOrder']['filter'](_0x5731ae=>_0x9f84bb[_0x5731ae]),_0x2d943e={..._0x4670c9[_0x2e60fa(0x357)]??{}},_0x314714={..._0x4670c9[_0x2e60fa(0x1f6)]??{}},_0x1baf03={..._0x4670c9[_0x2e60fa(0x17b)]??{}};_0x4670c9[_0x2e60fa(0x370)]=_0x22f540,_0x4670c9[_0x2e60fa(0x3db)]={},_0x4670c9['rowId']={},_0x4670c9['colIndex']={},_0x4670c9['colId']={},_0x4670c9[_0x2e60fa(0x17b)]={},_0x4670c9[_0x2e60fa(0x171)]={..._0x4670c9[_0x2e60fa(0x171)]??{}},_0x4670c9['resources'][_0x2e60fa(0xf4)]={..._0x4670c9[_0x2e60fa(0x171)][_0x2e60fa(0xf4)]??{}},_0x4670c9['resources'][_0x2e60fa(0x24d)]={..._0x4670c9[_0x2e60fa(0x171)]['attachments']??{}};let _0x4a1429=_0x4670c9[_0x2e60fa(0x3db)],_0x450e7b=_0x4670c9[_0x2e60fa(0x357)],_0x5b761a=_0x4670c9[_0x2e60fa(0x118)],_0x386553=_0x4670c9[_0x2e60fa(0x1f6)],_0x4c2ec7=_0x4670c9['cellData'];return _0x22f540[_0x2e60fa(0x3cc)]((_0x1b8248,_0x58c00b)=>{_0x4a1429[_0x1b8248]=_0x58c00b,_0x450e7b[_0x58c00b]=_0x1b8248;}),_0x40033f[_0x2e60fa(0x3cc)]((_0xda9cc1,_0x500724)=>{_0x5b761a[_0xda9cc1]=_0x500724,_0x386553[_0x500724]=_0xda9cc1;}),Object['entries'](_0x1baf03)[_0x2e60fa(0x3cc)](([_0x3eb7ec,_0x4b22f2])=>{const _0x2a9ca9=_0x2e60fa;let _0x4d169e=Number(_0x3eb7ec),_0xe0575d=_0x2d943e[_0x4d169e]??_0x22f540[_0x4d169e],_0xa8d395=_0xe0575d?_0x4a1429[_0xe0575d]:void 0x0;_0xa8d395!=null&&(_0x4c2ec7[_0xa8d395]={..._0x4c2ec7[_0xa8d395]??{}},Object['entries'](_0x4b22f2??{})[_0x2a9ca9(0x3cc)](([_0x3e993a,_0x586909])=>{let _0x312afb=Number(_0x3e993a),_0x4b0f28=_0x314714[_0x312afb]??_0x40033f[_0x312afb],_0x558828=_0x4b0f28?_0x5b761a[_0x4b0f28]:void 0x0;_0x558828!=null&&(_0x4c2ec7[_0xa8d395][_0x558828]=_0x1b50e0(_0x586909));}));}),Object[_0x2e60fa(0x3b2)](_0x2fd0e0)[_0x2e60fa(0x3cc)](_0x5b5e44=>{const _0x372534=_0x2e60fa;let _0x1bb612=_0x4a1429[_0x5b5e44['id']];_0x1bb612!=null&&(_0x5b5e44['values']={..._0x5b5e44['values']??{},[_0x4d7b12[_0x372534(0x36b)]]:_0x5b5e44['id']},_0x4c2ec7[_0x1bb612]={..._0x4c2ec7[_0x1bb612]??{},0x0:{'v':_0x5b5e44['id'],'t':_0x4d7b12['CellValueType'][_0x372534(0x26d)]}},Object['entries'](_0x5b5e44[_0x372534(0x3b2)]??{})[_0x372534(0x3cc)](([_0x153f45,_0x1b31cb])=>{const _0x45ca4a=_0x372534;let _0x2cb0f8=_0x9f84bb[_0x153f45];(_0x2cb0f8==null?void 0x0:_0x2cb0f8[_0x45ca4a(0x466)])===_0x4d7b12[_0x45ca4a(0x419)][_0x45ca4a(0x312)]&&_0x65b0f0(_0x4670c9,_0x5b5e44['id'],_0x153f45,_0x1b31cb);let _0x5eec29=_0x5b761a[_0x153f45];if(_0x5eec29==null)return;let _0x68a482=_0x4c2ec7[_0x1bb612][_0x5eec29];if(_0x68a482!=null){_0x3f12bb(_0x68a482,_0x2cb0f8,_0x1b31cb)&&(_0x4c2ec7[_0x1bb612][_0x5eec29]=_0x445436(_0x1b31cb,_0x2cb0f8));return;}_0x4c2ec7[_0x1bb612][_0x5eec29]=_0x445436(_0x1b31cb,_0x2cb0f8);}));}),_0x4670c9;}function _0x55f164(_0x23a447){const _0x1cf300=_0x17666d;return _0x4cff78(_0x23a447),Object['entries'](_0x23a447[_0x1cf300(0x357)]??{})[_0x1cf300(0x3cc)](([_0x5232e8,_0x59a47e])=>{const _0x14483f=_0x1cf300;var _0x144941;let _0x4e5ce4=Number(_0x5232e8),_0x1ede6f=_0x23a447[_0x14483f(0x14c)][_0x59a47e];_0x1ede6f&&(_0x1ede6f['values']={..._0x1ede6f[_0x14483f(0x3b2)]??{}},Object['entries'](((_0x144941=_0x23a447[_0x14483f(0x17b)])==null?void 0x0:_0x144941[_0x4e5ce4])??{})[_0x14483f(0x3cc)](([_0x1346e3,_0x576583])=>{const _0x45bd5c=_0x14483f;var _0xac7806;let _0x2a0c4f=(_0xac7806=_0x23a447[_0x45bd5c(0x1f6)])==null?void 0x0:_0xac7806[Number(_0x1346e3)];_0x2a0c4f===_0x4d7b12[_0x45bd5c(0x36b)]?_0x1ede6f['values'][_0x4d7b12['BASE_RECORD_ID_FIELD_ID']]=_0x1ede6f['id']:_0x2a0c4f&&(_0x1ede6f[_0x45bd5c(0x3b2)][_0x2a0c4f]=_0xca1f9d(_0x576583,_0x23a447['fields'][_0x2a0c4f],_0x23a447,_0x59a47e));}));}),_0x23a447;}function _0x3aaed2(_0x138612,_0x373894){const _0x516796=_0x17666d;for(let {row:_0x35f3f1,col:_0x291fca}of _0x373894){var _0x29166c,_0x2c6379,_0x5e1434;let _0x3512c4=(_0x29166c=_0x138612[_0x516796(0x357)])==null?void 0x0:_0x29166c[_0x35f3f1],_0x4b7382=(_0x2c6379=_0x138612[_0x516796(0x1f6)])==null?void 0x0:_0x2c6379[_0x291fca],_0x2d5211=_0x3512c4?_0x138612['records'][_0x3512c4]:void 0x0;if(!_0x2d5211||!_0x4b7382)continue;if(_0x4b7382===_0x4d7b12[_0x516796(0x36b)]){_0x2d5211['values'][_0x4d7b12[_0x516796(0x36b)]]=_0x2d5211['id'];continue;}let _0x3d3ce8=(_0x5e1434=_0x138612[_0x516796(0x17b)])==null||(_0x5e1434=_0x5e1434[_0x35f3f1])==null?void 0x0:_0x5e1434[_0x291fca];_0x3d3ce8==null&&!Object[_0x516796(0x44a)]['hasOwnProperty'][_0x516796(0x446)](_0x2d5211[_0x516796(0x3b2)]??{},_0x4b7382)||(_0x2d5211['values']={..._0x2d5211[_0x516796(0x3b2)]??{}},_0x2d5211[_0x516796(0x3b2)][_0x4b7382]=_0xca1f9d(_0x3d3ce8,_0x138612[_0x516796(0x129)][_0x4b7382],_0x138612,_0x3512c4));}return _0x138612;}function _0x29a076(_0x502981,_0x3037c4,_0xda2f55){const _0x4570cf=_0x17666d;var _0x45d5a3,_0x4a4405,_0x50bbe7,_0x4ee0e7,_0x5cb1ea,_0x438319;let _0x54673e=(_0x45d5a3=_0x502981[_0x4570cf(0x3db)])==null?void 0x0:_0x45d5a3[_0x3037c4],_0xb36255=(_0x4a4405=_0x502981['colIndex'])==null?void 0x0:_0x4a4405[_0xda2f55];if(_0x54673e!=null&&_0xb36255!=null&&((_0x50bbe7=_0x502981[_0x4570cf(0x357)])==null?void 0x0:_0x50bbe7[_0x54673e])===_0x3037c4&&((_0x4ee0e7=_0x502981[_0x4570cf(0x1f6)])==null?void 0x0:_0x4ee0e7[_0xb36255])===_0xda2f55)return{'row':_0x54673e,'col':_0xb36255};let _0x2f4a7b=_0x4cff78(_0x502981),_0x2b7976=(_0x5cb1ea=_0x2f4a7b[_0x4570cf(0x3db)])==null?void 0x0:_0x5cb1ea[_0x3037c4],_0x452866=(_0x438319=_0x2f4a7b['colIndex'])==null?void 0x0:_0x438319[_0xda2f55];return _0x2b7976==null||_0x452866==null?null:{'row':_0x2b7976,'col':_0x452866};}function _0x19f477(_0x11b36e,_0x32fc06,_0x5837e0){const _0x262a2d=_0x17666d;var _0x1127a3;let _0x22b364=_0x29a076(_0x11b36e,_0x32fc06,_0x5837e0);if(_0x22b364)return(_0x1127a3=_0x11b36e['cellData'])==null||(_0x1127a3=_0x1127a3[_0x22b364[_0x262a2d(0x1b3)]])==null?void 0x0:_0x1127a3[_0x22b364[_0x262a2d(0x282)]];}function _0x5d14af(_0x20ba82,_0x4cd95e,_0x5dc9d4){const _0x2110aa=_0x17666d;var _0x10e59d;let _0xf2d16d=_0x19f477(_0x20ba82,_0x4cd95e,_0x5dc9d4),_0x5bfd91=_0x20ba82[_0x2110aa(0x129)][_0x5dc9d4];if((_0x5bfd91==null?void 0x0:_0x5bfd91[_0x2110aa(0x466)])===_0x4d7b12[_0x2110aa(0x419)]['Attachment']){var _0x4a5013;return _0x1d1a91(_0x20ba82,_0x4cd95e,_0x5dc9d4)??_0x395d05((_0x4a5013=_0x20ba82[_0x2110aa(0x14c)][_0x4cd95e])==null||(_0x4a5013=_0x4a5013[_0x2110aa(0x3b2)])==null?void 0x0:_0x4a5013[_0x5dc9d4]);}if(_0x1168a4(_0x5bfd91)||(_0x5bfd91==null?void 0x0:_0x5bfd91[_0x2110aa(0x466)])===_0x4d7b12[_0x2110aa(0x419)][_0x2110aa(0x85)]){var _0x256d09;let _0x2b6d9f=(_0x256d09=_0x20ba82[_0x2110aa(0x14c)][_0x4cd95e])==null||(_0x256d09=_0x256d09[_0x2110aa(0x3b2)])==null?void 0x0:_0x256d09[_0x5dc9d4];return _0x2b6d9f!=null&&_0x2b6d9f!==''?_0x4c3807(_0x2b6d9f,_0x5bfd91):_0xca1f9d(_0xf2d16d,_0x5bfd91,_0x20ba82,_0x4cd95e);}return _0xf2d16d&&Object[_0x2110aa(0x44a)][_0x2110aa(0x3d1)][_0x2110aa(0x446)](_0xf2d16d,'v')?_0xf2d16d['v']??null:((_0x10e59d=_0x20ba82[_0x2110aa(0x14c)][_0x4cd95e])==null||(_0x10e59d=_0x10e59d[_0x2110aa(0x3b2)])==null?void 0x0:_0x10e59d[_0x5dc9d4])??null;}function _0x2d5426(_0x4a1e92,_0x53f437,_0x2d0894){const _0x56b718=_0x17666d;var _0x3a486e;let _0x49558f=_0x19f477(_0x4a1e92,_0x53f437,_0x2d0894);if(_0x49558f&&Object[_0x56b718(0x44a)]['hasOwnProperty'][_0x56b718(0x446)](_0x49558f,'v'))return _0x49558f['v']??null;let _0x23dafc=_0x4a1e92['fields'][_0x2d0894];return _0x445436(((_0x3a486e=_0x4a1e92[_0x56b718(0x14c)][_0x53f437])==null||(_0x3a486e=_0x3a486e[_0x56b718(0x3b2)])==null?void 0x0:_0x3a486e[_0x2d0894])??null,_0x23dafc)['v']??null;}function _0x445436(_0x2ec3da,_0xe8f823){const _0x230fe1=_0x17666d;if(_0x5b114f(_0x2ec3da))return(_0xe8f823==null?void 0x0:_0xe8f823['type'])===_0x4d7b12[_0x230fe1(0x419)][_0x230fe1(0x312)]?{..._0x2ec3da,'v':'','t':_0x4d7b12[_0x230fe1(0x2f2)][_0x230fe1(0x26d)]}:_0x1b50e0(_0x2ec3da);if((_0xe8f823==null?void 0x0:_0xe8f823[_0x230fe1(0x466)])===_0x4d7b12[_0x230fe1(0x419)]['Attachment'])return{'v':'','t':_0x4d7b12[_0x230fe1(0x2f2)][_0x230fe1(0x26d)]};if(_0x1168a4(_0xe8f823))return{'v':_0x5791fb(_0x2ec3da)[_0x230fe1(0x1ef)](',\x20'),'t':_0x4d7b12[_0x230fe1(0x2f2)][_0x230fe1(0x26d)]};if((_0xe8f823==null?void 0x0:_0xe8f823['type'])===_0x4d7b12[_0x230fe1(0x419)]['Link']&&_0x2ec3da&&typeof _0x2ec3da==_0x230fe1(0x297)&&!Array[_0x230fe1(0x46e)](_0x2ec3da)){let _0x43fb35=_0x2ec3da;return{'v':String(_0x43fb35[_0x230fe1(0x146)]??_0x43fb35['url']??''),'t':_0x4d7b12[_0x230fe1(0x2f2)][_0x230fe1(0x26d)]};}return _0x2ec3da===null||typeof _0x2ec3da==_0x230fe1(0x3af)||typeof _0x2ec3da==_0x230fe1(0x2c1)||typeof _0x2ec3da==_0x230fe1(0x217)?{'v':_0x2ec3da,'t':_0x5edf18(_0x2ec3da)}:{'v':null,'t':null};}function _0x1b50e0(_0x56e5a5){let _0x50d345=_0x294e25(_0x56e5a5['t'],_0x56e5a5['v']);if(_0x50d345===void 0x0){let {t:_0x46bdd8,..._0x11c258}=_0x56e5a5;return _0x11c258;}return{..._0x56e5a5,'t':_0x50d345};}function _0xca1f9d(_0x6344f8,_0x420318,_0x5317c6,_0x34456e){const _0x3964e1=_0x17666d;if(!_0x6344f8)return null;if((_0x420318==null?void 0x0:_0x420318[_0x3964e1(0x466)])===_0x4d7b12[_0x3964e1(0x419)]['Attachment'])return _0x5317c6&&_0x34456e?_0x1d1a91(_0x5317c6,_0x34456e,_0x420318['id'])??[]:[];if(_0x1168a4(_0x420318))return _0x5791fb(_0x6344f8['v']);if((_0x420318==null?void 0x0:_0x420318[_0x3964e1(0x466)])===_0x4d7b12[_0x3964e1(0x419)][_0x3964e1(0x85)]&&_0x5317c6&&_0x34456e){var _0x2d8202;let _0x341465=(_0x2d8202=_0x5317c6[_0x3964e1(0x14c)][_0x34456e])==null||(_0x2d8202=_0x2d8202[_0x3964e1(0x3b2)])==null?void 0x0:_0x2d8202[_0x420318['id']];if(_0x341465&&typeof _0x341465==_0x3964e1(0x297)&&!Array['isArray'](_0x341465))return _0x341465;}return Object['prototype'][_0x3964e1(0x3d1)][_0x3964e1(0x446)](_0x6344f8,'v')?_0x6344f8['v']??null:null;}function _0x1f5abe(_0x18b4fa,_0x103219,_0x54b1b4,_0x58f12b,_0x426a8b){const _0x1b20f7=_0x17666d;return(_0x54b1b4==null?void 0x0:_0x54b1b4[_0x1b20f7(0x466)])===_0x4d7b12[_0x1b20f7(0x419)][_0x1b20f7(0x312)]?_0x395d05(_0x18b4fa):_0x1168a4(_0x54b1b4)?_0x5791fb(_0x18b4fa):(_0x54b1b4==null?void 0x0:_0x54b1b4[_0x1b20f7(0x466)])===_0x4d7b12[_0x1b20f7(0x419)]['Link']&&_0x18b4fa&&typeof _0x18b4fa=='object'&&!Array[_0x1b20f7(0x46e)](_0x18b4fa)&&!_0x5b114f(_0x18b4fa)?_0x18b4fa:_0xca1f9d(_0x103219,_0x54b1b4,_0x58f12b,_0x426a8b);}function _0x5b114f(_0x5dc8e4){const _0x4701ff=_0x17666d;return!!_0x5dc8e4&&typeof _0x5dc8e4==_0x4701ff(0x297)&&(Object['prototype']['hasOwnProperty'][_0x4701ff(0x446)](_0x5dc8e4,'v')||Object[_0x4701ff(0x44a)]['hasOwnProperty'][_0x4701ff(0x446)](_0x5dc8e4,'t')||Object[_0x4701ff(0x44a)][_0x4701ff(0x3d1)][_0x4701ff(0x446)](_0x5dc8e4,'p')||Object['prototype'][_0x4701ff(0x3d1)]['call'](_0x5dc8e4,'f')||Object[_0x4701ff(0x44a)]['hasOwnProperty'][_0x4701ff(0x446)](_0x5dc8e4,'si'));}function _0x30d8b3(_0x2fa800,_0x24aea0){return _0x2fa800+'\x1f'+_0x24aea0;}function _0x65b0f0(_0x27112e,_0x3196fb,_0x3f4b40,_0x374e2e){const _0x216ac6=_0x17666d;let _0x2d3099=_0x395d05(_0x374e2e);_0x27112e[_0x216ac6(0x171)]={..._0x27112e[_0x216ac6(0x171)]??{}},_0x27112e[_0x216ac6(0x171)][_0x216ac6(0xf4)]={..._0x27112e[_0x216ac6(0x171)][_0x216ac6(0xf4)]??{}},_0x27112e[_0x216ac6(0x171)][_0x216ac6(0x24d)]={..._0x27112e[_0x216ac6(0x171)][_0x216ac6(0x24d)]??{}};let _0x1255f3=_0x30d8b3(_0x3f4b40,_0x3196fb),_0x2ec6b7=[];for(let _0x8ca5ca=0x0;_0x8ca5ca<_0x2d3099[_0x216ac6(0x278)];_0x8ca5ca++){if(!(_0x8ca5ca in _0x2d3099))continue;let _0x1292e8=_0x2d3099[_0x8ca5ca],_0xc3c685=String(_0x1292e8['id']??_0x1255f3+'\x1f'+_0x8ca5ca),_0x2b8a8f={..._0x1292e8,'id':_0xc3c685};_0x27112e[_0x216ac6(0x171)]['attachments'][_0xc3c685]=_0x2b8a8f,_0x2ec6b7[_0x216ac6(0x112)](_0xc3c685);}_0x27112e[_0x216ac6(0x171)][_0x216ac6(0xf4)][_0x1255f3]=_0x2ec6b7;}function _0x1d1a91(_0xdbf4f7,_0x4b8b01,_0x5c8bf0){const _0x5eccef=_0x17666d;var _0x1842b4;let _0x30ce65=_0x30d8b3(_0x5c8bf0,_0x4b8b01),_0x2b9422=(_0x1842b4=_0xdbf4f7[_0x5eccef(0x171)])==null||(_0x1842b4=_0x1842b4[_0x5eccef(0xf4)])==null?void 0x0:_0x1842b4[_0x30ce65];if(!_0x2b9422)return null;let _0x1a64c2=[];for(let _0x42dab3=0x0;_0x42dab3<_0x2b9422['length'];_0x42dab3++){var _0x7d6d77;if(!(_0x42dab3 in _0x2b9422))continue;let _0x474532=(_0x7d6d77=_0xdbf4f7[_0x5eccef(0x171)])==null||(_0x7d6d77=_0x7d6d77[_0x5eccef(0x24d)])==null?void 0x0:_0x7d6d77[_0x2b9422[_0x42dab3]];_0x474532&&_0x1a64c2[_0x5eccef(0x112)]({..._0x474532});}return _0x1a64c2;}function _0x395d05(_0x5c8787){const _0xee33f5=_0x17666d;if(_0x5c8787==null||_0x5c8787===''||_0x5b114f(_0x5c8787)&&!('id'in _0x5c8787)&&!(_0xee33f5(0x208)in _0x5c8787))return[];let _0x222396=Array[_0xee33f5(0x46e)](_0x5c8787)?_0x5c8787:[_0x5c8787],_0x22824d=[];for(let _0x5ac1f5=0x0;_0x5ac1f5<_0x222396[_0xee33f5(0x278)];_0x5ac1f5++){if(!(_0x5ac1f5 in _0x222396))continue;let _0x3f027f=_0x222396[_0x5ac1f5],_0x3108e9=_0x3f027f&&typeof _0x3f027f==_0xee33f5(0x297)?{..._0x3f027f}:{'id':_0xee33f5(0x248)+_0x5ac1f5,'name':String(_0x3f027f)};Object[_0xee33f5(0x3d7)](_0x3108e9)['length']>0x0&&_0x22824d[_0xee33f5(0x112)](_0x3108e9);}return _0x22824d;}function _0x4c3807(_0x21cd98,_0x1b2188){const _0x3cea07=_0x17666d;return(_0x1b2188==null?void 0x0:_0x1b2188[_0x3cea07(0x466)])===_0x4d7b12[_0x3cea07(0x419)][_0x3cea07(0x312)]?_0x395d05(_0x21cd98):_0x1168a4(_0x1b2188)?_0x5791fb(_0x21cd98):_0x21cd98;}function _0x3f12bb(_0x19a79b,_0xf905b9,_0x4ef38b){const _0x7a5c3a=_0x17666d;return(_0xf905b9==null?void 0x0:_0xf905b9[_0x7a5c3a(0x466)])===_0x4d7b12[_0x7a5c3a(0x419)]['Attachment']?_0x19a79b['v']!=='':_0x1168a4(_0xf905b9)?Array['isArray'](_0x4ef38b)&&(_0x19a79b['v']==null||_0x19a79b['v']===''):!0x1;}function _0x1168a4(_0x5df2be){const _0x2d95c9=_0x17666d;return(_0x5df2be==null?void 0x0:_0x5df2be[_0x2d95c9(0x466)])===_0x4d7b12[_0x2d95c9(0x419)]['MultiSelect']||(_0x5df2be==null?void 0x0:_0x5df2be[_0x2d95c9(0x466)])===_0x4d7b12[_0x2d95c9(0x419)][_0x2d95c9(0x92)]||(_0x5df2be==null?void 0x0:_0x5df2be[_0x2d95c9(0x466)])===_0x4d7b12[_0x2d95c9(0x419)][_0x2d95c9(0x41c)];}function _0x5791fb(_0x171506){const _0x3e6aaf=_0x17666d;if(_0x171506==null||_0x171506==='')return[];let _0x57b872=[];if(Array[_0x3e6aaf(0x46e)](_0x171506)){for(let _0x37eca5=0x0;_0x37eca5<_0x171506[_0x3e6aaf(0x278)];_0x37eca5++){if(!(_0x37eca5 in _0x171506))continue;let _0x707dcb=_0x1b5d81(_0x171506[_0x37eca5]);_0x707dcb&&_0x57b872['push'](_0x707dcb);}return _0x57b872;}for(let _0x848354 of String(_0x171506)['split'](',')){let _0x2a763d=_0x848354[_0x3e6aaf(0x11d)]();_0x2a763d&&_0x57b872[_0x3e6aaf(0x112)](_0x2a763d);}return _0x57b872;}function _0x1b5d81(_0x5b2c45){const _0x37574a=_0x17666d;if(_0x5b2c45==null)return'';if(typeof _0x5b2c45=='string'||typeof _0x5b2c45==_0x37574a(0x2c1)||typeof _0x5b2c45==_0x37574a(0x217))return String(_0x5b2c45);if(typeof _0x5b2c45==_0x37574a(0x297)){let _0x33003d=_0x5b2c45;return String(_0x33003d['id']??_0x33003d['name']??_0x33003d[_0x37574a(0x146)]??'');}return String(_0x5b2c45);}function _0x5edf18(_0x3d94c7){const _0x56e48c=_0x17666d;return _0x3d94c7==null?null:typeof _0x3d94c7==_0x56e48c(0x2c1)?_0x4d7b12[_0x56e48c(0x2f2)][_0x56e48c(0x306)]:typeof _0x3d94c7==_0x56e48c(0x217)?_0x4d7b12[_0x56e48c(0x2f2)]['BOOLEAN']:_0x4d7b12[_0x56e48c(0x2f2)][_0x56e48c(0x26d)];}function _0x5913e0(_0x587499){const _0x1d61ad=_0x17666d;_0x587499[_0x1d61ad(0x3bb)]((_0x98e1a8,_0x3acefe)=>_0x98e1a8['orderKey'][_0x1d61ad(0x31b)](_0x3acefe['orderKey']));let _0x53d455=[];for(let _0x1a5b5c of _0x587499)_0x53d455[_0x1d61ad(0x112)](_0x1a5b5c['id']);return _0x53d455;}function _0x294e25(_0x1a5555,_0x292939){const _0x2d3878=_0x17666d;return _0x1a5555===_0x4d7b12[_0x2d3878(0x2f2)][_0x2d3878(0x26d)]||_0x1a5555===_0x4d7b12[_0x2d3878(0x2f2)]['NUMBER']||_0x1a5555===_0x4d7b12['CellValueType']['BOOLEAN']||_0x1a5555===_0x4d7b12[_0x2d3878(0x2f2)][_0x2d3878(0x152)]||_0x1a5555==null?_0x1a5555:_0x5edf18(_0x292939??null);}function _0x2c91fd(_0xcbc9b8){const _0x3cfefe=_0x17666d;let _0x517bb3=null;for(let _0xeb7ad7 of _0xcbc9b8)_0x517bb3=_0x517bb3===null?_0xeb7ad7:_0x4d7b12[_0x3cfefe(0xa0)][_0x3cfefe(0x466)][_0x3cfefe(0x1e6)](_0x517bb3,_0xeb7ad7);return _0x517bb3;}var _0x51bfae=class _0x2ae4d5{static[_0x17666d(0xcf)](_0x57aa03,_0x18b70b){const _0x5a3b6d=_0x17666d;let _0x2cd36d=[];for(let _0x3ed16e of _0x18b70b){let _0x46107e=_0x3b665c(_0x3ed16e);if(!_0x46107e||_0x46107e[_0x5a3b6d(0x44c)]!==_0x57aa03['id'])return null;_0x2cd36d[_0x5a3b6d(0x112)](_0x46107e['op']);}try{let _0x3dd628=_0x2c91fd(_0x2cd36d);return _0x3dd628===null?_0x57aa03:new _0x2ae4d5()[_0x5a3b6d(0x344)](_0x57aa03,_0x3dd628);}catch{return null;}}[_0x17666d(0x344)](_0xb535be,_0x204352){const _0x116373=_0x17666d;let _0x1c3217=this[_0x116373(0x43b)](_0x204352),_0x3f0fe2=_0x1b2201(_0x116373(0x1a6),()=>_0x1d7edf(_0xb535be,_0x204352),{'invalidations':_0x1c3217[_0x116373(0x278)]}),_0x3678b1=_0x1b2201('BaseJson1.json1Apply',()=>_0x4d7b12[_0x116373(0xa0)][_0x116373(0x466)][_0x116373(0x14e)](_0x3f0fe2,_0x204352),{'invalidations':_0x1c3217[_0x116373(0x278)]});return _0x1b2201('BaseJson1.syncCellInvalidations',()=>_0x45717a(_0x3678b1,_0x1c3217),{'invalidations':_0x1c3217['length']})||_0x1b2201('BaseJson1.normalizeTables',()=>{const _0x454edc=_0x116373;this['_getTablesToNormalize'](_0x3678b1,_0x1c3217)[_0x454edc(0x3cc)](_0x402867=>{_0x55f164(_0x402867);});},{'invalidations':_0x1c3217[_0x116373(0x278)]}),_0x3678b1;}[_0x17666d(0x386)](_0xf5bc2d,_0x3ad2ad){const _0x468bbe=_0x17666d;return _0x4d7b12[_0x468bbe(0xa0)][_0x468bbe(0x466)][_0x468bbe(0x204)](_0x3ad2ad,_0xf5bc2d);}['getAffectedRanges'](_0x2c3360){const _0x355429=_0x17666d;let _0x2391ff=_0x42f5ae(_0x2c3360);return _0x2391ff[_0x355429(0x278)]?_0x4054b7(_0x2391ff[_0x355429(0x2b8)](_0x394625=>this[_0x355429(0x43b)](_0x394625))):_0x470bbe(_0x2c3360);}['_getTablesToNormalize'](_0x46cd15,_0x1f5259){const _0x15f1ac=_0x17666d;return _0x1f5259['length']?_0x1f5259['some'](_0x55d809=>!_0x55d809['tableId'])?Object['values'](_0x46cd15['tables']??{}):Array['from'](new Set(_0x1f5259[_0x15f1ac(0xd9)](_0x4c8bc9=>_0x4c8bc9[_0x15f1ac(0x10c)])))['flatMap'](_0x3d6484=>{const _0x48c04b=_0x15f1ac;var _0x107dbb;let _0x2dd11b=(_0x107dbb=_0x46cd15[_0x48c04b(0x334)])==null?void 0x0:_0x107dbb[_0x3d6484];return _0x2dd11b?[_0x2dd11b]:[];}):[];}};function _0x3b665c(_0x372a13){const _0xd19efe=_0x17666d;let _0x293046=_0x372a13[_0xd19efe(0x133)];return _0x372a13['id']!==_0xd19efe(0x2b6)||typeof _0x293046!=_0xd19efe(0x297)||!_0x293046||!(_0xd19efe(0x44c)in _0x293046)||typeof _0x293046[_0xd19efe(0x44c)]!=_0xd19efe(0x3af)||!('op'in _0x293046)||!Array[_0xd19efe(0x46e)](_0x293046['op'])?null:{'unitId':_0x293046[_0xd19efe(0x44c)],'op':_0x293046['op']};}function _0x45717a(_0x45cec9,_0x2ebd26){const _0x3c6fb7=_0x17666d;if(!_0x2ebd26['length']||_0x2ebd26['some'](_0x46c718=>_0x46c718[_0x3c6fb7(0x44e)]!==_0x3c6fb7(0x2cb)))return!0x1;let _0x5375d6=new Map();for(let _0x3e7d67 of _0x2ebd26){if(!_0x3e7d67[_0x3c6fb7(0x10c)]||_0x3e7d67[_0x3c6fb7(0x1b3)]==null||_0x3e7d67[_0x3c6fb7(0x46f)]==null)continue;let _0x39a4a6=_0x5375d6[_0x3c6fb7(0x9f)](_0x3e7d67['tableId'])??[];_0x39a4a6['push']({'row':_0x3e7d67['row'],'col':_0x3e7d67[_0x3c6fb7(0x46f)]}),_0x5375d6[_0x3c6fb7(0x12c)](_0x3e7d67[_0x3c6fb7(0x10c)],_0x39a4a6);}return _0x5375d6[_0x3c6fb7(0x3cc)]((_0x2e7830,_0x2dd7ef)=>{const _0x5223bf=_0x3c6fb7;var _0x3e23c0;let _0x1f6dc1=(_0x3e23c0=_0x45cec9[_0x5223bf(0x334)])==null?void 0x0:_0x3e23c0[_0x2dd7ef];_0x1f6dc1&&_0x3aaed2(_0x1f6dc1,_0x2e7830);}),!0x0;}function _0x470bbe(_0x341bc0){const _0x50000f=_0x17666d;if(!Array[_0x50000f(0x46e)](_0x341bc0)||_0x341bc0[_0x50000f(0x278)]<0x2)return[{'tableId':'','reason':_0x50000f(0x383)}];let _0x4d231c=_0x341bc0,_0x1f2e1f=_0x4d231c[_0x50000f(0x211)](_0x50000f(0x334));return _0x1f2e1f===-0x1||typeof _0x4d231c[_0x1f2e1f+0x1]!=_0x50000f(0x3af)?_0x4d231c[0x0]==='tableOrder'?[]:[{'tableId':'','reason':_0x50000f(0x383)}]:_0x3aa656(_0x4d231c,_0x1f2e1f,String(_0x4d231c[_0x1f2e1f+0x1]));}function _0x3aa656(_0x5adecc,_0x4552bf,_0x3cde69){const _0x13a985=_0x17666d;let _0x5c74d7=_0x5adecc[_0x4552bf+0x2];return _0x5c74d7===_0x13a985(0x14c)&&typeof _0x5adecc[_0x4552bf+0x3]==_0x13a985(0x3af)?_0x28f3ec(_0x5adecc,_0x4552bf,_0x3cde69,String(_0x5adecc[_0x4552bf+0x3])):_0x5c74d7==='cellData'&&_0x5adecc[_0x4552bf+0x3]!=null&&_0x5adecc[_0x4552bf+0x4]!=null?[{'tableId':_0x3cde69,'reason':_0x13a985(0x2cb),'row':Number(_0x5adecc[_0x4552bf+0x3]),'column':Number(_0x5adecc[_0x4552bf+0x4])}]:_0x5c74d7===_0x13a985(0x129)&&typeof _0x5adecc[_0x4552bf+0x3]=='string'?[{'tableId':_0x3cde69,'reason':_0x13a985(0x38f),'fieldId':String(_0x5adecc[_0x4552bf+0x3])}]:_0x5c74d7==='views'&&typeof _0x5adecc[_0x4552bf+0x3]==_0x13a985(0x3af)?[{'tableId':_0x3cde69,'reason':_0x13a985(0x365),'viewId':String(_0x5adecc[_0x4552bf+0x3])}]:[{'tableId':_0x3cde69,'reason':_0x5c74d7===void 0x0?_0x13a985(0x39f):'unknown'}];}function _0x28f3ec(_0x414379,_0x25f29e,_0x5339db,_0x21f217){const _0x4c292b=_0x17666d;return _0x414379[_0x25f29e+0x4]===_0x4c292b(0x3b2)&&typeof _0x414379[_0x25f29e+0x5]=='string'?[{'tableId':_0x5339db,'reason':_0x4c292b(0x2cb),'recordId':_0x21f217,'fieldId':String(_0x414379[_0x25f29e+0x5])}]:_0x414379[_0x25f29e+0x4]===_0x4c292b(0x2b0)||_0x414379[_0x25f29e+0x4]===_0x4c292b(0x163)?[]:[{'tableId':_0x5339db,'reason':_0x4c292b(0x463),'recordId':_0x21f217}];}function _0x42f5ae(_0x35c28e){const _0x1d10e0=_0x17666d;if(!Array[_0x1d10e0(0x46e)](_0x35c28e))return[];let _0x90c6e8=_0x35c28e[_0x1d10e0(0x425)](Array['isArray']);if(_0x90c6e8[_0x1d10e0(0x278)]>0x1&&_0x90c6e8[_0x1d10e0(0x278)]===_0x35c28e[_0x1d10e0(0x278)])return _0x90c6e8;let _0x3e4aef=_0x35c28e[_0x1d10e0(0xea)](Array[_0x1d10e0(0x46e)]);if(_0x3e4aef>0x0&&_0x35c28e[_0x1d10e0(0x3fc)](_0x3e4aef)[_0x1d10e0(0x178)](Array[_0x1d10e0(0x46e)])){let _0x449d95=_0x35c28e[_0x1d10e0(0x3fc)](0x0,_0x3e4aef);return _0x35c28e['slice'](_0x3e4aef)[_0x1d10e0(0xd9)](_0x2398e8=>[..._0x449d95,..._0x2398e8]);}let _0x209fe5=_0x35c28e['indexOf'](_0x1d10e0(0x334));if(_0x209fe5===-0x1||typeof _0x35c28e[_0x209fe5+0x1]!=_0x1d10e0(0x3af))return[];let _0x483564=String(_0x35c28e[_0x209fe5+0x1]),_0x558abe=_0x35c28e[_0x1d10e0(0x3fc)](_0x209fe5+0x2)[_0x1d10e0(0x425)](Array['isArray']);return _0x558abe['length']<=0x1?[]:_0x558abe[_0x1d10e0(0xd9)](_0x292461=>[_0x1d10e0(0x334),_0x483564,..._0x292461]);}function _0x4054b7(_0x293a9f){const _0x1fe249=_0x17666d;let _0x2729b4=new Set();return _0x293a9f[_0x1fe249(0x425)](_0x2e2b23=>{const _0x52b1a9=_0x1fe249;let _0x1fb76b=JSON[_0x52b1a9(0x33d)](_0x2e2b23);return _0x2729b4[_0x52b1a9(0x1eb)](_0x1fb76b)?!0x1:(_0x2729b4[_0x52b1a9(0x3a1)](_0x1fb76b),!0x0);});}function _0x5830c4(_0x7893e9){const _0x21ce9d=_0x17666d;return _0x4d7b12[_0x21ce9d(0x1ea)]['deepClone'](_0x7893e9);}function _0x1d7edf(_0x404203,_0x487bac){const _0x5e8ce5=_0x17666d;let _0x127f4f=_0x3bea31(_0x487bac);if(!_0x127f4f[_0x5e8ce5(0x278)])return _0x5830c4(_0x404203);let _0x67ad81=_0x175d43(_0x404203),_0x5c1bc9=new Set();for(let _0x44b4f5 of _0x127f4f)_0x5e7d30(_0x67ad81,_0x44b4f5,_0x5c1bc9);return _0x67ad81;}function _0x3bea31(_0x4e5b6f){let _0x52f21a=[];return _0x55daec(_0x4e5b6f,[],_0x52f21a),_0x52f21a;}function _0x55daec(_0x3a490e,_0x360552,_0x16ff24){const _0x99be66=_0x17666d;if(!Array[_0x99be66(0x46e)](_0x3a490e))return;let _0x5d899d=[];for(let _0x311e07 of _0x3a490e){if(Array[_0x99be66(0x46e)](_0x311e07)){_0x55daec(_0x311e07,[..._0x360552,..._0x5d899d],_0x16ff24);continue;}if(_0x13a76d(_0x311e07)){_0x16ff24[_0x99be66(0x112)]([..._0x360552,..._0x5d899d]);continue;}(typeof _0x311e07==_0x99be66(0x3af)||typeof _0x311e07==_0x99be66(0x2c1))&&_0x5d899d[_0x99be66(0x112)](_0x311e07);}}function _0x13a76d(_0xe92114){const _0x1eeaab=_0x17666d;if(!_0xe92114||typeof _0xe92114!=_0x1eeaab(0x297)||Array[_0x1eeaab(0x46e)](_0xe92114))return!0x1;let _0x40612f=_0xe92114;return'i'in _0x40612f||'r'in _0x40612f||'p'in _0x40612f||'d'in _0x40612f||'es'in _0x40612f||'ena'in _0x40612f||'et'in _0x40612f;}function _0x5e7d30(_0x1b95a0,_0x4798c9,_0x352a65){const _0x36b4e1=_0x17666d;let _0x7b7b6=_0x1b95a0,_0x2c1202=[];for(let _0x23b55c=0x0;_0x23b55c<_0x4798c9[_0x36b4e1(0x278)]-0x1;_0x23b55c++){let _0x5ef285=_0x4798c9[_0x23b55c];_0x2c1202[_0x36b4e1(0x112)](_0x5ef285);let _0x2b81f0=_0x99efbc(_0x7b7b6,_0x5ef285);if(!_0xae2227(_0x2b81f0))return;let _0x406c5f=JSON['stringify'](_0x2c1202);_0x352a65['has'](_0x406c5f)||(_0x56d42d(_0x7b7b6,_0x5ef285,_0x175d43(_0x2b81f0)),_0x352a65['add'](_0x406c5f));let _0xffcc7=_0x99efbc(_0x7b7b6,_0x5ef285);if(!_0xae2227(_0xffcc7))return;_0x7b7b6=_0xffcc7;}}function _0x99efbc(_0x3d60a2,_0x3cb0d6){const _0x228de2=_0x17666d;return Array[_0x228de2(0x46e)](_0x3d60a2)?typeof _0x3cb0d6==_0x228de2(0x2c1)?_0x3d60a2[_0x3cb0d6]:void 0x0:Reflect[_0x228de2(0x9f)](_0x3d60a2,_0x3cb0d6);}function _0x56d42d(_0x46f153,_0x475ee3,_0x40ae6b){const _0x596003=_0x17666d;if(Array[_0x596003(0x46e)](_0x46f153)){typeof _0x475ee3==_0x596003(0x2c1)&&(_0x46f153[_0x475ee3]=_0x40ae6b);return;}Reflect[_0x596003(0x12c)](_0x46f153,_0x475ee3,_0x40ae6b);}function _0xae2227(_0x21d04a){return!!_0x21d04a&&typeof _0x21d04a=='object';}function _0x175d43(_0x15cffb){const _0x1613d6=_0x17666d;return Array[_0x1613d6(0x46e)](_0x15cffb)?_0x15cffb[_0x1613d6(0x3fc)]():{..._0x15cffb};}let _0x1f4680=0x5a0*0x3c*0x3e8,_0x429d7e=0x63e1,_0x2629a2=_0x17666d(0x3c4),_0x3fa188=/\s+hh:mm\s*$/i,_0x4ce874={'yyyy/mm/dd':_0x17666d(0x313),'yyyy-mm-dd':_0x17666d(0x1bd),'mm-dd':'MM-DD','mm/dd/yyyy':'MM/DD/YYYY','dd/mm/yyyy':_0x17666d(0x3b4),'mmm\x20d,\x20yyyy':'MMM\x20D,\x20YYYY'};function _0x42237b(_0x59832e){const _0x89921f=_0x17666d;return(0x0,_0x4d7b12['dateKit'])(_0x59832e)[_0x89921f(0x1df)]()/_0x1f4680+_0x429d7e;}function _0xf603d9(_0x3874fc){const _0x1bb8a4=_0x17666d;return Math[_0x1bb8a4(0x2e3)]((_0x3874fc-_0x429d7e)*_0x1f4680);}function _0x2a15b4(_0x3f0673){const _0x1cbc9a=_0x17666d;if(_0x3f0673==null||_0x3f0673==='')return null;if(_0x3f0673 instanceof Date)return _0x42237b(_0x3f0673);if(typeof _0x3f0673==_0x1cbc9a(0x2c1))return Number[_0x1cbc9a(0x1c5)](_0x3f0673)?_0x3f0673>0xf4240?_0x42237b(_0x3f0673):_0x3f0673:null;let _0x1a27bb=Date[_0x1cbc9a(0x472)](String(_0x3f0673));return Number['isNaN'](_0x1a27bb)?null:_0x42237b(_0x1a27bb);}function _0x23458d(_0x5c1899){let _0x332379=_0x2a15b4(_0x5c1899);return _0x332379==null?null:_0xf603d9(_0x332379);}function _0x13037a(_0xc204f4={}){const _0x451cd2=_0x17666d;let _0xc930de=String(_0xc204f4['pattern']??_0xc204f4[_0x451cd2(0x3e1)]??_0xc204f4[_0x451cd2(0x17a)]??_0x2629a2)[_0x451cd2(0x11d)]()||_0x2629a2,_0x56358a=_0x3fa188[_0x451cd2(0x445)](_0xc930de);return{'pattern':_0xc930de['replace'](_0x3fa188,'')||_0x2629a2,'includeTime':typeof _0xc204f4['includeTime']==_0x451cd2(0x217)?_0xc204f4[_0x451cd2(0x290)]:_0x56358a,'hourCycle':_0xc204f4[_0x451cd2(0x1f4)]===_0x451cd2(0x42a)?_0x451cd2(0x42a):_0x451cd2(0x262)};}function _0x453924(_0xc5f70a={}){let {format:_0x4586eb,dateFormat:_0x143920,..._0x3c420}=_0xc5f70a;return{..._0x3c420,..._0x13037a(_0xc5f70a)};}function _0x2e1927(_0x5372fd,_0x2a3150={}){const _0x371d14=_0x17666d;let _0x1fc786=_0x23458d(_0x5372fd);if(_0x1fc786==null||!Number['isFinite'](_0x1fc786))return'';let _0xe4d5db=_0x13037a(_0x2a3150);return(0x0,_0x4d7b12[_0x371d14(0x131)])(_0x1fc786)['format'](_0x2c5681(_0xe4d5db));}function _0x2c5681(_0x2a09c3){const _0x29fed9=_0x17666d;let {pattern:_0x5f37ed,includeTime:_0x56e58a,hourCycle:_0xf9eba8}=_0x2a09c3,_0x574295=_0x4ce874[_0x5f37ed]??_0x4ce874[_0x2629a2];return _0x56e58a?_0x574295+'\x20'+(_0xf9eba8==='h12'?_0x29fed9(0x1a8):_0x29fed9(0x29b)):_0x574295;}let _0x513155={'editable':!0x0,'sortable':!0x0,'filterable':!0x0,'groupable':!0x1,'usableAsKanbanGroup':!0x1,'usableAsCalendarDate':!0x1,'usableAsGanttStart':!0x1,'usableAsGanttEnd':!0x1,'usableAsGanttProgress':!0x1,'usableAsCardCover':!0x1,'usableAsTitle':!0x1},_0x150e1c=new Set([_0x4d7b12[_0x17666d(0x419)][_0x17666d(0x266)]]),_0x331616=0x5a0*0x3c*0x3e8;function _0x74742f(_0x32647e){const _0x4fd8ac=_0x17666d;switch(_0x32647e){case _0x4d7b12[_0x4fd8ac(0x419)][_0x4fd8ac(0x34f)]:case _0x4d7b12[_0x4fd8ac(0x419)][_0x4fd8ac(0x1fe)]:case _0x4d7b12['BaseFieldType'][_0x4fd8ac(0x1d8)]:case _0x4d7b12['BaseFieldType']['Rating']:return[_0x4d7b12[_0x4fd8ac(0x377)]['IS'],_0x4d7b12[_0x4fd8ac(0x377)][_0x4fd8ac(0x10a)],_0x4d7b12[_0x4fd8ac(0x377)][_0x4fd8ac(0x1cc)],_0x4d7b12[_0x4fd8ac(0x377)][_0x4fd8ac(0x392)],_0x4d7b12[_0x4fd8ac(0x377)][_0x4fd8ac(0x3d0)],_0x4d7b12[_0x4fd8ac(0x377)][_0x4fd8ac(0x2df)]];case _0x4d7b12[_0x4fd8ac(0x419)]['Date']:case _0x4d7b12[_0x4fd8ac(0x419)][_0x4fd8ac(0x1a0)]:case _0x4d7b12[_0x4fd8ac(0x419)][_0x4fd8ac(0x2e7)]:return[_0x4d7b12[_0x4fd8ac(0x377)]['IS'],_0x4d7b12[_0x4fd8ac(0x377)][_0x4fd8ac(0x10a)],_0x4d7b12[_0x4fd8ac(0x377)][_0x4fd8ac(0x30b)],_0x4d7b12[_0x4fd8ac(0x377)][_0x4fd8ac(0x3a7)],_0x4d7b12['BaseConditionalColorOperator']['IS_EMPTY'],_0x4d7b12['BaseConditionalColorOperator'][_0x4fd8ac(0x2df)]];case _0x4d7b12['BaseFieldType'][_0x4fd8ac(0x317)]:return[_0x4d7b12[_0x4fd8ac(0x377)]['IS'],_0x4d7b12[_0x4fd8ac(0x377)]['IS_NOT']];default:return[_0x4d7b12['BaseConditionalColorOperator']['IS'],_0x4d7b12[_0x4fd8ac(0x377)][_0x4fd8ac(0x10a)],_0x4d7b12[_0x4fd8ac(0x377)][_0x4fd8ac(0x341)],_0x4d7b12[_0x4fd8ac(0x377)][_0x4fd8ac(0x2ae)],_0x4d7b12['BaseConditionalColorOperator'][_0x4fd8ac(0x3d0)],_0x4d7b12[_0x4fd8ac(0x377)][_0x4fd8ac(0x2df)]];}}function _0x351a01(_0x3929c0){const _0xf0e07f=_0x17666d;return _0x3929c0===_0x4d7b12[_0xf0e07f(0x419)][_0xf0e07f(0x32c)]||_0x3929c0===_0x4d7b12['BaseFieldType']['CreatedAt']||_0x3929c0===_0x4d7b12[_0xf0e07f(0x419)][_0xf0e07f(0x2e7)];}function _0x5e54a0(_0x20a0b8,_0x56a67a){const _0x24c5d3=_0x17666d;return _0x20a0b8==null&&_0x56a67a==null?0x0:_0x20a0b8==null?-0x1:_0x56a67a==null?0x1:typeof _0x20a0b8==_0x24c5d3(0x2c1)&&typeof _0x56a67a=='number'?_0x20a0b8-_0x56a67a:String(_0x20a0b8)[_0x24c5d3(0x31b)](String(_0x56a67a));}function _0x1b2953(_0x3251b0,_0xd0bceb,_0xeb194d,_0x6e96db,_0x1284a8={}){const _0x143da2=_0x17666d;if(_0xd0bceb==='isEmpty')return _0x1f0261(_0x3251b0);if(_0xd0bceb===_0x143da2(0x267))return!_0x1f0261(_0x3251b0);switch(_0x6e96db['type']){case _0x4d7b12['BaseFieldType'][_0x143da2(0x34f)]:case _0x4d7b12['BaseFieldType'][_0x143da2(0x1fe)]:case _0x4d7b12[_0x143da2(0x419)][_0x143da2(0x1d8)]:case _0x4d7b12[_0x143da2(0x419)][_0x143da2(0x3df)]:return _0x22e2eb(_0x3251b0,_0xd0bceb,_0xeb194d);case _0x4d7b12[_0x143da2(0x419)][_0x143da2(0x32c)]:case _0x4d7b12[_0x143da2(0x419)][_0x143da2(0x1a0)]:case _0x4d7b12[_0x143da2(0x419)][_0x143da2(0x2e7)]:return _0x36ca26(_0x3251b0,_0xd0bceb,_0xeb194d,_0x1284a8);case _0x4d7b12[_0x143da2(0x419)]['Checkbox']:return _0x415bcc(_0x3251b0,_0xd0bceb,_0xeb194d);case _0x4d7b12[_0x143da2(0x419)][_0x143da2(0x191)]:case _0x4d7b12[_0x143da2(0x419)][_0x143da2(0x1a7)]:case _0x4d7b12[_0x143da2(0x419)][_0x143da2(0x92)]:case _0x4d7b12['BaseFieldType']['Group']:return _0x310539(_0x3251b0,_0xd0bceb,_0xeb194d,_0x6e96db);default:return _0x568999(_0x3251b0,_0xd0bceb,_0xeb194d);}}function _0x1f0261(_0x3a8073){const _0xe5cc9f=_0x17666d;return _0x3a8073==null?!0x0:Array[_0xe5cc9f(0x46e)](_0x3a8073)?_0x3a8073[_0xe5cc9f(0x278)]===0x0:typeof _0x3a8073==_0xe5cc9f(0x3af)&&_0x3a8073[_0xe5cc9f(0x11d)]()==='';}function _0x22e2eb(_0x671817,_0x983c7d,_0x5c3a7d){const _0x6aaa55=_0x17666d;let _0x589c6a=_0x6af3c(_0x671817),_0x15cd8d=_0x6af3c(_0x5c3a7d);if(_0x589c6a==null||_0x15cd8d==null)return!0x1;switch(_0x983c7d){case'is':return _0x589c6a===_0x15cd8d;case _0x6aaa55(0x294):return _0x589c6a!==_0x15cd8d;case _0x6aaa55(0x82):return _0x589c6a>_0x15cd8d;case _0x6aaa55(0x3b5):return _0x589c6a>=_0x15cd8d;case _0x6aaa55(0x1fc):return _0x589c6a<_0x15cd8d;case _0x6aaa55(0x32a):return _0x589c6a<=_0x15cd8d;default:return!0x1;}}function _0x6af3c(_0x2b6787){const _0x40bc1c=_0x17666d;if(_0x2b6787==null||_0x2b6787==='')return null;let _0x37531e=Number(_0x2b6787);return Number[_0x40bc1c(0x1c5)](_0x37531e)?_0x37531e:null;}function _0x36ca26(_0x513484,_0x1f82f4,_0x202f3b,_0x293fb4){const _0x36cc72=_0x17666d;let _0x3b06bb=_0x512295(_0x513484);if(_0x3b06bb==null)return!0x1;let _0x2ed240=_0x2824dd(_0x293fb4[_0x36cc72(0x202)]??_0x36cc72(0x2e2),_0x202f3b,_0x293fb4[_0x36cc72(0x19c)]);if(!_0x2ed240)return!0x1;switch(_0x1f82f4){case'is':return _0x3b06bb>=_0x2ed240[_0x36cc72(0x3cb)]&&_0x3b06bb<=_0x2ed240[_0x36cc72(0x35e)];case _0x36cc72(0x294):return _0x3b06bb<_0x2ed240[_0x36cc72(0x3cb)]||_0x3b06bb>_0x2ed240[_0x36cc72(0x35e)];case _0x36cc72(0x2e4):return _0x3b06bb<_0x2ed240[_0x36cc72(0x3cb)];case _0x36cc72(0x285):return _0x3b06bb>_0x2ed240[_0x36cc72(0x35e)];default:return!0x1;}}function _0x2824dd(_0x4fa818,_0x35b8b7,_0x530c53=Date[_0x17666d(0x19c)]()){const _0xfecb8=_0x17666d;let _0x449ea8=_0x569389(_0x530c53);switch(_0x4fa818){case'exact':{let _0x3d5699=_0x512295(_0x35b8b7);return _0x3d5699==null?null:{'start':_0x3d5699,'end':_0x3d5699+_0x331616-0x1};}case _0xfecb8(0x40c):return{'start':_0x449ea8,'end':_0x449ea8+_0x331616-0x1};case _0xfecb8(0x390):return{'start':_0x449ea8+_0x331616,'end':_0x449ea8+_0x331616*0x2-0x1};case _0xfecb8(0x151):return{'start':_0x449ea8-_0x331616,'end':_0x449ea8-0x1};case _0xfecb8(0x3a4):return _0x1dff08(_0x449ea8,0x0);case _0xfecb8(0x2c5):return _0x1dff08(_0x449ea8,-0x1);case _0xfecb8(0x2b2):return _0xa60099(_0x449ea8,0x0);case _0xfecb8(0x117):return _0xa60099(_0x449ea8,-0x1);case _0xfecb8(0x215):return{'start':_0x449ea8-_0x331616*0x6,'end':_0x449ea8+_0x331616-0x1};case'next7':return{'start':_0x449ea8,'end':_0x449ea8+_0x331616*0x7-0x1};case _0xfecb8(0x2c2):return{'start':_0x449ea8-_0x331616*0x1d,'end':_0x449ea8+_0x331616-0x1};case _0xfecb8(0x3ed):return{'start':_0x449ea8,'end':_0x449ea8+_0x331616*0x1e-0x1};}}function _0x512295(_0x50a5c6){let _0x3e3e89=_0x2a15b4(_0x50a5c6);return _0x3e3e89==null?null:_0x569389(_0xf603d9(_0x3e3e89));}function _0x569389(_0x40dc74){const _0x9dde0c=_0x17666d;let _0x24fb52=new Date(_0x40dc74);return _0x24fb52[_0x9dde0c(0x427)](0x0,0x0,0x0,0x0),_0x24fb52[_0x9dde0c(0x27f)]();}function _0x1dff08(_0x1f0f41,_0x30d1ec){const _0x9fa9d=_0x17666d;let _0x39f921=_0x1f0f41-(new Date(_0x1f0f41)[_0x9fa9d(0x349)]()+0x6)%0x7*_0x331616+_0x30d1ec*_0x331616*0x7;return{'start':_0x39f921,'end':_0x39f921+_0x331616*0x7-0x1};}function _0xa60099(_0x12a359,_0x5d6059){const _0x6cec90=_0x17666d;let _0x7bbf1e=new Date(_0x12a359),_0x2c3726=new Date(_0x7bbf1e['getFullYear'](),_0x7bbf1e[_0x6cec90(0x3b8)]()+_0x5d6059,0x1),_0x5121b6=new Date(_0x7bbf1e[_0x6cec90(0x26e)](),_0x7bbf1e[_0x6cec90(0x3b8)]()+_0x5d6059+0x1,0x1);return{'start':_0x2c3726[_0x6cec90(0x27f)](),'end':_0x5121b6[_0x6cec90(0x27f)]()-0x1};}function _0x415bcc(_0x31da83,_0x321a66,_0x1ef350){const _0x28f4c3=_0x17666d;let _0x478931=_0x1d08a3(_0x31da83),_0x55e9f7=_0x1d08a3(_0x1ef350);switch(_0x321a66){case'is':return _0x478931===_0x55e9f7;case _0x28f4c3(0x294):return _0x478931!==_0x55e9f7;default:return!0x1;}}function _0x1d08a3(_0x3e510d){return _0x3e510d===!0x0||_0x3e510d==='true'||_0x3e510d===0x1||_0x3e510d==='1';}function _0x310539(_0x58dc2b,_0x5d6e44,_0x508a6f,_0x33c3a9){const _0x9a70a9=_0x17666d;let _0x392ea4=_0x1e4822(_0x58dc2b,_0x33c3a9),_0x4e89c8=_0x1e4822(_0x508a6f,_0x33c3a9),_0x1f53ad=_0x4e89c8['length']>0x0&&_0x4e89c8[_0x9a70a9(0x256)](_0x4c96cb=>_0x392ea4[_0x9a70a9(0x3ff)](_0x4c96cb));switch(_0x5d6e44){case'is':case _0x9a70a9(0x2f7):return _0x1f53ad;case _0x9a70a9(0x294):case'notContains':return!_0x1f53ad;default:return!0x1;}}function _0x568999(_0x77792e,_0x350051,_0xa9039e){const _0x202d65=_0x17666d;let _0xb2274e=_0xbc8208(_0x77792e),_0x5544f3=_0xbc8208(_0xa9039e);switch(_0x350051){case'is':return _0xb2274e===_0x5544f3;case _0x202d65(0x294):return _0xb2274e!==_0x5544f3;case _0x202d65(0x2f7):return _0x5544f3?_0xb2274e[_0x202d65(0x3ff)](_0x5544f3):!0x1;case'notContains':return!_0x5544f3||!_0xb2274e[_0x202d65(0x3ff)](_0x5544f3);default:return!0x1;}}function _0xbc8208(_0xb4e47a){const _0x315a01=_0x17666d;if(Array[_0x315a01(0x46e)](_0xb4e47a))return _0xb4e47a[_0x315a01(0xd9)](_0x3ddce1=>_0xbc8208(_0x3ddce1))['join']('\x0a');if(_0xb4e47a&&typeof _0xb4e47a==_0x315a01(0x297)){let _0x101fc4=_0xb4e47a;return String(_0x101fc4[_0x315a01(0x208)]??_0x101fc4[_0x315a01(0x3bc)]??_0x101fc4[_0x315a01(0x146)]??_0x101fc4[_0x315a01(0x12e)]??_0x101fc4['id']??'')['trim']()[_0x315a01(0x35a)]();}return String(_0xb4e47a??'')[_0x315a01(0x11d)]()[_0x315a01(0x35a)]();}function _0x1e4822(_0x15f862,_0x3554ff){const _0x58da3d=_0x17666d;let _0x192be4=_0x580a1f(_0x15f862),_0x5b971b=_0x12ecc1(_0x3554ff[_0x58da3d(0x39d)]??{});return _0x192be4['flatMap'](_0x4ed19c=>_0x5b971b[_0x58da3d(0x9f)](_0x4ed19c)??[_0x4ed19c])[_0x58da3d(0x425)]((_0x12ec06,_0x2691d0,_0x1a8322)=>_0x12ec06!==''&&_0x1a8322['indexOf'](_0x12ec06)===_0x2691d0);}function _0x580a1f(_0x4cfe70){const _0x1d5c54=_0x17666d;if(_0x4cfe70==null||_0x4cfe70==='')return[];if(Array[_0x1d5c54(0x46e)](_0x4cfe70))return _0x4cfe70[_0x1d5c54(0x2b8)](_0x330792=>_0x580a1f(_0x330792));if(_0x4cfe70&&typeof _0x4cfe70==_0x1d5c54(0x297)){let _0x160adf=_0x4cfe70;return['id','name',_0x1d5c54(0x3bc),'value','text'][_0x1d5c54(0x2b8)](_0x4fd913=>_0x580a1f(_0x160adf[_0x4fd913]))[_0x1d5c54(0x425)]((_0x18f274,_0x221823,_0x1c32a4)=>_0x1c32a4['indexOf'](_0x18f274)===_0x221823);}return[_0xbc8208(_0x4cfe70)];}function _0x12ecc1(_0x581d4c){const _0x432a32=_0x17666d;let _0x112038=new Map();return(Array[_0x432a32(0x46e)](_0x581d4c[_0x432a32(0x3d9)])?_0x581d4c[_0x432a32(0x3d9)]:[])[_0x432a32(0x3cc)](_0x2ce248=>{const _0x170f69=_0x432a32;if(!_0x2ce248||typeof _0x2ce248!=_0x170f69(0x297))return;let _0x1df9f9=_0x580a1f(_0x2ce248),_0x2de6e1=_0x1df9f9[_0x170f69(0x425)]((_0x1eb6a7,_0x5214ca)=>_0x1eb6a7!==''&&_0x1df9f9['indexOf'](_0x1eb6a7)===_0x5214ca);_0x2de6e1[_0x170f69(0x3cc)](_0x3f755a=>_0x112038[_0x170f69(0x12c)](_0x3f755a,_0x2de6e1));}),_0x112038;}function _0x2dfff7(_0x1ec466,_0x1111df={},_0x1f6d9d=_0x189378=>_0x189378,_0x49a825={}){const _0x520f25=_0x17666d;let _0x1ba36d=!_0x150e1c[_0x520f25(0x1eb)](_0x1ec466),_0x483a3d=_0x1f6d9d??(_0x16a384=>_0x16a384);return{'type':_0x1ec466,'i18nKey':'base.fieldType.'+_0x1ec466,'enabled':_0x1ba36d,'visibleInCreateMenu':_0x1ba36d,'createDefaultConfig':_0x49a825[_0x520f25(0x3c1)]??(()=>({})),'createDefaultValue':_0x49a825[_0x520f25(0x3dc)]??(_0x43148b=>_0x43148b[_0x520f25(0x1f0)]??null),'normalize':(_0x43cac5,_0x42210e)=>_0x483a3d(_0x43cac5,_0x42210e),'validate':(_0x35f7f4,_0x42c14d)=>{const _0x3e41ab=_0x520f25;var _0x21fd6c;return _0x1ba36d?((_0x21fd6c=_0x49a825[_0x3e41ab(0x1aa)])==null?void 0x0:_0x21fd6c[_0x3e41ab(0x446)](_0x49a825,_0x35f7f4,_0x42c14d))??{'valid':!0x0}:{'valid':!0x1};},'compare':(_0x1ecada,_0x31aafd)=>_0x5e54a0(_0x1ecada,_0x31aafd),'filter':(_0x17596c,_0x474507,_0x2a9d1c,_0x50e8e4)=>_0x1b2953(_0x17596c,_0x474507,_0x2a9d1c,_0x50e8e4),'toPlainText':_0x49a825[_0x520f25(0x414)]??(_0xee3979=>_0xee3979==null?'':String(_0xee3979)),'fromPlainText':_0x49a825[_0x520f25(0x1b6)]??(_0x234917=>_0x483a3d(_0x234917,{'id':'','name':'','type':_0x1ec466,'config':{}})),'getCapabilities':()=>({..._0x513155,..._0x1111df,'editable':_0x1ba36d&&(_0x1111df[_0x520f25(0x3cf)]??_0x513155[_0x520f25(0x3cf)])})};}function _0x5d1e9d(){const _0x37d8a4=_0x17666d;return[_0x2dfff7(_0x4d7b12[_0x37d8a4(0x419)][_0x37d8a4(0x87)],{'groupable':!0x0,'usableAsTitle':!0x0},void 0x0,{'createDefaultConfig':()=>({'placeholder':_0x37d8a4(0x288)}),'createDefaultValue':_0x4420f7=>_0x4420f7[_0x37d8a4(0x1f0)]??''}),_0x2dfff7(_0x4d7b12[_0x37d8a4(0x419)]['SingleSelect'],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsOptions':!0x0},_0x58cda2=>_0x58cda2==null||_0x58cda2===''?null:String(_0x58cda2),{'createDefaultConfig':()=>({'options':[],'optionSource':{'type':_0x37d8a4(0x11e)}})}),_0x2dfff7(_0x4d7b12[_0x37d8a4(0x419)][_0x37d8a4(0x1a7)],{'filterable':!0x0,'usableAsKanbanGroup':!0x0,'supportsOptions':!0x0,'supportsMultipleValues':!0x0},_0x85e9e9=>Array[_0x37d8a4(0x46e)](_0x85e9e9)?_0x85e9e9[_0x37d8a4(0xd9)](String):_0x85e9e9==null?[]:[String(_0x85e9e9)],{'createDefaultConfig':()=>({'options':[],'optionSource':{'type':_0x37d8a4(0x11e)}}),'createDefaultValue':_0x2d9ca2=>_0x2d9ca2['defaultValue']??[]}),_0x2dfff7(_0x4d7b12[_0x37d8a4(0x419)][_0x37d8a4(0x92)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsMultipleValues':!0x0},_0x384bd6,{'createDefaultConfig':()=>({'allowMultiple':!0x1,'provider':'person'}),'validate':_0x184b20}),_0x2dfff7(_0x4d7b12[_0x37d8a4(0x419)][_0x37d8a4(0x41c)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsMultipleValues':!0x0},_0x3974b2,{'createDefaultConfig':()=>({'allowMultiple':!0x0,'provider':_0x37d8a4(0x161)}),'createDefaultValue':_0x508cee=>_0x508cee[_0x37d8a4(0x1f0)]??[],'validate':_0x81a4d4}),_0x2dfff7(_0x4d7b12[_0x37d8a4(0x419)][_0x37d8a4(0x32c)],{'groupable':!0x0,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x354c70=>_0x2a15b4(_0x354c70),{'createDefaultConfig':()=>_0x1df402(),'validate':_0x5e59fd}),_0x2dfff7(_0x4d7b12[_0x37d8a4(0x419)][_0x37d8a4(0x312)],{'usableAsCardCover':!0x0,'supportsMultipleValues':!0x0},_0x250100=>_0x250100==null?[]:Array['isArray'](_0x250100)?_0x250100:[_0x250100],{'createDefaultValue':_0x4cd995=>_0x4cd995[_0x37d8a4(0x1f0)]??[]}),_0x2dfff7(_0x4d7b12[_0x37d8a4(0x419)]['Number'],{},_0x45f950=>_0x45f950==null||_0x45f950===''?null:Number(_0x45f950),{'createDefaultConfig':()=>_0xe84ff4(),'validate':_0x8894ab}),_0x2dfff7(_0x4d7b12['BaseFieldType'][_0x37d8a4(0x317)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0},_0x2bce4a=>_0x2bce4a===!0x0||_0x2bce4a===_0x37d8a4(0x222)||_0x2bce4a===0x1||_0x2bce4a==='1',{'createDefaultConfig':()=>({'icon':_0x37d8a4(0x144),'color':_0x37d8a4(0x19b)}),'createDefaultValue':_0x4b0224=>_0x4b0224[_0x37d8a4(0x1f0)]??!0x1,'validate':_0x1fba53=>typeof _0x1fba53==_0x37d8a4(0x217)?{'valid':!0x0}:{'valid':!0x1,'reason':_0x37d8a4(0x29d)}}),_0x2dfff7(_0x4d7b12[_0x37d8a4(0x419)][_0x37d8a4(0x85)],{'supportsRelation':!0x0},_0x40579b,{'createDefaultConfig':()=>({'placeholder':'bases.fieldConfig.linkPlaceholder'}),'toPlainText':_0x32d5e1=>_0x356ea0(_0x32d5e1),'fromPlainText':_0x1c2c2e=>_0x40579b(_0x1c2c2e)}),_0x2dfff7(_0x4d7b12[_0x37d8a4(0x419)][_0x37d8a4(0x21c)],{'editable':!0x1},void 0x0,{'createDefaultConfig':()=>({'formula':'','dependencies':[],'numfmt':{'type':'general','pattern':_0x37d8a4(0x120)}}),'createDefaultValue':()=>null}),_0x2dfff7(_0x4d7b12[_0x37d8a4(0x419)][_0x37d8a4(0x279)],{'editable':!0x1,'usableAsTitle':!0x0},void 0x0,{'createDefaultConfig':()=>({'mode':'autoIncrement'}),'createDefaultValue':()=>null}),_0x2dfff7(_0x4d7b12[_0x37d8a4(0x419)]['Phone'],{'usableAsTitle':!0x0},_0x346acd=>_0x346acd==null?null:String(_0x346acd)['trim'](),{'validate':_0x5bfd27=>_0x5bfd27==null||_0x5bfd27===''||/^\+?[0-9 ()-]{6,20}$/[_0x37d8a4(0x445)](String(_0x5bfd27))?{'valid':!0x0}:{'valid':!0x1,'reason':_0x37d8a4(0x1fb)}}),_0x2dfff7(_0x4d7b12[_0x37d8a4(0x419)][_0x37d8a4(0x238)],{'usableAsTitle':!0x0},_0x2383e7=>_0x2383e7==null?null:String(_0x2383e7)['trim'](),{'validate':_0x146dbd=>_0x146dbd==null||_0x146dbd===''||_0x1fbff4(String(_0x146dbd))?{'valid':!0x0}:{'valid':!0x1,'reason':_0x37d8a4(0x240)}}),_0x2dfff7(_0x4d7b12[_0x37d8a4(0x419)][_0x37d8a4(0x1d8)],{'usableAsGanttProgress':!0x0},_0x16dee3=>_0x16dee3==null||_0x16dee3===''?null:Number(_0x16dee3),{'createDefaultConfig':()=>({'format':_0x37d8a4(0x43c),'decimalPlaces':0x0,'color':_0x37d8a4(0x324),'customRange':!0x1,'start':0x0,'end':0x64}),'validate':(_0x4db6e6,_0xfbf1d7)=>_0x254b32(_0x4db6e6,_0xfbf1d7,'[BaseField]:\x20invalid\x20progress\x20value.')}),_0x2dfff7(_0x4d7b12[_0x37d8a4(0x419)][_0x37d8a4(0x1fe)],{},_0x50db8e=>_0x50db8e==null||_0x50db8e===''?null:Number(_0x50db8e),{'createDefaultConfig':()=>({..._0xe84ff4(),'currencySymbol':'$'}),'validate':_0x8894ab}),_0x2dfff7(_0x4d7b12[_0x37d8a4(0x419)]['Rating'],{'groupable':!0x0,'usableAsKanbanGroup':!0x0},_0xb4482f=>_0xb4482f==null||_0xb4482f===''?null:Number(_0xb4482f),{'createDefaultConfig':()=>({'icon':_0x37d8a4(0x218),'min':0x1,'max':0x5}),'createDefaultValue':()=>null,'validate':(_0x483a01,_0x1e2198)=>_0x254b32(_0x483a01,_0x1e2198,_0x37d8a4(0x3ee))}),_0x2dfff7(_0x4d7b12[_0x37d8a4(0x419)][_0x37d8a4(0x328)],{'supportsRelation':!0x0,'supportsMultipleValues':!0x0},_0x487bda,{'createDefaultConfig':()=>({'targetTableId':'','multiple':!0x1}),'createDefaultValue':()=>'','validate':(_0x4429cd,_0x328111)=>_0x2eeb56(_0x4429cd,_0x328111['config'][_0x37d8a4(0x2b1)]===!0x0)}),_0x2dfff7(_0x4d7b12['BaseFieldType'][_0x37d8a4(0x266)],{'editable':!0x1,'sortable':!0x0,'filterable':!0x0,'usableAsTitle':!0x0}),_0x2dfff7(_0x4d7b12[_0x37d8a4(0x419)][_0x37d8a4(0x9a)],{'editable':!0x1,'groupable':!0x0},_0x3146f1=>_0x3146f1==null?null:String(_0x3146f1),{'createDefaultConfig':()=>({'provider':_0x37d8a4(0xe2)}),'createDefaultValue':()=>null}),_0x2dfff7(_0x4d7b12[_0x37d8a4(0x419)][_0x37d8a4(0x186)],{'editable':!0x1,'groupable':!0x0},_0x3567e4=>_0x3567e4==null?null:String(_0x3567e4),{'createDefaultConfig':()=>({'provider':'user'}),'createDefaultValue':()=>null}),_0x2dfff7(_0x4d7b12[_0x37d8a4(0x419)][_0x37d8a4(0x1a0)],{'editable':!0x1,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x25fe44=>_0x2a15b4(_0x25fe44),{'createDefaultConfig':()=>_0x1df402(),'createDefaultValue':()=>null,'validate':_0x5e59fd}),_0x2dfff7(_0x4d7b12[_0x37d8a4(0x419)][_0x37d8a4(0x2e7)],{'editable':!0x1,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x1402fc=>_0x2a15b4(_0x1402fc),{'createDefaultConfig':()=>_0x1df402(),'createDefaultValue':()=>null,'validate':_0x5e59fd})];}function _0xe84ff4(){const _0x27561c=_0x17666d;return{'pattern':_0x27561c(0x23f),'decimalPlaces':0x2,'separatorStyle':_0x27561c(0x1b9),'useThousands':!0x0,'abbreviation':_0x27561c(0xb9),'allowNegative':!0x0};}function _0x1df402(){const _0x46b8cb=_0x17666d;return{'locale':_0x46b8cb(0x3cd),'pattern':_0x46b8cb(0x3c4),'includeTime':!0x1,'hourCycle':'h24','defaultMode':_0x46b8cb(0xb9)};}function _0x3974b2(_0x124e3a){return _0x124e3a==null||_0x124e3a===''?[]:Array['isArray'](_0x124e3a)?_0x124e3a['map'](String):[String(_0x124e3a)];}function _0x487bda(_0xdb50ae){const _0xb788a8=_0x17666d;return typeof _0xdb50ae==_0xb788a8(0x3af)?_0xdb50ae:'';}function _0x384bd6(_0x3bcc49,_0x18b5fe){const _0x54257a=_0x17666d;return _0x3bcc49==null||_0x3bcc49===''?_0x18b5fe[_0x54257a(0x39d)][_0x54257a(0x8f)]===!0x0?[]:null:_0x18b5fe['config'][_0x54257a(0x8f)]===!0x0?Array['isArray'](_0x3bcc49)?_0x3bcc49['map'](String):[String(_0x3bcc49)]:Array[_0x54257a(0x46e)](_0x3bcc49)?String(_0x3bcc49[0x0]??'')||null:String(_0x3bcc49);}function _0x184b20(_0x4de528,_0x3b1d5e){const _0x1bc40e=_0x17666d;return _0x3b1d5e[_0x1bc40e(0x39d)][_0x1bc40e(0x8f)]===!0x0?_0x81a4d4(_0x4de528):_0x4de528==null||_0x4de528===''||typeof _0x4de528=='string'?{'valid':!0x0}:{'valid':!0x1,'reason':'[BaseField]:\x20invalid\x20person\x20value.'};}function _0x81a4d4(_0x4060d6){const _0x145fb2=_0x17666d;return _0x4060d6==null||Array[_0x145fb2(0x46e)](_0x4060d6)&&_0x4060d6[_0x145fb2(0x178)](_0x3b58a3=>typeof _0x3b58a3==_0x145fb2(0x3af))?{'valid':!0x0}:{'valid':!0x1,'reason':'[BaseField]:\x20invalid\x20multi-value\x20reference.'};}function _0x5e59fd(_0x5af3b7){const _0x59d804=_0x17666d;return _0x5af3b7==null||typeof _0x5af3b7==_0x59d804(0x2c1)&&Number[_0x59d804(0x1c5)](_0x5af3b7)?{'valid':!0x0}:{'valid':!0x1,'reason':'[BaseField]:\x20invalid\x20date\x20value.'};}function _0x8894ab(_0x273e87,_0x356c21){const _0x39adcd=_0x17666d;return _0x273e87==null||_0x273e87===''?{'valid':!0x0}:typeof _0x273e87!=_0x39adcd(0x2c1)||!Number[_0x39adcd(0x1c5)](_0x273e87)?{'valid':!0x1,'reason':_0x39adcd(0x2c6)}:_0x356c21[_0x39adcd(0x39d)]['allowNegative']===!0x1&&_0x273e87<0x0?{'valid':!0x1,'reason':_0x39adcd(0x2ad)}:{'valid':!0x0};}function _0x254b32(_0x35b531,_0x3dd2b0,_0x24ec42){const _0x3b3f3a=_0x17666d;let _0x3a078e=_0x8894ab(_0x35b531,_0x3dd2b0);if(!_0x3a078e['valid']||_0x35b531==null||_0x35b531==='')return _0x3a078e;let _0x11a672=Number(_0x3dd2b0['config'][_0x3b3f3a(0x3d6)]??_0x3dd2b0[_0x3b3f3a(0x39d)][_0x3b3f3a(0x3cb)]??0x0),_0x223672=Number(_0x3dd2b0[_0x3b3f3a(0x39d)][_0x3b3f3a(0x3e8)]??_0x3dd2b0[_0x3b3f3a(0x39d)]['end']??0x64),_0x23a525=Number(_0x35b531);return _0x23a525>=_0x11a672&&_0x23a525<=_0x223672?{'valid':!0x0}:{'valid':!0x1,'reason':_0x24ec42};}function _0x40579b(_0x26683b){const _0x153f10=_0x17666d;if(_0x26683b==null||_0x26683b==='')return null;if(typeof _0x26683b==_0x153f10(0x297)&&!Array['isArray'](_0x26683b)){let _0x21b555=_0x26683b,_0x4f9c7e=typeof _0x21b555[_0x153f10(0x146)]==_0x153f10(0x3af)?_0x21b555['text'][_0x153f10(0x11d)]():'',_0x415a7b=typeof _0x21b555[_0x153f10(0x3ae)]=='string'?_0x21b555[_0x153f10(0x3ae)]['trim']():'',_0xcb6e19=_0x3afda0(_0x415a7b||_0x4f9c7e);return _0xcb6e19?{'text':_0x4f9c7e||_0x415a7b||_0xcb6e19,'url':_0xcb6e19}:null;}let _0x5ba9ca=String(_0x26683b)['trim'](),_0x1f83c8=_0x3afda0(_0x5ba9ca);return _0x1f83c8?{'text':_0x5ba9ca,'url':_0x1f83c8}:null;}function _0x356ea0(_0x2f5c5c){const _0x585e43=_0x17666d;if(_0x2f5c5c==null)return'';if(typeof _0x2f5c5c==_0x585e43(0x297)&&!Array[_0x585e43(0x46e)](_0x2f5c5c)){let _0x1f6f70=_0x2f5c5c;return String(_0x1f6f70[_0x585e43(0x146)]||_0x1f6f70['url']||'');}return String(_0x2f5c5c);}function _0x3afda0(_0xb98ada){const _0x1665ee=_0x17666d;let _0x8eca4f=_0xb98ada['trim']();if(!_0x8eca4f)return'';let _0x45aafa=/^[a-z][a-z\d+.-]*:/i['test'](_0x8eca4f)?_0x8eca4f:_0x8eca4f[_0x1665ee(0x24b)]('//')?_0x1665ee(0x3aa)+_0x8eca4f:_0x1665ee(0x7e)+_0x8eca4f;try{let _0xdd0430=new URL(_0x45aafa);return _0xdd0430[_0x1665ee(0x18e)]===_0x1665ee(0x3a3)||_0xdd0430['protocol']===_0x1665ee(0x3aa)?_0xdd0430[_0x1665ee(0x3f6)]:'';}catch{return'';}}function _0x1fbff4(_0x579b4d){const _0x240830=_0x17666d;let _0x532ecb=_0x579b4d[_0x240830(0x211)]('@');if(_0x532ecb<=0x0||_0x532ecb!==_0x579b4d['lastIndexOf']('@'))return!0x1;let _0x6b9cf8=_0x579b4d[_0x240830(0x3fc)](_0x532ecb+0x1);return _0x6b9cf8['includes']('.')&&!_0x579b4d['includes']('\x20')&&!_0x6b9cf8[_0x240830(0x24b)]('.')&&!_0x6b9cf8['endsWith']('.');}let _0x550af4={'table':_0x33e11c=>[_0x17666d(0x334),_0x33e11c],'field':(_0x357412,_0x4b3b7f)=>['tables',_0x357412,_0x17666d(0x129),_0x4b3b7f],'fieldOrder':(_0x2ef6df,_0x3d16ba)=>['tables',_0x2ef6df,_0x17666d(0x33f),_0x3d16ba],'record':(_0x1d5921,_0x4e877a)=>[_0x17666d(0x334),_0x1d5921,'records',_0x4e877a],'cell':(_0x521ca4,_0x5c9b15,_0x3049cb)=>[_0x17666d(0x334),_0x521ca4,_0x17666d(0x14c),_0x5c9b15,_0x17666d(0x3b2),_0x3049cb],'cellData':(_0x1b51b2,_0xe4bdb4,_0x578afe)=>[_0x17666d(0x334),_0x1b51b2,_0x17666d(0x17b),String(_0xe4bdb4),String(_0x578afe)],'attachmentSet':(_0x1b5f7c,_0x37b33e)=>[_0x17666d(0x334),_0x1b5f7c,_0x17666d(0x171),'attachmentSets',_0x37b33e],'attachment':(_0x55dafb,_0x52b43d)=>[_0x17666d(0x334),_0x55dafb,'resources',_0x17666d(0x24d),_0x52b43d],'view':(_0x16ebd7,_0x33a022)=>[_0x17666d(0x334),_0x16ebd7,_0x17666d(0x420),_0x33a022],'viewFieldHidden':(_0x13e4fd,_0x43ce67,_0x5bf8e7)=>['tables',_0x13e4fd,_0x17666d(0x420),_0x43ce67,_0x17666d(0x2fd),_0x5bf8e7,_0x17666d(0x338)]};var _0x7bf11a=class{[_0x17666d(0x97)](_0x59abf2,_0x4a7db2){const _0x9acc96=_0x17666d;let _0x226e6f=this[_0x9acc96(0x7b)](_0x59abf2,_0x59abf2['name'],_0x4a7db2);return _0x2c91fd([this[_0x9acc96(0x33e)]([_0x9acc96(0x208)],_0x59abf2[_0x9acc96(0x208)],_0x4a7db2),..._0x226e6f?[_0x226e6f]:[]]);}[_0x17666d(0x7b)](_0x279286,_0x5c8618,_0x1d3f6c){const _0x5494b4=_0x17666d;let _0x51d583=Object[_0x5494b4(0x3b2)](_0x279286[_0x5494b4(0x334)])['flatMap'](_0x203e40=>Object[_0x5494b4(0x3b2)](_0x203e40[_0x5494b4(0x129)])['flatMap'](_0x4b7940=>{const _0xb6ef86=_0x5494b4;var _0x2c127b,_0x309234;if(_0x4b7940[_0xb6ef86(0x466)]!==_0x4d7b12[_0xb6ef86(0x419)][_0xb6ef86(0x21c)])return[];let _0x5e3e1e=String(((_0x2c127b=_0x4b7940[_0xb6ef86(0x39d)])==null?void 0x0:_0x2c127b[_0xb6ef86(0x91)])??''),_0x8af2dc=(0x0,_0x21a938[_0xb6ef86(0x18b)])(_0x5e3e1e,_0x5c8618,_0x1d3f6c);return _0x8af2dc===_0x5e3e1e?[]:[this['_replaceOptional']([..._0x550af4[_0xb6ef86(0x38f)](_0x203e40['id'],_0x4b7940['id']),_0xb6ef86(0x39d),_0xb6ef86(0x91)],(_0x309234=_0x4b7940[_0xb6ef86(0x39d)])==null?void 0x0:_0x309234[_0xb6ef86(0x91)],_0x8af2dc)];}));return _0x51d583[_0x5494b4(0x278)]>0x0?_0x2c91fd(_0x51d583):void 0x0;}[_0x17666d(0x336)](_0x7f7c6f,_0x276780,_0x349cc2=_0x7f7c6f['tableOrder'][_0x17666d(0x278)]){const _0x53b484=_0x17666d;let _0xda5a85=(0x0,_0x4d7b12[_0x53b484(0x434)])(_0x276780[_0x53b484(0x208)],(0x0,_0x4d7b12[_0x53b484(0x17c)])(_0x7f7c6f)[_0x53b484(0x3b2)](),_0x276780[_0x53b484(0x11c)]),_0x249aca=_0x276780[_0x53b484(0x11c)]===_0xda5a85?_0x276780:{..._0x276780,'formulaName':_0xda5a85};return _0x2c91fd([...this['_materializeFormulaTableNames'](_0x7f7c6f),_0x4d7b12['JSON1'][_0x53b484(0x12f)](_0x550af4[_0x53b484(0x39f)](_0x276780['id']),_0x249aca),_0x4d7b12[_0x53b484(0xa0)][_0x53b484(0x12f)]([_0x53b484(0x10e),_0x349cc2],_0x276780['id'])]);}[_0x17666d(0x2eb)](_0x5cee39,_0x1f7889,_0x2ee2ad){const _0x47ff40=_0x17666d;let _0xbc728=_0x5cee39[_0x47ff40(0x334)][_0x1f7889];return _0x2c91fd([...this[_0x47ff40(0xb4)](_0x5cee39),_0x4d7b12['JSON1'][_0x47ff40(0x45f)]([..._0x550af4[_0x47ff40(0x39f)](_0x1f7889),_0x47ff40(0x208)],_0xbc728[_0x47ff40(0x208)],_0x2ee2ad)]);}[_0x17666d(0x29c)](_0x1573d5,_0x2743a2){const _0x36cd48=_0x17666d;let _0x24d40a=_0x1573d5['tables'][_0x2743a2],_0x132d60=_0x1573d5['tableOrder']['indexOf'](_0x2743a2);return _0x2c91fd([...this[_0x36cd48(0xb4)](_0x1573d5,new Set([_0x2743a2])),_0x4d7b12[_0x36cd48(0xa0)][_0x36cd48(0x45e)](_0x550af4['table'](_0x2743a2),_0x24d40a),_0x4d7b12['JSON1'][_0x36cd48(0x45e)]([_0x36cd48(0x10e),_0x132d60],_0x2743a2)]);}[_0x17666d(0x3a6)](_0x1eab05,_0x239e42,_0x78c5d6){const _0x28d696=_0x17666d;return this[_0x28d696(0x3b0)](_0x1eab05,_0x239e42,[_0x78c5d6]);}['createRecords'](_0x3020a0,_0x3bcf87,_0x512936){const _0x55b68c=_0x17666d;let _0x13e7c1=_0x3020a0[_0x55b68c(0x334)][_0x3bcf87],_0x42a066=_0x512936['filter'](_0x1c5ac1=>_0x1c5ac1&&!_0x13e7c1[_0x55b68c(0x14c)][_0x1c5ac1['id']])['map'](_0x303f1c=>({..._0x303f1c,'values':{..._0x303f1c[_0x55b68c(0x3b2)],[_0x4d7b12['BASE_RECORD_ID_FIELD_ID']]:_0x303f1c['id']}}));if(!_0x42a066[_0x55b68c(0x278)])return _0x4d7b12[_0x55b68c(0xa0)][_0x55b68c(0x45f)]([..._0x550af4['table'](_0x3bcf87),'records'],_0x13e7c1['records'],_0x13e7c1[_0x55b68c(0x14c)]);let _0x22130e=new _0x4d7b12[(_0x55b68c(0xa0))][(_0x55b68c(0xc9))](),_0x1b5dbf=[..._0x42a066][_0x55b68c(0x3bb)]((_0x34e46b,_0x5f4d41)=>_0x34e46b['id']<_0x5f4d41['id']?-0x1:+(_0x34e46b['id']>_0x5f4d41['id'])),_0x4fbf64=[..._0x550af4[_0x55b68c(0x39f)](_0x3bcf87),_0x55b68c(0x14c)];_0x22130e[_0x55b68c(0x32d)](_0x4fbf64);for(let _0x4dc112 of _0x1b5dbf)_0x22130e['descend'](_0x4dc112['id']),_0x22130e['write']('i',_0x4dc112),_0x22130e[_0x55b68c(0x316)]();for(let _0x287a2c=0x0;_0x287a2c<_0x4fbf64[_0x55b68c(0x278)];_0x287a2c+=0x1)_0x22130e[_0x55b68c(0x316)]();return _0x2c91fd([_0x22130e['get'](),this[_0x55b68c(0x153)](_0x3020a0,_0x3bcf87,_0x42a066)]);}[_0x17666d(0x411)](_0x3e9940,_0x44b94d,_0x5dc8ea){const _0x2c89a9=_0x17666d;return this[_0x2c89a9(0x3ec)](_0x3e9940,_0x44b94d,[_0x5dc8ea]);}[_0x17666d(0x3ec)](_0x2b672f,_0xa70bc8,_0x2ed5d4){const _0x5ceaaa=_0x17666d;let _0x246b49=_0x2b672f[_0x5ceaaa(0x334)][_0xa70bc8],_0x31f982=Array['from'](new Set(_0x2ed5d4))[_0x5ceaaa(0x425)](_0x1e2c73=>_0x246b49[_0x5ceaaa(0x14c)][_0x1e2c73]);if(!_0x31f982[_0x5ceaaa(0x278)])return _0x4d7b12[_0x5ceaaa(0xa0)]['replaceOp']([..._0x550af4[_0x5ceaaa(0x39f)](_0xa70bc8),'records'],_0x246b49[_0x5ceaaa(0x14c)],_0x246b49[_0x5ceaaa(0x14c)]);let _0x38e129=new Set(_0x31f982),_0x595ba1=_0x593e95(_0x246b49,_0x31f982)[_0x5ceaaa(0xd9)](_0x2bcda9=>this[_0x5ceaaa(0x2a5)](_0x2b672f,_0xa70bc8,_0x2bcda9[_0x5ceaaa(0x23d)],_0x2bcda9[_0x5ceaaa(0x424)],'')),_0x3de0b1=_0x31f982['map'](_0x24ac80=>{const _0x473684=_0x5ceaaa;var _0x545332;return{'recordId':_0x24ac80,'index':((_0x545332=_0x246b49[_0x473684(0x370)])==null?void 0x0:_0x545332[_0x473684(0x211)](_0x24ac80))??-0x1};})['filter'](_0x2ec3c0=>_0x2ec3c0[_0x5ceaaa(0x293)]>=0x0)[_0x5ceaaa(0x3bb)]((_0x21afa7,_0xc8ee58)=>_0xc8ee58[_0x5ceaaa(0x293)]-_0x21afa7[_0x5ceaaa(0x293)]);return _0x2c91fd([..._0x31f982[_0x5ceaaa(0xd9)](_0x145144=>_0x4d7b12[_0x5ceaaa(0xa0)]['removeOp'](_0x550af4[_0x5ceaaa(0x463)](_0xa70bc8,_0x145144),_0x246b49[_0x5ceaaa(0x14c)][_0x145144])),..._0x3de0b1[_0x5ceaaa(0xd9)](({recordId:_0x3bd2fd,index:_0x3a08f9})=>_0x4d7b12[_0x5ceaaa(0xa0)][_0x5ceaaa(0x45e)](['tables',_0xa70bc8,_0x5ceaaa(0x370),_0x3a08f9],_0x3bd2fd)),..._0x595ba1,...this[_0x5ceaaa(0x20e)](_0x246b49,_0xa70bc8,_0xf1a3e9=>{const _0x30f580=_0x5ceaaa;let _0xdac7e0=_0xf1a3e9[_0x30f580(0x3fc)](_0xf1a3e9[_0x30f580(0x114)]('\x1f')+0x1);return _0x38e129['has'](_0xdac7e0);})]);}[_0x17666d(0x16b)](_0x2c9fb2,_0xccee30,_0x197e68,_0x26c507){const _0x1a5e97=_0x17666d;return this['createRecord'](_0x2c9fb2,_0xccee30,{..._0x26c507,'values':{..._0x2c9fb2[_0x1a5e97(0x334)][_0xccee30][_0x1a5e97(0x14c)][_0x197e68][_0x1a5e97(0x3b2)],..._0x26c507[_0x1a5e97(0x3b2)],[_0x4d7b12[_0x1a5e97(0x36b)]]:_0x26c507['id']}});}['updateRecordOrder'](_0x46fb0a,_0x54a47c,_0x2cd325,_0x2d05a0){const _0x519418=_0x17666d;let _0x2ce759=_0x46fb0a['tables'][_0x54a47c],_0x53a11d=[..._0x550af4['record'](_0x54a47c,_0x2cd325),_0x519418(0x46d)],_0x5826e1=Object[_0x519418(0x3b2)](_0x2ce759[_0x519418(0x14c)])[_0x519418(0xd9)](_0x34615b=>_0x34615b['id']===_0x2cd325?{..._0x34615b,'orderKey':_0x2d05a0}:_0x34615b)['sort']((_0x11cd36,_0x5aa5bd)=>String(_0x11cd36[_0x519418(0x46d)]??_0x11cd36['id'])[_0x519418(0x31b)](String(_0x5aa5bd[_0x519418(0x46d)]??_0x5aa5bd['id'])))[_0x519418(0xd9)](_0x2a528a=>_0x2a528a['id']),_0x5e7880=[..._0x550af4[_0x519418(0x39f)](_0x54a47c),_0x519418(0x370)];return _0x2c91fd([this[_0x519418(0x33e)](_0x53a11d,_0x2ce759[_0x519418(0x14c)][_0x2cd325][_0x519418(0x46d)],_0x2d05a0),_0x2ce759[_0x519418(0x370)]?_0x4d7b12[_0x519418(0xa0)][_0x519418(0x45f)](_0x5e7880,_0x2ce759[_0x519418(0x370)],_0x5826e1):_0x4d7b12[_0x519418(0xa0)]['insertOp'](_0x5e7880,_0x5826e1)]);}['updateCell'](_0x4c5a97,_0x3647be,_0x3b4d0c,_0x3f4f94,_0x5e10cc){const _0x5c0be0=_0x17666d;var _0x2ae672,_0x1c4395;let _0x3d6e12=_0x4c5a97['tables'][_0x3647be],_0x57dbb3=_0x2245b0(_0x3d6e12,_0x3b4d0c,_0x3f4f94)?_0x3d6e12:_0x4cff78(_0x3d6e12),_0x2cda40=(_0x2ae672=_0x57dbb3['rowIndex'])==null?void 0x0:_0x2ae672[_0x3b4d0c],_0x331ab5=(_0x1c4395=_0x57dbb3[_0x5c0be0(0x118)])==null?void 0x0:_0x1c4395[_0x3f4f94];if(_0x2cda40==null||_0x331ab5==null){var _0x2b2aea;return this[_0x5c0be0(0x33e)](_0x550af4[_0x5c0be0(0x2cb)](_0x3647be,_0x3b4d0c,_0x3f4f94),(_0x2b2aea=_0x4c5a97[_0x5c0be0(0x334)][_0x3647be])==null||(_0x2b2aea=_0x2b2aea[_0x5c0be0(0x14c)][_0x3b4d0c])==null?void 0x0:_0x2b2aea[_0x5c0be0(0x3b2)][_0x3f4f94],_0x5e10cc);}return this[_0x5c0be0(0x308)](_0x4c5a97,_0x3647be,[{'row':_0x2cda40,'col':_0x331ab5,'value':_0x5e10cc}]);}[_0x17666d(0x3f4)](_0x37be50,_0xd3f56e,_0x4eda7f){const _0x5652bd=_0x17666d;let _0x3d59c9=_0x37be50[_0x5652bd(0x334)][_0xd3f56e],_0x2f850e=_0x4eda7f[_0x5652bd(0x178)](_0x591765=>Object[_0x5652bd(0x3d7)](_0x591765[_0x5652bd(0x3b2)])['every'](_0x222de9=>_0x2245b0(_0x3d59c9,_0x591765[_0x5652bd(0x23d)],_0x222de9)))?_0x3d59c9:_0x4cff78(_0x3d59c9),_0x28ab3a=_0x4eda7f[_0x5652bd(0x2b8)](_0x51ac2b=>Object[_0x5652bd(0x45d)](_0x51ac2b[_0x5652bd(0x3b2)])[_0x5652bd(0x2b8)](([_0x5e1cfd,_0x51d433])=>{const _0x14c59a=_0x5652bd;var _0x11cc3b,_0x117e1e;let _0x281206=(_0x11cc3b=_0x2f850e[_0x14c59a(0x3db)])==null?void 0x0:_0x11cc3b[_0x51ac2b[_0x14c59a(0x23d)]],_0x557a9c=(_0x117e1e=_0x2f850e[_0x14c59a(0x118)])==null?void 0x0:_0x117e1e[_0x5e1cfd];return _0x281206==null||_0x557a9c==null?[]:[{'row':_0x281206,'col':_0x557a9c,'value':_0x51d433}];})),_0x5da9cd=_0x4eda7f[_0x5652bd(0x2b8)](_0x531dd5=>Object[_0x5652bd(0x45d)](_0x531dd5[_0x5652bd(0xa2)]??{})[_0x5652bd(0xd9)](([_0x5b38a1,_0x22e378])=>{const _0x29fb9d=_0x5652bd;var _0x9ea36a;let _0x4a46fd=[..._0x550af4[_0x29fb9d(0x463)](_0xd3f56e,_0x531dd5['recordId']),_0x5b38a1],_0x5adb1b=(_0x9ea36a=_0x37be50['tables'][_0xd3f56e])==null||(_0x9ea36a=_0x9ea36a['records'][_0x531dd5['recordId']])==null?void 0x0:_0x9ea36a[_0x5b38a1];return this[_0x29fb9d(0x33e)](_0x4a46fd,_0x5adb1b,_0x22e378);}));return _0x2c91fd([this['setRangeValues'](_0x37be50,_0xd3f56e,_0x28ab3a),..._0x5da9cd]);}[_0x17666d(0x308)](_0x2c7c30,_0x322214,_0x1aca0a){const _0x318a20=_0x17666d;let _0x1dc205=_0x2c7c30[_0x318a20(0x334)][_0x322214],_0xb8bbda=_0x1aca0a[_0x318a20(0x178)](_0xd66a77=>_0x4ba440(_0x1dc205,_0xd66a77[_0x318a20(0x1b3)],_0xd66a77[_0x318a20(0x282)]))?_0x1dc205:_0x4cff78(_0x1dc205),_0x1e38b6=_0x1aca0a[_0x318a20(0x2b8)](_0x51429d=>{const _0x3c9375=_0x318a20;var _0x2f462b,_0xb01569,_0x161630,_0x6fd364;let _0x4d7530=(_0x2f462b=_0xb8bbda[_0x3c9375(0x1f6)])==null?void 0x0:_0x2f462b[_0x51429d[_0x3c9375(0x282)]],_0x45daa0=(_0xb01569=_0xb8bbda[_0x3c9375(0x357)])==null?void 0x0:_0xb01569[_0x51429d['row']],_0x7f8294=_0x4d7530?_0xb8bbda[_0x3c9375(0x129)][_0x4d7530]:void 0x0;if(_0x4d7530===_0x4d7b12['BASE_RECORD_ID_FIELD_ID']||(_0x7f8294==null?void 0x0:_0x7f8294[_0x3c9375(0x466)])===_0x4d7b12[_0x3c9375(0x419)][_0x3c9375(0x266)])throw Error(_0x3c9375(0x20b));let _0x481d73=_0x445436(_0x51429d[_0x3c9375(0x12e)],_0x7f8294),_0x3a0fc6=(_0x161630=_0xb8bbda[_0x3c9375(0x17b)])==null||(_0x161630=_0x161630[_0x51429d['row']])==null?void 0x0:_0x161630[_0x51429d[_0x3c9375(0x282)]],_0x5a7178=this[_0x3c9375(0x33e)](_0x550af4[_0x3c9375(0x17b)](_0x322214,_0x51429d[_0x3c9375(0x1b3)],_0x51429d[_0x3c9375(0x282)]),_0x3a0fc6,_0x481d73);if(!_0x4d7530||!_0x45daa0)return[_0x5a7178];let _0x2f2c37=(_0x6fd364=_0xb8bbda['records'][_0x45daa0])==null?void 0x0:_0x6fd364['values'][_0x4d7530],_0x558024=(_0x7f8294==null?void 0x0:_0x7f8294[_0x3c9375(0x466)])===_0x4d7b12[_0x3c9375(0x419)][_0x3c9375(0x312)]?_0x395d05(_0x51429d[_0x3c9375(0x12e)]):_0x1f5abe(_0x51429d[_0x3c9375(0x12e)],_0x481d73,_0x7f8294,_0xb8bbda,_0x45daa0),_0x1221a1=[_0x5a7178,this[_0x3c9375(0x33e)](_0x550af4[_0x3c9375(0x2cb)](_0x322214,_0x45daa0,_0x4d7530),_0x2f2c37,_0x558024)];if((_0x7f8294==null?void 0x0:_0x7f8294[_0x3c9375(0x466)])!==_0x4d7b12[_0x3c9375(0x419)][_0x3c9375(0x312)])return _0x1221a1;let _0x549823=this[_0x3c9375(0x3fd)](_0xb8bbda,_0x322214,_0x45daa0,_0x4d7530,_0x558024);return[..._0x1221a1,..._0x549823];});return _0x1e38b6['length']?_0x2c91fd(_0x1e38b6):_0x4d7b12[_0x318a20(0xa0)][_0x318a20(0x45f)]([_0x318a20(0x334),_0x322214,_0x318a20(0x17b)],_0xb8bbda[_0x318a20(0x17b)],_0xb8bbda[_0x318a20(0x17b)]);}[_0x17666d(0x468)](_0x154d5a,_0x222233,_0xc0effa){const _0x597243=_0x17666d;let _0x4e0b1a=_0x154d5a[_0x597243(0x334)][_0x222233];if(_0x4e0b1a['fields'][_0xc0effa[_0x597243(0x38f)]['id']]||_0x4e0b1a[_0x597243(0x33f)]['includes'](_0xc0effa[_0x597243(0x38f)]['id']))return _0x4d7b12['JSON1'][_0x597243(0x45f)]([_0x597243(0x334),_0x222233,_0x597243(0x33f)],_0x4e0b1a[_0x597243(0x33f)],_0x4e0b1a[_0x597243(0x33f)]);let _0x3d6fb8=Math[_0x597243(0x3e8)](0x1,_0xc0effa[_0x597243(0x293)]??_0x4e0b1a[_0x597243(0x33f)]['length']),_0x5471fc=Object[_0x597243(0x3b2)](_0x4e0b1a[_0x597243(0x420)]??{})[_0x597243(0x2b8)](_0x317d9a=>{const _0x129618=_0x597243;var _0x6d0615;if(!_0x317d9a['fieldOrder']||_0x317d9a[_0x129618(0x33f)][_0x129618(0x3ff)](_0xc0effa['field']['id']))return[];let _0x2ceaae=_0x5e857c(((_0x6d0615=_0xc0effa['viewIndexes'])==null?void 0x0:_0x6d0615[_0x317d9a['id']])??_0x3d6fb8,_0x317d9a['fieldOrder'][_0x129618(0x278)]);return[_0x4d7b12[_0x129618(0xa0)][_0x129618(0x12f)]([..._0x550af4['view'](_0x222233,_0x317d9a['id']),_0x129618(0x33f),_0x2ceaae],_0xc0effa[_0x129618(0x38f)]['id'])];});return _0x2c91fd([..._0xc0effa[_0x597243(0x38f)][_0x597243(0x466)]===_0x4d7b12['BaseFieldType'][_0x597243(0x21c)]?this['_materializeFormulaTableNames'](_0x154d5a):[],_0x4d7b12[_0x597243(0xa0)][_0x597243(0x12f)](_0x550af4[_0x597243(0x38f)](_0x222233,_0xc0effa[_0x597243(0x38f)]['id']),_0xc0effa[_0x597243(0x38f)]),_0x4d7b12[_0x597243(0xa0)][_0x597243(0x12f)](_0x550af4[_0x597243(0x33f)](_0x222233,_0x3d6fb8),_0xc0effa['field']['id']),..._0x5471fc]);}[_0x17666d(0x332)](_0x4ab4df,_0x540e2a,_0x3a647a,_0x4a4a58){const _0xeed8e=_0x17666d;let _0xdee4f=_0x4ab4df['tables'][_0x540e2a];if(!_0xdee4f[_0xeed8e(0x129)][_0x3a647a]||_0xdee4f[_0xeed8e(0x129)][_0x4a4a58[_0xeed8e(0x38f)]['id']]||_0xdee4f[_0xeed8e(0x33f)][_0xeed8e(0x3ff)](_0x4a4a58[_0xeed8e(0x38f)]['id']))return _0x4d7b12[_0xeed8e(0xa0)][_0xeed8e(0x45f)]([_0xeed8e(0x334),_0x540e2a,_0xeed8e(0x33f)],_0xdee4f[_0xeed8e(0x33f)],_0xdee4f[_0xeed8e(0x33f)]);let _0x6b41f=_0x4a4a58[_0xeed8e(0x293)]??_0xdee4f['fieldOrder'][_0xeed8e(0x211)](_0x3a647a)+0x1,_0x43a7f2=_0xdee4f[_0xeed8e(0x33f)][_0xeed8e(0x425)](_0x5c5e64=>_0x5c5e64!==_0x4a4a58[_0xeed8e(0x38f)]['id']),_0xa40876=_0x8efe07(_0x43a7f2,_0x4a4a58[_0xeed8e(0x38f)]['id'],_0x6b41f),_0x40e848=Object[_0xeed8e(0x3b2)](_0xdee4f[_0xeed8e(0x420)]??{})[_0xeed8e(0x2b8)](_0x149cbc=>{const _0x94229a=_0xeed8e;var _0x50b49f,_0x3f720a,_0x55a559,_0x35b3cf;let _0x3554d3=(_0x50b49f=_0x149cbc[_0x94229a(0x33f)])!=null&&_0x50b49f[_0x94229a(0x278)]?_0x149cbc['fieldOrder']:_0x43a7f2;if(_0x3554d3[_0x94229a(0x3ff)](_0x4a4a58[_0x94229a(0x38f)]['id']))return[];let _0x34fd2b=_0x8efe07(_0x3554d3,_0x4a4a58['field']['id'],((_0x3f720a=_0x4a4a58[_0x94229a(0x109)])==null?void 0x0:_0x3f720a[_0x149cbc['id']])??_0x6b41f),_0x38dbf3=(_0x55a559=_0x149cbc[_0x94229a(0x2fd)])==null?void 0x0:_0x55a559[_0x3a647a];return[this[_0x94229a(0x33e)]([..._0x550af4['view'](_0x540e2a,_0x149cbc['id']),_0x94229a(0x33f)],_0x149cbc[_0x94229a(0x33f)],_0x34fd2b),..._0x38dbf3?[this[_0x94229a(0x33e)]([..._0x550af4[_0x94229a(0x365)](_0x540e2a,_0x149cbc['id']),'fieldSettings',_0x4a4a58[_0x94229a(0x38f)]['id']],(_0x35b3cf=_0x149cbc[_0x94229a(0x2fd)])==null?void 0x0:_0x35b3cf[_0x4a4a58[_0x94229a(0x38f)]['id']],_0x38dbf3)]:[]];}),_0x15f332=Object[_0xeed8e(0x3b2)](_0xdee4f[_0xeed8e(0x14c)])[_0xeed8e(0x425)](_0x749730=>Object[_0xeed8e(0x44a)][_0xeed8e(0x3d1)][_0xeed8e(0x446)](_0x749730[_0xeed8e(0x3b2)],_0x3a647a))[_0xeed8e(0xd9)](_0x4dbf18=>this[_0xeed8e(0x33e)](_0x550af4[_0xeed8e(0x2cb)](_0x540e2a,_0x4dbf18['id'],_0x4a4a58[_0xeed8e(0x38f)]['id']),_0x4dbf18['values'][_0x4a4a58[_0xeed8e(0x38f)]['id']],_0x4dbf18[_0xeed8e(0x3b2)][_0x3a647a]));return _0x2c91fd([..._0x4a4a58[_0xeed8e(0x38f)][_0xeed8e(0x466)]===_0x4d7b12['BaseFieldType'][_0xeed8e(0x21c)]?this[_0xeed8e(0xb4)](_0x4ab4df):[],_0x4d7b12['JSON1'][_0xeed8e(0x12f)](_0x550af4[_0xeed8e(0x38f)](_0x540e2a,_0x4a4a58[_0xeed8e(0x38f)]['id']),_0x4a4a58[_0xeed8e(0x38f)]),_0x4d7b12['JSON1'][_0xeed8e(0x45f)]([_0xeed8e(0x334),_0x540e2a,_0xeed8e(0x33f)],_0xdee4f[_0xeed8e(0x33f)],_0xa40876),..._0x40e848,..._0x15f332]);}[_0x17666d(0x2bf)](_0x4f097c,_0x11cfef,_0x5b1a65,_0x18a943){const _0x2c142b=_0x17666d;let _0x1827f6=_0x4f097c[_0x2c142b(0x334)][_0x11cfef][_0x2c142b(0x129)][_0x5b1a65],_0x5317b9={..._0x1827f6,..._0x18a943};Object[_0x2c142b(0x3d7)](_0x18a943)[_0x2c142b(0x3cc)](_0x54c111=>{_0x18a943[_0x54c111]===void 0x0&&delete _0x5317b9[_0x54c111];});let _0x160d64=_0x4d7b12[_0x2c142b(0xa0)][_0x2c142b(0x45f)](_0x550af4[_0x2c142b(0x38f)](_0x11cfef,_0x5b1a65),_0x1827f6,_0x5317b9);return _0x5317b9[_0x2c142b(0x466)]===_0x4d7b12['BaseFieldType'][_0x2c142b(0x21c)]?_0x2c91fd([...this['_materializeFormulaTableNames'](_0x4f097c),_0x160d64,...this[_0x2c142b(0x38c)](_0x4f097c,_0x11cfef,_0x5b1a65,_0x5317b9)]):_0x160d64;}['changeFieldType'](_0x2bf570,_0x445c52,_0x40c047,_0x2f66b0){const _0xd5e4e5=_0x17666d;return this[_0xd5e4e5(0x2bf)](_0x2bf570,_0x445c52,_0x40c047,_0x2f66b0);}[_0x17666d(0x3b3)](_0x171685,_0x205f24,_0x100f88){const _0x58bfe2=_0x17666d;let _0x6b82e=_0x171685[_0x58bfe2(0x334)][_0x205f24];if(!(_0x6b82e!=null&&_0x6b82e[_0x58bfe2(0x129)][_0x100f88])||_0x6b82e['primaryFieldId']===_0x100f88||_0x100f88===_0x4d7b12[_0x58bfe2(0x36b)])return _0x4d7b12[_0x58bfe2(0xa0)][_0x58bfe2(0x45f)]([_0x58bfe2(0x334),_0x205f24,_0x58bfe2(0x33f)],_0x6b82e==null?void 0x0:_0x6b82e[_0x58bfe2(0x33f)],_0x6b82e==null?void 0x0:_0x6b82e['fieldOrder']);let _0x4e4d64=_0x6b82e[_0x58bfe2(0x33f)]['indexOf'](_0x100f88),_0xbd94c7=Object['values'](_0x6b82e[_0x58bfe2(0x420)])[_0x58bfe2(0x2b8)](_0x1978e6=>{const _0x2f7d32=_0x58bfe2;var _0x40ed16,_0x22eb0a,_0x4f4820,_0x1854eb,_0x5c8285,_0x46fcf0,_0x2234f5;let _0x41209c=[],_0x2e7467=((_0x40ed16=_0x1978e6[_0x2f7d32(0x33f)])==null?void 0x0:_0x40ed16['indexOf'](_0x100f88))??-0x1;_0x2e7467>=0x0&&_0x41209c[_0x2f7d32(0x112)](_0x4d7b12[_0x2f7d32(0xa0)][_0x2f7d32(0x45e)]([..._0x550af4['view'](_0x205f24,_0x1978e6['id']),_0x2f7d32(0x33f),_0x2e7467],_0x100f88));let _0x562885=(_0x22eb0a=_0x1978e6[_0x2f7d32(0x2fd)])==null?void 0x0:_0x22eb0a[_0x100f88];_0x562885!==void 0x0&&_0x41209c['push'](_0x4d7b12['JSON1'][_0x2f7d32(0x45e)]([..._0x550af4[_0x2f7d32(0x365)](_0x205f24,_0x1978e6['id']),_0x2f7d32(0x2fd),_0x100f88],_0x562885));let _0x37c89b=_0x1978e6[_0x2f7d32(0x425)]?{..._0x1978e6[_0x2f7d32(0x425)],'conditions':_0x1978e6[_0x2f7d32(0x425)][_0x2f7d32(0x2ee)]['filter'](_0x1e0c87=>_0x1e0c87['fieldId']!==_0x100f88)}:_0x1978e6[_0x2f7d32(0x425)];_0x37c89b&&_0x37c89b[_0x2f7d32(0x2ee)][_0x2f7d32(0x278)]!==((_0x4f4820=_0x1978e6['filter'])==null?void 0x0:_0x4f4820[_0x2f7d32(0x2ee)][_0x2f7d32(0x278)])&&_0x41209c[_0x2f7d32(0x112)](this['_replaceOptional']([..._0x550af4[_0x2f7d32(0x365)](_0x205f24,_0x1978e6['id']),_0x2f7d32(0x425)],_0x1978e6[_0x2f7d32(0x425)],_0x37c89b));let _0x17a288=(_0x1854eb=_0x1978e6[_0x2f7d32(0x3bb)])==null?void 0x0:_0x1854eb['filter'](_0x44bf6c=>_0x44bf6c[_0x2f7d32(0x424)]!==_0x100f88);_0x17a288&&_0x17a288['length']!==((_0x5c8285=_0x1978e6['sort'])==null?void 0x0:_0x5c8285[_0x2f7d32(0x278)])&&_0x41209c['push'](this[_0x2f7d32(0x33e)]([..._0x550af4['view'](_0x205f24,_0x1978e6['id']),_0x2f7d32(0x3bb)],_0x1978e6[_0x2f7d32(0x3bb)],_0x17a288));let _0x458442=(_0x46fcf0=_0x1978e6[_0x2f7d32(0x161)])==null?void 0x0:_0x46fcf0[_0x2f7d32(0x425)](_0x482b6b=>_0x482b6b[_0x2f7d32(0x424)]!==_0x100f88);_0x458442&&_0x458442[_0x2f7d32(0x278)]!==((_0x2234f5=_0x1978e6[_0x2f7d32(0x161)])==null?void 0x0:_0x2234f5[_0x2f7d32(0x278)])&&_0x41209c[_0x2f7d32(0x112)](this[_0x2f7d32(0x33e)]([..._0x550af4[_0x2f7d32(0x365)](_0x205f24,_0x1978e6['id']),'group'],_0x1978e6[_0x2f7d32(0x161)],_0x458442));let _0x355a5c=_0x1967ac(_0x1978e6[_0x2f7d32(0x39d)],_0x100f88);return JSON['stringify'](_0x355a5c)!==JSON[_0x2f7d32(0x33d)](_0x1978e6[_0x2f7d32(0x39d)])&&_0x41209c[_0x2f7d32(0x112)](_0x4d7b12[_0x2f7d32(0xa0)][_0x2f7d32(0x45f)]([..._0x550af4[_0x2f7d32(0x365)](_0x205f24,_0x1978e6['id']),_0x2f7d32(0x39d)],_0x1978e6[_0x2f7d32(0x39d)],_0x355a5c)),_0x41209c;}),_0x78dd3c=Object[_0x58bfe2(0x3b2)](_0x6b82e['records'])[_0x58bfe2(0x2b8)](_0x385ad3=>Object[_0x58bfe2(0x44a)]['hasOwnProperty'][_0x58bfe2(0x446)](_0x385ad3['values'],_0x100f88)?[_0x4d7b12[_0x58bfe2(0xa0)]['removeOp'](_0x550af4[_0x58bfe2(0x2cb)](_0x205f24,_0x385ad3['id'],_0x100f88),_0x385ad3[_0x58bfe2(0x3b2)][_0x100f88])]:[]);return _0x2c91fd([_0x4d7b12[_0x58bfe2(0xa0)][_0x58bfe2(0x45e)](_0x550af4[_0x58bfe2(0x38f)](_0x205f24,_0x100f88),_0x6b82e['fields'][_0x100f88]),_0x4d7b12[_0x58bfe2(0xa0)][_0x58bfe2(0x45e)](_0x550af4[_0x58bfe2(0x33f)](_0x205f24,_0x4e4d64),_0x100f88),..._0xbd94c7,..._0x78dd3c,...this[_0x58bfe2(0x20e)](_0x6b82e,_0x205f24,_0x1da5e8=>_0x1da5e8[_0x58bfe2(0x24b)](_0x100f88+'\x1f'))]);}['moveField'](_0x3ba206,_0x384b05,_0x4e69bf,_0x5d5e4c){const _0x485263=_0x17666d;let _0x57ff61=_0x3ba206['tables'][_0x384b05][_0x485263(0x33f)];if(_0x4e69bf===_0x4d7b12[_0x485263(0x36b)]||_0x5d5e4c[_0x485263(0xc3)]===_0x4d7b12['BASE_RECORD_ID_FIELD_ID'])throw Error(_0x485263(0x2fc));let _0x469400=_0x3639af(_0x57ff61,_0x4e69bf,_0x5d5e4c);return _0x4d7b12[_0x485263(0xa0)][_0x485263(0x45f)]([_0x485263(0x334),_0x384b05,_0x485263(0x33f)],_0x57ff61,_0x469400);}['createView'](_0x284c4f,_0x4b8aad,_0x20651e,_0x494a38=_0x284c4f['tables'][_0x4b8aad][_0x17666d(0x9c)][_0x17666d(0x278)]){const _0x4c30c8=_0x17666d;return _0x2c91fd([_0x4d7b12[_0x4c30c8(0xa0)][_0x4c30c8(0x12f)](_0x550af4[_0x4c30c8(0x365)](_0x4b8aad,_0x20651e['id']),_0x20651e),_0x4d7b12['JSON1'][_0x4c30c8(0x12f)]([_0x4c30c8(0x334),_0x4b8aad,_0x4c30c8(0x9c),_0x494a38],_0x20651e['id'])]);}[_0x17666d(0x388)](_0x3d7a34,_0xedc1f6,_0x2ef5c1,_0x42cbcf){const _0x2a61d6=_0x17666d;return _0x4d7b12[_0x2a61d6(0xa0)][_0x2a61d6(0x45f)]([..._0x550af4['view'](_0xedc1f6,_0x2ef5c1),_0x2a61d6(0x208)],_0x3d7a34[_0x2a61d6(0x334)][_0xedc1f6][_0x2a61d6(0x420)][_0x2ef5c1][_0x2a61d6(0x208)],_0x42cbcf);}[_0x17666d(0x166)](_0x4a7614,_0x33ef8e,_0x48ad28){const _0xb5c9a6=_0x17666d;let _0x686e52=_0x4a7614[_0xb5c9a6(0x334)][_0x33ef8e],_0x1180c1=_0x686e52[_0xb5c9a6(0x420)][_0x48ad28],_0x1a8a45=_0x686e52[_0xb5c9a6(0x9c)][_0xb5c9a6(0x211)](_0x48ad28);return _0x2c91fd([_0x4d7b12['JSON1'][_0xb5c9a6(0x45e)](_0x550af4[_0xb5c9a6(0x365)](_0x33ef8e,_0x48ad28),_0x1180c1),_0x4d7b12[_0xb5c9a6(0xa0)][_0xb5c9a6(0x45e)]([_0xb5c9a6(0x334),_0x33ef8e,'viewOrder',_0x1a8a45],_0x48ad28)]);}[_0x17666d(0x1b8)](_0x205911,_0x226160,_0x587558,_0x52f606){const _0x267b9a=_0x17666d;let _0x254192=_0x205911[_0x267b9a(0x334)][_0x226160]['viewOrder'],_0x294895=_0x3639af(_0x254192,_0x587558,{'beforeFieldId':_0x52f606[_0x267b9a(0x41e)],'afterFieldId':_0x52f606[_0x267b9a(0x8e)]});return _0x4d7b12['JSON1'][_0x267b9a(0x45f)](['tables',_0x226160,'viewOrder'],_0x254192,_0x294895);}[_0x17666d(0x459)](_0x473df3,_0x3263c7,_0x491f45,_0x51e8f4){const _0x3b2e87=_0x17666d;let _0x1d28a1=_0x473df3[_0x3b2e87(0x334)][_0x3263c7][_0x3b2e87(0x420)][_0x491f45][_0x3b2e87(0x39d)]??{},_0x86e2c5={..._0x1d28a1,..._0x51e8f4};return Object[_0x3b2e87(0x3d7)](_0x51e8f4)[_0x3b2e87(0x3cc)](_0x5975fe=>{_0x51e8f4[_0x5975fe]===void 0x0&&delete _0x86e2c5[_0x5975fe];}),_0x4d7b12[_0x3b2e87(0xa0)][_0x3b2e87(0x45f)]([..._0x550af4[_0x3b2e87(0x365)](_0x3263c7,_0x491f45),_0x3b2e87(0x39d)],_0x1d28a1,_0x86e2c5);}[_0x17666d(0x158)](_0x35d821,_0x49ded6,_0x9bff6d,_0x2b311f){const _0x7e7692=_0x17666d;return this[_0x7e7692(0x33e)]([..._0x550af4['view'](_0x49ded6,_0x9bff6d),_0x7e7692(0x425)],_0x35d821[_0x7e7692(0x334)][_0x49ded6][_0x7e7692(0x420)][_0x9bff6d][_0x7e7692(0x425)],_0x2b311f);}[_0x17666d(0x3bd)](_0x2cf068,_0x358c5c,_0xc4ecad,_0x283880){const _0x328054=_0x17666d;return this[_0x328054(0x33e)]([..._0x550af4[_0x328054(0x365)](_0x358c5c,_0xc4ecad),'sort'],_0x2cf068[_0x328054(0x334)][_0x358c5c][_0x328054(0x420)][_0xc4ecad][_0x328054(0x3bb)],_0x283880);}[_0x17666d(0x135)](_0x48eaaf,_0x48592a,_0x3d0f14,_0x5dfadb){const _0x289410=_0x17666d;return this[_0x289410(0x33e)]([..._0x550af4[_0x289410(0x365)](_0x48592a,_0x3d0f14),_0x289410(0x161)],_0x48eaaf[_0x289410(0x334)][_0x48592a][_0x289410(0x420)][_0x3d0f14][_0x289410(0x161)],_0x5dfadb);}['setViewFieldVisible'](_0x323d30,_0x5dcc36,_0x2cc8b9,_0x28eb2e,_0xce9bf2){const _0x3f150c=_0x17666d;return this[_0x3f150c(0x1f2)](_0x323d30,_0x5dcc36,_0x2cc8b9,_0x28eb2e,{'hidden':!_0xce9bf2});}['setViewFieldWidth'](_0x4eb2da,_0x5521ea,_0x23cf0f,_0x5422f3,_0x3857df){const _0x22f04d=_0x17666d;return this[_0x22f04d(0x1f2)](_0x4eb2da,_0x5521ea,_0x23cf0f,_0x5422f3,{'width':_0x3857df});}['setViewFieldOrder'](_0x285fcf,_0x3e2305,_0x4e7a38,_0xf64b8e,_0x3e8953){const _0x1824fd=_0x17666d;let _0x4f85ef=_0x285fcf[_0x1824fd(0x334)][_0x3e2305][_0x1824fd(0x420)][_0x4e7a38],_0x4b8b04=_0x3639af(_0x4f85ef['fieldOrder']??_0x285fcf[_0x1824fd(0x334)][_0x3e2305][_0x1824fd(0x33f)],_0xf64b8e,_0x3e8953);return this[_0x1824fd(0x33e)]([..._0x550af4[_0x1824fd(0x365)](_0x3e2305,_0x4e7a38),'fieldOrder'],_0x4f85ef[_0x1824fd(0x33f)],_0x4b8b04);}[_0x17666d(0x1f2)](_0x27df9c,_0x290627,_0x1af7ff,_0x1aed9c,_0x50af0b){const _0x5cb3ce=_0x17666d;let _0x32e5ec=_0x27df9c['tables'][_0x290627][_0x5cb3ce(0x420)][_0x1af7ff][_0x5cb3ce(0x2fd)]??{},_0x59c5b1={..._0x32e5ec,[_0x1aed9c]:{..._0x32e5ec[_0x1aed9c],..._0x50af0b}};return this[_0x5cb3ce(0x33e)]([..._0x550af4[_0x5cb3ce(0x365)](_0x290627,_0x1af7ff),_0x5cb3ce(0x2fd)],_0x27df9c[_0x5cb3ce(0x334)][_0x290627][_0x5cb3ce(0x420)][_0x1af7ff][_0x5cb3ce(0x2fd)],_0x59c5b1);}[_0x17666d(0x153)](_0x1ea754,_0x1d1fb8,_0x12405b){const _0x552a90=_0x17666d;let _0x5b8106=_0x1ea754['tables'][_0x1d1fb8],_0x31a367=new Set(_0x12405b['map'](_0x499153=>_0x499153['id'])),_0x2ce45c=[...Object['values'](_0x5b8106[_0x552a90(0x14c)])['filter'](_0x5743ee=>!_0x31a367[_0x552a90(0x1eb)](_0x5743ee['id'])),..._0x12405b][_0x552a90(0x3bb)]((_0xaf237f,_0x5af003)=>String(_0xaf237f[_0x552a90(0x46d)]??_0xaf237f['id'])[_0x552a90(0x31b)](String(_0x5af003[_0x552a90(0x46d)]??_0x5af003['id'])))[_0x552a90(0xd9)](_0x3269df=>_0x3269df['id']),_0x5bdf21=[..._0x550af4[_0x552a90(0x39f)](_0x1d1fb8),'recordOrder'];return _0x5b8106[_0x552a90(0x370)]?_0x4d7b12['JSON1']['replaceOp'](_0x5bdf21,_0x5b8106[_0x552a90(0x370)],_0x2ce45c):_0x4d7b12['JSON1'][_0x552a90(0x12f)](_0x5bdf21,_0x2ce45c);}[_0x17666d(0xb4)](_0x1a34b3,_0x2261ad=new Set()){const _0x5d68bf=_0x17666d;let _0x1adb11=(0x0,_0x4d7b12[_0x5d68bf(0x17c)])(_0x1a34b3);return Object['values'](_0x1a34b3[_0x5d68bf(0x334)])['filter'](_0x16ba01=>!_0x2261ad[_0x5d68bf(0x1eb)](_0x16ba01['id']))[_0x5d68bf(0x3bb)]((_0x2ef599,_0x23c4ee)=>_0x2ef599['id'][_0x5d68bf(0x31b)](_0x23c4ee['id']))[_0x5d68bf(0x2b8)](_0x4fe5fa=>{const _0x160202=_0x5d68bf;let _0x4b0a6a=_0x1adb11[_0x160202(0x9f)](_0x4fe5fa['id']);return!_0x4b0a6a||_0x4fe5fa[_0x160202(0x11c)]===_0x4b0a6a?[]:[this[_0x160202(0x33e)]([..._0x550af4['table'](_0x4fe5fa['id']),_0x160202(0x11c)],_0x4fe5fa[_0x160202(0x11c)],_0x4b0a6a)];});}[_0x17666d(0x38c)](_0x187f58,_0x4e31ea,_0x4be34b,_0x10092d){const _0x522fde=_0x17666d;var _0x5c58dd,_0x1c862f;let _0x348a50=_0x4cff78(_0x187f58[_0x522fde(0x334)][_0x4e31ea]),_0x5a3f87=String(((_0x5c58dd=_0x10092d[_0x522fde(0x39d)])==null?void 0x0:_0x5c58dd['formula'])??'')[_0x522fde(0x11d)](),_0x3fd0bb=(_0x1c862f=_0x348a50[_0x522fde(0x118)])==null?void 0x0:_0x1c862f[_0x4be34b];if(_0x3fd0bb==null)return[];let _0xddc86d=_0x348a50[_0x522fde(0x370)]??Object[_0x522fde(0x3d7)](_0x348a50['records']),_0x30b0c0=_0xddc86d['map'](_0x39c032=>{const _0x4dc560=_0x522fde;var _0x3efc30;return(_0x3efc30=_0x348a50[_0x4dc560(0x3db)])==null?void 0x0:_0x3efc30[_0x39c032];})[_0x522fde(0x3b6)](_0x3d01d4=>_0x3d01d4!=null);return _0xddc86d[_0x522fde(0x2b8)](_0xa12aad=>{const _0x44b463=_0x522fde;var _0x47e01c,_0x43fcb9;let _0x1dffc3=(_0x47e01c=_0x348a50[_0x44b463(0x3db)])==null?void 0x0:_0x47e01c[_0xa12aad];if(_0x1dffc3==null)return[];let _0x4f439f=(_0x43fcb9=_0x348a50[_0x44b463(0x17b)])==null||(_0x43fcb9=_0x43fcb9[_0x1dffc3])==null?void 0x0:_0x43fcb9[_0x3fd0bb],_0x45fc12=_0x5a3f87?_0x1dffc3===_0x30b0c0?{'f':_0x5a3f87,'si':_0x4be34b}:{'si':_0x4be34b}:{'v':null,'t':null};return[this[_0x44b463(0x33e)](_0x550af4[_0x44b463(0x17b)](_0x4e31ea,_0x1dffc3,_0x3fd0bb),_0x4f439f,_0x45fc12)];});}[_0x17666d(0x3fd)](_0x4278a6,_0x1afabc,_0x20571d,_0x27475b,_0xb5b62c){const _0x125952=_0x17666d;var _0x4282d3;let _0x13eab1=_0x30d8b3(_0x27475b,_0x20571d),_0x2dbb30=_0xb5b62c['map']((_0x1c9c84,_0x4ff122)=>String(_0x1c9c84['id']??_0x13eab1+'\x1f'+_0x4ff122));return[this[_0x125952(0x33e)](_0x550af4[_0x125952(0xfc)](_0x1afabc,_0x13eab1),(_0x4282d3=_0x4278a6[_0x125952(0x171)])==null||(_0x4282d3=_0x4282d3[_0x125952(0xf4)])==null?void 0x0:_0x4282d3[_0x13eab1],_0x2dbb30),..._0xb5b62c[_0x125952(0xd9)]((_0x60facc,_0x36ea3e)=>{const _0x5cf320=_0x125952;var _0x1cd6bc;let _0xec7684=_0x2dbb30[_0x36ea3e];return this[_0x5cf320(0x33e)](_0x550af4[_0x5cf320(0x227)](_0x1afabc,_0xec7684),(_0x1cd6bc=_0x4278a6[_0x5cf320(0x171)])==null||(_0x1cd6bc=_0x1cd6bc[_0x5cf320(0x24d)])==null?void 0x0:_0x1cd6bc[_0xec7684],{..._0x60facc,'id':_0xec7684});})];}[_0x17666d(0x20e)](_0x20faf9,_0x4ce5a3,_0x12e940){const _0x5c3f03=_0x17666d;var _0x53de56;let _0x21007b=((_0x53de56=_0x20faf9['resources'])==null?void 0x0:_0x53de56[_0x5c3f03(0xf4)])??{},_0x543477=Object[_0x5c3f03(0x45d)](_0x21007b)['filter'](([_0x11f46d])=>_0x12e940(_0x11f46d));if(!_0x543477[_0x5c3f03(0x278)])return[];let _0x53f0ad=new Set(Object['entries'](_0x21007b)[_0x5c3f03(0x425)](([_0x183449])=>!_0x12e940(_0x183449))[_0x5c3f03(0x2b8)](([,_0x3ba11e])=>_0x3ba11e)),_0xb74934=new Set(_0x543477[_0x5c3f03(0x2b8)](([,_0x5f1d5e])=>_0x5f1d5e));return[..._0x543477[_0x5c3f03(0xd9)](([_0x39731f,_0x1bc4df])=>_0x4d7b12['JSON1'][_0x5c3f03(0x45e)](_0x550af4[_0x5c3f03(0xfc)](_0x4ce5a3,_0x39731f),_0x1bc4df)),...Array[_0x5c3f03(0x2ba)](_0xb74934)['flatMap'](_0x10bda3=>{const _0x417faa=_0x5c3f03;var _0x3ce854;let _0x171fd5=(_0x3ce854=_0x20faf9[_0x417faa(0x171)])==null||(_0x3ce854=_0x3ce854['attachments'])==null?void 0x0:_0x3ce854[_0x10bda3];return _0x171fd5!==void 0x0&&!_0x53f0ad[_0x417faa(0x1eb)](_0x10bda3)?[_0x4d7b12[_0x417faa(0xa0)]['removeOp'](_0x550af4[_0x417faa(0x227)](_0x4ce5a3,_0x10bda3),_0x171fd5)]:[];})];}[_0x17666d(0x33e)](_0x5916f1,_0x5cbe4b,_0x2e5100){const _0x420233=_0x17666d;return _0x5cbe4b===void 0x0?_0x4d7b12['JSON1'][_0x420233(0x12f)](_0x5916f1,_0x2e5100):_0x4d7b12[_0x420233(0xa0)][_0x420233(0x45f)](_0x5916f1,_0x5cbe4b,_0x2e5100);}};function _0x2245b0(_0x4b61d5,_0x206e4e,_0x3b9a6f){const _0x560cf1=_0x17666d;var _0x5535c0,_0x3f37cf,_0x4c08bd,_0x3bd084;let _0x2b1506=(_0x5535c0=_0x4b61d5[_0x560cf1(0x3db)])==null?void 0x0:_0x5535c0[_0x206e4e],_0x4cc28f=(_0x3f37cf=_0x4b61d5[_0x560cf1(0x118)])==null?void 0x0:_0x3f37cf[_0x3b9a6f];return _0x2b1506!=null&&_0x4cc28f!=null&&((_0x4c08bd=_0x4b61d5[_0x560cf1(0x357)])==null?void 0x0:_0x4c08bd[_0x2b1506])===_0x206e4e&&((_0x3bd084=_0x4b61d5[_0x560cf1(0x1f6)])==null?void 0x0:_0x3bd084[_0x4cc28f])===_0x3b9a6f&&_0x4b61d5['cellData']!=null;}function _0x4ba440(_0x41249f,_0x25d5c1,_0x24d5c3){const _0x50cee8=_0x17666d;var _0x11527e,_0x56886a;return((_0x11527e=_0x41249f[_0x50cee8(0x357)])==null?void 0x0:_0x11527e[_0x25d5c1])!=null&&((_0x56886a=_0x41249f[_0x50cee8(0x1f6)])==null?void 0x0:_0x56886a[_0x24d5c3])!=null&&_0x41249f['cellData']!=null;}function _0x3639af(_0x16ea8e,_0x3f9656,_0x5b7d0e){const _0x53fb62=_0x17666d;let _0x1242ef=_0x16ea8e[_0x53fb62(0x425)](_0x228cad=>_0x228cad!==_0x3f9656),_0x4b4512=_0x5b7d0e[_0x53fb62(0xc3)]?_0x1242ef['indexOf'](_0x5b7d0e[_0x53fb62(0xc3)]):_0x5b7d0e[_0x53fb62(0x193)]?_0x1242ef[_0x53fb62(0x211)](_0x5b7d0e[_0x53fb62(0x193)])+0x1:_0x1242ef[_0x53fb62(0x278)];return _0x1242ef['splice'](_0x4b4512<0x0?_0x1242ef[_0x53fb62(0x278)]:_0x4b4512,0x0,_0x3f9656),_0x1242ef;}function _0x8efe07(_0x56ad0b,_0x141335,_0x22a7aa){const _0xb6c3b0=_0x17666d;let _0x5c55be=_0x56ad0b[_0xb6c3b0(0x425)](_0x1a6b17=>_0x1a6b17!==_0x141335);return _0x5c55be[_0xb6c3b0(0x260)](_0x5e857c(_0x22a7aa,_0x5c55be[_0xb6c3b0(0x278)]),0x0,_0x141335),_0x5c55be;}function _0x1967ac(_0x3ac3ec,_0x104e1b,_0x466caa){const _0x320d60=_0x17666d;if(Array[_0x320d60(0x46e)](_0x3ac3ec))return _0x466caa===_0x320d60(0x275)?_0x3ac3ec['filter'](_0x3f510e=>_0x3f510e!==_0x104e1b):_0x3ac3ec[_0x320d60(0x2b8)](_0xa6a983=>{const _0x43bbe4=_0x320d60;if(_0xa6a983&&typeof _0xa6a983==_0x43bbe4(0x297)&&!Array[_0x43bbe4(0x46e)](_0xa6a983)&&_0xa6a983[_0x43bbe4(0x424)]===_0x104e1b)return[];let _0x538406=_0x1967ac(_0xa6a983,_0x104e1b);return _0x538406===void 0x0?[]:[_0x538406];});if(!_0x3ac3ec||typeof _0x3ac3ec!=_0x320d60(0x297))return _0x466caa!=null&&_0x466caa[_0x320d60(0x458)](_0x320d60(0x416))&&_0x3ac3ec===_0x104e1b?void 0x0:_0x3ac3ec;let _0xd24190=_0x3ac3ec;if(_0xd24190[_0x320d60(0x424)]!==_0x104e1b)return Object[_0x320d60(0x88)](Object['entries'](_0xd24190)[_0x320d60(0x2b8)](([_0x4a9a87,_0xd02502])=>{if(_0x4a9a87===_0x104e1b&&_0x466caa==='fieldSettings')return[];let _0x1971d7=_0x1967ac(_0xd02502,_0x104e1b,_0x4a9a87);return _0x1971d7===void 0x0?[]:[[_0x4a9a87,_0x1971d7]];}));}function _0x5e857c(_0x24e3bf,_0x3af980){const _0x15e72e=_0x17666d;return Math['max'](0x0,Math[_0x15e72e(0x3d6)](_0x24e3bf,_0x3af980));}function _0xae8c7f(_0x2a1626){'@babel/helpers - typeof';const _0x458e5d=_0x17666d;return _0xae8c7f=typeof Symbol==_0x458e5d(0x9e)&&typeof Symbol[_0x458e5d(0xfe)]==_0x458e5d(0x367)?function(_0x4bffbd){return typeof _0x4bffbd;}:function(_0x4aa33a){const _0x1a266a=_0x458e5d;return _0x4aa33a&&typeof Symbol==_0x1a266a(0x9e)&&_0x4aa33a[_0x1a266a(0x31a)]===Symbol&&_0x4aa33a!==Symbol[_0x1a266a(0x44a)]?_0x1a266a(0x367):typeof _0x4aa33a;},_0xae8c7f(_0x2a1626);}function _0x559b60(_0xe8fc27,_0x214999){const _0x31af86=_0x17666d;if(_0xae8c7f(_0xe8fc27)!=_0x31af86(0x297)||!_0xe8fc27)return _0xe8fc27;var _0x10cb9a=_0xe8fc27[Symbol[_0x31af86(0x22d)]];if(_0x10cb9a!==void 0x0){var _0x4bae46=_0x10cb9a[_0x31af86(0x446)](_0xe8fc27,_0x214999||'default');if(_0xae8c7f(_0x4bae46)!='object')return _0x4bae46;throw TypeError(_0x31af86(0x35d));}return(_0x214999===_0x31af86(0x3af)?String:Number)(_0xe8fc27);}function _0x41df6e(_0x45ae09){const _0x1f8bcd=_0x17666d;var _0x4b2b8b=_0x559b60(_0x45ae09,_0x1f8bcd(0x3af));return _0xae8c7f(_0x4b2b8b)==_0x1f8bcd(0x367)?_0x4b2b8b:_0x4b2b8b+'';}function _0x4aa85f(_0x173f21,_0x2d7de4,_0xdf27be){return(_0x2d7de4=_0x41df6e(_0x2d7de4))in _0x173f21?Object['defineProperty'](_0x173f21,_0x2d7de4,{'value':_0xdf27be,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x173f21[_0x2d7de4]=_0xdf27be,_0x173f21;}let _0x336523=(0x0,_0x4d7b12[_0x17666d(0x1b4)])(_0x17666d(0x3dd));var _0x21739f=class extends _0x4d7b12[_0x17666d(0x134)]{constructor(..._0x44e923){const _0x38cd69=_0x17666d;super(..._0x44e923),_0x4aa85f(this,_0x38cd69(0x1c0),new Map());}[_0x17666d(0x2af)](_0x41d719){const _0x2839cf=_0x17666d;return this[_0x2839cf(0x1c0)][_0x2839cf(0x12c)](_0x41d719[_0x2839cf(0x466)],_0x41d719),(0x0,_0x4d7b12[_0x2839cf(0xf6)])(()=>this[_0x2839cf(0x1c0)][_0x2839cf(0x205)](_0x41d719['type']));}['get'](_0x4c694b){const _0xd1aa9a=_0x17666d;let _0x5e13a9=this[_0xd1aa9a(0x1c0)][_0xd1aa9a(0x9f)](_0x4c694b);if(!_0x5e13a9)throw Error(_0xd1aa9a(0x13d)+_0x4c694b+_0xd1aa9a(0x169));return _0x5e13a9;}[_0x17666d(0x125)](_0x97fa99){return this['_plugins']['get'](_0x97fa99);}[_0x17666d(0x121)](){const _0x44e9e7=_0x17666d;return Array[_0x44e9e7(0x2ba)](this['_plugins'][_0x44e9e7(0x3b2)]());}};let _0x2403d4=(0x0,_0x4d7b12[_0x17666d(0x1b4)])(_0x17666d(0x1e3));var _0x521723=class{constructor(){const _0x5a3548=_0x17666d;_0x4aa85f(this,_0x5a3548(0x16d),new Map()),_0x4aa85f(this,_0x5a3548(0x2d8),new Map()),_0x4aa85f(this,'_fieldPermissions',new Map()),_0x4aa85f(this,_0x5a3548(0x460),new Map());}[_0x17666d(0xf1)](_0x6e3fb5){const _0x57b378=_0x17666d;var _0x5686f1;return((_0x5686f1=this['_basePermissions'][_0x57b378(0x9f)](_0x6e3fb5))==null?void 0x0:_0x5686f1[_0x57b378(0x336)])??!0x0;}['canDeleteTable'](_0x4d646c){const _0xbe8453=_0x17666d;var _0x1d54df;return((_0x1d54df=this[_0xbe8453(0x2d8)]['get'](_0x4d646c))==null?void 0x0:_0x1d54df[_0xbe8453(0x205)])??!0x0;}[_0x17666d(0x42d)](_0x3795bc){const _0x36c559=_0x17666d;var _0x1fed7e;return((_0x1fed7e=this[_0x36c559(0x2d8)]['get'](_0x3795bc))==null?void 0x0:_0x1fed7e['createField'])??!0x0;}[_0x17666d(0x20c)](_0x1835ec,_0x4b2466){const _0x396512=_0x17666d;var _0x32acdd;return((_0x32acdd=this[_0x396512(0x1fd)][_0x396512(0x9f)](_0x23d815(_0x1835ec,_0x4b2466)))==null?void 0x0:_0x32acdd[_0x396512(0x345)])??!0x0;}[_0x17666d(0x342)](_0x4ac487,_0x28dd9c){const _0x1a5f2d=_0x17666d;var _0x106a9d;return((_0x106a9d=this[_0x1a5f2d(0x1fd)]['get'](_0x23d815(_0x4ac487,_0x28dd9c)))==null?void 0x0:_0x106a9d[_0x1a5f2d(0x205)])??!0x0;}[_0x17666d(0x39a)](_0x4e3d80){const _0x5269ae=_0x17666d;var _0x2f6a62;return((_0x2f6a62=this[_0x5269ae(0x2d8)][_0x5269ae(0x9f)](_0x4e3d80))==null?void 0x0:_0x2f6a62[_0x5269ae(0x3a6)])??!0x0;}[_0x17666d(0x1f8)](_0x327be4,_0x3ea0af){const _0x4998cc=_0x17666d;var _0x3e4b2f;return((_0x3e4b2f=this[_0x4998cc(0x460)][_0x4998cc(0x9f)](_0x892be(_0x327be4,_0x3ea0af)))==null?void 0x0:_0x3e4b2f['delete'])??!0x0;}[_0x17666d(0x2ac)](_0x4b3036,_0x26be54,_0x2a3657){const _0x1a42cd=_0x17666d;var _0x1295c8;let _0x247f7d=this[_0x1a42cd(0x1fd)][_0x1a42cd(0x9f)](_0x23d815(_0x4b3036,_0x2a3657));return(((_0x1295c8=this[_0x1a42cd(0x460)][_0x1a42cd(0x9f)](_0x892be(_0x4b3036,_0x26be54)))==null?void 0x0:_0x1295c8[_0x1a42cd(0x1a3)])??!0x0)&&((_0x247f7d==null?void 0x0:_0x247f7d[_0x1a42cd(0x345)])??!0x0)&&((_0x247f7d==null?void 0x0:_0x247f7d[_0x1a42cd(0x1a3)])??!0x0);}[_0x17666d(0x274)](_0x24083e){const _0x187383=_0x17666d;var _0x173566;return((_0x173566=this['_tablePermissions'][_0x187383(0x9f)](_0x24083e))==null?void 0x0:_0x173566['manageView'])??!0x0;}[_0x17666d(0x25a)](_0x54bf9f,_0x3d36a1){const _0x589979=_0x17666d;this[_0x589979(0x16d)][_0x589979(0x12c)](_0x54bf9f,{...this[_0x589979(0x16d)][_0x589979(0x9f)](_0x54bf9f),..._0x3d36a1});}[_0x17666d(0xd4)](_0x4fdc99,_0x1fe39d){const _0x463cca=_0x17666d;this[_0x463cca(0x2d8)][_0x463cca(0x12c)](_0x4fdc99,{...this[_0x463cca(0x2d8)][_0x463cca(0x9f)](_0x4fdc99),..._0x1fe39d});}[_0x17666d(0x30f)](_0x190ffc,_0x383d3e,_0x420b72){const _0x13a288=_0x17666d;let _0x32c66a=_0x23d815(_0x190ffc,_0x383d3e);this[_0x13a288(0x1fd)]['set'](_0x32c66a,{...this[_0x13a288(0x1fd)][_0x13a288(0x9f)](_0x32c66a),..._0x420b72});}['setRecordPermission'](_0x2e0c31,_0x4131f6,_0x1ee0d6){const _0x211f7=_0x17666d;let _0x181ed2=_0x892be(_0x2e0c31,_0x4131f6);this[_0x211f7(0x460)][_0x211f7(0x12c)](_0x181ed2,{...this[_0x211f7(0x460)][_0x211f7(0x9f)](_0x181ed2),..._0x1ee0d6});}[_0x17666d(0x2da)](_0x1da613){const _0x3599f5=_0x17666d;this['_basePermissions'][_0x3599f5(0x205)](_0x1da613);}[_0x17666d(0xc8)](_0x2927ef){const _0x581698=_0x17666d;this[_0x581698(0x2d8)]['delete'](_0x2927ef);}['clearFieldPermission'](_0x1d6963,_0x403b77){const _0x41d5d7=_0x17666d;this[_0x41d5d7(0x1fd)]['delete'](_0x23d815(_0x1d6963,_0x403b77));}[_0x17666d(0x12a)](_0x5b078e,_0x5da29f){const _0x237dcd=_0x17666d;this[_0x237dcd(0x460)][_0x237dcd(0x205)](_0x892be(_0x5b078e,_0x5da29f));}[_0x17666d(0x2de)](){const _0x378fdb=_0x17666d;return{'bases':Object['fromEntries'](this[_0x378fdb(0x16d)]),'tables':Object[_0x378fdb(0x88)](this[_0x378fdb(0x2d8)]),'fields':Object['fromEntries'](this[_0x378fdb(0x1fd)]),'records':Object[_0x378fdb(0x88)](this['_recordPermissions'])};}};function _0x23d815(_0x241779,_0x36d8b3){return _0x241779+'\x1f'+_0x36d8b3;}function _0x892be(_0x1329a3,_0x3eff79){return _0x1329a3+'\x1f'+_0x3eff79;}function _0x2661c4(_0x24e0e8,_0x3ef2a4){return function(_0x259049,_0x501ce6){_0x3ef2a4(_0x259049,_0x501ce6,_0x24e0e8);};}function _0x505956(_0x7792c5,_0x5be58d,_0x189ef0,_0x4cb05c){const _0x348bf1=_0x17666d;var _0x33d0b8=arguments[_0x348bf1(0x278)],_0x360d49=_0x33d0b8<0x3?_0x5be58d:_0x4cb05c===null?_0x4cb05c=Object[_0x348bf1(0x38a)](_0x5be58d,_0x189ef0):_0x4cb05c,_0x42c371;if(typeof Reflect==_0x348bf1(0x297)&&typeof Reflect[_0x348bf1(0xb3)]=='function')_0x360d49=Reflect[_0x348bf1(0xb3)](_0x7792c5,_0x5be58d,_0x189ef0,_0x4cb05c);else{for(var _0x2cf816=_0x7792c5['length']-0x1;_0x2cf816>=0x0;_0x2cf816--)(_0x42c371=_0x7792c5[_0x2cf816])&&(_0x360d49=(_0x33d0b8<0x3?_0x42c371(_0x360d49):_0x33d0b8>0x3?_0x42c371(_0x5be58d,_0x189ef0,_0x360d49):_0x42c371(_0x5be58d,_0x189ef0))||_0x360d49);}return _0x33d0b8>0x3&&_0x360d49&&Object[_0x348bf1(0x242)](_0x5be58d,_0x189ef0,_0x360d49),_0x360d49;}let _0x401e28=(0x0,_0x4d7b12['createIdentifier'])('base.command.service'),_0x17807c=class{constructor(_0x41144a,_0x2ff565=_0x590b82(),_0x17c2ed={}){const _0x4f539d=_0x17666d;this[_0x4f539d(0x221)]=_0x41144a,this[_0x4f539d(0x250)]=_0x2ff565,this[_0x4f539d(0xc7)]=_0x17c2ed,_0x4aa85f(this,_0x4f539d(0x273),new _0x7bf11a()),_0x4aa85f(this,_0x4f539d(0x26f),new _0x51bfae());}[_0x17666d(0x336)](_0x286f11,_0x2c468f,_0x5297c4){const _0x560ef5=_0x17666d;if(!this[_0x560ef5(0x221)][_0x560ef5(0xf1)](_0x286f11['getUnitId']()))throw Error(_0x560ef5(0x38b));(0x0,_0x4d7b12[_0x560ef5(0x2c3)])(_0x2c468f),this['_apply'](_0x286f11,this['_factory'][_0x560ef5(0x336)](_0x286f11[_0x560ef5(0x2de)](),_0x2c468f,_0x5297c4));}['renameTable'](_0xbc18,_0x52eca5,_0x466cde){const _0x373d8f=_0x17666d;this[_0x373d8f(0x1a5)](_0xbc18,this[_0x373d8f(0x273)][_0x373d8f(0x2eb)](_0xbc18[_0x373d8f(0x2de)](),_0x52eca5,_0x466cde));}[_0x17666d(0x29c)](_0x54e52c,_0x4d2ece){const _0x25c580=_0x17666d;if(!this[_0x25c580(0x221)][_0x25c580(0x252)](_0x4d2ece))throw Error(_0x25c580(0x37d));let _0x3df524=_0x26c103(_0x54e52c[_0x25c580(0x2de)](),_0x4d2ece);if(_0x3df524[_0x25c580(0x278)]>0x0)throw Error(_0x25c580(0x2fa)+_0x3df524[_0x25c580(0xd9)](_0x5870ad=>_0x5870ad[_0x25c580(0x10c)]+'.'+_0x5870ad[_0x25c580(0x424)])[_0x25c580(0x1ef)](',\x20')+').');this['_apply'](_0x54e52c,this[_0x25c580(0x273)]['deleteTable'](_0x54e52c[_0x25c580(0x2de)](),_0x4d2ece));}[_0x17666d(0x2a5)](_0x2c5769,_0x35f638,_0xe5b06,_0x34dafe,_0x1c16a0){const _0x367e18=_0x17666d;this[_0x367e18(0x1a5)](_0x2c5769,this[_0x367e18(0x45b)](_0x2c5769,_0x35f638,_0xe5b06,_0x34dafe,_0x1c16a0));}['setRecordValues'](_0x3c419a,_0x12d2cc,_0x3c3dcf){const _0xc89fc3=_0x17666d;this[_0xc89fc3(0x1a5)](_0x3c419a,this[_0xc89fc3(0x150)](_0x3c419a,_0x12d2cc,_0x3c3dcf));}[_0x17666d(0x3a6)](_0x5d83f7,_0x444c70,_0x1ca5d7){const _0x2f1e8e=_0x17666d;this[_0x2f1e8e(0x1a5)](_0x5d83f7,this[_0x2f1e8e(0x187)](_0x5d83f7,_0x444c70,_0x1ca5d7));}[_0x17666d(0x45b)](_0x25c8a1,_0x280a0e,_0x2cff6d,_0x2136e9,_0x4ed331){const _0x3930ff=_0x17666d;let _0x54f69e=_0x25c8a1['getSnapshot'](),_0x2262e8=this[_0x3930ff(0x3f3)](_0x54f69e,_0x280a0e,_0x2cff6d,_0x2136e9,_0x4ed331),_0x4ca5cc=this[_0x3930ff(0x26a)](_0x54f69e,_0x280a0e,_0x2cff6d,{[_0x2136e9]:_0x2262e8});return this[_0x3930ff(0x273)][_0x3930ff(0x3f4)](_0x54f69e,_0x280a0e,[_0x4ca5cc]);}[_0x17666d(0x150)](_0x2c82b9,_0x4adee6,_0x46d20a){const _0x4583cb=_0x17666d;let _0x279713=_0x2c82b9[_0x4583cb(0x2de)](),_0x28f8ba=_0x46d20a['map'](_0x59bd2f=>this[_0x4583cb(0x26a)](_0x279713,_0x4adee6,_0x59bd2f[_0x4583cb(0x23d)],{...Object[_0x4583cb(0x88)](Object[_0x4583cb(0x45d)](_0x59bd2f[_0x4583cb(0x3b2)])[_0x4583cb(0xd9)](([_0xdd6151,_0x184c91])=>[_0xdd6151,this[_0x4583cb(0x3f3)](_0x279713,_0x4adee6,_0x59bd2f[_0x4583cb(0x23d)],_0xdd6151,_0x184c91)]))}));return this[_0x4583cb(0x273)]['setRecordValues'](_0x279713,_0x4adee6,_0x28f8ba);}[_0x17666d(0x187)](_0x4175b5,_0x406298,_0x5f49c3){const _0x4219db=_0x17666d;if(!this[_0x4219db(0x221)][_0x4219db(0x39a)](_0x406298))throw Error('[BaseCommandService]:\x20cannot\x20create\x20record.');let _0xb3d34b=_0x4175b5[_0x4219db(0x2de)](),_0x23ad9f=this[_0x4219db(0x2b9)](_0xb3d34b[_0x4219db(0x334)][_0x406298]);return this[_0x4219db(0x273)][_0x4219db(0x3a6)](_0xb3d34b,_0x406298,this[_0x4219db(0x46c)](_0xb3d34b,_0x406298,_0x5f49c3,_0x23ad9f));}[_0x17666d(0x393)](_0x2d2db2,_0x5ec686,_0x1416e6){const _0x159f77=_0x17666d;if(!this[_0x159f77(0x221)][_0x159f77(0x39a)](_0x5ec686))throw Error(_0x159f77(0x13a));let _0x1524cd=_0x2d2db2[_0x159f77(0x2de)]();return _0x1b2201(_0x159f77(0x28d),()=>{const _0x5716bb=_0x159f77;let _0xb8089b=this['_createNumberingAllocators'](_0x1524cd['tables'][_0x5ec686]);return this['_factory'][_0x5716bb(0x3b0)](_0x1524cd,_0x5ec686,_0x1416e6[_0x5716bb(0xd9)](_0x1bde7a=>this[_0x5716bb(0x46c)](_0x1524cd,_0x5ec686,_0x1bde7a,_0xb8089b)));},{'existingRecords':Object['keys'](_0x1524cd[_0x159f77(0x334)][_0x5ec686]['records'])[_0x159f77(0x278)],'records':_0x1416e6['length']});}[_0x17666d(0x1cd)](_0x4b8a1b,_0x379258,_0x46bafd,_0xe16ca1,_0x4851ad){const _0x5c4456=_0x17666d;if(!this[_0x5c4456(0x221)]['canCreateField'](_0x379258))throw Error(_0x5c4456(0x2cd));let _0x346940=_0x4b8a1b[_0x5c4456(0x2de)]();if(this[_0x5c4456(0x2ff)](_0x346940,_0x46bafd),_0xe16ca1===0x0)throw Error(_0x5c4456(0x272));let _0x19ac2b=this[_0x5c4456(0x273)]['createField'](_0x346940,_0x379258,{'field':_0x46bafd,'index':_0xe16ca1,'viewIndexes':_0x4851ad}),_0x2064b4=this[_0x5c4456(0x405)](_0x346940,_0x379258,_0x46bafd);if(!_0x2064b4['length'])return _0x19ac2b;let _0x569363=this[_0x5c4456(0x26f)][_0x5c4456(0x344)](_0x346940,_0x19ac2b);return _0x2c91fd([_0x19ac2b,this[_0x5c4456(0x273)]['setRecordValues'](_0x569363,_0x379258,_0x2064b4)]);}[_0x17666d(0x411)](_0x13934a,_0x2fea61,_0x2d862e){const _0x23c83d=_0x17666d;if(!this['_permissionService'][_0x23c83d(0x1f8)](_0x2fea61,_0x2d862e))throw Error(_0x23c83d(0x17d));this['_apply'](_0x13934a,this[_0x23c83d(0x273)][_0x23c83d(0x411)](_0x13934a[_0x23c83d(0x2de)](),_0x2fea61,_0x2d862e));}['duplicateRecord'](_0x30282e,_0x9f6d7a,_0x136732,_0x394e0e){const _0x456b58=_0x17666d;this[_0x456b58(0x1a5)](_0x30282e,this['_factory'][_0x456b58(0x16b)](_0x30282e[_0x456b58(0x2de)](),_0x9f6d7a,_0x136732,{..._0x394e0e,'values':{..._0x394e0e['values'],[_0x4d7b12['BASE_RECORD_ID_FIELD_ID']]:_0x394e0e['id']}}));}[_0x17666d(0x1bc)](_0x1a5670,_0x36e035,_0x2c86ce,_0x1173e3){const _0x4fd8e6=_0x17666d;this['_apply'](_0x1a5670,this[_0x4fd8e6(0x273)][_0x4fd8e6(0x1bc)](_0x1a5670[_0x4fd8e6(0x2de)](),_0x36e035,_0x2c86ce,_0x1173e3));}[_0x17666d(0x468)](_0x361ac1,_0x506868,_0x5be98b,_0x3dfe1f,_0x7cd038){const _0x2e0546=_0x17666d;this['_apply'](_0x361ac1,this[_0x2e0546(0x1cd)](_0x361ac1,_0x506868,_0x5be98b,_0x3dfe1f,_0x7cd038));}[_0x17666d(0x2bf)](_0x105410,_0x64df19,_0xd2c1e5,_0x3ecbf2){const _0x5040e0=_0x17666d;var _0x2313e0;if(!this[_0x5040e0(0x221)][_0x5040e0(0x20c)](_0x64df19,_0xd2c1e5))throw Error(_0x5040e0(0x2f0));let _0x109a96=_0x105410[_0x5040e0(0x2de)](),_0x1e4bcf=(_0x2313e0=_0x109a96['tables'][_0x64df19])==null?void 0x0:_0x2313e0[_0x5040e0(0x129)][_0xd2c1e5];if(!_0x1e4bcf||_0xd2c1e5===_0x4d7b12[_0x5040e0(0x36b)])throw Error('[BaseCommandService]:\x20cannot\x20edit\x20record-id.');this[_0x5040e0(0x2ff)](_0x109a96,{..._0x1e4bcf,..._0x3ecbf2}),this[_0x5040e0(0x1a5)](_0x105410,this[_0x5040e0(0x273)][_0x5040e0(0x2bf)](_0x109a96,_0x64df19,_0xd2c1e5,_0x3ecbf2));}[_0x17666d(0x8b)](_0x4ed522,_0x263a95,_0x217971,_0x199238){const _0x265a7e=_0x17666d;var _0x446ecb;if(!this[_0x265a7e(0x221)][_0x265a7e(0x20c)](_0x263a95,_0x217971))throw Error(_0x265a7e(0x2f0));let _0x22f7ef=_0x4ed522[_0x265a7e(0x2de)](),_0x581e33=(_0x446ecb=_0x22f7ef[_0x265a7e(0x334)][_0x263a95])==null?void 0x0:_0x446ecb[_0x265a7e(0x129)][_0x217971];if(!_0x581e33||_0x217971===_0x4d7b12[_0x265a7e(0x36b)])throw Error(_0x265a7e(0x42b));this['_assertFieldDefinition'](_0x22f7ef,{..._0x581e33,..._0x199238}),this[_0x265a7e(0x1a5)](_0x4ed522,this[_0x265a7e(0x273)][_0x265a7e(0x8b)](_0x22f7ef,_0x263a95,_0x217971,_0x199238));}['deleteField'](_0x4ddb60,_0xbdb502,_0x2e6e51){const _0x3b7c60=_0x17666d;var _0x2f40c7;if(((_0x2f40c7=_0x4ddb60[_0x3b7c60(0x2de)]()[_0x3b7c60(0x334)][_0xbdb502])==null?void 0x0:_0x2f40c7[_0x3b7c60(0x455)])===_0x2e6e51||_0x2e6e51===_0x4d7b12[_0x3b7c60(0x36b)])throw Error('[BaseCommandService]:\x20cannot\x20delete\x20primary\x20field.');if(!this[_0x3b7c60(0x221)][_0x3b7c60(0x342)](_0xbdb502,_0x2e6e51))throw Error(_0x3b7c60(0xab));this[_0x3b7c60(0x1a5)](_0x4ddb60,this[_0x3b7c60(0x273)][_0x3b7c60(0x3b3)](_0x4ddb60['getSnapshot'](),_0xbdb502,_0x2e6e51));}[_0x17666d(0x83)](_0x4d0676,_0x264654,_0x7242a8,_0x590e59){const _0x4f3f8d=_0x17666d;if(!this[_0x4f3f8d(0x221)][_0x4f3f8d(0x20c)](_0x264654,_0x7242a8))throw Error(_0x4f3f8d(0x2f0));if(_0x7242a8===_0x4d7b12[_0x4f3f8d(0x36b)]||_0x590e59[_0x4f3f8d(0xc3)]===_0x4d7b12[_0x4f3f8d(0x36b)])throw Error(_0x4f3f8d(0xba));this[_0x4f3f8d(0x1a5)](_0x4d0676,this['_factory'][_0x4f3f8d(0x83)](_0x4d0676[_0x4f3f8d(0x2de)](),_0x264654,_0x7242a8,_0x590e59));}[_0x17666d(0x429)](_0x219663,_0x373dac,_0x58305f,_0x5b82ce){const _0x2eedca=_0x17666d;this[_0x2eedca(0x1a5)](_0x219663,this['_factory']['createView'](_0x219663[_0x2eedca(0x2de)](),_0x373dac,_0x58305f,_0x5b82ce));}[_0x17666d(0x388)](_0x533226,_0x1b1764,_0x44003f,_0x3b3652){const _0x43acc9=_0x17666d;if(!this[_0x43acc9(0x221)][_0x43acc9(0x274)](_0x1b1764,_0x44003f))throw Error(_0x43acc9(0x22b));this[_0x43acc9(0x1a5)](_0x533226,this[_0x43acc9(0x273)][_0x43acc9(0x388)](_0x533226['getSnapshot'](),_0x1b1764,_0x44003f,_0x3b3652));}[_0x17666d(0x166)](_0xaf79a6,_0x2025ba,_0x91e26d){const _0x58b0fb=_0x17666d;if(!this['_permissionService']['canManageView'](_0x2025ba,_0x91e26d))throw Error(_0x58b0fb(0x22b));this[_0x58b0fb(0x1a5)](_0xaf79a6,this[_0x58b0fb(0x273)][_0x58b0fb(0x166)](_0xaf79a6[_0x58b0fb(0x2de)](),_0x2025ba,_0x91e26d));}[_0x17666d(0x1b8)](_0x237319,_0xb88b31,_0x50a9dd,_0xdb404f){const _0x2ee8ff=_0x17666d;if(!this[_0x2ee8ff(0x221)][_0x2ee8ff(0x274)](_0xb88b31,_0x50a9dd))throw Error('[BaseCommandService]:\x20cannot\x20manage\x20view.');this[_0x2ee8ff(0x1a5)](_0x237319,this[_0x2ee8ff(0x273)][_0x2ee8ff(0x1b8)](_0x237319[_0x2ee8ff(0x2de)](),_0xb88b31,_0x50a9dd,_0xdb404f));}[_0x17666d(0x459)](_0x4550f0,_0x29b790,_0x52c7fe,_0xa933b3){const _0x2255d0=_0x17666d;if(!this['_permissionService']['canManageView'](_0x29b790,_0x52c7fe))throw Error(_0x2255d0(0x22b));this['_apply'](_0x4550f0,this[_0x2255d0(0x273)][_0x2255d0(0x459)](_0x4550f0[_0x2255d0(0x2de)](),_0x29b790,_0x52c7fe,_0xa933b3));}[_0x17666d(0x158)](_0xdc1b71,_0x148bc7,_0x16141f,_0x5b45f8){const _0xf19fb8=_0x17666d;this[_0xf19fb8(0x1a5)](_0xdc1b71,this['_factory'][_0xf19fb8(0x158)](_0xdc1b71['getSnapshot'](),_0x148bc7,_0x16141f,_0x5b45f8));}['setViewSort'](_0x1ffc86,_0x4f04ce,_0x5f3b89,_0x147d54){const _0x1e4762=_0x17666d;this[_0x1e4762(0x1a5)](_0x1ffc86,this['_factory'][_0x1e4762(0x3bd)](_0x1ffc86[_0x1e4762(0x2de)](),_0x4f04ce,_0x5f3b89,_0x147d54));}[_0x17666d(0x135)](_0xb0ac2a,_0x5c2883,_0x26cb09,_0x5e8789){const _0x597b4d=_0x17666d;this['_apply'](_0xb0ac2a,this['_factory'][_0x597b4d(0x135)](_0xb0ac2a['getSnapshot'](),_0x5c2883,_0x26cb09,_0x5e8789));}[_0x17666d(0x201)](_0x2287e9,_0x438e4e,_0x35041f,_0x2fe2ff,_0x5229e2){const _0x4413b1=_0x17666d;if(!this[_0x4413b1(0x221)]['canManageView'](_0x438e4e,_0x35041f))throw Error('[BaseCommandService]:\x20cannot\x20manage\x20view.');this[_0x4413b1(0x1a5)](_0x2287e9,this[_0x4413b1(0x273)][_0x4413b1(0x201)](_0x2287e9[_0x4413b1(0x2de)](),_0x438e4e,_0x35041f,_0x2fe2ff,_0x5229e2));}[_0x17666d(0xff)](_0x5eacf5,_0x355ad1,_0x4ec9de,_0x2234c8,_0x5c36c3){const _0x6e56b0=_0x17666d;this[_0x6e56b0(0x1a5)](_0x5eacf5,this[_0x6e56b0(0x273)][_0x6e56b0(0xff)](_0x5eacf5['getSnapshot'](),_0x355ad1,_0x4ec9de,_0x2234c8,_0x5c36c3));}['setViewFieldOrder'](_0x3332ad,_0x5e7679,_0x51d46a,_0x491d3c,_0x177003){const _0x3f33a6=_0x17666d;this['_apply'](_0x3332ad,this[_0x3f33a6(0x273)][_0x3f33a6(0x3e0)](_0x3332ad[_0x3f33a6(0x2de)](),_0x5e7679,_0x51d46a,_0x491d3c,_0x177003));}['_apply'](_0xbfb279,_0x2e4fd0){const _0x2aceb6=_0x17666d;let _0x1d3ade=_0xbfb279[_0x2aceb6(0x2de)]();_0xbfb279[_0x2aceb6(0x15a)](this['_applier'][_0x2aceb6(0x344)](_0x1d3ade,_0x2e4fd0));}['_createRecordWithDefaults'](_0xfcaa29,_0x34758f,_0x5dfe3a,_0x48504b=this[_0x17666d(0x2b9)](_0xfcaa29['tables'][_0x34758f])){const _0x24a371=_0x17666d;let _0x4f3203=_0xfcaa29[_0x24a371(0x334)][_0x34758f],_0x2be7c5=_0x5dfe3a[_0x24a371(0x21b)]??_0x5dfe3a[_0x24a371(0x163)]??this[_0x24a371(0x340)](),_0x176464={..._0x5dfe3a,'createdBy':_0x5dfe3a[_0x24a371(0x21b)]??_0x2be7c5,'updatedBy':_0x5dfe3a[_0x24a371(0x163)]??_0x2be7c5,'values':{..._0x5dfe3a[_0x24a371(0x3b2)]}};return _0x176464[_0x24a371(0x3b2)][_0x4d7b12[_0x24a371(0x36b)]]=_0x176464['id'],_0x4f3203[_0x24a371(0x33f)]['forEach'](_0x28efab=>{const _0x1c482e=_0x24a371;let _0x5d98cb=_0x4f3203[_0x1c482e(0x129)][_0x28efab];if(!(!_0x5d98cb||_0x176464[_0x1c482e(0x3b2)][_0x28efab]!==void 0x0))switch(_0x5d98cb['type']){case _0x4d7b12['BaseFieldType'][_0x1c482e(0x279)]:var _0x16fe11;_0x176464[_0x1c482e(0x3b2)][_0x28efab]=((_0x16fe11=_0x48504b[_0x1c482e(0x9f)](_0x28efab))==null?void 0x0:_0x16fe11())??this[_0x1c482e(0x2cf)](_0x4f3203,_0x28efab)();break;case _0x4d7b12[_0x1c482e(0x419)]['CreatedBy']:_0x176464[_0x1c482e(0x21b)]&&(_0x176464[_0x1c482e(0x3b2)][_0x28efab]=_0x176464['createdBy']);break;case _0x4d7b12[_0x1c482e(0x419)][_0x1c482e(0x186)]:_0x176464[_0x1c482e(0x163)]&&(_0x176464[_0x1c482e(0x3b2)][_0x28efab]=_0x176464[_0x1c482e(0x163)]);break;case _0x4d7b12[_0x1c482e(0x419)]['CreatedAt']:_0x176464['values'][_0x28efab]=_0x42237b(_0x176464[_0x1c482e(0x198)]);break;case _0x4d7b12[_0x1c482e(0x419)][_0x1c482e(0x2e7)]:_0x176464[_0x1c482e(0x3b2)][_0x28efab]=_0x42237b(_0x176464[_0x1c482e(0x2b0)]);break;default:{let _0x263eca=_0x5d98cb[_0x1c482e(0x1f0)];_0x263eca!=null&&_0x263eca!==''&&!(Array[_0x1c482e(0x46e)](_0x263eca)&&_0x263eca[_0x1c482e(0x278)]===0x0)&&(_0x176464[_0x1c482e(0x3b2)][_0x28efab]=_0x263eca);}}}),_0x176464;}[_0x17666d(0x26a)](_0x2a0de8,_0x24d3e6,_0x33afc0,_0x5a5b1f){const _0x77d308=_0x17666d;var _0x49b07b,_0x447195;let _0x12046e=_0x2a0de8[_0x77d308(0x334)][_0x24d3e6],_0x82a335=((_0x49b07b=(_0x447195=this[_0x77d308(0xc7)])[_0x77d308(0x19c)])==null?void 0x0:_0x49b07b[_0x77d308(0x446)](_0x447195))??Date['now'](),_0x580e88=this[_0x77d308(0x340)](),_0x217b0b={..._0x5a5b1f};return _0x12046e['fieldOrder'][_0x77d308(0x3cc)](_0xbca1d0=>{const _0x4a2c58=_0x77d308;let _0x22d826=_0x12046e[_0x4a2c58(0x129)][_0xbca1d0];_0x22d826&&(_0x22d826[_0x4a2c58(0x466)]===_0x4d7b12['BaseFieldType'][_0x4a2c58(0x2e7)]&&(_0x217b0b[_0xbca1d0]=_0x42237b(_0x82a335)),_0x22d826[_0x4a2c58(0x466)]===_0x4d7b12['BaseFieldType'][_0x4a2c58(0x186)]&&_0x580e88&&(_0x217b0b[_0xbca1d0]=_0x580e88));}),{'recordId':_0x33afc0,'values':_0x217b0b,'recordPatch':{'updatedAt':_0x82a335,..._0x580e88?{'updatedBy':_0x580e88}:{}}};}['_createSystemFieldValuePatches'](_0xcdc3a1,_0x479138,_0xf9d755){const _0x545efb=_0x17666d;let _0x376aa4=_0xcdc3a1[_0x545efb(0x334)][_0x479138];return!_0x376aa4||!_0x29376d(_0xf9d755)?[]:_0xf9d755['type']===_0x4d7b12[_0x545efb(0x419)][_0x545efb(0x279)]?this['_createNumberingFieldValuePatches'](_0x376aa4,_0xf9d755['id']):Object[_0x545efb(0x3b2)](_0x376aa4[_0x545efb(0x14c)])[_0x545efb(0x2b8)](_0x3fdd32=>{const _0x2f884d=_0x545efb;let _0x33af5a=this[_0x2f884d(0xf5)](_0xf9d755,_0x3fdd32);return _0x33af5a===void 0x0?[]:[{'recordId':_0x3fdd32['id'],'values':{[_0xf9d755['id']]:_0x33af5a}}];});}[_0x17666d(0xf5)](_0xc63d9,_0xf264c5){const _0x38c156=_0x17666d;switch(_0xc63d9['type']){case _0x4d7b12[_0x38c156(0x419)]['CreatedBy']:return _0xf264c5[_0x38c156(0x21b)]??this[_0x38c156(0x340)]();case _0x4d7b12[_0x38c156(0x419)]['UpdatedBy']:return _0xf264c5[_0x38c156(0x163)]??this[_0x38c156(0x340)]();case _0x4d7b12[_0x38c156(0x419)][_0x38c156(0x1a0)]:return _0x42237b(_0xf264c5[_0x38c156(0x198)]??Date[_0x38c156(0x19c)]());case _0x4d7b12[_0x38c156(0x419)]['UpdatedAt']:return _0x42237b(_0xf264c5[_0x38c156(0x2b0)]??Date[_0x38c156(0x19c)]());default:return;}}[_0x17666d(0x2b9)](_0x51fcf5){const _0x119113=_0x17666d;let _0x7ba07=new Map();return _0x51fcf5&&_0x51fcf5[_0x119113(0x33f)][_0x119113(0x3cc)](_0x375f57=>{const _0xdb3323=_0x119113;let _0x44cc2=_0x51fcf5[_0xdb3323(0x129)][_0x375f57];(_0x44cc2==null?void 0x0:_0x44cc2['type'])===_0x4d7b12[_0xdb3323(0x419)][_0xdb3323(0x279)]&&_0x7ba07['set'](_0x375f57,this[_0xdb3323(0x2cf)](_0x51fcf5,_0x375f57));}),_0x7ba07;}[_0x17666d(0x2cf)](_0x59450b,_0x2ef2a8){const _0x2550bd=_0x17666d;let _0x352310=Object['values'](_0x59450b[_0x2550bd(0x14c)])[_0x2550bd(0x2d9)]((_0x107fe2,_0x4c5c16)=>{const _0x1623a0=_0x2550bd;let _0x174b51=Number(_0x4c5c16[_0x1623a0(0x3b2)][_0x2ef2a8]);return Number[_0x1623a0(0x1c5)](_0x174b51)?Math['max'](_0x107fe2,_0x174b51):_0x107fe2;},0x0);return()=>String(++_0x352310);}[_0x17666d(0x1dc)](_0x3f21d2,_0x55aa36){const _0x43ce2a=_0x17666d;let _0x41bd59=this[_0x43ce2a(0x296)](_0x3f21d2),_0x1a6de4=this['_createNumberingAllocator'](_0x3f21d2,_0x55aa36);return _0x41bd59[_0x43ce2a(0x2b8)](_0x2a1549=>this[_0x43ce2a(0x257)](_0x2a1549[_0x43ce2a(0x3b2)][_0x55aa36])?[]:[{'recordId':_0x2a1549['id'],'values':{[_0x55aa36]:_0x1a6de4()}}]);}[_0x17666d(0x296)](_0x4afa64){const _0x89ac0f=_0x17666d;var _0x796e15;let _0x44c555=Object[_0x89ac0f(0x3b2)](_0x4afa64[_0x89ac0f(0x14c)]),_0x1aa94a=new Map(_0x44c555['map'](_0x1b74e3=>[_0x1b74e3['id'],_0x1b74e3])),_0x3dcd6b=[],_0x19b61a=new Set();(_0x796e15=_0x4afa64[_0x89ac0f(0x370)])==null||_0x796e15['forEach'](_0x434eb0=>{const _0x46a282=_0x89ac0f;let _0x236f32=_0x1aa94a[_0x46a282(0x9f)](_0x434eb0);_0x236f32&&(_0x3dcd6b[_0x46a282(0x112)](_0x236f32),_0x19b61a[_0x46a282(0x3a1)](_0x434eb0));});let _0x597764=_0x44c555['filter'](_0x2bd1b2=>!_0x19b61a['has'](_0x2bd1b2['id']))[_0x89ac0f(0x3bb)]((_0x580814,_0x6aad22)=>String(_0x580814['orderKey']??_0x580814['id'])['localeCompare'](String(_0x6aad22[_0x89ac0f(0x46d)]??_0x6aad22['id']))||_0x580814['id']['localeCompare'](_0x6aad22['id']));return[..._0x3dcd6b,..._0x597764];}['_isNonEmptyCellValue'](_0x61d621){const _0x5ad1d8=_0x17666d;return _0x61d621!=null&&_0x61d621!==''&&!(Array[_0x5ad1d8(0x46e)](_0x61d621)&&_0x61d621[_0x5ad1d8(0x278)]===0x0);}[_0x17666d(0x340)](){const _0x4e1e92=_0x17666d;var _0x555ace,_0x5a74f5,_0x328904,_0xb1caf4;return((_0x555ace=(_0x5a74f5=this[_0x4e1e92(0xc7)])[_0x4e1e92(0x13f)])==null?void 0x0:_0x555ace['call'](_0x5a74f5))??((_0x328904=(_0xb1caf4=this[_0x4e1e92(0xc7)])['getCurrentUser'])==null||(_0x328904=_0x328904['call'](_0xb1caf4))==null?void 0x0:_0x328904[_0x4e1e92(0xb8)])??void 0x0;}['_normalizeCellValue'](_0x29b11f,_0x3d0976,_0x1a334f,_0x27b7dd,_0x2fcf2a){const _0x972923=_0x17666d;var _0xc8f9ef;if(!this['_permissionService'][_0x972923(0x2ac)](_0x3d0976,_0x1a334f,_0x27b7dd))throw Error(_0x972923(0xa9));let _0x2a3d39=(_0xc8f9ef=_0x29b11f['tables'][_0x3d0976])==null?void 0x0:_0xc8f9ef[_0x972923(0x129)][_0x27b7dd];if(!_0x2a3d39)throw Error(_0x972923(0x1a2)+_0x27b7dd+_0x972923(0x113));let _0x5a2c9e=this[_0x972923(0x250)][_0x972923(0x9f)](_0x2a3d39[_0x972923(0x466)]);if(_0x2a3d39[_0x972923(0x124)]||_0x2a3d39[_0x972923(0x43a)]||!_0x5a2c9e[_0x972923(0x94)](_0x2a3d39)['editable'])throw Error(_0x972923(0x461));let _0x554089=_0x5a2c9e['normalize'](_0x2fcf2a,_0x2a3d39),_0x5cac0c=_0x5a2c9e[_0x972923(0x1aa)](_0x554089,_0x2a3d39);if(!_0x5cac0c[_0x972923(0x1d5)])throw Error(_0x5cac0c['reason']??_0x972923(0x16a));let _0x2aab3c=_0x2a3d39['type']===_0x4d7b12[_0x972923(0x419)]['RecordLink']?_0x475374(_0x29b11f,_0x2a3d39,_0x554089):{'valid':!0x0};if(!_0x2aab3c[_0x972923(0x1d5)])throw Error(_0x2aab3c[_0x972923(0x44e)]??_0x972923(0xe7));return _0x554089;}['_assertFieldDefinition'](_0x150bb6,_0x57ebc0){const _0x32c52b=_0x17666d;if(_0x57ebc0['id']===_0x4d7b12[_0x32c52b(0x36b)]||_0x57ebc0[_0x32c52b(0x466)]===_0x4d7b12[_0x32c52b(0x419)][_0x32c52b(0x266)]||(0x0,_0x4d7b12[_0x32c52b(0x449)])(_0x57ebc0['name']))throw Error(_0x32c52b(0x2a4));let _0xc647fc=_0x2bb568(_0x150bb6,_0x57ebc0);if(!_0xc647fc[_0x32c52b(0x1d5)])throw Error(_0xc647fc['reason']??_0x32c52b(0x3c3));}};_0x17807c=_0x505956([_0x2661c4(0x0,_0x2403d4),_0x2661c4(0x1,_0x336523)],_0x17807c);function _0x590b82(){const _0x199846=_0x17666d;let _0x1ee150=new _0x21739f();return _0x5d1e9d()[_0x199846(0x3cc)](_0x486eef=>_0x1ee150[_0x199846(0x2af)](_0x486eef)),_0x1ee150;}function _0x29376d(_0xc8ca32){const _0x3b48c9=_0x17666d;return _0xc8ca32[_0x3b48c9(0x466)]===_0x4d7b12[_0x3b48c9(0x419)]['Numbering']||_0xc8ca32[_0x3b48c9(0x466)]===_0x4d7b12[_0x3b48c9(0x419)][_0x3b48c9(0x9a)]||_0xc8ca32['type']===_0x4d7b12[_0x3b48c9(0x419)][_0x3b48c9(0x186)]||_0xc8ca32[_0x3b48c9(0x466)]===_0x4d7b12[_0x3b48c9(0x419)][_0x3b48c9(0x1a0)]||_0xc8ca32[_0x3b48c9(0x466)]===_0x4d7b12['BaseFieldType']['UpdatedAt'];}let _0x496952=new Set([_0x4d7b12[_0x17666d(0x419)][_0x17666d(0x1d8)],_0x4d7b12[_0x17666d(0x419)][_0x17666d(0x3df)],_0x4d7b12['BaseFieldType'][_0x17666d(0x317)]]);function _0x1eb725(_0x5f456a){const _0x5ef13b=_0x17666d;let _0x2250c9=_0x5f456a[_0x5ef13b(0x129)][_0x5f456a[_0x5ef13b(0x455)]];if(!(_0x2250c9&&(_0x2250c9[_0x5ef13b(0x43a)]===!0x0||_0x2250c9['id']['toLowerCase']()==='id'||_0x2250c9[_0x5ef13b(0x208)][_0x5ef13b(0x11d)]()['toLowerCase']()==='id'))&&_0x2250c9)return _0x2250c9['id'];for(let _0x431b9f of _0x5f456a[_0x5ef13b(0x33f)]){let _0x469839=_0x5f456a['fields'][_0x431b9f];if(_0x469839&&_0x469839['id']!==_0x5f456a[_0x5ef13b(0x455)]&&_0x469839['system']!==!0x0&&_0x469839[_0x5ef13b(0x466)]!==_0x4d7b12[_0x5ef13b(0x419)][_0x5ef13b(0x266)])return _0x469839['id'];}return _0x5f456a[_0x5ef13b(0x455)];}function _0x22db8a(_0x1195b1,_0x3087a2=[],_0x3236e5=0x5){const _0x2fddfa=_0x17666d;let _0x130aec=new Set(_0x3087a2['filter'](_0xbc3c47=>!!_0xbc3c47)),_0x13e0e9=[],_0x1a6b94=[];for(let _0x2bb657 of _0x1195b1[_0x2fddfa(0x33f)]){let _0x4261bf=_0x1195b1[_0x2fddfa(0x129)][_0x2bb657];_0x4261bf&&_0x4261bf[_0x2fddfa(0x43a)]!==!0x0&&_0x4261bf[_0x2fddfa(0x466)]!==_0x4d7b12['BaseFieldType']['RecordId']&&!_0x130aec[_0x2fddfa(0x1eb)](_0x4261bf['id'])&&(_0x496952[_0x2fddfa(0x1eb)](_0x4261bf[_0x2fddfa(0x466)])?_0x13e0e9:_0x1a6b94)[_0x2fddfa(0x112)](_0x4261bf['id']);}return[..._0x13e0e9,..._0x1a6b94]['slice'](0x0,_0x3236e5);}function _0x2efe7c(){const _0x2ec992=_0x17666d;return[{'type':_0x4d7b12[_0x2ec992(0xd3)][_0x2ec992(0x36e)],'i18nKey':_0x2ec992(0xfb),'createDefaultConfig':()=>({}),'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0xe31aa5=_0x2ec992;throw Error(_0xe31aa5(0x99));}},{'type':_0x4d7b12[_0x2ec992(0xd3)][_0x2ec992(0x26c)],'i18nKey':'base.viewType.kanban','createDefaultConfig':_0x52d98b=>{const _0x13551b=_0x2ec992;let _0x293114=_0x37f27e(_0x52d98b);return{'groupFieldId':_0x293114,'coverFieldId':null,'cardLayout':_0x13551b(0x261),'showFieldNames':!0x0,'fieldSettings':{},'columnSettings':{},'card':{'titleFieldId':_0x52d98b[_0x13551b(0x455)],'fieldIds':_0x22db8a(_0x52d98b,[_0x52d98b[_0x13551b(0x455)],_0x293114])}};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x1381e8=_0x2ec992;throw Error(_0x1381e8(0x181));}},{'type':_0x4d7b12['BaseViewType'][_0x2ec992(0x406)],'i18nKey':_0x2ec992(0x149),'createDefaultConfig':_0x1ec320=>{const _0x9e8f71=_0x2ec992;let _0x5b09d7=_0x255c65(_0x1ec320);return{'startDateFieldId':_0x5b09d7,'endDateFieldId':_0x428172(_0x1ec320,_0x5b09d7),'titleFieldId':_0x1ec320[_0x9e8f71(0x455)],'mode':_0x9e8f71(0x176),'timeslotSize':_0x9e8f71(0x28c),'timeZone':_0x9e8f71(0x1b9),'displayColor':{'type':_0x9e8f71(0x2c4),'color':_0x9e8f71(0x15c)},'fieldSettings':{}};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x359844=_0x2ec992;throw Error(_0x359844(0x378));}},{'type':_0x4d7b12[_0x2ec992(0xd3)][_0x2ec992(0x35f)],'i18nKey':_0x2ec992(0x2a0),'createDefaultConfig':_0x505bc6=>{const _0x5c37c8=_0x2ec992;let _0x581c6f=_0x255c65(_0x505bc6);return{'startDateFieldId':_0x581c6f,'endDateFieldId':_0x428172(_0x505bc6,_0x581c6f)??_0x581c6f,'titleFieldId':_0x505bc6[_0x5c37c8(0x455)],'scale':_0x5c37c8(0x176),'showTodayLine':!0x0,'displayColor':{'type':_0x5c37c8(0x2c4),'color':'#14b8a6'},'fieldSettings':{},'workingDaysOnly':!0x1};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x47b387=_0x2ec992;throw Error(_0x47b387(0x20d));}},{'type':_0x4d7b12[_0x2ec992(0xd3)]['Gallery'],'i18nKey':'base.viewType.gallery','createDefaultConfig':_0x3c5647=>{const _0x261835=_0x2ec992;let _0x593684=_0x1eb725(_0x3c5647);return{'coverFieldId':null,'cardLayout':'normal','showFieldNames':!0x0,'fieldSettings':{},'card':{'titleFieldId':_0x593684,'coverFieldId':null,'fieldIds':_0x22db8a(_0x3c5647,[_0x593684,_0x3c5647[_0x261835(0x455)]])},'cardSize':_0x261835(0x28c)};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x545fbf=_0x2ec992;throw Error(_0x545fbf(0x25b));}}];}function _0x37f27e(_0x535cfd){const _0x4141e9=_0x17666d;var _0x27d18d,_0x3c795a,_0x51d97b;let _0x269716=_0x535cfd[_0x4141e9(0x33f)][_0x4141e9(0xd9)](_0x5cad4c=>_0x535cfd[_0x4141e9(0x129)][_0x5cad4c])[_0x4141e9(0x425)](_0x4defcf=>!!_0x4defcf);return((_0x27d18d=_0x269716[_0x4141e9(0x3b6)](_0x4bb8f4=>_0x4bb8f4['type']===_0x4d7b12[_0x4141e9(0x419)][_0x4141e9(0x191)]||_0x4bb8f4[_0x4141e9(0x466)]===_0x4d7b12[_0x4141e9(0x419)]['MultiSelect']||_0x4bb8f4[_0x4141e9(0x466)]===_0x4d7b12[_0x4141e9(0x419)]['Group']))==null?void 0x0:_0x27d18d['id'])??((_0x3c795a=_0x269716[_0x4141e9(0x3b6)](_0x26a71f=>_0x26a71f['type']===_0x4d7b12[_0x4141e9(0x419)][_0x4141e9(0x87)]))==null?void 0x0:_0x3c795a['id'])??((_0x51d97b=_0x269716['find'](_0x41dfbc=>_0x41dfbc[_0x4141e9(0x466)]===_0x4d7b12[_0x4141e9(0x419)][_0x4141e9(0x32c)]||_0x41dfbc['type']===_0x4d7b12[_0x4141e9(0x419)][_0x4141e9(0x1a0)]||_0x41dfbc[_0x4141e9(0x466)]===_0x4d7b12['BaseFieldType'][_0x4141e9(0x2e7)]))==null?void 0x0:_0x51d97b['id'])??_0x535cfd[_0x4141e9(0x455)];}function _0x255c65(_0x293e04){const _0xd75493=_0x17666d;var _0x42cf70;return((_0x42cf70=_0x293e04['fieldOrder'][_0xd75493(0xd9)](_0x332f81=>_0x293e04[_0xd75493(0x129)][_0x332f81])[_0xd75493(0x3b6)](_0x452fb3))==null?void 0x0:_0x42cf70['id'])??'';}function _0x428172(_0x3b04f8,_0x11bec4){const _0x319e5b=_0x17666d;var _0x3457c0;return(_0x3457c0=_0x3b04f8['fieldOrder'][_0x319e5b(0xd9)](_0x3ddc6d=>_0x3b04f8[_0x319e5b(0x129)][_0x3ddc6d])[_0x319e5b(0x3b6)](_0x4d5b67=>_0x452fb3(_0x4d5b67)&&_0x4d5b67['id']!==_0x11bec4))==null?void 0x0:_0x3457c0['id'];}function _0x452fb3(_0x1e5dff){const _0x177050=_0x17666d;return!!_0x1e5dff&&_0x1e5dff['type']===_0x4d7b12[_0x177050(0x419)][_0x177050(0x32c)]&&_0x1e5dff[_0x177050(0x124)]!==!0x0&&_0x1e5dff[_0x177050(0x43a)]!==!0x0;}let _0x465d1d=(0x0,_0x4d7b12['createIdentifier'])(_0x17666d(0x164)),_0x3f7da6=new Set([_0x4d7b12[_0x17666d(0x419)][_0x17666d(0x34f)],_0x4d7b12[_0x17666d(0x419)][_0x17666d(0x1fe)],_0x4d7b12['BaseFieldType'][_0x17666d(0x1d8)],_0x4d7b12[_0x17666d(0x419)]['Rating'],_0x4d7b12['BaseFieldType'][_0x17666d(0x32c)],_0x4d7b12[_0x17666d(0x419)][_0x17666d(0x1a0)],_0x4d7b12[_0x17666d(0x419)]['UpdatedAt'],_0x4d7b12['BaseFieldType']['Checkbox']]),_0x2f3355=class extends _0x4d7b12[_0x17666d(0x134)]{constructor(_0x156dc8){const _0x549a24=_0x17666d;super(),this[_0x549a24(0x250)]=_0x156dc8,_0x4aa85f(this,_0x549a24(0x126),new Map()),_0x4aa85f(this,_0x549a24(0x18f),new WeakMap()),_0x4aa85f(this,_0x549a24(0x1ed),new Map()),_0x4aa85f(this,_0x549a24(0x307),new Map()),_0x4aa85f(this,_0x549a24(0x147),new Map()),_0x4aa85f(this,_0x549a24(0x36c),new Map()),_0x4aa85f(this,'_globalRevision',0x0),_0x4aa85f(this,_0x549a24(0x3a0),new Map()),_0x4aa85f(this,'_cellRevisions',new Map()),_0x4aa85f(this,_0x549a24(0x389),new Map()),_0x4aa85f(this,_0x549a24(0x276),new Map());}[_0x17666d(0x2cc)](_0x291334){const _0x3e507f=_0x17666d;return this[_0x3e507f(0x126)]['set'](_0x291334[_0x3e507f(0x466)],_0x291334),(0x0,_0x4d7b12['toDisposable'])(()=>this[_0x3e507f(0x126)][_0x3e507f(0x205)](_0x291334['type']));}[_0x17666d(0x1c4)](_0xdc08fe,_0x5bb1e0,_0x2235cd){const _0x5b23d1=_0x17666d;var _0x2ab1a4,_0x24cd04,_0x45d24b;return _0x1b2201('BaseProjection.getProjection',()=>{const _0x5e3f39=_0x2760;let _0x3c03bb=this[_0x5e3f39(0xaf)](_0xdc08fe,_0x5bb1e0,_0x2235cd);if(_0x3c03bb)return _0x3c03bb;let _0x4c0bcb=_0xdc08fe[_0x5e3f39(0x334)][_0x5bb1e0],_0x4f04e6=_0x4c0bcb==null?void 0x0:_0x4c0bcb['views'][_0x2235cd];if(!_0x4c0bcb||!_0x4f04e6)return this[_0x5e3f39(0x2b5)](_0xdc08fe,_0x5bb1e0,_0x2235cd,{'type':_0x5e3f39(0x110),'viewType':(_0x4f04e6==null?void 0x0:_0x4f04e6['type'])??_0x4d7b12['BaseViewType'][_0x5e3f39(0x36e)],'reason':'missingField'});let _0x457d00;switch(_0x4f04e6[_0x5e3f39(0x466)]){case _0x4d7b12[_0x5e3f39(0xd3)][_0x5e3f39(0x36e)]:_0x457d00=this[_0x5e3f39(0xc4)](_0x4c0bcb,_0x4f04e6);break;case _0x4d7b12[_0x5e3f39(0xd3)]['Gantt']:_0x457d00=this['_buildGantt'](_0x4c0bcb,_0x4f04e6);break;case _0x4d7b12[_0x5e3f39(0xd3)]['Kanban']:_0x457d00=this[_0x5e3f39(0x3a2)](_0x4c0bcb,_0x4f04e6);break;case _0x4d7b12[_0x5e3f39(0xd3)][_0x5e3f39(0x406)]:_0x457d00=this[_0x5e3f39(0xaa)](_0x4c0bcb,_0x4f04e6);break;case _0x4d7b12[_0x5e3f39(0xd3)][_0x5e3f39(0x141)]:_0x457d00=this[_0x5e3f39(0x435)](_0x4c0bcb,_0x4f04e6);break;default:_0x457d00={'type':_0x5e3f39(0x110),'viewType':_0x4f04e6[_0x5e3f39(0x466)],'reason':_0x5e3f39(0x16e)};}return this['_setCachedProjection'](_0xdc08fe,_0x5bb1e0,_0x2235cd,_0x457d00);},{'tableId':_0x5bb1e0,'viewId':_0x2235cd,'viewType':(_0x2ab1a4=_0xdc08fe[_0x5b23d1(0x334)][_0x5bb1e0])==null||(_0x2ab1a4=_0x2ab1a4[_0x5b23d1(0x420)][_0x2235cd])==null?void 0x0:_0x2ab1a4[_0x5b23d1(0x466)],'records':((_0x24cd04=_0xdc08fe[_0x5b23d1(0x334)][_0x5bb1e0])==null||(_0x24cd04=_0x24cd04[_0x5b23d1(0x370)])==null?void 0x0:_0x24cd04['length'])??Object[_0x5b23d1(0x3d7)](((_0x45d24b=_0xdc08fe['tables'][_0x5bb1e0])==null?void 0x0:_0x45d24b[_0x5b23d1(0x14c)])??{})['length']});}['repairViewConfig'](_0x675896,_0x4278b5,_0x40a894){const _0x52aa65=_0x17666d;var _0x30298b,_0x3f8935,_0x54fce5;let _0x283469=_0x675896[_0x52aa65(0x334)][_0x4278b5],_0x41a919=_0x283469==null?void 0x0:_0x283469['views'][_0x40a894];if(!_0x283469||!_0x41a919)throw Error(_0x52aa65(0x23e)+_0x40a894+'\x22.');let _0x45c510=_0x220c06=>!!_0x283469[_0x52aa65(0x129)][_0x220c06],_0x38fd7a={..._0x41a919,'filter':_0x41a919[_0x52aa65(0x425)]?{..._0x41a919['filter'],'conditions':_0x41a919['filter']['conditions'][_0x52aa65(0x425)](_0x28a28f=>_0x45c510(_0x28a28f[_0x52aa65(0x424)]))}:_0x41a919[_0x52aa65(0x425)],'sort':(_0x30298b=_0x41a919['sort'])==null?void 0x0:_0x30298b['filter'](_0x584c78=>_0x45c510(_0x584c78['fieldId'])),'group':(_0x3f8935=_0x41a919[_0x52aa65(0x161)])==null?void 0x0:_0x3f8935[_0x52aa65(0x425)](_0x8058f1=>_0x45c510(_0x8058f1[_0x52aa65(0x424)])),'fieldOrder':(_0x54fce5=_0x41a919[_0x52aa65(0x33f)])==null?void 0x0:_0x54fce5['filter'](_0x45c510),'fieldSettings':Object[_0x52aa65(0x88)](Object[_0x52aa65(0x45d)](_0x41a919[_0x52aa65(0x2fd)]??{})[_0x52aa65(0x425)](([_0x46cd6c])=>_0x45c510(_0x46cd6c)))};if(_0x38fd7a[_0x52aa65(0x466)]===_0x52aa65(0x3fb)){var _0x2f0c50;let _0x39c4e6=_0x38fd7a[_0x52aa65(0x39d)]??{},_0x3f540f=this[_0x52aa65(0x1e7)](_0x283469,_0x38fd7a),_0xd0d21b=this[_0x52aa65(0x15e)](_0x283469,(_0x2f0c50=_0x39c4e6[_0x52aa65(0x36a)])==null?void 0x0:_0x2f0c50[_0x52aa65(0x353)]);_0x38fd7a[_0x52aa65(0x39d)]={..._0x39c4e6,'groupFieldId':_0x3f540f??_0x39c4e6[_0x52aa65(0x454)],'coverFieldId':this[_0x52aa65(0x1db)](_0x283469,_0x39c4e6),'cardLayout':_0x39c4e6[_0x52aa65(0x2a8)]===_0x52aa65(0x1e6)?_0x52aa65(0x1e6):_0x52aa65(0x261),'showFieldNames':_0x39c4e6[_0x52aa65(0x23a)]!==!0x1,'fieldSettings':Object[_0x52aa65(0x88)](Object['entries'](_0x39c4e6[_0x52aa65(0x2fd)]??{})[_0x52aa65(0x425)](([_0x5707fe])=>_0x45c510(_0x5707fe))),'columnSettings':_0x39c4e6[_0x52aa65(0x37b)]??{},'card':{..._0x39c4e6[_0x52aa65(0x36a)]??{},'titleFieldId':_0xd0d21b,'fieldIds':this[_0x52aa65(0x3b1)](_0x283469,_0x38fd7a,_0x3f540f??'',_0xd0d21b)}};}return{'repaired':JSON[_0x52aa65(0x33d)](_0x38fd7a)!==JSON[_0x52aa65(0x33d)](_0x41a919),'view':_0x38fd7a};}[_0x17666d(0x403)](){const _0x21520e=_0x17666d;this[_0x21520e(0x39c)]++;}[_0x17666d(0x1f7)](_0x32edb8,_0x30d42b,_0x12d55d){const _0x16885b=_0x17666d;let _0x3d05e0=this[_0x16885b(0x457)](_0x32edb8)+0x1;this[_0x16885b(0x255)][_0x16885b(0x12c)](_0x32edb8,_0x3d05e0);let _0x2b7610=this[_0x16885b(0x389)][_0x16885b(0x9f)](_0x32edb8)??[];_0x2b7610[_0x16885b(0x112)]({'revision':_0x3d05e0,'recordId':_0x30d42b,'fieldId':_0x12d55d}),this[_0x16885b(0x389)][_0x16885b(0x12c)](_0x32edb8,_0x2b7610);}[_0x17666d(0x18a)](_0x2c4842,_0x982291){const _0x21d51d=_0x17666d;this[_0x21d51d(0x1b2)](_0x2c4842);}['invalidateByView'](_0x5eb3e8,_0x5a9324){const _0xe1b2c9=_0x17666d;this['_viewRevisions'][_0xe1b2c9(0x12c)](this['_viewRevisionKey'](_0x5eb3e8,_0x5a9324),this[_0xe1b2c9(0x1e5)](_0x5eb3e8,_0x5a9324)+0x1);}['_getCachedProjection'](_0x3ffb80,_0x3ab9ad,_0x35e139){const _0xb2dc9c=_0x17666d;var _0xbec2b6;let _0x38a4f9=(_0xbec2b6=this[_0xb2dc9c(0x18f)][_0xb2dc9c(0x9f)](_0x3ffb80))==null?void 0x0:_0xbec2b6[_0xb2dc9c(0x9f)](this[_0xb2dc9c(0xa1)](_0x3ab9ad,_0x35e139));return _0x38a4f9&&_0x38a4f9[_0xb2dc9c(0x3e9)]===this[_0xb2dc9c(0x39c)]&&_0x38a4f9['tableRevision']===this[_0xb2dc9c(0xec)](_0x3ab9ad)&&_0x38a4f9[_0xb2dc9c(0x18c)]===this[_0xb2dc9c(0x457)](_0x3ab9ad)&&_0x38a4f9[_0xb2dc9c(0x123)]===this[_0xb2dc9c(0x1e5)](_0x3ab9ad,_0x35e139)?_0x38a4f9[_0xb2dc9c(0x175)]:null;}[_0x17666d(0x2b5)](_0x2db568,_0x4edba3,_0x41c9d9,_0xf91919){const _0x252b0d=_0x17666d;let _0x22c74e=this[_0x252b0d(0x18f)][_0x252b0d(0x9f)](_0x2db568);return _0x22c74e||(_0x22c74e=new Map(),this[_0x252b0d(0x18f)]['set'](_0x2db568,_0x22c74e)),_0x22c74e[_0x252b0d(0x12c)](this[_0x252b0d(0xa1)](_0x4edba3,_0x41c9d9),{'projection':_0xf91919,'globalRevision':this[_0x252b0d(0x39c)],'tableRevision':this[_0x252b0d(0xec)](_0x4edba3),'cellRevision':this[_0x252b0d(0x457)](_0x4edba3),'viewRevision':this[_0x252b0d(0x1e5)](_0x4edba3,_0x41c9d9)}),_0xf91919;}[_0x17666d(0x1b2)](_0x375c7f){const _0x865d1c=_0x17666d;this[_0x865d1c(0x3a0)][_0x865d1c(0x12c)](_0x375c7f,this[_0x865d1c(0xec)](_0x375c7f)+0x1);}['_getTableRevision'](_0x579bc6){const _0x50963c=_0x17666d;return this['_tableRevisions'][_0x50963c(0x9f)](_0x579bc6)??0x0;}[_0x17666d(0x457)](_0x9e6b8){const _0x3e7ba0=_0x17666d;return this['_cellRevisions'][_0x3e7ba0(0x9f)](_0x9e6b8)??0x0;}[_0x17666d(0x1e5)](_0x5b96aa,_0x13ee21){const _0x4c0335=_0x17666d;return this[_0x4c0335(0x276)][_0x4c0335(0x9f)](this[_0x4c0335(0x224)](_0x5b96aa,_0x13ee21))??0x0;}[_0x17666d(0xa1)](_0x68fa3a,_0x333e18){return _0x68fa3a+'\x00'+_0x333e18;}[_0x17666d(0x1f3)](_0x36829e,_0x2c2f1a){const _0x4e01cd=_0x17666d;return _0x36829e+'\x00'+this[_0x4e01cd(0xcd)](_0x2c2f1a);}[_0x17666d(0x2f1)](_0x1c79db,_0x3e5712,_0x2e76d6){return _0x1c79db+'\x00'+this['_rowTransformCacheSegment'](_0x3e5712)+'\x00'+this['_groupConfigCacheSegment'](_0x2e76d6);}[_0x17666d(0xcd)](_0x3c0303){const _0x443fb8=_0x17666d;return _0x3c0303?_0x50acc0({'filter':_0x3efe58(_0x3c0303[_0x443fb8(0x425)]),'sort':_0xc32512(_0x3c0303[_0x443fb8(0x3bb)])}):'__all__';}[_0x17666d(0x431)](_0x5e749a){const _0x45060e=_0x17666d;return _0x50acc0(_0x5e749a[_0x45060e(0xd9)](_0x2c12f2=>({'fieldId':_0x2c12f2[_0x45060e(0x424)],'direction':_0x2c12f2[_0x45060e(0x27c)]??null})));}['_viewRevisionKey'](_0x1f8134,_0x5c9b14){return _0x1f8134+'\x00'+_0x5c9b14;}[_0x17666d(0xc4)](_0x26fc27,_0xfe5eea){const _0x2ec70d=_0x17666d;var _0x838abf;let _0x186994=_0x2a161a(_0x26fc27),_0x4254e5=this[_0x2ec70d(0x470)](_0x26fc27,_0xfe5eea),_0x14364b=(_0x838abf=_0xfe5eea['filter'])!=null&&_0x838abf[_0x2ec70d(0x2ee)][_0x2ec70d(0x278)]?this[_0x2ec70d(0x470)](_0x26fc27,{..._0xfe5eea,'filter':null}):_0x4254e5,_0x57a31d=_0xaacbb4(this[_0x2ec70d(0x3c2)](_0x26fc27,_0x186994,_0xfe5eea['id'],_0x14364b[_0x2ec70d(0xd9)](_0x476675=>_0x476675[_0x2ec70d(0x23d)])),_0x14364b,new Set(_0x4254e5['map'](_0x2edca6=>_0x2edca6[_0x2ec70d(0x23d)])));return{'type':_0x4d7b12['BaseViewType'][_0x2ec70d(0x36e)],'fields':this['_projectFields'](_0x26fc27,_0xfe5eea),'rows':_0x57a31d[_0x2ec70d(0x90)],'groups':this[_0x2ec70d(0x16f)](_0x26fc27,_0xfe5eea,_0x57a31d[_0x2ec70d(0x90)],_0x57a31d[_0x2ec70d(0x23b)]),'hierarchy':_0x57a31d[_0x2ec70d(0x23b)],'frozenFieldCount':typeof _0xfe5eea[_0x2ec70d(0x39d)][_0x2ec70d(0x21a)]==_0x2ec70d(0x2c1)?_0xfe5eea[_0x2ec70d(0x39d)][_0x2ec70d(0x21a)]:0x0};}['_getHierarchyIndex'](_0x50d0d2,_0x3bf1c2,_0x384685,_0x4da7c5){const _0x2cdc29=_0x17666d;let _0x49eed0=_0x50d0d2['id']+'\x00'+_0x3bf1c2+'\x00'+_0x384685,_0x178b2f=this[_0x2cdc29(0x457)](_0x50d0d2['id']),_0x39bb49=this[_0x2cdc29(0x36c)][_0x2cdc29(0x9f)](_0x49eed0);if(_0x39bb49&&_0x39bb49[_0x2cdc29(0x3e9)]===this['_globalRevision']&&_0x39bb49['tableRevision']===this[_0x2cdc29(0xec)](_0x50d0d2['id'])){if(_0x39bb49['cellRevision']===_0x178b2f&&_0x39bb49[_0x2cdc29(0x39f)]===_0x50d0d2)return _0x39bb49[_0x2cdc29(0x293)];if(!this[_0x2cdc29(0x2f9)](_0x50d0d2['id'],_0x39bb49[_0x2cdc29(0x18c)],_0x178b2f,new Set([_0x3bf1c2])))return this[_0x2cdc29(0x36c)][_0x2cdc29(0x12c)](_0x49eed0,{..._0x39bb49,'table':_0x50d0d2,'cellRevision':_0x178b2f}),_0x39bb49['index'];}let _0x4a5cfd=_0x19fe79(_0x50d0d2,_0x3bf1c2,_0x4da7c5);return this[_0x2cdc29(0x36c)][_0x2cdc29(0x12c)](_0x49eed0,{'table':_0x50d0d2,'index':_0x4a5cfd,'globalRevision':this[_0x2cdc29(0x39c)],'tableRevision':this[_0x2cdc29(0xec)](_0x50d0d2['id']),'cellRevision':_0x178b2f}),_0x4a5cfd;}[_0x17666d(0x16f)](_0x4996e4,_0x5e476e,_0x6b63e3,_0x3772a8){const _0xe8980a=_0x17666d;var _0x502c25;if(!((_0x502c25=_0x5e476e['group'])!=null&&_0x502c25[_0xe8980a(0x278)]))return[];let _0x2363e1=new Map(_0x6b63e3[_0xe8980a(0xd9)](_0x5789f4=>[_0x5789f4['recordId'],_0x5789f4])),_0x118dbd=_0x3772a8[_0xe8980a(0x280)][_0xe8980a(0x2b8)](_0x308b43=>{const _0x557bff=_0xe8980a;let _0x4b9a18=_0x2363e1[_0x557bff(0x9f)](_0x308b43);return _0x4b9a18?[_0x4b9a18]:[];}),_0x15b2f0=this['_projectGroups'](_0x4996e4,_0x5e476e,_0x118dbd),_0x52cb0f=new Map(_0x3772a8[_0xe8980a(0x269)][_0xe8980a(0xd9)]((_0x97e570,_0x15b4f1)=>[_0x97e570,_0x15b4f1])),_0x2cae7b=_0x28f678=>{const _0x6fb9c4=_0xe8980a;let _0x541929=_0x3772a8['nodes'][_0x28f678],_0x228d37=_0x52cb0f[_0x6fb9c4(0x9f)](_0x28f678)??-0x1;return _0x228d37<0x0||!_0x541929?[]:_0x3772a8[_0x6fb9c4(0x269)]['slice'](_0x228d37,_0x541929[_0x6fb9c4(0x2bc)]+0x1);},_0x28f58c=_0x2b386c=>{const _0x3c1508=_0xe8980a;var _0x5dad97,_0x5d1ca4;return{..._0x2b386c,'recordIds':(_0x5dad97=_0x2b386c[_0x3c1508(0x25f)])!=null&&_0x5dad97[_0x3c1508(0x278)]?_0x2b386c['recordIds']:_0x2b386c[_0x3c1508(0x391)][_0x3c1508(0x2b8)](_0x2cae7b),'children':(_0x5d1ca4=_0x2b386c[_0x3c1508(0x25f)])==null?void 0x0:_0x5d1ca4[_0x3c1508(0xd9)](_0x28f58c)};};return _0x15b2f0[_0xe8980a(0xd9)](_0x28f58c);}[_0x17666d(0x3a2)](_0x55c5b7,_0x5ed036){const _0xa739f8=_0x17666d;var _0x250418;let _0x35bfab=this[_0xa739f8(0x1e7)](_0x55c5b7,_0x5ed036),_0x107b8e=_0x35bfab?_0x55c5b7[_0xa739f8(0x129)][_0x35bfab]:void 0x0;if(!_0x107b8e)return{'type':_0xa739f8(0x110),'viewType':_0x4d7b12[_0xa739f8(0xd3)][_0xa739f8(0x26c)],'reason':_0xa739f8(0x1b1),'fieldId':_0x5ed036[_0xa739f8(0x39d)][_0xa739f8(0x454)]};let _0x440e81=this[_0xa739f8(0x470)](_0x55c5b7,_0x5ed036),_0x2021f1=this[_0xa739f8(0x41f)](_0x55c5b7,_0x5ed036),_0x1a94d3=_0x5ed036[_0xa739f8(0x39d)]??{},_0x1a2c9f=this['_resolveCardTitleFieldId'](_0x55c5b7,(_0x250418=_0x1a94d3['card'])==null?void 0x0:_0x250418['titleFieldId']),_0x2e1c7f=this[_0xa739f8(0x3b1)](_0x55c5b7,_0x5ed036,_0x107b8e['id'],_0x1a2c9f),_0x16cc00=new Map();if(_0x216ae2(_0x55c5b7,_0x107b8e['id'])){let _0x4f6554=this[_0xa739f8(0x3c2)](_0x55c5b7,_0x107b8e['id'],_0x5ed036['id'],_0x440e81[_0xa739f8(0xd9)](_0x23b67a=>_0x23b67a[_0xa739f8(0x23d)])),_0x57ca69=new Map();return _0x440e81['forEach'](_0x33fe6b=>{const _0x166471=_0xa739f8;let _0x19321d=_0x4f6554['parentByRecordId'][_0x166471(0x9f)](_0x33fe6b['recordId'])??null,_0x125a50=_0x19321d??'',_0x4615cc=_0x19321d?_0x55c5b7[_0x166471(0x14c)][_0x19321d]:void 0x0,_0xaa0c82=_0x57ca69[_0x166471(0x9f)](_0x125a50)??{'key':_0x125a50,'title':_0x4615cc?String(_0x5d14af(_0x55c5b7,_0x4615cc['id'],_0x55c5b7['primaryFieldId'])??_0x19321d):this[_0x166471(0xdd)](_0x107b8e,_0x125a50,_0x1a94d3),'recordIds':[]};_0xaa0c82[_0x166471(0x391)][_0x166471(0x112)](_0x33fe6b[_0x166471(0x23d)]),_0x57ca69[_0x166471(0x12c)](_0x125a50,_0xaa0c82);}),{'type':_0x4d7b12[_0xa739f8(0xd3)][_0xa739f8(0x26c)],'fields':_0x2021f1,'rows':_0x440e81,'groups':[],'groupFieldId':_0x107b8e['id'],'titleFieldId':_0x1a2c9f,'coverFieldId':this[_0xa739f8(0x1db)](_0x55c5b7,_0x1a94d3),'cardLayout':_0x1a94d3['cardLayout']===_0xa739f8(0x1e6)?_0xa739f8(0x1e6):_0xa739f8(0x261),'showFieldNames':_0x1a94d3[_0xa739f8(0x23a)]!==!0x1,'visibleCardFieldIds':_0x2e1c7f,'lanes':['',..._0x4f6554[_0xa739f8(0x269)]][_0xa739f8(0x2b8)](_0x2ebf51=>{const _0x339338=_0xa739f8;let _0x2545cc=_0x57ca69[_0x339338(0x9f)](_0x2ebf51);return _0x2545cc!=null&&_0x2545cc[_0x339338(0x391)][_0x339338(0x278)]?[_0x2545cc]:[];})};}return this[_0xa739f8(0x2b7)](_0x107b8e,_0x1a94d3)[_0xa739f8(0x3cc)](_0x3ff6da=>_0x16cc00[_0xa739f8(0x12c)](_0x3ff6da[_0xa739f8(0x3fa)],{..._0x3ff6da,'recordIds':[]})),_0x440e81[_0xa739f8(0x3cc)](_0xb3a7c1=>{const _0xd22c69=_0xa739f8;this[_0xd22c69(0x1ad)](_0x107b8e,_0xb3a7c1[_0xd22c69(0x3b2)][_0x107b8e['id']])['forEach'](_0x3fd2a4=>{const _0x33b787=_0xd22c69;let _0x5d4d5a=_0x16cc00['get'](_0x3fd2a4)??{'key':_0x3fd2a4,'title':this[_0x33b787(0xdd)](_0x107b8e,_0x3fd2a4,_0x1a94d3),'color':this['_kanbanLaneColor'](_0x107b8e,_0x3fd2a4,_0x1a94d3),'recordIds':[]};_0x5d4d5a[_0x33b787(0x391)][_0x33b787(0x112)](_0xb3a7c1[_0x33b787(0x23d)]),_0x16cc00[_0x33b787(0x12c)](_0x3fd2a4,_0x5d4d5a);});}),{'type':_0x4d7b12['BaseViewType'][_0xa739f8(0x26c)],'fields':_0x2021f1,'rows':_0x440e81,'groups':this[_0xa739f8(0x34e)](_0x55c5b7,_0x5ed036,_0x440e81),'groupFieldId':_0x107b8e['id'],'titleFieldId':_0x1a2c9f,'coverFieldId':this['_resolveKanbanCoverFieldId'](_0x55c5b7,_0x1a94d3),'cardLayout':_0x1a94d3[_0xa739f8(0x2a8)]===_0xa739f8(0x1e6)?_0xa739f8(0x1e6):'normal','showFieldNames':_0x1a94d3[_0xa739f8(0x23a)]!==!0x1,'visibleCardFieldIds':_0x2e1c7f,'lanes':Array[_0xa739f8(0x2ba)](_0x16cc00['values']())};}[_0x17666d(0x1e7)](_0x673b30,_0x11e828){const _0x5b7e21=_0x17666d;var _0x53ee40;let _0x33f0b1=(_0x53ee40=_0x11e828[_0x5b7e21(0x39d)])==null?void 0x0:_0x53ee40[_0x5b7e21(0x454)];return _0x33f0b1&&this[_0x5b7e21(0x450)](_0x673b30,_0x33f0b1)?_0x33f0b1:this['_findKanbanGroupField'](_0x673b30,_0x2853b6=>this['_isAllowedKanbanGroupField'](_0x2853b6));}[_0x17666d(0x29e)](_0x522fea,_0x2be1d6){const _0x4b8494=_0x17666d;for(let _0x3f4738 of _0x522fea[_0x4b8494(0x33f)]){let _0x2dea58=_0x522fea[_0x4b8494(0x129)][_0x3f4738];if(_0x2dea58&&_0x2be1d6(_0x2dea58))return _0x2dea58['id'];}return null;}['_isKanbanGroupField'](_0x3c2499,_0x3ab879){const _0x48dced=_0x17666d;let _0x392d46=_0x3c2499[_0x48dced(0x129)][_0x3ab879];return this[_0x48dced(0x41b)](_0x392d46)||_0x216ae2(_0x3c2499,_0x3ab879);}[_0x17666d(0x41b)](_0x3c67eb){const _0x454b8b=_0x17666d;return!!_0x3c67eb&&(_0x3c67eb[_0x454b8b(0x466)]===_0x4d7b12[_0x454b8b(0x419)]['SingleSelect']||_0x3c67eb[_0x454b8b(0x466)]===_0x4d7b12[_0x454b8b(0x419)]['MultiSelect']||_0x3c67eb[_0x454b8b(0x466)]===_0x4d7b12[_0x454b8b(0x419)][_0x454b8b(0x3df)]||_0x3c67eb[_0x454b8b(0x466)]===_0x4d7b12[_0x454b8b(0x419)]['Person']||_0x3c67eb[_0x454b8b(0x466)]===_0x4d7b12[_0x454b8b(0x419)][_0x454b8b(0x41c)]||_0x3c67eb[_0x454b8b(0x466)]===_0x4d7b12[_0x454b8b(0x419)][_0x454b8b(0x317)]);}['_isColorfulKanbanGroupField'](_0x5f2c8e){const _0x417b7e=_0x17666d;return _0x5f2c8e['type']===_0x4d7b12['BaseFieldType']['SingleSelect']||_0x5f2c8e[_0x417b7e(0x466)]===_0x4d7b12[_0x417b7e(0x419)]['MultiSelect'];}[_0x17666d(0x1db)](_0x47f1c0,_0x540131){const _0x192299=_0x17666d;var _0x45e3be;let _0x3ae32d=_0x540131['coverFieldId']??((_0x45e3be=_0x540131[_0x192299(0x36a)])==null?void 0x0:_0x45e3be[_0x192299(0x1e0)])??null;if(!_0x3ae32d)return null;let _0x9d412b=_0x47f1c0[_0x192299(0x129)][_0x3ae32d];return _0x9d412b&&this[_0x192299(0x33c)](_0x9d412b)[_0x192299(0x44b)]?_0x9d412b['id']:null;}[_0x17666d(0x3b1)](_0x3989fb,_0x269585,_0x394d7f,_0x3a24ba=this[_0x17666d(0x15e)](_0x3989fb,((()=>{const _0x521397=_0x17666d;var _0x2ed573;return(_0x2ed573=_0x269585[_0x521397(0x39d)])==null||(_0x2ed573=_0x2ed573[_0x521397(0x36a)])==null?void 0x0:_0x2ed573[_0x521397(0x353)];})()))){const _0x3628cc=_0x17666d;var _0x1ca878;let _0x4c6e65=_0x269585[_0x3628cc(0x39d)]??{},_0x23bcd6=(_0x1ca878=_0x4c6e65[_0x3628cc(0x36a)])!=null&&(_0x1ca878=_0x1ca878['fieldIds'])!=null&&_0x1ca878[_0x3628cc(0x278)]?_0x4c6e65[_0x3628cc(0x36a)][_0x3628cc(0x275)]:_0x22db8a(_0x3989fb,[_0x3a24ba,_0x3989fb['primaryFieldId'],_0x394d7f]),_0x5ee80f=_0x4c6e65[_0x3628cc(0x2fd)]??{};return _0x23bcd6['filter'](_0x7df98c=>{const _0x3ae750=_0x3628cc;var _0x2c5aec,_0x588f23;let _0x14b106=_0x3989fb[_0x3ae750(0x129)][_0x7df98c];return!(!_0x14b106||_0x14b106['system']===!0x0||_0x14b106[_0x3ae750(0x466)]===_0x4d7b12[_0x3ae750(0x419)][_0x3ae750(0x266)]||_0x14b106['id']===_0x394d7f||_0x14b106['id']===_0x3a24ba||(_0x2c5aec=_0x269585[_0x3ae750(0x2fd)])!=null&&(_0x2c5aec=_0x2c5aec[_0x7df98c])!=null&&_0x2c5aec['hidden']||(_0x588f23=_0x5ee80f[_0x7df98c])!=null&&_0x588f23[_0x3ae750(0x338)]);})[_0x3628cc(0x3bb)]((_0x5499ac,_0x4e8e55)=>{const _0x103c5b=_0x3628cc;var _0x7cb4b0,_0x201728;return(((_0x7cb4b0=_0x5ee80f[_0x5499ac])==null?void 0x0:_0x7cb4b0[_0x103c5b(0x245)])??_0x23bcd6['indexOf'](_0x5499ac))-(((_0x201728=_0x5ee80f[_0x4e8e55])==null?void 0x0:_0x201728[_0x103c5b(0x245)])??_0x23bcd6[_0x103c5b(0x211)](_0x4e8e55));});}[_0x17666d(0x2b7)](_0x7d0d3b,_0x170159){const _0x454ef3=_0x17666d;var _0x579afe;let _0x36ff95=(Array['isArray']((_0x579afe=_0x7d0d3b[_0x454ef3(0x39d)])==null?void 0x0:_0x579afe[_0x454ef3(0x3d9)])?_0x7d0d3b[_0x454ef3(0x39d)][_0x454ef3(0x3d9)]:[])[_0x454ef3(0x2b8)]((_0xfa4aa2,_0x30d9e9)=>{const _0x542bda=_0x454ef3;if(_0xfa4aa2==null)return[];let _0x3fc05c=typeof _0xfa4aa2=='string'?{'id':_0xfa4aa2,'name':_0xfa4aa2,'color':void 0x0}:_0xfa4aa2,_0x3c55e3=String(_0x3fc05c['id']??_0x3fc05c['name']??_0x542bda(0x11b)+(_0x30d9e9+0x1));return[{'key':_0x3c55e3,'title':String(_0x3fc05c['name']??_0x3fc05c['id']??_0x3c55e3),'color':this[_0x542bda(0x428)](_0x7d0d3b,_0x3c55e3,_0x170159)}];});return Object[_0x454ef3(0x45d)](_0x170159[_0x454ef3(0x37b)]??{})['forEach'](([_0x465275,_0x1b016e])=>{const _0x3e7b95=_0x454ef3;_0x36ff95[_0x3e7b95(0x256)](_0xf7bc07=>_0xf7bc07['key']===_0x465275)||_0x36ff95['push']({'key':_0x465275,'title':this[_0x3e7b95(0x173)](_0x7d0d3b)?_0x1b016e[_0x3e7b95(0x95)]??this[_0x3e7b95(0xdd)](_0x7d0d3b,_0x465275,_0x170159):this[_0x3e7b95(0xdd)](_0x7d0d3b,_0x465275,_0x170159),'color':this[_0x3e7b95(0x428)](_0x7d0d3b,_0x465275,_0x170159)});}),_0x36ff95;}[_0x17666d(0x1ad)](_0x46a579,_0x5c6147){const _0x43727b=_0x17666d;let _0x44f400=_0x337418=>{var _0x29c2f1;let _0x14d6b3=_0x337418==null?'':String(_0x337418);return!_0x14d6b3||!this['_isColorfulKanbanGroupField'](_0x46a579)?_0x14d6b3:((_0x29c2f1=_0x2f4b46(_0x46a579,_0x14d6b3))==null?void 0x0:_0x29c2f1['id'])??_0x14d6b3;};if(Array[_0x43727b(0x46e)](_0x5c6147)){let _0x548799=_0x5c6147['map'](_0x44f400)[_0x43727b(0x425)](_0x4dcd0e=>_0x4dcd0e!=='');return _0x548799[_0x43727b(0x278)]?_0x548799:[''];}return[_0x44f400(_0x5c6147)];}[_0x17666d(0xdd)](_0x368bde,_0x505674,_0x560d4f){const _0x352b48=_0x17666d;if(!_0x505674)return'Uncategorized';let _0x3292eb=_0x2f4b46(_0x368bde,_0x505674);return(_0x3292eb==null?void 0x0:_0x3292eb[_0x352b48(0x208)])??_0x505674;}[_0x17666d(0x428)](_0x3b3a75,_0x20e0bd,_0x5c3709){const _0x39e664=_0x17666d;var _0x2d2ffe;if(this[_0x39e664(0x173)](_0x3b3a75))return(_0x2d2ffe=_0x2f4b46(_0x3b3a75,_0x20e0bd))==null?void 0x0:_0x2d2ffe[_0x39e664(0x1ee)];}[_0x17666d(0xaa)](_0x379573,_0x2c1b56){const _0x1e3747=_0x17666d;let _0xa20ada=this['_normalizeCalendarConfig'](_0x379573,_0x2c1b56[_0x1e3747(0x39d)]??{}),_0x1a4045=_0x379573['fields'][_0xa20ada[_0x1e3747(0x111)]];if(!_0x1a4045||_0x1a4045[_0x1e3747(0x466)]!==_0x4d7b12[_0x1e3747(0x419)][_0x1e3747(0x32c)]||_0x1a4045[_0x1e3747(0x124)]===!0x0||_0x1a4045[_0x1e3747(0x43a)]===!0x0||!this['_capabilities'](_0x1a4045)[_0x1e3747(0x3ca)])return{'type':'invalid','viewType':_0x4d7b12[_0x1e3747(0xd3)][_0x1e3747(0x406)],'reason':_0x1e3747(0x2c8),'fieldId':_0xa20ada[_0x1e3747(0x111)]};let _0x19e74d=_0xa20ada[_0x1e3747(0x1d1)]?_0x379573[_0x1e3747(0x129)][_0xa20ada[_0x1e3747(0x1d1)]]:void 0x0,_0xe0434e=this['_projectRows'](_0x379573,_0x2c1b56);return{'type':_0x4d7b12['BaseViewType'][_0x1e3747(0x406)],'config':_0xa20ada,'fields':this['_projectFields'](_0x379573,_0x2c1b56),'rows':_0xe0434e,'groups':this['_projectGroups'](_0x379573,_0x2c1b56,_0xe0434e),'events':_0xe0434e['flatMap'](_0x2a930f=>{const _0x14c966=_0x1e3747;let _0x470435=_0x23458d(_0x2a930f['values'][_0xa20ada[_0x14c966(0x111)]]);if(!Number[_0x14c966(0x1c5)](_0x470435))return[];let _0x50713d=_0x2a930f[_0x14c966(0x3b2)][_0xa20ada[_0x14c966(0x111)]],_0x484c7d=_0xa20ada[_0x14c966(0x1d1)]==null?void 0x0:_0x2a930f[_0x14c966(0x3b2)][_0xa20ada[_0x14c966(0x1d1)]],_0x2bc6ae=_0xa20ada[_0x14c966(0x1d1)]==null?void 0x0:_0x23458d(_0x484c7d),_0x4f69e1=Number[_0x14c966(0x1c5)](_0x2bc6ae)?_0x2bc6ae:void 0x0;return[{'recordId':_0x2a930f[_0x14c966(0x23d)],'title':this[_0x14c966(0x2ca)](_0x379573,_0x2a930f,_0xa20ada[_0x14c966(0x353)]),'start':_0x470435,'end':_0x4f69e1,'color':this[_0x14c966(0x2a7)](_0x379573,_0x2a930f,_0xa20ada),'startMs':_0x470435,'endMs':_0x4f69e1,'allDay':this[_0x14c966(0x2ce)](_0x1a4045,_0x19e74d,_0x50713d,_0x484c7d),'fieldValues':_0x2a930f[_0x14c966(0x3b2)]}];})};}['_normalizeCalendarConfig'](_0x2b195f,_0x584e8f){const _0x19cc96=_0x17666d;let _0x3ee8e5=this[_0x19cc96(0x453)](_0x2b195f,_0x584e8f[_0x19cc96(0x111)]),_0xdc79fe=_0x584e8f[_0x19cc96(0x1d1)]&&this[_0x19cc96(0x3c8)](_0x2b195f,_0x584e8f['endDateFieldId'])?_0x584e8f['endDateFieldId']:this[_0x19cc96(0xdc)](_0x2b195f,_0x3ee8e5)??void 0x0,_0x181115=_0x584e8f[_0x19cc96(0x353)]?_0x2b195f[_0x19cc96(0x129)][_0x584e8f['titleFieldId']]:void 0x0,_0x42d662=_0x181115&&_0x181115[_0x19cc96(0x43a)]!==!0x0&&_0x181115['type']!==_0x4d7b12[_0x19cc96(0x419)][_0x19cc96(0x266)]?_0x584e8f[_0x19cc96(0x353)]:_0x2b195f['primaryFieldId'],_0x4e5365=_0x584e8f['mode']===_0x19cc96(0x303)||_0x584e8f[_0x19cc96(0x1e4)]===_0x19cc96(0x27b)?_0x584e8f[_0x19cc96(0x1e4)]:_0x19cc96(0x176),_0xeb7ed9=_0x584e8f[_0x19cc96(0xc2)]===_0x19cc96(0x27a)||_0x584e8f[_0x19cc96(0xc2)]===_0x19cc96(0x244)?_0x584e8f[_0x19cc96(0xc2)]:_0x19cc96(0x28c),_0x5b9e99=typeof _0x584e8f[_0x19cc96(0x1f1)]==_0x19cc96(0x3af)&&_0x584e8f[_0x19cc96(0x1f1)][_0x19cc96(0x11d)]()?_0x584e8f['timeZone']:'local',_0x20450c=this[_0x19cc96(0x195)](_0x2b195f,_0x584e8f);return{..._0x584e8f,'startDateFieldId':_0x3ee8e5,'endDateFieldId':_0xdc79fe,'titleFieldId':_0x42d662,'mode':_0x4e5365,'timeslotSize':_0xeb7ed9,'timeZone':_0x5b9e99,'displayColor':_0x20450c,'fieldSettings':Object[_0x19cc96(0x88)](Object[_0x19cc96(0x45d)](_0x584e8f[_0x19cc96(0x2fd)]??{})[_0x19cc96(0x425)](([_0x5978e0])=>{const _0x346860=_0x19cc96;let _0x4862e9=_0x2b195f[_0x346860(0x129)][_0x5978e0];return!!(_0x4862e9&&_0x4862e9[_0x346860(0x43a)]!==!0x0&&_0x4862e9[_0x346860(0x466)]!==_0x4d7b12['BaseFieldType'][_0x346860(0x266)]);}))};}[_0x17666d(0x453)](_0x29e891,_0x5a4af2){const _0x4ef497=_0x17666d;return _0x5a4af2&&this[_0x4ef497(0x3c8)](_0x29e891,_0x5a4af2)?_0x5a4af2:this['_findCalendarDateFieldId'](_0x29e891)??_0x5a4af2??'';}[_0x17666d(0xdc)](_0x1fbccb,_0x559700){const _0x84f8=_0x17666d;for(let _0x3b832c of _0x1fbccb[_0x84f8(0x33f)])if(_0x3b832c!==_0x559700&&this[_0x84f8(0x3c8)](_0x1fbccb,_0x3b832c))return _0x3b832c;return null;}[_0x17666d(0x3c8)](_0x418de0,_0x3abd71){const _0x56cfc0=_0x17666d;let _0x1471b8=_0x418de0['fields'][_0x3abd71];return!!_0x1471b8&&_0x1471b8['type']===_0x4d7b12[_0x56cfc0(0x419)][_0x56cfc0(0x32c)]&&_0x1471b8[_0x56cfc0(0x124)]!==!0x0&&_0x1471b8[_0x56cfc0(0x43a)]!==!0x0&&this['_capabilities'](_0x1471b8)[_0x56cfc0(0x3ca)];}[_0x17666d(0x195)](_0x2ee3eb,_0x264ea1){const _0x36fe21=_0x17666d;let _0x4d9b18=_0x264ea1[_0x36fe21(0x15d)];if((_0x4d9b18==null?void 0x0:_0x4d9b18[_0x36fe21(0x466)])===_0x36fe21(0x2d7)){let _0x512656=_0x2ee3eb['fields'][_0x4d9b18[_0x36fe21(0x424)]];if(_0x512656&&_0x512656[_0x36fe21(0x466)]===_0x4d7b12[_0x36fe21(0x419)][_0x36fe21(0x191)])return _0x4d9b18;}if((_0x4d9b18==null?void 0x0:_0x4d9b18[_0x36fe21(0x466)])==='custom'&&typeof _0x4d9b18[_0x36fe21(0x1ee)]==_0x36fe21(0x3af)&&_0x4d9b18[_0x36fe21(0x1ee)][_0x36fe21(0x11d)]())return{'type':_0x36fe21(0x2c4),'color':_0x4d9b18[_0x36fe21(0x1ee)]};if(_0x264ea1[_0x36fe21(0x433)]){let _0x315219=_0x2ee3eb[_0x36fe21(0x129)][_0x264ea1[_0x36fe21(0x433)]];if(_0x315219&&_0x315219[_0x36fe21(0x466)]===_0x4d7b12['BaseFieldType'][_0x36fe21(0x191)])return{'type':_0x36fe21(0x2d7),'fieldId':_0x264ea1[_0x36fe21(0x433)]};}return{'type':_0x36fe21(0x2c4),'color':_0x36fe21(0x15c)};}[_0x17666d(0x2a7)](_0x5cd5c8,_0x2ffde3,_0x2044cf){const _0x570734=_0x17666d;let _0x1c4021=_0x2044cf[_0x570734(0x15d)];if((_0x1c4021==null?void 0x0:_0x1c4021[_0x570734(0x466)])===_0x570734(0x2d7)){var _0x1f8008;let _0x20d494=_0x5cd5c8['fields'][_0x1c4021[_0x570734(0x424)]];if(!_0x20d494)return;let _0x324a15=_0x2ffde3[_0x570734(0x3b2)][_0x1c4021['fieldId']],_0x361bd5=Array['isArray'](_0x324a15)?_0x324a15[0x0]:_0x324a15;return _0x361bd5==null||(_0x1f8008=_0x2f4b46(_0x20d494,String(_0x361bd5)))==null?void 0x0:_0x1f8008[_0x570734(0x1ee)];}if((_0x1c4021==null?void 0x0:_0x1c4021[_0x570734(0x466)])===_0x570734(0x2c4))return _0x1c4021[_0x570734(0x1ee)];}['_isAllDayCalendarEvent'](_0x5d9c53,_0x5f53ee,_0x1c62e9,_0x297294){const _0x323304=_0x17666d;var _0x2e5095,_0x1c2fce;let _0x55363d=((_0x2e5095=_0x5d9c53[_0x323304(0x39d)])==null?void 0x0:_0x2e5095['includeTime'])===!0x0,_0x5f457a=(_0x5f53ee==null||(_0x1c2fce=_0x5f53ee[_0x323304(0x39d)])==null?void 0x0:_0x1c2fce[_0x323304(0x290)])===!0x0;return!_0x55363d&&!_0x5f457a;}[_0x17666d(0x373)](_0x11350d,_0x3c18ea){const _0x4f2f90=_0x17666d;var _0x5e27d8,_0xa306d2;let _0x1aead9=((_0x5e27d8=_0x11350d[_0x4f2f90(0x39d)])==null?void 0x0:_0x5e27d8[_0x4f2f90(0x290)])===!0x0,_0x4d8a4e=((_0xa306d2=_0x3c18ea['config'])==null?void 0x0:_0xa306d2[_0x4f2f90(0x290)])===!0x0;return!_0x1aead9&&!_0x4d8a4e;}[_0x17666d(0x335)](_0x62b05f,_0x5851fe){const _0x4e7f5f=_0x17666d;let _0x570a4f=this[_0x4e7f5f(0xbb)](_0x62b05f,_0x5851fe[_0x4e7f5f(0x39d)]),_0x3a7682=_0x62b05f[_0x4e7f5f(0x129)][_0x570a4f[_0x4e7f5f(0x111)]];if(!_0x3a7682||_0x3a7682['type']!==_0x4d7b12['BaseFieldType'][_0x4e7f5f(0x32c)]||_0x3a7682['readonly']===!0x0||_0x3a7682[_0x4e7f5f(0x43a)]===!0x0||!this['_capabilities'](_0x3a7682)[_0x4e7f5f(0x3fe)])return{'type':_0x4e7f5f(0x110),'viewType':_0x4d7b12[_0x4e7f5f(0xd3)]['Gantt'],'reason':_0x4e7f5f(0xfd),'fieldId':_0x570a4f[_0x4e7f5f(0x111)]};let _0x2037d3=_0x62b05f[_0x4e7f5f(0x129)][_0x570a4f['endDateFieldId']];if(!_0x2037d3||_0x2037d3[_0x4e7f5f(0x466)]!==_0x4d7b12[_0x4e7f5f(0x419)][_0x4e7f5f(0x32c)]||_0x2037d3[_0x4e7f5f(0x124)]===!0x0||_0x2037d3[_0x4e7f5f(0x43a)]===!0x0||!this[_0x4e7f5f(0x33c)](_0x2037d3)['usableAsGanttEnd'])return{'type':_0x4e7f5f(0x110),'viewType':_0x4d7b12['BaseViewType'][_0x4e7f5f(0x35f)],'reason':'invalidGanttEndField','fieldId':_0x570a4f['endDateFieldId']};let _0x1fe8cb=this[_0x4e7f5f(0x373)](_0x3a7682,_0x2037d3),_0xb403fc=this[_0x4e7f5f(0x470)](_0x62b05f,_0x5851fe),_0x4ded03=_0xb403fc[_0x4e7f5f(0x2b8)](_0x500fd6=>{const _0x510a30=_0x4e7f5f;let _0x2c9151=_0x23458d(_0x500fd6[_0x510a30(0x3b2)][_0x570a4f['startDateFieldId']]),_0x52fb97=_0x23458d(_0x500fd6[_0x510a30(0x3b2)][_0x570a4f[_0x510a30(0x1d1)]]);if(!Number['isFinite'](_0x2c9151)||!Number[_0x510a30(0x1c5)](_0x52fb97))return[];let _0x516899=Math['min'](_0x2c9151,_0x52fb97),_0x102b15=Math[_0x510a30(0x3e8)](_0x2c9151,_0x52fb97),_0x41b50b=_0x570a4f[_0x510a30(0x3ce)]==null?void 0x0:Number(_0x500fd6[_0x510a30(0x3b2)][_0x570a4f['progressFieldId']]);return[{'recordId':_0x500fd6[_0x510a30(0x23d)],'title':this[_0x510a30(0x2ca)](_0x62b05f,_0x500fd6,_0x570a4f[_0x510a30(0x353)]),'start':_0x516899,'end':_0x102b15,'color':this['_ganttBarColor'](_0x62b05f,_0x500fd6,_0x570a4f),'progress':Number[_0x510a30(0x1c5)](_0x41b50b)?_0x41b50b:void 0x0,'workingDayCount':_0x570a4f[_0x510a30(0x2aa)]?_0x5c472b(_0x516899,_0x102b15,_0x570a4f[_0x510a30(0x21d)]):void 0x0,'dependencyRecordIds':this[_0x510a30(0x3ad)](_0x500fd6[_0x510a30(0x3b2)][_0x570a4f[_0x510a30(0x89)]??''])}];}),_0x4f9860=_0x4ded03[_0x4e7f5f(0x278)]?_0x28c21d(Math[_0x4e7f5f(0x3d6)](..._0x4ded03['map'](_0x4ef264=>_0x4ef264[_0x4e7f5f(0x3cb)]))-0x5a*_0x2ea79f):_0x28c21d(Date[_0x4e7f5f(0x19c)]()-0x5a*_0x2ea79f),_0x5c1b85=_0x4ded03[_0x4e7f5f(0x278)]?_0x28c21d(Math[_0x4e7f5f(0x3e8)](..._0x4ded03[_0x4e7f5f(0xd9)](_0x76e294=>_0x76e294[_0x4e7f5f(0x35e)]))+0x5b*_0x2ea79f):_0x28c21d(Date[_0x4e7f5f(0x19c)]()+0x5b*_0x2ea79f),_0x43ff7f=_0x1ac163(_0x570a4f[_0x4e7f5f(0x1e9)],_0x4f9860,_0x5c1b85,_0x570a4f[_0x4e7f5f(0x2aa)]?_0x570a4f['workingDays']:void 0x0);return{'type':_0x4d7b12['BaseViewType']['Gantt'],'fields':this[_0x4e7f5f(0x41f)](_0x62b05f,{..._0x5851fe,'config':_0x570a4f}),'rows':_0xb403fc,'groups':this[_0x4e7f5f(0x34e)](_0x62b05f,_0x5851fe,_0xb403fc),'config':_0x570a4f,'dateRangeAllDay':_0x1fe8cb,'timeline':{'scale':_0x570a4f[_0x4e7f5f(0x1e9)],'start':_0x4f9860,'end':_0x5c1b85,'unitWidth':_0x43ff7f[_0x4e7f5f(0x439)],'majorHeaders':_0x43ff7f['majorHeaders'],'columns':_0x43ff7f[_0x4e7f5f(0x103)]},'bars':_0x4ded03};}[_0x17666d(0xbb)](_0x234ca1,_0x431eb2){const _0x3e0d54=_0x17666d;let _0x330cc6=this[_0x3e0d54(0x2b3)](_0x234ca1,_0x431eb2[_0x3e0d54(0x111)],_0x3e0d54(0x3cb)),_0x251004=this[_0x3e0d54(0x2b3)](_0x234ca1,_0x431eb2['endDateFieldId'],_0x3e0d54(0x35e))||_0x330cc6,_0x3467cc=_0x431eb2['titleFieldId']?_0x234ca1[_0x3e0d54(0x129)][_0x431eb2[_0x3e0d54(0x353)]]:void 0x0,_0x5d2edc=_0x3467cc&&_0x3467cc['system']!==!0x0&&_0x3467cc[_0x3e0d54(0x466)]!==_0x4d7b12[_0x3e0d54(0x419)][_0x3e0d54(0x266)]?_0x431eb2[_0x3e0d54(0x353)]:_0x234ca1[_0x3e0d54(0x455)],_0x33ef4b=_0x431eb2[_0x3e0d54(0x1e9)]===_0x3e0d54(0x27b)||_0x431eb2[_0x3e0d54(0x1e9)]==='quarter'||_0x431eb2[_0x3e0d54(0x1e9)]==='year'?_0x431eb2[_0x3e0d54(0x1e9)]:_0x3e0d54(0x176),_0x5bae88=_0x54206c(_0x431eb2['workingDays']);return{..._0x431eb2,'startDateFieldId':_0x330cc6,'endDateFieldId':_0x251004,'titleFieldId':_0x5d2edc,'scale':_0x33ef4b,'leftPaneWidth':typeof _0x431eb2[_0x3e0d54(0x148)]==_0x3e0d54(0x2c1)?_0x431eb2[_0x3e0d54(0x148)]:void 0x0,'leftPaneCollapsed':_0x431eb2['leftPaneCollapsed']===!0x0,'showTodayLine':_0x431eb2[_0x3e0d54(0x309)]!==!0x1,'displayColor':this[_0x3e0d54(0x40d)](_0x234ca1,_0x431eb2),'fieldSettings':Object[_0x3e0d54(0x88)](Object[_0x3e0d54(0x45d)](_0x431eb2[_0x3e0d54(0x2fd)]??{})['filter'](([_0x495b6f])=>{const _0x45eede=_0x3e0d54;let _0x3fb3a3=_0x234ca1['fields'][_0x495b6f];return!!(_0x3fb3a3&&_0x3fb3a3['system']!==!0x0&&_0x3fb3a3[_0x45eede(0x466)]!==_0x4d7b12[_0x45eede(0x419)]['RecordId']);})),'workingDaysOnly':_0x431eb2[_0x3e0d54(0x2aa)]===!0x0,'workingDays':_0x5bae88};}[_0x17666d(0x2b3)](_0x9d7655,_0x30b184,_0x3b2b51){if(_0x30b184&&this['_isGanttDateField'](_0x9d7655,_0x30b184,_0x3b2b51)||_0x30b184)return _0x30b184;for(let _0x3cf5c2 of _0x9d7655['fieldOrder'])if(this['_isGanttDateField'](_0x9d7655,_0x3cf5c2,_0x3b2b51))return _0x3cf5c2;return _0x30b184??'';}[_0x17666d(0x333)](_0x5b4ce1,_0x1d90ed,_0x463d50){const _0x3a17aa=_0x17666d;let _0x4e5e3c=_0x5b4ce1[_0x3a17aa(0x129)][_0x1d90ed];if(!_0x4e5e3c||_0x4e5e3c[_0x3a17aa(0x466)]!==_0x4d7b12[_0x3a17aa(0x419)][_0x3a17aa(0x32c)]||_0x4e5e3c[_0x3a17aa(0x124)]===!0x0||_0x4e5e3c['system']===!0x0)return!0x1;let _0x595851=this[_0x3a17aa(0x33c)](_0x4e5e3c);return _0x463d50===_0x3a17aa(0x3cb)?_0x595851[_0x3a17aa(0x3fe)]:_0x595851[_0x3a17aa(0x27e)];}['_normalizeGanttDisplayColor'](_0x291fae,_0x5db999){const _0x562361=_0x17666d;let _0x3729c2=_0x5db999[_0x562361(0x15d)];if((_0x3729c2==null?void 0x0:_0x3729c2[_0x562361(0x466)])===_0x562361(0x2d7)){let _0x3f2bd1=_0x291fae[_0x562361(0x129)][_0x3729c2[_0x562361(0x424)]];if(_0x3f2bd1&&_0x3f2bd1['type']===_0x4d7b12['BaseFieldType'][_0x562361(0x191)])return _0x3729c2;}return(_0x3729c2==null?void 0x0:_0x3729c2[_0x562361(0x466)])==='conditional'&&Array[_0x562361(0x46e)](_0x3729c2[_0x562361(0x1f9)])?{'type':'conditional','rules':_0x3729c2['rules'][_0x562361(0x425)](_0x3d38e6=>!!_0x291fae[_0x562361(0x129)][_0x3d38e6['fieldId']])}:(_0x3729c2==null?void 0x0:_0x3729c2[_0x562361(0x466)])==='custom'&&typeof _0x3729c2[_0x562361(0x1ee)]==_0x562361(0x3af)&&_0x3729c2[_0x562361(0x1ee)]['trim']()?{'type':_0x562361(0x2c4),'color':_0x3729c2['color']}:{'type':_0x562361(0x2c4),'color':_0x562361(0x2e8)};}[_0x17666d(0xa8)](_0x503407,_0x2e513e,_0x23c79e){const _0x3fc97b=_0x17666d;let _0x2abdb1=_0x23c79e[_0x3fc97b(0x15d)];if((_0x2abdb1==null?void 0x0:_0x2abdb1[_0x3fc97b(0x466)])==='conditional'){let _0x1dfd48=_0x2abdb1[_0x3fc97b(0x1f9)][_0x3fc97b(0x3b6)](_0x22ca1f=>this[_0x3fc97b(0x3c0)](_0x503407,_0x2e513e,_0x22ca1f));if(_0x1dfd48)return _0x1dfd48[_0x3fc97b(0x1ee)];}if((_0x2abdb1==null?void 0x0:_0x2abdb1[_0x3fc97b(0x466)])===_0x3fc97b(0x2d7)){let _0x4fb357=_0x503407[_0x3fc97b(0x129)][_0x2abdb1['fieldId']];if(_0x4fb357){var _0x53a3a9;let _0x1438a4=_0x2e513e[_0x3fc97b(0x3b2)][_0x2abdb1[_0x3fc97b(0x424)]],_0x17955a=Array['isArray'](_0x1438a4)?_0x1438a4[0x0]:_0x1438a4,_0x2eed01=_0x17955a==null||(_0x53a3a9=_0x2f4b46(_0x4fb357,String(_0x17955a)))==null?void 0x0:_0x53a3a9[_0x3fc97b(0x1ee)];if(_0x2eed01)return _0x2eed01;}}return(_0x2abdb1==null?void 0x0:_0x2abdb1[_0x3fc97b(0x466)])===_0x3fc97b(0x2c4)?_0x2abdb1[_0x3fc97b(0x1ee)]:_0x3fc97b(0x2e8);}[_0x17666d(0x3c0)](_0x1040b5,_0x533fd1,_0x4bfad7){const _0x87d37b=_0x17666d;let _0x398fd1=_0x1040b5['fields'][_0x4bfad7[_0x87d37b(0x424)]];return _0x398fd1?_0x1b2953(_0x533fd1[_0x87d37b(0x3b2)][_0x398fd1['id']],_0x4bfad7['operator'],_0x4bfad7[_0x87d37b(0x291)],_0x398fd1,{'dateMode':_0x4bfad7[_0x87d37b(0x202)]}):!0x1;}[_0x17666d(0x435)](_0x2bd8b0,_0xe486f4){const _0x13f1d6=_0x17666d;let _0x13e60d=this[_0x13f1d6(0x470)](_0x2bd8b0,_0xe486f4),_0x1da2c3=this[_0x13f1d6(0xc5)](_0x2bd8b0,_0xe486f4[_0x13f1d6(0x39d)]??{}),_0x598183=this[_0x13f1d6(0x41f)](_0x2bd8b0,_0xe486f4);return{'type':_0x4d7b12[_0x13f1d6(0xd3)][_0x13f1d6(0x141)],'fields':_0x598183,'rows':_0x13e60d,'groups':this['_projectGroups'](_0x2bd8b0,_0xe486f4,_0x13e60d),'titleFieldId':_0x1da2c3[_0x13f1d6(0x36a)][_0x13f1d6(0x353)],'coverFieldId':_0x1da2c3[_0x13f1d6(0x1e0)],'cardLayout':_0x1da2c3['cardLayout']??_0x13f1d6(0x261),'showFieldNames':_0x1da2c3[_0x13f1d6(0x23a)]!==!0x1,'visibleCardFieldIds':this[_0x13f1d6(0x381)](_0x2bd8b0,_0xe486f4,_0x1da2c3),'cardSize':_0x1da2c3[_0x13f1d6(0x442)]??_0x13f1d6(0x28c),'cards':_0x13e60d[_0x13f1d6(0xd9)](_0x462cc0=>({'recordId':_0x462cc0[_0x13f1d6(0x23d)],'title':this[_0x13f1d6(0x2ca)](_0x2bd8b0,_0x462cc0,_0x1da2c3[_0x13f1d6(0x36a)][_0x13f1d6(0x353)]),'values':_0x462cc0[_0x13f1d6(0x3b2)]}))};}[_0x17666d(0xc5)](_0xa595bf,_0x934b7e){const _0x4ff70b=_0x17666d;let _0x152dac=_0x934b7e[_0x4ff70b(0x36a)]??{'fieldIds':[]},_0x9a186e=this['_resolveCardTitleFieldId'](_0xa595bf,_0x152dac[_0x4ff70b(0x353)]),_0xc0be74=this[_0x4ff70b(0x292)](_0xa595bf,_0x934b7e),_0x3197f9=_0x934b7e[_0x4ff70b(0x442)]===_0x4ff70b(0x3f5)||_0x934b7e[_0x4ff70b(0x442)]===_0x4ff70b(0x12b)?_0x934b7e[_0x4ff70b(0x442)]:_0x4ff70b(0x28c);return{..._0x934b7e,'coverFieldId':_0xc0be74,'cardLayout':_0x934b7e[_0x4ff70b(0x2a8)]===_0x4ff70b(0x1e6)?_0x4ff70b(0x1e6):_0x4ff70b(0x261),'showFieldNames':_0x934b7e[_0x4ff70b(0x23a)]!==!0x1,'fieldSettings':Object['fromEntries'](Object[_0x4ff70b(0x45d)](_0x934b7e[_0x4ff70b(0x2fd)]??{})[_0x4ff70b(0x425)](([_0x51e783])=>{const _0x7cc362=_0x4ff70b;let _0x41f1f8=_0xa595bf['fields'][_0x51e783];return!!(_0x41f1f8&&_0x41f1f8[_0x7cc362(0x43a)]!==!0x0&&_0x41f1f8[_0x7cc362(0x466)]!==_0x4d7b12[_0x7cc362(0x419)]['RecordId']);})),'card':{..._0x152dac,'titleFieldId':_0x9a186e,'coverFieldId':_0xc0be74,'fieldIds':Array[_0x4ff70b(0x46e)](_0x152dac['fieldIds'])?_0x152dac[_0x4ff70b(0x275)]:[]},'cardSize':_0x3197f9};}[_0x17666d(0x15e)](_0x5a6566,_0x33647a){const _0x21bbf5=_0x17666d;let _0x290857=_0x33647a?_0x5a6566[_0x21bbf5(0x129)][_0x33647a]:void 0x0;return _0x290857&&_0x290857['system']!==!0x0&&_0x290857[_0x21bbf5(0x466)]!==_0x4d7b12[_0x21bbf5(0x419)][_0x21bbf5(0x266)]?_0x290857['id']:_0x1eb725(_0x5a6566);}[_0x17666d(0x292)](_0x292c24,_0x4d22e6){const _0x3f9180=_0x17666d;var _0x41d258;let _0x24db55=_0x4d22e6[_0x3f9180(0x1e0)]??((_0x41d258=_0x4d22e6[_0x3f9180(0x36a)])==null?void 0x0:_0x41d258[_0x3f9180(0x1e0)])??null;if(!_0x24db55)return null;let _0x5e31d2=_0x292c24[_0x3f9180(0x129)][_0x24db55];return _0x5e31d2&&this[_0x3f9180(0x33c)](_0x5e31d2)[_0x3f9180(0x44b)]?_0x5e31d2['id']:null;}[_0x17666d(0x381)](_0x5e579f,_0x429823,_0x47dbbd){const _0x2c30f7=_0x17666d;var _0x747530,_0x2a2ee5,_0x189e7c;let _0x27b44b=_0x47dbbd[_0x2c30f7(0x2fd)]??{},_0x355bf6=((_0x747530=_0x47dbbd[_0x2c30f7(0x36a)])==null?void 0x0:_0x747530[_0x2c30f7(0x353)])??_0x1eb725(_0x5e579f),_0x4ae421=_0x47dbbd[_0x2c30f7(0x1e0)]??((_0x2a2ee5=_0x47dbbd[_0x2c30f7(0x36a)])==null?void 0x0:_0x2a2ee5[_0x2c30f7(0x1e0)])??null,_0x27ce06=(_0x189e7c=_0x47dbbd[_0x2c30f7(0x36a)])!=null&&(_0x189e7c=_0x189e7c[_0x2c30f7(0x275)])!=null&&_0x189e7c['length']?_0x47dbbd[_0x2c30f7(0x36a)][_0x2c30f7(0x275)]:_0x22db8a(_0x5e579f,[_0x355bf6,_0x4ae421,_0x5e579f[_0x2c30f7(0x455)]]);return _0x27ce06[_0x2c30f7(0x425)](_0x1997f8=>{const _0x27341e=_0x2c30f7;var _0x2fd0ca,_0x415c6a;let _0x59bfe1=_0x5e579f[_0x27341e(0x129)][_0x1997f8];return!(!_0x59bfe1||_0x59bfe1[_0x27341e(0x43a)]===!0x0||_0x59bfe1[_0x27341e(0x466)]===_0x4d7b12[_0x27341e(0x419)][_0x27341e(0x266)]||_0x59bfe1['id']===_0x355bf6||_0x59bfe1['id']===_0x4ae421||(_0x2fd0ca=_0x429823['fieldSettings'])!=null&&(_0x2fd0ca=_0x2fd0ca[_0x1997f8])!=null&&_0x2fd0ca[_0x27341e(0x338)]||(_0x415c6a=_0x27b44b[_0x1997f8])!=null&&_0x415c6a[_0x27341e(0x338)]);})[_0x2c30f7(0x3bb)]((_0x17ad0f,_0x143b31)=>{const _0x2c13ea=_0x2c30f7;var _0xb1d194,_0x376859;return(((_0xb1d194=_0x27b44b[_0x17ad0f])==null?void 0x0:_0xb1d194['order'])??_0x27ce06[_0x2c13ea(0x211)](_0x17ad0f))-(((_0x376859=_0x27b44b[_0x143b31])==null?void 0x0:_0x376859[_0x2c13ea(0x245)])??_0x27ce06[_0x2c13ea(0x211)](_0x143b31));});}[_0x17666d(0x41f)](_0x29cd9e,_0x492866){const _0x4d616d=_0x17666d;var _0x56b22f;return((_0x56b22f=_0x492866[_0x4d616d(0x33f)])!=null&&_0x56b22f[_0x4d616d(0x278)]?_0x492866[_0x4d616d(0x33f)]:_0x29cd9e[_0x4d616d(0x33f)])[_0x4d616d(0x2b8)](_0x50dcc4=>{const _0x49548d=_0x4d616d;var _0x1f8649;let _0x217ed7=_0x29cd9e[_0x49548d(0x129)][_0x50dcc4],_0x1167ed=((_0x1f8649=_0x492866[_0x49548d(0x2fd)])==null?void 0x0:_0x1f8649[_0x50dcc4])??{};return!_0x217ed7||_0x217ed7['system']===!0x0||_0x217ed7[_0x49548d(0x466)]===_0x4d7b12[_0x49548d(0x419)][_0x49548d(0x266)]||_0x1167ed[_0x49548d(0x338)]?[]:[{'id':_0x217ed7['id'],'name':_0x217ed7[_0x49548d(0x208)],'description':_0x217ed7['description'],'type':_0x217ed7[_0x49548d(0x466)],'config':_0x217ed7['config'],'width':_0x1167ed['width'],'setting':_0x1167ed}];});}[_0x17666d(0x470)](_0x927e38,_0x2df54c){const _0x8d1f24=_0x17666d;var _0x20938e;return _0x1b2201(_0x8d1f24(0x410),()=>{const _0x3df885=_0x8d1f24;var _0x20b4a8,_0x326b57;let _0x5ddd97=this[_0x3df885(0x42c)](_0x927e38),_0x136456=this[_0x3df885(0x1f3)](_0x927e38['id'],_0x2df54c),_0x488c7f=this[_0x3df885(0x457)](_0x927e38['id']),_0x426b2b=this[_0x3df885(0x307)]['get'](_0x136456);if(_0x426b2b&&_0x426b2b[_0x3df885(0x3e9)]===this[_0x3df885(0x39c)]&&_0x426b2b[_0x3df885(0xb7)]===this['_getTableRevision'](_0x927e38['id'])){if(_0x426b2b[_0x3df885(0x18c)]===_0x488c7f&&_0x426b2b['baseRows']===_0x5ddd97)return _0x426b2b[_0x3df885(0x90)];if(_0x426b2b['cellRevision']!==_0x488c7f&&!this[_0x3df885(0x2f9)](_0x927e38['id'],_0x426b2b[_0x3df885(0x18c)],_0x488c7f,this[_0x3df885(0x122)](_0x2df54c))){let _0x4787a1=_0x426b2b[_0x3df885(0x90)]===_0x426b2b[_0x3df885(0xbd)]?_0x5ddd97:this['_patchCachedProjectedRows'](_0x426b2b[_0x3df885(0x90)],_0x5ddd97);if(_0x4787a1)return this[_0x3df885(0x307)][_0x3df885(0x12c)](_0x136456,{..._0x426b2b,'rows':_0x4787a1,'baseRows':_0x5ddd97,'cellRevision':_0x488c7f}),_0x4787a1;}}let _0x27a9fd=_0x1b2201(_0x3df885(0x10f),()=>this['_sortRows'](_0x927e38,_0x2df54c,this[_0x3df885(0x3c5)](_0x927e38,_0x2df54c,_0x5ddd97)),{'tableId':_0x927e38['id'],'viewId':_0x2df54c==null?void 0x0:_0x2df54c['id'],'viewType':_0x2df54c==null?void 0x0:_0x2df54c['type'],'rows':_0x5ddd97[_0x3df885(0x278)],'filters':(_0x2df54c==null||(_0x20b4a8=_0x2df54c[_0x3df885(0x425)])==null?void 0x0:_0x20b4a8[_0x3df885(0x2ee)][_0x3df885(0x278)])??0x0,'sorts':(_0x2df54c==null||(_0x326b57=_0x2df54c[_0x3df885(0x3bb)])==null?void 0x0:_0x326b57[_0x3df885(0x278)])??0x0});return this[_0x3df885(0x307)][_0x3df885(0x12c)](_0x136456,{'table':_0x927e38,'rows':_0x27a9fd,'baseRows':_0x5ddd97,'globalRevision':this['_globalRevision'],'tableRevision':this[_0x3df885(0xec)](_0x927e38['id']),'cellRevision':_0x488c7f}),_0x27a9fd;},{'tableId':_0x927e38['id'],'viewId':_0x2df54c==null?void 0x0:_0x2df54c['id'],'viewType':_0x2df54c==null?void 0x0:_0x2df54c[_0x8d1f24(0x466)],'records':((_0x20938e=_0x927e38['recordOrder'])==null?void 0x0:_0x20938e[_0x8d1f24(0x278)])??Object[_0x8d1f24(0x3d7)](_0x927e38[_0x8d1f24(0x14c)]??{})[_0x8d1f24(0x278)]});}[_0x17666d(0x42c)](_0x4812ab){const _0x8fb4d=_0x17666d;var _0x3c71ba;return _0x1b2201(_0x8fb4d(0x264),()=>{const _0xd5aec1=_0x8fb4d;var _0x22d574;let _0x32f699=this[_0xd5aec1(0x457)](_0x4812ab['id']),_0x38e4da=this[_0xd5aec1(0x1ed)][_0xd5aec1(0x9f)](_0x4812ab['id']);if(_0x38e4da&&_0x38e4da[_0xd5aec1(0x3e9)]===this[_0xd5aec1(0x39c)]&&_0x38e4da[_0xd5aec1(0xb7)]===this[_0xd5aec1(0xec)](_0x4812ab['id'])){if(_0x38e4da[_0xd5aec1(0x18c)]===_0x32f699&&_0x38e4da[_0xd5aec1(0x39f)]===_0x4812ab)return _0x38e4da[_0xd5aec1(0x90)];let _0x51fc84=this[_0xd5aec1(0x430)](_0x4812ab,_0x38e4da,_0x32f699);if(_0x51fc84)return _0x51fc84;}_0x229f46(_0x4812ab)||_0x4cff78(_0x4812ab);let _0x3debff=(_0x22d574=_0x4812ab[_0xd5aec1(0x370)])!=null&&_0x22d574['length']?_0x4812ab['recordOrder']:_0x503418(_0x4812ab['records']),_0x36fb88=_0x1b2201('BaseProjection.materializeTableRows',()=>{const _0xf19f70=_0xd5aec1;let _0x4a9152=[];for(let _0x3a9612 of _0x3debff){let _0x44d17c=_0x4812ab[_0xf19f70(0x14c)][_0x3a9612];if(!_0x44d17c)continue;let _0x3c2e2d={};for(let _0x4faabc of _0x4812ab['fieldOrder'])_0x3c2e2d[_0x4faabc]=_0x5d14af(_0x4812ab,_0x44d17c['id'],_0x4faabc);_0x4a9152[_0xf19f70(0x112)]({'recordId':_0x44d17c['id'],'values':_0x3c2e2d});}return _0x4a9152;},{'tableId':_0x4812ab['id'],'records':_0x3debff[_0xd5aec1(0x278)],'fields':_0x4812ab[_0xd5aec1(0x33f)][_0xd5aec1(0x278)]});return this[_0xd5aec1(0x1ed)][_0xd5aec1(0x12c)](_0x4812ab['id'],{'table':_0x4812ab,'rows':_0x36fb88,'rowIndexById':_0x149975(_0x36fb88),'globalRevision':this['_globalRevision'],'tableRevision':this[_0xd5aec1(0xec)](_0x4812ab['id']),'cellRevision':_0x32f699}),_0x36fb88;},{'tableId':_0x4812ab['id'],'records':((_0x3c71ba=_0x4812ab[_0x8fb4d(0x370)])==null?void 0x0:_0x3c71ba['length'])??Object['keys'](_0x4812ab[_0x8fb4d(0x14c)]??{})[_0x8fb4d(0x278)],'fields':_0x4812ab[_0x8fb4d(0x33f)][_0x8fb4d(0x278)]});}[_0x17666d(0x430)](_0xa88ab0,_0x32ee9c,_0x183631){const _0x344434=_0x17666d;let _0x5688b4=(this[_0x344434(0x389)][_0x344434(0x9f)](_0xa88ab0['id'])??[])[_0x344434(0x425)](_0x26ad69=>_0x26ad69[_0x344434(0x100)]>_0x32ee9c[_0x344434(0x18c)]&&_0x26ad69[_0x344434(0x100)]<=_0x183631);if(!_0x5688b4['length'])return _0x32ee9c[_0x344434(0x39f)]===_0xa88ab0?_0x32ee9c['rows']:null;let _0x3ac5bd=_0x32ee9c[_0x344434(0x90)],_0x485eb1=new Map();for(let _0x37d4e2 of _0x5688b4){let _0x36f5ae=_0x485eb1[_0x344434(0x9f)](_0x37d4e2['recordId']);_0x36f5ae||(_0x36f5ae=new Set(),_0x485eb1[_0x344434(0x12c)](_0x37d4e2[_0x344434(0x23d)],_0x36f5ae)),_0x36f5ae[_0x344434(0x3a1)](_0x37d4e2[_0x344434(0x424)]);}for(let [_0x58dcb6,_0xd6cd78]of _0x485eb1){if(!_0xa88ab0[_0x344434(0x14c)][_0x58dcb6])return null;let _0x537261=_0x32ee9c['rowIndexById'][_0x344434(0x9f)](_0x58dcb6);if(_0x537261==null)return null;_0x3ac5bd===_0x32ee9c[_0x344434(0x90)]&&(_0x3ac5bd=[..._0x32ee9c['rows']]);let _0x262e2b=_0x3ac5bd[_0x537261],_0x39fb07={..._0x262e2b[_0x344434(0x3b2)]};_0xd6cd78['forEach'](_0x327906=>{_0x39fb07[_0x327906]=_0x5d14af(_0xa88ab0,_0x58dcb6,_0x327906);}),_0x3ac5bd[_0x537261]={..._0x262e2b,'values':_0x39fb07};}let _0x410e01={'table':_0xa88ab0,'rows':_0x3ac5bd,'rowIndexById':_0x32ee9c['rowIndexById'],'globalRevision':this[_0x344434(0x39c)],'tableRevision':this[_0x344434(0xec)](_0xa88ab0['id']),'cellRevision':_0x183631};return this['_projectedRowsCache'][_0x344434(0x12c)](_0xa88ab0['id'],_0x410e01),this[_0x344434(0x389)][_0x344434(0x12c)](_0xa88ab0['id'],(this[_0x344434(0x389)][_0x344434(0x9f)](_0xa88ab0['id'])??[])[_0x344434(0x425)](_0x49f32a=>_0x49f32a[_0x344434(0x100)]>Math[_0x344434(0x3e8)](0x0,_0x183631-0x100))),_0x3ac5bd;}[_0x17666d(0x7f)](_0x1022dd,_0x1d23b9){const _0x4db0eb=_0x17666d;let _0x515ee3=new Map(_0x1d23b9[_0x4db0eb(0xd9)](_0x1ca9ab=>[_0x1ca9ab[_0x4db0eb(0x23d)],_0x1ca9ab])),_0x1ca47a=!0x1,_0x5aff4e=_0x1022dd[_0x4db0eb(0xd9)](_0x1847c5=>{const _0x50b212=_0x4db0eb;let _0x130498=_0x515ee3[_0x50b212(0x9f)](_0x1847c5[_0x50b212(0x23d)]);return _0x130498?_0x130498===_0x1847c5?_0x1847c5:(_0x1ca47a=!0x0,_0x130498):_0x1847c5;});return _0x1ca47a?_0x5aff4e:_0x1022dd;}['_cellInvalidationsTouchFields'](_0x24d818,_0x3ec7b3,_0x42badf,_0x2f66ac){const _0x262021=_0x17666d;return!_0x2f66ac[_0x262021(0x220)]||_0x3ec7b3===_0x42badf?!0x1:_0x42badf-_0x3ec7b3>0x100||(this['_cellInvalidations'][_0x262021(0x9f)](_0x24d818)??[])[_0x262021(0x256)](_0x2779af=>_0x2779af[_0x262021(0x100)]>_0x3ec7b3&&_0x2779af[_0x262021(0x100)]<=_0x42badf&&_0x2f66ac[_0x262021(0x1eb)](_0x2779af[_0x262021(0x424)]));}[_0x17666d(0x122)](_0x54e78a){const _0x5f437b=_0x17666d;var _0x5a2198,_0x12ad5e;let _0x106bf5=new Set();return _0x54e78a==null||(_0x5a2198=_0x54e78a[_0x5f437b(0x425)])==null||_0x5a2198[_0x5f437b(0x2ee)][_0x5f437b(0x3cc)](_0x4a82ac=>_0x106bf5[_0x5f437b(0x3a1)](_0x4a82ac[_0x5f437b(0x424)])),_0x54e78a==null||(_0x12ad5e=_0x54e78a['sort'])==null||_0x12ad5e[_0x5f437b(0x3cc)](_0x45f772=>_0x106bf5[_0x5f437b(0x3a1)](_0x45f772[_0x5f437b(0x424)])),_0x106bf5;}[_0x17666d(0x45a)](_0x46e1b5){const _0x2c21f4=_0x17666d;var _0x4e4a1a;let _0x2b4aa3=this[_0x2c21f4(0x122)](_0x46e1b5);return(_0x4e4a1a=_0x46e1b5[_0x2c21f4(0x161)])==null||_0x4e4a1a[_0x2c21f4(0x3cc)](_0x2da783=>_0x2b4aa3[_0x2c21f4(0x3a1)](_0x2da783['fieldId'])),_0x2b4aa3;}[_0x17666d(0x3c5)](_0x2a1759,_0x481950,_0x4b22b6){const _0xce17c5=_0x17666d;let _0x3ac2cb=_0x481950==null?void 0x0:_0x481950[_0xce17c5(0x425)];if(!(_0x3ac2cb!=null&&_0x3ac2cb['conditions']['length']))return _0x4b22b6;let _0xff51c0=_0x3ac2cb[_0xce17c5(0x2ee)][_0xce17c5(0x425)](_0x831818=>!_0x331044(_0x831818));return _0xff51c0[_0xce17c5(0x278)]?_0x4b22b6[_0xce17c5(0x425)](_0x99d953=>{const _0x19fbf2=_0xce17c5;if(_0x3ac2cb[_0x19fbf2(0x287)]===_0x4d7b12['BaseFilterConjunction']['OR']){for(let _0x300198 of _0xff51c0){let _0x33c02d=_0x2a1759['fields'][_0x300198[_0x19fbf2(0x424)]];if(!_0x33c02d||this['_fieldRegistry'][_0x19fbf2(0x9f)](_0x33c02d['type'])[_0x19fbf2(0x425)](_0x99d953[_0x19fbf2(0x3b2)][_0x33c02d['id']],_0x300198[_0x19fbf2(0x372)],_0x300198[_0x19fbf2(0x291)],_0x33c02d))return!0x0;}return!0x1;}for(let _0xdcf98f of _0xff51c0){let _0xd65e84=_0x2a1759[_0x19fbf2(0x129)][_0xdcf98f[_0x19fbf2(0x424)]];if(_0xd65e84&&!this['_fieldRegistry'][_0x19fbf2(0x9f)](_0xd65e84[_0x19fbf2(0x466)])[_0x19fbf2(0x425)](_0x99d953['values'][_0xd65e84['id']],_0xdcf98f[_0x19fbf2(0x372)],_0xdcf98f['operand'],_0xd65e84))return!0x1;}return!0x0;}):_0x4b22b6;}['_sortRows'](_0xbba810,_0x4dad22,_0x583e19){const _0x46dc75=_0x17666d;let _0x17639c=(_0x4dad22==null?void 0x0:_0x4dad22['sort'])??[];if(!_0x17639c['length'])return _0x583e19;let _0x16ed46=_0x17639c['flatMap'](_0x3524aa=>{const _0x210b5d=_0x2760;let _0x490236=_0xbba810[_0x210b5d(0x129)][_0x3524aa[_0x210b5d(0x424)]];return _0x490236?[{..._0x3524aa,'field':_0x490236}]:[];});return _0x16ed46[_0x46dc75(0x278)]?this[_0x46dc75(0x3e7)](_0x16ed46)?this[_0x46dc75(0x14f)](_0x16ed46,_0x583e19):[..._0x583e19][_0x46dc75(0x3bb)]((_0x43ed32,_0x436e32)=>{const _0x2a3f10=_0x46dc75;for(let _0x563bbf of _0x16ed46){let _0x359aed=_0x563bbf['field'],_0x4d32f0=this['_fieldRegistry']['get'](_0x359aed['type'])['compare'](_0x43ed32['values'][_0x359aed['id']],_0x436e32['values'][_0x359aed['id']],_0x359aed);if(_0x4d32f0!==0x0)return _0x563bbf[_0x2a3f10(0x27c)]===_0x4d7b12['BaseSortDirection'][_0x2a3f10(0x1ff)]?-_0x4d32f0:_0x4d32f0;}return 0x0;}):_0x583e19;}[_0x17666d(0x3e7)](_0x58b56d){const _0x51e12b=_0x17666d;return _0x58b56d['every'](_0x365d15=>_0x3f7da6[_0x51e12b(0x1eb)](_0x365d15[_0x51e12b(0x38f)]['type']));}[_0x17666d(0x14f)](_0x240b10,_0x2bce62){const _0x226b6b=_0x17666d;return _0x2bce62[_0x226b6b(0xd9)]((_0x2a62c0,_0x22baba)=>({'row':_0x2a62c0,'index':_0x22baba,'keys':_0x240b10[_0x226b6b(0xd9)](_0x148b0a=>_0x2a62c0[_0x226b6b(0x3b2)][_0x148b0a[_0x226b6b(0x424)]])}))['sort']((_0x57c73c,_0x19b93d)=>{const _0x98ae00=_0x226b6b;for(let _0x5488da=0x0;_0x5488da<_0x240b10['length'];_0x5488da++){let _0x576562=_0x3f21aa(_0x57c73c[_0x98ae00(0x3d7)][_0x5488da],_0x19b93d[_0x98ae00(0x3d7)][_0x5488da]);if(_0x576562!==0x0)return _0x240b10[_0x5488da]['direction']===_0x4d7b12[_0x98ae00(0x271)][_0x98ae00(0x1ff)]?-_0x576562:_0x576562;}return _0x57c73c['index']-_0x19b93d[_0x98ae00(0x293)];})[_0x226b6b(0xd9)](_0x21d830=>_0x21d830[_0x226b6b(0x1b3)]);}['_projectGroups'](_0x2097eb,_0x43ea1f,_0x3eaf7f){const _0x3386c7=_0x17666d;var _0x211ac1;return _0x1b2201(_0x3386c7(0x1c8),()=>{const _0x8a9c0b=_0x3386c7;var _0x3b6677;if(!((_0x3b6677=_0x43ea1f['group'])!=null&&_0x3b6677[_0x8a9c0b(0x278)]))return[];let _0x2afac8=_0x43ea1f[_0x8a9c0b(0x161)]['filter'](_0x171415=>_0x2097eb['fields'][_0x171415[_0x8a9c0b(0x424)]]);if(!_0x2afac8[_0x8a9c0b(0x278)])return[];let _0x4e3639=this[_0x8a9c0b(0x2f1)](_0x2097eb['id'],_0x43ea1f,_0x2afac8),_0x3fe558=this[_0x8a9c0b(0x457)](_0x2097eb['id']),_0x5553bb=this['_projectedGroupsCache'][_0x8a9c0b(0x9f)](_0x4e3639);if(_0x5553bb&&_0x5553bb[_0x8a9c0b(0x3e9)]===this[_0x8a9c0b(0x39c)]&&_0x5553bb[_0x8a9c0b(0xb7)]===this[_0x8a9c0b(0xec)](_0x2097eb['id'])){if(_0x5553bb[_0x8a9c0b(0x18c)]===_0x3fe558&&_0x5553bb[_0x8a9c0b(0x90)]===_0x3eaf7f)return _0x5553bb[_0x8a9c0b(0x34c)];if(_0x5553bb[_0x8a9c0b(0x18c)]!==_0x3fe558&&!this['_cellInvalidationsTouchFields'](_0x2097eb['id'],_0x5553bb[_0x8a9c0b(0x18c)],_0x3fe558,this['_groupProjectionFieldIds'](_0x43ea1f)))return this[_0x8a9c0b(0x147)][_0x8a9c0b(0x12c)](_0x4e3639,{..._0x5553bb,'rows':_0x3eaf7f,'cellRevision':_0x3fe558}),_0x5553bb[_0x8a9c0b(0x34c)];}let _0x3787e4=new Map();for(let _0x20c54e of _0x3eaf7f){let _0x489d45=_0x3787e4,_0x2f1c3b='';for(let _0x17a8c9=0x0;_0x17a8c9<_0x2afac8[_0x8a9c0b(0x278)];_0x17a8c9++){let _0x5d787a=_0x2afac8[_0x17a8c9],_0x5231d3=_0x20c54e[_0x8a9c0b(0x3b2)][_0x5d787a['fieldId']],_0x312906=_0x1eef89(_0x5231d3),_0x399ee5=_0x5d787a[_0x8a9c0b(0x424)]+'\x00'+_0x312906,_0x256f8a=_0x2f1c3b+'/'+_0x5d787a[_0x8a9c0b(0x424)]+':'+_0x312906,_0x39bd87=_0x489d45[_0x8a9c0b(0x9f)](_0x399ee5);_0x39bd87||(_0x39bd87={'key':_0x312906,'value':_0x5231d3,'path':_0x256f8a,'label':_0x312906||_0x8a9c0b(0x305),'fieldId':_0x5d787a[_0x8a9c0b(0x424)],'level':_0x17a8c9,'recordIds':[],'children':new Map()},_0x489d45['set'](_0x399ee5,_0x39bd87)),_0x39bd87['recordIds'][_0x8a9c0b(0x112)](_0x20c54e['recordId']),_0x489d45=_0x39bd87[_0x8a9c0b(0x25f)],_0x2f1c3b=_0x256f8a;}}let _0x167dd5=this['_materializeGroups'](_0x2afac8,_0x3787e4,0x0);return this[_0x8a9c0b(0x147)][_0x8a9c0b(0x12c)](_0x4e3639,{'table':_0x2097eb,'rows':_0x3eaf7f,'groups':_0x167dd5,'globalRevision':this[_0x8a9c0b(0x39c)],'tableRevision':this[_0x8a9c0b(0xec)](_0x2097eb['id']),'cellRevision':_0x3fe558}),_0x167dd5;},{'tableId':_0x2097eb['id'],'viewId':_0x43ea1f['id'],'viewType':_0x43ea1f[_0x3386c7(0x466)],'rows':_0x3eaf7f[_0x3386c7(0x278)],'groupFields':((_0x211ac1=_0x43ea1f[_0x3386c7(0x161)])==null?void 0x0:_0x211ac1[_0x3386c7(0x278)])??0x0});}['_materializeGroups'](_0x405b77,_0x118620,_0x2e32ca){const _0x32eebb=_0x17666d;var _0x9e1a25;let _0x23e56c=Array['from'](_0x118620[_0x32eebb(0x3b2)]()),_0x25d11e=(_0x9e1a25=_0x405b77[_0x2e32ca])==null?void 0x0:_0x9e1a25['direction'];return _0x25d11e&&_0x23e56c[_0x32eebb(0x3bb)]((_0x580de4,_0x3b12cd)=>{const _0x413a91=_0x32eebb;let _0x4e3278=_0x580de4['key'][_0x413a91(0x31b)](_0x3b12cd[_0x413a91(0x3fa)]);return _0x25d11e===_0x4d7b12[_0x413a91(0x271)][_0x413a91(0x1ff)]?-_0x4e3278:_0x4e3278;}),_0x23e56c[_0x32eebb(0xd9)](_0x174c07=>({'key':_0x174c07['key'],'value':_0x174c07[_0x32eebb(0x12e)],'path':_0x174c07[_0x32eebb(0x33b)],'label':_0x174c07[_0x32eebb(0x3bc)],'fieldId':_0x174c07[_0x32eebb(0x424)],'level':_0x174c07[_0x32eebb(0x441)],'recordIds':_0x174c07[_0x32eebb(0x391)],'children':this['_materializeGroups'](_0x405b77,_0x174c07[_0x32eebb(0x25f)],_0x2e32ca+0x1)}));}[_0x17666d(0x2ca)](_0x53f0c9,_0x341c09,_0x3a3bb1){const _0x2ea842=_0x17666d;let _0x19aac5=_0x3a3bb1??_0x53f0c9['primaryFieldId'],_0x1df2d6=_0x341c09[_0x2ea842(0x3b2)][_0x19aac5];return _0x1df2d6==null?'':String(_0x1df2d6);}[_0x17666d(0x3ad)](_0x31ed4d){const _0x3209c0=_0x17666d;if(Array[_0x3209c0(0x46e)](_0x31ed4d))return _0x31ed4d[_0x3209c0(0xd9)](String);if(typeof _0x31ed4d=='string'&&_0x31ed4d)return[_0x31ed4d];}[_0x17666d(0x33c)](_0x3fbde5){const _0x16de22=_0x17666d;return this[_0x16de22(0x250)][_0x16de22(0x9f)](_0x3fbde5[_0x16de22(0x466)])[_0x16de22(0x94)](_0x3fbde5);}};_0x2f3355=_0x505956([_0x2661c4(0x0,(0x0,_0x4d7b12[_0x17666d(0x2ab)])(_0x336523))],_0x2f3355);function _0x1eef89(_0xa00f43){return _0xa00f43==null?'':String(_0xa00f43);}function _0x149975(_0x57e21a){const _0x3fdbfe=_0x17666d;return new Map(_0x57e21a[_0x3fdbfe(0xd9)]((_0x7513f7,_0x5aaaee)=>[_0x7513f7['recordId'],_0x5aaaee]));}function _0x229f46(_0x227f3a){const _0x3d7a99=_0x17666d;return!!(Array[_0x3d7a99(0x46e)](_0x227f3a[_0x3d7a99(0x370)])&&_0x227f3a[_0x3d7a99(0x3db)]&&_0x227f3a[_0x3d7a99(0x357)]&&_0x227f3a[_0x3d7a99(0x118)]&&_0x227f3a[_0x3d7a99(0x1f6)]&&_0x227f3a[_0x3d7a99(0x17b)]);}function _0x3efe58(_0x4b0cdc){const _0x338b56=_0x17666d;return _0x4b0cdc!=null&&_0x4b0cdc[_0x338b56(0x2ee)][_0x338b56(0x278)]?{'conjunction':_0x4b0cdc['conjunction'],'conditions':_0x4b0cdc[_0x338b56(0x2ee)][_0x338b56(0xd9)](_0x5bddfa=>({'fieldId':_0x5bddfa[_0x338b56(0x424)],'operator':_0x5bddfa[_0x338b56(0x372)],'operand':_0x5bddfa[_0x338b56(0x291)]}))}:null;}function _0xc32512(_0x3980cb){const _0x126c29=_0x17666d;return _0x3980cb!=null&&_0x3980cb['length']?_0x3980cb[_0x126c29(0xd9)](_0xcd1672=>({'fieldId':_0xcd1672['fieldId'],'direction':_0xcd1672[_0x126c29(0x27c)]})):null;}function _0x50acc0(_0x4e04ca){const _0x1c8d28=_0x17666d;if(typeof _0x4e04ca!=_0x1c8d28(0x297)||!_0x4e04ca)return JSON[_0x1c8d28(0x33d)](_0x4e04ca)??_0x1c8d28(0x339);if(Array['isArray'](_0x4e04ca))return'['+_0x4e04ca['map'](_0x50acc0)[_0x1c8d28(0x1ef)](',')+']';let _0x22151e=_0x4e04ca;return'{'+Object['keys'](_0x22151e)['sort']()[_0x1c8d28(0xd9)](_0x66a5c=>JSON[_0x1c8d28(0x33d)](_0x66a5c)+':'+_0x50acc0(_0x22151e[_0x66a5c]))[_0x1c8d28(0x1ef)](',')+'}';}function _0x503418(_0x4ec207){const _0x427dfa=_0x17666d;let _0x2d5122=Object[_0x427dfa(0x3b2)](_0x4ec207)[_0x427dfa(0x3bb)]((_0x2504e0,_0x2ae75f)=>_0x2504e0[_0x427dfa(0x46d)]['localeCompare'](_0x2ae75f[_0x427dfa(0x46d)])),_0x5d5224=[];for(let _0x519219 of _0x2d5122)_0x5d5224[_0x427dfa(0x112)](_0x519219['id']);return _0x5d5224;}let _0x2ea79f=0x5a0*0x3c*0x3e8;function _0x54206c(_0x25bf0b){const _0xce3396=_0x17666d;return{'weekdays':Array[_0xce3396(0x46e)](_0x25bf0b==null?void 0x0:_0x25bf0b['weekdays'])&&_0x25bf0b[_0xce3396(0x24a)][_0xce3396(0x278)]?[...new Set(_0x25bf0b[_0xce3396(0x24a)][_0xce3396(0x425)](_0xcb58b3=>Number[_0xce3396(0x270)](_0xcb58b3)&&_0xcb58b3>=0x1&&_0xcb58b3<=0x7))]:[0x1,0x2,0x3,0x4,0x5],'exceptions':Array[_0xce3396(0x46e)](_0x25bf0b==null?void 0x0:_0x25bf0b[_0xce3396(0x34a)])?_0x25bf0b[_0xce3396(0x34a)]['flatMap'](_0x325fb1=>!_0x325fb1||!Number[_0xce3396(0x1c5)](_0x325fb1[_0xce3396(0x140)])?[]:[{'id':String(_0x325fb1['id']||_0xce3396(0x209)+_0x325fb1[_0xce3396(0x140)]),'date':_0x28c21d(Number(_0x325fb1[_0xce3396(0x140)])),'name':String(_0x325fb1[_0xce3396(0x208)]||'Working\x20day'),'type':_0x325fb1[_0xce3396(0x466)]==='working'?_0xce3396(0x25c):'off'}]):[]};}function _0x1ac163(_0x207c91,_0x34692c,_0x41ee22,_0x152fae){let _0x58644a=_0x452811(_0x207c91,_0x34692c),_0x215927=_0x58e661(_0x207c91,_0x41ee22),_0x37196d=_0x380c5b(_0x207c91,_0x58644a,_0x215927,_0x152fae);return{'scale':_0x207c91,'start':_0x58644a,'end':_0x215927,'unitWidth':_0x2f0512(_0x207c91),'majorHeaders':_0x35337b(_0x207c91,_0x58644a,_0x215927),'columns':_0x37196d};}function _0x380c5b(_0x507359,_0x3be41f,_0x582204,_0x5a58db){const _0x3bd0e0=_0x17666d;let _0x1ebbe6=[],_0x3041ac=_0x3be41f;for(;_0x3041ac<_0x582204;){let _0x31f426=_0x507359===_0x3bd0e0(0x199)?_0xd119a3(_0x3041ac,0x7):_0x507359===_0x3bd0e0(0x231)?_0x67e527(_0x3041ac,0x1):_0xd119a3(_0x3041ac,0x1);_0x1ebbe6[_0x3bd0e0(0x112)]({'id':_0x507359+'-'+_0x3041ac,'label':_0x2d3384(_0x507359,_0x3041ac,_0x31f426),'majorLabel':_0xf8fd02(_0x507359,_0x3041ac),'start':_0x3041ac,'end':_0x31f426,'nonWorking':_0x29eda6(_0x3041ac,_0x31f426,_0x5a58db)}),_0x3041ac=_0x31f426;}return _0x1ebbe6;}function _0x35337b(_0x352797,_0x2bdc30,_0x2d9504){const _0x1a7ae4=_0x17666d;let _0x24f860=[],_0x101646=_0x352797===_0x1a7ae4(0x231)?_0x239f6e(_0x2bdc30):_0x108d15(_0x2bdc30);for(;_0x101646<_0x2d9504;){let _0x1416b2=_0x352797===_0x1a7ae4(0x231)?_0x5db147(_0x101646,0x1):_0x67e527(_0x101646,0x1);_0x24f860[_0x1a7ae4(0x112)]({'id':_0x1a7ae4(0x7c)+_0x101646,'label':_0x352797===_0x1a7ae4(0x231)?String(new Date(_0x101646)[_0x1a7ae4(0xf2)]()):_0x4ca9f6(_0x101646),'start':_0x101646,'end':_0x1416b2}),_0x101646=_0x1416b2;}return _0x24f860;}function _0x2f0512(_0x1cd12c){const _0x4f0d44=_0x17666d;switch(_0x1cd12c){case _0x4f0d44(0x27b):return 0xac;case'quarter':return 0xac;case _0x4f0d44(0x231):return 0x88;default:return 0x56;}}function _0x452811(_0x21593f,_0x61b686){const _0x1a08de=_0x17666d;return _0x21593f==='year'?_0x239f6e(_0x61b686):_0x21593f===_0x1a08de(0x199)?_0x514396(_0x61b686):_0x28c21d(_0x61b686);}function _0x58e661(_0x26a926,_0x861eee){const _0x445b8c=_0x17666d;return _0x26a926===_0x445b8c(0x231)?_0x5db147(_0x239f6e(_0x861eee),0x1):_0x26a926===_0x445b8c(0x199)?_0xd119a3(_0x514396(_0x861eee),0x7):_0xd119a3(_0x28c21d(_0x861eee),0x1);}function _0x2d3384(_0x562475,_0x4f8cdc,_0x442130){const _0x17dc0a=_0x17666d;let _0x5e7535=new Date(_0x4f8cdc);return _0x562475===_0x17dc0a(0x199)?_0x5e7535['getUTCDate']()+'-'+new Date(_0x442130-_0x2ea79f)[_0x17dc0a(0xc6)]():_0x562475===_0x17dc0a(0x231)?_0x5e7535[_0x17dc0a(0x19a)](_0x17dc0a(0x3cd),{'month':_0x17dc0a(0x27a),'timeZone':_0x17dc0a(0x13e)}):String(_0x5e7535['getUTCDate']());}function _0xf8fd02(_0x21263f,_0x353c76){const _0x10e72a=_0x17666d;return _0x21263f==='year'?String(new Date(_0x353c76)[_0x10e72a(0xf2)]()):_0x4ca9f6(_0x353c76);}function _0x5c472b(_0x84ee7b,_0x335696,_0x6d1cd1){let _0xdeb646=_0x54206c(_0x6d1cd1),_0x1a7a4e=0x0;for(let _0x57f326=_0x28c21d(_0x84ee7b);_0x57f326<=_0x28c21d(_0x335696);_0x57f326=_0xd119a3(_0x57f326,0x1))_0x1a32be(_0x57f326,_0xdeb646)||_0x1a7a4e++;return _0x1a7a4e;}function _0x29eda6(_0x34f09c,_0x1e9e3e,_0x386612){if(!_0x386612)return!0x1;let _0x50f3c9=_0x54206c(_0x386612);for(let _0x1eeaa2=_0x28c21d(_0x34f09c);_0x1eeaa2<_0x1e9e3e;_0x1eeaa2=_0xd119a3(_0x1eeaa2,0x1))if(!_0x1a32be(_0x1eeaa2,_0x50f3c9))return!0x1;return!0x0;}function _0x1a32be(_0x8f1a55,_0xadb811){const _0x12dc8c=_0x17666d;let _0x4ba75d=_0x28c21d(_0x8f1a55),_0x319e5a=_0xadb811[_0x12dc8c(0x34a)][_0x12dc8c(0x3b6)](_0x341c7b=>_0x28c21d(_0x341c7b[_0x12dc8c(0x140)])===_0x4ba75d);if(_0x319e5a)return _0x319e5a[_0x12dc8c(0x466)]===_0x12dc8c(0x1bf);let _0x26c1c3=new Date(_0x4ba75d)[_0x12dc8c(0x9b)](),_0x575cea=_0x26c1c3===0x0?0x7:_0x26c1c3;return!_0xadb811[_0x12dc8c(0x24a)]['includes'](_0x575cea);}function _0x28c21d(_0x43b4fe){const _0x399994=_0x17666d;let _0x1a282a=new Date(_0x43b4fe);return Date[_0x399994(0x13e)](_0x1a282a['getUTCFullYear'](),_0x1a282a[_0x399994(0x43f)](),_0x1a282a['getUTCDate']());}function _0x514396(_0x59e095){const _0x2b0332=_0x17666d;let _0x573082=_0x28c21d(_0x59e095),_0x1da91a=new Date(_0x573082)[_0x2b0332(0x9b)]();return _0xd119a3(_0x573082,-(_0x1da91a===0x0?0x6:_0x1da91a-0x1));}function _0x108d15(_0x7369e){const _0x4880a8=_0x17666d;let _0x50be79=new Date(_0x7369e);return Date[_0x4880a8(0x13e)](_0x50be79['getUTCFullYear'](),_0x50be79[_0x4880a8(0x43f)](),0x1);}function _0x239f6e(_0x5b3600){const _0x151bfa=_0x17666d;let _0x512b0c=new Date(_0x5b3600);return Date[_0x151bfa(0x13e)](_0x512b0c[_0x151bfa(0xf2)](),0x0,0x1);}function _0xd119a3(_0x583a9a,_0x20f724){return _0x583a9a+_0x20f724*_0x2ea79f;}function _0x67e527(_0x34ce42,_0x630a0f){const _0x15c73b=_0x17666d;let _0x17f092=new Date(_0x34ce42);return Date[_0x15c73b(0x13e)](_0x17f092[_0x15c73b(0xf2)](),_0x17f092[_0x15c73b(0x43f)]()+_0x630a0f,0x1);}function _0x5db147(_0x400016,_0x47a79c){let _0x3aea46=new Date(_0x400016);return Date['UTC'](_0x3aea46['getUTCFullYear']()+_0x47a79c,0x0,0x1);}function _0x4ca9f6(_0x6dc73d){const _0x115573=_0x17666d;let _0x14fb25=new Date(_0x6dc73d);return _0x14fb25[_0x115573(0x19a)](_0x115573(0x3cd),{'month':_0x115573(0x27a),'timeZone':_0x115573(0x13e)})+'\x20'+_0x14fb25['getUTCFullYear']();}function _0x3f21aa(_0x9fd97a,_0x4f25cf){const _0x3bf982=_0x17666d;if(_0x9fd97a==null&&_0x4f25cf==null)return 0x0;if(_0x9fd97a==null)return-0x1;if(_0x4f25cf==null)return 0x1;if(typeof _0x9fd97a==_0x3bf982(0x217)||typeof _0x4f25cf==_0x3bf982(0x217))return Number(_0x9fd97a===!0x0)-Number(_0x4f25cf===!0x0);let _0x2e3747=Number(_0x9fd97a),_0x1864bf=Number(_0x4f25cf),_0x55f62f=Number[_0x3bf982(0x1c5)](_0x2e3747),_0x324ac1=Number[_0x3bf982(0x1c5)](_0x1864bf);return _0x55f62f&&_0x324ac1?_0x2e3747-_0x1864bf:_0x55f62f?0x1:_0x324ac1?-0x1:String(_0x9fd97a)[_0x3bf982(0x31b)](String(_0x4f25cf));}function _0x331044(_0xc32d78){const _0x67bb5f=_0x17666d;if(_0xc32d78[_0x67bb5f(0x372)]!=='is'&&_0xc32d78['operator']!==_0x67bb5f(0x294))return!0x1;let _0x566eff=_0xc32d78[_0x67bb5f(0x291)];return _0x566eff==null?!0x0:typeof _0x566eff==_0x67bb5f(0x3af)?_0x566eff['trim']()==='':Array[_0x67bb5f(0x46e)](_0x566eff)?_0x566eff[_0x67bb5f(0x278)]===0x0:!0x1;}function _0x2f4b46(_0x4f97df,_0x45c24d){const _0x233356=_0x17666d;var _0x3b6417;let _0x5f1a1f=Array[_0x233356(0x46e)]((_0x3b6417=_0x4f97df['config'])==null?void 0x0:_0x3b6417['options'])?_0x4f97df['config'][_0x233356(0x3d9)]:[];for(let _0x104beb of _0x5f1a1f){if(_0x104beb==null)continue;if(typeof _0x104beb=='string'){if(_0x104beb===_0x45c24d)return{'id':_0x104beb,'name':_0x104beb};continue;}let _0x3ad8d5=_0x104beb,_0x25e3ae=String(_0x3ad8d5['id']??_0x3ad8d5[_0x233356(0x208)]??''),_0x7aa53c=String(_0x3ad8d5[_0x233356(0x208)]??_0x3ad8d5['id']??_0x25e3ae);if(_0x25e3ae===_0x45c24d||_0x7aa53c===_0x45c24d)return{'id':_0x25e3ae,'name':_0x7aa53c,'color':_0x3ad8d5[_0x233356(0x1ee)]==null?void 0x0:String(_0x3ad8d5[_0x233356(0x1ee)])};}return null;}let _0x36dd63={'id':_0x17666d(0x2b6),'type':_0x4d7b12[_0x17666d(0xac)][_0x17666d(0x2d4)],'handler'(_0x3da286,_0x363f4d){const _0x271190=_0x17666d;let {unitId:_0xf4f8b1,op:_0x15a97f}=_0x363f4d,_0x388613=_0x3da286['get'](_0x4d7b12[_0x271190(0x322)])['getUnit'](_0xf4f8b1,_0x4d7b12[_0x271190(0xca)][_0x271190(0x101)]);if(!_0x388613)return!0x1;let _0x3da881=_0x388613[_0x271190(0x2de)](),_0x16713e=new _0x51bfae(),_0x36813e=_0x16713e[_0x271190(0x43b)](_0x15a97f),_0x5f56de=_0x16713e[_0x271190(0x344)](_0x3da881,_0x15a97f);return _0x388613['setSnapshot'](_0x5f56de),_0x23bf9c(_0x5f56de,_0x36813e,_0x3da286['get'](_0x465d1d)),!0x0;}};function _0x23bf9c(_0x2d923f,_0x1ac441,_0x188c74){const _0xbc1d72=_0x17666d;let _0xfc950f=new Set();for(let _0x1d491d of _0x1ac441){if(_0x1d491d['reason']!==_0xbc1d72(0x2cb)){_0x188c74[_0xbc1d72(0x403)]();return;}let _0x40726f=_0x160f94(_0x2d923f,_0x1d491d);if(!_0x40726f){_0x188c74[_0xbc1d72(0x403)]();return;}let _0x4acb49=_0x40726f['tableId']+'\x00'+_0x40726f['recordId']+'\x00'+_0x40726f['fieldId'];_0xfc950f[_0xbc1d72(0x1eb)](_0x4acb49)||(_0xfc950f[_0xbc1d72(0x3a1)](_0x4acb49),_0x188c74['invalidateByCell'](_0x40726f[_0xbc1d72(0x10c)],_0x40726f[_0xbc1d72(0x23d)],_0x40726f['fieldId']));}}function _0x160f94(_0x2cdc66,_0x4da71e){const _0x1111d1=_0x17666d;var _0x20b1be,_0x2b6a2a;if(!_0x4da71e[_0x1111d1(0x10c)])return null;if(_0x4da71e[_0x1111d1(0x23d)]&&_0x4da71e[_0x1111d1(0x424)])return{'tableId':_0x4da71e['tableId'],'recordId':_0x4da71e[_0x1111d1(0x23d)],'fieldId':_0x4da71e[_0x1111d1(0x424)]};if(_0x4da71e[_0x1111d1(0x1b3)]==null||_0x4da71e[_0x1111d1(0x46f)]==null)return null;let _0x29a177=_0x2cdc66['tables'][_0x4da71e['tableId']],_0x358381=_0x29a177==null||(_0x20b1be=_0x29a177[_0x1111d1(0x357)])==null?void 0x0:_0x20b1be[_0x4da71e[_0x1111d1(0x1b3)]],_0x49d1ee=_0x29a177==null||(_0x2b6a2a=_0x29a177[_0x1111d1(0x1f6)])==null?void 0x0:_0x2b6a2a[_0x4da71e[_0x1111d1(0x46f)]];return!_0x358381||!_0x49d1ee?null:{'tableId':_0x4da71e[_0x1111d1(0x10c)],'recordId':_0x358381,'fieldId':_0x49d1ee};}let _0x2025c8=_0x4d7b12[_0x17666d(0x106)]['createRegExpFromSafeFragment'](String[_0x17666d(0x8a)]`(?:^|\W)\$?[A-Z]{1,3}\$?\d+(?::\$?[A-Z]{1,3}\$?\d+)?(?:$|\W)`),_0x2a549c=_0x4d7b12[_0x17666d(0x106)][_0x17666d(0x2e6)](String[_0x17666d(0x8a)]`(?:'\[[^\]]+\](?:[^']|'')+'|\[[^\]]+\][^\s'!]+)!\$?[A-Z]{1,3}\$?\d+(?::\$?[A-Z]{1,3}\$?\d+)?`,'gi'),_0x30e87d=/\{([^}]+)\}/g,_0x3486e6=_0x4d7b12[_0x17666d(0x106)]['createRegExpFromSafeFragment'](String[_0x17666d(0x8a)]`\b([A-Z_][\w.]*)\[\[\s*#(This Row|Data)\s*\],\s*\[([^\]]+)\]\]`,'gi'),_0xc9164d=_0x4d7b12[_0x17666d(0x106)][_0x17666d(0x2e6)](String['raw']`\b([A-Z_][\w.]*)\[@\[([^\]]+)\]\]`,'gi'),_0x259950=_0x4d7b12[_0x17666d(0x106)][_0x17666d(0x2e6)](String[_0x17666d(0x8a)]`\b([A-Z_][\w.]*)\[([^\[\]#]+)\]`,'gi'),_0x3bc4d7=_0x4d7b12[_0x17666d(0x106)][_0x17666d(0x2e6)](String[_0x17666d(0x8a)]`(^|[^\w\[])\[\[\s*#(This Row|Data)\s*\],\s*\[([^\]]+)\]\]`,'gi'),_0x155e83=_0x4d7b12['regexp']['createRegExpFromSafeFragment'](String[_0x17666d(0x8a)]`(^|[^\w\[])\[@\[([^\]]+)\]\](?!\])`,'g'),_0x3276c1=_0x4d7b12['regexp'][_0x17666d(0x2e6)](String[_0x17666d(0x8a)]`(^|[^\w\[])\[@?([^\[\]#]+)\](?!\])`,'g');var _0x199153=class{[_0x17666d(0x13c)](_0x5a78a9,_0x50b971=_0x5a78a9['id']){const _0x3dd6f7=_0x17666d;var _0x346132;let _0x483d03=((_0x346132=_0x5a78a9[_0x3dd6f7(0x370)])==null?void 0x0:_0x346132['length'])??Object[_0x3dd6f7(0x3b2)](_0x5a78a9[_0x3dd6f7(0x14c)])['length'];return{'sheetId':_0x50b971,'titleMap':new Map(_0x5a78a9['fieldOrder'][_0x3dd6f7(0xd9)]((_0x60d210,_0x3e79c8)=>{const _0x522c88=_0x3dd6f7;var _0x57b133;return[((_0x57b133=_0x5a78a9[_0x522c88(0x129)][_0x60d210])==null?void 0x0:_0x57b133[_0x522c88(0x208)])??_0x60d210,_0x3e79c8];})),'range':{'startRow':0x0,'endRow':Math[_0x3dd6f7(0x3e8)](0x0,_0x483d03-0x1),'startColumn':0x0,'endColumn':Math['max'](0x0,_0x5a78a9['fieldOrder']['length']-0x1)},'showHeader':!0x1};}[_0x17666d(0x253)](_0x167329,_0x43f5ed){const _0x28692e=_0x17666d;let _0x5971cd=[],_0xa23cb4=_0x43f5ed?new Set(_0x43f5ed):null,_0x30ad18=(0x0,_0x4d7b12[_0x28692e(0x17c)])(_0x167329);return Object['values'](_0x167329[_0x28692e(0x334)])[_0x28692e(0x425)](_0x13d835=>!_0xa23cb4||_0xa23cb4[_0x28692e(0x1eb)](_0x13d835['id']))[_0x28692e(0x3cc)](_0x3ff556=>{const _0x4c71e9=_0x28692e;let _0x2e2f92=this['createSuperTableReference'](_0x3ff556,_0x3ff556['id']);_0x5971cd[_0x4c71e9(0x112)]({'tableId':_0x3ff556['id'],'tableName':_0x30ad18['get'](_0x3ff556['id']),'reference':_0x2e2f92});}),_0x5971cd;}[_0x17666d(0x35b)](_0x3dc3a2,_0x25c114,_0x3348c5={}){const _0xe515a5=_0x17666d;let _0x207d1f=_0x3dc3a2['trim']();if(!_0x207d1f)return{'valid':!0x0};if(_0x47b503(_0x207d1f))return{'valid':!0x1,'reason':_0xe515a5(0x3d5)};let _0x33f1bd=_0x3348c5[_0xe515a5(0x2e9)]?(0x0,_0x4d7b12[_0xe515a5(0x17c)])(_0x3348c5[_0xe515a5(0x2e9)]):void 0x0;for(let _0x3253f9 of _0x261274(_0x207d1f)){let _0x4e7a0a=_0x41368e(_0x3253f9,_0x25c114,_0x3348c5['snapshot'],_0x33f1bd);if(!_0x4e7a0a[_0xe515a5(0x39f)])return{'valid':!0x1,'reason':_0xe515a5(0x212)+_0x3253f9['tableName']+_0xe515a5(0x237)};if(!_0x4e7a0a[_0xe515a5(0x38f)])return{'valid':!0x1,'reason':_0xe515a5(0x116)+_0x3253f9[_0xe515a5(0x45c)]+_0xe515a5(0x113)};}return{'valid':!0x0};}[_0x17666d(0x229)](_0x26a99e,_0x2651d4,_0x43d302={}){const _0x3d8f1c=_0x17666d;let _0x5d1a5e=new Set();for(let _0x23e00b of this[_0x3d8f1c(0x28f)](_0x26a99e,_0x2651d4,_0x43d302))_0x23e00b[_0x3d8f1c(0x10c)]===_0x2651d4['id']&&_0x5d1a5e[_0x3d8f1c(0x3a1)](_0x23e00b[_0x3d8f1c(0x424)]);return Array[_0x3d8f1c(0x2ba)](_0x5d1a5e);}[_0x17666d(0x28f)](_0x22664e,_0x512262,_0x40375b={}){const _0x2fd405=_0x17666d;let _0x36e898=new Map(),_0x5b5da3=_0x40375b[_0x2fd405(0x2e9)]?(0x0,_0x4d7b12[_0x2fd405(0x17c)])(_0x40375b[_0x2fd405(0x2e9)]):void 0x0;for(let _0x4906b2 of _0x261274(_0x22664e)){let _0x280b0=_0x41368e(_0x4906b2,_0x512262,_0x40375b[_0x2fd405(0x2e9)],_0x5b5da3);if(!_0x280b0[_0x2fd405(0x39f)]||!_0x280b0[_0x2fd405(0x38f)])continue;let _0x289038=_0x280b0[_0x2fd405(0x39f)]['id']+'\x1f'+_0x280b0[_0x2fd405(0x38f)]['id'];_0x36e898[_0x2fd405(0x12c)](_0x289038,{'tableId':_0x280b0[_0x2fd405(0x39f)]['id'],'fieldId':_0x280b0[_0x2fd405(0x38f)]['id']});}return Array['from'](_0x36e898[_0x2fd405(0x3b2)]());}};function _0x233b6f(_0x164e8a,_0x3ca568){const _0x66463a=_0x17666d;var _0x1ec18f;let _0x3d3138=[],_0x523757=(_0x1ec18f=_0x3ca568[_0x66463a(0x1c3)])==null?void 0x0:_0x1ec18f[_0x164e8a['id']];return _0x523757&&Object[_0x66463a(0x45d)](_0x523757)['forEach'](([_0x48d472,_0x26f6ae])=>{const _0x4dc0d6=_0x66463a;let _0x83c6a5=_0x164e8a[_0x4dc0d6(0x334)][_0x48d472];if(!_0x83c6a5||!_0x26f6ae)return;let _0x45dcc0=_0x4cff78(_0x83c6a5),_0xa830fe=[];new _0x4d7b12['ObjectMatrix'](_0x26f6ae)[_0x4dc0d6(0x1da)]((_0x385dc3,_0x481d4e,_0x426f16)=>{let _0x305a57=_0x1d7327(_0x45dcc0,_0x385dc3,_0x481d4e,_0x426f16);_0x305a57&&_0xa830fe['push'](_0x305a57);}),_0xa830fe[_0x4dc0d6(0x278)]&&_0x3d3138[_0x4dc0d6(0x112)]({'unitId':_0x164e8a['id'],'tableId':_0x48d472,'patches':_0xa830fe});}),_0x3d3138;}function _0x1d7327(_0x59dcdc,_0x37bfb6,_0xeeb34,_0x3f2850){const _0x1c5692=_0x17666d;var _0x46da95,_0x5390a2,_0x99f5d9;let _0x480d66=(_0x46da95=_0x59dcdc[_0x1c5692(0x357)])==null?void 0x0:_0x46da95[_0x37bfb6],_0xfd5bb1=(_0x5390a2=_0x59dcdc['colId'])==null?void 0x0:_0x5390a2[_0xeeb34];if(!_0x480d66||!_0x59dcdc[_0x1c5692(0x14c)][_0x480d66]||!_0xfd5bb1)return null;let _0x48fcc1=_0x59dcdc['fields'][_0xfd5bb1];if(!_0x48fcc1||_0x48fcc1[_0x1c5692(0x466)]!==_0x1c5692(0x91))return null;let _0x29bcd9=String(((_0x99f5d9=_0x48fcc1[_0x1c5692(0x39d)])==null?void 0x0:_0x99f5d9[_0x1c5692(0x91)])??'')[_0x1c5692(0x11d)](),_0xfd9b69=(_0x3f2850==null?void 0x0:_0x3f2850['v'])??null,_0x648658={'v':_0xfd9b69,'t':_0x19425a(_0xfd9b69),..._0x37bfb6===0x0&&_0x29bcd9?{'f':_0x29bcd9}:{},'si':_0x48fcc1['id']};return _0x5377f3(_0x19f477(_0x59dcdc,_0x480d66,_0xfd5bb1),_0x648658)?null:{'row':_0x37bfb6,'col':_0xeeb34,'value':_0x648658};}function _0x5377f3(_0x4b2a2b,_0x441de8){return _0x4b2a2b!=null&&Object['is'](_0x4b2a2b['v']??null,_0x441de8['v']??null)&&_0x4b2a2b['t']===_0x441de8['t']&&_0x4b2a2b['f']===_0x441de8['f']&&_0x4b2a2b['si']===_0x441de8['si'];}function _0x19425a(_0x349d6a){const _0x97507c=_0x17666d;return typeof _0x349d6a==_0x97507c(0x2c1)?_0x4d7b12['CellValueType'][_0x97507c(0x306)]:typeof _0x349d6a==_0x97507c(0x217)?_0x4d7b12[_0x97507c(0x2f2)][_0x97507c(0x330)]:typeof _0x349d6a==_0x97507c(0x3af)?_0x4d7b12[_0x97507c(0x2f2)][_0x97507c(0x26d)]:null;}function _0x261274(_0x5c64be){const _0x21f915=_0x17666d;let _0x4afd3a=_0x2ec0c8(_0x5c64be,()=>''),_0xa6179a=new Map(),_0x4f2fab=_0x50186c=>{const _0x17f11b=_0x2760;_0xa6179a['set']((_0x50186c[_0x17f11b(0x361)]??'')+'\x1f'+_0x50186c[_0x17f11b(0x45c)],_0x50186c);};for(let _0x43ecbf of _0x4afd3a['matchAll'](_0x30e87d))_0x4f2fab({'fieldName':_0x43ecbf[0x1],'scope':_0x21f915(0x474)});_0x4afd3a=_0x4afd3a['replace'](_0x3486e6,(_0x6d1319,_0x139f47,_0x3ace1c,_0xd981ae)=>(_0x4f2fab({'tableName':_0x139f47,'fieldName':_0xd981ae,'scope':_0x3ace1c[_0x21f915(0x35a)]()==='data'?_0x21f915(0x37e):_0x21f915(0x474)}),'\x20')),_0x4afd3a=_0x4afd3a[_0x21f915(0x1a9)](_0xc9164d,(_0x366b37,_0x105833,_0x518e3c)=>(_0x4f2fab({'tableName':_0x105833,'fieldName':_0x518e3c,'scope':_0x21f915(0x474)}),'\x20')),_0x4afd3a=_0x4afd3a[_0x21f915(0x1a9)](_0x3bc4d7,(_0x1ef47e,_0x34987d,_0x483a1e,_0x5a412b)=>(_0x4f2fab({'fieldName':_0x5a412b,'scope':_0x483a1e['toLowerCase']()===_0x21f915(0x37e)?_0x21f915(0x37e):_0x21f915(0x474)}),_0x34987d+'\x20')),_0x4afd3a=_0x4afd3a[_0x21f915(0x1a9)](_0x155e83,(_0x28f6b5,_0x35b064,_0x295496)=>(_0x4f2fab({'fieldName':_0x295496,'scope':_0x21f915(0x474)}),_0x35b064+'\x20'));for(let _0x3c4a00 of _0x4afd3a[_0x21f915(0xd1)](_0x259950))_0x4f2fab({'tableName':_0x3c4a00[0x1],'fieldName':_0x3c4a00[0x2]});for(let _0x52306d of _0x4afd3a['matchAll'](_0x3276c1))_0x4f2fab({'fieldName':_0x52306d[0x2],'scope':_0x21f915(0x474)});return Array['from'](_0xa6179a[_0x21f915(0x3b2)]());}function _0x47b503(_0x4c6802){const _0x1141fe=_0x17666d;let _0x311c95=_0x2ec0c8(_0x4c6802,()=>'\x20')[_0x1141fe(0x1a9)](_0x30e87d,'\x20')['replace'](_0x3486e6,'\x20')[_0x1141fe(0x1a9)](_0xc9164d,'\x20')[_0x1141fe(0x1a9)](_0x3bc4d7,_0x1141fe(0x119))[_0x1141fe(0x1a9)](_0x155e83,'$1\x20')[_0x1141fe(0x1a9)](_0x259950,'\x20')[_0x1141fe(0x1a9)](_0x3276c1,_0x1141fe(0x119));return _0x2025c8['test'](_0x311c95);}function _0x3b9223(_0x2a84a2,_0x5d5655){return _0x5ecc9d(_0x2fbf3e(_0x2a84a2,_0x5d5655),_0x5d5655);}function _0x2ec0c8(_0x1a4025,_0xc3c494){return _0x4b86fc(_0x3b9223(_0x1a4025,_0xc3c494),_0xc3c494);}function _0x4b86fc(_0x3d5751,_0x47ca6b){const _0xa63365=_0x17666d;return _0x3d5751[_0xa63365(0x1a9)](/"(?:""|[^"])*"/g,_0x47ca6b);}function _0x2fbf3e(_0x3f7c57,_0x493e8f){const _0xb804e7=_0x17666d;return _0x2a549c[_0xb804e7(0x408)]=0x0,_0x3f7c57[_0xb804e7(0x1a9)](_0x2a549c,(_0x4ab2a8,_0x5c69d3)=>_0x165a67(_0x3f7c57,_0x5c69d3)?_0x4ab2a8:_0x493e8f(_0x4ab2a8));}let _0x58198f=/(?:'((?:[^']|'')+)'|\[[^\]]+\]|[A-Za-z0-9_.-]+)![^\s!\[\]]+\[/g;function _0x5ecc9d(_0x43ed69,_0x3c7ef7){const _0x52af1a=_0x17666d;let _0x529f93=[];for(_0x58198f[_0x52af1a(0x408)]=0x0;;){let _0x24acdb=_0x58198f[_0x52af1a(0x38e)](_0x43ed69);if(_0x24acdb==null)break;if(_0x165a67(_0x43ed69,_0x24acdb[_0x52af1a(0x293)]))continue;let _0x1e6507=_0x58198f['lastIndex']-0x1,_0x5aedfb=0x0;for(let _0x2b1b08=_0x1e6507;_0x2b1b08<_0x43ed69[_0x52af1a(0x278)];_0x2b1b08++)if(_0x43ed69[_0x2b1b08]==='['&&_0x5aedfb++,_0x43ed69[_0x2b1b08]===']'&&(_0x5aedfb--,_0x5aedfb===0x0)){_0x529f93['push']({'start':_0x24acdb[_0x52af1a(0x293)],'end':_0x2b1b08+0x1}),_0x58198f['lastIndex']=_0x2b1b08+0x1;break;}}if(_0x529f93[_0x52af1a(0x278)]===0x0)return _0x43ed69;let _0x233684='',_0x409bab=0x0;for(let _0x15cbb0 of _0x529f93)_0x233684+=_0x43ed69[_0x52af1a(0x3fc)](_0x409bab,_0x15cbb0[_0x52af1a(0x3cb)]),_0x233684+=_0x3c7ef7(_0x43ed69[_0x52af1a(0x3fc)](_0x15cbb0[_0x52af1a(0x3cb)],_0x15cbb0[_0x52af1a(0x35e)])),_0x409bab=_0x15cbb0[_0x52af1a(0x35e)];return _0x233684+_0x43ed69[_0x52af1a(0x3fc)](_0x409bab);}function _0x165a67(_0x47a025,_0x26e538){let _0x549bc2=!0x1;for(let _0x287dff=0x0;_0x287dff<_0x26e538;_0x287dff++)if(_0x47a025[_0x287dff]==='\x22'){if(_0x549bc2&&_0x47a025[_0x287dff+0x1]==='\x22'){_0x287dff++;continue;}_0x549bc2=!_0x549bc2;}return _0x549bc2;}function _0x41368e(_0x39fe93,_0x225eec,_0x189a62,_0x91c5f){const _0x10e9df=_0x17666d;let _0x57e6dd=_0x4470cb(_0x39fe93[_0x10e9df(0x361)],_0x225eec,_0x189a62,_0x91c5f);return{'table':_0x57e6dd,'field':_0x57e6dd?Object['values'](_0x57e6dd[_0x10e9df(0x129)])['find'](_0x252616=>_0x252616[_0x10e9df(0x208)]===_0x39fe93[_0x10e9df(0x45c)]):void 0x0};}function _0x4470cb(_0x50e6ba,_0xee71c6,_0x1d2d90,_0x25cf25){const _0x590a58=_0x17666d;if(!_0x50e6ba)return _0xee71c6;if(!_0x1d2d90){var _0x3d87fb;let _0x46d302=_0x50e6ba[_0x590a58(0x35a)]();return _0x46d302===_0xee71c6['id'][_0x590a58(0x35a)]()||_0x46d302===_0xee71c6[_0x590a58(0x208)][_0x590a58(0x35a)]()||_0x46d302===((_0x3d87fb=_0xee71c6[_0x590a58(0x11c)])==null?void 0x0:_0x3d87fb[_0x590a58(0x35a)]())?_0xee71c6:void 0x0;}let _0x10e14c=_0x50e6ba['toLowerCase'](),_0x29d14d=_0x25cf25??(0x0,_0x4d7b12[_0x590a58(0x17c)])(_0x1d2d90),_0x5d089d=Object['values'](_0x1d2d90[_0x590a58(0x334)])[_0x590a58(0x425)](_0x4b3b1b=>{const _0x491b94=_0x590a58;var _0xd9641c;return _0x4b3b1b['id'][_0x491b94(0x35a)]()===_0x10e14c||_0x4b3b1b[_0x491b94(0x208)][_0x491b94(0x35a)]()===_0x10e14c||((_0xd9641c=_0x29d14d[_0x491b94(0x9f)](_0x4b3b1b['id']))==null?void 0x0:_0xd9641c[_0x491b94(0x35a)]())===_0x10e14c||_0x2c9ecb(_0x4b3b1b['id'])[_0x491b94(0x35a)]()===_0x10e14c;});return _0x5d089d[_0x590a58(0x278)]===0x1?_0x5d089d[0x0]:void 0x0;}function _0x2c9ecb(_0x42f5a6){const _0xec3973=_0x17666d;return _0xec3973(0x1d4)+Array[_0xec3973(0x2ba)](_0x42f5a6,_0x2ffe91=>{const _0x1f8e23=_0xec3973;var _0x384f60;return/[A-Za-z0-9]/[_0x1f8e23(0x445)](_0x2ffe91)?_0x2ffe91:'_x'+(((_0x384f60=_0x2ffe91[_0x1f8e23(0x417)](0x0))==null?void 0x0:_0x384f60[_0x1f8e23(0x138)](0x10))??'0')+'_';})[_0xec3973(0x1ef)]('');}let _0x18f87b=new _0x199153();function _0x5c5f0e(_0x1bd07f,_0x28f1b8,_0x38da3b){const _0x2d1e0a=_0x17666d;var _0x2a9687;if(_0x38da3b[_0x2d1e0a(0x466)]!==_0x4d7b12[_0x2d1e0a(0x419)][_0x2d1e0a(0x21c)])return!0x0;let _0x4bf63f=String(((_0x2a9687=_0x38da3b[_0x2d1e0a(0x39d)])==null?void 0x0:_0x2a9687[_0x2d1e0a(0x91)])??''),_0x2f16df=_0x1bd07f[_0x2d1e0a(0x2de)]();return _0x18f87b[_0x2d1e0a(0x35b)](_0x4bf63f,_0x2f16df[_0x2d1e0a(0x334)][_0x28f1b8],{'snapshot':_0x2f16df})[_0x2d1e0a(0x1d5)];}function _0x5c30c8(_0x10d997,_0x2a5cdf,_0xf56081){const _0x1a12bd=_0x17666d;let _0x126888=_0x10d997['getSnapshot']()[_0x1a12bd(0x334)][_0x2a5cdf];if(!_0x126888)return!0x1;let {viewIds:_0x19f5e6,fieldIds:_0x3d919d,recordIds:_0x4cc341}=_0xf56081||{};if(_0x19f5e6){for(let _0xf6ce15 of _0x19f5e6)if(!_0x126888[_0x1a12bd(0x420)][_0xf6ce15])return!0x1;}if(_0x3d919d){for(let _0x2f2af5 of _0x3d919d)if(!_0x126888['fields'][_0x2f2af5])return!0x1;}if(_0x4cc341){for(let _0xfae46e of _0x4cc341)if(!_0x126888[_0x1a12bd(0x14c)][_0xfae46e])return!0x1;}return!0x0;}function _0x52914c(_0x3918a4,_0x184df6,_0x9c432c){const _0x4f31cf=_0x17666d;if(_0x9c432c['id']===_0x4d7b12[_0x4f31cf(0x36b)]||_0x9c432c[_0x4f31cf(0x466)]===_0x4d7b12['BaseFieldType'][_0x4f31cf(0x266)]||(0x0,_0x4d7b12['isBaseRecordIdFieldName'])(_0x9c432c['name'])||!_0x5c5f0e(_0x3918a4,_0x184df6,_0x9c432c))return!0x1;let _0x14a9ac=_0x3918a4[_0x4f31cf(0x2de)]();if(!_0x2bb568(_0x14a9ac,_0x9c432c)[_0x4f31cf(0x1d5)])return!0x1;if(_0x9c432c[_0x4f31cf(0x466)]!==_0x4d7b12['BaseFieldType'][_0x4f31cf(0x328)])return!0x0;let _0x53abbd=_0x2c9bfd(_0x9c432c);if(!_0x53abbd)return!0x1;if(_0x53abbd[_0x4f31cf(0x409)]===void 0x0)return!0x0;if(_0x53abbd[_0x4f31cf(0x409)]!==_0x4d7b12['BaseRecordLinkRole']['Parent']||_0x53abbd['targetTableId']!==_0x184df6||_0x53abbd[_0x4f31cf(0x2b1)]!==!0x1)return!0x1;let _0x5799ff=_0x14a9ac[_0x4f31cf(0x334)][_0x184df6];return!Object[_0x4f31cf(0x3b2)](_0x5799ff[_0x4f31cf(0x129)])[_0x4f31cf(0x256)](_0x2655b5=>{const _0x20fd17=_0x4f31cf;var _0x4e6671;return _0x2655b5['id']!==_0x9c432c['id']&&_0x2655b5['type']===_0x4d7b12['BaseFieldType'][_0x20fd17(0x328)]&&((_0x4e6671=_0x2c9bfd(_0x2655b5))==null?void 0x0:_0x4e6671[_0x20fd17(0x409)])===_0x4d7b12[_0x20fd17(0x348)]['Parent'];});}function _0x5ba17e(_0x139f6e,_0x47fe67,_0x24a4b5,_0x5e0338){const _0x52aaed=_0x17666d;var _0x4ffbbf;let _0x481852=_0x139f6e[_0x52aaed(0x2de)](),_0x38f0fe=(_0x4ffbbf=_0x481852['tables'][_0x47fe67])==null?void 0x0:_0x4ffbbf[_0x52aaed(0x129)][_0x24a4b5];return!_0x38f0fe||_0x38f0fe['id']===_0x4d7b12[_0x52aaed(0x36b)]||_0x38f0fe[_0x52aaed(0x466)]===_0x4d7b12[_0x52aaed(0x419)][_0x52aaed(0x266)]?!0x1:_0x38f0fe[_0x52aaed(0x466)]!==_0x4d7b12[_0x52aaed(0x419)][_0x52aaed(0x328)]||_0x475374(_0x481852,_0x38f0fe,_0x44c5dc(_0x5e0338))['valid'];}function _0x2790bf(_0x13b893,_0x49979e,_0xb61292){const _0x3be5dd=_0x17666d;let _0x1d7e14=_0x13b893[_0x3be5dd(0x2de)]()[_0x3be5dd(0x334)][_0x49979e];return!_0x1d7e14||!(0x0,_0x4d7b12[_0x3be5dd(0x31e)])(_0xb61292['id'])||_0x1d7e14[_0x3be5dd(0x14c)][_0xb61292['id']]||Object[_0x3be5dd(0x44a)]['hasOwnProperty'][_0x3be5dd(0x446)](_0xb61292[_0x3be5dd(0x3b2)],_0x4d7b12[_0x3be5dd(0x36b)])&&_0xb61292[_0x3be5dd(0x3b2)][_0x4d7b12['BASE_RECORD_ID_FIELD_ID']]!==_0xb61292['id']?!0x1:Object[_0x3be5dd(0x45d)](_0xb61292[_0x3be5dd(0x3b2)])[_0x3be5dd(0x178)](([_0x1f628e,_0x212c93])=>_0x1f628e===_0x4d7b12[_0x3be5dd(0x36b)]||_0x5ba17e(_0x13b893,_0x49979e,_0x1f628e,_0x212c93));}function _0x4d3e8b(_0x382faf){const _0xdd144b=_0x17666d;return{..._0x382faf,'values':{..._0x382faf[_0xdd144b(0x3b2)],[_0x4d7b12[_0xdd144b(0x36b)]]:_0x382faf['id']}};}function _0x44c5dc(_0x23dae7){const _0x1d4c02=_0x17666d;if(_0x23dae7&&typeof _0x23dae7==_0x1d4c02(0x297)&&!Array[_0x1d4c02(0x46e)](_0x23dae7)&&'v'in _0x23dae7){let _0x2ce9c3=_0x23dae7['v'];return _0x2ce9c3===void 0x0?null:_0x2ce9c3;}return _0x23dae7;}function _0x83af6a(_0xc0e568,_0x30332b,_0xbf0d6e,_0x552f03){const _0x24b5e6=_0x17666d;let _0x56e0b5=_0xc0e568[_0x24b5e6(0x2de)]()['tables'][_0x30332b];if(!_0x56e0b5)return null;let _0xfaf6bf=_0x571551(_0x56e0b5),_0x162def=_0xfaf6bf??_0x2a161a(_0x56e0b5),_0x40086d=_0xbf0d6e[_0x24b5e6(0x256)](_0x3c99f9=>Object['prototype']['hasOwnProperty']['call'](_0x3c99f9[_0x24b5e6(0x3b2)],_0x162def)),_0x2015df=_0xfaf6bf?_0x56e0b5[_0x24b5e6(0x129)][_0xfaf6bf]:_0x40086d?_0x523965(_0x56e0b5,_0x162def,_0x552f03):null,_0x4f0f15=[];for(let _0x583ade of _0xbf0d6e){let _0x43a546=_0x583ade[_0x24b5e6(0x3b2)][_0x162def],_0x4503b7=_0x2015df!==null&&Object[_0x24b5e6(0x44a)][_0x24b5e6(0x3d1)][_0x24b5e6(0x446)](_0x583ade['values'],_0x162def),_0x3d19a6=_0x44c5dc(_0x43a546),_0x1b121a=null;if(_0x4503b7){if(typeof _0x3d19a6!=_0x24b5e6(0x3af)||!_0x2eeb56(_0x3d19a6,!0x1)[_0x24b5e6(0x1d5)])return null;_0x1b121a=_0x3d19a6;}let _0xb74afc={};if(Object[_0x24b5e6(0x45d)](_0x583ade['values'])[_0x24b5e6(0x3cc)](([_0x12589d,_0x66c8a6])=>{(!_0x4503b7||_0x12589d!==_0x162def)&&(_0xb74afc[_0x12589d]=_0x66c8a6);}),!_0x2790bf(_0xc0e568,_0x30332b,{..._0x583ade,'values':_0xb74afc}))return null;let _0x1bbbff={..._0x583ade[_0x24b5e6(0x3b2)]};_0x1b121a!==null&&(_0x1bbbff[_0x162def]=_0x1b121a),_0x4f0f15[_0x24b5e6(0x112)](_0x4d3e8b({..._0x583ade,'values':_0x1bbbff}));}return{'records':_0x4f0f15,'hierarchyFieldToMaterialize':_0xfaf6bf?null:_0x2015df,'hierarchyChanges':_0x30fd91(_0x56e0b5,_0x4f0f15)};}let _0x77177={'id':_0x17666d(0x19d),'type':_0x4d7b12[_0x17666d(0xac)][_0x17666d(0x412)],'handler'(_0x30578b,_0x477fa8){const _0x5b2162=_0x17666d;if(!_0x477fa8)return!0x1;let _0x3f4295=_0x30578b[_0x5b2162(0x9f)](_0x4d7b12['IUniverInstanceService']),{unitId:_0x400dbc,tableId:_0x36eb75,records:_0x1bfc36}=_0x477fa8,_0x4d32ce=_0x3f4295[_0x5b2162(0x27d)](_0x400dbc,_0x4d7b12[_0x5b2162(0xca)][_0x5b2162(0x101)]),_0x1f2219=_0x1bfc36[_0x5b2162(0xd9)](_0x37afe7=>_0x37afe7['id']);if(!_0x4d32ce||!_0x5c30c8(_0x4d32ce,_0x36eb75)||new Set(_0x1f2219)[_0x5b2162(0x220)]!==_0x1f2219[_0x5b2162(0x278)])return!0x1;let _0x4f2a4a=_0x30578b[_0x5b2162(0x9f)](_0x4d7b12['ICommandService']),_0x57ec1e=_0x30578b['get'](_0x4d7b12['IUndoRedoService']),_0xe1bb3a=_0x30578b[_0x5b2162(0x9f)](_0x401e28),_0x535d3d=_0x4d32ce[_0x5b2162(0x2de)](),_0x1c0b4a=_0x83af6a(_0x4d32ce,_0x36eb75,_0x1bfc36);if(!_0x1c0b4a)return!0x1;let {records:_0x5f633,hierarchyChanges:_0x4a33c1,hierarchyFieldToMaterialize:_0x58356b}=_0x1c0b4a,_0x204087=_0x58356b?_0xe1bb3a[_0x5b2162(0x1cd)](_0x4d32ce,_0x36eb75,_0x58356b,_0x535d3d['tables'][_0x36eb75][_0x5b2162(0x33f)][_0x5b2162(0x278)]):null,_0xe3f931=_0xe1bb3a[_0x5b2162(0x393)](_0x4d32ce,_0x36eb75,_0x5f633),_0x7b8a78=_0x2c91fd([..._0x204087?[_0x204087]:[],_0xe3f931]),_0x1c4152=new _0x51bfae()[_0x5b2162(0x386)](_0x535d3d,_0x7b8a78),_0x2d6c2d={'unitId':_0x400dbc,'op':_0x7b8a78,'hierarchyChanges':_0x4a33c1[_0x5b2162(0x278)]?_0x4a33c1:void 0x0,'source':_0x4a33c1['length']?_0x477fa8[_0x5b2162(0x3e3)]??'ui':void 0x0},_0x3c98ad={..._0x2d6c2d,'source':_0x4a33c1[_0x5b2162(0x278)]?_0x5b2162(0x40a):void 0x0},_0x19549a={'unitId':_0x400dbc,'op':_0x1c4152,'hierarchyChanges':_0x4a33c1[_0x5b2162(0x278)]?_0x4a33c1[_0x5b2162(0xd9)](_0x5e0d97=>({..._0x5e0d97,'oldParentRecordId':_0x5e0d97[_0x5b2162(0x380)],'parentRecordId':null})):void 0x0,'source':_0x4a33c1[_0x5b2162(0x278)]?'undo':void 0x0};return _0x4f2a4a[_0x5b2162(0x3e2)](_0x36dd63['id'],_0x2d6c2d)?(_0x3f4295[_0x5b2162(0x1c2)](_0x400dbc),_0x57ec1e['pushUndoRedo']({'unitID':_0x400dbc,'undoMutations':[{'id':_0x36dd63['id'],'params':_0x19549a}],'redoMutations':[{'id':_0x36dd63['id'],'params':_0x3c98ad}]}),!0x0):!0x1;}},_0x3b3459={'id':'base.command.batch-delete-base-records','type':_0x4d7b12[_0x17666d(0xac)]['COMMAND'],'handler':(_0xcebe3a,_0xe1441a)=>{const _0x3b8ab1=_0x17666d;if(!_0xe1441a)return!0x1;let _0x4b3b6d=_0xcebe3a['get'](_0x4d7b12[_0x3b8ab1(0x322)]),{unitId:_0x269c8c,tableId:_0x6bf0b2,recordIds:_0xf5b1b2}=_0xe1441a,_0x4391ac=_0x4b3b6d[_0x3b8ab1(0x27d)](_0x269c8c,_0x4d7b12[_0x3b8ab1(0xca)][_0x3b8ab1(0x101)]);if(!_0x4391ac||!_0x5c30c8(_0x4391ac,_0x6bf0b2,{'recordIds':_0xf5b1b2}))return!0x1;let _0x3e1e32=_0xcebe3a[_0x3b8ab1(0x9f)](_0x4d7b12[_0x3b8ab1(0x32e)]),_0x14f63e=_0xcebe3a[_0x3b8ab1(0x9f)](_0x4d7b12[_0x3b8ab1(0x3b7)]),_0x17020a=_0x4391ac['getSnapshot'](),_0x2bb348=_0x593e95(_0x17020a['tables'][_0x6bf0b2],_0xf5b1b2),_0x2fbe8d=new _0x7bf11a()[_0x3b8ab1(0x3ec)](_0x17020a,_0x6bf0b2,_0xf5b1b2),_0x5d9403=new _0x51bfae()[_0x3b8ab1(0x386)](_0x17020a,_0x2fbe8d),_0x38f7fc={'unitId':_0x269c8c,'op':_0x2fbe8d,'hierarchyChanges':_0x2bb348,'source':_0xe1441a[_0x3b8ab1(0x3e3)]??'ui'},_0x10e102={..._0x38f7fc,'source':_0x3b8ab1(0x40a)},_0x1b777a={'unitId':_0x269c8c,'op':_0x5d9403,'hierarchyChanges':_0x2bb348[_0x3b8ab1(0xd9)](_0x10a411=>({..._0x10a411,'oldParentRecordId':_0x10a411[_0x3b8ab1(0x380)],'parentRecordId':_0x10a411[_0x3b8ab1(0x366)]})),'source':_0x3b8ab1(0x230)};return _0x3e1e32[_0x3b8ab1(0x3e2)](_0x36dd63['id'],_0x38f7fc)?(_0x4b3b6d[_0x3b8ab1(0x1c2)](_0x269c8c),_0x14f63e[_0x3b8ab1(0x189)]({'unitID':_0x269c8c,'undoMutations':[{'id':_0x36dd63['id'],'params':_0x1b777a}],'redoMutations':[{'id':_0x36dd63['id'],'params':_0x10e102}]}),!0x0):!0x1;}},_0x36097={'id':'base.command.change-base-field-type','type':_0x4d7b12[_0x17666d(0xac)][_0x17666d(0x412)],'handler':(_0x50a00a,_0x4ede4d)=>{const _0x561fa0=_0x17666d;if(!_0x4ede4d)return!0x1;let _0x48c8d5=_0x50a00a[_0x561fa0(0x9f)](_0x4d7b12[_0x561fa0(0x322)]),{unitId:_0x19a3fb,tableId:_0x301544,fieldId:_0x4961ba,input:_0x4e2851}=_0x4ede4d,_0x1be16e=_0x48c8d5[_0x561fa0(0x27d)](_0x19a3fb,_0x4d7b12[_0x561fa0(0xca)][_0x561fa0(0x101)]);if(!_0x1be16e||_0x4961ba===_0x4d7b12['BASE_RECORD_ID_FIELD_ID']||!_0x5c30c8(_0x1be16e,_0x301544,{'fieldIds':[_0x4961ba]}))return!0x1;let _0x38f8bb=_0x50a00a[_0x561fa0(0x9f)](_0x4d7b12[_0x561fa0(0x32e)]),_0x4d9d80=_0x50a00a[_0x561fa0(0x9f)](_0x4d7b12[_0x561fa0(0x3b7)]),_0x21b425=_0x1be16e[_0x561fa0(0x2de)]();if(!_0x52914c(_0x1be16e,_0x301544,{..._0x21b425['tables'][_0x301544][_0x561fa0(0x129)][_0x4961ba],..._0x4e2851}))return!0x1;let _0x58c444=new _0x7bf11a()['changeFieldType'](_0x21b425,_0x301544,_0x4961ba,_0x4e2851),_0x45e1fe=new _0x51bfae()['invertOp'](_0x21b425,_0x58c444),_0x395e03={'unitId':_0x19a3fb,'op':_0x58c444},_0x3f0164={'unitId':_0x19a3fb,'op':_0x45e1fe};return _0x38f8bb[_0x561fa0(0x3e2)](_0x36dd63['id'],_0x395e03)?(_0x48c8d5[_0x561fa0(0x1c2)](_0x19a3fb),_0x4d9d80['pushUndoRedo']({'unitID':_0x19a3fb,'undoMutations':[{'id':_0x36dd63['id'],'params':_0x3f0164}],'redoMutations':[{'id':_0x36dd63['id'],'params':_0x395e03}]}),!0x0):!0x1;}},_0x15cba5={'id':_0x17666d(0x1bb),'type':_0x4d7b12[_0x17666d(0xac)][_0x17666d(0x412)],'handler'(_0x394781,_0x13dc41){const _0x582498=_0x17666d;var _0x369a33;if(!_0x13dc41)return!0x1;let {unitId:_0x3ed6a5,tableId:_0x2181db,parentRecordId:_0x3ef8e9}=_0x13dc41,_0x280f61=_0x394781[_0x582498(0x9f)](_0x4d7b12[_0x582498(0x322)]),_0x1bc0fb=_0x280f61[_0x582498(0x27d)](_0x3ed6a5,_0x4d7b12['UniverInstanceType']['UNIVER_BASE']);if(!_0x1bc0fb||!_0x5c30c8(_0x1bc0fb,_0x2181db,{'recordIds':[_0x3ef8e9]}))throw new _0x2f9e6c(_0x582498(0xd7));let _0xcf4c1e=_0x1bc0fb[_0x582498(0x2de)](),_0x2524a9=_0xcf4c1e['tables'][_0x2181db],_0x411e86=_0x571551(_0x2524a9),_0x4a11df=_0x411e86??_0x13dc41[_0x582498(0x424)]??_0x2a161a(_0x2524a9);if(_0x411e86&&_0x13dc41[_0x582498(0x424)]&&_0x13dc41[_0x582498(0x424)]!==_0x411e86||_0x2524a9[_0x582498(0x129)][_0x4a11df]&&!_0x216ae2(_0x2524a9,_0x4a11df))throw new _0x2f9e6c('invalidField');if((_0x19fe79(_0x2524a9,_0x4a11df)['depthByRecordId'][_0x582498(0x9f)](_0x3ef8e9)??0x0)+0x1>=0x5)throw new _0x2f9e6c(_0x582498(0x473));if(!_0x2790bf(_0x1bc0fb,_0x2181db,_0x13dc41['record']))return!0x1;let _0xd92d5=_0x4d3e8b({..._0x13dc41[_0x582498(0x463)],'values':{..._0x13dc41['record']['values'],[_0x4a11df]:_0x5a2c52([_0x3ef8e9])}}),_0x271001=_0x394781['get'](_0x401e28),_0xb18dba=new _0x7bf11a(),_0x589967=_0x2524a9[_0x582498(0x129)][_0x4a11df],_0x5ea18b=_0x589967?((_0x369a33=_0x2c9bfd(_0x589967))==null?void 0x0:_0x369a33[_0x582498(0x409)])===_0x4d7b12['BaseRecordLinkRole']['Parent']?null:_0xb18dba[_0x582498(0x2bf)](_0xcf4c1e,_0x2181db,_0x4a11df,{'config':{..._0x589967[_0x582498(0x39d)],'relationRole':_0x4d7b12['BaseRecordLinkRole']['Parent']}}):_0x271001['createCreateFieldOp'](_0x1bc0fb,_0x2181db,_0x523965(_0x2524a9,_0x4a11df,_0x13dc41['parentFieldName']),_0x2524a9[_0x582498(0x33f)][_0x582498(0x278)]),_0x46f379=_0x271001[_0x582498(0x187)](_0x1bc0fb,_0x2181db,_0xd92d5),_0x38094a=_0x2c91fd([..._0x5ea18b?[_0x5ea18b]:[],_0x46f379]),_0xd62dec=new _0x51bfae()[_0x582498(0x386)](_0xcf4c1e,_0x38094a),_0x181231={'tableId':_0x2181db,'fieldId':_0x4a11df,'recordId':_0xd92d5['id'],'oldParentRecordId':null,'parentRecordId':_0x3ef8e9},_0x41b498={'unitId':_0x3ed6a5,'op':_0x38094a,'trigger':_0x15cba5['id'],'hierarchyChanges':[_0x181231],'source':_0x13dc41[_0x582498(0x3e3)]??'ui'},_0xf22104={..._0x41b498,'source':_0x582498(0x40a)},_0x4fbdb6={'unitId':_0x3ed6a5,'op':_0xd62dec,'trigger':_0x15cba5['id'],'hierarchyChanges':[{..._0x181231,'oldParentRecordId':_0x3ef8e9,'parentRecordId':null}],'source':_0x582498(0x230)};return _0x394781[_0x582498(0x9f)](_0x4d7b12['ICommandService'])[_0x582498(0x3e2)](_0x36dd63['id'],_0x41b498)?(_0x280f61[_0x582498(0x1c2)](_0x3ed6a5),_0x394781['get'](_0x4d7b12[_0x582498(0x3b7)])[_0x582498(0x189)]({'unitID':_0x3ed6a5,'undoMutations':[{'id':_0x36dd63['id'],'params':_0x4fbdb6}],'redoMutations':[{'id':_0x36dd63['id'],'params':_0xf22104}]}),!0x0):!0x1;}},_0x2dcccf={'id':_0x17666d(0x3a9),'type':_0x4d7b12[_0x17666d(0xac)][_0x17666d(0x412)],'handler'(_0x396358,_0x57a276){const _0x4e6ec7=_0x17666d;if(!_0x57a276)return!0x1;let _0x4bf5fd=_0x396358[_0x4e6ec7(0x9f)](_0x4d7b12[_0x4e6ec7(0x322)]),{unitId:_0x3525b7,tableId:_0x25d38e,field:_0x76f975,index:_0x20ed63,viewIndexes:_0x4d0185}=_0x57a276,_0x5dcb0d=_0x4bf5fd[_0x4e6ec7(0x27d)](_0x3525b7,_0x4d7b12[_0x4e6ec7(0xca)][_0x4e6ec7(0x101)]);if(!_0x5dcb0d||!_0x5c30c8(_0x5dcb0d,_0x25d38e)||_0x5dcb0d[_0x4e6ec7(0x2de)]()[_0x4e6ec7(0x334)][_0x25d38e][_0x4e6ec7(0x129)][_0x76f975['id']]||_0x20ed63===0x0||!_0x52914c(_0x5dcb0d,_0x25d38e,_0x76f975))return!0x1;let _0x12c3b2=_0x396358[_0x4e6ec7(0x9f)](_0x4d7b12[_0x4e6ec7(0x32e)]),_0x28d489=_0x396358['get'](_0x4d7b12[_0x4e6ec7(0x3b7)]),_0x4cc29e=_0x396358[_0x4e6ec7(0x9f)](_0x401e28)[_0x4e6ec7(0x1cd)](_0x5dcb0d,_0x25d38e,_0x76f975,_0x20ed63,_0x4d0185),_0x4a267a=new _0x51bfae()['invertOp'](_0x5dcb0d[_0x4e6ec7(0x2de)](),_0x4cc29e),_0x1ccfbb={'unitId':_0x3525b7,'op':_0x4cc29e},_0x51c9c4={'unitId':_0x3525b7,'op':_0x4a267a};return _0x12c3b2[_0x4e6ec7(0x3e2)](_0x36dd63['id'],_0x1ccfbb)?(_0x4bf5fd['focusUnit'](_0x3525b7),_0x28d489[_0x4e6ec7(0x189)]({'unitID':_0x3525b7,'undoMutations':[{'id':_0x36dd63['id'],'params':_0x51c9c4}],'redoMutations':[{'id':_0x36dd63['id'],'params':_0x1ccfbb}]}),!0x0):!0x1;}},_0x35ff7e={'id':_0x17666d(0x440),'type':_0x4d7b12['CommandType']['COMMAND'],'handler'(_0xcde502,_0x35e3ad){const _0x2a348d=_0x17666d;if(!_0x35e3ad)return!0x1;let _0x3d3b23=_0xcde502[_0x2a348d(0x9f)](_0x4d7b12[_0x2a348d(0x322)]),{unitId:_0x1a64f2,tableId:_0x193ff4,record:_0x17430d}=_0x35e3ad,_0x5e0a9d=_0x3d3b23[_0x2a348d(0x27d)](_0x1a64f2,_0x4d7b12[_0x2a348d(0xca)][_0x2a348d(0x101)]);if(!_0x5e0a9d||!_0x5c30c8(_0x5e0a9d,_0x193ff4))return!0x1;let _0x482164=_0xcde502['get'](_0x4d7b12[_0x2a348d(0x32e)]),_0x1ea905=_0xcde502['get'](_0x4d7b12[_0x2a348d(0x3b7)]),_0x59707e=_0xcde502[_0x2a348d(0x9f)](_0x401e28),_0x5d90e7=_0x5e0a9d[_0x2a348d(0x2de)](),_0xd71209=_0x83af6a(_0x5e0a9d,_0x193ff4,[_0x17430d]);if(!_0xd71209)return!0x1;let [_0x5b616f]=_0xd71209[_0x2a348d(0x14c)],{hierarchyChanges:_0x367f9a,hierarchyFieldToMaterialize:_0x993e86}=_0xd71209,_0x80bef0=_0x993e86?_0x59707e[_0x2a348d(0x1cd)](_0x5e0a9d,_0x193ff4,_0x993e86,_0x5d90e7[_0x2a348d(0x334)][_0x193ff4][_0x2a348d(0x33f)][_0x2a348d(0x278)]):null,_0x3b746b=_0x59707e[_0x2a348d(0x187)](_0x5e0a9d,_0x193ff4,_0x5b616f),_0x424673=_0x2c91fd([..._0x80bef0?[_0x80bef0]:[],_0x3b746b]),_0x576030=new _0x51bfae()[_0x2a348d(0x386)](_0x5d90e7,_0x424673),_0x1766b5={'unitId':_0x1a64f2,'op':_0x424673,'hierarchyChanges':_0x367f9a[_0x2a348d(0x278)]?_0x367f9a:void 0x0,'source':_0x367f9a[_0x2a348d(0x278)]?_0x35e3ad['source']??'ui':void 0x0},_0x310d39={..._0x1766b5,'source':_0x367f9a['length']?_0x2a348d(0x40a):void 0x0},_0x3419ff={'unitId':_0x1a64f2,'op':_0x576030,'hierarchyChanges':_0x367f9a[_0x2a348d(0x278)]?_0x367f9a['map'](_0x248cd5=>({..._0x248cd5,'oldParentRecordId':_0x248cd5['parentRecordId'],'parentRecordId':null})):void 0x0,'source':_0x367f9a[_0x2a348d(0x278)]?_0x2a348d(0x230):void 0x0};return _0x482164[_0x2a348d(0x3e2)](_0x36dd63['id'],_0x1766b5)?(_0x3d3b23[_0x2a348d(0x1c2)](_0x1a64f2),_0x1ea905[_0x2a348d(0x189)]({'unitID':_0x1a64f2,'undoMutations':[{'id':_0x36dd63['id'],'params':_0x3419ff}],'redoMutations':[{'id':_0x36dd63['id'],'params':_0x310d39}]}),!0x0):!0x1;}};function _0x57d6ff(_0x43d705,_0x379cd5,_0x535719){const _0x3a6191=_0x17666d;if(!_0x379cd5[_0x3a6191(0x11d)]())return{'valid':!0x1,'reason':_0x3a6191(0x159),'error':_0x3a6191(0x105)};if(_0x379cd5['length']>0x1f)return{'valid':!0x1,'reason':_0x3a6191(0x200),'error':_0x3a6191(0xe5)};if(_0x379cd5['startsWith']('\x27')||_0x379cd5[_0x3a6191(0x458)]('\x27'))return{'valid':!0x1,'reason':'A\x20table\x20name\x20cannot\x20start\x20or\x20end\x20with\x20an\x20apostrophe.','error':_0x3a6191(0x384)};if(/[:\\/?*\[\]]/[_0x3a6191(0x445)](_0x379cd5))return{'valid':!0x1,'reason':_0x3a6191(0x41d),'error':_0x3a6191(0x130)};if(!(0x0,_0x4d7b12[_0x3a6191(0x2e0)])(_0x379cd5))return{'valid':!0x1,'reason':_0x3a6191(0xad),'error':_0x3a6191(0x110)};let _0xc3c06c=_0x379cd5[_0x3a6191(0x35a)]();return Object[_0x3a6191(0x3b2)](_0x43d705[_0x3a6191(0x334)])[_0x3a6191(0x256)](_0x3f6e94=>_0x3f6e94['id']!==_0x535719&&_0x3f6e94[_0x3a6191(0x208)][_0x3a6191(0x35a)]()===_0xc3c06c)?{'valid':!0x1,'reason':'A\x20table\x20with\x20this\x20name\x20already\x20exists.','error':_0x3a6191(0x30d)}:{'valid':!0x0};}function _0x164355(_0x43cbf5,_0x2b9c6c){const _0x2985a1=_0x17666d;let _0x1b259f=_0x2b9c6c[_0x2985a1(0x1a9)](/[:\\/?*\[\]]/g,'\x20')[_0x2985a1(0x1a9)](/^'+|'+$/g,'')[_0x2985a1(0x11d)]()||'Table',_0x27bd8a=0x1;for(;;){let _0x430109=_0x27bd8a===0x1?'':'\x20'+_0x27bd8a,_0x2961e9=''+_0x1b259f[_0x2985a1(0x3fc)](0x0,0x1f-_0x430109[_0x2985a1(0x278)])+_0x430109;if(_0x57d6ff(_0x43cbf5,_0x2961e9)[_0x2985a1(0x1d5)])return _0x2961e9;_0x27bd8a++;}}let _0x4ba48d={'id':_0x17666d(0x37a),'type':_0x4d7b12[_0x17666d(0xac)][_0x17666d(0x412)],'handler':(_0x33cfbf,_0x10d12a)=>{const _0x590a44=_0x17666d;if(!_0x10d12a)return!0x1;let _0x5f5886=_0x33cfbf[_0x590a44(0x9f)](_0x4d7b12['IUniverInstanceService']),{unitId:_0x4b0f08,table:_0x2ba4f5,index:_0x47d218}=_0x10d12a,_0x393691=_0x5f5886[_0x590a44(0x27d)](_0x4b0f08,_0x4d7b12[_0x590a44(0xca)][_0x590a44(0x101)]);if(!_0x393691||_0x393691['getSnapshot']()[_0x590a44(0x334)][_0x2ba4f5['id']]||!_0x57d6ff(_0x393691[_0x590a44(0x2de)](),_0x2ba4f5['name'])['valid'])return!0x1;try{(0x0,_0x4d7b12[_0x590a44(0x2c3)])(_0x2ba4f5);}catch{return!0x1;}let _0x5a3ef9=_0x33cfbf[_0x590a44(0x9f)](_0x4d7b12[_0x590a44(0x32e)]),_0x522c2a=_0x33cfbf[_0x590a44(0x9f)](_0x4d7b12[_0x590a44(0x3b7)]),_0x59d849=_0x393691[_0x590a44(0x2de)](),_0x50122f=new _0x7bf11a()[_0x590a44(0x336)](_0x59d849,_0x2ba4f5,_0x47d218),_0x3c1ea5=new _0x51bfae()[_0x590a44(0x386)](_0x59d849,_0x50122f),_0x3a508e={'unitId':_0x4b0f08,'op':_0x50122f},_0x257020={'unitId':_0x4b0f08,'op':_0x3c1ea5};return _0x5a3ef9[_0x590a44(0x3e2)](_0x36dd63['id'],_0x3a508e)?(_0x5f5886['focusUnit'](_0x4b0f08),_0x522c2a[_0x590a44(0x189)]({'unitID':_0x4b0f08,'undoMutations':[{'id':_0x36dd63['id'],'params':_0x257020}],'redoMutations':[{'id':_0x36dd63['id'],'params':_0x3a508e}]}),!0x0):!0x1;}};function _0x42dc2d(_0x4f78b1,_0x14f50b,_0x46b938=[]){const _0xaa97a1=_0x17666d;let _0x4ca1e4=new Set([...Object['values'](_0x4f78b1[_0xaa97a1(0x129)])[_0xaa97a1(0x425)](_0xc9b598=>_0xc9b598)[_0xaa97a1(0xd9)](_0xe78793=>_0xe78793[_0xaa97a1(0x208)]),..._0x46b938['map'](_0x224581=>_0x224581[_0xaa97a1(0x208)])]);if(!_0x4ca1e4[_0xaa97a1(0x1eb)](_0x14f50b))return _0x14f50b;let _0x440e27=0x2;for(;_0x4ca1e4['has'](_0x14f50b+'\x20'+_0x440e27);)_0x440e27++;return _0x14f50b+'\x20'+_0x440e27;}function _0x1c8c5c(_0x50a975,_0x18e547){if(!_0x50a975||!_0x18e547['length'])return;let _0x3d5f52=[..._0x50a975];return _0x18e547['forEach'](_0x1c86ab=>{const _0x287c93=_0x2760;_0x3d5f52[_0x287c93(0x3ff)](_0x1c86ab)||_0x3d5f52['push'](_0x1c86ab);}),_0x3d5f52;}let _0x3f139c={'options':[{'id':_0x17666d(0x43d),'name':_0x17666d(0x289),'color':'#BFDBFE'},{'id':'doing','name':'Doing','color':'#FDE68A'},{'id':_0x17666d(0x132),'name':_0x17666d(0x1b5),'color':'#BBF7D0'}]},_0x5c57de={'locale':_0x17666d(0x3cd),'pattern':_0x17666d(0x3c4),'includeTime':!0x1,'hourCycle':_0x17666d(0x262),'defaultMode':_0x17666d(0xb9)};function _0x4784df(_0x21a2ec,_0x522e8f,_0x53efae,_0x4451ee){const _0x309528=_0x17666d;var _0x327a5f;let _0x28d96a=new _0x7bf11a(),_0xffee01=_0x21a2ec['tables'][_0x522e8f],_0x2c195a=_0xffee01?{..._0x53efae,'fieldOrder':[_0x4d7b12[_0x309528(0x36b)],...(_0x53efae[_0x309528(0x33f)]??_0xffee01[_0x309528(0x33f)])['filter'](_0x480280=>_0x480280!==_0x4d7b12[_0x309528(0x36b)])],'fieldSettings':{..._0x53efae[_0x309528(0x2fd)],[_0x4d7b12['BASE_RECORD_ID_FIELD_ID']]:{...(_0x327a5f=_0x53efae[_0x309528(0x2fd)])==null?void 0x0:_0x327a5f[_0x4d7b12[_0x309528(0x36b)]],'hidden':!0x0}}}:_0x53efae;if(_0xffee01&&_0x2c195a[_0x309528(0x466)]===_0x309528(0x3fb)){let _0x59ff34=_0x4876ab(_0xffee01,_0x2c195a),_0x2265d3=_0x59ff34[_0x309528(0x471)]?{..._0x2c195a,'config':_0x59ff34[_0x309528(0x39d)],'fieldOrder':_0x59ff34['fieldOrder']??_0x2c195a[_0x309528(0x33f)]}:_0x2c195a;return _0x2c91fd([..._0x59ff34['fields']['map'](_0x1b8201=>_0x28d96a['createField'](_0x21a2ec,_0x522e8f,{'field':_0x1b8201})),_0x28d96a[_0x309528(0x429)](_0x21a2ec,_0x522e8f,_0x2265d3,_0x4451ee)]);}if(!_0xffee01||_0x2c195a[_0x309528(0x466)]!=='calendar'&&_0x2c195a['type']!==_0x309528(0x1d3))return _0x28d96a[_0x309528(0x429)](_0x21a2ec,_0x522e8f,_0x2c195a,_0x4451ee);let _0x1b06c7=_0x1efbf5(_0xffee01,_0x2c195a),_0x339008=_0x1b06c7['changed']?{..._0x2c195a,'config':_0x1b06c7['config'],'fieldOrder':_0x1b06c7['fieldOrder']??_0x2c195a[_0x309528(0x33f)]}:_0x2c195a;return _0x2c195a[_0x309528(0x466)]===_0x309528(0x1d3)&&_0x2dc1b6(_0x2c195a)&&(_0x339008=_0x4e1132(_0xffee01,_0x339008,_0x1b06c7[_0x309528(0x129)])),_0x2c91fd([..._0x1b06c7[_0x309528(0x129)][_0x309528(0xd9)](_0x43db58=>_0x28d96a[_0x309528(0x468)](_0x21a2ec,_0x522e8f,{'field':_0x43db58})),_0x28d96a[_0x309528(0x429)](_0x21a2ec,_0x522e8f,_0x339008,_0x4451ee)]);}function _0x1efbf5(_0x4b604,_0x34cee7,_0x514404=!0x1){const _0x4ba024=_0x17666d;var _0xd835aa,_0x2c489c;let _0x171d40=_0x4b604[_0x4ba024(0x33f)][_0x4ba024(0x425)](_0xa8c36=>_0xd32b98(_0x4b604,_0xa8c36)),_0x225cee=[],_0x2706e4={..._0x34cee7[_0x4ba024(0x39d)]??{}},_0x57d17a=typeof _0x2706e4[_0x4ba024(0x111)]==_0x4ba024(0x3af)&&_0xd32b98(_0x4b604,_0x2706e4[_0x4ba024(0x111)])?_0x2706e4[_0x4ba024(0x111)]:_0x171d40[0x0],_0x345e11=typeof _0x2706e4[_0x4ba024(0x1d1)]==_0x4ba024(0x3af)&&_0xd32b98(_0x4b604,_0x2706e4['endDateFieldId'])&&_0x2706e4[_0x4ba024(0x1d1)]!==_0x57d17a?_0x2706e4[_0x4ba024(0x1d1)]:_0x171d40['find'](_0x51f4c7=>_0x51f4c7!==_0x57d17a);if(!_0x57d17a){let _0x33f480=_0x38bc11(_0x4b604,_0x225cee,_0x34cee7[_0x4ba024(0x466)]===_0x4ba024(0x1d3)?'Start\x20date':_0x4ba024(0x32c));_0x225cee['push'](_0x33f480),_0x57d17a=_0x33f480['id'];}if((_0x34cee7['type']==='gantt'||_0x514404)&&!_0x345e11){let _0x39c331=_0x38bc11(_0x4b604,_0x225cee,_0x4ba024(0x192));_0x225cee[_0x4ba024(0x112)](_0x39c331),_0x345e11=_0x39c331['id'];}_0x34cee7[_0x4ba024(0x466)]===_0x4ba024(0x329)&&!_0x345e11&&delete _0x2706e4['endDateFieldId'],_0x2706e4[_0x4ba024(0x111)]=_0x57d17a,_0x34cee7[_0x4ba024(0x466)]==='calendar'&&_0x345e11&&(_0x2706e4[_0x4ba024(0x1d1)]=_0x345e11),_0x34cee7[_0x4ba024(0x466)]===_0x4ba024(0x1d3)&&(_0x2706e4[_0x4ba024(0x1d1)]=_0x345e11??_0x57d17a);let _0x4c6fa5=_0x1c8c5c(_0x34cee7[_0x4ba024(0x33f)],_0x225cee[_0x4ba024(0xd9)](_0x3b6b10=>_0x3b6b10['id']));return{'changed':_0x225cee[_0x4ba024(0x278)]>0x0||_0x2706e4[_0x4ba024(0x111)]!==((_0xd835aa=_0x34cee7[_0x4ba024(0x39d)])==null?void 0x0:_0xd835aa['startDateFieldId'])||_0x2706e4[_0x4ba024(0x1d1)]!==((_0x2c489c=_0x34cee7[_0x4ba024(0x39d)])==null?void 0x0:_0x2c489c[_0x4ba024(0x1d1)])||!!(_0x4c6fa5&&!_0x4d7b12[_0x4ba024(0x1ea)]['diffValue'](_0x4c6fa5,_0x34cee7[_0x4ba024(0x33f)]??[])),'fields':_0x225cee,'config':_0x2706e4,'fieldOrder':_0x4c6fa5};}function _0x4876ab(_0x4b5572,_0x329d74){const _0x5a8a41=_0x17666d;var _0x1412c6;let _0x32beb0=[],_0x3b77eb={..._0x329d74[_0x5a8a41(0x39d)]??{}},_0x5afbb5=typeof _0x3b77eb[_0x5a8a41(0x454)]==_0x5a8a41(0x3af)&&_0x5b6ee7(_0x4b5572,_0x3b77eb[_0x5a8a41(0x454)])?_0x3b77eb[_0x5a8a41(0x454)]:_0x4b5572[_0x5a8a41(0x33f)][_0x5a8a41(0x3b6)](_0x3398a2=>_0x5b6ee7(_0x4b5572,_0x3398a2));if(!_0x5afbb5){let _0x1af578=_0x8656fe(_0x4b5572,_0x32beb0);_0x32beb0['push'](_0x1af578),_0x5afbb5=_0x1af578['id'];}_0x3b77eb['groupFieldId']=_0x5afbb5;let _0x384ed8=_0x1c8c5c(_0x329d74[_0x5a8a41(0x33f)],_0x32beb0[_0x5a8a41(0xd9)](_0x50575b=>_0x50575b['id']));return{'changed':_0x32beb0['length']>0x0||_0x3b77eb[_0x5a8a41(0x454)]!==((_0x1412c6=_0x329d74['config'])==null?void 0x0:_0x1412c6[_0x5a8a41(0x454)])||!!(_0x384ed8&&!_0x4d7b12[_0x5a8a41(0x1ea)][_0x5a8a41(0x397)](_0x384ed8,_0x329d74[_0x5a8a41(0x33f)]??[])),'fields':_0x32beb0,'config':_0x3b77eb,'fieldOrder':_0x384ed8};}function _0x5b6ee7(_0x386488,_0x455a2a){const _0x1adbc6=_0x17666d;let _0x559248=_0x455a2a?_0x386488[_0x1adbc6(0x129)][_0x455a2a]:null;return _0x559248?[_0x4d7b12[_0x1adbc6(0x419)][_0x1adbc6(0x191)],_0x4d7b12[_0x1adbc6(0x419)][_0x1adbc6(0x1a7)],_0x4d7b12[_0x1adbc6(0x419)][_0x1adbc6(0x3df)],_0x4d7b12['BaseFieldType'][_0x1adbc6(0x92)],_0x4d7b12[_0x1adbc6(0x419)]['Group'],_0x4d7b12[_0x1adbc6(0x419)][_0x1adbc6(0x317)]][_0x1adbc6(0x3ff)](_0x559248[_0x1adbc6(0x466)]):!0x1;}function _0x8656fe(_0xe7943c,_0x3e6f3f){const _0x16b82a=_0x17666d;return{'id':_0x16b82a(0xf7)+(0x0,_0x4d7b12['generateRandomId'])(0x8),'name':_0x42dc2d(_0xe7943c,_0x16b82a(0x40e),_0x3e6f3f),'type':_0x4d7b12[_0x16b82a(0x419)][_0x16b82a(0x191)],'config':_0x4d7b12[_0x16b82a(0x1ea)][_0x16b82a(0xee)](_0x3f139c)};}function _0x2dc1b6(_0xe87d86){const _0xd0e1ff=_0x17666d;return Object['keys'](_0xe87d86[_0xd0e1ff(0x39d)]??{})[_0xd0e1ff(0x278)]===0x0&&Object[_0xd0e1ff(0x3d7)](_0xe87d86['fieldSettings']??{})[_0xd0e1ff(0x278)]===0x0;}function _0x4e1132(_0x10f862,_0x31db6e,_0x43127f){const _0x46fa20=_0x17666d;let _0x5e8224={..._0x31db6e['config']??{}},_0x3e1056=_0x43127f[_0x46fa20(0xd9)](_0x474cbd=>_0x474cbd['id']),_0x4f8635=[..._0x10f862[_0x46fa20(0x33f)],..._0x3e1056],_0x5f2d44=typeof _0x5e8224['titleFieldId']==_0x46fa20(0x3af)&&_0x12be49(_0x10f862,_0x43127f,_0x5e8224[_0x46fa20(0x353)])?_0x5e8224['titleFieldId']:_0x10f862['primaryFieldId'],_0x714161=typeof _0x5e8224[_0x46fa20(0x111)]==_0x46fa20(0x3af)?_0x5e8224[_0x46fa20(0x111)]:'',_0x12890c=typeof _0x5e8224[_0x46fa20(0x1d1)]=='string'?_0x5e8224['endDateFieldId']:_0x714161,_0x1a6076=new Set([_0x5f2d44,_0x714161,_0x12890c]['filter'](_0x39c0b3=>_0x39c0b3&&_0x12be49(_0x10f862,_0x43127f,_0x39c0b3))),_0x23db58=Object[_0x46fa20(0x88)](_0x4f8635[_0x46fa20(0x2b8)](_0x2f1a7a=>_0x1a6076[_0x46fa20(0x1eb)](_0x2f1a7a)||!_0x12be49(_0x10f862,_0x43127f,_0x2f1a7a)?[]:[[_0x2f1a7a,{'hidden':!0x0}]]));return{..._0x31db6e,'config':{..._0x5e8224,'titleFieldId':_0x5f2d44},'fieldSettings':_0x23db58};}function _0x12be49(_0x51bf63,_0x378008,_0x4fbcdf){const _0x551582=_0x17666d;return!!(_0x51bf63[_0x551582(0x129)][_0x4fbcdf]??_0x378008[_0x551582(0x3b6)](_0x33d938=>_0x33d938['id']===_0x4fbcdf))&&!0x0;}function _0xd32b98(_0x8f16b1,_0x10f507){const _0x143959=_0x17666d;let _0x305601=_0x10f507?_0x8f16b1[_0x143959(0x129)][_0x10f507]:null;return!!_0x305601&&_0x305601[_0x143959(0x466)]===_0x4d7b12['BaseFieldType']['Date']&&_0x305601[_0x143959(0x124)]!==!0x0&&_0x305601[_0x143959(0x43a)]!==!0x0;}function _0x38bc11(_0x35eabf,_0x44508e,_0x1374c6){const _0x247c6b=_0x17666d;let _0x495737=new Set([...Object[_0x247c6b(0x3d7)](_0x35eabf['fields']),..._0x44508e[_0x247c6b(0xd9)](_0x104097=>_0x104097['id'])]),_0x446599=_0x247c6b(0xf7)+(0x0,_0x4d7b12[_0x247c6b(0x216)])(0x8);for(;_0x495737['has'](_0x446599);)_0x446599=_0x247c6b(0xf7)+(0x0,_0x4d7b12[_0x247c6b(0x216)])(0x8);return{'id':_0x446599,'name':_0x42dc2d(_0x35eabf,_0x1374c6,_0x44508e),'type':_0x4d7b12['BaseFieldType']['Date'],'config':{..._0x5c57de}};}let _0x2a9a84={'id':_0x17666d(0x462),'type':_0x4d7b12[_0x17666d(0xac)][_0x17666d(0x412)],'handler':(_0x2146b9,_0x285845)=>{const _0x3132c9=_0x17666d;if(!_0x285845)return!0x1;let _0x1de374=_0x2146b9[_0x3132c9(0x9f)](_0x4d7b12[_0x3132c9(0x322)]),{unitId:_0x5ba5e2,tableId:_0x85563a,view:_0x1469ec,index:_0x3ce0e9}=_0x285845,_0x4997b3=_0x1de374['getUnit'](_0x5ba5e2,_0x4d7b12['UniverInstanceType'][_0x3132c9(0x101)]);if(!_0x4997b3||!_0x5c30c8(_0x4997b3,_0x85563a)||_0x4997b3[_0x3132c9(0x2de)]()[_0x3132c9(0x334)][_0x85563a][_0x3132c9(0x420)][_0x1469ec['id']])return!0x1;let _0x7d85bd=_0x2146b9['get'](_0x4d7b12[_0x3132c9(0x32e)]),_0x9de20b=_0x2146b9[_0x3132c9(0x9f)](_0x4d7b12[_0x3132c9(0x3b7)]),_0x59a825=_0x4997b3[_0x3132c9(0x2de)](),_0xe2d63c=_0x4784df(_0x59a825,_0x85563a,_0x1469ec,_0x3ce0e9),_0x2eaf38=new _0x51bfae()[_0x3132c9(0x386)](_0x59a825,_0xe2d63c),_0x1ecb41={'unitId':_0x5ba5e2,'op':_0xe2d63c},_0x59a98c={'unitId':_0x5ba5e2,'op':_0x2eaf38};return _0x7d85bd[_0x3132c9(0x3e2)](_0x36dd63['id'],_0x1ecb41)?(_0x1de374[_0x3132c9(0x1c2)](_0x5ba5e2),_0x9de20b[_0x3132c9(0x189)]({'unitID':_0x5ba5e2,'undoMutations':[{'id':_0x36dd63['id'],'params':_0x59a98c}],'redoMutations':[{'id':_0x36dd63['id'],'params':_0x1ecb41}]}),!0x0):!0x1;}},_0x2ddfa7={'id':_0x17666d(0x314),'type':_0x4d7b12[_0x17666d(0xac)]['COMMAND'],'handler'(_0x5bfb67,_0x37718d){const _0x533df3=_0x17666d;if(!_0x37718d)return!0x1;let _0x1c7803=_0x5bfb67[_0x533df3(0x9f)](_0x4d7b12[_0x533df3(0x322)]),{unitId:_0x1a39a0,tableId:_0x510dee,fieldId:_0x380a74}=_0x37718d,_0x4e3320=_0x1c7803[_0x533df3(0x27d)](_0x1a39a0,_0x4d7b12[_0x533df3(0xca)]['UNIVER_BASE']);if(!_0x4e3320)return!0x1;let _0x2e716f=_0x4e3320[_0x533df3(0x2de)](),_0x5c4127=_0x2e716f[_0x533df3(0x334)][_0x510dee];if(!_0x5c30c8(_0x4e3320,_0x510dee,{'fieldIds':[_0x380a74]})||_0x5c4127[_0x533df3(0x455)]===_0x380a74||_0x380a74===_0x4d7b12[_0x533df3(0x36b)])return!0x1;let _0x3d8b09=_0x5bfb67[_0x533df3(0x9f)](_0x4d7b12[_0x533df3(0x32e)]),_0x561035=_0x5bfb67[_0x533df3(0x9f)](_0x4d7b12[_0x533df3(0x3b7)]),_0x592ee0=new _0x7bf11a()[_0x533df3(0x3b3)](_0x2e716f,_0x510dee,_0x380a74),_0xf60567=new _0x51bfae()[_0x533df3(0x386)](_0x2e716f,_0x592ee0),_0x546549={'unitId':_0x1a39a0,'op':_0x592ee0},_0x93b73c={'unitId':_0x1a39a0,'op':_0xf60567};return _0x3d8b09['syncExecuteCommand'](_0x36dd63['id'],_0x546549)?(_0x1c7803[_0x533df3(0x1c2)](_0x1a39a0),_0x561035[_0x533df3(0x189)]({'unitID':_0x1a39a0,'undoMutations':[{'id':_0x36dd63['id'],'params':_0x93b73c}],'redoMutations':[{'id':_0x36dd63['id'],'params':_0x546549}]}),!0x0):!0x1;}},_0x51198c={'id':'base.command.delete-base-record','type':_0x4d7b12[_0x17666d(0xac)][_0x17666d(0x412)],'handler':(_0x4d20e9,_0x397fdd)=>{const _0x5dc679=_0x17666d;if(!_0x397fdd)return!0x1;let _0x476313=_0x4d20e9['get'](_0x4d7b12[_0x5dc679(0x322)]),{unitId:_0xa77af5,tableId:_0x41ca48,recordId:_0xfd8704}=_0x397fdd,_0x4a8100=_0x476313[_0x5dc679(0x27d)](_0xa77af5,_0x4d7b12[_0x5dc679(0xca)]['UNIVER_BASE']);if(!_0x4a8100||!_0x5c30c8(_0x4a8100,_0x41ca48,{'recordIds':[_0xfd8704]}))return!0x1;let _0x3c6ebc=_0x4d20e9['get'](_0x4d7b12[_0x5dc679(0x32e)]),_0x351360=_0x4d20e9[_0x5dc679(0x9f)](_0x4d7b12[_0x5dc679(0x3b7)]),_0x494e93=_0x4a8100[_0x5dc679(0x2de)](),_0x19153b=_0x593e95(_0x494e93[_0x5dc679(0x334)][_0x41ca48],[_0xfd8704]),_0x257ef2=new _0x7bf11a()[_0x5dc679(0x411)](_0x494e93,_0x41ca48,_0xfd8704),_0x2564db=new _0x51bfae()['invertOp'](_0x494e93,_0x257ef2),_0x3564e0={'unitId':_0xa77af5,'op':_0x257ef2,'hierarchyChanges':_0x19153b,'source':_0x397fdd[_0x5dc679(0x3e3)]??'ui'},_0xd26b59={..._0x3564e0,'source':_0x5dc679(0x40a)},_0x2d2018={'unitId':_0xa77af5,'op':_0x2564db,'hierarchyChanges':_0x19153b[_0x5dc679(0xd9)](_0x345e5f=>({..._0x345e5f,'oldParentRecordId':_0x345e5f[_0x5dc679(0x380)],'parentRecordId':_0x345e5f['oldParentRecordId']})),'source':_0x5dc679(0x230)};return _0x3c6ebc['syncExecuteCommand'](_0x36dd63['id'],_0x3564e0)?(_0x476313[_0x5dc679(0x1c2)](_0xa77af5),_0x351360['pushUndoRedo']({'unitID':_0xa77af5,'undoMutations':[{'id':_0x36dd63['id'],'params':_0x2d2018}],'redoMutations':[{'id':_0x36dd63['id'],'params':_0xd26b59}]}),!0x0):!0x1;}},_0x5c4563={'id':_0x17666d(0x210),'type':_0x4d7b12['CommandType'][_0x17666d(0x412)],'handler':(_0x84afc6,_0x3e0c22)=>{const _0x19a677=_0x17666d;if(!_0x3e0c22)return!0x1;let _0x45e502=_0x84afc6[_0x19a677(0x9f)](_0x4d7b12['IUniverInstanceService']),{unitId:_0x24ac29,tableId:_0x81a72a}=_0x3e0c22,_0x2dfd67=_0x45e502[_0x19a677(0x27d)](_0x24ac29,_0x4d7b12['UniverInstanceType']['UNIVER_BASE']);if(!_0x2dfd67||!_0x5c30c8(_0x2dfd67,_0x81a72a))return!0x1;let _0x5dcebf=_0x84afc6[_0x19a677(0x9f)](_0x4d7b12['ICommandService']),_0xcc74ea=_0x84afc6[_0x19a677(0x9f)](_0x4d7b12[_0x19a677(0x3b7)]),_0x1a48b3=_0x2dfd67[_0x19a677(0x2de)](),_0x5f7471=_0x26c103(_0x1a48b3,_0x81a72a);if(_0x5f7471[_0x19a677(0x278)]>0x0)return console[_0x19a677(0x80)](_0x19a677(0x168)+_0x81a72a+'\x22\x20is\x20referenced\x20by\x20'+_0x5f7471['map'](_0x38caf7=>_0x38caf7[_0x19a677(0x10c)]+'.'+_0x38caf7['fieldId'])[_0x19a677(0x1ef)](',\x20')+'.'),!0x1;let _0x3ccbb7=new _0x7bf11a()[_0x19a677(0x29c)](_0x1a48b3,_0x81a72a),_0x1df8cd=new _0x51bfae()['invertOp'](_0x1a48b3,_0x3ccbb7),_0x27b14e={'unitId':_0x24ac29,'op':_0x3ccbb7},_0x3f0384={'unitId':_0x24ac29,'op':_0x1df8cd};return _0x5dcebf[_0x19a677(0x3e2)](_0x36dd63['id'],_0x27b14e)?(_0x45e502[_0x19a677(0x1c2)](_0x24ac29),_0xcc74ea[_0x19a677(0x189)]({'unitID':_0x24ac29,'undoMutations':[{'id':_0x36dd63['id'],'params':_0x3f0384}],'redoMutations':[{'id':_0x36dd63['id'],'params':_0x27b14e}]}),!0x0):!0x1;}},_0x273fa1={'id':_0x17666d(0x93),'type':_0x4d7b12[_0x17666d(0xac)]['COMMAND'],'handler':(_0x2ddfa8,_0x5c789c)=>{const _0x55a8bb=_0x17666d;if(!_0x5c789c)return!0x1;let _0x3f1c18=_0x2ddfa8[_0x55a8bb(0x9f)](_0x4d7b12[_0x55a8bb(0x322)]),{unitId:_0x1824ec,tableId:_0x517a8f,viewId:_0x205451}=_0x5c789c,_0x16c789=_0x3f1c18[_0x55a8bb(0x27d)](_0x1824ec,_0x4d7b12[_0x55a8bb(0xca)][_0x55a8bb(0x101)]);if(!_0x16c789||!_0x5c30c8(_0x16c789,_0x517a8f,{'viewIds':[_0x205451]}))return!0x1;let _0x16fceb=_0x2ddfa8[_0x55a8bb(0x9f)](_0x4d7b12[_0x55a8bb(0x32e)]),_0x4ce54b=_0x2ddfa8[_0x55a8bb(0x9f)](_0x4d7b12[_0x55a8bb(0x3b7)]),_0x2da737=_0x16c789[_0x55a8bb(0x2de)](),_0x97177d=new _0x7bf11a()[_0x55a8bb(0x166)](_0x2da737,_0x517a8f,_0x205451),_0x46b014=new _0x51bfae()[_0x55a8bb(0x386)](_0x2da737,_0x97177d),_0x589108={'unitId':_0x1824ec,'op':_0x97177d},_0x1e7f2c={'unitId':_0x1824ec,'op':_0x46b014};return _0x16fceb[_0x55a8bb(0x3e2)](_0x36dd63['id'],_0x589108)?(_0x3f1c18[_0x55a8bb(0x1c2)](_0x1824ec),_0x4ce54b[_0x55a8bb(0x189)]({'unitID':_0x1824ec,'undoMutations':[{'id':_0x36dd63['id'],'params':_0x1e7f2c}],'redoMutations':[{'id':_0x36dd63['id'],'params':_0x589108}]}),!0x0):!0x1;}},_0x3e1911={'id':_0x17666d(0x475),'type':_0x4d7b12[_0x17666d(0xac)][_0x17666d(0x412)],'handler':(_0x538358,_0x3f367e)=>{const _0x4edef3=_0x17666d;if(!_0x3f367e)return!0x1;let _0x35bca8=_0x538358[_0x4edef3(0x9f)](_0x4d7b12[_0x4edef3(0x322)]),{unitId:_0x5145b8,tableId:_0x3d4d70,sourceFieldId:_0x5105de,field:_0x2460bc,index:_0x342aa9,viewIndexes:_0x3835c4}=_0x3f367e,_0x44ba9c=_0x35bca8[_0x4edef3(0x27d)](_0x5145b8,_0x4d7b12[_0x4edef3(0xca)][_0x4edef3(0x101)]);if(!_0x44ba9c||!_0x5c30c8(_0x44ba9c,_0x3d4d70,{'fieldIds':[_0x5105de]})||_0x5105de===_0x4d7b12[_0x4edef3(0x36b)]||_0x44ba9c[_0x4edef3(0x2de)]()[_0x4edef3(0x334)][_0x3d4d70][_0x4edef3(0x129)][_0x2460bc['id']]||_0x342aa9===0x0||!_0x52914c(_0x44ba9c,_0x3d4d70,_0x2460bc))return!0x1;let _0x5baafe=_0x538358[_0x4edef3(0x9f)](_0x4d7b12[_0x4edef3(0x32e)]),_0x10b0bb=_0x538358[_0x4edef3(0x9f)](_0x4d7b12[_0x4edef3(0x3b7)]),_0x217ff6=_0x44ba9c[_0x4edef3(0x2de)](),_0xe3bbc2=new _0x7bf11a()[_0x4edef3(0x332)](_0x217ff6,_0x3d4d70,_0x5105de,{'field':_0x2460bc,'index':_0x342aa9,'viewIndexes':_0x3835c4}),_0x4da4ba=new _0x51bfae()[_0x4edef3(0x386)](_0x217ff6,_0xe3bbc2),_0x298d0e={'unitId':_0x5145b8,'op':_0xe3bbc2},_0x1d5e25={'unitId':_0x5145b8,'op':_0x4da4ba};return _0x5baafe[_0x4edef3(0x3e2)](_0x36dd63['id'],_0x298d0e)?(_0x35bca8[_0x4edef3(0x1c2)](_0x5145b8),_0x10b0bb[_0x4edef3(0x189)]({'unitID':_0x5145b8,'undoMutations':[{'id':_0x36dd63['id'],'params':_0x1d5e25}],'redoMutations':[{'id':_0x36dd63['id'],'params':_0x298d0e}]}),!0x0):!0x1;}},_0x20f735={'id':_0x17666d(0x1f5),'type':_0x4d7b12['CommandType']['COMMAND'],'handler':(_0x2cf871,_0xadaba9)=>{const _0x2f145c=_0x17666d;if(!_0xadaba9)return!0x1;let _0x461f73=_0x2cf871[_0x2f145c(0x9f)](_0x4d7b12['IUniverInstanceService']),{unitId:_0x2cb2c6,tableId:_0x3808df,sourceRecordId:_0x34608b,record:_0x25040f}=_0xadaba9,_0x42e24e=_0x461f73[_0x2f145c(0x27d)](_0x2cb2c6,_0x4d7b12[_0x2f145c(0xca)][_0x2f145c(0x101)]);if(!_0x42e24e||!_0x5c30c8(_0x42e24e,_0x3808df,{'recordIds':[_0x34608b]})||!_0x2790bf(_0x42e24e,_0x3808df,_0x25040f))return!0x1;let _0x41fa69=_0x2cf871[_0x2f145c(0x9f)](_0x4d7b12[_0x2f145c(0x32e)]),_0xf8a3ca=_0x2cf871[_0x2f145c(0x9f)](_0x4d7b12[_0x2f145c(0x3b7)]),_0x39dad8=_0x42e24e[_0x2f145c(0x2de)](),_0x5051d7=_0x4d3e8b(_0x25040f),_0x1ae21c=_0x30fd91(_0x39dad8['tables'][_0x3808df],[_0x5051d7]),_0x29b3cd=new _0x7bf11a()['duplicateRecord'](_0x39dad8,_0x3808df,_0x34608b,_0x5051d7),_0x51c7bf=new _0x51bfae()[_0x2f145c(0x386)](_0x39dad8,_0x29b3cd),_0x3c40e9={'unitId':_0x2cb2c6,'op':_0x29b3cd,'hierarchyChanges':_0x1ae21c[_0x2f145c(0x278)]?_0x1ae21c:void 0x0,'source':_0x1ae21c[_0x2f145c(0x278)]?_0xadaba9[_0x2f145c(0x3e3)]??'ui':void 0x0},_0x49cad0={..._0x3c40e9,'source':_0x1ae21c[_0x2f145c(0x278)]?_0x2f145c(0x40a):void 0x0},_0x2898f5={'unitId':_0x2cb2c6,'op':_0x51c7bf,'hierarchyChanges':_0x1ae21c['length']?_0x1ae21c['map'](_0x5bdacb=>({..._0x5bdacb,'oldParentRecordId':_0x5bdacb[_0x2f145c(0x380)],'parentRecordId':null})):void 0x0,'source':_0x1ae21c[_0x2f145c(0x278)]?_0x2f145c(0x230):void 0x0};return _0x41fa69[_0x2f145c(0x3e2)](_0x36dd63['id'],_0x3c40e9)?(_0x461f73[_0x2f145c(0x1c2)](_0x2cb2c6),_0xf8a3ca[_0x2f145c(0x189)]({'unitID':_0x2cb2c6,'undoMutations':[{'id':_0x36dd63['id'],'params':_0x2898f5}],'redoMutations':[{'id':_0x36dd63['id'],'params':_0x49cad0}]}),!0x0):!0x1;}},_0x186600={'id':'base.command.ensure-base-temporal-view-date-fields','type':_0x4d7b12[_0x17666d(0xac)][_0x17666d(0x412)],'handler'(_0x154eb6,_0x38ba17){const _0x56e7d8=_0x17666d;if(!_0x38ba17)return!0x1;let _0xef2ce7=_0x154eb6[_0x56e7d8(0x9f)](_0x4d7b12['IUniverInstanceService']),{unitId:_0x41b4bf,tableId:_0x1f48ba,viewId:_0x248029,ensureEndDateField:_0x53325a}=_0x38ba17,_0x32076c=_0xef2ce7[_0x56e7d8(0x27d)](_0x41b4bf,_0x4d7b12[_0x56e7d8(0xca)]['UNIVER_BASE']);if(!_0x32076c||!_0x5c30c8(_0x32076c,_0x1f48ba,{'viewIds':[_0x248029]}))return!0x1;let _0x4ed1ab=_0x32076c['getSnapshot'](),_0x405b2a=_0x4ed1ab[_0x56e7d8(0x334)][_0x1f48ba],_0x1d13dd=_0x405b2a==null?void 0x0:_0x405b2a[_0x56e7d8(0x420)][_0x248029];if(!_0x405b2a||!_0x1d13dd||_0x1d13dd[_0x56e7d8(0x466)]!=='calendar'&&_0x1d13dd['type']!==_0x56e7d8(0x1d3))return!0x1;let _0x4ec121=_0x1efbf5(_0x405b2a,_0x1d13dd,_0x53325a===!0x0);if(!_0x4ec121[_0x56e7d8(0x471)])return!0x1;let _0x5aab38=_0x154eb6['get'](_0x4d7b12[_0x56e7d8(0x32e)]),_0x26927a=_0x154eb6[_0x56e7d8(0x9f)](_0x4d7b12[_0x56e7d8(0x3b7)]),_0x397e39=new _0x7bf11a(),_0x53c411=[..._0x4ec121['fields'][_0x56e7d8(0xd9)](_0x3ca29a=>_0x397e39[_0x56e7d8(0x468)](_0x4ed1ab,_0x38ba17['tableId'],{'field':_0x3ca29a})),_0xf214ca([..._0x3dd0ea(_0x38ba17[_0x56e7d8(0x10c)],_0x38ba17[_0x56e7d8(0x24f)]),_0x56e7d8(0x39d)],_0x1d13dd[_0x56e7d8(0x39d)],_0x4ec121[_0x56e7d8(0x39d)])];_0x4ec121[_0x56e7d8(0x33f)]&&_0x53c411[_0x56e7d8(0x112)](_0xf214ca([..._0x3dd0ea(_0x38ba17[_0x56e7d8(0x10c)],_0x38ba17[_0x56e7d8(0x24f)]),_0x56e7d8(0x33f)],_0x1d13dd[_0x56e7d8(0x33f)],_0x4ec121['fieldOrder']));let _0x3a3981=_0x2c91fd(_0x53c411),_0x50d790=new _0x51bfae()[_0x56e7d8(0x386)](_0x4ed1ab,_0x3a3981),_0xb052c5={'unitId':_0x41b4bf,'op':_0x3a3981},_0x2b7ed9={'unitId':_0x41b4bf,'op':_0x50d790};return _0x5aab38[_0x56e7d8(0x3e2)](_0x36dd63['id'],_0xb052c5)?(_0xef2ce7[_0x56e7d8(0x1c2)](_0x41b4bf),_0x26927a[_0x56e7d8(0x189)]({'unitID':_0x41b4bf,'undoMutations':[{'id':_0x36dd63['id'],'params':_0x2b7ed9}],'redoMutations':[{'id':_0x36dd63['id'],'params':_0xb052c5}]}),!0x0):!0x1;}};function _0xf214ca(_0x5e6e8a,_0x114542,_0x472c50){const _0x56928a=_0x17666d;return _0x114542===void 0x0?_0x4d7b12[_0x56928a(0xa0)][_0x56928a(0x12f)](_0x5e6e8a,_0x472c50):_0x4d7b12[_0x56928a(0xa0)][_0x56928a(0x45f)](_0x5e6e8a,_0x114542,_0x472c50);}function _0x3dd0ea(_0x3c76c8,_0xe748bd){const _0x42304e=_0x17666d;return[_0x42304e(0x334),_0x3c76c8,_0x42304e(0x420),_0xe748bd];}let _0x17969b={'id':_0x17666d(0x359),'type':_0x4d7b12[_0x17666d(0xac)][_0x17666d(0x412)],'handler':(_0x2f0815,_0x3dad73)=>{const _0x5d90e1=_0x17666d;if(!_0x3dad73)return!0x1;let _0x3af1aa=_0x2f0815[_0x5d90e1(0x9f)](_0x4d7b12[_0x5d90e1(0x322)]),{unitId:_0x2e695e,tableId:_0x57d362,fieldId:_0x19442e,target:_0x15d467}=_0x3dad73,_0x37c95c=_0x3af1aa[_0x5d90e1(0x27d)](_0x2e695e,_0x4d7b12[_0x5d90e1(0xca)][_0x5d90e1(0x101)]),_0x456f5d=_0x15d467[_0x5d90e1(0xc3)]??_0x15d467[_0x5d90e1(0x193)];if(!_0x37c95c||!!_0x15d467[_0x5d90e1(0xc3)]==!!_0x15d467['afterFieldId']||!_0x456f5d||_0x456f5d===_0x19442e||_0x19442e===_0x4d7b12['BASE_RECORD_ID_FIELD_ID']||_0x15d467['beforeFieldId']===_0x4d7b12[_0x5d90e1(0x36b)]||!_0x5c30c8(_0x37c95c,_0x57d362,{'fieldIds':[_0x19442e,_0x456f5d]}))return!0x1;let _0x129e3a=_0x2f0815['get'](_0x4d7b12[_0x5d90e1(0x32e)]),_0x337dca=_0x2f0815[_0x5d90e1(0x9f)](_0x4d7b12[_0x5d90e1(0x3b7)]),_0x328115=_0x37c95c[_0x5d90e1(0x2de)](),_0x3d3e2a=new _0x7bf11a()[_0x5d90e1(0x83)](_0x328115,_0x57d362,_0x19442e,_0x15d467),_0x3bf14b=new _0x51bfae()[_0x5d90e1(0x386)](_0x328115,_0x3d3e2a),_0x3bfc3f={'unitId':_0x2e695e,'op':_0x3d3e2a},_0x2682d0={'unitId':_0x2e695e,'op':_0x3bf14b};return _0x129e3a[_0x5d90e1(0x3e2)](_0x36dd63['id'],_0x3bfc3f)?(_0x3af1aa[_0x5d90e1(0x1c2)](_0x2e695e),_0x337dca[_0x5d90e1(0x189)]({'unitID':_0x2e695e,'undoMutations':[{'id':_0x36dd63['id'],'params':_0x2682d0}],'redoMutations':[{'id':_0x36dd63['id'],'params':_0x3bfc3f}]}),!0x0):!0x1;}},_0x4aecf2={'id':'base.command.move-base-hierarchy-record','type':_0x4d7b12[_0x17666d(0xac)][_0x17666d(0x412)],'handler':(_0x260fbc,_0x38794a)=>{const _0x5b22f0=_0x17666d;var _0x235325;if(!_0x38794a)return!0x1;let {unitId:_0x5260e9,tableId:_0x48e237,recordId:_0x3bd8c8,parentRecordId:_0xe4f21,orderKey:_0x104c27}=_0x38794a,_0x53024e=_0x260fbc[_0x5b22f0(0x9f)](_0x4d7b12[_0x5b22f0(0x322)]),_0x358537=_0x53024e['getUnit'](_0x5260e9,_0x4d7b12[_0x5b22f0(0xca)][_0x5b22f0(0x101)]);if(!_0x358537||!_0x5c30c8(_0x358537,_0x48e237,{'recordIds':[_0x3bd8c8,..._0xe4f21?[_0xe4f21]:[]]}))throw new _0x2f9e6c(_0x5b22f0(0xd7));let _0x108c61=_0x358537['getSnapshot'](),_0x885b18=_0x108c61[_0x5b22f0(0x334)][_0x48e237],_0x1d84f9=_0x571551(_0x885b18),_0x2c815c=_0x1d84f9??_0x38794a['fieldId']??_0x2a161a(_0x885b18);if(_0x1d84f9&&_0x38794a[_0x5b22f0(0x424)]&&_0x38794a[_0x5b22f0(0x424)]!==_0x1d84f9||_0x885b18[_0x5b22f0(0x129)][_0x2c815c]&&!_0x216ae2(_0x885b18,_0x2c815c))throw new _0x2f9e6c(_0x5b22f0(0x21e));let _0x28dc20=_0x19fe79(_0x885b18,_0x2c815c),_0x29fcc8=_0x370f2f(_0x28dc20,_0x3bd8c8,_0xe4f21);if(!_0x29fcc8[_0x5b22f0(0x1d5)])throw new _0x2f9e6c(_0x29fcc8[_0x5b22f0(0x44e)]===_0x4d7b12[_0x5b22f0(0x44f)]['SelfParent']?'selfParent':_0x29fcc8['reason']===_0x4d7b12[_0x5b22f0(0x44f)][_0x5b22f0(0x355)]?'cycle':_0x5b22f0(0x473));let _0x39b8a2=_0x28dc20[_0x5b22f0(0x1be)][_0x5b22f0(0x9f)](_0x3bd8c8)??null,_0x3153c4=_0x885b18['records'][_0x3bd8c8][_0x5b22f0(0x46d)];if(_0x39b8a2===_0xe4f21&&(_0x104c27===void 0x0||_0x104c27===_0x3153c4))return!0x0;let _0xdcdb49=_0x39b8a2!==_0xe4f21,_0xdb91d5=_0x104c27!==void 0x0&&_0x104c27!==_0x3153c4,_0x3dfd6c=new _0x7bf11a(),_0x4830ad=[],_0x2577a1=_0x885b18[_0x5b22f0(0x129)][_0x2c815c],_0x5c1b86=_0xdcdb49&&(!_0x2577a1||((_0x235325=_0x2c9bfd(_0x2577a1))==null?void 0x0:_0x235325[_0x5b22f0(0x409)])!==_0x4d7b12[_0x5b22f0(0x348)][_0x5b22f0(0x415)])?_0x2577a1?_0x3dfd6c[_0x5b22f0(0x2bf)](_0x108c61,_0x48e237,_0x2c815c,{'config':{..._0x2577a1[_0x5b22f0(0x39d)],'relationRole':_0x4d7b12[_0x5b22f0(0x348)][_0x5b22f0(0x415)]}}):_0x260fbc[_0x5b22f0(0x9f)](_0x401e28)[_0x5b22f0(0x1cd)](_0x358537,_0x48e237,_0x523965(_0x885b18,_0x2c815c,_0x38794a[_0x5b22f0(0x432)]),_0x885b18[_0x5b22f0(0x33f)]['length']):null;_0x5c1b86&&_0x4830ad[_0x5b22f0(0x112)](_0x5c1b86),_0xdcdb49&&_0x4830ad[_0x5b22f0(0x112)](_0x3dfd6c['updateCell'](_0x108c61,_0x48e237,_0x3bd8c8,_0x2c815c,_0xe4f21?_0x5a2c52([_0xe4f21]):'')),_0xdb91d5&&_0x4830ad[_0x5b22f0(0x112)](_0x3dfd6c[_0x5b22f0(0x1bc)](_0x108c61,_0x48e237,_0x3bd8c8,_0x104c27));let _0x2206e2=_0x2c91fd(_0x4830ad),_0xa025a4={'tableId':_0x48e237,'fieldId':_0x2c815c,'recordId':_0x3bd8c8,'oldParentRecordId':_0x39b8a2,'parentRecordId':_0xe4f21},_0x24fbab={'unitId':_0x5260e9,'op':_0x2206e2,'trigger':_0x4aecf2['id'],'hierarchyChanges':[_0xa025a4],'source':_0x38794a[_0x5b22f0(0x3e3)]??'ui'},_0x11e98c={..._0x24fbab,'source':'redo'};if(!_0x260fbc[_0x5b22f0(0x9f)](_0x4d7b12[_0x5b22f0(0x32e)])[_0x5b22f0(0x3e2)](_0x36dd63['id'],_0x24fbab))return!0x1;let _0x1e03c6=_0x358537[_0x5b22f0(0x2de)](),_0x3acd7d=[];_0xdcdb49&&_0x3acd7d['push'](_0x8f037e(_0x1e03c6,_0x108c61,_0x48e237,_0x3bd8c8,_0x2c815c)),_0xdb91d5&&_0x3acd7d[_0x5b22f0(0x112)](_0x54b3f6(_0x1e03c6,_0x108c61,_0x48e237,_0x3bd8c8)),_0x5c1b86&&_0x3acd7d[_0x5b22f0(0x112)](new _0x51bfae()[_0x5b22f0(0x386)](_0x108c61,_0x5c1b86));let _0x4adaa3={'unitId':_0x5260e9,'op':_0x2c91fd(_0x3acd7d),'trigger':_0x4aecf2['id'],'hierarchyChanges':[{..._0xa025a4,'oldParentRecordId':_0xe4f21,'parentRecordId':_0x39b8a2}],'source':_0x5b22f0(0x230)};return _0x53024e['focusUnit'](_0x5260e9),_0x260fbc[_0x5b22f0(0x9f)](_0x4d7b12[_0x5b22f0(0x3b7)])['pushUndoRedo']({'unitID':_0x5260e9,'undoMutations':[{'id':_0x36dd63['id'],'params':_0x4adaa3}],'redoMutations':[{'id':_0x36dd63['id'],'params':_0x11e98c}]}),!0x0;}};function _0x8f037e(_0x2809ec,_0x21c63f,_0x4f9d4b,_0x10e661,_0x1d2516){const _0x264ea6=_0x17666d;var _0x4ff5a9,_0xab135b,_0x5d79fa,_0xf6b2f9,_0x595519,_0x25b1fd,_0x299728,_0x2ebec3;let _0x45e0ff=_0x2809ec['tables'][_0x4f9d4b],_0x4d7de9=_0x21c63f[_0x264ea6(0x334)][_0x4f9d4b],_0xc6807f=(_0x4ff5a9=_0x45e0ff['rowIndex'])==null?void 0x0:_0x4ff5a9[_0x10e661],_0x2cb795=(_0xab135b=_0x45e0ff[_0x264ea6(0x118)])==null?void 0x0:_0xab135b[_0x1d2516],_0x227627=(_0x5d79fa=_0x4d7de9[_0x264ea6(0x3db)])==null?void 0x0:_0x5d79fa[_0x10e661],_0x156912=(_0xf6b2f9=_0x4d7de9[_0x264ea6(0x118)])==null?void 0x0:_0xf6b2f9[_0x1d2516],_0x8c3d8a=_0xc6807f==null||_0x2cb795==null||(_0x595519=_0x45e0ff[_0x264ea6(0x17b)])==null||(_0x595519=_0x595519[_0xc6807f])==null?void 0x0:_0x595519[_0x2cb795],_0x14ed3e=_0x227627==null||_0x156912==null||(_0x25b1fd=_0x4d7de9[_0x264ea6(0x17b)])==null||(_0x25b1fd=_0x25b1fd[_0x227627])==null?void 0x0:_0x25b1fd[_0x156912],_0x1a75ae=(_0x299728=_0x45e0ff[_0x264ea6(0x14c)][_0x10e661])==null?void 0x0:_0x299728[_0x264ea6(0x3b2)][_0x1d2516],_0x15e351=(_0x2ebec3=_0x4d7de9['records'][_0x10e661])==null?void 0x0:_0x2ebec3[_0x264ea6(0x3b2)][_0x1d2516],_0x1f358d=[],_0x420625=_0x868cda(_0xc6807f==null||_0x2cb795==null?null:_0x550af4[_0x264ea6(0x17b)](_0x4f9d4b,_0xc6807f,_0x2cb795),_0x8c3d8a,_0x14ed3e);_0x420625&&_0x1f358d[_0x264ea6(0x112)](_0x420625);let _0x44f661=_0x868cda(_0x550af4[_0x264ea6(0x2cb)](_0x4f9d4b,_0x10e661,_0x1d2516),_0x1a75ae,_0x15e351);return _0x44f661&&_0x1f358d[_0x264ea6(0x112)](_0x44f661),_0x2c91fd(_0x1f358d);}function _0x54b3f6(_0x462032,_0x5a8e22,_0x3ed55c,_0x5da689){const _0x230948=_0x17666d;var _0x4d7925,_0x6d30aa;let _0x1ff996=_0x462032[_0x230948(0x334)][_0x3ed55c],_0x4e8cf7=_0x5a8e22['tables'][_0x3ed55c];return _0x2c91fd([_0x868cda([..._0x550af4[_0x230948(0x463)](_0x3ed55c,_0x5da689),_0x230948(0x46d)],(_0x4d7925=_0x1ff996[_0x230948(0x14c)][_0x5da689])==null?void 0x0:_0x4d7925[_0x230948(0x46d)],(_0x6d30aa=_0x4e8cf7[_0x230948(0x14c)][_0x5da689])==null?void 0x0:_0x6d30aa[_0x230948(0x46d)]),_0x868cda([..._0x550af4[_0x230948(0x39f)](_0x3ed55c),_0x230948(0x370)],_0x1ff996[_0x230948(0x370)],_0x4e8cf7[_0x230948(0x370)])][_0x230948(0x425)](_0x16f00b=>!!_0x16f00b));}function _0x868cda(_0x1b40aa,_0x1a7159,_0x362878){const _0x509e72=_0x17666d;if(!_0x1b40aa||_0x1a7159===void 0x0&&_0x362878===void 0x0)return null;let _0xc8b404=_0x4d7b12[_0x509e72(0x13b)][_0x509e72(0x265)]();return _0x362878===void 0x0?_0xc8b404['removeOp'](_0x1b40aa,_0x1a7159):_0x1a7159===void 0x0?_0xc8b404[_0x509e72(0x12f)](_0x1b40aa,_0x362878):_0xc8b404[_0x509e72(0x45f)](_0x1b40aa,_0x1a7159,_0x362878);}let _0x670e18={'id':_0x17666d(0x81),'type':_0x4d7b12[_0x17666d(0xac)]['COMMAND'],'handler':(_0x3566c8,_0x219b58)=>{const _0x154168=_0x17666d;if(!_0x219b58)return!0x1;let _0x3cba8d=_0x3566c8[_0x154168(0x9f)](_0x4d7b12['IUniverInstanceService']),{unitId:_0x37a719,tableId:_0xc6ec8c,viewId:_0x2133f9,target:_0x137c76}=_0x219b58,_0x47b581=_0x3cba8d['getUnit'](_0x37a719,_0x4d7b12[_0x154168(0xca)][_0x154168(0x101)]),_0x3fcac0=_0x137c76[_0x154168(0x41e)]??_0x137c76['afterViewId'];if(!_0x47b581||!_0x3fcac0||_0x3fcac0===_0x2133f9||!_0x5c30c8(_0x47b581,_0xc6ec8c,{'viewIds':[_0x2133f9,_0x3fcac0]}))return!0x1;let _0x21a6df=_0x3566c8[_0x154168(0x9f)](_0x4d7b12[_0x154168(0x32e)]),_0x49d098=_0x3566c8['get'](_0x4d7b12['IUndoRedoService']),_0x551357=_0x47b581[_0x154168(0x2de)](),_0x3cf673=new _0x7bf11a()[_0x154168(0x1b8)](_0x551357,_0xc6ec8c,_0x2133f9,_0x137c76),_0x233940=new _0x51bfae()[_0x154168(0x386)](_0x551357,_0x3cf673),_0x504cc2={'unitId':_0x37a719,'op':_0x3cf673},_0x5d1eba={'unitId':_0x37a719,'op':_0x233940};return _0x21a6df[_0x154168(0x3e2)](_0x36dd63['id'],_0x504cc2)?(_0x3cba8d[_0x154168(0x1c2)](_0x37a719),_0x49d098[_0x154168(0x189)]({'unitID':_0x37a719,'undoMutations':[{'id':_0x36dd63['id'],'params':_0x5d1eba}],'redoMutations':[{'id':_0x36dd63['id'],'params':_0x504cc2}]}),!0x0):!0x1;}},_0xd3d58b={'id':_0x17666d(0x352),'type':_0x4d7b12[_0x17666d(0xac)]['COMMAND'],'handler':(_0xe4145,_0x3d1370)=>{const _0x44f5cb=_0x17666d;if(!_0x3d1370)return!0x1;let _0x6c833e=_0xe4145['get'](_0x4d7b12['IUniverInstanceService']),{unitId:_0x24369b,tableId:_0x26a058,name:_0x178dcc}=_0x3d1370,_0x2660ad=_0x6c833e[_0x44f5cb(0x27d)](_0x24369b,_0x4d7b12[_0x44f5cb(0xca)][_0x44f5cb(0x101)]);if(!_0x2660ad||!_0x5c30c8(_0x2660ad,_0x26a058)||!_0x57d6ff(_0x2660ad[_0x44f5cb(0x2de)](),_0x178dcc,_0x26a058)['valid'])return!0x1;let _0x2cd4cc=_0xe4145[_0x44f5cb(0x9f)](_0x4d7b12['ICommandService']),_0x577a3b=_0xe4145[_0x44f5cb(0x9f)](_0x4d7b12[_0x44f5cb(0x3b7)]),_0x54f054=_0x2660ad[_0x44f5cb(0x2de)](),_0x2b2f5f=new _0x7bf11a()[_0x44f5cb(0x2eb)](_0x54f054,_0x26a058,_0x178dcc),_0x25be4b=new _0x51bfae()['invertOp'](_0x54f054,_0x2b2f5f),_0x1e6e87={'unitId':_0x24369b,'op':_0x2b2f5f},_0x16927c={'unitId':_0x24369b,'op':_0x25be4b};return _0x2cd4cc[_0x44f5cb(0x3e2)](_0x36dd63['id'],_0x1e6e87)?(_0x6c833e['focusUnit'](_0x24369b),_0x577a3b[_0x44f5cb(0x189)]({'unitID':_0x24369b,'undoMutations':[{'id':_0x36dd63['id'],'params':_0x16927c}],'redoMutations':[{'id':_0x36dd63['id'],'params':_0x1e6e87}]}),!0x0):!0x1;}},_0xbd2d19={'id':_0x17666d(0x22e),'type':_0x4d7b12[_0x17666d(0xac)][_0x17666d(0x412)],'handler':(_0x7c63de,_0x43e1d1)=>{const _0x3bf6f0=_0x17666d;if(!_0x43e1d1)return!0x1;let _0x5de4e5=_0x7c63de[_0x3bf6f0(0x9f)](_0x4d7b12[_0x3bf6f0(0x322)]),{unitId:_0x57da4c,tableId:_0x2c4543,viewId:_0x113ed8,name:_0x222a1d}=_0x43e1d1,_0x348728=_0x5de4e5[_0x3bf6f0(0x27d)](_0x57da4c,_0x4d7b12[_0x3bf6f0(0xca)]['UNIVER_BASE']);if(!_0x348728||!_0x5c30c8(_0x348728,_0x2c4543,{'viewIds':[_0x113ed8]}))return!0x1;let _0xcbc8d1=_0x7c63de[_0x3bf6f0(0x9f)](_0x4d7b12[_0x3bf6f0(0x32e)]),_0x3ab715=_0x7c63de[_0x3bf6f0(0x9f)](_0x4d7b12[_0x3bf6f0(0x3b7)]),_0x49b921=_0x348728['getSnapshot'](),_0x188306=new _0x7bf11a()[_0x3bf6f0(0x388)](_0x49b921,_0x2c4543,_0x113ed8,_0x222a1d),_0x574fd0=new _0x51bfae()[_0x3bf6f0(0x386)](_0x49b921,_0x188306),_0x29da92={'unitId':_0x57da4c,'op':_0x188306},_0x5937fd={'unitId':_0x57da4c,'op':_0x574fd0};return _0xcbc8d1[_0x3bf6f0(0x3e2)](_0x36dd63['id'],_0x29da92)?(_0x5de4e5[_0x3bf6f0(0x1c2)](_0x57da4c),_0x3ab715[_0x3bf6f0(0x189)]({'unitID':_0x57da4c,'undoMutations':[{'id':_0x36dd63['id'],'params':_0x5937fd}],'redoMutations':[{'id':_0x36dd63['id'],'params':_0x29da92}]}),!0x0):!0x1;}},_0x55eaee={'id':_0x17666d(0x32f),'type':_0x4d7b12[_0x17666d(0xac)][_0x17666d(0x412)],'handler':(_0x2f60dd,_0x38f01c)=>{const _0x4fec7a=_0x17666d;if(!_0x38f01c)return!0x1;let _0x33efa2=_0x2f60dd['get'](_0x4d7b12[_0x4fec7a(0x322)]),{unitId:_0x4c4101,tableId:_0x3c2c41,viewId:_0x12c738,fieldId:_0x45709b}=_0x38f01c,_0xac8ad6=_0x33efa2[_0x4fec7a(0x27d)](_0x4c4101,_0x4d7b12['UniverInstanceType'][_0x4fec7a(0x101)]);if(!_0xac8ad6||!_0x5c30c8(_0xac8ad6,_0x3c2c41,{'viewIds':[_0x12c738],'fieldIds':[_0x45709b]}))return!0x1;let _0x4e0c4e=_0x2f60dd[_0x4fec7a(0x9f)](_0x4d7b12[_0x4fec7a(0x32e)]),_0x44758e=_0x2f60dd[_0x4fec7a(0x9f)](_0x4d7b12[_0x4fec7a(0x3b7)]),_0x3e7da5=_0xac8ad6[_0x4fec7a(0x2de)](),_0x340fd5=new _0x7bf11a()['updateViewConfig'](_0x3e7da5,_0x3c2c41,_0x12c738,{'groupFieldId':_0x45709b}),_0x4b9314=new _0x51bfae()[_0x4fec7a(0x386)](_0x3e7da5,_0x340fd5),_0x3d9dc8={'unitId':_0x4c4101,'op':_0x340fd5},_0x155125={'unitId':_0x4c4101,'op':_0x4b9314};return _0x4e0c4e[_0x4fec7a(0x3e2)](_0x36dd63['id'],_0x3d9dc8)?(_0x33efa2[_0x4fec7a(0x1c2)](_0x4c4101),_0x44758e[_0x4fec7a(0x189)]({'unitID':_0x4c4101,'undoMutations':[{'id':_0x36dd63['id'],'params':_0x155125}],'redoMutations':[{'id':_0x36dd63['id'],'params':_0x3d9dc8}]}),!0x0):!0x1;}},_0x48f4a9={'id':_0x17666d(0x376),'type':_0x4d7b12[_0x17666d(0xac)]['COMMAND'],'handler':(_0x180536,_0x522994)=>{const _0x2fed1b=_0x17666d;if(!_0x522994)return!0x1;let _0x39fc14=_0x180536[_0x2fed1b(0x9f)](_0x4d7b12[_0x2fed1b(0x322)]),_0x34ccb5=_0x39fc14[_0x2fed1b(0x27d)](_0x522994[_0x2fed1b(0x44c)],_0x4d7b12[_0x2fed1b(0xca)][_0x2fed1b(0x101)]);if(!_0x34ccb5)return!0x1;let _0x481e1d=_0x34ccb5[_0x2fed1b(0x2de)]()[_0x2fed1b(0x208)];if(_0x481e1d===_0x522994[_0x2fed1b(0x208)])return!0x0;let _0xb2209b=new _0x7bf11a(),_0x3f4325=new _0x51bfae(),_0x52ca97=[],_0x5d25f4=[],_0x5157d9=[_0x34ccb5,..._0x39fc14['getAllUnitsForType'](_0x4d7b12[_0x2fed1b(0xca)][_0x2fed1b(0x101)])[_0x2fed1b(0x425)](_0x14dd31=>_0x14dd31[_0x2fed1b(0xbc)]()!==_0x522994['unitId'])];for(let _0xb24ee9 of _0x5157d9){let _0x5bacef=_0xb24ee9['getSnapshot'](),_0x3e9606=_0xb24ee9===_0x34ccb5?_0xb2209b[_0x2fed1b(0x97)](_0x5bacef,_0x522994['name']):_0xb2209b[_0x2fed1b(0x7b)](_0x5bacef,_0x481e1d,_0x522994[_0x2fed1b(0x208)]);_0x3e9606&&(_0x52ca97[_0x2fed1b(0x112)]({'id':_0x36dd63['id'],'params':{'unitId':_0xb24ee9[_0x2fed1b(0xbc)](),'op':_0x3e9606,'trigger':_0x48f4a9['id']}}),_0x5d25f4[_0x2fed1b(0x42f)]({'id':_0x36dd63['id'],'params':{'unitId':_0xb24ee9['getUnitId'](),'op':_0x3f4325[_0x2fed1b(0x386)](_0x5bacef,_0x3e9606),'trigger':_0x48f4a9['id']}}));}let _0x41cb75=_0x180536[_0x2fed1b(0x9f)](_0x4d7b12[_0x2fed1b(0x32e)]),_0x34fe4c=_0x180536[_0x2fed1b(0x9f)](_0x4d7b12[_0x2fed1b(0x3b7)]),_0x153516=_0x34fe4c[_0x2fed1b(0x241)](_0x522994[_0x2fed1b(0x44c)]);try{return(0x0,_0x4d7b12[_0x2fed1b(0x30a)])(_0x52ca97,_0x41cb75)[_0x2fed1b(0x1d2)]?(_0x39fc14[_0x2fed1b(0x1c2)](_0x522994[_0x2fed1b(0x44c)]),_0x34fe4c[_0x2fed1b(0x189)]({'unitID':_0x522994[_0x2fed1b(0x44c)],'undoMutations':_0x5d25f4,'redoMutations':_0x52ca97}),!0x0):!0x1;}finally{_0x153516['dispose']();}}};function _0x29e314(_0x2a6ef0,_0x292ff1){const _0x2ee844=_0x17666d;let _0x4c4a5f=_0x4cff78(_0x4d7b12[_0x2ee844(0x1ea)][_0x2ee844(0xee)](_0x2a6ef0)),_0x2e782f=new Map();return _0x292ff1[_0x2ee844(0x3cc)](_0x37df86=>{const _0x13672a=_0x2ee844;var _0x33e13d,_0xcb453a;let _0x3a4599='recordId'in _0x37df86?_0x37df86[_0x13672a(0x23d)]:(_0x33e13d=_0x4c4a5f[_0x13672a(0x357)])==null?void 0x0:_0x33e13d[_0x37df86[_0x13672a(0x1b3)]],_0x5d0283=_0x13672a(0x424)in _0x37df86?_0x37df86[_0x13672a(0x424)]:(_0xcb453a=_0x4c4a5f[_0x13672a(0x1f6)])==null?void 0x0:_0xcb453a[_0x37df86[_0x13672a(0x282)]],_0x3c2f05=_0x5d0283?_0x4c4a5f[_0x13672a(0x129)][_0x5d0283]:void 0x0;if(!_0x3a4599||!_0x5d0283||!_0x3c2f05||!_0x4c4a5f[_0x13672a(0x14c)][_0x3a4599])return;let _0xa0cc48=_0x445436(_0x37df86[_0x13672a(0x12e)],_0x3c2f05),_0x3fb567=_0x1f5abe(_0x37df86['value'],_0xa0cc48,_0x3c2f05,_0x4c4a5f,_0x3a4599),_0xcb7d31=_0x2e782f[_0x13672a(0x9f)](_0x3a4599)??{};_0xcb7d31[_0x5d0283]=_0x3fb567,_0x2e782f['set'](_0x3a4599,_0xcb7d31);}),[..._0x2e782f][_0x2ee844(0xd9)](([_0x4441e5,_0x978bc4])=>({'recordId':_0x4441e5,'values':_0x978bc4}));}let _0x3dfb10={'id':_0x17666d(0x115),'type':_0x4d7b12[_0x17666d(0xac)][_0x17666d(0x412)],'handler'(_0x4acb67,_0x386751){const _0x26ecde=_0x17666d;if(!_0x386751)return!0x1;let _0x2c0de8=_0x4acb67[_0x26ecde(0x9f)](_0x4d7b12['IUniverInstanceService']),{unitId:_0x54c61a,tableId:_0x18cc0f,patches:_0xc98d9e}=_0x386751,_0x42142f=_0x2c0de8['getUnit'](_0x54c61a,_0x4d7b12[_0x26ecde(0xca)][_0x26ecde(0x101)]);if(!_0x42142f||!_0x5c30c8(_0x42142f,_0x18cc0f))return!0x1;let _0xc3dd7e=_0x4acb67[_0x26ecde(0x9f)](_0x4d7b12['ICommandService']),_0x30fedd=_0x4acb67[_0x26ecde(0x9f)](_0x4d7b12['IUndoRedoService']),_0xcfc4f4=_0x42142f['getSnapshot'](),_0x2ccf11=_0x4cff78(_0xcfc4f4[_0x26ecde(0x334)][_0x18cc0f]),_0x2b7c7b=_0xc98d9e['map'](_0x42f6b8=>{const _0x3600cc=_0x26ecde;var _0x32e451;return'recordId'in _0x42f6b8?_0x42f6b8[_0x3600cc(0x23d)]:(_0x32e451=_0x2ccf11[_0x3600cc(0x357)])==null?void 0x0:_0x32e451[_0x42f6b8[_0x3600cc(0x1b3)]];})['filter'](_0xa16fc=>_0xa16fc!=null),_0x3a3238=_0xc98d9e[_0x26ecde(0xd9)](_0x44f5b1=>{const _0x36d47c=_0x26ecde;var _0x4ee420;return'fieldId'in _0x44f5b1?_0x44f5b1[_0x36d47c(0x424)]:(_0x4ee420=_0x2ccf11[_0x36d47c(0x1f6)])==null?void 0x0:_0x4ee420[_0x44f5b1[_0x36d47c(0x282)]];})['filter'](_0x346cae=>_0x346cae!=null);if(_0x2b7c7b[_0x26ecde(0x278)]!==_0xc98d9e[_0x26ecde(0x278)]||_0x3a3238[_0x26ecde(0x278)]!==_0xc98d9e['length']||!_0x5c30c8(_0x42142f,_0x18cc0f,{'recordIds':_0x2b7c7b,'fieldIds':_0x3a3238})||_0xc98d9e[_0x26ecde(0x256)]((_0x50d295,_0x612294)=>!_0x5ba17e(_0x42142f,_0x18cc0f,_0x3a3238[_0x612294],_0x50d295[_0x26ecde(0x12e)])))return!0x1;let _0x9b26e1=_0x4d5504(_0x2ccf11,_0x29e314(_0x2ccf11,_0xc98d9e)),_0x467515=_0xc98d9e[_0x26ecde(0x2b8)](_0x356d94=>{const _0xe5b7f1=_0x26ecde;var _0x59e18b,_0x5f4ae7;if('row'in _0x356d94)return[_0x356d94];let _0x31bb96=(_0x59e18b=_0x2ccf11[_0xe5b7f1(0x3db)])==null?void 0x0:_0x59e18b[_0x356d94[_0xe5b7f1(0x23d)]],_0x4b87f0=(_0x5f4ae7=_0x2ccf11['colIndex'])==null?void 0x0:_0x5f4ae7[_0x356d94[_0xe5b7f1(0x424)]];return _0x31bb96==null||_0x4b87f0==null?[]:[{'row':_0x31bb96,'col':_0x4b87f0,'value':_0x356d94['value']}];}),_0x21118a=new _0x7bf11a()['setRangeValues'](_0xcfc4f4,_0x18cc0f,_0x467515),_0x332b7f=new _0x51bfae()['invertOp'](_0xcfc4f4,_0x21118a),_0x328c49={'unitId':_0x54c61a,'op':_0x21118a,'trigger':_0x9b26e1[_0x26ecde(0x278)]?_0x3dfb10['id']:void 0x0,'hierarchyChanges':_0x9b26e1[_0x26ecde(0x278)]?_0x9b26e1:void 0x0,'source':_0x9b26e1['length']?_0x26ecde(0x40a):void 0x0},_0x5efff4={'unitId':_0x54c61a,'op':_0x332b7f,'trigger':_0x9b26e1[_0x26ecde(0x278)]?_0x3dfb10['id']:void 0x0,'hierarchyChanges':_0x9b26e1[_0x26ecde(0x278)]?_0x9b26e1[_0x26ecde(0xd9)](_0x311d7b=>({..._0x311d7b,'oldParentRecordId':_0x311d7b['parentRecordId'],'parentRecordId':_0x311d7b['oldParentRecordId']})):void 0x0,'source':_0x9b26e1[_0x26ecde(0x278)]?_0x26ecde(0x230):void 0x0},_0x4c4955={..._0x328c49,'source':_0x9b26e1[_0x26ecde(0x278)]?_0x386751[_0x26ecde(0x3e3)]??'ui':void 0x0};return _0xc3dd7e[_0x26ecde(0x3e2)](_0x36dd63['id'],_0x4c4955)?(_0x2c0de8[_0x26ecde(0x1c2)](_0x54c61a),_0x30fedd[_0x26ecde(0x189)]({'unitID':_0x54c61a,'undoMutations':[{'id':_0x36dd63['id'],'params':_0x5efff4}],'redoMutations':[{'id':_0x36dd63['id'],'params':_0x328c49}]}),!0x0):!0x1;}},_0xeed559={'id':_0x17666d(0x1ce),'type':_0x4d7b12['CommandType'][_0x17666d(0x412)],'handler'(_0x108c26,_0x161a46){const _0x31bd2e=_0x17666d;if(!_0x161a46)return!0x1;let _0x3294d5=_0x108c26[_0x31bd2e(0x9f)](_0x4d7b12[_0x31bd2e(0x322)]),{unitId:_0x3efbf5,tableId:_0x39988b,patches:_0xf85c80}=_0x161a46,_0x1d7491=_0x3294d5[_0x31bd2e(0x27d)](_0x3efbf5,_0x4d7b12[_0x31bd2e(0xca)][_0x31bd2e(0x101)]),_0x42bbdd=_0xf85c80[_0x31bd2e(0xd9)](_0x5d7917=>_0x5d7917[_0x31bd2e(0x23d)]),_0x3983dd=_0xf85c80[_0x31bd2e(0x2b8)](_0xb36b7c=>Object[_0x31bd2e(0x3d7)](_0xb36b7c[_0x31bd2e(0x3b2)]));if(!_0x1d7491||!_0x5c30c8(_0x1d7491,_0x39988b,{'recordIds':_0x42bbdd,'fieldIds':_0x3983dd})||_0xf85c80[_0x31bd2e(0x256)](_0x12e5ad=>Object[_0x31bd2e(0x45d)](_0x12e5ad['values'])[_0x31bd2e(0x256)](([_0x2e69a4,_0x58ae00])=>!_0x5ba17e(_0x1d7491,_0x39988b,_0x2e69a4,_0x58ae00))))return!0x1;let _0x28f101=_0x4d5504(_0x1d7491[_0x31bd2e(0x2de)]()[_0x31bd2e(0x334)][_0x39988b],_0xf85c80),_0x192f75=_0x108c26[_0x31bd2e(0x9f)](_0x4d7b12['ICommandService']),_0x43841f=_0x108c26[_0x31bd2e(0x9f)](_0x4d7b12[_0x31bd2e(0x3b7)]),_0x322850=_0x108c26[_0x31bd2e(0x9f)](_0x401e28)[_0x31bd2e(0x150)](_0x1d7491,_0x39988b,_0xf85c80),_0xa23f98=new _0x51bfae()['invertOp'](_0x1d7491[_0x31bd2e(0x2de)](),_0x322850),_0x19533a={'unitId':_0x3efbf5,'op':_0x322850,'trigger':_0x28f101[_0x31bd2e(0x278)]?_0xeed559['id']:void 0x0,'hierarchyChanges':_0x28f101[_0x31bd2e(0x278)]?_0x28f101:void 0x0,'source':_0x28f101['length']?_0x161a46[_0x31bd2e(0x3e3)]??'ui':void 0x0},_0x5891ff={..._0x19533a,'source':_0x28f101[_0x31bd2e(0x278)]?_0x31bd2e(0x40a):void 0x0},_0x5f1660={'unitId':_0x3efbf5,'op':_0xa23f98,'trigger':_0x28f101[_0x31bd2e(0x278)]?_0xeed559['id']:void 0x0,'hierarchyChanges':_0x28f101[_0x31bd2e(0x278)]?_0x28f101[_0x31bd2e(0xd9)](_0x3c7f74=>({..._0x3c7f74,'oldParentRecordId':_0x3c7f74[_0x31bd2e(0x380)],'parentRecordId':_0x3c7f74[_0x31bd2e(0x366)]})):void 0x0,'source':_0x28f101[_0x31bd2e(0x278)]?_0x31bd2e(0x230):void 0x0};return _0x192f75['syncExecuteCommand'](_0x36dd63['id'],_0x19533a)?(_0x3294d5[_0x31bd2e(0x1c2)](_0x3efbf5),_0x43841f[_0x31bd2e(0x189)]({'unitID':_0x3efbf5,'undoMutations':[{'id':_0x36dd63['id'],'params':_0x5f1660}],'redoMutations':[{'id':_0x36dd63['id'],'params':_0x5891ff}]}),!0x0):!0x1;}},_0x309fb7={'id':_0x17666d(0x437),'type':_0x4d7b12['CommandType'][_0x17666d(0x412)],'handler':(_0x188560,_0x12bdf1)=>{const _0x120d70=_0x17666d;if(!_0x12bdf1)return!0x1;let {unitId:_0x6dfa49,tableId:_0x41ffe0,fieldId:_0x1ee5c6}=_0x12bdf1,_0x28ae8f=_0x188560[_0x120d70(0x9f)](_0x4d7b12[_0x120d70(0x322)]),_0xccdb8d=_0x28ae8f[_0x120d70(0x27d)](_0x6dfa49,_0x4d7b12[_0x120d70(0xca)][_0x120d70(0x101)]);if(!_0xccdb8d||!_0x5c30c8(_0xccdb8d,_0x41ffe0))return!0x1;let _0x291fc2=_0xccdb8d['getSnapshot'](),_0x253338=_0x291fc2[_0x120d70(0x334)][_0x41ffe0];if(_0x1ee5c6!==null&&!_0x216ae2(_0x253338,_0x1ee5c6))throw new _0x2f9e6c('invalidField');if(_0x571551(_0x253338)===_0x1ee5c6)return!0x0;let _0x466a46=new _0x7bf11a(),_0xddea28=_0x2c91fd(Object[_0x120d70(0x3b2)](_0x253338[_0x120d70(0x129)])[_0x120d70(0x2b8)](_0x387c85=>{const _0x53ba85=_0x120d70;if(!_0x216ae2(_0x253338,_0x387c85['id']))return[];let _0x319661=_0x2c9bfd(_0x387c85);if(!_0x319661)return[];let _0x269e2b=_0x387c85['id']===_0x1ee5c6;if(_0x319661[_0x53ba85(0x409)]===_0x4d7b12[_0x53ba85(0x348)]['Parent']===_0x269e2b)return[];let _0x4269c4={..._0x387c85['config'],'targetTableId':_0x319661[_0x53ba85(0x156)],'multiple':_0x319661['multiple']};return _0x269e2b?_0x4269c4[_0x53ba85(0x409)]=_0x4d7b12[_0x53ba85(0x348)][_0x53ba85(0x415)]:delete _0x4269c4[_0x53ba85(0x409)],[_0x466a46[_0x53ba85(0x2bf)](_0x291fc2,_0x41ffe0,_0x387c85['id'],{'config':_0x4269c4})];})),_0x17f00f=new _0x51bfae()[_0x120d70(0x386)](_0x291fc2,_0xddea28),_0x3b8db={'unitId':_0x6dfa49,'op':_0xddea28},_0x124ffe={'unitId':_0x6dfa49,'op':_0x17f00f};return _0x188560['get'](_0x4d7b12[_0x120d70(0x32e)])[_0x120d70(0x3e2)](_0x36dd63['id'],_0x3b8db)?(_0x28ae8f[_0x120d70(0x1c2)](_0x6dfa49),_0x188560['get'](_0x4d7b12[_0x120d70(0x3b7)])[_0x120d70(0x189)]({'unitID':_0x6dfa49,'undoMutations':[{'id':_0x36dd63['id'],'params':_0x124ffe}],'redoMutations':[{'id':_0x36dd63['id'],'params':_0x3b8db}]}),!0x0):!0x1;}},_0x475f5d={'id':'base.command.set-base-view-field-order','type':_0x4d7b12[_0x17666d(0xac)][_0x17666d(0x412)],'handler':(_0x4874f6,_0x338a44)=>{const _0x302693=_0x17666d;if(!_0x338a44)return!0x1;let _0x578c29=_0x4874f6[_0x302693(0x9f)](_0x4d7b12[_0x302693(0x322)]),{unitId:_0x27e56e,tableId:_0x329147,viewId:_0xcd0157,fieldId:_0x5bbbec,target:_0x3a4cf0}=_0x338a44,_0xe4794c=_0x578c29[_0x302693(0x27d)](_0x27e56e,_0x4d7b12['UniverInstanceType'][_0x302693(0x101)]),_0x52b0ca=_0x3a4cf0[_0x302693(0xc3)]??_0x3a4cf0[_0x302693(0x193)];if(!_0xe4794c||!_0x52b0ca||_0x52b0ca===_0x5bbbec||!_0x5c30c8(_0xe4794c,_0x329147,{'viewIds':[_0xcd0157],'fieldIds':[_0x5bbbec,_0x52b0ca]}))return!0x1;let _0x11f49c=_0xe4794c[_0x302693(0x2de)]()[_0x302693(0x334)][_0x329147],_0x13e467=_0x11f49c['fields'][_0x5bbbec],_0x3cfcf7=_0x11f49c[_0x302693(0x129)][_0x52b0ca];if(_0x13e467[_0x302693(0x43a)]===!0x0||_0x13e467[_0x302693(0x466)]===_0x4d7b12[_0x302693(0x419)][_0x302693(0x266)]||_0x3cfcf7[_0x302693(0x43a)]===!0x0||_0x3cfcf7[_0x302693(0x466)]===_0x4d7b12[_0x302693(0x419)][_0x302693(0x266)])return!0x1;let _0x2057db=_0x4874f6[_0x302693(0x9f)](_0x4d7b12[_0x302693(0x32e)]),_0x477893=_0x4874f6['get'](_0x4d7b12[_0x302693(0x3b7)]),_0x36e4d0=_0xe4794c[_0x302693(0x2de)](),_0x5464b=new _0x7bf11a()[_0x302693(0x3e0)](_0x36e4d0,_0x329147,_0xcd0157,_0x5bbbec,_0x3a4cf0),_0xc0bf78=new _0x51bfae()[_0x302693(0x386)](_0x36e4d0,_0x5464b),_0x5e1e10={'unitId':_0x27e56e,'op':_0x5464b},_0x5649c9={'unitId':_0x27e56e,'op':_0xc0bf78};return _0x2057db[_0x302693(0x3e2)](_0x36dd63['id'],_0x5e1e10)?(_0x578c29['focusUnit'](_0x27e56e),_0x477893[_0x302693(0x189)]({'unitID':_0x27e56e,'undoMutations':[{'id':_0x36dd63['id'],'params':_0x5649c9}],'redoMutations':[{'id':_0x36dd63['id'],'params':_0x5e1e10}]}),!0x0):!0x1;}},_0xdd5a2={'id':_0x17666d(0x3ba),'type':_0x4d7b12['CommandType'][_0x17666d(0x412)],'handler'(_0x994588,_0x8fedc8){const _0x3b6c32=_0x17666d;if(!_0x8fedc8)return!0x1;let _0x680568=_0x994588[_0x3b6c32(0x9f)](_0x4d7b12[_0x3b6c32(0x322)]),{unitId:_0x5c182a,tableId:_0x11cd29,viewId:_0x38a5de,fieldId:_0x140c71,visible:_0x2c1a8d}=_0x8fedc8,_0x316533=_0x680568[_0x3b6c32(0x27d)](_0x5c182a,_0x4d7b12[_0x3b6c32(0xca)][_0x3b6c32(0x101)]);if(!_0x316533||!_0x5c30c8(_0x316533,_0x11cd29,{'viewIds':[_0x38a5de],'fieldIds':[_0x140c71]}))return!0x1;let _0x3abbbf=_0x316533[_0x3b6c32(0x2de)]()[_0x3b6c32(0x334)][_0x11cd29][_0x3b6c32(0x129)][_0x140c71];if(_0x3abbbf['system']===!0x0||_0x3abbbf[_0x3b6c32(0x466)]===_0x4d7b12[_0x3b6c32(0x419)][_0x3b6c32(0x266)])return!0x1;let _0x67390e=_0x994588[_0x3b6c32(0x9f)](_0x4d7b12['ICommandService']),_0x31c279=_0x994588['get'](_0x4d7b12[_0x3b6c32(0x3b7)]),_0x2dba06=_0x316533['getSnapshot'](),_0xeb7e48=new _0x7bf11a()[_0x3b6c32(0x201)](_0x2dba06,_0x11cd29,_0x38a5de,_0x140c71,_0x2c1a8d),_0x25bf8d=new _0x51bfae()[_0x3b6c32(0x386)](_0x2dba06,_0xeb7e48),_0x228770={'unitId':_0x5c182a,'op':_0xeb7e48},_0x57b252={'unitId':_0x5c182a,'op':_0x25bf8d};return _0x67390e['syncExecuteCommand'](_0x36dd63['id'],_0x228770)?(_0x680568[_0x3b6c32(0x1c2)](_0x5c182a),_0x31c279[_0x3b6c32(0x189)]({'unitID':_0x5c182a,'undoMutations':[{'id':_0x36dd63['id'],'params':_0x57b252}],'redoMutations':[{'id':_0x36dd63['id'],'params':_0x228770}]}),!0x0):!0x1;}},_0xe8fa1f={'id':'base.command.set-base-view-field-width','type':_0x4d7b12[_0x17666d(0xac)]['COMMAND'],'handler':(_0x35e40e,_0x3f0ec9)=>{const _0x296b19=_0x17666d;if(!_0x3f0ec9)return!0x1;let _0x232d63=_0x35e40e['get'](_0x4d7b12[_0x296b19(0x322)]),{unitId:_0x5c4946,tableId:_0x16c37c,viewId:_0x3248c7,fieldId:_0x2228b2,width:_0x5b54b0}=_0x3f0ec9,_0x51eaca=_0x232d63['getUnit'](_0x5c4946,_0x4d7b12[_0x296b19(0xca)][_0x296b19(0x101)]);if(!_0x51eaca||!_0x5c30c8(_0x51eaca,_0x16c37c,{'viewIds':[_0x3248c7],'fieldIds':[_0x2228b2]}))return!0x1;let _0x577d6a=_0x51eaca[_0x296b19(0x2de)]()[_0x296b19(0x334)][_0x16c37c][_0x296b19(0x129)][_0x2228b2];if(_0x577d6a[_0x296b19(0x43a)]===!0x0||_0x577d6a[_0x296b19(0x466)]===_0x4d7b12[_0x296b19(0x419)][_0x296b19(0x266)])return!0x1;let _0x415d64=_0x35e40e[_0x296b19(0x9f)](_0x4d7b12[_0x296b19(0x32e)]),_0x2138a0=_0x35e40e[_0x296b19(0x9f)](_0x4d7b12['IUndoRedoService']),_0x9aefcd=_0x51eaca[_0x296b19(0x2de)](),_0xcdc566=new _0x7bf11a()['setViewFieldWidth'](_0x9aefcd,_0x16c37c,_0x3248c7,_0x2228b2,_0x5b54b0),_0x2b3022=new _0x51bfae()[_0x296b19(0x386)](_0x9aefcd,_0xcdc566),_0x4d323d={'unitId':_0x5c4946,'op':_0xcdc566},_0x544959={'unitId':_0x5c4946,'op':_0x2b3022};return _0x415d64[_0x296b19(0x3e2)](_0x36dd63['id'],_0x4d323d)?(_0x232d63[_0x296b19(0x1c2)](_0x5c4946),_0x2138a0[_0x296b19(0x189)]({'unitID':_0x5c4946,'undoMutations':[{'id':_0x36dd63['id'],'params':_0x544959}],'redoMutations':[{'id':_0x36dd63['id'],'params':_0x4d323d}]}),!0x0):!0x1;}},_0x2b3c19={'id':_0x17666d(0x16c),'type':_0x4d7b12['CommandType']['COMMAND'],'handler':(_0x1015fe,_0x4817ad)=>{const _0x5f58df=_0x17666d;if(!_0x4817ad)return!0x1;let _0x54c17e=_0x1015fe[_0x5f58df(0x9f)](_0x4d7b12[_0x5f58df(0x322)]),{unitId:_0x504e4d,tableId:_0x576c4f,viewId:_0x498ebc,filter:_0x3cc403}=_0x4817ad,_0x2c9ccb=_0x54c17e[_0x5f58df(0x27d)](_0x504e4d,_0x4d7b12[_0x5f58df(0xca)][_0x5f58df(0x101)]),_0x1d2316=(_0x3cc403==null?void 0x0:_0x3cc403['conditions'][_0x5f58df(0xd9)](_0x5499e7=>_0x5499e7[_0x5f58df(0x424)]))??[];if(!_0x2c9ccb||!_0x5c30c8(_0x2c9ccb,_0x576c4f,{'viewIds':[_0x498ebc],'fieldIds':_0x1d2316}))return!0x1;let _0x2b1171=_0x1015fe[_0x5f58df(0x9f)](_0x4d7b12[_0x5f58df(0x32e)]),_0x415b37=_0x1015fe['get'](_0x4d7b12[_0x5f58df(0x3b7)]),_0xa55ae1=_0x2c9ccb['getSnapshot'](),_0x38f656=new _0x7bf11a()[_0x5f58df(0x158)](_0xa55ae1,_0x576c4f,_0x498ebc,_0x3cc403),_0x341868=new _0x51bfae()[_0x5f58df(0x386)](_0xa55ae1,_0x38f656),_0x45f86e={'unitId':_0x504e4d,'op':_0x38f656},_0x5c70e3={'unitId':_0x504e4d,'op':_0x341868};return _0x2b1171[_0x5f58df(0x3e2)](_0x36dd63['id'],_0x45f86e)?(_0x54c17e[_0x5f58df(0x1c2)](_0x504e4d),_0x415b37[_0x5f58df(0x189)]({'unitID':_0x504e4d,'undoMutations':[{'id':_0x36dd63['id'],'params':_0x5c70e3}],'redoMutations':[{'id':_0x36dd63['id'],'params':_0x45f86e}]}),!0x0):!0x1;}},_0x1b69b9={'id':_0x17666d(0x302),'type':_0x4d7b12[_0x17666d(0xac)]['COMMAND'],'handler':(_0x4005f2,_0x27cd1b)=>{const _0x23e1ab=_0x17666d;if(!_0x27cd1b)return!0x1;let _0x2efc23=_0x4005f2[_0x23e1ab(0x9f)](_0x4d7b12[_0x23e1ab(0x322)]),{unitId:_0x3e2389,tableId:_0x390f76,viewId:_0x246828,group:_0x5a2719}=_0x27cd1b,_0x26b041=_0x2efc23[_0x23e1ab(0x27d)](_0x3e2389,_0x4d7b12[_0x23e1ab(0xca)][_0x23e1ab(0x101)]);if(!_0x26b041||!_0x5c30c8(_0x26b041,_0x390f76,{'viewIds':[_0x246828],'fieldIds':_0x5a2719[_0x23e1ab(0xd9)](_0xfe9a12=>_0xfe9a12[_0x23e1ab(0x424)])}))return!0x1;let _0xb9bb63=_0x4005f2['get'](_0x4d7b12[_0x23e1ab(0x32e)]),_0x5aca40=_0x4005f2['get'](_0x4d7b12[_0x23e1ab(0x3b7)]),_0x3f3d7b=_0x26b041[_0x23e1ab(0x2de)](),_0x253607=new _0x7bf11a()[_0x23e1ab(0x135)](_0x3f3d7b,_0x390f76,_0x246828,_0x5a2719),_0x401e35=new _0x51bfae()['invertOp'](_0x3f3d7b,_0x253607),_0x49a457={'unitId':_0x3e2389,'op':_0x253607},_0x29e3bb={'unitId':_0x3e2389,'op':_0x401e35};return _0xb9bb63['syncExecuteCommand'](_0x36dd63['id'],_0x49a457)?(_0x2efc23['focusUnit'](_0x3e2389),_0x5aca40[_0x23e1ab(0x189)]({'unitID':_0x3e2389,'undoMutations':[{'id':_0x36dd63['id'],'params':_0x29e3bb}],'redoMutations':[{'id':_0x36dd63['id'],'params':_0x49a457}]}),!0x0):!0x1;}},_0x4df541={'id':_0x17666d(0x3bf),'type':_0x4d7b12[_0x17666d(0xac)][_0x17666d(0x412)],'handler':(_0x68af3d,_0x15714c)=>{const _0xdab156=_0x17666d;if(!_0x15714c)return!0x1;let _0xe4d77d=_0x68af3d[_0xdab156(0x9f)](_0x4d7b12[_0xdab156(0x322)]),{unitId:_0x404d1d,tableId:_0x2e07a9,viewId:_0x3b5e41,sort:_0x17a058}=_0x15714c,_0x495d3d=_0xe4d77d['getUnit'](_0x404d1d,_0x4d7b12[_0xdab156(0xca)][_0xdab156(0x101)]);if(!_0x495d3d||!_0x5c30c8(_0x495d3d,_0x2e07a9,{'viewIds':[_0x3b5e41],'fieldIds':_0x17a058['map'](_0x312eb0=>_0x312eb0[_0xdab156(0x424)])}))return!0x1;let _0x3efb11=_0x68af3d[_0xdab156(0x9f)](_0x4d7b12[_0xdab156(0x32e)]),_0x34f8a0=_0x68af3d[_0xdab156(0x9f)](_0x4d7b12[_0xdab156(0x3b7)]),_0x146816=_0x495d3d[_0xdab156(0x2de)](),_0x14316a=new _0x7bf11a()[_0xdab156(0x3bd)](_0x146816,_0x2e07a9,_0x3b5e41,_0x17a058),_0xacd489=new _0x51bfae()[_0xdab156(0x386)](_0x146816,_0x14316a),_0x28b121={'unitId':_0x404d1d,'op':_0x14316a},_0x5eaf7e={'unitId':_0x404d1d,'op':_0xacd489};return _0x3efb11[_0xdab156(0x3e2)](_0x36dd63['id'],_0x28b121)?(_0xe4d77d[_0xdab156(0x1c2)](_0x404d1d),_0x34f8a0[_0xdab156(0x189)]({'unitID':_0x404d1d,'undoMutations':[{'id':_0x36dd63['id'],'params':_0x5eaf7e}],'redoMutations':[{'id':_0x36dd63['id'],'params':_0x28b121}]}),!0x0):!0x1;}},_0x8a17eb={'id':_0x17666d(0xcb),'type':_0x4d7b12[_0x17666d(0xac)][_0x17666d(0x412)],'handler'(_0x59e475,_0x2ff869){const _0x30bdee=_0x17666d;if(!_0x2ff869)return!0x1;let _0x5748e8=_0x59e475[_0x30bdee(0x9f)](_0x4d7b12['IUniverInstanceService']),{unitId:_0xc84ce9,tableId:_0xd5c286,recordId:_0x1172ac,fieldId:_0x17292e,value:_0x29e140}=_0x2ff869,_0x5e65fc=_0x5748e8[_0x30bdee(0x27d)](_0xc84ce9,_0x4d7b12[_0x30bdee(0xca)][_0x30bdee(0x101)]);if(!_0x5e65fc||!_0x5c30c8(_0x5e65fc,_0xd5c286,{'recordIds':[_0x1172ac],'fieldIds':[_0x17292e]})||!_0x5ba17e(_0x5e65fc,_0xd5c286,_0x17292e,_0x29e140))return!0x1;let _0x572d9c=_0x5e65fc[_0x30bdee(0x2de)]()[_0x30bdee(0x334)][_0xd5c286],_0x21f383=_0x216ae2(_0x572d9c,_0x17292e)&&_0x4619c5(_0x572d9c)['includes'](_0x17292e),_0x18ba75=_0x21f383?_0x19fe79(_0x572d9c,_0x17292e):null,_0x3d460e=(_0x18ba75==null?void 0x0:_0x18ba75['parentByRecordId']['get'](_0x1172ac))??null,_0x54ff1c=_0x21f383?_0x474d19(_0x29e140)[0x0]??null:null;if(_0x18ba75){if(_0x54ff1c&&!_0x572d9c['records'][_0x54ff1c])throw new _0x2f9e6c(_0x30bdee(0xd7));let _0x2b4614=_0x370f2f(_0x18ba75,_0x1172ac,_0x54ff1c);if(!_0x2b4614[_0x30bdee(0x1d5)])throw new _0x2f9e6c(_0x2b4614[_0x30bdee(0x44e)]===_0x4d7b12[_0x30bdee(0x44f)][_0x30bdee(0x19e)]?_0x30bdee(0x172):_0x2b4614['reason']===_0x4d7b12['BaseHierarchyInvalidReason'][_0x30bdee(0x355)]?_0x30bdee(0x465):_0x30bdee(0x473));}let _0x5c12b9=_0x59e475[_0x30bdee(0x9f)](_0x4d7b12['ICommandService']),_0x3b8739=_0x59e475[_0x30bdee(0x9f)](_0x4d7b12[_0x30bdee(0x3b7)]),_0x5aa1a3=_0x59e475[_0x30bdee(0x9f)](_0x401e28),_0x563ecb;try{_0x563ecb=_0x5aa1a3[_0x30bdee(0x45b)](_0x5e65fc,_0xd5c286,_0x1172ac,_0x17292e,_0x29e140);}catch(_0x112f67){return console[_0x30bdee(0x80)](_0x30bdee(0x223),_0x112f67),!0x1;}let _0x321996=new _0x51bfae()[_0x30bdee(0x386)](_0x5e65fc[_0x30bdee(0x2de)](),_0x563ecb),_0x4cd23a=_0x21f383&&_0x3d460e!==_0x54ff1c?[{'tableId':_0xd5c286,'fieldId':_0x17292e,'recordId':_0x1172ac,'oldParentRecordId':_0x3d460e,'parentRecordId':_0x54ff1c}]:void 0x0,_0x4104ac={'unitId':_0xc84ce9,'op':_0x563ecb,'trigger':_0x4cd23a?_0x8a17eb['id']:void 0x0,'hierarchyChanges':_0x4cd23a,'source':_0x4cd23a?_0x2ff869[_0x30bdee(0x3e3)]??'ui':void 0x0},_0x1522c2={..._0x4104ac,'source':_0x4cd23a?_0x30bdee(0x40a):void 0x0},_0x17cad6={'unitId':_0xc84ce9,'op':_0x321996,'trigger':_0x4cd23a?_0x8a17eb['id']:void 0x0,'hierarchyChanges':_0x4cd23a==null?void 0x0:_0x4cd23a[_0x30bdee(0xd9)](_0x1cd940=>({..._0x1cd940,'oldParentRecordId':_0x1cd940[_0x30bdee(0x380)],'parentRecordId':_0x1cd940['oldParentRecordId']})),'source':_0x4cd23a?_0x30bdee(0x230):void 0x0};return _0x5c12b9[_0x30bdee(0x3e2)](_0x36dd63['id'],_0x4104ac)?(_0x5748e8[_0x30bdee(0x1c2)](_0xc84ce9),_0x3b8739[_0x30bdee(0x189)]({'unitID':_0xc84ce9,'undoMutations':[{'id':_0x36dd63['id'],'params':_0x17cad6}],'redoMutations':[{'id':_0x36dd63['id'],'params':_0x1522c2}]}),!0x0):!0x1;}},_0x3c356d={'id':_0x17666d(0x207),'type':_0x4d7b12[_0x17666d(0xac)][_0x17666d(0x412)],'handler'(_0x324eae,_0x237f63){const _0x4eb9d0=_0x17666d;if(!_0x237f63)return!0x1;let _0x96815f=_0x324eae[_0x4eb9d0(0x9f)](_0x4d7b12[_0x4eb9d0(0x322)]),{unitId:_0x21a2c5,tableId:_0xf86bc0,fieldId:_0x47effa}=_0x237f63,_0x4d4126=_0x96815f[_0x4eb9d0(0x27d)](_0x21a2c5,_0x4d7b12[_0x4eb9d0(0xca)][_0x4eb9d0(0x101)]);if(!_0x4d4126||!_0x5c30c8(_0x4d4126,_0xf86bc0,{'fieldIds':[_0x47effa]}))return!0x1;let _0x2446ad=_0x324eae[_0x4eb9d0(0x9f)](_0x4d7b12[_0x4eb9d0(0x32e)]),_0x484ef2=_0x324eae[_0x4eb9d0(0x9f)](_0x4d7b12['IUndoRedoService']),_0x3d0c43=_0x4d4126['getSnapshot'](),_0x5a1391=_0x237f63['description']['trim'](),_0x4c72e8=new _0x7bf11a()[_0x4eb9d0(0x2bf)](_0x3d0c43,_0xf86bc0,_0x47effa,{'description':_0x5a1391}),_0x48c86c=new _0x51bfae()['invertOp'](_0x4d4126[_0x4eb9d0(0x2de)](),_0x4c72e8),_0x5efc60={'unitId':_0x21a2c5,'op':_0x4c72e8},_0x566b46={'unitId':_0x21a2c5,'op':_0x48c86c};return _0x2446ad['syncExecuteCommand'](_0x36dd63['id'],_0x5efc60)?(_0x96815f['focusUnit'](_0x21a2c5),_0x484ef2[_0x4eb9d0(0x189)]({'unitID':_0x21a2c5,'undoMutations':[{'id':_0x36dd63['id'],'params':_0x566b46}],'redoMutations':[{'id':_0x36dd63['id'],'params':_0x5efc60}]}),!0x0):!0x1;}},_0x1ffb91={'id':_0x17666d(0x1ac),'type':_0x4d7b12[_0x17666d(0xac)]['COMMAND'],'handler':(_0x479f95,_0x182227)=>{const _0x3cca6a=_0x17666d;if(!_0x182227)return!0x1;let _0x27a05a=_0x479f95[_0x3cca6a(0x9f)](_0x4d7b12['IUniverInstanceService']),{unitId:_0x6e5ae,tableId:_0xeeefa0,fieldId:_0x390002,patch:_0x3c29ba}=_0x182227,_0x4a3db1=_0x27a05a[_0x3cca6a(0x27d)](_0x6e5ae,_0x4d7b12[_0x3cca6a(0xca)][_0x3cca6a(0x101)]);if(!_0x4a3db1||_0x390002===_0x4d7b12[_0x3cca6a(0x36b)]||!_0x5c30c8(_0x4a3db1,_0xeeefa0,{'fieldIds':[_0x390002]}))return!0x1;let _0x39d0c1=_0x479f95[_0x3cca6a(0x9f)](_0x4d7b12[_0x3cca6a(0x32e)]),_0x1eb4ad=_0x479f95[_0x3cca6a(0x9f)](_0x4d7b12[_0x3cca6a(0x3b7)]),_0x2e13b2=_0x4a3db1[_0x3cca6a(0x2de)]();if(!_0x52914c(_0x4a3db1,_0xeeefa0,{..._0x2e13b2[_0x3cca6a(0x334)][_0xeeefa0][_0x3cca6a(0x129)][_0x390002],..._0x3c29ba}))return!0x1;let _0xd91821=new _0x7bf11a()[_0x3cca6a(0x2bf)](_0x2e13b2,_0xeeefa0,_0x390002,_0x3c29ba),_0x1ecc66=new _0x51bfae()[_0x3cca6a(0x386)](_0x2e13b2,_0xd91821),_0x5746f0={'unitId':_0x6e5ae,'op':_0xd91821},_0x271fa5={'unitId':_0x6e5ae,'op':_0x1ecc66};return _0x39d0c1[_0x3cca6a(0x3e2)](_0x36dd63['id'],_0x5746f0)?(_0x27a05a['focusUnit'](_0x6e5ae),_0x1eb4ad[_0x3cca6a(0x189)]({'unitID':_0x6e5ae,'undoMutations':[{'id':_0x36dd63['id'],'params':_0x271fa5}],'redoMutations':[{'id':_0x36dd63['id'],'params':_0x5746f0}]}),!0x0):!0x1;}},_0x8475ae={'id':'base.command.update-base-kanban-config','type':_0x4d7b12['CommandType'][_0x17666d(0x412)],'handler':(_0x114b5a,_0x282006)=>{const _0x4b7166=_0x17666d;if(!_0x282006)return!0x1;let _0x565d11=_0x114b5a['get'](_0x4d7b12[_0x4b7166(0x322)]),{unitId:_0xd27668,tableId:_0x898fe9,viewId:_0x4719af,patch:_0xe69fa7}=_0x282006,_0x1d9960=_0x565d11['getUnit'](_0xd27668,_0x4d7b12['UniverInstanceType'][_0x4b7166(0x101)]);if(!_0x1d9960||!_0x5c30c8(_0x1d9960,_0x898fe9,{'viewIds':[_0x4719af]}))return!0x1;let _0x22f041=_0x114b5a[_0x4b7166(0x9f)](_0x4d7b12[_0x4b7166(0x32e)]),_0x47152a=_0x114b5a[_0x4b7166(0x9f)](_0x4d7b12[_0x4b7166(0x3b7)]),_0x22157b=_0x1d9960['getSnapshot'](),_0x3a94a1=new _0x7bf11a()['updateViewConfig'](_0x22157b,_0x898fe9,_0x4719af,_0xe69fa7),_0xb3eaf6=new _0x51bfae()[_0x4b7166(0x386)](_0x22157b,_0x3a94a1),_0xd2a937={'unitId':_0xd27668,'op':_0x3a94a1},_0x13b4d3={'unitId':_0xd27668,'op':_0xb3eaf6};return _0x22f041[_0x4b7166(0x3e2)](_0x36dd63['id'],_0xd2a937)?(_0x565d11['focusUnit'](_0xd27668),_0x47152a[_0x4b7166(0x189)]({'unitID':_0xd27668,'undoMutations':[{'id':_0x36dd63['id'],'params':_0x13b4d3}],'redoMutations':[{'id':_0x36dd63['id'],'params':_0xd2a937}]}),!0x0):!0x1;}},_0x4cc408={'id':_0x17666d(0x143),'type':_0x4d7b12[_0x17666d(0xac)][_0x17666d(0x412)],'handler':(_0x25cee2,_0x21f49a)=>{const _0xc7c9b0=_0x17666d;if(!_0x21f49a)return!0x1;let _0xd2d231=_0x25cee2['get'](_0x4d7b12[_0xc7c9b0(0x322)]),{unitId:_0x4f03ef,tableId:_0x59e74a,recordId:_0x2a19d1,orderKey:_0x1b2b20}=_0x21f49a,_0x5e9d84=_0xd2d231[_0xc7c9b0(0x27d)](_0x4f03ef,_0x4d7b12[_0xc7c9b0(0xca)][_0xc7c9b0(0x101)]);if(!_0x5e9d84||!_0x5c30c8(_0x5e9d84,_0x59e74a,{'recordIds':[_0x2a19d1]}))return!0x1;let _0x3f331f=_0x25cee2['get'](_0x4d7b12[_0xc7c9b0(0x32e)]),_0x10c258=_0x25cee2[_0xc7c9b0(0x9f)](_0x4d7b12[_0xc7c9b0(0x3b7)]),_0x17ecf2=_0x5e9d84['getSnapshot'](),_0xb5420a=new _0x7bf11a()[_0xc7c9b0(0x1bc)](_0x17ecf2,_0x59e74a,_0x2a19d1,_0x1b2b20),_0x465938=new _0x51bfae()[_0xc7c9b0(0x386)](_0x17ecf2,_0xb5420a),_0x35579b={'unitId':_0x4f03ef,'op':_0xb5420a},_0x1ae6bf={'unitId':_0x4f03ef,'op':_0x465938};return _0x3f331f[_0xc7c9b0(0x3e2)](_0x36dd63['id'],_0x35579b)?(_0xd2d231[_0xc7c9b0(0x1c2)](_0x4f03ef),_0x10c258[_0xc7c9b0(0x189)]({'unitID':_0x4f03ef,'undoMutations':[{'id':_0x36dd63['id'],'params':_0x1ae6bf}],'redoMutations':[{'id':_0x36dd63['id'],'params':_0x35579b}]}),!0x0):!0x1;}},_0x55eef0=function(_0xb1afc1){const _0x2d9c7a=_0x17666d;return _0xb1afc1['Set']='set',_0xb1afc1[_0x2d9c7a(0x2d2)]=_0x2d9c7a(0x3a1),_0xb1afc1[_0x2d9c7a(0x9d)]=_0x2d9c7a(0x205),_0xb1afc1[_0x2d9c7a(0x413)]=_0x2d9c7a(0x379),_0xb1afc1;}({}),_0x1e5bc4={'id':_0x17666d(0x137),'type':_0x4d7b12[_0x17666d(0xac)][_0x17666d(0x412)],'handler':(_0x5d0352,_0x35b41c)=>{const _0x133c75=_0x17666d;var _0x3056f0;if(!_0x35b41c)return!0x1;let _0x2efdd2=_0x5d0352[_0x133c75(0x9f)](_0x4d7b12[_0x133c75(0x322)]),_0x26d10f=_0x2efdd2['getUnit'](_0x35b41c[_0x133c75(0x44c)],_0x4d7b12[_0x133c75(0xca)][_0x133c75(0x101)]);if(!_0x26d10f||!_0x5c30c8(_0x26d10f,_0x35b41c['tableId'],{'viewIds':[_0x35b41c[_0x133c75(0x24f)]]}))return!0x1;let _0x983c8e=_0x26d10f[_0x133c75(0x2de)](),_0x3a0518=_0x983c8e[_0x133c75(0x334)][_0x35b41c[_0x133c75(0x10c)]],_0x1ac3e0=_0x54b452(((_0x3056f0=_0x3a0518[_0x133c75(0x420)][_0x35b41c[_0x133c75(0x24f)]][_0x133c75(0x39d)][_0x133c75(0x375)])==null?void 0x0:_0x3056f0[_0x133c75(0x1f9)])??[],_0x35b41c);if(!_0x1ac3e0)return!0x1;_0x2bd8bc(_0x3a0518,_0x1ac3e0);let _0x3301b2=new _0x7bf11a()[_0x133c75(0x459)](_0x983c8e,_0x35b41c['tableId'],_0x35b41c[_0x133c75(0x24f)],{'conditionalColoring':_0x1ac3e0['length']?{'rules':_0x1ac3e0}:null}),_0x399115=new _0x51bfae()[_0x133c75(0x386)](_0x983c8e,_0x3301b2),_0x1779eb={'unitId':_0x35b41c['unitId'],'op':_0x3301b2},_0x574444={'unitId':_0x35b41c['unitId'],'op':_0x399115};return _0x5d0352[_0x133c75(0x9f)](_0x4d7b12[_0x133c75(0x32e)])[_0x133c75(0x3e2)](_0x36dd63['id'],_0x1779eb)?(_0x2efdd2[_0x133c75(0x1c2)](_0x35b41c[_0x133c75(0x44c)]),_0x5d0352[_0x133c75(0x9f)](_0x4d7b12[_0x133c75(0x3b7)])[_0x133c75(0x189)]({'unitID':_0x35b41c[_0x133c75(0x44c)],'undoMutations':[{'id':_0x36dd63['id'],'params':_0x574444}],'redoMutations':[{'id':_0x36dd63['id'],'params':_0x1779eb}]}),!0x0):!0x1;}};function _0x54b452(_0x264e3a,_0x2ac5ba){const _0x37ee43=_0x17666d;switch(_0x2ac5ba['type']){case'set':return _0x4d7b12[_0x37ee43(0x1ea)][_0x37ee43(0xee)](_0x2ac5ba[_0x37ee43(0x1f9)]);case _0x37ee43(0x3a1):return[..._0x4d7b12['Tools'][_0x37ee43(0xee)](_0x264e3a),_0x4d7b12[_0x37ee43(0x1ea)][_0x37ee43(0xee)](_0x2ac5ba[_0x37ee43(0x29a)])];case'delete':{let _0xd8be4b=_0x264e3a[_0x37ee43(0x425)](_0x479ead=>_0x479ead['id']!==_0x2ac5ba[_0x37ee43(0x197)]);return _0xd8be4b['length']===_0x264e3a['length']?null:_0x4d7b12['Tools'][_0x37ee43(0xee)](_0xd8be4b);}case _0x37ee43(0x379):return _0x264e3a['length']?[]:null;}}function _0x2bd8bc(_0x159b7b,_0xd74481){const _0x4851aa=_0x17666d;if(!Array[_0x4851aa(0x46e)](_0xd74481))throw TypeError('[UpdateBaseViewConditionalColorRulesCommand]:\x20rules\x20must\x20be\x20an\x20array.');let _0x5a5631=new Set();for(let [_0x4b559b,_0x143b9b]of _0xd74481[_0x4851aa(0x45d)]())_0x19e007(_0x159b7b,_0x143b9b,_0x43b9d5(_0x143b9b,_0x4b559b,_0x5a5631));}function _0x43b9d5(_0x3a31c9,_0x594642,_0x435328){const _0x37427a=_0x17666d;if(!_0x3a31c9||typeof _0x3a31c9!=_0x37427a(0x297))throw TypeError(_0x37427a(0x35c)+_0x594642+_0x37427a(0x188));let _0xedb579=typeof _0x3a31c9['id']=='string'&&_0x3a31c9['id'][_0x37427a(0x11d)]()?'\x22'+_0x3a31c9['id']+'\x22':'at\x20index\x20'+_0x594642;if(typeof _0x3a31c9['id']!=_0x37427a(0x3af)||!_0x3a31c9['id'][_0x37427a(0x11d)]())throw Error(_0x37427a(0xe1)+_0xedb579+_0x37427a(0x1b0));if(_0x435328[_0x37427a(0x1eb)](_0x3a31c9['id']))throw Error(_0x37427a(0x426)+_0x3a31c9['id']+'\x22.');_0x435328['add'](_0x3a31c9['id']);let _0x2b6ae8=typeof _0x3a31c9[_0x37427a(0x1ee)]==_0x37427a(0x3af)&&_0x3a31c9[_0x37427a(0x1ee)][_0x37427a(0x11d)]()?new _0x4d7b12[(_0x37427a(0xbe))](_0x3a31c9['color']):null;if(!(_0x2b6ae8!=null&&_0x2b6ae8[_0x37427a(0x407)]))throw Error(_0x37427a(0xe1)+_0xedb579+_0x37427a(0x286));return _0xedb579;}function _0x19e007(_0x4789bb,_0x4b4b8a,_0x4f2ed9){const _0x3a7d26=_0x17666d;let _0x4edd64=new Set(Object[_0x3a7d26(0x3b2)](_0x4d7b12[_0x3a7d26(0x1c9)])),_0x5a81c3=new Set(Object[_0x3a7d26(0x3b2)](_0x4d7b12[_0x3a7d26(0x377)])),_0x876e9e=new Set(Object['values'](_0x4d7b12[_0x3a7d26(0x371)]));if(!_0x4edd64[_0x3a7d26(0x1eb)](_0x4b4b8a['target']))throw Error('[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20'+_0x4f2ed9+_0x3a7d26(0x1a1)+String(_0x4b4b8a[_0x3a7d26(0x321)])+'\x22.');let _0xe2b3bf=typeof _0x4b4b8a[_0x3a7d26(0x424)]=='string'?_0x4789bb['fields'][_0x4b4b8a[_0x3a7d26(0x424)]]:void 0x0;if(!_0xe2b3bf||_0xe2b3bf[_0x3a7d26(0x43a)]===!0x0||_0xe2b3bf[_0x3a7d26(0x466)]===_0x4d7b12[_0x3a7d26(0x419)][_0x3a7d26(0x266)])throw Error(_0x3a7d26(0xe1)+_0x4f2ed9+_0x3a7d26(0x44d)+String(_0x4b4b8a['fieldId'])+'\x22.');if(!_0x5a81c3[_0x3a7d26(0x1eb)](_0x4b4b8a[_0x3a7d26(0x372)]))throw Error(_0x3a7d26(0xe1)+_0x4f2ed9+_0x3a7d26(0x3f1)+String(_0x4b4b8a['operator'])+'\x22.');if(_0x4b4b8a[_0x3a7d26(0x202)]!==void 0x0&&!_0x876e9e['has'](_0x4b4b8a[_0x3a7d26(0x202)]))throw Error('[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20'+_0x4f2ed9+'\x20has\x20unsupported\x20date\x20mode\x20\x22'+String(_0x4b4b8a['dateMode'])+'\x22.');if(_0x4b4b8a[_0x3a7d26(0x321)]===_0x4d7b12[_0x3a7d26(0x1c9)][_0x3a7d26(0x2d5)])return;let _0x4b2904=_0x74742f(_0xe2b3bf['type']);if(!_0x4b2904[_0x3a7d26(0x3ff)](_0x4b4b8a['operator']))throw Error(_0x3a7d26(0xe1)+_0x4f2ed9+'\x20cannot\x20use\x20operator\x20\x22'+_0x4b4b8a[_0x3a7d26(0x372)]+'\x22\x20with\x20field\x20type\x20\x22'+_0xe2b3bf[_0x3a7d26(0x466)]+_0x3a7d26(0x2b4)+_0x4b2904[_0x3a7d26(0x1ef)](',\x20')+'.');if(_0x4b4b8a[_0x3a7d26(0x202)]!==void 0x0&&!_0x351a01(_0xe2b3bf['type']))throw Error(_0x3a7d26(0xe1)+_0x4f2ed9+_0x3a7d26(0x32b));}let _0x1f183c={'id':_0x17666d(0x1d9),'type':_0x4d7b12[_0x17666d(0xac)][_0x17666d(0x412)],'handler':(_0x581022,_0x4b8959)=>{const _0x5206d7=_0x17666d;if(!_0x4b8959)return!0x1;let _0x1c6a3b=_0x581022['get'](_0x4d7b12[_0x5206d7(0x322)]),{unitId:_0x2267f1,tableId:_0x211521,viewId:_0x22bfcc,patch:_0x286621}=_0x4b8959,_0x11570f=_0x1c6a3b['getUnit'](_0x2267f1,_0x4d7b12['UniverInstanceType']['UNIVER_BASE']);if(!_0x11570f||!_0x5c30c8(_0x11570f,_0x211521,{'viewIds':[_0x22bfcc]}))return!0x1;let _0x57a9dd=_0x581022[_0x5206d7(0x9f)](_0x4d7b12[_0x5206d7(0x32e)]),_0xb442c4=_0x581022[_0x5206d7(0x9f)](_0x4d7b12['IUndoRedoService']),_0x1d8e0c=_0x11570f[_0x5206d7(0x2de)](),_0x20124c=new _0x7bf11a()[_0x5206d7(0x459)](_0x1d8e0c,_0x211521,_0x22bfcc,_0x286621),_0x2b5e86=new _0x51bfae()['invertOp'](_0x1d8e0c,_0x20124c),_0x447e85={'unitId':_0x2267f1,'op':_0x20124c},_0x304969={'unitId':_0x2267f1,'op':_0x2b5e86};return _0x57a9dd['syncExecuteCommand'](_0x36dd63['id'],_0x447e85)?(_0x1c6a3b[_0x5206d7(0x1c2)](_0x2267f1),_0xb442c4['pushUndoRedo']({'unitID':_0x2267f1,'undoMutations':[{'id':_0x36dd63['id'],'params':_0x304969}],'redoMutations':[{'id':_0x36dd63['id'],'params':_0x447e85}]}),!0x0):!0x1;}},_0x306611={'id':_0x17666d(0x17e),'type':_0x4d7b12[_0x17666d(0xac)]['COMMAND'],'handler'(_0x51eb5a,_0x16d974){const _0x1a742c=_0x17666d;if(!_0x16d974)return{'valid':!0x1,'reason':_0x1a742c(0x2f6)};let _0x1d73b2=_0x51eb5a['get'](_0x4d7b12[_0x1a742c(0x322)])[_0x1a742c(0x27d)](_0x16d974[_0x1a742c(0x44c)],_0x4d7b12['UniverInstanceType'][_0x1a742c(0x101)]),_0x55881f=_0x1d73b2==null?void 0x0:_0x1d73b2[_0x1a742c(0x2de)](),_0x527d85=_0x55881f==null?void 0x0:_0x55881f[_0x1a742c(0x334)][_0x16d974[_0x1a742c(0x10c)]];return!_0x55881f||!_0x527d85?{'valid':!0x1,'reason':'[BaseFormula]:\x20table\x20does\x20not\x20exist.'}:new _0x199153()[_0x1a742c(0x35b)](_0x16d974[_0x1a742c(0x91)],_0x527d85,{'snapshot':_0x55881f});}};function _0x40dc6c(_0x12202d){const _0xeaaf7a=_0x17666d;let _0x1b540b=_0x12202d[_0xeaaf7a(0x19c)]??Date['now'](),_0x33f513=_0x12202d[_0xeaaf7a(0x455)]??_0x12202d['id']+_0xeaaf7a(0x2db),_0x31f35f=_0x12202d[_0xeaaf7a(0x2ed)]??_0x12202d['id']+_0xeaaf7a(0x2f5),_0x25cf9b=_0x12202d[_0xeaaf7a(0x277)]??0x0,_0x4acc2b=(0x0,_0x4d7b12[_0xeaaf7a(0x368)])(),_0x5244d3={'id':_0x33f513,'name':_0x12202d['primaryFieldName']??_0xeaaf7a(0x2ec),'type':_0x4d7b12[_0xeaaf7a(0x419)]['Text'],'config':{'placeholder':_0xeaaf7a(0x288)}},_0x3746c1={},_0x2435e0=[],_0x10ef9a={},_0x529a4c={},_0x4f0ef6={};for(let _0x949386=0x0;_0x949386<_0x25cf9b;_0x949386++){let _0x2b5feb=_0x12202d['id']+_0xeaaf7a(0x127)+(_0x949386+0x1);_0x3746c1[_0x2b5feb]={'id':_0x2b5feb,'values':{[_0x4d7b12[_0xeaaf7a(0x36b)]]:_0x2b5feb,..._0x12202d[_0xeaaf7a(0x3ea)]?{[_0x33f513]:_0x12202d[_0xeaaf7a(0x3ea)]+'\x20'+(_0x949386+0x1)}:{}},'orderKey':String(_0x949386+0x1)[_0xeaaf7a(0x2d6)](0x4,'0'),'createdAt':_0x1b540b,'updatedAt':_0x1b540b},_0x2435e0['push'](_0x2b5feb),_0x10ef9a[_0x2b5feb]=_0x949386,_0x529a4c[_0x949386]=_0x2b5feb,_0x4f0ef6[_0x949386]={0x0:{'v':_0x2b5feb,'t':_0x4d7b12[_0xeaaf7a(0x2f2)][_0xeaaf7a(0x26d)]}},_0x12202d[_0xeaaf7a(0x3ea)]&&(_0x4f0ef6[_0x949386][0x1]={'v':_0x12202d['recordNamePrefix']+'\x20'+(_0x949386+0x1),'t':_0x4d7b12[_0xeaaf7a(0x2f2)]['STRING']});}let _0x396f60={'id':_0x31f35f,'tableId':_0x12202d['id'],'name':_0xeaaf7a(0x36e),'type':_0x4d7b12[_0xeaaf7a(0xd3)][_0xeaaf7a(0x36e)],'fieldOrder':[_0x4d7b12['BASE_RECORD_ID_FIELD_ID'],_0x33f513],'fieldSettings':{[_0x4d7b12[_0xeaaf7a(0x36b)]]:{'hidden':!0x0}},'config':{'frozenFieldCount':0x1}};return{'id':_0x12202d['id'],'name':_0x12202d[_0xeaaf7a(0x208)],'primaryFieldId':_0x33f513,'fieldOrder':[_0x4d7b12[_0xeaaf7a(0x36b)],_0x33f513],'fields':{[_0x4d7b12[_0xeaaf7a(0x36b)]]:_0x4acc2b,[_0x33f513]:_0x5244d3},'records':_0x3746c1,'recordOrder':_0x2435e0,'rowIndex':_0x10ef9a,'rowId':_0x529a4c,'colIndex':{[_0x4d7b12[_0xeaaf7a(0x36b)]]:0x0,[_0x33f513]:0x1},'colId':{0x0:_0x4d7b12[_0xeaaf7a(0x36b)],0x1:_0x33f513},'cellData':_0x4f0ef6,'views':{[_0x31f35f]:_0x396f60},'viewOrder':[_0x31f35f]};}let _0x43821e=_0x17666d(0x3d3);function _0x143180(_0x2b7627){const _0x121bf8=_0x17666d;let _0x5c45fc=_0x40dc6c({'id':_0x2b7627[_0x121bf8(0x30c)],'name':_0x2b7627[_0x121bf8(0x208)]??_0x2b7627['embedId'],'recordCount':0x0});return{..._0x5c45fc,'resources':{..._0x5c45fc[_0x121bf8(0x171)]??{},[_0x43821e]:_0x5cea59(_0x2b7627)}};}function _0x2343f0(_0x21461a){const _0x5c3546=_0x17666d;return{'id':_0x36dd63['id'],'params':{'unitId':_0x21461a[_0x5c3546(0x44c)],'op':new _0x7bf11a()['createTable'](_0x21461a[_0x5c3546(0x2e9)],_0x21461a[_0x5c3546(0x39f)],_0x21461a['index']),'trigger':_0x5c3546(0x1de)}};}function _0x5aa3be(_0x20f74b){const _0x2083e7=_0x17666d;let _0xc8332c=_0x20f74b[_0x2083e7(0x2e9)][_0x2083e7(0x10e)]['indexOf'](_0x20f74b[_0x2083e7(0x10c)]);if(!(!_0x20f74b[_0x2083e7(0x2e9)]['tables'][_0x20f74b[_0x2083e7(0x10c)]]||_0xc8332c<0x0))return{'id':_0x36dd63['id'],'params':{'unitId':_0x20f74b[_0x2083e7(0x44c)],'op':new _0x7bf11a()[_0x2083e7(0x29c)](_0x20f74b[_0x2083e7(0x2e9)],_0x20f74b[_0x2083e7(0x10c)]),'trigger':_0x2083e7(0x1de)}};}function _0x5cea59(_0x79f933){const _0x2e85aa=_0x17666d;return{'version':0x1,'embedId':_0x79f933[_0x2e85aa(0x24c)],'hostAnchorId':_0x79f933['hostAnchorId'],'childUnitId':_0x79f933['childUnitId'],'childType':_0x79f933[_0x2e85aa(0x402)]};}function _0x16d031(_0x4506c7){const _0x5bfa18=_0x17666d;let _0x4eda60=Math[_0x5bfa18(0x3e8)](0x0,Number(_0x4506c7[_0x5bfa18(0x39b)]??0x0)),_0x7419e1=_0x4506c7[_0x5bfa18(0xe8)]===!0x1?'0':_0x5bfa18(0x320),_0x59923b=_0x4eda60?'.'+'0'[_0x5bfa18(0xef)](_0x4eda60):'',_0xa34b40=_0x1d7866(_0x4506c7[_0x5bfa18(0x11a)]);return''+(_0x4506c7['currencySymbol']?_0x117e96(_0x4506c7['currencySymbol']):'')+_0x7419e1+_0x59923b+_0xa34b40;}function _0x3e1d38(_0x2327c8,_0xdd926c){const _0x1399b5=_0x17666d;let _0x1e61f2=_0x16d031(_0xdd926c),_0x304a19=_0x4d7b12[_0x1399b5(0x2a2)][_0x1399b5(0x3e1)](_0x1e61f2,_0x2327c8,{'throws':!0x1});return _0x3424d3(String(_0x304a19),_0xdd926c['separatorStyle'],_0xdd926c[_0x1399b5(0x444)]);}function _0x1d7866(_0x257370){const _0x1984b0=_0x17666d;return _0x257370==='K'?_0x1984b0(0x1fa):_0x257370==='M'?_0x1984b0(0xc0):_0x257370==='B'?_0x1984b0(0x182):'';}function _0x117e96(_0x34b049){const _0x5bd17d=_0x17666d;return/^[A-Z]+$/i[_0x5bd17d(0x445)](_0x34b049)?'\x22'+_0x34b049+'\x22':_0x34b049;}function _0x3424d3(_0xa97e3f,_0x21656e,_0x5774f3){const _0x52eb5d=_0x17666d;let _0x15229d=_0x21656e==='local'?_0x9060cc(_0x5774f3):_0x21656e;return _0x15229d==='periodComma'?_0xa97e3f[_0x52eb5d(0x1a9)](/,/g,'\x00')[_0x52eb5d(0x1a9)](/\./g,',')['replace'](/\0/g,'.'):_0x15229d===_0x52eb5d(0x239)?_0xa97e3f[_0x52eb5d(0x1a9)](/,/g,'\x20')[_0x52eb5d(0x1a9)](/\./g,','):_0x15229d===_0x52eb5d(0xf0)?_0xa97e3f[_0x52eb5d(0x1a9)](/,/g,'\x20'):_0xa97e3f;}function _0x9060cc(_0x2006f7){const _0x34dcc8=_0x17666d;var _0x582a2b,_0x412c9f;let _0x18abaa=_0x2006f7||new Intl[(_0x34dcc8(0x142))]()[_0x34dcc8(0x247)]()[_0x34dcc8(0x444)],_0x4271f8;try{_0x4271f8=new Intl[(_0x34dcc8(0x142))](_0x18abaa,{'minimumFractionDigits':0x2,'maximumFractionDigits':0x2,'useGrouping':!0x0})[_0x34dcc8(0x180)](0xf4240);}catch{return _0x34dcc8(0x179);}let _0x423fb9=(_0x582a2b=_0x4271f8[_0x34dcc8(0x3b6)](_0x55d723=>_0x55d723[_0x34dcc8(0x466)]==='group'))==null?void 0x0:_0x582a2b[_0x34dcc8(0x12e)],_0x46160a=(_0x412c9f=_0x4271f8[_0x34dcc8(0x3b6)](_0x53610f=>_0x53610f['type']===_0x34dcc8(0x2c9)))==null?void 0x0:_0x412c9f[_0x34dcc8(0x12e)],_0x4d9d31=_0x423fb9==='\u00a0'||_0x423fb9==='\u202f'?'\x20':_0x423fb9;return _0x4d9d31==='.'&&_0x46160a===','?'periodComma':_0x4d9d31==='\x20'&&_0x46160a===','?_0x34dcc8(0x239):_0x4d9d31==='\x20'&&_0x46160a==='.'?_0x34dcc8(0xf0):_0x34dcc8(0x179);}function _0x125962(_0x140994,_0x4ea218){const _0x113e6d=_0x17666d;let _0x26aace=_0x4ea218&&typeof _0x4ea218=='object'&&!Array[_0x113e6d(0x46e)](_0x4ea218)?_0x4ea218:{},_0x209fdf=_0x115fb6(_0x26aace['decimalPlaces'],0x0,0x2,0x0),_0x3fcfe9=_0x140994[_0x113e6d(0x1a4)](_0x209fdf);return _0x26aace['format']===_0x113e6d(0x2c1)?_0x3fcfe9:_0x3fcfe9+'%';}function _0x115fb6(_0x402433,_0x1d60a2,_0x16195,_0x131a52){const _0x10abfd=_0x17666d;if(_0x402433==null||_0x402433==='')return _0x131a52;let _0x10d402=typeof _0x402433==_0x10abfd(0x2c1)?_0x402433:Number(_0x402433);return Number[_0x10abfd(0x1c5)](_0x10d402)?Math[_0x10abfd(0x3e8)](_0x1d60a2,Math[_0x10abfd(0x3d6)](_0x16195,Math[_0x10abfd(0x2e3)](_0x10d402))):_0x131a52;}let _0x5c1b52=[_0x17666d(0x46a),_0x17666d(0x31f),_0x17666d(0x438),'unique',_0x17666d(0x325),'average',_0x17666d(0x3d6),_0x17666d(0x3e8)],_0x3b3825=[_0x17666d(0x46a),_0x17666d(0x31f),_0x17666d(0x438),'unique'],_0xc3f590=[_0x17666d(0x325),'average','min',_0x17666d(0x3e8)],_0x2e0cf3=[_0x17666d(0x3d6),_0x17666d(0x3e8)],_0x172f68=new Set([_0x4d7b12[_0x17666d(0x419)][_0x17666d(0x34f)],_0x4d7b12['BaseFieldType'][_0x17666d(0x1fe)],_0x4d7b12[_0x17666d(0x419)][_0x17666d(0x1d8)],_0x4d7b12[_0x17666d(0x419)][_0x17666d(0x3df)]]),_0x3336cb=new Set([_0x4d7b12['BaseFieldType'][_0x17666d(0x1a7)],_0x4d7b12[_0x17666d(0x419)][_0x17666d(0x92)],_0x4d7b12[_0x17666d(0x419)][_0x17666d(0x41c)]]),_0x3c6592='General';function _0x310b1a(_0x5f4434){const _0x4a26b3=_0x17666d;return typeof _0x5f4434==_0x4a26b3(0x3af)&&_0x5c1b52[_0x4a26b3(0x3ff)](_0x5f4434);}function _0x4a41fb(_0x5e3c43){const _0x247834=_0x17666d;return!_0x5e3c43||typeof _0x5e3c43!=_0x247834(0x297)?{}:Object['fromEntries'](Object[_0x247834(0x45d)](_0x5e3c43)[_0x247834(0x425)](_0x229df1=>_0x310b1a(_0x229df1[0x1])));}function _0x28a1e6(_0x1cde74){const _0x4a32c2=_0x17666d;return _0x172f68[_0x4a32c2(0x1eb)](_0x1cde74['type'])?[..._0x3b3825,..._0xc3f590]:_0x1cde74['type']===_0x4d7b12[_0x4a32c2(0x419)][_0x4a32c2(0x21c)]?[..._0x3b3825,..._0x5e6984(_0x1cde74)===_0x4a32c2(0x140)?_0x2e0cf3:_0xc3f590]:_0x3b3825;}function _0x2c6562(_0x3a60dd,_0x383b52){const _0x373ef5=_0x17666d;return _0x28a1e6(_0x3a60dd)[_0x373ef5(0x3ff)](_0x383b52);}function _0x594382(_0x34a8a3,_0xb1fbeb,_0x5527ae){const _0x597d6d=_0x17666d;if(!_0x2c6562(_0x34a8a3,_0x5527ae))return null;let _0x57349d=_0xb1fbeb['filter'](_0x476fec=>!_0x22c0e7(_0x34a8a3,_0x476fec));switch(_0x5527ae){case'count':return _0xb1fbeb[_0x597d6d(0x278)];case _0x597d6d(0x31f):return _0x57349d[_0x597d6d(0x278)];case _0x597d6d(0x438):return _0xb1fbeb['length']-_0x57349d['length'];case _0x597d6d(0x315):return new Set(_0x57349d[_0x597d6d(0xd9)](_0x1bfd07=>_0xa30bb1(_0x34a8a3,_0x1bfd07)))[_0x597d6d(0x220)];case _0x597d6d(0x325):{let _0x13ac8f=_0x1549cb(_0x34a8a3,_0x57349d);return _0x13ac8f['length']?_0x19d090(_0x13ac8f):null;}case _0x597d6d(0x467):{let _0xde689a=_0x1549cb(_0x34a8a3,_0x57349d);return _0xde689a[_0x597d6d(0x278)]?_0x19d090(_0xde689a)/_0xde689a[_0x597d6d(0x278)]:null;}case _0x597d6d(0x3d6):{let _0x44aea8=_0x1549cb(_0x34a8a3,_0x57349d);return _0x44aea8[_0x597d6d(0x278)]?Math[_0x597d6d(0x3d6)](..._0x44aea8):null;}case'max':{let _0x96aa58=_0x1549cb(_0x34a8a3,_0x57349d);return _0x96aa58[_0x597d6d(0x278)]?Math['max'](..._0x96aa58):null;}}}function _0x3b904c(_0x70e7f8,_0x5cf1fb,_0x370bc9){const _0x203c36=_0x17666d;if(_0x370bc9==null||!Number[_0x203c36(0x1c5)](_0x370bc9))return'-';if(_0x3b3825['includes'](_0x5cf1fb))return String(_0x370bc9);switch(_0x70e7f8[_0x203c36(0x466)]){case _0x4d7b12[_0x203c36(0x419)][_0x203c36(0x34f)]:return _0x3e1d38(_0x370bc9,_0x107e89(_0x70e7f8));case _0x4d7b12[_0x203c36(0x419)][_0x203c36(0x1fe)]:return _0x3e1d38(_0x370bc9,_0xfc3e44(_0x70e7f8));case _0x4d7b12[_0x203c36(0x419)][_0x203c36(0x1d8)]:return _0x125962(_0x370bc9,_0x70e7f8[_0x203c36(0x39d)]);case _0x4d7b12[_0x203c36(0x419)]['Formula']:return _0x841ec2(_0x370bc9,_0x70e7f8);default:return _0x2f8bf7(_0x370bc9);}}function _0x22c0e7(_0x4c6a12,_0xeadb00){const _0x26e585=_0x17666d;if(_0xeadb00==null)return!0x0;if(typeof _0xeadb00==_0x26e585(0x3af))return _0xeadb00[_0x26e585(0x11d)]()==='';if(Array[_0x26e585(0x46e)](_0xeadb00))return _0x4c6a12[_0x26e585(0x466)]===_0x4d7b12[_0x26e585(0x419)][_0x26e585(0x312)]?!_0xeadb00[_0x26e585(0x256)](_0x50b396):_0xeadb00[_0x26e585(0x278)]===0x0;if(_0x4c6a12[_0x26e585(0x466)]===_0x4d7b12[_0x26e585(0x419)]['Link']&&typeof _0xeadb00==_0x26e585(0x297)){let _0x3457ed=_0xeadb00;return[_0x3457ed[_0x26e585(0x146)],_0x3457ed[_0x26e585(0x3ae)]][_0x26e585(0x178)](_0x3de092=>_0x3de092==null||String(_0x3de092)['trim']()==='');}return!0x1;}function _0x1549cb(_0x29e2fa,_0x53a6f5){const _0x5e0824=_0x17666d;let _0x124c45=[];for(let _0x4075fc of _0x53a6f5){let _0x47ce58=_0x487140(_0x29e2fa,_0x4075fc);_0x47ce58!=null&&_0x124c45[_0x5e0824(0x112)](_0x47ce58);}return _0x124c45;}function _0x487140(_0x48e2c7,_0x4a34e7){const _0xa2b21d=_0x17666d;if(typeof _0x4a34e7==_0xa2b21d(0x2c1))return Number[_0xa2b21d(0x1c5)](_0x4a34e7)?_0x4a34e7:null;if(_0x48e2c7[_0xa2b21d(0x466)]!==_0x4d7b12[_0xa2b21d(0x419)][_0xa2b21d(0x21c)]&&typeof _0x4a34e7==_0xa2b21d(0x3af)&&_0x4a34e7[_0xa2b21d(0x11d)]()!==''){let _0x3ab8e3=Number(_0x4a34e7);return Number[_0xa2b21d(0x1c5)](_0x3ab8e3)?_0x3ab8e3:null;}return null;}function _0x19d090(_0x448479){const _0x16c17a=_0x17666d;let _0x2c5209=0x0,_0x3974b8=0x0;for(let _0x58353c of _0x448479){let _0x27e859=_0x2c5209+_0x58353c;_0x3974b8+=Math[_0x16c17a(0x249)](_0x2c5209)>=Math[_0x16c17a(0x249)](_0x58353c)?_0x2c5209-_0x27e859+_0x58353c:_0x58353c-_0x27e859+_0x2c5209,_0x2c5209=_0x27e859;}return _0x2c5209+_0x3974b8;}function _0xa30bb1(_0xbfde74,_0x1e38ee){const _0x339a9e=_0x17666d;return _0x3336cb['has'](_0xbfde74[_0x339a9e(0x466)])&&Array[_0x339a9e(0x46e)](_0x1e38ee)?_0xd6a2be([...new Set(_0x1e38ee[_0x339a9e(0xd9)](_0x596440=>_0xd6a2be(_0x2b0d78(_0x596440))))][_0x339a9e(0x3bb)]()):_0xd6a2be(_0x2b0d78(_0x1e38ee));}function _0x2b0d78(_0x48396f){const _0x4111ea=_0x17666d;return Array['isArray'](_0x48396f)?_0x48396f['map'](_0x2b0d78):_0x48396f&&typeof _0x48396f==_0x4111ea(0x297)?Object[_0x4111ea(0x88)](Object[_0x4111ea(0x45d)](_0x48396f)[_0x4111ea(0x3bb)](([_0x509ffb],[_0x118a48])=>_0x509ffb[_0x4111ea(0x31b)](_0x118a48))['map'](([_0x2a3091,_0x25ec9a])=>[_0x2a3091,_0x2b0d78(_0x25ec9a)])):_0x48396f;}function _0xd6a2be(_0x1d9c56){const _0x40b6c4=_0x17666d;return JSON['stringify'](_0x1d9c56)??_0x40b6c4(0x339);}function _0x50b396(_0x32d7a9){const _0x34e70e=_0x17666d;if(typeof _0x32d7a9==_0x34e70e(0x3af))return _0x32d7a9[_0x34e70e(0x11d)]()!=='';if(!_0x32d7a9||typeof _0x32d7a9!=_0x34e70e(0x297))return!0x1;let _0x456eb0=_0x32d7a9;return[_0x456eb0['id'],_0x456eb0[_0x34e70e(0x208)],_0x456eb0[_0x34e70e(0x3e3)],_0x456eb0[_0x34e70e(0x3ae)],_0x456eb0['thumbnail']]['some'](_0x2c2ce8=>_0x2c2ce8!=null&&String(_0x2c2ce8)['trim']()!=='');}function _0x107e89(_0x5629e2){const _0x474e01=_0x17666d;let _0x3368f3=_0x4d9e6c(_0x5629e2[_0x474e01(0x39d)]);return{'decimalPlaces':_0x1ca59b(_0x3368f3[_0x474e01(0x39b)]??_0x3368f3[_0x474e01(0x1c1)],0x0,0x14,0x2),'separatorStyle':typeof _0x3368f3[_0x474e01(0xfa)]==_0x474e01(0x3af)?_0x3368f3['separatorStyle']:_0x474e01(0x1b9),'locale':typeof _0x3368f3[_0x474e01(0x444)]==_0x474e01(0x3af)?_0x3368f3[_0x474e01(0x444)]:void 0x0,'useThousands':_0x3368f3[_0x474e01(0xe8)]!==!0x1,'abbreviation':typeof _0x3368f3['abbreviation']=='string'?_0x3368f3[_0x474e01(0x11a)]:_0x474e01(0xb9)};}function _0xfc3e44(_0x344a5c){const _0x538287=_0x17666d;let _0x16e357=_0x4d9e6c(_0x344a5c[_0x538287(0x39d)]);return{..._0x107e89(_0x344a5c),'currencySymbol':String(_0x16e357[_0x538287(0x1af)]??_0x16e357[_0x538287(0x367)]??'$')};}function _0x841ec2(_0x4ec54c,_0x2208b0){const _0x263bca=_0x17666d;let _0x1d29d9=_0x3a227a(_0x2208b0);if(_0x1d29d9===_0x3c6592)return _0x2f8bf7(_0x4ec54c);try{return String(_0x4d7b12[_0x263bca(0x2a2)]['format'](_0x1d29d9,_0x4ec54c,{'throws':!0x1}));}catch{return _0x2f8bf7(_0x4ec54c);}}function _0x5e6984(_0x497394){const _0x2c95c0=_0x17666d;let _0x10d5d6=_0x4d9e6c(_0x4d9e6c(_0x497394['config'])[_0x2c95c0(0x2a2)]);return typeof _0x10d5d6['type']==_0x2c95c0(0x3af)?_0x10d5d6['type']:_0x2c95c0(0x15f);}function _0x3a227a(_0x2e9607){const _0xe74d4e=_0x17666d;let _0x4f7d51=_0x4d9e6c(_0x4d9e6c(_0x2e9607[_0xe74d4e(0x39d)])[_0xe74d4e(0x2a2)]);return String(_0x4f7d51[_0xe74d4e(0xed)]??_0x3c6592)[_0xe74d4e(0x11d)]()||_0x3c6592;}function _0x2f8bf7(_0x54574f){const _0x4da6cb=_0x17666d;return String(Number[_0x4da6cb(0x270)](_0x54574f)?_0x54574f:Math[_0x4da6cb(0x2e3)]((_0x54574f+0x2**-0x34)*0x64)/0x64);}function _0x4d9e6c(_0x4de381){const _0x34fae8=_0x17666d;return _0x4de381&&typeof _0x4de381==_0x34fae8(0x297)&&!Array[_0x34fae8(0x46e)](_0x4de381)?_0x4de381:{};}function _0x4a4d0a(_0x47749c){const _0x25bdd7=_0x17666d;if(_0x47749c==null||_0x47749c==='')return null;let _0xba9de4=typeof _0x47749c==_0x25bdd7(0x2c1)?_0x47749c:Number(_0x47749c);return Number['isFinite'](_0xba9de4)?_0xba9de4:null;}function _0x1ca59b(_0x1d838c,_0x57771a,_0x5b641a,_0x4dc9b8){const _0x275346=_0x17666d;let _0x53f4dc=_0x4a4d0a(_0x1d838c);return _0x53f4dc==null?_0x4dc9b8:Math[_0x275346(0x3e8)](_0x57771a,Math[_0x275346(0x3d6)](_0x5b641a,Math[_0x275346(0x2e3)](_0x53f4dc)));}function _0x50a233(_0x1829cb,_0x24f053){const _0x3721e8=_0x17666d;let _0x4af5d5=_0x4d7b12[_0x3721e8(0x1ea)][_0x3721e8(0xee)](_0x1829cb),_0xd692e5=_0x24f053['includeRecords']===!0x0,_0x40eb09=new Map(),_0x2847bc=_0x24f053['createViewId']??(()=>_0x3721e8(0x10b)+(0x0,_0x4d7b12[_0x3721e8(0x216)])(0x8)),_0xf779d3=_0x4af5d5['viewOrder'];return _0x24f053[_0x3721e8(0x3e5)]&&(_0xf779d3=_0x4af5d5[_0x3721e8(0x9c)][_0x3721e8(0xd9)](_0x1bd7cb=>{const _0x4ec1fa=_0x3721e8;let _0x317b63=_0x2847bc();return _0x40eb09[_0x4ec1fa(0x12c)](_0x1bd7cb,_0x317b63),_0x317b63;})),{..._0x4af5d5,'id':_0x24f053['id'],'name':_0x24f053[_0x3721e8(0x208)],'records':_0xd692e5?_0x4af5d5[_0x3721e8(0x14c)]:{},'recordOrder':_0xd692e5?_0x4af5d5[_0x3721e8(0x370)]:[],'rowIndex':_0xd692e5?_0x4af5d5[_0x3721e8(0x3db)]:{},'rowId':_0xd692e5?_0x4af5d5[_0x3721e8(0x357)]:{},'cellData':_0xd692e5?_0x4af5d5[_0x3721e8(0x17b)]:{},'resources':_0xd692e5?_0x4af5d5[_0x3721e8(0x171)]:{},'viewOrder':_0xf779d3,'views':Object[_0x3721e8(0x88)](Object['entries'](_0x4af5d5[_0x3721e8(0x420)]??{})[_0x3721e8(0xd9)](([_0x47da55,_0x29c368])=>{const _0x328604=_0x3721e8;let _0x47d5f2=_0x40eb09[_0x328604(0x9f)](_0x47da55)??(_0x24f053[_0x328604(0x3e5)]?_0x2847bc():_0x47da55);return[_0x47d5f2,{..._0x29c368,'id':_0x47d5f2,'tableId':_0x24f053['id']}];}))};}var _0x25590d='@univerjs-pro/bases',_0x58487f=_0x17666d(0x3c9);let _0x48d3f7={},_0x65144c={};function _0x45025f(_0x4f4a22){const _0x22a37b=_0x17666d;return new _0x51bfae()[_0x22a37b(0x43b)](_0x4f4a22);}function _0x267721(_0x20948c){const _0x38acff=_0x17666d;return _0x20948c[_0x38acff(0x160)][_0x38acff(0xd9)](_0x3dcf40=>({'unitId':_0x20948c[_0x38acff(0x44c)],'sheetId':_0x20948c['tableId'],'range':{'startRow':_0x3dcf40[_0x38acff(0x1b3)],'endRow':_0x3dcf40[_0x38acff(0x1b3)],'startColumn':_0x3dcf40[_0x38acff(0x282)],'endColumn':_0x3dcf40[_0x38acff(0x282)]}}));}function _0x49f9c9(_0x1467f4,_0x27a243){const _0x2e1b8=_0x17666d;return{[_0x1467f4]:Object['fromEntries'](_0x27a243[_0x2e1b8(0xd9)](_0xad5c24=>[_0xad5c24,'1']))};}let _0x2b17b=class extends _0x4d7b12[_0x17666d(0x134)]{constructor(_0x14d045,_0x2a8524){const _0x46439b=_0x17666d;super(),this[_0x46439b(0xd0)]=_0x14d045,this['_univerInstanceService']=_0x2a8524,this[_0x46439b(0x8d)]();}['_initialize'](){const _0x44bc73=_0x17666d;this[_0x44bc73(0xd0)][_0x44bc73(0x2af)](_0x36dd63['id'],{'commandId':_0x36dd63['id'],'getDirtyData':_0x2ca7d0=>this[_0x44bc73(0x22a)](_0x2ca7d0[_0x44bc73(0x133)])}),this[_0x44bc73(0xcc)]((0x0,_0x4d7b12['toDisposable'])(()=>{const _0x3fe155=_0x44bc73;this['_activeDirtyManagerService'][_0x3fe155(0xbf)](_0x36dd63['id']);}));}[_0x17666d(0x233)](_0x38be72,_0x5679e8){const _0x27cc6e=_0x17666d;let _0x1a36ff=this[_0x27cc6e(0xb2)][_0x27cc6e(0x27d)](_0x38be72,_0x4d7b12[_0x27cc6e(0xca)][_0x27cc6e(0x101)]);return(_0x1a36ff==null?void 0x0:_0x1a36ff[_0x27cc6e(0x2de)]()[_0x27cc6e(0x334)][_0x5679e8])??null;}[_0x17666d(0x22a)](_0x50fdd){const _0x1735ea=_0x17666d;if(_0x50fdd[_0x1735ea(0x398)]===_0x1735ea(0x36d))return{};if(!_0x50fdd[_0x1735ea(0x44c)]||!_0x50fdd['op'])return{'clearDependencyTreeCache':this['_getAllBaseDependencyTreeCacheMap'](),'forceCalculation':!0x0};let _0x1f7d0e=_0x45025f(_0x50fdd['op']),_0x2c10ca=this[_0x1735ea(0x295)](_0x50fdd['unitId'],_0x1f7d0e);if(_0x2c10ca[_0x1735ea(0x278)])return{'clearDependencyTreeCache':_0x49f9c9(_0x50fdd[_0x1735ea(0x44c)],_0x2c10ca),'forceCalculation':!0x0};let _0x17949c=Object[_0x1735ea(0x45d)](this['_groupCellInvalidations'](_0x50fdd['unitId'],_0x1f7d0e))[_0x1735ea(0x2b8)](([_0x3aed46,_0x24eeea])=>_0x267721({'unitId':_0x50fdd[_0x1735ea(0x44c)],'tableId':_0x3aed46,'patches':_0x24eeea}));return _0x17949c['length']?{'dirtyRanges':_0x17949c}:{};}[_0x17666d(0x295)](_0x2b9072,_0x59c026){const _0x533dfb=_0x17666d;let _0x1e03d8=_0x59c026[_0x533dfb(0x425)](_0x293fb0=>_0x293fb0['reason']!=='cell')['flatMap'](_0xcda1f7=>_0xcda1f7['tableId']?[_0xcda1f7['tableId']]:this[_0x533dfb(0x3d4)](_0x2b9072));return Array[_0x533dfb(0x2ba)](new Set(_0x1e03d8));}['_groupCellInvalidations'](_0x47cdbe,_0x36e8cc){const _0x1a79e3=_0x17666d;let _0x1dc69b=new Set();return _0x36e8cc[_0x1a79e3(0x2d9)]((_0x19a9fb,_0x2cd285)=>{const _0x214780=_0x1a79e3;let _0x16bf4=this[_0x214780(0xe3)](_0x47cdbe,_0x2cd285);if(!_0x16bf4)return _0x19a9fb;let _0x203df3=_0x2cd285[_0x214780(0x10c)]+':'+_0x16bf4['row']+':'+_0x16bf4[_0x214780(0x282)];return _0x1dc69b[_0x214780(0x1eb)](_0x203df3)?_0x19a9fb:(_0x1dc69b[_0x214780(0x3a1)](_0x203df3),_0x19a9fb[_0x2cd285[_0x214780(0x10c)]]=_0x19a9fb[_0x2cd285[_0x214780(0x10c)]]??[],_0x19a9fb[_0x2cd285[_0x214780(0x10c)]][_0x214780(0x112)](_0x16bf4),_0x19a9fb);},{});}[_0x17666d(0xe3)](_0x2c60c4,_0x18d124){const _0x5010ef=_0x17666d;if(_0x18d124[_0x5010ef(0x44e)]!=='cell')return null;if(_0x18d124['row']!=null&&_0x18d124[_0x5010ef(0x46f)]!=null)return{'row':_0x18d124['row'],'col':_0x18d124[_0x5010ef(0x46f)],'value':null};if(!_0x18d124[_0x5010ef(0x23d)]||!_0x18d124[_0x5010ef(0x424)])return null;let _0x56b2a4=this[_0x5010ef(0x233)](_0x2c60c4,_0x18d124[_0x5010ef(0x10c)]);if(!_0x56b2a4)return null;let _0x13e72f=_0x29a076(_0x56b2a4,_0x18d124[_0x5010ef(0x23d)],_0x18d124[_0x5010ef(0x424)]);return _0x13e72f?{'row':_0x13e72f[_0x5010ef(0x1b3)],'col':_0x13e72f[_0x5010ef(0x282)],'value':null}:null;}[_0x17666d(0x3d4)](_0x320831){const _0x2a871a=_0x17666d;let _0x2a98fe=this[_0x2a871a(0xb2)][_0x2a871a(0x27d)](_0x320831,_0x4d7b12[_0x2a871a(0xca)][_0x2a871a(0x101)]);return Object[_0x2a871a(0x3b2)]((_0x2a98fe==null?void 0x0:_0x2a98fe[_0x2a871a(0x2de)]()[_0x2a871a(0x334)])??{})[_0x2a871a(0xd9)](_0x144bcb=>_0x144bcb['id']);}[_0x17666d(0x7d)](){const _0x16af78=_0x17666d;let _0x434688=this[_0x16af78(0xb2)][_0x16af78(0x263)](_0x4d7b12['UniverInstanceType'][_0x16af78(0x101)])['map'](_0x4ac0b3=>_0x49f9c9(_0x4ac0b3['getUnitId'](),Object['keys'](_0x4ac0b3[_0x16af78(0x2de)]()[_0x16af78(0x334)])));return Object['assign']({},..._0x434688);}};_0x2b17b=_0x505956([_0x2661c4(0x0,_0x21a938[_0x17666d(0xeb)]),_0x2661c4(0x1,_0x4d7b12[_0x17666d(0x322)])],_0x2b17b);let _0x5c8ef8=class extends _0x4d7b12[_0x17666d(0x134)]{constructor(_0x48758,_0x13ed6d,_0x4a02fb,_0x4b4593){const _0x4cac8b=_0x17666d;super(),this[_0x4cac8b(0x326)]=_0x48758,this['_univerInstanceService']=_0x13ed6d,this[_0x4cac8b(0x2c7)]=_0x4a02fb,this[_0x4cac8b(0x3a5)]=_0x4b4593,_0x4aa85f(this,_0x4cac8b(0x167),new _0x199153()),_0x4aa85f(this,_0x4cac8b(0x3f9),new Map()),_0x4aa85f(this,_0x4cac8b(0x451),new Set()),_0x4aa85f(this,_0x4cac8b(0x157),Promise[_0x4cac8b(0x2a6)]()),_0x4aa85f(this,_0x4cac8b(0x423),!0x1),this[_0x4cac8b(0x8d)]();}[_0x17666d(0x8d)](){const _0x55a45e=_0x17666d;this[_0x55a45e(0xb2)][_0x55a45e(0x263)](_0x4d7b12[_0x55a45e(0xca)][_0x55a45e(0x101)])[_0x55a45e(0x3cc)](_0x76f498=>{const _0x3900bf=_0x55a45e;this[_0x3900bf(0x385)](_0x76f498);}),this[_0x55a45e(0xcc)](this[_0x55a45e(0xb2)][_0x55a45e(0x1ec)](_0x4d7b12[_0x55a45e(0xca)][_0x55a45e(0x101)])[_0x55a45e(0x22c)](({unit:_0x50c9bc})=>{const _0x279a35=_0x55a45e;this[_0x279a35(0x385)](_0x50c9bc);})),this[_0x55a45e(0xcc)](this['_univerInstanceService'][_0x55a45e(0x2dc)](_0x4d7b12['UniverInstanceType'][_0x55a45e(0x101)])['subscribe'](_0x2c7336=>{const _0x2e74e4=_0x55a45e;this[_0x2e74e4(0x1e2)](()=>this[_0x2e74e4(0xd5)](_0x2c7336[_0x2e74e4(0xbc)]()));})),this['disposeWithMe'](this[_0x55a45e(0x326)][_0x55a45e(0xb1)](_0x381e54=>this['_onCommandExecuted'](_0x381e54)));}[_0x17666d(0x2bd)](_0x1f6592){const _0x59664d=_0x17666d;if(_0x1f6592['id']===_0x21a938[_0x59664d(0x1cf)]['id']){_0x4096c9(_0x1f6592[_0x59664d(0x133)])&&this[_0x59664d(0x185)](_0x1f6592['params']);return;}if(this['_applyingFormulaResults']||_0x1f6592['id']!==_0x36dd63['id'])return;let _0x39538c=_0x5aef7f(_0x1f6592[_0x59664d(0x133)])?_0x1f6592[_0x59664d(0x133)]:void 0x0,_0x511391=_0x39538c!=null&&_0x39538c[_0x59664d(0x44c)]?[this[_0x59664d(0xb2)]['getUnit'](_0x39538c[_0x59664d(0x44c)],_0x4d7b12[_0x59664d(0xca)][_0x59664d(0x101)])][_0x59664d(0x425)](_0x16d88f=>!!_0x16d88f):this['_univerInstanceService'][_0x59664d(0x263)](_0x4d7b12[_0x59664d(0xca)][_0x59664d(0x101)]),_0x2a22fc=_0x39538c==null?void 0x0:_0x39538c['op'];_0x511391[_0x59664d(0x3cc)](_0x110aa0=>{const _0x565e6f=_0x59664d;let _0x1d64ca=_0x2a22fc?_0x45025f(_0x2a22fc):[];(!_0x2a22fc||_0x1d64ca[_0x565e6f(0x256)](_0x526b9e=>_0x526b9e['reason']!=='cell'))&&this['_scheduleSuperTableSync'](_0x110aa0);});}['_scheduleSuperTableSync'](_0xb9faa9){const _0xdf539d=_0x17666d;let _0x205dea=_0xb9faa9[_0xdf539d(0xbc)]();this['_scheduledSuperTableSyncs'][_0xdf539d(0x1eb)](_0x205dea)||(this[_0xdf539d(0x451)][_0xdf539d(0x3a1)](_0x205dea),this[_0xdf539d(0x1e2)](async()=>{const _0x1587c2=_0xdf539d;this['_scheduledSuperTableSyncs'][_0x1587c2(0x205)](_0x205dea),await this['_syncSuperTables'](_0xb9faa9);}));}async[_0x17666d(0x1e8)](_0x5017a6){const _0xb5b2d4=_0x17666d;let _0x157b35=_0x5017a6[_0xb5b2d4(0xbc)](),_0x3d601b=this[_0xb5b2d4(0x167)][_0xb5b2d4(0x253)](_0x5017a6[_0xb5b2d4(0x2de)]()),_0x5001be=new Set(_0x3d601b[_0xb5b2d4(0xd9)](({tableName:_0x5eb214})=>_0x5eb214)),_0x1cc091=this['_registeredSuperTableNames'][_0xb5b2d4(0x9f)](_0x157b35)??new Set();for(let _0x55fb64 of _0x1cc091)if(!_0x5001be[_0xb5b2d4(0x1eb)](_0x55fb64)&&!await this[_0xb5b2d4(0x8c)](_0x21a938[_0xb5b2d4(0x2ef)]['id'],{'unitId':_0x157b35,'tableName':_0x55fb64}))return;for(let {tableName:_0x4c211f,reference:_0x1e19ee}of _0x3d601b)if(!await this[_0xb5b2d4(0x8c)](_0x21a938[_0xb5b2d4(0x213)]['id'],{'unitId':_0x157b35,'tableName':_0x4c211f,'reference':_0x1e19ee}))return;this[_0xb5b2d4(0x3f9)]['set'](_0x157b35,_0x5001be);}async[_0x17666d(0xd5)](_0x4eed77){const _0x105792=_0x17666d;let _0x495371=this[_0x105792(0x3f9)][_0x105792(0x9f)](_0x4eed77)??new Set();for(let _0xeffb03 of _0x495371)if(!await this[_0x105792(0x8c)](_0x21a938[_0x105792(0x2ef)]['id'],{'unitId':_0x4eed77,'tableName':_0xeffb03}))return;this[_0x105792(0x3f9)]['delete'](_0x4eed77);}async[_0x17666d(0x8c)](_0x1c3385,_0x5d3357){const _0x2a500e=_0x17666d;return!this['_disposed']&&await this['_commandService'][_0x2a500e(0x39e)](_0x1c3385,_0x5d3357,{'onlyLocal':!0x0})&&!this[_0x2a500e(0x3da)];}[_0x17666d(0x1e2)](_0x5b6051){const _0x3832b6=_0x17666d;this[_0x3832b6(0x157)]=this[_0x3832b6(0x157)][_0x3832b6(0x299)](_0x5b6051,_0x5b6051)[_0x3832b6(0x86)](()=>void 0x0);}[_0x17666d(0x185)](_0x258606){const _0x1862f2=_0x17666d;let _0x3bbfa3=this[_0x1862f2(0xb2)]['getAllUnitsForType'](_0x4d7b12[_0x1862f2(0xca)][_0x1862f2(0x101)]);if(!_0x3bbfa3[_0x1862f2(0x256)](_0xef1b8a=>{const _0x3094bb=_0x1862f2;var _0x518bce;return((_0x518bce=_0x258606[_0x3094bb(0x1c3)])==null?void 0x0:_0x518bce[_0xef1b8a[_0x3094bb(0xbc)]()])!=null;}))return;let _0x114e4e=_0x3bbfa3['flatMap'](_0x5941e0=>_0x233b6f(_0x5941e0[_0x1862f2(0x2de)](),_0x258606));if(!_0x114e4e[_0x1862f2(0x278)]){this['_formulaCalculationSessionService'][_0x1862f2(0x33a)](_0x38bc67[_0x1862f2(0x183)][_0x1862f2(0x42e)],_0x258606);return;}let _0xf95d92=new _0x7bf11a(),_0x27d673=_0x114e4e[_0x1862f2(0x2b8)](_0x5062ff=>_0x267721({'unitId':_0x5062ff['unitId'],'tableId':_0x5062ff[_0x1862f2(0x10c)],'patches':_0x5062ff['patches']}));this[_0x1862f2(0x423)]=!0x0,(async()=>{const _0x5ceb18=_0x1862f2;for(let _0x504789 of _0x114e4e){let _0x1adf8c=this[_0x5ceb18(0xb2)][_0x5ceb18(0x27d)](_0x504789['unitId'],_0x4d7b12[_0x5ceb18(0xca)][_0x5ceb18(0x101)]);_0x1adf8c&&await this['_commandService'][_0x5ceb18(0x39e)](_0x36dd63['id'],{'unitId':_0x504789[_0x5ceb18(0x44c)],'op':_0xf95d92['setRangeValues'](_0x1adf8c['getSnapshot'](),_0x504789[_0x5ceb18(0x10c)],_0x504789[_0x5ceb18(0x160)]),'trigger':_0x21a938[_0x5ceb18(0x1cf)]['id']},{'onlyLocal':!0x0});}await this[_0x5ceb18(0x326)][_0x5ceb18(0x39e)](_0x21a938[_0x5ceb18(0x214)]['id'],{'dirtyRanges':_0x27d673},{'onlyLocal':!0x0});})()[_0x1862f2(0x1b7)](()=>{const _0x295f2f=_0x1862f2;this[_0x295f2f(0x423)]=!0x1,this[_0x295f2f(0x3a5)]['markResultApplied'](_0x38bc67[_0x295f2f(0x183)][_0x295f2f(0x42e)],_0x258606);});}};_0x5c8ef8=_0x505956([_0x2661c4(0x0,_0x4d7b12['ICommandService']),_0x2661c4(0x1,_0x4d7b12[_0x17666d(0x322)]),_0x2661c4(0x2,(0x0,_0x4d7b12[_0x17666d(0x2ab)])(_0x21a938[_0x17666d(0x184)])),_0x2661c4(0x3,(0x0,_0x4d7b12[_0x17666d(0x2ab)])(_0x38bc67['FormulaCalculationSessionService']))],_0x5c8ef8);function _0x5aef7f(_0x43debe){const _0x14e3d6=_0x17666d;return typeof _0x43debe=='object'&&!!_0x43debe&&'unitId'in _0x43debe&&typeof _0x43debe['unitId']=='string'&&'op'in _0x43debe&&Array[_0x14e3d6(0x46e)](_0x43debe['op']);}function _0x4096c9(_0x56cd56){const _0x1a278a=_0x17666d;return typeof _0x56cd56==_0x1a278a(0x297)&&!!_0x56cd56&&'unitData'in _0x56cd56&&_0x1a278a(0x3ac)in _0x56cd56;}let _0x3e100c=(0x0,_0x4d7b12[_0x17666d(0x1b4)])(_0x17666d(0x154)),_0x58d31d=class{constructor(_0x2cd501){const _0x2b60dc=_0x17666d;this[_0x2b60dc(0xb2)]=_0x2cd501;}[_0x17666d(0x1ca)](_0x5c47bf){const _0x265121=_0x17666d;return this['_univerInstanceService'][_0x265121(0x27d)](_0x5c47bf,_0x4d7b12['UniverInstanceType'][_0x265121(0x101)])??null;}[_0x17666d(0x40b)](){const _0x3026ec=_0x17666d;return this['_univerInstanceService'][_0x3026ec(0x263)](_0x4d7b12['UniverInstanceType'][_0x3026ec(0x101)]);}['createBase'](_0x49c774){const _0x453f84=_0x17666d;return this[_0x453f84(0xb2)][_0x453f84(0x14d)](_0x4d7b12[_0x453f84(0xca)][_0x453f84(0x101)],_0x49c774);}};_0x58d31d=_0x505956([_0x2661c4(0x0,_0x4d7b12[_0x17666d(0x322)])],_0x58d31d);let _0x461ab0=(0x0,_0x4d7b12[_0x17666d(0x1b4)])(_0x17666d(0xe6));var _0xfe6dd6=class extends _0x4d7b12['Disposable']{constructor(..._0x3de6c1){const _0x127beb=_0x17666d;super(..._0x3de6c1),_0x4aa85f(this,_0x127beb(0x1c0),new Map());}['register'](_0x1ef6e6){const _0x69b02d=_0x17666d;return this[_0x69b02d(0x1c0)][_0x69b02d(0x12c)](_0x1ef6e6[_0x69b02d(0x466)],_0x1ef6e6),(0x0,_0x4d7b12[_0x69b02d(0xf6)])(()=>this['_plugins'][_0x69b02d(0x205)](_0x1ef6e6[_0x69b02d(0x466)]));}['get'](_0x1bf35a){const _0xdc4b6a=_0x17666d;let _0x479406=this[_0xdc4b6a(0x1c0)][_0xdc4b6a(0x9f)](_0x1bf35a);if(!_0x479406)throw Error(_0xdc4b6a(0x354)+_0x1bf35a+_0xdc4b6a(0x169));return _0x479406;}[_0x17666d(0x121)](){const _0x123ea0=_0x17666d;return Array['from'](this[_0x123ea0(0x1c0)][_0x123ea0(0x3b2)]());}};let _0x492853=[_0x36dd63],_0x3aa71f=class extends _0x4d7b12[_0x17666d(0x20a)]{constructor(_0x54793b=_0x48d3f7,_0x102bb7,_0x35a7b0,_0x21a04d,_0x5b29b7,_0x2c2a08){const _0x4555e7=_0x17666d;super(),this[_0x4555e7(0x387)]=_0x54793b,this[_0x4555e7(0x1ba)]=_0x102bb7,this[_0x4555e7(0x326)]=_0x35a7b0,this['_univerInstanceService']=_0x21a04d,this[_0x4555e7(0x2c0)]=_0x5b29b7,this[_0x4555e7(0xa7)]=_0x2c2a08,_0x4aa85f(this,_0x4555e7(0xb0),new Map());let {..._0x109777}=(0x0,_0x4d7b12[_0x4555e7(0x18d)])({},_0x48d3f7,this[_0x4555e7(0x387)]);this['_configService'][_0x4555e7(0x243)](_0x4555e7(0x34d),_0x109777),this[_0x4555e7(0xb2)][_0x4555e7(0x447)](_0x4d7b12[_0x4555e7(0xca)][_0x4555e7(0x101)],_0x4d7b12[_0x4555e7(0xde)]),this[_0x4555e7(0x102)](),this[_0x4555e7(0x251)](),this[_0x4555e7(0x203)](),this[_0x4555e7(0xb6)]();}[_0x17666d(0x3a8)](){const _0x5f555c=_0x17666d;(0x0,_0x4d7b12[_0x5f555c(0x399)])(this['_injector'],[[_0x58d31d],[_0x17807c],[_0x2b17b]]),this[_0x5f555c(0xb2)][_0x5f555c(0x263)](_0x4d7b12[_0x5f555c(0xca)][_0x5f555c(0x101)])['forEach'](_0x383996=>this['_syncBaseUnit'](_0x383996[_0x5f555c(0xbc)]())),(0x0,_0x4d7b12['touchDependencies'])(this[_0x5f555c(0x1ba)],[[_0x5c8ef8]]);}[_0x17666d(0x102)](){const _0x516abd=_0x17666d;[[_0x336523,{'useClass':_0x21739f}],[_0x461ab0,{'useClass':_0xfe6dd6}],[_0x465d1d,{'useClass':_0x2f3355}],[_0x3e100c,{'useClass':_0x58d31d}],[_0x2403d4,{'useClass':_0x521723}],[_0x401e28,{'useClass':_0x17807c}],[_0x2b17b],[_0x5c8ef8]][_0x516abd(0x3cc)](_0x225c1f=>this['_injector'][_0x516abd(0x3a1)](_0x225c1f));}[_0x17666d(0x251)](){const _0x122827=_0x17666d;[_0x4ba48d,_0xd3d58b,_0x5c4563,_0x8a17eb,_0xeed559,_0x3dfb10,_0x35ff7e,_0x15cba5,_0x77177,_0x51198c,_0x3b3459,_0x20f735,_0x4cc408,_0x4aecf2,_0x2dcccf,_0x3e1911,_0x1ffb91,_0x3c356d,_0x36097,_0x2ddfa7,_0x17969b,_0x306611,_0x2a9a84,_0x186600,_0xbd2d19,_0x48f4a9,_0x273fa1,_0x670e18,_0x1f183c,_0x1e5bc4,_0x55eaee,_0x8475ae,_0x2b3c19,_0x4df541,_0x1b69b9,_0x309fb7,_0xdd5a2,_0xe8fa1f,_0x475f5d,..._0x492853][_0x122827(0x3cc)](_0xd5bf04=>this[_0x122827(0xcc)](this['_commandService'][_0x122827(0x19f)](_0xd5bf04))),_0x492853[_0x122827(0x3cc)](_0x3d0f04=>{const _0x4d857e=_0x122827;var _0x25558f;return(_0x25558f=this['_dataSyncPrimaryController'])==null?void 0x0:_0x25558f[_0x4d857e(0x374)](_0x3d0f04);});}['_initDataSync'](){const _0x3ed962=_0x17666d;this[_0x3ed962(0xa7)]&&(this[_0x3ed962(0xcc)](this['_univerInstanceService'][_0x3ed962(0x1ec)](_0x4d7b12[_0x3ed962(0xca)][_0x3ed962(0x101)])[_0x3ed962(0x22c)](({unit:_0x3e9383})=>{const _0x214f86=_0x3ed962;this['_syncBaseUnit'](_0x3e9383[_0x214f86(0xbc)]());})),this[_0x3ed962(0xcc)](this[_0x3ed962(0xb2)]['getTypeOfUnitDisposed$'](_0x4d7b12[_0x3ed962(0xca)][_0x3ed962(0x101)])[_0x3ed962(0x22c)](_0x45ed09=>{const _0xbdc8b=_0x3ed962;var _0x187c23;(_0x187c23=this['_baseSyncDisposables'][_0xbdc8b(0x9f)](_0x45ed09['getUnitId']()))==null||_0x187c23[_0xbdc8b(0x37c)](),this['_baseSyncDisposables'][_0xbdc8b(0x205)](_0x45ed09['getUnitId']());})));}[_0x17666d(0x1ab)](_0x2ce481){const _0x2c11c6=_0x17666d;!this[_0x2c11c6(0xa7)]||this[_0x2c11c6(0xb0)][_0x2c11c6(0x1eb)](_0x2ce481)||this[_0x2c11c6(0xb0)][_0x2c11c6(0x12c)](_0x2ce481,this[_0x2c11c6(0xa7)][_0x2c11c6(0x310)](_0x2ce481));}[_0x17666d(0x203)](){const _0x1b7977=_0x17666d;let _0x4b72af=this[_0x1b7977(0x1ba)][_0x1b7977(0x9f)](_0x336523);_0x5d1e9d()[_0x1b7977(0x3cc)](_0x12fcb3=>_0x4b72af[_0x1b7977(0x2af)](_0x12fcb3));let _0x3e9f27=this[_0x1b7977(0x1ba)]['get'](_0x461ab0),_0x1cce50=this[_0x1b7977(0x1ba)][_0x1b7977(0x9f)](_0x465d1d);_0x2efe7c()['forEach'](_0x296897=>{const _0x30330a=_0x1b7977;_0x3e9f27[_0x30330a(0x2af)](_0x296897),_0x1cce50[_0x30330a(0x2cc)](_0x296897);});}};_0x4aa85f(_0x3aa71f,_0x17666d(0x364),_0x17666d(0x30e)),_0x4aa85f(_0x3aa71f,'packageName',_0x25590d),_0x4aa85f(_0x3aa71f,_0x17666d(0x346),_0x58487f),_0x4aa85f(_0x3aa71f,_0x17666d(0x466),_0x4d7b12['UniverInstanceType'][_0x17666d(0x101)]),_0x3aa71f=_0x505956([(0x0,_0x4d7b12['DependentOn'])(_0x2837f2[_0x17666d(0x128)],_0x21a938[_0x17666d(0x96)]),_0x2661c4(0x1,(0x0,_0x4d7b12[_0x17666d(0x2ab)])(_0x4d7b12[_0x17666d(0x2f8)])),_0x2661c4(0x2,_0x4d7b12['ICommandService']),_0x2661c4(0x3,_0x4d7b12[_0x17666d(0x322)]),_0x2661c4(0x4,_0x4d7b12[_0x17666d(0x25e)]),_0x2661c4(0x5,(0x0,_0x4d7b12[_0x17666d(0x319)])(_0x39f057[_0x17666d(0x226)]))],_0x3aa71f);let _0x20df28=class extends _0x4d7b12['Plugin']{constructor(_0xac90c=_0x65144c,_0xe2acd9,_0x44dd9d,_0x46fb17,_0xef212a){const _0x43b7be=_0x17666d;super(),this[_0x43b7be(0x387)]=_0xac90c,this['_injector']=_0xe2acd9,this[_0x43b7be(0x326)]=_0x44dd9d,this[_0x43b7be(0x2c0)]=_0x46fb17,this[_0x43b7be(0xb2)]=_0xef212a;let {..._0x4d433d}=(0x0,_0x4d7b12['merge'])({},_0x65144c,this['_config']);this[_0x43b7be(0x2c0)][_0x43b7be(0x243)](_0x43b7be(0x170),_0x4d433d),this[_0x43b7be(0xb2)][_0x43b7be(0x447)](_0x4d7b12[_0x43b7be(0xca)][_0x43b7be(0x101)],_0x4d7b12['BaseDataModel']),[[_0x336523,{'useClass':_0x21739f}],[_0x465d1d,{'useClass':_0x2f3355}]][_0x43b7be(0x3cc)](_0x2732bf=>this[_0x43b7be(0x1ba)][_0x43b7be(0x3a1)](_0x2732bf)),_0x492853['forEach'](_0x8baa4c=>this[_0x43b7be(0xcc)](this[_0x43b7be(0x326)][_0x43b7be(0x19f)](_0x8baa4c)));}};_0x4aa85f(_0x20df28,_0x17666d(0x364),_0x17666d(0x347)),_0x4aa85f(_0x20df28,_0x17666d(0x2f4),_0x25590d),_0x4aa85f(_0x20df28,_0x17666d(0x346),_0x58487f),_0x4aa85f(_0x20df28,_0x17666d(0x466),_0x4d7b12[_0x17666d(0xca)][_0x17666d(0x101)]),_0x20df28=_0x505956([(0x0,_0x4d7b12[_0x17666d(0x323)])(_0x2837f2['UniverLicensePlugin'],_0x21a938[_0x17666d(0x96)]),_0x2661c4(0x1,(0x0,_0x4d7b12[_0x17666d(0x2ab)])(_0x4d7b12[_0x17666d(0x2f8)])),_0x2661c4(0x2,_0x4d7b12[_0x17666d(0x32e)]),_0x2661c4(0x3,_0x4d7b12[_0x17666d(0x25e)]),_0x2661c4(0x4,_0x4d7b12[_0x17666d(0x322)])],_0x20df28);function _0x1ab613(_0x3628fc){const _0x507c95=_0x17666d;let _0x1c8350=_0x18fdfc(_0x3628fc[_0x507c95(0x284)]);if(!_0x1c8350)return{'query':'','total':0x0,'matches':[]};let _0x355cec=[],_0x29a79c=[];for(let _0x469223=0x0;_0x469223<_0x3628fc[_0x507c95(0x275)][_0x507c95(0x278)];_0x469223++){if(!(_0x469223 in _0x3628fc[_0x507c95(0x275)]))continue;let _0x1d6896=_0x3628fc[_0x507c95(0x39f)][_0x507c95(0x129)][_0x3628fc[_0x507c95(0x275)][_0x469223]];_0x1d6896&&_0x29a79c[_0x507c95(0x112)]({'field':_0x1d6896,'fieldIndex':_0x469223});}_0x3628fc[_0x507c95(0x90)][_0x507c95(0x3cc)]((_0x1ce758,_0x40062d)=>{const _0x194100=_0x507c95;_0x29a79c[_0x194100(0x3cc)](({field:_0x2380da,fieldIndex:_0x17e82e})=>{const _0x59d29f=_0x194100;let _0x2ea8c5=_0x35df6f(_0x1ce758[_0x59d29f(0x3b2)][_0x2380da['id']],_0x2380da);if(!_0x2ea8c5)return;let _0x5807d1=_0x5abf1e(_0x1c8350,_0x2ea8c5[_0x59d29f(0xae)]);_0x5807d1<=0x0||_0x355cec['push']({'recordId':_0x1ce758[_0x59d29f(0x23d)],'fieldId':_0x2380da['id'],'fieldType':_0x2380da[_0x59d29f(0x466)],'text':_0x2ea8c5['displayText'],'score':_0x5807d1,'rowIndex':_0x40062d,'fieldIndex':_0x17e82e});});}),_0x355cec[_0x507c95(0x3bb)]((_0x25374a,_0x14c433)=>_0x14c433['score']-_0x25374a[_0x507c95(0x107)]||_0x25374a[_0x507c95(0x3db)]-_0x14c433[_0x507c95(0x3db)]||_0x25374a[_0x507c95(0x396)]-_0x14c433[_0x507c95(0x396)]);let _0x1b274b=_0x3628fc[_0x507c95(0xe0)]==null?_0x355cec:_0x355cec[_0x507c95(0x3fc)](0x0,Math[_0x507c95(0x3e8)](0x0,_0x3628fc[_0x507c95(0xe0)]));return{'query':_0x1c8350,'total':_0x355cec[_0x507c95(0x278)],'matches':_0x4d4a24(_0x1b274b)};}function _0x35df6f(_0x3a2225,_0x48b95c){const _0xc70304=_0x17666d;let _0x3ceec0=[];for(let _0x4ccb41 of _0x2bb6fa(_0x3a2225,_0x48b95c)){let _0xc62ab3=_0x18fdfc(_0x4ccb41);_0xc62ab3&&_0x3ceec0[_0xc70304(0x112)](_0xc62ab3);}return _0x3ceec0[_0xc70304(0x278)]?{'displayText':_0x3b3273(_0x3a2225,_0x48b95c),'searchTexts':_0x3ec300(_0x3ceec0)}:null;}function _0x3b3273(_0x4bea95,_0x41f2c8){const _0x37fada=_0x17666d;switch(_0x41f2c8[_0x37fada(0x466)]){case _0x4d7b12[_0x37fada(0x419)]['SingleSelect']:case _0x4d7b12[_0x37fada(0x419)][_0x37fada(0x1a7)]:case _0x4d7b12['BaseFieldType']['Group']:return _0x39e586(_0x4bea95,_0x41f2c8)[_0x37fada(0x1ef)](',\x20');case _0x4d7b12[_0x37fada(0x419)]['Link']:return _0x1381f5(_0x4bea95);case _0x4d7b12[_0x37fada(0x419)]['Date']:case _0x4d7b12['BaseFieldType'][_0x37fada(0x1a0)]:case _0x4d7b12['BaseFieldType'][_0x37fada(0x2e7)]:return _0x3bc937(_0x4bea95,_0x41f2c8);case _0x4d7b12[_0x37fada(0x419)][_0x37fada(0x34f)]:case _0x4d7b12[_0x37fada(0x419)][_0x37fada(0x1fe)]:return _0x5ec162(_0x4bea95,_0x41f2c8);case _0x4d7b12['BaseFieldType'][_0x37fada(0x1d8)]:return _0x20a50f(_0x4bea95,_0x41f2c8);case _0x4d7b12[_0x37fada(0x419)]['Checkbox']:return _0x4bea95?_0x37fada(0x301):_0x37fada(0x104);case _0x4d7b12[_0x37fada(0x419)]['Attachment']:return _0x2338af(_0x4bea95)['join'](',\x20');default:return _0x105cc1(_0x4bea95);}}function _0x2bb6fa(_0xdfc576,_0x5b16cd){const _0x1be0cc=_0x17666d;switch(_0x5b16cd[_0x1be0cc(0x466)]){case _0x4d7b12[_0x1be0cc(0x419)][_0x1be0cc(0x191)]:case _0x4d7b12[_0x1be0cc(0x419)][_0x1be0cc(0x1a7)]:case _0x4d7b12[_0x1be0cc(0x419)]['Group']:{let _0x507441=_0x39e586(_0xdfc576,_0x5b16cd);if(Array[_0x1be0cc(0x46e)](_0xdfc576)){let _0x51b8ff=[..._0x507441];for(let _0x3eea81=0x0;_0x3eea81<_0xdfc576[_0x1be0cc(0x278)];_0x3eea81++)_0x3eea81 in _0xdfc576&&_0x51b8ff[_0x1be0cc(0x112)](String(_0xdfc576[_0x3eea81]));return _0x51b8ff;}return _0xdfc576==null?_0x507441:[..._0x507441,String(_0xdfc576)];}case _0x4d7b12[_0x1be0cc(0x419)][_0x1be0cc(0x85)]:{let _0xb5e76a=_0x72d39c(_0xdfc576);return[_0xb5e76a[_0x1be0cc(0x146)],_0xb5e76a[_0x1be0cc(0x3ae)]];}case _0x4d7b12[_0x1be0cc(0x419)][_0x1be0cc(0x32c)]:case _0x4d7b12[_0x1be0cc(0x419)][_0x1be0cc(0x1a0)]:case _0x4d7b12[_0x1be0cc(0x419)][_0x1be0cc(0x2e7)]:return[_0x3bc937(_0xdfc576,_0x5b16cd),_0x105cc1(_0xdfc576)];case _0x4d7b12[_0x1be0cc(0x419)][_0x1be0cc(0x34f)]:case _0x4d7b12[_0x1be0cc(0x419)]['Currency']:return[_0x5ec162(_0xdfc576,_0x5b16cd),_0x105cc1(_0xdfc576)];case _0x4d7b12[_0x1be0cc(0x419)]['Progress']:return[_0x20a50f(_0xdfc576,_0x5b16cd),_0x105cc1(_0xdfc576)];case _0x4d7b12[_0x1be0cc(0x419)][_0x1be0cc(0x317)]:return _0xdfc576?[_0x1be0cc(0x301),'Yes',_0x1be0cc(0x1dd)]:[_0x1be0cc(0x104),'No','False'];case _0x4d7b12[_0x1be0cc(0x419)][_0x1be0cc(0x312)]:return _0x2338af(_0xdfc576);default:return[_0x105cc1(_0xdfc576)];}}function _0x39e586(_0x1496ff,_0x4c0016){const _0x5a117e=_0x17666d;var _0x3c2784;let _0x19bf7a=Array[_0x5a117e(0x46e)]((_0x3c2784=_0x4c0016['config'])==null?void 0x0:_0x3c2784['options'])?_0x4c0016['config'][_0x5a117e(0x3d9)]:[],_0x33abec=[];if(Array[_0x5a117e(0x46e)](_0x1496ff)){for(let _0x590129=0x0;_0x590129<_0x1496ff['length'];_0x590129++){if(!(_0x590129 in _0x1496ff))continue;let _0x5be82b=String(_0x1496ff[_0x590129]);_0x5be82b&&_0x33abec[_0x5a117e(0x112)](_0x4e8265(_0x19bf7a,_0x5be82b));}return _0x33abec;}if(_0x1496ff!=null){let _0x1a1007=String(_0x1496ff);_0x1a1007&&_0x33abec[_0x5a117e(0x112)](_0x4e8265(_0x19bf7a,_0x1a1007));}return _0x33abec;}function _0x4e8265(_0x386e68,_0x341dca){const _0x1fce2c=_0x17666d;for(let _0xc36459 of _0x386e68){if(typeof _0xc36459==_0x1fce2c(0x3af)&&_0xc36459===_0x341dca)return _0xc36459;if(_0xc36459&&typeof _0xc36459=='object'){let _0xaf4041=_0xc36459;if(String(_0xaf4041['id']??_0xaf4041['name']??'')===_0x341dca||String(_0xaf4041[_0x1fce2c(0x208)]??'')===_0x341dca)return String(_0xaf4041['name']??_0xaf4041['id']??_0x341dca);}}return _0x341dca;}function _0x72d39c(_0x498ccb){const _0x5649dc=_0x17666d;if(_0x498ccb&&typeof _0x498ccb=='object'&&!Array['isArray'](_0x498ccb)){let _0x20b367=_0x498ccb;return{'text':String(_0x20b367[_0x5649dc(0x146)]??_0x20b367[_0x5649dc(0x3ae)]??''),'url':String(_0x20b367[_0x5649dc(0x3ae)]??'')};}return{'text':_0x105cc1(_0x498ccb),'url':_0x105cc1(_0x498ccb)};}function _0x1381f5(_0x61f232){const _0x24edbd=_0x17666d;let _0x4f494e=_0x72d39c(_0x61f232);return _0x4f494e[_0x24edbd(0x146)]||_0x4f494e['url'];}function _0x3bc937(_0xf72f19,_0x4a8289){const _0x170418=_0x17666d;return typeof _0xf72f19!=_0x170418(0x2c1)||!Number[_0x170418(0x1c5)](_0xf72f19)?'':_0x2e1927(_0xf72f19,_0x4a8289[_0x170418(0x39d)]);}function _0x5ec162(_0x491793,_0x21796f){const _0x4e51e0=_0x17666d;let _0x28c1f8=typeof _0x491793=='number'?_0x491793:Number(_0x491793);return Number[_0x4e51e0(0x1c5)](_0x28c1f8)?_0x3e1d38(_0x28c1f8,_0x21796f[_0x4e51e0(0x39d)]):'';}function _0x20a50f(_0x55ac22,_0x3e5f78){const _0x1d9d33=_0x17666d;let _0x1d07f8=typeof _0x55ac22=='number'?_0x55ac22:Number(_0x55ac22);return Number[_0x1d9d33(0x1c5)](_0x1d07f8)?_0x125962(_0x1d07f8,_0x3e5f78[_0x1d9d33(0x39d)]):'';}function _0x2338af(_0x159fb1){const _0xc79853=_0x17666d;return Array[_0xc79853(0x46e)](_0x159fb1)?_0x159fb1['flatMap'](_0x5f5a37=>{const _0x4ac9b3=_0xc79853;if(!_0x5f5a37||typeof _0x5f5a37!='object')return[];let _0x4436f7=_0x5f5a37,_0x584269=String(_0x4436f7[_0x4ac9b3(0x208)]??_0x4436f7[_0x4ac9b3(0x3ae)]??'')[_0x4ac9b3(0x11d)]();return _0x584269?[_0x584269]:[];}):[];}function _0x105cc1(_0xf0c3a0){const _0x1e0037=_0x17666d;if(_0xf0c3a0==null)return'';if(typeof _0xf0c3a0==_0x1e0037(0x217))return _0xf0c3a0?_0x1e0037(0x222):_0x1e0037(0x3d2);if(typeof _0xf0c3a0==_0x1e0037(0x2c1))return String(_0xf0c3a0);if(Array[_0x1e0037(0x46e)](_0xf0c3a0)){let _0x1a03b9=[];for(let _0x452303=0x0;_0x452303<_0xf0c3a0[_0x1e0037(0x278)];_0x452303++){if(!(_0x452303 in _0xf0c3a0))continue;let _0x54f20f=_0x105cc1(_0xf0c3a0[_0x452303]);_0x54f20f&&_0x1a03b9['push'](_0x54f20f);}return _0x1a03b9[_0x1e0037(0x1ef)](',\x20');}if(typeof _0xf0c3a0==_0x1e0037(0x297)){let _0x2cf70c=_0xf0c3a0;return String(_0x2cf70c[_0x1e0037(0x95)]??_0x2cf70c['name']??_0x2cf70c[_0x1e0037(0x146)]??_0x2cf70c[_0x1e0037(0x3ae)]??'')['trim']();}return String(_0xf0c3a0);}function _0x5abf1e(_0x1e8112,_0x49e856){const _0x46050b=_0x17666d;let _0x106383=0x0;for(let _0x58c5b1 of _0x49e856)if(_0x58c5b1){if(_0x58c5b1===_0x1e8112){_0x106383=Math[_0x46050b(0x3e8)](_0x106383,0x12c);continue;}if(_0x58c5b1['startsWith'](_0x1e8112)){_0x106383=Math['max'](_0x106383,0xfa);continue;}_0x58c5b1[_0x46050b(0x3ff)](_0x1e8112)&&(_0x106383=Math[_0x46050b(0x3e8)](_0x106383,0xc8));}return _0x106383;}function _0x18fdfc(_0x329efc){const _0x41c04d=_0x17666d;return _0x329efc[_0x41c04d(0x11d)]()[_0x41c04d(0x1a9)](/\s+/g,'\x20')[_0x41c04d(0x35a)]();}function _0x3ec300(_0x2cd265){const _0x518353=_0x17666d;return Array[_0x518353(0x2ba)](new Set(_0x2cd265));}function _0x4d4a24(_0x1c66c6){const _0x1fbd84=_0x17666d;let _0x25271b=[];for(let {rowIndex:_0x522617,fieldIndex:_0x2b8df8,..._0x5ead32}of _0x1c66c6)_0x25271b[_0x1fbd84(0x112)](_0x5ead32);return _0x25271b;}_0x9c1748[_0x17666d(0x2dd)]=_0x36dd63,_0x9c1748['BASE_FIELD_STAT_TYPES']=_0x5c1b52,_0x9c1748[_0x17666d(0x246)]=0x5,_0x9c1748[_0x17666d(0x1d6)]=_0x2e101c,_0x9c1748[_0x17666d(0x283)]='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).',_0x9c1748[_0x17666d(0x22f)]=_0x55eef0,_0x9c1748[_0x17666d(0x24e)]=_0x5693c1,_0x9c1748[_0x17666d(0x37f)]=_0x199153,_0x9c1748['BaseHierarchyError']=_0x2f9e6c,_0x9c1748['BaseHierarchyErrorCode']=_0x18b9d3,_0x9c1748[_0x17666d(0x234)]=_0x51bfae,_0x9c1748[_0x17666d(0x29f)]=_0x7bf11a,_0x9c1748[_0x17666d(0x108)]=_0x77177,_0x9c1748[_0x17666d(0x443)]=_0x3b3459,_0x9c1748[_0x17666d(0x3b9)]=_0x36097,_0x9c1748[_0x17666d(0x356)]=_0x15cba5,_0x9c1748['CreateBaseFieldCommand']=_0x2dcccf,_0x9c1748[_0x17666d(0x360)]=_0x35ff7e,_0x9c1748['CreateBaseTableCommand']=_0x4ba48d,_0x9c1748[_0x17666d(0x2d3)]=_0x2a9a84,_0x9c1748[_0x17666d(0x34b)]=_0x2ddfa7,_0x9c1748[_0x17666d(0xce)]=_0x51198c,_0x9c1748[_0x17666d(0x194)]=_0x5c4563,_0x9c1748[_0x17666d(0xe9)]=_0x273fa1,_0x9c1748[_0x17666d(0x31d)]=_0x3e1911,_0x9c1748[_0x17666d(0x327)]=_0x20f735,_0x9c1748[_0x17666d(0x2bb)]=_0x43821e,_0x9c1748[_0x17666d(0x3e6)]=_0x186600,_0x9c1748[_0x17666d(0x1c6)]=_0x401e28,_0x9c1748[_0x17666d(0x225)]=_0x2403d4,_0x9c1748[_0x17666d(0x3be)]=_0x465d1d,_0x9c1748['IBaseViewRegistryService']=_0x461ab0,_0x9c1748['MoveBaseFieldCommand']=_0x17969b,_0x9c1748[_0x17666d(0x369)]=_0x4aecf2,_0x9c1748[_0x17666d(0x21f)]=_0x670e18,_0x9c1748['RenameBaseTableCommand']=_0xd3d58b,_0x9c1748['RenameBaseViewCommand']=_0xbd2d19,_0x9c1748[_0x17666d(0x43e)]=_0x55eaee,_0x9c1748['SetBaseNameCommand']=_0x48f4a9,_0x9c1748[_0x17666d(0x40f)]=_0x3dfb10,_0x9c1748['SetBaseRecordValuesCommand']=_0xeed559,_0x9c1748[_0x17666d(0x31c)]=_0x309fb7,_0x9c1748[_0x17666d(0x3de)]=_0x475f5d,_0x9c1748[_0x17666d(0x452)]=_0xdd5a2,_0x9c1748[_0x17666d(0x281)]=_0xe8fa1f,_0x9c1748[_0x17666d(0x331)]=_0x2b3c19,_0x9c1748[_0x17666d(0x15b)]=_0x1b69b9,_0x9c1748[_0x17666d(0x1cb)]=_0x4df541,Object[_0x17666d(0x242)](_0x9c1748,_0x17666d(0x2d1),{'enumerable':!0x0,'get':function(){return _0x3aa71f;}}),Object[_0x17666d(0x242)](_0x9c1748,_0x17666d(0xf9),{'enumerable':!0x0,'get':function(){return _0x20df28;}}),_0x9c1748[_0x17666d(0xf3)]=_0x8a17eb,_0x9c1748['UpdateBaseFieldCommand']=_0x1ffb91,_0x9c1748[_0x17666d(0x1e1)]=_0x3c356d,_0x9c1748['UpdateBaseKanbanConfigCommand']=_0x8475ae,_0x9c1748['UpdateBaseRecordOrderCommand']=_0x4cc408,_0x9c1748[_0x17666d(0x236)]=_0x1e5bc4,_0x9c1748['UpdateBaseViewConfigCommand']=_0x1f183c,_0x9c1748['ValidateBaseFormulaCommand']=_0x306611,_0x9c1748[_0x17666d(0xc1)]=_0x23458d,_0x9c1748[_0x17666d(0x14b)]=_0x19fe79,_0x9c1748['calculateBaseFieldStat']=_0x594382,_0x9c1748[_0x17666d(0x23c)]=_0x50a233,_0x9c1748['createBaseHierarchyParentField']=_0x523965,_0x9c1748[_0x17666d(0x98)]=_0x40dc6c,_0x9c1748[_0x17666d(0x358)]=_0x143180,_0x9c1748[_0x17666d(0x145)]=_0x2343f0,_0x9c1748[_0x17666d(0x11f)]=_0x5aa3be,_0x9c1748[_0x17666d(0x3ab)]=_0x164355,_0x9c1748[_0x17666d(0x228)]=_0x42237b,_0x9c1748[_0x17666d(0x2f3)]=_0x4cff78,_0x9c1748[_0x17666d(0x350)]=_0x26c103,_0x9c1748['formatBaseDateValue']=_0x2e1927,_0x9c1748[_0x17666d(0x28b)]=_0x3b904c,_0x9c1748[_0x17666d(0x3f7)]=_0x3e1d38,_0x9c1748['formatBaseProgressValue']=_0x125962,_0x9c1748[_0x17666d(0x41a)]=_0x4619c5,_0x9c1748['getBaseCellFormulaValue']=_0x2d5426,_0x9c1748[_0x17666d(0x311)]=_0x5d14af,_0x9c1748[_0x17666d(0x10d)]=_0x74742f,Object[_0x17666d(0x242)](_0x9c1748,_0x17666d(0x351),{'enumerable':!0x0,'get':function(){const _0x359307=_0x17666d;return _0x4d7b12[_0x359307(0x351)];}}),_0x9c1748[_0x17666d(0x456)]=_0x593e95,_0x9c1748['getBaseHierarchyFieldId']=_0x571551,_0x9c1748['getRecordLinkFieldConfig']=_0x2c9bfd,_0x9c1748[_0x17666d(0xa4)]=_0x28a1e6,_0x9c1748[_0x17666d(0x421)]=_0x757508,_0x9c1748['inferBaseSeparatorStyle']=_0x9060cc,_0x9c1748[_0x17666d(0xdb)]=_0x351a01,_0x9c1748['isBaseFieldStatEmptyValue']=_0x22c0e7,_0x9c1748[_0x17666d(0x337)]=_0x2c6562,_0x9c1748[_0x17666d(0xdf)]=_0x310b1a,_0x9c1748[_0x17666d(0x155)]=_0x216ae2,_0x9c1748[_0x17666d(0x343)]=_0x1b2953,_0x9c1748[_0x17666d(0x174)]=_0x453924,_0x9c1748[_0x17666d(0x469)]=_0x2a15b4,_0x9c1748['normalizeBaseFieldStatsConfig']=_0x4a41fb,_0x9c1748[_0x17666d(0x2e5)]=_0x474d19,_0x9c1748[_0x17666d(0x464)]=_0xaacbb4,_0x9c1748[_0x17666d(0x401)]=_0x13037a,_0x9c1748[_0x17666d(0x259)]=_0x2a161a,_0x9c1748[_0x17666d(0x2e1)]=_0x29e314,_0x9c1748[_0x17666d(0x232)]=_0x1ab613,_0x9c1748['serializeRecordLinkIds']=_0x5a2c52,_0x9c1748[_0x17666d(0x20f)]=_0x1b2201,_0x9c1748[_0x17666d(0x17f)]=_0x42dc2d,_0x9c1748['validateBaseHierarchyMove']=_0x370f2f,_0x9c1748[_0x17666d(0x3f8)]=_0x30fd91,_0x9c1748['validateBaseHierarchyRecordPatches']=_0x4d5504,_0x9c1748[_0x17666d(0x418)]=_0x57d6ff,_0x9c1748[_0x17666d(0x254)]=_0x2eeb56,_0x9c1748[_0x17666d(0x190)]=_0x2bb568,_0x9c1748[_0x17666d(0x2fb)]=_0x475374;}));
|