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

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 (128) hide show
  1. package/README.md +8 -5
  2. package/lib/cjs/facade.js +1 -1
  3. package/lib/cjs/index.js +1 -1
  4. package/lib/cjs/locale/ar-SA.js +1 -1
  5. package/lib/cjs/locale/ca-ES.js +1 -1
  6. package/lib/cjs/locale/de-DE.js +1 -1
  7. package/lib/cjs/locale/en-US.js +1 -1
  8. package/lib/cjs/locale/es-ES.js +1 -1
  9. package/lib/cjs/locale/fa-IR.js +1 -1
  10. package/lib/cjs/locale/fr-FR.js +1 -1
  11. package/lib/cjs/locale/id-ID.js +1 -1
  12. package/lib/cjs/locale/it-IT.js +1 -1
  13. package/lib/cjs/locale/ja-JP.js +1 -1
  14. package/lib/cjs/locale/ko-KR.js +1 -1
  15. package/lib/cjs/locale/pl-PL.js +1 -1
  16. package/lib/cjs/locale/pt-BR.js +1 -1
  17. package/lib/cjs/locale/ru-RU.js +1 -1
  18. package/lib/cjs/locale/sk-SK.js +1 -1
  19. package/lib/cjs/locale/vi-VN.js +1 -1
  20. package/lib/cjs/locale/zh-CN.js +1 -1
  21. package/lib/cjs/locale/zh-HK.js +1 -1
  22. package/lib/cjs/locale/zh-TW.js +1 -1
  23. package/lib/es/facade.js +1 -1
  24. package/lib/es/index.js +1 -1
  25. package/lib/es/locale/ar-SA.js +1 -1
  26. package/lib/es/locale/ca-ES.js +1 -1
  27. package/lib/es/locale/de-DE.js +1 -1
  28. package/lib/es/locale/en-US.js +1 -1
  29. package/lib/es/locale/es-ES.js +1 -1
  30. package/lib/es/locale/fa-IR.js +1 -1
  31. package/lib/es/locale/fr-FR.js +1 -1
  32. package/lib/es/locale/id-ID.js +1 -1
  33. package/lib/es/locale/it-IT.js +1 -1
  34. package/lib/es/locale/ja-JP.js +1 -1
  35. package/lib/es/locale/ko-KR.js +1 -1
  36. package/lib/es/locale/pl-PL.js +1 -1
  37. package/lib/es/locale/pt-BR.js +1 -1
  38. package/lib/es/locale/ru-RU.js +1 -1
  39. package/lib/es/locale/sk-SK.js +1 -1
  40. package/lib/es/locale/vi-VN.js +1 -1
  41. package/lib/es/locale/zh-CN.js +1 -1
  42. package/lib/es/locale/zh-HK.js +1 -1
  43. package/lib/es/locale/zh-TW.js +1 -1
  44. package/lib/facade.js +1 -1
  45. package/lib/index.js +1 -1
  46. package/lib/locale/ar-SA.js +1 -1
  47. package/lib/locale/ca-ES.js +1 -1
  48. package/lib/locale/de-DE.js +1 -1
  49. package/lib/locale/en-US.js +1 -1
  50. package/lib/locale/es-ES.js +1 -1
  51. package/lib/locale/fa-IR.js +1 -1
  52. package/lib/locale/fr-FR.js +1 -1
  53. package/lib/locale/id-ID.js +1 -1
  54. package/lib/locale/it-IT.js +1 -1
  55. package/lib/locale/ja-JP.js +1 -1
  56. package/lib/locale/ko-KR.js +1 -1
  57. package/lib/locale/pl-PL.js +1 -1
  58. package/lib/locale/pt-BR.js +1 -1
  59. package/lib/locale/ru-RU.js +1 -1
  60. package/lib/locale/sk-SK.js +1 -1
  61. package/lib/locale/vi-VN.js +1 -1
  62. package/lib/locale/zh-CN.js +1 -1
  63. package/lib/locale/zh-HK.js +1 -1
  64. package/lib/locale/zh-TW.js +1 -1
  65. package/lib/types/commands/commands/set-base-name.command.d.ts +6 -0
  66. package/lib/types/commands/commands/set-base-view-filter.command.d.ts +2 -2
  67. package/lib/types/commands/commands/set-base-view-group.command.d.ts +2 -2
  68. package/lib/types/commands/commands/set-base-view-sort.command.d.ts +2 -2
  69. package/lib/types/commands/utils/base-validation.d.ts +6 -0
  70. package/lib/types/config/config.d.ts +1 -0
  71. package/lib/types/controllers/base-active-dirty.controller.d.ts +5 -6
  72. package/lib/types/controllers/base-formula-calculation.controller.d.ts +8 -14
  73. package/lib/types/embed-host-anchor.d.ts +46 -0
  74. package/lib/types/facade/f-base.d.ts +126 -577
  75. package/lib/types/facade/f-enum.d.ts +117 -89
  76. package/lib/types/facade/f-event.d.ts +240 -132
  77. package/lib/types/facade/f-field.d.ts +137 -313
  78. package/lib/types/facade/f-range.d.ts +86 -326
  79. package/lib/types/facade/f-record.d.ts +93 -216
  80. package/lib/types/facade/f-table.d.ts +473 -1317
  81. package/lib/types/facade/f-types.d.ts +1 -0
  82. package/lib/types/facade/f-univer.d.ts +27 -154
  83. package/lib/types/facade/f-view.d.ts +207 -484
  84. package/lib/types/facade/field-key.d.ts +6 -6
  85. package/lib/types/facade/index.d.ts +10 -20
  86. package/lib/types/fields/field-core-plugin.d.ts +9 -8
  87. package/lib/types/index.d.ts +12 -8
  88. package/lib/types/models/base-cell-data.d.ts +6 -6
  89. package/lib/types/models/default-table.d.ts +13 -0
  90. package/lib/types/ot/json1-adapter.d.ts +3 -3
  91. package/lib/types/ot/json1-invalidation.d.ts +2 -2
  92. package/lib/types/ot/json1-op-applier.d.ts +2 -2
  93. package/lib/types/ot/json1-op-factory.d.ts +11 -8
  94. package/lib/types/plugin.d.ts +0 -1
  95. package/lib/types/search/base-search.d.ts +4 -3
  96. package/lib/types/services/base-active-dirty.service.d.ts +2 -2
  97. package/lib/types/services/base-command.service.d.ts +16 -16
  98. package/lib/types/services/base-compression.service.d.ts +3 -3
  99. package/lib/types/services/base-field-registry.service.d.ts +5 -5
  100. package/lib/types/services/base-formula.service.d.ts +11 -23
  101. package/lib/types/services/base-view-registry.service.d.ts +3 -3
  102. package/lib/types/views/view-core-plugin.d.ts +4 -3
  103. package/lib/umd/facade.js +1 -1
  104. package/lib/umd/index.js +1 -1
  105. package/lib/umd/locale/ar-SA.js +1 -1
  106. package/lib/umd/locale/ca-ES.js +1 -1
  107. package/lib/umd/locale/de-DE.js +1 -1
  108. package/lib/umd/locale/en-US.js +1 -1
  109. package/lib/umd/locale/es-ES.js +1 -1
  110. package/lib/umd/locale/fa-IR.js +1 -1
  111. package/lib/umd/locale/fr-FR.js +1 -1
  112. package/lib/umd/locale/id-ID.js +1 -1
  113. package/lib/umd/locale/it-IT.js +1 -1
  114. package/lib/umd/locale/ja-JP.js +1 -1
  115. package/lib/umd/locale/ko-KR.js +1 -1
  116. package/lib/umd/locale/pl-PL.js +1 -1
  117. package/lib/umd/locale/pt-BR.js +1 -1
  118. package/lib/umd/locale/ru-RU.js +1 -1
  119. package/lib/umd/locale/sk-SK.js +1 -1
  120. package/lib/umd/locale/vi-VN.js +1 -1
  121. package/lib/umd/locale/zh-CN.js +1 -1
  122. package/lib/umd/locale/zh-HK.js +1 -1
  123. package/lib/umd/locale/zh-TW.js +1 -1
  124. package/package.json +7 -8
  125. package/lib/types/controllers/base-remote-formula.controller.d.ts +0 -13
  126. package/lib/types/facade/f-error.d.ts +0 -30
  127. package/lib/types/facade/f-permission.d.ts +0 -749
  128. package/lib/types/facade/transaction.d.ts +0 -19
package/lib/es/index.js CHANGED
@@ -1 +1 @@
1
- const _0x3401ce=_0x4a40;(function(_0xa82aa3,_0x172823){const _0x8a4c6b=_0x4a40,_0x3ff96b=_0xa82aa3();while(!![]){try{const _0x2313f9=parseInt(_0x8a4c6b(0x238))/0x1+parseInt(_0x8a4c6b(0x175))/0x2*(parseInt(_0x8a4c6b(0x36a))/0x3)+-parseInt(_0x8a4c6b(0x2b0))/0x4*(parseInt(_0x8a4c6b(0x37a))/0x5)+-parseInt(_0x8a4c6b(0x1bf))/0x6+parseInt(_0x8a4c6b(0x231))/0x7+parseInt(_0x8a4c6b(0x154))/0x8*(-parseInt(_0x8a4c6b(0x2a5))/0x9)+-parseInt(_0x8a4c6b(0x209))/0xa;if(_0x2313f9===_0x172823)break;else _0x3ff96b['push'](_0x3ff96b['shift']());}catch(_0xb93dba){_0x3ff96b['push'](_0x3ff96b['shift']());}}}(_0x3d2d,0xb1ad7));import{BaseDataModel as _0x214695,CellValueType as _0x44215b,CommandType as _0x33ec1c,DependentOn as _0x51bed4,Disposable as _0x4b5308,ICommandService as _0x27a4ab,IConfigService as _0x29d163,IUndoRedoService as _0x595044,IUniverInstanceService as _0x594baa,Inject as _0x501764,Injector as _0x736133,JSON1 as _0x1811e5,ObjectMatrix as _0x358cd4,Optional as _0x6b4241,Plugin as _0xdb962,Tools as _0x2c5b3b,UniverInstanceType as _0x28d586,createIdentifier as _0x53452b,dateKit as _0x80569f,generateRandomId as _0x425b8e,merge as _0x302022,numfmt as _0x56f9da,toDisposable as _0x200b81,touchDependencies as _0x4ff5ed}from'@univerjs/core';import{IActiveDirtyManagerService as _0x5cedb5,ISuperTableService as _0x3d817d,SetFormulaCalculationResultMutation as _0xd732b0,SetFormulaCalculationStartMutation as _0x78da86,SetFormulaDataMutation as _0x581d70,UniverProFormulaEnginePlugin as _0x48dab4}from'@univerjs-pro/engine-formula';import{UniverLicensePlugin as _0x513848}from'@univerjs-pro/license';import{DataSyncPrimaryController as _0x242116}from'@univerjs/rpc';let ue=0x0;function de(){const _0xe54388=_0x4a40;if(globalThis['__UNIVER_BASE_PERF__']===!0x0)return!0x0;try{let _0x31c027=typeof location>'u'?'':location[_0xe54388(0x358)],_0x11de7b=new URLSearchParams(_0x31c027);if(_0x11de7b[_0xe54388(0x192)](_0xe54388(0x1fa))==='1'||_0x11de7b[_0xe54388(0x192)](_0xe54388(0x1fa))===_0xe54388(0x36d)||_0x11de7b['get'](_0xe54388(0x3f9))==='1')return!0x0;}catch{}try{let _0x13bc9c=typeof localStorage>'u'?null:localStorage[_0xe54388(0x35f)](_0xe54388(0x26b));return _0x13bc9c==='1'||_0x13bc9c===_0xe54388(0x36d);}catch{return!0x1;}}function S(_0x605a71,_0x208558,_0x13c59c){const _0x51e5a3=_0x4a40;if(!de())return _0x208558();let _0x27cd2e=pe(),_0x467c5b=_0x51e5a3(0x25c)+ue++;me(_0x467c5b+':start');try{return _0x208558();}finally{let _0x3c5e74=pe()-_0x27cd2e;me(_0x467c5b+':end'),he(_0x605a71,_0x467c5b+_0x51e5a3(0x273),_0x467c5b+_0x51e5a3(0x1f2)),fe(_0x605a71,_0x3c5e74,_0x13c59c);}}function fe(_0xeb195e,_0xc4cc22,_0x3a0d4d){const _0x319787=_0x4a40;if(!de())return;let _0x233852=Math[_0x319787(0x393)](_0xc4cc22*0x64)/0x64,_0x12df09=_0x3a0d4d&&Object[_0x319787(0x2fe)](_0x3a0d4d)['length']?'\x20'+JSON[_0x319787(0x2e9)](_0x3a0d4d):'';console[_0x319787(0x3d1)](_0x319787(0x386)+_0xeb195e+':\x20'+_0x233852+'ms'+_0x12df09);}function pe(){const _0x4e009b=_0x4a40;return typeof performance<'u'&&typeof performance[_0x4e009b(0x3b2)]==_0x4e009b(0x366)?performance[_0x4e009b(0x3b2)]():Date['now']();}function me(_0x4f9a6f){const _0x3e577e=_0x4a40;try{if(typeof performance<'u'){var _0x2b655c,_0x5ffc5b;(_0x2b655c=(_0x5ffc5b=performance)[_0x3e577e(0x2a9)])==null||_0x2b655c[_0x3e577e(0x1b4)](_0x5ffc5b,_0x4f9a6f);}}catch{}}function he(_0x2e6442,_0x1a0cb5,_0x82e2df){const _0x19cd12=_0x4a40;try{if(typeof performance<'u'){var _0x60297c,_0x1588b6;(_0x60297c=(_0x1588b6=performance)[_0x19cd12(0x357)])==null||_0x60297c['call'](_0x1588b6,_0x19cd12(0x386)+_0x2e6442,_0x1a0cb5,_0x82e2df);}}catch{}}function C(_0x2dc884){const _0x49fc4c=_0x4a40;var _0x264db8,_0x2d2450;return de()?S(_0x49fc4c(0x323),()=>ge(_0x2dc884),{'tableId':_0x2dc884['id'],'records':Object[_0x49fc4c(0x2fe)]((_0x264db8=_0x2dc884[_0x49fc4c(0x320)])==null?{}:_0x264db8)[_0x49fc4c(0x2b1)],'fields':_0x2dc884[_0x49fc4c(0x264)][_0x49fc4c(0x2b1)],'hasRecordOrder':!!((_0x2d2450=_0x2dc884[_0x49fc4c(0x275)])!=null&&_0x2d2450['length'])}):ge(_0x2dc884);}function ge(_0xb42583){const _0x5db352=_0x4a40;var _0x150ea1,_0x4ae8fc,_0x4eb162,_0xd55c10,_0x3c517b,_0x4ea340,_0x354ed9,_0x130c6f,_0xcf9de5,_0x2a70ad;let _0x36985b=(_0x150ea1=_0xb42583[_0x5db352(0x320)])==null?{}:_0x150ea1,_0x10579f=(_0x4ae8fc=_0xb42583['fields'])==null?{}:_0x4ae8fc,_0x1651ba=(_0x4eb162=(_0xd55c10=_0xb42583[_0x5db352(0x275)])==null?void 0x0:_0xd55c10['filter'](_0x5e99a3=>_0x36985b[_0x5e99a3]))==null?[]:_0x4eb162,_0x57dbe9=new Set(_0x1651ba),_0x5f0a5c=Object[_0x5db352(0x288)](_0x36985b)[_0x5db352(0x2db)](_0x3552cd=>!_0x57dbe9[_0x5db352(0x356)](_0x3552cd['id'])),_0x592e3b=_0x5f0a5c['length']?[..._0x1651ba,..._0x5f0a5c[_0x5db352(0x22f)]((_0x345a1c,_0x3349c1)=>_0x345a1c[_0x5db352(0x20e)][_0x5db352(0x16a)](_0x3349c1[_0x5db352(0x20e)]))['map'](_0xddfd9e=>_0xddfd9e['id'])]:_0x1651ba,_0x4ccf96=_0xb42583[_0x5db352(0x264)][_0x5db352(0x2db)](_0x55e1e5=>_0x10579f[_0x55e1e5]),_0x2ad93a={...(_0x3c517b=_0xb42583[_0x5db352(0x21e)])==null?{}:_0x3c517b},_0x9e5122={...(_0x4ea340=_0xb42583[_0x5db352(0x359)])==null?{}:_0x4ea340},_0x1077a1={...(_0x354ed9=_0xb42583[_0x5db352(0x29d)])==null?{}:_0x354ed9};return _0xb42583[_0x5db352(0x275)]=_0x592e3b,_0xb42583[_0x5db352(0x1dd)]={},_0xb42583[_0x5db352(0x21e)]={},_0xb42583[_0x5db352(0x3e6)]={},_0xb42583[_0x5db352(0x359)]={},_0xb42583[_0x5db352(0x29d)]={},_0xb42583['resources']={...(_0x130c6f=_0xb42583[_0x5db352(0x244)])==null?{}:_0x130c6f},_0xb42583[_0x5db352(0x244)][_0x5db352(0x1e0)]={...(_0xcf9de5=_0xb42583[_0x5db352(0x244)][_0x5db352(0x1e0)])==null?{}:_0xcf9de5},_0xb42583['resources'][_0x5db352(0x2a4)]={...(_0x2a70ad=_0xb42583[_0x5db352(0x244)]['attachments'])==null?{}:_0x2a70ad},_0x592e3b[_0x5db352(0x3f4)]((_0x286dea,_0x4c466b)=>{const _0x51a30e=_0x5db352;_0xb42583['rowIndex'][_0x286dea]=_0x4c466b,_0xb42583[_0x51a30e(0x21e)][_0x4c466b]=_0x286dea;}),_0x4ccf96[_0x5db352(0x3f4)]((_0x246131,_0x39868a)=>{const _0xf43135=_0x5db352;_0xb42583['colIndex'][_0x246131]=_0x39868a,_0xb42583[_0xf43135(0x359)][_0x39868a]=_0x246131;}),Object[_0x5db352(0x184)](_0x1077a1)['forEach'](([_0x449644,_0x20af6c])=>{const _0x4f2fbe=_0x5db352;var _0x4c9cbe,_0x1ed3dd;let _0x334376=Number(_0x449644),_0x169596=(_0x4c9cbe=_0x2ad93a[_0x334376])==null?_0x592e3b[_0x334376]:_0x4c9cbe,_0xeb25ed=_0x169596?_0xb42583[_0x4f2fbe(0x1dd)][_0x169596]:void 0x0;_0xeb25ed!=null&&(_0xb42583[_0x4f2fbe(0x29d)][_0xeb25ed]={...(_0x1ed3dd=_0xb42583[_0x4f2fbe(0x29d)][_0xeb25ed])==null?{}:_0x1ed3dd},Object[_0x4f2fbe(0x184)](_0x20af6c==null?{}:_0x20af6c)[_0x4f2fbe(0x3f4)](([_0x479303,_0x18c03c])=>{const _0xf1cb0=_0x4f2fbe;var _0x5ad270;let _0x13508f=Number(_0x479303),_0x59b0f5=(_0x5ad270=_0x9e5122[_0x13508f])==null?_0x4ccf96[_0x13508f]:_0x5ad270,_0xcfda28=_0x59b0f5?_0xb42583[_0xf1cb0(0x3e6)][_0x59b0f5]:void 0x0;_0xcfda28!=null&&(_0xb42583[_0xf1cb0(0x29d)][_0xeb25ed][_0xcfda28]=Ce(_0x18c03c));}));}),Object[_0x5db352(0x288)](_0x36985b)[_0x5db352(0x3f4)](_0x48a6a8=>{const _0x468218=_0x5db352;var _0xadf135,_0x2defcb;let _0x4584a0=_0xb42583[_0x468218(0x1dd)][_0x48a6a8['id']];_0x4584a0!=null&&(_0xb42583[_0x468218(0x29d)][_0x4584a0]={...(_0xadf135=_0xb42583[_0x468218(0x29d)][_0x4584a0])==null?{}:_0xadf135},Object[_0x468218(0x184)]((_0x2defcb=_0x48a6a8['values'])==null?{}:_0x2defcb)['forEach'](([_0x45432c,_0x460b28])=>{const _0x1fce6b=_0x468218;let _0x10343c=_0x10579f[_0x45432c];(_0x10343c==null?void 0x0:_0x10343c['type'])===_0x1fce6b(0x375)&&Oe(_0xb42583,_0x48a6a8['id'],_0x45432c,_0x460b28);let _0xccba62=_0xb42583[_0x1fce6b(0x3e6)][_0x45432c];if(_0xccba62==null)return;let _0x10c99a=_0xb42583[_0x1fce6b(0x29d)][_0x4584a0][_0xccba62];if(_0x10c99a!=null){je(_0x10c99a,_0x10343c,_0x460b28)&&(_0xb42583[_0x1fce6b(0x29d)][_0x4584a0][_0xccba62]=w(_0x460b28,_0x10343c));return;}_0xb42583['cellData'][_0x4584a0][_0xccba62]=w(_0x460b28,_0x10343c);}));}),_0xb42583;}function _e(_0x1edd94){const _0xc5182e=_0x4a40;var _0x23fd80;return C(_0x1edd94),Object[_0xc5182e(0x184)]((_0x23fd80=_0x1edd94[_0xc5182e(0x21e)])==null?{}:_0x23fd80)[_0xc5182e(0x3f4)](([_0x26e5ea,_0xf4cee3])=>{const _0x4a96fb=_0xc5182e;var _0x347ef1,_0x212092,_0x42516d;let _0x3819e5=Number(_0x26e5ea),_0x57ff6f=_0x1edd94['records'][_0xf4cee3];_0x57ff6f&&(_0x57ff6f[_0x4a96fb(0x288)]={...(_0x347ef1=_0x57ff6f[_0x4a96fb(0x288)])==null?{}:_0x347ef1},Object[_0x4a96fb(0x184)]((_0x212092=(_0x42516d=_0x1edd94[_0x4a96fb(0x29d)])==null?void 0x0:_0x42516d[_0x3819e5])==null?{}:_0x212092)[_0x4a96fb(0x3f4)](([_0x250b5f,_0x521da4])=>{const _0xc04f0=_0x4a96fb;var _0x4cc0f7;let _0xa76692=(_0x4cc0f7=_0x1edd94[_0xc04f0(0x359)])==null?void 0x0:_0x4cc0f7[Number(_0x250b5f)];_0xa76692&&(_0x57ff6f[_0xc04f0(0x288)][_0xa76692]=we(_0x521da4,_0x1edd94[_0xc04f0(0x204)][_0xa76692],_0x1edd94,_0xf4cee3));}));}),_0x1edd94;}function ve(_0x4b4c3a,_0x250892){const _0x24aa0a=_0x4a40;for(let {row:_0xdde7d7,col:_0x33f58b}of _0x250892){var _0x1169eb,_0x49990a,_0x8d0959,_0x15592b;let _0xd6dc7e=(_0x1169eb=_0x4b4c3a[_0x24aa0a(0x21e)])==null?void 0x0:_0x1169eb[_0xdde7d7],_0x2ad4d1=(_0x49990a=_0x4b4c3a[_0x24aa0a(0x359)])==null?void 0x0:_0x49990a[_0x33f58b],_0xfc3875=_0xd6dc7e?_0x4b4c3a[_0x24aa0a(0x320)][_0xd6dc7e]:void 0x0;!_0xfc3875||!_0x2ad4d1||(_0xfc3875['values']={...(_0x8d0959=_0xfc3875['values'])==null?{}:_0x8d0959},_0xfc3875[_0x24aa0a(0x288)][_0x2ad4d1]=we((_0x15592b=_0x4b4c3a[_0x24aa0a(0x29d)])==null||(_0x15592b=_0x15592b[_0xdde7d7])==null?void 0x0:_0x15592b[_0x33f58b],_0x4b4c3a[_0x24aa0a(0x204)][_0x2ad4d1],_0x4b4c3a,_0xd6dc7e));}return _0x4b4c3a;}function ye(_0x5e60b7,_0x1a0d94,_0x3a5d00){const _0x5dd9aa=_0x4a40;var _0x43a4a2,_0x1ad7f4,_0x4ce9af,_0x123e73,_0x69dca,_0x57935c;let _0x1f6c09=(_0x43a4a2=_0x5e60b7[_0x5dd9aa(0x1dd)])==null?void 0x0:_0x43a4a2[_0x1a0d94],_0x514f50=(_0x1ad7f4=_0x5e60b7[_0x5dd9aa(0x3e6)])==null?void 0x0:_0x1ad7f4[_0x3a5d00];if(_0x1f6c09!=null&&_0x514f50!=null&&((_0x4ce9af=_0x5e60b7[_0x5dd9aa(0x21e)])==null?void 0x0:_0x4ce9af[_0x1f6c09])===_0x1a0d94&&((_0x123e73=_0x5e60b7['colId'])==null?void 0x0:_0x123e73[_0x514f50])===_0x3a5d00)return{'row':_0x1f6c09,'col':_0x514f50};let _0x3d02df=C(_0x5e60b7),_0x169d9a=(_0x69dca=_0x3d02df[_0x5dd9aa(0x1dd)])==null?void 0x0:_0x69dca[_0x1a0d94],_0x68e835=(_0x57935c=_0x3d02df['colIndex'])==null?void 0x0:_0x57935c[_0x3a5d00];return _0x169d9a==null||_0x68e835==null?null:{'row':_0x169d9a,'col':_0x68e835};}function be(_0x1778c2,_0x304c59,_0x4836ee){const _0x555f5e=_0x4a40;var _0x1908dd;let _0x54379e=ye(_0x1778c2,_0x304c59,_0x4836ee);if(_0x54379e)return(_0x1908dd=_0x1778c2[_0x555f5e(0x29d)])==null||(_0x1908dd=_0x1908dd[_0x54379e[_0x555f5e(0x2d5)]])==null?void 0x0:_0x1908dd[_0x54379e[_0x555f5e(0x3e2)]];}function xe(_0x316444,_0x3e79ea,_0x275c1e){const _0x439563=_0x4a40;var _0x243386,_0x4eb0c9;let _0x4d6a4d=be(_0x316444,_0x3e79ea,_0x275c1e),_0x2f406e=_0x316444[_0x439563(0x204)][_0x275c1e];if((_0x2f406e==null?void 0x0:_0x2f406e[_0x439563(0x1b1)])===_0x439563(0x375)){var _0x42ae08,_0x2b9e60;return(_0x42ae08=ke(_0x316444,_0x3e79ea,_0x275c1e))==null?T((_0x2b9e60=_0x316444[_0x439563(0x320)][_0x3e79ea])==null||(_0x2b9e60=_0x2b9e60[_0x439563(0x288)])==null?void 0x0:_0x2b9e60[_0x275c1e]):_0x42ae08;}if(E(_0x2f406e)||(_0x2f406e==null?void 0x0:_0x2f406e[_0x439563(0x1b1)])===_0x439563(0x2ff)){var _0x902cba;let _0x5d1912=(_0x902cba=_0x316444['records'][_0x3e79ea])==null||(_0x902cba=_0x902cba['values'])==null?void 0x0:_0x902cba[_0x275c1e];return _0x5d1912!=null&&_0x5d1912!==''?Ae(_0x5d1912,_0x2f406e):we(_0x4d6a4d,_0x2f406e,_0x316444,_0x3e79ea);}if(_0x4d6a4d&&Object[_0x439563(0x402)][_0x439563(0x224)]['call'](_0x4d6a4d,'v')){var _0x5d942e;return(_0x5d942e=_0x4d6a4d['v'])==null?null:_0x5d942e;}return(_0x243386=(_0x4eb0c9=_0x316444[_0x439563(0x320)][_0x3e79ea])==null||(_0x4eb0c9=_0x4eb0c9['values'])==null?void 0x0:_0x4eb0c9[_0x275c1e])==null?null:_0x243386;}function Se(_0x51b1ab,_0xc51bbb,_0x4b643d){const _0x2cf760=_0x4a40;var _0x1c4638,_0x35532c,_0x53e32f;let _0x29e247=be(_0x51b1ab,_0xc51bbb,_0x4b643d);if(_0x29e247&&Object['prototype'][_0x2cf760(0x224)][_0x2cf760(0x1b4)](_0x29e247,'v')){var _0xf878c3;return(_0xf878c3=_0x29e247['v'])==null?null:_0xf878c3;}let _0xa56a7=_0x51b1ab['fields'][_0x4b643d];return(_0x1c4638=w((_0x35532c=(_0x53e32f=_0x51b1ab[_0x2cf760(0x320)][_0xc51bbb])==null||(_0x53e32f=_0x53e32f[_0x2cf760(0x288)])==null?void 0x0:_0x53e32f[_0x4b643d])==null?null:_0x35532c,_0xa56a7)['v'])==null?null:_0x1c4638;}function w(_0x2f94d7,_0x3f730c){const _0xe67502=_0x4a40;if(Ee(_0x2f94d7))return(_0x3f730c==null?void 0x0:_0x3f730c[_0xe67502(0x1b1)])===_0xe67502(0x375)?{..._0x2f94d7,'v':'','t':_0x44215b['STRING']}:Ce(_0x2f94d7);if((_0x3f730c==null?void 0x0:_0x3f730c[_0xe67502(0x1b1)])===_0xe67502(0x375))return{'v':'','t':_0x44215b[_0xe67502(0x1ec)]};if(E(_0x3f730c))return{'v':Me(_0x2f94d7)[_0xe67502(0x1dc)](',\x20'),'t':_0x44215b[_0xe67502(0x1ec)]};if((_0x3f730c==null?void 0x0:_0x3f730c[_0xe67502(0x1b1)])===_0xe67502(0x2ff)&&_0x2f94d7&&typeof _0x2f94d7==_0xe67502(0x331)&&!Array[_0xe67502(0x23e)](_0x2f94d7)){var _0x1c5a77,_0x40ce46;let _0x441b19=_0x2f94d7;return{'v':String((_0x1c5a77=(_0x40ce46=_0x441b19[_0xe67502(0x1a1)])==null?_0x441b19[_0xe67502(0x3af)]:_0x40ce46)==null?'':_0x1c5a77),'t':_0x44215b[_0xe67502(0x1ec)]};}return _0x2f94d7===null||typeof _0x2f94d7=='string'||typeof _0x2f94d7==_0xe67502(0x1e4)||typeof _0x2f94d7==_0xe67502(0x2b2)?{'v':_0x2f94d7,'t':Pe(_0x2f94d7)}:{'v':null,'t':null};}function Ce(_0x17f3ab){let _0x4f55ed=Fe(_0x17f3ab['t'],_0x17f3ab['v']);if(_0x4f55ed===void 0x0){let {t:_0x4c003f,..._0x48ea03}=_0x17f3ab;return _0x48ea03;}return{..._0x17f3ab,'t':_0x4f55ed};}function we(_0x49c076,_0x4c9220,_0x1360c3,_0x789349){const _0x44c4cf=_0x4a40;if(!_0x49c076)return null;if((_0x4c9220==null?void 0x0:_0x4c9220['type'])===_0x44c4cf(0x375)){var _0x5a0ce0;return _0x1360c3&&_0x789349?(_0x5a0ce0=ke(_0x1360c3,_0x789349,_0x4c9220['id']))==null?[]:_0x5a0ce0:[];}if(E(_0x4c9220))return Me(_0x49c076['v']);if((_0x4c9220==null?void 0x0:_0x4c9220['type'])===_0x44c4cf(0x2ff)&&_0x1360c3&&_0x789349){var _0x5e4d10;let _0x11f15e=(_0x5e4d10=_0x1360c3[_0x44c4cf(0x320)][_0x789349])==null||(_0x5e4d10=_0x5e4d10[_0x44c4cf(0x288)])==null?void 0x0:_0x5e4d10[_0x4c9220['id']];if(_0x11f15e&&typeof _0x11f15e==_0x44c4cf(0x331)&&!Array['isArray'](_0x11f15e))return _0x11f15e;}if(Object['prototype']['hasOwnProperty'][_0x44c4cf(0x1b4)](_0x49c076,'v')){var _0x32b764;return(_0x32b764=_0x49c076['v'])==null?null:_0x32b764;}return null;}function Te(_0x2b4584,_0x218390,_0x213cc6,_0xb30baa,_0x1f8660){const _0x41bd84=_0x4a40;return(_0x213cc6==null?void 0x0:_0x213cc6['type'])==='attachment'?T(_0x2b4584):E(_0x213cc6)?Me(_0x2b4584):(_0x213cc6==null?void 0x0:_0x213cc6[_0x41bd84(0x1b1)])===_0x41bd84(0x2ff)&&_0x2b4584&&typeof _0x2b4584==_0x41bd84(0x331)&&!Array[_0x41bd84(0x23e)](_0x2b4584)&&!Ee(_0x2b4584)?_0x2b4584:we(_0x218390,_0x213cc6,_0xb30baa,_0x1f8660);}function Ee(_0xe27a0e){const _0x569ac3=_0x4a40;return!!_0xe27a0e&&typeof _0xe27a0e==_0x569ac3(0x331)&&(Object['prototype'][_0x569ac3(0x224)][_0x569ac3(0x1b4)](_0xe27a0e,'v')||Object[_0x569ac3(0x402)]['hasOwnProperty'][_0x569ac3(0x1b4)](_0xe27a0e,'t')||Object[_0x569ac3(0x402)]['hasOwnProperty'][_0x569ac3(0x1b4)](_0xe27a0e,'p')||Object[_0x569ac3(0x402)]['hasOwnProperty'][_0x569ac3(0x1b4)](_0xe27a0e,'f')||Object[_0x569ac3(0x402)][_0x569ac3(0x224)]['call'](_0xe27a0e,'si'));}function De(_0x13cf6c,_0x584cb5){return _0x13cf6c+'\x1f'+_0x584cb5;}function Oe(_0x388e39,_0x169727,_0x322726,_0x50b766){const _0x2242fa=_0x4a40;var _0x427fdd,_0x125bee,_0x5992ce;let _0x1b50dd=T(_0x50b766);_0x388e39[_0x2242fa(0x244)]={...(_0x427fdd=_0x388e39[_0x2242fa(0x244)])==null?{}:_0x427fdd},_0x388e39[_0x2242fa(0x244)][_0x2242fa(0x1e0)]={...(_0x125bee=_0x388e39[_0x2242fa(0x244)][_0x2242fa(0x1e0)])==null?{}:_0x125bee},_0x388e39['resources']['attachments']={...(_0x5992ce=_0x388e39[_0x2242fa(0x244)][_0x2242fa(0x2a4)])==null?{}:_0x5992ce};let _0x34ff4b=De(_0x322726,_0x169727);_0x388e39[_0x2242fa(0x244)][_0x2242fa(0x1e0)][_0x34ff4b]=_0x1b50dd[_0x2242fa(0x1d3)]((_0x2f9daf,_0x455fcc)=>{const _0x2297b8=_0x2242fa;var _0x43e68f;let _0x19e2b4=String((_0x43e68f=_0x2f9daf['id'])==null?_0x34ff4b+'\x1f'+_0x455fcc:_0x43e68f),_0x366bf6={..._0x2f9daf,'id':_0x19e2b4};return _0x388e39[_0x2297b8(0x244)][_0x2297b8(0x2a4)][_0x19e2b4]=_0x366bf6,_0x19e2b4;});}function ke(_0x3f6d6d,_0x3542fb,_0x3ca4fa){const _0x49709b=_0x4a40;var _0x47954e;let _0x1b69ff=De(_0x3ca4fa,_0x3542fb),_0x4f45b8=(_0x47954e=_0x3f6d6d['resources'])==null||(_0x47954e=_0x47954e[_0x49709b(0x1e0)])==null?void 0x0:_0x47954e[_0x1b69ff];return _0x4f45b8?_0x4f45b8[_0x49709b(0x1d3)](_0x1c39cb=>{const _0x277ece=_0x49709b;var _0x4a96e3;return(_0x4a96e3=_0x3f6d6d[_0x277ece(0x244)])==null||(_0x4a96e3=_0x4a96e3[_0x277ece(0x2a4)])==null?void 0x0:_0x4a96e3[_0x1c39cb];})['filter'](_0x3a08f8=>!!_0x3a08f8)[_0x49709b(0x1d3)](_0x5c8933=>({..._0x5c8933})):null;}function T(_0x1cda29){const _0x83030d=_0x4a40;return _0x1cda29==null||_0x1cda29===''||Ee(_0x1cda29)&&!('id'in _0x1cda29)&&!('name'in _0x1cda29)?[]:(Array['isArray'](_0x1cda29)?_0x1cda29:[_0x1cda29])[_0x83030d(0x1d3)]((_0x5e10e5,_0x58eadc)=>_0x5e10e5&&typeof _0x5e10e5==_0x83030d(0x331)?{..._0x5e10e5}:{'id':_0x83030d(0x205)+_0x58eadc,'name':String(_0x5e10e5)})[_0x83030d(0x2db)](_0x1dc9dd=>Object[_0x83030d(0x2fe)](_0x1dc9dd)['length']>0x0);}function Ae(_0x3483e4,_0x2f41f9){const _0x1665b0=_0x4a40;return(_0x2f41f9==null?void 0x0:_0x2f41f9[_0x1665b0(0x1b1)])===_0x1665b0(0x375)?T(_0x3483e4):E(_0x2f41f9)?Me(_0x3483e4):_0x3483e4;}function je(_0x4d9ab6,_0x171213,_0x309a5e){const _0x5d65e6=_0x4a40;return(_0x171213==null?void 0x0:_0x171213[_0x5d65e6(0x1b1)])==='attachment'?_0x4d9ab6['v']!=='':E(_0x171213)?Array[_0x5d65e6(0x23e)](_0x309a5e)&&(_0x4d9ab6['v']==null||_0x4d9ab6['v']===''):!0x1;}function E(_0x4a45dd){const _0x1a04f0=_0x4a40;return(_0x4a45dd==null?void 0x0:_0x4a45dd[_0x1a04f0(0x1b1)])===_0x1a04f0(0x380)||(_0x4a45dd==null?void 0x0:_0x4a45dd[_0x1a04f0(0x1b1)])===_0x1a04f0(0x3e3)||(_0x4a45dd==null?void 0x0:_0x4a45dd['type'])===_0x1a04f0(0x403);}function Me(_0x25ea99){const _0x2214f3=_0x4a40;return _0x25ea99==null||_0x25ea99===''?[]:Array[_0x2214f3(0x23e)](_0x25ea99)?_0x25ea99['map'](_0x13d6ef=>Ne(_0x13d6ef))[_0x2214f3(0x2db)](Boolean):String(_0x25ea99)[_0x2214f3(0x3ef)](',')[_0x2214f3(0x1d3)](_0x276f64=>_0x276f64[_0x2214f3(0x297)]())[_0x2214f3(0x2db)](Boolean);}function Ne(_0x10f6ea){const _0xd3cae5=_0x4a40;if(_0x10f6ea==null)return'';if(typeof _0x10f6ea==_0xd3cae5(0x3f7)||typeof _0x10f6ea==_0xd3cae5(0x1e4)||typeof _0x10f6ea==_0xd3cae5(0x2b2))return String(_0x10f6ea);if(typeof _0x10f6ea=='object'){var _0x3920d9,_0x1e5db3,_0x1a4258;let _0x362bf6=_0x10f6ea;return String((_0x3920d9=(_0x1e5db3=(_0x1a4258=_0x362bf6['id'])==null?_0x362bf6[_0xd3cae5(0x1fe)]:_0x1a4258)==null?_0x362bf6['text']:_0x1e5db3)==null?'':_0x3920d9);}return String(_0x10f6ea);}function Pe(_0x5546f5){const _0x1f1ac4=_0x4a40;return _0x5546f5==null?null:typeof _0x5546f5==_0x1f1ac4(0x1e4)?_0x44215b['NUMBER']:typeof _0x5546f5==_0x1f1ac4(0x2b2)?_0x44215b[_0x1f1ac4(0x2d8)]:_0x44215b[_0x1f1ac4(0x1ec)];}function Fe(_0x1665a0,_0x41b892){const _0x42d28f=_0x4a40;return _0x1665a0===_0x44215b[_0x42d28f(0x1ec)]||_0x1665a0===_0x44215b[_0x42d28f(0x3fd)]||_0x1665a0===_0x44215b['BOOLEAN']||_0x1665a0===_0x44215b[_0x42d28f(0x302)]||_0x1665a0==null?_0x1665a0:Pe(_0x41b892==null?null:_0x41b892);}var D=class{[_0x3401ce(0x197)](_0x2dac25,_0x2be471){const _0x296106=_0x3401ce;let _0x46e9f2=this[_0x296106(0x19a)](_0x2be471),_0x1a7d97=S(_0x296106(0x26e),()=>Ue(_0x2dac25,_0x2be471),{'invalidations':_0x46e9f2['length']}),_0x57c492=S(_0x296106(0x206),()=>_0x1811e5[_0x296106(0x1b1)][_0x296106(0x39e)](_0x1a7d97,_0x2be471),{'invalidations':_0x46e9f2[_0x296106(0x2b1)]});return Ie(_0x57c492,_0x46e9f2)||this[_0x296106(0x3c1)](_0x57c492,_0x46e9f2)[_0x296106(0x3f4)](_0x1ce559=>{_e(_0x1ce559);}),_0x57c492;}[_0x3401ce(0x3ee)](_0x1cb14b,_0x16f878){const _0x3ca819=_0x3401ce;return _0x1811e5[_0x3ca819(0x1b1)][_0x3ca819(0x2e1)](_0x16f878,_0x1cb14b);}[_0x3401ce(0x19a)](_0x16f982){const _0x56dd1c=_0x3401ce;let _0x133df2=Be(_0x16f982);return _0x133df2[_0x56dd1c(0x2b1)]?Ve(_0x133df2[_0x56dd1c(0x278)](_0x59f165=>this[_0x56dd1c(0x19a)](_0x59f165))):Le(_0x16f982);}['_getTablesToNormalize'](_0x17ef47,_0x5e6350){const _0x56fc48=_0x3401ce;if(!_0x5e6350['length'])return[];if(_0x5e6350[_0x56fc48(0x341)](_0x43eb6f=>!_0x43eb6f[_0x56fc48(0x18a)])){var _0x3d7204;return Object[_0x56fc48(0x288)]((_0x3d7204=_0x17ef47[_0x56fc48(0x391)])==null?{}:_0x3d7204);}return Array[_0x56fc48(0x33e)](new Set(_0x5e6350[_0x56fc48(0x1d3)](_0x221d85=>_0x221d85['tableId'])))[_0x56fc48(0x278)](_0x7263b6=>{const _0x4b54ba=_0x56fc48;var _0x8dc44e;let _0x39aa2f=(_0x8dc44e=_0x17ef47[_0x4b54ba(0x391)])==null?void 0x0:_0x8dc44e[_0x7263b6];return _0x39aa2f?[_0x39aa2f]:[];});}};function Ie(_0x439785,_0x5008c2){const _0x599937=_0x3401ce;if(!_0x5008c2[_0x599937(0x2b1)]||_0x5008c2['some'](_0x56eeb1=>_0x56eeb1[_0x599937(0x35d)]!==_0x599937(0x3ad)))return!0x1;let _0x3b5c9e=new Map();for(let _0x44901d of _0x5008c2){var _0x2050f3;if(!_0x44901d[_0x599937(0x18a)]||_0x44901d[_0x599937(0x2d5)]==null||_0x44901d[_0x599937(0x311)]==null)continue;let _0x4a91b9=(_0x2050f3=_0x3b5c9e[_0x599937(0x192)](_0x44901d['tableId']))==null?[]:_0x2050f3;_0x4a91b9[_0x599937(0x2b5)]({'row':_0x44901d['row'],'col':_0x44901d[_0x599937(0x311)]}),_0x3b5c9e[_0x599937(0x270)](_0x44901d[_0x599937(0x18a)],_0x4a91b9);}return _0x3b5c9e[_0x599937(0x3f4)]((_0x79bb70,_0x23de87)=>{var _0x22154f;let _0x3d050c=(_0x22154f=_0x439785['tables'])==null?void 0x0:_0x22154f[_0x23de87];_0x3d050c&&ve(_0x3d050c,_0x79bb70);}),!0x0;}function Le(_0x687ae){const _0x14e1ca=_0x3401ce;if(!Array[_0x14e1ca(0x23e)](_0x687ae)||_0x687ae[_0x14e1ca(0x2b1)]<0x2)return[{'tableId':'','reason':_0x14e1ca(0x3f2)}];let _0x5b0d79=_0x687ae,_0x2c7d69=_0x5b0d79[_0x14e1ca(0x255)](_0x14e1ca(0x391));return _0x2c7d69===-0x1||typeof _0x5b0d79[_0x2c7d69+0x1]!=_0x14e1ca(0x3f7)?_0x5b0d79[0x0]===_0x14e1ca(0x207)?[]:[{'tableId':'','reason':'unknown'}]:Re(_0x5b0d79,_0x2c7d69,String(_0x5b0d79[_0x2c7d69+0x1]));}function Re(_0x868db5,_0x3c2505,_0x5e12fe){const _0x47900f=_0x3401ce;let _0x3fcb04=_0x868db5[_0x3c2505+0x2];return _0x3fcb04===_0x47900f(0x320)&&typeof _0x868db5[_0x3c2505+0x3]==_0x47900f(0x3f7)?ze(_0x868db5,_0x3c2505,_0x5e12fe,String(_0x868db5[_0x3c2505+0x3])):_0x3fcb04==='cellData'&&_0x868db5[_0x3c2505+0x3]!=null&&_0x868db5[_0x3c2505+0x4]!=null?[{'tableId':_0x5e12fe,'reason':_0x47900f(0x3ad),'row':Number(_0x868db5[_0x3c2505+0x3]),'column':Number(_0x868db5[_0x3c2505+0x4])}]:_0x3fcb04===_0x47900f(0x204)&&typeof _0x868db5[_0x3c2505+0x3]=='string'?[{'tableId':_0x5e12fe,'reason':_0x47900f(0x1a4),'fieldId':String(_0x868db5[_0x3c2505+0x3])}]:_0x3fcb04===_0x47900f(0x2ae)&&typeof _0x868db5[_0x3c2505+0x3]==_0x47900f(0x3f7)?[{'tableId':_0x5e12fe,'reason':'view','viewId':String(_0x868db5[_0x3c2505+0x3])}]:[{'tableId':_0x5e12fe,'reason':_0x3fcb04===void 0x0?_0x47900f(0x39c):_0x47900f(0x3f2)}];}function ze(_0x31e2dc,_0x2eead3,_0x3acac5,_0x397938){const _0x4b5e63=_0x3401ce;return _0x31e2dc[_0x2eead3+0x4]===_0x4b5e63(0x288)&&typeof _0x31e2dc[_0x2eead3+0x5]==_0x4b5e63(0x3f7)?[{'tableId':_0x3acac5,'reason':'cell','recordId':_0x397938,'fieldId':String(_0x31e2dc[_0x2eead3+0x5])}]:_0x31e2dc[_0x2eead3+0x4]===_0x4b5e63(0x1c8)||_0x31e2dc[_0x2eead3+0x4]===_0x4b5e63(0x389)?[]:[{'tableId':_0x3acac5,'reason':_0x4b5e63(0x305),'recordId':_0x397938}];}function Be(_0x57c368){const _0xfaed5c=_0x3401ce;if(!Array['isArray'](_0x57c368))return[];let _0x367a98=_0x57c368[_0xfaed5c(0x2db)](Array['isArray']);if(_0x367a98[_0xfaed5c(0x2b1)]>0x1&&_0x367a98[_0xfaed5c(0x2b1)]===_0x57c368[_0xfaed5c(0x2b1)])return _0x367a98;let _0x14868a=_0x57c368[_0xfaed5c(0x3a8)](Array[_0xfaed5c(0x23e)]);if(_0x14868a>0x0&&_0x57c368[_0xfaed5c(0x18b)](_0x14868a)[_0xfaed5c(0x27b)](Array[_0xfaed5c(0x23e)])){let _0x1ee95d=_0x57c368[_0xfaed5c(0x18b)](0x0,_0x14868a);return _0x57c368[_0xfaed5c(0x18b)](_0x14868a)[_0xfaed5c(0x1d3)](_0x1641fe=>[..._0x1ee95d,..._0x1641fe]);}let _0x22989b=_0x57c368['indexOf'](_0xfaed5c(0x391));if(_0x22989b===-0x1||typeof _0x57c368[_0x22989b+0x1]!=_0xfaed5c(0x3f7))return[];let _0x2fe4b5=String(_0x57c368[_0x22989b+0x1]),_0xa7ac57=_0x57c368['slice'](_0x22989b+0x2)[_0xfaed5c(0x2db)](Array[_0xfaed5c(0x23e)]);return _0xa7ac57[_0xfaed5c(0x2b1)]<=0x1?[]:_0xa7ac57[_0xfaed5c(0x1d3)](_0x28be10=>['tables',_0x2fe4b5,..._0x28be10]);}function Ve(_0x307ec8){const _0x397d33=_0x3401ce;let _0x440299=new Set();return _0x307ec8[_0x397d33(0x2db)](_0x29a53f=>{const _0x29e772=_0x397d33;let _0x249efd=JSON[_0x29e772(0x2e9)](_0x29a53f);return _0x440299['has'](_0x249efd)?!0x1:(_0x440299['add'](_0x249efd),!0x0);});}function He(_0x248e44){const _0x8b690e=_0x3401ce;return _0x2c5b3b[_0x8b690e(0x328)](_0x248e44);}function Ue(_0x5a8fb6,_0x37f0e2){let _0x5a1315=We(_0x37f0e2);if(!_0x5a1315['length'])return He(_0x5a8fb6);let _0x178074=Ye(_0x5a8fb6);for(let _0x5c6bc9 of _0x5a1315)qe(_0x178074,_0x5c6bc9);return _0x178074;}function We(_0x84cc33){let _0x4e206b=[];return Ge(_0x84cc33,[],_0x4e206b),_0x4e206b;}function Ge(_0x43e32c,_0x5981bc,_0x5243bb){const _0x60983c=_0x3401ce;if(!Array['isArray'](_0x43e32c))return;let _0x5b6f93=[];for(let _0x5a1a95 of _0x43e32c){if(Array[_0x60983c(0x23e)](_0x5a1a95)){Ge(_0x5a1a95,[..._0x5981bc,..._0x5b6f93],_0x5243bb);continue;}if(Ke(_0x5a1a95)){_0x5243bb[_0x60983c(0x2b5)]([..._0x5981bc,..._0x5b6f93]);continue;}(typeof _0x5a1a95==_0x60983c(0x3f7)||typeof _0x5a1a95==_0x60983c(0x1e4))&&_0x5b6f93[_0x60983c(0x2b5)](_0x5a1a95);}}function Ke(_0x3c4c2f){const _0x12bbb8=_0x3401ce;if(!_0x3c4c2f||typeof _0x3c4c2f!=_0x12bbb8(0x331)||Array[_0x12bbb8(0x23e)](_0x3c4c2f))return!0x1;let _0x4a0999=_0x3c4c2f;return'i'in _0x4a0999||'r'in _0x4a0999||'p'in _0x4a0999||'d'in _0x4a0999||'es'in _0x4a0999||'ena'in _0x4a0999||'et'in _0x4a0999;}function qe(_0x1d71d4,_0x445d50){const _0x23b7fb=_0x3401ce;let _0x164b9e=_0x1d71d4;for(let _0x54ef06=0x0;_0x54ef06<_0x445d50[_0x23b7fb(0x2b1)]-0x1;_0x54ef06++){let _0x2972ff=_0x445d50[_0x54ef06],_0x1ddd77=_0x164b9e==null?void 0x0:_0x164b9e[_0x2972ff];if(!Je(_0x1ddd77))return;let _0x1f62bc=Ye(_0x1ddd77);_0x164b9e[_0x2972ff]=_0x1f62bc,_0x164b9e=_0x1f62bc;}}function Je(_0x4ab977){const _0xacdf9c=_0x3401ce;return!!_0x4ab977&&typeof _0x4ab977==_0xacdf9c(0x331);}function _0x4a40(_0x56fb35,_0x310a1f){_0x56fb35=_0x56fb35-0x154;const _0x3d2d6b=_0x3d2d();let _0x4a40e2=_0x3d2d6b[_0x56fb35];return _0x4a40e2;}function Ye(_0x557086){const _0x4fdf84=_0x3401ce;return Array[_0x4fdf84(0x23e)](_0x557086)?_0x557086[_0x4fdf84(0x18b)]():{..._0x557086};}const Xe=0x5a0*0x3c*0x3e8,Ze=0x63e1,Qe=_0x3401ce(0x3bf),$e={'yyyy/mm/dd':_0x3401ce(0x185),'yyyy/mm/dd\x20hh:mm':_0x3401ce(0x1d7),'yyyy-mm-dd':_0x3401ce(0x3ed),'mm-dd':'MM-DD','mm/dd/yyyy':'MM/DD/YYYY','dd/mm/yyyy':_0x3401ce(0x406),'mmm\x20d,\x20yyyy':_0x3401ce(0x3a5)};function O(_0x375c7a){const _0x8f7108=_0x3401ce;return _0x80569f(_0x375c7a)[_0x8f7108(0x248)]()/Xe+Ze;}function et(_0x9876bf){return(_0x9876bf-Ze)*Xe;}function k(_0xc2d273){const _0x10c6a3=_0x3401ce;if(_0xc2d273==null||_0xc2d273==='')return null;if(_0xc2d273 instanceof Date)return O(_0xc2d273);if(typeof _0xc2d273==_0x10c6a3(0x1e4))return Number[_0x10c6a3(0x2fd)](_0xc2d273)?_0xc2d273>0xf4240?O(_0xc2d273):_0xc2d273:null;let _0x148737=Date['parse'](String(_0xc2d273));return Number['isNaN'](_0x148737)?null:O(_0x148737);}function A(_0x295149){let _0x3b323f=k(_0x295149);return _0x3b323f==null?null:et(_0x3b323f);}function _0x3d2d(){const _0x44c977=['_kanbanLaneTitle','lastIndexOf','base-perf-','getTypeOfUnitAdded$','desc','thisWeek','remove','system','canDeleteRecord','[BaseFormula]:\x20field\x20\x22','fieldOrder','_initialize','base.command.update-base-kanban-config','fld-','decimal','sheetId','BaseProjection.projectRows','univer.basePerf','_getCellRevision','next30','BaseJson1.cloneForOp','endsWith','set','includeRecords','_rowTransformCacheSegment',':start','#FDE68A','recordOrder','summary','getUTCDate','flatMap','setHours','changed','every','COMMAND','manual','_setViewFieldSetting','executeCommand','_dataSyncPrimaryController','calendar','_filterRows','h:mm\x20a','checkbox','_materializeGroups','_isAllDayGanttDateRange','_cellInvalidationsTouchFields','values','Doing','dateMode','formulaData','_calendarEventColor','year','_shouldRefreshSuperTables','percent','base.fieldType.','formula','setViewFieldWidth','_buildGallery','week','barcode','end','trim','conditions','_filterSortFieldIds','base.command.move-base-field','short','createRecord','cellData','options','[BaseFieldRegistryService]:\x20field\x20type\x20\x22','#14b8a6','createRecords','working','NumberFormat','attachments','1272393tbTFEd','replace','progress','[BaseField]:\x20invalid\x20phone\x20value.','mark','_findCalendarDateFieldId','deleteRecord','base.field-registry.service','diffValue','views','useThousands','37984rKXmnF','length','boolean','path','columnSettings','push','_getTable','base.command.set-base-range-values','BaseProjection.filterAndSortRows','[BaseCommandService]:\x20cannot\x20edit\x20field.','toPrimitive','default','_initCommands','progressFieldId','[BaseCommandService]:\x20cannot\x20delete\x20table.','createViewId','query','recordPatch','getStructuredDependencies','canManageView','_projectionCache','base.command.set-base-view-field-width','Failed\x20to\x20create\x20update\x20cell\x20operation:','createBatchCreateRecordsOp','__all__','start','_univerInstanceService','children','direction','False','_views','hidden','getUTCFullYear','deleteView','afterFieldId','workingDays','toFixed','row','regenerateViewIds','createdAt','BOOLEAN','bases.remote.config','_projectFields','filter','next7','__BASE_FORMULA_REF_','REMOTE_BASES_PLUGIN','level','_permissionService','invertWithDoc','coverFieldId','_getSystemFieldValue','limit','reduce','isNot','register','focusUnit','stringify','colorFieldId','cardLayout','_syncFormulaData','base.command.set-base-view-filter','edit','_kanbanLaneColor','title','option-','registerSyncingMutations','registerTable','base.mutation.apply-base-json1','_normalizeCalendarDisplayColor','clearBasePermission','canEditCell','_registerSuperTables','setRecordValues','rows','general','_resolveGanttDateFieldId','isFinite','keys','link','fromEntries','weekdays','FORCE_STRING','local','base.resource.service','record','_getJson1DirtyData','star','off','canCreateTable','value','custom','base.command.create-base-table','_configService','fieldIndex','_getOrderedActiveRecords','size','column','exceptions','True','base.command.create-base-view','[BaseCommandService]:\x20cannot\x20delete\x20field.','Todo','_sortRows','_getStructureDirtyTableIds','params','base.command.create-base-record','_isCalendarDateField','_patchProjectedRowsForCellInvalidations','invalidateByOp','patches','_getAllBaseDirtySuperTableMap','records','_viewRowsCacheKey','canCreateField','BaseCellData.ensureTableCellLayout','_capabilities','large','_viewRevisions','getSnapshot','deepClone','getUTCDay','_buildGrid','invalidGroupField','userID','recordIds','#,##0','_buildGantt','[BaseCommandService]:\x20cannot\x20edit\x20readonly\x20field.','object','base.command.change-base-field-type','_fastSortRows','formatToParts','singleSelect','version','getCurrentUserId','[BaseCommandService]:\x20cannot\x20create\x20record.','projection','[BaseField]:\x20invalid\x20multi-value\x20reference.','conjunction','repeat','_createDirtyData','from','_isKanbanGroupField','after','some','thisMonth','allowMultiple','constructor','_projectedViewRowsCache','primaryFieldId','_projectedRowsCache','syncUnit','_matchesGanttColorRule','onReady','tableRevision','past30','updateField','gantt','registerView','_plugins','todo','moveView','view-','viewRevision','normalize','has','measure','search','colId','updateCell','conditional','BASES_PLUGIN','reason','toLocaleString','getItem','getBase','formula.mutation.set-formula-calculation-result','[BaseField]:\x20invalid\x20checkbox\x20value.','tomorrow','getAllUnitsForType','_runtimeContext','function','timeslotSize','trigger','_title','879HnysqW','_groupsCacheKey','selectField','true','Start\x20date','small','gallery','[BaseField]:\x20invalid\x20rating\x20value.','base.command.batch-delete-base-records','usableAsGanttStart','rowIndexById','attachment','[BaseCommandService]:\x20cannot\x20create\x20table.','en-US','updateViewConfig','month','100XgqJVd','h12','_normalizeCellValue','abbreviation','includes','includeTime','multiSelect',',\x22K\x22','snapshot','tableName','_syncBaseUnit','order','[BasePerf]\x20','find','displayColor','updatedBy','base.command.duplicate-base-record','insertOp','unitData','_patchCachedProjectedRows','[BaseCommandService]:\x20invalid\x20cell\x20value.','_normalizeGanttDisplayColor','[[#This\x20Row],[','tables','timeZone','round','base.command.update-base-field','setViewSort','email','createView','operand','getUnit','General','major-','table','renameView','apply','Done','base.viewType.kanban','operator','createTable','@univerjs-pro/bases','_findKanbanGroupField','MMM\x20D,\x20YYYY','day','matchAll','findIndex','_recordPermissions','setFieldPermission','moveField','_resolveGalleryCoverFieldId','cell','valid','url','\x22\x20is\x20not\x20registered.','_shouldSyncFormulaData','now','#3b82f6','setViewFieldOrder','setViewFieldVisible','UTC','contains','setViewGroup','deleteRecords','mode','getTypePlugin','false','commaPeriod','getTime','yyyy/mm/dd','base.command.delete-base-field','_getTablesToNormalize','_projectGroups','globalRevision','_injector','renameTable','packageName','createCreateFieldOp','unitId','usableAsGanttEnd','_isNonEmptyCellValue','config','base.view-registry.service','attachmentSet','viewIndexes','decorate','_createSystemFieldValuePatches','info','Calendar\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','grid','base.viewType.gallery','getUnitId','greaterThan','clearTablePermission','_applyFormulaResult','_formulaService','pattern','pluginName','flow','_commandService','description','raw','registerSuperTables','cellRevision','col','person','Working\x20day','readonly','colIndex','phone','_resolveKanbanCoverFieldId','normal','invalidGanttEndField','_getCachedProjection','UNIVER_BASE','YYYY-MM-DD','invertOp','split','base.command.delete-base-table','setConfig','unknown','_fieldRegistry','forEach','deleteField','Unchecked','string','[BaseCommandService]:\x20cannot\x20delete\x20primary\x20field.','base-perf',',,\x22M\x22','base.command.set-base-kanban-group-field','toPlainText','NUMBER','updateRecordOrder','repairViewConfig','invalid','_resolveCalendarDateFieldId','prototype','group','base.viewType.grid','isNotEmpty','DD/MM/YYYY','canCreateRecord','_applyingFormulaResults','fieldId','Empty','_applier','base.command.update-base-record-order','8NwNUXQ','subscribe','showFieldNames','_getActiveDirtyManagerService','_replaceOptional','_projectTableRows','searchTexts','canDeleteTable','label','_createNumberingAllocator','_kanbanGroupKeys','columns','rating','_getKanbanConfiguredLanes','invalidateByCell','recordId','hh:mm','_isAllDayCalendarEvent','format','bases.fieldConfig.textPlaceholder','finally','lookup','localeCompare','_tablePermissions','max','quarter','editable','symbol','Yes','_cellRevisions','spaceComma','_canUseFastSort','_apply','4390JsldSh','editCell','date','https://','createField','h24','none','groupFieldId','registerCommand','index','user','getDay','setViewFilter','_config','\x22\x20does\x20not\x20exist.','entries','YYYY/MM/DD','disposeWithMe','unitWidth','getAll','canEditField','tableId','slice','cardSize','createdBy','_buildCalendar','createUpdateCellOp','replaceOp','_cacheKey','get','changeFieldType','[BaseCommandService]:\x20cannot\x20edit\x20cell.','createCreateRecordOp','decimalPlaces','applyOp','rules','getProjection','getAffectedRanges','test','Gantt\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','_setAttachmentResources',',,,\x22B\x22','allowNegative','createSetRecordValuesOp','text','[BaseCommandService]:\x20cannot\x20manage\x20view.','catch','field','_resolveKanbanGroupFieldId','beforeViewId','min','_groupCellInvalidations','getTypeOfUnitDisposed$','[BaseProjectionService]:\x20missing\x20view\x20\x22','usableAsCardCover','startsWith','_viewRevisionKey','defineProperty','exact','_superTableService','type','card','_getSuperTableService','call','registerCtorForType','_groupProjectionFieldIds','_setDeleted','_getTableRevision','viewOrder','_resolveGalleryCardFieldIds','_bumpTableRevision','Uncategorized','exception-','base.command.delete-base-view','1222044WhFgRu','deleteTable','currencySymbol','base.command.create-base-field','setSnapshot','_resolveKanbanCardFieldIds','beforeFieldId','doing','setRangeValues','updatedAt','view','_fieldPermissions','createUnit','canDeleteField','currency','_getDirtySuperTableMap','lastWeek','setValue','medium','invalidateByField','map','titleFieldId','_toDirtyRangePatch','delete','YYYY/MM/DD\x20HH:mm','_groupConfigCacheSegment','_requestCalculation','[BaseField]:\x20negative\x20numbers\x20are\x20disabled.','[BaseField]:\x20invalid\x20email\x20value.','join','rowIndex','scale','createDefaultValue','attachmentSets','_getCurrentUserId','check','setBasePermission','number','compose','_createNumberingAllocators','_onCommandExecuted','_isColorfulKanbanGroupField','syncExecuteCommand','defaultValue','workingDaysOnly','STRING','getMonth','revision','frozenFieldCount','_projectRows','twoWayLink',':end','_normalizeGalleryConfig','getFullYear','usableAsCalendarDate','autoIncrement','BaseProjection.getProjection','spacePeriod','_baseSyncDisposables','basePerf','[BaseField]:\x20invalid\x20date\x20value.','_initDependencies','fieldSettings','name','fieldIds','_buildKanban','showTodayLine','_ganttBarColor','_setCachedProjection','fields','attachment-','BaseJson1.json1Apply','tableOrder','_normalizeCalendarConfig','10400900tNbawE','numbering','lastMonth','isInteger','duplicateRecord','orderKey','_normalizeGanttConfig','clearFieldPermission','HH:mm','base.command.duplicate-base-field','_createStructureDirtyData','groups','_basePermissions','_withModifiedSystemValues','createSuperTableReference','Checked','deleted','_globalRevision','blue','getUTCMonth','manageView','rowId','endDateFieldId','invalidGanttStartField','add','_getViewRevision','base.command.set-base-view-field-visible','hasOwnProperty','_createNumberingFieldValuePatches','Grid\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','_recordIds','_getAllTableIds','leftPaneWidth','End\x20date','_createJson1DirtyData','done','leftPaneCollapsed','validate','sort','kanban','8141357KQNyTQ','_createRecordWithDefaults','[BaseField]:\x20invalid\x20person\x20value.','hourCycle','#BBF7D0','locale','getCapabilities','496642DcoQtu','past7','_isGanttDateField','[BaseFormula]:\x20A1\x20references\x20and\x20ranges\x20are\x20not\x20supported\x20in\x20Base\x20formulas.','fieldName','splice','isArray','pushUndoRedo','key','_projectedGroupsCache','toLowerCase','base.command.update-base-field-description','resources','periodComma','location','resolvedOptions','valueOf','base.command.delete-base-record','viewId','lessThanOrEqual','_tableRevisions','_factory','Date','_initRegistries','_cellInvalidations','startDateFieldId','_createRecordOrderOp','missingField','base.command.ensure-base-temporal-view-date-fields','indexOf','_isAllowedKanbanGroupField','color','isEmpty','getAllBases'];_0x3d2d=function(){return _0x44c977;};return _0x3d2d();}function tt(_0x4e0d6a,_0x4f1a85={}){const _0x129a13=_0x3401ce;var _0x5d1221,_0x354883,_0x5ec627;let _0x110376=A(_0x4e0d6a);if(_0x110376==null||!Number['isFinite'](_0x110376))return'';let _0x12ed0b=String((_0x5d1221=(_0x354883=_0x4f1a85[_0x129a13(0x3da)])==null?_0x4f1a85[_0x129a13(0x166)]:_0x354883)==null?Qe:_0x5d1221),_0x484e92=_0x4f1a85[_0x129a13(0x37f)]===!0x0||_0x12ed0b[_0x129a13(0x37e)]('hh:mm'),_0x2ee920=String((_0x5ec627=_0x4f1a85[_0x129a13(0x234)])==null?'h24':_0x5ec627);return _0x80569f(_0x110376)[_0x129a13(0x166)](nt(_0x12ed0b,_0x484e92,_0x2ee920));}function nt(_0x3b78e2,_0x5ea88e,_0x48bd92){const _0x24d866=_0x3401ce;var _0x597a70;let _0x5812e3=(_0x597a70=$e[_0x3b78e2])==null?$e[Qe]:_0x597a70;return!_0x5ea88e||_0x3b78e2['includes'](_0x24d866(0x164))?_0x5812e3:_0x5812e3+'\x20'+(_0x48bd92===_0x24d866(0x37b)?_0x24d866(0x283):_0x24d866(0x211));}const rt={'editable':!0x0,'sortable':!0x0,'filterable':!0x0,'groupable':!0x1,'usableAsKanbanGroup':!0x1,'usableAsCalendarDate':!0x1,'usableAsGanttStart':!0x1,'usableAsGanttEnd':!0x1,'usableAsGanttProgress':!0x1,'usableAsCardCover':!0x1,'usableAsTitle':!0x1},it=new Set([_0x3401ce(0x169),'summary',_0x3401ce(0x3dc),'button',_0x3401ce(0x246),_0x3401ce(0x1f1),_0x3401ce(0x163),_0x3401ce(0x295)]),j=0x5a0*0x3c*0x3e8;function at(_0x1f6ae8,_0x1da771){const _0x5d7948=_0x3401ce;return _0x1f6ae8==null&&_0x1da771==null?0x0:_0x1f6ae8==null?-0x1:_0x1da771==null?0x1:typeof _0x1f6ae8==_0x5d7948(0x1e4)&&typeof _0x1da771=='number'?_0x1f6ae8-_0x1da771:String(_0x1f6ae8)['localeCompare'](String(_0x1da771));}function ot(_0x31c34b,_0x587b18,_0x287c29,_0x533049,_0x52cac9={}){const _0x554499=_0x3401ce;if(_0x587b18===_0x554499(0x258))return st(_0x31c34b);if(_0x587b18===_0x554499(0x405))return!st(_0x31c34b);switch(_0x533049[_0x554499(0x1b1)]){case _0x554499(0x1e4):case _0x554499(0x1cd):case _0x554499(0x2a7):case _0x554499(0x160):return ct(_0x31c34b,_0x587b18,_0x287c29);case _0x554499(0x177):case'createdAt':case'updatedAt':return ut(_0x31c34b,_0x587b18,_0x287c29,_0x52cac9);case _0x554499(0x284):return gt(_0x31c34b,_0x587b18,_0x287c29);case _0x554499(0x335):case _0x554499(0x380):case'person':case _0x554499(0x403):return vt(_0x31c34b,_0x587b18,_0x287c29,_0x533049);default:return yt(_0x31c34b,_0x587b18,_0x287c29);}}function st(_0x155905){const _0x15adbf=_0x3401ce;return _0x155905==null?!0x0:Array[_0x15adbf(0x23e)](_0x155905)?_0x155905[_0x15adbf(0x2b1)]===0x0:typeof _0x155905==_0x15adbf(0x3f7)?_0x155905[_0x15adbf(0x297)]()==='':!0x1;}function ct(_0x5b3d0c,_0x1a4e13,_0x24e361){const _0x110577=_0x3401ce;let _0x3c8c84=lt(_0x5b3d0c),_0x578421=lt(_0x24e361);if(_0x3c8c84==null||_0x578421==null)return!0x1;switch(_0x1a4e13){case'is':return _0x3c8c84===_0x578421;case'isNot':return _0x3c8c84!==_0x578421;case _0x110577(0x3d6):return _0x3c8c84>_0x578421;case'greaterThanOrEqual':return _0x3c8c84>=_0x578421;case'lessThan':return _0x3c8c84<_0x578421;case _0x110577(0x24b):return _0x3c8c84<=_0x578421;default:return!0x1;}}function lt(_0x367aac){const _0x3572ae=_0x3401ce;if(_0x367aac==null||_0x367aac==='')return null;let _0x42bfbc=Number(_0x367aac);return Number[_0x3572ae(0x2fd)](_0x42bfbc)?_0x42bfbc:null;}function ut(_0x5704c3,_0x3dee60,_0x1eb0eb,_0x1c69ba){const _0x5f0563=_0x3401ce;var _0x5526a9;let _0x12f06b=ft(_0x5704c3);if(_0x12f06b==null)return!0x1;let _0x356bf7=dt((_0x5526a9=_0x1c69ba[_0x5f0563(0x28a)])==null?_0x5f0563(0x1af):_0x5526a9,_0x1eb0eb,_0x1c69ba[_0x5f0563(0x3b2)]);if(!_0x356bf7)return!0x1;switch(_0x3dee60){case'is':return _0x12f06b>=_0x356bf7['start']&&_0x12f06b<=_0x356bf7['end'];case'isNot':return _0x12f06b<_0x356bf7[_0x5f0563(0x2c9)]||_0x12f06b>_0x356bf7[_0x5f0563(0x296)];case'before':return _0x12f06b<_0x356bf7[_0x5f0563(0x2c9)];case _0x5f0563(0x340):return _0x12f06b>_0x356bf7[_0x5f0563(0x296)];default:return!0x1;}}function dt(_0x4a4c8e,_0x43a999,_0x171d2c=Date[_0x3401ce(0x3b2)]()){const _0x36b28e=_0x3401ce;let _0x1da0e4=pt(_0x171d2c);switch(_0x4a4c8e){case _0x36b28e(0x1af):{let _0x4783f8=ft(_0x43a999);return _0x4783f8==null?null:{'start':_0x4783f8,'end':_0x4783f8+j-0x1};}case'today':return{'start':_0x1da0e4,'end':_0x1da0e4+j-0x1};case _0x36b28e(0x363):return{'start':_0x1da0e4+j,'end':_0x1da0e4+j*0x2-0x1};case'yesterday':return{'start':_0x1da0e4-j,'end':_0x1da0e4-0x1};case _0x36b28e(0x25f):return mt(_0x1da0e4,0x0);case _0x36b28e(0x1cf):return mt(_0x1da0e4,-0x1);case _0x36b28e(0x342):return ht(_0x1da0e4,0x0);case _0x36b28e(0x20b):return ht(_0x1da0e4,-0x1);case _0x36b28e(0x239):return{'start':_0x1da0e4-j*0x6,'end':_0x1da0e4+j-0x1};case _0x36b28e(0x2dc):return{'start':_0x1da0e4,'end':_0x1da0e4+j*0x7-0x1};case _0x36b28e(0x34c):return{'start':_0x1da0e4-j*0x1d,'end':_0x1da0e4+j-0x1};case _0x36b28e(0x26d):return{'start':_0x1da0e4,'end':_0x1da0e4+j*0x1e-0x1};}}function ft(_0xa8deb5){let _0x1ca4cb=k(_0xa8deb5);return _0x1ca4cb==null?null:pt(et(_0x1ca4cb));}function pt(_0x109f71){const _0x1398a3=_0x3401ce;let _0x1e9428=new Date(_0x109f71);return _0x1e9428[_0x1398a3(0x279)](0x0,0x0,0x0,0x0),_0x1e9428[_0x1398a3(0x3be)]();}function mt(_0x3cb821,_0x5eafe0){const _0x125dc8=_0x3401ce;let _0x1c3a20=_0x3cb821-(new Date(_0x3cb821)[_0x125dc8(0x180)]()+0x6)%0x7*j+_0x5eafe0*j*0x7;return{'start':_0x1c3a20,'end':_0x1c3a20+j*0x7-0x1};}function ht(_0xf94da0,_0x3408a7){const _0x3f642a=_0x3401ce;let _0x344f5b=new Date(_0xf94da0),_0x1434a1=new Date(_0x344f5b[_0x3f642a(0x1f4)](),_0x344f5b[_0x3f642a(0x1ed)]()+_0x3408a7,0x1),_0x4f1d0=new Date(_0x344f5b[_0x3f642a(0x1f4)](),_0x344f5b[_0x3f642a(0x1ed)]()+_0x3408a7+0x1,0x1);return{'start':_0x1434a1['getTime'](),'end':_0x4f1d0[_0x3f642a(0x3be)]()-0x1};}function gt(_0x5ce3e5,_0xcfa1fa,_0x42c2cc){const _0x35eb9f=_0x3401ce;let _0x23870a=_t(_0x5ce3e5),_0x2659a5=_t(_0x42c2cc);switch(_0xcfa1fa){case'is':return _0x23870a===_0x2659a5;case _0x35eb9f(0x2e6):return _0x23870a!==_0x2659a5;default:return!0x1;}}function _t(_0x5224c7){const _0x39e8e0=_0x3401ce;return _0x5224c7===!0x0||_0x5224c7===_0x39e8e0(0x36d)||_0x5224c7===0x1||_0x5224c7==='1';}function vt(_0x18f073,_0x38b754,_0x51d440,_0x137668){const _0x3ed897=_0x3401ce;let _0x3070a8=bt(_0x18f073,_0x137668),_0x37d290=bt(_0x51d440,_0x137668),_0x1148be=_0x37d290[_0x3ed897(0x2b1)]>0x0&&_0x37d290['some'](_0x40d550=>_0x3070a8[_0x3ed897(0x37e)](_0x40d550));switch(_0x38b754){case'is':case'contains':return _0x1148be;case _0x3ed897(0x2e6):case'notContains':return!_0x1148be;default:return!0x1;}}function yt(_0xb6b0e5,_0x2e5295,_0x20cd01){const _0x102f62=_0x3401ce;let _0x5bfa6a=M(_0xb6b0e5),_0x487acb=M(_0x20cd01);switch(_0x2e5295){case'is':return _0x5bfa6a===_0x487acb;case'isNot':return _0x5bfa6a!==_0x487acb;case _0x102f62(0x3b7):return _0x487acb?_0x5bfa6a[_0x102f62(0x37e)](_0x487acb):!0x1;case'notContains':return _0x487acb?!_0x5bfa6a['includes'](_0x487acb):!0x0;default:return!0x1;}}function M(_0x5c91fe){const _0x1df6c3=_0x3401ce;if(Array[_0x1df6c3(0x23e)](_0x5c91fe))return _0x5c91fe[_0x1df6c3(0x1d3)](_0x480371=>M(_0x480371))[_0x1df6c3(0x1dc)]('\x0a');if(_0x5c91fe&&typeof _0x5c91fe==_0x1df6c3(0x331)){var _0x14c3a9,_0x30d313,_0x3f3364,_0x5bd72b,_0x47b748;let _0x34e494=_0x5c91fe;return String((_0x14c3a9=(_0x30d313=(_0x3f3364=(_0x5bd72b=(_0x47b748=_0x34e494[_0x1df6c3(0x1fe)])==null?_0x34e494[_0x1df6c3(0x15c)]:_0x47b748)==null?_0x34e494['text']:_0x5bd72b)==null?_0x34e494['value']:_0x3f3364)==null?_0x34e494['id']:_0x30d313)==null?'':_0x14c3a9)[_0x1df6c3(0x297)]()[_0x1df6c3(0x242)]();}return String(_0x5c91fe==null?'':_0x5c91fe)[_0x1df6c3(0x297)]()['toLowerCase']();}function bt(_0x34d293,_0x575f86){const _0x301edd=_0x3401ce;var _0x5e5fc1;let _0x59922a=xt(_0x34d293),_0x2eea41=St((_0x5e5fc1=_0x575f86['config'])==null?{}:_0x5e5fc1);return _0x59922a[_0x301edd(0x278)](_0x21b085=>{const _0x282f77=_0x301edd;var _0x5a7e2e;return(_0x5a7e2e=_0x2eea41[_0x282f77(0x192)](_0x21b085))==null?[_0x21b085]:_0x5a7e2e;})[_0x301edd(0x2db)]((_0x556e9a,_0x5c5b5b,_0x4152db)=>_0x556e9a!==''&&_0x4152db[_0x301edd(0x255)](_0x556e9a)===_0x5c5b5b);}function xt(_0x7b5841){const _0x492b10=_0x3401ce;if(_0x7b5841==null||_0x7b5841==='')return[];if(Array[_0x492b10(0x23e)](_0x7b5841))return _0x7b5841[_0x492b10(0x278)](_0x4b34f0=>xt(_0x4b34f0));if(_0x7b5841&&typeof _0x7b5841==_0x492b10(0x331)){let _0x2b6b72=_0x7b5841;return['id',_0x492b10(0x1fe),_0x492b10(0x15c),_0x492b10(0x30a),_0x492b10(0x1a1)][_0x492b10(0x278)](_0x1b527c=>xt(_0x2b6b72[_0x1b527c]))[_0x492b10(0x2db)]((_0x2ae0db,_0x102cf7,_0x4e8f5e)=>_0x4e8f5e[_0x492b10(0x255)](_0x2ae0db)===_0x102cf7);}return[M(_0x7b5841)];}function St(_0x50a8b6){const _0x22a5f0=_0x3401ce;let _0x3cfe33=new Map();return(Array[_0x22a5f0(0x23e)](_0x50a8b6[_0x22a5f0(0x29e)])?_0x50a8b6[_0x22a5f0(0x29e)]:[])['forEach'](_0x45ad1e=>{const _0x26006b=_0x22a5f0;if(!_0x45ad1e||typeof _0x45ad1e!=_0x26006b(0x331))return;let _0x22eed0=xt(_0x45ad1e),_0x29384f=_0x22eed0[_0x26006b(0x2db)]((_0x2241fc,_0x49430d)=>_0x2241fc!==''&&_0x22eed0['indexOf'](_0x2241fc)===_0x49430d);_0x29384f[_0x26006b(0x3f4)](_0x2c85cd=>_0x3cfe33['set'](_0x2c85cd,_0x29384f));}),_0x3cfe33;}function N(_0xe5ae9,_0x577210={},_0x28e665=_0x3c56da=>_0x3c56da,_0x3c5d51={}){const _0x593330=_0x3401ce;var _0x3012f1,_0x4efe9e,_0x31df93,_0x1e333d;let _0x1e64d8=!it[_0x593330(0x356)](_0xe5ae9),_0x4295cd=_0x28e665==null?_0x202eb2=>_0x202eb2:_0x28e665;return{'type':_0xe5ae9,'i18nKey':_0x593330(0x290)+_0xe5ae9,'enabled':_0x1e64d8,'visibleInCreateMenu':_0x1e64d8,'createDefaultConfig':(_0x3012f1=_0x3c5d51['createDefaultConfig'])==null?()=>({}):_0x3012f1,'createDefaultValue':(_0x4efe9e=_0x3c5d51[_0x593330(0x1df)])==null?_0x2942ba=>{const _0x521ec4=_0x593330;var _0x1f32f7;return(_0x1f32f7=_0x2942ba[_0x521ec4(0x1ea)])==null?null:_0x1f32f7;}:_0x4efe9e,'normalize':(_0x302b8b,_0x5ec9ae)=>_0x4295cd(_0x302b8b,_0x5ec9ae),'validate':(_0x455744,_0x5914e8)=>{const _0x57448c=_0x593330;var _0x296c94,_0x255909;return _0x1e64d8?(_0x296c94=(_0x255909=_0x3c5d51[_0x57448c(0x22e)])==null?void 0x0:_0x255909[_0x57448c(0x1b4)](_0x3c5d51,_0x455744,_0x5914e8))==null?{'valid':!0x0}:_0x296c94:{'valid':!0x1};},'compare':(_0x5baf77,_0x4d7ce2)=>at(_0x5baf77,_0x4d7ce2),'filter':(_0x177a57,_0x37a63d,_0x3e1fc6,_0x309afb)=>ot(_0x177a57,_0x37a63d,_0x3e1fc6,_0x309afb),'toPlainText':(_0x31df93=_0x3c5d51[_0x593330(0x3fc)])==null?_0x4abadc=>_0x4abadc==null?'':String(_0x4abadc):_0x31df93,'fromPlainText':(_0x1e333d=_0x3c5d51['fromPlainText'])==null?_0x3b6554=>_0x4295cd(_0x3b6554,{'id':'','name':'','type':_0xe5ae9,'config':{}}):_0x1e333d,'getCapabilities':()=>{const _0x4e8cf8=_0x593330;var _0x50fb13;return{...rt,..._0x577210,'editable':_0x1e64d8&&((_0x50fb13=_0x577210[_0x4e8cf8(0x16e)])==null?rt[_0x4e8cf8(0x16e)]:_0x50fb13)};}};}function Ct(){const _0xc831a9=_0x3401ce;return[N(_0xc831a9(0x1a1),{'groupable':!0x0,'usableAsTitle':!0x0},void 0x0,{'createDefaultConfig':()=>({'placeholder':_0xc831a9(0x167)}),'createDefaultValue':_0x295466=>{const _0x65bb0=_0xc831a9;var _0x38b2cf;return(_0x38b2cf=_0x295466[_0x65bb0(0x1ea)])==null?'':_0x38b2cf;}}),N(_0xc831a9(0x335),{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsOptions':!0x0},_0x3ba0c2=>_0x3ba0c2==null||_0x3ba0c2===''?null:String(_0x3ba0c2),{'createDefaultConfig':()=>({'options':[],'optionSource':{'type':'manual'}})}),N(_0xc831a9(0x380),{'filterable':!0x0,'usableAsKanbanGroup':!0x0,'supportsOptions':!0x0,'supportsMultipleValues':!0x0},_0x43ef77=>Array[_0xc831a9(0x23e)](_0x43ef77)?_0x43ef77['map'](String):_0x43ef77==null?[]:[String(_0x43ef77)],{'createDefaultConfig':()=>({'options':[],'optionSource':{'type':_0xc831a9(0x27d)}}),'createDefaultValue':_0x16766f=>{var _0x3ba916;return(_0x3ba916=_0x16766f['defaultValue'])==null?[]:_0x3ba916;}}),N(_0xc831a9(0x3e3),{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsMultipleValues':!0x0},Dt,{'createDefaultConfig':()=>({'allowMultiple':!0x1,'provider':_0xc831a9(0x3e3)}),'validate':Ot}),N('group',{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsMultipleValues':!0x0},Et,{'createDefaultConfig':()=>({'allowMultiple':!0x0,'provider':'group'}),'createDefaultValue':_0x55eab6=>{const _0x4fc195=_0xc831a9;var _0x3e935f;return(_0x3e935f=_0x55eab6[_0x4fc195(0x1ea)])==null?[]:_0x3e935f;},'validate':kt}),N(_0xc831a9(0x177),{'groupable':!0x0,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x540426=>k(_0x540426),{'createDefaultConfig':()=>Tt(),'validate':At}),N(_0xc831a9(0x375),{'usableAsCardCover':!0x0,'supportsMultipleValues':!0x0},_0x2774c3=>_0x2774c3==null?[]:Array[_0xc831a9(0x23e)](_0x2774c3)?_0x2774c3:[_0x2774c3],{'createDefaultValue':_0x208d59=>{const _0xc934f3=_0xc831a9;var _0x392508;return(_0x392508=_0x208d59[_0xc934f3(0x1ea)])==null?[]:_0x392508;}}),N(_0xc831a9(0x1e4),{},_0x35151b=>_0x35151b==null||_0x35151b===''?null:Number(_0x35151b),{'createDefaultConfig':()=>wt(),'validate':jt}),N('checkbox',{'groupable':!0x0,'usableAsKanbanGroup':!0x0},_0x28a823=>_0x28a823===!0x0||_0x28a823===_0xc831a9(0x36d)||_0x28a823===0x1||_0x28a823==='1',{'createDefaultConfig':()=>({'icon':_0xc831a9(0x1e2),'color':'#16a34a'}),'createDefaultValue':_0x2cacd5=>{var _0x45ac6e;return(_0x45ac6e=_0x2cacd5['defaultValue'])==null?!0x1:_0x45ac6e;},'validate':_0x2b30c3=>typeof _0x2b30c3==_0xc831a9(0x2b2)?{'valid':!0x0}:{'valid':!0x1,'reason':_0xc831a9(0x362)}}),N(_0xc831a9(0x2ff),{'supportsRelation':!0x0},Nt,{'createDefaultConfig':()=>({'placeholder':'bases.fieldConfig.linkPlaceholder'}),'toPlainText':_0x115cf8=>Pt(_0x115cf8),'fromPlainText':_0x2007bc=>Nt(_0x2007bc)}),N(_0xc831a9(0x291),{'editable':!0x1},void 0x0,{'createDefaultConfig':()=>({'formula':'','dependencies':[],'numfmt':{'type':_0xc831a9(0x2fb),'pattern':_0xc831a9(0x39a)}}),'createDefaultValue':()=>null}),N(_0xc831a9(0x169),{}),N(_0xc831a9(0x3dc),{}),N('button',{'editable':!0x1,'sortable':!0x1,'filterable':!0x1}),N(_0xc831a9(0x20a),{'editable':!0x1,'usableAsTitle':!0x0},void 0x0,{'createDefaultConfig':()=>({'mode':_0xc831a9(0x1f6)}),'createDefaultValue':()=>null}),N(_0xc831a9(0x3e7),{'usableAsTitle':!0x0},_0x215de3=>_0x215de3==null?null:String(_0x215de3)[_0xc831a9(0x297)](),{'validate':_0x5bcc0a=>_0x5bcc0a==null||_0x5bcc0a===''||/^\+?[0-9 ()-]{6,20}$/[_0xc831a9(0x19b)](String(_0x5bcc0a))?{'valid':!0x0}:{'valid':!0x1,'reason':_0xc831a9(0x2a8)}}),N(_0xc831a9(0x396),{'usableAsTitle':!0x0},_0x11a0fc=>_0x11a0fc==null?null:String(_0x11a0fc)[_0xc831a9(0x297)](),{'validate':_0x5c8c1f=>_0x5c8c1f==null||_0x5c8c1f===''||It(String(_0x5c8c1f))?{'valid':!0x0}:{'valid':!0x1,'reason':_0xc831a9(0x1db)}}),N(_0xc831a9(0x246),{'usableAsTitle':!0x0}),N(_0xc831a9(0x295),{'usableAsTitle':!0x0}),N(_0xc831a9(0x2a7),{'usableAsGanttProgress':!0x0},_0x9d44eb=>_0x9d44eb==null||_0x9d44eb===''?null:Number(_0x9d44eb),{'createDefaultConfig':()=>({'format':_0xc831a9(0x28f),'decimalPlaces':0x0,'color':_0xc831a9(0x21b),'customRange':!0x1,'start':0x0,'end':0x64}),'validate':(_0x4ded90,_0x69d51)=>Mt(_0x4ded90,_0x69d51,'[BaseField]:\x20invalid\x20progress\x20value.')}),N(_0xc831a9(0x1cd),{},_0x3f2fbd=>_0x3f2fbd==null||_0x3f2fbd===''?null:Number(_0x3f2fbd),{'createDefaultConfig':()=>({...wt(),'currencySymbol':'$'}),'validate':jt}),N(_0xc831a9(0x160),{'groupable':!0x0,'usableAsKanbanGroup':!0x0},_0x2b1b13=>_0x2b1b13==null||_0x2b1b13===''?null:Number(_0x2b1b13),{'createDefaultConfig':()=>({'icon':_0xc831a9(0x307),'min':0x1,'max':0x5}),'createDefaultValue':()=>null,'validate':(_0x178385,_0x40ec1a)=>Mt(_0x178385,_0x40ec1a,_0xc831a9(0x371))}),N('twoWayLink',{'supportsRelation':!0x0}),N(_0xc831a9(0x163),{'editable':!0x1,'sortable':!0x0,'filterable':!0x0,'usableAsTitle':!0x0}),N(_0xc831a9(0x18d),{'editable':!0x1,'groupable':!0x0},_0x1d77cc=>_0x1d77cc==null?null:String(_0x1d77cc),{'createDefaultConfig':()=>({'provider':_0xc831a9(0x17f)}),'createDefaultValue':()=>null}),N(_0xc831a9(0x389),{'editable':!0x1,'groupable':!0x0},_0x43f938=>_0x43f938==null?null:String(_0x43f938),{'createDefaultConfig':()=>({'provider':_0xc831a9(0x17f)}),'createDefaultValue':()=>null}),N('createdAt',{'editable':!0x1,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x2ed630=>k(_0x2ed630),{'createDefaultConfig':()=>Tt(),'createDefaultValue':()=>null,'validate':At}),N(_0xc831a9(0x1c8),{'editable':!0x1,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x5b2f39=>k(_0x5b2f39),{'createDefaultConfig':()=>Tt(),'createDefaultValue':()=>null,'validate':At}),N(_0xc831a9(0x276),{})];}function wt(){const _0x3b3cdc=_0x3401ce;return{'pattern':'#,##0.00','decimalPlaces':0x2,'separatorStyle':'local','useThousands':!0x0,'abbreviation':_0x3b3cdc(0x17b),'allowNegative':!0x0};}function Tt(){const _0x899084=_0x3401ce;return{'locale':_0x899084(0x377),'pattern':'yyyy/mm/dd','includeTime':!0x1,'hourCycle':_0x899084(0x17a),'defaultMode':_0x899084(0x17b)};}function Et(_0x486c4c){const _0x396729=_0x3401ce;return _0x486c4c==null||_0x486c4c===''?[]:Array[_0x396729(0x23e)](_0x486c4c)?_0x486c4c[_0x396729(0x1d3)](String):[String(_0x486c4c)];}function Dt(_0x5504a1,_0x5dd1ed){const _0xcdfae6=_0x3401ce;var _0x1d0d32;return _0x5504a1==null||_0x5504a1===''?_0x5dd1ed['config'][_0xcdfae6(0x343)]===!0x0?[]:null:_0x5dd1ed['config']['allowMultiple']===!0x0?Array[_0xcdfae6(0x23e)](_0x5504a1)?_0x5504a1[_0xcdfae6(0x1d3)](String):[String(_0x5504a1)]:Array[_0xcdfae6(0x23e)](_0x5504a1)?String((_0x1d0d32=_0x5504a1[0x0])==null?'':_0x1d0d32)||null:String(_0x5504a1);}function Ot(_0x4ffe7b,_0x2d57ad){const _0x3aff5e=_0x3401ce;return _0x2d57ad['config'][_0x3aff5e(0x343)]===!0x0?kt(_0x4ffe7b):_0x4ffe7b==null||_0x4ffe7b===''||typeof _0x4ffe7b=='string'?{'valid':!0x0}:{'valid':!0x1,'reason':_0x3aff5e(0x233)};}function kt(_0x535250){const _0x23a8e4=_0x3401ce;return _0x535250==null||Array[_0x23a8e4(0x23e)](_0x535250)&&_0x535250[_0x23a8e4(0x27b)](_0x512a75=>typeof _0x512a75==_0x23a8e4(0x3f7))?{'valid':!0x0}:{'valid':!0x1,'reason':_0x23a8e4(0x33a)};}function At(_0x13bc85){const _0x3bec2e=_0x3401ce;return _0x13bc85==null||typeof _0x13bc85==_0x3bec2e(0x1e4)&&Number['isFinite'](_0x13bc85)?{'valid':!0x0}:{'valid':!0x1,'reason':_0x3bec2e(0x1fb)};}function jt(_0xf5776a,_0x1b9a30){const _0x10eb86=_0x3401ce;return _0xf5776a==null||_0xf5776a===''?{'valid':!0x0}:typeof _0xf5776a!=_0x10eb86(0x1e4)||!Number[_0x10eb86(0x2fd)](_0xf5776a)?{'valid':!0x1,'reason':'[BaseField]:\x20invalid\x20number\x20value.'}:_0x1b9a30[_0x10eb86(0x3cb)][_0x10eb86(0x19f)]===!0x1&&_0xf5776a<0x0?{'valid':!0x1,'reason':_0x10eb86(0x1da)}:{'valid':!0x0};}function Mt(_0x36b38c,_0x3632c6,_0x5246b9){const _0x4e020b=_0x3401ce;var _0x225fe3,_0x27a8d7,_0x38398d,_0x13943e;let _0x168e7c=jt(_0x36b38c,_0x3632c6);if(!_0x168e7c['valid']||_0x36b38c==null||_0x36b38c==='')return _0x168e7c;let _0xa702fc=Number((_0x225fe3=(_0x27a8d7=_0x3632c6[_0x4e020b(0x3cb)][_0x4e020b(0x1a7)])==null?_0x3632c6[_0x4e020b(0x3cb)]['start']:_0x27a8d7)==null?0x0:_0x225fe3),_0x558d19=Number((_0x38398d=(_0x13943e=_0x3632c6[_0x4e020b(0x3cb)]['max'])==null?_0x3632c6[_0x4e020b(0x3cb)]['end']:_0x13943e)==null?0x64:_0x38398d),_0xd6fdfe=Number(_0x36b38c);return _0xd6fdfe>=_0xa702fc&&_0xd6fdfe<=_0x558d19?{'valid':!0x0}:{'valid':!0x1,'reason':_0x5246b9};}function Nt(_0x4fa6e5){const _0x1eed3b=_0x3401ce;if(_0x4fa6e5==null||_0x4fa6e5==='')return null;if(typeof _0x4fa6e5==_0x1eed3b(0x331)&&!Array['isArray'](_0x4fa6e5)){let _0x5c267c=_0x4fa6e5,_0x10948b=typeof _0x5c267c[_0x1eed3b(0x1a1)]=='string'?_0x5c267c[_0x1eed3b(0x1a1)][_0x1eed3b(0x297)]():'',_0x33e0c8=typeof _0x5c267c[_0x1eed3b(0x3af)]=='string'?_0x5c267c['url'][_0x1eed3b(0x297)]():'',_0x5c4005=Ft(_0x33e0c8||_0x10948b);return _0x5c4005?{'text':_0x10948b||_0x33e0c8||_0x5c4005,'url':_0x5c4005}:null;}let _0x10cd98=String(_0x4fa6e5)[_0x1eed3b(0x297)](),_0xbe69a7=Ft(_0x10cd98);return _0xbe69a7?{'text':_0x10cd98,'url':_0xbe69a7}:null;}function Pt(_0x2410f1){const _0xa317a3=_0x3401ce;if(_0x2410f1==null)return'';if(typeof _0x2410f1==_0xa317a3(0x331)&&!Array[_0xa317a3(0x23e)](_0x2410f1)){let _0x1a93d5=_0x2410f1;return String(_0x1a93d5[_0xa317a3(0x1a1)]||_0x1a93d5[_0xa317a3(0x3af)]||'');}return String(_0x2410f1);}function Ft(_0x568a6c){const _0x50d8c9=_0x3401ce;let _0x3f405e=_0x568a6c['trim']();return _0x3f405e?/^[a-z][a-z\d+.-]*:\/\//i[_0x50d8c9(0x19b)](_0x3f405e)?_0x3f405e:_0x50d8c9(0x178)+_0x3f405e:'';}function It(_0x51cd3b){const _0xbf202d=_0x3401ce;let _0x223f99=_0x51cd3b[_0xbf202d(0x255)]('@');if(_0x223f99<=0x0||_0x223f99!==_0x51cd3b[_0xbf202d(0x25b)]('@'))return!0x1;let _0x54b6b7=_0x51cd3b[_0xbf202d(0x18b)](_0x223f99+0x1);return _0x54b6b7['includes']('.')&&!_0x51cd3b[_0xbf202d(0x37e)]('\x20')&&!_0x54b6b7[_0xbf202d(0x1ac)]('.')&&!_0x54b6b7[_0xbf202d(0x26f)]('.');}const P={'table':_0x1a4899=>[_0x3401ce(0x391),_0x1a4899],'field':(_0x1eb949,_0x10150b)=>[_0x3401ce(0x391),_0x1eb949,_0x3401ce(0x204),_0x10150b],'fieldOrder':(_0x55848f,_0xc19c7f)=>[_0x3401ce(0x391),_0x55848f,_0x3401ce(0x264),_0xc19c7f],'record':(_0x2aaf9d,_0x30ba4a)=>[_0x3401ce(0x391),_0x2aaf9d,_0x3401ce(0x320),_0x30ba4a],'cell':(_0x3490c1,_0x2d8db0,_0x2c799b)=>[_0x3401ce(0x391),_0x3490c1,_0x3401ce(0x320),_0x2d8db0,_0x3401ce(0x288),_0x2c799b],'cellData':(_0x3cd865,_0x13ad34,_0x500fd5)=>[_0x3401ce(0x391),_0x3cd865,_0x3401ce(0x29d),String(_0x13ad34),String(_0x500fd5)],'attachmentSet':(_0x465f5b,_0x4432bb)=>['tables',_0x465f5b,'resources',_0x3401ce(0x1e0),_0x4432bb],'attachment':(_0x3167c1,_0x5726)=>['tables',_0x3167c1,_0x3401ce(0x244),'attachments',_0x5726],'view':(_0x268b8f,_0x107171)=>[_0x3401ce(0x391),_0x268b8f,_0x3401ce(0x2ae),_0x107171],'viewFieldHidden':(_0x38107d,_0x1faff9,_0x254c2f)=>[_0x3401ce(0x391),_0x38107d,_0x3401ce(0x2ae),_0x1faff9,'fieldSettings',_0x254c2f,_0x3401ce(0x2cf)]};function F(_0x33761d){const _0x262502=_0x3401ce;return _0x33761d[_0x262502(0x2e5)]((_0x5d8193,_0xc83c28)=>_0x5d8193==null?_0xc83c28:_0x1811e5['type'][_0x262502(0x1e5)](_0x5d8193,_0xc83c28),void 0x0);}var I=class{[_0x3401ce(0x3a2)](_0x3e8186,_0xbc9792,_0x5e0f02=_0x3e8186[_0x3401ce(0x207)][_0x3401ce(0x2b1)]){const _0x2dd91c=_0x3401ce;return F([_0x1811e5[_0x2dd91c(0x38b)](P[_0x2dd91c(0x39c)](_0xbc9792['id']),_0xbc9792),_0x1811e5['insertOp']([_0x2dd91c(0x207),_0x5e0f02],_0xbc9792['id'])]);}['renameTable'](_0x1b0cab,_0x1bc207,_0x42acb5){const _0x45b8eb=_0x3401ce;return _0x1811e5[_0x45b8eb(0x190)]([...P['table'](_0x1bc207),'name'],_0x1b0cab[_0x45b8eb(0x391)][_0x1bc207][_0x45b8eb(0x1fe)],_0x42acb5);}['deleteTable'](_0xa887f4,_0x586110){const _0x4ea3aa=_0x3401ce;return this['_setDeleted']([...P[_0x4ea3aa(0x39c)](_0x586110),_0x4ea3aa(0x219)],_0xa887f4[_0x4ea3aa(0x391)][_0x586110][_0x4ea3aa(0x219)]);}[_0x3401ce(0x29c)](_0x136a8a,_0x3aab3f,_0x355363){const _0x257962=_0x3401ce;return this[_0x257962(0x2a1)](_0x136a8a,_0x3aab3f,[_0x355363]);}[_0x3401ce(0x2a1)](_0xdd5adb,_0x3ecf93,_0x3af044){const _0x25afef=_0x3401ce;let _0x2e355e=_0xdd5adb['tables'][_0x3ecf93],_0x255eff=_0x3af044['filter'](_0x316cbf=>_0x316cbf&&!_0x2e355e[_0x25afef(0x320)][_0x316cbf['id']]);return _0x255eff[_0x25afef(0x2b1)]?F([..._0x255eff[_0x25afef(0x1d3)](_0xf5d1f2=>_0x1811e5[_0x25afef(0x38b)](P[_0x25afef(0x305)](_0x3ecf93,_0xf5d1f2['id']),_0xf5d1f2)),this[_0x25afef(0x252)](_0xdd5adb,_0x3ecf93,_0x255eff)]):_0x1811e5[_0x25afef(0x190)]([...P[_0x25afef(0x39c)](_0x3ecf93),_0x25afef(0x320)],_0x2e355e[_0x25afef(0x320)],_0x2e355e['records']);}[_0x3401ce(0x2ab)](_0x4c9122,_0x2d15da,_0x74a66d){const _0x6f0db5=_0x3401ce;return this[_0x6f0db5(0x1b7)]([...P['record'](_0x2d15da,_0x74a66d),_0x6f0db5(0x219)],_0x4c9122[_0x6f0db5(0x391)][_0x2d15da]['records'][_0x74a66d][_0x6f0db5(0x219)]);}[_0x3401ce(0x3b9)](_0x50bd10,_0x47c6bd,_0x1eedc2){const _0x523c1c=_0x3401ce;return F(_0x1eedc2[_0x523c1c(0x1d3)](_0x2aafb8=>this[_0x523c1c(0x2ab)](_0x50bd10,_0x47c6bd,_0x2aafb8)));}[_0x3401ce(0x20d)](_0x19c2aa,_0x3a2913,_0x5be08d,_0x505a90){const _0x331e0d=_0x3401ce;return this[_0x331e0d(0x29c)](_0x19c2aa,_0x3a2913,{..._0x505a90,'values':{..._0x19c2aa[_0x331e0d(0x391)][_0x3a2913]['records'][_0x5be08d][_0x331e0d(0x288)],..._0x505a90[_0x331e0d(0x288)]}});}[_0x3401ce(0x3fe)](_0x4b1a5c,_0x3fab4e,_0x440b69,_0x3d7a94){const _0x57c64f=_0x3401ce;let _0x3ac590=_0x4b1a5c['tables'][_0x3fab4e],_0x3c8f7c=[...P[_0x57c64f(0x305)](_0x3fab4e,_0x440b69),_0x57c64f(0x20e)],_0x12112d=Object[_0x57c64f(0x288)](_0x3ac590['records'])[_0x57c64f(0x2db)](_0x33a3ab=>!_0x33a3ab[_0x57c64f(0x219)])['map'](_0x49ab3a=>_0x49ab3a['id']===_0x440b69?{..._0x49ab3a,'orderKey':_0x3d7a94}:_0x49ab3a)[_0x57c64f(0x22f)]((_0x23b223,_0x1b43c0)=>{const _0xcb01ca=_0x57c64f;var _0x29d866,_0x4b67e1;return String((_0x29d866=_0x23b223['orderKey'])==null?_0x23b223['id']:_0x29d866)[_0xcb01ca(0x16a)](String((_0x4b67e1=_0x1b43c0[_0xcb01ca(0x20e)])==null?_0x1b43c0['id']:_0x4b67e1));})[_0x57c64f(0x1d3)](_0x41d168=>_0x41d168['id']),_0x8b041d=[...P['table'](_0x3fab4e),_0x57c64f(0x275)];return F([_0x1811e5['replaceOp'](_0x3c8f7c,_0x3ac590['records'][_0x440b69]['orderKey'],_0x3d7a94),_0x3ac590[_0x57c64f(0x275)]?_0x1811e5[_0x57c64f(0x190)](_0x8b041d,_0x3ac590['recordOrder'],_0x12112d):_0x1811e5[_0x57c64f(0x38b)](_0x8b041d,_0x12112d)]);}[_0x3401ce(0x35a)](_0x72598e,_0x25c6e1,_0x5cfe25,_0xd80bc8,_0x33af5f){const _0x227158=_0x3401ce;var _0x407144,_0x5ebfc3;let _0x57c868=_0x72598e[_0x227158(0x391)][_0x25c6e1],_0x3ab8ab=Lt(_0x57c868,_0x5cfe25,_0xd80bc8)?_0x57c868:C(_0x57c868),_0x52ad9d=(_0x407144=_0x3ab8ab[_0x227158(0x1dd)])==null?void 0x0:_0x407144[_0x5cfe25],_0x5ec196=(_0x5ebfc3=_0x3ab8ab[_0x227158(0x3e6)])==null?void 0x0:_0x5ebfc3[_0xd80bc8];if(_0x52ad9d==null||_0x5ec196==null){var _0x3b10b6;return this['_replaceOptional'](P[_0x227158(0x3ad)](_0x25c6e1,_0x5cfe25,_0xd80bc8),(_0x3b10b6=_0x72598e[_0x227158(0x391)][_0x25c6e1])==null||(_0x3b10b6=_0x3b10b6[_0x227158(0x320)][_0x5cfe25])==null?void 0x0:_0x3b10b6[_0x227158(0x288)][_0xd80bc8],_0x33af5f);}return this['setRangeValues'](_0x72598e,_0x25c6e1,[{'row':_0x52ad9d,'col':_0x5ec196,'value':_0x33af5f}]);}['setRecordValues'](_0x415ac3,_0x43a31b,_0x3c202c){const _0x51f787=_0x3401ce;let _0x610cb=_0x415ac3[_0x51f787(0x391)][_0x43a31b],_0x8740d=_0x3c202c[_0x51f787(0x27b)](_0x55acdc=>Object['keys'](_0x55acdc[_0x51f787(0x288)])[_0x51f787(0x27b)](_0x51b675=>Lt(_0x610cb,_0x55acdc[_0x51f787(0x163)],_0x51b675)))?_0x610cb:C(_0x610cb),_0x9ca20=_0x3c202c[_0x51f787(0x278)](_0x4bcead=>Object['entries'](_0x4bcead[_0x51f787(0x288)])[_0x51f787(0x278)](([_0x4126da,_0x373741])=>{const _0x519cf8=_0x51f787;var _0xaf51a4,_0x1fff67;let _0x4995c5=(_0xaf51a4=_0x8740d['rowIndex'])==null?void 0x0:_0xaf51a4[_0x4bcead['recordId']],_0x17bb4a=(_0x1fff67=_0x8740d[_0x519cf8(0x3e6)])==null?void 0x0:_0x1fff67[_0x4126da];return _0x4995c5==null||_0x17bb4a==null?[]:[{'row':_0x4995c5,'col':_0x17bb4a,'value':_0x373741}];})),_0x43462a=_0x3c202c[_0x51f787(0x278)](_0xc8b117=>{const _0x1bdfab=_0x51f787;var _0x427dc4;return Object['entries']((_0x427dc4=_0xc8b117[_0x1bdfab(0x2c1)])==null?{}:_0x427dc4)[_0x1bdfab(0x1d3)](([_0x3e2601,_0xd2b541])=>{const _0x2e1c32=_0x1bdfab;var _0xd6d83a;let _0x13a80c=[...P['record'](_0x43a31b,_0xc8b117[_0x2e1c32(0x163)]),_0x3e2601],_0x39b243=(_0xd6d83a=_0x415ac3[_0x2e1c32(0x391)][_0x43a31b])==null||(_0xd6d83a=_0xd6d83a[_0x2e1c32(0x320)][_0xc8b117[_0x2e1c32(0x163)]])==null?void 0x0:_0xd6d83a[_0x3e2601];return this[_0x2e1c32(0x158)](_0x13a80c,_0x39b243,_0xd2b541);});});return F([this[_0x51f787(0x1c7)](_0x415ac3,_0x43a31b,_0x9ca20),..._0x43462a]);}[_0x3401ce(0x1c7)](_0x503098,_0xb6a93d,_0x5a10a4){const _0x4204ae=_0x3401ce;let _0x582585=_0x503098[_0x4204ae(0x391)][_0xb6a93d],_0x2a8886=_0x5a10a4[_0x4204ae(0x27b)](_0xe7283a=>Rt(_0x582585,_0xe7283a['row'],_0xe7283a[_0x4204ae(0x3e2)]))?_0x582585:C(_0x582585),_0x5d3f74=_0x5a10a4[_0x4204ae(0x278)](_0x24bfb2=>{const _0x2d53b9=_0x4204ae;var _0x32ff05,_0x5c46d7,_0x10261d,_0x1d9e64;let _0x44fc07=(_0x32ff05=_0x2a8886[_0x2d53b9(0x359)])==null?void 0x0:_0x32ff05[_0x24bfb2[_0x2d53b9(0x3e2)]],_0x467ca7=(_0x5c46d7=_0x2a8886[_0x2d53b9(0x21e)])==null?void 0x0:_0x5c46d7[_0x24bfb2['row']],_0x183f89=_0x44fc07?_0x2a8886['fields'][_0x44fc07]:void 0x0,_0x3931a9=w(_0x24bfb2[_0x2d53b9(0x30a)],_0x183f89),_0x2936ef=(_0x10261d=_0x2a8886[_0x2d53b9(0x29d)])==null||(_0x10261d=_0x10261d[_0x24bfb2[_0x2d53b9(0x2d5)]])==null?void 0x0:_0x10261d[_0x24bfb2[_0x2d53b9(0x3e2)]],_0x595cfe=this[_0x2d53b9(0x158)](P[_0x2d53b9(0x29d)](_0xb6a93d,_0x24bfb2[_0x2d53b9(0x2d5)],_0x24bfb2['col']),_0x2936ef,_0x3931a9);if(!_0x44fc07||!_0x467ca7)return[_0x595cfe];let _0x13b891=(_0x1d9e64=_0x2a8886[_0x2d53b9(0x320)][_0x467ca7])==null?void 0x0:_0x1d9e64[_0x2d53b9(0x288)][_0x44fc07],_0x5c6cfd=(_0x183f89==null?void 0x0:_0x183f89[_0x2d53b9(0x1b1)])===_0x2d53b9(0x375)?T(_0x24bfb2['value']):Te(_0x24bfb2[_0x2d53b9(0x30a)],_0x3931a9,_0x183f89,_0x2a8886,_0x467ca7),_0x2e2d00=[_0x595cfe,this[_0x2d53b9(0x158)](P[_0x2d53b9(0x3ad)](_0xb6a93d,_0x467ca7,_0x44fc07),_0x13b891,_0x5c6cfd)];if((_0x183f89==null?void 0x0:_0x183f89['type'])!==_0x2d53b9(0x375))return _0x2e2d00;let _0x555118=this['_setAttachmentResources'](_0x2a8886,_0xb6a93d,_0x467ca7,_0x44fc07,_0x5c6cfd);return[..._0x2e2d00,..._0x555118];});return _0x5d3f74[_0x4204ae(0x2b1)]?F(_0x5d3f74):_0x1811e5[_0x4204ae(0x190)]([_0x4204ae(0x391),_0xb6a93d,_0x4204ae(0x29d)],_0x2a8886[_0x4204ae(0x29d)],_0x2a8886[_0x4204ae(0x29d)]);}[_0x3401ce(0x179)](_0x169530,_0x4a7f40,_0xc5abf0){const _0x3571bf=_0x3401ce;var _0x20863e,_0x25d01e;let _0x17dbb4=_0x169530['tables'][_0x4a7f40];if(_0x17dbb4['fields'][_0xc5abf0[_0x3571bf(0x1a4)]['id']]||_0x17dbb4['fieldOrder'][_0x3571bf(0x37e)](_0xc5abf0['field']['id']))return _0x1811e5[_0x3571bf(0x190)](['tables',_0x4a7f40,_0x3571bf(0x264)],_0x17dbb4[_0x3571bf(0x264)],_0x17dbb4['fieldOrder']);let _0x1b67ef=(_0x20863e=_0xc5abf0[_0x3571bf(0x17e)])==null?_0x17dbb4[_0x3571bf(0x264)]['length']:_0x20863e,_0x4bf563=Object[_0x3571bf(0x288)]((_0x25d01e=_0x17dbb4[_0x3571bf(0x2ae)])==null?{}:_0x25d01e)[_0x3571bf(0x278)](_0x155215=>{const _0x1d15bc=_0x3571bf;var _0x45943d,_0x52dc4c;if(!_0x155215[_0x1d15bc(0x264)]||_0x155215[_0x1d15bc(0x264)]['includes'](_0xc5abf0['field']['id']))return[];let _0x1d70d1=Vt((_0x45943d=(_0x52dc4c=_0xc5abf0[_0x1d15bc(0x3ce)])==null?void 0x0:_0x52dc4c[_0x155215['id']])==null?_0x1b67ef:_0x45943d,_0x155215[_0x1d15bc(0x264)][_0x1d15bc(0x2b1)]);return[_0x1811e5[_0x1d15bc(0x38b)]([...P[_0x1d15bc(0x1c9)](_0x4a7f40,_0x155215['id']),'fieldOrder',_0x1d70d1],_0xc5abf0[_0x1d15bc(0x1a4)]['id'])];});return F([_0x1811e5[_0x3571bf(0x38b)](P[_0x3571bf(0x1a4)](_0x4a7f40,_0xc5abf0['field']['id']),_0xc5abf0[_0x3571bf(0x1a4)]),_0x1811e5[_0x3571bf(0x38b)](P[_0x3571bf(0x264)](_0x4a7f40,_0x1b67ef),_0xc5abf0['field']['id']),..._0x4bf563]);}['duplicateField'](_0x2dce39,_0x43618c,_0x24e1e9,_0x18878c){const _0xf89223=_0x3401ce;var _0x55f8e0,_0x1c7e99;let _0xb6b958=_0x2dce39[_0xf89223(0x391)][_0x43618c];if(!_0xb6b958[_0xf89223(0x204)][_0x24e1e9]||_0xb6b958[_0xf89223(0x204)][_0x18878c[_0xf89223(0x1a4)]['id']]||_0xb6b958[_0xf89223(0x264)][_0xf89223(0x37e)](_0x18878c[_0xf89223(0x1a4)]['id']))return _0x1811e5[_0xf89223(0x190)]([_0xf89223(0x391),_0x43618c,_0xf89223(0x264)],_0xb6b958[_0xf89223(0x264)],_0xb6b958['fieldOrder']);let _0x40547d=(_0x55f8e0=_0x18878c[_0xf89223(0x17e)])==null?_0xb6b958[_0xf89223(0x264)]['indexOf'](_0x24e1e9)+0x1:_0x55f8e0,_0x2a768b=_0xb6b958[_0xf89223(0x264)][_0xf89223(0x2db)](_0x40996d=>_0x40996d!==_0x18878c[_0xf89223(0x1a4)]['id']),_0x9f397a=Bt(_0x2a768b,_0x18878c['field']['id'],_0x40547d),_0x3c6eb3=Object[_0xf89223(0x288)]((_0x1c7e99=_0xb6b958['views'])==null?{}:_0x1c7e99)['flatMap'](_0x4068ff=>{const _0x2039f8=_0xf89223;var _0x3fa919,_0x1b5d26,_0x3ddad8,_0x5e7245,_0x4da36e;let _0x321456=(_0x3fa919=_0x4068ff['fieldOrder'])!=null&&_0x3fa919[_0x2039f8(0x2b1)]?_0x4068ff[_0x2039f8(0x264)]:_0x2a768b;if(_0x321456[_0x2039f8(0x37e)](_0x18878c['field']['id']))return[];let _0x117ac6=Bt(_0x321456,_0x18878c[_0x2039f8(0x1a4)]['id'],(_0x1b5d26=(_0x3ddad8=_0x18878c[_0x2039f8(0x3ce)])==null?void 0x0:_0x3ddad8[_0x4068ff['id']])==null?_0x40547d:_0x1b5d26),_0x3fcf45=(_0x5e7245=_0x4068ff[_0x2039f8(0x1fd)])==null?void 0x0:_0x5e7245[_0x24e1e9];return[this[_0x2039f8(0x158)]([...P['view'](_0x43618c,_0x4068ff['id']),_0x2039f8(0x264)],_0x4068ff[_0x2039f8(0x264)],_0x117ac6),..._0x3fcf45?[this[_0x2039f8(0x158)]([...P['view'](_0x43618c,_0x4068ff['id']),'fieldSettings',_0x18878c[_0x2039f8(0x1a4)]['id']],(_0x4da36e=_0x4068ff[_0x2039f8(0x1fd)])==null?void 0x0:_0x4da36e[_0x18878c[_0x2039f8(0x1a4)]['id']],_0x3fcf45)]:[]];}),_0x235dfe=Object[_0xf89223(0x288)](_0xb6b958[_0xf89223(0x320)])[_0xf89223(0x2db)](_0x141775=>!_0x141775[_0xf89223(0x219)]&&Object[_0xf89223(0x402)][_0xf89223(0x224)][_0xf89223(0x1b4)](_0x141775['values'],_0x24e1e9))[_0xf89223(0x1d3)](_0x2856f9=>this[_0xf89223(0x158)](P[_0xf89223(0x3ad)](_0x43618c,_0x2856f9['id'],_0x18878c[_0xf89223(0x1a4)]['id']),_0x2856f9[_0xf89223(0x288)][_0x18878c[_0xf89223(0x1a4)]['id']],_0x2856f9['values'][_0x24e1e9]));return F([_0x1811e5[_0xf89223(0x38b)](P[_0xf89223(0x1a4)](_0x43618c,_0x18878c['field']['id']),_0x18878c[_0xf89223(0x1a4)]),_0x1811e5[_0xf89223(0x190)]([_0xf89223(0x391),_0x43618c,_0xf89223(0x264)],_0xb6b958[_0xf89223(0x264)],_0x9f397a),..._0x3c6eb3,..._0x235dfe]);}['updateField'](_0x276a65,_0x1ec92b,_0x413461,_0x2a1a3b){const _0x35670d=_0x3401ce;let _0x36499b=_0x276a65[_0x35670d(0x391)][_0x1ec92b][_0x35670d(0x204)][_0x413461],_0x14a158={..._0x36499b,..._0x2a1a3b};Object[_0x35670d(0x2fe)](_0x2a1a3b)['forEach'](_0x44fe32=>{_0x2a1a3b[_0x44fe32]===void 0x0&&delete _0x14a158[_0x44fe32];});let _0x2ce422=_0x1811e5['replaceOp'](P[_0x35670d(0x1a4)](_0x1ec92b,_0x413461),_0x36499b,_0x14a158);return _0x14a158[_0x35670d(0x1b1)]===_0x35670d(0x291)?F([_0x2ce422,...this['_setFormulaFieldCells'](_0x276a65,_0x1ec92b,_0x413461,_0x14a158)]):_0x2ce422;}[_0x3401ce(0x193)](_0xabc2e1,_0x473fa4,_0x3229ef,_0x51dc4f){return this['updateField'](_0xabc2e1,_0x473fa4,_0x3229ef,_0x51dc4f);}['deleteField'](_0xef8534,_0x3ae1f9,_0x13d7ad){const _0x454358=_0x3401ce;let _0x2ea675=_0xef8534['tables'][_0x3ae1f9];return!(_0x2ea675!=null&&_0x2ea675[_0x454358(0x204)][_0x13d7ad])||_0x2ea675[_0x454358(0x346)]===_0x13d7ad?_0x1811e5[_0x454358(0x190)]([_0x454358(0x391),_0x3ae1f9,'fieldOrder'],_0x2ea675==null?void 0x0:_0x2ea675[_0x454358(0x264)],_0x2ea675==null?void 0x0:_0x2ea675[_0x454358(0x264)]):this[_0x454358(0x1b7)]([...P[_0x454358(0x1a4)](_0x3ae1f9,_0x13d7ad),_0x454358(0x219)],_0x2ea675[_0x454358(0x204)][_0x13d7ad][_0x454358(0x219)]);}[_0x3401ce(0x3ab)](_0x446a01,_0x3b54b4,_0x56d399,_0x48b4d8){const _0x94840c=_0x3401ce;let _0x15cd56=_0x446a01[_0x94840c(0x391)][_0x3b54b4][_0x94840c(0x264)],_0x30b5f0=zt(_0x15cd56,_0x56d399,_0x48b4d8);return _0x1811e5[_0x94840c(0x190)]([_0x94840c(0x391),_0x3b54b4,'fieldOrder'],_0x15cd56,_0x30b5f0);}[_0x3401ce(0x397)](_0x5ea8af,_0x90e7db,_0x7d4921,_0x5aa65e=_0x5ea8af[_0x3401ce(0x391)][_0x90e7db][_0x3401ce(0x1b9)][_0x3401ce(0x2b1)]){const _0x1549d5=_0x3401ce;return F([_0x1811e5[_0x1549d5(0x38b)](P['view'](_0x90e7db,_0x7d4921['id']),_0x7d4921),_0x1811e5['insertOp']([_0x1549d5(0x391),_0x90e7db,'viewOrder',_0x5aa65e],_0x7d4921['id'])]);}[_0x3401ce(0x39d)](_0x22cab2,_0x20c1d3,_0x3dbf0c,_0x5cde01){const _0x3f2bd2=_0x3401ce;return _0x1811e5['replaceOp']([...P[_0x3f2bd2(0x1c9)](_0x20c1d3,_0x3dbf0c),_0x3f2bd2(0x1fe)],_0x22cab2[_0x3f2bd2(0x391)][_0x20c1d3]['views'][_0x3dbf0c]['name'],_0x5cde01);}['deleteView'](_0x5e458d,_0x3e7cd3,_0x2eda77){const _0x237ab7=_0x3401ce;return this[_0x237ab7(0x1b7)]([...P[_0x237ab7(0x1c9)](_0x3e7cd3,_0x2eda77),_0x237ab7(0x219)],_0x5e458d[_0x237ab7(0x391)][_0x3e7cd3][_0x237ab7(0x2ae)][_0x2eda77][_0x237ab7(0x219)]);}[_0x3401ce(0x352)](_0x1ffb11,_0x2600a6,_0x16c65f,_0x5cb824){const _0x130dd3=_0x3401ce;let _0x34647a=_0x1ffb11[_0x130dd3(0x391)][_0x2600a6][_0x130dd3(0x1b9)],_0x178fc8=zt(_0x34647a,_0x16c65f,{'beforeFieldId':_0x5cb824[_0x130dd3(0x1a6)],'afterFieldId':_0x5cb824['afterViewId']});return _0x1811e5[_0x130dd3(0x190)]([_0x130dd3(0x391),_0x2600a6,_0x130dd3(0x1b9)],_0x34647a,_0x178fc8);}[_0x3401ce(0x378)](_0x593c28,_0x5b880a,_0x2acce1,_0x1129ba){const _0x5ce2f5=_0x3401ce;var _0x1472f4;let _0x193ea7=(_0x1472f4=_0x593c28[_0x5ce2f5(0x391)][_0x5b880a][_0x5ce2f5(0x2ae)][_0x2acce1][_0x5ce2f5(0x3cb)])==null?{}:_0x1472f4,_0x537741={..._0x193ea7,..._0x1129ba};return Object[_0x5ce2f5(0x2fe)](_0x1129ba)[_0x5ce2f5(0x3f4)](_0x2066c7=>{_0x1129ba[_0x2066c7]===void 0x0&&delete _0x537741[_0x2066c7];}),_0x1811e5[_0x5ce2f5(0x190)]([...P[_0x5ce2f5(0x1c9)](_0x5b880a,_0x2acce1),_0x5ce2f5(0x3cb)],_0x193ea7,_0x537741);}[_0x3401ce(0x181)](_0x4df31b,_0x35de97,_0x1e46c6,_0x465708){const _0x3b606b=_0x3401ce;return this[_0x3b606b(0x158)]([...P['view'](_0x35de97,_0x1e46c6),_0x3b606b(0x2db)],_0x4df31b['tables'][_0x35de97][_0x3b606b(0x2ae)][_0x1e46c6]['filter'],_0x465708);}[_0x3401ce(0x395)](_0x222701,_0x2bd918,_0x1151f2,_0x7f36ef){const _0x2008d5=_0x3401ce;return this[_0x2008d5(0x158)]([...P[_0x2008d5(0x1c9)](_0x2bd918,_0x1151f2),_0x2008d5(0x22f)],_0x222701[_0x2008d5(0x391)][_0x2bd918]['views'][_0x1151f2][_0x2008d5(0x22f)],_0x7f36ef);}[_0x3401ce(0x3b8)](_0x14a774,_0x15c561,_0x25a322,_0x50f75e){const _0x4fe771=_0x3401ce;return this[_0x4fe771(0x158)]([...P[_0x4fe771(0x1c9)](_0x15c561,_0x25a322),'group'],_0x14a774[_0x4fe771(0x391)][_0x15c561][_0x4fe771(0x2ae)][_0x25a322][_0x4fe771(0x403)],_0x50f75e);}['setViewFieldVisible'](_0x2d0725,_0x41eb22,_0x536120,_0x56f1c4,_0x2f3969){const _0x5a5aed=_0x3401ce;return this[_0x5a5aed(0x27e)](_0x2d0725,_0x41eb22,_0x536120,_0x56f1c4,{'hidden':!_0x2f3969});}['setViewFieldWidth'](_0x28697c,_0xdd5f1,_0x4b0b02,_0x107211,_0x5705b0){const _0x5b333a=_0x3401ce;return this[_0x5b333a(0x27e)](_0x28697c,_0xdd5f1,_0x4b0b02,_0x107211,{'width':_0x5705b0});}[_0x3401ce(0x3b4)](_0x3450b6,_0x72d7f3,_0x5ce0d9,_0x990688,_0x58716e){const _0x5399ac=_0x3401ce;var _0x3d293a;let _0x367c44=_0x3450b6[_0x5399ac(0x391)][_0x72d7f3][_0x5399ac(0x2ae)][_0x5ce0d9],_0x378c2d=zt((_0x3d293a=_0x367c44[_0x5399ac(0x264)])==null?_0x3450b6[_0x5399ac(0x391)][_0x72d7f3]['fieldOrder']:_0x3d293a,_0x990688,_0x58716e);return this['_replaceOptional']([...P[_0x5399ac(0x1c9)](_0x72d7f3,_0x5ce0d9),'fieldOrder'],_0x367c44[_0x5399ac(0x264)],_0x378c2d);}[_0x3401ce(0x27e)](_0x3febcf,_0x4b890a,_0x1e0eb4,_0x224e2d,_0x17d23d){const _0x69eb72=_0x3401ce;var _0x4d0b49;let _0x5f45dc=(_0x4d0b49=_0x3febcf['tables'][_0x4b890a][_0x69eb72(0x2ae)][_0x1e0eb4]['fieldSettings'])==null?{}:_0x4d0b49,_0x3b528e={..._0x5f45dc,[_0x224e2d]:{..._0x5f45dc[_0x224e2d],..._0x17d23d}};return this[_0x69eb72(0x158)]([...P['view'](_0x4b890a,_0x1e0eb4),_0x69eb72(0x1fd)],_0x3febcf['tables'][_0x4b890a][_0x69eb72(0x2ae)][_0x1e0eb4][_0x69eb72(0x1fd)],_0x3b528e);}[_0x3401ce(0x1b7)](_0x2e25ff,_0x3ae3aa){const _0xb2cacc=_0x3401ce;return this[_0xb2cacc(0x158)](_0x2e25ff,_0x3ae3aa,!0x0);}['_createRecordOrderOp'](_0x2efaf8,_0x49b055,_0x2e91d9){const _0x55881f=_0x3401ce;let _0x2f7869=_0x2efaf8['tables'][_0x49b055],_0x146f77=new Set(_0x2e91d9['map'](_0x4da067=>_0x4da067['id'])),_0x1e8f3f=[...Object['values'](_0x2f7869['records'])['filter'](_0x404520=>!_0x404520[_0x55881f(0x219)]&&!_0x146f77[_0x55881f(0x356)](_0x404520['id'])),..._0x2e91d9['filter'](_0x33760d=>!_0x33760d['deleted'])][_0x55881f(0x22f)]((_0x32a0fe,_0x5799c6)=>{const _0x4c77e2=_0x55881f;var _0x204dcd,_0x3b48f2;return String((_0x204dcd=_0x32a0fe[_0x4c77e2(0x20e)])==null?_0x32a0fe['id']:_0x204dcd)[_0x4c77e2(0x16a)](String((_0x3b48f2=_0x5799c6['orderKey'])==null?_0x5799c6['id']:_0x3b48f2));})[_0x55881f(0x1d3)](_0x4b2553=>_0x4b2553['id']),_0x5b6f76=[...P['table'](_0x49b055),_0x55881f(0x275)];return _0x2f7869[_0x55881f(0x275)]?_0x1811e5['replaceOp'](_0x5b6f76,_0x2f7869[_0x55881f(0x275)],_0x1e8f3f):_0x1811e5[_0x55881f(0x38b)](_0x5b6f76,_0x1e8f3f);}['_setFormulaFieldCells'](_0x40834d,_0x42f1d7,_0x1f9370,_0x186e6a){const _0x310700=_0x3401ce;var _0x1003b5,_0x4f6d04,_0xb42026,_0x219203;let _0x2a9419=C(_0x40834d[_0x310700(0x391)][_0x42f1d7]),_0xa4d11e=String((_0x1003b5=(_0x4f6d04=_0x186e6a[_0x310700(0x3cb)])==null?void 0x0:_0x4f6d04['formula'])==null?'':_0x1003b5)['trim'](),_0x310b2e=(_0xb42026=_0x2a9419[_0x310700(0x3e6)])==null?void 0x0:_0xb42026[_0x1f9370];if(_0x310b2e==null)return[];let _0x17c77c=((_0x219203=_0x2a9419['recordOrder'])==null?Object[_0x310700(0x2fe)](_0x2a9419[_0x310700(0x320)]):_0x219203)[_0x310700(0x2db)](_0x4d0339=>{const _0x580a3e=_0x310700;var _0x29376e;return!((_0x29376e=_0x2a9419[_0x580a3e(0x320)][_0x4d0339])!=null&&_0x29376e[_0x580a3e(0x219)]);}),_0x113927=_0x17c77c[_0x310700(0x1d3)](_0x440665=>{const _0x372a1a=_0x310700;var _0xc61c7c;return(_0xc61c7c=_0x2a9419[_0x372a1a(0x1dd)])==null?void 0x0:_0xc61c7c[_0x440665];})[_0x310700(0x387)](_0x1c3654=>_0x1c3654!=null);return _0x17c77c[_0x310700(0x278)](_0x944ed0=>{const _0x3b8598=_0x310700;var _0x2cdfcb,_0x1d6cf8;let _0xfb2fcb=(_0x2cdfcb=_0x2a9419['rowIndex'])==null?void 0x0:_0x2cdfcb[_0x944ed0];if(_0xfb2fcb==null)return[];let _0x5e54ef=(_0x1d6cf8=_0x2a9419[_0x3b8598(0x29d)])==null||(_0x1d6cf8=_0x1d6cf8[_0xfb2fcb])==null?void 0x0:_0x1d6cf8[_0x310b2e],_0x236b2e=_0xa4d11e?_0xfb2fcb===_0x113927?{'f':_0xa4d11e,'si':_0x1f9370}:{'si':_0x1f9370}:{'v':null,'t':null};return[this[_0x3b8598(0x158)](P[_0x3b8598(0x29d)](_0x42f1d7,_0xfb2fcb,_0x310b2e),_0x5e54ef,_0x236b2e)];});}[_0x3401ce(0x19d)](_0x5c28d7,_0x142481,_0x18ebf9,_0x5594e0,_0x3e9297){const _0x23bd95=_0x3401ce;var _0x1cdda7;let _0x49db2c=De(_0x5594e0,_0x18ebf9),_0x504127=_0x3e9297[_0x23bd95(0x1d3)]((_0x189740,_0x401cc3)=>{var _0x1acbff;return String((_0x1acbff=_0x189740['id'])==null?_0x49db2c+'\x1f'+_0x401cc3:_0x1acbff);});return[this[_0x23bd95(0x158)](P[_0x23bd95(0x3cd)](_0x142481,_0x49db2c),(_0x1cdda7=_0x5c28d7['resources'])==null||(_0x1cdda7=_0x1cdda7[_0x23bd95(0x1e0)])==null?void 0x0:_0x1cdda7[_0x49db2c],_0x504127),..._0x3e9297[_0x23bd95(0x1d3)]((_0x409605,_0x24df9f)=>{const _0x31b392=_0x23bd95;var _0x1f638d;let _0x2b8534=_0x504127[_0x24df9f];return this[_0x31b392(0x158)](P[_0x31b392(0x375)](_0x142481,_0x2b8534),(_0x1f638d=_0x5c28d7['resources'])==null||(_0x1f638d=_0x1f638d['attachments'])==null?void 0x0:_0x1f638d[_0x2b8534],{..._0x409605,'id':_0x2b8534});})];}[_0x3401ce(0x158)](_0x27eaaf,_0x28503d,_0x24289d){const _0x353f94=_0x3401ce;return _0x28503d===void 0x0?_0x1811e5[_0x353f94(0x38b)](_0x27eaaf,_0x24289d):_0x1811e5['replaceOp'](_0x27eaaf,_0x28503d,_0x24289d);}};function Lt(_0x421f96,_0x156166,_0x17afa8){const _0x14c610=_0x3401ce;var _0x45ee1c,_0x54e7c3,_0x10368e,_0x12a782;let _0x5c7900=(_0x45ee1c=_0x421f96[_0x14c610(0x1dd)])==null?void 0x0:_0x45ee1c[_0x156166],_0x4ae2bf=(_0x54e7c3=_0x421f96[_0x14c610(0x3e6)])==null?void 0x0:_0x54e7c3[_0x17afa8];return _0x5c7900!=null&&_0x4ae2bf!=null&&((_0x10368e=_0x421f96[_0x14c610(0x21e)])==null?void 0x0:_0x10368e[_0x5c7900])===_0x156166&&((_0x12a782=_0x421f96[_0x14c610(0x359)])==null?void 0x0:_0x12a782[_0x4ae2bf])===_0x17afa8&&_0x421f96[_0x14c610(0x29d)]!=null;}function Rt(_0xb3215,_0x281761,_0x541e42){const _0x57b862=_0x3401ce;var _0xf83e82,_0x471865;return((_0xf83e82=_0xb3215[_0x57b862(0x21e)])==null?void 0x0:_0xf83e82[_0x281761])!=null&&((_0x471865=_0xb3215[_0x57b862(0x359)])==null?void 0x0:_0x471865[_0x541e42])!=null&&_0xb3215[_0x57b862(0x29d)]!=null;}function zt(_0xc95e57,_0x1cdad1,_0x5abf83){const _0x157824=_0x3401ce;let _0x3997e5=_0xc95e57[_0x157824(0x2db)](_0x2d221e=>_0x2d221e!==_0x1cdad1),_0x462d76=_0x5abf83[_0x157824(0x1c5)]?_0x3997e5[_0x157824(0x255)](_0x5abf83['beforeFieldId']):_0x5abf83[_0x157824(0x2d2)]?_0x3997e5[_0x157824(0x255)](_0x5abf83[_0x157824(0x2d2)])+0x1:_0x3997e5['length'];return _0x3997e5[_0x157824(0x23d)](_0x462d76<0x0?_0x3997e5[_0x157824(0x2b1)]:_0x462d76,0x0,_0x1cdad1),_0x3997e5;}function Bt(_0x15e127,_0x23847d,_0x325a63){const _0x2b74cd=_0x3401ce;let _0x36449f=_0x15e127[_0x2b74cd(0x2db)](_0x5d4b66=>_0x5d4b66!==_0x23847d);return _0x36449f[_0x2b74cd(0x23d)](Vt(_0x325a63,_0x36449f[_0x2b74cd(0x2b1)]),0x0,_0x23847d),_0x36449f;}function Vt(_0x2fb8d2,_0x562708){const _0x455117=_0x3401ce;return Math[_0x455117(0x16c)](0x0,Math['min'](_0x2fb8d2,_0x562708));}function L(_0x3f23d7){'@babel/helpers - typeof';const _0x5840ef=_0x3401ce;return L=typeof Symbol==_0x5840ef(0x366)&&typeof Symbol['iterator']==_0x5840ef(0x16f)?function(_0x2e8b35){return typeof _0x2e8b35;}:function(_0x4e26e5){const _0x31798c=_0x5840ef;return _0x4e26e5&&typeof Symbol==_0x31798c(0x366)&&_0x4e26e5[_0x31798c(0x344)]===Symbol&&_0x4e26e5!==Symbol['prototype']?'symbol':typeof _0x4e26e5;},L(_0x3f23d7);}function Ht(_0x160fd5,_0x4f577a){const _0x17f3b2=_0x3401ce;if(L(_0x160fd5)!=_0x17f3b2(0x331)||!_0x160fd5)return _0x160fd5;var _0x4d931a=_0x160fd5[Symbol[_0x17f3b2(0x2ba)]];if(_0x4d931a!==void 0x0){var _0xa716cc=_0x4d931a[_0x17f3b2(0x1b4)](_0x160fd5,_0x4f577a||_0x17f3b2(0x2bb));if(L(_0xa716cc)!='object')return _0xa716cc;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x4f577a===_0x17f3b2(0x3f7)?String:Number)(_0x160fd5);}function Ut(_0x2ed5ed){const _0x2e778f=_0x3401ce;var _0x1f1ba8=Ht(_0x2ed5ed,_0x2e778f(0x3f7));return L(_0x1f1ba8)==_0x2e778f(0x16f)?_0x1f1ba8:_0x1f1ba8+'';}function R(_0x59a621,_0x5470c9,_0x3dae98){return(_0x5470c9=Ut(_0x5470c9))in _0x59a621?Object['defineProperty'](_0x59a621,_0x5470c9,{'value':_0x3dae98,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x59a621[_0x5470c9]=_0x3dae98,_0x59a621;}const z=_0x53452b(_0x3401ce(0x2ac));var Wt=class extends _0x4b5308{constructor(..._0x1b318c){const _0x2fe0ae=_0x3401ce;super(..._0x1b318c),R(this,_0x2fe0ae(0x350),new Map());}[_0x3401ce(0x2e7)](_0x55c9fe){const _0x5ad732=_0x3401ce;return this[_0x5ad732(0x350)]['set'](_0x55c9fe['type'],_0x55c9fe),_0x200b81(()=>this[_0x5ad732(0x350)][_0x5ad732(0x1d6)](_0x55c9fe[_0x5ad732(0x1b1)]));}[_0x3401ce(0x192)](_0x5d02b9){const _0x9734d3=_0x3401ce;let _0x8a8988=this[_0x9734d3(0x350)][_0x9734d3(0x192)](_0x5d02b9);if(!_0x8a8988)throw Error(_0x9734d3(0x29f)+_0x5d02b9+_0x9734d3(0x3b0));return _0x8a8988;}[_0x3401ce(0x3bb)](_0x11f0f8){const _0x2dc830=_0x3401ce;return this[_0x2dc830(0x350)][_0x2dc830(0x192)](_0x11f0f8);}[_0x3401ce(0x188)](){const _0x318876=_0x3401ce;return Array[_0x318876(0x33e)](this['_plugins']['values']());}};const Gt=_0x53452b('base.permission.service');var Kt=class{constructor(){const _0x19094e=_0x3401ce;R(this,_0x19094e(0x215),new Map()),R(this,_0x19094e(0x16b),new Map()),R(this,_0x19094e(0x1ca),new Map()),R(this,'_recordPermissions',new Map());}[_0x3401ce(0x309)](_0x4c4955){const _0x36d8bd=_0x3401ce;var _0x32642b,_0x3f2827;return(_0x32642b=(_0x3f2827=this[_0x36d8bd(0x215)][_0x36d8bd(0x192)](_0x4c4955))==null?void 0x0:_0x3f2827[_0x36d8bd(0x3a2)])==null?!0x0:_0x32642b;}['canDeleteTable'](_0x2faefb){const _0x508f23=_0x3401ce;var _0x3c9af9,_0x4ca5d6;return(_0x3c9af9=(_0x4ca5d6=this['_tablePermissions'][_0x508f23(0x192)](_0x2faefb))==null?void 0x0:_0x4ca5d6[_0x508f23(0x1d6)])==null?!0x0:_0x3c9af9;}[_0x3401ce(0x322)](_0xee1bf2){const _0x5b7dc6=_0x3401ce;var _0x5a8a96,_0x2331a0;return(_0x5a8a96=(_0x2331a0=this[_0x5b7dc6(0x16b)]['get'](_0xee1bf2))==null?void 0x0:_0x2331a0[_0x5b7dc6(0x179)])==null?!0x0:_0x5a8a96;}['canEditField'](_0x370435,_0x5f47e4){const _0x25af93=_0x3401ce;var _0x434d8a,_0x8ced00;return(_0x434d8a=(_0x8ced00=this[_0x25af93(0x1ca)][_0x25af93(0x192)](B(_0x370435,_0x5f47e4)))==null?void 0x0:_0x8ced00[_0x25af93(0x2ee)])==null?!0x0:_0x434d8a;}[_0x3401ce(0x1cc)](_0x4b8da5,_0x471b02){const _0x1c0e20=_0x3401ce;var _0x5f45a3,_0x5c6afe;return(_0x5f45a3=(_0x5c6afe=this[_0x1c0e20(0x1ca)][_0x1c0e20(0x192)](B(_0x4b8da5,_0x471b02)))==null?void 0x0:_0x5c6afe['delete'])==null?!0x0:_0x5f45a3;}[_0x3401ce(0x407)](_0x16bd1c){const _0x1b9d27=_0x3401ce;var _0x52ec3d,_0x3d4c38;return(_0x52ec3d=(_0x3d4c38=this[_0x1b9d27(0x16b)]['get'](_0x16bd1c))==null?void 0x0:_0x3d4c38['createRecord'])==null?!0x0:_0x52ec3d;}[_0x3401ce(0x262)](_0x172055,_0x257a7e){const _0x3af20b=_0x3401ce;var _0x55f98f,_0x28f86a;return(_0x55f98f=(_0x28f86a=this['_recordPermissions'][_0x3af20b(0x192)](V(_0x172055,_0x257a7e)))==null?void 0x0:_0x28f86a[_0x3af20b(0x1d6)])==null?!0x0:_0x55f98f;}[_0x3401ce(0x2f7)](_0x7b9b9f,_0x5baff9,_0x2b0366){const _0x4e7756=_0x3401ce;var _0x3e9cf1,_0x59bda0,_0x5acd94,_0x3e3d49;let _0x4dc82b=this[_0x4e7756(0x1ca)][_0x4e7756(0x192)](B(_0x7b9b9f,_0x2b0366));return((_0x3e9cf1=(_0x59bda0=this[_0x4e7756(0x3a9)][_0x4e7756(0x192)](V(_0x7b9b9f,_0x5baff9)))==null?void 0x0:_0x59bda0[_0x4e7756(0x176)])==null?!0x0:_0x3e9cf1)&&((_0x5acd94=_0x4dc82b==null?void 0x0:_0x4dc82b[_0x4e7756(0x2ee)])==null?!0x0:_0x5acd94)&&((_0x3e3d49=_0x4dc82b==null?void 0x0:_0x4dc82b['editCell'])==null?!0x0:_0x3e3d49);}[_0x3401ce(0x2c3)](_0x368cb0){const _0x3ff537=_0x3401ce;var _0x27c207,_0x2b5e34;return(_0x27c207=(_0x2b5e34=this[_0x3ff537(0x16b)]['get'](_0x368cb0))==null?void 0x0:_0x2b5e34[_0x3ff537(0x21d)])==null?!0x0:_0x27c207;}[_0x3401ce(0x1e3)](_0x28cd5d,_0x580e53){const _0x4f15d6=_0x3401ce;this[_0x4f15d6(0x215)][_0x4f15d6(0x270)](_0x28cd5d,{...this[_0x4f15d6(0x215)][_0x4f15d6(0x192)](_0x28cd5d),..._0x580e53});}['setTablePermission'](_0x2a3775,_0x1809f6){const _0x44e6c1=_0x3401ce;this[_0x44e6c1(0x16b)][_0x44e6c1(0x270)](_0x2a3775,{...this[_0x44e6c1(0x16b)]['get'](_0x2a3775),..._0x1809f6});}[_0x3401ce(0x3aa)](_0x5c6fe9,_0x429d1,_0x15cb4d){const _0x104979=_0x3401ce;let _0x2cdbfb=B(_0x5c6fe9,_0x429d1);this['_fieldPermissions']['set'](_0x2cdbfb,{...this['_fieldPermissions'][_0x104979(0x192)](_0x2cdbfb),..._0x15cb4d});}['setRecordPermission'](_0x464b5c,_0x3c073c,_0x537a23){const _0x44b779=_0x3401ce;let _0x20618a=V(_0x464b5c,_0x3c073c);this[_0x44b779(0x3a9)]['set'](_0x20618a,{...this['_recordPermissions'][_0x44b779(0x192)](_0x20618a),..._0x537a23});}[_0x3401ce(0x2f6)](_0x300ffc){const _0x14eb38=_0x3401ce;this[_0x14eb38(0x215)][_0x14eb38(0x1d6)](_0x300ffc);}[_0x3401ce(0x3d7)](_0x31fbba){const _0xfc44d6=_0x3401ce;this[_0xfc44d6(0x16b)]['delete'](_0x31fbba);}[_0x3401ce(0x210)](_0x56a819,_0x158103){const _0x59d46c=_0x3401ce;this[_0x59d46c(0x1ca)][_0x59d46c(0x1d6)](B(_0x56a819,_0x158103));}['clearRecordPermission'](_0x3e4759,_0x5174f0){const _0x10bc22=_0x3401ce;this[_0x10bc22(0x3a9)][_0x10bc22(0x1d6)](V(_0x3e4759,_0x5174f0));}[_0x3401ce(0x327)](){const _0x329dd2=_0x3401ce;return{'bases':Object[_0x329dd2(0x300)](this['_basePermissions']),'tables':Object[_0x329dd2(0x300)](this[_0x329dd2(0x16b)]),'fields':Object[_0x329dd2(0x300)](this[_0x329dd2(0x1ca)]),'records':Object['fromEntries'](this['_recordPermissions'])};}};function B(_0x442942,_0x2f5b03){return _0x442942+'\x1f'+_0x2f5b03;}function V(_0x3350fe,_0x1fcd09){return _0x3350fe+'\x1f'+_0x1fcd09;}function H(_0x3db8d6,_0x12f366){return function(_0x30e8ce,_0x45aa3e){_0x12f366(_0x30e8ce,_0x45aa3e,_0x3db8d6);};}function U(_0x4f72b4,_0x1a9e05,_0x112447,_0x6b2c91){const _0x57f299=_0x3401ce;var _0x4eb264=arguments[_0x57f299(0x2b1)],_0x3c4f7f=_0x4eb264<0x3?_0x1a9e05:_0x6b2c91===null?_0x6b2c91=Object['getOwnPropertyDescriptor'](_0x1a9e05,_0x112447):_0x6b2c91,_0x41603f;if(typeof Reflect==_0x57f299(0x331)&&typeof Reflect[_0x57f299(0x3cf)]==_0x57f299(0x366))_0x3c4f7f=Reflect[_0x57f299(0x3cf)](_0x4f72b4,_0x1a9e05,_0x112447,_0x6b2c91);else{for(var _0x40cbe7=_0x4f72b4[_0x57f299(0x2b1)]-0x1;_0x40cbe7>=0x0;_0x40cbe7--)(_0x41603f=_0x4f72b4[_0x40cbe7])&&(_0x3c4f7f=(_0x4eb264<0x3?_0x41603f(_0x3c4f7f):_0x4eb264>0x3?_0x41603f(_0x1a9e05,_0x112447,_0x3c4f7f):_0x41603f(_0x1a9e05,_0x112447))||_0x3c4f7f);}return _0x4eb264>0x3&&_0x3c4f7f&&Object[_0x57f299(0x1ae)](_0x1a9e05,_0x112447,_0x3c4f7f),_0x3c4f7f;}const W=_0x53452b('base.command.service');let qt=class{constructor(_0x11bb3c,_0x503154=Jt(),_0x558a37={}){const _0x47bafb=_0x3401ce;this[_0x47bafb(0x2e0)]=_0x11bb3c,this[_0x47bafb(0x3f3)]=_0x503154,this[_0x47bafb(0x365)]=_0x558a37,R(this,'_factory',new I()),R(this,_0x47bafb(0x40b),new D());}[_0x3401ce(0x3a2)](_0x5d5da6,_0x1762a9,_0x43adab){const _0x16da94=_0x3401ce;if(!this[_0x16da94(0x2e0)][_0x16da94(0x309)](_0x5d5da6[_0x16da94(0x3d5)]()))throw Error(_0x16da94(0x376));this[_0x16da94(0x174)](_0x5d5da6,this[_0x16da94(0x24d)][_0x16da94(0x3a2)](_0x5d5da6[_0x16da94(0x327)](),_0x1762a9,_0x43adab));}['renameTable'](_0x2c1d83,_0x236510,_0x32b519){const _0x4c6783=_0x3401ce;this[_0x4c6783(0x174)](_0x2c1d83,this[_0x4c6783(0x24d)][_0x4c6783(0x3c5)](_0x2c1d83[_0x4c6783(0x327)](),_0x236510,_0x32b519));}[_0x3401ce(0x1c0)](_0x3bd2b7,_0x5d0774){const _0x268487=_0x3401ce;if(!this[_0x268487(0x2e0)][_0x268487(0x15b)](_0x5d0774))throw Error(_0x268487(0x2be));this[_0x268487(0x174)](_0x3bd2b7,this[_0x268487(0x24d)][_0x268487(0x1c0)](_0x3bd2b7[_0x268487(0x327)](),_0x5d0774));}[_0x3401ce(0x35a)](_0x38cf39,_0x4fc122,_0x323d16,_0x30467f,_0x430bd5){const _0x2af171=_0x3401ce;this[_0x2af171(0x174)](_0x38cf39,this[_0x2af171(0x18f)](_0x38cf39,_0x4fc122,_0x323d16,_0x30467f,_0x430bd5));}['setRecordValues'](_0xa1bb92,_0x34e03c,_0x590bfc){const _0x8b52ea=_0x3401ce;this[_0x8b52ea(0x174)](_0xa1bb92,this[_0x8b52ea(0x1a0)](_0xa1bb92,_0x34e03c,_0x590bfc));}[_0x3401ce(0x29c)](_0x11108e,_0xce451e,_0x58cb73){const _0x83c40=_0x3401ce;this[_0x83c40(0x174)](_0x11108e,this[_0x83c40(0x195)](_0x11108e,_0xce451e,_0x58cb73));}[_0x3401ce(0x18f)](_0x546cb4,_0x49bbde,_0x372b79,_0x42a91e,_0x402b89){const _0x32af0f=_0x3401ce;let _0x321941=_0x546cb4['getSnapshot'](),_0x396b0f=this[_0x32af0f(0x37c)](_0x321941,_0x49bbde,_0x372b79,_0x42a91e,_0x402b89),_0x67081b=this[_0x32af0f(0x216)](_0x321941,_0x49bbde,_0x372b79,{[_0x42a91e]:_0x396b0f});return this[_0x32af0f(0x24d)]['setRecordValues'](_0x321941,_0x49bbde,[_0x67081b]);}['createSetRecordValuesOp'](_0x11dd08,_0x41dd3c,_0x585d9e){const _0x18b954=_0x3401ce;let _0x2088fc=_0x11dd08[_0x18b954(0x327)](),_0x45777b=_0x585d9e[_0x18b954(0x1d3)](_0x505d64=>this[_0x18b954(0x216)](_0x2088fc,_0x41dd3c,_0x505d64[_0x18b954(0x163)],{...Object[_0x18b954(0x300)](Object[_0x18b954(0x184)](_0x505d64[_0x18b954(0x288)])['map'](([_0xa395e6,_0x2f1002])=>[_0xa395e6,this[_0x18b954(0x37c)](_0x2088fc,_0x41dd3c,_0x505d64[_0x18b954(0x163)],_0xa395e6,_0x2f1002)]))}));return this[_0x18b954(0x24d)][_0x18b954(0x2f9)](_0x2088fc,_0x41dd3c,_0x45777b);}[_0x3401ce(0x195)](_0x4a6058,_0x369c50,_0x37b3ce){const _0x4449e6=_0x3401ce;if(!this[_0x4449e6(0x2e0)][_0x4449e6(0x407)](_0x369c50))throw Error(_0x4449e6(0x338));let _0x44d876=_0x4a6058[_0x4449e6(0x327)](),_0x5683c0=this['_createNumberingAllocators'](_0x44d876[_0x4449e6(0x391)][_0x369c50]);return this[_0x4449e6(0x24d)][_0x4449e6(0x29c)](_0x44d876,_0x369c50,this['_createRecordWithDefaults'](_0x44d876,_0x369c50,_0x37b3ce,_0x5683c0));}[_0x3401ce(0x2c7)](_0xe9e9a2,_0x32b959,_0x12381b){const _0x5eb671=_0x3401ce;if(!this[_0x5eb671(0x2e0)][_0x5eb671(0x407)](_0x32b959))throw Error(_0x5eb671(0x338));let _0x41ca28=_0xe9e9a2[_0x5eb671(0x327)](),_0x44528e=this[_0x5eb671(0x1e6)](_0x41ca28[_0x5eb671(0x391)][_0x32b959]);return this[_0x5eb671(0x24d)][_0x5eb671(0x2a1)](_0x41ca28,_0x32b959,_0x12381b[_0x5eb671(0x1d3)](_0x32ce89=>this[_0x5eb671(0x232)](_0x41ca28,_0x32b959,_0x32ce89,_0x44528e)));}['createCreateFieldOp'](_0x4fa06e,_0x550cda,_0x59bd7c,_0x5c9ca2,_0x5e1de6){const _0x55332d=_0x3401ce;if(!this[_0x55332d(0x2e0)][_0x55332d(0x322)](_0x550cda))throw Error('[BaseCommandService]:\x20cannot\x20create\x20field.');let _0x54be7f=_0x4fa06e[_0x55332d(0x327)](),_0x5dbe25=this['_factory']['createField'](_0x54be7f,_0x550cda,{'field':_0x59bd7c,'index':_0x5c9ca2,'viewIndexes':_0x5e1de6}),_0x31fcb9=this['_createSystemFieldValuePatches'](_0x54be7f,_0x550cda,_0x59bd7c);if(!_0x31fcb9[_0x55332d(0x2b1)])return _0x5dbe25;let _0x7471ea=this[_0x55332d(0x40b)]['applyOp'](_0x54be7f,_0x5dbe25);return F([_0x5dbe25,this['_factory'][_0x55332d(0x2f9)](_0x7471ea,_0x550cda,_0x31fcb9)]);}[_0x3401ce(0x2ab)](_0x3ef5d9,_0x5eb1e1,_0x37464c){const _0x4edb6b=_0x3401ce;if(!this['_permissionService']['canDeleteRecord'](_0x5eb1e1,_0x37464c))throw Error('[BaseCommandService]:\x20cannot\x20delete\x20record.');this['_apply'](_0x3ef5d9,this[_0x4edb6b(0x24d)][_0x4edb6b(0x2ab)](_0x3ef5d9[_0x4edb6b(0x327)](),_0x5eb1e1,_0x37464c));}['duplicateRecord'](_0x47d739,_0x345a7d,_0x892dfa,_0x2115d1){const _0x4600a2=_0x3401ce;this[_0x4600a2(0x174)](_0x47d739,this[_0x4600a2(0x24d)][_0x4600a2(0x20d)](_0x47d739[_0x4600a2(0x327)](),_0x345a7d,_0x892dfa,_0x2115d1));}[_0x3401ce(0x3fe)](_0x3f6c1a,_0x341217,_0x5800cd,_0x32fbe9){const _0x45066c=_0x3401ce;this[_0x45066c(0x174)](_0x3f6c1a,this[_0x45066c(0x24d)][_0x45066c(0x3fe)](_0x3f6c1a['getSnapshot'](),_0x341217,_0x5800cd,_0x32fbe9));}[_0x3401ce(0x179)](_0x5f5a32,_0x3c6fca,_0x40a2c8,_0x5f4e5f,_0x1f73a0){const _0x27e39a=_0x3401ce;this[_0x27e39a(0x174)](_0x5f5a32,this[_0x27e39a(0x3c7)](_0x5f5a32,_0x3c6fca,_0x40a2c8,_0x5f4e5f,_0x1f73a0));}[_0x3401ce(0x34d)](_0x1c66b1,_0x2d5113,_0x43fe01,_0x1d923f){const _0x4c5a78=_0x3401ce;if(!this[_0x4c5a78(0x2e0)][_0x4c5a78(0x189)](_0x2d5113,_0x43fe01))throw Error(_0x4c5a78(0x2b9));this[_0x4c5a78(0x174)](_0x1c66b1,this[_0x4c5a78(0x24d)][_0x4c5a78(0x34d)](_0x1c66b1[_0x4c5a78(0x327)](),_0x2d5113,_0x43fe01,_0x1d923f));}[_0x3401ce(0x193)](_0x4b2433,_0x515253,_0x11dbde,_0x1e717f){const _0x2231a1=_0x3401ce;if(!this['_permissionService'][_0x2231a1(0x189)](_0x515253,_0x11dbde))throw Error(_0x2231a1(0x2b9));this['_apply'](_0x4b2433,this['_factory'][_0x2231a1(0x193)](_0x4b2433[_0x2231a1(0x327)](),_0x515253,_0x11dbde,_0x1e717f));}[_0x3401ce(0x3f5)](_0x504b1f,_0x256038,_0x16f885){const _0x4a5ce8=_0x3401ce;var _0x341bdc;if(((_0x341bdc=_0x504b1f['getSnapshot']()[_0x4a5ce8(0x391)][_0x256038])==null?void 0x0:_0x341bdc['primaryFieldId'])===_0x16f885)throw Error(_0x4a5ce8(0x3f8));if(!this[_0x4a5ce8(0x2e0)][_0x4a5ce8(0x1cc)](_0x256038,_0x16f885))throw Error(_0x4a5ce8(0x315));this[_0x4a5ce8(0x174)](_0x504b1f,this[_0x4a5ce8(0x24d)]['deleteField'](_0x504b1f['getSnapshot'](),_0x256038,_0x16f885));}[_0x3401ce(0x3ab)](_0x3a8065,_0x3cb4cd,_0x11f5d8,_0x5e894e){const _0xc6f56a=_0x3401ce;if(!this[_0xc6f56a(0x2e0)]['canEditField'](_0x3cb4cd,_0x11f5d8))throw Error('[BaseCommandService]:\x20cannot\x20edit\x20field.');this[_0xc6f56a(0x174)](_0x3a8065,this['_factory'][_0xc6f56a(0x3ab)](_0x3a8065[_0xc6f56a(0x327)](),_0x3cb4cd,_0x11f5d8,_0x5e894e));}[_0x3401ce(0x397)](_0x270055,_0x9ea178,_0xf85707,_0x5ea92e){const _0x3fc284=_0x3401ce;this[_0x3fc284(0x174)](_0x270055,this[_0x3fc284(0x24d)]['createView'](_0x270055['getSnapshot'](),_0x9ea178,_0xf85707,_0x5ea92e));}[_0x3401ce(0x39d)](_0x5b004d,_0x3ef4c5,_0x44cf81,_0x195906){const _0x36dd21=_0x3401ce;if(!this[_0x36dd21(0x2e0)][_0x36dd21(0x2c3)](_0x3ef4c5,_0x44cf81))throw Error(_0x36dd21(0x1a2));this[_0x36dd21(0x174)](_0x5b004d,this['_factory'][_0x36dd21(0x39d)](_0x5b004d['getSnapshot'](),_0x3ef4c5,_0x44cf81,_0x195906));}['deleteView'](_0x43f78d,_0x3c52b4,_0x106444){const _0x56d708=_0x3401ce;if(!this[_0x56d708(0x2e0)]['canManageView'](_0x3c52b4,_0x106444))throw Error('[BaseCommandService]:\x20cannot\x20manage\x20view.');this[_0x56d708(0x174)](_0x43f78d,this[_0x56d708(0x24d)]['deleteView'](_0x43f78d[_0x56d708(0x327)](),_0x3c52b4,_0x106444));}[_0x3401ce(0x352)](_0x594d74,_0x272511,_0x186fab,_0x471d65){const _0x3d7544=_0x3401ce;if(!this[_0x3d7544(0x2e0)]['canManageView'](_0x272511,_0x186fab))throw Error(_0x3d7544(0x1a2));this[_0x3d7544(0x174)](_0x594d74,this[_0x3d7544(0x24d)][_0x3d7544(0x352)](_0x594d74[_0x3d7544(0x327)](),_0x272511,_0x186fab,_0x471d65));}[_0x3401ce(0x378)](_0x5eb776,_0x57a8ab,_0x248a56,_0x333211){const _0x534b19=_0x3401ce;if(!this[_0x534b19(0x2e0)][_0x534b19(0x2c3)](_0x57a8ab,_0x248a56))throw Error('[BaseCommandService]:\x20cannot\x20manage\x20view.');this['_apply'](_0x5eb776,this[_0x534b19(0x24d)][_0x534b19(0x378)](_0x5eb776[_0x534b19(0x327)](),_0x57a8ab,_0x248a56,_0x333211));}[_0x3401ce(0x181)](_0x5b6d9b,_0x42280c,_0x5432ee,_0x3a602c){const _0x924a69=_0x3401ce;this[_0x924a69(0x174)](_0x5b6d9b,this[_0x924a69(0x24d)][_0x924a69(0x181)](_0x5b6d9b[_0x924a69(0x327)](),_0x42280c,_0x5432ee,_0x3a602c));}[_0x3401ce(0x395)](_0x5842fd,_0x1a3160,_0x4d1a7d,_0x5b61fb){const _0x481065=_0x3401ce;this[_0x481065(0x174)](_0x5842fd,this[_0x481065(0x24d)][_0x481065(0x395)](_0x5842fd[_0x481065(0x327)](),_0x1a3160,_0x4d1a7d,_0x5b61fb));}[_0x3401ce(0x3b8)](_0x58ff54,_0x22e246,_0x570663,_0x5dbbd4){const _0x991c22=_0x3401ce;this[_0x991c22(0x174)](_0x58ff54,this[_0x991c22(0x24d)][_0x991c22(0x3b8)](_0x58ff54[_0x991c22(0x327)](),_0x22e246,_0x570663,_0x5dbbd4));}['setViewFieldVisible'](_0x29706f,_0x53cd41,_0x5412c1,_0x579cfb,_0x48515d){const _0x340043=_0x3401ce;if(!this[_0x340043(0x2e0)][_0x340043(0x2c3)](_0x53cd41,_0x5412c1))throw Error(_0x340043(0x1a2));this[_0x340043(0x174)](_0x29706f,this[_0x340043(0x24d)][_0x340043(0x3b5)](_0x29706f[_0x340043(0x327)](),_0x53cd41,_0x5412c1,_0x579cfb,_0x48515d));}[_0x3401ce(0x292)](_0x231768,_0x1ea47e,_0x5d3191,_0x54adf7,_0xd40fbf){const _0x5b133a=_0x3401ce;this['_apply'](_0x231768,this[_0x5b133a(0x24d)]['setViewFieldWidth'](_0x231768['getSnapshot'](),_0x1ea47e,_0x5d3191,_0x54adf7,_0xd40fbf));}['setViewFieldOrder'](_0x4dc664,_0x36abad,_0x5915c8,_0x3f81ee,_0x14fc3e){const _0x47aa03=_0x3401ce;this[_0x47aa03(0x174)](_0x4dc664,this[_0x47aa03(0x24d)][_0x47aa03(0x3b4)](_0x4dc664[_0x47aa03(0x327)](),_0x36abad,_0x5915c8,_0x3f81ee,_0x14fc3e));}[_0x3401ce(0x174)](_0x5a871e,_0x5dc0d0){const _0x84345a=_0x3401ce;let _0x25a502=_0x5a871e[_0x84345a(0x327)]();_0x5a871e[_0x84345a(0x1c3)](this['_applier'][_0x84345a(0x197)](_0x25a502,_0x5dc0d0));}['_createRecordWithDefaults'](_0x3cc925,_0x42fe0c,_0x3201aa,_0x863f87=this[_0x3401ce(0x1e6)](_0x3cc925[_0x3401ce(0x391)][_0x42fe0c])){const _0x3215e1=_0x3401ce;var _0x1dd602,_0x4bf878,_0x5c19cc,_0x1ccc60;let _0x125f84=_0x3cc925[_0x3215e1(0x391)][_0x42fe0c],_0x139bbe=(_0x1dd602=(_0x4bf878=_0x3201aa[_0x3215e1(0x18d)])==null?_0x3201aa[_0x3215e1(0x389)]:_0x4bf878)==null?this[_0x3215e1(0x1e1)]():_0x1dd602,_0x5d2970={..._0x3201aa,'createdBy':(_0x5c19cc=_0x3201aa[_0x3215e1(0x18d)])==null?_0x139bbe:_0x5c19cc,'updatedBy':(_0x1ccc60=_0x3201aa['updatedBy'])==null?_0x139bbe:_0x1ccc60,'values':{..._0x3201aa[_0x3215e1(0x288)]}};return _0x125f84[_0x3215e1(0x264)][_0x3215e1(0x3f4)](_0x44a2d8=>{const _0x36b069=_0x3215e1;let _0x1c94b1=_0x125f84[_0x36b069(0x204)][_0x44a2d8];if(!(!_0x1c94b1||_0x1c94b1[_0x36b069(0x219)]||_0x5d2970[_0x36b069(0x288)][_0x44a2d8]!==void 0x0))switch(_0x1c94b1[_0x36b069(0x1b1)]){case _0x36b069(0x20a):var _0x395230,_0x5f2316;_0x5d2970[_0x36b069(0x288)][_0x44a2d8]=(_0x395230=(_0x5f2316=_0x863f87[_0x36b069(0x192)](_0x44a2d8))==null?void 0x0:_0x5f2316())==null?this[_0x36b069(0x15d)](_0x125f84,_0x44a2d8)():_0x395230;break;case _0x36b069(0x18d):_0x5d2970[_0x36b069(0x18d)]&&(_0x5d2970[_0x36b069(0x288)][_0x44a2d8]=_0x5d2970[_0x36b069(0x18d)]);break;case _0x36b069(0x389):_0x5d2970[_0x36b069(0x389)]&&(_0x5d2970[_0x36b069(0x288)][_0x44a2d8]=_0x5d2970['updatedBy']);break;case'createdAt':_0x5d2970[_0x36b069(0x288)][_0x44a2d8]=O(_0x5d2970[_0x36b069(0x2d7)]);break;case _0x36b069(0x1c8):_0x5d2970[_0x36b069(0x288)][_0x44a2d8]=O(_0x5d2970[_0x36b069(0x1c8)]);break;default:{let _0xd8da5c=_0x1c94b1[_0x36b069(0x1ea)];_0xd8da5c!=null&&_0xd8da5c!==''&&!(Array['isArray'](_0xd8da5c)&&_0xd8da5c['length']===0x0)&&(_0x5d2970[_0x36b069(0x288)][_0x44a2d8]=_0xd8da5c);}}}),_0x5d2970;}[_0x3401ce(0x216)](_0xd16e5f,_0x30297c,_0x419c94,_0xa7293a){const _0x4a6c60=_0x3401ce;var _0x172354,_0x244cd1,_0x59799a;let _0xf1b95d=_0xd16e5f[_0x4a6c60(0x391)][_0x30297c],_0x149418=(_0x172354=(_0x244cd1=(_0x59799a=this[_0x4a6c60(0x365)])[_0x4a6c60(0x3b2)])==null?void 0x0:_0x244cd1[_0x4a6c60(0x1b4)](_0x59799a))==null?Date[_0x4a6c60(0x3b2)]():_0x172354,_0x502d7c=this[_0x4a6c60(0x1e1)](),_0x171ced={..._0xa7293a};return _0xf1b95d[_0x4a6c60(0x264)][_0x4a6c60(0x3f4)](_0x54cde7=>{const _0x2e40e6=_0x4a6c60;let _0x1b5626=_0xf1b95d[_0x2e40e6(0x204)][_0x54cde7];!_0x1b5626||_0x1b5626[_0x2e40e6(0x219)]||(_0x1b5626['type']===_0x2e40e6(0x1c8)&&(_0x171ced[_0x54cde7]=O(_0x149418)),_0x1b5626['type']===_0x2e40e6(0x389)&&_0x502d7c&&(_0x171ced[_0x54cde7]=_0x502d7c));}),{'recordId':_0x419c94,'values':_0x171ced,'recordPatch':{'updatedAt':_0x149418,..._0x502d7c?{'updatedBy':_0x502d7c}:{}}};}[_0x3401ce(0x3d0)](_0x2f9348,_0x1bd33a,_0x35ae82){const _0x2a0b56=_0x3401ce;let _0x9ef6b4=_0x2f9348[_0x2a0b56(0x391)][_0x1bd33a];return!_0x9ef6b4||!Yt(_0x35ae82)?[]:_0x35ae82[_0x2a0b56(0x1b1)]===_0x2a0b56(0x20a)?this['_createNumberingFieldValuePatches'](_0x9ef6b4,_0x35ae82['id']):Object['values'](_0x9ef6b4[_0x2a0b56(0x320)])[_0x2a0b56(0x2db)](_0x5da047=>!_0x5da047[_0x2a0b56(0x219)])['flatMap'](_0x303831=>{const _0x23395d=_0x2a0b56;let _0x4ca50c=this[_0x23395d(0x2e3)](_0x35ae82,_0x303831);return _0x4ca50c===void 0x0?[]:[{'recordId':_0x303831['id'],'values':{[_0x35ae82['id']]:_0x4ca50c}}];});}[_0x3401ce(0x2e3)](_0x27b858,_0x17ca2a){const _0xb3e327=_0x3401ce;switch(_0x27b858[_0xb3e327(0x1b1)]){case _0xb3e327(0x18d):var _0x27a7a3;return(_0x27a7a3=_0x17ca2a[_0xb3e327(0x18d)])==null?this[_0xb3e327(0x1e1)]():_0x27a7a3;case'updatedBy':var _0x10dc4b;return(_0x10dc4b=_0x17ca2a[_0xb3e327(0x389)])==null?this[_0xb3e327(0x1e1)]():_0x10dc4b;case _0xb3e327(0x2d7):var _0x4644c2;return O((_0x4644c2=_0x17ca2a[_0xb3e327(0x2d7)])==null?Date[_0xb3e327(0x3b2)]():_0x4644c2);case _0xb3e327(0x1c8):var _0x1b7a0c;return O((_0x1b7a0c=_0x17ca2a[_0xb3e327(0x1c8)])==null?Date[_0xb3e327(0x3b2)]():_0x1b7a0c);default:return;}}[_0x3401ce(0x1e6)](_0x431894){const _0x215392=_0x3401ce;let _0x1acc30=new Map();return _0x431894&&_0x431894[_0x215392(0x264)][_0x215392(0x3f4)](_0x2558a4=>{const _0x297d2a=_0x215392;let _0x3582ce=_0x431894[_0x297d2a(0x204)][_0x2558a4];(_0x3582ce==null?void 0x0:_0x3582ce[_0x297d2a(0x1b1)])===_0x297d2a(0x20a)&&!_0x3582ce[_0x297d2a(0x219)]&&_0x1acc30[_0x297d2a(0x270)](_0x2558a4,this[_0x297d2a(0x15d)](_0x431894,_0x2558a4));}),_0x1acc30;}[_0x3401ce(0x15d)](_0x554b3a,_0xf44df0){const _0x4db1f8=_0x3401ce;let _0x28a82f=Object[_0x4db1f8(0x288)](_0x554b3a[_0x4db1f8(0x320)])[_0x4db1f8(0x2e5)]((_0xf31590,_0x55c053)=>{const _0x3019db=_0x4db1f8;if(_0x55c053['deleted'])return _0xf31590;let _0x4046f1=Number(_0x55c053[_0x3019db(0x288)][_0xf44df0]);return Number[_0x3019db(0x2fd)](_0x4046f1)?Math['max'](_0xf31590,_0x4046f1):_0xf31590;},0x0);return()=>String(++_0x28a82f);}[_0x3401ce(0x225)](_0x322f37,_0x330c9b){const _0x5a290e=_0x3401ce;let _0x4b5163=this[_0x5a290e(0x30f)](_0x322f37),_0x23a18c=this[_0x5a290e(0x15d)](_0x322f37,_0x330c9b);return _0x4b5163[_0x5a290e(0x278)](_0x6c872f=>this[_0x5a290e(0x3ca)](_0x6c872f[_0x5a290e(0x288)][_0x330c9b])?[]:[{'recordId':_0x6c872f['id'],'values':{[_0x330c9b]:_0x23a18c()}}]);}['_getOrderedActiveRecords'](_0x2ce60e){const _0x2b134f=_0x3401ce;var _0x1bac73;let _0x267958=Object[_0x2b134f(0x288)](_0x2ce60e[_0x2b134f(0x320)])[_0x2b134f(0x2db)](_0x548ef5=>!_0x548ef5[_0x2b134f(0x219)]),_0x394743=new Map(_0x267958['map'](_0x3397b4=>[_0x3397b4['id'],_0x3397b4])),_0x1df294=[],_0x3140c5=new Set();(_0x1bac73=_0x2ce60e[_0x2b134f(0x275)])==null||_0x1bac73[_0x2b134f(0x3f4)](_0x55e7ba=>{const _0x5e0515=_0x2b134f;let _0x1d6223=_0x394743['get'](_0x55e7ba);_0x1d6223&&(_0x1df294['push'](_0x1d6223),_0x3140c5[_0x5e0515(0x221)](_0x55e7ba));});let _0x10bb3c=_0x267958['filter'](_0x30cc04=>!_0x3140c5[_0x2b134f(0x356)](_0x30cc04['id']))[_0x2b134f(0x22f)]((_0x3e171c,_0x221674)=>{const _0x53a3ce=_0x2b134f;var _0x1a433b,_0x1ac50c;return String((_0x1a433b=_0x3e171c[_0x53a3ce(0x20e)])==null?_0x3e171c['id']:_0x1a433b)[_0x53a3ce(0x16a)](String((_0x1ac50c=_0x221674[_0x53a3ce(0x20e)])==null?_0x221674['id']:_0x1ac50c))||_0x3e171c['id']['localeCompare'](_0x221674['id']);});return[..._0x1df294,..._0x10bb3c];}[_0x3401ce(0x3ca)](_0x4ffdb8){const _0x2920fc=_0x3401ce;return _0x4ffdb8!=null&&_0x4ffdb8!==''&&!(Array[_0x2920fc(0x23e)](_0x4ffdb8)&&_0x4ffdb8[_0x2920fc(0x2b1)]===0x0);}[_0x3401ce(0x1e1)](){const _0xf80352=_0x3401ce;var _0x181047,_0x235a7a,_0x24890e,_0x179bd2,_0x984cc7,_0x51070d;return(_0x181047=(_0x235a7a=(_0x24890e=(_0x179bd2=this['_runtimeContext'])[_0xf80352(0x337)])==null?void 0x0:_0x24890e[_0xf80352(0x1b4)](_0x179bd2))==null?(_0x984cc7=(_0x51070d=this[_0xf80352(0x365)])['getCurrentUser'])==null||(_0x984cc7=_0x984cc7['call'](_0x51070d))==null?void 0x0:_0x984cc7[_0xf80352(0x32c)]:_0x235a7a)==null?void 0x0:_0x181047;}['_normalizeCellValue'](_0x14df5c,_0xa31eb2,_0x242572,_0x5f284f,_0x162ec9){const _0x255047=_0x3401ce;var _0x1d408d;if(!this[_0x255047(0x2e0)]['canEditCell'](_0xa31eb2,_0x242572,_0x5f284f))throw Error(_0x255047(0x194));let _0x3b52a4=(_0x1d408d=_0x14df5c['tables'][_0xa31eb2])==null?void 0x0:_0x1d408d[_0x255047(0x204)][_0x5f284f];if(!_0x3b52a4||_0x3b52a4[_0x255047(0x219)])throw Error('[BaseCommandService]:\x20field\x20\x22'+_0x5f284f+'\x22\x20does\x20not\x20exist.');let _0xcc56a4=this[_0x255047(0x3f3)][_0x255047(0x192)](_0x3b52a4[_0x255047(0x1b1)]);if(_0x3b52a4[_0x255047(0x3e5)]||_0x3b52a4['system']||!_0xcc56a4[_0x255047(0x237)](_0x3b52a4)[_0x255047(0x16e)])throw Error(_0x255047(0x330));let _0x2a2226=_0xcc56a4[_0x255047(0x355)](_0x162ec9,_0x3b52a4),_0x4602f8=_0xcc56a4[_0x255047(0x22e)](_0x2a2226,_0x3b52a4);if(!_0x4602f8[_0x255047(0x3ae)]){var _0x4244e3;throw Error((_0x4244e3=_0x4602f8['reason'])==null?_0x255047(0x38e):_0x4244e3);}return _0x2a2226;}};qt=U([H(0x0,Gt),H(0x1,z)],qt);function Jt(){const _0x217964=_0x3401ce;let _0x133571=new Wt();return Ct()[_0x217964(0x3f4)](_0x17ad1d=>_0x133571[_0x217964(0x2e7)](_0x17ad1d)),_0x133571;}function Yt(_0x8f0db){const _0x3a62f1=_0x3401ce;return _0x8f0db[_0x3a62f1(0x1b1)]===_0x3a62f1(0x20a)||_0x8f0db['type']==='createdBy'||_0x8f0db[_0x3a62f1(0x1b1)]===_0x3a62f1(0x389)||_0x8f0db[_0x3a62f1(0x1b1)]===_0x3a62f1(0x2d7)||_0x8f0db[_0x3a62f1(0x1b1)]===_0x3a62f1(0x1c8);}const Xt=new Set(['progress',_0x3401ce(0x160),_0x3401ce(0x284)]);function Zt(_0x306e6c){const _0x147fbc=_0x3401ce;var _0x20d8e4,_0x4f5870;let _0x52927d=_0x306e6c[_0x147fbc(0x204)][_0x306e6c['primaryFieldId']];return!(_0x52927d&&(_0x52927d[_0x147fbc(0x261)]===!0x0||_0x52927d['id']['toLowerCase']()==='id'||_0x52927d[_0x147fbc(0x1fe)][_0x147fbc(0x297)]()[_0x147fbc(0x242)]()==='id'))&&_0x52927d&&!_0x52927d[_0x147fbc(0x219)]?_0x52927d['id']:(_0x20d8e4=(_0x4f5870=_0x306e6c[_0x147fbc(0x264)][_0x147fbc(0x1d3)](_0x1e680f=>_0x306e6c[_0x147fbc(0x204)][_0x1e680f])['find'](_0x2e3978=>_0x2e3978&&!_0x2e3978[_0x147fbc(0x219)]&&_0x2e3978['id']!==_0x306e6c['primaryFieldId']))==null?void 0x0:_0x4f5870['id'])==null?_0x306e6c[_0x147fbc(0x346)]:_0x20d8e4;}function Qt(_0xc583b,_0xa61a13=[],_0x43aa7c=0x5){const _0x45a2c2=_0x3401ce;let _0x28d22f=new Set(_0xa61a13['filter'](_0x456ca0=>!!_0x456ca0)),_0x12fd7b=_0xc583b[_0x45a2c2(0x264)][_0x45a2c2(0x278)](_0x2ec51d=>{const _0x558af9=_0x45a2c2;let _0x5ebe68=_0xc583b['fields'][_0x2ec51d];return _0x5ebe68&&!_0x5ebe68[_0x558af9(0x219)]&&!_0x28d22f['has'](_0x5ebe68['id'])?[_0x5ebe68]:[];}),_0x519d4c=_0x12fd7b['filter'](_0x24bb2a=>Xt['has'](_0x24bb2a[_0x45a2c2(0x1b1)])),_0x59e797=_0x12fd7b['filter'](_0x34cbf3=>!Xt[_0x45a2c2(0x356)](_0x34cbf3[_0x45a2c2(0x1b1)]));return[..._0x519d4c,..._0x59e797][_0x45a2c2(0x18b)](0x0,_0x43aa7c)[_0x45a2c2(0x1d3)](_0x34e5e9=>_0x34e5e9['id']);}function $t(){const _0x2639bf=_0x3401ce;return[{'type':_0x2639bf(0x3d3),'i18nKey':_0x2639bf(0x404),'createDefaultConfig':()=>({}),'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x36deaa=_0x2639bf;throw Error(_0x36deaa(0x226));}},{'type':_0x2639bf(0x230),'i18nKey':_0x2639bf(0x3a0),'createDefaultConfig':_0x5ed079=>{const _0x5bcb5d=_0x2639bf;let _0xe5f7f0=en(_0x5ed079);return{'groupFieldId':_0xe5f7f0,'coverFieldId':null,'cardLayout':_0x5bcb5d(0x3e9),'showFieldNames':!0x0,'fieldSettings':{},'columnSettings':{},'card':{'titleFieldId':_0x5ed079[_0x5bcb5d(0x346)],'fieldIds':Qt(_0x5ed079,[_0x5ed079[_0x5bcb5d(0x346)],_0xe5f7f0])}};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{throw Error('Kanban\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.');}},{'type':'calendar','i18nKey':'base.viewType.calendar','createDefaultConfig':_0x277273=>{const _0x28a5c6=_0x2639bf;let _0x1e6ce7=tn(_0x277273);return{'startDateFieldId':_0x1e6ce7,'endDateFieldId':nn(_0x277273,_0x1e6ce7),'titleFieldId':_0x277273[_0x28a5c6(0x346)],'mode':'month','timeslotSize':_0x28a5c6(0x1d1),'timeZone':_0x28a5c6(0x303),'displayColor':{'type':_0x28a5c6(0x30b),'color':_0x28a5c6(0x3b3)},'fieldSettings':{}};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x5d6fac=_0x2639bf;throw Error(_0x5d6fac(0x3d2));}},{'type':'gantt','i18nKey':'base.viewType.gantt','createDefaultConfig':_0x3bec21=>{const _0x3b9a00=_0x2639bf;var _0x44f778;let _0x15f005=tn(_0x3bec21);return{'startDateFieldId':_0x15f005,'endDateFieldId':(_0x44f778=nn(_0x3bec21,_0x15f005))==null?_0x15f005:_0x44f778,'titleFieldId':_0x3bec21[_0x3b9a00(0x346)],'scale':_0x3b9a00(0x379),'showTodayLine':!0x0,'displayColor':{'type':_0x3b9a00(0x30b),'color':_0x3b9a00(0x2a0)},'fieldSettings':{},'workingDaysOnly':!0x1};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x1392ac=_0x2639bf;throw Error(_0x1392ac(0x19c));}},{'type':_0x2639bf(0x370),'i18nKey':_0x2639bf(0x3d4),'createDefaultConfig':_0x2c1913=>{const _0x4dc1b6=_0x2639bf;let _0x1744e9=Zt(_0x2c1913);return{'coverFieldId':null,'cardLayout':_0x4dc1b6(0x3e9),'showFieldNames':!0x0,'fieldSettings':{},'card':{'titleFieldId':_0x1744e9,'coverFieldId':null,'fieldIds':Qt(_0x2c1913,[_0x1744e9,_0x2c1913['primaryFieldId']])},'cardSize':_0x4dc1b6(0x1d1)};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{throw Error('Gallery\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.');}}];}function en(_0x4cae67){const _0x50202d=_0x3401ce;var _0x2fa0f2,_0x24967c,_0x437847,_0x1b3015,_0x4fb1c5,_0x12baae;let _0x5e1deb=_0x4cae67[_0x50202d(0x264)][_0x50202d(0x1d3)](_0x3eb644=>_0x4cae67['fields'][_0x3eb644])[_0x50202d(0x2db)](_0x16421d=>!!_0x16421d&&!_0x16421d[_0x50202d(0x219)]);return(_0x2fa0f2=(_0x24967c=(_0x437847=(_0x1b3015=_0x5e1deb[_0x50202d(0x387)](_0x262cf4=>_0x262cf4[_0x50202d(0x1b1)]===_0x50202d(0x335)||_0x262cf4[_0x50202d(0x1b1)]===_0x50202d(0x380)||_0x262cf4[_0x50202d(0x1b1)]===_0x50202d(0x403)))==null?void 0x0:_0x1b3015['id'])==null?(_0x4fb1c5=_0x5e1deb[_0x50202d(0x387)](_0x3d7280=>_0x3d7280[_0x50202d(0x1b1)]==='text'))==null?void 0x0:_0x4fb1c5['id']:_0x437847)==null?(_0x12baae=_0x5e1deb[_0x50202d(0x387)](_0x3bf418=>_0x3bf418[_0x50202d(0x1b1)]===_0x50202d(0x177)||_0x3bf418[_0x50202d(0x1b1)]===_0x50202d(0x2d7)||_0x3bf418[_0x50202d(0x1b1)]===_0x50202d(0x1c8)))==null?void 0x0:_0x12baae['id']:_0x24967c)==null?_0x4cae67[_0x50202d(0x346)]:_0x2fa0f2;}function tn(_0x19a772){const _0x32d41c=_0x3401ce;var _0x156d17,_0x245819;return(_0x156d17=(_0x245819=_0x19a772[_0x32d41c(0x264)][_0x32d41c(0x1d3)](_0x540765=>_0x19a772[_0x32d41c(0x204)][_0x540765])['find'](rn))==null?void 0x0:_0x245819['id'])==null?'':_0x156d17;}function nn(_0x36a624,_0x20f35b){const _0x79e42b=_0x3401ce;var _0x26fbbe;return(_0x26fbbe=_0x36a624[_0x79e42b(0x264)][_0x79e42b(0x1d3)](_0x394750=>_0x36a624['fields'][_0x394750])[_0x79e42b(0x387)](_0x45e90c=>rn(_0x45e90c)&&_0x45e90c['id']!==_0x20f35b))==null?void 0x0:_0x26fbbe['id'];}function rn(_0x194f97){const _0x26413b=_0x3401ce;return!!_0x194f97&&!_0x194f97[_0x26413b(0x219)]&&_0x194f97[_0x26413b(0x1b1)]===_0x26413b(0x177)&&_0x194f97[_0x26413b(0x3e5)]!==!0x0&&_0x194f97[_0x26413b(0x261)]!==!0x0;}const an=_0x53452b('base.projection.service'),on=new Set(['number','currency','progress','rating',_0x3401ce(0x177),_0x3401ce(0x2d7),_0x3401ce(0x1c8),_0x3401ce(0x284)]);let sn=class extends _0x4b5308{constructor(_0x572f87){const _0x15875c=_0x3401ce;super(),this[_0x15875c(0x3f3)]=_0x572f87,R(this,'_views',new Map()),R(this,_0x15875c(0x2c4),new WeakMap()),R(this,_0x15875c(0x347),new Map()),R(this,_0x15875c(0x345),new Map()),R(this,'_projectedGroupsCache',new Map()),R(this,_0x15875c(0x21a),0x0),R(this,_0x15875c(0x24c),new Map()),R(this,_0x15875c(0x171),new Map()),R(this,_0x15875c(0x250),new Map()),R(this,_0x15875c(0x326),new Map());}[_0x3401ce(0x34f)](_0x24c4fa){const _0x21702e=_0x3401ce;return this[_0x21702e(0x2ce)][_0x21702e(0x270)](_0x24c4fa[_0x21702e(0x1b1)],_0x24c4fa),_0x200b81(()=>this['_views'][_0x21702e(0x1d6)](_0x24c4fa[_0x21702e(0x1b1)]));}[_0x3401ce(0x199)](_0x2a1d2d,_0x245e8a,_0x5f3aca){const _0x2e72f9=_0x3401ce;var _0x3a3083,_0x391d0f,_0x3c8452,_0x55b97f,_0x283f06;return S(_0x2e72f9(0x1f7),()=>{const _0x1812b0=_0x2e72f9;let _0x2b2b8e=this[_0x1812b0(0x3eb)](_0x2a1d2d,_0x245e8a,_0x5f3aca);if(_0x2b2b8e)return _0x2b2b8e;let _0x4db32b=_0x2a1d2d['tables'][_0x245e8a],_0x36915d=_0x4db32b==null?void 0x0:_0x4db32b['views'][_0x5f3aca];if(!_0x4db32b||!_0x36915d||_0x4db32b['deleted']||_0x36915d['deleted']){var _0x252d62;return this[_0x1812b0(0x203)](_0x2a1d2d,_0x245e8a,_0x5f3aca,{'type':_0x1812b0(0x400),'viewType':(_0x252d62=_0x36915d==null?void 0x0:_0x36915d[_0x1812b0(0x1b1)])==null?_0x1812b0(0x3d3):_0x252d62,'reason':'missingField'});}let _0x3500d1;switch(_0x36915d[_0x1812b0(0x1b1)]){case _0x1812b0(0x3d3):_0x3500d1=this[_0x1812b0(0x32a)](_0x4db32b,_0x36915d);break;case'gantt':_0x3500d1=this[_0x1812b0(0x32f)](_0x4db32b,_0x36915d);break;case _0x1812b0(0x230):_0x3500d1=this[_0x1812b0(0x200)](_0x4db32b,_0x36915d);break;case _0x1812b0(0x281):_0x3500d1=this[_0x1812b0(0x18e)](_0x4db32b,_0x36915d);break;case _0x1812b0(0x370):_0x3500d1=this[_0x1812b0(0x293)](_0x4db32b,_0x36915d);break;default:_0x3500d1={'type':_0x1812b0(0x400),'viewType':_0x36915d[_0x1812b0(0x1b1)],'reason':_0x1812b0(0x253)};}return this[_0x1812b0(0x203)](_0x2a1d2d,_0x245e8a,_0x5f3aca,_0x3500d1);},{'tableId':_0x245e8a,'viewId':_0x5f3aca,'viewType':(_0x3a3083=_0x2a1d2d['tables'][_0x245e8a])==null||(_0x3a3083=_0x3a3083[_0x2e72f9(0x2ae)][_0x5f3aca])==null?void 0x0:_0x3a3083[_0x2e72f9(0x1b1)],'records':(_0x391d0f=(_0x3c8452=_0x2a1d2d[_0x2e72f9(0x391)][_0x245e8a])==null||(_0x3c8452=_0x3c8452['recordOrder'])==null?void 0x0:_0x3c8452[_0x2e72f9(0x2b1)])==null?Object['keys']((_0x55b97f=(_0x283f06=_0x2a1d2d['tables'][_0x245e8a])==null?void 0x0:_0x283f06[_0x2e72f9(0x320)])==null?{}:_0x55b97f)[_0x2e72f9(0x2b1)]:_0x391d0f});}[_0x3401ce(0x3ff)](_0x1d7aba,_0xf69b57,_0x6c3a32){const _0x5eec22=_0x3401ce;var _0x1ccbc5,_0x2f2168,_0x50d59a,_0x7d55f5;let _0x4ecdd6=_0x1d7aba[_0x5eec22(0x391)][_0xf69b57],_0x17f029=_0x4ecdd6==null?void 0x0:_0x4ecdd6['views'][_0x6c3a32];if(!_0x4ecdd6||!_0x17f029)throw Error(_0x5eec22(0x1aa)+_0x6c3a32+'\x22.');let _0x4ddd36=_0x300b9f=>{const _0x19bf21=_0x5eec22;let _0x210974=_0x4ecdd6[_0x19bf21(0x204)][_0x300b9f];return!!_0x210974&&!_0x210974[_0x19bf21(0x219)];},_0x3e1b61={..._0x17f029,'filter':_0x17f029['filter']?{..._0x17f029[_0x5eec22(0x2db)],'conditions':_0x17f029[_0x5eec22(0x2db)][_0x5eec22(0x298)][_0x5eec22(0x2db)](_0x438a71=>_0x4ddd36(_0x438a71['fieldId']))}:_0x17f029[_0x5eec22(0x2db)],'sort':(_0x1ccbc5=_0x17f029['sort'])==null?void 0x0:_0x1ccbc5[_0x5eec22(0x2db)](_0x43acf8=>_0x4ddd36(_0x43acf8['fieldId'])),'group':(_0x2f2168=_0x17f029['group'])==null?void 0x0:_0x2f2168['filter'](_0x4afb58=>_0x4ddd36(_0x4afb58[_0x5eec22(0x409)])),'fieldOrder':(_0x50d59a=_0x17f029['fieldOrder'])==null?void 0x0:_0x50d59a[_0x5eec22(0x2db)](_0x4ddd36),'fieldSettings':Object[_0x5eec22(0x300)](Object[_0x5eec22(0x184)]((_0x7d55f5=_0x17f029[_0x5eec22(0x1fd)])==null?{}:_0x7d55f5)[_0x5eec22(0x2db)](([_0x711168])=>_0x4ddd36(_0x711168)))};if(_0x3e1b61['type']==='kanban'){var _0x2363cf,_0x37b563,_0x24a408,_0x5dcf78;let _0x9e186f=(_0x2363cf=_0x3e1b61[_0x5eec22(0x3cb)])==null?{}:_0x2363cf,_0x3dbd5e=this[_0x5eec22(0x1a5)](_0x4ecdd6,_0x3e1b61);_0x3e1b61['config']={..._0x9e186f,'groupFieldId':_0x3dbd5e==null?_0x9e186f[_0x5eec22(0x17c)]:_0x3dbd5e,'coverFieldId':this[_0x5eec22(0x3e8)](_0x4ecdd6,_0x9e186f),'cardLayout':_0x9e186f[_0x5eec22(0x2eb)]===_0x5eec22(0x1e5)?_0x5eec22(0x1e5):_0x5eec22(0x3e9),'showFieldNames':_0x9e186f[_0x5eec22(0x156)]!==!0x1,'fieldSettings':Object[_0x5eec22(0x300)](Object['entries']((_0x37b563=_0x9e186f[_0x5eec22(0x1fd)])==null?{}:_0x37b563)['filter'](([_0x735d22])=>_0x4ddd36(_0x735d22))),'columnSettings':(_0x24a408=_0x9e186f[_0x5eec22(0x2b4)])==null?{}:_0x24a408,'card':{...(_0x5dcf78=_0x9e186f[_0x5eec22(0x1b2)])==null?{}:_0x5dcf78,'fieldIds':this['_resolveKanbanCardFieldIds'](_0x4ecdd6,_0x3e1b61,_0x3dbd5e==null?'':_0x3dbd5e)}};}return{'repaired':JSON['stringify'](_0x3e1b61)!==JSON[_0x5eec22(0x2e9)](_0x17f029),'view':_0x3e1b61};}['invalidateByOp'](){this['_globalRevision']++;}[_0x3401ce(0x162)](_0x34efe9,_0x3118aa,_0x35057e){const _0x157689=_0x3401ce;var _0x45055b;let _0x4d87fb=this[_0x157689(0x26c)](_0x34efe9)+0x1;this[_0x157689(0x171)][_0x157689(0x270)](_0x34efe9,_0x4d87fb);let _0x4ffe61=(_0x45055b=this[_0x157689(0x250)][_0x157689(0x192)](_0x34efe9))==null?[]:_0x45055b;_0x4ffe61[_0x157689(0x2b5)]({'revision':_0x4d87fb,'recordId':_0x3118aa,'fieldId':_0x35057e}),this[_0x157689(0x250)]['set'](_0x34efe9,_0x4ffe61);}[_0x3401ce(0x1d2)](_0x40ce22,_0x18137a){const _0x19f8ca=_0x3401ce;this[_0x19f8ca(0x1bb)](_0x40ce22);}['invalidateByView'](_0x40e85c,_0x1d2cda){const _0x55d3e6=_0x3401ce;this[_0x55d3e6(0x326)]['set'](this[_0x55d3e6(0x1ad)](_0x40e85c,_0x1d2cda),this[_0x55d3e6(0x222)](_0x40e85c,_0x1d2cda)+0x1);}['_getCachedProjection'](_0x7abb7d,_0xa7f475,_0x310000){const _0x1a891d=_0x3401ce;var _0x3be84b;let _0x2e2345=(_0x3be84b=this[_0x1a891d(0x2c4)][_0x1a891d(0x192)](_0x7abb7d))==null?void 0x0:_0x3be84b[_0x1a891d(0x192)](this[_0x1a891d(0x191)](_0xa7f475,_0x310000));return _0x2e2345&&_0x2e2345[_0x1a891d(0x3c3)]===this[_0x1a891d(0x21a)]&&_0x2e2345[_0x1a891d(0x34b)]===this[_0x1a891d(0x1b8)](_0xa7f475)&&_0x2e2345[_0x1a891d(0x3e1)]===this[_0x1a891d(0x26c)](_0xa7f475)&&_0x2e2345[_0x1a891d(0x354)]===this[_0x1a891d(0x222)](_0xa7f475,_0x310000)?_0x2e2345[_0x1a891d(0x339)]:null;}['_setCachedProjection'](_0x4cc1a1,_0x1631c5,_0x1d787e,_0x2490fc){const _0x1edac3=_0x3401ce;let _0x4606de=this['_projectionCache'][_0x1edac3(0x192)](_0x4cc1a1);return _0x4606de||(_0x4606de=new Map(),this[_0x1edac3(0x2c4)][_0x1edac3(0x270)](_0x4cc1a1,_0x4606de)),_0x4606de[_0x1edac3(0x270)](this[_0x1edac3(0x191)](_0x1631c5,_0x1d787e),{'projection':_0x2490fc,'globalRevision':this[_0x1edac3(0x21a)],'tableRevision':this['_getTableRevision'](_0x1631c5),'cellRevision':this[_0x1edac3(0x26c)](_0x1631c5),'viewRevision':this[_0x1edac3(0x222)](_0x1631c5,_0x1d787e)}),_0x2490fc;}[_0x3401ce(0x1bb)](_0x55ffa2){const _0x3d99a5=_0x3401ce;this[_0x3d99a5(0x24c)][_0x3d99a5(0x270)](_0x55ffa2,this['_getTableRevision'](_0x55ffa2)+0x1);}['_getTableRevision'](_0x3899b3){const _0x54ecf1=_0x3401ce;var _0x3c59e3;return(_0x3c59e3=this[_0x54ecf1(0x24c)]['get'](_0x3899b3))==null?0x0:_0x3c59e3;}[_0x3401ce(0x26c)](_0x13b44e){const _0x4c3033=_0x3401ce;var _0xb4de84;return(_0xb4de84=this[_0x4c3033(0x171)][_0x4c3033(0x192)](_0x13b44e))==null?0x0:_0xb4de84;}[_0x3401ce(0x222)](_0x5a3d9a,_0x53fcc6){const _0x2ab5ff=_0x3401ce;var _0x4a7668;return(_0x4a7668=this[_0x2ab5ff(0x326)][_0x2ab5ff(0x192)](this[_0x2ab5ff(0x1ad)](_0x5a3d9a,_0x53fcc6)))==null?0x0:_0x4a7668;}[_0x3401ce(0x191)](_0x4c5a29,_0x36feee){return _0x4c5a29+'\x00'+_0x36feee;}[_0x3401ce(0x321)](_0x1f701c,_0xe12f29){const _0x48b166=_0x3401ce;return _0x1f701c+'\x00'+this[_0x48b166(0x272)](_0xe12f29);}[_0x3401ce(0x36b)](_0x1286c8,_0x2f0e3c,_0x57a531){const _0x4baa58=_0x3401ce;return _0x1286c8+'\x00'+this[_0x4baa58(0x272)](_0x2f0e3c)+'\x00'+this[_0x4baa58(0x1d8)](_0x57a531);}[_0x3401ce(0x272)](_0x47d8e2){const _0x386236=_0x3401ce;return _0x47d8e2?pn({'filter':dn(_0x47d8e2[_0x386236(0x2db)]),'sort':fn(_0x47d8e2[_0x386236(0x22f)])}):_0x386236(0x2c8);}[_0x3401ce(0x1d8)](_0x18278d){const _0xc86933=_0x3401ce;return pn(_0x18278d[_0xc86933(0x1d3)](_0x4225fa=>{const _0x47aa76=_0xc86933;var _0x56c6b2;return{'fieldId':_0x4225fa[_0x47aa76(0x409)],'direction':(_0x56c6b2=_0x4225fa[_0x47aa76(0x2cc)])==null?null:_0x56c6b2};}));}['_viewRevisionKey'](_0x5456af,_0x4db7e6){return _0x5456af+'\x00'+_0x4db7e6;}['_buildGrid'](_0x3796d2,_0x42d877){const _0x186db4=_0x3401ce;let _0x815644=this['_projectRows'](_0x3796d2,_0x42d877);return{'type':'grid','fields':this[_0x186db4(0x2da)](_0x3796d2,_0x42d877),'rows':_0x815644,'groups':this['_projectGroups'](_0x3796d2,_0x42d877,_0x815644),'frozenFieldCount':typeof _0x42d877[_0x186db4(0x3cb)]['frozenFieldCount']==_0x186db4(0x1e4)?_0x42d877[_0x186db4(0x3cb)][_0x186db4(0x1ef)]:0x0};}['_buildKanban'](_0x2f4a81,_0x905607){const _0x129ec3=_0x3401ce;var _0x1ea97f;let _0x33f4e2=this[_0x129ec3(0x1a5)](_0x2f4a81,_0x905607),_0x887446=_0x33f4e2?_0x2f4a81[_0x129ec3(0x204)][_0x33f4e2]:void 0x0;if(!_0x887446||_0x887446[_0x129ec3(0x219)])return{'type':_0x129ec3(0x400),'viewType':'kanban','reason':_0x129ec3(0x32b),'fieldId':_0x905607[_0x129ec3(0x3cb)][_0x129ec3(0x17c)]};let _0x57969f=this[_0x129ec3(0x1f0)](_0x2f4a81,_0x905607),_0xb7be44=this['_projectFields'](_0x2f4a81,_0x905607),_0x522a97=(_0x1ea97f=_0x905607[_0x129ec3(0x3cb)])==null?{}:_0x1ea97f,_0x4f431c=this[_0x129ec3(0x1c4)](_0x2f4a81,_0x905607,_0x887446['id']),_0x2f9eb8=new Map();return this[_0x129ec3(0x161)](_0x887446,_0x522a97)[_0x129ec3(0x3f4)](_0x1e4f98=>_0x2f9eb8[_0x129ec3(0x270)](_0x1e4f98[_0x129ec3(0x240)],{..._0x1e4f98,'recordIds':[]})),_0x57969f[_0x129ec3(0x3f4)](_0x2be7c3=>{const _0x4a9426=_0x129ec3;this['_kanbanGroupKeys'](_0x887446,_0x2be7c3[_0x4a9426(0x288)][_0x887446['id']])['forEach'](_0x359e8c=>{const _0x4f3c19=_0x4a9426;let _0x2f7542=_0x2f9eb8['get'](_0x359e8c),_0x3d642e=_0x2f7542==null?{'key':_0x359e8c,'title':this[_0x4f3c19(0x25a)](_0x887446,_0x359e8c,_0x522a97),'color':this[_0x4f3c19(0x2ef)](_0x887446,_0x359e8c,_0x522a97),'recordIds':[]}:_0x2f7542;_0x3d642e[_0x4f3c19(0x32d)]['push'](_0x2be7c3[_0x4f3c19(0x163)]),_0x2f9eb8[_0x4f3c19(0x270)](_0x359e8c,_0x3d642e);});}),{'type':_0x129ec3(0x230),'fields':_0xb7be44,'rows':_0x57969f,'groups':this[_0x129ec3(0x3c2)](_0x2f4a81,_0x905607,_0x57969f),'groupFieldId':_0x887446['id'],'coverFieldId':this[_0x129ec3(0x3e8)](_0x2f4a81,_0x522a97),'cardLayout':_0x522a97['cardLayout']===_0x129ec3(0x1e5)?_0x129ec3(0x1e5):_0x129ec3(0x3e9),'showFieldNames':_0x522a97[_0x129ec3(0x156)]!==!0x1,'visibleCardFieldIds':_0x4f431c,'lanes':Array[_0x129ec3(0x33e)](_0x2f9eb8[_0x129ec3(0x288)]())};}[_0x3401ce(0x1a5)](_0x4903bd,_0x14f6cd){const _0x4fba28=_0x3401ce;var _0xce96fe;let _0x52db04=(_0xce96fe=_0x14f6cd[_0x4fba28(0x3cb)])==null?void 0x0:_0xce96fe[_0x4fba28(0x17c)];return _0x52db04&&this['_isKanbanGroupField'](_0x4903bd,_0x52db04)?_0x52db04:this['_findKanbanGroupField'](_0x4903bd,_0x22c7cb=>this[_0x4fba28(0x256)](_0x22c7cb));}[_0x3401ce(0x3a4)](_0x5f2dfb,_0x579810){const _0x1fe5c4=_0x3401ce;for(let _0x17afd2 of _0x5f2dfb[_0x1fe5c4(0x264)]){let _0x3c267a=_0x5f2dfb['fields'][_0x17afd2];if(_0x3c267a&&!_0x3c267a['deleted']&&_0x579810(_0x3c267a))return _0x3c267a['id'];}return null;}[_0x3401ce(0x33f)](_0xa2b885,_0x1a9a7d){const _0x2d8343=_0x3401ce;let _0x2d1626=_0xa2b885[_0x2d8343(0x204)][_0x1a9a7d];return this['_isAllowedKanbanGroupField'](_0x2d1626);}[_0x3401ce(0x256)](_0x2c6118){const _0x125743=_0x3401ce;return!!_0x2c6118&&!_0x2c6118[_0x125743(0x219)]&&(_0x2c6118[_0x125743(0x1b1)]===_0x125743(0x335)||_0x2c6118[_0x125743(0x1b1)]===_0x125743(0x380)||_0x2c6118[_0x125743(0x1b1)]===_0x125743(0x160)||_0x2c6118[_0x125743(0x1b1)]==='person'||_0x2c6118[_0x125743(0x1b1)]==='group'||_0x2c6118[_0x125743(0x1b1)]==='checkbox');}[_0x3401ce(0x1e8)](_0x2be779){const _0x2743f3=_0x3401ce;return _0x2be779[_0x2743f3(0x1b1)]===_0x2743f3(0x335)||_0x2be779['type']===_0x2743f3(0x380);}[_0x3401ce(0x3e8)](_0x3f2d1d,_0x35502e){const _0x2a1b73=_0x3401ce;var _0x28696b,_0x39f311,_0x4fa07c;let _0x56cb34=(_0x28696b=(_0x39f311=_0x35502e[_0x2a1b73(0x2e2)])==null?(_0x4fa07c=_0x35502e[_0x2a1b73(0x1b2)])==null?void 0x0:_0x4fa07c['coverFieldId']:_0x39f311)==null?null:_0x28696b;if(!_0x56cb34)return null;let _0x32f9e7=_0x3f2d1d[_0x2a1b73(0x204)][_0x56cb34];return _0x32f9e7&&!_0x32f9e7['deleted']&&this[_0x2a1b73(0x324)](_0x32f9e7)[_0x2a1b73(0x1ab)]?_0x32f9e7['id']:null;}[_0x3401ce(0x1c4)](_0x4ec9c6,_0x546ee0,_0x45303e){const _0xa083a=_0x3401ce;var _0x2e8490,_0x23da9a,_0x16819b;let _0x15d268=(_0x2e8490=_0x546ee0['config'])==null?{}:_0x2e8490,_0x3e6794=!((_0x23da9a=_0x15d268[_0xa083a(0x1b2)])==null||(_0x23da9a=_0x23da9a['fieldIds'])==null)&&_0x23da9a[_0xa083a(0x2b1)]?_0x15d268['card'][_0xa083a(0x1ff)]:Qt(_0x4ec9c6,[_0x4ec9c6[_0xa083a(0x346)],_0x45303e]),_0x45f208=(_0x16819b=_0x15d268[_0xa083a(0x1fd)])==null?{}:_0x16819b;return _0x3e6794['filter'](_0x54d74c=>{const _0x24e0e9=_0xa083a;var _0x3cf268,_0x5eb138;let _0x5453ad=_0x4ec9c6[_0x24e0e9(0x204)][_0x54d74c];return!(!_0x5453ad||_0x5453ad[_0x24e0e9(0x219)]||_0x5453ad['id']===_0x45303e||!((_0x3cf268=_0x546ee0[_0x24e0e9(0x1fd)])==null||(_0x3cf268=_0x3cf268[_0x54d74c])==null)&&_0x3cf268[_0x24e0e9(0x2cf)]||(_0x5eb138=_0x45f208[_0x54d74c])!=null&&_0x5eb138[_0x24e0e9(0x2cf)]);})[_0xa083a(0x22f)]((_0x1f150a,_0x307170)=>{const _0x3ba8a1=_0xa083a;var _0x33574a,_0x2eafe1,_0x3b8474,_0x29f81b;return((_0x33574a=(_0x2eafe1=_0x45f208[_0x1f150a])==null?void 0x0:_0x2eafe1[_0x3ba8a1(0x385)])==null?_0x3e6794[_0x3ba8a1(0x255)](_0x1f150a):_0x33574a)-((_0x3b8474=(_0x29f81b=_0x45f208[_0x307170])==null?void 0x0:_0x29f81b[_0x3ba8a1(0x385)])==null?_0x3e6794[_0x3ba8a1(0x255)](_0x307170):_0x3b8474);});}[_0x3401ce(0x161)](_0x386ed9,_0x39da44){const _0x30d615=_0x3401ce;var _0x5e38fd,_0xac6606;let _0x34db91=(Array[_0x30d615(0x23e)]((_0x5e38fd=_0x386ed9['config'])==null?void 0x0:_0x5e38fd[_0x30d615(0x29e)])?_0x386ed9['config']['options']:[])['flatMap']((_0x33ab76,_0x33cab5)=>{const _0x2bd301=_0x30d615;var _0x385168,_0x4a0922,_0x4b2e24,_0x21e4ff;if(_0x33ab76==null)return[];let _0x787e=typeof _0x33ab76=='string'?{'id':_0x33ab76,'name':_0x33ab76,'color':void 0x0}:_0x33ab76,_0x4d2973=String((_0x385168=(_0x4a0922=_0x787e['id'])==null?_0x787e['name']:_0x4a0922)==null?_0x2bd301(0x2f1)+(_0x33cab5+0x1):_0x385168);return[{'key':_0x4d2973,'title':String((_0x4b2e24=(_0x21e4ff=_0x787e[_0x2bd301(0x1fe)])==null?_0x787e['id']:_0x21e4ff)==null?_0x4d2973:_0x4b2e24),'color':this[_0x2bd301(0x2ef)](_0x386ed9,_0x4d2973,_0x39da44)}];});return Object['entries']((_0xac6606=_0x39da44[_0x30d615(0x2b4)])==null?{}:_0xac6606)[_0x30d615(0x3f4)](([_0x15e3f8,_0x394132])=>{const _0x64b9c2=_0x30d615;var _0x99b954;_0x34db91[_0x64b9c2(0x341)](_0x2812cf=>_0x2812cf[_0x64b9c2(0x240)]===_0x15e3f8)||_0x34db91['push']({'key':_0x15e3f8,'title':this[_0x64b9c2(0x1e8)](_0x386ed9)?(_0x99b954=_0x394132[_0x64b9c2(0x2f0)])==null?this[_0x64b9c2(0x25a)](_0x386ed9,_0x15e3f8,_0x39da44):_0x99b954:this[_0x64b9c2(0x25a)](_0x386ed9,_0x15e3f8,_0x39da44),'color':this[_0x64b9c2(0x2ef)](_0x386ed9,_0x15e3f8,_0x39da44)});}),_0x34db91;}[_0x3401ce(0x15e)](_0x1981f5,_0x3333bb){const _0x585807=_0x3401ce;let _0x493390=_0x91c170=>{var _0xbcfd0,_0x47cf62;let _0x56ef4a=_0x91c170==null?'':String(_0x91c170);return!_0x56ef4a||!this['_isColorfulKanbanGroupField'](_0x1981f5)||(_0xbcfd0=(_0x47cf62=J(_0x1981f5,_0x56ef4a))==null?void 0x0:_0x47cf62['id'])==null?_0x56ef4a:_0xbcfd0;};if(Array[_0x585807(0x23e)](_0x3333bb)){let _0x2b5a18=_0x3333bb[_0x585807(0x1d3)](_0x493390)[_0x585807(0x2db)](_0x149528=>_0x149528!=='');return _0x2b5a18[_0x585807(0x2b1)]?_0x2b5a18:[''];}return[_0x493390(_0x3333bb)];}[_0x3401ce(0x25a)](_0x4b65fb,_0x47ac39,_0x1e4bdf){const _0x427529=_0x3401ce;var _0x7ce874;if(!_0x47ac39)return _0x427529(0x1bc);let _0x1577dc=J(_0x4b65fb,_0x47ac39);return(_0x7ce874=_0x1577dc==null?void 0x0:_0x1577dc['name'])==null?_0x47ac39:_0x7ce874;}[_0x3401ce(0x2ef)](_0xb1171f,_0x28b3b9,_0x32a930){var _0x265f34;if(this['_isColorfulKanbanGroupField'](_0xb1171f))return(_0x265f34=J(_0xb1171f,_0x28b3b9))==null?void 0x0:_0x265f34['color'];}[_0x3401ce(0x18e)](_0x39fb99,_0x49519a){const _0xb42618=_0x3401ce;var _0x26344c;let _0xee7190=this[_0xb42618(0x208)](_0x39fb99,(_0x26344c=_0x49519a[_0xb42618(0x3cb)])==null?{}:_0x26344c),_0x5ceee4=_0x39fb99['fields'][_0xee7190[_0xb42618(0x251)]];if(!_0x5ceee4||_0x5ceee4[_0xb42618(0x219)]||_0x5ceee4['type']!==_0xb42618(0x177)||_0x5ceee4[_0xb42618(0x3e5)]===!0x0||_0x5ceee4[_0xb42618(0x261)]===!0x0||!this['_capabilities'](_0x5ceee4)[_0xb42618(0x1f5)])return{'type':'invalid','viewType':_0xb42618(0x281),'reason':'invalidDateField','fieldId':_0xee7190[_0xb42618(0x251)]};let _0x25bdb7=_0xee7190[_0xb42618(0x21f)]?_0x39fb99['fields'][_0xee7190[_0xb42618(0x21f)]]:void 0x0,_0x5c6fcc=this[_0xb42618(0x1f0)](_0x39fb99,_0x49519a);return{'type':_0xb42618(0x281),'config':_0xee7190,'fields':this['_projectFields'](_0x39fb99,_0x49519a),'rows':_0x5c6fcc,'groups':this[_0xb42618(0x3c2)](_0x39fb99,_0x49519a,_0x5c6fcc),'events':_0x5c6fcc[_0xb42618(0x278)](_0x5b4e3c=>{const _0x4269b4=_0xb42618;let _0xe904ed=A(_0x5b4e3c['values'][_0xee7190[_0x4269b4(0x251)]]);if(!Number[_0x4269b4(0x2fd)](_0xe904ed))return[];let _0xb97729=_0x5b4e3c['values'][_0xee7190['startDateFieldId']],_0x53686=_0xee7190[_0x4269b4(0x21f)]==null?void 0x0:_0x5b4e3c[_0x4269b4(0x288)][_0xee7190['endDateFieldId']],_0x56aea5=_0xee7190[_0x4269b4(0x21f)]==null?void 0x0:A(_0x53686),_0x55d472=Number[_0x4269b4(0x2fd)](_0x56aea5)?_0x56aea5:void 0x0;return[{'recordId':_0x5b4e3c[_0x4269b4(0x163)],'title':this[_0x4269b4(0x369)](_0x39fb99,_0x5b4e3c,_0xee7190[_0x4269b4(0x1d4)]),'start':_0xe904ed,'end':_0x55d472,'color':this[_0x4269b4(0x28c)](_0x39fb99,_0x5b4e3c,_0xee7190),'startMs':_0xe904ed,'endMs':_0x55d472,'allDay':this[_0x4269b4(0x165)](_0x5ceee4,_0x25bdb7,_0xb97729,_0x53686),'fieldValues':_0x5b4e3c[_0x4269b4(0x288)]}];})};}[_0x3401ce(0x208)](_0x3551a1,_0x1db430){const _0x82ded=_0x3401ce;var _0x4b0218,_0x1a9f85;let _0x999fa4=this[_0x82ded(0x401)](_0x3551a1,_0x1db430['startDateFieldId']),_0xdce67=_0x1db430[_0x82ded(0x21f)]&&this[_0x82ded(0x31b)](_0x3551a1,_0x1db430[_0x82ded(0x21f)])?_0x1db430[_0x82ded(0x21f)]:(_0x4b0218=this[_0x82ded(0x2aa)](_0x3551a1,_0x999fa4))==null?void 0x0:_0x4b0218,_0x28fe17=_0x1db430[_0x82ded(0x1d4)]&&_0x3551a1['fields'][_0x1db430[_0x82ded(0x1d4)]]&&!_0x3551a1['fields'][_0x1db430[_0x82ded(0x1d4)]][_0x82ded(0x219)]?_0x1db430[_0x82ded(0x1d4)]:_0x3551a1[_0x82ded(0x346)],_0x395f33=_0x1db430[_0x82ded(0x3ba)]===_0x82ded(0x3a6)||_0x1db430[_0x82ded(0x3ba)]===_0x82ded(0x294)?_0x1db430['mode']:_0x82ded(0x379),_0x2ce90f=_0x1db430[_0x82ded(0x367)]===_0x82ded(0x29b)||_0x1db430[_0x82ded(0x367)]==='long'?_0x1db430[_0x82ded(0x367)]:'medium',_0x5c5a0f=typeof _0x1db430[_0x82ded(0x392)]==_0x82ded(0x3f7)&&_0x1db430[_0x82ded(0x392)][_0x82ded(0x297)]()?_0x1db430[_0x82ded(0x392)]:_0x82ded(0x303),_0x193733=this[_0x82ded(0x2f5)](_0x3551a1,_0x1db430);return{..._0x1db430,'startDateFieldId':_0x999fa4,'endDateFieldId':_0xdce67,'titleFieldId':_0x28fe17,'mode':_0x395f33,'timeslotSize':_0x2ce90f,'timeZone':_0x5c5a0f,'displayColor':_0x193733,'fieldSettings':Object[_0x82ded(0x300)](Object[_0x82ded(0x184)]((_0x1a9f85=_0x1db430['fieldSettings'])==null?{}:_0x1a9f85)[_0x82ded(0x2db)](([_0x225ea4])=>{const _0x11d34d=_0x82ded;let _0x5cc41e=_0x3551a1[_0x11d34d(0x204)][_0x225ea4];return!!_0x5cc41e&&!_0x5cc41e[_0x11d34d(0x219)];}))};}[_0x3401ce(0x401)](_0x1f74a2,_0x2394b8){const _0x31dc56=_0x3401ce;var _0x3add45,_0x341d9a;return _0x2394b8&&this['_isCalendarDateField'](_0x1f74a2,_0x2394b8)?_0x2394b8:(_0x3add45=(_0x341d9a=this[_0x31dc56(0x2aa)](_0x1f74a2))==null?_0x2394b8:_0x341d9a)==null?'':_0x3add45;}[_0x3401ce(0x2aa)](_0x35c5f1,_0x26ec1a){const _0x34f18b=_0x3401ce;for(let _0x28b6cc of _0x35c5f1[_0x34f18b(0x264)])if(_0x28b6cc!==_0x26ec1a&&this['_isCalendarDateField'](_0x35c5f1,_0x28b6cc))return _0x28b6cc;return null;}[_0x3401ce(0x31b)](_0x574f97,_0x8c1ab){const _0x9fb39a=_0x3401ce;let _0x1fc311=_0x574f97[_0x9fb39a(0x204)][_0x8c1ab];return!!_0x1fc311&&!_0x1fc311[_0x9fb39a(0x219)]&&_0x1fc311[_0x9fb39a(0x1b1)]===_0x9fb39a(0x177)&&_0x1fc311[_0x9fb39a(0x3e5)]!==!0x0&&_0x1fc311[_0x9fb39a(0x261)]!==!0x0&&this['_capabilities'](_0x1fc311)['usableAsCalendarDate'];}[_0x3401ce(0x2f5)](_0x26be99,_0x471c95){const _0x2c6629=_0x3401ce;let _0xf9e6c2=_0x471c95['displayColor'];if((_0xf9e6c2==null?void 0x0:_0xf9e6c2['type'])===_0x2c6629(0x36c)){let _0x194f73=_0x26be99[_0x2c6629(0x204)][_0xf9e6c2[_0x2c6629(0x409)]];if(_0x194f73&&!_0x194f73[_0x2c6629(0x219)]&&_0x194f73['type']==='singleSelect')return _0xf9e6c2;}if((_0xf9e6c2==null?void 0x0:_0xf9e6c2[_0x2c6629(0x1b1)])==='custom'&&typeof _0xf9e6c2[_0x2c6629(0x257)]==_0x2c6629(0x3f7)&&_0xf9e6c2[_0x2c6629(0x257)]['trim']())return{'type':_0x2c6629(0x30b),'color':_0xf9e6c2[_0x2c6629(0x257)]};if(_0x471c95['colorFieldId']){let _0x50339f=_0x26be99[_0x2c6629(0x204)][_0x471c95['colorFieldId']];if(_0x50339f&&!_0x50339f['deleted']&&_0x50339f['type']===_0x2c6629(0x335))return{'type':'selectField','fieldId':_0x471c95[_0x2c6629(0x2ea)]};}return{'type':_0x2c6629(0x30b),'color':'#3b82f6'};}[_0x3401ce(0x28c)](_0x450996,_0x6b2226,_0x1f537c){const _0xeb7b9a=_0x3401ce;let _0x1d6d10=_0x1f537c['displayColor'];if((_0x1d6d10==null?void 0x0:_0x1d6d10[_0xeb7b9a(0x1b1)])===_0xeb7b9a(0x36c)){var _0x32b91f;let _0x50d6c0=_0x450996[_0xeb7b9a(0x204)][_0x1d6d10['fieldId']];if(!_0x50d6c0||_0x50d6c0[_0xeb7b9a(0x219)])return;let _0xd87234=_0x6b2226[_0xeb7b9a(0x288)][_0x1d6d10[_0xeb7b9a(0x409)]],_0x3f2fd5=Array['isArray'](_0xd87234)?_0xd87234[0x0]:_0xd87234;return _0x3f2fd5==null||(_0x32b91f=J(_0x50d6c0,String(_0x3f2fd5)))==null?void 0x0:_0x32b91f['color'];}if((_0x1d6d10==null?void 0x0:_0x1d6d10['type'])===_0xeb7b9a(0x30b))return _0x1d6d10['color'];}['_isAllDayCalendarEvent'](_0x19d118,_0x466fbc,_0x4d38cb,_0x31f152){const _0x8ef38f=_0x3401ce;var _0x335a88,_0x297df4;let _0x1cf677=((_0x335a88=_0x19d118['config'])==null?void 0x0:_0x335a88[_0x8ef38f(0x37f)])===!0x0,_0x2a36c2=(_0x466fbc==null||(_0x297df4=_0x466fbc[_0x8ef38f(0x3cb)])==null?void 0x0:_0x297df4['includeTime'])===!0x0;return!_0x1cf677&&!_0x2a36c2;}[_0x3401ce(0x286)](_0x2d5986,_0x48db16){const _0x5b4c48=_0x3401ce;var _0x345f23,_0x39b3f4;let _0x2c85d3=((_0x345f23=_0x2d5986[_0x5b4c48(0x3cb)])==null?void 0x0:_0x345f23[_0x5b4c48(0x37f)])===!0x0,_0x7f5fc8=((_0x39b3f4=_0x48db16['config'])==null?void 0x0:_0x39b3f4[_0x5b4c48(0x37f)])===!0x0;return!_0x2c85d3&&!_0x7f5fc8;}[_0x3401ce(0x32f)](_0x34df6f,_0x2a070e){const _0x50709c=_0x3401ce;let _0x460a9b=this[_0x50709c(0x20f)](_0x34df6f,_0x2a070e['config']),_0x3fdff7=_0x34df6f[_0x50709c(0x204)][_0x460a9b[_0x50709c(0x251)]];if(!_0x3fdff7||_0x3fdff7[_0x50709c(0x219)]||_0x3fdff7[_0x50709c(0x1b1)]!==_0x50709c(0x177)||_0x3fdff7[_0x50709c(0x3e5)]===!0x0||_0x3fdff7[_0x50709c(0x261)]===!0x0||!this[_0x50709c(0x324)](_0x3fdff7)[_0x50709c(0x373)])return{'type':'invalid','viewType':_0x50709c(0x34e),'reason':_0x50709c(0x220),'fieldId':_0x460a9b['startDateFieldId']};let _0x35db3b=_0x34df6f['fields'][_0x460a9b[_0x50709c(0x21f)]];if(!_0x35db3b||_0x35db3b['deleted']||_0x35db3b['type']!==_0x50709c(0x177)||_0x35db3b[_0x50709c(0x3e5)]===!0x0||_0x35db3b[_0x50709c(0x261)]===!0x0||!this[_0x50709c(0x324)](_0x35db3b)[_0x50709c(0x3c9)])return{'type':'invalid','viewType':_0x50709c(0x34e),'reason':_0x50709c(0x3ea),'fieldId':_0x460a9b[_0x50709c(0x21f)]};let _0x5342b4=this[_0x50709c(0x286)](_0x3fdff7,_0x35db3b),_0x440b0e=this[_0x50709c(0x1f0)](_0x34df6f,_0x2a070e),_0x581fe0=_0x440b0e[_0x50709c(0x278)](_0x484bb8=>{const _0x2c52c9=_0x50709c;var _0x1c9701;let _0x1aa3ed=A(_0x484bb8[_0x2c52c9(0x288)][_0x460a9b[_0x2c52c9(0x251)]]),_0x27d457=A(_0x484bb8[_0x2c52c9(0x288)][_0x460a9b[_0x2c52c9(0x21f)]]);if(!Number[_0x2c52c9(0x2fd)](_0x1aa3ed)||!Number['isFinite'](_0x27d457))return[];let _0x30d3ca=Math[_0x2c52c9(0x1a7)](_0x1aa3ed,_0x27d457),_0x3b1b47=Math[_0x2c52c9(0x16c)](_0x1aa3ed,_0x27d457),_0x118906=_0x460a9b[_0x2c52c9(0x2bd)]==null?void 0x0:Number(_0x484bb8[_0x2c52c9(0x288)][_0x460a9b['progressFieldId']]);return[{'recordId':_0x484bb8['recordId'],'title':this[_0x2c52c9(0x369)](_0x34df6f,_0x484bb8,_0x460a9b['titleFieldId']),'start':_0x30d3ca,'end':_0x3b1b47,'color':this[_0x2c52c9(0x202)](_0x34df6f,_0x484bb8,_0x460a9b),'progress':Number['isFinite'](_0x118906)?_0x118906:void 0x0,'workingDayCount':_0x460a9b[_0x2c52c9(0x1eb)]?Cn(_0x30d3ca,_0x3b1b47,_0x460a9b[_0x2c52c9(0x2d3)]):void 0x0,'dependencyRecordIds':this[_0x2c52c9(0x227)](_0x484bb8[_0x2c52c9(0x288)][(_0x1c9701=_0x460a9b['dependencyFieldId'])==null?'':_0x1c9701])}];}),_0x31d426=_0x581fe0[_0x50709c(0x2b1)]?K(Math[_0x50709c(0x1a7)](..._0x581fe0[_0x50709c(0x1d3)](_0x1be294=>_0x1be294[_0x50709c(0x2c9)]))-0x5a*G):K(Date['now']()-0x5a*G),_0x5da39c=_0x581fe0[_0x50709c(0x2b1)]?K(Math[_0x50709c(0x16c)](..._0x581fe0[_0x50709c(0x1d3)](_0xf06076=>_0xf06076['end']))+0x5b*G):K(Date[_0x50709c(0x3b2)]()+0x5b*G),_0x2181b4=hn(_0x460a9b[_0x50709c(0x1de)],_0x31d426,_0x5da39c,_0x460a9b[_0x50709c(0x1eb)]?_0x460a9b['workingDays']:void 0x0);return{'type':_0x50709c(0x34e),'fields':this[_0x50709c(0x2da)](_0x34df6f,{..._0x2a070e,'config':_0x460a9b}),'rows':_0x440b0e,'groups':this['_projectGroups'](_0x34df6f,_0x2a070e,_0x440b0e),'config':_0x460a9b,'dateRangeAllDay':_0x5342b4,'timeline':{'scale':_0x460a9b['scale'],'start':_0x31d426,'end':_0x5da39c,'unitWidth':_0x2181b4[_0x50709c(0x187)],'majorHeaders':_0x2181b4['majorHeaders'],'columns':_0x2181b4[_0x50709c(0x15f)]},'bars':_0x581fe0};}[_0x3401ce(0x20f)](_0x301c39,_0x29a5fc){const _0x2e2c35=_0x3401ce;var _0x34d772;let _0x356ae8=this[_0x2e2c35(0x2fc)](_0x301c39,_0x29a5fc[_0x2e2c35(0x251)],'start'),_0xdbcafa=this[_0x2e2c35(0x2fc)](_0x301c39,_0x29a5fc[_0x2e2c35(0x21f)],_0x2e2c35(0x296))||_0x356ae8,_0x42cedb=_0x29a5fc[_0x2e2c35(0x1d4)]&&_0x301c39['fields'][_0x29a5fc[_0x2e2c35(0x1d4)]]&&!_0x301c39[_0x2e2c35(0x204)][_0x29a5fc[_0x2e2c35(0x1d4)]][_0x2e2c35(0x219)]?_0x29a5fc['titleFieldId']:_0x301c39[_0x2e2c35(0x346)],_0x194d55=_0x29a5fc[_0x2e2c35(0x1de)]===_0x2e2c35(0x294)||_0x29a5fc['scale']==='quarter'||_0x29a5fc['scale']==='year'?_0x29a5fc[_0x2e2c35(0x1de)]:_0x2e2c35(0x379),_0x179672=mn(_0x29a5fc[_0x2e2c35(0x2d3)]);return{..._0x29a5fc,'startDateFieldId':_0x356ae8,'endDateFieldId':_0xdbcafa,'titleFieldId':_0x42cedb,'scale':_0x194d55,'leftPaneWidth':typeof _0x29a5fc[_0x2e2c35(0x229)]==_0x2e2c35(0x1e4)?_0x29a5fc['leftPaneWidth']:void 0x0,'leftPaneCollapsed':_0x29a5fc[_0x2e2c35(0x22d)]===!0x0,'showTodayLine':_0x29a5fc[_0x2e2c35(0x201)]!==!0x1,'displayColor':this[_0x2e2c35(0x38f)](_0x301c39,_0x29a5fc),'fieldSettings':Object[_0x2e2c35(0x300)](Object['entries']((_0x34d772=_0x29a5fc['fieldSettings'])==null?{}:_0x34d772)[_0x2e2c35(0x2db)](([_0xc0a87])=>{const _0x305096=_0x2e2c35;let _0x52fa93=_0x301c39[_0x305096(0x204)][_0xc0a87];return!!_0x52fa93&&!_0x52fa93[_0x305096(0x219)];})),'workingDaysOnly':_0x29a5fc[_0x2e2c35(0x1eb)]===!0x0,'workingDays':_0x179672};}[_0x3401ce(0x2fc)](_0x3a8389,_0x1fd70f,_0x5e6179){const _0x316c7b=_0x3401ce;if(_0x1fd70f&&this[_0x316c7b(0x23a)](_0x3a8389,_0x1fd70f,_0x5e6179)||_0x1fd70f)return _0x1fd70f;for(let _0x50977a of _0x3a8389[_0x316c7b(0x264)])if(this[_0x316c7b(0x23a)](_0x3a8389,_0x50977a,_0x5e6179))return _0x50977a;return _0x1fd70f==null?'':_0x1fd70f;}[_0x3401ce(0x23a)](_0x5b47d8,_0x56e0d7,_0x25f639){const _0x35cb27=_0x3401ce;let _0x9e0c58=_0x5b47d8[_0x35cb27(0x204)][_0x56e0d7];if(!_0x9e0c58||_0x9e0c58[_0x35cb27(0x219)]||_0x9e0c58['type']!==_0x35cb27(0x177)||_0x9e0c58[_0x35cb27(0x3e5)]===!0x0||_0x9e0c58[_0x35cb27(0x261)]===!0x0)return!0x1;let _0x13446f=this[_0x35cb27(0x324)](_0x9e0c58);return _0x25f639===_0x35cb27(0x2c9)?_0x13446f[_0x35cb27(0x373)]:_0x13446f[_0x35cb27(0x3c9)];}['_normalizeGanttDisplayColor'](_0x5d23b1,_0x3cfe5e){const _0x53e1af=_0x3401ce;let _0xf171d=_0x3cfe5e['displayColor'];if((_0xf171d==null?void 0x0:_0xf171d['type'])===_0x53e1af(0x36c)){let _0x51ac1d=_0x5d23b1[_0x53e1af(0x204)][_0xf171d[_0x53e1af(0x409)]];if(_0x51ac1d&&!_0x51ac1d[_0x53e1af(0x219)]&&_0x51ac1d[_0x53e1af(0x1b1)]===_0x53e1af(0x335))return _0xf171d;}return(_0xf171d==null?void 0x0:_0xf171d[_0x53e1af(0x1b1)])===_0x53e1af(0x35b)&&Array['isArray'](_0xf171d[_0x53e1af(0x198)])?{'type':_0x53e1af(0x35b),'rules':_0xf171d['rules'][_0x53e1af(0x2db)](_0xde23c=>{const _0x483563=_0x53e1af;let _0x3e1054=_0x5d23b1[_0x483563(0x204)][_0xde23c[_0x483563(0x409)]];return!!_0x3e1054&&!_0x3e1054[_0x483563(0x219)];})}:(_0xf171d==null?void 0x0:_0xf171d[_0x53e1af(0x1b1)])===_0x53e1af(0x30b)&&typeof _0xf171d[_0x53e1af(0x257)]==_0x53e1af(0x3f7)&&_0xf171d[_0x53e1af(0x257)]['trim']()?{'type':'custom','color':_0xf171d[_0x53e1af(0x257)]}:{'type':_0x53e1af(0x30b),'color':_0x53e1af(0x2a0)};}['_ganttBarColor'](_0x18fe46,_0x336726,_0x478aa8){const _0x363c3e=_0x3401ce;let _0x2e16a7=_0x478aa8[_0x363c3e(0x388)];if((_0x2e16a7==null?void 0x0:_0x2e16a7[_0x363c3e(0x1b1)])===_0x363c3e(0x35b)){let _0x1b4ec1=_0x2e16a7[_0x363c3e(0x198)][_0x363c3e(0x387)](_0x15fe68=>this[_0x363c3e(0x349)](_0x18fe46,_0x336726,_0x15fe68));if(_0x1b4ec1)return _0x1b4ec1[_0x363c3e(0x257)];}if((_0x2e16a7==null?void 0x0:_0x2e16a7[_0x363c3e(0x1b1)])===_0x363c3e(0x36c)){let _0x281eb4=_0x18fe46['fields'][_0x2e16a7[_0x363c3e(0x409)]];if(_0x281eb4&&!_0x281eb4[_0x363c3e(0x219)]){var _0x54699f;let _0x27c771=_0x336726[_0x363c3e(0x288)][_0x2e16a7[_0x363c3e(0x409)]],_0x35828e=Array['isArray'](_0x27c771)?_0x27c771[0x0]:_0x27c771,_0x32caa5=_0x35828e==null||(_0x54699f=J(_0x281eb4,String(_0x35828e)))==null?void 0x0:_0x54699f['color'];if(_0x32caa5)return _0x32caa5;}}return(_0x2e16a7==null?void 0x0:_0x2e16a7[_0x363c3e(0x1b1)])==='custom'?_0x2e16a7[_0x363c3e(0x257)]:_0x363c3e(0x2a0);}[_0x3401ce(0x349)](_0x1b43dc,_0x535615,_0x1fb517){const _0x365ac8=_0x3401ce;let _0x479f15=_0x1b43dc[_0x365ac8(0x204)][_0x1fb517[_0x365ac8(0x409)]];return!_0x479f15||_0x479f15[_0x365ac8(0x219)]?!0x1:ot(_0x535615[_0x365ac8(0x288)][_0x479f15['id']],_0x1fb517[_0x365ac8(0x3a1)],_0x1fb517[_0x365ac8(0x398)],_0x479f15,{'dateMode':_0x1fb517['dateMode']});}[_0x3401ce(0x293)](_0x1f601c,_0x4cc2c0){const _0x5d8860=_0x3401ce;var _0x2dfa1b,_0x4f42a0,_0x364248;let _0x33e8f1=this[_0x5d8860(0x1f0)](_0x1f601c,_0x4cc2c0),_0x3fa354=this['_normalizeGalleryConfig'](_0x1f601c,(_0x2dfa1b=_0x4cc2c0['config'])==null?{}:_0x2dfa1b);return{'type':_0x5d8860(0x370),'fields':this['_projectFields'](_0x1f601c,_0x4cc2c0),'rows':_0x33e8f1,'groups':this[_0x5d8860(0x3c2)](_0x1f601c,_0x4cc2c0,_0x33e8f1),'coverFieldId':_0x3fa354[_0x5d8860(0x2e2)],'cardLayout':(_0x4f42a0=_0x3fa354[_0x5d8860(0x2eb)])==null?_0x5d8860(0x3e9):_0x4f42a0,'showFieldNames':_0x3fa354[_0x5d8860(0x156)]!==!0x1,'visibleCardFieldIds':this[_0x5d8860(0x1ba)](_0x1f601c,_0x4cc2c0,_0x3fa354),'cardSize':(_0x364248=_0x3fa354['cardSize'])==null?_0x5d8860(0x1d1):_0x364248,'cards':_0x33e8f1[_0x5d8860(0x1d3)](_0x46348a=>({'recordId':_0x46348a[_0x5d8860(0x163)],'title':this[_0x5d8860(0x369)](_0x1f601c,_0x46348a,_0x3fa354[_0x5d8860(0x1b2)][_0x5d8860(0x1d4)]),'values':_0x46348a[_0x5d8860(0x288)]}))};}[_0x3401ce(0x1f3)](_0x365a03,_0x3038e5){const _0x1bc39d=_0x3401ce;var _0x42fd75,_0x55c727;let _0x2ecf93=(_0x42fd75=_0x3038e5['card'])==null?{'fieldIds':[]}:_0x42fd75,_0x3f046f=_0x2ecf93[_0x1bc39d(0x1d4)]&&_0x365a03['fields'][_0x2ecf93[_0x1bc39d(0x1d4)]]&&!_0x365a03[_0x1bc39d(0x204)][_0x2ecf93[_0x1bc39d(0x1d4)]][_0x1bc39d(0x219)]?_0x2ecf93[_0x1bc39d(0x1d4)]:Zt(_0x365a03),_0x3f9b7c=this[_0x1bc39d(0x3ac)](_0x365a03,_0x3038e5),_0x52a64c=_0x3038e5[_0x1bc39d(0x18c)]===_0x1bc39d(0x36f)||_0x3038e5[_0x1bc39d(0x18c)]===_0x1bc39d(0x325)?_0x3038e5[_0x1bc39d(0x18c)]:_0x1bc39d(0x1d1);return{..._0x3038e5,'coverFieldId':_0x3f9b7c,'cardLayout':_0x3038e5['cardLayout']===_0x1bc39d(0x1e5)?_0x1bc39d(0x1e5):_0x1bc39d(0x3e9),'showFieldNames':_0x3038e5[_0x1bc39d(0x156)]!==!0x1,'fieldSettings':Object[_0x1bc39d(0x300)](Object['entries']((_0x55c727=_0x3038e5[_0x1bc39d(0x1fd)])==null?{}:_0x55c727)[_0x1bc39d(0x2db)](([_0x5b54cd])=>{const _0x2fe37=_0x1bc39d;let _0x3975b6=_0x365a03[_0x2fe37(0x204)][_0x5b54cd];return!!_0x3975b6&&!_0x3975b6[_0x2fe37(0x219)];})),'card':{..._0x2ecf93,'titleFieldId':_0x3f046f,'coverFieldId':_0x3f9b7c,'fieldIds':Array['isArray'](_0x2ecf93[_0x1bc39d(0x1ff)])?_0x2ecf93['fieldIds']:[]},'cardSize':_0x52a64c};}['_resolveGalleryCoverFieldId'](_0x587e7c,_0x4ab886){const _0x1a16cc=_0x3401ce;var _0x348369,_0x1cb4d1,_0x1a1e98;let _0x49c1f0=(_0x348369=(_0x1cb4d1=_0x4ab886['coverFieldId'])==null?(_0x1a1e98=_0x4ab886['card'])==null?void 0x0:_0x1a1e98['coverFieldId']:_0x1cb4d1)==null?null:_0x348369;if(!_0x49c1f0)return null;let _0x410e7e=_0x587e7c[_0x1a16cc(0x204)][_0x49c1f0];return _0x410e7e&&!_0x410e7e[_0x1a16cc(0x219)]&&this[_0x1a16cc(0x324)](_0x410e7e)[_0x1a16cc(0x1ab)]?_0x410e7e['id']:null;}['_resolveGalleryCardFieldIds'](_0x1d4f5e,_0x148eb1,_0x12f370){const _0x28063d=_0x3401ce;var _0x8c51f0,_0x56cc0f,_0x24127,_0x535a4f,_0x597bf1,_0x4fd220,_0xfd6fc8;let _0x143daa=(_0x8c51f0=_0x12f370[_0x28063d(0x1fd)])==null?{}:_0x8c51f0,_0x4ba13c=(_0x56cc0f=(_0x24127=_0x12f370['card'])==null?void 0x0:_0x24127[_0x28063d(0x1d4)])==null?Zt(_0x1d4f5e):_0x56cc0f,_0x54376d=(_0x535a4f=(_0x597bf1=_0x12f370[_0x28063d(0x2e2)])==null?(_0x4fd220=_0x12f370[_0x28063d(0x1b2)])==null?void 0x0:_0x4fd220['coverFieldId']:_0x597bf1)==null?null:_0x535a4f,_0x3e8f1a=!((_0xfd6fc8=_0x12f370[_0x28063d(0x1b2)])==null||(_0xfd6fc8=_0xfd6fc8[_0x28063d(0x1ff)])==null)&&_0xfd6fc8[_0x28063d(0x2b1)]?_0x12f370['card'][_0x28063d(0x1ff)]:Qt(_0x1d4f5e,[_0x4ba13c,_0x54376d,_0x1d4f5e[_0x28063d(0x346)]]);return _0x3e8f1a['filter'](_0x1478b9=>{const _0x3c3315=_0x28063d;var _0x46853d,_0x29576b;let _0x2ac59b=_0x1d4f5e['fields'][_0x1478b9];return!(!_0x2ac59b||_0x2ac59b[_0x3c3315(0x219)]||_0x2ac59b['id']===_0x4ba13c||_0x2ac59b['id']===_0x54376d||!((_0x46853d=_0x148eb1[_0x3c3315(0x1fd)])==null||(_0x46853d=_0x46853d[_0x1478b9])==null)&&_0x46853d[_0x3c3315(0x2cf)]||(_0x29576b=_0x143daa[_0x1478b9])!=null&&_0x29576b[_0x3c3315(0x2cf)]);})[_0x28063d(0x22f)]((_0x3378ca,_0x21d74e)=>{const _0x60e93b=_0x28063d;var _0x3ccd84,_0x576ab1,_0x35768a,_0x5841f7;return((_0x3ccd84=(_0x576ab1=_0x143daa[_0x3378ca])==null?void 0x0:_0x576ab1[_0x60e93b(0x385)])==null?_0x3e8f1a['indexOf'](_0x3378ca):_0x3ccd84)-((_0x35768a=(_0x5841f7=_0x143daa[_0x21d74e])==null?void 0x0:_0x5841f7[_0x60e93b(0x385)])==null?_0x3e8f1a['indexOf'](_0x21d74e):_0x35768a);});}[_0x3401ce(0x2da)](_0x523a0e,_0x5ba3a9){const _0xcc5c18=_0x3401ce;var _0x3a1590;return((_0x3a1590=_0x5ba3a9[_0xcc5c18(0x264)])!=null&&_0x3a1590[_0xcc5c18(0x2b1)]?_0x5ba3a9[_0xcc5c18(0x264)]:_0x523a0e[_0xcc5c18(0x264)])[_0xcc5c18(0x278)](_0x5b7bfb=>{const _0x211f60=_0xcc5c18;var _0x500488,_0x3e7d03;let _0x3f96db=_0x523a0e[_0x211f60(0x204)][_0x5b7bfb],_0x422ffd=(_0x500488=(_0x3e7d03=_0x5ba3a9[_0x211f60(0x1fd)])==null?void 0x0:_0x3e7d03[_0x5b7bfb])==null?{}:_0x500488;return!_0x3f96db||_0x3f96db[_0x211f60(0x219)]||_0x422ffd['hidden']?[]:[{'id':_0x3f96db['id'],'name':_0x3f96db[_0x211f60(0x1fe)],'description':_0x3f96db[_0x211f60(0x3de)],'type':_0x3f96db[_0x211f60(0x1b1)],'config':_0x3f96db['config'],'width':_0x422ffd['width'],'setting':_0x422ffd}];});}[_0x3401ce(0x1f0)](_0x4ba425,_0x53c5f1){const _0x59f1ac=_0x3401ce;var _0x332c92,_0x25645a,_0x589085;return S(_0x59f1ac(0x26a),()=>{const _0x5d8621=_0x59f1ac;var _0x3861ff,_0x229320,_0x5c9dfb,_0x64978f;let _0x4a898d=this[_0x5d8621(0x159)](_0x4ba425),_0x197f4e=this['_viewRowsCacheKey'](_0x4ba425['id'],_0x53c5f1),_0xfc78ca=this[_0x5d8621(0x26c)](_0x4ba425['id']),_0x273dce=this[_0x5d8621(0x345)]['get'](_0x197f4e);if(_0x273dce&&_0x273dce[_0x5d8621(0x3c3)]===this[_0x5d8621(0x21a)]&&_0x273dce['tableRevision']===this['_getTableRevision'](_0x4ba425['id'])){if(_0x273dce[_0x5d8621(0x3e1)]===_0xfc78ca&&_0x273dce['baseRows']===_0x4a898d)return _0x273dce[_0x5d8621(0x2fa)];if(_0x273dce[_0x5d8621(0x3e1)]!==_0xfc78ca&&!this['_cellInvalidationsTouchFields'](_0x4ba425['id'],_0x273dce['cellRevision'],_0xfc78ca,this[_0x5d8621(0x299)](_0x53c5f1))){let _0x28f7a0=_0x273dce[_0x5d8621(0x2fa)]===_0x273dce['baseRows']?_0x4a898d:this[_0x5d8621(0x38d)](_0x273dce[_0x5d8621(0x2fa)],_0x4a898d);if(_0x28f7a0)return this[_0x5d8621(0x345)][_0x5d8621(0x270)](_0x197f4e,{..._0x273dce,'rows':_0x28f7a0,'baseRows':_0x4a898d,'cellRevision':_0xfc78ca}),_0x28f7a0;}}let _0x1d3a0c=S(_0x5d8621(0x2b8),()=>this[_0x5d8621(0x317)](_0x4ba425,_0x53c5f1,this['_filterRows'](_0x4ba425,_0x53c5f1,_0x4a898d)),{'tableId':_0x4ba425['id'],'viewId':_0x53c5f1==null?void 0x0:_0x53c5f1['id'],'viewType':_0x53c5f1==null?void 0x0:_0x53c5f1[_0x5d8621(0x1b1)],'rows':_0x4a898d[_0x5d8621(0x2b1)],'filters':(_0x3861ff=_0x53c5f1==null||(_0x229320=_0x53c5f1[_0x5d8621(0x2db)])==null?void 0x0:_0x229320['conditions'][_0x5d8621(0x2b1)])==null?0x0:_0x3861ff,'sorts':(_0x5c9dfb=_0x53c5f1==null||(_0x64978f=_0x53c5f1['sort'])==null?void 0x0:_0x64978f[_0x5d8621(0x2b1)])==null?0x0:_0x5c9dfb});return this['_projectedViewRowsCache']['set'](_0x197f4e,{'table':_0x4ba425,'rows':_0x1d3a0c,'baseRows':_0x4a898d,'globalRevision':this[_0x5d8621(0x21a)],'tableRevision':this[_0x5d8621(0x1b8)](_0x4ba425['id']),'cellRevision':_0xfc78ca}),_0x1d3a0c;},{'tableId':_0x4ba425['id'],'viewId':_0x53c5f1==null?void 0x0:_0x53c5f1['id'],'viewType':_0x53c5f1==null?void 0x0:_0x53c5f1[_0x59f1ac(0x1b1)],'records':(_0x332c92=(_0x25645a=_0x4ba425['recordOrder'])==null?void 0x0:_0x25645a[_0x59f1ac(0x2b1)])==null?Object[_0x59f1ac(0x2fe)]((_0x589085=_0x4ba425[_0x59f1ac(0x320)])==null?{}:_0x589085)['length']:_0x332c92});}[_0x3401ce(0x159)](_0x53e428){const _0xde190e=_0x3401ce;var _0x2296ab,_0x371df1,_0x10361e;return S('BaseProjection.projectTableRows',()=>{const _0x21b069=_0x4a40;var _0x1b5218;let _0x366bb5=this['_getCellRevision'](_0x53e428['id']),_0x18f0e3=this['_projectedRowsCache'][_0x21b069(0x192)](_0x53e428['id']);if(_0x18f0e3&&_0x18f0e3[_0x21b069(0x3c3)]===this['_globalRevision']&&_0x18f0e3[_0x21b069(0x34b)]===this[_0x21b069(0x1b8)](_0x53e428['id'])){if(_0x18f0e3[_0x21b069(0x3e1)]===_0x366bb5&&_0x18f0e3[_0x21b069(0x39c)]===_0x53e428)return _0x18f0e3[_0x21b069(0x2fa)];let _0x290b9a=this['_patchProjectedRowsForCellInvalidations'](_0x53e428,_0x18f0e3,_0x366bb5);if(_0x290b9a)return _0x290b9a;}un(_0x53e428)||C(_0x53e428);let _0x257e34=(_0x1b5218=_0x53e428[_0x21b069(0x275)])!=null&&_0x1b5218['length']?_0x53e428[_0x21b069(0x275)]:Object[_0x21b069(0x288)](_0x53e428[_0x21b069(0x320)])[_0x21b069(0x22f)]((_0x16c7e7,_0x208ec2)=>_0x16c7e7[_0x21b069(0x20e)][_0x21b069(0x16a)](_0x208ec2[_0x21b069(0x20e)]))['map'](_0x21afb6=>_0x21afb6['id']),_0x564883=S('BaseProjection.materializeTableRows',()=>_0x257e34['map'](_0x3297c7=>_0x53e428[_0x21b069(0x320)][_0x3297c7])[_0x21b069(0x2db)](_0x41f066=>!!_0x41f066)[_0x21b069(0x2db)](_0x1b5539=>!_0x1b5539['deleted'])['map'](_0x5238c8=>{let _0xd19b87={};for(let _0x4078ea of _0x53e428['fieldOrder'])_0xd19b87[_0x4078ea]=xe(_0x53e428,_0x5238c8['id'],_0x4078ea);return{'recordId':_0x5238c8['id'],'values':_0xd19b87};}),{'tableId':_0x53e428['id'],'records':_0x257e34['length'],'fields':_0x53e428['fieldOrder'][_0x21b069(0x2b1)]});return this[_0x21b069(0x347)]['set'](_0x53e428['id'],{'table':_0x53e428,'rows':_0x564883,'rowIndexById':ln(_0x564883),'globalRevision':this[_0x21b069(0x21a)],'tableRevision':this[_0x21b069(0x1b8)](_0x53e428['id']),'cellRevision':_0x366bb5}),_0x564883;},{'tableId':_0x53e428['id'],'records':(_0x2296ab=(_0x371df1=_0x53e428[_0xde190e(0x275)])==null?void 0x0:_0x371df1['length'])==null?Object[_0xde190e(0x2fe)]((_0x10361e=_0x53e428[_0xde190e(0x320)])==null?{}:_0x10361e)['length']:_0x2296ab,'fields':_0x53e428['fieldOrder'][_0xde190e(0x2b1)]});}[_0x3401ce(0x31c)](_0x10ba9b,_0x4a11ab,_0x40ad2d){const _0x531a67=_0x3401ce;var _0x1168f3,_0x501f2d;let _0x290c64=((_0x1168f3=this[_0x531a67(0x250)][_0x531a67(0x192)](_0x10ba9b['id']))==null?[]:_0x1168f3)[_0x531a67(0x2db)](_0x125af5=>_0x125af5['revision']>_0x4a11ab[_0x531a67(0x3e1)]&&_0x125af5['revision']<=_0x40ad2d);if(!_0x290c64[_0x531a67(0x2b1)])return _0x4a11ab[_0x531a67(0x39c)]===_0x10ba9b?_0x4a11ab[_0x531a67(0x2fa)]:null;let _0x27c22a=_0x4a11ab[_0x531a67(0x2fa)],_0x5dfc05=new Map();for(let _0x21c61a of _0x290c64){let _0x36e38e=_0x5dfc05[_0x531a67(0x192)](_0x21c61a[_0x531a67(0x163)]);_0x36e38e||(_0x36e38e=new Set(),_0x5dfc05[_0x531a67(0x270)](_0x21c61a[_0x531a67(0x163)],_0x36e38e)),_0x36e38e[_0x531a67(0x221)](_0x21c61a[_0x531a67(0x409)]);}for(let [_0x20a720,_0x44ab5c]of _0x5dfc05){let _0x32ad45=_0x10ba9b['records'][_0x20a720];if(!_0x32ad45||_0x32ad45[_0x531a67(0x219)])return null;let _0x4b7205=_0x4a11ab[_0x531a67(0x374)][_0x531a67(0x192)](_0x20a720);if(_0x4b7205==null)return null;_0x27c22a===_0x4a11ab[_0x531a67(0x2fa)]&&(_0x27c22a=[..._0x4a11ab[_0x531a67(0x2fa)]]);let _0x3d363a=_0x27c22a[_0x4b7205],_0x1f9900={..._0x3d363a[_0x531a67(0x288)]};_0x44ab5c[_0x531a67(0x3f4)](_0x2a8374=>{_0x1f9900[_0x2a8374]=xe(_0x10ba9b,_0x20a720,_0x2a8374);}),_0x27c22a[_0x4b7205]={..._0x3d363a,'values':_0x1f9900};}let _0x124e39={'table':_0x10ba9b,'rows':_0x27c22a,'rowIndexById':_0x4a11ab[_0x531a67(0x374)],'globalRevision':this[_0x531a67(0x21a)],'tableRevision':this[_0x531a67(0x1b8)](_0x10ba9b['id']),'cellRevision':_0x40ad2d};return this[_0x531a67(0x347)][_0x531a67(0x270)](_0x10ba9b['id'],_0x124e39),this[_0x531a67(0x250)][_0x531a67(0x270)](_0x10ba9b['id'],((_0x501f2d=this['_cellInvalidations'][_0x531a67(0x192)](_0x10ba9b['id']))==null?[]:_0x501f2d)[_0x531a67(0x2db)](_0x4de949=>_0x4de949[_0x531a67(0x1ee)]>Math['max'](0x0,_0x40ad2d-0x100))),_0x27c22a;}[_0x3401ce(0x38d)](_0x33f0cb,_0x1ed15b){const _0x5ca503=_0x3401ce;let _0x49ec03=new Map(_0x1ed15b[_0x5ca503(0x1d3)](_0x360765=>[_0x360765[_0x5ca503(0x163)],_0x360765])),_0x124b93=!0x1,_0xa6eb3=_0x33f0cb[_0x5ca503(0x1d3)](_0xd7af82=>{const _0x3905fd=_0x5ca503;let _0x168e76=_0x49ec03[_0x3905fd(0x192)](_0xd7af82[_0x3905fd(0x163)]);return _0x168e76?_0x168e76===_0xd7af82?_0xd7af82:(_0x124b93=!0x0,_0x168e76):_0xd7af82;});return _0x124b93?_0xa6eb3:_0x33f0cb;}[_0x3401ce(0x287)](_0x23378a,_0x3bcc10,_0xb286cb,_0x58209a){const _0x679363=_0x3401ce;var _0x11d75d;return!_0x58209a[_0x679363(0x310)]||_0x3bcc10===_0xb286cb?!0x1:_0xb286cb-_0x3bcc10>0x100?!0x0:((_0x11d75d=this[_0x679363(0x250)]['get'](_0x23378a))==null?[]:_0x11d75d)[_0x679363(0x341)](_0x4f6e57=>_0x4f6e57[_0x679363(0x1ee)]>_0x3bcc10&&_0x4f6e57['revision']<=_0xb286cb&&_0x58209a[_0x679363(0x356)](_0x4f6e57[_0x679363(0x409)]));}['_filterSortFieldIds'](_0x10edc6){const _0x3a1260=_0x3401ce;var _0x311942,_0x3d418c;let _0x2a240c=new Set();return _0x10edc6==null||(_0x311942=_0x10edc6[_0x3a1260(0x2db)])==null||_0x311942[_0x3a1260(0x298)][_0x3a1260(0x3f4)](_0x3171d9=>_0x2a240c[_0x3a1260(0x221)](_0x3171d9[_0x3a1260(0x409)])),_0x10edc6==null||(_0x3d418c=_0x10edc6[_0x3a1260(0x22f)])==null||_0x3d418c[_0x3a1260(0x3f4)](_0x40072d=>_0x2a240c[_0x3a1260(0x221)](_0x40072d[_0x3a1260(0x409)])),_0x2a240c;}[_0x3401ce(0x1b6)](_0x539dc8){const _0x5f213=_0x3401ce;var _0x331d97;let _0x221c04=this[_0x5f213(0x299)](_0x539dc8);return(_0x331d97=_0x539dc8['group'])==null||_0x331d97[_0x5f213(0x3f4)](_0x53513d=>_0x221c04[_0x5f213(0x221)](_0x53513d[_0x5f213(0x409)])),_0x221c04;}[_0x3401ce(0x282)](_0x68b7fb,_0x452c08,_0x308c6e){const _0x1b3237=_0x3401ce;let _0x383260=_0x452c08==null?void 0x0:_0x452c08[_0x1b3237(0x2db)];if(!(_0x383260!=null&&_0x383260[_0x1b3237(0x298)][_0x1b3237(0x2b1)]))return _0x308c6e;let _0x429c56=_0x383260[_0x1b3237(0x298)][_0x1b3237(0x2db)](_0x59c3ed=>!Nn(_0x59c3ed));return _0x429c56[_0x1b3237(0x2b1)]?_0x308c6e[_0x1b3237(0x2db)](_0x567d2c=>{const _0x5d882d=_0x1b3237;if(_0x383260[_0x5d882d(0x33b)]==='or'){for(let _0xe4b61a of _0x429c56){let _0x5e1ef0=_0x68b7fb[_0x5d882d(0x204)][_0xe4b61a[_0x5d882d(0x409)]];if(!_0x5e1ef0||_0x5e1ef0[_0x5d882d(0x219)]||this[_0x5d882d(0x3f3)]['get'](_0x5e1ef0[_0x5d882d(0x1b1)])['filter'](_0x567d2c[_0x5d882d(0x288)][_0x5e1ef0['id']],_0xe4b61a[_0x5d882d(0x3a1)],_0xe4b61a[_0x5d882d(0x398)],_0x5e1ef0))return!0x0;}return!0x1;}for(let _0x293e39 of _0x429c56){let _0x320433=_0x68b7fb[_0x5d882d(0x204)][_0x293e39[_0x5d882d(0x409)]];if(!(!_0x320433||_0x320433[_0x5d882d(0x219)])&&!this[_0x5d882d(0x3f3)]['get'](_0x320433[_0x5d882d(0x1b1)])[_0x5d882d(0x2db)](_0x567d2c[_0x5d882d(0x288)][_0x320433['id']],_0x293e39[_0x5d882d(0x3a1)],_0x293e39[_0x5d882d(0x398)],_0x320433))return!0x1;}return!0x0;}):_0x308c6e;}[_0x3401ce(0x317)](_0x3bce55,_0xd70e42,_0x4f0a0f){const _0x28f312=_0x3401ce;var _0x447acc;let _0x3b020b=(_0x447acc=_0xd70e42==null?void 0x0:_0xd70e42[_0x28f312(0x22f)])==null?[]:_0x447acc;if(!_0x3b020b[_0x28f312(0x2b1)])return _0x4f0a0f;let _0x133e76=_0x3b020b[_0x28f312(0x278)](_0x574ef7=>{const _0x543175=_0x28f312;let _0xf8062=_0x3bce55[_0x543175(0x204)][_0x574ef7[_0x543175(0x409)]];return _0xf8062&&!_0xf8062['deleted']?[{..._0x574ef7,'field':_0xf8062}]:[];});return _0x133e76[_0x28f312(0x2b1)]?this[_0x28f312(0x173)](_0x133e76)?this[_0x28f312(0x333)](_0x133e76,_0x4f0a0f):[..._0x4f0a0f]['sort']((_0x56b560,_0x100f71)=>{const _0x1e07a0=_0x28f312;for(let _0x1123a9 of _0x133e76){let _0x2f1591=_0x1123a9[_0x1e07a0(0x1a4)],_0x2a00dd=this[_0x1e07a0(0x3f3)][_0x1e07a0(0x192)](_0x2f1591[_0x1e07a0(0x1b1)])['compare'](_0x56b560['values'][_0x2f1591['id']],_0x100f71[_0x1e07a0(0x288)][_0x2f1591['id']],_0x2f1591);if(_0x2a00dd!==0x0)return _0x1123a9[_0x1e07a0(0x2cc)]==='desc'?-_0x2a00dd:_0x2a00dd;}return 0x0;}):_0x4f0a0f;}['_canUseFastSort'](_0x18648f){const _0x48c599=_0x3401ce;return _0x18648f[_0x48c599(0x27b)](_0xcba232=>on['has'](_0xcba232['field']['type']));}['_fastSortRows'](_0x18666e,_0x435065){const _0x269858=_0x3401ce;return _0x435065[_0x269858(0x1d3)]((_0x458a2f,_0x51486d)=>({'row':_0x458a2f,'index':_0x51486d,'keys':_0x18666e[_0x269858(0x1d3)](_0x50bc07=>_0x458a2f[_0x269858(0x288)][_0x50bc07[_0x269858(0x409)]])}))[_0x269858(0x22f)]((_0x448b5c,_0x31bd03)=>{const _0x1d9920=_0x269858;for(let _0x56f111=0x0;_0x56f111<_0x18666e[_0x1d9920(0x2b1)];_0x56f111++){let _0x415e5b=Mn(_0x448b5c[_0x1d9920(0x2fe)][_0x56f111],_0x31bd03['keys'][_0x56f111]);if(_0x415e5b!==0x0)return _0x18666e[_0x56f111][_0x1d9920(0x2cc)]===_0x1d9920(0x25e)?-_0x415e5b:_0x415e5b;}return _0x448b5c[_0x1d9920(0x17e)]-_0x31bd03['index'];})[_0x269858(0x1d3)](_0x485a6e=>_0x485a6e[_0x269858(0x2d5)]);}['_projectGroups'](_0x168df6,_0x474d75,_0x565607){const _0x383f98=_0x3401ce;var _0x522da1,_0x597911;return S('BaseProjection.projectGroups',()=>{const _0x5325a7=_0x4a40;var _0x5a06f4;if(!((_0x5a06f4=_0x474d75[_0x5325a7(0x403)])!=null&&_0x5a06f4[_0x5325a7(0x2b1)]))return[];let _0x4f1c14=_0x474d75[_0x5325a7(0x403)][_0x5325a7(0x2db)](_0x1f15b6=>{const _0x406e8f=_0x5325a7;let _0x2a5218=_0x168df6[_0x406e8f(0x204)][_0x1f15b6[_0x406e8f(0x409)]];return _0x2a5218&&!_0x2a5218[_0x406e8f(0x219)];});if(!_0x4f1c14['length'])return[];let _0x4a1f68=this[_0x5325a7(0x36b)](_0x168df6['id'],_0x474d75,_0x4f1c14),_0x4f0c69=this[_0x5325a7(0x26c)](_0x168df6['id']),_0x3ca8d7=this['_projectedGroupsCache'][_0x5325a7(0x192)](_0x4a1f68);if(_0x3ca8d7&&_0x3ca8d7[_0x5325a7(0x3c3)]===this['_globalRevision']&&_0x3ca8d7['tableRevision']===this[_0x5325a7(0x1b8)](_0x168df6['id'])){if(_0x3ca8d7[_0x5325a7(0x3e1)]===_0x4f0c69&&_0x3ca8d7[_0x5325a7(0x2fa)]===_0x565607)return _0x3ca8d7[_0x5325a7(0x214)];if(_0x3ca8d7['cellRevision']!==_0x4f0c69&&!this[_0x5325a7(0x287)](_0x168df6['id'],_0x3ca8d7['cellRevision'],_0x4f0c69,this[_0x5325a7(0x1b6)](_0x474d75)))return this[_0x5325a7(0x241)][_0x5325a7(0x270)](_0x4a1f68,{..._0x3ca8d7,'rows':_0x565607,'cellRevision':_0x4f0c69}),_0x3ca8d7[_0x5325a7(0x214)];}let _0x5ab948=new Map();for(let _0x1b4383 of _0x565607){let _0x5c7e41=_0x5ab948,_0x234a55='';for(let _0x4da6ff=0x0;_0x4da6ff<_0x4f1c14[_0x5325a7(0x2b1)];_0x4da6ff++){let _0x32140e=_0x4f1c14[_0x4da6ff],_0x4ff14e=_0x1b4383[_0x5325a7(0x288)][_0x32140e[_0x5325a7(0x409)]],_0x2ded3d=cn(_0x4ff14e),_0x219bd1=_0x32140e[_0x5325a7(0x409)]+'\x00'+_0x2ded3d,_0x4aecb5=_0x234a55+'/'+_0x32140e[_0x5325a7(0x409)]+':'+_0x2ded3d,_0x26d069=_0x5c7e41[_0x5325a7(0x192)](_0x219bd1);_0x26d069||(_0x26d069={'key':_0x2ded3d,'value':_0x4ff14e,'path':_0x4aecb5,'label':_0x2ded3d||_0x5325a7(0x40a),'fieldId':_0x32140e[_0x5325a7(0x409)],'level':_0x4da6ff,'recordIds':[],'children':new Map()},_0x5c7e41[_0x5325a7(0x270)](_0x219bd1,_0x26d069)),_0x26d069[_0x5325a7(0x32d)][_0x5325a7(0x2b5)](_0x1b4383[_0x5325a7(0x163)]),_0x5c7e41=_0x26d069[_0x5325a7(0x2cb)],_0x234a55=_0x4aecb5;}}let _0x5ac9fe=this[_0x5325a7(0x285)](_0x4f1c14,_0x5ab948,0x0);return this[_0x5325a7(0x241)]['set'](_0x4a1f68,{'table':_0x168df6,'rows':_0x565607,'groups':_0x5ac9fe,'globalRevision':this[_0x5325a7(0x21a)],'tableRevision':this[_0x5325a7(0x1b8)](_0x168df6['id']),'cellRevision':_0x4f0c69}),_0x5ac9fe;},{'tableId':_0x168df6['id'],'viewId':_0x474d75['id'],'viewType':_0x474d75[_0x383f98(0x1b1)],'rows':_0x565607['length'],'groupFields':(_0x522da1=(_0x597911=_0x474d75[_0x383f98(0x403)])==null?void 0x0:_0x597911[_0x383f98(0x2b1)])==null?0x0:_0x522da1});}['_materializeGroups'](_0x20af81,_0x3fbaa9,_0x3404f3){const _0x24505f=_0x3401ce;var _0x4aa89a;let _0x53a5c4=Array[_0x24505f(0x33e)](_0x3fbaa9[_0x24505f(0x288)]()),_0x334991=(_0x4aa89a=_0x20af81[_0x3404f3])==null?void 0x0:_0x4aa89a[_0x24505f(0x2cc)];return _0x334991&&_0x53a5c4['sort']((_0x2b4f43,_0xc0a644)=>{const _0x592d67=_0x24505f;let _0x26d9aa=_0x2b4f43[_0x592d67(0x240)][_0x592d67(0x16a)](_0xc0a644[_0x592d67(0x240)]);return _0x334991==='desc'?-_0x26d9aa:_0x26d9aa;}),_0x53a5c4['map'](_0x292866=>({'key':_0x292866['key'],'value':_0x292866[_0x24505f(0x30a)],'path':_0x292866[_0x24505f(0x2b3)],'label':_0x292866[_0x24505f(0x15c)],'fieldId':_0x292866[_0x24505f(0x409)],'level':_0x292866[_0x24505f(0x2df)],'recordIds':_0x292866[_0x24505f(0x32d)],'children':this[_0x24505f(0x285)](_0x20af81,_0x292866[_0x24505f(0x2cb)],_0x3404f3+0x1)}));}[_0x3401ce(0x369)](_0x12fec6,_0xa81a90,_0x25a706){const _0x4bc252=_0x3401ce;let _0x249263=_0x25a706==null?_0x12fec6[_0x4bc252(0x346)]:_0x25a706,_0x42fea5=_0xa81a90['values'][_0x249263];return _0x42fea5==null?'':String(_0x42fea5);}[_0x3401ce(0x227)](_0x4fd15c){const _0x2a3a3c=_0x3401ce;if(Array[_0x2a3a3c(0x23e)](_0x4fd15c))return _0x4fd15c[_0x2a3a3c(0x1d3)](String);if(typeof _0x4fd15c=='string'&&_0x4fd15c)return[_0x4fd15c];}[_0x3401ce(0x324)](_0x586599){const _0xa88739=_0x3401ce;return this[_0xa88739(0x3f3)][_0xa88739(0x192)](_0x586599[_0xa88739(0x1b1)])[_0xa88739(0x237)](_0x586599);}};sn=U([H(0x0,_0x501764(z))],sn);function cn(_0x339650){return _0x339650==null?'':String(_0x339650);}function ln(_0x949e88){const _0x369b42=_0x3401ce;return new Map(_0x949e88[_0x369b42(0x1d3)]((_0x161b68,_0x374c81)=>[_0x161b68[_0x369b42(0x163)],_0x374c81]));}function un(_0x269cfd){const _0xd5ea4d=_0x3401ce;return!!(Array['isArray'](_0x269cfd['recordOrder'])&&_0x269cfd[_0xd5ea4d(0x1dd)]&&_0x269cfd[_0xd5ea4d(0x21e)]&&_0x269cfd[_0xd5ea4d(0x3e6)]&&_0x269cfd[_0xd5ea4d(0x359)]&&_0x269cfd[_0xd5ea4d(0x29d)]);}function dn(_0x2a3be3){const _0x32f1fb=_0x3401ce;return _0x2a3be3!=null&&_0x2a3be3[_0x32f1fb(0x298)][_0x32f1fb(0x2b1)]?{'conjunction':_0x2a3be3[_0x32f1fb(0x33b)],'conditions':_0x2a3be3[_0x32f1fb(0x298)][_0x32f1fb(0x1d3)](_0x5d931b=>({'fieldId':_0x5d931b['fieldId'],'operator':_0x5d931b[_0x32f1fb(0x3a1)],'operand':_0x5d931b['operand']}))}:null;}function fn(_0x188b37){const _0x1c1961=_0x3401ce;return _0x188b37!=null&&_0x188b37[_0x1c1961(0x2b1)]?_0x188b37[_0x1c1961(0x1d3)](_0xad16d9=>({'fieldId':_0xad16d9['fieldId'],'direction':_0xad16d9[_0x1c1961(0x2cc)]})):null;}function pn(_0x50031d){const _0x1d1b50=_0x3401ce;if(typeof _0x50031d!=_0x1d1b50(0x331)||!_0x50031d){var _0x2d19b0;return(_0x2d19b0=JSON[_0x1d1b50(0x2e9)](_0x50031d))==null?'undefined':_0x2d19b0;}if(Array['isArray'](_0x50031d))return'['+_0x50031d[_0x1d1b50(0x1d3)](pn)[_0x1d1b50(0x1dc)](',')+']';let _0x11e144=_0x50031d;return'{'+Object[_0x1d1b50(0x2fe)](_0x11e144)[_0x1d1b50(0x22f)]()[_0x1d1b50(0x1d3)](_0xce1b95=>JSON['stringify'](_0xce1b95)+':'+pn(_0x11e144[_0xce1b95]))[_0x1d1b50(0x1dc)](',')+'}';}const G=0x5a0*0x3c*0x3e8;function mn(_0x468f08){const _0x2ab3b0=_0x3401ce;return{'weekdays':Array['isArray'](_0x468f08==null?void 0x0:_0x468f08[_0x2ab3b0(0x301)])&&_0x468f08[_0x2ab3b0(0x301)][_0x2ab3b0(0x2b1)]?[...new Set(_0x468f08[_0x2ab3b0(0x301)][_0x2ab3b0(0x2db)](_0x325e88=>Number[_0x2ab3b0(0x20c)](_0x325e88)&&_0x325e88>=0x1&&_0x325e88<=0x7))]:[0x1,0x2,0x3,0x4,0x5],'exceptions':Array[_0x2ab3b0(0x23e)](_0x468f08==null?void 0x0:_0x468f08[_0x2ab3b0(0x312)])?_0x468f08[_0x2ab3b0(0x312)][_0x2ab3b0(0x278)](_0x37f100=>!_0x37f100||!Number[_0x2ab3b0(0x2fd)](_0x37f100[_0x2ab3b0(0x177)])?[]:[{'id':String(_0x37f100['id']||_0x2ab3b0(0x1bd)+_0x37f100['date']),'date':K(Number(_0x37f100['date'])),'name':String(_0x37f100[_0x2ab3b0(0x1fe)]||_0x2ab3b0(0x3e4)),'type':_0x37f100[_0x2ab3b0(0x1b1)]==='working'?_0x2ab3b0(0x2a2):_0x2ab3b0(0x308)}]):[]};}function hn(_0x59d344,_0x196e89,_0x334e75,_0x3f4607){let _0x529ea3=yn(_0x59d344,_0x196e89),_0x4c8186=bn(_0x59d344,_0x334e75),_0x5243c6=gn(_0x59d344,_0x529ea3,_0x4c8186,_0x3f4607);return{'scale':_0x59d344,'start':_0x529ea3,'end':_0x4c8186,'unitWidth':vn(_0x59d344),'majorHeaders':_n(_0x59d344,_0x529ea3,_0x4c8186),'columns':_0x5243c6};}function gn(_0x294af5,_0x48ab7a,_0x93f7df,_0x32115a){const _0x585ff2=_0x3401ce;let _0x4b58d4=[],_0x1d8f9c=_0x48ab7a;for(;_0x1d8f9c<_0x93f7df;){let _0x514255=_0x294af5===_0x585ff2(0x16d)?q(_0x1d8f9c,0x7):_0x294af5===_0x585ff2(0x28d)?kn(_0x1d8f9c,0x1):q(_0x1d8f9c,0x1);_0x4b58d4[_0x585ff2(0x2b5)]({'id':_0x294af5+'-'+_0x1d8f9c,'label':xn(_0x294af5,_0x1d8f9c,_0x514255),'majorLabel':Sn(_0x294af5,_0x1d8f9c),'start':_0x1d8f9c,'end':_0x514255,'nonWorking':wn(_0x1d8f9c,_0x514255,_0x32115a)}),_0x1d8f9c=_0x514255;}return _0x4b58d4;}function _n(_0xa46b4d,_0x142c8f,_0x16b5f2){const _0x569b26=_0x3401ce;let _0x4230e6=[],_0x3a4911=_0xa46b4d===_0x569b26(0x28d)?On(_0x142c8f):Dn(_0x142c8f);for(;_0x3a4911<_0x16b5f2;){let _0x4fb6c5=_0xa46b4d===_0x569b26(0x28d)?An(_0x3a4911,0x1):kn(_0x3a4911,0x1);_0x4230e6[_0x569b26(0x2b5)]({'id':_0x569b26(0x39b)+_0x3a4911,'label':_0xa46b4d==='year'?String(new Date(_0x3a4911)[_0x569b26(0x2d0)]()):jn(_0x3a4911),'start':_0x3a4911,'end':_0x4fb6c5}),_0x3a4911=_0x4fb6c5;}return _0x4230e6;}function vn(_0x2c22ce){const _0xff014d=_0x3401ce;switch(_0x2c22ce){case'week':return 0xac;case _0xff014d(0x16d):return 0xac;case'year':return 0x88;default:return 0x56;}}function yn(_0x4ff30c,_0x35f5ec){return _0x4ff30c==='year'?On(_0x35f5ec):_0x4ff30c==='quarter'?En(_0x35f5ec):K(_0x35f5ec);}function bn(_0x4c1467,_0x51c5b9){const _0x36cc55=_0x3401ce;return _0x4c1467===_0x36cc55(0x28d)?An(On(_0x51c5b9),0x1):_0x4c1467===_0x36cc55(0x16d)?q(En(_0x51c5b9),0x7):q(K(_0x51c5b9),0x1);}function xn(_0x2d2e2d,_0x4e1b3d,_0x3d47d6){const _0x38220c=_0x3401ce;let _0x219ce1=new Date(_0x4e1b3d);return _0x2d2e2d==='quarter'?_0x219ce1['getUTCDate']()+'-'+new Date(_0x3d47d6-G)[_0x38220c(0x277)]():_0x2d2e2d===_0x38220c(0x28d)?_0x219ce1[_0x38220c(0x35e)](_0x38220c(0x377),{'month':_0x38220c(0x29b),'timeZone':'UTC'}):String(_0x219ce1[_0x38220c(0x277)]());}function Sn(_0x5c75b9,_0x5f8d33){const _0x2adde4=_0x3401ce;return _0x5c75b9===_0x2adde4(0x28d)?String(new Date(_0x5f8d33)['getUTCFullYear']()):jn(_0x5f8d33);}function Cn(_0x3702ae,_0x56524d,_0x321cc0){let _0x5eeb77=mn(_0x321cc0),_0x5a845a=0x0;for(let _0x2be951=K(_0x3702ae);_0x2be951<=K(_0x56524d);_0x2be951=q(_0x2be951,0x1))Tn(_0x2be951,_0x5eeb77)||_0x5a845a++;return _0x5a845a;}function wn(_0x24d40a,_0x204137,_0x46bb56){if(!_0x46bb56)return!0x1;let _0x3aeabc=mn(_0x46bb56);for(let _0x79eab4=K(_0x24d40a);_0x79eab4<_0x204137;_0x79eab4=q(_0x79eab4,0x1))if(!Tn(_0x79eab4,_0x3aeabc))return!0x1;return!0x0;}function Tn(_0x4888ea,_0x213593){const _0x52fc8b=_0x3401ce;let _0x594259=K(_0x4888ea),_0x1fac72=_0x213593[_0x52fc8b(0x312)][_0x52fc8b(0x387)](_0x26dbbf=>K(_0x26dbbf['date'])===_0x594259);if(_0x1fac72)return _0x1fac72[_0x52fc8b(0x1b1)]===_0x52fc8b(0x308);let _0x3ef6da=new Date(_0x594259)[_0x52fc8b(0x329)](),_0xeca125=_0x3ef6da===0x0?0x7:_0x3ef6da;return!_0x213593['weekdays'][_0x52fc8b(0x37e)](_0xeca125);}function K(_0x9a6306){const _0x54b704=_0x3401ce;let _0x594dd5=new Date(_0x9a6306);return Date[_0x54b704(0x3b6)](_0x594dd5[_0x54b704(0x2d0)](),_0x594dd5[_0x54b704(0x21c)](),_0x594dd5[_0x54b704(0x277)]());}function En(_0x4dd674){const _0x1fefdf=_0x3401ce;let _0x23d13b=K(_0x4dd674),_0xb310f6=new Date(_0x23d13b)[_0x1fefdf(0x329)]();return q(_0x23d13b,-(_0xb310f6===0x0?0x6:_0xb310f6-0x1));}function Dn(_0xbc4ecc){const _0x128cbb=_0x3401ce;let _0x18fa4f=new Date(_0xbc4ecc);return Date[_0x128cbb(0x3b6)](_0x18fa4f['getUTCFullYear'](),_0x18fa4f[_0x128cbb(0x21c)](),0x1);}function On(_0x1df41e){const _0x238d9b=_0x3401ce;let _0x104951=new Date(_0x1df41e);return Date[_0x238d9b(0x3b6)](_0x104951['getUTCFullYear'](),0x0,0x1);}function q(_0x239832,_0x1261b3){return _0x239832+_0x1261b3*G;}function kn(_0x38e858,_0xbe32f7){const _0x1192a8=_0x3401ce;let _0x15b639=new Date(_0x38e858);return Date[_0x1192a8(0x3b6)](_0x15b639[_0x1192a8(0x2d0)](),_0x15b639[_0x1192a8(0x21c)]()+_0xbe32f7,0x1);}function An(_0x1a81a0,_0x7adae7){let _0x53f5b=new Date(_0x1a81a0);return Date['UTC'](_0x53f5b['getUTCFullYear']()+_0x7adae7,0x0,0x1);}function jn(_0x41581f){const _0x536849=_0x3401ce;let _0x3831d5=new Date(_0x41581f);return _0x3831d5[_0x536849(0x35e)](_0x536849(0x377),{'month':_0x536849(0x29b),'timeZone':_0x536849(0x3b6)})+'\x20'+_0x3831d5['getUTCFullYear']();}function Mn(_0x5e1d20,_0x4ccdc0){const _0x4879c0=_0x3401ce;if(_0x5e1d20==null&&_0x4ccdc0==null)return 0x0;if(_0x5e1d20==null)return-0x1;if(_0x4ccdc0==null)return 0x1;if(typeof _0x5e1d20==_0x4879c0(0x2b2)||typeof _0x4ccdc0=='boolean')return Number(_0x5e1d20===!0x0)-Number(_0x4ccdc0===!0x0);let _0x3e6b27=Number(_0x5e1d20),_0x55c0e9=Number(_0x4ccdc0),_0x30ede4=Number[_0x4879c0(0x2fd)](_0x3e6b27),_0x5122a6=Number['isFinite'](_0x55c0e9);return _0x30ede4&&_0x5122a6?_0x3e6b27-_0x55c0e9:_0x30ede4?0x1:_0x5122a6?-0x1:String(_0x5e1d20)[_0x4879c0(0x16a)](String(_0x4ccdc0));}function Nn(_0x35727c){const _0x56b840=_0x3401ce;if(_0x35727c['operator']!=='is'&&_0x35727c[_0x56b840(0x3a1)]!==_0x56b840(0x2e6))return!0x1;let _0x58fd66=_0x35727c[_0x56b840(0x398)];return _0x58fd66==null?!0x0:typeof _0x58fd66==_0x56b840(0x3f7)?_0x58fd66[_0x56b840(0x297)]()==='':Array['isArray'](_0x58fd66)?_0x58fd66[_0x56b840(0x2b1)]===0x0:!0x1;}function J(_0x5036e6,_0x4a574b){const _0x56595d=_0x3401ce;var _0x4cd61f;let _0x36ad65=Array[_0x56595d(0x23e)]((_0x4cd61f=_0x5036e6[_0x56595d(0x3cb)])==null?void 0x0:_0x4cd61f['options'])?_0x5036e6['config'][_0x56595d(0x29e)]:[];for(let _0xe6d069 of _0x36ad65){var _0x1d39f0,_0xbf1038,_0x2ebb1f,_0x381ad8;if(_0xe6d069==null)continue;if(typeof _0xe6d069==_0x56595d(0x3f7)){if(_0xe6d069===_0x4a574b)return{'id':_0xe6d069,'name':_0xe6d069};continue;}let _0x274451=_0xe6d069,_0x703a67=String((_0x1d39f0=(_0xbf1038=_0x274451['id'])==null?_0x274451[_0x56595d(0x1fe)]:_0xbf1038)==null?'':_0x1d39f0),_0x3533a4=String((_0x2ebb1f=(_0x381ad8=_0x274451[_0x56595d(0x1fe)])==null?_0x274451['id']:_0x381ad8)==null?_0x703a67:_0x2ebb1f);if(_0x703a67===_0x4a574b||_0x3533a4===_0x4a574b)return{'id':_0x703a67,'name':_0x3533a4,'color':_0x274451[_0x56595d(0x257)]==null?void 0x0:String(_0x274451['color'])};}return null;}const Y={'id':_0x3401ce(0x2f4),'type':_0x33ec1c['MUTATION'],'handler'(_0x4c16ef,_0x408647){const _0x50535d=_0x3401ce;let {unitId:_0x4e4261,op:_0x4b309b}=_0x408647,_0x32d999=_0x4c16ef[_0x50535d(0x192)](_0x594baa)['getUnit'](_0x4e4261,_0x28d586['UNIVER_BASE']);if(!_0x32d999)return!0x1;let _0x3bb81c=_0x32d999[_0x50535d(0x327)](),_0x5e6aea=new D(),_0x1e4b2e=_0x5e6aea[_0x50535d(0x19a)](_0x4b309b),_0x260338=_0x5e6aea['applyOp'](_0x3bb81c,_0x4b309b);return _0x32d999[_0x50535d(0x1c3)](_0x260338),Pn(_0x260338,_0x1e4b2e,_0x4c16ef[_0x50535d(0x192)](an)),!0x0;}};function Pn(_0x373574,_0x26ea66,_0x565532){const _0xbc4878=_0x3401ce;let _0x2fc223=new Set();for(let _0x5a665a of _0x26ea66){if(_0x5a665a[_0xbc4878(0x35d)]!==_0xbc4878(0x3ad)){_0x565532[_0xbc4878(0x31d)]();return;}let _0xa466c5=Fn(_0x373574,_0x5a665a);if(!_0xa466c5){_0x565532['invalidateByOp']();return;}let _0x4641d3=_0xa466c5['tableId']+'\x00'+_0xa466c5[_0xbc4878(0x163)]+'\x00'+_0xa466c5[_0xbc4878(0x409)];_0x2fc223[_0xbc4878(0x356)](_0x4641d3)||(_0x2fc223[_0xbc4878(0x221)](_0x4641d3),_0x565532[_0xbc4878(0x162)](_0xa466c5[_0xbc4878(0x18a)],_0xa466c5[_0xbc4878(0x163)],_0xa466c5[_0xbc4878(0x409)]));}}function Fn(_0x20fff8,_0x53e8f2){const _0x8943d5=_0x3401ce;var _0x332c1c,_0x13587f;if(!_0x53e8f2[_0x8943d5(0x18a)])return null;if(_0x53e8f2[_0x8943d5(0x163)]&&_0x53e8f2[_0x8943d5(0x409)])return{'tableId':_0x53e8f2['tableId'],'recordId':_0x53e8f2[_0x8943d5(0x163)],'fieldId':_0x53e8f2[_0x8943d5(0x409)]};if(_0x53e8f2['row']==null||_0x53e8f2['column']==null)return null;let _0x5dcb31=_0x20fff8[_0x8943d5(0x391)][_0x53e8f2['tableId']],_0x488634=_0x5dcb31==null||(_0x332c1c=_0x5dcb31[_0x8943d5(0x21e)])==null?void 0x0:_0x332c1c[_0x53e8f2[_0x8943d5(0x2d5)]],_0xcc24fa=_0x5dcb31==null||(_0x13587f=_0x5dcb31[_0x8943d5(0x359)])==null?void 0x0:_0x13587f[_0x53e8f2[_0x8943d5(0x311)]];return!_0x488634||!_0xcc24fa?null:{'tableId':_0x53e8f2[_0x8943d5(0x18a)],'recordId':_0x488634,'fieldId':_0xcc24fa};}const In={'id':'base.command.batch-create-base-records','type':_0x33ec1c[_0x3401ce(0x27c)],'handler'(_0x4f24ab,_0x1318e7){const _0x2fd209=_0x3401ce;if(!_0x1318e7)return!0x1;let _0x580cf4=_0x4f24ab['get'](_0x594baa),{unitId:_0x35f5b1,tableId:_0xfac1f9,records:_0x3d837f}=_0x1318e7,_0x133bb4=_0x580cf4[_0x2fd209(0x399)](_0x35f5b1,_0x28d586['UNIVER_BASE']);if(!_0x133bb4)return!0x1;let _0x68acf0=_0x4f24ab[_0x2fd209(0x192)](_0x27a4ab),_0x112103=_0x4f24ab['get'](_0x595044),_0x18c867=_0x4f24ab['get'](W)[_0x2fd209(0x2c7)](_0x133bb4,_0xfac1f9,_0x3d837f),_0x3df985=new D()[_0x2fd209(0x3ee)](_0x133bb4[_0x2fd209(0x327)](),_0x18c867),_0xc14b84={'unitId':_0x35f5b1,'op':_0x18c867},_0x52f54a={'unitId':_0x35f5b1,'op':_0x3df985};return _0x68acf0[_0x2fd209(0x1e9)](Y['id'],_0xc14b84)?(_0x580cf4['focusUnit'](_0x35f5b1),_0x112103[_0x2fd209(0x23f)]({'unitID':_0x35f5b1,'undoMutations':[{'id':Y['id'],'params':_0x52f54a}],'redoMutations':[{'id':Y['id'],'params':_0xc14b84}]}),!0x0):!0x1;}},Ln={'id':_0x3401ce(0x372),'type':_0x33ec1c['COMMAND'],'handler':(_0x529109,_0x12aa75)=>{const _0x12f6c9=_0x3401ce;if(!_0x12aa75)return!0x1;let _0x30d6a4=_0x529109[_0x12f6c9(0x192)](_0x594baa),{unitId:_0x49ddde,tableId:_0x187d61,recordIds:_0x8ad109}=_0x12aa75,_0x5bb11f=_0x30d6a4[_0x12f6c9(0x399)](_0x49ddde,_0x28d586[_0x12f6c9(0x3ec)]);if(!_0x5bb11f)return!0x1;let _0x2698b8=_0x529109[_0x12f6c9(0x192)](_0x27a4ab),_0x35b110=_0x529109[_0x12f6c9(0x192)](_0x595044),_0x3bee83=_0x5bb11f[_0x12f6c9(0x327)](),_0x1c97e5=new I()[_0x12f6c9(0x3b9)](_0x3bee83,_0x187d61,_0x8ad109),_0x4d7a09=new D()[_0x12f6c9(0x3ee)](_0x3bee83,_0x1c97e5),_0x505de6={'unitId':_0x49ddde,'op':_0x1c97e5},_0x3f4937={'unitId':_0x49ddde,'op':_0x4d7a09};return _0x2698b8[_0x12f6c9(0x1e9)](Y['id'],_0x505de6)?(_0x30d6a4[_0x12f6c9(0x2e8)](_0x49ddde),_0x35b110[_0x12f6c9(0x23f)]({'unitID':_0x49ddde,'undoMutations':[{'id':Y['id'],'params':_0x3f4937}],'redoMutations':[{'id':Y['id'],'params':_0x505de6}]}),!0x0):!0x1;}},Rn={'id':_0x3401ce(0x332),'type':_0x33ec1c[_0x3401ce(0x27c)],'handler':(_0x2fc8d0,_0x2c3612)=>{const _0x39f531=_0x3401ce;if(!_0x2c3612)return!0x1;let _0x4c8104=_0x2fc8d0[_0x39f531(0x192)](_0x594baa),{unitId:_0x22611c,tableId:_0x1726a6,fieldId:_0x157e20,input:_0x1f776b}=_0x2c3612,_0x46b917=_0x4c8104[_0x39f531(0x399)](_0x22611c,_0x28d586[_0x39f531(0x3ec)]);if(!_0x46b917)return!0x1;let _0x5dc727=_0x2fc8d0[_0x39f531(0x192)](_0x27a4ab),_0x4d328e=_0x2fc8d0[_0x39f531(0x192)](_0x595044),_0x12836a=_0x46b917[_0x39f531(0x327)](),_0x3ca37d=new I()[_0x39f531(0x193)](_0x12836a,_0x1726a6,_0x157e20,_0x1f776b),_0x37b413=new D()[_0x39f531(0x3ee)](_0x12836a,_0x3ca37d),_0x56fd64={'unitId':_0x22611c,'op':_0x3ca37d},_0x1d29b4={'unitId':_0x22611c,'op':_0x37b413};return _0x5dc727[_0x39f531(0x1e9)](Y['id'],_0x56fd64)?(_0x4c8104['focusUnit'](_0x22611c),_0x4d328e[_0x39f531(0x23f)]({'unitID':_0x22611c,'undoMutations':[{'id':Y['id'],'params':_0x1d29b4}],'redoMutations':[{'id':Y['id'],'params':_0x56fd64}]}),!0x0):!0x1;}},zn={'id':_0x3401ce(0x1c2),'type':_0x33ec1c['COMMAND'],'handler'(_0x411cce,_0x11bf8c){const _0x32b28f=_0x3401ce;if(!_0x11bf8c)return!0x1;let _0x2b58b5=_0x411cce['get'](_0x594baa),{unitId:_0x2645f6,tableId:_0x4699b7,field:_0x4232f1,index:_0x2d5521,viewIndexes:_0xb5724e}=_0x11bf8c,_0x58fb9d=_0x2b58b5[_0x32b28f(0x399)](_0x2645f6,_0x28d586['UNIVER_BASE']);if(!_0x58fb9d)return!0x1;let _0x53e143=_0x411cce['get'](_0x27a4ab),_0x569500=_0x411cce[_0x32b28f(0x192)](_0x595044),_0x4a84b2=_0x411cce['get'](W)['createCreateFieldOp'](_0x58fb9d,_0x4699b7,_0x4232f1,_0x2d5521,_0xb5724e),_0x200b5b=new D()[_0x32b28f(0x3ee)](_0x58fb9d[_0x32b28f(0x327)](),_0x4a84b2),_0x2c10e7={'unitId':_0x2645f6,'op':_0x4a84b2},_0x25d1d1={'unitId':_0x2645f6,'op':_0x200b5b};return _0x53e143[_0x32b28f(0x1e9)](Y['id'],_0x2c10e7)?(_0x2b58b5['focusUnit'](_0x2645f6),_0x569500[_0x32b28f(0x23f)]({'unitID':_0x2645f6,'undoMutations':[{'id':Y['id'],'params':_0x25d1d1}],'redoMutations':[{'id':Y['id'],'params':_0x2c10e7}]}),!0x0):!0x1;}},Bn={'id':_0x3401ce(0x31a),'type':_0x33ec1c[_0x3401ce(0x27c)],'handler'(_0x4a81df,_0x5d84fe){const _0x16dff6=_0x3401ce;if(!_0x5d84fe)return!0x1;let _0xa100e6=_0x4a81df[_0x16dff6(0x192)](_0x594baa),{unitId:_0x3cab8c,tableId:_0x4dc754,record:_0x5c877e}=_0x5d84fe,_0x271e80=_0xa100e6[_0x16dff6(0x399)](_0x3cab8c,_0x28d586[_0x16dff6(0x3ec)]);if(!_0x271e80)return!0x1;let _0x5183fa=_0x4a81df[_0x16dff6(0x192)](_0x27a4ab),_0x2f035c=_0x4a81df[_0x16dff6(0x192)](_0x595044),_0x469b9c=_0x4a81df[_0x16dff6(0x192)](W)[_0x16dff6(0x195)](_0x271e80,_0x4dc754,_0x5c877e),_0x45654=new D()['invertOp'](_0x271e80[_0x16dff6(0x327)](),_0x469b9c),_0x2cfe03={'unitId':_0x3cab8c,'op':_0x469b9c},_0xde2ef9={'unitId':_0x3cab8c,'op':_0x45654};return _0x5183fa[_0x16dff6(0x1e9)](Y['id'],_0x2cfe03)?(_0xa100e6['focusUnit'](_0x3cab8c),_0x2f035c[_0x16dff6(0x23f)]({'unitID':_0x3cab8c,'undoMutations':[{'id':Y['id'],'params':_0xde2ef9}],'redoMutations':[{'id':Y['id'],'params':_0x2cfe03}]}),!0x0):!0x1;}},Vn={'id':_0x3401ce(0x30c),'type':_0x33ec1c['COMMAND'],'handler':(_0x3a4a09,_0x30fb37)=>{const _0x35c9a3=_0x3401ce;if(!_0x30fb37)return!0x1;let _0x49715c=_0x3a4a09[_0x35c9a3(0x192)](_0x594baa),{unitId:_0x4e1c6e,table:_0x2dca67,index:_0x50d216}=_0x30fb37,_0x4f9ca=_0x49715c['getUnit'](_0x4e1c6e,_0x28d586['UNIVER_BASE']);if(!_0x4f9ca)return!0x1;let _0x579222=_0x3a4a09[_0x35c9a3(0x192)](_0x27a4ab),_0xd95929=_0x3a4a09[_0x35c9a3(0x192)](_0x595044),_0x18584f=_0x4f9ca[_0x35c9a3(0x327)](),_0x2c9c5c=new I()[_0x35c9a3(0x3a2)](_0x18584f,_0x2dca67,_0x50d216),_0x332613=new D()[_0x35c9a3(0x3ee)](_0x18584f,_0x2c9c5c),_0x310ae2={'unitId':_0x4e1c6e,'op':_0x2c9c5c},_0x2fd896={'unitId':_0x4e1c6e,'op':_0x332613};return _0x579222[_0x35c9a3(0x1e9)](Y['id'],_0x310ae2)?(_0x49715c['focusUnit'](_0x4e1c6e),_0xd95929[_0x35c9a3(0x23f)]({'unitID':_0x4e1c6e,'undoMutations':[{'id':Y['id'],'params':_0x2fd896}],'redoMutations':[{'id':Y['id'],'params':_0x310ae2}]}),!0x0):!0x1;}};function Hn(_0x407cc1,_0x2a0044,_0x9b75b5=[]){const _0x360527=_0x3401ce;let _0x37e5cd=new Set([...Object[_0x360527(0x288)](_0x407cc1[_0x360527(0x204)])[_0x360527(0x2db)](_0x2c5982=>_0x2c5982&&!_0x2c5982['deleted'])[_0x360527(0x1d3)](_0x447379=>_0x447379[_0x360527(0x1fe)]),..._0x9b75b5[_0x360527(0x1d3)](_0x478c56=>_0x478c56[_0x360527(0x1fe)])]);if(!_0x37e5cd[_0x360527(0x356)](_0x2a0044))return _0x2a0044;let _0x38d1d8=0x2;for(;_0x37e5cd[_0x360527(0x356)](_0x2a0044+'\x20'+_0x38d1d8);)_0x38d1d8++;return _0x2a0044+'\x20'+_0x38d1d8;}function Un(_0xf4c527,_0x19973c){const _0x5ed214=_0x3401ce;if(!_0xf4c527||!_0x19973c['length'])return;let _0x23398e=[..._0xf4c527];return _0x19973c[_0x5ed214(0x3f4)](_0x59347e=>{const _0x30a7b7=_0x5ed214;_0x23398e[_0x30a7b7(0x37e)](_0x59347e)||_0x23398e[_0x30a7b7(0x2b5)](_0x59347e);}),_0x23398e;}const Wn={'options':[{'id':_0x3401ce(0x351),'name':_0x3401ce(0x316),'color':'#BFDBFE'},{'id':_0x3401ce(0x1c6),'name':_0x3401ce(0x289),'color':_0x3401ce(0x274)},{'id':_0x3401ce(0x22c),'name':_0x3401ce(0x39f),'color':_0x3401ce(0x235)}]},Gn={'locale':'en-US','pattern':_0x3401ce(0x3bf),'includeTime':!0x1,'hourCycle':'h24','defaultMode':_0x3401ce(0x17b)};function Kn(_0x4fcb23,_0x1fd973,_0x24f376,_0x193023){const _0x5b2743=_0x3401ce;var _0x5c609d;let _0x4973a2=new I(),_0x5d61fe=_0x4fcb23[_0x5b2743(0x391)][_0x1fd973];if(_0x5d61fe&&_0x24f376[_0x5b2743(0x1b1)]===_0x5b2743(0x230)){var _0x12c980;let _0x317ce4=Jn(_0x5d61fe,_0x24f376),_0x2956d9=_0x317ce4[_0x5b2743(0x27a)]?{..._0x24f376,'config':_0x317ce4['config'],'fieldOrder':(_0x12c980=_0x317ce4[_0x5b2743(0x264)])==null?_0x24f376[_0x5b2743(0x264)]:_0x12c980}:_0x24f376;return F([..._0x317ce4[_0x5b2743(0x204)][_0x5b2743(0x1d3)](_0x3e3a62=>_0x4973a2['createField'](_0x4fcb23,_0x1fd973,{'field':_0x3e3a62})),_0x4973a2[_0x5b2743(0x397)](_0x4fcb23,_0x1fd973,_0x2956d9,_0x193023)]);}if(!_0x5d61fe||_0x24f376[_0x5b2743(0x1b1)]!=='calendar'&&_0x24f376[_0x5b2743(0x1b1)]!==_0x5b2743(0x34e))return _0x4973a2['createView'](_0x4fcb23,_0x1fd973,_0x24f376,_0x193023);let _0x79a8c4=qn(_0x5d61fe,_0x24f376),_0x3ba4e0=_0x79a8c4[_0x5b2743(0x27a)]?{..._0x24f376,'config':_0x79a8c4[_0x5b2743(0x3cb)],'fieldOrder':(_0x5c609d=_0x79a8c4[_0x5b2743(0x264)])==null?_0x24f376[_0x5b2743(0x264)]:_0x5c609d}:_0x24f376;return _0x24f376[_0x5b2743(0x1b1)]===_0x5b2743(0x34e)&&Zn(_0x24f376)&&(_0x3ba4e0=Qn(_0x5d61fe,_0x3ba4e0,_0x79a8c4[_0x5b2743(0x204)])),F([..._0x79a8c4[_0x5b2743(0x204)][_0x5b2743(0x1d3)](_0x2c8ca9=>_0x4973a2[_0x5b2743(0x179)](_0x4fcb23,_0x1fd973,{'field':_0x2c8ca9})),_0x4973a2[_0x5b2743(0x397)](_0x4fcb23,_0x1fd973,_0x3ba4e0,_0x193023)]);}function qn(_0x34b06c,_0x30cdb8,_0x3b88af=!0x1){const _0x4ed61a=_0x3401ce;var _0x58b611,_0x268caa,_0x266837,_0x879eb3;let _0x401e99=_0x34b06c[_0x4ed61a(0x264)][_0x4ed61a(0x2db)](_0x5365d2=>er(_0x34b06c,_0x5365d2)),_0x3ed6cc=[],_0x46a1db={...(_0x58b611=_0x30cdb8[_0x4ed61a(0x3cb)])==null?{}:_0x58b611},_0x3e1bb7=typeof _0x46a1db[_0x4ed61a(0x251)]=='string'&&er(_0x34b06c,_0x46a1db[_0x4ed61a(0x251)])?_0x46a1db[_0x4ed61a(0x251)]:_0x401e99[0x0],_0x187e11=typeof _0x46a1db[_0x4ed61a(0x21f)]=='string'&&er(_0x34b06c,_0x46a1db[_0x4ed61a(0x21f)])&&_0x46a1db[_0x4ed61a(0x21f)]!==_0x3e1bb7?_0x46a1db[_0x4ed61a(0x21f)]:_0x401e99[_0x4ed61a(0x387)](_0x46da09=>_0x46da09!==_0x3e1bb7);if(!_0x3e1bb7){let _0x246b12=tr(_0x34b06c,_0x3ed6cc,_0x30cdb8[_0x4ed61a(0x1b1)]===_0x4ed61a(0x34e)?_0x4ed61a(0x36e):_0x4ed61a(0x24e));_0x3ed6cc[_0x4ed61a(0x2b5)](_0x246b12),_0x3e1bb7=_0x246b12['id'];}if((_0x30cdb8[_0x4ed61a(0x1b1)]===_0x4ed61a(0x34e)||_0x3b88af)&&!_0x187e11){let _0x1ee59b=tr(_0x34b06c,_0x3ed6cc,_0x4ed61a(0x22a));_0x3ed6cc[_0x4ed61a(0x2b5)](_0x1ee59b),_0x187e11=_0x1ee59b['id'];}if(_0x30cdb8['type']===_0x4ed61a(0x281)&&!_0x187e11&&delete _0x46a1db[_0x4ed61a(0x21f)],_0x46a1db['startDateFieldId']=_0x3e1bb7,_0x30cdb8[_0x4ed61a(0x1b1)]===_0x4ed61a(0x281)&&_0x187e11&&(_0x46a1db[_0x4ed61a(0x21f)]=_0x187e11),_0x30cdb8['type']===_0x4ed61a(0x34e)){var _0x4db9df;_0x46a1db[_0x4ed61a(0x21f)]=(_0x4db9df=_0x187e11)==null?_0x3e1bb7:_0x4db9df;}let _0x5ec8fe=Un(_0x30cdb8[_0x4ed61a(0x264)],_0x3ed6cc[_0x4ed61a(0x1d3)](_0xbec9fc=>_0xbec9fc['id']));return{'changed':_0x3ed6cc[_0x4ed61a(0x2b1)]>0x0||_0x46a1db[_0x4ed61a(0x251)]!==((_0x268caa=_0x30cdb8[_0x4ed61a(0x3cb)])==null?void 0x0:_0x268caa['startDateFieldId'])||_0x46a1db[_0x4ed61a(0x21f)]!==((_0x266837=_0x30cdb8[_0x4ed61a(0x3cb)])==null?void 0x0:_0x266837['endDateFieldId'])||!!(_0x5ec8fe&&!_0x2c5b3b[_0x4ed61a(0x2ad)](_0x5ec8fe,(_0x879eb3=_0x30cdb8[_0x4ed61a(0x264)])==null?[]:_0x879eb3)),'fields':_0x3ed6cc,'config':_0x46a1db,'fieldOrder':_0x5ec8fe};}function Jn(_0x1551ec,_0x24c8c5){const _0x53fe7b=_0x3401ce;var _0x138d9f,_0x2a55fd,_0x68fd84;let _0x59bccc=[],_0x1f9637={...(_0x138d9f=_0x24c8c5[_0x53fe7b(0x3cb)])==null?{}:_0x138d9f},_0xcf67b6=typeof _0x1f9637[_0x53fe7b(0x17c)]=='string'&&Yn(_0x1551ec,_0x1f9637[_0x53fe7b(0x17c)])?_0x1f9637[_0x53fe7b(0x17c)]:_0x1551ec[_0x53fe7b(0x264)]['find'](_0x1ebb6f=>Yn(_0x1551ec,_0x1ebb6f));if(!_0xcf67b6){let _0x44e8fd=Xn(_0x1551ec,_0x59bccc);_0x59bccc[_0x53fe7b(0x2b5)](_0x44e8fd),_0xcf67b6=_0x44e8fd['id'];}_0x1f9637[_0x53fe7b(0x17c)]=_0xcf67b6;let _0x39c067=Un(_0x24c8c5[_0x53fe7b(0x264)],_0x59bccc[_0x53fe7b(0x1d3)](_0x4628fc=>_0x4628fc['id']));return{'changed':_0x59bccc[_0x53fe7b(0x2b1)]>0x0||_0x1f9637[_0x53fe7b(0x17c)]!==((_0x2a55fd=_0x24c8c5[_0x53fe7b(0x3cb)])==null?void 0x0:_0x2a55fd['groupFieldId'])||!!(_0x39c067&&!_0x2c5b3b[_0x53fe7b(0x2ad)](_0x39c067,(_0x68fd84=_0x24c8c5[_0x53fe7b(0x264)])==null?[]:_0x68fd84)),'fields':_0x59bccc,'config':_0x1f9637,'fieldOrder':_0x39c067};}function Yn(_0x3a7cfe,_0x1a10d8){const _0x159a71=_0x3401ce;let _0xc30a7=_0x1a10d8?_0x3a7cfe[_0x159a71(0x204)][_0x1a10d8]:null;return!_0xc30a7||_0xc30a7[_0x159a71(0x219)]?!0x1:[_0x159a71(0x335),'multiSelect',_0x159a71(0x160),_0x159a71(0x3e3),'group',_0x159a71(0x284)]['includes'](_0xc30a7[_0x159a71(0x1b1)]);}function Xn(_0x22e761,_0x439c12){const _0x112cf2=_0x3401ce;return{'id':_0x112cf2(0x267)+_0x425b8e(0x8),'name':Hn(_0x22e761,'Status',_0x439c12),'type':_0x112cf2(0x335),'config':_0x2c5b3b[_0x112cf2(0x328)](Wn)};}function Zn(_0x45de69){const _0x100cdc=_0x3401ce;var _0x7c0679,_0xdbf87c;return Object[_0x100cdc(0x2fe)]((_0x7c0679=_0x45de69[_0x100cdc(0x3cb)])==null?{}:_0x7c0679)[_0x100cdc(0x2b1)]===0x0&&Object[_0x100cdc(0x2fe)]((_0xdbf87c=_0x45de69[_0x100cdc(0x1fd)])==null?{}:_0xdbf87c)[_0x100cdc(0x2b1)]===0x0;}function Qn(_0x492c4c,_0x5a18d2,_0x5c8264){const _0x4c4387=_0x3401ce;var _0x282c0c;let _0x2f94bc={...(_0x282c0c=_0x5a18d2['config'])==null?{}:_0x282c0c},_0x4b20e1=_0x5c8264[_0x4c4387(0x1d3)](_0x349646=>_0x349646['id']),_0x4b8a53=[..._0x492c4c[_0x4c4387(0x264)],..._0x4b20e1],_0x6ae1bd=typeof _0x2f94bc[_0x4c4387(0x1d4)]==_0x4c4387(0x3f7)&&$n(_0x492c4c,_0x5c8264,_0x2f94bc['titleFieldId'])?_0x2f94bc['titleFieldId']:_0x492c4c['primaryFieldId'],_0x40d9f8=typeof _0x2f94bc[_0x4c4387(0x251)]==_0x4c4387(0x3f7)?_0x2f94bc['startDateFieldId']:'',_0x1856bd=typeof _0x2f94bc[_0x4c4387(0x21f)]==_0x4c4387(0x3f7)?_0x2f94bc['endDateFieldId']:_0x40d9f8,_0x5f1349=new Set([_0x6ae1bd,_0x40d9f8,_0x1856bd]['filter'](_0x42cfcd=>_0x42cfcd&&$n(_0x492c4c,_0x5c8264,_0x42cfcd))),_0x570a35=Object['fromEntries'](_0x4b8a53['flatMap'](_0x3b2977=>_0x5f1349[_0x4c4387(0x356)](_0x3b2977)||!$n(_0x492c4c,_0x5c8264,_0x3b2977)?[]:[[_0x3b2977,{'hidden':!0x0}]]));return{..._0x5a18d2,'config':{..._0x2f94bc,'titleFieldId':_0x6ae1bd},'fieldSettings':_0x570a35};}function $n(_0xbf7e2a,_0x362fb0,_0x5375fb){const _0x298c39=_0x3401ce;var _0x3cbe7f;let _0x4c31af=(_0x3cbe7f=_0xbf7e2a['fields'][_0x5375fb])==null?_0x362fb0[_0x298c39(0x387)](_0x23912a=>_0x23912a['id']===_0x5375fb):_0x3cbe7f;return!!_0x4c31af&&_0x4c31af[_0x298c39(0x219)]!==!0x0;}function er(_0x26723c,_0x3efc87){const _0x165a15=_0x3401ce;let _0x5585af=_0x3efc87?_0x26723c[_0x165a15(0x204)][_0x3efc87]:null;return!!_0x5585af&&!_0x5585af[_0x165a15(0x219)]&&_0x5585af[_0x165a15(0x1b1)]===_0x165a15(0x177)&&_0x5585af['readonly']!==!0x0&&_0x5585af[_0x165a15(0x261)]!==!0x0;}function tr(_0x45190a,_0x404bfb,_0x1d9f5c){const _0x20e58=_0x3401ce;let _0x5609b5=new Set([...Object['keys'](_0x45190a['fields']),..._0x404bfb['map'](_0x31dd9e=>_0x31dd9e['id'])]),_0x50444a=_0x20e58(0x267)+_0x425b8e(0x8);for(;_0x5609b5['has'](_0x50444a);)_0x50444a=_0x20e58(0x267)+_0x425b8e(0x8);return{'id':_0x50444a,'name':Hn(_0x45190a,_0x1d9f5c,_0x404bfb),'type':_0x20e58(0x177),'config':{...Gn}};}const nr={'id':_0x3401ce(0x314),'type':_0x33ec1c[_0x3401ce(0x27c)],'handler':(_0x21af5b,_0x55e3bb)=>{const _0x299117=_0x3401ce;if(!_0x55e3bb)return!0x1;let _0x1de6d7=_0x21af5b[_0x299117(0x192)](_0x594baa),{unitId:_0x2fd089,tableId:_0xdb4929,view:_0x207628,index:_0x48baf8}=_0x55e3bb,_0x3dfdb2=_0x1de6d7['getUnit'](_0x2fd089,_0x28d586[_0x299117(0x3ec)]);if(!_0x3dfdb2)return!0x1;let _0x4c5b85=_0x21af5b[_0x299117(0x192)](_0x27a4ab),_0x4e2ab5=_0x21af5b[_0x299117(0x192)](_0x595044),_0x56b5d4=_0x3dfdb2[_0x299117(0x327)](),_0x5604db=Kn(_0x56b5d4,_0xdb4929,_0x207628,_0x48baf8),_0x1adc87=new D()[_0x299117(0x3ee)](_0x56b5d4,_0x5604db),_0x4f03ea={'unitId':_0x2fd089,'op':_0x5604db},_0x11c6dd={'unitId':_0x2fd089,'op':_0x1adc87};return _0x4c5b85[_0x299117(0x1e9)](Y['id'],_0x4f03ea)?(_0x1de6d7[_0x299117(0x2e8)](_0x2fd089),_0x4e2ab5[_0x299117(0x23f)]({'unitID':_0x2fd089,'undoMutations':[{'id':Y['id'],'params':_0x11c6dd}],'redoMutations':[{'id':Y['id'],'params':_0x4f03ea}]}),!0x0):!0x1;}},rr={'id':_0x3401ce(0x3c0),'type':_0x33ec1c['COMMAND'],'handler'(_0x4fdfb3,_0x29423c){const _0xc74474=_0x3401ce;if(!_0x29423c)return!0x1;let _0x4a7e3c=_0x4fdfb3[_0xc74474(0x192)](_0x594baa),{unitId:_0x56dc8f,tableId:_0x1e5653,fieldId:_0x14483a}=_0x29423c,_0x44f7b6=_0x4a7e3c[_0xc74474(0x399)](_0x56dc8f,_0x28d586[_0xc74474(0x3ec)]);if(!_0x44f7b6)return!0x1;let _0x35aa20=_0x44f7b6[_0xc74474(0x327)](),_0x44578f=_0x35aa20[_0xc74474(0x391)][_0x1e5653];if(!_0x44578f||_0x44578f[_0xc74474(0x346)]===_0x14483a)return!0x1;let _0x1e6e82=_0x4fdfb3[_0xc74474(0x192)](_0x27a4ab),_0x3bad89=_0x4fdfb3['get'](_0x595044),_0x1d9c0b=new I()['deleteField'](_0x35aa20,_0x1e5653,_0x14483a),_0x324ee1=new D()[_0xc74474(0x3ee)](_0x35aa20,_0x1d9c0b),_0x57c8fe={'unitId':_0x56dc8f,'op':_0x1d9c0b},_0x2c8a50={'unitId':_0x56dc8f,'op':_0x324ee1};return _0x1e6e82[_0xc74474(0x1e9)](Y['id'],_0x57c8fe)?(_0x4a7e3c[_0xc74474(0x2e8)](_0x56dc8f),_0x3bad89[_0xc74474(0x23f)]({'unitID':_0x56dc8f,'undoMutations':[{'id':Y['id'],'params':_0x2c8a50}],'redoMutations':[{'id':Y['id'],'params':_0x57c8fe}]}),!0x0):!0x1;}},ir={'id':_0x3401ce(0x249),'type':_0x33ec1c[_0x3401ce(0x27c)],'handler':(_0x2a5ab2,_0x397fb0)=>{const _0x5c4e23=_0x3401ce;if(!_0x397fb0)return!0x1;let _0x13bb86=_0x2a5ab2['get'](_0x594baa),{unitId:_0x5ecd11,tableId:_0x31556c,recordId:_0x171256}=_0x397fb0,_0x24c710=_0x13bb86[_0x5c4e23(0x399)](_0x5ecd11,_0x28d586[_0x5c4e23(0x3ec)]);if(!_0x24c710)return!0x1;let _0x257f1b=_0x2a5ab2['get'](_0x27a4ab),_0x417aa5=_0x2a5ab2[_0x5c4e23(0x192)](_0x595044),_0x4f4c6e=_0x24c710[_0x5c4e23(0x327)](),_0x55901a=new I()[_0x5c4e23(0x2ab)](_0x4f4c6e,_0x31556c,_0x171256),_0x3022af=new D()[_0x5c4e23(0x3ee)](_0x4f4c6e,_0x55901a),_0x27202e={'unitId':_0x5ecd11,'op':_0x55901a},_0x12a333={'unitId':_0x5ecd11,'op':_0x3022af};return _0x257f1b[_0x5c4e23(0x1e9)](Y['id'],_0x27202e)?(_0x13bb86[_0x5c4e23(0x2e8)](_0x5ecd11),_0x417aa5[_0x5c4e23(0x23f)]({'unitID':_0x5ecd11,'undoMutations':[{'id':Y['id'],'params':_0x12a333}],'redoMutations':[{'id':Y['id'],'params':_0x27202e}]}),!0x0):!0x1;}},ar={'id':_0x3401ce(0x3f0),'type':_0x33ec1c[_0x3401ce(0x27c)],'handler':(_0x3af2d3,_0x2ce30f)=>{const _0x61223c=_0x3401ce;if(!_0x2ce30f)return!0x1;let _0x36d516=_0x3af2d3['get'](_0x594baa),{unitId:_0x2b3013,tableId:_0x33cb8d}=_0x2ce30f,_0x1ae3c5=_0x36d516[_0x61223c(0x399)](_0x2b3013,_0x28d586[_0x61223c(0x3ec)]);if(!_0x1ae3c5)return!0x1;let _0x55d33a=_0x3af2d3[_0x61223c(0x192)](_0x27a4ab),_0x36afdd=_0x3af2d3[_0x61223c(0x192)](_0x595044),_0x41c9f7=_0x1ae3c5[_0x61223c(0x327)](),_0x2ff155=new I()[_0x61223c(0x1c0)](_0x41c9f7,_0x33cb8d),_0x356896=new D()[_0x61223c(0x3ee)](_0x41c9f7,_0x2ff155),_0x3df388={'unitId':_0x2b3013,'op':_0x2ff155},_0x5151ec={'unitId':_0x2b3013,'op':_0x356896};return _0x55d33a[_0x61223c(0x1e9)](Y['id'],_0x3df388)?(_0x36d516[_0x61223c(0x2e8)](_0x2b3013),_0x36afdd[_0x61223c(0x23f)]({'unitID':_0x2b3013,'undoMutations':[{'id':Y['id'],'params':_0x5151ec}],'redoMutations':[{'id':Y['id'],'params':_0x3df388}]}),!0x0):!0x1;}},or={'id':_0x3401ce(0x1be),'type':_0x33ec1c['COMMAND'],'handler':(_0x1085a2,_0x5af97e)=>{const _0x47edd8=_0x3401ce;if(!_0x5af97e)return!0x1;let _0x248991=_0x1085a2[_0x47edd8(0x192)](_0x594baa),{unitId:_0x43dc49,tableId:_0x26aed4,viewId:_0x3e70ed}=_0x5af97e,_0x1dd6ba=_0x248991[_0x47edd8(0x399)](_0x43dc49,_0x28d586[_0x47edd8(0x3ec)]);if(!_0x1dd6ba)return!0x1;let _0x351e9b=_0x1085a2['get'](_0x27a4ab),_0x27c3e6=_0x1085a2[_0x47edd8(0x192)](_0x595044),_0xaac691=_0x1dd6ba[_0x47edd8(0x327)](),_0xd70790=new I()[_0x47edd8(0x2d1)](_0xaac691,_0x26aed4,_0x3e70ed),_0x20f8ef=new D()[_0x47edd8(0x3ee)](_0xaac691,_0xd70790),_0x4894c6={'unitId':_0x43dc49,'op':_0xd70790},_0x597e3c={'unitId':_0x43dc49,'op':_0x20f8ef};return _0x351e9b[_0x47edd8(0x1e9)](Y['id'],_0x4894c6)?(_0x248991[_0x47edd8(0x2e8)](_0x43dc49),_0x27c3e6[_0x47edd8(0x23f)]({'unitID':_0x43dc49,'undoMutations':[{'id':Y['id'],'params':_0x597e3c}],'redoMutations':[{'id':Y['id'],'params':_0x4894c6}]}),!0x0):!0x1;}},sr={'id':_0x3401ce(0x212),'type':_0x33ec1c[_0x3401ce(0x27c)],'handler':(_0x437002,_0x44cafa)=>{const _0x424e6a=_0x3401ce;if(!_0x44cafa)return!0x1;let _0x42b687=_0x437002[_0x424e6a(0x192)](_0x594baa),{unitId:_0x241801,tableId:_0x16724d,sourceFieldId:_0x793b81,field:_0xf0a756,index:_0x4de63e,viewIndexes:_0x55ee46}=_0x44cafa,_0x44b94e=_0x42b687[_0x424e6a(0x399)](_0x241801,_0x28d586[_0x424e6a(0x3ec)]);if(!_0x44b94e)return!0x1;let _0x32380d=_0x437002['get'](_0x27a4ab),_0x1b7c43=_0x437002[_0x424e6a(0x192)](_0x595044),_0x3eb8ee=_0x44b94e[_0x424e6a(0x327)](),_0x46c695=new I()['duplicateField'](_0x3eb8ee,_0x16724d,_0x793b81,{'field':_0xf0a756,'index':_0x4de63e,'viewIndexes':_0x55ee46}),_0x35b778=new D()['invertOp'](_0x3eb8ee,_0x46c695),_0x1c1e08={'unitId':_0x241801,'op':_0x46c695},_0x59114e={'unitId':_0x241801,'op':_0x35b778};return _0x32380d[_0x424e6a(0x1e9)](Y['id'],_0x1c1e08)?(_0x42b687[_0x424e6a(0x2e8)](_0x241801),_0x1b7c43[_0x424e6a(0x23f)]({'unitID':_0x241801,'undoMutations':[{'id':Y['id'],'params':_0x59114e}],'redoMutations':[{'id':Y['id'],'params':_0x1c1e08}]}),!0x0):!0x1;}},cr={'id':_0x3401ce(0x38a),'type':_0x33ec1c[_0x3401ce(0x27c)],'handler':(_0x133287,_0x3f690f)=>{const _0x3ceed3=_0x3401ce;if(!_0x3f690f)return!0x1;let _0x544b39=_0x133287['get'](_0x594baa),{unitId:_0x2a4241,tableId:_0x4da3cc,sourceRecordId:_0x1879a2,record:_0x27efd2}=_0x3f690f,_0x135463=_0x544b39['getUnit'](_0x2a4241,_0x28d586[_0x3ceed3(0x3ec)]);if(!_0x135463)return!0x1;let _0x331b06=_0x133287[_0x3ceed3(0x192)](_0x27a4ab),_0x286514=_0x133287[_0x3ceed3(0x192)](_0x595044),_0xaabebf=_0x135463[_0x3ceed3(0x327)](),_0x4790e5=new I()[_0x3ceed3(0x20d)](_0xaabebf,_0x4da3cc,_0x1879a2,_0x27efd2),_0x57263a=new D()['invertOp'](_0xaabebf,_0x4790e5),_0x46ace6={'unitId':_0x2a4241,'op':_0x4790e5},_0x1a6d20={'unitId':_0x2a4241,'op':_0x57263a};return _0x331b06[_0x3ceed3(0x1e9)](Y['id'],_0x46ace6)?(_0x544b39[_0x3ceed3(0x2e8)](_0x2a4241),_0x286514[_0x3ceed3(0x23f)]({'unitID':_0x2a4241,'undoMutations':[{'id':Y['id'],'params':_0x1a6d20}],'redoMutations':[{'id':Y['id'],'params':_0x46ace6}]}),!0x0):!0x1;}},lr={'id':_0x3401ce(0x254),'type':_0x33ec1c[_0x3401ce(0x27c)],'handler'(_0x3d6327,_0x4facbd){const _0x272ae3=_0x3401ce;if(!_0x4facbd)return!0x1;let _0x4d316a=_0x3d6327['get'](_0x594baa),{unitId:_0x5a413f,tableId:_0x3c4fd3,viewId:_0x474742,ensureEndDateField:_0x4252c4}=_0x4facbd,_0x1e3cdd=_0x4d316a['getUnit'](_0x5a413f,_0x28d586[_0x272ae3(0x3ec)]);if(!_0x1e3cdd)return!0x1;let _0x1ec90a=_0x1e3cdd[_0x272ae3(0x327)](),_0xc38bd6=_0x1ec90a[_0x272ae3(0x391)][_0x3c4fd3],_0xf8d772=_0xc38bd6==null?void 0x0:_0xc38bd6[_0x272ae3(0x2ae)][_0x474742];if(!_0xc38bd6||!_0xf8d772||_0xf8d772['deleted']||_0xf8d772[_0x272ae3(0x1b1)]!==_0x272ae3(0x281)&&_0xf8d772['type']!=='gantt')return!0x1;let _0x45097e=qn(_0xc38bd6,_0xf8d772,_0x4252c4===!0x0);if(!_0x45097e[_0x272ae3(0x27a)])return!0x1;let _0x3edbdf=_0x3d6327[_0x272ae3(0x192)](_0x27a4ab),_0x4c218c=_0x3d6327[_0x272ae3(0x192)](_0x595044),_0x1cc7c1=new I(),_0x428bd7=[..._0x45097e[_0x272ae3(0x204)][_0x272ae3(0x1d3)](_0x17a976=>_0x1cc7c1[_0x272ae3(0x179)](_0x1ec90a,_0x4facbd[_0x272ae3(0x18a)],{'field':_0x17a976})),ur([...dr(_0x4facbd['tableId'],_0x4facbd[_0x272ae3(0x24a)]),_0x272ae3(0x3cb)],_0xf8d772[_0x272ae3(0x3cb)],_0x45097e['config'])];_0x45097e[_0x272ae3(0x264)]&&_0x428bd7[_0x272ae3(0x2b5)](ur([...dr(_0x4facbd[_0x272ae3(0x18a)],_0x4facbd[_0x272ae3(0x24a)]),_0x272ae3(0x264)],_0xf8d772[_0x272ae3(0x264)],_0x45097e[_0x272ae3(0x264)]));let _0x426117=F(_0x428bd7),_0x5c353b=new D()['invertOp'](_0x1ec90a,_0x426117),_0x5efd49={'unitId':_0x5a413f,'op':_0x426117},_0x1206ef={'unitId':_0x5a413f,'op':_0x5c353b};return _0x3edbdf[_0x272ae3(0x1e9)](Y['id'],_0x5efd49)?(_0x4d316a[_0x272ae3(0x2e8)](_0x5a413f),_0x4c218c['pushUndoRedo']({'unitID':_0x5a413f,'undoMutations':[{'id':Y['id'],'params':_0x1206ef}],'redoMutations':[{'id':Y['id'],'params':_0x5efd49}]}),!0x0):!0x1;}};function ur(_0x2ac491,_0x26e83a,_0x4f70e2){const _0x51cea7=_0x3401ce;return _0x26e83a===void 0x0?_0x1811e5[_0x51cea7(0x38b)](_0x2ac491,_0x4f70e2):_0x1811e5[_0x51cea7(0x190)](_0x2ac491,_0x26e83a,_0x4f70e2);}function dr(_0x172a15,_0x4ea338){const _0x3ef482=_0x3401ce;return[_0x3ef482(0x391),_0x172a15,_0x3ef482(0x2ae),_0x4ea338];}const fr={'id':_0x3401ce(0x29a),'type':_0x33ec1c['COMMAND'],'handler':(_0x3d0fd8,_0x33005d)=>{const _0x3187dd=_0x3401ce;if(!_0x33005d)return!0x1;let _0x485cd6=_0x3d0fd8[_0x3187dd(0x192)](_0x594baa),{unitId:_0x2a7b03,tableId:_0x97a003,fieldId:_0x169f7f,target:_0x1ece0a}=_0x33005d,_0x261ad1=_0x485cd6[_0x3187dd(0x399)](_0x2a7b03,_0x28d586[_0x3187dd(0x3ec)]);if(!_0x261ad1)return!0x1;let _0x15fbc3=_0x3d0fd8[_0x3187dd(0x192)](_0x27a4ab),_0xb0a152=_0x3d0fd8[_0x3187dd(0x192)](_0x595044),_0x156d69=_0x261ad1[_0x3187dd(0x327)](),_0x4ae45b=new I()['moveField'](_0x156d69,_0x97a003,_0x169f7f,_0x1ece0a),_0x11f445=new D()[_0x3187dd(0x3ee)](_0x156d69,_0x4ae45b),_0x142095={'unitId':_0x2a7b03,'op':_0x4ae45b},_0x22a5e7={'unitId':_0x2a7b03,'op':_0x11f445};return _0x15fbc3[_0x3187dd(0x1e9)](Y['id'],_0x142095)?(_0x485cd6[_0x3187dd(0x2e8)](_0x2a7b03),_0xb0a152[_0x3187dd(0x23f)]({'unitID':_0x2a7b03,'undoMutations':[{'id':Y['id'],'params':_0x22a5e7}],'redoMutations':[{'id':Y['id'],'params':_0x142095}]}),!0x0):!0x1;}},pr={'id':'base.command.move-base-view','type':_0x33ec1c[_0x3401ce(0x27c)],'handler':(_0x424006,_0x2f3262)=>{const _0x24e36c=_0x3401ce;if(!_0x2f3262)return!0x1;let _0x2b0187=_0x424006[_0x24e36c(0x192)](_0x594baa),{unitId:_0x30a579,tableId:_0x11866b,viewId:_0x4c703a,target:_0xa996eb}=_0x2f3262,_0x340652=_0x2b0187[_0x24e36c(0x399)](_0x30a579,_0x28d586[_0x24e36c(0x3ec)]);if(!_0x340652)return!0x1;let _0x384fe8=_0x424006['get'](_0x27a4ab),_0x53eca8=_0x424006[_0x24e36c(0x192)](_0x595044),_0x2d6a08=_0x340652[_0x24e36c(0x327)](),_0xbb3901=new I()[_0x24e36c(0x352)](_0x2d6a08,_0x11866b,_0x4c703a,_0xa996eb),_0x1ad864=new D()[_0x24e36c(0x3ee)](_0x2d6a08,_0xbb3901),_0x3e1850={'unitId':_0x30a579,'op':_0xbb3901},_0x5e2571={'unitId':_0x30a579,'op':_0x1ad864};return _0x384fe8[_0x24e36c(0x1e9)](Y['id'],_0x3e1850)?(_0x2b0187['focusUnit'](_0x30a579),_0x53eca8[_0x24e36c(0x23f)]({'unitID':_0x30a579,'undoMutations':[{'id':Y['id'],'params':_0x5e2571}],'redoMutations':[{'id':Y['id'],'params':_0x3e1850}]}),!0x0):!0x1;}},mr={'id':'base.command.rename-base-table','type':_0x33ec1c['COMMAND'],'handler':(_0x5a3f79,_0x23fe82)=>{const _0x25e92a=_0x3401ce;if(!_0x23fe82)return!0x1;let _0x2980a0=_0x5a3f79[_0x25e92a(0x192)](_0x594baa),{unitId:_0x361931,tableId:_0x5ba328,name:_0x26fbd9}=_0x23fe82,_0x3900cc=_0x2980a0['getUnit'](_0x361931,_0x28d586[_0x25e92a(0x3ec)]);if(!_0x3900cc)return!0x1;let _0x2b32b9=_0x5a3f79[_0x25e92a(0x192)](_0x27a4ab),_0x22f98f=_0x5a3f79[_0x25e92a(0x192)](_0x595044),_0x587a21=_0x3900cc[_0x25e92a(0x327)](),_0x2c2149=new I()[_0x25e92a(0x3c5)](_0x587a21,_0x5ba328,_0x26fbd9),_0x2f4bed=new D()[_0x25e92a(0x3ee)](_0x587a21,_0x2c2149),_0xbb81c5={'unitId':_0x361931,'op':_0x2c2149},_0x11a030={'unitId':_0x361931,'op':_0x2f4bed};return _0x2b32b9['syncExecuteCommand'](Y['id'],_0xbb81c5)?(_0x2980a0[_0x25e92a(0x2e8)](_0x361931),_0x22f98f['pushUndoRedo']({'unitID':_0x361931,'undoMutations':[{'id':Y['id'],'params':_0x11a030}],'redoMutations':[{'id':Y['id'],'params':_0xbb81c5}]}),!0x0):!0x1;}},hr={'id':'base.command.rename-base-view','type':_0x33ec1c[_0x3401ce(0x27c)],'handler':(_0x14ef45,_0x5b1d54)=>{const _0xf304ea=_0x3401ce;if(!_0x5b1d54)return!0x1;let _0x1a4842=_0x14ef45[_0xf304ea(0x192)](_0x594baa),{unitId:_0x55970c,tableId:_0x311468,viewId:_0x451169,name:_0x4de397}=_0x5b1d54,_0x2a89f2=_0x1a4842[_0xf304ea(0x399)](_0x55970c,_0x28d586[_0xf304ea(0x3ec)]);if(!_0x2a89f2)return!0x1;let _0x3a210b=_0x14ef45['get'](_0x27a4ab),_0x2179a8=_0x14ef45[_0xf304ea(0x192)](_0x595044),_0x25d3f9=_0x2a89f2[_0xf304ea(0x327)](),_0x2684e9=new I()[_0xf304ea(0x39d)](_0x25d3f9,_0x311468,_0x451169,_0x4de397),_0xe90428=new D()[_0xf304ea(0x3ee)](_0x25d3f9,_0x2684e9),_0x45e3a0={'unitId':_0x55970c,'op':_0x2684e9},_0x1900d6={'unitId':_0x55970c,'op':_0xe90428};return _0x3a210b['syncExecuteCommand'](Y['id'],_0x45e3a0)?(_0x1a4842[_0xf304ea(0x2e8)](_0x55970c),_0x2179a8[_0xf304ea(0x23f)]({'unitID':_0x55970c,'undoMutations':[{'id':Y['id'],'params':_0x1900d6}],'redoMutations':[{'id':Y['id'],'params':_0x45e3a0}]}),!0x0):!0x1;}},gr={'id':_0x3401ce(0x3fb),'type':_0x33ec1c[_0x3401ce(0x27c)],'handler':(_0x460928,_0x2f2595)=>{const _0x5b0578=_0x3401ce;if(!_0x2f2595)return!0x1;let _0x512995=_0x460928[_0x5b0578(0x192)](_0x594baa),{unitId:_0x476c9d,tableId:_0x320cb6,viewId:_0x5242bb,fieldId:_0x47d4d8}=_0x2f2595,_0x4f5594=_0x512995['getUnit'](_0x476c9d,_0x28d586[_0x5b0578(0x3ec)]);if(!_0x4f5594)return!0x1;let _0xd2682e=_0x460928[_0x5b0578(0x192)](_0x27a4ab),_0x1ee4be=_0x460928[_0x5b0578(0x192)](_0x595044),_0x1a84d4=_0x4f5594[_0x5b0578(0x327)](),_0x1f4e43=new I()[_0x5b0578(0x378)](_0x1a84d4,_0x320cb6,_0x5242bb,{'groupFieldId':_0x47d4d8}),_0x26d4cc=new D()[_0x5b0578(0x3ee)](_0x1a84d4,_0x1f4e43),_0x589c31={'unitId':_0x476c9d,'op':_0x1f4e43},_0x59ba23={'unitId':_0x476c9d,'op':_0x26d4cc};return _0xd2682e[_0x5b0578(0x1e9)](Y['id'],_0x589c31)?(_0x512995['focusUnit'](_0x476c9d),_0x1ee4be[_0x5b0578(0x23f)]({'unitID':_0x476c9d,'undoMutations':[{'id':Y['id'],'params':_0x59ba23}],'redoMutations':[{'id':Y['id'],'params':_0x589c31}]}),!0x0):!0x1;}},_r={'id':_0x3401ce(0x2b7),'type':_0x33ec1c['COMMAND'],'handler'(_0xea87f1,_0x401dc4){const _0x47b20c=_0x3401ce;if(!_0x401dc4)return!0x1;let _0x1331bc=_0xea87f1['get'](_0x594baa),{unitId:_0x523e26,tableId:_0x5e4620,patches:_0xe4f79e}=_0x401dc4,_0x5ef484=_0x1331bc[_0x47b20c(0x399)](_0x523e26,_0x28d586['UNIVER_BASE']);if(!_0x5ef484)return!0x1;let _0x3204d4=_0xea87f1[_0x47b20c(0x192)](_0x27a4ab),_0x4f11f4=_0xea87f1[_0x47b20c(0x192)](_0x595044),_0x24ab12=_0x5ef484[_0x47b20c(0x327)](),_0x8697f=C(_0x24ab12['tables'][_0x5e4620]),_0x4579e5=_0xe4f79e[_0x47b20c(0x278)](_0x5996e0=>{const _0x398d07=_0x47b20c;var _0x50ff9b,_0x2fe86a;if('row'in _0x5996e0)return[_0x5996e0];let _0x496865=(_0x50ff9b=_0x8697f['rowIndex'])==null?void 0x0:_0x50ff9b[_0x5996e0[_0x398d07(0x163)]],_0x22002a=(_0x2fe86a=_0x8697f['colIndex'])==null?void 0x0:_0x2fe86a[_0x5996e0[_0x398d07(0x409)]];return _0x496865==null||_0x22002a==null?[]:[{'row':_0x496865,'col':_0x22002a,'value':_0x5996e0[_0x398d07(0x30a)]}];}),_0x1c0771=new I()[_0x47b20c(0x1c7)](_0x24ab12,_0x5e4620,_0x4579e5),_0x49c91a=new D()[_0x47b20c(0x3ee)](_0x24ab12,_0x1c0771),_0x485b5c={'unitId':_0x523e26,'op':_0x1c0771},_0x4cdb2f={'unitId':_0x523e26,'op':_0x49c91a};return _0x3204d4[_0x47b20c(0x1e9)](Y['id'],_0x485b5c)?(_0x1331bc[_0x47b20c(0x2e8)](_0x523e26),_0x4f11f4[_0x47b20c(0x23f)]({'unitID':_0x523e26,'undoMutations':[{'id':Y['id'],'params':_0x4cdb2f}],'redoMutations':[{'id':Y['id'],'params':_0x485b5c}]}),!0x0):!0x1;}},vr={'id':'base.command.set-base-record-values','type':_0x33ec1c[_0x3401ce(0x27c)],'handler'(_0x31b849,_0x48d4bb){const _0x407ffe=_0x3401ce;if(!_0x48d4bb)return!0x1;let _0x1c9523=_0x31b849['get'](_0x594baa),{unitId:_0x513fed,tableId:_0x5a60be,patches:_0x34ae5a}=_0x48d4bb,_0x3a3ee8=_0x1c9523['getUnit'](_0x513fed,_0x28d586[_0x407ffe(0x3ec)]);if(!_0x3a3ee8)return!0x1;let _0x4a9709=_0x31b849[_0x407ffe(0x192)](_0x27a4ab),_0x115791=_0x31b849[_0x407ffe(0x192)](_0x595044),_0x3b9e2d=_0x31b849[_0x407ffe(0x192)](W)[_0x407ffe(0x1a0)](_0x3a3ee8,_0x5a60be,_0x34ae5a),_0x3cfa59=new D()[_0x407ffe(0x3ee)](_0x3a3ee8['getSnapshot'](),_0x3b9e2d),_0x3af38e={'unitId':_0x513fed,'op':_0x3b9e2d},_0x226a3b={'unitId':_0x513fed,'op':_0x3cfa59};return _0x4a9709[_0x407ffe(0x1e9)](Y['id'],_0x3af38e)?(_0x1c9523[_0x407ffe(0x2e8)](_0x513fed),_0x115791[_0x407ffe(0x23f)]({'unitID':_0x513fed,'undoMutations':[{'id':Y['id'],'params':_0x226a3b}],'redoMutations':[{'id':Y['id'],'params':_0x3af38e}]}),!0x0):!0x1;}},yr={'id':'base.command.set-base-view-field-order','type':_0x33ec1c[_0x3401ce(0x27c)],'handler':(_0x93f2,_0x12e63e)=>{const _0x5eed9f=_0x3401ce;if(!_0x12e63e)return!0x1;let _0xbd4a75=_0x93f2[_0x5eed9f(0x192)](_0x594baa),{unitId:_0x5d004d,tableId:_0x46c2c2,viewId:_0x4d1218,fieldId:_0x53c9e4,target:_0x430321}=_0x12e63e,_0xbff57b=_0xbd4a75[_0x5eed9f(0x399)](_0x5d004d,_0x28d586[_0x5eed9f(0x3ec)]);if(!_0xbff57b)return!0x1;let _0x2c437f=_0x93f2[_0x5eed9f(0x192)](_0x27a4ab),_0x1cc3de=_0x93f2[_0x5eed9f(0x192)](_0x595044),_0xd94e23=_0xbff57b[_0x5eed9f(0x327)](),_0x5864c7=new I()['setViewFieldOrder'](_0xd94e23,_0x46c2c2,_0x4d1218,_0x53c9e4,_0x430321),_0x1a6eec=new D()['invertOp'](_0xd94e23,_0x5864c7),_0x52352d={'unitId':_0x5d004d,'op':_0x5864c7},_0x3ecc3c={'unitId':_0x5d004d,'op':_0x1a6eec};return _0x2c437f[_0x5eed9f(0x1e9)](Y['id'],_0x52352d)?(_0xbd4a75[_0x5eed9f(0x2e8)](_0x5d004d),_0x1cc3de[_0x5eed9f(0x23f)]({'unitID':_0x5d004d,'undoMutations':[{'id':Y['id'],'params':_0x3ecc3c}],'redoMutations':[{'id':Y['id'],'params':_0x52352d}]}),!0x0):!0x1;}},br={'id':_0x3401ce(0x223),'type':_0x33ec1c[_0x3401ce(0x27c)],'handler'(_0x1bb4c5,_0x509ea7){const _0x3dd148=_0x3401ce;if(!_0x509ea7)return!0x1;let _0x2cabdf=_0x1bb4c5[_0x3dd148(0x192)](_0x594baa),{unitId:_0x5d872a,tableId:_0x326b52,viewId:_0x4cb541,fieldId:_0xb64e52,visible:_0x916704}=_0x509ea7,_0x5add61=_0x2cabdf[_0x3dd148(0x399)](_0x5d872a,_0x28d586[_0x3dd148(0x3ec)]);if(!_0x5add61)return!0x1;let _0x3c7a8b=_0x1bb4c5[_0x3dd148(0x192)](_0x27a4ab),_0x27abf0=_0x1bb4c5[_0x3dd148(0x192)](_0x595044),_0x439998=_0x5add61['getSnapshot'](),_0x5aa461=new I()[_0x3dd148(0x3b5)](_0x439998,_0x326b52,_0x4cb541,_0xb64e52,_0x916704),_0xdb1d9e=new D()[_0x3dd148(0x3ee)](_0x439998,_0x5aa461),_0x2b0fd5={'unitId':_0x5d872a,'op':_0x5aa461},_0x27dbea={'unitId':_0x5d872a,'op':_0xdb1d9e};return _0x3c7a8b['syncExecuteCommand'](Y['id'],_0x2b0fd5)?(_0x2cabdf['focusUnit'](_0x5d872a),_0x27abf0[_0x3dd148(0x23f)]({'unitID':_0x5d872a,'undoMutations':[{'id':Y['id'],'params':_0x27dbea}],'redoMutations':[{'id':Y['id'],'params':_0x2b0fd5}]}),!0x0):!0x1;}},xr={'id':_0x3401ce(0x2c5),'type':_0x33ec1c[_0x3401ce(0x27c)],'handler':(_0x3962d4,_0x411e25)=>{const _0x3095d5=_0x3401ce;if(!_0x411e25)return!0x1;let _0x2b586a=_0x3962d4[_0x3095d5(0x192)](_0x594baa),{unitId:_0x2b3cc1,tableId:_0x5d82fd,viewId:_0x3dbc7b,fieldId:_0x89b1d3,width:_0x1ee27d}=_0x411e25,_0x2e728e=_0x2b586a[_0x3095d5(0x399)](_0x2b3cc1,_0x28d586['UNIVER_BASE']);if(!_0x2e728e)return!0x1;let _0x29f125=_0x3962d4[_0x3095d5(0x192)](_0x27a4ab),_0x1da253=_0x3962d4[_0x3095d5(0x192)](_0x595044),_0x3f3888=_0x2e728e[_0x3095d5(0x327)](),_0x1f74f1=new I()[_0x3095d5(0x292)](_0x3f3888,_0x5d82fd,_0x3dbc7b,_0x89b1d3,_0x1ee27d),_0x4f1015=new D()[_0x3095d5(0x3ee)](_0x3f3888,_0x1f74f1),_0x5650ed={'unitId':_0x2b3cc1,'op':_0x1f74f1},_0x38413e={'unitId':_0x2b3cc1,'op':_0x4f1015};return _0x29f125[_0x3095d5(0x1e9)](Y['id'],_0x5650ed)?(_0x2b586a['focusUnit'](_0x2b3cc1),_0x1da253[_0x3095d5(0x23f)]({'unitID':_0x2b3cc1,'undoMutations':[{'id':Y['id'],'params':_0x38413e}],'redoMutations':[{'id':Y['id'],'params':_0x5650ed}]}),!0x0):!0x1;}},Sr={'id':_0x3401ce(0x2ed),'type':_0x33ec1c['COMMAND'],'handler':(_0x501873,_0x1d975b)=>{const _0x139dee=_0x3401ce;if(!_0x1d975b)return!0x1;let _0x5a2ac2=_0x501873[_0x139dee(0x192)](_0x594baa),{unitId:_0x35476c,tableId:_0x3a76cd,viewId:_0x3cfbe,filter:_0x4b84d9}=_0x1d975b,_0x178e11=_0x5a2ac2[_0x139dee(0x399)](_0x35476c,_0x28d586['UNIVER_BASE']);if(!_0x178e11)return!0x1;let _0x462c97=_0x501873[_0x139dee(0x192)](_0x27a4ab),_0x1bb705=_0x501873[_0x139dee(0x192)](_0x595044),_0x4cdda0=_0x178e11['getSnapshot'](),_0x5d064b=new I()[_0x139dee(0x181)](_0x4cdda0,_0x3a76cd,_0x3cfbe,_0x4b84d9),_0xf97750=new D()[_0x139dee(0x3ee)](_0x4cdda0,_0x5d064b),_0x299f0e={'unitId':_0x35476c,'op':_0x5d064b},_0x5a1237={'unitId':_0x35476c,'op':_0xf97750};return _0x462c97[_0x139dee(0x1e9)](Y['id'],_0x299f0e)?(_0x5a2ac2[_0x139dee(0x2e8)](_0x35476c),_0x1bb705['pushUndoRedo']({'unitID':_0x35476c,'undoMutations':[{'id':Y['id'],'params':_0x5a1237}],'redoMutations':[{'id':Y['id'],'params':_0x299f0e}]}),!0x0):!0x1;}},Cr={'id':'base.command.set-base-view-group','type':_0x33ec1c['COMMAND'],'handler':(_0x2e9b3c,_0x3bd504)=>{const _0x4e549e=_0x3401ce;if(!_0x3bd504)return!0x1;let _0x5d19f9=_0x2e9b3c[_0x4e549e(0x192)](_0x594baa),{unitId:_0x32fbc5,tableId:_0x54ee89,viewId:_0x43837d,group:_0x5bb508}=_0x3bd504,_0x5d2123=_0x5d19f9[_0x4e549e(0x399)](_0x32fbc5,_0x28d586['UNIVER_BASE']);if(!_0x5d2123)return!0x1;let _0xae7278=_0x2e9b3c[_0x4e549e(0x192)](_0x27a4ab),_0x5086df=_0x2e9b3c[_0x4e549e(0x192)](_0x595044),_0xd5984f=_0x5d2123[_0x4e549e(0x327)](),_0x5d4413=new I()[_0x4e549e(0x3b8)](_0xd5984f,_0x54ee89,_0x43837d,_0x5bb508),_0x528752=new D()[_0x4e549e(0x3ee)](_0xd5984f,_0x5d4413),_0x11b86d={'unitId':_0x32fbc5,'op':_0x5d4413},_0x2d7301={'unitId':_0x32fbc5,'op':_0x528752};return _0xae7278[_0x4e549e(0x1e9)](Y['id'],_0x11b86d)?(_0x5d19f9[_0x4e549e(0x2e8)](_0x32fbc5),_0x5086df['pushUndoRedo']({'unitID':_0x32fbc5,'undoMutations':[{'id':Y['id'],'params':_0x2d7301}],'redoMutations':[{'id':Y['id'],'params':_0x11b86d}]}),!0x0):!0x1;}},wr={'id':'base.command.set-base-view-sort','type':_0x33ec1c[_0x3401ce(0x27c)],'handler':(_0x5da0e2,_0x142863)=>{const _0x6093c4=_0x3401ce;if(!_0x142863)return!0x1;let _0x478f7c=_0x5da0e2[_0x6093c4(0x192)](_0x594baa),{unitId:_0x280cae,tableId:_0x20ddab,viewId:_0x3a5f2e,sort:_0x3d4782}=_0x142863,_0x4a153f=_0x478f7c[_0x6093c4(0x399)](_0x280cae,_0x28d586[_0x6093c4(0x3ec)]);if(!_0x4a153f)return!0x1;let _0x2e3931=_0x5da0e2[_0x6093c4(0x192)](_0x27a4ab),_0x46c2fa=_0x5da0e2[_0x6093c4(0x192)](_0x595044),_0x30238e=_0x4a153f[_0x6093c4(0x327)](),_0x327596=new I()[_0x6093c4(0x395)](_0x30238e,_0x20ddab,_0x3a5f2e,_0x3d4782),_0x40fc13=new D()['invertOp'](_0x30238e,_0x327596),_0x362ce7={'unitId':_0x280cae,'op':_0x327596},_0xc88f70={'unitId':_0x280cae,'op':_0x40fc13};return _0x2e3931[_0x6093c4(0x1e9)](Y['id'],_0x362ce7)?(_0x478f7c['focusUnit'](_0x280cae),_0x46c2fa['pushUndoRedo']({'unitID':_0x280cae,'undoMutations':[{'id':Y['id'],'params':_0xc88f70}],'redoMutations':[{'id':Y['id'],'params':_0x362ce7}]}),!0x0):!0x1;}},Tr={'id':'base.command.update-base-cell','type':_0x33ec1c['COMMAND'],'handler'(_0x599628,_0x396ab6){const _0x34bfd1=_0x3401ce;if(!_0x396ab6)return!0x1;let _0x5b1954=_0x599628[_0x34bfd1(0x192)](_0x594baa),{unitId:_0x467c9e,tableId:_0x26730e,recordId:_0x2e1735,fieldId:_0x3c9222,value:_0x536d0f}=_0x396ab6,_0x4a55d5=_0x5b1954[_0x34bfd1(0x399)](_0x467c9e,_0x28d586[_0x34bfd1(0x3ec)]);if(!_0x4a55d5)return!0x1;let _0x5c1c23=_0x599628['get'](_0x27a4ab),_0xf1babe=_0x599628[_0x34bfd1(0x192)](_0x595044),_0x1ffcca=_0x599628['get'](W),_0x42f295;try{_0x42f295=_0x1ffcca['createUpdateCellOp'](_0x4a55d5,_0x26730e,_0x2e1735,_0x3c9222,_0x536d0f);}catch(_0x6921cd){return console['error'](_0x34bfd1(0x2c6),_0x6921cd),!0x1;}let _0x21866f=new D()['invertOp'](_0x4a55d5[_0x34bfd1(0x327)](),_0x42f295),_0x269113={'unitId':_0x467c9e,'op':_0x42f295},_0x3348bd={'unitId':_0x467c9e,'op':_0x21866f};return _0x5c1c23[_0x34bfd1(0x1e9)](Y['id'],_0x269113)?(_0x5b1954['focusUnit'](_0x467c9e),_0xf1babe['pushUndoRedo']({'unitID':_0x467c9e,'undoMutations':[{'id':Y['id'],'params':_0x3348bd}],'redoMutations':[{'id':Y['id'],'params':_0x269113}]}),!0x0):!0x1;}},Er={'id':_0x3401ce(0x243),'type':_0x33ec1c[_0x3401ce(0x27c)],'handler'(_0x5a64e3,_0x31fcca){const _0x38eeef=_0x3401ce;if(!_0x31fcca)return!0x1;let _0x8af517=_0x5a64e3['get'](_0x594baa),{unitId:_0x357a80,tableId:_0x6abe07,fieldId:_0x49b5ec}=_0x31fcca,_0x581b9a=_0x8af517['getUnit'](_0x357a80,_0x28d586['UNIVER_BASE']);if(!_0x581b9a)return!0x1;let _0x1a369a=_0x5a64e3['get'](_0x27a4ab),_0x10ccaf=_0x5a64e3['get'](_0x595044),_0x2aa5f0=_0x581b9a[_0x38eeef(0x327)](),_0x21a70b=_0x31fcca[_0x38eeef(0x3de)]['trim'](),_0x66666d=new I()[_0x38eeef(0x34d)](_0x2aa5f0,_0x6abe07,_0x49b5ec,{'description':_0x21a70b}),_0x10f1f8=new D()[_0x38eeef(0x3ee)](_0x581b9a[_0x38eeef(0x327)](),_0x66666d),_0x2aa3a9={'unitId':_0x357a80,'op':_0x66666d},_0x22fc44={'unitId':_0x357a80,'op':_0x10f1f8};return _0x1a369a[_0x38eeef(0x1e9)](Y['id'],_0x2aa3a9)?(_0x8af517['focusUnit'](_0x357a80),_0x10ccaf[_0x38eeef(0x23f)]({'unitID':_0x357a80,'undoMutations':[{'id':Y['id'],'params':_0x22fc44}],'redoMutations':[{'id':Y['id'],'params':_0x2aa3a9}]}),!0x0):!0x1;}},Dr={'id':_0x3401ce(0x394),'type':_0x33ec1c['COMMAND'],'handler':(_0x5b3f7f,_0x5063d8)=>{const _0x4f386a=_0x3401ce;if(!_0x5063d8)return!0x1;let _0xcaeb55=_0x5b3f7f['get'](_0x594baa),{unitId:_0x49244c,tableId:_0x422bd1,fieldId:_0x4f403b,patch:_0x50ff06}=_0x5063d8,_0x13d79f=_0xcaeb55[_0x4f386a(0x399)](_0x49244c,_0x28d586['UNIVER_BASE']);if(!_0x13d79f)return!0x1;let _0x278f89=_0x5b3f7f[_0x4f386a(0x192)](_0x27a4ab),_0x4cd693=_0x5b3f7f[_0x4f386a(0x192)](_0x595044),_0x38a085=_0x13d79f[_0x4f386a(0x327)](),_0x3e7a2c=new I()[_0x4f386a(0x34d)](_0x38a085,_0x422bd1,_0x4f403b,_0x50ff06),_0x310ad5=new D()[_0x4f386a(0x3ee)](_0x38a085,_0x3e7a2c),_0x50d57b={'unitId':_0x49244c,'op':_0x3e7a2c},_0x12ce38={'unitId':_0x49244c,'op':_0x310ad5};return _0x278f89[_0x4f386a(0x1e9)](Y['id'],_0x50d57b)?(_0xcaeb55[_0x4f386a(0x2e8)](_0x49244c),_0x4cd693['pushUndoRedo']({'unitID':_0x49244c,'undoMutations':[{'id':Y['id'],'params':_0x12ce38}],'redoMutations':[{'id':Y['id'],'params':_0x50d57b}]}),!0x0):!0x1;}},Or={'id':_0x3401ce(0x266),'type':_0x33ec1c['COMMAND'],'handler':(_0x390f10,_0x3de0b4)=>{const _0x1f5ae4=_0x3401ce;if(!_0x3de0b4)return!0x1;let _0x51ff2a=_0x390f10[_0x1f5ae4(0x192)](_0x594baa),{unitId:_0x15996a,tableId:_0x283fe5,viewId:_0x2a0743,patch:_0x2851a6}=_0x3de0b4,_0x3735b6=_0x51ff2a[_0x1f5ae4(0x399)](_0x15996a,_0x28d586[_0x1f5ae4(0x3ec)]);if(!_0x3735b6)return!0x1;let _0x1fc4c4=_0x390f10[_0x1f5ae4(0x192)](_0x27a4ab),_0x10eb0a=_0x390f10[_0x1f5ae4(0x192)](_0x595044),_0x40a4ab=_0x3735b6[_0x1f5ae4(0x327)](),_0x414855=new I()['updateViewConfig'](_0x40a4ab,_0x283fe5,_0x2a0743,_0x2851a6),_0x2d3ff7=new D()[_0x1f5ae4(0x3ee)](_0x40a4ab,_0x414855),_0x2a7022={'unitId':_0x15996a,'op':_0x414855},_0x227757={'unitId':_0x15996a,'op':_0x2d3ff7};return _0x1fc4c4[_0x1f5ae4(0x1e9)](Y['id'],_0x2a7022)?(_0x51ff2a[_0x1f5ae4(0x2e8)](_0x15996a),_0x10eb0a[_0x1f5ae4(0x23f)]({'unitID':_0x15996a,'undoMutations':[{'id':Y['id'],'params':_0x227757}],'redoMutations':[{'id':Y['id'],'params':_0x2a7022}]}),!0x0):!0x1;}},kr={'id':_0x3401ce(0x40c),'type':_0x33ec1c[_0x3401ce(0x27c)],'handler':(_0xb3b6f2,_0x43da9b)=>{const _0x57bfb6=_0x3401ce;if(!_0x43da9b)return!0x1;let _0x359ea4=_0xb3b6f2[_0x57bfb6(0x192)](_0x594baa),{unitId:_0x34484b,tableId:_0x5c50,recordId:_0x382dc0,orderKey:_0x59ad02}=_0x43da9b,_0x12d89b=_0x359ea4[_0x57bfb6(0x399)](_0x34484b,_0x28d586[_0x57bfb6(0x3ec)]);if(!_0x12d89b)return!0x1;let _0x38211c=_0xb3b6f2[_0x57bfb6(0x192)](_0x27a4ab),_0x278818=_0xb3b6f2[_0x57bfb6(0x192)](_0x595044),_0x208769=_0x12d89b[_0x57bfb6(0x327)](),_0x1f4b78=new I()[_0x57bfb6(0x3fe)](_0x208769,_0x5c50,_0x382dc0,_0x59ad02),_0x320d57=new D()[_0x57bfb6(0x3ee)](_0x208769,_0x1f4b78),_0x170914={'unitId':_0x34484b,'op':_0x1f4b78},_0x4d8d37={'unitId':_0x34484b,'op':_0x320d57};return _0x38211c[_0x57bfb6(0x1e9)](Y['id'],_0x170914)?(_0x359ea4[_0x57bfb6(0x2e8)](_0x34484b),_0x278818['pushUndoRedo']({'unitID':_0x34484b,'undoMutations':[{'id':Y['id'],'params':_0x4d8d37}],'redoMutations':[{'id':Y['id'],'params':_0x170914}]}),!0x0):!0x1;}},Ar={'id':'base.command.update-base-view-config','type':_0x33ec1c[_0x3401ce(0x27c)],'handler':(_0x2ad865,_0x1ea380)=>{const _0x469905=_0x3401ce;if(!_0x1ea380)return!0x1;let _0x1500a1=_0x2ad865[_0x469905(0x192)](_0x594baa),{unitId:_0x15d219,tableId:_0x2d5cef,viewId:_0x5bd20c,patch:_0x4a214d}=_0x1ea380,_0x474d15=_0x1500a1[_0x469905(0x399)](_0x15d219,_0x28d586[_0x469905(0x3ec)]);if(!_0x474d15)return!0x1;let _0x51243d=_0x2ad865[_0x469905(0x192)](_0x27a4ab),_0x2aec20=_0x2ad865[_0x469905(0x192)](_0x595044),_0x2b6bbb=_0x474d15[_0x469905(0x327)](),_0x56ab04=new I()[_0x469905(0x378)](_0x2b6bbb,_0x2d5cef,_0x5bd20c,_0x4a214d),_0xa25c62=new D()[_0x469905(0x3ee)](_0x2b6bbb,_0x56ab04),_0xa79bdf={'unitId':_0x15d219,'op':_0x56ab04},_0x1a1f58={'unitId':_0x15d219,'op':_0xa25c62};return _0x51243d[_0x469905(0x1e9)](Y['id'],_0xa79bdf)?(_0x1500a1[_0x469905(0x2e8)](_0x15d219),_0x2aec20[_0x469905(0x23f)]({'unitID':_0x15d219,'undoMutations':[{'id':Y['id'],'params':_0x1a1f58}],'redoMutations':[{'id':Y['id'],'params':_0xa79bdf}]}),!0x0):!0x1;}};function jr(_0x207e1f){const _0x2df61d=_0x3401ce;var _0xcb8108;let _0x5d3dc6=Math[_0x2df61d(0x16c)](0x0,Number((_0xcb8108=_0x207e1f[_0x2df61d(0x196)])==null?0x0:_0xcb8108)),_0x61b7e1=_0x207e1f[_0x2df61d(0x2af)]===!0x1?'0':_0x2df61d(0x32e),_0x131220=_0x5d3dc6?'.'+'0'[_0x2df61d(0x33c)](_0x5d3dc6):'',_0x289d29=Nr(_0x207e1f[_0x2df61d(0x37d)]);return''+(_0x207e1f[_0x2df61d(0x1c1)]?Pr(_0x207e1f['currencySymbol']):'')+_0x61b7e1+_0x131220+_0x289d29;}function Mr(_0x4e5e32,_0x52fb09){const _0x1e55f2=_0x3401ce;let _0x493b67=jr(_0x52fb09),_0x532d7b=_0x56f9da[_0x1e55f2(0x166)](_0x493b67,_0x4e5e32,{'throws':!0x1});return Fr(String(_0x532d7b),_0x52fb09['separatorStyle'],_0x52fb09[_0x1e55f2(0x236)]);}function Nr(_0x535135){const _0x2207bd=_0x3401ce;return _0x535135==='K'?_0x2207bd(0x381):_0x535135==='M'?_0x2207bd(0x3fa):_0x535135==='B'?_0x2207bd(0x19e):'';}function Pr(_0x4b325f){const _0xf766fb=_0x3401ce;return/^[A-Z]+$/i[_0xf766fb(0x19b)](_0x4b325f)?'\x22'+_0x4b325f+'\x22':_0x4b325f;}function Fr(_0xc61a7b,_0x50494f,_0x7741f){const _0xd45696=_0x3401ce;let _0x32f60d=_0x50494f===_0xd45696(0x303)?Ir(_0x7741f):_0x50494f;return _0x32f60d==='periodComma'?_0xc61a7b[_0xd45696(0x2a6)](/,/g,'\x00')[_0xd45696(0x2a6)](/\./g,',')[_0xd45696(0x2a6)](/\0/g,'.'):_0x32f60d===_0xd45696(0x172)?_0xc61a7b['replace'](/,/g,'\x20')['replace'](/\./g,','):_0x32f60d===_0xd45696(0x1f8)?_0xc61a7b[_0xd45696(0x2a6)](/,/g,'\x20'):_0xc61a7b;}function Ir(_0x204fe1){const _0x3c2b6e=_0x3401ce;var _0x59cb0f,_0x209b7e;let _0x3ec6cb=_0x204fe1||Intl['NumberFormat']()[_0x3c2b6e(0x247)]()[_0x3c2b6e(0x236)],_0x43f156;try{_0x43f156=new Intl[(_0x3c2b6e(0x2a3))](_0x3ec6cb,{'minimumFractionDigits':0x2,'maximumFractionDigits':0x2,'useGrouping':!0x0})[_0x3c2b6e(0x334)](0xf4240);}catch{return _0x3c2b6e(0x3bd);}let _0x4e9c2c=(_0x59cb0f=_0x43f156[_0x3c2b6e(0x387)](_0xf74b6a=>_0xf74b6a[_0x3c2b6e(0x1b1)]==='group'))==null?void 0x0:_0x59cb0f['value'],_0x5f3b74=(_0x209b7e=_0x43f156['find'](_0x49c5cd=>_0x49c5cd[_0x3c2b6e(0x1b1)]===_0x3c2b6e(0x268)))==null?void 0x0:_0x209b7e['value'],_0x4f27b8=_0x4e9c2c==='\u00a0'||_0x4e9c2c==='\u202f'?'\x20':_0x4e9c2c;return _0x4f27b8==='.'&&_0x5f3b74===','?_0x3c2b6e(0x245):_0x4f27b8==='\x20'&&_0x5f3b74===','?_0x3c2b6e(0x172):_0x4f27b8==='\x20'&&_0x5f3b74==='.'?_0x3c2b6e(0x1f8):'commaPeriod';}function Lr(_0xd7ce45,_0x194372){const _0x42687=_0x3401ce;var _0x2e9423,_0x57b24b;let _0x37f80a=_0x2c5b3b[_0x42687(0x328)](_0xd7ce45),_0x4fe32c=_0x194372[_0x42687(0x271)]===!0x0,_0x287b5b=new Map(),_0x1c2acb=(_0x2e9423=_0x194372[_0x42687(0x2bf)])==null?()=>_0x42687(0x353)+_0x425b8e(0x8):_0x2e9423,_0x5fa104=_0x37f80a[_0x42687(0x1b9)];return _0x194372[_0x42687(0x2d6)]&&(_0x5fa104=_0x37f80a[_0x42687(0x1b9)]['map'](_0x574441=>{const _0x1d6add=_0x42687;let _0x9b00f3=_0x1c2acb();return _0x287b5b[_0x1d6add(0x270)](_0x574441,_0x9b00f3),_0x9b00f3;})),{..._0x37f80a,'id':_0x194372['id'],'name':_0x194372[_0x42687(0x1fe)],'deleted':void 0x0,'records':_0x4fe32c?_0x37f80a[_0x42687(0x320)]:{},'recordOrder':_0x4fe32c?_0x37f80a[_0x42687(0x275)]:[],'rowIndex':_0x4fe32c?_0x37f80a['rowIndex']:{},'rowId':_0x4fe32c?_0x37f80a['rowId']:{},'cellData':_0x4fe32c?_0x37f80a[_0x42687(0x29d)]:{},'resources':_0x4fe32c?_0x37f80a[_0x42687(0x244)]:{},'viewOrder':_0x5fa104,'views':Object[_0x42687(0x300)](Object[_0x42687(0x184)]((_0x57b24b=_0x37f80a[_0x42687(0x2ae)])==null?{}:_0x57b24b)[_0x42687(0x1d3)](([_0x168aaa,_0x134953])=>{const _0x5dc634=_0x42687;var _0x4e2d01;let _0xfe0cd8=(_0x4e2d01=_0x287b5b[_0x5dc634(0x192)](_0x168aaa))==null?_0x194372[_0x5dc634(0x2d6)]?_0x1c2acb():_0x168aaa:_0x4e2d01;return[_0xfe0cd8,{..._0x134953,'id':_0xfe0cd8,'tableId':_0x194372['id'],'deleted':void 0x0}];}))};}var Rr=_0x3401ce(0x3a3),zr='1.0.0-alpha.2';const Br={},Vr={};function Hr(_0x27e84f){const _0x52e8f8=_0x3401ce;return new D()[_0x52e8f8(0x19a)](_0x27e84f);}function Ur(_0x101251){const _0xeecbaf=_0x3401ce;return _0x101251[_0xeecbaf(0x31e)][_0xeecbaf(0x1d3)](_0x4dd516=>({'unitId':_0x101251[_0xeecbaf(0x3c8)],'sheetId':_0x101251[_0xeecbaf(0x18a)],'range':{'startRow':_0x4dd516[_0xeecbaf(0x2d5)],'endRow':_0x4dd516['row'],'startColumn':_0x4dd516[_0xeecbaf(0x3e2)],'endColumn':_0x4dd516[_0xeecbaf(0x3e2)]}}));}function Wr(_0x19d279,_0x26c20f){const _0x5b0a8f=_0x3401ce;return{[_0x19d279]:Object[_0x5b0a8f(0x300)](_0x26c20f['map'](_0x198fea=>[_0x198fea,'1']))};}let Gr=class extends _0x4b5308{constructor(_0x424683,_0x51e3a1){const _0x20fd50=_0x3401ce;super(),this[_0x20fd50(0x3c4)]=_0x424683,this['_univerInstanceService']=_0x51e3a1,this[_0x20fd50(0x265)]();}[_0x3401ce(0x265)](){const _0x1d9202=_0x3401ce;let _0x279480=this[_0x1d9202(0x157)]();_0x279480&&(_0x279480[_0x1d9202(0x2e7)](Y['id'],{'commandId':Y['id'],'getDirtyData':_0x460a8c=>this[_0x1d9202(0x306)](_0x460a8c['params'])}),this[_0x1d9202(0x186)](_0x200b81(()=>{const _0x19f124=_0x1d9202;_0x279480[_0x19f124(0x260)](Y['id']);})));}['_getActiveDirtyManagerService'](){const _0x399459=_0x3401ce;try{return this[_0x399459(0x3c4)][_0x399459(0x192)](_0x5cedb5);}catch{return null;}}[_0x3401ce(0x2b6)](_0x1787cc,_0x179a16){const _0x1860cd=_0x3401ce;var _0xd5c5f2;let _0xdeebf8=this[_0x1860cd(0x2ca)][_0x1860cd(0x399)](_0x1787cc,_0x28d586[_0x1860cd(0x3ec)]);return(_0xd5c5f2=_0xdeebf8==null?void 0x0:_0xdeebf8[_0x1860cd(0x327)]()['tables'][_0x179a16])==null?null:_0xd5c5f2;}[_0x3401ce(0x306)](_0x5bebb2){const _0x189f8f=_0x3401ce;if(_0x5bebb2[_0x189f8f(0x368)]===_0x189f8f(0x361))return{};if(!_0x5bebb2[_0x189f8f(0x3c8)]||!_0x5bebb2['op']){let _0x5ad345=this['_getAllBaseDirtySuperTableMap']();return{'dirtySuperTableMap':_0x5ad345,'clearDependencyTreeCache':_0x5ad345};}let _0x5e4ccc=Hr(_0x5bebb2['op']),_0x2dd142=this[_0x189f8f(0x318)](_0x5bebb2[_0x189f8f(0x3c8)],_0x5e4ccc);if(_0x2dd142['length'])return{'dirtySuperTableMap':this['_getDirtySuperTableMap'](_0x5bebb2['unitId'],_0x2dd142),'clearDependencyTreeCache':this[_0x189f8f(0x1ce)](_0x5bebb2['unitId'],_0x2dd142)};let _0x53dcee=Object[_0x189f8f(0x184)](this[_0x189f8f(0x1a8)](_0x5bebb2[_0x189f8f(0x3c8)],_0x5e4ccc))['flatMap'](([_0x28205b,_0x3eebe1])=>Ur({'unitId':_0x5bebb2[_0x189f8f(0x3c8)],'tableId':_0x28205b,'patches':_0x3eebe1}));return _0x53dcee['length']?{'dirtyRanges':_0x53dcee}:{};}[_0x3401ce(0x318)](_0x4debcf,_0xd48079){const _0x537223=_0x3401ce;let _0x5127e5=_0xd48079[_0x537223(0x2db)](_0x4bfaa2=>_0x4bfaa2[_0x537223(0x35d)]!==_0x537223(0x3ad))['flatMap'](_0x3b3d57=>_0x3b3d57[_0x537223(0x18a)]?[_0x3b3d57[_0x537223(0x18a)]]:this['_getAllTableIds'](_0x4debcf));return Array[_0x537223(0x33e)](new Set(_0x5127e5));}[_0x3401ce(0x1a8)](_0x2be198,_0x4bc6ef){let _0x24b5de=new Set();return _0x4bc6ef['reduce']((_0x111085,_0x2d4169)=>{const _0x15ce63=_0x4a40;var _0x250b4b;let _0x188db0=this[_0x15ce63(0x1d5)](_0x2be198,_0x2d4169);if(!_0x188db0)return _0x111085;let _0x10a621=_0x2d4169['tableId']+':'+_0x188db0[_0x15ce63(0x2d5)]+':'+_0x188db0['col'];return _0x24b5de[_0x15ce63(0x356)](_0x10a621)?_0x111085:(_0x24b5de['add'](_0x10a621),_0x111085[_0x2d4169['tableId']]=(_0x250b4b=_0x111085[_0x2d4169[_0x15ce63(0x18a)]])==null?[]:_0x250b4b,_0x111085[_0x2d4169['tableId']][_0x15ce63(0x2b5)](_0x188db0),_0x111085);},{});}[_0x3401ce(0x1d5)](_0xabfafb,_0xf51397){const _0x859c42=_0x3401ce;if(_0xf51397[_0x859c42(0x35d)]!==_0x859c42(0x3ad))return null;if(_0xf51397['row']!=null&&_0xf51397[_0x859c42(0x311)]!=null)return{'row':_0xf51397[_0x859c42(0x2d5)],'col':_0xf51397[_0x859c42(0x311)],'value':null};if(!_0xf51397[_0x859c42(0x163)]||!_0xf51397['fieldId'])return null;let _0x308b70=this[_0x859c42(0x2b6)](_0xabfafb,_0xf51397[_0x859c42(0x18a)]);if(!_0x308b70)return null;let _0x457a3b=ye(_0x308b70,_0xf51397[_0x859c42(0x163)],_0xf51397[_0x859c42(0x409)]);return _0x457a3b?{'row':_0x457a3b[_0x859c42(0x2d5)],'col':_0x457a3b[_0x859c42(0x3e2)],'value':null}:null;}[_0x3401ce(0x228)](_0x5139c7){const _0x2e6687=_0x3401ce;var _0xeb14;let _0x51fba9=this[_0x2e6687(0x2ca)][_0x2e6687(0x399)](_0x5139c7,_0x28d586['UNIVER_BASE']);return Object[_0x2e6687(0x288)]((_0xeb14=_0x51fba9==null?void 0x0:_0x51fba9[_0x2e6687(0x327)]()[_0x2e6687(0x391)])==null?{}:_0xeb14)[_0x2e6687(0x2db)](_0x4eb321=>!_0x4eb321['deleted'])['map'](_0x129b22=>_0x129b22['id']);}[_0x3401ce(0x1ce)](_0x235e0e,_0x18132c){return Wr(_0x235e0e,_0x18132c);}[_0x3401ce(0x31f)](){const _0x5a0ffd=_0x3401ce;let _0x33008d=this['_univerInstanceService']['getAllUnitsForType'](_0x28d586['UNIVER_BASE'])[_0x5a0ffd(0x1d3)](_0x2b878b=>Wr(_0x2b878b[_0x5a0ffd(0x3d5)](),this[_0x5a0ffd(0x228)](_0x2b878b[_0x5a0ffd(0x3d5)]())));return Object['assign']({},..._0x33008d);}};Gr=U([H(0x0,_0x501764(_0x736133)),H(0x1,_0x594baa)],Gr);const Kr=new RegExp(String[_0x3401ce(0x3df)]`(?:^|\W)\$?[A-Z]{1,3}\$?\d+(?::\$?[A-Z]{1,3}\$?\d+)?(?:$|\W)`),qr=/\{([^}]+)\}/g,Jr=new RegExp(String[_0x3401ce(0x3df)]`\b([A-Z_]\w*)\[([^\]]+)\]`,'gi'),Yr=new RegExp(String[_0x3401ce(0x3df)]`(^|[^\w\][])\[([^\]]+)\]`,'g');var Xr=class{[_0x3401ce(0x217)](_0x352451,_0x2f725d=_0x352451['id']){const _0xb436e7=_0x3401ce;return{'sheetId':_0x2f725d,'titleMap':new Map(_0x352451[_0xb436e7(0x264)][_0xb436e7(0x1d3)]((_0x379be9,_0xeb32f8)=>{const _0x2a8faa=_0xb436e7;var _0x3b059c,_0x40eca9;return[(_0x3b059c=(_0x40eca9=_0x352451['fields'][_0x379be9])==null?void 0x0:_0x40eca9[_0x2a8faa(0x1fe)])==null?_0x379be9:_0x3b059c,_0xeb32f8];})),'range':{'startRow':0x0,'endRow':Object[_0xb436e7(0x288)](_0x352451[_0xb436e7(0x320)])[_0xb436e7(0x2db)](_0x4eaf69=>!_0x4eaf69[_0xb436e7(0x219)])[_0xb436e7(0x2b1)],'startColumn':0x0,'endColumn':Math['max'](0x0,_0x352451[_0xb436e7(0x264)][_0xb436e7(0x2b1)]-0x1)}};}['registerSuperTable'](_0x5c244e,_0x513cf0,_0x3c3e72,_0x684230={}){const _0x1e114b=_0x3401ce;var _0x7bec20;let _0x35efd9=this['createSuperTableReference'](_0x3c3e72,(_0x7bec20=_0x684230[_0x1e114b(0x269)])==null?_0x3c3e72['id']:_0x7bec20);return new Set([_0x3c3e72['id'],_0x3c3e72[_0x1e114b(0x1fe)],_0x684230['tableName']]['filter'](_0x2fcd31=>!!_0x2fcd31))[_0x1e114b(0x3f4)](_0x4f7a33=>_0x5c244e[_0x1e114b(0x2f3)](_0x513cf0,_0x4f7a33,_0x35efd9)),_0x35efd9;}['registerSuperTables'](_0x1e7bf2,_0x39fe7){const _0x100b4f=_0x3401ce;let _0x4cbb12=[],_0x337c16=new Map();return Object['values'](_0x39fe7[_0x100b4f(0x391)])[_0x100b4f(0x2db)](_0x16416d=>!_0x16416d[_0x100b4f(0x219)])[_0x100b4f(0x3f4)](_0xc69ad3=>{const _0x324d53=_0x100b4f;var _0xccec8e;let _0x15c121=_0xc69ad3[_0x324d53(0x1fe)][_0x324d53(0x297)]()[_0x324d53(0x242)]();_0x337c16[_0x324d53(0x270)](_0x15c121,((_0xccec8e=_0x337c16[_0x324d53(0x192)](_0x15c121))==null?0x0:_0xccec8e)+0x1);}),Object[_0x100b4f(0x288)](_0x39fe7[_0x100b4f(0x391)])[_0x100b4f(0x2db)](_0x4b0d09=>!_0x4b0d09['deleted'])[_0x100b4f(0x3f4)](_0x1e0841=>{const _0x4b67b8=_0x100b4f;var _0x2256af;let _0x46f6c5=this[_0x4b67b8(0x217)](_0x1e0841,_0x1e0841['id']);_0x1e7bf2[_0x4b67b8(0x2f3)](_0x39fe7['id'],_0x1e0841['id'],_0x46f6c5),((_0x2256af=_0x337c16['get'](_0x1e0841[_0x4b67b8(0x1fe)][_0x4b67b8(0x297)]()['toLowerCase']()))==null?0x0:_0x2256af)===0x1&&_0x1e7bf2[_0x4b67b8(0x2f3)](_0x39fe7['id'],_0x1e0841[_0x4b67b8(0x1fe)],_0x46f6c5),_0x4cbb12[_0x4b67b8(0x2b5)](_0x46f6c5);}),_0x4cbb12;}['validateFormula'](_0x5e2706,_0x4640d5,_0x36eb59={}){const _0x500e7a=_0x3401ce;let _0x3a43e0=_0x5e2706[_0x500e7a(0x297)]();if(!_0x3a43e0)return{'valid':!0x0};if(Kr[_0x500e7a(0x19b)](_0x3a43e0))return{'valid':!0x1,'reason':_0x500e7a(0x23b)};for(let _0x221935 of ei(_0x3a43e0)){let _0x21f6f3=ii(_0x221935,_0x4640d5,_0x36eb59[_0x500e7a(0x382)]);if(!_0x21f6f3[_0x500e7a(0x39c)])return{'valid':!0x1,'reason':'[BaseFormula]:\x20table\x20\x22'+_0x221935[_0x500e7a(0x383)]+_0x500e7a(0x183)};if(!_0x21f6f3['field'])return{'valid':!0x1,'reason':_0x500e7a(0x263)+_0x221935[_0x500e7a(0x23c)]+_0x500e7a(0x183)};}return{'valid':!0x0};}['getDependencies'](_0x5d830b,_0xd6c914,_0x5017eb={}){const _0x1fc21f=_0x3401ce;let _0x4af37d=new Set();for(let _0x5e530a of this[_0x1fc21f(0x2c2)](_0x5d830b,_0xd6c914,_0x5017eb))_0x5e530a[_0x1fc21f(0x18a)]===_0xd6c914['id']&&_0x4af37d[_0x1fc21f(0x221)](_0x5e530a[_0x1fc21f(0x409)]);return Array[_0x1fc21f(0x33e)](_0x4af37d);}['getStructuredDependencies'](_0xe6bed6,_0xce4dec,_0x2e4423={}){const _0x20b4e8=_0x3401ce;let _0x95108a=new Map();for(let _0x3f7083 of ei(_0xe6bed6)){let _0x395da9=ii(_0x3f7083,_0xce4dec,_0x2e4423['snapshot']);if(!_0x395da9['table']||!_0x395da9[_0x20b4e8(0x1a4)])continue;let _0x1048eb=_0x395da9[_0x20b4e8(0x39c)]['id']+'\x1f'+_0x395da9[_0x20b4e8(0x1a4)]['id'];_0x95108a[_0x20b4e8(0x270)](_0x1048eb,{'tableId':_0x395da9[_0x20b4e8(0x39c)]['id'],'fieldId':_0x395da9['field']['id']});}return Array[_0x20b4e8(0x33e)](_0x95108a[_0x20b4e8(0x288)]());}};function Zr(_0x597e9a){const _0x455009=_0x3401ce;let _0x992c9c={},_0x189407={},_0x354edc={[_0x597e9a['id']]:{}},_0x16a619={[_0x597e9a['id']]:{}};return _0x992c9c[_0x597e9a['id']]={},_0x189407[_0x597e9a['id']]={},Object['values'](_0x597e9a[_0x455009(0x391)])[_0x455009(0x2db)](_0x56964d=>!_0x56964d[_0x455009(0x219)])[_0x455009(0x3f4)](_0x59eae3=>{const _0x378a8d=_0x455009;var _0x56a786,_0x324527,_0x1dbe92;let _0x2c9b0d=C(_0x59eae3),_0x4bc881=new _0x358cd4(),_0x2816ee={};(_0x56a786=_0x2c9b0d[_0x378a8d(0x275)])==null||_0x56a786[_0x378a8d(0x3f4)]((_0x24803e,_0x76b444)=>{const _0x1c650b=_0x378a8d;let _0x43cfa2=_0x2c9b0d[_0x1c650b(0x320)][_0x24803e];!_0x43cfa2||_0x43cfa2[_0x1c650b(0x219)]||_0x2c9b0d['fieldOrder']['forEach']((_0x139878,_0x140abd)=>{const _0x273369=_0x1c650b;let _0x2212bf=_0x2c9b0d[_0x273369(0x204)][_0x139878];if(!_0x2212bf||_0x2212bf['deleted'])return;let _0x3869d9=xe(_0x2c9b0d,_0x24803e,_0x139878);if(_0x3869d9!==void 0x0&&_0x4bc881[_0x273369(0x1d0)](_0x76b444,_0x140abd,w(_0x3869d9,_0x2212bf)),_0x2212bf[_0x273369(0x1b1)]==='formula'){var _0x251f6d,_0x4af9b2;let _0x1988af=String((_0x251f6d=(_0x4af9b2=_0x2212bf['config'])==null?void 0x0:_0x4af9b2[_0x273369(0x291)])==null?'':_0x251f6d)[_0x273369(0x297)]();_0x1988af&&(_0x2816ee[_0x76b444]!=null||(_0x2816ee[_0x76b444]={}),_0x2816ee[_0x76b444][_0x140abd]={'f':ti(_0x1988af,_0x2c9b0d,_0x597e9a),'si':_0x2212bf['id']});}});}),_0x992c9c[_0x597e9a['id']][_0x2c9b0d['id']]=_0x2816ee,_0x189407[_0x597e9a['id']][_0x2c9b0d['id']]={'cellData':_0x4bc881,'rowCount':(_0x324527=(_0x1dbe92=_0x2c9b0d['recordOrder'])==null?void 0x0:_0x1dbe92[_0x378a8d(0x2db)](_0x82e521=>{const _0x24823e=_0x378a8d;var _0x149eea;return!((_0x149eea=_0x2c9b0d['records'][_0x82e521])!=null&&_0x149eea[_0x24823e(0x219)]);})[_0x378a8d(0x2b1)])==null?0x0:_0x324527,'columnCount':_0x2c9b0d[_0x378a8d(0x264)][_0x378a8d(0x2db)](_0x566aea=>{const _0xb1aa90=_0x378a8d;var _0x3de024;return!((_0x3de024=_0x2c9b0d['fields'][_0x566aea])!=null&&_0x3de024[_0xb1aa90(0x219)]);})[_0x378a8d(0x2b1)],'rowData':{},'columnData':{}},_0x16a619[_0x597e9a['id']][_0x2c9b0d[_0x378a8d(0x1fe)]]=_0x2c9b0d['id'];}),{'formulaData':_0x992c9c,'allUnitData':_0x189407,'unitStylesData':_0x354edc,'unitSheetNameMap':_0x16a619};}function Qr(_0x1ec279,_0x1ecf3c){const _0x3bc8e8=_0x3401ce;var _0x13df90;let _0x27cbce=[],_0x5df86b=(_0x13df90=_0x1ecf3c[_0x3bc8e8(0x38c)])==null?void 0x0:_0x13df90[_0x1ec279['id']];return _0x5df86b&&Object[_0x3bc8e8(0x184)](_0x5df86b)['forEach'](([_0x4d1292,_0x4310aa])=>{const _0x3d561d=_0x3bc8e8;let _0x2d4c05=_0x1ec279[_0x3d561d(0x391)][_0x4d1292];if(!_0x2d4c05||_0x2d4c05[_0x3d561d(0x219)]||!_0x4310aa)return;let _0x3afc12=C(_0x2d4c05),_0x4de8ba=[];Object['entries'](_0x4310aa)[_0x3d561d(0x3f4)](([_0x17e518,_0x3eae90])=>{const _0xe774b=_0x3d561d;let _0x432dae=Number(_0x17e518);_0x3eae90&&Object[_0xe774b(0x184)](_0x3eae90)[_0xe774b(0x3f4)](([_0x1c1d87,_0x493974])=>{const _0x5dbd8f=_0xe774b;var _0x3fb009,_0x41b388,_0x154fe6,_0x325130,_0x2cd730,_0x1cd73e,_0x2a0367,_0x684c80;let _0x1155b9=Number(_0x1c1d87),_0x4f7bca=(_0x3fb009=_0x3afc12[_0x5dbd8f(0x21e)])==null?void 0x0:_0x3fb009[_0x432dae],_0x28181a=_0x4f7bca?_0x3afc12[_0x5dbd8f(0x320)][_0x4f7bca]:null;if(!_0x28181a||_0x28181a[_0x5dbd8f(0x219)])return;let _0x18f89f=(_0x41b388=_0x3afc12[_0x5dbd8f(0x359)])==null?void 0x0:_0x41b388[_0x1155b9],_0x4fa61f=_0x18f89f?_0x3afc12[_0x5dbd8f(0x204)][_0x18f89f]:null;if(!_0x4fa61f||_0x4fa61f[_0x5dbd8f(0x219)]||_0x4fa61f[_0x5dbd8f(0x1b1)]!==_0x5dbd8f(0x291))return;let _0x3307f4=String((_0x154fe6=(_0x325130=_0x4fa61f['config'])==null?void 0x0:_0x325130[_0x5dbd8f(0x291)])==null?'':_0x154fe6)['trim'](),_0x43763b=_0x432dae===0x0&&_0x3307f4?{..._0x493974==null?{}:_0x493974,'v':(_0x2cd730=_0x493974==null?void 0x0:_0x493974['v'])==null?null:_0x2cd730,'t':$r((_0x1cd73e=_0x493974==null?void 0x0:_0x493974['v'])==null?null:_0x1cd73e),'f':_0x3307f4,'si':_0x4fa61f['id']}:{..._0x493974==null?{}:_0x493974,'v':(_0x2a0367=_0x493974==null?void 0x0:_0x493974['v'])==null?null:_0x2a0367,'t':$r((_0x684c80=_0x493974==null?void 0x0:_0x493974['v'])==null?null:_0x684c80),'si':_0x4fa61f['id']};_0x4de8ba['push']({'row':_0x432dae,'col':_0x1155b9,'value':_0x43763b});});}),_0x4de8ba['length']&&_0x27cbce[_0x3d561d(0x2b5)]({'unitId':_0x1ec279['id'],'tableId':_0x4d1292,'patches':_0x4de8ba});}),_0x27cbce;}function $r(_0x21f416){const _0x4e55ac=_0x3401ce;return typeof _0x21f416==_0x4e55ac(0x1e4)?_0x44215b[_0x4e55ac(0x3fd)]:typeof _0x21f416=='boolean'?_0x44215b[_0x4e55ac(0x2d8)]:typeof _0x21f416==_0x4e55ac(0x3f7)?_0x44215b[_0x4e55ac(0x1ec)]:null;}function ei(_0x32bb82){const _0x2ade62=_0x3401ce;let _0x4ce2ca=new Map();for(let _0x39b13f of _0x32bb82[_0x2ade62(0x3a7)](qr)){let _0x1bbf67={'fieldName':_0x39b13f[0x1]};_0x4ce2ca[_0x2ade62(0x270)]('\x1f'+_0x1bbf67['fieldName'],_0x1bbf67);}for(let _0x424f52 of _0x32bb82[_0x2ade62(0x3a7)](Jr)){let _0x1df0f2={'tableName':_0x424f52[0x1],'fieldName':_0x424f52[0x2]};_0x4ce2ca[_0x2ade62(0x270)](_0x1df0f2[_0x2ade62(0x383)]+'\x1f'+_0x1df0f2[_0x2ade62(0x23c)],_0x1df0f2);}for(let _0x356198 of _0x32bb82['matchAll'](Yr)){let _0x22fce7={'fieldName':_0x356198[0x2]};_0x4ce2ca[_0x2ade62(0x270)]('\x1f'+_0x22fce7[_0x2ade62(0x23c)],_0x22fce7);}return Array[_0x2ade62(0x33e)](_0x4ce2ca[_0x2ade62(0x288)]());}function ti(_0x49f851,_0x31396c,_0x41f39e){const _0x23727c=_0x3401ce;let _0x233f0d=[],_0x5e1b3c=_0x5c9211=>_0x23727c(0x2dd)+(_0x233f0d[_0x23727c(0x2b5)](_0x5c9211)-0x1)+'__';return _0x49f851[_0x23727c(0x2a6)](qr,(_0x46e61e,_0x42c4b6)=>_0x5e1b3c(ri(_0x31396c,_0x42c4b6,_0x41f39e)))[_0x23727c(0x2a6)](Jr,(_0x4f3035,_0x404e02,_0x2d1a1d)=>{let _0x44e36f=ai(_0x404e02,_0x31396c,_0x41f39e);return _0x44e36f?_0x5e1b3c(ri(_0x44e36f,_0x2d1a1d,_0x41f39e)):_0x404e02+'['+_0x2d1a1d+']';})['replace'](Yr,(_0x506b56,_0x131ae2,_0x1c6ad1)=>''+_0x131ae2+_0x5e1b3c(ri(_0x31396c,_0x1c6ad1,_0x41f39e)))[_0x23727c(0x2a6)](/__BASE_FORMULA_REF_(\d+)__/g,(_0xd31010,_0x1ba388)=>{var _0x30608e;return(_0x30608e=_0x233f0d[Number(_0x1ba388)])==null?'':_0x30608e;});}function ni(_0x30c31d,_0x2207b9){const _0x27c281=_0x3401ce;return Object[_0x27c281(0x288)](_0x2207b9[_0x27c281(0x391)])[_0x27c281(0x2db)](_0x49bf23=>!_0x49bf23[_0x27c281(0x219)]&&_0x49bf23[_0x27c281(0x1fe)]===_0x30c31d[_0x27c281(0x1fe)])['length']===0x1?_0x30c31d['name']:_0x30c31d['id'];}function ri(_0x7b06a6,_0x26fb02,_0x1c5e3a){const _0x51be66=_0x3401ce;return ni(_0x7b06a6,_0x1c5e3a)+_0x51be66(0x390)+_0x26fb02+']]';}function ii(_0x215273,_0x54d22e,_0x1f27db){const _0x7d5d88=_0x3401ce;let _0x6c258a=ai(_0x215273[_0x7d5d88(0x383)],_0x54d22e,_0x1f27db);return{'table':_0x6c258a,'field':_0x6c258a?Object[_0x7d5d88(0x288)](_0x6c258a[_0x7d5d88(0x204)])['find'](_0x209039=>_0x209039[_0x7d5d88(0x1fe)]===_0x215273[_0x7d5d88(0x23c)]&&!_0x209039[_0x7d5d88(0x219)]):void 0x0};}function ai(_0x5bc6eb,_0x4d14c9,_0x22e147){const _0x24062e=_0x3401ce;if(!_0x5bc6eb||_0x5bc6eb===_0x24062e(0x39c)||_0x5bc6eb===_0x4d14c9['id']||_0x5bc6eb===_0x4d14c9[_0x24062e(0x1fe)])return _0x4d14c9;if(!_0x22e147)return;let _0x4c5ee2=_0x22e147[_0x24062e(0x391)][_0x5bc6eb];if(_0x4c5ee2&&!_0x4c5ee2[_0x24062e(0x219)])return _0x4c5ee2;let _0x224db7=Object[_0x24062e(0x288)](_0x22e147[_0x24062e(0x391)])[_0x24062e(0x2db)](_0x23e697=>!_0x23e697[_0x24062e(0x219)]&&_0x23e697['name']===_0x5bc6eb);return _0x224db7[_0x24062e(0x2b1)]===0x1?_0x224db7[0x0]:void 0x0;}let X=class extends _0x4b5308{constructor(_0x245a00,_0x118937,_0x5881fc){const _0x215b58=_0x3401ce;super(),this[_0x215b58(0x3c4)]=_0x245a00,this[_0x215b58(0x3dd)]=_0x118937,this[_0x215b58(0x2ca)]=_0x5881fc,R(this,_0x215b58(0x3d9),new Xr()),R(this,'_applyingFormulaResults',!0x1),this['_initialize']();}[_0x3401ce(0x265)](){const _0x4fcf91=_0x3401ce;this[_0x4fcf91(0x2ca)]['getAllUnitsForType'](_0x28d586[_0x4fcf91(0x3ec)])[_0x4fcf91(0x3f4)](_0x1fa5ac=>{const _0x43501c=_0x4fcf91;this[_0x43501c(0x2f8)](_0x1fa5ac),this[_0x43501c(0x2ec)](_0x1fa5ac),this[_0x43501c(0x1d9)]({'forceCalculation':!0x0});}),this[_0x4fcf91(0x186)](this['_univerInstanceService'][_0x4fcf91(0x25d)](_0x28d586[_0x4fcf91(0x3ec)])[_0x4fcf91(0x155)](({unit:_0x467a13})=>{const _0x517888=_0x4fcf91;this[_0x517888(0x2f8)](_0x467a13),this[_0x517888(0x2ec)](_0x467a13),this[_0x517888(0x1d9)]({'forceCalculation':!0x0});})),this[_0x4fcf91(0x186)](this[_0x4fcf91(0x3dd)]['onCommandExecuted'](_0x42561b=>this[_0x4fcf91(0x1e7)](_0x42561b)));}[_0x3401ce(0x1e7)](_0x242330){const _0x187c0c=_0x3401ce;if(_0x242330['id']===_0xd732b0['id']){this['_applyFormulaResult'](_0x242330['params']);return;}if(this[_0x187c0c(0x408)]||_0x242330['id']!==Y['id'])return;let _0x1b831e=_0x242330[_0x187c0c(0x319)];(_0x1b831e!=null&&_0x1b831e[_0x187c0c(0x3c8)]?[this[_0x187c0c(0x2ca)][_0x187c0c(0x399)](_0x1b831e[_0x187c0c(0x3c8)],_0x28d586['UNIVER_BASE'])][_0x187c0c(0x2db)](_0x11201a=>!!_0x11201a):this[_0x187c0c(0x2ca)]['getAllUnitsForType'](_0x28d586[_0x187c0c(0x3ec)]))[_0x187c0c(0x3f4)](_0x41b8cb=>{const _0x3e71b3=_0x187c0c;this['_shouldSyncFormulaData'](_0x242330,_0x41b8cb)&&(this[_0x3e71b3(0x2f8)](_0x41b8cb),this[_0x3e71b3(0x2ec)](_0x41b8cb)),this['_requestCalculation'](this[_0x3e71b3(0x33d)](_0x242330,_0x41b8cb));});}[_0x3401ce(0x3b1)](_0x399862,_0x44b087){const _0x4d7fa9=_0x3401ce;var _0xa59320;if(_0x399862['id']!==Y['id'])return!0x1;let _0x2f0272=(_0xa59320=_0x399862['params'])==null?void 0x0:_0xa59320['op'];return _0x2f0272?Hr(_0x2f0272)[_0x4d7fa9(0x341)](_0x17664c=>_0x17664c[_0x4d7fa9(0x35d)]===_0x4d7fa9(0x3ad)?!_0x44b087[_0x4d7fa9(0x327)]()[_0x4d7fa9(0x391)][_0x17664c[_0x4d7fa9(0x18a)]]:!0x0):!0x0;}[_0x3401ce(0x2f8)](_0x3c5875){const _0x1448e2=_0x3401ce;let _0x483aae=this['_getSuperTableService']();_0x483aae&&this[_0x1448e2(0x3d9)][_0x1448e2(0x3e0)](_0x483aae,_0x3c5875['getSnapshot']());}[_0x3401ce(0x1d9)](_0x55ccf0={}){const _0x43d810=_0x3401ce;this[_0x43d810(0x3dd)][_0x43d810(0x27f)](_0x78da86['id'],{'dirtyRanges':[],'dirtyNameMap':{},'dirtyDefinedNameMap':{},'dirtySuperTableMap':{},'dirtyUnitFeatureMap':{},'dirtyUnitOtherFormulaMap':{},'clearDependencyTreeCache':{},'forceCalculation':!0x1,'options':null,..._0x55ccf0},{'onlyLocal':!0x0})[_0x43d810(0x1a3)](()=>void 0x0);}[_0x3401ce(0x2ec)](_0x47ef10){const _0x2b4a84=_0x3401ce;let _0x11ef2e=Zr(_0x47ef10['getSnapshot']());this['_commandService'][_0x2b4a84(0x27f)](_0x581d70['id'],{'formulaData':_0x11ef2e[_0x2b4a84(0x28b)]},{'onlyLocal':!0x0})[_0x2b4a84(0x1a3)](()=>void 0x0);}[_0x3401ce(0x3d8)](_0x30aa40){const _0x4dc467=_0x3401ce;let _0x4c0089=this[_0x4dc467(0x2ca)][_0x4dc467(0x364)](_0x28d586[_0x4dc467(0x3ec)])[_0x4dc467(0x278)](_0x340fc7=>Qr(_0x340fc7[_0x4dc467(0x327)](),_0x30aa40));if(!_0x4c0089[_0x4dc467(0x2b1)])return;let _0x1201d9=new I();this[_0x4dc467(0x408)]=!0x0,(async()=>{const _0x1fccff=_0x4dc467;for(let _0x219224 of _0x4c0089){let _0x3e8547=this[_0x1fccff(0x2ca)][_0x1fccff(0x399)](_0x219224[_0x1fccff(0x3c8)],_0x28d586[_0x1fccff(0x3ec)]);_0x3e8547&&await this['_commandService'][_0x1fccff(0x27f)](Y['id'],{'unitId':_0x219224[_0x1fccff(0x3c8)],'op':_0x1201d9[_0x1fccff(0x1c7)](_0x3e8547[_0x1fccff(0x327)](),_0x219224[_0x1fccff(0x18a)],_0x219224['patches']),'trigger':_0xd732b0['id']},{'onlyLocal':!0x0});}})()[_0x4dc467(0x168)](()=>{const _0x485a00=_0x4dc467;this[_0x485a00(0x408)]=!0x1;});}[_0x3401ce(0x1b3)](){try{return this['_injector']['get'](_0x3d817d);}catch{return null;}}[_0x3401ce(0x33d)](_0x3f7046,_0x3dec9d){const _0x5d9b2b=_0x3401ce;return _0x3f7046['id']===Y['id']?this[_0x5d9b2b(0x22b)](_0x3f7046[_0x5d9b2b(0x319)],_0x3dec9d):this['_createStructureDirtyData'](_0x3dec9d);}['_createJson1DirtyData'](_0x1b5549,_0x2addb7){const _0x2daff6=_0x3401ce;if(!_0x1b5549['op'])return this[_0x2daff6(0x213)](_0x2addb7);let _0x55bcc5=Hr(_0x1b5549['op']),_0xb3e19=this['_getStructureDirtyTableIds'](_0x55bcc5,_0x2addb7);if(_0xb3e19[_0x2daff6(0x2b1)])return this[_0x2daff6(0x213)](_0x2addb7,_0xb3e19);let _0x530e02=Object[_0x2daff6(0x184)](this[_0x2daff6(0x1a8)](_0x55bcc5,_0x2addb7))[_0x2daff6(0x278)](([_0x935752,_0x30bc71])=>Ur({'unitId':_0x2addb7[_0x2daff6(0x3d5)](),'tableId':_0x935752,'patches':_0x30bc71}));return _0x530e02[_0x2daff6(0x2b1)]?{'dirtyRanges':_0x530e02}:this['_createStructureDirtyData'](_0x2addb7);}[_0x3401ce(0x318)](_0x5eeb39,_0x620408){const _0xfb0e5d=_0x3401ce;let _0x356a4c=_0x5eeb39[_0xfb0e5d(0x2db)](_0x228c01=>_0x228c01[_0xfb0e5d(0x35d)]!=='cell')[_0xfb0e5d(0x278)](_0x41be7f=>_0x41be7f['tableId']?[_0x41be7f[_0xfb0e5d(0x18a)]]:Object[_0xfb0e5d(0x2fe)](_0x620408[_0xfb0e5d(0x327)]()['tables']));return Array[_0xfb0e5d(0x33e)](new Set(_0x356a4c));}[_0x3401ce(0x1a8)](_0x47b954,_0x8c8c49){const _0xde01e5=_0x3401ce;let _0x1eaf01=new Set();return _0x47b954[_0xde01e5(0x2e5)]((_0xcbce13,_0xddd004)=>{const _0x20526d=_0xde01e5;var _0x3c788a;let _0x31caa6=this[_0x20526d(0x1d5)](_0xddd004,_0x8c8c49);if(!_0x31caa6)return _0xcbce13;let _0x5b6f14=_0xddd004[_0x20526d(0x18a)]+':'+_0x31caa6[_0x20526d(0x2d5)]+':'+_0x31caa6[_0x20526d(0x3e2)];return _0x1eaf01[_0x20526d(0x356)](_0x5b6f14)?_0xcbce13:(_0x1eaf01[_0x20526d(0x221)](_0x5b6f14),_0xcbce13[_0xddd004[_0x20526d(0x18a)]]=(_0x3c788a=_0xcbce13[_0xddd004['tableId']])==null?[]:_0x3c788a,_0xcbce13[_0xddd004[_0x20526d(0x18a)]]['push'](_0x31caa6),_0xcbce13);},{});}['_toDirtyRangePatch'](_0x387381,_0x188e28){const _0x26e32a=_0x3401ce;if(_0x387381[_0x26e32a(0x35d)]!==_0x26e32a(0x3ad))return null;if(_0x387381[_0x26e32a(0x2d5)]!=null&&_0x387381['column']!=null)return{'row':_0x387381[_0x26e32a(0x2d5)],'col':_0x387381[_0x26e32a(0x311)],'value':null};let _0x39dac1=_0x188e28[_0x26e32a(0x327)]()['tables'][_0x387381[_0x26e32a(0x18a)]];if(!_0x39dac1||!_0x387381[_0x26e32a(0x163)]||!_0x387381[_0x26e32a(0x409)])return null;let _0x33b6d8=ye(_0x39dac1,_0x387381[_0x26e32a(0x163)],_0x387381['fieldId']);return _0x33b6d8?{'row':_0x33b6d8[_0x26e32a(0x2d5)],'col':_0x33b6d8['col'],'value':null}:null;}[_0x3401ce(0x213)](_0x4860af,_0x4e4f2a){const _0x5d56a6=_0x3401ce;let _0x778bdf=_0x4e4f2a==null?Object[_0x5d56a6(0x288)](_0x4860af[_0x5d56a6(0x327)]()['tables'])[_0x5d56a6(0x2db)](_0x1efc5e=>!_0x1efc5e[_0x5d56a6(0x219)])[_0x5d56a6(0x1d3)](_0xb98b7d=>_0xb98b7d['id']):_0x4e4f2a,_0x3f1a6f=Wr(_0x4860af[_0x5d56a6(0x3d5)](),_0x778bdf);return{'dirtySuperTableMap':_0x3f1a6f,'clearDependencyTreeCache':_0x3f1a6f,'forceCalculation':!0x0};}};X=U([H(0x0,_0x501764(_0x736133)),H(0x1,_0x27a4ab),H(0x2,_0x594baa)],X);let oi=class extends _0x4b5308{constructor(_0x93e66e,_0x3a874a,_0x4522d2){const _0x54859c=_0x3401ce;super(),this[_0x54859c(0x3dd)]=_0x93e66e,this[_0x54859c(0x2ca)]=_0x3a874a,this[_0x54859c(0x1b0)]=_0x4522d2,R(this,_0x54859c(0x3d9),new Xr()),this['_initialize']();}[_0x3401ce(0x265)](){const _0x310fb4=_0x3401ce;this[_0x310fb4(0x2ca)][_0x310fb4(0x364)](_0x28d586[_0x310fb4(0x3ec)])['forEach'](_0x50324f=>{this['_registerSuperTables'](_0x50324f);}),this[_0x310fb4(0x186)](this[_0x310fb4(0x2ca)][_0x310fb4(0x25d)](_0x28d586[_0x310fb4(0x3ec)])['subscribe'](({unit:_0x1c6809})=>{const _0x3f14e0=_0x310fb4;this[_0x3f14e0(0x2f8)](_0x1c6809);})),this['disposeWithMe'](this[_0x310fb4(0x3dd)]['onCommandExecuted'](_0x11e432=>this[_0x310fb4(0x1e7)](_0x11e432)));}[_0x3401ce(0x1e7)](_0x449112){const _0x48c095=_0x3401ce;if(!this[_0x48c095(0x28e)](_0x449112))return;let _0x5fa330=_0x449112['params'];(_0x5fa330!=null&&_0x5fa330['unitId']?[this[_0x48c095(0x2ca)][_0x48c095(0x399)](_0x5fa330[_0x48c095(0x3c8)],_0x28d586[_0x48c095(0x3ec)])]['filter'](_0x4903e4=>!!_0x4903e4):this[_0x48c095(0x2ca)]['getAllUnitsForType'](_0x28d586['UNIVER_BASE']))['forEach'](_0x1b8089=>this[_0x48c095(0x2f8)](_0x1b8089));}['_shouldRefreshSuperTables'](_0x44b557){const _0x123614=_0x3401ce;var _0x4914d2;if(_0x44b557['id']!==Y['id'])return!0x1;let _0x578bf8=(_0x4914d2=_0x44b557['params'])==null?void 0x0:_0x4914d2['op'];return!_0x578bf8||Hr(_0x578bf8)[_0x123614(0x341)](_0x28cee2=>_0x28cee2[_0x123614(0x35d)]!=='cell');}[_0x3401ce(0x2f8)](_0x2f28fd){const _0x2171ea=_0x3401ce;this[_0x2171ea(0x1b0)]&&this['_formulaService']['registerSuperTables'](this[_0x2171ea(0x1b0)],_0x2f28fd['getSnapshot']());}};oi=U([H(0x0,_0x27a4ab),H(0x1,_0x594baa),H(0x2,_0x6b4241(_0x3d817d))],oi);const si=_0x53452b(_0x3401ce(0x304));let ci=class{constructor(_0x38bedd){const _0x4beaed=_0x3401ce;this[_0x4beaed(0x2ca)]=_0x38bedd;}[_0x3401ce(0x360)](_0x2f49b6){const _0x402863=_0x3401ce;var _0x2d913b;return(_0x2d913b=this[_0x402863(0x2ca)][_0x402863(0x399)](_0x2f49b6,_0x28d586[_0x402863(0x3ec)]))==null?null:_0x2d913b;}[_0x3401ce(0x259)](){const _0x513844=_0x3401ce;return this[_0x513844(0x2ca)][_0x513844(0x364)](_0x28d586[_0x513844(0x3ec)]);}['createBase'](_0x492a06){const _0x47af69=_0x3401ce;return this['_univerInstanceService'][_0x47af69(0x1cb)](_0x28d586[_0x47af69(0x3ec)],_0x492a06);}};ci=U([H(0x0,_0x594baa)],ci);const li=_0x53452b(_0x3401ce(0x3cc));var ui=class extends _0x4b5308{constructor(..._0x1f9faa){const _0x34984b=_0x3401ce;super(..._0x1f9faa),R(this,_0x34984b(0x350),new Map());}[_0x3401ce(0x2e7)](_0x41957f){const _0x1cbc8f=_0x3401ce;return this[_0x1cbc8f(0x350)][_0x1cbc8f(0x270)](_0x41957f[_0x1cbc8f(0x1b1)],_0x41957f),_0x200b81(()=>this[_0x1cbc8f(0x350)][_0x1cbc8f(0x1d6)](_0x41957f[_0x1cbc8f(0x1b1)]));}[_0x3401ce(0x192)](_0x930749){const _0xd188f0=_0x3401ce;let _0x2cccb7=this[_0xd188f0(0x350)]['get'](_0x930749);if(!_0x2cccb7)throw Error('[BaseViewRegistryService]:\x20view\x20type\x20\x22'+_0x930749+_0xd188f0(0x3b0));return _0x2cccb7;}[_0x3401ce(0x188)](){const _0x53cb93=_0x3401ce;return Array[_0x53cb93(0x33e)](this['_plugins'][_0x53cb93(0x288)]());}};const di=[Y];let Z=class extends _0xdb962{constructor(_0x41f503=Br,_0x5edfe4,_0x45815f,_0x3aa882,_0x4c0345,_0x3a61b0){const _0x2e397f=_0x3401ce;super(),this[_0x2e397f(0x182)]=_0x41f503,this[_0x2e397f(0x3c4)]=_0x5edfe4,this[_0x2e397f(0x3dd)]=_0x45815f,this[_0x2e397f(0x2ca)]=_0x3aa882,this[_0x2e397f(0x30d)]=_0x4c0345,this['_dataSyncPrimaryController']=_0x3a61b0,R(this,_0x2e397f(0x1f9),new Map());let {..._0x3b6f98}=_0x302022({},Br,this['_config']);this[_0x2e397f(0x30d)][_0x2e397f(0x3f1)]('bases.config',_0x3b6f98),this['_univerInstanceService'][_0x2e397f(0x1b5)](_0x28d586[_0x2e397f(0x3ec)],_0x214695),this[_0x2e397f(0x1fc)](),this[_0x2e397f(0x2bc)](),this['_initRegistries'](),this['_initDataSync']();}['onReady'](){const _0x397172=_0x3401ce;_0x4ff5ed(this['_injector'],[[ci],[qt],[Gr],[X]]),this[_0x397172(0x2ca)][_0x397172(0x364)](_0x28d586['UNIVER_BASE'])[_0x397172(0x3f4)](_0x3085eb=>this[_0x397172(0x384)](_0x3085eb[_0x397172(0x3d5)]()));}[_0x3401ce(0x1fc)](){const _0x1b80f4=_0x3401ce;[[z,{'useClass':Wt}],[li,{'useClass':ui}],[an,{'useClass':sn}],[si,{'useClass':ci}],[Gt,{'useClass':Kt}],[W,{'useClass':qt}],[Gr],[X]]['forEach'](_0x5e8f16=>this[_0x1b80f4(0x3c4)]['add'](_0x5e8f16));}['_initCommands'](){const _0x5b7664=_0x3401ce;[Vn,mr,ar,Tr,vr,_r,Bn,In,ir,Ln,cr,kr,zn,sr,Dr,Er,Rn,rr,fr,nr,lr,hr,or,pr,Ar,gr,Or,Sr,wr,Cr,br,xr,yr,...di]['forEach'](_0x4f064b=>this['disposeWithMe'](this[_0x5b7664(0x3dd)][_0x5b7664(0x17d)](_0x4f064b))),di[_0x5b7664(0x3f4)](_0x39dac9=>{const _0x4c9ed7=_0x5b7664;var _0x4a52cd;return(_0x4a52cd=this[_0x4c9ed7(0x280)])==null?void 0x0:_0x4a52cd[_0x4c9ed7(0x2f2)](_0x39dac9);});}['_initDataSync'](){const _0x9ba0c=_0x3401ce;this['_dataSyncPrimaryController']&&(this[_0x9ba0c(0x186)](this[_0x9ba0c(0x2ca)]['getTypeOfUnitAdded$'](_0x28d586[_0x9ba0c(0x3ec)])['subscribe'](({unit:_0x2437cb})=>{const _0x2d4639=_0x9ba0c;this[_0x2d4639(0x384)](_0x2437cb[_0x2d4639(0x3d5)]());})),this[_0x9ba0c(0x186)](this[_0x9ba0c(0x2ca)][_0x9ba0c(0x1a9)](_0x28d586[_0x9ba0c(0x3ec)])[_0x9ba0c(0x155)](_0x2f0a9f=>{const _0x500a02=_0x9ba0c;var _0x33957f;(_0x33957f=this[_0x500a02(0x1f9)][_0x500a02(0x192)](_0x2f0a9f[_0x500a02(0x3d5)]()))==null||_0x33957f['dispose'](),this['_baseSyncDisposables'][_0x500a02(0x1d6)](_0x2f0a9f['getUnitId']());})));}['_syncBaseUnit'](_0x35ec85){const _0x2f2c3d=_0x3401ce;!this[_0x2f2c3d(0x280)]||this[_0x2f2c3d(0x1f9)][_0x2f2c3d(0x356)](_0x35ec85)||this[_0x2f2c3d(0x1f9)]['set'](_0x35ec85,this['_dataSyncPrimaryController'][_0x2f2c3d(0x348)](_0x35ec85));}[_0x3401ce(0x24f)](){const _0x4789ce=_0x3401ce;let _0x5d3b32=this[_0x4789ce(0x3c4)][_0x4789ce(0x192)](z);Ct()[_0x4789ce(0x3f4)](_0x2c7ade=>_0x5d3b32[_0x4789ce(0x2e7)](_0x2c7ade));let _0x30b65c=this[_0x4789ce(0x3c4)][_0x4789ce(0x192)](li),_0x30ae1e=this[_0x4789ce(0x3c4)][_0x4789ce(0x192)](an);$t()[_0x4789ce(0x3f4)](_0x2861ee=>{const _0x5686a4=_0x4789ce;_0x30b65c[_0x5686a4(0x2e7)](_0x2861ee),_0x30ae1e['registerView'](_0x2861ee);});}};R(Z,_0x3401ce(0x3db),_0x3401ce(0x35c)),R(Z,_0x3401ce(0x3c6),Rr),R(Z,_0x3401ce(0x336),zr),R(Z,'type',_0x28d586[_0x3401ce(0x3ec)]),Z=U([_0x51bed4(_0x513848,_0x48dab4),H(0x1,_0x501764(_0x736133)),H(0x2,_0x27a4ab),H(0x3,_0x594baa),H(0x4,_0x29d163),H(0x5,_0x6b4241(_0x242116))],Z);let Q=class extends _0xdb962{constructor(_0x90894d=Vr,_0x48604f,_0x3bde7b,_0x6308e7,_0x6aa4c2){const _0x54474c=_0x3401ce;super(),this[_0x54474c(0x182)]=_0x90894d,this['_injector']=_0x48604f,this['_commandService']=_0x3bde7b,this['_configService']=_0x6308e7,this[_0x54474c(0x2ca)]=_0x6aa4c2;let {..._0x57042a}=_0x302022({},Vr,this[_0x54474c(0x182)]);this[_0x54474c(0x30d)]['setConfig'](_0x54474c(0x2d9),_0x57042a),this['_univerInstanceService']['registerCtorForType'](_0x28d586[_0x54474c(0x3ec)],_0x214695),this['_injector'][_0x54474c(0x221)]([oi]),di['forEach'](_0x46d97f=>this[_0x54474c(0x186)](this[_0x54474c(0x3dd)][_0x54474c(0x17d)](_0x46d97f)));}[_0x3401ce(0x34a)](){const _0x51723b=_0x3401ce;_0x4ff5ed(this[_0x51723b(0x3c4)],[[oi]]);}};R(Q,_0x3401ce(0x3db),_0x3401ce(0x2de)),R(Q,'packageName',Rr),R(Q,'version',zr),R(Q,'type',_0x28d586['UNIVER_BASE']),Q=U([_0x51bed4(_0x48dab4),H(0x1,_0x501764(_0x736133)),H(0x2,_0x27a4ab),H(0x3,_0x29d163),H(0x4,_0x594baa)],Q);function fi(_0x42fca9){const _0x5b58dc=_0x3401ce;let _0x4b9285=Ti(_0x42fca9[_0x5b58dc(0x2c0)]);if(!_0x4b9285)return{'query':'','total':0x0,'matches':[]};let _0x4513eb=[],_0x485ee9=_0x42fca9[_0x5b58dc(0x1ff)][_0x5b58dc(0x1d3)]((_0xeccb76,_0x146208)=>({'field':_0x42fca9[_0x5b58dc(0x39c)]['fields'][_0xeccb76],'fieldIndex':_0x146208}))[_0x5b58dc(0x2db)](_0x4d475c=>!!(_0x4d475c[_0x5b58dc(0x1a4)]&&!_0x4d475c[_0x5b58dc(0x1a4)]['deleted']));_0x42fca9['rows']['forEach']((_0xcbeb1b,_0x15461a)=>{const _0x4da70a=_0x5b58dc;_0x485ee9[_0x4da70a(0x3f4)](({field:_0x243a95,fieldIndex:_0x319e0d})=>{const _0x3211ac=_0x4da70a;let _0x174a31=pi(_0xcbeb1b[_0x3211ac(0x288)][_0x243a95['id']],_0x243a95);if(!_0x174a31)return;let _0x279069=wi(_0x4b9285,_0x174a31[_0x3211ac(0x15a)]);_0x279069<=0x0||_0x4513eb[_0x3211ac(0x2b5)]({'recordId':_0xcbeb1b['recordId'],'fieldId':_0x243a95['id'],'fieldType':_0x243a95['type'],'text':_0x174a31['displayText'],'score':_0x279069,'rowIndex':_0x15461a,'fieldIndex':_0x319e0d});});}),_0x4513eb[_0x5b58dc(0x22f)]((_0x34644a,_0x59fbf7)=>_0x59fbf7['score']-_0x34644a['score']||_0x34644a[_0x5b58dc(0x1dd)]-_0x59fbf7[_0x5b58dc(0x1dd)]||_0x34644a[_0x5b58dc(0x30e)]-_0x59fbf7[_0x5b58dc(0x30e)]);let _0x13ca9c=_0x42fca9['limit']==null?_0x4513eb:_0x4513eb[_0x5b58dc(0x18b)](0x0,Math[_0x5b58dc(0x16c)](0x0,_0x42fca9[_0x5b58dc(0x2e4)]));return{'query':_0x4b9285,'total':_0x4513eb[_0x5b58dc(0x2b1)],'matches':_0x13ca9c[_0x5b58dc(0x1d3)](({rowIndex:_0x47ee2,fieldIndex:_0x542033,..._0x41fc24})=>_0x41fc24)};}function pi(_0x5e70b8,_0x5b816a){const _0x2e8eb5=_0x3401ce;let _0x46695c=hi(_0x5e70b8,_0x5b816a)[_0x2e8eb5(0x1d3)](Ti)[_0x2e8eb5(0x2db)](Boolean);return _0x46695c['length']?{'displayText':mi(_0x5e70b8,_0x5b816a),'searchTexts':Ei(_0x46695c)}:null;}function mi(_0x1a4702,_0x5e4af1){const _0x1817d6=_0x3401ce;switch(_0x5e4af1[_0x1817d6(0x1b1)]){case _0x1817d6(0x335):case _0x1817d6(0x380):case'group':return gi(_0x1a4702,_0x5e4af1)[_0x1817d6(0x1dc)](',\x20');case _0x1817d6(0x2ff):return yi(_0x1a4702);case _0x1817d6(0x177):case _0x1817d6(0x2d7):case _0x1817d6(0x1c8):return bi(_0x1a4702,_0x5e4af1);case _0x1817d6(0x1e4):case _0x1817d6(0x1cd):return xi(_0x1a4702,_0x5e4af1);case'progress':return Si(_0x1a4702,_0x5e4af1);case _0x1817d6(0x284):return _0x1a4702?_0x1817d6(0x218):_0x1817d6(0x3f6);case _0x1817d6(0x375):return Ci(_0x1a4702)[_0x1817d6(0x1dc)](',\x20');default:return $(_0x1a4702);}}function hi(_0x4d4f1a,_0x1ccc69){const _0x3bdc2b=_0x3401ce;switch(_0x1ccc69[_0x3bdc2b(0x1b1)]){case'singleSelect':case _0x3bdc2b(0x380):case _0x3bdc2b(0x403):{let _0x3b17d2=gi(_0x4d4f1a,_0x1ccc69),_0x3e3a12=Array['isArray'](_0x4d4f1a)?_0x4d4f1a[_0x3bdc2b(0x1d3)](String):_0x4d4f1a==null?[]:[String(_0x4d4f1a)];return[..._0x3b17d2,..._0x3e3a12];}case _0x3bdc2b(0x2ff):{let _0x233748=vi(_0x4d4f1a);return[_0x233748[_0x3bdc2b(0x1a1)],_0x233748[_0x3bdc2b(0x3af)]];}case _0x3bdc2b(0x177):case'createdAt':case _0x3bdc2b(0x1c8):return[bi(_0x4d4f1a,_0x1ccc69),$(_0x4d4f1a)];case _0x3bdc2b(0x1e4):case _0x3bdc2b(0x1cd):return[xi(_0x4d4f1a,_0x1ccc69),$(_0x4d4f1a)];case _0x3bdc2b(0x2a7):return[Si(_0x4d4f1a,_0x1ccc69),$(_0x4d4f1a)];case _0x3bdc2b(0x284):return _0x4d4f1a?['Checked',_0x3bdc2b(0x170),_0x3bdc2b(0x313)]:['Unchecked','No',_0x3bdc2b(0x2cd)];case _0x3bdc2b(0x375):return Ci(_0x4d4f1a);default:return[$(_0x4d4f1a)];}}function gi(_0x48fcf8,_0x3e515f){const _0x5a44f6=_0x3401ce;var _0x49c412;let _0x47c261=Array['isArray']((_0x49c412=_0x3e515f['config'])==null?void 0x0:_0x49c412[_0x5a44f6(0x29e)])?_0x3e515f[_0x5a44f6(0x3cb)][_0x5a44f6(0x29e)]:[];return(Array['isArray'](_0x48fcf8)?_0x48fcf8[_0x5a44f6(0x1d3)](String):_0x48fcf8==null?[]:[String(_0x48fcf8)])[_0x5a44f6(0x2db)](Boolean)['map'](_0x5a7a9d=>_i(_0x47c261,_0x5a7a9d));}function _i(_0x16b12d,_0x2e2e3a){const _0x46d4f0=_0x3401ce;for(let _0x3acc3e of _0x16b12d){if(typeof _0x3acc3e==_0x46d4f0(0x3f7)&&_0x3acc3e===_0x2e2e3a)return _0x3acc3e;if(_0x3acc3e&&typeof _0x3acc3e=='object'){var _0x5b04f3,_0x137ca4,_0x378e7b;let _0x5bd658=_0x3acc3e;if(String((_0x5b04f3=(_0x137ca4=_0x5bd658['id'])==null?_0x5bd658[_0x46d4f0(0x1fe)]:_0x137ca4)==null?'':_0x5b04f3)===_0x2e2e3a||String((_0x378e7b=_0x5bd658[_0x46d4f0(0x1fe)])==null?'':_0x378e7b)===_0x2e2e3a){var _0x4c6aa4,_0x32fe46;return String((_0x4c6aa4=(_0x32fe46=_0x5bd658[_0x46d4f0(0x1fe)])==null?_0x5bd658['id']:_0x32fe46)==null?_0x2e2e3a:_0x4c6aa4);}}}return _0x2e2e3a;}function vi(_0x399b85){const _0x38db28=_0x3401ce;if(_0x399b85&&typeof _0x399b85==_0x38db28(0x331)&&!Array['isArray'](_0x399b85)){var _0x1fcae5,_0x18a7a9,_0x204a2b;let _0x33247a=_0x399b85;return{'text':String((_0x1fcae5=(_0x18a7a9=_0x33247a[_0x38db28(0x1a1)])==null?_0x33247a['url']:_0x18a7a9)==null?'':_0x1fcae5),'url':String((_0x204a2b=_0x33247a['url'])==null?'':_0x204a2b)};}return{'text':$(_0x399b85),'url':$(_0x399b85)};}function yi(_0x31b47){const _0x59ea0c=_0x3401ce;let _0x2b6e06=vi(_0x31b47);return _0x2b6e06[_0x59ea0c(0x1a1)]||_0x2b6e06['url'];}function bi(_0xcc5d6a,_0x4d3696){const _0x272e49=_0x3401ce;return typeof _0xcc5d6a!=_0x272e49(0x1e4)||!Number[_0x272e49(0x2fd)](_0xcc5d6a)?'':tt(_0xcc5d6a,_0x4d3696[_0x272e49(0x3cb)]);}function xi(_0x521cd1,_0x5d56cc){const _0xd45ee=_0x3401ce;let _0x329e8c=typeof _0x521cd1=='number'?_0x521cd1:Number(_0x521cd1);return Number[_0xd45ee(0x2fd)](_0x329e8c)?Mr(_0x329e8c,_0x5d56cc[_0xd45ee(0x3cb)]):'';}function Si(_0x3f207d,_0x59f72b){const _0x53ab20=_0x3401ce;var _0xb97403;let _0x370320=typeof _0x3f207d==_0x53ab20(0x1e4)?_0x3f207d:Number(_0x3f207d);if(!Number[_0x53ab20(0x2fd)](_0x370320))return'';let _0x316a32=(_0xb97403=_0x59f72b[_0x53ab20(0x3cb)])==null?{}:_0xb97403,_0xb0b147=_0x316a32[_0x53ab20(0x196)]===0x1||_0x316a32[_0x53ab20(0x196)]===0x2?_0x316a32['decimalPlaces']:0x0,_0x5ad1f2=_0x370320[_0x53ab20(0x2d4)](_0xb0b147);return _0x316a32[_0x53ab20(0x166)]===_0x53ab20(0x1e4)?_0x5ad1f2:_0x5ad1f2+'%';}function Ci(_0x2c63b2){const _0x531605=_0x3401ce;return Array['isArray'](_0x2c63b2)?_0x2c63b2[_0x531605(0x278)](_0x4a195f=>{const _0x463bce=_0x531605;var _0x2c54b8,_0x439e2c;if(!_0x4a195f||typeof _0x4a195f!=_0x463bce(0x331))return[];let _0x1a4d7a=_0x4a195f,_0x3c4f0f=String((_0x2c54b8=(_0x439e2c=_0x1a4d7a[_0x463bce(0x1fe)])==null?_0x1a4d7a[_0x463bce(0x3af)]:_0x439e2c)==null?'':_0x2c54b8)[_0x463bce(0x297)]();return _0x3c4f0f?[_0x3c4f0f]:[];}):[];}function $(_0x5110c7){const _0x48e1bc=_0x3401ce;if(_0x5110c7==null)return'';if(typeof _0x5110c7==_0x48e1bc(0x2b2))return _0x5110c7?'true':_0x48e1bc(0x3bc);if(typeof _0x5110c7==_0x48e1bc(0x1e4))return String(_0x5110c7);if(Array[_0x48e1bc(0x23e)](_0x5110c7))return _0x5110c7[_0x48e1bc(0x1d3)](_0x443d62=>$(_0x443d62))[_0x48e1bc(0x2db)](Boolean)[_0x48e1bc(0x1dc)](',\x20');if(typeof _0x5110c7==_0x48e1bc(0x331)){var _0x597d14,_0x2bd1d4,_0xc71756,_0x3d6f84;let _0x4c5554=_0x5110c7;return String((_0x597d14=(_0x2bd1d4=(_0xc71756=(_0x3d6f84=_0x4c5554[_0x48e1bc(0x2f0)])==null?_0x4c5554[_0x48e1bc(0x1fe)]:_0x3d6f84)==null?_0x4c5554[_0x48e1bc(0x1a1)]:_0xc71756)==null?_0x4c5554[_0x48e1bc(0x3af)]:_0x2bd1d4)==null?'':_0x597d14)[_0x48e1bc(0x297)]();}return String(_0x5110c7);}function wi(_0x315fc5,_0x22e980){const _0x5b397b=_0x3401ce;let _0x1659d8=0x0;for(let _0x26fd30 of _0x22e980)if(_0x26fd30){if(_0x26fd30===_0x315fc5){_0x1659d8=Math['max'](_0x1659d8,0x12c);continue;}if(_0x26fd30[_0x5b397b(0x1ac)](_0x315fc5)){_0x1659d8=Math[_0x5b397b(0x16c)](_0x1659d8,0xfa);continue;}_0x26fd30['includes'](_0x315fc5)&&(_0x1659d8=Math[_0x5b397b(0x16c)](_0x1659d8,0xc8));}return _0x1659d8;}function Ti(_0x7cdd5e){const _0x164fcf=_0x3401ce;return _0x7cdd5e[_0x164fcf(0x297)]()[_0x164fcf(0x2a6)](/\s+/g,'\x20')[_0x164fcf(0x242)]();}function Ei(_0x3217ef){const _0x226df0=_0x3401ce;return Array[_0x226df0(0x33e)](new Set(_0x3217ef));}export{Y as ApplyBaseJson1Mutation,D as BaseJson1OpApplier,I as BaseJson1OpFactory,In as BatchCreateBaseRecordsCommand,Ln as BatchDeleteBaseRecordsCommand,Rn as ChangeBaseFieldTypeCommand,zn as CreateBaseFieldCommand,Bn as CreateBaseRecordCommand,Vn as CreateBaseTableCommand,nr as CreateBaseViewCommand,rr as DeleteBaseFieldCommand,ir as DeleteBaseRecordCommand,ar as DeleteBaseTableCommand,or as DeleteBaseViewCommand,sr as DuplicateBaseFieldCommand,cr as DuplicateBaseRecordCommand,lr as EnsureBaseTemporalViewDateFieldsCommand,W as IBaseCommandService,Gt as IBasePermissionService,an as IBaseProjectionService,li as IBaseViewRegistryService,fr as MoveBaseFieldCommand,pr as MoveBaseViewCommand,mr as RenameBaseTableCommand,hr as RenameBaseViewCommand,gr as SetBaseKanbanGroupFieldCommand,_r as SetBaseRangeValuesCommand,vr as SetBaseRecordValuesCommand,yr as SetBaseViewFieldOrderCommand,br as SetBaseViewFieldVisibleCommand,xr as SetBaseViewFieldWidthCommand,Sr as SetBaseViewFilterCommand,Cr as SetBaseViewGroupCommand,wr as SetBaseViewSortCommand,Z as UniverBasesPlugin,Q as UniverRemoteBasesPlugin,Tr as UpdateBaseCellCommand,Dr as UpdateBaseFieldCommand,Er as UpdateBaseFieldDescriptionCommand,Or as UpdateBaseKanbanConfigCommand,kr as UpdateBaseRecordOrderCommand,Ar as UpdateBaseViewConfigCommand,A as baseDateSerialToDateMs,Lr as copyBaseTableSnapshot,O as dateToExcelSerial,C as ensureBaseTableCellLayout,tt as formatBaseDateValue,Mr as formatBaseNumberValue,Se as getBaseCellFormulaValue,xe as getBaseCellValue,Ir as inferBaseSeparatorStyle,ot as matchesBaseCondition,k as normalizeBaseDateSerial,fi as searchBaseTable,S as traceBasePerformance,Hn as uniqueFieldName};
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};