@univerjs-pro/bases 1.0.0-alpha.5 → 1.0.0-alpha.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ar-SA.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/de-DE.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/id-ID.js +1 -1
- package/lib/cjs/locale/it-IT.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/pl-PL.js +1 -1
- package/lib/cjs/locale/pt-BR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/sk-SK.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-HK.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ar-SA.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/de-DE.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/id-ID.js +1 -1
- package/lib/es/locale/it-IT.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/pl-PL.js +1 -1
- package/lib/es/locale/pt-BR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/sk-SK.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-HK.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ar-SA.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/de-DE.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/id-ID.js +1 -1
- package/lib/locale/it-IT.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/pl-PL.js +1 -1
- package/lib/locale/pt-BR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/sk-SK.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-HK.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ar-SA.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/de-DE.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/id-ID.js +1 -1
- package/lib/umd/locale/it-IT.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/pl-PL.js +1 -1
- package/lib/umd/locale/pt-BR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/sk-SK.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-HK.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +6 -6
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x557ecf=_0x42d0;(function(_0x39e331,_0x2c538a){const _0x36ccf5=_0x42d0,_0x9df513=_0x39e331();while(!![]){try{const _0x43d713=parseInt(_0x36ccf5(0x1f4))/0x1*(parseInt(_0x36ccf5(0x217))/0x2)+-parseInt(_0x36ccf5(0x21e))/0x3*(-parseInt(_0x36ccf5(0x399))/0x4)+-parseInt(_0x36ccf5(0x21b))/0x5+-parseInt(_0x36ccf5(0x2f0))/0x6*(-parseInt(_0x36ccf5(0x411))/0x7)+parseInt(_0x36ccf5(0x27e))/0x8*(-parseInt(_0x36ccf5(0x474))/0x9)+-parseInt(_0x36ccf5(0x223))/0xa*(parseInt(_0x36ccf5(0x2cc))/0xb)+parseInt(_0x36ccf5(0x498))/0xc;if(_0x43d713===_0x2c538a)break;else _0x9df513['push'](_0x9df513['shift']());}catch(_0x5646eb){_0x9df513['push'](_0x9df513['shift']());}}}(_0x3579,0xc554b),Object[_0x557ecf(0x48e)](exports,Symbol[_0x557ecf(0x32f)],{'value':_0x557ecf(0x317)}));let e=require('@univerjs/core'),t=require('@univerjs-pro/engine-formula'),n=require('@univerjs-pro/license'),r=require('@univerjs/rpc'),i=0x0;function a(){const _0x50d78d=_0x557ecf;if(globalThis[_0x50d78d(0x466)]===!0x0)return!0x0;try{let _0x891320=typeof location>'u'?'':location['search'],_0x321e06=new URLSearchParams(_0x891320);if(_0x321e06[_0x50d78d(0x487)](_0x50d78d(0x2ae))==='1'||_0x321e06['get'](_0x50d78d(0x2ae))==='true'||_0x321e06[_0x50d78d(0x487)](_0x50d78d(0x348))==='1')return!0x0;}catch{}try{let _0xd8b662=typeof localStorage>'u'?null:localStorage[_0x50d78d(0x452)]('univer.basePerf');return _0xd8b662==='1'||_0xd8b662==='true';}catch{return!0x1;}}function o(_0x42fef3,_0x470113,_0x1c479f){const _0x5d659=_0x557ecf;if(!a())return _0x470113();let _0xdfdb5a=c(),_0x520df6=_0x5d659(0x2a8)+i++;l(_0x520df6+_0x5d659(0x31c));try{return _0x470113();}finally{let _0x4f0645=c()-_0xdfdb5a;l(_0x520df6+_0x5d659(0x2e7)),u(_0x42fef3,_0x520df6+_0x5d659(0x31c),_0x520df6+':end'),s(_0x42fef3,_0x4f0645,_0x1c479f);}}function s(_0x1f2692,_0x5434a8,_0xadf1dc){const _0x9f1b37=_0x557ecf;if(!a())return;let _0x3f1e5f=Math[_0x9f1b37(0x46f)](_0x5434a8*0x64)/0x64,_0x500f8d=_0xadf1dc&&Object[_0x9f1b37(0x4b1)](_0xadf1dc)['length']?'\x20'+JSON[_0x9f1b37(0x36a)](_0xadf1dc):'';console[_0x9f1b37(0x30b)]('[BasePerf]\x20'+_0x1f2692+':\x20'+_0x3f1e5f+'ms'+_0x500f8d);}function c(){const _0x27f5c5=_0x557ecf;return typeof performance<'u'&&typeof performance[_0x27f5c5(0x2bc)]==_0x27f5c5(0x403)?performance['now']():Date[_0x27f5c5(0x2bc)]();}function l(_0x356f89){const _0x21d05e=_0x557ecf;try{if(typeof performance<'u'){var _0x1baa95,_0x160f9e;(_0x1baa95=(_0x160f9e=performance)[_0x21d05e(0x1ea)])==null||_0x1baa95['call'](_0x160f9e,_0x356f89);}}catch{}}function u(_0x1ed693,_0x5b43f1,_0x406cec){const _0x1a074f=_0x557ecf;try{if(typeof performance<'u'){var _0x185257,_0x20d1ae;(_0x185257=(_0x20d1ae=performance)[_0x1a074f(0x1e8)])==null||_0x185257[_0x1a074f(0x24a)](_0x20d1ae,_0x1a074f(0x4ce)+_0x1ed693,_0x5b43f1,_0x406cec);}}catch{}}function d(_0x1da392){const _0x57a888=_0x557ecf;var _0x3a0a1c,_0x2e4b35;return a()?o(_0x57a888(0x232),()=>f(_0x1da392),{'tableId':_0x1da392['id'],'records':Object[_0x57a888(0x4b1)]((_0x3a0a1c=_0x1da392[_0x57a888(0x2ac)])==null?{}:_0x3a0a1c)['length'],'fields':_0x1da392[_0x57a888(0x3e0)][_0x57a888(0x323)],'hasRecordOrder':!!((_0x2e4b35=_0x1da392[_0x57a888(0x20f)])!=null&&_0x2e4b35[_0x57a888(0x323)])}):f(_0x1da392);}function f(_0x2261d1){const _0x79d473=_0x557ecf;var _0x542a1d,_0x431964,_0x51edb2,_0x5c3cce,_0x2436b4,_0x4f2171,_0x1b3fa0,_0x1ef354,_0x792bea,_0x4a3c75;let _0x28d974=(_0x542a1d=_0x2261d1['records'])==null?{}:_0x542a1d,_0x5e949e=(_0x431964=_0x2261d1['fields'])==null?{}:_0x431964,_0x1a7e46=(_0x51edb2=(_0x5c3cce=_0x2261d1[_0x79d473(0x20f)])==null?void 0x0:_0x5c3cce[_0x79d473(0x2fe)](_0x3b505c=>_0x28d974[_0x3b505c]))==null?[]:_0x51edb2,_0x4bc0e=new Set(_0x1a7e46),_0x359be4=[];for(let _0x4070f5 of Object[_0x79d473(0x4f9)](_0x28d974))_0x4bc0e[_0x79d473(0x25a)](_0x4070f5['id'])||_0x359be4[_0x79d473(0x43e)](_0x4070f5);let _0xd43858=_0x359be4[_0x79d473(0x323)]?[..._0x1a7e46,...ue(_0x359be4)]:_0x1a7e46,_0x4303ca=_0x2261d1[_0x79d473(0x3e0)][_0x79d473(0x2fe)](_0xc06fb1=>_0x5e949e[_0xc06fb1]),_0x1f2e2e={...(_0x2436b4=_0x2261d1[_0x79d473(0x236)])==null?{}:_0x2436b4},_0x3976bd={...(_0x4f2171=_0x2261d1[_0x79d473(0x432)])==null?{}:_0x4f2171},_0x557bfe={...(_0x1b3fa0=_0x2261d1[_0x79d473(0x46b)])==null?{}:_0x1b3fa0};return _0x2261d1[_0x79d473(0x20f)]=_0xd43858,_0x2261d1['rowIndex']={},_0x2261d1[_0x79d473(0x236)]={},_0x2261d1['colIndex']={},_0x2261d1['colId']={},_0x2261d1[_0x79d473(0x46b)]={},_0x2261d1['resources']={...(_0x1ef354=_0x2261d1[_0x79d473(0x4b9)])==null?{}:_0x1ef354},_0x2261d1[_0x79d473(0x4b9)][_0x79d473(0x33a)]={...(_0x792bea=_0x2261d1['resources'][_0x79d473(0x33a)])==null?{}:_0x792bea},_0x2261d1[_0x79d473(0x4b9)][_0x79d473(0x4d9)]={...(_0x4a3c75=_0x2261d1[_0x79d473(0x4b9)]['attachments'])==null?{}:_0x4a3c75},_0xd43858[_0x79d473(0x4c8)]((_0x521b92,_0x99215)=>{const _0x5e0cbe=_0x79d473;_0x2261d1[_0x5e0cbe(0x253)][_0x521b92]=_0x99215,_0x2261d1['rowId'][_0x99215]=_0x521b92;}),_0x4303ca[_0x79d473(0x4c8)]((_0x1e18ac,_0x479a3f)=>{const _0x2e4622=_0x79d473;_0x2261d1[_0x2e4622(0x279)][_0x1e18ac]=_0x479a3f,_0x2261d1[_0x2e4622(0x432)][_0x479a3f]=_0x1e18ac;}),Object[_0x79d473(0x458)](_0x557bfe)[_0x79d473(0x4c8)](([_0x9d711d,_0x168ace])=>{const _0x212eea=_0x79d473;var _0x519f51,_0x2de985;let _0x3ece8f=Number(_0x9d711d),_0x2716df=(_0x519f51=_0x1f2e2e[_0x3ece8f])==null?_0xd43858[_0x3ece8f]:_0x519f51,_0x3e6eb2=_0x2716df?_0x2261d1[_0x212eea(0x253)][_0x2716df]:void 0x0;_0x3e6eb2!=null&&(_0x2261d1[_0x212eea(0x46b)][_0x3e6eb2]={...(_0x2de985=_0x2261d1['cellData'][_0x3e6eb2])==null?{}:_0x2de985},Object[_0x212eea(0x458)](_0x168ace==null?{}:_0x168ace)[_0x212eea(0x4c8)](([_0x87d217,_0x3b36c4])=>{const _0x1f7546=_0x212eea;var _0x5691d8;let _0x44c3a5=Number(_0x87d217),_0x20cef0=(_0x5691d8=_0x3976bd[_0x44c3a5])==null?_0x4303ca[_0x44c3a5]:_0x5691d8,_0x4562ad=_0x20cef0?_0x2261d1[_0x1f7546(0x279)][_0x20cef0]:void 0x0;_0x4562ad!=null&&(_0x2261d1['cellData'][_0x3e6eb2][_0x4562ad]=ee(_0x3b36c4));}));}),Object[_0x79d473(0x4f9)](_0x28d974)['forEach'](_0x134ba6=>{const _0x1c2b9b=_0x79d473;var _0x137a26,_0x14ed51;let _0x310c8=_0x2261d1[_0x1c2b9b(0x253)][_0x134ba6['id']];_0x310c8!=null&&(_0x2261d1[_0x1c2b9b(0x46b)][_0x310c8]={...(_0x137a26=_0x2261d1['cellData'][_0x310c8])==null?{}:_0x137a26},Object[_0x1c2b9b(0x458)]((_0x14ed51=_0x134ba6['values'])==null?{}:_0x14ed51)['forEach'](([_0x28bb80,_0x39b8a8])=>{const _0x3afec0=_0x1c2b9b;let _0x233337=_0x5e949e[_0x28bb80];(_0x233337==null?void 0x0:_0x233337['type'])===e[_0x3afec0(0x29e)][_0x3afec0(0x27a)]&&ie(_0x2261d1,_0x134ba6['id'],_0x28bb80,_0x39b8a8);let _0x35af0d=_0x2261d1[_0x3afec0(0x279)][_0x28bb80];if(_0x35af0d==null)return;let _0x51a9ee=_0x2261d1[_0x3afec0(0x46b)][_0x310c8][_0x35af0d];if(_0x51a9ee!=null){se(_0x51a9ee,_0x233337,_0x39b8a8)&&(_0x2261d1[_0x3afec0(0x46b)][_0x310c8][_0x35af0d]=y(_0x39b8a8,_0x233337));return;}_0x2261d1['cellData'][_0x310c8][_0x35af0d]=y(_0x39b8a8,_0x233337);}));}),_0x2261d1;}function p(_0xcb6a1e){const _0x573dad=_0x557ecf;var _0x50eb86;return d(_0xcb6a1e),Object['entries']((_0x50eb86=_0xcb6a1e['rowId'])==null?{}:_0x50eb86)[_0x573dad(0x4c8)](([_0x2bc265,_0x2995b5])=>{const _0x118da7=_0x573dad;var _0x90e4c1,_0x5c2edc,_0x1cc95e;let _0x59ac38=Number(_0x2bc265),_0x323b4e=_0xcb6a1e[_0x118da7(0x2ac)][_0x2995b5];_0x323b4e&&(_0x323b4e[_0x118da7(0x4f9)]={...(_0x90e4c1=_0x323b4e[_0x118da7(0x4f9)])==null?{}:_0x90e4c1},Object['entries']((_0x5c2edc=(_0x1cc95e=_0xcb6a1e[_0x118da7(0x46b)])==null?void 0x0:_0x1cc95e[_0x59ac38])==null?{}:_0x5c2edc)['forEach'](([_0x25a754,_0x24257f])=>{var _0x5a8d40;let _0x22375c=(_0x5a8d40=_0xcb6a1e['colId'])==null?void 0x0:_0x5a8d40[Number(_0x25a754)];_0x22375c&&(_0x323b4e['values'][_0x22375c]=b(_0x24257f,_0xcb6a1e['fields'][_0x22375c],_0xcb6a1e,_0x2995b5));}));}),_0xcb6a1e;}function m(_0x515770,_0xad5ab9){const _0x398c73=_0x557ecf;for(let {row:_0x139710,col:_0x274821}of _0xad5ab9){var _0x1deeeb,_0x10805c,_0x57332b,_0x36311e;let _0x1ead95=(_0x1deeeb=_0x515770['rowId'])==null?void 0x0:_0x1deeeb[_0x139710],_0x4a7282=(_0x10805c=_0x515770['colId'])==null?void 0x0:_0x10805c[_0x274821],_0x27219f=_0x1ead95?_0x515770[_0x398c73(0x2ac)][_0x1ead95]:void 0x0;!_0x27219f||!_0x4a7282||(_0x27219f[_0x398c73(0x4f9)]={...(_0x57332b=_0x27219f['values'])==null?{}:_0x57332b},_0x27219f[_0x398c73(0x4f9)][_0x4a7282]=b((_0x36311e=_0x515770[_0x398c73(0x46b)])==null||(_0x36311e=_0x36311e[_0x139710])==null?void 0x0:_0x36311e[_0x274821],_0x515770[_0x398c73(0x40d)][_0x4a7282],_0x515770,_0x1ead95));}return _0x515770;}function h(_0x17a6db,_0x1fea2a,_0xb2ca6e){const _0x1cfb8c=_0x557ecf;var _0x2741d5,_0x4df53c,_0x2d8cf8,_0x35c9ff,_0x1cd050,_0x10876c;let _0x2b9848=(_0x2741d5=_0x17a6db[_0x1cfb8c(0x253)])==null?void 0x0:_0x2741d5[_0x1fea2a],_0x3003ae=(_0x4df53c=_0x17a6db[_0x1cfb8c(0x279)])==null?void 0x0:_0x4df53c[_0xb2ca6e];if(_0x2b9848!=null&&_0x3003ae!=null&&((_0x2d8cf8=_0x17a6db['rowId'])==null?void 0x0:_0x2d8cf8[_0x2b9848])===_0x1fea2a&&((_0x35c9ff=_0x17a6db['colId'])==null?void 0x0:_0x35c9ff[_0x3003ae])===_0xb2ca6e)return{'row':_0x2b9848,'col':_0x3003ae};let _0x41e2ca=d(_0x17a6db),_0x412a45=(_0x1cd050=_0x41e2ca[_0x1cfb8c(0x253)])==null?void 0x0:_0x1cd050[_0x1fea2a],_0x4406f8=(_0x10876c=_0x41e2ca['colIndex'])==null?void 0x0:_0x10876c[_0xb2ca6e];return _0x412a45==null||_0x4406f8==null?null:{'row':_0x412a45,'col':_0x4406f8};}function g(_0x53aca,_0x37af31,_0x2c1d56){const _0x18205c=_0x557ecf;var _0x49732f;let _0x28b971=h(_0x53aca,_0x37af31,_0x2c1d56);if(_0x28b971)return(_0x49732f=_0x53aca[_0x18205c(0x46b)])==null||(_0x49732f=_0x49732f[_0x28b971[_0x18205c(0x398)]])==null?void 0x0:_0x49732f[_0x28b971[_0x18205c(0x38b)]];}function _(_0x5e78b7,_0x42c3a6,_0x5324aa){const _0x3c9d3f=_0x557ecf;var _0x5c2df3,_0x52268f;let _0x6d2d5b=g(_0x5e78b7,_0x42c3a6,_0x5324aa),_0x5a595f=_0x5e78b7[_0x3c9d3f(0x40d)][_0x5324aa];if((_0x5a595f==null?void 0x0:_0x5a595f[_0x3c9d3f(0x26a)])===e[_0x3c9d3f(0x29e)][_0x3c9d3f(0x27a)]){var _0x18ee1d,_0x367485;return(_0x18ee1d=ae(_0x5e78b7,_0x42c3a6,_0x5324aa))==null?x((_0x367485=_0x5e78b7[_0x3c9d3f(0x2ac)][_0x42c3a6])==null||(_0x367485=_0x367485['values'])==null?void 0x0:_0x367485[_0x5324aa]):_0x18ee1d;}if(S(_0x5a595f)||(_0x5a595f==null?void 0x0:_0x5a595f['type'])===e[_0x3c9d3f(0x29e)][_0x3c9d3f(0x4f4)]){var _0x3d6d6d;let _0x4af0f8=(_0x3d6d6d=_0x5e78b7[_0x3c9d3f(0x2ac)][_0x42c3a6])==null||(_0x3d6d6d=_0x3d6d6d[_0x3c9d3f(0x4f9)])==null?void 0x0:_0x3d6d6d[_0x5324aa];return _0x4af0f8!=null&&_0x4af0f8!==''?oe(_0x4af0f8,_0x5a595f):b(_0x6d2d5b,_0x5a595f,_0x5e78b7,_0x42c3a6);}if(_0x6d2d5b&&Object['prototype'][_0x3c9d3f(0x3f7)][_0x3c9d3f(0x24a)](_0x6d2d5b,'v')){var _0x4f4e6c;return(_0x4f4e6c=_0x6d2d5b['v'])==null?null:_0x4f4e6c;}return(_0x5c2df3=(_0x52268f=_0x5e78b7[_0x3c9d3f(0x2ac)][_0x42c3a6])==null||(_0x52268f=_0x52268f[_0x3c9d3f(0x4f9)])==null?void 0x0:_0x52268f[_0x5324aa])==null?null:_0x5c2df3;}function v(_0x4f8404,_0x2e378d,_0x263410){const _0x590bb3=_0x557ecf;var _0x141706,_0x404776,_0x20bdf1;let _0x2c1a33=g(_0x4f8404,_0x2e378d,_0x263410);if(_0x2c1a33&&Object[_0x590bb3(0x42d)][_0x590bb3(0x3f7)][_0x590bb3(0x24a)](_0x2c1a33,'v')){var _0x3bc55d;return(_0x3bc55d=_0x2c1a33['v'])==null?null:_0x3bc55d;}let _0x4b1595=_0x4f8404[_0x590bb3(0x40d)][_0x263410];return(_0x141706=y((_0x404776=(_0x20bdf1=_0x4f8404[_0x590bb3(0x2ac)][_0x2e378d])==null||(_0x20bdf1=_0x20bdf1[_0x590bb3(0x4f9)])==null?void 0x0:_0x20bdf1[_0x263410])==null?null:_0x404776,_0x4b1595)['v'])==null?null:_0x141706;}function y(_0xb83a03,_0x168442){const _0x2c541d=_0x557ecf;if(ne(_0xb83a03))return(_0x168442==null?void 0x0:_0x168442[_0x2c541d(0x26a)])===e[_0x2c541d(0x29e)]['Attachment']?{..._0xb83a03,'v':'','t':e[_0x2c541d(0x429)][_0x2c541d(0x4c7)]}:ee(_0xb83a03);if((_0x168442==null?void 0x0:_0x168442[_0x2c541d(0x26a)])===e[_0x2c541d(0x29e)][_0x2c541d(0x27a)])return{'v':'','t':e[_0x2c541d(0x429)][_0x2c541d(0x4c7)]};if(S(_0x168442))return{'v':C(_0xb83a03)['join'](',\x20'),'t':e[_0x2c541d(0x429)]['STRING']};if((_0x168442==null?void 0x0:_0x168442[_0x2c541d(0x26a)])===e['BaseFieldType'][_0x2c541d(0x4f4)]&&_0xb83a03&&typeof _0xb83a03==_0x2c541d(0x341)&&!Array['isArray'](_0xb83a03)){var _0x130802,_0x4a729b;let _0x2491ee=_0xb83a03;return{'v':String((_0x130802=(_0x4a729b=_0x2491ee['text'])==null?_0x2491ee[_0x2c541d(0x229)]:_0x4a729b)==null?'':_0x130802),'t':e[_0x2c541d(0x429)][_0x2c541d(0x4c7)]};}return _0xb83a03===null||typeof _0xb83a03==_0x2c541d(0x39d)||typeof _0xb83a03==_0x2c541d(0x4f7)||typeof _0xb83a03==_0x2c541d(0x4a1)?{'v':_0xb83a03,'t':le(_0xb83a03)}:{'v':null,'t':null};}function ee(_0x29bae8){let _0x24a8fa=de(_0x29bae8['t'],_0x29bae8['v']);if(_0x24a8fa===void 0x0){let {t:_0x2c9e51,..._0x3e3048}=_0x29bae8;return _0x3e3048;}return{..._0x29bae8,'t':_0x24a8fa};}function b(_0x5e1ddb,_0x4ceec2,_0x306026,_0x25fccc){const _0x1e4c73=_0x557ecf;if(!_0x5e1ddb)return null;if((_0x4ceec2==null?void 0x0:_0x4ceec2[_0x1e4c73(0x26a)])===e[_0x1e4c73(0x29e)][_0x1e4c73(0x27a)]){var _0x3f8c28;return _0x306026&&_0x25fccc?(_0x3f8c28=ae(_0x306026,_0x25fccc,_0x4ceec2['id']))==null?[]:_0x3f8c28:[];}if(S(_0x4ceec2))return C(_0x5e1ddb['v']);if((_0x4ceec2==null?void 0x0:_0x4ceec2['type'])===e['BaseFieldType']['Link']&&_0x306026&&_0x25fccc){var _0x224703;let _0x7a5bd9=(_0x224703=_0x306026['records'][_0x25fccc])==null||(_0x224703=_0x224703[_0x1e4c73(0x4f9)])==null?void 0x0:_0x224703[_0x4ceec2['id']];if(_0x7a5bd9&&typeof _0x7a5bd9==_0x1e4c73(0x341)&&!Array[_0x1e4c73(0x2e1)](_0x7a5bd9))return _0x7a5bd9;}if(Object[_0x1e4c73(0x42d)]['hasOwnProperty'][_0x1e4c73(0x24a)](_0x5e1ddb,'v')){var _0x589bed;return(_0x589bed=_0x5e1ddb['v'])==null?null:_0x589bed;}return null;}function te(_0x289a09,_0x272ba8,_0x3dcb9f,_0x33c808,_0x719f83){const _0xcf0fed=_0x557ecf;return(_0x3dcb9f==null?void 0x0:_0x3dcb9f[_0xcf0fed(0x26a)])===e[_0xcf0fed(0x29e)][_0xcf0fed(0x27a)]?x(_0x289a09):S(_0x3dcb9f)?C(_0x289a09):(_0x3dcb9f==null?void 0x0:_0x3dcb9f['type'])===e[_0xcf0fed(0x29e)]['Link']&&_0x289a09&&typeof _0x289a09==_0xcf0fed(0x341)&&!Array[_0xcf0fed(0x2e1)](_0x289a09)&&!ne(_0x289a09)?_0x289a09:b(_0x272ba8,_0x3dcb9f,_0x33c808,_0x719f83);}function ne(_0x1f3809){const _0x43c5ff=_0x557ecf;return!!_0x1f3809&&typeof _0x1f3809==_0x43c5ff(0x341)&&(Object[_0x43c5ff(0x42d)][_0x43c5ff(0x3f7)][_0x43c5ff(0x24a)](_0x1f3809,'v')||Object['prototype'][_0x43c5ff(0x3f7)]['call'](_0x1f3809,'t')||Object[_0x43c5ff(0x42d)][_0x43c5ff(0x3f7)][_0x43c5ff(0x24a)](_0x1f3809,'p')||Object[_0x43c5ff(0x42d)][_0x43c5ff(0x3f7)]['call'](_0x1f3809,'f')||Object[_0x43c5ff(0x42d)][_0x43c5ff(0x3f7)]['call'](_0x1f3809,'si'));}function re(_0x3cda97,_0x54f49a){return _0x3cda97+'\x1f'+_0x54f49a;}function ie(_0x5d30b7,_0x38bdbd,_0x1863cc,_0x5b029f){const _0x494d41=_0x557ecf;var _0x46fa58,_0x3b4789,_0x6bd0da;let _0x460ec8=x(_0x5b029f);_0x5d30b7['resources']={...(_0x46fa58=_0x5d30b7[_0x494d41(0x4b9)])==null?{}:_0x46fa58},_0x5d30b7[_0x494d41(0x4b9)][_0x494d41(0x33a)]={...(_0x3b4789=_0x5d30b7[_0x494d41(0x4b9)]['attachmentSets'])==null?{}:_0x3b4789},_0x5d30b7[_0x494d41(0x4b9)][_0x494d41(0x4d9)]={...(_0x6bd0da=_0x5d30b7[_0x494d41(0x4b9)]['attachments'])==null?{}:_0x6bd0da};let _0x331c31=re(_0x1863cc,_0x38bdbd),_0x553e7a=[];for(let _0x79025f=0x0;_0x79025f<_0x460ec8['length'];_0x79025f++){var _0x3b487d;if(!(_0x79025f in _0x460ec8))continue;let _0x5ced23=_0x460ec8[_0x79025f],_0xf11374=String((_0x3b487d=_0x5ced23['id'])==null?_0x331c31+'\x1f'+_0x79025f:_0x3b487d),_0x4ee534={..._0x5ced23,'id':_0xf11374};_0x5d30b7[_0x494d41(0x4b9)][_0x494d41(0x4d9)][_0xf11374]=_0x4ee534,_0x553e7a[_0x494d41(0x43e)](_0xf11374);}_0x5d30b7[_0x494d41(0x4b9)][_0x494d41(0x33a)][_0x331c31]=_0x553e7a;}function ae(_0x27d278,_0x13ec6d,_0x568020){const _0x417e4a=_0x557ecf;var _0x1c2dc0;let _0x1c38ee=re(_0x568020,_0x13ec6d),_0x9a8372=(_0x1c2dc0=_0x27d278[_0x417e4a(0x4b9)])==null||(_0x1c2dc0=_0x1c2dc0['attachmentSets'])==null?void 0x0:_0x1c2dc0[_0x1c38ee];if(!_0x9a8372)return null;let _0x184ecf=[];for(let _0x34c7a9=0x0;_0x34c7a9<_0x9a8372[_0x417e4a(0x323)];_0x34c7a9++){var _0x2fe191;if(!(_0x34c7a9 in _0x9a8372))continue;let _0x303a86=(_0x2fe191=_0x27d278[_0x417e4a(0x4b9)])==null||(_0x2fe191=_0x2fe191[_0x417e4a(0x4d9)])==null?void 0x0:_0x2fe191[_0x9a8372[_0x34c7a9]];_0x303a86&&_0x184ecf[_0x417e4a(0x43e)]({..._0x303a86});}return _0x184ecf;}function x(_0x1e55f2){const _0x3ba741=_0x557ecf;if(_0x1e55f2==null||_0x1e55f2===''||ne(_0x1e55f2)&&!('id'in _0x1e55f2)&&!(_0x3ba741(0x3c4)in _0x1e55f2))return[];let _0x2df950=Array[_0x3ba741(0x2e1)](_0x1e55f2)?_0x1e55f2:[_0x1e55f2],_0x23a1a7=[];for(let _0x336174=0x0;_0x336174<_0x2df950[_0x3ba741(0x323)];_0x336174++){if(!(_0x336174 in _0x2df950))continue;let _0x308d77=_0x2df950[_0x336174],_0x2a271d=_0x308d77&&typeof _0x308d77==_0x3ba741(0x341)?{..._0x308d77}:{'id':'attachment-'+_0x336174,'name':String(_0x308d77)};Object[_0x3ba741(0x4b1)](_0x2a271d)[_0x3ba741(0x323)]>0x0&&_0x23a1a7[_0x3ba741(0x43e)](_0x2a271d);}return _0x23a1a7;}function oe(_0x38b1d6,_0x183e37){const _0xbf7035=_0x557ecf;return(_0x183e37==null?void 0x0:_0x183e37[_0xbf7035(0x26a)])===e['BaseFieldType'][_0xbf7035(0x27a)]?x(_0x38b1d6):S(_0x183e37)?C(_0x38b1d6):_0x38b1d6;}function se(_0xbc25d3,_0x1c1e57,_0x3d6524){const _0x1b67f4=_0x557ecf;return(_0x1c1e57==null?void 0x0:_0x1c1e57[_0x1b67f4(0x26a)])===e['BaseFieldType']['Attachment']?_0xbc25d3['v']!=='':S(_0x1c1e57)?Array[_0x1b67f4(0x2e1)](_0x3d6524)&&(_0xbc25d3['v']==null||_0xbc25d3['v']===''):!0x1;}function S(_0x5e9b0b){const _0x5a2fc5=_0x557ecf;return(_0x5e9b0b==null?void 0x0:_0x5e9b0b[_0x5a2fc5(0x26a)])===e[_0x5a2fc5(0x29e)][_0x5a2fc5(0x2f7)]||(_0x5e9b0b==null?void 0x0:_0x5e9b0b[_0x5a2fc5(0x26a)])===e[_0x5a2fc5(0x29e)][_0x5a2fc5(0x261)]||(_0x5e9b0b==null?void 0x0:_0x5e9b0b[_0x5a2fc5(0x26a)])===e[_0x5a2fc5(0x29e)][_0x5a2fc5(0x3dc)];}function C(_0x57e7de){const _0x304e94=_0x557ecf;if(_0x57e7de==null||_0x57e7de==='')return[];let _0x4a651e=[];if(Array['isArray'](_0x57e7de)){for(let _0x432483=0x0;_0x432483<_0x57e7de['length'];_0x432483++){if(!(_0x432483 in _0x57e7de))continue;let _0x4631c9=ce(_0x57e7de[_0x432483]);_0x4631c9&&_0x4a651e[_0x304e94(0x43e)](_0x4631c9);}return _0x4a651e;}for(let _0x230078 of String(_0x57e7de)[_0x304e94(0x44c)](',')){let _0x4fb547=_0x230078['trim']();_0x4fb547&&_0x4a651e[_0x304e94(0x43e)](_0x4fb547);}return _0x4a651e;}function ce(_0x30650d){const _0x1138d1=_0x557ecf;if(_0x30650d==null)return'';if(typeof _0x30650d==_0x1138d1(0x39d)||typeof _0x30650d=='number'||typeof _0x30650d==_0x1138d1(0x4a1))return String(_0x30650d);if(typeof _0x30650d=='object'){var _0x1523c9,_0x573a9c,_0x4880db;let _0x1ea208=_0x30650d;return String((_0x1523c9=(_0x573a9c=(_0x4880db=_0x1ea208['id'])==null?_0x1ea208['name']:_0x4880db)==null?_0x1ea208[_0x1138d1(0x322)]:_0x573a9c)==null?'':_0x1523c9);}return String(_0x30650d);}function le(_0x579f44){const _0x263aa4=_0x557ecf;return _0x579f44==null?null:typeof _0x579f44=='number'?e[_0x263aa4(0x429)][_0x263aa4(0x3bc)]:typeof _0x579f44==_0x263aa4(0x4a1)?e[_0x263aa4(0x429)]['BOOLEAN']:e[_0x263aa4(0x429)][_0x263aa4(0x4c7)];}function ue(_0x2d43e0){const _0x19db3a=_0x557ecf;_0x2d43e0[_0x19db3a(0x496)]((_0x5e6ddd,_0x4e0e8d)=>_0x5e6ddd[_0x19db3a(0x408)][_0x19db3a(0x3d1)](_0x4e0e8d[_0x19db3a(0x408)]));let _0x22946a=[];for(let _0x4172a2 of _0x2d43e0)_0x22946a[_0x19db3a(0x43e)](_0x4172a2['id']);return _0x22946a;}function de(_0x2d44ae,_0x5993e4){const _0x404cc4=_0x557ecf;return _0x2d44ae===e[_0x404cc4(0x429)][_0x404cc4(0x4c7)]||_0x2d44ae===e['CellValueType'][_0x404cc4(0x3bc)]||_0x2d44ae===e['CellValueType'][_0x404cc4(0x2a0)]||_0x2d44ae===e[_0x404cc4(0x429)][_0x404cc4(0x237)]||_0x2d44ae==null?_0x2d44ae:le(_0x5993e4==null?null:_0x5993e4);}var w=class{['applyOp'](_0xe45092,_0x3d1825){const _0x2ce137=_0x557ecf;let _0xd55f9=this[_0x2ce137(0x239)](_0x3d1825),_0x30e4b6=o(_0x2ce137(0x2a2),()=>ye(_0xe45092,_0x3d1825),{'invalidations':_0xd55f9[_0x2ce137(0x323)]}),_0x532422=o(_0x2ce137(0x226),()=>e[_0x2ce137(0x2a3)][_0x2ce137(0x26a)][_0x2ce137(0x33f)](_0x30e4b6,_0x3d1825),{'invalidations':_0xd55f9['length']});return fe(_0x532422,_0xd55f9)||this[_0x2ce137(0x3e1)](_0x532422,_0xd55f9)['forEach'](_0x48ddd5=>{p(_0x48ddd5);}),_0x532422;}[_0x557ecf(0x4b7)](_0x160c8a,_0x130de7){const _0x3f9828=_0x557ecf;return e['JSON1'][_0x3f9828(0x26a)][_0x3f9828(0x209)](_0x130de7,_0x160c8a);}[_0x557ecf(0x239)](_0x482e37){const _0x19d41b=_0x557ecf;let _0x863a53=ge(_0x482e37);return _0x863a53['length']?_e(_0x863a53[_0x19d41b(0x454)](_0x41d722=>this[_0x19d41b(0x239)](_0x41d722))):pe(_0x482e37);}[_0x557ecf(0x3e1)](_0x34707c,_0x50aa3b){const _0x3dbe42=_0x557ecf;if(!_0x50aa3b[_0x3dbe42(0x323)])return[];if(_0x50aa3b[_0x3dbe42(0x4f5)](_0x531ef9=>!_0x531ef9[_0x3dbe42(0x3e9)])){var _0x5babfc;return Object[_0x3dbe42(0x4f9)]((_0x5babfc=_0x34707c['tables'])==null?{}:_0x5babfc);}return Array[_0x3dbe42(0x467)](new Set(_0x50aa3b[_0x3dbe42(0x274)](_0x1ac9ae=>_0x1ac9ae[_0x3dbe42(0x3e9)])))[_0x3dbe42(0x454)](_0x2678c2=>{const _0x17e28c=_0x3dbe42;var _0x3852cf;let _0x348ab4=(_0x3852cf=_0x34707c[_0x17e28c(0x2b7)])==null?void 0x0:_0x3852cf[_0x2678c2];return _0x348ab4?[_0x348ab4]:[];});}};function fe(_0x187e13,_0x1f0549){const _0x4093ff=_0x557ecf;if(!_0x1f0549['length']||_0x1f0549[_0x4093ff(0x4f5)](_0x1c4007=>_0x1c4007[_0x4093ff(0x49d)]!==_0x4093ff(0x28e)))return!0x1;let _0x5684d3=new Map();for(let _0x417267 of _0x1f0549){var _0x16e4fa;if(!_0x417267[_0x4093ff(0x3e9)]||_0x417267[_0x4093ff(0x398)]==null||_0x417267['column']==null)continue;let _0x2feb0f=(_0x16e4fa=_0x5684d3[_0x4093ff(0x487)](_0x417267[_0x4093ff(0x3e9)]))==null?[]:_0x16e4fa;_0x2feb0f[_0x4093ff(0x43e)]({'row':_0x417267[_0x4093ff(0x398)],'col':_0x417267['column']}),_0x5684d3[_0x4093ff(0x47d)](_0x417267[_0x4093ff(0x3e9)],_0x2feb0f);}return _0x5684d3[_0x4093ff(0x4c8)]((_0x4aca9f,_0x1d72d4)=>{const _0x4bbf16=_0x4093ff;var _0x396f8b;let _0x44a040=(_0x396f8b=_0x187e13[_0x4bbf16(0x2b7)])==null?void 0x0:_0x396f8b[_0x1d72d4];_0x44a040&&m(_0x44a040,_0x4aca9f);}),!0x0;}function pe(_0xcc72){const _0x3b31e1=_0x557ecf;if(!Array[_0x3b31e1(0x2e1)](_0xcc72)||_0xcc72['length']<0x2)return[{'tableId':'','reason':_0x3b31e1(0x492)}];let _0x21f2b9=_0xcc72,_0x485a8e=_0x21f2b9[_0x3b31e1(0x2e2)](_0x3b31e1(0x2b7));return _0x485a8e===-0x1||typeof _0x21f2b9[_0x485a8e+0x1]!=_0x3b31e1(0x39d)?_0x21f2b9[0x0]===_0x3b31e1(0x208)?[]:[{'tableId':'','reason':_0x3b31e1(0x492)}]:me(_0x21f2b9,_0x485a8e,String(_0x21f2b9[_0x485a8e+0x1]));}function me(_0x2d6343,_0x5d27d9,_0x55f17f){const _0x2a6472=_0x557ecf;let _0x26f411=_0x2d6343[_0x5d27d9+0x2];return _0x26f411===_0x2a6472(0x2ac)&&typeof _0x2d6343[_0x5d27d9+0x3]==_0x2a6472(0x39d)?he(_0x2d6343,_0x5d27d9,_0x55f17f,String(_0x2d6343[_0x5d27d9+0x3])):_0x26f411===_0x2a6472(0x46b)&&_0x2d6343[_0x5d27d9+0x3]!=null&&_0x2d6343[_0x5d27d9+0x4]!=null?[{'tableId':_0x55f17f,'reason':_0x2a6472(0x28e),'row':Number(_0x2d6343[_0x5d27d9+0x3]),'column':Number(_0x2d6343[_0x5d27d9+0x4])}]:_0x26f411===_0x2a6472(0x40d)&&typeof _0x2d6343[_0x5d27d9+0x3]=='string'?[{'tableId':_0x55f17f,'reason':_0x2a6472(0x383),'fieldId':String(_0x2d6343[_0x5d27d9+0x3])}]:_0x26f411==='views'&&typeof _0x2d6343[_0x5d27d9+0x3]==_0x2a6472(0x39d)?[{'tableId':_0x55f17f,'reason':'view','viewId':String(_0x2d6343[_0x5d27d9+0x3])}]:[{'tableId':_0x55f17f,'reason':_0x26f411===void 0x0?_0x2a6472(0x37c):_0x2a6472(0x492)}];}function he(_0x4ea3de,_0x17f1c1,_0x5cb3bf,_0x51e8dc){const _0x432e80=_0x557ecf;return _0x4ea3de[_0x17f1c1+0x4]===_0x432e80(0x4f9)&&typeof _0x4ea3de[_0x17f1c1+0x5]==_0x432e80(0x39d)?[{'tableId':_0x5cb3bf,'reason':_0x432e80(0x28e),'recordId':_0x51e8dc,'fieldId':String(_0x4ea3de[_0x17f1c1+0x5])}]:_0x4ea3de[_0x17f1c1+0x4]==='updatedAt'||_0x4ea3de[_0x17f1c1+0x4]==='updatedBy'?[]:[{'tableId':_0x5cb3bf,'reason':_0x432e80(0x425),'recordId':_0x51e8dc}];}function ge(_0x482dfc){const _0x4bcafa=_0x557ecf;if(!Array[_0x4bcafa(0x2e1)](_0x482dfc))return[];let _0x4331ad=_0x482dfc['filter'](Array[_0x4bcafa(0x2e1)]);if(_0x4331ad[_0x4bcafa(0x323)]>0x1&&_0x4331ad[_0x4bcafa(0x323)]===_0x482dfc['length'])return _0x4331ad;let _0x185d0e=_0x482dfc[_0x4bcafa(0x220)](Array['isArray']);if(_0x185d0e>0x0&&_0x482dfc[_0x4bcafa(0x4c3)](_0x185d0e)['every'](Array[_0x4bcafa(0x2e1)])){let _0x35dd90=_0x482dfc[_0x4bcafa(0x4c3)](0x0,_0x185d0e);return _0x482dfc[_0x4bcafa(0x4c3)](_0x185d0e)[_0x4bcafa(0x274)](_0x32fa21=>[..._0x35dd90,..._0x32fa21]);}let _0x3aaa5a=_0x482dfc[_0x4bcafa(0x2e2)]('tables');if(_0x3aaa5a===-0x1||typeof _0x482dfc[_0x3aaa5a+0x1]!=_0x4bcafa(0x39d))return[];let _0x8d792e=String(_0x482dfc[_0x3aaa5a+0x1]),_0x6d193=_0x482dfc['slice'](_0x3aaa5a+0x2)[_0x4bcafa(0x2fe)](Array[_0x4bcafa(0x2e1)]);return _0x6d193[_0x4bcafa(0x323)]<=0x1?[]:_0x6d193[_0x4bcafa(0x274)](_0x4bc6cc=>[_0x4bcafa(0x2b7),_0x8d792e,..._0x4bc6cc]);}function _e(_0x488e06){const _0x3638af=_0x557ecf;let _0x2cd9f3=new Set();return _0x488e06[_0x3638af(0x2fe)](_0x58750e=>{const _0x2a5025=_0x3638af;let _0x4eee75=JSON[_0x2a5025(0x36a)](_0x58750e);return _0x2cd9f3[_0x2a5025(0x25a)](_0x4eee75)?!0x1:(_0x2cd9f3[_0x2a5025(0x371)](_0x4eee75),!0x0);});}function ve(_0x4fd9ee){const _0x5b8059=_0x557ecf;return e[_0x5b8059(0x374)]['deepClone'](_0x4fd9ee);}function ye(_0x3ad35e,_0x2815b9){let _0x3f1793=be(_0x2815b9);if(!_0x3f1793['length'])return ve(_0x3ad35e);let _0x1c31eb=Te(_0x3ad35e);for(let _0x2b5c31 of _0x3f1793)Ce(_0x1c31eb,_0x2b5c31);return _0x1c31eb;}function be(_0x8111cc){let _0x53b87a=[];return xe(_0x8111cc,[],_0x53b87a),_0x53b87a;}function xe(_0x7ef143,_0x55382f,_0xbec1bb){const _0x130604=_0x557ecf;if(!Array['isArray'](_0x7ef143))return;let _0x2b908e=[];for(let _0x350aa9 of _0x7ef143){if(Array[_0x130604(0x2e1)](_0x350aa9)){xe(_0x350aa9,[..._0x55382f,..._0x2b908e],_0xbec1bb);continue;}if(Se(_0x350aa9)){_0xbec1bb[_0x130604(0x43e)]([..._0x55382f,..._0x2b908e]);continue;}(typeof _0x350aa9==_0x130604(0x39d)||typeof _0x350aa9==_0x130604(0x4f7))&&_0x2b908e[_0x130604(0x43e)](_0x350aa9);}}function Se(_0x2c8a3e){const _0x44c84b=_0x557ecf;if(!_0x2c8a3e||typeof _0x2c8a3e!='object'||Array[_0x44c84b(0x2e1)](_0x2c8a3e))return!0x1;let _0x21b00f=_0x2c8a3e;return'i'in _0x21b00f||'r'in _0x21b00f||'p'in _0x21b00f||'d'in _0x21b00f||'es'in _0x21b00f||_0x44c84b(0x4e4)in _0x21b00f||'et'in _0x21b00f;}function Ce(_0x45f83d,_0x2797fb){const _0x4ed8a7=_0x557ecf;let _0x1c29ec=_0x45f83d;for(let _0x1d02bf=0x0;_0x1d02bf<_0x2797fb[_0x4ed8a7(0x323)]-0x1;_0x1d02bf++){let _0x2f585d=_0x2797fb[_0x1d02bf],_0x5363b3=_0x1c29ec==null?void 0x0:_0x1c29ec[_0x2f585d];if(!we(_0x5363b3))return;let _0x25929d=Te(_0x5363b3);_0x1c29ec[_0x2f585d]=_0x25929d,_0x1c29ec=_0x25929d;}}function we(_0x10dd38){return!!_0x10dd38&&typeof _0x10dd38=='object';}function Te(_0x23c403){const _0x4f6683=_0x557ecf;return Array[_0x4f6683(0x2e1)](_0x23c403)?_0x23c403[_0x4f6683(0x4c3)]():{..._0x23c403};}const Ee=0x5a0*0x3c*0x3e8,De=0x63e1,Oe=_0x557ecf(0x43f),ke={'yyyy/mm/dd':_0x557ecf(0x3f2),'yyyy/mm/dd\x20hh:mm':'YYYY/MM/DD\x20HH:mm','yyyy-mm-dd':'YYYY-MM-DD','mm-dd':'MM-DD','mm/dd/yyyy':_0x557ecf(0x36c),'dd/mm/yyyy':'DD/MM/YYYY','mmm\x20d,\x20yyyy':'MMM\x20D,\x20YYYY'};function T(_0x55e8a8){const _0x4edbf8=_0x557ecf;return(0x0,e[_0x4edbf8(0x203)])(_0x55e8a8)[_0x4edbf8(0x43d)]()/Ee+De;}function Ae(_0x4f5d58){return(_0x4f5d58-De)*Ee;}function E(_0x2cd2c4){const _0x2fb4fb=_0x557ecf;if(_0x2cd2c4==null||_0x2cd2c4==='')return null;if(_0x2cd2c4 instanceof Date)return T(_0x2cd2c4);if(typeof _0x2cd2c4=='number')return Number[_0x2fb4fb(0x3fd)](_0x2cd2c4)?_0x2cd2c4>0xf4240?T(_0x2cd2c4):_0x2cd2c4:null;let _0x18b262=Date[_0x2fb4fb(0x206)](String(_0x2cd2c4));return Number[_0x2fb4fb(0x319)](_0x18b262)?null:T(_0x18b262);}function D(_0xfb9f25){let _0x3aa66f=E(_0xfb9f25);return _0x3aa66f==null?null:Ae(_0x3aa66f);}function je(_0x14c7bd,_0x22bd1e={}){const _0x1ea59c=_0x557ecf;var _0x13839e,_0x3d4e54,_0x4947df;let _0x22a9a8=D(_0x14c7bd);if(_0x22a9a8==null||!Number['isFinite'](_0x22a9a8))return'';let _0x42bdec=String((_0x13839e=(_0x3d4e54=_0x22bd1e[_0x1ea59c(0x2ad)])==null?_0x22bd1e[_0x1ea59c(0x42c)]:_0x3d4e54)==null?Oe:_0x13839e),_0x198808=_0x22bd1e[_0x1ea59c(0x2c7)]===!0x0||_0x42bdec['includes'](_0x1ea59c(0x4cc)),_0x3a75a2=String((_0x4947df=_0x22bd1e['hourCycle'])==null?_0x1ea59c(0x359):_0x4947df);return(0x0,e[_0x1ea59c(0x203)])(_0x22a9a8)[_0x1ea59c(0x42c)](Me(_0x42bdec,_0x198808,_0x3a75a2));}function Me(_0x15a0ba,_0x11d230,_0x3a4795){const _0x13d8d7=_0x557ecf;var _0x356f83;let _0x151087=(_0x356f83=ke[_0x15a0ba])==null?ke[Oe]:_0x356f83;return!_0x11d230||_0x15a0ba[_0x13d8d7(0x30f)](_0x13d8d7(0x4cc))?_0x151087:_0x151087+'\x20'+(_0x3a4795===_0x13d8d7(0x1e0)?_0x13d8d7(0x39a):'HH:mm');}const Ne={'editable':!0x0,'sortable':!0x0,'filterable':!0x0,'groupable':!0x1,'usableAsKanbanGroup':!0x1,'usableAsCalendarDate':!0x1,'usableAsGanttStart':!0x1,'usableAsGanttEnd':!0x1,'usableAsGanttProgress':!0x1,'usableAsCardCover':!0x1,'usableAsTitle':!0x1},Pe=new Set([e[_0x557ecf(0x29e)][_0x557ecf(0x27d)],e[_0x557ecf(0x29e)]['Summary'],e[_0x557ecf(0x29e)][_0x557ecf(0x247)],e[_0x557ecf(0x29e)]['Button'],e[_0x557ecf(0x29e)][_0x557ecf(0x2f9)],e['BaseFieldType'][_0x557ecf(0x240)],e[_0x557ecf(0x29e)][_0x557ecf(0x282)],e[_0x557ecf(0x29e)][_0x557ecf(0x366)]]),O=0x5a0*0x3c*0x3e8;function Fe(_0x3866e6,_0x28ffd9){const _0x21f720=_0x557ecf;return _0x3866e6==null&&_0x28ffd9==null?0x0:_0x3866e6==null?-0x1:_0x28ffd9==null?0x1:typeof _0x3866e6==_0x21f720(0x4f7)&&typeof _0x28ffd9==_0x21f720(0x4f7)?_0x3866e6-_0x28ffd9:String(_0x3866e6)[_0x21f720(0x3d1)](String(_0x28ffd9));}function Ie(_0x4be754,_0x44efd0,_0x172b4c,_0x2d35e1,_0x5a342b={}){const _0x7f9450=_0x557ecf;if(_0x44efd0===_0x7f9450(0x28c))return Le(_0x4be754);if(_0x44efd0==='isNotEmpty')return!Le(_0x4be754);switch(_0x2d35e1[_0x7f9450(0x26a)]){case e[_0x7f9450(0x29e)][_0x7f9450(0x412)]:case e[_0x7f9450(0x29e)]['Currency']:case e[_0x7f9450(0x29e)][_0x7f9450(0x2ef)]:case e[_0x7f9450(0x29e)][_0x7f9450(0x3b6)]:return Re(_0x4be754,_0x44efd0,_0x172b4c);case e[_0x7f9450(0x29e)][_0x7f9450(0x272)]:case e[_0x7f9450(0x29e)]['CreatedAt']:case e[_0x7f9450(0x29e)]['UpdatedAt']:return Be(_0x4be754,_0x44efd0,_0x172b4c,_0x5a342b);case e[_0x7f9450(0x29e)][_0x7f9450(0x394)]:return Ke(_0x4be754,_0x44efd0,_0x172b4c);case e['BaseFieldType']['SingleSelect']:case e[_0x7f9450(0x29e)][_0x7f9450(0x2f7)]:case e['BaseFieldType'][_0x7f9450(0x261)]:case e[_0x7f9450(0x29e)][_0x7f9450(0x3dc)]:return Je(_0x4be754,_0x44efd0,_0x172b4c,_0x2d35e1);default:return Ye(_0x4be754,_0x44efd0,_0x172b4c);}}function Le(_0x5c9827){const _0x14b5e1=_0x557ecf;return _0x5c9827==null?!0x0:Array[_0x14b5e1(0x2e1)](_0x5c9827)?_0x5c9827[_0x14b5e1(0x323)]===0x0:typeof _0x5c9827==_0x14b5e1(0x39d)?_0x5c9827['trim']()==='':!0x1;}function Re(_0x50dd36,_0x1b5de1,_0x5707b5){const _0x262d33=_0x557ecf;let _0x5faf38=ze(_0x50dd36),_0x5ae82b=ze(_0x5707b5);if(_0x5faf38==null||_0x5ae82b==null)return!0x1;switch(_0x1b5de1){case'is':return _0x5faf38===_0x5ae82b;case _0x262d33(0x3eb):return _0x5faf38!==_0x5ae82b;case _0x262d33(0x450):return _0x5faf38>_0x5ae82b;case _0x262d33(0x2a5):return _0x5faf38>=_0x5ae82b;case _0x262d33(0x3ba):return _0x5faf38<_0x5ae82b;case _0x262d33(0x2a4):return _0x5faf38<=_0x5ae82b;default:return!0x1;}}function ze(_0xa57d4a){const _0x4a5d5a=_0x557ecf;if(_0xa57d4a==null||_0xa57d4a==='')return null;let _0x241b78=Number(_0xa57d4a);return Number[_0x4a5d5a(0x3fd)](_0x241b78)?_0x241b78:null;}function _0x42d0(_0x1e8f7b,_0xca1b49){_0x1e8f7b=_0x1e8f7b-0x1de;const _0x35798e=_0x3579();let _0x42d01a=_0x35798e[_0x1e8f7b];return _0x42d01a;}function Be(_0x5d8083,_0x2f3bcb,_0x2848aa,_0x4f381a){const _0x2f8c8f=_0x557ecf;var _0x1d6442;let _0x57375e=He(_0x5d8083);if(_0x57375e==null)return!0x1;let _0x1ea380=Ve((_0x1d6442=_0x4f381a[_0x2f8c8f(0x287)])==null?_0x2f8c8f(0x3e8):_0x1d6442,_0x2848aa,_0x4f381a['now']);if(!_0x1ea380)return!0x1;switch(_0x2f3bcb){case'is':return _0x57375e>=_0x1ea380[_0x2f8c8f(0x448)]&&_0x57375e<=_0x1ea380['end'];case'isNot':return _0x57375e<_0x1ea380['start']||_0x57375e>_0x1ea380['end'];case'before':return _0x57375e<_0x1ea380['start'];case _0x2f8c8f(0x21c):return _0x57375e>_0x1ea380['end'];default:return!0x1;}}function Ve(_0x1c580b,_0x43906d,_0x328fd0=Date['now']()){const _0x2bd64f=_0x557ecf;let _0x30ed06=Ue(_0x328fd0);switch(_0x1c580b){case _0x2bd64f(0x3e8):{let _0x46e8fd=He(_0x43906d);return _0x46e8fd==null?null:{'start':_0x46e8fd,'end':_0x46e8fd+O-0x1};}case _0x2bd64f(0x221):return{'start':_0x30ed06,'end':_0x30ed06+O-0x1};case _0x2bd64f(0x375):return{'start':_0x30ed06+O,'end':_0x30ed06+O*0x2-0x1};case _0x2bd64f(0x4d2):return{'start':_0x30ed06-O,'end':_0x30ed06-0x1};case _0x2bd64f(0x44f):return We(_0x30ed06,0x0);case _0x2bd64f(0x42a):return We(_0x30ed06,-0x1);case'thisMonth':return Ge(_0x30ed06,0x0);case _0x2bd64f(0x283):return Ge(_0x30ed06,-0x1);case'past7':return{'start':_0x30ed06-O*0x6,'end':_0x30ed06+O-0x1};case'next7':return{'start':_0x30ed06,'end':_0x30ed06+O*0x7-0x1};case'past30':return{'start':_0x30ed06-O*0x1d,'end':_0x30ed06+O-0x1};case _0x2bd64f(0x302):return{'start':_0x30ed06,'end':_0x30ed06+O*0x1e-0x1};}}function He(_0xa18d84){let _0x464eaa=E(_0xa18d84);return _0x464eaa==null?null:Ue(Ae(_0x464eaa));}function Ue(_0x41802a){const _0x227b99=_0x557ecf;let _0x4ac331=new Date(_0x41802a);return _0x4ac331['setHours'](0x0,0x0,0x0,0x0),_0x4ac331[_0x227b99(0x478)]();}function We(_0x16a551,_0x25b769){let _0x3f36ad=_0x16a551-(new Date(_0x16a551)['getDay']()+0x6)%0x7*O+_0x25b769*O*0x7;return{'start':_0x3f36ad,'end':_0x3f36ad+O*0x7-0x1};}function Ge(_0x341a5e,_0x15ef3d){const _0x534631=_0x557ecf;let _0x96a90=new Date(_0x341a5e),_0x574df2=new Date(_0x96a90[_0x534631(0x337)](),_0x96a90[_0x534631(0x3af)]()+_0x15ef3d,0x1),_0x191663=new Date(_0x96a90[_0x534631(0x337)](),_0x96a90[_0x534631(0x3af)]()+_0x15ef3d+0x1,0x1);return{'start':_0x574df2[_0x534631(0x478)](),'end':_0x191663[_0x534631(0x478)]()-0x1};}function Ke(_0x122c80,_0xdba7cc,_0x37b180){let _0x3ca69b=qe(_0x122c80),_0x4d8a2c=qe(_0x37b180);switch(_0xdba7cc){case'is':return _0x3ca69b===_0x4d8a2c;case'isNot':return _0x3ca69b!==_0x4d8a2c;default:return!0x1;}}function qe(_0x2f447b){const _0x1a052c=_0x557ecf;return _0x2f447b===!0x0||_0x2f447b===_0x1a052c(0x2d0)||_0x2f447b===0x1||_0x2f447b==='1';}function Je(_0x253b63,_0x6584bf,_0x5d72a9,_0x36d5ee){const _0x158419=_0x557ecf;let _0x4a5215=Xe(_0x253b63,_0x36d5ee),_0x3d8cab=Xe(_0x5d72a9,_0x36d5ee),_0x176618=_0x3d8cab[_0x158419(0x323)]>0x0&&_0x3d8cab[_0x158419(0x4f5)](_0x401edc=>_0x4a5215[_0x158419(0x30f)](_0x401edc));switch(_0x6584bf){case'is':case'contains':return _0x176618;case _0x158419(0x3eb):case _0x158419(0x3b4):return!_0x176618;default:return!0x1;}}function Ye(_0x58d5ba,_0x5bf5b0,_0x2ce9db){const _0x3d34c5=_0x557ecf;let _0x58f642=k(_0x58d5ba),_0x5357bb=k(_0x2ce9db);switch(_0x5bf5b0){case'is':return _0x58f642===_0x5357bb;case'isNot':return _0x58f642!==_0x5357bb;case _0x3d34c5(0x4ac):return _0x5357bb?_0x58f642[_0x3d34c5(0x30f)](_0x5357bb):!0x1;case'notContains':return _0x5357bb?!_0x58f642['includes'](_0x5357bb):!0x0;default:return!0x1;}}function k(_0xb6eb0f){const _0x53c25c=_0x557ecf;if(Array[_0x53c25c(0x2e1)](_0xb6eb0f))return _0xb6eb0f[_0x53c25c(0x274)](_0x224a57=>k(_0x224a57))[_0x53c25c(0x28d)]('\x0a');if(_0xb6eb0f&&typeof _0xb6eb0f=='object'){var _0x535783,_0x34c399,_0x438d53,_0x5142c7,_0x407f2b;let _0x535d89=_0xb6eb0f;return String((_0x535783=(_0x34c399=(_0x438d53=(_0x5142c7=(_0x407f2b=_0x535d89[_0x53c25c(0x3c4)])==null?_0x535d89['label']:_0x407f2b)==null?_0x535d89[_0x53c25c(0x322)]:_0x5142c7)==null?_0x535d89[_0x53c25c(0x373)]:_0x438d53)==null?_0x535d89['id']:_0x34c399)==null?'':_0x535783)[_0x53c25c(0x354)]()[_0x53c25c(0x402)]();}return String(_0xb6eb0f==null?'':_0xb6eb0f)[_0x53c25c(0x354)]()[_0x53c25c(0x402)]();}function Xe(_0x59b65a,_0x2e7903){const _0x278c2a=_0x557ecf;var _0x3154f5;let _0x4961fe=A(_0x59b65a),_0x4bac05=Ze((_0x3154f5=_0x2e7903[_0x278c2a(0x294)])==null?{}:_0x3154f5);return _0x4961fe['flatMap'](_0x1aec28=>{const _0x4167cf=_0x278c2a;var _0x2ba68c;return(_0x2ba68c=_0x4bac05[_0x4167cf(0x487)](_0x1aec28))==null?[_0x1aec28]:_0x2ba68c;})[_0x278c2a(0x2fe)]((_0x4d5b85,_0x2ee133,_0x155f30)=>_0x4d5b85!==''&&_0x155f30[_0x278c2a(0x2e2)](_0x4d5b85)===_0x2ee133);}function A(_0x44afcf){const _0x25fc2f=_0x557ecf;if(_0x44afcf==null||_0x44afcf==='')return[];if(Array[_0x25fc2f(0x2e1)](_0x44afcf))return _0x44afcf[_0x25fc2f(0x454)](_0x561c70=>A(_0x561c70));if(_0x44afcf&&typeof _0x44afcf==_0x25fc2f(0x341)){let _0x22fb5b=_0x44afcf;return['id','name','label',_0x25fc2f(0x373),_0x25fc2f(0x322)][_0x25fc2f(0x454)](_0x4691d2=>A(_0x22fb5b[_0x4691d2]))[_0x25fc2f(0x2fe)]((_0x341222,_0x45f8b2,_0x379d13)=>_0x379d13[_0x25fc2f(0x2e2)](_0x341222)===_0x45f8b2);}return[k(_0x44afcf)];}function Ze(_0x44452e){const _0x432539=_0x557ecf;let _0x19b7d7=new Map();return(Array['isArray'](_0x44452e['options'])?_0x44452e[_0x432539(0x48c)]:[])['forEach'](_0x1654f0=>{const _0x4fc812=_0x432539;if(!_0x1654f0||typeof _0x1654f0!=_0x4fc812(0x341))return;let _0x32ab0a=A(_0x1654f0),_0xae0c8c=_0x32ab0a[_0x4fc812(0x2fe)]((_0x29086c,_0x359f2c)=>_0x29086c!==''&&_0x32ab0a[_0x4fc812(0x2e2)](_0x29086c)===_0x359f2c);_0xae0c8c[_0x4fc812(0x4c8)](_0x493bb3=>_0x19b7d7[_0x4fc812(0x47d)](_0x493bb3,_0xae0c8c));}),_0x19b7d7;}function j(_0x45f18e,_0x5032b9={},_0x348374=_0x439980=>_0x439980,_0x4c6176={}){const _0x90cd48=_0x557ecf;var _0xe7901b,_0x4dcbe7,_0x1021f1,_0x4ddecd;let _0x40b5ee=!Pe['has'](_0x45f18e),_0x5a75bf=_0x348374==null?_0x2271db=>_0x2271db:_0x348374;return{'type':_0x45f18e,'i18nKey':_0x90cd48(0x3ef)+_0x45f18e,'enabled':_0x40b5ee,'visibleInCreateMenu':_0x40b5ee,'createDefaultConfig':(_0xe7901b=_0x4c6176[_0x90cd48(0x422)])==null?()=>({}):_0xe7901b,'createDefaultValue':(_0x4dcbe7=_0x4c6176[_0x90cd48(0x490)])==null?_0x2e3631=>{var _0x466261;return(_0x466261=_0x2e3631['defaultValue'])==null?null:_0x466261;}:_0x4dcbe7,'normalize':(_0x31f541,_0x14cf78)=>_0x5a75bf(_0x31f541,_0x14cf78),'validate':(_0x45472d,_0x1a5cf9)=>{const _0x254b99=_0x90cd48;var _0x231f78,_0xcac4af;return _0x40b5ee?(_0x231f78=(_0xcac4af=_0x4c6176[_0x254b99(0x2ab)])==null?void 0x0:_0xcac4af['call'](_0x4c6176,_0x45472d,_0x1a5cf9))==null?{'valid':!0x0}:_0x231f78:{'valid':!0x1};},'compare':(_0x15b97f,_0x215ac4)=>Fe(_0x15b97f,_0x215ac4),'filter':(_0x4f3aa,_0x5e5a7f,_0xd7c85c,_0x263919)=>Ie(_0x4f3aa,_0x5e5a7f,_0xd7c85c,_0x263919),'toPlainText':(_0x1021f1=_0x4c6176[_0x90cd48(0x33e)])==null?_0x3d701b=>_0x3d701b==null?'':String(_0x3d701b):_0x1021f1,'fromPlainText':(_0x4ddecd=_0x4c6176[_0x90cd48(0x349)])==null?_0x5761e1=>_0x5a75bf(_0x5761e1,{'id':'','name':'','type':_0x45f18e,'config':{}}):_0x4ddecd,'getCapabilities':()=>{const _0xb04b7a=_0x90cd48;var _0x4a0bba;return{...Ne,..._0x5032b9,'editable':_0x40b5ee&&((_0x4a0bba=_0x5032b9[_0xb04b7a(0x35c)])==null?Ne[_0xb04b7a(0x35c)]:_0x4a0bba)};}};}function Qe(){const _0x3fb3f5=_0x557ecf;return[j(e['BaseFieldType'][_0x3fb3f5(0x35a)],{'groupable':!0x0,'usableAsTitle':!0x0},void 0x0,{'createDefaultConfig':()=>({'placeholder':_0x3fb3f5(0x331)}),'createDefaultValue':_0x30d648=>{const _0x25894f=_0x3fb3f5;var _0x202a0d;return(_0x202a0d=_0x30d648[_0x25894f(0x30d)])==null?'':_0x202a0d;}}),j(e['BaseFieldType'][_0x3fb3f5(0x22d)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsOptions':!0x0},_0x2d8cd8=>_0x2d8cd8==null||_0x2d8cd8===''?null:String(_0x2d8cd8),{'createDefaultConfig':()=>({'options':[],'optionSource':{'type':'manual'}})}),j(e['BaseFieldType'][_0x3fb3f5(0x2f7)],{'filterable':!0x0,'usableAsKanbanGroup':!0x0,'supportsOptions':!0x0,'supportsMultipleValues':!0x0},_0x42cd1c=>Array['isArray'](_0x42cd1c)?_0x42cd1c[_0x3fb3f5(0x274)](String):_0x42cd1c==null?[]:[String(_0x42cd1c)],{'createDefaultConfig':()=>({'options':[],'optionSource':{'type':_0x3fb3f5(0x201)}}),'createDefaultValue':_0x3b4e2e=>{const _0x2a4199=_0x3fb3f5;var _0x5e81c8;return(_0x5e81c8=_0x3b4e2e[_0x2a4199(0x30d)])==null?[]:_0x5e81c8;}}),j(e[_0x3fb3f5(0x29e)][_0x3fb3f5(0x261)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsMultipleValues':!0x0},nt,{'createDefaultConfig':()=>({'allowMultiple':!0x1,'provider':_0x3fb3f5(0x38c)}),'validate':rt}),j(e[_0x3fb3f5(0x29e)][_0x3fb3f5(0x3dc)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsMultipleValues':!0x0},tt,{'createDefaultConfig':()=>({'allowMultiple':!0x0,'provider':'group'}),'createDefaultValue':_0x29114d=>{const _0x4affb1=_0x3fb3f5;var _0x5b9fbb;return(_0x5b9fbb=_0x29114d[_0x4affb1(0x30d)])==null?[]:_0x5b9fbb;},'validate':it}),j(e[_0x3fb3f5(0x29e)][_0x3fb3f5(0x272)],{'groupable':!0x0,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x21062e=>E(_0x21062e),{'createDefaultConfig':()=>et(),'validate':at}),j(e[_0x3fb3f5(0x29e)]['Attachment'],{'usableAsCardCover':!0x0,'supportsMultipleValues':!0x0},_0x5c37a2=>_0x5c37a2==null?[]:Array[_0x3fb3f5(0x2e1)](_0x5c37a2)?_0x5c37a2:[_0x5c37a2],{'createDefaultValue':_0x1aa05a=>{const _0xe84770=_0x3fb3f5;var _0x37dccc;return(_0x37dccc=_0x1aa05a[_0xe84770(0x30d)])==null?[]:_0x37dccc;}}),j(e[_0x3fb3f5(0x29e)][_0x3fb3f5(0x412)],{},_0x331d7b=>_0x331d7b==null||_0x331d7b===''?null:Number(_0x331d7b),{'createDefaultConfig':()=>$e(),'validate':ot}),j(e[_0x3fb3f5(0x29e)][_0x3fb3f5(0x394)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0},_0x53239c=>_0x53239c===!0x0||_0x53239c===_0x3fb3f5(0x2d0)||_0x53239c===0x1||_0x53239c==='1',{'createDefaultConfig':()=>({'icon':'check','color':'#16a34a'}),'createDefaultValue':_0x2bf015=>{var _0x4e0c76;return(_0x4e0c76=_0x2bf015['defaultValue'])==null?!0x1:_0x4e0c76;},'validate':_0x4fdf6a=>typeof _0x4fdf6a=='boolean'?{'valid':!0x0}:{'valid':!0x1,'reason':_0x3fb3f5(0x397)}}),j(e[_0x3fb3f5(0x29e)]['Link'],{'supportsRelation':!0x0},ct,{'createDefaultConfig':()=>({'placeholder':'bases.fieldConfig.linkPlaceholder'}),'toPlainText':_0x5afb72=>lt(_0x5afb72),'fromPlainText':_0x56301=>ct(_0x56301)}),j(e[_0x3fb3f5(0x29e)][_0x3fb3f5(0x476)],{'editable':!0x1},void 0x0,{'createDefaultConfig':()=>({'formula':'','dependencies':[],'numfmt':{'type':_0x3fb3f5(0x45f),'pattern':'General'}}),'createDefaultValue':()=>null}),j(e[_0x3fb3f5(0x29e)][_0x3fb3f5(0x27d)],{}),j(e['BaseFieldType'][_0x3fb3f5(0x247)],{}),j(e[_0x3fb3f5(0x29e)][_0x3fb3f5(0x3f8)],{'editable':!0x1,'sortable':!0x1,'filterable':!0x1}),j(e[_0x3fb3f5(0x29e)][_0x3fb3f5(0x304)],{'editable':!0x1,'usableAsTitle':!0x0},void 0x0,{'createDefaultConfig':()=>({'mode':_0x3fb3f5(0x404)}),'createDefaultValue':()=>null}),j(e['BaseFieldType'][_0x3fb3f5(0x265)],{'usableAsTitle':!0x0},_0x57e2e5=>_0x57e2e5==null?null:String(_0x57e2e5)[_0x3fb3f5(0x354)](),{'validate':_0x3073c0=>_0x3073c0==null||_0x3073c0===''||/^\+?[0-9 ()-]{6,20}$/[_0x3fb3f5(0x2af)](String(_0x3073c0))?{'valid':!0x0}:{'valid':!0x1,'reason':'[BaseField]:\x20invalid\x20phone\x20value.'}}),j(e[_0x3fb3f5(0x29e)][_0x3fb3f5(0x37a)],{'usableAsTitle':!0x0},_0x2817c7=>_0x2817c7==null?null:String(_0x2817c7)['trim'](),{'validate':_0x1e9d15=>_0x1e9d15==null||_0x1e9d15===''||dt(String(_0x1e9d15))?{'valid':!0x0}:{'valid':!0x1,'reason':'[BaseField]:\x20invalid\x20email\x20value.'}}),j(e[_0x3fb3f5(0x29e)]['Location'],{'usableAsTitle':!0x0}),j(e[_0x3fb3f5(0x29e)][_0x3fb3f5(0x366)],{'usableAsTitle':!0x0}),j(e[_0x3fb3f5(0x29e)]['Progress'],{'usableAsGanttProgress':!0x0},_0x591ccd=>_0x591ccd==null||_0x591ccd===''?null:Number(_0x591ccd),{'createDefaultConfig':()=>({'format':_0x3fb3f5(0x3b9),'decimalPlaces':0x0,'color':'blue','customRange':!0x1,'start':0x0,'end':0x64}),'validate':(_0x4ba735,_0x172cd1)=>st(_0x4ba735,_0x172cd1,_0x3fb3f5(0x275))}),j(e[_0x3fb3f5(0x29e)][_0x3fb3f5(0x484)],{},_0x2615d4=>_0x2615d4==null||_0x2615d4===''?null:Number(_0x2615d4),{'createDefaultConfig':()=>({...$e(),'currencySymbol':'$'}),'validate':ot}),j(e['BaseFieldType'][_0x3fb3f5(0x3b6)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0},_0x3c1b2d=>_0x3c1b2d==null||_0x3c1b2d===''?null:Number(_0x3c1b2d),{'createDefaultConfig':()=>({'icon':_0x3fb3f5(0x4ae),'min':0x1,'max':0x5}),'createDefaultValue':()=>null,'validate':(_0x118611,_0x475667)=>st(_0x118611,_0x475667,_0x3fb3f5(0x4df))}),j(e['BaseFieldType'][_0x3fb3f5(0x240)],{'supportsRelation':!0x0}),j(e[_0x3fb3f5(0x29e)][_0x3fb3f5(0x282)],{'editable':!0x1,'sortable':!0x0,'filterable':!0x0,'usableAsTitle':!0x0}),j(e['BaseFieldType'][_0x3fb3f5(0x4d7)],{'editable':!0x1,'groupable':!0x0},_0x2c74c9=>_0x2c74c9==null?null:String(_0x2c74c9),{'createDefaultConfig':()=>({'provider':_0x3fb3f5(0x22b)}),'createDefaultValue':()=>null}),j(e['BaseFieldType'][_0x3fb3f5(0x44e)],{'editable':!0x1,'groupable':!0x0},_0x2e00f2=>_0x2e00f2==null?null:String(_0x2e00f2),{'createDefaultConfig':()=>({'provider':_0x3fb3f5(0x22b)}),'createDefaultValue':()=>null}),j(e['BaseFieldType'][_0x3fb3f5(0x3fc)],{'editable':!0x1,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0xa1b1af=>E(_0xa1b1af),{'createDefaultConfig':()=>et(),'createDefaultValue':()=>null,'validate':at}),j(e[_0x3fb3f5(0x29e)]['UpdatedAt'],{'editable':!0x1,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x39b0e9=>E(_0x39b0e9),{'createDefaultConfig':()=>et(),'createDefaultValue':()=>null,'validate':at}),j(e[_0x3fb3f5(0x29e)][_0x3fb3f5(0x2e8)],{})];}function $e(){const _0x4ed628=_0x557ecf;return{'pattern':'#,##0.00','decimalPlaces':0x2,'separatorStyle':_0x4ed628(0x4cd),'useThousands':!0x0,'abbreviation':_0x4ed628(0x210),'allowNegative':!0x0};}function et(){const _0x2cc187=_0x557ecf;return{'locale':_0x2cc187(0x3cf),'pattern':_0x2cc187(0x43f),'includeTime':!0x1,'hourCycle':_0x2cc187(0x359),'defaultMode':'none'};}function tt(_0x21378f){const _0x2c039d=_0x557ecf;return _0x21378f==null||_0x21378f===''?[]:Array[_0x2c039d(0x2e1)](_0x21378f)?_0x21378f[_0x2c039d(0x274)](String):[String(_0x21378f)];}function nt(_0x357acc,_0x188f2b){const _0xcc19c2=_0x557ecf;var _0x362790;return _0x357acc==null||_0x357acc===''?_0x188f2b['config']['allowMultiple']===!0x0?[]:null:_0x188f2b[_0xcc19c2(0x294)]['allowMultiple']===!0x0?Array['isArray'](_0x357acc)?_0x357acc[_0xcc19c2(0x274)](String):[String(_0x357acc)]:Array['isArray'](_0x357acc)?String((_0x362790=_0x357acc[0x0])==null?'':_0x362790)||null:String(_0x357acc);}function rt(_0x465988,_0x4a8561){const _0x19a805=_0x557ecf;return _0x4a8561['config'][_0x19a805(0x28f)]===!0x0?it(_0x465988):_0x465988==null||_0x465988===''||typeof _0x465988=='string'?{'valid':!0x0}:{'valid':!0x1,'reason':_0x19a805(0x49b)};}function it(_0x1040d9){const _0x7a06b7=_0x557ecf;return _0x1040d9==null||Array[_0x7a06b7(0x2e1)](_0x1040d9)&&_0x1040d9[_0x7a06b7(0x277)](_0x471250=>typeof _0x471250==_0x7a06b7(0x39d))?{'valid':!0x0}:{'valid':!0x1,'reason':'[BaseField]:\x20invalid\x20multi-value\x20reference.'};}function at(_0x108e0a){const _0x14860c=_0x557ecf;return _0x108e0a==null||typeof _0x108e0a==_0x14860c(0x4f7)&&Number[_0x14860c(0x3fd)](_0x108e0a)?{'valid':!0x0}:{'valid':!0x1,'reason':'[BaseField]:\x20invalid\x20date\x20value.'};}function ot(_0x17d263,_0x46ec4f){const _0xd75e24=_0x557ecf;return _0x17d263==null||_0x17d263===''?{'valid':!0x0}:typeof _0x17d263!='number'||!Number[_0xd75e24(0x3fd)](_0x17d263)?{'valid':!0x1,'reason':'[BaseField]:\x20invalid\x20number\x20value.'}:_0x46ec4f['config'][_0xd75e24(0x207)]===!0x1&&_0x17d263<0x0?{'valid':!0x1,'reason':'[BaseField]:\x20negative\x20numbers\x20are\x20disabled.'}:{'valid':!0x0};}function st(_0x406f6e,_0x3088ab,_0x3630e7){const _0x246417=_0x557ecf;var _0x48ed28,_0xab0295,_0x4f1f97,_0xb3df1f;let _0x98fb67=ot(_0x406f6e,_0x3088ab);if(!_0x98fb67[_0x246417(0x278)]||_0x406f6e==null||_0x406f6e==='')return _0x98fb67;let _0x184b65=Number((_0x48ed28=(_0xab0295=_0x3088ab[_0x246417(0x294)][_0x246417(0x2c2)])==null?_0x3088ab[_0x246417(0x294)][_0x246417(0x448)]:_0xab0295)==null?0x0:_0x48ed28),_0x5466fd=Number((_0x4f1f97=(_0xb3df1f=_0x3088ab[_0x246417(0x294)]['max'])==null?_0x3088ab[_0x246417(0x294)]['end']:_0xb3df1f)==null?0x64:_0x4f1f97),_0x18086c=Number(_0x406f6e);return _0x18086c>=_0x184b65&&_0x18086c<=_0x5466fd?{'valid':!0x0}:{'valid':!0x1,'reason':_0x3630e7};}function ct(_0xac9520){const _0x91ffc9=_0x557ecf;if(_0xac9520==null||_0xac9520==='')return null;if(typeof _0xac9520==_0x91ffc9(0x341)&&!Array[_0x91ffc9(0x2e1)](_0xac9520)){let _0x13a4c1=_0xac9520,_0x5008c5=typeof _0x13a4c1['text']==_0x91ffc9(0x39d)?_0x13a4c1[_0x91ffc9(0x322)]['trim']():'',_0x15f0db=typeof _0x13a4c1[_0x91ffc9(0x229)]==_0x91ffc9(0x39d)?_0x13a4c1[_0x91ffc9(0x229)]['trim']():'',_0x9e3991=ut(_0x15f0db||_0x5008c5);return _0x9e3991?{'text':_0x5008c5||_0x15f0db||_0x9e3991,'url':_0x9e3991}:null;}let _0x3c4da8=String(_0xac9520)[_0x91ffc9(0x354)](),_0x143d88=ut(_0x3c4da8);return _0x143d88?{'text':_0x3c4da8,'url':_0x143d88}:null;}function lt(_0x2267c1){const _0x1aa68d=_0x557ecf;if(_0x2267c1==null)return'';if(typeof _0x2267c1==_0x1aa68d(0x341)&&!Array['isArray'](_0x2267c1)){let _0x166438=_0x2267c1;return String(_0x166438[_0x1aa68d(0x322)]||_0x166438[_0x1aa68d(0x229)]||'');}return String(_0x2267c1);}function ut(_0x349ef8){const _0x552827=_0x557ecf;let _0xe34bc0=_0x349ef8[_0x552827(0x354)]();return _0xe34bc0?/^[a-z][a-z\d+.-]*:\/\//i[_0x552827(0x2af)](_0xe34bc0)?_0xe34bc0:_0x552827(0x228)+_0xe34bc0:'';}function dt(_0x219c13){const _0x1b0941=_0x557ecf;let _0xc60d77=_0x219c13[_0x1b0941(0x2e2)]('@');if(_0xc60d77<=0x0||_0xc60d77!==_0x219c13[_0x1b0941(0x308)]('@'))return!0x1;let _0x51b150=_0x219c13[_0x1b0941(0x4c3)](_0xc60d77+0x1);return _0x51b150[_0x1b0941(0x30f)]('.')&&!_0x219c13[_0x1b0941(0x30f)]('\x20')&&!_0x51b150[_0x1b0941(0x30c)]('.')&&!_0x51b150['endsWith']('.');}const M={'table':_0x2f4fac=>[_0x557ecf(0x2b7),_0x2f4fac],'field':(_0x4a78ed,_0x1e633b)=>[_0x557ecf(0x2b7),_0x4a78ed,_0x557ecf(0x40d),_0x1e633b],'fieldOrder':(_0x2d2ba4,_0x125837)=>[_0x557ecf(0x2b7),_0x2d2ba4,'fieldOrder',_0x125837],'record':(_0x4be759,_0x4266df)=>[_0x557ecf(0x2b7),_0x4be759,_0x557ecf(0x2ac),_0x4266df],'cell':(_0x2dc437,_0xb6a4bb,_0x1d457e)=>[_0x557ecf(0x2b7),_0x2dc437,_0x557ecf(0x2ac),_0xb6a4bb,_0x557ecf(0x4f9),_0x1d457e],'cellData':(_0x37c1b9,_0x679314,_0x25c46b)=>[_0x557ecf(0x2b7),_0x37c1b9,_0x557ecf(0x46b),String(_0x679314),String(_0x25c46b)],'attachmentSet':(_0x519c5c,_0x22b909)=>[_0x557ecf(0x2b7),_0x519c5c,_0x557ecf(0x4b9),'attachmentSets',_0x22b909],'attachment':(_0x1cb972,_0x5d17e4)=>[_0x557ecf(0x2b7),_0x1cb972,'resources',_0x557ecf(0x4d9),_0x5d17e4],'view':(_0x315f8c,_0x455dd0)=>[_0x557ecf(0x2b7),_0x315f8c,'views',_0x455dd0],'viewFieldHidden':(_0x4b93d1,_0x2063d1,_0x1b48cb)=>[_0x557ecf(0x2b7),_0x4b93d1,_0x557ecf(0x45e),_0x2063d1,'fieldSettings',_0x1b48cb,_0x557ecf(0x3fa)]};function N(_0x28749c){const _0x504ab2=_0x557ecf;return _0x28749c['reduce']((_0x4682c8,_0x1e6061)=>_0x4682c8==null?_0x1e6061:e[_0x504ab2(0x2a3)][_0x504ab2(0x26a)]['compose'](_0x4682c8,_0x1e6061),void 0x0);}var P=class{[_0x557ecf(0x3a5)](_0x3c2175,_0x41ea4a){const _0xb39cd4=_0x557ecf;let _0x4d3899=this[_0xb39cd4(0x31f)](_0x3c2175,_0x3c2175[_0xb39cd4(0x3c4)],_0x41ea4a);return N([this[_0xb39cd4(0x31a)]([_0xb39cd4(0x3c4)],_0x3c2175['name'],_0x41ea4a),..._0x4d3899?[_0x4d3899]:[]]);}[_0x557ecf(0x31f)](_0xed0585,_0x5bab73,_0x3573af){const _0xf7d40b=_0x557ecf;let _0x4f9383=Object['values'](_0xed0585['tables'])[_0xf7d40b(0x454)](_0x5dd8f2=>Object[_0xf7d40b(0x4f9)](_0x5dd8f2['fields'])[_0xf7d40b(0x454)](_0x1537b4=>{const _0x2bde25=_0xf7d40b;var _0x40e610,_0x4a871d,_0x282bfa;if(_0x1537b4[_0x2bde25(0x26a)]!==e[_0x2bde25(0x29e)][_0x2bde25(0x476)])return[];let _0x52dda0=String((_0x40e610=(_0x4a871d=_0x1537b4[_0x2bde25(0x294)])==null?void 0x0:_0x4a871d[_0x2bde25(0x4dd)])==null?'':_0x40e610),_0x1fce18=(0x0,t[_0x2bde25(0x3c9)])(_0x52dda0,_0x5bab73,_0x3573af);return _0x1fce18===_0x52dda0?[]:[this[_0x2bde25(0x31a)]([...M[_0x2bde25(0x383)](_0x5dd8f2['id'],_0x1537b4['id']),_0x2bde25(0x294),'formula'],(_0x282bfa=_0x1537b4[_0x2bde25(0x294)])==null?void 0x0:_0x282bfa[_0x2bde25(0x4dd)],_0x1fce18)];}));return _0x4f9383[_0xf7d40b(0x323)]>0x0?N(_0x4f9383):void 0x0;}[_0x557ecf(0x391)](_0x19c777,_0x5ec603,_0x1f9b47=_0x19c777[_0x557ecf(0x208)][_0x557ecf(0x323)]){const _0x49a689=_0x557ecf;return N([e[_0x49a689(0x2a3)]['insertOp'](M[_0x49a689(0x37c)](_0x5ec603['id']),_0x5ec603),e['JSON1']['insertOp'](['tableOrder',_0x1f9b47],_0x5ec603['id'])]);}[_0x557ecf(0x45b)](_0x4d13eb,_0x1da9c2,_0x222400){const _0x30ef3b=_0x557ecf;let _0x30d438=_0x4d13eb[_0x30ef3b(0x2b7)][_0x1da9c2][_0x30ef3b(0x3c4)],_0x490162=Object[_0x30ef3b(0x4f9)](_0x4d13eb[_0x30ef3b(0x2b7)])['flatMap'](_0x4cdd73=>Object[_0x30ef3b(0x4f9)](_0x4cdd73[_0x30ef3b(0x40d)])[_0x30ef3b(0x454)](_0x28648c=>{const _0x3bb270=_0x30ef3b;var _0xa2f372,_0x534dfb;if(_0x28648c['type']!==e['BaseFieldType'][_0x3bb270(0x476)])return[];let _0x4aabfe=String((_0xa2f372=(_0x534dfb=_0x28648c[_0x3bb270(0x294)])==null?void 0x0:_0x534dfb[_0x3bb270(0x4dd)])==null?'':_0xa2f372),_0x313e01=vt(_0x4aabfe,_0x30d438,_0x222400);return _0x313e01===_0x4aabfe?[]:[this['updateField'](_0x4d13eb,_0x4cdd73['id'],_0x28648c['id'],{'config':{..._0x28648c[_0x3bb270(0x294)],'formula':_0x313e01}})];}));return N([e['JSON1']['replaceOp']([...M['table'](_0x1da9c2),'name'],_0x30d438,_0x222400),..._0x490162]);}['deleteTable'](_0x1a45b4,_0x1b6606){const _0x5be34d=_0x557ecf;let _0x44b116=_0x1a45b4['tables'][_0x1b6606],_0x1f94db=_0x1a45b4['tableOrder'][_0x5be34d(0x2e2)](_0x1b6606);return N([e[_0x5be34d(0x2a3)][_0x5be34d(0x4f0)](M[_0x5be34d(0x37c)](_0x1b6606),_0x44b116),e[_0x5be34d(0x2a3)][_0x5be34d(0x4f0)]([_0x5be34d(0x208),_0x1f94db],_0x1b6606)]);}['createRecord'](_0x15de15,_0x49a40c,_0x396e1c){const _0x39e769=_0x557ecf;return this[_0x39e769(0x2f1)](_0x15de15,_0x49a40c,[_0x396e1c]);}['createRecords'](_0x52147f,_0x4901ef,_0x36deb2){const _0x4a18a8=_0x557ecf;let _0x60bff0=_0x52147f[_0x4a18a8(0x2b7)][_0x4901ef],_0x5a2843=_0x36deb2[_0x4a18a8(0x2fe)](_0x3f10ca=>_0x3f10ca&&!_0x60bff0['records'][_0x3f10ca['id']]);return _0x5a2843[_0x4a18a8(0x323)]?N([..._0x5a2843[_0x4a18a8(0x274)](_0x4326dd=>e[_0x4a18a8(0x2a3)][_0x4a18a8(0x2a1)](M['record'](_0x4901ef,_0x4326dd['id']),_0x4326dd)),this[_0x4a18a8(0x440)](_0x52147f,_0x4901ef,_0x5a2843)]):e[_0x4a18a8(0x2a3)][_0x4a18a8(0x4ee)]([...M[_0x4a18a8(0x37c)](_0x4901ef),'records'],_0x60bff0[_0x4a18a8(0x2ac)],_0x60bff0['records']);}['deleteRecord'](_0x492e2e,_0x5cbf9e,_0x36667c){return this['deleteRecords'](_0x492e2e,_0x5cbf9e,[_0x36667c]);}[_0x557ecf(0x2b0)](_0xa19879,_0x520ebd,_0x56fd50){const _0x4b32dd=_0x557ecf;let _0x319609=_0xa19879[_0x4b32dd(0x2b7)][_0x520ebd],_0x383e6b=Array['from'](new Set(_0x56fd50))[_0x4b32dd(0x2fe)](_0x23a91e=>_0x319609[_0x4b32dd(0x2ac)][_0x23a91e]);if(!_0x383e6b[_0x4b32dd(0x323)])return e[_0x4b32dd(0x2a3)]['replaceOp']([...M[_0x4b32dd(0x37c)](_0x520ebd),_0x4b32dd(0x2ac)],_0x319609[_0x4b32dd(0x2ac)],_0x319609['records']);let _0x331505=new Set(_0x383e6b),_0x2d9632=_0x383e6b[_0x4b32dd(0x274)](_0x55aba6=>{var _0x43aea7,_0x527fe3;return{'recordId':_0x55aba6,'index':(_0x43aea7=(_0x527fe3=_0x319609['recordOrder'])==null?void 0x0:_0x527fe3['indexOf'](_0x55aba6))==null?-0x1:_0x43aea7};})[_0x4b32dd(0x2fe)](_0x5aa5f2=>_0x5aa5f2['index']>=0x0)[_0x4b32dd(0x496)]((_0x3c9343,_0x25188d)=>_0x25188d['index']-_0x3c9343[_0x4b32dd(0x344)]);return N([..._0x383e6b['map'](_0x3e2cc3=>e['JSON1']['removeOp'](M[_0x4b32dd(0x425)](_0x520ebd,_0x3e2cc3),_0x319609[_0x4b32dd(0x2ac)][_0x3e2cc3])),..._0x2d9632[_0x4b32dd(0x274)](({recordId:_0xa4cb85,index:_0x46f37c})=>e['JSON1'][_0x4b32dd(0x4f0)]([_0x4b32dd(0x2b7),_0x520ebd,_0x4b32dd(0x20f),_0x46f37c],_0xa4cb85)),...this['_deleteAttachmentResources'](_0x319609,_0x520ebd,_0xe385d2=>{const _0x166681=_0x4b32dd;let _0x2012d0=_0xe385d2[_0x166681(0x4c3)](_0xe385d2[_0x166681(0x308)]('\x1f')+0x1);return _0x331505[_0x166681(0x25a)](_0x2012d0);})]);}[_0x557ecf(0x2d3)](_0x50ab0d,_0xe42166,_0xf9928d,_0x2737ce){const _0x2a0428=_0x557ecf;return this['createRecord'](_0x50ab0d,_0xe42166,{..._0x2737ce,'values':{..._0x50ab0d[_0x2a0428(0x2b7)][_0xe42166][_0x2a0428(0x2ac)][_0xf9928d]['values'],..._0x2737ce[_0x2a0428(0x4f9)]}});}['updateRecordOrder'](_0x2aff0a,_0xd8f215,_0x4bdd4e,_0x115318){const _0x387b0d=_0x557ecf;let _0xcd020=_0x2aff0a[_0x387b0d(0x2b7)][_0xd8f215],_0x1a0c85=[...M[_0x387b0d(0x425)](_0xd8f215,_0x4bdd4e),_0x387b0d(0x408)],_0x32ebea=Object['values'](_0xcd020[_0x387b0d(0x2ac)])[_0x387b0d(0x274)](_0x590541=>_0x590541['id']===_0x4bdd4e?{..._0x590541,'orderKey':_0x115318}:_0x590541)[_0x387b0d(0x496)]((_0x108c69,_0x45cb72)=>{const _0x23b8d7=_0x387b0d;var _0xc4bbf6,_0x412d7e;return String((_0xc4bbf6=_0x108c69['orderKey'])==null?_0x108c69['id']:_0xc4bbf6)[_0x23b8d7(0x3d1)](String((_0x412d7e=_0x45cb72['orderKey'])==null?_0x45cb72['id']:_0x412d7e));})['map'](_0x31aade=>_0x31aade['id']),_0x469601=[...M[_0x387b0d(0x37c)](_0xd8f215),_0x387b0d(0x20f)];return N([e[_0x387b0d(0x2a3)][_0x387b0d(0x4ee)](_0x1a0c85,_0xcd020[_0x387b0d(0x2ac)][_0x4bdd4e]['orderKey'],_0x115318),_0xcd020[_0x387b0d(0x20f)]?e[_0x387b0d(0x2a3)]['replaceOp'](_0x469601,_0xcd020[_0x387b0d(0x20f)],_0x32ebea):e['JSON1'][_0x387b0d(0x2a1)](_0x469601,_0x32ebea)]);}[_0x557ecf(0x426)](_0x2e30f6,_0xa69862,_0x44a426,_0x14d96f,_0x158eda){const _0x294caf=_0x557ecf;var _0x3ec1ed,_0x29f945;let _0x10a47a=_0x2e30f6['tables'][_0xa69862],_0x575a3f=ft(_0x10a47a,_0x44a426,_0x14d96f)?_0x10a47a:d(_0x10a47a),_0x421dd4=(_0x3ec1ed=_0x575a3f['rowIndex'])==null?void 0x0:_0x3ec1ed[_0x44a426],_0x2ae047=(_0x29f945=_0x575a3f[_0x294caf(0x279)])==null?void 0x0:_0x29f945[_0x14d96f];if(_0x421dd4==null||_0x2ae047==null){var _0x45889c;return this[_0x294caf(0x31a)](M[_0x294caf(0x28e)](_0xa69862,_0x44a426,_0x14d96f),(_0x45889c=_0x2e30f6[_0x294caf(0x2b7)][_0xa69862])==null||(_0x45889c=_0x45889c[_0x294caf(0x2ac)][_0x44a426])==null?void 0x0:_0x45889c[_0x294caf(0x4f9)][_0x14d96f],_0x158eda);}return this[_0x294caf(0x48f)](_0x2e30f6,_0xa69862,[{'row':_0x421dd4,'col':_0x2ae047,'value':_0x158eda}]);}[_0x557ecf(0x245)](_0x27d6d5,_0x30b0c1,_0x1f0342){const _0x8abafe=_0x557ecf;let _0x31000f=_0x27d6d5['tables'][_0x30b0c1],_0x55ac20=_0x1f0342[_0x8abafe(0x277)](_0x952435=>Object['keys'](_0x952435[_0x8abafe(0x4f9)])[_0x8abafe(0x277)](_0x3d6cb0=>ft(_0x31000f,_0x952435[_0x8abafe(0x2a6)],_0x3d6cb0)))?_0x31000f:d(_0x31000f),_0x5081e2=_0x1f0342[_0x8abafe(0x454)](_0x3b047=>Object['entries'](_0x3b047[_0x8abafe(0x4f9)])[_0x8abafe(0x454)](([_0x1cca9d,_0x54128d])=>{const _0x3709d6=_0x8abafe;var _0x305d22,_0x4b1ab7;let _0x217e5f=(_0x305d22=_0x55ac20[_0x3709d6(0x253)])==null?void 0x0:_0x305d22[_0x3b047[_0x3709d6(0x2a6)]],_0x123b0d=(_0x4b1ab7=_0x55ac20[_0x3709d6(0x279)])==null?void 0x0:_0x4b1ab7[_0x1cca9d];return _0x217e5f==null||_0x123b0d==null?[]:[{'row':_0x217e5f,'col':_0x123b0d,'value':_0x54128d}];})),_0x3694c6=_0x1f0342['flatMap'](_0x3209f7=>{const _0xabbc13=_0x8abafe;var _0x6ae98;return Object[_0xabbc13(0x458)]((_0x6ae98=_0x3209f7[_0xabbc13(0x405)])==null?{}:_0x6ae98)['map'](([_0x160e73,_0x257304])=>{const _0x8b1702=_0xabbc13;var _0x2eab6d;let _0xa04afc=[...M[_0x8b1702(0x425)](_0x30b0c1,_0x3209f7[_0x8b1702(0x2a6)]),_0x160e73],_0x536414=(_0x2eab6d=_0x27d6d5[_0x8b1702(0x2b7)][_0x30b0c1])==null||(_0x2eab6d=_0x2eab6d[_0x8b1702(0x2ac)][_0x3209f7[_0x8b1702(0x2a6)]])==null?void 0x0:_0x2eab6d[_0x160e73];return this[_0x8b1702(0x31a)](_0xa04afc,_0x536414,_0x257304);});});return N([this['setRangeValues'](_0x27d6d5,_0x30b0c1,_0x5081e2),..._0x3694c6]);}[_0x557ecf(0x48f)](_0x1c97ca,_0xf8d0dc,_0x338af6){const _0x2884a0=_0x557ecf;let _0x3e7a7d=_0x1c97ca[_0x2884a0(0x2b7)][_0xf8d0dc],_0x22504a=_0x338af6[_0x2884a0(0x277)](_0x5de2ca=>pt(_0x3e7a7d,_0x5de2ca[_0x2884a0(0x398)],_0x5de2ca[_0x2884a0(0x38b)]))?_0x3e7a7d:d(_0x3e7a7d),_0x414be8=_0x338af6[_0x2884a0(0x454)](_0x499959=>{const _0x2e2241=_0x2884a0;var _0x1e23c0,_0x121e87,_0x38dc20,_0x337d3e;let _0x338553=(_0x1e23c0=_0x22504a[_0x2e2241(0x432)])==null?void 0x0:_0x1e23c0[_0x499959[_0x2e2241(0x38b)]],_0x50cb0d=(_0x121e87=_0x22504a[_0x2e2241(0x236)])==null?void 0x0:_0x121e87[_0x499959[_0x2e2241(0x398)]],_0x32172d=_0x338553?_0x22504a[_0x2e2241(0x40d)][_0x338553]:void 0x0,_0x336ecf=y(_0x499959['value'],_0x32172d),_0x238e57=(_0x38dc20=_0x22504a['cellData'])==null||(_0x38dc20=_0x38dc20[_0x499959['row']])==null?void 0x0:_0x38dc20[_0x499959[_0x2e2241(0x38b)]],_0x55c9df=this['_replaceOptional'](M['cellData'](_0xf8d0dc,_0x499959[_0x2e2241(0x398)],_0x499959[_0x2e2241(0x38b)]),_0x238e57,_0x336ecf);if(!_0x338553||!_0x50cb0d)return[_0x55c9df];let _0x5a20e0=(_0x337d3e=_0x22504a['records'][_0x50cb0d])==null?void 0x0:_0x337d3e[_0x2e2241(0x4f9)][_0x338553],_0x25f7d0=(_0x32172d==null?void 0x0:_0x32172d[_0x2e2241(0x26a)])===e['BaseFieldType'][_0x2e2241(0x27a)]?x(_0x499959[_0x2e2241(0x373)]):te(_0x499959[_0x2e2241(0x373)],_0x336ecf,_0x32172d,_0x22504a,_0x50cb0d),_0x8e83db=[_0x55c9df,this[_0x2e2241(0x31a)](M[_0x2e2241(0x28e)](_0xf8d0dc,_0x50cb0d,_0x338553),_0x5a20e0,_0x25f7d0)];if((_0x32172d==null?void 0x0:_0x32172d['type'])!==e['BaseFieldType'][_0x2e2241(0x27a)])return _0x8e83db;let _0x268263=this[_0x2e2241(0x4ba)](_0x22504a,_0xf8d0dc,_0x50cb0d,_0x338553,_0x25f7d0);return[..._0x8e83db,..._0x268263];});return _0x414be8[_0x2884a0(0x323)]?N(_0x414be8):e[_0x2884a0(0x2a3)][_0x2884a0(0x4ee)]([_0x2884a0(0x2b7),_0xf8d0dc,_0x2884a0(0x46b)],_0x22504a['cellData'],_0x22504a[_0x2884a0(0x46b)]);}[_0x557ecf(0x238)](_0x3fd438,_0x333784,_0x3ccfc6){const _0x5c7702=_0x557ecf;var _0x4e1e2e,_0x172238;let _0x17cae6=_0x3fd438[_0x5c7702(0x2b7)][_0x333784];if(_0x17cae6[_0x5c7702(0x40d)][_0x3ccfc6[_0x5c7702(0x383)]['id']]||_0x17cae6['fieldOrder'][_0x5c7702(0x30f)](_0x3ccfc6['field']['id']))return e[_0x5c7702(0x2a3)][_0x5c7702(0x4ee)]([_0x5c7702(0x2b7),_0x333784,_0x5c7702(0x3e0)],_0x17cae6[_0x5c7702(0x3e0)],_0x17cae6[_0x5c7702(0x3e0)]);let _0x29b25b=(_0x4e1e2e=_0x3ccfc6[_0x5c7702(0x344)])==null?_0x17cae6[_0x5c7702(0x3e0)][_0x5c7702(0x323)]:_0x4e1e2e,_0x362cfa=Object[_0x5c7702(0x4f9)]((_0x172238=_0x17cae6['views'])==null?{}:_0x172238)[_0x5c7702(0x454)](_0x3094ba=>{const _0xf93cb5=_0x5c7702;var _0xecb0ba,_0x3a9139;if(!_0x3094ba['fieldOrder']||_0x3094ba['fieldOrder'][_0xf93cb5(0x30f)](_0x3ccfc6['field']['id']))return[];let _0x45fb78=_t((_0xecb0ba=(_0x3a9139=_0x3ccfc6[_0xf93cb5(0x4b3)])==null?void 0x0:_0x3a9139[_0x3094ba['id']])==null?_0x29b25b:_0xecb0ba,_0x3094ba[_0xf93cb5(0x3e0)][_0xf93cb5(0x323)]);return[e['JSON1'][_0xf93cb5(0x2a1)]([...M[_0xf93cb5(0x3a7)](_0x333784,_0x3094ba['id']),_0xf93cb5(0x3e0),_0x45fb78],_0x3ccfc6[_0xf93cb5(0x383)]['id'])];});return N([e[_0x5c7702(0x2a3)]['insertOp'](M[_0x5c7702(0x383)](_0x333784,_0x3ccfc6['field']['id']),_0x3ccfc6[_0x5c7702(0x383)]),e['JSON1'][_0x5c7702(0x2a1)](M[_0x5c7702(0x3e0)](_0x333784,_0x29b25b),_0x3ccfc6[_0x5c7702(0x383)]['id']),..._0x362cfa]);}[_0x557ecf(0x24f)](_0x3876ed,_0x3dbc2c,_0x509842,_0x24e2bc){const _0x4082f9=_0x557ecf;var _0x1f97f8,_0x2975fd;let _0x311998=_0x3876ed[_0x4082f9(0x2b7)][_0x3dbc2c];if(!_0x311998[_0x4082f9(0x40d)][_0x509842]||_0x311998[_0x4082f9(0x40d)][_0x24e2bc[_0x4082f9(0x383)]['id']]||_0x311998[_0x4082f9(0x3e0)][_0x4082f9(0x30f)](_0x24e2bc[_0x4082f9(0x383)]['id']))return e['JSON1']['replaceOp']([_0x4082f9(0x2b7),_0x3dbc2c,_0x4082f9(0x3e0)],_0x311998[_0x4082f9(0x3e0)],_0x311998['fieldOrder']);let _0x303484=(_0x1f97f8=_0x24e2bc[_0x4082f9(0x344)])==null?_0x311998[_0x4082f9(0x3e0)][_0x4082f9(0x2e2)](_0x509842)+0x1:_0x1f97f8,_0x44d8a8=_0x311998[_0x4082f9(0x3e0)]['filter'](_0xfe11ac=>_0xfe11ac!==_0x24e2bc[_0x4082f9(0x383)]['id']),_0x30c7ea=ht(_0x44d8a8,_0x24e2bc['field']['id'],_0x303484),_0x8fc7d3=Object[_0x4082f9(0x4f9)]((_0x2975fd=_0x311998[_0x4082f9(0x45e)])==null?{}:_0x2975fd)[_0x4082f9(0x454)](_0x185166=>{const _0x439112=_0x4082f9;var _0x4a4019,_0x443d5e,_0xd30a85,_0x1452d6,_0x3d28d3;let _0x28f3d9=(_0x4a4019=_0x185166['fieldOrder'])!=null&&_0x4a4019[_0x439112(0x323)]?_0x185166[_0x439112(0x3e0)]:_0x44d8a8;if(_0x28f3d9['includes'](_0x24e2bc[_0x439112(0x383)]['id']))return[];let _0x4640be=ht(_0x28f3d9,_0x24e2bc[_0x439112(0x383)]['id'],(_0x443d5e=(_0xd30a85=_0x24e2bc[_0x439112(0x4b3)])==null?void 0x0:_0xd30a85[_0x185166['id']])==null?_0x303484:_0x443d5e),_0x546348=(_0x1452d6=_0x185166[_0x439112(0x3b5)])==null?void 0x0:_0x1452d6[_0x509842];return[this[_0x439112(0x31a)]([...M[_0x439112(0x3a7)](_0x3dbc2c,_0x185166['id']),_0x439112(0x3e0)],_0x185166['fieldOrder'],_0x4640be),..._0x546348?[this[_0x439112(0x31a)]([...M[_0x439112(0x3a7)](_0x3dbc2c,_0x185166['id']),'fieldSettings',_0x24e2bc['field']['id']],(_0x3d28d3=_0x185166[_0x439112(0x3b5)])==null?void 0x0:_0x3d28d3[_0x24e2bc[_0x439112(0x383)]['id']],_0x546348)]:[]];}),_0x58195e=Object['values'](_0x311998['records'])[_0x4082f9(0x2fe)](_0xb6b48f=>Object[_0x4082f9(0x42d)]['hasOwnProperty']['call'](_0xb6b48f[_0x4082f9(0x4f9)],_0x509842))[_0x4082f9(0x274)](_0x357dae=>this[_0x4082f9(0x31a)](M[_0x4082f9(0x28e)](_0x3dbc2c,_0x357dae['id'],_0x24e2bc[_0x4082f9(0x383)]['id']),_0x357dae[_0x4082f9(0x4f9)][_0x24e2bc['field']['id']],_0x357dae[_0x4082f9(0x4f9)][_0x509842]));return N([e[_0x4082f9(0x2a3)][_0x4082f9(0x2a1)](M[_0x4082f9(0x383)](_0x3dbc2c,_0x24e2bc[_0x4082f9(0x383)]['id']),_0x24e2bc[_0x4082f9(0x383)]),e[_0x4082f9(0x2a3)][_0x4082f9(0x4ee)](['tables',_0x3dbc2c,'fieldOrder'],_0x311998[_0x4082f9(0x3e0)],_0x30c7ea),..._0x8fc7d3,..._0x58195e]);}[_0x557ecf(0x3dd)](_0x3f668b,_0x5417d7,_0x552143,_0x351165){const _0x295ed5=_0x557ecf;let _0x13df70=_0x3f668b[_0x295ed5(0x2b7)][_0x5417d7]['fields'][_0x552143],_0x58cd0b={..._0x13df70,..._0x351165};Object[_0x295ed5(0x4b1)](_0x351165)[_0x295ed5(0x4c8)](_0x35f96f=>{_0x351165[_0x35f96f]===void 0x0&&delete _0x58cd0b[_0x35f96f];});let _0x16ae86=e[_0x295ed5(0x2a3)][_0x295ed5(0x4ee)](M[_0x295ed5(0x383)](_0x5417d7,_0x552143),_0x13df70,_0x58cd0b);return _0x58cd0b['type']===e[_0x295ed5(0x29e)][_0x295ed5(0x476)]?N([_0x16ae86,...this[_0x295ed5(0x41a)](_0x3f668b,_0x5417d7,_0x552143,_0x58cd0b)]):_0x16ae86;}['changeFieldType'](_0x29a578,_0x10b679,_0xef69bc,_0x1274d8){const _0x222c14=_0x557ecf;return this[_0x222c14(0x3dd)](_0x29a578,_0x10b679,_0xef69bc,_0x1274d8);}[_0x557ecf(0x301)](_0x4afb8b,_0x1becf9,_0x9a4d75){const _0x326df5=_0x557ecf;let _0x1e0d92=_0x4afb8b[_0x326df5(0x2b7)][_0x1becf9];if(!(_0x1e0d92!=null&&_0x1e0d92[_0x326df5(0x40d)][_0x9a4d75])||_0x1e0d92[_0x326df5(0x4a0)]===_0x9a4d75)return e['JSON1'][_0x326df5(0x4ee)]([_0x326df5(0x2b7),_0x1becf9,'fieldOrder'],_0x1e0d92==null?void 0x0:_0x1e0d92[_0x326df5(0x3e0)],_0x1e0d92==null?void 0x0:_0x1e0d92[_0x326df5(0x3e0)]);let _0x599521=_0x1e0d92[_0x326df5(0x3e0)][_0x326df5(0x2e2)](_0x9a4d75),_0x34bc90=Object['values'](_0x1e0d92['views'])[_0x326df5(0x454)](_0x3973f4=>{const _0x9d51fb=_0x326df5;var _0x164bb1,_0x3ed589,_0x4c7232,_0x38d765,_0x4a9223,_0x4da8f9,_0x20c11b,_0x44e2bd;let _0x18afc2=[],_0x31e044=(_0x164bb1=(_0x3ed589=_0x3973f4[_0x9d51fb(0x3e0)])==null?void 0x0:_0x3ed589[_0x9d51fb(0x2e2)](_0x9a4d75))==null?-0x1:_0x164bb1;_0x31e044>=0x0&&_0x18afc2[_0x9d51fb(0x43e)](e[_0x9d51fb(0x2a3)][_0x9d51fb(0x4f0)]([...M['view'](_0x1becf9,_0x3973f4['id']),_0x9d51fb(0x3e0),_0x31e044],_0x9a4d75));let _0x190f4a=(_0x4c7232=_0x3973f4[_0x9d51fb(0x3b5)])==null?void 0x0:_0x4c7232[_0x9a4d75];_0x190f4a!==void 0x0&&_0x18afc2[_0x9d51fb(0x43e)](e['JSON1']['removeOp']([...M[_0x9d51fb(0x3a7)](_0x1becf9,_0x3973f4['id']),'fieldSettings',_0x9a4d75],_0x190f4a));let _0x24b455=_0x3973f4[_0x9d51fb(0x2fe)]?{..._0x3973f4[_0x9d51fb(0x2fe)],'conditions':_0x3973f4[_0x9d51fb(0x2fe)][_0x9d51fb(0x37b)][_0x9d51fb(0x2fe)](_0x5e8426=>_0x5e8426['fieldId']!==_0x9a4d75)}:_0x3973f4[_0x9d51fb(0x2fe)];_0x24b455&&_0x24b455[_0x9d51fb(0x37b)][_0x9d51fb(0x323)]!==((_0x38d765=_0x3973f4[_0x9d51fb(0x2fe)])==null?void 0x0:_0x38d765[_0x9d51fb(0x37b)][_0x9d51fb(0x323)])&&_0x18afc2[_0x9d51fb(0x43e)](this[_0x9d51fb(0x31a)]([...M[_0x9d51fb(0x3a7)](_0x1becf9,_0x3973f4['id']),_0x9d51fb(0x2fe)],_0x3973f4['filter'],_0x24b455));let _0x240550=(_0x4a9223=_0x3973f4['sort'])==null?void 0x0:_0x4a9223[_0x9d51fb(0x2fe)](_0xc76453=>_0xc76453[_0x9d51fb(0x3da)]!==_0x9a4d75);_0x240550&&_0x240550[_0x9d51fb(0x323)]!==((_0x4da8f9=_0x3973f4[_0x9d51fb(0x496)])==null?void 0x0:_0x4da8f9['length'])&&_0x18afc2[_0x9d51fb(0x43e)](this['_replaceOptional']([...M[_0x9d51fb(0x3a7)](_0x1becf9,_0x3973f4['id']),_0x9d51fb(0x496)],_0x3973f4[_0x9d51fb(0x496)],_0x240550));let _0x1223ce=(_0x20c11b=_0x3973f4[_0x9d51fb(0x4fc)])==null?void 0x0:_0x20c11b[_0x9d51fb(0x2fe)](_0x23fc86=>_0x23fc86[_0x9d51fb(0x3da)]!==_0x9a4d75);_0x1223ce&&_0x1223ce[_0x9d51fb(0x323)]!==((_0x44e2bd=_0x3973f4[_0x9d51fb(0x4fc)])==null?void 0x0:_0x44e2bd['length'])&&_0x18afc2['push'](this[_0x9d51fb(0x31a)]([...M[_0x9d51fb(0x3a7)](_0x1becf9,_0x3973f4['id']),'group'],_0x3973f4[_0x9d51fb(0x4fc)],_0x1223ce));let _0x5179b0=gt(_0x3973f4['config'],_0x9a4d75);return JSON[_0x9d51fb(0x36a)](_0x5179b0)!==JSON[_0x9d51fb(0x36a)](_0x3973f4[_0x9d51fb(0x294)])&&_0x18afc2[_0x9d51fb(0x43e)](e[_0x9d51fb(0x2a3)][_0x9d51fb(0x4ee)]([...M['view'](_0x1becf9,_0x3973f4['id']),_0x9d51fb(0x294)],_0x3973f4[_0x9d51fb(0x294)],_0x5179b0)),_0x18afc2;}),_0x505942=Object[_0x326df5(0x4f9)](_0x1e0d92[_0x326df5(0x2ac)])[_0x326df5(0x454)](_0x520b52=>Object['prototype'][_0x326df5(0x3f7)][_0x326df5(0x24a)](_0x520b52['values'],_0x9a4d75)?[e[_0x326df5(0x2a3)][_0x326df5(0x4f0)](M['cell'](_0x1becf9,_0x520b52['id'],_0x9a4d75),_0x520b52[_0x326df5(0x4f9)][_0x9a4d75])]:[]);return N([e[_0x326df5(0x2a3)][_0x326df5(0x4f0)](M[_0x326df5(0x383)](_0x1becf9,_0x9a4d75),_0x1e0d92['fields'][_0x9a4d75]),e['JSON1'][_0x326df5(0x4f0)](M[_0x326df5(0x3e0)](_0x1becf9,_0x599521),_0x9a4d75),..._0x34bc90,..._0x505942,...this[_0x326df5(0x33d)](_0x1e0d92,_0x1becf9,_0xde3905=>_0xde3905[_0x326df5(0x30c)](_0x9a4d75+'\x1f'))]);}['moveField'](_0x5007cf,_0x29764f,_0x8952cc,_0x21823b){const _0x13b31a=_0x557ecf;let _0x548af4=_0x5007cf[_0x13b31a(0x2b7)][_0x29764f][_0x13b31a(0x3e0)],_0x247844=mt(_0x548af4,_0x8952cc,_0x21823b);return e['JSON1'][_0x13b31a(0x4ee)]([_0x13b31a(0x2b7),_0x29764f,_0x13b31a(0x3e0)],_0x548af4,_0x247844);}[_0x557ecf(0x215)](_0x3836c3,_0x3c156b,_0x34e48b,_0x529552=_0x3836c3[_0x557ecf(0x2b7)][_0x3c156b]['viewOrder'][_0x557ecf(0x323)]){const _0x280f8c=_0x557ecf;return N([e[_0x280f8c(0x2a3)][_0x280f8c(0x2a1)](M[_0x280f8c(0x3a7)](_0x3c156b,_0x34e48b['id']),_0x34e48b),e[_0x280f8c(0x2a3)][_0x280f8c(0x2a1)]([_0x280f8c(0x2b7),_0x3c156b,_0x280f8c(0x4a5),_0x529552],_0x34e48b['id'])]);}[_0x557ecf(0x48d)](_0x1bc130,_0x589b2a,_0x453de1,_0x2939bf){const _0x158f88=_0x557ecf;return e[_0x158f88(0x2a3)][_0x158f88(0x4ee)]([...M[_0x158f88(0x3a7)](_0x589b2a,_0x453de1),'name'],_0x1bc130[_0x158f88(0x2b7)][_0x589b2a]['views'][_0x453de1][_0x158f88(0x3c4)],_0x2939bf);}['deleteView'](_0x244139,_0x579972,_0x19a8ed){const _0x543760=_0x557ecf;let _0x51c2d8=_0x244139['tables'][_0x579972],_0x5f407e=_0x51c2d8[_0x543760(0x45e)][_0x19a8ed],_0x94e5=_0x51c2d8[_0x543760(0x4a5)][_0x543760(0x2e2)](_0x19a8ed);return N([e[_0x543760(0x2a3)][_0x543760(0x4f0)](M[_0x543760(0x3a7)](_0x579972,_0x19a8ed),_0x5f407e),e['JSON1'][_0x543760(0x4f0)]([_0x543760(0x2b7),_0x579972,_0x543760(0x4a5),_0x94e5],_0x19a8ed)]);}['moveView'](_0x305e8e,_0x3dd5a0,_0x43db74,_0x6fb821){const _0x9555b5=_0x557ecf;let _0xf7e40d=_0x305e8e[_0x9555b5(0x2b7)][_0x3dd5a0][_0x9555b5(0x4a5)],_0x2f060f=mt(_0xf7e40d,_0x43db74,{'beforeFieldId':_0x6fb821[_0x9555b5(0x3b8)],'afterFieldId':_0x6fb821[_0x9555b5(0x3de)]});return e[_0x9555b5(0x2a3)]['replaceOp'](['tables',_0x3dd5a0,_0x9555b5(0x4a5)],_0xf7e40d,_0x2f060f);}[_0x557ecf(0x364)](_0x525e40,_0x4b50a0,_0x5348bf,_0x18e999){const _0x26dbf7=_0x557ecf;var _0x4fb037;let _0x4472f0=(_0x4fb037=_0x525e40[_0x26dbf7(0x2b7)][_0x4b50a0][_0x26dbf7(0x45e)][_0x5348bf]['config'])==null?{}:_0x4fb037,_0x4e3503={..._0x4472f0,..._0x18e999};return Object[_0x26dbf7(0x4b1)](_0x18e999)[_0x26dbf7(0x4c8)](_0x2cae2e=>{_0x18e999[_0x2cae2e]===void 0x0&&delete _0x4e3503[_0x2cae2e];}),e['JSON1'][_0x26dbf7(0x4ee)]([...M[_0x26dbf7(0x3a7)](_0x4b50a0,_0x5348bf),_0x26dbf7(0x294)],_0x4472f0,_0x4e3503);}[_0x557ecf(0x43c)](_0x2f82fd,_0x59dfd4,_0x3d766c,_0x21b7cb){const _0x3c193c=_0x557ecf;return this[_0x3c193c(0x31a)]([...M[_0x3c193c(0x3a7)](_0x59dfd4,_0x3d766c),_0x3c193c(0x2fe)],_0x2f82fd[_0x3c193c(0x2b7)][_0x59dfd4][_0x3c193c(0x45e)][_0x3d766c][_0x3c193c(0x2fe)],_0x21b7cb);}[_0x557ecf(0x310)](_0x5c9146,_0xb0a7aa,_0x36f00f,_0x3e1772){const _0x4963a2=_0x557ecf;return this[_0x4963a2(0x31a)]([...M[_0x4963a2(0x3a7)](_0xb0a7aa,_0x36f00f),_0x4963a2(0x496)],_0x5c9146[_0x4963a2(0x2b7)][_0xb0a7aa][_0x4963a2(0x45e)][_0x36f00f]['sort'],_0x3e1772);}[_0x557ecf(0x234)](_0x3df191,_0x577bce,_0x315996,_0xf6d2ef){const _0x10e2ad=_0x557ecf;return this['_replaceOptional']([...M['view'](_0x577bce,_0x315996),'group'],_0x3df191[_0x10e2ad(0x2b7)][_0x577bce][_0x10e2ad(0x45e)][_0x315996][_0x10e2ad(0x4fc)],_0xf6d2ef);}[_0x557ecf(0x23f)](_0x2a318d,_0x3de781,_0x49b495,_0xa1681d,_0x5dd2c6){return this['_setViewFieldSetting'](_0x2a318d,_0x3de781,_0x49b495,_0xa1681d,{'hidden':!_0x5dd2c6});}[_0x557ecf(0x3b7)](_0x4e1a64,_0x2aa900,_0x11f190,_0x342db8,_0x4c301f){const _0x47e9f9=_0x557ecf;return this[_0x47e9f9(0x504)](_0x4e1a64,_0x2aa900,_0x11f190,_0x342db8,{'width':_0x4c301f});}[_0x557ecf(0x413)](_0x801ad4,_0x5b62ea,_0x4f8c83,_0x5df976,_0x478c81){const _0x4c7392=_0x557ecf;var _0x4696cc;let _0x54014e=_0x801ad4[_0x4c7392(0x2b7)][_0x5b62ea]['views'][_0x4f8c83],_0x48f04=mt((_0x4696cc=_0x54014e['fieldOrder'])==null?_0x801ad4['tables'][_0x5b62ea][_0x4c7392(0x3e0)]:_0x4696cc,_0x5df976,_0x478c81);return this['_replaceOptional']([...M[_0x4c7392(0x3a7)](_0x5b62ea,_0x4f8c83),_0x4c7392(0x3e0)],_0x54014e['fieldOrder'],_0x48f04);}['_setViewFieldSetting'](_0x568257,_0x37def9,_0x1e42f2,_0x3460ff,_0x13c9f4){const _0x2db785=_0x557ecf;var _0x98cbb7;let _0x4a3efa=(_0x98cbb7=_0x568257['tables'][_0x37def9][_0x2db785(0x45e)][_0x1e42f2][_0x2db785(0x3b5)])==null?{}:_0x98cbb7,_0x573955={..._0x4a3efa,[_0x3460ff]:{..._0x4a3efa[_0x3460ff],..._0x13c9f4}};return this[_0x2db785(0x31a)]([...M['view'](_0x37def9,_0x1e42f2),_0x2db785(0x3b5)],_0x568257['tables'][_0x37def9][_0x2db785(0x45e)][_0x1e42f2]['fieldSettings'],_0x573955);}[_0x557ecf(0x440)](_0x37a18e,_0x1bf8a7,_0x233c1a){const _0x334aff=_0x557ecf;let _0x35c6fc=_0x37a18e['tables'][_0x1bf8a7],_0x4d7ef9=new Set(_0x233c1a[_0x334aff(0x274)](_0x7c988e=>_0x7c988e['id'])),_0x1017cb=[...Object['values'](_0x35c6fc[_0x334aff(0x2ac)])[_0x334aff(0x2fe)](_0x475814=>!_0x4d7ef9[_0x334aff(0x25a)](_0x475814['id'])),..._0x233c1a]['sort']((_0x84c229,_0x53ba93)=>{const _0x406b35=_0x334aff;var _0x575e00,_0x456ff9;return String((_0x575e00=_0x84c229[_0x406b35(0x408)])==null?_0x84c229['id']:_0x575e00)['localeCompare'](String((_0x456ff9=_0x53ba93['orderKey'])==null?_0x53ba93['id']:_0x456ff9));})[_0x334aff(0x274)](_0x4d64b6=>_0x4d64b6['id']),_0x4a2ed2=[...M[_0x334aff(0x37c)](_0x1bf8a7),_0x334aff(0x20f)];return _0x35c6fc[_0x334aff(0x20f)]?e[_0x334aff(0x2a3)][_0x334aff(0x4ee)](_0x4a2ed2,_0x35c6fc[_0x334aff(0x20f)],_0x1017cb):e['JSON1'][_0x334aff(0x2a1)](_0x4a2ed2,_0x1017cb);}[_0x557ecf(0x41a)](_0x560744,_0x47fdc0,_0x5a3418,_0x1da5a1){const _0x38b6a0=_0x557ecf;var _0x46deb0,_0x48f189,_0x379cac,_0x132b50;let _0x3152d7=d(_0x560744[_0x38b6a0(0x2b7)][_0x47fdc0]),_0x55af83=String((_0x46deb0=(_0x48f189=_0x1da5a1[_0x38b6a0(0x294)])==null?void 0x0:_0x48f189[_0x38b6a0(0x4dd)])==null?'':_0x46deb0)['trim'](),_0x134753=(_0x379cac=_0x3152d7[_0x38b6a0(0x279)])==null?void 0x0:_0x379cac[_0x5a3418];if(_0x134753==null)return[];let _0x53e1c=(_0x132b50=_0x3152d7['recordOrder'])==null?Object[_0x38b6a0(0x4b1)](_0x3152d7[_0x38b6a0(0x2ac)]):_0x132b50,_0x9525f7=_0x53e1c[_0x38b6a0(0x274)](_0x55a0f6=>{const _0x5e2c40=_0x38b6a0;var _0x466ff8;return(_0x466ff8=_0x3152d7[_0x5e2c40(0x253)])==null?void 0x0:_0x466ff8[_0x55a0f6];})[_0x38b6a0(0x4c1)](_0x1950f6=>_0x1950f6!=null);return _0x53e1c['flatMap'](_0x105fc0=>{const _0x1ff0ec=_0x38b6a0;var _0x36570c,_0x376203;let _0x3ab7fa=(_0x36570c=_0x3152d7[_0x1ff0ec(0x253)])==null?void 0x0:_0x36570c[_0x105fc0];if(_0x3ab7fa==null)return[];let _0x580640=(_0x376203=_0x3152d7[_0x1ff0ec(0x46b)])==null||(_0x376203=_0x376203[_0x3ab7fa])==null?void 0x0:_0x376203[_0x134753],_0x1fc481=_0x55af83?_0x3ab7fa===_0x9525f7?{'f':_0x55af83,'si':_0x5a3418}:{'si':_0x5a3418}:{'v':null,'t':null};return[this[_0x1ff0ec(0x31a)](M[_0x1ff0ec(0x46b)](_0x47fdc0,_0x3ab7fa,_0x134753),_0x580640,_0x1fc481)];});}[_0x557ecf(0x4ba)](_0x5abaef,_0x2968ef,_0x312b58,_0x13c98e,_0x2b069f){const _0x51705b=_0x557ecf;var _0x489276;let _0x3f3426=re(_0x13c98e,_0x312b58),_0x51aeec=_0x2b069f[_0x51705b(0x274)]((_0x5442e8,_0x28bb0b)=>{var _0x4b837a;return String((_0x4b837a=_0x5442e8['id'])==null?_0x3f3426+'\x1f'+_0x28bb0b:_0x4b837a);});return[this[_0x51705b(0x31a)](M['attachmentSet'](_0x2968ef,_0x3f3426),(_0x489276=_0x5abaef[_0x51705b(0x4b9)])==null||(_0x489276=_0x489276[_0x51705b(0x33a)])==null?void 0x0:_0x489276[_0x3f3426],_0x51aeec),..._0x2b069f['map']((_0x58383f,_0x5df79c)=>{const _0x345420=_0x51705b;var _0x48e2c7;let _0x5cdc37=_0x51aeec[_0x5df79c];return this[_0x345420(0x31a)](M[_0x345420(0x273)](_0x2968ef,_0x5cdc37),(_0x48e2c7=_0x5abaef[_0x345420(0x4b9)])==null||(_0x48e2c7=_0x48e2c7[_0x345420(0x4d9)])==null?void 0x0:_0x48e2c7[_0x5cdc37],{..._0x58383f,'id':_0x5cdc37});})];}[_0x557ecf(0x33d)](_0x34aac4,_0x57c69b,_0x2e43db){const _0x26e6c1=_0x557ecf;var _0xe8e09d,_0x4486f2;let _0x1178c1=(_0xe8e09d=(_0x4486f2=_0x34aac4[_0x26e6c1(0x4b9)])==null?void 0x0:_0x4486f2[_0x26e6c1(0x33a)])==null?{}:_0xe8e09d,_0x13ae4d=Object[_0x26e6c1(0x458)](_0x1178c1)[_0x26e6c1(0x2fe)](([_0xb02d26])=>_0x2e43db(_0xb02d26));if(!_0x13ae4d[_0x26e6c1(0x323)])return[];let _0x4b021c=new Set(Object[_0x26e6c1(0x458)](_0x1178c1)[_0x26e6c1(0x2fe)](([_0x4f9e21])=>!_0x2e43db(_0x4f9e21))[_0x26e6c1(0x454)](([,_0x677662])=>_0x677662)),_0x532b0d=new Set(_0x13ae4d[_0x26e6c1(0x454)](([,_0x20cf4f])=>_0x20cf4f));return[..._0x13ae4d[_0x26e6c1(0x274)](([_0x2c9bf0,_0x29589d])=>e['JSON1'][_0x26e6c1(0x4f0)](M[_0x26e6c1(0x2ea)](_0x57c69b,_0x2c9bf0),_0x29589d)),...Array[_0x26e6c1(0x467)](_0x532b0d)[_0x26e6c1(0x454)](_0x47b322=>{const _0x4c36dc=_0x26e6c1;var _0x8bc5a5;let _0x51339b=(_0x8bc5a5=_0x34aac4['resources'])==null||(_0x8bc5a5=_0x8bc5a5['attachments'])==null?void 0x0:_0x8bc5a5[_0x47b322];return _0x51339b!==void 0x0&&!_0x4b021c['has'](_0x47b322)?[e[_0x4c36dc(0x2a3)][_0x4c36dc(0x4f0)](M[_0x4c36dc(0x273)](_0x57c69b,_0x47b322),_0x51339b)]:[];})];}[_0x557ecf(0x31a)](_0x5dcca6,_0x390502,_0x360f7d){const _0x5ab96f=_0x557ecf;return _0x390502===void 0x0?e[_0x5ab96f(0x2a3)][_0x5ab96f(0x2a1)](_0x5dcca6,_0x360f7d):e[_0x5ab96f(0x2a3)][_0x5ab96f(0x4ee)](_0x5dcca6,_0x390502,_0x360f7d);}};function ft(_0x347783,_0x8a1fd2,_0x3efa5d){const _0x5ebf3a=_0x557ecf;var _0x386263,_0x3c524c,_0x59fbe2,_0x242872;let _0x278fc6=(_0x386263=_0x347783['rowIndex'])==null?void 0x0:_0x386263[_0x8a1fd2],_0x39a34c=(_0x3c524c=_0x347783[_0x5ebf3a(0x279)])==null?void 0x0:_0x3c524c[_0x3efa5d];return _0x278fc6!=null&&_0x39a34c!=null&&((_0x59fbe2=_0x347783[_0x5ebf3a(0x236)])==null?void 0x0:_0x59fbe2[_0x278fc6])===_0x8a1fd2&&((_0x242872=_0x347783[_0x5ebf3a(0x432)])==null?void 0x0:_0x242872[_0x39a34c])===_0x3efa5d&&_0x347783[_0x5ebf3a(0x46b)]!=null;}function pt(_0x557875,_0x2bf84e,_0x2f5b25){const _0x36c868=_0x557ecf;var _0x221e2b,_0x4df285;return((_0x221e2b=_0x557875[_0x36c868(0x236)])==null?void 0x0:_0x221e2b[_0x2bf84e])!=null&&((_0x4df285=_0x557875[_0x36c868(0x432)])==null?void 0x0:_0x4df285[_0x2f5b25])!=null&&_0x557875[_0x36c868(0x46b)]!=null;}function mt(_0x3298ab,_0x1cbffe,_0xefd326){const _0x1b46fd=_0x557ecf;let _0x37adde=_0x3298ab[_0x1b46fd(0x2fe)](_0x588855=>_0x588855!==_0x1cbffe),_0x489b1f=_0xefd326[_0x1b46fd(0x4ad)]?_0x37adde[_0x1b46fd(0x2e2)](_0xefd326[_0x1b46fd(0x4ad)]):_0xefd326[_0x1b46fd(0x2d7)]?_0x37adde['indexOf'](_0xefd326[_0x1b46fd(0x2d7)])+0x1:_0x37adde['length'];return _0x37adde[_0x1b46fd(0x421)](_0x489b1f<0x0?_0x37adde[_0x1b46fd(0x323)]:_0x489b1f,0x0,_0x1cbffe),_0x37adde;}function ht(_0x3213a9,_0x34c99d,_0x14bbd9){const _0x59247c=_0x557ecf;let _0x4e4ab2=_0x3213a9[_0x59247c(0x2fe)](_0x48f82e=>_0x48f82e!==_0x34c99d);return _0x4e4ab2[_0x59247c(0x421)](_t(_0x14bbd9,_0x4e4ab2[_0x59247c(0x323)]),0x0,_0x34c99d),_0x4e4ab2;}function gt(_0x4f15f1,_0xc33e8c,_0x452fae){const _0x1640e1=_0x557ecf;if(Array[_0x1640e1(0x2e1)](_0x4f15f1))return _0x452fae==='fieldIds'?_0x4f15f1['filter'](_0x6e2cbd=>_0x6e2cbd!==_0xc33e8c):_0x4f15f1[_0x1640e1(0x454)](_0x4bb721=>{const _0x4d4013=_0x1640e1;if(_0x4bb721&&typeof _0x4bb721=='object'&&!Array[_0x4d4013(0x2e1)](_0x4bb721)&&_0x4bb721[_0x4d4013(0x3da)]===_0xc33e8c)return[];let _0x5b8d38=gt(_0x4bb721,_0xc33e8c);return _0x5b8d38===void 0x0?[]:[_0x5b8d38];});if(!_0x4f15f1||typeof _0x4f15f1!=_0x1640e1(0x341))return _0x452fae!=null&&_0x452fae[_0x1640e1(0x1e4)](_0x1640e1(0x447))&&_0x4f15f1===_0xc33e8c?void 0x0:_0x4f15f1;let _0x590f7c=_0x4f15f1;if(_0x590f7c[_0x1640e1(0x3da)]!==_0xc33e8c)return Object[_0x1640e1(0x4bd)](Object[_0x1640e1(0x458)](_0x590f7c)[_0x1640e1(0x454)](([_0x146da7,_0x5c2e7c])=>{if(_0x146da7===_0xc33e8c&&_0x452fae==='fieldSettings')return[];let _0x82383c=gt(_0x5c2e7c,_0xc33e8c,_0x146da7);return _0x82383c===void 0x0?[]:[[_0x146da7,_0x82383c]];}));}function _t(_0x4e7cad,_0x6439d6){const _0x5ea6a7=_0x557ecf;return Math[_0x5ea6a7(0x4ef)](0x0,Math['min'](_0x4e7cad,_0x6439d6));}function vt(_0x32a764,_0x214385,_0x445fbb){const _0x1e5551=_0x557ecf;if(!_0x32a764||!_0x214385||_0x214385===_0x445fbb)return _0x32a764;let _0x28ac6a='',_0x1558d6=!0x1,_0x218756=_0x214385[_0x1e5551(0x402)]();for(let _0x509dac=0x0;_0x509dac<_0x32a764[_0x1e5551(0x323)];){let _0x55986c=_0x32a764[_0x509dac];if(_0x55986c==='\x22'){if(_0x1558d6&&_0x32a764[_0x509dac+0x1]==='\x22'){_0x28ac6a+='\x22\x22',_0x509dac+=0x2;continue;}_0x1558d6=!_0x1558d6,_0x28ac6a+=_0x55986c,_0x509dac++;continue;}if(!_0x1558d6&&_0x32a764[_0x1e5551(0x4c3)](_0x509dac,_0x509dac+_0x214385[_0x1e5551(0x323)])[_0x1e5551(0x402)]()===_0x218756&&yt(_0x32a764,_0x509dac,_0x214385[_0x1e5551(0x323)])){_0x28ac6a+=_0x445fbb,_0x509dac+=_0x214385[_0x1e5551(0x323)];continue;}_0x28ac6a+=_0x55986c,_0x509dac++;}return _0x28ac6a;}function yt(_0x170515,_0x27da40,_0x3779f8){const _0x5b1f16=_0x557ecf;var _0x1b377a;let _0x196a2f=_0x170515[_0x27da40-0x1];if(_0x196a2f&&/[\w.]/[_0x5b1f16(0x2af)](_0x196a2f))return!0x1;let _0x1546ca=_0x27da40+_0x3779f8;for(;/\s/[_0x5b1f16(0x2af)]((_0x1b377a=_0x170515[_0x1546ca])==null?'':_0x1b377a);)_0x1546ca++;return _0x170515[_0x1546ca]==='[';}function F(_0x334ed0){'@babel/helpers - typeof';const _0x1e6188=_0x557ecf;return F=typeof Symbol==_0x1e6188(0x403)&&typeof Symbol[_0x1e6188(0x351)]==_0x1e6188(0x42e)?function(_0x56e16a){return typeof _0x56e16a;}:function(_0x6e86de){const _0x349545=_0x1e6188;return _0x6e86de&&typeof Symbol==_0x349545(0x403)&&_0x6e86de[_0x349545(0x4af)]===Symbol&&_0x6e86de!==Symbol['prototype']?_0x349545(0x42e):typeof _0x6e86de;},F(_0x334ed0);}function bt(_0x562ba0,_0x2b3b5d){const _0x4bca8f=_0x557ecf;if(F(_0x562ba0)!='object'||!_0x562ba0)return _0x562ba0;var _0x46f1c6=_0x562ba0[Symbol['toPrimitive']];if(_0x46f1c6!==void 0x0){var _0x47df59=_0x46f1c6['call'](_0x562ba0,_0x2b3b5d||'default');if(F(_0x47df59)!=_0x4bca8f(0x341))return _0x47df59;throw TypeError(_0x4bca8f(0x3c6));}return(_0x2b3b5d===_0x4bca8f(0x39d)?String:Number)(_0x562ba0);}function xt(_0x5dff93){const _0x5449ba=_0x557ecf;var _0x16bbe4=bt(_0x5dff93,_0x5449ba(0x39d));return F(_0x16bbe4)==_0x5449ba(0x42e)?_0x16bbe4:_0x16bbe4+'';}function I(_0x48a759,_0x4e558f,_0x3f9a00){return(_0x4e558f=xt(_0x4e558f))in _0x48a759?Object['defineProperty'](_0x48a759,_0x4e558f,{'value':_0x3f9a00,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x48a759[_0x4e558f]=_0x3f9a00,_0x48a759;}const L=(0x0,e['createIdentifier'])('base.field-registry.service');var St=class extends e['Disposable']{constructor(..._0x54c51b){const _0x213b73=_0x557ecf;super(..._0x54c51b),I(this,_0x213b73(0x330),new Map());}[_0x557ecf(0x390)](_0x56091b){const _0x59d515=_0x557ecf;return this[_0x59d515(0x330)][_0x59d515(0x47d)](_0x56091b[_0x59d515(0x26a)],_0x56091b),(0x0,e[_0x59d515(0x258)])(()=>this[_0x59d515(0x330)][_0x59d515(0x303)](_0x56091b[_0x59d515(0x26a)]));}[_0x557ecf(0x487)](_0x56c58a){const _0x10d3c6=_0x557ecf;let _0x19635e=this[_0x10d3c6(0x330)][_0x10d3c6(0x487)](_0x56c58a);if(!_0x19635e)throw Error('[BaseFieldRegistryService]:\x20field\x20type\x20\x22'+_0x56c58a+'\x22\x20is\x20not\x20registered.');return _0x19635e;}['getTypePlugin'](_0x3bd44c){const _0x335413=_0x557ecf;return this[_0x335413(0x330)][_0x335413(0x487)](_0x3bd44c);}['getAll'](){const _0x35b7df=_0x557ecf;return Array['from'](this['_plugins'][_0x35b7df(0x4f9)]());}};const Ct=(0x0,e[_0x557ecf(0x3d0)])('base.permission.service');var wt=class{constructor(){const _0x57e626=_0x557ecf;I(this,_0x57e626(0x439),new Map()),I(this,'_tablePermissions',new Map()),I(this,_0x57e626(0x2d2),new Map()),I(this,_0x57e626(0x2da),new Map());}['canCreateTable'](_0x4a4e09){const _0x3975e1=_0x557ecf;var _0xd96538,_0x2412ec;return(_0xd96538=(_0x2412ec=this[_0x3975e1(0x439)][_0x3975e1(0x487)](_0x4a4e09))==null?void 0x0:_0x2412ec[_0x3975e1(0x391)])==null?!0x0:_0xd96538;}[_0x557ecf(0x244)](_0x22b669){const _0x2c08f1=_0x557ecf;var _0x44772e,_0x305d16;return(_0x44772e=(_0x305d16=this['_tablePermissions'][_0x2c08f1(0x487)](_0x22b669))==null?void 0x0:_0x305d16[_0x2c08f1(0x303)])==null?!0x0:_0x44772e;}[_0x557ecf(0x20d)](_0x5a498e){var _0x14111c,_0x1d7a9e;return(_0x14111c=(_0x1d7a9e=this['_tablePermissions']['get'](_0x5a498e))==null?void 0x0:_0x1d7a9e['createField'])==null?!0x0:_0x14111c;}[_0x557ecf(0x2ff)](_0x50ec23,_0xbb82f6){const _0x18b798=_0x557ecf;var _0x79d04d,_0x1cb8fc;return(_0x79d04d=(_0x1cb8fc=this[_0x18b798(0x2d2)][_0x18b798(0x487)](R(_0x50ec23,_0xbb82f6)))==null?void 0x0:_0x1cb8fc[_0x18b798(0x4f3)])==null?!0x0:_0x79d04d;}[_0x557ecf(0x40a)](_0x3eb613,_0x4c7840){const _0x5a53bc=_0x557ecf;var _0x35e60b,_0x4e48c2;return(_0x35e60b=(_0x4e48c2=this[_0x5a53bc(0x2d2)][_0x5a53bc(0x487)](R(_0x3eb613,_0x4c7840)))==null?void 0x0:_0x4e48c2[_0x5a53bc(0x303)])==null?!0x0:_0x35e60b;}[_0x557ecf(0x342)](_0x363a53){const _0x1b6a28=_0x557ecf;var _0x1a5187,_0x4e5e5d;return(_0x1a5187=(_0x4e5e5d=this['_tablePermissions'][_0x1b6a28(0x487)](_0x363a53))==null?void 0x0:_0x4e5e5d[_0x1b6a28(0x46e)])==null?!0x0:_0x1a5187;}[_0x557ecf(0x437)](_0x107734,_0x4cdff3){const _0x18cf07=_0x557ecf;var _0x7e398,_0x1986bd;return(_0x7e398=(_0x1986bd=this['_recordPermissions'][_0x18cf07(0x487)](Tt(_0x107734,_0x4cdff3)))==null?void 0x0:_0x1986bd[_0x18cf07(0x303)])==null?!0x0:_0x7e398;}[_0x557ecf(0x2ee)](_0x2aa231,_0x36b18f,_0xa5192){const _0x1893ec=_0x557ecf;var _0x2bfe0c,_0x3cb6e9,_0x94f636,_0x4b2159;let _0x5e5fc6=this['_fieldPermissions'][_0x1893ec(0x487)](R(_0x2aa231,_0xa5192));return((_0x2bfe0c=(_0x3cb6e9=this[_0x1893ec(0x2da)][_0x1893ec(0x487)](Tt(_0x2aa231,_0x36b18f)))==null?void 0x0:_0x3cb6e9[_0x1893ec(0x1fb)])==null?!0x0:_0x2bfe0c)&&((_0x94f636=_0x5e5fc6==null?void 0x0:_0x5e5fc6[_0x1893ec(0x4f3)])==null?!0x0:_0x94f636)&&((_0x4b2159=_0x5e5fc6==null?void 0x0:_0x5e5fc6[_0x1893ec(0x1fb)])==null?!0x0:_0x4b2159);}[_0x557ecf(0x241)](_0x4cc8f3){const _0x1ff640=_0x557ecf;var _0x4543af,_0x33dead;return(_0x4543af=(_0x33dead=this[_0x1ff640(0x468)][_0x1ff640(0x487)](_0x4cc8f3))==null?void 0x0:_0x33dead['manageView'])==null?!0x0:_0x4543af;}[_0x557ecf(0x29c)](_0x4bec43,_0x186c5f){const _0x1b2e18=_0x557ecf;this['_basePermissions'][_0x1b2e18(0x47d)](_0x4bec43,{...this[_0x1b2e18(0x439)][_0x1b2e18(0x487)](_0x4bec43),..._0x186c5f});}[_0x557ecf(0x479)](_0x1a8485,_0x41064e){const _0x43f6fc=_0x557ecf;this['_tablePermissions'][_0x43f6fc(0x47d)](_0x1a8485,{...this[_0x43f6fc(0x468)][_0x43f6fc(0x487)](_0x1a8485),..._0x41064e});}[_0x557ecf(0x2e6)](_0x4c6553,_0x545e52,_0x217dd7){const _0x4dff01=_0x557ecf;let _0x3d943f=R(_0x4c6553,_0x545e52);this['_fieldPermissions'][_0x4dff01(0x47d)](_0x3d943f,{...this[_0x4dff01(0x2d2)]['get'](_0x3d943f),..._0x217dd7});}[_0x557ecf(0x3cb)](_0x6f69dd,_0x20902b,_0x428394){const _0x1a1e72=_0x557ecf;let _0x13e0a0=Tt(_0x6f69dd,_0x20902b);this['_recordPermissions']['set'](_0x13e0a0,{...this[_0x1a1e72(0x2da)][_0x1a1e72(0x487)](_0x13e0a0),..._0x428394});}['clearBasePermission'](_0x140429){const _0x2815cf=_0x557ecf;this['_basePermissions'][_0x2815cf(0x303)](_0x140429);}[_0x557ecf(0x482)](_0x3ff027){const _0x4a30a4=_0x557ecf;this[_0x4a30a4(0x468)][_0x4a30a4(0x303)](_0x3ff027);}[_0x557ecf(0x3a4)](_0x21ff85,_0x4db927){const _0x438ef5=_0x557ecf;this['_fieldPermissions'][_0x438ef5(0x303)](R(_0x21ff85,_0x4db927));}[_0x557ecf(0x2d9)](_0xd3de3c,_0x57a8fd){const _0x339471=_0x557ecf;this['_recordPermissions'][_0x339471(0x303)](Tt(_0xd3de3c,_0x57a8fd));}['getSnapshot'](){const _0x13af88=_0x557ecf;return{'bases':Object[_0x13af88(0x4bd)](this[_0x13af88(0x439)]),'tables':Object[_0x13af88(0x4bd)](this[_0x13af88(0x468)]),'fields':Object[_0x13af88(0x4bd)](this['_fieldPermissions']),'records':Object[_0x13af88(0x4bd)](this[_0x13af88(0x2da)])};}};function R(_0x25b554,_0x161089){return _0x25b554+'\x1f'+_0x161089;}function Tt(_0x4a6b23,_0x51004b){return _0x4a6b23+'\x1f'+_0x51004b;}function z(_0x11565b,_0x1faa46){return function(_0x17d60e,_0x3714ba){_0x1faa46(_0x17d60e,_0x3714ba,_0x11565b);};}function B(_0x552b76,_0xea18b0,_0x105054,_0x2059dc){const _0xc320b1=_0x557ecf;var _0x59b36a=arguments['length'],_0x2b47dd=_0x59b36a<0x3?_0xea18b0:_0x2059dc===null?_0x2059dc=Object[_0xc320b1(0x434)](_0xea18b0,_0x105054):_0x2059dc,_0x4968aa;if(typeof Reflect==_0xc320b1(0x341)&&typeof Reflect[_0xc320b1(0x4e7)]==_0xc320b1(0x403))_0x2b47dd=Reflect['decorate'](_0x552b76,_0xea18b0,_0x105054,_0x2059dc);else{for(var _0x32db8d=_0x552b76[_0xc320b1(0x323)]-0x1;_0x32db8d>=0x0;_0x32db8d--)(_0x4968aa=_0x552b76[_0x32db8d])&&(_0x2b47dd=(_0x59b36a<0x3?_0x4968aa(_0x2b47dd):_0x59b36a>0x3?_0x4968aa(_0xea18b0,_0x105054,_0x2b47dd):_0x4968aa(_0xea18b0,_0x105054))||_0x2b47dd);}return _0x59b36a>0x3&&_0x2b47dd&&Object[_0xc320b1(0x48e)](_0xea18b0,_0x105054,_0x2b47dd),_0x2b47dd;}const V=(0x0,e[_0x557ecf(0x3d0)])('base.command.service');let H=class{constructor(_0x23b354,_0x1ea080=Et(),_0x3f28af={}){const _0x298a8b=_0x557ecf;this[_0x298a8b(0x464)]=_0x23b354,this[_0x298a8b(0x409)]=_0x1ea080,this[_0x298a8b(0x2ce)]=_0x3f28af,I(this,_0x298a8b(0x235),new P()),I(this,_0x298a8b(0x33c),new w());}[_0x557ecf(0x391)](_0x38f279,_0x2edbc9,_0x15a58e){const _0x2beb4c=_0x557ecf;if(!this[_0x2beb4c(0x464)]['canCreateTable'](_0x38f279[_0x2beb4c(0x20b)]()))throw Error(_0x2beb4c(0x457));this[_0x2beb4c(0x4cf)](_0x38f279,this['_factory'][_0x2beb4c(0x391)](_0x38f279['getSnapshot'](),_0x2edbc9,_0x15a58e));}[_0x557ecf(0x45b)](_0x108300,_0x36b1e1,_0x37eccb){const _0x504d39=_0x557ecf;this[_0x504d39(0x4cf)](_0x108300,this[_0x504d39(0x235)][_0x504d39(0x45b)](_0x108300[_0x504d39(0x392)](),_0x36b1e1,_0x37eccb));}[_0x557ecf(0x381)](_0x5cf1b6,_0x1421c9){const _0x304d88=_0x557ecf;if(!this[_0x304d88(0x464)]['canDeleteTable'](_0x1421c9))throw Error(_0x304d88(0x4b6));this[_0x304d88(0x4cf)](_0x5cf1b6,this[_0x304d88(0x235)][_0x304d88(0x381)](_0x5cf1b6['getSnapshot'](),_0x1421c9));}['updateCell'](_0x1ca988,_0x2e1ed4,_0x4e0cc5,_0x426226,_0x3f5a13){const _0x2d0dbc=_0x557ecf;this[_0x2d0dbc(0x4cf)](_0x1ca988,this[_0x2d0dbc(0x249)](_0x1ca988,_0x2e1ed4,_0x4e0cc5,_0x426226,_0x3f5a13));}[_0x557ecf(0x245)](_0x109350,_0x4df6fc,_0x33c127){const _0x475cfb=_0x557ecf;this[_0x475cfb(0x4cf)](_0x109350,this[_0x475cfb(0x34e)](_0x109350,_0x4df6fc,_0x33c127));}[_0x557ecf(0x46e)](_0x12aa49,_0x4a3e32,_0x29504f){const _0x308ad4=_0x557ecf;this['_apply'](_0x12aa49,this[_0x308ad4(0x300)](_0x12aa49,_0x4a3e32,_0x29504f));}[_0x557ecf(0x249)](_0x49e2f1,_0x380f5a,_0x133873,_0x149419,_0x3e9288){const _0x9f25dd=_0x557ecf;let _0x5e601c=_0x49e2f1[_0x9f25dd(0x392)](),_0x14fef8=this[_0x9f25dd(0x2d4)](_0x5e601c,_0x380f5a,_0x133873,_0x149419,_0x3e9288),_0x44dc4a=this[_0x9f25dd(0x1e1)](_0x5e601c,_0x380f5a,_0x133873,{[_0x149419]:_0x14fef8});return this[_0x9f25dd(0x235)][_0x9f25dd(0x245)](_0x5e601c,_0x380f5a,[_0x44dc4a]);}['createSetRecordValuesOp'](_0x3019cc,_0xc4be69,_0x2631c1){const _0x302ccc=_0x557ecf;let _0x420c72=_0x3019cc[_0x302ccc(0x392)](),_0x4ee7db=_0x2631c1[_0x302ccc(0x274)](_0x1b9b66=>this[_0x302ccc(0x1e1)](_0x420c72,_0xc4be69,_0x1b9b66[_0x302ccc(0x2a6)],{...Object[_0x302ccc(0x4bd)](Object[_0x302ccc(0x458)](_0x1b9b66['values'])[_0x302ccc(0x274)](([_0x5e81c6,_0x14dec0])=>[_0x5e81c6,this[_0x302ccc(0x2d4)](_0x420c72,_0xc4be69,_0x1b9b66[_0x302ccc(0x2a6)],_0x5e81c6,_0x14dec0)]))}));return this[_0x302ccc(0x235)][_0x302ccc(0x245)](_0x420c72,_0xc4be69,_0x4ee7db);}[_0x557ecf(0x300)](_0x58062d,_0xf547e,_0x241a05){const _0x232f8e=_0x557ecf;if(!this[_0x232f8e(0x464)][_0x232f8e(0x342)](_0xf547e))throw Error(_0x232f8e(0x26e));let _0x44ab13=_0x58062d['getSnapshot'](),_0x456e19=this[_0x232f8e(0x2fc)](_0x44ab13[_0x232f8e(0x2b7)][_0xf547e]);return this[_0x232f8e(0x235)][_0x232f8e(0x46e)](_0x44ab13,_0xf547e,this[_0x232f8e(0x472)](_0x44ab13,_0xf547e,_0x241a05,_0x456e19));}[_0x557ecf(0x3a8)](_0xc79895,_0x4528c0,_0x3d9d09){const _0x4f5e7e=_0x557ecf;if(!this[_0x4f5e7e(0x464)][_0x4f5e7e(0x342)](_0x4528c0))throw Error(_0x4f5e7e(0x26e));let _0x2b1a92=_0xc79895['getSnapshot'](),_0x23a526=this[_0x4f5e7e(0x2fc)](_0x2b1a92[_0x4f5e7e(0x2b7)][_0x4528c0]);return this[_0x4f5e7e(0x235)][_0x4f5e7e(0x2f1)](_0x2b1a92,_0x4528c0,_0x3d9d09['map'](_0x5e1428=>this[_0x4f5e7e(0x472)](_0x2b1a92,_0x4528c0,_0x5e1428,_0x23a526)));}[_0x557ecf(0x336)](_0x293855,_0x4ab0d9,_0x4d5d28,_0x56fe1a,_0x1d0011){const _0x473560=_0x557ecf;if(!this[_0x473560(0x464)][_0x473560(0x20d)](_0x4ab0d9))throw Error('[BaseCommandService]:\x20cannot\x20create\x20field.');let _0x4dbc91=_0x293855[_0x473560(0x392)](),_0x53a9f1=this[_0x473560(0x235)][_0x473560(0x238)](_0x4dbc91,_0x4ab0d9,{'field':_0x4d5d28,'index':_0x56fe1a,'viewIndexes':_0x1d0011}),_0x556033=this['_createSystemFieldValuePatches'](_0x4dbc91,_0x4ab0d9,_0x4d5d28);if(!_0x556033[_0x473560(0x323)])return _0x53a9f1;let _0x5e55e2=this['_applier'][_0x473560(0x3b2)](_0x4dbc91,_0x53a9f1);return N([_0x53a9f1,this[_0x473560(0x235)][_0x473560(0x245)](_0x5e55e2,_0x4ab0d9,_0x556033)]);}[_0x557ecf(0x38a)](_0x4c15cd,_0x4bf224,_0x1e60e6){const _0x2d6fc9=_0x557ecf;if(!this[_0x2d6fc9(0x464)][_0x2d6fc9(0x437)](_0x4bf224,_0x1e60e6))throw Error('[BaseCommandService]:\x20cannot\x20delete\x20record.');this[_0x2d6fc9(0x4cf)](_0x4c15cd,this[_0x2d6fc9(0x235)]['deleteRecord'](_0x4c15cd[_0x2d6fc9(0x392)](),_0x4bf224,_0x1e60e6));}[_0x557ecf(0x2d3)](_0x4c799d,_0x1f599b,_0x1bb3c7,_0xa2d5c){const _0x41ce63=_0x557ecf;this[_0x41ce63(0x4cf)](_0x4c799d,this['_factory'][_0x41ce63(0x2d3)](_0x4c799d['getSnapshot'](),_0x1f599b,_0x1bb3c7,_0xa2d5c));}[_0x557ecf(0x2cb)](_0xcb43de,_0x1c0633,_0x426b5c,_0x53e26a){const _0x2c2cf7=_0x557ecf;this[_0x2c2cf7(0x4cf)](_0xcb43de,this[_0x2c2cf7(0x235)][_0x2c2cf7(0x2cb)](_0xcb43de[_0x2c2cf7(0x392)](),_0x1c0633,_0x426b5c,_0x53e26a));}[_0x557ecf(0x238)](_0x2c4c46,_0x3d6951,_0x370b3f,_0x1fb2d4,_0x59a64d){this['_apply'](_0x2c4c46,this['createCreateFieldOp'](_0x2c4c46,_0x3d6951,_0x370b3f,_0x1fb2d4,_0x59a64d));}[_0x557ecf(0x3dd)](_0x24e3a8,_0x477623,_0x1ffb85,_0x43ab23){const _0xa50a61=_0x557ecf;if(!this[_0xa50a61(0x464)][_0xa50a61(0x2ff)](_0x477623,_0x1ffb85))throw Error(_0xa50a61(0x3d5));this[_0xa50a61(0x4cf)](_0x24e3a8,this['_factory']['updateField'](_0x24e3a8[_0xa50a61(0x392)](),_0x477623,_0x1ffb85,_0x43ab23));}[_0x557ecf(0x44d)](_0xd383f9,_0x41be42,_0x461a0e,_0x4b7161){const _0x2e1b5b=_0x557ecf;if(!this[_0x2e1b5b(0x464)][_0x2e1b5b(0x2ff)](_0x41be42,_0x461a0e))throw Error('[BaseCommandService]:\x20cannot\x20edit\x20field.');this[_0x2e1b5b(0x4cf)](_0xd383f9,this[_0x2e1b5b(0x235)][_0x2e1b5b(0x44d)](_0xd383f9[_0x2e1b5b(0x392)](),_0x41be42,_0x461a0e,_0x4b7161));}['deleteField'](_0xc80f2b,_0x1102eb,_0x377e39){const _0x5287c9=_0x557ecf;var _0x1c07d1;if(((_0x1c07d1=_0xc80f2b[_0x5287c9(0x392)]()[_0x5287c9(0x2b7)][_0x1102eb])==null?void 0x0:_0x1c07d1['primaryFieldId'])===_0x377e39)throw Error(_0x5287c9(0x2dd));if(!this[_0x5287c9(0x464)][_0x5287c9(0x40a)](_0x1102eb,_0x377e39))throw Error(_0x5287c9(0x34d));this['_apply'](_0xc80f2b,this[_0x5287c9(0x235)]['deleteField'](_0xc80f2b[_0x5287c9(0x392)](),_0x1102eb,_0x377e39));}[_0x557ecf(0x26c)](_0x4bafc7,_0xe85827,_0x5160d2,_0x17bee0){const _0x5a688d=_0x557ecf;if(!this['_permissionService'][_0x5a688d(0x2ff)](_0xe85827,_0x5160d2))throw Error('[BaseCommandService]:\x20cannot\x20edit\x20field.');this[_0x5a688d(0x4cf)](_0x4bafc7,this[_0x5a688d(0x235)][_0x5a688d(0x26c)](_0x4bafc7[_0x5a688d(0x392)](),_0xe85827,_0x5160d2,_0x17bee0));}[_0x557ecf(0x215)](_0x125417,_0x557a89,_0x29f15d,_0x499584){const _0x137180=_0x557ecf;this['_apply'](_0x125417,this[_0x137180(0x235)][_0x137180(0x215)](_0x125417['getSnapshot'](),_0x557a89,_0x29f15d,_0x499584));}[_0x557ecf(0x48d)](_0x2b16b3,_0x2db7cd,_0x4c84e1,_0x55fcb6){const _0x3dd82c=_0x557ecf;if(!this[_0x3dd82c(0x464)][_0x3dd82c(0x241)](_0x2db7cd,_0x4c84e1))throw Error(_0x3dd82c(0x2bb));this['_apply'](_0x2b16b3,this['_factory']['renameView'](_0x2b16b3['getSnapshot'](),_0x2db7cd,_0x4c84e1,_0x55fcb6));}[_0x557ecf(0x320)](_0x5577c9,_0x382c45,_0x209c06){const _0x36bdcf=_0x557ecf;if(!this[_0x36bdcf(0x464)][_0x36bdcf(0x241)](_0x382c45,_0x209c06))throw Error(_0x36bdcf(0x2bb));this[_0x36bdcf(0x4cf)](_0x5577c9,this[_0x36bdcf(0x235)]['deleteView'](_0x5577c9[_0x36bdcf(0x392)](),_0x382c45,_0x209c06));}[_0x557ecf(0x4e2)](_0x5bc577,_0x56378b,_0x1772ec,_0x48b0ae){const _0x206208=_0x557ecf;if(!this[_0x206208(0x464)][_0x206208(0x241)](_0x56378b,_0x1772ec))throw Error(_0x206208(0x2bb));this[_0x206208(0x4cf)](_0x5bc577,this['_factory'][_0x206208(0x4e2)](_0x5bc577['getSnapshot'](),_0x56378b,_0x1772ec,_0x48b0ae));}[_0x557ecf(0x364)](_0x32f703,_0x5487f7,_0x4d8699,_0x485f36){const _0x44e38a=_0x557ecf;if(!this[_0x44e38a(0x464)][_0x44e38a(0x241)](_0x5487f7,_0x4d8699))throw Error(_0x44e38a(0x2bb));this[_0x44e38a(0x4cf)](_0x32f703,this[_0x44e38a(0x235)][_0x44e38a(0x364)](_0x32f703[_0x44e38a(0x392)](),_0x5487f7,_0x4d8699,_0x485f36));}[_0x557ecf(0x43c)](_0x2a89e9,_0x4ff8e4,_0x205722,_0x5d6d9a){const _0x2d04c4=_0x557ecf;this['_apply'](_0x2a89e9,this[_0x2d04c4(0x235)][_0x2d04c4(0x43c)](_0x2a89e9[_0x2d04c4(0x392)](),_0x4ff8e4,_0x205722,_0x5d6d9a));}[_0x557ecf(0x310)](_0x2bb38d,_0x24f36b,_0xe42a07,_0x1962bf){const _0x26f241=_0x557ecf;this[_0x26f241(0x4cf)](_0x2bb38d,this[_0x26f241(0x235)][_0x26f241(0x310)](_0x2bb38d[_0x26f241(0x392)](),_0x24f36b,_0xe42a07,_0x1962bf));}[_0x557ecf(0x234)](_0x4ff013,_0x413b41,_0x2d95b4,_0x394f2c){const _0x11aafd=_0x557ecf;this['_apply'](_0x4ff013,this['_factory'][_0x11aafd(0x234)](_0x4ff013[_0x11aafd(0x392)](),_0x413b41,_0x2d95b4,_0x394f2c));}['setViewFieldVisible'](_0x4bdf32,_0x19ffdd,_0x38befd,_0x8cb957,_0x147d28){const _0x5f12a4=_0x557ecf;if(!this[_0x5f12a4(0x464)]['canManageView'](_0x19ffdd,_0x38befd))throw Error(_0x5f12a4(0x2bb));this[_0x5f12a4(0x4cf)](_0x4bdf32,this[_0x5f12a4(0x235)]['setViewFieldVisible'](_0x4bdf32[_0x5f12a4(0x392)](),_0x19ffdd,_0x38befd,_0x8cb957,_0x147d28));}[_0x557ecf(0x3b7)](_0x1e2438,_0x470dec,_0x55612e,_0x11927c,_0x149537){const _0x2b8edb=_0x557ecf;this[_0x2b8edb(0x4cf)](_0x1e2438,this[_0x2b8edb(0x235)][_0x2b8edb(0x3b7)](_0x1e2438['getSnapshot'](),_0x470dec,_0x55612e,_0x11927c,_0x149537));}['setViewFieldOrder'](_0x41324c,_0x150bae,_0x3e36cb,_0x5d3416,_0x56c945){const _0x3e39cc=_0x557ecf;this[_0x3e39cc(0x4cf)](_0x41324c,this[_0x3e39cc(0x235)][_0x3e39cc(0x413)](_0x41324c[_0x3e39cc(0x392)](),_0x150bae,_0x3e36cb,_0x5d3416,_0x56c945));}[_0x557ecf(0x4cf)](_0x470953,_0x1791c7){const _0x2c0870=_0x557ecf;let _0x1b51b0=_0x470953[_0x2c0870(0x392)]();_0x470953[_0x2c0870(0x224)](this['_applier']['applyOp'](_0x1b51b0,_0x1791c7));}[_0x557ecf(0x472)](_0x15fbf4,_0x2a6205,_0x16e410,_0x313ef2=this[_0x557ecf(0x2fc)](_0x15fbf4[_0x557ecf(0x2b7)][_0x2a6205])){const _0x2a973d=_0x557ecf;var _0x48aeef,_0x352dd8,_0x14afd8,_0x8b5b65;let _0x5cc1f0=_0x15fbf4[_0x2a973d(0x2b7)][_0x2a6205],_0x285623=(_0x48aeef=(_0x352dd8=_0x16e410['createdBy'])==null?_0x16e410['updatedBy']:_0x352dd8)==null?this['_getCurrentUserId']():_0x48aeef,_0x40322d={..._0x16e410,'createdBy':(_0x14afd8=_0x16e410[_0x2a973d(0x370)])==null?_0x285623:_0x14afd8,'updatedBy':(_0x8b5b65=_0x16e410[_0x2a973d(0x29a)])==null?_0x285623:_0x8b5b65,'values':{..._0x16e410[_0x2a973d(0x4f9)]}};return _0x5cc1f0[_0x2a973d(0x3e0)][_0x2a973d(0x4c8)](_0x1fa0a3=>{const _0x3aaead=_0x2a973d;let _0x192efc=_0x5cc1f0[_0x3aaead(0x40d)][_0x1fa0a3];if(!(!_0x192efc||_0x40322d[_0x3aaead(0x4f9)][_0x1fa0a3]!==void 0x0))switch(_0x192efc[_0x3aaead(0x26a)]){case e['BaseFieldType'][_0x3aaead(0x304)]:var _0x2791ac,_0x1938d6;_0x40322d[_0x3aaead(0x4f9)][_0x1fa0a3]=(_0x2791ac=(_0x1938d6=_0x313ef2[_0x3aaead(0x487)](_0x1fa0a3))==null?void 0x0:_0x1938d6())==null?this[_0x3aaead(0x376)](_0x5cc1f0,_0x1fa0a3)():_0x2791ac;break;case e[_0x3aaead(0x29e)][_0x3aaead(0x4d7)]:_0x40322d[_0x3aaead(0x370)]&&(_0x40322d[_0x3aaead(0x4f9)][_0x1fa0a3]=_0x40322d[_0x3aaead(0x370)]);break;case e[_0x3aaead(0x29e)][_0x3aaead(0x44e)]:_0x40322d[_0x3aaead(0x29a)]&&(_0x40322d[_0x3aaead(0x4f9)][_0x1fa0a3]=_0x40322d[_0x3aaead(0x29a)]);break;case e[_0x3aaead(0x29e)]['CreatedAt']:_0x40322d[_0x3aaead(0x4f9)][_0x1fa0a3]=T(_0x40322d[_0x3aaead(0x1ec)]);break;case e[_0x3aaead(0x29e)][_0x3aaead(0x2a9)]:_0x40322d[_0x3aaead(0x4f9)][_0x1fa0a3]=T(_0x40322d[_0x3aaead(0x3c2)]);break;default:{let _0x4961f6=_0x192efc[_0x3aaead(0x30d)];_0x4961f6!=null&&_0x4961f6!==''&&!(Array[_0x3aaead(0x2e1)](_0x4961f6)&&_0x4961f6[_0x3aaead(0x323)]===0x0)&&(_0x40322d['values'][_0x1fa0a3]=_0x4961f6);}}}),_0x40322d;}[_0x557ecf(0x1e1)](_0x2c3940,_0x5d3ce5,_0x50444e,_0x591d64){const _0x59b0d5=_0x557ecf;var _0x4b384a,_0x324032,_0x48f8ba;let _0x30ca52=_0x2c3940['tables'][_0x5d3ce5],_0x537261=(_0x4b384a=(_0x324032=(_0x48f8ba=this[_0x59b0d5(0x2ce)])[_0x59b0d5(0x2bc)])==null?void 0x0:_0x324032[_0x59b0d5(0x24a)](_0x48f8ba))==null?Date['now']():_0x4b384a,_0x3c338e=this['_getCurrentUserId'](),_0xe56806={..._0x591d64};return _0x30ca52[_0x59b0d5(0x3e0)][_0x59b0d5(0x4c8)](_0x4ec1af=>{const _0x44b905=_0x59b0d5;let _0xdcff5b=_0x30ca52[_0x44b905(0x40d)][_0x4ec1af];_0xdcff5b&&(_0xdcff5b[_0x44b905(0x26a)]===e['BaseFieldType']['UpdatedAt']&&(_0xe56806[_0x4ec1af]=T(_0x537261)),_0xdcff5b[_0x44b905(0x26a)]===e[_0x44b905(0x29e)][_0x44b905(0x44e)]&&_0x3c338e&&(_0xe56806[_0x4ec1af]=_0x3c338e));}),{'recordId':_0x50444e,'values':_0xe56806,'recordPatch':{'updatedAt':_0x537261,..._0x3c338e?{'updatedBy':_0x3c338e}:{}}};}[_0x557ecf(0x4e5)](_0x5043e2,_0xa388bf,_0x104c6d){const _0x2cb187=_0x557ecf;let _0x19eb17=_0x5043e2[_0x2cb187(0x2b7)][_0xa388bf];return!_0x19eb17||!Dt(_0x104c6d)?[]:_0x104c6d[_0x2cb187(0x26a)]===e['BaseFieldType'][_0x2cb187(0x304)]?this[_0x2cb187(0x211)](_0x19eb17,_0x104c6d['id']):Object[_0x2cb187(0x4f9)](_0x19eb17[_0x2cb187(0x2ac)])[_0x2cb187(0x454)](_0x37148b=>{let _0x1cfa0b=this['_getSystemFieldValue'](_0x104c6d,_0x37148b);return _0x1cfa0b===void 0x0?[]:[{'recordId':_0x37148b['id'],'values':{[_0x104c6d['id']]:_0x1cfa0b}}];});}[_0x557ecf(0x486)](_0x1694fe,_0x4de443){const _0x35d832=_0x557ecf;switch(_0x1694fe['type']){case e['BaseFieldType'][_0x35d832(0x4d7)]:var _0x39eaec;return(_0x39eaec=_0x4de443[_0x35d832(0x370)])==null?this[_0x35d832(0x386)]():_0x39eaec;case e['BaseFieldType'][_0x35d832(0x44e)]:var _0x211d5f;return(_0x211d5f=_0x4de443['updatedBy'])==null?this[_0x35d832(0x386)]():_0x211d5f;case e[_0x35d832(0x29e)][_0x35d832(0x3fc)]:var _0xd25924;return T((_0xd25924=_0x4de443[_0x35d832(0x1ec)])==null?Date[_0x35d832(0x2bc)]():_0xd25924);case e[_0x35d832(0x29e)][_0x35d832(0x2a9)]:var _0x1dfdb1;return T((_0x1dfdb1=_0x4de443['updatedAt'])==null?Date[_0x35d832(0x2bc)]():_0x1dfdb1);default:return;}}[_0x557ecf(0x2fc)](_0x1767e2){const _0xe24f57=_0x557ecf;let _0x1b00bb=new Map();return _0x1767e2&&_0x1767e2['fieldOrder'][_0xe24f57(0x4c8)](_0x57b6e1=>{const _0x3d13a9=_0xe24f57;let _0x26a142=_0x1767e2[_0x3d13a9(0x40d)][_0x57b6e1];(_0x26a142==null?void 0x0:_0x26a142['type'])===e[_0x3d13a9(0x29e)][_0x3d13a9(0x304)]&&_0x1b00bb[_0x3d13a9(0x47d)](_0x57b6e1,this[_0x3d13a9(0x376)](_0x1767e2,_0x57b6e1));}),_0x1b00bb;}[_0x557ecf(0x376)](_0x42ea6b,_0x30e5c6){const _0x168842=_0x557ecf;let _0x5f4509=Object[_0x168842(0x4f9)](_0x42ea6b['records'])['reduce']((_0x2605f0,_0x39c8da)=>{const _0x4fbfb6=_0x168842;let _0x47405a=Number(_0x39c8da[_0x4fbfb6(0x4f9)][_0x30e5c6]);return Number['isFinite'](_0x47405a)?Math[_0x4fbfb6(0x4ef)](_0x2605f0,_0x47405a):_0x2605f0;},0x0);return()=>String(++_0x5f4509);}['_createNumberingFieldValuePatches'](_0x36a21d,_0x5c2713){const _0x18920a=_0x557ecf;let _0x3d22a3=this['_getOrderedRecords'](_0x36a21d),_0x5bafe5=this['_createNumberingAllocator'](_0x36a21d,_0x5c2713);return _0x3d22a3[_0x18920a(0x454)](_0x1f414e=>this['_isNonEmptyCellValue'](_0x1f414e[_0x18920a(0x4f9)][_0x5c2713])?[]:[{'recordId':_0x1f414e['id'],'values':{[_0x5c2713]:_0x5bafe5()}}]);}['_getOrderedRecords'](_0x15e6e5){const _0x197c91=_0x557ecf;var _0x286602;let _0x274332=Object[_0x197c91(0x4f9)](_0x15e6e5['records']),_0x31877d=new Map(_0x274332['map'](_0x22dffb=>[_0x22dffb['id'],_0x22dffb])),_0x551759=[],_0x4b5bfc=new Set();(_0x286602=_0x15e6e5[_0x197c91(0x20f)])==null||_0x286602[_0x197c91(0x4c8)](_0x3d4d38=>{const _0x3c3b77=_0x197c91;let _0xbb17e9=_0x31877d[_0x3c3b77(0x487)](_0x3d4d38);_0xbb17e9&&(_0x551759['push'](_0xbb17e9),_0x4b5bfc[_0x3c3b77(0x371)](_0x3d4d38));});let _0x3f11e3=_0x274332[_0x197c91(0x2fe)](_0x280cae=>!_0x4b5bfc['has'](_0x280cae['id']))[_0x197c91(0x496)]((_0x5cf817,_0x3f0231)=>{const _0x2d05b6=_0x197c91;var _0x554a4d,_0xc37511;return String((_0x554a4d=_0x5cf817[_0x2d05b6(0x408)])==null?_0x5cf817['id']:_0x554a4d)['localeCompare'](String((_0xc37511=_0x3f0231[_0x2d05b6(0x408)])==null?_0x3f0231['id']:_0xc37511))||_0x5cf817['id'][_0x2d05b6(0x3d1)](_0x3f0231['id']);});return[..._0x551759,..._0x3f11e3];}[_0x557ecf(0x3f9)](_0x4de499){const _0x285a6e=_0x557ecf;return _0x4de499!=null&&_0x4de499!==''&&!(Array['isArray'](_0x4de499)&&_0x4de499[_0x285a6e(0x323)]===0x0);}[_0x557ecf(0x386)](){const _0x2624b3=_0x557ecf;var _0x1ba741,_0x188b30,_0x135926,_0x12a756,_0x173ac7,_0x3300ed;return(_0x1ba741=(_0x188b30=(_0x135926=(_0x12a756=this['_runtimeContext'])[_0x2624b3(0x423)])==null?void 0x0:_0x135926[_0x2624b3(0x24a)](_0x12a756))==null?(_0x173ac7=(_0x3300ed=this['_runtimeContext'])[_0x2624b3(0x29d)])==null||(_0x173ac7=_0x173ac7[_0x2624b3(0x24a)](_0x3300ed))==null?void 0x0:_0x173ac7[_0x2624b3(0x298)]:_0x188b30)==null?void 0x0:_0x1ba741;}[_0x557ecf(0x2d4)](_0x50e499,_0x4005a6,_0x25b952,_0x4138d5,_0x1bf5eb){const _0x4876bf=_0x557ecf;var _0x2d0c09;if(!this[_0x4876bf(0x464)][_0x4876bf(0x2ee)](_0x4005a6,_0x25b952,_0x4138d5))throw Error(_0x4876bf(0x453));let _0x322b9e=(_0x2d0c09=_0x50e499['tables'][_0x4005a6])==null?void 0x0:_0x2d0c09[_0x4876bf(0x40d)][_0x4138d5];if(!_0x322b9e)throw Error(_0x4876bf(0x248)+_0x4138d5+_0x4876bf(0x3c7));let _0x490426=this[_0x4876bf(0x409)][_0x4876bf(0x487)](_0x322b9e[_0x4876bf(0x26a)]);if(_0x322b9e['readonly']||_0x322b9e[_0x4876bf(0x324)]||!_0x490426[_0x4876bf(0x271)](_0x322b9e)[_0x4876bf(0x35c)])throw Error(_0x4876bf(0x280));let _0x5e3fa0=_0x490426[_0x4876bf(0x39e)](_0x1bf5eb,_0x322b9e),_0x36a7a6=_0x490426[_0x4876bf(0x2ab)](_0x5e3fa0,_0x322b9e);if(!_0x36a7a6[_0x4876bf(0x278)]){var _0x5ec6b1;throw Error((_0x5ec6b1=_0x36a7a6[_0x4876bf(0x49d)])==null?_0x4876bf(0x2de):_0x5ec6b1);}return _0x5e3fa0;}};H=B([z(0x0,Ct),z(0x1,L)],H);function Et(){let _0x2c64b9=new St();return Qe()['forEach'](_0xdd674a=>_0x2c64b9['register'](_0xdd674a)),_0x2c64b9;}function Dt(_0xbd46ed){const _0x50c120=_0x557ecf;return _0xbd46ed[_0x50c120(0x26a)]===e[_0x50c120(0x29e)]['Numbering']||_0xbd46ed['type']===e[_0x50c120(0x29e)]['CreatedBy']||_0xbd46ed[_0x50c120(0x26a)]===e[_0x50c120(0x29e)][_0x50c120(0x44e)]||_0xbd46ed[_0x50c120(0x26a)]===e[_0x50c120(0x29e)][_0x50c120(0x3fc)]||_0xbd46ed[_0x50c120(0x26a)]===e[_0x50c120(0x29e)]['UpdatedAt'];}const Ot=new Set([e[_0x557ecf(0x29e)]['Progress'],e[_0x557ecf(0x29e)][_0x557ecf(0x3b6)],e[_0x557ecf(0x29e)][_0x557ecf(0x394)]]);function kt(_0x4cd19e){const _0x400e4f=_0x557ecf;var _0x2479f7,_0x430f55;let _0x5d7a80=_0x4cd19e['fields'][_0x4cd19e[_0x400e4f(0x4a0)]];return!(_0x5d7a80&&(_0x5d7a80[_0x400e4f(0x324)]===!0x0||_0x5d7a80['id'][_0x400e4f(0x402)]()==='id'||_0x5d7a80[_0x400e4f(0x3c4)][_0x400e4f(0x354)]()[_0x400e4f(0x402)]()==='id'))&&_0x5d7a80?_0x5d7a80['id']:(_0x2479f7=(_0x430f55=_0x4cd19e[_0x400e4f(0x3e0)][_0x400e4f(0x274)](_0x27fc4e=>_0x4cd19e['fields'][_0x27fc4e])[_0x400e4f(0x4c1)](_0x145875=>_0x145875&&_0x145875['id']!==_0x4cd19e[_0x400e4f(0x4a0)]))==null?void 0x0:_0x430f55['id'])==null?_0x4cd19e[_0x400e4f(0x4a0)]:_0x2479f7;}function U(_0x44ce67,_0x185c74=[],_0x445c5c=0x5){const _0x12aa14=_0x557ecf;let _0x395691=new Set(_0x185c74[_0x12aa14(0x2fe)](_0xf304bd=>!!_0xf304bd)),_0x2f7df7=_0x44ce67[_0x12aa14(0x3e0)][_0x12aa14(0x454)](_0x5d0e5b=>{const _0x4ec9ff=_0x12aa14;let _0x2e9ebe=_0x44ce67[_0x4ec9ff(0x40d)][_0x5d0e5b];return _0x2e9ebe&&!_0x395691[_0x4ec9ff(0x25a)](_0x2e9ebe['id'])?[_0x2e9ebe]:[];}),_0x6b1e56=_0x2f7df7[_0x12aa14(0x2fe)](_0x515676=>Ot[_0x12aa14(0x25a)](_0x515676[_0x12aa14(0x26a)])),_0x4e1272=_0x2f7df7[_0x12aa14(0x2fe)](_0x399c1b=>!Ot[_0x12aa14(0x25a)](_0x399c1b[_0x12aa14(0x26a)]));return[..._0x6b1e56,..._0x4e1272][_0x12aa14(0x4c3)](0x0,_0x445c5c)[_0x12aa14(0x274)](_0x180953=>_0x180953['id']);}function At(){const _0x1eaaf6=_0x557ecf;return[{'type':e[_0x1eaaf6(0x3b1)]['Grid'],'i18nKey':_0x1eaaf6(0x1fd),'createDefaultConfig':()=>({}),'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x1bde1f=_0x1eaaf6;throw Error(_0x1bde1f(0x4c0));}},{'type':e[_0x1eaaf6(0x3b1)]['Kanban'],'i18nKey':_0x1eaaf6(0x22c),'createDefaultConfig':_0xdf9893=>{const _0x97a60=_0x1eaaf6;let _0x3c3bc2=jt(_0xdf9893);return{'groupFieldId':_0x3c3bc2,'coverFieldId':null,'cardLayout':_0x97a60(0x368),'showFieldNames':!0x0,'fieldSettings':{},'columnSettings':{},'card':{'titleFieldId':_0xdf9893[_0x97a60(0x4a0)],'fieldIds':U(_0xdf9893,[_0xdf9893[_0x97a60(0x4a0)],_0x3c3bc2])}};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x3e8df7=_0x1eaaf6;throw Error(_0x3e8df7(0x499));}},{'type':e[_0x1eaaf6(0x3b1)][_0x1eaaf6(0x29b)],'i18nKey':'base.viewType.calendar','createDefaultConfig':_0x22ee54=>{const _0x34e896=_0x1eaaf6;let _0x2a79d9=Mt(_0x22ee54);return{'startDateFieldId':_0x2a79d9,'endDateFieldId':Nt(_0x22ee54,_0x2a79d9),'titleFieldId':_0x22ee54[_0x34e896(0x4a0)],'mode':_0x34e896(0x41b),'timeslotSize':'medium','timeZone':_0x34e896(0x4cd),'displayColor':{'type':_0x34e896(0x268),'color':_0x34e896(0x22a)},'fieldSettings':{}};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x43ddad=_0x1eaaf6;throw Error(_0x43ddad(0x254));}},{'type':e[_0x1eaaf6(0x3b1)]['Gantt'],'i18nKey':_0x1eaaf6(0x2bd),'createDefaultConfig':_0x143ec5=>{const _0x33edf5=_0x1eaaf6;var _0x53bb02;let _0x457bbd=Mt(_0x143ec5);return{'startDateFieldId':_0x457bbd,'endDateFieldId':(_0x53bb02=Nt(_0x143ec5,_0x457bbd))==null?_0x457bbd:_0x53bb02,'titleFieldId':_0x143ec5[_0x33edf5(0x4a0)],'scale':_0x33edf5(0x41b),'showTodayLine':!0x0,'displayColor':{'type':_0x33edf5(0x268),'color':_0x33edf5(0x3ce)},'fieldSettings':{},'workingDaysOnly':!0x1};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x54d909=_0x1eaaf6;throw Error(_0x54d909(0x306));}},{'type':e['BaseViewType']['Gallery'],'i18nKey':'base.viewType.gallery','createDefaultConfig':_0x2d71a0=>{const _0x2ee5ea=_0x1eaaf6;let _0x5c22de=kt(_0x2d71a0);return{'coverFieldId':null,'cardLayout':_0x2ee5ea(0x368),'showFieldNames':!0x0,'fieldSettings':{},'card':{'titleFieldId':_0x5c22de,'coverFieldId':null,'fieldIds':U(_0x2d71a0,[_0x5c22de,_0x2d71a0[_0x2ee5ea(0x4a0)]])},'cardSize':_0x2ee5ea(0x4be)};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x25f228=_0x1eaaf6;throw Error(_0x25f228(0x2c6));}}];}function jt(_0x30c46a){const _0x33d9ec=_0x557ecf;var _0x984273,_0x1952df,_0x4c9be1,_0x1bdd35,_0x5039af,_0x45e07d;let _0x3e543a=_0x30c46a[_0x33d9ec(0x3e0)]['map'](_0x58f922=>_0x30c46a[_0x33d9ec(0x40d)][_0x58f922])['filter'](_0x55690b=>!!_0x55690b);return(_0x984273=(_0x1952df=(_0x4c9be1=(_0x1bdd35=_0x3e543a['find'](_0x509195=>_0x509195[_0x33d9ec(0x26a)]===e[_0x33d9ec(0x29e)][_0x33d9ec(0x22d)]||_0x509195[_0x33d9ec(0x26a)]===e[_0x33d9ec(0x29e)][_0x33d9ec(0x2f7)]||_0x509195['type']===e[_0x33d9ec(0x29e)]['Group']))==null?void 0x0:_0x1bdd35['id'])==null?(_0x5039af=_0x3e543a['find'](_0x2e5687=>_0x2e5687['type']===e[_0x33d9ec(0x29e)]['Text']))==null?void 0x0:_0x5039af['id']:_0x4c9be1)==null?(_0x45e07d=_0x3e543a[_0x33d9ec(0x4c1)](_0x57ab8f=>_0x57ab8f[_0x33d9ec(0x26a)]===e[_0x33d9ec(0x29e)][_0x33d9ec(0x272)]||_0x57ab8f[_0x33d9ec(0x26a)]===e['BaseFieldType']['CreatedAt']||_0x57ab8f[_0x33d9ec(0x26a)]===e[_0x33d9ec(0x29e)][_0x33d9ec(0x2a9)]))==null?void 0x0:_0x45e07d['id']:_0x1952df)==null?_0x30c46a[_0x33d9ec(0x4a0)]:_0x984273;}function Mt(_0x36d080){const _0x1c98f2=_0x557ecf;var _0x3d6ded,_0x5135d2;return(_0x3d6ded=(_0x5135d2=_0x36d080[_0x1c98f2(0x3e0)][_0x1c98f2(0x274)](_0x207a5c=>_0x36d080['fields'][_0x207a5c])[_0x1c98f2(0x4c1)](Pt))==null?void 0x0:_0x5135d2['id'])==null?'':_0x3d6ded;}function Nt(_0x4e7f28,_0x44de2d){const _0x5029cd=_0x557ecf;var _0x15937a;return(_0x15937a=_0x4e7f28[_0x5029cd(0x3e0)][_0x5029cd(0x274)](_0x3f448a=>_0x4e7f28[_0x5029cd(0x40d)][_0x3f448a])[_0x5029cd(0x4c1)](_0x4c507a=>Pt(_0x4c507a)&&_0x4c507a['id']!==_0x44de2d))==null?void 0x0:_0x15937a['id'];}function Pt(_0xa59f35){const _0x1fa0e6=_0x557ecf;return!!_0xa59f35&&_0xa59f35[_0x1fa0e6(0x26a)]===e[_0x1fa0e6(0x29e)][_0x1fa0e6(0x272)]&&_0xa59f35[_0x1fa0e6(0x2b9)]!==!0x0&&_0xa59f35[_0x1fa0e6(0x324)]!==!0x0;}const Ft=(0x0,e[_0x557ecf(0x3d0)])('base.projection.service'),It=new Set([e['BaseFieldType'][_0x557ecf(0x412)],e[_0x557ecf(0x29e)]['Currency'],e[_0x557ecf(0x29e)][_0x557ecf(0x2ef)],e[_0x557ecf(0x29e)][_0x557ecf(0x3b6)],e[_0x557ecf(0x29e)][_0x557ecf(0x272)],e[_0x557ecf(0x29e)][_0x557ecf(0x3fc)],e['BaseFieldType'][_0x557ecf(0x2a9)],e[_0x557ecf(0x29e)]['Checkbox']]);let Lt=class extends e[_0x557ecf(0x269)]{constructor(_0x3a00e7){const _0x1e92b7=_0x557ecf;super(),this[_0x1e92b7(0x409)]=_0x3a00e7,I(this,_0x1e92b7(0x471),new Map()),I(this,_0x1e92b7(0x480),new WeakMap()),I(this,'_projectedRowsCache',new Map()),I(this,'_projectedViewRowsCache',new Map()),I(this,'_projectedGroupsCache',new Map()),I(this,_0x1e92b7(0x205),0x0),I(this,_0x1e92b7(0x4ca),new Map()),I(this,_0x1e92b7(0x3e2),new Map()),I(this,_0x1e92b7(0x2c5),new Map()),I(this,_0x1e92b7(0x38f),new Map());}[_0x557ecf(0x401)](_0x1c804d){const _0x394cbb=_0x557ecf;return this[_0x394cbb(0x471)][_0x394cbb(0x47d)](_0x1c804d[_0x394cbb(0x26a)],_0x1c804d),(0x0,e[_0x394cbb(0x258)])(()=>this['_views'][_0x394cbb(0x303)](_0x1c804d[_0x394cbb(0x26a)]));}[_0x557ecf(0x2e4)](_0x3acbb6,_0x254c52,_0x32901d){const _0x544618=_0x557ecf;var _0x5a8c61,_0x1d7e8a,_0xe9a00c,_0x459ac8,_0x29b225;return o(_0x544618(0x284),()=>{const _0x3385ac=_0x544618;let _0x399002=this[_0x3385ac(0x1f2)](_0x3acbb6,_0x254c52,_0x32901d);if(_0x399002)return _0x399002;let _0x14f6bf=_0x3acbb6[_0x3385ac(0x2b7)][_0x254c52],_0x34c93e=_0x14f6bf==null?void 0x0:_0x14f6bf[_0x3385ac(0x45e)][_0x32901d];if(!_0x14f6bf||!_0x34c93e){var _0x49fc71;return this[_0x3385ac(0x35d)](_0x3acbb6,_0x254c52,_0x32901d,{'type':_0x3385ac(0x49c),'viewType':(_0x49fc71=_0x34c93e==null?void 0x0:_0x34c93e[_0x3385ac(0x26a)])==null?e[_0x3385ac(0x3b1)][_0x3385ac(0x318)]:_0x49fc71,'reason':'missingField'});}let _0x4f6121;switch(_0x34c93e[_0x3385ac(0x26a)]){case e[_0x3385ac(0x3b1)][_0x3385ac(0x318)]:_0x4f6121=this[_0x3385ac(0x396)](_0x14f6bf,_0x34c93e);break;case e[_0x3385ac(0x3b1)][_0x3385ac(0x4e9)]:_0x4f6121=this['_buildGantt'](_0x14f6bf,_0x34c93e);break;case e[_0x3385ac(0x3b1)]['Kanban']:_0x4f6121=this[_0x3385ac(0x230)](_0x14f6bf,_0x34c93e);break;case e[_0x3385ac(0x3b1)][_0x3385ac(0x29b)]:_0x4f6121=this[_0x3385ac(0x20e)](_0x14f6bf,_0x34c93e);break;case e[_0x3385ac(0x3b1)]['Gallery']:_0x4f6121=this[_0x3385ac(0x363)](_0x14f6bf,_0x34c93e);break;default:_0x4f6121={'type':_0x3385ac(0x49c),'viewType':_0x34c93e['type'],'reason':'missingField'};}return this['_setCachedProjection'](_0x3acbb6,_0x254c52,_0x32901d,_0x4f6121);},{'tableId':_0x254c52,'viewId':_0x32901d,'viewType':(_0x5a8c61=_0x3acbb6[_0x544618(0x2b7)][_0x254c52])==null||(_0x5a8c61=_0x5a8c61['views'][_0x32901d])==null?void 0x0:_0x5a8c61['type'],'records':(_0x1d7e8a=(_0xe9a00c=_0x3acbb6[_0x544618(0x2b7)][_0x254c52])==null||(_0xe9a00c=_0xe9a00c[_0x544618(0x20f)])==null?void 0x0:_0xe9a00c[_0x544618(0x323)])==null?Object['keys']((_0x459ac8=(_0x29b225=_0x3acbb6[_0x544618(0x2b7)][_0x254c52])==null?void 0x0:_0x29b225[_0x544618(0x2ac)])==null?{}:_0x459ac8)[_0x544618(0x323)]:_0x1d7e8a});}[_0x557ecf(0x2aa)](_0x3cb37a,_0x4aad46,_0x3dcd07){const _0x4ffd9e=_0x557ecf;var _0x1b868e,_0x100476,_0x4f252c,_0x480e76;let _0x1c4169=_0x3cb37a[_0x4ffd9e(0x2b7)][_0x4aad46],_0x2fe981=_0x1c4169==null?void 0x0:_0x1c4169['views'][_0x3dcd07];if(!_0x1c4169||!_0x2fe981)throw Error(_0x4ffd9e(0x433)+_0x3dcd07+'\x22.');let _0x2fd75e=_0x1a9cac=>!!_0x1c4169[_0x4ffd9e(0x40d)][_0x1a9cac],_0x5c5cba={..._0x2fe981,'filter':_0x2fe981['filter']?{..._0x2fe981[_0x4ffd9e(0x2fe)],'conditions':_0x2fe981[_0x4ffd9e(0x2fe)][_0x4ffd9e(0x37b)]['filter'](_0x1a254a=>_0x2fd75e(_0x1a254a[_0x4ffd9e(0x3da)]))}:_0x2fe981[_0x4ffd9e(0x2fe)],'sort':(_0x1b868e=_0x2fe981['sort'])==null?void 0x0:_0x1b868e[_0x4ffd9e(0x2fe)](_0x1ee574=>_0x2fd75e(_0x1ee574[_0x4ffd9e(0x3da)])),'group':(_0x100476=_0x2fe981[_0x4ffd9e(0x4fc)])==null?void 0x0:_0x100476[_0x4ffd9e(0x2fe)](_0x42171d=>_0x2fd75e(_0x42171d[_0x4ffd9e(0x3da)])),'fieldOrder':(_0x4f252c=_0x2fe981['fieldOrder'])==null?void 0x0:_0x4f252c[_0x4ffd9e(0x2fe)](_0x2fd75e),'fieldSettings':Object[_0x4ffd9e(0x4bd)](Object[_0x4ffd9e(0x458)]((_0x480e76=_0x2fe981[_0x4ffd9e(0x3b5)])==null?{}:_0x480e76)['filter'](([_0x1d44f4])=>_0x2fd75e(_0x1d44f4)))};if(_0x5c5cba[_0x4ffd9e(0x26a)]===_0x4ffd9e(0x4d3)){var _0x10d8aa,_0x4bc95e,_0x33baff,_0x5547fe;let _0xd293a8=(_0x10d8aa=_0x5c5cba[_0x4ffd9e(0x294)])==null?{}:_0x10d8aa,_0x13a3e5=this[_0x4ffd9e(0x214)](_0x1c4169,_0x5c5cba);_0x5c5cba['config']={..._0xd293a8,'groupFieldId':_0x13a3e5==null?_0xd293a8[_0x4ffd9e(0x1f6)]:_0x13a3e5,'coverFieldId':this[_0x4ffd9e(0x4d1)](_0x1c4169,_0xd293a8),'cardLayout':_0xd293a8[_0x4ffd9e(0x4e8)]===_0x4ffd9e(0x4b5)?'compose':_0x4ffd9e(0x368),'showFieldNames':_0xd293a8[_0x4ffd9e(0x2df)]!==!0x1,'fieldSettings':Object[_0x4ffd9e(0x4bd)](Object[_0x4ffd9e(0x458)]((_0x4bc95e=_0xd293a8[_0x4ffd9e(0x3b5)])==null?{}:_0x4bc95e)[_0x4ffd9e(0x2fe)](([_0x226c1a])=>_0x2fd75e(_0x226c1a))),'columnSettings':(_0x33baff=_0xd293a8[_0x4ffd9e(0x4d6)])==null?{}:_0x33baff,'card':{...(_0x5547fe=_0xd293a8[_0x4ffd9e(0x32c)])==null?{}:_0x5547fe,'fieldIds':this[_0x4ffd9e(0x3e6)](_0x1c4169,_0x5c5cba,_0x13a3e5==null?'':_0x13a3e5)}};}return{'repaired':JSON[_0x4ffd9e(0x36a)](_0x5c5cba)!==JSON[_0x4ffd9e(0x36a)](_0x2fe981),'view':_0x5c5cba};}['invalidateByOp'](){const _0x3dd78c=_0x557ecf;this[_0x3dd78c(0x205)]++;}['invalidateByCell'](_0x8a3720,_0xb1d70d,_0x3cf749){const _0x486d8c=_0x557ecf;var _0x479f55;let _0xc14bfd=this[_0x486d8c(0x407)](_0x8a3720)+0x1;this[_0x486d8c(0x3e2)][_0x486d8c(0x47d)](_0x8a3720,_0xc14bfd);let _0x1a8f77=(_0x479f55=this['_cellInvalidations'][_0x486d8c(0x487)](_0x8a3720))==null?[]:_0x479f55;_0x1a8f77[_0x486d8c(0x43e)]({'revision':_0xc14bfd,'recordId':_0xb1d70d,'fieldId':_0x3cf749}),this[_0x486d8c(0x2c5)][_0x486d8c(0x47d)](_0x8a3720,_0x1a8f77);}['invalidateByField'](_0xb55473,_0x459409){const _0x489425=_0x557ecf;this[_0x489425(0x418)](_0xb55473);}['invalidateByView'](_0x33aa13,_0x4e7d19){const _0x56d238=_0x557ecf;this[_0x56d238(0x38f)][_0x56d238(0x47d)](this[_0x56d238(0x3bf)](_0x33aa13,_0x4e7d19),this[_0x56d238(0x441)](_0x33aa13,_0x4e7d19)+0x1);}[_0x557ecf(0x1f2)](_0x5a7694,_0x51d273,_0x4a758b){const _0x34ffff=_0x557ecf;var _0x3979db;let _0x2cacbc=(_0x3979db=this[_0x34ffff(0x480)][_0x34ffff(0x487)](_0x5a7694))==null?void 0x0:_0x3979db[_0x34ffff(0x487)](this[_0x34ffff(0x3d9)](_0x51d273,_0x4a758b));return _0x2cacbc&&_0x2cacbc[_0x34ffff(0x3a6)]===this[_0x34ffff(0x205)]&&_0x2cacbc[_0x34ffff(0x36e)]===this[_0x34ffff(0x288)](_0x51d273)&&_0x2cacbc['cellRevision']===this[_0x34ffff(0x407)](_0x51d273)&&_0x2cacbc[_0x34ffff(0x45d)]===this[_0x34ffff(0x441)](_0x51d273,_0x4a758b)?_0x2cacbc['projection']:null;}['_setCachedProjection'](_0x34b4bb,_0x11a91e,_0x578c8a,_0x49ddaa){const _0x3c0c39=_0x557ecf;let _0x2a0704=this[_0x3c0c39(0x480)][_0x3c0c39(0x487)](_0x34b4bb);return _0x2a0704||(_0x2a0704=new Map(),this[_0x3c0c39(0x480)][_0x3c0c39(0x47d)](_0x34b4bb,_0x2a0704)),_0x2a0704[_0x3c0c39(0x47d)](this[_0x3c0c39(0x3d9)](_0x11a91e,_0x578c8a),{'projection':_0x49ddaa,'globalRevision':this[_0x3c0c39(0x205)],'tableRevision':this[_0x3c0c39(0x288)](_0x11a91e),'cellRevision':this[_0x3c0c39(0x407)](_0x11a91e),'viewRevision':this[_0x3c0c39(0x441)](_0x11a91e,_0x578c8a)}),_0x49ddaa;}['_bumpTableRevision'](_0x535ae5){const _0x40171b=_0x557ecf;this[_0x40171b(0x4ca)]['set'](_0x535ae5,this[_0x40171b(0x288)](_0x535ae5)+0x1);}[_0x557ecf(0x288)](_0x448a4e){const _0x3401f6=_0x557ecf;var _0x4a5f8c;return(_0x4a5f8c=this[_0x3401f6(0x4ca)][_0x3401f6(0x487)](_0x448a4e))==null?0x0:_0x4a5f8c;}[_0x557ecf(0x407)](_0x1b3d80){const _0x2fc1bd=_0x557ecf;var _0x5d7e3c;return(_0x5d7e3c=this[_0x2fc1bd(0x3e2)]['get'](_0x1b3d80))==null?0x0:_0x5d7e3c;}[_0x557ecf(0x441)](_0x564e93,_0x3f19bf){const _0x17f2bd=_0x557ecf;var _0x41070c;return(_0x41070c=this[_0x17f2bd(0x38f)][_0x17f2bd(0x487)](this[_0x17f2bd(0x3bf)](_0x564e93,_0x3f19bf)))==null?0x0:_0x41070c;}[_0x557ecf(0x3d9)](_0xc848a6,_0x4ff741){return _0xc848a6+'\x00'+_0x4ff741;}[_0x557ecf(0x39b)](_0x49b78b,_0x4a2cae){const _0x10db5a=_0x557ecf;return _0x49b78b+'\x00'+this[_0x10db5a(0x443)](_0x4a2cae);}[_0x557ecf(0x393)](_0x566008,_0x298589,_0x3aee53){const _0x5cf8c3=_0x557ecf;return _0x566008+'\x00'+this['_rowTransformCacheSegment'](_0x298589)+'\x00'+this[_0x5cf8c3(0x4e1)](_0x3aee53);}['_rowTransformCacheSegment'](_0x8e3675){const _0x46612e=_0x557ecf;return _0x8e3675?Ut({'filter':Vt(_0x8e3675[_0x46612e(0x2fe)]),'sort':Ht(_0x8e3675[_0x46612e(0x496)])}):_0x46612e(0x4f1);}[_0x557ecf(0x4e1)](_0x1e4e3d){const _0x235b22=_0x557ecf;return Ut(_0x1e4e3d[_0x235b22(0x274)](_0x294cf7=>{const _0x249fa6=_0x235b22;var _0x83ffdc;return{'fieldId':_0x294cf7[_0x249fa6(0x3da)],'direction':(_0x83ffdc=_0x294cf7[_0x249fa6(0x315)])==null?null:_0x83ffdc};}));}[_0x557ecf(0x3bf)](_0x51d1e2,_0x5c9d0a){return _0x51d1e2+'\x00'+_0x5c9d0a;}[_0x557ecf(0x396)](_0x2c457e,_0x3a7520){const _0x4c7913=_0x557ecf;let _0x3745d0=this['_projectRows'](_0x2c457e,_0x3a7520);return{'type':e['BaseViewType'][_0x4c7913(0x318)],'fields':this[_0x4c7913(0x48b)](_0x2c457e,_0x3a7520),'rows':_0x3745d0,'groups':this['_projectGroups'](_0x2c457e,_0x3a7520,_0x3745d0),'frozenFieldCount':typeof _0x3a7520['config'][_0x4c7913(0x1e9)]==_0x4c7913(0x4f7)?_0x3a7520[_0x4c7913(0x294)][_0x4c7913(0x1e9)]:0x0};}[_0x557ecf(0x230)](_0x14cdd7,_0xcfb3f0){const _0x2611e5=_0x557ecf;var _0x235bd9;let _0x394c66=this['_resolveKanbanGroupFieldId'](_0x14cdd7,_0xcfb3f0),_0x1d2ccb=_0x394c66?_0x14cdd7['fields'][_0x394c66]:void 0x0;if(!_0x1d2ccb)return{'type':_0x2611e5(0x49c),'viewType':e[_0x2611e5(0x3b1)][_0x2611e5(0x22e)],'reason':_0x2611e5(0x2ed),'fieldId':_0xcfb3f0[_0x2611e5(0x294)][_0x2611e5(0x1f6)]};let _0x453b04=this[_0x2611e5(0x2c4)](_0x14cdd7,_0xcfb3f0),_0x527a1e=this[_0x2611e5(0x48b)](_0x14cdd7,_0xcfb3f0),_0x23c95d=(_0x235bd9=_0xcfb3f0['config'])==null?{}:_0x235bd9,_0x395fe7=this['_resolveKanbanCardFieldIds'](_0x14cdd7,_0xcfb3f0,_0x1d2ccb['id']),_0x20768e=new Map();return this['_getKanbanConfiguredLanes'](_0x1d2ccb,_0x23c95d)[_0x2611e5(0x4c8)](_0xfc4b5e=>_0x20768e[_0x2611e5(0x47d)](_0xfc4b5e[_0x2611e5(0x1ed)],{..._0xfc4b5e,'recordIds':[]})),_0x453b04[_0x2611e5(0x4c8)](_0x4b4a1a=>{const _0x395284=_0x2611e5;this[_0x395284(0x41c)](_0x1d2ccb,_0x4b4a1a[_0x395284(0x4f9)][_0x1d2ccb['id']])[_0x395284(0x4c8)](_0x375dfc=>{const _0xcb4f91=_0x395284;let _0x41da7d=_0x20768e[_0xcb4f91(0x487)](_0x375dfc),_0x2827c7=_0x41da7d==null?{'key':_0x375dfc,'title':this[_0xcb4f91(0x4aa)](_0x1d2ccb,_0x375dfc,_0x23c95d),'color':this['_kanbanLaneColor'](_0x1d2ccb,_0x375dfc,_0x23c95d),'recordIds':[]}:_0x41da7d;_0x2827c7[_0xcb4f91(0x225)]['push'](_0x4b4a1a[_0xcb4f91(0x2a6)]),_0x20768e[_0xcb4f91(0x47d)](_0x375dfc,_0x2827c7);});}),{'type':e[_0x2611e5(0x3b1)][_0x2611e5(0x22e)],'fields':_0x527a1e,'rows':_0x453b04,'groups':this[_0x2611e5(0x30a)](_0x14cdd7,_0xcfb3f0,_0x453b04),'groupFieldId':_0x1d2ccb['id'],'coverFieldId':this[_0x2611e5(0x4d1)](_0x14cdd7,_0x23c95d),'cardLayout':_0x23c95d[_0x2611e5(0x4e8)]==='compose'?_0x2611e5(0x4b5):_0x2611e5(0x368),'showFieldNames':_0x23c95d[_0x2611e5(0x2df)]!==!0x1,'visibleCardFieldIds':_0x395fe7,'lanes':Array['from'](_0x20768e[_0x2611e5(0x4f9)]())};}[_0x557ecf(0x214)](_0x3480e0,_0x2e62df){const _0x4f90cf=_0x557ecf;var _0x463b6f;let _0x5b20b3=(_0x463b6f=_0x2e62df[_0x4f90cf(0x294)])==null?void 0x0:_0x463b6f[_0x4f90cf(0x1f6)];return _0x5b20b3&&this[_0x4f90cf(0x21d)](_0x3480e0,_0x5b20b3)?_0x5b20b3:this[_0x4f90cf(0x356)](_0x3480e0,_0x3c5678=>this[_0x4f90cf(0x2d1)](_0x3c5678));}[_0x557ecf(0x356)](_0x20315c,_0x4c4f13){const _0x1a0bd5=_0x557ecf;for(let _0x1841a5 of _0x20315c['fieldOrder']){let _0x5cb651=_0x20315c[_0x1a0bd5(0x40d)][_0x1841a5];if(_0x5cb651&&_0x4c4f13(_0x5cb651))return _0x5cb651['id'];}return null;}['_isKanbanGroupField'](_0x2e9f62,_0x117bb1){const _0x740c29=_0x557ecf;let _0x297a11=_0x2e9f62[_0x740c29(0x40d)][_0x117bb1];return this['_isAllowedKanbanGroupField'](_0x297a11);}[_0x557ecf(0x2d1)](_0x375a2a){const _0x99f0cf=_0x557ecf;return!!_0x375a2a&&(_0x375a2a[_0x99f0cf(0x26a)]===e[_0x99f0cf(0x29e)][_0x99f0cf(0x22d)]||_0x375a2a[_0x99f0cf(0x26a)]===e[_0x99f0cf(0x29e)][_0x99f0cf(0x2f7)]||_0x375a2a['type']===e[_0x99f0cf(0x29e)][_0x99f0cf(0x3b6)]||_0x375a2a['type']===e[_0x99f0cf(0x29e)][_0x99f0cf(0x261)]||_0x375a2a[_0x99f0cf(0x26a)]===e['BaseFieldType'][_0x99f0cf(0x3dc)]||_0x375a2a[_0x99f0cf(0x26a)]===e[_0x99f0cf(0x29e)][_0x99f0cf(0x394)]);}[_0x557ecf(0x33b)](_0x547e01){const _0x87341b=_0x557ecf;return _0x547e01[_0x87341b(0x26a)]===e[_0x87341b(0x29e)][_0x87341b(0x22d)]||_0x547e01[_0x87341b(0x26a)]===e[_0x87341b(0x29e)]['MultiSelect'];}[_0x557ecf(0x4d1)](_0x480902,_0x54d8eb){const _0x31339e=_0x557ecf;var _0x3868b5,_0x597b1e,_0x2d8059;let _0x346cf9=(_0x3868b5=(_0x597b1e=_0x54d8eb[_0x31339e(0x31b)])==null?(_0x2d8059=_0x54d8eb['card'])==null?void 0x0:_0x2d8059[_0x31339e(0x31b)]:_0x597b1e)==null?null:_0x3868b5;if(!_0x346cf9)return null;let _0x4836d2=_0x480902[_0x31339e(0x40d)][_0x346cf9];return _0x4836d2&&this[_0x31339e(0x353)](_0x4836d2)[_0x31339e(0x3e7)]?_0x4836d2['id']:null;}['_resolveKanbanCardFieldIds'](_0x440245,_0x5dcf59,_0x5135aa){const _0x47cd35=_0x557ecf;var _0x3f14de,_0x2165b5,_0x3a4849;let _0x565daa=(_0x3f14de=_0x5dcf59[_0x47cd35(0x294)])==null?{}:_0x3f14de,_0x27ccd5=!((_0x2165b5=_0x565daa[_0x47cd35(0x32c)])==null||(_0x2165b5=_0x2165b5['fieldIds'])==null)&&_0x2165b5[_0x47cd35(0x323)]?_0x565daa[_0x47cd35(0x32c)]['fieldIds']:U(_0x440245,[_0x440245[_0x47cd35(0x4a0)],_0x5135aa]),_0x3041d5=(_0x3a4849=_0x565daa[_0x47cd35(0x3b5)])==null?{}:_0x3a4849;return _0x27ccd5[_0x47cd35(0x2fe)](_0x36a282=>{const _0x169339=_0x47cd35;var _0x36874b,_0x3617a9;let _0x2ce56c=_0x440245[_0x169339(0x40d)][_0x36a282];return!(!_0x2ce56c||_0x2ce56c['id']===_0x5135aa||!((_0x36874b=_0x5dcf59[_0x169339(0x3b5)])==null||(_0x36874b=_0x36874b[_0x36a282])==null)&&_0x36874b[_0x169339(0x3fa)]||(_0x3617a9=_0x3041d5[_0x36a282])!=null&&_0x3617a9['hidden']);})['sort']((_0x3773cd,_0x5190e3)=>{const _0xb389d=_0x47cd35;var _0x5a50a6,_0x2f9b8e,_0x455889,_0x17c695;return((_0x5a50a6=(_0x2f9b8e=_0x3041d5[_0x3773cd])==null?void 0x0:_0x2f9b8e[_0xb389d(0x293)])==null?_0x27ccd5[_0xb389d(0x2e2)](_0x3773cd):_0x5a50a6)-((_0x455889=(_0x17c695=_0x3041d5[_0x5190e3])==null?void 0x0:_0x17c695[_0xb389d(0x293)])==null?_0x27ccd5[_0xb389d(0x2e2)](_0x5190e3):_0x455889);});}['_getKanbanConfiguredLanes'](_0x309d31,_0x2a33a2){const _0x3dddd8=_0x557ecf;var _0x324767,_0x3bce38;let _0x233887=(Array[_0x3dddd8(0x2e1)]((_0x324767=_0x309d31[_0x3dddd8(0x294)])==null?void 0x0:_0x324767[_0x3dddd8(0x48c)])?_0x309d31[_0x3dddd8(0x294)]['options']:[])[_0x3dddd8(0x454)]((_0x156779,_0x182eee)=>{const _0x411d34=_0x3dddd8;var _0xb9a9c2,_0x2c7ee8,_0x215e59,_0x413a8d;if(_0x156779==null)return[];let _0x2c6dea=typeof _0x156779==_0x411d34(0x39d)?{'id':_0x156779,'name':_0x156779,'color':void 0x0}:_0x156779,_0x1fba19=String((_0xb9a9c2=(_0x2c7ee8=_0x2c6dea['id'])==null?_0x2c6dea[_0x411d34(0x3c4)]:_0x2c7ee8)==null?_0x411d34(0x27b)+(_0x182eee+0x1):_0xb9a9c2);return[{'key':_0x1fba19,'title':String((_0x215e59=(_0x413a8d=_0x2c6dea['name'])==null?_0x2c6dea['id']:_0x413a8d)==null?_0x1fba19:_0x215e59),'color':this[_0x411d34(0x2f3)](_0x309d31,_0x1fba19,_0x2a33a2)}];});return Object[_0x3dddd8(0x458)]((_0x3bce38=_0x2a33a2[_0x3dddd8(0x4d6)])==null?{}:_0x3bce38)[_0x3dddd8(0x4c8)](([_0x356353,_0x1a2bd1])=>{const _0x445472=_0x3dddd8;var _0x4c0c69;_0x233887['some'](_0x36fa0b=>_0x36fa0b[_0x445472(0x1ed)]===_0x356353)||_0x233887[_0x445472(0x43e)]({'key':_0x356353,'title':this[_0x445472(0x33b)](_0x309d31)?(_0x4c0c69=_0x1a2bd1[_0x445472(0x2b8)])==null?this[_0x445472(0x4aa)](_0x309d31,_0x356353,_0x2a33a2):_0x4c0c69:this[_0x445472(0x4aa)](_0x309d31,_0x356353,_0x2a33a2),'color':this[_0x445472(0x2f3)](_0x309d31,_0x356353,_0x2a33a2)});}),_0x233887;}[_0x557ecf(0x41c)](_0x313863,_0xc22989){const _0x39598c=_0x557ecf;let _0x588878=_0x1a480e=>{const _0x10a075=_0x42d0;var _0x11e023,_0x5f278c;let _0x3d40ef=_0x1a480e==null?'':String(_0x1a480e);return!_0x3d40ef||!this[_0x10a075(0x33b)](_0x313863)||(_0x11e023=(_0x5f278c=q(_0x313863,_0x3d40ef))==null?void 0x0:_0x5f278c['id'])==null?_0x3d40ef:_0x11e023;};if(Array['isArray'](_0xc22989)){let _0x4d19ab=_0xc22989[_0x39598c(0x274)](_0x588878)[_0x39598c(0x2fe)](_0xf26091=>_0xf26091!=='');return _0x4d19ab[_0x39598c(0x323)]?_0x4d19ab:[''];}return[_0x588878(_0xc22989)];}['_kanbanLaneTitle'](_0x9e26a3,_0x492b3c,_0x342414){const _0x433c81=_0x557ecf;var _0x2d45e2;if(!_0x492b3c)return'Uncategorized';let _0x422d75=q(_0x9e26a3,_0x492b3c);return(_0x2d45e2=_0x422d75==null?void 0x0:_0x422d75[_0x433c81(0x3c4)])==null?_0x492b3c:_0x2d45e2;}[_0x557ecf(0x2f3)](_0x4561c4,_0x87dcd8,_0x3a3653){const _0x414c3d=_0x557ecf;var _0x352600;if(this[_0x414c3d(0x33b)](_0x4561c4))return(_0x352600=q(_0x4561c4,_0x87dcd8))==null?void 0x0:_0x352600[_0x414c3d(0x256)];}[_0x557ecf(0x20e)](_0x1e441c,_0x5696bf){const _0x21e6f4=_0x557ecf;var _0x3a9a76;let _0x488d27=this[_0x21e6f4(0x4a6)](_0x1e441c,(_0x3a9a76=_0x5696bf[_0x21e6f4(0x294)])==null?{}:_0x3a9a76),_0x3a0120=_0x1e441c[_0x21e6f4(0x40d)][_0x488d27['startDateFieldId']];if(!_0x3a0120||_0x3a0120['type']!==e[_0x21e6f4(0x29e)][_0x21e6f4(0x272)]||_0x3a0120[_0x21e6f4(0x2b9)]===!0x0||_0x3a0120[_0x21e6f4(0x324)]===!0x0||!this['_capabilities'](_0x3a0120)[_0x21e6f4(0x25e)])return{'type':_0x21e6f4(0x49c),'viewType':e[_0x21e6f4(0x3b1)][_0x21e6f4(0x29b)],'reason':_0x21e6f4(0x502),'fieldId':_0x488d27[_0x21e6f4(0x2f6)]};let _0x186882=_0x488d27['endDateFieldId']?_0x1e441c[_0x21e6f4(0x40d)][_0x488d27[_0x21e6f4(0x40f)]]:void 0x0,_0x841e0c=this[_0x21e6f4(0x2c4)](_0x1e441c,_0x5696bf);return{'type':e[_0x21e6f4(0x3b1)]['Calendar'],'config':_0x488d27,'fields':this[_0x21e6f4(0x48b)](_0x1e441c,_0x5696bf),'rows':_0x841e0c,'groups':this[_0x21e6f4(0x30a)](_0x1e441c,_0x5696bf,_0x841e0c),'events':_0x841e0c[_0x21e6f4(0x454)](_0x5a34f1=>{const _0xae2f03=_0x21e6f4;let _0xd2e1c9=D(_0x5a34f1['values'][_0x488d27[_0xae2f03(0x2f6)]]);if(!Number['isFinite'](_0xd2e1c9))return[];let _0x513e10=_0x5a34f1['values'][_0x488d27[_0xae2f03(0x2f6)]],_0x2c3648=_0x488d27['endDateFieldId']==null?void 0x0:_0x5a34f1[_0xae2f03(0x4f9)][_0x488d27[_0xae2f03(0x40f)]],_0x48258c=_0x488d27['endDateFieldId']==null?void 0x0:D(_0x2c3648),_0x2bc427=Number[_0xae2f03(0x3fd)](_0x48258c)?_0x48258c:void 0x0;return[{'recordId':_0x5a34f1[_0xae2f03(0x2a6)],'title':this[_0xae2f03(0x367)](_0x1e441c,_0x5a34f1,_0x488d27[_0xae2f03(0x43a)]),'start':_0xd2e1c9,'end':_0x2bc427,'color':this['_calendarEventColor'](_0x1e441c,_0x5a34f1,_0x488d27),'startMs':_0xd2e1c9,'endMs':_0x2bc427,'allDay':this['_isAllDayCalendarEvent'](_0x3a0120,_0x186882,_0x513e10,_0x2c3648),'fieldValues':_0x5a34f1[_0xae2f03(0x4f9)]}];})};}[_0x557ecf(0x4a6)](_0x5d3b54,_0x18d21a){const _0x90c37b=_0x557ecf;var _0x5bb4f5,_0xda5922;let _0x4456db=this['_resolveCalendarDateFieldId'](_0x5d3b54,_0x18d21a[_0x90c37b(0x2f6)]),_0x2c04fc=_0x18d21a[_0x90c37b(0x40f)]&&this['_isCalendarDateField'](_0x5d3b54,_0x18d21a['endDateFieldId'])?_0x18d21a[_0x90c37b(0x40f)]:(_0x5bb4f5=this['_findCalendarDateFieldId'](_0x5d3b54,_0x4456db))==null?void 0x0:_0x5bb4f5,_0x4c3d33=_0x18d21a['titleFieldId']&&_0x5d3b54[_0x90c37b(0x40d)][_0x18d21a[_0x90c37b(0x43a)]]?_0x18d21a[_0x90c37b(0x43a)]:_0x5d3b54[_0x90c37b(0x4a0)],_0x278662=_0x18d21a[_0x90c37b(0x37e)]===_0x90c37b(0x442)||_0x18d21a[_0x90c37b(0x37e)]===_0x90c37b(0x40b)?_0x18d21a['mode']:'month',_0x474acc=_0x18d21a[_0x90c37b(0x4fe)]===_0x90c37b(0x475)||_0x18d21a[_0x90c37b(0x4fe)]===_0x90c37b(0x227)?_0x18d21a[_0x90c37b(0x4fe)]:_0x90c37b(0x4be),_0x243bcc=typeof _0x18d21a[_0x90c37b(0x311)]==_0x90c37b(0x39d)&&_0x18d21a[_0x90c37b(0x311)][_0x90c37b(0x354)]()?_0x18d21a['timeZone']:_0x90c37b(0x4cd),_0x42ce15=this[_0x90c37b(0x400)](_0x5d3b54,_0x18d21a);return{..._0x18d21a,'startDateFieldId':_0x4456db,'endDateFieldId':_0x2c04fc,'titleFieldId':_0x4c3d33,'mode':_0x278662,'timeslotSize':_0x474acc,'timeZone':_0x243bcc,'displayColor':_0x42ce15,'fieldSettings':Object['fromEntries'](Object[_0x90c37b(0x458)]((_0xda5922=_0x18d21a['fieldSettings'])==null?{}:_0xda5922)[_0x90c37b(0x2fe)](([_0x1b3dfa])=>!!_0x5d3b54[_0x90c37b(0x40d)][_0x1b3dfa]))};}[_0x557ecf(0x2e9)](_0x4ffc01,_0x470244){const _0x4a1473=_0x557ecf;var _0x100591,_0x4687a5;return _0x470244&&this[_0x4a1473(0x329)](_0x4ffc01,_0x470244)?_0x470244:(_0x100591=(_0x4687a5=this[_0x4a1473(0x2c3)](_0x4ffc01))==null?_0x470244:_0x4687a5)==null?'':_0x100591;}[_0x557ecf(0x2c3)](_0x19f74b,_0x4a0948){const _0x5a2d13=_0x557ecf;for(let _0x58c28c of _0x19f74b[_0x5a2d13(0x3e0)])if(_0x58c28c!==_0x4a0948&&this[_0x5a2d13(0x329)](_0x19f74b,_0x58c28c))return _0x58c28c;return null;}[_0x557ecf(0x329)](_0x36fef8,_0x202e4d){const _0x319907=_0x557ecf;let _0xbcda5a=_0x36fef8[_0x319907(0x40d)][_0x202e4d];return!!_0xbcda5a&&_0xbcda5a[_0x319907(0x26a)]===e['BaseFieldType'][_0x319907(0x272)]&&_0xbcda5a['readonly']!==!0x0&&_0xbcda5a[_0x319907(0x324)]!==!0x0&&this[_0x319907(0x353)](_0xbcda5a)[_0x319907(0x25e)];}['_normalizeCalendarDisplayColor'](_0x252067,_0x11df98){const _0x6d3160=_0x557ecf;let _0x23469b=_0x11df98[_0x6d3160(0x4da)];if((_0x23469b==null?void 0x0:_0x23469b[_0x6d3160(0x26a)])===_0x6d3160(0x270)){let _0x2a626f=_0x252067[_0x6d3160(0x40d)][_0x23469b[_0x6d3160(0x3da)]];if(_0x2a626f&&_0x2a626f[_0x6d3160(0x26a)]===e[_0x6d3160(0x29e)]['SingleSelect'])return _0x23469b;}if((_0x23469b==null?void 0x0:_0x23469b['type'])===_0x6d3160(0x268)&&typeof _0x23469b[_0x6d3160(0x256)]==_0x6d3160(0x39d)&&_0x23469b[_0x6d3160(0x256)]['trim']())return{'type':_0x6d3160(0x268),'color':_0x23469b[_0x6d3160(0x256)]};if(_0x11df98[_0x6d3160(0x347)]){let _0x4720ac=_0x252067['fields'][_0x11df98[_0x6d3160(0x347)]];if(_0x4720ac&&_0x4720ac[_0x6d3160(0x26a)]===e[_0x6d3160(0x29e)][_0x6d3160(0x22d)])return{'type':_0x6d3160(0x270),'fieldId':_0x11df98[_0x6d3160(0x347)]};}return{'type':'custom','color':'#3b82f6'};}[_0x557ecf(0x23b)](_0x1364d4,_0x290a2b,_0x95674){const _0x3cfc08=_0x557ecf;let _0x24cd96=_0x95674['displayColor'];if((_0x24cd96==null?void 0x0:_0x24cd96[_0x3cfc08(0x26a)])===_0x3cfc08(0x270)){var _0xb5f65c;let _0x15cf81=_0x1364d4[_0x3cfc08(0x40d)][_0x24cd96[_0x3cfc08(0x3da)]];if(!_0x15cf81)return;let _0x5564b7=_0x290a2b[_0x3cfc08(0x4f9)][_0x24cd96[_0x3cfc08(0x3da)]],_0x476e9c=Array[_0x3cfc08(0x2e1)](_0x5564b7)?_0x5564b7[0x0]:_0x5564b7;return _0x476e9c==null||(_0xb5f65c=q(_0x15cf81,String(_0x476e9c)))==null?void 0x0:_0xb5f65c[_0x3cfc08(0x256)];}if((_0x24cd96==null?void 0x0:_0x24cd96[_0x3cfc08(0x26a)])==='custom')return _0x24cd96[_0x3cfc08(0x256)];}[_0x557ecf(0x4e0)](_0x168d9f,_0x338bbe,_0x473ba8,_0x325b6c){const _0x2d45b2=_0x557ecf;var _0x4c45d4,_0x9bcc6d;let _0xb90f5a=((_0x4c45d4=_0x168d9f[_0x2d45b2(0x294)])==null?void 0x0:_0x4c45d4[_0x2d45b2(0x2c7)])===!0x0,_0x25bc65=(_0x338bbe==null||(_0x9bcc6d=_0x338bbe['config'])==null?void 0x0:_0x9bcc6d['includeTime'])===!0x0;return!_0xb90f5a&&!_0x25bc65;}['_isAllDayGanttDateRange'](_0x4ee333,_0x323e84){const _0x279697=_0x557ecf;var _0x1d8cd4,_0x469fb6;let _0x59c94e=((_0x1d8cd4=_0x4ee333[_0x279697(0x294)])==null?void 0x0:_0x1d8cd4['includeTime'])===!0x0,_0x652f54=((_0x469fb6=_0x323e84[_0x279697(0x294)])==null?void 0x0:_0x469fb6[_0x279697(0x2c7)])===!0x0;return!_0x59c94e&&!_0x652f54;}[_0x557ecf(0x35f)](_0x5f542,_0x26ac53){const _0x13a133=_0x557ecf;let _0x63b2c7=this[_0x13a133(0x1f3)](_0x5f542,_0x26ac53[_0x13a133(0x294)]),_0x36ef9e=_0x5f542[_0x13a133(0x40d)][_0x63b2c7[_0x13a133(0x2f6)]];if(!_0x36ef9e||_0x36ef9e[_0x13a133(0x26a)]!==e[_0x13a133(0x29e)]['Date']||_0x36ef9e['readonly']===!0x0||_0x36ef9e[_0x13a133(0x324)]===!0x0||!this[_0x13a133(0x353)](_0x36ef9e)[_0x13a133(0x3ca)])return{'type':_0x13a133(0x49c),'viewType':e['BaseViewType'][_0x13a133(0x4e9)],'reason':_0x13a133(0x3a3),'fieldId':_0x63b2c7[_0x13a133(0x2f6)]};let _0x50d0a7=_0x5f542['fields'][_0x63b2c7['endDateFieldId']];if(!_0x50d0a7||_0x50d0a7['type']!==e[_0x13a133(0x29e)][_0x13a133(0x272)]||_0x50d0a7[_0x13a133(0x2b9)]===!0x0||_0x50d0a7[_0x13a133(0x324)]===!0x0||!this[_0x13a133(0x353)](_0x50d0a7)[_0x13a133(0x42f)])return{'type':_0x13a133(0x49c),'viewType':e['BaseViewType']['Gantt'],'reason':_0x13a133(0x1de),'fieldId':_0x63b2c7[_0x13a133(0x40f)]};let _0x45fbca=this['_isAllDayGanttDateRange'](_0x36ef9e,_0x50d0a7),_0x25d914=this[_0x13a133(0x2c4)](_0x5f542,_0x26ac53),_0x14dd5d=_0x25d914[_0x13a133(0x454)](_0x3b8e63=>{const _0x56241f=_0x13a133;var _0x2cca8b;let _0x4bb81f=D(_0x3b8e63[_0x56241f(0x4f9)][_0x63b2c7[_0x56241f(0x2f6)]]),_0x16674e=D(_0x3b8e63[_0x56241f(0x4f9)][_0x63b2c7[_0x56241f(0x40f)]]);if(!Number[_0x56241f(0x3fd)](_0x4bb81f)||!Number[_0x56241f(0x3fd)](_0x16674e))return[];let _0x44176b=Math[_0x56241f(0x2c2)](_0x4bb81f,_0x16674e),_0x3f724f=Math['max'](_0x4bb81f,_0x16674e),_0xf5d6fa=_0x63b2c7[_0x56241f(0x38d)]==null?void 0x0:Number(_0x3b8e63[_0x56241f(0x4f9)][_0x63b2c7[_0x56241f(0x38d)]]);return[{'recordId':_0x3b8e63[_0x56241f(0x2a6)],'title':this[_0x56241f(0x367)](_0x5f542,_0x3b8e63,_0x63b2c7['titleFieldId']),'start':_0x44176b,'end':_0x3f724f,'color':this[_0x56241f(0x41f)](_0x5f542,_0x3b8e63,_0x63b2c7),'progress':Number[_0x56241f(0x3fd)](_0xf5d6fa)?_0xf5d6fa:void 0x0,'workingDayCount':_0x63b2c7[_0x56241f(0x389)]?en(_0x44176b,_0x3f724f,_0x63b2c7[_0x56241f(0x26f)]):void 0x0,'dependencyRecordIds':this[_0x56241f(0x494)](_0x3b8e63[_0x56241f(0x4f9)][(_0x2cca8b=_0x63b2c7[_0x56241f(0x2eb)])==null?'':_0x2cca8b])}];}),_0x4f3e2f=_0x14dd5d[_0x13a133(0x323)]?G(Math[_0x13a133(0x2c2)](..._0x14dd5d['map'](_0x26c19c=>_0x26c19c[_0x13a133(0x448)]))-0x5a*W):G(Date[_0x13a133(0x2bc)]()-0x5a*W),_0x7e32b=_0x14dd5d[_0x13a133(0x323)]?G(Math['max'](..._0x14dd5d[_0x13a133(0x274)](_0x2d56e0=>_0x2d56e0['end']))+0x5b*W):G(Date[_0x13a133(0x2bc)]()+0x5b*W),_0x4971c9=Kt(_0x63b2c7[_0x13a133(0x416)],_0x4f3e2f,_0x7e32b,_0x63b2c7[_0x13a133(0x389)]?_0x63b2c7[_0x13a133(0x26f)]:void 0x0);return{'type':e[_0x13a133(0x3b1)][_0x13a133(0x4e9)],'fields':this['_projectFields'](_0x5f542,{..._0x26ac53,'config':_0x63b2c7}),'rows':_0x25d914,'groups':this[_0x13a133(0x30a)](_0x5f542,_0x26ac53,_0x25d914),'config':_0x63b2c7,'dateRangeAllDay':_0x45fbca,'timeline':{'scale':_0x63b2c7['scale'],'start':_0x4f3e2f,'end':_0x7e32b,'unitWidth':_0x4971c9[_0x13a133(0x34f)],'majorHeaders':_0x4971c9[_0x13a133(0x37f)],'columns':_0x4971c9[_0x13a133(0x1f7)]},'bars':_0x14dd5d};}[_0x557ecf(0x1f3)](_0x2d33be,_0x2334f7){const _0x5ef65c=_0x557ecf;var _0x50a6bc;let _0x16011b=this[_0x5ef65c(0x34b)](_0x2d33be,_0x2334f7[_0x5ef65c(0x2f6)],'start'),_0x217975=this[_0x5ef65c(0x34b)](_0x2d33be,_0x2334f7['endDateFieldId'],_0x5ef65c(0x3bd))||_0x16011b,_0x25e854=_0x2334f7['titleFieldId']&&_0x2d33be[_0x5ef65c(0x40d)][_0x2334f7['titleFieldId']]?_0x2334f7['titleFieldId']:_0x2d33be['primaryFieldId'],_0x2979a8=_0x2334f7[_0x5ef65c(0x416)]===_0x5ef65c(0x40b)||_0x2334f7['scale']===_0x5ef65c(0x3b0)||_0x2334f7[_0x5ef65c(0x416)]===_0x5ef65c(0x3f5)?_0x2334f7[_0x5ef65c(0x416)]:_0x5ef65c(0x41b),_0x4bceea=Gt(_0x2334f7['workingDays']);return{..._0x2334f7,'startDateFieldId':_0x16011b,'endDateFieldId':_0x217975,'titleFieldId':_0x25e854,'scale':_0x2979a8,'leftPaneWidth':typeof _0x2334f7[_0x5ef65c(0x500)]=='number'?_0x2334f7[_0x5ef65c(0x500)]:void 0x0,'leftPaneCollapsed':_0x2334f7[_0x5ef65c(0x4dc)]===!0x0,'showTodayLine':_0x2334f7[_0x5ef65c(0x23d)]!==!0x1,'displayColor':this['_normalizeGanttDisplayColor'](_0x2d33be,_0x2334f7),'fieldSettings':Object[_0x5ef65c(0x4bd)](Object[_0x5ef65c(0x458)]((_0x50a6bc=_0x2334f7['fieldSettings'])==null?{}:_0x50a6bc)['filter'](([_0x9c1a12])=>!!_0x2d33be['fields'][_0x9c1a12])),'workingDaysOnly':_0x2334f7[_0x5ef65c(0x389)]===!0x0,'workingDays':_0x4bceea};}[_0x557ecf(0x34b)](_0x4f26f6,_0x204624,_0xfdf611){const _0x42cc7d=_0x557ecf;if(_0x204624&&this['_isGanttDateField'](_0x4f26f6,_0x204624,_0xfdf611)||_0x204624)return _0x204624;for(let _0x19f94b of _0x4f26f6[_0x42cc7d(0x3e0)])if(this['_isGanttDateField'](_0x4f26f6,_0x19f94b,_0xfdf611))return _0x19f94b;return _0x204624==null?'':_0x204624;}[_0x557ecf(0x266)](_0x4acce0,_0x54b541,_0x1597e3){const _0x2446f5=_0x557ecf;let _0x406537=_0x4acce0['fields'][_0x54b541];if(!_0x406537||_0x406537[_0x2446f5(0x26a)]!==e['BaseFieldType'][_0x2446f5(0x272)]||_0x406537[_0x2446f5(0x2b9)]===!0x0||_0x406537[_0x2446f5(0x324)]===!0x0)return!0x1;let _0x468055=this['_capabilities'](_0x406537);return _0x1597e3===_0x2446f5(0x448)?_0x468055[_0x2446f5(0x3ca)]:_0x468055[_0x2446f5(0x42f)];}[_0x557ecf(0x346)](_0x456f87,_0x591756){const _0x245ef1=_0x557ecf;let _0x1c4512=_0x591756['displayColor'];if((_0x1c4512==null?void 0x0:_0x1c4512['type'])==='selectField'){let _0x5928c1=_0x456f87[_0x245ef1(0x40d)][_0x1c4512[_0x245ef1(0x3da)]];if(_0x5928c1&&_0x5928c1['type']===e[_0x245ef1(0x29e)][_0x245ef1(0x22d)])return _0x1c4512;}return(_0x1c4512==null?void 0x0:_0x1c4512[_0x245ef1(0x26a)])===_0x245ef1(0x415)&&Array[_0x245ef1(0x2e1)](_0x1c4512['rules'])?{'type':'conditional','rules':_0x1c4512[_0x245ef1(0x3cc)][_0x245ef1(0x2fe)](_0x31ea16=>!!_0x456f87['fields'][_0x31ea16[_0x245ef1(0x3da)]])}:(_0x1c4512==null?void 0x0:_0x1c4512[_0x245ef1(0x26a)])===_0x245ef1(0x268)&&typeof _0x1c4512[_0x245ef1(0x256)]==_0x245ef1(0x39d)&&_0x1c4512['color'][_0x245ef1(0x354)]()?{'type':_0x245ef1(0x268),'color':_0x1c4512[_0x245ef1(0x256)]}:{'type':_0x245ef1(0x268),'color':_0x245ef1(0x3ce)};}[_0x557ecf(0x41f)](_0x439d5d,_0x466b9c,_0x4b81ff){const _0x4aa7f2=_0x557ecf;let _0x2e37cf=_0x4b81ff['displayColor'];if((_0x2e37cf==null?void 0x0:_0x2e37cf[_0x4aa7f2(0x26a)])===_0x4aa7f2(0x415)){let _0x54a9bc=_0x2e37cf[_0x4aa7f2(0x3cc)]['find'](_0xdc6829=>this['_matchesGanttColorRule'](_0x439d5d,_0x466b9c,_0xdc6829));if(_0x54a9bc)return _0x54a9bc[_0x4aa7f2(0x256)];}if((_0x2e37cf==null?void 0x0:_0x2e37cf[_0x4aa7f2(0x26a)])==='selectField'){let _0x21fe55=_0x439d5d['fields'][_0x2e37cf[_0x4aa7f2(0x3da)]];if(_0x21fe55){var _0x20e373;let _0x16ec9a=_0x466b9c[_0x4aa7f2(0x4f9)][_0x2e37cf[_0x4aa7f2(0x3da)]],_0x2f63b4=Array[_0x4aa7f2(0x2e1)](_0x16ec9a)?_0x16ec9a[0x0]:_0x16ec9a,_0x22a313=_0x2f63b4==null||(_0x20e373=q(_0x21fe55,String(_0x2f63b4)))==null?void 0x0:_0x20e373['color'];if(_0x22a313)return _0x22a313;}}return(_0x2e37cf==null?void 0x0:_0x2e37cf[_0x4aa7f2(0x26a)])==='custom'?_0x2e37cf[_0x4aa7f2(0x256)]:_0x4aa7f2(0x3ce);}[_0x557ecf(0x4d0)](_0xfed25a,_0x23e263,_0x48e1d0){const _0x22573f=_0x557ecf;let _0x16e313=_0xfed25a[_0x22573f(0x40d)][_0x48e1d0[_0x22573f(0x3da)]];return _0x16e313?Ie(_0x23e263['values'][_0x16e313['id']],_0x48e1d0[_0x22573f(0x340)],_0x48e1d0[_0x22573f(0x414)],_0x16e313,{'dateMode':_0x48e1d0[_0x22573f(0x287)]}):!0x1;}[_0x557ecf(0x363)](_0x25f008,_0x325f23){const _0xe89c34=_0x557ecf;var _0x54bfc2,_0x4522c9,_0x1cdef9;let _0x442600=this['_projectRows'](_0x25f008,_0x325f23),_0xf2329b=this['_normalizeGalleryConfig'](_0x25f008,(_0x54bfc2=_0x325f23[_0xe89c34(0x294)])==null?{}:_0x54bfc2),_0x1a72a9=this[_0xe89c34(0x48b)](_0x25f008,_0x325f23);return{'type':e[_0xe89c34(0x3b1)][_0xe89c34(0x212)],'fields':_0x1a72a9,'rows':_0x442600,'groups':this[_0xe89c34(0x30a)](_0x25f008,_0x325f23,_0x442600),'coverFieldId':_0xf2329b[_0xe89c34(0x31b)],'cardLayout':(_0x4522c9=_0xf2329b['cardLayout'])==null?_0xe89c34(0x368):_0x4522c9,'showFieldNames':_0xf2329b['showFieldNames']!==!0x1,'visibleCardFieldIds':this[_0xe89c34(0x46c)](_0x25f008,_0x325f23,_0xf2329b),'cardSize':(_0x1cdef9=_0xf2329b[_0xe89c34(0x219)])==null?'medium':_0x1cdef9,'cards':_0x442600[_0xe89c34(0x274)](_0x1fa4c8=>({'recordId':_0x1fa4c8[_0xe89c34(0x2a6)],'title':this[_0xe89c34(0x367)](_0x25f008,_0x1fa4c8,_0xf2329b[_0xe89c34(0x32c)][_0xe89c34(0x43a)]),'values':_0x1fa4c8[_0xe89c34(0x4f9)]}))};}[_0x557ecf(0x444)](_0x40b062,_0x340d6e){const _0x4e4bcb=_0x557ecf;var _0x538c1a,_0x3ce3dd;let _0x34566c=(_0x538c1a=_0x340d6e['card'])==null?{'fieldIds':[]}:_0x538c1a,_0x4abe30=_0x34566c['titleFieldId']&&_0x40b062['fields'][_0x34566c[_0x4e4bcb(0x43a)]]?_0x34566c['titleFieldId']:kt(_0x40b062),_0x2c1604=this[_0x4e4bcb(0x216)](_0x40b062,_0x340d6e),_0x165a92=_0x340d6e[_0x4e4bcb(0x219)]===_0x4e4bcb(0x4d8)||_0x340d6e['cardSize']==='large'?_0x340d6e[_0x4e4bcb(0x219)]:_0x4e4bcb(0x4be);return{..._0x340d6e,'coverFieldId':_0x2c1604,'cardLayout':_0x340d6e[_0x4e4bcb(0x4e8)]===_0x4e4bcb(0x4b5)?_0x4e4bcb(0x4b5):_0x4e4bcb(0x368),'showFieldNames':_0x340d6e[_0x4e4bcb(0x2df)]!==!0x1,'fieldSettings':Object[_0x4e4bcb(0x4bd)](Object[_0x4e4bcb(0x458)]((_0x3ce3dd=_0x340d6e['fieldSettings'])==null?{}:_0x3ce3dd)[_0x4e4bcb(0x2fe)](([_0x256c7e])=>!!_0x40b062[_0x4e4bcb(0x40d)][_0x256c7e])),'card':{..._0x34566c,'titleFieldId':_0x4abe30,'coverFieldId':_0x2c1604,'fieldIds':Array['isArray'](_0x34566c[_0x4e4bcb(0x22f)])?_0x34566c['fieldIds']:[]},'cardSize':_0x165a92};}[_0x557ecf(0x216)](_0x4ea8be,_0x55e24c){const _0x5e88b5=_0x557ecf;var _0x33a00f,_0x313006,_0x5e9329;let _0x5f8db4=(_0x33a00f=(_0x313006=_0x55e24c[_0x5e88b5(0x31b)])==null?(_0x5e9329=_0x55e24c[_0x5e88b5(0x32c)])==null?void 0x0:_0x5e9329['coverFieldId']:_0x313006)==null?null:_0x33a00f;if(!_0x5f8db4)return null;let _0x13a1a6=_0x4ea8be[_0x5e88b5(0x40d)][_0x5f8db4];return _0x13a1a6&&this[_0x5e88b5(0x353)](_0x13a1a6)[_0x5e88b5(0x3e7)]?_0x13a1a6['id']:null;}[_0x557ecf(0x46c)](_0x4a940b,_0xc6a74b,_0x199c68){const _0x32f606=_0x557ecf;var _0x1ed33c,_0x4be666,_0x3ef26f,_0x1f26c5,_0xed843e,_0x3c5e82,_0x129733;let _0x5c7f83=(_0x1ed33c=_0x199c68['fieldSettings'])==null?{}:_0x1ed33c,_0x263374=(_0x4be666=(_0x3ef26f=_0x199c68[_0x32f606(0x32c)])==null?void 0x0:_0x3ef26f[_0x32f606(0x43a)])==null?kt(_0x4a940b):_0x4be666,_0x1825e6=(_0x1f26c5=(_0xed843e=_0x199c68[_0x32f606(0x31b)])==null?(_0x3c5e82=_0x199c68[_0x32f606(0x32c)])==null?void 0x0:_0x3c5e82[_0x32f606(0x31b)]:_0xed843e)==null?null:_0x1f26c5,_0x73376f=!((_0x129733=_0x199c68[_0x32f606(0x32c)])==null||(_0x129733=_0x129733[_0x32f606(0x22f)])==null)&&_0x129733[_0x32f606(0x323)]?_0x199c68[_0x32f606(0x32c)][_0x32f606(0x22f)]:U(_0x4a940b,[_0x263374,_0x1825e6,_0x4a940b[_0x32f606(0x4a0)]]);return _0x73376f[_0x32f606(0x2fe)](_0x276626=>{const _0x2b4ab7=_0x32f606;var _0x48009c,_0x26526e;let _0xdd66c4=_0x4a940b[_0x2b4ab7(0x40d)][_0x276626];return!(!_0xdd66c4||_0xdd66c4['id']===_0x263374||_0xdd66c4['id']===_0x1825e6||!((_0x48009c=_0xc6a74b[_0x2b4ab7(0x3b5)])==null||(_0x48009c=_0x48009c[_0x276626])==null)&&_0x48009c[_0x2b4ab7(0x3fa)]||(_0x26526e=_0x5c7f83[_0x276626])!=null&&_0x26526e['hidden']);})[_0x32f606(0x496)]((_0x16b20e,_0x2753a1)=>{const _0x7b72a1=_0x32f606;var _0x4b8eae,_0x5698d0,_0x58fcdd,_0x51513e;return((_0x4b8eae=(_0x5698d0=_0x5c7f83[_0x16b20e])==null?void 0x0:_0x5698d0['order'])==null?_0x73376f[_0x7b72a1(0x2e2)](_0x16b20e):_0x4b8eae)-((_0x58fcdd=(_0x51513e=_0x5c7f83[_0x2753a1])==null?void 0x0:_0x51513e[_0x7b72a1(0x293)])==null?_0x73376f[_0x7b72a1(0x2e2)](_0x2753a1):_0x58fcdd);});}[_0x557ecf(0x48b)](_0x2b7e96,_0x2bfb94){const _0x6c365e=_0x557ecf;var _0x5b4008;return((_0x5b4008=_0x2bfb94['fieldOrder'])!=null&&_0x5b4008['length']?_0x2bfb94[_0x6c365e(0x3e0)]:_0x2b7e96[_0x6c365e(0x3e0)])['flatMap'](_0x578cd5=>{const _0x9a2fdc=_0x6c365e;var _0x1562d1,_0x178334;let _0x1afe40=_0x2b7e96[_0x9a2fdc(0x40d)][_0x578cd5],_0x2fe347=(_0x1562d1=(_0x178334=_0x2bfb94[_0x9a2fdc(0x3b5)])==null?void 0x0:_0x178334[_0x578cd5])==null?{}:_0x1562d1;return!_0x1afe40||_0x2fe347['hidden']?[]:[{'id':_0x1afe40['id'],'name':_0x1afe40[_0x9a2fdc(0x3c4)],'description':_0x1afe40[_0x9a2fdc(0x32a)],'type':_0x1afe40[_0x9a2fdc(0x26a)],'config':_0x1afe40[_0x9a2fdc(0x294)],'width':_0x2fe347['width'],'setting':_0x2fe347}];});}[_0x557ecf(0x2c4)](_0x9790f0,_0x1884a0){const _0x14e977=_0x557ecf;var _0x30bbdc,_0x37aa5b,_0xdba977;return o(_0x14e977(0x255),()=>{const _0x2b91a1=_0x14e977;var _0x447589,_0x16500d,_0x26902c,_0x200969;let _0x535c07=this['_projectTableRows'](_0x9790f0),_0x7958cd=this[_0x2b91a1(0x39b)](_0x9790f0['id'],_0x1884a0),_0x1392d3=this[_0x2b91a1(0x407)](_0x9790f0['id']),_0xcfc1e5=this['_projectedViewRowsCache'][_0x2b91a1(0x487)](_0x7958cd);if(_0xcfc1e5&&_0xcfc1e5[_0x2b91a1(0x3a6)]===this[_0x2b91a1(0x205)]&&_0xcfc1e5['tableRevision']===this[_0x2b91a1(0x288)](_0x9790f0['id'])){if(_0xcfc1e5[_0x2b91a1(0x2b6)]===_0x1392d3&&_0xcfc1e5[_0x2b91a1(0x1ee)]===_0x535c07)return _0xcfc1e5[_0x2b91a1(0x2fb)];if(_0xcfc1e5[_0x2b91a1(0x2b6)]!==_0x1392d3&&!this['_cellInvalidationsTouchFields'](_0x9790f0['id'],_0xcfc1e5[_0x2b91a1(0x2b6)],_0x1392d3,this['_filterSortFieldIds'](_0x1884a0))){let _0x509d8b=_0xcfc1e5['rows']===_0xcfc1e5['baseRows']?_0x535c07:this[_0x2b91a1(0x48a)](_0xcfc1e5[_0x2b91a1(0x2fb)],_0x535c07);if(_0x509d8b)return this[_0x2b91a1(0x3c8)][_0x2b91a1(0x47d)](_0x7958cd,{..._0xcfc1e5,'rows':_0x509d8b,'baseRows':_0x535c07,'cellRevision':_0x1392d3}),_0x509d8b;}}let _0x53f2b6=o(_0x2b91a1(0x2b3),()=>this[_0x2b91a1(0x2a7)](_0x9790f0,_0x1884a0,this[_0x2b91a1(0x28a)](_0x9790f0,_0x1884a0,_0x535c07)),{'tableId':_0x9790f0['id'],'viewId':_0x1884a0==null?void 0x0:_0x1884a0['id'],'viewType':_0x1884a0==null?void 0x0:_0x1884a0[_0x2b91a1(0x26a)],'rows':_0x535c07[_0x2b91a1(0x323)],'filters':(_0x447589=_0x1884a0==null||(_0x16500d=_0x1884a0['filter'])==null?void 0x0:_0x16500d['conditions']['length'])==null?0x0:_0x447589,'sorts':(_0x26902c=_0x1884a0==null||(_0x200969=_0x1884a0[_0x2b91a1(0x496)])==null?void 0x0:_0x200969[_0x2b91a1(0x323)])==null?0x0:_0x26902c});return this['_projectedViewRowsCache'][_0x2b91a1(0x47d)](_0x7958cd,{'table':_0x9790f0,'rows':_0x53f2b6,'baseRows':_0x535c07,'globalRevision':this[_0x2b91a1(0x205)],'tableRevision':this[_0x2b91a1(0x288)](_0x9790f0['id']),'cellRevision':_0x1392d3}),_0x53f2b6;},{'tableId':_0x9790f0['id'],'viewId':_0x1884a0==null?void 0x0:_0x1884a0['id'],'viewType':_0x1884a0==null?void 0x0:_0x1884a0[_0x14e977(0x26a)],'records':(_0x30bbdc=(_0x37aa5b=_0x9790f0[_0x14e977(0x20f)])==null?void 0x0:_0x37aa5b[_0x14e977(0x323)])==null?Object[_0x14e977(0x4b1)]((_0xdba977=_0x9790f0[_0x14e977(0x2ac)])==null?{}:_0xdba977)[_0x14e977(0x323)]:_0x30bbdc});}[_0x557ecf(0x24b)](_0x473d99){const _0x48c2a1=_0x557ecf;var _0x47eceb,_0x24d37a,_0x7ed4b9;return o(_0x48c2a1(0x3ff),()=>{const _0x130a12=_0x48c2a1;var _0x3908f9;let _0x31836a=this[_0x130a12(0x407)](_0x473d99['id']),_0x27862a=this[_0x130a12(0x456)]['get'](_0x473d99['id']);if(_0x27862a&&_0x27862a[_0x130a12(0x3a6)]===this[_0x130a12(0x205)]&&_0x27862a[_0x130a12(0x36e)]===this[_0x130a12(0x288)](_0x473d99['id'])){if(_0x27862a[_0x130a12(0x2b6)]===_0x31836a&&_0x27862a['table']===_0x473d99)return _0x27862a[_0x130a12(0x2fb)];let _0x1c461a=this[_0x130a12(0x2e0)](_0x473d99,_0x27862a,_0x31836a);if(_0x1c461a)return _0x1c461a;}Bt(_0x473d99)||d(_0x473d99);let _0x54a264=(_0x3908f9=_0x473d99['recordOrder'])!=null&&_0x3908f9['length']?_0x473d99['recordOrder']:Wt(_0x473d99[_0x130a12(0x2ac)]),_0x5a7975=o(_0x130a12(0x377),()=>{const _0x5dabaa=_0x130a12;let _0x1edb6f=[];for(let _0x5166ba of _0x54a264){let _0x5df627=_0x473d99[_0x5dabaa(0x2ac)][_0x5166ba];if(!_0x5df627)continue;let _0x7d2082={};for(let _0x1c6600 of _0x473d99[_0x5dabaa(0x3e0)])_0x7d2082[_0x1c6600]=_(_0x473d99,_0x5df627['id'],_0x1c6600);_0x1edb6f['push']({'recordId':_0x5df627['id'],'values':_0x7d2082});}return _0x1edb6f;},{'tableId':_0x473d99['id'],'records':_0x54a264[_0x130a12(0x323)],'fields':_0x473d99[_0x130a12(0x3e0)][_0x130a12(0x323)]});return this[_0x130a12(0x456)][_0x130a12(0x47d)](_0x473d99['id'],{'table':_0x473d99,'rows':_0x5a7975,'rowIndexById':zt(_0x5a7975),'globalRevision':this[_0x130a12(0x205)],'tableRevision':this[_0x130a12(0x288)](_0x473d99['id']),'cellRevision':_0x31836a}),_0x5a7975;},{'tableId':_0x473d99['id'],'records':(_0x47eceb=(_0x24d37a=_0x473d99[_0x48c2a1(0x20f)])==null?void 0x0:_0x24d37a['length'])==null?Object[_0x48c2a1(0x4b1)]((_0x7ed4b9=_0x473d99[_0x48c2a1(0x2ac)])==null?{}:_0x7ed4b9)[_0x48c2a1(0x323)]:_0x47eceb,'fields':_0x473d99[_0x48c2a1(0x3e0)][_0x48c2a1(0x323)]});}[_0x557ecf(0x2e0)](_0x48fb8a,_0x4a51a8,_0x16d783){const _0x329485=_0x557ecf;var _0xb53d90,_0x4fdf21;let _0x1c53a6=((_0xb53d90=this[_0x329485(0x2c5)][_0x329485(0x487)](_0x48fb8a['id']))==null?[]:_0xb53d90)[_0x329485(0x2fe)](_0x54d4dc=>_0x54d4dc[_0x329485(0x328)]>_0x4a51a8['cellRevision']&&_0x54d4dc['revision']<=_0x16d783);if(!_0x1c53a6['length'])return _0x4a51a8[_0x329485(0x37c)]===_0x48fb8a?_0x4a51a8['rows']:null;let _0x158fe1=_0x4a51a8[_0x329485(0x2fb)],_0x852ec6=new Map();for(let _0x1f4f55 of _0x1c53a6){let _0x24573f=_0x852ec6['get'](_0x1f4f55[_0x329485(0x2a6)]);_0x24573f||(_0x24573f=new Set(),_0x852ec6[_0x329485(0x47d)](_0x1f4f55['recordId'],_0x24573f)),_0x24573f[_0x329485(0x371)](_0x1f4f55[_0x329485(0x3da)]);}for(let [_0x1cf2e2,_0x5f394d]of _0x852ec6){if(!_0x48fb8a[_0x329485(0x2ac)][_0x1cf2e2])return null;let _0x556120=_0x4a51a8[_0x329485(0x2b5)]['get'](_0x1cf2e2);if(_0x556120==null)return null;_0x158fe1===_0x4a51a8[_0x329485(0x2fb)]&&(_0x158fe1=[..._0x4a51a8[_0x329485(0x2fb)]]);let _0xf11322=_0x158fe1[_0x556120],_0xa454b7={..._0xf11322[_0x329485(0x4f9)]};_0x5f394d['forEach'](_0x2f606b=>{_0xa454b7[_0x2f606b]=_(_0x48fb8a,_0x1cf2e2,_0x2f606b);}),_0x158fe1[_0x556120]={..._0xf11322,'values':_0xa454b7};}let _0x14e920={'table':_0x48fb8a,'rows':_0x158fe1,'rowIndexById':_0x4a51a8[_0x329485(0x2b5)],'globalRevision':this[_0x329485(0x205)],'tableRevision':this[_0x329485(0x288)](_0x48fb8a['id']),'cellRevision':_0x16d783};return this[_0x329485(0x456)][_0x329485(0x47d)](_0x48fb8a['id'],_0x14e920),this['_cellInvalidations']['set'](_0x48fb8a['id'],((_0x4fdf21=this['_cellInvalidations']['get'](_0x48fb8a['id']))==null?[]:_0x4fdf21)['filter'](_0x5a481b=>_0x5a481b[_0x329485(0x328)]>Math[_0x329485(0x4ef)](0x0,_0x16d783-0x100))),_0x158fe1;}[_0x557ecf(0x48a)](_0x593f6e,_0x396a83){const _0x2e6309=_0x557ecf;let _0x278b6f=new Map(_0x396a83['map'](_0x380d07=>[_0x380d07[_0x2e6309(0x2a6)],_0x380d07])),_0x53ef04=!0x1,_0x4f2f27=_0x593f6e[_0x2e6309(0x274)](_0x5820a6=>{const _0x35d980=_0x2e6309;let _0x2a108f=_0x278b6f[_0x35d980(0x487)](_0x5820a6[_0x35d980(0x2a6)]);return _0x2a108f?_0x2a108f===_0x5820a6?_0x5820a6:(_0x53ef04=!0x0,_0x2a108f):_0x5820a6;});return _0x53ef04?_0x4f2f27:_0x593f6e;}[_0x557ecf(0x355)](_0x442036,_0x1a798b,_0x52dc80,_0x59e07a){const _0x250625=_0x557ecf;var _0xb51de0;return!_0x59e07a[_0x250625(0x260)]||_0x1a798b===_0x52dc80?!0x1:_0x52dc80-_0x1a798b>0x100?!0x0:((_0xb51de0=this[_0x250625(0x2c5)][_0x250625(0x487)](_0x442036))==null?[]:_0xb51de0)[_0x250625(0x4f5)](_0x40e456=>_0x40e456[_0x250625(0x328)]>_0x1a798b&&_0x40e456['revision']<=_0x52dc80&&_0x59e07a[_0x250625(0x25a)](_0x40e456[_0x250625(0x3da)]));}['_filterSortFieldIds'](_0x43f255){const _0x2b7b0a=_0x557ecf;var _0x5105cb,_0x36a112;let _0x55738c=new Set();return _0x43f255==null||(_0x5105cb=_0x43f255['filter'])==null||_0x5105cb[_0x2b7b0a(0x37b)][_0x2b7b0a(0x4c8)](_0x464501=>_0x55738c[_0x2b7b0a(0x371)](_0x464501[_0x2b7b0a(0x3da)])),_0x43f255==null||(_0x36a112=_0x43f255[_0x2b7b0a(0x496)])==null||_0x36a112[_0x2b7b0a(0x4c8)](_0x589c35=>_0x55738c[_0x2b7b0a(0x371)](_0x589c35[_0x2b7b0a(0x3da)])),_0x55738c;}[_0x557ecf(0x333)](_0x4ed399){const _0x119ce1=_0x557ecf;var _0x529c01;let _0x534fa0=this[_0x119ce1(0x3fb)](_0x4ed399);return(_0x529c01=_0x4ed399[_0x119ce1(0x4fc)])==null||_0x529c01[_0x119ce1(0x4c8)](_0x23ac84=>_0x534fa0[_0x119ce1(0x371)](_0x23ac84['fieldId'])),_0x534fa0;}[_0x557ecf(0x28a)](_0x4dfed8,_0xe76964,_0x3a7225){const _0x5cc183=_0x557ecf;let _0x53dde9=_0xe76964==null?void 0x0:_0xe76964[_0x5cc183(0x2fe)];if(!(_0x53dde9!=null&&_0x53dde9[_0x5cc183(0x37b)][_0x5cc183(0x323)]))return _0x3a7225;let _0x3e2651=_0x53dde9[_0x5cc183(0x37b)][_0x5cc183(0x2fe)](_0x2eee89=>!dn(_0x2eee89));return _0x3e2651[_0x5cc183(0x323)]?_0x3a7225[_0x5cc183(0x2fe)](_0x28f47e=>{const _0x13e2d2=_0x5cc183;if(_0x53dde9['conjunction']===e['BaseFilterConjunction']['OR']){for(let _0x9a7780 of _0x3e2651){let _0x319211=_0x4dfed8[_0x13e2d2(0x40d)][_0x9a7780[_0x13e2d2(0x3da)]];if(!_0x319211||this[_0x13e2d2(0x409)][_0x13e2d2(0x487)](_0x319211[_0x13e2d2(0x26a)])['filter'](_0x28f47e[_0x13e2d2(0x4f9)][_0x319211['id']],_0x9a7780['operator'],_0x9a7780[_0x13e2d2(0x414)],_0x319211))return!0x0;}return!0x1;}for(let _0x347447 of _0x3e2651){let _0x5ef9fa=_0x4dfed8[_0x13e2d2(0x40d)][_0x347447[_0x13e2d2(0x3da)]];if(_0x5ef9fa&&!this[_0x13e2d2(0x409)][_0x13e2d2(0x487)](_0x5ef9fa['type'])[_0x13e2d2(0x2fe)](_0x28f47e[_0x13e2d2(0x4f9)][_0x5ef9fa['id']],_0x347447['operator'],_0x347447[_0x13e2d2(0x414)],_0x5ef9fa))return!0x1;}return!0x0;}):_0x3a7225;}[_0x557ecf(0x2a7)](_0x125ca2,_0x3268c6,_0x2cdcb5){const _0x521235=_0x557ecf;var _0x464cb6;let _0x504007=(_0x464cb6=_0x3268c6==null?void 0x0:_0x3268c6['sort'])==null?[]:_0x464cb6;if(!_0x504007[_0x521235(0x323)])return _0x2cdcb5;let _0x43d6b9=_0x504007[_0x521235(0x454)](_0x4b47b0=>{let _0x1c46f6=_0x125ca2['fields'][_0x4b47b0['fieldId']];return _0x1c46f6?[{..._0x4b47b0,'field':_0x1c46f6}]:[];});return _0x43d6b9[_0x521235(0x323)]?this[_0x521235(0x40e)](_0x43d6b9)?this['_fastSortRows'](_0x43d6b9,_0x2cdcb5):[..._0x2cdcb5]['sort']((_0x2b1c22,_0x18d030)=>{const _0x4178b8=_0x521235;for(let _0x124796 of _0x43d6b9){let _0x82c17d=_0x124796[_0x4178b8(0x383)],_0x34c7f4=this[_0x4178b8(0x409)][_0x4178b8(0x487)](_0x82c17d[_0x4178b8(0x26a)])['compare'](_0x2b1c22[_0x4178b8(0x4f9)][_0x82c17d['id']],_0x18d030[_0x4178b8(0x4f9)][_0x82c17d['id']],_0x82c17d);if(_0x34c7f4!==0x0)return _0x124796[_0x4178b8(0x315)]===e['BaseSortDirection'][_0x4178b8(0x4bc)]?-_0x34c7f4:_0x34c7f4;}return 0x0;}):_0x2cdcb5;}[_0x557ecf(0x40e)](_0x1375df){const _0x5d50d3=_0x557ecf;return _0x1375df['every'](_0x1f34b3=>It[_0x5d50d3(0x25a)](_0x1f34b3[_0x5d50d3(0x383)][_0x5d50d3(0x26a)]));}['_fastSortRows'](_0x1056a2,_0x1ebc89){const _0x1d8df3=_0x557ecf;return _0x1ebc89['map']((_0x12929d,_0x217994)=>({'row':_0x12929d,'index':_0x217994,'keys':_0x1056a2[_0x1d8df3(0x274)](_0x35f19f=>_0x12929d['values'][_0x35f19f[_0x1d8df3(0x3da)]])}))['sort']((_0x339d0a,_0x4728a6)=>{const _0xe52ead=_0x1d8df3;for(let _0x5ba765=0x0;_0x5ba765<_0x1056a2[_0xe52ead(0x323)];_0x5ba765++){let _0xab5581=un(_0x339d0a[_0xe52ead(0x4b1)][_0x5ba765],_0x4728a6[_0xe52ead(0x4b1)][_0x5ba765]);if(_0xab5581!==0x0)return _0x1056a2[_0x5ba765][_0xe52ead(0x315)]===e['BaseSortDirection'][_0xe52ead(0x4bc)]?-_0xab5581:_0xab5581;}return _0x339d0a[_0xe52ead(0x344)]-_0x4728a6[_0xe52ead(0x344)];})[_0x1d8df3(0x274)](_0x3cc0dc=>_0x3cc0dc['row']);}[_0x557ecf(0x30a)](_0x3ed941,_0x53c085,_0x33bb92){const _0x230242=_0x557ecf;var _0x53bbe3,_0x29d734;return o(_0x230242(0x276),()=>{const _0xbdf716=_0x230242;var _0x15a9e8;if(!((_0x15a9e8=_0x53c085['group'])!=null&&_0x15a9e8['length']))return[];let _0x5f3a0c=_0x53c085[_0xbdf716(0x4fc)]['filter'](_0x30e159=>_0x3ed941[_0xbdf716(0x40d)][_0x30e159[_0xbdf716(0x3da)]]);if(!_0x5f3a0c['length'])return[];let _0x46ce8f=this[_0xbdf716(0x393)](_0x3ed941['id'],_0x53c085,_0x5f3a0c),_0x4c482c=this[_0xbdf716(0x407)](_0x3ed941['id']),_0x422c61=this[_0xbdf716(0x446)]['get'](_0x46ce8f);if(_0x422c61&&_0x422c61[_0xbdf716(0x3a6)]===this[_0xbdf716(0x205)]&&_0x422c61[_0xbdf716(0x36e)]===this[_0xbdf716(0x288)](_0x3ed941['id'])){if(_0x422c61[_0xbdf716(0x2b6)]===_0x4c482c&&_0x422c61[_0xbdf716(0x2fb)]===_0x33bb92)return _0x422c61[_0xbdf716(0x36d)];if(_0x422c61[_0xbdf716(0x2b6)]!==_0x4c482c&&!this[_0xbdf716(0x355)](_0x3ed941['id'],_0x422c61['cellRevision'],_0x4c482c,this['_groupProjectionFieldIds'](_0x53c085)))return this[_0xbdf716(0x446)][_0xbdf716(0x47d)](_0x46ce8f,{..._0x422c61,'rows':_0x33bb92,'cellRevision':_0x4c482c}),_0x422c61[_0xbdf716(0x36d)];}let _0x10111d=new Map();for(let _0x165e24 of _0x33bb92){let _0x2ddcf5=_0x10111d,_0x3aa9fa='';for(let _0x7fb1a9=0x0;_0x7fb1a9<_0x5f3a0c[_0xbdf716(0x323)];_0x7fb1a9++){let _0x4f8947=_0x5f3a0c[_0x7fb1a9],_0x3a74ec=_0x165e24[_0xbdf716(0x4f9)][_0x4f8947[_0xbdf716(0x3da)]],_0x53437f=Rt(_0x3a74ec),_0x5da6a7=_0x4f8947[_0xbdf716(0x3da)]+'\x00'+_0x53437f,_0x1ca475=_0x3aa9fa+'/'+_0x4f8947[_0xbdf716(0x3da)]+':'+_0x53437f,_0x273ef0=_0x2ddcf5[_0xbdf716(0x487)](_0x5da6a7);_0x273ef0||(_0x273ef0={'key':_0x53437f,'value':_0x3a74ec,'path':_0x1ca475,'label':_0x53437f||_0xbdf716(0x2db),'fieldId':_0x4f8947[_0xbdf716(0x3da)],'level':_0x7fb1a9,'recordIds':[],'children':new Map()},_0x2ddcf5[_0xbdf716(0x47d)](_0x5da6a7,_0x273ef0)),_0x273ef0[_0xbdf716(0x225)][_0xbdf716(0x43e)](_0x165e24[_0xbdf716(0x2a6)]),_0x2ddcf5=_0x273ef0[_0xbdf716(0x427)],_0x3aa9fa=_0x1ca475;}}let _0x377776=this['_materializeGroups'](_0x5f3a0c,_0x10111d,0x0);return this[_0xbdf716(0x446)][_0xbdf716(0x47d)](_0x46ce8f,{'table':_0x3ed941,'rows':_0x33bb92,'groups':_0x377776,'globalRevision':this[_0xbdf716(0x205)],'tableRevision':this[_0xbdf716(0x288)](_0x3ed941['id']),'cellRevision':_0x4c482c}),_0x377776;},{'tableId':_0x3ed941['id'],'viewId':_0x53c085['id'],'viewType':_0x53c085[_0x230242(0x26a)],'rows':_0x33bb92[_0x230242(0x323)],'groupFields':(_0x53bbe3=(_0x29d734=_0x53c085[_0x230242(0x4fc)])==null?void 0x0:_0x29d734[_0x230242(0x323)])==null?0x0:_0x53bbe3});}[_0x557ecf(0x25d)](_0x99f6d5,_0x1cda38,_0x4b264a){const _0xebd698=_0x557ecf;var _0x45495f;let _0x2629a8=Array[_0xebd698(0x467)](_0x1cda38[_0xebd698(0x4f9)]()),_0x182606=(_0x45495f=_0x99f6d5[_0x4b264a])==null?void 0x0:_0x45495f['direction'];return _0x182606&&_0x2629a8['sort']((_0x192c7c,_0x32c60d)=>{const _0x5f399f=_0xebd698;let _0x338ae8=_0x192c7c[_0x5f399f(0x1ed)][_0x5f399f(0x3d1)](_0x32c60d['key']);return _0x182606===e[_0x5f399f(0x358)][_0x5f399f(0x4bc)]?-_0x338ae8:_0x338ae8;}),_0x2629a8[_0xebd698(0x274)](_0x44d0bb=>({'key':_0x44d0bb[_0xebd698(0x1ed)],'value':_0x44d0bb[_0xebd698(0x373)],'path':_0x44d0bb['path'],'label':_0x44d0bb[_0xebd698(0x2f2)],'fieldId':_0x44d0bb['fieldId'],'level':_0x44d0bb[_0xebd698(0x46d)],'recordIds':_0x44d0bb['recordIds'],'children':this[_0xebd698(0x25d)](_0x99f6d5,_0x44d0bb[_0xebd698(0x427)],_0x4b264a+0x1)}));}[_0x557ecf(0x367)](_0x444009,_0x498196,_0x460c49){const _0x3610c5=_0x557ecf;let _0x36ea67=_0x460c49==null?_0x444009[_0x3610c5(0x4a0)]:_0x460c49,_0x118ccd=_0x498196['values'][_0x36ea67];return _0x118ccd==null?'':String(_0x118ccd);}['_recordIds'](_0x2b0a84){const _0x55e36c=_0x557ecf;if(Array[_0x55e36c(0x2e1)](_0x2b0a84))return _0x2b0a84[_0x55e36c(0x274)](String);if(typeof _0x2b0a84==_0x55e36c(0x39d)&&_0x2b0a84)return[_0x2b0a84];}['_capabilities'](_0xc246ff){const _0x1a9c0f=_0x557ecf;return this['_fieldRegistry']['get'](_0xc246ff['type'])[_0x1a9c0f(0x271)](_0xc246ff);}};Lt=B([z(0x0,(0x0,e[_0x557ecf(0x316)])(L))],Lt);function Rt(_0x11105d){return _0x11105d==null?'':String(_0x11105d);}function zt(_0x23f8d3){const _0x3eac62=_0x557ecf;return new Map(_0x23f8d3[_0x3eac62(0x274)]((_0x13821f,_0x1539eb)=>[_0x13821f[_0x3eac62(0x2a6)],_0x1539eb]));}function Bt(_0x1b0528){const _0x533643=_0x557ecf;return!!(Array[_0x533643(0x2e1)](_0x1b0528[_0x533643(0x20f)])&&_0x1b0528[_0x533643(0x253)]&&_0x1b0528[_0x533643(0x236)]&&_0x1b0528[_0x533643(0x279)]&&_0x1b0528[_0x533643(0x432)]&&_0x1b0528[_0x533643(0x46b)]);}function Vt(_0x1132e7){const _0x56d582=_0x557ecf;return _0x1132e7!=null&&_0x1132e7[_0x56d582(0x37b)][_0x56d582(0x323)]?{'conjunction':_0x1132e7[_0x56d582(0x46a)],'conditions':_0x1132e7[_0x56d582(0x37b)][_0x56d582(0x274)](_0x4621af=>({'fieldId':_0x4621af[_0x56d582(0x3da)],'operator':_0x4621af[_0x56d582(0x340)],'operand':_0x4621af[_0x56d582(0x414)]}))}:null;}function Ht(_0x401feb){const _0x4d2f49=_0x557ecf;return _0x401feb!=null&&_0x401feb[_0x4d2f49(0x323)]?_0x401feb[_0x4d2f49(0x274)](_0x736209=>({'fieldId':_0x736209[_0x4d2f49(0x3da)],'direction':_0x736209[_0x4d2f49(0x315)]})):null;}function Ut(_0xc025ba){const _0x48ddc4=_0x557ecf;if(typeof _0xc025ba!=_0x48ddc4(0x341)||!_0xc025ba){var _0x3c1706;return(_0x3c1706=JSON['stringify'](_0xc025ba))==null?_0x48ddc4(0x2f5):_0x3c1706;}if(Array['isArray'](_0xc025ba))return'['+_0xc025ba[_0x48ddc4(0x274)](Ut)[_0x48ddc4(0x28d)](',')+']';let _0x172e70=_0xc025ba;return'{'+Object[_0x48ddc4(0x4b1)](_0x172e70)[_0x48ddc4(0x496)]()[_0x48ddc4(0x274)](_0x3bcfb1=>JSON[_0x48ddc4(0x36a)](_0x3bcfb1)+':'+Ut(_0x172e70[_0x3bcfb1]))['join'](',')+'}';}function Wt(_0x163fca){const _0x76697c=_0x557ecf;let _0x3290d9=Object[_0x76697c(0x4f9)](_0x163fca)[_0x76697c(0x496)]((_0x22d2db,_0x252f79)=>_0x22d2db[_0x76697c(0x408)][_0x76697c(0x3d1)](_0x252f79[_0x76697c(0x408)])),_0x1cf9fc=[];for(let _0x594efc of _0x3290d9)_0x1cf9fc[_0x76697c(0x43e)](_0x594efc['id']);return _0x1cf9fc;}const W=0x5a0*0x3c*0x3e8;function Gt(_0xd4c5d0){const _0x33221d=_0x557ecf;return{'weekdays':Array['isArray'](_0xd4c5d0==null?void 0x0:_0xd4c5d0[_0x33221d(0x332)])&&_0xd4c5d0[_0x33221d(0x332)]['length']?[...new Set(_0xd4c5d0['weekdays'][_0x33221d(0x2fe)](_0x466459=>Number['isInteger'](_0x466459)&&_0x466459>=0x1&&_0x466459<=0x7))]:[0x1,0x2,0x3,0x4,0x5],'exceptions':Array['isArray'](_0xd4c5d0==null?void 0x0:_0xd4c5d0[_0x33221d(0x4d5)])?_0xd4c5d0[_0x33221d(0x4d5)][_0x33221d(0x454)](_0x3b6d37=>!_0x3b6d37||!Number['isFinite'](_0x3b6d37['date'])?[]:[{'id':String(_0x3b6d37['id']||_0x33221d(0x28b)+_0x3b6d37['date']),'date':G(Number(_0x3b6d37[_0x33221d(0x503)])),'name':String(_0x3b6d37[_0x33221d(0x3c4)]||_0x33221d(0x35b)),'type':_0x3b6d37[_0x33221d(0x26a)]===_0x33221d(0x2fd)?_0x33221d(0x2fd):_0x33221d(0x334)}]):[]};}function Kt(_0x1197d4,_0x5df189,_0xf6b521,_0x5f1556){let _0xa913c4=Xt(_0x1197d4,_0x5df189),_0xd138f6=Zt(_0x1197d4,_0xf6b521),_0x4c214d=qt(_0x1197d4,_0xa913c4,_0xd138f6,_0x5f1556);return{'scale':_0x1197d4,'start':_0xa913c4,'end':_0xd138f6,'unitWidth':Yt(_0x1197d4),'majorHeaders':Jt(_0x1197d4,_0xa913c4,_0xd138f6),'columns':_0x4c214d};}function qt(_0x5af8ec,_0x4658c3,_0x3fe5d4,_0x466ec0){const _0x2a03bd=_0x557ecf;let _0x5baec3=[],_0x13c799=_0x4658c3;for(;_0x13c799<_0x3fe5d4;){let _0x45bfd0=_0x5af8ec===_0x2a03bd(0x3b0)?K(_0x13c799,0x7):_0x5af8ec===_0x2a03bd(0x3f5)?sn(_0x13c799,0x1):K(_0x13c799,0x1);_0x5baec3[_0x2a03bd(0x43e)]({'id':_0x5af8ec+'-'+_0x13c799,'label':Qt(_0x5af8ec,_0x13c799,_0x45bfd0),'majorLabel':$t(_0x5af8ec,_0x13c799),'start':_0x13c799,'end':_0x45bfd0,'nonWorking':tn(_0x13c799,_0x45bfd0,_0x466ec0)}),_0x13c799=_0x45bfd0;}return _0x5baec3;}function Jt(_0x136df6,_0x5305db,_0x370043){const _0x4e3fe0=_0x557ecf;let _0x39184b=[],_0x61582a=_0x136df6===_0x4e3fe0(0x3f5)?on(_0x5305db):an(_0x5305db);for(;_0x61582a<_0x370043;){let _0x33b6ee=_0x136df6==='year'?cn(_0x61582a,0x1):sn(_0x61582a,0x1);_0x39184b[_0x4e3fe0(0x43e)]({'id':_0x4e3fe0(0x4d4)+_0x61582a,'label':_0x136df6==='year'?String(new Date(_0x61582a)[_0x4e3fe0(0x1fe)]()):ln(_0x61582a),'start':_0x61582a,'end':_0x33b6ee}),_0x61582a=_0x33b6ee;}return _0x39184b;}function Yt(_0x158a48){const _0x100e98=_0x557ecf;switch(_0x158a48){case _0x100e98(0x40b):return 0xac;case _0x100e98(0x3b0):return 0xac;case _0x100e98(0x3f5):return 0x88;default:return 0x56;}}function Xt(_0x27cb74,_0x1fdf3b){return _0x27cb74==='year'?on(_0x1fdf3b):_0x27cb74==='quarter'?rn(_0x1fdf3b):G(_0x1fdf3b);}function Zt(_0x57761e,_0x5ce54e){const _0x572355=_0x557ecf;return _0x57761e==='year'?cn(on(_0x5ce54e),0x1):_0x57761e===_0x572355(0x3b0)?K(rn(_0x5ce54e),0x7):K(G(_0x5ce54e),0x1);}function Qt(_0x24bd14,_0x3f2edf,_0x5d832b){const _0x45aef9=_0x557ecf;let _0x1431ed=new Date(_0x3f2edf);return _0x24bd14===_0x45aef9(0x3b0)?_0x1431ed[_0x45aef9(0x3ed)]()+'-'+new Date(_0x5d832b-W)[_0x45aef9(0x3ed)]():_0x24bd14===_0x45aef9(0x3f5)?_0x1431ed['toLocaleString'](_0x45aef9(0x3cf),{'month':'short','timeZone':'UTC'}):String(_0x1431ed['getUTCDate']());}function $t(_0x565dfa,_0x4c7201){const _0x49b73c=_0x557ecf;return _0x565dfa==='year'?String(new Date(_0x4c7201)[_0x49b73c(0x1fe)]()):ln(_0x4c7201);}function en(_0x4c057a,_0x332c62,_0x191cdb){let _0x188f47=Gt(_0x191cdb),_0x5cccde=0x0;for(let _0x52f1d4=G(_0x4c057a);_0x52f1d4<=G(_0x332c62);_0x52f1d4=K(_0x52f1d4,0x1))nn(_0x52f1d4,_0x188f47)||_0x5cccde++;return _0x5cccde;}function tn(_0x3e0cd6,_0x275518,_0x41201d){if(!_0x41201d)return!0x1;let _0x45ee41=Gt(_0x41201d);for(let _0x1fc76b=G(_0x3e0cd6);_0x1fc76b<_0x275518;_0x1fc76b=K(_0x1fc76b,0x1))if(!nn(_0x1fc76b,_0x45ee41))return!0x1;return!0x0;}function nn(_0x3b2de1,_0x2a5df5){const _0x4b3591=_0x557ecf;let _0x44a2b5=G(_0x3b2de1),_0x440e5e=_0x2a5df5[_0x4b3591(0x4d5)][_0x4b3591(0x4c1)](_0x519623=>G(_0x519623[_0x4b3591(0x503)])===_0x44a2b5);if(_0x440e5e)return _0x440e5e[_0x4b3591(0x26a)]===_0x4b3591(0x334);let _0x538167=new Date(_0x44a2b5)['getUTCDay'](),_0xc2f20d=_0x538167===0x0?0x7:_0x538167;return!_0x2a5df5['weekdays']['includes'](_0xc2f20d);}function G(_0x4ab066){const _0x49ff8d=_0x557ecf;let _0x3ad8d5=new Date(_0x4ab066);return Date['UTC'](_0x3ad8d5[_0x49ff8d(0x1fe)](),_0x3ad8d5[_0x49ff8d(0x49e)](),_0x3ad8d5[_0x49ff8d(0x3ed)]());}function rn(_0x2496bd){const _0x5cb274=_0x557ecf;let _0x42baea=G(_0x2496bd),_0x47f4e2=new Date(_0x42baea)[_0x5cb274(0x31e)]();return K(_0x42baea,-(_0x47f4e2===0x0?0x6:_0x47f4e2-0x1));}function an(_0x178592){const _0x3823ee=_0x557ecf;let _0x4ecf3e=new Date(_0x178592);return Date['UTC'](_0x4ecf3e[_0x3823ee(0x1fe)](),_0x4ecf3e[_0x3823ee(0x49e)](),0x1);}function on(_0x48b1ca){const _0x3ddd13=_0x557ecf;let _0x4962be=new Date(_0x48b1ca);return Date['UTC'](_0x4962be[_0x3ddd13(0x1fe)](),0x0,0x1);}function K(_0x1b64ba,_0x690ab1){return _0x1b64ba+_0x690ab1*W;}function sn(_0x42cec7,_0x1c8e86){const _0x1ae6c5=_0x557ecf;let _0x57bfb8=new Date(_0x42cec7);return Date['UTC'](_0x57bfb8[_0x1ae6c5(0x1fe)](),_0x57bfb8[_0x1ae6c5(0x49e)]()+_0x1c8e86,0x1);}function cn(_0x314bdd,_0x538887){const _0x351ef8=_0x557ecf;let _0x38fc99=new Date(_0x314bdd);return Date[_0x351ef8(0x3b3)](_0x38fc99['getUTCFullYear']()+_0x538887,0x0,0x1);}function ln(_0x39c4ed){const _0x1daf91=_0x557ecf;let _0x366b27=new Date(_0x39c4ed);return _0x366b27[_0x1daf91(0x42b)](_0x1daf91(0x3cf),{'month':_0x1daf91(0x475),'timeZone':_0x1daf91(0x3b3)})+'\x20'+_0x366b27[_0x1daf91(0x1fe)]();}function un(_0x1cf917,_0x11e148){const _0x5612fa=_0x557ecf;if(_0x1cf917==null&&_0x11e148==null)return 0x0;if(_0x1cf917==null)return-0x1;if(_0x11e148==null)return 0x1;if(typeof _0x1cf917==_0x5612fa(0x4a1)||typeof _0x11e148==_0x5612fa(0x4a1))return Number(_0x1cf917===!0x0)-Number(_0x11e148===!0x0);let _0x2b70a5=Number(_0x1cf917),_0x14acfb=Number(_0x11e148),_0x18a8fd=Number[_0x5612fa(0x3fd)](_0x2b70a5),_0x475531=Number[_0x5612fa(0x3fd)](_0x14acfb);return _0x18a8fd&&_0x475531?_0x2b70a5-_0x14acfb:_0x18a8fd?0x1:_0x475531?-0x1:String(_0x1cf917)[_0x5612fa(0x3d1)](String(_0x11e148));}function dn(_0x3a2549){const _0x37dc4f=_0x557ecf;if(_0x3a2549[_0x37dc4f(0x340)]!=='is'&&_0x3a2549[_0x37dc4f(0x340)]!==_0x37dc4f(0x3eb))return!0x1;let _0x45c5df=_0x3a2549[_0x37dc4f(0x414)];return _0x45c5df==null?!0x0:typeof _0x45c5df==_0x37dc4f(0x39d)?_0x45c5df[_0x37dc4f(0x354)]()==='':Array[_0x37dc4f(0x2e1)](_0x45c5df)?_0x45c5df[_0x37dc4f(0x323)]===0x0:!0x1;}function q(_0x3912c8,_0x152feb){const _0x2f36a0=_0x557ecf;var _0x3c6237;let _0x3315a7=Array[_0x2f36a0(0x2e1)]((_0x3c6237=_0x3912c8[_0x2f36a0(0x294)])==null?void 0x0:_0x3c6237[_0x2f36a0(0x48c)])?_0x3912c8[_0x2f36a0(0x294)][_0x2f36a0(0x48c)]:[];for(let _0x5d1b38 of _0x3315a7){var _0x1fabb5,_0x49a1c9,_0x919688,_0x127cac;if(_0x5d1b38==null)continue;if(typeof _0x5d1b38=='string'){if(_0x5d1b38===_0x152feb)return{'id':_0x5d1b38,'name':_0x5d1b38};continue;}let _0x2b0dcc=_0x5d1b38,_0x5cbcf7=String((_0x1fabb5=(_0x49a1c9=_0x2b0dcc['id'])==null?_0x2b0dcc['name']:_0x49a1c9)==null?'':_0x1fabb5),_0x19e3b8=String((_0x919688=(_0x127cac=_0x2b0dcc[_0x2f36a0(0x3c4)])==null?_0x2b0dcc['id']:_0x127cac)==null?_0x5cbcf7:_0x919688);if(_0x5cbcf7===_0x152feb||_0x19e3b8===_0x152feb)return{'id':_0x5cbcf7,'name':_0x19e3b8,'color':_0x2b0dcc[_0x2f36a0(0x256)]==null?void 0x0:String(_0x2b0dcc[_0x2f36a0(0x256)])};}return null;}const J={'id':_0x557ecf(0x350),'type':e[_0x557ecf(0x485)][_0x557ecf(0x4c6)],'handler'(_0x3ac102,_0x3d0f18){const _0x48c7ea=_0x557ecf;let {unitId:_0x40cef1,op:_0x2ce7ef}=_0x3d0f18,_0x3f4ba4=_0x3ac102['get'](e[_0x48c7ea(0x4ff)])[_0x48c7ea(0x445)](_0x40cef1,e[_0x48c7ea(0x435)][_0x48c7ea(0x286)]);if(!_0x3f4ba4)return!0x1;let _0x182179=_0x3f4ba4['getSnapshot'](),_0x1996fa=new w(),_0x2722b1=_0x1996fa['getAffectedRanges'](_0x2ce7ef),_0x76620f=_0x1996fa['applyOp'](_0x182179,_0x2ce7ef);return _0x3f4ba4['setSnapshot'](_0x76620f),fn(_0x76620f,_0x2722b1,_0x3ac102[_0x48c7ea(0x487)](Ft)),!0x0;}};function fn(_0x2f0441,_0x48aa7c,_0x59a217){const _0x320898=_0x557ecf;let _0x709882=new Set();for(let _0x34467a of _0x48aa7c){if(_0x34467a[_0x320898(0x49d)]!==_0x320898(0x28e)){_0x59a217[_0x320898(0x2cf)]();return;}let _0xf77107=pn(_0x2f0441,_0x34467a);if(!_0xf77107){_0x59a217[_0x320898(0x2cf)]();return;}let _0x4641d2=_0xf77107['tableId']+'\x00'+_0xf77107[_0x320898(0x2a6)]+'\x00'+_0xf77107['fieldId'];_0x709882['has'](_0x4641d2)||(_0x709882[_0x320898(0x371)](_0x4641d2),_0x59a217[_0x320898(0x1eb)](_0xf77107[_0x320898(0x3e9)],_0xf77107[_0x320898(0x2a6)],_0xf77107[_0x320898(0x3da)]));}}function pn(_0x22db20,_0x24960c){const _0x4c3369=_0x557ecf;var _0x46465d,_0x18ff74;if(!_0x24960c[_0x4c3369(0x3e9)])return null;if(_0x24960c[_0x4c3369(0x2a6)]&&_0x24960c[_0x4c3369(0x3da)])return{'tableId':_0x24960c['tableId'],'recordId':_0x24960c['recordId'],'fieldId':_0x24960c[_0x4c3369(0x3da)]};if(_0x24960c[_0x4c3369(0x398)]==null||_0x24960c[_0x4c3369(0x4c5)]==null)return null;let _0x2666a8=_0x22db20['tables'][_0x24960c[_0x4c3369(0x3e9)]],_0x58cbc5=_0x2666a8==null||(_0x46465d=_0x2666a8[_0x4c3369(0x236)])==null?void 0x0:_0x46465d[_0x24960c['row']],_0x25d061=_0x2666a8==null||(_0x18ff74=_0x2666a8[_0x4c3369(0x432)])==null?void 0x0:_0x18ff74[_0x24960c[_0x4c3369(0x4c5)]];return!_0x58cbc5||!_0x25d061?null:{'tableId':_0x24960c[_0x4c3369(0x3e9)],'recordId':_0x58cbc5,'fieldId':_0x25d061};}function Y(_0x55e334,_0xfa5fb4,_0x439125){const _0x40c357=_0x557ecf;let _0x8720c8=_0x55e334[_0x40c357(0x392)]()['tables'][_0xfa5fb4];if(!_0x8720c8)return!0x1;let {viewIds:_0x55c5c9,fieldIds:_0x1a96c0,recordIds:_0x4e12c3}=_0x439125||{};if(_0x55c5c9){for(let _0x403e3e of _0x55c5c9)if(!_0x8720c8['views'][_0x403e3e])return!0x1;}if(_0x1a96c0){for(let _0x3e57f2 of _0x1a96c0)if(!_0x8720c8['fields'][_0x3e57f2])return!0x1;}if(_0x4e12c3){for(let _0x26777f of _0x4e12c3)if(!_0x8720c8[_0x40c357(0x2ac)][_0x26777f])return!0x1;}return!0x0;}const mn={'id':'base.command.batch-create-base-records','type':e[_0x557ecf(0x485)]['COMMAND'],'handler'(_0x21493b,_0x3a00e9){const _0x2f00cc=_0x557ecf;if(!_0x3a00e9)return!0x1;let _0x3dff4e=_0x21493b['get'](e[_0x2f00cc(0x4ff)]),{unitId:_0x1c61a1,tableId:_0x410ec2,records:_0x4e7201}=_0x3a00e9,_0x238c0a=_0x3dff4e['getUnit'](_0x1c61a1,e[_0x2f00cc(0x435)][_0x2f00cc(0x286)]),_0x4dd1ce=_0x4e7201['map'](_0x27a487=>_0x27a487['id']);if(!_0x238c0a||!Y(_0x238c0a,_0x410ec2)||new Set(_0x4dd1ce)[_0x2f00cc(0x260)]!==_0x4dd1ce[_0x2f00cc(0x323)]||_0x4dd1ce[_0x2f00cc(0x4f5)](_0x284129=>_0x238c0a[_0x2f00cc(0x392)]()['tables'][_0x410ec2][_0x2f00cc(0x2ac)][_0x284129]))return!0x1;let _0x416372=_0x21493b['get'](e[_0x2f00cc(0x49f)]),_0x161758=_0x21493b[_0x2f00cc(0x487)](e['IUndoRedoService']),_0x1cc2ce=_0x21493b[_0x2f00cc(0x487)](V)['createBatchCreateRecordsOp'](_0x238c0a,_0x410ec2,_0x4e7201),_0x35b310=new w()[_0x2f00cc(0x4b7)](_0x238c0a[_0x2f00cc(0x392)](),_0x1cc2ce),_0x36bdaf={'unitId':_0x1c61a1,'op':_0x1cc2ce},_0x2431d1={'unitId':_0x1c61a1,'op':_0x35b310};return _0x416372[_0x2f00cc(0x3bb)](J['id'],_0x36bdaf)?(_0x3dff4e[_0x2f00cc(0x36f)](_0x1c61a1),_0x161758[_0x2f00cc(0x382)]({'unitID':_0x1c61a1,'undoMutations':[{'id':J['id'],'params':_0x2431d1}],'redoMutations':[{'id':J['id'],'params':_0x36bdaf}]}),!0x0):!0x1;}},hn={'id':_0x557ecf(0x312),'type':e['CommandType'][_0x557ecf(0x343)],'handler':(_0x4631e9,_0x1def58)=>{const _0x2a7262=_0x557ecf;if(!_0x1def58)return!0x1;let _0x53ad3a=_0x4631e9[_0x2a7262(0x487)](e['IUniverInstanceService']),{unitId:_0x54c7bc,tableId:_0x4fddc7,recordIds:_0x3aea28}=_0x1def58,_0x1efacb=_0x53ad3a[_0x2a7262(0x445)](_0x54c7bc,e[_0x2a7262(0x435)][_0x2a7262(0x286)]);if(!_0x1efacb||!Y(_0x1efacb,_0x4fddc7,{'recordIds':_0x3aea28}))return!0x1;let _0x36d441=_0x4631e9[_0x2a7262(0x487)](e[_0x2a7262(0x49f)]),_0x5079e5=_0x4631e9['get'](e[_0x2a7262(0x307)]),_0x36d239=_0x1efacb['getSnapshot'](),_0xb77651=new P()[_0x2a7262(0x2b0)](_0x36d239,_0x4fddc7,_0x3aea28),_0x4392b1=new w()[_0x2a7262(0x4b7)](_0x36d239,_0xb77651),_0x4b58a6={'unitId':_0x54c7bc,'op':_0xb77651},_0x41703f={'unitId':_0x54c7bc,'op':_0x4392b1};return _0x36d441['syncExecuteCommand'](J['id'],_0x4b58a6)?(_0x53ad3a['focusUnit'](_0x54c7bc),_0x5079e5[_0x2a7262(0x382)]({'unitID':_0x54c7bc,'undoMutations':[{'id':J['id'],'params':_0x41703f}],'redoMutations':[{'id':J['id'],'params':_0x4b58a6}]}),!0x0):!0x1;}},gn={'id':_0x557ecf(0x309),'type':e[_0x557ecf(0x485)][_0x557ecf(0x343)],'handler':(_0x5eb833,_0x5805cf)=>{const _0x1fd5cc=_0x557ecf;if(!_0x5805cf)return!0x1;let _0xf342b0=_0x5eb833[_0x1fd5cc(0x487)](e[_0x1fd5cc(0x4ff)]),{unitId:_0x3695d0,tableId:_0x3dcb6a,fieldId:_0x449fe1,input:_0x3ce56c}=_0x5805cf,_0x4ed1fd=_0xf342b0['getUnit'](_0x3695d0,e[_0x1fd5cc(0x435)][_0x1fd5cc(0x286)]);if(!_0x4ed1fd||!Y(_0x4ed1fd,_0x3dcb6a,{'fieldIds':[_0x449fe1]}))return!0x1;let _0x4ff64e=_0x5eb833[_0x1fd5cc(0x487)](e['ICommandService']),_0x292cea=_0x5eb833[_0x1fd5cc(0x487)](e[_0x1fd5cc(0x307)]),_0x40fb95=_0x4ed1fd[_0x1fd5cc(0x392)](),_0xc74f79=new P()[_0x1fd5cc(0x44d)](_0x40fb95,_0x3dcb6a,_0x449fe1,_0x3ce56c),_0x285efc=new w()[_0x1fd5cc(0x4b7)](_0x40fb95,_0xc74f79),_0x4047a1={'unitId':_0x3695d0,'op':_0xc74f79},_0x2c7b8b={'unitId':_0x3695d0,'op':_0x285efc};return _0x4ff64e[_0x1fd5cc(0x3bb)](J['id'],_0x4047a1)?(_0xf342b0[_0x1fd5cc(0x36f)](_0x3695d0),_0x292cea[_0x1fd5cc(0x382)]({'unitID':_0x3695d0,'undoMutations':[{'id':J['id'],'params':_0x2c7b8b}],'redoMutations':[{'id':J['id'],'params':_0x4047a1}]}),!0x0):!0x1;}},_n={'id':_0x557ecf(0x264),'type':e['CommandType'][_0x557ecf(0x343)],'handler'(_0x613f53,_0x4c374a){const _0x265254=_0x557ecf;if(!_0x4c374a)return!0x1;let _0x59e88f=_0x613f53[_0x265254(0x487)](e[_0x265254(0x4ff)]),{unitId:_0x120f5c,tableId:_0x52cecc,field:_0x1e6708,index:_0x583502,viewIndexes:_0x3b619a}=_0x4c374a,_0x5d1a22=_0x59e88f[_0x265254(0x445)](_0x120f5c,e[_0x265254(0x435)][_0x265254(0x286)]);if(!_0x5d1a22||!Y(_0x5d1a22,_0x52cecc)||_0x5d1a22[_0x265254(0x392)]()[_0x265254(0x2b7)][_0x52cecc][_0x265254(0x40d)][_0x1e6708['id']])return!0x1;let _0x3acc6a=_0x613f53['get'](e[_0x265254(0x49f)]),_0x13fcb0=_0x613f53['get'](e[_0x265254(0x307)]),_0x3fedda=_0x613f53['get'](V)[_0x265254(0x336)](_0x5d1a22,_0x52cecc,_0x1e6708,_0x583502,_0x3b619a),_0x39e7b2=new w()[_0x265254(0x4b7)](_0x5d1a22['getSnapshot'](),_0x3fedda),_0x5ce5b6={'unitId':_0x120f5c,'op':_0x3fedda},_0x2afa92={'unitId':_0x120f5c,'op':_0x39e7b2};return _0x3acc6a[_0x265254(0x3bb)](J['id'],_0x5ce5b6)?(_0x59e88f[_0x265254(0x36f)](_0x120f5c),_0x13fcb0[_0x265254(0x382)]({'unitID':_0x120f5c,'undoMutations':[{'id':J['id'],'params':_0x2afa92}],'redoMutations':[{'id':J['id'],'params':_0x5ce5b6}]}),!0x0):!0x1;}},vn={'id':_0x557ecf(0x460),'type':e['CommandType']['COMMAND'],'handler'(_0x1bc45c,_0x1f4e5a){const _0x193c3c=_0x557ecf;if(!_0x1f4e5a)return!0x1;let _0x48f566=_0x1bc45c['get'](e['IUniverInstanceService']),{unitId:_0x400454,tableId:_0x4a2787,record:_0x550162}=_0x1f4e5a,_0x3f59eb=_0x48f566[_0x193c3c(0x445)](_0x400454,e[_0x193c3c(0x435)]['UNIVER_BASE']);if(!_0x3f59eb||!Y(_0x3f59eb,_0x4a2787)||_0x3f59eb[_0x193c3c(0x392)]()[_0x193c3c(0x2b7)][_0x4a2787][_0x193c3c(0x2ac)][_0x550162['id']])return!0x1;let _0x286019=_0x1bc45c[_0x193c3c(0x487)](e[_0x193c3c(0x49f)]),_0x5a92ef=_0x1bc45c['get'](e['IUndoRedoService']),_0x2f1d7d=_0x1bc45c['get'](V)['createCreateRecordOp'](_0x3f59eb,_0x4a2787,_0x550162),_0x23af55=new w()['invertOp'](_0x3f59eb[_0x193c3c(0x392)](),_0x2f1d7d),_0x2bed9a={'unitId':_0x400454,'op':_0x2f1d7d},_0x252b6b={'unitId':_0x400454,'op':_0x23af55};return _0x286019['syncExecuteCommand'](J['id'],_0x2bed9a)?(_0x48f566['focusUnit'](_0x400454),_0x5a92ef[_0x193c3c(0x382)]({'unitID':_0x400454,'undoMutations':[{'id':J['id'],'params':_0x252b6b}],'redoMutations':[{'id':J['id'],'params':_0x2bed9a}]}),!0x0):!0x1;}},yn={'id':_0x557ecf(0x21a),'type':e['CommandType'][_0x557ecf(0x343)],'handler':(_0x45d7ec,_0x16f98f)=>{const _0xbedc0c=_0x557ecf;if(!_0x16f98f)return!0x1;let _0x5929e0=_0x45d7ec[_0xbedc0c(0x487)](e[_0xbedc0c(0x4ff)]),{unitId:_0x1fb92e,table:_0x51b5e3,index:_0x4cae29}=_0x16f98f,_0x5db8fd=_0x5929e0[_0xbedc0c(0x445)](_0x1fb92e,e[_0xbedc0c(0x435)][_0xbedc0c(0x286)]);if(!_0x5db8fd||_0x5db8fd[_0xbedc0c(0x392)]()[_0xbedc0c(0x2b7)][_0x51b5e3['id']])return!0x1;let _0x36635a=_0x45d7ec[_0xbedc0c(0x487)](e[_0xbedc0c(0x49f)]),_0x5ed72e=_0x45d7ec[_0xbedc0c(0x487)](e['IUndoRedoService']),_0x222550=_0x5db8fd[_0xbedc0c(0x392)](),_0x3e1dfe={..._0x51b5e3,'name':_0x5db8fd[_0xbedc0c(0x2dc)](_0x51b5e3[_0xbedc0c(0x3c4)])},_0x1ac2d8=new P()[_0xbedc0c(0x391)](_0x222550,_0x3e1dfe,_0x4cae29),_0x4c704c=new w()['invertOp'](_0x222550,_0x1ac2d8),_0xbc4801={'unitId':_0x1fb92e,'op':_0x1ac2d8},_0x4814fe={'unitId':_0x1fb92e,'op':_0x4c704c};return _0x36635a[_0xbedc0c(0x3bb)](J['id'],_0xbc4801)?(_0x5929e0[_0xbedc0c(0x36f)](_0x1fb92e),_0x5ed72e[_0xbedc0c(0x382)]({'unitID':_0x1fb92e,'undoMutations':[{'id':J['id'],'params':_0x4814fe}],'redoMutations':[{'id':J['id'],'params':_0xbc4801}]}),!0x0):!0x1;}};function bn(_0x370a4d,_0x500bc0,_0x326bd8=[]){const _0x4ab369=_0x557ecf;let _0x2c659c=new Set([...Object[_0x4ab369(0x4f9)](_0x370a4d[_0x4ab369(0x40d)])['filter'](_0x390b12=>_0x390b12)[_0x4ab369(0x274)](_0x1fdf9d=>_0x1fdf9d[_0x4ab369(0x3c4)]),..._0x326bd8[_0x4ab369(0x274)](_0x639cdb=>_0x639cdb['name'])]);if(!_0x2c659c[_0x4ab369(0x25a)](_0x500bc0))return _0x500bc0;let _0x1db643=0x2;for(;_0x2c659c[_0x4ab369(0x25a)](_0x500bc0+'\x20'+_0x1db643);)_0x1db643++;return _0x500bc0+'\x20'+_0x1db643;}function xn(_0x58e5b3,_0x29cb33){const _0x485faa=_0x557ecf;if(!_0x58e5b3||!_0x29cb33[_0x485faa(0x323)])return;let _0x469c36=[..._0x58e5b3];return _0x29cb33[_0x485faa(0x4c8)](_0x58e8f9=>{const _0x744369=_0x485faa;_0x469c36[_0x744369(0x30f)](_0x58e8f9)||_0x469c36['push'](_0x58e8f9);}),_0x469c36;}const Sn={'options':[{'id':_0x557ecf(0x30e),'name':_0x557ecf(0x44b),'color':'#BFDBFE'},{'id':_0x557ecf(0x233),'name':_0x557ecf(0x305),'color':_0x557ecf(0x4a7)},{'id':_0x557ecf(0x410),'name':_0x557ecf(0x2c0),'color':_0x557ecf(0x378)}]},Cn={'locale':_0x557ecf(0x3cf),'pattern':_0x557ecf(0x43f),'includeTime':!0x1,'hourCycle':_0x557ecf(0x359),'defaultMode':_0x557ecf(0x210)};function wn(_0xf6749d,_0x193eef,_0xf73216,_0x56cede){const _0xf1b937=_0x557ecf;var _0x31b2a2;let _0x3f1efb=new P(),_0x14a792=_0xf6749d[_0xf1b937(0x2b7)][_0x193eef];if(_0x14a792&&_0xf73216[_0xf1b937(0x26a)]===_0xf1b937(0x4d3)){var _0x58714b;let _0x544856=En(_0x14a792,_0xf73216),_0x273618=_0x544856[_0xf1b937(0x21f)]?{..._0xf73216,'config':_0x544856[_0xf1b937(0x294)],'fieldOrder':(_0x58714b=_0x544856[_0xf1b937(0x3e0)])==null?_0xf73216[_0xf1b937(0x3e0)]:_0x58714b}:_0xf73216;return N([..._0x544856[_0xf1b937(0x40d)][_0xf1b937(0x274)](_0xde025a=>_0x3f1efb[_0xf1b937(0x238)](_0xf6749d,_0x193eef,{'field':_0xde025a})),_0x3f1efb[_0xf1b937(0x215)](_0xf6749d,_0x193eef,_0x273618,_0x56cede)]);}if(!_0x14a792||_0xf73216[_0xf1b937(0x26a)]!==_0xf1b937(0x41d)&&_0xf73216[_0xf1b937(0x26a)]!=='gantt')return _0x3f1efb[_0xf1b937(0x215)](_0xf6749d,_0x193eef,_0xf73216,_0x56cede);let _0x4a2752=Tn(_0x14a792,_0xf73216),_0x3f5c6c=_0x4a2752[_0xf1b937(0x21f)]?{..._0xf73216,'config':_0x4a2752[_0xf1b937(0x294)],'fieldOrder':(_0x31b2a2=_0x4a2752[_0xf1b937(0x3e0)])==null?_0xf73216[_0xf1b937(0x3e0)]:_0x31b2a2}:_0xf73216;return _0xf73216[_0xf1b937(0x26a)]===_0xf1b937(0x372)&&kn(_0xf73216)&&(_0x3f5c6c=An(_0x14a792,_0x3f5c6c,_0x4a2752['fields'])),N([..._0x4a2752[_0xf1b937(0x40d)]['map'](_0x190c17=>_0x3f1efb[_0xf1b937(0x238)](_0xf6749d,_0x193eef,{'field':_0x190c17})),_0x3f1efb[_0xf1b937(0x215)](_0xf6749d,_0x193eef,_0x3f5c6c,_0x56cede)]);}function Tn(_0x3b40f5,_0x2429c9,_0x4a8c5a=!0x1){const _0x1887d4=_0x557ecf;var _0x55fd00,_0x2f0559,_0x56f774,_0x220dd7;let _0x101d2a=_0x3b40f5[_0x1887d4(0x3e0)][_0x1887d4(0x2fe)](_0x4000ef=>Mn(_0x3b40f5,_0x4000ef)),_0x1bf37f=[],_0x812287={...(_0x55fd00=_0x2429c9['config'])==null?{}:_0x55fd00},_0x5f0e7b=typeof _0x812287[_0x1887d4(0x2f6)]==_0x1887d4(0x39d)&&Mn(_0x3b40f5,_0x812287['startDateFieldId'])?_0x812287[_0x1887d4(0x2f6)]:_0x101d2a[0x0],_0x1e8855=typeof _0x812287[_0x1887d4(0x40f)]==_0x1887d4(0x39d)&&Mn(_0x3b40f5,_0x812287[_0x1887d4(0x40f)])&&_0x812287['endDateFieldId']!==_0x5f0e7b?_0x812287[_0x1887d4(0x40f)]:_0x101d2a[_0x1887d4(0x4c1)](_0xa77bc7=>_0xa77bc7!==_0x5f0e7b);if(!_0x5f0e7b){let _0x2f485b=Nn(_0x3b40f5,_0x1bf37f,_0x2429c9['type']===_0x1887d4(0x372)?_0x1887d4(0x4ed):_0x1887d4(0x272));_0x1bf37f[_0x1887d4(0x43e)](_0x2f485b),_0x5f0e7b=_0x2f485b['id'];}if((_0x2429c9[_0x1887d4(0x26a)]===_0x1887d4(0x372)||_0x4a8c5a)&&!_0x1e8855){let _0x32be91=Nn(_0x3b40f5,_0x1bf37f,_0x1887d4(0x461));_0x1bf37f[_0x1887d4(0x43e)](_0x32be91),_0x1e8855=_0x32be91['id'];}if(_0x2429c9[_0x1887d4(0x26a)]==='calendar'&&!_0x1e8855&&delete _0x812287[_0x1887d4(0x40f)],_0x812287['startDateFieldId']=_0x5f0e7b,_0x2429c9[_0x1887d4(0x26a)]===_0x1887d4(0x41d)&&_0x1e8855&&(_0x812287['endDateFieldId']=_0x1e8855),_0x2429c9[_0x1887d4(0x26a)]===_0x1887d4(0x372)){var _0x57f1a7;_0x812287[_0x1887d4(0x40f)]=(_0x57f1a7=_0x1e8855)==null?_0x5f0e7b:_0x57f1a7;}let _0x77a9e0=xn(_0x2429c9[_0x1887d4(0x3e0)],_0x1bf37f[_0x1887d4(0x274)](_0x5e0d83=>_0x5e0d83['id']));return{'changed':_0x1bf37f['length']>0x0||_0x812287[_0x1887d4(0x2f6)]!==((_0x2f0559=_0x2429c9['config'])==null?void 0x0:_0x2f0559[_0x1887d4(0x2f6)])||_0x812287[_0x1887d4(0x40f)]!==((_0x56f774=_0x2429c9[_0x1887d4(0x294)])==null?void 0x0:_0x56f774['endDateFieldId'])||!!(_0x77a9e0&&!e[_0x1887d4(0x374)][_0x1887d4(0x459)](_0x77a9e0,(_0x220dd7=_0x2429c9[_0x1887d4(0x3e0)])==null?[]:_0x220dd7)),'fields':_0x1bf37f,'config':_0x812287,'fieldOrder':_0x77a9e0};}function En(_0xcca716,_0x2ad0a4){const _0x3a9f39=_0x557ecf;var _0x1609af,_0x539346,_0x180ddc;let _0x540800=[],_0x27cf03={...(_0x1609af=_0x2ad0a4[_0x3a9f39(0x294)])==null?{}:_0x1609af},_0x11238f=typeof _0x27cf03[_0x3a9f39(0x1f6)]==_0x3a9f39(0x39d)&&Dn(_0xcca716,_0x27cf03[_0x3a9f39(0x1f6)])?_0x27cf03[_0x3a9f39(0x1f6)]:_0xcca716['fieldOrder'][_0x3a9f39(0x4c1)](_0x17513d=>Dn(_0xcca716,_0x17513d));if(!_0x11238f){let _0x5b8e55=On(_0xcca716,_0x540800);_0x540800['push'](_0x5b8e55),_0x11238f=_0x5b8e55['id'];}_0x27cf03[_0x3a9f39(0x1f6)]=_0x11238f;let _0x14c644=xn(_0x2ad0a4[_0x3a9f39(0x3e0)],_0x540800[_0x3a9f39(0x274)](_0x5b43cd=>_0x5b43cd['id']));return{'changed':_0x540800[_0x3a9f39(0x323)]>0x0||_0x27cf03[_0x3a9f39(0x1f6)]!==((_0x539346=_0x2ad0a4[_0x3a9f39(0x294)])==null?void 0x0:_0x539346['groupFieldId'])||!!(_0x14c644&&!e[_0x3a9f39(0x374)][_0x3a9f39(0x459)](_0x14c644,(_0x180ddc=_0x2ad0a4[_0x3a9f39(0x3e0)])==null?[]:_0x180ddc)),'fields':_0x540800,'config':_0x27cf03,'fieldOrder':_0x14c644};}function Dn(_0x1a3f31,_0x44d4b7){const _0x5737ee=_0x557ecf;let _0x5cdb19=_0x44d4b7?_0x1a3f31['fields'][_0x44d4b7]:null;return _0x5cdb19?[e['BaseFieldType'][_0x5737ee(0x22d)],e[_0x5737ee(0x29e)][_0x5737ee(0x2f7)],e[_0x5737ee(0x29e)][_0x5737ee(0x3b6)],e[_0x5737ee(0x29e)][_0x5737ee(0x261)],e[_0x5737ee(0x29e)][_0x5737ee(0x3dc)],e['BaseFieldType']['Checkbox']][_0x5737ee(0x30f)](_0x5cdb19[_0x5737ee(0x26a)]):!0x1;}function On(_0x43e7cf,_0x46909b){const _0x4740e1=_0x557ecf;return{'id':_0x4740e1(0x44a)+(0x0,e[_0x4740e1(0x3e4)])(0x8),'name':bn(_0x43e7cf,_0x4740e1(0x424),_0x46909b),'type':e[_0x4740e1(0x29e)][_0x4740e1(0x22d)],'config':e[_0x4740e1(0x374)]['deepClone'](Sn)};}function kn(_0xa73600){const _0x458c45=_0x557ecf;var _0x326f61,_0x5c90f5;return Object[_0x458c45(0x4b1)]((_0x326f61=_0xa73600[_0x458c45(0x294)])==null?{}:_0x326f61)['length']===0x0&&Object[_0x458c45(0x4b1)]((_0x5c90f5=_0xa73600[_0x458c45(0x3b5)])==null?{}:_0x5c90f5)['length']===0x0;}function An(_0x31666a,_0xdb46b8,_0x25c873){const _0x581bba=_0x557ecf;var _0x5d2ba2;let _0x1c9a4b={...(_0x5d2ba2=_0xdb46b8[_0x581bba(0x294)])==null?{}:_0x5d2ba2},_0x4bc2a4=_0x25c873[_0x581bba(0x274)](_0x15a498=>_0x15a498['id']),_0x4f7af6=[..._0x31666a['fieldOrder'],..._0x4bc2a4],_0x420203=typeof _0x1c9a4b['titleFieldId']==_0x581bba(0x39d)&&jn(_0x31666a,_0x25c873,_0x1c9a4b['titleFieldId'])?_0x1c9a4b['titleFieldId']:_0x31666a[_0x581bba(0x4a0)],_0x8ff630=typeof _0x1c9a4b[_0x581bba(0x2f6)]==_0x581bba(0x39d)?_0x1c9a4b[_0x581bba(0x2f6)]:'',_0x28b33d=typeof _0x1c9a4b[_0x581bba(0x40f)]==_0x581bba(0x39d)?_0x1c9a4b[_0x581bba(0x40f)]:_0x8ff630,_0x297a4d=new Set([_0x420203,_0x8ff630,_0x28b33d][_0x581bba(0x2fe)](_0x47179f=>_0x47179f&&jn(_0x31666a,_0x25c873,_0x47179f))),_0xc183b7=Object['fromEntries'](_0x4f7af6[_0x581bba(0x454)](_0xbbd723=>_0x297a4d[_0x581bba(0x25a)](_0xbbd723)||!jn(_0x31666a,_0x25c873,_0xbbd723)?[]:[[_0xbbd723,{'hidden':!0x0}]]));return{..._0xdb46b8,'config':{..._0x1c9a4b,'titleFieldId':_0x420203},'fieldSettings':_0xc183b7};}function jn(_0x4be760,_0x1c18d5,_0x186ab1){const _0x4e1fff=_0x557ecf;var _0x4d3c28;return!!((_0x4d3c28=_0x4be760[_0x4e1fff(0x40d)][_0x186ab1])==null?_0x1c18d5[_0x4e1fff(0x4c1)](_0x2be778=>_0x2be778['id']===_0x186ab1):_0x4d3c28)&&!0x0;}function Mn(_0x5874ff,_0x6c1fb2){const _0x1ba1e3=_0x557ecf;let _0x99ae50=_0x6c1fb2?_0x5874ff[_0x1ba1e3(0x40d)][_0x6c1fb2]:null;return!!_0x99ae50&&_0x99ae50['type']===e[_0x1ba1e3(0x29e)][_0x1ba1e3(0x272)]&&_0x99ae50[_0x1ba1e3(0x2b9)]!==!0x0&&_0x99ae50[_0x1ba1e3(0x324)]!==!0x0;}function Nn(_0x5da853,_0x5cc254,_0x353779){const _0x4ee6c1=_0x557ecf;let _0x5a637e=new Set([...Object[_0x4ee6c1(0x4b1)](_0x5da853['fields']),..._0x5cc254[_0x4ee6c1(0x274)](_0x29faad=>_0x29faad['id'])]),_0x2be4ba='fld-'+(0x0,e[_0x4ee6c1(0x3e4)])(0x8);for(;_0x5a637e[_0x4ee6c1(0x25a)](_0x2be4ba);)_0x2be4ba=_0x4ee6c1(0x44a)+(0x0,e['generateRandomId'])(0x8);return{'id':_0x2be4ba,'name':bn(_0x5da853,_0x353779,_0x5cc254),'type':e[_0x4ee6c1(0x29e)]['Date'],'config':{...Cn}};}const Pn={'id':_0x557ecf(0x489),'type':e[_0x557ecf(0x485)][_0x557ecf(0x343)],'handler':(_0x282280,_0x4ad684)=>{const _0x59520b=_0x557ecf;if(!_0x4ad684)return!0x1;let _0x30bbc4=_0x282280[_0x59520b(0x487)](e[_0x59520b(0x4ff)]),{unitId:_0x4f8520,tableId:_0x253c5a,view:_0x2eadcf,index:_0x348590}=_0x4ad684,_0x2fa1fa=_0x30bbc4[_0x59520b(0x445)](_0x4f8520,e[_0x59520b(0x435)][_0x59520b(0x286)]);if(!_0x2fa1fa||!Y(_0x2fa1fa,_0x253c5a)||_0x2fa1fa[_0x59520b(0x392)]()['tables'][_0x253c5a]['views'][_0x2eadcf['id']])return!0x1;let _0x5aec43=_0x282280[_0x59520b(0x487)](e[_0x59520b(0x49f)]),_0x471339=_0x282280[_0x59520b(0x487)](e[_0x59520b(0x307)]),_0x583f63=_0x2fa1fa[_0x59520b(0x392)](),_0x260180=wn(_0x583f63,_0x253c5a,_0x2eadcf,_0x348590),_0x9b4578=new w()[_0x59520b(0x4b7)](_0x583f63,_0x260180),_0x5d2902={'unitId':_0x4f8520,'op':_0x260180},_0x53bab7={'unitId':_0x4f8520,'op':_0x9b4578};return _0x5aec43[_0x59520b(0x3bb)](J['id'],_0x5d2902)?(_0x30bbc4[_0x59520b(0x36f)](_0x4f8520),_0x471339[_0x59520b(0x382)]({'unitID':_0x4f8520,'undoMutations':[{'id':J['id'],'params':_0x53bab7}],'redoMutations':[{'id':J['id'],'params':_0x5d2902}]}),!0x0):!0x1;}},Fn={'id':'base.command.delete-base-field','type':e[_0x557ecf(0x485)][_0x557ecf(0x343)],'handler'(_0x12d5c5,_0x51fcc1){const _0x20b429=_0x557ecf;if(!_0x51fcc1)return!0x1;let _0x5175aa=_0x12d5c5[_0x20b429(0x487)](e[_0x20b429(0x4ff)]),{unitId:_0x5e0bb8,tableId:_0x12e46b,fieldId:_0x2f8ca4}=_0x51fcc1,_0x454744=_0x5175aa['getUnit'](_0x5e0bb8,e[_0x20b429(0x435)][_0x20b429(0x286)]);if(!_0x454744)return!0x1;let _0x16a069=_0x454744['getSnapshot'](),_0x5cd1b7=_0x16a069['tables'][_0x12e46b];if(!Y(_0x454744,_0x12e46b,{'fieldIds':[_0x2f8ca4]})||_0x5cd1b7[_0x20b429(0x4a0)]===_0x2f8ca4)return!0x1;let _0x2ce282=_0x12d5c5[_0x20b429(0x487)](e[_0x20b429(0x49f)]),_0x8f33d3=_0x12d5c5[_0x20b429(0x487)](e[_0x20b429(0x307)]),_0x3efc70=new P()[_0x20b429(0x301)](_0x16a069,_0x12e46b,_0x2f8ca4),_0x1fc0d2=new w()[_0x20b429(0x4b7)](_0x16a069,_0x3efc70),_0x2d7445={'unitId':_0x5e0bb8,'op':_0x3efc70},_0x52e31a={'unitId':_0x5e0bb8,'op':_0x1fc0d2};return _0x2ce282[_0x20b429(0x3bb)](J['id'],_0x2d7445)?(_0x5175aa[_0x20b429(0x36f)](_0x5e0bb8),_0x8f33d3[_0x20b429(0x382)]({'unitID':_0x5e0bb8,'undoMutations':[{'id':J['id'],'params':_0x52e31a}],'redoMutations':[{'id':J['id'],'params':_0x2d7445}]}),!0x0):!0x1;}},In={'id':_0x557ecf(0x38e),'type':e[_0x557ecf(0x485)][_0x557ecf(0x343)],'handler':(_0x44e405,_0x51e076)=>{const _0x14ed31=_0x557ecf;if(!_0x51e076)return!0x1;let _0x8494f1=_0x44e405[_0x14ed31(0x487)](e[_0x14ed31(0x4ff)]),{unitId:_0x558e7e,tableId:_0x23e4ec,recordId:_0x5e95be}=_0x51e076,_0x819d97=_0x8494f1['getUnit'](_0x558e7e,e[_0x14ed31(0x435)]['UNIVER_BASE']);if(!_0x819d97||!Y(_0x819d97,_0x23e4ec,{'recordIds':[_0x5e95be]}))return!0x1;let _0x3bd9c2=_0x44e405[_0x14ed31(0x487)](e[_0x14ed31(0x49f)]),_0x3b4404=_0x44e405[_0x14ed31(0x487)](e[_0x14ed31(0x307)]),_0x3bd467=_0x819d97[_0x14ed31(0x392)](),_0x2a2450=new P()[_0x14ed31(0x38a)](_0x3bd467,_0x23e4ec,_0x5e95be),_0x49674f=new w()[_0x14ed31(0x4b7)](_0x3bd467,_0x2a2450),_0x4498cd={'unitId':_0x558e7e,'op':_0x2a2450},_0x39a699={'unitId':_0x558e7e,'op':_0x49674f};return _0x3bd9c2[_0x14ed31(0x3bb)](J['id'],_0x4498cd)?(_0x8494f1[_0x14ed31(0x36f)](_0x558e7e),_0x3b4404[_0x14ed31(0x382)]({'unitID':_0x558e7e,'undoMutations':[{'id':J['id'],'params':_0x39a699}],'redoMutations':[{'id':J['id'],'params':_0x4498cd}]}),!0x0):!0x1;}},Ln={'id':_0x557ecf(0x39f),'type':e[_0x557ecf(0x485)][_0x557ecf(0x343)],'handler':(_0x5b0fed,_0x430e66)=>{const _0x2398bb=_0x557ecf;if(!_0x430e66)return!0x1;let _0x412c3c=_0x5b0fed['get'](e['IUniverInstanceService']),{unitId:_0x58f763,tableId:_0x1dbbb4}=_0x430e66,_0x16ac17=_0x412c3c['getUnit'](_0x58f763,e['UniverInstanceType']['UNIVER_BASE']);if(!_0x16ac17||!Y(_0x16ac17,_0x1dbbb4))return!0x1;let _0x83d01c=_0x5b0fed['get'](e[_0x2398bb(0x49f)]),_0x36f158=_0x5b0fed[_0x2398bb(0x487)](e[_0x2398bb(0x307)]),_0x484bb0=_0x16ac17[_0x2398bb(0x392)](),_0x3e3594=new P()[_0x2398bb(0x381)](_0x484bb0,_0x1dbbb4),_0x2cdb11=new w()[_0x2398bb(0x4b7)](_0x484bb0,_0x3e3594),_0x119304={'unitId':_0x58f763,'op':_0x3e3594},_0x3353f7={'unitId':_0x58f763,'op':_0x2cdb11};return _0x83d01c['syncExecuteCommand'](J['id'],_0x119304)?(_0x412c3c[_0x2398bb(0x36f)](_0x58f763),_0x36f158[_0x2398bb(0x382)]({'unitID':_0x58f763,'undoMutations':[{'id':J['id'],'params':_0x3353f7}],'redoMutations':[{'id':J['id'],'params':_0x119304}]}),!0x0):!0x1;}},Rn={'id':_0x557ecf(0x1e2),'type':e['CommandType'][_0x557ecf(0x343)],'handler':(_0x6b409b,_0x4e9595)=>{const _0x18de5c=_0x557ecf;if(!_0x4e9595)return!0x1;let _0x35ef84=_0x6b409b[_0x18de5c(0x487)](e['IUniverInstanceService']),{unitId:_0x1884a5,tableId:_0x6284e8,viewId:_0x1475ae}=_0x4e9595,_0x4b2415=_0x35ef84['getUnit'](_0x1884a5,e['UniverInstanceType'][_0x18de5c(0x286)]);if(!_0x4b2415||!Y(_0x4b2415,_0x6284e8,{'viewIds':[_0x1475ae]}))return!0x1;let _0x5574=_0x6b409b['get'](e['ICommandService']),_0x54b19e=_0x6b409b[_0x18de5c(0x487)](e[_0x18de5c(0x307)]),_0x403521=_0x4b2415[_0x18de5c(0x392)](),_0xfd8972=new P()[_0x18de5c(0x320)](_0x403521,_0x6284e8,_0x1475ae),_0x3a3bb7=new w()[_0x18de5c(0x4b7)](_0x403521,_0xfd8972),_0x4a404a={'unitId':_0x1884a5,'op':_0xfd8972},_0xb432e6={'unitId':_0x1884a5,'op':_0x3a3bb7};return _0x5574[_0x18de5c(0x3bb)](J['id'],_0x4a404a)?(_0x35ef84[_0x18de5c(0x36f)](_0x1884a5),_0x54b19e['pushUndoRedo']({'unitID':_0x1884a5,'undoMutations':[{'id':J['id'],'params':_0xb432e6}],'redoMutations':[{'id':J['id'],'params':_0x4a404a}]}),!0x0):!0x1;}},zn={'id':_0x557ecf(0x243),'type':e[_0x557ecf(0x485)]['COMMAND'],'handler':(_0x2b2593,_0x10092c)=>{const _0x582d16=_0x557ecf;if(!_0x10092c)return!0x1;let _0x988a44=_0x2b2593[_0x582d16(0x487)](e[_0x582d16(0x4ff)]),{unitId:_0x5f5741,tableId:_0x123612,sourceFieldId:_0x331aeb,field:_0x136916,index:_0x4f18e7,viewIndexes:_0xdaf0f}=_0x10092c,_0x25c463=_0x988a44[_0x582d16(0x445)](_0x5f5741,e[_0x582d16(0x435)][_0x582d16(0x286)]);if(!_0x25c463||!Y(_0x25c463,_0x123612,{'fieldIds':[_0x331aeb]})||_0x25c463[_0x582d16(0x392)]()[_0x582d16(0x2b7)][_0x123612]['fields'][_0x136916['id']])return!0x1;let _0x5109a9=_0x2b2593[_0x582d16(0x487)](e[_0x582d16(0x49f)]),_0x48f8ce=_0x2b2593[_0x582d16(0x487)](e['IUndoRedoService']),_0x5d7007=_0x25c463[_0x582d16(0x392)](),_0x2ad444=new P()[_0x582d16(0x24f)](_0x5d7007,_0x123612,_0x331aeb,{'field':_0x136916,'index':_0x4f18e7,'viewIndexes':_0xdaf0f}),_0x9c53a2=new w()[_0x582d16(0x4b7)](_0x5d7007,_0x2ad444),_0x54fc8b={'unitId':_0x5f5741,'op':_0x2ad444},_0x47227b={'unitId':_0x5f5741,'op':_0x9c53a2};return _0x5109a9['syncExecuteCommand'](J['id'],_0x54fc8b)?(_0x988a44['focusUnit'](_0x5f5741),_0x48f8ce['pushUndoRedo']({'unitID':_0x5f5741,'undoMutations':[{'id':J['id'],'params':_0x47227b}],'redoMutations':[{'id':J['id'],'params':_0x54fc8b}]}),!0x0):!0x1;}},Bn={'id':_0x557ecf(0x2ba),'type':e[_0x557ecf(0x485)][_0x557ecf(0x343)],'handler':(_0x53fc77,_0x5f1f65)=>{const _0xf9ca79=_0x557ecf;if(!_0x5f1f65)return!0x1;let _0x23cbca=_0x53fc77[_0xf9ca79(0x487)](e[_0xf9ca79(0x4ff)]),{unitId:_0x2ca12f,tableId:_0x5c624d,sourceRecordId:_0x41c67b,record:_0x57be1a}=_0x5f1f65,_0x3616d4=_0x23cbca[_0xf9ca79(0x445)](_0x2ca12f,e[_0xf9ca79(0x435)][_0xf9ca79(0x286)]);if(!_0x3616d4||!Y(_0x3616d4,_0x5c624d,{'recordIds':[_0x41c67b]})||_0x3616d4['getSnapshot']()['tables'][_0x5c624d]['records'][_0x57be1a['id']])return!0x1;let _0x158863=_0x53fc77[_0xf9ca79(0x487)](e[_0xf9ca79(0x49f)]),_0x9d7989=_0x53fc77[_0xf9ca79(0x487)](e['IUndoRedoService']),_0x1c9332=_0x3616d4['getSnapshot'](),_0x16bfff=new P()[_0xf9ca79(0x2d3)](_0x1c9332,_0x5c624d,_0x41c67b,_0x57be1a),_0x9cf757=new w()[_0xf9ca79(0x4b7)](_0x1c9332,_0x16bfff),_0x32ace0={'unitId':_0x2ca12f,'op':_0x16bfff},_0x114188={'unitId':_0x2ca12f,'op':_0x9cf757};return _0x158863[_0xf9ca79(0x3bb)](J['id'],_0x32ace0)?(_0x23cbca[_0xf9ca79(0x36f)](_0x2ca12f),_0x9d7989['pushUndoRedo']({'unitID':_0x2ca12f,'undoMutations':[{'id':J['id'],'params':_0x114188}],'redoMutations':[{'id':J['id'],'params':_0x32ace0}]}),!0x0):!0x1;}},Vn={'id':_0x557ecf(0x2f4),'type':e[_0x557ecf(0x485)]['COMMAND'],'handler'(_0x284d2d,_0x71432){const _0x3379ad=_0x557ecf;if(!_0x71432)return!0x1;let _0x2a8c06=_0x284d2d[_0x3379ad(0x487)](e[_0x3379ad(0x4ff)]),{unitId:_0x9be88d,tableId:_0x12f275,viewId:_0xcf0e32,ensureEndDateField:_0x41ffb0}=_0x71432,_0x447bff=_0x2a8c06[_0x3379ad(0x445)](_0x9be88d,e[_0x3379ad(0x435)]['UNIVER_BASE']);if(!_0x447bff||!Y(_0x447bff,_0x12f275,{'viewIds':[_0xcf0e32]}))return!0x1;let _0xbd21f4=_0x447bff['getSnapshot'](),_0x33dfa5=_0xbd21f4[_0x3379ad(0x2b7)][_0x12f275],_0x44f8c5=_0x33dfa5==null?void 0x0:_0x33dfa5[_0x3379ad(0x45e)][_0xcf0e32];if(!_0x33dfa5||!_0x44f8c5||_0x44f8c5[_0x3379ad(0x26a)]!==_0x3379ad(0x41d)&&_0x44f8c5['type']!=='gantt')return!0x1;let _0x17eaf0=Tn(_0x33dfa5,_0x44f8c5,_0x41ffb0===!0x0);if(!_0x17eaf0[_0x3379ad(0x21f)])return!0x1;let _0x4f6661=_0x284d2d[_0x3379ad(0x487)](e[_0x3379ad(0x49f)]),_0x2af5e9=_0x284d2d[_0x3379ad(0x487)](e[_0x3379ad(0x307)]),_0xbb5632=new P(),_0x4bf5a0=[..._0x17eaf0[_0x3379ad(0x40d)]['map'](_0x369db6=>_0xbb5632['createField'](_0xbd21f4,_0x71432['tableId'],{'field':_0x369db6})),Hn([...Un(_0x71432[_0x3379ad(0x3e9)],_0x71432['viewId']),_0x3379ad(0x294)],_0x44f8c5['config'],_0x17eaf0['config'])];_0x17eaf0[_0x3379ad(0x3e0)]&&_0x4bf5a0[_0x3379ad(0x43e)](Hn([...Un(_0x71432['tableId'],_0x71432[_0x3379ad(0x32e)]),_0x3379ad(0x3e0)],_0x44f8c5['fieldOrder'],_0x17eaf0['fieldOrder']));let _0x4c4279=N(_0x4bf5a0),_0x5c545f=new w()['invertOp'](_0xbd21f4,_0x4c4279),_0x663ef9={'unitId':_0x9be88d,'op':_0x4c4279},_0x4ae4b6={'unitId':_0x9be88d,'op':_0x5c545f};return _0x4f6661[_0x3379ad(0x3bb)](J['id'],_0x663ef9)?(_0x2a8c06[_0x3379ad(0x36f)](_0x9be88d),_0x2af5e9[_0x3379ad(0x382)]({'unitID':_0x9be88d,'undoMutations':[{'id':J['id'],'params':_0x4ae4b6}],'redoMutations':[{'id':J['id'],'params':_0x663ef9}]}),!0x0):!0x1;}};function Hn(_0x46b3bc,_0x5d26da,_0x49d956){const _0x983ea6=_0x557ecf;return _0x5d26da===void 0x0?e[_0x983ea6(0x2a3)]['insertOp'](_0x46b3bc,_0x49d956):e['JSON1'][_0x983ea6(0x4ee)](_0x46b3bc,_0x5d26da,_0x49d956);}function Un(_0x407e8b,_0x1d958a){const _0x26e2de=_0x557ecf;return[_0x26e2de(0x2b7),_0x407e8b,_0x26e2de(0x45e),_0x1d958a];}const Wn={'id':'base.command.move-base-field','type':e[_0x557ecf(0x485)]['COMMAND'],'handler':(_0x6c47a7,_0x35cd6f)=>{const _0x34278c=_0x557ecf;var _0x175850;if(!_0x35cd6f)return!0x1;let _0x171583=_0x6c47a7[_0x34278c(0x487)](e['IUniverInstanceService']),{unitId:_0xe4ed95,tableId:_0x4fc6f3,fieldId:_0x1dbfb2,target:_0x1fe475}=_0x35cd6f,_0x3952fc=_0x171583['getUnit'](_0xe4ed95,e[_0x34278c(0x435)]['UNIVER_BASE']),_0x55bed3=(_0x175850=_0x1fe475[_0x34278c(0x4ad)])==null?_0x1fe475[_0x34278c(0x2d7)]:_0x175850;if(!_0x3952fc||!!_0x1fe475['beforeFieldId']==!!_0x1fe475['afterFieldId']||!_0x55bed3||_0x55bed3===_0x1dbfb2||!Y(_0x3952fc,_0x4fc6f3,{'fieldIds':[_0x1dbfb2,_0x55bed3]}))return!0x1;let _0x428e59=_0x6c47a7[_0x34278c(0x487)](e[_0x34278c(0x49f)]),_0x1a5719=_0x6c47a7['get'](e[_0x34278c(0x307)]),_0x3f9b3a=_0x3952fc[_0x34278c(0x392)](),_0x24110e=new P()['moveField'](_0x3f9b3a,_0x4fc6f3,_0x1dbfb2,_0x1fe475),_0x190497=new w()[_0x34278c(0x4b7)](_0x3f9b3a,_0x24110e),_0x40ca70={'unitId':_0xe4ed95,'op':_0x24110e},_0x3a12b4={'unitId':_0xe4ed95,'op':_0x190497};return _0x428e59['syncExecuteCommand'](J['id'],_0x40ca70)?(_0x171583[_0x34278c(0x36f)](_0xe4ed95),_0x1a5719['pushUndoRedo']({'unitID':_0xe4ed95,'undoMutations':[{'id':J['id'],'params':_0x3a12b4}],'redoMutations':[{'id':J['id'],'params':_0x40ca70}]}),!0x0):!0x1;}},Gn={'id':_0x557ecf(0x4e6),'type':e[_0x557ecf(0x485)]['COMMAND'],'handler':(_0x360ca0,_0x37449d)=>{const _0x4e3d87=_0x557ecf;var _0x30b817;if(!_0x37449d)return!0x1;let _0x4ee39b=_0x360ca0[_0x4e3d87(0x487)](e[_0x4e3d87(0x4ff)]),{unitId:_0x5b2166,tableId:_0x2c22a2,viewId:_0x1bce99,target:_0x50b6e0}=_0x37449d,_0x1424c4=_0x4ee39b[_0x4e3d87(0x445)](_0x5b2166,e['UniverInstanceType'][_0x4e3d87(0x286)]),_0x3b93bd=(_0x30b817=_0x50b6e0[_0x4e3d87(0x3b8)])==null?_0x50b6e0['afterViewId']:_0x30b817;if(!_0x1424c4||!_0x3b93bd||_0x3b93bd===_0x1bce99||!Y(_0x1424c4,_0x2c22a2,{'viewIds':[_0x1bce99,_0x3b93bd]}))return!0x1;let _0x150db2=_0x360ca0[_0x4e3d87(0x487)](e[_0x4e3d87(0x49f)]),_0x30aa13=_0x360ca0[_0x4e3d87(0x487)](e[_0x4e3d87(0x307)]),_0x7415a9=_0x1424c4[_0x4e3d87(0x392)](),_0x2612c3=new P()[_0x4e3d87(0x4e2)](_0x7415a9,_0x2c22a2,_0x1bce99,_0x50b6e0),_0x467bce=new w()[_0x4e3d87(0x4b7)](_0x7415a9,_0x2612c3),_0x28fd1a={'unitId':_0x5b2166,'op':_0x2612c3},_0x4b0316={'unitId':_0x5b2166,'op':_0x467bce};return _0x150db2['syncExecuteCommand'](J['id'],_0x28fd1a)?(_0x4ee39b['focusUnit'](_0x5b2166),_0x30aa13['pushUndoRedo']({'unitID':_0x5b2166,'undoMutations':[{'id':J['id'],'params':_0x4b0316}],'redoMutations':[{'id':J['id'],'params':_0x28fd1a}]}),!0x0):!0x1;}},Kn={'id':'base.command.rename-base-table','type':e[_0x557ecf(0x485)]['COMMAND'],'handler':(_0x18d2ff,_0x1b0d28)=>{const _0x2caf9a=_0x557ecf;if(!_0x1b0d28)return!0x1;let _0x3ad5b1=_0x18d2ff[_0x2caf9a(0x487)](e[_0x2caf9a(0x4ff)]),{unitId:_0x20d6a7,tableId:_0x2edb0b,name:_0x5d3694}=_0x1b0d28,_0x5a2d58=_0x3ad5b1[_0x2caf9a(0x445)](_0x20d6a7,e['UniverInstanceType'][_0x2caf9a(0x286)]);if(!_0x5a2d58||!Y(_0x5a2d58,_0x2edb0b))return!0x1;let _0x107202=_0x18d2ff[_0x2caf9a(0x487)](e['ICommandService']),_0x592461=_0x18d2ff['get'](e[_0x2caf9a(0x307)]),_0x3d8286=_0x5a2d58[_0x2caf9a(0x392)](),_0x41867b=new P()['renameTable'](_0x3d8286,_0x2edb0b,_0x5d3694),_0x4d3f63=new w()[_0x2caf9a(0x4b7)](_0x3d8286,_0x41867b),_0x2aa12c={'unitId':_0x20d6a7,'op':_0x41867b},_0x1fec87={'unitId':_0x20d6a7,'op':_0x4d3f63};return _0x107202['syncExecuteCommand'](J['id'],_0x2aa12c)?(_0x3ad5b1['focusUnit'](_0x20d6a7),_0x592461['pushUndoRedo']({'unitID':_0x20d6a7,'undoMutations':[{'id':J['id'],'params':_0x1fec87}],'redoMutations':[{'id':J['id'],'params':_0x2aa12c}]}),!0x0):!0x1;}},qn={'id':_0x557ecf(0x2d6),'type':e[_0x557ecf(0x485)][_0x557ecf(0x343)],'handler':(_0xdd5a39,_0x3eb739)=>{const _0x4aa55f=_0x557ecf;if(!_0x3eb739)return!0x1;let _0x42d497=_0xdd5a39[_0x4aa55f(0x487)](e[_0x4aa55f(0x4ff)]),{unitId:_0x326f26,tableId:_0x22ea08,viewId:_0xbdb51,name:_0x337b00}=_0x3eb739,_0x160d01=_0x42d497['getUnit'](_0x326f26,e[_0x4aa55f(0x435)][_0x4aa55f(0x286)]);if(!_0x160d01||!Y(_0x160d01,_0x22ea08,{'viewIds':[_0xbdb51]}))return!0x1;let _0x2d4939=_0xdd5a39[_0x4aa55f(0x487)](e[_0x4aa55f(0x49f)]),_0x205df4=_0xdd5a39[_0x4aa55f(0x487)](e['IUndoRedoService']),_0x121646=_0x160d01['getSnapshot'](),_0x553c2f=new P()['renameView'](_0x121646,_0x22ea08,_0xbdb51,_0x337b00),_0x5b9ea0=new w()[_0x4aa55f(0x4b7)](_0x121646,_0x553c2f),_0x4e189e={'unitId':_0x326f26,'op':_0x553c2f},_0x4b0d08={'unitId':_0x326f26,'op':_0x5b9ea0};return _0x2d4939[_0x4aa55f(0x3bb)](J['id'],_0x4e189e)?(_0x42d497[_0x4aa55f(0x36f)](_0x326f26),_0x205df4['pushUndoRedo']({'unitID':_0x326f26,'undoMutations':[{'id':J['id'],'params':_0x4b0d08}],'redoMutations':[{'id':J['id'],'params':_0x4e189e}]}),!0x0):!0x1;}},Jn={'id':'base.command.set-base-kanban-group-field','type':e[_0x557ecf(0x485)][_0x557ecf(0x343)],'handler':(_0x2ccb21,_0x333f10)=>{const _0x380515=_0x557ecf;if(!_0x333f10)return!0x1;let _0x189430=_0x2ccb21['get'](e[_0x380515(0x4ff)]),{unitId:_0x51cfde,tableId:_0x154187,viewId:_0xf01a89,fieldId:_0x6e6621}=_0x333f10,_0x348da8=_0x189430['getUnit'](_0x51cfde,e[_0x380515(0x435)][_0x380515(0x286)]);if(!_0x348da8||!Y(_0x348da8,_0x154187,{'viewIds':[_0xf01a89],'fieldIds':[_0x6e6621]}))return!0x1;let _0x26ebaf=_0x2ccb21[_0x380515(0x487)](e['ICommandService']),_0x2d5b0b=_0x2ccb21['get'](e['IUndoRedoService']),_0x1b0659=_0x348da8[_0x380515(0x392)](),_0x330be3=new P()[_0x380515(0x364)](_0x1b0659,_0x154187,_0xf01a89,{'groupFieldId':_0x6e6621}),_0x1f8a9c=new w()['invertOp'](_0x1b0659,_0x330be3),_0x4aa13c={'unitId':_0x51cfde,'op':_0x330be3},_0x2366e7={'unitId':_0x51cfde,'op':_0x1f8a9c};return _0x26ebaf['syncExecuteCommand'](J['id'],_0x4aa13c)?(_0x189430[_0x380515(0x36f)](_0x51cfde),_0x2d5b0b[_0x380515(0x382)]({'unitID':_0x51cfde,'undoMutations':[{'id':J['id'],'params':_0x2366e7}],'redoMutations':[{'id':J['id'],'params':_0x4aa13c}]}),!0x0):!0x1;}},Yn={'id':_0x557ecf(0x292),'type':e[_0x557ecf(0x485)][_0x557ecf(0x343)],'handler':(_0x5462f5,_0x2919c3)=>{const _0x557f99=_0x557ecf;if(!_0x2919c3)return!0x1;let _0x4e9045=_0x5462f5[_0x557f99(0x487)](e[_0x557f99(0x4ff)]),_0x2b1719=_0x4e9045[_0x557f99(0x445)](_0x2919c3[_0x557f99(0x4a4)],e[_0x557f99(0x435)][_0x557f99(0x286)]);if(!_0x2b1719)return!0x1;let _0x15496b=_0x2b1719[_0x557f99(0x392)]()[_0x557f99(0x3c4)];if(_0x15496b===_0x2919c3[_0x557f99(0x3c4)])return!0x0;let _0x20c60f=new P(),_0x8c32e6=new w(),_0x445320=[],_0x22025e=[],_0xabdd52=[_0x2b1719,..._0x4e9045['getAllUnitsForType'](e[_0x557f99(0x435)][_0x557f99(0x286)])[_0x557f99(0x2fe)](_0x20a4ac=>_0x20a4ac[_0x557f99(0x20b)]()!==_0x2919c3[_0x557f99(0x4a4)])];for(let _0x5342ee of _0xabdd52){let _0x152ae9=_0x5342ee[_0x557f99(0x392)](),_0x3218e1=_0x5342ee===_0x2b1719?_0x20c60f[_0x557f99(0x3a5)](_0x152ae9,_0x2919c3['name']):_0x20c60f[_0x557f99(0x31f)](_0x152ae9,_0x15496b,_0x2919c3[_0x557f99(0x3c4)]);_0x3218e1&&(_0x445320['push']({'id':J['id'],'params':{'unitId':_0x5342ee[_0x557f99(0x20b)](),'op':_0x3218e1,'trigger':Yn['id']}}),_0x22025e[_0x557f99(0x3d6)]({'id':J['id'],'params':{'unitId':_0x5342ee[_0x557f99(0x20b)](),'op':_0x8c32e6[_0x557f99(0x4b7)](_0x152ae9,_0x3218e1),'trigger':Yn['id']}}));}let _0x308bd8=_0x5462f5[_0x557f99(0x487)](e[_0x557f99(0x49f)]),_0x313356=_0x5462f5[_0x557f99(0x487)](e['IUndoRedoService']),_0x5ac5ee=_0x313356[_0x557f99(0x295)](_0x2919c3['unitId']);try{return(0x0,e[_0x557f99(0x1e5)])(_0x445320,_0x308bd8)['result']?(_0x4e9045[_0x557f99(0x36f)](_0x2919c3[_0x557f99(0x4a4)]),_0x313356['pushUndoRedo']({'unitID':_0x2919c3[_0x557f99(0x4a4)],'undoMutations':_0x22025e,'redoMutations':_0x445320}),!0x0):!0x1;}finally{_0x5ac5ee[_0x557f99(0x3e5)]();}}},Xn={'id':'base.command.set-base-range-values','type':e[_0x557ecf(0x485)][_0x557ecf(0x343)],'handler'(_0x43d944,_0x3122ab){const _0x46cfcc=_0x557ecf;if(!_0x3122ab)return!0x1;let _0x39ef3c=_0x43d944[_0x46cfcc(0x487)](e[_0x46cfcc(0x4ff)]),{unitId:_0x3708b3,tableId:_0x12a03a,patches:_0x238114}=_0x3122ab,_0x14558b=_0x39ef3c['getUnit'](_0x3708b3,e[_0x46cfcc(0x435)][_0x46cfcc(0x286)]);if(!_0x14558b||!Y(_0x14558b,_0x12a03a))return!0x1;let _0x209dcb=_0x43d944['get'](e[_0x46cfcc(0x49f)]),_0x4f714e=_0x43d944[_0x46cfcc(0x487)](e[_0x46cfcc(0x307)]),_0x5412d6=_0x14558b[_0x46cfcc(0x392)](),_0x336d05=d(_0x5412d6[_0x46cfcc(0x2b7)][_0x12a03a]),_0x382053=_0x238114[_0x46cfcc(0x274)](_0xb69932=>{const _0x1f553c=_0x46cfcc;var _0xb7fd1e;return _0x1f553c(0x2a6)in _0xb69932?_0xb69932[_0x1f553c(0x2a6)]:(_0xb7fd1e=_0x336d05[_0x1f553c(0x236)])==null?void 0x0:_0xb7fd1e[_0xb69932[_0x1f553c(0x398)]];})[_0x46cfcc(0x2fe)](_0x22cce2=>_0x22cce2!=null),_0x31f5e7=_0x238114['map'](_0xbc5e56=>{const _0x2bc9fe=_0x46cfcc;var _0xa8a80c;return _0x2bc9fe(0x3da)in _0xbc5e56?_0xbc5e56[_0x2bc9fe(0x3da)]:(_0xa8a80c=_0x336d05[_0x2bc9fe(0x432)])==null?void 0x0:_0xa8a80c[_0xbc5e56[_0x2bc9fe(0x38b)]];})[_0x46cfcc(0x2fe)](_0x158397=>_0x158397!=null);if(_0x382053[_0x46cfcc(0x323)]!==_0x238114['length']||_0x31f5e7[_0x46cfcc(0x323)]!==_0x238114[_0x46cfcc(0x323)]||!Y(_0x14558b,_0x12a03a,{'recordIds':_0x382053,'fieldIds':_0x31f5e7}))return!0x1;let _0x5ac717=_0x238114[_0x46cfcc(0x454)](_0x2a9ea0=>{const _0xafee7a=_0x46cfcc;var _0x331417,_0x2ac31f;if('row'in _0x2a9ea0)return[_0x2a9ea0];let _0x491a1d=(_0x331417=_0x336d05[_0xafee7a(0x253)])==null?void 0x0:_0x331417[_0x2a9ea0[_0xafee7a(0x2a6)]],_0x39ee1f=(_0x2ac31f=_0x336d05[_0xafee7a(0x279)])==null?void 0x0:_0x2ac31f[_0x2a9ea0[_0xafee7a(0x3da)]];return _0x491a1d==null||_0x39ee1f==null?[]:[{'row':_0x491a1d,'col':_0x39ee1f,'value':_0x2a9ea0[_0xafee7a(0x373)]}];}),_0xea2d0e=new P()[_0x46cfcc(0x48f)](_0x5412d6,_0x12a03a,_0x5ac717),_0x2a755b=new w()[_0x46cfcc(0x4b7)](_0x5412d6,_0xea2d0e),_0x32518b={'unitId':_0x3708b3,'op':_0xea2d0e},_0x7ce4aa={'unitId':_0x3708b3,'op':_0x2a755b};return _0x209dcb['syncExecuteCommand'](J['id'],_0x32518b)?(_0x39ef3c[_0x46cfcc(0x36f)](_0x3708b3),_0x4f714e[_0x46cfcc(0x382)]({'unitID':_0x3708b3,'undoMutations':[{'id':J['id'],'params':_0x7ce4aa}],'redoMutations':[{'id':J['id'],'params':_0x32518b}]}),!0x0):!0x1;}},Zn={'id':_0x557ecf(0x4a3),'type':e['CommandType'][_0x557ecf(0x343)],'handler'(_0x5023d4,_0xc074b0){const _0x56017f=_0x557ecf;if(!_0xc074b0)return!0x1;let _0x1881fa=_0x5023d4[_0x56017f(0x487)](e[_0x56017f(0x4ff)]),{unitId:_0x4e49bc,tableId:_0x4e6839,patches:_0x2c0c1c}=_0xc074b0,_0x3e4550=_0x1881fa['getUnit'](_0x4e49bc,e['UniverInstanceType']['UNIVER_BASE']),_0x2f7852=_0x2c0c1c[_0x56017f(0x274)](_0x26599e=>_0x26599e[_0x56017f(0x2a6)]),_0x20ef48=_0x2c0c1c['flatMap'](_0x52ac4a=>Object['keys'](_0x52ac4a['values']));if(!_0x3e4550||!Y(_0x3e4550,_0x4e6839,{'recordIds':_0x2f7852,'fieldIds':_0x20ef48}))return!0x1;let _0x4219f8=_0x5023d4[_0x56017f(0x487)](e['ICommandService']),_0x2b9104=_0x5023d4[_0x56017f(0x487)](e[_0x56017f(0x307)]),_0x187ec2=_0x5023d4[_0x56017f(0x487)](V)[_0x56017f(0x34e)](_0x3e4550,_0x4e6839,_0x2c0c1c),_0x12fb2b=new w()[_0x56017f(0x4b7)](_0x3e4550[_0x56017f(0x392)](),_0x187ec2),_0xb5d338={'unitId':_0x4e49bc,'op':_0x187ec2},_0x360e5f={'unitId':_0x4e49bc,'op':_0x12fb2b};return _0x4219f8['syncExecuteCommand'](J['id'],_0xb5d338)?(_0x1881fa['focusUnit'](_0x4e49bc),_0x2b9104[_0x56017f(0x382)]({'unitID':_0x4e49bc,'undoMutations':[{'id':J['id'],'params':_0x360e5f}],'redoMutations':[{'id':J['id'],'params':_0xb5d338}]}),!0x0):!0x1;}},Qn={'id':_0x557ecf(0x47f),'type':e[_0x557ecf(0x485)]['COMMAND'],'handler':(_0x247107,_0x4e2fc4)=>{const _0x428a2f=_0x557ecf;var _0x179e81;if(!_0x4e2fc4)return!0x1;let _0x1565cc=_0x247107[_0x428a2f(0x487)](e[_0x428a2f(0x4ff)]),{unitId:_0x250190,tableId:_0x3b0a51,viewId:_0xa339c3,fieldId:_0x1543e0,target:_0x5b9bd8}=_0x4e2fc4,_0x30c5af=_0x1565cc[_0x428a2f(0x445)](_0x250190,e[_0x428a2f(0x435)][_0x428a2f(0x286)]),_0x3b8193=(_0x179e81=_0x5b9bd8[_0x428a2f(0x4ad)])==null?_0x5b9bd8[_0x428a2f(0x2d7)]:_0x179e81;if(!_0x30c5af||!_0x3b8193||_0x3b8193===_0x1543e0||!Y(_0x30c5af,_0x3b0a51,{'viewIds':[_0xa339c3],'fieldIds':[_0x1543e0,_0x3b8193]}))return!0x1;let _0x13aa5e=_0x247107[_0x428a2f(0x487)](e[_0x428a2f(0x49f)]),_0x548c3f=_0x247107[_0x428a2f(0x487)](e[_0x428a2f(0x307)]),_0x4d7821=_0x30c5af[_0x428a2f(0x392)](),_0x525cc8=new P()[_0x428a2f(0x413)](_0x4d7821,_0x3b0a51,_0xa339c3,_0x1543e0,_0x5b9bd8),_0x3e6a9f=new w()[_0x428a2f(0x4b7)](_0x4d7821,_0x525cc8),_0x3c5804={'unitId':_0x250190,'op':_0x525cc8},_0x560cef={'unitId':_0x250190,'op':_0x3e6a9f};return _0x13aa5e[_0x428a2f(0x3bb)](J['id'],_0x3c5804)?(_0x1565cc[_0x428a2f(0x36f)](_0x250190),_0x548c3f[_0x428a2f(0x382)]({'unitID':_0x250190,'undoMutations':[{'id':J['id'],'params':_0x560cef}],'redoMutations':[{'id':J['id'],'params':_0x3c5804}]}),!0x0):!0x1;}},$n={'id':_0x557ecf(0x477),'type':e['CommandType'][_0x557ecf(0x343)],'handler'(_0x307d63,_0x2eb55a){const _0x5f1b6d=_0x557ecf;if(!_0x2eb55a)return!0x1;let _0x2c582b=_0x307d63[_0x5f1b6d(0x487)](e[_0x5f1b6d(0x4ff)]),{unitId:_0x48c50d,tableId:_0x4f5248,viewId:_0x184a0e,fieldId:_0x5eb0d2,visible:_0x15d54e}=_0x2eb55a,_0x226aaa=_0x2c582b[_0x5f1b6d(0x445)](_0x48c50d,e['UniverInstanceType'][_0x5f1b6d(0x286)]);if(!_0x226aaa||!Y(_0x226aaa,_0x4f5248,{'viewIds':[_0x184a0e],'fieldIds':[_0x5eb0d2]}))return!0x1;let _0x507d59=_0x307d63[_0x5f1b6d(0x487)](e[_0x5f1b6d(0x49f)]),_0xeee4e0=_0x307d63[_0x5f1b6d(0x487)](e[_0x5f1b6d(0x307)]),_0x2cd0c4=_0x226aaa['getSnapshot'](),_0x16a65=new P()[_0x5f1b6d(0x23f)](_0x2cd0c4,_0x4f5248,_0x184a0e,_0x5eb0d2,_0x15d54e),_0x198139=new w()[_0x5f1b6d(0x4b7)](_0x2cd0c4,_0x16a65),_0x305570={'unitId':_0x48c50d,'op':_0x16a65},_0x2e298c={'unitId':_0x48c50d,'op':_0x198139};return _0x507d59[_0x5f1b6d(0x3bb)](J['id'],_0x305570)?(_0x2c582b['focusUnit'](_0x48c50d),_0xeee4e0[_0x5f1b6d(0x382)]({'unitID':_0x48c50d,'undoMutations':[{'id':J['id'],'params':_0x2e298c}],'redoMutations':[{'id':J['id'],'params':_0x305570}]}),!0x0):!0x1;}},er={'id':_0x557ecf(0x4ea),'type':e[_0x557ecf(0x485)][_0x557ecf(0x343)],'handler':(_0x4143cb,_0x267e99)=>{const _0x351328=_0x557ecf;if(!_0x267e99)return!0x1;let _0x32401f=_0x4143cb[_0x351328(0x487)](e[_0x351328(0x4ff)]),{unitId:_0x367631,tableId:_0x2ff9b9,viewId:_0x5cdd93,fieldId:_0x29a779,width:_0x27871e}=_0x267e99,_0x21735f=_0x32401f[_0x351328(0x445)](_0x367631,e[_0x351328(0x435)]['UNIVER_BASE']);if(!_0x21735f||!Y(_0x21735f,_0x2ff9b9,{'viewIds':[_0x5cdd93],'fieldIds':[_0x29a779]}))return!0x1;let _0x7ce8b7=_0x4143cb[_0x351328(0x487)](e[_0x351328(0x49f)]),_0x23a02e=_0x4143cb[_0x351328(0x487)](e[_0x351328(0x307)]),_0x365853=_0x21735f['getSnapshot'](),_0x257f45=new P()[_0x351328(0x3b7)](_0x365853,_0x2ff9b9,_0x5cdd93,_0x29a779,_0x27871e),_0xe079da=new w()[_0x351328(0x4b7)](_0x365853,_0x257f45),_0x5ddd91={'unitId':_0x367631,'op':_0x257f45},_0x51f42f={'unitId':_0x367631,'op':_0xe079da};return _0x7ce8b7[_0x351328(0x3bb)](J['id'],_0x5ddd91)?(_0x32401f[_0x351328(0x36f)](_0x367631),_0x23a02e[_0x351328(0x382)]({'unitID':_0x367631,'undoMutations':[{'id':J['id'],'params':_0x51f42f}],'redoMutations':[{'id':J['id'],'params':_0x5ddd91}]}),!0x0):!0x1;}},tr={'id':_0x557ecf(0x24d),'type':e[_0x557ecf(0x485)]['COMMAND'],'handler':(_0x2d4acd,_0x27b954)=>{const _0x428fdc=_0x557ecf;var _0x10c872;if(!_0x27b954)return!0x1;let _0x53652b=_0x2d4acd[_0x428fdc(0x487)](e[_0x428fdc(0x4ff)]),{unitId:_0x1da704,tableId:_0xa06c6e,viewId:_0xd6d972,filter:_0x3930a8}=_0x27b954,_0x33b3f9=_0x53652b[_0x428fdc(0x445)](_0x1da704,e[_0x428fdc(0x435)][_0x428fdc(0x286)]),_0x12d48b=(_0x10c872=_0x3930a8==null?void 0x0:_0x3930a8['conditions'][_0x428fdc(0x274)](_0x23dc65=>_0x23dc65['fieldId']))==null?[]:_0x10c872;if(!_0x33b3f9||!Y(_0x33b3f9,_0xa06c6e,{'viewIds':[_0xd6d972],'fieldIds':_0x12d48b}))return!0x1;let _0x5cb0b3=_0x2d4acd[_0x428fdc(0x487)](e[_0x428fdc(0x49f)]),_0x34c68d=_0x2d4acd['get'](e['IUndoRedoService']),_0x17f3a6=_0x33b3f9['getSnapshot'](),_0x165ea1=new P()['setViewFilter'](_0x17f3a6,_0xa06c6e,_0xd6d972,_0x3930a8),_0x2061e7=new w()[_0x428fdc(0x4b7)](_0x17f3a6,_0x165ea1),_0x590f29={'unitId':_0x1da704,'op':_0x165ea1},_0x3cda59={'unitId':_0x1da704,'op':_0x2061e7};return _0x5cb0b3[_0x428fdc(0x3bb)](J['id'],_0x590f29)?(_0x53652b[_0x428fdc(0x36f)](_0x1da704),_0x34c68d[_0x428fdc(0x382)]({'unitID':_0x1da704,'undoMutations':[{'id':J['id'],'params':_0x3cda59}],'redoMutations':[{'id':J['id'],'params':_0x590f29}]}),!0x0):!0x1;}},nr={'id':_0x557ecf(0x420),'type':e[_0x557ecf(0x485)][_0x557ecf(0x343)],'handler':(_0x29b53f,_0x4284d7)=>{const _0x278ff1=_0x557ecf;if(!_0x4284d7)return!0x1;let _0x2c1755=_0x29b53f['get'](e[_0x278ff1(0x4ff)]),{unitId:_0x24581e,tableId:_0x23d30e,viewId:_0x53edb2,group:_0x573b31}=_0x4284d7,_0x5461e8=_0x2c1755[_0x278ff1(0x445)](_0x24581e,e[_0x278ff1(0x435)][_0x278ff1(0x286)]);if(!_0x5461e8||!Y(_0x5461e8,_0x23d30e,{'viewIds':[_0x53edb2],'fieldIds':_0x573b31[_0x278ff1(0x274)](_0xa940ae=>_0xa940ae[_0x278ff1(0x3da)])}))return!0x1;let _0x348615=_0x29b53f[_0x278ff1(0x487)](e['ICommandService']),_0x53606e=_0x29b53f[_0x278ff1(0x487)](e[_0x278ff1(0x307)]),_0x12f0e6=_0x5461e8['getSnapshot'](),_0xcce222=new P()['setViewGroup'](_0x12f0e6,_0x23d30e,_0x53edb2,_0x573b31),_0x40d7ab=new w()[_0x278ff1(0x4b7)](_0x12f0e6,_0xcce222),_0x46a158={'unitId':_0x24581e,'op':_0xcce222},_0x349825={'unitId':_0x24581e,'op':_0x40d7ab};return _0x348615[_0x278ff1(0x3bb)](J['id'],_0x46a158)?(_0x2c1755['focusUnit'](_0x24581e),_0x53606e[_0x278ff1(0x382)]({'unitID':_0x24581e,'undoMutations':[{'id':J['id'],'params':_0x349825}],'redoMutations':[{'id':J['id'],'params':_0x46a158}]}),!0x0):!0x1;}},rr={'id':_0x557ecf(0x395),'type':e[_0x557ecf(0x485)]['COMMAND'],'handler':(_0x4d40c3,_0x5d291f)=>{const _0x530d0a=_0x557ecf;if(!_0x5d291f)return!0x1;let _0x337f25=_0x4d40c3[_0x530d0a(0x487)](e['IUniverInstanceService']),{unitId:_0x417208,tableId:_0x53820f,viewId:_0x4c4dcb,sort:_0x403f34}=_0x5d291f,_0x1d273f=_0x337f25[_0x530d0a(0x445)](_0x417208,e['UniverInstanceType'][_0x530d0a(0x286)]);if(!_0x1d273f||!Y(_0x1d273f,_0x53820f,{'viewIds':[_0x4c4dcb],'fieldIds':_0x403f34['map'](_0x163031=>_0x163031[_0x530d0a(0x3da)])}))return!0x1;let _0x818120=_0x4d40c3['get'](e[_0x530d0a(0x49f)]),_0x10f930=_0x4d40c3[_0x530d0a(0x487)](e['IUndoRedoService']),_0x45afd8=_0x1d273f[_0x530d0a(0x392)](),_0x2e6b94=new P()[_0x530d0a(0x310)](_0x45afd8,_0x53820f,_0x4c4dcb,_0x403f34),_0x3c40ab=new w()[_0x530d0a(0x4b7)](_0x45afd8,_0x2e6b94),_0x317360={'unitId':_0x417208,'op':_0x2e6b94},_0x3417de={'unitId':_0x417208,'op':_0x3c40ab};return _0x818120[_0x530d0a(0x3bb)](J['id'],_0x317360)?(_0x337f25[_0x530d0a(0x36f)](_0x417208),_0x10f930['pushUndoRedo']({'unitID':_0x417208,'undoMutations':[{'id':J['id'],'params':_0x3417de}],'redoMutations':[{'id':J['id'],'params':_0x317360}]}),!0x0):!0x1;}},ir={'id':_0x557ecf(0x24e),'type':e['CommandType'][_0x557ecf(0x343)],'handler'(_0x538e22,_0x3600c1){const _0x2a5dee=_0x557ecf;if(!_0x3600c1)return!0x1;let _0x3af37b=_0x538e22[_0x2a5dee(0x487)](e[_0x2a5dee(0x4ff)]),{unitId:_0xe45970,tableId:_0x3e7ac1,recordId:_0x5a6596,fieldId:_0x40469d,value:_0x2d7d3c}=_0x3600c1,_0x137326=_0x3af37b[_0x2a5dee(0x445)](_0xe45970,e[_0x2a5dee(0x435)][_0x2a5dee(0x286)]);if(!_0x137326||!Y(_0x137326,_0x3e7ac1,{'recordIds':[_0x5a6596],'fieldIds':[_0x40469d]}))return!0x1;let _0xffe645=_0x538e22[_0x2a5dee(0x487)](e[_0x2a5dee(0x49f)]),_0x3231df=_0x538e22[_0x2a5dee(0x487)](e[_0x2a5dee(0x307)]),_0x485488=_0x538e22['get'](V),_0x711e9b;try{_0x711e9b=_0x485488[_0x2a5dee(0x249)](_0x137326,_0x3e7ac1,_0x5a6596,_0x40469d,_0x2d7d3c);}catch(_0x54137f){return console[_0x2a5dee(0x365)](_0x2a5dee(0x47c),_0x54137f),!0x1;}let _0x4e6e7f=new w()['invertOp'](_0x137326[_0x2a5dee(0x392)](),_0x711e9b),_0x19c969={'unitId':_0xe45970,'op':_0x711e9b},_0x35ef2f={'unitId':_0xe45970,'op':_0x4e6e7f};return _0xffe645[_0x2a5dee(0x3bb)](J['id'],_0x19c969)?(_0x3af37b[_0x2a5dee(0x36f)](_0xe45970),_0x3231df[_0x2a5dee(0x382)]({'unitID':_0xe45970,'undoMutations':[{'id':J['id'],'params':_0x35ef2f}],'redoMutations':[{'id':J['id'],'params':_0x19c969}]}),!0x0):!0x1;}},ar={'id':'base.command.update-base-field-description','type':e[_0x557ecf(0x485)][_0x557ecf(0x343)],'handler'(_0x5d75d6,_0x19f6d3){const _0x3e1ba2=_0x557ecf;if(!_0x19f6d3)return!0x1;let _0x557e1b=_0x5d75d6['get'](e[_0x3e1ba2(0x4ff)]),{unitId:_0x304d53,tableId:_0x78d6c6,fieldId:_0x54d0ab}=_0x19f6d3,_0x2820af=_0x557e1b['getUnit'](_0x304d53,e['UniverInstanceType'][_0x3e1ba2(0x286)]);if(!_0x2820af||!Y(_0x2820af,_0x78d6c6,{'fieldIds':[_0x54d0ab]}))return!0x1;let _0x45cb14=_0x5d75d6[_0x3e1ba2(0x487)](e['ICommandService']),_0x541664=_0x5d75d6[_0x3e1ba2(0x487)](e[_0x3e1ba2(0x307)]),_0x473bed=_0x2820af['getSnapshot'](),_0x56c01e=_0x19f6d3['description']['trim'](),_0x5c48da=new P()['updateField'](_0x473bed,_0x78d6c6,_0x54d0ab,{'description':_0x56c01e}),_0x49a827=new w()[_0x3e1ba2(0x4b7)](_0x2820af[_0x3e1ba2(0x392)](),_0x5c48da),_0x5eeace={'unitId':_0x304d53,'op':_0x5c48da},_0x1ff436={'unitId':_0x304d53,'op':_0x49a827};return _0x45cb14[_0x3e1ba2(0x3bb)](J['id'],_0x5eeace)?(_0x557e1b[_0x3e1ba2(0x36f)](_0x304d53),_0x541664[_0x3e1ba2(0x382)]({'unitID':_0x304d53,'undoMutations':[{'id':J['id'],'params':_0x1ff436}],'redoMutations':[{'id':J['id'],'params':_0x5eeace}]}),!0x0):!0x1;}},or={'id':_0x557ecf(0x326),'type':e[_0x557ecf(0x485)][_0x557ecf(0x343)],'handler':(_0x44f0de,_0x5d8b2a)=>{const _0x19754a=_0x557ecf;if(!_0x5d8b2a)return!0x1;let _0x4e323f=_0x44f0de[_0x19754a(0x487)](e[_0x19754a(0x4ff)]),{unitId:_0x37eb08,tableId:_0x677e75,fieldId:_0x4d3d0,patch:_0xfb2e08}=_0x5d8b2a,_0xd74c44=_0x4e323f['getUnit'](_0x37eb08,e[_0x19754a(0x435)][_0x19754a(0x286)]);if(!_0xd74c44||!Y(_0xd74c44,_0x677e75,{'fieldIds':[_0x4d3d0]}))return!0x1;let _0x9c9d82=_0x44f0de[_0x19754a(0x487)](e['ICommandService']),_0x1fa694=_0x44f0de[_0x19754a(0x487)](e[_0x19754a(0x307)]),_0x222962=_0xd74c44[_0x19754a(0x392)](),_0x1b68b3=new P()[_0x19754a(0x3dd)](_0x222962,_0x677e75,_0x4d3d0,_0xfb2e08),_0x53e911=new w()[_0x19754a(0x4b7)](_0x222962,_0x1b68b3),_0x1bce31={'unitId':_0x37eb08,'op':_0x1b68b3},_0x3bbbb6={'unitId':_0x37eb08,'op':_0x53e911};return _0x9c9d82[_0x19754a(0x3bb)](J['id'],_0x1bce31)?(_0x4e323f[_0x19754a(0x36f)](_0x37eb08),_0x1fa694[_0x19754a(0x382)]({'unitID':_0x37eb08,'undoMutations':[{'id':J['id'],'params':_0x3bbbb6}],'redoMutations':[{'id':J['id'],'params':_0x1bce31}]}),!0x0):!0x1;}},sr={'id':_0x557ecf(0x281),'type':e[_0x557ecf(0x485)]['COMMAND'],'handler':(_0x4a8c92,_0x4f153d)=>{const _0x532660=_0x557ecf;if(!_0x4f153d)return!0x1;let _0x3a6eb9=_0x4a8c92[_0x532660(0x487)](e[_0x532660(0x4ff)]),{unitId:_0x44cdba,tableId:_0x580ece,viewId:_0x256cc0,patch:_0x4d5d1c}=_0x4f153d,_0x2177ca=_0x3a6eb9[_0x532660(0x445)](_0x44cdba,e['UniverInstanceType'][_0x532660(0x286)]);if(!_0x2177ca||!Y(_0x2177ca,_0x580ece,{'viewIds':[_0x256cc0]}))return!0x1;let _0x2f527e=_0x4a8c92['get'](e[_0x532660(0x49f)]),_0x3f32c1=_0x4a8c92['get'](e[_0x532660(0x307)]),_0x10fd53=_0x2177ca[_0x532660(0x392)](),_0x186574=new P()[_0x532660(0x364)](_0x10fd53,_0x580ece,_0x256cc0,_0x4d5d1c),_0x3677b9=new w()[_0x532660(0x4b7)](_0x10fd53,_0x186574),_0xb3eb69={'unitId':_0x44cdba,'op':_0x186574},_0x3a4aa2={'unitId':_0x44cdba,'op':_0x3677b9};return _0x2f527e[_0x532660(0x3bb)](J['id'],_0xb3eb69)?(_0x3a6eb9[_0x532660(0x36f)](_0x44cdba),_0x3f32c1[_0x532660(0x382)]({'unitID':_0x44cdba,'undoMutations':[{'id':J['id'],'params':_0x3a4aa2}],'redoMutations':[{'id':J['id'],'params':_0xb3eb69}]}),!0x0):!0x1;}},cr={'id':_0x557ecf(0x26b),'type':e['CommandType'][_0x557ecf(0x343)],'handler':(_0x30bb35,_0x1f5430)=>{const _0x47044b=_0x557ecf;if(!_0x1f5430)return!0x1;let _0x4772f7=_0x30bb35[_0x47044b(0x487)](e[_0x47044b(0x4ff)]),{unitId:_0x5c405b,tableId:_0x4857c3,recordId:_0xe6635b,orderKey:_0x1c9cac}=_0x1f5430,_0x440041=_0x4772f7['getUnit'](_0x5c405b,e[_0x47044b(0x435)][_0x47044b(0x286)]);if(!_0x440041||!Y(_0x440041,_0x4857c3,{'recordIds':[_0xe6635b]}))return!0x1;let _0x45584f=_0x30bb35[_0x47044b(0x487)](e['ICommandService']),_0x1620e5=_0x30bb35['get'](e[_0x47044b(0x307)]),_0x2f0048=_0x440041[_0x47044b(0x392)](),_0x5f1e9c=new P()[_0x47044b(0x2cb)](_0x2f0048,_0x4857c3,_0xe6635b,_0x1c9cac),_0x40be2d=new w()[_0x47044b(0x4b7)](_0x2f0048,_0x5f1e9c),_0x557758={'unitId':_0x5c405b,'op':_0x5f1e9c},_0x13b0ea={'unitId':_0x5c405b,'op':_0x40be2d};return _0x45584f['syncExecuteCommand'](J['id'],_0x557758)?(_0x4772f7['focusUnit'](_0x5c405b),_0x1620e5[_0x47044b(0x382)]({'unitID':_0x5c405b,'undoMutations':[{'id':J['id'],'params':_0x13b0ea}],'redoMutations':[{'id':J['id'],'params':_0x557758}]}),!0x0):!0x1;}},lr={'id':_0x557ecf(0x4b0),'type':e[_0x557ecf(0x485)][_0x557ecf(0x343)],'handler':(_0x58dbf2,_0x1a7f49)=>{const _0x5d41e6=_0x557ecf;if(!_0x1a7f49)return!0x1;let _0x323431=_0x58dbf2[_0x5d41e6(0x487)](e[_0x5d41e6(0x4ff)]),{unitId:_0x39d167,tableId:_0x3ec4d3,viewId:_0x4a377a,patch:_0x5b9b39}=_0x1a7f49,_0x1e77c1=_0x323431[_0x5d41e6(0x445)](_0x39d167,e['UniverInstanceType'][_0x5d41e6(0x286)]);if(!_0x1e77c1||!Y(_0x1e77c1,_0x3ec4d3,{'viewIds':[_0x4a377a]}))return!0x1;let _0x3cb7a9=_0x58dbf2[_0x5d41e6(0x487)](e['ICommandService']),_0xde0481=_0x58dbf2[_0x5d41e6(0x487)](e['IUndoRedoService']),_0x183637=_0x1e77c1[_0x5d41e6(0x392)](),_0x5e6c63=new P()[_0x5d41e6(0x364)](_0x183637,_0x3ec4d3,_0x4a377a,_0x5b9b39),_0x2bc049=new w()['invertOp'](_0x183637,_0x5e6c63),_0x4abbb0={'unitId':_0x39d167,'op':_0x5e6c63},_0x3d1a62={'unitId':_0x39d167,'op':_0x2bc049};return _0x3cb7a9['syncExecuteCommand'](J['id'],_0x4abbb0)?(_0x323431[_0x5d41e6(0x36f)](_0x39d167),_0xde0481['pushUndoRedo']({'unitID':_0x39d167,'undoMutations':[{'id':J['id'],'params':_0x3d1a62}],'redoMutations':[{'id':J['id'],'params':_0x4abbb0}]}),!0x0):!0x1;}};function ur(_0xb8e85e){const _0x2f9331=_0x557ecf;var _0x30b76f,_0x375b6e,_0x242142,_0xd44d9d,_0x2f87e9;let _0x476c62=(_0x30b76f=_0xb8e85e[_0x2f9331(0x2bc)])==null?Date[_0x2f9331(0x2bc)]():_0x30b76f,_0x4f0a02=(_0x375b6e=_0xb8e85e[_0x2f9331(0x4a0)])==null?_0xb8e85e['id']+'-field-name':_0x375b6e,_0x996956=(_0x242142=_0xb8e85e['gridViewId'])==null?_0xb8e85e['id']+_0x2f9331(0x47a):_0x242142,_0x58d6e1=(_0xd44d9d=_0xb8e85e[_0x2f9331(0x360)])==null?0x5:_0xd44d9d,_0x3175db={'id':_0x4f0a02,'name':(_0x2f87e9=_0xb8e85e[_0x2f9331(0x3ac)])==null?_0x2f9331(0x25f):_0x2f87e9,'type':e[_0x2f9331(0x29e)][_0x2f9331(0x35a)],'config':{'placeholder':_0x2f9331(0x331)}},_0xc9321d={},_0x502dfb=[],_0x385435={},_0xaa867a={},_0x368d21={};for(let _0x12fdf1=0x0;_0x12fdf1<_0x58d6e1;_0x12fdf1++){let _0x1b7618=_0xb8e85e['id']+'-record-'+(_0x12fdf1+0x1);_0xc9321d[_0x1b7618]={'id':_0x1b7618,'values':_0xb8e85e['recordNamePrefix']?{[_0x4f0a02]:_0xb8e85e[_0x2f9331(0x462)]+'\x20'+(_0x12fdf1+0x1)}:{},'orderKey':String(_0x12fdf1+0x1)[_0x2f9331(0x469)](0x4,'0'),'createdAt':_0x476c62,'updatedAt':_0x476c62},_0x502dfb[_0x2f9331(0x43e)](_0x1b7618),_0x385435[_0x1b7618]=_0x12fdf1,_0xaa867a[_0x12fdf1]=_0x1b7618,_0x368d21[_0x12fdf1]={},_0xb8e85e[_0x2f9331(0x462)]&&(_0x368d21[_0x12fdf1][0x0]={'v':_0xb8e85e[_0x2f9331(0x462)]+'\x20'+(_0x12fdf1+0x1)});}let _0x354907={'id':_0x996956,'tableId':_0xb8e85e['id'],'name':'Grid','type':e[_0x2f9331(0x3b1)][_0x2f9331(0x318)],'fieldOrder':[_0x4f0a02],'fieldSettings':{},'config':{'frozenFieldCount':0x1}};return{'id':_0xb8e85e['id'],'name':_0xb8e85e[_0x2f9331(0x3c4)],'primaryFieldId':_0x4f0a02,'fieldOrder':[_0x4f0a02],'fields':{[_0x4f0a02]:_0x3175db},'records':_0xc9321d,'recordOrder':_0x502dfb,'rowIndex':_0x385435,'rowId':_0xaa867a,'colIndex':{[_0x4f0a02]:0x0},'colId':{0x0:_0x4f0a02},'cellData':_0x368d21,'views':{[_0x996956]:_0x354907},'viewOrder':[_0x996956]};}const dr=_0x557ecf(0x39c);function fr(_0xba0425){const _0x3b2014=_0x557ecf;var _0x4e1833,_0x5649fc;let _0x67739b=ur({'id':_0xba0425[_0x3b2014(0x299)],'name':(_0x4e1833=_0xba0425[_0x3b2014(0x3c4)])==null?_0xba0425[_0x3b2014(0x495)]:_0x4e1833,'recordCount':0x0});return{..._0x67739b,'resources':{...(_0x5649fc=_0x67739b['resources'])==null?{}:_0x5649fc,[dr]:hr(_0xba0425)}};}function pr(_0x346a1a){const _0x2c0a4d=_0x557ecf;return{'id':J['id'],'params':{'unitId':_0x346a1a[_0x2c0a4d(0x4a4)],'op':new P()[_0x2c0a4d(0x391)](_0x346a1a['snapshot'],_0x346a1a[_0x2c0a4d(0x37c)],_0x346a1a[_0x2c0a4d(0x344)]),'trigger':_0x2c0a4d(0x497)}};}function mr(_0x3d251e){const _0x1fe3b6=_0x557ecf;let _0x3bf5d8=_0x3d251e[_0x1fe3b6(0x3c0)][_0x1fe3b6(0x208)][_0x1fe3b6(0x2e2)](_0x3d251e['tableId']);if(!(!_0x3d251e[_0x1fe3b6(0x3c0)]['tables'][_0x3d251e[_0x1fe3b6(0x3e9)]]||_0x3bf5d8<0x0))return{'id':J['id'],'params':{'unitId':_0x3d251e['unitId'],'op':new P()[_0x1fe3b6(0x381)](_0x3d251e[_0x1fe3b6(0x3c0)],_0x3d251e['tableId']),'trigger':_0x1fe3b6(0x497)}};}function hr(_0x419068){const _0x336b46=_0x557ecf;return{'version':0x1,'embedId':_0x419068[_0x336b46(0x495)],'hostAnchorId':_0x419068[_0x336b46(0x299)],'childUnitId':_0x419068['childUnitId'],'childType':_0x419068[_0x336b46(0x436)]};}function gr(_0x2fa2b1){const _0x569572=_0x557ecf;var _0x4a935e;let _0x1ff63a=Math[_0x569572(0x4ef)](0x0,Number((_0x4a935e=_0x2fa2b1[_0x569572(0x2d5)])==null?0x0:_0x4a935e)),_0x4100b0=_0x2fa2b1[_0x569572(0x1f8)]===!0x1?'0':_0x569572(0x251),_0x476a0d=_0x1ff63a?'.'+'0'[_0x569572(0x4b4)](_0x1ff63a):'',_0x4af07c=vr(_0x2fa2b1[_0x569572(0x285)]);return''+(_0x2fa2b1[_0x569572(0x419)]?yr(_0x2fa2b1[_0x569572(0x419)]):'')+_0x4100b0+_0x476a0d+_0x4af07c;}function _r(_0x33dfa0,_0x53fbb7){const _0x5b047d=_0x557ecf;let _0x2fcda3=gr(_0x53fbb7),_0x452fab=e[_0x5b047d(0x3a1)][_0x5b047d(0x42c)](_0x2fcda3,_0x33dfa0,{'throws':!0x1});return br(String(_0x452fab),_0x53fbb7['separatorStyle'],_0x53fbb7[_0x5b047d(0x335)]);}function vr(_0x3ba401){const _0x563de0=_0x557ecf;return _0x3ba401==='K'?_0x563de0(0x4f2):_0x3ba401==='M'?_0x563de0(0x242):_0x3ba401==='B'?_0x563de0(0x25c):'';}function yr(_0x1fe9dd){return/^[A-Z]+$/i['test'](_0x1fe9dd)?'\x22'+_0x1fe9dd+'\x22':_0x1fe9dd;}function br(_0x19e463,_0x1e03e1,_0x212fca){const _0x1db388=_0x557ecf;let _0x3d8ae5=_0x1e03e1===_0x1db388(0x4cd)?xr(_0x212fca):_0x1e03e1;return _0x3d8ae5===_0x1db388(0x2cd)?_0x19e463[_0x1db388(0x4c4)](/,/g,'\x00')[_0x1db388(0x4c4)](/\./g,',')[_0x1db388(0x4c4)](/\0/g,'.'):_0x3d8ae5==='spaceComma'?_0x19e463[_0x1db388(0x4c4)](/,/g,'\x20')[_0x1db388(0x4c4)](/\./g,','):_0x3d8ae5==='spacePeriod'?_0x19e463[_0x1db388(0x4c4)](/,/g,'\x20'):_0x19e463;}function xr(_0x4f81a3){const _0x4684af=_0x557ecf;var _0x192d67,_0x53e4ae;let _0x4544d6=_0x4f81a3||Intl['NumberFormat']()[_0x4684af(0x213)]()[_0x4684af(0x335)],_0x229d28;try{_0x229d28=new Intl[(_0x4684af(0x4f6))](_0x4544d6,{'minimumFractionDigits':0x2,'maximumFractionDigits':0x2,'useGrouping':!0x0})[_0x4684af(0x2ca)](0xf4240);}catch{return _0x4684af(0x291);}let _0x3ba9f8=(_0x192d67=_0x229d28['find'](_0x555fd1=>_0x555fd1[_0x4684af(0x26a)]===_0x4684af(0x4fc)))==null?void 0x0:_0x192d67['value'],_0x97709e=(_0x53e4ae=_0x229d28[_0x4684af(0x4c1)](_0x3e3882=>_0x3e3882[_0x4684af(0x26a)]===_0x4684af(0x385)))==null?void 0x0:_0x53e4ae['value'],_0x11d791=_0x3ba9f8==='\u00a0'||_0x3ba9f8==='\u202f'?'\x20':_0x3ba9f8;return _0x11d791==='.'&&_0x97709e===','?'periodComma':_0x11d791==='\x20'&&_0x97709e===','?_0x4684af(0x1f1):_0x11d791==='\x20'&&_0x97709e==='.'?'spacePeriod':_0x4684af(0x291);}function Sr(_0x38c561,_0x3e4ffd){const _0x4793ca=_0x557ecf;var _0x1b223c,_0x535f7d;let _0x413dd0=e[_0x4793ca(0x374)][_0x4793ca(0x297)](_0x38c561),_0x22bc2e=_0x3e4ffd[_0x4793ca(0x406)]===!0x0,_0x4a52d5=new Map(),_0x4b17dc=(_0x1b223c=_0x3e4ffd[_0x4793ca(0x2b2)])==null?()=>_0x4793ca(0x3d8)+(0x0,e['generateRandomId'])(0x8):_0x1b223c,_0x3d4a95=_0x413dd0['viewOrder'];return _0x3e4ffd[_0x4793ca(0x4e3)]&&(_0x3d4a95=_0x413dd0[_0x4793ca(0x4a5)]['map'](_0xb27410=>{let _0x4fee09=_0x4b17dc();return _0x4a52d5['set'](_0xb27410,_0x4fee09),_0x4fee09;})),{..._0x413dd0,'id':_0x3e4ffd['id'],'name':_0x3e4ffd['name'],'records':_0x22bc2e?_0x413dd0[_0x4793ca(0x2ac)]:{},'recordOrder':_0x22bc2e?_0x413dd0[_0x4793ca(0x20f)]:[],'rowIndex':_0x22bc2e?_0x413dd0[_0x4793ca(0x253)]:{},'rowId':_0x22bc2e?_0x413dd0[_0x4793ca(0x236)]:{},'cellData':_0x22bc2e?_0x413dd0[_0x4793ca(0x46b)]:{},'resources':_0x22bc2e?_0x413dd0['resources']:{},'viewOrder':_0x3d4a95,'views':Object[_0x4793ca(0x4bd)](Object[_0x4793ca(0x458)]((_0x535f7d=_0x413dd0[_0x4793ca(0x45e)])==null?{}:_0x535f7d)['map'](([_0x3413e2,_0x58ccf5])=>{const _0x17ee2c=_0x4793ca;var _0x12b2be;let _0x1843f6=(_0x12b2be=_0x4a52d5[_0x17ee2c(0x487)](_0x3413e2))==null?_0x3e4ffd[_0x17ee2c(0x4e3)]?_0x4b17dc():_0x3413e2:_0x12b2be;return[_0x1843f6,{..._0x58ccf5,'id':_0x1843f6,'tableId':_0x3e4ffd['id']}];}))};}var Cr=_0x557ecf(0x455),wr='1.0.0-alpha.5';const Tr={},Er={};function Dr(_0x45175c){return new w()['getAffectedRanges'](_0x45175c);}function Or(_0x40ee08){const _0x39c06e=_0x557ecf;return _0x40ee08[_0x39c06e(0x32b)][_0x39c06e(0x274)](_0x3405c5=>({'unitId':_0x40ee08['unitId'],'sheetId':_0x40ee08[_0x39c06e(0x3e9)],'range':{'startRow':_0x3405c5[_0x39c06e(0x398)],'endRow':_0x3405c5[_0x39c06e(0x398)],'startColumn':_0x3405c5[_0x39c06e(0x38b)],'endColumn':_0x3405c5['col']}}));}function kr(_0x51ed0c,_0x2029b4){const _0x93d0e=_0x557ecf;return{[_0x51ed0c]:Object[_0x93d0e(0x4bd)](_0x2029b4[_0x93d0e(0x274)](_0x42b4a1=>[_0x42b4a1,'1']))};}let Ar=class extends e['Disposable']{constructor(_0x9d33ca,_0x3ebccf){const _0x32f749=_0x557ecf;super(),this[_0x32f749(0x501)]=_0x9d33ca,this[_0x32f749(0x2c1)]=_0x3ebccf,this[_0x32f749(0x380)]();}['_initialize'](){const _0x3dfccb=_0x557ecf;this[_0x3dfccb(0x501)][_0x3dfccb(0x390)](J['id'],{'commandId':J['id'],'getDirtyData':_0x4327ec=>this[_0x3dfccb(0x3f3)](_0x4327ec[_0x3dfccb(0x23e)])}),this[_0x3dfccb(0x2fa)]((0x0,e[_0x3dfccb(0x258)])(()=>{const _0x2be5e4=_0x3dfccb;this[_0x2be5e4(0x501)][_0x2be5e4(0x289)](J['id']);}));}[_0x557ecf(0x3df)](_0x3041ce,_0x2c3622){const _0x213f7c=_0x557ecf;var _0xdd13e8;let _0x8a1bc7=this[_0x213f7c(0x2c1)][_0x213f7c(0x445)](_0x3041ce,e[_0x213f7c(0x435)][_0x213f7c(0x286)]);return(_0xdd13e8=_0x8a1bc7==null?void 0x0:_0x8a1bc7[_0x213f7c(0x392)]()[_0x213f7c(0x2b7)][_0x2c3622])==null?null:_0xdd13e8;}[_0x557ecf(0x3f3)](_0x582d5e){const _0x40cde2=_0x557ecf;if(_0x582d5e['trigger']==='formula.mutation.set-formula-calculation-result')return{};if(!_0x582d5e[_0x40cde2(0x4a4)]||!_0x582d5e['op'])return{'clearDependencyTreeCache':this[_0x40cde2(0x3aa)](),'forceCalculation':!0x0};let _0x4f72f6=Dr(_0x582d5e['op']),_0x2d9ec3=this[_0x40cde2(0x4de)](_0x582d5e[_0x40cde2(0x4a4)],_0x4f72f6);if(_0x2d9ec3[_0x40cde2(0x323)])return{'clearDependencyTreeCache':kr(_0x582d5e[_0x40cde2(0x4a4)],_0x2d9ec3),'forceCalculation':!0x0};let _0x495f3e=Object['entries'](this[_0x40cde2(0x43b)](_0x582d5e[_0x40cde2(0x4a4)],_0x4f72f6))[_0x40cde2(0x454)](([_0x2d3e76,_0x3d644d])=>Or({'unitId':_0x582d5e[_0x40cde2(0x4a4)],'tableId':_0x2d3e76,'patches':_0x3d644d}));return _0x495f3e[_0x40cde2(0x323)]?{'dirtyRanges':_0x495f3e}:{};}['_getStructureDirtyTableIds'](_0x4451f0,_0xc858c){const _0x8b2c61=_0x557ecf;let _0x1915c0=_0xc858c[_0x8b2c61(0x2fe)](_0x25847e=>_0x25847e[_0x8b2c61(0x49d)]!==_0x8b2c61(0x28e))[_0x8b2c61(0x454)](_0x45491a=>_0x45491a[_0x8b2c61(0x3e9)]?[_0x45491a[_0x8b2c61(0x3e9)]]:this[_0x8b2c61(0x438)](_0x4451f0));return Array[_0x8b2c61(0x467)](new Set(_0x1915c0));}[_0x557ecf(0x43b)](_0x6577b5,_0x2b7a9f){const _0x587bbc=_0x557ecf;let _0x5b3bda=new Set();return _0x2b7a9f[_0x587bbc(0x20c)]((_0x2ca097,_0x4843f9)=>{const _0xd44812=_0x587bbc;var _0x1f43d9;let _0xdba91d=this['_toDirtyRangePatch'](_0x6577b5,_0x4843f9);if(!_0xdba91d)return _0x2ca097;let _0x205411=_0x4843f9[_0xd44812(0x3e9)]+':'+_0xdba91d['row']+':'+_0xdba91d['col'];return _0x5b3bda['has'](_0x205411)?_0x2ca097:(_0x5b3bda['add'](_0x205411),_0x2ca097[_0x4843f9['tableId']]=(_0x1f43d9=_0x2ca097[_0x4843f9[_0xd44812(0x3e9)]])==null?[]:_0x1f43d9,_0x2ca097[_0x4843f9[_0xd44812(0x3e9)]][_0xd44812(0x43e)](_0xdba91d),_0x2ca097);},{});}['_toDirtyRangePatch'](_0x38f601,_0x51145d){const _0xb2c2ee=_0x557ecf;if(_0x51145d['reason']!==_0xb2c2ee(0x28e))return null;if(_0x51145d['row']!=null&&_0x51145d[_0xb2c2ee(0x4c5)]!=null)return{'row':_0x51145d[_0xb2c2ee(0x398)],'col':_0x51145d['column'],'value':null};if(!_0x51145d[_0xb2c2ee(0x2a6)]||!_0x51145d[_0xb2c2ee(0x3da)])return null;let _0x111a2f=this[_0xb2c2ee(0x3df)](_0x38f601,_0x51145d[_0xb2c2ee(0x3e9)]);if(!_0x111a2f)return null;let _0x363469=h(_0x111a2f,_0x51145d[_0xb2c2ee(0x2a6)],_0x51145d[_0xb2c2ee(0x3da)]);return _0x363469?{'row':_0x363469['row'],'col':_0x363469[_0xb2c2ee(0x38b)],'value':null}:null;}[_0x557ecf(0x438)](_0x376b16){const _0x493755=_0x557ecf;var _0xe1016c;let _0x235290=this[_0x493755(0x2c1)][_0x493755(0x445)](_0x376b16,e[_0x493755(0x435)][_0x493755(0x286)]);return Object[_0x493755(0x4f9)]((_0xe1016c=_0x235290==null?void 0x0:_0x235290[_0x493755(0x392)]()['tables'])==null?{}:_0xe1016c)[_0x493755(0x274)](_0x1b6a7d=>_0x1b6a7d['id']);}[_0x557ecf(0x3aa)](){const _0x249fba=_0x557ecf;let _0x6657c0=this[_0x249fba(0x2c1)][_0x249fba(0x321)](e[_0x249fba(0x435)][_0x249fba(0x286)])['map'](_0x1636ad=>kr(_0x1636ad[_0x249fba(0x20b)](),Object['keys'](_0x1636ad[_0x249fba(0x392)]()[_0x249fba(0x2b7)])));return Object[_0x249fba(0x25b)]({},..._0x6657c0);}};Ar=B([z(0x0,t[_0x557ecf(0x493)]),z(0x1,e[_0x557ecf(0x4ff)])],Ar);const jr=e[_0x557ecf(0x4a2)][_0x557ecf(0x3ee)](String['raw']`(?:^|\W)\$?[A-Z]{1,3}\$?\d+(?::\$?[A-Z]{1,3}\$?\d+)?(?:$|\W)`),Mr=e[_0x557ecf(0x4a2)][_0x557ecf(0x3ee)](String[_0x557ecf(0x362)]`(?:'\[[^\]]+\](?:[^']|'')+'|\[[^\]]+\][^\s'!]+)!\$?[A-Z]{1,3}\$?\d+(?::\$?[A-Z]{1,3}\$?\d+)?`,'gi'),Nr=/\{([^}]+)\}/g,Pr=e[_0x557ecf(0x4a2)][_0x557ecf(0x3ee)](String[_0x557ecf(0x362)]`\b([A-Z_]\w*)\[([^\]]+)\]`,'gi'),Fr=e[_0x557ecf(0x4a2)][_0x557ecf(0x3ee)](String[_0x557ecf(0x362)]`(^|[^\w\][])\[([^\]]+)\]`,'g');var Ir=class{[_0x557ecf(0x3ad)](_0x16fb1e,_0x3df4cf=_0x16fb1e['id']){const _0x294c62=_0x557ecf;var _0x38a3a8,_0x136167;let _0x40e21f=(_0x38a3a8=(_0x136167=_0x16fb1e[_0x294c62(0x20f)])==null?void 0x0:_0x136167[_0x294c62(0x323)])==null?Object['values'](_0x16fb1e['records'])['length']:_0x38a3a8;return{'sheetId':_0x3df4cf,'titleMap':new Map(_0x16fb1e[_0x294c62(0x3e0)][_0x294c62(0x274)]((_0xef9fca,_0x19701f)=>{const _0x334796=_0x294c62;var _0x49ac57,_0x441107;return[(_0x49ac57=(_0x441107=_0x16fb1e['fields'][_0xef9fca])==null?void 0x0:_0x441107[_0x334796(0x3c4)])==null?_0xef9fca:_0x49ac57,_0x19701f];})),'range':{'startRow':0x0,'endRow':Math['max'](0x0,_0x40e21f-0x1),'startColumn':0x0,'endColumn':Math[_0x294c62(0x4ef)](0x0,_0x16fb1e['fieldOrder'][_0x294c62(0x323)]-0x1)},'showHeader':!0x1};}[_0x557ecf(0x339)](_0x4a7124,_0x1ffdcb,_0x1e6866,_0x2eb396={}){const _0x5dc235=_0x557ecf;var _0x4f7614;let _0x1e5403=this['createSuperTableReference'](_0x1e6866,(_0x4f7614=_0x2eb396[_0x5dc235(0x4eb)])==null?_0x1e6866['id']:_0x4f7614);return new Set([_0x1e6866['id'],_0x1e6866[_0x5dc235(0x3c4)],_0x2eb396[_0x5dc235(0x4c9)]][_0x5dc235(0x2fe)](_0x5e0f51=>!!_0x5e0f51))[_0x5dc235(0x4c8)](_0x4c4315=>_0x4a7124[_0x5dc235(0x4b8)](_0x1ffdcb,_0x4c4315,_0x1e5403)),_0x1e5403;}[_0x557ecf(0x4cb)](_0x441fe2,_0x3183b3){const _0x53b47f=_0x557ecf;let _0x2ab200=this[_0x53b47f(0x1f5)](_0x3183b3);return _0x2ab200['forEach'](({tableName:_0x2134a2,reference:_0x5a4f37})=>{_0x441fe2['registerTable'](_0x3183b3['id'],_0x2134a2,_0x5a4f37);}),Array[_0x53b47f(0x467)](new Set(_0x2ab200[_0x53b47f(0x274)](({reference:_0x4ef8d4})=>_0x4ef8d4)));}[_0x557ecf(0x1f5)](_0x483ed4,_0x3edf61){const _0x403e63=_0x557ecf;let _0x4a1bf4=[],_0x3cb644=_0x3edf61?new Set(_0x3edf61):null,_0x36cd33=new Map();return Object[_0x403e63(0x4f9)](_0x483ed4[_0x403e63(0x2b7)])['forEach'](_0x248e93=>{const _0x3089ec=_0x403e63;var _0x154120;let _0x34ba9c=_0x248e93[_0x3089ec(0x3c4)][_0x3089ec(0x354)]()[_0x3089ec(0x402)]();_0x36cd33[_0x3089ec(0x47d)](_0x34ba9c,((_0x154120=_0x36cd33['get'](_0x34ba9c))==null?0x0:_0x154120)+0x1);}),Object[_0x403e63(0x4f9)](_0x483ed4[_0x403e63(0x2b7)])[_0x403e63(0x2fe)](_0x366440=>!_0x3cb644||_0x3cb644[_0x403e63(0x25a)](_0x366440['id']))[_0x403e63(0x4c8)](_0x392aa1=>{const _0x3f32dc=_0x403e63;var _0x558ce5;let _0x37b142=this['createSuperTableReference'](_0x392aa1,_0x392aa1['id']);_0x4a1bf4[_0x3f32dc(0x43e)]({'tableId':_0x392aa1['id'],'tableName':_0x392aa1['id'],'reference':_0x37b142}),((_0x558ce5=_0x36cd33[_0x3f32dc(0x487)](_0x392aa1[_0x3f32dc(0x3c4)][_0x3f32dc(0x354)]()[_0x3f32dc(0x402)]()))==null?0x0:_0x558ce5)===0x1&&_0x4a1bf4[_0x3f32dc(0x43e)]({'tableId':_0x392aa1['id'],'tableName':_0x392aa1[_0x3f32dc(0x3c4)],'reference':_0x37b142});}),_0x4a1bf4;}[_0x557ecf(0x27f)](_0x1cb774,_0x4453cb,_0x8ffb9e={}){const _0x37573c=_0x557ecf;let _0x50f308=_0x1cb774[_0x37573c(0x354)]();if(!_0x50f308)return{'valid':!0x0};if(Hr(_0x50f308))return{'valid':!0x1,'reason':_0x37573c(0x3cd)};for(let _0x2994ec of Vr(_0x50f308)){let _0x42bb7c=qr(_0x2994ec,_0x4453cb,_0x8ffb9e['snapshot']);if(!_0x42bb7c[_0x37573c(0x37c)])return{'valid':!0x1,'reason':'[BaseFormula]:\x20table\x20\x22'+_0x2994ec[_0x37573c(0x4c9)]+_0x37573c(0x3c7)};if(!_0x42bb7c[_0x37573c(0x383)])return{'valid':!0x1,'reason':_0x37573c(0x1f9)+_0x2994ec[_0x37573c(0x2c8)]+_0x37573c(0x3c7)};}return{'valid':!0x0};}[_0x557ecf(0x4c2)](_0x471e33,_0x7cc06d,_0x4ecc40={}){const _0x37da7e=_0x557ecf;let _0x414bd1=new Set();for(let _0x59d7a3 of this['getStructuredDependencies'](_0x471e33,_0x7cc06d,_0x4ecc40))_0x59d7a3[_0x37da7e(0x3e9)]===_0x7cc06d['id']&&_0x414bd1[_0x37da7e(0x371)](_0x59d7a3[_0x37da7e(0x3da)]);return Array[_0x37da7e(0x467)](_0x414bd1);}[_0x557ecf(0x3ab)](_0x27a6fa,_0x5ded0b,_0x3a5574={}){const _0x3ed19d=_0x557ecf;let _0x27184c=new Map();for(let _0x14f913 of Vr(_0x27a6fa)){let _0x3214fb=qr(_0x14f913,_0x5ded0b,_0x3a5574[_0x3ed19d(0x3c0)]);if(!_0x3214fb[_0x3ed19d(0x37c)]||!_0x3214fb[_0x3ed19d(0x383)])continue;let _0x4a190b=_0x3214fb[_0x3ed19d(0x37c)]['id']+'\x1f'+_0x3214fb[_0x3ed19d(0x383)]['id'];_0x27184c[_0x3ed19d(0x47d)](_0x4a190b,{'tableId':_0x3214fb['table']['id'],'fieldId':_0x3214fb[_0x3ed19d(0x383)]['id']});}return Array[_0x3ed19d(0x467)](_0x27184c['values']());}};function Lr(_0x1e7cd8,_0x29caaf){const _0x4e853a=_0x557ecf;var _0x2cdbb0;let _0xffa2e8=[],_0x1875d7=(_0x2cdbb0=_0x29caaf['unitData'])==null?void 0x0:_0x2cdbb0[_0x1e7cd8['id']];return _0x1875d7&&Object['entries'](_0x1875d7)[_0x4e853a(0x4c8)](([_0x4455c4,_0x430759])=>{const _0x31250b=_0x4e853a;let _0xcc91d7=_0x1e7cd8[_0x31250b(0x2b7)][_0x4455c4];if(!_0xcc91d7||!_0x430759)return;let _0x4aed74=d(_0xcc91d7),_0x5e48e3=[];new e['ObjectMatrix'](_0x430759)['forValue']((_0x22e474,_0x45fb16,_0x427399)=>{let _0x4dd257=Rr(_0x4aed74,_0x22e474,_0x45fb16,_0x427399);_0x4dd257&&_0x5e48e3['push'](_0x4dd257);}),_0x5e48e3[_0x31250b(0x323)]&&_0xffa2e8[_0x31250b(0x43e)]({'unitId':_0x1e7cd8['id'],'tableId':_0x4455c4,'patches':_0x5e48e3});}),_0xffa2e8;}function Rr(_0x2cc161,_0x376c7e,_0x3854f8,_0xc04ba8){const _0x3b18e7=_0x557ecf;var _0x48e65b,_0x27fe4b,_0x1a42fa,_0x517a6d,_0x12ba22;let _0x1a3908=(_0x48e65b=_0x2cc161[_0x3b18e7(0x236)])==null?void 0x0:_0x48e65b[_0x376c7e],_0x1f2134=(_0x27fe4b=_0x2cc161[_0x3b18e7(0x432)])==null?void 0x0:_0x27fe4b[_0x3854f8];if(!_0x1a3908||!_0x2cc161[_0x3b18e7(0x2ac)][_0x1a3908]||!_0x1f2134)return null;let _0x5b19fe=_0x2cc161['fields'][_0x1f2134];if(!_0x5b19fe||_0x5b19fe[_0x3b18e7(0x26a)]!=='formula')return null;let _0x1e68e5=String((_0x1a42fa=(_0x517a6d=_0x5b19fe[_0x3b18e7(0x294)])==null?void 0x0:_0x517a6d[_0x3b18e7(0x4dd)])==null?'':_0x1a42fa)[_0x3b18e7(0x354)](),_0x5a0de0=(_0x12ba22=_0xc04ba8==null?void 0x0:_0xc04ba8['v'])==null?null:_0x12ba22,_0x43b56b={'v':_0x5a0de0,'t':Br(_0x5a0de0),..._0x376c7e===0x0&&_0x1e68e5?{'f':_0x1e68e5}:{},'si':_0x5b19fe['id']};return zr(g(_0x2cc161,_0x1a3908,_0x1f2134),_0x43b56b)?null:{'row':_0x376c7e,'col':_0x3854f8,'value':_0x43b56b};}function zr(_0x1410ae,_0x54930b){var _0x5760f0,_0x4ee9e8;return _0x1410ae!=null&&Object['is']((_0x5760f0=_0x1410ae['v'])==null?null:_0x5760f0,(_0x4ee9e8=_0x54930b['v'])==null?null:_0x4ee9e8)&&_0x1410ae['t']===_0x54930b['t']&&_0x1410ae['f']===_0x54930b['f']&&_0x1410ae['si']===_0x54930b['si'];}function Br(_0x1fa759){const _0x3c12f0=_0x557ecf;return typeof _0x1fa759=='number'?e[_0x3c12f0(0x429)]['NUMBER']:typeof _0x1fa759==_0x3c12f0(0x4a1)?e[_0x3c12f0(0x429)][_0x3c12f0(0x2a0)]:typeof _0x1fa759==_0x3c12f0(0x39d)?e[_0x3c12f0(0x429)][_0x3c12f0(0x4c7)]:null;}function Vr(_0x263d4d){const _0x25701=_0x557ecf;_0x263d4d=Ur(_0x263d4d,()=>'');let _0x42e6e6=new Map();for(let _0x51e8fb of _0x263d4d[_0x25701(0x204)](Nr)){let _0x860758={'fieldName':_0x51e8fb[0x1]};_0x42e6e6[_0x25701(0x47d)]('\x1f'+_0x860758['fieldName'],_0x860758);}for(let _0x5323a1 of _0x263d4d[_0x25701(0x204)](Pr)){let _0x33fbb5={'tableName':_0x5323a1[0x1],'fieldName':_0x5323a1[0x2]};_0x42e6e6[_0x25701(0x47d)](_0x33fbb5[_0x25701(0x4c9)]+'\x1f'+_0x33fbb5[_0x25701(0x2c8)],_0x33fbb5);}for(let _0x23f763 of _0x263d4d[_0x25701(0x204)](Fr)){let _0x58c619={'fieldName':_0x23f763[0x2]};_0x42e6e6[_0x25701(0x47d)]('\x1f'+_0x58c619['fieldName'],_0x58c619);}return Array[_0x25701(0x467)](_0x42e6e6[_0x25701(0x4f9)]());}function Hr(_0x9a7817){const _0x30f46b=_0x557ecf;let _0x5577f3=Wr(_0x9a7817,()=>'\x20')[_0x30f46b(0x4c4)](Nr,'\x20')[_0x30f46b(0x4c4)](Pr,'\x20')[_0x30f46b(0x4c4)](Fr,'$1\x20');return jr[_0x30f46b(0x2af)](_0x5577f3);}function Ur(_0x478be8,_0x138e52){return Gr(Wr(_0x478be8,_0x138e52),_0x138e52);}function Wr(_0x193146,_0x35b1b3){const _0x57a06b=_0x557ecf;return Mr[_0x57a06b(0x384)]=0x0,_0x193146[_0x57a06b(0x4c4)](Mr,(_0x101f57,_0x2a70da)=>Kr(_0x193146,_0x2a70da)?_0x101f57:_0x35b1b3(_0x101f57));}const X=/(?:'((?:[^']|'')+)'|\[[^\]]+\]|[A-Za-z0-9_.-]+)![^\s!\[\]]+\[/g;function Gr(_0x4b604a,_0x2f7fdc){const _0x34b39b=_0x557ecf;let _0x18a714=[];X[_0x34b39b(0x384)]=0x0;let _0xac5d7b;for(;(_0xac5d7b=X['exec'](_0x4b604a))!=null;){if(Kr(_0x4b604a,_0xac5d7b[_0x34b39b(0x344)]))continue;let _0x2cf2ec=X[_0x34b39b(0x384)]-0x1,_0x5b0234=0x0;for(let _0x44f162=_0x2cf2ec;_0x44f162<_0x4b604a[_0x34b39b(0x323)];_0x44f162++)if(_0x4b604a[_0x44f162]==='['&&_0x5b0234++,_0x4b604a[_0x44f162]===']'&&(_0x5b0234--,_0x5b0234===0x0)){_0x18a714['push']({'start':_0xac5d7b['index'],'end':_0x44f162+0x1}),X[_0x34b39b(0x384)]=_0x44f162+0x1;break;}}if(_0x18a714[_0x34b39b(0x323)]===0x0)return _0x4b604a;let _0x379c76='',_0xabd8a=0x0;for(let _0x4b38da of _0x18a714)_0x379c76+=_0x4b604a['slice'](_0xabd8a,_0x4b38da['start']),_0x379c76+=_0x2f7fdc(_0x4b604a[_0x34b39b(0x4c3)](_0x4b38da[_0x34b39b(0x448)],_0x4b38da['end'])),_0xabd8a=_0x4b38da[_0x34b39b(0x3bd)];return _0x379c76+_0x4b604a[_0x34b39b(0x4c3)](_0xabd8a);}function Kr(_0x4f3839,_0x56147e){let _0x2cebb7=!0x1;for(let _0x198bd2=0x0;_0x198bd2<_0x56147e;_0x198bd2++)if(_0x4f3839[_0x198bd2]==='\x22'){if(_0x2cebb7&&_0x4f3839[_0x198bd2+0x1]==='\x22'){_0x198bd2++;continue;}_0x2cebb7=!_0x2cebb7;}return _0x2cebb7;}function qr(_0x504853,_0x2ee11,_0x380462){const _0x311da2=_0x557ecf;let _0x4436af=Jr(_0x504853['tableName'],_0x2ee11,_0x380462);return{'table':_0x4436af,'field':_0x4436af?Object[_0x311da2(0x4f9)](_0x4436af['fields'])['find'](_0x2a29e5=>_0x2a29e5[_0x311da2(0x3c4)]===_0x504853[_0x311da2(0x2c8)]):void 0x0};}function Jr(_0x47cea0,_0x393d19,_0xadf41f){const _0xd108f7=_0x557ecf;if(!_0x47cea0||_0x47cea0===_0xd108f7(0x37c)||_0x47cea0===_0x393d19['id']||_0x47cea0===_0x393d19['name'])return _0x393d19;if(!_0xadf41f)return;let _0x439cd7=_0xadf41f['tables'][_0x47cea0];if(_0x439cd7)return _0x439cd7;let _0x592920=Object[_0xd108f7(0x4f9)](_0xadf41f[_0xd108f7(0x2b7)])[_0xd108f7(0x2fe)](_0x52216d=>_0x52216d['name']===_0x47cea0);return _0x592920[_0xd108f7(0x323)]===0x1?_0x592920[0x0]:void 0x0;}let Yr=class extends e[_0x557ecf(0x269)]{constructor(_0x5567f7,_0x479aea,_0x3ff6a9){const _0x2b356c=_0x557ecf;super(),this[_0x2b356c(0x41e)]=_0x5567f7,this[_0x2b356c(0x2c1)]=_0x479aea,I(this,_0x2b356c(0x1ff),new Ir()),I(this,'_registeredSuperTableNames',new Map()),I(this,_0x2b356c(0x449),Promise[_0x2b356c(0x3a9)]()),I(this,_0x2b356c(0x2be),!0x1),this[_0x2b356c(0x380)]();}[_0x557ecf(0x380)](){const _0xfa4164=_0x557ecf;this[_0xfa4164(0x2c1)][_0xfa4164(0x321)](e['UniverInstanceType']['UNIVER_BASE'])[_0xfa4164(0x4c8)](_0x438f96=>{const _0x44baaf=_0xfa4164;this[_0x44baaf(0x24c)](async()=>{const _0x1240ae=_0x44baaf;await this[_0x1240ae(0x2b1)](_0x438f96);});}),this[_0xfa4164(0x2fa)](this[_0xfa4164(0x2c1)]['getTypeOfUnitAdded$'](e[_0xfa4164(0x435)][_0xfa4164(0x286)])[_0xfa4164(0x2d8)](({unit:_0x509602})=>{const _0x31f70d=_0xfa4164;this[_0x31f70d(0x24c)](async()=>{const _0x190adb=_0x31f70d;await this[_0x190adb(0x2b1)](_0x509602);});})),this['disposeWithMe'](this[_0xfa4164(0x2c1)][_0xfa4164(0x3d4)](e['UniverInstanceType'][_0xfa4164(0x286)])['subscribe'](_0x4941b5=>{const _0x151e37=_0xfa4164;this[_0x151e37(0x24c)](()=>this[_0x151e37(0x262)](_0x4941b5[_0x151e37(0x20b)]()));})),this['disposeWithMe'](this[_0xfa4164(0x41e)][_0xfa4164(0x2b4)](_0x5a0a1c=>this[_0xfa4164(0x3e3)](_0x5a0a1c)));}[_0x557ecf(0x3e3)](_0x16be7e){const _0x917466=_0x557ecf;if(_0x16be7e['id']===t['SetFormulaCalculationResultMutation']['id']){Zr(_0x16be7e[_0x917466(0x23e)])&&this['_applyFormulaResult'](_0x16be7e[_0x917466(0x23e)]);return;}if(this[_0x917466(0x2be)]||_0x16be7e['id']!==J['id'])return;let _0xe1856e=Xr(_0x16be7e[_0x917466(0x23e)])?_0x16be7e[_0x917466(0x23e)]:void 0x0,_0x114ac1=_0xe1856e!=null&&_0xe1856e[_0x917466(0x4a4)]?[this[_0x917466(0x2c1)][_0x917466(0x445)](_0xe1856e['unitId'],e[_0x917466(0x435)]['UNIVER_BASE'])]['filter'](_0x3aabed=>!!_0x3aabed):this[_0x917466(0x2c1)][_0x917466(0x321)](e[_0x917466(0x435)]['UNIVER_BASE']),_0x5b6e6d=_0xe1856e==null?void 0x0:_0xe1856e['op'];_0x114ac1['forEach'](_0x22d656=>{const _0x2dbe10=_0x917466;let _0x31d5d2=_0x5b6e6d?Dr(_0x5b6e6d):[];(!_0x5b6e6d||_0x31d5d2['some'](_0x3dd914=>_0x3dd914[_0x2dbe10(0x49d)]!==_0x2dbe10(0x28e)))&&this['_enqueueFormulaSync'](()=>this[_0x2dbe10(0x2b1)](_0x22d656));});}async[_0x557ecf(0x2b1)](_0xcd112d){const _0x4accf4=_0x557ecf;var _0x596b88;let _0x21e007=_0xcd112d[_0x4accf4(0x20b)](),_0x5b7511=this[_0x4accf4(0x1ff)][_0x4accf4(0x1f5)](_0xcd112d['getSnapshot']()),_0x56dfbe=new Set(_0x5b7511[_0x4accf4(0x274)](({tableName:_0x5cf0b6})=>_0x5cf0b6)),_0x3a2b46=(_0x596b88=this[_0x4accf4(0x2e5)][_0x4accf4(0x487)](_0x21e007))==null?new Set():_0x596b88;for(let _0x5db93c of _0x3a2b46)_0x56dfbe['has'](_0x5db93c)||await this['_commandService']['executeCommand'](t[_0x4accf4(0x1fc)]['id'],{'unitId':_0x21e007,'tableName':_0x5db93c});for(let {tableName:_0x31f74a,reference:_0x327669}of _0x5b7511)await this['_commandService'][_0x4accf4(0x4b2)](t['SetSuperTableMutation']['id'],{'unitId':_0x21e007,'tableName':_0x31f74a,'reference':_0x327669});this[_0x4accf4(0x2e5)][_0x4accf4(0x47d)](_0x21e007,_0x56dfbe);}async[_0x557ecf(0x262)](_0x106d66){const _0x4e30aa=_0x557ecf;var _0x254540;let _0x2e9ab7=(_0x254540=this['_registeredSuperTableNames'][_0x4e30aa(0x487)](_0x106d66))==null?new Set():_0x254540;for(let _0x23e577 of _0x2e9ab7)await this[_0x4e30aa(0x41e)][_0x4e30aa(0x4b2)](t[_0x4e30aa(0x1fc)]['id'],{'unitId':_0x106d66,'tableName':_0x23e577});this[_0x4e30aa(0x2e5)]['delete'](_0x106d66);}[_0x557ecf(0x24c)](_0x562614){const _0x4c1fa7=_0x557ecf;this[_0x4c1fa7(0x449)]=this[_0x4c1fa7(0x449)][_0x4c1fa7(0x26d)](_0x562614,_0x562614)['catch'](()=>void 0x0);}[_0x557ecf(0x246)](_0x2f0cc6){const _0x3b4887=_0x557ecf;let _0x265fe9=this[_0x3b4887(0x2c1)][_0x3b4887(0x321)](e[_0x3b4887(0x435)][_0x3b4887(0x286)])[_0x3b4887(0x454)](_0x3dcaab=>Lr(_0x3dcaab[_0x3b4887(0x392)](),_0x2f0cc6));if(!_0x265fe9[_0x3b4887(0x323)])return;let _0x1fdc0b=new P(),_0x5af213=_0x265fe9[_0x3b4887(0x454)](_0x175ce6=>Or({'unitId':_0x175ce6['unitId'],'tableId':_0x175ce6[_0x3b4887(0x3e9)],'patches':_0x175ce6['patches']}));this['_applyingFormulaResults']=!0x0,(async()=>{const _0x5a483b=_0x3b4887;for(let _0x209656 of _0x265fe9){let _0x40ca99=this[_0x5a483b(0x2c1)][_0x5a483b(0x445)](_0x209656['unitId'],e['UniverInstanceType'][_0x5a483b(0x286)]);_0x40ca99&&await this[_0x5a483b(0x41e)][_0x5a483b(0x4b2)](J['id'],{'unitId':_0x209656[_0x5a483b(0x4a4)],'op':_0x1fdc0b[_0x5a483b(0x48f)](_0x40ca99[_0x5a483b(0x392)](),_0x209656['tableId'],_0x209656[_0x5a483b(0x32b)]),'trigger':t[_0x5a483b(0x3be)]['id']},{'onlyLocal':!0x0});}await this['_commandService'][_0x5a483b(0x4b2)](t[_0x5a483b(0x325)]['id'],{'dirtyRanges':_0x5af213},{'onlyLocal':!0x0});})()['finally'](()=>{const _0x2475c7=_0x3b4887;this[_0x2475c7(0x2be)]=!0x1;});}};Yr=B([z(0x0,e['ICommandService']),z(0x1,e[_0x557ecf(0x4ff)]),z(0x2,(0x0,e[_0x557ecf(0x316)])(t[_0x557ecf(0x2f8)]))],Yr);function Xr(_0x24c4ae){const _0x2d1a09=_0x557ecf;return typeof _0x24c4ae=='object'&&!!_0x24c4ae&&'unitId'in _0x24c4ae&&typeof _0x24c4ae[_0x2d1a09(0x4a4)]=='string'&&'op'in _0x24c4ae&&Array[_0x2d1a09(0x2e1)](_0x24c4ae['op']);}function Zr(_0xd5f46b){const _0x1dc829=_0x557ecf;return typeof _0xd5f46b==_0x1dc829(0x341)&&!!_0xd5f46b&&_0x1dc829(0x314)in _0xd5f46b&&_0x1dc829(0x32d)in _0xd5f46b;}const Qr=(0x0,e[_0x557ecf(0x3d0)])('base.resource.service');let $r=class{constructor(_0x1cd81a){const _0x23dcd5=_0x557ecf;this[_0x23dcd5(0x2c1)]=_0x1cd81a;}[_0x557ecf(0x1ef)](_0x58c967){const _0x1e8fea=_0x557ecf;var _0x2754fe;return(_0x2754fe=this[_0x1e8fea(0x2c1)]['getUnit'](_0x58c967,e[_0x1e8fea(0x435)]['UNIVER_BASE']))==null?null:_0x2754fe;}[_0x557ecf(0x3a0)](){const _0x17b618=_0x557ecf;return this[_0x17b618(0x2c1)]['getAllUnitsForType'](e[_0x17b618(0x435)][_0x17b618(0x286)]);}['createBase'](_0x5b308b){const _0x320e5b=_0x557ecf;return this[_0x320e5b(0x2c1)][_0x320e5b(0x4db)](e[_0x320e5b(0x435)][_0x320e5b(0x286)],_0x5b308b);}};$r=B([z(0x0,e[_0x557ecf(0x4ff)])],$r);const ei=(0x0,e[_0x557ecf(0x3d0)])(_0x557ecf(0x29f));var ti=class extends e[_0x557ecf(0x269)]{constructor(..._0x41ad0b){super(..._0x41ad0b),I(this,'_plugins',new Map());}[_0x557ecf(0x390)](_0x26eb96){const _0x91bdbb=_0x557ecf;return this[_0x91bdbb(0x330)][_0x91bdbb(0x47d)](_0x26eb96[_0x91bdbb(0x26a)],_0x26eb96),(0x0,e[_0x91bdbb(0x258)])(()=>this['_plugins']['delete'](_0x26eb96[_0x91bdbb(0x26a)]));}[_0x557ecf(0x487)](_0x15afe8){const _0x2d7f8b=_0x557ecf;let _0x3e4d48=this[_0x2d7f8b(0x330)][_0x2d7f8b(0x487)](_0x15afe8);if(!_0x3e4d48)throw Error('[BaseViewRegistryService]:\x20view\x20type\x20\x22'+_0x15afe8+_0x2d7f8b(0x3f0));return _0x3e4d48;}[_0x557ecf(0x45c)](){const _0x2464d5=_0x557ecf;return Array[_0x2464d5(0x467)](this[_0x2464d5(0x330)][_0x2464d5(0x4f9)]());}};const ni=[J];let Z=class extends e[_0x557ecf(0x49a)]{constructor(_0x44cb89=Tr,_0x5b5017,_0x2c05ff,_0x1d008c,_0x3219ce,_0x225feb){const _0x57accd=_0x557ecf;super(),this[_0x57accd(0x3c1)]=_0x44cb89,this[_0x57accd(0x488)]=_0x5b5017,this['_commandService']=_0x2c05ff,this[_0x57accd(0x2c1)]=_0x1d008c,this[_0x57accd(0x2bf)]=_0x3219ce,this[_0x57accd(0x259)]=_0x225feb,I(this,_0x57accd(0x3ec),new Map());let {..._0x3c5ee6}=(0x0,e[_0x57accd(0x3d2)])({},Tr,this[_0x57accd(0x3c1)]);this[_0x57accd(0x2bf)][_0x57accd(0x470)](_0x57accd(0x352),_0x3c5ee6),this[_0x57accd(0x2c1)][_0x57accd(0x35e)](e[_0x57accd(0x435)][_0x57accd(0x286)],e['BaseDataModel']),this['_initDependencies'](),this[_0x57accd(0x3f1)](),this['_initRegistries'](),this[_0x57accd(0x257)]();}[_0x557ecf(0x4fb)](){const _0x277950=_0x557ecf;(0x0,e['touchDependencies'])(this[_0x277950(0x488)],[[$r],[H],[Ar]]),this[_0x277950(0x2c1)][_0x277950(0x321)](e[_0x277950(0x435)][_0x277950(0x286)])[_0x277950(0x4c8)](_0xb9bb8a=>this[_0x277950(0x313)](_0xb9bb8a[_0x277950(0x20b)]())),(0x0,e[_0x277950(0x4fa)])(this[_0x277950(0x488)],[[Yr]]);}[_0x557ecf(0x327)](){const _0x454c99=_0x557ecf;[[L,{'useClass':St}],[ei,{'useClass':ti}],[Ft,{'useClass':Lt}],[Qr,{'useClass':$r}],[Ct,{'useClass':wt}],[V,{'useClass':H}],[Ar],[Yr]][_0x454c99(0x4c8)](_0x32b39f=>this['_injector'][_0x454c99(0x371)](_0x32b39f));}[_0x557ecf(0x3f1)](){const _0x183359=_0x557ecf;[yn,Kn,Ln,ir,Zn,Xn,vn,mn,In,hn,Bn,cr,_n,zn,or,ar,gn,Fn,Wn,Pn,Vn,qn,Yn,Rn,Gn,lr,Jn,sr,tr,rr,nr,$n,er,Qn,...ni][_0x183359(0x4c8)](_0x420a56=>this[_0x183359(0x2fa)](this[_0x183359(0x41e)]['registerCommand'](_0x420a56))),ni['forEach'](_0x3f9c16=>{const _0x45e7bd=_0x183359;var _0x2a6789;return(_0x2a6789=this[_0x45e7bd(0x259)])==null?void 0x0:_0x2a6789[_0x45e7bd(0x36b)](_0x3f9c16);});}[_0x557ecf(0x257)](){const _0x1c0dd9=_0x557ecf;this['_dataSyncPrimaryController']&&(this[_0x1c0dd9(0x2fa)](this['_univerInstanceService'][_0x1c0dd9(0x2c9)](e[_0x1c0dd9(0x435)][_0x1c0dd9(0x286)])['subscribe'](({unit:_0x2fb196})=>{const _0x411326=_0x1c0dd9;this[_0x411326(0x313)](_0x2fb196[_0x411326(0x20b)]());})),this['disposeWithMe'](this[_0x1c0dd9(0x2c1)][_0x1c0dd9(0x3d4)](e['UniverInstanceType'][_0x1c0dd9(0x286)])[_0x1c0dd9(0x2d8)](_0xe9d70c=>{const _0x36ae39=_0x1c0dd9;var _0x29a406;(_0x29a406=this[_0x36ae39(0x3ec)][_0x36ae39(0x487)](_0xe9d70c[_0x36ae39(0x20b)]()))==null||_0x29a406[_0x36ae39(0x3e5)](),this['_baseSyncDisposables'][_0x36ae39(0x303)](_0xe9d70c[_0x36ae39(0x20b)]());})));}[_0x557ecf(0x313)](_0x4e7bcd){const _0x1daa13=_0x557ecf;!this[_0x1daa13(0x259)]||this[_0x1daa13(0x3ec)]['has'](_0x4e7bcd)||this['_baseSyncDisposables']['set'](_0x4e7bcd,this[_0x1daa13(0x259)][_0x1daa13(0x47b)](_0x4e7bcd));}['_initRegistries'](){const _0x5cb6f6=_0x557ecf;let _0x56f919=this[_0x5cb6f6(0x488)][_0x5cb6f6(0x487)](L);Qe()['forEach'](_0x2fdfe6=>_0x56f919[_0x5cb6f6(0x390)](_0x2fdfe6));let _0xda20cb=this[_0x5cb6f6(0x488)]['get'](ei),_0x17456a=this[_0x5cb6f6(0x488)][_0x5cb6f6(0x487)](Ft);At()[_0x5cb6f6(0x4c8)](_0x37867f=>{const _0x2e1a82=_0x5cb6f6;_0xda20cb[_0x2e1a82(0x390)](_0x37867f),_0x17456a['registerView'](_0x37867f);});}};I(Z,'pluginName',_0x557ecf(0x491)),I(Z,_0x557ecf(0x200),Cr),I(Z,_0x557ecf(0x34c),wr),I(Z,_0x557ecf(0x26a),e['UniverInstanceType'][_0x557ecf(0x286)]),Z=B([(0x0,e[_0x557ecf(0x369)])(n[_0x557ecf(0x250)],t[_0x557ecf(0x202)]),z(0x1,(0x0,e[_0x557ecf(0x316)])(e[_0x557ecf(0x296)])),z(0x2,e[_0x557ecf(0x49f)]),z(0x3,e[_0x557ecf(0x4ff)]),z(0x4,e['IConfigService']),z(0x5,(0x0,e['Optional'])(r[_0x557ecf(0x430)]))],Z);let Q=class extends e[_0x557ecf(0x49a)]{constructor(_0x2bfb40=Er,_0x258363,_0x407c1c,_0xa4b5a4,_0xad9bb1){const _0x2ab9d7=_0x557ecf;super(),this[_0x2ab9d7(0x3c1)]=_0x2bfb40,this['_injector']=_0x258363,this[_0x2ab9d7(0x41e)]=_0x407c1c,this[_0x2ab9d7(0x2bf)]=_0xa4b5a4,this[_0x2ab9d7(0x2c1)]=_0xad9bb1;let {..._0x5478b3}=(0x0,e[_0x2ab9d7(0x3d2)])({},Er,this[_0x2ab9d7(0x3c1)]);this[_0x2ab9d7(0x2bf)]['setConfig']('bases.remote.config',_0x5478b3),this[_0x2ab9d7(0x2c1)]['registerCtorForType'](e[_0x2ab9d7(0x435)][_0x2ab9d7(0x286)],e[_0x2ab9d7(0x40c)]),ni[_0x2ab9d7(0x4c8)](_0x3514e2=>this[_0x2ab9d7(0x2fa)](this[_0x2ab9d7(0x41e)][_0x2ab9d7(0x23a)](_0x3514e2)));}};I(Q,_0x557ecf(0x1fa),_0x557ecf(0x3c5)),I(Q,_0x557ecf(0x200),Cr),I(Q,_0x557ecf(0x34c),wr),I(Q,_0x557ecf(0x26a),e['UniverInstanceType'][_0x557ecf(0x286)]),Q=B([(0x0,e['DependentOn'])(n[_0x557ecf(0x250)],t['UniverProFormulaEnginePlugin']),z(0x1,(0x0,e[_0x557ecf(0x316)])(e[_0x557ecf(0x296)])),z(0x2,e[_0x557ecf(0x49f)]),z(0x3,e[_0x557ecf(0x451)]),z(0x4,e[_0x557ecf(0x4ff)])],Q);function _0x3579(){const _0x27b0a3=['error','Barcode','_title','normal','DependentOn','stringify','registerSyncingMutations','MM/DD/YYYY','groups','tableRevision','focusUnit','createdBy','add','gantt','value','Tools','tomorrow','_createNumberingAllocator','BaseProjection.materializeTableRows','#BBF7D0','BatchCreateBaseRecordsCommand','Email','conditions','table','DeleteBaseTableCommand','mode','majorHeaders','_initialize','deleteTable','pushUndoRedo','field','lastIndex','decimal','_getCurrentUserId','IBaseProjectionService','baseDateSerialToDateMs','workingDaysOnly','deleteRecord','col','person','progressFieldId','base.command.delete-base-record','_viewRevisions','register','createTable','getSnapshot','_groupsCacheKey','Checkbox','base.command.set-base-view-sort','_buildGrid','[BaseField]:\x20invalid\x20checkbox\x20value.','row','8PBzxiU','h:mm\x20a','_viewRowsCacheKey','UNIVER_EMBED_BASES_TABLE','string','normalize','base.command.delete-base-table','getAllBases','numfmt','SetBaseRangeValuesCommand','invalidGanttStartField','clearFieldPermission','setBaseName','globalRevision','view','createBatchCreateRecordsOp','resolve','_getAllBaseDependencyTreeCacheMap','getStructuredDependencies','primaryFieldName','createSuperTableReference','IBaseViewRegistryService','getMonth','quarter','BaseViewType','applyOp','UTC','notContains','fieldSettings','Rating','setViewFieldWidth','beforeViewId','percent','lessThan','syncExecuteCommand','NUMBER','end','SetFormulaCalculationResultMutation','_viewRevisionKey','snapshot','_config','updatedAt','SetBaseViewSortCommand','name','REMOTE_BASES_PLUGIN','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','\x22\x20does\x20not\x20exist.','_projectedViewRowsCache','refactorFormulaUnitQualifier','usableAsGanttStart','setRecordPermission','rules','[BaseFormula]:\x20A1\x20references\x20and\x20ranges\x20are\x20not\x20supported\x20in\x20Base\x20formulas.','#14b8a6','en-US','createIdentifier','localeCompare','merge','toFixed','getTypeOfUnitDisposed$','[BaseCommandService]:\x20cannot\x20edit\x20field.','unshift','getBaseCellValue','view-','_cacheKey','fieldId','SetBaseKanbanGroupFieldCommand','Group','updateField','afterViewId','_getTable','fieldOrder','_getTablesToNormalize','_cellRevisions','_onCommandExecuted','generateRandomId','dispose','_resolveKanbanCardFieldIds','usableAsCardCover','exact','tableId','SetBaseViewFilterCommand','isNot','_baseSyncDisposables','getUTCDate','createRegExpFromSafeFragment','base.fieldType.','\x22\x20is\x20not\x20registered.','_initCommands','YYYY/MM/DD','_getJson1DirtyData','limit','year','EMBED_BASES_TABLE_RESOURCE_KEY','hasOwnProperty','Button','_isNonEmptyCellValue','hidden','_filterSortFieldIds','CreatedAt','isFinite','fieldIndex','BaseProjection.projectTableRows','_normalizeCalendarDisplayColor','registerView','toLowerCase','function','autoIncrement','recordPatch','includeRecords','_getCellRevision','orderKey','_fieldRegistry','canDeleteField','week','BaseDataModel','fields','_canUseFastSort','endDateFieldId','done','7vpZFvY','Number','setViewFieldOrder','operand','conditional','scale','RenameBaseTableCommand','_bumpTableRevision','currencySymbol','_setFormulaFieldCells','month','_kanbanGroupKeys','calendar','_commandService','_ganttBarColor','base.command.set-base-view-group','splice','createDefaultConfig','getCurrentUserId','Status','record','updateCell','children','Checked','CellValueType','lastWeek','toLocaleString','format','prototype','symbol','usableAsGanttEnd','DataSyncPrimaryController','DeleteBaseRecordCommand','colId','[BaseProjectionService]:\x20missing\x20view\x20\x22','getOwnPropertyDescriptor','UniverInstanceType','childType','canDeleteRecord','_getAllTableIds','_basePermissions','titleFieldId','_groupCellInvalidations','setViewFilter','valueOf','push','yyyy/mm/dd','_createRecordOrderOp','_getViewRevision','day','_rowTransformCacheSegment','_normalizeGalleryConfig','getUnit','_projectedGroupsCache','FieldId','start','_formulaSyncQueue','fld-','Todo','split','changeFieldType','UpdatedBy','thisWeek','greaterThan','IConfigService','getItem','[BaseCommandService]:\x20cannot\x20edit\x20cell.','flatMap','@univerjs-pro/bases','_projectedRowsCache','[BaseCommandService]:\x20cannot\x20create\x20table.','entries','diffValue','DeleteBaseViewCommand','renameTable','getAll','viewRevision','views','general','base.command.create-base-record','End\x20date','recordNamePrefix','MoveBaseFieldCommand','_permissionService','BatchDeleteBaseRecordsCommand','__UNIVER_BASE_PERF__','from','_tablePermissions','padStart','conjunction','cellData','_resolveGalleryCardFieldIds','level','createRecord','round','setConfig','_views','_createRecordWithDefaults','Unchecked','9fpstUQ','short','Formula','base.command.set-base-view-field-visible','getTime','setTablePermission','-view-grid','syncUnit','Failed\x20to\x20create\x20update\x20cell\x20operation:','set','SetBaseViewFieldVisibleCommand','base.command.set-base-view-field-order','_projectionCache','displayText','clearTablePermission','score','Currency','CommandType','_getSystemFieldValue','get','_injector','base.command.create-base-view','_patchCachedProjectedRows','_projectFields','options','renameView','defineProperty','setRangeValues','createDefaultValue','BASES_PLUGIN','unknown','IActiveDirtyManagerService','_recordIds','embedId','sort','embed-ui','2663688KGynCH','Kanban\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','Plugin','[BaseField]:\x20invalid\x20person\x20value.','invalid','reason','getUTCMonth','ICommandService','primaryFieldId','boolean','regexp','base.command.set-base-record-values','unitId','viewOrder','_normalizeCalendarConfig','#FDE68A','copyBaseTableSnapshot','False','_kanbanLaneTitle','getBaseCellFormulaValue','contains','beforeFieldId','star','constructor','base.command.update-base-view-config','keys','executeCommand','viewIndexes','repeat','compose','[BaseCommandService]:\x20cannot\x20delete\x20table.','invertOp','registerTable','resources','_setAttachmentResources','false','DESC','fromEntries','medium','IBaseCommandService','Grid\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','find','getDependencies','slice','replace','column','MUTATION','STRING','forEach','tableName','_tableRevisions','registerSuperTables','hh:mm','local','[BasePerf]\x20','_apply','_matchesGanttColorRule','_resolveKanbanCoverFieldId','yesterday','kanban','major-','exceptions','columnSettings','CreatedBy','small','attachments','displayColor','createUnit','leftPaneCollapsed','formula','_getStructureDirtyTableIds','[BaseField]:\x20invalid\x20rating\x20value.','_isAllDayCalendarEvent','_groupConfigCacheSegment','moveView','regenerateViewIds','ena','_createSystemFieldValuePatches','base.command.move-base-view','decorate','cardLayout','Gantt','base.command.set-base-view-field-width','sheetId','createEmbedBasesTable','Start\x20date','replaceOp','max','removeOp','__all__',',\x22K\x22','edit','Link','some','NumberFormat','number','SetBaseViewGroupCommand','values','touchDependencies','onReady','group','UniverBasesPlugin','timeslotSize','IUniverInstanceService','leftPaneWidth','_activeDirtyManagerService','invalidDateField','date','_setViewFieldSetting','searchTexts','invalidGanttEndField','dateToExcelSerial','h12','_withModifiedSystemValues','base.command.delete-base-view','ensureBaseTableCellLayout','endsWith','sequenceExecute','formatBaseNumberValue','UpdateBaseFieldDescriptionCommand','measure','frozenFieldCount','mark','invalidateByCell','createdAt','key','baseRows','getBase','SetBaseNameCommand','spaceComma','_getCachedProjection','_normalizeGanttConfig','411590uruUbz','getSuperTableRegistrations','groupFieldId','columns','useThousands','[BaseFormula]:\x20field\x20\x22','pluginName','editCell','RemoveSuperTableMutation','base.viewType.grid','getUTCFullYear','_formulaService','packageName','manual','UniverProFormulaEnginePlugin','dateKit','matchAll','_globalRevision','parse','allowNegative','tableOrder','invertWithDoc','query','getUnitId','reduce','canCreateField','_buildCalendar','recordOrder','none','_createNumberingFieldValuePatches','Gallery','resolvedOptions','_resolveKanbanGroupFieldId','createView','_resolveGalleryCoverFieldId','2tZKPYj','CreateBaseFieldCommand','cardSize','base.command.create-base-table','2396345wOgnXf','after','_isKanbanGroupField','2358609Xgdujt','changed','findIndex','today','IBasePermissionService','26930wJApQn','setSnapshot','recordIds','BaseJson1.json1Apply','long','https://','url','#3b82f6','user','base.viewType.kanban','SingleSelect','Kanban','fieldIds','_buildKanban','CreateBaseTableCommand','IBaseCellData.ensureTableCellLayout','doing','setViewGroup','_factory','rowId','FORCE_STRING','createField','getAffectedRanges','registerCommand','_calendarEventColor','createDefaultBaseTableSnapshot','showTodayLine','params','setViewFieldVisible','TwoWayLink','canManageView',',,\x22M\x22','base.command.duplicate-base-field','canDeleteTable','setRecordValues','_applyFormulaResult','Flow','[BaseCommandService]:\x20field\x20\x22','createUpdateCellOp','call','_projectTableRows','_enqueueFormulaSync','base.command.set-base-view-filter','base.command.update-base-cell','duplicateField','UniverLicensePlugin','#,##0','CreateBaseViewCommand','rowIndex','Calendar\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','BaseProjection.projectRows','color','_initDataSync','toDisposable','_dataSyncPrimaryController','has','assign',',,,\x22B\x22','_materializeGroups','usableAsCalendarDate','Name','size','Person','_removeSuperTables','DuplicateBaseRecordCommand','base.command.create-base-field','Phone','_isGanttDateField','createEmbedBasesTableAddMutation','custom','Disposable','type','base.command.update-base-record-order','moveField','then','[BaseCommandService]:\x20cannot\x20create\x20record.','workingDays','selectField','getCapabilities','Date','attachment','map','[BaseField]:\x20invalid\x20progress\x20value.','BaseProjection.projectGroups','every','valid','colIndex','Attachment','option-','UpdateBaseViewConfigCommand','Lookup','6655504OYMFHA','validateFormula','[BaseCommandService]:\x20cannot\x20edit\x20readonly\x20field.','base.command.update-base-kanban-config','RecordId','lastMonth','BaseProjection.getProjection','abbreviation','UNIVER_BASE','dateMode','_getTableRevision','remove','_filterRows','exception-','isEmpty','join','cell','allowMultiple','UniverRemoteBasesPlugin','commaPeriod','base.command.set-base-name','order','config','__tempBatchingUndoRedo','Injector','deepClone','userID','hostAnchorId','updatedBy','Calendar','setBasePermission','getCurrentUser','BaseFieldType','base.view-registry.service','BOOLEAN','insertOp','BaseJson1.cloneForOp','JSON1','lessThanOrEqual','greaterThanOrEqual','recordId','_sortRows','base-perf-','UpdatedAt','repairViewConfig','validate','records','pattern','basePerf','test','deleteRecords','_syncSuperTables','createViewId','BaseProjection.filterAndSortRows','onCommandExecuted','rowIndexById','cellRevision','tables','title','readonly','base.command.duplicate-base-record','[BaseCommandService]:\x20cannot\x20manage\x20view.','now','base.viewType.gantt','_applyingFormulaResults','_configService','Done','_univerInstanceService','min','_findCalendarDateFieldId','_projectRows','_cellInvalidations','Gallery\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','includeTime','fieldName','getTypeOfUnitAdded$','formatToParts','updateRecordOrder','3047TzCEoE','periodComma','_runtimeContext','invalidateByOp','true','_isAllowedKanbanGroupField','_fieldPermissions','duplicateRecord','_normalizeCellValue','decimalPlaces','base.command.rename-base-view','afterFieldId','subscribe','clearRecordPermission','_recordPermissions','Empty','uniqueTableName','[BaseCommandService]:\x20cannot\x20delete\x20primary\x20field.','[BaseCommandService]:\x20invalid\x20cell\x20value.','showFieldNames','_patchProjectedRowsForCellInvalidations','isArray','indexOf','EnsureBaseTemporalViewDateFieldsCommand','getProjection','_registeredSuperTableNames','setFieldPermission',':end','Summary','_resolveCalendarDateFieldId','attachmentSet','dependencyFieldId','SetBaseRecordValuesCommand','invalidGroupField','canEditCell','Progress','3956790QcKtyS','createRecords','label','_kanbanLaneColor','base.command.ensure-base-temporal-view-date-fields','undefined','startDateFieldId','MultiSelect','FormulaCalculationTriggerService','Location','disposeWithMe','rows','_createNumberingAllocators','working','filter','canEditField','createCreateRecordOp','deleteField','next30','delete','Numbering','Doing','Gantt\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','IUndoRedoService','lastIndexOf','base.command.change-base-field-type','_projectGroups','info','startsWith','defaultValue','todo','includes','setViewSort','timeZone','base.command.batch-delete-base-records','_syncBaseUnit','unitData','direction','Inject','Module','Grid','isNaN','_replaceOptional','coverFieldId',':start','UpdateBaseCellCommand','getUTCDay','renameFormulaUnitReferences','deleteView','getAllUnitsForType','text','length','system','SetTriggerFormulaCalculationStartMutation','base.command.update-base-field','_initDependencies','revision','_isCalendarDateField','description','patches','card','unitOtherData','viewId','toStringTag','_plugins','bases.fieldConfig.textPlaceholder','weekdays','_groupProjectionFieldIds','off','locale','createCreateFieldOp','getFullYear','ApplyBaseJson1Mutation','registerSuperTable','attachmentSets','_isColorfulKanbanGroupField','_applier','_deleteAttachmentResources','toPlainText','apply','operator','object','canCreateRecord','COMMAND','index','MoveBaseViewCommand','_normalizeGanttDisplayColor','colorFieldId','base-perf','fromPlainText','Yes','_resolveGanttDateFieldId','version','[BaseCommandService]:\x20cannot\x20delete\x20field.','createSetRecordValuesOp','unitWidth','base.mutation.apply-base-json1','iterator','bases.config','_capabilities','trim','_cellInvalidationsTouchFields','_findKanbanGroupField','DuplicateBaseFieldCommand','BaseSortDirection','h24','Text','Working\x20day','editable','_setCachedProjection','registerCtorForType','_buildGantt','recordCount','searchBaseTable','raw','_buildGallery','updateViewConfig'];_0x3579=function(){return _0x27b0a3;};return _0x3579();}function ri(_0x5878a5){const _0x5f5caf=_0x557ecf;let _0xb9c49c=gi(_0x5878a5[_0x5f5caf(0x20a)]);if(!_0xb9c49c)return{'query':'','total':0x0,'matches':[]};let _0x5d279a=[],_0xb1fb42=[];for(let _0x57e3f2=0x0;_0x57e3f2<_0x5878a5[_0x5f5caf(0x22f)][_0x5f5caf(0x323)];_0x57e3f2++){if(!(_0x57e3f2 in _0x5878a5[_0x5f5caf(0x22f)]))continue;let _0x28cc6a=_0x5878a5['table'][_0x5f5caf(0x40d)][_0x5878a5[_0x5f5caf(0x22f)][_0x57e3f2]];_0x28cc6a&&_0xb1fb42[_0x5f5caf(0x43e)]({'field':_0x28cc6a,'fieldIndex':_0x57e3f2});}_0x5878a5['rows']['forEach']((_0x1fef12,_0x206747)=>{_0xb1fb42['forEach'](({field:_0x483194,fieldIndex:_0x1bd5a2})=>{const _0x56652e=_0x42d0;let _0x57b078=ii(_0x1fef12[_0x56652e(0x4f9)][_0x483194['id']],_0x483194);if(!_0x57b078)return;let _0x377a95=hi(_0xb9c49c,_0x57b078[_0x56652e(0x505)]);_0x377a95<=0x0||_0x5d279a[_0x56652e(0x43e)]({'recordId':_0x1fef12[_0x56652e(0x2a6)],'fieldId':_0x483194['id'],'fieldType':_0x483194[_0x56652e(0x26a)],'text':_0x57b078[_0x56652e(0x481)],'score':_0x377a95,'rowIndex':_0x206747,'fieldIndex':_0x1bd5a2});});}),_0x5d279a[_0x5f5caf(0x496)]((_0x20949c,_0x1e97f9)=>_0x1e97f9[_0x5f5caf(0x483)]-_0x20949c[_0x5f5caf(0x483)]||_0x20949c[_0x5f5caf(0x253)]-_0x1e97f9[_0x5f5caf(0x253)]||_0x20949c[_0x5f5caf(0x3fe)]-_0x1e97f9[_0x5f5caf(0x3fe)]);let _0x94f7a=_0x5878a5[_0x5f5caf(0x3f4)]==null?_0x5d279a:_0x5d279a[_0x5f5caf(0x4c3)](0x0,Math[_0x5f5caf(0x4ef)](0x0,_0x5878a5[_0x5f5caf(0x3f4)]));return{'query':_0xb9c49c,'total':_0x5d279a[_0x5f5caf(0x323)],'matches':vi(_0x94f7a)};}function ii(_0x2ee9e5,_0x2e5227){const _0x417049=_0x557ecf;let _0x1c2206=[];for(let _0x4ad4c1 of oi(_0x2ee9e5,_0x2e5227)){let _0x4dfd20=gi(_0x4ad4c1);_0x4dfd20&&_0x1c2206[_0x417049(0x43e)](_0x4dfd20);}return _0x1c2206[_0x417049(0x323)]?{'displayText':ai(_0x2ee9e5,_0x2e5227),'searchTexts':_i(_0x1c2206)}:null;}function ai(_0x57dced,_0x3efe8f){const _0x1f7832=_0x557ecf;switch(_0x3efe8f[_0x1f7832(0x26a)]){case e[_0x1f7832(0x29e)][_0x1f7832(0x22d)]:case e[_0x1f7832(0x29e)][_0x1f7832(0x2f7)]:case e[_0x1f7832(0x29e)][_0x1f7832(0x3dc)]:return si(_0x57dced,_0x3efe8f)[_0x1f7832(0x28d)](',\x20');case e[_0x1f7832(0x29e)][_0x1f7832(0x4f4)]:return ui(_0x57dced);case e[_0x1f7832(0x29e)][_0x1f7832(0x272)]:case e[_0x1f7832(0x29e)][_0x1f7832(0x3fc)]:case e[_0x1f7832(0x29e)][_0x1f7832(0x2a9)]:return di(_0x57dced,_0x3efe8f);case e['BaseFieldType']['Number']:case e[_0x1f7832(0x29e)]['Currency']:return fi(_0x57dced,_0x3efe8f);case e[_0x1f7832(0x29e)][_0x1f7832(0x2ef)]:return pi(_0x57dced,_0x3efe8f);case e[_0x1f7832(0x29e)][_0x1f7832(0x394)]:return _0x57dced?'Checked':_0x1f7832(0x473);case e[_0x1f7832(0x29e)]['Attachment']:return mi(_0x57dced)['join'](',\x20');default:return $(_0x57dced);}}function oi(_0x53f440,_0x23fcea){const _0x230028=_0x557ecf;switch(_0x23fcea[_0x230028(0x26a)]){case e[_0x230028(0x29e)]['SingleSelect']:case e[_0x230028(0x29e)][_0x230028(0x2f7)]:case e[_0x230028(0x29e)]['Group']:{let _0x3f2e2f=si(_0x53f440,_0x23fcea);if(Array['isArray'](_0x53f440)){let _0x42c3d9=[..._0x3f2e2f];for(let _0x1e28ca=0x0;_0x1e28ca<_0x53f440[_0x230028(0x323)];_0x1e28ca++)_0x1e28ca in _0x53f440&&_0x42c3d9['push'](String(_0x53f440[_0x1e28ca]));return _0x42c3d9;}return _0x53f440==null?_0x3f2e2f:[..._0x3f2e2f,String(_0x53f440)];}case e[_0x230028(0x29e)]['Link']:{let _0x3cf45f=li(_0x53f440);return[_0x3cf45f[_0x230028(0x322)],_0x3cf45f[_0x230028(0x229)]];}case e[_0x230028(0x29e)][_0x230028(0x272)]:case e['BaseFieldType'][_0x230028(0x3fc)]:case e[_0x230028(0x29e)][_0x230028(0x2a9)]:return[di(_0x53f440,_0x23fcea),$(_0x53f440)];case e['BaseFieldType'][_0x230028(0x412)]:case e[_0x230028(0x29e)][_0x230028(0x484)]:return[fi(_0x53f440,_0x23fcea),$(_0x53f440)];case e['BaseFieldType'][_0x230028(0x2ef)]:return[pi(_0x53f440,_0x23fcea),$(_0x53f440)];case e['BaseFieldType'][_0x230028(0x394)]:return _0x53f440?[_0x230028(0x428),_0x230028(0x34a),'True']:[_0x230028(0x473),'No',_0x230028(0x4a9)];case e[_0x230028(0x29e)][_0x230028(0x27a)]:return mi(_0x53f440);default:return[$(_0x53f440)];}}function si(_0x352175,_0x34c013){const _0x14de33=_0x557ecf;var _0x105a89;let _0x3ca58b=Array[_0x14de33(0x2e1)]((_0x105a89=_0x34c013['config'])==null?void 0x0:_0x105a89['options'])?_0x34c013[_0x14de33(0x294)]['options']:[],_0x1f8fa4=[];if(Array[_0x14de33(0x2e1)](_0x352175)){for(let _0x27f414=0x0;_0x27f414<_0x352175[_0x14de33(0x323)];_0x27f414++){if(!(_0x27f414 in _0x352175))continue;let _0x152750=String(_0x352175[_0x27f414]);_0x152750&&_0x1f8fa4[_0x14de33(0x43e)](ci(_0x3ca58b,_0x152750));}return _0x1f8fa4;}if(_0x352175!=null){let _0x4d6c92=String(_0x352175);_0x4d6c92&&_0x1f8fa4[_0x14de33(0x43e)](ci(_0x3ca58b,_0x4d6c92));}return _0x1f8fa4;}function ci(_0x3673cb,_0x5b1324){const _0x3d96fe=_0x557ecf;for(let _0x592ce6 of _0x3673cb){if(typeof _0x592ce6==_0x3d96fe(0x39d)&&_0x592ce6===_0x5b1324)return _0x592ce6;if(_0x592ce6&&typeof _0x592ce6==_0x3d96fe(0x341)){var _0x2e53ae,_0x2a5f3e,_0xb9a199;let _0xd6b568=_0x592ce6;if(String((_0x2e53ae=(_0x2a5f3e=_0xd6b568['id'])==null?_0xd6b568[_0x3d96fe(0x3c4)]:_0x2a5f3e)==null?'':_0x2e53ae)===_0x5b1324||String((_0xb9a199=_0xd6b568[_0x3d96fe(0x3c4)])==null?'':_0xb9a199)===_0x5b1324){var _0xa4089a,_0x572218;return String((_0xa4089a=(_0x572218=_0xd6b568[_0x3d96fe(0x3c4)])==null?_0xd6b568['id']:_0x572218)==null?_0x5b1324:_0xa4089a);}}}return _0x5b1324;}function li(_0x15e350){const _0x290552=_0x557ecf;if(_0x15e350&&typeof _0x15e350==_0x290552(0x341)&&!Array['isArray'](_0x15e350)){var _0xfe2a45,_0x2577b7,_0x18cfb7;let _0x215987=_0x15e350;return{'text':String((_0xfe2a45=(_0x2577b7=_0x215987[_0x290552(0x322)])==null?_0x215987[_0x290552(0x229)]:_0x2577b7)==null?'':_0xfe2a45),'url':String((_0x18cfb7=_0x215987['url'])==null?'':_0x18cfb7)};}return{'text':$(_0x15e350),'url':$(_0x15e350)};}function ui(_0x418c22){const _0x20ecc0=_0x557ecf;let _0x543b63=li(_0x418c22);return _0x543b63[_0x20ecc0(0x322)]||_0x543b63['url'];}function di(_0x3dbe93,_0x3a5e2a){const _0x5c919d=_0x557ecf;return typeof _0x3dbe93!=_0x5c919d(0x4f7)||!Number[_0x5c919d(0x3fd)](_0x3dbe93)?'':je(_0x3dbe93,_0x3a5e2a['config']);}function fi(_0x48a0c8,_0x44ab05){const _0x2f1f3b=_0x557ecf;let _0x5161c8=typeof _0x48a0c8=='number'?_0x48a0c8:Number(_0x48a0c8);return Number[_0x2f1f3b(0x3fd)](_0x5161c8)?_r(_0x5161c8,_0x44ab05[_0x2f1f3b(0x294)]):'';}function pi(_0x5c227a,_0x2a94b1){const _0x12ce84=_0x557ecf;var _0x334a71;let _0x75c720=typeof _0x5c227a==_0x12ce84(0x4f7)?_0x5c227a:Number(_0x5c227a);if(!Number[_0x12ce84(0x3fd)](_0x75c720))return'';let _0x521456=(_0x334a71=_0x2a94b1[_0x12ce84(0x294)])==null?{}:_0x334a71,_0x404086=_0x521456[_0x12ce84(0x2d5)]===0x1||_0x521456['decimalPlaces']===0x2?_0x521456['decimalPlaces']:0x0,_0x42e633=_0x75c720[_0x12ce84(0x3d3)](_0x404086);return _0x521456[_0x12ce84(0x42c)]===_0x12ce84(0x4f7)?_0x42e633:_0x42e633+'%';}function mi(_0x55fbd0){const _0x4279ac=_0x557ecf;return Array['isArray'](_0x55fbd0)?_0x55fbd0[_0x4279ac(0x454)](_0x2fcfbb=>{const _0xbee2ad=_0x4279ac;var _0x53b3d7,_0x4e68a0;if(!_0x2fcfbb||typeof _0x2fcfbb!=_0xbee2ad(0x341))return[];let _0x22cab2=_0x2fcfbb,_0x624245=String((_0x53b3d7=(_0x4e68a0=_0x22cab2[_0xbee2ad(0x3c4)])==null?_0x22cab2[_0xbee2ad(0x229)]:_0x4e68a0)==null?'':_0x53b3d7)[_0xbee2ad(0x354)]();return _0x624245?[_0x624245]:[];}):[];}function $(_0x5e4e43){const _0x8f5345=_0x557ecf;if(_0x5e4e43==null)return'';if(typeof _0x5e4e43==_0x8f5345(0x4a1))return _0x5e4e43?'true':_0x8f5345(0x4bb);if(typeof _0x5e4e43=='number')return String(_0x5e4e43);if(Array['isArray'](_0x5e4e43)){let _0x34642e=[];for(let _0x52ffca=0x0;_0x52ffca<_0x5e4e43[_0x8f5345(0x323)];_0x52ffca++){if(!(_0x52ffca in _0x5e4e43))continue;let _0x3cb47b=$(_0x5e4e43[_0x52ffca]);_0x3cb47b&&_0x34642e[_0x8f5345(0x43e)](_0x3cb47b);}return _0x34642e[_0x8f5345(0x28d)](',\x20');}if(typeof _0x5e4e43=='object'){var _0x5426fd,_0x4562f2,_0x5937ec,_0x377fc3;let _0x52c552=_0x5e4e43;return String((_0x5426fd=(_0x4562f2=(_0x5937ec=(_0x377fc3=_0x52c552['title'])==null?_0x52c552[_0x8f5345(0x3c4)]:_0x377fc3)==null?_0x52c552[_0x8f5345(0x322)]:_0x5937ec)==null?_0x52c552[_0x8f5345(0x229)]:_0x4562f2)==null?'':_0x5426fd)[_0x8f5345(0x354)]();}return String(_0x5e4e43);}function hi(_0x5785e0,_0x1ecb5c){const _0x17e03e=_0x557ecf;let _0x2a13a6=0x0;for(let _0x2c853a of _0x1ecb5c)if(_0x2c853a){if(_0x2c853a===_0x5785e0){_0x2a13a6=Math[_0x17e03e(0x4ef)](_0x2a13a6,0x12c);continue;}if(_0x2c853a[_0x17e03e(0x30c)](_0x5785e0)){_0x2a13a6=Math['max'](_0x2a13a6,0xfa);continue;}_0x2c853a['includes'](_0x5785e0)&&(_0x2a13a6=Math[_0x17e03e(0x4ef)](_0x2a13a6,0xc8));}return _0x2a13a6;}function gi(_0x494d70){const _0xf24958=_0x557ecf;return _0x494d70[_0xf24958(0x354)]()[_0xf24958(0x4c4)](/\s+/g,'\x20')[_0xf24958(0x402)]();}function _i(_0x3fadc0){const _0x552a98=_0x557ecf;return Array[_0x552a98(0x467)](new Set(_0x3fadc0));}function vi(_0x34bca4){const _0x3cd092=_0x557ecf;let _0x1bb53e=[];for(let {rowIndex:_0x2d2f1d,fieldIndex:_0x368bbd,..._0x31dcc3}of _0x34bca4)_0x1bb53e[_0x3cd092(0x43e)](_0x31dcc3);return _0x1bb53e;}exports[_0x557ecf(0x338)]=J,exports['BaseJson1OpApplier']=w,exports['BaseJson1OpFactory']=P,exports[_0x557ecf(0x379)]=mn,exports[_0x557ecf(0x465)]=hn,exports['ChangeBaseFieldTypeCommand']=gn,exports[_0x557ecf(0x218)]=_n,exports['CreateBaseRecordCommand']=vn,exports[_0x557ecf(0x231)]=yn,exports[_0x557ecf(0x252)]=Pn,exports['DeleteBaseFieldCommand']=Fn,exports[_0x557ecf(0x431)]=In,exports[_0x557ecf(0x37d)]=Ln,exports[_0x557ecf(0x45a)]=Rn,exports[_0x557ecf(0x357)]=zn,exports[_0x557ecf(0x263)]=Bn,exports[_0x557ecf(0x3f6)]=dr,exports[_0x557ecf(0x2e3)]=Vn,exports[_0x557ecf(0x4bf)]=V,exports[_0x557ecf(0x222)]=Ct,exports[_0x557ecf(0x387)]=Ft,exports[_0x557ecf(0x3ae)]=ei,exports[_0x557ecf(0x463)]=Wn,exports[_0x557ecf(0x345)]=Gn,exports[_0x557ecf(0x417)]=Kn,exports['RenameBaseViewCommand']=qn,exports[_0x557ecf(0x3db)]=Jn,exports[_0x557ecf(0x1f0)]=Yn,exports[_0x557ecf(0x3a2)]=Xn,exports[_0x557ecf(0x2ec)]=Zn,exports['SetBaseViewFieldOrderCommand']=Qn,exports[_0x557ecf(0x47e)]=$n,exports['SetBaseViewFieldWidthCommand']=er,exports[_0x557ecf(0x3ea)]=tr,exports[_0x557ecf(0x4f8)]=nr,exports[_0x557ecf(0x3c3)]=rr,Object['defineProperty'](exports,_0x557ecf(0x4fd),{'enumerable':!0x0,'get':function(){return Z;}}),Object[_0x557ecf(0x48e)](exports,_0x557ecf(0x290),{'enumerable':!0x0,'get':function(){return Q;}}),exports[_0x557ecf(0x31d)]=ir,exports['UpdateBaseFieldCommand']=or,exports[_0x557ecf(0x1e7)]=ar,exports['UpdateBaseKanbanConfigCommand']=sr,exports['UpdateBaseRecordOrderCommand']=cr,exports[_0x557ecf(0x27c)]=lr,exports[_0x557ecf(0x388)]=D,exports[_0x557ecf(0x4a8)]=Sr,exports[_0x557ecf(0x23c)]=ur,exports[_0x557ecf(0x4ec)]=fr,exports[_0x557ecf(0x267)]=pr,exports['createEmbedBasesTableRemoveMutation']=mr,exports[_0x557ecf(0x1df)]=T,exports[_0x557ecf(0x1e3)]=d,exports['formatBaseDateValue']=je,exports[_0x557ecf(0x1e6)]=_r,exports[_0x557ecf(0x4ab)]=v,exports[_0x557ecf(0x3d7)]=_,exports['inferBaseSeparatorStyle']=xr,exports['matchesBaseCondition']=Ie,exports['normalizeBaseDateSerial']=E,exports[_0x557ecf(0x361)]=ri,exports['traceBasePerformance']=o,exports['uniqueFieldName']=bn;
|
|
1
|
+
const _0xa3b18d=_0xfdce;(function(_0x1ffde9,_0xc44413){const _0x120f99=_0xfdce,_0x51c01c=_0x1ffde9();while(!![]){try{const _0x2f414e=parseInt(_0x120f99(0x323))/0x1+-parseInt(_0x120f99(0x166))/0x2+parseInt(_0x120f99(0x1d6))/0x3+parseInt(_0x120f99(0x239))/0x4*(-parseInt(_0x120f99(0x266))/0x5)+-parseInt(_0x120f99(0x2a5))/0x6+parseInt(_0x120f99(0x1b9))/0x7*(parseInt(_0x120f99(0x23a))/0x8)+parseInt(_0x120f99(0x343))/0x9;if(_0x2f414e===_0xc44413)break;else _0x51c01c['push'](_0x51c01c['shift']());}catch(_0x27e5d9){_0x51c01c['push'](_0x51c01c['shift']());}}}(_0x2efd,0x59bec),Object[_0xa3b18d(0x36d)](exports,Symbol[_0xa3b18d(0x25e)],{'value':_0xa3b18d(0x200)}));let e=require('@univerjs/core'),t=require('@univerjs-pro/engine-formula'),n=require('@univerjs-pro/license'),r=require('@univerjs/rpc'),i=0x0;function _0xfdce(_0x4c887e,_0x1fc6f5){_0x4c887e=_0x4c887e-0x160;const _0x2efd91=_0x2efd();let _0xfdce40=_0x2efd91[_0x4c887e];return _0xfdce40;}function a(){const _0x54c61a=_0xa3b18d;if(globalThis[_0x54c61a(0x222)]===!0x0)return!0x0;try{let _0x47e8f1=typeof location>'u'?'':location[_0x54c61a(0x455)],_0x380995=new URLSearchParams(_0x47e8f1);if(_0x380995['get'](_0x54c61a(0x470))==='1'||_0x380995[_0x54c61a(0x221)](_0x54c61a(0x470))===_0x54c61a(0x329)||_0x380995[_0x54c61a(0x221)](_0x54c61a(0x2cc))==='1')return!0x0;}catch{}try{let _0x5f20b1=typeof localStorage>'u'?null:localStorage[_0x54c61a(0x3cc)]('univer.basePerf');return _0x5f20b1==='1'||_0x5f20b1===_0x54c61a(0x329);}catch{return!0x1;}}function o(_0x26a1c1,_0xad0b31,_0x426cda){const _0x4b82f7=_0xa3b18d;if(!a())return _0xad0b31();let _0x1060a7=c(),_0x426ba8=_0x4b82f7(0x481)+i++;l(_0x426ba8+_0x4b82f7(0x32d));try{return _0xad0b31();}finally{let _0xb4b41f=c()-_0x1060a7;l(_0x426ba8+_0x4b82f7(0x16e)),u(_0x26a1c1,_0x426ba8+_0x4b82f7(0x32d),_0x426ba8+_0x4b82f7(0x16e)),s(_0x26a1c1,_0xb4b41f,_0x426cda);}}function s(_0x2e6c52,_0xc8cc8c,_0x5b6b4a){const _0x3c3f58=_0xa3b18d;if(!a())return;let _0x143c3b=Math['round'](_0xc8cc8c*0x64)/0x64,_0x3e5b1d=_0x5b6b4a&&Object[_0x3c3f58(0x1c8)](_0x5b6b4a)['length']?'\x20'+JSON['stringify'](_0x5b6b4a):'';console[_0x3c3f58(0x427)](_0x3c3f58(0x1f2)+_0x2e6c52+':\x20'+_0x143c3b+'ms'+_0x3e5b1d);}function c(){const _0x4dd2fa=_0xa3b18d;return typeof performance<'u'&&typeof performance[_0x4dd2fa(0x1c3)]==_0x4dd2fa(0x3d2)?performance[_0x4dd2fa(0x1c3)]():Date[_0x4dd2fa(0x1c3)]();}function l(_0x5ae752){const _0x272c51=_0xa3b18d;try{if(typeof performance<'u'){var _0x5793f8,_0x2dd9df;(_0x5793f8=(_0x2dd9df=performance)[_0x272c51(0x3bd)])==null||_0x5793f8[_0x272c51(0x24f)](_0x2dd9df,_0x5ae752);}}catch{}}function u(_0x3effc5,_0x10505c,_0x425dad){const _0x4ac624=_0xa3b18d;try{if(typeof performance<'u'){var _0x75230a,_0x2b21d8;(_0x75230a=(_0x2b21d8=performance)[_0x4ac624(0x3cb)])==null||_0x75230a[_0x4ac624(0x24f)](_0x2b21d8,_0x4ac624(0x1f2)+_0x3effc5,_0x10505c,_0x425dad);}}catch{}}function d(_0xe46307){const _0x428bd5=_0xa3b18d;var _0x3bb125,_0x2d72c0;return a()?o(_0x428bd5(0x420),()=>f(_0xe46307),{'tableId':_0xe46307['id'],'records':Object['keys']((_0x3bb125=_0xe46307[_0x428bd5(0x332)])==null?{}:_0x3bb125)[_0x428bd5(0x333)],'fields':_0xe46307[_0x428bd5(0x2d8)]['length'],'hasRecordOrder':!!((_0x2d72c0=_0xe46307[_0x428bd5(0x47c)])!=null&&_0x2d72c0[_0x428bd5(0x333)])}):f(_0xe46307);}function f(_0x4368f9){const _0x44014e=_0xa3b18d;var _0x2b8b1b,_0x153682,_0x1a7147,_0x3e77c9,_0x2893bd,_0x99de73,_0x44a454,_0x45c47b,_0x142375,_0x5bea64;let _0xdea842=(_0x2b8b1b=_0x4368f9[_0x44014e(0x332)])==null?{}:_0x2b8b1b,_0x545247=(_0x153682=_0x4368f9[_0x44014e(0x35e)])==null?{}:_0x153682,_0x12d11e=(_0x1a7147=(_0x3e77c9=_0x4368f9['recordOrder'])==null?void 0x0:_0x3e77c9[_0x44014e(0x314)](_0x565e65=>_0xdea842[_0x565e65]))==null?[]:_0x1a7147,_0x510914=new Set(_0x12d11e),_0x1ff43f=[];for(let _0x4a6f93 of Object[_0x44014e(0x29e)](_0xdea842))_0x510914[_0x44014e(0x397)](_0x4a6f93['id'])||_0x1ff43f[_0x44014e(0x439)](_0x4a6f93);let _0x2fbd04=_0x1ff43f[_0x44014e(0x333)]?[..._0x12d11e,...ue(_0x1ff43f)]:_0x12d11e,_0xe62b7=_0x4368f9[_0x44014e(0x2d8)][_0x44014e(0x314)](_0x24b390=>_0x545247[_0x24b390]),_0x5b3e2b={...(_0x2893bd=_0x4368f9['rowId'])==null?{}:_0x2893bd},_0x19a7bb={...(_0x99de73=_0x4368f9[_0x44014e(0x171)])==null?{}:_0x99de73},_0x557fc7={...(_0x44a454=_0x4368f9[_0x44014e(0x2d6)])==null?{}:_0x44a454};return _0x4368f9[_0x44014e(0x47c)]=_0x2fbd04,_0x4368f9[_0x44014e(0x164)]={},_0x4368f9['rowId']={},_0x4368f9[_0x44014e(0x3b6)]={},_0x4368f9['colId']={},_0x4368f9[_0x44014e(0x2d6)]={},_0x4368f9[_0x44014e(0x37d)]={...(_0x45c47b=_0x4368f9['resources'])==null?{}:_0x45c47b},_0x4368f9[_0x44014e(0x37d)][_0x44014e(0x42f)]={...(_0x142375=_0x4368f9['resources'][_0x44014e(0x42f)])==null?{}:_0x142375},_0x4368f9['resources'][_0x44014e(0x3dd)]={...(_0x5bea64=_0x4368f9[_0x44014e(0x37d)]['attachments'])==null?{}:_0x5bea64},_0x2fbd04[_0x44014e(0x465)]((_0x39d6cd,_0x3bd26f)=>{const _0x1e45d1=_0x44014e;_0x4368f9[_0x1e45d1(0x164)][_0x39d6cd]=_0x3bd26f,_0x4368f9[_0x1e45d1(0x262)][_0x3bd26f]=_0x39d6cd;}),_0xe62b7[_0x44014e(0x465)]((_0x3a8642,_0x3527fb)=>{const _0x3f519e=_0x44014e;_0x4368f9[_0x3f519e(0x3b6)][_0x3a8642]=_0x3527fb,_0x4368f9[_0x3f519e(0x171)][_0x3527fb]=_0x3a8642;}),Object[_0x44014e(0x217)](_0x557fc7)[_0x44014e(0x465)](([_0x42c1b4,_0x31f333])=>{const _0x2e9ce2=_0x44014e;var _0x50dcbc,_0x223a95;let _0x200a5f=Number(_0x42c1b4),_0x2ed0a4=(_0x50dcbc=_0x5b3e2b[_0x200a5f])==null?_0x2fbd04[_0x200a5f]:_0x50dcbc,_0x3d9b92=_0x2ed0a4?_0x4368f9[_0x2e9ce2(0x164)][_0x2ed0a4]:void 0x0;_0x3d9b92!=null&&(_0x4368f9['cellData'][_0x3d9b92]={...(_0x223a95=_0x4368f9[_0x2e9ce2(0x2d6)][_0x3d9b92])==null?{}:_0x223a95},Object['entries'](_0x31f333==null?{}:_0x31f333)[_0x2e9ce2(0x465)](([_0x3be07,_0xf681dc])=>{const _0x141c72=_0x2e9ce2;var _0x165fd8;let _0x594cbd=Number(_0x3be07),_0x3b7688=(_0x165fd8=_0x19a7bb[_0x594cbd])==null?_0xe62b7[_0x594cbd]:_0x165fd8,_0x229a6e=_0x3b7688?_0x4368f9[_0x141c72(0x3b6)][_0x3b7688]:void 0x0;_0x229a6e!=null&&(_0x4368f9[_0x141c72(0x2d6)][_0x3d9b92][_0x229a6e]=ee(_0xf681dc));}));}),Object[_0x44014e(0x29e)](_0xdea842)[_0x44014e(0x465)](_0x4c25b4=>{const _0x175739=_0x44014e;var _0x468eb8,_0x189f09;let _0x246883=_0x4368f9['rowIndex'][_0x4c25b4['id']];_0x246883!=null&&(_0x4368f9[_0x175739(0x2d6)][_0x246883]={...(_0x468eb8=_0x4368f9['cellData'][_0x246883])==null?{}:_0x468eb8},Object[_0x175739(0x217)]((_0x189f09=_0x4c25b4[_0x175739(0x29e)])==null?{}:_0x189f09)[_0x175739(0x465)](([_0x36f6b1,_0x3f6d8f])=>{const _0x53f7dd=_0x175739;let _0x15ae81=_0x545247[_0x36f6b1];(_0x15ae81==null?void 0x0:_0x15ae81[_0x53f7dd(0x177)])===e['BaseFieldType'][_0x53f7dd(0x208)]&&ie(_0x4368f9,_0x4c25b4['id'],_0x36f6b1,_0x3f6d8f);let _0x5d94cc=_0x4368f9[_0x53f7dd(0x3b6)][_0x36f6b1];if(_0x5d94cc==null)return;let _0x1a8f14=_0x4368f9[_0x53f7dd(0x2d6)][_0x246883][_0x5d94cc];if(_0x1a8f14!=null){se(_0x1a8f14,_0x15ae81,_0x3f6d8f)&&(_0x4368f9[_0x53f7dd(0x2d6)][_0x246883][_0x5d94cc]=y(_0x3f6d8f,_0x15ae81));return;}_0x4368f9['cellData'][_0x246883][_0x5d94cc]=y(_0x3f6d8f,_0x15ae81);}));}),_0x4368f9;}function p(_0x3ae6e5){const _0x45b9b9=_0xa3b18d;var _0x1e013b;return d(_0x3ae6e5),Object[_0x45b9b9(0x217)]((_0x1e013b=_0x3ae6e5[_0x45b9b9(0x262)])==null?{}:_0x1e013b)[_0x45b9b9(0x465)](([_0x3dbf06,_0x1ae305])=>{const _0x114cfe=_0x45b9b9;var _0x53a20d,_0x1ea04b,_0x3bfb71;let _0x166a56=Number(_0x3dbf06),_0x499a01=_0x3ae6e5[_0x114cfe(0x332)][_0x1ae305];_0x499a01&&(_0x499a01[_0x114cfe(0x29e)]={...(_0x53a20d=_0x499a01[_0x114cfe(0x29e)])==null?{}:_0x53a20d},Object[_0x114cfe(0x217)]((_0x1ea04b=(_0x3bfb71=_0x3ae6e5[_0x114cfe(0x2d6)])==null?void 0x0:_0x3bfb71[_0x166a56])==null?{}:_0x1ea04b)[_0x114cfe(0x465)](([_0x554a7f,_0x23ecd2])=>{const _0x3c8c5a=_0x114cfe;var _0x3a5826;let _0x339610=(_0x3a5826=_0x3ae6e5[_0x3c8c5a(0x171)])==null?void 0x0:_0x3a5826[Number(_0x554a7f)];_0x339610&&(_0x499a01['values'][_0x339610]=b(_0x23ecd2,_0x3ae6e5[_0x3c8c5a(0x35e)][_0x339610],_0x3ae6e5,_0x1ae305));}));}),_0x3ae6e5;}function m(_0x43c7e4,_0x2a8255){const _0x5a90ed=_0xa3b18d;for(let {row:_0x4b52b2,col:_0x18cb9b}of _0x2a8255){var _0x169e97,_0x3f6867,_0x232f9b,_0x367cb0,_0x3533cd;let _0x4e9215=(_0x169e97=_0x43c7e4['rowId'])==null?void 0x0:_0x169e97[_0x4b52b2],_0xe950=(_0x3f6867=_0x43c7e4[_0x5a90ed(0x171)])==null?void 0x0:_0x3f6867[_0x18cb9b],_0x51722e=_0x4e9215?_0x43c7e4[_0x5a90ed(0x332)][_0x4e9215]:void 0x0;if(!_0x51722e||!_0xe950)continue;let _0x3c48fd=(_0x232f9b=_0x43c7e4[_0x5a90ed(0x2d6)])==null||(_0x232f9b=_0x232f9b[_0x4b52b2])==null?void 0x0:_0x232f9b[_0x18cb9b];_0x3c48fd==null&&!Object['prototype'][_0x5a90ed(0x369)][_0x5a90ed(0x24f)]((_0x367cb0=_0x51722e[_0x5a90ed(0x29e)])==null?{}:_0x367cb0,_0xe950)||(_0x51722e['values']={...(_0x3533cd=_0x51722e['values'])==null?{}:_0x3533cd},_0x51722e[_0x5a90ed(0x29e)][_0xe950]=b(_0x3c48fd,_0x43c7e4[_0x5a90ed(0x35e)][_0xe950],_0x43c7e4,_0x4e9215));}return _0x43c7e4;}function h(_0x19b324,_0x474eb1,_0x28779b){const _0xe41800=_0xa3b18d;var _0x1e5362,_0x54d9a2,_0x2337ab,_0x4ab553,_0x5cddb5,_0x35a7e7;let _0x281b19=(_0x1e5362=_0x19b324[_0xe41800(0x164)])==null?void 0x0:_0x1e5362[_0x474eb1],_0x4bff94=(_0x54d9a2=_0x19b324[_0xe41800(0x3b6)])==null?void 0x0:_0x54d9a2[_0x28779b];if(_0x281b19!=null&&_0x4bff94!=null&&((_0x2337ab=_0x19b324['rowId'])==null?void 0x0:_0x2337ab[_0x281b19])===_0x474eb1&&((_0x4ab553=_0x19b324[_0xe41800(0x171)])==null?void 0x0:_0x4ab553[_0x4bff94])===_0x28779b)return{'row':_0x281b19,'col':_0x4bff94};let _0x558827=d(_0x19b324),_0x3155fe=(_0x5cddb5=_0x558827[_0xe41800(0x164)])==null?void 0x0:_0x5cddb5[_0x474eb1],_0x2520dc=(_0x35a7e7=_0x558827[_0xe41800(0x3b6)])==null?void 0x0:_0x35a7e7[_0x28779b];return _0x3155fe==null||_0x2520dc==null?null:{'row':_0x3155fe,'col':_0x2520dc};}function g(_0x28637b,_0x41582a,_0x4d203f){const _0x54b183=_0xa3b18d;var _0x458a74;let _0x414fca=h(_0x28637b,_0x41582a,_0x4d203f);if(_0x414fca)return(_0x458a74=_0x28637b['cellData'])==null||(_0x458a74=_0x458a74[_0x414fca[_0x54b183(0x33a)]])==null?void 0x0:_0x458a74[_0x414fca[_0x54b183(0x26e)]];}function _(_0x488c39,_0x327c82,_0x3fa0e1){const _0x2a4f80=_0xa3b18d;var _0x5b6ef5,_0x429a31;let _0xa896ad=g(_0x488c39,_0x327c82,_0x3fa0e1),_0x5015a0=_0x488c39['fields'][_0x3fa0e1];if((_0x5015a0==null?void 0x0:_0x5015a0['type'])===e['BaseFieldType']['Attachment']){var _0x45f706,_0x39d214;return(_0x45f706=ae(_0x488c39,_0x327c82,_0x3fa0e1))==null?x((_0x39d214=_0x488c39[_0x2a4f80(0x332)][_0x327c82])==null||(_0x39d214=_0x39d214['values'])==null?void 0x0:_0x39d214[_0x3fa0e1]):_0x45f706;}if(S(_0x5015a0)||(_0x5015a0==null?void 0x0:_0x5015a0[_0x2a4f80(0x177)])===e[_0x2a4f80(0x17a)][_0x2a4f80(0x43a)]){var _0x2ce148;let _0x35a164=(_0x2ce148=_0x488c39['records'][_0x327c82])==null||(_0x2ce148=_0x2ce148['values'])==null?void 0x0:_0x2ce148[_0x3fa0e1];return _0x35a164!=null&&_0x35a164!==''?oe(_0x35a164,_0x5015a0):b(_0xa896ad,_0x5015a0,_0x488c39,_0x327c82);}if(_0xa896ad&&Object[_0x2a4f80(0x430)][_0x2a4f80(0x369)][_0x2a4f80(0x24f)](_0xa896ad,'v')){var _0x53dc43;return(_0x53dc43=_0xa896ad['v'])==null?null:_0x53dc43;}return(_0x5b6ef5=(_0x429a31=_0x488c39[_0x2a4f80(0x332)][_0x327c82])==null||(_0x429a31=_0x429a31[_0x2a4f80(0x29e)])==null?void 0x0:_0x429a31[_0x3fa0e1])==null?null:_0x5b6ef5;}function v(_0x498012,_0x59e34e,_0x295a59){const _0x427b44=_0xa3b18d;var _0x56cdd5,_0x42012d,_0x95ed94;let _0x4df018=g(_0x498012,_0x59e34e,_0x295a59);if(_0x4df018&&Object[_0x427b44(0x430)]['hasOwnProperty']['call'](_0x4df018,'v')){var _0x1b914a;return(_0x1b914a=_0x4df018['v'])==null?null:_0x1b914a;}let _0x470f46=_0x498012[_0x427b44(0x35e)][_0x295a59];return(_0x56cdd5=y((_0x42012d=(_0x95ed94=_0x498012[_0x427b44(0x332)][_0x59e34e])==null||(_0x95ed94=_0x95ed94['values'])==null?void 0x0:_0x95ed94[_0x295a59])==null?null:_0x42012d,_0x470f46)['v'])==null?null:_0x56cdd5;}function y(_0x46cd53,_0x49f8ea){const _0x4a41a6=_0xa3b18d;if(ne(_0x46cd53))return(_0x49f8ea==null?void 0x0:_0x49f8ea[_0x4a41a6(0x177)])===e['BaseFieldType'][_0x4a41a6(0x208)]?{..._0x46cd53,'v':'','t':e['CellValueType']['STRING']}:ee(_0x46cd53);if((_0x49f8ea==null?void 0x0:_0x49f8ea['type'])===e['BaseFieldType'][_0x4a41a6(0x208)])return{'v':'','t':e['CellValueType'][_0x4a41a6(0x1fe)]};if(S(_0x49f8ea))return{'v':C(_0x46cd53)[_0x4a41a6(0x1e9)](',\x20'),'t':e[_0x4a41a6(0x2a0)][_0x4a41a6(0x1fe)]};if((_0x49f8ea==null?void 0x0:_0x49f8ea[_0x4a41a6(0x177)])===e['BaseFieldType'][_0x4a41a6(0x43a)]&&_0x46cd53&&typeof _0x46cd53==_0x4a41a6(0x20d)&&!Array[_0x4a41a6(0x18c)](_0x46cd53)){var _0x3eeef6,_0x58d203;let _0xd07bfa=_0x46cd53;return{'v':String((_0x3eeef6=(_0x58d203=_0xd07bfa[_0x4a41a6(0x3ec)])==null?_0xd07bfa[_0x4a41a6(0x254)]:_0x58d203)==null?'':_0x3eeef6),'t':e[_0x4a41a6(0x2a0)]['STRING']};}return _0x46cd53===null||typeof _0x46cd53==_0x4a41a6(0x181)||typeof _0x46cd53==_0x4a41a6(0x3fe)||typeof _0x46cd53==_0x4a41a6(0x25f)?{'v':_0x46cd53,'t':le(_0x46cd53)}:{'v':null,'t':null};}function ee(_0x3eb37f){let _0x387d4c=de(_0x3eb37f['t'],_0x3eb37f['v']);if(_0x387d4c===void 0x0){let {t:_0x271b34,..._0x12c2af}=_0x3eb37f;return _0x12c2af;}return{..._0x3eb37f,'t':_0x387d4c};}function b(_0x200867,_0x2b7f65,_0x899f2c,_0x306ad3){const _0x1a2690=_0xa3b18d;if(!_0x200867)return null;if((_0x2b7f65==null?void 0x0:_0x2b7f65['type'])===e[_0x1a2690(0x17a)]['Attachment']){var _0x3dbcea;return _0x899f2c&&_0x306ad3?(_0x3dbcea=ae(_0x899f2c,_0x306ad3,_0x2b7f65['id']))==null?[]:_0x3dbcea:[];}if(S(_0x2b7f65))return C(_0x200867['v']);if((_0x2b7f65==null?void 0x0:_0x2b7f65[_0x1a2690(0x177)])===e[_0x1a2690(0x17a)][_0x1a2690(0x43a)]&&_0x899f2c&&_0x306ad3){var _0x755200;let _0x59df5f=(_0x755200=_0x899f2c[_0x1a2690(0x332)][_0x306ad3])==null||(_0x755200=_0x755200[_0x1a2690(0x29e)])==null?void 0x0:_0x755200[_0x2b7f65['id']];if(_0x59df5f&&typeof _0x59df5f==_0x1a2690(0x20d)&&!Array[_0x1a2690(0x18c)](_0x59df5f))return _0x59df5f;}if(Object[_0x1a2690(0x430)][_0x1a2690(0x369)]['call'](_0x200867,'v')){var _0x1d78bd;return(_0x1d78bd=_0x200867['v'])==null?null:_0x1d78bd;}return null;}function te(_0x382176,_0xa12745,_0xbc012c,_0x320c96,_0x43463c){const _0x343eb7=_0xa3b18d;return(_0xbc012c==null?void 0x0:_0xbc012c[_0x343eb7(0x177)])===e[_0x343eb7(0x17a)][_0x343eb7(0x208)]?x(_0x382176):S(_0xbc012c)?C(_0x382176):(_0xbc012c==null?void 0x0:_0xbc012c[_0x343eb7(0x177)])===e[_0x343eb7(0x17a)]['Link']&&_0x382176&&typeof _0x382176==_0x343eb7(0x20d)&&!Array[_0x343eb7(0x18c)](_0x382176)&&!ne(_0x382176)?_0x382176:b(_0xa12745,_0xbc012c,_0x320c96,_0x43463c);}function ne(_0x59bef7){const _0x30f30e=_0xa3b18d;return!!_0x59bef7&&typeof _0x59bef7==_0x30f30e(0x20d)&&(Object[_0x30f30e(0x430)][_0x30f30e(0x369)][_0x30f30e(0x24f)](_0x59bef7,'v')||Object[_0x30f30e(0x430)][_0x30f30e(0x369)][_0x30f30e(0x24f)](_0x59bef7,'t')||Object[_0x30f30e(0x430)][_0x30f30e(0x369)][_0x30f30e(0x24f)](_0x59bef7,'p')||Object[_0x30f30e(0x430)][_0x30f30e(0x369)]['call'](_0x59bef7,'f')||Object[_0x30f30e(0x430)][_0x30f30e(0x369)][_0x30f30e(0x24f)](_0x59bef7,'si'));}function re(_0x35fadb,_0x1a3d68){return _0x35fadb+'\x1f'+_0x1a3d68;}function ie(_0x25840c,_0x3f62ae,_0x43d03e,_0x189964){const _0x5c6b4a=_0xa3b18d;var _0xa956ed,_0x2e72d,_0xabec7f;let _0x3b4241=x(_0x189964);_0x25840c[_0x5c6b4a(0x37d)]={...(_0xa956ed=_0x25840c[_0x5c6b4a(0x37d)])==null?{}:_0xa956ed},_0x25840c[_0x5c6b4a(0x37d)][_0x5c6b4a(0x42f)]={...(_0x2e72d=_0x25840c['resources'][_0x5c6b4a(0x42f)])==null?{}:_0x2e72d},_0x25840c[_0x5c6b4a(0x37d)][_0x5c6b4a(0x3dd)]={...(_0xabec7f=_0x25840c[_0x5c6b4a(0x37d)][_0x5c6b4a(0x3dd)])==null?{}:_0xabec7f};let _0x561719=re(_0x43d03e,_0x3f62ae),_0x4e8772=[];for(let _0x31583f=0x0;_0x31583f<_0x3b4241[_0x5c6b4a(0x333)];_0x31583f++){var _0x2ccd7a;if(!(_0x31583f in _0x3b4241))continue;let _0x4c5e14=_0x3b4241[_0x31583f],_0x214754=String((_0x2ccd7a=_0x4c5e14['id'])==null?_0x561719+'\x1f'+_0x31583f:_0x2ccd7a),_0x3c1493={..._0x4c5e14,'id':_0x214754};_0x25840c[_0x5c6b4a(0x37d)][_0x5c6b4a(0x3dd)][_0x214754]=_0x3c1493,_0x4e8772[_0x5c6b4a(0x439)](_0x214754);}_0x25840c[_0x5c6b4a(0x37d)][_0x5c6b4a(0x42f)][_0x561719]=_0x4e8772;}function ae(_0x4a2feb,_0xc0342b,_0x892458){const _0x1efcc9=_0xa3b18d;var _0x36ace6;let _0x27fd14=re(_0x892458,_0xc0342b),_0x4bdacf=(_0x36ace6=_0x4a2feb[_0x1efcc9(0x37d)])==null||(_0x36ace6=_0x36ace6[_0x1efcc9(0x42f)])==null?void 0x0:_0x36ace6[_0x27fd14];if(!_0x4bdacf)return null;let _0x5db9f1=[];for(let _0x1004cd=0x0;_0x1004cd<_0x4bdacf[_0x1efcc9(0x333)];_0x1004cd++){var _0x41e329;if(!(_0x1004cd in _0x4bdacf))continue;let _0x363128=(_0x41e329=_0x4a2feb[_0x1efcc9(0x37d)])==null||(_0x41e329=_0x41e329['attachments'])==null?void 0x0:_0x41e329[_0x4bdacf[_0x1004cd]];_0x363128&&_0x5db9f1[_0x1efcc9(0x439)]({..._0x363128});}return _0x5db9f1;}function x(_0x437f9f){const _0x13ecb0=_0xa3b18d;if(_0x437f9f==null||_0x437f9f===''||ne(_0x437f9f)&&!('id'in _0x437f9f)&&!(_0x13ecb0(0x2cb)in _0x437f9f))return[];let _0x4221d2=Array[_0x13ecb0(0x18c)](_0x437f9f)?_0x437f9f:[_0x437f9f],_0xe3a5fd=[];for(let _0x1d0865=0x0;_0x1d0865<_0x4221d2[_0x13ecb0(0x333)];_0x1d0865++){if(!(_0x1d0865 in _0x4221d2))continue;let _0x506065=_0x4221d2[_0x1d0865],_0x5d630a=_0x506065&&typeof _0x506065=='object'?{..._0x506065}:{'id':_0x13ecb0(0x467)+_0x1d0865,'name':String(_0x506065)};Object[_0x13ecb0(0x1c8)](_0x5d630a)['length']>0x0&&_0xe3a5fd['push'](_0x5d630a);}return _0xe3a5fd;}function oe(_0x199a41,_0x31e022){const _0x1b5454=_0xa3b18d;return(_0x31e022==null?void 0x0:_0x31e022[_0x1b5454(0x177)])===e[_0x1b5454(0x17a)][_0x1b5454(0x208)]?x(_0x199a41):S(_0x31e022)?C(_0x199a41):_0x199a41;}function se(_0x581c43,_0x323148,_0x3424da){const _0x559502=_0xa3b18d;return(_0x323148==null?void 0x0:_0x323148[_0x559502(0x177)])===e[_0x559502(0x17a)][_0x559502(0x208)]?_0x581c43['v']!=='':S(_0x323148)?Array[_0x559502(0x18c)](_0x3424da)&&(_0x581c43['v']==null||_0x581c43['v']===''):!0x1;}function S(_0x35bcd0){const _0x367531=_0xa3b18d;return(_0x35bcd0==null?void 0x0:_0x35bcd0[_0x367531(0x177)])===e[_0x367531(0x17a)][_0x367531(0x35d)]||(_0x35bcd0==null?void 0x0:_0x35bcd0['type'])===e[_0x367531(0x17a)][_0x367531(0x2bc)]||(_0x35bcd0==null?void 0x0:_0x35bcd0[_0x367531(0x177)])===e['BaseFieldType']['Group'];}function C(_0x277446){const _0x1d6f6f=_0xa3b18d;if(_0x277446==null||_0x277446==='')return[];let _0x249396=[];if(Array[_0x1d6f6f(0x18c)](_0x277446)){for(let _0x20929a=0x0;_0x20929a<_0x277446[_0x1d6f6f(0x333)];_0x20929a++){if(!(_0x20929a in _0x277446))continue;let _0x30f9e2=ce(_0x277446[_0x20929a]);_0x30f9e2&&_0x249396[_0x1d6f6f(0x439)](_0x30f9e2);}return _0x249396;}for(let _0x257eb8 of String(_0x277446)[_0x1d6f6f(0x36a)](',')){let _0x17c2e3=_0x257eb8['trim']();_0x17c2e3&&_0x249396[_0x1d6f6f(0x439)](_0x17c2e3);}return _0x249396;}function ce(_0x4e6d9e){const _0x39e2a9=_0xa3b18d;if(_0x4e6d9e==null)return'';if(typeof _0x4e6d9e==_0x39e2a9(0x181)||typeof _0x4e6d9e=='number'||typeof _0x4e6d9e==_0x39e2a9(0x25f))return String(_0x4e6d9e);if(typeof _0x4e6d9e==_0x39e2a9(0x20d)){var _0x432ff6,_0x2501ee,_0x202f30;let _0x4245b3=_0x4e6d9e;return String((_0x432ff6=(_0x2501ee=(_0x202f30=_0x4245b3['id'])==null?_0x4245b3[_0x39e2a9(0x2cb)]:_0x202f30)==null?_0x4245b3[_0x39e2a9(0x3ec)]:_0x2501ee)==null?'':_0x432ff6);}return String(_0x4e6d9e);}function le(_0x3e3db3){const _0x343994=_0xa3b18d;return _0x3e3db3==null?null:typeof _0x3e3db3==_0x343994(0x3fe)?e['CellValueType'][_0x343994(0x268)]:typeof _0x3e3db3==_0x343994(0x25f)?e[_0x343994(0x2a0)][_0x343994(0x2e1)]:e[_0x343994(0x2a0)][_0x343994(0x1fe)];}function ue(_0x50f274){const _0x8decf3=_0xa3b18d;_0x50f274[_0x8decf3(0x33d)]((_0x3007ff,_0x2ea47e)=>_0x3007ff[_0x8decf3(0x390)][_0x8decf3(0x387)](_0x2ea47e[_0x8decf3(0x390)]));let _0x572975=[];for(let _0xade9c8 of _0x50f274)_0x572975[_0x8decf3(0x439)](_0xade9c8['id']);return _0x572975;}function de(_0x24ff94,_0x2a6ca5){const _0x2446a7=_0xa3b18d;return _0x24ff94===e['CellValueType']['STRING']||_0x24ff94===e['CellValueType'][_0x2446a7(0x268)]||_0x24ff94===e[_0x2446a7(0x2a0)][_0x2446a7(0x2e1)]||_0x24ff94===e['CellValueType'][_0x2446a7(0x410)]||_0x24ff94==null?_0x24ff94:le(_0x2a6ca5==null?null:_0x2a6ca5);}var w=class{['applyOp'](_0x315c96,_0x3f0a53){const _0x1a6e08=_0xa3b18d;let _0x4a4dca=this['getAffectedRanges'](_0x3f0a53),_0x95c48b=o(_0x1a6e08(0x40a),()=>ye(_0x315c96,_0x3f0a53),{'invalidations':_0x4a4dca[_0x1a6e08(0x333)]}),_0xa7cc7c=o(_0x1a6e08(0x466),()=>e[_0x1a6e08(0x40f)]['type']['apply'](_0x95c48b,_0x3f0a53),{'invalidations':_0x4a4dca[_0x1a6e08(0x333)]});return fe(_0xa7cc7c,_0x4a4dca)||this[_0x1a6e08(0x27c)](_0xa7cc7c,_0x4a4dca)[_0x1a6e08(0x465)](_0x175511=>{p(_0x175511);}),_0xa7cc7c;}[_0xa3b18d(0x183)](_0x1186e3,_0x3de3a8){const _0x56bbeb=_0xa3b18d;return e[_0x56bbeb(0x40f)][_0x56bbeb(0x177)]['invertWithDoc'](_0x3de3a8,_0x1186e3);}['getAffectedRanges'](_0x124435){const _0x136d63=_0xa3b18d;let _0x40f70d=ge(_0x124435);return _0x40f70d[_0x136d63(0x333)]?_e(_0x40f70d[_0x136d63(0x2f9)](_0x4f0796=>this['getAffectedRanges'](_0x4f0796))):pe(_0x124435);}[_0xa3b18d(0x27c)](_0x584d4d,_0x4f4911){const _0x44aa44=_0xa3b18d;if(!_0x4f4911[_0x44aa44(0x333)])return[];if(_0x4f4911[_0x44aa44(0x24e)](_0x32ed85=>!_0x32ed85[_0x44aa44(0x473)])){var _0x32b8d8;return Object[_0x44aa44(0x29e)]((_0x32b8d8=_0x584d4d[_0x44aa44(0x258)])==null?{}:_0x32b8d8);}return Array[_0x44aa44(0x3aa)](new Set(_0x4f4911['map'](_0x4c7987=>_0x4c7987[_0x44aa44(0x473)])))[_0x44aa44(0x2f9)](_0x50f3a1=>{var _0x5f478e;let _0x16e85c=(_0x5f478e=_0x584d4d['tables'])==null?void 0x0:_0x5f478e[_0x50f3a1];return _0x16e85c?[_0x16e85c]:[];});}};function fe(_0x495196,_0x201ce5){const _0x2f780e=_0xa3b18d;if(!_0x201ce5[_0x2f780e(0x333)]||_0x201ce5[_0x2f780e(0x24e)](_0x3ed207=>_0x3ed207['reason']!=='cell'))return!0x1;let _0x5b5aea=new Map();for(let _0x11767f of _0x201ce5){var _0x23f7c8;if(!_0x11767f['tableId']||_0x11767f[_0x2f780e(0x33a)]==null||_0x11767f[_0x2f780e(0x451)]==null)continue;let _0x48670a=(_0x23f7c8=_0x5b5aea[_0x2f780e(0x221)](_0x11767f['tableId']))==null?[]:_0x23f7c8;_0x48670a[_0x2f780e(0x439)]({'row':_0x11767f[_0x2f780e(0x33a)],'col':_0x11767f['column']}),_0x5b5aea['set'](_0x11767f['tableId'],_0x48670a);}return _0x5b5aea['forEach']((_0x435ba7,_0x4a6b2f)=>{const _0x5cb69d=_0x2f780e;var _0x2fc764;let _0x3d2e7d=(_0x2fc764=_0x495196[_0x5cb69d(0x258)])==null?void 0x0:_0x2fc764[_0x4a6b2f];_0x3d2e7d&&m(_0x3d2e7d,_0x435ba7);}),!0x0;}function pe(_0x616229){const _0x2dee21=_0xa3b18d;if(!Array['isArray'](_0x616229)||_0x616229[_0x2dee21(0x333)]<0x2)return[{'tableId':'','reason':_0x2dee21(0x335)}];let _0x3c1114=_0x616229,_0x3b55a4=_0x3c1114['indexOf'](_0x2dee21(0x258));return _0x3b55a4===-0x1||typeof _0x3c1114[_0x3b55a4+0x1]!='string'?_0x3c1114[0x0]===_0x2dee21(0x403)?[]:[{'tableId':'','reason':_0x2dee21(0x335)}]:me(_0x3c1114,_0x3b55a4,String(_0x3c1114[_0x3b55a4+0x1]));}function me(_0x581aa0,_0xaaee10,_0x5a7e70){const _0x119a45=_0xa3b18d;let _0x3e945d=_0x581aa0[_0xaaee10+0x2];return _0x3e945d===_0x119a45(0x332)&&typeof _0x581aa0[_0xaaee10+0x3]==_0x119a45(0x181)?he(_0x581aa0,_0xaaee10,_0x5a7e70,String(_0x581aa0[_0xaaee10+0x3])):_0x3e945d===_0x119a45(0x2d6)&&_0x581aa0[_0xaaee10+0x3]!=null&&_0x581aa0[_0xaaee10+0x4]!=null?[{'tableId':_0x5a7e70,'reason':_0x119a45(0x32a),'row':Number(_0x581aa0[_0xaaee10+0x3]),'column':Number(_0x581aa0[_0xaaee10+0x4])}]:_0x3e945d==='fields'&&typeof _0x581aa0[_0xaaee10+0x3]=='string'?[{'tableId':_0x5a7e70,'reason':_0x119a45(0x41c),'fieldId':String(_0x581aa0[_0xaaee10+0x3])}]:_0x3e945d==='views'&&typeof _0x581aa0[_0xaaee10+0x3]==_0x119a45(0x181)?[{'tableId':_0x5a7e70,'reason':_0x119a45(0x418),'viewId':String(_0x581aa0[_0xaaee10+0x3])}]:[{'tableId':_0x5a7e70,'reason':_0x3e945d===void 0x0?_0x119a45(0x3ac):'unknown'}];}function he(_0x1034ee,_0x341156,_0x4e9390,_0x461c91){const _0x3bba44=_0xa3b18d;return _0x1034ee[_0x341156+0x4]===_0x3bba44(0x29e)&&typeof _0x1034ee[_0x341156+0x5]==_0x3bba44(0x181)?[{'tableId':_0x4e9390,'reason':_0x3bba44(0x32a),'recordId':_0x461c91,'fieldId':String(_0x1034ee[_0x341156+0x5])}]:_0x1034ee[_0x341156+0x4]===_0x3bba44(0x187)||_0x1034ee[_0x341156+0x4]===_0x3bba44(0x359)?[]:[{'tableId':_0x4e9390,'reason':_0x3bba44(0x42a),'recordId':_0x461c91}];}function ge(_0x596697){const _0x5f1faa=_0xa3b18d;if(!Array[_0x5f1faa(0x18c)](_0x596697))return[];let _0x3ae3d0=_0x596697[_0x5f1faa(0x314)](Array[_0x5f1faa(0x18c)]);if(_0x3ae3d0[_0x5f1faa(0x333)]>0x1&&_0x3ae3d0[_0x5f1faa(0x333)]===_0x596697[_0x5f1faa(0x333)])return _0x3ae3d0;let _0x3c7613=_0x596697['findIndex'](Array[_0x5f1faa(0x18c)]);if(_0x3c7613>0x0&&_0x596697['slice'](_0x3c7613)[_0x5f1faa(0x1c6)](Array[_0x5f1faa(0x18c)])){let _0x213fba=_0x596697[_0x5f1faa(0x2ce)](0x0,_0x3c7613);return _0x596697[_0x5f1faa(0x2ce)](_0x3c7613)[_0x5f1faa(0x1da)](_0x4e515f=>[..._0x213fba,..._0x4e515f]);}let _0x3cb9a5=_0x596697['indexOf']('tables');if(_0x3cb9a5===-0x1||typeof _0x596697[_0x3cb9a5+0x1]!=_0x5f1faa(0x181))return[];let _0x46a1ca=String(_0x596697[_0x3cb9a5+0x1]),_0x30354d=_0x596697['slice'](_0x3cb9a5+0x2)['filter'](Array[_0x5f1faa(0x18c)]);return _0x30354d['length']<=0x1?[]:_0x30354d[_0x5f1faa(0x1da)](_0x428b98=>['tables',_0x46a1ca,..._0x428b98]);}function _e(_0x3e3452){const _0x1f0cd1=_0xa3b18d;let _0xfc4962=new Set();return _0x3e3452[_0x1f0cd1(0x314)](_0x2ac69e=>{const _0x22628c=_0x1f0cd1;let _0x57beed=JSON[_0x22628c(0x23e)](_0x2ac69e);return _0xfc4962[_0x22628c(0x397)](_0x57beed)?!0x1:(_0xfc4962[_0x22628c(0x204)](_0x57beed),!0x0);});}function ve(_0x532d56){const _0x36e9bb=_0xa3b18d;return e[_0x36e9bb(0x464)][_0x36e9bb(0x188)](_0x532d56);}function ye(_0x29a9ae,_0x7f7611){const _0x222dae=_0xa3b18d;let _0x35f3ea=be(_0x7f7611);if(!_0x35f3ea[_0x222dae(0x333)])return ve(_0x29a9ae);let _0x2f1663=Te(_0x29a9ae);for(let _0x5aa996 of _0x35f3ea)Ce(_0x2f1663,_0x5aa996);return _0x2f1663;}function be(_0x3070db){let _0xb1bce9=[];return xe(_0x3070db,[],_0xb1bce9),_0xb1bce9;}function xe(_0x4a0389,_0x4b4429,_0x4ba90f){const _0x37747c=_0xa3b18d;if(!Array['isArray'](_0x4a0389))return;let _0x2abe99=[];for(let _0x1a6e87 of _0x4a0389){if(Array['isArray'](_0x1a6e87)){xe(_0x1a6e87,[..._0x4b4429,..._0x2abe99],_0x4ba90f);continue;}if(Se(_0x1a6e87)){_0x4ba90f[_0x37747c(0x439)]([..._0x4b4429,..._0x2abe99]);continue;}(typeof _0x1a6e87=='string'||typeof _0x1a6e87==_0x37747c(0x3fe))&&_0x2abe99['push'](_0x1a6e87);}}function Se(_0x504f82){const _0x55007b=_0xa3b18d;if(!_0x504f82||typeof _0x504f82!=_0x55007b(0x20d)||Array[_0x55007b(0x18c)](_0x504f82))return!0x1;let _0x31315b=_0x504f82;return'i'in _0x31315b||'r'in _0x31315b||'p'in _0x31315b||'d'in _0x31315b||'es'in _0x31315b||'ena'in _0x31315b||'et'in _0x31315b;}function Ce(_0x9bfe8,_0x25daa1){const _0x5d4419=_0xa3b18d;let _0x2374f1=_0x9bfe8;for(let _0x35bf81=0x0;_0x35bf81<_0x25daa1[_0x5d4419(0x333)]-0x1;_0x35bf81++){let _0x4533be=_0x25daa1[_0x35bf81],_0x50a671=_0x2374f1==null?void 0x0:_0x2374f1[_0x4533be];if(!we(_0x50a671))return;let _0xa111a8=Te(_0x50a671);_0x2374f1[_0x4533be]=_0xa111a8,_0x2374f1=_0xa111a8;}}function we(_0x543c6d){const _0x3d05be=_0xa3b18d;return!!_0x543c6d&&typeof _0x543c6d==_0x3d05be(0x20d);}function Te(_0x234048){const _0x48c98d=_0xa3b18d;return Array[_0x48c98d(0x18c)](_0x234048)?_0x234048['slice']():{..._0x234048};}const Ee=0x5a0*0x3c*0x3e8,De=0x63e1,Oe=_0xa3b18d(0x3eb),ke={'yyyy/mm/dd':_0xa3b18d(0x46b),'yyyy/mm/dd\x20hh:mm':_0xa3b18d(0x324),'yyyy-mm-dd':_0xa3b18d(0x2a4),'mm-dd':_0xa3b18d(0x3b1),'mm/dd/yyyy':_0xa3b18d(0x34b),'dd/mm/yyyy':_0xa3b18d(0x2ff),'mmm\x20d,\x20yyyy':'MMM\x20D,\x20YYYY'};function T(_0x1a035f){const _0x28e7e6=_0xa3b18d;return(0x0,e[_0x28e7e6(0x303)])(_0x1a035f)[_0x28e7e6(0x378)]()/Ee+De;}function Ae(_0x3687da){return(_0x3687da-De)*Ee;}function E(_0x476f3e){const _0x39d060=_0xa3b18d;if(_0x476f3e==null||_0x476f3e==='')return null;if(_0x476f3e instanceof Date)return T(_0x476f3e);if(typeof _0x476f3e==_0x39d060(0x3fe))return Number[_0x39d060(0x2f4)](_0x476f3e)?_0x476f3e>0xf4240?T(_0x476f3e):_0x476f3e:null;let _0x4a745b=Date[_0x39d060(0x20b)](String(_0x476f3e));return Number[_0x39d060(0x404)](_0x4a745b)?null:T(_0x4a745b);}function D(_0x487a65){let _0x20c597=E(_0x487a65);return _0x20c597==null?null:Ae(_0x20c597);}function je(_0x1e1ab2,_0x3033ab={}){const _0x35805b=_0xa3b18d;var _0x12de01,_0x35515c,_0x21e6a3;let _0x324550=D(_0x1e1ab2);if(_0x324550==null||!Number[_0x35805b(0x2f4)](_0x324550))return'';let _0x1cbb8d=String((_0x12de01=(_0x35515c=_0x3033ab['pattern'])==null?_0x3033ab[_0x35805b(0x28f)]:_0x35515c)==null?Oe:_0x12de01),_0x455ad8=_0x3033ab[_0x35805b(0x283)]===!0x0||_0x1cbb8d['includes'](_0x35805b(0x2a8)),_0x7fda1e=String((_0x21e6a3=_0x3033ab[_0x35805b(0x34c)])==null?_0x35805b(0x2b6):_0x21e6a3);return(0x0,e[_0x35805b(0x303)])(_0x324550)[_0x35805b(0x28f)](Me(_0x1cbb8d,_0x455ad8,_0x7fda1e));}function Me(_0x1891d2,_0x2c4467,_0x21c83c){const _0x595fcf=_0xa3b18d;var _0x43bd8c;let _0x5dfec4=(_0x43bd8c=ke[_0x1891d2])==null?ke[Oe]:_0x43bd8c;return!_0x2c4467||_0x1891d2[_0x595fcf(0x162)]('hh:mm')?_0x5dfec4:_0x5dfec4+'\x20'+(_0x21c83c==='h12'?_0x595fcf(0x407):_0x595fcf(0x3e2));}const Ne={'editable':!0x0,'sortable':!0x0,'filterable':!0x0,'groupable':!0x1,'usableAsKanbanGroup':!0x1,'usableAsCalendarDate':!0x1,'usableAsGanttStart':!0x1,'usableAsGanttEnd':!0x1,'usableAsGanttProgress':!0x1,'usableAsCardCover':!0x1,'usableAsTitle':!0x1},Pe=new Set([e[_0xa3b18d(0x17a)][_0xa3b18d(0x2e5)],e[_0xa3b18d(0x17a)][_0xa3b18d(0x3b2)],e[_0xa3b18d(0x17a)][_0xa3b18d(0x2dc)],e[_0xa3b18d(0x17a)][_0xa3b18d(0x3c3)],e[_0xa3b18d(0x17a)]['Location'],e['BaseFieldType']['TwoWayLink'],e['BaseFieldType'][_0xa3b18d(0x3a8)],e['BaseFieldType'][_0xa3b18d(0x46f)]]),O=0x5a0*0x3c*0x3e8;function Fe(_0x284015,_0x100abe){const _0x2938ce=_0xa3b18d;return _0x284015==null&&_0x100abe==null?0x0:_0x284015==null?-0x1:_0x100abe==null?0x1:typeof _0x284015==_0x2938ce(0x3fe)&&typeof _0x100abe==_0x2938ce(0x3fe)?_0x284015-_0x100abe:String(_0x284015)[_0x2938ce(0x387)](String(_0x100abe));}function Ie(_0x464551,_0x3845ce,_0x573bdc,_0x5a7c6b,_0x5044c3={}){const _0x159c04=_0xa3b18d;if(_0x3845ce===_0x159c04(0x395))return Le(_0x464551);if(_0x3845ce===_0x159c04(0x289))return!Le(_0x464551);switch(_0x5a7c6b['type']){case e['BaseFieldType'][_0x159c04(0x285)]:case e[_0x159c04(0x17a)][_0x159c04(0x485)]:case e[_0x159c04(0x17a)][_0x159c04(0x17f)]:case e['BaseFieldType'][_0x159c04(0x232)]:return Re(_0x464551,_0x3845ce,_0x573bdc);case e['BaseFieldType'][_0x159c04(0x224)]:case e['BaseFieldType'][_0x159c04(0x2bb)]:case e[_0x159c04(0x17a)][_0x159c04(0x2e4)]:return Be(_0x464551,_0x3845ce,_0x573bdc,_0x5044c3);case e['BaseFieldType'][_0x159c04(0x23b)]:return Ke(_0x464551,_0x3845ce,_0x573bdc);case e[_0x159c04(0x17a)][_0x159c04(0x3b7)]:case e[_0x159c04(0x17a)][_0x159c04(0x35d)]:case e[_0x159c04(0x17a)][_0x159c04(0x2bc)]:case e[_0x159c04(0x17a)][_0x159c04(0x478)]:return Je(_0x464551,_0x3845ce,_0x573bdc,_0x5a7c6b);default:return Ye(_0x464551,_0x3845ce,_0x573bdc);}}function Le(_0x3044e5){const _0x5807d8=_0xa3b18d;return _0x3044e5==null?!0x0:Array['isArray'](_0x3044e5)?_0x3044e5[_0x5807d8(0x333)]===0x0:typeof _0x3044e5==_0x5807d8(0x181)?_0x3044e5[_0x5807d8(0x41e)]()==='':!0x1;}function Re(_0x40d0d2,_0x230aba,_0x2d0685){const _0x1e0258=_0xa3b18d;let _0x135c52=ze(_0x40d0d2),_0x4cca13=ze(_0x2d0685);if(_0x135c52==null||_0x4cca13==null)return!0x1;switch(_0x230aba){case'is':return _0x135c52===_0x4cca13;case _0x1e0258(0x229):return _0x135c52!==_0x4cca13;case _0x1e0258(0x383):return _0x135c52>_0x4cca13;case _0x1e0258(0x300):return _0x135c52>=_0x4cca13;case _0x1e0258(0x44e):return _0x135c52<_0x4cca13;case'lessThanOrEqual':return _0x135c52<=_0x4cca13;default:return!0x1;}}function ze(_0x26ca52){const _0x5f7e56=_0xa3b18d;if(_0x26ca52==null||_0x26ca52==='')return null;let _0x16e8b1=Number(_0x26ca52);return Number[_0x5f7e56(0x2f4)](_0x16e8b1)?_0x16e8b1:null;}function Be(_0x184bb1,_0xf9b74b,_0x58c68f,_0x5731f2){const _0x2a5f20=_0xa3b18d;var _0x3cfcb7;let _0x33863c=He(_0x184bb1);if(_0x33863c==null)return!0x1;let _0x30f114=Ve((_0x3cfcb7=_0x5731f2['dateMode'])==null?_0x2a5f20(0x3c6):_0x3cfcb7,_0x58c68f,_0x5731f2[_0x2a5f20(0x1c3)]);if(!_0x30f114)return!0x1;switch(_0xf9b74b){case'is':return _0x33863c>=_0x30f114['start']&&_0x33863c<=_0x30f114[_0x2a5f20(0x25c)];case'isNot':return _0x33863c<_0x30f114[_0x2a5f20(0x384)]||_0x33863c>_0x30f114[_0x2a5f20(0x25c)];case _0x2a5f20(0x39a):return _0x33863c<_0x30f114[_0x2a5f20(0x384)];case _0x2a5f20(0x178):return _0x33863c>_0x30f114[_0x2a5f20(0x25c)];default:return!0x1;}}function Ve(_0x4e95e0,_0x363aca,_0x31e07f=Date['now']()){const _0xc355f8=_0xa3b18d;let _0x138d67=Ue(_0x31e07f);switch(_0x4e95e0){case'exact':{let _0x56b512=He(_0x363aca);return _0x56b512==null?null:{'start':_0x56b512,'end':_0x56b512+O-0x1};}case _0xc355f8(0x41f):return{'start':_0x138d67,'end':_0x138d67+O-0x1};case _0xc355f8(0x36b):return{'start':_0x138d67+O,'end':_0x138d67+O*0x2-0x1};case _0xc355f8(0x192):return{'start':_0x138d67-O,'end':_0x138d67-0x1};case'thisWeek':return We(_0x138d67,0x0);case _0xc355f8(0x3e0):return We(_0x138d67,-0x1);case _0xc355f8(0x352):return Ge(_0x138d67,0x0);case _0xc355f8(0x3b4):return Ge(_0x138d67,-0x1);case'past7':return{'start':_0x138d67-O*0x6,'end':_0x138d67+O-0x1};case _0xc355f8(0x38e):return{'start':_0x138d67,'end':_0x138d67+O*0x7-0x1};case _0xc355f8(0x16c):return{'start':_0x138d67-O*0x1d,'end':_0x138d67+O-0x1};case _0xc355f8(0x440):return{'start':_0x138d67,'end':_0x138d67+O*0x1e-0x1};}}function He(_0x2a6928){let _0x226158=E(_0x2a6928);return _0x226158==null?null:Ue(Ae(_0x226158));}function Ue(_0x2a30d9){const _0x3d0b49=_0xa3b18d;let _0x255abd=new Date(_0x2a30d9);return _0x255abd[_0x3d0b49(0x1ec)](0x0,0x0,0x0,0x0),_0x255abd['getTime']();}function We(_0x5a5551,_0x4c7527){const _0x57179b=_0xa3b18d;let _0x1ea446=_0x5a5551-(new Date(_0x5a5551)[_0x57179b(0x1e3)]()+0x6)%0x7*O+_0x4c7527*O*0x7;return{'start':_0x1ea446,'end':_0x1ea446+O*0x7-0x1};}function Ge(_0x4c891e,_0x507da9){const _0x5c01f4=_0xa3b18d;let _0x50c7d6=new Date(_0x4c891e),_0x104926=new Date(_0x50c7d6['getFullYear'](),_0x50c7d6[_0x5c01f4(0x214)]()+_0x507da9,0x1),_0x29aa50=new Date(_0x50c7d6[_0x5c01f4(0x43b)](),_0x50c7d6[_0x5c01f4(0x214)]()+_0x507da9+0x1,0x1);return{'start':_0x104926[_0x5c01f4(0x2d4)](),'end':_0x29aa50[_0x5c01f4(0x2d4)]()-0x1};}function Ke(_0x76238d,_0x4c4af9,_0x30fd71){const _0x23d8f1=_0xa3b18d;let _0x405c12=qe(_0x76238d),_0x1ae035=qe(_0x30fd71);switch(_0x4c4af9){case'is':return _0x405c12===_0x1ae035;case _0x23d8f1(0x229):return _0x405c12!==_0x1ae035;default:return!0x1;}}function qe(_0x1bbd8f){return _0x1bbd8f===!0x0||_0x1bbd8f==='true'||_0x1bbd8f===0x1||_0x1bbd8f==='1';}function Je(_0x219518,_0x101812,_0x41bc08,_0x211d47){const _0x51f0d1=_0xa3b18d;let _0x30cc90=Xe(_0x219518,_0x211d47),_0x18f0d0=Xe(_0x41bc08,_0x211d47),_0x2b236=_0x18f0d0[_0x51f0d1(0x333)]>0x0&&_0x18f0d0[_0x51f0d1(0x24e)](_0xb27602=>_0x30cc90[_0x51f0d1(0x162)](_0xb27602));switch(_0x101812){case'is':case _0x51f0d1(0x17c):return _0x2b236;case _0x51f0d1(0x229):case _0x51f0d1(0x3b8):return!_0x2b236;default:return!0x1;}}function Ye(_0x36d70a,_0x30e2f6,_0x2c434e){const _0x467d9c=_0xa3b18d;let _0x39169f=k(_0x36d70a),_0x505c3c=k(_0x2c434e);switch(_0x30e2f6){case'is':return _0x39169f===_0x505c3c;case _0x467d9c(0x229):return _0x39169f!==_0x505c3c;case _0x467d9c(0x17c):return _0x505c3c?_0x39169f[_0x467d9c(0x162)](_0x505c3c):!0x1;case _0x467d9c(0x3b8):return _0x505c3c?!_0x39169f['includes'](_0x505c3c):!0x0;default:return!0x1;}}function k(_0x51478a){const _0x5e556f=_0xa3b18d;if(Array[_0x5e556f(0x18c)](_0x51478a))return _0x51478a[_0x5e556f(0x1da)](_0xfcda36=>k(_0xfcda36))[_0x5e556f(0x1e9)]('\x0a');if(_0x51478a&&typeof _0x51478a=='object'){var _0x4cc31f,_0xdc8d30,_0x4c6795,_0x5b1a9a,_0x4ba66e;let _0x35bf4c=_0x51478a;return String((_0x4cc31f=(_0xdc8d30=(_0x4c6795=(_0x5b1a9a=(_0x4ba66e=_0x35bf4c[_0x5e556f(0x2cb)])==null?_0x35bf4c['label']:_0x4ba66e)==null?_0x35bf4c[_0x5e556f(0x3ec)]:_0x5b1a9a)==null?_0x35bf4c[_0x5e556f(0x33c)]:_0x4c6795)==null?_0x35bf4c['id']:_0xdc8d30)==null?'':_0x4cc31f)[_0x5e556f(0x41e)]()[_0x5e556f(0x2f2)]();}return String(_0x51478a==null?'':_0x51478a)[_0x5e556f(0x41e)]()[_0x5e556f(0x2f2)]();}function Xe(_0x4f56c8,_0x20a225){const _0x27f8d1=_0xa3b18d;var _0xb973ad;let _0x40a5ed=A(_0x4f56c8),_0x1ff69e=Ze((_0xb973ad=_0x20a225[_0x27f8d1(0x3af)])==null?{}:_0xb973ad);return _0x40a5ed[_0x27f8d1(0x2f9)](_0x3a3277=>{var _0x3b0630;return(_0x3b0630=_0x1ff69e['get'](_0x3a3277))==null?[_0x3a3277]:_0x3b0630;})[_0x27f8d1(0x314)]((_0x1dbfbe,_0x4e5387,_0x418d42)=>_0x1dbfbe!==''&&_0x418d42[_0x27f8d1(0x2dd)](_0x1dbfbe)===_0x4e5387);}function A(_0x99f0f5){const _0xc7f1dd=_0xa3b18d;if(_0x99f0f5==null||_0x99f0f5==='')return[];if(Array['isArray'](_0x99f0f5))return _0x99f0f5[_0xc7f1dd(0x2f9)](_0x2908a0=>A(_0x2908a0));if(_0x99f0f5&&typeof _0x99f0f5==_0xc7f1dd(0x20d)){let _0x1cf18d=_0x99f0f5;return['id',_0xc7f1dd(0x2cb),_0xc7f1dd(0x3a6),'value','text'][_0xc7f1dd(0x2f9)](_0x1c2376=>A(_0x1cf18d[_0x1c2376]))[_0xc7f1dd(0x314)]((_0x39b9ba,_0x32e1f8,_0x2bd562)=>_0x2bd562[_0xc7f1dd(0x2dd)](_0x39b9ba)===_0x32e1f8);}return[k(_0x99f0f5)];}function Ze(_0x1bbcd1){const _0x169fdc=_0xa3b18d;let _0x5ca352=new Map();return(Array[_0x169fdc(0x18c)](_0x1bbcd1[_0x169fdc(0x275)])?_0x1bbcd1[_0x169fdc(0x275)]:[])['forEach'](_0x5efb34=>{const _0x48a9f6=_0x169fdc;if(!_0x5efb34||typeof _0x5efb34!=_0x48a9f6(0x20d))return;let _0x38f66a=A(_0x5efb34),_0x572011=_0x38f66a[_0x48a9f6(0x314)]((_0x29597a,_0x4c4554)=>_0x29597a!==''&&_0x38f66a[_0x48a9f6(0x2dd)](_0x29597a)===_0x4c4554);_0x572011['forEach'](_0x135e1a=>_0x5ca352[_0x48a9f6(0x3e5)](_0x135e1a,_0x572011));}),_0x5ca352;}function j(_0x3778c2,_0x44e582={},_0x47200a=_0x3c5593=>_0x3c5593,_0x1d6cfa={}){const _0x48e6a7=_0xa3b18d;var _0x14b662,_0x183cf4,_0x1ec61d,_0x3670db;let _0x262ef1=!Pe['has'](_0x3778c2),_0x18ee03=_0x47200a==null?_0x158f41=>_0x158f41:_0x47200a;return{'type':_0x3778c2,'i18nKey':_0x48e6a7(0x379)+_0x3778c2,'enabled':_0x262ef1,'visibleInCreateMenu':_0x262ef1,'createDefaultConfig':(_0x14b662=_0x1d6cfa[_0x48e6a7(0x3ab)])==null?()=>({}):_0x14b662,'createDefaultValue':(_0x183cf4=_0x1d6cfa[_0x48e6a7(0x479)])==null?_0x19ad56=>{var _0x43d26e;return(_0x43d26e=_0x19ad56['defaultValue'])==null?null:_0x43d26e;}:_0x183cf4,'normalize':(_0x8ffbaa,_0x2cd9f5)=>_0x18ee03(_0x8ffbaa,_0x2cd9f5),'validate':(_0x1f59fb,_0x576bcd)=>{const _0x48c321=_0x48e6a7;var _0x5357e8,_0x203bfe;return _0x262ef1?(_0x5357e8=(_0x203bfe=_0x1d6cfa['validate'])==null?void 0x0:_0x203bfe[_0x48c321(0x24f)](_0x1d6cfa,_0x1f59fb,_0x576bcd))==null?{'valid':!0x0}:_0x5357e8:{'valid':!0x1};},'compare':(_0x1c56c6,_0x119654)=>Fe(_0x1c56c6,_0x119654),'filter':(_0x598af3,_0x1ffdea,_0x4a296c,_0x11fb95)=>Ie(_0x598af3,_0x1ffdea,_0x4a296c,_0x11fb95),'toPlainText':(_0x1ec61d=_0x1d6cfa['toPlainText'])==null?_0x5aec9c=>_0x5aec9c==null?'':String(_0x5aec9c):_0x1ec61d,'fromPlainText':(_0x3670db=_0x1d6cfa[_0x48e6a7(0x355)])==null?_0x2d524a=>_0x18ee03(_0x2d524a,{'id':'','name':'','type':_0x3778c2,'config':{}}):_0x3670db,'getCapabilities':()=>{const _0xccc07d=_0x48e6a7;var _0x56e5ba;return{...Ne,..._0x44e582,'editable':_0x262ef1&&((_0x56e5ba=_0x44e582[_0xccc07d(0x265)])==null?Ne[_0xccc07d(0x265)]:_0x56e5ba)};}};}function Qe(){const _0x32da96=_0xa3b18d;return[j(e[_0x32da96(0x17a)]['Text'],{'groupable':!0x0,'usableAsTitle':!0x0},void 0x0,{'createDefaultConfig':()=>({'placeholder':'bases.fieldConfig.textPlaceholder'}),'createDefaultValue':_0x2cbbd6=>{const _0x3778cc=_0x32da96;var _0x26e555;return(_0x26e555=_0x2cbbd6[_0x3778cc(0x2de)])==null?'':_0x26e555;}}),j(e[_0x32da96(0x17a)][_0x32da96(0x3b7)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsOptions':!0x0},_0x34a7fd=>_0x34a7fd==null||_0x34a7fd===''?null:String(_0x34a7fd),{'createDefaultConfig':()=>({'options':[],'optionSource':{'type':_0x32da96(0x1b1)}})}),j(e['BaseFieldType'][_0x32da96(0x35d)],{'filterable':!0x0,'usableAsKanbanGroup':!0x0,'supportsOptions':!0x0,'supportsMultipleValues':!0x0},_0x4ca49d=>Array['isArray'](_0x4ca49d)?_0x4ca49d[_0x32da96(0x1da)](String):_0x4ca49d==null?[]:[String(_0x4ca49d)],{'createDefaultConfig':()=>({'options':[],'optionSource':{'type':_0x32da96(0x1b1)}}),'createDefaultValue':_0xd3423f=>{var _0x22f439;return(_0x22f439=_0xd3423f['defaultValue'])==null?[]:_0x22f439;}}),j(e[_0x32da96(0x17a)][_0x32da96(0x2bc)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsMultipleValues':!0x0},nt,{'createDefaultConfig':()=>({'allowMultiple':!0x1,'provider':_0x32da96(0x34d)}),'validate':rt}),j(e[_0x32da96(0x17a)][_0x32da96(0x478)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsMultipleValues':!0x0},tt,{'createDefaultConfig':()=>({'allowMultiple':!0x0,'provider':'group'}),'createDefaultValue':_0x420bca=>{const _0x266769=_0x32da96;var _0x1bb09b;return(_0x1bb09b=_0x420bca[_0x266769(0x2de)])==null?[]:_0x1bb09b;},'validate':it}),j(e[_0x32da96(0x17a)][_0x32da96(0x224)],{'groupable':!0x0,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x5d2917=>E(_0x5d2917),{'createDefaultConfig':()=>et(),'validate':at}),j(e[_0x32da96(0x17a)][_0x32da96(0x208)],{'usableAsCardCover':!0x0,'supportsMultipleValues':!0x0},_0x28e557=>_0x28e557==null?[]:Array[_0x32da96(0x18c)](_0x28e557)?_0x28e557:[_0x28e557],{'createDefaultValue':_0x152b76=>{var _0xf5d2bc;return(_0xf5d2bc=_0x152b76['defaultValue'])==null?[]:_0xf5d2bc;}}),j(e[_0x32da96(0x17a)][_0x32da96(0x285)],{},_0x337f6b=>_0x337f6b==null||_0x337f6b===''?null:Number(_0x337f6b),{'createDefaultConfig':()=>$e(),'validate':ot}),j(e[_0x32da96(0x17a)][_0x32da96(0x23b)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0},_0x12f391=>_0x12f391===!0x0||_0x12f391===_0x32da96(0x329)||_0x12f391===0x1||_0x12f391==='1',{'createDefaultConfig':()=>({'icon':'check','color':'#16a34a'}),'createDefaultValue':_0x4ad74f=>{const _0x4dd29a=_0x32da96;var _0x1daec5;return(_0x1daec5=_0x4ad74f[_0x4dd29a(0x2de)])==null?!0x1:_0x1daec5;},'validate':_0x2e6c0d=>typeof _0x2e6c0d=='boolean'?{'valid':!0x0}:{'valid':!0x1,'reason':_0x32da96(0x184)}}),j(e[_0x32da96(0x17a)]['Link'],{'supportsRelation':!0x0},ct,{'createDefaultConfig':()=>({'placeholder':'bases.fieldConfig.linkPlaceholder'}),'toPlainText':_0x2ac3a4=>lt(_0x2ac3a4),'fromPlainText':_0x566c67=>ct(_0x566c67)}),j(e[_0x32da96(0x17a)][_0x32da96(0x363)],{'editable':!0x1},void 0x0,{'createDefaultConfig':()=>({'formula':'','dependencies':[],'numfmt':{'type':_0x32da96(0x2e6),'pattern':'General'}}),'createDefaultValue':()=>null}),j(e['BaseFieldType'][_0x32da96(0x2e5)],{}),j(e[_0x32da96(0x17a)]['Flow'],{}),j(e[_0x32da96(0x17a)][_0x32da96(0x3c3)],{'editable':!0x1,'sortable':!0x1,'filterable':!0x1}),j(e['BaseFieldType'][_0x32da96(0x1d9)],{'editable':!0x1,'usableAsTitle':!0x0},void 0x0,{'createDefaultConfig':()=>({'mode':_0x32da96(0x165)}),'createDefaultValue':()=>null}),j(e[_0x32da96(0x17a)][_0x32da96(0x429)],{'usableAsTitle':!0x0},_0x4134a9=>_0x4134a9==null?null:String(_0x4134a9)[_0x32da96(0x41e)](),{'validate':_0x1c8e4e=>_0x1c8e4e==null||_0x1c8e4e===''||/^\+?[0-9 ()-]{6,20}$/[_0x32da96(0x228)](String(_0x1c8e4e))?{'valid':!0x0}:{'valid':!0x1,'reason':_0x32da96(0x376)}}),j(e['BaseFieldType'][_0x32da96(0x3f3)],{'usableAsTitle':!0x0},_0x1f7213=>_0x1f7213==null?null:String(_0x1f7213)['trim'](),{'validate':_0x151d8e=>_0x151d8e==null||_0x151d8e===''||dt(String(_0x151d8e))?{'valid':!0x0}:{'valid':!0x1,'reason':_0x32da96(0x1f0)}}),j(e['BaseFieldType'][_0x32da96(0x198)],{'usableAsTitle':!0x0}),j(e['BaseFieldType'][_0x32da96(0x46f)],{'usableAsTitle':!0x0}),j(e[_0x32da96(0x17a)]['Progress'],{'usableAsGanttProgress':!0x0},_0x4e4107=>_0x4e4107==null||_0x4e4107===''?null:Number(_0x4e4107),{'createDefaultConfig':()=>({'format':'percent','decimalPlaces':0x0,'color':_0x32da96(0x1a6),'customRange':!0x1,'start':0x0,'end':0x64}),'validate':(_0x53f47d,_0x583baa)=>st(_0x53f47d,_0x583baa,_0x32da96(0x41a))}),j(e[_0x32da96(0x17a)][_0x32da96(0x485)],{},_0x4856a2=>_0x4856a2==null||_0x4856a2===''?null:Number(_0x4856a2),{'createDefaultConfig':()=>({...$e(),'currencySymbol':'$'}),'validate':ot}),j(e[_0x32da96(0x17a)][_0x32da96(0x232)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0},_0x4d87d9=>_0x4d87d9==null||_0x4d87d9===''?null:Number(_0x4d87d9),{'createDefaultConfig':()=>({'icon':_0x32da96(0x163),'min':0x1,'max':0x5}),'createDefaultValue':()=>null,'validate':(_0x505f4d,_0x3e2573)=>st(_0x505f4d,_0x3e2573,'[BaseField]:\x20invalid\x20rating\x20value.')}),j(e[_0x32da96(0x17a)][_0x32da96(0x40b)],{'supportsRelation':!0x0}),j(e[_0x32da96(0x17a)][_0x32da96(0x3a8)],{'editable':!0x1,'sortable':!0x0,'filterable':!0x0,'usableAsTitle':!0x0}),j(e[_0x32da96(0x17a)][_0x32da96(0x422)],{'editable':!0x1,'groupable':!0x0},_0x257974=>_0x257974==null?null:String(_0x257974),{'createDefaultConfig':()=>({'provider':_0x32da96(0x2ae)}),'createDefaultValue':()=>null}),j(e[_0x32da96(0x17a)][_0x32da96(0x1e0)],{'editable':!0x1,'groupable':!0x0},_0x17e011=>_0x17e011==null?null:String(_0x17e011),{'createDefaultConfig':()=>({'provider':_0x32da96(0x2ae)}),'createDefaultValue':()=>null}),j(e[_0x32da96(0x17a)][_0x32da96(0x2bb)],{'editable':!0x1,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x1e9368=>E(_0x1e9368),{'createDefaultConfig':()=>et(),'createDefaultValue':()=>null,'validate':at}),j(e[_0x32da96(0x17a)][_0x32da96(0x2e4)],{'editable':!0x1,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x36ba5f=>E(_0x36ba5f),{'createDefaultConfig':()=>et(),'createDefaultValue':()=>null,'validate':at}),j(e[_0x32da96(0x17a)]['Summary'],{})];}function $e(){const _0x1604a7=_0xa3b18d;return{'pattern':'#,##0.00','decimalPlaces':0x2,'separatorStyle':_0x1604a7(0x1eb),'useThousands':!0x0,'abbreviation':_0x1604a7(0x386),'allowNegative':!0x0};}function et(){const _0x36c109=_0xa3b18d;return{'locale':_0x36c109(0x305),'pattern':_0x36c109(0x3eb),'includeTime':!0x1,'hourCycle':_0x36c109(0x2b6),'defaultMode':_0x36c109(0x386)};}function tt(_0x1824d2){const _0x34a088=_0xa3b18d;return _0x1824d2==null||_0x1824d2===''?[]:Array['isArray'](_0x1824d2)?_0x1824d2[_0x34a088(0x1da)](String):[String(_0x1824d2)];}function nt(_0x1db2ef,_0x1636cc){const _0x533b18=_0xa3b18d;var _0x108015;return _0x1db2ef==null||_0x1db2ef===''?_0x1636cc['config'][_0x533b18(0x306)]===!0x0?[]:null:_0x1636cc[_0x533b18(0x3af)]['allowMultiple']===!0x0?Array[_0x533b18(0x18c)](_0x1db2ef)?_0x1db2ef[_0x533b18(0x1da)](String):[String(_0x1db2ef)]:Array[_0x533b18(0x18c)](_0x1db2ef)?String((_0x108015=_0x1db2ef[0x0])==null?'':_0x108015)||null:String(_0x1db2ef);}function rt(_0x2be7d8,_0x52dc77){const _0x10481d=_0xa3b18d;return _0x52dc77[_0x10481d(0x3af)][_0x10481d(0x306)]===!0x0?it(_0x2be7d8):_0x2be7d8==null||_0x2be7d8===''||typeof _0x2be7d8==_0x10481d(0x181)?{'valid':!0x0}:{'valid':!0x1,'reason':_0x10481d(0x1b3)};}function it(_0x115c48){const _0xb5807f=_0xa3b18d;return _0x115c48==null||Array[_0xb5807f(0x18c)](_0x115c48)&&_0x115c48[_0xb5807f(0x1c6)](_0x1deaac=>typeof _0x1deaac==_0xb5807f(0x181))?{'valid':!0x0}:{'valid':!0x1,'reason':_0xb5807f(0x334)};}function at(_0x213164){const _0x4c3253=_0xa3b18d;return _0x213164==null||typeof _0x213164=='number'&&Number['isFinite'](_0x213164)?{'valid':!0x0}:{'valid':!0x1,'reason':_0x4c3253(0x460)};}function ot(_0x1f4b7d,_0x56050f){const _0x16ccb4=_0xa3b18d;return _0x1f4b7d==null||_0x1f4b7d===''?{'valid':!0x0}:typeof _0x1f4b7d!=_0x16ccb4(0x3fe)||!Number[_0x16ccb4(0x2f4)](_0x1f4b7d)?{'valid':!0x1,'reason':'[BaseField]:\x20invalid\x20number\x20value.'}:_0x56050f[_0x16ccb4(0x3af)][_0x16ccb4(0x316)]===!0x1&&_0x1f4b7d<0x0?{'valid':!0x1,'reason':_0x16ccb4(0x3ea)}:{'valid':!0x0};}function st(_0x2ae5f9,_0x23ae3b,_0x1dd9f8){const _0x3326f4=_0xa3b18d;var _0x13a493,_0x478181,_0x548055,_0x3e7e7d;let _0x205f0f=ot(_0x2ae5f9,_0x23ae3b);if(!_0x205f0f['valid']||_0x2ae5f9==null||_0x2ae5f9==='')return _0x205f0f;let _0x423e9a=Number((_0x13a493=(_0x478181=_0x23ae3b[_0x3326f4(0x3af)][_0x3326f4(0x358)])==null?_0x23ae3b[_0x3326f4(0x3af)][_0x3326f4(0x384)]:_0x478181)==null?0x0:_0x13a493),_0x1b3174=Number((_0x548055=(_0x3e7e7d=_0x23ae3b[_0x3326f4(0x3af)][_0x3326f4(0x21a)])==null?_0x23ae3b[_0x3326f4(0x3af)]['end']:_0x3e7e7d)==null?0x64:_0x548055),_0x524b37=Number(_0x2ae5f9);return _0x524b37>=_0x423e9a&&_0x524b37<=_0x1b3174?{'valid':!0x0}:{'valid':!0x1,'reason':_0x1dd9f8};}function ct(_0x4a6ae2){const _0x5a8b41=_0xa3b18d;if(_0x4a6ae2==null||_0x4a6ae2==='')return null;if(typeof _0x4a6ae2=='object'&&!Array[_0x5a8b41(0x18c)](_0x4a6ae2)){let _0x85b219=_0x4a6ae2,_0x58422a=typeof _0x85b219[_0x5a8b41(0x3ec)]==_0x5a8b41(0x181)?_0x85b219['text'][_0x5a8b41(0x41e)]():'',_0x2023a7=typeof _0x85b219[_0x5a8b41(0x254)]==_0x5a8b41(0x181)?_0x85b219[_0x5a8b41(0x254)]['trim']():'',_0x481532=ut(_0x2023a7||_0x58422a);return _0x481532?{'text':_0x58422a||_0x2023a7||_0x481532,'url':_0x481532}:null;}let _0x3abc76=String(_0x4a6ae2)[_0x5a8b41(0x41e)](),_0x2707a0=ut(_0x3abc76);return _0x2707a0?{'text':_0x3abc76,'url':_0x2707a0}:null;}function lt(_0x4f39e6){const _0x44dce1=_0xa3b18d;if(_0x4f39e6==null)return'';if(typeof _0x4f39e6==_0x44dce1(0x20d)&&!Array[_0x44dce1(0x18c)](_0x4f39e6)){let _0x5659d4=_0x4f39e6;return String(_0x5659d4['text']||_0x5659d4[_0x44dce1(0x254)]||'');}return String(_0x4f39e6);}function ut(_0x286876){const _0x57bd70=_0xa3b18d;let _0x5da30f=_0x286876[_0x57bd70(0x41e)]();return _0x5da30f?/^[a-z][a-z\d+.-]*:\/\//i[_0x57bd70(0x228)](_0x5da30f)?_0x5da30f:'https://'+_0x5da30f:'';}function dt(_0x5c589c){const _0x8a2935=_0xa3b18d;let _0x2e54bb=_0x5c589c[_0x8a2935(0x2dd)]('@');if(_0x2e54bb<=0x0||_0x2e54bb!==_0x5c589c['lastIndexOf']('@'))return!0x1;let _0x197f26=_0x5c589c[_0x8a2935(0x2ce)](_0x2e54bb+0x1);return _0x197f26[_0x8a2935(0x162)]('.')&&!_0x5c589c[_0x8a2935(0x162)]('\x20')&&!_0x197f26[_0x8a2935(0x337)]('.')&&!_0x197f26['endsWith']('.');}const M={'table':_0x4dafc8=>[_0xa3b18d(0x258),_0x4dafc8],'field':(_0x192f66,_0x4bc878)=>[_0xa3b18d(0x258),_0x192f66,_0xa3b18d(0x35e),_0x4bc878],'fieldOrder':(_0x35aacf,_0x368943)=>[_0xa3b18d(0x258),_0x35aacf,_0xa3b18d(0x2d8),_0x368943],'record':(_0x40dc01,_0x2eaf80)=>[_0xa3b18d(0x258),_0x40dc01,_0xa3b18d(0x332),_0x2eaf80],'cell':(_0x4dc62b,_0x1c7472,_0x139de7)=>[_0xa3b18d(0x258),_0x4dc62b,_0xa3b18d(0x332),_0x1c7472,'values',_0x139de7],'cellData':(_0x5140de,_0x272f68,_0xca4786)=>[_0xa3b18d(0x258),_0x5140de,_0xa3b18d(0x2d6),String(_0x272f68),String(_0xca4786)],'attachmentSet':(_0x18cee3,_0x3a97c6)=>[_0xa3b18d(0x258),_0x18cee3,_0xa3b18d(0x37d),_0xa3b18d(0x42f),_0x3a97c6],'attachment':(_0x519e23,_0x576874)=>['tables',_0x519e23,_0xa3b18d(0x37d),_0xa3b18d(0x3dd),_0x576874],'view':(_0x2697c3,_0x116e11)=>[_0xa3b18d(0x258),_0x2697c3,'views',_0x116e11],'viewFieldHidden':(_0x5c8b1,_0xfcec77,_0x57b8c7)=>[_0xa3b18d(0x258),_0x5c8b1,_0xa3b18d(0x411),_0xfcec77,_0xa3b18d(0x326),_0x57b8c7,_0xa3b18d(0x174)]};function N(_0x256eb6){const _0x5325c1=_0xa3b18d;return _0x256eb6['reduce']((_0x37f824,_0x270172)=>_0x37f824==null?_0x270172:e['JSON1']['type'][_0x5325c1(0x1dc)](_0x37f824,_0x270172),void 0x0);}var P=class{['setBaseName'](_0x368e8e,_0xdcf69e){const _0x1a2277=_0xa3b18d;let _0x44dff0=this[_0x1a2277(0x476)](_0x368e8e,_0x368e8e[_0x1a2277(0x2cb)],_0xdcf69e);return N([this['_replaceOptional']([_0x1a2277(0x2cb)],_0x368e8e[_0x1a2277(0x2cb)],_0xdcf69e),..._0x44dff0?[_0x44dff0]:[]]);}['renameFormulaUnitReferences'](_0x375072,_0x40bac5,_0x48df65){const _0x1652db=_0xa3b18d;let _0x18efa5=Object['values'](_0x375072[_0x1652db(0x258)])[_0x1652db(0x2f9)](_0x153cb0=>Object[_0x1652db(0x29e)](_0x153cb0[_0x1652db(0x35e)])[_0x1652db(0x2f9)](_0x516777=>{const _0xdd8e01=_0x1652db;var _0x122ce5,_0x5f17f1,_0x3be494;if(_0x516777[_0xdd8e01(0x177)]!==e[_0xdd8e01(0x17a)][_0xdd8e01(0x363)])return[];let _0x347e49=String((_0x122ce5=(_0x5f17f1=_0x516777[_0xdd8e01(0x3af)])==null?void 0x0:_0x5f17f1['formula'])==null?'':_0x122ce5),_0x561022=(0x0,t[_0xdd8e01(0x393)])(_0x347e49,_0x40bac5,_0x48df65);return _0x561022===_0x347e49?[]:[this[_0xdd8e01(0x1bc)]([...M[_0xdd8e01(0x41c)](_0x153cb0['id'],_0x516777['id']),_0xdd8e01(0x3af),_0xdd8e01(0x382)],(_0x3be494=_0x516777['config'])==null?void 0x0:_0x3be494[_0xdd8e01(0x382)],_0x561022)];}));return _0x18efa5[_0x1652db(0x333)]>0x0?N(_0x18efa5):void 0x0;}[_0xa3b18d(0x37a)](_0x46fa62,_0x1a2a7c,_0x2ee755=_0x46fa62[_0xa3b18d(0x403)][_0xa3b18d(0x333)]){const _0x4cc1fe=_0xa3b18d;return N([e['JSON1'][_0x4cc1fe(0x47e)](M[_0x4cc1fe(0x3ac)](_0x1a2a7c['id']),_0x1a2a7c),e[_0x4cc1fe(0x40f)]['insertOp']([_0x4cc1fe(0x403),_0x2ee755],_0x1a2a7c['id'])]);}['renameTable'](_0x3f180c,_0x59ac6c,_0x2902d9){const _0x30df00=_0xa3b18d;let _0x52a554=_0x3f180c[_0x30df00(0x258)][_0x59ac6c][_0x30df00(0x2cb)],_0x3afc1f=Object[_0x30df00(0x29e)](_0x3f180c[_0x30df00(0x258)])[_0x30df00(0x2f9)](_0x1e76ce=>Object[_0x30df00(0x29e)](_0x1e76ce[_0x30df00(0x35e)])[_0x30df00(0x2f9)](_0x38704b=>{const _0x3f0c86=_0x30df00;var _0x488450,_0x45f5de;if(_0x38704b[_0x3f0c86(0x177)]!==e[_0x3f0c86(0x17a)][_0x3f0c86(0x363)])return[];let _0x4a09c6=String((_0x488450=(_0x45f5de=_0x38704b['config'])==null?void 0x0:_0x45f5de[_0x3f0c86(0x382)])==null?'':_0x488450),_0x232f01=vt(_0x4a09c6,_0x52a554,_0x2902d9);return _0x232f01===_0x4a09c6?[]:[this['updateField'](_0x3f180c,_0x1e76ce['id'],_0x38704b['id'],{'config':{..._0x38704b[_0x3f0c86(0x3af)],'formula':_0x232f01}})];}));return N([e['JSON1'][_0x30df00(0x41d)]([...M[_0x30df00(0x3ac)](_0x59ac6c),_0x30df00(0x2cb)],_0x52a554,_0x2902d9),..._0x3afc1f]);}[_0xa3b18d(0x2a3)](_0x2a7c8e,_0x45838d){const _0x2c4424=_0xa3b18d;let _0x3ed5b3=_0x2a7c8e['tables'][_0x45838d],_0x38cbfe=_0x2a7c8e['tableOrder'][_0x2c4424(0x2dd)](_0x45838d);return N([e['JSON1'][_0x2c4424(0x357)](M[_0x2c4424(0x3ac)](_0x45838d),_0x3ed5b3),e['JSON1'][_0x2c4424(0x357)](['tableOrder',_0x38cbfe],_0x45838d)]);}[_0xa3b18d(0x2da)](_0x44c57b,_0x34fadf,_0x41f046){const _0x2e567f=_0xa3b18d;return this[_0x2e567f(0x428)](_0x44c57b,_0x34fadf,[_0x41f046]);}[_0xa3b18d(0x428)](_0x549663,_0x3f7f6a,_0x438eb6){const _0x5ece95=_0xa3b18d;let _0x4601b2=_0x549663[_0x5ece95(0x258)][_0x3f7f6a],_0x5509b2=_0x438eb6[_0x5ece95(0x314)](_0xf251c3=>_0xf251c3&&!_0x4601b2[_0x5ece95(0x332)][_0xf251c3['id']]);return _0x5509b2['length']?N([..._0x5509b2['map'](_0x4bc8df=>e[_0x5ece95(0x40f)][_0x5ece95(0x47e)](M['record'](_0x3f7f6a,_0x4bc8df['id']),_0x4bc8df)),this[_0x5ece95(0x16b)](_0x549663,_0x3f7f6a,_0x5509b2)]):e[_0x5ece95(0x40f)][_0x5ece95(0x41d)]([...M[_0x5ece95(0x3ac)](_0x3f7f6a),_0x5ece95(0x332)],_0x4601b2[_0x5ece95(0x332)],_0x4601b2[_0x5ece95(0x332)]);}[_0xa3b18d(0x3fc)](_0x403e1a,_0x597d16,_0x432f70){const _0x24a0e1=_0xa3b18d;return this[_0x24a0e1(0x30e)](_0x403e1a,_0x597d16,[_0x432f70]);}[_0xa3b18d(0x30e)](_0xd9dd7e,_0x3ef992,_0x3f46b8){const _0x1f8e41=_0xa3b18d;let _0x2c80a1=_0xd9dd7e[_0x1f8e41(0x258)][_0x3ef992],_0x5cf10f=Array[_0x1f8e41(0x3aa)](new Set(_0x3f46b8))[_0x1f8e41(0x314)](_0x3cec41=>_0x2c80a1[_0x1f8e41(0x332)][_0x3cec41]);if(!_0x5cf10f[_0x1f8e41(0x333)])return e[_0x1f8e41(0x40f)][_0x1f8e41(0x41d)]([...M[_0x1f8e41(0x3ac)](_0x3ef992),_0x1f8e41(0x332)],_0x2c80a1[_0x1f8e41(0x332)],_0x2c80a1[_0x1f8e41(0x332)]);let _0xc01f83=new Set(_0x5cf10f),_0x470359=_0x5cf10f[_0x1f8e41(0x1da)](_0x63fc12=>{const _0x17164a=_0x1f8e41;var _0x16f8d2,_0x327ed1;return{'recordId':_0x63fc12,'index':(_0x16f8d2=(_0x327ed1=_0x2c80a1[_0x17164a(0x47c)])==null?void 0x0:_0x327ed1[_0x17164a(0x2dd)](_0x63fc12))==null?-0x1:_0x16f8d2};})['filter'](_0x14513c=>_0x14513c[_0x1f8e41(0x25a)]>=0x0)[_0x1f8e41(0x33d)]((_0x3df3ff,_0x4a0fa4)=>_0x4a0fa4[_0x1f8e41(0x25a)]-_0x3df3ff[_0x1f8e41(0x25a)]);return N([..._0x5cf10f[_0x1f8e41(0x1da)](_0x50268b=>e['JSON1'][_0x1f8e41(0x357)](M['record'](_0x3ef992,_0x50268b),_0x2c80a1[_0x1f8e41(0x332)][_0x50268b])),..._0x470359[_0x1f8e41(0x1da)](({recordId:_0x290fd1,index:_0x473424})=>e[_0x1f8e41(0x40f)][_0x1f8e41(0x357)](['tables',_0x3ef992,_0x1f8e41(0x47c),_0x473424],_0x290fd1)),...this[_0x1f8e41(0x338)](_0x2c80a1,_0x3ef992,_0x27919f=>{const _0x3d7700=_0x1f8e41;let _0x1f7f5c=_0x27919f[_0x3d7700(0x2ce)](_0x27919f[_0x3d7700(0x28e)]('\x1f')+0x1);return _0xc01f83[_0x3d7700(0x397)](_0x1f7f5c);})]);}[_0xa3b18d(0x191)](_0x11ed69,_0x20aa16,_0x237cca,_0x4222e3){const _0x5e6e21=_0xa3b18d;return this['createRecord'](_0x11ed69,_0x20aa16,{..._0x4222e3,'values':{..._0x11ed69[_0x5e6e21(0x258)][_0x20aa16][_0x5e6e21(0x332)][_0x237cca][_0x5e6e21(0x29e)],..._0x4222e3[_0x5e6e21(0x29e)]}});}[_0xa3b18d(0x274)](_0x1214a9,_0x50ead9,_0x40ed55,_0x35ae2d){const _0x1c32fc=_0xa3b18d;let _0x5d3861=_0x1214a9[_0x1c32fc(0x258)][_0x50ead9],_0x38e615=[...M['record'](_0x50ead9,_0x40ed55),_0x1c32fc(0x390)],_0x401113=Object[_0x1c32fc(0x29e)](_0x5d3861[_0x1c32fc(0x332)])[_0x1c32fc(0x1da)](_0x38b3bf=>_0x38b3bf['id']===_0x40ed55?{..._0x38b3bf,'orderKey':_0x35ae2d}:_0x38b3bf)[_0x1c32fc(0x33d)]((_0x30318f,_0x1e1440)=>{const _0x304cc3=_0x1c32fc;var _0xeab718,_0x20ed07;return String((_0xeab718=_0x30318f[_0x304cc3(0x390)])==null?_0x30318f['id']:_0xeab718)[_0x304cc3(0x387)](String((_0x20ed07=_0x1e1440[_0x304cc3(0x390)])==null?_0x1e1440['id']:_0x20ed07));})[_0x1c32fc(0x1da)](_0x33c8a4=>_0x33c8a4['id']),_0x20bd93=[...M[_0x1c32fc(0x3ac)](_0x50ead9),_0x1c32fc(0x47c)];return N([e[_0x1c32fc(0x40f)][_0x1c32fc(0x41d)](_0x38e615,_0x5d3861[_0x1c32fc(0x332)][_0x40ed55][_0x1c32fc(0x390)],_0x35ae2d),_0x5d3861[_0x1c32fc(0x47c)]?e[_0x1c32fc(0x40f)][_0x1c32fc(0x41d)](_0x20bd93,_0x5d3861[_0x1c32fc(0x47c)],_0x401113):e[_0x1c32fc(0x40f)][_0x1c32fc(0x47e)](_0x20bd93,_0x401113)]);}[_0xa3b18d(0x416)](_0x4b32a0,_0x3538fa,_0x24b1c8,_0x118c63,_0xfafd7f){const _0x29f231=_0xa3b18d;var _0x5b3ea3,_0x58b8ea;let _0x44859e=_0x4b32a0[_0x29f231(0x258)][_0x3538fa],_0x2efb59=ft(_0x44859e,_0x24b1c8,_0x118c63)?_0x44859e:d(_0x44859e),_0x4373f4=(_0x5b3ea3=_0x2efb59[_0x29f231(0x164)])==null?void 0x0:_0x5b3ea3[_0x24b1c8],_0x58efc9=(_0x58b8ea=_0x2efb59[_0x29f231(0x3b6)])==null?void 0x0:_0x58b8ea[_0x118c63];if(_0x4373f4==null||_0x58efc9==null){var _0x31f45f;return this['_replaceOptional'](M[_0x29f231(0x32a)](_0x3538fa,_0x24b1c8,_0x118c63),(_0x31f45f=_0x4b32a0[_0x29f231(0x258)][_0x3538fa])==null||(_0x31f45f=_0x31f45f[_0x29f231(0x332)][_0x24b1c8])==null?void 0x0:_0x31f45f['values'][_0x118c63],_0xfafd7f);}return this[_0x29f231(0x27f)](_0x4b32a0,_0x3538fa,[{'row':_0x4373f4,'col':_0x58efc9,'value':_0xfafd7f}]);}[_0xa3b18d(0x3f8)](_0x563c12,_0x2c49db,_0x1c9bf0){const _0x33e7cd=_0xa3b18d;let _0x14694b=_0x563c12[_0x33e7cd(0x258)][_0x2c49db],_0x2877c5=_0x1c9bf0['every'](_0x104058=>Object[_0x33e7cd(0x1c8)](_0x104058[_0x33e7cd(0x29e)])[_0x33e7cd(0x1c6)](_0x3b6d76=>ft(_0x14694b,_0x104058[_0x33e7cd(0x2f7)],_0x3b6d76)))?_0x14694b:d(_0x14694b),_0x559e06=_0x1c9bf0[_0x33e7cd(0x2f9)](_0x582055=>Object['entries'](_0x582055[_0x33e7cd(0x29e)])[_0x33e7cd(0x2f9)](([_0x464dd4,_0x895023])=>{const _0x459077=_0x33e7cd;var _0x5f538e,_0x207784;let _0x9417c=(_0x5f538e=_0x2877c5[_0x459077(0x164)])==null?void 0x0:_0x5f538e[_0x582055[_0x459077(0x2f7)]],_0x4c94b5=(_0x207784=_0x2877c5[_0x459077(0x3b6)])==null?void 0x0:_0x207784[_0x464dd4];return _0x9417c==null||_0x4c94b5==null?[]:[{'row':_0x9417c,'col':_0x4c94b5,'value':_0x895023}];})),_0x27a092=_0x1c9bf0[_0x33e7cd(0x2f9)](_0x16d4dc=>{const _0x4fb10b=_0x33e7cd;var _0x27668c;return Object[_0x4fb10b(0x217)]((_0x27668c=_0x16d4dc[_0x4fb10b(0x19e)])==null?{}:_0x27668c)[_0x4fb10b(0x1da)](([_0x4ee243,_0x5c7e94])=>{const _0x44c0c0=_0x4fb10b;var _0x4048ed;let _0x3d31ec=[...M[_0x44c0c0(0x42a)](_0x2c49db,_0x16d4dc['recordId']),_0x4ee243],_0x5a917f=(_0x4048ed=_0x563c12[_0x44c0c0(0x258)][_0x2c49db])==null||(_0x4048ed=_0x4048ed[_0x44c0c0(0x332)][_0x16d4dc[_0x44c0c0(0x2f7)]])==null?void 0x0:_0x4048ed[_0x4ee243];return this[_0x44c0c0(0x1bc)](_0x3d31ec,_0x5a917f,_0x5c7e94);});});return N([this['setRangeValues'](_0x563c12,_0x2c49db,_0x559e06),..._0x27a092]);}[_0xa3b18d(0x27f)](_0x492c89,_0x29a5df,_0x49fc8c){const _0xb7617b=_0xa3b18d;let _0x78c226=_0x492c89[_0xb7617b(0x258)][_0x29a5df],_0xbbf13c=_0x49fc8c[_0xb7617b(0x1c6)](_0x446ef5=>pt(_0x78c226,_0x446ef5[_0xb7617b(0x33a)],_0x446ef5[_0xb7617b(0x26e)]))?_0x78c226:d(_0x78c226),_0x6bd1ed=_0x49fc8c[_0xb7617b(0x2f9)](_0x33873a=>{const _0x5cd4b7=_0xb7617b;var _0x43d187,_0x8debff,_0x7e4c30,_0x3cb9d3;let _0x2c50f0=(_0x43d187=_0xbbf13c[_0x5cd4b7(0x171)])==null?void 0x0:_0x43d187[_0x33873a[_0x5cd4b7(0x26e)]],_0x44c967=(_0x8debff=_0xbbf13c[_0x5cd4b7(0x262)])==null?void 0x0:_0x8debff[_0x33873a[_0x5cd4b7(0x33a)]],_0x446027=_0x2c50f0?_0xbbf13c[_0x5cd4b7(0x35e)][_0x2c50f0]:void 0x0,_0x5735c3=y(_0x33873a['value'],_0x446027),_0x58335c=(_0x7e4c30=_0xbbf13c[_0x5cd4b7(0x2d6)])==null||(_0x7e4c30=_0x7e4c30[_0x33873a[_0x5cd4b7(0x33a)]])==null?void 0x0:_0x7e4c30[_0x33873a[_0x5cd4b7(0x26e)]],_0x542cf5=this['_replaceOptional'](M['cellData'](_0x29a5df,_0x33873a['row'],_0x33873a['col']),_0x58335c,_0x5735c3);if(!_0x2c50f0||!_0x44c967)return[_0x542cf5];let _0x1c7773=(_0x3cb9d3=_0xbbf13c[_0x5cd4b7(0x332)][_0x44c967])==null?void 0x0:_0x3cb9d3[_0x5cd4b7(0x29e)][_0x2c50f0],_0x1552ab=(_0x446027==null?void 0x0:_0x446027[_0x5cd4b7(0x177)])===e[_0x5cd4b7(0x17a)][_0x5cd4b7(0x208)]?x(_0x33873a[_0x5cd4b7(0x33c)]):te(_0x33873a[_0x5cd4b7(0x33c)],_0x5735c3,_0x446027,_0xbbf13c,_0x44c967),_0x52566d=[_0x542cf5,this['_replaceOptional'](M[_0x5cd4b7(0x32a)](_0x29a5df,_0x44c967,_0x2c50f0),_0x1c7773,_0x1552ab)];if((_0x446027==null?void 0x0:_0x446027[_0x5cd4b7(0x177)])!==e[_0x5cd4b7(0x17a)][_0x5cd4b7(0x208)])return _0x52566d;let _0x2252db=this[_0x5cd4b7(0x16d)](_0xbbf13c,_0x29a5df,_0x44c967,_0x2c50f0,_0x1552ab);return[..._0x52566d,..._0x2252db];});return _0x6bd1ed['length']?N(_0x6bd1ed):e[_0xb7617b(0x40f)][_0xb7617b(0x41d)](['tables',_0x29a5df,_0xb7617b(0x2d6)],_0xbbf13c[_0xb7617b(0x2d6)],_0xbbf13c['cellData']);}[_0xa3b18d(0x474)](_0x28bd6e,_0x54c71a,_0x252f63){const _0x35dc27=_0xa3b18d;var _0x5d1014,_0x2c9727;let _0x1487f5=_0x28bd6e[_0x35dc27(0x258)][_0x54c71a];if(_0x1487f5[_0x35dc27(0x35e)][_0x252f63[_0x35dc27(0x41c)]['id']]||_0x1487f5[_0x35dc27(0x2d8)][_0x35dc27(0x162)](_0x252f63['field']['id']))return e['JSON1'][_0x35dc27(0x41d)](['tables',_0x54c71a,'fieldOrder'],_0x1487f5[_0x35dc27(0x2d8)],_0x1487f5[_0x35dc27(0x2d8)]);let _0x23529a=(_0x5d1014=_0x252f63[_0x35dc27(0x25a)])==null?_0x1487f5[_0x35dc27(0x2d8)][_0x35dc27(0x333)]:_0x5d1014,_0x2568c3=Object[_0x35dc27(0x29e)]((_0x2c9727=_0x1487f5[_0x35dc27(0x411)])==null?{}:_0x2c9727)[_0x35dc27(0x2f9)](_0x3886dd=>{const _0x4db49b=_0x35dc27;var _0x4eb910,_0x18527d;if(!_0x3886dd[_0x4db49b(0x2d8)]||_0x3886dd[_0x4db49b(0x2d8)][_0x4db49b(0x162)](_0x252f63[_0x4db49b(0x41c)]['id']))return[];let _0x583e42=_t((_0x4eb910=(_0x18527d=_0x252f63['viewIndexes'])==null?void 0x0:_0x18527d[_0x3886dd['id']])==null?_0x23529a:_0x4eb910,_0x3886dd[_0x4db49b(0x2d8)][_0x4db49b(0x333)]);return[e[_0x4db49b(0x40f)][_0x4db49b(0x47e)]([...M['view'](_0x54c71a,_0x3886dd['id']),_0x4db49b(0x2d8),_0x583e42],_0x252f63[_0x4db49b(0x41c)]['id'])];});return N([e[_0x35dc27(0x40f)][_0x35dc27(0x47e)](M[_0x35dc27(0x41c)](_0x54c71a,_0x252f63['field']['id']),_0x252f63[_0x35dc27(0x41c)]),e[_0x35dc27(0x40f)]['insertOp'](M[_0x35dc27(0x2d8)](_0x54c71a,_0x23529a),_0x252f63[_0x35dc27(0x41c)]['id']),..._0x2568c3]);}[_0xa3b18d(0x450)](_0x41c311,_0x545558,_0x4f1dd9,_0x4193c4){const _0x1d4013=_0xa3b18d;var _0x2d08f4,_0x2c0416;let _0x5d40bf=_0x41c311[_0x1d4013(0x258)][_0x545558];if(!_0x5d40bf[_0x1d4013(0x35e)][_0x4f1dd9]||_0x5d40bf[_0x1d4013(0x35e)][_0x4193c4[_0x1d4013(0x41c)]['id']]||_0x5d40bf[_0x1d4013(0x2d8)][_0x1d4013(0x162)](_0x4193c4[_0x1d4013(0x41c)]['id']))return e[_0x1d4013(0x40f)][_0x1d4013(0x41d)]([_0x1d4013(0x258),_0x545558,'fieldOrder'],_0x5d40bf[_0x1d4013(0x2d8)],_0x5d40bf[_0x1d4013(0x2d8)]);let _0x3e7a43=(_0x2d08f4=_0x4193c4[_0x1d4013(0x25a)])==null?_0x5d40bf['fieldOrder'][_0x1d4013(0x2dd)](_0x4f1dd9)+0x1:_0x2d08f4,_0x13e8e3=_0x5d40bf[_0x1d4013(0x2d8)][_0x1d4013(0x314)](_0x2bdeec=>_0x2bdeec!==_0x4193c4[_0x1d4013(0x41c)]['id']),_0xa5a77c=ht(_0x13e8e3,_0x4193c4[_0x1d4013(0x41c)]['id'],_0x3e7a43),_0x53ee31=Object[_0x1d4013(0x29e)]((_0x2c0416=_0x5d40bf[_0x1d4013(0x411)])==null?{}:_0x2c0416)[_0x1d4013(0x2f9)](_0x5a0bf4=>{const _0x1a4c87=_0x1d4013;var _0x13ef65,_0x15cf74,_0x21819e,_0x17bba8,_0x324a07;let _0x25d1f0=(_0x13ef65=_0x5a0bf4[_0x1a4c87(0x2d8)])!=null&&_0x13ef65['length']?_0x5a0bf4[_0x1a4c87(0x2d8)]:_0x13e8e3;if(_0x25d1f0[_0x1a4c87(0x162)](_0x4193c4[_0x1a4c87(0x41c)]['id']))return[];let _0x2d0c4b=ht(_0x25d1f0,_0x4193c4['field']['id'],(_0x15cf74=(_0x21819e=_0x4193c4['viewIndexes'])==null?void 0x0:_0x21819e[_0x5a0bf4['id']])==null?_0x3e7a43:_0x15cf74),_0x1b063f=(_0x17bba8=_0x5a0bf4[_0x1a4c87(0x326)])==null?void 0x0:_0x17bba8[_0x4f1dd9];return[this[_0x1a4c87(0x1bc)]([...M[_0x1a4c87(0x418)](_0x545558,_0x5a0bf4['id']),'fieldOrder'],_0x5a0bf4['fieldOrder'],_0x2d0c4b),..._0x1b063f?[this[_0x1a4c87(0x1bc)]([...M['view'](_0x545558,_0x5a0bf4['id']),_0x1a4c87(0x326),_0x4193c4[_0x1a4c87(0x41c)]['id']],(_0x324a07=_0x5a0bf4[_0x1a4c87(0x326)])==null?void 0x0:_0x324a07[_0x4193c4[_0x1a4c87(0x41c)]['id']],_0x1b063f)]:[]];}),_0x5b31c5=Object[_0x1d4013(0x29e)](_0x5d40bf[_0x1d4013(0x332)])['filter'](_0x4ae424=>Object[_0x1d4013(0x430)]['hasOwnProperty'][_0x1d4013(0x24f)](_0x4ae424['values'],_0x4f1dd9))[_0x1d4013(0x1da)](_0x5d27c8=>this['_replaceOptional'](M['cell'](_0x545558,_0x5d27c8['id'],_0x4193c4[_0x1d4013(0x41c)]['id']),_0x5d27c8[_0x1d4013(0x29e)][_0x4193c4[_0x1d4013(0x41c)]['id']],_0x5d27c8[_0x1d4013(0x29e)][_0x4f1dd9]));return N([e[_0x1d4013(0x40f)][_0x1d4013(0x47e)](M[_0x1d4013(0x41c)](_0x545558,_0x4193c4['field']['id']),_0x4193c4[_0x1d4013(0x41c)]),e[_0x1d4013(0x40f)]['replaceOp']([_0x1d4013(0x258),_0x545558,'fieldOrder'],_0x5d40bf[_0x1d4013(0x2d8)],_0xa5a77c),..._0x53ee31,..._0x5b31c5]);}[_0xa3b18d(0x194)](_0xc4c056,_0x1bd6b7,_0x15d348,_0x3cbee3){const _0x198b1c=_0xa3b18d;let _0x574411=_0xc4c056[_0x198b1c(0x258)][_0x1bd6b7][_0x198b1c(0x35e)][_0x15d348],_0x59aab0={..._0x574411,..._0x3cbee3};Object[_0x198b1c(0x1c8)](_0x3cbee3)[_0x198b1c(0x465)](_0x1855ed=>{_0x3cbee3[_0x1855ed]===void 0x0&&delete _0x59aab0[_0x1855ed];});let _0x3caf8e=e[_0x198b1c(0x40f)][_0x198b1c(0x41d)](M['field'](_0x1bd6b7,_0x15d348),_0x574411,_0x59aab0);return _0x59aab0[_0x198b1c(0x177)]===e['BaseFieldType'][_0x198b1c(0x363)]?N([_0x3caf8e,...this['_setFormulaFieldCells'](_0xc4c056,_0x1bd6b7,_0x15d348,_0x59aab0)]):_0x3caf8e;}[_0xa3b18d(0x453)](_0x1f3e15,_0x11d798,_0x301eba,_0x29fbcf){const _0x265089=_0xa3b18d;return this[_0x265089(0x194)](_0x1f3e15,_0x11d798,_0x301eba,_0x29fbcf);}[_0xa3b18d(0x328)](_0x14a657,_0x24bbf0,_0x50adf9){const _0x573f71=_0xa3b18d;let _0x1f010f=_0x14a657[_0x573f71(0x258)][_0x24bbf0];if(!(_0x1f010f!=null&&_0x1f010f[_0x573f71(0x35e)][_0x50adf9])||_0x1f010f[_0x573f71(0x419)]===_0x50adf9)return e[_0x573f71(0x40f)][_0x573f71(0x41d)]([_0x573f71(0x258),_0x24bbf0,_0x573f71(0x2d8)],_0x1f010f==null?void 0x0:_0x1f010f[_0x573f71(0x2d8)],_0x1f010f==null?void 0x0:_0x1f010f[_0x573f71(0x2d8)]);let _0xd5aa39=_0x1f010f[_0x573f71(0x2d8)][_0x573f71(0x2dd)](_0x50adf9),_0x46648e=Object['values'](_0x1f010f[_0x573f71(0x411)])['flatMap'](_0xd54c52=>{const _0x20d284=_0x573f71;var _0x1805ba,_0x357804,_0x483045,_0xf629e4,_0x38adf6,_0x1e9b6c,_0x1957f5,_0x1bf3e6;let _0x322754=[],_0x399c40=(_0x1805ba=(_0x357804=_0xd54c52[_0x20d284(0x2d8)])==null?void 0x0:_0x357804[_0x20d284(0x2dd)](_0x50adf9))==null?-0x1:_0x1805ba;_0x399c40>=0x0&&_0x322754[_0x20d284(0x439)](e[_0x20d284(0x40f)][_0x20d284(0x357)]([...M['view'](_0x24bbf0,_0xd54c52['id']),'fieldOrder',_0x399c40],_0x50adf9));let _0x3b26f2=(_0x483045=_0xd54c52['fieldSettings'])==null?void 0x0:_0x483045[_0x50adf9];_0x3b26f2!==void 0x0&&_0x322754[_0x20d284(0x439)](e[_0x20d284(0x40f)]['removeOp']([...M[_0x20d284(0x418)](_0x24bbf0,_0xd54c52['id']),_0x20d284(0x326),_0x50adf9],_0x3b26f2));let _0x998cd9=_0xd54c52[_0x20d284(0x314)]?{..._0xd54c52['filter'],'conditions':_0xd54c52[_0x20d284(0x314)][_0x20d284(0x296)][_0x20d284(0x314)](_0x5acf32=>_0x5acf32['fieldId']!==_0x50adf9)}:_0xd54c52[_0x20d284(0x314)];_0x998cd9&&_0x998cd9[_0x20d284(0x296)][_0x20d284(0x333)]!==((_0xf629e4=_0xd54c52[_0x20d284(0x314)])==null?void 0x0:_0xf629e4[_0x20d284(0x296)]['length'])&&_0x322754[_0x20d284(0x439)](this[_0x20d284(0x1bc)]([...M[_0x20d284(0x418)](_0x24bbf0,_0xd54c52['id']),_0x20d284(0x314)],_0xd54c52[_0x20d284(0x314)],_0x998cd9));let _0x29baf9=(_0x38adf6=_0xd54c52[_0x20d284(0x33d)])==null?void 0x0:_0x38adf6[_0x20d284(0x314)](_0x4f0d1e=>_0x4f0d1e['fieldId']!==_0x50adf9);_0x29baf9&&_0x29baf9[_0x20d284(0x333)]!==((_0x1e9b6c=_0xd54c52[_0x20d284(0x33d)])==null?void 0x0:_0x1e9b6c[_0x20d284(0x333)])&&_0x322754[_0x20d284(0x439)](this[_0x20d284(0x1bc)]([...M[_0x20d284(0x418)](_0x24bbf0,_0xd54c52['id']),_0x20d284(0x33d)],_0xd54c52[_0x20d284(0x33d)],_0x29baf9));let _0x40b1ad=(_0x1957f5=_0xd54c52[_0x20d284(0x1cb)])==null?void 0x0:_0x1957f5[_0x20d284(0x314)](_0x33ff77=>_0x33ff77['fieldId']!==_0x50adf9);_0x40b1ad&&_0x40b1ad[_0x20d284(0x333)]!==((_0x1bf3e6=_0xd54c52[_0x20d284(0x1cb)])==null?void 0x0:_0x1bf3e6[_0x20d284(0x333)])&&_0x322754[_0x20d284(0x439)](this[_0x20d284(0x1bc)]([...M['view'](_0x24bbf0,_0xd54c52['id']),_0x20d284(0x1cb)],_0xd54c52[_0x20d284(0x1cb)],_0x40b1ad));let _0x3b17ca=gt(_0xd54c52[_0x20d284(0x3af)],_0x50adf9);return JSON[_0x20d284(0x23e)](_0x3b17ca)!==JSON[_0x20d284(0x23e)](_0xd54c52[_0x20d284(0x3af)])&&_0x322754['push'](e[_0x20d284(0x40f)][_0x20d284(0x41d)]([...M[_0x20d284(0x418)](_0x24bbf0,_0xd54c52['id']),_0x20d284(0x3af)],_0xd54c52[_0x20d284(0x3af)],_0x3b17ca)),_0x322754;}),_0x3fb52f=Object[_0x573f71(0x29e)](_0x1f010f[_0x573f71(0x332)])[_0x573f71(0x2f9)](_0x3ab3a3=>Object[_0x573f71(0x430)][_0x573f71(0x369)][_0x573f71(0x24f)](_0x3ab3a3[_0x573f71(0x29e)],_0x50adf9)?[e['JSON1'][_0x573f71(0x357)](M[_0x573f71(0x32a)](_0x24bbf0,_0x3ab3a3['id'],_0x50adf9),_0x3ab3a3[_0x573f71(0x29e)][_0x50adf9])]:[]);return N([e['JSON1'][_0x573f71(0x357)](M['field'](_0x24bbf0,_0x50adf9),_0x1f010f[_0x573f71(0x35e)][_0x50adf9]),e[_0x573f71(0x40f)][_0x573f71(0x357)](M[_0x573f71(0x2d8)](_0x24bbf0,_0xd5aa39),_0x50adf9),..._0x46648e,..._0x3fb52f,...this[_0x573f71(0x338)](_0x1f010f,_0x24bbf0,_0x307fab=>_0x307fab[_0x573f71(0x337)](_0x50adf9+'\x1f'))]);}[_0xa3b18d(0x487)](_0x44eb59,_0x37947a,_0x5690b9,_0x301a9b){const _0x239174=_0xa3b18d;let _0x1b9071=_0x44eb59[_0x239174(0x258)][_0x37947a]['fieldOrder'],_0x1bb607=mt(_0x1b9071,_0x5690b9,_0x301a9b);return e[_0x239174(0x40f)][_0x239174(0x41d)]([_0x239174(0x258),_0x37947a,_0x239174(0x2d8)],_0x1b9071,_0x1bb607);}[_0xa3b18d(0x353)](_0x20a9bb,_0x462d96,_0x671a5a,_0x5e8ef8=_0x20a9bb['tables'][_0x462d96]['viewOrder'][_0xa3b18d(0x333)]){const _0x18495a=_0xa3b18d;return N([e['JSON1'][_0x18495a(0x47e)](M['view'](_0x462d96,_0x671a5a['id']),_0x671a5a),e[_0x18495a(0x40f)][_0x18495a(0x47e)]([_0x18495a(0x258),_0x462d96,_0x18495a(0x320),_0x5e8ef8],_0x671a5a['id'])]);}[_0xa3b18d(0x36f)](_0x253f33,_0x5f3445,_0x26efc4,_0x1ffc60){const _0x2baab1=_0xa3b18d;return e[_0x2baab1(0x40f)][_0x2baab1(0x41d)]([...M['view'](_0x5f3445,_0x26efc4),'name'],_0x253f33[_0x2baab1(0x258)][_0x5f3445][_0x2baab1(0x411)][_0x26efc4][_0x2baab1(0x2cb)],_0x1ffc60);}[_0xa3b18d(0x1b0)](_0x3b2a3b,_0x42cef1,_0x48e103){const _0x5a18c7=_0xa3b18d;let _0x5d1dda=_0x3b2a3b[_0x5a18c7(0x258)][_0x42cef1],_0x35f221=_0x5d1dda[_0x5a18c7(0x411)][_0x48e103],_0x218bfb=_0x5d1dda[_0x5a18c7(0x320)][_0x5a18c7(0x2dd)](_0x48e103);return N([e[_0x5a18c7(0x40f)][_0x5a18c7(0x357)](M[_0x5a18c7(0x418)](_0x42cef1,_0x48e103),_0x35f221),e[_0x5a18c7(0x40f)][_0x5a18c7(0x357)]([_0x5a18c7(0x258),_0x42cef1,_0x5a18c7(0x320),_0x218bfb],_0x48e103)]);}[_0xa3b18d(0x1df)](_0xae442f,_0x5950f0,_0x2df1b6,_0x2f4b7a){const _0x13045a=_0xa3b18d;let _0x5a4ff6=_0xae442f[_0x13045a(0x258)][_0x5950f0][_0x13045a(0x320)],_0xdd6d66=mt(_0x5a4ff6,_0x2df1b6,{'beforeFieldId':_0x2f4b7a['beforeViewId'],'afterFieldId':_0x2f4b7a['afterViewId']});return e[_0x13045a(0x40f)][_0x13045a(0x41d)]([_0x13045a(0x258),_0x5950f0,_0x13045a(0x320)],_0x5a4ff6,_0xdd6d66);}[_0xa3b18d(0x373)](_0x57a084,_0x3c2ad6,_0x33e618,_0x9a7e7f){const _0x573e5e=_0xa3b18d;var _0x166536;let _0x1d01b0=(_0x166536=_0x57a084[_0x573e5e(0x258)][_0x3c2ad6]['views'][_0x33e618][_0x573e5e(0x3af)])==null?{}:_0x166536,_0x17d2cd={..._0x1d01b0,..._0x9a7e7f};return Object[_0x573e5e(0x1c8)](_0x9a7e7f)[_0x573e5e(0x465)](_0x285b4f=>{_0x9a7e7f[_0x285b4f]===void 0x0&&delete _0x17d2cd[_0x285b4f];}),e[_0x573e5e(0x40f)][_0x573e5e(0x41d)]([...M[_0x573e5e(0x418)](_0x3c2ad6,_0x33e618),_0x573e5e(0x3af)],_0x1d01b0,_0x17d2cd);}[_0xa3b18d(0x1dd)](_0x15555d,_0x4699f0,_0x453afb,_0xf7c2ee){const _0x57140c=_0xa3b18d;return this[_0x57140c(0x1bc)]([...M['view'](_0x4699f0,_0x453afb),_0x57140c(0x314)],_0x15555d[_0x57140c(0x258)][_0x4699f0]['views'][_0x453afb][_0x57140c(0x314)],_0xf7c2ee);}[_0xa3b18d(0x42d)](_0x4cc0b2,_0xa590ef,_0x1b1a0e,_0x1f1b6c){const _0x33471c=_0xa3b18d;return this['_replaceOptional']([...M['view'](_0xa590ef,_0x1b1a0e),_0x33471c(0x33d)],_0x4cc0b2[_0x33471c(0x258)][_0xa590ef]['views'][_0x1b1a0e][_0x33471c(0x33d)],_0x1f1b6c);}[_0xa3b18d(0x26b)](_0x29fffd,_0x5eec20,_0x5936b0,_0x501310){const _0x194c85=_0xa3b18d;return this[_0x194c85(0x1bc)]([...M[_0x194c85(0x418)](_0x5eec20,_0x5936b0),'group'],_0x29fffd[_0x194c85(0x258)][_0x5eec20][_0x194c85(0x411)][_0x5936b0]['group'],_0x501310);}[_0xa3b18d(0x25d)](_0xe5707b,_0x561041,_0x1887a3,_0x2baffb,_0x601de2){const _0x53ade4=_0xa3b18d;return this[_0x53ade4(0x396)](_0xe5707b,_0x561041,_0x1887a3,_0x2baffb,{'hidden':!_0x601de2});}['setViewFieldWidth'](_0x20c79b,_0x14b6d2,_0x3e18bd,_0xa21d64,_0x30b2ac){const _0x3e5fd1=_0xa3b18d;return this[_0x3e5fd1(0x396)](_0x20c79b,_0x14b6d2,_0x3e18bd,_0xa21d64,{'width':_0x30b2ac});}[_0xa3b18d(0x356)](_0x4aee1a,_0xa0774f,_0x57ed95,_0x2a173c,_0x3d94b1){const _0x2cebd9=_0xa3b18d;var _0x18c43d;let _0x2e0153=_0x4aee1a[_0x2cebd9(0x258)][_0xa0774f][_0x2cebd9(0x411)][_0x57ed95],_0x520bb8=mt((_0x18c43d=_0x2e0153[_0x2cebd9(0x2d8)])==null?_0x4aee1a['tables'][_0xa0774f][_0x2cebd9(0x2d8)]:_0x18c43d,_0x2a173c,_0x3d94b1);return this[_0x2cebd9(0x1bc)]([...M[_0x2cebd9(0x418)](_0xa0774f,_0x57ed95),'fieldOrder'],_0x2e0153[_0x2cebd9(0x2d8)],_0x520bb8);}[_0xa3b18d(0x396)](_0x72e2aa,_0x5bb7dc,_0xf114b8,_0xc2c9cb,_0x7cc0e){const _0x5afa78=_0xa3b18d;var _0xbbd357;let _0x598441=(_0xbbd357=_0x72e2aa['tables'][_0x5bb7dc][_0x5afa78(0x411)][_0xf114b8][_0x5afa78(0x326)])==null?{}:_0xbbd357,_0x118ddf={..._0x598441,[_0xc2c9cb]:{..._0x598441[_0xc2c9cb],..._0x7cc0e}};return this['_replaceOptional']([...M['view'](_0x5bb7dc,_0xf114b8),_0x5afa78(0x326)],_0x72e2aa[_0x5afa78(0x258)][_0x5bb7dc][_0x5afa78(0x411)][_0xf114b8]['fieldSettings'],_0x118ddf);}[_0xa3b18d(0x16b)](_0x48335a,_0x46b738,_0x48581a){const _0x4ec791=_0xa3b18d;let _0x550358=_0x48335a[_0x4ec791(0x258)][_0x46b738],_0x5b3c5d=new Set(_0x48581a['map'](_0x2bb51e=>_0x2bb51e['id'])),_0x55bce8=[...Object[_0x4ec791(0x29e)](_0x550358[_0x4ec791(0x332)])[_0x4ec791(0x314)](_0x5d1cd9=>!_0x5b3c5d[_0x4ec791(0x397)](_0x5d1cd9['id'])),..._0x48581a][_0x4ec791(0x33d)]((_0x25e501,_0x55cba1)=>{const _0x1da2ba=_0x4ec791;var _0x3eb81c,_0x50efa0;return String((_0x3eb81c=_0x25e501[_0x1da2ba(0x390)])==null?_0x25e501['id']:_0x3eb81c)['localeCompare'](String((_0x50efa0=_0x55cba1['orderKey'])==null?_0x55cba1['id']:_0x50efa0));})['map'](_0x531f46=>_0x531f46['id']),_0x20cb39=[...M[_0x4ec791(0x3ac)](_0x46b738),_0x4ec791(0x47c)];return _0x550358[_0x4ec791(0x47c)]?e[_0x4ec791(0x40f)][_0x4ec791(0x41d)](_0x20cb39,_0x550358[_0x4ec791(0x47c)],_0x55bce8):e[_0x4ec791(0x40f)][_0x4ec791(0x47e)](_0x20cb39,_0x55bce8);}[_0xa3b18d(0x2e8)](_0x1583d9,_0x537fac,_0x1334d2,_0x27efe6){const _0x521980=_0xa3b18d;var _0x5f4131,_0x6df9f1,_0x3b60cc,_0x8c9a20;let _0x44c18e=d(_0x1583d9[_0x521980(0x258)][_0x537fac]),_0x29a180=String((_0x5f4131=(_0x6df9f1=_0x27efe6[_0x521980(0x3af)])==null?void 0x0:_0x6df9f1['formula'])==null?'':_0x5f4131)['trim'](),_0x59b276=(_0x3b60cc=_0x44c18e[_0x521980(0x3b6)])==null?void 0x0:_0x3b60cc[_0x1334d2];if(_0x59b276==null)return[];let _0x290429=(_0x8c9a20=_0x44c18e[_0x521980(0x47c)])==null?Object[_0x521980(0x1c8)](_0x44c18e[_0x521980(0x332)]):_0x8c9a20,_0x16630f=_0x290429[_0x521980(0x1da)](_0x294039=>{const _0x303387=_0x521980;var _0x5c88f1;return(_0x5c88f1=_0x44c18e[_0x303387(0x164)])==null?void 0x0:_0x5c88f1[_0x294039];})[_0x521980(0x484)](_0x3586f8=>_0x3586f8!=null);return _0x290429['flatMap'](_0x3c15f9=>{const _0xfb7106=_0x521980;var _0x77b9c5,_0x1889d5;let _0x104301=(_0x77b9c5=_0x44c18e[_0xfb7106(0x164)])==null?void 0x0:_0x77b9c5[_0x3c15f9];if(_0x104301==null)return[];let _0x38fffa=(_0x1889d5=_0x44c18e[_0xfb7106(0x2d6)])==null||(_0x1889d5=_0x1889d5[_0x104301])==null?void 0x0:_0x1889d5[_0x59b276],_0x46fdc5=_0x29a180?_0x104301===_0x16630f?{'f':_0x29a180,'si':_0x1334d2}:{'si':_0x1334d2}:{'v':null,'t':null};return[this[_0xfb7106(0x1bc)](M[_0xfb7106(0x2d6)](_0x537fac,_0x104301,_0x59b276),_0x38fffa,_0x46fdc5)];});}[_0xa3b18d(0x16d)](_0x331cfa,_0x2329d7,_0x2b12bd,_0xf6dc28,_0x56ccc3){const _0x33283f=_0xa3b18d;var _0x5118ae;let _0x5305d8=re(_0xf6dc28,_0x2b12bd),_0x5c7e3e=_0x56ccc3[_0x33283f(0x1da)]((_0x453265,_0x7aaf02)=>{var _0x25ab4c;return String((_0x25ab4c=_0x453265['id'])==null?_0x5305d8+'\x1f'+_0x7aaf02:_0x25ab4c);});return[this[_0x33283f(0x1bc)](M[_0x33283f(0x39c)](_0x2329d7,_0x5305d8),(_0x5118ae=_0x331cfa[_0x33283f(0x37d)])==null||(_0x5118ae=_0x5118ae[_0x33283f(0x42f)])==null?void 0x0:_0x5118ae[_0x5305d8],_0x5c7e3e),..._0x56ccc3[_0x33283f(0x1da)]((_0x3f74e2,_0xb4aeab)=>{const _0x12bd2a=_0x33283f;var _0x1ce526;let _0x4c4358=_0x5c7e3e[_0xb4aeab];return this[_0x12bd2a(0x1bc)](M[_0x12bd2a(0x3ff)](_0x2329d7,_0x4c4358),(_0x1ce526=_0x331cfa[_0x12bd2a(0x37d)])==null||(_0x1ce526=_0x1ce526[_0x12bd2a(0x3dd)])==null?void 0x0:_0x1ce526[_0x4c4358],{..._0x3f74e2,'id':_0x4c4358});})];}[_0xa3b18d(0x338)](_0x238cb1,_0x223bc3,_0x40c798){const _0x5c9d51=_0xa3b18d;var _0x54b308,_0x14aad4;let _0x412995=(_0x54b308=(_0x14aad4=_0x238cb1[_0x5c9d51(0x37d)])==null?void 0x0:_0x14aad4[_0x5c9d51(0x42f)])==null?{}:_0x54b308,_0x44cf95=Object[_0x5c9d51(0x217)](_0x412995)['filter'](([_0x576372])=>_0x40c798(_0x576372));if(!_0x44cf95[_0x5c9d51(0x333)])return[];let _0x52fe33=new Set(Object[_0x5c9d51(0x217)](_0x412995)['filter'](([_0xccd58d])=>!_0x40c798(_0xccd58d))[_0x5c9d51(0x2f9)](([,_0x3f8af3])=>_0x3f8af3)),_0x312a4c=new Set(_0x44cf95[_0x5c9d51(0x2f9)](([,_0x599649])=>_0x599649));return[..._0x44cf95[_0x5c9d51(0x1da)](([_0x59da7a,_0x678d15])=>e[_0x5c9d51(0x40f)][_0x5c9d51(0x357)](M['attachmentSet'](_0x223bc3,_0x59da7a),_0x678d15)),...Array[_0x5c9d51(0x3aa)](_0x312a4c)[_0x5c9d51(0x2f9)](_0x2a8ed3=>{const _0x552a88=_0x5c9d51;var _0x41d5e4;let _0x1e77e9=(_0x41d5e4=_0x238cb1[_0x552a88(0x37d)])==null||(_0x41d5e4=_0x41d5e4[_0x552a88(0x3dd)])==null?void 0x0:_0x41d5e4[_0x2a8ed3];return _0x1e77e9!==void 0x0&&!_0x52fe33['has'](_0x2a8ed3)?[e[_0x552a88(0x40f)][_0x552a88(0x357)](M[_0x552a88(0x3ff)](_0x223bc3,_0x2a8ed3),_0x1e77e9)]:[];})];}['_replaceOptional'](_0x258625,_0x52e7db,_0x40afcf){const _0x34a5a5=_0xa3b18d;return _0x52e7db===void 0x0?e['JSON1']['insertOp'](_0x258625,_0x40afcf):e['JSON1'][_0x34a5a5(0x41d)](_0x258625,_0x52e7db,_0x40afcf);}};function ft(_0x101a90,_0x32652f,_0x4134d5){const _0x4704f1=_0xa3b18d;var _0x10069b,_0x541da0,_0x4977b4,_0x24c87d;let _0x5a8400=(_0x10069b=_0x101a90['rowIndex'])==null?void 0x0:_0x10069b[_0x32652f],_0x441256=(_0x541da0=_0x101a90[_0x4704f1(0x3b6)])==null?void 0x0:_0x541da0[_0x4134d5];return _0x5a8400!=null&&_0x441256!=null&&((_0x4977b4=_0x101a90[_0x4704f1(0x262)])==null?void 0x0:_0x4977b4[_0x5a8400])===_0x32652f&&((_0x24c87d=_0x101a90['colId'])==null?void 0x0:_0x24c87d[_0x441256])===_0x4134d5&&_0x101a90[_0x4704f1(0x2d6)]!=null;}function pt(_0x388042,_0x2e41ad,_0x212da4){const _0x44ca9d=_0xa3b18d;var _0x103cf,_0x38bdbf;return((_0x103cf=_0x388042[_0x44ca9d(0x262)])==null?void 0x0:_0x103cf[_0x2e41ad])!=null&&((_0x38bdbf=_0x388042[_0x44ca9d(0x171)])==null?void 0x0:_0x38bdbf[_0x212da4])!=null&&_0x388042[_0x44ca9d(0x2d6)]!=null;}function mt(_0x3d2afb,_0x4585d7,_0x2d3316){const _0x320560=_0xa3b18d;let _0x5892c2=_0x3d2afb[_0x320560(0x314)](_0x243f5f=>_0x243f5f!==_0x4585d7),_0x3e626a=_0x2d3316[_0x320560(0x3ba)]?_0x5892c2['indexOf'](_0x2d3316[_0x320560(0x3ba)]):_0x2d3316['afterFieldId']?_0x5892c2['indexOf'](_0x2d3316[_0x320560(0x3d9)])+0x1:_0x5892c2[_0x320560(0x333)];return _0x5892c2[_0x320560(0x18d)](_0x3e626a<0x0?_0x5892c2['length']:_0x3e626a,0x0,_0x4585d7),_0x5892c2;}function ht(_0x57bbf0,_0xdda76a,_0x4c275a){const _0x1dbea4=_0xa3b18d;let _0x13d3fa=_0x57bbf0[_0x1dbea4(0x314)](_0x1ca432=>_0x1ca432!==_0xdda76a);return _0x13d3fa[_0x1dbea4(0x18d)](_t(_0x4c275a,_0x13d3fa['length']),0x0,_0xdda76a),_0x13d3fa;}function gt(_0xe24b97,_0x548182,_0x577a3f){const _0x3d1ddf=_0xa3b18d;if(Array[_0x3d1ddf(0x18c)](_0xe24b97))return _0x577a3f===_0x3d1ddf(0x454)?_0xe24b97[_0x3d1ddf(0x314)](_0x1c1e5b=>_0x1c1e5b!==_0x548182):_0xe24b97['flatMap'](_0x33c21a=>{const _0x4ffe48=_0x3d1ddf;if(_0x33c21a&&typeof _0x33c21a==_0x4ffe48(0x20d)&&!Array['isArray'](_0x33c21a)&&_0x33c21a[_0x4ffe48(0x2ee)]===_0x548182)return[];let _0x518f64=gt(_0x33c21a,_0x548182);return _0x518f64===void 0x0?[]:[_0x518f64];});if(!_0xe24b97||typeof _0xe24b97!=_0x3d1ddf(0x20d))return _0x577a3f!=null&&_0x577a3f[_0x3d1ddf(0x45e)]('FieldId')&&_0xe24b97===_0x548182?void 0x0:_0xe24b97;let _0x139a5a=_0xe24b97;if(_0x139a5a[_0x3d1ddf(0x2ee)]!==_0x548182)return Object[_0x3d1ddf(0x26d)](Object[_0x3d1ddf(0x217)](_0x139a5a)['flatMap'](([_0x5e69c8,_0x318adb])=>{const _0x12e087=_0x3d1ddf;if(_0x5e69c8===_0x548182&&_0x577a3f===_0x12e087(0x326))return[];let _0x3e7b0e=gt(_0x318adb,_0x548182,_0x5e69c8);return _0x3e7b0e===void 0x0?[]:[[_0x5e69c8,_0x3e7b0e]];}));}function _t(_0x52a5e3,_0x506aad){const _0x331989=_0xa3b18d;return Math[_0x331989(0x21a)](0x0,Math[_0x331989(0x358)](_0x52a5e3,_0x506aad));}function vt(_0x2b9fc5,_0xc49335,_0x53a906){const _0x379db8=_0xa3b18d;if(!_0x2b9fc5||!_0xc49335||_0xc49335===_0x53a906)return _0x2b9fc5;let _0x2ce990='',_0x495f80=!0x1,_0x592670=_0xc49335['toLowerCase']();for(let _0x4bb759=0x0;_0x4bb759<_0x2b9fc5['length'];){let _0x5dadb1=_0x2b9fc5[_0x4bb759];if(_0x5dadb1==='\x22'){if(_0x495f80&&_0x2b9fc5[_0x4bb759+0x1]==='\x22'){_0x2ce990+='\x22\x22',_0x4bb759+=0x2;continue;}_0x495f80=!_0x495f80,_0x2ce990+=_0x5dadb1,_0x4bb759++;continue;}if(!_0x495f80&&_0x2b9fc5[_0x379db8(0x2ce)](_0x4bb759,_0x4bb759+_0xc49335[_0x379db8(0x333)])['toLowerCase']()===_0x592670&&yt(_0x2b9fc5,_0x4bb759,_0xc49335['length'])){_0x2ce990+=_0x53a906,_0x4bb759+=_0xc49335[_0x379db8(0x333)];continue;}_0x2ce990+=_0x5dadb1,_0x4bb759++;}return _0x2ce990;}function yt(_0x1d8c98,_0xd522f5,_0x4df095){var _0x4fa2d0;let _0x5c5914=_0x1d8c98[_0xd522f5-0x1];if(_0x5c5914&&/[\w.]/['test'](_0x5c5914))return!0x1;let _0x364828=_0xd522f5+_0x4df095;for(;/\s/['test']((_0x4fa2d0=_0x1d8c98[_0x364828])==null?'':_0x4fa2d0);)_0x364828++;return _0x1d8c98[_0x364828]==='[';}function F(_0x3cd423){'@babel/helpers - typeof';const _0x2b87ab=_0xa3b18d;return F=typeof Symbol==_0x2b87ab(0x3d2)&&typeof Symbol[_0x2b87ab(0x1c7)]==_0x2b87ab(0x319)?function(_0xcc8ea5){return typeof _0xcc8ea5;}:function(_0x58fdfa){const _0x45ea98=_0x2b87ab;return _0x58fdfa&&typeof Symbol==_0x45ea98(0x3d2)&&_0x58fdfa[_0x45ea98(0x46c)]===Symbol&&_0x58fdfa!==Symbol['prototype']?_0x45ea98(0x319):typeof _0x58fdfa;},F(_0x3cd423);}function bt(_0x4f44d0,_0x3145f5){const _0x3e4f1f=_0xa3b18d;if(F(_0x4f44d0)!=_0x3e4f1f(0x20d)||!_0x4f44d0)return _0x4f44d0;var _0x2206e9=_0x4f44d0[Symbol[_0x3e4f1f(0x26f)]];if(_0x2206e9!==void 0x0){var _0x1c77c1=_0x2206e9[_0x3e4f1f(0x24f)](_0x4f44d0,_0x3145f5||'default');if(F(_0x1c77c1)!=_0x3e4f1f(0x20d))return _0x1c77c1;throw TypeError(_0x3e4f1f(0x426));}return(_0x3145f5===_0x3e4f1f(0x181)?String:Number)(_0x4f44d0);}function xt(_0x70ea95){const _0x59dfb8=_0xa3b18d;var _0x34dc11=bt(_0x70ea95,'string');return F(_0x34dc11)==_0x59dfb8(0x319)?_0x34dc11:_0x34dc11+'';}function I(_0x101369,_0x12ffce,_0x21206d){const _0xba6dce=_0xa3b18d;return(_0x12ffce=xt(_0x12ffce))in _0x101369?Object[_0xba6dce(0x36d)](_0x101369,_0x12ffce,{'value':_0x21206d,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x101369[_0x12ffce]=_0x21206d,_0x101369;}const L=(0x0,e[_0xa3b18d(0x2db)])(_0xa3b18d(0x32b));var St=class extends e['Disposable']{constructor(..._0xd3ef8){const _0x184940=_0xa3b18d;super(..._0xd3ef8),I(this,_0x184940(0x22f),new Map());}[_0xa3b18d(0x2cd)](_0x148591){const _0x5226ff=_0xa3b18d;return this[_0x5226ff(0x22f)][_0x5226ff(0x3e5)](_0x148591[_0x5226ff(0x177)],_0x148591),(0x0,e['toDisposable'])(()=>this[_0x5226ff(0x22f)][_0x5226ff(0x3e1)](_0x148591[_0x5226ff(0x177)]));}['get'](_0x38a808){const _0x29715d=_0xa3b18d;let _0x1d5090=this[_0x29715d(0x22f)]['get'](_0x38a808);if(!_0x1d5090)throw Error(_0x29715d(0x29f)+_0x38a808+_0x29715d(0x1fd));return _0x1d5090;}['getTypePlugin'](_0x2627f9){const _0x2b4668=_0xa3b18d;return this['_plugins'][_0x2b4668(0x221)](_0x2627f9);}['getAll'](){const _0xc46a3a=_0xa3b18d;return Array[_0xc46a3a(0x3aa)](this[_0xc46a3a(0x22f)][_0xc46a3a(0x29e)]());}};const Ct=(0x0,e[_0xa3b18d(0x2db)])(_0xa3b18d(0x215));var wt=class{constructor(){const _0x22329e=_0xa3b18d;I(this,'_basePermissions',new Map()),I(this,_0x22329e(0x42b),new Map()),I(this,'_fieldPermissions',new Map()),I(this,_0x22329e(0x1bb),new Map());}[_0xa3b18d(0x17e)](_0x3cbd86){const _0x11a7dc=_0xa3b18d;var _0x34ba6c,_0x42c70e;return(_0x34ba6c=(_0x42c70e=this[_0x11a7dc(0x2ef)][_0x11a7dc(0x221)](_0x3cbd86))==null?void 0x0:_0x42c70e[_0x11a7dc(0x37a)])==null?!0x0:_0x34ba6c;}[_0xa3b18d(0x2d3)](_0x7dc8fb){const _0x1129af=_0xa3b18d;var _0x556d20,_0x218ee3;return(_0x556d20=(_0x218ee3=this['_tablePermissions'][_0x1129af(0x221)](_0x7dc8fb))==null?void 0x0:_0x218ee3[_0x1129af(0x3e1)])==null?!0x0:_0x556d20;}[_0xa3b18d(0x30a)](_0x365e5e){const _0x1dd5f3=_0xa3b18d;var _0x2fb2dd,_0x1d379d;return(_0x2fb2dd=(_0x1d379d=this['_tablePermissions']['get'](_0x365e5e))==null?void 0x0:_0x1d379d[_0x1dd5f3(0x474)])==null?!0x0:_0x2fb2dd;}[_0xa3b18d(0x408)](_0x1dda8a,_0x1d67b2){const _0xffdfe9=_0xa3b18d;var _0x54309f,_0x34413e;return(_0x54309f=(_0x34413e=this[_0xffdfe9(0x3f9)]['get'](R(_0x1dda8a,_0x1d67b2)))==null?void 0x0:_0x34413e['edit'])==null?!0x0:_0x54309f;}[_0xa3b18d(0x435)](_0x2ac4e3,_0x5e2f62){const _0x25664f=_0xa3b18d;var _0x5d1e98,_0x5d1f1d;return(_0x5d1e98=(_0x5d1f1d=this[_0x25664f(0x3f9)][_0x25664f(0x221)](R(_0x2ac4e3,_0x5e2f62)))==null?void 0x0:_0x5d1f1d[_0x25664f(0x3e1)])==null?!0x0:_0x5d1e98;}[_0xa3b18d(0x3fd)](_0x2bb032){const _0x515b3e=_0xa3b18d;var _0x44c340,_0x95a975;return(_0x44c340=(_0x95a975=this['_tablePermissions'][_0x515b3e(0x221)](_0x2bb032))==null?void 0x0:_0x95a975[_0x515b3e(0x2da)])==null?!0x0:_0x44c340;}[_0xa3b18d(0x1a0)](_0x30e6de,_0x17f33e){const _0x5f1be9=_0xa3b18d;var _0x38a3e2,_0x10fa31;return(_0x38a3e2=(_0x10fa31=this[_0x5f1be9(0x1bb)][_0x5f1be9(0x221)](Tt(_0x30e6de,_0x17f33e)))==null?void 0x0:_0x10fa31['delete'])==null?!0x0:_0x38a3e2;}[_0xa3b18d(0x16a)](_0x51a319,_0x2ea3e0,_0x4d6e7c){const _0xdd91ae=_0xa3b18d;var _0x1073df,_0xe14b94,_0xb9d0a1,_0x4a5299;let _0x1988c3=this[_0xdd91ae(0x3f9)][_0xdd91ae(0x221)](R(_0x51a319,_0x4d6e7c));return((_0x1073df=(_0xe14b94=this[_0xdd91ae(0x1bb)]['get'](Tt(_0x51a319,_0x2ea3e0)))==null?void 0x0:_0xe14b94[_0xdd91ae(0x2f0)])==null?!0x0:_0x1073df)&&((_0xb9d0a1=_0x1988c3==null?void 0x0:_0x1988c3['edit'])==null?!0x0:_0xb9d0a1)&&((_0x4a5299=_0x1988c3==null?void 0x0:_0x1988c3['editCell'])==null?!0x0:_0x4a5299);}[_0xa3b18d(0x1e6)](_0x402f3e){const _0x5908c5=_0xa3b18d;var _0x4095a8,_0x58c160;return(_0x4095a8=(_0x58c160=this[_0x5908c5(0x42b)][_0x5908c5(0x221)](_0x402f3e))==null?void 0x0:_0x58c160['manageView'])==null?!0x0:_0x4095a8;}[_0xa3b18d(0x1e2)](_0x374637,_0x9fe8aa){const _0x38efde=_0xa3b18d;this[_0x38efde(0x2ef)][_0x38efde(0x3e5)](_0x374637,{...this[_0x38efde(0x2ef)]['get'](_0x374637),..._0x9fe8aa});}['setTablePermission'](_0x3fb879,_0x5f1b9e){const _0x4154f9=_0xa3b18d;this[_0x4154f9(0x42b)][_0x4154f9(0x3e5)](_0x3fb879,{...this[_0x4154f9(0x42b)][_0x4154f9(0x221)](_0x3fb879),..._0x5f1b9e});}[_0xa3b18d(0x242)](_0x22d087,_0x4b1e53,_0x341327){const _0x2c6f9a=_0xa3b18d;let _0x5d5cbd=R(_0x22d087,_0x4b1e53);this['_fieldPermissions']['set'](_0x5d5cbd,{...this[_0x2c6f9a(0x3f9)][_0x2c6f9a(0x221)](_0x5d5cbd),..._0x341327});}[_0xa3b18d(0x2c5)](_0xac5e46,_0x4fa53b,_0x2cdffe){const _0x10227f=_0xa3b18d;let _0x58418e=Tt(_0xac5e46,_0x4fa53b);this['_recordPermissions']['set'](_0x58418e,{...this['_recordPermissions'][_0x10227f(0x221)](_0x58418e),..._0x2cdffe});}['clearBasePermission'](_0x306206){const _0x4dd75c=_0xa3b18d;this[_0x4dd75c(0x2ef)][_0x4dd75c(0x3e1)](_0x306206);}[_0xa3b18d(0x345)](_0x1db8f9){this['_tablePermissions']['delete'](_0x1db8f9);}[_0xa3b18d(0x30b)](_0x30f5c5,_0x7d50c2){const _0x21837b=_0xa3b18d;this['_fieldPermissions'][_0x21837b(0x3e1)](R(_0x30f5c5,_0x7d50c2));}[_0xa3b18d(0x18e)](_0x27e290,_0x42881d){const _0x96380b=_0xa3b18d;this[_0x96380b(0x1bb)][_0x96380b(0x3e1)](Tt(_0x27e290,_0x42881d));}[_0xa3b18d(0x2ab)](){const _0x83c945=_0xa3b18d;return{'bases':Object[_0x83c945(0x26d)](this[_0x83c945(0x2ef)]),'tables':Object[_0x83c945(0x26d)](this[_0x83c945(0x42b)]),'fields':Object[_0x83c945(0x26d)](this[_0x83c945(0x3f9)]),'records':Object[_0x83c945(0x26d)](this[_0x83c945(0x1bb)])};}};function R(_0x4fdf14,_0x2f1dd7){return _0x4fdf14+'\x1f'+_0x2f1dd7;}function Tt(_0x597b58,_0x6800e6){return _0x597b58+'\x1f'+_0x6800e6;}function z(_0x58f376,_0x1fb53e){return function(_0x611c3b,_0x376bd3){_0x1fb53e(_0x611c3b,_0x376bd3,_0x58f376);};}function B(_0x203a29,_0x5eb590,_0x5d4311,_0x299e81){const _0x170590=_0xa3b18d;var _0xc34264=arguments[_0x170590(0x333)],_0x2778cf=_0xc34264<0x3?_0x5eb590:_0x299e81===null?_0x299e81=Object[_0x170590(0x18a)](_0x5eb590,_0x5d4311):_0x299e81,_0x4817bd;if(typeof Reflect==_0x170590(0x20d)&&typeof Reflect[_0x170590(0x452)]=='function')_0x2778cf=Reflect[_0x170590(0x452)](_0x203a29,_0x5eb590,_0x5d4311,_0x299e81);else{for(var _0x36ee36=_0x203a29['length']-0x1;_0x36ee36>=0x0;_0x36ee36--)(_0x4817bd=_0x203a29[_0x36ee36])&&(_0x2778cf=(_0xc34264<0x3?_0x4817bd(_0x2778cf):_0xc34264>0x3?_0x4817bd(_0x5eb590,_0x5d4311,_0x2778cf):_0x4817bd(_0x5eb590,_0x5d4311))||_0x2778cf);}return _0xc34264>0x3&&_0x2778cf&&Object['defineProperty'](_0x5eb590,_0x5d4311,_0x2778cf),_0x2778cf;}const V=(0x0,e[_0xa3b18d(0x2db)])('base.command.service');let H=class{constructor(_0x27b368,_0x98b5e9=Et(),_0x7712b0={}){const _0x15e536=_0xa3b18d;this[_0x15e536(0x482)]=_0x27b368,this[_0x15e536(0x175)]=_0x98b5e9,this[_0x15e536(0x417)]=_0x7712b0,I(this,_0x15e536(0x1af),new P()),I(this,_0x15e536(0x31a),new w());}['createTable'](_0x309509,_0x5c24bd,_0x20c4fe){const _0xafcbf3=_0xa3b18d;if(!this[_0xafcbf3(0x482)][_0xafcbf3(0x17e)](_0x309509[_0xafcbf3(0x446)]()))throw Error(_0xafcbf3(0x210));this[_0xafcbf3(0x261)](_0x309509,this[_0xafcbf3(0x1af)]['createTable'](_0x309509[_0xafcbf3(0x2ab)](),_0x5c24bd,_0x20c4fe));}[_0xa3b18d(0x220)](_0x4d2c5c,_0x2819b0,_0x18c3e7){const _0x382062=_0xa3b18d;this['_apply'](_0x4d2c5c,this['_factory'][_0x382062(0x220)](_0x4d2c5c[_0x382062(0x2ab)](),_0x2819b0,_0x18c3e7));}[_0xa3b18d(0x2a3)](_0x5f4465,_0x32a63f){const _0x45cac5=_0xa3b18d;if(!this[_0x45cac5(0x482)][_0x45cac5(0x2d3)](_0x32a63f))throw Error(_0x45cac5(0x1a4));this['_apply'](_0x5f4465,this[_0x45cac5(0x1af)][_0x45cac5(0x2a3)](_0x5f4465[_0x45cac5(0x2ab)](),_0x32a63f));}[_0xa3b18d(0x416)](_0x524ab4,_0x588512,_0x4bcc5b,_0x231ee0,_0x131a08){const _0x41d682=_0xa3b18d;this[_0x41d682(0x261)](_0x524ab4,this[_0x41d682(0x349)](_0x524ab4,_0x588512,_0x4bcc5b,_0x231ee0,_0x131a08));}[_0xa3b18d(0x3f8)](_0x590297,_0x199ee6,_0x5380ed){const _0x2d54ef=_0xa3b18d;this[_0x2d54ef(0x261)](_0x590297,this[_0x2d54ef(0x477)](_0x590297,_0x199ee6,_0x5380ed));}[_0xa3b18d(0x2da)](_0x5ceee3,_0x586e05,_0x331cd1){const _0x120dbe=_0xa3b18d;this[_0x120dbe(0x261)](_0x5ceee3,this['createCreateRecordOp'](_0x5ceee3,_0x586e05,_0x331cd1));}[_0xa3b18d(0x349)](_0x14b7ae,_0x25d25c,_0x7fcb5e,_0x2dfdf1,_0x25143f){const _0x5bc18e=_0xa3b18d;let _0x2e212e=_0x14b7ae[_0x5bc18e(0x2ab)](),_0x181f8c=this['_normalizeCellValue'](_0x2e212e,_0x25d25c,_0x7fcb5e,_0x2dfdf1,_0x25143f),_0x4ff572=this['_withModifiedSystemValues'](_0x2e212e,_0x25d25c,_0x7fcb5e,{[_0x2dfdf1]:_0x181f8c});return this[_0x5bc18e(0x1af)][_0x5bc18e(0x3f8)](_0x2e212e,_0x25d25c,[_0x4ff572]);}[_0xa3b18d(0x477)](_0x2f12fa,_0x105909,_0x5dc33f){const _0x28f025=_0xa3b18d;let _0x9c91dd=_0x2f12fa[_0x28f025(0x2ab)](),_0x2e602c=_0x5dc33f[_0x28f025(0x1da)](_0x146e90=>this[_0x28f025(0x176)](_0x9c91dd,_0x105909,_0x146e90[_0x28f025(0x2f7)],{...Object[_0x28f025(0x26d)](Object[_0x28f025(0x217)](_0x146e90[_0x28f025(0x29e)])[_0x28f025(0x1da)](([_0x5492eb,_0x3dc55f])=>[_0x5492eb,this[_0x28f025(0x27b)](_0x9c91dd,_0x105909,_0x146e90['recordId'],_0x5492eb,_0x3dc55f)]))}));return this[_0x28f025(0x1af)][_0x28f025(0x3f8)](_0x9c91dd,_0x105909,_0x2e602c);}[_0xa3b18d(0x2c6)](_0x487aae,_0x54c1fe,_0x143c7a){const _0x5acd6c=_0xa3b18d;if(!this['_permissionService'][_0x5acd6c(0x3fd)](_0x54c1fe))throw Error(_0x5acd6c(0x24a));let _0x504815=_0x487aae[_0x5acd6c(0x2ab)](),_0x1373be=this[_0x5acd6c(0x315)](_0x504815[_0x5acd6c(0x258)][_0x54c1fe]);return this['_factory'][_0x5acd6c(0x2da)](_0x504815,_0x54c1fe,this[_0x5acd6c(0x46d)](_0x504815,_0x54c1fe,_0x143c7a,_0x1373be));}[_0xa3b18d(0x19d)](_0x1054b5,_0x1cc5b5,_0xa3ffff){const _0x1f7257=_0xa3b18d;if(!this[_0x1f7257(0x482)][_0x1f7257(0x3fd)](_0x1cc5b5))throw Error(_0x1f7257(0x24a));let _0x2d04b9=_0x1054b5[_0x1f7257(0x2ab)](),_0x52e1bb=this['_createNumberingAllocators'](_0x2d04b9['tables'][_0x1cc5b5]);return this[_0x1f7257(0x1af)][_0x1f7257(0x428)](_0x2d04b9,_0x1cc5b5,_0xa3ffff['map'](_0x44c382=>this[_0x1f7257(0x46d)](_0x2d04b9,_0x1cc5b5,_0x44c382,_0x52e1bb)));}[_0xa3b18d(0x269)](_0x27e2c1,_0x47fec7,_0x29225a,_0x2ec7b3,_0x369a12){const _0x53f19f=_0xa3b18d;if(!this['_permissionService'][_0x53f19f(0x30a)](_0x47fec7))throw Error('[BaseCommandService]:\x20cannot\x20create\x20field.');let _0x635de9=_0x27e2c1[_0x53f19f(0x2ab)](),_0x510977=this[_0x53f19f(0x1af)][_0x53f19f(0x474)](_0x635de9,_0x47fec7,{'field':_0x29225a,'index':_0x2ec7b3,'viewIndexes':_0x369a12}),_0x524a6f=this[_0x53f19f(0x29c)](_0x635de9,_0x47fec7,_0x29225a);if(!_0x524a6f['length'])return _0x510977;let _0x51a3c5=this[_0x53f19f(0x31a)]['applyOp'](_0x635de9,_0x510977);return N([_0x510977,this['_factory']['setRecordValues'](_0x51a3c5,_0x47fec7,_0x524a6f)]);}['deleteRecord'](_0x20307a,_0x3525cf,_0xd1c064){const _0x55bca6=_0xa3b18d;if(!this[_0x55bca6(0x482)][_0x55bca6(0x1a0)](_0x3525cf,_0xd1c064))throw Error(_0x55bca6(0x23d));this[_0x55bca6(0x261)](_0x20307a,this[_0x55bca6(0x1af)][_0x55bca6(0x3fc)](_0x20307a[_0x55bca6(0x2ab)](),_0x3525cf,_0xd1c064));}[_0xa3b18d(0x191)](_0x3f84d4,_0x8b2669,_0x3ac1b6,_0x2faf71){const _0x3dfd87=_0xa3b18d;this[_0x3dfd87(0x261)](_0x3f84d4,this[_0x3dfd87(0x1af)]['duplicateRecord'](_0x3f84d4['getSnapshot'](),_0x8b2669,_0x3ac1b6,_0x2faf71));}['updateRecordOrder'](_0x12a9f3,_0x3d546c,_0x12baf7,_0x59e192){const _0x4f0659=_0xa3b18d;this[_0x4f0659(0x261)](_0x12a9f3,this['_factory'][_0x4f0659(0x274)](_0x12a9f3['getSnapshot'](),_0x3d546c,_0x12baf7,_0x59e192));}['createField'](_0x4b96d6,_0x5bde83,_0x293d0e,_0x15ece8,_0x2acd24){const _0x312f74=_0xa3b18d;this['_apply'](_0x4b96d6,this[_0x312f74(0x269)](_0x4b96d6,_0x5bde83,_0x293d0e,_0x15ece8,_0x2acd24));}[_0xa3b18d(0x194)](_0x380c8b,_0x5a9f89,_0xf37002,_0x55bef9){const _0x5b3575=_0xa3b18d;if(!this[_0x5b3575(0x482)][_0x5b3575(0x408)](_0x5a9f89,_0xf37002))throw Error('[BaseCommandService]:\x20cannot\x20edit\x20field.');this[_0x5b3575(0x261)](_0x380c8b,this[_0x5b3575(0x1af)][_0x5b3575(0x194)](_0x380c8b[_0x5b3575(0x2ab)](),_0x5a9f89,_0xf37002,_0x55bef9));}[_0xa3b18d(0x453)](_0x2f3ed5,_0x3d287a,_0x1d815b,_0x170bbe){const _0x319642=_0xa3b18d;if(!this[_0x319642(0x482)]['canEditField'](_0x3d287a,_0x1d815b))throw Error(_0x319642(0x248));this[_0x319642(0x261)](_0x2f3ed5,this[_0x319642(0x1af)][_0x319642(0x453)](_0x2f3ed5['getSnapshot'](),_0x3d287a,_0x1d815b,_0x170bbe));}['deleteField'](_0x1cf990,_0x2b7b76,_0x34eede){const _0x4f539f=_0xa3b18d;var _0x2b9903;if(((_0x2b9903=_0x1cf990[_0x4f539f(0x2ab)]()[_0x4f539f(0x258)][_0x2b7b76])==null?void 0x0:_0x2b9903[_0x4f539f(0x419)])===_0x34eede)throw Error('[BaseCommandService]:\x20cannot\x20delete\x20primary\x20field.');if(!this[_0x4f539f(0x482)][_0x4f539f(0x435)](_0x2b7b76,_0x34eede))throw Error(_0x4f539f(0x193));this[_0x4f539f(0x261)](_0x1cf990,this[_0x4f539f(0x1af)][_0x4f539f(0x328)](_0x1cf990[_0x4f539f(0x2ab)](),_0x2b7b76,_0x34eede));}[_0xa3b18d(0x487)](_0x31eac3,_0x1e966c,_0x39d7e9,_0x3ff2b1){const _0x14453c=_0xa3b18d;if(!this[_0x14453c(0x482)][_0x14453c(0x408)](_0x1e966c,_0x39d7e9))throw Error(_0x14453c(0x248));this['_apply'](_0x31eac3,this[_0x14453c(0x1af)][_0x14453c(0x487)](_0x31eac3[_0x14453c(0x2ab)](),_0x1e966c,_0x39d7e9,_0x3ff2b1));}[_0xa3b18d(0x353)](_0x6e47d6,_0x2e9f9f,_0x5f048e,_0x28ec1e){const _0x56b787=_0xa3b18d;this['_apply'](_0x6e47d6,this[_0x56b787(0x1af)]['createView'](_0x6e47d6['getSnapshot'](),_0x2e9f9f,_0x5f048e,_0x28ec1e));}[_0xa3b18d(0x36f)](_0x15e931,_0x5ef39e,_0x5553f6,_0x3c46a1){const _0x504fa5=_0xa3b18d;if(!this[_0x504fa5(0x482)][_0x504fa5(0x1e6)](_0x5ef39e,_0x5553f6))throw Error(_0x504fa5(0x290));this['_apply'](_0x15e931,this[_0x504fa5(0x1af)][_0x504fa5(0x36f)](_0x15e931[_0x504fa5(0x2ab)](),_0x5ef39e,_0x5553f6,_0x3c46a1));}[_0xa3b18d(0x1b0)](_0x4ee26c,_0xeb36e2,_0x207e4b){const _0x1ec8be=_0xa3b18d;if(!this['_permissionService'][_0x1ec8be(0x1e6)](_0xeb36e2,_0x207e4b))throw Error(_0x1ec8be(0x290));this['_apply'](_0x4ee26c,this[_0x1ec8be(0x1af)][_0x1ec8be(0x1b0)](_0x4ee26c['getSnapshot'](),_0xeb36e2,_0x207e4b));}[_0xa3b18d(0x1df)](_0x421ab6,_0x2e588f,_0x4c79ea,_0x2f57a9){const _0x3f1be7=_0xa3b18d;if(!this[_0x3f1be7(0x482)][_0x3f1be7(0x1e6)](_0x2e588f,_0x4c79ea))throw Error(_0x3f1be7(0x290));this[_0x3f1be7(0x261)](_0x421ab6,this[_0x3f1be7(0x1af)][_0x3f1be7(0x1df)](_0x421ab6[_0x3f1be7(0x2ab)](),_0x2e588f,_0x4c79ea,_0x2f57a9));}[_0xa3b18d(0x373)](_0x45c177,_0x5e68ee,_0x166a3c,_0x49ea44){const _0x5b3e46=_0xa3b18d;if(!this[_0x5b3e46(0x482)][_0x5b3e46(0x1e6)](_0x5e68ee,_0x166a3c))throw Error(_0x5b3e46(0x290));this[_0x5b3e46(0x261)](_0x45c177,this[_0x5b3e46(0x1af)][_0x5b3e46(0x373)](_0x45c177['getSnapshot'](),_0x5e68ee,_0x166a3c,_0x49ea44));}[_0xa3b18d(0x1dd)](_0xcd0c8b,_0x1a50ce,_0x3f4aca,_0x19c0a5){const _0x570964=_0xa3b18d;this[_0x570964(0x261)](_0xcd0c8b,this[_0x570964(0x1af)][_0x570964(0x1dd)](_0xcd0c8b[_0x570964(0x2ab)](),_0x1a50ce,_0x3f4aca,_0x19c0a5));}['setViewSort'](_0x1d48e5,_0x1d086a,_0xb5006d,_0x2fafa9){const _0x5e7633=_0xa3b18d;this[_0x5e7633(0x261)](_0x1d48e5,this['_factory'][_0x5e7633(0x42d)](_0x1d48e5[_0x5e7633(0x2ab)](),_0x1d086a,_0xb5006d,_0x2fafa9));}['setViewGroup'](_0x2ea320,_0x8b26ed,_0x431984,_0x3b9f13){const _0x542829=_0xa3b18d;this['_apply'](_0x2ea320,this[_0x542829(0x1af)][_0x542829(0x26b)](_0x2ea320[_0x542829(0x2ab)](),_0x8b26ed,_0x431984,_0x3b9f13));}[_0xa3b18d(0x25d)](_0x501ea1,_0x22b578,_0x23f4f1,_0x303695,_0xcc1bd6){const _0x4876be=_0xa3b18d;if(!this['_permissionService'][_0x4876be(0x1e6)](_0x22b578,_0x23f4f1))throw Error(_0x4876be(0x290));this[_0x4876be(0x261)](_0x501ea1,this['_factory'][_0x4876be(0x25d)](_0x501ea1[_0x4876be(0x2ab)](),_0x22b578,_0x23f4f1,_0x303695,_0xcc1bd6));}[_0xa3b18d(0x3f2)](_0x42d881,_0x377160,_0x35528d,_0x29889c,_0x16dda0){const _0x4adbeb=_0xa3b18d;this[_0x4adbeb(0x261)](_0x42d881,this[_0x4adbeb(0x1af)]['setViewFieldWidth'](_0x42d881[_0x4adbeb(0x2ab)](),_0x377160,_0x35528d,_0x29889c,_0x16dda0));}[_0xa3b18d(0x356)](_0x21d967,_0x442185,_0x5b1cd4,_0x552244,_0x3cd9cc){const _0x44f999=_0xa3b18d;this[_0x44f999(0x261)](_0x21d967,this[_0x44f999(0x1af)][_0x44f999(0x356)](_0x21d967[_0x44f999(0x2ab)](),_0x442185,_0x5b1cd4,_0x552244,_0x3cd9cc));}['_apply'](_0x1a58bf,_0x5c057a){const _0x277610=_0xa3b18d;let _0x5dd53a=_0x1a58bf[_0x277610(0x2ab)]();_0x1a58bf[_0x277610(0x449)](this[_0x277610(0x31a)][_0x277610(0x2ac)](_0x5dd53a,_0x5c057a));}['_createRecordWithDefaults'](_0x5223f0,_0x3c46e2,_0x435f4d,_0x245294=this[_0xa3b18d(0x315)](_0x5223f0[_0xa3b18d(0x258)][_0x3c46e2])){const _0x455eaf=_0xa3b18d;var _0x1475bb,_0x3e345f,_0x1bd136,_0x15f856;let _0x2aa1bd=_0x5223f0['tables'][_0x3c46e2],_0x1e74cd=(_0x1475bb=(_0x3e345f=_0x435f4d[_0x455eaf(0x182)])==null?_0x435f4d[_0x455eaf(0x359)]:_0x3e345f)==null?this[_0x455eaf(0x1f3)]():_0x1475bb,_0x554068={..._0x435f4d,'createdBy':(_0x1bd136=_0x435f4d['createdBy'])==null?_0x1e74cd:_0x1bd136,'updatedBy':(_0x15f856=_0x435f4d[_0x455eaf(0x359)])==null?_0x1e74cd:_0x15f856,'values':{..._0x435f4d[_0x455eaf(0x29e)]}};return _0x2aa1bd[_0x455eaf(0x2d8)]['forEach'](_0x4e5bf4=>{const _0x5b816a=_0x455eaf;let _0x45ea0e=_0x2aa1bd['fields'][_0x4e5bf4];if(!(!_0x45ea0e||_0x554068[_0x5b816a(0x29e)][_0x4e5bf4]!==void 0x0))switch(_0x45ea0e[_0x5b816a(0x177)]){case e[_0x5b816a(0x17a)][_0x5b816a(0x1d9)]:var _0x53a66e,_0x1afedf;_0x554068[_0x5b816a(0x29e)][_0x4e5bf4]=(_0x53a66e=(_0x1afedf=_0x245294[_0x5b816a(0x221)](_0x4e5bf4))==null?void 0x0:_0x1afedf())==null?this[_0x5b816a(0x37c)](_0x2aa1bd,_0x4e5bf4)():_0x53a66e;break;case e[_0x5b816a(0x17a)]['CreatedBy']:_0x554068[_0x5b816a(0x182)]&&(_0x554068[_0x5b816a(0x29e)][_0x4e5bf4]=_0x554068['createdBy']);break;case e[_0x5b816a(0x17a)][_0x5b816a(0x1e0)]:_0x554068[_0x5b816a(0x359)]&&(_0x554068[_0x5b816a(0x29e)][_0x4e5bf4]=_0x554068[_0x5b816a(0x359)]);break;case e['BaseFieldType'][_0x5b816a(0x2bb)]:_0x554068[_0x5b816a(0x29e)][_0x4e5bf4]=T(_0x554068[_0x5b816a(0x278)]);break;case e[_0x5b816a(0x17a)]['UpdatedAt']:_0x554068['values'][_0x4e5bf4]=T(_0x554068[_0x5b816a(0x187)]);break;default:{let _0x245da2=_0x45ea0e[_0x5b816a(0x2de)];_0x245da2!=null&&_0x245da2!==''&&!(Array[_0x5b816a(0x18c)](_0x245da2)&&_0x245da2[_0x5b816a(0x333)]===0x0)&&(_0x554068[_0x5b816a(0x29e)][_0x4e5bf4]=_0x245da2);}}}),_0x554068;}['_withModifiedSystemValues'](_0x28e0d6,_0x144270,_0xb86e33,_0x563613){const _0xbb41c9=_0xa3b18d;var _0x35fd4c,_0x14fae6,_0x21db60;let _0x1f7cdb=_0x28e0d6[_0xbb41c9(0x258)][_0x144270],_0x3a480c=(_0x35fd4c=(_0x14fae6=(_0x21db60=this[_0xbb41c9(0x417)])[_0xbb41c9(0x1c3)])==null?void 0x0:_0x14fae6['call'](_0x21db60))==null?Date['now']():_0x35fd4c,_0xe35c43=this[_0xbb41c9(0x1f3)](),_0x16a77d={..._0x563613};return _0x1f7cdb[_0xbb41c9(0x2d8)]['forEach'](_0x346ca9=>{const _0x16e35c=_0xbb41c9;let _0x383d52=_0x1f7cdb['fields'][_0x346ca9];_0x383d52&&(_0x383d52[_0x16e35c(0x177)]===e[_0x16e35c(0x17a)][_0x16e35c(0x2e4)]&&(_0x16a77d[_0x346ca9]=T(_0x3a480c)),_0x383d52[_0x16e35c(0x177)]===e['BaseFieldType'][_0x16e35c(0x1e0)]&&_0xe35c43&&(_0x16a77d[_0x346ca9]=_0xe35c43));}),{'recordId':_0xb86e33,'values':_0x16a77d,'recordPatch':{'updatedAt':_0x3a480c,..._0xe35c43?{'updatedBy':_0xe35c43}:{}}};}[_0xa3b18d(0x29c)](_0x52e698,_0xc414d1,_0x57050a){const _0x12d866=_0xa3b18d;let _0x2c77ce=_0x52e698[_0x12d866(0x258)][_0xc414d1];return!_0x2c77ce||!Dt(_0x57050a)?[]:_0x57050a['type']===e[_0x12d866(0x17a)][_0x12d866(0x1d9)]?this[_0x12d866(0x365)](_0x2c77ce,_0x57050a['id']):Object[_0x12d866(0x29e)](_0x2c77ce[_0x12d866(0x332)])[_0x12d866(0x2f9)](_0x366f76=>{const _0x52393c=_0x12d866;let _0x57761f=this[_0x52393c(0x1ae)](_0x57050a,_0x366f76);return _0x57761f===void 0x0?[]:[{'recordId':_0x366f76['id'],'values':{[_0x57050a['id']]:_0x57761f}}];});}[_0xa3b18d(0x1ae)](_0x581e35,_0x2c7827){const _0x3b6f4f=_0xa3b18d;switch(_0x581e35[_0x3b6f4f(0x177)]){case e[_0x3b6f4f(0x17a)][_0x3b6f4f(0x422)]:var _0xe53e5c;return(_0xe53e5c=_0x2c7827[_0x3b6f4f(0x182)])==null?this['_getCurrentUserId']():_0xe53e5c;case e['BaseFieldType'][_0x3b6f4f(0x1e0)]:var _0x2d237f;return(_0x2d237f=_0x2c7827[_0x3b6f4f(0x359)])==null?this[_0x3b6f4f(0x1f3)]():_0x2d237f;case e[_0x3b6f4f(0x17a)]['CreatedAt']:var _0x3e3177;return T((_0x3e3177=_0x2c7827[_0x3b6f4f(0x278)])==null?Date[_0x3b6f4f(0x1c3)]():_0x3e3177);case e['BaseFieldType']['UpdatedAt']:var _0xbde8c8;return T((_0xbde8c8=_0x2c7827[_0x3b6f4f(0x187)])==null?Date['now']():_0xbde8c8);default:return;}}[_0xa3b18d(0x315)](_0x10ec0a){const _0x4f0e5c=_0xa3b18d;let _0x274d24=new Map();return _0x10ec0a&&_0x10ec0a[_0x4f0e5c(0x2d8)][_0x4f0e5c(0x465)](_0x11abbb=>{const _0x25c123=_0x4f0e5c;let _0x50bbfc=_0x10ec0a[_0x25c123(0x35e)][_0x11abbb];(_0x50bbfc==null?void 0x0:_0x50bbfc[_0x25c123(0x177)])===e['BaseFieldType'][_0x25c123(0x1d9)]&&_0x274d24['set'](_0x11abbb,this[_0x25c123(0x37c)](_0x10ec0a,_0x11abbb));}),_0x274d24;}[_0xa3b18d(0x37c)](_0xa350da,_0x84f18e){const _0x17f51b=_0xa3b18d;let _0x4d30a3=Object[_0x17f51b(0x29e)](_0xa350da[_0x17f51b(0x332)])[_0x17f51b(0x3fa)]((_0x2b2356,_0x5404f9)=>{const _0x2f1cae=_0x17f51b;let _0x4b6275=Number(_0x5404f9[_0x2f1cae(0x29e)][_0x84f18e]);return Number[_0x2f1cae(0x2f4)](_0x4b6275)?Math[_0x2f1cae(0x21a)](_0x2b2356,_0x4b6275):_0x2b2356;},0x0);return()=>String(++_0x4d30a3);}[_0xa3b18d(0x365)](_0x3c258b,_0x2d6caf){const _0x368001=_0xa3b18d;let _0x3d5590=this[_0x368001(0x294)](_0x3c258b),_0x20a4a2=this['_createNumberingAllocator'](_0x3c258b,_0x2d6caf);return _0x3d5590[_0x368001(0x2f9)](_0x5cef2d=>this[_0x368001(0x431)](_0x5cef2d[_0x368001(0x29e)][_0x2d6caf])?[]:[{'recordId':_0x5cef2d['id'],'values':{[_0x2d6caf]:_0x20a4a2()}}]);}[_0xa3b18d(0x294)](_0x32566b){const _0x20b30f=_0xa3b18d;var _0x4cdf29;let _0x4bad2b=Object[_0x20b30f(0x29e)](_0x32566b['records']),_0x58d238=new Map(_0x4bad2b['map'](_0x3db5cd=>[_0x3db5cd['id'],_0x3db5cd])),_0x153dea=[],_0x51e370=new Set();(_0x4cdf29=_0x32566b['recordOrder'])==null||_0x4cdf29[_0x20b30f(0x465)](_0x38fe1d=>{const _0x540f53=_0x20b30f;let _0x2c215c=_0x58d238[_0x540f53(0x221)](_0x38fe1d);_0x2c215c&&(_0x153dea[_0x540f53(0x439)](_0x2c215c),_0x51e370['add'](_0x38fe1d));});let _0x485548=_0x4bad2b[_0x20b30f(0x314)](_0x45cf50=>!_0x51e370[_0x20b30f(0x397)](_0x45cf50['id']))['sort']((_0x1602e0,_0x500950)=>{const _0x428819=_0x20b30f;var _0x4364ff,_0x58d54b;return String((_0x4364ff=_0x1602e0[_0x428819(0x390)])==null?_0x1602e0['id']:_0x4364ff)[_0x428819(0x387)](String((_0x58d54b=_0x500950[_0x428819(0x390)])==null?_0x500950['id']:_0x58d54b))||_0x1602e0['id'][_0x428819(0x387)](_0x500950['id']);});return[..._0x153dea,..._0x485548];}[_0xa3b18d(0x431)](_0x500b6e){const _0xd4b877=_0xa3b18d;return _0x500b6e!=null&&_0x500b6e!==''&&!(Array[_0xd4b877(0x18c)](_0x500b6e)&&_0x500b6e[_0xd4b877(0x333)]===0x0);}[_0xa3b18d(0x1f3)](){const _0x45acf3=_0xa3b18d;var _0x257b79,_0x2b0463,_0x1d97f1,_0x237f94,_0x3eb8f2,_0x1b8c6c;return(_0x257b79=(_0x2b0463=(_0x1d97f1=(_0x237f94=this['_runtimeContext'])[_0x45acf3(0x3f6)])==null?void 0x0:_0x1d97f1['call'](_0x237f94))==null?(_0x3eb8f2=(_0x1b8c6c=this['_runtimeContext'])[_0x45acf3(0x3ce)])==null||(_0x3eb8f2=_0x3eb8f2[_0x45acf3(0x24f)](_0x1b8c6c))==null?void 0x0:_0x3eb8f2['userID']:_0x2b0463)==null?void 0x0:_0x257b79;}[_0xa3b18d(0x27b)](_0x645eed,_0x2030fd,_0x1f8330,_0x5f3bad,_0x319feb){const _0x5919e8=_0xa3b18d;var _0x1b68c8;if(!this[_0x5919e8(0x482)][_0x5919e8(0x16a)](_0x2030fd,_0x1f8330,_0x5f3bad))throw Error('[BaseCommandService]:\x20cannot\x20edit\x20cell.');let _0x17f9c4=(_0x1b68c8=_0x645eed[_0x5919e8(0x258)][_0x2030fd])==null?void 0x0:_0x1b68c8[_0x5919e8(0x35e)][_0x5f3bad];if(!_0x17f9c4)throw Error('[BaseCommandService]:\x20field\x20\x22'+_0x5f3bad+_0x5919e8(0x29d));let _0x2078d7=this[_0x5919e8(0x175)][_0x5919e8(0x221)](_0x17f9c4[_0x5919e8(0x177)]);if(_0x17f9c4[_0x5919e8(0x1ab)]||_0x17f9c4[_0x5919e8(0x35a)]||!_0x2078d7[_0x5919e8(0x3ee)](_0x17f9c4)[_0x5919e8(0x265)])throw Error('[BaseCommandService]:\x20cannot\x20edit\x20readonly\x20field.');let _0x4b8ecf=_0x2078d7[_0x5919e8(0x35f)](_0x319feb,_0x17f9c4),_0x1f6d35=_0x2078d7[_0x5919e8(0x28b)](_0x4b8ecf,_0x17f9c4);if(!_0x1f6d35[_0x5919e8(0x189)]){var _0x1fec5e;throw Error((_0x1fec5e=_0x1f6d35['reason'])==null?_0x5919e8(0x2fc):_0x1fec5e);}return _0x4b8ecf;}};H=B([z(0x0,Ct),z(0x1,L)],H);function Et(){const _0xe928d6=_0xa3b18d;let _0x5cf980=new St();return Qe()[_0xe928d6(0x465)](_0x637879=>_0x5cf980[_0xe928d6(0x2cd)](_0x637879)),_0x5cf980;}function Dt(_0x2702fb){const _0x42c530=_0xa3b18d;return _0x2702fb[_0x42c530(0x177)]===e['BaseFieldType'][_0x42c530(0x1d9)]||_0x2702fb[_0x42c530(0x177)]===e[_0x42c530(0x17a)]['CreatedBy']||_0x2702fb[_0x42c530(0x177)]===e['BaseFieldType'][_0x42c530(0x1e0)]||_0x2702fb['type']===e[_0x42c530(0x17a)]['CreatedAt']||_0x2702fb[_0x42c530(0x177)]===e[_0x42c530(0x17a)][_0x42c530(0x2e4)];}const Ot=new Set([e[_0xa3b18d(0x17a)][_0xa3b18d(0x17f)],e[_0xa3b18d(0x17a)][_0xa3b18d(0x232)],e[_0xa3b18d(0x17a)][_0xa3b18d(0x23b)]]);function kt(_0x136262){const _0x5495cb=_0xa3b18d;var _0x3e56c2,_0xe27a0f;let _0x2e7e7f=_0x136262[_0x5495cb(0x35e)][_0x136262[_0x5495cb(0x419)]];return!(_0x2e7e7f&&(_0x2e7e7f['system']===!0x0||_0x2e7e7f['id']['toLowerCase']()==='id'||_0x2e7e7f[_0x5495cb(0x2cb)][_0x5495cb(0x41e)]()['toLowerCase']()==='id'))&&_0x2e7e7f?_0x2e7e7f['id']:(_0x3e56c2=(_0xe27a0f=_0x136262[_0x5495cb(0x2d8)]['map'](_0x56a6cf=>_0x136262[_0x5495cb(0x35e)][_0x56a6cf])[_0x5495cb(0x484)](_0x2b1ed6=>_0x2b1ed6&&_0x2b1ed6['id']!==_0x136262['primaryFieldId']))==null?void 0x0:_0xe27a0f['id'])==null?_0x136262[_0x5495cb(0x419)]:_0x3e56c2;}function U(_0x61b647,_0x1688b4=[],_0x306632=0x5){const _0x2653b9=_0xa3b18d;let _0x557dfd=new Set(_0x1688b4[_0x2653b9(0x314)](_0x3e42d0=>!!_0x3e42d0)),_0x4e5493=_0x61b647[_0x2653b9(0x2d8)][_0x2653b9(0x2f9)](_0x3b742e=>{const _0x44db5d=_0x2653b9;let _0x73d748=_0x61b647[_0x44db5d(0x35e)][_0x3b742e];return _0x73d748&&!_0x557dfd['has'](_0x73d748['id'])?[_0x73d748]:[];}),_0x203658=_0x4e5493[_0x2653b9(0x314)](_0x41398a=>Ot['has'](_0x41398a['type'])),_0x3eae1e=_0x4e5493['filter'](_0x118a5f=>!Ot['has'](_0x118a5f[_0x2653b9(0x177)]));return[..._0x203658,..._0x3eae1e][_0x2653b9(0x2ce)](0x0,_0x306632)[_0x2653b9(0x1da)](_0x3fa061=>_0x3fa061['id']);}function At(){const _0x45006f=_0xa3b18d;return[{'type':e[_0x45006f(0x318)][_0x45006f(0x1a5)],'i18nKey':_0x45006f(0x21e),'createDefaultConfig':()=>({}),'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{throw Error('Grid\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.');}},{'type':e['BaseViewType'][_0x45006f(0x415)],'i18nKey':_0x45006f(0x2ea),'createDefaultConfig':_0x48b95a=>{const _0x53a9b0=_0x45006f;let _0x23246c=jt(_0x48b95a);return{'groupFieldId':_0x23246c,'coverFieldId':null,'cardLayout':_0x53a9b0(0x2d9),'showFieldNames':!0x0,'fieldSettings':{},'columnSettings':{},'card':{'titleFieldId':_0x48b95a[_0x53a9b0(0x419)],'fieldIds':U(_0x48b95a,[_0x48b95a['primaryFieldId'],_0x23246c])}};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{throw Error('Kanban\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.');}},{'type':e[_0x45006f(0x318)][_0x45006f(0x197)],'i18nKey':_0x45006f(0x3de),'createDefaultConfig':_0x460801=>{const _0x135f83=_0x45006f;let _0x5cd9b7=Mt(_0x460801);return{'startDateFieldId':_0x5cd9b7,'endDateFieldId':Nt(_0x460801,_0x5cd9b7),'titleFieldId':_0x460801[_0x135f83(0x419)],'mode':_0x135f83(0x39e),'timeslotSize':_0x135f83(0x458),'timeZone':_0x135f83(0x1eb),'displayColor':{'type':_0x135f83(0x284),'color':_0x135f83(0x295)},'fieldSettings':{}};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0xde1c19=_0x45006f;throw Error(_0xde1c19(0x299));}},{'type':e[_0x45006f(0x318)][_0x45006f(0x3bf)],'i18nKey':_0x45006f(0x270),'createDefaultConfig':_0x2e27eb=>{const _0x59aff6=_0x45006f;var _0x5abac6;let _0x199634=Mt(_0x2e27eb);return{'startDateFieldId':_0x199634,'endDateFieldId':(_0x5abac6=Nt(_0x2e27eb,_0x199634))==null?_0x199634:_0x5abac6,'titleFieldId':_0x2e27eb[_0x59aff6(0x419)],'scale':_0x59aff6(0x39e),'showTodayLine':!0x0,'displayColor':{'type':_0x59aff6(0x284),'color':_0x59aff6(0x2b3)},'fieldSettings':{},'workingDaysOnly':!0x1};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x43ccd1=_0x45006f;throw Error(_0x43ccd1(0x160));}},{'type':e[_0x45006f(0x318)]['Gallery'],'i18nKey':_0x45006f(0x3a9),'createDefaultConfig':_0x3f3619=>{const _0x323d94=_0x45006f;let _0x5ad016=kt(_0x3f3619);return{'coverFieldId':null,'cardLayout':_0x323d94(0x2d9),'showFieldNames':!0x0,'fieldSettings':{},'card':{'titleFieldId':_0x5ad016,'coverFieldId':null,'fieldIds':U(_0x3f3619,[_0x5ad016,_0x3f3619[_0x323d94(0x419)]])},'cardSize':_0x323d94(0x458)};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x1ee02e=_0x45006f;throw Error(_0x1ee02e(0x1a7));}}];}function jt(_0x360578){const _0x2dc01a=_0xa3b18d;var _0x2011f8,_0x24d5ba,_0x11546f,_0x175b45,_0x1fd2e7,_0x489a39;let _0x567f56=_0x360578[_0x2dc01a(0x2d8)]['map'](_0x93d048=>_0x360578[_0x2dc01a(0x35e)][_0x93d048])[_0x2dc01a(0x314)](_0x326a04=>!!_0x326a04);return(_0x2011f8=(_0x24d5ba=(_0x11546f=(_0x175b45=_0x567f56[_0x2dc01a(0x484)](_0x30ba12=>_0x30ba12[_0x2dc01a(0x177)]===e[_0x2dc01a(0x17a)][_0x2dc01a(0x3b7)]||_0x30ba12['type']===e['BaseFieldType'][_0x2dc01a(0x35d)]||_0x30ba12['type']===e[_0x2dc01a(0x17a)][_0x2dc01a(0x478)]))==null?void 0x0:_0x175b45['id'])==null?(_0x1fd2e7=_0x567f56['find'](_0x1a3162=>_0x1a3162[_0x2dc01a(0x177)]===e[_0x2dc01a(0x17a)][_0x2dc01a(0x28d)]))==null?void 0x0:_0x1fd2e7['id']:_0x11546f)==null?(_0x489a39=_0x567f56[_0x2dc01a(0x484)](_0x323799=>_0x323799['type']===e[_0x2dc01a(0x17a)][_0x2dc01a(0x224)]||_0x323799['type']===e[_0x2dc01a(0x17a)][_0x2dc01a(0x2bb)]||_0x323799[_0x2dc01a(0x177)]===e[_0x2dc01a(0x17a)][_0x2dc01a(0x2e4)]))==null?void 0x0:_0x489a39['id']:_0x24d5ba)==null?_0x360578['primaryFieldId']:_0x2011f8;}function Mt(_0x184624){const _0x4317f2=_0xa3b18d;var _0x32d6da,_0x5f426b;return(_0x32d6da=(_0x5f426b=_0x184624[_0x4317f2(0x2d8)][_0x4317f2(0x1da)](_0x38a9ef=>_0x184624[_0x4317f2(0x35e)][_0x38a9ef])[_0x4317f2(0x484)](Pt))==null?void 0x0:_0x5f426b['id'])==null?'':_0x32d6da;}function Nt(_0x11fe18,_0xfb0250){const _0x4e3b9a=_0xa3b18d;var _0x29bba3;return(_0x29bba3=_0x11fe18[_0x4e3b9a(0x2d8)][_0x4e3b9a(0x1da)](_0x167188=>_0x11fe18[_0x4e3b9a(0x35e)][_0x167188])['find'](_0x29187b=>Pt(_0x29187b)&&_0x29187b['id']!==_0xfb0250))==null?void 0x0:_0x29bba3['id'];}function Pt(_0x47fe8e){const _0x53ec6a=_0xa3b18d;return!!_0x47fe8e&&_0x47fe8e[_0x53ec6a(0x177)]===e[_0x53ec6a(0x17a)][_0x53ec6a(0x224)]&&_0x47fe8e['readonly']!==!0x0&&_0x47fe8e['system']!==!0x0;}const Ft=(0x0,e[_0xa3b18d(0x2db)])(_0xa3b18d(0x372)),It=new Set([e[_0xa3b18d(0x17a)][_0xa3b18d(0x285)],e[_0xa3b18d(0x17a)]['Currency'],e[_0xa3b18d(0x17a)][_0xa3b18d(0x17f)],e[_0xa3b18d(0x17a)][_0xa3b18d(0x232)],e[_0xa3b18d(0x17a)]['Date'],e['BaseFieldType'][_0xa3b18d(0x2bb)],e[_0xa3b18d(0x17a)][_0xa3b18d(0x2e4)],e['BaseFieldType'][_0xa3b18d(0x23b)]]);let Lt=class extends e['Disposable']{constructor(_0x4261e4){const _0x6e0215=_0xa3b18d;super(),this[_0x6e0215(0x175)]=_0x4261e4,I(this,_0x6e0215(0x2e3),new Map()),I(this,_0x6e0215(0x170),new WeakMap()),I(this,_0x6e0215(0x267),new Map()),I(this,_0x6e0215(0x297),new Map()),I(this,_0x6e0215(0x409),new Map()),I(this,_0x6e0215(0x2c7),0x0),I(this,_0x6e0215(0x2ec),new Map()),I(this,'_cellRevisions',new Map()),I(this,_0x6e0215(0x43d),new Map()),I(this,_0x6e0215(0x2af),new Map());}['registerView'](_0x45a360){const _0x341211=_0xa3b18d;return this['_views']['set'](_0x45a360[_0x341211(0x177)],_0x45a360),(0x0,e[_0x341211(0x41b)])(()=>this[_0x341211(0x2e3)][_0x341211(0x3e1)](_0x45a360[_0x341211(0x177)]));}[_0xa3b18d(0x2d2)](_0x5f3518,_0x4e6e44,_0x592fff){const _0x46a236=_0xa3b18d;var _0x47dda8,_0x4b5d2e,_0x18b4c7,_0x544153,_0x1016bf;return o('BaseProjection.getProjection',()=>{const _0x5bf213=_0xfdce;let _0x382b04=this[_0x5bf213(0x252)](_0x5f3518,_0x4e6e44,_0x592fff);if(_0x382b04)return _0x382b04;let _0x17d2ed=_0x5f3518[_0x5bf213(0x258)][_0x4e6e44],_0x31e180=_0x17d2ed==null?void 0x0:_0x17d2ed[_0x5bf213(0x411)][_0x592fff];if(!_0x17d2ed||!_0x31e180){var _0x485f13;return this['_setCachedProjection'](_0x5f3518,_0x4e6e44,_0x592fff,{'type':_0x5bf213(0x2eb),'viewType':(_0x485f13=_0x31e180==null?void 0x0:_0x31e180[_0x5bf213(0x177)])==null?e[_0x5bf213(0x318)][_0x5bf213(0x1a5)]:_0x485f13,'reason':'missingField'});}let _0x137049;switch(_0x31e180[_0x5bf213(0x177)]){case e[_0x5bf213(0x318)]['Grid']:_0x137049=this[_0x5bf213(0x2c3)](_0x17d2ed,_0x31e180);break;case e[_0x5bf213(0x318)]['Gantt']:_0x137049=this[_0x5bf213(0x3f0)](_0x17d2ed,_0x31e180);break;case e[_0x5bf213(0x318)][_0x5bf213(0x415)]:_0x137049=this[_0x5bf213(0x398)](_0x17d2ed,_0x31e180);break;case e[_0x5bf213(0x318)][_0x5bf213(0x197)]:_0x137049=this[_0x5bf213(0x206)](_0x17d2ed,_0x31e180);break;case e[_0x5bf213(0x318)]['Gallery']:_0x137049=this[_0x5bf213(0x1d1)](_0x17d2ed,_0x31e180);break;default:_0x137049={'type':'invalid','viewType':_0x31e180['type'],'reason':_0x5bf213(0x201)};}return this[_0x5bf213(0x348)](_0x5f3518,_0x4e6e44,_0x592fff,_0x137049);},{'tableId':_0x4e6e44,'viewId':_0x592fff,'viewType':(_0x47dda8=_0x5f3518[_0x46a236(0x258)][_0x4e6e44])==null||(_0x47dda8=_0x47dda8[_0x46a236(0x411)][_0x592fff])==null?void 0x0:_0x47dda8[_0x46a236(0x177)],'records':(_0x4b5d2e=(_0x18b4c7=_0x5f3518[_0x46a236(0x258)][_0x4e6e44])==null||(_0x18b4c7=_0x18b4c7['recordOrder'])==null?void 0x0:_0x18b4c7['length'])==null?Object[_0x46a236(0x1c8)]((_0x544153=(_0x1016bf=_0x5f3518['tables'][_0x4e6e44])==null?void 0x0:_0x1016bf[_0x46a236(0x332)])==null?{}:_0x544153)['length']:_0x4b5d2e});}[_0xa3b18d(0x392)](_0x44d390,_0x2bc5f8,_0x554560){const _0x5c2122=_0xa3b18d;var _0x2a26ab,_0x21443,_0x46e770,_0x38fea2;let _0x291b19=_0x44d390[_0x5c2122(0x258)][_0x2bc5f8],_0x308199=_0x291b19==null?void 0x0:_0x291b19['views'][_0x554560];if(!_0x291b19||!_0x308199)throw Error(_0x5c2122(0x402)+_0x554560+'\x22.');let _0x4d285e=_0x537980=>!!_0x291b19[_0x5c2122(0x35e)][_0x537980],_0x48eea5={..._0x308199,'filter':_0x308199[_0x5c2122(0x314)]?{..._0x308199['filter'],'conditions':_0x308199['filter']['conditions'][_0x5c2122(0x314)](_0xcb9560=>_0x4d285e(_0xcb9560['fieldId']))}:_0x308199[_0x5c2122(0x314)],'sort':(_0x2a26ab=_0x308199[_0x5c2122(0x33d)])==null?void 0x0:_0x2a26ab[_0x5c2122(0x314)](_0x389290=>_0x4d285e(_0x389290[_0x5c2122(0x2ee)])),'group':(_0x21443=_0x308199['group'])==null?void 0x0:_0x21443[_0x5c2122(0x314)](_0x202381=>_0x4d285e(_0x202381['fieldId'])),'fieldOrder':(_0x46e770=_0x308199[_0x5c2122(0x2d8)])==null?void 0x0:_0x46e770[_0x5c2122(0x314)](_0x4d285e),'fieldSettings':Object[_0x5c2122(0x26d)](Object[_0x5c2122(0x217)]((_0x38fea2=_0x308199[_0x5c2122(0x326)])==null?{}:_0x38fea2)[_0x5c2122(0x314)](([_0x5d3d02])=>_0x4d285e(_0x5d3d02)))};if(_0x48eea5[_0x5c2122(0x177)]===_0x5c2122(0x211)){var _0x260734,_0x215dab,_0x4c4b79,_0xaa026a;let _0x25f133=(_0x260734=_0x48eea5[_0x5c2122(0x3af)])==null?{}:_0x260734,_0xf78382=this['_resolveKanbanGroupFieldId'](_0x291b19,_0x48eea5);_0x48eea5[_0x5c2122(0x3af)]={..._0x25f133,'groupFieldId':_0xf78382==null?_0x25f133['groupFieldId']:_0xf78382,'coverFieldId':this[_0x5c2122(0x432)](_0x291b19,_0x25f133),'cardLayout':_0x25f133['cardLayout']==='compose'?_0x5c2122(0x1dc):_0x5c2122(0x2d9),'showFieldNames':_0x25f133[_0x5c2122(0x3a7)]!==!0x1,'fieldSettings':Object[_0x5c2122(0x26d)](Object[_0x5c2122(0x217)]((_0x215dab=_0x25f133[_0x5c2122(0x326)])==null?{}:_0x215dab)[_0x5c2122(0x314)](([_0x263ace])=>_0x4d285e(_0x263ace))),'columnSettings':(_0x4c4b79=_0x25f133[_0x5c2122(0x22e)])==null?{}:_0x4c4b79,'card':{...(_0xaa026a=_0x25f133[_0x5c2122(0x1fb)])==null?{}:_0xaa026a,'fieldIds':this[_0x5c2122(0x342)](_0x291b19,_0x48eea5,_0xf78382==null?'':_0xf78382)}};}return{'repaired':JSON[_0x5c2122(0x23e)](_0x48eea5)!==JSON[_0x5c2122(0x23e)](_0x308199),'view':_0x48eea5};}['invalidateByOp'](){const _0x5dd932=_0xa3b18d;this[_0x5dd932(0x2c7)]++;}['invalidateByCell'](_0x316f79,_0x1d16ce,_0x3a69f4){const _0x35c5f7=_0xa3b18d;var _0x5e9205;let _0x3bcaaa=this['_getCellRevision'](_0x316f79)+0x1;this[_0x35c5f7(0x20e)]['set'](_0x316f79,_0x3bcaaa);let _0x2de8e6=(_0x5e9205=this[_0x35c5f7(0x43d)][_0x35c5f7(0x221)](_0x316f79))==null?[]:_0x5e9205;_0x2de8e6[_0x35c5f7(0x439)]({'revision':_0x3bcaaa,'recordId':_0x1d16ce,'fieldId':_0x3a69f4}),this[_0x35c5f7(0x43d)][_0x35c5f7(0x3e5)](_0x316f79,_0x2de8e6);}['invalidateByField'](_0xfebd33,_0x1daabb){const _0xe065d7=_0xa3b18d;this[_0xe065d7(0x436)](_0xfebd33);}['invalidateByView'](_0x294608,_0x2b05dd){const _0xcf8f64=_0xa3b18d;this[_0xcf8f64(0x2af)][_0xcf8f64(0x3e5)](this[_0xcf8f64(0x459)](_0x294608,_0x2b05dd),this['_getViewRevision'](_0x294608,_0x2b05dd)+0x1);}[_0xa3b18d(0x252)](_0x4a6e95,_0x3bfadf,_0x4b0149){const _0x352755=_0xa3b18d;var _0x393d49;let _0x3a1b05=(_0x393d49=this[_0x352755(0x170)]['get'](_0x4a6e95))==null?void 0x0:_0x393d49[_0x352755(0x221)](this[_0x352755(0x237)](_0x3bfadf,_0x4b0149));return _0x3a1b05&&_0x3a1b05[_0x352755(0x412)]===this[_0x352755(0x2c7)]&&_0x3a1b05[_0x352755(0x21b)]===this[_0x352755(0x45a)](_0x3bfadf)&&_0x3a1b05[_0x352755(0x1bf)]===this['_getCellRevision'](_0x3bfadf)&&_0x3a1b05[_0x352755(0x1f1)]===this[_0x352755(0x286)](_0x3bfadf,_0x4b0149)?_0x3a1b05[_0x352755(0x330)]:null;}[_0xa3b18d(0x348)](_0x205e5d,_0x36b943,_0x485965,_0x2ff499){const _0x21d38a=_0xa3b18d;let _0x4c22fd=this['_projectionCache'][_0x21d38a(0x221)](_0x205e5d);return _0x4c22fd||(_0x4c22fd=new Map(),this[_0x21d38a(0x170)][_0x21d38a(0x3e5)](_0x205e5d,_0x4c22fd)),_0x4c22fd[_0x21d38a(0x3e5)](this[_0x21d38a(0x237)](_0x36b943,_0x485965),{'projection':_0x2ff499,'globalRevision':this[_0x21d38a(0x2c7)],'tableRevision':this[_0x21d38a(0x45a)](_0x36b943),'cellRevision':this[_0x21d38a(0x331)](_0x36b943),'viewRevision':this[_0x21d38a(0x286)](_0x36b943,_0x485965)}),_0x2ff499;}[_0xa3b18d(0x436)](_0x500746){const _0x5695e3=_0xa3b18d;this['_tableRevisions']['set'](_0x500746,this[_0x5695e3(0x45a)](_0x500746)+0x1);}[_0xa3b18d(0x45a)](_0x26b3f7){const _0x490dab=_0xa3b18d;var _0x57c71d;return(_0x57c71d=this[_0x490dab(0x2ec)][_0x490dab(0x221)](_0x26b3f7))==null?0x0:_0x57c71d;}['_getCellRevision'](_0x4338fd){const _0x4ccd80=_0xa3b18d;var _0x29239d;return(_0x29239d=this[_0x4ccd80(0x20e)]['get'](_0x4338fd))==null?0x0:_0x29239d;}[_0xa3b18d(0x286)](_0x5679a4,_0xaae13){const _0x21deba=_0xa3b18d;var _0x1b086a;return(_0x1b086a=this[_0x21deba(0x2af)]['get'](this[_0x21deba(0x459)](_0x5679a4,_0xaae13)))==null?0x0:_0x1b086a;}[_0xa3b18d(0x237)](_0x4b17e8,_0x125299){return _0x4b17e8+'\x00'+_0x125299;}[_0xa3b18d(0x47a)](_0x1d9e41,_0x1bcca3){return _0x1d9e41+'\x00'+this['_rowTransformCacheSegment'](_0x1bcca3);}[_0xa3b18d(0x380)](_0x1f7f76,_0x4e5a23,_0x1dd569){const _0x5f3ae5=_0xa3b18d;return _0x1f7f76+'\x00'+this[_0x5f3ae5(0x23f)](_0x4e5a23)+'\x00'+this['_groupConfigCacheSegment'](_0x1dd569);}[_0xa3b18d(0x23f)](_0x1e6a80){const _0x34bfb6=_0xa3b18d;return _0x1e6a80?Ut({'filter':Vt(_0x1e6a80['filter']),'sort':Ht(_0x1e6a80[_0x34bfb6(0x33d)])}):'__all__';}[_0xa3b18d(0x40d)](_0x36deb1){const _0x5aec3d=_0xa3b18d;return Ut(_0x36deb1[_0x5aec3d(0x1da)](_0x379436=>{const _0x5cb864=_0x5aec3d;var _0x35d788;return{'fieldId':_0x379436[_0x5cb864(0x2ee)],'direction':(_0x35d788=_0x379436['direction'])==null?null:_0x35d788};}));}[_0xa3b18d(0x459)](_0x192923,_0x1cf7af){return _0x192923+'\x00'+_0x1cf7af;}['_buildGrid'](_0x4811bc,_0x37b07f){const _0x58eff8=_0xa3b18d;let _0x4658e3=this[_0x58eff8(0x47f)](_0x4811bc,_0x37b07f);return{'type':e[_0x58eff8(0x318)]['Grid'],'fields':this['_projectFields'](_0x4811bc,_0x37b07f),'rows':_0x4658e3,'groups':this[_0x58eff8(0x434)](_0x4811bc,_0x37b07f,_0x4658e3),'frozenFieldCount':typeof _0x37b07f['config'][_0x58eff8(0x21c)]==_0x58eff8(0x3fe)?_0x37b07f['config'][_0x58eff8(0x21c)]:0x0};}[_0xa3b18d(0x398)](_0x20a73b,_0x4994a9){const _0xa1127d=_0xa3b18d;var _0x497762;let _0x12738d=this[_0xa1127d(0x27d)](_0x20a73b,_0x4994a9),_0x9f36ad=_0x12738d?_0x20a73b[_0xa1127d(0x35e)][_0x12738d]:void 0x0;if(!_0x9f36ad)return{'type':_0xa1127d(0x2eb),'viewType':e[_0xa1127d(0x318)]['Kanban'],'reason':'invalidGroupField','fieldId':_0x4994a9['config'][_0xa1127d(0x40c)]};let _0x2c67ea=this['_projectRows'](_0x20a73b,_0x4994a9),_0x2fa671=this[_0xa1127d(0x202)](_0x20a73b,_0x4994a9),_0x62e4e8=(_0x497762=_0x4994a9['config'])==null?{}:_0x497762,_0x351a0e=this['_resolveKanbanCardFieldIds'](_0x20a73b,_0x4994a9,_0x9f36ad['id']),_0x3b5cae=new Map();return this[_0xa1127d(0x23c)](_0x9f36ad,_0x62e4e8)[_0xa1127d(0x465)](_0x438290=>_0x3b5cae[_0xa1127d(0x3e5)](_0x438290[_0xa1127d(0x212)],{..._0x438290,'recordIds':[]})),_0x2c67ea[_0xa1127d(0x465)](_0x564cd9=>{const _0x131ab6=_0xa1127d;this[_0x131ab6(0x219)](_0x9f36ad,_0x564cd9[_0x131ab6(0x29e)][_0x9f36ad['id']])['forEach'](_0x7511a7=>{const _0x4a063c=_0x131ab6;let _0x5d95cd=_0x3b5cae[_0x4a063c(0x221)](_0x7511a7),_0x11bebe=_0x5d95cd==null?{'key':_0x7511a7,'title':this['_kanbanLaneTitle'](_0x9f36ad,_0x7511a7,_0x62e4e8),'color':this[_0x4a063c(0x37e)](_0x9f36ad,_0x7511a7,_0x62e4e8),'recordIds':[]}:_0x5d95cd;_0x11bebe[_0x4a063c(0x312)]['push'](_0x564cd9['recordId']),_0x3b5cae[_0x4a063c(0x3e5)](_0x7511a7,_0x11bebe);});}),{'type':e[_0xa1127d(0x318)][_0xa1127d(0x415)],'fields':_0x2fa671,'rows':_0x2c67ea,'groups':this['_projectGroups'](_0x20a73b,_0x4994a9,_0x2c67ea),'groupFieldId':_0x9f36ad['id'],'coverFieldId':this[_0xa1127d(0x432)](_0x20a73b,_0x62e4e8),'cardLayout':_0x62e4e8['cardLayout']===_0xa1127d(0x1dc)?_0xa1127d(0x1dc):_0xa1127d(0x2d9),'showFieldNames':_0x62e4e8['showFieldNames']!==!0x1,'visibleCardFieldIds':_0x351a0e,'lanes':Array[_0xa1127d(0x3aa)](_0x3b5cae['values']())};}['_resolveKanbanGroupFieldId'](_0x3bdeb8,_0x25cd55){const _0x1720ea=_0xa3b18d;var _0x2c910f;let _0x5c8945=(_0x2c910f=_0x25cd55[_0x1720ea(0x3af)])==null?void 0x0:_0x2c910f[_0x1720ea(0x40c)];return _0x5c8945&&this[_0x1720ea(0x433)](_0x3bdeb8,_0x5c8945)?_0x5c8945:this[_0x1720ea(0x1b5)](_0x3bdeb8,_0x498b36=>this['_isAllowedKanbanGroupField'](_0x498b36));}['_findKanbanGroupField'](_0x2e7b55,_0x5e5ebc){const _0xf471ef=_0xa3b18d;for(let _0x54e137 of _0x2e7b55[_0xf471ef(0x2d8)]){let _0x394b85=_0x2e7b55['fields'][_0x54e137];if(_0x394b85&&_0x5e5ebc(_0x394b85))return _0x394b85['id'];}return null;}[_0xa3b18d(0x433)](_0x539daf,_0xbcc541){const _0x5330b5=_0xa3b18d;let _0x1e6176=_0x539daf[_0x5330b5(0x35e)][_0xbcc541];return this['_isAllowedKanbanGroupField'](_0x1e6176);}['_isAllowedKanbanGroupField'](_0x24bef6){const _0x5d7ba7=_0xa3b18d;return!!_0x24bef6&&(_0x24bef6['type']===e[_0x5d7ba7(0x17a)]['SingleSelect']||_0x24bef6['type']===e['BaseFieldType'][_0x5d7ba7(0x35d)]||_0x24bef6[_0x5d7ba7(0x177)]===e[_0x5d7ba7(0x17a)][_0x5d7ba7(0x232)]||_0x24bef6[_0x5d7ba7(0x177)]===e['BaseFieldType'][_0x5d7ba7(0x2bc)]||_0x24bef6[_0x5d7ba7(0x177)]===e[_0x5d7ba7(0x17a)]['Group']||_0x24bef6[_0x5d7ba7(0x177)]===e['BaseFieldType'][_0x5d7ba7(0x23b)]);}[_0xa3b18d(0x38b)](_0x3b8329){const _0x2a04a5=_0xa3b18d;return _0x3b8329[_0x2a04a5(0x177)]===e[_0x2a04a5(0x17a)][_0x2a04a5(0x3b7)]||_0x3b8329[_0x2a04a5(0x177)]===e[_0x2a04a5(0x17a)][_0x2a04a5(0x35d)];}['_resolveKanbanCoverFieldId'](_0x22a805,_0x4d5eeb){const _0x1bf12e=_0xa3b18d;var _0x4e85ed,_0x24bf81,_0x5d211a;let _0x44f3d0=(_0x4e85ed=(_0x24bf81=_0x4d5eeb[_0x1bf12e(0x354)])==null?(_0x5d211a=_0x4d5eeb['card'])==null?void 0x0:_0x5d211a[_0x1bf12e(0x354)]:_0x24bf81)==null?null:_0x4e85ed;if(!_0x44f3d0)return null;let _0x1e9c7a=_0x22a805[_0x1bf12e(0x35e)][_0x44f3d0];return _0x1e9c7a&&this[_0x1bf12e(0x249)](_0x1e9c7a)[_0x1bf12e(0x3b5)]?_0x1e9c7a['id']:null;}[_0xa3b18d(0x342)](_0x36c2be,_0x2aa9ed,_0x5b0833){const _0x2af60e=_0xa3b18d;var _0x1e0e0b,_0x37080c,_0x2456b6;let _0x141d95=(_0x1e0e0b=_0x2aa9ed[_0x2af60e(0x3af)])==null?{}:_0x1e0e0b,_0x59ec97=!((_0x37080c=_0x141d95['card'])==null||(_0x37080c=_0x37080c['fieldIds'])==null)&&_0x37080c[_0x2af60e(0x333)]?_0x141d95['card'][_0x2af60e(0x454)]:U(_0x36c2be,[_0x36c2be[_0x2af60e(0x419)],_0x5b0833]),_0x4519a9=(_0x2456b6=_0x141d95[_0x2af60e(0x326)])==null?{}:_0x2456b6;return _0x59ec97[_0x2af60e(0x314)](_0x10fa9c=>{const _0x5dd3e8=_0x2af60e;var _0x2eeb85,_0xa3634e;let _0x2fc300=_0x36c2be[_0x5dd3e8(0x35e)][_0x10fa9c];return!(!_0x2fc300||_0x2fc300['id']===_0x5b0833||!((_0x2eeb85=_0x2aa9ed[_0x5dd3e8(0x326)])==null||(_0x2eeb85=_0x2eeb85[_0x10fa9c])==null)&&_0x2eeb85[_0x5dd3e8(0x174)]||(_0xa3634e=_0x4519a9[_0x10fa9c])!=null&&_0xa3634e[_0x5dd3e8(0x174)]);})['sort']((_0x4dd4a7,_0x35355c)=>{const _0x3cbcee=_0x2af60e;var _0x591d79,_0x9e8f7b,_0x39017f,_0x48df6e;return((_0x591d79=(_0x9e8f7b=_0x4519a9[_0x4dd4a7])==null?void 0x0:_0x9e8f7b[_0x3cbcee(0x277)])==null?_0x59ec97[_0x3cbcee(0x2dd)](_0x4dd4a7):_0x591d79)-((_0x39017f=(_0x48df6e=_0x4519a9[_0x35355c])==null?void 0x0:_0x48df6e[_0x3cbcee(0x277)])==null?_0x59ec97[_0x3cbcee(0x2dd)](_0x35355c):_0x39017f);});}['_getKanbanConfiguredLanes'](_0x583424,_0x22f055){const _0x852bc1=_0xa3b18d;var _0xc55d8a,_0x129912;let _0x14d222=(Array[_0x852bc1(0x18c)]((_0xc55d8a=_0x583424[_0x852bc1(0x3af)])==null?void 0x0:_0xc55d8a[_0x852bc1(0x275)])?_0x583424[_0x852bc1(0x3af)][_0x852bc1(0x275)]:[])[_0x852bc1(0x2f9)]((_0x2689fb,_0x352075)=>{const _0x2e14f3=_0x852bc1;var _0x13927d,_0x40d129,_0x168894,_0x2d6176;if(_0x2689fb==null)return[];let _0x5d10c8=typeof _0x2689fb==_0x2e14f3(0x181)?{'id':_0x2689fb,'name':_0x2689fb,'color':void 0x0}:_0x2689fb,_0xde5324=String((_0x13927d=(_0x40d129=_0x5d10c8['id'])==null?_0x5d10c8[_0x2e14f3(0x2cb)]:_0x40d129)==null?'option-'+(_0x352075+0x1):_0x13927d);return[{'key':_0xde5324,'title':String((_0x168894=(_0x2d6176=_0x5d10c8[_0x2e14f3(0x2cb)])==null?_0x5d10c8['id']:_0x2d6176)==null?_0xde5324:_0x168894),'color':this[_0x2e14f3(0x37e)](_0x583424,_0xde5324,_0x22f055)}];});return Object[_0x852bc1(0x217)]((_0x129912=_0x22f055[_0x852bc1(0x22e)])==null?{}:_0x129912)[_0x852bc1(0x465)](([_0x32eb2b,_0x3ff73a])=>{const _0x1ac563=_0x852bc1;var _0x57dd50;_0x14d222[_0x1ac563(0x24e)](_0x5dcb52=>_0x5dcb52['key']===_0x32eb2b)||_0x14d222['push']({'key':_0x32eb2b,'title':this[_0x1ac563(0x38b)](_0x583424)?(_0x57dd50=_0x3ff73a[_0x1ac563(0x3e3)])==null?this[_0x1ac563(0x336)](_0x583424,_0x32eb2b,_0x22f055):_0x57dd50:this['_kanbanLaneTitle'](_0x583424,_0x32eb2b,_0x22f055),'color':this[_0x1ac563(0x37e)](_0x583424,_0x32eb2b,_0x22f055)});}),_0x14d222;}[_0xa3b18d(0x219)](_0x17e08a,_0x3fccaa){const _0x6f1aaa=_0xa3b18d;let _0x3d2ef1=_0x49893f=>{const _0x57fc2f=_0xfdce;var _0x488d37,_0x5f12f9;let _0x47a8c9=_0x49893f==null?'':String(_0x49893f);return!_0x47a8c9||!this[_0x57fc2f(0x38b)](_0x17e08a)||(_0x488d37=(_0x5f12f9=q(_0x17e08a,_0x47a8c9))==null?void 0x0:_0x5f12f9['id'])==null?_0x47a8c9:_0x488d37;};if(Array[_0x6f1aaa(0x18c)](_0x3fccaa)){let _0x11ff0c=_0x3fccaa[_0x6f1aaa(0x1da)](_0x3d2ef1)[_0x6f1aaa(0x314)](_0x4c5547=>_0x4c5547!=='');return _0x11ff0c[_0x6f1aaa(0x333)]?_0x11ff0c:[''];}return[_0x3d2ef1(_0x3fccaa)];}[_0xa3b18d(0x336)](_0xc4540f,_0x207880,_0x4702db){const _0xe43f4d=_0xa3b18d;var _0xb945ed;if(!_0x207880)return _0xe43f4d(0x388);let _0x43cda3=q(_0xc4540f,_0x207880);return(_0xb945ed=_0x43cda3==null?void 0x0:_0x43cda3['name'])==null?_0x207880:_0xb945ed;}[_0xa3b18d(0x37e)](_0x252927,_0x53b06d,_0x493521){const _0x228b07=_0xa3b18d;var _0x3c3297;if(this['_isColorfulKanbanGroupField'](_0x252927))return(_0x3c3297=q(_0x252927,_0x53b06d))==null?void 0x0:_0x3c3297[_0x228b07(0x413)];}[_0xa3b18d(0x206)](_0x59bf9b,_0x2ef38f){const _0x146f33=_0xa3b18d;var _0x29cf74;let _0x2dbb51=this[_0x146f33(0x360)](_0x59bf9b,(_0x29cf74=_0x2ef38f[_0x146f33(0x3af)])==null?{}:_0x29cf74),_0xdf157b=_0x59bf9b[_0x146f33(0x35e)][_0x2dbb51[_0x146f33(0x2ad)]];if(!_0xdf157b||_0xdf157b[_0x146f33(0x177)]!==e[_0x146f33(0x17a)]['Date']||_0xdf157b[_0x146f33(0x1ab)]===!0x0||_0xdf157b['system']===!0x0||!this[_0x146f33(0x249)](_0xdf157b)[_0x146f33(0x3c2)])return{'type':'invalid','viewType':e[_0x146f33(0x318)][_0x146f33(0x197)],'reason':_0x146f33(0x447),'fieldId':_0x2dbb51[_0x146f33(0x2ad)]};let _0x46c529=_0x2dbb51[_0x146f33(0x34a)]?_0x59bf9b[_0x146f33(0x35e)][_0x2dbb51['endDateFieldId']]:void 0x0,_0x18c0b0=this[_0x146f33(0x47f)](_0x59bf9b,_0x2ef38f);return{'type':e[_0x146f33(0x318)][_0x146f33(0x197)],'config':_0x2dbb51,'fields':this[_0x146f33(0x202)](_0x59bf9b,_0x2ef38f),'rows':_0x18c0b0,'groups':this[_0x146f33(0x434)](_0x59bf9b,_0x2ef38f,_0x18c0b0),'events':_0x18c0b0[_0x146f33(0x2f9)](_0x5d58de=>{const _0x66e6eb=_0x146f33;let _0x4dc3a8=D(_0x5d58de[_0x66e6eb(0x29e)][_0x2dbb51['startDateFieldId']]);if(!Number['isFinite'](_0x4dc3a8))return[];let _0x86b87d=_0x5d58de[_0x66e6eb(0x29e)][_0x2dbb51[_0x66e6eb(0x2ad)]],_0x24be40=_0x2dbb51[_0x66e6eb(0x34a)]==null?void 0x0:_0x5d58de['values'][_0x2dbb51['endDateFieldId']],_0x26973c=_0x2dbb51['endDateFieldId']==null?void 0x0:D(_0x24be40),_0x5248f2=Number[_0x66e6eb(0x2f4)](_0x26973c)?_0x26973c:void 0x0;return[{'recordId':_0x5d58de[_0x66e6eb(0x2f7)],'title':this[_0x66e6eb(0x437)](_0x59bf9b,_0x5d58de,_0x2dbb51['titleFieldId']),'start':_0x4dc3a8,'end':_0x5248f2,'color':this[_0x66e6eb(0x26a)](_0x59bf9b,_0x5d58de,_0x2dbb51),'startMs':_0x4dc3a8,'endMs':_0x5248f2,'allDay':this[_0x66e6eb(0x463)](_0xdf157b,_0x46c529,_0x86b87d,_0x24be40),'fieldValues':_0x5d58de['values']}];})};}[_0xa3b18d(0x360)](_0x41fef5,_0xdd6d37){const _0x5cc563=_0xa3b18d;var _0x2fae10,_0x5a1266;let _0x52c6ef=this[_0x5cc563(0x2b0)](_0x41fef5,_0xdd6d37['startDateFieldId']),_0x52fe86=_0xdd6d37[_0x5cc563(0x34a)]&&this['_isCalendarDateField'](_0x41fef5,_0xdd6d37[_0x5cc563(0x34a)])?_0xdd6d37[_0x5cc563(0x34a)]:(_0x2fae10=this[_0x5cc563(0x205)](_0x41fef5,_0x52c6ef))==null?void 0x0:_0x2fae10,_0x402c55=_0xdd6d37[_0x5cc563(0x47d)]&&_0x41fef5[_0x5cc563(0x35e)][_0xdd6d37[_0x5cc563(0x47d)]]?_0xdd6d37[_0x5cc563(0x47d)]:_0x41fef5[_0x5cc563(0x419)],_0x11f06c=_0xdd6d37['mode']==='day'||_0xdd6d37[_0x5cc563(0x34f)]===_0x5cc563(0x236)?_0xdd6d37[_0x5cc563(0x34f)]:_0x5cc563(0x39e),_0x5678ce=_0xdd6d37[_0x5cc563(0x185)]===_0x5cc563(0x3e7)||_0xdd6d37['timeslotSize']===_0x5cc563(0x1a3)?_0xdd6d37[_0x5cc563(0x185)]:'medium',_0x30b4f5=typeof _0xdd6d37[_0x5cc563(0x399)]==_0x5cc563(0x181)&&_0xdd6d37[_0x5cc563(0x399)][_0x5cc563(0x41e)]()?_0xdd6d37[_0x5cc563(0x399)]:_0x5cc563(0x1eb),_0x28fd50=this['_normalizeCalendarDisplayColor'](_0x41fef5,_0xdd6d37);return{..._0xdd6d37,'startDateFieldId':_0x52c6ef,'endDateFieldId':_0x52fe86,'titleFieldId':_0x402c55,'mode':_0x11f06c,'timeslotSize':_0x5678ce,'timeZone':_0x30b4f5,'displayColor':_0x28fd50,'fieldSettings':Object[_0x5cc563(0x26d)](Object[_0x5cc563(0x217)]((_0x5a1266=_0xdd6d37[_0x5cc563(0x326)])==null?{}:_0x5a1266)['filter'](([_0x35e9f7])=>!!_0x41fef5[_0x5cc563(0x35e)][_0x35e9f7]))};}['_resolveCalendarDateFieldId'](_0x15a615,_0x43e2ce){const _0x22b32c=_0xa3b18d;var _0x3f04fe,_0x1efd37;return _0x43e2ce&&this[_0x22b32c(0x1b4)](_0x15a615,_0x43e2ce)?_0x43e2ce:(_0x3f04fe=(_0x1efd37=this[_0x22b32c(0x205)](_0x15a615))==null?_0x43e2ce:_0x1efd37)==null?'':_0x3f04fe;}[_0xa3b18d(0x205)](_0x450d81,_0x5a73f5){const _0x3a3e1f=_0xa3b18d;for(let _0x11f4ef of _0x450d81['fieldOrder'])if(_0x11f4ef!==_0x5a73f5&&this[_0x3a3e1f(0x1b4)](_0x450d81,_0x11f4ef))return _0x11f4ef;return null;}[_0xa3b18d(0x1b4)](_0x460210,_0x19cdde){const _0xfba649=_0xa3b18d;let _0x5f3c99=_0x460210['fields'][_0x19cdde];return!!_0x5f3c99&&_0x5f3c99[_0xfba649(0x177)]===e[_0xfba649(0x17a)][_0xfba649(0x224)]&&_0x5f3c99[_0xfba649(0x1ab)]!==!0x0&&_0x5f3c99[_0xfba649(0x35a)]!==!0x0&&this[_0xfba649(0x249)](_0x5f3c99)[_0xfba649(0x3c2)];}[_0xa3b18d(0x308)](_0x2d64e3,_0x20134c){const _0x1cfcfc=_0xa3b18d;let _0xc5d970=_0x20134c[_0x1cfcfc(0x304)];if((_0xc5d970==null?void 0x0:_0xc5d970[_0x1cfcfc(0x177)])===_0x1cfcfc(0x179)){let _0x1f9203=_0x2d64e3[_0x1cfcfc(0x35e)][_0xc5d970[_0x1cfcfc(0x2ee)]];if(_0x1f9203&&_0x1f9203[_0x1cfcfc(0x177)]===e[_0x1cfcfc(0x17a)][_0x1cfcfc(0x3b7)])return _0xc5d970;}if((_0xc5d970==null?void 0x0:_0xc5d970[_0x1cfcfc(0x177)])===_0x1cfcfc(0x284)&&typeof _0xc5d970[_0x1cfcfc(0x413)]==_0x1cfcfc(0x181)&&_0xc5d970[_0x1cfcfc(0x413)]['trim']())return{'type':_0x1cfcfc(0x284),'color':_0xc5d970['color']};if(_0x20134c[_0x1cfcfc(0x3f1)]){let _0x2acff6=_0x2d64e3[_0x1cfcfc(0x35e)][_0x20134c[_0x1cfcfc(0x3f1)]];if(_0x2acff6&&_0x2acff6['type']===e[_0x1cfcfc(0x17a)][_0x1cfcfc(0x3b7)])return{'type':_0x1cfcfc(0x179),'fieldId':_0x20134c[_0x1cfcfc(0x3f1)]};}return{'type':_0x1cfcfc(0x284),'color':_0x1cfcfc(0x295)};}[_0xa3b18d(0x26a)](_0x1c710a,_0x2afb5d,_0x59412a){const _0x421632=_0xa3b18d;let _0x51fe46=_0x59412a[_0x421632(0x304)];if((_0x51fe46==null?void 0x0:_0x51fe46[_0x421632(0x177)])===_0x421632(0x179)){var _0x49b06d;let _0x49b83e=_0x1c710a[_0x421632(0x35e)][_0x51fe46[_0x421632(0x2ee)]];if(!_0x49b83e)return;let _0x44eb93=_0x2afb5d[_0x421632(0x29e)][_0x51fe46[_0x421632(0x2ee)]],_0x3ef059=Array[_0x421632(0x18c)](_0x44eb93)?_0x44eb93[0x0]:_0x44eb93;return _0x3ef059==null||(_0x49b06d=q(_0x49b83e,String(_0x3ef059)))==null?void 0x0:_0x49b06d[_0x421632(0x413)];}if((_0x51fe46==null?void 0x0:_0x51fe46[_0x421632(0x177)])==='custom')return _0x51fe46[_0x421632(0x413)];}[_0xa3b18d(0x463)](_0x5ce854,_0x4d09b8,_0x5c3f73,_0x2d3085){const _0x165a8e=_0xa3b18d;var _0x2336f4,_0x39f3d3;let _0x2e99d7=((_0x2336f4=_0x5ce854['config'])==null?void 0x0:_0x2336f4[_0x165a8e(0x283)])===!0x0,_0x77fbb5=(_0x4d09b8==null||(_0x39f3d3=_0x4d09b8[_0x165a8e(0x3af)])==null?void 0x0:_0x39f3d3[_0x165a8e(0x283)])===!0x0;return!_0x2e99d7&&!_0x77fbb5;}[_0xa3b18d(0x255)](_0x462b2a,_0xcdab87){const _0x2b7760=_0xa3b18d;var _0xb13c2e,_0x2dd1ef;let _0x2878a2=((_0xb13c2e=_0x462b2a[_0x2b7760(0x3af)])==null?void 0x0:_0xb13c2e[_0x2b7760(0x283)])===!0x0,_0x1717ef=((_0x2dd1ef=_0xcdab87['config'])==null?void 0x0:_0x2dd1ef['includeTime'])===!0x0;return!_0x2878a2&&!_0x1717ef;}[_0xa3b18d(0x3f0)](_0x1503d2,_0x182942){const _0x5da864=_0xa3b18d;let _0x9166fc=this[_0x5da864(0x259)](_0x1503d2,_0x182942[_0x5da864(0x3af)]),_0xa7474e=_0x1503d2[_0x5da864(0x35e)][_0x9166fc[_0x5da864(0x2ad)]];if(!_0xa7474e||_0xa7474e[_0x5da864(0x177)]!==e[_0x5da864(0x17a)][_0x5da864(0x224)]||_0xa7474e['readonly']===!0x0||_0xa7474e[_0x5da864(0x35a)]===!0x0||!this[_0x5da864(0x249)](_0xa7474e)[_0x5da864(0x1aa)])return{'type':_0x5da864(0x2eb),'viewType':e['BaseViewType'][_0x5da864(0x3bf)],'reason':_0x5da864(0x24d),'fieldId':_0x9166fc[_0x5da864(0x2ad)]};let _0x29761b=_0x1503d2[_0x5da864(0x35e)][_0x9166fc[_0x5da864(0x34a)]];if(!_0x29761b||_0x29761b[_0x5da864(0x177)]!==e[_0x5da864(0x17a)][_0x5da864(0x224)]||_0x29761b[_0x5da864(0x1ab)]===!0x0||_0x29761b[_0x5da864(0x35a)]===!0x0||!this['_capabilities'](_0x29761b)[_0x5da864(0x2c9)])return{'type':_0x5da864(0x2eb),'viewType':e[_0x5da864(0x318)][_0x5da864(0x3bf)],'reason':_0x5da864(0x273),'fieldId':_0x9166fc[_0x5da864(0x34a)]};let _0x39a586=this['_isAllDayGanttDateRange'](_0xa7474e,_0x29761b),_0x52f6c3=this['_projectRows'](_0x1503d2,_0x182942),_0x5326e3=_0x52f6c3[_0x5da864(0x2f9)](_0x2fcb8c=>{const _0x369457=_0x5da864;var _0x4bcf77;let _0xe8bbfb=D(_0x2fcb8c[_0x369457(0x29e)][_0x9166fc[_0x369457(0x2ad)]]),_0x3ab7cf=D(_0x2fcb8c[_0x369457(0x29e)][_0x9166fc[_0x369457(0x34a)]]);if(!Number[_0x369457(0x2f4)](_0xe8bbfb)||!Number[_0x369457(0x2f4)](_0x3ab7cf))return[];let _0x471aaa=Math[_0x369457(0x358)](_0xe8bbfb,_0x3ab7cf),_0x32555a=Math['max'](_0xe8bbfb,_0x3ab7cf),_0x5b44b3=_0x9166fc[_0x369457(0x45c)]==null?void 0x0:Number(_0x2fcb8c['values'][_0x9166fc[_0x369457(0x45c)]]);return[{'recordId':_0x2fcb8c[_0x369457(0x2f7)],'title':this[_0x369457(0x437)](_0x1503d2,_0x2fcb8c,_0x9166fc[_0x369457(0x47d)]),'start':_0x471aaa,'end':_0x32555a,'color':this[_0x369457(0x361)](_0x1503d2,_0x2fcb8c,_0x9166fc),'progress':Number[_0x369457(0x2f4)](_0x5b44b3)?_0x5b44b3:void 0x0,'workingDayCount':_0x9166fc[_0x369457(0x366)]?en(_0x471aaa,_0x32555a,_0x9166fc['workingDays']):void 0x0,'dependencyRecordIds':this[_0x369457(0x17d)](_0x2fcb8c[_0x369457(0x29e)][(_0x4bcf77=_0x9166fc['dependencyFieldId'])==null?'':_0x4bcf77])}];}),_0x11f9c0=_0x5326e3[_0x5da864(0x333)]?G(Math[_0x5da864(0x358)](..._0x5326e3[_0x5da864(0x1da)](_0x2d592b=>_0x2d592b['start']))-0x5a*W):G(Date[_0x5da864(0x1c3)]()-0x5a*W),_0x2316c8=_0x5326e3[_0x5da864(0x333)]?G(Math[_0x5da864(0x21a)](..._0x5326e3[_0x5da864(0x1da)](_0x14ad0a=>_0x14ad0a[_0x5da864(0x25c)]))+0x5b*W):G(Date[_0x5da864(0x1c3)]()+0x5b*W),_0x395acc=Kt(_0x9166fc[_0x5da864(0x1f7)],_0x11f9c0,_0x2316c8,_0x9166fc['workingDaysOnly']?_0x9166fc[_0x5da864(0x1a9)]:void 0x0);return{'type':e[_0x5da864(0x318)][_0x5da864(0x3bf)],'fields':this[_0x5da864(0x202)](_0x1503d2,{..._0x182942,'config':_0x9166fc}),'rows':_0x52f6c3,'groups':this['_projectGroups'](_0x1503d2,_0x182942,_0x52f6c3),'config':_0x9166fc,'dateRangeAllDay':_0x39a586,'timeline':{'scale':_0x9166fc['scale'],'start':_0x11f9c0,'end':_0x2316c8,'unitWidth':_0x395acc[_0x5da864(0x257)],'majorHeaders':_0x395acc[_0x5da864(0x371)],'columns':_0x395acc[_0x5da864(0x2fd)]},'bars':_0x5326e3};}[_0xa3b18d(0x259)](_0x18211b,_0x5360e4){const _0x2f8512=_0xa3b18d;var _0x32a073;let _0x212ad2=this[_0x2f8512(0x1ac)](_0x18211b,_0x5360e4['startDateFieldId'],'start'),_0x4175b7=this['_resolveGanttDateFieldId'](_0x18211b,_0x5360e4[_0x2f8512(0x34a)],_0x2f8512(0x25c))||_0x212ad2,_0x480605=_0x5360e4[_0x2f8512(0x47d)]&&_0x18211b[_0x2f8512(0x35e)][_0x5360e4[_0x2f8512(0x47d)]]?_0x5360e4[_0x2f8512(0x47d)]:_0x18211b['primaryFieldId'],_0x5dfd73=_0x5360e4[_0x2f8512(0x1f7)]===_0x2f8512(0x236)||_0x5360e4[_0x2f8512(0x1f7)]===_0x2f8512(0x3c5)||_0x5360e4['scale']===_0x2f8512(0x39f)?_0x5360e4[_0x2f8512(0x1f7)]:_0x2f8512(0x39e),_0x346225=Gt(_0x5360e4[_0x2f8512(0x1a9)]);return{..._0x5360e4,'startDateFieldId':_0x212ad2,'endDateFieldId':_0x4175b7,'titleFieldId':_0x480605,'scale':_0x5dfd73,'leftPaneWidth':typeof _0x5360e4[_0x2f8512(0x1ed)]==_0x2f8512(0x3fe)?_0x5360e4[_0x2f8512(0x1ed)]:void 0x0,'leftPaneCollapsed':_0x5360e4[_0x2f8512(0x401)]===!0x0,'showTodayLine':_0x5360e4[_0x2f8512(0x2a2)]!==!0x1,'displayColor':this[_0x2f8512(0x307)](_0x18211b,_0x5360e4),'fieldSettings':Object[_0x2f8512(0x26d)](Object[_0x2f8512(0x217)]((_0x32a073=_0x5360e4[_0x2f8512(0x326)])==null?{}:_0x32a073)[_0x2f8512(0x314)](([_0x387894])=>!!_0x18211b[_0x2f8512(0x35e)][_0x387894])),'workingDaysOnly':_0x5360e4[_0x2f8512(0x366)]===!0x0,'workingDays':_0x346225};}[_0xa3b18d(0x1ac)](_0x2d8b31,_0x4df470,_0x2a13f2){const _0x1caf05=_0xa3b18d;if(_0x4df470&&this[_0x1caf05(0x264)](_0x2d8b31,_0x4df470,_0x2a13f2)||_0x4df470)return _0x4df470;for(let _0x4e3205 of _0x2d8b31['fieldOrder'])if(this['_isGanttDateField'](_0x2d8b31,_0x4e3205,_0x2a13f2))return _0x4e3205;return _0x4df470==null?'':_0x4df470;}[_0xa3b18d(0x264)](_0xbe0598,_0x2fe54e,_0x420f66){const _0x321e61=_0xa3b18d;let _0x131bb0=_0xbe0598[_0x321e61(0x35e)][_0x2fe54e];if(!_0x131bb0||_0x131bb0[_0x321e61(0x177)]!==e[_0x321e61(0x17a)][_0x321e61(0x224)]||_0x131bb0['readonly']===!0x0||_0x131bb0['system']===!0x0)return!0x1;let _0x1a24fb=this[_0x321e61(0x249)](_0x131bb0);return _0x420f66===_0x321e61(0x384)?_0x1a24fb[_0x321e61(0x1aa)]:_0x1a24fb[_0x321e61(0x2c9)];}[_0xa3b18d(0x307)](_0xf06c5d,_0x50fbb4){const _0xcb5f62=_0xa3b18d;let _0x3f1ef8=_0x50fbb4['displayColor'];if((_0x3f1ef8==null?void 0x0:_0x3f1ef8['type'])===_0xcb5f62(0x179)){let _0x45c61e=_0xf06c5d[_0xcb5f62(0x35e)][_0x3f1ef8[_0xcb5f62(0x2ee)]];if(_0x45c61e&&_0x45c61e['type']===e[_0xcb5f62(0x17a)][_0xcb5f62(0x3b7)])return _0x3f1ef8;}return(_0x3f1ef8==null?void 0x0:_0x3f1ef8[_0xcb5f62(0x177)])===_0xcb5f62(0x1ad)&&Array[_0xcb5f62(0x18c)](_0x3f1ef8['rules'])?{'type':_0xcb5f62(0x1ad),'rules':_0x3f1ef8[_0xcb5f62(0x3a5)]['filter'](_0x3b7fa2=>!!_0xf06c5d[_0xcb5f62(0x35e)][_0x3b7fa2['fieldId']])}:(_0x3f1ef8==null?void 0x0:_0x3f1ef8[_0xcb5f62(0x177)])===_0xcb5f62(0x284)&&typeof _0x3f1ef8[_0xcb5f62(0x413)]==_0xcb5f62(0x181)&&_0x3f1ef8[_0xcb5f62(0x413)][_0xcb5f62(0x41e)]()?{'type':_0xcb5f62(0x284),'color':_0x3f1ef8[_0xcb5f62(0x413)]}:{'type':_0xcb5f62(0x284),'color':'#14b8a6'};}[_0xa3b18d(0x361)](_0x13dcb7,_0x547b6e,_0x407e58){const _0x4959f0=_0xa3b18d;let _0x3f1cbd=_0x407e58[_0x4959f0(0x304)];if((_0x3f1cbd==null?void 0x0:_0x3f1cbd[_0x4959f0(0x177)])===_0x4959f0(0x1ad)){let _0x2bfcea=_0x3f1cbd[_0x4959f0(0x3a5)][_0x4959f0(0x484)](_0xa11db5=>this[_0x4959f0(0x3a4)](_0x13dcb7,_0x547b6e,_0xa11db5));if(_0x2bfcea)return _0x2bfcea['color'];}if((_0x3f1cbd==null?void 0x0:_0x3f1cbd['type'])==='selectField'){let _0x5544ff=_0x13dcb7[_0x4959f0(0x35e)][_0x3f1cbd[_0x4959f0(0x2ee)]];if(_0x5544ff){var _0x148dd6;let _0x3a3254=_0x547b6e[_0x4959f0(0x29e)][_0x3f1cbd[_0x4959f0(0x2ee)]],_0x5e7d06=Array['isArray'](_0x3a3254)?_0x3a3254[0x0]:_0x3a3254,_0x1d26b8=_0x5e7d06==null||(_0x148dd6=q(_0x5544ff,String(_0x5e7d06)))==null?void 0x0:_0x148dd6[_0x4959f0(0x413)];if(_0x1d26b8)return _0x1d26b8;}}return(_0x3f1cbd==null?void 0x0:_0x3f1cbd[_0x4959f0(0x177)])===_0x4959f0(0x284)?_0x3f1cbd['color']:'#14b8a6';}[_0xa3b18d(0x3a4)](_0x2b99e0,_0x522835,_0x21cc05){const _0x13f85c=_0xa3b18d;let _0x3d4a08=_0x2b99e0[_0x13f85c(0x35e)][_0x21cc05[_0x13f85c(0x2ee)]];return _0x3d4a08?Ie(_0x522835['values'][_0x3d4a08['id']],_0x21cc05['operator'],_0x21cc05[_0x13f85c(0x45b)],_0x3d4a08,{'dateMode':_0x21cc05['dateMode']}):!0x1;}[_0xa3b18d(0x1d1)](_0x3815af,_0x1125ae){const _0xbfa473=_0xa3b18d;var _0x55d21e,_0x1a1011,_0x4f0b0e;let _0x3a528e=this[_0xbfa473(0x47f)](_0x3815af,_0x1125ae),_0x4c9df=this[_0xbfa473(0x3c1)](_0x3815af,(_0x55d21e=_0x1125ae[_0xbfa473(0x3af)])==null?{}:_0x55d21e),_0x3dc514=this['_projectFields'](_0x3815af,_0x1125ae);return{'type':e['BaseViewType']['Gallery'],'fields':_0x3dc514,'rows':_0x3a528e,'groups':this[_0xbfa473(0x434)](_0x3815af,_0x1125ae,_0x3a528e),'coverFieldId':_0x4c9df[_0xbfa473(0x354)],'cardLayout':(_0x1a1011=_0x4c9df['cardLayout'])==null?'normal':_0x1a1011,'showFieldNames':_0x4c9df['showFieldNames']!==!0x1,'visibleCardFieldIds':this[_0xbfa473(0x3d3)](_0x3815af,_0x1125ae,_0x4c9df),'cardSize':(_0x4f0b0e=_0x4c9df['cardSize'])==null?_0xbfa473(0x458):_0x4f0b0e,'cards':_0x3a528e[_0xbfa473(0x1da)](_0x53a446=>({'recordId':_0x53a446[_0xbfa473(0x2f7)],'title':this[_0xbfa473(0x437)](_0x3815af,_0x53a446,_0x4c9df[_0xbfa473(0x1fb)][_0xbfa473(0x47d)]),'values':_0x53a446[_0xbfa473(0x29e)]}))};}[_0xa3b18d(0x3c1)](_0x576365,_0x1a0c25){const _0xb0c1c7=_0xa3b18d;var _0x671bdc,_0x2a0786;let _0x3e03c1=(_0x671bdc=_0x1a0c25[_0xb0c1c7(0x1fb)])==null?{'fieldIds':[]}:_0x671bdc,_0x266eed=_0x3e03c1[_0xb0c1c7(0x47d)]&&_0x576365[_0xb0c1c7(0x35e)][_0x3e03c1[_0xb0c1c7(0x47d)]]?_0x3e03c1[_0xb0c1c7(0x47d)]:kt(_0x576365),_0x14ddf5=this[_0xb0c1c7(0x3be)](_0x576365,_0x1a0c25),_0x2b418a=_0x1a0c25[_0xb0c1c7(0x1cc)]==='small'||_0x1a0c25['cardSize']===_0xb0c1c7(0x172)?_0x1a0c25[_0xb0c1c7(0x1cc)]:_0xb0c1c7(0x458);return{..._0x1a0c25,'coverFieldId':_0x14ddf5,'cardLayout':_0x1a0c25[_0xb0c1c7(0x247)]==='compose'?_0xb0c1c7(0x1dc):_0xb0c1c7(0x2d9),'showFieldNames':_0x1a0c25[_0xb0c1c7(0x3a7)]!==!0x1,'fieldSettings':Object[_0xb0c1c7(0x26d)](Object['entries']((_0x2a0786=_0x1a0c25[_0xb0c1c7(0x326)])==null?{}:_0x2a0786)[_0xb0c1c7(0x314)](([_0x3f6c44])=>!!_0x576365[_0xb0c1c7(0x35e)][_0x3f6c44])),'card':{..._0x3e03c1,'titleFieldId':_0x266eed,'coverFieldId':_0x14ddf5,'fieldIds':Array['isArray'](_0x3e03c1[_0xb0c1c7(0x454)])?_0x3e03c1[_0xb0c1c7(0x454)]:[]},'cardSize':_0x2b418a};}[_0xa3b18d(0x3be)](_0x104780,_0x5a5ae9){const _0x578f64=_0xa3b18d;var _0x9996b8,_0x1f117c,_0x17121a;let _0x41ff8b=(_0x9996b8=(_0x1f117c=_0x5a5ae9[_0x578f64(0x354)])==null?(_0x17121a=_0x5a5ae9[_0x578f64(0x1fb)])==null?void 0x0:_0x17121a['coverFieldId']:_0x1f117c)==null?null:_0x9996b8;if(!_0x41ff8b)return null;let _0xbb41a5=_0x104780[_0x578f64(0x35e)][_0x41ff8b];return _0xbb41a5&&this[_0x578f64(0x249)](_0xbb41a5)[_0x578f64(0x3b5)]?_0xbb41a5['id']:null;}[_0xa3b18d(0x3d3)](_0x1a5156,_0x7cec2a,_0x5c9d58){const _0x59513b=_0xa3b18d;var _0x1cf0f5,_0x4102ca,_0x37d6bd,_0x507451,_0x1be07e,_0x5a099e,_0x3054c0;let _0x40b961=(_0x1cf0f5=_0x5c9d58[_0x59513b(0x326)])==null?{}:_0x1cf0f5,_0x4e4d60=(_0x4102ca=(_0x37d6bd=_0x5c9d58[_0x59513b(0x1fb)])==null?void 0x0:_0x37d6bd[_0x59513b(0x47d)])==null?kt(_0x1a5156):_0x4102ca,_0xe1a9af=(_0x507451=(_0x1be07e=_0x5c9d58['coverFieldId'])==null?(_0x5a099e=_0x5c9d58['card'])==null?void 0x0:_0x5a099e[_0x59513b(0x354)]:_0x1be07e)==null?null:_0x507451,_0x154b35=!((_0x3054c0=_0x5c9d58[_0x59513b(0x1fb)])==null||(_0x3054c0=_0x3054c0[_0x59513b(0x454)])==null)&&_0x3054c0['length']?_0x5c9d58[_0x59513b(0x1fb)][_0x59513b(0x454)]:U(_0x1a5156,[_0x4e4d60,_0xe1a9af,_0x1a5156[_0x59513b(0x419)]]);return _0x154b35[_0x59513b(0x314)](_0x2ba3e8=>{const _0x47965c=_0x59513b;var _0x884423,_0x3569b6;let _0x18fcc5=_0x1a5156[_0x47965c(0x35e)][_0x2ba3e8];return!(!_0x18fcc5||_0x18fcc5['id']===_0x4e4d60||_0x18fcc5['id']===_0xe1a9af||!((_0x884423=_0x7cec2a[_0x47965c(0x326)])==null||(_0x884423=_0x884423[_0x2ba3e8])==null)&&_0x884423[_0x47965c(0x174)]||(_0x3569b6=_0x40b961[_0x2ba3e8])!=null&&_0x3569b6[_0x47965c(0x174)]);})[_0x59513b(0x33d)]((_0x50d732,_0x2f9167)=>{const _0x1e7df6=_0x59513b;var _0x41e95a,_0x274fc1,_0x404600,_0xe5d09b;return((_0x41e95a=(_0x274fc1=_0x40b961[_0x50d732])==null?void 0x0:_0x274fc1[_0x1e7df6(0x277)])==null?_0x154b35[_0x1e7df6(0x2dd)](_0x50d732):_0x41e95a)-((_0x404600=(_0xe5d09b=_0x40b961[_0x2f9167])==null?void 0x0:_0xe5d09b[_0x1e7df6(0x277)])==null?_0x154b35['indexOf'](_0x2f9167):_0x404600);});}['_projectFields'](_0x46eb8c,_0x2e0185){const _0x354331=_0xa3b18d;var _0x1efcdc;return((_0x1efcdc=_0x2e0185[_0x354331(0x2d8)])!=null&&_0x1efcdc[_0x354331(0x333)]?_0x2e0185['fieldOrder']:_0x46eb8c[_0x354331(0x2d8)])[_0x354331(0x2f9)](_0x4b12b6=>{const _0x5717a6=_0x354331;var _0xc3d02,_0x568387;let _0x26dc63=_0x46eb8c[_0x5717a6(0x35e)][_0x4b12b6],_0x3eaad6=(_0xc3d02=(_0x568387=_0x2e0185['fieldSettings'])==null?void 0x0:_0x568387[_0x4b12b6])==null?{}:_0xc3d02;return!_0x26dc63||_0x3eaad6['hidden']?[]:[{'id':_0x26dc63['id'],'name':_0x26dc63['name'],'description':_0x26dc63[_0x5717a6(0x321)],'type':_0x26dc63[_0x5717a6(0x177)],'config':_0x26dc63[_0x5717a6(0x3af)],'width':_0x3eaad6['width'],'setting':_0x3eaad6}];});}[_0xa3b18d(0x47f)](_0x371374,_0x49a640){const _0x3dfd3b=_0xa3b18d;var _0x161ff0,_0x27550a,_0x40b60c;return o(_0x3dfd3b(0x311),()=>{const _0x41131f=_0x3dfd3b;var _0x48df15,_0x569b36,_0x856116,_0x2d69c2;let _0x24e455=this[_0x41131f(0x39b)](_0x371374),_0x17c3ce=this[_0x41131f(0x47a)](_0x371374['id'],_0x49a640),_0x3e72fe=this['_getCellRevision'](_0x371374['id']),_0x3f4cfd=this[_0x41131f(0x297)]['get'](_0x17c3ce);if(_0x3f4cfd&&_0x3f4cfd[_0x41131f(0x412)]===this[_0x41131f(0x2c7)]&&_0x3f4cfd[_0x41131f(0x21b)]===this['_getTableRevision'](_0x371374['id'])){if(_0x3f4cfd[_0x41131f(0x1bf)]===_0x3e72fe&&_0x3f4cfd['baseRows']===_0x24e455)return _0x3f4cfd[_0x41131f(0x167)];if(_0x3f4cfd['cellRevision']!==_0x3e72fe&&!this[_0x41131f(0x230)](_0x371374['id'],_0x3f4cfd['cellRevision'],_0x3e72fe,this['_filterSortFieldIds'](_0x49a640))){let _0x131463=_0x3f4cfd['rows']===_0x3f4cfd['baseRows']?_0x24e455:this[_0x41131f(0x29a)](_0x3f4cfd[_0x41131f(0x167)],_0x24e455);if(_0x131463)return this['_projectedViewRowsCache'][_0x41131f(0x3e5)](_0x17c3ce,{..._0x3f4cfd,'rows':_0x131463,'baseRows':_0x24e455,'cellRevision':_0x3e72fe}),_0x131463;}}let _0x44c26e=o(_0x41131f(0x456),()=>this['_sortRows'](_0x371374,_0x49a640,this[_0x41131f(0x2b4)](_0x371374,_0x49a640,_0x24e455)),{'tableId':_0x371374['id'],'viewId':_0x49a640==null?void 0x0:_0x49a640['id'],'viewType':_0x49a640==null?void 0x0:_0x49a640[_0x41131f(0x177)],'rows':_0x24e455[_0x41131f(0x333)],'filters':(_0x48df15=_0x49a640==null||(_0x569b36=_0x49a640['filter'])==null?void 0x0:_0x569b36[_0x41131f(0x296)][_0x41131f(0x333)])==null?0x0:_0x48df15,'sorts':(_0x856116=_0x49a640==null||(_0x2d69c2=_0x49a640[_0x41131f(0x33d)])==null?void 0x0:_0x2d69c2['length'])==null?0x0:_0x856116});return this[_0x41131f(0x297)][_0x41131f(0x3e5)](_0x17c3ce,{'table':_0x371374,'rows':_0x44c26e,'baseRows':_0x24e455,'globalRevision':this[_0x41131f(0x2c7)],'tableRevision':this['_getTableRevision'](_0x371374['id']),'cellRevision':_0x3e72fe}),_0x44c26e;},{'tableId':_0x371374['id'],'viewId':_0x49a640==null?void 0x0:_0x49a640['id'],'viewType':_0x49a640==null?void 0x0:_0x49a640[_0x3dfd3b(0x177)],'records':(_0x161ff0=(_0x27550a=_0x371374['recordOrder'])==null?void 0x0:_0x27550a[_0x3dfd3b(0x333)])==null?Object['keys']((_0x40b60c=_0x371374[_0x3dfd3b(0x332)])==null?{}:_0x40b60c)['length']:_0x161ff0});}['_projectTableRows'](_0x3d1129){const _0x1f0dd6=_0xa3b18d;var _0x2d7d1c,_0x3cad15,_0x2d258f;return o('BaseProjection.projectTableRows',()=>{const _0xd3048a=_0xfdce;var _0x5ee340;let _0x5a11d7=this[_0xd3048a(0x331)](_0x3d1129['id']),_0x56643b=this['_projectedRowsCache'][_0xd3048a(0x221)](_0x3d1129['id']);if(_0x56643b&&_0x56643b[_0xd3048a(0x412)]===this['_globalRevision']&&_0x56643b[_0xd3048a(0x21b)]===this[_0xd3048a(0x45a)](_0x3d1129['id'])){if(_0x56643b[_0xd3048a(0x1bf)]===_0x5a11d7&&_0x56643b[_0xd3048a(0x3ac)]===_0x3d1129)return _0x56643b['rows'];let _0x33a6af=this[_0xd3048a(0x20f)](_0x3d1129,_0x56643b,_0x5a11d7);if(_0x33a6af)return _0x33a6af;}Bt(_0x3d1129)||d(_0x3d1129);let _0x2eb50e=(_0x5ee340=_0x3d1129[_0xd3048a(0x47c)])!=null&&_0x5ee340[_0xd3048a(0x333)]?_0x3d1129[_0xd3048a(0x47c)]:Wt(_0x3d1129[_0xd3048a(0x332)]),_0xc26e32=o(_0xd3048a(0x374),()=>{const _0x27d24f=_0xd3048a;let _0x2dc0e7=[];for(let _0x5f4561 of _0x2eb50e){let _0x1d030c=_0x3d1129[_0x27d24f(0x332)][_0x5f4561];if(!_0x1d030c)continue;let _0x1b5303={};for(let _0x426107 of _0x3d1129['fieldOrder'])_0x1b5303[_0x426107]=_(_0x3d1129,_0x1d030c['id'],_0x426107);_0x2dc0e7[_0x27d24f(0x439)]({'recordId':_0x1d030c['id'],'values':_0x1b5303});}return _0x2dc0e7;},{'tableId':_0x3d1129['id'],'records':_0x2eb50e[_0xd3048a(0x333)],'fields':_0x3d1129[_0xd3048a(0x2d8)][_0xd3048a(0x333)]});return this[_0xd3048a(0x267)][_0xd3048a(0x3e5)](_0x3d1129['id'],{'table':_0x3d1129,'rows':_0xc26e32,'rowIndexById':zt(_0xc26e32),'globalRevision':this[_0xd3048a(0x2c7)],'tableRevision':this[_0xd3048a(0x45a)](_0x3d1129['id']),'cellRevision':_0x5a11d7}),_0xc26e32;},{'tableId':_0x3d1129['id'],'records':(_0x2d7d1c=(_0x3cad15=_0x3d1129[_0x1f0dd6(0x47c)])==null?void 0x0:_0x3cad15[_0x1f0dd6(0x333)])==null?Object[_0x1f0dd6(0x1c8)]((_0x2d258f=_0x3d1129[_0x1f0dd6(0x332)])==null?{}:_0x2d258f)['length']:_0x2d7d1c,'fields':_0x3d1129[_0x1f0dd6(0x2d8)]['length']});}['_patchProjectedRowsForCellInvalidations'](_0x2a7a3f,_0x480d32,_0x2e794e){const _0x266abf=_0xa3b18d;var _0x1b0f9e,_0xc5230f;let _0xd32e2b=((_0x1b0f9e=this[_0x266abf(0x43d)][_0x266abf(0x221)](_0x2a7a3f['id']))==null?[]:_0x1b0f9e)['filter'](_0x5eea04=>_0x5eea04[_0x266abf(0x233)]>_0x480d32[_0x266abf(0x1bf)]&&_0x5eea04['revision']<=_0x2e794e);if(!_0xd32e2b[_0x266abf(0x333)])return _0x480d32[_0x266abf(0x3ac)]===_0x2a7a3f?_0x480d32['rows']:null;let _0x1dc491=_0x480d32[_0x266abf(0x167)],_0x29d4a7=new Map();for(let _0x3c1fcc of _0xd32e2b){let _0x5acc10=_0x29d4a7[_0x266abf(0x221)](_0x3c1fcc['recordId']);_0x5acc10||(_0x5acc10=new Set(),_0x29d4a7[_0x266abf(0x3e5)](_0x3c1fcc['recordId'],_0x5acc10)),_0x5acc10[_0x266abf(0x204)](_0x3c1fcc[_0x266abf(0x2ee)]);}for(let [_0x16581d,_0x5635ff]of _0x29d4a7){if(!_0x2a7a3f['records'][_0x16581d])return null;let _0x24bb03=_0x480d32[_0x266abf(0x3f7)][_0x266abf(0x221)](_0x16581d);if(_0x24bb03==null)return null;_0x1dc491===_0x480d32[_0x266abf(0x167)]&&(_0x1dc491=[..._0x480d32['rows']]);let _0x2ef734=_0x1dc491[_0x24bb03],_0x11febd={..._0x2ef734[_0x266abf(0x29e)]};_0x5635ff[_0x266abf(0x465)](_0x54ad33=>{_0x11febd[_0x54ad33]=_(_0x2a7a3f,_0x16581d,_0x54ad33);}),_0x1dc491[_0x24bb03]={..._0x2ef734,'values':_0x11febd};}let _0x44d256={'table':_0x2a7a3f,'rows':_0x1dc491,'rowIndexById':_0x480d32[_0x266abf(0x3f7)],'globalRevision':this[_0x266abf(0x2c7)],'tableRevision':this[_0x266abf(0x45a)](_0x2a7a3f['id']),'cellRevision':_0x2e794e};return this[_0x266abf(0x267)][_0x266abf(0x3e5)](_0x2a7a3f['id'],_0x44d256),this[_0x266abf(0x43d)]['set'](_0x2a7a3f['id'],((_0xc5230f=this[_0x266abf(0x43d)][_0x266abf(0x221)](_0x2a7a3f['id']))==null?[]:_0xc5230f)[_0x266abf(0x314)](_0x4de523=>_0x4de523[_0x266abf(0x233)]>Math['max'](0x0,_0x2e794e-0x100))),_0x1dc491;}[_0xa3b18d(0x29a)](_0x519455,_0x2accb8){const _0x5e41bc=_0xa3b18d;let _0x1fd055=new Map(_0x2accb8[_0x5e41bc(0x1da)](_0x265cb0=>[_0x265cb0[_0x5e41bc(0x2f7)],_0x265cb0])),_0x3e810c=!0x1,_0x3d6a9f=_0x519455[_0x5e41bc(0x1da)](_0x56246e=>{const _0x41487f=_0x5e41bc;let _0x4e6c7d=_0x1fd055[_0x41487f(0x221)](_0x56246e[_0x41487f(0x2f7)]);return _0x4e6c7d?_0x4e6c7d===_0x56246e?_0x56246e:(_0x3e810c=!0x0,_0x4e6c7d):_0x56246e;});return _0x3e810c?_0x3d6a9f:_0x519455;}[_0xa3b18d(0x230)](_0x51045c,_0x351130,_0x2ca54e,_0x4fe562){const _0x5777ba=_0xa3b18d;var _0x2600aa;return!_0x4fe562['size']||_0x351130===_0x2ca54e?!0x1:_0x2ca54e-_0x351130>0x100?!0x0:((_0x2600aa=this['_cellInvalidations'][_0x5777ba(0x221)](_0x51045c))==null?[]:_0x2600aa)[_0x5777ba(0x24e)](_0x474e25=>_0x474e25[_0x5777ba(0x233)]>_0x351130&&_0x474e25['revision']<=_0x2ca54e&&_0x4fe562[_0x5777ba(0x397)](_0x474e25[_0x5777ba(0x2ee)]));}[_0xa3b18d(0x2d0)](_0x195f02){const _0x133693=_0xa3b18d;var _0x50e5b1,_0x4420a4;let _0x307284=new Set();return _0x195f02==null||(_0x50e5b1=_0x195f02['filter'])==null||_0x50e5b1['conditions']['forEach'](_0x2d213d=>_0x307284['add'](_0x2d213d[_0x133693(0x2ee)])),_0x195f02==null||(_0x4420a4=_0x195f02[_0x133693(0x33d)])==null||_0x4420a4[_0x133693(0x465)](_0x21c261=>_0x307284[_0x133693(0x204)](_0x21c261[_0x133693(0x2ee)])),_0x307284;}['_groupProjectionFieldIds'](_0x48950f){const _0x13497a=_0xa3b18d;var _0x1a25f9;let _0x345576=this[_0x13497a(0x2d0)](_0x48950f);return(_0x1a25f9=_0x48950f[_0x13497a(0x1cb)])==null||_0x1a25f9[_0x13497a(0x465)](_0xcd547=>_0x345576[_0x13497a(0x204)](_0xcd547[_0x13497a(0x2ee)])),_0x345576;}[_0xa3b18d(0x2b4)](_0x41c24d,_0x383df3,_0x26c2ab){const _0x52a3f4=_0xa3b18d;let _0xedac5d=_0x383df3==null?void 0x0:_0x383df3[_0x52a3f4(0x314)];if(!(_0xedac5d!=null&&_0xedac5d[_0x52a3f4(0x296)][_0x52a3f4(0x333)]))return _0x26c2ab;let _0x81d9f4=_0xedac5d[_0x52a3f4(0x296)][_0x52a3f4(0x314)](_0x21f030=>!dn(_0x21f030));return _0x81d9f4['length']?_0x26c2ab[_0x52a3f4(0x314)](_0x8a15fe=>{const _0x1020cd=_0x52a3f4;if(_0xedac5d[_0x1020cd(0x2b9)]===e[_0x1020cd(0x28a)]['OR']){for(let _0x2f3e34 of _0x81d9f4){let _0x367661=_0x41c24d[_0x1020cd(0x35e)][_0x2f3e34['fieldId']];if(!_0x367661||this[_0x1020cd(0x175)][_0x1020cd(0x221)](_0x367661[_0x1020cd(0x177)])[_0x1020cd(0x314)](_0x8a15fe[_0x1020cd(0x29e)][_0x367661['id']],_0x2f3e34[_0x1020cd(0x441)],_0x2f3e34['operand'],_0x367661))return!0x0;}return!0x1;}for(let _0x218c0f of _0x81d9f4){let _0x58bb37=_0x41c24d[_0x1020cd(0x35e)][_0x218c0f['fieldId']];if(_0x58bb37&&!this[_0x1020cd(0x175)][_0x1020cd(0x221)](_0x58bb37[_0x1020cd(0x177)])[_0x1020cd(0x314)](_0x8a15fe[_0x1020cd(0x29e)][_0x58bb37['id']],_0x218c0f[_0x1020cd(0x441)],_0x218c0f[_0x1020cd(0x45b)],_0x58bb37))return!0x1;}return!0x0;}):_0x26c2ab;}[_0xa3b18d(0x28c)](_0x5839b6,_0x3c5002,_0x2ca5de){const _0x3b2406=_0xa3b18d;var _0x188451;let _0x582fd5=(_0x188451=_0x3c5002==null?void 0x0:_0x3c5002[_0x3b2406(0x33d)])==null?[]:_0x188451;if(!_0x582fd5[_0x3b2406(0x333)])return _0x2ca5de;let _0x1f36d5=_0x582fd5[_0x3b2406(0x2f9)](_0xcc6887=>{const _0x3c5880=_0x3b2406;let _0x3f098e=_0x5839b6[_0x3c5880(0x35e)][_0xcc6887[_0x3c5880(0x2ee)]];return _0x3f098e?[{..._0xcc6887,'field':_0x3f098e}]:[];});return _0x1f36d5['length']?this[_0x3b2406(0x30d)](_0x1f36d5)?this['_fastSortRows'](_0x1f36d5,_0x2ca5de):[..._0x2ca5de]['sort']((_0x33a761,_0x52ee09)=>{const _0x10b4d8=_0x3b2406;for(let _0x498b6e of _0x1f36d5){let _0x12dfa6=_0x498b6e[_0x10b4d8(0x41c)],_0x49c030=this[_0x10b4d8(0x175)][_0x10b4d8(0x221)](_0x12dfa6['type'])[_0x10b4d8(0x1e5)](_0x33a761[_0x10b4d8(0x29e)][_0x12dfa6['id']],_0x52ee09['values'][_0x12dfa6['id']],_0x12dfa6);if(_0x49c030!==0x0)return _0x498b6e['direction']===e[_0x10b4d8(0x1d2)][_0x10b4d8(0x19f)]?-_0x49c030:_0x49c030;}return 0x0;}):_0x2ca5de;}[_0xa3b18d(0x30d)](_0x5310ce){const _0x240d3c=_0xa3b18d;return _0x5310ce[_0x240d3c(0x1c6)](_0xbc9f58=>It[_0x240d3c(0x397)](_0xbc9f58['field'][_0x240d3c(0x177)]));}[_0xa3b18d(0x1fc)](_0x30f1ff,_0x4e7570){const _0xec2435=_0xa3b18d;return _0x4e7570[_0xec2435(0x1da)]((_0x5b1619,_0x591f36)=>({'row':_0x5b1619,'index':_0x591f36,'keys':_0x30f1ff['map'](_0x130286=>_0x5b1619[_0xec2435(0x29e)][_0x130286['fieldId']])}))[_0xec2435(0x33d)]((_0x51cc77,_0x2c9136)=>{const _0x686944=_0xec2435;for(let _0x4967dd=0x0;_0x4967dd<_0x30f1ff[_0x686944(0x333)];_0x4967dd++){let _0x4d6da4=un(_0x51cc77['keys'][_0x4967dd],_0x2c9136[_0x686944(0x1c8)][_0x4967dd]);if(_0x4d6da4!==0x0)return _0x30f1ff[_0x4967dd][_0x686944(0x3a3)]===e[_0x686944(0x1d2)]['DESC']?-_0x4d6da4:_0x4d6da4;}return _0x51cc77['index']-_0x2c9136[_0x686944(0x25a)];})[_0xec2435(0x1da)](_0x251733=>_0x251733[_0xec2435(0x33a)]);}[_0xa3b18d(0x434)](_0x2c3223,_0x5478c7,_0x5f413e){const _0x556e68=_0xa3b18d;var _0x35195b,_0x6676af;return o('BaseProjection.projectGroups',()=>{const _0x4ec3e9=_0xfdce;var _0x4ec1f4;if(!((_0x4ec1f4=_0x5478c7[_0x4ec3e9(0x1cb)])!=null&&_0x4ec1f4[_0x4ec3e9(0x333)]))return[];let _0x3f4e1b=_0x5478c7[_0x4ec3e9(0x1cb)][_0x4ec3e9(0x314)](_0x354f7d=>_0x2c3223['fields'][_0x354f7d[_0x4ec3e9(0x2ee)]]);if(!_0x3f4e1b[_0x4ec3e9(0x333)])return[];let _0x25bd5b=this['_groupsCacheKey'](_0x2c3223['id'],_0x5478c7,_0x3f4e1b),_0x367e16=this['_getCellRevision'](_0x2c3223['id']),_0x27d5e8=this[_0x4ec3e9(0x409)][_0x4ec3e9(0x221)](_0x25bd5b);if(_0x27d5e8&&_0x27d5e8[_0x4ec3e9(0x412)]===this[_0x4ec3e9(0x2c7)]&&_0x27d5e8[_0x4ec3e9(0x21b)]===this[_0x4ec3e9(0x45a)](_0x2c3223['id'])){if(_0x27d5e8[_0x4ec3e9(0x1bf)]===_0x367e16&&_0x27d5e8['rows']===_0x5f413e)return _0x27d5e8[_0x4ec3e9(0x3e8)];if(_0x27d5e8['cellRevision']!==_0x367e16&&!this[_0x4ec3e9(0x230)](_0x2c3223['id'],_0x27d5e8[_0x4ec3e9(0x1bf)],_0x367e16,this[_0x4ec3e9(0x406)](_0x5478c7)))return this[_0x4ec3e9(0x409)][_0x4ec3e9(0x3e5)](_0x25bd5b,{..._0x27d5e8,'rows':_0x5f413e,'cellRevision':_0x367e16}),_0x27d5e8[_0x4ec3e9(0x3e8)];}let _0x55b24d=new Map();for(let _0x246d16 of _0x5f413e){let _0x548b49=_0x55b24d,_0x9b42c3='';for(let _0x1ec102=0x0;_0x1ec102<_0x3f4e1b[_0x4ec3e9(0x333)];_0x1ec102++){let _0x47ee6b=_0x3f4e1b[_0x1ec102],_0x3bb81d=_0x246d16[_0x4ec3e9(0x29e)][_0x47ee6b[_0x4ec3e9(0x2ee)]],_0xeff526=Rt(_0x3bb81d),_0x19b33f=_0x47ee6b[_0x4ec3e9(0x2ee)]+'\x00'+_0xeff526,_0x2b4a56=_0x9b42c3+'/'+_0x47ee6b[_0x4ec3e9(0x2ee)]+':'+_0xeff526,_0x1792de=_0x548b49[_0x4ec3e9(0x221)](_0x19b33f);_0x1792de||(_0x1792de={'key':_0xeff526,'value':_0x3bb81d,'path':_0x2b4a56,'label':_0xeff526||_0x4ec3e9(0x2cf),'fieldId':_0x47ee6b[_0x4ec3e9(0x2ee)],'level':_0x1ec102,'recordIds':[],'children':new Map()},_0x548b49[_0x4ec3e9(0x3e5)](_0x19b33f,_0x1792de)),_0x1792de['recordIds']['push'](_0x246d16[_0x4ec3e9(0x2f7)]),_0x548b49=_0x1792de['children'],_0x9b42c3=_0x2b4a56;}}let _0x31075d=this[_0x4ec3e9(0x2fa)](_0x3f4e1b,_0x55b24d,0x0);return this[_0x4ec3e9(0x409)]['set'](_0x25bd5b,{'table':_0x2c3223,'rows':_0x5f413e,'groups':_0x31075d,'globalRevision':this[_0x4ec3e9(0x2c7)],'tableRevision':this['_getTableRevision'](_0x2c3223['id']),'cellRevision':_0x367e16}),_0x31075d;},{'tableId':_0x2c3223['id'],'viewId':_0x5478c7['id'],'viewType':_0x5478c7['type'],'rows':_0x5f413e['length'],'groupFields':(_0x35195b=(_0x6676af=_0x5478c7['group'])==null?void 0x0:_0x6676af[_0x556e68(0x333)])==null?0x0:_0x35195b});}[_0xa3b18d(0x2fa)](_0x3b98e2,_0x443c20,_0x2cb41b){const _0x30e458=_0xa3b18d;var _0xf3b7df;let _0x1df244=Array[_0x30e458(0x3aa)](_0x443c20[_0x30e458(0x29e)]()),_0x509b6c=(_0xf3b7df=_0x3b98e2[_0x2cb41b])==null?void 0x0:_0xf3b7df['direction'];return _0x509b6c&&_0x1df244[_0x30e458(0x33d)]((_0x2d8e8f,_0x2c3bf0)=>{const _0x25892f=_0x30e458;let _0x337b4b=_0x2d8e8f[_0x25892f(0x212)]['localeCompare'](_0x2c3bf0[_0x25892f(0x212)]);return _0x509b6c===e[_0x25892f(0x1d2)][_0x25892f(0x19f)]?-_0x337b4b:_0x337b4b;}),_0x1df244[_0x30e458(0x1da)](_0xb58c52=>({'key':_0xb58c52[_0x30e458(0x212)],'value':_0xb58c52[_0x30e458(0x33c)],'path':_0xb58c52[_0x30e458(0x341)],'label':_0xb58c52['label'],'fieldId':_0xb58c52[_0x30e458(0x2ee)],'level':_0xb58c52[_0x30e458(0x35c)],'recordIds':_0xb58c52['recordIds'],'children':this[_0x30e458(0x2fa)](_0x3b98e2,_0xb58c52[_0x30e458(0x38d)],_0x2cb41b+0x1)}));}[_0xa3b18d(0x437)](_0x68d847,_0x20cc0b,_0x5b7f75){const _0x9dd312=_0xa3b18d;let _0x353d00=_0x5b7f75==null?_0x68d847[_0x9dd312(0x419)]:_0x5b7f75,_0x58829a=_0x20cc0b[_0x9dd312(0x29e)][_0x353d00];return _0x58829a==null?'':String(_0x58829a);}[_0xa3b18d(0x17d)](_0x7dc003){const _0x5abc14=_0xa3b18d;if(Array['isArray'](_0x7dc003))return _0x7dc003[_0x5abc14(0x1da)](String);if(typeof _0x7dc003=='string'&&_0x7dc003)return[_0x7dc003];}['_capabilities'](_0x336077){const _0x1c3507=_0xa3b18d;return this[_0x1c3507(0x175)][_0x1c3507(0x221)](_0x336077[_0x1c3507(0x177)])[_0x1c3507(0x3ee)](_0x336077);}};Lt=B([z(0x0,(0x0,e[_0xa3b18d(0x1c0)])(L))],Lt);function Rt(_0x24536b){return _0x24536b==null?'':String(_0x24536b);}function zt(_0x439697){const _0x431799=_0xa3b18d;return new Map(_0x439697[_0x431799(0x1da)]((_0x5436bd,_0x228591)=>[_0x5436bd[_0x431799(0x2f7)],_0x228591]));}function Bt(_0x259d6e){const _0x54cfa9=_0xa3b18d;return!!(Array[_0x54cfa9(0x18c)](_0x259d6e[_0x54cfa9(0x47c)])&&_0x259d6e[_0x54cfa9(0x164)]&&_0x259d6e[_0x54cfa9(0x262)]&&_0x259d6e['colIndex']&&_0x259d6e[_0x54cfa9(0x171)]&&_0x259d6e['cellData']);}function Vt(_0x34637a){const _0x513b56=_0xa3b18d;return _0x34637a!=null&&_0x34637a['conditions'][_0x513b56(0x333)]?{'conjunction':_0x34637a['conjunction'],'conditions':_0x34637a['conditions'][_0x513b56(0x1da)](_0x3f1c4a=>({'fieldId':_0x3f1c4a[_0x513b56(0x2ee)],'operator':_0x3f1c4a[_0x513b56(0x441)],'operand':_0x3f1c4a['operand']}))}:null;}function Ht(_0xb58fc6){const _0x7db5f2=_0xa3b18d;return _0xb58fc6!=null&&_0xb58fc6[_0x7db5f2(0x333)]?_0xb58fc6[_0x7db5f2(0x1da)](_0x5f240e=>({'fieldId':_0x5f240e[_0x7db5f2(0x2ee)],'direction':_0x5f240e[_0x7db5f2(0x3a3)]})):null;}function Ut(_0x405795){const _0x5c0643=_0xa3b18d;if(typeof _0x405795!=_0x5c0643(0x20d)||!_0x405795){var _0x4922e6;return(_0x4922e6=JSON[_0x5c0643(0x23e)](_0x405795))==null?'undefined':_0x4922e6;}if(Array[_0x5c0643(0x18c)](_0x405795))return'['+_0x405795[_0x5c0643(0x1da)](Ut)['join'](',')+']';let _0x512f29=_0x405795;return'{'+Object['keys'](_0x512f29)[_0x5c0643(0x33d)]()[_0x5c0643(0x1da)](_0x381ff5=>JSON[_0x5c0643(0x23e)](_0x381ff5)+':'+Ut(_0x512f29[_0x381ff5]))[_0x5c0643(0x1e9)](',')+'}';}function Wt(_0x868929){const _0x34e223=_0xa3b18d;let _0x16180f=Object[_0x34e223(0x29e)](_0x868929)[_0x34e223(0x33d)]((_0x1900b7,_0x2c7337)=>_0x1900b7[_0x34e223(0x390)][_0x34e223(0x387)](_0x2c7337[_0x34e223(0x390)])),_0x4b1275=[];for(let _0x3a0f9d of _0x16180f)_0x4b1275[_0x34e223(0x439)](_0x3a0f9d['id']);return _0x4b1275;}const W=0x5a0*0x3c*0x3e8;function Gt(_0x454131){const _0x11f52f=_0xa3b18d;return{'weekdays':Array[_0x11f52f(0x18c)](_0x454131==null?void 0x0:_0x454131[_0x11f52f(0x18f)])&&_0x454131[_0x11f52f(0x18f)][_0x11f52f(0x333)]?[...new Set(_0x454131[_0x11f52f(0x18f)]['filter'](_0x124d28=>Number[_0x11f52f(0x226)](_0x124d28)&&_0x124d28>=0x1&&_0x124d28<=0x7))]:[0x1,0x2,0x3,0x4,0x5],'exceptions':Array[_0x11f52f(0x18c)](_0x454131==null?void 0x0:_0x454131[_0x11f52f(0x22d)])?_0x454131[_0x11f52f(0x22d)]['flatMap'](_0x108810=>!_0x108810||!Number[_0x11f52f(0x2f4)](_0x108810[_0x11f52f(0x2fe)])?[]:[{'id':String(_0x108810['id']||'exception-'+_0x108810[_0x11f52f(0x2fe)]),'date':G(Number(_0x108810[_0x11f52f(0x2fe)])),'name':String(_0x108810['name']||_0x11f52f(0x3ef)),'type':_0x108810[_0x11f52f(0x177)]===_0x11f52f(0x1d8)?'working':_0x11f52f(0x368)}]):[]};}function Kt(_0x54977e,_0x18ee5c,_0xd1fc8d,_0xc45950){let _0x43759f=Xt(_0x54977e,_0x18ee5c),_0x13a1c4=Zt(_0x54977e,_0xd1fc8d),_0x232c81=qt(_0x54977e,_0x43759f,_0x13a1c4,_0xc45950);return{'scale':_0x54977e,'start':_0x43759f,'end':_0x13a1c4,'unitWidth':Yt(_0x54977e),'majorHeaders':Jt(_0x54977e,_0x43759f,_0x13a1c4),'columns':_0x232c81};}function qt(_0x1cb540,_0x80101b,_0x60de2,_0x1870b2){const _0x2d5af7=_0xa3b18d;let _0x3e7fb6=[],_0x3117fe=_0x80101b;for(;_0x3117fe<_0x60de2;){let _0x2fdeaa=_0x1cb540===_0x2d5af7(0x3c5)?K(_0x3117fe,0x7):_0x1cb540===_0x2d5af7(0x39f)?sn(_0x3117fe,0x1):K(_0x3117fe,0x1);_0x3e7fb6[_0x2d5af7(0x439)]({'id':_0x1cb540+'-'+_0x3117fe,'label':Qt(_0x1cb540,_0x3117fe,_0x2fdeaa),'majorLabel':$t(_0x1cb540,_0x3117fe),'start':_0x3117fe,'end':_0x2fdeaa,'nonWorking':tn(_0x3117fe,_0x2fdeaa,_0x1870b2)}),_0x3117fe=_0x2fdeaa;}return _0x3e7fb6;}function Jt(_0x3e1206,_0x1081d2,_0x4ef8de){const _0x3d6ec5=_0xa3b18d;let _0x5d6882=[],_0xd88dd0=_0x3e1206===_0x3d6ec5(0x39f)?on(_0x1081d2):an(_0x1081d2);for(;_0xd88dd0<_0x4ef8de;){let _0x3244de=_0x3e1206===_0x3d6ec5(0x39f)?cn(_0xd88dd0,0x1):sn(_0xd88dd0,0x1);_0x5d6882[_0x3d6ec5(0x439)]({'id':'major-'+_0xd88dd0,'label':_0x3e1206===_0x3d6ec5(0x39f)?String(new Date(_0xd88dd0)['getUTCFullYear']()):ln(_0xd88dd0),'start':_0xd88dd0,'end':_0x3244de}),_0xd88dd0=_0x3244de;}return _0x5d6882;}function Yt(_0x512583){const _0xcd8676=_0xa3b18d;switch(_0x512583){case _0xcd8676(0x236):return 0xac;case'quarter':return 0xac;case _0xcd8676(0x39f):return 0x88;default:return 0x56;}}function Xt(_0x2bba78,_0x390b03){const _0x11754c=_0xa3b18d;return _0x2bba78===_0x11754c(0x39f)?on(_0x390b03):_0x2bba78===_0x11754c(0x3c5)?rn(_0x390b03):G(_0x390b03);}function Zt(_0x2d68e5,_0x20d72a){const _0x364e14=_0xa3b18d;return _0x2d68e5===_0x364e14(0x39f)?cn(on(_0x20d72a),0x1):_0x2d68e5===_0x364e14(0x3c5)?K(rn(_0x20d72a),0x7):K(G(_0x20d72a),0x1);}function Qt(_0x4e4862,_0x4edd3f,_0x10ba68){const _0x12f1dc=_0xa3b18d;let _0x5351a4=new Date(_0x4edd3f);return _0x4e4862==='quarter'?_0x5351a4[_0x12f1dc(0x2fb)]()+'-'+new Date(_0x10ba68-W)['getUTCDate']():_0x4e4862==='year'?_0x5351a4[_0x12f1dc(0x3d6)](_0x12f1dc(0x305),{'month':_0x12f1dc(0x3e7),'timeZone':_0x12f1dc(0x2ed)}):String(_0x5351a4['getUTCDate']());}function $t(_0x1e8673,_0x54b9e9){const _0x38aeb1=_0xa3b18d;return _0x1e8673===_0x38aeb1(0x39f)?String(new Date(_0x54b9e9)[_0x38aeb1(0x19a)]()):ln(_0x54b9e9);}function en(_0x353163,_0x44ff06,_0x343b42){let _0x1d3393=Gt(_0x343b42),_0x310be7=0x0;for(let _0x311c83=G(_0x353163);_0x311c83<=G(_0x44ff06);_0x311c83=K(_0x311c83,0x1))nn(_0x311c83,_0x1d3393)||_0x310be7++;return _0x310be7;}function tn(_0x321774,_0x4f1fee,_0x36bb44){if(!_0x36bb44)return!0x1;let _0x536e3b=Gt(_0x36bb44);for(let _0x86d7cc=G(_0x321774);_0x86d7cc<_0x4f1fee;_0x86d7cc=K(_0x86d7cc,0x1))if(!nn(_0x86d7cc,_0x536e3b))return!0x1;return!0x0;}function nn(_0x9638cc,_0x4efec3){const _0x1ca1d5=_0xa3b18d;let _0x433469=G(_0x9638cc),_0x2211e4=_0x4efec3[_0x1ca1d5(0x22d)][_0x1ca1d5(0x484)](_0x19d5fb=>G(_0x19d5fb[_0x1ca1d5(0x2fe)])===_0x433469);if(_0x2211e4)return _0x2211e4[_0x1ca1d5(0x177)]===_0x1ca1d5(0x368);let _0x376ba4=new Date(_0x433469)[_0x1ca1d5(0x3f4)](),_0x5532a5=_0x376ba4===0x0?0x7:_0x376ba4;return!_0x4efec3[_0x1ca1d5(0x18f)][_0x1ca1d5(0x162)](_0x5532a5);}function G(_0x4128f5){const _0x55526b=_0xa3b18d;let _0x206203=new Date(_0x4128f5);return Date['UTC'](_0x206203[_0x55526b(0x19a)](),_0x206203[_0x55526b(0x381)](),_0x206203[_0x55526b(0x2fb)]());}function rn(_0x3deb6e){const _0x11988d=_0xa3b18d;let _0xad70f4=G(_0x3deb6e),_0x2298f9=new Date(_0xad70f4)[_0x11988d(0x3f4)]();return K(_0xad70f4,-(_0x2298f9===0x0?0x6:_0x2298f9-0x1));}function an(_0x369778){const _0x41365e=_0xa3b18d;let _0x1bf185=new Date(_0x369778);return Date[_0x41365e(0x2ed)](_0x1bf185[_0x41365e(0x19a)](),_0x1bf185['getUTCMonth'](),0x1);}function on(_0xfefbc4){const _0x39eb42=_0xa3b18d;let _0x3cede3=new Date(_0xfefbc4);return Date[_0x39eb42(0x2ed)](_0x3cede3['getUTCFullYear'](),0x0,0x1);}function K(_0x43aa18,_0x4020e0){return _0x43aa18+_0x4020e0*W;}function sn(_0x42d704,_0x123ca9){const _0x1ac47e=_0xa3b18d;let _0x585499=new Date(_0x42d704);return Date[_0x1ac47e(0x2ed)](_0x585499['getUTCFullYear'](),_0x585499[_0x1ac47e(0x381)]()+_0x123ca9,0x1);}function cn(_0x24a08e,_0x15d919){const _0x2d9e51=_0xa3b18d;let _0xe163ff=new Date(_0x24a08e);return Date['UTC'](_0xe163ff[_0x2d9e51(0x19a)]()+_0x15d919,0x0,0x1);}function ln(_0x17a46f){const _0xdcdd82=_0xa3b18d;let _0x1b78e8=new Date(_0x17a46f);return _0x1b78e8[_0xdcdd82(0x3d6)](_0xdcdd82(0x305),{'month':_0xdcdd82(0x3e7),'timeZone':'UTC'})+'\x20'+_0x1b78e8['getUTCFullYear']();}function un(_0x1fdd32,_0x45ddd){const _0x4b5585=_0xa3b18d;if(_0x1fdd32==null&&_0x45ddd==null)return 0x0;if(_0x1fdd32==null)return-0x1;if(_0x45ddd==null)return 0x1;if(typeof _0x1fdd32==_0x4b5585(0x25f)||typeof _0x45ddd=='boolean')return Number(_0x1fdd32===!0x0)-Number(_0x45ddd===!0x0);let _0x463985=Number(_0x1fdd32),_0x1bd996=Number(_0x45ddd),_0x478dad=Number['isFinite'](_0x463985),_0x4bf330=Number[_0x4b5585(0x2f4)](_0x1bd996);return _0x478dad&&_0x4bf330?_0x463985-_0x1bd996:_0x478dad?0x1:_0x4bf330?-0x1:String(_0x1fdd32)[_0x4b5585(0x387)](String(_0x45ddd));}function dn(_0x2ee1cf){const _0x5d79a1=_0xa3b18d;if(_0x2ee1cf[_0x5d79a1(0x441)]!=='is'&&_0x2ee1cf[_0x5d79a1(0x441)]!==_0x5d79a1(0x229))return!0x1;let _0x3db3e3=_0x2ee1cf[_0x5d79a1(0x45b)];return _0x3db3e3==null?!0x0:typeof _0x3db3e3==_0x5d79a1(0x181)?_0x3db3e3[_0x5d79a1(0x41e)]()==='':Array[_0x5d79a1(0x18c)](_0x3db3e3)?_0x3db3e3[_0x5d79a1(0x333)]===0x0:!0x1;}function q(_0x5646f7,_0xce665d){const _0xc7a206=_0xa3b18d;var _0x336191;let _0x1aa11b=Array[_0xc7a206(0x18c)]((_0x336191=_0x5646f7[_0xc7a206(0x3af)])==null?void 0x0:_0x336191[_0xc7a206(0x275)])?_0x5646f7[_0xc7a206(0x3af)][_0xc7a206(0x275)]:[];for(let _0x550dc5 of _0x1aa11b){var _0x239aa4,_0x22c4f0,_0x374271,_0x5d1463;if(_0x550dc5==null)continue;if(typeof _0x550dc5=='string'){if(_0x550dc5===_0xce665d)return{'id':_0x550dc5,'name':_0x550dc5};continue;}let _0x1fc6f2=_0x550dc5,_0x34fdb1=String((_0x239aa4=(_0x22c4f0=_0x1fc6f2['id'])==null?_0x1fc6f2['name']:_0x22c4f0)==null?'':_0x239aa4),_0x48debb=String((_0x374271=(_0x5d1463=_0x1fc6f2['name'])==null?_0x1fc6f2['id']:_0x5d1463)==null?_0x34fdb1:_0x374271);if(_0x34fdb1===_0xce665d||_0x48debb===_0xce665d)return{'id':_0x34fdb1,'name':_0x48debb,'color':_0x1fc6f2['color']==null?void 0x0:String(_0x1fc6f2[_0xc7a206(0x413)])};}return null;}const J={'id':_0xa3b18d(0x375),'type':e[_0xa3b18d(0x33e)][_0xa3b18d(0x241)],'handler'(_0x23d317,_0x21fda7){const _0x334437=_0xa3b18d;let {unitId:_0x43099c,op:_0x535dc9}=_0x21fda7,_0x249eb3=_0x23d317[_0x334437(0x221)](e[_0x334437(0x1be)])['getUnit'](_0x43099c,e[_0x334437(0x3b9)][_0x334437(0x30f)]);if(!_0x249eb3)return!0x1;let _0x56f091=_0x249eb3[_0x334437(0x2ab)](),_0xbf62c9=new w(),_0x3cbc4d=_0xbf62c9['getAffectedRanges'](_0x535dc9),_0x22b5f4=_0xbf62c9[_0x334437(0x2ac)](_0x56f091,_0x535dc9);return _0x249eb3['setSnapshot'](_0x22b5f4),fn(_0x22b5f4,_0x3cbc4d,_0x23d317[_0x334437(0x221)](Ft)),!0x0;}};function fn(_0x5743d2,_0x84b123,_0x4f7821){const _0x145592=_0xa3b18d;let _0x5bf8d2=new Set();for(let _0x1d7571 of _0x84b123){if(_0x1d7571[_0x145592(0x1e4)]!=='cell'){_0x4f7821[_0x145592(0x2b8)]();return;}let _0x309619=pn(_0x5743d2,_0x1d7571);if(!_0x309619){_0x4f7821[_0x145592(0x2b8)]();return;}let _0xf1b8b8=_0x309619[_0x145592(0x473)]+'\x00'+_0x309619[_0x145592(0x2f7)]+'\x00'+_0x309619['fieldId'];_0x5bf8d2['has'](_0xf1b8b8)||(_0x5bf8d2[_0x145592(0x204)](_0xf1b8b8),_0x4f7821[_0x145592(0x260)](_0x309619['tableId'],_0x309619[_0x145592(0x2f7)],_0x309619[_0x145592(0x2ee)]));}}function pn(_0x4e7db9,_0x382aec){const _0xf63b1=_0xa3b18d;var _0x448d53,_0x56044a;if(!_0x382aec['tableId'])return null;if(_0x382aec[_0xf63b1(0x2f7)]&&_0x382aec['fieldId'])return{'tableId':_0x382aec[_0xf63b1(0x473)],'recordId':_0x382aec[_0xf63b1(0x2f7)],'fieldId':_0x382aec[_0xf63b1(0x2ee)]};if(_0x382aec['row']==null||_0x382aec[_0xf63b1(0x451)]==null)return null;let _0x1f92ed=_0x4e7db9[_0xf63b1(0x258)][_0x382aec[_0xf63b1(0x473)]],_0x1b9370=_0x1f92ed==null||(_0x448d53=_0x1f92ed[_0xf63b1(0x262)])==null?void 0x0:_0x448d53[_0x382aec[_0xf63b1(0x33a)]],_0xcef7ef=_0x1f92ed==null||(_0x56044a=_0x1f92ed[_0xf63b1(0x171)])==null?void 0x0:_0x56044a[_0x382aec[_0xf63b1(0x451)]];return!_0x1b9370||!_0xcef7ef?null:{'tableId':_0x382aec[_0xf63b1(0x473)],'recordId':_0x1b9370,'fieldId':_0xcef7ef};}function Y(_0x57bbf6,_0x208998,_0x5b5722){const _0x47ff0a=_0xa3b18d;let _0x4cdcad=_0x57bbf6[_0x47ff0a(0x2ab)]()[_0x47ff0a(0x258)][_0x208998];if(!_0x4cdcad)return!0x1;let {viewIds:_0x45f235,fieldIds:_0x459bc6,recordIds:_0x15f128}=_0x5b5722||{};if(_0x45f235){for(let _0x1c65a6 of _0x45f235)if(!_0x4cdcad['views'][_0x1c65a6])return!0x1;}if(_0x459bc6){for(let _0x18136e of _0x459bc6)if(!_0x4cdcad[_0x47ff0a(0x35e)][_0x18136e])return!0x1;}if(_0x15f128){for(let _0x1c0a0b of _0x15f128)if(!_0x4cdcad[_0x47ff0a(0x332)][_0x1c0a0b])return!0x1;}return!0x0;}const mn={'id':_0xa3b18d(0x2c1),'type':e[_0xa3b18d(0x33e)][_0xa3b18d(0x1d3)],'handler'(_0x445350,_0x2306ec){const _0xf66550=_0xa3b18d;if(!_0x2306ec)return!0x1;let _0xb01d54=_0x445350[_0xf66550(0x221)](e['IUniverInstanceService']),{unitId:_0x75a475,tableId:_0x22de30,records:_0x3e1984}=_0x2306ec,_0x5f32e8=_0xb01d54[_0xf66550(0x2d7)](_0x75a475,e[_0xf66550(0x3b9)][_0xf66550(0x30f)]),_0x782eca=_0x3e1984[_0xf66550(0x1da)](_0x4b7d89=>_0x4b7d89['id']);if(!_0x5f32e8||!Y(_0x5f32e8,_0x22de30)||new Set(_0x782eca)[_0xf66550(0x1ce)]!==_0x782eca[_0xf66550(0x333)]||_0x782eca[_0xf66550(0x24e)](_0x4693d2=>_0x5f32e8[_0xf66550(0x2ab)]()[_0xf66550(0x258)][_0x22de30]['records'][_0x4693d2]))return!0x1;let _0x21cff7=_0x445350[_0xf66550(0x221)](e[_0xf66550(0x367)]),_0x116fec=_0x445350['get'](e[_0xf66550(0x2be)]),_0x45e055=_0x445350[_0xf66550(0x221)](V)['createBatchCreateRecordsOp'](_0x5f32e8,_0x22de30,_0x3e1984),_0x395c3d=new w()[_0xf66550(0x183)](_0x5f32e8[_0xf66550(0x2ab)](),_0x45e055),_0x43b0e2={'unitId':_0x75a475,'op':_0x45e055},_0xb8470c={'unitId':_0x75a475,'op':_0x395c3d};return _0x21cff7[_0xf66550(0x3a1)](J['id'],_0x43b0e2)?(_0xb01d54[_0xf66550(0x27a)](_0x75a475),_0x116fec[_0xf66550(0x3db)]({'unitID':_0x75a475,'undoMutations':[{'id':J['id'],'params':_0xb8470c}],'redoMutations':[{'id':J['id'],'params':_0x43b0e2}]}),!0x0):!0x1;}},hn={'id':_0xa3b18d(0x3da),'type':e[_0xa3b18d(0x33e)][_0xa3b18d(0x1d3)],'handler':(_0xa476b6,_0xdc91da)=>{const _0xa85b48=_0xa3b18d;if(!_0xdc91da)return!0x1;let _0x44ce0d=_0xa476b6[_0xa85b48(0x221)](e[_0xa85b48(0x1be)]),{unitId:_0x45bcb8,tableId:_0x19a4b3,recordIds:_0x4231cc}=_0xdc91da,_0x4fa59d=_0x44ce0d['getUnit'](_0x45bcb8,e[_0xa85b48(0x3b9)][_0xa85b48(0x30f)]);if(!_0x4fa59d||!Y(_0x4fa59d,_0x19a4b3,{'recordIds':_0x4231cc}))return!0x1;let _0x17c23a=_0xa476b6[_0xa85b48(0x221)](e[_0xa85b48(0x367)]),_0x5f13ce=_0xa476b6['get'](e['IUndoRedoService']),_0x3e703f=_0x4fa59d[_0xa85b48(0x2ab)](),_0x597ef1=new P()[_0xa85b48(0x30e)](_0x3e703f,_0x19a4b3,_0x4231cc),_0x43aeb5=new w()['invertOp'](_0x3e703f,_0x597ef1),_0x4f12db={'unitId':_0x45bcb8,'op':_0x597ef1},_0x3edd47={'unitId':_0x45bcb8,'op':_0x43aeb5};return _0x17c23a[_0xa85b48(0x3a1)](J['id'],_0x4f12db)?(_0x44ce0d['focusUnit'](_0x45bcb8),_0x5f13ce[_0xa85b48(0x3db)]({'unitID':_0x45bcb8,'undoMutations':[{'id':J['id'],'params':_0x3edd47}],'redoMutations':[{'id':J['id'],'params':_0x4f12db}]}),!0x0):!0x1;}},gn={'id':_0xa3b18d(0x443),'type':e[_0xa3b18d(0x33e)][_0xa3b18d(0x1d3)],'handler':(_0x2ade6d,_0xc7ddfe)=>{const _0x1d2ffa=_0xa3b18d;if(!_0xc7ddfe)return!0x1;let _0x579f89=_0x2ade6d[_0x1d2ffa(0x221)](e[_0x1d2ffa(0x1be)]),{unitId:_0x509031,tableId:_0x3de848,fieldId:_0xdb71a2,input:_0x82eb50}=_0xc7ddfe,_0x3bdbe4=_0x579f89[_0x1d2ffa(0x2d7)](_0x509031,e['UniverInstanceType'][_0x1d2ffa(0x30f)]);if(!_0x3bdbe4||!Y(_0x3bdbe4,_0x3de848,{'fieldIds':[_0xdb71a2]}))return!0x1;let _0x2d8085=_0x2ade6d[_0x1d2ffa(0x221)](e[_0x1d2ffa(0x367)]),_0x17b516=_0x2ade6d['get'](e['IUndoRedoService']),_0x1ed098=_0x3bdbe4[_0x1d2ffa(0x2ab)](),_0x2004b4=new P()[_0x1d2ffa(0x453)](_0x1ed098,_0x3de848,_0xdb71a2,_0x82eb50),_0x1213fd=new w()[_0x1d2ffa(0x183)](_0x1ed098,_0x2004b4),_0x337332={'unitId':_0x509031,'op':_0x2004b4},_0x2337be={'unitId':_0x509031,'op':_0x1213fd};return _0x2d8085[_0x1d2ffa(0x3a1)](J['id'],_0x337332)?(_0x579f89[_0x1d2ffa(0x27a)](_0x509031),_0x17b516['pushUndoRedo']({'unitID':_0x509031,'undoMutations':[{'id':J['id'],'params':_0x2337be}],'redoMutations':[{'id':J['id'],'params':_0x337332}]}),!0x0):!0x1;}},_n={'id':_0xa3b18d(0x3a0),'type':e['CommandType'][_0xa3b18d(0x1d3)],'handler'(_0x3da1d8,_0x3e173a){const _0x2d647c=_0xa3b18d;if(!_0x3e173a)return!0x1;let _0x429409=_0x3da1d8['get'](e[_0x2d647c(0x1be)]),{unitId:_0x36aad5,tableId:_0x521b85,field:_0x1ff210,index:_0x15a509,viewIndexes:_0x4ce2c3}=_0x3e173a,_0x54170c=_0x429409[_0x2d647c(0x2d7)](_0x36aad5,e['UniverInstanceType'][_0x2d647c(0x30f)]);if(!_0x54170c||!Y(_0x54170c,_0x521b85)||_0x54170c['getSnapshot']()['tables'][_0x521b85]['fields'][_0x1ff210['id']])return!0x1;let _0x52fc69=_0x3da1d8['get'](e[_0x2d647c(0x367)]),_0xd80a08=_0x3da1d8[_0x2d647c(0x221)](e[_0x2d647c(0x2be)]),_0x2f5161=_0x3da1d8[_0x2d647c(0x221)](V)[_0x2d647c(0x269)](_0x54170c,_0x521b85,_0x1ff210,_0x15a509,_0x4ce2c3),_0x2dd792=new w()[_0x2d647c(0x183)](_0x54170c[_0x2d647c(0x2ab)](),_0x2f5161),_0xde85ac={'unitId':_0x36aad5,'op':_0x2f5161},_0xb6efbc={'unitId':_0x36aad5,'op':_0x2dd792};return _0x52fc69[_0x2d647c(0x3a1)](J['id'],_0xde85ac)?(_0x429409[_0x2d647c(0x27a)](_0x36aad5),_0xd80a08[_0x2d647c(0x3db)]({'unitID':_0x36aad5,'undoMutations':[{'id':J['id'],'params':_0xb6efbc}],'redoMutations':[{'id':J['id'],'params':_0xde85ac}]}),!0x0):!0x1;}},vn={'id':_0xa3b18d(0x279),'type':e['CommandType']['COMMAND'],'handler'(_0x44f535,_0x1dd327){const _0x4cf83e=_0xa3b18d;if(!_0x1dd327)return!0x1;let _0x398ddc=_0x44f535[_0x4cf83e(0x221)](e['IUniverInstanceService']),{unitId:_0x27d13e,tableId:_0x5f35d6,record:_0x1a7280}=_0x1dd327,_0x1a5409=_0x398ddc[_0x4cf83e(0x2d7)](_0x27d13e,e['UniverInstanceType']['UNIVER_BASE']);if(!_0x1a5409||!Y(_0x1a5409,_0x5f35d6)||_0x1a5409[_0x4cf83e(0x2ab)]()[_0x4cf83e(0x258)][_0x5f35d6][_0x4cf83e(0x332)][_0x1a7280['id']])return!0x1;let _0xe1c471=_0x44f535[_0x4cf83e(0x221)](e[_0x4cf83e(0x367)]),_0x3c4918=_0x44f535[_0x4cf83e(0x221)](e['IUndoRedoService']),_0x11ee03=_0x44f535[_0x4cf83e(0x221)](V)['createCreateRecordOp'](_0x1a5409,_0x5f35d6,_0x1a7280),_0x5a3c7a=new w()[_0x4cf83e(0x183)](_0x1a5409[_0x4cf83e(0x2ab)](),_0x11ee03),_0x1eef4f={'unitId':_0x27d13e,'op':_0x11ee03},_0x2e6dae={'unitId':_0x27d13e,'op':_0x5a3c7a};return _0xe1c471[_0x4cf83e(0x3a1)](J['id'],_0x1eef4f)?(_0x398ddc[_0x4cf83e(0x27a)](_0x27d13e),_0x3c4918[_0x4cf83e(0x3db)]({'unitID':_0x27d13e,'undoMutations':[{'id':J['id'],'params':_0x2e6dae}],'redoMutations':[{'id':J['id'],'params':_0x1eef4f}]}),!0x0):!0x1;}},yn={'id':'base.command.create-base-table','type':e['CommandType']['COMMAND'],'handler':(_0x36ab5a,_0x26e3d2)=>{const _0x3ac34b=_0xa3b18d;if(!_0x26e3d2)return!0x1;let _0x1e3a5e=_0x36ab5a['get'](e['IUniverInstanceService']),{unitId:_0x5e4c90,table:_0x4aa604,index:_0x197352}=_0x26e3d2,_0x5450c9=_0x1e3a5e[_0x3ac34b(0x2d7)](_0x5e4c90,e[_0x3ac34b(0x3b9)][_0x3ac34b(0x30f)]);if(!_0x5450c9||_0x5450c9[_0x3ac34b(0x2ab)]()['tables'][_0x4aa604['id']])return!0x1;let _0x4196dd=_0x36ab5a[_0x3ac34b(0x221)](e[_0x3ac34b(0x367)]),_0x1abdf9=_0x36ab5a[_0x3ac34b(0x221)](e[_0x3ac34b(0x2be)]),_0x46483a=_0x5450c9[_0x3ac34b(0x2ab)](),_0x5c12ec={..._0x4aa604,'name':_0x5450c9[_0x3ac34b(0x216)](_0x4aa604[_0x3ac34b(0x2cb)])},_0x18ca09=new P()[_0x3ac34b(0x37a)](_0x46483a,_0x5c12ec,_0x197352),_0x4db6df=new w()[_0x3ac34b(0x183)](_0x46483a,_0x18ca09),_0x7e1a59={'unitId':_0x5e4c90,'op':_0x18ca09},_0x3e62cd={'unitId':_0x5e4c90,'op':_0x4db6df};return _0x4196dd['syncExecuteCommand'](J['id'],_0x7e1a59)?(_0x1e3a5e[_0x3ac34b(0x27a)](_0x5e4c90),_0x1abdf9[_0x3ac34b(0x3db)]({'unitID':_0x5e4c90,'undoMutations':[{'id':J['id'],'params':_0x3e62cd}],'redoMutations':[{'id':J['id'],'params':_0x7e1a59}]}),!0x0):!0x1;}};function bn(_0x3d28f0,_0x1f1a90,_0x32a07c=[]){const _0xffd336=_0xa3b18d;let _0x3b7b93=new Set([...Object[_0xffd336(0x29e)](_0x3d28f0[_0xffd336(0x35e)])[_0xffd336(0x314)](_0x1f6dd0=>_0x1f6dd0)[_0xffd336(0x1da)](_0x17ed08=>_0x17ed08[_0xffd336(0x2cb)]),..._0x32a07c[_0xffd336(0x1da)](_0xdf0896=>_0xdf0896[_0xffd336(0x2cb)])]);if(!_0x3b7b93['has'](_0x1f1a90))return _0x1f1a90;let _0x564c9d=0x2;for(;_0x3b7b93[_0xffd336(0x397)](_0x1f1a90+'\x20'+_0x564c9d);)_0x564c9d++;return _0x1f1a90+'\x20'+_0x564c9d;}function xn(_0x30ed75,_0x447549){const _0x5e9841=_0xa3b18d;if(!_0x30ed75||!_0x447549[_0x5e9841(0x333)])return;let _0x23a0bc=[..._0x30ed75];return _0x447549[_0x5e9841(0x465)](_0x1323c1=>{const _0x3aa63c=_0x5e9841;_0x23a0bc[_0x3aa63c(0x162)](_0x1323c1)||_0x23a0bc[_0x3aa63c(0x439)](_0x1323c1);}),_0x23a0bc;}const Sn={'options':[{'id':'todo','name':_0xa3b18d(0x3ed),'color':_0xa3b18d(0x43f)},{'id':_0xa3b18d(0x3c9),'name':_0xa3b18d(0x302),'color':_0xa3b18d(0x2f5)},{'id':_0xa3b18d(0x480),'name':_0xa3b18d(0x385),'color':_0xa3b18d(0x391)}]},Cn={'locale':'en-US','pattern':_0xa3b18d(0x3eb),'includeTime':!0x1,'hourCycle':_0xa3b18d(0x2b6),'defaultMode':_0xa3b18d(0x386)};function wn(_0x501eac,_0x4e8918,_0x4eaca0,_0x41ea8e){const _0x21e927=_0xa3b18d;var _0x36db40;let _0x22d4f6=new P(),_0x2d6b13=_0x501eac['tables'][_0x4e8918];if(_0x2d6b13&&_0x4eaca0['type']==='kanban'){var _0x5bfd35;let _0x50fc5d=En(_0x2d6b13,_0x4eaca0),_0x59055a=_0x50fc5d['changed']?{..._0x4eaca0,'config':_0x50fc5d[_0x21e927(0x3af)],'fieldOrder':(_0x5bfd35=_0x50fc5d['fieldOrder'])==null?_0x4eaca0[_0x21e927(0x2d8)]:_0x5bfd35}:_0x4eaca0;return N([..._0x50fc5d[_0x21e927(0x35e)][_0x21e927(0x1da)](_0x11037f=>_0x22d4f6[_0x21e927(0x474)](_0x501eac,_0x4e8918,{'field':_0x11037f})),_0x22d4f6[_0x21e927(0x353)](_0x501eac,_0x4e8918,_0x59055a,_0x41ea8e)]);}if(!_0x2d6b13||_0x4eaca0[_0x21e927(0x177)]!==_0x21e927(0x322)&&_0x4eaca0['type']!==_0x21e927(0x2a6))return _0x22d4f6['createView'](_0x501eac,_0x4e8918,_0x4eaca0,_0x41ea8e);let _0x20638c=Tn(_0x2d6b13,_0x4eaca0),_0x2797fe=_0x20638c['changed']?{..._0x4eaca0,'config':_0x20638c[_0x21e927(0x3af)],'fieldOrder':(_0x36db40=_0x20638c[_0x21e927(0x2d8)])==null?_0x4eaca0[_0x21e927(0x2d8)]:_0x36db40}:_0x4eaca0;return _0x4eaca0[_0x21e927(0x177)]===_0x21e927(0x2a6)&&kn(_0x4eaca0)&&(_0x2797fe=An(_0x2d6b13,_0x2797fe,_0x20638c['fields'])),N([..._0x20638c[_0x21e927(0x35e)][_0x21e927(0x1da)](_0x27d73e=>_0x22d4f6['createField'](_0x501eac,_0x4e8918,{'field':_0x27d73e})),_0x22d4f6['createView'](_0x501eac,_0x4e8918,_0x2797fe,_0x41ea8e)]);}function Tn(_0x5acc41,_0x1f471a,_0x197e2f=!0x1){const _0x151828=_0xa3b18d;var _0x281cb7,_0x152ce3,_0x23a599,_0x315b1d;let _0x51327f=_0x5acc41[_0x151828(0x2d8)]['filter'](_0x1c078e=>Mn(_0x5acc41,_0x1c078e)),_0x10e2b6=[],_0x217c42={...(_0x281cb7=_0x1f471a[_0x151828(0x3af)])==null?{}:_0x281cb7},_0xf59fa5=typeof _0x217c42[_0x151828(0x2ad)]=='string'&&Mn(_0x5acc41,_0x217c42['startDateFieldId'])?_0x217c42['startDateFieldId']:_0x51327f[0x0],_0x42d257=typeof _0x217c42[_0x151828(0x34a)]=='string'&&Mn(_0x5acc41,_0x217c42[_0x151828(0x34a)])&&_0x217c42[_0x151828(0x34a)]!==_0xf59fa5?_0x217c42[_0x151828(0x34a)]:_0x51327f[_0x151828(0x484)](_0x276a5a=>_0x276a5a!==_0xf59fa5);if(!_0xf59fa5){let _0x566137=Nn(_0x5acc41,_0x10e2b6,_0x1f471a[_0x151828(0x177)]===_0x151828(0x2a6)?'Start\x20date':_0x151828(0x224));_0x10e2b6[_0x151828(0x439)](_0x566137),_0xf59fa5=_0x566137['id'];}if((_0x1f471a[_0x151828(0x177)]===_0x151828(0x2a6)||_0x197e2f)&&!_0x42d257){let _0x49029e=Nn(_0x5acc41,_0x10e2b6,_0x151828(0x291));_0x10e2b6['push'](_0x49029e),_0x42d257=_0x49029e['id'];}if(_0x1f471a[_0x151828(0x177)]==='calendar'&&!_0x42d257&&delete _0x217c42['endDateFieldId'],_0x217c42[_0x151828(0x2ad)]=_0xf59fa5,_0x1f471a[_0x151828(0x177)]===_0x151828(0x322)&&_0x42d257&&(_0x217c42[_0x151828(0x34a)]=_0x42d257),_0x1f471a[_0x151828(0x177)]===_0x151828(0x2a6)){var _0x5bced4;_0x217c42[_0x151828(0x34a)]=(_0x5bced4=_0x42d257)==null?_0xf59fa5:_0x5bced4;}let _0x49b3a8=xn(_0x1f471a[_0x151828(0x2d8)],_0x10e2b6[_0x151828(0x1da)](_0x781669=>_0x781669['id']));return{'changed':_0x10e2b6[_0x151828(0x333)]>0x0||_0x217c42[_0x151828(0x2ad)]!==((_0x152ce3=_0x1f471a[_0x151828(0x3af)])==null?void 0x0:_0x152ce3[_0x151828(0x2ad)])||_0x217c42[_0x151828(0x34a)]!==((_0x23a599=_0x1f471a[_0x151828(0x3af)])==null?void 0x0:_0x23a599[_0x151828(0x34a)])||!!(_0x49b3a8&&!e[_0x151828(0x464)][_0x151828(0x42e)](_0x49b3a8,(_0x315b1d=_0x1f471a['fieldOrder'])==null?[]:_0x315b1d)),'fields':_0x10e2b6,'config':_0x217c42,'fieldOrder':_0x49b3a8};}function En(_0x3530fb,_0x25b3b8){const _0x1276dd=_0xa3b18d;var _0x3a40ca,_0x45d399,_0x46825e;let _0x289b61=[],_0x59feb8={...(_0x3a40ca=_0x25b3b8[_0x1276dd(0x3af)])==null?{}:_0x3a40ca},_0x45bb71=typeof _0x59feb8[_0x1276dd(0x40c)]=='string'&&Dn(_0x3530fb,_0x59feb8[_0x1276dd(0x40c)])?_0x59feb8['groupFieldId']:_0x3530fb[_0x1276dd(0x2d8)]['find'](_0x5b29d5=>Dn(_0x3530fb,_0x5b29d5));if(!_0x45bb71){let _0xa3783a=On(_0x3530fb,_0x289b61);_0x289b61[_0x1276dd(0x439)](_0xa3783a),_0x45bb71=_0xa3783a['id'];}_0x59feb8['groupFieldId']=_0x45bb71;let _0x52695c=xn(_0x25b3b8['fieldOrder'],_0x289b61[_0x1276dd(0x1da)](_0x41a90b=>_0x41a90b['id']));return{'changed':_0x289b61[_0x1276dd(0x333)]>0x0||_0x59feb8[_0x1276dd(0x40c)]!==((_0x45d399=_0x25b3b8[_0x1276dd(0x3af)])==null?void 0x0:_0x45d399[_0x1276dd(0x40c)])||!!(_0x52695c&&!e[_0x1276dd(0x464)][_0x1276dd(0x42e)](_0x52695c,(_0x46825e=_0x25b3b8[_0x1276dd(0x2d8)])==null?[]:_0x46825e)),'fields':_0x289b61,'config':_0x59feb8,'fieldOrder':_0x52695c};}function Dn(_0x51d788,_0x55e487){const _0x591dff=_0xa3b18d;let _0x4dfcf1=_0x55e487?_0x51d788[_0x591dff(0x35e)][_0x55e487]:null;return _0x4dfcf1?[e[_0x591dff(0x17a)]['SingleSelect'],e[_0x591dff(0x17a)][_0x591dff(0x35d)],e[_0x591dff(0x17a)][_0x591dff(0x232)],e['BaseFieldType'][_0x591dff(0x2bc)],e[_0x591dff(0x17a)][_0x591dff(0x478)],e[_0x591dff(0x17a)]['Checkbox']]['includes'](_0x4dfcf1['type']):!0x1;}function On(_0x375513,_0x35110e){const _0x1dd7df=_0xa3b18d;return{'id':_0x1dd7df(0x26c)+(0x0,e[_0x1dd7df(0x475)])(0x8),'name':bn(_0x375513,'Status',_0x35110e),'type':e[_0x1dd7df(0x17a)][_0x1dd7df(0x3b7)],'config':e[_0x1dd7df(0x464)]['deepClone'](Sn)};}function kn(_0x11720c){const _0x209fcf=_0xa3b18d;var _0x511265,_0x50c2d6;return Object[_0x209fcf(0x1c8)]((_0x511265=_0x11720c[_0x209fcf(0x3af)])==null?{}:_0x511265)['length']===0x0&&Object[_0x209fcf(0x1c8)]((_0x50c2d6=_0x11720c[_0x209fcf(0x326)])==null?{}:_0x50c2d6)['length']===0x0;}function An(_0x2d7527,_0x4d3fed,_0xac16d5){const _0x214174=_0xa3b18d;var _0x41dd8a;let _0x176659={...(_0x41dd8a=_0x4d3fed['config'])==null?{}:_0x41dd8a},_0x5b3c2e=_0xac16d5['map'](_0x3b6c18=>_0x3b6c18['id']),_0x4eabc0=[..._0x2d7527[_0x214174(0x2d8)],..._0x5b3c2e],_0x2c7742=typeof _0x176659[_0x214174(0x47d)]==_0x214174(0x181)&&jn(_0x2d7527,_0xac16d5,_0x176659[_0x214174(0x47d)])?_0x176659['titleFieldId']:_0x2d7527['primaryFieldId'],_0xe6d1f6=typeof _0x176659['startDateFieldId']==_0x214174(0x181)?_0x176659[_0x214174(0x2ad)]:'',_0x55a142=typeof _0x176659[_0x214174(0x34a)]=='string'?_0x176659[_0x214174(0x34a)]:_0xe6d1f6,_0x1967e2=new Set([_0x2c7742,_0xe6d1f6,_0x55a142][_0x214174(0x314)](_0x36fa3b=>_0x36fa3b&&jn(_0x2d7527,_0xac16d5,_0x36fa3b))),_0x57b980=Object[_0x214174(0x26d)](_0x4eabc0[_0x214174(0x2f9)](_0x33f1ce=>_0x1967e2[_0x214174(0x397)](_0x33f1ce)||!jn(_0x2d7527,_0xac16d5,_0x33f1ce)?[]:[[_0x33f1ce,{'hidden':!0x0}]]));return{..._0x4d3fed,'config':{..._0x176659,'titleFieldId':_0x2c7742},'fieldSettings':_0x57b980};}function jn(_0x40c55c,_0x3374dc,_0x399056){const _0x37d02b=_0xa3b18d;var _0x11327d;return!!((_0x11327d=_0x40c55c[_0x37d02b(0x35e)][_0x399056])==null?_0x3374dc[_0x37d02b(0x484)](_0x4e00c5=>_0x4e00c5['id']===_0x399056):_0x11327d)&&!0x0;}function Mn(_0x24abc1,_0xd9b912){const _0x290e6b=_0xa3b18d;let _0x8d20d4=_0xd9b912?_0x24abc1['fields'][_0xd9b912]:null;return!!_0x8d20d4&&_0x8d20d4[_0x290e6b(0x177)]===e[_0x290e6b(0x17a)][_0x290e6b(0x224)]&&_0x8d20d4[_0x290e6b(0x1ab)]!==!0x0&&_0x8d20d4[_0x290e6b(0x35a)]!==!0x0;}function _0x2efd(){const _0x19d350=['today','IBaseCellData.ensureTableCellLayout','BASES_PLUGIN','CreatedBy','Unchecked','base.command.update-base-view-config','base.command.delete-base-view','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','info','createRecords','Phone','record','_tablePermissions','registerCtorForType','setViewSort','diffValue','attachmentSets','prototype','_isNonEmptyCellValue','_resolveKanbanCoverFieldId','_isKanbanGroupField','_projectGroups','canDeleteField','_bumpTableRevision','_title','_initRegistries','push','Link','getFullYear','_baseSyncDisposables','_cellInvalidations','unshift','#BFDBFE','next30','operator','BatchDeleteBaseRecordsCommand','base.command.change-base-field-type','matchesBaseCondition','IBaseProjectionService','getUnitId','invalidDateField','version','setSnapshot','displayText','decimal','validateFormula','copyBaseTableSnapshot','lessThan','DataSyncPrimaryController','duplicateField','column','decorate','changeFieldType','fieldIds','search','BaseProjection.filterAndSortRows','[BaseViewRegistryService]:\x20view\x20type\x20\x22','medium','_viewRevisionKey','_getTableRevision','operand','progressFieldId','unitData','endsWith','base.command.update-base-field','[BaseField]:\x20invalid\x20date\x20value.','gridViewId','onReady','_isAllDayCalendarEvent','Tools','forEach','BaseJson1.json1Apply','attachment-','_initDataSync','params','_injector','YYYY/MM/DD','constructor','_createRecordWithDefaults','_initCommands','Barcode','basePerf','UniverBasesPlugin','DeleteBaseTableCommand','tableId','createField','generateRandomId','renameFormulaUnitReferences','createSetRecordValuesOp','Group','createDefaultValue','_viewRowsCacheKey','_config','recordOrder','titleFieldId','insertOp','_projectRows','done','base-perf-','_permissionService','_activeDirtyManagerService','find','Currency','base.command.set-base-view-filter','moveField','Gantt\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','padStart','includes','star','rowIndex','autoIncrement','69666pqQVcN','rows','Failed\x20to\x20create\x20update\x20cell\x20operation:','SetBaseRecordValuesCommand','canEditCell','_createRecordOrderOp','past30','_setAttachmentResources',':end','createUnit','_projectionCache','colId','large','childType','hidden','_fieldRegistry','_withModifiedSystemValues','type','after','selectField','BaseFieldType','registerView','contains','_recordIds','canCreateTable','Progress','-field-name','string','createdBy','invertOp','[BaseField]:\x20invalid\x20checkbox\x20value.','timeslotSize','formatBaseNumberValue','updatedAt','deepClone','valid','getOwnPropertyDescriptor','resolvedOptions','isArray','splice','clearRecordPermission','weekdays','touchDependencies','duplicateRecord','yesterday','[BaseCommandService]:\x20cannot\x20delete\x20field.','updateField','IBaseViewRegistryService','SetBaseRangeValuesCommand','Calendar','Location','unitId','getUTCFullYear','includeRecords','_onCommandExecuted','createBatchCreateRecordsOp','recordPatch','DESC','canDeleteRecord','repeat','$1\x20','long','[BaseCommandService]:\x20cannot\x20delete\x20table.','Grid','blue','Gallery\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','DeleteBaseFieldCommand','workingDays','usableAsGanttStart','readonly','_resolveGanttDateFieldId','conditional','_getSystemFieldValue','_factory','deleteView','manual','_enqueueFormulaSync','[BaseField]:\x20invalid\x20person\x20value.','_isCalendarDateField','_findKanbanGroupField','_initDependencies','#,##0','setConfig','315ZrhTGm','_getAllBaseDependencyTreeCacheMap','_recordPermissions','_replaceOptional','UNIVER_EMBED_BASES_TABLE','IUniverInstanceService','cellRevision','Inject','_initialize','createRegExpFromSafeFragment','now','SetBaseKanbanGroupFieldCommand','CreateBaseRecordCommand','every','iterator','keys','BaseJson1OpFactory','_commandService','group','cardSize','_configService','size','sequenceExecute','base.view-registry.service','_buildGallery','BaseSortDirection','COMMAND','UpdateBaseViewConfigCommand','subscribe','793809EZGeWl','base.command.set-base-view-sort','working','Numbering','map','executeCommand','compose','setViewFilter','bases.fieldConfig.textPlaceholder','moveView','UpdatedBy','getTypeOfUnitDisposed$','setBasePermission','getDay','reason','compare','canManageView','finally','base.command.update-base-cell','join','abbreviation','local','setHours','leftPaneWidth','registerSuperTable','BaseDataModel','[BaseField]:\x20invalid\x20email\x20value.','viewRevision','[BasePerf]\x20','_getCurrentUserId','[BaseFormula]:\x20field\x20\x22','registerTable','IConfigService','scale','UniverLicensePlugin','Plugin','base.command.update-base-record-order','card','_fastSortRows','\x22\x20is\x20not\x20registered.','STRING','_getJson1DirtyData','Module','missingField','_projectFields','REMOTE_BASES_PLUGIN','add','_findCalendarDateFieldId','_buildCalendar','registerSuperTables','Attachment','decimalPlaces','getAllBases','parse','limit','object','_cellRevisions','_patchProjectedRowsForCellInvalidations','[BaseCommandService]:\x20cannot\x20create\x20table.','kanban','key','patches','getMonth','base.permission.service','uniqueTableName','entries','getDependencies','_kanbanGroupKeys','max','tableRevision','frozenFieldCount','score','base.viewType.grid','periodComma','renameTable','get','__UNIVER_BASE_PERF__','inferBaseSeparatorStyle','Date','_formulaSyncQueue','isInteger','-view-grid','test','isNot','childUnitId','registerSyncingMutations','_applyingFormulaResults','exceptions','columnSettings','_plugins','_cellInvalidationsTouchFields','base.command.set-base-view-field-width','Rating','revision','1.0.0-alpha.7','base.command.delete-base-table','week','_cacheKey','base.command.move-base-view','20mTgBgh','50280wjjOMM','Checkbox','_getKanbanConfiguredLanes','[BaseCommandService]:\x20cannot\x20delete\x20record.','stringify','_rowTransformCacheSegment','view-','MUTATION','setFieldPermission','DependentOn','dateToExcelSerial','RemoveSuperTableMutation','BaseJson1OpApplier','cardLayout','[BaseCommandService]:\x20cannot\x20edit\x20field.','_capabilities','[BaseCommandService]:\x20cannot\x20create\x20record.','trigger','ApplyBaseJson1Mutation','invalidGanttStartField','some','call','matchAll','baseDateSerialToDateMs','_getCachedProjection','base.command.update-base-kanban-config','url','_isAllDayGanttDateRange','_formulaService','unitWidth','tables','_normalizeGanttConfig','index','tableName','end','setViewFieldVisible','toStringTag','boolean','invalidateByCell','_apply','rowId','ChangeBaseFieldTypeCommand','_isGanttDateField','editable','389645JbVPaq','_projectedRowsCache','NUMBER','createCreateFieldOp','_calendarEventColor','setViewGroup','fld-','fromEntries','col','toPrimitive','base.viewType.gantt','toFixed','ObjectMatrix','invalidGanttEndField','updateRecordOrder','options','SetBaseViewFilterCommand','order','createdAt','base.command.create-base-record','focusUnit','_normalizeCellValue','_getTablesToNormalize','_resolveKanbanGroupFieldId','getAll','setRangeValues','separatorStyle','createEmbedBasesTableAddMutation','RenameBaseViewCommand','includeTime','custom','Number','_getViewRevision','SetFormulaCalculationResultMutation','SetBaseNameCommand','isNotEmpty','BaseFilterConjunction','validate','_sortRows','Text','lastIndexOf','format','[BaseCommandService]:\x20cannot\x20manage\x20view.','End\x20date','recordNamePrefix','SetBaseViewFieldWidthCommand','_getOrderedRecords','#3b82f6','conditions','_projectedViewRowsCache','_groupCellInvalidations','Calendar\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','_patchCachedProjectedRows','base.command.duplicate-base-field','_createSystemFieldValuePatches','\x22\x20does\x20not\x20exist.','values','[BaseFieldRegistryService]:\x20field\x20type\x20\x22','CellValueType','error','showTodayLine','deleteTable','YYYY-MM-DD','3875862mhNNAI','gantt','CreateBaseViewCommand','hh:mm','base.command.set-base-view-group','getBase','getSnapshot','applyOp','startDateFieldId','user','_viewRevisions','_resolveCalendarDateFieldId','base.command.duplicate-base-record','base.command.rename-base-view','#14b8a6','_filterRows','createEmbedBasesTableRemoveMutation','h24','numfmt','invalidateByOp','conjunction','normalizeBaseDateSerial','CreatedAt','Person','formatToParts','IUndoRedoService','FormulaCalculationTriggerService','getSuperTableRegistrations','base.command.batch-create-base-records','-record-','_buildGrid','SetBaseViewGroupCommand','setRecordPermission','createCreateRecordOp','_globalRevision','__tempBatchingUndoRedo','usableAsGanttEnd','UpdateBaseFieldDescriptionCommand','name','base-perf','register','slice','Empty','_filterSortFieldIds','_getStructureDirtyTableIds','getProjection','canDeleteTable','getTime','locale','cellData','getUnit','fieldOrder','normal','createRecord','createIdentifier','Flow','indexOf','defaultValue','embedId','recordCount','BOOLEAN','viewId','_views','UpdatedAt','Lookup','general','syncUnit','_setFormulaFieldCells','packageName','base.viewType.kanban','invalid','_tableRevisions','UTC','fieldId','_basePermissions','editCell','SetBaseViewFieldVisibleCommand','toLowerCase','merge','isFinite','#FDE68A','getAllUnitsForType','recordId','fieldIndex','flatMap','_materializeGroups','getUTCDate','[BaseCommandService]:\x20invalid\x20cell\x20value.','columns','date','DD/MM/YYYY','greaterThanOrEqual','Name','Doing','dateKit','displayColor','en-US','allowMultiple','_normalizeGanttDisplayColor','_normalizeCalendarDisplayColor','result','canCreateField','clearFieldPermission','unitOtherData','_canUseFastSort','deleteRecords','UNIVER_BASE','resolve','BaseProjection.projectRows','recordIds','commaPeriod','filter','_createNumberingAllocators','allowNegative','_syncBaseUnit','BaseViewType','symbol','_applier','formula.mutation.set-formula-calculation-result','SetBaseViewSortCommand','NumberFormat','beforeViewId','createSuperTableReference','viewOrder','description','calendar','133698reETsi','YYYY/MM/DD\x20HH:mm','@univerjs-pro/bases','fieldSettings','base.command.set-base-view-field-visible','deleteField','true','cell','base.field-registry.service','_dataSyncPrimaryController',':start','raw',',,,\x22B\x22','projection','_getCellRevision','records','length','[BaseField]:\x20invalid\x20multi-value\x20reference.','unknown','_kanbanLaneTitle','startsWith','_deleteAttachmentResources','searchTexts','row','spaceComma','value','sort','CommandType','forValue','UniverProFormulaEnginePlugin','path','_resolveKanbanCardFieldIds','6812325UprakM','snapshot','clearTablePermission','_toDirtyRangePatch','_getTable','_setCachedProjection','createUpdateCellOp','endDateFieldId','MM/DD/YYYY','hourCycle','person','onCommandExecuted','mode','SetBaseViewFieldOrderCommand','getBaseCellValue','thisMonth','createView','coverFieldId','fromPlainText','setViewFieldOrder','removeOp','min','updatedBy','system','formatBaseDateValue','level','MultiSelect','fields','normalize','_normalizeCalendarConfig','_ganttBarColor','fieldName','Formula','EnsureBaseTemporalViewDateFieldsCommand','_createNumberingFieldValuePatches','workingDaysOnly','ICommandService','off','hasOwnProperty','split','tomorrow','SetTriggerFormulaCalculationStartMutation','defineProperty','IBasePermissionService','renameView','Checked','majorHeaders','base.projection.service','updateViewConfig','BaseProjection.materializeTableRows','base.mutation.apply-base-json1','[BaseField]:\x20invalid\x20phone\x20value.','changed','valueOf','base.fieldType.','createTable','regexp','_createNumberingAllocator','resources','_kanbanLaneColor','then','_groupsCacheKey','getUTCMonth','formula','greaterThan','start','Done','none','localeCompare','Uncategorized','pluginName','getStructuredDependencies','_isColorfulKanbanGroupField','_syncSuperTables','children','next7',',\x22K\x22','orderKey','#BBF7D0','repairViewConfig','refactorFormulaUnitQualifier','hostAnchorId','isEmpty','_setViewFieldSetting','has','_buildKanban','timeZone','before','_projectTableRows','attachmentSet','CreateBaseTableCommand','month','year','base.command.create-base-field','syncExecuteCommand','_registeredSuperTableNames','direction','_matchesGanttColorRule','rules','label','showFieldNames','RecordId','base.viewType.gallery','from','createDefaultConfig','table','base.command.move-base-field','replace','config','searchBaseTable','MM-DD','Summary','getBaseCellFormulaValue','lastMonth','usableAsCardCover','colIndex','SingleSelect','notContains','UniverInstanceType','beforeFieldId','base.command.rename-base-table','createViewId','mark','_resolveGalleryCoverFieldId','Gantt','DuplicateBaseRecordCommand','_normalizeGalleryConfig','usableAsCalendarDate','Button','registerCommand','quarter','exact','assign','_removeSuperTables','doing','Disposable','measure','getItem','_getAllTableIds','getCurrentUser','DeleteBaseRecordCommand','disposeWithMe','base.command.delete-base-field','function','_resolveGalleryCardFieldIds','BatchCreateBaseRecordsCommand','base.command.set-base-range-values','toLocaleString','currencySymbol','lastIndex','afterFieldId','base.command.batch-delete-base-records','pushUndoRedo','createBase','attachments','base.viewType.calendar','Injector','lastWeek','delete','HH:mm','title',',,\x22M\x22','set','base.command.set-base-name','short','groups','IActiveDirtyManagerService','[BaseField]:\x20negative\x20numbers\x20are\x20disabled.','yyyy/mm/dd','text','Todo','getCapabilities','Working\x20day','_buildGantt','colorFieldId','setViewFieldWidth','Email','getUTCDay','base.command.set-base-view-field-order','getCurrentUserId','rowIndexById','setRecordValues','_fieldPermissions','reduce','catch','deleteRecord','canCreateRecord','number','attachment','regenerateViewIds','leftPaneCollapsed','[BaseProjectionService]:\x20missing\x20view\x20\x22','tableOrder','isNaN','dispose','_groupProjectionFieldIds','h:mm\x20a','canEditField','_projectedGroupsCache','BaseJson1.cloneForOp','TwoWayLink','groupFieldId','_groupConfigCacheSegment','uniqueFieldName','JSON1','FORCE_STRING','views','globalRevision','color','_univerInstanceService','Kanban','updateCell','_runtimeContext','view','primaryFieldId','[BaseField]:\x20invalid\x20progress\x20value.','toDisposable','field','replaceOp','trim'];_0x2efd=function(){return _0x19d350;};return _0x2efd();}function Nn(_0xc3c617,_0x570e36,_0x284ab1){const _0x46bf54=_0xa3b18d;let _0x527520=new Set([...Object[_0x46bf54(0x1c8)](_0xc3c617[_0x46bf54(0x35e)]),..._0x570e36[_0x46bf54(0x1da)](_0x5478f3=>_0x5478f3['id'])]),_0x900756='fld-'+(0x0,e[_0x46bf54(0x475)])(0x8);for(;_0x527520['has'](_0x900756);)_0x900756=_0x46bf54(0x26c)+(0x0,e[_0x46bf54(0x475)])(0x8);return{'id':_0x900756,'name':bn(_0xc3c617,_0x284ab1,_0x570e36),'type':e['BaseFieldType'][_0x46bf54(0x224)],'config':{...Cn}};}const Pn={'id':'base.command.create-base-view','type':e[_0xa3b18d(0x33e)][_0xa3b18d(0x1d3)],'handler':(_0x529f7c,_0x33f328)=>{const _0x58912c=_0xa3b18d;if(!_0x33f328)return!0x1;let _0x2ea7c9=_0x529f7c['get'](e[_0x58912c(0x1be)]),{unitId:_0x2e6997,tableId:_0x211482,view:_0x44d6c9,index:_0x29ac7a}=_0x33f328,_0x26ec15=_0x2ea7c9[_0x58912c(0x2d7)](_0x2e6997,e['UniverInstanceType'][_0x58912c(0x30f)]);if(!_0x26ec15||!Y(_0x26ec15,_0x211482)||_0x26ec15[_0x58912c(0x2ab)]()['tables'][_0x211482][_0x58912c(0x411)][_0x44d6c9['id']])return!0x1;let _0x5b7741=_0x529f7c['get'](e[_0x58912c(0x367)]),_0x2c987f=_0x529f7c['get'](e['IUndoRedoService']),_0x133ab5=_0x26ec15['getSnapshot'](),_0x2b70cc=wn(_0x133ab5,_0x211482,_0x44d6c9,_0x29ac7a),_0x6ba5a2=new w()[_0x58912c(0x183)](_0x133ab5,_0x2b70cc),_0x572340={'unitId':_0x2e6997,'op':_0x2b70cc},_0xcba956={'unitId':_0x2e6997,'op':_0x6ba5a2};return _0x5b7741['syncExecuteCommand'](J['id'],_0x572340)?(_0x2ea7c9[_0x58912c(0x27a)](_0x2e6997),_0x2c987f['pushUndoRedo']({'unitID':_0x2e6997,'undoMutations':[{'id':J['id'],'params':_0xcba956}],'redoMutations':[{'id':J['id'],'params':_0x572340}]}),!0x0):!0x1;}},Fn={'id':_0xa3b18d(0x3d1),'type':e[_0xa3b18d(0x33e)][_0xa3b18d(0x1d3)],'handler'(_0x1d2b78,_0x2dd022){const _0x2e6e4b=_0xa3b18d;if(!_0x2dd022)return!0x1;let _0x225881=_0x1d2b78[_0x2e6e4b(0x221)](e[_0x2e6e4b(0x1be)]),{unitId:_0x1cafde,tableId:_0x53c0f2,fieldId:_0x421952}=_0x2dd022,_0x140eb0=_0x225881[_0x2e6e4b(0x2d7)](_0x1cafde,e[_0x2e6e4b(0x3b9)][_0x2e6e4b(0x30f)]);if(!_0x140eb0)return!0x1;let _0x458942=_0x140eb0['getSnapshot'](),_0x468e3a=_0x458942[_0x2e6e4b(0x258)][_0x53c0f2];if(!Y(_0x140eb0,_0x53c0f2,{'fieldIds':[_0x421952]})||_0x468e3a[_0x2e6e4b(0x419)]===_0x421952)return!0x1;let _0x1caf17=_0x1d2b78[_0x2e6e4b(0x221)](e[_0x2e6e4b(0x367)]),_0x40d163=_0x1d2b78[_0x2e6e4b(0x221)](e[_0x2e6e4b(0x2be)]),_0x154d66=new P()[_0x2e6e4b(0x328)](_0x458942,_0x53c0f2,_0x421952),_0x11a0d9=new w()[_0x2e6e4b(0x183)](_0x458942,_0x154d66),_0x1e5c74={'unitId':_0x1cafde,'op':_0x154d66},_0x3fce56={'unitId':_0x1cafde,'op':_0x11a0d9};return _0x1caf17[_0x2e6e4b(0x3a1)](J['id'],_0x1e5c74)?(_0x225881['focusUnit'](_0x1cafde),_0x40d163[_0x2e6e4b(0x3db)]({'unitID':_0x1cafde,'undoMutations':[{'id':J['id'],'params':_0x3fce56}],'redoMutations':[{'id':J['id'],'params':_0x1e5c74}]}),!0x0):!0x1;}},In={'id':'base.command.delete-base-record','type':e[_0xa3b18d(0x33e)][_0xa3b18d(0x1d3)],'handler':(_0x1c300a,_0x10cb03)=>{const _0x41c61d=_0xa3b18d;if(!_0x10cb03)return!0x1;let _0x4dab41=_0x1c300a[_0x41c61d(0x221)](e['IUniverInstanceService']),{unitId:_0x2a5c16,tableId:_0x4162fb,recordId:_0x5713dc}=_0x10cb03,_0x127668=_0x4dab41['getUnit'](_0x2a5c16,e[_0x41c61d(0x3b9)][_0x41c61d(0x30f)]);if(!_0x127668||!Y(_0x127668,_0x4162fb,{'recordIds':[_0x5713dc]}))return!0x1;let _0x345c2b=_0x1c300a[_0x41c61d(0x221)](e[_0x41c61d(0x367)]),_0x5f19fa=_0x1c300a[_0x41c61d(0x221)](e[_0x41c61d(0x2be)]),_0x4b80b2=_0x127668[_0x41c61d(0x2ab)](),_0x4530eb=new P()['deleteRecord'](_0x4b80b2,_0x4162fb,_0x5713dc),_0x27dade=new w()[_0x41c61d(0x183)](_0x4b80b2,_0x4530eb),_0x2362c2={'unitId':_0x2a5c16,'op':_0x4530eb},_0x2e2c5f={'unitId':_0x2a5c16,'op':_0x27dade};return _0x345c2b[_0x41c61d(0x3a1)](J['id'],_0x2362c2)?(_0x4dab41[_0x41c61d(0x27a)](_0x2a5c16),_0x5f19fa['pushUndoRedo']({'unitID':_0x2a5c16,'undoMutations':[{'id':J['id'],'params':_0x2e2c5f}],'redoMutations':[{'id':J['id'],'params':_0x2362c2}]}),!0x0):!0x1;}},Ln={'id':_0xa3b18d(0x235),'type':e[_0xa3b18d(0x33e)][_0xa3b18d(0x1d3)],'handler':(_0x2d5236,_0x558883)=>{const _0x13da38=_0xa3b18d;if(!_0x558883)return!0x1;let _0x1a8051=_0x2d5236['get'](e['IUniverInstanceService']),{unitId:_0x242ad1,tableId:_0x20faf2}=_0x558883,_0x4669ba=_0x1a8051[_0x13da38(0x2d7)](_0x242ad1,e['UniverInstanceType'][_0x13da38(0x30f)]);if(!_0x4669ba||!Y(_0x4669ba,_0x20faf2))return!0x1;let _0x457a00=_0x2d5236[_0x13da38(0x221)](e[_0x13da38(0x367)]),_0x7f088=_0x2d5236[_0x13da38(0x221)](e['IUndoRedoService']),_0x1ef5e5=_0x4669ba[_0x13da38(0x2ab)](),_0x24ece5=new P()[_0x13da38(0x2a3)](_0x1ef5e5,_0x20faf2),_0x395009=new w()[_0x13da38(0x183)](_0x1ef5e5,_0x24ece5),_0x57716d={'unitId':_0x242ad1,'op':_0x24ece5},_0x1c45d4={'unitId':_0x242ad1,'op':_0x395009};return _0x457a00[_0x13da38(0x3a1)](J['id'],_0x57716d)?(_0x1a8051[_0x13da38(0x27a)](_0x242ad1),_0x7f088[_0x13da38(0x3db)]({'unitID':_0x242ad1,'undoMutations':[{'id':J['id'],'params':_0x1c45d4}],'redoMutations':[{'id':J['id'],'params':_0x57716d}]}),!0x0):!0x1;}},Rn={'id':_0xa3b18d(0x425),'type':e['CommandType']['COMMAND'],'handler':(_0x1cbb25,_0x5e9190)=>{const _0x3471e9=_0xa3b18d;if(!_0x5e9190)return!0x1;let _0x36faa5=_0x1cbb25[_0x3471e9(0x221)](e[_0x3471e9(0x1be)]),{unitId:_0x532562,tableId:_0x1ec567,viewId:_0x427bee}=_0x5e9190,_0x1df250=_0x36faa5['getUnit'](_0x532562,e[_0x3471e9(0x3b9)]['UNIVER_BASE']);if(!_0x1df250||!Y(_0x1df250,_0x1ec567,{'viewIds':[_0x427bee]}))return!0x1;let _0x1f9da9=_0x1cbb25[_0x3471e9(0x221)](e[_0x3471e9(0x367)]),_0x3d242e=_0x1cbb25[_0x3471e9(0x221)](e['IUndoRedoService']),_0x3aaf80=_0x1df250[_0x3471e9(0x2ab)](),_0x50fb77=new P()[_0x3471e9(0x1b0)](_0x3aaf80,_0x1ec567,_0x427bee),_0x4dd432=new w()['invertOp'](_0x3aaf80,_0x50fb77),_0x22c57c={'unitId':_0x532562,'op':_0x50fb77},_0x4e9ffb={'unitId':_0x532562,'op':_0x4dd432};return _0x1f9da9[_0x3471e9(0x3a1)](J['id'],_0x22c57c)?(_0x36faa5[_0x3471e9(0x27a)](_0x532562),_0x3d242e['pushUndoRedo']({'unitID':_0x532562,'undoMutations':[{'id':J['id'],'params':_0x4e9ffb}],'redoMutations':[{'id':J['id'],'params':_0x22c57c}]}),!0x0):!0x1;}},zn={'id':_0xa3b18d(0x29b),'type':e[_0xa3b18d(0x33e)][_0xa3b18d(0x1d3)],'handler':(_0x547cbd,_0x5c756c)=>{const _0x3d278b=_0xa3b18d;if(!_0x5c756c)return!0x1;let _0x4d6a15=_0x547cbd['get'](e['IUniverInstanceService']),{unitId:_0x481707,tableId:_0x893625,sourceFieldId:_0x3369a7,field:_0x26ec17,index:_0x53f395,viewIndexes:_0x192313}=_0x5c756c,_0x46d19b=_0x4d6a15['getUnit'](_0x481707,e[_0x3d278b(0x3b9)]['UNIVER_BASE']);if(!_0x46d19b||!Y(_0x46d19b,_0x893625,{'fieldIds':[_0x3369a7]})||_0x46d19b[_0x3d278b(0x2ab)]()[_0x3d278b(0x258)][_0x893625]['fields'][_0x26ec17['id']])return!0x1;let _0x29bb35=_0x547cbd[_0x3d278b(0x221)](e[_0x3d278b(0x367)]),_0x1c7fef=_0x547cbd[_0x3d278b(0x221)](e['IUndoRedoService']),_0x18001b=_0x46d19b['getSnapshot'](),_0x30f6f8=new P()[_0x3d278b(0x450)](_0x18001b,_0x893625,_0x3369a7,{'field':_0x26ec17,'index':_0x53f395,'viewIndexes':_0x192313}),_0x3eefb7=new w()[_0x3d278b(0x183)](_0x18001b,_0x30f6f8),_0x48fc4f={'unitId':_0x481707,'op':_0x30f6f8},_0x5cc544={'unitId':_0x481707,'op':_0x3eefb7};return _0x29bb35[_0x3d278b(0x3a1)](J['id'],_0x48fc4f)?(_0x4d6a15[_0x3d278b(0x27a)](_0x481707),_0x1c7fef[_0x3d278b(0x3db)]({'unitID':_0x481707,'undoMutations':[{'id':J['id'],'params':_0x5cc544}],'redoMutations':[{'id':J['id'],'params':_0x48fc4f}]}),!0x0):!0x1;}},Bn={'id':_0xa3b18d(0x2b1),'type':e['CommandType'][_0xa3b18d(0x1d3)],'handler':(_0x36371d,_0x19c946)=>{const _0x346b56=_0xa3b18d;if(!_0x19c946)return!0x1;let _0x11e6cb=_0x36371d['get'](e['IUniverInstanceService']),{unitId:_0x3276ff,tableId:_0x130451,sourceRecordId:_0x328932,record:_0x4aa40b}=_0x19c946,_0x4610d3=_0x11e6cb['getUnit'](_0x3276ff,e[_0x346b56(0x3b9)][_0x346b56(0x30f)]);if(!_0x4610d3||!Y(_0x4610d3,_0x130451,{'recordIds':[_0x328932]})||_0x4610d3[_0x346b56(0x2ab)]()[_0x346b56(0x258)][_0x130451][_0x346b56(0x332)][_0x4aa40b['id']])return!0x1;let _0x4759a6=_0x36371d[_0x346b56(0x221)](e['ICommandService']),_0x5f0494=_0x36371d[_0x346b56(0x221)](e[_0x346b56(0x2be)]),_0x29fd69=_0x4610d3[_0x346b56(0x2ab)](),_0x155d7c=new P()['duplicateRecord'](_0x29fd69,_0x130451,_0x328932,_0x4aa40b),_0x1d54d0=new w()[_0x346b56(0x183)](_0x29fd69,_0x155d7c),_0x2a7ee9={'unitId':_0x3276ff,'op':_0x155d7c},_0x4aedfa={'unitId':_0x3276ff,'op':_0x1d54d0};return _0x4759a6[_0x346b56(0x3a1)](J['id'],_0x2a7ee9)?(_0x11e6cb['focusUnit'](_0x3276ff),_0x5f0494[_0x346b56(0x3db)]({'unitID':_0x3276ff,'undoMutations':[{'id':J['id'],'params':_0x4aedfa}],'redoMutations':[{'id':J['id'],'params':_0x2a7ee9}]}),!0x0):!0x1;}},Vn={'id':'base.command.ensure-base-temporal-view-date-fields','type':e[_0xa3b18d(0x33e)][_0xa3b18d(0x1d3)],'handler'(_0x17f26d,_0x150610){const _0x42a0a8=_0xa3b18d;if(!_0x150610)return!0x1;let _0x57ba94=_0x17f26d[_0x42a0a8(0x221)](e[_0x42a0a8(0x1be)]),{unitId:_0x54aa84,tableId:_0xb4edea,viewId:_0x3c9dce,ensureEndDateField:_0x5b45e6}=_0x150610,_0x529dcc=_0x57ba94[_0x42a0a8(0x2d7)](_0x54aa84,e['UniverInstanceType'][_0x42a0a8(0x30f)]);if(!_0x529dcc||!Y(_0x529dcc,_0xb4edea,{'viewIds':[_0x3c9dce]}))return!0x1;let _0x5a3461=_0x529dcc[_0x42a0a8(0x2ab)](),_0x384576=_0x5a3461[_0x42a0a8(0x258)][_0xb4edea],_0x449468=_0x384576==null?void 0x0:_0x384576[_0x42a0a8(0x411)][_0x3c9dce];if(!_0x384576||!_0x449468||_0x449468[_0x42a0a8(0x177)]!=='calendar'&&_0x449468[_0x42a0a8(0x177)]!==_0x42a0a8(0x2a6))return!0x1;let _0x821255=Tn(_0x384576,_0x449468,_0x5b45e6===!0x0);if(!_0x821255[_0x42a0a8(0x377)])return!0x1;let _0x595e34=_0x17f26d[_0x42a0a8(0x221)](e[_0x42a0a8(0x367)]),_0x2ad615=_0x17f26d['get'](e['IUndoRedoService']),_0x9b7c97=new P(),_0x52f49d=[..._0x821255[_0x42a0a8(0x35e)][_0x42a0a8(0x1da)](_0xb1f84e=>_0x9b7c97['createField'](_0x5a3461,_0x150610[_0x42a0a8(0x473)],{'field':_0xb1f84e})),Hn([...Un(_0x150610[_0x42a0a8(0x473)],_0x150610['viewId']),_0x42a0a8(0x3af)],_0x449468[_0x42a0a8(0x3af)],_0x821255[_0x42a0a8(0x3af)])];_0x821255[_0x42a0a8(0x2d8)]&&_0x52f49d[_0x42a0a8(0x439)](Hn([...Un(_0x150610[_0x42a0a8(0x473)],_0x150610[_0x42a0a8(0x2e2)]),_0x42a0a8(0x2d8)],_0x449468[_0x42a0a8(0x2d8)],_0x821255[_0x42a0a8(0x2d8)]));let _0x499d51=N(_0x52f49d),_0x3c8983=new w()[_0x42a0a8(0x183)](_0x5a3461,_0x499d51),_0x1655b9={'unitId':_0x54aa84,'op':_0x499d51},_0x50df93={'unitId':_0x54aa84,'op':_0x3c8983};return _0x595e34['syncExecuteCommand'](J['id'],_0x1655b9)?(_0x57ba94[_0x42a0a8(0x27a)](_0x54aa84),_0x2ad615[_0x42a0a8(0x3db)]({'unitID':_0x54aa84,'undoMutations':[{'id':J['id'],'params':_0x50df93}],'redoMutations':[{'id':J['id'],'params':_0x1655b9}]}),!0x0):!0x1;}};function Hn(_0x5cd084,_0x417b3a,_0x491cb8){const _0x1f71d8=_0xa3b18d;return _0x417b3a===void 0x0?e['JSON1'][_0x1f71d8(0x47e)](_0x5cd084,_0x491cb8):e[_0x1f71d8(0x40f)][_0x1f71d8(0x41d)](_0x5cd084,_0x417b3a,_0x491cb8);}function Un(_0x21f80f,_0x46e8ae){const _0x56567e=_0xa3b18d;return[_0x56567e(0x258),_0x21f80f,_0x56567e(0x411),_0x46e8ae];}const Wn={'id':_0xa3b18d(0x3ad),'type':e[_0xa3b18d(0x33e)][_0xa3b18d(0x1d3)],'handler':(_0x5b98a3,_0x55c727)=>{const _0x563cf9=_0xa3b18d;var _0x18d11a;if(!_0x55c727)return!0x1;let _0x4234ec=_0x5b98a3[_0x563cf9(0x221)](e[_0x563cf9(0x1be)]),{unitId:_0x797045,tableId:_0x57b9a1,fieldId:_0x190a84,target:_0x5bf848}=_0x55c727,_0x553531=_0x4234ec[_0x563cf9(0x2d7)](_0x797045,e['UniverInstanceType'][_0x563cf9(0x30f)]),_0x486fb7=(_0x18d11a=_0x5bf848[_0x563cf9(0x3ba)])==null?_0x5bf848[_0x563cf9(0x3d9)]:_0x18d11a;if(!_0x553531||!!_0x5bf848[_0x563cf9(0x3ba)]==!!_0x5bf848['afterFieldId']||!_0x486fb7||_0x486fb7===_0x190a84||!Y(_0x553531,_0x57b9a1,{'fieldIds':[_0x190a84,_0x486fb7]}))return!0x1;let _0x3d784a=_0x5b98a3['get'](e[_0x563cf9(0x367)]),_0x5ef735=_0x5b98a3[_0x563cf9(0x221)](e[_0x563cf9(0x2be)]),_0x17482a=_0x553531[_0x563cf9(0x2ab)](),_0xfe09a=new P()['moveField'](_0x17482a,_0x57b9a1,_0x190a84,_0x5bf848),_0x45c4a6=new w()[_0x563cf9(0x183)](_0x17482a,_0xfe09a),_0x237c29={'unitId':_0x797045,'op':_0xfe09a},_0x5d714c={'unitId':_0x797045,'op':_0x45c4a6};return _0x3d784a[_0x563cf9(0x3a1)](J['id'],_0x237c29)?(_0x4234ec[_0x563cf9(0x27a)](_0x797045),_0x5ef735[_0x563cf9(0x3db)]({'unitID':_0x797045,'undoMutations':[{'id':J['id'],'params':_0x5d714c}],'redoMutations':[{'id':J['id'],'params':_0x237c29}]}),!0x0):!0x1;}},Gn={'id':_0xa3b18d(0x238),'type':e[_0xa3b18d(0x33e)][_0xa3b18d(0x1d3)],'handler':(_0x508d2f,_0x41dd56)=>{const _0x198aee=_0xa3b18d;var _0x565c8b;if(!_0x41dd56)return!0x1;let _0x4c771e=_0x508d2f['get'](e[_0x198aee(0x1be)]),{unitId:_0x359dc2,tableId:_0x57dbc6,viewId:_0x39526c,target:_0x34249e}=_0x41dd56,_0x59f6fd=_0x4c771e[_0x198aee(0x2d7)](_0x359dc2,e[_0x198aee(0x3b9)][_0x198aee(0x30f)]),_0x23cf49=(_0x565c8b=_0x34249e[_0x198aee(0x31e)])==null?_0x34249e['afterViewId']:_0x565c8b;if(!_0x59f6fd||!_0x23cf49||_0x23cf49===_0x39526c||!Y(_0x59f6fd,_0x57dbc6,{'viewIds':[_0x39526c,_0x23cf49]}))return!0x1;let _0x4ee38e=_0x508d2f['get'](e[_0x198aee(0x367)]),_0x366dfd=_0x508d2f['get'](e[_0x198aee(0x2be)]),_0x55ec5c=_0x59f6fd[_0x198aee(0x2ab)](),_0x46978f=new P()[_0x198aee(0x1df)](_0x55ec5c,_0x57dbc6,_0x39526c,_0x34249e),_0x48a637=new w()['invertOp'](_0x55ec5c,_0x46978f),_0x510235={'unitId':_0x359dc2,'op':_0x46978f},_0x2b1a40={'unitId':_0x359dc2,'op':_0x48a637};return _0x4ee38e[_0x198aee(0x3a1)](J['id'],_0x510235)?(_0x4c771e[_0x198aee(0x27a)](_0x359dc2),_0x366dfd[_0x198aee(0x3db)]({'unitID':_0x359dc2,'undoMutations':[{'id':J['id'],'params':_0x2b1a40}],'redoMutations':[{'id':J['id'],'params':_0x510235}]}),!0x0):!0x1;}},Kn={'id':_0xa3b18d(0x3bb),'type':e[_0xa3b18d(0x33e)][_0xa3b18d(0x1d3)],'handler':(_0x4a961c,_0xa6034)=>{const _0x3326e1=_0xa3b18d;if(!_0xa6034)return!0x1;let _0x33af52=_0x4a961c[_0x3326e1(0x221)](e['IUniverInstanceService']),{unitId:_0x8a18fc,tableId:_0x545fc6,name:_0x4d3ff6}=_0xa6034,_0x1f30d=_0x33af52[_0x3326e1(0x2d7)](_0x8a18fc,e[_0x3326e1(0x3b9)]['UNIVER_BASE']);if(!_0x1f30d||!Y(_0x1f30d,_0x545fc6))return!0x1;let _0x3e70d1=_0x4a961c[_0x3326e1(0x221)](e[_0x3326e1(0x367)]),_0x2ab684=_0x4a961c[_0x3326e1(0x221)](e[_0x3326e1(0x2be)]),_0x3fa05f=_0x1f30d[_0x3326e1(0x2ab)](),_0x58baa2=new P()[_0x3326e1(0x220)](_0x3fa05f,_0x545fc6,_0x4d3ff6),_0x4751bf=new w()[_0x3326e1(0x183)](_0x3fa05f,_0x58baa2),_0x499b27={'unitId':_0x8a18fc,'op':_0x58baa2},_0x4f08c6={'unitId':_0x8a18fc,'op':_0x4751bf};return _0x3e70d1[_0x3326e1(0x3a1)](J['id'],_0x499b27)?(_0x33af52[_0x3326e1(0x27a)](_0x8a18fc),_0x2ab684[_0x3326e1(0x3db)]({'unitID':_0x8a18fc,'undoMutations':[{'id':J['id'],'params':_0x4f08c6}],'redoMutations':[{'id':J['id'],'params':_0x499b27}]}),!0x0):!0x1;}},qn={'id':_0xa3b18d(0x2b2),'type':e['CommandType'][_0xa3b18d(0x1d3)],'handler':(_0x5598bb,_0x55d1fd)=>{const _0xa0423e=_0xa3b18d;if(!_0x55d1fd)return!0x1;let _0x101eb4=_0x5598bb[_0xa0423e(0x221)](e[_0xa0423e(0x1be)]),{unitId:_0x44b439,tableId:_0x41335a,viewId:_0xc8cb31,name:_0x359415}=_0x55d1fd,_0x2281fe=_0x101eb4[_0xa0423e(0x2d7)](_0x44b439,e['UniverInstanceType'][_0xa0423e(0x30f)]);if(!_0x2281fe||!Y(_0x2281fe,_0x41335a,{'viewIds':[_0xc8cb31]}))return!0x1;let _0x26198b=_0x5598bb[_0xa0423e(0x221)](e[_0xa0423e(0x367)]),_0x38826d=_0x5598bb[_0xa0423e(0x221)](e['IUndoRedoService']),_0x44cd06=_0x2281fe[_0xa0423e(0x2ab)](),_0x1b88c7=new P()[_0xa0423e(0x36f)](_0x44cd06,_0x41335a,_0xc8cb31,_0x359415),_0x446ed9=new w()['invertOp'](_0x44cd06,_0x1b88c7),_0x2b9d30={'unitId':_0x44b439,'op':_0x1b88c7},_0x4dc5d5={'unitId':_0x44b439,'op':_0x446ed9};return _0x26198b['syncExecuteCommand'](J['id'],_0x2b9d30)?(_0x101eb4[_0xa0423e(0x27a)](_0x44b439),_0x38826d[_0xa0423e(0x3db)]({'unitID':_0x44b439,'undoMutations':[{'id':J['id'],'params':_0x4dc5d5}],'redoMutations':[{'id':J['id'],'params':_0x2b9d30}]}),!0x0):!0x1;}},Jn={'id':'base.command.set-base-kanban-group-field','type':e[_0xa3b18d(0x33e)]['COMMAND'],'handler':(_0x3db839,_0x40f25e)=>{const _0x539426=_0xa3b18d;if(!_0x40f25e)return!0x1;let _0x17a418=_0x3db839[_0x539426(0x221)](e['IUniverInstanceService']),{unitId:_0x11a6fe,tableId:_0x4dacbf,viewId:_0x4cbea7,fieldId:_0x515ba1}=_0x40f25e,_0x9c2b28=_0x17a418[_0x539426(0x2d7)](_0x11a6fe,e[_0x539426(0x3b9)][_0x539426(0x30f)]);if(!_0x9c2b28||!Y(_0x9c2b28,_0x4dacbf,{'viewIds':[_0x4cbea7],'fieldIds':[_0x515ba1]}))return!0x1;let _0x38a311=_0x3db839[_0x539426(0x221)](e[_0x539426(0x367)]),_0x15c80d=_0x3db839[_0x539426(0x221)](e[_0x539426(0x2be)]),_0x33a4fb=_0x9c2b28[_0x539426(0x2ab)](),_0x2fef93=new P()[_0x539426(0x373)](_0x33a4fb,_0x4dacbf,_0x4cbea7,{'groupFieldId':_0x515ba1}),_0x5265b8=new w()[_0x539426(0x183)](_0x33a4fb,_0x2fef93),_0x1ead7f={'unitId':_0x11a6fe,'op':_0x2fef93},_0x5b609c={'unitId':_0x11a6fe,'op':_0x5265b8};return _0x38a311[_0x539426(0x3a1)](J['id'],_0x1ead7f)?(_0x17a418[_0x539426(0x27a)](_0x11a6fe),_0x15c80d[_0x539426(0x3db)]({'unitID':_0x11a6fe,'undoMutations':[{'id':J['id'],'params':_0x5b609c}],'redoMutations':[{'id':J['id'],'params':_0x1ead7f}]}),!0x0):!0x1;}},Yn={'id':_0xa3b18d(0x3e6),'type':e[_0xa3b18d(0x33e)]['COMMAND'],'handler':(_0x3fc4a4,_0x16484e)=>{const _0xee5a01=_0xa3b18d;if(!_0x16484e)return!0x1;let _0x3254fb=_0x3fc4a4[_0xee5a01(0x221)](e[_0xee5a01(0x1be)]),_0x28b28f=_0x3254fb[_0xee5a01(0x2d7)](_0x16484e[_0xee5a01(0x199)],e[_0xee5a01(0x3b9)][_0xee5a01(0x30f)]);if(!_0x28b28f)return!0x1;let _0x3a760b=_0x28b28f[_0xee5a01(0x2ab)]()['name'];if(_0x3a760b===_0x16484e[_0xee5a01(0x2cb)])return!0x0;let _0x5cb764=new P(),_0x4ef4f1=new w(),_0x481533=[],_0x3cccdc=[],_0x2be139=[_0x28b28f,..._0x3254fb[_0xee5a01(0x2f6)](e['UniverInstanceType']['UNIVER_BASE'])[_0xee5a01(0x314)](_0x4cc21e=>_0x4cc21e[_0xee5a01(0x446)]()!==_0x16484e['unitId'])];for(let _0x40a57f of _0x2be139){let _0x1c0ab5=_0x40a57f[_0xee5a01(0x2ab)](),_0x420590=_0x40a57f===_0x28b28f?_0x5cb764['setBaseName'](_0x1c0ab5,_0x16484e[_0xee5a01(0x2cb)]):_0x5cb764[_0xee5a01(0x476)](_0x1c0ab5,_0x3a760b,_0x16484e[_0xee5a01(0x2cb)]);_0x420590&&(_0x481533[_0xee5a01(0x439)]({'id':J['id'],'params':{'unitId':_0x40a57f[_0xee5a01(0x446)](),'op':_0x420590,'trigger':Yn['id']}}),_0x3cccdc[_0xee5a01(0x43e)]({'id':J['id'],'params':{'unitId':_0x40a57f['getUnitId'](),'op':_0x4ef4f1[_0xee5a01(0x183)](_0x1c0ab5,_0x420590),'trigger':Yn['id']}}));}let _0x380473=_0x3fc4a4['get'](e[_0xee5a01(0x367)]),_0x40469f=_0x3fc4a4[_0xee5a01(0x221)](e[_0xee5a01(0x2be)]),_0x5b5256=_0x40469f[_0xee5a01(0x2c8)](_0x16484e[_0xee5a01(0x199)]);try{return(0x0,e[_0xee5a01(0x1cf)])(_0x481533,_0x380473)[_0xee5a01(0x309)]?(_0x3254fb[_0xee5a01(0x27a)](_0x16484e['unitId']),_0x40469f[_0xee5a01(0x3db)]({'unitID':_0x16484e['unitId'],'undoMutations':_0x3cccdc,'redoMutations':_0x481533}),!0x0):!0x1;}finally{_0x5b5256['dispose']();}}},Xn={'id':_0xa3b18d(0x3d5),'type':e[_0xa3b18d(0x33e)][_0xa3b18d(0x1d3)],'handler'(_0x258ab0,_0x401aa4){const _0x22b45f=_0xa3b18d;if(!_0x401aa4)return!0x1;let _0x23e3a6=_0x258ab0[_0x22b45f(0x221)](e[_0x22b45f(0x1be)]),{unitId:_0x20b1b8,tableId:_0x355ffd,patches:_0x362e10}=_0x401aa4,_0x25864f=_0x23e3a6[_0x22b45f(0x2d7)](_0x20b1b8,e[_0x22b45f(0x3b9)][_0x22b45f(0x30f)]);if(!_0x25864f||!Y(_0x25864f,_0x355ffd))return!0x1;let _0x5a601c=_0x258ab0[_0x22b45f(0x221)](e['ICommandService']),_0x1e4948=_0x258ab0[_0x22b45f(0x221)](e[_0x22b45f(0x2be)]),_0x315a65=_0x25864f[_0x22b45f(0x2ab)](),_0x2f5333=d(_0x315a65[_0x22b45f(0x258)][_0x355ffd]),_0x4fd09f=_0x362e10['map'](_0x1b94a9=>{const _0x28a51b=_0x22b45f;var _0x6b9bc5;return _0x28a51b(0x2f7)in _0x1b94a9?_0x1b94a9[_0x28a51b(0x2f7)]:(_0x6b9bc5=_0x2f5333[_0x28a51b(0x262)])==null?void 0x0:_0x6b9bc5[_0x1b94a9[_0x28a51b(0x33a)]];})['filter'](_0x553aac=>_0x553aac!=null),_0x3a2d50=_0x362e10['map'](_0x5ec530=>{const _0x3ec80c=_0x22b45f;var _0x34a87b;return _0x3ec80c(0x2ee)in _0x5ec530?_0x5ec530[_0x3ec80c(0x2ee)]:(_0x34a87b=_0x2f5333[_0x3ec80c(0x171)])==null?void 0x0:_0x34a87b[_0x5ec530[_0x3ec80c(0x26e)]];})['filter'](_0xc47854=>_0xc47854!=null);if(_0x4fd09f['length']!==_0x362e10[_0x22b45f(0x333)]||_0x3a2d50[_0x22b45f(0x333)]!==_0x362e10[_0x22b45f(0x333)]||!Y(_0x25864f,_0x355ffd,{'recordIds':_0x4fd09f,'fieldIds':_0x3a2d50}))return!0x1;let _0x2ddc3c=_0x362e10['flatMap'](_0x347c01=>{const _0x16c3e0=_0x22b45f;var _0x4edc71,_0x18f167;if('row'in _0x347c01)return[_0x347c01];let _0x3cf240=(_0x4edc71=_0x2f5333[_0x16c3e0(0x164)])==null?void 0x0:_0x4edc71[_0x347c01[_0x16c3e0(0x2f7)]],_0x355974=(_0x18f167=_0x2f5333[_0x16c3e0(0x3b6)])==null?void 0x0:_0x18f167[_0x347c01[_0x16c3e0(0x2ee)]];return _0x3cf240==null||_0x355974==null?[]:[{'row':_0x3cf240,'col':_0x355974,'value':_0x347c01[_0x16c3e0(0x33c)]}];}),_0x559054=new P()[_0x22b45f(0x27f)](_0x315a65,_0x355ffd,_0x2ddc3c),_0x4cfba2=new w()[_0x22b45f(0x183)](_0x315a65,_0x559054),_0x48864d={'unitId':_0x20b1b8,'op':_0x559054},_0x32e489={'unitId':_0x20b1b8,'op':_0x4cfba2};return _0x5a601c[_0x22b45f(0x3a1)](J['id'],_0x48864d)?(_0x23e3a6[_0x22b45f(0x27a)](_0x20b1b8),_0x1e4948[_0x22b45f(0x3db)]({'unitID':_0x20b1b8,'undoMutations':[{'id':J['id'],'params':_0x32e489}],'redoMutations':[{'id':J['id'],'params':_0x48864d}]}),!0x0):!0x1;}},Zn={'id':'base.command.set-base-record-values','type':e[_0xa3b18d(0x33e)][_0xa3b18d(0x1d3)],'handler'(_0x586a0f,_0x1099a0){const _0x410597=_0xa3b18d;if(!_0x1099a0)return!0x1;let _0x188d8b=_0x586a0f[_0x410597(0x221)](e[_0x410597(0x1be)]),{unitId:_0x22a236,tableId:_0x2bde48,patches:_0x884340}=_0x1099a0,_0x3dda6a=_0x188d8b[_0x410597(0x2d7)](_0x22a236,e[_0x410597(0x3b9)][_0x410597(0x30f)]),_0x216c13=_0x884340[_0x410597(0x1da)](_0x34d924=>_0x34d924[_0x410597(0x2f7)]),_0xaf80ae=_0x884340[_0x410597(0x2f9)](_0x4b06bd=>Object[_0x410597(0x1c8)](_0x4b06bd[_0x410597(0x29e)]));if(!_0x3dda6a||!Y(_0x3dda6a,_0x2bde48,{'recordIds':_0x216c13,'fieldIds':_0xaf80ae}))return!0x1;let _0x3032ee=_0x586a0f[_0x410597(0x221)](e[_0x410597(0x367)]),_0x17e6cf=_0x586a0f[_0x410597(0x221)](e[_0x410597(0x2be)]),_0x5e466b=_0x586a0f[_0x410597(0x221)](V)[_0x410597(0x477)](_0x3dda6a,_0x2bde48,_0x884340),_0x3606f8=new w()[_0x410597(0x183)](_0x3dda6a[_0x410597(0x2ab)](),_0x5e466b),_0x2fac4d={'unitId':_0x22a236,'op':_0x5e466b},_0x5e582c={'unitId':_0x22a236,'op':_0x3606f8};return _0x3032ee[_0x410597(0x3a1)](J['id'],_0x2fac4d)?(_0x188d8b[_0x410597(0x27a)](_0x22a236),_0x17e6cf[_0x410597(0x3db)]({'unitID':_0x22a236,'undoMutations':[{'id':J['id'],'params':_0x5e582c}],'redoMutations':[{'id':J['id'],'params':_0x2fac4d}]}),!0x0):!0x1;}},Qn={'id':_0xa3b18d(0x3f5),'type':e[_0xa3b18d(0x33e)][_0xa3b18d(0x1d3)],'handler':(_0x119dc9,_0x32fe2e)=>{const _0x3d5e4d=_0xa3b18d;var _0x282cea;if(!_0x32fe2e)return!0x1;let _0x595706=_0x119dc9['get'](e['IUniverInstanceService']),{unitId:_0x500e1e,tableId:_0x681469,viewId:_0x3fa291,fieldId:_0x5aa221,target:_0x1d88de}=_0x32fe2e,_0x415fef=_0x595706[_0x3d5e4d(0x2d7)](_0x500e1e,e['UniverInstanceType']['UNIVER_BASE']),_0x2eccf5=(_0x282cea=_0x1d88de['beforeFieldId'])==null?_0x1d88de[_0x3d5e4d(0x3d9)]:_0x282cea;if(!_0x415fef||!_0x2eccf5||_0x2eccf5===_0x5aa221||!Y(_0x415fef,_0x681469,{'viewIds':[_0x3fa291],'fieldIds':[_0x5aa221,_0x2eccf5]}))return!0x1;let _0x5142ca=_0x119dc9[_0x3d5e4d(0x221)](e[_0x3d5e4d(0x367)]),_0x12a15b=_0x119dc9[_0x3d5e4d(0x221)](e['IUndoRedoService']),_0x9c6680=_0x415fef[_0x3d5e4d(0x2ab)](),_0x436583=new P()[_0x3d5e4d(0x356)](_0x9c6680,_0x681469,_0x3fa291,_0x5aa221,_0x1d88de),_0x1eaef9=new w()[_0x3d5e4d(0x183)](_0x9c6680,_0x436583),_0xea97d5={'unitId':_0x500e1e,'op':_0x436583},_0x4c5db6={'unitId':_0x500e1e,'op':_0x1eaef9};return _0x5142ca[_0x3d5e4d(0x3a1)](J['id'],_0xea97d5)?(_0x595706['focusUnit'](_0x500e1e),_0x12a15b[_0x3d5e4d(0x3db)]({'unitID':_0x500e1e,'undoMutations':[{'id':J['id'],'params':_0x4c5db6}],'redoMutations':[{'id':J['id'],'params':_0xea97d5}]}),!0x0):!0x1;}},$n={'id':_0xa3b18d(0x327),'type':e[_0xa3b18d(0x33e)][_0xa3b18d(0x1d3)],'handler'(_0x262d0c,_0x47352f){const _0x2a57b7=_0xa3b18d;if(!_0x47352f)return!0x1;let _0x555270=_0x262d0c[_0x2a57b7(0x221)](e['IUniverInstanceService']),{unitId:_0x30972e,tableId:_0x24f9a9,viewId:_0x431d7d,fieldId:_0x120a71,visible:_0x1d3699}=_0x47352f,_0x29c650=_0x555270[_0x2a57b7(0x2d7)](_0x30972e,e[_0x2a57b7(0x3b9)][_0x2a57b7(0x30f)]);if(!_0x29c650||!Y(_0x29c650,_0x24f9a9,{'viewIds':[_0x431d7d],'fieldIds':[_0x120a71]}))return!0x1;let _0x99df34=_0x262d0c[_0x2a57b7(0x221)](e[_0x2a57b7(0x367)]),_0xffe314=_0x262d0c[_0x2a57b7(0x221)](e['IUndoRedoService']),_0x56c0e0=_0x29c650[_0x2a57b7(0x2ab)](),_0x18fdfe=new P()[_0x2a57b7(0x25d)](_0x56c0e0,_0x24f9a9,_0x431d7d,_0x120a71,_0x1d3699),_0x2bc965=new w()['invertOp'](_0x56c0e0,_0x18fdfe),_0x2d87a8={'unitId':_0x30972e,'op':_0x18fdfe},_0x2c5ec3={'unitId':_0x30972e,'op':_0x2bc965};return _0x99df34[_0x2a57b7(0x3a1)](J['id'],_0x2d87a8)?(_0x555270['focusUnit'](_0x30972e),_0xffe314[_0x2a57b7(0x3db)]({'unitID':_0x30972e,'undoMutations':[{'id':J['id'],'params':_0x2c5ec3}],'redoMutations':[{'id':J['id'],'params':_0x2d87a8}]}),!0x0):!0x1;}},er={'id':_0xa3b18d(0x231),'type':e['CommandType'][_0xa3b18d(0x1d3)],'handler':(_0x361da1,_0xcff50a)=>{const _0x2b12b8=_0xa3b18d;if(!_0xcff50a)return!0x1;let _0x2aba8c=_0x361da1[_0x2b12b8(0x221)](e['IUniverInstanceService']),{unitId:_0x510082,tableId:_0xa1c118,viewId:_0x1f058e,fieldId:_0x27e2a4,width:_0x3c6e40}=_0xcff50a,_0x26dd9d=_0x2aba8c[_0x2b12b8(0x2d7)](_0x510082,e[_0x2b12b8(0x3b9)]['UNIVER_BASE']);if(!_0x26dd9d||!Y(_0x26dd9d,_0xa1c118,{'viewIds':[_0x1f058e],'fieldIds':[_0x27e2a4]}))return!0x1;let _0x13095a=_0x361da1[_0x2b12b8(0x221)](e[_0x2b12b8(0x367)]),_0x4c0d5b=_0x361da1[_0x2b12b8(0x221)](e[_0x2b12b8(0x2be)]),_0xef0d58=_0x26dd9d[_0x2b12b8(0x2ab)](),_0x23371f=new P()[_0x2b12b8(0x3f2)](_0xef0d58,_0xa1c118,_0x1f058e,_0x27e2a4,_0x3c6e40),_0x2f45a0=new w()[_0x2b12b8(0x183)](_0xef0d58,_0x23371f),_0x4e18be={'unitId':_0x510082,'op':_0x23371f},_0x31dca2={'unitId':_0x510082,'op':_0x2f45a0};return _0x13095a['syncExecuteCommand'](J['id'],_0x4e18be)?(_0x2aba8c['focusUnit'](_0x510082),_0x4c0d5b[_0x2b12b8(0x3db)]({'unitID':_0x510082,'undoMutations':[{'id':J['id'],'params':_0x31dca2}],'redoMutations':[{'id':J['id'],'params':_0x4e18be}]}),!0x0):!0x1;}},tr={'id':_0xa3b18d(0x486),'type':e[_0xa3b18d(0x33e)][_0xa3b18d(0x1d3)],'handler':(_0x17a711,_0x238669)=>{const _0x5d87f3=_0xa3b18d;var _0x156e87;if(!_0x238669)return!0x1;let _0x2bdd5a=_0x17a711[_0x5d87f3(0x221)](e[_0x5d87f3(0x1be)]),{unitId:_0x5c2385,tableId:_0x49851b,viewId:_0xc0dfe4,filter:_0x3c824e}=_0x238669,_0x2b6c2d=_0x2bdd5a[_0x5d87f3(0x2d7)](_0x5c2385,e['UniverInstanceType'][_0x5d87f3(0x30f)]),_0x2e5d9c=(_0x156e87=_0x3c824e==null?void 0x0:_0x3c824e[_0x5d87f3(0x296)]['map'](_0x4e34bc=>_0x4e34bc['fieldId']))==null?[]:_0x156e87;if(!_0x2b6c2d||!Y(_0x2b6c2d,_0x49851b,{'viewIds':[_0xc0dfe4],'fieldIds':_0x2e5d9c}))return!0x1;let _0x362aa2=_0x17a711[_0x5d87f3(0x221)](e[_0x5d87f3(0x367)]),_0xb82e55=_0x17a711[_0x5d87f3(0x221)](e[_0x5d87f3(0x2be)]),_0x3f0e8a=_0x2b6c2d[_0x5d87f3(0x2ab)](),_0x27055e=new P()[_0x5d87f3(0x1dd)](_0x3f0e8a,_0x49851b,_0xc0dfe4,_0x3c824e),_0x9ca8d4=new w()['invertOp'](_0x3f0e8a,_0x27055e),_0x41ae62={'unitId':_0x5c2385,'op':_0x27055e},_0x5d3f9a={'unitId':_0x5c2385,'op':_0x9ca8d4};return _0x362aa2[_0x5d87f3(0x3a1)](J['id'],_0x41ae62)?(_0x2bdd5a['focusUnit'](_0x5c2385),_0xb82e55[_0x5d87f3(0x3db)]({'unitID':_0x5c2385,'undoMutations':[{'id':J['id'],'params':_0x5d3f9a}],'redoMutations':[{'id':J['id'],'params':_0x41ae62}]}),!0x0):!0x1;}},nr={'id':_0xa3b18d(0x2a9),'type':e[_0xa3b18d(0x33e)][_0xa3b18d(0x1d3)],'handler':(_0x7564aa,_0xb1ece2)=>{const _0x48bdc6=_0xa3b18d;if(!_0xb1ece2)return!0x1;let _0x5701bc=_0x7564aa[_0x48bdc6(0x221)](e[_0x48bdc6(0x1be)]),{unitId:_0x1da125,tableId:_0x3e4226,viewId:_0x2cac14,group:_0x397ec2}=_0xb1ece2,_0x480d50=_0x5701bc['getUnit'](_0x1da125,e[_0x48bdc6(0x3b9)][_0x48bdc6(0x30f)]);if(!_0x480d50||!Y(_0x480d50,_0x3e4226,{'viewIds':[_0x2cac14],'fieldIds':_0x397ec2[_0x48bdc6(0x1da)](_0x1bf622=>_0x1bf622[_0x48bdc6(0x2ee)])}))return!0x1;let _0x98164=_0x7564aa[_0x48bdc6(0x221)](e[_0x48bdc6(0x367)]),_0x160de2=_0x7564aa['get'](e['IUndoRedoService']),_0x537fb8=_0x480d50[_0x48bdc6(0x2ab)](),_0x502301=new P()['setViewGroup'](_0x537fb8,_0x3e4226,_0x2cac14,_0x397ec2),_0x4d4482=new w()[_0x48bdc6(0x183)](_0x537fb8,_0x502301),_0x40d6cf={'unitId':_0x1da125,'op':_0x502301},_0x4d3982={'unitId':_0x1da125,'op':_0x4d4482};return _0x98164[_0x48bdc6(0x3a1)](J['id'],_0x40d6cf)?(_0x5701bc['focusUnit'](_0x1da125),_0x160de2['pushUndoRedo']({'unitID':_0x1da125,'undoMutations':[{'id':J['id'],'params':_0x4d3982}],'redoMutations':[{'id':J['id'],'params':_0x40d6cf}]}),!0x0):!0x1;}},rr={'id':_0xa3b18d(0x1d7),'type':e['CommandType'][_0xa3b18d(0x1d3)],'handler':(_0x3bb655,_0x1dd71b)=>{const _0x178063=_0xa3b18d;if(!_0x1dd71b)return!0x1;let _0x4bc40f=_0x3bb655[_0x178063(0x221)](e['IUniverInstanceService']),{unitId:_0x374733,tableId:_0x1e5bc7,viewId:_0x160bfe,sort:_0x51e3e9}=_0x1dd71b,_0x59d595=_0x4bc40f[_0x178063(0x2d7)](_0x374733,e[_0x178063(0x3b9)][_0x178063(0x30f)]);if(!_0x59d595||!Y(_0x59d595,_0x1e5bc7,{'viewIds':[_0x160bfe],'fieldIds':_0x51e3e9['map'](_0x620d67=>_0x620d67['fieldId'])}))return!0x1;let _0x3ac98e=_0x3bb655['get'](e['ICommandService']),_0x5f139b=_0x3bb655[_0x178063(0x221)](e[_0x178063(0x2be)]),_0x3e3e36=_0x59d595[_0x178063(0x2ab)](),_0x5d197c=new P()[_0x178063(0x42d)](_0x3e3e36,_0x1e5bc7,_0x160bfe,_0x51e3e9),_0x2e5dd3=new w()[_0x178063(0x183)](_0x3e3e36,_0x5d197c),_0x149e1b={'unitId':_0x374733,'op':_0x5d197c},_0x54488e={'unitId':_0x374733,'op':_0x2e5dd3};return _0x3ac98e[_0x178063(0x3a1)](J['id'],_0x149e1b)?(_0x4bc40f['focusUnit'](_0x374733),_0x5f139b[_0x178063(0x3db)]({'unitID':_0x374733,'undoMutations':[{'id':J['id'],'params':_0x54488e}],'redoMutations':[{'id':J['id'],'params':_0x149e1b}]}),!0x0):!0x1;}},ir={'id':_0xa3b18d(0x1e8),'type':e[_0xa3b18d(0x33e)]['COMMAND'],'handler'(_0x185d68,_0x4af8f5){const _0x1d09bd=_0xa3b18d;if(!_0x4af8f5)return!0x1;let _0x19080a=_0x185d68[_0x1d09bd(0x221)](e[_0x1d09bd(0x1be)]),{unitId:_0x3e02a2,tableId:_0x510529,recordId:_0x44fddc,fieldId:_0x4c48e6,value:_0x2bf49a}=_0x4af8f5,_0x596e48=_0x19080a[_0x1d09bd(0x2d7)](_0x3e02a2,e[_0x1d09bd(0x3b9)][_0x1d09bd(0x30f)]);if(!_0x596e48||!Y(_0x596e48,_0x510529,{'recordIds':[_0x44fddc],'fieldIds':[_0x4c48e6]}))return!0x1;let _0xed2584=_0x185d68[_0x1d09bd(0x221)](e['ICommandService']),_0x104d3f=_0x185d68[_0x1d09bd(0x221)](e[_0x1d09bd(0x2be)]),_0x3c3d4b=_0x185d68[_0x1d09bd(0x221)](V),_0x2b3829;try{_0x2b3829=_0x3c3d4b['createUpdateCellOp'](_0x596e48,_0x510529,_0x44fddc,_0x4c48e6,_0x2bf49a);}catch(_0x20217d){return console[_0x1d09bd(0x2a1)](_0x1d09bd(0x168),_0x20217d),!0x1;}let _0x41632e=new w()[_0x1d09bd(0x183)](_0x596e48[_0x1d09bd(0x2ab)](),_0x2b3829),_0x58cca2={'unitId':_0x3e02a2,'op':_0x2b3829},_0x1a5f2c={'unitId':_0x3e02a2,'op':_0x41632e};return _0xed2584[_0x1d09bd(0x3a1)](J['id'],_0x58cca2)?(_0x19080a[_0x1d09bd(0x27a)](_0x3e02a2),_0x104d3f[_0x1d09bd(0x3db)]({'unitID':_0x3e02a2,'undoMutations':[{'id':J['id'],'params':_0x1a5f2c}],'redoMutations':[{'id':J['id'],'params':_0x58cca2}]}),!0x0):!0x1;}},ar={'id':'base.command.update-base-field-description','type':e['CommandType'][_0xa3b18d(0x1d3)],'handler'(_0x551085,_0x2e1f10){const _0x23278c=_0xa3b18d;if(!_0x2e1f10)return!0x1;let _0xaed180=_0x551085[_0x23278c(0x221)](e[_0x23278c(0x1be)]),{unitId:_0x582b33,tableId:_0x5b4fbc,fieldId:_0xfab6f8}=_0x2e1f10,_0x33cca6=_0xaed180[_0x23278c(0x2d7)](_0x582b33,e[_0x23278c(0x3b9)][_0x23278c(0x30f)]);if(!_0x33cca6||!Y(_0x33cca6,_0x5b4fbc,{'fieldIds':[_0xfab6f8]}))return!0x1;let _0x36e37b=_0x551085[_0x23278c(0x221)](e[_0x23278c(0x367)]),_0x2d59af=_0x551085[_0x23278c(0x221)](e[_0x23278c(0x2be)]),_0x31ab37=_0x33cca6['getSnapshot'](),_0x4d14c9=_0x2e1f10[_0x23278c(0x321)][_0x23278c(0x41e)](),_0x1e83b4=new P()[_0x23278c(0x194)](_0x31ab37,_0x5b4fbc,_0xfab6f8,{'description':_0x4d14c9}),_0x24d36c=new w()[_0x23278c(0x183)](_0x33cca6[_0x23278c(0x2ab)](),_0x1e83b4),_0x2f3a91={'unitId':_0x582b33,'op':_0x1e83b4},_0x156b7d={'unitId':_0x582b33,'op':_0x24d36c};return _0x36e37b[_0x23278c(0x3a1)](J['id'],_0x2f3a91)?(_0xaed180[_0x23278c(0x27a)](_0x582b33),_0x2d59af['pushUndoRedo']({'unitID':_0x582b33,'undoMutations':[{'id':J['id'],'params':_0x156b7d}],'redoMutations':[{'id':J['id'],'params':_0x2f3a91}]}),!0x0):!0x1;}},or={'id':_0xa3b18d(0x45f),'type':e[_0xa3b18d(0x33e)][_0xa3b18d(0x1d3)],'handler':(_0x583cd5,_0x2a4ca0)=>{const _0x35f83b=_0xa3b18d;if(!_0x2a4ca0)return!0x1;let _0x245c8a=_0x583cd5['get'](e[_0x35f83b(0x1be)]),{unitId:_0x34dc42,tableId:_0x14e256,fieldId:_0x5be332,patch:_0x28da00}=_0x2a4ca0,_0x13461f=_0x245c8a['getUnit'](_0x34dc42,e[_0x35f83b(0x3b9)]['UNIVER_BASE']);if(!_0x13461f||!Y(_0x13461f,_0x14e256,{'fieldIds':[_0x5be332]}))return!0x1;let _0x38097f=_0x583cd5[_0x35f83b(0x221)](e[_0x35f83b(0x367)]),_0x424a31=_0x583cd5[_0x35f83b(0x221)](e[_0x35f83b(0x2be)]),_0x1e39ee=_0x13461f['getSnapshot'](),_0x3c2bbf=new P()[_0x35f83b(0x194)](_0x1e39ee,_0x14e256,_0x5be332,_0x28da00),_0x6418ae=new w()[_0x35f83b(0x183)](_0x1e39ee,_0x3c2bbf),_0x116d8a={'unitId':_0x34dc42,'op':_0x3c2bbf},_0x3cd50a={'unitId':_0x34dc42,'op':_0x6418ae};return _0x38097f['syncExecuteCommand'](J['id'],_0x116d8a)?(_0x245c8a[_0x35f83b(0x27a)](_0x34dc42),_0x424a31[_0x35f83b(0x3db)]({'unitID':_0x34dc42,'undoMutations':[{'id':J['id'],'params':_0x3cd50a}],'redoMutations':[{'id':J['id'],'params':_0x116d8a}]}),!0x0):!0x1;}},sr={'id':_0xa3b18d(0x253),'type':e['CommandType']['COMMAND'],'handler':(_0x24f65d,_0xc1f4b8)=>{const _0x4328ee=_0xa3b18d;if(!_0xc1f4b8)return!0x1;let _0x5ebe5f=_0x24f65d[_0x4328ee(0x221)](e['IUniverInstanceService']),{unitId:_0x11cf5b,tableId:_0x47df29,viewId:_0x3007b3,patch:_0x536e85}=_0xc1f4b8,_0x5bf109=_0x5ebe5f['getUnit'](_0x11cf5b,e[_0x4328ee(0x3b9)][_0x4328ee(0x30f)]);if(!_0x5bf109||!Y(_0x5bf109,_0x47df29,{'viewIds':[_0x3007b3]}))return!0x1;let _0x348a94=_0x24f65d[_0x4328ee(0x221)](e[_0x4328ee(0x367)]),_0x1e9b05=_0x24f65d[_0x4328ee(0x221)](e[_0x4328ee(0x2be)]),_0x1fe869=_0x5bf109[_0x4328ee(0x2ab)](),_0x20700a=new P()['updateViewConfig'](_0x1fe869,_0x47df29,_0x3007b3,_0x536e85),_0x490afd=new w()[_0x4328ee(0x183)](_0x1fe869,_0x20700a),_0x4301ee={'unitId':_0x11cf5b,'op':_0x20700a},_0x107489={'unitId':_0x11cf5b,'op':_0x490afd};return _0x348a94[_0x4328ee(0x3a1)](J['id'],_0x4301ee)?(_0x5ebe5f['focusUnit'](_0x11cf5b),_0x1e9b05[_0x4328ee(0x3db)]({'unitID':_0x11cf5b,'undoMutations':[{'id':J['id'],'params':_0x107489}],'redoMutations':[{'id':J['id'],'params':_0x4301ee}]}),!0x0):!0x1;}},cr={'id':_0xa3b18d(0x1fa),'type':e[_0xa3b18d(0x33e)][_0xa3b18d(0x1d3)],'handler':(_0x25884e,_0x1e8f59)=>{const _0x57ff1c=_0xa3b18d;if(!_0x1e8f59)return!0x1;let _0x16176c=_0x25884e['get'](e[_0x57ff1c(0x1be)]),{unitId:_0x220bb8,tableId:_0x318940,recordId:_0x1129a8,orderKey:_0x49c4d8}=_0x1e8f59,_0x1b2441=_0x16176c[_0x57ff1c(0x2d7)](_0x220bb8,e[_0x57ff1c(0x3b9)][_0x57ff1c(0x30f)]);if(!_0x1b2441||!Y(_0x1b2441,_0x318940,{'recordIds':[_0x1129a8]}))return!0x1;let _0x3e9364=_0x25884e[_0x57ff1c(0x221)](e['ICommandService']),_0xdb2f92=_0x25884e[_0x57ff1c(0x221)](e[_0x57ff1c(0x2be)]),_0x4f45ea=_0x1b2441['getSnapshot'](),_0x23dafd=new P()[_0x57ff1c(0x274)](_0x4f45ea,_0x318940,_0x1129a8,_0x49c4d8),_0x465692=new w()[_0x57ff1c(0x183)](_0x4f45ea,_0x23dafd),_0x1fc591={'unitId':_0x220bb8,'op':_0x23dafd},_0x1569a1={'unitId':_0x220bb8,'op':_0x465692};return _0x3e9364['syncExecuteCommand'](J['id'],_0x1fc591)?(_0x16176c['focusUnit'](_0x220bb8),_0xdb2f92['pushUndoRedo']({'unitID':_0x220bb8,'undoMutations':[{'id':J['id'],'params':_0x1569a1}],'redoMutations':[{'id':J['id'],'params':_0x1fc591}]}),!0x0):!0x1;}},lr={'id':_0xa3b18d(0x424),'type':e[_0xa3b18d(0x33e)]['COMMAND'],'handler':(_0x2ad93e,_0x613071)=>{const _0x936e41=_0xa3b18d;if(!_0x613071)return!0x1;let _0x1e679e=_0x2ad93e['get'](e[_0x936e41(0x1be)]),{unitId:_0x597fd9,tableId:_0x5c09b1,viewId:_0x44e7ef,patch:_0xaa2e76}=_0x613071,_0x12f442=_0x1e679e['getUnit'](_0x597fd9,e[_0x936e41(0x3b9)][_0x936e41(0x30f)]);if(!_0x12f442||!Y(_0x12f442,_0x5c09b1,{'viewIds':[_0x44e7ef]}))return!0x1;let _0x1ef98d=_0x2ad93e[_0x936e41(0x221)](e['ICommandService']),_0x44341e=_0x2ad93e[_0x936e41(0x221)](e[_0x936e41(0x2be)]),_0x2a34ac=_0x12f442[_0x936e41(0x2ab)](),_0x3e548c=new P()[_0x936e41(0x373)](_0x2a34ac,_0x5c09b1,_0x44e7ef,_0xaa2e76),_0x1003c5=new w()[_0x936e41(0x183)](_0x2a34ac,_0x3e548c),_0x48d744={'unitId':_0x597fd9,'op':_0x3e548c},_0x2448c8={'unitId':_0x597fd9,'op':_0x1003c5};return _0x1ef98d[_0x936e41(0x3a1)](J['id'],_0x48d744)?(_0x1e679e[_0x936e41(0x27a)](_0x597fd9),_0x44341e['pushUndoRedo']({'unitID':_0x597fd9,'undoMutations':[{'id':J['id'],'params':_0x2448c8}],'redoMutations':[{'id':J['id'],'params':_0x48d744}]}),!0x0):!0x1;}};function ur(_0x4c7f27){const _0xd9ea2e=_0xa3b18d;var _0x14a83f,_0x2f7e5f,_0x47172b,_0x3b0cb9,_0x35ccef;let _0x323cbb=(_0x14a83f=_0x4c7f27['now'])==null?Date[_0xd9ea2e(0x1c3)]():_0x14a83f,_0x32d4f8=(_0x2f7e5f=_0x4c7f27[_0xd9ea2e(0x419)])==null?_0x4c7f27['id']+_0xd9ea2e(0x180):_0x2f7e5f,_0x588aca=(_0x47172b=_0x4c7f27[_0xd9ea2e(0x461)])==null?_0x4c7f27['id']+_0xd9ea2e(0x227):_0x47172b,_0x1f0ae2=(_0x3b0cb9=_0x4c7f27[_0xd9ea2e(0x2e0)])==null?0x5:_0x3b0cb9,_0x349e99={'id':_0x32d4f8,'name':(_0x35ccef=_0x4c7f27['primaryFieldName'])==null?_0xd9ea2e(0x301):_0x35ccef,'type':e[_0xd9ea2e(0x17a)][_0xd9ea2e(0x28d)],'config':{'placeholder':_0xd9ea2e(0x1de)}},_0x3497d8={},_0x24f1d6=[],_0x5cdc91={},_0x320c9f={},_0x1f8394={};for(let _0x10b942=0x0;_0x10b942<_0x1f0ae2;_0x10b942++){let _0x329a28=_0x4c7f27['id']+_0xd9ea2e(0x2c2)+(_0x10b942+0x1);_0x3497d8[_0x329a28]={'id':_0x329a28,'values':_0x4c7f27[_0xd9ea2e(0x292)]?{[_0x32d4f8]:_0x4c7f27[_0xd9ea2e(0x292)]+'\x20'+(_0x10b942+0x1)}:{},'orderKey':String(_0x10b942+0x1)[_0xd9ea2e(0x161)](0x4,'0'),'createdAt':_0x323cbb,'updatedAt':_0x323cbb},_0x24f1d6[_0xd9ea2e(0x439)](_0x329a28),_0x5cdc91[_0x329a28]=_0x10b942,_0x320c9f[_0x10b942]=_0x329a28,_0x1f8394[_0x10b942]={},_0x4c7f27['recordNamePrefix']&&(_0x1f8394[_0x10b942][0x0]={'v':_0x4c7f27[_0xd9ea2e(0x292)]+'\x20'+(_0x10b942+0x1)});}let _0x136643={'id':_0x588aca,'tableId':_0x4c7f27['id'],'name':_0xd9ea2e(0x1a5),'type':e[_0xd9ea2e(0x318)]['Grid'],'fieldOrder':[_0x32d4f8],'fieldSettings':{},'config':{'frozenFieldCount':0x1}};return{'id':_0x4c7f27['id'],'name':_0x4c7f27[_0xd9ea2e(0x2cb)],'primaryFieldId':_0x32d4f8,'fieldOrder':[_0x32d4f8],'fields':{[_0x32d4f8]:_0x349e99},'records':_0x3497d8,'recordOrder':_0x24f1d6,'rowIndex':_0x5cdc91,'rowId':_0x320c9f,'colIndex':{[_0x32d4f8]:0x0},'colId':{0x0:_0x32d4f8},'cellData':_0x1f8394,'views':{[_0x588aca]:_0x136643},'viewOrder':[_0x588aca]};}const dr=_0xa3b18d(0x1bd);function fr(_0x18fd4c){const _0x3708b0=_0xa3b18d;var _0x17bf71,_0x178503;let _0x251ea8=ur({'id':_0x18fd4c[_0x3708b0(0x394)],'name':(_0x17bf71=_0x18fd4c[_0x3708b0(0x2cb)])==null?_0x18fd4c[_0x3708b0(0x2df)]:_0x17bf71,'recordCount':0x0});return{..._0x251ea8,'resources':{...(_0x178503=_0x251ea8[_0x3708b0(0x37d)])==null?{}:_0x178503,[dr]:hr(_0x18fd4c)}};}function pr(_0x3fc3f6){const _0x4737ee=_0xa3b18d;return{'id':J['id'],'params':{'unitId':_0x3fc3f6['unitId'],'op':new P()[_0x4737ee(0x37a)](_0x3fc3f6[_0x4737ee(0x344)],_0x3fc3f6['table'],_0x3fc3f6[_0x4737ee(0x25a)]),'trigger':'embed-ui'}};}function mr(_0xf9c4c1){const _0x3835a1=_0xa3b18d;let _0x9e69c0=_0xf9c4c1[_0x3835a1(0x344)]['tableOrder'][_0x3835a1(0x2dd)](_0xf9c4c1[_0x3835a1(0x473)]);if(!(!_0xf9c4c1[_0x3835a1(0x344)][_0x3835a1(0x258)][_0xf9c4c1[_0x3835a1(0x473)]]||_0x9e69c0<0x0))return{'id':J['id'],'params':{'unitId':_0xf9c4c1[_0x3835a1(0x199)],'op':new P()[_0x3835a1(0x2a3)](_0xf9c4c1[_0x3835a1(0x344)],_0xf9c4c1[_0x3835a1(0x473)]),'trigger':'embed-ui'}};}function hr(_0x1dedf5){const _0x5b5df0=_0xa3b18d;return{'version':0x1,'embedId':_0x1dedf5[_0x5b5df0(0x2df)],'hostAnchorId':_0x1dedf5[_0x5b5df0(0x394)],'childUnitId':_0x1dedf5[_0x5b5df0(0x22a)],'childType':_0x1dedf5[_0x5b5df0(0x173)]};}function gr(_0x524f3e){const _0x32bbdc=_0xa3b18d;var _0x4b3370;let _0x3772d2=Math[_0x32bbdc(0x21a)](0x0,Number((_0x4b3370=_0x524f3e[_0x32bbdc(0x209)])==null?0x0:_0x4b3370)),_0x47a52c=_0x524f3e['useThousands']===!0x1?'0':_0x32bbdc(0x1b7),_0x27a621=_0x3772d2?'.'+'0'[_0x32bbdc(0x1a1)](_0x3772d2):'',_0x305cfa=vr(_0x524f3e[_0x32bbdc(0x1ea)]);return''+(_0x524f3e[_0x32bbdc(0x3d7)]?yr(_0x524f3e[_0x32bbdc(0x3d7)]):'')+_0x47a52c+_0x27a621+_0x305cfa;}function _r(_0x4a6114,_0x724617){const _0x5bfeab=_0xa3b18d;let _0x10d198=gr(_0x724617),_0x376922=e[_0x5bfeab(0x2b7)]['format'](_0x10d198,_0x4a6114,{'throws':!0x1});return br(String(_0x376922),_0x724617[_0x5bfeab(0x280)],_0x724617[_0x5bfeab(0x2d5)]);}function vr(_0x22834c){const _0x510a46=_0xa3b18d;return _0x22834c==='K'?_0x510a46(0x38f):_0x22834c==='M'?_0x510a46(0x3e4):_0x22834c==='B'?_0x510a46(0x32f):'';}function yr(_0x1436ab){const _0x158c99=_0xa3b18d;return/^[A-Z]+$/i[_0x158c99(0x228)](_0x1436ab)?'\x22'+_0x1436ab+'\x22':_0x1436ab;}function br(_0x1ea1b4,_0x47b268,_0x5d366b){const _0x941b72=_0xa3b18d;let _0x4b7bb1=_0x47b268===_0x941b72(0x1eb)?xr(_0x5d366b):_0x47b268;return _0x4b7bb1===_0x941b72(0x21f)?_0x1ea1b4[_0x941b72(0x3ae)](/,/g,'\x00')[_0x941b72(0x3ae)](/\./g,',')[_0x941b72(0x3ae)](/\0/g,'.'):_0x4b7bb1===_0x941b72(0x33b)?_0x1ea1b4['replace'](/,/g,'\x20')['replace'](/\./g,','):_0x4b7bb1==='spacePeriod'?_0x1ea1b4[_0x941b72(0x3ae)](/,/g,'\x20'):_0x1ea1b4;}function xr(_0x1ecc98){const _0x307e59=_0xa3b18d;var _0x71ee61,_0x154b79;let _0x4f99f3=_0x1ecc98||Intl[_0x307e59(0x31d)]()[_0x307e59(0x18b)]()[_0x307e59(0x2d5)],_0x37eda5;try{_0x37eda5=new Intl[(_0x307e59(0x31d))](_0x4f99f3,{'minimumFractionDigits':0x2,'maximumFractionDigits':0x2,'useGrouping':!0x0})[_0x307e59(0x2bd)](0xf4240);}catch{return _0x307e59(0x313);}let _0x2fa3ad=(_0x71ee61=_0x37eda5[_0x307e59(0x484)](_0x44e57a=>_0x44e57a[_0x307e59(0x177)]===_0x307e59(0x1cb)))==null?void 0x0:_0x71ee61[_0x307e59(0x33c)],_0x48aa32=(_0x154b79=_0x37eda5[_0x307e59(0x484)](_0x265ca1=>_0x265ca1[_0x307e59(0x177)]===_0x307e59(0x44b)))==null?void 0x0:_0x154b79[_0x307e59(0x33c)],_0x65a715=_0x2fa3ad==='\u00a0'||_0x2fa3ad==='\u202f'?'\x20':_0x2fa3ad;return _0x65a715==='.'&&_0x48aa32===','?_0x307e59(0x21f):_0x65a715==='\x20'&&_0x48aa32===','?_0x307e59(0x33b):_0x65a715==='\x20'&&_0x48aa32==='.'?'spacePeriod':_0x307e59(0x313);}function Sr(_0x17c781,_0x29d0dd){const _0x2614b6=_0xa3b18d;var _0x53a523,_0x353678;let _0x546682=e[_0x2614b6(0x464)][_0x2614b6(0x188)](_0x17c781),_0x53880b=_0x29d0dd[_0x2614b6(0x19b)]===!0x0,_0x586afe=new Map(),_0x5cfe3d=(_0x53a523=_0x29d0dd[_0x2614b6(0x3bc)])==null?()=>_0x2614b6(0x240)+(0x0,e['generateRandomId'])(0x8):_0x53a523,_0x28842b=_0x546682[_0x2614b6(0x320)];return _0x29d0dd[_0x2614b6(0x400)]&&(_0x28842b=_0x546682[_0x2614b6(0x320)][_0x2614b6(0x1da)](_0x577ccd=>{const _0x4090e5=_0x2614b6;let _0x3bbab9=_0x5cfe3d();return _0x586afe[_0x4090e5(0x3e5)](_0x577ccd,_0x3bbab9),_0x3bbab9;})),{..._0x546682,'id':_0x29d0dd['id'],'name':_0x29d0dd[_0x2614b6(0x2cb)],'records':_0x53880b?_0x546682[_0x2614b6(0x332)]:{},'recordOrder':_0x53880b?_0x546682['recordOrder']:[],'rowIndex':_0x53880b?_0x546682['rowIndex']:{},'rowId':_0x53880b?_0x546682[_0x2614b6(0x262)]:{},'cellData':_0x53880b?_0x546682['cellData']:{},'resources':_0x53880b?_0x546682[_0x2614b6(0x37d)]:{},'viewOrder':_0x28842b,'views':Object[_0x2614b6(0x26d)](Object[_0x2614b6(0x217)]((_0x353678=_0x546682[_0x2614b6(0x411)])==null?{}:_0x353678)[_0x2614b6(0x1da)](([_0x11724c,_0xdf3bb])=>{const _0x4c5a42=_0x2614b6;var _0x26f00c;let _0x1fa73c=(_0x26f00c=_0x586afe[_0x4c5a42(0x221)](_0x11724c))==null?_0x29d0dd['regenerateViewIds']?_0x5cfe3d():_0x11724c:_0x26f00c;return[_0x1fa73c,{..._0xdf3bb,'id':_0x1fa73c,'tableId':_0x29d0dd['id']}];}))};}var Cr=_0xa3b18d(0x325),wr=_0xa3b18d(0x234);const Tr={},Er={};function Dr(_0x28f949){return new w()['getAffectedRanges'](_0x28f949);}function Or(_0x44c8ae){const _0x2f0cfe=_0xa3b18d;return _0x44c8ae[_0x2f0cfe(0x213)][_0x2f0cfe(0x1da)](_0x30694e=>({'unitId':_0x44c8ae[_0x2f0cfe(0x199)],'sheetId':_0x44c8ae[_0x2f0cfe(0x473)],'range':{'startRow':_0x30694e['row'],'endRow':_0x30694e['row'],'startColumn':_0x30694e[_0x2f0cfe(0x26e)],'endColumn':_0x30694e[_0x2f0cfe(0x26e)]}}));}function kr(_0x2b1354,_0x4680b8){return{[_0x2b1354]:Object['fromEntries'](_0x4680b8['map'](_0xf06b72=>[_0xf06b72,'1']))};}let Ar=class extends e[_0xa3b18d(0x3ca)]{constructor(_0x42fdfc,_0x3d2e1e){const _0x4aae24=_0xa3b18d;super(),this[_0x4aae24(0x483)]=_0x42fdfc,this[_0x4aae24(0x414)]=_0x3d2e1e,this['_initialize']();}[_0xa3b18d(0x1c1)](){const _0x2803c5=_0xa3b18d;this[_0x2803c5(0x483)][_0x2803c5(0x2cd)](J['id'],{'commandId':J['id'],'getDirtyData':_0x102064=>this[_0x2803c5(0x1ff)](_0x102064['params'])}),this[_0x2803c5(0x3d0)]((0x0,e['toDisposable'])(()=>{this['_activeDirtyManagerService']['remove'](J['id']);}));}[_0xa3b18d(0x347)](_0x2291f1,_0x2b7fc0){const _0x50e7e7=_0xa3b18d;var _0x145ba8;let _0x49ef57=this[_0x50e7e7(0x414)][_0x50e7e7(0x2d7)](_0x2291f1,e[_0x50e7e7(0x3b9)][_0x50e7e7(0x30f)]);return(_0x145ba8=_0x49ef57==null?void 0x0:_0x49ef57['getSnapshot']()['tables'][_0x2b7fc0])==null?null:_0x145ba8;}[_0xa3b18d(0x1ff)](_0x1bc4b9){const _0x472c22=_0xa3b18d;if(_0x1bc4b9[_0x472c22(0x24b)]===_0x472c22(0x31b))return{};if(!_0x1bc4b9[_0x472c22(0x199)]||!_0x1bc4b9['op'])return{'clearDependencyTreeCache':this[_0x472c22(0x1ba)](),'forceCalculation':!0x0};let _0x46a06f=Dr(_0x1bc4b9['op']),_0x1994d6=this['_getStructureDirtyTableIds'](_0x1bc4b9['unitId'],_0x46a06f);if(_0x1994d6[_0x472c22(0x333)])return{'clearDependencyTreeCache':kr(_0x1bc4b9[_0x472c22(0x199)],_0x1994d6),'forceCalculation':!0x0};let _0x597e47=Object['entries'](this[_0x472c22(0x298)](_0x1bc4b9[_0x472c22(0x199)],_0x46a06f))[_0x472c22(0x2f9)](([_0x45dbb4,_0xb0cde9])=>Or({'unitId':_0x1bc4b9[_0x472c22(0x199)],'tableId':_0x45dbb4,'patches':_0xb0cde9}));return _0x597e47[_0x472c22(0x333)]?{'dirtyRanges':_0x597e47}:{};}[_0xa3b18d(0x2d1)](_0x47fbe2,_0x21be7d){const _0x201ff7=_0xa3b18d;let _0xa366c=_0x21be7d[_0x201ff7(0x314)](_0x50c51c=>_0x50c51c[_0x201ff7(0x1e4)]!==_0x201ff7(0x32a))[_0x201ff7(0x2f9)](_0x36c8dc=>_0x36c8dc[_0x201ff7(0x473)]?[_0x36c8dc[_0x201ff7(0x473)]]:this[_0x201ff7(0x3cd)](_0x47fbe2));return Array[_0x201ff7(0x3aa)](new Set(_0xa366c));}['_groupCellInvalidations'](_0x2d6ede,_0x5ee803){const _0x890d49=_0xa3b18d;let _0xc0d5da=new Set();return _0x5ee803[_0x890d49(0x3fa)]((_0x13894c,_0x4b5c42)=>{const _0x3a892c=_0x890d49;var _0x153442;let _0x1e49ee=this[_0x3a892c(0x346)](_0x2d6ede,_0x4b5c42);if(!_0x1e49ee)return _0x13894c;let _0x22bf41=_0x4b5c42[_0x3a892c(0x473)]+':'+_0x1e49ee[_0x3a892c(0x33a)]+':'+_0x1e49ee[_0x3a892c(0x26e)];return _0xc0d5da['has'](_0x22bf41)?_0x13894c:(_0xc0d5da[_0x3a892c(0x204)](_0x22bf41),_0x13894c[_0x4b5c42[_0x3a892c(0x473)]]=(_0x153442=_0x13894c[_0x4b5c42[_0x3a892c(0x473)]])==null?[]:_0x153442,_0x13894c[_0x4b5c42[_0x3a892c(0x473)]][_0x3a892c(0x439)](_0x1e49ee),_0x13894c);},{});}[_0xa3b18d(0x346)](_0x202478,_0x4d2315){const _0x4b311e=_0xa3b18d;if(_0x4d2315[_0x4b311e(0x1e4)]!==_0x4b311e(0x32a))return null;if(_0x4d2315[_0x4b311e(0x33a)]!=null&&_0x4d2315[_0x4b311e(0x451)]!=null)return{'row':_0x4d2315[_0x4b311e(0x33a)],'col':_0x4d2315[_0x4b311e(0x451)],'value':null};if(!_0x4d2315[_0x4b311e(0x2f7)]||!_0x4d2315[_0x4b311e(0x2ee)])return null;let _0xbc7b34=this['_getTable'](_0x202478,_0x4d2315[_0x4b311e(0x473)]);if(!_0xbc7b34)return null;let _0x203c9e=h(_0xbc7b34,_0x4d2315[_0x4b311e(0x2f7)],_0x4d2315['fieldId']);return _0x203c9e?{'row':_0x203c9e[_0x4b311e(0x33a)],'col':_0x203c9e['col'],'value':null}:null;}[_0xa3b18d(0x3cd)](_0x578dbb){const _0x84567d=_0xa3b18d;var _0x33fec8;let _0x318989=this['_univerInstanceService']['getUnit'](_0x578dbb,e['UniverInstanceType'][_0x84567d(0x30f)]);return Object[_0x84567d(0x29e)]((_0x33fec8=_0x318989==null?void 0x0:_0x318989[_0x84567d(0x2ab)]()[_0x84567d(0x258)])==null?{}:_0x33fec8)[_0x84567d(0x1da)](_0x228b7a=>_0x228b7a['id']);}[_0xa3b18d(0x1ba)](){const _0x586215=_0xa3b18d;let _0x229a23=this['_univerInstanceService'][_0x586215(0x2f6)](e[_0x586215(0x3b9)]['UNIVER_BASE'])[_0x586215(0x1da)](_0x3994a4=>kr(_0x3994a4[_0x586215(0x446)](),Object[_0x586215(0x1c8)](_0x3994a4[_0x586215(0x2ab)]()[_0x586215(0x258)])));return Object[_0x586215(0x3c7)]({},..._0x229a23);}};Ar=B([z(0x0,t[_0xa3b18d(0x3e9)]),z(0x1,e[_0xa3b18d(0x1be)])],Ar);const jr=e[_0xa3b18d(0x37b)][_0xa3b18d(0x1c2)](String[_0xa3b18d(0x32e)]`(?:^|\W)\$?[A-Z]{1,3}\$?\d+(?::\$?[A-Z]{1,3}\$?\d+)?(?:$|\W)`),Mr=e[_0xa3b18d(0x37b)][_0xa3b18d(0x1c2)](String[_0xa3b18d(0x32e)]`(?:'\[[^\]]+\](?:[^']|'')+'|\[[^\]]+\][^\s'!]+)!\$?[A-Z]{1,3}\$?\d+(?::\$?[A-Z]{1,3}\$?\d+)?`,'gi'),Nr=/\{([^}]+)\}/g,Pr=e[_0xa3b18d(0x37b)][_0xa3b18d(0x1c2)](String[_0xa3b18d(0x32e)]`\b([A-Z_]\w*)\[([^\]]+)\]`,'gi'),Fr=e[_0xa3b18d(0x37b)][_0xa3b18d(0x1c2)](String[_0xa3b18d(0x32e)]`(^|[^\w\][])\[([^\]]+)\]`,'g');var Ir=class{[_0xa3b18d(0x31f)](_0x4c3c12,_0x12a733=_0x4c3c12['id']){const _0x15b19c=_0xa3b18d;var _0x4ba6d5,_0xc5dbd1;let _0x57140b=(_0x4ba6d5=(_0xc5dbd1=_0x4c3c12[_0x15b19c(0x47c)])==null?void 0x0:_0xc5dbd1['length'])==null?Object['values'](_0x4c3c12[_0x15b19c(0x332)])[_0x15b19c(0x333)]:_0x4ba6d5;return{'sheetId':_0x12a733,'titleMap':new Map(_0x4c3c12[_0x15b19c(0x2d8)][_0x15b19c(0x1da)]((_0x37c82c,_0x4aaf36)=>{const _0x46cd2d=_0x15b19c;var _0x559d4d,_0x17ddc4;return[(_0x559d4d=(_0x17ddc4=_0x4c3c12[_0x46cd2d(0x35e)][_0x37c82c])==null?void 0x0:_0x17ddc4['name'])==null?_0x37c82c:_0x559d4d,_0x4aaf36];})),'range':{'startRow':0x0,'endRow':Math['max'](0x0,_0x57140b-0x1),'startColumn':0x0,'endColumn':Math[_0x15b19c(0x21a)](0x0,_0x4c3c12['fieldOrder'][_0x15b19c(0x333)]-0x1)},'showHeader':!0x1};}[_0xa3b18d(0x1ee)](_0x4c5cea,_0x305f20,_0x187e9c,_0xbc4f50={}){const _0x477cd8=_0xa3b18d;var _0x2c12e8;let _0xca9ec3=this[_0x477cd8(0x31f)](_0x187e9c,(_0x2c12e8=_0xbc4f50['sheetId'])==null?_0x187e9c['id']:_0x2c12e8);return new Set([_0x187e9c['id'],_0x187e9c[_0x477cd8(0x2cb)],_0xbc4f50[_0x477cd8(0x25b)]]['filter'](_0x2fb2a6=>!!_0x2fb2a6))[_0x477cd8(0x465)](_0x522b93=>_0x4c5cea[_0x477cd8(0x1f5)](_0x305f20,_0x522b93,_0xca9ec3)),_0xca9ec3;}[_0xa3b18d(0x207)](_0x5356d9,_0x7add64){const _0x254d18=_0xa3b18d;let _0x8bce42=this['getSuperTableRegistrations'](_0x7add64);return _0x8bce42[_0x254d18(0x465)](({tableName:_0xf03d1,reference:_0x37fc71})=>{const _0x48d7bb=_0x254d18;_0x5356d9[_0x48d7bb(0x1f5)](_0x7add64['id'],_0xf03d1,_0x37fc71);}),Array[_0x254d18(0x3aa)](new Set(_0x8bce42[_0x254d18(0x1da)](({reference:_0x4613a4})=>_0x4613a4)));}[_0xa3b18d(0x2c0)](_0x1a5d46,_0x19ec36){const _0x4bb102=_0xa3b18d;let _0x493ec7=[],_0x58fd54=_0x19ec36?new Set(_0x19ec36):null,_0x255473=new Map();return Object[_0x4bb102(0x29e)](_0x1a5d46['tables'])[_0x4bb102(0x465)](_0x57836=>{const _0x3997da=_0x4bb102;var _0x371332;let _0x4ea593=_0x57836['name']['trim']()[_0x3997da(0x2f2)]();_0x255473[_0x3997da(0x3e5)](_0x4ea593,((_0x371332=_0x255473[_0x3997da(0x221)](_0x4ea593))==null?0x0:_0x371332)+0x1);}),Object[_0x4bb102(0x29e)](_0x1a5d46['tables'])[_0x4bb102(0x314)](_0x554dd6=>!_0x58fd54||_0x58fd54['has'](_0x554dd6['id']))[_0x4bb102(0x465)](_0x388161=>{const _0x184d34=_0x4bb102;var _0x1dfd1b;let _0x4fc6e9=this['createSuperTableReference'](_0x388161,_0x388161['id']);_0x493ec7['push']({'tableId':_0x388161['id'],'tableName':_0x388161['id'],'reference':_0x4fc6e9}),((_0x1dfd1b=_0x255473['get'](_0x388161[_0x184d34(0x2cb)][_0x184d34(0x41e)]()[_0x184d34(0x2f2)]()))==null?0x0:_0x1dfd1b)===0x1&&_0x493ec7['push']({'tableId':_0x388161['id'],'tableName':_0x388161[_0x184d34(0x2cb)],'reference':_0x4fc6e9});}),_0x493ec7;}[_0xa3b18d(0x44c)](_0x2f21f6,_0x442d08,_0x366a0a={}){const _0xb99721=_0xa3b18d;let _0x12704b=_0x2f21f6[_0xb99721(0x41e)]();if(!_0x12704b)return{'valid':!0x0};if(Hr(_0x12704b))return{'valid':!0x1,'reason':'[BaseFormula]:\x20A1\x20references\x20and\x20ranges\x20are\x20not\x20supported\x20in\x20Base\x20formulas.'};for(let _0x4c6b9e of Vr(_0x12704b)){let _0x1da906=qr(_0x4c6b9e,_0x442d08,_0x366a0a[_0xb99721(0x344)]);if(!_0x1da906['table'])return{'valid':!0x1,'reason':'[BaseFormula]:\x20table\x20\x22'+_0x4c6b9e[_0xb99721(0x25b)]+_0xb99721(0x29d)};if(!_0x1da906[_0xb99721(0x41c)])return{'valid':!0x1,'reason':_0xb99721(0x1f4)+_0x4c6b9e[_0xb99721(0x362)]+_0xb99721(0x29d)};}return{'valid':!0x0};}[_0xa3b18d(0x218)](_0x49e273,_0x28a93a,_0x32a731={}){const _0x53d263=_0xa3b18d;let _0x3fce14=new Set();for(let _0x2f4816 of this[_0x53d263(0x38a)](_0x49e273,_0x28a93a,_0x32a731))_0x2f4816['tableId']===_0x28a93a['id']&&_0x3fce14['add'](_0x2f4816[_0x53d263(0x2ee)]);return Array['from'](_0x3fce14);}['getStructuredDependencies'](_0x12e936,_0x38c90a,_0x304ad7={}){const _0x234d35=_0xa3b18d;let _0x400616=new Map();for(let _0x1d4786 of Vr(_0x12e936)){let _0x5dc1fa=qr(_0x1d4786,_0x38c90a,_0x304ad7[_0x234d35(0x344)]);if(!_0x5dc1fa['table']||!_0x5dc1fa[_0x234d35(0x41c)])continue;let _0x518772=_0x5dc1fa['table']['id']+'\x1f'+_0x5dc1fa['field']['id'];_0x400616['set'](_0x518772,{'tableId':_0x5dc1fa[_0x234d35(0x3ac)]['id'],'fieldId':_0x5dc1fa['field']['id']});}return Array[_0x234d35(0x3aa)](_0x400616['values']());}};function Lr(_0x21be20,_0x53107a){const _0x2fb77f=_0xa3b18d;var _0x46c17;let _0x19be9c=[],_0x511e3f=(_0x46c17=_0x53107a[_0x2fb77f(0x45d)])==null?void 0x0:_0x46c17[_0x21be20['id']];return _0x511e3f&&Object['entries'](_0x511e3f)[_0x2fb77f(0x465)](([_0x561ac2,_0x3fe9a5])=>{const _0x505330=_0x2fb77f;let _0x3aa4fd=_0x21be20[_0x505330(0x258)][_0x561ac2];if(!_0x3aa4fd||!_0x3fe9a5)return;let _0x5ee490=d(_0x3aa4fd),_0x52d194=[];new e[(_0x505330(0x272))](_0x3fe9a5)[_0x505330(0x33f)]((_0x268595,_0x1734ab,_0x50a889)=>{let _0x4e559d=Rr(_0x5ee490,_0x268595,_0x1734ab,_0x50a889);_0x4e559d&&_0x52d194['push'](_0x4e559d);}),_0x52d194[_0x505330(0x333)]&&_0x19be9c['push']({'unitId':_0x21be20['id'],'tableId':_0x561ac2,'patches':_0x52d194});}),_0x19be9c;}function Rr(_0x59c9ed,_0x18a804,_0x3c46cc,_0x19b6e2){const _0x3a8dd6=_0xa3b18d;var _0x2a0ac1,_0x59ddd3,_0x419831,_0x4c4e8f,_0x16cf3c;let _0x31b7fe=(_0x2a0ac1=_0x59c9ed[_0x3a8dd6(0x262)])==null?void 0x0:_0x2a0ac1[_0x18a804],_0x45bfb1=(_0x59ddd3=_0x59c9ed[_0x3a8dd6(0x171)])==null?void 0x0:_0x59ddd3[_0x3c46cc];if(!_0x31b7fe||!_0x59c9ed['records'][_0x31b7fe]||!_0x45bfb1)return null;let _0x376dc1=_0x59c9ed[_0x3a8dd6(0x35e)][_0x45bfb1];if(!_0x376dc1||_0x376dc1[_0x3a8dd6(0x177)]!==_0x3a8dd6(0x382))return null;let _0x1d8361=String((_0x419831=(_0x4c4e8f=_0x376dc1['config'])==null?void 0x0:_0x4c4e8f[_0x3a8dd6(0x382)])==null?'':_0x419831)[_0x3a8dd6(0x41e)](),_0x1b987f=(_0x16cf3c=_0x19b6e2==null?void 0x0:_0x19b6e2['v'])==null?null:_0x16cf3c,_0x19c4b8={'v':_0x1b987f,'t':Br(_0x1b987f),..._0x18a804===0x0&&_0x1d8361?{'f':_0x1d8361}:{},'si':_0x376dc1['id']};return zr(g(_0x59c9ed,_0x31b7fe,_0x45bfb1),_0x19c4b8)?null:{'row':_0x18a804,'col':_0x3c46cc,'value':_0x19c4b8};}function zr(_0x10eef1,_0x41067e){var _0x9b58af,_0x25811d;return _0x10eef1!=null&&Object['is']((_0x9b58af=_0x10eef1['v'])==null?null:_0x9b58af,(_0x25811d=_0x41067e['v'])==null?null:_0x25811d)&&_0x10eef1['t']===_0x41067e['t']&&_0x10eef1['f']===_0x41067e['f']&&_0x10eef1['si']===_0x41067e['si'];}function Br(_0x55795f){const _0x3f3024=_0xa3b18d;return typeof _0x55795f==_0x3f3024(0x3fe)?e[_0x3f3024(0x2a0)][_0x3f3024(0x268)]:typeof _0x55795f==_0x3f3024(0x25f)?e[_0x3f3024(0x2a0)][_0x3f3024(0x2e1)]:typeof _0x55795f==_0x3f3024(0x181)?e[_0x3f3024(0x2a0)]['STRING']:null;}function Vr(_0x3af6a9){const _0x647737=_0xa3b18d;_0x3af6a9=Ur(_0x3af6a9,()=>'');let _0x477fb9=new Map();for(let _0x4870bb of _0x3af6a9[_0x647737(0x250)](Nr)){let _0x2d74c1={'fieldName':_0x4870bb[0x1]};_0x477fb9[_0x647737(0x3e5)]('\x1f'+_0x2d74c1[_0x647737(0x362)],_0x2d74c1);}for(let _0x4d16b4 of _0x3af6a9['matchAll'](Pr)){let _0x5ab536={'tableName':_0x4d16b4[0x1],'fieldName':_0x4d16b4[0x2]};_0x477fb9[_0x647737(0x3e5)](_0x5ab536[_0x647737(0x25b)]+'\x1f'+_0x5ab536[_0x647737(0x362)],_0x5ab536);}for(let _0x1b93b9 of _0x3af6a9[_0x647737(0x250)](Fr)){let _0x40614f={'fieldName':_0x1b93b9[0x2]};_0x477fb9[_0x647737(0x3e5)]('\x1f'+_0x40614f[_0x647737(0x362)],_0x40614f);}return Array[_0x647737(0x3aa)](_0x477fb9[_0x647737(0x29e)]());}function Hr(_0xe4811){const _0x4518cb=_0xa3b18d;let _0x9fe425=Wr(_0xe4811,()=>'\x20')[_0x4518cb(0x3ae)](Nr,'\x20')['replace'](Pr,'\x20')[_0x4518cb(0x3ae)](Fr,_0x4518cb(0x1a2));return jr['test'](_0x9fe425);}function Ur(_0x233581,_0x52187a){return Gr(Wr(_0x233581,_0x52187a),_0x52187a);}function Wr(_0x4eaad0,_0x5d3074){return Mr['lastIndex']=0x0,_0x4eaad0['replace'](Mr,(_0xa7cc0,_0x50eace)=>Kr(_0x4eaad0,_0x50eace)?_0xa7cc0:_0x5d3074(_0xa7cc0));}const X=/(?:'((?:[^']|'')+)'|\[[^\]]+\]|[A-Za-z0-9_.-]+)![^\s!\[\]]+\[/g;function Gr(_0x49bb3e,_0x2ae38e){const _0x4e60cc=_0xa3b18d;let _0x483865=[];X[_0x4e60cc(0x3d8)]=0x0;let _0x2d865f;for(;(_0x2d865f=X['exec'](_0x49bb3e))!=null;){if(Kr(_0x49bb3e,_0x2d865f['index']))continue;let _0x3c1194=X['lastIndex']-0x1,_0x448462=0x0;for(let _0x4bd74d=_0x3c1194;_0x4bd74d<_0x49bb3e[_0x4e60cc(0x333)];_0x4bd74d++)if(_0x49bb3e[_0x4bd74d]==='['&&_0x448462++,_0x49bb3e[_0x4bd74d]===']'&&(_0x448462--,_0x448462===0x0)){_0x483865['push']({'start':_0x2d865f[_0x4e60cc(0x25a)],'end':_0x4bd74d+0x1}),X[_0x4e60cc(0x3d8)]=_0x4bd74d+0x1;break;}}if(_0x483865[_0x4e60cc(0x333)]===0x0)return _0x49bb3e;let _0x40bfa0='',_0x1af452=0x0;for(let _0x405ba3 of _0x483865)_0x40bfa0+=_0x49bb3e['slice'](_0x1af452,_0x405ba3['start']),_0x40bfa0+=_0x2ae38e(_0x49bb3e[_0x4e60cc(0x2ce)](_0x405ba3[_0x4e60cc(0x384)],_0x405ba3['end'])),_0x1af452=_0x405ba3[_0x4e60cc(0x25c)];return _0x40bfa0+_0x49bb3e[_0x4e60cc(0x2ce)](_0x1af452);}function Kr(_0x12eb40,_0x3b2ae1){let _0x1461ed=!0x1;for(let _0xf7b9b7=0x0;_0xf7b9b7<_0x3b2ae1;_0xf7b9b7++)if(_0x12eb40[_0xf7b9b7]==='\x22'){if(_0x1461ed&&_0x12eb40[_0xf7b9b7+0x1]==='\x22'){_0xf7b9b7++;continue;}_0x1461ed=!_0x1461ed;}return _0x1461ed;}function qr(_0x181f1d,_0x7ec13a,_0x471180){const _0x279a25=_0xa3b18d;let _0xa4d772=Jr(_0x181f1d['tableName'],_0x7ec13a,_0x471180);return{'table':_0xa4d772,'field':_0xa4d772?Object[_0x279a25(0x29e)](_0xa4d772[_0x279a25(0x35e)])[_0x279a25(0x484)](_0x35044b=>_0x35044b['name']===_0x181f1d[_0x279a25(0x362)]):void 0x0};}function Jr(_0x19e492,_0x106c9f,_0x32729a){const _0x50fa92=_0xa3b18d;if(!_0x19e492||_0x19e492===_0x50fa92(0x3ac)||_0x19e492===_0x106c9f['id']||_0x19e492===_0x106c9f['name'])return _0x106c9f;if(!_0x32729a)return;let _0x3b1b2a=_0x32729a[_0x50fa92(0x258)][_0x19e492];if(_0x3b1b2a)return _0x3b1b2a;let _0x39b268=Object[_0x50fa92(0x29e)](_0x32729a[_0x50fa92(0x258)])[_0x50fa92(0x314)](_0xfedcc1=>_0xfedcc1[_0x50fa92(0x2cb)]===_0x19e492);return _0x39b268['length']===0x1?_0x39b268[0x0]:void 0x0;}let Yr=class extends e['Disposable']{constructor(_0x174331,_0x27597f,_0x312f7e){const _0x828372=_0xa3b18d;super(),this['_commandService']=_0x174331,this[_0x828372(0x414)]=_0x27597f,I(this,_0x828372(0x256),new Ir()),I(this,_0x828372(0x3a2),new Map()),I(this,_0x828372(0x225),Promise[_0x828372(0x310)]()),I(this,_0x828372(0x22c),!0x1),this[_0x828372(0x1c1)]();}[_0xa3b18d(0x1c1)](){const _0x11f61f=_0xa3b18d;this[_0x11f61f(0x414)][_0x11f61f(0x2f6)](e[_0x11f61f(0x3b9)][_0x11f61f(0x30f)])[_0x11f61f(0x465)](_0x4e67d8=>{const _0x587218=_0x11f61f;this[_0x587218(0x1b2)](async()=>{const _0x1fc9b9=_0x587218;await this[_0x1fc9b9(0x38c)](_0x4e67d8);});}),this[_0x11f61f(0x3d0)](this['_univerInstanceService']['getTypeOfUnitAdded$'](e[_0x11f61f(0x3b9)][_0x11f61f(0x30f)])[_0x11f61f(0x1d5)](({unit:_0x43d484})=>{this['_enqueueFormulaSync'](async()=>{const _0x4647b5=_0xfdce;await this[_0x4647b5(0x38c)](_0x43d484);});})),this['disposeWithMe'](this['_univerInstanceService'][_0x11f61f(0x1e1)](e[_0x11f61f(0x3b9)][_0x11f61f(0x30f)])[_0x11f61f(0x1d5)](_0x49cda7=>{const _0x49ee01=_0x11f61f;this[_0x49ee01(0x1b2)](()=>this[_0x49ee01(0x3c8)](_0x49cda7[_0x49ee01(0x446)]()));})),this[_0x11f61f(0x3d0)](this[_0x11f61f(0x1ca)][_0x11f61f(0x34e)](_0x2367f0=>this['_onCommandExecuted'](_0x2367f0)));}[_0xa3b18d(0x19c)](_0x463176){const _0x4a0efc=_0xa3b18d;if(_0x463176['id']===t['SetFormulaCalculationResultMutation']['id']){Zr(_0x463176[_0x4a0efc(0x469)])&&this['_applyFormulaResult'](_0x463176[_0x4a0efc(0x469)]);return;}if(this[_0x4a0efc(0x22c)]||_0x463176['id']!==J['id'])return;let _0x19e9ae=Xr(_0x463176[_0x4a0efc(0x469)])?_0x463176[_0x4a0efc(0x469)]:void 0x0,_0xee16aa=_0x19e9ae!=null&&_0x19e9ae['unitId']?[this[_0x4a0efc(0x414)][_0x4a0efc(0x2d7)](_0x19e9ae['unitId'],e[_0x4a0efc(0x3b9)]['UNIVER_BASE'])]['filter'](_0x986a3a=>!!_0x986a3a):this[_0x4a0efc(0x414)]['getAllUnitsForType'](e['UniverInstanceType']['UNIVER_BASE']),_0x2525ba=_0x19e9ae==null?void 0x0:_0x19e9ae['op'];_0xee16aa[_0x4a0efc(0x465)](_0x342248=>{const _0x505c54=_0x4a0efc;let _0x36fc48=_0x2525ba?Dr(_0x2525ba):[];(!_0x2525ba||_0x36fc48[_0x505c54(0x24e)](_0x3cc6b4=>_0x3cc6b4[_0x505c54(0x1e4)]!=='cell'))&&this['_enqueueFormulaSync'](()=>this['_syncSuperTables'](_0x342248));});}async[_0xa3b18d(0x38c)](_0x4cc913){const _0x58e13e=_0xa3b18d;var _0x42d753;let _0x4b1a04=_0x4cc913['getUnitId'](),_0x1819d3=this[_0x58e13e(0x256)][_0x58e13e(0x2c0)](_0x4cc913['getSnapshot']()),_0x1bb1c6=new Set(_0x1819d3['map'](({tableName:_0x67d31d})=>_0x67d31d)),_0x232b1e=(_0x42d753=this[_0x58e13e(0x3a2)][_0x58e13e(0x221)](_0x4b1a04))==null?new Set():_0x42d753;for(let _0x488906 of _0x232b1e)_0x1bb1c6[_0x58e13e(0x397)](_0x488906)||await this['_commandService'][_0x58e13e(0x1db)](t[_0x58e13e(0x245)]['id'],{'unitId':_0x4b1a04,'tableName':_0x488906});for(let {tableName:_0x24f5b2,reference:_0x153f63}of _0x1819d3)await this['_commandService'][_0x58e13e(0x1db)](t['SetSuperTableMutation']['id'],{'unitId':_0x4b1a04,'tableName':_0x24f5b2,'reference':_0x153f63});this[_0x58e13e(0x3a2)]['set'](_0x4b1a04,_0x1bb1c6);}async['_removeSuperTables'](_0x594e0a){const _0x8df54a=_0xa3b18d;var _0x16744d;let _0x35ebb0=(_0x16744d=this[_0x8df54a(0x3a2)][_0x8df54a(0x221)](_0x594e0a))==null?new Set():_0x16744d;for(let _0x1a1ff7 of _0x35ebb0)await this['_commandService'][_0x8df54a(0x1db)](t['RemoveSuperTableMutation']['id'],{'unitId':_0x594e0a,'tableName':_0x1a1ff7});this[_0x8df54a(0x3a2)][_0x8df54a(0x3e1)](_0x594e0a);}[_0xa3b18d(0x1b2)](_0x1dcea9){const _0x31e929=_0xa3b18d;this[_0x31e929(0x225)]=this[_0x31e929(0x225)][_0x31e929(0x37f)](_0x1dcea9,_0x1dcea9)[_0x31e929(0x3fb)](()=>void 0x0);}['_applyFormulaResult'](_0xe69d4a){const _0x48bf07=_0xa3b18d;let _0x412b7f=this['_univerInstanceService'][_0x48bf07(0x2f6)](e[_0x48bf07(0x3b9)][_0x48bf07(0x30f)])['flatMap'](_0x32b5d4=>Lr(_0x32b5d4[_0x48bf07(0x2ab)](),_0xe69d4a));if(!_0x412b7f['length'])return;let _0x57898a=new P(),_0x12499c=_0x412b7f[_0x48bf07(0x2f9)](_0x1ec5fc=>Or({'unitId':_0x1ec5fc[_0x48bf07(0x199)],'tableId':_0x1ec5fc[_0x48bf07(0x473)],'patches':_0x1ec5fc[_0x48bf07(0x213)]}));this[_0x48bf07(0x22c)]=!0x0,(async()=>{const _0x508d8b=_0x48bf07;for(let _0x46dcb2 of _0x412b7f){let _0x2e0133=this[_0x508d8b(0x414)]['getUnit'](_0x46dcb2[_0x508d8b(0x199)],e[_0x508d8b(0x3b9)]['UNIVER_BASE']);_0x2e0133&&await this[_0x508d8b(0x1ca)][_0x508d8b(0x1db)](J['id'],{'unitId':_0x46dcb2[_0x508d8b(0x199)],'op':_0x57898a[_0x508d8b(0x27f)](_0x2e0133[_0x508d8b(0x2ab)](),_0x46dcb2[_0x508d8b(0x473)],_0x46dcb2['patches']),'trigger':t[_0x508d8b(0x287)]['id']},{'onlyLocal':!0x0});}await this['_commandService'][_0x508d8b(0x1db)](t[_0x508d8b(0x36c)]['id'],{'dirtyRanges':_0x12499c},{'onlyLocal':!0x0});})()[_0x48bf07(0x1e7)](()=>{this['_applyingFormulaResults']=!0x1;});}};Yr=B([z(0x0,e['ICommandService']),z(0x1,e[_0xa3b18d(0x1be)]),z(0x2,(0x0,e['Inject'])(t[_0xa3b18d(0x2bf)]))],Yr);function Xr(_0x27417d){const _0x5af452=_0xa3b18d;return typeof _0x27417d==_0x5af452(0x20d)&&!!_0x27417d&&_0x5af452(0x199)in _0x27417d&&typeof _0x27417d[_0x5af452(0x199)]==_0x5af452(0x181)&&'op'in _0x27417d&&Array['isArray'](_0x27417d['op']);}function Zr(_0x4a84a3){const _0x217a6a=_0xa3b18d;return typeof _0x4a84a3==_0x217a6a(0x20d)&&!!_0x4a84a3&&'unitData'in _0x4a84a3&&_0x217a6a(0x30c)in _0x4a84a3;}const Qr=(0x0,e[_0xa3b18d(0x2db)])('base.resource.service');let $r=class{constructor(_0x5d26ad){const _0x30cf69=_0xa3b18d;this[_0x30cf69(0x414)]=_0x5d26ad;}[_0xa3b18d(0x2aa)](_0x1398a6){const _0x5a2093=_0xa3b18d;var _0x20898e;return(_0x20898e=this['_univerInstanceService'][_0x5a2093(0x2d7)](_0x1398a6,e[_0x5a2093(0x3b9)]['UNIVER_BASE']))==null?null:_0x20898e;}[_0xa3b18d(0x20a)](){const _0x25f4e5=_0xa3b18d;return this['_univerInstanceService'][_0x25f4e5(0x2f6)](e[_0x25f4e5(0x3b9)][_0x25f4e5(0x30f)]);}[_0xa3b18d(0x3dc)](_0x301c3a){const _0x7f4bc8=_0xa3b18d;return this[_0x7f4bc8(0x414)][_0x7f4bc8(0x16f)](e[_0x7f4bc8(0x3b9)][_0x7f4bc8(0x30f)],_0x301c3a);}};$r=B([z(0x0,e[_0xa3b18d(0x1be)])],$r);const ei=(0x0,e[_0xa3b18d(0x2db)])(_0xa3b18d(0x1d0));var ti=class extends e['Disposable']{constructor(..._0x9f823){const _0x429800=_0xa3b18d;super(..._0x9f823),I(this,_0x429800(0x22f),new Map());}['register'](_0x1b5064){const _0x4528f0=_0xa3b18d;return this[_0x4528f0(0x22f)]['set'](_0x1b5064['type'],_0x1b5064),(0x0,e[_0x4528f0(0x41b)])(()=>this[_0x4528f0(0x22f)][_0x4528f0(0x3e1)](_0x1b5064['type']));}[_0xa3b18d(0x221)](_0x1c37f5){const _0xccf40a=_0xa3b18d;let _0x212dab=this[_0xccf40a(0x22f)]['get'](_0x1c37f5);if(!_0x212dab)throw Error(_0xccf40a(0x457)+_0x1c37f5+_0xccf40a(0x1fd));return _0x212dab;}[_0xa3b18d(0x27e)](){const _0x627c8c=_0xa3b18d;return Array[_0x627c8c(0x3aa)](this['_plugins'][_0x627c8c(0x29e)]());}};const ni=[J];let Z=class extends e[_0xa3b18d(0x1f9)]{constructor(_0x48ed44=Tr,_0x277816,_0x35a2,_0xdc3aff,_0x57b107,_0x127cf2){const _0xdb9e16=_0xa3b18d;super(),this['_config']=_0x48ed44,this[_0xdb9e16(0x46a)]=_0x277816,this['_commandService']=_0x35a2,this[_0xdb9e16(0x414)]=_0xdc3aff,this[_0xdb9e16(0x1cd)]=_0x57b107,this['_dataSyncPrimaryController']=_0x127cf2,I(this,_0xdb9e16(0x43c),new Map());let {..._0x491e63}=(0x0,e[_0xdb9e16(0x2f3)])({},Tr,this[_0xdb9e16(0x47b)]);this[_0xdb9e16(0x1cd)][_0xdb9e16(0x1b8)]('bases.config',_0x491e63),this['_univerInstanceService'][_0xdb9e16(0x42c)](e['UniverInstanceType'][_0xdb9e16(0x30f)],e[_0xdb9e16(0x1ef)]),this[_0xdb9e16(0x1b6)](),this['_initCommands'](),this[_0xdb9e16(0x438)](),this['_initDataSync']();}[_0xa3b18d(0x462)](){const _0x278d64=_0xa3b18d;(0x0,e[_0x278d64(0x190)])(this[_0x278d64(0x46a)],[[$r],[H],[Ar]]),this[_0x278d64(0x414)][_0x278d64(0x2f6)](e[_0x278d64(0x3b9)][_0x278d64(0x30f)])[_0x278d64(0x465)](_0x447839=>this[_0x278d64(0x317)](_0x447839[_0x278d64(0x446)]())),(0x0,e[_0x278d64(0x190)])(this[_0x278d64(0x46a)],[[Yr]]);}[_0xa3b18d(0x1b6)](){const _0x243cd1=_0xa3b18d;[[L,{'useClass':St}],[ei,{'useClass':ti}],[Ft,{'useClass':Lt}],[Qr,{'useClass':$r}],[Ct,{'useClass':wt}],[V,{'useClass':H}],[Ar],[Yr]]['forEach'](_0x13c621=>this[_0x243cd1(0x46a)][_0x243cd1(0x204)](_0x13c621));}[_0xa3b18d(0x46e)](){const _0x54473a=_0xa3b18d;[yn,Kn,Ln,ir,Zn,Xn,vn,mn,In,hn,Bn,cr,_n,zn,or,ar,gn,Fn,Wn,Pn,Vn,qn,Yn,Rn,Gn,lr,Jn,sr,tr,rr,nr,$n,er,Qn,...ni][_0x54473a(0x465)](_0x5946f8=>this[_0x54473a(0x3d0)](this[_0x54473a(0x1ca)]['registerCommand'](_0x5946f8))),ni['forEach'](_0x5d64db=>{const _0x3710fa=_0x54473a;var _0x320dda;return(_0x320dda=this[_0x3710fa(0x32c)])==null?void 0x0:_0x320dda[_0x3710fa(0x22b)](_0x5d64db);});}[_0xa3b18d(0x468)](){const _0x4c84b9=_0xa3b18d;this[_0x4c84b9(0x32c)]&&(this['disposeWithMe'](this['_univerInstanceService']['getTypeOfUnitAdded$'](e[_0x4c84b9(0x3b9)]['UNIVER_BASE'])['subscribe'](({unit:_0x8add92})=>{const _0x4a4fc0=_0x4c84b9;this[_0x4a4fc0(0x317)](_0x8add92[_0x4a4fc0(0x446)]());})),this[_0x4c84b9(0x3d0)](this['_univerInstanceService'][_0x4c84b9(0x1e1)](e[_0x4c84b9(0x3b9)]['UNIVER_BASE'])[_0x4c84b9(0x1d5)](_0x43b081=>{const _0x2c6f8c=_0x4c84b9;var _0xee7195;(_0xee7195=this[_0x2c6f8c(0x43c)][_0x2c6f8c(0x221)](_0x43b081[_0x2c6f8c(0x446)]()))==null||_0xee7195[_0x2c6f8c(0x405)](),this[_0x2c6f8c(0x43c)][_0x2c6f8c(0x3e1)](_0x43b081['getUnitId']());})));}[_0xa3b18d(0x317)](_0x1e895a){const _0xc41620=_0xa3b18d;!this['_dataSyncPrimaryController']||this['_baseSyncDisposables']['has'](_0x1e895a)||this[_0xc41620(0x43c)][_0xc41620(0x3e5)](_0x1e895a,this[_0xc41620(0x32c)][_0xc41620(0x2e7)](_0x1e895a));}['_initRegistries'](){const _0x556156=_0xa3b18d;let _0x1a6df1=this[_0x556156(0x46a)]['get'](L);Qe()[_0x556156(0x465)](_0xb7f6ca=>_0x1a6df1[_0x556156(0x2cd)](_0xb7f6ca));let _0x439ea7=this[_0x556156(0x46a)][_0x556156(0x221)](ei),_0x13a6bd=this[_0x556156(0x46a)][_0x556156(0x221)](Ft);At()[_0x556156(0x465)](_0x16f3a1=>{const _0x248268=_0x556156;_0x439ea7[_0x248268(0x2cd)](_0x16f3a1),_0x13a6bd[_0x248268(0x17b)](_0x16f3a1);});}};I(Z,_0xa3b18d(0x389),_0xa3b18d(0x421)),I(Z,_0xa3b18d(0x2e9),Cr),I(Z,_0xa3b18d(0x448),wr),I(Z,_0xa3b18d(0x177),e[_0xa3b18d(0x3b9)][_0xa3b18d(0x30f)]),Z=B([(0x0,e['DependentOn'])(n[_0xa3b18d(0x1f8)],t[_0xa3b18d(0x340)]),z(0x1,(0x0,e[_0xa3b18d(0x1c0)])(e[_0xa3b18d(0x3df)])),z(0x2,e['ICommandService']),z(0x3,e[_0xa3b18d(0x1be)]),z(0x4,e['IConfigService']),z(0x5,(0x0,e['Optional'])(r[_0xa3b18d(0x44f)]))],Z);let Q=class extends e[_0xa3b18d(0x1f9)]{constructor(_0x4f5a2a=Er,_0x1bf805,_0x59d94a,_0x222a1a,_0xc70475){const _0xc5fe39=_0xa3b18d;super(),this['_config']=_0x4f5a2a,this[_0xc5fe39(0x46a)]=_0x1bf805,this[_0xc5fe39(0x1ca)]=_0x59d94a,this[_0xc5fe39(0x1cd)]=_0x222a1a,this['_univerInstanceService']=_0xc70475;let {..._0x2946c6}=(0x0,e[_0xc5fe39(0x2f3)])({},Er,this['_config']);this[_0xc5fe39(0x1cd)][_0xc5fe39(0x1b8)]('bases.remote.config',_0x2946c6),this[_0xc5fe39(0x414)][_0xc5fe39(0x42c)](e['UniverInstanceType'][_0xc5fe39(0x30f)],e[_0xc5fe39(0x1ef)]),ni[_0xc5fe39(0x465)](_0x5c7e70=>this[_0xc5fe39(0x3d0)](this['_commandService'][_0xc5fe39(0x3c4)](_0x5c7e70)));}};I(Q,'pluginName',_0xa3b18d(0x203)),I(Q,_0xa3b18d(0x2e9),Cr),I(Q,_0xa3b18d(0x448),wr),I(Q,'type',e[_0xa3b18d(0x3b9)][_0xa3b18d(0x30f)]),Q=B([(0x0,e[_0xa3b18d(0x243)])(n[_0xa3b18d(0x1f8)],t[_0xa3b18d(0x340)]),z(0x1,(0x0,e[_0xa3b18d(0x1c0)])(e[_0xa3b18d(0x3df)])),z(0x2,e[_0xa3b18d(0x367)]),z(0x3,e[_0xa3b18d(0x1f6)]),z(0x4,e[_0xa3b18d(0x1be)])],Q);function ri(_0x17e731){const _0x4d8c14=_0xa3b18d;let _0x2def9f=gi(_0x17e731['query']);if(!_0x2def9f)return{'query':'','total':0x0,'matches':[]};let _0x3eda4e=[],_0x511df4=[];for(let _0x50aafb=0x0;_0x50aafb<_0x17e731[_0x4d8c14(0x454)]['length'];_0x50aafb++){if(!(_0x50aafb in _0x17e731[_0x4d8c14(0x454)]))continue;let _0x2cc3a0=_0x17e731[_0x4d8c14(0x3ac)][_0x4d8c14(0x35e)][_0x17e731[_0x4d8c14(0x454)][_0x50aafb]];_0x2cc3a0&&_0x511df4['push']({'field':_0x2cc3a0,'fieldIndex':_0x50aafb});}_0x17e731['rows'][_0x4d8c14(0x465)]((_0x3d897d,_0x210c78)=>{const _0x18d304=_0x4d8c14;_0x511df4[_0x18d304(0x465)](({field:_0xcd437f,fieldIndex:_0x197738})=>{const _0xc7789d=_0x18d304;let _0x18cc14=ii(_0x3d897d[_0xc7789d(0x29e)][_0xcd437f['id']],_0xcd437f);if(!_0x18cc14)return;let _0x4ef546=hi(_0x2def9f,_0x18cc14[_0xc7789d(0x339)]);_0x4ef546<=0x0||_0x3eda4e[_0xc7789d(0x439)]({'recordId':_0x3d897d[_0xc7789d(0x2f7)],'fieldId':_0xcd437f['id'],'fieldType':_0xcd437f[_0xc7789d(0x177)],'text':_0x18cc14[_0xc7789d(0x44a)],'score':_0x4ef546,'rowIndex':_0x210c78,'fieldIndex':_0x197738});});}),_0x3eda4e['sort']((_0x17a807,_0x686e63)=>_0x686e63[_0x4d8c14(0x21d)]-_0x17a807[_0x4d8c14(0x21d)]||_0x17a807[_0x4d8c14(0x164)]-_0x686e63['rowIndex']||_0x17a807[_0x4d8c14(0x2f8)]-_0x686e63[_0x4d8c14(0x2f8)]);let _0x22e3fd=_0x17e731['limit']==null?_0x3eda4e:_0x3eda4e[_0x4d8c14(0x2ce)](0x0,Math['max'](0x0,_0x17e731[_0x4d8c14(0x20c)]));return{'query':_0x2def9f,'total':_0x3eda4e['length'],'matches':vi(_0x22e3fd)};}function ii(_0x15c271,_0x7ab6c6){const _0x51ebc4=_0xa3b18d;let _0x4a6b9d=[];for(let _0x5472e6 of oi(_0x15c271,_0x7ab6c6)){let _0x32591b=gi(_0x5472e6);_0x32591b&&_0x4a6b9d[_0x51ebc4(0x439)](_0x32591b);}return _0x4a6b9d[_0x51ebc4(0x333)]?{'displayText':ai(_0x15c271,_0x7ab6c6),'searchTexts':_i(_0x4a6b9d)}:null;}function ai(_0x187091,_0x2a563a){const _0xb0d8c3=_0xa3b18d;switch(_0x2a563a[_0xb0d8c3(0x177)]){case e[_0xb0d8c3(0x17a)][_0xb0d8c3(0x3b7)]:case e[_0xb0d8c3(0x17a)]['MultiSelect']:case e['BaseFieldType'][_0xb0d8c3(0x478)]:return si(_0x187091,_0x2a563a)[_0xb0d8c3(0x1e9)](',\x20');case e[_0xb0d8c3(0x17a)]['Link']:return ui(_0x187091);case e[_0xb0d8c3(0x17a)][_0xb0d8c3(0x224)]:case e['BaseFieldType'][_0xb0d8c3(0x2bb)]:case e[_0xb0d8c3(0x17a)]['UpdatedAt']:return di(_0x187091,_0x2a563a);case e['BaseFieldType'][_0xb0d8c3(0x285)]:case e[_0xb0d8c3(0x17a)]['Currency']:return fi(_0x187091,_0x2a563a);case e[_0xb0d8c3(0x17a)][_0xb0d8c3(0x17f)]:return pi(_0x187091,_0x2a563a);case e[_0xb0d8c3(0x17a)][_0xb0d8c3(0x23b)]:return _0x187091?_0xb0d8c3(0x370):'Unchecked';case e[_0xb0d8c3(0x17a)][_0xb0d8c3(0x208)]:return mi(_0x187091)[_0xb0d8c3(0x1e9)](',\x20');default:return $(_0x187091);}}function oi(_0x2fe119,_0x56bdee){const _0x3fa045=_0xa3b18d;switch(_0x56bdee[_0x3fa045(0x177)]){case e[_0x3fa045(0x17a)]['SingleSelect']:case e[_0x3fa045(0x17a)][_0x3fa045(0x35d)]:case e['BaseFieldType'][_0x3fa045(0x478)]:{let _0xbe91bb=si(_0x2fe119,_0x56bdee);if(Array[_0x3fa045(0x18c)](_0x2fe119)){let _0x42cc7a=[..._0xbe91bb];for(let _0x382c02=0x0;_0x382c02<_0x2fe119[_0x3fa045(0x333)];_0x382c02++)_0x382c02 in _0x2fe119&&_0x42cc7a[_0x3fa045(0x439)](String(_0x2fe119[_0x382c02]));return _0x42cc7a;}return _0x2fe119==null?_0xbe91bb:[..._0xbe91bb,String(_0x2fe119)];}case e[_0x3fa045(0x17a)]['Link']:{let _0x802852=li(_0x2fe119);return[_0x802852[_0x3fa045(0x3ec)],_0x802852[_0x3fa045(0x254)]];}case e[_0x3fa045(0x17a)]['Date']:case e['BaseFieldType'][_0x3fa045(0x2bb)]:case e[_0x3fa045(0x17a)][_0x3fa045(0x2e4)]:return[di(_0x2fe119,_0x56bdee),$(_0x2fe119)];case e[_0x3fa045(0x17a)]['Number']:case e['BaseFieldType'][_0x3fa045(0x485)]:return[fi(_0x2fe119,_0x56bdee),$(_0x2fe119)];case e[_0x3fa045(0x17a)][_0x3fa045(0x17f)]:return[pi(_0x2fe119,_0x56bdee),$(_0x2fe119)];case e[_0x3fa045(0x17a)][_0x3fa045(0x23b)]:return _0x2fe119?[_0x3fa045(0x370),'Yes','True']:[_0x3fa045(0x423),'No','False'];case e[_0x3fa045(0x17a)][_0x3fa045(0x208)]:return mi(_0x2fe119);default:return[$(_0x2fe119)];}}function si(_0x696ca4,_0x1ba4e3){const _0x3dd2e5=_0xa3b18d;var _0x13e15f;let _0x11c17d=Array[_0x3dd2e5(0x18c)]((_0x13e15f=_0x1ba4e3[_0x3dd2e5(0x3af)])==null?void 0x0:_0x13e15f[_0x3dd2e5(0x275)])?_0x1ba4e3[_0x3dd2e5(0x3af)]['options']:[],_0x2c5bc7=[];if(Array[_0x3dd2e5(0x18c)](_0x696ca4)){for(let _0x1e6e4d=0x0;_0x1e6e4d<_0x696ca4[_0x3dd2e5(0x333)];_0x1e6e4d++){if(!(_0x1e6e4d in _0x696ca4))continue;let _0x114d43=String(_0x696ca4[_0x1e6e4d]);_0x114d43&&_0x2c5bc7[_0x3dd2e5(0x439)](ci(_0x11c17d,_0x114d43));}return _0x2c5bc7;}if(_0x696ca4!=null){let _0x3adabb=String(_0x696ca4);_0x3adabb&&_0x2c5bc7[_0x3dd2e5(0x439)](ci(_0x11c17d,_0x3adabb));}return _0x2c5bc7;}function ci(_0x1990e5,_0x2d6dfb){const _0x742f0b=_0xa3b18d;for(let _0x3125c9 of _0x1990e5){if(typeof _0x3125c9==_0x742f0b(0x181)&&_0x3125c9===_0x2d6dfb)return _0x3125c9;if(_0x3125c9&&typeof _0x3125c9==_0x742f0b(0x20d)){var _0x2307f2,_0x2ea645,_0x1979ea;let _0x1b7723=_0x3125c9;if(String((_0x2307f2=(_0x2ea645=_0x1b7723['id'])==null?_0x1b7723[_0x742f0b(0x2cb)]:_0x2ea645)==null?'':_0x2307f2)===_0x2d6dfb||String((_0x1979ea=_0x1b7723[_0x742f0b(0x2cb)])==null?'':_0x1979ea)===_0x2d6dfb){var _0x5844d1,_0x324aa0;return String((_0x5844d1=(_0x324aa0=_0x1b7723[_0x742f0b(0x2cb)])==null?_0x1b7723['id']:_0x324aa0)==null?_0x2d6dfb:_0x5844d1);}}}return _0x2d6dfb;}function li(_0x86f06b){const _0xe52d8e=_0xa3b18d;if(_0x86f06b&&typeof _0x86f06b==_0xe52d8e(0x20d)&&!Array['isArray'](_0x86f06b)){var _0x2639d5,_0x372e6c,_0x589426;let _0x9e4a7c=_0x86f06b;return{'text':String((_0x2639d5=(_0x372e6c=_0x9e4a7c[_0xe52d8e(0x3ec)])==null?_0x9e4a7c[_0xe52d8e(0x254)]:_0x372e6c)==null?'':_0x2639d5),'url':String((_0x589426=_0x9e4a7c['url'])==null?'':_0x589426)};}return{'text':$(_0x86f06b),'url':$(_0x86f06b)};}function ui(_0x55aca0){const _0x3f8065=_0xa3b18d;let _0x3cbb69=li(_0x55aca0);return _0x3cbb69[_0x3f8065(0x3ec)]||_0x3cbb69[_0x3f8065(0x254)];}function di(_0x45458b,_0x1ac136){const _0x511bde=_0xa3b18d;return typeof _0x45458b!=_0x511bde(0x3fe)||!Number[_0x511bde(0x2f4)](_0x45458b)?'':je(_0x45458b,_0x1ac136[_0x511bde(0x3af)]);}function fi(_0x29a51a,_0x4aa769){const _0xce72ac=_0xa3b18d;let _0x1d4fc2=typeof _0x29a51a==_0xce72ac(0x3fe)?_0x29a51a:Number(_0x29a51a);return Number[_0xce72ac(0x2f4)](_0x1d4fc2)?_r(_0x1d4fc2,_0x4aa769[_0xce72ac(0x3af)]):'';}function pi(_0x1f7c93,_0xce370b){const _0x37f796=_0xa3b18d;var _0x5f1b04;let _0x5eb072=typeof _0x1f7c93==_0x37f796(0x3fe)?_0x1f7c93:Number(_0x1f7c93);if(!Number[_0x37f796(0x2f4)](_0x5eb072))return'';let _0x5bfad=(_0x5f1b04=_0xce370b[_0x37f796(0x3af)])==null?{}:_0x5f1b04,_0x971c20=_0x5bfad['decimalPlaces']===0x1||_0x5bfad[_0x37f796(0x209)]===0x2?_0x5bfad[_0x37f796(0x209)]:0x0,_0x417181=_0x5eb072[_0x37f796(0x271)](_0x971c20);return _0x5bfad[_0x37f796(0x28f)]===_0x37f796(0x3fe)?_0x417181:_0x417181+'%';}function mi(_0x151e65){const _0x3c7123=_0xa3b18d;return Array[_0x3c7123(0x18c)](_0x151e65)?_0x151e65[_0x3c7123(0x2f9)](_0x25c518=>{const _0x4f6aef=_0x3c7123;var _0x248ccc,_0x3d861e;if(!_0x25c518||typeof _0x25c518!=_0x4f6aef(0x20d))return[];let _0x5e43fe=_0x25c518,_0xbecad2=String((_0x248ccc=(_0x3d861e=_0x5e43fe[_0x4f6aef(0x2cb)])==null?_0x5e43fe[_0x4f6aef(0x254)]:_0x3d861e)==null?'':_0x248ccc)['trim']();return _0xbecad2?[_0xbecad2]:[];}):[];}function $(_0xfb0f38){const _0x5d8a42=_0xa3b18d;if(_0xfb0f38==null)return'';if(typeof _0xfb0f38=='boolean')return _0xfb0f38?_0x5d8a42(0x329):'false';if(typeof _0xfb0f38==_0x5d8a42(0x3fe))return String(_0xfb0f38);if(Array[_0x5d8a42(0x18c)](_0xfb0f38)){let _0x2823c2=[];for(let _0x4c34c4=0x0;_0x4c34c4<_0xfb0f38['length'];_0x4c34c4++){if(!(_0x4c34c4 in _0xfb0f38))continue;let _0x42b8fd=$(_0xfb0f38[_0x4c34c4]);_0x42b8fd&&_0x2823c2[_0x5d8a42(0x439)](_0x42b8fd);}return _0x2823c2[_0x5d8a42(0x1e9)](',\x20');}if(typeof _0xfb0f38==_0x5d8a42(0x20d)){var _0x55adcc,_0x1861bb,_0x2476b1,_0x2df2c1;let _0x33185c=_0xfb0f38;return String((_0x55adcc=(_0x1861bb=(_0x2476b1=(_0x2df2c1=_0x33185c[_0x5d8a42(0x3e3)])==null?_0x33185c[_0x5d8a42(0x2cb)]:_0x2df2c1)==null?_0x33185c[_0x5d8a42(0x3ec)]:_0x2476b1)==null?_0x33185c['url']:_0x1861bb)==null?'':_0x55adcc)['trim']();}return String(_0xfb0f38);}function hi(_0x4ab38b,_0x247e29){const _0xf171f7=_0xa3b18d;let _0x21c525=0x0;for(let _0x4fadef of _0x247e29)if(_0x4fadef){if(_0x4fadef===_0x4ab38b){_0x21c525=Math[_0xf171f7(0x21a)](_0x21c525,0x12c);continue;}if(_0x4fadef['startsWith'](_0x4ab38b)){_0x21c525=Math[_0xf171f7(0x21a)](_0x21c525,0xfa);continue;}_0x4fadef[_0xf171f7(0x162)](_0x4ab38b)&&(_0x21c525=Math['max'](_0x21c525,0xc8));}return _0x21c525;}function gi(_0x2a7492){const _0x383d45=_0xa3b18d;return _0x2a7492[_0x383d45(0x41e)]()[_0x383d45(0x3ae)](/\s+/g,'\x20')[_0x383d45(0x2f2)]();}function _i(_0x36113b){const _0x276d5d=_0xa3b18d;return Array[_0x276d5d(0x3aa)](new Set(_0x36113b));}function vi(_0x339908){let _0x35af83=[];for(let {rowIndex:_0x12486b,fieldIndex:_0x4db365,..._0x22adc1}of _0x339908)_0x35af83['push'](_0x22adc1);return _0x35af83;}exports[_0xa3b18d(0x24c)]=J,exports[_0xa3b18d(0x246)]=w,exports[_0xa3b18d(0x1c9)]=P,exports[_0xa3b18d(0x3d4)]=mn,exports[_0xa3b18d(0x442)]=hn,exports[_0xa3b18d(0x263)]=gn,exports['CreateBaseFieldCommand']=_n,exports[_0xa3b18d(0x1c5)]=vn,exports[_0xa3b18d(0x39d)]=yn,exports[_0xa3b18d(0x2a7)]=Pn,exports[_0xa3b18d(0x1a8)]=Fn,exports[_0xa3b18d(0x3cf)]=In,exports[_0xa3b18d(0x472)]=Ln,exports['DeleteBaseViewCommand']=Rn,exports['DuplicateBaseFieldCommand']=zn,exports[_0xa3b18d(0x3c0)]=Bn,exports['EMBED_BASES_TABLE_RESOURCE_KEY']=dr,exports[_0xa3b18d(0x364)]=Vn,exports['IBaseCommandService']=V,exports[_0xa3b18d(0x36e)]=Ct,exports[_0xa3b18d(0x445)]=Ft,exports[_0xa3b18d(0x195)]=ei,exports['MoveBaseFieldCommand']=Wn,exports['MoveBaseViewCommand']=Gn,exports['RenameBaseTableCommand']=Kn,exports[_0xa3b18d(0x282)]=qn,exports[_0xa3b18d(0x1c4)]=Jn,exports[_0xa3b18d(0x288)]=Yn,exports[_0xa3b18d(0x196)]=Xn,exports[_0xa3b18d(0x169)]=Zn,exports[_0xa3b18d(0x350)]=Qn,exports[_0xa3b18d(0x2f1)]=$n,exports[_0xa3b18d(0x293)]=er,exports[_0xa3b18d(0x276)]=tr,exports[_0xa3b18d(0x2c4)]=nr,exports[_0xa3b18d(0x31c)]=rr,Object[_0xa3b18d(0x36d)](exports,_0xa3b18d(0x471),{'enumerable':!0x0,'get':function(){return Z;}}),Object[_0xa3b18d(0x36d)](exports,'UniverRemoteBasesPlugin',{'enumerable':!0x0,'get':function(){return Q;}}),exports['UpdateBaseCellCommand']=ir,exports['UpdateBaseFieldCommand']=or,exports[_0xa3b18d(0x2ca)]=ar,exports['UpdateBaseKanbanConfigCommand']=sr,exports['UpdateBaseRecordOrderCommand']=cr,exports[_0xa3b18d(0x1d4)]=lr,exports[_0xa3b18d(0x251)]=D,exports[_0xa3b18d(0x44d)]=Sr,exports['createDefaultBaseTableSnapshot']=ur,exports['createEmbedBasesTable']=fr,exports[_0xa3b18d(0x281)]=pr,exports[_0xa3b18d(0x2b5)]=mr,exports[_0xa3b18d(0x244)]=T,exports['ensureBaseTableCellLayout']=d,exports[_0xa3b18d(0x35b)]=je,exports[_0xa3b18d(0x186)]=_r,exports[_0xa3b18d(0x3b3)]=v,exports[_0xa3b18d(0x351)]=_,exports[_0xa3b18d(0x223)]=xr,exports[_0xa3b18d(0x444)]=Ie,exports[_0xa3b18d(0x2ba)]=E,exports[_0xa3b18d(0x3b0)]=ri,exports['traceBasePerformance']=o,exports[_0xa3b18d(0x40e)]=bn;
|