@univerjs-pro/bases 1.0.0-alpha.4 → 1.0.0-alpha.5

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.
Files changed (85) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ar-SA.js +1 -1
  4. package/lib/cjs/locale/ca-ES.js +1 -1
  5. package/lib/cjs/locale/de-DE.js +1 -1
  6. package/lib/cjs/locale/en-US.js +1 -1
  7. package/lib/cjs/locale/es-ES.js +1 -1
  8. package/lib/cjs/locale/fa-IR.js +1 -1
  9. package/lib/cjs/locale/fr-FR.js +1 -1
  10. package/lib/cjs/locale/id-ID.js +1 -1
  11. package/lib/cjs/locale/it-IT.js +1 -1
  12. package/lib/cjs/locale/ja-JP.js +1 -1
  13. package/lib/cjs/locale/ko-KR.js +1 -1
  14. package/lib/cjs/locale/pl-PL.js +1 -1
  15. package/lib/cjs/locale/pt-BR.js +1 -1
  16. package/lib/cjs/locale/ru-RU.js +1 -1
  17. package/lib/cjs/locale/sk-SK.js +1 -1
  18. package/lib/cjs/locale/vi-VN.js +1 -1
  19. package/lib/cjs/locale/zh-CN.js +1 -1
  20. package/lib/cjs/locale/zh-HK.js +1 -1
  21. package/lib/cjs/locale/zh-TW.js +1 -1
  22. package/lib/es/facade.js +1 -1
  23. package/lib/es/index.js +1 -1
  24. package/lib/es/locale/ar-SA.js +1 -1
  25. package/lib/es/locale/ca-ES.js +1 -1
  26. package/lib/es/locale/de-DE.js +1 -1
  27. package/lib/es/locale/en-US.js +1 -1
  28. package/lib/es/locale/es-ES.js +1 -1
  29. package/lib/es/locale/fa-IR.js +1 -1
  30. package/lib/es/locale/fr-FR.js +1 -1
  31. package/lib/es/locale/id-ID.js +1 -1
  32. package/lib/es/locale/it-IT.js +1 -1
  33. package/lib/es/locale/ja-JP.js +1 -1
  34. package/lib/es/locale/ko-KR.js +1 -1
  35. package/lib/es/locale/pl-PL.js +1 -1
  36. package/lib/es/locale/pt-BR.js +1 -1
  37. package/lib/es/locale/ru-RU.js +1 -1
  38. package/lib/es/locale/sk-SK.js +1 -1
  39. package/lib/es/locale/vi-VN.js +1 -1
  40. package/lib/es/locale/zh-CN.js +1 -1
  41. package/lib/es/locale/zh-HK.js +1 -1
  42. package/lib/es/locale/zh-TW.js +1 -1
  43. package/lib/facade.js +1 -1
  44. package/lib/index.js +1 -1
  45. package/lib/locale/ar-SA.js +1 -1
  46. package/lib/locale/ca-ES.js +1 -1
  47. package/lib/locale/de-DE.js +1 -1
  48. package/lib/locale/en-US.js +1 -1
  49. package/lib/locale/es-ES.js +1 -1
  50. package/lib/locale/fa-IR.js +1 -1
  51. package/lib/locale/fr-FR.js +1 -1
  52. package/lib/locale/id-ID.js +1 -1
  53. package/lib/locale/it-IT.js +1 -1
  54. package/lib/locale/ja-JP.js +1 -1
  55. package/lib/locale/ko-KR.js +1 -1
  56. package/lib/locale/pl-PL.js +1 -1
  57. package/lib/locale/pt-BR.js +1 -1
  58. package/lib/locale/ru-RU.js +1 -1
  59. package/lib/locale/sk-SK.js +1 -1
  60. package/lib/locale/vi-VN.js +1 -1
  61. package/lib/locale/zh-CN.js +1 -1
  62. package/lib/locale/zh-HK.js +1 -1
  63. package/lib/locale/zh-TW.js +1 -1
  64. package/lib/umd/facade.js +1 -1
  65. package/lib/umd/index.js +1 -1
  66. package/lib/umd/locale/ar-SA.js +1 -1
  67. package/lib/umd/locale/ca-ES.js +1 -1
  68. package/lib/umd/locale/de-DE.js +1 -1
  69. package/lib/umd/locale/en-US.js +1 -1
  70. package/lib/umd/locale/es-ES.js +1 -1
  71. package/lib/umd/locale/fa-IR.js +1 -1
  72. package/lib/umd/locale/fr-FR.js +1 -1
  73. package/lib/umd/locale/id-ID.js +1 -1
  74. package/lib/umd/locale/it-IT.js +1 -1
  75. package/lib/umd/locale/ja-JP.js +1 -1
  76. package/lib/umd/locale/ko-KR.js +1 -1
  77. package/lib/umd/locale/pl-PL.js +1 -1
  78. package/lib/umd/locale/pt-BR.js +1 -1
  79. package/lib/umd/locale/ru-RU.js +1 -1
  80. package/lib/umd/locale/sk-SK.js +1 -1
  81. package/lib/umd/locale/vi-VN.js +1 -1
  82. package/lib/umd/locale/zh-CN.js +1 -1
  83. package/lib/umd/locale/zh-HK.js +1 -1
  84. package/lib/umd/locale/zh-TW.js +1 -1
  85. package/package.json +6 -6
package/lib/es/index.js CHANGED
@@ -1 +1 @@
1
- const _0x1141d6=_0x33c5;(function(_0x1cf5f8,_0x153d53){const _0x5cf6f5=_0x33c5,_0x135e8d=_0x1cf5f8();while(!![]){try{const _0x350648=parseInt(_0x5cf6f5(0x1ab))/0x1+parseInt(_0x5cf6f5(0x214))/0x2*(-parseInt(_0x5cf6f5(0x261))/0x3)+parseInt(_0x5cf6f5(0x154))/0x4*(parseInt(_0x5cf6f5(0x20e))/0x5)+-parseInt(_0x5cf6f5(0x329))/0x6*(-parseInt(_0x5cf6f5(0x404))/0x7)+-parseInt(_0x5cf6f5(0x2cc))/0x8*(parseInt(_0x5cf6f5(0x366))/0x9)+parseInt(_0x5cf6f5(0x171))/0xa+parseInt(_0x5cf6f5(0x2a3))/0xb*(-parseInt(_0x5cf6f5(0x226))/0xc);if(_0x350648===_0x153d53)break;else _0x135e8d['push'](_0x135e8d['shift']());}catch(_0x5bde82){_0x135e8d['push'](_0x135e8d['shift']());}}}(_0x4176,0x6b850));import{BaseDataModel as _0x23c2ec,BaseFieldType as _0x1b662f,BaseFilterConjunction as _0x2849da,BaseSortDirection as _0xec9d2c,BaseViewType as _0x479acb,CellValueType as _0x3b1a88,CommandType as _0x29e4da,DependentOn as _0x38049c,Disposable as _0x2d3cca,ICommandService as _0x4c4564,IConfigService as _0xddd949,IUndoRedoService as _0x1cfa3b,IUniverInstanceService as _0x583b46,Inject as _0x4d53a3,Injector as _0x5585a7,JSON1 as _0x35e04c,ObjectMatrix as _0x5e4217,Optional as _0x251b6,Plugin as _0x561c06,Tools as _0x243e4c,UniverInstanceType as _0x42dad9,createIdentifier as _0x5a5c3d,dateKit as _0x326e17,generateRandomId as _0x3f0aa2,merge as _0x1b55b2,numfmt as _0x5c2a83,regexp as _0x4ae02f,sequenceExecute as _0x455154,toDisposable as _0x43f94b,touchDependencies as _0x1694df}from'@univerjs/core';import{FormulaCalculationTriggerService as _0x2dbe4f,IActiveDirtyManagerService as _0x5f189f,RemoveSuperTableMutation as _0x7c440c,SetFormulaCalculationResultMutation as _0xe9701c,SetSuperTableMutation as _0xbc079f,SetTriggerFormulaCalculationStartMutation as _0x30b721,UniverProFormulaEnginePlugin as _0xc981e4,refactorFormulaUnitQualifier as _0x1f4af2}from'@univerjs-pro/engine-formula';import{UniverLicensePlugin as _0x1fb316}from'@univerjs-pro/license';import{DataSyncPrimaryController as _0x3bad53}from'@univerjs/rpc';let he=0x0;function ge(){const _0x125bd8=_0x33c5;if(globalThis[_0x125bd8(0x330)]===!0x0)return!0x0;try{let _0x193a87=typeof location>'u'?'':location[_0x125bd8(0x152)],_0x37f2e1=new URLSearchParams(_0x193a87);if(_0x37f2e1[_0x125bd8(0x13c)](_0x125bd8(0x266))==='1'||_0x37f2e1[_0x125bd8(0x13c)](_0x125bd8(0x266))===_0x125bd8(0x355)||_0x37f2e1[_0x125bd8(0x13c)]('base-perf')==='1')return!0x0;}catch{}try{let _0x333b66=typeof localStorage>'u'?null:localStorage[_0x125bd8(0x22f)](_0x125bd8(0x2da));return _0x333b66==='1'||_0x333b66===_0x125bd8(0x355);}catch{return!0x1;}}function T(_0x2aca0c,_0x40b19d,_0x52ae02){const _0x1744cc=_0x33c5;if(!ge())return _0x40b19d();let _0x5001c4=ve(),_0x425082=_0x1744cc(0x1f1)+he++;ye(_0x425082+_0x1744cc(0x180));try{return _0x40b19d();}finally{let _0x1acf71=ve()-_0x5001c4;ye(_0x425082+_0x1744cc(0x23d)),be(_0x2aca0c,_0x425082+':start',_0x425082+_0x1744cc(0x23d)),_e(_0x2aca0c,_0x1acf71,_0x52ae02);}}function _e(_0x321542,_0x2cc048,_0xd29bcc){const _0x66c583=_0x33c5;if(!ge())return;let _0x1123a3=Math[_0x66c583(0x28f)](_0x2cc048*0x64)/0x64,_0x218722=_0xd29bcc&&Object['keys'](_0xd29bcc)[_0x66c583(0x3e1)]?'\x20'+JSON[_0x66c583(0x39c)](_0xd29bcc):'';console['info'](_0x66c583(0x401)+_0x321542+':\x20'+_0x1123a3+'ms'+_0x218722);}function ve(){const _0xf21c46=_0x33c5;return typeof performance<'u'&&typeof performance[_0xf21c46(0x284)]=='function'?performance[_0xf21c46(0x284)]():Date['now']();}function ye(_0x569714){const _0xa8b393=_0x33c5;try{if(typeof performance<'u'){var _0x37de3d,_0x3c8591;(_0x37de3d=(_0x3c8591=performance)[_0xa8b393(0x395)])==null||_0x37de3d[_0xa8b393(0x231)](_0x3c8591,_0x569714);}}catch{}}function be(_0x4856da,_0x984f39,_0x1d9783){const _0x3d9f56=_0x33c5;try{if(typeof performance<'u'){var _0x43b7ec,_0x5921a0;(_0x43b7ec=(_0x5921a0=performance)[_0x3d9f56(0x3f2)])==null||_0x43b7ec['call'](_0x5921a0,_0x3d9f56(0x401)+_0x4856da,_0x984f39,_0x1d9783);}}catch{}}function E(_0x199d66){const _0x410e77=_0x33c5;var _0x4010dc,_0x59c281;return ge()?T(_0x410e77(0x3d9),()=>xe(_0x199d66),{'tableId':_0x199d66['id'],'records':Object[_0x410e77(0x1ef)]((_0x4010dc=_0x199d66[_0x410e77(0x162)])==null?{}:_0x4010dc)[_0x410e77(0x3e1)],'fields':_0x199d66[_0x410e77(0x2ad)][_0x410e77(0x3e1)],'hasRecordOrder':!!((_0x59c281=_0x199d66[_0x410e77(0x19d)])!=null&&_0x59c281[_0x410e77(0x3e1)])}):xe(_0x199d66);}function xe(_0x4dd6ff){const _0x26ff1b=_0x33c5;var _0x2ca32b,_0x1e7440,_0x2779df,_0x3c381b,_0x20b6b9,_0x2690cd,_0x52a78c,_0x5114c0,_0x2ce05f,_0x222e42;let _0x21b2fc=(_0x2ca32b=_0x4dd6ff[_0x26ff1b(0x162)])==null?{}:_0x2ca32b,_0x5014a0=(_0x1e7440=_0x4dd6ff[_0x26ff1b(0x2e2)])==null?{}:_0x1e7440,_0xa1cbb6=(_0x2779df=(_0x3c381b=_0x4dd6ff[_0x26ff1b(0x19d)])==null?void 0x0:_0x3c381b['filter'](_0x3049bc=>_0x21b2fc[_0x3049bc]))==null?[]:_0x2779df,_0x549524=new Set(_0xa1cbb6),_0x5901ec=[];for(let _0xda3b1 of Object['values'](_0x21b2fc))_0x549524[_0x26ff1b(0x325)](_0xda3b1['id'])||_0x5901ec[_0x26ff1b(0x1a6)](_0xda3b1);let _0x32fa29=_0x5901ec['length']?[..._0xa1cbb6,...Be(_0x5901ec)]:_0xa1cbb6,_0x5a0d28=_0x4dd6ff[_0x26ff1b(0x2ad)][_0x26ff1b(0x385)](_0x2e38f1=>_0x5014a0[_0x2e38f1]),_0x5d1c85={...(_0x20b6b9=_0x4dd6ff[_0x26ff1b(0x378)])==null?{}:_0x20b6b9},_0x42d04e={...(_0x2690cd=_0x4dd6ff[_0x26ff1b(0x18b)])==null?{}:_0x2690cd},_0x109673={...(_0x52a78c=_0x4dd6ff[_0x26ff1b(0x33c)])==null?{}:_0x52a78c};return _0x4dd6ff['recordOrder']=_0x32fa29,_0x4dd6ff[_0x26ff1b(0x241)]={},_0x4dd6ff[_0x26ff1b(0x378)]={},_0x4dd6ff[_0x26ff1b(0x22b)]={},_0x4dd6ff[_0x26ff1b(0x18b)]={},_0x4dd6ff[_0x26ff1b(0x33c)]={},_0x4dd6ff[_0x26ff1b(0x389)]={...(_0x5114c0=_0x4dd6ff[_0x26ff1b(0x389)])==null?{}:_0x5114c0},_0x4dd6ff[_0x26ff1b(0x389)][_0x26ff1b(0x36c)]={...(_0x2ce05f=_0x4dd6ff[_0x26ff1b(0x389)][_0x26ff1b(0x36c)])==null?{}:_0x2ce05f},_0x4dd6ff[_0x26ff1b(0x389)][_0x26ff1b(0x33b)]={...(_0x222e42=_0x4dd6ff[_0x26ff1b(0x389)][_0x26ff1b(0x33b)])==null?{}:_0x222e42},_0x32fa29[_0x26ff1b(0x2e8)]((_0x4f4343,_0x37a10e)=>{const _0x244a25=_0x26ff1b;_0x4dd6ff[_0x244a25(0x241)][_0x4f4343]=_0x37a10e,_0x4dd6ff['rowId'][_0x37a10e]=_0x4f4343;}),_0x5a0d28['forEach']((_0x5e402b,_0x4f23fc)=>{const _0x4ae60a=_0x26ff1b;_0x4dd6ff[_0x4ae60a(0x22b)][_0x5e402b]=_0x4f23fc,_0x4dd6ff[_0x4ae60a(0x18b)][_0x4f23fc]=_0x5e402b;}),Object[_0x26ff1b(0x34d)](_0x109673)['forEach'](([_0x4c5c0b,_0x3285d4])=>{const _0x3ef16a=_0x26ff1b;var _0x43e6d,_0x447bed;let _0xc40253=Number(_0x4c5c0b),_0x1ffe64=(_0x43e6d=_0x5d1c85[_0xc40253])==null?_0x32fa29[_0xc40253]:_0x43e6d,_0x4909c8=_0x1ffe64?_0x4dd6ff[_0x3ef16a(0x241)][_0x1ffe64]:void 0x0;_0x4909c8!=null&&(_0x4dd6ff[_0x3ef16a(0x33c)][_0x4909c8]={...(_0x447bed=_0x4dd6ff[_0x3ef16a(0x33c)][_0x4909c8])==null?{}:_0x447bed},Object[_0x3ef16a(0x34d)](_0x3285d4==null?{}:_0x3285d4)[_0x3ef16a(0x2e8)](([_0x233d1b,_0x4088ee])=>{const _0x558868=_0x3ef16a;var _0x37ede7;let _0x17d26a=Number(_0x233d1b),_0x7e448c=(_0x37ede7=_0x42d04e[_0x17d26a])==null?_0x5a0d28[_0x17d26a]:_0x37ede7,_0x53019f=_0x7e448c?_0x4dd6ff[_0x558868(0x22b)][_0x7e448c]:void 0x0;_0x53019f!=null&&(_0x4dd6ff[_0x558868(0x33c)][_0x4909c8][_0x53019f]=Oe(_0x4088ee));}));}),Object['values'](_0x21b2fc)['forEach'](_0x3d107c=>{const _0x36aadc=_0x26ff1b;var _0x271396,_0x392508;let _0x5c02ca=_0x4dd6ff[_0x36aadc(0x241)][_0x3d107c['id']];_0x5c02ca!=null&&(_0x4dd6ff['cellData'][_0x5c02ca]={...(_0x271396=_0x4dd6ff['cellData'][_0x5c02ca])==null?{}:_0x271396},Object[_0x36aadc(0x34d)]((_0x392508=_0x3d107c['values'])==null?{}:_0x392508)[_0x36aadc(0x2e8)](([_0xf6aeb5,_0x310e9b])=>{const _0x3bb8dd=_0x36aadc;let _0x4ca46f=_0x5014a0[_0xf6aeb5];(_0x4ca46f==null?void 0x0:_0x4ca46f[_0x3bb8dd(0x157)])===_0x1b662f[_0x3bb8dd(0x252)]&&Ne(_0x4dd6ff,_0x3d107c['id'],_0xf6aeb5,_0x310e9b);let _0x1fdeb6=_0x4dd6ff[_0x3bb8dd(0x22b)][_0xf6aeb5];if(_0x1fdeb6==null)return;let _0x2034ec=_0x4dd6ff[_0x3bb8dd(0x33c)][_0x5c02ca][_0x1fdeb6];if(_0x2034ec!=null){Ie(_0x2034ec,_0x4ca46f,_0x310e9b)&&(_0x4dd6ff[_0x3bb8dd(0x33c)][_0x5c02ca][_0x1fdeb6]=D(_0x310e9b,_0x4ca46f));return;}_0x4dd6ff[_0x3bb8dd(0x33c)][_0x5c02ca][_0x1fdeb6]=D(_0x310e9b,_0x4ca46f);}));}),_0x4dd6ff;}function Se(_0x20ef8c){const _0x400a26=_0x33c5;var _0x5aa899;return E(_0x20ef8c),Object[_0x400a26(0x34d)]((_0x5aa899=_0x20ef8c[_0x400a26(0x378)])==null?{}:_0x5aa899)['forEach'](([_0x1a7f1a,_0x40ecbb])=>{const _0x1d7703=_0x400a26;var _0x30bac2,_0x3b64c2,_0x1ec4e8;let _0x48af42=Number(_0x1a7f1a),_0x3026ba=_0x20ef8c[_0x1d7703(0x162)][_0x40ecbb];_0x3026ba&&(_0x3026ba['values']={...(_0x30bac2=_0x3026ba['values'])==null?{}:_0x30bac2},Object[_0x1d7703(0x34d)]((_0x3b64c2=(_0x1ec4e8=_0x20ef8c[_0x1d7703(0x33c)])==null?void 0x0:_0x1ec4e8[_0x48af42])==null?{}:_0x3b64c2)[_0x1d7703(0x2e8)](([_0x34a00b,_0x122a82])=>{const _0x2efc69=_0x1d7703;var _0x5a968c;let _0xbcf827=(_0x5a968c=_0x20ef8c['colId'])==null?void 0x0:_0x5a968c[Number(_0x34a00b)];_0xbcf827&&(_0x3026ba[_0x2efc69(0x3aa)][_0xbcf827]=ke(_0x122a82,_0x20ef8c['fields'][_0xbcf827],_0x20ef8c,_0x40ecbb));}));}),_0x20ef8c;}function Ce(_0x2e0d3e,_0x4cc47f){const _0x28144b=_0x33c5;for(let {row:_0x25c4af,col:_0x666e65}of _0x4cc47f){var _0x57f19b,_0x488f1c,_0x3a71a8,_0x42422e;let _0x3e15e3=(_0x57f19b=_0x2e0d3e[_0x28144b(0x378)])==null?void 0x0:_0x57f19b[_0x25c4af],_0x3ba852=(_0x488f1c=_0x2e0d3e[_0x28144b(0x18b)])==null?void 0x0:_0x488f1c[_0x666e65],_0x108f4c=_0x3e15e3?_0x2e0d3e[_0x28144b(0x162)][_0x3e15e3]:void 0x0;!_0x108f4c||!_0x3ba852||(_0x108f4c[_0x28144b(0x3aa)]={...(_0x3a71a8=_0x108f4c[_0x28144b(0x3aa)])==null?{}:_0x3a71a8},_0x108f4c[_0x28144b(0x3aa)][_0x3ba852]=ke((_0x42422e=_0x2e0d3e[_0x28144b(0x33c)])==null||(_0x42422e=_0x42422e[_0x25c4af])==null?void 0x0:_0x42422e[_0x666e65],_0x2e0d3e[_0x28144b(0x2e2)][_0x3ba852],_0x2e0d3e,_0x3e15e3));}return _0x2e0d3e;}function we(_0x96da16,_0x5bdc8e,_0x9d875e){const _0x2d844e=_0x33c5;var _0x1e5990,_0x1c9534,_0x3f1b7f,_0x1b1b02,_0x556ff6,_0x5bc049;let _0x3976f1=(_0x1e5990=_0x96da16[_0x2d844e(0x241)])==null?void 0x0:_0x1e5990[_0x5bdc8e],_0x13fcd5=(_0x1c9534=_0x96da16[_0x2d844e(0x22b)])==null?void 0x0:_0x1c9534[_0x9d875e];if(_0x3976f1!=null&&_0x13fcd5!=null&&((_0x3f1b7f=_0x96da16['rowId'])==null?void 0x0:_0x3f1b7f[_0x3976f1])===_0x5bdc8e&&((_0x1b1b02=_0x96da16[_0x2d844e(0x18b)])==null?void 0x0:_0x1b1b02[_0x13fcd5])===_0x9d875e)return{'row':_0x3976f1,'col':_0x13fcd5};let _0x81bfde=E(_0x96da16),_0x64c334=(_0x556ff6=_0x81bfde['rowIndex'])==null?void 0x0:_0x556ff6[_0x5bdc8e],_0x3871b1=(_0x5bc049=_0x81bfde[_0x2d844e(0x22b)])==null?void 0x0:_0x5bc049[_0x9d875e];return _0x64c334==null||_0x3871b1==null?null:{'row':_0x64c334,'col':_0x3871b1};}function Te(_0x46dfe1,_0x5e6504,_0xb2db84){const _0x252ec3=_0x33c5;var _0x761d21;let _0x290736=we(_0x46dfe1,_0x5e6504,_0xb2db84);if(_0x290736)return(_0x761d21=_0x46dfe1[_0x252ec3(0x33c)])==null||(_0x761d21=_0x761d21[_0x290736[_0x252ec3(0x198)]])==null?void 0x0:_0x761d21[_0x290736[_0x252ec3(0x2e5)]];}function Ee(_0x11a53e,_0x3f544b,_0x5eb9e8){const _0x2a019c=_0x33c5;var _0x23a6e3,_0x4e2de2;let _0x525e53=Te(_0x11a53e,_0x3f544b,_0x5eb9e8),_0x18792e=_0x11a53e[_0x2a019c(0x2e2)][_0x5eb9e8];if((_0x18792e==null?void 0x0:_0x18792e['type'])===_0x1b662f[_0x2a019c(0x252)]){var _0x33a8cc,_0x5c5c00;return(_0x33a8cc=Pe(_0x11a53e,_0x3f544b,_0x5eb9e8))==null?O((_0x5c5c00=_0x11a53e[_0x2a019c(0x162)][_0x3f544b])==null||(_0x5c5c00=_0x5c5c00[_0x2a019c(0x3aa)])==null?void 0x0:_0x5c5c00[_0x5eb9e8]):_0x33a8cc;}if(k(_0x18792e)||(_0x18792e==null?void 0x0:_0x18792e[_0x2a019c(0x157)])===_0x1b662f[_0x2a019c(0x33a)]){var _0x3bf152;let _0x1c8152=(_0x3bf152=_0x11a53e['records'][_0x3f544b])==null||(_0x3bf152=_0x3bf152[_0x2a019c(0x3aa)])==null?void 0x0:_0x3bf152[_0x5eb9e8];return _0x1c8152!=null&&_0x1c8152!==''?Fe(_0x1c8152,_0x18792e):ke(_0x525e53,_0x18792e,_0x11a53e,_0x3f544b);}if(_0x525e53&&Object['prototype'][_0x2a019c(0x15d)][_0x2a019c(0x231)](_0x525e53,'v')){var _0x58bf4a;return(_0x58bf4a=_0x525e53['v'])==null?null:_0x58bf4a;}return(_0x23a6e3=(_0x4e2de2=_0x11a53e[_0x2a019c(0x162)][_0x3f544b])==null||(_0x4e2de2=_0x4e2de2[_0x2a019c(0x3aa)])==null?void 0x0:_0x4e2de2[_0x5eb9e8])==null?null:_0x23a6e3;}function De(_0x33ad10,_0x7948b1,_0x3aea55){const _0x1927ac=_0x33c5;var _0x4737e4,_0x23249d,_0x20567d;let _0x267a42=Te(_0x33ad10,_0x7948b1,_0x3aea55);if(_0x267a42&&Object['prototype'][_0x1927ac(0x15d)]['call'](_0x267a42,'v')){var _0x17c0b3;return(_0x17c0b3=_0x267a42['v'])==null?null:_0x17c0b3;}let _0x2da6d1=_0x33ad10[_0x1927ac(0x2e2)][_0x3aea55];return(_0x4737e4=D((_0x23249d=(_0x20567d=_0x33ad10[_0x1927ac(0x162)][_0x7948b1])==null||(_0x20567d=_0x20567d['values'])==null?void 0x0:_0x20567d[_0x3aea55])==null?null:_0x23249d,_0x2da6d1)['v'])==null?null:_0x4737e4;}function D(_0x383416,_0x552cfb){const _0x2a3a38=_0x33c5;if(je(_0x383416))return(_0x552cfb==null?void 0x0:_0x552cfb['type'])===_0x1b662f[_0x2a3a38(0x252)]?{..._0x383416,'v':'','t':_0x3b1a88[_0x2a3a38(0x219)]}:Oe(_0x383416);if((_0x552cfb==null?void 0x0:_0x552cfb[_0x2a3a38(0x157)])===_0x1b662f[_0x2a3a38(0x252)])return{'v':'','t':_0x3b1a88['STRING']};if(k(_0x552cfb))return{'v':Le(_0x383416)[_0x2a3a38(0x1af)](',\x20'),'t':_0x3b1a88[_0x2a3a38(0x219)]};if((_0x552cfb==null?void 0x0:_0x552cfb[_0x2a3a38(0x157)])===_0x1b662f['Link']&&_0x383416&&typeof _0x383416=='object'&&!Array['isArray'](_0x383416)){var _0x411b13,_0x32129c;let _0x500368=_0x383416;return{'v':String((_0x411b13=(_0x32129c=_0x500368['text'])==null?_0x500368[_0x2a3a38(0x3fe)]:_0x32129c)==null?'':_0x411b13),'t':_0x3b1a88[_0x2a3a38(0x219)]};}return _0x383416===null||typeof _0x383416=='string'||typeof _0x383416==_0x2a3a38(0x2fa)||typeof _0x383416==_0x2a3a38(0x3f1)?{'v':_0x383416,'t':ze(_0x383416)}:{'v':null,'t':null};}function Oe(_0x2205b3){let _0x1c7e03=Ve(_0x2205b3['t'],_0x2205b3['v']);if(_0x1c7e03===void 0x0){let {t:_0x5719c1,..._0x2abac8}=_0x2205b3;return _0x2abac8;}return{..._0x2205b3,'t':_0x1c7e03};}function ke(_0x23e331,_0x24e2e0,_0x4e07a5,_0x35919e){const _0x3090c6=_0x33c5;if(!_0x23e331)return null;if((_0x24e2e0==null?void 0x0:_0x24e2e0[_0x3090c6(0x157)])===_0x1b662f[_0x3090c6(0x252)]){var _0x5bbc28;return _0x4e07a5&&_0x35919e?(_0x5bbc28=Pe(_0x4e07a5,_0x35919e,_0x24e2e0['id']))==null?[]:_0x5bbc28:[];}if(k(_0x24e2e0))return Le(_0x23e331['v']);if((_0x24e2e0==null?void 0x0:_0x24e2e0[_0x3090c6(0x157)])===_0x1b662f[_0x3090c6(0x33a)]&&_0x4e07a5&&_0x35919e){var _0x33b188;let _0x3a2eff=(_0x33b188=_0x4e07a5['records'][_0x35919e])==null||(_0x33b188=_0x33b188['values'])==null?void 0x0:_0x33b188[_0x24e2e0['id']];if(_0x3a2eff&&typeof _0x3a2eff==_0x3090c6(0x371)&&!Array[_0x3090c6(0x28a)](_0x3a2eff))return _0x3a2eff;}if(Object[_0x3090c6(0x356)][_0x3090c6(0x15d)][_0x3090c6(0x231)](_0x23e331,'v')){var _0x478de3;return(_0x478de3=_0x23e331['v'])==null?null:_0x478de3;}return null;}function Ae(_0x2ed733,_0x4159ef,_0x47961a,_0x28a921,_0x96cd11){const _0x5ad1a9=_0x33c5;return(_0x47961a==null?void 0x0:_0x47961a['type'])===_0x1b662f['Attachment']?O(_0x2ed733):k(_0x47961a)?Le(_0x2ed733):(_0x47961a==null?void 0x0:_0x47961a[_0x5ad1a9(0x157)])===_0x1b662f[_0x5ad1a9(0x33a)]&&_0x2ed733&&typeof _0x2ed733==_0x5ad1a9(0x371)&&!Array[_0x5ad1a9(0x28a)](_0x2ed733)&&!je(_0x2ed733)?_0x2ed733:ke(_0x4159ef,_0x47961a,_0x28a921,_0x96cd11);}function je(_0x5e4dab){const _0x475ba1=_0x33c5;return!!_0x5e4dab&&typeof _0x5e4dab==_0x475ba1(0x371)&&(Object['prototype'][_0x475ba1(0x15d)][_0x475ba1(0x231)](_0x5e4dab,'v')||Object['prototype']['hasOwnProperty']['call'](_0x5e4dab,'t')||Object['prototype'][_0x475ba1(0x15d)][_0x475ba1(0x231)](_0x5e4dab,'p')||Object['prototype'][_0x475ba1(0x15d)][_0x475ba1(0x231)](_0x5e4dab,'f')||Object[_0x475ba1(0x356)][_0x475ba1(0x15d)][_0x475ba1(0x231)](_0x5e4dab,'si'));}function Me(_0x4907cf,_0x25de6c){return _0x4907cf+'\x1f'+_0x25de6c;}function Ne(_0x91f6c0,_0x12b57b,_0x2edff9,_0x39a4dc){const _0x3f0290=_0x33c5;var _0x20cdf8,_0x5c24d,_0x262065;let _0x3f0013=O(_0x39a4dc);_0x91f6c0[_0x3f0290(0x389)]={...(_0x20cdf8=_0x91f6c0[_0x3f0290(0x389)])==null?{}:_0x20cdf8},_0x91f6c0[_0x3f0290(0x389)][_0x3f0290(0x36c)]={...(_0x5c24d=_0x91f6c0[_0x3f0290(0x389)][_0x3f0290(0x36c)])==null?{}:_0x5c24d},_0x91f6c0[_0x3f0290(0x389)][_0x3f0290(0x33b)]={...(_0x262065=_0x91f6c0[_0x3f0290(0x389)][_0x3f0290(0x33b)])==null?{}:_0x262065};let _0x2e8c2d=Me(_0x2edff9,_0x12b57b),_0xe53b23=[];for(let _0x1d4334=0x0;_0x1d4334<_0x3f0013[_0x3f0290(0x3e1)];_0x1d4334++){var _0xab9b01;if(!(_0x1d4334 in _0x3f0013))continue;let _0x56f9c4=_0x3f0013[_0x1d4334],_0x3e6b22=String((_0xab9b01=_0x56f9c4['id'])==null?_0x2e8c2d+'\x1f'+_0x1d4334:_0xab9b01),_0x4f8c20={..._0x56f9c4,'id':_0x3e6b22};_0x91f6c0[_0x3f0290(0x389)][_0x3f0290(0x33b)][_0x3e6b22]=_0x4f8c20,_0xe53b23[_0x3f0290(0x1a6)](_0x3e6b22);}_0x91f6c0[_0x3f0290(0x389)][_0x3f0290(0x36c)][_0x2e8c2d]=_0xe53b23;}function Pe(_0x56cb7f,_0x5e8d70,_0x21faf9){const _0x52a437=_0x33c5;var _0x18f585;let _0x2d0803=Me(_0x21faf9,_0x5e8d70),_0x173f82=(_0x18f585=_0x56cb7f[_0x52a437(0x389)])==null||(_0x18f585=_0x18f585[_0x52a437(0x36c)])==null?void 0x0:_0x18f585[_0x2d0803];if(!_0x173f82)return null;let _0x45a285=[];for(let _0x438334=0x0;_0x438334<_0x173f82['length'];_0x438334++){var _0x4e6f6d;if(!(_0x438334 in _0x173f82))continue;let _0x42d49f=(_0x4e6f6d=_0x56cb7f[_0x52a437(0x389)])==null||(_0x4e6f6d=_0x4e6f6d[_0x52a437(0x33b)])==null?void 0x0:_0x4e6f6d[_0x173f82[_0x438334]];_0x42d49f&&_0x45a285[_0x52a437(0x1a6)]({..._0x42d49f});}return _0x45a285;}function O(_0xce61b5){const _0x29191e=_0x33c5;if(_0xce61b5==null||_0xce61b5===''||je(_0xce61b5)&&!('id'in _0xce61b5)&&!(_0x29191e(0x3a2)in _0xce61b5))return[];let _0x42157d=Array[_0x29191e(0x28a)](_0xce61b5)?_0xce61b5:[_0xce61b5],_0x4f26e4=[];for(let _0x2ee75e=0x0;_0x2ee75e<_0x42157d[_0x29191e(0x3e1)];_0x2ee75e++){if(!(_0x2ee75e in _0x42157d))continue;let _0x3f4808=_0x42157d[_0x2ee75e],_0x1079f5=_0x3f4808&&typeof _0x3f4808=='object'?{..._0x3f4808}:{'id':'attachment-'+_0x2ee75e,'name':String(_0x3f4808)};Object[_0x29191e(0x1ef)](_0x1079f5)[_0x29191e(0x3e1)]>0x0&&_0x4f26e4[_0x29191e(0x1a6)](_0x1079f5);}return _0x4f26e4;}function Fe(_0x1e4bb3,_0x33cf44){const _0x43ac6b=_0x33c5;return(_0x33cf44==null?void 0x0:_0x33cf44[_0x43ac6b(0x157)])===_0x1b662f[_0x43ac6b(0x252)]?O(_0x1e4bb3):k(_0x33cf44)?Le(_0x1e4bb3):_0x1e4bb3;}function Ie(_0x425056,_0x439188,_0x3f72df){const _0x5d7a2d=_0x33c5;return(_0x439188==null?void 0x0:_0x439188[_0x5d7a2d(0x157)])===_0x1b662f[_0x5d7a2d(0x252)]?_0x425056['v']!=='':k(_0x439188)?Array[_0x5d7a2d(0x28a)](_0x3f72df)&&(_0x425056['v']==null||_0x425056['v']===''):!0x1;}function k(_0x48ad93){const _0x444fc2=_0x33c5;return(_0x48ad93==null?void 0x0:_0x48ad93['type'])===_0x1b662f[_0x444fc2(0x39e)]||(_0x48ad93==null?void 0x0:_0x48ad93[_0x444fc2(0x157)])===_0x1b662f[_0x444fc2(0x22d)]||(_0x48ad93==null?void 0x0:_0x48ad93[_0x444fc2(0x157)])===_0x1b662f[_0x444fc2(0x1d2)];}function Le(_0x5cf8ee){const _0x56c56c=_0x33c5;if(_0x5cf8ee==null||_0x5cf8ee==='')return[];let _0x530f28=[];if(Array[_0x56c56c(0x28a)](_0x5cf8ee)){for(let _0xb7efd0=0x0;_0xb7efd0<_0x5cf8ee[_0x56c56c(0x3e1)];_0xb7efd0++){if(!(_0xb7efd0 in _0x5cf8ee))continue;let _0x37534a=Re(_0x5cf8ee[_0xb7efd0]);_0x37534a&&_0x530f28[_0x56c56c(0x1a6)](_0x37534a);}return _0x530f28;}for(let _0x5435f4 of String(_0x5cf8ee)[_0x56c56c(0x324)](',')){let _0x1cdcc4=_0x5435f4[_0x56c56c(0x369)]();_0x1cdcc4&&_0x530f28[_0x56c56c(0x1a6)](_0x1cdcc4);}return _0x530f28;}function Re(_0x1dd2a6){const _0x218ca1=_0x33c5;if(_0x1dd2a6==null)return'';if(typeof _0x1dd2a6==_0x218ca1(0x222)||typeof _0x1dd2a6==_0x218ca1(0x2fa)||typeof _0x1dd2a6==_0x218ca1(0x3f1))return String(_0x1dd2a6);if(typeof _0x1dd2a6==_0x218ca1(0x371)){var _0x4753ce,_0x17179f,_0x50181a;let _0x3c67e0=_0x1dd2a6;return String((_0x4753ce=(_0x17179f=(_0x50181a=_0x3c67e0['id'])==null?_0x3c67e0[_0x218ca1(0x3a2)]:_0x50181a)==null?_0x3c67e0[_0x218ca1(0x387)]:_0x17179f)==null?'':_0x4753ce);}return String(_0x1dd2a6);}function ze(_0x11fdea){const _0xc39dab=_0x33c5;return _0x11fdea==null?null:typeof _0x11fdea=='number'?_0x3b1a88['NUMBER']:typeof _0x11fdea==_0xc39dab(0x3f1)?_0x3b1a88[_0xc39dab(0x341)]:_0x3b1a88['STRING'];}function Be(_0x1e54bd){const _0x14b357=_0x33c5;_0x1e54bd[_0x14b357(0x3b6)]((_0x392d0c,_0x36eaad)=>_0x392d0c[_0x14b357(0x2c0)]['localeCompare'](_0x36eaad[_0x14b357(0x2c0)]));let _0x1f82f8=[];for(let _0x2248e2 of _0x1e54bd)_0x1f82f8[_0x14b357(0x1a6)](_0x2248e2['id']);return _0x1f82f8;}function Ve(_0x37b250,_0x3cba38){const _0x24895a=_0x33c5;return _0x37b250===_0x3b1a88[_0x24895a(0x219)]||_0x37b250===_0x3b1a88[_0x24895a(0x2bb)]||_0x37b250===_0x3b1a88[_0x24895a(0x341)]||_0x37b250===_0x3b1a88[_0x24895a(0x358)]||_0x37b250==null?_0x37b250:ze(_0x3cba38==null?null:_0x3cba38);}var A=class{[_0x1141d6(0x35c)](_0x556de4,_0x236537){const _0x575caa=_0x1141d6;let _0x3d8a28=this[_0x575caa(0x1dd)](_0x236537),_0x528393=T(_0x575caa(0x2f9),()=>Ye(_0x556de4,_0x236537),{'invalidations':_0x3d8a28[_0x575caa(0x3e1)]}),_0x20bc20=T('BaseJson1.json1Apply',()=>_0x35e04c[_0x575caa(0x157)]['apply'](_0x528393,_0x236537),{'invalidations':_0x3d8a28[_0x575caa(0x3e1)]});return He(_0x20bc20,_0x3d8a28)||this[_0x575caa(0x239)](_0x20bc20,_0x3d8a28)[_0x575caa(0x2e8)](_0x120a25=>{Se(_0x120a25);}),_0x20bc20;}[_0x1141d6(0x3c6)](_0x500400,_0x478421){const _0x285e12=_0x1141d6;return _0x35e04c[_0x285e12(0x157)][_0x285e12(0x34b)](_0x478421,_0x500400);}[_0x1141d6(0x1dd)](_0x1e4d93){const _0x5657c0=_0x1141d6;let _0x3302ea=Ke(_0x1e4d93);return _0x3302ea[_0x5657c0(0x3e1)]?qe(_0x3302ea[_0x5657c0(0x1a8)](_0x3e13d5=>this[_0x5657c0(0x1dd)](_0x3e13d5))):Ue(_0x1e4d93);}[_0x1141d6(0x239)](_0x214eb6,_0x4e60e1){const _0xd24dcd=_0x1141d6;if(!_0x4e60e1[_0xd24dcd(0x3e1)])return[];if(_0x4e60e1[_0xd24dcd(0x2a0)](_0x3418de=>!_0x3418de['tableId'])){var _0x29d27b;return Object[_0xd24dcd(0x3aa)]((_0x29d27b=_0x214eb6['tables'])==null?{}:_0x29d27b);}return Array[_0xd24dcd(0x1b2)](new Set(_0x4e60e1[_0xd24dcd(0x220)](_0x1f34f4=>_0x1f34f4['tableId'])))[_0xd24dcd(0x1a8)](_0x10a85b=>{const _0x1affe7=_0xd24dcd;var _0x59c487;let _0x542302=(_0x59c487=_0x214eb6[_0x1affe7(0x407)])==null?void 0x0:_0x59c487[_0x10a85b];return _0x542302?[_0x542302]:[];});}};function He(_0x2e9ca2,_0x3a2420){const _0x4944db=_0x1141d6;if(!_0x3a2420['length']||_0x3a2420[_0x4944db(0x2a0)](_0x1dc28f=>_0x1dc28f['reason']!==_0x4944db(0x400)))return!0x1;let _0x25d64c=new Map();for(let _0x5ca7c1 of _0x3a2420){var _0x345be6;if(!_0x5ca7c1[_0x4944db(0x275)]||_0x5ca7c1['row']==null||_0x5ca7c1['column']==null)continue;let _0x55fb70=(_0x345be6=_0x25d64c[_0x4944db(0x13c)](_0x5ca7c1['tableId']))==null?[]:_0x345be6;_0x55fb70[_0x4944db(0x1a6)]({'row':_0x5ca7c1['row'],'col':_0x5ca7c1[_0x4944db(0x2ea)]}),_0x25d64c[_0x4944db(0x353)](_0x5ca7c1['tableId'],_0x55fb70);}return _0x25d64c[_0x4944db(0x2e8)]((_0x4cb05b,_0x351c9d)=>{const _0x5af1d0=_0x4944db;var _0xc16e8;let _0x3fd2e8=(_0xc16e8=_0x2e9ca2[_0x5af1d0(0x407)])==null?void 0x0:_0xc16e8[_0x351c9d];_0x3fd2e8&&Ce(_0x3fd2e8,_0x4cb05b);}),!0x0;}function Ue(_0x45bdf8){const _0x26ff44=_0x1141d6;if(!Array['isArray'](_0x45bdf8)||_0x45bdf8[_0x26ff44(0x3e1)]<0x2)return[{'tableId':'','reason':_0x26ff44(0x207)}];let _0x30eee2=_0x45bdf8,_0x5704f0=_0x30eee2['indexOf']('tables');return _0x5704f0===-0x1||typeof _0x30eee2[_0x5704f0+0x1]!=_0x26ff44(0x222)?_0x30eee2[0x0]===_0x26ff44(0x218)?[]:[{'tableId':'','reason':'unknown'}]:We(_0x30eee2,_0x5704f0,String(_0x30eee2[_0x5704f0+0x1]));}function We(_0x42a9df,_0x52c613,_0x209d16){const _0x4c44d9=_0x1141d6;let _0x45a676=_0x42a9df[_0x52c613+0x2];return _0x45a676===_0x4c44d9(0x162)&&typeof _0x42a9df[_0x52c613+0x3]==_0x4c44d9(0x222)?Ge(_0x42a9df,_0x52c613,_0x209d16,String(_0x42a9df[_0x52c613+0x3])):_0x45a676===_0x4c44d9(0x33c)&&_0x42a9df[_0x52c613+0x3]!=null&&_0x42a9df[_0x52c613+0x4]!=null?[{'tableId':_0x209d16,'reason':_0x4c44d9(0x400),'row':Number(_0x42a9df[_0x52c613+0x3]),'column':Number(_0x42a9df[_0x52c613+0x4])}]:_0x45a676==='fields'&&typeof _0x42a9df[_0x52c613+0x3]==_0x4c44d9(0x222)?[{'tableId':_0x209d16,'reason':_0x4c44d9(0x293),'fieldId':String(_0x42a9df[_0x52c613+0x3])}]:_0x45a676===_0x4c44d9(0x23e)&&typeof _0x42a9df[_0x52c613+0x3]==_0x4c44d9(0x222)?[{'tableId':_0x209d16,'reason':_0x4c44d9(0x409),'viewId':String(_0x42a9df[_0x52c613+0x3])}]:[{'tableId':_0x209d16,'reason':_0x45a676===void 0x0?_0x4c44d9(0x305):_0x4c44d9(0x207)}];}function Ge(_0x4cf9fc,_0x1baec3,_0x189241,_0x12801d){const _0x52d552=_0x1141d6;return _0x4cf9fc[_0x1baec3+0x4]==='values'&&typeof _0x4cf9fc[_0x1baec3+0x5]==_0x52d552(0x222)?[{'tableId':_0x189241,'reason':_0x52d552(0x400),'recordId':_0x12801d,'fieldId':String(_0x4cf9fc[_0x1baec3+0x5])}]:_0x4cf9fc[_0x1baec3+0x4]==='updatedAt'||_0x4cf9fc[_0x1baec3+0x4]==='updatedBy'?[]:[{'tableId':_0x189241,'reason':_0x52d552(0x1a5),'recordId':_0x12801d}];}function Ke(_0x10ceb0){const _0x10d303=_0x1141d6;if(!Array[_0x10d303(0x28a)](_0x10ceb0))return[];let _0x122758=_0x10ceb0[_0x10d303(0x385)](Array['isArray']);if(_0x122758[_0x10d303(0x3e1)]>0x1&&_0x122758[_0x10d303(0x3e1)]===_0x10ceb0[_0x10d303(0x3e1)])return _0x122758;let _0x3b7ca2=_0x10ceb0[_0x10d303(0x2c7)](Array['isArray']);if(_0x3b7ca2>0x0&&_0x10ceb0[_0x10d303(0x29a)](_0x3b7ca2)[_0x10d303(0x256)](Array[_0x10d303(0x28a)])){let _0x49c496=_0x10ceb0[_0x10d303(0x29a)](0x0,_0x3b7ca2);return _0x10ceb0[_0x10d303(0x29a)](_0x3b7ca2)[_0x10d303(0x220)](_0x4448b2=>[..._0x49c496,..._0x4448b2]);}let _0x4bf4ab=_0x10ceb0[_0x10d303(0x24a)](_0x10d303(0x407));if(_0x4bf4ab===-0x1||typeof _0x10ceb0[_0x4bf4ab+0x1]!='string')return[];let _0x19de32=String(_0x10ceb0[_0x4bf4ab+0x1]),_0x348a9a=_0x10ceb0['slice'](_0x4bf4ab+0x2)[_0x10d303(0x385)](Array[_0x10d303(0x28a)]);return _0x348a9a[_0x10d303(0x3e1)]<=0x1?[]:_0x348a9a[_0x10d303(0x220)](_0x53eed6=>[_0x10d303(0x407),_0x19de32,..._0x53eed6]);}function qe(_0x3ed643){const _0xaf2f5c=_0x1141d6;let _0x5e4ee0=new Set();return _0x3ed643[_0xaf2f5c(0x385)](_0x4e8b2e=>{const _0x4cbd67=_0xaf2f5c;let _0x23adfa=JSON[_0x4cbd67(0x39c)](_0x4e8b2e);return _0x5e4ee0[_0x4cbd67(0x325)](_0x23adfa)?!0x1:(_0x5e4ee0['add'](_0x23adfa),!0x0);});}function Je(_0x1d5cb8){return _0x243e4c['deepClone'](_0x1d5cb8);}function Ye(_0x29ec49,_0x4f703e){const _0x1bf271=_0x1141d6;let _0x518a58=Xe(_0x4f703e);if(!_0x518a58[_0x1bf271(0x3e1)])return Je(_0x29ec49);let _0x4e7e36=tt(_0x29ec49);for(let _0x43451b of _0x518a58)$e(_0x4e7e36,_0x43451b);return _0x4e7e36;}function Xe(_0x2d7cd7){let _0x5b1856=[];return Ze(_0x2d7cd7,[],_0x5b1856),_0x5b1856;}function Ze(_0xcea796,_0x5a373f,_0x4ee332){const _0x4f3763=_0x1141d6;if(!Array[_0x4f3763(0x28a)](_0xcea796))return;let _0x56ae8f=[];for(let _0x72c2f of _0xcea796){if(Array['isArray'](_0x72c2f)){Ze(_0x72c2f,[..._0x5a373f,..._0x56ae8f],_0x4ee332);continue;}if(Qe(_0x72c2f)){_0x4ee332['push']([..._0x5a373f,..._0x56ae8f]);continue;}(typeof _0x72c2f==_0x4f3763(0x222)||typeof _0x72c2f==_0x4f3763(0x2fa))&&_0x56ae8f[_0x4f3763(0x1a6)](_0x72c2f);}}function Qe(_0x235197){const _0x575ee5=_0x1141d6;if(!_0x235197||typeof _0x235197!=_0x575ee5(0x371)||Array['isArray'](_0x235197))return!0x1;let _0x564d9a=_0x235197;return'i'in _0x564d9a||'r'in _0x564d9a||'p'in _0x564d9a||'d'in _0x564d9a||'es'in _0x564d9a||_0x575ee5(0x221)in _0x564d9a||'et'in _0x564d9a;}function $e(_0x5a0043,_0x28115f){const _0x154c2f=_0x1141d6;let _0x5e1d18=_0x5a0043;for(let _0x168859=0x0;_0x168859<_0x28115f[_0x154c2f(0x3e1)]-0x1;_0x168859++){let _0x395845=_0x28115f[_0x168859],_0x33a433=_0x5e1d18==null?void 0x0:_0x5e1d18[_0x395845];if(!et(_0x33a433))return;let _0x50f571=tt(_0x33a433);_0x5e1d18[_0x395845]=_0x50f571,_0x5e1d18=_0x50f571;}}function et(_0x12ed78){const _0x43a1c9=_0x1141d6;return!!_0x12ed78&&typeof _0x12ed78==_0x43a1c9(0x371);}function tt(_0x4255b5){return Array['isArray'](_0x4255b5)?_0x4255b5['slice']():{..._0x4255b5};}const nt=0x5a0*0x3c*0x3e8,rt=0x63e1,it=_0x1141d6(0x31d),at={'yyyy/mm/dd':_0x1141d6(0x1bd),'yyyy/mm/dd\x20hh:mm':_0x1141d6(0x254),'yyyy-mm-dd':'YYYY-MM-DD','mm-dd':_0x1141d6(0x20f),'mm/dd/yyyy':_0x1141d6(0x262),'dd/mm/yyyy':_0x1141d6(0x1d8),'mmm\x20d,\x20yyyy':'MMM\x20D,\x20YYYY'};function j(_0x25fe01){return _0x326e17(_0x25fe01)['valueOf']()/nt+rt;}function ot(_0x5a8876){return(_0x5a8876-rt)*nt;}function M(_0x4b0dc0){const _0x52eb44=_0x1141d6;if(_0x4b0dc0==null||_0x4b0dc0==='')return null;if(_0x4b0dc0 instanceof Date)return j(_0x4b0dc0);if(typeof _0x4b0dc0==_0x52eb44(0x2fa))return Number[_0x52eb44(0x259)](_0x4b0dc0)?_0x4b0dc0>0xf4240?j(_0x4b0dc0):_0x4b0dc0:null;let _0x5dcfc1=Date['parse'](String(_0x4b0dc0));return Number[_0x52eb44(0x36b)](_0x5dcfc1)?null:j(_0x5dcfc1);}function N(_0x17d8cc){let _0x59f402=M(_0x17d8cc);return _0x59f402==null?null:ot(_0x59f402);}function st(_0x33fb28,_0x21aad1={}){const _0x10881e=_0x1141d6;var _0xea830b,_0x24c3c5,_0x170caa;let _0x1d07aa=N(_0x33fb28);if(_0x1d07aa==null||!Number[_0x10881e(0x259)](_0x1d07aa))return'';let _0x155878=String((_0xea830b=(_0x24c3c5=_0x21aad1['pattern'])==null?_0x21aad1[_0x10881e(0x269)]:_0x24c3c5)==null?it:_0xea830b),_0x470fcf=_0x21aad1['includeTime']===!0x0||_0x155878['includes']('hh:mm'),_0x567e8d=String((_0x170caa=_0x21aad1[_0x10881e(0x164)])==null?'h24':_0x170caa);return _0x326e17(_0x1d07aa)[_0x10881e(0x269)](ct(_0x155878,_0x470fcf,_0x567e8d));}function ct(_0x221688,_0x8e88cb,_0x21d750){const _0x3aaafe=_0x1141d6;var _0x50a891;let _0x3cb936=(_0x50a891=at[_0x221688])==null?at[it]:_0x50a891;return!_0x8e88cb||_0x221688[_0x3aaafe(0x370)](_0x3aaafe(0x3c4))?_0x3cb936:_0x3cb936+'\x20'+(_0x21d750===_0x3aaafe(0x334)?_0x3aaafe(0x1cd):_0x3aaafe(0x15b));}const lt={'editable':!0x0,'sortable':!0x0,'filterable':!0x0,'groupable':!0x1,'usableAsKanbanGroup':!0x1,'usableAsCalendarDate':!0x1,'usableAsGanttStart':!0x1,'usableAsGanttEnd':!0x1,'usableAsGanttProgress':!0x1,'usableAsCardCover':!0x1,'usableAsTitle':!0x1},ut=new Set([_0x1b662f[_0x1141d6(0x216)],_0x1b662f[_0x1141d6(0x1df)],_0x1b662f['Flow'],_0x1b662f['Button'],_0x1b662f[_0x1141d6(0x343)],_0x1b662f[_0x1141d6(0x193)],_0x1b662f[_0x1141d6(0x25b)],_0x1b662f['Barcode']]),P=0x5a0*0x3c*0x3e8;function dt(_0x222561,_0x47a5a7){const _0x3980c8=_0x1141d6;return _0x222561==null&&_0x47a5a7==null?0x0:_0x222561==null?-0x1:_0x47a5a7==null?0x1:typeof _0x222561==_0x3980c8(0x2fa)&&typeof _0x47a5a7=='number'?_0x222561-_0x47a5a7:String(_0x222561)['localeCompare'](String(_0x47a5a7));}function ft(_0x7dd65d,_0x1b21b3,_0x45ecaa,_0x31a856,_0x1ba956={}){const _0x329af3=_0x1141d6;if(_0x1b21b3==='isEmpty')return pt(_0x7dd65d);if(_0x1b21b3===_0x329af3(0x2c8))return!pt(_0x7dd65d);switch(_0x31a856[_0x329af3(0x157)]){case _0x1b662f[_0x329af3(0x3a9)]:case _0x1b662f[_0x329af3(0x1b3)]:case _0x1b662f['Progress']:case _0x1b662f[_0x329af3(0x384)]:return mt(_0x7dd65d,_0x1b21b3,_0x45ecaa);case _0x1b662f[_0x329af3(0x29d)]:case _0x1b662f[_0x329af3(0x2db)]:case _0x1b662f['UpdatedAt']:return gt(_0x7dd65d,_0x1b21b3,_0x45ecaa,_0x1ba956);case _0x1b662f[_0x329af3(0x3ed)]:return St(_0x7dd65d,_0x1b21b3,_0x45ecaa);case _0x1b662f[_0x329af3(0x1c8)]:case _0x1b662f['MultiSelect']:case _0x1b662f[_0x329af3(0x22d)]:case _0x1b662f[_0x329af3(0x1d2)]:return wt(_0x7dd65d,_0x1b21b3,_0x45ecaa,_0x31a856);default:return Tt(_0x7dd65d,_0x1b21b3,_0x45ecaa);}}function pt(_0x4df032){const _0x23ee5a=_0x1141d6;return _0x4df032==null?!0x0:Array['isArray'](_0x4df032)?_0x4df032[_0x23ee5a(0x3e1)]===0x0:typeof _0x4df032=='string'?_0x4df032[_0x23ee5a(0x369)]()==='':!0x1;}function mt(_0x1876a9,_0x535960,_0x2602d3){const _0x5091cc=_0x1141d6;let _0x326632=ht(_0x1876a9),_0x33e237=ht(_0x2602d3);if(_0x326632==null||_0x33e237==null)return!0x1;switch(_0x535960){case'is':return _0x326632===_0x33e237;case _0x5091cc(0x2fe):return _0x326632!==_0x33e237;case'greaterThan':return _0x326632>_0x33e237;case _0x5091cc(0x2d0):return _0x326632>=_0x33e237;case _0x5091cc(0x243):return _0x326632<_0x33e237;case _0x5091cc(0x25c):return _0x326632<=_0x33e237;default:return!0x1;}}function ht(_0x27a544){const _0x49f3b0=_0x1141d6;if(_0x27a544==null||_0x27a544==='')return null;let _0x40642f=Number(_0x27a544);return Number[_0x49f3b0(0x259)](_0x40642f)?_0x40642f:null;}function gt(_0x5ab823,_0x4a62ec,_0x1a0869,_0x35f196){const _0x25ff2f=_0x1141d6;var _0xaafc59;let _0xb2fbf1=vt(_0x5ab823);if(_0xb2fbf1==null)return!0x1;let _0x2e4cf4=_t((_0xaafc59=_0x35f196[_0x25ff2f(0x31e)])==null?_0x25ff2f(0x392):_0xaafc59,_0x1a0869,_0x35f196['now']);if(!_0x2e4cf4)return!0x1;switch(_0x4a62ec){case'is':return _0xb2fbf1>=_0x2e4cf4[_0x25ff2f(0x299)]&&_0xb2fbf1<=_0x2e4cf4['end'];case _0x25ff2f(0x2fe):return _0xb2fbf1<_0x2e4cf4[_0x25ff2f(0x299)]||_0xb2fbf1>_0x2e4cf4[_0x25ff2f(0x14a)];case _0x25ff2f(0x3d2):return _0xb2fbf1<_0x2e4cf4[_0x25ff2f(0x299)];case _0x25ff2f(0x3b5):return _0xb2fbf1>_0x2e4cf4['end'];default:return!0x1;}}function _t(_0x204bce,_0x3dcef2,_0x4b0569=Date[_0x1141d6(0x284)]()){const _0x1764a6=_0x1141d6;let _0x399a7e=yt(_0x4b0569);switch(_0x204bce){case _0x1764a6(0x392):{let _0x193719=vt(_0x3dcef2);return _0x193719==null?null:{'start':_0x193719,'end':_0x193719+P-0x1};}case _0x1764a6(0x1dc):return{'start':_0x399a7e,'end':_0x399a7e+P-0x1};case _0x1764a6(0x3c8):return{'start':_0x399a7e+P,'end':_0x399a7e+P*0x2-0x1};case _0x1764a6(0x1e7):return{'start':_0x399a7e-P,'end':_0x399a7e-0x1};case _0x1764a6(0x298):return bt(_0x399a7e,0x0);case _0x1764a6(0x17e):return bt(_0x399a7e,-0x1);case _0x1764a6(0x1e4):return xt(_0x399a7e,0x0);case _0x1764a6(0x2a7):return xt(_0x399a7e,-0x1);case _0x1764a6(0x234):return{'start':_0x399a7e-P*0x6,'end':_0x399a7e+P-0x1};case _0x1764a6(0x291):return{'start':_0x399a7e,'end':_0x399a7e+P*0x7-0x1};case'past30':return{'start':_0x399a7e-P*0x1d,'end':_0x399a7e+P-0x1};case _0x1764a6(0x2e1):return{'start':_0x399a7e,'end':_0x399a7e+P*0x1e-0x1};}}function vt(_0x422223){let _0x9cb31a=M(_0x422223);return _0x9cb31a==null?null:yt(ot(_0x9cb31a));}function yt(_0x55cb1d){const _0x14cc78=_0x1141d6;let _0x2efa59=new Date(_0x55cb1d);return _0x2efa59[_0x14cc78(0x2a1)](0x0,0x0,0x0,0x0),_0x2efa59[_0x14cc78(0x238)]();}function bt(_0x1059de,_0x23c9f3){const _0x3fe425=_0x1141d6;let _0x5b1d88=_0x1059de-(new Date(_0x1059de)[_0x3fe425(0x2be)]()+0x6)%0x7*P+_0x23c9f3*P*0x7;return{'start':_0x5b1d88,'end':_0x5b1d88+P*0x7-0x1};}function xt(_0x5a3f52,_0x1c85fd){const _0x3dcf8c=_0x1141d6;let _0x192e4d=new Date(_0x5a3f52),_0x4788e5=new Date(_0x192e4d[_0x3dcf8c(0x3a8)](),_0x192e4d['getMonth']()+_0x1c85fd,0x1),_0x55c28e=new Date(_0x192e4d[_0x3dcf8c(0x3a8)](),_0x192e4d[_0x3dcf8c(0x2f2)]()+_0x1c85fd+0x1,0x1);return{'start':_0x4788e5[_0x3dcf8c(0x238)](),'end':_0x55c28e[_0x3dcf8c(0x238)]()-0x1};}function St(_0x585430,_0x23b082,_0x38730d){let _0x292f8a=Ct(_0x585430),_0x5f9a77=Ct(_0x38730d);switch(_0x23b082){case'is':return _0x292f8a===_0x5f9a77;case'isNot':return _0x292f8a!==_0x5f9a77;default:return!0x1;}}function Ct(_0x6d58a7){return _0x6d58a7===!0x0||_0x6d58a7==='true'||_0x6d58a7===0x1||_0x6d58a7==='1';}function wt(_0x1ff498,_0x26d478,_0x1a8c41,_0x4e4ab9){const _0xdf57ee=_0x1141d6;let _0x42eae5=Dt(_0x1ff498,_0x4e4ab9),_0x49433b=Dt(_0x1a8c41,_0x4e4ab9),_0x2a38d1=_0x49433b[_0xdf57ee(0x3e1)]>0x0&&_0x49433b[_0xdf57ee(0x2a0)](_0x1abfee=>_0x42eae5[_0xdf57ee(0x370)](_0x1abfee));switch(_0x26d478){case'is':case _0xdf57ee(0x3f3):return _0x2a38d1;case'isNot':case'notContains':return!_0x2a38d1;default:return!0x1;}}function Tt(_0x8fe803,_0x382334,_0x2723ee){const _0x5d2ced=_0x1141d6;let _0x577d41=Et(_0x8fe803),_0x24d972=Et(_0x2723ee);switch(_0x382334){case'is':return _0x577d41===_0x24d972;case'isNot':return _0x577d41!==_0x24d972;case _0x5d2ced(0x3f3):return _0x24d972?_0x577d41[_0x5d2ced(0x370)](_0x24d972):!0x1;case'notContains':return _0x24d972?!_0x577d41['includes'](_0x24d972):!0x0;default:return!0x1;}}function Et(_0x531910){const _0x3865d0=_0x1141d6;if(Array['isArray'](_0x531910))return _0x531910['map'](_0x2f8e2e=>Et(_0x2f8e2e))['join']('\x0a');if(_0x531910&&typeof _0x531910==_0x3865d0(0x371)){var _0x2b11d5,_0x2afeaf,_0x39dd30,_0x39e2bf,_0x1de9a8;let _0x9ab7f9=_0x531910;return String((_0x2b11d5=(_0x2afeaf=(_0x39dd30=(_0x39e2bf=(_0x1de9a8=_0x9ab7f9[_0x3865d0(0x3a2)])==null?_0x9ab7f9[_0x3865d0(0x246)]:_0x1de9a8)==null?_0x9ab7f9[_0x3865d0(0x387)]:_0x39e2bf)==null?_0x9ab7f9[_0x3865d0(0x20d)]:_0x39dd30)==null?_0x9ab7f9['id']:_0x2afeaf)==null?'':_0x2b11d5)['trim']()[_0x3865d0(0x2ae)]();}return String(_0x531910==null?'':_0x531910)['trim']()[_0x3865d0(0x2ae)]();}function Dt(_0x190923,_0x443961){const _0x3c7ab9=_0x1141d6;var _0x5e4bb0;let _0x1209d0=Ot(_0x190923),_0x284f2b=kt((_0x5e4bb0=_0x443961[_0x3c7ab9(0x1f0)])==null?{}:_0x5e4bb0);return _0x1209d0[_0x3c7ab9(0x1a8)](_0x4289e2=>{const _0x160a64=_0x3c7ab9;var _0x55ee4e;return(_0x55ee4e=_0x284f2b[_0x160a64(0x13c)](_0x4289e2))==null?[_0x4289e2]:_0x55ee4e;})[_0x3c7ab9(0x385)]((_0x3c4217,_0x3622ec,_0x4d7d73)=>_0x3c4217!==''&&_0x4d7d73[_0x3c7ab9(0x24a)](_0x3c4217)===_0x3622ec);}function Ot(_0x2a13b8){const _0x49a73e=_0x1141d6;if(_0x2a13b8==null||_0x2a13b8==='')return[];if(Array[_0x49a73e(0x28a)](_0x2a13b8))return _0x2a13b8[_0x49a73e(0x1a8)](_0x30d6ab=>Ot(_0x30d6ab));if(_0x2a13b8&&typeof _0x2a13b8==_0x49a73e(0x371)){let _0x48da4c=_0x2a13b8;return['id','name',_0x49a73e(0x246),'value',_0x49a73e(0x387)][_0x49a73e(0x1a8)](_0x1d619b=>Ot(_0x48da4c[_0x1d619b]))[_0x49a73e(0x385)]((_0x1964e7,_0x23eae6,_0x5ad6ce)=>_0x5ad6ce[_0x49a73e(0x24a)](_0x1964e7)===_0x23eae6);}return[Et(_0x2a13b8)];}function kt(_0x405e2f){const _0x3202d1=_0x1141d6;let _0xb537d5=new Map();return(Array[_0x3202d1(0x28a)](_0x405e2f['options'])?_0x405e2f[_0x3202d1(0x294)]:[])['forEach'](_0x12e1df=>{const _0x3ddc69=_0x3202d1;if(!_0x12e1df||typeof _0x12e1df!='object')return;let _0x3c6ff5=Ot(_0x12e1df),_0x4a4fed=_0x3c6ff5[_0x3ddc69(0x385)]((_0x3378f7,_0x69698b)=>_0x3378f7!==''&&_0x3c6ff5[_0x3ddc69(0x24a)](_0x3378f7)===_0x69698b);_0x4a4fed[_0x3ddc69(0x2e8)](_0x2c9a18=>_0xb537d5[_0x3ddc69(0x353)](_0x2c9a18,_0x4a4fed));}),_0xb537d5;}function F(_0x10aad2,_0x5777ca={},_0x4e686c=_0x3639dc=>_0x3639dc,_0x133832={}){const _0x7a8615=_0x1141d6;var _0x42d56d,_0x1d85dd,_0x327a51,_0x5271f1;let _0x5a3c76=!ut[_0x7a8615(0x325)](_0x10aad2),_0xe432e7=_0x4e686c==null?_0x21ac74=>_0x21ac74:_0x4e686c;return{'type':_0x10aad2,'i18nKey':_0x7a8615(0x16c)+_0x10aad2,'enabled':_0x5a3c76,'visibleInCreateMenu':_0x5a3c76,'createDefaultConfig':(_0x42d56d=_0x133832[_0x7a8615(0x1e9)])==null?()=>({}):_0x42d56d,'createDefaultValue':(_0x1d85dd=_0x133832[_0x7a8615(0x399)])==null?_0x2452dd=>{const _0x9426d=_0x7a8615;var _0x23b052;return(_0x23b052=_0x2452dd[_0x9426d(0x364)])==null?null:_0x23b052;}:_0x1d85dd,'normalize':(_0x385981,_0x3da289)=>_0xe432e7(_0x385981,_0x3da289),'validate':(_0x4830d3,_0x51526f)=>{var _0x166ae3,_0xd3dfcc;return _0x5a3c76?(_0x166ae3=(_0xd3dfcc=_0x133832['validate'])==null?void 0x0:_0xd3dfcc['call'](_0x133832,_0x4830d3,_0x51526f))==null?{'valid':!0x0}:_0x166ae3:{'valid':!0x1};},'compare':(_0xfc2266,_0x2dd72f)=>dt(_0xfc2266,_0x2dd72f),'filter':(_0x49bab4,_0x9855dd,_0x2ea292,_0x68447f)=>ft(_0x49bab4,_0x9855dd,_0x2ea292,_0x68447f),'toPlainText':(_0x327a51=_0x133832[_0x7a8615(0x273)])==null?_0xfc9908=>_0xfc9908==null?'':String(_0xfc9908):_0x327a51,'fromPlainText':(_0x5271f1=_0x133832[_0x7a8615(0x39f)])==null?_0x44b565=>_0xe432e7(_0x44b565,{'id':'','name':'','type':_0x10aad2,'config':{}}):_0x5271f1,'getCapabilities':()=>{const _0x51a615=_0x7a8615;var _0x3f8345;return{...lt,..._0x5777ca,'editable':_0x5a3c76&&((_0x3f8345=_0x5777ca[_0x51a615(0x224)])==null?lt['editable']:_0x3f8345)};}};}function At(){const _0xf06282=_0x1141d6;return[F(_0x1b662f[_0xf06282(0x2b2)],{'groupable':!0x0,'usableAsTitle':!0x0},void 0x0,{'createDefaultConfig':()=>({'placeholder':_0xf06282(0x1b1)}),'createDefaultValue':_0x17d7e6=>{const _0x52d69a=_0xf06282;var _0x479c81;return(_0x479c81=_0x17d7e6[_0x52d69a(0x364)])==null?'':_0x479c81;}}),F(_0x1b662f[_0xf06282(0x1c8)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsOptions':!0x0},_0x4f3d87=>_0x4f3d87==null||_0x4f3d87===''?null:String(_0x4f3d87),{'createDefaultConfig':()=>({'options':[],'optionSource':{'type':_0xf06282(0x1c1)}})}),F(_0x1b662f['MultiSelect'],{'filterable':!0x0,'usableAsKanbanGroup':!0x0,'supportsOptions':!0x0,'supportsMultipleValues':!0x0},_0x3e3eb4=>Array[_0xf06282(0x28a)](_0x3e3eb4)?_0x3e3eb4['map'](String):_0x3e3eb4==null?[]:[String(_0x3e3eb4)],{'createDefaultConfig':()=>({'options':[],'optionSource':{'type':_0xf06282(0x1c1)}}),'createDefaultValue':_0x719d3e=>{var _0x43e5b4;return(_0x43e5b4=_0x719d3e['defaultValue'])==null?[]:_0x43e5b4;}}),F(_0x1b662f[_0xf06282(0x22d)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsMultipleValues':!0x0},Pt,{'createDefaultConfig':()=>({'allowMultiple':!0x1,'provider':_0xf06282(0x192)}),'validate':Ft}),F(_0x1b662f[_0xf06282(0x1d2)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsMultipleValues':!0x0},Nt,{'createDefaultConfig':()=>({'allowMultiple':!0x0,'provider':'group'}),'createDefaultValue':_0x342fb9=>{const _0x7f0f76=_0xf06282;var _0x40e5e6;return(_0x40e5e6=_0x342fb9[_0x7f0f76(0x364)])==null?[]:_0x40e5e6;},'validate':It}),F(_0x1b662f[_0xf06282(0x29d)],{'groupable':!0x0,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x4a5047=>M(_0x4a5047),{'createDefaultConfig':()=>Mt(),'validate':Lt}),F(_0x1b662f[_0xf06282(0x252)],{'usableAsCardCover':!0x0,'supportsMultipleValues':!0x0},_0x60ffba=>_0x60ffba==null?[]:Array[_0xf06282(0x28a)](_0x60ffba)?_0x60ffba:[_0x60ffba],{'createDefaultValue':_0x3679f3=>{const _0x3c7708=_0xf06282;var _0x3a3c8e;return(_0x3a3c8e=_0x3679f3[_0x3c7708(0x364)])==null?[]:_0x3a3c8e;}}),F(_0x1b662f[_0xf06282(0x3a9)],{},_0x46af28=>_0x46af28==null||_0x46af28===''?null:Number(_0x46af28),{'createDefaultConfig':()=>jt(),'validate':Rt}),F(_0x1b662f['Checkbox'],{'groupable':!0x0,'usableAsKanbanGroup':!0x0},_0x8f80e7=>_0x8f80e7===!0x0||_0x8f80e7===_0xf06282(0x355)||_0x8f80e7===0x1||_0x8f80e7==='1',{'createDefaultConfig':()=>({'icon':_0xf06282(0x16d),'color':_0xf06282(0x3dd)}),'createDefaultValue':_0x20d788=>{var _0x2d58d6;return(_0x2d58d6=_0x20d788['defaultValue'])==null?!0x1:_0x2d58d6;},'validate':_0x4ab6fd=>typeof _0x4ab6fd==_0xf06282(0x3f1)?{'valid':!0x0}:{'valid':!0x1,'reason':_0xf06282(0x203)}}),F(_0x1b662f[_0xf06282(0x33a)],{'supportsRelation':!0x0},Bt,{'createDefaultConfig':()=>({'placeholder':'bases.fieldConfig.linkPlaceholder'}),'toPlainText':_0x7dd805=>Vt(_0x7dd805),'fromPlainText':_0x6a9554=>Bt(_0x6a9554)}),F(_0x1b662f[_0xf06282(0x331)],{'editable':!0x1},void 0x0,{'createDefaultConfig':()=>({'formula':'','dependencies':[],'numfmt':{'type':_0xf06282(0x29e),'pattern':'General'}}),'createDefaultValue':()=>null}),F(_0x1b662f['Lookup'],{}),F(_0x1b662f[_0xf06282(0x17d)],{}),F(_0x1b662f[_0xf06282(0x3bc)],{'editable':!0x1,'sortable':!0x1,'filterable':!0x1}),F(_0x1b662f[_0xf06282(0x2a4)],{'editable':!0x1,'usableAsTitle':!0x0},void 0x0,{'createDefaultConfig':()=>({'mode':_0xf06282(0x365)}),'createDefaultValue':()=>null}),F(_0x1b662f[_0xf06282(0x1f2)],{'usableAsTitle':!0x0},_0x325f53=>_0x325f53==null?null:String(_0x325f53)[_0xf06282(0x369)](),{'validate':_0x353f74=>_0x353f74==null||_0x353f74===''||/^\+?[0-9 ()-]{6,20}$/[_0xf06282(0x396)](String(_0x353f74))?{'valid':!0x0}:{'valid':!0x1,'reason':_0xf06282(0x1ae)}}),F(_0x1b662f[_0xf06282(0x166)],{'usableAsTitle':!0x0},_0x168171=>_0x168171==null?null:String(_0x168171)[_0xf06282(0x369)](),{'validate':_0x1e4f86=>_0x1e4f86==null||_0x1e4f86===''||Ut(String(_0x1e4f86))?{'valid':!0x0}:{'valid':!0x1,'reason':'[BaseField]:\x20invalid\x20email\x20value.'}}),F(_0x1b662f[_0xf06282(0x343)],{'usableAsTitle':!0x0}),F(_0x1b662f[_0xf06282(0x3ce)],{'usableAsTitle':!0x0}),F(_0x1b662f['Progress'],{'usableAsGanttProgress':!0x0},_0x1b6855=>_0x1b6855==null||_0x1b6855===''?null:Number(_0x1b6855),{'createDefaultConfig':()=>({'format':_0xf06282(0x1bf),'decimalPlaces':0x0,'color':'blue','customRange':!0x1,'start':0x0,'end':0x64}),'validate':(_0x5c9b76,_0x461eca)=>zt(_0x5c9b76,_0x461eca,_0xf06282(0x1e5))}),F(_0x1b662f['Currency'],{},_0x4a3c3f=>_0x4a3c3f==null||_0x4a3c3f===''?null:Number(_0x4a3c3f),{'createDefaultConfig':()=>({...jt(),'currencySymbol':'$'}),'validate':Rt}),F(_0x1b662f[_0xf06282(0x384)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0},_0x22aa3a=>_0x22aa3a==null||_0x22aa3a===''?null:Number(_0x22aa3a),{'createDefaultConfig':()=>({'icon':_0xf06282(0x2f3),'min':0x1,'max':0x5}),'createDefaultValue':()=>null,'validate':(_0x519855,_0x59c595)=>zt(_0x519855,_0x59c595,'[BaseField]:\x20invalid\x20rating\x20value.')}),F(_0x1b662f['TwoWayLink'],{'supportsRelation':!0x0}),F(_0x1b662f[_0xf06282(0x25b)],{'editable':!0x1,'sortable':!0x0,'filterable':!0x0,'usableAsTitle':!0x0}),F(_0x1b662f['CreatedBy'],{'editable':!0x1,'groupable':!0x0},_0x3b3806=>_0x3b3806==null?null:String(_0x3b3806),{'createDefaultConfig':()=>({'provider':_0xf06282(0x19a)}),'createDefaultValue':()=>null}),F(_0x1b662f[_0xf06282(0x229)],{'editable':!0x1,'groupable':!0x0},_0xe25acd=>_0xe25acd==null?null:String(_0xe25acd),{'createDefaultConfig':()=>({'provider':_0xf06282(0x19a)}),'createDefaultValue':()=>null}),F(_0x1b662f[_0xf06282(0x2db)],{'editable':!0x1,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x3197b9=>M(_0x3197b9),{'createDefaultConfig':()=>Mt(),'createDefaultValue':()=>null,'validate':Lt}),F(_0x1b662f[_0xf06282(0x25a)],{'editable':!0x1,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x2c72bd=>M(_0x2c72bd),{'createDefaultConfig':()=>Mt(),'createDefaultValue':()=>null,'validate':Lt}),F(_0x1b662f[_0xf06282(0x1df)],{})];}function jt(){const _0x344b1a=_0x1141d6;return{'pattern':'#,##0.00','decimalPlaces':0x2,'separatorStyle':_0x344b1a(0x304),'useThousands':!0x0,'abbreviation':_0x344b1a(0x3ec),'allowNegative':!0x0};}function Mt(){const _0x3ace2f=_0x1141d6;return{'locale':_0x3ace2f(0x1f6),'pattern':'yyyy/mm/dd','includeTime':!0x1,'hourCycle':_0x3ace2f(0x381),'defaultMode':_0x3ace2f(0x3ec)};}function Nt(_0x3ec6f8){const _0x220f19=_0x1141d6;return _0x3ec6f8==null||_0x3ec6f8===''?[]:Array['isArray'](_0x3ec6f8)?_0x3ec6f8[_0x220f19(0x220)](String):[String(_0x3ec6f8)];}function Pt(_0x4043bc,_0x5ef33a){const _0x8e8386=_0x1141d6;var _0x3a1782;return _0x4043bc==null||_0x4043bc===''?_0x5ef33a['config'][_0x8e8386(0x237)]===!0x0?[]:null:_0x5ef33a[_0x8e8386(0x1f0)][_0x8e8386(0x237)]===!0x0?Array[_0x8e8386(0x28a)](_0x4043bc)?_0x4043bc[_0x8e8386(0x220)](String):[String(_0x4043bc)]:Array['isArray'](_0x4043bc)?String((_0x3a1782=_0x4043bc[0x0])==null?'':_0x3a1782)||null:String(_0x4043bc);}function Ft(_0x1c938b,_0x547322){const _0x4d36b5=_0x1141d6;return _0x547322[_0x4d36b5(0x1f0)][_0x4d36b5(0x237)]===!0x0?It(_0x1c938b):_0x1c938b==null||_0x1c938b===''||typeof _0x1c938b==_0x4d36b5(0x222)?{'valid':!0x0}:{'valid':!0x1,'reason':_0x4d36b5(0x232)};}function It(_0x40db1f){const _0x302c2d=_0x1141d6;return _0x40db1f==null||Array[_0x302c2d(0x28a)](_0x40db1f)&&_0x40db1f['every'](_0x4b76bf=>typeof _0x4b76bf=='string')?{'valid':!0x0}:{'valid':!0x1,'reason':_0x302c2d(0x40d)};}function Lt(_0x1697a7){const _0x33017f=_0x1141d6;return _0x1697a7==null||typeof _0x1697a7==_0x33017f(0x2fa)&&Number[_0x33017f(0x259)](_0x1697a7)?{'valid':!0x0}:{'valid':!0x1,'reason':_0x33017f(0x1c3)};}function Rt(_0x1a9d70,_0x4160bf){const _0x1a1799=_0x1141d6;return _0x1a9d70==null||_0x1a9d70===''?{'valid':!0x0}:typeof _0x1a9d70!=_0x1a1799(0x2fa)||!Number[_0x1a1799(0x259)](_0x1a9d70)?{'valid':!0x1,'reason':_0x1a1799(0x1eb)}:_0x4160bf[_0x1a1799(0x1f0)]['allowNegative']===!0x1&&_0x1a9d70<0x0?{'valid':!0x1,'reason':_0x1a1799(0x185)}:{'valid':!0x0};}function zt(_0x207230,_0x4852db,_0xb658d4){const _0x472cc9=_0x1141d6;var _0x11cda5,_0x1b9d80,_0xb48804,_0x725130;let _0x4d0394=Rt(_0x207230,_0x4852db);if(!_0x4d0394['valid']||_0x207230==null||_0x207230==='')return _0x4d0394;let _0x1953d7=Number((_0x11cda5=(_0x1b9d80=_0x4852db[_0x472cc9(0x1f0)]['min'])==null?_0x4852db['config'][_0x472cc9(0x299)]:_0x1b9d80)==null?0x0:_0x11cda5),_0xa6b2a9=Number((_0xb48804=(_0x725130=_0x4852db[_0x472cc9(0x1f0)][_0x472cc9(0x248)])==null?_0x4852db['config']['end']:_0x725130)==null?0x64:_0xb48804),_0x16ce52=Number(_0x207230);return _0x16ce52>=_0x1953d7&&_0x16ce52<=_0xa6b2a9?{'valid':!0x0}:{'valid':!0x1,'reason':_0xb658d4};}function Bt(_0x7c9dbd){const _0x22f392=_0x1141d6;if(_0x7c9dbd==null||_0x7c9dbd==='')return null;if(typeof _0x7c9dbd==_0x22f392(0x371)&&!Array[_0x22f392(0x28a)](_0x7c9dbd)){let _0x112801=_0x7c9dbd,_0x596c90=typeof _0x112801[_0x22f392(0x387)]==_0x22f392(0x222)?_0x112801['text'][_0x22f392(0x369)]():'',_0x34f30b=typeof _0x112801[_0x22f392(0x3fe)]==_0x22f392(0x222)?_0x112801[_0x22f392(0x3fe)][_0x22f392(0x369)]():'',_0x5ceb13=Ht(_0x34f30b||_0x596c90);return _0x5ceb13?{'text':_0x596c90||_0x34f30b||_0x5ceb13,'url':_0x5ceb13}:null;}let _0x41de94=String(_0x7c9dbd)[_0x22f392(0x369)](),_0x12c179=Ht(_0x41de94);return _0x12c179?{'text':_0x41de94,'url':_0x12c179}:null;}function Vt(_0x4a11d8){const _0x51f466=_0x1141d6;if(_0x4a11d8==null)return'';if(typeof _0x4a11d8==_0x51f466(0x371)&&!Array[_0x51f466(0x28a)](_0x4a11d8)){let _0xa19fe8=_0x4a11d8;return String(_0xa19fe8[_0x51f466(0x387)]||_0xa19fe8[_0x51f466(0x3fe)]||'');}return String(_0x4a11d8);}function Ht(_0xb9b34a){const _0x2c3eca=_0x1141d6;let _0x13185c=_0xb9b34a[_0x2c3eca(0x369)]();return _0x13185c?/^[a-z][a-z\d+.-]*:\/\//i[_0x2c3eca(0x396)](_0x13185c)?_0x13185c:_0x2c3eca(0x158)+_0x13185c:'';}function Ut(_0x5b3924){const _0x2f43f2=_0x1141d6;let _0x19a6ec=_0x5b3924[_0x2f43f2(0x24a)]('@');if(_0x19a6ec<=0x0||_0x19a6ec!==_0x5b3924[_0x2f43f2(0x3e9)]('@'))return!0x1;let _0x229325=_0x5b3924[_0x2f43f2(0x29a)](_0x19a6ec+0x1);return _0x229325[_0x2f43f2(0x370)]('.')&&!_0x5b3924[_0x2f43f2(0x370)]('\x20')&&!_0x229325[_0x2f43f2(0x3bb)]('.')&&!_0x229325[_0x2f43f2(0x156)]('.');}const I={'table':_0x47b0ae=>[_0x1141d6(0x407),_0x47b0ae],'field':(_0x193933,_0x513922)=>[_0x1141d6(0x407),_0x193933,_0x1141d6(0x2e2),_0x513922],'fieldOrder':(_0x1ac440,_0x41bb18)=>[_0x1141d6(0x407),_0x1ac440,_0x1141d6(0x2ad),_0x41bb18],'record':(_0x5568a5,_0x1b96a5)=>[_0x1141d6(0x407),_0x5568a5,_0x1141d6(0x162),_0x1b96a5],'cell':(_0x3fa9a2,_0x1fc7b4,_0x2525ca)=>[_0x1141d6(0x407),_0x3fa9a2,_0x1141d6(0x162),_0x1fc7b4,_0x1141d6(0x3aa),_0x2525ca],'cellData':(_0x18ede9,_0x2d14eb,_0x4e0280)=>[_0x1141d6(0x407),_0x18ede9,_0x1141d6(0x33c),String(_0x2d14eb),String(_0x4e0280)],'attachmentSet':(_0x3bce96,_0x3edf65)=>[_0x1141d6(0x407),_0x3bce96,_0x1141d6(0x389),_0x1141d6(0x36c),_0x3edf65],'attachment':(_0x4b20d9,_0x1c3daf)=>[_0x1141d6(0x407),_0x4b20d9,_0x1141d6(0x389),_0x1141d6(0x33b),_0x1c3daf],'view':(_0xed16d0,_0x11dfad)=>[_0x1141d6(0x407),_0xed16d0,_0x1141d6(0x23e),_0x11dfad],'viewFieldHidden':(_0x3d33e0,_0x441602,_0xe6cab4)=>[_0x1141d6(0x407),_0x3d33e0,_0x1141d6(0x23e),_0x441602,_0x1141d6(0x3c9),_0xe6cab4,_0x1141d6(0x311)]};function L(_0x2d0885){const _0x3557a9=_0x1141d6;return _0x2d0885[_0x3557a9(0x376)]((_0x2ab9fa,_0x44a18f)=>_0x2ab9fa==null?_0x44a18f:_0x35e04c[_0x3557a9(0x157)][_0x3557a9(0x18f)](_0x2ab9fa,_0x44a18f),void 0x0);}var R=class{['setBaseName'](_0x4c1489,_0x1be57e){const _0x54566d=_0x1141d6;let _0x34ae12=this[_0x54566d(0x15c)](_0x4c1489,_0x4c1489[_0x54566d(0x3a2)],_0x1be57e);return L([this[_0x54566d(0x2ba)]([_0x54566d(0x3a2)],_0x4c1489['name'],_0x1be57e),..._0x34ae12?[_0x34ae12]:[]]);}[_0x1141d6(0x15c)](_0x142232,_0x7ab839,_0x351d23){const _0x203acc=_0x1141d6;let _0xe209cf=Object['values'](_0x142232[_0x203acc(0x407)])['flatMap'](_0x4b8dc5=>Object[_0x203acc(0x3aa)](_0x4b8dc5[_0x203acc(0x2e2)])[_0x203acc(0x1a8)](_0x5c412f=>{const _0x19db0f=_0x203acc;var _0x4565fd,_0x16152a,_0x427c7c;if(_0x5c412f['type']!==_0x1b662f[_0x19db0f(0x331)])return[];let _0x547f05=String((_0x4565fd=(_0x16152a=_0x5c412f[_0x19db0f(0x1f0)])==null?void 0x0:_0x16152a[_0x19db0f(0x2f8)])==null?'':_0x4565fd),_0x25d55a=_0x1f4af2(_0x547f05,_0x7ab839,_0x351d23);return _0x25d55a===_0x547f05?[]:[this[_0x19db0f(0x2ba)]([...I['field'](_0x4b8dc5['id'],_0x5c412f['id']),_0x19db0f(0x1f0),'formula'],(_0x427c7c=_0x5c412f[_0x19db0f(0x1f0)])==null?void 0x0:_0x427c7c[_0x19db0f(0x2f8)],_0x25d55a)];}));return _0xe209cf['length']>0x0?L(_0xe209cf):void 0x0;}[_0x1141d6(0x35b)](_0x4f80dc,_0x3daf84,_0x39706d=_0x4f80dc['tableOrder']['length']){const _0x8d5491=_0x1141d6;return L([_0x35e04c[_0x8d5491(0x21e)](I[_0x8d5491(0x305)](_0x3daf84['id']),_0x3daf84),_0x35e04c[_0x8d5491(0x21e)]([_0x8d5491(0x218),_0x39706d],_0x3daf84['id'])]);}[_0x1141d6(0x38a)](_0x460b15,_0x42a3d9,_0x29eefb){const _0x405341=_0x1141d6;let _0x32a56e=_0x460b15[_0x405341(0x407)][_0x42a3d9][_0x405341(0x3a2)],_0x51b096=Object[_0x405341(0x3aa)](_0x460b15['tables'])[_0x405341(0x1a8)](_0x545859=>Object['values'](_0x545859[_0x405341(0x2e2)])[_0x405341(0x1a8)](_0x5f02a2=>{const _0x19d163=_0x405341;var _0x120dd9,_0x6c28ee;if(_0x5f02a2[_0x19d163(0x157)]!==_0x1b662f[_0x19d163(0x331)])return[];let _0x41ebb4=String((_0x120dd9=(_0x6c28ee=_0x5f02a2[_0x19d163(0x1f0)])==null?void 0x0:_0x6c28ee[_0x19d163(0x2f8)])==null?'':_0x120dd9),_0x5781bb=Xt(_0x41ebb4,_0x32a56e,_0x29eefb);return _0x5781bb===_0x41ebb4?[]:[this[_0x19d163(0x33e)](_0x460b15,_0x545859['id'],_0x5f02a2['id'],{'config':{..._0x5f02a2[_0x19d163(0x1f0)],'formula':_0x5781bb}})];}));return L([_0x35e04c[_0x405341(0x32c)]([...I[_0x405341(0x305)](_0x42a3d9),'name'],_0x32a56e,_0x29eefb),..._0x51b096]);}['deleteTable'](_0x2b0550,_0x198701){const _0x17f833=_0x1141d6;let _0x6827fd=_0x2b0550[_0x17f833(0x407)][_0x198701],_0x291f4a=_0x2b0550[_0x17f833(0x218)]['indexOf'](_0x198701);return L([_0x35e04c[_0x17f833(0x301)](I[_0x17f833(0x305)](_0x198701),_0x6827fd),_0x35e04c['removeOp']([_0x17f833(0x218),_0x291f4a],_0x198701)]);}[_0x1141d6(0x337)](_0x5b49a9,_0x515f51,_0x1e39e2){const _0x4ea279=_0x1141d6;return this[_0x4ea279(0x169)](_0x5b49a9,_0x515f51,[_0x1e39e2]);}['createRecords'](_0x4d5167,_0x503bdf,_0x2d7c2b){const _0x19c006=_0x1141d6;let _0x4b1700=_0x4d5167[_0x19c006(0x407)][_0x503bdf],_0x1edf18=_0x2d7c2b[_0x19c006(0x385)](_0x1678c3=>_0x1678c3&&!_0x4b1700[_0x19c006(0x162)][_0x1678c3['id']]);return _0x1edf18[_0x19c006(0x3e1)]?L([..._0x1edf18[_0x19c006(0x220)](_0x407e88=>_0x35e04c['insertOp'](I[_0x19c006(0x1a5)](_0x503bdf,_0x407e88['id']),_0x407e88)),this[_0x19c006(0x2c3)](_0x4d5167,_0x503bdf,_0x1edf18)]):_0x35e04c[_0x19c006(0x32c)]([...I[_0x19c006(0x305)](_0x503bdf),_0x19c006(0x162)],_0x4b1700[_0x19c006(0x162)],_0x4b1700[_0x19c006(0x162)]);}[_0x1141d6(0x3af)](_0x176164,_0x5aeeb9,_0x5de44d){const _0x1cae58=_0x1141d6;return this[_0x1cae58(0x13b)](_0x176164,_0x5aeeb9,[_0x5de44d]);}[_0x1141d6(0x13b)](_0x529ae4,_0x1e29fe,_0x5309a3){const _0x277931=_0x1141d6;let _0x3c37b6=_0x529ae4[_0x277931(0x407)][_0x1e29fe],_0x433015=Array[_0x277931(0x1b2)](new Set(_0x5309a3))[_0x277931(0x385)](_0x3e028e=>_0x3c37b6[_0x277931(0x162)][_0x3e028e]);if(!_0x433015[_0x277931(0x3e1)])return _0x35e04c['replaceOp']([...I['table'](_0x1e29fe),'records'],_0x3c37b6[_0x277931(0x162)],_0x3c37b6['records']);let _0x79c63e=new Set(_0x433015),_0x51242c=_0x433015[_0x277931(0x220)](_0x505274=>{const _0x218b88=_0x277931;var _0x113e69,_0x153290;return{'recordId':_0x505274,'index':(_0x113e69=(_0x153290=_0x3c37b6[_0x218b88(0x19d)])==null?void 0x0:_0x153290[_0x218b88(0x24a)](_0x505274))==null?-0x1:_0x113e69};})[_0x277931(0x385)](_0x39ffd4=>_0x39ffd4['index']>=0x0)['sort']((_0x44cfd8,_0x35f9b7)=>_0x35f9b7['index']-_0x44cfd8[_0x277931(0x148)]);return L([..._0x433015['map'](_0x145930=>_0x35e04c[_0x277931(0x301)](I['record'](_0x1e29fe,_0x145930),_0x3c37b6['records'][_0x145930])),..._0x51242c[_0x277931(0x220)](({recordId:_0x18a03f,index:_0xa49f84})=>_0x35e04c['removeOp'](['tables',_0x1e29fe,_0x277931(0x19d),_0xa49f84],_0x18a03f)),...this[_0x277931(0x199)](_0x3c37b6,_0x1e29fe,_0x3c5a38=>{const _0x2db234=_0x277931;let _0x4e7c9d=_0x3c5a38[_0x2db234(0x29a)](_0x3c5a38[_0x2db234(0x3e9)]('\x1f')+0x1);return _0x79c63e['has'](_0x4e7c9d);})]);}['duplicateRecord'](_0x47e1d8,_0x4da9d7,_0x338866,_0x1b7722){const _0x430f6a=_0x1141d6;return this[_0x430f6a(0x337)](_0x47e1d8,_0x4da9d7,{..._0x1b7722,'values':{..._0x47e1d8['tables'][_0x4da9d7][_0x430f6a(0x162)][_0x338866]['values'],..._0x1b7722[_0x430f6a(0x3aa)]}});}[_0x1141d6(0x297)](_0x239d24,_0x3b460e,_0x113093,_0x5806b9){const _0x5e10a5=_0x1141d6;let _0x525540=_0x239d24[_0x5e10a5(0x407)][_0x3b460e],_0x2c777a=[...I[_0x5e10a5(0x1a5)](_0x3b460e,_0x113093),_0x5e10a5(0x2c0)],_0x1d5c68=Object['values'](_0x525540[_0x5e10a5(0x162)])[_0x5e10a5(0x220)](_0x1d435a=>_0x1d435a['id']===_0x113093?{..._0x1d435a,'orderKey':_0x5806b9}:_0x1d435a)['sort']((_0x2a4c9a,_0x304587)=>{const _0x1fdf9c=_0x5e10a5;var _0x52be71,_0x13018a;return String((_0x52be71=_0x2a4c9a[_0x1fdf9c(0x2c0)])==null?_0x2a4c9a['id']:_0x52be71)[_0x1fdf9c(0x1a0)](String((_0x13018a=_0x304587[_0x1fdf9c(0x2c0)])==null?_0x304587['id']:_0x13018a));})['map'](_0x25adc2=>_0x25adc2['id']),_0x4d0243=[...I[_0x5e10a5(0x305)](_0x3b460e),_0x5e10a5(0x19d)];return L([_0x35e04c[_0x5e10a5(0x32c)](_0x2c777a,_0x525540[_0x5e10a5(0x162)][_0x113093][_0x5e10a5(0x2c0)],_0x5806b9),_0x525540[_0x5e10a5(0x19d)]?_0x35e04c[_0x5e10a5(0x32c)](_0x4d0243,_0x525540['recordOrder'],_0x1d5c68):_0x35e04c['insertOp'](_0x4d0243,_0x1d5c68)]);}[_0x1141d6(0x2e6)](_0x3bf402,_0x212cb5,_0x5744d9,_0x529afd,_0x3a14a8){const _0x334d97=_0x1141d6;var _0x19ee3b,_0x41515d;let _0x3a87da=_0x3bf402['tables'][_0x212cb5],_0x54936c=Wt(_0x3a87da,_0x5744d9,_0x529afd)?_0x3a87da:E(_0x3a87da),_0x20cf18=(_0x19ee3b=_0x54936c[_0x334d97(0x241)])==null?void 0x0:_0x19ee3b[_0x5744d9],_0x14c73a=(_0x41515d=_0x54936c[_0x334d97(0x22b)])==null?void 0x0:_0x41515d[_0x529afd];if(_0x20cf18==null||_0x14c73a==null){var _0x22cd18;return this[_0x334d97(0x2ba)](I[_0x334d97(0x400)](_0x212cb5,_0x5744d9,_0x529afd),(_0x22cd18=_0x3bf402[_0x334d97(0x407)][_0x212cb5])==null||(_0x22cd18=_0x22cd18[_0x334d97(0x162)][_0x5744d9])==null?void 0x0:_0x22cd18[_0x334d97(0x3aa)][_0x529afd],_0x3a14a8);}return this['setRangeValues'](_0x3bf402,_0x212cb5,[{'row':_0x20cf18,'col':_0x14c73a,'value':_0x3a14a8}]);}[_0x1141d6(0x250)](_0x360505,_0x4ba550,_0x4187a8){const _0x4d47bc=_0x1141d6;let _0x3115a8=_0x360505['tables'][_0x4ba550],_0x377fba=_0x4187a8[_0x4d47bc(0x256)](_0xa98c01=>Object[_0x4d47bc(0x1ef)](_0xa98c01[_0x4d47bc(0x3aa)])[_0x4d47bc(0x256)](_0x1892f0=>Wt(_0x3115a8,_0xa98c01['recordId'],_0x1892f0)))?_0x3115a8:E(_0x3115a8),_0x4aeb3a=_0x4187a8['flatMap'](_0x51cfec=>Object['entries'](_0x51cfec['values'])[_0x4d47bc(0x1a8)](([_0x15c822,_0xde8a85])=>{const _0x1de87b=_0x4d47bc;var _0xe6f5a4,_0x4146b2;let _0x45d0b7=(_0xe6f5a4=_0x377fba['rowIndex'])==null?void 0x0:_0xe6f5a4[_0x51cfec[_0x1de87b(0x201)]],_0x4198bd=(_0x4146b2=_0x377fba[_0x1de87b(0x22b)])==null?void 0x0:_0x4146b2[_0x15c822];return _0x45d0b7==null||_0x4198bd==null?[]:[{'row':_0x45d0b7,'col':_0x4198bd,'value':_0xde8a85}];})),_0xc73fdc=_0x4187a8[_0x4d47bc(0x1a8)](_0x5894ea=>{const _0x48434a=_0x4d47bc;var _0x888ca7;return Object[_0x48434a(0x34d)]((_0x888ca7=_0x5894ea[_0x48434a(0x336)])==null?{}:_0x888ca7)[_0x48434a(0x220)](([_0x45acf3,_0x3cc08d])=>{const _0x19a2d6=_0x48434a;var _0x5869bd;let _0x2b41f5=[...I[_0x19a2d6(0x1a5)](_0x4ba550,_0x5894ea[_0x19a2d6(0x201)]),_0x45acf3],_0x448102=(_0x5869bd=_0x360505[_0x19a2d6(0x407)][_0x4ba550])==null||(_0x5869bd=_0x5869bd['records'][_0x5894ea[_0x19a2d6(0x201)]])==null?void 0x0:_0x5869bd[_0x45acf3];return this['_replaceOptional'](_0x2b41f5,_0x448102,_0x3cc08d);});});return L([this['setRangeValues'](_0x360505,_0x4ba550,_0x4aeb3a),..._0xc73fdc]);}[_0x1141d6(0x208)](_0x36728a,_0x209042,_0x1751cf){const _0x1e83c6=_0x1141d6;let _0x5ca76e=_0x36728a['tables'][_0x209042],_0x309af9=_0x1751cf['every'](_0x29f45e=>Gt(_0x5ca76e,_0x29f45e[_0x1e83c6(0x198)],_0x29f45e[_0x1e83c6(0x2e5)]))?_0x5ca76e:E(_0x5ca76e),_0x2af710=_0x1751cf[_0x1e83c6(0x1a8)](_0x4cfaa9=>{const _0x2080c2=_0x1e83c6;var _0x232f05,_0x596950,_0x214741,_0x35f387;let _0x65871d=(_0x232f05=_0x309af9[_0x2080c2(0x18b)])==null?void 0x0:_0x232f05[_0x4cfaa9[_0x2080c2(0x2e5)]],_0x29c47c=(_0x596950=_0x309af9[_0x2080c2(0x378)])==null?void 0x0:_0x596950[_0x4cfaa9[_0x2080c2(0x198)]],_0xb886bf=_0x65871d?_0x309af9[_0x2080c2(0x2e2)][_0x65871d]:void 0x0,_0x1775ac=D(_0x4cfaa9[_0x2080c2(0x20d)],_0xb886bf),_0x1ca6f2=(_0x214741=_0x309af9[_0x2080c2(0x33c)])==null||(_0x214741=_0x214741[_0x4cfaa9[_0x2080c2(0x198)]])==null?void 0x0:_0x214741[_0x4cfaa9[_0x2080c2(0x2e5)]],_0x565bcb=this[_0x2080c2(0x2ba)](I[_0x2080c2(0x33c)](_0x209042,_0x4cfaa9[_0x2080c2(0x198)],_0x4cfaa9[_0x2080c2(0x2e5)]),_0x1ca6f2,_0x1775ac);if(!_0x65871d||!_0x29c47c)return[_0x565bcb];let _0x43960e=(_0x35f387=_0x309af9[_0x2080c2(0x162)][_0x29c47c])==null?void 0x0:_0x35f387[_0x2080c2(0x3aa)][_0x65871d],_0x26b1ea=(_0xb886bf==null?void 0x0:_0xb886bf[_0x2080c2(0x157)])===_0x1b662f[_0x2080c2(0x252)]?O(_0x4cfaa9[_0x2080c2(0x20d)]):Ae(_0x4cfaa9['value'],_0x1775ac,_0xb886bf,_0x309af9,_0x29c47c),_0x11cd74=[_0x565bcb,this['_replaceOptional'](I[_0x2080c2(0x400)](_0x209042,_0x29c47c,_0x65871d),_0x43960e,_0x26b1ea)];if((_0xb886bf==null?void 0x0:_0xb886bf[_0x2080c2(0x157)])!==_0x1b662f[_0x2080c2(0x252)])return _0x11cd74;let _0x4d2678=this['_setAttachmentResources'](_0x309af9,_0x209042,_0x29c47c,_0x65871d,_0x26b1ea);return[..._0x11cd74,..._0x4d2678];});return _0x2af710[_0x1e83c6(0x3e1)]?L(_0x2af710):_0x35e04c['replaceOp']([_0x1e83c6(0x407),_0x209042,_0x1e83c6(0x33c)],_0x309af9[_0x1e83c6(0x33c)],_0x309af9[_0x1e83c6(0x33c)]);}[_0x1141d6(0x14e)](_0x3a8500,_0x3109e7,_0x13580d){const _0x341c1=_0x1141d6;var _0xce44ea,_0x45b4cd;let _0x3ec984=_0x3a8500[_0x341c1(0x407)][_0x3109e7];if(_0x3ec984['fields'][_0x13580d[_0x341c1(0x293)]['id']]||_0x3ec984['fieldOrder'][_0x341c1(0x370)](_0x13580d[_0x341c1(0x293)]['id']))return _0x35e04c[_0x341c1(0x32c)](['tables',_0x3109e7,_0x341c1(0x2ad)],_0x3ec984[_0x341c1(0x2ad)],_0x3ec984[_0x341c1(0x2ad)]);let _0x211d90=(_0xce44ea=_0x13580d[_0x341c1(0x148)])==null?_0x3ec984[_0x341c1(0x2ad)]['length']:_0xce44ea,_0x251ec2=Object['values']((_0x45b4cd=_0x3ec984[_0x341c1(0x23e)])==null?{}:_0x45b4cd)[_0x341c1(0x1a8)](_0x39ce5a=>{const _0x15b9ef=_0x341c1;var _0x419580,_0xbfb53d;if(!_0x39ce5a[_0x15b9ef(0x2ad)]||_0x39ce5a[_0x15b9ef(0x2ad)]['includes'](_0x13580d['field']['id']))return[];let _0x283590=Yt((_0x419580=(_0xbfb53d=_0x13580d[_0x15b9ef(0x402)])==null?void 0x0:_0xbfb53d[_0x39ce5a['id']])==null?_0x211d90:_0x419580,_0x39ce5a[_0x15b9ef(0x2ad)][_0x15b9ef(0x3e1)]);return[_0x35e04c['insertOp']([...I['view'](_0x3109e7,_0x39ce5a['id']),_0x15b9ef(0x2ad),_0x283590],_0x13580d[_0x15b9ef(0x293)]['id'])];});return L([_0x35e04c['insertOp'](I[_0x341c1(0x293)](_0x3109e7,_0x13580d[_0x341c1(0x293)]['id']),_0x13580d[_0x341c1(0x293)]),_0x35e04c[_0x341c1(0x21e)](I[_0x341c1(0x2ad)](_0x3109e7,_0x211d90),_0x13580d[_0x341c1(0x293)]['id']),..._0x251ec2]);}['duplicateField'](_0x2fea84,_0x4277be,_0xf126c9,_0x2d8404){const _0x3715ce=_0x1141d6;var _0xf9ca5a,_0x25e8bb;let _0x2879c1=_0x2fea84['tables'][_0x4277be];if(!_0x2879c1[_0x3715ce(0x2e2)][_0xf126c9]||_0x2879c1[_0x3715ce(0x2e2)][_0x2d8404['field']['id']]||_0x2879c1[_0x3715ce(0x2ad)][_0x3715ce(0x370)](_0x2d8404['field']['id']))return _0x35e04c[_0x3715ce(0x32c)](['tables',_0x4277be,_0x3715ce(0x2ad)],_0x2879c1[_0x3715ce(0x2ad)],_0x2879c1[_0x3715ce(0x2ad)]);let _0x12f51e=(_0xf9ca5a=_0x2d8404[_0x3715ce(0x148)])==null?_0x2879c1['fieldOrder'][_0x3715ce(0x24a)](_0xf126c9)+0x1:_0xf9ca5a,_0x272190=_0x2879c1[_0x3715ce(0x2ad)][_0x3715ce(0x385)](_0xaab8ea=>_0xaab8ea!==_0x2d8404[_0x3715ce(0x293)]['id']),_0x3251ab=qt(_0x272190,_0x2d8404['field']['id'],_0x12f51e),_0x30baea=Object[_0x3715ce(0x3aa)]((_0x25e8bb=_0x2879c1['views'])==null?{}:_0x25e8bb)['flatMap'](_0x1c2736=>{const _0x4fab6a=_0x3715ce;var _0x33eeeb,_0x29001f,_0x4735f6,_0x564ace,_0xe234ff;let _0x47ed20=(_0x33eeeb=_0x1c2736['fieldOrder'])!=null&&_0x33eeeb[_0x4fab6a(0x3e1)]?_0x1c2736[_0x4fab6a(0x2ad)]:_0x272190;if(_0x47ed20[_0x4fab6a(0x370)](_0x2d8404[_0x4fab6a(0x293)]['id']))return[];let _0x481c79=qt(_0x47ed20,_0x2d8404['field']['id'],(_0x29001f=(_0x4735f6=_0x2d8404[_0x4fab6a(0x402)])==null?void 0x0:_0x4735f6[_0x1c2736['id']])==null?_0x12f51e:_0x29001f),_0x12ccad=(_0x564ace=_0x1c2736[_0x4fab6a(0x3c9)])==null?void 0x0:_0x564ace[_0xf126c9];return[this[_0x4fab6a(0x2ba)]([...I[_0x4fab6a(0x409)](_0x4277be,_0x1c2736['id']),'fieldOrder'],_0x1c2736['fieldOrder'],_0x481c79),..._0x12ccad?[this[_0x4fab6a(0x2ba)]([...I[_0x4fab6a(0x409)](_0x4277be,_0x1c2736['id']),_0x4fab6a(0x3c9),_0x2d8404[_0x4fab6a(0x293)]['id']],(_0xe234ff=_0x1c2736[_0x4fab6a(0x3c9)])==null?void 0x0:_0xe234ff[_0x2d8404['field']['id']],_0x12ccad)]:[]];}),_0x55132b=Object[_0x3715ce(0x3aa)](_0x2879c1[_0x3715ce(0x162)])[_0x3715ce(0x385)](_0x4d2b10=>Object[_0x3715ce(0x356)][_0x3715ce(0x15d)][_0x3715ce(0x231)](_0x4d2b10[_0x3715ce(0x3aa)],_0xf126c9))[_0x3715ce(0x220)](_0x3f5281=>this['_replaceOptional'](I[_0x3715ce(0x400)](_0x4277be,_0x3f5281['id'],_0x2d8404[_0x3715ce(0x293)]['id']),_0x3f5281[_0x3715ce(0x3aa)][_0x2d8404[_0x3715ce(0x293)]['id']],_0x3f5281[_0x3715ce(0x3aa)][_0xf126c9]));return L([_0x35e04c['insertOp'](I[_0x3715ce(0x293)](_0x4277be,_0x2d8404[_0x3715ce(0x293)]['id']),_0x2d8404['field']),_0x35e04c[_0x3715ce(0x32c)]([_0x3715ce(0x407),_0x4277be,_0x3715ce(0x2ad)],_0x2879c1[_0x3715ce(0x2ad)],_0x3251ab),..._0x30baea,..._0x55132b]);}['updateField'](_0x62e89a,_0x3467fe,_0x5c96d9,_0x289d60){const _0x205735=_0x1141d6;let _0x22ba90=_0x62e89a[_0x205735(0x407)][_0x3467fe][_0x205735(0x2e2)][_0x5c96d9],_0xb1f227={..._0x22ba90,..._0x289d60};Object['keys'](_0x289d60)[_0x205735(0x2e8)](_0x3b2e9c=>{_0x289d60[_0x3b2e9c]===void 0x0&&delete _0xb1f227[_0x3b2e9c];});let _0x487314=_0x35e04c[_0x205735(0x32c)](I['field'](_0x3467fe,_0x5c96d9),_0x22ba90,_0xb1f227);return _0xb1f227[_0x205735(0x157)]===_0x1b662f[_0x205735(0x331)]?L([_0x487314,...this[_0x205735(0x1bc)](_0x62e89a,_0x3467fe,_0x5c96d9,_0xb1f227)]):_0x487314;}[_0x1141d6(0x33f)](_0x1a5367,_0x1da445,_0x35d4c3,_0x25f827){const _0x5d5af8=_0x1141d6;return this[_0x5d5af8(0x33e)](_0x1a5367,_0x1da445,_0x35d4c3,_0x25f827);}['deleteField'](_0xb88a00,_0xc3260c,_0x4ef8f4){const _0x15c07b=_0x1141d6;let _0x5b0cf8=_0xb88a00[_0x15c07b(0x407)][_0xc3260c];if(!(_0x5b0cf8!=null&&_0x5b0cf8['fields'][_0x4ef8f4])||_0x5b0cf8['primaryFieldId']===_0x4ef8f4)return _0x35e04c['replaceOp']([_0x15c07b(0x407),_0xc3260c,_0x15c07b(0x2ad)],_0x5b0cf8==null?void 0x0:_0x5b0cf8[_0x15c07b(0x2ad)],_0x5b0cf8==null?void 0x0:_0x5b0cf8['fieldOrder']);let _0x1e907e=_0x5b0cf8[_0x15c07b(0x2ad)][_0x15c07b(0x24a)](_0x4ef8f4),_0x5d26bf=Object[_0x15c07b(0x3aa)](_0x5b0cf8[_0x15c07b(0x23e)])[_0x15c07b(0x1a8)](_0x8c1f73=>{const _0x31c02b=_0x15c07b;var _0x1e1579,_0x5aa460,_0x8ae5c8,_0x305afa,_0xf88370,_0x49b95f,_0x37c4e4,_0x35ab50;let _0x2c2e2e=[],_0x1ecd3a=(_0x1e1579=(_0x5aa460=_0x8c1f73[_0x31c02b(0x2ad)])==null?void 0x0:_0x5aa460['indexOf'](_0x4ef8f4))==null?-0x1:_0x1e1579;_0x1ecd3a>=0x0&&_0x2c2e2e['push'](_0x35e04c[_0x31c02b(0x301)]([...I[_0x31c02b(0x409)](_0xc3260c,_0x8c1f73['id']),'fieldOrder',_0x1ecd3a],_0x4ef8f4));let _0x2b29cb=(_0x8ae5c8=_0x8c1f73['fieldSettings'])==null?void 0x0:_0x8ae5c8[_0x4ef8f4];_0x2b29cb!==void 0x0&&_0x2c2e2e['push'](_0x35e04c[_0x31c02b(0x301)]([...I[_0x31c02b(0x409)](_0xc3260c,_0x8c1f73['id']),_0x31c02b(0x3c9),_0x4ef8f4],_0x2b29cb));let _0x347f26=_0x8c1f73[_0x31c02b(0x385)]?{..._0x8c1f73['filter'],'conditions':_0x8c1f73[_0x31c02b(0x385)][_0x31c02b(0x20a)][_0x31c02b(0x385)](_0xb5755a=>_0xb5755a[_0x31c02b(0x1be)]!==_0x4ef8f4)}:_0x8c1f73[_0x31c02b(0x385)];_0x347f26&&_0x347f26[_0x31c02b(0x20a)]['length']!==((_0x305afa=_0x8c1f73[_0x31c02b(0x385)])==null?void 0x0:_0x305afa[_0x31c02b(0x20a)][_0x31c02b(0x3e1)])&&_0x2c2e2e[_0x31c02b(0x1a6)](this[_0x31c02b(0x2ba)]([...I['view'](_0xc3260c,_0x8c1f73['id']),_0x31c02b(0x385)],_0x8c1f73[_0x31c02b(0x385)],_0x347f26));let _0x8adc57=(_0xf88370=_0x8c1f73[_0x31c02b(0x3b6)])==null?void 0x0:_0xf88370[_0x31c02b(0x385)](_0x1b5a39=>_0x1b5a39[_0x31c02b(0x1be)]!==_0x4ef8f4);_0x8adc57&&_0x8adc57[_0x31c02b(0x3e1)]!==((_0x49b95f=_0x8c1f73[_0x31c02b(0x3b6)])==null?void 0x0:_0x49b95f[_0x31c02b(0x3e1)])&&_0x2c2e2e['push'](this[_0x31c02b(0x2ba)]([...I[_0x31c02b(0x409)](_0xc3260c,_0x8c1f73['id']),_0x31c02b(0x3b6)],_0x8c1f73[_0x31c02b(0x3b6)],_0x8adc57));let _0x4f7b97=(_0x37c4e4=_0x8c1f73[_0x31c02b(0x18c)])==null?void 0x0:_0x37c4e4[_0x31c02b(0x385)](_0x4bf59e=>_0x4bf59e[_0x31c02b(0x1be)]!==_0x4ef8f4);_0x4f7b97&&_0x4f7b97[_0x31c02b(0x3e1)]!==((_0x35ab50=_0x8c1f73['group'])==null?void 0x0:_0x35ab50[_0x31c02b(0x3e1)])&&_0x2c2e2e['push'](this['_replaceOptional']([...I[_0x31c02b(0x409)](_0xc3260c,_0x8c1f73['id']),_0x31c02b(0x18c)],_0x8c1f73[_0x31c02b(0x18c)],_0x4f7b97));let _0x1920a8=Jt(_0x8c1f73[_0x31c02b(0x1f0)],_0x4ef8f4);return JSON[_0x31c02b(0x39c)](_0x1920a8)!==JSON[_0x31c02b(0x39c)](_0x8c1f73[_0x31c02b(0x1f0)])&&_0x2c2e2e['push'](_0x35e04c[_0x31c02b(0x32c)]([...I['view'](_0xc3260c,_0x8c1f73['id']),'config'],_0x8c1f73[_0x31c02b(0x1f0)],_0x1920a8)),_0x2c2e2e;}),_0x581980=Object[_0x15c07b(0x3aa)](_0x5b0cf8[_0x15c07b(0x162)])[_0x15c07b(0x1a8)](_0x118b9e=>Object['prototype'][_0x15c07b(0x15d)]['call'](_0x118b9e[_0x15c07b(0x3aa)],_0x4ef8f4)?[_0x35e04c['removeOp'](I['cell'](_0xc3260c,_0x118b9e['id'],_0x4ef8f4),_0x118b9e[_0x15c07b(0x3aa)][_0x4ef8f4])]:[]);return L([_0x35e04c[_0x15c07b(0x301)](I[_0x15c07b(0x293)](_0xc3260c,_0x4ef8f4),_0x5b0cf8[_0x15c07b(0x2e2)][_0x4ef8f4]),_0x35e04c[_0x15c07b(0x301)](I[_0x15c07b(0x2ad)](_0xc3260c,_0x1e907e),_0x4ef8f4),..._0x5d26bf,..._0x581980,...this['_deleteAttachmentResources'](_0x5b0cf8,_0xc3260c,_0x4acd5c=>_0x4acd5c[_0x15c07b(0x3bb)](_0x4ef8f4+'\x1f'))]);}[_0x1141d6(0x149)](_0x1c0ace,_0x422437,_0x42d3dc,_0x1375f6){const _0x452fea=_0x1141d6;let _0x137d41=_0x1c0ace['tables'][_0x422437][_0x452fea(0x2ad)],_0x1d2099=Kt(_0x137d41,_0x42d3dc,_0x1375f6);return _0x35e04c[_0x452fea(0x32c)]([_0x452fea(0x407),_0x422437,_0x452fea(0x2ad)],_0x137d41,_0x1d2099);}[_0x1141d6(0x367)](_0x4437b0,_0x375f29,_0x3f8f85,_0x5f5652=_0x4437b0[_0x1141d6(0x407)][_0x375f29][_0x1141d6(0x15f)]['length']){const _0x1df85b=_0x1141d6;return L([_0x35e04c[_0x1df85b(0x21e)](I['view'](_0x375f29,_0x3f8f85['id']),_0x3f8f85),_0x35e04c[_0x1df85b(0x21e)]([_0x1df85b(0x407),_0x375f29,_0x1df85b(0x15f),_0x5f5652],_0x3f8f85['id'])]);}[_0x1141d6(0x2d2)](_0x382a3c,_0x58e4d8,_0x14fa47,_0x2e7ccd){const _0x333416=_0x1141d6;return _0x35e04c[_0x333416(0x32c)]([...I[_0x333416(0x409)](_0x58e4d8,_0x14fa47),_0x333416(0x3a2)],_0x382a3c[_0x333416(0x407)][_0x58e4d8][_0x333416(0x23e)][_0x14fa47][_0x333416(0x3a2)],_0x2e7ccd);}[_0x1141d6(0x1fa)](_0xef8c96,_0xabece8,_0x1ec9d1){const _0x478819=_0x1141d6;let _0x57b638=_0xef8c96[_0x478819(0x407)][_0xabece8],_0x434341=_0x57b638['views'][_0x1ec9d1],_0x5abc7b=_0x57b638[_0x478819(0x15f)][_0x478819(0x24a)](_0x1ec9d1);return L([_0x35e04c[_0x478819(0x301)](I[_0x478819(0x409)](_0xabece8,_0x1ec9d1),_0x434341),_0x35e04c[_0x478819(0x301)](['tables',_0xabece8,_0x478819(0x15f),_0x5abc7b],_0x1ec9d1)]);}['moveView'](_0x17ca08,_0x1a380c,_0x4e5985,_0x28009f){const _0x420e15=_0x1141d6;let _0x561b80=_0x17ca08['tables'][_0x1a380c]['viewOrder'],_0x59171c=Kt(_0x561b80,_0x4e5985,{'beforeFieldId':_0x28009f[_0x420e15(0x1f5)],'afterFieldId':_0x28009f[_0x420e15(0x333)]});return _0x35e04c[_0x420e15(0x32c)](['tables',_0x1a380c,_0x420e15(0x15f)],_0x561b80,_0x59171c);}[_0x1141d6(0x23f)](_0x33d3b5,_0xbaba3d,_0x2d7ad8,_0x5ceb4a){const _0x3e762f=_0x1141d6;var _0x4eef5a;let _0x35e48b=(_0x4eef5a=_0x33d3b5['tables'][_0xbaba3d]['views'][_0x2d7ad8][_0x3e762f(0x1f0)])==null?{}:_0x4eef5a,_0x17d1a1={..._0x35e48b,..._0x5ceb4a};return Object[_0x3e762f(0x1ef)](_0x5ceb4a)[_0x3e762f(0x2e8)](_0xcf98dd=>{_0x5ceb4a[_0xcf98dd]===void 0x0&&delete _0x17d1a1[_0xcf98dd];}),_0x35e04c[_0x3e762f(0x32c)]([...I[_0x3e762f(0x409)](_0xbaba3d,_0x2d7ad8),'config'],_0x35e48b,_0x17d1a1);}[_0x1141d6(0x30f)](_0x3c7ce6,_0x717fff,_0x4097cb,_0x27fc51){const _0x4b2014=_0x1141d6;return this['_replaceOptional']([...I[_0x4b2014(0x409)](_0x717fff,_0x4097cb),_0x4b2014(0x385)],_0x3c7ce6[_0x4b2014(0x407)][_0x717fff][_0x4b2014(0x23e)][_0x4097cb][_0x4b2014(0x385)],_0x27fc51);}[_0x1141d6(0x27e)](_0x34f412,_0x1b0af7,_0x21a57e,_0x311753){const _0x500d94=_0x1141d6;return this[_0x500d94(0x2ba)]([...I[_0x500d94(0x409)](_0x1b0af7,_0x21a57e),'sort'],_0x34f412[_0x500d94(0x407)][_0x1b0af7]['views'][_0x21a57e][_0x500d94(0x3b6)],_0x311753);}['setViewGroup'](_0x2ad2bb,_0x2ef23a,_0xe1b22b,_0x2488f4){const _0x13ee7e=_0x1141d6;return this['_replaceOptional']([...I['view'](_0x2ef23a,_0xe1b22b),_0x13ee7e(0x18c)],_0x2ad2bb[_0x13ee7e(0x407)][_0x2ef23a][_0x13ee7e(0x23e)][_0xe1b22b][_0x13ee7e(0x18c)],_0x2488f4);}[_0x1141d6(0x3e4)](_0x308162,_0x3835b2,_0x12ad4f,_0xbf0cef,_0x500c14){return this['_setViewFieldSetting'](_0x308162,_0x3835b2,_0x12ad4f,_0xbf0cef,{'hidden':!_0x500c14});}[_0x1141d6(0x2d5)](_0x4fd45f,_0x3cad34,_0x2eada6,_0x9a9eb7,_0x393a78){return this['_setViewFieldSetting'](_0x4fd45f,_0x3cad34,_0x2eada6,_0x9a9eb7,{'width':_0x393a78});}['setViewFieldOrder'](_0x41f82a,_0x260c62,_0x479fce,_0x550247,_0x3d5c9e){const _0x5739c8=_0x1141d6;var _0x36b6e3;let _0x34073d=_0x41f82a['tables'][_0x260c62][_0x5739c8(0x23e)][_0x479fce],_0x50128d=Kt((_0x36b6e3=_0x34073d['fieldOrder'])==null?_0x41f82a[_0x5739c8(0x407)][_0x260c62]['fieldOrder']:_0x36b6e3,_0x550247,_0x3d5c9e);return this['_replaceOptional']([...I[_0x5739c8(0x409)](_0x260c62,_0x479fce),_0x5739c8(0x2ad)],_0x34073d[_0x5739c8(0x2ad)],_0x50128d);}['_setViewFieldSetting'](_0x46d7cb,_0x4c6467,_0x5e2b69,_0x539394,_0x214eb9){const _0x407963=_0x1141d6;var _0x4349ad;let _0x305456=(_0x4349ad=_0x46d7cb[_0x407963(0x407)][_0x4c6467][_0x407963(0x23e)][_0x5e2b69][_0x407963(0x3c9)])==null?{}:_0x4349ad,_0x1f1223={..._0x305456,[_0x539394]:{..._0x305456[_0x539394],..._0x214eb9}};return this[_0x407963(0x2ba)]([...I[_0x407963(0x409)](_0x4c6467,_0x5e2b69),'fieldSettings'],_0x46d7cb[_0x407963(0x407)][_0x4c6467][_0x407963(0x23e)][_0x5e2b69][_0x407963(0x3c9)],_0x1f1223);}[_0x1141d6(0x2c3)](_0x519a1c,_0x4552e7,_0xcb8fb7){const _0x308a00=_0x1141d6;let _0x10e77e=_0x519a1c[_0x308a00(0x407)][_0x4552e7],_0x389404=new Set(_0xcb8fb7[_0x308a00(0x220)](_0x1d1c8b=>_0x1d1c8b['id'])),_0x2b72a4=[...Object[_0x308a00(0x3aa)](_0x10e77e[_0x308a00(0x162)])[_0x308a00(0x385)](_0x540e86=>!_0x389404[_0x308a00(0x325)](_0x540e86['id'])),..._0xcb8fb7][_0x308a00(0x3b6)]((_0xe597fe,_0x101493)=>{const _0xce2965=_0x308a00;var _0x57b6a8,_0x439f1c;return String((_0x57b6a8=_0xe597fe[_0xce2965(0x2c0)])==null?_0xe597fe['id']:_0x57b6a8)['localeCompare'](String((_0x439f1c=_0x101493[_0xce2965(0x2c0)])==null?_0x101493['id']:_0x439f1c));})[_0x308a00(0x220)](_0x29d111=>_0x29d111['id']),_0x51a8b8=[...I[_0x308a00(0x305)](_0x4552e7),_0x308a00(0x19d)];return _0x10e77e[_0x308a00(0x19d)]?_0x35e04c['replaceOp'](_0x51a8b8,_0x10e77e[_0x308a00(0x19d)],_0x2b72a4):_0x35e04c['insertOp'](_0x51a8b8,_0x2b72a4);}[_0x1141d6(0x1bc)](_0x27021d,_0x4fb6b3,_0x34d439,_0x1ee330){const _0x574946=_0x1141d6;var _0xed3900,_0x168712,_0x1abe33,_0x3a433d;let _0x5a329a=E(_0x27021d['tables'][_0x4fb6b3]),_0x5dc022=String((_0xed3900=(_0x168712=_0x1ee330[_0x574946(0x1f0)])==null?void 0x0:_0x168712['formula'])==null?'':_0xed3900)[_0x574946(0x369)](),_0x54ec4b=(_0x1abe33=_0x5a329a[_0x574946(0x22b)])==null?void 0x0:_0x1abe33[_0x34d439];if(_0x54ec4b==null)return[];let _0x30fc91=(_0x3a433d=_0x5a329a[_0x574946(0x19d)])==null?Object[_0x574946(0x1ef)](_0x5a329a['records']):_0x3a433d,_0x2fb0fc=_0x30fc91['map'](_0x171264=>{var _0x559960;return(_0x559960=_0x5a329a['rowIndex'])==null?void 0x0:_0x559960[_0x171264];})[_0x574946(0x236)](_0x3c9db6=>_0x3c9db6!=null);return _0x30fc91['flatMap'](_0x370808=>{const _0x3a5fb5=_0x574946;var _0x207aba,_0x1d4454;let _0x379dc6=(_0x207aba=_0x5a329a[_0x3a5fb5(0x241)])==null?void 0x0:_0x207aba[_0x370808];if(_0x379dc6==null)return[];let _0x35bdfd=(_0x1d4454=_0x5a329a['cellData'])==null||(_0x1d4454=_0x1d4454[_0x379dc6])==null?void 0x0:_0x1d4454[_0x54ec4b],_0x2139d2=_0x5dc022?_0x379dc6===_0x2fb0fc?{'f':_0x5dc022,'si':_0x34d439}:{'si':_0x34d439}:{'v':null,'t':null};return[this[_0x3a5fb5(0x2ba)](I[_0x3a5fb5(0x33c)](_0x4fb6b3,_0x379dc6,_0x54ec4b),_0x35bdfd,_0x2139d2)];});}[_0x1141d6(0x338)](_0x3f0065,_0xc3607c,_0x66c594,_0x490268,_0x4bfcd4){const _0xab176d=_0x1141d6;var _0x5bf36c;let _0x2be26e=Me(_0x490268,_0x66c594),_0x41c879=_0x4bfcd4[_0xab176d(0x220)]((_0x3c7fd5,_0x33ae82)=>{var _0x3226f7;return String((_0x3226f7=_0x3c7fd5['id'])==null?_0x2be26e+'\x1f'+_0x33ae82:_0x3226f7);});return[this[_0xab176d(0x2ba)](I['attachmentSet'](_0xc3607c,_0x2be26e),(_0x5bf36c=_0x3f0065[_0xab176d(0x389)])==null||(_0x5bf36c=_0x5bf36c[_0xab176d(0x36c)])==null?void 0x0:_0x5bf36c[_0x2be26e],_0x41c879),..._0x4bfcd4[_0xab176d(0x220)]((_0x1e2d3,_0x258b3c)=>{const _0x254e80=_0xab176d;var _0x1cfe47;let _0x35d160=_0x41c879[_0x258b3c];return this[_0x254e80(0x2ba)](I[_0x254e80(0x3ee)](_0xc3607c,_0x35d160),(_0x1cfe47=_0x3f0065['resources'])==null||(_0x1cfe47=_0x1cfe47[_0x254e80(0x33b)])==null?void 0x0:_0x1cfe47[_0x35d160],{..._0x1e2d3,'id':_0x35d160});})];}[_0x1141d6(0x199)](_0xe33d33,_0x387902,_0x4ab3a2){const _0x250702=_0x1141d6;var _0x3f5b74,_0x500cef;let _0x19ab3a=(_0x3f5b74=(_0x500cef=_0xe33d33[_0x250702(0x389)])==null?void 0x0:_0x500cef[_0x250702(0x36c)])==null?{}:_0x3f5b74,_0x7e3ef0=Object['entries'](_0x19ab3a)[_0x250702(0x385)](([_0x113e80])=>_0x4ab3a2(_0x113e80));if(!_0x7e3ef0[_0x250702(0x3e1)])return[];let _0x1d3aa3=new Set(Object[_0x250702(0x34d)](_0x19ab3a)['filter'](([_0x10dcff])=>!_0x4ab3a2(_0x10dcff))['flatMap'](([,_0x3c4dfc])=>_0x3c4dfc)),_0x14b3fb=new Set(_0x7e3ef0[_0x250702(0x1a8)](([,_0x3831b4])=>_0x3831b4));return[..._0x7e3ef0[_0x250702(0x220)](([_0x5cc54e,_0x4dfee3])=>_0x35e04c[_0x250702(0x301)](I['attachmentSet'](_0x387902,_0x5cc54e),_0x4dfee3)),...Array['from'](_0x14b3fb)[_0x250702(0x1a8)](_0x4f9d5d=>{const _0x17dcef=_0x250702;var _0x5e05c3;let _0x55e459=(_0x5e05c3=_0xe33d33[_0x17dcef(0x389)])==null||(_0x5e05c3=_0x5e05c3[_0x17dcef(0x33b)])==null?void 0x0:_0x5e05c3[_0x4f9d5d];return _0x55e459!==void 0x0&&!_0x1d3aa3[_0x17dcef(0x325)](_0x4f9d5d)?[_0x35e04c[_0x17dcef(0x301)](I[_0x17dcef(0x3ee)](_0x387902,_0x4f9d5d),_0x55e459)]:[];})];}[_0x1141d6(0x2ba)](_0x425890,_0x505949,_0x13d911){const _0x8de4ef=_0x1141d6;return _0x505949===void 0x0?_0x35e04c[_0x8de4ef(0x21e)](_0x425890,_0x13d911):_0x35e04c[_0x8de4ef(0x32c)](_0x425890,_0x505949,_0x13d911);}};function Wt(_0x5650ef,_0xb05050,_0x4200ae){const _0x5dcebd=_0x1141d6;var _0x573085,_0x7ad3d2,_0x4c7541,_0x5ab9eb;let _0x141c9b=(_0x573085=_0x5650ef[_0x5dcebd(0x241)])==null?void 0x0:_0x573085[_0xb05050],_0x1b6e7c=(_0x7ad3d2=_0x5650ef['colIndex'])==null?void 0x0:_0x7ad3d2[_0x4200ae];return _0x141c9b!=null&&_0x1b6e7c!=null&&((_0x4c7541=_0x5650ef[_0x5dcebd(0x378)])==null?void 0x0:_0x4c7541[_0x141c9b])===_0xb05050&&((_0x5ab9eb=_0x5650ef[_0x5dcebd(0x18b)])==null?void 0x0:_0x5ab9eb[_0x1b6e7c])===_0x4200ae&&_0x5650ef['cellData']!=null;}function Gt(_0x2b6c3e,_0x1a2bb8,_0x481da7){const _0x235473=_0x1141d6;var _0x2c270d,_0x96b6b;return((_0x2c270d=_0x2b6c3e[_0x235473(0x378)])==null?void 0x0:_0x2c270d[_0x1a2bb8])!=null&&((_0x96b6b=_0x2b6c3e[_0x235473(0x18b)])==null?void 0x0:_0x96b6b[_0x481da7])!=null&&_0x2b6c3e[_0x235473(0x33c)]!=null;}function Kt(_0x59afdc,_0x1c2541,_0x4d279a){const _0xda88eb=_0x1141d6;let _0x3cc87b=_0x59afdc[_0xda88eb(0x385)](_0x419216=>_0x419216!==_0x1c2541),_0x346d85=_0x4d279a['beforeFieldId']?_0x3cc87b['indexOf'](_0x4d279a[_0xda88eb(0x3d0)]):_0x4d279a[_0xda88eb(0x313)]?_0x3cc87b[_0xda88eb(0x24a)](_0x4d279a['afterFieldId'])+0x1:_0x3cc87b[_0xda88eb(0x3e1)];return _0x3cc87b[_0xda88eb(0x255)](_0x346d85<0x0?_0x3cc87b[_0xda88eb(0x3e1)]:_0x346d85,0x0,_0x1c2541),_0x3cc87b;}function qt(_0x2fffff,_0x4057d0,_0x315a0f){const _0xa660b1=_0x1141d6;let _0x18b8db=_0x2fffff[_0xa660b1(0x385)](_0xaf4335=>_0xaf4335!==_0x4057d0);return _0x18b8db['splice'](Yt(_0x315a0f,_0x18b8db['length']),0x0,_0x4057d0),_0x18b8db;}function Jt(_0xef755d,_0x48a256,_0x1250c3){const _0x26f331=_0x1141d6;if(Array[_0x26f331(0x28a)](_0xef755d))return _0x1250c3===_0x26f331(0x146)?_0xef755d[_0x26f331(0x385)](_0x5b9d91=>_0x5b9d91!==_0x48a256):_0xef755d['flatMap'](_0x89895c=>{const _0x41bfbe=_0x26f331;if(_0x89895c&&typeof _0x89895c=='object'&&!Array[_0x41bfbe(0x28a)](_0x89895c)&&_0x89895c[_0x41bfbe(0x1be)]===_0x48a256)return[];let _0x4a09dc=Jt(_0x89895c,_0x48a256);return _0x4a09dc===void 0x0?[]:[_0x4a09dc];});if(!_0xef755d||typeof _0xef755d!=_0x26f331(0x371))return _0x1250c3!=null&&_0x1250c3[_0x26f331(0x156)](_0x26f331(0x1fc))&&_0xef755d===_0x48a256?void 0x0:_0xef755d;let _0x34813d=_0xef755d;if(_0x34813d[_0x26f331(0x1be)]!==_0x48a256)return Object[_0x26f331(0x176)](Object['entries'](_0x34813d)[_0x26f331(0x1a8)](([_0xd580ea,_0x9b82a4])=>{const _0x4e3558=_0x26f331;if(_0xd580ea===_0x48a256&&_0x1250c3===_0x4e3558(0x3c9))return[];let _0x2e917d=Jt(_0x9b82a4,_0x48a256,_0xd580ea);return _0x2e917d===void 0x0?[]:[[_0xd580ea,_0x2e917d]];}));}function Yt(_0x450f69,_0x594a13){const _0x1be563=_0x1141d6;return Math[_0x1be563(0x248)](0x0,Math[_0x1be563(0x2d8)](_0x450f69,_0x594a13));}function Xt(_0x2465f0,_0x54379c,_0x142a55){const _0x5e6d2d=_0x1141d6;if(!_0x2465f0||!_0x54379c||_0x54379c===_0x142a55)return _0x2465f0;let _0x4e9abf='',_0x262614=!0x1,_0x2382ee=_0x54379c[_0x5e6d2d(0x2ae)]();for(let _0x7f37bb=0x0;_0x7f37bb<_0x2465f0['length'];){let _0x69d1f3=_0x2465f0[_0x7f37bb];if(_0x69d1f3==='\x22'){if(_0x262614&&_0x2465f0[_0x7f37bb+0x1]==='\x22'){_0x4e9abf+='\x22\x22',_0x7f37bb+=0x2;continue;}_0x262614=!_0x262614,_0x4e9abf+=_0x69d1f3,_0x7f37bb++;continue;}if(!_0x262614&&_0x2465f0['slice'](_0x7f37bb,_0x7f37bb+_0x54379c['length'])[_0x5e6d2d(0x2ae)]()===_0x2382ee&&Zt(_0x2465f0,_0x7f37bb,_0x54379c['length'])){_0x4e9abf+=_0x142a55,_0x7f37bb+=_0x54379c[_0x5e6d2d(0x3e1)];continue;}_0x4e9abf+=_0x69d1f3,_0x7f37bb++;}return _0x4e9abf;}function Zt(_0xbf36ed,_0x21e142,_0x27f089){const _0x5116e4=_0x1141d6;var _0x1f096e;let _0x5b5c0b=_0xbf36ed[_0x21e142-0x1];if(_0x5b5c0b&&/[\w.]/[_0x5116e4(0x396)](_0x5b5c0b))return!0x1;let _0x48c4e8=_0x21e142+_0x27f089;for(;/\s/[_0x5116e4(0x396)]((_0x1f096e=_0xbf36ed[_0x48c4e8])==null?'':_0x1f096e);)_0x48c4e8++;return _0xbf36ed[_0x48c4e8]==='[';}function z(_0x135f3a){'@babel/helpers - typeof';const _0x10c6c5=_0x1141d6;return z=typeof Symbol==_0x10c6c5(0x360)&&typeof Symbol[_0x10c6c5(0x34f)]==_0x10c6c5(0x2b4)?function(_0x32d3a1){return typeof _0x32d3a1;}:function(_0x2c694b){const _0x1d2cc9=_0x10c6c5;return _0x2c694b&&typeof Symbol==_0x1d2cc9(0x360)&&_0x2c694b[_0x1d2cc9(0x217)]===Symbol&&_0x2c694b!==Symbol['prototype']?'symbol':typeof _0x2c694b;},z(_0x135f3a);}function Qt(_0x4e51d3,_0x54bb5b){const _0x51f95c=_0x1141d6;if(z(_0x4e51d3)!=_0x51f95c(0x371)||!_0x4e51d3)return _0x4e51d3;var _0x4e47f6=_0x4e51d3[Symbol[_0x51f95c(0x2ab)]];if(_0x4e47f6!==void 0x0){var _0x28249c=_0x4e47f6['call'](_0x4e51d3,_0x54bb5b||_0x51f95c(0x3cf));if(z(_0x28249c)!=_0x51f95c(0x371))return _0x28249c;throw TypeError(_0x51f95c(0x20b));}return(_0x54bb5b===_0x51f95c(0x222)?String:Number)(_0x4e51d3);}function $t(_0x18f0c7){const _0x1a94e0=_0x1141d6;var _0x143076=Qt(_0x18f0c7,_0x1a94e0(0x222));return z(_0x143076)==_0x1a94e0(0x2b4)?_0x143076:_0x143076+'';}function B(_0x2815a2,_0x3ebc0f,_0x163c04){return(_0x3ebc0f=$t(_0x3ebc0f))in _0x2815a2?Object['defineProperty'](_0x2815a2,_0x3ebc0f,{'value':_0x163c04,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x2815a2[_0x3ebc0f]=_0x163c04,_0x2815a2;}const en=_0x5a5c3d(_0x1141d6(0x178));var tn=class extends _0x2d3cca{constructor(..._0xacce2e){const _0xa4f4f4=_0x1141d6;super(..._0xacce2e),B(this,_0xa4f4f4(0x1d0),new Map());}[_0x1141d6(0x1ea)](_0x502992){const _0x4c48f1=_0x1141d6;return this[_0x4c48f1(0x1d0)][_0x4c48f1(0x353)](_0x502992['type'],_0x502992),_0x43f94b(()=>this[_0x4c48f1(0x1d0)]['delete'](_0x502992[_0x4c48f1(0x157)]));}[_0x1141d6(0x13c)](_0x446f2a){const _0x2c8814=_0x1141d6;let _0x2d807c=this[_0x2c8814(0x1d0)][_0x2c8814(0x13c)](_0x446f2a);if(!_0x2d807c)throw Error('[BaseFieldRegistryService]:\x20field\x20type\x20\x22'+_0x446f2a+_0x2c8814(0x2e7));return _0x2d807c;}[_0x1141d6(0x296)](_0x1c42f6){const _0x157124=_0x1141d6;return this[_0x157124(0x1d0)][_0x157124(0x13c)](_0x1c42f6);}[_0x1141d6(0x2b7)](){const _0x4bcf1b=_0x1141d6;return Array['from'](this[_0x4bcf1b(0x1d0)][_0x4bcf1b(0x3aa)]());}};const nn=_0x5a5c3d('base.permission.service');var rn=class{constructor(){const _0x387565=_0x1141d6;B(this,_0x387565(0x348),new Map()),B(this,'_tablePermissions',new Map()),B(this,'_fieldPermissions',new Map()),B(this,'_recordPermissions',new Map());}[_0x1141d6(0x37d)](_0x1bf31e){const _0x56c05d=_0x1141d6;var _0x164a7a,_0x40ff5d;return(_0x164a7a=(_0x40ff5d=this[_0x56c05d(0x348)]['get'](_0x1bf31e))==null?void 0x0:_0x40ff5d[_0x56c05d(0x35b)])==null?!0x0:_0x164a7a;}['canDeleteTable'](_0x3fc70f){const _0x1eeef2=_0x1141d6;var _0x3e7f60,_0x29e2bd;return(_0x3e7f60=(_0x29e2bd=this[_0x1eeef2(0x327)][_0x1eeef2(0x13c)](_0x3fc70f))==null?void 0x0:_0x29e2bd['delete'])==null?!0x0:_0x3e7f60;}['canCreateField'](_0x37a529){const _0x5bbe55=_0x1141d6;var _0x25c93c,_0x1e3bbd;return(_0x25c93c=(_0x1e3bbd=this[_0x5bbe55(0x327)]['get'](_0x37a529))==null?void 0x0:_0x1e3bbd[_0x5bbe55(0x14e)])==null?!0x0:_0x25c93c;}[_0x1141d6(0x257)](_0x2d9839,_0x5695ad){const _0x28dada=_0x1141d6;var _0x1b2ca0,_0x43ea55;return(_0x1b2ca0=(_0x43ea55=this[_0x28dada(0x13d)][_0x28dada(0x13c)](V(_0x2d9839,_0x5695ad)))==null?void 0x0:_0x43ea55[_0x28dada(0x195)])==null?!0x0:_0x1b2ca0;}[_0x1141d6(0x339)](_0x12667b,_0x571fe7){const _0x39d346=_0x1141d6;var _0x18134f,_0x4b9214;return(_0x18134f=(_0x4b9214=this[_0x39d346(0x13d)][_0x39d346(0x13c)](V(_0x12667b,_0x571fe7)))==null?void 0x0:_0x4b9214['delete'])==null?!0x0:_0x18134f;}[_0x1141d6(0x27c)](_0x910d8e){const _0x494dea=_0x1141d6;var _0x26915e,_0x4ca6b1;return(_0x26915e=(_0x4ca6b1=this[_0x494dea(0x327)][_0x494dea(0x13c)](_0x910d8e))==null?void 0x0:_0x4ca6b1[_0x494dea(0x337)])==null?!0x0:_0x26915e;}[_0x1141d6(0x3a3)](_0x2bfff6,_0x3ebb9c){const _0x1a0d31=_0x1141d6;var _0x3b2679,_0x48bcbc;return(_0x3b2679=(_0x48bcbc=this[_0x1a0d31(0x368)][_0x1a0d31(0x13c)](an(_0x2bfff6,_0x3ebb9c)))==null?void 0x0:_0x48bcbc['delete'])==null?!0x0:_0x3b2679;}[_0x1141d6(0x2bf)](_0x2405c6,_0x23c0d0,_0x37c106){const _0x4a2612=_0x1141d6;var _0x4fba84,_0x2090ab,_0x51673b,_0x1a72eb;let _0x1eca3b=this[_0x4a2612(0x13d)][_0x4a2612(0x13c)](V(_0x2405c6,_0x37c106));return((_0x4fba84=(_0x2090ab=this[_0x4a2612(0x368)][_0x4a2612(0x13c)](an(_0x2405c6,_0x23c0d0)))==null?void 0x0:_0x2090ab[_0x4a2612(0x3db)])==null?!0x0:_0x4fba84)&&((_0x51673b=_0x1eca3b==null?void 0x0:_0x1eca3b[_0x4a2612(0x195)])==null?!0x0:_0x51673b)&&((_0x1a72eb=_0x1eca3b==null?void 0x0:_0x1eca3b[_0x4a2612(0x3db)])==null?!0x0:_0x1a72eb);}[_0x1141d6(0x184)](_0x451351){const _0x1e5c6e=_0x1141d6;var _0x29a80d,_0x13deae;return(_0x29a80d=(_0x13deae=this[_0x1e5c6e(0x327)][_0x1e5c6e(0x13c)](_0x451351))==null?void 0x0:_0x13deae[_0x1e5c6e(0x2ef)])==null?!0x0:_0x29a80d;}[_0x1141d6(0x30b)](_0x11f323,_0x52301f){const _0x2507d9=_0x1141d6;this[_0x2507d9(0x348)][_0x2507d9(0x353)](_0x11f323,{...this[_0x2507d9(0x348)][_0x2507d9(0x13c)](_0x11f323),..._0x52301f});}[_0x1141d6(0x2d1)](_0x58982a,_0x243258){const _0x368179=_0x1141d6;this[_0x368179(0x327)]['set'](_0x58982a,{...this[_0x368179(0x327)][_0x368179(0x13c)](_0x58982a),..._0x243258});}[_0x1141d6(0x1ac)](_0x11c61d,_0x22b92d,_0x4477e4){const _0x18a750=_0x1141d6;let _0x3c0b99=V(_0x11c61d,_0x22b92d);this[_0x18a750(0x13d)][_0x18a750(0x353)](_0x3c0b99,{...this[_0x18a750(0x13d)][_0x18a750(0x13c)](_0x3c0b99),..._0x4477e4});}[_0x1141d6(0x2b0)](_0x40f59d,_0x596300,_0x9efaa){const _0x5b7b11=_0x1141d6;let _0x5ae39d=an(_0x40f59d,_0x596300);this[_0x5b7b11(0x368)]['set'](_0x5ae39d,{...this['_recordPermissions']['get'](_0x5ae39d),..._0x9efaa});}['clearBasePermission'](_0x44b365){const _0x492cbe=_0x1141d6;this[_0x492cbe(0x348)][_0x492cbe(0x32f)](_0x44b365);}[_0x1141d6(0x245)](_0x783ea9){const _0x7cde3b=_0x1141d6;this[_0x7cde3b(0x327)]['delete'](_0x783ea9);}[_0x1141d6(0x14c)](_0x22cb3c,_0xbbfa47){const _0x1c0ea0=_0x1141d6;this[_0x1c0ea0(0x13d)][_0x1c0ea0(0x32f)](V(_0x22cb3c,_0xbbfa47));}['clearRecordPermission'](_0x51ec40,_0x451ee6){const _0x58d7da=_0x1141d6;this[_0x58d7da(0x368)][_0x58d7da(0x32f)](an(_0x51ec40,_0x451ee6));}['getSnapshot'](){const _0xe70c73=_0x1141d6;return{'bases':Object['fromEntries'](this[_0xe70c73(0x348)]),'tables':Object[_0xe70c73(0x176)](this[_0xe70c73(0x327)]),'fields':Object[_0xe70c73(0x176)](this[_0xe70c73(0x13d)]),'records':Object[_0xe70c73(0x176)](this[_0xe70c73(0x368)])};}};function V(_0x9c86ec,_0x470751){return _0x9c86ec+'\x1f'+_0x470751;}function an(_0x45fb2e,_0x73bd27){return _0x45fb2e+'\x1f'+_0x73bd27;}function H(_0x5dad34,_0x422698){return function(_0x480794,_0x495485){_0x422698(_0x480794,_0x495485,_0x5dad34);};}function U(_0x2ecef9,_0x5e199c,_0x204032,_0x127aa9){const _0x3d7cd5=_0x1141d6;var _0x12c17b=arguments[_0x3d7cd5(0x3e1)],_0x406ba8=_0x12c17b<0x3?_0x5e199c:_0x127aa9===null?_0x127aa9=Object[_0x3d7cd5(0x223)](_0x5e199c,_0x204032):_0x127aa9,_0x8a90e6;if(typeof Reflect==_0x3d7cd5(0x371)&&typeof Reflect['decorate']=='function')_0x406ba8=Reflect[_0x3d7cd5(0x3e2)](_0x2ecef9,_0x5e199c,_0x204032,_0x127aa9);else{for(var _0x50d996=_0x2ecef9['length']-0x1;_0x50d996>=0x0;_0x50d996--)(_0x8a90e6=_0x2ecef9[_0x50d996])&&(_0x406ba8=(_0x12c17b<0x3?_0x8a90e6(_0x406ba8):_0x12c17b>0x3?_0x8a90e6(_0x5e199c,_0x204032,_0x406ba8):_0x8a90e6(_0x5e199c,_0x204032))||_0x406ba8);}return _0x12c17b>0x3&&_0x406ba8&&Object[_0x3d7cd5(0x230)](_0x5e199c,_0x204032,_0x406ba8),_0x406ba8;}const W=_0x5a5c3d(_0x1141d6(0x379));let on=class{constructor(_0x5846d4,_0x47a89b=sn(),_0x28e658={}){const _0x1b43ea=_0x1141d6;this[_0x1b43ea(0x310)]=_0x5846d4,this[_0x1b43ea(0x2c4)]=_0x47a89b,this[_0x1b43ea(0x3cb)]=_0x28e658,B(this,_0x1b43ea(0x357),new R()),B(this,_0x1b43ea(0x3d7),new A());}[_0x1141d6(0x35b)](_0xb26bba,_0x5363bc,_0x14a617){const _0x33aa6f=_0x1141d6;if(!this[_0x33aa6f(0x310)][_0x33aa6f(0x37d)](_0xb26bba[_0x33aa6f(0x3d8)]()))throw Error('[BaseCommandService]:\x20cannot\x20create\x20table.');this['_apply'](_0xb26bba,this[_0x33aa6f(0x357)]['createTable'](_0xb26bba['getSnapshot'](),_0x5363bc,_0x14a617));}['renameTable'](_0x358971,_0x3f0eee,_0x12382d){const _0x95f76a=_0x1141d6;this[_0x95f76a(0x28d)](_0x358971,this[_0x95f76a(0x357)][_0x95f76a(0x38a)](_0x358971[_0x95f76a(0x2a8)](),_0x3f0eee,_0x12382d));}[_0x1141d6(0x251)](_0x5414d7,_0x489c94){const _0x314c95=_0x1141d6;if(!this[_0x314c95(0x310)][_0x314c95(0x17b)](_0x489c94))throw Error(_0x314c95(0x349));this[_0x314c95(0x28d)](_0x5414d7,this[_0x314c95(0x357)]['deleteTable'](_0x5414d7[_0x314c95(0x2a8)](),_0x489c94));}[_0x1141d6(0x2e6)](_0x540f71,_0x4e9189,_0x249a13,_0x100f93,_0x20c863){const _0x1652e3=_0x1141d6;this[_0x1652e3(0x28d)](_0x540f71,this[_0x1652e3(0x2d9)](_0x540f71,_0x4e9189,_0x249a13,_0x100f93,_0x20c863));}[_0x1141d6(0x250)](_0xb82d92,_0x4b3216,_0x196925){const _0x4e74a6=_0x1141d6;this[_0x4e74a6(0x28d)](_0xb82d92,this[_0x4e74a6(0x2c2)](_0xb82d92,_0x4b3216,_0x196925));}[_0x1141d6(0x337)](_0x46b587,_0x548a4b,_0x4bf372){const _0x43090d=_0x1141d6;this[_0x43090d(0x28d)](_0x46b587,this[_0x43090d(0x2b9)](_0x46b587,_0x548a4b,_0x4bf372));}[_0x1141d6(0x2d9)](_0x101f2f,_0xe38bcb,_0x48fe48,_0x24e307,_0x8abc5e){const _0x5dd24e=_0x1141d6;let _0xd80739=_0x101f2f[_0x5dd24e(0x2a8)](),_0x293c29=this[_0x5dd24e(0x383)](_0xd80739,_0xe38bcb,_0x48fe48,_0x24e307,_0x8abc5e),_0x317429=this['_withModifiedSystemValues'](_0xd80739,_0xe38bcb,_0x48fe48,{[_0x24e307]:_0x293c29});return this[_0x5dd24e(0x357)][_0x5dd24e(0x250)](_0xd80739,_0xe38bcb,[_0x317429]);}[_0x1141d6(0x2c2)](_0x176e90,_0x2b3748,_0x1f7996){const _0x5b11c7=_0x1141d6;let _0x3fb213=_0x176e90[_0x5b11c7(0x2a8)](),_0x2e9faf=_0x1f7996[_0x5b11c7(0x220)](_0x497080=>this[_0x5b11c7(0x29c)](_0x3fb213,_0x2b3748,_0x497080['recordId'],{...Object[_0x5b11c7(0x176)](Object[_0x5b11c7(0x34d)](_0x497080['values'])['map'](([_0x3ea80f,_0x1b369f])=>[_0x3ea80f,this[_0x5b11c7(0x383)](_0x3fb213,_0x2b3748,_0x497080[_0x5b11c7(0x201)],_0x3ea80f,_0x1b369f)]))}));return this[_0x5b11c7(0x357)][_0x5b11c7(0x250)](_0x3fb213,_0x2b3748,_0x2e9faf);}[_0x1141d6(0x2b9)](_0x248ffe,_0xed306a,_0x39fd7e){const _0x3f275b=_0x1141d6;if(!this['_permissionService'][_0x3f275b(0x27c)](_0xed306a))throw Error(_0x3f275b(0x26d));let _0x5ed77f=_0x248ffe[_0x3f275b(0x2a8)](),_0x5a5569=this['_createNumberingAllocators'](_0x5ed77f[_0x3f275b(0x407)][_0xed306a]);return this[_0x3f275b(0x357)][_0x3f275b(0x337)](_0x5ed77f,_0xed306a,this[_0x3f275b(0x159)](_0x5ed77f,_0xed306a,_0x39fd7e,_0x5a5569));}[_0x1141d6(0x3fb)](_0x529189,_0x2c29f8,_0x26d8e8){const _0x33cad8=_0x1141d6;if(!this[_0x33cad8(0x310)][_0x33cad8(0x27c)](_0x2c29f8))throw Error(_0x33cad8(0x26d));let _0x5c3039=_0x529189[_0x33cad8(0x2a8)](),_0x3c1181=this[_0x33cad8(0x179)](_0x5c3039['tables'][_0x2c29f8]);return this[_0x33cad8(0x357)][_0x33cad8(0x169)](_0x5c3039,_0x2c29f8,_0x26d8e8[_0x33cad8(0x220)](_0x3f5536=>this[_0x33cad8(0x159)](_0x5c3039,_0x2c29f8,_0x3f5536,_0x3c1181)));}[_0x1141d6(0x143)](_0x7adb0e,_0x1d3533,_0x2a328c,_0x3d5270,_0x4ed790){const _0x4ec5a9=_0x1141d6;if(!this[_0x4ec5a9(0x310)][_0x4ec5a9(0x363)](_0x1d3533))throw Error(_0x4ec5a9(0x279));let _0x1bb88b=_0x7adb0e[_0x4ec5a9(0x2a8)](),_0x327c28=this[_0x4ec5a9(0x357)][_0x4ec5a9(0x14e)](_0x1bb88b,_0x1d3533,{'field':_0x2a328c,'index':_0x3d5270,'viewIndexes':_0x4ed790}),_0x340675=this[_0x4ec5a9(0x3bf)](_0x1bb88b,_0x1d3533,_0x2a328c);if(!_0x340675[_0x4ec5a9(0x3e1)])return _0x327c28;let _0x5a4f81=this[_0x4ec5a9(0x3d7)][_0x4ec5a9(0x35c)](_0x1bb88b,_0x327c28);return L([_0x327c28,this['_factory'][_0x4ec5a9(0x250)](_0x5a4f81,_0x1d3533,_0x340675)]);}[_0x1141d6(0x3af)](_0x59b5f0,_0x183732,_0x1bda5a){const _0x455e27=_0x1141d6;if(!this[_0x455e27(0x310)][_0x455e27(0x3a3)](_0x183732,_0x1bda5a))throw Error('[BaseCommandService]:\x20cannot\x20delete\x20record.');this[_0x455e27(0x28d)](_0x59b5f0,this[_0x455e27(0x357)][_0x455e27(0x3af)](_0x59b5f0[_0x455e27(0x2a8)](),_0x183732,_0x1bda5a));}[_0x1141d6(0x3fa)](_0x3c4ca9,_0x58ebd7,_0x5214fa,_0x2bb112){const _0xdb9209=_0x1141d6;this[_0xdb9209(0x28d)](_0x3c4ca9,this['_factory']['duplicateRecord'](_0x3c4ca9[_0xdb9209(0x2a8)](),_0x58ebd7,_0x5214fa,_0x2bb112));}['updateRecordOrder'](_0x543656,_0x581df3,_0x4d8923,_0x236838){const _0x52d752=_0x1141d6;this['_apply'](_0x543656,this[_0x52d752(0x357)][_0x52d752(0x297)](_0x543656[_0x52d752(0x2a8)](),_0x581df3,_0x4d8923,_0x236838));}['createField'](_0x1f1968,_0x246105,_0x2453ce,_0x199fff,_0x35e73a){this['_apply'](_0x1f1968,this['createCreateFieldOp'](_0x1f1968,_0x246105,_0x2453ce,_0x199fff,_0x35e73a));}['updateField'](_0x5c8f55,_0x20d19a,_0x4a630c,_0x284058){const _0x3531ad=_0x1141d6;if(!this[_0x3531ad(0x310)]['canEditField'](_0x20d19a,_0x4a630c))throw Error(_0x3531ad(0x242));this[_0x3531ad(0x28d)](_0x5c8f55,this[_0x3531ad(0x357)][_0x3531ad(0x33e)](_0x5c8f55[_0x3531ad(0x2a8)](),_0x20d19a,_0x4a630c,_0x284058));}[_0x1141d6(0x33f)](_0x43ee69,_0x28782b,_0x1dc07e,_0x58dc1b){const _0x57f3ff=_0x1141d6;if(!this[_0x57f3ff(0x310)][_0x57f3ff(0x257)](_0x28782b,_0x1dc07e))throw Error(_0x57f3ff(0x242));this['_apply'](_0x43ee69,this[_0x57f3ff(0x357)][_0x57f3ff(0x33f)](_0x43ee69[_0x57f3ff(0x2a8)](),_0x28782b,_0x1dc07e,_0x58dc1b));}['deleteField'](_0x84eeb,_0x41209b,_0x1ba1c0){const _0x3e13e9=_0x1141d6;var _0x1613af;if(((_0x1613af=_0x84eeb[_0x3e13e9(0x2a8)]()[_0x3e13e9(0x407)][_0x41209b])==null?void 0x0:_0x1613af[_0x3e13e9(0x3a0)])===_0x1ba1c0)throw Error(_0x3e13e9(0x21a));if(!this[_0x3e13e9(0x310)][_0x3e13e9(0x339)](_0x41209b,_0x1ba1c0))throw Error(_0x3e13e9(0x34e));this[_0x3e13e9(0x28d)](_0x84eeb,this[_0x3e13e9(0x357)][_0x3e13e9(0x373)](_0x84eeb[_0x3e13e9(0x2a8)](),_0x41209b,_0x1ba1c0));}[_0x1141d6(0x149)](_0x130f27,_0x352bbe,_0x37b5b1,_0x5cc9a4){const _0x3cff18=_0x1141d6;if(!this[_0x3cff18(0x310)][_0x3cff18(0x257)](_0x352bbe,_0x37b5b1))throw Error(_0x3cff18(0x242));this[_0x3cff18(0x28d)](_0x130f27,this[_0x3cff18(0x357)][_0x3cff18(0x149)](_0x130f27['getSnapshot'](),_0x352bbe,_0x37b5b1,_0x5cc9a4));}[_0x1141d6(0x367)](_0x1fa012,_0xc20e6,_0x303b77,_0x141fa1){const _0x44e1ed=_0x1141d6;this[_0x44e1ed(0x28d)](_0x1fa012,this[_0x44e1ed(0x357)][_0x44e1ed(0x367)](_0x1fa012[_0x44e1ed(0x2a8)](),_0xc20e6,_0x303b77,_0x141fa1));}[_0x1141d6(0x2d2)](_0x2d288a,_0x241d7b,_0x31e1e3,_0x4e5806){const _0x685fc4=_0x1141d6;if(!this['_permissionService'][_0x685fc4(0x184)](_0x241d7b,_0x31e1e3))throw Error(_0x685fc4(0x16b));this[_0x685fc4(0x28d)](_0x2d288a,this[_0x685fc4(0x357)][_0x685fc4(0x2d2)](_0x2d288a[_0x685fc4(0x2a8)](),_0x241d7b,_0x31e1e3,_0x4e5806));}[_0x1141d6(0x1fa)](_0x4197db,_0x4b043d,_0x5bf434){const _0x16fabd=_0x1141d6;if(!this['_permissionService']['canManageView'](_0x4b043d,_0x5bf434))throw Error(_0x16fabd(0x16b));this[_0x16fabd(0x28d)](_0x4197db,this[_0x16fabd(0x357)][_0x16fabd(0x1fa)](_0x4197db[_0x16fabd(0x2a8)](),_0x4b043d,_0x5bf434));}[_0x1141d6(0x2f1)](_0x3d7edf,_0x48a85f,_0x3ae001,_0x1f6c02){const _0x13d270=_0x1141d6;if(!this[_0x13d270(0x310)][_0x13d270(0x184)](_0x48a85f,_0x3ae001))throw Error('[BaseCommandService]:\x20cannot\x20manage\x20view.');this[_0x13d270(0x28d)](_0x3d7edf,this[_0x13d270(0x357)][_0x13d270(0x2f1)](_0x3d7edf[_0x13d270(0x2a8)](),_0x48a85f,_0x3ae001,_0x1f6c02));}['updateViewConfig'](_0x5df53e,_0x412951,_0xa9acdf,_0x15c713){const _0x19d4e6=_0x1141d6;if(!this['_permissionService'][_0x19d4e6(0x184)](_0x412951,_0xa9acdf))throw Error('[BaseCommandService]:\x20cannot\x20manage\x20view.');this[_0x19d4e6(0x28d)](_0x5df53e,this[_0x19d4e6(0x357)]['updateViewConfig'](_0x5df53e[_0x19d4e6(0x2a8)](),_0x412951,_0xa9acdf,_0x15c713));}[_0x1141d6(0x30f)](_0x475896,_0x4c6741,_0x424849,_0x1e5160){const _0x106ac7=_0x1141d6;this[_0x106ac7(0x28d)](_0x475896,this[_0x106ac7(0x357)]['setViewFilter'](_0x475896['getSnapshot'](),_0x4c6741,_0x424849,_0x1e5160));}[_0x1141d6(0x27e)](_0xf73949,_0x4e2375,_0x4a6a7f,_0x577e87){const _0x2bd979=_0x1141d6;this['_apply'](_0xf73949,this['_factory'][_0x2bd979(0x27e)](_0xf73949['getSnapshot'](),_0x4e2375,_0x4a6a7f,_0x577e87));}[_0x1141d6(0x3f9)](_0x321f3f,_0x302581,_0x194ea8,_0x45c145){const _0x45c9b0=_0x1141d6;this[_0x45c9b0(0x28d)](_0x321f3f,this[_0x45c9b0(0x357)][_0x45c9b0(0x3f9)](_0x321f3f[_0x45c9b0(0x2a8)](),_0x302581,_0x194ea8,_0x45c145));}[_0x1141d6(0x3e4)](_0x467f66,_0xb20773,_0x2c54f2,_0x288d27,_0x4d7fd8){const _0x172d8f=_0x1141d6;if(!this['_permissionService'][_0x172d8f(0x184)](_0xb20773,_0x2c54f2))throw Error('[BaseCommandService]:\x20cannot\x20manage\x20view.');this[_0x172d8f(0x28d)](_0x467f66,this[_0x172d8f(0x357)]['setViewFieldVisible'](_0x467f66[_0x172d8f(0x2a8)](),_0xb20773,_0x2c54f2,_0x288d27,_0x4d7fd8));}[_0x1141d6(0x2d5)](_0x14a717,_0x2ed7b3,_0x2a83d8,_0x136e34,_0x3f1317){const _0x346818=_0x1141d6;this[_0x346818(0x28d)](_0x14a717,this[_0x346818(0x357)][_0x346818(0x2d5)](_0x14a717[_0x346818(0x2a8)](),_0x2ed7b3,_0x2a83d8,_0x136e34,_0x3f1317));}[_0x1141d6(0x14d)](_0x12b7e2,_0x242677,_0x177ab4,_0x4cdbe8,_0x493391){const _0x5bdfb9=_0x1141d6;this[_0x5bdfb9(0x28d)](_0x12b7e2,this[_0x5bdfb9(0x357)]['setViewFieldOrder'](_0x12b7e2['getSnapshot'](),_0x242677,_0x177ab4,_0x4cdbe8,_0x493391));}[_0x1141d6(0x28d)](_0x547ae8,_0x2bdf90){const _0x31c87a=_0x1141d6;let _0x1e6a86=_0x547ae8[_0x31c87a(0x2a8)]();_0x547ae8[_0x31c87a(0x2e9)](this['_applier'][_0x31c87a(0x35c)](_0x1e6a86,_0x2bdf90));}[_0x1141d6(0x159)](_0x1c7506,_0x2764cc,_0x54d563,_0x5d4f96=this[_0x1141d6(0x179)](_0x1c7506[_0x1141d6(0x407)][_0x2764cc])){const _0x5abf8d=_0x1141d6;var _0x500fcb,_0x212d51,_0x57b2f3,_0x4ff590;let _0x3c1357=_0x1c7506['tables'][_0x2764cc],_0x3e9ca5=(_0x500fcb=(_0x212d51=_0x54d563['createdBy'])==null?_0x54d563[_0x5abf8d(0x213)]:_0x212d51)==null?this['_getCurrentUserId']():_0x500fcb,_0x4a3460={..._0x54d563,'createdBy':(_0x57b2f3=_0x54d563[_0x5abf8d(0x3df)])==null?_0x3e9ca5:_0x57b2f3,'updatedBy':(_0x4ff590=_0x54d563['updatedBy'])==null?_0x3e9ca5:_0x4ff590,'values':{..._0x54d563['values']}};return _0x3c1357[_0x5abf8d(0x2ad)]['forEach'](_0x588230=>{const _0x5b4b52=_0x5abf8d;let _0x5f5d82=_0x3c1357['fields'][_0x588230];if(!(!_0x5f5d82||_0x4a3460[_0x5b4b52(0x3aa)][_0x588230]!==void 0x0))switch(_0x5f5d82[_0x5b4b52(0x157)]){case _0x1b662f[_0x5b4b52(0x2a4)]:var _0x48862e,_0x32e7a8;_0x4a3460[_0x5b4b52(0x3aa)][_0x588230]=(_0x48862e=(_0x32e7a8=_0x5d4f96[_0x5b4b52(0x13c)](_0x588230))==null?void 0x0:_0x32e7a8())==null?this[_0x5b4b52(0x22e)](_0x3c1357,_0x588230)():_0x48862e;break;case _0x1b662f['CreatedBy']:_0x4a3460[_0x5b4b52(0x3df)]&&(_0x4a3460[_0x5b4b52(0x3aa)][_0x588230]=_0x4a3460[_0x5b4b52(0x3df)]);break;case _0x1b662f[_0x5b4b52(0x229)]:_0x4a3460[_0x5b4b52(0x213)]&&(_0x4a3460[_0x5b4b52(0x3aa)][_0x588230]=_0x4a3460['updatedBy']);break;case _0x1b662f[_0x5b4b52(0x2db)]:_0x4a3460[_0x5b4b52(0x3aa)][_0x588230]=j(_0x4a3460[_0x5b4b52(0x406)]);break;case _0x1b662f[_0x5b4b52(0x25a)]:_0x4a3460[_0x5b4b52(0x3aa)][_0x588230]=j(_0x4a3460[_0x5b4b52(0x3b9)]);break;default:{let _0x4b9a2d=_0x5f5d82[_0x5b4b52(0x364)];_0x4b9a2d!=null&&_0x4b9a2d!==''&&!(Array['isArray'](_0x4b9a2d)&&_0x4b9a2d[_0x5b4b52(0x3e1)]===0x0)&&(_0x4a3460['values'][_0x588230]=_0x4b9a2d);}}}),_0x4a3460;}[_0x1141d6(0x29c)](_0x163f4b,_0x2a12e7,_0x312a55,_0x538480){const _0x1997d0=_0x1141d6;var _0x279d71,_0x431ba9,_0x1d384d;let _0x46ba07=_0x163f4b['tables'][_0x2a12e7],_0x698a9e=(_0x279d71=(_0x431ba9=(_0x1d384d=this['_runtimeContext'])[_0x1997d0(0x284)])==null?void 0x0:_0x431ba9[_0x1997d0(0x231)](_0x1d384d))==null?Date['now']():_0x279d71,_0x1448eb=this[_0x1997d0(0x1a2)](),_0xea5304={..._0x538480};return _0x46ba07['fieldOrder'][_0x1997d0(0x2e8)](_0x3b89c1=>{const _0x191634=_0x1997d0;let _0x17cc6c=_0x46ba07[_0x191634(0x2e2)][_0x3b89c1];_0x17cc6c&&(_0x17cc6c[_0x191634(0x157)]===_0x1b662f[_0x191634(0x25a)]&&(_0xea5304[_0x3b89c1]=j(_0x698a9e)),_0x17cc6c[_0x191634(0x157)]===_0x1b662f[_0x191634(0x229)]&&_0x1448eb&&(_0xea5304[_0x3b89c1]=_0x1448eb));}),{'recordId':_0x312a55,'values':_0xea5304,'recordPatch':{'updatedAt':_0x698a9e,..._0x1448eb?{'updatedBy':_0x1448eb}:{}}};}[_0x1141d6(0x3bf)](_0x459bfc,_0x290e96,_0x1c6b5b){const _0x47c8f7=_0x1141d6;let _0x56705f=_0x459bfc[_0x47c8f7(0x407)][_0x290e96];return!_0x56705f||!cn(_0x1c6b5b)?[]:_0x1c6b5b[_0x47c8f7(0x157)]===_0x1b662f['Numbering']?this['_createNumberingFieldValuePatches'](_0x56705f,_0x1c6b5b['id']):Object[_0x47c8f7(0x3aa)](_0x56705f[_0x47c8f7(0x162)])[_0x47c8f7(0x1a8)](_0x121092=>{const _0x46b975=_0x47c8f7;let _0x2b1dc1=this[_0x46b975(0x1f4)](_0x1c6b5b,_0x121092);return _0x2b1dc1===void 0x0?[]:[{'recordId':_0x121092['id'],'values':{[_0x1c6b5b['id']]:_0x2b1dc1}}];});}[_0x1141d6(0x1f4)](_0x549048,_0x33abad){const _0x1b9e30=_0x1141d6;switch(_0x549048[_0x1b9e30(0x157)]){case _0x1b662f[_0x1b9e30(0x352)]:var _0x4e4a74;return(_0x4e4a74=_0x33abad[_0x1b9e30(0x3df)])==null?this[_0x1b9e30(0x1a2)]():_0x4e4a74;case _0x1b662f[_0x1b9e30(0x229)]:var _0x2bb16a;return(_0x2bb16a=_0x33abad[_0x1b9e30(0x213)])==null?this[_0x1b9e30(0x1a2)]():_0x2bb16a;case _0x1b662f[_0x1b9e30(0x2db)]:var _0x2451f6;return j((_0x2451f6=_0x33abad['createdAt'])==null?Date[_0x1b9e30(0x284)]():_0x2451f6);case _0x1b662f[_0x1b9e30(0x25a)]:var _0x23585d;return j((_0x23585d=_0x33abad[_0x1b9e30(0x3b9)])==null?Date[_0x1b9e30(0x284)]():_0x23585d);default:return;}}[_0x1141d6(0x179)](_0xc6ed3f){const _0x2f0605=_0x1141d6;let _0x45f000=new Map();return _0xc6ed3f&&_0xc6ed3f[_0x2f0605(0x2ad)][_0x2f0605(0x2e8)](_0x5d6eec=>{const _0x9d5ce1=_0x2f0605;let _0x2ec328=_0xc6ed3f['fields'][_0x5d6eec];(_0x2ec328==null?void 0x0:_0x2ec328['type'])===_0x1b662f[_0x9d5ce1(0x2a4)]&&_0x45f000[_0x9d5ce1(0x353)](_0x5d6eec,this[_0x9d5ce1(0x22e)](_0xc6ed3f,_0x5d6eec));}),_0x45f000;}[_0x1141d6(0x22e)](_0x276bc0,_0x4e91b2){const _0x4beec4=_0x1141d6;let _0x408bc9=Object[_0x4beec4(0x3aa)](_0x276bc0[_0x4beec4(0x162)])[_0x4beec4(0x376)]((_0x4fc5a3,_0x5bc8eb)=>{const _0x44d994=_0x4beec4;let _0x403acb=Number(_0x5bc8eb[_0x44d994(0x3aa)][_0x4e91b2]);return Number[_0x44d994(0x259)](_0x403acb)?Math[_0x44d994(0x248)](_0x4fc5a3,_0x403acb):_0x4fc5a3;},0x0);return()=>String(++_0x408bc9);}[_0x1141d6(0x2f4)](_0x48fde3,_0x386ed7){const _0x4b2c98=_0x1141d6;let _0x4dee83=this[_0x4b2c98(0x1c6)](_0x48fde3),_0x99381=this[_0x4b2c98(0x22e)](_0x48fde3,_0x386ed7);return _0x4dee83['flatMap'](_0x4300c8=>this[_0x4b2c98(0x30e)](_0x4300c8[_0x4b2c98(0x3aa)][_0x386ed7])?[]:[{'recordId':_0x4300c8['id'],'values':{[_0x386ed7]:_0x99381()}}]);}[_0x1141d6(0x1c6)](_0x254e68){const _0x32c5bf=_0x1141d6;var _0x3f858a;let _0x5036a0=Object[_0x32c5bf(0x3aa)](_0x254e68[_0x32c5bf(0x162)]),_0x13b7d0=new Map(_0x5036a0[_0x32c5bf(0x220)](_0x13a0c3=>[_0x13a0c3['id'],_0x13a0c3])),_0xb46c47=[],_0xc8098d=new Set();(_0x3f858a=_0x254e68[_0x32c5bf(0x19d)])==null||_0x3f858a[_0x32c5bf(0x2e8)](_0x2edfc7=>{const _0x20906a=_0x32c5bf;let _0x3d07f2=_0x13b7d0['get'](_0x2edfc7);_0x3d07f2&&(_0xb46c47['push'](_0x3d07f2),_0xc8098d[_0x20906a(0x1e2)](_0x2edfc7));});let _0x5d703c=_0x5036a0[_0x32c5bf(0x385)](_0x10e374=>!_0xc8098d[_0x32c5bf(0x325)](_0x10e374['id']))[_0x32c5bf(0x3b6)]((_0x245c5f,_0x1d3f16)=>{const _0xf005d0=_0x32c5bf;var _0x42116e,_0x49a8b4;return String((_0x42116e=_0x245c5f[_0xf005d0(0x2c0)])==null?_0x245c5f['id']:_0x42116e)['localeCompare'](String((_0x49a8b4=_0x1d3f16[_0xf005d0(0x2c0)])==null?_0x1d3f16['id']:_0x49a8b4))||_0x245c5f['id'][_0xf005d0(0x1a0)](_0x1d3f16['id']);});return[..._0xb46c47,..._0x5d703c];}[_0x1141d6(0x30e)](_0x13a7d0){const _0x102db3=_0x1141d6;return _0x13a7d0!=null&&_0x13a7d0!==''&&!(Array[_0x102db3(0x28a)](_0x13a7d0)&&_0x13a7d0['length']===0x0);}['_getCurrentUserId'](){const _0x50c118=_0x1141d6;var _0x3c1a85,_0x33c693,_0x4b3f63,_0x2ef0db,_0x13312f,_0x262712;return(_0x3c1a85=(_0x33c693=(_0x4b3f63=(_0x2ef0db=this[_0x50c118(0x3cb)])[_0x50c118(0x13e)])==null?void 0x0:_0x4b3f63[_0x50c118(0x231)](_0x2ef0db))==null?(_0x13312f=(_0x262712=this[_0x50c118(0x3cb)])['getCurrentUser'])==null||(_0x13312f=_0x13312f[_0x50c118(0x231)](_0x262712))==null?void 0x0:_0x13312f[_0x50c118(0x263)]:_0x33c693)==null?void 0x0:_0x3c1a85;}['_normalizeCellValue'](_0xee533c,_0x5e897a,_0x217667,_0x6c82d,_0x1d9c50){const _0x246c9a=_0x1141d6;var _0x39d5fa;if(!this[_0x246c9a(0x310)][_0x246c9a(0x2bf)](_0x5e897a,_0x217667,_0x6c82d))throw Error(_0x246c9a(0x377));let _0x2c17bc=(_0x39d5fa=_0xee533c[_0x246c9a(0x407)][_0x5e897a])==null?void 0x0:_0x39d5fa['fields'][_0x6c82d];if(!_0x2c17bc)throw Error('[BaseCommandService]:\x20field\x20\x22'+_0x6c82d+_0x246c9a(0x186));let _0x1346d9=this[_0x246c9a(0x2c4)][_0x246c9a(0x13c)](_0x2c17bc[_0x246c9a(0x157)]);if(_0x2c17bc[_0x246c9a(0x3fc)]||_0x2c17bc[_0x246c9a(0x31c)]||!_0x1346d9[_0x246c9a(0x3a1)](_0x2c17bc)[_0x246c9a(0x224)])throw Error(_0x246c9a(0x191));let _0x16b544=_0x1346d9[_0x246c9a(0x172)](_0x1d9c50,_0x2c17bc),_0x149556=_0x1346d9[_0x246c9a(0x32b)](_0x16b544,_0x2c17bc);if(!_0x149556[_0x246c9a(0x2ac)]){var _0xd86da9;throw Error((_0xd86da9=_0x149556[_0x246c9a(0x300)])==null?'[BaseCommandService]:\x20invalid\x20cell\x20value.':_0xd86da9);}return _0x16b544;}};on=U([H(0x0,nn),H(0x1,en)],on);function sn(){const _0xb7ebbe=_0x1141d6;let _0x2ea1b2=new tn();return At()[_0xb7ebbe(0x2e8)](_0x40b77a=>_0x2ea1b2[_0xb7ebbe(0x1ea)](_0x40b77a)),_0x2ea1b2;}function cn(_0x34bba4){const _0x8e599b=_0x1141d6;return _0x34bba4[_0x8e599b(0x157)]===_0x1b662f[_0x8e599b(0x2a4)]||_0x34bba4[_0x8e599b(0x157)]===_0x1b662f[_0x8e599b(0x352)]||_0x34bba4[_0x8e599b(0x157)]===_0x1b662f[_0x8e599b(0x229)]||_0x34bba4[_0x8e599b(0x157)]===_0x1b662f['CreatedAt']||_0x34bba4[_0x8e599b(0x157)]===_0x1b662f[_0x8e599b(0x25a)];}const ln=new Set([_0x1b662f[_0x1141d6(0x3fd)],_0x1b662f[_0x1141d6(0x384)],_0x1b662f[_0x1141d6(0x3ed)]]);function un(_0x19ef36){const _0x20989c=_0x1141d6;var _0x450915,_0x4cc5be;let _0x4bbd16=_0x19ef36[_0x20989c(0x2e2)][_0x19ef36['primaryFieldId']];return!(_0x4bbd16&&(_0x4bbd16['system']===!0x0||_0x4bbd16['id']['toLowerCase']()==='id'||_0x4bbd16[_0x20989c(0x3a2)][_0x20989c(0x369)]()[_0x20989c(0x2ae)]()==='id'))&&_0x4bbd16?_0x4bbd16['id']:(_0x450915=(_0x4cc5be=_0x19ef36['fieldOrder'][_0x20989c(0x220)](_0x11270d=>_0x19ef36['fields'][_0x11270d])['find'](_0x43cadd=>_0x43cadd&&_0x43cadd['id']!==_0x19ef36[_0x20989c(0x3a0)]))==null?void 0x0:_0x4cc5be['id'])==null?_0x19ef36['primaryFieldId']:_0x450915;}function dn(_0x598374,_0x321fa1=[],_0x4eb116=0x5){const _0x14577f=_0x1141d6;let _0x51c1bf=new Set(_0x321fa1[_0x14577f(0x385)](_0xb3aede=>!!_0xb3aede)),_0x353705=_0x598374[_0x14577f(0x2ad)][_0x14577f(0x1a8)](_0x34ef27=>{const _0xa10f56=_0x14577f;let _0x43554b=_0x598374[_0xa10f56(0x2e2)][_0x34ef27];return _0x43554b&&!_0x51c1bf[_0xa10f56(0x325)](_0x43554b['id'])?[_0x43554b]:[];}),_0x4b098d=_0x353705['filter'](_0x33e893=>ln[_0x14577f(0x325)](_0x33e893[_0x14577f(0x157)])),_0x1edbf7=_0x353705[_0x14577f(0x385)](_0xc92986=>!ln[_0x14577f(0x325)](_0xc92986[_0x14577f(0x157)]));return[..._0x4b098d,..._0x1edbf7]['slice'](0x0,_0x4eb116)[_0x14577f(0x220)](_0x58c6d5=>_0x58c6d5['id']);}function fn(){const _0x3ca442=_0x1141d6;return[{'type':_0x479acb[_0x3ca442(0x1bb)],'i18nKey':_0x3ca442(0x2d6),'createDefaultConfig':()=>({}),'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{throw Error('Grid\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.');}},{'type':_0x479acb[_0x3ca442(0x38d)],'i18nKey':_0x3ca442(0x321),'createDefaultConfig':_0x32a994=>{const _0x5e2aae=_0x3ca442;let _0x33e54b=pn(_0x32a994);return{'groupFieldId':_0x33e54b,'coverFieldId':null,'cardLayout':_0x5e2aae(0x3ae),'showFieldNames':!0x0,'fieldSettings':{},'columnSettings':{},'card':{'titleFieldId':_0x32a994['primaryFieldId'],'fieldIds':dn(_0x32a994,[_0x32a994[_0x5e2aae(0x3a0)],_0x33e54b])}};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{throw Error('Kanban\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.');}},{'type':_0x479acb[_0x3ca442(0x287)],'i18nKey':_0x3ca442(0x260),'createDefaultConfig':_0x5df1b9=>{const _0x5ea8b5=_0x3ca442;let _0x21633d=mn(_0x5df1b9);return{'startDateFieldId':_0x21633d,'endDateFieldId':hn(_0x5df1b9,_0x21633d),'titleFieldId':_0x5df1b9['primaryFieldId'],'mode':_0x5ea8b5(0x28e),'timeslotSize':_0x5ea8b5(0x21b),'timeZone':_0x5ea8b5(0x304),'displayColor':{'type':_0x5ea8b5(0x1e6),'color':_0x5ea8b5(0x1f9)},'fieldSettings':{}};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x5b6d73=_0x3ca442;throw Error(_0x5b6d73(0x38f));}},{'type':_0x479acb['Gantt'],'i18nKey':_0x3ca442(0x211),'createDefaultConfig':_0x1cc171=>{const _0x389d3a=_0x3ca442;var _0x205dcb;let _0x58f498=mn(_0x1cc171);return{'startDateFieldId':_0x58f498,'endDateFieldId':(_0x205dcb=hn(_0x1cc171,_0x58f498))==null?_0x58f498:_0x205dcb,'titleFieldId':_0x1cc171[_0x389d3a(0x3a0)],'scale':'month','showTodayLine':!0x0,'displayColor':{'type':_0x389d3a(0x1e6),'color':_0x389d3a(0x253)},'fieldSettings':{},'workingDaysOnly':!0x1};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x4a84aa=_0x3ca442;throw Error(_0x4a84aa(0x268));}},{'type':_0x479acb[_0x3ca442(0x160)],'i18nKey':_0x3ca442(0x3ab),'createDefaultConfig':_0xa97935=>{const _0x3c8f79=_0x3ca442;let _0x243b33=un(_0xa97935);return{'coverFieldId':null,'cardLayout':_0x3c8f79(0x3ae),'showFieldNames':!0x0,'fieldSettings':{},'card':{'titleFieldId':_0x243b33,'coverFieldId':null,'fieldIds':dn(_0xa97935,[_0x243b33,_0xa97935[_0x3c8f79(0x3a0)]])},'cardSize':_0x3c8f79(0x21b)};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x45261a=_0x3ca442;throw Error(_0x45261a(0x2d4));}}];}function pn(_0x589dfb){const _0x25bf5c=_0x1141d6;var _0x3de2c3,_0x5aeffd,_0x57c8b4,_0x415108,_0x24fc37,_0x7478de;let _0x5cc349=_0x589dfb[_0x25bf5c(0x2ad)][_0x25bf5c(0x220)](_0x16420b=>_0x589dfb['fields'][_0x16420b])['filter'](_0x15fa7e=>!!_0x15fa7e);return(_0x3de2c3=(_0x5aeffd=(_0x57c8b4=(_0x415108=_0x5cc349['find'](_0x57a691=>_0x57a691[_0x25bf5c(0x157)]===_0x1b662f[_0x25bf5c(0x1c8)]||_0x57a691[_0x25bf5c(0x157)]===_0x1b662f[_0x25bf5c(0x39e)]||_0x57a691[_0x25bf5c(0x157)]===_0x1b662f[_0x25bf5c(0x1d2)]))==null?void 0x0:_0x415108['id'])==null?(_0x24fc37=_0x5cc349[_0x25bf5c(0x236)](_0xed8d53=>_0xed8d53[_0x25bf5c(0x157)]===_0x1b662f['Text']))==null?void 0x0:_0x24fc37['id']:_0x57c8b4)==null?(_0x7478de=_0x5cc349[_0x25bf5c(0x236)](_0x4a6e80=>_0x4a6e80[_0x25bf5c(0x157)]===_0x1b662f[_0x25bf5c(0x29d)]||_0x4a6e80[_0x25bf5c(0x157)]===_0x1b662f[_0x25bf5c(0x2db)]||_0x4a6e80['type']===_0x1b662f[_0x25bf5c(0x25a)]))==null?void 0x0:_0x7478de['id']:_0x5aeffd)==null?_0x589dfb[_0x25bf5c(0x3a0)]:_0x3de2c3;}function mn(_0x5114a4){const _0x230d44=_0x1141d6;var _0x295daa,_0x3b36b1;return(_0x295daa=(_0x3b36b1=_0x5114a4[_0x230d44(0x2ad)]['map'](_0x1b2aca=>_0x5114a4[_0x230d44(0x2e2)][_0x1b2aca])[_0x230d44(0x236)](gn))==null?void 0x0:_0x3b36b1['id'])==null?'':_0x295daa;}function hn(_0x334469,_0xe1f1c7){const _0x329a4c=_0x1141d6;var _0x1b744c;return(_0x1b744c=_0x334469['fieldOrder']['map'](_0x480010=>_0x334469['fields'][_0x480010])[_0x329a4c(0x236)](_0x4c7139=>gn(_0x4c7139)&&_0x4c7139['id']!==_0xe1f1c7))==null?void 0x0:_0x1b744c['id'];}function gn(_0x556bbf){const _0x3b17f4=_0x1141d6;return!!_0x556bbf&&_0x556bbf[_0x3b17f4(0x157)]===_0x1b662f['Date']&&_0x556bbf[_0x3b17f4(0x3fc)]!==!0x0&&_0x556bbf[_0x3b17f4(0x31c)]!==!0x0;}const _n=_0x5a5c3d('base.projection.service'),vn=new Set([_0x1b662f[_0x1141d6(0x3a9)],_0x1b662f[_0x1141d6(0x1b3)],_0x1b662f[_0x1141d6(0x3fd)],_0x1b662f['Rating'],_0x1b662f[_0x1141d6(0x29d)],_0x1b662f['CreatedAt'],_0x1b662f[_0x1141d6(0x25a)],_0x1b662f[_0x1141d6(0x3ed)]]);let yn=class extends _0x2d3cca{constructor(_0x294281){const _0x532469=_0x1141d6;super(),this[_0x532469(0x2c4)]=_0x294281,B(this,_0x532469(0x375),new Map()),B(this,_0x532469(0x2d7),new WeakMap()),B(this,_0x532469(0x2b1),new Map()),B(this,_0x532469(0x31b),new Map()),B(this,_0x532469(0x36f),new Map()),B(this,_0x532469(0x225),0x0),B(this,'_tableRevisions',new Map()),B(this,_0x532469(0x1aa),new Map()),B(this,'_cellInvalidations',new Map()),B(this,_0x532469(0x39a),new Map());}['registerView'](_0x4c38e3){const _0x12b37b=_0x1141d6;return this['_views']['set'](_0x4c38e3[_0x12b37b(0x157)],_0x4c38e3),_0x43f94b(()=>this[_0x12b37b(0x375)]['delete'](_0x4c38e3[_0x12b37b(0x157)]));}['getProjection'](_0x4ee74e,_0x296546,_0x22acc8){const _0x4d4fb3=_0x1141d6;var _0xf40d92,_0x363b6f,_0x392384,_0x1be2b5,_0x3d5332;return T('BaseProjection.getProjection',()=>{const _0x2fa548=_0x33c5;let _0x30891c=this[_0x2fa548(0x182)](_0x4ee74e,_0x296546,_0x22acc8);if(_0x30891c)return _0x30891c;let _0x5c171d=_0x4ee74e['tables'][_0x296546],_0xfd969f=_0x5c171d==null?void 0x0:_0x5c171d[_0x2fa548(0x23e)][_0x22acc8];if(!_0x5c171d||!_0xfd969f){var _0x30d3b8;return this[_0x2fa548(0x209)](_0x4ee74e,_0x296546,_0x22acc8,{'type':'invalid','viewType':(_0x30d3b8=_0xfd969f==null?void 0x0:_0xfd969f[_0x2fa548(0x157)])==null?_0x479acb[_0x2fa548(0x1bb)]:_0x30d3b8,'reason':_0x2fa548(0x314)});}let _0x3559d2;switch(_0xfd969f[_0x2fa548(0x157)]){case _0x479acb[_0x2fa548(0x1bb)]:_0x3559d2=this[_0x2fa548(0x228)](_0x5c171d,_0xfd969f);break;case _0x479acb[_0x2fa548(0x24e)]:_0x3559d2=this[_0x2fa548(0x32a)](_0x5c171d,_0xfd969f);break;case _0x479acb[_0x2fa548(0x38d)]:_0x3559d2=this[_0x2fa548(0x38b)](_0x5c171d,_0xfd969f);break;case _0x479acb[_0x2fa548(0x287)]:_0x3559d2=this[_0x2fa548(0x277)](_0x5c171d,_0xfd969f);break;case _0x479acb[_0x2fa548(0x160)]:_0x3559d2=this[_0x2fa548(0x170)](_0x5c171d,_0xfd969f);break;default:_0x3559d2={'type':_0x2fa548(0x2ca),'viewType':_0xfd969f[_0x2fa548(0x157)],'reason':'missingField'};}return this[_0x2fa548(0x209)](_0x4ee74e,_0x296546,_0x22acc8,_0x3559d2);},{'tableId':_0x296546,'viewId':_0x22acc8,'viewType':(_0xf40d92=_0x4ee74e[_0x4d4fb3(0x407)][_0x296546])==null||(_0xf40d92=_0xf40d92[_0x4d4fb3(0x23e)][_0x22acc8])==null?void 0x0:_0xf40d92[_0x4d4fb3(0x157)],'records':(_0x363b6f=(_0x392384=_0x4ee74e['tables'][_0x296546])==null||(_0x392384=_0x392384[_0x4d4fb3(0x19d)])==null?void 0x0:_0x392384[_0x4d4fb3(0x3e1)])==null?Object[_0x4d4fb3(0x1ef)]((_0x1be2b5=(_0x3d5332=_0x4ee74e[_0x4d4fb3(0x407)][_0x296546])==null?void 0x0:_0x3d5332[_0x4d4fb3(0x162)])==null?{}:_0x1be2b5)[_0x4d4fb3(0x3e1)]:_0x363b6f});}[_0x1141d6(0x391)](_0x1492cc,_0x375b1e,_0x18a97d){const _0x5a70ba=_0x1141d6;var _0x8756db,_0x355bd0,_0x2145bf,_0x51000c;let _0x3d6255=_0x1492cc['tables'][_0x375b1e],_0x41f5bc=_0x3d6255==null?void 0x0:_0x3d6255[_0x5a70ba(0x23e)][_0x18a97d];if(!_0x3d6255||!_0x41f5bc)throw Error(_0x5a70ba(0x288)+_0x18a97d+'\x22.');let _0x10ff9b=_0x2805ea=>!!_0x3d6255[_0x5a70ba(0x2e2)][_0x2805ea],_0xda9466={..._0x41f5bc,'filter':_0x41f5bc[_0x5a70ba(0x385)]?{..._0x41f5bc[_0x5a70ba(0x385)],'conditions':_0x41f5bc[_0x5a70ba(0x385)]['conditions'][_0x5a70ba(0x385)](_0x526e11=>_0x10ff9b(_0x526e11[_0x5a70ba(0x1be)]))}:_0x41f5bc[_0x5a70ba(0x385)],'sort':(_0x8756db=_0x41f5bc[_0x5a70ba(0x3b6)])==null?void 0x0:_0x8756db[_0x5a70ba(0x385)](_0x524420=>_0x10ff9b(_0x524420[_0x5a70ba(0x1be)])),'group':(_0x355bd0=_0x41f5bc['group'])==null?void 0x0:_0x355bd0[_0x5a70ba(0x385)](_0x2d007c=>_0x10ff9b(_0x2d007c['fieldId'])),'fieldOrder':(_0x2145bf=_0x41f5bc[_0x5a70ba(0x2ad)])==null?void 0x0:_0x2145bf[_0x5a70ba(0x385)](_0x10ff9b),'fieldSettings':Object[_0x5a70ba(0x176)](Object[_0x5a70ba(0x34d)]((_0x51000c=_0x41f5bc[_0x5a70ba(0x3c9)])==null?{}:_0x51000c)[_0x5a70ba(0x385)](([_0x15bfcc])=>_0x10ff9b(_0x15bfcc)))};if(_0xda9466['type']===_0x5a70ba(0x235)){var _0x407644,_0x11b673,_0x3cb30a,_0x3ea03f;let _0x264158=(_0x407644=_0xda9466['config'])==null?{}:_0x407644,_0xccfcf5=this[_0x5a70ba(0x1cb)](_0x3d6255,_0xda9466);_0xda9466[_0x5a70ba(0x1f0)]={..._0x264158,'groupFieldId':_0xccfcf5==null?_0x264158['groupFieldId']:_0xccfcf5,'coverFieldId':this['_resolveKanbanCoverFieldId'](_0x3d6255,_0x264158),'cardLayout':_0x264158[_0x5a70ba(0x319)]===_0x5a70ba(0x18f)?_0x5a70ba(0x18f):_0x5a70ba(0x3ae),'showFieldNames':_0x264158['showFieldNames']!==!0x1,'fieldSettings':Object[_0x5a70ba(0x176)](Object['entries']((_0x11b673=_0x264158[_0x5a70ba(0x3c9)])==null?{}:_0x11b673)[_0x5a70ba(0x385)](([_0x5af61a])=>_0x10ff9b(_0x5af61a))),'columnSettings':(_0x3cb30a=_0x264158[_0x5a70ba(0x276)])==null?{}:_0x3cb30a,'card':{...(_0x3ea03f=_0x264158['card'])==null?{}:_0x3ea03f,'fieldIds':this[_0x5a70ba(0x344)](_0x3d6255,_0xda9466,_0xccfcf5==null?'':_0xccfcf5)}};}return{'repaired':JSON['stringify'](_0xda9466)!==JSON['stringify'](_0x41f5bc),'view':_0xda9466};}[_0x1141d6(0x1a7)](){const _0xafed90=_0x1141d6;this[_0xafed90(0x225)]++;}[_0x1141d6(0x196)](_0x2ec848,_0xd05579,_0x51069b){const _0x45145e=_0x1141d6;var _0x505e0c;let _0x5c9951=this[_0x45145e(0x335)](_0x2ec848)+0x1;this[_0x45145e(0x1aa)]['set'](_0x2ec848,_0x5c9951);let _0x3aa900=(_0x505e0c=this[_0x45145e(0x190)][_0x45145e(0x13c)](_0x2ec848))==null?[]:_0x505e0c;_0x3aa900[_0x45145e(0x1a6)]({'revision':_0x5c9951,'recordId':_0xd05579,'fieldId':_0x51069b}),this[_0x45145e(0x190)][_0x45145e(0x353)](_0x2ec848,_0x3aa900);}[_0x1141d6(0x33d)](_0x225eec,_0x45954c){const _0x164a32=_0x1141d6;this[_0x164a32(0x2dc)](_0x225eec);}[_0x1141d6(0x3ba)](_0x4fedc8,_0x45e2a7){const _0x3ef75=_0x1141d6;this[_0x3ef75(0x39a)][_0x3ef75(0x353)](this[_0x3ef75(0x37c)](_0x4fedc8,_0x45e2a7),this[_0x3ef75(0x2cd)](_0x4fedc8,_0x45e2a7)+0x1);}[_0x1141d6(0x182)](_0x1a72c3,_0x3a37b4,_0x197917){const _0x1c1dee=_0x1141d6;var _0x54c335;let _0x4ad9f3=(_0x54c335=this[_0x1c1dee(0x2d7)][_0x1c1dee(0x13c)](_0x1a72c3))==null?void 0x0:_0x54c335[_0x1c1dee(0x13c)](this['_cacheKey'](_0x3a37b4,_0x197917));return _0x4ad9f3&&_0x4ad9f3[_0x1c1dee(0x197)]===this[_0x1c1dee(0x225)]&&_0x4ad9f3['tableRevision']===this[_0x1c1dee(0x2af)](_0x3a37b4)&&_0x4ad9f3[_0x1c1dee(0x3d4)]===this[_0x1c1dee(0x335)](_0x3a37b4)&&_0x4ad9f3['viewRevision']===this[_0x1c1dee(0x2cd)](_0x3a37b4,_0x197917)?_0x4ad9f3['projection']:null;}['_setCachedProjection'](_0x43fa1b,_0x50ccdc,_0x5115e6,_0x558593){const _0x1e1b05=_0x1141d6;let _0x571941=this['_projectionCache']['get'](_0x43fa1b);return _0x571941||(_0x571941=new Map(),this['_projectionCache'][_0x1e1b05(0x353)](_0x43fa1b,_0x571941)),_0x571941[_0x1e1b05(0x353)](this[_0x1e1b05(0x397)](_0x50ccdc,_0x5115e6),{'projection':_0x558593,'globalRevision':this[_0x1e1b05(0x225)],'tableRevision':this[_0x1e1b05(0x2af)](_0x50ccdc),'cellRevision':this['_getCellRevision'](_0x50ccdc),'viewRevision':this[_0x1e1b05(0x2cd)](_0x50ccdc,_0x5115e6)}),_0x558593;}[_0x1141d6(0x2dc)](_0x436127){const _0x50eba4=_0x1141d6;this[_0x50eba4(0x147)][_0x50eba4(0x353)](_0x436127,this[_0x50eba4(0x2af)](_0x436127)+0x1);}[_0x1141d6(0x2af)](_0x21832b){const _0x373877=_0x1141d6;var _0x306c1c;return(_0x306c1c=this[_0x373877(0x147)][_0x373877(0x13c)](_0x21832b))==null?0x0:_0x306c1c;}[_0x1141d6(0x335)](_0x1b2dc7){const _0x11f98b=_0x1141d6;var _0x15275c;return(_0x15275c=this[_0x11f98b(0x1aa)][_0x11f98b(0x13c)](_0x1b2dc7))==null?0x0:_0x15275c;}['_getViewRevision'](_0x4f4904,_0x5815a5){const _0x1e1884=_0x1141d6;var _0xaabf3f;return(_0xaabf3f=this['_viewRevisions'][_0x1e1884(0x13c)](this[_0x1e1884(0x37c)](_0x4f4904,_0x5815a5)))==null?0x0:_0xaabf3f;}[_0x1141d6(0x397)](_0x33e1ef,_0x4f152d){return _0x33e1ef+'\x00'+_0x4f152d;}['_viewRowsCacheKey'](_0x217da2,_0x3c77c0){const _0x30fc61=_0x1141d6;return _0x217da2+'\x00'+this[_0x30fc61(0x317)](_0x3c77c0);}[_0x1141d6(0x3d5)](_0x3d824f,_0x3da069,_0x371074){return _0x3d824f+'\x00'+this['_rowTransformCacheSegment'](_0x3da069)+'\x00'+this['_groupConfigCacheSegment'](_0x371074);}[_0x1141d6(0x317)](_0x73d407){const _0x58c6c3=_0x1141d6;return _0x73d407?Tn({'filter':Cn(_0x73d407[_0x58c6c3(0x385)]),'sort':wn(_0x73d407[_0x58c6c3(0x3b6)])}):_0x58c6c3(0x27b);}[_0x1141d6(0x1ba)](_0x5b96a9){return Tn(_0x5b96a9['map'](_0x560370=>{const _0x12c749=_0x33c5;var _0x69088;return{'fieldId':_0x560370[_0x12c749(0x1be)],'direction':(_0x69088=_0x560370['direction'])==null?null:_0x69088};}));}[_0x1141d6(0x37c)](_0x47e4a2,_0x5307db){return _0x47e4a2+'\x00'+_0x5307db;}[_0x1141d6(0x228)](_0xbbf0cc,_0x4a250d){const _0xf4ce02=_0x1141d6;let _0x26e373=this['_projectRows'](_0xbbf0cc,_0x4a250d);return{'type':_0x479acb['Grid'],'fields':this[_0xf4ce02(0x2fd)](_0xbbf0cc,_0x4a250d),'rows':_0x26e373,'groups':this[_0xf4ce02(0x283)](_0xbbf0cc,_0x4a250d,_0x26e373),'frozenFieldCount':typeof _0x4a250d['config']['frozenFieldCount']==_0xf4ce02(0x2fa)?_0x4a250d['config']['frozenFieldCount']:0x0};}[_0x1141d6(0x38b)](_0x40dfcf,_0x5ad455){const _0x1b36c3=_0x1141d6;var _0x7d87c5;let _0x1d371f=this[_0x1b36c3(0x1cb)](_0x40dfcf,_0x5ad455),_0x229f19=_0x1d371f?_0x40dfcf[_0x1b36c3(0x2e2)][_0x1d371f]:void 0x0;if(!_0x229f19)return{'type':'invalid','viewType':_0x479acb[_0x1b36c3(0x38d)],'reason':_0x1b36c3(0x1d6),'fieldId':_0x5ad455[_0x1b36c3(0x1f0)]['groupFieldId']};let _0x4deb7e=this['_projectRows'](_0x40dfcf,_0x5ad455),_0x5cbbf2=this[_0x1b36c3(0x2fd)](_0x40dfcf,_0x5ad455),_0x36fe3f=(_0x7d87c5=_0x5ad455['config'])==null?{}:_0x7d87c5,_0x33246b=this[_0x1b36c3(0x344)](_0x40dfcf,_0x5ad455,_0x229f19['id']),_0x20d950=new Map();return this['_getKanbanConfiguredLanes'](_0x229f19,_0x36fe3f)[_0x1b36c3(0x2e8)](_0x4df34a=>_0x20d950[_0x1b36c3(0x353)](_0x4df34a[_0x1b36c3(0x2fc)],{..._0x4df34a,'recordIds':[]})),_0x4deb7e[_0x1b36c3(0x2e8)](_0x52ae6b=>{const _0x3a0891=_0x1b36c3;this[_0x3a0891(0x390)](_0x229f19,_0x52ae6b[_0x3a0891(0x3aa)][_0x229f19['id']])['forEach'](_0x1bdc71=>{const _0x269495=_0x3a0891;let _0x539739=_0x20d950[_0x269495(0x13c)](_0x1bdc71),_0x416bbd=_0x539739==null?{'key':_0x1bdc71,'title':this[_0x269495(0x2f5)](_0x229f19,_0x1bdc71,_0x36fe3f),'color':this[_0x269495(0x205)](_0x229f19,_0x1bdc71,_0x36fe3f),'recordIds':[]}:_0x539739;_0x416bbd[_0x269495(0x267)][_0x269495(0x1a6)](_0x52ae6b[_0x269495(0x201)]),_0x20d950['set'](_0x1bdc71,_0x416bbd);});}),{'type':_0x479acb[_0x1b36c3(0x38d)],'fields':_0x5cbbf2,'rows':_0x4deb7e,'groups':this[_0x1b36c3(0x283)](_0x40dfcf,_0x5ad455,_0x4deb7e),'groupFieldId':_0x229f19['id'],'coverFieldId':this[_0x1b36c3(0x24b)](_0x40dfcf,_0x36fe3f),'cardLayout':_0x36fe3f[_0x1b36c3(0x319)]==='compose'?'compose':_0x1b36c3(0x3ae),'showFieldNames':_0x36fe3f['showFieldNames']!==!0x1,'visibleCardFieldIds':_0x33246b,'lanes':Array['from'](_0x20d950[_0x1b36c3(0x3aa)]())};}[_0x1141d6(0x1cb)](_0x2a1727,_0x2de1ee){const _0x52ab6b=_0x1141d6;var _0x5d8085;let _0x61d784=(_0x5d8085=_0x2de1ee['config'])==null?void 0x0:_0x5d8085[_0x52ab6b(0x315)];return _0x61d784&&this['_isKanbanGroupField'](_0x2a1727,_0x61d784)?_0x61d784:this[_0x52ab6b(0x3d1)](_0x2a1727,_0x3fe1c3=>this[_0x52ab6b(0x35e)](_0x3fe1c3));}[_0x1141d6(0x3d1)](_0x4cf92f,_0x160a31){const _0x296d4c=_0x1141d6;for(let _0x222c4a of _0x4cf92f[_0x296d4c(0x2ad)]){let _0x16fb7d=_0x4cf92f[_0x296d4c(0x2e2)][_0x222c4a];if(_0x16fb7d&&_0x160a31(_0x16fb7d))return _0x16fb7d['id'];}return null;}[_0x1141d6(0x1ec)](_0x295db8,_0xd212c9){const _0x44f3f3=_0x1141d6;let _0x2dcd26=_0x295db8[_0x44f3f3(0x2e2)][_0xd212c9];return this[_0x44f3f3(0x35e)](_0x2dcd26);}[_0x1141d6(0x35e)](_0x235986){const _0x53179f=_0x1141d6;return!!_0x235986&&(_0x235986[_0x53179f(0x157)]===_0x1b662f[_0x53179f(0x1c8)]||_0x235986[_0x53179f(0x157)]===_0x1b662f[_0x53179f(0x39e)]||_0x235986[_0x53179f(0x157)]===_0x1b662f[_0x53179f(0x384)]||_0x235986[_0x53179f(0x157)]===_0x1b662f['Person']||_0x235986[_0x53179f(0x157)]===_0x1b662f[_0x53179f(0x1d2)]||_0x235986[_0x53179f(0x157)]===_0x1b662f['Checkbox']);}[_0x1141d6(0x3de)](_0x41e818){const _0x2b2bec=_0x1141d6;return _0x41e818['type']===_0x1b662f[_0x2b2bec(0x1c8)]||_0x41e818['type']===_0x1b662f[_0x2b2bec(0x39e)];}[_0x1141d6(0x24b)](_0x52b721,_0x2dabd9){const _0x6f567a=_0x1141d6;var _0xabb608,_0x5ea73d,_0x363f1a;let _0x134680=(_0xabb608=(_0x5ea73d=_0x2dabd9[_0x6f567a(0x3cc)])==null?(_0x363f1a=_0x2dabd9['card'])==null?void 0x0:_0x363f1a[_0x6f567a(0x3cc)]:_0x5ea73d)==null?null:_0xabb608;if(!_0x134680)return null;let _0x1a84a9=_0x52b721['fields'][_0x134680];return _0x1a84a9&&this['_capabilities'](_0x1a84a9)[_0x6f567a(0x139)]?_0x1a84a9['id']:null;}['_resolveKanbanCardFieldIds'](_0x2e4a47,_0x1d5b12,_0x1228fd){const _0x533acb=_0x1141d6;var _0x26ac79,_0x379513,_0x4d36ce;let _0x224721=(_0x26ac79=_0x1d5b12[_0x533acb(0x1f0)])==null?{}:_0x26ac79,_0x51cdc0=!((_0x379513=_0x224721[_0x533acb(0x3c2)])==null||(_0x379513=_0x379513[_0x533acb(0x146)])==null)&&_0x379513[_0x533acb(0x3e1)]?_0x224721[_0x533acb(0x3c2)][_0x533acb(0x146)]:dn(_0x2e4a47,[_0x2e4a47['primaryFieldId'],_0x1228fd]),_0x2e1cd4=(_0x4d36ce=_0x224721[_0x533acb(0x3c9)])==null?{}:_0x4d36ce;return _0x51cdc0[_0x533acb(0x385)](_0x34069a=>{const _0x2dbe4a=_0x533acb;var _0xa7ab2e,_0x5731a8;let _0x582d29=_0x2e4a47[_0x2dbe4a(0x2e2)][_0x34069a];return!(!_0x582d29||_0x582d29['id']===_0x1228fd||!((_0xa7ab2e=_0x1d5b12[_0x2dbe4a(0x3c9)])==null||(_0xa7ab2e=_0xa7ab2e[_0x34069a])==null)&&_0xa7ab2e[_0x2dbe4a(0x311)]||(_0x5731a8=_0x2e1cd4[_0x34069a])!=null&&_0x5731a8[_0x2dbe4a(0x311)]);})[_0x533acb(0x3b6)]((_0x29ae2b,_0x3ebbd3)=>{const _0x375c12=_0x533acb;var _0x4180f2,_0x17df45,_0x345017,_0x561341;return((_0x4180f2=(_0x17df45=_0x2e1cd4[_0x29ae2b])==null?void 0x0:_0x17df45[_0x375c12(0x398)])==null?_0x51cdc0['indexOf'](_0x29ae2b):_0x4180f2)-((_0x345017=(_0x561341=_0x2e1cd4[_0x3ebbd3])==null?void 0x0:_0x561341['order'])==null?_0x51cdc0[_0x375c12(0x24a)](_0x3ebbd3):_0x345017);});}[_0x1141d6(0x316)](_0x133a68,_0x5cfaa5){const _0x619e1a=_0x1141d6;var _0x4723b4,_0x50dcaf;let _0x1d7b6f=(Array['isArray']((_0x4723b4=_0x133a68['config'])==null?void 0x0:_0x4723b4[_0x619e1a(0x294)])?_0x133a68[_0x619e1a(0x1f0)][_0x619e1a(0x294)]:[])[_0x619e1a(0x1a8)]((_0x23ec89,_0x151f0b)=>{const _0x58de49=_0x619e1a;var _0x138e24,_0x4875c5,_0x23be60,_0x377daf;if(_0x23ec89==null)return[];let _0x20ea78=typeof _0x23ec89=='string'?{'id':_0x23ec89,'name':_0x23ec89,'color':void 0x0}:_0x23ec89,_0xe4c3e2=String((_0x138e24=(_0x4875c5=_0x20ea78['id'])==null?_0x20ea78[_0x58de49(0x3a2)]:_0x4875c5)==null?_0x58de49(0x351)+(_0x151f0b+0x1):_0x138e24);return[{'key':_0xe4c3e2,'title':String((_0x23be60=(_0x377daf=_0x20ea78['name'])==null?_0x20ea78['id']:_0x377daf)==null?_0xe4c3e2:_0x23be60),'color':this[_0x58de49(0x205)](_0x133a68,_0xe4c3e2,_0x5cfaa5)}];});return Object['entries']((_0x50dcaf=_0x5cfaa5[_0x619e1a(0x276)])==null?{}:_0x50dcaf)[_0x619e1a(0x2e8)](([_0x296b8c,_0x37c091])=>{const _0x3a8f92=_0x619e1a;var _0x15abeb;_0x1d7b6f['some'](_0x578ce5=>_0x578ce5[_0x3a8f92(0x2fc)]===_0x296b8c)||_0x1d7b6f[_0x3a8f92(0x1a6)]({'key':_0x296b8c,'title':this[_0x3a8f92(0x3de)](_0x133a68)?(_0x15abeb=_0x37c091[_0x3a8f92(0x1f8)])==null?this[_0x3a8f92(0x2f5)](_0x133a68,_0x296b8c,_0x5cfaa5):_0x15abeb:this[_0x3a8f92(0x2f5)](_0x133a68,_0x296b8c,_0x5cfaa5),'color':this['_kanbanLaneColor'](_0x133a68,_0x296b8c,_0x5cfaa5)});}),_0x1d7b6f;}[_0x1141d6(0x390)](_0x1bd9da,_0x2c35c3){const _0x426625=_0x1141d6;let _0x3acd2d=_0x4494b3=>{var _0x4a87fe,_0x515783;let _0x34a442=_0x4494b3==null?'':String(_0x4494b3);return!_0x34a442||!this['_isColorfulKanbanGroupField'](_0x1bd9da)||(_0x4a87fe=(_0x515783=J(_0x1bd9da,_0x34a442))==null?void 0x0:_0x515783['id'])==null?_0x34a442:_0x4a87fe;};if(Array[_0x426625(0x28a)](_0x2c35c3)){let _0x2f8fab=_0x2c35c3['map'](_0x3acd2d)['filter'](_0xc5e4e5=>_0xc5e4e5!=='');return _0x2f8fab[_0x426625(0x3e1)]?_0x2f8fab:[''];}return[_0x3acd2d(_0x2c35c3)];}[_0x1141d6(0x2f5)](_0x1b3763,_0x1765b8,_0x1c6f1c){const _0x32b1d0=_0x1141d6;var _0x467d83;if(!_0x1765b8)return _0x32b1d0(0x1c0);let _0x154da7=J(_0x1b3763,_0x1765b8);return(_0x467d83=_0x154da7==null?void 0x0:_0x154da7[_0x32b1d0(0x3a2)])==null?_0x1765b8:_0x467d83;}[_0x1141d6(0x205)](_0x1522ef,_0x56fe27,_0x2fa635){const _0xaef6f0=_0x1141d6;var _0x4583c0;if(this[_0xaef6f0(0x3de)](_0x1522ef))return(_0x4583c0=J(_0x1522ef,_0x56fe27))==null?void 0x0:_0x4583c0['color'];}[_0x1141d6(0x277)](_0x1981a6,_0xaa4c21){const _0xb91a38=_0x1141d6;var _0x2c9e53;let _0x395618=this[_0xb91a38(0x347)](_0x1981a6,(_0x2c9e53=_0xaa4c21[_0xb91a38(0x1f0)])==null?{}:_0x2c9e53),_0x7cf026=_0x1981a6[_0xb91a38(0x2e2)][_0x395618[_0xb91a38(0x394)]];if(!_0x7cf026||_0x7cf026['type']!==_0x1b662f[_0xb91a38(0x29d)]||_0x7cf026[_0xb91a38(0x3fc)]===!0x0||_0x7cf026[_0xb91a38(0x31c)]===!0x0||!this[_0xb91a38(0x1b0)](_0x7cf026)['usableAsCalendarDate'])return{'type':'invalid','viewType':_0x479acb[_0xb91a38(0x287)],'reason':_0xb91a38(0x2ce),'fieldId':_0x395618[_0xb91a38(0x394)]};let _0x4fa178=_0x395618[_0xb91a38(0x153)]?_0x1981a6['fields'][_0x395618[_0xb91a38(0x153)]]:void 0x0,_0x243613=this[_0xb91a38(0x36d)](_0x1981a6,_0xaa4c21);return{'type':_0x479acb[_0xb91a38(0x287)],'config':_0x395618,'fields':this[_0xb91a38(0x2fd)](_0x1981a6,_0xaa4c21),'rows':_0x243613,'groups':this[_0xb91a38(0x283)](_0x1981a6,_0xaa4c21,_0x243613),'events':_0x243613[_0xb91a38(0x1a8)](_0x8a54df=>{const _0x9bf609=_0xb91a38;let _0x289f0b=N(_0x8a54df['values'][_0x395618['startDateFieldId']]);if(!Number[_0x9bf609(0x259)](_0x289f0b))return[];let _0xafcc5b=_0x8a54df['values'][_0x395618[_0x9bf609(0x394)]],_0x4ee474=_0x395618['endDateFieldId']==null?void 0x0:_0x8a54df['values'][_0x395618[_0x9bf609(0x153)]],_0x2bc8fc=_0x395618[_0x9bf609(0x153)]==null?void 0x0:N(_0x4ee474),_0x13bd9d=Number[_0x9bf609(0x259)](_0x2bc8fc)?_0x2bc8fc:void 0x0;return[{'recordId':_0x8a54df[_0x9bf609(0x201)],'title':this[_0x9bf609(0x138)](_0x1981a6,_0x8a54df,_0x395618[_0x9bf609(0x35a)]),'start':_0x289f0b,'end':_0x13bd9d,'color':this[_0x9bf609(0x244)](_0x1981a6,_0x8a54df,_0x395618),'startMs':_0x289f0b,'endMs':_0x13bd9d,'allDay':this[_0x9bf609(0x302)](_0x7cf026,_0x4fa178,_0xafcc5b,_0x4ee474),'fieldValues':_0x8a54df[_0x9bf609(0x3aa)]}];})};}[_0x1141d6(0x347)](_0x528c3a,_0x2671b2){const _0x28e2d9=_0x1141d6;var _0x5da0ac,_0x4beaee;let _0x361143=this[_0x28e2d9(0x2dd)](_0x528c3a,_0x2671b2[_0x28e2d9(0x394)]),_0x43ed2e=_0x2671b2[_0x28e2d9(0x153)]&&this[_0x28e2d9(0x332)](_0x528c3a,_0x2671b2[_0x28e2d9(0x153)])?_0x2671b2['endDateFieldId']:(_0x5da0ac=this[_0x28e2d9(0x165)](_0x528c3a,_0x361143))==null?void 0x0:_0x5da0ac,_0x2e98d7=_0x2671b2['titleFieldId']&&_0x528c3a[_0x28e2d9(0x2e2)][_0x2671b2['titleFieldId']]?_0x2671b2['titleFieldId']:_0x528c3a['primaryFieldId'],_0x13ceb3=_0x2671b2[_0x28e2d9(0x40a)]===_0x28e2d9(0x3da)||_0x2671b2[_0x28e2d9(0x40a)]==='week'?_0x2671b2['mode']:_0x28e2d9(0x28e),_0x41ab19=_0x2671b2[_0x28e2d9(0x3b3)]===_0x28e2d9(0x320)||_0x2671b2[_0x28e2d9(0x3b3)]===_0x28e2d9(0x2df)?_0x2671b2[_0x28e2d9(0x3b3)]:_0x28e2d9(0x21b),_0x1a34f3=typeof _0x2671b2[_0x28e2d9(0x393)]==_0x28e2d9(0x222)&&_0x2671b2[_0x28e2d9(0x393)][_0x28e2d9(0x369)]()?_0x2671b2[_0x28e2d9(0x393)]:_0x28e2d9(0x304),_0xbe504d=this[_0x28e2d9(0x3a7)](_0x528c3a,_0x2671b2);return{..._0x2671b2,'startDateFieldId':_0x361143,'endDateFieldId':_0x43ed2e,'titleFieldId':_0x2e98d7,'mode':_0x13ceb3,'timeslotSize':_0x41ab19,'timeZone':_0x1a34f3,'displayColor':_0xbe504d,'fieldSettings':Object['fromEntries'](Object[_0x28e2d9(0x34d)]((_0x4beaee=_0x2671b2[_0x28e2d9(0x3c9)])==null?{}:_0x4beaee)[_0x28e2d9(0x385)](([_0x4cd703])=>!!_0x528c3a['fields'][_0x4cd703]))};}[_0x1141d6(0x2dd)](_0x130c59,_0x39b0a2){const _0x3538ca=_0x1141d6;var _0xccb7b6,_0x19006d;return _0x39b0a2&&this[_0x3538ca(0x332)](_0x130c59,_0x39b0a2)?_0x39b0a2:(_0xccb7b6=(_0x19006d=this['_findCalendarDateFieldId'](_0x130c59))==null?_0x39b0a2:_0x19006d)==null?'':_0xccb7b6;}[_0x1141d6(0x165)](_0x1b131b,_0x3a69e1){for(let _0x338d74 of _0x1b131b['fieldOrder'])if(_0x338d74!==_0x3a69e1&&this['_isCalendarDateField'](_0x1b131b,_0x338d74))return _0x338d74;return null;}[_0x1141d6(0x332)](_0x417d21,_0x5790d7){const _0x21f0a0=_0x1141d6;let _0x44216d=_0x417d21[_0x21f0a0(0x2e2)][_0x5790d7];return!!_0x44216d&&_0x44216d[_0x21f0a0(0x157)]===_0x1b662f[_0x21f0a0(0x29d)]&&_0x44216d[_0x21f0a0(0x3fc)]!==!0x0&&_0x44216d[_0x21f0a0(0x31c)]!==!0x0&&this[_0x21f0a0(0x1b0)](_0x44216d)[_0x21f0a0(0x372)];}['_normalizeCalendarDisplayColor'](_0x328b4d,_0x2c16f4){const _0x368bbe=_0x1141d6;let _0x478c3d=_0x2c16f4[_0x368bbe(0x3b8)];if((_0x478c3d==null?void 0x0:_0x478c3d['type'])===_0x368bbe(0x177)){let _0xcf145b=_0x328b4d[_0x368bbe(0x2e2)][_0x478c3d[_0x368bbe(0x1be)]];if(_0xcf145b&&_0xcf145b['type']===_0x1b662f[_0x368bbe(0x1c8)])return _0x478c3d;}if((_0x478c3d==null?void 0x0:_0x478c3d[_0x368bbe(0x157)])==='custom'&&typeof _0x478c3d[_0x368bbe(0x28c)]=='string'&&_0x478c3d[_0x368bbe(0x28c)][_0x368bbe(0x369)]())return{'type':_0x368bbe(0x1e6),'color':_0x478c3d[_0x368bbe(0x28c)]};if(_0x2c16f4['colorFieldId']){let _0xb35447=_0x328b4d[_0x368bbe(0x2e2)][_0x2c16f4['colorFieldId']];if(_0xb35447&&_0xb35447[_0x368bbe(0x157)]===_0x1b662f[_0x368bbe(0x1c8)])return{'type':_0x368bbe(0x177),'fieldId':_0x2c16f4[_0x368bbe(0x2a9)]};}return{'type':_0x368bbe(0x1e6),'color':_0x368bbe(0x1f9)};}[_0x1141d6(0x244)](_0x5894b5,_0x2a950d,_0x18b043){const _0x6b651=_0x1141d6;let _0x4dc8f9=_0x18b043[_0x6b651(0x3b8)];if((_0x4dc8f9==null?void 0x0:_0x4dc8f9[_0x6b651(0x157)])===_0x6b651(0x177)){var _0x1e5e2b;let _0x56fc21=_0x5894b5[_0x6b651(0x2e2)][_0x4dc8f9[_0x6b651(0x1be)]];if(!_0x56fc21)return;let _0x4c6fc3=_0x2a950d[_0x6b651(0x3aa)][_0x4dc8f9[_0x6b651(0x1be)]],_0x5343c7=Array[_0x6b651(0x28a)](_0x4c6fc3)?_0x4c6fc3[0x0]:_0x4c6fc3;return _0x5343c7==null||(_0x1e5e2b=J(_0x56fc21,String(_0x5343c7)))==null?void 0x0:_0x1e5e2b[_0x6b651(0x28c)];}if((_0x4dc8f9==null?void 0x0:_0x4dc8f9[_0x6b651(0x157)])==='custom')return _0x4dc8f9['color'];}[_0x1141d6(0x302)](_0x7adaeb,_0x1a8997,_0x2f3d87,_0x581078){const _0x2cb015=_0x1141d6;var _0x282dbd,_0x18eb4f;let _0x1f4e8a=((_0x282dbd=_0x7adaeb[_0x2cb015(0x1f0)])==null?void 0x0:_0x282dbd[_0x2cb015(0x1db)])===!0x0,_0x4bfdef=(_0x1a8997==null||(_0x18eb4f=_0x1a8997[_0x2cb015(0x1f0)])==null?void 0x0:_0x18eb4f[_0x2cb015(0x1db)])===!0x0;return!_0x1f4e8a&&!_0x4bfdef;}[_0x1141d6(0x3e5)](_0x35e743,_0x1f8099){const _0x439d7e=_0x1141d6;var _0x38c91c,_0x585e74;let _0x101bda=((_0x38c91c=_0x35e743[_0x439d7e(0x1f0)])==null?void 0x0:_0x38c91c[_0x439d7e(0x1db)])===!0x0,_0x32c049=((_0x585e74=_0x1f8099[_0x439d7e(0x1f0)])==null?void 0x0:_0x585e74[_0x439d7e(0x1db)])===!0x0;return!_0x101bda&&!_0x32c049;}[_0x1141d6(0x32a)](_0x21bc30,_0x1e198f){const _0x361b2b=_0x1141d6;let _0x3b49a1=this[_0x361b2b(0x16e)](_0x21bc30,_0x1e198f[_0x361b2b(0x1f0)]),_0x421acf=_0x21bc30['fields'][_0x3b49a1[_0x361b2b(0x394)]];if(!_0x421acf||_0x421acf[_0x361b2b(0x157)]!==_0x1b662f['Date']||_0x421acf['readonly']===!0x0||_0x421acf['system']===!0x0||!this[_0x361b2b(0x1b0)](_0x421acf)[_0x361b2b(0x1a1)])return{'type':_0x361b2b(0x2ca),'viewType':_0x479acb[_0x361b2b(0x24e)],'reason':_0x361b2b(0x240),'fieldId':_0x3b49a1[_0x361b2b(0x394)]};let _0xd489d4=_0x21bc30[_0x361b2b(0x2e2)][_0x3b49a1[_0x361b2b(0x153)]];if(!_0xd489d4||_0xd489d4['type']!==_0x1b662f[_0x361b2b(0x29d)]||_0xd489d4[_0x361b2b(0x3fc)]===!0x0||_0xd489d4[_0x361b2b(0x31c)]===!0x0||!this[_0x361b2b(0x1b0)](_0xd489d4)[_0x361b2b(0x175)])return{'type':_0x361b2b(0x2ca),'viewType':_0x479acb[_0x361b2b(0x24e)],'reason':_0x361b2b(0x137),'fieldId':_0x3b49a1['endDateFieldId']};let _0x50f989=this[_0x361b2b(0x3e5)](_0x421acf,_0xd489d4),_0x50211a=this[_0x361b2b(0x36d)](_0x21bc30,_0x1e198f),_0x3b9b30=_0x50211a['flatMap'](_0x1e40cf=>{const _0x456824=_0x361b2b;var _0x3c3691;let _0x53479e=N(_0x1e40cf[_0x456824(0x3aa)][_0x3b49a1[_0x456824(0x394)]]),_0x1f9941=N(_0x1e40cf['values'][_0x3b49a1['endDateFieldId']]);if(!Number[_0x456824(0x259)](_0x53479e)||!Number['isFinite'](_0x1f9941))return[];let _0x138458=Math[_0x456824(0x2d8)](_0x53479e,_0x1f9941),_0x499b7f=Math[_0x456824(0x248)](_0x53479e,_0x1f9941),_0x3b5f29=_0x3b49a1[_0x456824(0x21f)]==null?void 0x0:Number(_0x1e40cf[_0x456824(0x3aa)][_0x3b49a1['progressFieldId']]);return[{'recordId':_0x1e40cf['recordId'],'title':this[_0x456824(0x138)](_0x21bc30,_0x1e40cf,_0x3b49a1[_0x456824(0x35a)]),'start':_0x138458,'end':_0x499b7f,'color':this[_0x456824(0x39b)](_0x21bc30,_0x1e40cf,_0x3b49a1),'progress':Number[_0x456824(0x259)](_0x3b5f29)?_0x3b5f29:void 0x0,'workingDayCount':_0x3b49a1[_0x456824(0x27a)]?In(_0x138458,_0x499b7f,_0x3b49a1[_0x456824(0x3b1)]):void 0x0,'dependencyRecordIds':this['_recordIds'](_0x1e40cf['values'][(_0x3c3691=_0x3b49a1[_0x456824(0x3c0)])==null?'':_0x3c3691])}];}),_0x1d5d21=_0x3b9b30[_0x361b2b(0x3e1)]?K(Math['min'](..._0x3b9b30[_0x361b2b(0x220)](_0x1e446e=>_0x1e446e[_0x361b2b(0x299)]))-0x5a*G):K(Date['now']()-0x5a*G),_0x2583b8=_0x3b9b30[_0x361b2b(0x3e1)]?K(Math[_0x361b2b(0x248)](..._0x3b9b30[_0x361b2b(0x220)](_0x4780f8=>_0x4780f8['end']))+0x5b*G):K(Date[_0x361b2b(0x284)]()+0x5b*G),_0x1b8586=On(_0x3b49a1[_0x361b2b(0x270)],_0x1d5d21,_0x2583b8,_0x3b49a1[_0x361b2b(0x27a)]?_0x3b49a1[_0x361b2b(0x3b1)]:void 0x0);return{'type':_0x479acb[_0x361b2b(0x24e)],'fields':this[_0x361b2b(0x2fd)](_0x21bc30,{..._0x1e198f,'config':_0x3b49a1}),'rows':_0x50211a,'groups':this[_0x361b2b(0x283)](_0x21bc30,_0x1e198f,_0x50211a),'config':_0x3b49a1,'dateRangeAllDay':_0x50f989,'timeline':{'scale':_0x3b49a1[_0x361b2b(0x270)],'start':_0x1d5d21,'end':_0x2583b8,'unitWidth':_0x1b8586[_0x361b2b(0x1d9)],'majorHeaders':_0x1b8586[_0x361b2b(0x3c5)],'columns':_0x1b8586[_0x361b2b(0x181)]},'bars':_0x3b9b30};}[_0x1141d6(0x16e)](_0x58c24e,_0x2ba55){const _0x2f8e20=_0x1141d6;var _0x521a02;let _0x5d3eb4=this[_0x2f8e20(0x3f6)](_0x58c24e,_0x2ba55[_0x2f8e20(0x394)],_0x2f8e20(0x299)),_0x1318b5=this[_0x2f8e20(0x3f6)](_0x58c24e,_0x2ba55['endDateFieldId'],_0x2f8e20(0x14a))||_0x5d3eb4,_0x461019=_0x2ba55[_0x2f8e20(0x35a)]&&_0x58c24e[_0x2f8e20(0x2e2)][_0x2ba55['titleFieldId']]?_0x2ba55['titleFieldId']:_0x58c24e[_0x2f8e20(0x3a0)],_0x51641d=_0x2ba55[_0x2f8e20(0x270)]==='week'||_0x2ba55['scale']===_0x2f8e20(0x318)||_0x2ba55['scale']===_0x2f8e20(0x28b)?_0x2ba55[_0x2f8e20(0x270)]:'month',_0x2c68c4=Dn(_0x2ba55[_0x2f8e20(0x3b1)]);return{..._0x2ba55,'startDateFieldId':_0x5d3eb4,'endDateFieldId':_0x1318b5,'titleFieldId':_0x461019,'scale':_0x51641d,'leftPaneWidth':typeof _0x2ba55[_0x2f8e20(0x3e3)]==_0x2f8e20(0x2fa)?_0x2ba55['leftPaneWidth']:void 0x0,'leftPaneCollapsed':_0x2ba55[_0x2f8e20(0x24c)]===!0x0,'showTodayLine':_0x2ba55[_0x2f8e20(0x286)]!==!0x1,'displayColor':this[_0x2f8e20(0x161)](_0x58c24e,_0x2ba55),'fieldSettings':Object['fromEntries'](Object[_0x2f8e20(0x34d)]((_0x521a02=_0x2ba55[_0x2f8e20(0x3c9)])==null?{}:_0x521a02)[_0x2f8e20(0x385)](([_0x57de4f])=>!!_0x58c24e[_0x2f8e20(0x2e2)][_0x57de4f])),'workingDaysOnly':_0x2ba55['workingDaysOnly']===!0x0,'workingDays':_0x2c68c4};}['_resolveGanttDateFieldId'](_0x4fec73,_0x2c3a2d,_0x42ff3a){const _0x41b1ce=_0x1141d6;if(_0x2c3a2d&&this[_0x41b1ce(0x35f)](_0x4fec73,_0x2c3a2d,_0x42ff3a)||_0x2c3a2d)return _0x2c3a2d;for(let _0x260be5 of _0x4fec73[_0x41b1ce(0x2ad)])if(this[_0x41b1ce(0x35f)](_0x4fec73,_0x260be5,_0x42ff3a))return _0x260be5;return _0x2c3a2d==null?'':_0x2c3a2d;}[_0x1141d6(0x35f)](_0x1162d9,_0x343771,_0x526b3e){const _0x5b1c23=_0x1141d6;let _0x38df17=_0x1162d9['fields'][_0x343771];if(!_0x38df17||_0x38df17[_0x5b1c23(0x157)]!==_0x1b662f['Date']||_0x38df17['readonly']===!0x0||_0x38df17['system']===!0x0)return!0x1;let _0x1cd2be=this[_0x5b1c23(0x1b0)](_0x38df17);return _0x526b3e==='start'?_0x1cd2be[_0x5b1c23(0x1a1)]:_0x1cd2be[_0x5b1c23(0x175)];}['_normalizeGanttDisplayColor'](_0x47ef6e,_0x55b7db){const _0x51afdc=_0x1141d6;let _0x2352d4=_0x55b7db[_0x51afdc(0x3b8)];if((_0x2352d4==null?void 0x0:_0x2352d4[_0x51afdc(0x157)])===_0x51afdc(0x177)){let _0x34971a=_0x47ef6e['fields'][_0x2352d4[_0x51afdc(0x1be)]];if(_0x34971a&&_0x34971a[_0x51afdc(0x157)]===_0x1b662f[_0x51afdc(0x1c8)])return _0x2352d4;}return(_0x2352d4==null?void 0x0:_0x2352d4[_0x51afdc(0x157)])===_0x51afdc(0x1ca)&&Array[_0x51afdc(0x28a)](_0x2352d4['rules'])?{'type':_0x51afdc(0x1ca),'rules':_0x2352d4[_0x51afdc(0x281)][_0x51afdc(0x385)](_0x15ecd6=>!!_0x47ef6e['fields'][_0x15ecd6[_0x51afdc(0x1be)]])}:(_0x2352d4==null?void 0x0:_0x2352d4['type'])===_0x51afdc(0x1e6)&&typeof _0x2352d4[_0x51afdc(0x28c)]=='string'&&_0x2352d4[_0x51afdc(0x28c)]['trim']()?{'type':_0x51afdc(0x1e6),'color':_0x2352d4[_0x51afdc(0x28c)]}:{'type':'custom','color':_0x51afdc(0x253)};}[_0x1141d6(0x39b)](_0xfc55e7,_0x583803,_0x308c8a){const _0x4f3abd=_0x1141d6;let _0x23fce9=_0x308c8a['displayColor'];if((_0x23fce9==null?void 0x0:_0x23fce9['type'])===_0x4f3abd(0x1ca)){let _0x5b4c72=_0x23fce9[_0x4f3abd(0x281)][_0x4f3abd(0x236)](_0x3bf9c7=>this[_0x4f3abd(0x3c3)](_0xfc55e7,_0x583803,_0x3bf9c7));if(_0x5b4c72)return _0x5b4c72[_0x4f3abd(0x28c)];}if((_0x23fce9==null?void 0x0:_0x23fce9[_0x4f3abd(0x157)])===_0x4f3abd(0x177)){let _0x3074ad=_0xfc55e7[_0x4f3abd(0x2e2)][_0x23fce9[_0x4f3abd(0x1be)]];if(_0x3074ad){var _0x1c92aa;let _0x22ce71=_0x583803[_0x4f3abd(0x3aa)][_0x23fce9[_0x4f3abd(0x1be)]],_0x4b0229=Array[_0x4f3abd(0x28a)](_0x22ce71)?_0x22ce71[0x0]:_0x22ce71,_0x58fef4=_0x4b0229==null||(_0x1c92aa=J(_0x3074ad,String(_0x4b0229)))==null?void 0x0:_0x1c92aa[_0x4f3abd(0x28c)];if(_0x58fef4)return _0x58fef4;}}return(_0x23fce9==null?void 0x0:_0x23fce9[_0x4f3abd(0x157)])==='custom'?_0x23fce9[_0x4f3abd(0x28c)]:_0x4f3abd(0x253);}[_0x1141d6(0x3c3)](_0x1bef26,_0x369802,_0x4808f0){const _0x4038e8=_0x1141d6;let _0x54ccdb=_0x1bef26[_0x4038e8(0x2e2)][_0x4808f0[_0x4038e8(0x1be)]];return _0x54ccdb?ft(_0x369802[_0x4038e8(0x3aa)][_0x54ccdb['id']],_0x4808f0[_0x4038e8(0x23b)],_0x4808f0[_0x4038e8(0x295)],_0x54ccdb,{'dateMode':_0x4808f0[_0x4038e8(0x31e)]}):!0x1;}[_0x1141d6(0x170)](_0x1b3f8f,_0x3cb169){const _0xa9b703=_0x1141d6;var _0x2be1ec,_0x3664b4,_0x222c63;let _0x4efe7a=this[_0xa9b703(0x36d)](_0x1b3f8f,_0x3cb169),_0x95a7e8=this[_0xa9b703(0x1f7)](_0x1b3f8f,(_0x2be1ec=_0x3cb169[_0xa9b703(0x1f0)])==null?{}:_0x2be1ec),_0x522026=this[_0xa9b703(0x2fd)](_0x1b3f8f,_0x3cb169);return{'type':_0x479acb[_0xa9b703(0x160)],'fields':_0x522026,'rows':_0x4efe7a,'groups':this[_0xa9b703(0x283)](_0x1b3f8f,_0x3cb169,_0x4efe7a),'coverFieldId':_0x95a7e8[_0xa9b703(0x3cc)],'cardLayout':(_0x3664b4=_0x95a7e8['cardLayout'])==null?_0xa9b703(0x3ae):_0x3664b4,'showFieldNames':_0x95a7e8[_0xa9b703(0x3eb)]!==!0x1,'visibleCardFieldIds':this['_resolveGalleryCardFieldIds'](_0x1b3f8f,_0x3cb169,_0x95a7e8),'cardSize':(_0x222c63=_0x95a7e8[_0xa9b703(0x2cb)])==null?_0xa9b703(0x21b):_0x222c63,'cards':_0x4efe7a[_0xa9b703(0x220)](_0x318025=>({'recordId':_0x318025[_0xa9b703(0x201)],'title':this[_0xa9b703(0x138)](_0x1b3f8f,_0x318025,_0x95a7e8[_0xa9b703(0x3c2)][_0xa9b703(0x35a)]),'values':_0x318025[_0xa9b703(0x3aa)]}))};}[_0x1141d6(0x1f7)](_0x2facac,_0xd9d942){const _0x2b92f4=_0x1141d6;var _0x18f294,_0x5920d9;let _0x480525=(_0x18f294=_0xd9d942['card'])==null?{'fieldIds':[]}:_0x18f294,_0x8b20e5=_0x480525[_0x2b92f4(0x35a)]&&_0x2facac[_0x2b92f4(0x2e2)][_0x480525[_0x2b92f4(0x35a)]]?_0x480525[_0x2b92f4(0x35a)]:un(_0x2facac),_0xc543d8=this[_0x2b92f4(0x145)](_0x2facac,_0xd9d942),_0x74bf1d=_0xd9d942[_0x2b92f4(0x2cb)]===_0x2b92f4(0x3b4)||_0xd9d942[_0x2b92f4(0x2cb)]===_0x2b92f4(0x362)?_0xd9d942[_0x2b92f4(0x2cb)]:_0x2b92f4(0x21b);return{..._0xd9d942,'coverFieldId':_0xc543d8,'cardLayout':_0xd9d942['cardLayout']===_0x2b92f4(0x18f)?'compose':'normal','showFieldNames':_0xd9d942[_0x2b92f4(0x3eb)]!==!0x1,'fieldSettings':Object[_0x2b92f4(0x176)](Object['entries']((_0x5920d9=_0xd9d942[_0x2b92f4(0x3c9)])==null?{}:_0x5920d9)[_0x2b92f4(0x385)](([_0x4b7289])=>!!_0x2facac[_0x2b92f4(0x2e2)][_0x4b7289])),'card':{..._0x480525,'titleFieldId':_0x8b20e5,'coverFieldId':_0xc543d8,'fieldIds':Array[_0x2b92f4(0x28a)](_0x480525[_0x2b92f4(0x146)])?_0x480525[_0x2b92f4(0x146)]:[]},'cardSize':_0x74bf1d};}['_resolveGalleryCoverFieldId'](_0x389c60,_0x18df99){const _0x3a75b=_0x1141d6;var _0x2410c9,_0xea6307,_0x343ea6;let _0x25c9dd=(_0x2410c9=(_0xea6307=_0x18df99[_0x3a75b(0x3cc)])==null?(_0x343ea6=_0x18df99[_0x3a75b(0x3c2)])==null?void 0x0:_0x343ea6['coverFieldId']:_0xea6307)==null?null:_0x2410c9;if(!_0x25c9dd)return null;let _0x2637ce=_0x389c60[_0x3a75b(0x2e2)][_0x25c9dd];return _0x2637ce&&this[_0x3a75b(0x1b0)](_0x2637ce)[_0x3a75b(0x139)]?_0x2637ce['id']:null;}[_0x1141d6(0x36a)](_0x3cc819,_0x1dcf83,_0x473cac){const _0x4efc8e=_0x1141d6;var _0x3a9a6d,_0x4c7309,_0x56011a,_0x116321,_0x5e667f,_0x25229a,_0x4380e4;let _0x5095c1=(_0x3a9a6d=_0x473cac['fieldSettings'])==null?{}:_0x3a9a6d,_0x2ba514=(_0x4c7309=(_0x56011a=_0x473cac[_0x4efc8e(0x3c2)])==null?void 0x0:_0x56011a[_0x4efc8e(0x35a)])==null?un(_0x3cc819):_0x4c7309,_0x3b4360=(_0x116321=(_0x5e667f=_0x473cac[_0x4efc8e(0x3cc)])==null?(_0x25229a=_0x473cac[_0x4efc8e(0x3c2)])==null?void 0x0:_0x25229a[_0x4efc8e(0x3cc)]:_0x5e667f)==null?null:_0x116321,_0x1c5db9=!((_0x4380e4=_0x473cac[_0x4efc8e(0x3c2)])==null||(_0x4380e4=_0x4380e4[_0x4efc8e(0x146)])==null)&&_0x4380e4[_0x4efc8e(0x3e1)]?_0x473cac['card'][_0x4efc8e(0x146)]:dn(_0x3cc819,[_0x2ba514,_0x3b4360,_0x3cc819[_0x4efc8e(0x3a0)]]);return _0x1c5db9[_0x4efc8e(0x385)](_0x47f618=>{const _0x39add7=_0x4efc8e;var _0x33a423,_0x2af909;let _0x5d0f69=_0x3cc819[_0x39add7(0x2e2)][_0x47f618];return!(!_0x5d0f69||_0x5d0f69['id']===_0x2ba514||_0x5d0f69['id']===_0x3b4360||!((_0x33a423=_0x1dcf83[_0x39add7(0x3c9)])==null||(_0x33a423=_0x33a423[_0x47f618])==null)&&_0x33a423['hidden']||(_0x2af909=_0x5095c1[_0x47f618])!=null&&_0x2af909[_0x39add7(0x311)]);})[_0x4efc8e(0x3b6)]((_0x44412c,_0xd09205)=>{const _0x398655=_0x4efc8e;var _0x39f766,_0x55cb6c,_0x28000c,_0x165797;return((_0x39f766=(_0x55cb6c=_0x5095c1[_0x44412c])==null?void 0x0:_0x55cb6c[_0x398655(0x398)])==null?_0x1c5db9[_0x398655(0x24a)](_0x44412c):_0x39f766)-((_0x28000c=(_0x165797=_0x5095c1[_0xd09205])==null?void 0x0:_0x165797[_0x398655(0x398)])==null?_0x1c5db9['indexOf'](_0xd09205):_0x28000c);});}[_0x1141d6(0x2fd)](_0xc1e5b5,_0x44d89c){const _0x513f59=_0x1141d6;var _0x15a81d;return((_0x15a81d=_0x44d89c['fieldOrder'])!=null&&_0x15a81d[_0x513f59(0x3e1)]?_0x44d89c['fieldOrder']:_0xc1e5b5[_0x513f59(0x2ad)])[_0x513f59(0x1a8)](_0x23acf1=>{const _0x4e4613=_0x513f59;var _0x376074,_0xbd74e9;let _0x21550a=_0xc1e5b5[_0x4e4613(0x2e2)][_0x23acf1],_0x28dd98=(_0x376074=(_0xbd74e9=_0x44d89c['fieldSettings'])==null?void 0x0:_0xbd74e9[_0x23acf1])==null?{}:_0x376074;return!_0x21550a||_0x28dd98[_0x4e4613(0x311)]?[]:[{'id':_0x21550a['id'],'name':_0x21550a['name'],'description':_0x21550a[_0x4e4613(0x2bc)],'type':_0x21550a[_0x4e4613(0x157)],'config':_0x21550a[_0x4e4613(0x1f0)],'width':_0x28dd98[_0x4e4613(0x150)],'setting':_0x28dd98}];});}[_0x1141d6(0x36d)](_0x3bf33c,_0x583f5a){const _0x50d8de=_0x1141d6;var _0xc3988e,_0x489ea5,_0x51a43a;return T(_0x50d8de(0x34a),()=>{const _0x440be4=_0x50d8de;var _0x26c072,_0x3a7fda,_0x41fe3d,_0x8aef76;let _0xd99d4e=this[_0x440be4(0x29f)](_0x3bf33c),_0x2d3c2b=this['_viewRowsCacheKey'](_0x3bf33c['id'],_0x583f5a),_0x596b7b=this['_getCellRevision'](_0x3bf33c['id']),_0x1f60b8=this[_0x440be4(0x31b)][_0x440be4(0x13c)](_0x2d3c2b);if(_0x1f60b8&&_0x1f60b8[_0x440be4(0x197)]===this['_globalRevision']&&_0x1f60b8[_0x440be4(0x403)]===this['_getTableRevision'](_0x3bf33c['id'])){if(_0x1f60b8['cellRevision']===_0x596b7b&&_0x1f60b8[_0x440be4(0x26e)]===_0xd99d4e)return _0x1f60b8[_0x440be4(0x37a)];if(_0x1f60b8[_0x440be4(0x3d4)]!==_0x596b7b&&!this[_0x440be4(0x30c)](_0x3bf33c['id'],_0x1f60b8[_0x440be4(0x3d4)],_0x596b7b,this[_0x440be4(0x37f)](_0x583f5a))){let _0x2790fb=_0x1f60b8[_0x440be4(0x37a)]===_0x1f60b8[_0x440be4(0x26e)]?_0xd99d4e:this[_0x440be4(0x2bd)](_0x1f60b8[_0x440be4(0x37a)],_0xd99d4e);if(_0x2790fb)return this[_0x440be4(0x31b)]['set'](_0x2d3c2b,{..._0x1f60b8,'rows':_0x2790fb,'baseRows':_0xd99d4e,'cellRevision':_0x596b7b}),_0x2790fb;}}let _0x2709f6=T(_0x440be4(0x25f),()=>this[_0x440be4(0x34c)](_0x3bf33c,_0x583f5a,this[_0x440be4(0x18d)](_0x3bf33c,_0x583f5a,_0xd99d4e)),{'tableId':_0x3bf33c['id'],'viewId':_0x583f5a==null?void 0x0:_0x583f5a['id'],'viewType':_0x583f5a==null?void 0x0:_0x583f5a[_0x440be4(0x157)],'rows':_0xd99d4e[_0x440be4(0x3e1)],'filters':(_0x26c072=_0x583f5a==null||(_0x3a7fda=_0x583f5a['filter'])==null?void 0x0:_0x3a7fda['conditions']['length'])==null?0x0:_0x26c072,'sorts':(_0x41fe3d=_0x583f5a==null||(_0x8aef76=_0x583f5a[_0x440be4(0x3b6)])==null?void 0x0:_0x8aef76[_0x440be4(0x3e1)])==null?0x0:_0x41fe3d});return this[_0x440be4(0x31b)]['set'](_0x2d3c2b,{'table':_0x3bf33c,'rows':_0x2709f6,'baseRows':_0xd99d4e,'globalRevision':this[_0x440be4(0x225)],'tableRevision':this[_0x440be4(0x2af)](_0x3bf33c['id']),'cellRevision':_0x596b7b}),_0x2709f6;},{'tableId':_0x3bf33c['id'],'viewId':_0x583f5a==null?void 0x0:_0x583f5a['id'],'viewType':_0x583f5a==null?void 0x0:_0x583f5a[_0x50d8de(0x157)],'records':(_0xc3988e=(_0x489ea5=_0x3bf33c[_0x50d8de(0x19d)])==null?void 0x0:_0x489ea5[_0x50d8de(0x3e1)])==null?Object[_0x50d8de(0x1ef)]((_0x51a43a=_0x3bf33c[_0x50d8de(0x162)])==null?{}:_0x51a43a)[_0x50d8de(0x3e1)]:_0xc3988e});}[_0x1141d6(0x29f)](_0x2a1d8b){const _0x54f07d=_0x1141d6;var _0x4e10ad,_0x1cef77,_0x274db1;return T('BaseProjection.projectTableRows',()=>{const _0x466d4b=_0x33c5;var _0x3ffc12;let _0x35dd47=this[_0x466d4b(0x335)](_0x2a1d8b['id']),_0x7d468a=this[_0x466d4b(0x2b1)][_0x466d4b(0x13c)](_0x2a1d8b['id']);if(_0x7d468a&&_0x7d468a[_0x466d4b(0x197)]===this[_0x466d4b(0x225)]&&_0x7d468a['tableRevision']===this[_0x466d4b(0x2af)](_0x2a1d8b['id'])){if(_0x7d468a[_0x466d4b(0x3d4)]===_0x35dd47&&_0x7d468a[_0x466d4b(0x305)]===_0x2a1d8b)return _0x7d468a['rows'];let _0x270b13=this[_0x466d4b(0x2ff)](_0x2a1d8b,_0x7d468a,_0x35dd47);if(_0x270b13)return _0x270b13;}Sn(_0x2a1d8b)||E(_0x2a1d8b);let _0x371393=(_0x3ffc12=_0x2a1d8b[_0x466d4b(0x19d)])!=null&&_0x3ffc12['length']?_0x2a1d8b['recordOrder']:En(_0x2a1d8b[_0x466d4b(0x162)]),_0x32e82b=T(_0x466d4b(0x326),()=>{const _0x47b57a=_0x466d4b;let _0x2ec927=[];for(let _0x489d7c of _0x371393){let _0x261c1b=_0x2a1d8b['records'][_0x489d7c];if(!_0x261c1b)continue;let _0x9507ff={};for(let _0x26260c of _0x2a1d8b[_0x47b57a(0x2ad)])_0x9507ff[_0x26260c]=Ee(_0x2a1d8b,_0x261c1b['id'],_0x26260c);_0x2ec927[_0x47b57a(0x1a6)]({'recordId':_0x261c1b['id'],'values':_0x9507ff});}return _0x2ec927;},{'tableId':_0x2a1d8b['id'],'records':_0x371393[_0x466d4b(0x3e1)],'fields':_0x2a1d8b[_0x466d4b(0x2ad)]['length']});return this[_0x466d4b(0x2b1)]['set'](_0x2a1d8b['id'],{'table':_0x2a1d8b,'rows':_0x32e82b,'rowIndexById':xn(_0x32e82b),'globalRevision':this['_globalRevision'],'tableRevision':this[_0x466d4b(0x2af)](_0x2a1d8b['id']),'cellRevision':_0x35dd47}),_0x32e82b;},{'tableId':_0x2a1d8b['id'],'records':(_0x4e10ad=(_0x1cef77=_0x2a1d8b[_0x54f07d(0x19d)])==null?void 0x0:_0x1cef77['length'])==null?Object[_0x54f07d(0x1ef)]((_0x274db1=_0x2a1d8b[_0x54f07d(0x162)])==null?{}:_0x274db1)[_0x54f07d(0x3e1)]:_0x4e10ad,'fields':_0x2a1d8b[_0x54f07d(0x2ad)]['length']});}[_0x1141d6(0x2ff)](_0x11f254,_0x2d3407,_0xb90ed6){const _0x2339f3=_0x1141d6;var _0x47e76c,_0xc4ad93;let _0x32f8e3=((_0x47e76c=this[_0x2339f3(0x190)]['get'](_0x11f254['id']))==null?[]:_0x47e76c)[_0x2339f3(0x385)](_0x440f24=>_0x440f24[_0x2339f3(0x206)]>_0x2d3407[_0x2339f3(0x3d4)]&&_0x440f24['revision']<=_0xb90ed6);if(!_0x32f8e3[_0x2339f3(0x3e1)])return _0x2d3407['table']===_0x11f254?_0x2d3407['rows']:null;let _0x5f1092=_0x2d3407[_0x2339f3(0x37a)],_0x264dd7=new Map();for(let _0x35e0be of _0x32f8e3){let _0x5064d0=_0x264dd7['get'](_0x35e0be['recordId']);_0x5064d0||(_0x5064d0=new Set(),_0x264dd7[_0x2339f3(0x353)](_0x35e0be[_0x2339f3(0x201)],_0x5064d0)),_0x5064d0['add'](_0x35e0be[_0x2339f3(0x1be)]);}for(let [_0x51f697,_0x5d7ac5]of _0x264dd7){if(!_0x11f254[_0x2339f3(0x162)][_0x51f697])return null;let _0xa53bb3=_0x2d3407['rowIndexById']['get'](_0x51f697);if(_0xa53bb3==null)return null;_0x5f1092===_0x2d3407[_0x2339f3(0x37a)]&&(_0x5f1092=[..._0x2d3407['rows']]);let _0x2b3ff1=_0x5f1092[_0xa53bb3],_0x31c3a5={..._0x2b3ff1[_0x2339f3(0x3aa)]};_0x5d7ac5['forEach'](_0x2cda78=>{_0x31c3a5[_0x2cda78]=Ee(_0x11f254,_0x51f697,_0x2cda78);}),_0x5f1092[_0xa53bb3]={..._0x2b3ff1,'values':_0x31c3a5};}let _0x124d99={'table':_0x11f254,'rows':_0x5f1092,'rowIndexById':_0x2d3407['rowIndexById'],'globalRevision':this[_0x2339f3(0x225)],'tableRevision':this['_getTableRevision'](_0x11f254['id']),'cellRevision':_0xb90ed6};return this[_0x2339f3(0x2b1)][_0x2339f3(0x353)](_0x11f254['id'],_0x124d99),this[_0x2339f3(0x190)]['set'](_0x11f254['id'],((_0xc4ad93=this['_cellInvalidations'][_0x2339f3(0x13c)](_0x11f254['id']))==null?[]:_0xc4ad93)[_0x2339f3(0x385)](_0x230e3b=>_0x230e3b[_0x2339f3(0x206)]>Math[_0x2339f3(0x248)](0x0,_0xb90ed6-0x100))),_0x5f1092;}[_0x1141d6(0x2bd)](_0x5c9b3e,_0x1e0d38){const _0x83a883=_0x1141d6;let _0x208bb1=new Map(_0x1e0d38['map'](_0x1624f6=>[_0x1624f6[_0x83a883(0x201)],_0x1624f6])),_0x42b42d=!0x1,_0x3dda6f=_0x5c9b3e['map'](_0x5c864d=>{const _0x2b8594=_0x83a883;let _0x495879=_0x208bb1['get'](_0x5c864d[_0x2b8594(0x201)]);return _0x495879?_0x495879===_0x5c864d?_0x5c864d:(_0x42b42d=!0x0,_0x495879):_0x5c864d;});return _0x42b42d?_0x3dda6f:_0x5c9b3e;}[_0x1141d6(0x30c)](_0x3e2ec3,_0x3963c0,_0x33140e,_0x48ba17){const _0x28e40c=_0x1141d6;var _0x5e2f07;return!_0x48ba17['size']||_0x3963c0===_0x33140e?!0x1:_0x33140e-_0x3963c0>0x100?!0x0:((_0x5e2f07=this[_0x28e40c(0x190)]['get'](_0x3e2ec3))==null?[]:_0x5e2f07)[_0x28e40c(0x2a0)](_0x5e44c0=>_0x5e44c0[_0x28e40c(0x206)]>_0x3963c0&&_0x5e44c0[_0x28e40c(0x206)]<=_0x33140e&&_0x48ba17[_0x28e40c(0x325)](_0x5e44c0[_0x28e40c(0x1be)]));}[_0x1141d6(0x37f)](_0x359242){const _0x30a9fb=_0x1141d6;var _0x121084,_0x53d0ce;let _0x8510d2=new Set();return _0x359242==null||(_0x121084=_0x359242['filter'])==null||_0x121084[_0x30a9fb(0x20a)][_0x30a9fb(0x2e8)](_0x8b3c9=>_0x8510d2[_0x30a9fb(0x1e2)](_0x8b3c9[_0x30a9fb(0x1be)])),_0x359242==null||(_0x53d0ce=_0x359242[_0x30a9fb(0x3b6)])==null||_0x53d0ce[_0x30a9fb(0x2e8)](_0x14c87c=>_0x8510d2['add'](_0x14c87c[_0x30a9fb(0x1be)])),_0x8510d2;}[_0x1141d6(0x3ac)](_0x6bef08){const _0x14d631=_0x1141d6;var _0x3214ad;let _0x33a7eb=this[_0x14d631(0x37f)](_0x6bef08);return(_0x3214ad=_0x6bef08[_0x14d631(0x18c)])==null||_0x3214ad[_0x14d631(0x2e8)](_0x6349e0=>_0x33a7eb[_0x14d631(0x1e2)](_0x6349e0['fieldId'])),_0x33a7eb;}[_0x1141d6(0x18d)](_0xf3ca9d,_0x351aad,_0x5da86b){const _0x40b497=_0x1141d6;let _0x2c5a9b=_0x351aad==null?void 0x0:_0x351aad[_0x40b497(0x385)];if(!(_0x2c5a9b!=null&&_0x2c5a9b[_0x40b497(0x20a)][_0x40b497(0x3e1)]))return _0x5da86b;let _0x26afcd=_0x2c5a9b[_0x40b497(0x20a)]['filter'](_0x429e25=>!Kn(_0x429e25));return _0x26afcd[_0x40b497(0x3e1)]?_0x5da86b['filter'](_0x418214=>{const _0x14a95d=_0x40b497;if(_0x2c5a9b[_0x14a95d(0x408)]===_0x2849da['OR']){for(let _0x1142a1 of _0x26afcd){let _0x42a66f=_0xf3ca9d[_0x14a95d(0x2e2)][_0x1142a1[_0x14a95d(0x1be)]];if(!_0x42a66f||this[_0x14a95d(0x2c4)][_0x14a95d(0x13c)](_0x42a66f[_0x14a95d(0x157)])[_0x14a95d(0x385)](_0x418214[_0x14a95d(0x3aa)][_0x42a66f['id']],_0x1142a1['operator'],_0x1142a1['operand'],_0x42a66f))return!0x0;}return!0x1;}for(let _0x72669 of _0x26afcd){let _0x3e3a07=_0xf3ca9d['fields'][_0x72669[_0x14a95d(0x1be)]];if(_0x3e3a07&&!this[_0x14a95d(0x2c4)][_0x14a95d(0x13c)](_0x3e3a07[_0x14a95d(0x157)])[_0x14a95d(0x385)](_0x418214[_0x14a95d(0x3aa)][_0x3e3a07['id']],_0x72669[_0x14a95d(0x23b)],_0x72669[_0x14a95d(0x295)],_0x3e3a07))return!0x1;}return!0x0;}):_0x5da86b;}[_0x1141d6(0x34c)](_0x311c9e,_0xc4c93a,_0x181142){const _0x1d8ad5=_0x1141d6;var _0x5e0b20;let _0xf4f962=(_0x5e0b20=_0xc4c93a==null?void 0x0:_0xc4c93a[_0x1d8ad5(0x3b6)])==null?[]:_0x5e0b20;if(!_0xf4f962[_0x1d8ad5(0x3e1)])return _0x181142;let _0x26ffae=_0xf4f962['flatMap'](_0x9875a4=>{const _0x3b2b17=_0x1d8ad5;let _0x567e81=_0x311c9e[_0x3b2b17(0x2e2)][_0x9875a4[_0x3b2b17(0x1be)]];return _0x567e81?[{..._0x9875a4,'field':_0x567e81}]:[];});return _0x26ffae[_0x1d8ad5(0x3e1)]?this[_0x1d8ad5(0x2ec)](_0x26ffae)?this[_0x1d8ad5(0x17a)](_0x26ffae,_0x181142):[..._0x181142][_0x1d8ad5(0x3b6)]((_0x221cce,_0x1c0bf7)=>{const _0xe34656=_0x1d8ad5;for(let _0x2a8a6e of _0x26ffae){let _0x403b0f=_0x2a8a6e[_0xe34656(0x293)],_0x2803c4=this[_0xe34656(0x2c4)][_0xe34656(0x13c)](_0x403b0f[_0xe34656(0x157)])['compare'](_0x221cce[_0xe34656(0x3aa)][_0x403b0f['id']],_0x1c0bf7['values'][_0x403b0f['id']],_0x403b0f);if(_0x2803c4!==0x0)return _0x2a8a6e[_0xe34656(0x323)]===_0xec9d2c[_0xe34656(0x3ef)]?-_0x2803c4:_0x2803c4;}return 0x0;}):_0x181142;}[_0x1141d6(0x2ec)](_0x115012){const _0x4371f8=_0x1141d6;return _0x115012[_0x4371f8(0x256)](_0xc8aea2=>vn[_0x4371f8(0x325)](_0xc8aea2[_0x4371f8(0x293)][_0x4371f8(0x157)]));}[_0x1141d6(0x17a)](_0x34df6d,_0x5d57a5){const _0x226c2d=_0x1141d6;return _0x5d57a5[_0x226c2d(0x220)]((_0x3f16fa,_0x8a1772)=>({'row':_0x3f16fa,'index':_0x8a1772,'keys':_0x34df6d[_0x226c2d(0x220)](_0x2c0a03=>_0x3f16fa[_0x226c2d(0x3aa)][_0x2c0a03['fieldId']])}))['sort']((_0x14c928,_0x332f9c)=>{const _0x1dd34c=_0x226c2d;for(let _0x5ddf71=0x0;_0x5ddf71<_0x34df6d[_0x1dd34c(0x3e1)];_0x5ddf71++){let _0x362ad4=Gn(_0x14c928['keys'][_0x5ddf71],_0x332f9c[_0x1dd34c(0x1ef)][_0x5ddf71]);if(_0x362ad4!==0x0)return _0x34df6d[_0x5ddf71][_0x1dd34c(0x323)]===_0xec9d2c[_0x1dd34c(0x3ef)]?-_0x362ad4:_0x362ad4;}return _0x14c928[_0x1dd34c(0x148)]-_0x332f9c['index'];})[_0x226c2d(0x220)](_0x4930e8=>_0x4930e8[_0x226c2d(0x198)]);}[_0x1141d6(0x283)](_0x217a05,_0x43515d,_0x4088f4){const _0x3b2f28=_0x1141d6;var _0x567c94,_0x3fa10f;return T('BaseProjection.projectGroups',()=>{const _0x14a82c=_0x33c5;var _0x15187b;if(!((_0x15187b=_0x43515d[_0x14a82c(0x18c)])!=null&&_0x15187b[_0x14a82c(0x3e1)]))return[];let _0x5dfa57=_0x43515d[_0x14a82c(0x18c)][_0x14a82c(0x385)](_0xc291e2=>_0x217a05[_0x14a82c(0x2e2)][_0xc291e2[_0x14a82c(0x1be)]]);if(!_0x5dfa57[_0x14a82c(0x3e1)])return[];let _0xf3ef67=this[_0x14a82c(0x3d5)](_0x217a05['id'],_0x43515d,_0x5dfa57),_0x2c43a9=this['_getCellRevision'](_0x217a05['id']),_0x561b6b=this[_0x14a82c(0x36f)][_0x14a82c(0x13c)](_0xf3ef67);if(_0x561b6b&&_0x561b6b[_0x14a82c(0x197)]===this[_0x14a82c(0x225)]&&_0x561b6b[_0x14a82c(0x403)]===this[_0x14a82c(0x2af)](_0x217a05['id'])){if(_0x561b6b[_0x14a82c(0x3d4)]===_0x2c43a9&&_0x561b6b[_0x14a82c(0x37a)]===_0x4088f4)return _0x561b6b[_0x14a82c(0x151)];if(_0x561b6b[_0x14a82c(0x3d4)]!==_0x2c43a9&&!this[_0x14a82c(0x30c)](_0x217a05['id'],_0x561b6b[_0x14a82c(0x3d4)],_0x2c43a9,this[_0x14a82c(0x3ac)](_0x43515d)))return this['_projectedGroupsCache'][_0x14a82c(0x353)](_0xf3ef67,{..._0x561b6b,'rows':_0x4088f4,'cellRevision':_0x2c43a9}),_0x561b6b['groups'];}let _0x796187=new Map();for(let _0x4dfd9e of _0x4088f4){let _0x467251=_0x796187,_0x5bcd1f='';for(let _0x284310=0x0;_0x284310<_0x5dfa57[_0x14a82c(0x3e1)];_0x284310++){let _0x47679b=_0x5dfa57[_0x284310],_0x3f3703=_0x4dfd9e[_0x14a82c(0x3aa)][_0x47679b[_0x14a82c(0x1be)]],_0xaaee8f=bn(_0x3f3703),_0x5d8630=_0x47679b['fieldId']+'\x00'+_0xaaee8f,_0x18a005=_0x5bcd1f+'/'+_0x47679b[_0x14a82c(0x1be)]+':'+_0xaaee8f,_0x40cd1a=_0x467251[_0x14a82c(0x13c)](_0x5d8630);_0x40cd1a||(_0x40cd1a={'key':_0xaaee8f,'value':_0x3f3703,'path':_0x18a005,'label':_0xaaee8f||_0x14a82c(0x2cf),'fieldId':_0x47679b[_0x14a82c(0x1be)],'level':_0x284310,'recordIds':[],'children':new Map()},_0x467251[_0x14a82c(0x353)](_0x5d8630,_0x40cd1a)),_0x40cd1a[_0x14a82c(0x267)][_0x14a82c(0x1a6)](_0x4dfd9e['recordId']),_0x467251=_0x40cd1a[_0x14a82c(0x3be)],_0x5bcd1f=_0x18a005;}}let _0xa11d56=this[_0x14a82c(0x1c9)](_0x5dfa57,_0x796187,0x0);return this[_0x14a82c(0x36f)][_0x14a82c(0x353)](_0xf3ef67,{'table':_0x217a05,'rows':_0x4088f4,'groups':_0xa11d56,'globalRevision':this[_0x14a82c(0x225)],'tableRevision':this[_0x14a82c(0x2af)](_0x217a05['id']),'cellRevision':_0x2c43a9}),_0xa11d56;},{'tableId':_0x217a05['id'],'viewId':_0x43515d['id'],'viewType':_0x43515d[_0x3b2f28(0x157)],'rows':_0x4088f4[_0x3b2f28(0x3e1)],'groupFields':(_0x567c94=(_0x3fa10f=_0x43515d['group'])==null?void 0x0:_0x3fa10f['length'])==null?0x0:_0x567c94});}[_0x1141d6(0x1c9)](_0x55999c,_0x1cb034,_0x716611){const _0x368462=_0x1141d6;var _0x4c10aa;let _0x4ff92c=Array[_0x368462(0x1b2)](_0x1cb034[_0x368462(0x3aa)]()),_0x5201f7=(_0x4c10aa=_0x55999c[_0x716611])==null?void 0x0:_0x4c10aa[_0x368462(0x323)];return _0x5201f7&&_0x4ff92c[_0x368462(0x3b6)]((_0x1f22a9,_0x16b8ad)=>{const _0xd8097b=_0x368462;let _0x105928=_0x1f22a9[_0xd8097b(0x2fc)][_0xd8097b(0x1a0)](_0x16b8ad['key']);return _0x5201f7===_0xec9d2c[_0xd8097b(0x3ef)]?-_0x105928:_0x105928;}),_0x4ff92c[_0x368462(0x220)](_0xd0fe24=>({'key':_0xd0fe24[_0x368462(0x2fc)],'value':_0xd0fe24[_0x368462(0x20d)],'path':_0xd0fe24['path'],'label':_0xd0fe24[_0x368462(0x246)],'fieldId':_0xd0fe24[_0x368462(0x1be)],'level':_0xd0fe24[_0x368462(0x282)],'recordIds':_0xd0fe24['recordIds'],'children':this[_0x368462(0x1c9)](_0x55999c,_0xd0fe24[_0x368462(0x3be)],_0x716611+0x1)}));}['_title'](_0x38ebcc,_0xadf005,_0x1e48ee){const _0x325ce1=_0x1141d6;let _0x4afcb0=_0x1e48ee==null?_0x38ebcc[_0x325ce1(0x3a0)]:_0x1e48ee,_0x5ea8fc=_0xadf005['values'][_0x4afcb0];return _0x5ea8fc==null?'':String(_0x5ea8fc);}[_0x1141d6(0x188)](_0x52a903){const _0x642e1a=_0x1141d6;if(Array[_0x642e1a(0x28a)](_0x52a903))return _0x52a903[_0x642e1a(0x220)](String);if(typeof _0x52a903==_0x642e1a(0x222)&&_0x52a903)return[_0x52a903];}[_0x1141d6(0x1b0)](_0xd576dd){const _0x535bae=_0x1141d6;return this[_0x535bae(0x2c4)][_0x535bae(0x13c)](_0xd576dd[_0x535bae(0x157)])[_0x535bae(0x3a1)](_0xd576dd);}};yn=U([H(0x0,_0x4d53a3(en))],yn);function bn(_0x3f0074){return _0x3f0074==null?'':String(_0x3f0074);}function xn(_0x45a54c){const _0x314fe5=_0x1141d6;return new Map(_0x45a54c[_0x314fe5(0x220)]((_0x3b32f5,_0x1a00d3)=>[_0x3b32f5[_0x314fe5(0x201)],_0x1a00d3]));}function Sn(_0x4443a7){const _0x32501a=_0x1141d6;return!!(Array[_0x32501a(0x28a)](_0x4443a7['recordOrder'])&&_0x4443a7[_0x32501a(0x241)]&&_0x4443a7[_0x32501a(0x378)]&&_0x4443a7['colIndex']&&_0x4443a7[_0x32501a(0x18b)]&&_0x4443a7['cellData']);}function Cn(_0x4f3cd9){const _0x5999fb=_0x1141d6;return _0x4f3cd9!=null&&_0x4f3cd9[_0x5999fb(0x20a)][_0x5999fb(0x3e1)]?{'conjunction':_0x4f3cd9['conjunction'],'conditions':_0x4f3cd9['conditions'][_0x5999fb(0x220)](_0x2151a1=>({'fieldId':_0x2151a1[_0x5999fb(0x1be)],'operator':_0x2151a1[_0x5999fb(0x23b)],'operand':_0x2151a1['operand']}))}:null;}function wn(_0x23cf09){const _0x5f4b37=_0x1141d6;return _0x23cf09!=null&&_0x23cf09[_0x5f4b37(0x3e1)]?_0x23cf09[_0x5f4b37(0x220)](_0x21742b=>({'fieldId':_0x21742b[_0x5f4b37(0x1be)],'direction':_0x21742b['direction']})):null;}function Tn(_0x4c27de){const _0x1f28fc=_0x1141d6;if(typeof _0x4c27de!=_0x1f28fc(0x371)||!_0x4c27de){var _0x4c72dd;return(_0x4c72dd=JSON[_0x1f28fc(0x39c)](_0x4c27de))==null?'undefined':_0x4c72dd;}if(Array['isArray'](_0x4c27de))return'['+_0x4c27de[_0x1f28fc(0x220)](Tn)['join'](',')+']';let _0x2eaeeb=_0x4c27de;return'{'+Object[_0x1f28fc(0x1ef)](_0x2eaeeb)[_0x1f28fc(0x3b6)]()[_0x1f28fc(0x220)](_0x1774f2=>JSON[_0x1f28fc(0x39c)](_0x1774f2)+':'+Tn(_0x2eaeeb[_0x1774f2]))['join'](',')+'}';}function En(_0x44767c){const _0x2340e4=_0x1141d6;let _0x2d0605=Object[_0x2340e4(0x3aa)](_0x44767c)[_0x2340e4(0x3b6)]((_0x1e4c96,_0x500449)=>_0x1e4c96[_0x2340e4(0x2c0)][_0x2340e4(0x1a0)](_0x500449['orderKey'])),_0x4d9069=[];for(let _0x540eab of _0x2d0605)_0x4d9069['push'](_0x540eab['id']);return _0x4d9069;}const G=0x5a0*0x3c*0x3e8;function Dn(_0x571e3d){const _0x14f464=_0x1141d6;return{'weekdays':Array['isArray'](_0x571e3d==null?void 0x0:_0x571e3d[_0x14f464(0x3c7)])&&_0x571e3d[_0x14f464(0x3c7)][_0x14f464(0x3e1)]?[...new Set(_0x571e3d['weekdays']['filter'](_0x5c1e18=>Number[_0x14f464(0x3ea)](_0x5c1e18)&&_0x5c1e18>=0x1&&_0x5c1e18<=0x7))]:[0x1,0x2,0x3,0x4,0x5],'exceptions':Array['isArray'](_0x571e3d==null?void 0x0:_0x571e3d[_0x14f464(0x187)])?_0x571e3d['exceptions'][_0x14f464(0x1a8)](_0x7ac84=>!_0x7ac84||!Number[_0x14f464(0x259)](_0x7ac84[_0x14f464(0x36e)])?[]:[{'id':String(_0x7ac84['id']||_0x14f464(0x264)+_0x7ac84[_0x14f464(0x36e)]),'date':K(Number(_0x7ac84[_0x14f464(0x36e)])),'name':String(_0x7ac84[_0x14f464(0x3a2)]||'Working\x20day'),'type':_0x7ac84[_0x14f464(0x157)]===_0x14f464(0x1fd)?_0x14f464(0x1fd):_0x14f464(0x3dc)}]):[]};}function On(_0x2ca1e2,_0xaa169,_0x4e44eb,_0x1c6e32){let _0x3baff1=Mn(_0x2ca1e2,_0xaa169),_0x3dc72b=Nn(_0x2ca1e2,_0x4e44eb),_0x114baa=kn(_0x2ca1e2,_0x3baff1,_0x3dc72b,_0x1c6e32);return{'scale':_0x2ca1e2,'start':_0x3baff1,'end':_0x3dc72b,'unitWidth':jn(_0x2ca1e2),'majorHeaders':An(_0x2ca1e2,_0x3baff1,_0x3dc72b),'columns':_0x114baa};}function kn(_0x3d5c49,_0x333c37,_0x31e3e7,_0x492ca2){const _0x1d2571=_0x1141d6;let _0x16a89b=[],_0x40a467=_0x333c37;for(;_0x40a467<_0x31e3e7;){let _0xcb49fd=_0x3d5c49===_0x1d2571(0x318)?q(_0x40a467,0x7):_0x3d5c49===_0x1d2571(0x28b)?Hn(_0x40a467,0x1):q(_0x40a467,0x1);_0x16a89b[_0x1d2571(0x1a6)]({'id':_0x3d5c49+'-'+_0x40a467,'label':Pn(_0x3d5c49,_0x40a467,_0xcb49fd),'majorLabel':Fn(_0x3d5c49,_0x40a467),'start':_0x40a467,'end':_0xcb49fd,'nonWorking':Ln(_0x40a467,_0xcb49fd,_0x492ca2)}),_0x40a467=_0xcb49fd;}return _0x16a89b;}function An(_0x15f790,_0x3ccf5d,_0x4de76c){const _0x1cdceb=_0x1141d6;let _0x2b5863=[],_0x2f9a53=_0x15f790===_0x1cdceb(0x28b)?Vn(_0x3ccf5d):Bn(_0x3ccf5d);for(;_0x2f9a53<_0x4de76c;){let _0x10ad96=_0x15f790==='year'?Un(_0x2f9a53,0x1):Hn(_0x2f9a53,0x1);_0x2b5863[_0x1cdceb(0x1a6)]({'id':_0x1cdceb(0x306)+_0x2f9a53,'label':_0x15f790==='year'?String(new Date(_0x2f9a53)[_0x1cdceb(0x278)]()):Wn(_0x2f9a53),'start':_0x2f9a53,'end':_0x10ad96}),_0x2f9a53=_0x10ad96;}return _0x2b5863;}function jn(_0x1d086e){const _0x2400e4=_0x1141d6;switch(_0x1d086e){case'week':return 0xac;case _0x2400e4(0x318):return 0xac;case _0x2400e4(0x28b):return 0x88;default:return 0x56;}}function Mn(_0x4350b7,_0x482c30){const _0xb8cf1a=_0x1141d6;return _0x4350b7==='year'?Vn(_0x482c30):_0x4350b7===_0xb8cf1a(0x318)?zn(_0x482c30):K(_0x482c30);}function Nn(_0x9b72fc,_0x47e28d){const _0x4a58cf=_0x1141d6;return _0x9b72fc==='year'?Un(Vn(_0x47e28d),0x1):_0x9b72fc===_0x4a58cf(0x318)?q(zn(_0x47e28d),0x7):q(K(_0x47e28d),0x1);}function Pn(_0x4a3454,_0x5ba005,_0x4757f6){const _0x313aa2=_0x1141d6;let _0x5c9b46=new Date(_0x5ba005);return _0x4a3454===_0x313aa2(0x318)?_0x5c9b46[_0x313aa2(0x2de)]()+'-'+new Date(_0x4757f6-G)[_0x313aa2(0x2de)]():_0x4a3454==='year'?_0x5c9b46['toLocaleString'](_0x313aa2(0x1f6),{'month':_0x313aa2(0x320),'timeZone':_0x313aa2(0x3cd)}):String(_0x5c9b46[_0x313aa2(0x2de)]());}function Fn(_0x3bae7f,_0x12d83f){const _0x2cf15c=_0x1141d6;return _0x3bae7f===_0x2cf15c(0x28b)?String(new Date(_0x12d83f)[_0x2cf15c(0x278)]()):Wn(_0x12d83f);}function In(_0x573b50,_0x3ac465,_0x33b0df){let _0x10a208=Dn(_0x33b0df),_0xc2220d=0x0;for(let _0x4b2a5f=K(_0x573b50);_0x4b2a5f<=K(_0x3ac465);_0x4b2a5f=q(_0x4b2a5f,0x1))Rn(_0x4b2a5f,_0x10a208)||_0xc2220d++;return _0xc2220d;}function Ln(_0x5453ee,_0x2dd821,_0x261409){if(!_0x261409)return!0x1;let _0x250875=Dn(_0x261409);for(let _0x5424d9=K(_0x5453ee);_0x5424d9<_0x2dd821;_0x5424d9=q(_0x5424d9,0x1))if(!Rn(_0x5424d9,_0x250875))return!0x1;return!0x0;}function Rn(_0xbcefa6,_0x355345){const _0x4265c3=_0x1141d6;let _0x52ad03=K(_0xbcefa6),_0x439176=_0x355345[_0x4265c3(0x187)][_0x4265c3(0x236)](_0x4790e7=>K(_0x4790e7['date'])===_0x52ad03);if(_0x439176)return _0x439176[_0x4265c3(0x157)]===_0x4265c3(0x3dc);let _0xb452f8=new Date(_0x52ad03)[_0x4265c3(0x26a)](),_0x55435d=_0xb452f8===0x0?0x7:_0xb452f8;return!_0x355345[_0x4265c3(0x3c7)]['includes'](_0x55435d);}function K(_0x4f9c92){const _0x2039b4=_0x1141d6;let _0x41ba02=new Date(_0x4f9c92);return Date[_0x2039b4(0x3cd)](_0x41ba02['getUTCFullYear'](),_0x41ba02[_0x2039b4(0x346)](),_0x41ba02[_0x2039b4(0x2de)]());}function zn(_0x30a300){const _0x277e54=_0x1141d6;let _0xc0bd73=K(_0x30a300),_0x10b38b=new Date(_0xc0bd73)[_0x277e54(0x26a)]();return q(_0xc0bd73,-(_0x10b38b===0x0?0x6:_0x10b38b-0x1));}function Bn(_0x3e8385){const _0x12f32e=_0x1141d6;let _0x5d81be=new Date(_0x3e8385);return Date[_0x12f32e(0x3cd)](_0x5d81be['getUTCFullYear'](),_0x5d81be[_0x12f32e(0x346)](),0x1);}function Vn(_0x492b9f){const _0x2d4e5b=_0x1141d6;let _0x23f797=new Date(_0x492b9f);return Date[_0x2d4e5b(0x3cd)](_0x23f797[_0x2d4e5b(0x278)](),0x0,0x1);}function q(_0x215d2d,_0x531ed2){return _0x215d2d+_0x531ed2*G;}function Hn(_0x2cd812,_0x437144){const _0x1fc049=_0x1141d6;let _0x215c3d=new Date(_0x2cd812);return Date[_0x1fc049(0x3cd)](_0x215c3d['getUTCFullYear'](),_0x215c3d[_0x1fc049(0x346)]()+_0x437144,0x1);}function Un(_0x100467,_0x4d2e48){let _0x3bab99=new Date(_0x100467);return Date['UTC'](_0x3bab99['getUTCFullYear']()+_0x4d2e48,0x0,0x1);}function Wn(_0x5af93d){const _0x1b6f69=_0x1141d6;let _0x2d9d13=new Date(_0x5af93d);return _0x2d9d13[_0x1b6f69(0x1ee)](_0x1b6f69(0x1f6),{'month':_0x1b6f69(0x320),'timeZone':_0x1b6f69(0x3cd)})+'\x20'+_0x2d9d13[_0x1b6f69(0x278)]();}function Gn(_0x490d11,_0x56146a){const _0x5dcd08=_0x1141d6;if(_0x490d11==null&&_0x56146a==null)return 0x0;if(_0x490d11==null)return-0x1;if(_0x56146a==null)return 0x1;if(typeof _0x490d11=='boolean'||typeof _0x56146a==_0x5dcd08(0x3f1))return Number(_0x490d11===!0x0)-Number(_0x56146a===!0x0);let _0x490ab4=Number(_0x490d11),_0x50df16=Number(_0x56146a),_0xadb0e3=Number[_0x5dcd08(0x259)](_0x490ab4),_0x585fd5=Number['isFinite'](_0x50df16);return _0xadb0e3&&_0x585fd5?_0x490ab4-_0x50df16:_0xadb0e3?0x1:_0x585fd5?-0x1:String(_0x490d11)[_0x5dcd08(0x1a0)](String(_0x56146a));}function Kn(_0x1f16bd){const _0x55ef1f=_0x1141d6;if(_0x1f16bd['operator']!=='is'&&_0x1f16bd[_0x55ef1f(0x23b)]!==_0x55ef1f(0x2fe))return!0x1;let _0x35c119=_0x1f16bd[_0x55ef1f(0x295)];return _0x35c119==null?!0x0:typeof _0x35c119==_0x55ef1f(0x222)?_0x35c119[_0x55ef1f(0x369)]()==='':Array[_0x55ef1f(0x28a)](_0x35c119)?_0x35c119[_0x55ef1f(0x3e1)]===0x0:!0x1;}function J(_0x27928d,_0xb3789){const _0x30a1ad=_0x1141d6;var _0x4b3f8b;let _0x4e872b=Array['isArray']((_0x4b3f8b=_0x27928d[_0x30a1ad(0x1f0)])==null?void 0x0:_0x4b3f8b[_0x30a1ad(0x294)])?_0x27928d[_0x30a1ad(0x1f0)][_0x30a1ad(0x294)]:[];for(let _0x2406f0 of _0x4e872b){var _0x3de5d1,_0x517ff8,_0x315bfc,_0x386916;if(_0x2406f0==null)continue;if(typeof _0x2406f0==_0x30a1ad(0x222)){if(_0x2406f0===_0xb3789)return{'id':_0x2406f0,'name':_0x2406f0};continue;}let _0x19e21f=_0x2406f0,_0x26a25f=String((_0x3de5d1=(_0x517ff8=_0x19e21f['id'])==null?_0x19e21f['name']:_0x517ff8)==null?'':_0x3de5d1),_0x48d172=String((_0x315bfc=(_0x386916=_0x19e21f[_0x30a1ad(0x3a2)])==null?_0x19e21f['id']:_0x386916)==null?_0x26a25f:_0x315bfc);if(_0x26a25f===_0xb3789||_0x48d172===_0xb3789)return{'id':_0x26a25f,'name':_0x48d172,'color':_0x19e21f[_0x30a1ad(0x28c)]==null?void 0x0:String(_0x19e21f['color'])};}return null;}const Y={'id':_0x1141d6(0x24d),'type':_0x29e4da[_0x1141d6(0x212)],'handler'(_0x57dad8,_0x51eac0){const _0x6f3e74=_0x1141d6;let {unitId:_0x1b1e14,op:_0x44e168}=_0x51eac0,_0xa14767=_0x57dad8[_0x6f3e74(0x13c)](_0x583b46)[_0x6f3e74(0x14b)](_0x1b1e14,_0x42dad9[_0x6f3e74(0x3f7)]);if(!_0xa14767)return!0x1;let _0x22d0c7=_0xa14767[_0x6f3e74(0x2a8)](),_0x125e08=new A(),_0x34afa4=_0x125e08[_0x6f3e74(0x1dd)](_0x44e168),_0x2bb8a3=_0x125e08[_0x6f3e74(0x35c)](_0x22d0c7,_0x44e168);return _0xa14767[_0x6f3e74(0x2e9)](_0x2bb8a3),qn(_0x2bb8a3,_0x34afa4,_0x57dad8[_0x6f3e74(0x13c)](_n)),!0x0;}};function qn(_0x9d2a02,_0x48d6cb,_0x342915){const _0x260c69=_0x1141d6;let _0x237dff=new Set();for(let _0x432962 of _0x48d6cb){if(_0x432962[_0x260c69(0x300)]!==_0x260c69(0x400)){_0x342915['invalidateByOp']();return;}let _0x5e7fb7=Jn(_0x9d2a02,_0x432962);if(!_0x5e7fb7){_0x342915['invalidateByOp']();return;}let _0x4269db=_0x5e7fb7[_0x260c69(0x275)]+'\x00'+_0x5e7fb7[_0x260c69(0x201)]+'\x00'+_0x5e7fb7[_0x260c69(0x1be)];_0x237dff[_0x260c69(0x325)](_0x4269db)||(_0x237dff[_0x260c69(0x1e2)](_0x4269db),_0x342915[_0x260c69(0x196)](_0x5e7fb7[_0x260c69(0x275)],_0x5e7fb7[_0x260c69(0x201)],_0x5e7fb7[_0x260c69(0x1be)]));}}function Jn(_0x41190c,_0x5f3aa1){const _0x2d25ba=_0x1141d6;var _0xb43e3f,_0x428c14;if(!_0x5f3aa1[_0x2d25ba(0x275)])return null;if(_0x5f3aa1[_0x2d25ba(0x201)]&&_0x5f3aa1[_0x2d25ba(0x1be)])return{'tableId':_0x5f3aa1[_0x2d25ba(0x275)],'recordId':_0x5f3aa1[_0x2d25ba(0x201)],'fieldId':_0x5f3aa1[_0x2d25ba(0x1be)]};if(_0x5f3aa1[_0x2d25ba(0x198)]==null||_0x5f3aa1[_0x2d25ba(0x2ea)]==null)return null;let _0x51b803=_0x41190c[_0x2d25ba(0x407)][_0x5f3aa1[_0x2d25ba(0x275)]],_0x12027b=_0x51b803==null||(_0xb43e3f=_0x51b803[_0x2d25ba(0x378)])==null?void 0x0:_0xb43e3f[_0x5f3aa1[_0x2d25ba(0x198)]],_0xeca106=_0x51b803==null||(_0x428c14=_0x51b803[_0x2d25ba(0x18b)])==null?void 0x0:_0x428c14[_0x5f3aa1['column']];return!_0x12027b||!_0xeca106?null:{'tableId':_0x5f3aa1['tableId'],'recordId':_0x12027b,'fieldId':_0xeca106};}function X(_0x467b08,_0x5187cf,_0x37c2ba){const _0x35fd10=_0x1141d6;let _0x1ceb97=_0x467b08[_0x35fd10(0x2a8)]()['tables'][_0x5187cf];if(!_0x1ceb97)return!0x1;let {viewIds:_0x3b6dbe,fieldIds:_0x2059a3,recordIds:_0x363e2d}=_0x37c2ba||{};if(_0x3b6dbe){for(let _0x12a17b of _0x3b6dbe)if(!_0x1ceb97[_0x35fd10(0x23e)][_0x12a17b])return!0x1;}if(_0x2059a3){for(let _0x7fb73d of _0x2059a3)if(!_0x1ceb97[_0x35fd10(0x2e2)][_0x7fb73d])return!0x1;}if(_0x363e2d){for(let _0x4c9051 of _0x363e2d)if(!_0x1ceb97[_0x35fd10(0x162)][_0x4c9051])return!0x1;}return!0x0;}const Yn={'id':_0x1141d6(0x32d),'type':_0x29e4da[_0x1141d6(0x1d7)],'handler'(_0x442226,_0x583e63){const _0x24c77e=_0x1141d6;if(!_0x583e63)return!0x1;let _0x302115=_0x442226[_0x24c77e(0x13c)](_0x583b46),{unitId:_0x175c2a,tableId:_0x3daeee,records:_0xdd2426}=_0x583e63,_0x398290=_0x302115[_0x24c77e(0x14b)](_0x175c2a,_0x42dad9[_0x24c77e(0x3f7)]),_0x2e66cb=_0xdd2426[_0x24c77e(0x220)](_0x375e22=>_0x375e22['id']);if(!_0x398290||!X(_0x398290,_0x3daeee)||new Set(_0x2e66cb)[_0x24c77e(0x3b7)]!==_0x2e66cb['length']||_0x2e66cb[_0x24c77e(0x2a0)](_0x52c804=>_0x398290[_0x24c77e(0x2a8)]()['tables'][_0x3daeee]['records'][_0x52c804]))return!0x1;let _0x286682=_0x442226['get'](_0x4c4564),_0x56313f=_0x442226[_0x24c77e(0x13c)](_0x1cfa3b),_0x245bc5=_0x442226[_0x24c77e(0x13c)](W)['createBatchCreateRecordsOp'](_0x398290,_0x3daeee,_0xdd2426),_0x163473=new A()[_0x24c77e(0x3c6)](_0x398290[_0x24c77e(0x2a8)](),_0x245bc5),_0x3a2afc={'unitId':_0x175c2a,'op':_0x245bc5},_0x3f505a={'unitId':_0x175c2a,'op':_0x163473};return _0x286682[_0x24c77e(0x32e)](Y['id'],_0x3a2afc)?(_0x302115[_0x24c77e(0x1cf)](_0x175c2a),_0x56313f[_0x24c77e(0x2e0)]({'unitID':_0x175c2a,'undoMutations':[{'id':Y['id'],'params':_0x3f505a}],'redoMutations':[{'id':Y['id'],'params':_0x3a2afc}]}),!0x0):!0x1;}},Xn={'id':'base.command.batch-delete-base-records','type':_0x29e4da[_0x1141d6(0x1d7)],'handler':(_0x108712,_0x4eeaad)=>{const _0xa7586e=_0x1141d6;if(!_0x4eeaad)return!0x1;let _0x290b7d=_0x108712['get'](_0x583b46),{unitId:_0x5b42b2,tableId:_0x30828c,recordIds:_0x58f646}=_0x4eeaad,_0x34c167=_0x290b7d[_0xa7586e(0x14b)](_0x5b42b2,_0x42dad9['UNIVER_BASE']);if(!_0x34c167||!X(_0x34c167,_0x30828c,{'recordIds':_0x58f646}))return!0x1;let _0x4862d0=_0x108712['get'](_0x4c4564),_0x5e1bde=_0x108712['get'](_0x1cfa3b),_0x3a09fc=_0x34c167['getSnapshot'](),_0x416e2b=new R()[_0xa7586e(0x13b)](_0x3a09fc,_0x30828c,_0x58f646),_0x54b72b=new A()[_0xa7586e(0x3c6)](_0x3a09fc,_0x416e2b),_0x113ba7={'unitId':_0x5b42b2,'op':_0x416e2b},_0x8760d={'unitId':_0x5b42b2,'op':_0x54b72b};return _0x4862d0[_0xa7586e(0x32e)](Y['id'],_0x113ba7)?(_0x290b7d['focusUnit'](_0x5b42b2),_0x5e1bde[_0xa7586e(0x2e0)]({'unitID':_0x5b42b2,'undoMutations':[{'id':Y['id'],'params':_0x8760d}],'redoMutations':[{'id':Y['id'],'params':_0x113ba7}]}),!0x0):!0x1;}},Zn={'id':_0x1141d6(0x144),'type':_0x29e4da[_0x1141d6(0x1d7)],'handler':(_0x41b362,_0x1ed4a6)=>{const _0x185080=_0x1141d6;if(!_0x1ed4a6)return!0x1;let _0x410bc6=_0x41b362[_0x185080(0x13c)](_0x583b46),{unitId:_0x5b6fda,tableId:_0x42c35c,fieldId:_0xed8dae,input:_0x44128f}=_0x1ed4a6,_0x10659c=_0x410bc6[_0x185080(0x14b)](_0x5b6fda,_0x42dad9[_0x185080(0x3f7)]);if(!_0x10659c||!X(_0x10659c,_0x42c35c,{'fieldIds':[_0xed8dae]}))return!0x1;let _0x12043e=_0x41b362['get'](_0x4c4564),_0x27a0c8=_0x41b362[_0x185080(0x13c)](_0x1cfa3b),_0x16913f=_0x10659c['getSnapshot'](),_0x15c967=new R()[_0x185080(0x33f)](_0x16913f,_0x42c35c,_0xed8dae,_0x44128f),_0x4ba731=new A()['invertOp'](_0x16913f,_0x15c967),_0x3244ae={'unitId':_0x5b6fda,'op':_0x15c967},_0x48bcd5={'unitId':_0x5b6fda,'op':_0x4ba731};return _0x12043e[_0x185080(0x32e)](Y['id'],_0x3244ae)?(_0x410bc6[_0x185080(0x1cf)](_0x5b6fda),_0x27a0c8[_0x185080(0x2e0)]({'unitID':_0x5b6fda,'undoMutations':[{'id':Y['id'],'params':_0x48bcd5}],'redoMutations':[{'id':Y['id'],'params':_0x3244ae}]}),!0x0):!0x1;}},Qn={'id':_0x1141d6(0x173),'type':_0x29e4da['COMMAND'],'handler'(_0xb273c2,_0x3678df){const _0x476a68=_0x1141d6;if(!_0x3678df)return!0x1;let _0x5c9fab=_0xb273c2[_0x476a68(0x13c)](_0x583b46),{unitId:_0xffd9d3,tableId:_0x2fb708,field:_0x4a634c,index:_0x1f0e64,viewIndexes:_0x39d14c}=_0x3678df,_0x57f07e=_0x5c9fab['getUnit'](_0xffd9d3,_0x42dad9[_0x476a68(0x3f7)]);if(!_0x57f07e||!X(_0x57f07e,_0x2fb708)||_0x57f07e[_0x476a68(0x2a8)]()[_0x476a68(0x407)][_0x2fb708][_0x476a68(0x2e2)][_0x4a634c['id']])return!0x1;let _0x3d7efc=_0xb273c2[_0x476a68(0x13c)](_0x4c4564),_0x21e36f=_0xb273c2['get'](_0x1cfa3b),_0x3aca42=_0xb273c2[_0x476a68(0x13c)](W)[_0x476a68(0x143)](_0x57f07e,_0x2fb708,_0x4a634c,_0x1f0e64,_0x39d14c),_0x1c3928=new A()[_0x476a68(0x3c6)](_0x57f07e['getSnapshot'](),_0x3aca42),_0x3e7c19={'unitId':_0xffd9d3,'op':_0x3aca42},_0x167c2b={'unitId':_0xffd9d3,'op':_0x1c3928};return _0x3d7efc[_0x476a68(0x32e)](Y['id'],_0x3e7c19)?(_0x5c9fab[_0x476a68(0x1cf)](_0xffd9d3),_0x21e36f['pushUndoRedo']({'unitID':_0xffd9d3,'undoMutations':[{'id':Y['id'],'params':_0x167c2b}],'redoMutations':[{'id':Y['id'],'params':_0x3e7c19}]}),!0x0):!0x1;}},$n={'id':_0x1141d6(0x2c1),'type':_0x29e4da[_0x1141d6(0x1d7)],'handler'(_0x4b18f8,_0x129e57){const _0x50b04b=_0x1141d6;if(!_0x129e57)return!0x1;let _0x54a193=_0x4b18f8[_0x50b04b(0x13c)](_0x583b46),{unitId:_0xe8591b,tableId:_0xbea149,record:_0xf07144}=_0x129e57,_0x3427a7=_0x54a193[_0x50b04b(0x14b)](_0xe8591b,_0x42dad9['UNIVER_BASE']);if(!_0x3427a7||!X(_0x3427a7,_0xbea149)||_0x3427a7['getSnapshot']()[_0x50b04b(0x407)][_0xbea149]['records'][_0xf07144['id']])return!0x1;let _0x7927bb=_0x4b18f8['get'](_0x4c4564),_0x3b8de6=_0x4b18f8[_0x50b04b(0x13c)](_0x1cfa3b),_0x3f5946=_0x4b18f8['get'](W)[_0x50b04b(0x2b9)](_0x3427a7,_0xbea149,_0xf07144),_0x5c50f8=new A()[_0x50b04b(0x3c6)](_0x3427a7[_0x50b04b(0x2a8)](),_0x3f5946),_0x743081={'unitId':_0xe8591b,'op':_0x3f5946},_0x459ab0={'unitId':_0xe8591b,'op':_0x5c50f8};return _0x7927bb[_0x50b04b(0x32e)](Y['id'],_0x743081)?(_0x54a193['focusUnit'](_0xe8591b),_0x3b8de6[_0x50b04b(0x2e0)]({'unitID':_0xe8591b,'undoMutations':[{'id':Y['id'],'params':_0x459ab0}],'redoMutations':[{'id':Y['id'],'params':_0x743081}]}),!0x0):!0x1;}},er={'id':'base.command.create-base-table','type':_0x29e4da[_0x1141d6(0x1d7)],'handler':(_0x4a955c,_0x3ba2fa)=>{const _0x47479f=_0x1141d6;if(!_0x3ba2fa)return!0x1;let _0x366e94=_0x4a955c[_0x47479f(0x13c)](_0x583b46),{unitId:_0x2e8dff,table:_0xd3a885,index:_0x54a225}=_0x3ba2fa,_0x25e9d4=_0x366e94[_0x47479f(0x14b)](_0x2e8dff,_0x42dad9['UNIVER_BASE']);if(!_0x25e9d4||_0x25e9d4[_0x47479f(0x2a8)]()['tables'][_0xd3a885['id']])return!0x1;let _0x165fae=_0x4a955c['get'](_0x4c4564),_0x476ffa=_0x4a955c['get'](_0x1cfa3b),_0x31d666=_0x25e9d4['getSnapshot'](),_0x557c29={..._0xd3a885,'name':_0x25e9d4['uniqueTableName'](_0xd3a885[_0x47479f(0x3a2)])},_0x2e0862=new R()[_0x47479f(0x35b)](_0x31d666,_0x557c29,_0x54a225),_0x504980=new A()[_0x47479f(0x3c6)](_0x31d666,_0x2e0862),_0x271e6e={'unitId':_0x2e8dff,'op':_0x2e0862},_0x417bdd={'unitId':_0x2e8dff,'op':_0x504980};return _0x165fae[_0x47479f(0x32e)](Y['id'],_0x271e6e)?(_0x366e94[_0x47479f(0x1cf)](_0x2e8dff),_0x476ffa['pushUndoRedo']({'unitID':_0x2e8dff,'undoMutations':[{'id':Y['id'],'params':_0x417bdd}],'redoMutations':[{'id':Y['id'],'params':_0x271e6e}]}),!0x0):!0x1;}};function tr(_0x32d033,_0x349f5a,_0x1bf727=[]){const _0x267eea=_0x1141d6;let _0x5222cc=new Set([...Object['values'](_0x32d033[_0x267eea(0x2e2)])[_0x267eea(0x385)](_0x37d0a5=>_0x37d0a5)['map'](_0xb6f3a4=>_0xb6f3a4['name']),..._0x1bf727[_0x267eea(0x220)](_0x32750b=>_0x32750b[_0x267eea(0x3a2)])]);if(!_0x5222cc[_0x267eea(0x325)](_0x349f5a))return _0x349f5a;let _0x4db002=0x2;for(;_0x5222cc['has'](_0x349f5a+'\x20'+_0x4db002);)_0x4db002++;return _0x349f5a+'\x20'+_0x4db002;}function nr(_0x5caf13,_0x85bd9c){const _0x44fc6e=_0x1141d6;if(!_0x5caf13||!_0x85bd9c[_0x44fc6e(0x3e1)])return;let _0x850c8e=[..._0x5caf13];return _0x85bd9c['forEach'](_0x1a060b=>{const _0x241f6e=_0x44fc6e;_0x850c8e[_0x241f6e(0x370)](_0x1a060b)||_0x850c8e[_0x241f6e(0x1a6)](_0x1a060b);}),_0x850c8e;}const rr={'options':[{'id':_0x1141d6(0x2b6),'name':'Todo','color':'#BFDBFE'},{'id':_0x1141d6(0x20c),'name':_0x1141d6(0x3bd),'color':_0x1141d6(0x3f8)},{'id':_0x1141d6(0x40b),'name':_0x1141d6(0x30d),'color':_0x1141d6(0x2c9)}]},ir={'locale':_0x1141d6(0x1f6),'pattern':_0x1141d6(0x31d),'includeTime':!0x1,'hourCycle':'h24','defaultMode':'none'};function ar(_0x7dfee8,_0x180826,_0x4a04dd,_0xe33b17){const _0x58e7a3=_0x1141d6;var _0x57dd1d;let _0xe4120=new R(),_0x159f0e=_0x7dfee8[_0x58e7a3(0x407)][_0x180826];if(_0x159f0e&&_0x4a04dd[_0x58e7a3(0x157)]==='kanban'){var _0x1ece59;let _0x4a968f=sr(_0x159f0e,_0x4a04dd),_0x129177=_0x4a968f[_0x58e7a3(0x1a3)]?{..._0x4a04dd,'config':_0x4a968f[_0x58e7a3(0x1f0)],'fieldOrder':(_0x1ece59=_0x4a968f[_0x58e7a3(0x2ad)])==null?_0x4a04dd['fieldOrder']:_0x1ece59}:_0x4a04dd;return L([..._0x4a968f[_0x58e7a3(0x2e2)][_0x58e7a3(0x220)](_0x226371=>_0xe4120[_0x58e7a3(0x14e)](_0x7dfee8,_0x180826,{'field':_0x226371})),_0xe4120['createView'](_0x7dfee8,_0x180826,_0x129177,_0xe33b17)]);}if(!_0x159f0e||_0x4a04dd[_0x58e7a3(0x157)]!=='calendar'&&_0x4a04dd[_0x58e7a3(0x157)]!==_0x58e7a3(0x233))return _0xe4120['createView'](_0x7dfee8,_0x180826,_0x4a04dd,_0xe33b17);let _0x2ec596=or(_0x159f0e,_0x4a04dd),_0xfb3d7a=_0x2ec596['changed']?{..._0x4a04dd,'config':_0x2ec596[_0x58e7a3(0x1f0)],'fieldOrder':(_0x57dd1d=_0x2ec596[_0x58e7a3(0x2ad)])==null?_0x4a04dd[_0x58e7a3(0x2ad)]:_0x57dd1d}:_0x4a04dd;return _0x4a04dd[_0x58e7a3(0x157)]===_0x58e7a3(0x233)&&ur(_0x4a04dd)&&(_0xfb3d7a=dr(_0x159f0e,_0xfb3d7a,_0x2ec596[_0x58e7a3(0x2e2)])),L([..._0x2ec596['fields']['map'](_0x5e1dc2=>_0xe4120[_0x58e7a3(0x14e)](_0x7dfee8,_0x180826,{'field':_0x5e1dc2})),_0xe4120[_0x58e7a3(0x367)](_0x7dfee8,_0x180826,_0xfb3d7a,_0xe33b17)]);}function or(_0x3569af,_0x12268e,_0x51d87c=!0x1){const _0x310a7d=_0x1141d6;var _0x48dfb1,_0x3202e1,_0x3a86ae,_0x2767ea;let _0x45d1a8=_0x3569af[_0x310a7d(0x2ad)][_0x310a7d(0x385)](_0x3501f9=>pr(_0x3569af,_0x3501f9)),_0x333854=[],_0x2c1fa2={...(_0x48dfb1=_0x12268e[_0x310a7d(0x1f0)])==null?{}:_0x48dfb1},_0x466178=typeof _0x2c1fa2[_0x310a7d(0x394)]=='string'&&pr(_0x3569af,_0x2c1fa2[_0x310a7d(0x394)])?_0x2c1fa2[_0x310a7d(0x394)]:_0x45d1a8[0x0],_0x33e4bc=typeof _0x2c1fa2[_0x310a7d(0x153)]==_0x310a7d(0x222)&&pr(_0x3569af,_0x2c1fa2[_0x310a7d(0x153)])&&_0x2c1fa2[_0x310a7d(0x153)]!==_0x466178?_0x2c1fa2['endDateFieldId']:_0x45d1a8['find'](_0x581ae7=>_0x581ae7!==_0x466178);if(!_0x466178){let _0x488538=mr(_0x3569af,_0x333854,_0x12268e[_0x310a7d(0x157)]===_0x310a7d(0x233)?'Start\x20date':_0x310a7d(0x29d));_0x333854[_0x310a7d(0x1a6)](_0x488538),_0x466178=_0x488538['id'];}if((_0x12268e[_0x310a7d(0x157)]===_0x310a7d(0x233)||_0x51d87c)&&!_0x33e4bc){let _0x40e95d=mr(_0x3569af,_0x333854,'End\x20date');_0x333854[_0x310a7d(0x1a6)](_0x40e95d),_0x33e4bc=_0x40e95d['id'];}if(_0x12268e['type']===_0x310a7d(0x19f)&&!_0x33e4bc&&delete _0x2c1fa2['endDateFieldId'],_0x2c1fa2['startDateFieldId']=_0x466178,_0x12268e[_0x310a7d(0x157)]===_0x310a7d(0x19f)&&_0x33e4bc&&(_0x2c1fa2[_0x310a7d(0x153)]=_0x33e4bc),_0x12268e['type']===_0x310a7d(0x233)){var _0x87523a;_0x2c1fa2[_0x310a7d(0x153)]=(_0x87523a=_0x33e4bc)==null?_0x466178:_0x87523a;}let _0x13eb5a=nr(_0x12268e['fieldOrder'],_0x333854['map'](_0x11facc=>_0x11facc['id']));return{'changed':_0x333854[_0x310a7d(0x3e1)]>0x0||_0x2c1fa2[_0x310a7d(0x394)]!==((_0x3202e1=_0x12268e[_0x310a7d(0x1f0)])==null?void 0x0:_0x3202e1['startDateFieldId'])||_0x2c1fa2[_0x310a7d(0x153)]!==((_0x3a86ae=_0x12268e['config'])==null?void 0x0:_0x3a86ae[_0x310a7d(0x153)])||!!(_0x13eb5a&&!_0x243e4c[_0x310a7d(0x189)](_0x13eb5a,(_0x2767ea=_0x12268e['fieldOrder'])==null?[]:_0x2767ea)),'fields':_0x333854,'config':_0x2c1fa2,'fieldOrder':_0x13eb5a};}function sr(_0x180b7a,_0x424dda){const _0x58ae48=_0x1141d6;var _0x436cdc,_0x408ff5,_0x12841f;let _0x1ff164=[],_0x417e7d={...(_0x436cdc=_0x424dda['config'])==null?{}:_0x436cdc},_0x51323a=typeof _0x417e7d[_0x58ae48(0x315)]=='string'&&cr(_0x180b7a,_0x417e7d[_0x58ae48(0x315)])?_0x417e7d[_0x58ae48(0x315)]:_0x180b7a['fieldOrder'][_0x58ae48(0x236)](_0x18da75=>cr(_0x180b7a,_0x18da75));if(!_0x51323a){let _0x5f0829=lr(_0x180b7a,_0x1ff164);_0x1ff164[_0x58ae48(0x1a6)](_0x5f0829),_0x51323a=_0x5f0829['id'];}_0x417e7d[_0x58ae48(0x315)]=_0x51323a;let _0x3f6dc6=nr(_0x424dda['fieldOrder'],_0x1ff164['map'](_0x54c612=>_0x54c612['id']));return{'changed':_0x1ff164[_0x58ae48(0x3e1)]>0x0||_0x417e7d['groupFieldId']!==((_0x408ff5=_0x424dda[_0x58ae48(0x1f0)])==null?void 0x0:_0x408ff5['groupFieldId'])||!!(_0x3f6dc6&&!_0x243e4c[_0x58ae48(0x189)](_0x3f6dc6,(_0x12841f=_0x424dda['fieldOrder'])==null?[]:_0x12841f)),'fields':_0x1ff164,'config':_0x417e7d,'fieldOrder':_0x3f6dc6};}function cr(_0x1fb565,_0xba9261){const _0x4564ce=_0x1141d6;let _0x1ff98a=_0xba9261?_0x1fb565['fields'][_0xba9261]:null;return _0x1ff98a?[_0x1b662f[_0x4564ce(0x1c8)],_0x1b662f[_0x4564ce(0x39e)],_0x1b662f['Rating'],_0x1b662f['Person'],_0x1b662f[_0x4564ce(0x1d2)],_0x1b662f[_0x4564ce(0x3ed)]]['includes'](_0x1ff98a[_0x4564ce(0x157)]):!0x1;}function lr(_0x5d0e2e,_0x492fc4){const _0x1a2f20=_0x1141d6;return{'id':_0x1a2f20(0x3e8)+_0x3f0aa2(0x8),'name':tr(_0x5d0e2e,'Status',_0x492fc4),'type':_0x1b662f['SingleSelect'],'config':_0x243e4c[_0x1a2f20(0x1c2)](rr)};}function ur(_0x499da7){const _0x5c820a=_0x1141d6;var _0x3fb87a,_0x4173d2;return Object[_0x5c820a(0x1ef)]((_0x3fb87a=_0x499da7[_0x5c820a(0x1f0)])==null?{}:_0x3fb87a)[_0x5c820a(0x3e1)]===0x0&&Object[_0x5c820a(0x1ef)]((_0x4173d2=_0x499da7['fieldSettings'])==null?{}:_0x4173d2)[_0x5c820a(0x3e1)]===0x0;}function dr(_0x35164b,_0x557565,_0xc1fc8){const _0x33a6c6=_0x1141d6;var _0x2dd7ce;let _0x3bdfbf={...(_0x2dd7ce=_0x557565[_0x33a6c6(0x1f0)])==null?{}:_0x2dd7ce},_0x58feea=_0xc1fc8[_0x33a6c6(0x220)](_0x10e00a=>_0x10e00a['id']),_0x295f77=[..._0x35164b[_0x33a6c6(0x2ad)],..._0x58feea],_0x1e8709=typeof _0x3bdfbf['titleFieldId']==_0x33a6c6(0x222)&&fr(_0x35164b,_0xc1fc8,_0x3bdfbf[_0x33a6c6(0x35a)])?_0x3bdfbf['titleFieldId']:_0x35164b[_0x33a6c6(0x3a0)],_0x352758=typeof _0x3bdfbf['startDateFieldId']==_0x33a6c6(0x222)?_0x3bdfbf['startDateFieldId']:'',_0x4d1fb2=typeof _0x3bdfbf[_0x33a6c6(0x153)]==_0x33a6c6(0x222)?_0x3bdfbf[_0x33a6c6(0x153)]:_0x352758,_0x23da68=new Set([_0x1e8709,_0x352758,_0x4d1fb2][_0x33a6c6(0x385)](_0x224b18=>_0x224b18&&fr(_0x35164b,_0xc1fc8,_0x224b18))),_0x4825dc=Object['fromEntries'](_0x295f77[_0x33a6c6(0x1a8)](_0x46464f=>_0x23da68['has'](_0x46464f)||!fr(_0x35164b,_0xc1fc8,_0x46464f)?[]:[[_0x46464f,{'hidden':!0x0}]]));return{..._0x557565,'config':{..._0x3bdfbf,'titleFieldId':_0x1e8709},'fieldSettings':_0x4825dc};}function fr(_0x49a454,_0x1a996e,_0x16c268){const _0x256794=_0x1141d6;var _0x26bf7d;return!!((_0x26bf7d=_0x49a454[_0x256794(0x2e2)][_0x16c268])==null?_0x1a996e[_0x256794(0x236)](_0x4f0420=>_0x4f0420['id']===_0x16c268):_0x26bf7d)&&!0x0;}function pr(_0x217613,_0x2e0a44){const _0xe91416=_0x1141d6;let _0x160679=_0x2e0a44?_0x217613[_0xe91416(0x2e2)][_0x2e0a44]:null;return!!_0x160679&&_0x160679[_0xe91416(0x157)]===_0x1b662f[_0xe91416(0x29d)]&&_0x160679[_0xe91416(0x3fc)]!==!0x0&&_0x160679[_0xe91416(0x31c)]!==!0x0;}function mr(_0x1aa3c9,_0x17f4e2,_0x466add){const _0xf40fcf=_0x1141d6;let _0x8483a0=new Set([...Object[_0xf40fcf(0x1ef)](_0x1aa3c9[_0xf40fcf(0x2e2)]),..._0x17f4e2['map'](_0x33f4c7=>_0x33f4c7['id'])]),_0x6bbe12='fld-'+_0x3f0aa2(0x8);for(;_0x8483a0[_0xf40fcf(0x325)](_0x6bbe12);)_0x6bbe12=_0xf40fcf(0x3e8)+_0x3f0aa2(0x8);return{'id':_0x6bbe12,'name':tr(_0x1aa3c9,_0x466add,_0x17f4e2),'type':_0x1b662f[_0xf40fcf(0x29d)],'config':{...ir}};}const hr={'id':_0x1141d6(0x24f),'type':_0x29e4da['COMMAND'],'handler':(_0x7fcad2,_0x11e7f8)=>{const _0x5e7c9e=_0x1141d6;if(!_0x11e7f8)return!0x1;let _0x45c3ac=_0x7fcad2[_0x5e7c9e(0x13c)](_0x583b46),{unitId:_0x2ee530,tableId:_0xa7887c,view:_0x4c7384,index:_0x20a2fb}=_0x11e7f8,_0x5b5efa=_0x45c3ac[_0x5e7c9e(0x14b)](_0x2ee530,_0x42dad9[_0x5e7c9e(0x3f7)]);if(!_0x5b5efa||!X(_0x5b5efa,_0xa7887c)||_0x5b5efa[_0x5e7c9e(0x2a8)]()[_0x5e7c9e(0x407)][_0xa7887c][_0x5e7c9e(0x23e)][_0x4c7384['id']])return!0x1;let _0x3f690e=_0x7fcad2[_0x5e7c9e(0x13c)](_0x4c4564),_0x5e0f2b=_0x7fcad2[_0x5e7c9e(0x13c)](_0x1cfa3b),_0x3f71e6=_0x5b5efa['getSnapshot'](),_0x29e963=ar(_0x3f71e6,_0xa7887c,_0x4c7384,_0x20a2fb),_0x24eaaf=new A()[_0x5e7c9e(0x3c6)](_0x3f71e6,_0x29e963),_0x3081fb={'unitId':_0x2ee530,'op':_0x29e963},_0x1d0d9e={'unitId':_0x2ee530,'op':_0x24eaaf};return _0x3f690e[_0x5e7c9e(0x32e)](Y['id'],_0x3081fb)?(_0x45c3ac['focusUnit'](_0x2ee530),_0x5e0f2b[_0x5e7c9e(0x2e0)]({'unitID':_0x2ee530,'undoMutations':[{'id':Y['id'],'params':_0x1d0d9e}],'redoMutations':[{'id':Y['id'],'params':_0x3081fb}]}),!0x0):!0x1;}},gr={'id':_0x1141d6(0x19b),'type':_0x29e4da[_0x1141d6(0x1d7)],'handler'(_0x1f22ae,_0x2dc3df){const _0x25b3b7=_0x1141d6;if(!_0x2dc3df)return!0x1;let _0x385db7=_0x1f22ae[_0x25b3b7(0x13c)](_0x583b46),{unitId:_0x57b762,tableId:_0x31e6f5,fieldId:_0x50f180}=_0x2dc3df,_0x4a079c=_0x385db7[_0x25b3b7(0x14b)](_0x57b762,_0x42dad9[_0x25b3b7(0x3f7)]);if(!_0x4a079c)return!0x1;let _0x5344ee=_0x4a079c[_0x25b3b7(0x2a8)](),_0x3d1be8=_0x5344ee['tables'][_0x31e6f5];if(!X(_0x4a079c,_0x31e6f5,{'fieldIds':[_0x50f180]})||_0x3d1be8[_0x25b3b7(0x3a0)]===_0x50f180)return!0x1;let _0x50ec4b=_0x1f22ae['get'](_0x4c4564),_0x5bebee=_0x1f22ae[_0x25b3b7(0x13c)](_0x1cfa3b),_0x2e7d47=new R()[_0x25b3b7(0x373)](_0x5344ee,_0x31e6f5,_0x50f180),_0x350f7a=new A()[_0x25b3b7(0x3c6)](_0x5344ee,_0x2e7d47),_0x3a356a={'unitId':_0x57b762,'op':_0x2e7d47},_0x3aa292={'unitId':_0x57b762,'op':_0x350f7a};return _0x50ec4b[_0x25b3b7(0x32e)](Y['id'],_0x3a356a)?(_0x385db7[_0x25b3b7(0x1cf)](_0x57b762),_0x5bebee[_0x25b3b7(0x2e0)]({'unitID':_0x57b762,'undoMutations':[{'id':Y['id'],'params':_0x3aa292}],'redoMutations':[{'id':Y['id'],'params':_0x3a356a}]}),!0x0):!0x1;}},_r={'id':_0x1141d6(0x2eb),'type':_0x29e4da[_0x1141d6(0x1d7)],'handler':(_0x3bb503,_0x5a58d0)=>{const _0x5a2af5=_0x1141d6;if(!_0x5a58d0)return!0x1;let _0x181a28=_0x3bb503[_0x5a2af5(0x13c)](_0x583b46),{unitId:_0x1ed449,tableId:_0x15d006,recordId:_0x3ceb89}=_0x5a58d0,_0x19c924=_0x181a28[_0x5a2af5(0x14b)](_0x1ed449,_0x42dad9[_0x5a2af5(0x3f7)]);if(!_0x19c924||!X(_0x19c924,_0x15d006,{'recordIds':[_0x3ceb89]}))return!0x1;let _0x480d90=_0x3bb503[_0x5a2af5(0x13c)](_0x4c4564),_0x5449d7=_0x3bb503[_0x5a2af5(0x13c)](_0x1cfa3b),_0x589fa7=_0x19c924[_0x5a2af5(0x2a8)](),_0xdd9674=new R()[_0x5a2af5(0x3af)](_0x589fa7,_0x15d006,_0x3ceb89),_0x11712a=new A()[_0x5a2af5(0x3c6)](_0x589fa7,_0xdd9674),_0x510f0e={'unitId':_0x1ed449,'op':_0xdd9674},_0x527fdd={'unitId':_0x1ed449,'op':_0x11712a};return _0x480d90[_0x5a2af5(0x32e)](Y['id'],_0x510f0e)?(_0x181a28[_0x5a2af5(0x1cf)](_0x1ed449),_0x5449d7[_0x5a2af5(0x2e0)]({'unitID':_0x1ed449,'undoMutations':[{'id':Y['id'],'params':_0x527fdd}],'redoMutations':[{'id':Y['id'],'params':_0x510f0e}]}),!0x0):!0x1;}},vr={'id':'base.command.delete-base-table','type':_0x29e4da[_0x1141d6(0x1d7)],'handler':(_0x5a15ba,_0x7b2c43)=>{const _0x560024=_0x1141d6;if(!_0x7b2c43)return!0x1;let _0x30f5d0=_0x5a15ba[_0x560024(0x13c)](_0x583b46),{unitId:_0x33ec4,tableId:_0x47ddb8}=_0x7b2c43,_0x4a576b=_0x30f5d0[_0x560024(0x14b)](_0x33ec4,_0x42dad9['UNIVER_BASE']);if(!_0x4a576b||!X(_0x4a576b,_0x47ddb8))return!0x1;let _0x505733=_0x5a15ba[_0x560024(0x13c)](_0x4c4564),_0x1715cd=_0x5a15ba[_0x560024(0x13c)](_0x1cfa3b),_0x5a59ce=_0x4a576b[_0x560024(0x2a8)](),_0x4ff51f=new R()[_0x560024(0x251)](_0x5a59ce,_0x47ddb8),_0x2ca8ad=new A()[_0x560024(0x3c6)](_0x5a59ce,_0x4ff51f),_0x3176a2={'unitId':_0x33ec4,'op':_0x4ff51f},_0x4f510d={'unitId':_0x33ec4,'op':_0x2ca8ad};return _0x505733[_0x560024(0x32e)](Y['id'],_0x3176a2)?(_0x30f5d0[_0x560024(0x1cf)](_0x33ec4),_0x1715cd[_0x560024(0x2e0)]({'unitID':_0x33ec4,'undoMutations':[{'id':Y['id'],'params':_0x4f510d}],'redoMutations':[{'id':Y['id'],'params':_0x3176a2}]}),!0x0):!0x1;}},yr={'id':_0x1141d6(0x23a),'type':_0x29e4da[_0x1141d6(0x1d7)],'handler':(_0x30d1a5,_0x33cc44)=>{const _0x2e8d16=_0x1141d6;if(!_0x33cc44)return!0x1;let _0x4bf67b=_0x30d1a5[_0x2e8d16(0x13c)](_0x583b46),{unitId:_0x166a5c,tableId:_0x501fcc,viewId:_0x343b22}=_0x33cc44,_0x4cfb40=_0x4bf67b['getUnit'](_0x166a5c,_0x42dad9['UNIVER_BASE']);if(!_0x4cfb40||!X(_0x4cfb40,_0x501fcc,{'viewIds':[_0x343b22]}))return!0x1;let _0x5b16cc=_0x30d1a5[_0x2e8d16(0x13c)](_0x4c4564),_0x5712a4=_0x30d1a5[_0x2e8d16(0x13c)](_0x1cfa3b),_0x2e7172=_0x4cfb40[_0x2e8d16(0x2a8)](),_0xf2e50a=new R()[_0x2e8d16(0x1fa)](_0x2e7172,_0x501fcc,_0x343b22),_0x2d0f2b=new A()['invertOp'](_0x2e7172,_0xf2e50a),_0xf225ba={'unitId':_0x166a5c,'op':_0xf2e50a},_0x54db22={'unitId':_0x166a5c,'op':_0x2d0f2b};return _0x5b16cc[_0x2e8d16(0x32e)](Y['id'],_0xf225ba)?(_0x4bf67b[_0x2e8d16(0x1cf)](_0x166a5c),_0x5712a4[_0x2e8d16(0x2e0)]({'unitID':_0x166a5c,'undoMutations':[{'id':Y['id'],'params':_0x54db22}],'redoMutations':[{'id':Y['id'],'params':_0xf225ba}]}),!0x0):!0x1;}},br={'id':_0x1141d6(0x16f),'type':_0x29e4da['COMMAND'],'handler':(_0xd5e65,_0x45048b)=>{const _0x25669c=_0x1141d6;if(!_0x45048b)return!0x1;let _0x26283a=_0xd5e65[_0x25669c(0x13c)](_0x583b46),{unitId:_0x2d3add,tableId:_0x478b18,sourceFieldId:_0x3efcaf,field:_0x3af9a4,index:_0x3f533a,viewIndexes:_0x155830}=_0x45048b,_0x3b9bd1=_0x26283a[_0x25669c(0x14b)](_0x2d3add,_0x42dad9[_0x25669c(0x3f7)]);if(!_0x3b9bd1||!X(_0x3b9bd1,_0x478b18,{'fieldIds':[_0x3efcaf]})||_0x3b9bd1[_0x25669c(0x2a8)]()[_0x25669c(0x407)][_0x478b18][_0x25669c(0x2e2)][_0x3af9a4['id']])return!0x1;let _0x5f5733=_0xd5e65[_0x25669c(0x13c)](_0x4c4564),_0x10240b=_0xd5e65['get'](_0x1cfa3b),_0x5a49fd=_0x3b9bd1[_0x25669c(0x2a8)](),_0xa59fc9=new R()[_0x25669c(0x342)](_0x5a49fd,_0x478b18,_0x3efcaf,{'field':_0x3af9a4,'index':_0x3f533a,'viewIndexes':_0x155830}),_0x27f3e8=new A()[_0x25669c(0x3c6)](_0x5a49fd,_0xa59fc9),_0x44227b={'unitId':_0x2d3add,'op':_0xa59fc9},_0x5dc397={'unitId':_0x2d3add,'op':_0x27f3e8};return _0x5f5733[_0x25669c(0x32e)](Y['id'],_0x44227b)?(_0x26283a[_0x25669c(0x1cf)](_0x2d3add),_0x10240b[_0x25669c(0x2e0)]({'unitID':_0x2d3add,'undoMutations':[{'id':Y['id'],'params':_0x5dc397}],'redoMutations':[{'id':Y['id'],'params':_0x44227b}]}),!0x0):!0x1;}},xr={'id':_0x1141d6(0x200),'type':_0x29e4da[_0x1141d6(0x1d7)],'handler':(_0x3aeec2,_0x5c593d)=>{const _0x322bc7=_0x1141d6;if(!_0x5c593d)return!0x1;let _0xb362b2=_0x3aeec2[_0x322bc7(0x13c)](_0x583b46),{unitId:_0xcb8af3,tableId:_0x5e9234,sourceRecordId:_0x572e20,record:_0x591c88}=_0x5c593d,_0x2d469e=_0xb362b2[_0x322bc7(0x14b)](_0xcb8af3,_0x42dad9[_0x322bc7(0x3f7)]);if(!_0x2d469e||!X(_0x2d469e,_0x5e9234,{'recordIds':[_0x572e20]})||_0x2d469e[_0x322bc7(0x2a8)]()['tables'][_0x5e9234]['records'][_0x591c88['id']])return!0x1;let _0x2c87a6=_0x3aeec2['get'](_0x4c4564),_0x2649d=_0x3aeec2[_0x322bc7(0x13c)](_0x1cfa3b),_0x11d3e5=_0x2d469e['getSnapshot'](),_0x44a6ec=new R()[_0x322bc7(0x3fa)](_0x11d3e5,_0x5e9234,_0x572e20,_0x591c88),_0x310fed=new A()[_0x322bc7(0x3c6)](_0x11d3e5,_0x44a6ec),_0x10c6ab={'unitId':_0xcb8af3,'op':_0x44a6ec},_0x1513b2={'unitId':_0xcb8af3,'op':_0x310fed};return _0x2c87a6[_0x322bc7(0x32e)](Y['id'],_0x10c6ab)?(_0xb362b2['focusUnit'](_0xcb8af3),_0x2649d['pushUndoRedo']({'unitID':_0xcb8af3,'undoMutations':[{'id':Y['id'],'params':_0x1513b2}],'redoMutations':[{'id':Y['id'],'params':_0x10c6ab}]}),!0x0):!0x1;}},Sr={'id':_0x1141d6(0x26c),'type':_0x29e4da['COMMAND'],'handler'(_0x45b52f,_0x59cee5){const _0x3cbf36=_0x1141d6;if(!_0x59cee5)return!0x1;let _0x57b57c=_0x45b52f['get'](_0x583b46),{unitId:_0x29bf9e,tableId:_0x5c10e9,viewId:_0x4cee52,ensureEndDateField:_0x51e794}=_0x59cee5,_0x588541=_0x57b57c[_0x3cbf36(0x14b)](_0x29bf9e,_0x42dad9[_0x3cbf36(0x3f7)]);if(!_0x588541||!X(_0x588541,_0x5c10e9,{'viewIds':[_0x4cee52]}))return!0x1;let _0x42a1ed=_0x588541[_0x3cbf36(0x2a8)](),_0x3bc3dc=_0x42a1ed['tables'][_0x5c10e9],_0x472e35=_0x3bc3dc==null?void 0x0:_0x3bc3dc['views'][_0x4cee52];if(!_0x3bc3dc||!_0x472e35||_0x472e35[_0x3cbf36(0x157)]!==_0x3cbf36(0x19f)&&_0x472e35[_0x3cbf36(0x157)]!==_0x3cbf36(0x233))return!0x1;let _0x539c19=or(_0x3bc3dc,_0x472e35,_0x51e794===!0x0);if(!_0x539c19[_0x3cbf36(0x1a3)])return!0x1;let _0x5bd536=_0x45b52f[_0x3cbf36(0x13c)](_0x4c4564),_0x4e830b=_0x45b52f[_0x3cbf36(0x13c)](_0x1cfa3b),_0x455947=new R(),_0x52d09e=[..._0x539c19[_0x3cbf36(0x2e2)][_0x3cbf36(0x220)](_0x75cac2=>_0x455947[_0x3cbf36(0x14e)](_0x42a1ed,_0x59cee5[_0x3cbf36(0x275)],{'field':_0x75cac2})),Cr([...wr(_0x59cee5[_0x3cbf36(0x275)],_0x59cee5[_0x3cbf36(0x2b5)]),_0x3cbf36(0x1f0)],_0x472e35[_0x3cbf36(0x1f0)],_0x539c19[_0x3cbf36(0x1f0)])];_0x539c19[_0x3cbf36(0x2ad)]&&_0x52d09e[_0x3cbf36(0x1a6)](Cr([...wr(_0x59cee5[_0x3cbf36(0x275)],_0x59cee5[_0x3cbf36(0x2b5)]),_0x3cbf36(0x2ad)],_0x472e35[_0x3cbf36(0x2ad)],_0x539c19[_0x3cbf36(0x2ad)]));let _0x7fd50a=L(_0x52d09e),_0x1ac07a=new A()['invertOp'](_0x42a1ed,_0x7fd50a),_0x2dcf76={'unitId':_0x29bf9e,'op':_0x7fd50a},_0x6496c4={'unitId':_0x29bf9e,'op':_0x1ac07a};return _0x5bd536[_0x3cbf36(0x32e)](Y['id'],_0x2dcf76)?(_0x57b57c[_0x3cbf36(0x1cf)](_0x29bf9e),_0x4e830b[_0x3cbf36(0x2e0)]({'unitID':_0x29bf9e,'undoMutations':[{'id':Y['id'],'params':_0x6496c4}],'redoMutations':[{'id':Y['id'],'params':_0x2dcf76}]}),!0x0):!0x1;}};function Cr(_0x3f4255,_0x23975c,_0x4b0822){const _0x451fb0=_0x1141d6;return _0x23975c===void 0x0?_0x35e04c[_0x451fb0(0x21e)](_0x3f4255,_0x4b0822):_0x35e04c['replaceOp'](_0x3f4255,_0x23975c,_0x4b0822);}function _0x4176(){const _0x1b3b2c=['filter','base.command.set-base-view-field-visible','text','base.command.update-base-record-order','resources','renameTable','_buildKanban','unshift','Kanban','_groupCellInvalidations','Calendar\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','_kanbanGroupKeys','repairViewConfig','exact','timeZone','startDateFieldId','mark','test','_cacheKey','order','createDefaultValue','_viewRevisions','_ganttBarColor','stringify','NumberFormat','MultiSelect','fromPlainText','primaryFieldId','getCapabilities','name','canDeleteRecord','score','_config','pluginName','_normalizeCalendarDisplayColor','getFullYear','Number','values','base.viewType.gallery','_groupProjectionFieldIds','_toDirtyRangePatch','normal','deleteRecord','base.resource.service','workingDays','packageName','timeslotSize','small','after','sort','size','displayColor','updatedAt','invalidateByView','startsWith','Button','Doing','children','_createSystemFieldValuePatches','dependencyFieldId','_applyFormulaResult','card','_matchesGanttColorRule','hh:mm','majorHeaders','invertOp','weekdays','tomorrow','fieldSettings','recordCount','_runtimeContext','coverFieldId','UTC','Barcode','default','beforeFieldId','_findKanbanGroupField','before','_initCommands','cellRevision','_groupsCacheKey','base.command.set-base-view-filter','_applier','getUnitId','IBaseCellData.ensureTableCellLayout','day','editCell','off','#16a34a','_isColorfulKanbanGroupField','createdBy','registerSyncingMutations','length','decorate','leftPaneWidth','setViewFieldVisible','_isAllDayGanttDateRange','embedId','1.0.0-alpha.4','fld-','lastIndexOf','isInteger','showFieldNames','none','Checkbox','attachment','DESC','registerCtorForType','boolean','measure','contains','registerView','base.command.set-base-name','_resolveGanttDateFieldId','UNIVER_BASE','#FDE68A','setViewGroup','duplicateRecord','createBatchCreateRecordsOp','readonly','Progress','url','base.view-registry.service','cell','[BasePerf]\x20','viewIndexes','tableRevision','175BsHiOY',',,,\x22B\x22','createdAt','tables','conjunction','view','mode','done','base.command.set-base-range-values','[BaseField]:\x20invalid\x20multi-value\x20reference.','formula.mutation.set-formula-calculation-result','invalidGanttEndField','_title','usableAsCardCover','Checked','deleteRecords','get','_fieldPermissions','getCurrentUserId','Yes','raw','createUnit','Failed\x20to\x20create\x20update\x20cell\x20operation:','createCreateFieldOp','base.command.change-base-field-type','_resolveGalleryCoverFieldId','fieldIds','_tableRevisions','index','moveField','end','getUnit','clearFieldPermission','setViewFieldOrder','createField','version','width','groups','search','endDateFieldId','15636CRoQip','-record-','endsWith','type','https://','_createRecordWithDefaults','fieldName','HH:mm','renameFormulaUnitReferences','hasOwnProperty','assign','viewOrder','Gallery','_normalizeGanttDisplayColor','records','resolve','hourCycle','_findCalendarDateFieldId','Email','replace','_getTable','createRecords','-field-name','[BaseCommandService]:\x20cannot\x20manage\x20view.','base.fieldType.','check','_normalizeGanttConfig','base.command.duplicate-base-field','_buildGallery','1740870MeeaRt','normalize','base.command.create-base-field','matchAll','usableAsGanttEnd','fromEntries','selectField','base.field-registry.service','_createNumberingAllocators','_fastSortRows','canDeleteTable','_dataSyncPrimaryController','Flow','lastWeek','snapshot',':start','columns','_getCachedProjection','base.command.move-base-view','canManageView','[BaseField]:\x20negative\x20numbers\x20are\x20disabled.','\x22\x20does\x20not\x20exist.','exceptions','_recordIds','diffValue','False','colId','group','_filterRows','$1\x20','compose','_cellInvalidations','[BaseCommandService]:\x20cannot\x20edit\x20readonly\x20field.','person','TwoWayLink','base.command.update-base-kanban-config','edit','invalidateByCell','globalRevision','row','_deleteAttachmentResources','user','base.command.delete-base-field','_applyingFormulaResults','recordOrder','_univerInstanceService','calendar','localeCompare','usableAsGanttStart','_getCurrentUserId','changed','_configService','record','push','invalidateByOp','flatMap','[BaseFormula]:\x20A1\x20references\x20and\x20ranges\x20are\x20not\x20supported\x20in\x20Base\x20formulas.','_cellRevisions','845241Hgystz','setFieldPermission','executeCommand','[BaseField]:\x20invalid\x20phone\x20value.','join','_capabilities','bases.fieldConfig.textPlaceholder','from','Currency','toFixed','base.command.set-base-record-values','base.command.rename-base-view','periodComma','_commandService','_initDependencies','_groupConfigCacheSegment','Grid','_setFormulaFieldCells','YYYY/MM/DD','fieldId','percent','Uncategorized','manual','deepClone','[BaseField]:\x20invalid\x20date\x20value.','setBaseName','regenerateViewIds','_getOrderedRecords','validateFormula','SingleSelect','_materializeGroups','conditional','_resolveKanbanGroupFieldId',',,\x22M\x22','h:mm\x20a','Name','focusUnit','_plugins','_onCommandExecuted','Group','_getJson1DirtyData','padStart','BASES_PLUGIN','invalidGroupField','COMMAND','DD/MM/YYYY','unitWidth','error','includeTime','today','getAffectedRanges','_syncSuperTables','Summary','UNIVER_EMBED_BASES_TABLE','embed-ui','add','commaPeriod','thisMonth','[BaseField]:\x20invalid\x20progress\x20value.','custom','yesterday','_initDataSync','createDefaultConfig','register','[BaseField]:\x20invalid\x20number\x20value.','_isKanbanGroupField','registerCommand','toLocaleString','keys','config','base-perf-','Phone','locale','_getSystemFieldValue','beforeViewId','en-US','_normalizeGalleryConfig','title','#3b82f6','deleteView','createViewId','FieldId','working','_syncBaseUnit','formatToParts','base.command.duplicate-base-record','recordId','base.command.set-base-view-sort','[BaseField]:\x20invalid\x20checkbox\x20value.','displayText','_kanbanLaneColor','revision','unknown','setRangeValues','_setCachedProjection','conditions','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','doing','value','565yUxEjP','MM-DD','base.command.update-base-cell','base.viewType.gantt','MUTATION','updatedBy','7158ycnbkO','#,##0','Lookup','constructor','tableOrder','STRING','[BaseCommandService]:\x20cannot\x20delete\x20primary\x20field.','medium','getStructuredDependencies','forValue','insertOp','progressFieldId','map','ena','string','getOwnPropertyDescriptor','editable','_globalRevision','216lUGBRS','_removeSuperTables','_buildGrid','UpdatedBy','gridViewId','colIndex','[BaseViewRegistryService]:\x20view\x20type\x20\x22','Person','_createNumberingAllocator','getItem','defineProperty','call','[BaseField]:\x20invalid\x20person\x20value.','gantt','past7','kanban','find','allowMultiple','getTime','_getTablesToNormalize','base.command.delete-base-view','operator','catch',':end','views','updateViewConfig','invalidGanttStartField','rowIndex','[BaseCommandService]:\x20cannot\x20edit\x20field.','lessThan','_calendarEventColor','clearTablePermission','label','remove','max','base.command.update-base-field-description','indexOf','_resolveKanbanCoverFieldId','leftPaneCollapsed','base.mutation.apply-base-json1','Gantt','base.command.create-base-view','setRecordValues','deleteTable','Attachment','#14b8a6','YYYY/MM/DD\x20HH:mm','splice','every','canEditField','params','isFinite','UpdatedAt','RecordId','lessThanOrEqual','registerTable','separatorStyle','BaseProjection.filterAndSortRows','base.viewType.calendar','114zcrXqb','MM/DD/YYYY','userID','exception-','query','basePerf','recordIds','Gantt\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','format','getUTCDay','view-','base.command.ensure-base-temporal-view-date-fields','[BaseCommandService]:\x20cannot\x20create\x20record.','baseRows','getAllUnitsForType','scale','_registeredSuperTableNames','result','toPlainText','base.command.rename-base-table','tableId','columnSettings','_buildCalendar','getUTCFullYear','[BaseCommandService]:\x20cannot\x20create\x20field.','workingDaysOnly','__all__','canCreateRecord','base.command.set-base-view-field-width','setViewSort','trigger','decimalPlaces','rules','level','_projectGroups','now','base.command.set-base-kanban-group-field','showTodayLine','Calendar','[BaseProjectionService]:\x20missing\x20view\x20\x22','[BaseFormula]:\x20field\x20\x22','isArray','year','color','_apply','month','round','then','next7','_formulaService','field','options','operand','getTypePlugin','updateRecordOrder','thisWeek','start','slice','setConfig','_withModifiedSystemValues','Date','general','_projectTableRows','some','setHours','_getAllTableIds','664939SAXhYE','Numbering','patches','limit','lastMonth','getSnapshot','colorFieldId','unitData','toPrimitive','valid','fieldOrder','toLowerCase','_getTableRevision','setRecordPermission','_projectedRowsCache','Text','disposeWithMe','symbol','viewId','todo','getAll','createSuperTableReference','createCreateRecordOp','_replaceOptional','NUMBER','description','_patchCachedProjectedRows','getDay','canEditCell','orderKey','base.command.create-base-record','createSetRecordValuesOp','_createRecordOrderOp','_fieldRegistry','repeat','spacePeriod','findIndex','isNotEmpty','#BBF7D0','invalid','cardSize','2008VWOMbZ','_getViewRevision','invalidDateField','Empty','greaterThanOrEqual','setTablePermission','renameView','lastIndex','Gallery\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','setViewFieldWidth','base.viewType.grid','_projectionCache','min','createUpdateCellOp','univer.basePerf','CreatedAt','_bumpTableRevision','_resolveCalendarDateFieldId','getUTCDate','long','pushUndoRedo','next30','fields','getSuperTableRegistrations','syncUnit','col','updateCell','\x22\x20is\x20not\x20registered.','forEach','setSnapshot','column','base.command.delete-base-record','_canUseFastSort','_getStructureDirtyTableIds','createRegExpFromSafeFragment','manageView','_activeDirtyManagerService','moveView','getMonth','star','_createNumberingFieldValuePatches','_kanbanLaneTitle','childUnitId','__tempBatchingUndoRedo','formula','BaseJson1.cloneForOp','number','recordNamePrefix','key','_projectFields','isNot','_patchProjectedRowsForCellInvalidations','reason','removeOp','_isAllDayCalendarEvent','[BaseFormula]:\x20table\x20\x22','local','table','major-','tableName','decimal','spaceComma','onReady','setBasePermission','_cellInvalidationsTouchFields','Done','_isNonEmptyCellValue','setViewFilter','_permissionService','hidden','_enqueueFormulaSync','afterFieldId','missingField','groupFieldId','_getKanbanConfiguredLanes','_rowTransformCacheSegment','quarter','cardLayout','_baseSyncDisposables','_projectedViewRowsCache','system','yyyy/mm/dd','dateMode','base.command.update-base-field','short','base.viewType.kanban','unitOtherData','direction','split','has','BaseProjection.materializeTableRows','_tablePermissions','_initialize','124788ExuQrF','_buildGantt','validate','replaceOp','base.command.batch-create-base-records','syncExecuteCommand','delete','__UNIVER_BASE_PERF__','Formula','_isCalendarDateField','afterViewId','h12','_getCellRevision','recordPatch','createRecord','_setAttachmentResources','canDeleteField','Link','attachments','cellData','invalidateByField','updateField','changeFieldType','@univerjs-pro/bases','BOOLEAN','duplicateField','Location','_resolveKanbanCardFieldIds','unitId','getUTCMonth','_normalizeCalendarConfig','_basePermissions','[BaseCommandService]:\x20cannot\x20delete\x20table.','BaseProjection.projectRows','invertWithDoc','_sortRows','entries','[BaseCommandService]:\x20cannot\x20delete\x20field.','iterator','_formulaSyncQueue','option-','CreatedBy','set','_injector','true','prototype','_factory','FORCE_STRING','currencySymbol','titleFieldId','createTable','applyOp','registerSuperTable','_isAllowedKanbanGroupField','_isGanttDateField','function','bases.config','large','canCreateField','defaultValue','autoIncrement','11349GiRsdr','createView','_recordPermissions','trim','_resolveGalleryCardFieldIds','isNaN','attachmentSets','_projectRows','date','_projectedGroupsCache','includes','object','usableAsCalendarDate','deleteField','_initRegistries','_views','reduce','[BaseCommandService]:\x20cannot\x20edit\x20cell.','rowId','base.command.service','rows','false','_viewRevisionKey','canCreateTable','childType','_filterSortFieldIds','fieldIndex','h24','subscribe','_normalizeCellValue','Rating'];_0x4176=function(){return _0x1b3b2c;};return _0x4176();}function wr(_0x5d2ddb,_0x432803){const _0x58c89f=_0x1141d6;return[_0x58c89f(0x407),_0x5d2ddb,_0x58c89f(0x23e),_0x432803];}function _0x33c5(_0x57bd26,_0x3e0730){_0x57bd26=_0x57bd26-0x136;const _0x41766f=_0x4176();let _0x33c509=_0x41766f[_0x57bd26];return _0x33c509;}const Tr={'id':'base.command.move-base-field','type':_0x29e4da['COMMAND'],'handler':(_0x5caf56,_0x5dbe54)=>{const _0x3e8049=_0x1141d6;var _0x311f28;if(!_0x5dbe54)return!0x1;let _0x486ceb=_0x5caf56[_0x3e8049(0x13c)](_0x583b46),{unitId:_0x2c2b67,tableId:_0x14badb,fieldId:_0x36d65b,target:_0x1d882a}=_0x5dbe54,_0x54620f=_0x486ceb[_0x3e8049(0x14b)](_0x2c2b67,_0x42dad9['UNIVER_BASE']),_0x444930=(_0x311f28=_0x1d882a[_0x3e8049(0x3d0)])==null?_0x1d882a[_0x3e8049(0x313)]:_0x311f28;if(!_0x54620f||!!_0x1d882a['beforeFieldId']==!!_0x1d882a[_0x3e8049(0x313)]||!_0x444930||_0x444930===_0x36d65b||!X(_0x54620f,_0x14badb,{'fieldIds':[_0x36d65b,_0x444930]}))return!0x1;let _0x1c2a98=_0x5caf56[_0x3e8049(0x13c)](_0x4c4564),_0x15ea29=_0x5caf56[_0x3e8049(0x13c)](_0x1cfa3b),_0x2d83f9=_0x54620f[_0x3e8049(0x2a8)](),_0x511a77=new R()['moveField'](_0x2d83f9,_0x14badb,_0x36d65b,_0x1d882a),_0x19a93f=new A()[_0x3e8049(0x3c6)](_0x2d83f9,_0x511a77),_0x54a3ab={'unitId':_0x2c2b67,'op':_0x511a77},_0x41bddb={'unitId':_0x2c2b67,'op':_0x19a93f};return _0x1c2a98[_0x3e8049(0x32e)](Y['id'],_0x54a3ab)?(_0x486ceb['focusUnit'](_0x2c2b67),_0x15ea29[_0x3e8049(0x2e0)]({'unitID':_0x2c2b67,'undoMutations':[{'id':Y['id'],'params':_0x41bddb}],'redoMutations':[{'id':Y['id'],'params':_0x54a3ab}]}),!0x0):!0x1;}},Er={'id':_0x1141d6(0x183),'type':_0x29e4da['COMMAND'],'handler':(_0x2855ca,_0x4f8b61)=>{const _0x59297f=_0x1141d6;var _0x355440;if(!_0x4f8b61)return!0x1;let _0x45baa2=_0x2855ca[_0x59297f(0x13c)](_0x583b46),{unitId:_0x37e296,tableId:_0x3e6027,viewId:_0x1f4d78,target:_0xd1cf26}=_0x4f8b61,_0x5bbf4c=_0x45baa2[_0x59297f(0x14b)](_0x37e296,_0x42dad9[_0x59297f(0x3f7)]),_0x447985=(_0x355440=_0xd1cf26[_0x59297f(0x1f5)])==null?_0xd1cf26[_0x59297f(0x333)]:_0x355440;if(!_0x5bbf4c||!_0x447985||_0x447985===_0x1f4d78||!X(_0x5bbf4c,_0x3e6027,{'viewIds':[_0x1f4d78,_0x447985]}))return!0x1;let _0x5263bb=_0x2855ca[_0x59297f(0x13c)](_0x4c4564),_0x3d9fa0=_0x2855ca['get'](_0x1cfa3b),_0x4845ad=_0x5bbf4c[_0x59297f(0x2a8)](),_0x141310=new R()[_0x59297f(0x2f1)](_0x4845ad,_0x3e6027,_0x1f4d78,_0xd1cf26),_0x31bc65=new A()['invertOp'](_0x4845ad,_0x141310),_0x564ff3={'unitId':_0x37e296,'op':_0x141310},_0x486640={'unitId':_0x37e296,'op':_0x31bc65};return _0x5263bb['syncExecuteCommand'](Y['id'],_0x564ff3)?(_0x45baa2[_0x59297f(0x1cf)](_0x37e296),_0x3d9fa0['pushUndoRedo']({'unitID':_0x37e296,'undoMutations':[{'id':Y['id'],'params':_0x486640}],'redoMutations':[{'id':Y['id'],'params':_0x564ff3}]}),!0x0):!0x1;}},Dr={'id':_0x1141d6(0x274),'type':_0x29e4da[_0x1141d6(0x1d7)],'handler':(_0x3bf412,_0x3fde71)=>{const _0x2fa6e5=_0x1141d6;if(!_0x3fde71)return!0x1;let _0x4d8c36=_0x3bf412[_0x2fa6e5(0x13c)](_0x583b46),{unitId:_0x57b658,tableId:_0x15aa47,name:_0x40fdf3}=_0x3fde71,_0x29556f=_0x4d8c36[_0x2fa6e5(0x14b)](_0x57b658,_0x42dad9[_0x2fa6e5(0x3f7)]);if(!_0x29556f||!X(_0x29556f,_0x15aa47))return!0x1;let _0x1f97fb=_0x3bf412[_0x2fa6e5(0x13c)](_0x4c4564),_0x2df43b=_0x3bf412[_0x2fa6e5(0x13c)](_0x1cfa3b),_0xd190d4=_0x29556f[_0x2fa6e5(0x2a8)](),_0x3a493=new R()[_0x2fa6e5(0x38a)](_0xd190d4,_0x15aa47,_0x40fdf3),_0x5f5901=new A()['invertOp'](_0xd190d4,_0x3a493),_0x1a48ad={'unitId':_0x57b658,'op':_0x3a493},_0x57b40b={'unitId':_0x57b658,'op':_0x5f5901};return _0x1f97fb[_0x2fa6e5(0x32e)](Y['id'],_0x1a48ad)?(_0x4d8c36[_0x2fa6e5(0x1cf)](_0x57b658),_0x2df43b[_0x2fa6e5(0x2e0)]({'unitID':_0x57b658,'undoMutations':[{'id':Y['id'],'params':_0x57b40b}],'redoMutations':[{'id':Y['id'],'params':_0x1a48ad}]}),!0x0):!0x1;}},Or={'id':_0x1141d6(0x1b6),'type':_0x29e4da[_0x1141d6(0x1d7)],'handler':(_0x4b069e,_0x1f72f4)=>{const _0x1c5790=_0x1141d6;if(!_0x1f72f4)return!0x1;let _0x4f3389=_0x4b069e[_0x1c5790(0x13c)](_0x583b46),{unitId:_0x4bfb8e,tableId:_0x586fcd,viewId:_0x388c67,name:_0x4f9c23}=_0x1f72f4,_0x2f4d57=_0x4f3389['getUnit'](_0x4bfb8e,_0x42dad9[_0x1c5790(0x3f7)]);if(!_0x2f4d57||!X(_0x2f4d57,_0x586fcd,{'viewIds':[_0x388c67]}))return!0x1;let _0x53dcba=_0x4b069e[_0x1c5790(0x13c)](_0x4c4564),_0x5e8007=_0x4b069e[_0x1c5790(0x13c)](_0x1cfa3b),_0x4ff7e0=_0x2f4d57[_0x1c5790(0x2a8)](),_0x2d4c33=new R()['renameView'](_0x4ff7e0,_0x586fcd,_0x388c67,_0x4f9c23),_0x286afc=new A()[_0x1c5790(0x3c6)](_0x4ff7e0,_0x2d4c33),_0x28890b={'unitId':_0x4bfb8e,'op':_0x2d4c33},_0x12c9db={'unitId':_0x4bfb8e,'op':_0x286afc};return _0x53dcba[_0x1c5790(0x32e)](Y['id'],_0x28890b)?(_0x4f3389[_0x1c5790(0x1cf)](_0x4bfb8e),_0x5e8007[_0x1c5790(0x2e0)]({'unitID':_0x4bfb8e,'undoMutations':[{'id':Y['id'],'params':_0x12c9db}],'redoMutations':[{'id':Y['id'],'params':_0x28890b}]}),!0x0):!0x1;}},kr={'id':_0x1141d6(0x285),'type':_0x29e4da[_0x1141d6(0x1d7)],'handler':(_0x5f21ff,_0x5e17e5)=>{const _0x4b0a56=_0x1141d6;if(!_0x5e17e5)return!0x1;let _0x1b63f9=_0x5f21ff[_0x4b0a56(0x13c)](_0x583b46),{unitId:_0x199ac7,tableId:_0x46735c,viewId:_0xfdf89,fieldId:_0x295af4}=_0x5e17e5,_0x4db83d=_0x1b63f9[_0x4b0a56(0x14b)](_0x199ac7,_0x42dad9['UNIVER_BASE']);if(!_0x4db83d||!X(_0x4db83d,_0x46735c,{'viewIds':[_0xfdf89],'fieldIds':[_0x295af4]}))return!0x1;let _0x47282a=_0x5f21ff[_0x4b0a56(0x13c)](_0x4c4564),_0x22b669=_0x5f21ff[_0x4b0a56(0x13c)](_0x1cfa3b),_0x4bf8cc=_0x4db83d[_0x4b0a56(0x2a8)](),_0x3afbce=new R()[_0x4b0a56(0x23f)](_0x4bf8cc,_0x46735c,_0xfdf89,{'groupFieldId':_0x295af4}),_0xb3ac08=new A()[_0x4b0a56(0x3c6)](_0x4bf8cc,_0x3afbce),_0x5e5abd={'unitId':_0x199ac7,'op':_0x3afbce},_0x4ea85f={'unitId':_0x199ac7,'op':_0xb3ac08};return _0x47282a[_0x4b0a56(0x32e)](Y['id'],_0x5e5abd)?(_0x1b63f9[_0x4b0a56(0x1cf)](_0x199ac7),_0x22b669['pushUndoRedo']({'unitID':_0x199ac7,'undoMutations':[{'id':Y['id'],'params':_0x4ea85f}],'redoMutations':[{'id':Y['id'],'params':_0x5e5abd}]}),!0x0):!0x1;}},Ar={'id':_0x1141d6(0x3f5),'type':_0x29e4da[_0x1141d6(0x1d7)],'handler':(_0x66a7c7,_0x7cac9f)=>{const _0x147243=_0x1141d6;if(!_0x7cac9f)return!0x1;let _0x31092d=_0x66a7c7[_0x147243(0x13c)](_0x583b46),_0x39a5aa=_0x31092d[_0x147243(0x14b)](_0x7cac9f[_0x147243(0x345)],_0x42dad9['UNIVER_BASE']);if(!_0x39a5aa)return!0x1;let _0x3cccc4=_0x39a5aa[_0x147243(0x2a8)]()['name'];if(_0x3cccc4===_0x7cac9f[_0x147243(0x3a2)])return!0x0;let _0x1ac637=new R(),_0x118826=new A(),_0x482431=[],_0x5b5d9a=[],_0x30eb50=[_0x39a5aa,..._0x31092d[_0x147243(0x26f)](_0x42dad9[_0x147243(0x3f7)])[_0x147243(0x385)](_0x70612=>_0x70612[_0x147243(0x3d8)]()!==_0x7cac9f['unitId'])];for(let _0x45c343 of _0x30eb50){let _0x3b264a=_0x45c343[_0x147243(0x2a8)](),_0x4356b2=_0x45c343===_0x39a5aa?_0x1ac637[_0x147243(0x1c4)](_0x3b264a,_0x7cac9f[_0x147243(0x3a2)]):_0x1ac637[_0x147243(0x15c)](_0x3b264a,_0x3cccc4,_0x7cac9f[_0x147243(0x3a2)]);_0x4356b2&&(_0x482431['push']({'id':Y['id'],'params':{'unitId':_0x45c343[_0x147243(0x3d8)](),'op':_0x4356b2,'trigger':Ar['id']}}),_0x5b5d9a[_0x147243(0x38c)]({'id':Y['id'],'params':{'unitId':_0x45c343[_0x147243(0x3d8)](),'op':_0x118826[_0x147243(0x3c6)](_0x3b264a,_0x4356b2),'trigger':Ar['id']}}));}let _0x50cefc=_0x66a7c7[_0x147243(0x13c)](_0x4c4564),_0x3ce333=_0x66a7c7[_0x147243(0x13c)](_0x1cfa3b),_0x2d86fb=_0x3ce333[_0x147243(0x2f7)](_0x7cac9f[_0x147243(0x345)]);try{return _0x455154(_0x482431,_0x50cefc)[_0x147243(0x272)]?(_0x31092d[_0x147243(0x1cf)](_0x7cac9f[_0x147243(0x345)]),_0x3ce333[_0x147243(0x2e0)]({'unitID':_0x7cac9f[_0x147243(0x345)],'undoMutations':_0x5b5d9a,'redoMutations':_0x482431}),!0x0):!0x1;}finally{_0x2d86fb['dispose']();}}},jr={'id':_0x1141d6(0x40c),'type':_0x29e4da[_0x1141d6(0x1d7)],'handler'(_0xd66054,_0x1516d4){const _0x31b55d=_0x1141d6;if(!_0x1516d4)return!0x1;let _0x706f65=_0xd66054['get'](_0x583b46),{unitId:_0x4fef9e,tableId:_0x51ba25,patches:_0x1e241d}=_0x1516d4,_0x4e819d=_0x706f65[_0x31b55d(0x14b)](_0x4fef9e,_0x42dad9[_0x31b55d(0x3f7)]);if(!_0x4e819d||!X(_0x4e819d,_0x51ba25))return!0x1;let _0x1a8142=_0xd66054[_0x31b55d(0x13c)](_0x4c4564),_0x27b1ad=_0xd66054[_0x31b55d(0x13c)](_0x1cfa3b),_0x4c58a5=_0x4e819d['getSnapshot'](),_0x46cbc1=E(_0x4c58a5['tables'][_0x51ba25]),_0x1743f6=_0x1e241d[_0x31b55d(0x220)](_0x38438a=>{const _0x127d69=_0x31b55d;var _0xd2dffd;return _0x127d69(0x201)in _0x38438a?_0x38438a[_0x127d69(0x201)]:(_0xd2dffd=_0x46cbc1['rowId'])==null?void 0x0:_0xd2dffd[_0x38438a[_0x127d69(0x198)]];})[_0x31b55d(0x385)](_0x52e00d=>_0x52e00d!=null),_0x80a89f=_0x1e241d['map'](_0x2f9572=>{const _0x2e25f9=_0x31b55d;var _0x38db64;return _0x2e25f9(0x1be)in _0x2f9572?_0x2f9572[_0x2e25f9(0x1be)]:(_0x38db64=_0x46cbc1['colId'])==null?void 0x0:_0x38db64[_0x2f9572[_0x2e25f9(0x2e5)]];})[_0x31b55d(0x385)](_0x100fb1=>_0x100fb1!=null);if(_0x1743f6[_0x31b55d(0x3e1)]!==_0x1e241d[_0x31b55d(0x3e1)]||_0x80a89f[_0x31b55d(0x3e1)]!==_0x1e241d[_0x31b55d(0x3e1)]||!X(_0x4e819d,_0x51ba25,{'recordIds':_0x1743f6,'fieldIds':_0x80a89f}))return!0x1;let _0x277508=_0x1e241d[_0x31b55d(0x1a8)](_0x2a85e1=>{const _0x79b2b3=_0x31b55d;var _0x410400,_0x115c4f;if(_0x79b2b3(0x198)in _0x2a85e1)return[_0x2a85e1];let _0x581d14=(_0x410400=_0x46cbc1[_0x79b2b3(0x241)])==null?void 0x0:_0x410400[_0x2a85e1['recordId']],_0xf7695=(_0x115c4f=_0x46cbc1[_0x79b2b3(0x22b)])==null?void 0x0:_0x115c4f[_0x2a85e1[_0x79b2b3(0x1be)]];return _0x581d14==null||_0xf7695==null?[]:[{'row':_0x581d14,'col':_0xf7695,'value':_0x2a85e1[_0x79b2b3(0x20d)]}];}),_0x35bdb3=new R()[_0x31b55d(0x208)](_0x4c58a5,_0x51ba25,_0x277508),_0x4e1668=new A()[_0x31b55d(0x3c6)](_0x4c58a5,_0x35bdb3),_0xbb517b={'unitId':_0x4fef9e,'op':_0x35bdb3},_0x2bfb58={'unitId':_0x4fef9e,'op':_0x4e1668};return _0x1a8142['syncExecuteCommand'](Y['id'],_0xbb517b)?(_0x706f65['focusUnit'](_0x4fef9e),_0x27b1ad[_0x31b55d(0x2e0)]({'unitID':_0x4fef9e,'undoMutations':[{'id':Y['id'],'params':_0x2bfb58}],'redoMutations':[{'id':Y['id'],'params':_0xbb517b}]}),!0x0):!0x1;}},Mr={'id':_0x1141d6(0x1b5),'type':_0x29e4da[_0x1141d6(0x1d7)],'handler'(_0x2c2dff,_0x20fe48){const _0x20fd32=_0x1141d6;if(!_0x20fe48)return!0x1;let _0x2761d7=_0x2c2dff[_0x20fd32(0x13c)](_0x583b46),{unitId:_0x25c300,tableId:_0x44ef28,patches:_0x384ff5}=_0x20fe48,_0x2936ca=_0x2761d7[_0x20fd32(0x14b)](_0x25c300,_0x42dad9['UNIVER_BASE']),_0x365f90=_0x384ff5[_0x20fd32(0x220)](_0x387421=>_0x387421[_0x20fd32(0x201)]),_0x3690e2=_0x384ff5[_0x20fd32(0x1a8)](_0x59c906=>Object[_0x20fd32(0x1ef)](_0x59c906[_0x20fd32(0x3aa)]));if(!_0x2936ca||!X(_0x2936ca,_0x44ef28,{'recordIds':_0x365f90,'fieldIds':_0x3690e2}))return!0x1;let _0x919ebe=_0x2c2dff[_0x20fd32(0x13c)](_0x4c4564),_0x35d8eb=_0x2c2dff[_0x20fd32(0x13c)](_0x1cfa3b),_0x3a6843=_0x2c2dff['get'](W)['createSetRecordValuesOp'](_0x2936ca,_0x44ef28,_0x384ff5),_0x4a73e7=new A()[_0x20fd32(0x3c6)](_0x2936ca[_0x20fd32(0x2a8)](),_0x3a6843),_0xf58895={'unitId':_0x25c300,'op':_0x3a6843},_0x16c67c={'unitId':_0x25c300,'op':_0x4a73e7};return _0x919ebe[_0x20fd32(0x32e)](Y['id'],_0xf58895)?(_0x2761d7[_0x20fd32(0x1cf)](_0x25c300),_0x35d8eb[_0x20fd32(0x2e0)]({'unitID':_0x25c300,'undoMutations':[{'id':Y['id'],'params':_0x16c67c}],'redoMutations':[{'id':Y['id'],'params':_0xf58895}]}),!0x0):!0x1;}},Nr={'id':'base.command.set-base-view-field-order','type':_0x29e4da['COMMAND'],'handler':(_0x516754,_0x3f016f)=>{const _0x129f82=_0x1141d6;var _0x190b49;if(!_0x3f016f)return!0x1;let _0xe2aa16=_0x516754[_0x129f82(0x13c)](_0x583b46),{unitId:_0x566a0a,tableId:_0x1b4f3e,viewId:_0x3647ff,fieldId:_0x5056ce,target:_0x39c2dc}=_0x3f016f,_0x4bc7c1=_0xe2aa16[_0x129f82(0x14b)](_0x566a0a,_0x42dad9[_0x129f82(0x3f7)]),_0x5587a0=(_0x190b49=_0x39c2dc[_0x129f82(0x3d0)])==null?_0x39c2dc['afterFieldId']:_0x190b49;if(!_0x4bc7c1||!_0x5587a0||_0x5587a0===_0x5056ce||!X(_0x4bc7c1,_0x1b4f3e,{'viewIds':[_0x3647ff],'fieldIds':[_0x5056ce,_0x5587a0]}))return!0x1;let _0x1d1d03=_0x516754[_0x129f82(0x13c)](_0x4c4564),_0xc1ebb2=_0x516754[_0x129f82(0x13c)](_0x1cfa3b),_0x1c6321=_0x4bc7c1[_0x129f82(0x2a8)](),_0x1eaba9=new R()[_0x129f82(0x14d)](_0x1c6321,_0x1b4f3e,_0x3647ff,_0x5056ce,_0x39c2dc),_0x94117c=new A()[_0x129f82(0x3c6)](_0x1c6321,_0x1eaba9),_0x4a3ecd={'unitId':_0x566a0a,'op':_0x1eaba9},_0x177750={'unitId':_0x566a0a,'op':_0x94117c};return _0x1d1d03[_0x129f82(0x32e)](Y['id'],_0x4a3ecd)?(_0xe2aa16[_0x129f82(0x1cf)](_0x566a0a),_0xc1ebb2['pushUndoRedo']({'unitID':_0x566a0a,'undoMutations':[{'id':Y['id'],'params':_0x177750}],'redoMutations':[{'id':Y['id'],'params':_0x4a3ecd}]}),!0x0):!0x1;}},Pr={'id':_0x1141d6(0x386),'type':_0x29e4da[_0x1141d6(0x1d7)],'handler'(_0x437d01,_0x1780ed){const _0x354f42=_0x1141d6;if(!_0x1780ed)return!0x1;let _0x435e25=_0x437d01[_0x354f42(0x13c)](_0x583b46),{unitId:_0x1f8127,tableId:_0x3419fb,viewId:_0x430d5d,fieldId:_0x518609,visible:_0x4d7808}=_0x1780ed,_0x1fcc74=_0x435e25[_0x354f42(0x14b)](_0x1f8127,_0x42dad9[_0x354f42(0x3f7)]);if(!_0x1fcc74||!X(_0x1fcc74,_0x3419fb,{'viewIds':[_0x430d5d],'fieldIds':[_0x518609]}))return!0x1;let _0x4998c9=_0x437d01[_0x354f42(0x13c)](_0x4c4564),_0x2c489e=_0x437d01[_0x354f42(0x13c)](_0x1cfa3b),_0x5d332d=_0x1fcc74[_0x354f42(0x2a8)](),_0x5f2e78=new R()['setViewFieldVisible'](_0x5d332d,_0x3419fb,_0x430d5d,_0x518609,_0x4d7808),_0x4a8029=new A()[_0x354f42(0x3c6)](_0x5d332d,_0x5f2e78),_0x530cff={'unitId':_0x1f8127,'op':_0x5f2e78},_0x4522ce={'unitId':_0x1f8127,'op':_0x4a8029};return _0x4998c9[_0x354f42(0x32e)](Y['id'],_0x530cff)?(_0x435e25[_0x354f42(0x1cf)](_0x1f8127),_0x2c489e['pushUndoRedo']({'unitID':_0x1f8127,'undoMutations':[{'id':Y['id'],'params':_0x4522ce}],'redoMutations':[{'id':Y['id'],'params':_0x530cff}]}),!0x0):!0x1;}},Fr={'id':_0x1141d6(0x27d),'type':_0x29e4da[_0x1141d6(0x1d7)],'handler':(_0x3be85e,_0x4c1140)=>{const _0xb84d4=_0x1141d6;if(!_0x4c1140)return!0x1;let _0x346c07=_0x3be85e[_0xb84d4(0x13c)](_0x583b46),{unitId:_0x4766b2,tableId:_0x3468e9,viewId:_0x1f19a8,fieldId:_0x10c3fe,width:_0x34b274}=_0x4c1140,_0x4ff56f=_0x346c07[_0xb84d4(0x14b)](_0x4766b2,_0x42dad9[_0xb84d4(0x3f7)]);if(!_0x4ff56f||!X(_0x4ff56f,_0x3468e9,{'viewIds':[_0x1f19a8],'fieldIds':[_0x10c3fe]}))return!0x1;let _0x300f94=_0x3be85e[_0xb84d4(0x13c)](_0x4c4564),_0x127db0=_0x3be85e['get'](_0x1cfa3b),_0x523183=_0x4ff56f['getSnapshot'](),_0x4e0aab=new R()[_0xb84d4(0x2d5)](_0x523183,_0x3468e9,_0x1f19a8,_0x10c3fe,_0x34b274),_0x58f2b3=new A()[_0xb84d4(0x3c6)](_0x523183,_0x4e0aab),_0x1a4753={'unitId':_0x4766b2,'op':_0x4e0aab},_0x5491ad={'unitId':_0x4766b2,'op':_0x58f2b3};return _0x300f94[_0xb84d4(0x32e)](Y['id'],_0x1a4753)?(_0x346c07[_0xb84d4(0x1cf)](_0x4766b2),_0x127db0['pushUndoRedo']({'unitID':_0x4766b2,'undoMutations':[{'id':Y['id'],'params':_0x5491ad}],'redoMutations':[{'id':Y['id'],'params':_0x1a4753}]}),!0x0):!0x1;}},Ir={'id':_0x1141d6(0x3d6),'type':_0x29e4da[_0x1141d6(0x1d7)],'handler':(_0x3faaa0,_0x185d29)=>{const _0x30d1bc=_0x1141d6;var _0x51f6e7;if(!_0x185d29)return!0x1;let _0x487a24=_0x3faaa0[_0x30d1bc(0x13c)](_0x583b46),{unitId:_0x11c7d4,tableId:_0x5d73ad,viewId:_0x572452,filter:_0x475000}=_0x185d29,_0x55f4b4=_0x487a24[_0x30d1bc(0x14b)](_0x11c7d4,_0x42dad9[_0x30d1bc(0x3f7)]),_0x526f01=(_0x51f6e7=_0x475000==null?void 0x0:_0x475000[_0x30d1bc(0x20a)]['map'](_0xcc3eb9=>_0xcc3eb9[_0x30d1bc(0x1be)]))==null?[]:_0x51f6e7;if(!_0x55f4b4||!X(_0x55f4b4,_0x5d73ad,{'viewIds':[_0x572452],'fieldIds':_0x526f01}))return!0x1;let _0x46acc2=_0x3faaa0['get'](_0x4c4564),_0x544a24=_0x3faaa0[_0x30d1bc(0x13c)](_0x1cfa3b),_0x1545d3=_0x55f4b4[_0x30d1bc(0x2a8)](),_0x12ad42=new R()[_0x30d1bc(0x30f)](_0x1545d3,_0x5d73ad,_0x572452,_0x475000),_0xe13134=new A()['invertOp'](_0x1545d3,_0x12ad42),_0x415cdc={'unitId':_0x11c7d4,'op':_0x12ad42},_0x23cbdf={'unitId':_0x11c7d4,'op':_0xe13134};return _0x46acc2[_0x30d1bc(0x32e)](Y['id'],_0x415cdc)?(_0x487a24[_0x30d1bc(0x1cf)](_0x11c7d4),_0x544a24[_0x30d1bc(0x2e0)]({'unitID':_0x11c7d4,'undoMutations':[{'id':Y['id'],'params':_0x23cbdf}],'redoMutations':[{'id':Y['id'],'params':_0x415cdc}]}),!0x0):!0x1;}},Lr={'id':'base.command.set-base-view-group','type':_0x29e4da['COMMAND'],'handler':(_0xf66d12,_0x32a83b)=>{const _0x5dabfe=_0x1141d6;if(!_0x32a83b)return!0x1;let _0x484728=_0xf66d12['get'](_0x583b46),{unitId:_0x1f044b,tableId:_0x172c0b,viewId:_0x3bcbdb,group:_0x332fad}=_0x32a83b,_0x2c7ffc=_0x484728[_0x5dabfe(0x14b)](_0x1f044b,_0x42dad9[_0x5dabfe(0x3f7)]);if(!_0x2c7ffc||!X(_0x2c7ffc,_0x172c0b,{'viewIds':[_0x3bcbdb],'fieldIds':_0x332fad[_0x5dabfe(0x220)](_0x40bcd2=>_0x40bcd2['fieldId'])}))return!0x1;let _0x4c218e=_0xf66d12[_0x5dabfe(0x13c)](_0x4c4564),_0x4ee7d7=_0xf66d12[_0x5dabfe(0x13c)](_0x1cfa3b),_0x1c5a3c=_0x2c7ffc['getSnapshot'](),_0x426cef=new R()['setViewGroup'](_0x1c5a3c,_0x172c0b,_0x3bcbdb,_0x332fad),_0x34fd30=new A()[_0x5dabfe(0x3c6)](_0x1c5a3c,_0x426cef),_0x18cf4a={'unitId':_0x1f044b,'op':_0x426cef},_0x56fa88={'unitId':_0x1f044b,'op':_0x34fd30};return _0x4c218e[_0x5dabfe(0x32e)](Y['id'],_0x18cf4a)?(_0x484728[_0x5dabfe(0x1cf)](_0x1f044b),_0x4ee7d7[_0x5dabfe(0x2e0)]({'unitID':_0x1f044b,'undoMutations':[{'id':Y['id'],'params':_0x56fa88}],'redoMutations':[{'id':Y['id'],'params':_0x18cf4a}]}),!0x0):!0x1;}},Rr={'id':_0x1141d6(0x202),'type':_0x29e4da[_0x1141d6(0x1d7)],'handler':(_0x41aba9,_0x19f416)=>{const _0x21994d=_0x1141d6;if(!_0x19f416)return!0x1;let _0x25829b=_0x41aba9[_0x21994d(0x13c)](_0x583b46),{unitId:_0x36faff,tableId:_0x27d7c3,viewId:_0x330728,sort:_0x586546}=_0x19f416,_0x3215f8=_0x25829b[_0x21994d(0x14b)](_0x36faff,_0x42dad9[_0x21994d(0x3f7)]);if(!_0x3215f8||!X(_0x3215f8,_0x27d7c3,{'viewIds':[_0x330728],'fieldIds':_0x586546[_0x21994d(0x220)](_0x506b9e=>_0x506b9e[_0x21994d(0x1be)])}))return!0x1;let _0x489b0b=_0x41aba9[_0x21994d(0x13c)](_0x4c4564),_0x4fb287=_0x41aba9[_0x21994d(0x13c)](_0x1cfa3b),_0x4ccd24=_0x3215f8[_0x21994d(0x2a8)](),_0x508165=new R()['setViewSort'](_0x4ccd24,_0x27d7c3,_0x330728,_0x586546),_0x365048=new A()['invertOp'](_0x4ccd24,_0x508165),_0x15596e={'unitId':_0x36faff,'op':_0x508165},_0x288de9={'unitId':_0x36faff,'op':_0x365048};return _0x489b0b['syncExecuteCommand'](Y['id'],_0x15596e)?(_0x25829b[_0x21994d(0x1cf)](_0x36faff),_0x4fb287[_0x21994d(0x2e0)]({'unitID':_0x36faff,'undoMutations':[{'id':Y['id'],'params':_0x288de9}],'redoMutations':[{'id':Y['id'],'params':_0x15596e}]}),!0x0):!0x1;}},zr={'id':_0x1141d6(0x210),'type':_0x29e4da['COMMAND'],'handler'(_0x7539bd,_0x55c2bb){const _0x24d203=_0x1141d6;if(!_0x55c2bb)return!0x1;let _0x2e0792=_0x7539bd['get'](_0x583b46),{unitId:_0x5b0369,tableId:_0x470913,recordId:_0x4b417a,fieldId:_0x3a8a35,value:_0x210f87}=_0x55c2bb,_0x301500=_0x2e0792['getUnit'](_0x5b0369,_0x42dad9[_0x24d203(0x3f7)]);if(!_0x301500||!X(_0x301500,_0x470913,{'recordIds':[_0x4b417a],'fieldIds':[_0x3a8a35]}))return!0x1;let _0x321431=_0x7539bd['get'](_0x4c4564),_0x4a099a=_0x7539bd['get'](_0x1cfa3b),_0x50d108=_0x7539bd['get'](W),_0x2cd7da;try{_0x2cd7da=_0x50d108['createUpdateCellOp'](_0x301500,_0x470913,_0x4b417a,_0x3a8a35,_0x210f87);}catch(_0x1fba7b){return console[_0x24d203(0x1da)](_0x24d203(0x142),_0x1fba7b),!0x1;}let _0x1d980d=new A()[_0x24d203(0x3c6)](_0x301500[_0x24d203(0x2a8)](),_0x2cd7da),_0x3dbbee={'unitId':_0x5b0369,'op':_0x2cd7da},_0x2e86fa={'unitId':_0x5b0369,'op':_0x1d980d};return _0x321431[_0x24d203(0x32e)](Y['id'],_0x3dbbee)?(_0x2e0792[_0x24d203(0x1cf)](_0x5b0369),_0x4a099a[_0x24d203(0x2e0)]({'unitID':_0x5b0369,'undoMutations':[{'id':Y['id'],'params':_0x2e86fa}],'redoMutations':[{'id':Y['id'],'params':_0x3dbbee}]}),!0x0):!0x1;}},Br={'id':_0x1141d6(0x249),'type':_0x29e4da['COMMAND'],'handler'(_0x194f01,_0x6acf04){const _0x4116f8=_0x1141d6;if(!_0x6acf04)return!0x1;let _0x2ce790=_0x194f01[_0x4116f8(0x13c)](_0x583b46),{unitId:_0x2fd43b,tableId:_0x3a7ae5,fieldId:_0x7e7460}=_0x6acf04,_0x406257=_0x2ce790[_0x4116f8(0x14b)](_0x2fd43b,_0x42dad9['UNIVER_BASE']);if(!_0x406257||!X(_0x406257,_0x3a7ae5,{'fieldIds':[_0x7e7460]}))return!0x1;let _0x34fbb8=_0x194f01[_0x4116f8(0x13c)](_0x4c4564),_0xf737bc=_0x194f01[_0x4116f8(0x13c)](_0x1cfa3b),_0x174443=_0x406257[_0x4116f8(0x2a8)](),_0x260d25=_0x6acf04[_0x4116f8(0x2bc)][_0x4116f8(0x369)](),_0x2d03ef=new R()['updateField'](_0x174443,_0x3a7ae5,_0x7e7460,{'description':_0x260d25}),_0xc46fe8=new A()[_0x4116f8(0x3c6)](_0x406257[_0x4116f8(0x2a8)](),_0x2d03ef),_0x5d4164={'unitId':_0x2fd43b,'op':_0x2d03ef},_0x407a6f={'unitId':_0x2fd43b,'op':_0xc46fe8};return _0x34fbb8['syncExecuteCommand'](Y['id'],_0x5d4164)?(_0x2ce790[_0x4116f8(0x1cf)](_0x2fd43b),_0xf737bc[_0x4116f8(0x2e0)]({'unitID':_0x2fd43b,'undoMutations':[{'id':Y['id'],'params':_0x407a6f}],'redoMutations':[{'id':Y['id'],'params':_0x5d4164}]}),!0x0):!0x1;}},Vr={'id':_0x1141d6(0x31f),'type':_0x29e4da[_0x1141d6(0x1d7)],'handler':(_0x4f8b5b,_0x2287ae)=>{const _0x84cd87=_0x1141d6;if(!_0x2287ae)return!0x1;let _0x240d26=_0x4f8b5b[_0x84cd87(0x13c)](_0x583b46),{unitId:_0x584daa,tableId:_0x552705,fieldId:_0x57def2,patch:_0x1c8bf3}=_0x2287ae,_0x39c31c=_0x240d26[_0x84cd87(0x14b)](_0x584daa,_0x42dad9[_0x84cd87(0x3f7)]);if(!_0x39c31c||!X(_0x39c31c,_0x552705,{'fieldIds':[_0x57def2]}))return!0x1;let _0x5b8467=_0x4f8b5b[_0x84cd87(0x13c)](_0x4c4564),_0x3cc76e=_0x4f8b5b['get'](_0x1cfa3b),_0x32c2cf=_0x39c31c[_0x84cd87(0x2a8)](),_0x1eaa01=new R()[_0x84cd87(0x33e)](_0x32c2cf,_0x552705,_0x57def2,_0x1c8bf3),_0x5b2daa=new A()[_0x84cd87(0x3c6)](_0x32c2cf,_0x1eaa01),_0x5ba47d={'unitId':_0x584daa,'op':_0x1eaa01},_0x6691a2={'unitId':_0x584daa,'op':_0x5b2daa};return _0x5b8467['syncExecuteCommand'](Y['id'],_0x5ba47d)?(_0x240d26['focusUnit'](_0x584daa),_0x3cc76e[_0x84cd87(0x2e0)]({'unitID':_0x584daa,'undoMutations':[{'id':Y['id'],'params':_0x6691a2}],'redoMutations':[{'id':Y['id'],'params':_0x5ba47d}]}),!0x0):!0x1;}},Hr={'id':_0x1141d6(0x194),'type':_0x29e4da[_0x1141d6(0x1d7)],'handler':(_0x190f43,_0x3642b0)=>{const _0x37820e=_0x1141d6;if(!_0x3642b0)return!0x1;let _0x170501=_0x190f43[_0x37820e(0x13c)](_0x583b46),{unitId:_0x34b005,tableId:_0x1c8731,viewId:_0x1604f7,patch:_0x4a030d}=_0x3642b0,_0x392015=_0x170501[_0x37820e(0x14b)](_0x34b005,_0x42dad9[_0x37820e(0x3f7)]);if(!_0x392015||!X(_0x392015,_0x1c8731,{'viewIds':[_0x1604f7]}))return!0x1;let _0x552fb3=_0x190f43[_0x37820e(0x13c)](_0x4c4564),_0x312c9a=_0x190f43[_0x37820e(0x13c)](_0x1cfa3b),_0x5dd39f=_0x392015[_0x37820e(0x2a8)](),_0x57ab1f=new R()['updateViewConfig'](_0x5dd39f,_0x1c8731,_0x1604f7,_0x4a030d),_0x2d3ac5=new A()[_0x37820e(0x3c6)](_0x5dd39f,_0x57ab1f),_0x16e485={'unitId':_0x34b005,'op':_0x57ab1f},_0x2e9c3={'unitId':_0x34b005,'op':_0x2d3ac5};return _0x552fb3['syncExecuteCommand'](Y['id'],_0x16e485)?(_0x170501['focusUnit'](_0x34b005),_0x312c9a['pushUndoRedo']({'unitID':_0x34b005,'undoMutations':[{'id':Y['id'],'params':_0x2e9c3}],'redoMutations':[{'id':Y['id'],'params':_0x16e485}]}),!0x0):!0x1;}},Ur={'id':_0x1141d6(0x388),'type':_0x29e4da[_0x1141d6(0x1d7)],'handler':(_0x579904,_0x431683)=>{const _0x3e0936=_0x1141d6;if(!_0x431683)return!0x1;let _0x4f81df=_0x579904[_0x3e0936(0x13c)](_0x583b46),{unitId:_0x2f6f41,tableId:_0x3e004a,recordId:_0x1bb91a,orderKey:_0x12137b}=_0x431683,_0x4d8ee6=_0x4f81df[_0x3e0936(0x14b)](_0x2f6f41,_0x42dad9[_0x3e0936(0x3f7)]);if(!_0x4d8ee6||!X(_0x4d8ee6,_0x3e004a,{'recordIds':[_0x1bb91a]}))return!0x1;let _0x70e8a=_0x579904[_0x3e0936(0x13c)](_0x4c4564),_0x54f508=_0x579904[_0x3e0936(0x13c)](_0x1cfa3b),_0x14f16c=_0x4d8ee6[_0x3e0936(0x2a8)](),_0x13b263=new R()[_0x3e0936(0x297)](_0x14f16c,_0x3e004a,_0x1bb91a,_0x12137b),_0x5c0dcc=new A()[_0x3e0936(0x3c6)](_0x14f16c,_0x13b263),_0x510dd6={'unitId':_0x2f6f41,'op':_0x13b263},_0x47da2a={'unitId':_0x2f6f41,'op':_0x5c0dcc};return _0x70e8a[_0x3e0936(0x32e)](Y['id'],_0x510dd6)?(_0x4f81df[_0x3e0936(0x1cf)](_0x2f6f41),_0x54f508[_0x3e0936(0x2e0)]({'unitID':_0x2f6f41,'undoMutations':[{'id':Y['id'],'params':_0x47da2a}],'redoMutations':[{'id':Y['id'],'params':_0x510dd6}]}),!0x0):!0x1;}},Wr={'id':'base.command.update-base-view-config','type':_0x29e4da[_0x1141d6(0x1d7)],'handler':(_0xec0fb5,_0x4e4c9c)=>{const _0x4ca8c6=_0x1141d6;if(!_0x4e4c9c)return!0x1;let _0x3c9d13=_0xec0fb5[_0x4ca8c6(0x13c)](_0x583b46),{unitId:_0x5d093b,tableId:_0x139e54,viewId:_0x2c9937,patch:_0x2825a1}=_0x4e4c9c,_0x4c4da8=_0x3c9d13[_0x4ca8c6(0x14b)](_0x5d093b,_0x42dad9[_0x4ca8c6(0x3f7)]);if(!_0x4c4da8||!X(_0x4c4da8,_0x139e54,{'viewIds':[_0x2c9937]}))return!0x1;let _0x1abcab=_0xec0fb5[_0x4ca8c6(0x13c)](_0x4c4564),_0x5ed842=_0xec0fb5['get'](_0x1cfa3b),_0x7de0ad=_0x4c4da8[_0x4ca8c6(0x2a8)](),_0x493c5c=new R()[_0x4ca8c6(0x23f)](_0x7de0ad,_0x139e54,_0x2c9937,_0x2825a1),_0x3c29ee=new A()[_0x4ca8c6(0x3c6)](_0x7de0ad,_0x493c5c),_0x1c4d01={'unitId':_0x5d093b,'op':_0x493c5c},_0x248d63={'unitId':_0x5d093b,'op':_0x3c29ee};return _0x1abcab[_0x4ca8c6(0x32e)](Y['id'],_0x1c4d01)?(_0x3c9d13['focusUnit'](_0x5d093b),_0x5ed842[_0x4ca8c6(0x2e0)]({'unitID':_0x5d093b,'undoMutations':[{'id':Y['id'],'params':_0x248d63}],'redoMutations':[{'id':Y['id'],'params':_0x1c4d01}]}),!0x0):!0x1;}};function Gr(_0x3f1e47){const _0x25e8c8=_0x1141d6;var _0x501c96,_0x1eaff3,_0x480391,_0x8ccd3a,_0x4c98fd;let _0x3c82c8=(_0x501c96=_0x3f1e47[_0x25e8c8(0x284)])==null?Date[_0x25e8c8(0x284)]():_0x501c96,_0xd28bf4=(_0x1eaff3=_0x3f1e47['primaryFieldId'])==null?_0x3f1e47['id']+_0x25e8c8(0x16a):_0x1eaff3,_0x48997c=(_0x480391=_0x3f1e47[_0x25e8c8(0x22a)])==null?_0x3f1e47['id']+'-view-grid':_0x480391,_0x2d4aee=(_0x8ccd3a=_0x3f1e47[_0x25e8c8(0x3ca)])==null?0x5:_0x8ccd3a,_0x537cba={'id':_0xd28bf4,'name':(_0x4c98fd=_0x3f1e47['primaryFieldName'])==null?_0x25e8c8(0x1ce):_0x4c98fd,'type':_0x1b662f['Text'],'config':{'placeholder':'bases.fieldConfig.textPlaceholder'}},_0x5421a8={},_0x6de306=[],_0x33b289={},_0xedd4f5={},_0x24ad03={};for(let _0xfca2ad=0x0;_0xfca2ad<_0x2d4aee;_0xfca2ad++){let _0x5e5559=_0x3f1e47['id']+_0x25e8c8(0x155)+(_0xfca2ad+0x1);_0x5421a8[_0x5e5559]={'id':_0x5e5559,'values':_0x3f1e47[_0x25e8c8(0x2fb)]?{[_0xd28bf4]:_0x3f1e47['recordNamePrefix']+'\x20'+(_0xfca2ad+0x1)}:{},'orderKey':String(_0xfca2ad+0x1)[_0x25e8c8(0x1d4)](0x4,'0'),'createdAt':_0x3c82c8,'updatedAt':_0x3c82c8},_0x6de306[_0x25e8c8(0x1a6)](_0x5e5559),_0x33b289[_0x5e5559]=_0xfca2ad,_0xedd4f5[_0xfca2ad]=_0x5e5559,_0x24ad03[_0xfca2ad]={},_0x3f1e47[_0x25e8c8(0x2fb)]&&(_0x24ad03[_0xfca2ad][0x0]={'v':_0x3f1e47['recordNamePrefix']+'\x20'+(_0xfca2ad+0x1)});}let _0xe38088={'id':_0x48997c,'tableId':_0x3f1e47['id'],'name':'Grid','type':_0x479acb[_0x25e8c8(0x1bb)],'fieldOrder':[_0xd28bf4],'fieldSettings':{},'config':{'frozenFieldCount':0x1}};return{'id':_0x3f1e47['id'],'name':_0x3f1e47['name'],'primaryFieldId':_0xd28bf4,'fieldOrder':[_0xd28bf4],'fields':{[_0xd28bf4]:_0x537cba},'records':_0x5421a8,'recordOrder':_0x6de306,'rowIndex':_0x33b289,'rowId':_0xedd4f5,'colIndex':{[_0xd28bf4]:0x0},'colId':{0x0:_0xd28bf4},'cellData':_0x24ad03,'views':{[_0x48997c]:_0xe38088},'viewOrder':[_0x48997c]};}const Kr=_0x1141d6(0x1e0);function qr(_0x3c53a7){const _0x1f6f9a=_0x1141d6;var _0x3ee4fa,_0x10e19c;let _0x2fe004=Gr({'id':_0x3c53a7['hostAnchorId'],'name':(_0x3ee4fa=_0x3c53a7['name'])==null?_0x3c53a7[_0x1f6f9a(0x3e6)]:_0x3ee4fa,'recordCount':0x0});return{..._0x2fe004,'resources':{...(_0x10e19c=_0x2fe004[_0x1f6f9a(0x389)])==null?{}:_0x10e19c,[Kr]:Xr(_0x3c53a7)}};}function Jr(_0x311f0c){const _0x1c884f=_0x1141d6;return{'id':Y['id'],'params':{'unitId':_0x311f0c[_0x1c884f(0x345)],'op':new R()['createTable'](_0x311f0c[_0x1c884f(0x17f)],_0x311f0c[_0x1c884f(0x305)],_0x311f0c['index']),'trigger':_0x1c884f(0x1e1)}};}function Yr(_0x5a96a4){const _0x40cbf2=_0x1141d6;let _0x44b9dd=_0x5a96a4[_0x40cbf2(0x17f)][_0x40cbf2(0x218)]['indexOf'](_0x5a96a4[_0x40cbf2(0x275)]);if(!(!_0x5a96a4[_0x40cbf2(0x17f)][_0x40cbf2(0x407)][_0x5a96a4['tableId']]||_0x44b9dd<0x0))return{'id':Y['id'],'params':{'unitId':_0x5a96a4[_0x40cbf2(0x345)],'op':new R()[_0x40cbf2(0x251)](_0x5a96a4[_0x40cbf2(0x17f)],_0x5a96a4[_0x40cbf2(0x275)]),'trigger':'embed-ui'}};}function Xr(_0x32da49){const _0x5477bc=_0x1141d6;return{'version':0x1,'embedId':_0x32da49[_0x5477bc(0x3e6)],'hostAnchorId':_0x32da49['hostAnchorId'],'childUnitId':_0x32da49[_0x5477bc(0x2f6)],'childType':_0x32da49[_0x5477bc(0x37e)]};}function Zr(_0x2025d2){const _0x29485b=_0x1141d6;var _0x223e28;let _0x3b7764=Math[_0x29485b(0x248)](0x0,Number((_0x223e28=_0x2025d2[_0x29485b(0x280)])==null?0x0:_0x223e28)),_0x59c641=_0x2025d2['useThousands']===!0x1?'0':_0x29485b(0x215),_0x3fa59e=_0x3b7764?'.'+'0'[_0x29485b(0x2c5)](_0x3b7764):'',_0x3af54a=$r(_0x2025d2['abbreviation']);return''+(_0x2025d2[_0x29485b(0x359)]?ei(_0x2025d2[_0x29485b(0x359)]):'')+_0x59c641+_0x3fa59e+_0x3af54a;}function Qr(_0x53883a,_0x2a932f){const _0x3ff27d=_0x1141d6;let _0x43621e=Zr(_0x2a932f),_0x2e1924=_0x5c2a83[_0x3ff27d(0x269)](_0x43621e,_0x53883a,{'throws':!0x1});return ti(String(_0x2e1924),_0x2a932f[_0x3ff27d(0x25e)],_0x2a932f[_0x3ff27d(0x1f3)]);}function $r(_0x2b51a5){const _0x5b711d=_0x1141d6;return _0x2b51a5==='K'?',\x22K\x22':_0x2b51a5==='M'?_0x5b711d(0x1cc):_0x2b51a5==='B'?_0x5b711d(0x405):'';}function ei(_0x7b4c1c){const _0x2d41e2=_0x1141d6;return/^[A-Z]+$/i[_0x2d41e2(0x396)](_0x7b4c1c)?'\x22'+_0x7b4c1c+'\x22':_0x7b4c1c;}function ti(_0x42692e,_0x37e42a,_0x1b1b35){const _0x17fe83=_0x1141d6;let _0x1f4774=_0x37e42a===_0x17fe83(0x304)?ni(_0x1b1b35):_0x37e42a;return _0x1f4774===_0x17fe83(0x1b7)?_0x42692e[_0x17fe83(0x167)](/,/g,'\x00')[_0x17fe83(0x167)](/\./g,',')[_0x17fe83(0x167)](/\0/g,'.'):_0x1f4774===_0x17fe83(0x309)?_0x42692e['replace'](/,/g,'\x20')[_0x17fe83(0x167)](/\./g,','):_0x1f4774==='spacePeriod'?_0x42692e[_0x17fe83(0x167)](/,/g,'\x20'):_0x42692e;}function ni(_0x29ea09){const _0x1aa625=_0x1141d6;var _0x42d260,_0x2b18f1;let _0x592447=_0x29ea09||Intl[_0x1aa625(0x39d)]()['resolvedOptions']()[_0x1aa625(0x1f3)],_0x14bbf2;try{_0x14bbf2=new Intl[(_0x1aa625(0x39d))](_0x592447,{'minimumFractionDigits':0x2,'maximumFractionDigits':0x2,'useGrouping':!0x0})[_0x1aa625(0x1ff)](0xf4240);}catch{return'commaPeriod';}let _0x110be0=(_0x42d260=_0x14bbf2[_0x1aa625(0x236)](_0x32d0dd=>_0x32d0dd[_0x1aa625(0x157)]==='group'))==null?void 0x0:_0x42d260['value'],_0x3d76b8=(_0x2b18f1=_0x14bbf2[_0x1aa625(0x236)](_0x5df0ce=>_0x5df0ce['type']===_0x1aa625(0x308)))==null?void 0x0:_0x2b18f1[_0x1aa625(0x20d)],_0x1711d7=_0x110be0==='\u00a0'||_0x110be0==='\u202f'?'\x20':_0x110be0;return _0x1711d7==='.'&&_0x3d76b8===','?'periodComma':_0x1711d7==='\x20'&&_0x3d76b8===','?_0x1aa625(0x309):_0x1711d7==='\x20'&&_0x3d76b8==='.'?_0x1aa625(0x2c6):_0x1aa625(0x1e3);}function ri(_0x1ceb60,_0x428f6c){const _0x3dd89a=_0x1141d6;var _0x5586e6,_0x1e6f6e;let _0x226f07=_0x243e4c[_0x3dd89a(0x1c2)](_0x1ceb60),_0x34961=_0x428f6c['includeRecords']===!0x0,_0x4f1147=new Map(),_0x1ccd5b=(_0x5586e6=_0x428f6c[_0x3dd89a(0x1fb)])==null?()=>_0x3dd89a(0x26b)+_0x3f0aa2(0x8):_0x5586e6,_0x1635b9=_0x226f07[_0x3dd89a(0x15f)];return _0x428f6c[_0x3dd89a(0x1c5)]&&(_0x1635b9=_0x226f07[_0x3dd89a(0x15f)][_0x3dd89a(0x220)](_0x169d48=>{const _0x3e3a76=_0x3dd89a;let _0x1c5e1d=_0x1ccd5b();return _0x4f1147[_0x3e3a76(0x353)](_0x169d48,_0x1c5e1d),_0x1c5e1d;})),{..._0x226f07,'id':_0x428f6c['id'],'name':_0x428f6c['name'],'records':_0x34961?_0x226f07[_0x3dd89a(0x162)]:{},'recordOrder':_0x34961?_0x226f07['recordOrder']:[],'rowIndex':_0x34961?_0x226f07['rowIndex']:{},'rowId':_0x34961?_0x226f07[_0x3dd89a(0x378)]:{},'cellData':_0x34961?_0x226f07['cellData']:{},'resources':_0x34961?_0x226f07[_0x3dd89a(0x389)]:{},'viewOrder':_0x1635b9,'views':Object[_0x3dd89a(0x176)](Object[_0x3dd89a(0x34d)]((_0x1e6f6e=_0x226f07[_0x3dd89a(0x23e)])==null?{}:_0x1e6f6e)[_0x3dd89a(0x220)](([_0x1acde8,_0x210f1f])=>{const _0x2aa47f=_0x3dd89a;var _0x3d4c86;let _0x55b59e=(_0x3d4c86=_0x4f1147[_0x2aa47f(0x13c)](_0x1acde8))==null?_0x428f6c[_0x2aa47f(0x1c5)]?_0x1ccd5b():_0x1acde8:_0x3d4c86;return[_0x55b59e,{..._0x210f1f,'id':_0x55b59e,'tableId':_0x428f6c['id']}];}))};}var ii=_0x1141d6(0x340),ai=_0x1141d6(0x3e7);const oi={},si={};function ci(_0x185b9a){return new A()['getAffectedRanges'](_0x185b9a);}function li(_0x2da34b){const _0x10e587=_0x1141d6;return _0x2da34b[_0x10e587(0x2a5)][_0x10e587(0x220)](_0xcdff6b=>({'unitId':_0x2da34b[_0x10e587(0x345)],'sheetId':_0x2da34b['tableId'],'range':{'startRow':_0xcdff6b['row'],'endRow':_0xcdff6b[_0x10e587(0x198)],'startColumn':_0xcdff6b[_0x10e587(0x2e5)],'endColumn':_0xcdff6b[_0x10e587(0x2e5)]}}));}function ui(_0x50b3a2,_0x97d9cc){const _0x16a267=_0x1141d6;return{[_0x50b3a2]:Object[_0x16a267(0x176)](_0x97d9cc[_0x16a267(0x220)](_0x2b5049=>[_0x2b5049,'1']))};}let di=class extends _0x2d3cca{constructor(_0x237346,_0x570860){const _0x3d01e7=_0x1141d6;super(),this[_0x3d01e7(0x2f0)]=_0x237346,this['_univerInstanceService']=_0x570860,this[_0x3d01e7(0x328)]();}[_0x1141d6(0x328)](){const _0x2b1957=_0x1141d6;this[_0x2b1957(0x2f0)][_0x2b1957(0x1ea)](Y['id'],{'commandId':Y['id'],'getDirtyData':_0x1894c5=>this[_0x2b1957(0x1d3)](_0x1894c5['params'])}),this[_0x2b1957(0x2b3)](_0x43f94b(()=>{const _0x385851=_0x2b1957;this[_0x385851(0x2f0)][_0x385851(0x247)](Y['id']);}));}[_0x1141d6(0x168)](_0x54ee50,_0x2b3c16){const _0x2f37f4=_0x1141d6;var _0x2f3b1d;let _0x3b15e9=this[_0x2f37f4(0x19e)][_0x2f37f4(0x14b)](_0x54ee50,_0x42dad9[_0x2f37f4(0x3f7)]);return(_0x2f3b1d=_0x3b15e9==null?void 0x0:_0x3b15e9['getSnapshot']()['tables'][_0x2b3c16])==null?null:_0x2f3b1d;}[_0x1141d6(0x1d3)](_0x330145){const _0xed7bda=_0x1141d6;if(_0x330145[_0xed7bda(0x27f)]===_0xed7bda(0x136))return{};if(!_0x330145['unitId']||!_0x330145['op'])return{'clearDependencyTreeCache':this['_getAllBaseDependencyTreeCacheMap'](),'forceCalculation':!0x0};let _0x2484f2=ci(_0x330145['op']),_0xd1b0d1=this[_0xed7bda(0x2ed)](_0x330145['unitId'],_0x2484f2);if(_0xd1b0d1[_0xed7bda(0x3e1)])return{'clearDependencyTreeCache':ui(_0x330145[_0xed7bda(0x345)],_0xd1b0d1),'forceCalculation':!0x0};let _0x192bd2=Object['entries'](this[_0xed7bda(0x38e)](_0x330145[_0xed7bda(0x345)],_0x2484f2))['flatMap'](([_0x1e14bc,_0x4fca2d])=>li({'unitId':_0x330145[_0xed7bda(0x345)],'tableId':_0x1e14bc,'patches':_0x4fca2d}));return _0x192bd2[_0xed7bda(0x3e1)]?{'dirtyRanges':_0x192bd2}:{};}[_0x1141d6(0x2ed)](_0x1049e5,_0x7a9a97){const _0x9dafa2=_0x1141d6;let _0x3d295d=_0x7a9a97['filter'](_0x2022ae=>_0x2022ae[_0x9dafa2(0x300)]!==_0x9dafa2(0x400))[_0x9dafa2(0x1a8)](_0x237959=>_0x237959[_0x9dafa2(0x275)]?[_0x237959[_0x9dafa2(0x275)]]:this[_0x9dafa2(0x2a2)](_0x1049e5));return Array[_0x9dafa2(0x1b2)](new Set(_0x3d295d));}[_0x1141d6(0x38e)](_0x305cfb,_0x4ee5b3){const _0x420dcf=_0x1141d6;let _0x8b8bbb=new Set();return _0x4ee5b3[_0x420dcf(0x376)]((_0x5cfe0b,_0x1bd373)=>{const _0x20d29d=_0x420dcf;var _0x50c0a4;let _0x29c5ae=this['_toDirtyRangePatch'](_0x305cfb,_0x1bd373);if(!_0x29c5ae)return _0x5cfe0b;let _0x22284c=_0x1bd373[_0x20d29d(0x275)]+':'+_0x29c5ae[_0x20d29d(0x198)]+':'+_0x29c5ae['col'];return _0x8b8bbb[_0x20d29d(0x325)](_0x22284c)?_0x5cfe0b:(_0x8b8bbb[_0x20d29d(0x1e2)](_0x22284c),_0x5cfe0b[_0x1bd373[_0x20d29d(0x275)]]=(_0x50c0a4=_0x5cfe0b[_0x1bd373[_0x20d29d(0x275)]])==null?[]:_0x50c0a4,_0x5cfe0b[_0x1bd373[_0x20d29d(0x275)]][_0x20d29d(0x1a6)](_0x29c5ae),_0x5cfe0b);},{});}[_0x1141d6(0x3ad)](_0x5c38d4,_0x4ec1bc){const _0x36e18e=_0x1141d6;if(_0x4ec1bc[_0x36e18e(0x300)]!==_0x36e18e(0x400))return null;if(_0x4ec1bc[_0x36e18e(0x198)]!=null&&_0x4ec1bc[_0x36e18e(0x2ea)]!=null)return{'row':_0x4ec1bc['row'],'col':_0x4ec1bc['column'],'value':null};if(!_0x4ec1bc[_0x36e18e(0x201)]||!_0x4ec1bc['fieldId'])return null;let _0x477a04=this[_0x36e18e(0x168)](_0x5c38d4,_0x4ec1bc[_0x36e18e(0x275)]);if(!_0x477a04)return null;let _0x5398af=we(_0x477a04,_0x4ec1bc[_0x36e18e(0x201)],_0x4ec1bc[_0x36e18e(0x1be)]);return _0x5398af?{'row':_0x5398af['row'],'col':_0x5398af[_0x36e18e(0x2e5)],'value':null}:null;}[_0x1141d6(0x2a2)](_0x5a4a01){const _0x39c2eb=_0x1141d6;var _0x4f3d86;let _0x4e59ce=this[_0x39c2eb(0x19e)][_0x39c2eb(0x14b)](_0x5a4a01,_0x42dad9['UNIVER_BASE']);return Object[_0x39c2eb(0x3aa)]((_0x4f3d86=_0x4e59ce==null?void 0x0:_0x4e59ce[_0x39c2eb(0x2a8)]()['tables'])==null?{}:_0x4f3d86)[_0x39c2eb(0x220)](_0x2e210b=>_0x2e210b['id']);}['_getAllBaseDependencyTreeCacheMap'](){const _0x22c463=_0x1141d6;let _0x13775e=this[_0x22c463(0x19e)][_0x22c463(0x26f)](_0x42dad9[_0x22c463(0x3f7)])[_0x22c463(0x220)](_0x4d718f=>ui(_0x4d718f[_0x22c463(0x3d8)](),Object[_0x22c463(0x1ef)](_0x4d718f['getSnapshot']()['tables'])));return Object[_0x22c463(0x15e)]({},..._0x13775e);}};di=U([H(0x0,_0x5f189f),H(0x1,_0x583b46)],di);const fi=_0x4ae02f[_0x1141d6(0x2ee)](String[_0x1141d6(0x140)]`(?:^|\W)\$?[A-Z]{1,3}\$?\d+(?::\$?[A-Z]{1,3}\$?\d+)?(?:$|\W)`),pi=_0x4ae02f[_0x1141d6(0x2ee)](String[_0x1141d6(0x140)]`(?:'\[[^\]]+\](?:[^']|'')+'|\[[^\]]+\][^\s'!]+)!\$?[A-Z]{1,3}\$?\d+(?::\$?[A-Z]{1,3}\$?\d+)?`,'gi'),mi=/\{([^}]+)\}/g,hi=_0x4ae02f['createRegExpFromSafeFragment'](String[_0x1141d6(0x140)]`\b([A-Z_]\w*)\[([^\]]+)\]`,'gi'),gi=_0x4ae02f[_0x1141d6(0x2ee)](String['raw']`(^|[^\w\][])\[([^\]]+)\]`,'g');var _i=class{[_0x1141d6(0x2b8)](_0x2fd6b5,_0x58862a=_0x2fd6b5['id']){const _0x3eecbb=_0x1141d6;var _0x5065ca,_0x59ff0d;let _0x511c95=(_0x5065ca=(_0x59ff0d=_0x2fd6b5[_0x3eecbb(0x19d)])==null?void 0x0:_0x59ff0d['length'])==null?Object[_0x3eecbb(0x3aa)](_0x2fd6b5[_0x3eecbb(0x162)])[_0x3eecbb(0x3e1)]:_0x5065ca;return{'sheetId':_0x58862a,'titleMap':new Map(_0x2fd6b5[_0x3eecbb(0x2ad)]['map']((_0x190eee,_0x3d6cbb)=>{const _0x4f479e=_0x3eecbb;var _0x48b057,_0x1fadac;return[(_0x48b057=(_0x1fadac=_0x2fd6b5[_0x4f479e(0x2e2)][_0x190eee])==null?void 0x0:_0x1fadac[_0x4f479e(0x3a2)])==null?_0x190eee:_0x48b057,_0x3d6cbb];})),'range':{'startRow':0x0,'endRow':Math[_0x3eecbb(0x248)](0x0,_0x511c95-0x1),'startColumn':0x0,'endColumn':Math[_0x3eecbb(0x248)](0x0,_0x2fd6b5['fieldOrder'][_0x3eecbb(0x3e1)]-0x1)},'showHeader':!0x1};}[_0x1141d6(0x35d)](_0x111030,_0x508b8b,_0x93bc90,_0x4a9585={}){const _0x1c9f7d=_0x1141d6;var _0x14471c;let _0x2d5c3b=this[_0x1c9f7d(0x2b8)](_0x93bc90,(_0x14471c=_0x4a9585['sheetId'])==null?_0x93bc90['id']:_0x14471c);return new Set([_0x93bc90['id'],_0x93bc90['name'],_0x4a9585[_0x1c9f7d(0x307)]][_0x1c9f7d(0x385)](_0x3ebf8b=>!!_0x3ebf8b))[_0x1c9f7d(0x2e8)](_0x1363c1=>_0x111030[_0x1c9f7d(0x25d)](_0x508b8b,_0x1363c1,_0x2d5c3b)),_0x2d5c3b;}['registerSuperTables'](_0x7c376,_0x11c26d){const _0x3e453e=_0x1141d6;let _0x179786=this[_0x3e453e(0x2e3)](_0x11c26d);return _0x179786[_0x3e453e(0x2e8)](({tableName:_0x2cb71e,reference:_0x46caad})=>{const _0x1ec55d=_0x3e453e;_0x7c376[_0x1ec55d(0x25d)](_0x11c26d['id'],_0x2cb71e,_0x46caad);}),Array[_0x3e453e(0x1b2)](new Set(_0x179786['map'](({reference:_0x4bda59})=>_0x4bda59)));}[_0x1141d6(0x2e3)](_0x57305c,_0x5c2032){const _0x259ab7=_0x1141d6;let _0x3717de=[],_0x58eb1a=_0x5c2032?new Set(_0x5c2032):null,_0x24177d=new Map();return Object[_0x259ab7(0x3aa)](_0x57305c[_0x259ab7(0x407)])['forEach'](_0x35105f=>{const _0x2527a9=_0x259ab7;var _0x280a3e;let _0x3a2d78=_0x35105f[_0x2527a9(0x3a2)][_0x2527a9(0x369)]()[_0x2527a9(0x2ae)]();_0x24177d['set'](_0x3a2d78,((_0x280a3e=_0x24177d['get'](_0x3a2d78))==null?0x0:_0x280a3e)+0x1);}),Object[_0x259ab7(0x3aa)](_0x57305c[_0x259ab7(0x407)])[_0x259ab7(0x385)](_0x236da0=>!_0x58eb1a||_0x58eb1a[_0x259ab7(0x325)](_0x236da0['id']))[_0x259ab7(0x2e8)](_0x20eafa=>{const _0x1783e9=_0x259ab7;var _0x128e8a;let _0x3cae1d=this[_0x1783e9(0x2b8)](_0x20eafa,_0x20eafa['id']);_0x3717de['push']({'tableId':_0x20eafa['id'],'tableName':_0x20eafa['id'],'reference':_0x3cae1d}),((_0x128e8a=_0x24177d[_0x1783e9(0x13c)](_0x20eafa[_0x1783e9(0x3a2)][_0x1783e9(0x369)]()[_0x1783e9(0x2ae)]()))==null?0x0:_0x128e8a)===0x1&&_0x3717de[_0x1783e9(0x1a6)]({'tableId':_0x20eafa['id'],'tableName':_0x20eafa[_0x1783e9(0x3a2)],'reference':_0x3cae1d});}),_0x3717de;}[_0x1141d6(0x1c7)](_0x360518,_0x2076dc,_0x2b4a3d={}){const _0x1e6a58=_0x1141d6;let _0x43714f=_0x360518[_0x1e6a58(0x369)]();if(!_0x43714f)return{'valid':!0x0};if(Ci(_0x43714f))return{'valid':!0x1,'reason':_0x1e6a58(0x1a9)};for(let _0x5d0457 of Si(_0x43714f)){let _0x39b72a=ki(_0x5d0457,_0x2076dc,_0x2b4a3d[_0x1e6a58(0x17f)]);if(!_0x39b72a[_0x1e6a58(0x305)])return{'valid':!0x1,'reason':_0x1e6a58(0x303)+_0x5d0457['tableName']+'\x22\x20does\x20not\x20exist.'};if(!_0x39b72a['field'])return{'valid':!0x1,'reason':_0x1e6a58(0x289)+_0x5d0457[_0x1e6a58(0x15a)]+'\x22\x20does\x20not\x20exist.'};}return{'valid':!0x0};}['getDependencies'](_0x483d61,_0x285edb,_0x3fbdb8={}){const _0x921f01=_0x1141d6;let _0x36b022=new Set();for(let _0x29d649 of this[_0x921f01(0x21c)](_0x483d61,_0x285edb,_0x3fbdb8))_0x29d649[_0x921f01(0x275)]===_0x285edb['id']&&_0x36b022[_0x921f01(0x1e2)](_0x29d649[_0x921f01(0x1be)]);return Array['from'](_0x36b022);}['getStructuredDependencies'](_0x2bf9f1,_0x1e3c2e,_0x266ba3={}){const _0x3b9754=_0x1141d6;let _0x31d35b=new Map();for(let _0x5414f8 of Si(_0x2bf9f1)){let _0x1ecdf9=ki(_0x5414f8,_0x1e3c2e,_0x266ba3[_0x3b9754(0x17f)]);if(!_0x1ecdf9['table']||!_0x1ecdf9['field'])continue;let _0x55a7c0=_0x1ecdf9['table']['id']+'\x1f'+_0x1ecdf9[_0x3b9754(0x293)]['id'];_0x31d35b['set'](_0x55a7c0,{'tableId':_0x1ecdf9[_0x3b9754(0x305)]['id'],'fieldId':_0x1ecdf9['field']['id']});}return Array[_0x3b9754(0x1b2)](_0x31d35b['values']());}};function vi(_0x1b0e0b,_0x555e33){const _0x1ff8f6=_0x1141d6;var _0x5c95cc;let _0x2c008c=[],_0x3a9b1a=(_0x5c95cc=_0x555e33['unitData'])==null?void 0x0:_0x5c95cc[_0x1b0e0b['id']];return _0x3a9b1a&&Object['entries'](_0x3a9b1a)[_0x1ff8f6(0x2e8)](([_0x473b98,_0x33244e])=>{const _0x2b9ab9=_0x1ff8f6;let _0x975848=_0x1b0e0b[_0x2b9ab9(0x407)][_0x473b98];if(!_0x975848||!_0x33244e)return;let _0x380760=E(_0x975848),_0xd6f67f=[];new _0x5e4217(_0x33244e)[_0x2b9ab9(0x21d)]((_0x315ee9,_0x1f8e37,_0x3167ed)=>{const _0x1fd680=_0x2b9ab9;let _0x3871d7=yi(_0x380760,_0x315ee9,_0x1f8e37,_0x3167ed);_0x3871d7&&_0xd6f67f[_0x1fd680(0x1a6)](_0x3871d7);}),_0xd6f67f[_0x2b9ab9(0x3e1)]&&_0x2c008c['push']({'unitId':_0x1b0e0b['id'],'tableId':_0x473b98,'patches':_0xd6f67f});}),_0x2c008c;}function yi(_0x17cc9,_0x312e26,_0x3642eb,_0x230fe3){const _0x39a24a=_0x1141d6;var _0x14f197,_0x1d2bad,_0x5691aa,_0x5ead79,_0x4b424c;let _0x3ea45b=(_0x14f197=_0x17cc9[_0x39a24a(0x378)])==null?void 0x0:_0x14f197[_0x312e26],_0x4c0c1a=(_0x1d2bad=_0x17cc9[_0x39a24a(0x18b)])==null?void 0x0:_0x1d2bad[_0x3642eb];if(!_0x3ea45b||!_0x17cc9['records'][_0x3ea45b]||!_0x4c0c1a)return null;let _0x499a0f=_0x17cc9[_0x39a24a(0x2e2)][_0x4c0c1a];if(!_0x499a0f||_0x499a0f[_0x39a24a(0x157)]!==_0x39a24a(0x2f8))return null;let _0xd10ed3=String((_0x5691aa=(_0x5ead79=_0x499a0f[_0x39a24a(0x1f0)])==null?void 0x0:_0x5ead79[_0x39a24a(0x2f8)])==null?'':_0x5691aa)['trim'](),_0x2881bd=(_0x4b424c=_0x230fe3==null?void 0x0:_0x230fe3['v'])==null?null:_0x4b424c,_0x4b7cd4={'v':_0x2881bd,'t':xi(_0x2881bd),..._0x312e26===0x0&&_0xd10ed3?{'f':_0xd10ed3}:{},'si':_0x499a0f['id']};return bi(Te(_0x17cc9,_0x3ea45b,_0x4c0c1a),_0x4b7cd4)?null:{'row':_0x312e26,'col':_0x3642eb,'value':_0x4b7cd4};}function bi(_0xa2853,_0x32a08c){var _0x3b3e6c,_0x434436;return _0xa2853!=null&&Object['is']((_0x3b3e6c=_0xa2853['v'])==null?null:_0x3b3e6c,(_0x434436=_0x32a08c['v'])==null?null:_0x434436)&&_0xa2853['t']===_0x32a08c['t']&&_0xa2853['f']===_0x32a08c['f']&&_0xa2853['si']===_0x32a08c['si'];}function xi(_0x25f5d1){const _0x32ad55=_0x1141d6;return typeof _0x25f5d1==_0x32ad55(0x2fa)?_0x3b1a88['NUMBER']:typeof _0x25f5d1==_0x32ad55(0x3f1)?_0x3b1a88['BOOLEAN']:typeof _0x25f5d1==_0x32ad55(0x222)?_0x3b1a88[_0x32ad55(0x219)]:null;}function Si(_0x493368){const _0x44a18b=_0x1141d6;_0x493368=wi(_0x493368,()=>'');let _0x45b8f9=new Map();for(let _0x123ab2 of _0x493368[_0x44a18b(0x174)](mi)){let _0x46c6b3={'fieldName':_0x123ab2[0x1]};_0x45b8f9[_0x44a18b(0x353)]('\x1f'+_0x46c6b3['fieldName'],_0x46c6b3);}for(let _0x36a19a of _0x493368[_0x44a18b(0x174)](hi)){let _0x9b01f6={'tableName':_0x36a19a[0x1],'fieldName':_0x36a19a[0x2]};_0x45b8f9['set'](_0x9b01f6[_0x44a18b(0x307)]+'\x1f'+_0x9b01f6[_0x44a18b(0x15a)],_0x9b01f6);}for(let _0x5d0a3f of _0x493368[_0x44a18b(0x174)](gi)){let _0x5a9783={'fieldName':_0x5d0a3f[0x2]};_0x45b8f9[_0x44a18b(0x353)]('\x1f'+_0x5a9783['fieldName'],_0x5a9783);}return Array[_0x44a18b(0x1b2)](_0x45b8f9[_0x44a18b(0x3aa)]());}function Ci(_0x45b79f){const _0x24e849=_0x1141d6;let _0x46400c=Ti(_0x45b79f,()=>'\x20')['replace'](mi,'\x20')[_0x24e849(0x167)](hi,'\x20')[_0x24e849(0x167)](gi,_0x24e849(0x18e));return fi[_0x24e849(0x396)](_0x46400c);}function wi(_0x143614,_0x19b908){return Di(Ti(_0x143614,_0x19b908),_0x19b908);}function Ti(_0x10c9f4,_0x630658){const _0x5d71c5=_0x1141d6;return pi[_0x5d71c5(0x2d3)]=0x0,_0x10c9f4[_0x5d71c5(0x167)](pi,(_0x31b473,_0x50a5aa)=>Oi(_0x10c9f4,_0x50a5aa)?_0x31b473:_0x630658(_0x31b473));}const Ei=/(?:'((?:[^']|'')+)'|\[[^\]]+\]|[A-Za-z0-9_.-]+)![^\s!\[\]]+\[/g;function Di(_0x229204,_0x2f969d){const _0x5790c3=_0x1141d6;let _0x45085b=[];Ei[_0x5790c3(0x2d3)]=0x0;let _0x25c4c7;for(;(_0x25c4c7=Ei['exec'](_0x229204))!=null;){if(Oi(_0x229204,_0x25c4c7[_0x5790c3(0x148)]))continue;let _0x34d34a=Ei[_0x5790c3(0x2d3)]-0x1,_0x2ef5d9=0x0;for(let _0x14a681=_0x34d34a;_0x14a681<_0x229204['length'];_0x14a681++)if(_0x229204[_0x14a681]==='['&&_0x2ef5d9++,_0x229204[_0x14a681]===']'&&(_0x2ef5d9--,_0x2ef5d9===0x0)){_0x45085b[_0x5790c3(0x1a6)]({'start':_0x25c4c7['index'],'end':_0x14a681+0x1}),Ei[_0x5790c3(0x2d3)]=_0x14a681+0x1;break;}}if(_0x45085b[_0x5790c3(0x3e1)]===0x0)return _0x229204;let _0x1bc9c3='',_0x2be22e=0x0;for(let _0x575fa2 of _0x45085b)_0x1bc9c3+=_0x229204[_0x5790c3(0x29a)](_0x2be22e,_0x575fa2[_0x5790c3(0x299)]),_0x1bc9c3+=_0x2f969d(_0x229204[_0x5790c3(0x29a)](_0x575fa2[_0x5790c3(0x299)],_0x575fa2['end'])),_0x2be22e=_0x575fa2[_0x5790c3(0x14a)];return _0x1bc9c3+_0x229204[_0x5790c3(0x29a)](_0x2be22e);}function Oi(_0x48bb31,_0x276004){let _0x49afcf=!0x1;for(let _0xa49ece=0x0;_0xa49ece<_0x276004;_0xa49ece++)if(_0x48bb31[_0xa49ece]==='\x22'){if(_0x49afcf&&_0x48bb31[_0xa49ece+0x1]==='\x22'){_0xa49ece++;continue;}_0x49afcf=!_0x49afcf;}return _0x49afcf;}function ki(_0x193358,_0x3dde2e,_0x359b22){const _0x2d7d26=_0x1141d6;let _0x310547=Ai(_0x193358[_0x2d7d26(0x307)],_0x3dde2e,_0x359b22);return{'table':_0x310547,'field':_0x310547?Object[_0x2d7d26(0x3aa)](_0x310547[_0x2d7d26(0x2e2)])[_0x2d7d26(0x236)](_0x253ed5=>_0x253ed5[_0x2d7d26(0x3a2)]===_0x193358[_0x2d7d26(0x15a)]):void 0x0};}function Ai(_0x249a7a,_0xbc6656,_0xa7d7a0){const _0x242ee3=_0x1141d6;if(!_0x249a7a||_0x249a7a===_0x242ee3(0x305)||_0x249a7a===_0xbc6656['id']||_0x249a7a===_0xbc6656[_0x242ee3(0x3a2)])return _0xbc6656;if(!_0xa7d7a0)return;let _0x57b4db=_0xa7d7a0['tables'][_0x249a7a];if(_0x57b4db)return _0x57b4db;let _0x39af86=Object['values'](_0xa7d7a0[_0x242ee3(0x407)])[_0x242ee3(0x385)](_0x1b0428=>_0x1b0428['name']===_0x249a7a);return _0x39af86[_0x242ee3(0x3e1)]===0x1?_0x39af86[0x0]:void 0x0;}let ji=class extends _0x2d3cca{constructor(_0x1c1868,_0x2a2f6b,_0x28bcc7){const _0x275469=_0x1141d6;super(),this[_0x275469(0x1b8)]=_0x1c1868,this[_0x275469(0x19e)]=_0x2a2f6b,B(this,_0x275469(0x292),new _i()),B(this,'_registeredSuperTableNames',new Map()),B(this,_0x275469(0x350),Promise[_0x275469(0x163)]()),B(this,'_applyingFormulaResults',!0x1),this[_0x275469(0x328)]();}['_initialize'](){const _0x3b8046=_0x1141d6;this[_0x3b8046(0x19e)][_0x3b8046(0x26f)](_0x42dad9['UNIVER_BASE'])[_0x3b8046(0x2e8)](_0x4b0088=>{const _0x342581=_0x3b8046;this[_0x342581(0x312)](async()=>{const _0x32cdec=_0x342581;await this[_0x32cdec(0x1de)](_0x4b0088);});}),this[_0x3b8046(0x2b3)](this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x42dad9[_0x3b8046(0x3f7)])[_0x3b8046(0x382)](({unit:_0x156b07})=>{const _0xc5a35b=_0x3b8046;this[_0xc5a35b(0x312)](async()=>{await this['_syncSuperTables'](_0x156b07);});})),this[_0x3b8046(0x2b3)](this[_0x3b8046(0x19e)]['getTypeOfUnitDisposed$'](_0x42dad9[_0x3b8046(0x3f7)])[_0x3b8046(0x382)](_0x19e952=>{const _0x4c6e46=_0x3b8046;this[_0x4c6e46(0x312)](()=>this[_0x4c6e46(0x227)](_0x19e952[_0x4c6e46(0x3d8)]()));})),this['disposeWithMe'](this[_0x3b8046(0x1b8)]['onCommandExecuted'](_0x476aed=>this[_0x3b8046(0x1d1)](_0x476aed)));}[_0x1141d6(0x1d1)](_0xcfa1c7){const _0x8ecbdd=_0x1141d6;if(_0xcfa1c7['id']===_0xe9701c['id']){Ni(_0xcfa1c7['params'])&&this[_0x8ecbdd(0x3c1)](_0xcfa1c7[_0x8ecbdd(0x258)]);return;}if(this[_0x8ecbdd(0x19c)]||_0xcfa1c7['id']!==Y['id'])return;let _0x238979=Mi(_0xcfa1c7[_0x8ecbdd(0x258)])?_0xcfa1c7['params']:void 0x0,_0x27591a=_0x238979!=null&&_0x238979[_0x8ecbdd(0x345)]?[this['_univerInstanceService'][_0x8ecbdd(0x14b)](_0x238979[_0x8ecbdd(0x345)],_0x42dad9[_0x8ecbdd(0x3f7)])][_0x8ecbdd(0x385)](_0x2bdbf0=>!!_0x2bdbf0):this[_0x8ecbdd(0x19e)][_0x8ecbdd(0x26f)](_0x42dad9['UNIVER_BASE']),_0x4c3569=_0x238979==null?void 0x0:_0x238979['op'];_0x27591a[_0x8ecbdd(0x2e8)](_0x17513b=>{const _0x876801=_0x8ecbdd;let _0x536f27=_0x4c3569?ci(_0x4c3569):[];(!_0x4c3569||_0x536f27[_0x876801(0x2a0)](_0x4b8758=>_0x4b8758[_0x876801(0x300)]!==_0x876801(0x400)))&&this['_enqueueFormulaSync'](()=>this[_0x876801(0x1de)](_0x17513b));});}async[_0x1141d6(0x1de)](_0x3877a4){const _0x22ce24=_0x1141d6;var _0x17a995;let _0x3b62d8=_0x3877a4[_0x22ce24(0x3d8)](),_0x53d134=this[_0x22ce24(0x292)][_0x22ce24(0x2e3)](_0x3877a4[_0x22ce24(0x2a8)]()),_0x1bc35a=new Set(_0x53d134[_0x22ce24(0x220)](({tableName:_0x19dbed})=>_0x19dbed)),_0x453f57=(_0x17a995=this['_registeredSuperTableNames'][_0x22ce24(0x13c)](_0x3b62d8))==null?new Set():_0x17a995;for(let _0x4bc046 of _0x453f57)_0x1bc35a[_0x22ce24(0x325)](_0x4bc046)||await this['_commandService']['executeCommand'](_0x7c440c['id'],{'unitId':_0x3b62d8,'tableName':_0x4bc046});for(let {tableName:_0x562a6e,reference:_0xacf613}of _0x53d134)await this['_commandService'][_0x22ce24(0x1ad)](_0xbc079f['id'],{'unitId':_0x3b62d8,'tableName':_0x562a6e,'reference':_0xacf613});this['_registeredSuperTableNames'][_0x22ce24(0x353)](_0x3b62d8,_0x1bc35a);}async['_removeSuperTables'](_0x3add68){const _0x1b35fc=_0x1141d6;var _0x2260e9;let _0x50b444=(_0x2260e9=this[_0x1b35fc(0x271)][_0x1b35fc(0x13c)](_0x3add68))==null?new Set():_0x2260e9;for(let _0x8621ed of _0x50b444)await this[_0x1b35fc(0x1b8)][_0x1b35fc(0x1ad)](_0x7c440c['id'],{'unitId':_0x3add68,'tableName':_0x8621ed});this[_0x1b35fc(0x271)][_0x1b35fc(0x32f)](_0x3add68);}[_0x1141d6(0x312)](_0x15da5d){const _0x1a0cb0=_0x1141d6;this['_formulaSyncQueue']=this[_0x1a0cb0(0x350)][_0x1a0cb0(0x290)](_0x15da5d,_0x15da5d)[_0x1a0cb0(0x23c)](()=>void 0x0);}[_0x1141d6(0x3c1)](_0x2e8e24){const _0x16037d=_0x1141d6;let _0x6dc303=this['_univerInstanceService']['getAllUnitsForType'](_0x42dad9[_0x16037d(0x3f7)])[_0x16037d(0x1a8)](_0x6c92da=>vi(_0x6c92da[_0x16037d(0x2a8)](),_0x2e8e24));if(!_0x6dc303[_0x16037d(0x3e1)])return;let _0x523224=new R(),_0x4a7150=_0x6dc303['flatMap'](_0x166ef0=>li({'unitId':_0x166ef0[_0x16037d(0x345)],'tableId':_0x166ef0[_0x16037d(0x275)],'patches':_0x166ef0[_0x16037d(0x2a5)]}));this['_applyingFormulaResults']=!0x0,(async()=>{const _0x596e6c=_0x16037d;for(let _0x488127 of _0x6dc303){let _0x26fbe7=this[_0x596e6c(0x19e)][_0x596e6c(0x14b)](_0x488127[_0x596e6c(0x345)],_0x42dad9[_0x596e6c(0x3f7)]);_0x26fbe7&&await this[_0x596e6c(0x1b8)][_0x596e6c(0x1ad)](Y['id'],{'unitId':_0x488127[_0x596e6c(0x345)],'op':_0x523224['setRangeValues'](_0x26fbe7[_0x596e6c(0x2a8)](),_0x488127[_0x596e6c(0x275)],_0x488127[_0x596e6c(0x2a5)]),'trigger':_0xe9701c['id']},{'onlyLocal':!0x0});}await this['_commandService'][_0x596e6c(0x1ad)](_0x30b721['id'],{'dirtyRanges':_0x4a7150},{'onlyLocal':!0x0});})()['finally'](()=>{const _0x17681c=_0x16037d;this[_0x17681c(0x19c)]=!0x1;});}};ji=U([H(0x0,_0x4c4564),H(0x1,_0x583b46),H(0x2,_0x4d53a3(_0x2dbe4f))],ji);function Mi(_0x1dcbb1){const _0x57d8a0=_0x1141d6;return typeof _0x1dcbb1==_0x57d8a0(0x371)&&!!_0x1dcbb1&&_0x57d8a0(0x345)in _0x1dcbb1&&typeof _0x1dcbb1[_0x57d8a0(0x345)]=='string'&&'op'in _0x1dcbb1&&Array[_0x57d8a0(0x28a)](_0x1dcbb1['op']);}function Ni(_0x285bcf){const _0x4aa5bd=_0x1141d6;return typeof _0x285bcf==_0x4aa5bd(0x371)&&!!_0x285bcf&&_0x4aa5bd(0x2aa)in _0x285bcf&&_0x4aa5bd(0x322)in _0x285bcf;}const Pi=_0x5a5c3d(_0x1141d6(0x3b0));let Fi=class{constructor(_0x4af987){const _0x240fd7=_0x1141d6;this[_0x240fd7(0x19e)]=_0x4af987;}['getBase'](_0x5aab2b){const _0x13ad18=_0x1141d6;var _0x575765;return(_0x575765=this['_univerInstanceService']['getUnit'](_0x5aab2b,_0x42dad9[_0x13ad18(0x3f7)]))==null?null:_0x575765;}['getAllBases'](){const _0xf45096=_0x1141d6;return this[_0xf45096(0x19e)][_0xf45096(0x26f)](_0x42dad9[_0xf45096(0x3f7)]);}['createBase'](_0x3946b7){const _0x2c9a81=_0x1141d6;return this[_0x2c9a81(0x19e)][_0x2c9a81(0x141)](_0x42dad9[_0x2c9a81(0x3f7)],_0x3946b7);}};Fi=U([H(0x0,_0x583b46)],Fi);const Ii=_0x5a5c3d(_0x1141d6(0x3ff));var Li=class extends _0x2d3cca{constructor(..._0x18cdd9){const _0x133b1b=_0x1141d6;super(..._0x18cdd9),B(this,_0x133b1b(0x1d0),new Map());}[_0x1141d6(0x1ea)](_0x22c445){const _0x429abb=_0x1141d6;return this['_plugins'][_0x429abb(0x353)](_0x22c445['type'],_0x22c445),_0x43f94b(()=>this[_0x429abb(0x1d0)][_0x429abb(0x32f)](_0x22c445[_0x429abb(0x157)]));}[_0x1141d6(0x13c)](_0xd82d0d){const _0x5b88f6=_0x1141d6;let _0x190596=this[_0x5b88f6(0x1d0)][_0x5b88f6(0x13c)](_0xd82d0d);if(!_0x190596)throw Error(_0x5b88f6(0x22c)+_0xd82d0d+_0x5b88f6(0x2e7));return _0x190596;}[_0x1141d6(0x2b7)](){const _0x515e0e=_0x1141d6;return Array[_0x515e0e(0x1b2)](this[_0x515e0e(0x1d0)][_0x515e0e(0x3aa)]());}};const Ri=[Y];let Z=class extends _0x561c06{constructor(_0x248d6a=oi,_0x3682d2,_0x232375,_0x2700e1,_0x5b4b41,_0x163b1a){const _0x4c8712=_0x1141d6;super(),this[_0x4c8712(0x3a5)]=_0x248d6a,this['_injector']=_0x3682d2,this[_0x4c8712(0x1b8)]=_0x232375,this[_0x4c8712(0x19e)]=_0x2700e1,this['_configService']=_0x5b4b41,this[_0x4c8712(0x17c)]=_0x163b1a,B(this,_0x4c8712(0x31a),new Map());let {..._0x45af23}=_0x1b55b2({},oi,this[_0x4c8712(0x3a5)]);this['_configService']['setConfig'](_0x4c8712(0x361),_0x45af23),this[_0x4c8712(0x19e)][_0x4c8712(0x3f0)](_0x42dad9[_0x4c8712(0x3f7)],_0x23c2ec),this[_0x4c8712(0x1b9)](),this[_0x4c8712(0x3d3)](),this['_initRegistries'](),this[_0x4c8712(0x1e8)]();}[_0x1141d6(0x30a)](){const _0x29f14a=_0x1141d6;_0x1694df(this[_0x29f14a(0x354)],[[Fi],[on],[di]]),this[_0x29f14a(0x19e)][_0x29f14a(0x26f)](_0x42dad9['UNIVER_BASE'])['forEach'](_0x542148=>this[_0x29f14a(0x1fe)](_0x542148[_0x29f14a(0x3d8)]())),_0x1694df(this[_0x29f14a(0x354)],[[ji]]);}[_0x1141d6(0x1b9)](){const _0x2f8b1e=_0x1141d6;[[en,{'useClass':tn}],[Ii,{'useClass':Li}],[_n,{'useClass':yn}],[Pi,{'useClass':Fi}],[nn,{'useClass':rn}],[W,{'useClass':on}],[di],[ji]][_0x2f8b1e(0x2e8)](_0x1213c9=>this['_injector'][_0x2f8b1e(0x1e2)](_0x1213c9));}[_0x1141d6(0x3d3)](){const _0x74ad31=_0x1141d6;[er,Dr,vr,zr,Mr,jr,$n,Yn,_r,Xn,xr,Ur,Qn,br,Vr,Br,Zn,gr,Tr,hr,Sr,Or,Ar,yr,Er,Wr,kr,Hr,Ir,Rr,Lr,Pr,Fr,Nr,...Ri]['forEach'](_0x1aa2bc=>this['disposeWithMe'](this[_0x74ad31(0x1b8)][_0x74ad31(0x1ed)](_0x1aa2bc))),Ri['forEach'](_0x263c09=>{const _0x3c6df5=_0x74ad31;var _0x20e817;return(_0x20e817=this[_0x3c6df5(0x17c)])==null?void 0x0:_0x20e817[_0x3c6df5(0x3e0)](_0x263c09);});}[_0x1141d6(0x1e8)](){const _0x13f18a=_0x1141d6;this[_0x13f18a(0x17c)]&&(this[_0x13f18a(0x2b3)](this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x42dad9['UNIVER_BASE'])[_0x13f18a(0x382)](({unit:_0x431446})=>{const _0x476a50=_0x13f18a;this[_0x476a50(0x1fe)](_0x431446[_0x476a50(0x3d8)]());})),this[_0x13f18a(0x2b3)](this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x42dad9[_0x13f18a(0x3f7)])[_0x13f18a(0x382)](_0x119ad2=>{const _0x3d879f=_0x13f18a;var _0x2cd54c;(_0x2cd54c=this[_0x3d879f(0x31a)]['get'](_0x119ad2[_0x3d879f(0x3d8)]()))==null||_0x2cd54c['dispose'](),this[_0x3d879f(0x31a)][_0x3d879f(0x32f)](_0x119ad2[_0x3d879f(0x3d8)]());})));}[_0x1141d6(0x1fe)](_0x1b45ce){const _0x30dd0a=_0x1141d6;!this['_dataSyncPrimaryController']||this[_0x30dd0a(0x31a)]['has'](_0x1b45ce)||this[_0x30dd0a(0x31a)][_0x30dd0a(0x353)](_0x1b45ce,this[_0x30dd0a(0x17c)][_0x30dd0a(0x2e4)](_0x1b45ce));}[_0x1141d6(0x374)](){const _0x72cf9f=_0x1141d6;let _0x522846=this[_0x72cf9f(0x354)]['get'](en);At()[_0x72cf9f(0x2e8)](_0x19fc29=>_0x522846[_0x72cf9f(0x1ea)](_0x19fc29));let _0x25f08e=this[_0x72cf9f(0x354)]['get'](Ii),_0x679861=this[_0x72cf9f(0x354)][_0x72cf9f(0x13c)](_n);fn()[_0x72cf9f(0x2e8)](_0x40e19e=>{const _0x546db4=_0x72cf9f;_0x25f08e[_0x546db4(0x1ea)](_0x40e19e),_0x679861[_0x546db4(0x3f4)](_0x40e19e);});}};B(Z,'pluginName',_0x1141d6(0x1d5)),B(Z,_0x1141d6(0x3b2),ii),B(Z,_0x1141d6(0x14f),ai),B(Z,_0x1141d6(0x157),_0x42dad9[_0x1141d6(0x3f7)]),Z=U([_0x38049c(_0x1fb316,_0xc981e4),H(0x1,_0x4d53a3(_0x5585a7)),H(0x2,_0x4c4564),H(0x3,_0x583b46),H(0x4,_0xddd949),H(0x5,_0x251b6(_0x3bad53))],Z);let Q=class extends _0x561c06{constructor(_0x32dfe3=si,_0x203587,_0x5b6bb1,_0x5bada7,_0x1e3983){const _0x1d7e85=_0x1141d6;super(),this[_0x1d7e85(0x3a5)]=_0x32dfe3,this[_0x1d7e85(0x354)]=_0x203587,this[_0x1d7e85(0x1b8)]=_0x5b6bb1,this[_0x1d7e85(0x1a4)]=_0x5bada7,this[_0x1d7e85(0x19e)]=_0x1e3983;let {..._0x1e6de8}=_0x1b55b2({},si,this[_0x1d7e85(0x3a5)]);this['_configService'][_0x1d7e85(0x29b)]('bases.remote.config',_0x1e6de8),this[_0x1d7e85(0x19e)]['registerCtorForType'](_0x42dad9[_0x1d7e85(0x3f7)],_0x23c2ec),Ri['forEach'](_0x5dc0bc=>this[_0x1d7e85(0x2b3)](this[_0x1d7e85(0x1b8)]['registerCommand'](_0x5dc0bc)));}};B(Q,_0x1141d6(0x3a6),'REMOTE_BASES_PLUGIN'),B(Q,_0x1141d6(0x3b2),ii),B(Q,'version',ai),B(Q,'type',_0x42dad9[_0x1141d6(0x3f7)]),Q=U([_0x38049c(_0x1fb316,_0xc981e4),H(0x1,_0x4d53a3(_0x5585a7)),H(0x2,_0x4c4564),H(0x3,_0xddd949),H(0x4,_0x583b46)],Q);function zi(_0x497adf){const _0x5ae995=_0x1141d6;let _0x1c307d=Qi(_0x497adf[_0x5ae995(0x265)]);if(!_0x1c307d)return{'query':'','total':0x0,'matches':[]};let _0x1caf85=[],_0x57394e=[];for(let _0x3c3acc=0x0;_0x3c3acc<_0x497adf[_0x5ae995(0x146)][_0x5ae995(0x3e1)];_0x3c3acc++){if(!(_0x3c3acc in _0x497adf[_0x5ae995(0x146)]))continue;let _0x5f3556=_0x497adf[_0x5ae995(0x305)][_0x5ae995(0x2e2)][_0x497adf['fieldIds'][_0x3c3acc]];_0x5f3556&&_0x57394e['push']({'field':_0x5f3556,'fieldIndex':_0x3c3acc});}_0x497adf[_0x5ae995(0x37a)]['forEach']((_0x1e78b4,_0x480bbb)=>{_0x57394e['forEach'](({field:_0x24397c,fieldIndex:_0xf6d492})=>{const _0x3cd005=_0x33c5;let _0x2809d8=Bi(_0x1e78b4[_0x3cd005(0x3aa)][_0x24397c['id']],_0x24397c);if(!_0x2809d8)return;let _0x3f6cfb=Zi(_0x1c307d,_0x2809d8['searchTexts']);_0x3f6cfb<=0x0||_0x1caf85[_0x3cd005(0x1a6)]({'recordId':_0x1e78b4[_0x3cd005(0x201)],'fieldId':_0x24397c['id'],'fieldType':_0x24397c[_0x3cd005(0x157)],'text':_0x2809d8[_0x3cd005(0x204)],'score':_0x3f6cfb,'rowIndex':_0x480bbb,'fieldIndex':_0xf6d492});});}),_0x1caf85[_0x5ae995(0x3b6)]((_0x3d60d4,_0x1b91b4)=>_0x1b91b4['score']-_0x3d60d4[_0x5ae995(0x3a4)]||_0x3d60d4[_0x5ae995(0x241)]-_0x1b91b4[_0x5ae995(0x241)]||_0x3d60d4[_0x5ae995(0x380)]-_0x1b91b4[_0x5ae995(0x380)]);let _0x49aaad=_0x497adf[_0x5ae995(0x2a6)]==null?_0x1caf85:_0x1caf85[_0x5ae995(0x29a)](0x0,Math['max'](0x0,_0x497adf[_0x5ae995(0x2a6)]));return{'query':_0x1c307d,'total':_0x1caf85[_0x5ae995(0x3e1)],'matches':ea(_0x49aaad)};}function Bi(_0x3cc9d0,_0xc5a5b5){const _0x875ba=_0x1141d6;let _0x1b63d4=[];for(let _0x4bdb9b of Hi(_0x3cc9d0,_0xc5a5b5)){let _0x3b4f3a=Qi(_0x4bdb9b);_0x3b4f3a&&_0x1b63d4[_0x875ba(0x1a6)](_0x3b4f3a);}return _0x1b63d4[_0x875ba(0x3e1)]?{'displayText':Vi(_0x3cc9d0,_0xc5a5b5),'searchTexts':$i(_0x1b63d4)}:null;}function Vi(_0xa25c54,_0x52da60){const _0x5f4d6d=_0x1141d6;switch(_0x52da60['type']){case _0x1b662f[_0x5f4d6d(0x1c8)]:case _0x1b662f[_0x5f4d6d(0x39e)]:case _0x1b662f['Group']:return Ui(_0xa25c54,_0x52da60)[_0x5f4d6d(0x1af)](',\x20');case _0x1b662f[_0x5f4d6d(0x33a)]:return Ki(_0xa25c54);case _0x1b662f[_0x5f4d6d(0x29d)]:case _0x1b662f[_0x5f4d6d(0x2db)]:case _0x1b662f[_0x5f4d6d(0x25a)]:return qi(_0xa25c54,_0x52da60);case _0x1b662f['Number']:case _0x1b662f[_0x5f4d6d(0x1b3)]:return Ji(_0xa25c54,_0x52da60);case _0x1b662f[_0x5f4d6d(0x3fd)]:return Yi(_0xa25c54,_0x52da60);case _0x1b662f[_0x5f4d6d(0x3ed)]:return _0xa25c54?_0x5f4d6d(0x13a):'Unchecked';case _0x1b662f[_0x5f4d6d(0x252)]:return Xi(_0xa25c54)[_0x5f4d6d(0x1af)](',\x20');default:return $(_0xa25c54);}}function Hi(_0x46cd26,_0x58b3c3){const _0x3b3029=_0x1141d6;switch(_0x58b3c3['type']){case _0x1b662f[_0x3b3029(0x1c8)]:case _0x1b662f[_0x3b3029(0x39e)]:case _0x1b662f['Group']:{let _0x22962c=Ui(_0x46cd26,_0x58b3c3);if(Array[_0x3b3029(0x28a)](_0x46cd26)){let _0x4f028d=[..._0x22962c];for(let _0x1c858a=0x0;_0x1c858a<_0x46cd26['length'];_0x1c858a++)_0x1c858a in _0x46cd26&&_0x4f028d[_0x3b3029(0x1a6)](String(_0x46cd26[_0x1c858a]));return _0x4f028d;}return _0x46cd26==null?_0x22962c:[..._0x22962c,String(_0x46cd26)];}case _0x1b662f['Link']:{let _0x26e3e9=Gi(_0x46cd26);return[_0x26e3e9[_0x3b3029(0x387)],_0x26e3e9[_0x3b3029(0x3fe)]];}case _0x1b662f[_0x3b3029(0x29d)]:case _0x1b662f['CreatedAt']:case _0x1b662f[_0x3b3029(0x25a)]:return[qi(_0x46cd26,_0x58b3c3),$(_0x46cd26)];case _0x1b662f[_0x3b3029(0x3a9)]:case _0x1b662f[_0x3b3029(0x1b3)]:return[Ji(_0x46cd26,_0x58b3c3),$(_0x46cd26)];case _0x1b662f[_0x3b3029(0x3fd)]:return[Yi(_0x46cd26,_0x58b3c3),$(_0x46cd26)];case _0x1b662f[_0x3b3029(0x3ed)]:return _0x46cd26?[_0x3b3029(0x13a),_0x3b3029(0x13f),'True']:['Unchecked','No',_0x3b3029(0x18a)];case _0x1b662f['Attachment']:return Xi(_0x46cd26);default:return[$(_0x46cd26)];}}function Ui(_0x2e323c,_0x507416){const _0x127484=_0x1141d6;var _0x114e35;let _0x5708bc=Array['isArray']((_0x114e35=_0x507416['config'])==null?void 0x0:_0x114e35[_0x127484(0x294)])?_0x507416['config']['options']:[],_0x113571=[];if(Array[_0x127484(0x28a)](_0x2e323c)){for(let _0x14074d=0x0;_0x14074d<_0x2e323c[_0x127484(0x3e1)];_0x14074d++){if(!(_0x14074d in _0x2e323c))continue;let _0x48d295=String(_0x2e323c[_0x14074d]);_0x48d295&&_0x113571[_0x127484(0x1a6)](Wi(_0x5708bc,_0x48d295));}return _0x113571;}if(_0x2e323c!=null){let _0x54b628=String(_0x2e323c);_0x54b628&&_0x113571[_0x127484(0x1a6)](Wi(_0x5708bc,_0x54b628));}return _0x113571;}function Wi(_0x24ddc0,_0x145f6d){const _0x5b924d=_0x1141d6;for(let _0x1833bf of _0x24ddc0){if(typeof _0x1833bf==_0x5b924d(0x222)&&_0x1833bf===_0x145f6d)return _0x1833bf;if(_0x1833bf&&typeof _0x1833bf=='object'){var _0x476733,_0x4dcf11,_0x184058;let _0xe3a82f=_0x1833bf;if(String((_0x476733=(_0x4dcf11=_0xe3a82f['id'])==null?_0xe3a82f[_0x5b924d(0x3a2)]:_0x4dcf11)==null?'':_0x476733)===_0x145f6d||String((_0x184058=_0xe3a82f[_0x5b924d(0x3a2)])==null?'':_0x184058)===_0x145f6d){var _0x4bd7d2,_0x347133;return String((_0x4bd7d2=(_0x347133=_0xe3a82f['name'])==null?_0xe3a82f['id']:_0x347133)==null?_0x145f6d:_0x4bd7d2);}}}return _0x145f6d;}function Gi(_0x4f6996){const _0x3201e6=_0x1141d6;if(_0x4f6996&&typeof _0x4f6996==_0x3201e6(0x371)&&!Array[_0x3201e6(0x28a)](_0x4f6996)){var _0x49ffeb,_0x7208e1,_0x11584f;let _0x36f70d=_0x4f6996;return{'text':String((_0x49ffeb=(_0x7208e1=_0x36f70d[_0x3201e6(0x387)])==null?_0x36f70d[_0x3201e6(0x3fe)]:_0x7208e1)==null?'':_0x49ffeb),'url':String((_0x11584f=_0x36f70d[_0x3201e6(0x3fe)])==null?'':_0x11584f)};}return{'text':$(_0x4f6996),'url':$(_0x4f6996)};}function Ki(_0x40a101){const _0x3dd4d2=_0x1141d6;let _0x324e29=Gi(_0x40a101);return _0x324e29[_0x3dd4d2(0x387)]||_0x324e29[_0x3dd4d2(0x3fe)];}function qi(_0x2893a9,_0x51fb92){const _0x3eacbd=_0x1141d6;return typeof _0x2893a9!=_0x3eacbd(0x2fa)||!Number[_0x3eacbd(0x259)](_0x2893a9)?'':st(_0x2893a9,_0x51fb92['config']);}function Ji(_0xd5db30,_0x27d837){const _0x777981=_0x1141d6;let _0x3c09a9=typeof _0xd5db30==_0x777981(0x2fa)?_0xd5db30:Number(_0xd5db30);return Number[_0x777981(0x259)](_0x3c09a9)?Qr(_0x3c09a9,_0x27d837[_0x777981(0x1f0)]):'';}function Yi(_0x5cf271,_0x522397){const _0x31ad19=_0x1141d6;var _0x42590c;let _0x44b017=typeof _0x5cf271==_0x31ad19(0x2fa)?_0x5cf271:Number(_0x5cf271);if(!Number[_0x31ad19(0x259)](_0x44b017))return'';let _0x511cf3=(_0x42590c=_0x522397[_0x31ad19(0x1f0)])==null?{}:_0x42590c,_0x47f054=_0x511cf3[_0x31ad19(0x280)]===0x1||_0x511cf3[_0x31ad19(0x280)]===0x2?_0x511cf3[_0x31ad19(0x280)]:0x0,_0x11c40b=_0x44b017[_0x31ad19(0x1b4)](_0x47f054);return _0x511cf3[_0x31ad19(0x269)]==='number'?_0x11c40b:_0x11c40b+'%';}function Xi(_0x90f7fc){return Array['isArray'](_0x90f7fc)?_0x90f7fc['flatMap'](_0x36461c=>{const _0x28c56f=_0x33c5;var _0x4ed87e,_0x3c1a53;if(!_0x36461c||typeof _0x36461c!='object')return[];let _0x2153a1=_0x36461c,_0x42f6b6=String((_0x4ed87e=(_0x3c1a53=_0x2153a1[_0x28c56f(0x3a2)])==null?_0x2153a1['url']:_0x3c1a53)==null?'':_0x4ed87e)[_0x28c56f(0x369)]();return _0x42f6b6?[_0x42f6b6]:[];}):[];}function $(_0x38a586){const _0x59b631=_0x1141d6;if(_0x38a586==null)return'';if(typeof _0x38a586==_0x59b631(0x3f1))return _0x38a586?_0x59b631(0x355):_0x59b631(0x37b);if(typeof _0x38a586==_0x59b631(0x2fa))return String(_0x38a586);if(Array[_0x59b631(0x28a)](_0x38a586)){let _0x47503c=[];for(let _0x36fbf5=0x0;_0x36fbf5<_0x38a586[_0x59b631(0x3e1)];_0x36fbf5++){if(!(_0x36fbf5 in _0x38a586))continue;let _0x584c06=$(_0x38a586[_0x36fbf5]);_0x584c06&&_0x47503c['push'](_0x584c06);}return _0x47503c['join'](',\x20');}if(typeof _0x38a586==_0x59b631(0x371)){var _0x37f958,_0x71335b,_0x232080,_0x38ff0b;let _0xb65d97=_0x38a586;return String((_0x37f958=(_0x71335b=(_0x232080=(_0x38ff0b=_0xb65d97['title'])==null?_0xb65d97[_0x59b631(0x3a2)]:_0x38ff0b)==null?_0xb65d97[_0x59b631(0x387)]:_0x232080)==null?_0xb65d97[_0x59b631(0x3fe)]:_0x71335b)==null?'':_0x37f958)[_0x59b631(0x369)]();}return String(_0x38a586);}function Zi(_0x4f7cd7,_0x1034af){const _0x4118fa=_0x1141d6;let _0x288cc2=0x0;for(let _0x1a1b53 of _0x1034af)if(_0x1a1b53){if(_0x1a1b53===_0x4f7cd7){_0x288cc2=Math['max'](_0x288cc2,0x12c);continue;}if(_0x1a1b53[_0x4118fa(0x3bb)](_0x4f7cd7)){_0x288cc2=Math[_0x4118fa(0x248)](_0x288cc2,0xfa);continue;}_0x1a1b53[_0x4118fa(0x370)](_0x4f7cd7)&&(_0x288cc2=Math[_0x4118fa(0x248)](_0x288cc2,0xc8));}return _0x288cc2;}function Qi(_0x5c868f){const _0x56d042=_0x1141d6;return _0x5c868f[_0x56d042(0x369)]()[_0x56d042(0x167)](/\s+/g,'\x20')[_0x56d042(0x2ae)]();}function $i(_0x15bdc9){const _0x3d9768=_0x1141d6;return Array[_0x3d9768(0x1b2)](new Set(_0x15bdc9));}function ea(_0x146daf){let _0x3a0dd9=[];for(let {rowIndex:_0x45869a,fieldIndex:_0x4ded39,..._0x54aae3}of _0x146daf)_0x3a0dd9['push'](_0x54aae3);return _0x3a0dd9;}export{Y as ApplyBaseJson1Mutation,A as BaseJson1OpApplier,R as BaseJson1OpFactory,Yn as BatchCreateBaseRecordsCommand,Xn as BatchDeleteBaseRecordsCommand,Zn as ChangeBaseFieldTypeCommand,Qn as CreateBaseFieldCommand,$n as CreateBaseRecordCommand,er as CreateBaseTableCommand,hr as CreateBaseViewCommand,gr as DeleteBaseFieldCommand,_r as DeleteBaseRecordCommand,vr as DeleteBaseTableCommand,yr as DeleteBaseViewCommand,br as DuplicateBaseFieldCommand,xr as DuplicateBaseRecordCommand,Kr as EMBED_BASES_TABLE_RESOURCE_KEY,Sr as EnsureBaseTemporalViewDateFieldsCommand,W as IBaseCommandService,nn as IBasePermissionService,_n as IBaseProjectionService,Ii as IBaseViewRegistryService,Tr as MoveBaseFieldCommand,Er as MoveBaseViewCommand,Dr as RenameBaseTableCommand,Or as RenameBaseViewCommand,kr as SetBaseKanbanGroupFieldCommand,Ar as SetBaseNameCommand,jr as SetBaseRangeValuesCommand,Mr as SetBaseRecordValuesCommand,Nr as SetBaseViewFieldOrderCommand,Pr as SetBaseViewFieldVisibleCommand,Fr as SetBaseViewFieldWidthCommand,Ir as SetBaseViewFilterCommand,Lr as SetBaseViewGroupCommand,Rr as SetBaseViewSortCommand,Z as UniverBasesPlugin,Q as UniverRemoteBasesPlugin,zr as UpdateBaseCellCommand,Vr as UpdateBaseFieldCommand,Br as UpdateBaseFieldDescriptionCommand,Hr as UpdateBaseKanbanConfigCommand,Ur as UpdateBaseRecordOrderCommand,Wr as UpdateBaseViewConfigCommand,N as baseDateSerialToDateMs,ri as copyBaseTableSnapshot,Gr as createDefaultBaseTableSnapshot,qr as createEmbedBasesTable,Jr as createEmbedBasesTableAddMutation,Yr as createEmbedBasesTableRemoveMutation,j as dateToExcelSerial,E as ensureBaseTableCellLayout,st as formatBaseDateValue,Qr as formatBaseNumberValue,De as getBaseCellFormulaValue,Ee as getBaseCellValue,ni as inferBaseSeparatorStyle,ft as matchesBaseCondition,M as normalizeBaseDateSerial,zi as searchBaseTable,T as traceBasePerformance,tr as uniqueFieldName};
1
+ const _0x1040ac=_0x4ff6;(function(_0x479ddb,_0x2cc581){const _0x22700a=_0x4ff6,_0x36d60a=_0x479ddb();while(!![]){try{const _0xba2fb9=-parseInt(_0x22700a(0x19a))/0x1*(parseInt(_0x22700a(0x201))/0x2)+-parseInt(_0x22700a(0x307))/0x3+parseInt(_0x22700a(0xee))/0x4*(-parseInt(_0x22700a(0x213))/0x5)+parseInt(_0x22700a(0x106))/0x6*(parseInt(_0x22700a(0x117))/0x7)+parseInt(_0x22700a(0x33f))/0x8*(parseInt(_0x22700a(0x1d7))/0x9)+-parseInt(_0x22700a(0x27e))/0xa*(parseInt(_0x22700a(0x289))/0xb)+parseInt(_0x22700a(0x162))/0xc*(parseInt(_0x22700a(0x30b))/0xd);if(_0xba2fb9===_0x2cc581)break;else _0x36d60a['push'](_0x36d60a['shift']());}catch(_0x14fbc4){_0x36d60a['push'](_0x36d60a['shift']());}}}(_0x2f59,0x6c485));import{BaseDataModel as _0x3f9aba,BaseFieldType as _0x406b36,BaseFilterConjunction as _0x41d0c1,BaseSortDirection as _0x449492,BaseViewType as _0x7d70ae,CellValueType as _0xa873fd,CommandType as _0x579a13,DependentOn as _0x4c3b1d,Disposable as _0x41e38b,ICommandService as _0x42c942,IConfigService as _0x4eab42,IUndoRedoService as _0x195a57,IUniverInstanceService as _0x1c5465,Inject as _0x43d182,Injector as _0x5f5298,JSON1 as _0x5db611,ObjectMatrix as _0x512ea1,Optional as _0x794887,Plugin as _0x33a25c,Tools as _0x131bf1,UniverInstanceType as _0x5080c8,createIdentifier as _0x43b5b5,dateKit as _0x4bf057,generateRandomId as _0x4322a8,merge as _0x4343ea,numfmt as _0x17245a,regexp as _0x1d276,sequenceExecute as _0x50782c,toDisposable as _0x5b27e8,touchDependencies as _0x39d020}from'@univerjs/core';import{FormulaCalculationTriggerService as _0x5c9fc2,IActiveDirtyManagerService as _0x51097c,RemoveSuperTableMutation as _0x42fb82,SetFormulaCalculationResultMutation as _0x13a86a,SetSuperTableMutation as _0x578ea3,SetTriggerFormulaCalculationStartMutation as _0x28b73a,UniverProFormulaEnginePlugin as _0x372b1b,refactorFormulaUnitQualifier as _0x5eb607}from'@univerjs-pro/engine-formula';import{UniverLicensePlugin as _0x55f49d}from'@univerjs-pro/license';import{DataSyncPrimaryController as _0x19aa01}from'@univerjs/rpc';let he=0x0;function ge(){const _0x2d0082=_0x4ff6;if(globalThis[_0x2d0082(0x259)]===!0x0)return!0x0;try{let _0x403396=typeof location>'u'?'':location[_0x2d0082(0x33d)],_0x2189f4=new URLSearchParams(_0x403396);if(_0x2189f4[_0x2d0082(0x370)]('basePerf')==='1'||_0x2189f4[_0x2d0082(0x370)](_0x2d0082(0x114))==='true'||_0x2189f4['get'](_0x2d0082(0x298))==='1')return!0x0;}catch{}try{let _0x5059de=typeof localStorage>'u'?null:localStorage[_0x2d0082(0x223)](_0x2d0082(0x126));return _0x5059de==='1'||_0x5059de===_0x2d0082(0x20f);}catch{return!0x1;}}function T(_0x8bd339,_0x582b8d,_0x122373){const _0xfa841b=_0x4ff6;if(!ge())return _0x582b8d();let _0x187390=ve(),_0x2a7dea=_0xfa841b(0x12c)+he++;ye(_0x2a7dea+':start');try{return _0x582b8d();}finally{let _0x36beef=ve()-_0x187390;ye(_0x2a7dea+_0xfa841b(0x109)),be(_0x8bd339,_0x2a7dea+_0xfa841b(0xf4),_0x2a7dea+_0xfa841b(0x109)),_e(_0x8bd339,_0x36beef,_0x122373);}}function _e(_0x61c423,_0x30fae0,_0x3e173c){const _0x4035a5=_0x4ff6;if(!ge())return;let _0x37aab3=Math[_0x4035a5(0x2f5)](_0x30fae0*0x64)/0x64,_0x136392=_0x3e173c&&Object['keys'](_0x3e173c)['length']?'\x20'+JSON[_0x4035a5(0x1dc)](_0x3e173c):'';console[_0x4035a5(0x238)]('[BasePerf]\x20'+_0x61c423+':\x20'+_0x37aab3+'ms'+_0x136392);}function ve(){const _0x427a4f=_0x4ff6;return typeof performance<'u'&&typeof performance[_0x427a4f(0x2c5)]==_0x427a4f(0x24c)?performance[_0x427a4f(0x2c5)]():Date['now']();}function ye(_0xa1c863){const _0x247c80=_0x4ff6;try{if(typeof performance<'u'){var _0x204ba8,_0x339060;(_0x204ba8=(_0x339060=performance)[_0x247c80(0xd4)])==null||_0x204ba8[_0x247c80(0x1ae)](_0x339060,_0xa1c863);}}catch{}}function be(_0x511a57,_0x3c1c10,_0x5dc035){const _0x13f774=_0x4ff6;try{if(typeof performance<'u'){var _0x17a206,_0x51f949;(_0x17a206=(_0x51f949=performance)[_0x13f774(0x353)])==null||_0x17a206['call'](_0x51f949,_0x13f774(0x10a)+_0x511a57,_0x3c1c10,_0x5dc035);}}catch{}}function E(_0x5949eb){const _0x43be1e=_0x4ff6;var _0x27e492,_0x215ab2;return ge()?T(_0x43be1e(0x211),()=>xe(_0x5949eb),{'tableId':_0x5949eb['id'],'records':Object[_0x43be1e(0x1d0)]((_0x27e492=_0x5949eb['records'])==null?{}:_0x27e492)['length'],'fields':_0x5949eb[_0x43be1e(0xce)]['length'],'hasRecordOrder':!!((_0x215ab2=_0x5949eb[_0x43be1e(0x218)])!=null&&_0x215ab2[_0x43be1e(0x1ac)])}):xe(_0x5949eb);}function xe(_0x14c8c7){const _0x2372b9=_0x4ff6;var _0xcdbbab,_0x26b724,_0x44506f,_0x34e571,_0x27e0fa,_0x2b0e69,_0x578ef8,_0x3e43bd,_0x57b9b7,_0x467dab;let _0x444e64=(_0xcdbbab=_0x14c8c7['records'])==null?{}:_0xcdbbab,_0x42e764=(_0x26b724=_0x14c8c7[_0x2372b9(0x351)])==null?{}:_0x26b724,_0x3328df=(_0x44506f=(_0x34e571=_0x14c8c7['recordOrder'])==null?void 0x0:_0x34e571[_0x2372b9(0x308)](_0x2db226=>_0x444e64[_0x2db226]))==null?[]:_0x44506f,_0x3ec668=new Set(_0x3328df),_0x5e7e0b=[];for(let _0x3c9899 of Object[_0x2372b9(0x29d)](_0x444e64))_0x3ec668['has'](_0x3c9899['id'])||_0x5e7e0b[_0x2372b9(0x143)](_0x3c9899);let _0x54300f=_0x5e7e0b[_0x2372b9(0x1ac)]?[..._0x3328df,...Be(_0x5e7e0b)]:_0x3328df,_0x34926e=_0x14c8c7[_0x2372b9(0xce)][_0x2372b9(0x308)](_0x104d1e=>_0x42e764[_0x104d1e]),_0x151db4={...(_0x27e0fa=_0x14c8c7[_0x2372b9(0x247)])==null?{}:_0x27e0fa},_0x3e785d={...(_0x2b0e69=_0x14c8c7[_0x2372b9(0x2fa)])==null?{}:_0x2b0e69},_0x367821={...(_0x578ef8=_0x14c8c7['cellData'])==null?{}:_0x578ef8};return _0x14c8c7[_0x2372b9(0x218)]=_0x54300f,_0x14c8c7[_0x2372b9(0x2f6)]={},_0x14c8c7[_0x2372b9(0x247)]={},_0x14c8c7[_0x2372b9(0x193)]={},_0x14c8c7[_0x2372b9(0x2fa)]={},_0x14c8c7['cellData']={},_0x14c8c7[_0x2372b9(0x9f)]={...(_0x3e43bd=_0x14c8c7[_0x2372b9(0x9f)])==null?{}:_0x3e43bd},_0x14c8c7[_0x2372b9(0x9f)][_0x2372b9(0x2a2)]={...(_0x57b9b7=_0x14c8c7[_0x2372b9(0x9f)]['attachmentSets'])==null?{}:_0x57b9b7},_0x14c8c7['resources'][_0x2372b9(0x22a)]={...(_0x467dab=_0x14c8c7[_0x2372b9(0x9f)][_0x2372b9(0x22a)])==null?{}:_0x467dab},_0x54300f[_0x2372b9(0x2d3)]((_0x1b5238,_0x3db04a)=>{const _0x26949b=_0x2372b9;_0x14c8c7['rowIndex'][_0x1b5238]=_0x3db04a,_0x14c8c7[_0x26949b(0x247)][_0x3db04a]=_0x1b5238;}),_0x34926e[_0x2372b9(0x2d3)]((_0x2d105a,_0x312333)=>{const _0xdbec61=_0x2372b9;_0x14c8c7[_0xdbec61(0x193)][_0x2d105a]=_0x312333,_0x14c8c7[_0xdbec61(0x2fa)][_0x312333]=_0x2d105a;}),Object['entries'](_0x367821)[_0x2372b9(0x2d3)](([_0x810d94,_0x158d0e])=>{const _0x4842d8=_0x2372b9;var _0x213c42,_0x522bbc;let _0x582616=Number(_0x810d94),_0x2d1d55=(_0x213c42=_0x151db4[_0x582616])==null?_0x54300f[_0x582616]:_0x213c42,_0x4fcae6=_0x2d1d55?_0x14c8c7['rowIndex'][_0x2d1d55]:void 0x0;_0x4fcae6!=null&&(_0x14c8c7[_0x4842d8(0x184)][_0x4fcae6]={...(_0x522bbc=_0x14c8c7['cellData'][_0x4fcae6])==null?{}:_0x522bbc},Object['entries'](_0x158d0e==null?{}:_0x158d0e)[_0x4842d8(0x2d3)](([_0x306ed9,_0x4eb8c4])=>{const _0xc75eed=_0x4842d8;var _0x55c724;let _0x565353=Number(_0x306ed9),_0x339d0d=(_0x55c724=_0x3e785d[_0x565353])==null?_0x34926e[_0x565353]:_0x55c724,_0x14a677=_0x339d0d?_0x14c8c7[_0xc75eed(0x193)][_0x339d0d]:void 0x0;_0x14a677!=null&&(_0x14c8c7[_0xc75eed(0x184)][_0x4fcae6][_0x14a677]=Oe(_0x4eb8c4));}));}),Object['values'](_0x444e64)[_0x2372b9(0x2d3)](_0x1fdf0b=>{const _0x34a24f=_0x2372b9;var _0x2c70c7,_0x5ec64e;let _0x1fa611=_0x14c8c7[_0x34a24f(0x2f6)][_0x1fdf0b['id']];_0x1fa611!=null&&(_0x14c8c7[_0x34a24f(0x184)][_0x1fa611]={...(_0x2c70c7=_0x14c8c7['cellData'][_0x1fa611])==null?{}:_0x2c70c7},Object['entries']((_0x5ec64e=_0x1fdf0b['values'])==null?{}:_0x5ec64e)[_0x34a24f(0x2d3)](([_0x16d194,_0x23013a])=>{const _0x2cad7c=_0x34a24f;let _0xcb2596=_0x42e764[_0x16d194];(_0xcb2596==null?void 0x0:_0xcb2596[_0x2cad7c(0xd2)])===_0x406b36[_0x2cad7c(0x197)]&&Ne(_0x14c8c7,_0x1fdf0b['id'],_0x16d194,_0x23013a);let _0x695f06=_0x14c8c7[_0x2cad7c(0x193)][_0x16d194];if(_0x695f06==null)return;let _0x432d6c=_0x14c8c7[_0x2cad7c(0x184)][_0x1fa611][_0x695f06];if(_0x432d6c!=null){Ie(_0x432d6c,_0xcb2596,_0x23013a)&&(_0x14c8c7[_0x2cad7c(0x184)][_0x1fa611][_0x695f06]=D(_0x23013a,_0xcb2596));return;}_0x14c8c7['cellData'][_0x1fa611][_0x695f06]=D(_0x23013a,_0xcb2596);}));}),_0x14c8c7;}function Se(_0x18e22e){const _0x1e58fd=_0x4ff6;var _0x3a5ed1;return E(_0x18e22e),Object[_0x1e58fd(0x361)]((_0x3a5ed1=_0x18e22e[_0x1e58fd(0x247)])==null?{}:_0x3a5ed1)[_0x1e58fd(0x2d3)](([_0x1a8c32,_0x1d874d])=>{const _0x476f5a=_0x1e58fd;var _0x22d63a,_0x5ee38f,_0x198ab7;let _0x67063c=Number(_0x1a8c32),_0x2a9b61=_0x18e22e[_0x476f5a(0x1fa)][_0x1d874d];_0x2a9b61&&(_0x2a9b61[_0x476f5a(0x29d)]={...(_0x22d63a=_0x2a9b61[_0x476f5a(0x29d)])==null?{}:_0x22d63a},Object[_0x476f5a(0x361)]((_0x5ee38f=(_0x198ab7=_0x18e22e[_0x476f5a(0x184)])==null?void 0x0:_0x198ab7[_0x67063c])==null?{}:_0x5ee38f)[_0x476f5a(0x2d3)](([_0x52d160,_0x53c49e])=>{const _0x3f6790=_0x476f5a;var _0x5e4d63;let _0x441997=(_0x5e4d63=_0x18e22e[_0x3f6790(0x2fa)])==null?void 0x0:_0x5e4d63[Number(_0x52d160)];_0x441997&&(_0x2a9b61[_0x3f6790(0x29d)][_0x441997]=ke(_0x53c49e,_0x18e22e[_0x3f6790(0x351)][_0x441997],_0x18e22e,_0x1d874d));}));}),_0x18e22e;}function Ce(_0xd80f3d,_0x17be0b){const _0x4dee6a=_0x4ff6;for(let {row:_0x4e892f,col:_0x34d154}of _0x17be0b){var _0xc985d3,_0x1bc446,_0x403eee,_0x22df68;let _0x1ed7e8=(_0xc985d3=_0xd80f3d[_0x4dee6a(0x247)])==null?void 0x0:_0xc985d3[_0x4e892f],_0x5ac336=(_0x1bc446=_0xd80f3d[_0x4dee6a(0x2fa)])==null?void 0x0:_0x1bc446[_0x34d154],_0x577c28=_0x1ed7e8?_0xd80f3d[_0x4dee6a(0x1fa)][_0x1ed7e8]:void 0x0;!_0x577c28||!_0x5ac336||(_0x577c28[_0x4dee6a(0x29d)]={...(_0x403eee=_0x577c28[_0x4dee6a(0x29d)])==null?{}:_0x403eee},_0x577c28[_0x4dee6a(0x29d)][_0x5ac336]=ke((_0x22df68=_0xd80f3d[_0x4dee6a(0x184)])==null||(_0x22df68=_0x22df68[_0x4e892f])==null?void 0x0:_0x22df68[_0x34d154],_0xd80f3d[_0x4dee6a(0x351)][_0x5ac336],_0xd80f3d,_0x1ed7e8));}return _0xd80f3d;}function we(_0x40f6e7,_0xc6ede5,_0x524d33){const _0x2b1308=_0x4ff6;var _0x1f6533,_0x40f8c2,_0x320458,_0xddb564,_0x7053a,_0x306052;let _0x46c56b=(_0x1f6533=_0x40f6e7[_0x2b1308(0x2f6)])==null?void 0x0:_0x1f6533[_0xc6ede5],_0x398c16=(_0x40f8c2=_0x40f6e7[_0x2b1308(0x193)])==null?void 0x0:_0x40f8c2[_0x524d33];if(_0x46c56b!=null&&_0x398c16!=null&&((_0x320458=_0x40f6e7[_0x2b1308(0x247)])==null?void 0x0:_0x320458[_0x46c56b])===_0xc6ede5&&((_0xddb564=_0x40f6e7[_0x2b1308(0x2fa)])==null?void 0x0:_0xddb564[_0x398c16])===_0x524d33)return{'row':_0x46c56b,'col':_0x398c16};let _0x70933d=E(_0x40f6e7),_0x2f6bc2=(_0x7053a=_0x70933d[_0x2b1308(0x2f6)])==null?void 0x0:_0x7053a[_0xc6ede5],_0x31f7c8=(_0x306052=_0x70933d[_0x2b1308(0x193)])==null?void 0x0:_0x306052[_0x524d33];return _0x2f6bc2==null||_0x31f7c8==null?null:{'row':_0x2f6bc2,'col':_0x31f7c8};}function Te(_0x4bb987,_0x446c66,_0x3fe218){const _0x5d98ad=_0x4ff6;var _0x2b071e;let _0xcb4d69=we(_0x4bb987,_0x446c66,_0x3fe218);if(_0xcb4d69)return(_0x2b071e=_0x4bb987[_0x5d98ad(0x184)])==null||(_0x2b071e=_0x2b071e[_0xcb4d69['row']])==null?void 0x0:_0x2b071e[_0xcb4d69[_0x5d98ad(0xb0)]];}function Ee(_0x10c1e1,_0xf93c2e,_0x4b5370){const _0x58095e=_0x4ff6;var _0x78a1dc,_0x2443f0;let _0xbb5aa0=Te(_0x10c1e1,_0xf93c2e,_0x4b5370),_0x551170=_0x10c1e1[_0x58095e(0x351)][_0x4b5370];if((_0x551170==null?void 0x0:_0x551170[_0x58095e(0xd2)])===_0x406b36[_0x58095e(0x197)]){var _0x2e1234,_0x2a8dd2;return(_0x2e1234=Pe(_0x10c1e1,_0xf93c2e,_0x4b5370))==null?O((_0x2a8dd2=_0x10c1e1[_0x58095e(0x1fa)][_0xf93c2e])==null||(_0x2a8dd2=_0x2a8dd2[_0x58095e(0x29d)])==null?void 0x0:_0x2a8dd2[_0x4b5370]):_0x2e1234;}if(k(_0x551170)||(_0x551170==null?void 0x0:_0x551170[_0x58095e(0xd2)])===_0x406b36[_0x58095e(0xa6)]){var _0x56c2df;let _0x5ccd90=(_0x56c2df=_0x10c1e1[_0x58095e(0x1fa)][_0xf93c2e])==null||(_0x56c2df=_0x56c2df['values'])==null?void 0x0:_0x56c2df[_0x4b5370];return _0x5ccd90!=null&&_0x5ccd90!==''?Fe(_0x5ccd90,_0x551170):ke(_0xbb5aa0,_0x551170,_0x10c1e1,_0xf93c2e);}if(_0xbb5aa0&&Object['prototype'][_0x58095e(0x232)]['call'](_0xbb5aa0,'v')){var _0x345116;return(_0x345116=_0xbb5aa0['v'])==null?null:_0x345116;}return(_0x78a1dc=(_0x2443f0=_0x10c1e1[_0x58095e(0x1fa)][_0xf93c2e])==null||(_0x2443f0=_0x2443f0[_0x58095e(0x29d)])==null?void 0x0:_0x2443f0[_0x4b5370])==null?null:_0x78a1dc;}function De(_0x3878bf,_0x3b9187,_0x536d4e){const _0x12d694=_0x4ff6;var _0x4436c1,_0x3d4dc6,_0x5977aa;let _0xa649f=Te(_0x3878bf,_0x3b9187,_0x536d4e);if(_0xa649f&&Object[_0x12d694(0x164)]['hasOwnProperty'][_0x12d694(0x1ae)](_0xa649f,'v')){var _0x1cc281;return(_0x1cc281=_0xa649f['v'])==null?null:_0x1cc281;}let _0x2cf466=_0x3878bf['fields'][_0x536d4e];return(_0x4436c1=D((_0x3d4dc6=(_0x5977aa=_0x3878bf[_0x12d694(0x1fa)][_0x3b9187])==null||(_0x5977aa=_0x5977aa[_0x12d694(0x29d)])==null?void 0x0:_0x5977aa[_0x536d4e])==null?null:_0x3d4dc6,_0x2cf466)['v'])==null?null:_0x4436c1;}function D(_0x1b059d,_0xcc3c11){const _0x35c2cb=_0x4ff6;if(je(_0x1b059d))return(_0xcc3c11==null?void 0x0:_0xcc3c11[_0x35c2cb(0xd2)])===_0x406b36[_0x35c2cb(0x197)]?{..._0x1b059d,'v':'','t':_0xa873fd[_0x35c2cb(0xaf)]}:Oe(_0x1b059d);if((_0xcc3c11==null?void 0x0:_0xcc3c11[_0x35c2cb(0xd2)])===_0x406b36[_0x35c2cb(0x197)])return{'v':'','t':_0xa873fd['STRING']};if(k(_0xcc3c11))return{'v':Le(_0x1b059d)[_0x35c2cb(0x134)](',\x20'),'t':_0xa873fd[_0x35c2cb(0xaf)]};if((_0xcc3c11==null?void 0x0:_0xcc3c11['type'])===_0x406b36[_0x35c2cb(0xa6)]&&_0x1b059d&&typeof _0x1b059d==_0x35c2cb(0x101)&&!Array[_0x35c2cb(0x1c5)](_0x1b059d)){var _0x30d784,_0x3cc16a;let _0x40e3aa=_0x1b059d;return{'v':String((_0x30d784=(_0x3cc16a=_0x40e3aa[_0x35c2cb(0x2ea)])==null?_0x40e3aa[_0x35c2cb(0x36e)]:_0x3cc16a)==null?'':_0x30d784),'t':_0xa873fd[_0x35c2cb(0xaf)]};}return _0x1b059d===null||typeof _0x1b059d==_0x35c2cb(0x2e9)||typeof _0x1b059d==_0x35c2cb(0x1f7)||typeof _0x1b059d==_0x35c2cb(0x2e1)?{'v':_0x1b059d,'t':ze(_0x1b059d)}:{'v':null,'t':null};}function Oe(_0x1c9930){let _0x223b84=Ve(_0x1c9930['t'],_0x1c9930['v']);if(_0x223b84===void 0x0){let {t:_0x4a473d,..._0x1ba5af}=_0x1c9930;return _0x1ba5af;}return{..._0x1c9930,'t':_0x223b84};}function ke(_0x3e5921,_0x1718a7,_0x15be46,_0x3e3d18){const _0x5bd8d9=_0x4ff6;if(!_0x3e5921)return null;if((_0x1718a7==null?void 0x0:_0x1718a7[_0x5bd8d9(0xd2)])===_0x406b36[_0x5bd8d9(0x197)]){var _0x1d1643;return _0x15be46&&_0x3e3d18?(_0x1d1643=Pe(_0x15be46,_0x3e3d18,_0x1718a7['id']))==null?[]:_0x1d1643:[];}if(k(_0x1718a7))return Le(_0x3e5921['v']);if((_0x1718a7==null?void 0x0:_0x1718a7['type'])===_0x406b36['Link']&&_0x15be46&&_0x3e3d18){var _0xb639df;let _0x5169d0=(_0xb639df=_0x15be46[_0x5bd8d9(0x1fa)][_0x3e3d18])==null||(_0xb639df=_0xb639df[_0x5bd8d9(0x29d)])==null?void 0x0:_0xb639df[_0x1718a7['id']];if(_0x5169d0&&typeof _0x5169d0==_0x5bd8d9(0x101)&&!Array[_0x5bd8d9(0x1c5)](_0x5169d0))return _0x5169d0;}if(Object[_0x5bd8d9(0x164)][_0x5bd8d9(0x232)][_0x5bd8d9(0x1ae)](_0x3e5921,'v')){var _0x107142;return(_0x107142=_0x3e5921['v'])==null?null:_0x107142;}return null;}function Ae(_0x2ca9ee,_0x18fe48,_0x3f0b51,_0x29769a,_0x14abc7){const _0x226896=_0x4ff6;return(_0x3f0b51==null?void 0x0:_0x3f0b51[_0x226896(0xd2)])===_0x406b36['Attachment']?O(_0x2ca9ee):k(_0x3f0b51)?Le(_0x2ca9ee):(_0x3f0b51==null?void 0x0:_0x3f0b51['type'])===_0x406b36[_0x226896(0xa6)]&&_0x2ca9ee&&typeof _0x2ca9ee==_0x226896(0x101)&&!Array[_0x226896(0x1c5)](_0x2ca9ee)&&!je(_0x2ca9ee)?_0x2ca9ee:ke(_0x18fe48,_0x3f0b51,_0x29769a,_0x14abc7);}function je(_0x408ca9){const _0x12da53=_0x4ff6;return!!_0x408ca9&&typeof _0x408ca9==_0x12da53(0x101)&&(Object[_0x12da53(0x164)][_0x12da53(0x232)][_0x12da53(0x1ae)](_0x408ca9,'v')||Object['prototype'][_0x12da53(0x232)][_0x12da53(0x1ae)](_0x408ca9,'t')||Object[_0x12da53(0x164)]['hasOwnProperty'][_0x12da53(0x1ae)](_0x408ca9,'p')||Object[_0x12da53(0x164)][_0x12da53(0x232)]['call'](_0x408ca9,'f')||Object['prototype'][_0x12da53(0x232)][_0x12da53(0x1ae)](_0x408ca9,'si'));}function Me(_0xa9484a,_0x13fde7){return _0xa9484a+'\x1f'+_0x13fde7;}function Ne(_0x174506,_0x2c1fce,_0x5fe8d5,_0x5dd857){const _0x48da70=_0x4ff6;var _0x449f9e,_0x57c8ba,_0x37cd2f;let _0x13946a=O(_0x5dd857);_0x174506['resources']={...(_0x449f9e=_0x174506[_0x48da70(0x9f)])==null?{}:_0x449f9e},_0x174506[_0x48da70(0x9f)][_0x48da70(0x2a2)]={...(_0x57c8ba=_0x174506[_0x48da70(0x9f)][_0x48da70(0x2a2)])==null?{}:_0x57c8ba},_0x174506['resources']['attachments']={...(_0x37cd2f=_0x174506[_0x48da70(0x9f)][_0x48da70(0x22a)])==null?{}:_0x37cd2f};let _0x4b5da3=Me(_0x5fe8d5,_0x2c1fce),_0x205fd8=[];for(let _0xe68374=0x0;_0xe68374<_0x13946a[_0x48da70(0x1ac)];_0xe68374++){var _0x104a80;if(!(_0xe68374 in _0x13946a))continue;let _0x1c45b6=_0x13946a[_0xe68374],_0x183928=String((_0x104a80=_0x1c45b6['id'])==null?_0x4b5da3+'\x1f'+_0xe68374:_0x104a80),_0x3c8203={..._0x1c45b6,'id':_0x183928};_0x174506['resources'][_0x48da70(0x22a)][_0x183928]=_0x3c8203,_0x205fd8[_0x48da70(0x143)](_0x183928);}_0x174506[_0x48da70(0x9f)]['attachmentSets'][_0x4b5da3]=_0x205fd8;}function Pe(_0x516f3b,_0x18e634,_0x1c24c5){const _0xf2113b=_0x4ff6;var _0x530411;let _0x5b8a94=Me(_0x1c24c5,_0x18e634),_0x911774=(_0x530411=_0x516f3b[_0xf2113b(0x9f)])==null||(_0x530411=_0x530411[_0xf2113b(0x2a2)])==null?void 0x0:_0x530411[_0x5b8a94];if(!_0x911774)return null;let _0x59b2ec=[];for(let _0x3a6e04=0x0;_0x3a6e04<_0x911774[_0xf2113b(0x1ac)];_0x3a6e04++){var _0x491978;if(!(_0x3a6e04 in _0x911774))continue;let _0x34d62d=(_0x491978=_0x516f3b['resources'])==null||(_0x491978=_0x491978[_0xf2113b(0x22a)])==null?void 0x0:_0x491978[_0x911774[_0x3a6e04]];_0x34d62d&&_0x59b2ec[_0xf2113b(0x143)]({..._0x34d62d});}return _0x59b2ec;}function O(_0x568f6f){const _0x50ac0c=_0x4ff6;if(_0x568f6f==null||_0x568f6f===''||je(_0x568f6f)&&!('id'in _0x568f6f)&&!(_0x50ac0c(0x27a)in _0x568f6f))return[];let _0x1de2dd=Array['isArray'](_0x568f6f)?_0x568f6f:[_0x568f6f],_0x1ccf9f=[];for(let _0x551ac1=0x0;_0x551ac1<_0x1de2dd[_0x50ac0c(0x1ac)];_0x551ac1++){if(!(_0x551ac1 in _0x1de2dd))continue;let _0xbb4883=_0x1de2dd[_0x551ac1],_0x2c42c9=_0xbb4883&&typeof _0xbb4883==_0x50ac0c(0x101)?{..._0xbb4883}:{'id':_0x50ac0c(0x11f)+_0x551ac1,'name':String(_0xbb4883)};Object[_0x50ac0c(0x1d0)](_0x2c42c9)[_0x50ac0c(0x1ac)]>0x0&&_0x1ccf9f[_0x50ac0c(0x143)](_0x2c42c9);}return _0x1ccf9f;}function Fe(_0x4691bb,_0x1554bc){const _0x111994=_0x4ff6;return(_0x1554bc==null?void 0x0:_0x1554bc[_0x111994(0xd2)])===_0x406b36[_0x111994(0x197)]?O(_0x4691bb):k(_0x1554bc)?Le(_0x4691bb):_0x4691bb;}function Ie(_0x952dd,_0x7ce918,_0x1c8714){const _0x582299=_0x4ff6;return(_0x7ce918==null?void 0x0:_0x7ce918[_0x582299(0xd2)])===_0x406b36[_0x582299(0x197)]?_0x952dd['v']!=='':k(_0x7ce918)?Array['isArray'](_0x1c8714)&&(_0x952dd['v']==null||_0x952dd['v']===''):!0x1;}function k(_0x11c996){const _0x46fb05=_0x4ff6;return(_0x11c996==null?void 0x0:_0x11c996['type'])===_0x406b36[_0x46fb05(0x2ce)]||(_0x11c996==null?void 0x0:_0x11c996[_0x46fb05(0xd2)])===_0x406b36[_0x46fb05(0x1ff)]||(_0x11c996==null?void 0x0:_0x11c996[_0x46fb05(0xd2)])===_0x406b36[_0x46fb05(0x26b)];}function Le(_0x2e1fb3){const _0x39c632=_0x4ff6;if(_0x2e1fb3==null||_0x2e1fb3==='')return[];let _0x1a9f19=[];if(Array[_0x39c632(0x1c5)](_0x2e1fb3)){for(let _0x12469c=0x0;_0x12469c<_0x2e1fb3[_0x39c632(0x1ac)];_0x12469c++){if(!(_0x12469c in _0x2e1fb3))continue;let _0x60b70b=Re(_0x2e1fb3[_0x12469c]);_0x60b70b&&_0x1a9f19['push'](_0x60b70b);}return _0x1a9f19;}for(let _0x20b1e4 of String(_0x2e1fb3)[_0x39c632(0x278)](',')){let _0x377311=_0x20b1e4[_0x39c632(0x1e6)]();_0x377311&&_0x1a9f19[_0x39c632(0x143)](_0x377311);}return _0x1a9f19;}function Re(_0x5b6a84){const _0x289088=_0x4ff6;if(_0x5b6a84==null)return'';if(typeof _0x5b6a84==_0x289088(0x2e9)||typeof _0x5b6a84==_0x289088(0x1f7)||typeof _0x5b6a84==_0x289088(0x2e1))return String(_0x5b6a84);if(typeof _0x5b6a84==_0x289088(0x101)){var _0x579f40,_0x4fc5d0,_0x15bcda;let _0x261348=_0x5b6a84;return String((_0x579f40=(_0x4fc5d0=(_0x15bcda=_0x261348['id'])==null?_0x261348[_0x289088(0x27a)]:_0x15bcda)==null?_0x261348[_0x289088(0x2ea)]:_0x4fc5d0)==null?'':_0x579f40);}return String(_0x5b6a84);}function ze(_0x14509e){const _0x239e6d=_0x4ff6;return _0x14509e==null?null:typeof _0x14509e==_0x239e6d(0x1f7)?_0xa873fd[_0x239e6d(0x1dd)]:typeof _0x14509e==_0x239e6d(0x2e1)?_0xa873fd[_0x239e6d(0x366)]:_0xa873fd[_0x239e6d(0xaf)];}function Be(_0x341b92){const _0xabdb8e=_0x4ff6;_0x341b92[_0xabdb8e(0x127)]((_0x5e1f01,_0x2524b0)=>_0x5e1f01[_0xabdb8e(0x1a0)]['localeCompare'](_0x2524b0[_0xabdb8e(0x1a0)]));let _0x5ac8c6=[];for(let _0x59b237 of _0x341b92)_0x5ac8c6[_0xabdb8e(0x143)](_0x59b237['id']);return _0x5ac8c6;}function Ve(_0xe12f7b,_0x579eb4){const _0x5a0c20=_0x4ff6;return _0xe12f7b===_0xa873fd[_0x5a0c20(0xaf)]||_0xe12f7b===_0xa873fd['NUMBER']||_0xe12f7b===_0xa873fd[_0x5a0c20(0x366)]||_0xe12f7b===_0xa873fd['FORCE_STRING']||_0xe12f7b==null?_0xe12f7b:ze(_0x579eb4==null?null:_0x579eb4);}var A=class{['applyOp'](_0x497c5a,_0x583b27){const _0x5d1616=_0x4ff6;let _0x388dc1=this[_0x5d1616(0x228)](_0x583b27),_0x9488b2=T(_0x5d1616(0x371),()=>Ye(_0x497c5a,_0x583b27),{'invalidations':_0x388dc1[_0x5d1616(0x1ac)]}),_0x363e00=T(_0x5d1616(0x2ee),()=>_0x5db611[_0x5d1616(0xd2)][_0x5d1616(0x349)](_0x9488b2,_0x583b27),{'invalidations':_0x388dc1[_0x5d1616(0x1ac)]});return He(_0x363e00,_0x388dc1)||this[_0x5d1616(0x305)](_0x363e00,_0x388dc1)[_0x5d1616(0x2d3)](_0x5b1001=>{Se(_0x5b1001);}),_0x363e00;}[_0x1040ac(0x1be)](_0x3e7542,_0x18eb2a){const _0x50fb53=_0x1040ac;return _0x5db611[_0x50fb53(0xd2)]['invertWithDoc'](_0x18eb2a,_0x3e7542);}[_0x1040ac(0x228)](_0xe63a2e){const _0x4f23b3=_0x1040ac;let _0x47eeb2=Ke(_0xe63a2e);return _0x47eeb2['length']?qe(_0x47eeb2[_0x4f23b3(0x1a6)](_0x5e86f6=>this[_0x4f23b3(0x228)](_0x5e86f6))):Ue(_0xe63a2e);}['_getTablesToNormalize'](_0x3e9251,_0x240dec){const _0x2758d9=_0x1040ac;if(!_0x240dec[_0x2758d9(0x1ac)])return[];if(_0x240dec[_0x2758d9(0x20d)](_0x2a8df9=>!_0x2a8df9[_0x2758d9(0x253)])){var _0x48c5a2;return Object[_0x2758d9(0x29d)]((_0x48c5a2=_0x3e9251['tables'])==null?{}:_0x48c5a2);}return Array[_0x2758d9(0x136)](new Set(_0x240dec['map'](_0x12ce15=>_0x12ce15[_0x2758d9(0x253)])))[_0x2758d9(0x1a6)](_0x2017d5=>{const _0x527e17=_0x2758d9;var _0xf61cbf;let _0x2c1a71=(_0xf61cbf=_0x3e9251[_0x527e17(0x274)])==null?void 0x0:_0xf61cbf[_0x2017d5];return _0x2c1a71?[_0x2c1a71]:[];});}};function He(_0x4fa58e,_0x2885ec){const _0x18001c=_0x1040ac;if(!_0x2885ec['length']||_0x2885ec[_0x18001c(0x20d)](_0x46de01=>_0x46de01[_0x18001c(0x160)]!==_0x18001c(0x2fb)))return!0x1;let _0x2c9bc8=new Map();for(let _0x7f21ae of _0x2885ec){var _0x4ffb91;if(!_0x7f21ae[_0x18001c(0x253)]||_0x7f21ae[_0x18001c(0x231)]==null||_0x7f21ae[_0x18001c(0x175)]==null)continue;let _0x46d6af=(_0x4ffb91=_0x2c9bc8['get'](_0x7f21ae[_0x18001c(0x253)]))==null?[]:_0x4ffb91;_0x46d6af[_0x18001c(0x143)]({'row':_0x7f21ae[_0x18001c(0x231)],'col':_0x7f21ae[_0x18001c(0x175)]}),_0x2c9bc8['set'](_0x7f21ae[_0x18001c(0x253)],_0x46d6af);}return _0x2c9bc8[_0x18001c(0x2d3)]((_0x9bf6d6,_0x59a01a)=>{const _0x186d35=_0x18001c;var _0x3bb195;let _0xf1e8a0=(_0x3bb195=_0x4fa58e[_0x186d35(0x274)])==null?void 0x0:_0x3bb195[_0x59a01a];_0xf1e8a0&&Ce(_0xf1e8a0,_0x9bf6d6);}),!0x0;}function Ue(_0x264554){const _0x3d5acf=_0x1040ac;if(!Array[_0x3d5acf(0x1c5)](_0x264554)||_0x264554[_0x3d5acf(0x1ac)]<0x2)return[{'tableId':'','reason':_0x3d5acf(0x2c9)}];let _0x53099a=_0x264554,_0x40cc78=_0x53099a[_0x3d5acf(0x28a)](_0x3d5acf(0x274));return _0x40cc78===-0x1||typeof _0x53099a[_0x40cc78+0x1]!=_0x3d5acf(0x2e9)?_0x53099a[0x0]==='tableOrder'?[]:[{'tableId':'','reason':_0x3d5acf(0x2c9)}]:We(_0x53099a,_0x40cc78,String(_0x53099a[_0x40cc78+0x1]));}function We(_0x24c1e2,_0x41a5ee,_0x36073f){const _0xa861e0=_0x1040ac;let _0x234efa=_0x24c1e2[_0x41a5ee+0x2];return _0x234efa===_0xa861e0(0x1fa)&&typeof _0x24c1e2[_0x41a5ee+0x3]==_0xa861e0(0x2e9)?Ge(_0x24c1e2,_0x41a5ee,_0x36073f,String(_0x24c1e2[_0x41a5ee+0x3])):_0x234efa===_0xa861e0(0x184)&&_0x24c1e2[_0x41a5ee+0x3]!=null&&_0x24c1e2[_0x41a5ee+0x4]!=null?[{'tableId':_0x36073f,'reason':_0xa861e0(0x2fb),'row':Number(_0x24c1e2[_0x41a5ee+0x3]),'column':Number(_0x24c1e2[_0x41a5ee+0x4])}]:_0x234efa===_0xa861e0(0x351)&&typeof _0x24c1e2[_0x41a5ee+0x3]==_0xa861e0(0x2e9)?[{'tableId':_0x36073f,'reason':_0xa861e0(0x16b),'fieldId':String(_0x24c1e2[_0x41a5ee+0x3])}]:_0x234efa===_0xa861e0(0x165)&&typeof _0x24c1e2[_0x41a5ee+0x3]==_0xa861e0(0x2e9)?[{'tableId':_0x36073f,'reason':_0xa861e0(0xac),'viewId':String(_0x24c1e2[_0x41a5ee+0x3])}]:[{'tableId':_0x36073f,'reason':_0x234efa===void 0x0?_0xa861e0(0x2fc):_0xa861e0(0x2c9)}];}function Ge(_0x131d0c,_0x1df022,_0x48c583,_0x52c48e){const _0x5928ae=_0x1040ac;return _0x131d0c[_0x1df022+0x4]===_0x5928ae(0x29d)&&typeof _0x131d0c[_0x1df022+0x5]==_0x5928ae(0x2e9)?[{'tableId':_0x48c583,'reason':_0x5928ae(0x2fb),'recordId':_0x52c48e,'fieldId':String(_0x131d0c[_0x1df022+0x5])}]:_0x131d0c[_0x1df022+0x4]===_0x5928ae(0x236)||_0x131d0c[_0x1df022+0x4]===_0x5928ae(0x120)?[]:[{'tableId':_0x48c583,'reason':_0x5928ae(0x2dc),'recordId':_0x52c48e}];}function Ke(_0x12c004){const _0x54bed4=_0x1040ac;if(!Array[_0x54bed4(0x1c5)](_0x12c004))return[];let _0x5215bd=_0x12c004[_0x54bed4(0x308)](Array[_0x54bed4(0x1c5)]);if(_0x5215bd[_0x54bed4(0x1ac)]>0x1&&_0x5215bd[_0x54bed4(0x1ac)]===_0x12c004[_0x54bed4(0x1ac)])return _0x5215bd;let _0x7f2255=_0x12c004['findIndex'](Array[_0x54bed4(0x1c5)]);if(_0x7f2255>0x0&&_0x12c004[_0x54bed4(0x35c)](_0x7f2255)[_0x54bed4(0xb1)](Array['isArray'])){let _0x13ca5a=_0x12c004[_0x54bed4(0x35c)](0x0,_0x7f2255);return _0x12c004[_0x54bed4(0x35c)](_0x7f2255)[_0x54bed4(0xb4)](_0x2a7c92=>[..._0x13ca5a,..._0x2a7c92]);}let _0x5c772e=_0x12c004[_0x54bed4(0x28a)](_0x54bed4(0x274));if(_0x5c772e===-0x1||typeof _0x12c004[_0x5c772e+0x1]!=_0x54bed4(0x2e9))return[];let _0x2a943d=String(_0x12c004[_0x5c772e+0x1]),_0x33fe1a=_0x12c004['slice'](_0x5c772e+0x2)[_0x54bed4(0x308)](Array[_0x54bed4(0x1c5)]);return _0x33fe1a[_0x54bed4(0x1ac)]<=0x1?[]:_0x33fe1a[_0x54bed4(0xb4)](_0x3717c8=>['tables',_0x2a943d,..._0x3717c8]);}function qe(_0x10dfb9){let _0x55739b=new Set();return _0x10dfb9['filter'](_0x47fafc=>{const _0x26be88=_0x4ff6;let _0x18421f=JSON[_0x26be88(0x1dc)](_0x47fafc);return _0x55739b['has'](_0x18421f)?!0x1:(_0x55739b['add'](_0x18421f),!0x0);});}function Je(_0xb9ee9){const _0x38168f=_0x1040ac;return _0x131bf1[_0x38168f(0x263)](_0xb9ee9);}function Ye(_0x38c5e1,_0x4a04e7){const _0x154776=_0x1040ac;let _0x26f93b=Xe(_0x4a04e7);if(!_0x26f93b[_0x154776(0x1ac)])return Je(_0x38c5e1);let _0x24d162=tt(_0x38c5e1);for(let _0x1b6f3a of _0x26f93b)$e(_0x24d162,_0x1b6f3a);return _0x24d162;}function Xe(_0x551573){let _0x3415ea=[];return Ze(_0x551573,[],_0x3415ea),_0x3415ea;}function Ze(_0x352bde,_0x58d8f1,_0x5f399d){const _0x283b79=_0x1040ac;if(!Array['isArray'](_0x352bde))return;let _0x16de83=[];for(let _0x49f263 of _0x352bde){if(Array['isArray'](_0x49f263)){Ze(_0x49f263,[..._0x58d8f1,..._0x16de83],_0x5f399d);continue;}if(Qe(_0x49f263)){_0x5f399d[_0x283b79(0x143)]([..._0x58d8f1,..._0x16de83]);continue;}(typeof _0x49f263==_0x283b79(0x2e9)||typeof _0x49f263==_0x283b79(0x1f7))&&_0x16de83['push'](_0x49f263);}}function _0x2f59(){const _0x37eee3=['fieldIds','greaterThanOrEqual','_initDependencies','compose','repeat','_setAttachmentResources','deepClone','abbreviation','_createNumberingAllocators','_title','base.command.delete-base-view','_buildGantt','#3b82f6','[BaseCommandService]:\x20cannot\x20edit\x20field.','Group','_getTableRevision','childUnitId','week','base.command.rename-base-table','base.command.update-base-kanban-config','UNIVER_BASE',',,\x22M\x22','resolvedOptions','tables','_univerInstanceService','timeslotSize','setRecordPermission','split','_permissionService','name','_projectionCache','large','manageView','10MDjePF','card','Done','before','DD/MM/YYYY','majorHeaders','separatorStyle','hh:mm','setTablePermission','Phone','_getAllBaseDependencyTreeCacheMap','8484311kzJZoj','indexOf','afterViewId','constructor','usableAsCalendarDate','bases.fieldConfig.linkPlaceholder','base.command.delete-base-field','viewId','next30','cellRevision','lastIndexOf','result','baseRows','Status','getCapabilities','base-perf','isFinite','_findKanbanGroupField','conditional','_projectedRowsCache','values','base.command.set-base-view-field-visible','showTodayLine','primaryFieldId','setBaseName','attachmentSets','revision','_fastSortRows','trigger','fieldName','_enqueueFormulaSync','toLocaleString','getUTCMonth','delete','base.command.update-base-cell','notContains','replaceOp','[BaseField]:\x20invalid\x20phone\x20value.','createUnit','_activeDirtyManagerService','clearRecordPermission','_getJson1DirtyData','remove','_filterSortFieldIds','_buildCalendar','registerTable','createRecords','reduce','base.command.set-base-kanban-group-field','base.command.set-base-view-field-width','CreatedBy','assign','_views','base.command.create-base-view','toPlainText','local','_fieldPermissions','createField','lastMonth','option-','now','Lookup','[BaseField]:\x20invalid\x20rating\x20value.','key','unknown','_sortRows','_resolveGanttDateFieldId','exact','editable','MultiSelect','color','BaseProjection.filterAndSortRows','_projectGroups','_resolveCalendarDateFieldId','forEach','_buildKanban','fld-','toPrimitive','progressFieldId','off','canCreateRecord','canCreateField','_viewRowsCacheKey','record','past30','exec','afterFieldId','_cellInvalidations','boolean','month','level','getUTCDate','_groupsCacheKey','\x22\x20is\x20not\x20registered.','unitId','clearBasePermission','string','text','weekdays','Formula','config','BaseJson1.json1Apply','_initialize','decimal','colorFieldId','updateCell','moveView','gantt','round','rowIndex','max','[BaseField]:\x20invalid\x20multi-value\x20reference.','_deleteAttachmentResources','colId','cell','table','manual','_normalizeGanttDisplayColor','primaryFieldName','_basePermissions','__tempBatchingUndoRedo','periodComma','BaseProjection.projectRows','hourCycle','_getTablesToNormalize','base.command.update-base-field-description','2084250wzzJKc','filter','_syncSuperTables','past7','13xsqjLW','columnSettings','invalidateByOp','Gantt\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','getFullYear','hostAnchorId','_canUseFastSort','showFieldNames','Button','index','doing','globalRevision','TwoWayLink','allowNegative','_patchCachedProjectedRows','thisMonth','_globalRevision','localeCompare','conditions','has','Summary','getProjection','#,##0','#BBF7D0','_patchProjectedRowsForCellInvalidations','REMOTE_BASES_PLUGIN','_createNumberingAllocator','YYYY/MM/DD','base.permission.service','_recordPermissions','_createRecordWithDefaults','limit','_fieldRegistry','spacePeriod','formatToParts','Checkbox','createView','matchAll','Email','pluginName','packageName','UNIVER_EMBED_BASES_TABLE','invalidateByView','title','spaceComma','gridViewId','[BaseFormula]:\x20A1\x20references\x20and\x20ranges\x20are\x20not\x20supported\x20in\x20Base\x20formulas.','_createSystemFieldValuePatches','version','focusUnit','search','autoIncrement','668848wFsAsz','scale','after','workingDaysOnly','_factory','groups','formula','#16a34a','viewIndexes','_kanbanGroupKeys','apply','[BaseCommandService]:\x20cannot\x20manage\x20view.','test','_applier','_runtimeContext','CreatedAt','[BaseCommandService]:\x20cannot\x20delete\x20field.','createRegExpFromSafeFragment','fields','_isCalendarDateField','measure','createBatchCreateRecordsOp','greaterThan','base.command.move-base-view','toFixed','_initDataSync','_resolveKanbanCoverFieldId','getUnitId','major-','slice','_findCalendarDateFieldId','viewRevision','_syncBaseUnit','long','entries','syncExecuteCommand','_groupProjectionFieldIds','syncUnit','_getCurrentUserId','BOOLEAN','Rating','star','createSuperTableReference','_capabilities','_projectRows','includeTime','Calendar','url','[BaseField]:\x20negative\x20numbers\x20are\x20disabled.','get','BaseJson1.cloneForOp','unshift','setBasePermission','_normalizeCellValue','defineProperty','_setFormulaFieldCells','resources','uniqueTableName','renameFormulaUnitReferences','NumberFormat','beforeViewId','cardLayout','unitOtherData','Link','startsWith','[BaseField]:\x20invalid\x20email\x20value.','getTypeOfUnitDisposed$','add','_resolveGalleryCoverFieldId','view','formula.mutation.set-formula-calculation-result','[BaseField]:\x20invalid\x20checkbox\x20value.','STRING','col','every','deleteView','getUnit','map','validate','BaseProjection.projectTableRows','base.mutation.apply-base-json1','_removeSuperTables','Location','then','changeFieldType','_createRecordOrderOp','deleteField','_groupCellInvalidations','h:mm\x20a','Grid\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','frozenFieldCount','_applyFormulaResult','[BaseProjectionService]:\x20missing\x20view\x20\x22','year','UpdatedAt','Kanban','start','applyOp','en-US','percent','1.0.0-alpha.5','_groupConfigCacheSegment','COMMAND','fieldOrder','Currency','[BaseCommandService]:\x20cannot\x20delete\x20record.','renameView','type','raw','mark','setViewSort','_calendarEventColor','children','normal','duplicateRecord','editCell','_rowTransformCacheSegment','set','clearFieldPermission','base.command.set-base-view-filter','_recordIds','createViewId','_cellRevisions','attachmentSet','resolve','rows','snapshot','canCreateTable','bases.fieldConfig.textPlaceholder','rules','_normalizeCalendarConfig','_replaceOptional','tomorrow','_viewRevisionKey','Gantt','1144692ZxPHXc','moveField','base.command.change-base-field-type','label','_tableRevisions','finally',':start','path','tableRevision','createUpdateCellOp','replace','working','canManageView','diffValue','_onCommandExecuted','endDateFieldId','conjunction','recordNamePrefix','-field-name','object','calendar','Kanban\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','_dataSyncPrimaryController','getCurrentUserId','1707252MaCLUf','Date','deleteTable',':end','[BasePerf]\x20','setRangeValues','isInteger','base.field-registry.service','getAllUnitsForType','rowIndexById','Working\x20day','getStructuredDependencies','End\x20date','getDay','basePerf','[BaseViewRegistryService]:\x20view\x20type\x20\x22','_withModifiedSystemValues','14QrLXQE','currencySymbol','missingField','value','[BaseField]:\x20invalid\x20progress\x20value.','tableOrder','readonly','mode','attachment-','updatedBy','#14b8a6','undefined','Number','usableAsGanttStart','_baseSyncDisposables','univer.basePerf','sort','_initRegistries','false','width','embedId','base-perf-','base.command.create-base-field','_projectTableRows','_registeredSuperTableNames','medium','contains','Gallery','short','join','[BaseField]:\x20invalid\x20date\x20value.','from','system','[BaseCommandService]:\x20cannot\x20create\x20field.','removeOp','yyyy/mm/dd','HH:mm','valueOf','disposeWithMe','YYYY-MM-DD','description','coverFieldId','[BaseFormula]:\x20field\x20\x22','canEditCell','push','userID','defaultValue','_normalizeGanttConfig','groupFieldId','base.command.delete-base-record','onCommandExecuted','usableAsGanttEnd','base.command.set-base-name','locale','DESC','_isNonEmptyCellValue','_normalizeCalendarDisplayColor','_buildGallery','setFieldPermission','getTypeOfUnitAdded$','Failed\x20to\x20create\x20update\x20cell\x20operation:','base.command.move-base-field','usableAsCardCover',',,,\x22B\x22','isNotEmpty','recordId','#,##0.00','getAll','_resolveGalleryCardFieldIds','MMM\x20D,\x20YYYY','setViewFieldVisible','__all__','titleFieldId','reason','cardSize','24898164rqKCdk','getAllBases','prototype','views','Barcode','Checked','_resolveKanbanCardFieldIds','validateFormula','_materializeGroups','field','_configService','_applyingFormulaResults','canDeleteRecord','_apply','_resolveKanbanGroupFieldId','Calendar\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','createdAt','leftPaneCollapsed','base.command.create-base-record','column','base.command.service','exceptions','decorate','canDeleteTable','executeCommand','_getAllTableIds','direction','commaPeriod','yesterday','allowMultiple','changed','_ganttBarColor','base.command.set-base-view-sort','createCreateFieldOp','cellData','fieldIndex','_setViewFieldSetting','#FDE68A','h24','setConfig','RecordId','done','createSetRecordValuesOp','fromPlainText','False','createdBy','unitData','_formulaSyncQueue','invalidateByCell','colIndex','normalize','lastIndex','params','Attachment','_projectedViewRowsCache','_getStructureDirtyTableIds','1eXnrqW','_matchesGanttColorRule','getTypePlugin','bases.remote.config','recordPatch','endsWith','orderKey','startDateFieldId','hidden','ena','_cacheKey','register','flatMap','setRecordValues','_bumpTableRevision','tableName','day','_getCellRevision','length','[BaseCommandService]:\x20invalid\x20cell\x20value.','call','deleteRecord','YYYY/MM/DD\x20HH:mm','Numbering','splice','_isAllowedKanbanGroupField','_isAllDayGanttDateRange','getUTCDay','custom','getSnapshot','onReady','recordIds','regenerateViewIds','_initCommands','patches','_plugins','invertOp','error','operand','pushUndoRedo','Doing','_formulaService','_buildGrid','isArray','_getViewRevision','SingleSelect',',\x22K\x22','forValue','_kanbanLaneTitle','@univerjs-pro/bases','find','https://','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','base.command.delete-base-table','keys','group','registerCtorForType','columns','fieldId','canDeleteField','canEditField','45vGZoSw','invalidGanttEndField','options','toLowerCase','base.viewType.kanban','stringify','NUMBER','\x22\x20does\x20not\x20exist.','size','unitWidth','base.command.set-base-record-values','h12','Todo','attachment','createCreateRecordOp','trim','iterator','bases.config','createRecord','Unchecked','order','Name','workingDays','setViewFilter','lessThanOrEqual','setViewFieldOrder','view-','beforeFieldId','base.command.set-base-view-field-order','exception-','_config','selectField','number','UTC','invalidGanttStartField','records','_injector','fromEntries','renameTable','Progress','Person','_getTable','587732vCoqFN','searchTexts','invalid','decimalPlaces','embed-ui','$1\x20','includes','none','viewOrder','blue','displayColor','Flow','some','[BaseCommandService]:\x20cannot\x20edit\x20readonly\x20field.','true','updateRecordOrder','IBaseCellData.ensureTableCellLayout','isNot','15JZebKS','score','default','date','_isColorfulKanbanGroupField','recordOrder','_projectFields','getDependencies','deleteRecords','timeZone','includeRecords','getSuperTableRegistrations','[BaseCommandService]:\x20cannot\x20create\x20record.','_getCachedProjection','valid','_isGanttDateField','getItem','_viewRevisions','base.command.set-base-view-group','subscribe','setViewGroup','getAffectedRanges','getUTCFullYear','attachments','base.command.duplicate-base-record','_getKanbanConfiguredLanes','BaseProjection.projectGroups','updateField','Text','getTime','row','hasOwnProperty','updateViewConfig','_isKanbanGroupField','registerView','updatedAt','getMonth','info','_tablePermissions','base.command.update-base-view-config','end','duplicateField','base.command.create-base-table','UpdatedBy','registerCommand','_getSystemFieldValue','_projectedGroupsCache','lastWeek','setViewFieldWidth','min','_normalizeGalleryConfig','insertOp','rowId','base.fieldType.','displayText','_kanbanLaneColor','createTable','function','_setCachedProjection','Grid','operator','[BaseCommandService]:\x20field\x20\x22','edit','quarter','tableId','-record-','base.viewType.gantt','clearTablePermission','_commandService','fieldSettings','__UNIVER_BASE_PERF__','format','base.command.duplicate-base-field','symbol'];_0x2f59=function(){return _0x37eee3;};return _0x2f59();}function Qe(_0x562810){const _0x27beaa=_0x1040ac;if(!_0x562810||typeof _0x562810!='object'||Array['isArray'](_0x562810))return!0x1;let _0x496d28=_0x562810;return'i'in _0x496d28||'r'in _0x496d28||'p'in _0x496d28||'d'in _0x496d28||'es'in _0x496d28||_0x27beaa(0x1a3)in _0x496d28||'et'in _0x496d28;}function $e(_0x59e412,_0x67124f){const _0x11baa1=_0x1040ac;let _0x72bb3f=_0x59e412;for(let _0x1ccab=0x0;_0x1ccab<_0x67124f[_0x11baa1(0x1ac)]-0x1;_0x1ccab++){let _0x221eec=_0x67124f[_0x1ccab],_0x525bbc=_0x72bb3f==null?void 0x0:_0x72bb3f[_0x221eec];if(!et(_0x525bbc))return;let _0x37378b=tt(_0x525bbc);_0x72bb3f[_0x221eec]=_0x37378b,_0x72bb3f=_0x37378b;}}function et(_0x54efdb){const _0x49dde9=_0x1040ac;return!!_0x54efdb&&typeof _0x54efdb==_0x49dde9(0x101);}function tt(_0x40ddda){const _0x5088c6=_0x1040ac;return Array[_0x5088c6(0x1c5)](_0x40ddda)?_0x40ddda[_0x5088c6(0x35c)]():{..._0x40ddda};}const nt=0x5a0*0x3c*0x3e8,rt=0x63e1,it=_0x1040ac(0x13a),at={'yyyy/mm/dd':_0x1040ac(0x326),'yyyy/mm/dd\x20hh:mm':_0x1040ac(0x1b0),'yyyy-mm-dd':_0x1040ac(0x13e),'mm-dd':'MM-DD','mm/dd/yyyy':'MM/DD/YYYY','dd/mm/yyyy':_0x1040ac(0x282),'mmm\x20d,\x20yyyy':_0x1040ac(0x15c)};function j(_0x407524){const _0x526688=_0x1040ac;return _0x4bf057(_0x407524)[_0x526688(0x13c)]()/nt+rt;}function ot(_0x1bea8d){return(_0x1bea8d-rt)*nt;}function M(_0x3f6745){const _0x31edbb=_0x1040ac;if(_0x3f6745==null||_0x3f6745==='')return null;if(_0x3f6745 instanceof Date)return j(_0x3f6745);if(typeof _0x3f6745==_0x31edbb(0x1f7))return Number[_0x31edbb(0x299)](_0x3f6745)?_0x3f6745>0xf4240?j(_0x3f6745):_0x3f6745:null;let _0xfe2cfc=Date['parse'](String(_0x3f6745));return Number['isNaN'](_0xfe2cfc)?null:j(_0xfe2cfc);}function N(_0x5845d2){let _0x43ee7c=M(_0x5845d2);return _0x43ee7c==null?null:ot(_0x43ee7c);}function st(_0x269cb7,_0x11ecab={}){const _0x2bed4b=_0x1040ac;var _0x36ac7e,_0x1126f5,_0x4877a1;let _0x413b19=N(_0x269cb7);if(_0x413b19==null||!Number['isFinite'](_0x413b19))return'';let _0x4f0c96=String((_0x36ac7e=(_0x1126f5=_0x11ecab['pattern'])==null?_0x11ecab[_0x2bed4b(0x25a)]:_0x1126f5)==null?it:_0x36ac7e),_0x230bdc=_0x11ecab[_0x2bed4b(0x36c)]===!0x0||_0x4f0c96['includes'](_0x2bed4b(0x285)),_0xe5b235=String((_0x4877a1=_0x11ecab[_0x2bed4b(0x304)])==null?_0x2bed4b(0x188):_0x4877a1);return _0x4bf057(_0x413b19)[_0x2bed4b(0x25a)](ct(_0x4f0c96,_0x230bdc,_0xe5b235));}function ct(_0xc7a1f6,_0x277820,_0x403193){const _0x1e3aa4=_0x1040ac;var _0xc29770;let _0x1813e5=(_0xc29770=at[_0xc7a1f6])==null?at[it]:_0xc29770;return!_0x277820||_0xc7a1f6[_0x1e3aa4(0x207)](_0x1e3aa4(0x285))?_0x1813e5:_0x1813e5+'\x20'+(_0x403193===_0x1e3aa4(0x1e2)?_0x1e3aa4(0xbf):_0x1e3aa4(0x13b));}const lt={'editable':!0x0,'sortable':!0x0,'filterable':!0x0,'groupable':!0x1,'usableAsKanbanGroup':!0x1,'usableAsCalendarDate':!0x1,'usableAsGanttStart':!0x1,'usableAsGanttEnd':!0x1,'usableAsGanttProgress':!0x1,'usableAsCardCover':!0x1,'usableAsTitle':!0x1},ut=new Set([_0x406b36[_0x1040ac(0x2c6)],_0x406b36[_0x1040ac(0x31f)],_0x406b36[_0x1040ac(0x20c)],_0x406b36[_0x1040ac(0x313)],_0x406b36[_0x1040ac(0xb9)],_0x406b36[_0x1040ac(0x317)],_0x406b36[_0x1040ac(0x18a)],_0x406b36[_0x1040ac(0x166)]]),P=0x5a0*0x3c*0x3e8;function dt(_0x11e94b,_0x42b049){const _0x58bc0e=_0x1040ac;return _0x11e94b==null&&_0x42b049==null?0x0:_0x11e94b==null?-0x1:_0x42b049==null?0x1:typeof _0x11e94b==_0x58bc0e(0x1f7)&&typeof _0x42b049==_0x58bc0e(0x1f7)?_0x11e94b-_0x42b049:String(_0x11e94b)[_0x58bc0e(0x31c)](String(_0x42b049));}function ft(_0xd39531,_0x3662b8,_0x3032a7,_0x4ce7bb,_0x52d1e8={}){const _0x3cee3c=_0x1040ac;if(_0x3662b8==='isEmpty')return pt(_0xd39531);if(_0x3662b8===_0x3cee3c(0x157))return!pt(_0xd39531);switch(_0x4ce7bb['type']){case _0x406b36[_0x3cee3c(0x123)]:case _0x406b36['Currency']:case _0x406b36[_0x3cee3c(0x1fe)]:case _0x406b36[_0x3cee3c(0x367)]:return mt(_0xd39531,_0x3662b8,_0x3032a7);case _0x406b36['Date']:case _0x406b36[_0x3cee3c(0x34e)]:case _0x406b36[_0x3cee3c(0xc5)]:return gt(_0xd39531,_0x3662b8,_0x3032a7,_0x52d1e8);case _0x406b36['Checkbox']:return St(_0xd39531,_0x3662b8,_0x3032a7);case _0x406b36['SingleSelect']:case _0x406b36[_0x3cee3c(0x2ce)]:case _0x406b36[_0x3cee3c(0x1ff)]:case _0x406b36['Group']:return wt(_0xd39531,_0x3662b8,_0x3032a7,_0x4ce7bb);default:return Tt(_0xd39531,_0x3662b8,_0x3032a7);}}function pt(_0x3f78be){const _0x1ee638=_0x1040ac;return _0x3f78be==null?!0x0:Array['isArray'](_0x3f78be)?_0x3f78be[_0x1ee638(0x1ac)]===0x0:typeof _0x3f78be==_0x1ee638(0x2e9)?_0x3f78be[_0x1ee638(0x1e6)]()==='':!0x1;}function mt(_0x24e9f6,_0x476b1e,_0x1b4118){const _0x26de73=_0x1040ac;let _0x4650f1=ht(_0x24e9f6),_0x243b6d=ht(_0x1b4118);if(_0x4650f1==null||_0x243b6d==null)return!0x1;switch(_0x476b1e){case'is':return _0x4650f1===_0x243b6d;case _0x26de73(0x212):return _0x4650f1!==_0x243b6d;case _0x26de73(0x355):return _0x4650f1>_0x243b6d;case _0x26de73(0x25e):return _0x4650f1>=_0x243b6d;case'lessThan':return _0x4650f1<_0x243b6d;case _0x26de73(0x1ef):return _0x4650f1<=_0x243b6d;default:return!0x1;}}function ht(_0x15b29f){const _0x3fd9e9=_0x1040ac;if(_0x15b29f==null||_0x15b29f==='')return null;let _0x1455a4=Number(_0x15b29f);return Number[_0x3fd9e9(0x299)](_0x1455a4)?_0x1455a4:null;}function gt(_0x337265,_0x1a2a49,_0x22009d,_0x50d9fe){const _0x12bb04=_0x1040ac;var _0x2eca5;let _0xe913cc=vt(_0x337265);if(_0xe913cc==null)return!0x1;let _0x24c639=_t((_0x2eca5=_0x50d9fe['dateMode'])==null?'exact':_0x2eca5,_0x22009d,_0x50d9fe[_0x12bb04(0x2c5)]);if(!_0x24c639)return!0x1;switch(_0x1a2a49){case'is':return _0xe913cc>=_0x24c639['start']&&_0xe913cc<=_0x24c639[_0x12bb04(0x23b)];case _0x12bb04(0x212):return _0xe913cc<_0x24c639['start']||_0xe913cc>_0x24c639['end'];case _0x12bb04(0x281):return _0xe913cc<_0x24c639[_0x12bb04(0xc7)];case _0x12bb04(0x341):return _0xe913cc>_0x24c639['end'];default:return!0x1;}}function _t(_0x39454e,_0x533669,_0x34e7a0=Date[_0x1040ac(0x2c5)]()){const _0x2855e5=_0x1040ac;let _0x466280=yt(_0x34e7a0);switch(_0x39454e){case _0x2855e5(0x2cc):{let _0x140b39=vt(_0x533669);return _0x140b39==null?null:{'start':_0x140b39,'end':_0x140b39+P-0x1};}case'today':return{'start':_0x466280,'end':_0x466280+P-0x1};case _0x2855e5(0xeb):return{'start':_0x466280+P,'end':_0x466280+P*0x2-0x1};case _0x2855e5(0x17e):return{'start':_0x466280-P,'end':_0x466280-0x1};case'thisWeek':return bt(_0x466280,0x0);case _0x2855e5(0x242):return bt(_0x466280,-0x1);case _0x2855e5(0x31a):return xt(_0x466280,0x0);case _0x2855e5(0x2c3):return xt(_0x466280,-0x1);case _0x2855e5(0x30a):return{'start':_0x466280-P*0x6,'end':_0x466280+P-0x1};case'next7':return{'start':_0x466280,'end':_0x466280+P*0x7-0x1};case _0x2855e5(0x2dd):return{'start':_0x466280-P*0x1d,'end':_0x466280+P-0x1};case _0x2855e5(0x291):return{'start':_0x466280,'end':_0x466280+P*0x1e-0x1};}}function vt(_0x368de8){let _0x30f894=M(_0x368de8);return _0x30f894==null?null:yt(ot(_0x30f894));}function yt(_0x12d6cc){let _0x2e0f1f=new Date(_0x12d6cc);return _0x2e0f1f['setHours'](0x0,0x0,0x0,0x0),_0x2e0f1f['getTime']();}function bt(_0x1e6337,_0xdbd32e){const _0x47c1ee=_0x1040ac;let _0x354e9a=_0x1e6337-(new Date(_0x1e6337)[_0x47c1ee(0x113)]()+0x6)%0x7*P+_0xdbd32e*P*0x7;return{'start':_0x354e9a,'end':_0x354e9a+P*0x7-0x1};}function xt(_0x22bfdd,_0x3af9fc){const _0x4c15f2=_0x1040ac;let _0x50df1d=new Date(_0x22bfdd),_0x3c438b=new Date(_0x50df1d[_0x4c15f2(0x30f)](),_0x50df1d['getMonth']()+_0x3af9fc,0x1),_0x1f9e5f=new Date(_0x50df1d['getFullYear'](),_0x50df1d[_0x4c15f2(0x237)]()+_0x3af9fc+0x1,0x1);return{'start':_0x3c438b[_0x4c15f2(0x230)](),'end':_0x1f9e5f['getTime']()-0x1};}function St(_0xb08422,_0x393c26,_0x141ea1){let _0x5d3a4e=Ct(_0xb08422),_0x22e4ad=Ct(_0x141ea1);switch(_0x393c26){case'is':return _0x5d3a4e===_0x22e4ad;case'isNot':return _0x5d3a4e!==_0x22e4ad;default:return!0x1;}}function Ct(_0x4b9d61){const _0xaa02bb=_0x1040ac;return _0x4b9d61===!0x0||_0x4b9d61===_0xaa02bb(0x20f)||_0x4b9d61===0x1||_0x4b9d61==='1';}function wt(_0x4f6c73,_0x1e3f75,_0x324696,_0x41bd75){const _0x1d2285=_0x1040ac;let _0x520813=Dt(_0x4f6c73,_0x41bd75),_0x5c98bc=Dt(_0x324696,_0x41bd75),_0x2d9a3a=_0x5c98bc['length']>0x0&&_0x5c98bc[_0x1d2285(0x20d)](_0x935b18=>_0x520813[_0x1d2285(0x207)](_0x935b18));switch(_0x1e3f75){case'is':case _0x1d2285(0x131):return _0x2d9a3a;case _0x1d2285(0x212):case'notContains':return!_0x2d9a3a;default:return!0x1;}}function Tt(_0x58133a,_0x571f12,_0xf3e0ac){const _0x1d8e22=_0x1040ac;let _0x299cf9=Et(_0x58133a),_0xfa5812=Et(_0xf3e0ac);switch(_0x571f12){case'is':return _0x299cf9===_0xfa5812;case _0x1d8e22(0x212):return _0x299cf9!==_0xfa5812;case'contains':return _0xfa5812?_0x299cf9[_0x1d8e22(0x207)](_0xfa5812):!0x1;case _0x1d8e22(0x2ac):return _0xfa5812?!_0x299cf9[_0x1d8e22(0x207)](_0xfa5812):!0x0;default:return!0x1;}}function Et(_0x1262cc){const _0x56ffd3=_0x1040ac;if(Array['isArray'](_0x1262cc))return _0x1262cc[_0x56ffd3(0xb4)](_0x515d83=>Et(_0x515d83))['join']('\x0a');if(_0x1262cc&&typeof _0x1262cc==_0x56ffd3(0x101)){var _0x15c0ba,_0x594d43,_0x469709,_0x2649fd,_0x29d32f;let _0xb7ac65=_0x1262cc;return String((_0x15c0ba=(_0x594d43=(_0x469709=(_0x2649fd=(_0x29d32f=_0xb7ac65['name'])==null?_0xb7ac65['label']:_0x29d32f)==null?_0xb7ac65['text']:_0x2649fd)==null?_0xb7ac65['value']:_0x469709)==null?_0xb7ac65['id']:_0x594d43)==null?'':_0x15c0ba)[_0x56ffd3(0x1e6)]()[_0x56ffd3(0x1da)]();}return String(_0x1262cc==null?'':_0x1262cc)[_0x56ffd3(0x1e6)]()[_0x56ffd3(0x1da)]();}function Dt(_0x362e8d,_0x4d9183){const _0x1380f5=_0x1040ac;var _0x1319e1;let _0xaedf73=Ot(_0x362e8d),_0x13021c=kt((_0x1319e1=_0x4d9183[_0x1380f5(0x2ed)])==null?{}:_0x1319e1);return _0xaedf73['flatMap'](_0x594a38=>{const _0x1893a1=_0x1380f5;var _0x34d980;return(_0x34d980=_0x13021c[_0x1893a1(0x370)](_0x594a38))==null?[_0x594a38]:_0x34d980;})[_0x1380f5(0x308)]((_0x150212,_0x46c2e2,_0x10da6e)=>_0x150212!==''&&_0x10da6e[_0x1380f5(0x28a)](_0x150212)===_0x46c2e2);}function Ot(_0x134a25){const _0xe6aa74=_0x1040ac;if(_0x134a25==null||_0x134a25==='')return[];if(Array[_0xe6aa74(0x1c5)](_0x134a25))return _0x134a25[_0xe6aa74(0x1a6)](_0x377948=>Ot(_0x377948));if(_0x134a25&&typeof _0x134a25==_0xe6aa74(0x101)){let _0x58864a=_0x134a25;return['id','name',_0xe6aa74(0xf1),_0xe6aa74(0x11a),_0xe6aa74(0x2ea)]['flatMap'](_0x23d6dd=>Ot(_0x58864a[_0x23d6dd]))[_0xe6aa74(0x308)]((_0xe986f0,_0x2360fd,_0x51c3f6)=>_0x51c3f6['indexOf'](_0xe986f0)===_0x2360fd);}return[Et(_0x134a25)];}function kt(_0x4d31f3){const _0x30d733=_0x1040ac;let _0x28e726=new Map();return(Array[_0x30d733(0x1c5)](_0x4d31f3[_0x30d733(0x1d9)])?_0x4d31f3['options']:[])['forEach'](_0x448348=>{const _0x18cdd2=_0x30d733;if(!_0x448348||typeof _0x448348!=_0x18cdd2(0x101))return;let _0x2a60b5=Ot(_0x448348),_0x556fc8=_0x2a60b5[_0x18cdd2(0x308)]((_0x29bc6f,_0x4e396d)=>_0x29bc6f!==''&&_0x2a60b5[_0x18cdd2(0x28a)](_0x29bc6f)===_0x4e396d);_0x556fc8[_0x18cdd2(0x2d3)](_0x5b17bd=>_0x28e726[_0x18cdd2(0xdc)](_0x5b17bd,_0x556fc8));}),_0x28e726;}function F(_0x30cac2,_0x450a12={},_0x175ed0=_0x20d996=>_0x20d996,_0x570626={}){const _0x3c774c=_0x1040ac;var _0x24c241,_0x2c0e20,_0x48f4be,_0xe2f06b;let _0x1fafd7=!ut[_0x3c774c(0x31e)](_0x30cac2),_0x4f1667=_0x175ed0==null?_0x586350=>_0x586350:_0x175ed0;return{'type':_0x30cac2,'i18nKey':_0x3c774c(0x248)+_0x30cac2,'enabled':_0x1fafd7,'visibleInCreateMenu':_0x1fafd7,'createDefaultConfig':(_0x24c241=_0x570626['createDefaultConfig'])==null?()=>({}):_0x24c241,'createDefaultValue':(_0x2c0e20=_0x570626['createDefaultValue'])==null?_0x25516e=>{const _0xd18db3=_0x3c774c;var _0x34eaf0;return(_0x34eaf0=_0x25516e[_0xd18db3(0x145)])==null?null:_0x34eaf0;}:_0x2c0e20,'normalize':(_0x25d976,_0xeb20a1)=>_0x4f1667(_0x25d976,_0xeb20a1),'validate':(_0x415f12,_0x122af6)=>{const _0x3a029a=_0x3c774c;var _0x1870f9,_0x302638;return _0x1fafd7?(_0x1870f9=(_0x302638=_0x570626[_0x3a029a(0xb5)])==null?void 0x0:_0x302638[_0x3a029a(0x1ae)](_0x570626,_0x415f12,_0x122af6))==null?{'valid':!0x0}:_0x1870f9:{'valid':!0x1};},'compare':(_0x4eebb6,_0x4bf386)=>dt(_0x4eebb6,_0x4bf386),'filter':(_0x1f07c5,_0x2492af,_0x3093dd,_0x24222f)=>ft(_0x1f07c5,_0x2492af,_0x3093dd,_0x24222f),'toPlainText':(_0x48f4be=_0x570626[_0x3c774c(0x2bf)])==null?_0x525a93=>_0x525a93==null?'':String(_0x525a93):_0x48f4be,'fromPlainText':(_0xe2f06b=_0x570626[_0x3c774c(0x18d)])==null?_0x197b12=>_0x4f1667(_0x197b12,{'id':'','name':'','type':_0x30cac2,'config':{}}):_0xe2f06b,'getCapabilities':()=>{const _0x304447=_0x3c774c;var _0x62d626;return{...lt,..._0x450a12,'editable':_0x1fafd7&&((_0x62d626=_0x450a12[_0x304447(0x2cd)])==null?lt['editable']:_0x62d626)};}};}function At(){const _0x428f2a=_0x1040ac;return[F(_0x406b36[_0x428f2a(0x22f)],{'groupable':!0x0,'usableAsTitle':!0x0},void 0x0,{'createDefaultConfig':()=>({'placeholder':'bases.fieldConfig.textPlaceholder'}),'createDefaultValue':_0x26269b=>{var _0x406d3e;return(_0x406d3e=_0x26269b['defaultValue'])==null?'':_0x406d3e;}}),F(_0x406b36[_0x428f2a(0x1c7)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsOptions':!0x0},_0x4e2d28=>_0x4e2d28==null||_0x4e2d28===''?null:String(_0x4e2d28),{'createDefaultConfig':()=>({'options':[],'optionSource':{'type':_0x428f2a(0x2fd)}})}),F(_0x406b36[_0x428f2a(0x2ce)],{'filterable':!0x0,'usableAsKanbanGroup':!0x0,'supportsOptions':!0x0,'supportsMultipleValues':!0x0},_0x231ad8=>Array['isArray'](_0x231ad8)?_0x231ad8[_0x428f2a(0xb4)](String):_0x231ad8==null?[]:[String(_0x231ad8)],{'createDefaultConfig':()=>({'options':[],'optionSource':{'type':_0x428f2a(0x2fd)}}),'createDefaultValue':_0x28a3b0=>{const _0x27e95e=_0x428f2a;var _0xacdedd;return(_0xacdedd=_0x28a3b0[_0x27e95e(0x145)])==null?[]:_0xacdedd;}}),F(_0x406b36['Person'],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsMultipleValues':!0x0},Pt,{'createDefaultConfig':()=>({'allowMultiple':!0x1,'provider':'person'}),'validate':Ft}),F(_0x406b36[_0x428f2a(0x26b)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsMultipleValues':!0x0},Nt,{'createDefaultConfig':()=>({'allowMultiple':!0x0,'provider':'group'}),'createDefaultValue':_0xff5088=>{const _0x4da8f0=_0x428f2a;var _0x54f833;return(_0x54f833=_0xff5088[_0x4da8f0(0x145)])==null?[]:_0x54f833;},'validate':It}),F(_0x406b36[_0x428f2a(0x107)],{'groupable':!0x0,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x531577=>M(_0x531577),{'createDefaultConfig':()=>Mt(),'validate':Lt}),F(_0x406b36[_0x428f2a(0x197)],{'usableAsCardCover':!0x0,'supportsMultipleValues':!0x0},_0x357182=>_0x357182==null?[]:Array['isArray'](_0x357182)?_0x357182:[_0x357182],{'createDefaultValue':_0x26cbf4=>{var _0x81df9b;return(_0x81df9b=_0x26cbf4['defaultValue'])==null?[]:_0x81df9b;}}),F(_0x406b36[_0x428f2a(0x123)],{},_0x5cfa75=>_0x5cfa75==null||_0x5cfa75===''?null:Number(_0x5cfa75),{'createDefaultConfig':()=>jt(),'validate':Rt}),F(_0x406b36['Checkbox'],{'groupable':!0x0,'usableAsKanbanGroup':!0x0},_0x40118b=>_0x40118b===!0x0||_0x40118b===_0x428f2a(0x20f)||_0x40118b===0x1||_0x40118b==='1',{'createDefaultConfig':()=>({'icon':'check','color':_0x428f2a(0x346)}),'createDefaultValue':_0x404c5f=>{const _0x4083ba=_0x428f2a;var _0x387a7e;return(_0x387a7e=_0x404c5f[_0x4083ba(0x145)])==null?!0x1:_0x387a7e;},'validate':_0x2d47ab=>typeof _0x2d47ab=='boolean'?{'valid':!0x0}:{'valid':!0x1,'reason':_0x428f2a(0xae)}}),F(_0x406b36[_0x428f2a(0xa6)],{'supportsRelation':!0x0},Bt,{'createDefaultConfig':()=>({'placeholder':_0x428f2a(0x28e)}),'toPlainText':_0xe1806f=>Vt(_0xe1806f),'fromPlainText':_0x1fbdb1=>Bt(_0x1fbdb1)}),F(_0x406b36['Formula'],{'editable':!0x1},void 0x0,{'createDefaultConfig':()=>({'formula':'','dependencies':[],'numfmt':{'type':'general','pattern':'General'}}),'createDefaultValue':()=>null}),F(_0x406b36['Lookup'],{}),F(_0x406b36[_0x428f2a(0x20c)],{}),F(_0x406b36[_0x428f2a(0x313)],{'editable':!0x1,'sortable':!0x1,'filterable':!0x1}),F(_0x406b36[_0x428f2a(0x1b1)],{'editable':!0x1,'usableAsTitle':!0x0},void 0x0,{'createDefaultConfig':()=>({'mode':_0x428f2a(0x33e)}),'createDefaultValue':()=>null}),F(_0x406b36[_0x428f2a(0x287)],{'usableAsTitle':!0x0},_0x31c35f=>_0x31c35f==null?null:String(_0x31c35f)[_0x428f2a(0x1e6)](),{'validate':_0x11b9d8=>_0x11b9d8==null||_0x11b9d8===''||/^\+?[0-9 ()-]{6,20}$/[_0x428f2a(0x34b)](String(_0x11b9d8))?{'valid':!0x0}:{'valid':!0x1,'reason':_0x428f2a(0x2ae)}}),F(_0x406b36[_0x428f2a(0x331)],{'usableAsTitle':!0x0},_0x1f2988=>_0x1f2988==null?null:String(_0x1f2988)['trim'](),{'validate':_0x37b035=>_0x37b035==null||_0x37b035===''||Ut(String(_0x37b035))?{'valid':!0x0}:{'valid':!0x1,'reason':_0x428f2a(0xa8)}}),F(_0x406b36[_0x428f2a(0xb9)],{'usableAsTitle':!0x0}),F(_0x406b36[_0x428f2a(0x166)],{'usableAsTitle':!0x0}),F(_0x406b36['Progress'],{'usableAsGanttProgress':!0x0},_0x59d9b8=>_0x59d9b8==null||_0x59d9b8===''?null:Number(_0x59d9b8),{'createDefaultConfig':()=>({'format':_0x428f2a(0xca),'decimalPlaces':0x0,'color':_0x428f2a(0x20a),'customRange':!0x1,'start':0x0,'end':0x64}),'validate':(_0x15387d,_0x35fc19)=>zt(_0x15387d,_0x35fc19,_0x428f2a(0x11b))}),F(_0x406b36[_0x428f2a(0xcf)],{},_0x56ab23=>_0x56ab23==null||_0x56ab23===''?null:Number(_0x56ab23),{'createDefaultConfig':()=>({...jt(),'currencySymbol':'$'}),'validate':Rt}),F(_0x406b36[_0x428f2a(0x367)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0},_0x1a9828=>_0x1a9828==null||_0x1a9828===''?null:Number(_0x1a9828),{'createDefaultConfig':()=>({'icon':_0x428f2a(0x368),'min':0x1,'max':0x5}),'createDefaultValue':()=>null,'validate':(_0x1074f,_0x581f91)=>zt(_0x1074f,_0x581f91,_0x428f2a(0x2c7))}),F(_0x406b36[_0x428f2a(0x317)],{'supportsRelation':!0x0}),F(_0x406b36['RecordId'],{'editable':!0x1,'sortable':!0x0,'filterable':!0x0,'usableAsTitle':!0x0}),F(_0x406b36[_0x428f2a(0x2bb)],{'editable':!0x1,'groupable':!0x0},_0x3e970c=>_0x3e970c==null?null:String(_0x3e970c),{'createDefaultConfig':()=>({'provider':'user'}),'createDefaultValue':()=>null}),F(_0x406b36[_0x428f2a(0x23e)],{'editable':!0x1,'groupable':!0x0},_0x19eeea=>_0x19eeea==null?null:String(_0x19eeea),{'createDefaultConfig':()=>({'provider':'user'}),'createDefaultValue':()=>null}),F(_0x406b36[_0x428f2a(0x34e)],{'editable':!0x1,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x30bea3=>M(_0x30bea3),{'createDefaultConfig':()=>Mt(),'createDefaultValue':()=>null,'validate':Lt}),F(_0x406b36[_0x428f2a(0xc5)],{'editable':!0x1,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x5ba11e=>M(_0x5ba11e),{'createDefaultConfig':()=>Mt(),'createDefaultValue':()=>null,'validate':Lt}),F(_0x406b36[_0x428f2a(0x31f)],{})];}function jt(){const _0x458ffb=_0x1040ac;return{'pattern':_0x458ffb(0x159),'decimalPlaces':0x2,'separatorStyle':_0x458ffb(0x2c0),'useThousands':!0x0,'abbreviation':_0x458ffb(0x208),'allowNegative':!0x0};}function Mt(){const _0x4723f3=_0x1040ac;return{'locale':_0x4723f3(0xc9),'pattern':_0x4723f3(0x13a),'includeTime':!0x1,'hourCycle':'h24','defaultMode':_0x4723f3(0x208)};}function Nt(_0x2cf9bc){const _0x153a56=_0x1040ac;return _0x2cf9bc==null||_0x2cf9bc===''?[]:Array[_0x153a56(0x1c5)](_0x2cf9bc)?_0x2cf9bc[_0x153a56(0xb4)](String):[String(_0x2cf9bc)];}function Pt(_0x2db21c,_0xfd5a54){const _0x389161=_0x1040ac;var _0xafeba5;return _0x2db21c==null||_0x2db21c===''?_0xfd5a54['config'][_0x389161(0x17f)]===!0x0?[]:null:_0xfd5a54[_0x389161(0x2ed)][_0x389161(0x17f)]===!0x0?Array['isArray'](_0x2db21c)?_0x2db21c[_0x389161(0xb4)](String):[String(_0x2db21c)]:Array[_0x389161(0x1c5)](_0x2db21c)?String((_0xafeba5=_0x2db21c[0x0])==null?'':_0xafeba5)||null:String(_0x2db21c);}function Ft(_0x422e15,_0x38da85){const _0x119ef2=_0x1040ac;return _0x38da85[_0x119ef2(0x2ed)]['allowMultiple']===!0x0?It(_0x422e15):_0x422e15==null||_0x422e15===''||typeof _0x422e15=='string'?{'valid':!0x0}:{'valid':!0x1,'reason':'[BaseField]:\x20invalid\x20person\x20value.'};}function It(_0x285844){const _0x2c48c0=_0x1040ac;return _0x285844==null||Array[_0x2c48c0(0x1c5)](_0x285844)&&_0x285844[_0x2c48c0(0xb1)](_0x430e0e=>typeof _0x430e0e=='string')?{'valid':!0x0}:{'valid':!0x1,'reason':_0x2c48c0(0x2f8)};}function Lt(_0x3a1958){const _0x4e33a3=_0x1040ac;return _0x3a1958==null||typeof _0x3a1958=='number'&&Number['isFinite'](_0x3a1958)?{'valid':!0x0}:{'valid':!0x1,'reason':_0x4e33a3(0x135)};}function Rt(_0x579813,_0x417fa4){const _0x3ffbb9=_0x1040ac;return _0x579813==null||_0x579813===''?{'valid':!0x0}:typeof _0x579813!='number'||!Number[_0x3ffbb9(0x299)](_0x579813)?{'valid':!0x1,'reason':'[BaseField]:\x20invalid\x20number\x20value.'}:_0x417fa4[_0x3ffbb9(0x2ed)][_0x3ffbb9(0x318)]===!0x1&&_0x579813<0x0?{'valid':!0x1,'reason':_0x3ffbb9(0x36f)}:{'valid':!0x0};}function zt(_0x2ad3b7,_0xdf9a27,_0x14394e){const _0x368cf2=_0x1040ac;var _0x57635c,_0x5c97e6,_0x48fab2,_0x17a1f3;let _0x1799a2=Rt(_0x2ad3b7,_0xdf9a27);if(!_0x1799a2['valid']||_0x2ad3b7==null||_0x2ad3b7==='')return _0x1799a2;let _0x2cb984=Number((_0x57635c=(_0x5c97e6=_0xdf9a27[_0x368cf2(0x2ed)][_0x368cf2(0x244)])==null?_0xdf9a27[_0x368cf2(0x2ed)][_0x368cf2(0xc7)]:_0x5c97e6)==null?0x0:_0x57635c),_0x33b0a9=Number((_0x48fab2=(_0x17a1f3=_0xdf9a27[_0x368cf2(0x2ed)][_0x368cf2(0x2f7)])==null?_0xdf9a27['config']['end']:_0x17a1f3)==null?0x64:_0x48fab2),_0x352090=Number(_0x2ad3b7);return _0x352090>=_0x2cb984&&_0x352090<=_0x33b0a9?{'valid':!0x0}:{'valid':!0x1,'reason':_0x14394e};}function Bt(_0x3acb67){const _0x3f1ca4=_0x1040ac;if(_0x3acb67==null||_0x3acb67==='')return null;if(typeof _0x3acb67==_0x3f1ca4(0x101)&&!Array[_0x3f1ca4(0x1c5)](_0x3acb67)){let _0x598114=_0x3acb67,_0x1fca7a=typeof _0x598114[_0x3f1ca4(0x2ea)]==_0x3f1ca4(0x2e9)?_0x598114[_0x3f1ca4(0x2ea)]['trim']():'',_0x3b1317=typeof _0x598114[_0x3f1ca4(0x36e)]==_0x3f1ca4(0x2e9)?_0x598114[_0x3f1ca4(0x36e)][_0x3f1ca4(0x1e6)]():'',_0x4594e6=Ht(_0x3b1317||_0x1fca7a);return _0x4594e6?{'text':_0x1fca7a||_0x3b1317||_0x4594e6,'url':_0x4594e6}:null;}let _0x4ef2ba=String(_0x3acb67)[_0x3f1ca4(0x1e6)](),_0x5db2cf=Ht(_0x4ef2ba);return _0x5db2cf?{'text':_0x4ef2ba,'url':_0x5db2cf}:null;}function Vt(_0x42d06a){const _0x273d3f=_0x1040ac;if(_0x42d06a==null)return'';if(typeof _0x42d06a==_0x273d3f(0x101)&&!Array['isArray'](_0x42d06a)){let _0x385a63=_0x42d06a;return String(_0x385a63[_0x273d3f(0x2ea)]||_0x385a63[_0x273d3f(0x36e)]||'');}return String(_0x42d06a);}function Ht(_0x3995c7){const _0x1cae63=_0x1040ac;let _0xd2b4ea=_0x3995c7[_0x1cae63(0x1e6)]();return _0xd2b4ea?/^[a-z][a-z\d+.-]*:\/\//i[_0x1cae63(0x34b)](_0xd2b4ea)?_0xd2b4ea:_0x1cae63(0x1cd)+_0xd2b4ea:'';}function Ut(_0x4599c1){const _0x58b79e=_0x1040ac;let _0x500ab9=_0x4599c1[_0x58b79e(0x28a)]('@');if(_0x500ab9<=0x0||_0x500ab9!==_0x4599c1[_0x58b79e(0x293)]('@'))return!0x1;let _0x4acf3e=_0x4599c1['slice'](_0x500ab9+0x1);return _0x4acf3e['includes']('.')&&!_0x4599c1[_0x58b79e(0x207)]('\x20')&&!_0x4acf3e['startsWith']('.')&&!_0x4acf3e['endsWith']('.');}const I={'table':_0x17df21=>['tables',_0x17df21],'field':(_0x363a6e,_0x2ff404)=>[_0x1040ac(0x274),_0x363a6e,_0x1040ac(0x351),_0x2ff404],'fieldOrder':(_0x5bcf2e,_0x3a70e5)=>['tables',_0x5bcf2e,'fieldOrder',_0x3a70e5],'record':(_0x56d3d5,_0x223f20)=>[_0x1040ac(0x274),_0x56d3d5,_0x1040ac(0x1fa),_0x223f20],'cell':(_0x7dc53e,_0x2d601e,_0x32f632)=>['tables',_0x7dc53e,_0x1040ac(0x1fa),_0x2d601e,_0x1040ac(0x29d),_0x32f632],'cellData':(_0x4550b3,_0x1265bb,_0x4816c6)=>[_0x1040ac(0x274),_0x4550b3,_0x1040ac(0x184),String(_0x1265bb),String(_0x4816c6)],'attachmentSet':(_0x4867da,_0x5c272f)=>[_0x1040ac(0x274),_0x4867da,_0x1040ac(0x9f),_0x1040ac(0x2a2),_0x5c272f],'attachment':(_0xc41b8,_0x42a660)=>[_0x1040ac(0x274),_0xc41b8,_0x1040ac(0x9f),_0x1040ac(0x22a),_0x42a660],'view':(_0x4f9329,_0x3e07b4)=>[_0x1040ac(0x274),_0x4f9329,_0x1040ac(0x165),_0x3e07b4],'viewFieldHidden':(_0x42ba2e,_0x2413e7,_0x84e521)=>[_0x1040ac(0x274),_0x42ba2e,_0x1040ac(0x165),_0x2413e7,'fieldSettings',_0x84e521,'hidden']};function L(_0x51afe9){const _0x2aa3bf=_0x1040ac;return _0x51afe9[_0x2aa3bf(0x2b8)]((_0x250762,_0x5f326e)=>_0x250762==null?_0x5f326e:_0x5db611[_0x2aa3bf(0xd2)][_0x2aa3bf(0x260)](_0x250762,_0x5f326e),void 0x0);}var R=class{['setBaseName'](_0x210b3e,_0x136b79){const _0x21c72b=_0x1040ac;let _0x19ef08=this[_0x21c72b(0xa1)](_0x210b3e,_0x210b3e[_0x21c72b(0x27a)],_0x136b79);return L([this['_replaceOptional'](['name'],_0x210b3e[_0x21c72b(0x27a)],_0x136b79),..._0x19ef08?[_0x19ef08]:[]]);}[_0x1040ac(0xa1)](_0x1e587a,_0x4afbeb,_0x31f642){const _0x2f5036=_0x1040ac;let _0x246c61=Object['values'](_0x1e587a['tables'])['flatMap'](_0x3202f5=>Object[_0x2f5036(0x29d)](_0x3202f5[_0x2f5036(0x351)])[_0x2f5036(0x1a6)](_0x51c69e=>{const _0x125160=_0x2f5036;var _0x2ddbe5,_0x42ed13,_0x24f02c;if(_0x51c69e[_0x125160(0xd2)]!==_0x406b36['Formula'])return[];let _0x39fef7=String((_0x2ddbe5=(_0x42ed13=_0x51c69e[_0x125160(0x2ed)])==null?void 0x0:_0x42ed13[_0x125160(0x345)])==null?'':_0x2ddbe5),_0x7da33c=_0x5eb607(_0x39fef7,_0x4afbeb,_0x31f642);return _0x7da33c===_0x39fef7?[]:[this['_replaceOptional']([...I[_0x125160(0x16b)](_0x3202f5['id'],_0x51c69e['id']),'config',_0x125160(0x345)],(_0x24f02c=_0x51c69e[_0x125160(0x2ed)])==null?void 0x0:_0x24f02c[_0x125160(0x345)],_0x7da33c)];}));return _0x246c61[_0x2f5036(0x1ac)]>0x0?L(_0x246c61):void 0x0;}[_0x1040ac(0x24b)](_0x2b7659,_0x493615,_0xd07f6b=_0x2b7659[_0x1040ac(0x11c)]['length']){const _0x421047=_0x1040ac;return L([_0x5db611[_0x421047(0x246)](I[_0x421047(0x2fc)](_0x493615['id']),_0x493615),_0x5db611[_0x421047(0x246)]([_0x421047(0x11c),_0xd07f6b],_0x493615['id'])]);}[_0x1040ac(0x1fd)](_0x4dfc14,_0x5a5160,_0x1a1f81){const _0x4df452=_0x1040ac;let _0x11afef=_0x4dfc14[_0x4df452(0x274)][_0x5a5160]['name'],_0x58abe4=Object[_0x4df452(0x29d)](_0x4dfc14[_0x4df452(0x274)])[_0x4df452(0x1a6)](_0x346353=>Object[_0x4df452(0x29d)](_0x346353[_0x4df452(0x351)])[_0x4df452(0x1a6)](_0x1a1ec5=>{const _0x3d4d70=_0x4df452;var _0x68e620,_0x5e4587;if(_0x1a1ec5[_0x3d4d70(0xd2)]!==_0x406b36[_0x3d4d70(0x2ec)])return[];let _0x2b6ba7=String((_0x68e620=(_0x5e4587=_0x1a1ec5[_0x3d4d70(0x2ed)])==null?void 0x0:_0x5e4587[_0x3d4d70(0x345)])==null?'':_0x68e620),_0x47fc03=Xt(_0x2b6ba7,_0x11afef,_0x1a1f81);return _0x47fc03===_0x2b6ba7?[]:[this[_0x3d4d70(0x22e)](_0x4dfc14,_0x346353['id'],_0x1a1ec5['id'],{'config':{..._0x1a1ec5['config'],'formula':_0x47fc03}})];}));return L([_0x5db611[_0x4df452(0x2ad)]([...I[_0x4df452(0x2fc)](_0x5a5160),_0x4df452(0x27a)],_0x11afef,_0x1a1f81),..._0x58abe4]);}[_0x1040ac(0x108)](_0xe2b72e,_0xb65523){const _0x3f2525=_0x1040ac;let _0x157333=_0xe2b72e[_0x3f2525(0x274)][_0xb65523],_0x95e088=_0xe2b72e[_0x3f2525(0x11c)][_0x3f2525(0x28a)](_0xb65523);return L([_0x5db611[_0x3f2525(0x139)](I['table'](_0xb65523),_0x157333),_0x5db611[_0x3f2525(0x139)]([_0x3f2525(0x11c),_0x95e088],_0xb65523)]);}[_0x1040ac(0x1e9)](_0x4c1f07,_0x4172a2,_0x4d903d){return this['createRecords'](_0x4c1f07,_0x4172a2,[_0x4d903d]);}['createRecords'](_0x3f132a,_0x5aa10d,_0x2465a3){const _0xee666d=_0x1040ac;let _0x1dd3eb=_0x3f132a[_0xee666d(0x274)][_0x5aa10d],_0x49a331=_0x2465a3[_0xee666d(0x308)](_0x13cd44=>_0x13cd44&&!_0x1dd3eb[_0xee666d(0x1fa)][_0x13cd44['id']]);return _0x49a331[_0xee666d(0x1ac)]?L([..._0x49a331[_0xee666d(0xb4)](_0x28818e=>_0x5db611[_0xee666d(0x246)](I['record'](_0x5aa10d,_0x28818e['id']),_0x28818e)),this[_0xee666d(0xbc)](_0x3f132a,_0x5aa10d,_0x49a331)]):_0x5db611['replaceOp']([...I[_0xee666d(0x2fc)](_0x5aa10d),_0xee666d(0x1fa)],_0x1dd3eb[_0xee666d(0x1fa)],_0x1dd3eb[_0xee666d(0x1fa)]);}[_0x1040ac(0x1af)](_0x10f268,_0x58b3d8,_0x107823){return this['deleteRecords'](_0x10f268,_0x58b3d8,[_0x107823]);}['deleteRecords'](_0x4a518d,_0x58da27,_0xcf8538){const _0x1bfb2a=_0x1040ac;let _0x24ce5b=_0x4a518d[_0x1bfb2a(0x274)][_0x58da27],_0x1b8481=Array[_0x1bfb2a(0x136)](new Set(_0xcf8538))['filter'](_0x1f2bd4=>_0x24ce5b[_0x1bfb2a(0x1fa)][_0x1f2bd4]);if(!_0x1b8481[_0x1bfb2a(0x1ac)])return _0x5db611[_0x1bfb2a(0x2ad)]([...I[_0x1bfb2a(0x2fc)](_0x58da27),_0x1bfb2a(0x1fa)],_0x24ce5b[_0x1bfb2a(0x1fa)],_0x24ce5b[_0x1bfb2a(0x1fa)]);let _0x1d2522=new Set(_0x1b8481),_0x4c620d=_0x1b8481[_0x1bfb2a(0xb4)](_0x3fc914=>{const _0x9d67d6=_0x1bfb2a;var _0x448980,_0x36c909;return{'recordId':_0x3fc914,'index':(_0x448980=(_0x36c909=_0x24ce5b[_0x9d67d6(0x218)])==null?void 0x0:_0x36c909['indexOf'](_0x3fc914))==null?-0x1:_0x448980};})['filter'](_0x267797=>_0x267797[_0x1bfb2a(0x314)]>=0x0)['sort']((_0x138def,_0x2e5e5a)=>_0x2e5e5a[_0x1bfb2a(0x314)]-_0x138def[_0x1bfb2a(0x314)]);return L([..._0x1b8481[_0x1bfb2a(0xb4)](_0x1bb4b2=>_0x5db611[_0x1bfb2a(0x139)](I[_0x1bfb2a(0x2dc)](_0x58da27,_0x1bb4b2),_0x24ce5b[_0x1bfb2a(0x1fa)][_0x1bb4b2])),..._0x4c620d['map'](({recordId:_0x1a398e,index:_0x936b3b})=>_0x5db611[_0x1bfb2a(0x139)]([_0x1bfb2a(0x274),_0x58da27,_0x1bfb2a(0x218),_0x936b3b],_0x1a398e)),...this[_0x1bfb2a(0x2f9)](_0x24ce5b,_0x58da27,_0x5c15d2=>{const _0x21eddc=_0x1bfb2a;let _0x36fceb=_0x5c15d2[_0x21eddc(0x35c)](_0x5c15d2[_0x21eddc(0x293)]('\x1f')+0x1);return _0x1d2522[_0x21eddc(0x31e)](_0x36fceb);})]);}[_0x1040ac(0xd9)](_0x88c0f6,_0x13cd95,_0x32e51a,_0x234244){const _0x39a9c0=_0x1040ac;return this[_0x39a9c0(0x1e9)](_0x88c0f6,_0x13cd95,{..._0x234244,'values':{..._0x88c0f6[_0x39a9c0(0x274)][_0x13cd95][_0x39a9c0(0x1fa)][_0x32e51a]['values'],..._0x234244[_0x39a9c0(0x29d)]}});}['updateRecordOrder'](_0x96cdd2,_0x45f86b,_0x120a30,_0x110969){const _0xc2b909=_0x1040ac;let _0x4f5e9b=_0x96cdd2[_0xc2b909(0x274)][_0x45f86b],_0x3f8fdc=[...I[_0xc2b909(0x2dc)](_0x45f86b,_0x120a30),_0xc2b909(0x1a0)],_0x120e2b=Object[_0xc2b909(0x29d)](_0x4f5e9b[_0xc2b909(0x1fa)])[_0xc2b909(0xb4)](_0x59dbbb=>_0x59dbbb['id']===_0x120a30?{..._0x59dbbb,'orderKey':_0x110969}:_0x59dbbb)[_0xc2b909(0x127)]((_0x23ecde,_0x3c6447)=>{const _0x2e95d4=_0xc2b909;var _0x2894de,_0x2ba64f;return String((_0x2894de=_0x23ecde['orderKey'])==null?_0x23ecde['id']:_0x2894de)[_0x2e95d4(0x31c)](String((_0x2ba64f=_0x3c6447['orderKey'])==null?_0x3c6447['id']:_0x2ba64f));})[_0xc2b909(0xb4)](_0x4a1875=>_0x4a1875['id']),_0x1c9cf1=[...I[_0xc2b909(0x2fc)](_0x45f86b),'recordOrder'];return L([_0x5db611[_0xc2b909(0x2ad)](_0x3f8fdc,_0x4f5e9b[_0xc2b909(0x1fa)][_0x120a30][_0xc2b909(0x1a0)],_0x110969),_0x4f5e9b[_0xc2b909(0x218)]?_0x5db611[_0xc2b909(0x2ad)](_0x1c9cf1,_0x4f5e9b[_0xc2b909(0x218)],_0x120e2b):_0x5db611[_0xc2b909(0x246)](_0x1c9cf1,_0x120e2b)]);}[_0x1040ac(0x2f2)](_0x46aec3,_0x83850b,_0x31e425,_0x3c51c1,_0x552a9f){const _0x4166dc=_0x1040ac;var _0x5d6f3e,_0x132515;let _0x44815e=_0x46aec3[_0x4166dc(0x274)][_0x83850b],_0x5c1ab4=Wt(_0x44815e,_0x31e425,_0x3c51c1)?_0x44815e:E(_0x44815e),_0x43efa3=(_0x5d6f3e=_0x5c1ab4[_0x4166dc(0x2f6)])==null?void 0x0:_0x5d6f3e[_0x31e425],_0x5ec255=(_0x132515=_0x5c1ab4[_0x4166dc(0x193)])==null?void 0x0:_0x132515[_0x3c51c1];if(_0x43efa3==null||_0x5ec255==null){var _0x16ce5f;return this[_0x4166dc(0xea)](I[_0x4166dc(0x2fb)](_0x83850b,_0x31e425,_0x3c51c1),(_0x16ce5f=_0x46aec3[_0x4166dc(0x274)][_0x83850b])==null||(_0x16ce5f=_0x16ce5f[_0x4166dc(0x1fa)][_0x31e425])==null?void 0x0:_0x16ce5f[_0x4166dc(0x29d)][_0x3c51c1],_0x552a9f);}return this['setRangeValues'](_0x46aec3,_0x83850b,[{'row':_0x43efa3,'col':_0x5ec255,'value':_0x552a9f}]);}[_0x1040ac(0x1a7)](_0x1f1e4f,_0x5d33fc,_0x53544e){const _0x5af9f0=_0x1040ac;let _0x264fd4=_0x1f1e4f[_0x5af9f0(0x274)][_0x5d33fc],_0x4744e5=_0x53544e[_0x5af9f0(0xb1)](_0x521d8c=>Object['keys'](_0x521d8c[_0x5af9f0(0x29d)])['every'](_0x25f966=>Wt(_0x264fd4,_0x521d8c[_0x5af9f0(0x158)],_0x25f966)))?_0x264fd4:E(_0x264fd4),_0x22f04a=_0x53544e[_0x5af9f0(0x1a6)](_0x4c4494=>Object['entries'](_0x4c4494[_0x5af9f0(0x29d)])[_0x5af9f0(0x1a6)](([_0x56711f,_0x24aa86])=>{const _0x26afbd=_0x5af9f0;var _0x36303c,_0x57e9be;let _0x33a441=(_0x36303c=_0x4744e5['rowIndex'])==null?void 0x0:_0x36303c[_0x4c4494[_0x26afbd(0x158)]],_0x2002fc=(_0x57e9be=_0x4744e5[_0x26afbd(0x193)])==null?void 0x0:_0x57e9be[_0x56711f];return _0x33a441==null||_0x2002fc==null?[]:[{'row':_0x33a441,'col':_0x2002fc,'value':_0x24aa86}];})),_0x3389c4=_0x53544e[_0x5af9f0(0x1a6)](_0x41170a=>{const _0x5b3bf4=_0x5af9f0;var _0x32a9c5;return Object['entries']((_0x32a9c5=_0x41170a[_0x5b3bf4(0x19e)])==null?{}:_0x32a9c5)['map'](([_0x4c372d,_0x5ba622])=>{const _0x97f201=_0x5b3bf4;var _0x4f2a41;let _0x1f1450=[...I[_0x97f201(0x2dc)](_0x5d33fc,_0x41170a[_0x97f201(0x158)]),_0x4c372d],_0x1d832f=(_0x4f2a41=_0x1f1e4f[_0x97f201(0x274)][_0x5d33fc])==null||(_0x4f2a41=_0x4f2a41[_0x97f201(0x1fa)][_0x41170a[_0x97f201(0x158)]])==null?void 0x0:_0x4f2a41[_0x4c372d];return this[_0x97f201(0xea)](_0x1f1450,_0x1d832f,_0x5ba622);});});return L([this[_0x5af9f0(0x10b)](_0x1f1e4f,_0x5d33fc,_0x22f04a),..._0x3389c4]);}[_0x1040ac(0x10b)](_0x4f1de4,_0x4a3042,_0x14816f){const _0x4fefab=_0x1040ac;let _0x5da719=_0x4f1de4['tables'][_0x4a3042],_0x1f6f0e=_0x14816f[_0x4fefab(0xb1)](_0x29daab=>Gt(_0x5da719,_0x29daab['row'],_0x29daab[_0x4fefab(0xb0)]))?_0x5da719:E(_0x5da719),_0x5c420e=_0x14816f[_0x4fefab(0x1a6)](_0x23e864=>{const _0x209eb8=_0x4fefab;var _0x46c761,_0xe608b4,_0x36af15,_0x3cff67;let _0x402361=(_0x46c761=_0x1f6f0e[_0x209eb8(0x2fa)])==null?void 0x0:_0x46c761[_0x23e864[_0x209eb8(0xb0)]],_0x470d9c=(_0xe608b4=_0x1f6f0e['rowId'])==null?void 0x0:_0xe608b4[_0x23e864[_0x209eb8(0x231)]],_0x84c860=_0x402361?_0x1f6f0e[_0x209eb8(0x351)][_0x402361]:void 0x0,_0x2d7c1d=D(_0x23e864['value'],_0x84c860),_0x164ccd=(_0x36af15=_0x1f6f0e[_0x209eb8(0x184)])==null||(_0x36af15=_0x36af15[_0x23e864[_0x209eb8(0x231)]])==null?void 0x0:_0x36af15[_0x23e864[_0x209eb8(0xb0)]],_0x46ace7=this[_0x209eb8(0xea)](I[_0x209eb8(0x184)](_0x4a3042,_0x23e864[_0x209eb8(0x231)],_0x23e864[_0x209eb8(0xb0)]),_0x164ccd,_0x2d7c1d);if(!_0x402361||!_0x470d9c)return[_0x46ace7];let _0x3e9412=(_0x3cff67=_0x1f6f0e['records'][_0x470d9c])==null?void 0x0:_0x3cff67['values'][_0x402361],_0x11b1aa=(_0x84c860==null?void 0x0:_0x84c860[_0x209eb8(0xd2)])===_0x406b36[_0x209eb8(0x197)]?O(_0x23e864[_0x209eb8(0x11a)]):Ae(_0x23e864[_0x209eb8(0x11a)],_0x2d7c1d,_0x84c860,_0x1f6f0e,_0x470d9c),_0x10b90a=[_0x46ace7,this[_0x209eb8(0xea)](I[_0x209eb8(0x2fb)](_0x4a3042,_0x470d9c,_0x402361),_0x3e9412,_0x11b1aa)];if((_0x84c860==null?void 0x0:_0x84c860[_0x209eb8(0xd2)])!==_0x406b36[_0x209eb8(0x197)])return _0x10b90a;let _0x52e0a5=this[_0x209eb8(0x262)](_0x1f6f0e,_0x4a3042,_0x470d9c,_0x402361,_0x11b1aa);return[..._0x10b90a,..._0x52e0a5];});return _0x5c420e['length']?L(_0x5c420e):_0x5db611[_0x4fefab(0x2ad)]([_0x4fefab(0x274),_0x4a3042,'cellData'],_0x1f6f0e[_0x4fefab(0x184)],_0x1f6f0e[_0x4fefab(0x184)]);}[_0x1040ac(0x2c2)](_0x94b092,_0x1cc31a,_0x125126){const _0x4c3257=_0x1040ac;var _0xc71cb7,_0x13bc92;let _0x34ad9d=_0x94b092[_0x4c3257(0x274)][_0x1cc31a];if(_0x34ad9d[_0x4c3257(0x351)][_0x125126[_0x4c3257(0x16b)]['id']]||_0x34ad9d[_0x4c3257(0xce)][_0x4c3257(0x207)](_0x125126[_0x4c3257(0x16b)]['id']))return _0x5db611['replaceOp']([_0x4c3257(0x274),_0x1cc31a,'fieldOrder'],_0x34ad9d[_0x4c3257(0xce)],_0x34ad9d['fieldOrder']);let _0x3b9ef8=(_0xc71cb7=_0x125126[_0x4c3257(0x314)])==null?_0x34ad9d['fieldOrder'][_0x4c3257(0x1ac)]:_0xc71cb7,_0x268bf0=Object[_0x4c3257(0x29d)]((_0x13bc92=_0x34ad9d[_0x4c3257(0x165)])==null?{}:_0x13bc92)[_0x4c3257(0x1a6)](_0x4a6a15=>{const _0x53ff9e=_0x4c3257;var _0x1fa3c1,_0x2139cd;if(!_0x4a6a15[_0x53ff9e(0xce)]||_0x4a6a15[_0x53ff9e(0xce)][_0x53ff9e(0x207)](_0x125126[_0x53ff9e(0x16b)]['id']))return[];let _0x51f441=Yt((_0x1fa3c1=(_0x2139cd=_0x125126[_0x53ff9e(0x347)])==null?void 0x0:_0x2139cd[_0x4a6a15['id']])==null?_0x3b9ef8:_0x1fa3c1,_0x4a6a15[_0x53ff9e(0xce)][_0x53ff9e(0x1ac)]);return[_0x5db611[_0x53ff9e(0x246)]([...I[_0x53ff9e(0xac)](_0x1cc31a,_0x4a6a15['id']),_0x53ff9e(0xce),_0x51f441],_0x125126[_0x53ff9e(0x16b)]['id'])];});return L([_0x5db611[_0x4c3257(0x246)](I['field'](_0x1cc31a,_0x125126['field']['id']),_0x125126[_0x4c3257(0x16b)]),_0x5db611[_0x4c3257(0x246)](I[_0x4c3257(0xce)](_0x1cc31a,_0x3b9ef8),_0x125126['field']['id']),..._0x268bf0]);}[_0x1040ac(0x23c)](_0x2c1b20,_0x3b969,_0x2a3454,_0x29feaa){const _0x6b03e6=_0x1040ac;var _0x3f6cd5,_0x1af4bf;let _0x39e670=_0x2c1b20[_0x6b03e6(0x274)][_0x3b969];if(!_0x39e670[_0x6b03e6(0x351)][_0x2a3454]||_0x39e670[_0x6b03e6(0x351)][_0x29feaa[_0x6b03e6(0x16b)]['id']]||_0x39e670[_0x6b03e6(0xce)]['includes'](_0x29feaa[_0x6b03e6(0x16b)]['id']))return _0x5db611[_0x6b03e6(0x2ad)]([_0x6b03e6(0x274),_0x3b969,'fieldOrder'],_0x39e670[_0x6b03e6(0xce)],_0x39e670[_0x6b03e6(0xce)]);let _0x42e152=(_0x3f6cd5=_0x29feaa[_0x6b03e6(0x314)])==null?_0x39e670[_0x6b03e6(0xce)]['indexOf'](_0x2a3454)+0x1:_0x3f6cd5,_0x2cd01f=_0x39e670['fieldOrder'][_0x6b03e6(0x308)](_0x8e1594=>_0x8e1594!==_0x29feaa['field']['id']),_0x411f1a=qt(_0x2cd01f,_0x29feaa[_0x6b03e6(0x16b)]['id'],_0x42e152),_0x5a6923=Object['values']((_0x1af4bf=_0x39e670[_0x6b03e6(0x165)])==null?{}:_0x1af4bf)[_0x6b03e6(0x1a6)](_0x5a3f17=>{const _0x3c2b7c=_0x6b03e6;var _0x38c76d,_0x19d520,_0x429bf1,_0x2390c1,_0x4dfdf3;let _0x45aefd=(_0x38c76d=_0x5a3f17[_0x3c2b7c(0xce)])!=null&&_0x38c76d[_0x3c2b7c(0x1ac)]?_0x5a3f17['fieldOrder']:_0x2cd01f;if(_0x45aefd[_0x3c2b7c(0x207)](_0x29feaa['field']['id']))return[];let _0x570d30=qt(_0x45aefd,_0x29feaa['field']['id'],(_0x19d520=(_0x429bf1=_0x29feaa[_0x3c2b7c(0x347)])==null?void 0x0:_0x429bf1[_0x5a3f17['id']])==null?_0x42e152:_0x19d520),_0x543308=(_0x2390c1=_0x5a3f17[_0x3c2b7c(0x258)])==null?void 0x0:_0x2390c1[_0x2a3454];return[this[_0x3c2b7c(0xea)]([...I[_0x3c2b7c(0xac)](_0x3b969,_0x5a3f17['id']),_0x3c2b7c(0xce)],_0x5a3f17[_0x3c2b7c(0xce)],_0x570d30),..._0x543308?[this[_0x3c2b7c(0xea)]([...I[_0x3c2b7c(0xac)](_0x3b969,_0x5a3f17['id']),_0x3c2b7c(0x258),_0x29feaa[_0x3c2b7c(0x16b)]['id']],(_0x4dfdf3=_0x5a3f17[_0x3c2b7c(0x258)])==null?void 0x0:_0x4dfdf3[_0x29feaa['field']['id']],_0x543308)]:[]];}),_0x1a9f01=Object[_0x6b03e6(0x29d)](_0x39e670['records'])[_0x6b03e6(0x308)](_0x100f8f=>Object['prototype'][_0x6b03e6(0x232)][_0x6b03e6(0x1ae)](_0x100f8f['values'],_0x2a3454))[_0x6b03e6(0xb4)](_0x3242a2=>this[_0x6b03e6(0xea)](I[_0x6b03e6(0x2fb)](_0x3b969,_0x3242a2['id'],_0x29feaa[_0x6b03e6(0x16b)]['id']),_0x3242a2[_0x6b03e6(0x29d)][_0x29feaa['field']['id']],_0x3242a2[_0x6b03e6(0x29d)][_0x2a3454]));return L([_0x5db611[_0x6b03e6(0x246)](I[_0x6b03e6(0x16b)](_0x3b969,_0x29feaa[_0x6b03e6(0x16b)]['id']),_0x29feaa[_0x6b03e6(0x16b)]),_0x5db611[_0x6b03e6(0x2ad)](['tables',_0x3b969,'fieldOrder'],_0x39e670['fieldOrder'],_0x411f1a),..._0x5a6923,..._0x1a9f01]);}[_0x1040ac(0x22e)](_0x4d9199,_0x2c22a6,_0x5377e9,_0x2e14aa){const _0x397bdf=_0x1040ac;let _0x4998e5=_0x4d9199[_0x397bdf(0x274)][_0x2c22a6][_0x397bdf(0x351)][_0x5377e9],_0xf8e3e1={..._0x4998e5,..._0x2e14aa};Object['keys'](_0x2e14aa)[_0x397bdf(0x2d3)](_0x54dd1e=>{_0x2e14aa[_0x54dd1e]===void 0x0&&delete _0xf8e3e1[_0x54dd1e];});let _0x13ff05=_0x5db611[_0x397bdf(0x2ad)](I[_0x397bdf(0x16b)](_0x2c22a6,_0x5377e9),_0x4998e5,_0xf8e3e1);return _0xf8e3e1[_0x397bdf(0xd2)]===_0x406b36[_0x397bdf(0x2ec)]?L([_0x13ff05,...this[_0x397bdf(0x9e)](_0x4d9199,_0x2c22a6,_0x5377e9,_0xf8e3e1)]):_0x13ff05;}['changeFieldType'](_0x303be7,_0x42be4a,_0x24868c,_0x36bd37){return this['updateField'](_0x303be7,_0x42be4a,_0x24868c,_0x36bd37);}[_0x1040ac(0xbd)](_0x3c7bcf,_0x3d6be,_0x4619ea){const _0x82542b=_0x1040ac;let _0x377d65=_0x3c7bcf[_0x82542b(0x274)][_0x3d6be];if(!(_0x377d65!=null&&_0x377d65[_0x82542b(0x351)][_0x4619ea])||_0x377d65['primaryFieldId']===_0x4619ea)return _0x5db611[_0x82542b(0x2ad)]([_0x82542b(0x274),_0x3d6be,_0x82542b(0xce)],_0x377d65==null?void 0x0:_0x377d65[_0x82542b(0xce)],_0x377d65==null?void 0x0:_0x377d65[_0x82542b(0xce)]);let _0xa37a63=_0x377d65['fieldOrder']['indexOf'](_0x4619ea),_0xeae2cb=Object[_0x82542b(0x29d)](_0x377d65['views'])['flatMap'](_0x1c34e2=>{const _0x4cae65=_0x82542b;var _0x7440c7,_0x2268b1,_0x5a54b8,_0x173a96,_0x248a68,_0xea4f56,_0x4a8e52,_0x112b41;let _0x4c7b6b=[],_0x5ab0ef=(_0x7440c7=(_0x2268b1=_0x1c34e2[_0x4cae65(0xce)])==null?void 0x0:_0x2268b1[_0x4cae65(0x28a)](_0x4619ea))==null?-0x1:_0x7440c7;_0x5ab0ef>=0x0&&_0x4c7b6b['push'](_0x5db611[_0x4cae65(0x139)]([...I[_0x4cae65(0xac)](_0x3d6be,_0x1c34e2['id']),_0x4cae65(0xce),_0x5ab0ef],_0x4619ea));let _0x4254e5=(_0x5a54b8=_0x1c34e2[_0x4cae65(0x258)])==null?void 0x0:_0x5a54b8[_0x4619ea];_0x4254e5!==void 0x0&&_0x4c7b6b[_0x4cae65(0x143)](_0x5db611[_0x4cae65(0x139)]([...I[_0x4cae65(0xac)](_0x3d6be,_0x1c34e2['id']),_0x4cae65(0x258),_0x4619ea],_0x4254e5));let _0x2a5355=_0x1c34e2[_0x4cae65(0x308)]?{..._0x1c34e2[_0x4cae65(0x308)],'conditions':_0x1c34e2[_0x4cae65(0x308)]['conditions'][_0x4cae65(0x308)](_0x351538=>_0x351538[_0x4cae65(0x1d4)]!==_0x4619ea)}:_0x1c34e2[_0x4cae65(0x308)];_0x2a5355&&_0x2a5355[_0x4cae65(0x31d)][_0x4cae65(0x1ac)]!==((_0x173a96=_0x1c34e2[_0x4cae65(0x308)])==null?void 0x0:_0x173a96[_0x4cae65(0x31d)][_0x4cae65(0x1ac)])&&_0x4c7b6b[_0x4cae65(0x143)](this[_0x4cae65(0xea)]([...I[_0x4cae65(0xac)](_0x3d6be,_0x1c34e2['id']),_0x4cae65(0x308)],_0x1c34e2[_0x4cae65(0x308)],_0x2a5355));let _0x1b159a=(_0x248a68=_0x1c34e2[_0x4cae65(0x127)])==null?void 0x0:_0x248a68[_0x4cae65(0x308)](_0x29cd4c=>_0x29cd4c['fieldId']!==_0x4619ea);_0x1b159a&&_0x1b159a['length']!==((_0xea4f56=_0x1c34e2[_0x4cae65(0x127)])==null?void 0x0:_0xea4f56[_0x4cae65(0x1ac)])&&_0x4c7b6b['push'](this[_0x4cae65(0xea)]([...I['view'](_0x3d6be,_0x1c34e2['id']),_0x4cae65(0x127)],_0x1c34e2['sort'],_0x1b159a));let _0x1c6075=(_0x4a8e52=_0x1c34e2[_0x4cae65(0x1d1)])==null?void 0x0:_0x4a8e52[_0x4cae65(0x308)](_0x186024=>_0x186024[_0x4cae65(0x1d4)]!==_0x4619ea);_0x1c6075&&_0x1c6075[_0x4cae65(0x1ac)]!==((_0x112b41=_0x1c34e2[_0x4cae65(0x1d1)])==null?void 0x0:_0x112b41[_0x4cae65(0x1ac)])&&_0x4c7b6b['push'](this['_replaceOptional']([...I['view'](_0x3d6be,_0x1c34e2['id']),'group'],_0x1c34e2[_0x4cae65(0x1d1)],_0x1c6075));let _0x2f4001=Jt(_0x1c34e2[_0x4cae65(0x2ed)],_0x4619ea);return JSON[_0x4cae65(0x1dc)](_0x2f4001)!==JSON['stringify'](_0x1c34e2[_0x4cae65(0x2ed)])&&_0x4c7b6b['push'](_0x5db611[_0x4cae65(0x2ad)]([...I[_0x4cae65(0xac)](_0x3d6be,_0x1c34e2['id']),'config'],_0x1c34e2[_0x4cae65(0x2ed)],_0x2f4001)),_0x4c7b6b;}),_0x34ff2e=Object['values'](_0x377d65[_0x82542b(0x1fa)])[_0x82542b(0x1a6)](_0x5db38e=>Object['prototype'][_0x82542b(0x232)][_0x82542b(0x1ae)](_0x5db38e[_0x82542b(0x29d)],_0x4619ea)?[_0x5db611['removeOp'](I['cell'](_0x3d6be,_0x5db38e['id'],_0x4619ea),_0x5db38e['values'][_0x4619ea])]:[]);return L([_0x5db611['removeOp'](I['field'](_0x3d6be,_0x4619ea),_0x377d65[_0x82542b(0x351)][_0x4619ea]),_0x5db611[_0x82542b(0x139)](I[_0x82542b(0xce)](_0x3d6be,_0xa37a63),_0x4619ea),..._0xeae2cb,..._0x34ff2e,...this[_0x82542b(0x2f9)](_0x377d65,_0x3d6be,_0x1c27f5=>_0x1c27f5[_0x82542b(0xa7)](_0x4619ea+'\x1f'))]);}[_0x1040ac(0xef)](_0xb4264e,_0xf4a401,_0x2f2662,_0x5d2082){const _0x11230c=_0x1040ac;let _0x2e9b14=_0xb4264e[_0x11230c(0x274)][_0xf4a401][_0x11230c(0xce)],_0x4f5ba0=Kt(_0x2e9b14,_0x2f2662,_0x5d2082);return _0x5db611[_0x11230c(0x2ad)](['tables',_0xf4a401,'fieldOrder'],_0x2e9b14,_0x4f5ba0);}[_0x1040ac(0x32f)](_0x2ee5eb,_0xb05750,_0x6fc433,_0x1a0107=_0x2ee5eb[_0x1040ac(0x274)][_0xb05750][_0x1040ac(0x209)]['length']){const _0x418ad8=_0x1040ac;return L([_0x5db611['insertOp'](I[_0x418ad8(0xac)](_0xb05750,_0x6fc433['id']),_0x6fc433),_0x5db611[_0x418ad8(0x246)](['tables',_0xb05750,_0x418ad8(0x209),_0x1a0107],_0x6fc433['id'])]);}[_0x1040ac(0xd1)](_0x4fc343,_0x57735b,_0x551c17,_0x58fda0){const _0x6bf25b=_0x1040ac;return _0x5db611[_0x6bf25b(0x2ad)]([...I[_0x6bf25b(0xac)](_0x57735b,_0x551c17),_0x6bf25b(0x27a)],_0x4fc343[_0x6bf25b(0x274)][_0x57735b]['views'][_0x551c17][_0x6bf25b(0x27a)],_0x58fda0);}['deleteView'](_0x938fe0,_0x56d68f,_0x5c9dd7){const _0x54694b=_0x1040ac;let _0x399c48=_0x938fe0['tables'][_0x56d68f],_0x2e0f16=_0x399c48[_0x54694b(0x165)][_0x5c9dd7],_0x4c8f5f=_0x399c48[_0x54694b(0x209)][_0x54694b(0x28a)](_0x5c9dd7);return L([_0x5db611[_0x54694b(0x139)](I[_0x54694b(0xac)](_0x56d68f,_0x5c9dd7),_0x2e0f16),_0x5db611[_0x54694b(0x139)]([_0x54694b(0x274),_0x56d68f,_0x54694b(0x209),_0x4c8f5f],_0x5c9dd7)]);}[_0x1040ac(0x2f3)](_0x52f4a8,_0x5016ec,_0x56be8e,_0x528a79){const _0x2a0412=_0x1040ac;let _0x11bc0e=_0x52f4a8[_0x2a0412(0x274)][_0x5016ec][_0x2a0412(0x209)],_0x322d24=Kt(_0x11bc0e,_0x56be8e,{'beforeFieldId':_0x528a79[_0x2a0412(0xa3)],'afterFieldId':_0x528a79[_0x2a0412(0x28b)]});return _0x5db611[_0x2a0412(0x2ad)](['tables',_0x5016ec,_0x2a0412(0x209)],_0x11bc0e,_0x322d24);}[_0x1040ac(0x233)](_0x3a0f60,_0x2e63e2,_0x515f6a,_0x58c16a){const _0xbb68e=_0x1040ac;var _0x283abb;let _0xb6773c=(_0x283abb=_0x3a0f60[_0xbb68e(0x274)][_0x2e63e2][_0xbb68e(0x165)][_0x515f6a][_0xbb68e(0x2ed)])==null?{}:_0x283abb,_0x35d072={..._0xb6773c,..._0x58c16a};return Object['keys'](_0x58c16a)['forEach'](_0x1afc9f=>{_0x58c16a[_0x1afc9f]===void 0x0&&delete _0x35d072[_0x1afc9f];}),_0x5db611[_0xbb68e(0x2ad)]([...I[_0xbb68e(0xac)](_0x2e63e2,_0x515f6a),_0xbb68e(0x2ed)],_0xb6773c,_0x35d072);}['setViewFilter'](_0x12d4e2,_0x15183a,_0x30bf4e,_0x21c822){const _0x27a3b7=_0x1040ac;return this[_0x27a3b7(0xea)]([...I['view'](_0x15183a,_0x30bf4e),_0x27a3b7(0x308)],_0x12d4e2[_0x27a3b7(0x274)][_0x15183a][_0x27a3b7(0x165)][_0x30bf4e][_0x27a3b7(0x308)],_0x21c822);}[_0x1040ac(0xd5)](_0x2fedf4,_0x36e97c,_0x18c42d,_0xecb2d5){const _0x2db58a=_0x1040ac;return this[_0x2db58a(0xea)]([...I[_0x2db58a(0xac)](_0x36e97c,_0x18c42d),_0x2db58a(0x127)],_0x2fedf4['tables'][_0x36e97c]['views'][_0x18c42d]['sort'],_0xecb2d5);}[_0x1040ac(0x227)](_0x55a692,_0xdef567,_0x779569,_0x8b90b6){const _0x50aff9=_0x1040ac;return this[_0x50aff9(0xea)]([...I[_0x50aff9(0xac)](_0xdef567,_0x779569),'group'],_0x55a692[_0x50aff9(0x274)][_0xdef567][_0x50aff9(0x165)][_0x779569]['group'],_0x8b90b6);}[_0x1040ac(0x15d)](_0x4bdb8c,_0x3e889f,_0x1f233f,_0x1d0293,_0x39bfa2){const _0x2dadc4=_0x1040ac;return this[_0x2dadc4(0x186)](_0x4bdb8c,_0x3e889f,_0x1f233f,_0x1d0293,{'hidden':!_0x39bfa2});}['setViewFieldWidth'](_0x1e41c6,_0x197fa5,_0x587d64,_0x5e4bfa,_0x370de2){const _0x1f563f=_0x1040ac;return this[_0x1f563f(0x186)](_0x1e41c6,_0x197fa5,_0x587d64,_0x5e4bfa,{'width':_0x370de2});}[_0x1040ac(0x1f0)](_0x32c64d,_0x2c0a09,_0x5d7e53,_0x572734,_0x5bd0d5){const _0x2801a5=_0x1040ac;var _0x4b1596;let _0x4d72c9=_0x32c64d[_0x2801a5(0x274)][_0x2c0a09][_0x2801a5(0x165)][_0x5d7e53],_0x572724=Kt((_0x4b1596=_0x4d72c9[_0x2801a5(0xce)])==null?_0x32c64d[_0x2801a5(0x274)][_0x2c0a09]['fieldOrder']:_0x4b1596,_0x572734,_0x5bd0d5);return this[_0x2801a5(0xea)]([...I['view'](_0x2c0a09,_0x5d7e53),_0x2801a5(0xce)],_0x4d72c9[_0x2801a5(0xce)],_0x572724);}[_0x1040ac(0x186)](_0x3a7b73,_0x2bb48c,_0xd1bc63,_0x3808d4,_0x3e65fa){const _0x57af6c=_0x1040ac;var _0x447568;let _0x1bf3a7=(_0x447568=_0x3a7b73[_0x57af6c(0x274)][_0x2bb48c]['views'][_0xd1bc63]['fieldSettings'])==null?{}:_0x447568,_0x3b90ec={..._0x1bf3a7,[_0x3808d4]:{..._0x1bf3a7[_0x3808d4],..._0x3e65fa}};return this['_replaceOptional']([...I[_0x57af6c(0xac)](_0x2bb48c,_0xd1bc63),_0x57af6c(0x258)],_0x3a7b73[_0x57af6c(0x274)][_0x2bb48c][_0x57af6c(0x165)][_0xd1bc63][_0x57af6c(0x258)],_0x3b90ec);}[_0x1040ac(0xbc)](_0x4a50c1,_0xa27c55,_0x5109bf){const _0x3bcb58=_0x1040ac;let _0x5723e0=_0x4a50c1[_0x3bcb58(0x274)][_0xa27c55],_0x29b745=new Set(_0x5109bf[_0x3bcb58(0xb4)](_0x5a8ba6=>_0x5a8ba6['id'])),_0x2350ef=[...Object[_0x3bcb58(0x29d)](_0x5723e0['records'])[_0x3bcb58(0x308)](_0x56cd0f=>!_0x29b745[_0x3bcb58(0x31e)](_0x56cd0f['id'])),..._0x5109bf]['sort']((_0x669477,_0x2db4b5)=>{const _0x974ff6=_0x3bcb58;var _0x4bf73a,_0x211ee0;return String((_0x4bf73a=_0x669477['orderKey'])==null?_0x669477['id']:_0x4bf73a)['localeCompare'](String((_0x211ee0=_0x2db4b5[_0x974ff6(0x1a0)])==null?_0x2db4b5['id']:_0x211ee0));})[_0x3bcb58(0xb4)](_0x586ba8=>_0x586ba8['id']),_0x1d4bed=[...I['table'](_0xa27c55),_0x3bcb58(0x218)];return _0x5723e0[_0x3bcb58(0x218)]?_0x5db611[_0x3bcb58(0x2ad)](_0x1d4bed,_0x5723e0[_0x3bcb58(0x218)],_0x2350ef):_0x5db611['insertOp'](_0x1d4bed,_0x2350ef);}['_setFormulaFieldCells'](_0x4b69ef,_0x4c954e,_0x35ea8f,_0xb39ee0){const _0x27fd25=_0x1040ac;var _0x322ba5,_0x5b3a5b,_0x1d47a4,_0x28d3dd;let _0x1a0496=E(_0x4b69ef[_0x27fd25(0x274)][_0x4c954e]),_0x55a0bf=String((_0x322ba5=(_0x5b3a5b=_0xb39ee0[_0x27fd25(0x2ed)])==null?void 0x0:_0x5b3a5b[_0x27fd25(0x345)])==null?'':_0x322ba5)[_0x27fd25(0x1e6)](),_0x21ccb5=(_0x1d47a4=_0x1a0496['colIndex'])==null?void 0x0:_0x1d47a4[_0x35ea8f];if(_0x21ccb5==null)return[];let _0xb0d5a8=(_0x28d3dd=_0x1a0496[_0x27fd25(0x218)])==null?Object[_0x27fd25(0x1d0)](_0x1a0496['records']):_0x28d3dd,_0x1130db=_0xb0d5a8[_0x27fd25(0xb4)](_0x391917=>{const _0x5224c3=_0x27fd25;var _0x58e387;return(_0x58e387=_0x1a0496[_0x5224c3(0x2f6)])==null?void 0x0:_0x58e387[_0x391917];})[_0x27fd25(0x1cc)](_0x40c0c5=>_0x40c0c5!=null);return _0xb0d5a8[_0x27fd25(0x1a6)](_0x295248=>{const _0x43af78=_0x27fd25;var _0x4b243a,_0x59969a;let _0x283eb2=(_0x4b243a=_0x1a0496[_0x43af78(0x2f6)])==null?void 0x0:_0x4b243a[_0x295248];if(_0x283eb2==null)return[];let _0x4a10dc=(_0x59969a=_0x1a0496[_0x43af78(0x184)])==null||(_0x59969a=_0x59969a[_0x283eb2])==null?void 0x0:_0x59969a[_0x21ccb5],_0x3c06e4=_0x55a0bf?_0x283eb2===_0x1130db?{'f':_0x55a0bf,'si':_0x35ea8f}:{'si':_0x35ea8f}:{'v':null,'t':null};return[this[_0x43af78(0xea)](I[_0x43af78(0x184)](_0x4c954e,_0x283eb2,_0x21ccb5),_0x4a10dc,_0x3c06e4)];});}['_setAttachmentResources'](_0xb3a021,_0x3ada35,_0x564249,_0x27c5c3,_0xabccee){const _0x37c397=_0x1040ac;var _0xa4118b;let _0x2672cd=Me(_0x27c5c3,_0x564249),_0x43caf4=_0xabccee[_0x37c397(0xb4)]((_0x50a2b7,_0x333cba)=>{var _0x4f16f6;return String((_0x4f16f6=_0x50a2b7['id'])==null?_0x2672cd+'\x1f'+_0x333cba:_0x4f16f6);});return[this[_0x37c397(0xea)](I[_0x37c397(0xe2)](_0x3ada35,_0x2672cd),(_0xa4118b=_0xb3a021[_0x37c397(0x9f)])==null||(_0xa4118b=_0xa4118b['attachmentSets'])==null?void 0x0:_0xa4118b[_0x2672cd],_0x43caf4),..._0xabccee['map']((_0x4897b2,_0x44ecf8)=>{const _0x384b65=_0x37c397;var _0x3229b8;let _0x400c7d=_0x43caf4[_0x44ecf8];return this['_replaceOptional'](I['attachment'](_0x3ada35,_0x400c7d),(_0x3229b8=_0xb3a021[_0x384b65(0x9f)])==null||(_0x3229b8=_0x3229b8[_0x384b65(0x22a)])==null?void 0x0:_0x3229b8[_0x400c7d],{..._0x4897b2,'id':_0x400c7d});})];}[_0x1040ac(0x2f9)](_0xf1c877,_0x42b8fd,_0xc3ce3){const _0x56c504=_0x1040ac;var _0x1c65b0,_0x21a5ed;let _0x19f3d2=(_0x1c65b0=(_0x21a5ed=_0xf1c877[_0x56c504(0x9f)])==null?void 0x0:_0x21a5ed[_0x56c504(0x2a2)])==null?{}:_0x1c65b0,_0x480fc0=Object[_0x56c504(0x361)](_0x19f3d2)[_0x56c504(0x308)](([_0x1f3288])=>_0xc3ce3(_0x1f3288));if(!_0x480fc0[_0x56c504(0x1ac)])return[];let _0x16f056=new Set(Object['entries'](_0x19f3d2)[_0x56c504(0x308)](([_0x3e6429])=>!_0xc3ce3(_0x3e6429))[_0x56c504(0x1a6)](([,_0x2e0458])=>_0x2e0458)),_0x1fb363=new Set(_0x480fc0[_0x56c504(0x1a6)](([,_0x367c2c])=>_0x367c2c));return[..._0x480fc0[_0x56c504(0xb4)](([_0x309f07,_0x226448])=>_0x5db611[_0x56c504(0x139)](I['attachmentSet'](_0x42b8fd,_0x309f07),_0x226448)),...Array[_0x56c504(0x136)](_0x1fb363)['flatMap'](_0x43f387=>{const _0x48763a=_0x56c504;var _0x2affa6;let _0x50affb=(_0x2affa6=_0xf1c877['resources'])==null||(_0x2affa6=_0x2affa6[_0x48763a(0x22a)])==null?void 0x0:_0x2affa6[_0x43f387];return _0x50affb!==void 0x0&&!_0x16f056[_0x48763a(0x31e)](_0x43f387)?[_0x5db611[_0x48763a(0x139)](I[_0x48763a(0x1e4)](_0x42b8fd,_0x43f387),_0x50affb)]:[];})];}[_0x1040ac(0xea)](_0x3fa428,_0x40230b,_0x4ba125){const _0x318617=_0x1040ac;return _0x40230b===void 0x0?_0x5db611['insertOp'](_0x3fa428,_0x4ba125):_0x5db611[_0x318617(0x2ad)](_0x3fa428,_0x40230b,_0x4ba125);}};function Wt(_0x4fcf72,_0x427f70,_0x1b98b8){const _0x54be3a=_0x1040ac;var _0x17c897,_0x3039ad,_0x46c994,_0x4bdc53;let _0xd54c5e=(_0x17c897=_0x4fcf72[_0x54be3a(0x2f6)])==null?void 0x0:_0x17c897[_0x427f70],_0x25a8d1=(_0x3039ad=_0x4fcf72[_0x54be3a(0x193)])==null?void 0x0:_0x3039ad[_0x1b98b8];return _0xd54c5e!=null&&_0x25a8d1!=null&&((_0x46c994=_0x4fcf72['rowId'])==null?void 0x0:_0x46c994[_0xd54c5e])===_0x427f70&&((_0x4bdc53=_0x4fcf72['colId'])==null?void 0x0:_0x4bdc53[_0x25a8d1])===_0x1b98b8&&_0x4fcf72[_0x54be3a(0x184)]!=null;}function Gt(_0x4bcf9b,_0x560403,_0x57bfa3){const _0x53f973=_0x1040ac;var _0x343446,_0x2e4321;return((_0x343446=_0x4bcf9b[_0x53f973(0x247)])==null?void 0x0:_0x343446[_0x560403])!=null&&((_0x2e4321=_0x4bcf9b[_0x53f973(0x2fa)])==null?void 0x0:_0x2e4321[_0x57bfa3])!=null&&_0x4bcf9b[_0x53f973(0x184)]!=null;}function Kt(_0x323b44,_0x474130,_0x2e7645){const _0x231b91=_0x1040ac;let _0x16cb96=_0x323b44[_0x231b91(0x308)](_0x59f159=>_0x59f159!==_0x474130),_0x40b0c4=_0x2e7645['beforeFieldId']?_0x16cb96[_0x231b91(0x28a)](_0x2e7645['beforeFieldId']):_0x2e7645[_0x231b91(0x2df)]?_0x16cb96['indexOf'](_0x2e7645['afterFieldId'])+0x1:_0x16cb96['length'];return _0x16cb96['splice'](_0x40b0c4<0x0?_0x16cb96[_0x231b91(0x1ac)]:_0x40b0c4,0x0,_0x474130),_0x16cb96;}function qt(_0x500e2b,_0x406800,_0x4d8481){const _0x580787=_0x1040ac;let _0x1b6a21=_0x500e2b['filter'](_0x29968d=>_0x29968d!==_0x406800);return _0x1b6a21[_0x580787(0x1b2)](Yt(_0x4d8481,_0x1b6a21['length']),0x0,_0x406800),_0x1b6a21;}function Jt(_0x52b285,_0x3a50f2,_0x2a830b){const _0x432a49=_0x1040ac;if(Array[_0x432a49(0x1c5)](_0x52b285))return _0x2a830b===_0x432a49(0x25d)?_0x52b285[_0x432a49(0x308)](_0x57609c=>_0x57609c!==_0x3a50f2):_0x52b285['flatMap'](_0x2f3eeb=>{const _0x276280=_0x432a49;if(_0x2f3eeb&&typeof _0x2f3eeb==_0x276280(0x101)&&!Array['isArray'](_0x2f3eeb)&&_0x2f3eeb[_0x276280(0x1d4)]===_0x3a50f2)return[];let _0x29b6c3=Jt(_0x2f3eeb,_0x3a50f2);return _0x29b6c3===void 0x0?[]:[_0x29b6c3];});if(!_0x52b285||typeof _0x52b285!=_0x432a49(0x101))return _0x2a830b!=null&&_0x2a830b[_0x432a49(0x19f)]('FieldId')&&_0x52b285===_0x3a50f2?void 0x0:_0x52b285;let _0x14bcb0=_0x52b285;if(_0x14bcb0[_0x432a49(0x1d4)]!==_0x3a50f2)return Object[_0x432a49(0x1fc)](Object[_0x432a49(0x361)](_0x14bcb0)[_0x432a49(0x1a6)](([_0x43834c,_0x2e9d96])=>{const _0x45d312=_0x432a49;if(_0x43834c===_0x3a50f2&&_0x2a830b===_0x45d312(0x258))return[];let _0x43a730=Jt(_0x2e9d96,_0x3a50f2,_0x43834c);return _0x43a730===void 0x0?[]:[[_0x43834c,_0x43a730]];}));}function Yt(_0x58fb44,_0x157056){const _0x42521f=_0x1040ac;return Math[_0x42521f(0x2f7)](0x0,Math['min'](_0x58fb44,_0x157056));}function Xt(_0x288fc9,_0x1a8890,_0x372525){const _0x34070a=_0x1040ac;if(!_0x288fc9||!_0x1a8890||_0x1a8890===_0x372525)return _0x288fc9;let _0x1eb6e3='',_0xbf473d=!0x1,_0x5c37f6=_0x1a8890[_0x34070a(0x1da)]();for(let _0x1e9a10=0x0;_0x1e9a10<_0x288fc9[_0x34070a(0x1ac)];){let _0x529932=_0x288fc9[_0x1e9a10];if(_0x529932==='\x22'){if(_0xbf473d&&_0x288fc9[_0x1e9a10+0x1]==='\x22'){_0x1eb6e3+='\x22\x22',_0x1e9a10+=0x2;continue;}_0xbf473d=!_0xbf473d,_0x1eb6e3+=_0x529932,_0x1e9a10++;continue;}if(!_0xbf473d&&_0x288fc9['slice'](_0x1e9a10,_0x1e9a10+_0x1a8890[_0x34070a(0x1ac)])[_0x34070a(0x1da)]()===_0x5c37f6&&Zt(_0x288fc9,_0x1e9a10,_0x1a8890[_0x34070a(0x1ac)])){_0x1eb6e3+=_0x372525,_0x1e9a10+=_0x1a8890[_0x34070a(0x1ac)];continue;}_0x1eb6e3+=_0x529932,_0x1e9a10++;}return _0x1eb6e3;}function Zt(_0x45a7d9,_0x7410af,_0x11baaa){const _0x2ced0c=_0x1040ac;var _0x332333;let _0x2344ce=_0x45a7d9[_0x7410af-0x1];if(_0x2344ce&&/[\w.]/[_0x2ced0c(0x34b)](_0x2344ce))return!0x1;let _0x1dcc24=_0x7410af+_0x11baaa;for(;/\s/[_0x2ced0c(0x34b)]((_0x332333=_0x45a7d9[_0x1dcc24])==null?'':_0x332333);)_0x1dcc24++;return _0x45a7d9[_0x1dcc24]==='[';}function z(_0x3534c9){'@babel/helpers - typeof';const _0x2dfafe=_0x1040ac;return z=typeof Symbol==_0x2dfafe(0x24c)&&typeof Symbol[_0x2dfafe(0x1e7)]==_0x2dfafe(0x25c)?function(_0x36689c){return typeof _0x36689c;}:function(_0x36b3f8){const _0x47f9ac=_0x2dfafe;return _0x36b3f8&&typeof Symbol==_0x47f9ac(0x24c)&&_0x36b3f8[_0x47f9ac(0x28c)]===Symbol&&_0x36b3f8!==Symbol[_0x47f9ac(0x164)]?_0x47f9ac(0x25c):typeof _0x36b3f8;},z(_0x3534c9);}function Qt(_0x2f3069,_0x186ab8){const _0x425f5d=_0x1040ac;if(z(_0x2f3069)!=_0x425f5d(0x101)||!_0x2f3069)return _0x2f3069;var _0x228af3=_0x2f3069[Symbol[_0x425f5d(0x2d6)]];if(_0x228af3!==void 0x0){var _0x4f5257=_0x228af3['call'](_0x2f3069,_0x186ab8||_0x425f5d(0x215));if(z(_0x4f5257)!=_0x425f5d(0x101))return _0x4f5257;throw TypeError(_0x425f5d(0x1ce));}return(_0x186ab8===_0x425f5d(0x2e9)?String:Number)(_0x2f3069);}function $t(_0x3efa3c){const _0x1a1106=_0x1040ac;var _0x1331db=Qt(_0x3efa3c,_0x1a1106(0x2e9));return z(_0x1331db)==_0x1a1106(0x25c)?_0x1331db:_0x1331db+'';}function B(_0x4254d1,_0x2f8422,_0xf4f1f5){const _0x2687fc=_0x1040ac;return(_0x2f8422=$t(_0x2f8422))in _0x4254d1?Object[_0x2687fc(0x9d)](_0x4254d1,_0x2f8422,{'value':_0xf4f1f5,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x4254d1[_0x2f8422]=_0xf4f1f5,_0x4254d1;}const en=_0x43b5b5(_0x1040ac(0x10d));var tn=class extends _0x41e38b{constructor(..._0x1e1be1){const _0x33c114=_0x1040ac;super(..._0x1e1be1),B(this,_0x33c114(0x1bd),new Map());}[_0x1040ac(0x1a5)](_0x1ffe40){const _0x3c796b=_0x1040ac;return this[_0x3c796b(0x1bd)][_0x3c796b(0xdc)](_0x1ffe40[_0x3c796b(0xd2)],_0x1ffe40),_0x5b27e8(()=>this[_0x3c796b(0x1bd)]['delete'](_0x1ffe40['type']));}[_0x1040ac(0x370)](_0x37ec79){const _0x261d7e=_0x1040ac;let _0xfba511=this['_plugins'][_0x261d7e(0x370)](_0x37ec79);if(!_0xfba511)throw Error('[BaseFieldRegistryService]:\x20field\x20type\x20\x22'+_0x37ec79+'\x22\x20is\x20not\x20registered.');return _0xfba511;}[_0x1040ac(0x19c)](_0x4f3fb0){const _0x285435=_0x1040ac;return this[_0x285435(0x1bd)][_0x285435(0x370)](_0x4f3fb0);}['getAll'](){const _0x1b736e=_0x1040ac;return Array[_0x1b736e(0x136)](this[_0x1b736e(0x1bd)][_0x1b736e(0x29d)]());}};const nn=_0x43b5b5(_0x1040ac(0x327));var rn=class{constructor(){const _0x4302b2=_0x1040ac;B(this,'_basePermissions',new Map()),B(this,_0x4302b2(0x239),new Map()),B(this,_0x4302b2(0x2c1),new Map()),B(this,_0x4302b2(0x328),new Map());}[_0x1040ac(0xe6)](_0x53e6cd){const _0x4b2e8a=_0x1040ac;var _0x31b551,_0x1b9c43;return(_0x31b551=(_0x1b9c43=this[_0x4b2e8a(0x300)]['get'](_0x53e6cd))==null?void 0x0:_0x1b9c43[_0x4b2e8a(0x24b)])==null?!0x0:_0x31b551;}[_0x1040ac(0x179)](_0x8c1b64){const _0xce2bdf=_0x1040ac;var _0x2a1509,_0x28e89f;return(_0x2a1509=(_0x28e89f=this['_tablePermissions'][_0xce2bdf(0x370)](_0x8c1b64))==null?void 0x0:_0x28e89f['delete'])==null?!0x0:_0x2a1509;}[_0x1040ac(0x2da)](_0x5099d1){const _0x46a311=_0x1040ac;var _0x542748,_0x2ee7d4;return(_0x542748=(_0x2ee7d4=this[_0x46a311(0x239)][_0x46a311(0x370)](_0x5099d1))==null?void 0x0:_0x2ee7d4[_0x46a311(0x2c2)])==null?!0x0:_0x542748;}[_0x1040ac(0x1d6)](_0x3fb6e6,_0x1b3f1f){const _0x35ab46=_0x1040ac;var _0x22cdc4,_0x59f35c;return(_0x22cdc4=(_0x59f35c=this[_0x35ab46(0x2c1)][_0x35ab46(0x370)](V(_0x3fb6e6,_0x1b3f1f)))==null?void 0x0:_0x59f35c[_0x35ab46(0x251)])==null?!0x0:_0x22cdc4;}['canDeleteField'](_0xa37353,_0x29c541){const _0x211b4f=_0x1040ac;var _0x31560a,_0x3e39f3;return(_0x31560a=(_0x3e39f3=this[_0x211b4f(0x2c1)][_0x211b4f(0x370)](V(_0xa37353,_0x29c541)))==null?void 0x0:_0x3e39f3['delete'])==null?!0x0:_0x31560a;}['canCreateRecord'](_0x4dc628){const _0x3e2c10=_0x1040ac;var _0x11bac2,_0x51e246;return(_0x11bac2=(_0x51e246=this[_0x3e2c10(0x239)][_0x3e2c10(0x370)](_0x4dc628))==null?void 0x0:_0x51e246[_0x3e2c10(0x1e9)])==null?!0x0:_0x11bac2;}[_0x1040ac(0x16e)](_0x441522,_0x51be59){const _0x3b3a7c=_0x1040ac;var _0x248903,_0x404f32;return(_0x248903=(_0x404f32=this[_0x3b3a7c(0x328)][_0x3b3a7c(0x370)](an(_0x441522,_0x51be59)))==null?void 0x0:_0x404f32['delete'])==null?!0x0:_0x248903;}['canEditCell'](_0x3a5229,_0x317b38,_0x406fa3){const _0x3b25d1=_0x1040ac;var _0x39b33a,_0xad85dd,_0x416220,_0x556e87;let _0x3cf287=this[_0x3b25d1(0x2c1)][_0x3b25d1(0x370)](V(_0x3a5229,_0x406fa3));return((_0x39b33a=(_0xad85dd=this[_0x3b25d1(0x328)]['get'](an(_0x3a5229,_0x317b38)))==null?void 0x0:_0xad85dd[_0x3b25d1(0xda)])==null?!0x0:_0x39b33a)&&((_0x416220=_0x3cf287==null?void 0x0:_0x3cf287[_0x3b25d1(0x251)])==null?!0x0:_0x416220)&&((_0x556e87=_0x3cf287==null?void 0x0:_0x3cf287[_0x3b25d1(0xda)])==null?!0x0:_0x556e87);}[_0x1040ac(0xfa)](_0x2098f1){const _0xbc3f3=_0x1040ac;var _0x5d32cb,_0x3407c7;return(_0x5d32cb=(_0x3407c7=this[_0xbc3f3(0x239)]['get'](_0x2098f1))==null?void 0x0:_0x3407c7[_0xbc3f3(0x27d)])==null?!0x0:_0x5d32cb;}[_0x1040ac(0x373)](_0x30b706,_0x412f8a){const _0x51d35f=_0x1040ac;this[_0x51d35f(0x300)][_0x51d35f(0xdc)](_0x30b706,{...this['_basePermissions'][_0x51d35f(0x370)](_0x30b706),..._0x412f8a});}[_0x1040ac(0x286)](_0x46b15f,_0x490687){const _0x2bc299=_0x1040ac;this[_0x2bc299(0x239)][_0x2bc299(0xdc)](_0x46b15f,{...this[_0x2bc299(0x239)][_0x2bc299(0x370)](_0x46b15f),..._0x490687});}[_0x1040ac(0x151)](_0xd2f768,_0x550257,_0x122b6a){const _0x4c64c9=_0x1040ac;let _0x544f65=V(_0xd2f768,_0x550257);this[_0x4c64c9(0x2c1)][_0x4c64c9(0xdc)](_0x544f65,{...this[_0x4c64c9(0x2c1)][_0x4c64c9(0x370)](_0x544f65),..._0x122b6a});}[_0x1040ac(0x277)](_0x38990b,_0x28186f,_0x439ff8){const _0x167550=_0x1040ac;let _0x1b93c2=an(_0x38990b,_0x28186f);this[_0x167550(0x328)][_0x167550(0xdc)](_0x1b93c2,{...this[_0x167550(0x328)]['get'](_0x1b93c2),..._0x439ff8});}[_0x1040ac(0x2e8)](_0x54bbf5){const _0x24b786=_0x1040ac;this['_basePermissions'][_0x24b786(0x2aa)](_0x54bbf5);}[_0x1040ac(0x256)](_0x36a885){const _0x11cb33=_0x1040ac;this[_0x11cb33(0x239)][_0x11cb33(0x2aa)](_0x36a885);}[_0x1040ac(0xdd)](_0x2e00d4,_0x272cf1){const _0x2737b9=_0x1040ac;this[_0x2737b9(0x2c1)]['delete'](V(_0x2e00d4,_0x272cf1));}[_0x1040ac(0x2b1)](_0x5213cf,_0x572e27){const _0x5d9fa6=_0x1040ac;this[_0x5d9fa6(0x328)][_0x5d9fa6(0x2aa)](an(_0x5213cf,_0x572e27));}[_0x1040ac(0x1b7)](){const _0x2c605c=_0x1040ac;return{'bases':Object['fromEntries'](this[_0x2c605c(0x300)]),'tables':Object[_0x2c605c(0x1fc)](this[_0x2c605c(0x239)]),'fields':Object[_0x2c605c(0x1fc)](this[_0x2c605c(0x2c1)]),'records':Object['fromEntries'](this[_0x2c605c(0x328)])};}};function V(_0x5792ff,_0x27ce6d){return _0x5792ff+'\x1f'+_0x27ce6d;}function an(_0xf6ca92,_0x1ea3b9){return _0xf6ca92+'\x1f'+_0x1ea3b9;}function H(_0xc2a01e,_0x383f62){return function(_0x26392d,_0x14c811){_0x383f62(_0x26392d,_0x14c811,_0xc2a01e);};}function U(_0x210422,_0xb33b17,_0x480222,_0x167a84){const _0x192fdb=_0x1040ac;var _0x4f49f0=arguments[_0x192fdb(0x1ac)],_0x1afc81=_0x4f49f0<0x3?_0xb33b17:_0x167a84===null?_0x167a84=Object['getOwnPropertyDescriptor'](_0xb33b17,_0x480222):_0x167a84,_0x14a7f0;if(typeof Reflect=='object'&&typeof Reflect[_0x192fdb(0x178)]==_0x192fdb(0x24c))_0x1afc81=Reflect[_0x192fdb(0x178)](_0x210422,_0xb33b17,_0x480222,_0x167a84);else{for(var _0xb7cb25=_0x210422[_0x192fdb(0x1ac)]-0x1;_0xb7cb25>=0x0;_0xb7cb25--)(_0x14a7f0=_0x210422[_0xb7cb25])&&(_0x1afc81=(_0x4f49f0<0x3?_0x14a7f0(_0x1afc81):_0x4f49f0>0x3?_0x14a7f0(_0xb33b17,_0x480222,_0x1afc81):_0x14a7f0(_0xb33b17,_0x480222))||_0x1afc81);}return _0x4f49f0>0x3&&_0x1afc81&&Object[_0x192fdb(0x9d)](_0xb33b17,_0x480222,_0x1afc81),_0x1afc81;}const W=_0x43b5b5(_0x1040ac(0x176));let on=class{constructor(_0x2a349c,_0x5244ad=sn(),_0x475be8={}){const _0x11001a=_0x1040ac;this['_permissionService']=_0x2a349c,this[_0x11001a(0x32b)]=_0x5244ad,this[_0x11001a(0x34d)]=_0x475be8,B(this,'_factory',new R()),B(this,_0x11001a(0x34c),new A());}[_0x1040ac(0x24b)](_0xf6aeea,_0x301038,_0x46edb8){const _0x5dded8=_0x1040ac;if(!this['_permissionService'][_0x5dded8(0xe6)](_0xf6aeea[_0x5dded8(0x35a)]()))throw Error('[BaseCommandService]:\x20cannot\x20create\x20table.');this['_apply'](_0xf6aeea,this[_0x5dded8(0x343)][_0x5dded8(0x24b)](_0xf6aeea['getSnapshot'](),_0x301038,_0x46edb8));}[_0x1040ac(0x1fd)](_0x112ea0,_0x4bb190,_0x48ad66){const _0x3f7856=_0x1040ac;this[_0x3f7856(0x16f)](_0x112ea0,this[_0x3f7856(0x343)][_0x3f7856(0x1fd)](_0x112ea0['getSnapshot'](),_0x4bb190,_0x48ad66));}[_0x1040ac(0x108)](_0x9dc200,_0x994e5b){const _0x37942d=_0x1040ac;if(!this[_0x37942d(0x279)][_0x37942d(0x179)](_0x994e5b))throw Error('[BaseCommandService]:\x20cannot\x20delete\x20table.');this[_0x37942d(0x16f)](_0x9dc200,this[_0x37942d(0x343)][_0x37942d(0x108)](_0x9dc200['getSnapshot'](),_0x994e5b));}[_0x1040ac(0x2f2)](_0x5a1992,_0x583ba4,_0x8df42c,_0x4cefe8,_0x264c09){const _0x3be2d1=_0x1040ac;this[_0x3be2d1(0x16f)](_0x5a1992,this['createUpdateCellOp'](_0x5a1992,_0x583ba4,_0x8df42c,_0x4cefe8,_0x264c09));}['setRecordValues'](_0x25987f,_0x2837eb,_0x41d612){const _0x5a265a=_0x1040ac;this[_0x5a265a(0x16f)](_0x25987f,this[_0x5a265a(0x18c)](_0x25987f,_0x2837eb,_0x41d612));}['createRecord'](_0x463a24,_0x34d485,_0x30776e){this['_apply'](_0x463a24,this['createCreateRecordOp'](_0x463a24,_0x34d485,_0x30776e));}[_0x1040ac(0xf7)](_0x44b1a2,_0x10a0c1,_0x1ba406,_0x4e67ce,_0x58487b){const _0xdc3bd0=_0x1040ac;let _0x42f129=_0x44b1a2[_0xdc3bd0(0x1b7)](),_0x420560=this[_0xdc3bd0(0x374)](_0x42f129,_0x10a0c1,_0x1ba406,_0x4e67ce,_0x58487b),_0x466ac6=this[_0xdc3bd0(0x116)](_0x42f129,_0x10a0c1,_0x1ba406,{[_0x4e67ce]:_0x420560});return this[_0xdc3bd0(0x343)][_0xdc3bd0(0x1a7)](_0x42f129,_0x10a0c1,[_0x466ac6]);}[_0x1040ac(0x18c)](_0x21bcc2,_0x59eb31,_0x3c5152){const _0x194752=_0x1040ac;let _0x3d79e9=_0x21bcc2[_0x194752(0x1b7)](),_0x2d045f=_0x3c5152['map'](_0x4cec59=>this['_withModifiedSystemValues'](_0x3d79e9,_0x59eb31,_0x4cec59[_0x194752(0x158)],{...Object['fromEntries'](Object['entries'](_0x4cec59['values'])[_0x194752(0xb4)](([_0x11b325,_0x40527e])=>[_0x11b325,this['_normalizeCellValue'](_0x3d79e9,_0x59eb31,_0x4cec59[_0x194752(0x158)],_0x11b325,_0x40527e)]))}));return this[_0x194752(0x343)]['setRecordValues'](_0x3d79e9,_0x59eb31,_0x2d045f);}[_0x1040ac(0x1e5)](_0x3bfbff,_0x3caf15,_0x9fd306){const _0x21f709=_0x1040ac;if(!this[_0x21f709(0x279)][_0x21f709(0x2d9)](_0x3caf15))throw Error(_0x21f709(0x21f));let _0x236bd1=_0x3bfbff['getSnapshot'](),_0x1b8e4d=this['_createNumberingAllocators'](_0x236bd1['tables'][_0x3caf15]);return this[_0x21f709(0x343)][_0x21f709(0x1e9)](_0x236bd1,_0x3caf15,this[_0x21f709(0x329)](_0x236bd1,_0x3caf15,_0x9fd306,_0x1b8e4d));}[_0x1040ac(0x354)](_0x340dec,_0xf67ed8,_0x2e0ce1){const _0x341526=_0x1040ac;if(!this[_0x341526(0x279)][_0x341526(0x2d9)](_0xf67ed8))throw Error('[BaseCommandService]:\x20cannot\x20create\x20record.');let _0x1612d6=_0x340dec['getSnapshot'](),_0x12f5c1=this[_0x341526(0x265)](_0x1612d6['tables'][_0xf67ed8]);return this['_factory'][_0x341526(0x2b7)](_0x1612d6,_0xf67ed8,_0x2e0ce1['map'](_0x5c2450=>this[_0x341526(0x329)](_0x1612d6,_0xf67ed8,_0x5c2450,_0x12f5c1)));}[_0x1040ac(0x183)](_0x5eb4b4,_0x2ff73c,_0x1a3c78,_0x32093a,_0x45023c){const _0x3281cd=_0x1040ac;if(!this['_permissionService']['canCreateField'](_0x2ff73c))throw Error(_0x3281cd(0x138));let _0x138cab=_0x5eb4b4[_0x3281cd(0x1b7)](),_0x29ec1a=this[_0x3281cd(0x343)][_0x3281cd(0x2c2)](_0x138cab,_0x2ff73c,{'field':_0x1a3c78,'index':_0x32093a,'viewIndexes':_0x45023c}),_0x3d54a4=this[_0x3281cd(0x33a)](_0x138cab,_0x2ff73c,_0x1a3c78);if(!_0x3d54a4['length'])return _0x29ec1a;let _0x5706c7=this['_applier'][_0x3281cd(0xc8)](_0x138cab,_0x29ec1a);return L([_0x29ec1a,this[_0x3281cd(0x343)][_0x3281cd(0x1a7)](_0x5706c7,_0x2ff73c,_0x3d54a4)]);}['deleteRecord'](_0x1ea50b,_0x44411c,_0x3d3653){const _0x381083=_0x1040ac;if(!this[_0x381083(0x279)]['canDeleteRecord'](_0x44411c,_0x3d3653))throw Error(_0x381083(0xd0));this['_apply'](_0x1ea50b,this['_factory'][_0x381083(0x1af)](_0x1ea50b[_0x381083(0x1b7)](),_0x44411c,_0x3d3653));}[_0x1040ac(0xd9)](_0x4318c6,_0x38b2af,_0x18857c,_0x23d192){const _0x408df0=_0x1040ac;this['_apply'](_0x4318c6,this[_0x408df0(0x343)][_0x408df0(0xd9)](_0x4318c6[_0x408df0(0x1b7)](),_0x38b2af,_0x18857c,_0x23d192));}[_0x1040ac(0x210)](_0x5aaf80,_0x215bf4,_0x5c07c2,_0x45d014){const _0x267a30=_0x1040ac;this[_0x267a30(0x16f)](_0x5aaf80,this[_0x267a30(0x343)][_0x267a30(0x210)](_0x5aaf80[_0x267a30(0x1b7)](),_0x215bf4,_0x5c07c2,_0x45d014));}['createField'](_0x3123f1,_0x474c26,_0x3c0b45,_0x463c71,_0x53981e){const _0x161e59=_0x1040ac;this[_0x161e59(0x16f)](_0x3123f1,this[_0x161e59(0x183)](_0x3123f1,_0x474c26,_0x3c0b45,_0x463c71,_0x53981e));}[_0x1040ac(0x22e)](_0x4d8e5b,_0x21b1d5,_0x4b9c32,_0x23aac1){const _0x36c079=_0x1040ac;if(!this['_permissionService'][_0x36c079(0x1d6)](_0x21b1d5,_0x4b9c32))throw Error('[BaseCommandService]:\x20cannot\x20edit\x20field.');this[_0x36c079(0x16f)](_0x4d8e5b,this[_0x36c079(0x343)][_0x36c079(0x22e)](_0x4d8e5b[_0x36c079(0x1b7)](),_0x21b1d5,_0x4b9c32,_0x23aac1));}[_0x1040ac(0xbb)](_0x5d9900,_0x159fc8,_0x34ba94,_0x5685f4){const _0x38ee5b=_0x1040ac;if(!this[_0x38ee5b(0x279)][_0x38ee5b(0x1d6)](_0x159fc8,_0x34ba94))throw Error(_0x38ee5b(0x26a));this[_0x38ee5b(0x16f)](_0x5d9900,this['_factory'][_0x38ee5b(0xbb)](_0x5d9900['getSnapshot'](),_0x159fc8,_0x34ba94,_0x5685f4));}[_0x1040ac(0xbd)](_0x546887,_0x50de99,_0x70694b){const _0x529acb=_0x1040ac;var _0x480981;if(((_0x480981=_0x546887[_0x529acb(0x1b7)]()['tables'][_0x50de99])==null?void 0x0:_0x480981['primaryFieldId'])===_0x70694b)throw Error('[BaseCommandService]:\x20cannot\x20delete\x20primary\x20field.');if(!this[_0x529acb(0x279)][_0x529acb(0x1d5)](_0x50de99,_0x70694b))throw Error(_0x529acb(0x34f));this[_0x529acb(0x16f)](_0x546887,this['_factory'][_0x529acb(0xbd)](_0x546887[_0x529acb(0x1b7)](),_0x50de99,_0x70694b));}[_0x1040ac(0xef)](_0xa674d9,_0x30a2e9,_0x1bb57b,_0x195645){const _0x4fa457=_0x1040ac;if(!this[_0x4fa457(0x279)][_0x4fa457(0x1d6)](_0x30a2e9,_0x1bb57b))throw Error(_0x4fa457(0x26a));this[_0x4fa457(0x16f)](_0xa674d9,this[_0x4fa457(0x343)][_0x4fa457(0xef)](_0xa674d9['getSnapshot'](),_0x30a2e9,_0x1bb57b,_0x195645));}['createView'](_0x5e755e,_0x1f6adb,_0x25fb00,_0x2a61bf){const _0x4c7f00=_0x1040ac;this[_0x4c7f00(0x16f)](_0x5e755e,this[_0x4c7f00(0x343)][_0x4c7f00(0x32f)](_0x5e755e[_0x4c7f00(0x1b7)](),_0x1f6adb,_0x25fb00,_0x2a61bf));}[_0x1040ac(0xd1)](_0x361c29,_0x425faa,_0x150a19,_0xe8055d){const _0x5918a4=_0x1040ac;if(!this[_0x5918a4(0x279)][_0x5918a4(0xfa)](_0x425faa,_0x150a19))throw Error('[BaseCommandService]:\x20cannot\x20manage\x20view.');this['_apply'](_0x361c29,this[_0x5918a4(0x343)][_0x5918a4(0xd1)](_0x361c29[_0x5918a4(0x1b7)](),_0x425faa,_0x150a19,_0xe8055d));}[_0x1040ac(0xb2)](_0x496c02,_0x2d183f,_0x521c10){const _0x5d6dcb=_0x1040ac;if(!this[_0x5d6dcb(0x279)][_0x5d6dcb(0xfa)](_0x2d183f,_0x521c10))throw Error(_0x5d6dcb(0x34a));this['_apply'](_0x496c02,this[_0x5d6dcb(0x343)][_0x5d6dcb(0xb2)](_0x496c02[_0x5d6dcb(0x1b7)](),_0x2d183f,_0x521c10));}[_0x1040ac(0x2f3)](_0x2f9070,_0x20f0c6,_0x1dbd54,_0x5b5ea6){const _0x2fd1b4=_0x1040ac;if(!this['_permissionService'][_0x2fd1b4(0xfa)](_0x20f0c6,_0x1dbd54))throw Error(_0x2fd1b4(0x34a));this['_apply'](_0x2f9070,this[_0x2fd1b4(0x343)][_0x2fd1b4(0x2f3)](_0x2f9070[_0x2fd1b4(0x1b7)](),_0x20f0c6,_0x1dbd54,_0x5b5ea6));}[_0x1040ac(0x233)](_0x285b81,_0x487744,_0x2fffae,_0x5883c9){const _0x25d345=_0x1040ac;if(!this[_0x25d345(0x279)][_0x25d345(0xfa)](_0x487744,_0x2fffae))throw Error(_0x25d345(0x34a));this[_0x25d345(0x16f)](_0x285b81,this[_0x25d345(0x343)]['updateViewConfig'](_0x285b81[_0x25d345(0x1b7)](),_0x487744,_0x2fffae,_0x5883c9));}[_0x1040ac(0x1ee)](_0x598c1a,_0x3a1aea,_0xb2ab5a,_0x563181){const _0x647d71=_0x1040ac;this[_0x647d71(0x16f)](_0x598c1a,this[_0x647d71(0x343)][_0x647d71(0x1ee)](_0x598c1a[_0x647d71(0x1b7)](),_0x3a1aea,_0xb2ab5a,_0x563181));}[_0x1040ac(0xd5)](_0x2906ed,_0x4b152a,_0x55cdf8,_0x2044be){const _0x55c74d=_0x1040ac;this[_0x55c74d(0x16f)](_0x2906ed,this[_0x55c74d(0x343)]['setViewSort'](_0x2906ed[_0x55c74d(0x1b7)](),_0x4b152a,_0x55cdf8,_0x2044be));}['setViewGroup'](_0x1b3083,_0x2edfd2,_0x22dfcd,_0x4bfc76){const _0x6a631=_0x1040ac;this[_0x6a631(0x16f)](_0x1b3083,this['_factory'][_0x6a631(0x227)](_0x1b3083['getSnapshot'](),_0x2edfd2,_0x22dfcd,_0x4bfc76));}['setViewFieldVisible'](_0x2b1a8b,_0x386e08,_0x35af55,_0x2a44cc,_0xfc4dea){const _0x575cd5=_0x1040ac;if(!this['_permissionService']['canManageView'](_0x386e08,_0x35af55))throw Error(_0x575cd5(0x34a));this['_apply'](_0x2b1a8b,this[_0x575cd5(0x343)][_0x575cd5(0x15d)](_0x2b1a8b['getSnapshot'](),_0x386e08,_0x35af55,_0x2a44cc,_0xfc4dea));}[_0x1040ac(0x243)](_0x3dca44,_0x210d51,_0x49e4e2,_0xe74a53,_0x3ce830){const _0x3fd273=_0x1040ac;this[_0x3fd273(0x16f)](_0x3dca44,this['_factory'][_0x3fd273(0x243)](_0x3dca44[_0x3fd273(0x1b7)](),_0x210d51,_0x49e4e2,_0xe74a53,_0x3ce830));}[_0x1040ac(0x1f0)](_0x3b8290,_0x25ab9f,_0x19b5e3,_0x34ddf5,_0x1bc8c6){this['_apply'](_0x3b8290,this['_factory']['setViewFieldOrder'](_0x3b8290['getSnapshot'](),_0x25ab9f,_0x19b5e3,_0x34ddf5,_0x1bc8c6));}[_0x1040ac(0x16f)](_0x39e41f,_0x375d4d){const _0x2b2fd2=_0x1040ac;let _0x11dd4c=_0x39e41f[_0x2b2fd2(0x1b7)]();_0x39e41f['setSnapshot'](this[_0x2b2fd2(0x34c)][_0x2b2fd2(0xc8)](_0x11dd4c,_0x375d4d));}['_createRecordWithDefaults'](_0x4aee73,_0x4a458a,_0x9c5511,_0x5aef12=this[_0x1040ac(0x265)](_0x4aee73[_0x1040ac(0x274)][_0x4a458a])){const _0xc422c5=_0x1040ac;var _0x272600,_0x5ab365,_0x429253,_0x18f10b;let _0x2b9050=_0x4aee73[_0xc422c5(0x274)][_0x4a458a],_0x1d73d3=(_0x272600=(_0x5ab365=_0x9c5511[_0xc422c5(0x18f)])==null?_0x9c5511[_0xc422c5(0x120)]:_0x5ab365)==null?this['_getCurrentUserId']():_0x272600,_0x5b53ad={..._0x9c5511,'createdBy':(_0x429253=_0x9c5511['createdBy'])==null?_0x1d73d3:_0x429253,'updatedBy':(_0x18f10b=_0x9c5511['updatedBy'])==null?_0x1d73d3:_0x18f10b,'values':{..._0x9c5511[_0xc422c5(0x29d)]}};return _0x2b9050[_0xc422c5(0xce)][_0xc422c5(0x2d3)](_0xb2d7d9=>{const _0x4ef4cf=_0xc422c5;let _0x499b2c=_0x2b9050[_0x4ef4cf(0x351)][_0xb2d7d9];if(!(!_0x499b2c||_0x5b53ad[_0x4ef4cf(0x29d)][_0xb2d7d9]!==void 0x0))switch(_0x499b2c[_0x4ef4cf(0xd2)]){case _0x406b36[_0x4ef4cf(0x1b1)]:var _0x11b948,_0x313772;_0x5b53ad['values'][_0xb2d7d9]=(_0x11b948=(_0x313772=_0x5aef12[_0x4ef4cf(0x370)](_0xb2d7d9))==null?void 0x0:_0x313772())==null?this[_0x4ef4cf(0x325)](_0x2b9050,_0xb2d7d9)():_0x11b948;break;case _0x406b36[_0x4ef4cf(0x2bb)]:_0x5b53ad[_0x4ef4cf(0x18f)]&&(_0x5b53ad[_0x4ef4cf(0x29d)][_0xb2d7d9]=_0x5b53ad[_0x4ef4cf(0x18f)]);break;case _0x406b36[_0x4ef4cf(0x23e)]:_0x5b53ad['updatedBy']&&(_0x5b53ad[_0x4ef4cf(0x29d)][_0xb2d7d9]=_0x5b53ad[_0x4ef4cf(0x120)]);break;case _0x406b36['CreatedAt']:_0x5b53ad['values'][_0xb2d7d9]=j(_0x5b53ad[_0x4ef4cf(0x172)]);break;case _0x406b36[_0x4ef4cf(0xc5)]:_0x5b53ad['values'][_0xb2d7d9]=j(_0x5b53ad[_0x4ef4cf(0x236)]);break;default:{let _0x1e9b6e=_0x499b2c[_0x4ef4cf(0x145)];_0x1e9b6e!=null&&_0x1e9b6e!==''&&!(Array[_0x4ef4cf(0x1c5)](_0x1e9b6e)&&_0x1e9b6e[_0x4ef4cf(0x1ac)]===0x0)&&(_0x5b53ad[_0x4ef4cf(0x29d)][_0xb2d7d9]=_0x1e9b6e);}}}),_0x5b53ad;}[_0x1040ac(0x116)](_0x58b7d1,_0x425eb6,_0x500c9e,_0x205411){const _0x39bcc8=_0x1040ac;var _0x1036de,_0x389a05,_0x38e7a8;let _0x57661d=_0x58b7d1[_0x39bcc8(0x274)][_0x425eb6],_0x4661f4=(_0x1036de=(_0x389a05=(_0x38e7a8=this[_0x39bcc8(0x34d)])[_0x39bcc8(0x2c5)])==null?void 0x0:_0x389a05[_0x39bcc8(0x1ae)](_0x38e7a8))==null?Date[_0x39bcc8(0x2c5)]():_0x1036de,_0x4ae806=this[_0x39bcc8(0x365)](),_0x14b4b8={..._0x205411};return _0x57661d['fieldOrder'][_0x39bcc8(0x2d3)](_0x3483ad=>{const _0x12cbab=_0x39bcc8;let _0x28f459=_0x57661d['fields'][_0x3483ad];_0x28f459&&(_0x28f459[_0x12cbab(0xd2)]===_0x406b36[_0x12cbab(0xc5)]&&(_0x14b4b8[_0x3483ad]=j(_0x4661f4)),_0x28f459[_0x12cbab(0xd2)]===_0x406b36[_0x12cbab(0x23e)]&&_0x4ae806&&(_0x14b4b8[_0x3483ad]=_0x4ae806));}),{'recordId':_0x500c9e,'values':_0x14b4b8,'recordPatch':{'updatedAt':_0x4661f4,..._0x4ae806?{'updatedBy':_0x4ae806}:{}}};}[_0x1040ac(0x33a)](_0x3a9055,_0x5874bf,_0x36a8b9){const _0xf5b7f1=_0x1040ac;let _0x393d3f=_0x3a9055[_0xf5b7f1(0x274)][_0x5874bf];return!_0x393d3f||!cn(_0x36a8b9)?[]:_0x36a8b9['type']===_0x406b36['Numbering']?this['_createNumberingFieldValuePatches'](_0x393d3f,_0x36a8b9['id']):Object[_0xf5b7f1(0x29d)](_0x393d3f[_0xf5b7f1(0x1fa)])['flatMap'](_0x5b75b4=>{const _0x33191d=_0xf5b7f1;let _0x18343c=this[_0x33191d(0x240)](_0x36a8b9,_0x5b75b4);return _0x18343c===void 0x0?[]:[{'recordId':_0x5b75b4['id'],'values':{[_0x36a8b9['id']]:_0x18343c}}];});}[_0x1040ac(0x240)](_0x5f0a61,_0x1b64f2){const _0x2b01f0=_0x1040ac;switch(_0x5f0a61[_0x2b01f0(0xd2)]){case _0x406b36[_0x2b01f0(0x2bb)]:var _0x4b8c85;return(_0x4b8c85=_0x1b64f2[_0x2b01f0(0x18f)])==null?this['_getCurrentUserId']():_0x4b8c85;case _0x406b36['UpdatedBy']:var _0x3fc524;return(_0x3fc524=_0x1b64f2[_0x2b01f0(0x120)])==null?this['_getCurrentUserId']():_0x3fc524;case _0x406b36[_0x2b01f0(0x34e)]:var _0x27d325;return j((_0x27d325=_0x1b64f2[_0x2b01f0(0x172)])==null?Date[_0x2b01f0(0x2c5)]():_0x27d325);case _0x406b36['UpdatedAt']:var _0x338c28;return j((_0x338c28=_0x1b64f2[_0x2b01f0(0x236)])==null?Date[_0x2b01f0(0x2c5)]():_0x338c28);default:return;}}[_0x1040ac(0x265)](_0x4f5a56){const _0x513189=_0x1040ac;let _0x451f17=new Map();return _0x4f5a56&&_0x4f5a56[_0x513189(0xce)]['forEach'](_0x16cedf=>{const _0x4110a8=_0x513189;let _0x49d92b=_0x4f5a56[_0x4110a8(0x351)][_0x16cedf];(_0x49d92b==null?void 0x0:_0x49d92b[_0x4110a8(0xd2)])===_0x406b36[_0x4110a8(0x1b1)]&&_0x451f17[_0x4110a8(0xdc)](_0x16cedf,this[_0x4110a8(0x325)](_0x4f5a56,_0x16cedf));}),_0x451f17;}[_0x1040ac(0x325)](_0x40ac14,_0x45fcc2){const _0x1ea818=_0x1040ac;let _0x4b7829=Object[_0x1ea818(0x29d)](_0x40ac14[_0x1ea818(0x1fa)])[_0x1ea818(0x2b8)]((_0x2d4b4d,_0x52d700)=>{const _0x4ea342=_0x1ea818;let _0x1ed59f=Number(_0x52d700[_0x4ea342(0x29d)][_0x45fcc2]);return Number[_0x4ea342(0x299)](_0x1ed59f)?Math[_0x4ea342(0x2f7)](_0x2d4b4d,_0x1ed59f):_0x2d4b4d;},0x0);return()=>String(++_0x4b7829);}['_createNumberingFieldValuePatches'](_0x2a7fce,_0x7aa0dd){const _0x58e32b=_0x1040ac;let _0x4fed73=this['_getOrderedRecords'](_0x2a7fce),_0x3bd181=this[_0x58e32b(0x325)](_0x2a7fce,_0x7aa0dd);return _0x4fed73[_0x58e32b(0x1a6)](_0x290d04=>this[_0x58e32b(0x14e)](_0x290d04[_0x58e32b(0x29d)][_0x7aa0dd])?[]:[{'recordId':_0x290d04['id'],'values':{[_0x7aa0dd]:_0x3bd181()}}]);}['_getOrderedRecords'](_0x2d2771){const _0xa21dac=_0x1040ac;var _0x2518c2;let _0xc66dd4=Object['values'](_0x2d2771['records']),_0x282aff=new Map(_0xc66dd4['map'](_0x34bd53=>[_0x34bd53['id'],_0x34bd53])),_0x988ac0=[],_0x411719=new Set();(_0x2518c2=_0x2d2771[_0xa21dac(0x218)])==null||_0x2518c2[_0xa21dac(0x2d3)](_0x84472c=>{const _0xf7a5bb=_0xa21dac;let _0x4c0ab6=_0x282aff[_0xf7a5bb(0x370)](_0x84472c);_0x4c0ab6&&(_0x988ac0[_0xf7a5bb(0x143)](_0x4c0ab6),_0x411719['add'](_0x84472c));});let _0x5b5f61=_0xc66dd4[_0xa21dac(0x308)](_0x29565a=>!_0x411719[_0xa21dac(0x31e)](_0x29565a['id']))[_0xa21dac(0x127)]((_0x41c9f8,_0x148e9d)=>{const _0x5a056a=_0xa21dac;var _0x3364e2,_0x3f3bc3;return String((_0x3364e2=_0x41c9f8[_0x5a056a(0x1a0)])==null?_0x41c9f8['id']:_0x3364e2)[_0x5a056a(0x31c)](String((_0x3f3bc3=_0x148e9d[_0x5a056a(0x1a0)])==null?_0x148e9d['id']:_0x3f3bc3))||_0x41c9f8['id'][_0x5a056a(0x31c)](_0x148e9d['id']);});return[..._0x988ac0,..._0x5b5f61];}['_isNonEmptyCellValue'](_0x5dcf93){const _0x37afb1=_0x1040ac;return _0x5dcf93!=null&&_0x5dcf93!==''&&!(Array[_0x37afb1(0x1c5)](_0x5dcf93)&&_0x5dcf93[_0x37afb1(0x1ac)]===0x0);}[_0x1040ac(0x365)](){const _0x423a84=_0x1040ac;var _0x4b2b48,_0x1ad345,_0x595431,_0x1de97f,_0x4491a9,_0x286783;return(_0x4b2b48=(_0x1ad345=(_0x595431=(_0x1de97f=this['_runtimeContext'])[_0x423a84(0x105)])==null?void 0x0:_0x595431[_0x423a84(0x1ae)](_0x1de97f))==null?(_0x4491a9=(_0x286783=this[_0x423a84(0x34d)])['getCurrentUser'])==null||(_0x4491a9=_0x4491a9[_0x423a84(0x1ae)](_0x286783))==null?void 0x0:_0x4491a9[_0x423a84(0x144)]:_0x1ad345)==null?void 0x0:_0x4b2b48;}['_normalizeCellValue'](_0x15daa5,_0x27f499,_0x1d2598,_0x44a5e9,_0x5024f5){const _0x8913c3=_0x1040ac;var _0x141dc8;if(!this[_0x8913c3(0x279)][_0x8913c3(0x142)](_0x27f499,_0x1d2598,_0x44a5e9))throw Error('[BaseCommandService]:\x20cannot\x20edit\x20cell.');let _0x33f01b=(_0x141dc8=_0x15daa5[_0x8913c3(0x274)][_0x27f499])==null?void 0x0:_0x141dc8[_0x8913c3(0x351)][_0x44a5e9];if(!_0x33f01b)throw Error(_0x8913c3(0x250)+_0x44a5e9+_0x8913c3(0x1de));let _0x1994d4=this[_0x8913c3(0x32b)][_0x8913c3(0x370)](_0x33f01b[_0x8913c3(0xd2)]);if(_0x33f01b[_0x8913c3(0x11d)]||_0x33f01b[_0x8913c3(0x137)]||!_0x1994d4[_0x8913c3(0x297)](_0x33f01b)['editable'])throw Error(_0x8913c3(0x20e));let _0x9d3a1f=_0x1994d4[_0x8913c3(0x194)](_0x5024f5,_0x33f01b),_0x57e1ac=_0x1994d4['validate'](_0x9d3a1f,_0x33f01b);if(!_0x57e1ac[_0x8913c3(0x221)]){var _0x5721f8;throw Error((_0x5721f8=_0x57e1ac['reason'])==null?_0x8913c3(0x1ad):_0x5721f8);}return _0x9d3a1f;}};on=U([H(0x0,nn),H(0x1,en)],on);function sn(){const _0xb9dfe1=_0x1040ac;let _0x4cb698=new tn();return At()['forEach'](_0x5f2749=>_0x4cb698[_0xb9dfe1(0x1a5)](_0x5f2749)),_0x4cb698;}function cn(_0x12f69e){const _0x2cc2ec=_0x1040ac;return _0x12f69e[_0x2cc2ec(0xd2)]===_0x406b36['Numbering']||_0x12f69e[_0x2cc2ec(0xd2)]===_0x406b36['CreatedBy']||_0x12f69e[_0x2cc2ec(0xd2)]===_0x406b36[_0x2cc2ec(0x23e)]||_0x12f69e[_0x2cc2ec(0xd2)]===_0x406b36['CreatedAt']||_0x12f69e[_0x2cc2ec(0xd2)]===_0x406b36[_0x2cc2ec(0xc5)];}const ln=new Set([_0x406b36[_0x1040ac(0x1fe)],_0x406b36[_0x1040ac(0x367)],_0x406b36[_0x1040ac(0x32e)]]);function un(_0x2d57b7){const _0x26db72=_0x1040ac;var _0x11f406,_0x3531ec;let _0x5777fe=_0x2d57b7[_0x26db72(0x351)][_0x2d57b7[_0x26db72(0x2a0)]];return!(_0x5777fe&&(_0x5777fe[_0x26db72(0x137)]===!0x0||_0x5777fe['id'][_0x26db72(0x1da)]()==='id'||_0x5777fe[_0x26db72(0x27a)]['trim']()['toLowerCase']()==='id'))&&_0x5777fe?_0x5777fe['id']:(_0x11f406=(_0x3531ec=_0x2d57b7['fieldOrder'][_0x26db72(0xb4)](_0x2daf7e=>_0x2d57b7[_0x26db72(0x351)][_0x2daf7e])[_0x26db72(0x1cc)](_0xf5867f=>_0xf5867f&&_0xf5867f['id']!==_0x2d57b7['primaryFieldId']))==null?void 0x0:_0x3531ec['id'])==null?_0x2d57b7[_0x26db72(0x2a0)]:_0x11f406;}function dn(_0x4348f7,_0x55088a=[],_0x347d93=0x5){const _0x2b7de9=_0x1040ac;let _0x18deab=new Set(_0x55088a['filter'](_0x73ab7f=>!!_0x73ab7f)),_0x591986=_0x4348f7[_0x2b7de9(0xce)][_0x2b7de9(0x1a6)](_0x108c5a=>{const _0x39ba78=_0x2b7de9;let _0x17ca05=_0x4348f7['fields'][_0x108c5a];return _0x17ca05&&!_0x18deab[_0x39ba78(0x31e)](_0x17ca05['id'])?[_0x17ca05]:[];}),_0x22f230=_0x591986[_0x2b7de9(0x308)](_0x35ca85=>ln[_0x2b7de9(0x31e)](_0x35ca85['type'])),_0xea1f2b=_0x591986[_0x2b7de9(0x308)](_0x298cb7=>!ln[_0x2b7de9(0x31e)](_0x298cb7[_0x2b7de9(0xd2)]));return[..._0x22f230,..._0xea1f2b][_0x2b7de9(0x35c)](0x0,_0x347d93)[_0x2b7de9(0xb4)](_0x411e79=>_0x411e79['id']);}function fn(){const _0x3aac4e=_0x1040ac;return[{'type':_0x7d70ae[_0x3aac4e(0x24e)],'i18nKey':'base.viewType.grid','createDefaultConfig':()=>({}),'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x309fc0=_0x3aac4e;throw Error(_0x309fc0(0xc0));}},{'type':_0x7d70ae[_0x3aac4e(0xc6)],'i18nKey':_0x3aac4e(0x1db),'createDefaultConfig':_0x5ed559=>{const _0xa2d63f=_0x3aac4e;let _0x3c5721=pn(_0x5ed559);return{'groupFieldId':_0x3c5721,'coverFieldId':null,'cardLayout':_0xa2d63f(0xd8),'showFieldNames':!0x0,'fieldSettings':{},'columnSettings':{},'card':{'titleFieldId':_0x5ed559[_0xa2d63f(0x2a0)],'fieldIds':dn(_0x5ed559,[_0x5ed559[_0xa2d63f(0x2a0)],_0x3c5721])}};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x291aa1=_0x3aac4e;throw Error(_0x291aa1(0x103));}},{'type':_0x7d70ae[_0x3aac4e(0x36d)],'i18nKey':'base.viewType.calendar','createDefaultConfig':_0x4a9e87=>{const _0x2eaf6f=_0x3aac4e;let _0x56f99b=mn(_0x4a9e87);return{'startDateFieldId':_0x56f99b,'endDateFieldId':hn(_0x4a9e87,_0x56f99b),'titleFieldId':_0x4a9e87[_0x2eaf6f(0x2a0)],'mode':_0x2eaf6f(0x2e2),'timeslotSize':'medium','timeZone':_0x2eaf6f(0x2c0),'displayColor':{'type':_0x2eaf6f(0x1b6),'color':_0x2eaf6f(0x269)},'fieldSettings':{}};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x175160=_0x3aac4e;throw Error(_0x175160(0x171));}},{'type':_0x7d70ae[_0x3aac4e(0xed)],'i18nKey':_0x3aac4e(0x255),'createDefaultConfig':_0x1c9dce=>{const _0x43ceb1=_0x3aac4e;var _0x12c2c2;let _0x42ec92=mn(_0x1c9dce);return{'startDateFieldId':_0x42ec92,'endDateFieldId':(_0x12c2c2=hn(_0x1c9dce,_0x42ec92))==null?_0x42ec92:_0x12c2c2,'titleFieldId':_0x1c9dce['primaryFieldId'],'scale':_0x43ceb1(0x2e2),'showTodayLine':!0x0,'displayColor':{'type':'custom','color':_0x43ceb1(0x121)},'fieldSettings':{},'workingDaysOnly':!0x1};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x59dbf7=_0x3aac4e;throw Error(_0x59dbf7(0x30e));}},{'type':_0x7d70ae[_0x3aac4e(0x132)],'i18nKey':'base.viewType.gallery','createDefaultConfig':_0x31927b=>{const _0x13cdca=_0x3aac4e;let _0x5ce6f5=un(_0x31927b);return{'coverFieldId':null,'cardLayout':_0x13cdca(0xd8),'showFieldNames':!0x0,'fieldSettings':{},'card':{'titleFieldId':_0x5ce6f5,'coverFieldId':null,'fieldIds':dn(_0x31927b,[_0x5ce6f5,_0x31927b[_0x13cdca(0x2a0)]])},'cardSize':_0x13cdca(0x130)};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{throw Error('Gallery\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.');}}];}function pn(_0x4fce95){const _0x1a4718=_0x1040ac;var _0x5e116a,_0x1b485f,_0x1ab14c,_0x403e59,_0x159400,_0x2737ed;let _0x519cc9=_0x4fce95[_0x1a4718(0xce)][_0x1a4718(0xb4)](_0xc686c8=>_0x4fce95['fields'][_0xc686c8])[_0x1a4718(0x308)](_0x37f3ae=>!!_0x37f3ae);return(_0x5e116a=(_0x1b485f=(_0x1ab14c=(_0x403e59=_0x519cc9[_0x1a4718(0x1cc)](_0xf176a1=>_0xf176a1[_0x1a4718(0xd2)]===_0x406b36['SingleSelect']||_0xf176a1[_0x1a4718(0xd2)]===_0x406b36[_0x1a4718(0x2ce)]||_0xf176a1[_0x1a4718(0xd2)]===_0x406b36[_0x1a4718(0x26b)]))==null?void 0x0:_0x403e59['id'])==null?(_0x159400=_0x519cc9[_0x1a4718(0x1cc)](_0x5c7374=>_0x5c7374[_0x1a4718(0xd2)]===_0x406b36[_0x1a4718(0x22f)]))==null?void 0x0:_0x159400['id']:_0x1ab14c)==null?(_0x2737ed=_0x519cc9[_0x1a4718(0x1cc)](_0x6f5b8c=>_0x6f5b8c[_0x1a4718(0xd2)]===_0x406b36[_0x1a4718(0x107)]||_0x6f5b8c['type']===_0x406b36['CreatedAt']||_0x6f5b8c['type']===_0x406b36[_0x1a4718(0xc5)]))==null?void 0x0:_0x2737ed['id']:_0x1b485f)==null?_0x4fce95[_0x1a4718(0x2a0)]:_0x5e116a;}function mn(_0xeb9019){const _0x35d0df=_0x1040ac;var _0x8c439e,_0x27d194;return(_0x8c439e=(_0x27d194=_0xeb9019[_0x35d0df(0xce)][_0x35d0df(0xb4)](_0x23c5e7=>_0xeb9019[_0x35d0df(0x351)][_0x23c5e7])[_0x35d0df(0x1cc)](gn))==null?void 0x0:_0x27d194['id'])==null?'':_0x8c439e;}function hn(_0x34aa7e,_0x7c8870){const _0xefa5b1=_0x1040ac;var _0x42a2ea;return(_0x42a2ea=_0x34aa7e[_0xefa5b1(0xce)]['map'](_0x2fd575=>_0x34aa7e['fields'][_0x2fd575])[_0xefa5b1(0x1cc)](_0x46e8be=>gn(_0x46e8be)&&_0x46e8be['id']!==_0x7c8870))==null?void 0x0:_0x42a2ea['id'];}function gn(_0x5971d4){const _0x4de5b9=_0x1040ac;return!!_0x5971d4&&_0x5971d4[_0x4de5b9(0xd2)]===_0x406b36[_0x4de5b9(0x107)]&&_0x5971d4[_0x4de5b9(0x11d)]!==!0x0&&_0x5971d4['system']!==!0x0;}const _n=_0x43b5b5('base.projection.service'),vn=new Set([_0x406b36[_0x1040ac(0x123)],_0x406b36[_0x1040ac(0xcf)],_0x406b36['Progress'],_0x406b36[_0x1040ac(0x367)],_0x406b36['Date'],_0x406b36['CreatedAt'],_0x406b36[_0x1040ac(0xc5)],_0x406b36[_0x1040ac(0x32e)]]);let yn=class extends _0x41e38b{constructor(_0x24a544){const _0x548ca6=_0x1040ac;super(),this[_0x548ca6(0x32b)]=_0x24a544,B(this,'_views',new Map()),B(this,_0x548ca6(0x27b),new WeakMap()),B(this,_0x548ca6(0x29c),new Map()),B(this,_0x548ca6(0x198),new Map()),B(this,'_projectedGroupsCache',new Map()),B(this,_0x548ca6(0x31b),0x0),B(this,_0x548ca6(0xf2),new Map()),B(this,_0x548ca6(0xe1),new Map()),B(this,'_cellInvalidations',new Map()),B(this,_0x548ca6(0x224),new Map());}[_0x1040ac(0x235)](_0x1f426c){const _0x58bbfb=_0x1040ac;return this[_0x58bbfb(0x2bd)][_0x58bbfb(0xdc)](_0x1f426c[_0x58bbfb(0xd2)],_0x1f426c),_0x5b27e8(()=>this[_0x58bbfb(0x2bd)][_0x58bbfb(0x2aa)](_0x1f426c[_0x58bbfb(0xd2)]));}[_0x1040ac(0x320)](_0x4b4d8b,_0x46675d,_0x2cde06){const _0x4f0b38=_0x1040ac;var _0x32f30e,_0x37c486,_0x3ce4ec,_0x542126,_0x59ad9e;return T('BaseProjection.getProjection',()=>{const _0x410fd8=_0x4ff6;let _0xb3f588=this['_getCachedProjection'](_0x4b4d8b,_0x46675d,_0x2cde06);if(_0xb3f588)return _0xb3f588;let _0x3c9f89=_0x4b4d8b['tables'][_0x46675d],_0x43a083=_0x3c9f89==null?void 0x0:_0x3c9f89[_0x410fd8(0x165)][_0x2cde06];if(!_0x3c9f89||!_0x43a083){var _0x5d6b6a;return this[_0x410fd8(0x24d)](_0x4b4d8b,_0x46675d,_0x2cde06,{'type':'invalid','viewType':(_0x5d6b6a=_0x43a083==null?void 0x0:_0x43a083[_0x410fd8(0xd2)])==null?_0x7d70ae[_0x410fd8(0x24e)]:_0x5d6b6a,'reason':_0x410fd8(0x119)});}let _0x3cf0e2;switch(_0x43a083[_0x410fd8(0xd2)]){case _0x7d70ae[_0x410fd8(0x24e)]:_0x3cf0e2=this[_0x410fd8(0x1c4)](_0x3c9f89,_0x43a083);break;case _0x7d70ae[_0x410fd8(0xed)]:_0x3cf0e2=this[_0x410fd8(0x268)](_0x3c9f89,_0x43a083);break;case _0x7d70ae[_0x410fd8(0xc6)]:_0x3cf0e2=this[_0x410fd8(0x2d4)](_0x3c9f89,_0x43a083);break;case _0x7d70ae[_0x410fd8(0x36d)]:_0x3cf0e2=this['_buildCalendar'](_0x3c9f89,_0x43a083);break;case _0x7d70ae[_0x410fd8(0x132)]:_0x3cf0e2=this[_0x410fd8(0x150)](_0x3c9f89,_0x43a083);break;default:_0x3cf0e2={'type':'invalid','viewType':_0x43a083['type'],'reason':'missingField'};}return this[_0x410fd8(0x24d)](_0x4b4d8b,_0x46675d,_0x2cde06,_0x3cf0e2);},{'tableId':_0x46675d,'viewId':_0x2cde06,'viewType':(_0x32f30e=_0x4b4d8b['tables'][_0x46675d])==null||(_0x32f30e=_0x32f30e[_0x4f0b38(0x165)][_0x2cde06])==null?void 0x0:_0x32f30e[_0x4f0b38(0xd2)],'records':(_0x37c486=(_0x3ce4ec=_0x4b4d8b[_0x4f0b38(0x274)][_0x46675d])==null||(_0x3ce4ec=_0x3ce4ec[_0x4f0b38(0x218)])==null?void 0x0:_0x3ce4ec[_0x4f0b38(0x1ac)])==null?Object[_0x4f0b38(0x1d0)]((_0x542126=(_0x59ad9e=_0x4b4d8b['tables'][_0x46675d])==null?void 0x0:_0x59ad9e['records'])==null?{}:_0x542126)[_0x4f0b38(0x1ac)]:_0x37c486});}['repairViewConfig'](_0x50bc48,_0xb967d9,_0x4bfe16){const _0x219577=_0x1040ac;var _0x4833f1,_0x2898ab,_0x355f11,_0x28bb99;let _0x1a7949=_0x50bc48['tables'][_0xb967d9],_0x5633e7=_0x1a7949==null?void 0x0:_0x1a7949[_0x219577(0x165)][_0x4bfe16];if(!_0x1a7949||!_0x5633e7)throw Error(_0x219577(0xc3)+_0x4bfe16+'\x22.');let _0x24b3c2=_0x377bc5=>!!_0x1a7949[_0x219577(0x351)][_0x377bc5],_0x2e85d4={..._0x5633e7,'filter':_0x5633e7[_0x219577(0x308)]?{..._0x5633e7[_0x219577(0x308)],'conditions':_0x5633e7[_0x219577(0x308)]['conditions'][_0x219577(0x308)](_0x1973e8=>_0x24b3c2(_0x1973e8[_0x219577(0x1d4)]))}:_0x5633e7[_0x219577(0x308)],'sort':(_0x4833f1=_0x5633e7[_0x219577(0x127)])==null?void 0x0:_0x4833f1[_0x219577(0x308)](_0x6eece=>_0x24b3c2(_0x6eece[_0x219577(0x1d4)])),'group':(_0x2898ab=_0x5633e7[_0x219577(0x1d1)])==null?void 0x0:_0x2898ab[_0x219577(0x308)](_0x48e659=>_0x24b3c2(_0x48e659[_0x219577(0x1d4)])),'fieldOrder':(_0x355f11=_0x5633e7['fieldOrder'])==null?void 0x0:_0x355f11[_0x219577(0x308)](_0x24b3c2),'fieldSettings':Object[_0x219577(0x1fc)](Object[_0x219577(0x361)]((_0x28bb99=_0x5633e7[_0x219577(0x258)])==null?{}:_0x28bb99)['filter'](([_0x2b5178])=>_0x24b3c2(_0x2b5178)))};if(_0x2e85d4[_0x219577(0xd2)]==='kanban'){var _0x3f4ab1,_0x3e70af,_0x14db66,_0x32efb9;let _0x2fe462=(_0x3f4ab1=_0x2e85d4['config'])==null?{}:_0x3f4ab1,_0x325211=this[_0x219577(0x170)](_0x1a7949,_0x2e85d4);_0x2e85d4['config']={..._0x2fe462,'groupFieldId':_0x325211==null?_0x2fe462[_0x219577(0x147)]:_0x325211,'coverFieldId':this[_0x219577(0x359)](_0x1a7949,_0x2fe462),'cardLayout':_0x2fe462[_0x219577(0xa4)]==='compose'?_0x219577(0x260):'normal','showFieldNames':_0x2fe462[_0x219577(0x312)]!==!0x1,'fieldSettings':Object[_0x219577(0x1fc)](Object[_0x219577(0x361)]((_0x3e70af=_0x2fe462[_0x219577(0x258)])==null?{}:_0x3e70af)[_0x219577(0x308)](([_0x561824])=>_0x24b3c2(_0x561824))),'columnSettings':(_0x14db66=_0x2fe462[_0x219577(0x30c)])==null?{}:_0x14db66,'card':{...(_0x32efb9=_0x2fe462[_0x219577(0x27f)])==null?{}:_0x32efb9,'fieldIds':this[_0x219577(0x168)](_0x1a7949,_0x2e85d4,_0x325211==null?'':_0x325211)}};}return{'repaired':JSON[_0x219577(0x1dc)](_0x2e85d4)!==JSON[_0x219577(0x1dc)](_0x5633e7),'view':_0x2e85d4};}[_0x1040ac(0x30d)](){const _0x3d3ff8=_0x1040ac;this[_0x3d3ff8(0x31b)]++;}[_0x1040ac(0x192)](_0x4bc7f6,_0x238b94,_0xd0329c){const _0x2f4a32=_0x1040ac;var _0x65f8f4;let _0x29d528=this[_0x2f4a32(0x1ab)](_0x4bc7f6)+0x1;this['_cellRevisions']['set'](_0x4bc7f6,_0x29d528);let _0x52be1c=(_0x65f8f4=this[_0x2f4a32(0x2e0)][_0x2f4a32(0x370)](_0x4bc7f6))==null?[]:_0x65f8f4;_0x52be1c['push']({'revision':_0x29d528,'recordId':_0x238b94,'fieldId':_0xd0329c}),this[_0x2f4a32(0x2e0)][_0x2f4a32(0xdc)](_0x4bc7f6,_0x52be1c);}['invalidateByField'](_0x33ac96,_0x36ea10){const _0x459eeb=_0x1040ac;this[_0x459eeb(0x1a8)](_0x33ac96);}[_0x1040ac(0x335)](_0x345279,_0x42f0b0){const _0x1c2cb2=_0x1040ac;this[_0x1c2cb2(0x224)]['set'](this[_0x1c2cb2(0xec)](_0x345279,_0x42f0b0),this[_0x1c2cb2(0x1c6)](_0x345279,_0x42f0b0)+0x1);}[_0x1040ac(0x220)](_0x3b2716,_0xc6a376,_0x5f365f){const _0xcea7f6=_0x1040ac;var _0x579dde;let _0x40c1cd=(_0x579dde=this[_0xcea7f6(0x27b)][_0xcea7f6(0x370)](_0x3b2716))==null?void 0x0:_0x579dde[_0xcea7f6(0x370)](this[_0xcea7f6(0x1a4)](_0xc6a376,_0x5f365f));return _0x40c1cd&&_0x40c1cd[_0xcea7f6(0x316)]===this[_0xcea7f6(0x31b)]&&_0x40c1cd[_0xcea7f6(0xf6)]===this[_0xcea7f6(0x26c)](_0xc6a376)&&_0x40c1cd[_0xcea7f6(0x292)]===this['_getCellRevision'](_0xc6a376)&&_0x40c1cd[_0xcea7f6(0x35e)]===this['_getViewRevision'](_0xc6a376,_0x5f365f)?_0x40c1cd['projection']:null;}['_setCachedProjection'](_0x1277db,_0x4f1c26,_0x37612a,_0x110463){const _0x1efcda=_0x1040ac;let _0x45ed48=this[_0x1efcda(0x27b)][_0x1efcda(0x370)](_0x1277db);return _0x45ed48||(_0x45ed48=new Map(),this[_0x1efcda(0x27b)]['set'](_0x1277db,_0x45ed48)),_0x45ed48[_0x1efcda(0xdc)](this[_0x1efcda(0x1a4)](_0x4f1c26,_0x37612a),{'projection':_0x110463,'globalRevision':this[_0x1efcda(0x31b)],'tableRevision':this[_0x1efcda(0x26c)](_0x4f1c26),'cellRevision':this['_getCellRevision'](_0x4f1c26),'viewRevision':this[_0x1efcda(0x1c6)](_0x4f1c26,_0x37612a)}),_0x110463;}['_bumpTableRevision'](_0x5c9f53){const _0x33f23e=_0x1040ac;this[_0x33f23e(0xf2)]['set'](_0x5c9f53,this[_0x33f23e(0x26c)](_0x5c9f53)+0x1);}[_0x1040ac(0x26c)](_0x48c7ab){const _0x3b375f=_0x1040ac;var _0x4e6da2;return(_0x4e6da2=this[_0x3b375f(0xf2)][_0x3b375f(0x370)](_0x48c7ab))==null?0x0:_0x4e6da2;}[_0x1040ac(0x1ab)](_0x4c95a3){const _0x14709e=_0x1040ac;var _0x337262;return(_0x337262=this[_0x14709e(0xe1)]['get'](_0x4c95a3))==null?0x0:_0x337262;}[_0x1040ac(0x1c6)](_0x34e31a,_0x2dd2af){const _0x3f5711=_0x1040ac;var _0x5c7dbd;return(_0x5c7dbd=this[_0x3f5711(0x224)][_0x3f5711(0x370)](this[_0x3f5711(0xec)](_0x34e31a,_0x2dd2af)))==null?0x0:_0x5c7dbd;}[_0x1040ac(0x1a4)](_0x1b6df9,_0x328e06){return _0x1b6df9+'\x00'+_0x328e06;}[_0x1040ac(0x2db)](_0x372aaf,_0x5479f2){const _0x4d457e=_0x1040ac;return _0x372aaf+'\x00'+this[_0x4d457e(0xdb)](_0x5479f2);}[_0x1040ac(0x2e5)](_0x77888,_0xda4a7e,_0x593ad2){const _0x349a1c=_0x1040ac;return _0x77888+'\x00'+this[_0x349a1c(0xdb)](_0xda4a7e)+'\x00'+this[_0x349a1c(0xcc)](_0x593ad2);}['_rowTransformCacheSegment'](_0x263dcd){const _0x3d4ee1=_0x1040ac;return _0x263dcd?Tn({'filter':Cn(_0x263dcd[_0x3d4ee1(0x308)]),'sort':wn(_0x263dcd[_0x3d4ee1(0x127)])}):_0x3d4ee1(0x15e);}[_0x1040ac(0xcc)](_0x1a1aad){const _0x174bd0=_0x1040ac;return Tn(_0x1a1aad[_0x174bd0(0xb4)](_0x6a8c38=>{const _0x4bffd0=_0x174bd0;var _0x298403;return{'fieldId':_0x6a8c38[_0x4bffd0(0x1d4)],'direction':(_0x298403=_0x6a8c38[_0x4bffd0(0x17c)])==null?null:_0x298403};}));}[_0x1040ac(0xec)](_0x333f66,_0x5a7a14){return _0x333f66+'\x00'+_0x5a7a14;}[_0x1040ac(0x1c4)](_0x5c426c,_0x4f9854){const _0x3103fc=_0x1040ac;let _0x52c064=this['_projectRows'](_0x5c426c,_0x4f9854);return{'type':_0x7d70ae['Grid'],'fields':this[_0x3103fc(0x219)](_0x5c426c,_0x4f9854),'rows':_0x52c064,'groups':this[_0x3103fc(0x2d1)](_0x5c426c,_0x4f9854,_0x52c064),'frozenFieldCount':typeof _0x4f9854[_0x3103fc(0x2ed)][_0x3103fc(0xc1)]==_0x3103fc(0x1f7)?_0x4f9854[_0x3103fc(0x2ed)][_0x3103fc(0xc1)]:0x0};}[_0x1040ac(0x2d4)](_0x1e9bb3,_0x1fc8aa){const _0x1b840e=_0x1040ac;var _0x230548;let _0x225666=this[_0x1b840e(0x170)](_0x1e9bb3,_0x1fc8aa),_0x50f496=_0x225666?_0x1e9bb3['fields'][_0x225666]:void 0x0;if(!_0x50f496)return{'type':'invalid','viewType':_0x7d70ae['Kanban'],'reason':'invalidGroupField','fieldId':_0x1fc8aa['config']['groupFieldId']};let _0x277b86=this['_projectRows'](_0x1e9bb3,_0x1fc8aa),_0x2d0250=this[_0x1b840e(0x219)](_0x1e9bb3,_0x1fc8aa),_0x381e69=(_0x230548=_0x1fc8aa[_0x1b840e(0x2ed)])==null?{}:_0x230548,_0x1bd4a3=this['_resolveKanbanCardFieldIds'](_0x1e9bb3,_0x1fc8aa,_0x50f496['id']),_0x3adefd=new Map();return this[_0x1b840e(0x22c)](_0x50f496,_0x381e69)[_0x1b840e(0x2d3)](_0x1780a6=>_0x3adefd[_0x1b840e(0xdc)](_0x1780a6[_0x1b840e(0x2c8)],{..._0x1780a6,'recordIds':[]})),_0x277b86[_0x1b840e(0x2d3)](_0x4fd398=>{const _0x11e7fc=_0x1b840e;this[_0x11e7fc(0x348)](_0x50f496,_0x4fd398[_0x11e7fc(0x29d)][_0x50f496['id']])[_0x11e7fc(0x2d3)](_0x1865d4=>{const _0x21db98=_0x11e7fc;let _0xda0ad2=_0x3adefd[_0x21db98(0x370)](_0x1865d4),_0x4c8d35=_0xda0ad2==null?{'key':_0x1865d4,'title':this[_0x21db98(0x1ca)](_0x50f496,_0x1865d4,_0x381e69),'color':this[_0x21db98(0x24a)](_0x50f496,_0x1865d4,_0x381e69),'recordIds':[]}:_0xda0ad2;_0x4c8d35['recordIds'][_0x21db98(0x143)](_0x4fd398[_0x21db98(0x158)]),_0x3adefd[_0x21db98(0xdc)](_0x1865d4,_0x4c8d35);});}),{'type':_0x7d70ae[_0x1b840e(0xc6)],'fields':_0x2d0250,'rows':_0x277b86,'groups':this[_0x1b840e(0x2d1)](_0x1e9bb3,_0x1fc8aa,_0x277b86),'groupFieldId':_0x50f496['id'],'coverFieldId':this['_resolveKanbanCoverFieldId'](_0x1e9bb3,_0x381e69),'cardLayout':_0x381e69['cardLayout']===_0x1b840e(0x260)?'compose':_0x1b840e(0xd8),'showFieldNames':_0x381e69[_0x1b840e(0x312)]!==!0x1,'visibleCardFieldIds':_0x1bd4a3,'lanes':Array['from'](_0x3adefd[_0x1b840e(0x29d)]())};}['_resolveKanbanGroupFieldId'](_0x476ec3,_0x1771d7){const _0xfedd30=_0x1040ac;var _0x49a448;let _0xf969af=(_0x49a448=_0x1771d7[_0xfedd30(0x2ed)])==null?void 0x0:_0x49a448[_0xfedd30(0x147)];return _0xf969af&&this[_0xfedd30(0x234)](_0x476ec3,_0xf969af)?_0xf969af:this[_0xfedd30(0x29a)](_0x476ec3,_0x1bc154=>this['_isAllowedKanbanGroupField'](_0x1bc154));}['_findKanbanGroupField'](_0x3b9ce3,_0x324069){const _0x101c63=_0x1040ac;for(let _0x11fb68 of _0x3b9ce3['fieldOrder']){let _0x995e1f=_0x3b9ce3[_0x101c63(0x351)][_0x11fb68];if(_0x995e1f&&_0x324069(_0x995e1f))return _0x995e1f['id'];}return null;}['_isKanbanGroupField'](_0x433437,_0x19861d){const _0x202bbf=_0x1040ac;let _0x20bcde=_0x433437[_0x202bbf(0x351)][_0x19861d];return this[_0x202bbf(0x1b3)](_0x20bcde);}[_0x1040ac(0x1b3)](_0x4bf3aa){const _0xf50216=_0x1040ac;return!!_0x4bf3aa&&(_0x4bf3aa[_0xf50216(0xd2)]===_0x406b36['SingleSelect']||_0x4bf3aa['type']===_0x406b36[_0xf50216(0x2ce)]||_0x4bf3aa['type']===_0x406b36['Rating']||_0x4bf3aa['type']===_0x406b36[_0xf50216(0x1ff)]||_0x4bf3aa['type']===_0x406b36[_0xf50216(0x26b)]||_0x4bf3aa[_0xf50216(0xd2)]===_0x406b36[_0xf50216(0x32e)]);}[_0x1040ac(0x217)](_0x5951e4){const _0x285738=_0x1040ac;return _0x5951e4[_0x285738(0xd2)]===_0x406b36[_0x285738(0x1c7)]||_0x5951e4[_0x285738(0xd2)]===_0x406b36[_0x285738(0x2ce)];}[_0x1040ac(0x359)](_0x5d56f5,_0x3cd679){const _0x54f18a=_0x1040ac;var _0x269985,_0x108a9b,_0x15d921;let _0x3708d1=(_0x269985=(_0x108a9b=_0x3cd679['coverFieldId'])==null?(_0x15d921=_0x3cd679[_0x54f18a(0x27f)])==null?void 0x0:_0x15d921['coverFieldId']:_0x108a9b)==null?null:_0x269985;if(!_0x3708d1)return null;let _0x9e5ef0=_0x5d56f5[_0x54f18a(0x351)][_0x3708d1];return _0x9e5ef0&&this[_0x54f18a(0x36a)](_0x9e5ef0)[_0x54f18a(0x155)]?_0x9e5ef0['id']:null;}[_0x1040ac(0x168)](_0x30cf2f,_0xf748b8,_0x4b31c3){const _0x4a754f=_0x1040ac;var _0x4d456a,_0x12b95c,_0x43a2ae;let _0x2123c2=(_0x4d456a=_0xf748b8[_0x4a754f(0x2ed)])==null?{}:_0x4d456a,_0x26359a=!((_0x12b95c=_0x2123c2['card'])==null||(_0x12b95c=_0x12b95c[_0x4a754f(0x25d)])==null)&&_0x12b95c[_0x4a754f(0x1ac)]?_0x2123c2['card'][_0x4a754f(0x25d)]:dn(_0x30cf2f,[_0x30cf2f[_0x4a754f(0x2a0)],_0x4b31c3]),_0x4a7b7c=(_0x43a2ae=_0x2123c2[_0x4a754f(0x258)])==null?{}:_0x43a2ae;return _0x26359a[_0x4a754f(0x308)](_0x10db71=>{const _0x4aadc4=_0x4a754f;var _0x2bea46,_0x4d991f;let _0x268587=_0x30cf2f['fields'][_0x10db71];return!(!_0x268587||_0x268587['id']===_0x4b31c3||!((_0x2bea46=_0xf748b8[_0x4aadc4(0x258)])==null||(_0x2bea46=_0x2bea46[_0x10db71])==null)&&_0x2bea46[_0x4aadc4(0x1a2)]||(_0x4d991f=_0x4a7b7c[_0x10db71])!=null&&_0x4d991f[_0x4aadc4(0x1a2)]);})[_0x4a754f(0x127)]((_0x38df28,_0x45c378)=>{const _0x3a4ff4=_0x4a754f;var _0x5886a8,_0x36b667,_0x125102,_0x544c1c;return((_0x5886a8=(_0x36b667=_0x4a7b7c[_0x38df28])==null?void 0x0:_0x36b667[_0x3a4ff4(0x1eb)])==null?_0x26359a['indexOf'](_0x38df28):_0x5886a8)-((_0x125102=(_0x544c1c=_0x4a7b7c[_0x45c378])==null?void 0x0:_0x544c1c[_0x3a4ff4(0x1eb)])==null?_0x26359a[_0x3a4ff4(0x28a)](_0x45c378):_0x125102);});}['_getKanbanConfiguredLanes'](_0x290193,_0xe6c821){const _0x21fd5f=_0x1040ac;var _0xf8e81b,_0x300310;let _0x14f355=(Array[_0x21fd5f(0x1c5)]((_0xf8e81b=_0x290193[_0x21fd5f(0x2ed)])==null?void 0x0:_0xf8e81b['options'])?_0x290193['config'][_0x21fd5f(0x1d9)]:[])['flatMap']((_0x371064,_0x4bb690)=>{const _0x8c1c4d=_0x21fd5f;var _0x48e2fe,_0x3a9b8e,_0x36e6e6,_0xb02ded;if(_0x371064==null)return[];let _0x1253d0=typeof _0x371064==_0x8c1c4d(0x2e9)?{'id':_0x371064,'name':_0x371064,'color':void 0x0}:_0x371064,_0x164bca=String((_0x48e2fe=(_0x3a9b8e=_0x1253d0['id'])==null?_0x1253d0[_0x8c1c4d(0x27a)]:_0x3a9b8e)==null?_0x8c1c4d(0x2c4)+(_0x4bb690+0x1):_0x48e2fe);return[{'key':_0x164bca,'title':String((_0x36e6e6=(_0xb02ded=_0x1253d0[_0x8c1c4d(0x27a)])==null?_0x1253d0['id']:_0xb02ded)==null?_0x164bca:_0x36e6e6),'color':this[_0x8c1c4d(0x24a)](_0x290193,_0x164bca,_0xe6c821)}];});return Object[_0x21fd5f(0x361)]((_0x300310=_0xe6c821[_0x21fd5f(0x30c)])==null?{}:_0x300310)[_0x21fd5f(0x2d3)](([_0x4fb21b,_0xe20914])=>{const _0x59e743=_0x21fd5f;var _0x1764ab;_0x14f355['some'](_0x271ab1=>_0x271ab1[_0x59e743(0x2c8)]===_0x4fb21b)||_0x14f355['push']({'key':_0x4fb21b,'title':this[_0x59e743(0x217)](_0x290193)?(_0x1764ab=_0xe20914[_0x59e743(0x336)])==null?this[_0x59e743(0x1ca)](_0x290193,_0x4fb21b,_0xe6c821):_0x1764ab:this['_kanbanLaneTitle'](_0x290193,_0x4fb21b,_0xe6c821),'color':this[_0x59e743(0x24a)](_0x290193,_0x4fb21b,_0xe6c821)});}),_0x14f355;}[_0x1040ac(0x348)](_0x4e998f,_0x156481){const _0x1223a5=_0x1040ac;let _0x1500c4=_0x26aacf=>{var _0x162ed6,_0x573c25;let _0x172c33=_0x26aacf==null?'':String(_0x26aacf);return!_0x172c33||!this['_isColorfulKanbanGroupField'](_0x4e998f)||(_0x162ed6=(_0x573c25=J(_0x4e998f,_0x172c33))==null?void 0x0:_0x573c25['id'])==null?_0x172c33:_0x162ed6;};if(Array[_0x1223a5(0x1c5)](_0x156481)){let _0x17f448=_0x156481[_0x1223a5(0xb4)](_0x1500c4)[_0x1223a5(0x308)](_0x15af1b=>_0x15af1b!=='');return _0x17f448[_0x1223a5(0x1ac)]?_0x17f448:[''];}return[_0x1500c4(_0x156481)];}[_0x1040ac(0x1ca)](_0x4f36ae,_0x48cda0,_0x1ceb46){const _0x2a607d=_0x1040ac;var _0x380c80;if(!_0x48cda0)return'Uncategorized';let _0x2c910f=J(_0x4f36ae,_0x48cda0);return(_0x380c80=_0x2c910f==null?void 0x0:_0x2c910f[_0x2a607d(0x27a)])==null?_0x48cda0:_0x380c80;}['_kanbanLaneColor'](_0x26e4c1,_0x6a7ca0,_0x1f0d37){const _0x55376f=_0x1040ac;var _0x3034ce;if(this['_isColorfulKanbanGroupField'](_0x26e4c1))return(_0x3034ce=J(_0x26e4c1,_0x6a7ca0))==null?void 0x0:_0x3034ce[_0x55376f(0x2cf)];}[_0x1040ac(0x2b5)](_0x5d0c9a,_0x4e38c6){const _0x41053d=_0x1040ac;var _0xd3b45c;let _0x3519e5=this[_0x41053d(0xe9)](_0x5d0c9a,(_0xd3b45c=_0x4e38c6[_0x41053d(0x2ed)])==null?{}:_0xd3b45c),_0x19476c=_0x5d0c9a[_0x41053d(0x351)][_0x3519e5[_0x41053d(0x1a1)]];if(!_0x19476c||_0x19476c[_0x41053d(0xd2)]!==_0x406b36[_0x41053d(0x107)]||_0x19476c[_0x41053d(0x11d)]===!0x0||_0x19476c[_0x41053d(0x137)]===!0x0||!this[_0x41053d(0x36a)](_0x19476c)[_0x41053d(0x28d)])return{'type':'invalid','viewType':_0x7d70ae[_0x41053d(0x36d)],'reason':'invalidDateField','fieldId':_0x3519e5['startDateFieldId']};let _0x49711f=_0x3519e5[_0x41053d(0xfd)]?_0x5d0c9a['fields'][_0x3519e5['endDateFieldId']]:void 0x0,_0x4ec67a=this[_0x41053d(0x36b)](_0x5d0c9a,_0x4e38c6);return{'type':_0x7d70ae[_0x41053d(0x36d)],'config':_0x3519e5,'fields':this['_projectFields'](_0x5d0c9a,_0x4e38c6),'rows':_0x4ec67a,'groups':this[_0x41053d(0x2d1)](_0x5d0c9a,_0x4e38c6,_0x4ec67a),'events':_0x4ec67a['flatMap'](_0x56a120=>{const _0xa56371=_0x41053d;let _0x46963c=N(_0x56a120['values'][_0x3519e5[_0xa56371(0x1a1)]]);if(!Number[_0xa56371(0x299)](_0x46963c))return[];let _0x1790b1=_0x56a120[_0xa56371(0x29d)][_0x3519e5[_0xa56371(0x1a1)]],_0x1810a2=_0x3519e5[_0xa56371(0xfd)]==null?void 0x0:_0x56a120['values'][_0x3519e5[_0xa56371(0xfd)]],_0x1c4ddd=_0x3519e5[_0xa56371(0xfd)]==null?void 0x0:N(_0x1810a2),_0x57d380=Number[_0xa56371(0x299)](_0x1c4ddd)?_0x1c4ddd:void 0x0;return[{'recordId':_0x56a120[_0xa56371(0x158)],'title':this[_0xa56371(0x266)](_0x5d0c9a,_0x56a120,_0x3519e5[_0xa56371(0x15f)]),'start':_0x46963c,'end':_0x57d380,'color':this[_0xa56371(0xd6)](_0x5d0c9a,_0x56a120,_0x3519e5),'startMs':_0x46963c,'endMs':_0x57d380,'allDay':this['_isAllDayCalendarEvent'](_0x19476c,_0x49711f,_0x1790b1,_0x1810a2),'fieldValues':_0x56a120['values']}];})};}[_0x1040ac(0xe9)](_0x292fe8,_0x34ffab){const _0xa3c4af=_0x1040ac;var _0x37d28b,_0x44bf1f;let _0x1541c9=this['_resolveCalendarDateFieldId'](_0x292fe8,_0x34ffab['startDateFieldId']),_0x1af8cb=_0x34ffab['endDateFieldId']&&this[_0xa3c4af(0x352)](_0x292fe8,_0x34ffab['endDateFieldId'])?_0x34ffab[_0xa3c4af(0xfd)]:(_0x37d28b=this['_findCalendarDateFieldId'](_0x292fe8,_0x1541c9))==null?void 0x0:_0x37d28b,_0x29fe63=_0x34ffab[_0xa3c4af(0x15f)]&&_0x292fe8[_0xa3c4af(0x351)][_0x34ffab['titleFieldId']]?_0x34ffab[_0xa3c4af(0x15f)]:_0x292fe8[_0xa3c4af(0x2a0)],_0x1dc018=_0x34ffab['mode']===_0xa3c4af(0x1aa)||_0x34ffab[_0xa3c4af(0x11e)]===_0xa3c4af(0x26e)?_0x34ffab[_0xa3c4af(0x11e)]:_0xa3c4af(0x2e2),_0x3d4f56=_0x34ffab[_0xa3c4af(0x276)]===_0xa3c4af(0x133)||_0x34ffab[_0xa3c4af(0x276)]===_0xa3c4af(0x360)?_0x34ffab[_0xa3c4af(0x276)]:'medium',_0x1008c8=typeof _0x34ffab[_0xa3c4af(0x21c)]==_0xa3c4af(0x2e9)&&_0x34ffab[_0xa3c4af(0x21c)]['trim']()?_0x34ffab[_0xa3c4af(0x21c)]:_0xa3c4af(0x2c0),_0x373de7=this[_0xa3c4af(0x14f)](_0x292fe8,_0x34ffab);return{..._0x34ffab,'startDateFieldId':_0x1541c9,'endDateFieldId':_0x1af8cb,'titleFieldId':_0x29fe63,'mode':_0x1dc018,'timeslotSize':_0x3d4f56,'timeZone':_0x1008c8,'displayColor':_0x373de7,'fieldSettings':Object[_0xa3c4af(0x1fc)](Object[_0xa3c4af(0x361)]((_0x44bf1f=_0x34ffab['fieldSettings'])==null?{}:_0x44bf1f)[_0xa3c4af(0x308)](([_0x27c3dc])=>!!_0x292fe8['fields'][_0x27c3dc]))};}[_0x1040ac(0x2d2)](_0x6761cd,_0x1dcd39){const _0x510989=_0x1040ac;var _0x2b50f4,_0x25e09a;return _0x1dcd39&&this['_isCalendarDateField'](_0x6761cd,_0x1dcd39)?_0x1dcd39:(_0x2b50f4=(_0x25e09a=this[_0x510989(0x35d)](_0x6761cd))==null?_0x1dcd39:_0x25e09a)==null?'':_0x2b50f4;}[_0x1040ac(0x35d)](_0x3d2e08,_0x227f46){const _0x2aa2ea=_0x1040ac;for(let _0x42b5d7 of _0x3d2e08[_0x2aa2ea(0xce)])if(_0x42b5d7!==_0x227f46&&this[_0x2aa2ea(0x352)](_0x3d2e08,_0x42b5d7))return _0x42b5d7;return null;}['_isCalendarDateField'](_0x3b6ac8,_0x28428b){const _0x593881=_0x1040ac;let _0xda0aa0=_0x3b6ac8[_0x593881(0x351)][_0x28428b];return!!_0xda0aa0&&_0xda0aa0[_0x593881(0xd2)]===_0x406b36[_0x593881(0x107)]&&_0xda0aa0['readonly']!==!0x0&&_0xda0aa0[_0x593881(0x137)]!==!0x0&&this[_0x593881(0x36a)](_0xda0aa0)[_0x593881(0x28d)];}[_0x1040ac(0x14f)](_0x39d264,_0x429cd6){const _0x41b9b6=_0x1040ac;let _0x230707=_0x429cd6[_0x41b9b6(0x20b)];if((_0x230707==null?void 0x0:_0x230707['type'])===_0x41b9b6(0x1f6)){let _0x451a20=_0x39d264['fields'][_0x230707[_0x41b9b6(0x1d4)]];if(_0x451a20&&_0x451a20[_0x41b9b6(0xd2)]===_0x406b36[_0x41b9b6(0x1c7)])return _0x230707;}if((_0x230707==null?void 0x0:_0x230707[_0x41b9b6(0xd2)])===_0x41b9b6(0x1b6)&&typeof _0x230707[_0x41b9b6(0x2cf)]==_0x41b9b6(0x2e9)&&_0x230707[_0x41b9b6(0x2cf)][_0x41b9b6(0x1e6)]())return{'type':_0x41b9b6(0x1b6),'color':_0x230707[_0x41b9b6(0x2cf)]};if(_0x429cd6['colorFieldId']){let _0x366933=_0x39d264[_0x41b9b6(0x351)][_0x429cd6[_0x41b9b6(0x2f1)]];if(_0x366933&&_0x366933['type']===_0x406b36['SingleSelect'])return{'type':_0x41b9b6(0x1f6),'fieldId':_0x429cd6[_0x41b9b6(0x2f1)]};}return{'type':'custom','color':_0x41b9b6(0x269)};}[_0x1040ac(0xd6)](_0x1efecd,_0x1e51ab,_0x4694c5){const _0x5ac644=_0x1040ac;let _0x5b4bdc=_0x4694c5['displayColor'];if((_0x5b4bdc==null?void 0x0:_0x5b4bdc['type'])==='selectField'){var _0x257353;let _0x9af92b=_0x1efecd[_0x5ac644(0x351)][_0x5b4bdc[_0x5ac644(0x1d4)]];if(!_0x9af92b)return;let _0x11270e=_0x1e51ab[_0x5ac644(0x29d)][_0x5b4bdc[_0x5ac644(0x1d4)]],_0x1a3cae=Array['isArray'](_0x11270e)?_0x11270e[0x0]:_0x11270e;return _0x1a3cae==null||(_0x257353=J(_0x9af92b,String(_0x1a3cae)))==null?void 0x0:_0x257353['color'];}if((_0x5b4bdc==null?void 0x0:_0x5b4bdc[_0x5ac644(0xd2)])===_0x5ac644(0x1b6))return _0x5b4bdc[_0x5ac644(0x2cf)];}['_isAllDayCalendarEvent'](_0x5bfcf7,_0xb2c101,_0x4ba6c4,_0x3b0153){const _0x20b6fd=_0x1040ac;var _0x43f9cc,_0x2c34dc;let _0x1cc2c6=((_0x43f9cc=_0x5bfcf7[_0x20b6fd(0x2ed)])==null?void 0x0:_0x43f9cc[_0x20b6fd(0x36c)])===!0x0,_0x1018f9=(_0xb2c101==null||(_0x2c34dc=_0xb2c101[_0x20b6fd(0x2ed)])==null?void 0x0:_0x2c34dc[_0x20b6fd(0x36c)])===!0x0;return!_0x1cc2c6&&!_0x1018f9;}[_0x1040ac(0x1b4)](_0x796a05,_0xaf01b9){const _0x362091=_0x1040ac;var _0x5e69b3,_0x13c29b;let _0x4d3e8c=((_0x5e69b3=_0x796a05[_0x362091(0x2ed)])==null?void 0x0:_0x5e69b3[_0x362091(0x36c)])===!0x0,_0x46d071=((_0x13c29b=_0xaf01b9[_0x362091(0x2ed)])==null?void 0x0:_0x13c29b[_0x362091(0x36c)])===!0x0;return!_0x4d3e8c&&!_0x46d071;}[_0x1040ac(0x268)](_0x346737,_0x13a3f7){const _0x5d35bf=_0x1040ac;let _0x48289a=this['_normalizeGanttConfig'](_0x346737,_0x13a3f7[_0x5d35bf(0x2ed)]),_0x5a61c2=_0x346737[_0x5d35bf(0x351)][_0x48289a[_0x5d35bf(0x1a1)]];if(!_0x5a61c2||_0x5a61c2[_0x5d35bf(0xd2)]!==_0x406b36[_0x5d35bf(0x107)]||_0x5a61c2[_0x5d35bf(0x11d)]===!0x0||_0x5a61c2['system']===!0x0||!this['_capabilities'](_0x5a61c2)[_0x5d35bf(0x124)])return{'type':'invalid','viewType':_0x7d70ae['Gantt'],'reason':_0x5d35bf(0x1f9),'fieldId':_0x48289a['startDateFieldId']};let _0x28f956=_0x346737[_0x5d35bf(0x351)][_0x48289a[_0x5d35bf(0xfd)]];if(!_0x28f956||_0x28f956[_0x5d35bf(0xd2)]!==_0x406b36[_0x5d35bf(0x107)]||_0x28f956[_0x5d35bf(0x11d)]===!0x0||_0x28f956[_0x5d35bf(0x137)]===!0x0||!this['_capabilities'](_0x28f956)['usableAsGanttEnd'])return{'type':_0x5d35bf(0x203),'viewType':_0x7d70ae[_0x5d35bf(0xed)],'reason':_0x5d35bf(0x1d8),'fieldId':_0x48289a[_0x5d35bf(0xfd)]};let _0x554e6e=this[_0x5d35bf(0x1b4)](_0x5a61c2,_0x28f956),_0x3c5c56=this[_0x5d35bf(0x36b)](_0x346737,_0x13a3f7),_0x352be3=_0x3c5c56[_0x5d35bf(0x1a6)](_0x321242=>{const _0x4d4a68=_0x5d35bf;var _0x25ec43;let _0x35b3f3=N(_0x321242['values'][_0x48289a[_0x4d4a68(0x1a1)]]),_0x630476=N(_0x321242['values'][_0x48289a['endDateFieldId']]);if(!Number['isFinite'](_0x35b3f3)||!Number[_0x4d4a68(0x299)](_0x630476))return[];let _0x1d1d22=Math[_0x4d4a68(0x244)](_0x35b3f3,_0x630476),_0x2fa6a=Math['max'](_0x35b3f3,_0x630476),_0x4883da=_0x48289a[_0x4d4a68(0x2d7)]==null?void 0x0:Number(_0x321242[_0x4d4a68(0x29d)][_0x48289a[_0x4d4a68(0x2d7)]]);return[{'recordId':_0x321242[_0x4d4a68(0x158)],'title':this[_0x4d4a68(0x266)](_0x346737,_0x321242,_0x48289a['titleFieldId']),'start':_0x1d1d22,'end':_0x2fa6a,'color':this[_0x4d4a68(0x181)](_0x346737,_0x321242,_0x48289a),'progress':Number[_0x4d4a68(0x299)](_0x4883da)?_0x4883da:void 0x0,'workingDayCount':_0x48289a[_0x4d4a68(0x342)]?In(_0x1d1d22,_0x2fa6a,_0x48289a[_0x4d4a68(0x1ed)]):void 0x0,'dependencyRecordIds':this[_0x4d4a68(0xdf)](_0x321242[_0x4d4a68(0x29d)][(_0x25ec43=_0x48289a['dependencyFieldId'])==null?'':_0x25ec43])}];}),_0x4da4b6=_0x352be3[_0x5d35bf(0x1ac)]?K(Math[_0x5d35bf(0x244)](..._0x352be3[_0x5d35bf(0xb4)](_0x5c0bc2=>_0x5c0bc2[_0x5d35bf(0xc7)]))-0x5a*G):K(Date[_0x5d35bf(0x2c5)]()-0x5a*G),_0x22044e=_0x352be3[_0x5d35bf(0x1ac)]?K(Math[_0x5d35bf(0x2f7)](..._0x352be3['map'](_0x3dc47a=>_0x3dc47a[_0x5d35bf(0x23b)]))+0x5b*G):K(Date['now']()+0x5b*G),_0x324076=On(_0x48289a[_0x5d35bf(0x340)],_0x4da4b6,_0x22044e,_0x48289a[_0x5d35bf(0x342)]?_0x48289a['workingDays']:void 0x0);return{'type':_0x7d70ae[_0x5d35bf(0xed)],'fields':this[_0x5d35bf(0x219)](_0x346737,{..._0x13a3f7,'config':_0x48289a}),'rows':_0x3c5c56,'groups':this[_0x5d35bf(0x2d1)](_0x346737,_0x13a3f7,_0x3c5c56),'config':_0x48289a,'dateRangeAllDay':_0x554e6e,'timeline':{'scale':_0x48289a['scale'],'start':_0x4da4b6,'end':_0x22044e,'unitWidth':_0x324076[_0x5d35bf(0x1e0)],'majorHeaders':_0x324076[_0x5d35bf(0x283)],'columns':_0x324076[_0x5d35bf(0x1d3)]},'bars':_0x352be3};}[_0x1040ac(0x146)](_0x29f1e9,_0x3277e4){const _0x4b1fda=_0x1040ac;var _0x5510e2;let _0x452ce8=this['_resolveGanttDateFieldId'](_0x29f1e9,_0x3277e4['startDateFieldId'],_0x4b1fda(0xc7)),_0x52b4ba=this[_0x4b1fda(0x2cb)](_0x29f1e9,_0x3277e4['endDateFieldId'],_0x4b1fda(0x23b))||_0x452ce8,_0xb7dba9=_0x3277e4[_0x4b1fda(0x15f)]&&_0x29f1e9[_0x4b1fda(0x351)][_0x3277e4[_0x4b1fda(0x15f)]]?_0x3277e4[_0x4b1fda(0x15f)]:_0x29f1e9[_0x4b1fda(0x2a0)],_0x23a293=_0x3277e4[_0x4b1fda(0x340)]==='week'||_0x3277e4['scale']==='quarter'||_0x3277e4[_0x4b1fda(0x340)]==='year'?_0x3277e4[_0x4b1fda(0x340)]:_0x4b1fda(0x2e2),_0x580af8=Dn(_0x3277e4[_0x4b1fda(0x1ed)]);return{..._0x3277e4,'startDateFieldId':_0x452ce8,'endDateFieldId':_0x52b4ba,'titleFieldId':_0xb7dba9,'scale':_0x23a293,'leftPaneWidth':typeof _0x3277e4['leftPaneWidth']==_0x4b1fda(0x1f7)?_0x3277e4['leftPaneWidth']:void 0x0,'leftPaneCollapsed':_0x3277e4[_0x4b1fda(0x173)]===!0x0,'showTodayLine':_0x3277e4[_0x4b1fda(0x29f)]!==!0x1,'displayColor':this[_0x4b1fda(0x2fe)](_0x29f1e9,_0x3277e4),'fieldSettings':Object[_0x4b1fda(0x1fc)](Object[_0x4b1fda(0x361)]((_0x5510e2=_0x3277e4[_0x4b1fda(0x258)])==null?{}:_0x5510e2)[_0x4b1fda(0x308)](([_0x21abe2])=>!!_0x29f1e9[_0x4b1fda(0x351)][_0x21abe2])),'workingDaysOnly':_0x3277e4['workingDaysOnly']===!0x0,'workingDays':_0x580af8};}[_0x1040ac(0x2cb)](_0x593d82,_0xb5e10b,_0xdba43d){const _0xdfcb3a=_0x1040ac;if(_0xb5e10b&&this[_0xdfcb3a(0x222)](_0x593d82,_0xb5e10b,_0xdba43d)||_0xb5e10b)return _0xb5e10b;for(let _0x26d5c1 of _0x593d82[_0xdfcb3a(0xce)])if(this[_0xdfcb3a(0x222)](_0x593d82,_0x26d5c1,_0xdba43d))return _0x26d5c1;return _0xb5e10b==null?'':_0xb5e10b;}['_isGanttDateField'](_0x6be1c9,_0x45d808,_0x2bca78){const _0x2d7bb0=_0x1040ac;let _0x41a7bf=_0x6be1c9[_0x2d7bb0(0x351)][_0x45d808];if(!_0x41a7bf||_0x41a7bf[_0x2d7bb0(0xd2)]!==_0x406b36[_0x2d7bb0(0x107)]||_0x41a7bf[_0x2d7bb0(0x11d)]===!0x0||_0x41a7bf['system']===!0x0)return!0x1;let _0x1c9097=this[_0x2d7bb0(0x36a)](_0x41a7bf);return _0x2bca78==='start'?_0x1c9097['usableAsGanttStart']:_0x1c9097[_0x2d7bb0(0x14a)];}[_0x1040ac(0x2fe)](_0x96a736,_0x475e85){const _0x1b8ed1=_0x1040ac;let _0x3e0038=_0x475e85[_0x1b8ed1(0x20b)];if((_0x3e0038==null?void 0x0:_0x3e0038['type'])===_0x1b8ed1(0x1f6)){let _0x22072d=_0x96a736['fields'][_0x3e0038['fieldId']];if(_0x22072d&&_0x22072d[_0x1b8ed1(0xd2)]===_0x406b36[_0x1b8ed1(0x1c7)])return _0x3e0038;}return(_0x3e0038==null?void 0x0:_0x3e0038[_0x1b8ed1(0xd2)])===_0x1b8ed1(0x29b)&&Array[_0x1b8ed1(0x1c5)](_0x3e0038[_0x1b8ed1(0xe8)])?{'type':_0x1b8ed1(0x29b),'rules':_0x3e0038[_0x1b8ed1(0xe8)][_0x1b8ed1(0x308)](_0x51acf1=>!!_0x96a736[_0x1b8ed1(0x351)][_0x51acf1[_0x1b8ed1(0x1d4)]])}:(_0x3e0038==null?void 0x0:_0x3e0038[_0x1b8ed1(0xd2)])===_0x1b8ed1(0x1b6)&&typeof _0x3e0038[_0x1b8ed1(0x2cf)]==_0x1b8ed1(0x2e9)&&_0x3e0038[_0x1b8ed1(0x2cf)]['trim']()?{'type':_0x1b8ed1(0x1b6),'color':_0x3e0038[_0x1b8ed1(0x2cf)]}:{'type':_0x1b8ed1(0x1b6),'color':_0x1b8ed1(0x121)};}[_0x1040ac(0x181)](_0x2eb41d,_0x36b25e,_0x5d2996){const _0x7dafe7=_0x1040ac;let _0x4a776e=_0x5d2996['displayColor'];if((_0x4a776e==null?void 0x0:_0x4a776e[_0x7dafe7(0xd2)])===_0x7dafe7(0x29b)){let _0x27694a=_0x4a776e['rules'][_0x7dafe7(0x1cc)](_0x212d52=>this[_0x7dafe7(0x19b)](_0x2eb41d,_0x36b25e,_0x212d52));if(_0x27694a)return _0x27694a[_0x7dafe7(0x2cf)];}if((_0x4a776e==null?void 0x0:_0x4a776e[_0x7dafe7(0xd2)])===_0x7dafe7(0x1f6)){let _0x54dfa1=_0x2eb41d['fields'][_0x4a776e['fieldId']];if(_0x54dfa1){var _0x1f1ffb;let _0x1d4d86=_0x36b25e[_0x7dafe7(0x29d)][_0x4a776e[_0x7dafe7(0x1d4)]],_0x214565=Array['isArray'](_0x1d4d86)?_0x1d4d86[0x0]:_0x1d4d86,_0x515015=_0x214565==null||(_0x1f1ffb=J(_0x54dfa1,String(_0x214565)))==null?void 0x0:_0x1f1ffb[_0x7dafe7(0x2cf)];if(_0x515015)return _0x515015;}}return(_0x4a776e==null?void 0x0:_0x4a776e['type'])===_0x7dafe7(0x1b6)?_0x4a776e[_0x7dafe7(0x2cf)]:_0x7dafe7(0x121);}[_0x1040ac(0x19b)](_0x4c1109,_0x52d49a,_0x116299){const _0x483b8b=_0x1040ac;let _0xb0af82=_0x4c1109['fields'][_0x116299[_0x483b8b(0x1d4)]];return _0xb0af82?ft(_0x52d49a['values'][_0xb0af82['id']],_0x116299[_0x483b8b(0x24f)],_0x116299[_0x483b8b(0x1c0)],_0xb0af82,{'dateMode':_0x116299['dateMode']}):!0x1;}['_buildGallery'](_0x217885,_0x5bcfe4){const _0x465461=_0x1040ac;var _0xa3ff96,_0xe99175,_0x932f93;let _0x40a4c3=this[_0x465461(0x36b)](_0x217885,_0x5bcfe4),_0x9b363=this['_normalizeGalleryConfig'](_0x217885,(_0xa3ff96=_0x5bcfe4['config'])==null?{}:_0xa3ff96),_0x4d9a49=this[_0x465461(0x219)](_0x217885,_0x5bcfe4);return{'type':_0x7d70ae[_0x465461(0x132)],'fields':_0x4d9a49,'rows':_0x40a4c3,'groups':this[_0x465461(0x2d1)](_0x217885,_0x5bcfe4,_0x40a4c3),'coverFieldId':_0x9b363[_0x465461(0x140)],'cardLayout':(_0xe99175=_0x9b363['cardLayout'])==null?_0x465461(0xd8):_0xe99175,'showFieldNames':_0x9b363[_0x465461(0x312)]!==!0x1,'visibleCardFieldIds':this[_0x465461(0x15b)](_0x217885,_0x5bcfe4,_0x9b363),'cardSize':(_0x932f93=_0x9b363['cardSize'])==null?_0x465461(0x130):_0x932f93,'cards':_0x40a4c3[_0x465461(0xb4)](_0x5bdc0f=>({'recordId':_0x5bdc0f[_0x465461(0x158)],'title':this[_0x465461(0x266)](_0x217885,_0x5bdc0f,_0x9b363[_0x465461(0x27f)][_0x465461(0x15f)]),'values':_0x5bdc0f[_0x465461(0x29d)]}))};}[_0x1040ac(0x245)](_0xc498f9,_0x1f8553){const _0x18d00c=_0x1040ac;var _0x5ad486,_0x650ce4;let _0x5abdf0=(_0x5ad486=_0x1f8553[_0x18d00c(0x27f)])==null?{'fieldIds':[]}:_0x5ad486,_0x113efe=_0x5abdf0[_0x18d00c(0x15f)]&&_0xc498f9['fields'][_0x5abdf0[_0x18d00c(0x15f)]]?_0x5abdf0[_0x18d00c(0x15f)]:un(_0xc498f9),_0x315f5a=this[_0x18d00c(0xab)](_0xc498f9,_0x1f8553),_0x3ea9af=_0x1f8553[_0x18d00c(0x161)]==='small'||_0x1f8553[_0x18d00c(0x161)]===_0x18d00c(0x27c)?_0x1f8553['cardSize']:_0x18d00c(0x130);return{..._0x1f8553,'coverFieldId':_0x315f5a,'cardLayout':_0x1f8553[_0x18d00c(0xa4)]===_0x18d00c(0x260)?_0x18d00c(0x260):_0x18d00c(0xd8),'showFieldNames':_0x1f8553['showFieldNames']!==!0x1,'fieldSettings':Object[_0x18d00c(0x1fc)](Object['entries']((_0x650ce4=_0x1f8553[_0x18d00c(0x258)])==null?{}:_0x650ce4)[_0x18d00c(0x308)](([_0x186a37])=>!!_0xc498f9[_0x18d00c(0x351)][_0x186a37])),'card':{..._0x5abdf0,'titleFieldId':_0x113efe,'coverFieldId':_0x315f5a,'fieldIds':Array['isArray'](_0x5abdf0[_0x18d00c(0x25d)])?_0x5abdf0[_0x18d00c(0x25d)]:[]},'cardSize':_0x3ea9af};}[_0x1040ac(0xab)](_0x188346,_0x2d35cb){const _0x31ed49=_0x1040ac;var _0x3c4798,_0x8f05a9,_0x5a340d;let _0x221d16=(_0x3c4798=(_0x8f05a9=_0x2d35cb['coverFieldId'])==null?(_0x5a340d=_0x2d35cb[_0x31ed49(0x27f)])==null?void 0x0:_0x5a340d[_0x31ed49(0x140)]:_0x8f05a9)==null?null:_0x3c4798;if(!_0x221d16)return null;let _0x43a9aa=_0x188346[_0x31ed49(0x351)][_0x221d16];return _0x43a9aa&&this[_0x31ed49(0x36a)](_0x43a9aa)[_0x31ed49(0x155)]?_0x43a9aa['id']:null;}[_0x1040ac(0x15b)](_0x2feb56,_0x2ea502,_0x543502){const _0x22cf60=_0x1040ac;var _0x99b53e,_0x32d30b,_0x34cdfc,_0xf2bb3c,_0x5de872,_0x1020b8,_0x3c3d85;let _0x37f59c=(_0x99b53e=_0x543502[_0x22cf60(0x258)])==null?{}:_0x99b53e,_0x5c31d5=(_0x32d30b=(_0x34cdfc=_0x543502[_0x22cf60(0x27f)])==null?void 0x0:_0x34cdfc[_0x22cf60(0x15f)])==null?un(_0x2feb56):_0x32d30b,_0x4c1872=(_0xf2bb3c=(_0x5de872=_0x543502[_0x22cf60(0x140)])==null?(_0x1020b8=_0x543502['card'])==null?void 0x0:_0x1020b8[_0x22cf60(0x140)]:_0x5de872)==null?null:_0xf2bb3c,_0x128e05=!((_0x3c3d85=_0x543502[_0x22cf60(0x27f)])==null||(_0x3c3d85=_0x3c3d85['fieldIds'])==null)&&_0x3c3d85['length']?_0x543502[_0x22cf60(0x27f)][_0x22cf60(0x25d)]:dn(_0x2feb56,[_0x5c31d5,_0x4c1872,_0x2feb56[_0x22cf60(0x2a0)]]);return _0x128e05[_0x22cf60(0x308)](_0x4ac6f5=>{const _0x52dfec=_0x22cf60;var _0x27bfc9,_0xdb1423;let _0x550029=_0x2feb56[_0x52dfec(0x351)][_0x4ac6f5];return!(!_0x550029||_0x550029['id']===_0x5c31d5||_0x550029['id']===_0x4c1872||!((_0x27bfc9=_0x2ea502[_0x52dfec(0x258)])==null||(_0x27bfc9=_0x27bfc9[_0x4ac6f5])==null)&&_0x27bfc9[_0x52dfec(0x1a2)]||(_0xdb1423=_0x37f59c[_0x4ac6f5])!=null&&_0xdb1423[_0x52dfec(0x1a2)]);})[_0x22cf60(0x127)]((_0x283653,_0x58c956)=>{const _0x1b007e=_0x22cf60;var _0x411aaf,_0x36938e,_0x38d939,_0x2fc240;return((_0x411aaf=(_0x36938e=_0x37f59c[_0x283653])==null?void 0x0:_0x36938e[_0x1b007e(0x1eb)])==null?_0x128e05['indexOf'](_0x283653):_0x411aaf)-((_0x38d939=(_0x2fc240=_0x37f59c[_0x58c956])==null?void 0x0:_0x2fc240[_0x1b007e(0x1eb)])==null?_0x128e05[_0x1b007e(0x28a)](_0x58c956):_0x38d939);});}[_0x1040ac(0x219)](_0x4fcb50,_0x49aa84){const _0x518f3e=_0x1040ac;var _0xfc5e06;return((_0xfc5e06=_0x49aa84[_0x518f3e(0xce)])!=null&&_0xfc5e06[_0x518f3e(0x1ac)]?_0x49aa84['fieldOrder']:_0x4fcb50[_0x518f3e(0xce)])[_0x518f3e(0x1a6)](_0x124ad=>{const _0x2b5e75=_0x518f3e;var _0x44241a,_0xb01414;let _0x591d48=_0x4fcb50['fields'][_0x124ad],_0x3fd5f2=(_0x44241a=(_0xb01414=_0x49aa84[_0x2b5e75(0x258)])==null?void 0x0:_0xb01414[_0x124ad])==null?{}:_0x44241a;return!_0x591d48||_0x3fd5f2[_0x2b5e75(0x1a2)]?[]:[{'id':_0x591d48['id'],'name':_0x591d48[_0x2b5e75(0x27a)],'description':_0x591d48[_0x2b5e75(0x13f)],'type':_0x591d48[_0x2b5e75(0xd2)],'config':_0x591d48[_0x2b5e75(0x2ed)],'width':_0x3fd5f2[_0x2b5e75(0x12a)],'setting':_0x3fd5f2}];});}[_0x1040ac(0x36b)](_0x57dda8,_0x2c215a){const _0x3b3b76=_0x1040ac;var _0x324b2e,_0x18d43e,_0x59fffc;return T(_0x3b3b76(0x303),()=>{const _0x37bfeb=_0x3b3b76;var _0x2aba74,_0x24705f,_0x59e46b,_0x24bf97;let _0x39ce63=this['_projectTableRows'](_0x57dda8),_0x9ce84=this['_viewRowsCacheKey'](_0x57dda8['id'],_0x2c215a),_0x135db2=this['_getCellRevision'](_0x57dda8['id']),_0xa5c670=this[_0x37bfeb(0x198)][_0x37bfeb(0x370)](_0x9ce84);if(_0xa5c670&&_0xa5c670[_0x37bfeb(0x316)]===this[_0x37bfeb(0x31b)]&&_0xa5c670['tableRevision']===this[_0x37bfeb(0x26c)](_0x57dda8['id'])){if(_0xa5c670[_0x37bfeb(0x292)]===_0x135db2&&_0xa5c670[_0x37bfeb(0x295)]===_0x39ce63)return _0xa5c670['rows'];if(_0xa5c670[_0x37bfeb(0x292)]!==_0x135db2&&!this['_cellInvalidationsTouchFields'](_0x57dda8['id'],_0xa5c670[_0x37bfeb(0x292)],_0x135db2,this['_filterSortFieldIds'](_0x2c215a))){let _0x1faf19=_0xa5c670['rows']===_0xa5c670[_0x37bfeb(0x295)]?_0x39ce63:this[_0x37bfeb(0x319)](_0xa5c670[_0x37bfeb(0xe4)],_0x39ce63);if(_0x1faf19)return this[_0x37bfeb(0x198)][_0x37bfeb(0xdc)](_0x9ce84,{..._0xa5c670,'rows':_0x1faf19,'baseRows':_0x39ce63,'cellRevision':_0x135db2}),_0x1faf19;}}let _0x7508ec=T(_0x37bfeb(0x2d0),()=>this[_0x37bfeb(0x2ca)](_0x57dda8,_0x2c215a,this['_filterRows'](_0x57dda8,_0x2c215a,_0x39ce63)),{'tableId':_0x57dda8['id'],'viewId':_0x2c215a==null?void 0x0:_0x2c215a['id'],'viewType':_0x2c215a==null?void 0x0:_0x2c215a[_0x37bfeb(0xd2)],'rows':_0x39ce63[_0x37bfeb(0x1ac)],'filters':(_0x2aba74=_0x2c215a==null||(_0x24705f=_0x2c215a[_0x37bfeb(0x308)])==null?void 0x0:_0x24705f[_0x37bfeb(0x31d)][_0x37bfeb(0x1ac)])==null?0x0:_0x2aba74,'sorts':(_0x59e46b=_0x2c215a==null||(_0x24bf97=_0x2c215a['sort'])==null?void 0x0:_0x24bf97[_0x37bfeb(0x1ac)])==null?0x0:_0x59e46b});return this['_projectedViewRowsCache'][_0x37bfeb(0xdc)](_0x9ce84,{'table':_0x57dda8,'rows':_0x7508ec,'baseRows':_0x39ce63,'globalRevision':this[_0x37bfeb(0x31b)],'tableRevision':this[_0x37bfeb(0x26c)](_0x57dda8['id']),'cellRevision':_0x135db2}),_0x7508ec;},{'tableId':_0x57dda8['id'],'viewId':_0x2c215a==null?void 0x0:_0x2c215a['id'],'viewType':_0x2c215a==null?void 0x0:_0x2c215a[_0x3b3b76(0xd2)],'records':(_0x324b2e=(_0x18d43e=_0x57dda8[_0x3b3b76(0x218)])==null?void 0x0:_0x18d43e['length'])==null?Object['keys']((_0x59fffc=_0x57dda8[_0x3b3b76(0x1fa)])==null?{}:_0x59fffc)['length']:_0x324b2e});}[_0x1040ac(0x12e)](_0x24949c){const _0x2beb64=_0x1040ac;var _0x474a5d,_0x1c6b9b,_0x1384be;return T(_0x2beb64(0xb6),()=>{const _0xcb0e02=_0x2beb64;var _0x347045;let _0xe4dacf=this[_0xcb0e02(0x1ab)](_0x24949c['id']),_0x5d81b9=this['_projectedRowsCache'][_0xcb0e02(0x370)](_0x24949c['id']);if(_0x5d81b9&&_0x5d81b9['globalRevision']===this[_0xcb0e02(0x31b)]&&_0x5d81b9[_0xcb0e02(0xf6)]===this[_0xcb0e02(0x26c)](_0x24949c['id'])){if(_0x5d81b9[_0xcb0e02(0x292)]===_0xe4dacf&&_0x5d81b9[_0xcb0e02(0x2fc)]===_0x24949c)return _0x5d81b9[_0xcb0e02(0xe4)];let _0x50b4cf=this[_0xcb0e02(0x323)](_0x24949c,_0x5d81b9,_0xe4dacf);if(_0x50b4cf)return _0x50b4cf;}Sn(_0x24949c)||E(_0x24949c);let _0x29a9a5=(_0x347045=_0x24949c[_0xcb0e02(0x218)])!=null&&_0x347045['length']?_0x24949c[_0xcb0e02(0x218)]:En(_0x24949c[_0xcb0e02(0x1fa)]),_0x28733e=T('BaseProjection.materializeTableRows',()=>{const _0x2b96b3=_0xcb0e02;let _0x47863d=[];for(let _0x32ac67 of _0x29a9a5){let _0x56bf9c=_0x24949c['records'][_0x32ac67];if(!_0x56bf9c)continue;let _0x208c49={};for(let _0x2c6c1f of _0x24949c[_0x2b96b3(0xce)])_0x208c49[_0x2c6c1f]=Ee(_0x24949c,_0x56bf9c['id'],_0x2c6c1f);_0x47863d[_0x2b96b3(0x143)]({'recordId':_0x56bf9c['id'],'values':_0x208c49});}return _0x47863d;},{'tableId':_0x24949c['id'],'records':_0x29a9a5['length'],'fields':_0x24949c['fieldOrder'][_0xcb0e02(0x1ac)]});return this['_projectedRowsCache'][_0xcb0e02(0xdc)](_0x24949c['id'],{'table':_0x24949c,'rows':_0x28733e,'rowIndexById':xn(_0x28733e),'globalRevision':this['_globalRevision'],'tableRevision':this[_0xcb0e02(0x26c)](_0x24949c['id']),'cellRevision':_0xe4dacf}),_0x28733e;},{'tableId':_0x24949c['id'],'records':(_0x474a5d=(_0x1c6b9b=_0x24949c['recordOrder'])==null?void 0x0:_0x1c6b9b['length'])==null?Object[_0x2beb64(0x1d0)]((_0x1384be=_0x24949c[_0x2beb64(0x1fa)])==null?{}:_0x1384be)[_0x2beb64(0x1ac)]:_0x474a5d,'fields':_0x24949c[_0x2beb64(0xce)][_0x2beb64(0x1ac)]});}[_0x1040ac(0x323)](_0xdc67da,_0x56dd80,_0x2d1265){const _0xfbcb70=_0x1040ac;var _0x232668,_0x2d881b;let _0x2eae4b=((_0x232668=this[_0xfbcb70(0x2e0)][_0xfbcb70(0x370)](_0xdc67da['id']))==null?[]:_0x232668)[_0xfbcb70(0x308)](_0x293db8=>_0x293db8[_0xfbcb70(0x2a3)]>_0x56dd80[_0xfbcb70(0x292)]&&_0x293db8[_0xfbcb70(0x2a3)]<=_0x2d1265);if(!_0x2eae4b['length'])return _0x56dd80[_0xfbcb70(0x2fc)]===_0xdc67da?_0x56dd80[_0xfbcb70(0xe4)]:null;let _0x515513=_0x56dd80[_0xfbcb70(0xe4)],_0xecebeb=new Map();for(let _0x7b6121 of _0x2eae4b){let _0x6aa70d=_0xecebeb['get'](_0x7b6121[_0xfbcb70(0x158)]);_0x6aa70d||(_0x6aa70d=new Set(),_0xecebeb['set'](_0x7b6121[_0xfbcb70(0x158)],_0x6aa70d)),_0x6aa70d[_0xfbcb70(0xaa)](_0x7b6121[_0xfbcb70(0x1d4)]);}for(let [_0x2970b9,_0x2d8455]of _0xecebeb){if(!_0xdc67da[_0xfbcb70(0x1fa)][_0x2970b9])return null;let _0x5388a1=_0x56dd80[_0xfbcb70(0x10f)]['get'](_0x2970b9);if(_0x5388a1==null)return null;_0x515513===_0x56dd80[_0xfbcb70(0xe4)]&&(_0x515513=[..._0x56dd80[_0xfbcb70(0xe4)]]);let _0x4ef91b=_0x515513[_0x5388a1],_0x3a8a0a={..._0x4ef91b[_0xfbcb70(0x29d)]};_0x2d8455[_0xfbcb70(0x2d3)](_0x1a8783=>{_0x3a8a0a[_0x1a8783]=Ee(_0xdc67da,_0x2970b9,_0x1a8783);}),_0x515513[_0x5388a1]={..._0x4ef91b,'values':_0x3a8a0a};}let _0x1ef117={'table':_0xdc67da,'rows':_0x515513,'rowIndexById':_0x56dd80[_0xfbcb70(0x10f)],'globalRevision':this['_globalRevision'],'tableRevision':this[_0xfbcb70(0x26c)](_0xdc67da['id']),'cellRevision':_0x2d1265};return this[_0xfbcb70(0x29c)][_0xfbcb70(0xdc)](_0xdc67da['id'],_0x1ef117),this[_0xfbcb70(0x2e0)][_0xfbcb70(0xdc)](_0xdc67da['id'],((_0x2d881b=this[_0xfbcb70(0x2e0)][_0xfbcb70(0x370)](_0xdc67da['id']))==null?[]:_0x2d881b)[_0xfbcb70(0x308)](_0x23fe62=>_0x23fe62[_0xfbcb70(0x2a3)]>Math[_0xfbcb70(0x2f7)](0x0,_0x2d1265-0x100))),_0x515513;}[_0x1040ac(0x319)](_0x55dbe4,_0x5d8747){const _0x576dfe=_0x1040ac;let _0x15ab42=new Map(_0x5d8747['map'](_0x369ead=>[_0x369ead[_0x576dfe(0x158)],_0x369ead])),_0x35e04d=!0x1,_0x58c468=_0x55dbe4[_0x576dfe(0xb4)](_0x1b325d=>{const _0x3ebee=_0x576dfe;let _0x30604f=_0x15ab42[_0x3ebee(0x370)](_0x1b325d[_0x3ebee(0x158)]);return _0x30604f?_0x30604f===_0x1b325d?_0x1b325d:(_0x35e04d=!0x0,_0x30604f):_0x1b325d;});return _0x35e04d?_0x58c468:_0x55dbe4;}['_cellInvalidationsTouchFields'](_0xd8f96f,_0x2c18e9,_0x2b6945,_0x23482c){const _0x1f7e22=_0x1040ac;var _0x1c4532;return!_0x23482c[_0x1f7e22(0x1df)]||_0x2c18e9===_0x2b6945?!0x1:_0x2b6945-_0x2c18e9>0x100?!0x0:((_0x1c4532=this[_0x1f7e22(0x2e0)][_0x1f7e22(0x370)](_0xd8f96f))==null?[]:_0x1c4532)['some'](_0x40db40=>_0x40db40[_0x1f7e22(0x2a3)]>_0x2c18e9&&_0x40db40['revision']<=_0x2b6945&&_0x23482c[_0x1f7e22(0x31e)](_0x40db40[_0x1f7e22(0x1d4)]));}[_0x1040ac(0x2b4)](_0x50b379){const _0x2fac40=_0x1040ac;var _0x811ae3,_0x4260d4;let _0x4f7e89=new Set();return _0x50b379==null||(_0x811ae3=_0x50b379[_0x2fac40(0x308)])==null||_0x811ae3[_0x2fac40(0x31d)]['forEach'](_0x364af8=>_0x4f7e89[_0x2fac40(0xaa)](_0x364af8[_0x2fac40(0x1d4)])),_0x50b379==null||(_0x4260d4=_0x50b379[_0x2fac40(0x127)])==null||_0x4260d4[_0x2fac40(0x2d3)](_0x156d7e=>_0x4f7e89[_0x2fac40(0xaa)](_0x156d7e[_0x2fac40(0x1d4)])),_0x4f7e89;}[_0x1040ac(0x363)](_0x352f8f){const _0x242a7b=_0x1040ac;var _0x31dfda;let _0x2a867=this[_0x242a7b(0x2b4)](_0x352f8f);return(_0x31dfda=_0x352f8f[_0x242a7b(0x1d1)])==null||_0x31dfda['forEach'](_0xab7ba1=>_0x2a867[_0x242a7b(0xaa)](_0xab7ba1[_0x242a7b(0x1d4)])),_0x2a867;}['_filterRows'](_0x322275,_0x350f92,_0x24dc3d){const _0x2a0a65=_0x1040ac;let _0x47914f=_0x350f92==null?void 0x0:_0x350f92[_0x2a0a65(0x308)];if(!(_0x47914f!=null&&_0x47914f[_0x2a0a65(0x31d)]['length']))return _0x24dc3d;let _0x3f9ca7=_0x47914f[_0x2a0a65(0x31d)][_0x2a0a65(0x308)](_0x3b784f=>!Kn(_0x3b784f));return _0x3f9ca7[_0x2a0a65(0x1ac)]?_0x24dc3d['filter'](_0x7d9388=>{const _0x3ea7f8=_0x2a0a65;if(_0x47914f['conjunction']===_0x41d0c1['OR']){for(let _0x2e2587 of _0x3f9ca7){let _0x314f5a=_0x322275[_0x3ea7f8(0x351)][_0x2e2587[_0x3ea7f8(0x1d4)]];if(!_0x314f5a||this['_fieldRegistry'][_0x3ea7f8(0x370)](_0x314f5a[_0x3ea7f8(0xd2)])[_0x3ea7f8(0x308)](_0x7d9388[_0x3ea7f8(0x29d)][_0x314f5a['id']],_0x2e2587[_0x3ea7f8(0x24f)],_0x2e2587[_0x3ea7f8(0x1c0)],_0x314f5a))return!0x0;}return!0x1;}for(let _0x5bd766 of _0x3f9ca7){let _0x970950=_0x322275[_0x3ea7f8(0x351)][_0x5bd766[_0x3ea7f8(0x1d4)]];if(_0x970950&&!this[_0x3ea7f8(0x32b)][_0x3ea7f8(0x370)](_0x970950[_0x3ea7f8(0xd2)])[_0x3ea7f8(0x308)](_0x7d9388[_0x3ea7f8(0x29d)][_0x970950['id']],_0x5bd766[_0x3ea7f8(0x24f)],_0x5bd766[_0x3ea7f8(0x1c0)],_0x970950))return!0x1;}return!0x0;}):_0x24dc3d;}['_sortRows'](_0x2671e7,_0x1d91e4,_0x26683a){const _0x2dc26b=_0x1040ac;var _0x4cd5cd;let _0x4bb07d=(_0x4cd5cd=_0x1d91e4==null?void 0x0:_0x1d91e4[_0x2dc26b(0x127)])==null?[]:_0x4cd5cd;if(!_0x4bb07d['length'])return _0x26683a;let _0x478c1d=_0x4bb07d['flatMap'](_0x579dbf=>{const _0x38dc46=_0x2dc26b;let _0x2179e1=_0x2671e7[_0x38dc46(0x351)][_0x579dbf['fieldId']];return _0x2179e1?[{..._0x579dbf,'field':_0x2179e1}]:[];});return _0x478c1d[_0x2dc26b(0x1ac)]?this[_0x2dc26b(0x311)](_0x478c1d)?this[_0x2dc26b(0x2a4)](_0x478c1d,_0x26683a):[..._0x26683a][_0x2dc26b(0x127)]((_0x5b9cef,_0x276b97)=>{const _0x4f6f47=_0x2dc26b;for(let _0x4ade00 of _0x478c1d){let _0x2e8747=_0x4ade00[_0x4f6f47(0x16b)],_0x26277d=this[_0x4f6f47(0x32b)][_0x4f6f47(0x370)](_0x2e8747[_0x4f6f47(0xd2)])['compare'](_0x5b9cef[_0x4f6f47(0x29d)][_0x2e8747['id']],_0x276b97[_0x4f6f47(0x29d)][_0x2e8747['id']],_0x2e8747);if(_0x26277d!==0x0)return _0x4ade00[_0x4f6f47(0x17c)]===_0x449492['DESC']?-_0x26277d:_0x26277d;}return 0x0;}):_0x26683a;}[_0x1040ac(0x311)](_0x1ae597){const _0x237009=_0x1040ac;return _0x1ae597[_0x237009(0xb1)](_0x1005e9=>vn[_0x237009(0x31e)](_0x1005e9[_0x237009(0x16b)][_0x237009(0xd2)]));}[_0x1040ac(0x2a4)](_0x60154e,_0x58084e){const _0x3a88ca=_0x1040ac;return _0x58084e[_0x3a88ca(0xb4)]((_0xf3ce5e,_0x541592)=>({'row':_0xf3ce5e,'index':_0x541592,'keys':_0x60154e[_0x3a88ca(0xb4)](_0x240326=>_0xf3ce5e['values'][_0x240326[_0x3a88ca(0x1d4)]])}))['sort']((_0x45bbe3,_0x260219)=>{const _0x330062=_0x3a88ca;for(let _0x2f346b=0x0;_0x2f346b<_0x60154e[_0x330062(0x1ac)];_0x2f346b++){let _0x4f1cd4=Gn(_0x45bbe3[_0x330062(0x1d0)][_0x2f346b],_0x260219['keys'][_0x2f346b]);if(_0x4f1cd4!==0x0)return _0x60154e[_0x2f346b][_0x330062(0x17c)]===_0x449492[_0x330062(0x14d)]?-_0x4f1cd4:_0x4f1cd4;}return _0x45bbe3[_0x330062(0x314)]-_0x260219[_0x330062(0x314)];})[_0x3a88ca(0xb4)](_0x3c04c1=>_0x3c04c1[_0x3a88ca(0x231)]);}[_0x1040ac(0x2d1)](_0xadfbb5,_0x1304b5,_0x154ea0){const _0x187868=_0x1040ac;var _0x3cb002,_0x4a5294;return T(_0x187868(0x22d),()=>{const _0x54993e=_0x187868;var _0xa9830;if(!((_0xa9830=_0x1304b5[_0x54993e(0x1d1)])!=null&&_0xa9830[_0x54993e(0x1ac)]))return[];let _0x10bd5d=_0x1304b5[_0x54993e(0x1d1)]['filter'](_0x5c349c=>_0xadfbb5['fields'][_0x5c349c[_0x54993e(0x1d4)]]);if(!_0x10bd5d[_0x54993e(0x1ac)])return[];let _0x20cd6f=this[_0x54993e(0x2e5)](_0xadfbb5['id'],_0x1304b5,_0x10bd5d),_0x3ed4ff=this[_0x54993e(0x1ab)](_0xadfbb5['id']),_0xb09363=this[_0x54993e(0x241)][_0x54993e(0x370)](_0x20cd6f);if(_0xb09363&&_0xb09363['globalRevision']===this[_0x54993e(0x31b)]&&_0xb09363[_0x54993e(0xf6)]===this['_getTableRevision'](_0xadfbb5['id'])){if(_0xb09363[_0x54993e(0x292)]===_0x3ed4ff&&_0xb09363['rows']===_0x154ea0)return _0xb09363[_0x54993e(0x344)];if(_0xb09363[_0x54993e(0x292)]!==_0x3ed4ff&&!this['_cellInvalidationsTouchFields'](_0xadfbb5['id'],_0xb09363[_0x54993e(0x292)],_0x3ed4ff,this[_0x54993e(0x363)](_0x1304b5)))return this['_projectedGroupsCache'][_0x54993e(0xdc)](_0x20cd6f,{..._0xb09363,'rows':_0x154ea0,'cellRevision':_0x3ed4ff}),_0xb09363['groups'];}let _0xe287d=new Map();for(let _0x5a0361 of _0x154ea0){let _0x5757cb=_0xe287d,_0x4b8554='';for(let _0x27d8f3=0x0;_0x27d8f3<_0x10bd5d[_0x54993e(0x1ac)];_0x27d8f3++){let _0x1c5d71=_0x10bd5d[_0x27d8f3],_0x1f2206=_0x5a0361[_0x54993e(0x29d)][_0x1c5d71['fieldId']],_0x1b7dbe=bn(_0x1f2206),_0x2339a2=_0x1c5d71['fieldId']+'\x00'+_0x1b7dbe,_0x55abe4=_0x4b8554+'/'+_0x1c5d71[_0x54993e(0x1d4)]+':'+_0x1b7dbe,_0x4c24ae=_0x5757cb[_0x54993e(0x370)](_0x2339a2);_0x4c24ae||(_0x4c24ae={'key':_0x1b7dbe,'value':_0x1f2206,'path':_0x55abe4,'label':_0x1b7dbe||'Empty','fieldId':_0x1c5d71[_0x54993e(0x1d4)],'level':_0x27d8f3,'recordIds':[],'children':new Map()},_0x5757cb['set'](_0x2339a2,_0x4c24ae)),_0x4c24ae[_0x54993e(0x1b9)]['push'](_0x5a0361[_0x54993e(0x158)]),_0x5757cb=_0x4c24ae['children'],_0x4b8554=_0x55abe4;}}let _0x5884ca=this['_materializeGroups'](_0x10bd5d,_0xe287d,0x0);return this['_projectedGroupsCache'][_0x54993e(0xdc)](_0x20cd6f,{'table':_0xadfbb5,'rows':_0x154ea0,'groups':_0x5884ca,'globalRevision':this[_0x54993e(0x31b)],'tableRevision':this['_getTableRevision'](_0xadfbb5['id']),'cellRevision':_0x3ed4ff}),_0x5884ca;},{'tableId':_0xadfbb5['id'],'viewId':_0x1304b5['id'],'viewType':_0x1304b5[_0x187868(0xd2)],'rows':_0x154ea0[_0x187868(0x1ac)],'groupFields':(_0x3cb002=(_0x4a5294=_0x1304b5[_0x187868(0x1d1)])==null?void 0x0:_0x4a5294[_0x187868(0x1ac)])==null?0x0:_0x3cb002});}['_materializeGroups'](_0x174c70,_0x23b37d,_0x124782){const _0xe6e463=_0x1040ac;var _0x417bea;let _0x206004=Array[_0xe6e463(0x136)](_0x23b37d[_0xe6e463(0x29d)]()),_0x4cdb19=(_0x417bea=_0x174c70[_0x124782])==null?void 0x0:_0x417bea[_0xe6e463(0x17c)];return _0x4cdb19&&_0x206004[_0xe6e463(0x127)]((_0x34aaf9,_0x22c108)=>{const _0x1edffc=_0xe6e463;let _0x280ec3=_0x34aaf9[_0x1edffc(0x2c8)][_0x1edffc(0x31c)](_0x22c108[_0x1edffc(0x2c8)]);return _0x4cdb19===_0x449492[_0x1edffc(0x14d)]?-_0x280ec3:_0x280ec3;}),_0x206004['map'](_0x32aed8=>({'key':_0x32aed8[_0xe6e463(0x2c8)],'value':_0x32aed8[_0xe6e463(0x11a)],'path':_0x32aed8[_0xe6e463(0xf5)],'label':_0x32aed8[_0xe6e463(0xf1)],'fieldId':_0x32aed8['fieldId'],'level':_0x32aed8[_0xe6e463(0x2e3)],'recordIds':_0x32aed8[_0xe6e463(0x1b9)],'children':this[_0xe6e463(0x16a)](_0x174c70,_0x32aed8[_0xe6e463(0xd7)],_0x124782+0x1)}));}[_0x1040ac(0x266)](_0x5b04b3,_0x59cb4e,_0x2e3b7f){const _0xcef5e5=_0x1040ac;let _0x195337=_0x2e3b7f==null?_0x5b04b3[_0xcef5e5(0x2a0)]:_0x2e3b7f,_0x165f85=_0x59cb4e[_0xcef5e5(0x29d)][_0x195337];return _0x165f85==null?'':String(_0x165f85);}[_0x1040ac(0xdf)](_0x2efee9){const _0x190264=_0x1040ac;if(Array[_0x190264(0x1c5)](_0x2efee9))return _0x2efee9['map'](String);if(typeof _0x2efee9==_0x190264(0x2e9)&&_0x2efee9)return[_0x2efee9];}[_0x1040ac(0x36a)](_0x10ad45){const _0x4e8021=_0x1040ac;return this[_0x4e8021(0x32b)]['get'](_0x10ad45['type'])[_0x4e8021(0x297)](_0x10ad45);}};yn=U([H(0x0,_0x43d182(en))],yn);function bn(_0x26cdab){return _0x26cdab==null?'':String(_0x26cdab);}function xn(_0x2e19ad){const _0x2c9842=_0x1040ac;return new Map(_0x2e19ad[_0x2c9842(0xb4)]((_0x227640,_0x47214a)=>[_0x227640['recordId'],_0x47214a]));}function Sn(_0x242f19){const _0x438534=_0x1040ac;return!!(Array[_0x438534(0x1c5)](_0x242f19[_0x438534(0x218)])&&_0x242f19['rowIndex']&&_0x242f19[_0x438534(0x247)]&&_0x242f19[_0x438534(0x193)]&&_0x242f19[_0x438534(0x2fa)]&&_0x242f19[_0x438534(0x184)]);}function Cn(_0x52d15a){const _0x285797=_0x1040ac;return _0x52d15a!=null&&_0x52d15a[_0x285797(0x31d)][_0x285797(0x1ac)]?{'conjunction':_0x52d15a[_0x285797(0xfe)],'conditions':_0x52d15a[_0x285797(0x31d)][_0x285797(0xb4)](_0x394a2a=>({'fieldId':_0x394a2a[_0x285797(0x1d4)],'operator':_0x394a2a[_0x285797(0x24f)],'operand':_0x394a2a[_0x285797(0x1c0)]}))}:null;}function wn(_0x11d3e7){const _0x166d0b=_0x1040ac;return _0x11d3e7!=null&&_0x11d3e7[_0x166d0b(0x1ac)]?_0x11d3e7[_0x166d0b(0xb4)](_0x51270e=>({'fieldId':_0x51270e[_0x166d0b(0x1d4)],'direction':_0x51270e[_0x166d0b(0x17c)]})):null;}function Tn(_0x3ce9b2){const _0x3297fb=_0x1040ac;if(typeof _0x3ce9b2!=_0x3297fb(0x101)||!_0x3ce9b2){var _0x5e0295;return(_0x5e0295=JSON[_0x3297fb(0x1dc)](_0x3ce9b2))==null?_0x3297fb(0x122):_0x5e0295;}if(Array[_0x3297fb(0x1c5)](_0x3ce9b2))return'['+_0x3ce9b2[_0x3297fb(0xb4)](Tn)[_0x3297fb(0x134)](',')+']';let _0x202994=_0x3ce9b2;return'{'+Object[_0x3297fb(0x1d0)](_0x202994)[_0x3297fb(0x127)]()[_0x3297fb(0xb4)](_0x25bddb=>JSON[_0x3297fb(0x1dc)](_0x25bddb)+':'+Tn(_0x202994[_0x25bddb]))[_0x3297fb(0x134)](',')+'}';}function En(_0x5cdf1f){const _0x45b09c=_0x1040ac;let _0x3d6fcd=Object['values'](_0x5cdf1f)[_0x45b09c(0x127)]((_0x1ce11c,_0x493d03)=>_0x1ce11c['orderKey'][_0x45b09c(0x31c)](_0x493d03[_0x45b09c(0x1a0)])),_0x24bce0=[];for(let _0x2d3f30 of _0x3d6fcd)_0x24bce0[_0x45b09c(0x143)](_0x2d3f30['id']);return _0x24bce0;}const G=0x5a0*0x3c*0x3e8;function Dn(_0x1a6d4e){const _0x3c6810=_0x1040ac;return{'weekdays':Array[_0x3c6810(0x1c5)](_0x1a6d4e==null?void 0x0:_0x1a6d4e[_0x3c6810(0x2eb)])&&_0x1a6d4e[_0x3c6810(0x2eb)][_0x3c6810(0x1ac)]?[...new Set(_0x1a6d4e[_0x3c6810(0x2eb)][_0x3c6810(0x308)](_0x455187=>Number[_0x3c6810(0x10c)](_0x455187)&&_0x455187>=0x1&&_0x455187<=0x7))]:[0x1,0x2,0x3,0x4,0x5],'exceptions':Array['isArray'](_0x1a6d4e==null?void 0x0:_0x1a6d4e[_0x3c6810(0x177)])?_0x1a6d4e[_0x3c6810(0x177)][_0x3c6810(0x1a6)](_0x5ef621=>!_0x5ef621||!Number[_0x3c6810(0x299)](_0x5ef621[_0x3c6810(0x216)])?[]:[{'id':String(_0x5ef621['id']||_0x3c6810(0x1f4)+_0x5ef621[_0x3c6810(0x216)]),'date':K(Number(_0x5ef621[_0x3c6810(0x216)])),'name':String(_0x5ef621[_0x3c6810(0x27a)]||_0x3c6810(0x110)),'type':_0x5ef621[_0x3c6810(0xd2)]===_0x3c6810(0xf9)?_0x3c6810(0xf9):_0x3c6810(0x2d8)}]):[]};}function On(_0x2358e5,_0x2cbd1c,_0x32a28b,_0x5187d1){let _0x341783=Mn(_0x2358e5,_0x2cbd1c),_0x457951=Nn(_0x2358e5,_0x32a28b),_0x2da773=kn(_0x2358e5,_0x341783,_0x457951,_0x5187d1);return{'scale':_0x2358e5,'start':_0x341783,'end':_0x457951,'unitWidth':jn(_0x2358e5),'majorHeaders':An(_0x2358e5,_0x341783,_0x457951),'columns':_0x2da773};}function kn(_0x51cbfa,_0xf46bde,_0x4e8103,_0x199374){const _0x8ea76b=_0x1040ac;let _0x1d432a=[],_0x5c70eb=_0xf46bde;for(;_0x5c70eb<_0x4e8103;){let _0x5aa6d8=_0x51cbfa===_0x8ea76b(0x252)?q(_0x5c70eb,0x7):_0x51cbfa===_0x8ea76b(0xc4)?Hn(_0x5c70eb,0x1):q(_0x5c70eb,0x1);_0x1d432a[_0x8ea76b(0x143)]({'id':_0x51cbfa+'-'+_0x5c70eb,'label':Pn(_0x51cbfa,_0x5c70eb,_0x5aa6d8),'majorLabel':Fn(_0x51cbfa,_0x5c70eb),'start':_0x5c70eb,'end':_0x5aa6d8,'nonWorking':Ln(_0x5c70eb,_0x5aa6d8,_0x199374)}),_0x5c70eb=_0x5aa6d8;}return _0x1d432a;}function An(_0x18b2f9,_0x19a57d,_0x2c4418){const _0x1d0f3d=_0x1040ac;let _0x46ec54=[],_0x2b30cd=_0x18b2f9===_0x1d0f3d(0xc4)?Vn(_0x19a57d):Bn(_0x19a57d);for(;_0x2b30cd<_0x2c4418;){let _0x199605=_0x18b2f9===_0x1d0f3d(0xc4)?Un(_0x2b30cd,0x1):Hn(_0x2b30cd,0x1);_0x46ec54['push']({'id':_0x1d0f3d(0x35b)+_0x2b30cd,'label':_0x18b2f9===_0x1d0f3d(0xc4)?String(new Date(_0x2b30cd)[_0x1d0f3d(0x229)]()):Wn(_0x2b30cd),'start':_0x2b30cd,'end':_0x199605}),_0x2b30cd=_0x199605;}return _0x46ec54;}function jn(_0x2ee7c5){const _0x51fabd=_0x1040ac;switch(_0x2ee7c5){case _0x51fabd(0x26e):return 0xac;case _0x51fabd(0x252):return 0xac;case _0x51fabd(0xc4):return 0x88;default:return 0x56;}}function Mn(_0x4aef27,_0x361597){const _0x46fa2d=_0x1040ac;return _0x4aef27===_0x46fa2d(0xc4)?Vn(_0x361597):_0x4aef27==='quarter'?zn(_0x361597):K(_0x361597);}function Nn(_0x5e82b0,_0x57d601){const _0x4a81bc=_0x1040ac;return _0x5e82b0===_0x4a81bc(0xc4)?Un(Vn(_0x57d601),0x1):_0x5e82b0===_0x4a81bc(0x252)?q(zn(_0x57d601),0x7):q(K(_0x57d601),0x1);}function Pn(_0x205a1f,_0x1f013c,_0x441f80){const _0x40557e=_0x1040ac;let _0x10927f=new Date(_0x1f013c);return _0x205a1f===_0x40557e(0x252)?_0x10927f[_0x40557e(0x2e4)]()+'-'+new Date(_0x441f80-G)['getUTCDate']():_0x205a1f===_0x40557e(0xc4)?_0x10927f[_0x40557e(0x2a8)](_0x40557e(0xc9),{'month':'short','timeZone':_0x40557e(0x1f8)}):String(_0x10927f['getUTCDate']());}function Fn(_0x4e92e7,_0xeac4a0){const _0x4c02ff=_0x1040ac;return _0x4e92e7===_0x4c02ff(0xc4)?String(new Date(_0xeac4a0)['getUTCFullYear']()):Wn(_0xeac4a0);}function In(_0x5221d5,_0x280409,_0x37f864){let _0x397730=Dn(_0x37f864),_0x4d9e99=0x0;for(let _0x25f10f=K(_0x5221d5);_0x25f10f<=K(_0x280409);_0x25f10f=q(_0x25f10f,0x1))Rn(_0x25f10f,_0x397730)||_0x4d9e99++;return _0x4d9e99;}function Ln(_0x5d171a,_0x45e8f9,_0x53a8eb){if(!_0x53a8eb)return!0x1;let _0x2d2278=Dn(_0x53a8eb);for(let _0x3a93c6=K(_0x5d171a);_0x3a93c6<_0x45e8f9;_0x3a93c6=q(_0x3a93c6,0x1))if(!Rn(_0x3a93c6,_0x2d2278))return!0x1;return!0x0;}function Rn(_0x2775bc,_0x170e40){const _0x1701f9=_0x1040ac;let _0x5dfab7=K(_0x2775bc),_0x178949=_0x170e40[_0x1701f9(0x177)][_0x1701f9(0x1cc)](_0x3ecb38=>K(_0x3ecb38[_0x1701f9(0x216)])===_0x5dfab7);if(_0x178949)return _0x178949[_0x1701f9(0xd2)]===_0x1701f9(0x2d8);let _0x3e6cca=new Date(_0x5dfab7)[_0x1701f9(0x1b5)](),_0x16ef29=_0x3e6cca===0x0?0x7:_0x3e6cca;return!_0x170e40[_0x1701f9(0x2eb)][_0x1701f9(0x207)](_0x16ef29);}function K(_0x4acf19){const _0x4c663e=_0x1040ac;let _0xfb1898=new Date(_0x4acf19);return Date[_0x4c663e(0x1f8)](_0xfb1898['getUTCFullYear'](),_0xfb1898[_0x4c663e(0x2a9)](),_0xfb1898[_0x4c663e(0x2e4)]());}function zn(_0x34214d){const _0x17e171=_0x1040ac;let _0x1f1e85=K(_0x34214d),_0x28d71d=new Date(_0x1f1e85)[_0x17e171(0x1b5)]();return q(_0x1f1e85,-(_0x28d71d===0x0?0x6:_0x28d71d-0x1));}function Bn(_0x55e1a5){const _0x504f0c=_0x1040ac;let _0x41af5a=new Date(_0x55e1a5);return Date[_0x504f0c(0x1f8)](_0x41af5a[_0x504f0c(0x229)](),_0x41af5a[_0x504f0c(0x2a9)](),0x1);}function Vn(_0x187e8a){const _0x5e166d=_0x1040ac;let _0xea56e3=new Date(_0x187e8a);return Date[_0x5e166d(0x1f8)](_0xea56e3[_0x5e166d(0x229)](),0x0,0x1);}function q(_0x4c5fc0,_0x1d3d45){return _0x4c5fc0+_0x1d3d45*G;}function Hn(_0x4ef180,_0x4afdd6){const _0x381425=_0x1040ac;let _0x463a78=new Date(_0x4ef180);return Date[_0x381425(0x1f8)](_0x463a78[_0x381425(0x229)](),_0x463a78[_0x381425(0x2a9)]()+_0x4afdd6,0x1);}function Un(_0x596536,_0x100e28){const _0x50c816=_0x1040ac;let _0x405c59=new Date(_0x596536);return Date['UTC'](_0x405c59[_0x50c816(0x229)]()+_0x100e28,0x0,0x1);}function Wn(_0x3e7bdc){const _0x4880b6=_0x1040ac;let _0x2c6c0b=new Date(_0x3e7bdc);return _0x2c6c0b[_0x4880b6(0x2a8)](_0x4880b6(0xc9),{'month':_0x4880b6(0x133),'timeZone':_0x4880b6(0x1f8)})+'\x20'+_0x2c6c0b[_0x4880b6(0x229)]();}function Gn(_0x1b83d7,_0x37e320){const _0x57d2aa=_0x1040ac;if(_0x1b83d7==null&&_0x37e320==null)return 0x0;if(_0x1b83d7==null)return-0x1;if(_0x37e320==null)return 0x1;if(typeof _0x1b83d7==_0x57d2aa(0x2e1)||typeof _0x37e320==_0x57d2aa(0x2e1))return Number(_0x1b83d7===!0x0)-Number(_0x37e320===!0x0);let _0x1a7009=Number(_0x1b83d7),_0x106182=Number(_0x37e320),_0x481b1a=Number[_0x57d2aa(0x299)](_0x1a7009),_0x10ea01=Number[_0x57d2aa(0x299)](_0x106182);return _0x481b1a&&_0x10ea01?_0x1a7009-_0x106182:_0x481b1a?0x1:_0x10ea01?-0x1:String(_0x1b83d7)[_0x57d2aa(0x31c)](String(_0x37e320));}function Kn(_0x53df05){const _0xcc5569=_0x1040ac;if(_0x53df05[_0xcc5569(0x24f)]!=='is'&&_0x53df05[_0xcc5569(0x24f)]!=='isNot')return!0x1;let _0x3ab51a=_0x53df05[_0xcc5569(0x1c0)];return _0x3ab51a==null?!0x0:typeof _0x3ab51a==_0xcc5569(0x2e9)?_0x3ab51a['trim']()==='':Array['isArray'](_0x3ab51a)?_0x3ab51a[_0xcc5569(0x1ac)]===0x0:!0x1;}function J(_0x520521,_0x48ff0c){const _0x2d9716=_0x1040ac;var _0x56c55b;let _0x539ae8=Array['isArray']((_0x56c55b=_0x520521[_0x2d9716(0x2ed)])==null?void 0x0:_0x56c55b['options'])?_0x520521['config']['options']:[];for(let _0x4103b3 of _0x539ae8){var _0x16b5b4,_0x3605af,_0x2db2d3,_0x302fa6;if(_0x4103b3==null)continue;if(typeof _0x4103b3=='string'){if(_0x4103b3===_0x48ff0c)return{'id':_0x4103b3,'name':_0x4103b3};continue;}let _0x4c79e0=_0x4103b3,_0x2fdae4=String((_0x16b5b4=(_0x3605af=_0x4c79e0['id'])==null?_0x4c79e0[_0x2d9716(0x27a)]:_0x3605af)==null?'':_0x16b5b4),_0x443da5=String((_0x2db2d3=(_0x302fa6=_0x4c79e0['name'])==null?_0x4c79e0['id']:_0x302fa6)==null?_0x2fdae4:_0x2db2d3);if(_0x2fdae4===_0x48ff0c||_0x443da5===_0x48ff0c)return{'id':_0x2fdae4,'name':_0x443da5,'color':_0x4c79e0[_0x2d9716(0x2cf)]==null?void 0x0:String(_0x4c79e0[_0x2d9716(0x2cf)])};}return null;}const Y={'id':_0x1040ac(0xb7),'type':_0x579a13['MUTATION'],'handler'(_0xbcf0b6,_0x547057){const _0x5478c7=_0x1040ac;let {unitId:_0x361766,op:_0x3aed0a}=_0x547057,_0x5db2ab=_0xbcf0b6[_0x5478c7(0x370)](_0x1c5465)[_0x5478c7(0xb3)](_0x361766,_0x5080c8[_0x5478c7(0x271)]);if(!_0x5db2ab)return!0x1;let _0x3e015a=_0x5db2ab[_0x5478c7(0x1b7)](),_0x4ed03d=new A(),_0x4b5557=_0x4ed03d[_0x5478c7(0x228)](_0x3aed0a),_0x31b4fb=_0x4ed03d[_0x5478c7(0xc8)](_0x3e015a,_0x3aed0a);return _0x5db2ab['setSnapshot'](_0x31b4fb),qn(_0x31b4fb,_0x4b5557,_0xbcf0b6[_0x5478c7(0x370)](_n)),!0x0;}};function qn(_0x2143b8,_0x837754,_0x4be022){const _0x51dda4=_0x1040ac;let _0x584436=new Set();for(let _0x362d12 of _0x837754){if(_0x362d12[_0x51dda4(0x160)]!==_0x51dda4(0x2fb)){_0x4be022[_0x51dda4(0x30d)]();return;}let _0x2e248c=Jn(_0x2143b8,_0x362d12);if(!_0x2e248c){_0x4be022[_0x51dda4(0x30d)]();return;}let _0x3e7702=_0x2e248c[_0x51dda4(0x253)]+'\x00'+_0x2e248c[_0x51dda4(0x158)]+'\x00'+_0x2e248c['fieldId'];_0x584436[_0x51dda4(0x31e)](_0x3e7702)||(_0x584436['add'](_0x3e7702),_0x4be022['invalidateByCell'](_0x2e248c[_0x51dda4(0x253)],_0x2e248c[_0x51dda4(0x158)],_0x2e248c['fieldId']));}}function Jn(_0x160a2a,_0x4121c8){const _0x308b69=_0x1040ac;var _0x52c94b,_0x27346f;if(!_0x4121c8[_0x308b69(0x253)])return null;if(_0x4121c8[_0x308b69(0x158)]&&_0x4121c8[_0x308b69(0x1d4)])return{'tableId':_0x4121c8[_0x308b69(0x253)],'recordId':_0x4121c8[_0x308b69(0x158)],'fieldId':_0x4121c8[_0x308b69(0x1d4)]};if(_0x4121c8[_0x308b69(0x231)]==null||_0x4121c8[_0x308b69(0x175)]==null)return null;let _0x260268=_0x160a2a[_0x308b69(0x274)][_0x4121c8[_0x308b69(0x253)]],_0x2e6aed=_0x260268==null||(_0x52c94b=_0x260268[_0x308b69(0x247)])==null?void 0x0:_0x52c94b[_0x4121c8[_0x308b69(0x231)]],_0x75145=_0x260268==null||(_0x27346f=_0x260268[_0x308b69(0x2fa)])==null?void 0x0:_0x27346f[_0x4121c8['column']];return!_0x2e6aed||!_0x75145?null:{'tableId':_0x4121c8[_0x308b69(0x253)],'recordId':_0x2e6aed,'fieldId':_0x75145};}function X(_0x269840,_0x366e8a,_0x3f429a){const _0x1f7717=_0x1040ac;let _0x3e1fa3=_0x269840[_0x1f7717(0x1b7)]()[_0x1f7717(0x274)][_0x366e8a];if(!_0x3e1fa3)return!0x1;let {viewIds:_0x1926d1,fieldIds:_0x4c87d2,recordIds:_0x4f664d}=_0x3f429a||{};if(_0x1926d1){for(let _0x2bd42a of _0x1926d1)if(!_0x3e1fa3[_0x1f7717(0x165)][_0x2bd42a])return!0x1;}if(_0x4c87d2){for(let _0x539697 of _0x4c87d2)if(!_0x3e1fa3[_0x1f7717(0x351)][_0x539697])return!0x1;}if(_0x4f664d){for(let _0x450dff of _0x4f664d)if(!_0x3e1fa3['records'][_0x450dff])return!0x1;}return!0x0;}const Yn={'id':'base.command.batch-create-base-records','type':_0x579a13[_0x1040ac(0xcd)],'handler'(_0x5b6a55,_0x424e1b){const _0x31fa42=_0x1040ac;if(!_0x424e1b)return!0x1;let _0xb4aca8=_0x5b6a55['get'](_0x1c5465),{unitId:_0x55459f,tableId:_0x218c62,records:_0x137579}=_0x424e1b,_0x4c6d78=_0xb4aca8[_0x31fa42(0xb3)](_0x55459f,_0x5080c8[_0x31fa42(0x271)]),_0x1d040e=_0x137579[_0x31fa42(0xb4)](_0x13c21c=>_0x13c21c['id']);if(!_0x4c6d78||!X(_0x4c6d78,_0x218c62)||new Set(_0x1d040e)[_0x31fa42(0x1df)]!==_0x1d040e[_0x31fa42(0x1ac)]||_0x1d040e[_0x31fa42(0x20d)](_0x5e56b4=>_0x4c6d78[_0x31fa42(0x1b7)]()[_0x31fa42(0x274)][_0x218c62][_0x31fa42(0x1fa)][_0x5e56b4]))return!0x1;let _0x399ca0=_0x5b6a55['get'](_0x42c942),_0x18e9dc=_0x5b6a55[_0x31fa42(0x370)](_0x195a57),_0x2d396d=_0x5b6a55[_0x31fa42(0x370)](W)[_0x31fa42(0x354)](_0x4c6d78,_0x218c62,_0x137579),_0x3eb3ff=new A()['invertOp'](_0x4c6d78[_0x31fa42(0x1b7)](),_0x2d396d),_0x179e52={'unitId':_0x55459f,'op':_0x2d396d},_0x41a4e8={'unitId':_0x55459f,'op':_0x3eb3ff};return _0x399ca0[_0x31fa42(0x362)](Y['id'],_0x179e52)?(_0xb4aca8[_0x31fa42(0x33c)](_0x55459f),_0x18e9dc['pushUndoRedo']({'unitID':_0x55459f,'undoMutations':[{'id':Y['id'],'params':_0x41a4e8}],'redoMutations':[{'id':Y['id'],'params':_0x179e52}]}),!0x0):!0x1;}},Xn={'id':'base.command.batch-delete-base-records','type':_0x579a13[_0x1040ac(0xcd)],'handler':(_0x2e0f0c,_0x220758)=>{const _0xed97e4=_0x1040ac;if(!_0x220758)return!0x1;let _0x576b0a=_0x2e0f0c[_0xed97e4(0x370)](_0x1c5465),{unitId:_0x20b843,tableId:_0x9bb544,recordIds:_0x31775d}=_0x220758,_0x57becc=_0x576b0a[_0xed97e4(0xb3)](_0x20b843,_0x5080c8[_0xed97e4(0x271)]);if(!_0x57becc||!X(_0x57becc,_0x9bb544,{'recordIds':_0x31775d}))return!0x1;let _0x55983c=_0x2e0f0c[_0xed97e4(0x370)](_0x42c942),_0x369d32=_0x2e0f0c[_0xed97e4(0x370)](_0x195a57),_0x451eac=_0x57becc[_0xed97e4(0x1b7)](),_0x31da48=new R()[_0xed97e4(0x21b)](_0x451eac,_0x9bb544,_0x31775d),_0x263966=new A()['invertOp'](_0x451eac,_0x31da48),_0x8a7203={'unitId':_0x20b843,'op':_0x31da48},_0x144123={'unitId':_0x20b843,'op':_0x263966};return _0x55983c[_0xed97e4(0x362)](Y['id'],_0x8a7203)?(_0x576b0a[_0xed97e4(0x33c)](_0x20b843),_0x369d32[_0xed97e4(0x1c1)]({'unitID':_0x20b843,'undoMutations':[{'id':Y['id'],'params':_0x144123}],'redoMutations':[{'id':Y['id'],'params':_0x8a7203}]}),!0x0):!0x1;}},Zn={'id':_0x1040ac(0xf0),'type':_0x579a13[_0x1040ac(0xcd)],'handler':(_0x4820aa,_0x2db6f8)=>{const _0x5bd333=_0x1040ac;if(!_0x2db6f8)return!0x1;let _0x3a45ba=_0x4820aa[_0x5bd333(0x370)](_0x1c5465),{unitId:_0x5f0cfc,tableId:_0xe46a80,fieldId:_0x7e3175,input:_0x45a0dd}=_0x2db6f8,_0x5e1094=_0x3a45ba[_0x5bd333(0xb3)](_0x5f0cfc,_0x5080c8[_0x5bd333(0x271)]);if(!_0x5e1094||!X(_0x5e1094,_0xe46a80,{'fieldIds':[_0x7e3175]}))return!0x1;let _0x45288e=_0x4820aa[_0x5bd333(0x370)](_0x42c942),_0x1b7056=_0x4820aa[_0x5bd333(0x370)](_0x195a57),_0x353e19=_0x5e1094[_0x5bd333(0x1b7)](),_0xb076f=new R()[_0x5bd333(0xbb)](_0x353e19,_0xe46a80,_0x7e3175,_0x45a0dd),_0x1e31e9=new A()['invertOp'](_0x353e19,_0xb076f),_0x556cc6={'unitId':_0x5f0cfc,'op':_0xb076f},_0x2d8588={'unitId':_0x5f0cfc,'op':_0x1e31e9};return _0x45288e['syncExecuteCommand'](Y['id'],_0x556cc6)?(_0x3a45ba[_0x5bd333(0x33c)](_0x5f0cfc),_0x1b7056[_0x5bd333(0x1c1)]({'unitID':_0x5f0cfc,'undoMutations':[{'id':Y['id'],'params':_0x2d8588}],'redoMutations':[{'id':Y['id'],'params':_0x556cc6}]}),!0x0):!0x1;}},Qn={'id':_0x1040ac(0x12d),'type':_0x579a13[_0x1040ac(0xcd)],'handler'(_0x31cf6d,_0x5a84f2){const _0x508dd9=_0x1040ac;if(!_0x5a84f2)return!0x1;let _0x678cec=_0x31cf6d[_0x508dd9(0x370)](_0x1c5465),{unitId:_0x3132ca,tableId:_0x183675,field:_0x66d013,index:_0x11d463,viewIndexes:_0x4de7f6}=_0x5a84f2,_0x1194af=_0x678cec['getUnit'](_0x3132ca,_0x5080c8['UNIVER_BASE']);if(!_0x1194af||!X(_0x1194af,_0x183675)||_0x1194af['getSnapshot']()[_0x508dd9(0x274)][_0x183675][_0x508dd9(0x351)][_0x66d013['id']])return!0x1;let _0xfdca6e=_0x31cf6d[_0x508dd9(0x370)](_0x42c942),_0x2de3ec=_0x31cf6d[_0x508dd9(0x370)](_0x195a57),_0x54ac28=_0x31cf6d[_0x508dd9(0x370)](W)[_0x508dd9(0x183)](_0x1194af,_0x183675,_0x66d013,_0x11d463,_0x4de7f6),_0x3c6d4e=new A()[_0x508dd9(0x1be)](_0x1194af[_0x508dd9(0x1b7)](),_0x54ac28),_0x246b80={'unitId':_0x3132ca,'op':_0x54ac28},_0x1197ef={'unitId':_0x3132ca,'op':_0x3c6d4e};return _0xfdca6e[_0x508dd9(0x362)](Y['id'],_0x246b80)?(_0x678cec['focusUnit'](_0x3132ca),_0x2de3ec['pushUndoRedo']({'unitID':_0x3132ca,'undoMutations':[{'id':Y['id'],'params':_0x1197ef}],'redoMutations':[{'id':Y['id'],'params':_0x246b80}]}),!0x0):!0x1;}},$n={'id':_0x1040ac(0x174),'type':_0x579a13[_0x1040ac(0xcd)],'handler'(_0x927871,_0x426745){const _0x29c607=_0x1040ac;if(!_0x426745)return!0x1;let _0x6c0755=_0x927871[_0x29c607(0x370)](_0x1c5465),{unitId:_0x1ca54b,tableId:_0x1b6882,record:_0x3cb73b}=_0x426745,_0x2e074e=_0x6c0755[_0x29c607(0xb3)](_0x1ca54b,_0x5080c8[_0x29c607(0x271)]);if(!_0x2e074e||!X(_0x2e074e,_0x1b6882)||_0x2e074e['getSnapshot']()[_0x29c607(0x274)][_0x1b6882][_0x29c607(0x1fa)][_0x3cb73b['id']])return!0x1;let _0x13e152=_0x927871[_0x29c607(0x370)](_0x42c942),_0x2915b9=_0x927871[_0x29c607(0x370)](_0x195a57),_0x4f7da9=_0x927871[_0x29c607(0x370)](W)[_0x29c607(0x1e5)](_0x2e074e,_0x1b6882,_0x3cb73b),_0x4b1da7=new A()['invertOp'](_0x2e074e[_0x29c607(0x1b7)](),_0x4f7da9),_0x3f8af4={'unitId':_0x1ca54b,'op':_0x4f7da9},_0x2dc01d={'unitId':_0x1ca54b,'op':_0x4b1da7};return _0x13e152[_0x29c607(0x362)](Y['id'],_0x3f8af4)?(_0x6c0755['focusUnit'](_0x1ca54b),_0x2915b9[_0x29c607(0x1c1)]({'unitID':_0x1ca54b,'undoMutations':[{'id':Y['id'],'params':_0x2dc01d}],'redoMutations':[{'id':Y['id'],'params':_0x3f8af4}]}),!0x0):!0x1;}},er={'id':_0x1040ac(0x23d),'type':_0x579a13[_0x1040ac(0xcd)],'handler':(_0x55dcee,_0x1e6e4f)=>{const _0x7c07c5=_0x1040ac;if(!_0x1e6e4f)return!0x1;let _0x55d5ab=_0x55dcee['get'](_0x1c5465),{unitId:_0x1224a5,table:_0x1203b1,index:_0x3a39a2}=_0x1e6e4f,_0x3abf85=_0x55d5ab[_0x7c07c5(0xb3)](_0x1224a5,_0x5080c8[_0x7c07c5(0x271)]);if(!_0x3abf85||_0x3abf85[_0x7c07c5(0x1b7)]()[_0x7c07c5(0x274)][_0x1203b1['id']])return!0x1;let _0x32e82c=_0x55dcee['get'](_0x42c942),_0xddac66=_0x55dcee[_0x7c07c5(0x370)](_0x195a57),_0x2aa9b1=_0x3abf85[_0x7c07c5(0x1b7)](),_0x5959b8={..._0x1203b1,'name':_0x3abf85[_0x7c07c5(0xa0)](_0x1203b1[_0x7c07c5(0x27a)])},_0x4b7067=new R()['createTable'](_0x2aa9b1,_0x5959b8,_0x3a39a2),_0x189b82=new A()['invertOp'](_0x2aa9b1,_0x4b7067),_0x34481c={'unitId':_0x1224a5,'op':_0x4b7067},_0x4ca1d1={'unitId':_0x1224a5,'op':_0x189b82};return _0x32e82c[_0x7c07c5(0x362)](Y['id'],_0x34481c)?(_0x55d5ab[_0x7c07c5(0x33c)](_0x1224a5),_0xddac66[_0x7c07c5(0x1c1)]({'unitID':_0x1224a5,'undoMutations':[{'id':Y['id'],'params':_0x4ca1d1}],'redoMutations':[{'id':Y['id'],'params':_0x34481c}]}),!0x0):!0x1;}};function tr(_0x57f3fd,_0x1d6479,_0x2e9993=[]){const _0x1b27dd=_0x1040ac;let _0x30bff1=new Set([...Object[_0x1b27dd(0x29d)](_0x57f3fd[_0x1b27dd(0x351)])[_0x1b27dd(0x308)](_0x3bfd48=>_0x3bfd48)['map'](_0x40fe48=>_0x40fe48[_0x1b27dd(0x27a)]),..._0x2e9993[_0x1b27dd(0xb4)](_0x57af42=>_0x57af42[_0x1b27dd(0x27a)])]);if(!_0x30bff1[_0x1b27dd(0x31e)](_0x1d6479))return _0x1d6479;let _0x362dd0=0x2;for(;_0x30bff1['has'](_0x1d6479+'\x20'+_0x362dd0);)_0x362dd0++;return _0x1d6479+'\x20'+_0x362dd0;}function nr(_0x24aa44,_0x3078e7){const _0x5b159d=_0x1040ac;if(!_0x24aa44||!_0x3078e7[_0x5b159d(0x1ac)])return;let _0x28332c=[..._0x24aa44];return _0x3078e7[_0x5b159d(0x2d3)](_0x141608=>{const _0x6a6ea8=_0x5b159d;_0x28332c[_0x6a6ea8(0x207)](_0x141608)||_0x28332c[_0x6a6ea8(0x143)](_0x141608);}),_0x28332c;}function _0x4ff6(_0x424861,_0x38cd9f){_0x424861=_0x424861-0x9d;const _0x2f5992=_0x2f59();let _0x4ff677=_0x2f5992[_0x424861];return _0x4ff677;}const rr={'options':[{'id':'todo','name':_0x1040ac(0x1e3),'color':'#BFDBFE'},{'id':_0x1040ac(0x315),'name':_0x1040ac(0x1c2),'color':_0x1040ac(0x187)},{'id':_0x1040ac(0x18b),'name':_0x1040ac(0x280),'color':_0x1040ac(0x322)}]},ir={'locale':_0x1040ac(0xc9),'pattern':_0x1040ac(0x13a),'includeTime':!0x1,'hourCycle':_0x1040ac(0x188),'defaultMode':_0x1040ac(0x208)};function ar(_0x3ecd8a,_0x5d7f3c,_0x5d86b7,_0x77825){const _0x3192d9=_0x1040ac;var _0x3073cf;let _0x2885cc=new R(),_0x4f93a1=_0x3ecd8a[_0x3192d9(0x274)][_0x5d7f3c];if(_0x4f93a1&&_0x5d86b7[_0x3192d9(0xd2)]==='kanban'){var _0x284cde;let _0x5ca68e=sr(_0x4f93a1,_0x5d86b7),_0x2d7af0=_0x5ca68e['changed']?{..._0x5d86b7,'config':_0x5ca68e[_0x3192d9(0x2ed)],'fieldOrder':(_0x284cde=_0x5ca68e[_0x3192d9(0xce)])==null?_0x5d86b7[_0x3192d9(0xce)]:_0x284cde}:_0x5d86b7;return L([..._0x5ca68e[_0x3192d9(0x351)][_0x3192d9(0xb4)](_0x3fc90a=>_0x2885cc[_0x3192d9(0x2c2)](_0x3ecd8a,_0x5d7f3c,{'field':_0x3fc90a})),_0x2885cc['createView'](_0x3ecd8a,_0x5d7f3c,_0x2d7af0,_0x77825)]);}if(!_0x4f93a1||_0x5d86b7[_0x3192d9(0xd2)]!=='calendar'&&_0x5d86b7[_0x3192d9(0xd2)]!==_0x3192d9(0x2f4))return _0x2885cc[_0x3192d9(0x32f)](_0x3ecd8a,_0x5d7f3c,_0x5d86b7,_0x77825);let _0x208bc8=or(_0x4f93a1,_0x5d86b7),_0x13692b=_0x208bc8['changed']?{..._0x5d86b7,'config':_0x208bc8[_0x3192d9(0x2ed)],'fieldOrder':(_0x3073cf=_0x208bc8['fieldOrder'])==null?_0x5d86b7[_0x3192d9(0xce)]:_0x3073cf}:_0x5d86b7;return _0x5d86b7[_0x3192d9(0xd2)]===_0x3192d9(0x2f4)&&ur(_0x5d86b7)&&(_0x13692b=dr(_0x4f93a1,_0x13692b,_0x208bc8[_0x3192d9(0x351)])),L([..._0x208bc8[_0x3192d9(0x351)]['map'](_0x2720bd=>_0x2885cc[_0x3192d9(0x2c2)](_0x3ecd8a,_0x5d7f3c,{'field':_0x2720bd})),_0x2885cc[_0x3192d9(0x32f)](_0x3ecd8a,_0x5d7f3c,_0x13692b,_0x77825)]);}function or(_0x578529,_0x138ed4,_0x1951ef=!0x1){const _0x4646e9=_0x1040ac;var _0x5b1b8d,_0x628aa0,_0x2f0332,_0x26bda0;let _0x5b6784=_0x578529[_0x4646e9(0xce)][_0x4646e9(0x308)](_0x2dbcc4=>pr(_0x578529,_0x2dbcc4)),_0x3d8ea8=[],_0xca1a94={...(_0x5b1b8d=_0x138ed4[_0x4646e9(0x2ed)])==null?{}:_0x5b1b8d},_0x50c2b6=typeof _0xca1a94[_0x4646e9(0x1a1)]=='string'&&pr(_0x578529,_0xca1a94[_0x4646e9(0x1a1)])?_0xca1a94[_0x4646e9(0x1a1)]:_0x5b6784[0x0],_0x11f39d=typeof _0xca1a94[_0x4646e9(0xfd)]==_0x4646e9(0x2e9)&&pr(_0x578529,_0xca1a94[_0x4646e9(0xfd)])&&_0xca1a94[_0x4646e9(0xfd)]!==_0x50c2b6?_0xca1a94[_0x4646e9(0xfd)]:_0x5b6784[_0x4646e9(0x1cc)](_0x164666=>_0x164666!==_0x50c2b6);if(!_0x50c2b6){let _0x51f770=mr(_0x578529,_0x3d8ea8,_0x138ed4[_0x4646e9(0xd2)]==='gantt'?'Start\x20date':_0x4646e9(0x107));_0x3d8ea8[_0x4646e9(0x143)](_0x51f770),_0x50c2b6=_0x51f770['id'];}if((_0x138ed4[_0x4646e9(0xd2)]===_0x4646e9(0x2f4)||_0x1951ef)&&!_0x11f39d){let _0xa6f081=mr(_0x578529,_0x3d8ea8,_0x4646e9(0x112));_0x3d8ea8['push'](_0xa6f081),_0x11f39d=_0xa6f081['id'];}if(_0x138ed4['type']===_0x4646e9(0x102)&&!_0x11f39d&&delete _0xca1a94[_0x4646e9(0xfd)],_0xca1a94['startDateFieldId']=_0x50c2b6,_0x138ed4[_0x4646e9(0xd2)]==='calendar'&&_0x11f39d&&(_0xca1a94[_0x4646e9(0xfd)]=_0x11f39d),_0x138ed4[_0x4646e9(0xd2)]===_0x4646e9(0x2f4)){var _0x2c20e4;_0xca1a94[_0x4646e9(0xfd)]=(_0x2c20e4=_0x11f39d)==null?_0x50c2b6:_0x2c20e4;}let _0xa12649=nr(_0x138ed4[_0x4646e9(0xce)],_0x3d8ea8[_0x4646e9(0xb4)](_0x4d63fa=>_0x4d63fa['id']));return{'changed':_0x3d8ea8['length']>0x0||_0xca1a94[_0x4646e9(0x1a1)]!==((_0x628aa0=_0x138ed4['config'])==null?void 0x0:_0x628aa0[_0x4646e9(0x1a1)])||_0xca1a94[_0x4646e9(0xfd)]!==((_0x2f0332=_0x138ed4[_0x4646e9(0x2ed)])==null?void 0x0:_0x2f0332[_0x4646e9(0xfd)])||!!(_0xa12649&&!_0x131bf1['diffValue'](_0xa12649,(_0x26bda0=_0x138ed4[_0x4646e9(0xce)])==null?[]:_0x26bda0)),'fields':_0x3d8ea8,'config':_0xca1a94,'fieldOrder':_0xa12649};}function sr(_0x27e374,_0x5e1bab){const _0x23df15=_0x1040ac;var _0x4b29ad,_0x8693dd,_0x177bf2;let _0x2c807e=[],_0x1e8eaf={...(_0x4b29ad=_0x5e1bab['config'])==null?{}:_0x4b29ad},_0x49e714=typeof _0x1e8eaf[_0x23df15(0x147)]==_0x23df15(0x2e9)&&cr(_0x27e374,_0x1e8eaf[_0x23df15(0x147)])?_0x1e8eaf[_0x23df15(0x147)]:_0x27e374[_0x23df15(0xce)]['find'](_0x4e78b1=>cr(_0x27e374,_0x4e78b1));if(!_0x49e714){let _0x471b59=lr(_0x27e374,_0x2c807e);_0x2c807e[_0x23df15(0x143)](_0x471b59),_0x49e714=_0x471b59['id'];}_0x1e8eaf[_0x23df15(0x147)]=_0x49e714;let _0x4f03a0=nr(_0x5e1bab[_0x23df15(0xce)],_0x2c807e[_0x23df15(0xb4)](_0x390c68=>_0x390c68['id']));return{'changed':_0x2c807e[_0x23df15(0x1ac)]>0x0||_0x1e8eaf[_0x23df15(0x147)]!==((_0x8693dd=_0x5e1bab[_0x23df15(0x2ed)])==null?void 0x0:_0x8693dd['groupFieldId'])||!!(_0x4f03a0&&!_0x131bf1[_0x23df15(0xfb)](_0x4f03a0,(_0x177bf2=_0x5e1bab[_0x23df15(0xce)])==null?[]:_0x177bf2)),'fields':_0x2c807e,'config':_0x1e8eaf,'fieldOrder':_0x4f03a0};}function cr(_0x2d6d6f,_0x121d91){const _0x270ec2=_0x1040ac;let _0x3406b1=_0x121d91?_0x2d6d6f['fields'][_0x121d91]:null;return _0x3406b1?[_0x406b36['SingleSelect'],_0x406b36[_0x270ec2(0x2ce)],_0x406b36['Rating'],_0x406b36['Person'],_0x406b36[_0x270ec2(0x26b)],_0x406b36[_0x270ec2(0x32e)]]['includes'](_0x3406b1[_0x270ec2(0xd2)]):!0x1;}function lr(_0x48a0eb,_0x1160c6){const _0x44e036=_0x1040ac;return{'id':_0x44e036(0x2d5)+_0x4322a8(0x8),'name':tr(_0x48a0eb,_0x44e036(0x296),_0x1160c6),'type':_0x406b36[_0x44e036(0x1c7)],'config':_0x131bf1[_0x44e036(0x263)](rr)};}function ur(_0x1882ec){const _0x250f49=_0x1040ac;var _0x48949f,_0x417de6;return Object[_0x250f49(0x1d0)]((_0x48949f=_0x1882ec['config'])==null?{}:_0x48949f)['length']===0x0&&Object[_0x250f49(0x1d0)]((_0x417de6=_0x1882ec['fieldSettings'])==null?{}:_0x417de6)[_0x250f49(0x1ac)]===0x0;}function dr(_0x29c90f,_0x336b90,_0x45ae02){const _0x461b12=_0x1040ac;var _0x1b649f;let _0x1017a6={...(_0x1b649f=_0x336b90['config'])==null?{}:_0x1b649f},_0x19baa7=_0x45ae02['map'](_0x3c9c7d=>_0x3c9c7d['id']),_0x57d7e5=[..._0x29c90f[_0x461b12(0xce)],..._0x19baa7],_0x46a0a7=typeof _0x1017a6[_0x461b12(0x15f)]=='string'&&fr(_0x29c90f,_0x45ae02,_0x1017a6['titleFieldId'])?_0x1017a6[_0x461b12(0x15f)]:_0x29c90f[_0x461b12(0x2a0)],_0x576f5b=typeof _0x1017a6[_0x461b12(0x1a1)]==_0x461b12(0x2e9)?_0x1017a6[_0x461b12(0x1a1)]:'',_0x21954f=typeof _0x1017a6[_0x461b12(0xfd)]==_0x461b12(0x2e9)?_0x1017a6[_0x461b12(0xfd)]:_0x576f5b,_0xd718ac=new Set([_0x46a0a7,_0x576f5b,_0x21954f][_0x461b12(0x308)](_0x57052c=>_0x57052c&&fr(_0x29c90f,_0x45ae02,_0x57052c))),_0x598181=Object[_0x461b12(0x1fc)](_0x57d7e5[_0x461b12(0x1a6)](_0xba325c=>_0xd718ac[_0x461b12(0x31e)](_0xba325c)||!fr(_0x29c90f,_0x45ae02,_0xba325c)?[]:[[_0xba325c,{'hidden':!0x0}]]));return{..._0x336b90,'config':{..._0x1017a6,'titleFieldId':_0x46a0a7},'fieldSettings':_0x598181};}function fr(_0x39c9a9,_0x45d606,_0x59109f){const _0x388021=_0x1040ac;var _0x517343;return!!((_0x517343=_0x39c9a9[_0x388021(0x351)][_0x59109f])==null?_0x45d606[_0x388021(0x1cc)](_0x1f6a18=>_0x1f6a18['id']===_0x59109f):_0x517343)&&!0x0;}function pr(_0x32ad8a,_0x1dbb05){const _0x2f542f=_0x1040ac;let _0x10dbfb=_0x1dbb05?_0x32ad8a['fields'][_0x1dbb05]:null;return!!_0x10dbfb&&_0x10dbfb[_0x2f542f(0xd2)]===_0x406b36[_0x2f542f(0x107)]&&_0x10dbfb['readonly']!==!0x0&&_0x10dbfb[_0x2f542f(0x137)]!==!0x0;}function mr(_0x554bce,_0x2b90c3,_0x2ff740){const _0x9f84f1=_0x1040ac;let _0xf90211=new Set([...Object['keys'](_0x554bce[_0x9f84f1(0x351)]),..._0x2b90c3[_0x9f84f1(0xb4)](_0x2ac34e=>_0x2ac34e['id'])]),_0x472e0e='fld-'+_0x4322a8(0x8);for(;_0xf90211[_0x9f84f1(0x31e)](_0x472e0e);)_0x472e0e=_0x9f84f1(0x2d5)+_0x4322a8(0x8);return{'id':_0x472e0e,'name':tr(_0x554bce,_0x2ff740,_0x2b90c3),'type':_0x406b36[_0x9f84f1(0x107)],'config':{...ir}};}const hr={'id':_0x1040ac(0x2be),'type':_0x579a13[_0x1040ac(0xcd)],'handler':(_0x3cdaeb,_0x246d59)=>{const _0x4516a8=_0x1040ac;if(!_0x246d59)return!0x1;let _0x341667=_0x3cdaeb[_0x4516a8(0x370)](_0x1c5465),{unitId:_0x2771f5,tableId:_0x2201b9,view:_0x209706,index:_0x46ca99}=_0x246d59,_0x13f2df=_0x341667[_0x4516a8(0xb3)](_0x2771f5,_0x5080c8[_0x4516a8(0x271)]);if(!_0x13f2df||!X(_0x13f2df,_0x2201b9)||_0x13f2df[_0x4516a8(0x1b7)]()['tables'][_0x2201b9]['views'][_0x209706['id']])return!0x1;let _0xb9ea=_0x3cdaeb['get'](_0x42c942),_0x5dae23=_0x3cdaeb[_0x4516a8(0x370)](_0x195a57),_0x384c29=_0x13f2df['getSnapshot'](),_0x1d6c69=ar(_0x384c29,_0x2201b9,_0x209706,_0x46ca99),_0x40edf2=new A()['invertOp'](_0x384c29,_0x1d6c69),_0x1fc82b={'unitId':_0x2771f5,'op':_0x1d6c69},_0x5dc136={'unitId':_0x2771f5,'op':_0x40edf2};return _0xb9ea[_0x4516a8(0x362)](Y['id'],_0x1fc82b)?(_0x341667[_0x4516a8(0x33c)](_0x2771f5),_0x5dae23[_0x4516a8(0x1c1)]({'unitID':_0x2771f5,'undoMutations':[{'id':Y['id'],'params':_0x5dc136}],'redoMutations':[{'id':Y['id'],'params':_0x1fc82b}]}),!0x0):!0x1;}},gr={'id':_0x1040ac(0x28f),'type':_0x579a13[_0x1040ac(0xcd)],'handler'(_0x2869d1,_0x284495){const _0x5a74d4=_0x1040ac;if(!_0x284495)return!0x1;let _0x2d96e1=_0x2869d1[_0x5a74d4(0x370)](_0x1c5465),{unitId:_0x507037,tableId:_0x323b69,fieldId:_0x411b86}=_0x284495,_0x49bb52=_0x2d96e1[_0x5a74d4(0xb3)](_0x507037,_0x5080c8[_0x5a74d4(0x271)]);if(!_0x49bb52)return!0x1;let _0x584ed2=_0x49bb52['getSnapshot'](),_0x496547=_0x584ed2[_0x5a74d4(0x274)][_0x323b69];if(!X(_0x49bb52,_0x323b69,{'fieldIds':[_0x411b86]})||_0x496547[_0x5a74d4(0x2a0)]===_0x411b86)return!0x1;let _0x1a64f3=_0x2869d1[_0x5a74d4(0x370)](_0x42c942),_0x4c5a3b=_0x2869d1[_0x5a74d4(0x370)](_0x195a57),_0x4cf20e=new R()[_0x5a74d4(0xbd)](_0x584ed2,_0x323b69,_0x411b86),_0xef7b1e=new A()[_0x5a74d4(0x1be)](_0x584ed2,_0x4cf20e),_0x885bc={'unitId':_0x507037,'op':_0x4cf20e},_0x4f6fa1={'unitId':_0x507037,'op':_0xef7b1e};return _0x1a64f3[_0x5a74d4(0x362)](Y['id'],_0x885bc)?(_0x2d96e1[_0x5a74d4(0x33c)](_0x507037),_0x4c5a3b[_0x5a74d4(0x1c1)]({'unitID':_0x507037,'undoMutations':[{'id':Y['id'],'params':_0x4f6fa1}],'redoMutations':[{'id':Y['id'],'params':_0x885bc}]}),!0x0):!0x1;}},_r={'id':_0x1040ac(0x148),'type':_0x579a13[_0x1040ac(0xcd)],'handler':(_0x18c1b8,_0x4b1a4a)=>{const _0x5d4b8a=_0x1040ac;if(!_0x4b1a4a)return!0x1;let _0x33136a=_0x18c1b8[_0x5d4b8a(0x370)](_0x1c5465),{unitId:_0x316ae0,tableId:_0x21a6c9,recordId:_0x435d98}=_0x4b1a4a,_0x5c152e=_0x33136a[_0x5d4b8a(0xb3)](_0x316ae0,_0x5080c8[_0x5d4b8a(0x271)]);if(!_0x5c152e||!X(_0x5c152e,_0x21a6c9,{'recordIds':[_0x435d98]}))return!0x1;let _0x2d55bc=_0x18c1b8[_0x5d4b8a(0x370)](_0x42c942),_0x2d8619=_0x18c1b8[_0x5d4b8a(0x370)](_0x195a57),_0x157210=_0x5c152e[_0x5d4b8a(0x1b7)](),_0x144c69=new R()[_0x5d4b8a(0x1af)](_0x157210,_0x21a6c9,_0x435d98),_0x3488f0=new A()[_0x5d4b8a(0x1be)](_0x157210,_0x144c69),_0x29cb6d={'unitId':_0x316ae0,'op':_0x144c69},_0xaf5a83={'unitId':_0x316ae0,'op':_0x3488f0};return _0x2d55bc[_0x5d4b8a(0x362)](Y['id'],_0x29cb6d)?(_0x33136a[_0x5d4b8a(0x33c)](_0x316ae0),_0x2d8619[_0x5d4b8a(0x1c1)]({'unitID':_0x316ae0,'undoMutations':[{'id':Y['id'],'params':_0xaf5a83}],'redoMutations':[{'id':Y['id'],'params':_0x29cb6d}]}),!0x0):!0x1;}},vr={'id':_0x1040ac(0x1cf),'type':_0x579a13[_0x1040ac(0xcd)],'handler':(_0x31a5df,_0x30a6a0)=>{const _0x3cbae2=_0x1040ac;if(!_0x30a6a0)return!0x1;let _0xcd0569=_0x31a5df[_0x3cbae2(0x370)](_0x1c5465),{unitId:_0x3ba1db,tableId:_0x257e4c}=_0x30a6a0,_0x2ddd62=_0xcd0569[_0x3cbae2(0xb3)](_0x3ba1db,_0x5080c8[_0x3cbae2(0x271)]);if(!_0x2ddd62||!X(_0x2ddd62,_0x257e4c))return!0x1;let _0x1e136f=_0x31a5df['get'](_0x42c942),_0x56b886=_0x31a5df[_0x3cbae2(0x370)](_0x195a57),_0x33ad87=_0x2ddd62['getSnapshot'](),_0x50a9b8=new R()[_0x3cbae2(0x108)](_0x33ad87,_0x257e4c),_0x33d58b=new A()[_0x3cbae2(0x1be)](_0x33ad87,_0x50a9b8),_0x4ed83f={'unitId':_0x3ba1db,'op':_0x50a9b8},_0x3d8b48={'unitId':_0x3ba1db,'op':_0x33d58b};return _0x1e136f[_0x3cbae2(0x362)](Y['id'],_0x4ed83f)?(_0xcd0569[_0x3cbae2(0x33c)](_0x3ba1db),_0x56b886['pushUndoRedo']({'unitID':_0x3ba1db,'undoMutations':[{'id':Y['id'],'params':_0x3d8b48}],'redoMutations':[{'id':Y['id'],'params':_0x4ed83f}]}),!0x0):!0x1;}},yr={'id':_0x1040ac(0x267),'type':_0x579a13[_0x1040ac(0xcd)],'handler':(_0x35e603,_0x1a254c)=>{const _0x3b7fbc=_0x1040ac;if(!_0x1a254c)return!0x1;let _0xd11553=_0x35e603[_0x3b7fbc(0x370)](_0x1c5465),{unitId:_0x568822,tableId:_0x7c4b32,viewId:_0x4ccd4b}=_0x1a254c,_0x625196=_0xd11553[_0x3b7fbc(0xb3)](_0x568822,_0x5080c8[_0x3b7fbc(0x271)]);if(!_0x625196||!X(_0x625196,_0x7c4b32,{'viewIds':[_0x4ccd4b]}))return!0x1;let _0x4e2e4e=_0x35e603[_0x3b7fbc(0x370)](_0x42c942),_0x3c4be6=_0x35e603[_0x3b7fbc(0x370)](_0x195a57),_0x5470f6=_0x625196['getSnapshot'](),_0x50f988=new R()['deleteView'](_0x5470f6,_0x7c4b32,_0x4ccd4b),_0x63d51e=new A()[_0x3b7fbc(0x1be)](_0x5470f6,_0x50f988),_0x4823d6={'unitId':_0x568822,'op':_0x50f988},_0x866888={'unitId':_0x568822,'op':_0x63d51e};return _0x4e2e4e['syncExecuteCommand'](Y['id'],_0x4823d6)?(_0xd11553['focusUnit'](_0x568822),_0x3c4be6[_0x3b7fbc(0x1c1)]({'unitID':_0x568822,'undoMutations':[{'id':Y['id'],'params':_0x866888}],'redoMutations':[{'id':Y['id'],'params':_0x4823d6}]}),!0x0):!0x1;}},br={'id':_0x1040ac(0x25b),'type':_0x579a13[_0x1040ac(0xcd)],'handler':(_0x3f67b1,_0x1f91db)=>{const _0x516ff7=_0x1040ac;if(!_0x1f91db)return!0x1;let _0x5a0b01=_0x3f67b1[_0x516ff7(0x370)](_0x1c5465),{unitId:_0x452fe0,tableId:_0x208a40,sourceFieldId:_0x1b0419,field:_0x1cdb25,index:_0x4aafff,viewIndexes:_0x49c7ab}=_0x1f91db,_0x49f5e0=_0x5a0b01[_0x516ff7(0xb3)](_0x452fe0,_0x5080c8['UNIVER_BASE']);if(!_0x49f5e0||!X(_0x49f5e0,_0x208a40,{'fieldIds':[_0x1b0419]})||_0x49f5e0[_0x516ff7(0x1b7)]()[_0x516ff7(0x274)][_0x208a40]['fields'][_0x1cdb25['id']])return!0x1;let _0x5a6690=_0x3f67b1[_0x516ff7(0x370)](_0x42c942),_0x24a733=_0x3f67b1['get'](_0x195a57),_0x44e9ae=_0x49f5e0[_0x516ff7(0x1b7)](),_0x506238=new R()[_0x516ff7(0x23c)](_0x44e9ae,_0x208a40,_0x1b0419,{'field':_0x1cdb25,'index':_0x4aafff,'viewIndexes':_0x49c7ab}),_0x340d81=new A()['invertOp'](_0x44e9ae,_0x506238),_0x2c4525={'unitId':_0x452fe0,'op':_0x506238},_0x1829b8={'unitId':_0x452fe0,'op':_0x340d81};return _0x5a6690[_0x516ff7(0x362)](Y['id'],_0x2c4525)?(_0x5a0b01[_0x516ff7(0x33c)](_0x452fe0),_0x24a733[_0x516ff7(0x1c1)]({'unitID':_0x452fe0,'undoMutations':[{'id':Y['id'],'params':_0x1829b8}],'redoMutations':[{'id':Y['id'],'params':_0x2c4525}]}),!0x0):!0x1;}},xr={'id':_0x1040ac(0x22b),'type':_0x579a13[_0x1040ac(0xcd)],'handler':(_0x2dcd8d,_0x4d429d)=>{const _0x46b4da=_0x1040ac;if(!_0x4d429d)return!0x1;let _0x3b0d03=_0x2dcd8d['get'](_0x1c5465),{unitId:_0x2616d4,tableId:_0x17bae1,sourceRecordId:_0x1cc53,record:_0x592d9d}=_0x4d429d,_0x39a481=_0x3b0d03[_0x46b4da(0xb3)](_0x2616d4,_0x5080c8[_0x46b4da(0x271)]);if(!_0x39a481||!X(_0x39a481,_0x17bae1,{'recordIds':[_0x1cc53]})||_0x39a481[_0x46b4da(0x1b7)]()['tables'][_0x17bae1]['records'][_0x592d9d['id']])return!0x1;let _0x1a40f0=_0x2dcd8d[_0x46b4da(0x370)](_0x42c942),_0xf2a1e0=_0x2dcd8d[_0x46b4da(0x370)](_0x195a57),_0x47ab78=_0x39a481[_0x46b4da(0x1b7)](),_0x421be7=new R()[_0x46b4da(0xd9)](_0x47ab78,_0x17bae1,_0x1cc53,_0x592d9d),_0x514181=new A()[_0x46b4da(0x1be)](_0x47ab78,_0x421be7),_0x11f83b={'unitId':_0x2616d4,'op':_0x421be7},_0x150280={'unitId':_0x2616d4,'op':_0x514181};return _0x1a40f0[_0x46b4da(0x362)](Y['id'],_0x11f83b)?(_0x3b0d03[_0x46b4da(0x33c)](_0x2616d4),_0xf2a1e0[_0x46b4da(0x1c1)]({'unitID':_0x2616d4,'undoMutations':[{'id':Y['id'],'params':_0x150280}],'redoMutations':[{'id':Y['id'],'params':_0x11f83b}]}),!0x0):!0x1;}},Sr={'id':'base.command.ensure-base-temporal-view-date-fields','type':_0x579a13['COMMAND'],'handler'(_0x3c92de,_0x4cc44b){const _0x486ced=_0x1040ac;if(!_0x4cc44b)return!0x1;let _0x49a6d6=_0x3c92de['get'](_0x1c5465),{unitId:_0x4e623f,tableId:_0xdcef25,viewId:_0x5ddcdb,ensureEndDateField:_0xae7269}=_0x4cc44b,_0x1191d7=_0x49a6d6[_0x486ced(0xb3)](_0x4e623f,_0x5080c8['UNIVER_BASE']);if(!_0x1191d7||!X(_0x1191d7,_0xdcef25,{'viewIds':[_0x5ddcdb]}))return!0x1;let _0x575b91=_0x1191d7[_0x486ced(0x1b7)](),_0x4a186b=_0x575b91[_0x486ced(0x274)][_0xdcef25],_0x54488e=_0x4a186b==null?void 0x0:_0x4a186b['views'][_0x5ddcdb];if(!_0x4a186b||!_0x54488e||_0x54488e['type']!==_0x486ced(0x102)&&_0x54488e['type']!==_0x486ced(0x2f4))return!0x1;let _0x3f31da=or(_0x4a186b,_0x54488e,_0xae7269===!0x0);if(!_0x3f31da[_0x486ced(0x180)])return!0x1;let _0x57985a=_0x3c92de['get'](_0x42c942),_0x5edcca=_0x3c92de[_0x486ced(0x370)](_0x195a57),_0x28a46a=new R(),_0x5c4b7e=[..._0x3f31da[_0x486ced(0x351)][_0x486ced(0xb4)](_0x3b8a79=>_0x28a46a[_0x486ced(0x2c2)](_0x575b91,_0x4cc44b['tableId'],{'field':_0x3b8a79})),Cr([...wr(_0x4cc44b['tableId'],_0x4cc44b[_0x486ced(0x290)]),'config'],_0x54488e['config'],_0x3f31da['config'])];_0x3f31da['fieldOrder']&&_0x5c4b7e[_0x486ced(0x143)](Cr([...wr(_0x4cc44b[_0x486ced(0x253)],_0x4cc44b[_0x486ced(0x290)]),'fieldOrder'],_0x54488e['fieldOrder'],_0x3f31da['fieldOrder']));let _0x37cc6e=L(_0x5c4b7e),_0x286589=new A()[_0x486ced(0x1be)](_0x575b91,_0x37cc6e),_0x2b204e={'unitId':_0x4e623f,'op':_0x37cc6e},_0x2c1d4a={'unitId':_0x4e623f,'op':_0x286589};return _0x57985a[_0x486ced(0x362)](Y['id'],_0x2b204e)?(_0x49a6d6[_0x486ced(0x33c)](_0x4e623f),_0x5edcca['pushUndoRedo']({'unitID':_0x4e623f,'undoMutations':[{'id':Y['id'],'params':_0x2c1d4a}],'redoMutations':[{'id':Y['id'],'params':_0x2b204e}]}),!0x0):!0x1;}};function Cr(_0x4b40e2,_0x52327a,_0x4a3273){const _0x2b6120=_0x1040ac;return _0x52327a===void 0x0?_0x5db611[_0x2b6120(0x246)](_0x4b40e2,_0x4a3273):_0x5db611[_0x2b6120(0x2ad)](_0x4b40e2,_0x52327a,_0x4a3273);}function wr(_0x155dbf,_0x286a0e){const _0x39163f=_0x1040ac;return['tables',_0x155dbf,_0x39163f(0x165),_0x286a0e];}const Tr={'id':_0x1040ac(0x154),'type':_0x579a13['COMMAND'],'handler':(_0x56c76b,_0x5dc6c3)=>{const _0x3ec541=_0x1040ac;var _0x203276;if(!_0x5dc6c3)return!0x1;let _0x2b9ab4=_0x56c76b[_0x3ec541(0x370)](_0x1c5465),{unitId:_0x5f1aa4,tableId:_0x34abac,fieldId:_0x24132d,target:_0x3c3d56}=_0x5dc6c3,_0x2acee6=_0x2b9ab4['getUnit'](_0x5f1aa4,_0x5080c8[_0x3ec541(0x271)]),_0x429ba2=(_0x203276=_0x3c3d56[_0x3ec541(0x1f2)])==null?_0x3c3d56[_0x3ec541(0x2df)]:_0x203276;if(!_0x2acee6||!!_0x3c3d56[_0x3ec541(0x1f2)]==!!_0x3c3d56[_0x3ec541(0x2df)]||!_0x429ba2||_0x429ba2===_0x24132d||!X(_0x2acee6,_0x34abac,{'fieldIds':[_0x24132d,_0x429ba2]}))return!0x1;let _0x551dc5=_0x56c76b[_0x3ec541(0x370)](_0x42c942),_0x2ba02a=_0x56c76b[_0x3ec541(0x370)](_0x195a57),_0xddd37e=_0x2acee6[_0x3ec541(0x1b7)](),_0x24ee44=new R()[_0x3ec541(0xef)](_0xddd37e,_0x34abac,_0x24132d,_0x3c3d56),_0x3775ac=new A()[_0x3ec541(0x1be)](_0xddd37e,_0x24ee44),_0x3095a6={'unitId':_0x5f1aa4,'op':_0x24ee44},_0x2dd37c={'unitId':_0x5f1aa4,'op':_0x3775ac};return _0x551dc5[_0x3ec541(0x362)](Y['id'],_0x3095a6)?(_0x2b9ab4[_0x3ec541(0x33c)](_0x5f1aa4),_0x2ba02a[_0x3ec541(0x1c1)]({'unitID':_0x5f1aa4,'undoMutations':[{'id':Y['id'],'params':_0x2dd37c}],'redoMutations':[{'id':Y['id'],'params':_0x3095a6}]}),!0x0):!0x1;}},Er={'id':_0x1040ac(0x356),'type':_0x579a13['COMMAND'],'handler':(_0x5d1fda,_0x371c75)=>{const _0x19efc5=_0x1040ac;var _0x283875;if(!_0x371c75)return!0x1;let _0x4b559e=_0x5d1fda[_0x19efc5(0x370)](_0x1c5465),{unitId:_0x31aaf9,tableId:_0x503f57,viewId:_0x3a6876,target:_0x6c323}=_0x371c75,_0x52b10d=_0x4b559e[_0x19efc5(0xb3)](_0x31aaf9,_0x5080c8[_0x19efc5(0x271)]),_0x3b9fcb=(_0x283875=_0x6c323[_0x19efc5(0xa3)])==null?_0x6c323['afterViewId']:_0x283875;if(!_0x52b10d||!_0x3b9fcb||_0x3b9fcb===_0x3a6876||!X(_0x52b10d,_0x503f57,{'viewIds':[_0x3a6876,_0x3b9fcb]}))return!0x1;let _0x29812b=_0x5d1fda[_0x19efc5(0x370)](_0x42c942),_0xdd70dc=_0x5d1fda[_0x19efc5(0x370)](_0x195a57),_0x402f8a=_0x52b10d[_0x19efc5(0x1b7)](),_0x44137f=new R()[_0x19efc5(0x2f3)](_0x402f8a,_0x503f57,_0x3a6876,_0x6c323),_0x41cdda=new A()[_0x19efc5(0x1be)](_0x402f8a,_0x44137f),_0x240333={'unitId':_0x31aaf9,'op':_0x44137f},_0x4ad864={'unitId':_0x31aaf9,'op':_0x41cdda};return _0x29812b[_0x19efc5(0x362)](Y['id'],_0x240333)?(_0x4b559e[_0x19efc5(0x33c)](_0x31aaf9),_0xdd70dc[_0x19efc5(0x1c1)]({'unitID':_0x31aaf9,'undoMutations':[{'id':Y['id'],'params':_0x4ad864}],'redoMutations':[{'id':Y['id'],'params':_0x240333}]}),!0x0):!0x1;}},Dr={'id':_0x1040ac(0x26f),'type':_0x579a13['COMMAND'],'handler':(_0xea6fa2,_0x391ef5)=>{const _0x251c5f=_0x1040ac;if(!_0x391ef5)return!0x1;let _0x346bf3=_0xea6fa2[_0x251c5f(0x370)](_0x1c5465),{unitId:_0x2e6720,tableId:_0x23cd32,name:_0x30f5d6}=_0x391ef5,_0x268b75=_0x346bf3[_0x251c5f(0xb3)](_0x2e6720,_0x5080c8['UNIVER_BASE']);if(!_0x268b75||!X(_0x268b75,_0x23cd32))return!0x1;let _0x4cffde=_0xea6fa2[_0x251c5f(0x370)](_0x42c942),_0x1787f4=_0xea6fa2['get'](_0x195a57),_0x38aca9=_0x268b75['getSnapshot'](),_0x3840d6=new R()[_0x251c5f(0x1fd)](_0x38aca9,_0x23cd32,_0x30f5d6),_0x1c193c=new A()[_0x251c5f(0x1be)](_0x38aca9,_0x3840d6),_0x322a51={'unitId':_0x2e6720,'op':_0x3840d6},_0x3beca8={'unitId':_0x2e6720,'op':_0x1c193c};return _0x4cffde[_0x251c5f(0x362)](Y['id'],_0x322a51)?(_0x346bf3[_0x251c5f(0x33c)](_0x2e6720),_0x1787f4['pushUndoRedo']({'unitID':_0x2e6720,'undoMutations':[{'id':Y['id'],'params':_0x3beca8}],'redoMutations':[{'id':Y['id'],'params':_0x322a51}]}),!0x0):!0x1;}},Or={'id':'base.command.rename-base-view','type':_0x579a13['COMMAND'],'handler':(_0x4192e8,_0x29eb7f)=>{const _0x4cfa7=_0x1040ac;if(!_0x29eb7f)return!0x1;let _0x4cccc5=_0x4192e8['get'](_0x1c5465),{unitId:_0x123db4,tableId:_0x4465e1,viewId:_0x1ff8a1,name:_0x6a6645}=_0x29eb7f,_0xdd1fb1=_0x4cccc5[_0x4cfa7(0xb3)](_0x123db4,_0x5080c8['UNIVER_BASE']);if(!_0xdd1fb1||!X(_0xdd1fb1,_0x4465e1,{'viewIds':[_0x1ff8a1]}))return!0x1;let _0x51000d=_0x4192e8[_0x4cfa7(0x370)](_0x42c942),_0x3e3a51=_0x4192e8[_0x4cfa7(0x370)](_0x195a57),_0x1ccf68=_0xdd1fb1[_0x4cfa7(0x1b7)](),_0xa8f290=new R()[_0x4cfa7(0xd1)](_0x1ccf68,_0x4465e1,_0x1ff8a1,_0x6a6645),_0x1010f9=new A()['invertOp'](_0x1ccf68,_0xa8f290),_0x30e65a={'unitId':_0x123db4,'op':_0xa8f290},_0x52e9c6={'unitId':_0x123db4,'op':_0x1010f9};return _0x51000d[_0x4cfa7(0x362)](Y['id'],_0x30e65a)?(_0x4cccc5[_0x4cfa7(0x33c)](_0x123db4),_0x3e3a51[_0x4cfa7(0x1c1)]({'unitID':_0x123db4,'undoMutations':[{'id':Y['id'],'params':_0x52e9c6}],'redoMutations':[{'id':Y['id'],'params':_0x30e65a}]}),!0x0):!0x1;}},kr={'id':_0x1040ac(0x2b9),'type':_0x579a13['COMMAND'],'handler':(_0x438c03,_0x468f0d)=>{const _0x445084=_0x1040ac;if(!_0x468f0d)return!0x1;let _0x2fc50b=_0x438c03['get'](_0x1c5465),{unitId:_0x5d1100,tableId:_0x5d43cd,viewId:_0x3f9155,fieldId:_0x4fd6a8}=_0x468f0d,_0x132ec8=_0x2fc50b[_0x445084(0xb3)](_0x5d1100,_0x5080c8[_0x445084(0x271)]);if(!_0x132ec8||!X(_0x132ec8,_0x5d43cd,{'viewIds':[_0x3f9155],'fieldIds':[_0x4fd6a8]}))return!0x1;let _0x50d17b=_0x438c03[_0x445084(0x370)](_0x42c942),_0x5144c4=_0x438c03[_0x445084(0x370)](_0x195a57),_0x5c1f18=_0x132ec8['getSnapshot'](),_0x16e98d=new R()[_0x445084(0x233)](_0x5c1f18,_0x5d43cd,_0x3f9155,{'groupFieldId':_0x4fd6a8}),_0x360ead=new A()['invertOp'](_0x5c1f18,_0x16e98d),_0x22b78f={'unitId':_0x5d1100,'op':_0x16e98d},_0x483e9f={'unitId':_0x5d1100,'op':_0x360ead};return _0x50d17b[_0x445084(0x362)](Y['id'],_0x22b78f)?(_0x2fc50b[_0x445084(0x33c)](_0x5d1100),_0x5144c4[_0x445084(0x1c1)]({'unitID':_0x5d1100,'undoMutations':[{'id':Y['id'],'params':_0x483e9f}],'redoMutations':[{'id':Y['id'],'params':_0x22b78f}]}),!0x0):!0x1;}},Ar={'id':_0x1040ac(0x14b),'type':_0x579a13[_0x1040ac(0xcd)],'handler':(_0xffb5d9,_0x43823f)=>{const _0x14b2b8=_0x1040ac;if(!_0x43823f)return!0x1;let _0x52c74a=_0xffb5d9[_0x14b2b8(0x370)](_0x1c5465),_0x53104b=_0x52c74a['getUnit'](_0x43823f[_0x14b2b8(0x2e7)],_0x5080c8[_0x14b2b8(0x271)]);if(!_0x53104b)return!0x1;let _0xa2c6ab=_0x53104b['getSnapshot']()[_0x14b2b8(0x27a)];if(_0xa2c6ab===_0x43823f[_0x14b2b8(0x27a)])return!0x0;let _0xdb56fb=new R(),_0x255011=new A(),_0x430b1d=[],_0x36376c=[],_0x1db9fd=[_0x53104b,..._0x52c74a[_0x14b2b8(0x10e)](_0x5080c8[_0x14b2b8(0x271)])[_0x14b2b8(0x308)](_0x169a7d=>_0x169a7d['getUnitId']()!==_0x43823f[_0x14b2b8(0x2e7)])];for(let _0x43e02f of _0x1db9fd){let _0x32ceec=_0x43e02f[_0x14b2b8(0x1b7)](),_0x3ae954=_0x43e02f===_0x53104b?_0xdb56fb[_0x14b2b8(0x2a1)](_0x32ceec,_0x43823f[_0x14b2b8(0x27a)]):_0xdb56fb[_0x14b2b8(0xa1)](_0x32ceec,_0xa2c6ab,_0x43823f[_0x14b2b8(0x27a)]);_0x3ae954&&(_0x430b1d[_0x14b2b8(0x143)]({'id':Y['id'],'params':{'unitId':_0x43e02f[_0x14b2b8(0x35a)](),'op':_0x3ae954,'trigger':Ar['id']}}),_0x36376c[_0x14b2b8(0x372)]({'id':Y['id'],'params':{'unitId':_0x43e02f['getUnitId'](),'op':_0x255011[_0x14b2b8(0x1be)](_0x32ceec,_0x3ae954),'trigger':Ar['id']}}));}let _0x1da6e2=_0xffb5d9[_0x14b2b8(0x370)](_0x42c942),_0x21a2c1=_0xffb5d9[_0x14b2b8(0x370)](_0x195a57),_0x16a816=_0x21a2c1[_0x14b2b8(0x301)](_0x43823f['unitId']);try{return _0x50782c(_0x430b1d,_0x1da6e2)[_0x14b2b8(0x294)]?(_0x52c74a[_0x14b2b8(0x33c)](_0x43823f[_0x14b2b8(0x2e7)]),_0x21a2c1[_0x14b2b8(0x1c1)]({'unitID':_0x43823f[_0x14b2b8(0x2e7)],'undoMutations':_0x36376c,'redoMutations':_0x430b1d}),!0x0):!0x1;}finally{_0x16a816['dispose']();}}},jr={'id':'base.command.set-base-range-values','type':_0x579a13['COMMAND'],'handler'(_0x1e1634,_0x5ac212){const _0x2ca134=_0x1040ac;if(!_0x5ac212)return!0x1;let _0x4bf316=_0x1e1634[_0x2ca134(0x370)](_0x1c5465),{unitId:_0xb2fba2,tableId:_0x254977,patches:_0x3dd40c}=_0x5ac212,_0x3b5b37=_0x4bf316[_0x2ca134(0xb3)](_0xb2fba2,_0x5080c8[_0x2ca134(0x271)]);if(!_0x3b5b37||!X(_0x3b5b37,_0x254977))return!0x1;let _0x4e1e09=_0x1e1634[_0x2ca134(0x370)](_0x42c942),_0x5133d4=_0x1e1634[_0x2ca134(0x370)](_0x195a57),_0x3895f5=_0x3b5b37[_0x2ca134(0x1b7)](),_0x257f10=E(_0x3895f5['tables'][_0x254977]),_0x4486b8=_0x3dd40c['map'](_0x40ba02=>{const _0x29aa15=_0x2ca134;var _0x5420f5;return _0x29aa15(0x158)in _0x40ba02?_0x40ba02[_0x29aa15(0x158)]:(_0x5420f5=_0x257f10[_0x29aa15(0x247)])==null?void 0x0:_0x5420f5[_0x40ba02[_0x29aa15(0x231)]];})['filter'](_0x27295d=>_0x27295d!=null),_0x594cfc=_0x3dd40c[_0x2ca134(0xb4)](_0x183411=>{const _0x134e76=_0x2ca134;var _0x3d45ff;return'fieldId'in _0x183411?_0x183411['fieldId']:(_0x3d45ff=_0x257f10[_0x134e76(0x2fa)])==null?void 0x0:_0x3d45ff[_0x183411[_0x134e76(0xb0)]];})[_0x2ca134(0x308)](_0x2cae94=>_0x2cae94!=null);if(_0x4486b8[_0x2ca134(0x1ac)]!==_0x3dd40c[_0x2ca134(0x1ac)]||_0x594cfc[_0x2ca134(0x1ac)]!==_0x3dd40c[_0x2ca134(0x1ac)]||!X(_0x3b5b37,_0x254977,{'recordIds':_0x4486b8,'fieldIds':_0x594cfc}))return!0x1;let _0x18f168=_0x3dd40c[_0x2ca134(0x1a6)](_0x12a91e=>{const _0x254431=_0x2ca134;var _0x19ac8f,_0x47969a;if(_0x254431(0x231)in _0x12a91e)return[_0x12a91e];let _0x1232b7=(_0x19ac8f=_0x257f10['rowIndex'])==null?void 0x0:_0x19ac8f[_0x12a91e[_0x254431(0x158)]],_0x35c215=(_0x47969a=_0x257f10[_0x254431(0x193)])==null?void 0x0:_0x47969a[_0x12a91e[_0x254431(0x1d4)]];return _0x1232b7==null||_0x35c215==null?[]:[{'row':_0x1232b7,'col':_0x35c215,'value':_0x12a91e[_0x254431(0x11a)]}];}),_0x24aec2=new R()[_0x2ca134(0x10b)](_0x3895f5,_0x254977,_0x18f168),_0x3bdfd4=new A()[_0x2ca134(0x1be)](_0x3895f5,_0x24aec2),_0x26e6e6={'unitId':_0xb2fba2,'op':_0x24aec2},_0x5c67f1={'unitId':_0xb2fba2,'op':_0x3bdfd4};return _0x4e1e09['syncExecuteCommand'](Y['id'],_0x26e6e6)?(_0x4bf316['focusUnit'](_0xb2fba2),_0x5133d4['pushUndoRedo']({'unitID':_0xb2fba2,'undoMutations':[{'id':Y['id'],'params':_0x5c67f1}],'redoMutations':[{'id':Y['id'],'params':_0x26e6e6}]}),!0x0):!0x1;}},Mr={'id':_0x1040ac(0x1e1),'type':_0x579a13[_0x1040ac(0xcd)],'handler'(_0xa5377,_0x23bdec){const _0x52b9c0=_0x1040ac;if(!_0x23bdec)return!0x1;let _0x49474f=_0xa5377[_0x52b9c0(0x370)](_0x1c5465),{unitId:_0x1cfcbe,tableId:_0xc7cf20,patches:_0x12ca4f}=_0x23bdec,_0xa39974=_0x49474f['getUnit'](_0x1cfcbe,_0x5080c8['UNIVER_BASE']),_0x1d6eb9=_0x12ca4f[_0x52b9c0(0xb4)](_0x185e03=>_0x185e03[_0x52b9c0(0x158)]),_0x4888c4=_0x12ca4f['flatMap'](_0x1fc089=>Object['keys'](_0x1fc089['values']));if(!_0xa39974||!X(_0xa39974,_0xc7cf20,{'recordIds':_0x1d6eb9,'fieldIds':_0x4888c4}))return!0x1;let _0x4d273c=_0xa5377[_0x52b9c0(0x370)](_0x42c942),_0x172fa2=_0xa5377['get'](_0x195a57),_0x16fbad=_0xa5377[_0x52b9c0(0x370)](W)['createSetRecordValuesOp'](_0xa39974,_0xc7cf20,_0x12ca4f),_0x5177ca=new A()[_0x52b9c0(0x1be)](_0xa39974[_0x52b9c0(0x1b7)](),_0x16fbad),_0xf95ba7={'unitId':_0x1cfcbe,'op':_0x16fbad},_0x3df426={'unitId':_0x1cfcbe,'op':_0x5177ca};return _0x4d273c[_0x52b9c0(0x362)](Y['id'],_0xf95ba7)?(_0x49474f[_0x52b9c0(0x33c)](_0x1cfcbe),_0x172fa2[_0x52b9c0(0x1c1)]({'unitID':_0x1cfcbe,'undoMutations':[{'id':Y['id'],'params':_0x3df426}],'redoMutations':[{'id':Y['id'],'params':_0xf95ba7}]}),!0x0):!0x1;}},Nr={'id':_0x1040ac(0x1f3),'type':_0x579a13[_0x1040ac(0xcd)],'handler':(_0x4810cb,_0x35cfd4)=>{const _0xcf37be=_0x1040ac;var _0x48a780;if(!_0x35cfd4)return!0x1;let _0x31c8c7=_0x4810cb[_0xcf37be(0x370)](_0x1c5465),{unitId:_0x3ac769,tableId:_0x5e6d3f,viewId:_0x1d8909,fieldId:_0x335216,target:_0x32015a}=_0x35cfd4,_0x5778f0=_0x31c8c7['getUnit'](_0x3ac769,_0x5080c8['UNIVER_BASE']),_0x29db40=(_0x48a780=_0x32015a[_0xcf37be(0x1f2)])==null?_0x32015a['afterFieldId']:_0x48a780;if(!_0x5778f0||!_0x29db40||_0x29db40===_0x335216||!X(_0x5778f0,_0x5e6d3f,{'viewIds':[_0x1d8909],'fieldIds':[_0x335216,_0x29db40]}))return!0x1;let _0x3682c8=_0x4810cb[_0xcf37be(0x370)](_0x42c942),_0x3dea3f=_0x4810cb[_0xcf37be(0x370)](_0x195a57),_0x2e2e73=_0x5778f0[_0xcf37be(0x1b7)](),_0x170a81=new R()[_0xcf37be(0x1f0)](_0x2e2e73,_0x5e6d3f,_0x1d8909,_0x335216,_0x32015a),_0x5656a7=new A()[_0xcf37be(0x1be)](_0x2e2e73,_0x170a81),_0x167838={'unitId':_0x3ac769,'op':_0x170a81},_0x5441bd={'unitId':_0x3ac769,'op':_0x5656a7};return _0x3682c8[_0xcf37be(0x362)](Y['id'],_0x167838)?(_0x31c8c7[_0xcf37be(0x33c)](_0x3ac769),_0x3dea3f[_0xcf37be(0x1c1)]({'unitID':_0x3ac769,'undoMutations':[{'id':Y['id'],'params':_0x5441bd}],'redoMutations':[{'id':Y['id'],'params':_0x167838}]}),!0x0):!0x1;}},Pr={'id':_0x1040ac(0x29e),'type':_0x579a13[_0x1040ac(0xcd)],'handler'(_0x10f7ec,_0x2e3b92){const _0x30dceb=_0x1040ac;if(!_0x2e3b92)return!0x1;let _0x15aae6=_0x10f7ec[_0x30dceb(0x370)](_0x1c5465),{unitId:_0x1f3829,tableId:_0x4470f3,viewId:_0x5eea80,fieldId:_0x57a2e6,visible:_0xdd17e4}=_0x2e3b92,_0x18fe50=_0x15aae6[_0x30dceb(0xb3)](_0x1f3829,_0x5080c8[_0x30dceb(0x271)]);if(!_0x18fe50||!X(_0x18fe50,_0x4470f3,{'viewIds':[_0x5eea80],'fieldIds':[_0x57a2e6]}))return!0x1;let _0x365aab=_0x10f7ec[_0x30dceb(0x370)](_0x42c942),_0x4408a7=_0x10f7ec[_0x30dceb(0x370)](_0x195a57),_0x5681db=_0x18fe50['getSnapshot'](),_0x490c72=new R()['setViewFieldVisible'](_0x5681db,_0x4470f3,_0x5eea80,_0x57a2e6,_0xdd17e4),_0x464296=new A()[_0x30dceb(0x1be)](_0x5681db,_0x490c72),_0x54b3b8={'unitId':_0x1f3829,'op':_0x490c72},_0x49a4af={'unitId':_0x1f3829,'op':_0x464296};return _0x365aab[_0x30dceb(0x362)](Y['id'],_0x54b3b8)?(_0x15aae6[_0x30dceb(0x33c)](_0x1f3829),_0x4408a7[_0x30dceb(0x1c1)]({'unitID':_0x1f3829,'undoMutations':[{'id':Y['id'],'params':_0x49a4af}],'redoMutations':[{'id':Y['id'],'params':_0x54b3b8}]}),!0x0):!0x1;}},Fr={'id':_0x1040ac(0x2ba),'type':_0x579a13[_0x1040ac(0xcd)],'handler':(_0x8f7e95,_0x18ac0c)=>{const _0x612dab=_0x1040ac;if(!_0x18ac0c)return!0x1;let _0x5ecaec=_0x8f7e95[_0x612dab(0x370)](_0x1c5465),{unitId:_0xcd3e1c,tableId:_0x465d85,viewId:_0x2fec51,fieldId:_0x320eef,width:_0x363d9c}=_0x18ac0c,_0x18a451=_0x5ecaec[_0x612dab(0xb3)](_0xcd3e1c,_0x5080c8[_0x612dab(0x271)]);if(!_0x18a451||!X(_0x18a451,_0x465d85,{'viewIds':[_0x2fec51],'fieldIds':[_0x320eef]}))return!0x1;let _0x2c4414=_0x8f7e95[_0x612dab(0x370)](_0x42c942),_0x124ac5=_0x8f7e95['get'](_0x195a57),_0x3ff1ed=_0x18a451['getSnapshot'](),_0x443fa6=new R()[_0x612dab(0x243)](_0x3ff1ed,_0x465d85,_0x2fec51,_0x320eef,_0x363d9c),_0x37fee8=new A()['invertOp'](_0x3ff1ed,_0x443fa6),_0xa019a6={'unitId':_0xcd3e1c,'op':_0x443fa6},_0x8a1f6b={'unitId':_0xcd3e1c,'op':_0x37fee8};return _0x2c4414[_0x612dab(0x362)](Y['id'],_0xa019a6)?(_0x5ecaec[_0x612dab(0x33c)](_0xcd3e1c),_0x124ac5[_0x612dab(0x1c1)]({'unitID':_0xcd3e1c,'undoMutations':[{'id':Y['id'],'params':_0x8a1f6b}],'redoMutations':[{'id':Y['id'],'params':_0xa019a6}]}),!0x0):!0x1;}},Ir={'id':_0x1040ac(0xde),'type':_0x579a13[_0x1040ac(0xcd)],'handler':(_0x3ffebe,_0x1d6b95)=>{const _0x214f41=_0x1040ac;var _0x509190;if(!_0x1d6b95)return!0x1;let _0x1158d8=_0x3ffebe[_0x214f41(0x370)](_0x1c5465),{unitId:_0x64e276,tableId:_0x562194,viewId:_0x5de204,filter:_0x3d8250}=_0x1d6b95,_0x537a95=_0x1158d8[_0x214f41(0xb3)](_0x64e276,_0x5080c8['UNIVER_BASE']),_0x2a67ce=(_0x509190=_0x3d8250==null?void 0x0:_0x3d8250[_0x214f41(0x31d)][_0x214f41(0xb4)](_0x4890e9=>_0x4890e9[_0x214f41(0x1d4)]))==null?[]:_0x509190;if(!_0x537a95||!X(_0x537a95,_0x562194,{'viewIds':[_0x5de204],'fieldIds':_0x2a67ce}))return!0x1;let _0x5e8128=_0x3ffebe[_0x214f41(0x370)](_0x42c942),_0x1c7869=_0x3ffebe[_0x214f41(0x370)](_0x195a57),_0x39b343=_0x537a95[_0x214f41(0x1b7)](),_0x4fc808=new R()[_0x214f41(0x1ee)](_0x39b343,_0x562194,_0x5de204,_0x3d8250),_0x5195d1=new A()[_0x214f41(0x1be)](_0x39b343,_0x4fc808),_0x5e19ba={'unitId':_0x64e276,'op':_0x4fc808},_0x4878ba={'unitId':_0x64e276,'op':_0x5195d1};return _0x5e8128[_0x214f41(0x362)](Y['id'],_0x5e19ba)?(_0x1158d8[_0x214f41(0x33c)](_0x64e276),_0x1c7869['pushUndoRedo']({'unitID':_0x64e276,'undoMutations':[{'id':Y['id'],'params':_0x4878ba}],'redoMutations':[{'id':Y['id'],'params':_0x5e19ba}]}),!0x0):!0x1;}},Lr={'id':_0x1040ac(0x225),'type':_0x579a13['COMMAND'],'handler':(_0x14cf61,_0x3ad4a1)=>{const _0x3db23c=_0x1040ac;if(!_0x3ad4a1)return!0x1;let _0x37a135=_0x14cf61[_0x3db23c(0x370)](_0x1c5465),{unitId:_0x2d4eef,tableId:_0x2be41e,viewId:_0x171b50,group:_0x4ca725}=_0x3ad4a1,_0x3d8ee1=_0x37a135['getUnit'](_0x2d4eef,_0x5080c8[_0x3db23c(0x271)]);if(!_0x3d8ee1||!X(_0x3d8ee1,_0x2be41e,{'viewIds':[_0x171b50],'fieldIds':_0x4ca725[_0x3db23c(0xb4)](_0x2fc3e7=>_0x2fc3e7[_0x3db23c(0x1d4)])}))return!0x1;let _0x50bb6=_0x14cf61['get'](_0x42c942),_0x62b9ce=_0x14cf61[_0x3db23c(0x370)](_0x195a57),_0x311250=_0x3d8ee1[_0x3db23c(0x1b7)](),_0x487768=new R()['setViewGroup'](_0x311250,_0x2be41e,_0x171b50,_0x4ca725),_0x251ded=new A()['invertOp'](_0x311250,_0x487768),_0x4b689e={'unitId':_0x2d4eef,'op':_0x487768},_0x54cf34={'unitId':_0x2d4eef,'op':_0x251ded};return _0x50bb6[_0x3db23c(0x362)](Y['id'],_0x4b689e)?(_0x37a135[_0x3db23c(0x33c)](_0x2d4eef),_0x62b9ce[_0x3db23c(0x1c1)]({'unitID':_0x2d4eef,'undoMutations':[{'id':Y['id'],'params':_0x54cf34}],'redoMutations':[{'id':Y['id'],'params':_0x4b689e}]}),!0x0):!0x1;}},Rr={'id':_0x1040ac(0x182),'type':_0x579a13[_0x1040ac(0xcd)],'handler':(_0x31bd70,_0x617094)=>{const _0xe17c38=_0x1040ac;if(!_0x617094)return!0x1;let _0x47721d=_0x31bd70[_0xe17c38(0x370)](_0x1c5465),{unitId:_0x5ed449,tableId:_0xee8076,viewId:_0x3297e8,sort:_0x5bf1b5}=_0x617094,_0x41f680=_0x47721d['getUnit'](_0x5ed449,_0x5080c8[_0xe17c38(0x271)]);if(!_0x41f680||!X(_0x41f680,_0xee8076,{'viewIds':[_0x3297e8],'fieldIds':_0x5bf1b5[_0xe17c38(0xb4)](_0x42e261=>_0x42e261['fieldId'])}))return!0x1;let _0x43675f=_0x31bd70['get'](_0x42c942),_0x8eb586=_0x31bd70['get'](_0x195a57),_0x5c12c2=_0x41f680[_0xe17c38(0x1b7)](),_0x5ad238=new R()['setViewSort'](_0x5c12c2,_0xee8076,_0x3297e8,_0x5bf1b5),_0x5e5ba5=new A()[_0xe17c38(0x1be)](_0x5c12c2,_0x5ad238),_0x526e9e={'unitId':_0x5ed449,'op':_0x5ad238},_0x3b1b24={'unitId':_0x5ed449,'op':_0x5e5ba5};return _0x43675f[_0xe17c38(0x362)](Y['id'],_0x526e9e)?(_0x47721d[_0xe17c38(0x33c)](_0x5ed449),_0x8eb586[_0xe17c38(0x1c1)]({'unitID':_0x5ed449,'undoMutations':[{'id':Y['id'],'params':_0x3b1b24}],'redoMutations':[{'id':Y['id'],'params':_0x526e9e}]}),!0x0):!0x1;}},zr={'id':_0x1040ac(0x2ab),'type':_0x579a13[_0x1040ac(0xcd)],'handler'(_0x12c044,_0x439178){const _0x2195d8=_0x1040ac;if(!_0x439178)return!0x1;let _0x1ae2bc=_0x12c044['get'](_0x1c5465),{unitId:_0x15d8d8,tableId:_0x2057eb,recordId:_0x1aec1a,fieldId:_0x2c7abb,value:_0x5141df}=_0x439178,_0x5c5b1e=_0x1ae2bc['getUnit'](_0x15d8d8,_0x5080c8[_0x2195d8(0x271)]);if(!_0x5c5b1e||!X(_0x5c5b1e,_0x2057eb,{'recordIds':[_0x1aec1a],'fieldIds':[_0x2c7abb]}))return!0x1;let _0x30d98b=_0x12c044[_0x2195d8(0x370)](_0x42c942),_0x208da9=_0x12c044[_0x2195d8(0x370)](_0x195a57),_0x1cb8ec=_0x12c044[_0x2195d8(0x370)](W),_0x12ba6b;try{_0x12ba6b=_0x1cb8ec[_0x2195d8(0xf7)](_0x5c5b1e,_0x2057eb,_0x1aec1a,_0x2c7abb,_0x5141df);}catch(_0x21d8ee){return console[_0x2195d8(0x1bf)](_0x2195d8(0x153),_0x21d8ee),!0x1;}let _0x3475b3=new A()[_0x2195d8(0x1be)](_0x5c5b1e[_0x2195d8(0x1b7)](),_0x12ba6b),_0x5c3d25={'unitId':_0x15d8d8,'op':_0x12ba6b},_0x580b88={'unitId':_0x15d8d8,'op':_0x3475b3};return _0x30d98b[_0x2195d8(0x362)](Y['id'],_0x5c3d25)?(_0x1ae2bc[_0x2195d8(0x33c)](_0x15d8d8),_0x208da9[_0x2195d8(0x1c1)]({'unitID':_0x15d8d8,'undoMutations':[{'id':Y['id'],'params':_0x580b88}],'redoMutations':[{'id':Y['id'],'params':_0x5c3d25}]}),!0x0):!0x1;}},Br={'id':_0x1040ac(0x306),'type':_0x579a13[_0x1040ac(0xcd)],'handler'(_0x204d50,_0x3e1bd4){const _0x4d2363=_0x1040ac;if(!_0x3e1bd4)return!0x1;let _0xa88d8a=_0x204d50[_0x4d2363(0x370)](_0x1c5465),{unitId:_0x1ba7cd,tableId:_0x4dbe55,fieldId:_0x4f5f62}=_0x3e1bd4,_0x254eff=_0xa88d8a[_0x4d2363(0xb3)](_0x1ba7cd,_0x5080c8[_0x4d2363(0x271)]);if(!_0x254eff||!X(_0x254eff,_0x4dbe55,{'fieldIds':[_0x4f5f62]}))return!0x1;let _0x1eb538=_0x204d50[_0x4d2363(0x370)](_0x42c942),_0x3b7648=_0x204d50[_0x4d2363(0x370)](_0x195a57),_0x50950a=_0x254eff['getSnapshot'](),_0x1a7224=_0x3e1bd4['description'][_0x4d2363(0x1e6)](),_0x428817=new R()[_0x4d2363(0x22e)](_0x50950a,_0x4dbe55,_0x4f5f62,{'description':_0x1a7224}),_0x374ebd=new A()[_0x4d2363(0x1be)](_0x254eff[_0x4d2363(0x1b7)](),_0x428817),_0x19f446={'unitId':_0x1ba7cd,'op':_0x428817},_0x259f03={'unitId':_0x1ba7cd,'op':_0x374ebd};return _0x1eb538[_0x4d2363(0x362)](Y['id'],_0x19f446)?(_0xa88d8a[_0x4d2363(0x33c)](_0x1ba7cd),_0x3b7648[_0x4d2363(0x1c1)]({'unitID':_0x1ba7cd,'undoMutations':[{'id':Y['id'],'params':_0x259f03}],'redoMutations':[{'id':Y['id'],'params':_0x19f446}]}),!0x0):!0x1;}},Vr={'id':'base.command.update-base-field','type':_0x579a13[_0x1040ac(0xcd)],'handler':(_0x5fce59,_0x318baf)=>{const _0x220fa1=_0x1040ac;if(!_0x318baf)return!0x1;let _0x2da82d=_0x5fce59[_0x220fa1(0x370)](_0x1c5465),{unitId:_0x54617b,tableId:_0x364be6,fieldId:_0xedeee,patch:_0x323af7}=_0x318baf,_0x2a2b01=_0x2da82d[_0x220fa1(0xb3)](_0x54617b,_0x5080c8[_0x220fa1(0x271)]);if(!_0x2a2b01||!X(_0x2a2b01,_0x364be6,{'fieldIds':[_0xedeee]}))return!0x1;let _0x39a13f=_0x5fce59[_0x220fa1(0x370)](_0x42c942),_0x4f5055=_0x5fce59[_0x220fa1(0x370)](_0x195a57),_0x349eb0=_0x2a2b01[_0x220fa1(0x1b7)](),_0x4e6f4e=new R()[_0x220fa1(0x22e)](_0x349eb0,_0x364be6,_0xedeee,_0x323af7),_0x2d5b78=new A()[_0x220fa1(0x1be)](_0x349eb0,_0x4e6f4e),_0x5a578d={'unitId':_0x54617b,'op':_0x4e6f4e},_0x45bc27={'unitId':_0x54617b,'op':_0x2d5b78};return _0x39a13f[_0x220fa1(0x362)](Y['id'],_0x5a578d)?(_0x2da82d[_0x220fa1(0x33c)](_0x54617b),_0x4f5055[_0x220fa1(0x1c1)]({'unitID':_0x54617b,'undoMutations':[{'id':Y['id'],'params':_0x45bc27}],'redoMutations':[{'id':Y['id'],'params':_0x5a578d}]}),!0x0):!0x1;}},Hr={'id':_0x1040ac(0x270),'type':_0x579a13[_0x1040ac(0xcd)],'handler':(_0x4e5e5e,_0xb76331)=>{const _0x56c2bb=_0x1040ac;if(!_0xb76331)return!0x1;let _0x223297=_0x4e5e5e[_0x56c2bb(0x370)](_0x1c5465),{unitId:_0x258032,tableId:_0x32bcc9,viewId:_0x3c2d47,patch:_0x29c156}=_0xb76331,_0xa32d4d=_0x223297['getUnit'](_0x258032,_0x5080c8[_0x56c2bb(0x271)]);if(!_0xa32d4d||!X(_0xa32d4d,_0x32bcc9,{'viewIds':[_0x3c2d47]}))return!0x1;let _0x531295=_0x4e5e5e['get'](_0x42c942),_0x413b82=_0x4e5e5e[_0x56c2bb(0x370)](_0x195a57),_0x259d03=_0xa32d4d[_0x56c2bb(0x1b7)](),_0x21bc29=new R()[_0x56c2bb(0x233)](_0x259d03,_0x32bcc9,_0x3c2d47,_0x29c156),_0x13ebeb=new A()[_0x56c2bb(0x1be)](_0x259d03,_0x21bc29),_0x304dbf={'unitId':_0x258032,'op':_0x21bc29},_0x40f826={'unitId':_0x258032,'op':_0x13ebeb};return _0x531295[_0x56c2bb(0x362)](Y['id'],_0x304dbf)?(_0x223297[_0x56c2bb(0x33c)](_0x258032),_0x413b82[_0x56c2bb(0x1c1)]({'unitID':_0x258032,'undoMutations':[{'id':Y['id'],'params':_0x40f826}],'redoMutations':[{'id':Y['id'],'params':_0x304dbf}]}),!0x0):!0x1;}},Ur={'id':'base.command.update-base-record-order','type':_0x579a13[_0x1040ac(0xcd)],'handler':(_0x318de7,_0x34e63c)=>{const _0x58272e=_0x1040ac;if(!_0x34e63c)return!0x1;let _0x66813c=_0x318de7[_0x58272e(0x370)](_0x1c5465),{unitId:_0x5323c6,tableId:_0x252191,recordId:_0x147470,orderKey:_0x5b3aaa}=_0x34e63c,_0x2c9393=_0x66813c[_0x58272e(0xb3)](_0x5323c6,_0x5080c8[_0x58272e(0x271)]);if(!_0x2c9393||!X(_0x2c9393,_0x252191,{'recordIds':[_0x147470]}))return!0x1;let _0x3589ac=_0x318de7[_0x58272e(0x370)](_0x42c942),_0x35dea6=_0x318de7[_0x58272e(0x370)](_0x195a57),_0x5ad88d=_0x2c9393[_0x58272e(0x1b7)](),_0x1fb6ad=new R()[_0x58272e(0x210)](_0x5ad88d,_0x252191,_0x147470,_0x5b3aaa),_0x1767c8=new A()[_0x58272e(0x1be)](_0x5ad88d,_0x1fb6ad),_0x455fe0={'unitId':_0x5323c6,'op':_0x1fb6ad},_0x1d7656={'unitId':_0x5323c6,'op':_0x1767c8};return _0x3589ac[_0x58272e(0x362)](Y['id'],_0x455fe0)?(_0x66813c[_0x58272e(0x33c)](_0x5323c6),_0x35dea6['pushUndoRedo']({'unitID':_0x5323c6,'undoMutations':[{'id':Y['id'],'params':_0x1d7656}],'redoMutations':[{'id':Y['id'],'params':_0x455fe0}]}),!0x0):!0x1;}},Wr={'id':_0x1040ac(0x23a),'type':_0x579a13[_0x1040ac(0xcd)],'handler':(_0x4a0193,_0x46d829)=>{const _0x46fadf=_0x1040ac;if(!_0x46d829)return!0x1;let _0x5612ae=_0x4a0193[_0x46fadf(0x370)](_0x1c5465),{unitId:_0xc7e67b,tableId:_0x211af4,viewId:_0x37e8f4,patch:_0x36a8a2}=_0x46d829,_0x29d2a1=_0x5612ae[_0x46fadf(0xb3)](_0xc7e67b,_0x5080c8[_0x46fadf(0x271)]);if(!_0x29d2a1||!X(_0x29d2a1,_0x211af4,{'viewIds':[_0x37e8f4]}))return!0x1;let _0x23cd48=_0x4a0193['get'](_0x42c942),_0x19bcfb=_0x4a0193['get'](_0x195a57),_0x2152fa=_0x29d2a1['getSnapshot'](),_0xe26f4f=new R()[_0x46fadf(0x233)](_0x2152fa,_0x211af4,_0x37e8f4,_0x36a8a2),_0x353487=new A()['invertOp'](_0x2152fa,_0xe26f4f),_0x210b96={'unitId':_0xc7e67b,'op':_0xe26f4f},_0x526d20={'unitId':_0xc7e67b,'op':_0x353487};return _0x23cd48[_0x46fadf(0x362)](Y['id'],_0x210b96)?(_0x5612ae[_0x46fadf(0x33c)](_0xc7e67b),_0x19bcfb[_0x46fadf(0x1c1)]({'unitID':_0xc7e67b,'undoMutations':[{'id':Y['id'],'params':_0x526d20}],'redoMutations':[{'id':Y['id'],'params':_0x210b96}]}),!0x0):!0x1;}};function Gr(_0x11ab64){const _0x15368e=_0x1040ac;var _0x4346bf,_0x195212,_0x451235,_0x5441d7,_0x56c4ba;let _0x44f3b1=(_0x4346bf=_0x11ab64[_0x15368e(0x2c5)])==null?Date[_0x15368e(0x2c5)]():_0x4346bf,_0x3debc1=(_0x195212=_0x11ab64[_0x15368e(0x2a0)])==null?_0x11ab64['id']+_0x15368e(0x100):_0x195212,_0x38731e=(_0x451235=_0x11ab64[_0x15368e(0x338)])==null?_0x11ab64['id']+'-view-grid':_0x451235,_0x269bd8=(_0x5441d7=_0x11ab64['recordCount'])==null?0x5:_0x5441d7,_0x575859={'id':_0x3debc1,'name':(_0x56c4ba=_0x11ab64[_0x15368e(0x2ff)])==null?_0x15368e(0x1ec):_0x56c4ba,'type':_0x406b36['Text'],'config':{'placeholder':_0x15368e(0xe7)}},_0x13a2f5={},_0x35edb9=[],_0x4794c6={},_0x4b9f83={},_0x484e49={};for(let _0x4e03f7=0x0;_0x4e03f7<_0x269bd8;_0x4e03f7++){let _0x191352=_0x11ab64['id']+_0x15368e(0x254)+(_0x4e03f7+0x1);_0x13a2f5[_0x191352]={'id':_0x191352,'values':_0x11ab64[_0x15368e(0xff)]?{[_0x3debc1]:_0x11ab64['recordNamePrefix']+'\x20'+(_0x4e03f7+0x1)}:{},'orderKey':String(_0x4e03f7+0x1)['padStart'](0x4,'0'),'createdAt':_0x44f3b1,'updatedAt':_0x44f3b1},_0x35edb9[_0x15368e(0x143)](_0x191352),_0x4794c6[_0x191352]=_0x4e03f7,_0x4b9f83[_0x4e03f7]=_0x191352,_0x484e49[_0x4e03f7]={},_0x11ab64[_0x15368e(0xff)]&&(_0x484e49[_0x4e03f7][0x0]={'v':_0x11ab64[_0x15368e(0xff)]+'\x20'+(_0x4e03f7+0x1)});}let _0x21ed17={'id':_0x38731e,'tableId':_0x11ab64['id'],'name':_0x15368e(0x24e),'type':_0x7d70ae[_0x15368e(0x24e)],'fieldOrder':[_0x3debc1],'fieldSettings':{},'config':{'frozenFieldCount':0x1}};return{'id':_0x11ab64['id'],'name':_0x11ab64['name'],'primaryFieldId':_0x3debc1,'fieldOrder':[_0x3debc1],'fields':{[_0x3debc1]:_0x575859},'records':_0x13a2f5,'recordOrder':_0x35edb9,'rowIndex':_0x4794c6,'rowId':_0x4b9f83,'colIndex':{[_0x3debc1]:0x0},'colId':{0x0:_0x3debc1},'cellData':_0x484e49,'views':{[_0x38731e]:_0x21ed17},'viewOrder':[_0x38731e]};}const Kr=_0x1040ac(0x334);function qr(_0x58ee83){const _0x54da78=_0x1040ac;var _0x55d6ca,_0x4a17a8;let _0xeca004=Gr({'id':_0x58ee83[_0x54da78(0x310)],'name':(_0x55d6ca=_0x58ee83['name'])==null?_0x58ee83[_0x54da78(0x12b)]:_0x55d6ca,'recordCount':0x0});return{..._0xeca004,'resources':{...(_0x4a17a8=_0xeca004[_0x54da78(0x9f)])==null?{}:_0x4a17a8,[Kr]:Xr(_0x58ee83)}};}function Jr(_0x320a13){const _0x3eda0e=_0x1040ac;return{'id':Y['id'],'params':{'unitId':_0x320a13['unitId'],'op':new R()['createTable'](_0x320a13[_0x3eda0e(0xe5)],_0x320a13[_0x3eda0e(0x2fc)],_0x320a13['index']),'trigger':_0x3eda0e(0x205)}};}function Yr(_0x3fff4d){const _0x25b47d=_0x1040ac;let _0x531e27=_0x3fff4d[_0x25b47d(0xe5)]['tableOrder'][_0x25b47d(0x28a)](_0x3fff4d[_0x25b47d(0x253)]);if(!(!_0x3fff4d['snapshot'][_0x25b47d(0x274)][_0x3fff4d[_0x25b47d(0x253)]]||_0x531e27<0x0))return{'id':Y['id'],'params':{'unitId':_0x3fff4d['unitId'],'op':new R()['deleteTable'](_0x3fff4d[_0x25b47d(0xe5)],_0x3fff4d[_0x25b47d(0x253)]),'trigger':_0x25b47d(0x205)}};}function Xr(_0x3caa96){const _0x51a264=_0x1040ac;return{'version':0x1,'embedId':_0x3caa96[_0x51a264(0x12b)],'hostAnchorId':_0x3caa96['hostAnchorId'],'childUnitId':_0x3caa96[_0x51a264(0x26d)],'childType':_0x3caa96['childType']};}function Zr(_0x219b80){const _0x28cf37=_0x1040ac;var _0x32d148;let _0x13f6a9=Math[_0x28cf37(0x2f7)](0x0,Number((_0x32d148=_0x219b80['decimalPlaces'])==null?0x0:_0x32d148)),_0x4c544f=_0x219b80['useThousands']===!0x1?'0':_0x28cf37(0x321),_0x2ee3b8=_0x13f6a9?'.'+'0'[_0x28cf37(0x261)](_0x13f6a9):'',_0x110efa=$r(_0x219b80[_0x28cf37(0x264)]);return''+(_0x219b80[_0x28cf37(0x118)]?ei(_0x219b80[_0x28cf37(0x118)]):'')+_0x4c544f+_0x2ee3b8+_0x110efa;}function Qr(_0x577fbd,_0x413fc8){const _0x53f134=_0x1040ac;let _0x93a2f0=Zr(_0x413fc8),_0x59b1da=_0x17245a[_0x53f134(0x25a)](_0x93a2f0,_0x577fbd,{'throws':!0x1});return ti(String(_0x59b1da),_0x413fc8[_0x53f134(0x284)],_0x413fc8[_0x53f134(0x14c)]);}function $r(_0x5b1519){const _0x4a63de=_0x1040ac;return _0x5b1519==='K'?_0x4a63de(0x1c8):_0x5b1519==='M'?_0x4a63de(0x272):_0x5b1519==='B'?_0x4a63de(0x156):'';}function ei(_0x61e18f){const _0x366c39=_0x1040ac;return/^[A-Z]+$/i[_0x366c39(0x34b)](_0x61e18f)?'\x22'+_0x61e18f+'\x22':_0x61e18f;}function ti(_0x427c81,_0x1f69a5,_0x5e09d4){const _0xb5c07b=_0x1040ac;let _0x1c99ea=_0x1f69a5===_0xb5c07b(0x2c0)?ni(_0x5e09d4):_0x1f69a5;return _0x1c99ea==='periodComma'?_0x427c81[_0xb5c07b(0xf8)](/,/g,'\x00')[_0xb5c07b(0xf8)](/\./g,',')[_0xb5c07b(0xf8)](/\0/g,'.'):_0x1c99ea===_0xb5c07b(0x337)?_0x427c81['replace'](/,/g,'\x20')[_0xb5c07b(0xf8)](/\./g,','):_0x1c99ea===_0xb5c07b(0x32c)?_0x427c81['replace'](/,/g,'\x20'):_0x427c81;}function ni(_0x3f113){const _0x59e2fe=_0x1040ac;var _0x205a89,_0xe44a6;let _0x1dc158=_0x3f113||Intl[_0x59e2fe(0xa2)]()[_0x59e2fe(0x273)]()[_0x59e2fe(0x14c)],_0x4df540;try{_0x4df540=new Intl['NumberFormat'](_0x1dc158,{'minimumFractionDigits':0x2,'maximumFractionDigits':0x2,'useGrouping':!0x0})[_0x59e2fe(0x32d)](0xf4240);}catch{return _0x59e2fe(0x17d);}let _0x49537f=(_0x205a89=_0x4df540[_0x59e2fe(0x1cc)](_0x35e429=>_0x35e429[_0x59e2fe(0xd2)]===_0x59e2fe(0x1d1)))==null?void 0x0:_0x205a89[_0x59e2fe(0x11a)],_0x409675=(_0xe44a6=_0x4df540[_0x59e2fe(0x1cc)](_0x47e3bc=>_0x47e3bc[_0x59e2fe(0xd2)]===_0x59e2fe(0x2f0)))==null?void 0x0:_0xe44a6[_0x59e2fe(0x11a)],_0x4cdcb5=_0x49537f==='\u00a0'||_0x49537f==='\u202f'?'\x20':_0x49537f;return _0x4cdcb5==='.'&&_0x409675===','?_0x59e2fe(0x302):_0x4cdcb5==='\x20'&&_0x409675===','?_0x59e2fe(0x337):_0x4cdcb5==='\x20'&&_0x409675==='.'?'spacePeriod':_0x59e2fe(0x17d);}function ri(_0x1710d3,_0x4db54d){const _0x5f160d=_0x1040ac;var _0xaaa76f,_0x2d1a55;let _0x125a5b=_0x131bf1[_0x5f160d(0x263)](_0x1710d3),_0x205074=_0x4db54d[_0x5f160d(0x21d)]===!0x0,_0x19b60e=new Map(),_0x510a40=(_0xaaa76f=_0x4db54d[_0x5f160d(0xe0)])==null?()=>_0x5f160d(0x1f1)+_0x4322a8(0x8):_0xaaa76f,_0x546eb6=_0x125a5b[_0x5f160d(0x209)];return _0x4db54d[_0x5f160d(0x1ba)]&&(_0x546eb6=_0x125a5b['viewOrder'][_0x5f160d(0xb4)](_0x4f8224=>{let _0x2945b1=_0x510a40();return _0x19b60e['set'](_0x4f8224,_0x2945b1),_0x2945b1;})),{..._0x125a5b,'id':_0x4db54d['id'],'name':_0x4db54d[_0x5f160d(0x27a)],'records':_0x205074?_0x125a5b[_0x5f160d(0x1fa)]:{},'recordOrder':_0x205074?_0x125a5b[_0x5f160d(0x218)]:[],'rowIndex':_0x205074?_0x125a5b[_0x5f160d(0x2f6)]:{},'rowId':_0x205074?_0x125a5b['rowId']:{},'cellData':_0x205074?_0x125a5b[_0x5f160d(0x184)]:{},'resources':_0x205074?_0x125a5b[_0x5f160d(0x9f)]:{},'viewOrder':_0x546eb6,'views':Object[_0x5f160d(0x1fc)](Object[_0x5f160d(0x361)]((_0x2d1a55=_0x125a5b[_0x5f160d(0x165)])==null?{}:_0x2d1a55)[_0x5f160d(0xb4)](([_0x5185d3,_0x401c2f])=>{const _0x3a687c=_0x5f160d;var _0x51cdf4;let _0x3ab0d4=(_0x51cdf4=_0x19b60e[_0x3a687c(0x370)](_0x5185d3))==null?_0x4db54d['regenerateViewIds']?_0x510a40():_0x5185d3:_0x51cdf4;return[_0x3ab0d4,{..._0x401c2f,'id':_0x3ab0d4,'tableId':_0x4db54d['id']}];}))};}var ii=_0x1040ac(0x1cb),ai=_0x1040ac(0xcb);const oi={},si={};function ci(_0x4ad007){const _0x5ce56e=_0x1040ac;return new A()[_0x5ce56e(0x228)](_0x4ad007);}function li(_0x3bfd40){const _0x39a981=_0x1040ac;return _0x3bfd40[_0x39a981(0x1bc)][_0x39a981(0xb4)](_0x395453=>({'unitId':_0x3bfd40['unitId'],'sheetId':_0x3bfd40[_0x39a981(0x253)],'range':{'startRow':_0x395453['row'],'endRow':_0x395453[_0x39a981(0x231)],'startColumn':_0x395453[_0x39a981(0xb0)],'endColumn':_0x395453[_0x39a981(0xb0)]}}));}function ui(_0x3c7e0a,_0x3748cf){const _0x17d10e=_0x1040ac;return{[_0x3c7e0a]:Object[_0x17d10e(0x1fc)](_0x3748cf[_0x17d10e(0xb4)](_0x318d3f=>[_0x318d3f,'1']))};}let di=class extends _0x41e38b{constructor(_0x8dafa8,_0x46f0bb){const _0x2205a9=_0x1040ac;super(),this[_0x2205a9(0x2b0)]=_0x8dafa8,this['_univerInstanceService']=_0x46f0bb,this[_0x2205a9(0x2ef)]();}[_0x1040ac(0x2ef)](){const _0x4f192d=_0x1040ac;this[_0x4f192d(0x2b0)][_0x4f192d(0x1a5)](Y['id'],{'commandId':Y['id'],'getDirtyData':_0x2a1e9b=>this['_getJson1DirtyData'](_0x2a1e9b['params'])}),this[_0x4f192d(0x13d)](_0x5b27e8(()=>{const _0x5e1666=_0x4f192d;this[_0x5e1666(0x2b0)][_0x5e1666(0x2b3)](Y['id']);}));}[_0x1040ac(0x200)](_0x5a862d,_0x67a585){const _0x2df2c3=_0x1040ac;var _0x400d94;let _0x46161b=this['_univerInstanceService']['getUnit'](_0x5a862d,_0x5080c8[_0x2df2c3(0x271)]);return(_0x400d94=_0x46161b==null?void 0x0:_0x46161b[_0x2df2c3(0x1b7)]()[_0x2df2c3(0x274)][_0x67a585])==null?null:_0x400d94;}[_0x1040ac(0x2b2)](_0x22fd20){const _0x2f7280=_0x1040ac;if(_0x22fd20[_0x2f7280(0x2a5)]===_0x2f7280(0xad))return{};if(!_0x22fd20[_0x2f7280(0x2e7)]||!_0x22fd20['op'])return{'clearDependencyTreeCache':this[_0x2f7280(0x288)](),'forceCalculation':!0x0};let _0xd7d133=ci(_0x22fd20['op']),_0x26662e=this[_0x2f7280(0x199)](_0x22fd20[_0x2f7280(0x2e7)],_0xd7d133);if(_0x26662e[_0x2f7280(0x1ac)])return{'clearDependencyTreeCache':ui(_0x22fd20[_0x2f7280(0x2e7)],_0x26662e),'forceCalculation':!0x0};let _0x37bed6=Object[_0x2f7280(0x361)](this[_0x2f7280(0xbe)](_0x22fd20[_0x2f7280(0x2e7)],_0xd7d133))[_0x2f7280(0x1a6)](([_0x3bb47d,_0x2ab7ca])=>li({'unitId':_0x22fd20[_0x2f7280(0x2e7)],'tableId':_0x3bb47d,'patches':_0x2ab7ca}));return _0x37bed6[_0x2f7280(0x1ac)]?{'dirtyRanges':_0x37bed6}:{};}['_getStructureDirtyTableIds'](_0x40923b,_0x41bcff){const _0x501217=_0x1040ac;let _0x46f514=_0x41bcff['filter'](_0x1acb33=>_0x1acb33[_0x501217(0x160)]!=='cell')[_0x501217(0x1a6)](_0x31251c=>_0x31251c['tableId']?[_0x31251c['tableId']]:this[_0x501217(0x17b)](_0x40923b));return Array['from'](new Set(_0x46f514));}['_groupCellInvalidations'](_0x23df88,_0x2ecb9a){const _0x339de2=_0x1040ac;let _0x555a0f=new Set();return _0x2ecb9a[_0x339de2(0x2b8)]((_0x456403,_0x2c2b54)=>{const _0x207212=_0x339de2;var _0x9d6c5d;let _0x2d0e36=this['_toDirtyRangePatch'](_0x23df88,_0x2c2b54);if(!_0x2d0e36)return _0x456403;let _0x283147=_0x2c2b54[_0x207212(0x253)]+':'+_0x2d0e36['row']+':'+_0x2d0e36[_0x207212(0xb0)];return _0x555a0f[_0x207212(0x31e)](_0x283147)?_0x456403:(_0x555a0f[_0x207212(0xaa)](_0x283147),_0x456403[_0x2c2b54['tableId']]=(_0x9d6c5d=_0x456403[_0x2c2b54['tableId']])==null?[]:_0x9d6c5d,_0x456403[_0x2c2b54[_0x207212(0x253)]][_0x207212(0x143)](_0x2d0e36),_0x456403);},{});}['_toDirtyRangePatch'](_0x255312,_0x5404df){const _0xbf6f53=_0x1040ac;if(_0x5404df['reason']!==_0xbf6f53(0x2fb))return null;if(_0x5404df[_0xbf6f53(0x231)]!=null&&_0x5404df[_0xbf6f53(0x175)]!=null)return{'row':_0x5404df[_0xbf6f53(0x231)],'col':_0x5404df[_0xbf6f53(0x175)],'value':null};if(!_0x5404df[_0xbf6f53(0x158)]||!_0x5404df[_0xbf6f53(0x1d4)])return null;let _0x1df879=this['_getTable'](_0x255312,_0x5404df[_0xbf6f53(0x253)]);if(!_0x1df879)return null;let _0x503e25=we(_0x1df879,_0x5404df[_0xbf6f53(0x158)],_0x5404df[_0xbf6f53(0x1d4)]);return _0x503e25?{'row':_0x503e25[_0xbf6f53(0x231)],'col':_0x503e25[_0xbf6f53(0xb0)],'value':null}:null;}[_0x1040ac(0x17b)](_0x42116e){const _0x1975ae=_0x1040ac;var _0x3584ba;let _0x5a56ad=this[_0x1975ae(0x275)][_0x1975ae(0xb3)](_0x42116e,_0x5080c8['UNIVER_BASE']);return Object[_0x1975ae(0x29d)]((_0x3584ba=_0x5a56ad==null?void 0x0:_0x5a56ad[_0x1975ae(0x1b7)]()['tables'])==null?{}:_0x3584ba)['map'](_0x699948=>_0x699948['id']);}['_getAllBaseDependencyTreeCacheMap'](){const _0xf4098c=_0x1040ac;let _0x34e7ba=this[_0xf4098c(0x275)][_0xf4098c(0x10e)](_0x5080c8['UNIVER_BASE'])[_0xf4098c(0xb4)](_0x4da76c=>ui(_0x4da76c[_0xf4098c(0x35a)](),Object[_0xf4098c(0x1d0)](_0x4da76c[_0xf4098c(0x1b7)]()['tables'])));return Object[_0xf4098c(0x2bc)]({},..._0x34e7ba);}};di=U([H(0x0,_0x51097c),H(0x1,_0x1c5465)],di);const fi=_0x1d276[_0x1040ac(0x350)](String[_0x1040ac(0xd3)]`(?:^|\W)\$?[A-Z]{1,3}\$?\d+(?::\$?[A-Z]{1,3}\$?\d+)?(?:$|\W)`),pi=_0x1d276['createRegExpFromSafeFragment'](String[_0x1040ac(0xd3)]`(?:'\[[^\]]+\](?:[^']|'')+'|\[[^\]]+\][^\s'!]+)!\$?[A-Z]{1,3}\$?\d+(?::\$?[A-Z]{1,3}\$?\d+)?`,'gi'),mi=/\{([^}]+)\}/g,hi=_0x1d276[_0x1040ac(0x350)](String[_0x1040ac(0xd3)]`\b([A-Z_]\w*)\[([^\]]+)\]`,'gi'),gi=_0x1d276['createRegExpFromSafeFragment'](String['raw']`(^|[^\w\][])\[([^\]]+)\]`,'g');var _i=class{[_0x1040ac(0x369)](_0x558c69,_0x1c4c64=_0x558c69['id']){const _0x28d465=_0x1040ac;var _0x348982,_0x48a293;let _0x43df5b=(_0x348982=(_0x48a293=_0x558c69['recordOrder'])==null?void 0x0:_0x48a293[_0x28d465(0x1ac)])==null?Object[_0x28d465(0x29d)](_0x558c69[_0x28d465(0x1fa)])[_0x28d465(0x1ac)]:_0x348982;return{'sheetId':_0x1c4c64,'titleMap':new Map(_0x558c69[_0x28d465(0xce)][_0x28d465(0xb4)]((_0x2f3f44,_0x1d6c98)=>{const _0x1ecb52=_0x28d465;var _0x213836,_0x17712d;return[(_0x213836=(_0x17712d=_0x558c69[_0x1ecb52(0x351)][_0x2f3f44])==null?void 0x0:_0x17712d['name'])==null?_0x2f3f44:_0x213836,_0x1d6c98];})),'range':{'startRow':0x0,'endRow':Math['max'](0x0,_0x43df5b-0x1),'startColumn':0x0,'endColumn':Math[_0x28d465(0x2f7)](0x0,_0x558c69[_0x28d465(0xce)][_0x28d465(0x1ac)]-0x1)},'showHeader':!0x1};}['registerSuperTable'](_0x33f8ed,_0x290806,_0x29b4be,_0x21a31b={}){const _0x1bcd68=_0x1040ac;var _0x995df6;let _0x386c85=this['createSuperTableReference'](_0x29b4be,(_0x995df6=_0x21a31b['sheetId'])==null?_0x29b4be['id']:_0x995df6);return new Set([_0x29b4be['id'],_0x29b4be['name'],_0x21a31b[_0x1bcd68(0x1a9)]][_0x1bcd68(0x308)](_0x92eb71=>!!_0x92eb71))['forEach'](_0x2799f8=>_0x33f8ed[_0x1bcd68(0x2b6)](_0x290806,_0x2799f8,_0x386c85)),_0x386c85;}['registerSuperTables'](_0x581706,_0x46e470){const _0x1cf0bd=_0x1040ac;let _0x1c942c=this[_0x1cf0bd(0x21e)](_0x46e470);return _0x1c942c[_0x1cf0bd(0x2d3)](({tableName:_0x5cf25c,reference:_0x40faf3})=>{_0x581706['registerTable'](_0x46e470['id'],_0x5cf25c,_0x40faf3);}),Array[_0x1cf0bd(0x136)](new Set(_0x1c942c[_0x1cf0bd(0xb4)](({reference:_0x5e792c})=>_0x5e792c)));}[_0x1040ac(0x21e)](_0x17bb16,_0xd19379){const _0x32417c=_0x1040ac;let _0x25186d=[],_0x53f222=_0xd19379?new Set(_0xd19379):null,_0x4193bd=new Map();return Object['values'](_0x17bb16[_0x32417c(0x274)])['forEach'](_0x3235ef=>{const _0x5a6a16=_0x32417c;var _0x3dd70c;let _0x5d5f2=_0x3235ef[_0x5a6a16(0x27a)][_0x5a6a16(0x1e6)]()['toLowerCase']();_0x4193bd[_0x5a6a16(0xdc)](_0x5d5f2,((_0x3dd70c=_0x4193bd['get'](_0x5d5f2))==null?0x0:_0x3dd70c)+0x1);}),Object[_0x32417c(0x29d)](_0x17bb16['tables'])[_0x32417c(0x308)](_0x164f59=>!_0x53f222||_0x53f222[_0x32417c(0x31e)](_0x164f59['id']))['forEach'](_0x100ddf=>{const _0x2181bb=_0x32417c;var _0x9ce7da;let _0x343400=this[_0x2181bb(0x369)](_0x100ddf,_0x100ddf['id']);_0x25186d[_0x2181bb(0x143)]({'tableId':_0x100ddf['id'],'tableName':_0x100ddf['id'],'reference':_0x343400}),((_0x9ce7da=_0x4193bd['get'](_0x100ddf['name'][_0x2181bb(0x1e6)]()[_0x2181bb(0x1da)]()))==null?0x0:_0x9ce7da)===0x1&&_0x25186d[_0x2181bb(0x143)]({'tableId':_0x100ddf['id'],'tableName':_0x100ddf[_0x2181bb(0x27a)],'reference':_0x343400});}),_0x25186d;}[_0x1040ac(0x169)](_0x48acf0,_0x218ffe,_0x4e471c={}){const _0x828f5e=_0x1040ac;let _0x244751=_0x48acf0['trim']();if(!_0x244751)return{'valid':!0x0};if(Ci(_0x244751))return{'valid':!0x1,'reason':_0x828f5e(0x339)};for(let _0xb2e093 of Si(_0x244751)){let _0x8c0301=ki(_0xb2e093,_0x218ffe,_0x4e471c['snapshot']);if(!_0x8c0301[_0x828f5e(0x2fc)])return{'valid':!0x1,'reason':'[BaseFormula]:\x20table\x20\x22'+_0xb2e093[_0x828f5e(0x1a9)]+_0x828f5e(0x1de)};if(!_0x8c0301['field'])return{'valid':!0x1,'reason':_0x828f5e(0x141)+_0xb2e093[_0x828f5e(0x2a6)]+'\x22\x20does\x20not\x20exist.'};}return{'valid':!0x0};}[_0x1040ac(0x21a)](_0x54b1ba,_0x28769f,_0x5002fd={}){const _0x1fe080=_0x1040ac;let _0x3834d5=new Set();for(let _0x207bae of this['getStructuredDependencies'](_0x54b1ba,_0x28769f,_0x5002fd))_0x207bae[_0x1fe080(0x253)]===_0x28769f['id']&&_0x3834d5[_0x1fe080(0xaa)](_0x207bae[_0x1fe080(0x1d4)]);return Array[_0x1fe080(0x136)](_0x3834d5);}[_0x1040ac(0x111)](_0x298165,_0x28c98c,_0x3c6e09={}){const _0x955f9=_0x1040ac;let _0x4dcf80=new Map();for(let _0x4b2319 of Si(_0x298165)){let _0x2ed9e2=ki(_0x4b2319,_0x28c98c,_0x3c6e09[_0x955f9(0xe5)]);if(!_0x2ed9e2[_0x955f9(0x2fc)]||!_0x2ed9e2[_0x955f9(0x16b)])continue;let _0x5256f8=_0x2ed9e2[_0x955f9(0x2fc)]['id']+'\x1f'+_0x2ed9e2['field']['id'];_0x4dcf80[_0x955f9(0xdc)](_0x5256f8,{'tableId':_0x2ed9e2[_0x955f9(0x2fc)]['id'],'fieldId':_0x2ed9e2[_0x955f9(0x16b)]['id']});}return Array[_0x955f9(0x136)](_0x4dcf80[_0x955f9(0x29d)]());}};function vi(_0x232cbb,_0x42b65c){const _0x5b5505=_0x1040ac;var _0x2d7fa5;let _0xeed117=[],_0x436b89=(_0x2d7fa5=_0x42b65c['unitData'])==null?void 0x0:_0x2d7fa5[_0x232cbb['id']];return _0x436b89&&Object['entries'](_0x436b89)[_0x5b5505(0x2d3)](([_0x2bf13f,_0x155ea0])=>{const _0x164ffd=_0x5b5505;let _0x22a356=_0x232cbb['tables'][_0x2bf13f];if(!_0x22a356||!_0x155ea0)return;let _0x37bb72=E(_0x22a356),_0x220f59=[];new _0x512ea1(_0x155ea0)[_0x164ffd(0x1c9)]((_0x3e0792,_0x1ed58b,_0x3b9d88)=>{const _0x45160b=_0x164ffd;let _0x25c1a2=yi(_0x37bb72,_0x3e0792,_0x1ed58b,_0x3b9d88);_0x25c1a2&&_0x220f59[_0x45160b(0x143)](_0x25c1a2);}),_0x220f59[_0x164ffd(0x1ac)]&&_0xeed117['push']({'unitId':_0x232cbb['id'],'tableId':_0x2bf13f,'patches':_0x220f59});}),_0xeed117;}function yi(_0x4721df,_0xf9d760,_0xb394e2,_0x4a5c30){const _0x2c7a16=_0x1040ac;var _0x5c06cb,_0x29c5a4,_0x45835d,_0x911bc9,_0xe2013d;let _0x505918=(_0x5c06cb=_0x4721df[_0x2c7a16(0x247)])==null?void 0x0:_0x5c06cb[_0xf9d760],_0x2a0af0=(_0x29c5a4=_0x4721df[_0x2c7a16(0x2fa)])==null?void 0x0:_0x29c5a4[_0xb394e2];if(!_0x505918||!_0x4721df[_0x2c7a16(0x1fa)][_0x505918]||!_0x2a0af0)return null;let _0x23e33a=_0x4721df[_0x2c7a16(0x351)][_0x2a0af0];if(!_0x23e33a||_0x23e33a[_0x2c7a16(0xd2)]!==_0x2c7a16(0x345))return null;let _0x38e578=String((_0x45835d=(_0x911bc9=_0x23e33a['config'])==null?void 0x0:_0x911bc9[_0x2c7a16(0x345)])==null?'':_0x45835d)['trim'](),_0x181917=(_0xe2013d=_0x4a5c30==null?void 0x0:_0x4a5c30['v'])==null?null:_0xe2013d,_0x6b33a7={'v':_0x181917,'t':xi(_0x181917),..._0xf9d760===0x0&&_0x38e578?{'f':_0x38e578}:{},'si':_0x23e33a['id']};return bi(Te(_0x4721df,_0x505918,_0x2a0af0),_0x6b33a7)?null:{'row':_0xf9d760,'col':_0xb394e2,'value':_0x6b33a7};}function bi(_0xd5fd9,_0xe7847c){var _0x4523a3,_0x252c7a;return _0xd5fd9!=null&&Object['is']((_0x4523a3=_0xd5fd9['v'])==null?null:_0x4523a3,(_0x252c7a=_0xe7847c['v'])==null?null:_0x252c7a)&&_0xd5fd9['t']===_0xe7847c['t']&&_0xd5fd9['f']===_0xe7847c['f']&&_0xd5fd9['si']===_0xe7847c['si'];}function xi(_0x249960){const _0x13a8e4=_0x1040ac;return typeof _0x249960=='number'?_0xa873fd['NUMBER']:typeof _0x249960==_0x13a8e4(0x2e1)?_0xa873fd[_0x13a8e4(0x366)]:typeof _0x249960=='string'?_0xa873fd[_0x13a8e4(0xaf)]:null;}function Si(_0x58aba3){const _0x485805=_0x1040ac;_0x58aba3=wi(_0x58aba3,()=>'');let _0x195a17=new Map();for(let _0x48ff29 of _0x58aba3[_0x485805(0x330)](mi)){let _0x48a4b4={'fieldName':_0x48ff29[0x1]};_0x195a17[_0x485805(0xdc)]('\x1f'+_0x48a4b4[_0x485805(0x2a6)],_0x48a4b4);}for(let _0x5c9a57 of _0x58aba3[_0x485805(0x330)](hi)){let _0xeb4abf={'tableName':_0x5c9a57[0x1],'fieldName':_0x5c9a57[0x2]};_0x195a17[_0x485805(0xdc)](_0xeb4abf[_0x485805(0x1a9)]+'\x1f'+_0xeb4abf[_0x485805(0x2a6)],_0xeb4abf);}for(let _0x311b68 of _0x58aba3['matchAll'](gi)){let _0xc6331={'fieldName':_0x311b68[0x2]};_0x195a17[_0x485805(0xdc)]('\x1f'+_0xc6331['fieldName'],_0xc6331);}return Array[_0x485805(0x136)](_0x195a17[_0x485805(0x29d)]());}function Ci(_0xe040a1){const _0x4ef7f8=_0x1040ac;let _0x2fbaa4=Ti(_0xe040a1,()=>'\x20')[_0x4ef7f8(0xf8)](mi,'\x20')[_0x4ef7f8(0xf8)](hi,'\x20')[_0x4ef7f8(0xf8)](gi,_0x4ef7f8(0x206));return fi[_0x4ef7f8(0x34b)](_0x2fbaa4);}function wi(_0x99dd6b,_0x4b375a){return Di(Ti(_0x99dd6b,_0x4b375a),_0x4b375a);}function Ti(_0x326da7,_0x25acd5){const _0xb0c7e0=_0x1040ac;return pi[_0xb0c7e0(0x195)]=0x0,_0x326da7['replace'](pi,(_0x4e1335,_0x19c22b)=>Oi(_0x326da7,_0x19c22b)?_0x4e1335:_0x25acd5(_0x4e1335));}const Ei=/(?:'((?:[^']|'')+)'|\[[^\]]+\]|[A-Za-z0-9_.-]+)![^\s!\[\]]+\[/g;function Di(_0x51f4d6,_0xd794a2){const _0x57e271=_0x1040ac;let _0x270aac=[];Ei[_0x57e271(0x195)]=0x0;let _0x1f6eb0;for(;(_0x1f6eb0=Ei[_0x57e271(0x2de)](_0x51f4d6))!=null;){if(Oi(_0x51f4d6,_0x1f6eb0['index']))continue;let _0x5e7e41=Ei['lastIndex']-0x1,_0x3e97ca=0x0;for(let _0x1b0796=_0x5e7e41;_0x1b0796<_0x51f4d6[_0x57e271(0x1ac)];_0x1b0796++)if(_0x51f4d6[_0x1b0796]==='['&&_0x3e97ca++,_0x51f4d6[_0x1b0796]===']'&&(_0x3e97ca--,_0x3e97ca===0x0)){_0x270aac[_0x57e271(0x143)]({'start':_0x1f6eb0[_0x57e271(0x314)],'end':_0x1b0796+0x1}),Ei[_0x57e271(0x195)]=_0x1b0796+0x1;break;}}if(_0x270aac[_0x57e271(0x1ac)]===0x0)return _0x51f4d6;let _0x3f63db='',_0x3a75a8=0x0;for(let _0x4d5288 of _0x270aac)_0x3f63db+=_0x51f4d6[_0x57e271(0x35c)](_0x3a75a8,_0x4d5288['start']),_0x3f63db+=_0xd794a2(_0x51f4d6[_0x57e271(0x35c)](_0x4d5288['start'],_0x4d5288['end'])),_0x3a75a8=_0x4d5288[_0x57e271(0x23b)];return _0x3f63db+_0x51f4d6[_0x57e271(0x35c)](_0x3a75a8);}function Oi(_0x5de184,_0x5b00c1){let _0x129e4b=!0x1;for(let _0xf82c4c=0x0;_0xf82c4c<_0x5b00c1;_0xf82c4c++)if(_0x5de184[_0xf82c4c]==='\x22'){if(_0x129e4b&&_0x5de184[_0xf82c4c+0x1]==='\x22'){_0xf82c4c++;continue;}_0x129e4b=!_0x129e4b;}return _0x129e4b;}function ki(_0x212839,_0x1c24d5,_0x243c69){const _0x1d5874=_0x1040ac;let _0x4a997e=Ai(_0x212839[_0x1d5874(0x1a9)],_0x1c24d5,_0x243c69);return{'table':_0x4a997e,'field':_0x4a997e?Object[_0x1d5874(0x29d)](_0x4a997e['fields'])[_0x1d5874(0x1cc)](_0x38701f=>_0x38701f[_0x1d5874(0x27a)]===_0x212839[_0x1d5874(0x2a6)]):void 0x0};}function Ai(_0x816c50,_0x6e1876,_0x13aa98){const _0x40f37f=_0x1040ac;if(!_0x816c50||_0x816c50===_0x40f37f(0x2fc)||_0x816c50===_0x6e1876['id']||_0x816c50===_0x6e1876[_0x40f37f(0x27a)])return _0x6e1876;if(!_0x13aa98)return;let _0x4328e3=_0x13aa98[_0x40f37f(0x274)][_0x816c50];if(_0x4328e3)return _0x4328e3;let _0x1ad28f=Object[_0x40f37f(0x29d)](_0x13aa98['tables'])[_0x40f37f(0x308)](_0x3edc63=>_0x3edc63['name']===_0x816c50);return _0x1ad28f['length']===0x1?_0x1ad28f[0x0]:void 0x0;}let ji=class extends _0x41e38b{constructor(_0x107c2c,_0x1f3778,_0x413b52){const _0x2489e7=_0x1040ac;super(),this['_commandService']=_0x107c2c,this[_0x2489e7(0x275)]=_0x1f3778,B(this,_0x2489e7(0x1c3),new _i()),B(this,'_registeredSuperTableNames',new Map()),B(this,_0x2489e7(0x191),Promise[_0x2489e7(0xe3)]()),B(this,'_applyingFormulaResults',!0x1),this[_0x2489e7(0x2ef)]();}[_0x1040ac(0x2ef)](){const _0x252245=_0x1040ac;this['_univerInstanceService'][_0x252245(0x10e)](_0x5080c8['UNIVER_BASE'])['forEach'](_0x51926e=>{const _0x1c1de1=_0x252245;this[_0x1c1de1(0x2a7)](async()=>{const _0x403121=_0x1c1de1;await this[_0x403121(0x309)](_0x51926e);});}),this['disposeWithMe'](this['_univerInstanceService'][_0x252245(0x152)](_0x5080c8[_0x252245(0x271)])['subscribe'](({unit:_0x162c30})=>{const _0x35ea13=_0x252245;this[_0x35ea13(0x2a7)](async()=>{const _0x26a80b=_0x35ea13;await this[_0x26a80b(0x309)](_0x162c30);});})),this[_0x252245(0x13d)](this[_0x252245(0x275)][_0x252245(0xa9)](_0x5080c8[_0x252245(0x271)])[_0x252245(0x226)](_0x401078=>{const _0x124200=_0x252245;this[_0x124200(0x2a7)](()=>this[_0x124200(0xb8)](_0x401078[_0x124200(0x35a)]()));})),this[_0x252245(0x13d)](this[_0x252245(0x257)][_0x252245(0x149)](_0x401ce8=>this['_onCommandExecuted'](_0x401ce8)));}[_0x1040ac(0xfc)](_0x34dfb4){const _0x28b790=_0x1040ac;if(_0x34dfb4['id']===_0x13a86a['id']){Ni(_0x34dfb4[_0x28b790(0x196)])&&this[_0x28b790(0xc2)](_0x34dfb4[_0x28b790(0x196)]);return;}if(this[_0x28b790(0x16d)]||_0x34dfb4['id']!==Y['id'])return;let _0x4b123d=Mi(_0x34dfb4[_0x28b790(0x196)])?_0x34dfb4[_0x28b790(0x196)]:void 0x0,_0x91a6ad=_0x4b123d!=null&&_0x4b123d[_0x28b790(0x2e7)]?[this[_0x28b790(0x275)]['getUnit'](_0x4b123d[_0x28b790(0x2e7)],_0x5080c8[_0x28b790(0x271)])][_0x28b790(0x308)](_0x431310=>!!_0x431310):this[_0x28b790(0x275)][_0x28b790(0x10e)](_0x5080c8[_0x28b790(0x271)]),_0x1d4664=_0x4b123d==null?void 0x0:_0x4b123d['op'];_0x91a6ad[_0x28b790(0x2d3)](_0x4f2163=>{const _0x1ce5af=_0x28b790;let _0x34c11e=_0x1d4664?ci(_0x1d4664):[];(!_0x1d4664||_0x34c11e[_0x1ce5af(0x20d)](_0x391c82=>_0x391c82[_0x1ce5af(0x160)]!=='cell'))&&this[_0x1ce5af(0x2a7)](()=>this[_0x1ce5af(0x309)](_0x4f2163));});}async[_0x1040ac(0x309)](_0x545bee){const _0x5808db=_0x1040ac;var _0x1efb9a;let _0x87c8d=_0x545bee[_0x5808db(0x35a)](),_0x42d0aa=this[_0x5808db(0x1c3)][_0x5808db(0x21e)](_0x545bee[_0x5808db(0x1b7)]()),_0x12aafc=new Set(_0x42d0aa['map'](({tableName:_0x43a0d5})=>_0x43a0d5)),_0x288df0=(_0x1efb9a=this[_0x5808db(0x12f)][_0x5808db(0x370)](_0x87c8d))==null?new Set():_0x1efb9a;for(let _0x16607e of _0x288df0)_0x12aafc[_0x5808db(0x31e)](_0x16607e)||await this['_commandService'][_0x5808db(0x17a)](_0x42fb82['id'],{'unitId':_0x87c8d,'tableName':_0x16607e});for(let {tableName:_0x3a7044,reference:_0x2dcc04}of _0x42d0aa)await this[_0x5808db(0x257)][_0x5808db(0x17a)](_0x578ea3['id'],{'unitId':_0x87c8d,'tableName':_0x3a7044,'reference':_0x2dcc04});this[_0x5808db(0x12f)][_0x5808db(0xdc)](_0x87c8d,_0x12aafc);}async[_0x1040ac(0xb8)](_0x22fc20){const _0x58df72=_0x1040ac;var _0x6ad0f3;let _0x15fc6e=(_0x6ad0f3=this[_0x58df72(0x12f)][_0x58df72(0x370)](_0x22fc20))==null?new Set():_0x6ad0f3;for(let _0x4ac425 of _0x15fc6e)await this[_0x58df72(0x257)]['executeCommand'](_0x42fb82['id'],{'unitId':_0x22fc20,'tableName':_0x4ac425});this[_0x58df72(0x12f)]['delete'](_0x22fc20);}['_enqueueFormulaSync'](_0x34af3f){const _0x4b92e5=_0x1040ac;this[_0x4b92e5(0x191)]=this[_0x4b92e5(0x191)][_0x4b92e5(0xba)](_0x34af3f,_0x34af3f)['catch'](()=>void 0x0);}['_applyFormulaResult'](_0x5ed561){const _0x429221=_0x1040ac;let _0x26bb93=this[_0x429221(0x275)][_0x429221(0x10e)](_0x5080c8[_0x429221(0x271)])['flatMap'](_0x4c12f1=>vi(_0x4c12f1[_0x429221(0x1b7)](),_0x5ed561));if(!_0x26bb93[_0x429221(0x1ac)])return;let _0x53c319=new R(),_0x142db8=_0x26bb93[_0x429221(0x1a6)](_0x1e0aa6=>li({'unitId':_0x1e0aa6[_0x429221(0x2e7)],'tableId':_0x1e0aa6[_0x429221(0x253)],'patches':_0x1e0aa6[_0x429221(0x1bc)]}));this[_0x429221(0x16d)]=!0x0,(async()=>{const _0x112bf9=_0x429221;for(let _0x19e26d of _0x26bb93){let _0x123940=this[_0x112bf9(0x275)]['getUnit'](_0x19e26d[_0x112bf9(0x2e7)],_0x5080c8[_0x112bf9(0x271)]);_0x123940&&await this[_0x112bf9(0x257)][_0x112bf9(0x17a)](Y['id'],{'unitId':_0x19e26d[_0x112bf9(0x2e7)],'op':_0x53c319[_0x112bf9(0x10b)](_0x123940[_0x112bf9(0x1b7)](),_0x19e26d[_0x112bf9(0x253)],_0x19e26d[_0x112bf9(0x1bc)]),'trigger':_0x13a86a['id']},{'onlyLocal':!0x0});}await this[_0x112bf9(0x257)][_0x112bf9(0x17a)](_0x28b73a['id'],{'dirtyRanges':_0x142db8},{'onlyLocal':!0x0});})()[_0x429221(0xf3)](()=>{const _0x165053=_0x429221;this[_0x165053(0x16d)]=!0x1;});}};ji=U([H(0x0,_0x42c942),H(0x1,_0x1c5465),H(0x2,_0x43d182(_0x5c9fc2))],ji);function Mi(_0x331cb1){const _0x20b868=_0x1040ac;return typeof _0x331cb1==_0x20b868(0x101)&&!!_0x331cb1&&_0x20b868(0x2e7)in _0x331cb1&&typeof _0x331cb1[_0x20b868(0x2e7)]=='string'&&'op'in _0x331cb1&&Array['isArray'](_0x331cb1['op']);}function Ni(_0x1f3330){const _0x43457a=_0x1040ac;return typeof _0x1f3330==_0x43457a(0x101)&&!!_0x1f3330&&_0x43457a(0x190)in _0x1f3330&&_0x43457a(0xa5)in _0x1f3330;}const Pi=_0x43b5b5('base.resource.service');let Fi=class{constructor(_0x49438f){const _0x42cc47=_0x1040ac;this[_0x42cc47(0x275)]=_0x49438f;}['getBase'](_0x4bd7ed){const _0x1bcfa9=_0x1040ac;var _0x4af5aa;return(_0x4af5aa=this[_0x1bcfa9(0x275)][_0x1bcfa9(0xb3)](_0x4bd7ed,_0x5080c8[_0x1bcfa9(0x271)]))==null?null:_0x4af5aa;}[_0x1040ac(0x163)](){const _0x70a36d=_0x1040ac;return this[_0x70a36d(0x275)][_0x70a36d(0x10e)](_0x5080c8[_0x70a36d(0x271)]);}['createBase'](_0x152402){const _0x14c392=_0x1040ac;return this[_0x14c392(0x275)][_0x14c392(0x2af)](_0x5080c8[_0x14c392(0x271)],_0x152402);}};Fi=U([H(0x0,_0x1c5465)],Fi);const Ii=_0x43b5b5('base.view-registry.service');var Li=class extends _0x41e38b{constructor(..._0x37ea08){const _0x1e895a=_0x1040ac;super(..._0x37ea08),B(this,_0x1e895a(0x1bd),new Map());}[_0x1040ac(0x1a5)](_0x58957d){const _0x253397=_0x1040ac;return this[_0x253397(0x1bd)][_0x253397(0xdc)](_0x58957d['type'],_0x58957d),_0x5b27e8(()=>this[_0x253397(0x1bd)][_0x253397(0x2aa)](_0x58957d[_0x253397(0xd2)]));}['get'](_0x4934d0){const _0x4d43b8=_0x1040ac;let _0xeddce1=this['_plugins']['get'](_0x4934d0);if(!_0xeddce1)throw Error(_0x4d43b8(0x115)+_0x4934d0+_0x4d43b8(0x2e6));return _0xeddce1;}[_0x1040ac(0x15a)](){const _0x107c7c=_0x1040ac;return Array['from'](this['_plugins'][_0x107c7c(0x29d)]());}};const Ri=[Y];let Z=class extends _0x33a25c{constructor(_0x25b68a=oi,_0x208e2e,_0x592870,_0x46ba79,_0x33210d,_0x4b9426){const _0x3dab1d=_0x1040ac;super(),this['_config']=_0x25b68a,this[_0x3dab1d(0x1fb)]=_0x208e2e,this[_0x3dab1d(0x257)]=_0x592870,this[_0x3dab1d(0x275)]=_0x46ba79,this['_configService']=_0x33210d,this[_0x3dab1d(0x104)]=_0x4b9426,B(this,_0x3dab1d(0x125),new Map());let {..._0x534c0d}=_0x4343ea({},oi,this[_0x3dab1d(0x1f5)]);this['_configService'][_0x3dab1d(0x189)](_0x3dab1d(0x1e8),_0x534c0d),this['_univerInstanceService'][_0x3dab1d(0x1d2)](_0x5080c8[_0x3dab1d(0x271)],_0x3f9aba),this[_0x3dab1d(0x25f)](),this[_0x3dab1d(0x1bb)](),this[_0x3dab1d(0x128)](),this['_initDataSync']();}[_0x1040ac(0x1b8)](){const _0x4a22a3=_0x1040ac;_0x39d020(this['_injector'],[[Fi],[on],[di]]),this[_0x4a22a3(0x275)][_0x4a22a3(0x10e)](_0x5080c8[_0x4a22a3(0x271)])['forEach'](_0x138036=>this[_0x4a22a3(0x35f)](_0x138036[_0x4a22a3(0x35a)]())),_0x39d020(this[_0x4a22a3(0x1fb)],[[ji]]);}['_initDependencies'](){const _0x464dc7=_0x1040ac;[[en,{'useClass':tn}],[Ii,{'useClass':Li}],[_n,{'useClass':yn}],[Pi,{'useClass':Fi}],[nn,{'useClass':rn}],[W,{'useClass':on}],[di],[ji]][_0x464dc7(0x2d3)](_0x4372b6=>this['_injector'][_0x464dc7(0xaa)](_0x4372b6));}[_0x1040ac(0x1bb)](){const _0x4bdeb8=_0x1040ac;[er,Dr,vr,zr,Mr,jr,$n,Yn,_r,Xn,xr,Ur,Qn,br,Vr,Br,Zn,gr,Tr,hr,Sr,Or,Ar,yr,Er,Wr,kr,Hr,Ir,Rr,Lr,Pr,Fr,Nr,...Ri][_0x4bdeb8(0x2d3)](_0x3ddfd1=>this['disposeWithMe'](this[_0x4bdeb8(0x257)][_0x4bdeb8(0x23f)](_0x3ddfd1))),Ri['forEach'](_0x502866=>{const _0x319fb2=_0x4bdeb8;var _0x267982;return(_0x267982=this[_0x319fb2(0x104)])==null?void 0x0:_0x267982['registerSyncingMutations'](_0x502866);});}[_0x1040ac(0x358)](){const _0x5520b6=_0x1040ac;this[_0x5520b6(0x104)]&&(this['disposeWithMe'](this[_0x5520b6(0x275)]['getTypeOfUnitAdded$'](_0x5080c8[_0x5520b6(0x271)])[_0x5520b6(0x226)](({unit:_0x351e9b})=>{const _0x1be3d5=_0x5520b6;this[_0x1be3d5(0x35f)](_0x351e9b[_0x1be3d5(0x35a)]());})),this[_0x5520b6(0x13d)](this[_0x5520b6(0x275)][_0x5520b6(0xa9)](_0x5080c8[_0x5520b6(0x271)])[_0x5520b6(0x226)](_0x1ac933=>{const _0x59ccc9=_0x5520b6;var _0x2f4786;(_0x2f4786=this[_0x59ccc9(0x125)]['get'](_0x1ac933[_0x59ccc9(0x35a)]()))==null||_0x2f4786['dispose'](),this[_0x59ccc9(0x125)][_0x59ccc9(0x2aa)](_0x1ac933['getUnitId']());})));}[_0x1040ac(0x35f)](_0x2af426){const _0xe2c812=_0x1040ac;!this[_0xe2c812(0x104)]||this[_0xe2c812(0x125)]['has'](_0x2af426)||this[_0xe2c812(0x125)][_0xe2c812(0xdc)](_0x2af426,this[_0xe2c812(0x104)][_0xe2c812(0x364)](_0x2af426));}['_initRegistries'](){const _0x8a480c=_0x1040ac;let _0x43a65a=this[_0x8a480c(0x1fb)][_0x8a480c(0x370)](en);At()['forEach'](_0x470675=>_0x43a65a['register'](_0x470675));let _0xaf12f9=this['_injector'][_0x8a480c(0x370)](Ii),_0x27e97d=this[_0x8a480c(0x1fb)]['get'](_n);fn()['forEach'](_0x590048=>{const _0x526cfe=_0x8a480c;_0xaf12f9[_0x526cfe(0x1a5)](_0x590048),_0x27e97d[_0x526cfe(0x235)](_0x590048);});}};B(Z,_0x1040ac(0x332),'BASES_PLUGIN'),B(Z,_0x1040ac(0x333),ii),B(Z,_0x1040ac(0x33b),ai),B(Z,_0x1040ac(0xd2),_0x5080c8[_0x1040ac(0x271)]),Z=U([_0x4c3b1d(_0x55f49d,_0x372b1b),H(0x1,_0x43d182(_0x5f5298)),H(0x2,_0x42c942),H(0x3,_0x1c5465),H(0x4,_0x4eab42),H(0x5,_0x794887(_0x19aa01))],Z);let Q=class extends _0x33a25c{constructor(_0x6c5281=si,_0x4f3b46,_0x4135d5,_0xd17a60,_0x732b09){const _0x1c4d54=_0x1040ac;super(),this[_0x1c4d54(0x1f5)]=_0x6c5281,this[_0x1c4d54(0x1fb)]=_0x4f3b46,this[_0x1c4d54(0x257)]=_0x4135d5,this['_configService']=_0xd17a60,this[_0x1c4d54(0x275)]=_0x732b09;let {..._0x4b7443}=_0x4343ea({},si,this[_0x1c4d54(0x1f5)]);this[_0x1c4d54(0x16c)][_0x1c4d54(0x189)](_0x1c4d54(0x19d),_0x4b7443),this[_0x1c4d54(0x275)][_0x1c4d54(0x1d2)](_0x5080c8[_0x1c4d54(0x271)],_0x3f9aba),Ri[_0x1c4d54(0x2d3)](_0x1d450c=>this[_0x1c4d54(0x13d)](this[_0x1c4d54(0x257)]['registerCommand'](_0x1d450c)));}};B(Q,_0x1040ac(0x332),_0x1040ac(0x324)),B(Q,_0x1040ac(0x333),ii),B(Q,'version',ai),B(Q,'type',_0x5080c8[_0x1040ac(0x271)]),Q=U([_0x4c3b1d(_0x55f49d,_0x372b1b),H(0x1,_0x43d182(_0x5f5298)),H(0x2,_0x42c942),H(0x3,_0x4eab42),H(0x4,_0x1c5465)],Q);function zi(_0xaab4fd){const _0x55ef31=_0x1040ac;let _0xe46013=Qi(_0xaab4fd['query']);if(!_0xe46013)return{'query':'','total':0x0,'matches':[]};let _0x52f17f=[],_0x199608=[];for(let _0x1192a2=0x0;_0x1192a2<_0xaab4fd[_0x55ef31(0x25d)][_0x55ef31(0x1ac)];_0x1192a2++){if(!(_0x1192a2 in _0xaab4fd['fieldIds']))continue;let _0x10c38f=_0xaab4fd['table'][_0x55ef31(0x351)][_0xaab4fd['fieldIds'][_0x1192a2]];_0x10c38f&&_0x199608[_0x55ef31(0x143)]({'field':_0x10c38f,'fieldIndex':_0x1192a2});}_0xaab4fd['rows']['forEach']((_0x503a96,_0x49aaa8)=>{_0x199608['forEach'](({field:_0x247e49,fieldIndex:_0xf239bd})=>{const _0x4b05af=_0x4ff6;let _0x5be084=Bi(_0x503a96[_0x4b05af(0x29d)][_0x247e49['id']],_0x247e49);if(!_0x5be084)return;let _0x1dcb88=Zi(_0xe46013,_0x5be084[_0x4b05af(0x202)]);_0x1dcb88<=0x0||_0x52f17f[_0x4b05af(0x143)]({'recordId':_0x503a96[_0x4b05af(0x158)],'fieldId':_0x247e49['id'],'fieldType':_0x247e49[_0x4b05af(0xd2)],'text':_0x5be084[_0x4b05af(0x249)],'score':_0x1dcb88,'rowIndex':_0x49aaa8,'fieldIndex':_0xf239bd});});}),_0x52f17f['sort']((_0x4cd658,_0x501949)=>_0x501949[_0x55ef31(0x214)]-_0x4cd658[_0x55ef31(0x214)]||_0x4cd658[_0x55ef31(0x2f6)]-_0x501949[_0x55ef31(0x2f6)]||_0x4cd658['fieldIndex']-_0x501949[_0x55ef31(0x185)]);let _0x4412fd=_0xaab4fd[_0x55ef31(0x32a)]==null?_0x52f17f:_0x52f17f[_0x55ef31(0x35c)](0x0,Math[_0x55ef31(0x2f7)](0x0,_0xaab4fd[_0x55ef31(0x32a)]));return{'query':_0xe46013,'total':_0x52f17f[_0x55ef31(0x1ac)],'matches':ea(_0x4412fd)};}function Bi(_0x2c158b,_0x2c9319){const _0x3146b1=_0x1040ac;let _0x96a230=[];for(let _0x533ca3 of Hi(_0x2c158b,_0x2c9319)){let _0x23defa=Qi(_0x533ca3);_0x23defa&&_0x96a230[_0x3146b1(0x143)](_0x23defa);}return _0x96a230[_0x3146b1(0x1ac)]?{'displayText':Vi(_0x2c158b,_0x2c9319),'searchTexts':$i(_0x96a230)}:null;}function Vi(_0x2c3da6,_0x4b15b3){const _0x1435a1=_0x1040ac;switch(_0x4b15b3[_0x1435a1(0xd2)]){case _0x406b36[_0x1435a1(0x1c7)]:case _0x406b36[_0x1435a1(0x2ce)]:case _0x406b36['Group']:return Ui(_0x2c3da6,_0x4b15b3)['join'](',\x20');case _0x406b36[_0x1435a1(0xa6)]:return Ki(_0x2c3da6);case _0x406b36[_0x1435a1(0x107)]:case _0x406b36['CreatedAt']:case _0x406b36['UpdatedAt']:return qi(_0x2c3da6,_0x4b15b3);case _0x406b36[_0x1435a1(0x123)]:case _0x406b36['Currency']:return Ji(_0x2c3da6,_0x4b15b3);case _0x406b36[_0x1435a1(0x1fe)]:return Yi(_0x2c3da6,_0x4b15b3);case _0x406b36[_0x1435a1(0x32e)]:return _0x2c3da6?_0x1435a1(0x167):_0x1435a1(0x1ea);case _0x406b36[_0x1435a1(0x197)]:return Xi(_0x2c3da6)[_0x1435a1(0x134)](',\x20');default:return $(_0x2c3da6);}}function Hi(_0x125116,_0x1caa96){const _0x582804=_0x1040ac;switch(_0x1caa96['type']){case _0x406b36[_0x582804(0x1c7)]:case _0x406b36[_0x582804(0x2ce)]:case _0x406b36[_0x582804(0x26b)]:{let _0x36b97a=Ui(_0x125116,_0x1caa96);if(Array[_0x582804(0x1c5)](_0x125116)){let _0x29fd89=[..._0x36b97a];for(let _0x44cec1=0x0;_0x44cec1<_0x125116['length'];_0x44cec1++)_0x44cec1 in _0x125116&&_0x29fd89['push'](String(_0x125116[_0x44cec1]));return _0x29fd89;}return _0x125116==null?_0x36b97a:[..._0x36b97a,String(_0x125116)];}case _0x406b36[_0x582804(0xa6)]:{let _0x26c20e=Gi(_0x125116);return[_0x26c20e[_0x582804(0x2ea)],_0x26c20e[_0x582804(0x36e)]];}case _0x406b36[_0x582804(0x107)]:case _0x406b36[_0x582804(0x34e)]:case _0x406b36[_0x582804(0xc5)]:return[qi(_0x125116,_0x1caa96),$(_0x125116)];case _0x406b36[_0x582804(0x123)]:case _0x406b36[_0x582804(0xcf)]:return[Ji(_0x125116,_0x1caa96),$(_0x125116)];case _0x406b36['Progress']:return[Yi(_0x125116,_0x1caa96),$(_0x125116)];case _0x406b36[_0x582804(0x32e)]:return _0x125116?['Checked','Yes','True']:[_0x582804(0x1ea),'No',_0x582804(0x18e)];case _0x406b36[_0x582804(0x197)]:return Xi(_0x125116);default:return[$(_0x125116)];}}function Ui(_0x59b918,_0x576535){const _0x10cab6=_0x1040ac;var _0x30d84e;let _0x101f00=Array[_0x10cab6(0x1c5)]((_0x30d84e=_0x576535['config'])==null?void 0x0:_0x30d84e[_0x10cab6(0x1d9)])?_0x576535[_0x10cab6(0x2ed)][_0x10cab6(0x1d9)]:[],_0x2a520f=[];if(Array['isArray'](_0x59b918)){for(let _0x4f541d=0x0;_0x4f541d<_0x59b918[_0x10cab6(0x1ac)];_0x4f541d++){if(!(_0x4f541d in _0x59b918))continue;let _0x3e381a=String(_0x59b918[_0x4f541d]);_0x3e381a&&_0x2a520f[_0x10cab6(0x143)](Wi(_0x101f00,_0x3e381a));}return _0x2a520f;}if(_0x59b918!=null){let _0xf3fb90=String(_0x59b918);_0xf3fb90&&_0x2a520f[_0x10cab6(0x143)](Wi(_0x101f00,_0xf3fb90));}return _0x2a520f;}function Wi(_0x23a522,_0xbb6bf3){const _0x542287=_0x1040ac;for(let _0x4c50d0 of _0x23a522){if(typeof _0x4c50d0==_0x542287(0x2e9)&&_0x4c50d0===_0xbb6bf3)return _0x4c50d0;if(_0x4c50d0&&typeof _0x4c50d0==_0x542287(0x101)){var _0x46915c,_0x35d24e,_0x58c83e;let _0x5b9d3e=_0x4c50d0;if(String((_0x46915c=(_0x35d24e=_0x5b9d3e['id'])==null?_0x5b9d3e['name']:_0x35d24e)==null?'':_0x46915c)===_0xbb6bf3||String((_0x58c83e=_0x5b9d3e[_0x542287(0x27a)])==null?'':_0x58c83e)===_0xbb6bf3){var _0xdd81d7,_0x4b842c;return String((_0xdd81d7=(_0x4b842c=_0x5b9d3e[_0x542287(0x27a)])==null?_0x5b9d3e['id']:_0x4b842c)==null?_0xbb6bf3:_0xdd81d7);}}}return _0xbb6bf3;}function Gi(_0x941f71){const _0x3a7c3d=_0x1040ac;if(_0x941f71&&typeof _0x941f71=='object'&&!Array[_0x3a7c3d(0x1c5)](_0x941f71)){var _0x2f4d74,_0x2053e2,_0x5e03a7;let _0x4fe52d=_0x941f71;return{'text':String((_0x2f4d74=(_0x2053e2=_0x4fe52d[_0x3a7c3d(0x2ea)])==null?_0x4fe52d[_0x3a7c3d(0x36e)]:_0x2053e2)==null?'':_0x2f4d74),'url':String((_0x5e03a7=_0x4fe52d[_0x3a7c3d(0x36e)])==null?'':_0x5e03a7)};}return{'text':$(_0x941f71),'url':$(_0x941f71)};}function Ki(_0x39a9a9){const _0x13d8c3=_0x1040ac;let _0x744499=Gi(_0x39a9a9);return _0x744499[_0x13d8c3(0x2ea)]||_0x744499['url'];}function qi(_0x2974da,_0x27a955){const _0x4d33fa=_0x1040ac;return typeof _0x2974da!='number'||!Number[_0x4d33fa(0x299)](_0x2974da)?'':st(_0x2974da,_0x27a955[_0x4d33fa(0x2ed)]);}function Ji(_0x2d219d,_0x36aefb){const _0x2fb63d=_0x1040ac;let _0x4d97de=typeof _0x2d219d=='number'?_0x2d219d:Number(_0x2d219d);return Number['isFinite'](_0x4d97de)?Qr(_0x4d97de,_0x36aefb[_0x2fb63d(0x2ed)]):'';}function Yi(_0x5e5517,_0x5160e8){const _0x19c348=_0x1040ac;var _0x397430;let _0x42d09d=typeof _0x5e5517=='number'?_0x5e5517:Number(_0x5e5517);if(!Number['isFinite'](_0x42d09d))return'';let _0x5b506c=(_0x397430=_0x5160e8[_0x19c348(0x2ed)])==null?{}:_0x397430,_0x13ed6a=_0x5b506c[_0x19c348(0x204)]===0x1||_0x5b506c[_0x19c348(0x204)]===0x2?_0x5b506c['decimalPlaces']:0x0,_0x458a23=_0x42d09d[_0x19c348(0x357)](_0x13ed6a);return _0x5b506c[_0x19c348(0x25a)]==='number'?_0x458a23:_0x458a23+'%';}function Xi(_0x4a4af0){const _0x5f08d1=_0x1040ac;return Array[_0x5f08d1(0x1c5)](_0x4a4af0)?_0x4a4af0[_0x5f08d1(0x1a6)](_0x141cf1=>{const _0x3108d0=_0x5f08d1;var _0x2f9e40,_0x4b14b9;if(!_0x141cf1||typeof _0x141cf1!=_0x3108d0(0x101))return[];let _0x2423f1=_0x141cf1,_0x159be7=String((_0x2f9e40=(_0x4b14b9=_0x2423f1[_0x3108d0(0x27a)])==null?_0x2423f1[_0x3108d0(0x36e)]:_0x4b14b9)==null?'':_0x2f9e40)[_0x3108d0(0x1e6)]();return _0x159be7?[_0x159be7]:[];}):[];}function $(_0x16d145){const _0x14cfe4=_0x1040ac;if(_0x16d145==null)return'';if(typeof _0x16d145==_0x14cfe4(0x2e1))return _0x16d145?_0x14cfe4(0x20f):_0x14cfe4(0x129);if(typeof _0x16d145=='number')return String(_0x16d145);if(Array[_0x14cfe4(0x1c5)](_0x16d145)){let _0x1b6b38=[];for(let _0x25e878=0x0;_0x25e878<_0x16d145[_0x14cfe4(0x1ac)];_0x25e878++){if(!(_0x25e878 in _0x16d145))continue;let _0x8d1eb9=$(_0x16d145[_0x25e878]);_0x8d1eb9&&_0x1b6b38['push'](_0x8d1eb9);}return _0x1b6b38['join'](',\x20');}if(typeof _0x16d145==_0x14cfe4(0x101)){var _0x1e6d91,_0x332506,_0x1bccf3,_0x77271a;let _0x54f332=_0x16d145;return String((_0x1e6d91=(_0x332506=(_0x1bccf3=(_0x77271a=_0x54f332[_0x14cfe4(0x336)])==null?_0x54f332['name']:_0x77271a)==null?_0x54f332[_0x14cfe4(0x2ea)]:_0x1bccf3)==null?_0x54f332[_0x14cfe4(0x36e)]:_0x332506)==null?'':_0x1e6d91)[_0x14cfe4(0x1e6)]();}return String(_0x16d145);}function Zi(_0x49427c,_0x87553e){const _0x1f6a41=_0x1040ac;let _0x1cffa8=0x0;for(let _0x5d8308 of _0x87553e)if(_0x5d8308){if(_0x5d8308===_0x49427c){_0x1cffa8=Math[_0x1f6a41(0x2f7)](_0x1cffa8,0x12c);continue;}if(_0x5d8308[_0x1f6a41(0xa7)](_0x49427c)){_0x1cffa8=Math[_0x1f6a41(0x2f7)](_0x1cffa8,0xfa);continue;}_0x5d8308['includes'](_0x49427c)&&(_0x1cffa8=Math[_0x1f6a41(0x2f7)](_0x1cffa8,0xc8));}return _0x1cffa8;}function Qi(_0x520d92){const _0x33bfd7=_0x1040ac;return _0x520d92[_0x33bfd7(0x1e6)]()[_0x33bfd7(0xf8)](/\s+/g,'\x20')['toLowerCase']();}function $i(_0x1f6d9a){const _0x1a77f5=_0x1040ac;return Array[_0x1a77f5(0x136)](new Set(_0x1f6d9a));}function ea(_0x690737){const _0x56b3ad=_0x1040ac;let _0x23a4f9=[];for(let {rowIndex:_0x4a8570,fieldIndex:_0x18d18f,..._0x5e0ea9}of _0x690737)_0x23a4f9[_0x56b3ad(0x143)](_0x5e0ea9);return _0x23a4f9;}export{Y as ApplyBaseJson1Mutation,A as BaseJson1OpApplier,R as BaseJson1OpFactory,Yn as BatchCreateBaseRecordsCommand,Xn as BatchDeleteBaseRecordsCommand,Zn as ChangeBaseFieldTypeCommand,Qn as CreateBaseFieldCommand,$n as CreateBaseRecordCommand,er as CreateBaseTableCommand,hr as CreateBaseViewCommand,gr as DeleteBaseFieldCommand,_r as DeleteBaseRecordCommand,vr as DeleteBaseTableCommand,yr as DeleteBaseViewCommand,br as DuplicateBaseFieldCommand,xr as DuplicateBaseRecordCommand,Kr as EMBED_BASES_TABLE_RESOURCE_KEY,Sr as EnsureBaseTemporalViewDateFieldsCommand,W as IBaseCommandService,nn as IBasePermissionService,_n as IBaseProjectionService,Ii as IBaseViewRegistryService,Tr as MoveBaseFieldCommand,Er as MoveBaseViewCommand,Dr as RenameBaseTableCommand,Or as RenameBaseViewCommand,kr as SetBaseKanbanGroupFieldCommand,Ar as SetBaseNameCommand,jr as SetBaseRangeValuesCommand,Mr as SetBaseRecordValuesCommand,Nr as SetBaseViewFieldOrderCommand,Pr as SetBaseViewFieldVisibleCommand,Fr as SetBaseViewFieldWidthCommand,Ir as SetBaseViewFilterCommand,Lr as SetBaseViewGroupCommand,Rr as SetBaseViewSortCommand,Z as UniverBasesPlugin,Q as UniverRemoteBasesPlugin,zr as UpdateBaseCellCommand,Vr as UpdateBaseFieldCommand,Br as UpdateBaseFieldDescriptionCommand,Hr as UpdateBaseKanbanConfigCommand,Ur as UpdateBaseRecordOrderCommand,Wr as UpdateBaseViewConfigCommand,N as baseDateSerialToDateMs,ri as copyBaseTableSnapshot,Gr as createDefaultBaseTableSnapshot,qr as createEmbedBasesTable,Jr as createEmbedBasesTableAddMutation,Yr as createEmbedBasesTableRemoveMutation,j as dateToExcelSerial,E as ensureBaseTableCellLayout,st as formatBaseDateValue,Qr as formatBaseNumberValue,De as getBaseCellFormulaValue,Ee as getBaseCellValue,ni as inferBaseSeparatorStyle,ft as matchesBaseCondition,M as normalizeBaseDateSerial,zi as searchBaseTable,T as traceBasePerformance,tr as uniqueFieldName};