@univerjs-pro/bases 1.0.0-alpha.7 → 1.0.0-beta.0

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 (135) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ar-SA.js +1 -1
  4. package/lib/cjs/locale/ca-ES.js +1 -1
  5. package/lib/cjs/locale/de-DE.js +1 -1
  6. package/lib/cjs/locale/en-US.js +1 -1
  7. package/lib/cjs/locale/es-ES.js +1 -1
  8. package/lib/cjs/locale/fa-IR.js +1 -1
  9. package/lib/cjs/locale/fr-FR.js +1 -1
  10. package/lib/cjs/locale/id-ID.js +1 -1
  11. package/lib/cjs/locale/it-IT.js +1 -1
  12. package/lib/cjs/locale/ja-JP.js +1 -1
  13. package/lib/cjs/locale/ko-KR.js +1 -1
  14. package/lib/cjs/locale/pl-PL.js +1 -1
  15. package/lib/cjs/locale/pt-BR.js +1 -1
  16. package/lib/cjs/locale/ru-RU.js +1 -1
  17. package/lib/cjs/locale/sk-SK.js +1 -1
  18. package/lib/cjs/locale/vi-VN.js +1 -1
  19. package/lib/cjs/locale/zh-CN.js +1 -1
  20. package/lib/cjs/locale/zh-HK.js +1 -1
  21. package/lib/cjs/locale/zh-TW.js +1 -1
  22. package/lib/es/facade.js +1 -1
  23. package/lib/es/index.js +1 -1
  24. package/lib/es/locale/ar-SA.js +1 -1
  25. package/lib/es/locale/ca-ES.js +1 -1
  26. package/lib/es/locale/de-DE.js +1 -1
  27. package/lib/es/locale/en-US.js +1 -1
  28. package/lib/es/locale/es-ES.js +1 -1
  29. package/lib/es/locale/fa-IR.js +1 -1
  30. package/lib/es/locale/fr-FR.js +1 -1
  31. package/lib/es/locale/id-ID.js +1 -1
  32. package/lib/es/locale/it-IT.js +1 -1
  33. package/lib/es/locale/ja-JP.js +1 -1
  34. package/lib/es/locale/ko-KR.js +1 -1
  35. package/lib/es/locale/pl-PL.js +1 -1
  36. package/lib/es/locale/pt-BR.js +1 -1
  37. package/lib/es/locale/ru-RU.js +1 -1
  38. package/lib/es/locale/sk-SK.js +1 -1
  39. package/lib/es/locale/vi-VN.js +1 -1
  40. package/lib/es/locale/zh-CN.js +1 -1
  41. package/lib/es/locale/zh-HK.js +1 -1
  42. package/lib/es/locale/zh-TW.js +1 -1
  43. package/lib/facade.js +1 -1
  44. package/lib/index.js +1 -1
  45. package/lib/locale/ar-SA.js +1 -1
  46. package/lib/locale/ca-ES.js +1 -1
  47. package/lib/locale/de-DE.js +1 -1
  48. package/lib/locale/en-US.js +1 -1
  49. package/lib/locale/es-ES.js +1 -1
  50. package/lib/locale/fa-IR.js +1 -1
  51. package/lib/locale/fr-FR.js +1 -1
  52. package/lib/locale/id-ID.js +1 -1
  53. package/lib/locale/it-IT.js +1 -1
  54. package/lib/locale/ja-JP.js +1 -1
  55. package/lib/locale/ko-KR.js +1 -1
  56. package/lib/locale/pl-PL.js +1 -1
  57. package/lib/locale/pt-BR.js +1 -1
  58. package/lib/locale/ru-RU.js +1 -1
  59. package/lib/locale/sk-SK.js +1 -1
  60. package/lib/locale/vi-VN.js +1 -1
  61. package/lib/locale/zh-CN.js +1 -1
  62. package/lib/locale/zh-HK.js +1 -1
  63. package/lib/locale/zh-TW.js +1 -1
  64. package/lib/types/commands/commands/batch-create-base-records.command.d.ts +2 -0
  65. package/lib/types/commands/commands/batch-delete-base-records.command.d.ts +2 -0
  66. package/lib/types/commands/commands/create-base-child-record.command.d.ts +15 -0
  67. package/lib/types/commands/commands/create-base-record.command.d.ts +2 -0
  68. package/lib/types/commands/commands/delete-base-record.command.d.ts +2 -0
  69. package/lib/types/commands/commands/duplicate-base-record.command.d.ts +2 -0
  70. package/lib/types/commands/commands/move-base-hierarchy-record.command.d.ts +17 -0
  71. package/lib/types/commands/commands/set-base-range-values.command.d.ts +8 -1
  72. package/lib/types/commands/commands/set-base-record-values.command.d.ts +2 -0
  73. package/lib/types/commands/commands/set-base-table-hierarchy-field.command.d.ts +9 -0
  74. package/lib/types/commands/commands/update-base-cell.command.d.ts +2 -0
  75. package/lib/types/commands/commands/update-base-view-conditional-color-rules.command.d.ts +32 -0
  76. package/lib/types/commands/mutations/apply-base-json1.mutation.d.ts +4 -0
  77. package/lib/types/commands/utils/base-record-creation.d.ts +18 -0
  78. package/lib/types/commands/utils/base-validation.d.ts +6 -1
  79. package/lib/types/controllers/base-formula-calculation.controller.d.ts +6 -1
  80. package/lib/types/facade/f-base.d.ts +4 -2
  81. package/lib/types/facade/f-enum.d.ts +277 -6
  82. package/lib/types/facade/f-event.d.ts +102 -0
  83. package/lib/types/facade/f-field.d.ts +40 -7
  84. package/lib/types/facade/f-range.d.ts +4 -1
  85. package/lib/types/facade/f-record.d.ts +377 -2
  86. package/lib/types/facade/f-table.d.ts +287 -16
  87. package/lib/types/facade/f-univer.d.ts +2 -0
  88. package/lib/types/facade/f-view.d.ts +179 -3
  89. package/lib/types/facade/field-key.d.ts +3 -1
  90. package/lib/types/facade/index.d.ts +2 -1
  91. package/lib/types/fields/date-format.d.ts +20 -1
  92. package/lib/types/fields/field-core-plugin.d.ts +7 -5
  93. package/lib/types/fields/field-stat.d.ts +10 -0
  94. package/lib/types/fields/number-format.d.ts +3 -3
  95. package/lib/types/fields/progress-format.d.ts +1 -0
  96. package/lib/types/index.d.ts +21 -4
  97. package/lib/types/locale/en-US.d.ts +1 -1
  98. package/lib/types/models/base-hierarchy.d.ts +108 -0
  99. package/lib/types/models/default-table.d.ts +0 -1
  100. package/lib/types/models/record-link.d.ts +14 -0
  101. package/lib/types/ot/json1-adapter.d.ts +0 -1
  102. package/lib/types/ot/json1-op-applier.d.ts +3 -1
  103. package/lib/types/ot/json1-op-factory.d.ts +0 -3
  104. package/lib/types/ot/json1-util.d.ts +2 -2
  105. package/lib/types/search/base-search.d.ts +0 -3
  106. package/lib/types/services/base-active-dirty.service.d.ts +0 -1
  107. package/lib/types/services/base-command.service.d.ts +1 -1
  108. package/lib/types/services/base-compression.service.d.ts +0 -5
  109. package/lib/types/services/base-formula.service.d.ts +1 -3
  110. package/lib/types/services/base-permission.service.d.ts +0 -4
  111. package/lib/types/services/base-projection.service.d.ts +4 -0
  112. package/lib/types/views/view-core-plugin.d.ts +0 -2
  113. package/lib/umd/facade.js +1 -1
  114. package/lib/umd/index.js +1 -1
  115. package/lib/umd/locale/ar-SA.js +1 -1
  116. package/lib/umd/locale/ca-ES.js +1 -1
  117. package/lib/umd/locale/de-DE.js +1 -1
  118. package/lib/umd/locale/en-US.js +1 -1
  119. package/lib/umd/locale/es-ES.js +1 -1
  120. package/lib/umd/locale/fa-IR.js +1 -1
  121. package/lib/umd/locale/fr-FR.js +1 -1
  122. package/lib/umd/locale/id-ID.js +1 -1
  123. package/lib/umd/locale/it-IT.js +1 -1
  124. package/lib/umd/locale/ja-JP.js +1 -1
  125. package/lib/umd/locale/ko-KR.js +1 -1
  126. package/lib/umd/locale/pl-PL.js +1 -1
  127. package/lib/umd/locale/pt-BR.js +1 -1
  128. package/lib/umd/locale/ru-RU.js +1 -1
  129. package/lib/umd/locale/sk-SK.js +1 -1
  130. package/lib/umd/locale/vi-VN.js +1 -1
  131. package/lib/umd/locale/zh-CN.js +1 -1
  132. package/lib/umd/locale/zh-HK.js +1 -1
  133. package/lib/umd/locale/zh-TW.js +1 -1
  134. package/package.json +7 -6
  135. package/lib/types/facade/f-types.d.ts +0 -1
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0x1d63(_0x3b3823,_0x319b31){_0x3b3823=_0x3b3823-0x1e4;const _0x42a377=_0x42a3();let _0x1d63b5=_0x42a377[_0x3b3823];return _0x1d63b5;}(function(_0x2f9a1e,_0x1609e2){const _0xa4e121=_0x1d63,_0x17ae71=_0x2f9a1e();while(!![]){try{const _0x3902f0=parseInt(_0xa4e121(0x2b7))/0x1+parseInt(_0xa4e121(0x4da))/0x2+parseInt(_0xa4e121(0x432))/0x3*(-parseInt(_0xa4e121(0x2a0))/0x4)+-parseInt(_0xa4e121(0x29b))/0x5*(-parseInt(_0xa4e121(0x461))/0x6)+-parseInt(_0xa4e121(0x254))/0x7*(-parseInt(_0xa4e121(0x46d))/0x8)+-parseInt(_0xa4e121(0x258))/0x9+-parseInt(_0xa4e121(0x429))/0xa;if(_0x3902f0===_0x1609e2)break;else _0x17ae71['push'](_0x17ae71['shift']());}catch(_0x3d61be){_0x17ae71['push'](_0x17ae71['shift']());}}}(_0x42a3,0xd9c2a),function(_0x550a80,_0x272467){const _0x462ab0=_0x1d63;typeof exports==_0x462ab0(0x3ed)&&typeof module<'u'?_0x272467(exports,require('@univerjs/core'),require('@univerjs-pro/engine-formula'),require('@univerjs-pro/license'),require('@univerjs/rpc')):typeof define==_0x462ab0(0x372)&&define[_0x462ab0(0x207)]?define([_0x462ab0(0x279),_0x462ab0(0x476),'@univerjs-pro/engine-formula',_0x462ab0(0x361),'@univerjs/rpc'],_0x272467):(_0x550a80=typeof globalThis<'u'?globalThis:_0x550a80||self,_0x272467(_0x550a80['UniverProBases']={},_0x550a80['UniverCore'],_0x550a80[_0x462ab0(0x22d)],_0x550a80['UniverProLicense'],_0x550a80['UniverRpc']));}(this,function(_0x302dac,_0x40477b,_0x2fabc2,_0x5503b1,_0x1630e0){const _0x3e73b2=_0x1d63;Object[_0x3e73b2(0x328)](_0x302dac,Symbol[_0x3e73b2(0x2ce)],{'value':'Module'});let _0x2cfe78=0x0;function _0x4bf6cf(){const _0x39188a=_0x3e73b2;if(globalThis[_0x39188a(0x264)]===!0x0)return!0x0;try{let _0x4619fa=typeof location>'u'?'':location['search'],_0x21f01c=new URLSearchParams(_0x4619fa);if(_0x21f01c[_0x39188a(0x20f)](_0x39188a(0x30f))==='1'||_0x21f01c[_0x39188a(0x20f)](_0x39188a(0x30f))===_0x39188a(0x2c9)||_0x21f01c['get'](_0x39188a(0x36b))==='1')return!0x0;}catch{}try{let _0x3e7c5f=typeof localStorage>'u'?null:localStorage[_0x39188a(0x27f)]('univer.basePerf');return _0x3e7c5f==='1'||_0x3e7c5f===_0x39188a(0x2c9);}catch{return!0x1;}}function _0x3c2c6f(_0x2e942c,_0x411bcf,_0x32aaf5){const _0x43d061=_0x3e73b2;if(!_0x4bf6cf())return _0x411bcf();let _0x6040ce=_0x5ca8c8(),_0x305b0a=_0x43d061(0x1ee)+_0x2cfe78++;_0x35ad8d(_0x305b0a+_0x43d061(0x1e5));try{return _0x411bcf();}finally{let _0x139baf=_0x5ca8c8()-_0x6040ce;_0x35ad8d(_0x305b0a+':end'),_0x1b5514(_0x2e942c,_0x305b0a+_0x43d061(0x1e5),_0x305b0a+_0x43d061(0x31d)),_0x4841f4(_0x2e942c,_0x139baf,_0x32aaf5);}}function _0x4841f4(_0x2d3f9d,_0x4a2846,_0x1a1877){const _0x2443b2=_0x3e73b2;if(!_0x4bf6cf())return;let _0x3ae657=Math[_0x2443b2(0x4b2)](_0x4a2846*0x64)/0x64,_0x15a3ee=_0x1a1877&&Object[_0x2443b2(0x4f5)](_0x1a1877)[_0x2443b2(0x49a)]?'\x20'+JSON[_0x2443b2(0x1f5)](_0x1a1877):'';console[_0x2443b2(0x220)](_0x2443b2(0x349)+_0x2d3f9d+':\x20'+_0x3ae657+'ms'+_0x15a3ee);}function _0x5ca8c8(){const _0x161364=_0x3e73b2;return typeof performance<'u'&&typeof performance['now']=='function'?performance[_0x161364(0x35f)]():Date[_0x161364(0x35f)]();}function _0x35ad8d(_0x185fea){const _0x2b151d=_0x3e73b2;try{if(typeof performance<'u'){var _0x1939d0,_0x40025c;(_0x1939d0=(_0x40025c=performance)[_0x2b151d(0x269)])==null||_0x1939d0['call'](_0x40025c,_0x185fea);}}catch{}}function _0x1b5514(_0x1e5d6d,_0x575575,_0x43c3f1){const _0x5c6330=_0x3e73b2;try{if(typeof performance<'u'){var _0x361110,_0x3810a4;(_0x361110=(_0x3810a4=performance)[_0x5c6330(0x426)])==null||_0x361110['call'](_0x3810a4,_0x5c6330(0x349)+_0x1e5d6d,_0x575575,_0x43c3f1);}}catch{}}function _0x19d545(_0x2e77c8){const _0x4d5d40=_0x3e73b2;var _0x1fefc6,_0x169c04;return _0x4bf6cf()?_0x3c2c6f(_0x4d5d40(0x32c),()=>_0x5f2c26(_0x2e77c8),{'tableId':_0x2e77c8['id'],'records':Object['keys']((_0x1fefc6=_0x2e77c8[_0x4d5d40(0x464)])==null?{}:_0x1fefc6)['length'],'fields':_0x2e77c8['fieldOrder']['length'],'hasRecordOrder':!!((_0x169c04=_0x2e77c8[_0x4d5d40(0x3aa)])!=null&&_0x169c04['length'])}):_0x5f2c26(_0x2e77c8);}function _0x5f2c26(_0x5b0bfa){const _0x4444fb=_0x3e73b2;var _0x185020,_0x1b590b,_0x1f8c0a,_0x5745b6,_0xa99eb5,_0x5a1234,_0x72805b,_0x1c6ebc,_0x5e054a,_0x39a8b7;let _0x37715e=(_0x185020=_0x5b0bfa[_0x4444fb(0x464)])==null?{}:_0x185020,_0x3a8b75=(_0x1b590b=_0x5b0bfa[_0x4444fb(0x431)])==null?{}:_0x1b590b,_0x51d13b=(_0x1f8c0a=(_0x5745b6=_0x5b0bfa[_0x4444fb(0x3aa)])==null?void 0x0:_0x5745b6[_0x4444fb(0x3f6)](_0x43f0a8=>_0x37715e[_0x43f0a8]))==null?[]:_0x1f8c0a,_0x525f9d=new Set(_0x51d13b),_0x211a9b=[];for(let _0x29e17b of Object['values'](_0x37715e))_0x525f9d[_0x4444fb(0x23b)](_0x29e17b['id'])||_0x211a9b[_0x4444fb(0x36f)](_0x29e17b);let _0x5072da=_0x211a9b[_0x4444fb(0x49a)]?[..._0x51d13b,..._0x40424e(_0x211a9b)]:_0x51d13b,_0x8e3565=_0x5b0bfa[_0x4444fb(0x373)][_0x4444fb(0x3f6)](_0x56a514=>_0x3a8b75[_0x56a514]),_0x5134db={...(_0xa99eb5=_0x5b0bfa[_0x4444fb(0x443)])==null?{}:_0xa99eb5},_0x1db789={...(_0x5a1234=_0x5b0bfa[_0x4444fb(0x362)])==null?{}:_0x5a1234},_0x30eb35={...(_0x72805b=_0x5b0bfa['cellData'])==null?{}:_0x72805b};return _0x5b0bfa[_0x4444fb(0x3aa)]=_0x5072da,_0x5b0bfa[_0x4444fb(0x222)]={},_0x5b0bfa[_0x4444fb(0x443)]={},_0x5b0bfa[_0x4444fb(0x48e)]={},_0x5b0bfa[_0x4444fb(0x362)]={},_0x5b0bfa['cellData']={},_0x5b0bfa[_0x4444fb(0x27e)]={...(_0x1c6ebc=_0x5b0bfa[_0x4444fb(0x27e)])==null?{}:_0x1c6ebc},_0x5b0bfa[_0x4444fb(0x27e)][_0x4444fb(0x47c)]={...(_0x5e054a=_0x5b0bfa[_0x4444fb(0x27e)]['attachmentSets'])==null?{}:_0x5e054a},_0x5b0bfa[_0x4444fb(0x27e)][_0x4444fb(0x2d4)]={...(_0x39a8b7=_0x5b0bfa['resources']['attachments'])==null?{}:_0x39a8b7},_0x5072da[_0x4444fb(0x23d)]((_0x27ba8b,_0x58e368)=>{const _0x103a05=_0x4444fb;_0x5b0bfa['rowIndex'][_0x27ba8b]=_0x58e368,_0x5b0bfa[_0x103a05(0x443)][_0x58e368]=_0x27ba8b;}),_0x8e3565[_0x4444fb(0x23d)]((_0x54d7ee,_0x9996cc)=>{const _0x1bf450=_0x4444fb;_0x5b0bfa[_0x1bf450(0x48e)][_0x54d7ee]=_0x9996cc,_0x5b0bfa[_0x1bf450(0x362)][_0x9996cc]=_0x54d7ee;}),Object[_0x4444fb(0x244)](_0x30eb35)[_0x4444fb(0x23d)](([_0x116ac5,_0x3b8ef3])=>{const _0x40ec6b=_0x4444fb;var _0x12adc7,_0x1557a0;let _0x1e252b=Number(_0x116ac5),_0x3868ce=(_0x12adc7=_0x5134db[_0x1e252b])==null?_0x5072da[_0x1e252b]:_0x12adc7,_0x131fba=_0x3868ce?_0x5b0bfa[_0x40ec6b(0x222)][_0x3868ce]:void 0x0;_0x131fba!=null&&(_0x5b0bfa[_0x40ec6b(0x4fa)][_0x131fba]={...(_0x1557a0=_0x5b0bfa[_0x40ec6b(0x4fa)][_0x131fba])==null?{}:_0x1557a0},Object[_0x40ec6b(0x244)](_0x3b8ef3==null?{}:_0x3b8ef3)[_0x40ec6b(0x23d)](([_0x27b4db,_0x24ba95])=>{const _0x514b39=_0x40ec6b;var _0x552b79;let _0x1a012c=Number(_0x27b4db),_0x1b8995=(_0x552b79=_0x1db789[_0x1a012c])==null?_0x8e3565[_0x1a012c]:_0x552b79,_0x1745fc=_0x1b8995?_0x5b0bfa[_0x514b39(0x48e)][_0x1b8995]:void 0x0;_0x1745fc!=null&&(_0x5b0bfa[_0x514b39(0x4fa)][_0x131fba][_0x1745fc]=_0x504813(_0x24ba95));}));}),Object['values'](_0x37715e)[_0x4444fb(0x23d)](_0x423c75=>{const _0x13dd1e=_0x4444fb;var _0x582a2c,_0x5d178f;let _0x3ff3a2=_0x5b0bfa['rowIndex'][_0x423c75['id']];_0x3ff3a2!=null&&(_0x5b0bfa['cellData'][_0x3ff3a2]={...(_0x582a2c=_0x5b0bfa[_0x13dd1e(0x4fa)][_0x3ff3a2])==null?{}:_0x582a2c},Object[_0x13dd1e(0x244)]((_0x5d178f=_0x423c75['values'])==null?{}:_0x5d178f)[_0x13dd1e(0x23d)](([_0x3b7a07,_0x2a5a9b])=>{const _0xb78bb7=_0x13dd1e;let _0x48d6bd=_0x3a8b75[_0x3b7a07];(_0x48d6bd==null?void 0x0:_0x48d6bd[_0xb78bb7(0x357)])===_0x40477b[_0xb78bb7(0x3dc)][_0xb78bb7(0x4aa)]&&_0x4b2325(_0x5b0bfa,_0x423c75['id'],_0x3b7a07,_0x2a5a9b);let _0x24f752=_0x5b0bfa[_0xb78bb7(0x48e)][_0x3b7a07];if(_0x24f752==null)return;let _0x30afb9=_0x5b0bfa[_0xb78bb7(0x4fa)][_0x3ff3a2][_0x24f752];if(_0x30afb9!=null){_0x294feb(_0x30afb9,_0x48d6bd,_0x2a5a9b)&&(_0x5b0bfa[_0xb78bb7(0x4fa)][_0x3ff3a2][_0x24f752]=_0x37b2bb(_0x2a5a9b,_0x48d6bd));return;}_0x5b0bfa[_0xb78bb7(0x4fa)][_0x3ff3a2][_0x24f752]=_0x37b2bb(_0x2a5a9b,_0x48d6bd);}));}),_0x5b0bfa;}function _0x245db9(_0x595566){const _0x33e5a7=_0x3e73b2;var _0x552b52;return _0x19d545(_0x595566),Object[_0x33e5a7(0x244)]((_0x552b52=_0x595566[_0x33e5a7(0x443)])==null?{}:_0x552b52)[_0x33e5a7(0x23d)](([_0x169ee6,_0x45bdf4])=>{const _0x4a9858=_0x33e5a7;var _0x300368,_0x453465,_0x4eafc7;let _0x57d33c=Number(_0x169ee6),_0x45336d=_0x595566[_0x4a9858(0x464)][_0x45bdf4];_0x45336d&&(_0x45336d[_0x4a9858(0x318)]={...(_0x300368=_0x45336d[_0x4a9858(0x318)])==null?{}:_0x300368},Object['entries']((_0x453465=(_0x4eafc7=_0x595566[_0x4a9858(0x4fa)])==null?void 0x0:_0x4eafc7[_0x57d33c])==null?{}:_0x453465)['forEach'](([_0x105d5a,_0x5e41b1])=>{const _0x44670b=_0x4a9858;var _0x10a17a;let _0x17cf74=(_0x10a17a=_0x595566[_0x44670b(0x362)])==null?void 0x0:_0x10a17a[Number(_0x105d5a)];_0x17cf74&&(_0x45336d[_0x44670b(0x318)][_0x17cf74]=_0x343171(_0x5e41b1,_0x595566['fields'][_0x17cf74],_0x595566,_0x45bdf4));}));}),_0x595566;}function _0x4c9d2b(_0x323dc6,_0x19402e){const _0xba2db4=_0x3e73b2;for(let {row:_0x461c86,col:_0xea920c}of _0x19402e){var _0x73e261,_0x5bcf87,_0x2894e2,_0x33289a,_0x554958;let _0x75cf59=(_0x73e261=_0x323dc6[_0xba2db4(0x443)])==null?void 0x0:_0x73e261[_0x461c86],_0xae0d41=(_0x5bcf87=_0x323dc6['colId'])==null?void 0x0:_0x5bcf87[_0xea920c],_0x519e6f=_0x75cf59?_0x323dc6[_0xba2db4(0x464)][_0x75cf59]:void 0x0;if(!_0x519e6f||!_0xae0d41)continue;let _0x3ecad5=(_0x2894e2=_0x323dc6[_0xba2db4(0x4fa)])==null||(_0x2894e2=_0x2894e2[_0x461c86])==null?void 0x0:_0x2894e2[_0xea920c];_0x3ecad5==null&&!Object[_0xba2db4(0x2b8)][_0xba2db4(0x41b)]['call']((_0x33289a=_0x519e6f['values'])==null?{}:_0x33289a,_0xae0d41)||(_0x519e6f['values']={...(_0x554958=_0x519e6f['values'])==null?{}:_0x554958},_0x519e6f[_0xba2db4(0x318)][_0xae0d41]=_0x343171(_0x3ecad5,_0x323dc6['fields'][_0xae0d41],_0x323dc6,_0x75cf59));}return _0x323dc6;}function _0x123658(_0x540086,_0xf67cad,_0x1e415b){const _0x16847f=_0x3e73b2;var _0xb83265,_0x24c3e5,_0x38ee74,_0x2a355d,_0x2c0d37,_0x3f42b1;let _0x28af59=(_0xb83265=_0x540086['rowIndex'])==null?void 0x0:_0xb83265[_0xf67cad],_0x54f099=(_0x24c3e5=_0x540086[_0x16847f(0x48e)])==null?void 0x0:_0x24c3e5[_0x1e415b];if(_0x28af59!=null&&_0x54f099!=null&&((_0x38ee74=_0x540086[_0x16847f(0x443)])==null?void 0x0:_0x38ee74[_0x28af59])===_0xf67cad&&((_0x2a355d=_0x540086[_0x16847f(0x362)])==null?void 0x0:_0x2a355d[_0x54f099])===_0x1e415b)return{'row':_0x28af59,'col':_0x54f099};let _0x14efab=_0x19d545(_0x540086),_0x119b58=(_0x2c0d37=_0x14efab[_0x16847f(0x222)])==null?void 0x0:_0x2c0d37[_0xf67cad],_0x5a81b0=(_0x3f42b1=_0x14efab['colIndex'])==null?void 0x0:_0x3f42b1[_0x1e415b];return _0x119b58==null||_0x5a81b0==null?null:{'row':_0x119b58,'col':_0x5a81b0};}function _0x294c8a(_0x292604,_0x5f2a68,_0x1091d8){const _0x5ee598=_0x3e73b2;var _0x2d567d;let _0x28706d=_0x123658(_0x292604,_0x5f2a68,_0x1091d8);if(_0x28706d)return(_0x2d567d=_0x292604[_0x5ee598(0x4fa)])==null||(_0x2d567d=_0x2d567d[_0x28706d[_0x5ee598(0x367)]])==null?void 0x0:_0x2d567d[_0x28706d[_0x5ee598(0x3f0)]];}function _0x98b763(_0x5ec139,_0x368bf1,_0x22869e){const _0x4497ad=_0x3e73b2;var _0x29f8e9,_0x541879;let _0x2fba84=_0x294c8a(_0x5ec139,_0x368bf1,_0x22869e),_0x22dd99=_0x5ec139[_0x4497ad(0x431)][_0x22869e];if((_0x22dd99==null?void 0x0:_0x22dd99[_0x4497ad(0x357)])===_0x40477b['BaseFieldType'][_0x4497ad(0x4aa)]){var _0x573536,_0x43b7fa;return(_0x573536=_0x4532fd(_0x5ec139,_0x368bf1,_0x22869e))==null?_0x317a4a((_0x43b7fa=_0x5ec139[_0x4497ad(0x464)][_0x368bf1])==null||(_0x43b7fa=_0x43b7fa['values'])==null?void 0x0:_0x43b7fa[_0x22869e]):_0x573536;}if(_0x16d55b(_0x22dd99)||(_0x22dd99==null?void 0x0:_0x22dd99['type'])===_0x40477b[_0x4497ad(0x3dc)][_0x4497ad(0x38d)]){var _0x2329c2;let _0x2bff86=(_0x2329c2=_0x5ec139[_0x4497ad(0x464)][_0x368bf1])==null||(_0x2329c2=_0x2329c2['values'])==null?void 0x0:_0x2329c2[_0x22869e];return _0x2bff86!=null&&_0x2bff86!==''?_0x546b7d(_0x2bff86,_0x22dd99):_0x343171(_0x2fba84,_0x22dd99,_0x5ec139,_0x368bf1);}if(_0x2fba84&&Object[_0x4497ad(0x2b8)][_0x4497ad(0x41b)][_0x4497ad(0x44e)](_0x2fba84,'v')){var _0x28899c;return(_0x28899c=_0x2fba84['v'])==null?null:_0x28899c;}return(_0x29f8e9=(_0x541879=_0x5ec139[_0x4497ad(0x464)][_0x368bf1])==null||(_0x541879=_0x541879[_0x4497ad(0x318)])==null?void 0x0:_0x541879[_0x22869e])==null?null:_0x29f8e9;}function _0xcffa0d(_0x5b0644,_0x4954d7,_0x15f973){const _0x27f695=_0x3e73b2;var _0x1855ff,_0x247b65,_0x4de90d;let _0xad92ba=_0x294c8a(_0x5b0644,_0x4954d7,_0x15f973);if(_0xad92ba&&Object[_0x27f695(0x2b8)][_0x27f695(0x41b)][_0x27f695(0x44e)](_0xad92ba,'v')){var _0x1a1f8b;return(_0x1a1f8b=_0xad92ba['v'])==null?null:_0x1a1f8b;}let _0x59e2a8=_0x5b0644['fields'][_0x15f973];return(_0x1855ff=_0x37b2bb((_0x247b65=(_0x4de90d=_0x5b0644[_0x27f695(0x464)][_0x4954d7])==null||(_0x4de90d=_0x4de90d[_0x27f695(0x318)])==null?void 0x0:_0x4de90d[_0x15f973])==null?null:_0x247b65,_0x59e2a8)['v'])==null?null:_0x1855ff;}function _0x37b2bb(_0x15977b,_0x1d8ff8){const _0x1f3664=_0x3e73b2;if(_0x3484be(_0x15977b))return(_0x1d8ff8==null?void 0x0:_0x1d8ff8[_0x1f3664(0x357)])===_0x40477b[_0x1f3664(0x3dc)]['Attachment']?{..._0x15977b,'v':'','t':_0x40477b[_0x1f3664(0x223)][_0x1f3664(0x49f)]}:_0x504813(_0x15977b);if((_0x1d8ff8==null?void 0x0:_0x1d8ff8[_0x1f3664(0x357)])===_0x40477b[_0x1f3664(0x3dc)]['Attachment'])return{'v':'','t':_0x40477b[_0x1f3664(0x223)][_0x1f3664(0x49f)]};if(_0x16d55b(_0x1d8ff8))return{'v':_0x26a81e(_0x15977b)[_0x1f3664(0x267)](',\x20'),'t':_0x40477b['CellValueType'][_0x1f3664(0x49f)]};if((_0x1d8ff8==null?void 0x0:_0x1d8ff8[_0x1f3664(0x357)])===_0x40477b[_0x1f3664(0x3dc)][_0x1f3664(0x38d)]&&_0x15977b&&typeof _0x15977b==_0x1f3664(0x3ed)&&!Array[_0x1f3664(0x21e)](_0x15977b)){var _0x31dc3c,_0x330ce0;let _0x3b8e2f=_0x15977b;return{'v':String((_0x31dc3c=(_0x330ce0=_0x3b8e2f[_0x1f3664(0x2b5)])==null?_0x3b8e2f['url']:_0x330ce0)==null?'':_0x31dc3c),'t':_0x40477b[_0x1f3664(0x223)][_0x1f3664(0x49f)]};}return _0x15977b===null||typeof _0x15977b=='string'||typeof _0x15977b=='number'||typeof _0x15977b=='boolean'?{'v':_0x15977b,'t':_0xa4c0db(_0x15977b)}:{'v':null,'t':null};}function _0x504813(_0x4d7fcb){let _0x34aa3f=_0x4b5d71(_0x4d7fcb['t'],_0x4d7fcb['v']);if(_0x34aa3f===void 0x0){let {t:_0x8a89c1,..._0x9fb2fb}=_0x4d7fcb;return _0x9fb2fb;}return{..._0x4d7fcb,'t':_0x34aa3f};}function _0x343171(_0xb3bc1d,_0x4b13ee,_0x4f9da8,_0x48f408){const _0x18a0cf=_0x3e73b2;if(!_0xb3bc1d)return null;if((_0x4b13ee==null?void 0x0:_0x4b13ee[_0x18a0cf(0x357)])===_0x40477b[_0x18a0cf(0x3dc)]['Attachment']){var _0x2bfd09;return _0x4f9da8&&_0x48f408?(_0x2bfd09=_0x4532fd(_0x4f9da8,_0x48f408,_0x4b13ee['id']))==null?[]:_0x2bfd09:[];}if(_0x16d55b(_0x4b13ee))return _0x26a81e(_0xb3bc1d['v']);if((_0x4b13ee==null?void 0x0:_0x4b13ee[_0x18a0cf(0x357)])===_0x40477b[_0x18a0cf(0x3dc)]['Link']&&_0x4f9da8&&_0x48f408){var _0x7fea97;let _0x48f035=(_0x7fea97=_0x4f9da8[_0x18a0cf(0x464)][_0x48f408])==null||(_0x7fea97=_0x7fea97[_0x18a0cf(0x318)])==null?void 0x0:_0x7fea97[_0x4b13ee['id']];if(_0x48f035&&typeof _0x48f035==_0x18a0cf(0x3ed)&&!Array[_0x18a0cf(0x21e)](_0x48f035))return _0x48f035;}if(Object[_0x18a0cf(0x2b8)][_0x18a0cf(0x41b)]['call'](_0xb3bc1d,'v')){var _0x4da0d1;return(_0x4da0d1=_0xb3bc1d['v'])==null?null:_0x4da0d1;}return null;}function _0xd4229d(_0x124a72,_0x1df567,_0x152242,_0x173a1f,_0x2b8ba2){const _0x3c83be=_0x3e73b2;return(_0x152242==null?void 0x0:_0x152242[_0x3c83be(0x357)])===_0x40477b[_0x3c83be(0x3dc)][_0x3c83be(0x4aa)]?_0x317a4a(_0x124a72):_0x16d55b(_0x152242)?_0x26a81e(_0x124a72):(_0x152242==null?void 0x0:_0x152242[_0x3c83be(0x357)])===_0x40477b[_0x3c83be(0x3dc)][_0x3c83be(0x38d)]&&_0x124a72&&typeof _0x124a72==_0x3c83be(0x3ed)&&!Array[_0x3c83be(0x21e)](_0x124a72)&&!_0x3484be(_0x124a72)?_0x124a72:_0x343171(_0x1df567,_0x152242,_0x173a1f,_0x2b8ba2);}function _0x3484be(_0x2a0a4f){const _0x2fdd4e=_0x3e73b2;return!!_0x2a0a4f&&typeof _0x2a0a4f==_0x2fdd4e(0x3ed)&&(Object['prototype'][_0x2fdd4e(0x41b)][_0x2fdd4e(0x44e)](_0x2a0a4f,'v')||Object[_0x2fdd4e(0x2b8)][_0x2fdd4e(0x41b)][_0x2fdd4e(0x44e)](_0x2a0a4f,'t')||Object[_0x2fdd4e(0x2b8)][_0x2fdd4e(0x41b)][_0x2fdd4e(0x44e)](_0x2a0a4f,'p')||Object[_0x2fdd4e(0x2b8)][_0x2fdd4e(0x41b)][_0x2fdd4e(0x44e)](_0x2a0a4f,'f')||Object[_0x2fdd4e(0x2b8)]['hasOwnProperty']['call'](_0x2a0a4f,'si'));}function _0x10f502(_0x339e,_0x52e2e5){return _0x339e+'\x1f'+_0x52e2e5;}function _0x4b2325(_0x4a1f23,_0x87f016,_0x3a5cbc,_0x2a24f7){const _0x5e38da=_0x3e73b2;var _0x27b48a,_0x3014d2,_0x4bf685;let _0x425113=_0x317a4a(_0x2a24f7);_0x4a1f23['resources']={...(_0x27b48a=_0x4a1f23[_0x5e38da(0x27e)])==null?{}:_0x27b48a},_0x4a1f23['resources'][_0x5e38da(0x47c)]={...(_0x3014d2=_0x4a1f23[_0x5e38da(0x27e)][_0x5e38da(0x47c)])==null?{}:_0x3014d2},_0x4a1f23[_0x5e38da(0x27e)]['attachments']={...(_0x4bf685=_0x4a1f23[_0x5e38da(0x27e)]['attachments'])==null?{}:_0x4bf685};let _0x470333=_0x10f502(_0x3a5cbc,_0x87f016),_0x3fc93d=[];for(let _0x3c5abd=0x0;_0x3c5abd<_0x425113[_0x5e38da(0x49a)];_0x3c5abd++){var _0x2a6341;if(!(_0x3c5abd in _0x425113))continue;let _0x5c18f2=_0x425113[_0x3c5abd],_0x62b2b6=String((_0x2a6341=_0x5c18f2['id'])==null?_0x470333+'\x1f'+_0x3c5abd:_0x2a6341),_0xb22be={..._0x5c18f2,'id':_0x62b2b6};_0x4a1f23['resources'][_0x5e38da(0x2d4)][_0x62b2b6]=_0xb22be,_0x3fc93d[_0x5e38da(0x36f)](_0x62b2b6);}_0x4a1f23['resources'][_0x5e38da(0x47c)][_0x470333]=_0x3fc93d;}function _0x4532fd(_0xcf1680,_0x2c75bc,_0x502b83){const _0x3f3954=_0x3e73b2;var _0x575db6;let _0x2b0b4e=_0x10f502(_0x502b83,_0x2c75bc),_0x596e5d=(_0x575db6=_0xcf1680[_0x3f3954(0x27e)])==null||(_0x575db6=_0x575db6[_0x3f3954(0x47c)])==null?void 0x0:_0x575db6[_0x2b0b4e];if(!_0x596e5d)return null;let _0x85b534=[];for(let _0x26ea9b=0x0;_0x26ea9b<_0x596e5d['length'];_0x26ea9b++){var _0x56445a;if(!(_0x26ea9b in _0x596e5d))continue;let _0x15e8d1=(_0x56445a=_0xcf1680[_0x3f3954(0x27e)])==null||(_0x56445a=_0x56445a['attachments'])==null?void 0x0:_0x56445a[_0x596e5d[_0x26ea9b]];_0x15e8d1&&_0x85b534[_0x3f3954(0x36f)]({..._0x15e8d1});}return _0x85b534;}function _0x317a4a(_0x529be2){const _0x466366=_0x3e73b2;if(_0x529be2==null||_0x529be2===''||_0x3484be(_0x529be2)&&!('id'in _0x529be2)&&!(_0x466366(0x33c)in _0x529be2))return[];let _0x417cf9=Array['isArray'](_0x529be2)?_0x529be2:[_0x529be2],_0x1244e1=[];for(let _0x55f39b=0x0;_0x55f39b<_0x417cf9[_0x466366(0x49a)];_0x55f39b++){if(!(_0x55f39b in _0x417cf9))continue;let _0x2aa3fb=_0x417cf9[_0x55f39b],_0x1008e0=_0x2aa3fb&&typeof _0x2aa3fb==_0x466366(0x3ed)?{..._0x2aa3fb}:{'id':_0x466366(0x494)+_0x55f39b,'name':String(_0x2aa3fb)};Object['keys'](_0x1008e0)['length']>0x0&&_0x1244e1[_0x466366(0x36f)](_0x1008e0);}return _0x1244e1;}function _0x546b7d(_0x1c99c8,_0x451f7a){const _0x3d78c7=_0x3e73b2;return(_0x451f7a==null?void 0x0:_0x451f7a['type'])===_0x40477b[_0x3d78c7(0x3dc)][_0x3d78c7(0x4aa)]?_0x317a4a(_0x1c99c8):_0x16d55b(_0x451f7a)?_0x26a81e(_0x1c99c8):_0x1c99c8;}function _0x294feb(_0x2b7a15,_0x44c4e1,_0x4a3419){const _0x410094=_0x3e73b2;return(_0x44c4e1==null?void 0x0:_0x44c4e1[_0x410094(0x357)])===_0x40477b[_0x410094(0x3dc)][_0x410094(0x4aa)]?_0x2b7a15['v']!=='':_0x16d55b(_0x44c4e1)?Array[_0x410094(0x21e)](_0x4a3419)&&(_0x2b7a15['v']==null||_0x2b7a15['v']===''):!0x1;}function _0x16d55b(_0x4b5438){const _0x350a29=_0x3e73b2;return(_0x4b5438==null?void 0x0:_0x4b5438[_0x350a29(0x357)])===_0x40477b[_0x350a29(0x3dc)][_0x350a29(0x2e1)]||(_0x4b5438==null?void 0x0:_0x4b5438['type'])===_0x40477b['BaseFieldType'][_0x350a29(0x481)]||(_0x4b5438==null?void 0x0:_0x4b5438[_0x350a29(0x357)])===_0x40477b[_0x350a29(0x3dc)][_0x350a29(0x392)];}function _0x26a81e(_0x112ff6){const _0x2be286=_0x3e73b2;if(_0x112ff6==null||_0x112ff6==='')return[];let _0x508a61=[];if(Array['isArray'](_0x112ff6)){for(let _0x4d5f26=0x0;_0x4d5f26<_0x112ff6['length'];_0x4d5f26++){if(!(_0x4d5f26 in _0x112ff6))continue;let _0x19d9b3=_0xe2974e(_0x112ff6[_0x4d5f26]);_0x19d9b3&&_0x508a61[_0x2be286(0x36f)](_0x19d9b3);}return _0x508a61;}for(let _0x144dd5 of String(_0x112ff6)[_0x2be286(0x37e)](',')){let _0x2dac29=_0x144dd5[_0x2be286(0x3bb)]();_0x2dac29&&_0x508a61[_0x2be286(0x36f)](_0x2dac29);}return _0x508a61;}function _0xe2974e(_0x3aac43){const _0x473708=_0x3e73b2;if(_0x3aac43==null)return'';if(typeof _0x3aac43==_0x473708(0x394)||typeof _0x3aac43=='number'||typeof _0x3aac43==_0x473708(0x4d5))return String(_0x3aac43);if(typeof _0x3aac43==_0x473708(0x3ed)){var _0x5e424a,_0x55bc4d,_0x116f81;let _0x4e4896=_0x3aac43;return String((_0x5e424a=(_0x55bc4d=(_0x116f81=_0x4e4896['id'])==null?_0x4e4896[_0x473708(0x33c)]:_0x116f81)==null?_0x4e4896['text']:_0x55bc4d)==null?'':_0x5e424a);}return String(_0x3aac43);}function _0xa4c0db(_0x1e306a){const _0x3c2c8b=_0x3e73b2;return _0x1e306a==null?null:typeof _0x1e306a==_0x3c2c8b(0x2cf)?_0x40477b[_0x3c2c8b(0x223)][_0x3c2c8b(0x353)]:typeof _0x1e306a==_0x3c2c8b(0x4d5)?_0x40477b['CellValueType'][_0x3c2c8b(0x47e)]:_0x40477b[_0x3c2c8b(0x223)][_0x3c2c8b(0x49f)];}function _0x40424e(_0xcc2e02){const _0x383315=_0x3e73b2;_0xcc2e02[_0x383315(0x225)]((_0x378d4d,_0x87b116)=>_0x378d4d[_0x383315(0x339)][_0x383315(0x42f)](_0x87b116[_0x383315(0x339)]));let _0x487a50=[];for(let _0x624cd2 of _0xcc2e02)_0x487a50['push'](_0x624cd2['id']);return _0x487a50;}function _0x4b5d71(_0x26fca5,_0x1c2960){const _0x4d8e0c=_0x3e73b2;return _0x26fca5===_0x40477b[_0x4d8e0c(0x223)][_0x4d8e0c(0x49f)]||_0x26fca5===_0x40477b[_0x4d8e0c(0x223)][_0x4d8e0c(0x353)]||_0x26fca5===_0x40477b['CellValueType']['BOOLEAN']||_0x26fca5===_0x40477b[_0x4d8e0c(0x223)][_0x4d8e0c(0x3bf)]||_0x26fca5==null?_0x26fca5:_0xa4c0db(_0x1c2960==null?null:_0x1c2960);}var _0x3987f0=class{[_0x3e73b2(0x460)](_0x36bd2c,_0x3861ad){const _0x5328f5=_0x3e73b2;let _0x3221f8=this['getAffectedRanges'](_0x3861ad),_0x28e915=_0x3c2c6f('BaseJson1.cloneForOp',()=>_0x3176d9(_0x36bd2c,_0x3861ad),{'invalidations':_0x3221f8['length']}),_0x2f3980=_0x3c2c6f(_0x5328f5(0x389),()=>_0x40477b[_0x5328f5(0x1f4)]['type'][_0x5328f5(0x495)](_0x28e915,_0x3861ad),{'invalidations':_0x3221f8[_0x5328f5(0x49a)]});return _0x5e3f63(_0x2f3980,_0x3221f8)||this[_0x5328f5(0x2c1)](_0x2f3980,_0x3221f8)[_0x5328f5(0x23d)](_0x4ad88b=>{_0x245db9(_0x4ad88b);}),_0x2f3980;}[_0x3e73b2(0x286)](_0x17c1a7,_0x1f7437){const _0x161e25=_0x3e73b2;return _0x40477b['JSON1'][_0x161e25(0x357)][_0x161e25(0x497)](_0x1f7437,_0x17c1a7);}['getAffectedRanges'](_0x4178bd){const _0x383608=_0x3e73b2;let _0x2ecdd6=_0x55f9b2(_0x4178bd);return _0x2ecdd6[_0x383608(0x49a)]?_0x20afdb(_0x2ecdd6[_0x383608(0x371)](_0x496b82=>this[_0x383608(0x4f2)](_0x496b82))):_0x59c85b(_0x4178bd);}[_0x3e73b2(0x2c1)](_0xd3e02b,_0x4657a8){const _0x50b168=_0x3e73b2;if(!_0x4657a8[_0x50b168(0x49a)])return[];if(_0x4657a8[_0x50b168(0x2f1)](_0x22abd3=>!_0x22abd3[_0x50b168(0x485)])){var _0x234547;return Object['values']((_0x234547=_0xd3e02b[_0x50b168(0x4be)])==null?{}:_0x234547);}return Array[_0x50b168(0x4ef)](new Set(_0x4657a8['map'](_0x36bd44=>_0x36bd44['tableId'])))[_0x50b168(0x371)](_0x5d4e2a=>{var _0x5ef97e;let _0x4c81c5=(_0x5ef97e=_0xd3e02b['tables'])==null?void 0x0:_0x5ef97e[_0x5d4e2a];return _0x4c81c5?[_0x4c81c5]:[];});}};function _0x5e3f63(_0x43d5aa,_0x31cd35){const _0x4440bb=_0x3e73b2;if(!_0x31cd35[_0x4440bb(0x49a)]||_0x31cd35[_0x4440bb(0x2f1)](_0xb9097f=>_0xb9097f['reason']!=='cell'))return!0x1;let _0x132f4e=new Map();for(let _0x438e25 of _0x31cd35){var _0x11bc10;if(!_0x438e25[_0x4440bb(0x485)]||_0x438e25[_0x4440bb(0x367)]==null||_0x438e25['column']==null)continue;let _0x4c5c18=(_0x11bc10=_0x132f4e[_0x4440bb(0x20f)](_0x438e25[_0x4440bb(0x485)]))==null?[]:_0x11bc10;_0x4c5c18[_0x4440bb(0x36f)]({'row':_0x438e25[_0x4440bb(0x367)],'col':_0x438e25[_0x4440bb(0x3bc)]}),_0x132f4e[_0x4440bb(0x368)](_0x438e25[_0x4440bb(0x485)],_0x4c5c18);}return _0x132f4e[_0x4440bb(0x23d)]((_0x270bf7,_0x14eda6)=>{var _0xe2cd0d;let _0x192bc6=(_0xe2cd0d=_0x43d5aa['tables'])==null?void 0x0:_0xe2cd0d[_0x14eda6];_0x192bc6&&_0x4c9d2b(_0x192bc6,_0x270bf7);}),!0x0;}function _0x59c85b(_0x503dec){const _0x48b5b4=_0x3e73b2;if(!Array[_0x48b5b4(0x21e)](_0x503dec)||_0x503dec['length']<0x2)return[{'tableId':'','reason':_0x48b5b4(0x204)}];let _0x28aeef=_0x503dec,_0x28d4da=_0x28aeef[_0x48b5b4(0x3f5)](_0x48b5b4(0x4be));return _0x28d4da===-0x1||typeof _0x28aeef[_0x28d4da+0x1]!=_0x48b5b4(0x394)?_0x28aeef[0x0]===_0x48b5b4(0x273)?[]:[{'tableId':'','reason':_0x48b5b4(0x204)}]:_0x46b2cb(_0x28aeef,_0x28d4da,String(_0x28aeef[_0x28d4da+0x1]));}function _0x46b2cb(_0x46e641,_0x4cfec2,_0x54562a){const _0x1bca46=_0x3e73b2;let _0x1c489b=_0x46e641[_0x4cfec2+0x2];return _0x1c489b==='records'&&typeof _0x46e641[_0x4cfec2+0x3]==_0x1bca46(0x394)?_0x112c9e(_0x46e641,_0x4cfec2,_0x54562a,String(_0x46e641[_0x4cfec2+0x3])):_0x1c489b===_0x1bca46(0x4fa)&&_0x46e641[_0x4cfec2+0x3]!=null&&_0x46e641[_0x4cfec2+0x4]!=null?[{'tableId':_0x54562a,'reason':_0x1bca46(0x326),'row':Number(_0x46e641[_0x4cfec2+0x3]),'column':Number(_0x46e641[_0x4cfec2+0x4])}]:_0x1c489b===_0x1bca46(0x431)&&typeof _0x46e641[_0x4cfec2+0x3]=='string'?[{'tableId':_0x54562a,'reason':_0x1bca46(0x256),'fieldId':String(_0x46e641[_0x4cfec2+0x3])}]:_0x1c489b===_0x1bca46(0x2f4)&&typeof _0x46e641[_0x4cfec2+0x3]==_0x1bca46(0x394)?[{'tableId':_0x54562a,'reason':_0x1bca46(0x45d),'viewId':String(_0x46e641[_0x4cfec2+0x3])}]:[{'tableId':_0x54562a,'reason':_0x1c489b===void 0x0?'table':'unknown'}];}function _0x112c9e(_0x45f7de,_0x255135,_0x3a218a,_0x4e3d70){const _0x422f97=_0x3e73b2;return _0x45f7de[_0x255135+0x4]===_0x422f97(0x318)&&typeof _0x45f7de[_0x255135+0x5]=='string'?[{'tableId':_0x3a218a,'reason':'cell','recordId':_0x4e3d70,'fieldId':String(_0x45f7de[_0x255135+0x5])}]:_0x45f7de[_0x255135+0x4]===_0x422f97(0x304)||_0x45f7de[_0x255135+0x4]===_0x422f97(0x1f1)?[]:[{'tableId':_0x3a218a,'reason':_0x422f97(0x1ed),'recordId':_0x4e3d70}];}function _0x55f9b2(_0x1d218c){const _0x46b909=_0x3e73b2;if(!Array[_0x46b909(0x21e)](_0x1d218c))return[];let _0x346047=_0x1d218c[_0x46b909(0x3f6)](Array[_0x46b909(0x21e)]);if(_0x346047['length']>0x1&&_0x346047['length']===_0x1d218c[_0x46b909(0x49a)])return _0x346047;let _0x32e319=_0x1d218c[_0x46b909(0x229)](Array['isArray']);if(_0x32e319>0x0&&_0x1d218c[_0x46b909(0x382)](_0x32e319)[_0x46b909(0x314)](Array['isArray'])){let _0x51ae66=_0x1d218c['slice'](0x0,_0x32e319);return _0x1d218c[_0x46b909(0x382)](_0x32e319)[_0x46b909(0x2ea)](_0x195619=>[..._0x51ae66,..._0x195619]);}let _0x5ecd83=_0x1d218c['indexOf'](_0x46b909(0x4be));if(_0x5ecd83===-0x1||typeof _0x1d218c[_0x5ecd83+0x1]!='string')return[];let _0x49b31e=String(_0x1d218c[_0x5ecd83+0x1]),_0x1f6be2=_0x1d218c[_0x46b909(0x382)](_0x5ecd83+0x2)[_0x46b909(0x3f6)](Array['isArray']);return _0x1f6be2[_0x46b909(0x49a)]<=0x1?[]:_0x1f6be2[_0x46b909(0x2ea)](_0x48a396=>[_0x46b909(0x4be),_0x49b31e,..._0x48a396]);}function _0x20afdb(_0x5b94e8){const _0x4ca740=_0x3e73b2;let _0x4b9144=new Set();return _0x5b94e8[_0x4ca740(0x3f6)](_0x5d04a7=>{const _0x5993ea=_0x4ca740;let _0xd44ed9=JSON['stringify'](_0x5d04a7);return _0x4b9144[_0x5993ea(0x23b)](_0xd44ed9)?!0x1:(_0x4b9144[_0x5993ea(0x4a7)](_0xd44ed9),!0x0);});}function _0x5dce79(_0x3c0fb1){const _0xc34242=_0x3e73b2;return _0x40477b[_0xc34242(0x248)]['deepClone'](_0x3c0fb1);}function _0x3176d9(_0x46db59,_0x11f1ad){const _0x75def4=_0x3e73b2;let _0x5bca07=_0x461b9b(_0x11f1ad);if(!_0x5bca07[_0x75def4(0x49a)])return _0x5dce79(_0x46db59);let _0x3c06bd=_0x53d485(_0x46db59);for(let _0x1796ac of _0x5bca07)_0x46fdb(_0x3c06bd,_0x1796ac);return _0x3c06bd;}function _0x461b9b(_0x541276){let _0x36413a=[];return _0x598cf8(_0x541276,[],_0x36413a),_0x36413a;}function _0x598cf8(_0x1bd2f0,_0x29263a,_0x30f49f){const _0x4bea5d=_0x3e73b2;if(!Array[_0x4bea5d(0x21e)](_0x1bd2f0))return;let _0x595529=[];for(let _0x5ac629 of _0x1bd2f0){if(Array[_0x4bea5d(0x21e)](_0x5ac629)){_0x598cf8(_0x5ac629,[..._0x29263a,..._0x595529],_0x30f49f);continue;}if(_0x150be9(_0x5ac629)){_0x30f49f[_0x4bea5d(0x36f)]([..._0x29263a,..._0x595529]);continue;}(typeof _0x5ac629==_0x4bea5d(0x394)||typeof _0x5ac629==_0x4bea5d(0x2cf))&&_0x595529[_0x4bea5d(0x36f)](_0x5ac629);}}function _0x150be9(_0x9f6582){const _0x798c72=_0x3e73b2;if(!_0x9f6582||typeof _0x9f6582!=_0x798c72(0x3ed)||Array['isArray'](_0x9f6582))return!0x1;let _0x4fde38=_0x9f6582;return'i'in _0x4fde38||'r'in _0x4fde38||'p'in _0x4fde38||'d'in _0x4fde38||'es'in _0x4fde38||_0x798c72(0x215)in _0x4fde38||'et'in _0x4fde38;}function _0x46fdb(_0x1c6b58,_0x26b381){const _0x4dfd21=_0x3e73b2;let _0x639908=_0x1c6b58;for(let _0x340281=0x0;_0x340281<_0x26b381[_0x4dfd21(0x49a)]-0x1;_0x340281++){let _0x5ab464=_0x26b381[_0x340281],_0x10332c=_0x639908==null?void 0x0:_0x639908[_0x5ab464];if(!_0x36b3cf(_0x10332c))return;let _0x83998=_0x53d485(_0x10332c);_0x639908[_0x5ab464]=_0x83998,_0x639908=_0x83998;}}function _0x36b3cf(_0x3f6f3f){const _0x4b1f3c=_0x3e73b2;return!!_0x3f6f3f&&typeof _0x3f6f3f==_0x4b1f3c(0x3ed);}function _0x53d485(_0x517322){const _0x515f7b=_0x3e73b2;return Array[_0x515f7b(0x21e)](_0x517322)?_0x517322['slice']():{..._0x517322};}let _0x2f5d97=0x5a0*0x3c*0x3e8,_0x15dd52=0x63e1,_0x1c5848=_0x3e73b2(0x291),_0x354b84={'yyyy/mm/dd':_0x3e73b2(0x404),'yyyy/mm/dd\x20hh:mm':_0x3e73b2(0x239),'yyyy-mm-dd':_0x3e73b2(0x240),'mm-dd':_0x3e73b2(0x433),'mm/dd/yyyy':_0x3e73b2(0x42c),'dd/mm/yyyy':'DD/MM/YYYY','mmm\x20d,\x20yyyy':'MMM\x20D,\x20YYYY'};function _0x2f4bb1(_0x48e488){const _0x425148=_0x3e73b2;return(0x0,_0x40477b['dateKit'])(_0x48e488)[_0x425148(0x24a)]()/_0x2f5d97+_0x15dd52;}function _0x20f52d(_0x2baece){return(_0x2baece-_0x15dd52)*_0x2f5d97;}function _0xc0f453(_0x9efd3f){const _0x96bf23=_0x3e73b2;if(_0x9efd3f==null||_0x9efd3f==='')return null;if(_0x9efd3f instanceof Date)return _0x2f4bb1(_0x9efd3f);if(typeof _0x9efd3f==_0x96bf23(0x2cf))return Number['isFinite'](_0x9efd3f)?_0x9efd3f>0xf4240?_0x2f4bb1(_0x9efd3f):_0x9efd3f:null;let _0x3e111d=Date[_0x96bf23(0x4bf)](String(_0x9efd3f));return Number['isNaN'](_0x3e111d)?null:_0x2f4bb1(_0x3e111d);}function _0xfb8107(_0x2e88c4){let _0x2b41ca=_0xc0f453(_0x2e88c4);return _0x2b41ca==null?null:_0x20f52d(_0x2b41ca);}function _0x47521d(_0x44e852,_0x1e98ef={}){const _0x31aeaa=_0x3e73b2;var _0x4f0266,_0xccaa4c,_0x1aa016;let _0x52715b=_0xfb8107(_0x44e852);if(_0x52715b==null||!Number[_0x31aeaa(0x324)](_0x52715b))return'';let _0x34045c=String((_0x4f0266=(_0xccaa4c=_0x1e98ef[_0x31aeaa(0x49c)])==null?_0x1e98ef[_0x31aeaa(0x37a)]:_0xccaa4c)==null?_0x1c5848:_0x4f0266),_0x984bff=_0x1e98ef[_0x31aeaa(0x492)]===!0x0||_0x34045c[_0x31aeaa(0x238)](_0x31aeaa(0x421)),_0x291d65=String((_0x1aa016=_0x1e98ef[_0x31aeaa(0x4b3)])==null?_0x31aeaa(0x45e):_0x1aa016);return(0x0,_0x40477b[_0x31aeaa(0x33e)])(_0x52715b)[_0x31aeaa(0x37a)](_0x58c736(_0x34045c,_0x984bff,_0x291d65));}function _0x58c736(_0x267c81,_0x3762a0,_0x215c42){const _0x45da34=_0x3e73b2;var _0xc8b45;let _0x29a2dc=(_0xc8b45=_0x354b84[_0x267c81])==null?_0x354b84[_0x1c5848]:_0xc8b45;return!_0x3762a0||_0x267c81[_0x45da34(0x238)](_0x45da34(0x421))?_0x29a2dc:_0x29a2dc+'\x20'+(_0x215c42==='h12'?_0x45da34(0x36e):_0x45da34(0x3cc));}let _0x5e83bb={'editable':!0x0,'sortable':!0x0,'filterable':!0x0,'groupable':!0x1,'usableAsKanbanGroup':!0x1,'usableAsCalendarDate':!0x1,'usableAsGanttStart':!0x1,'usableAsGanttEnd':!0x1,'usableAsGanttProgress':!0x1,'usableAsCardCover':!0x1,'usableAsTitle':!0x1},_0x15026e=new Set([_0x40477b[_0x3e73b2(0x3dc)][_0x3e73b2(0x35c)],_0x40477b[_0x3e73b2(0x3dc)][_0x3e73b2(0x3a5)],_0x40477b[_0x3e73b2(0x3dc)]['Flow'],_0x40477b[_0x3e73b2(0x3dc)]['Button'],_0x40477b[_0x3e73b2(0x3dc)][_0x3e73b2(0x4bd)],_0x40477b[_0x3e73b2(0x3dc)][_0x3e73b2(0x292)],_0x40477b[_0x3e73b2(0x3dc)][_0x3e73b2(0x3b0)],_0x40477b[_0x3e73b2(0x3dc)][_0x3e73b2(0x419)]]),_0x45463f=0x5a0*0x3c*0x3e8;function _0x84feee(_0x5981e3,_0x26c955){const _0x22eb72=_0x3e73b2;return _0x5981e3==null&&_0x26c955==null?0x0:_0x5981e3==null?-0x1:_0x26c955==null?0x1:typeof _0x5981e3=='number'&&typeof _0x26c955==_0x22eb72(0x2cf)?_0x5981e3-_0x26c955:String(_0x5981e3)[_0x22eb72(0x42f)](String(_0x26c955));}function _0xfd4628(_0x166665,_0x4d07bf,_0x3aadf4,_0x55e2a5,_0x33e9f8={}){const _0x4d5070=_0x3e73b2;if(_0x4d07bf==='isEmpty')return _0x2c182a(_0x166665);if(_0x4d07bf==='isNotEmpty')return!_0x2c182a(_0x166665);switch(_0x55e2a5[_0x4d5070(0x357)]){case _0x40477b[_0x4d5070(0x3dc)][_0x4d5070(0x42b)]:case _0x40477b['BaseFieldType'][_0x4d5070(0x200)]:case _0x40477b[_0x4d5070(0x3dc)][_0x4d5070(0x24c)]:case _0x40477b['BaseFieldType'][_0x4d5070(0x4a4)]:return _0x2aa18a(_0x166665,_0x4d07bf,_0x3aadf4);case _0x40477b['BaseFieldType'][_0x4d5070(0x48b)]:case _0x40477b['BaseFieldType'][_0x4d5070(0x275)]:case _0x40477b[_0x4d5070(0x3dc)]['UpdatedAt']:return _0x57e286(_0x166665,_0x4d07bf,_0x3aadf4,_0x33e9f8);case _0x40477b[_0x4d5070(0x3dc)]['Checkbox']:return _0x586d00(_0x166665,_0x4d07bf,_0x3aadf4);case _0x40477b[_0x4d5070(0x3dc)][_0x4d5070(0x2e5)]:case _0x40477b[_0x4d5070(0x3dc)][_0x4d5070(0x2e1)]:case _0x40477b['BaseFieldType'][_0x4d5070(0x481)]:case _0x40477b[_0x4d5070(0x3dc)]['Group']:return _0x202b46(_0x166665,_0x4d07bf,_0x3aadf4,_0x55e2a5);default:return _0x3b5eeb(_0x166665,_0x4d07bf,_0x3aadf4);}}function _0x2c182a(_0x37ce38){const _0x2b7570=_0x3e73b2;return _0x37ce38==null?!0x0:Array['isArray'](_0x37ce38)?_0x37ce38[_0x2b7570(0x49a)]===0x0:typeof _0x37ce38==_0x2b7570(0x394)?_0x37ce38[_0x2b7570(0x3bb)]()==='':!0x1;}function _0x2aa18a(_0x183281,_0x4e041e,_0x2906c4){const _0x3ef3ba=_0x3e73b2;let _0x4a9633=_0x587601(_0x183281),_0xa55064=_0x587601(_0x2906c4);if(_0x4a9633==null||_0xa55064==null)return!0x1;switch(_0x4e041e){case'is':return _0x4a9633===_0xa55064;case _0x3ef3ba(0x1fb):return _0x4a9633!==_0xa55064;case'greaterThan':return _0x4a9633>_0xa55064;case _0x3ef3ba(0x32d):return _0x4a9633>=_0xa55064;case'lessThan':return _0x4a9633<_0xa55064;case _0x3ef3ba(0x508):return _0x4a9633<=_0xa55064;default:return!0x1;}}function _0x587601(_0x3b8a39){const _0x131f7a=_0x3e73b2;if(_0x3b8a39==null||_0x3b8a39==='')return null;let _0x88f91c=Number(_0x3b8a39);return Number[_0x131f7a(0x324)](_0x88f91c)?_0x88f91c:null;}function _0x57e286(_0x1a15fa,_0x5944da,_0x1bd026,_0x3f9e82){const _0x1f95b8=_0x3e73b2;var _0x409afa;let _0x2e81b3=_0xb2c7a1(_0x1a15fa);if(_0x2e81b3==null)return!0x1;let _0x534b76=_0x260f6f((_0x409afa=_0x3f9e82[_0x1f95b8(0x25c)])==null?_0x1f95b8(0x458):_0x409afa,_0x1bd026,_0x3f9e82['now']);if(!_0x534b76)return!0x1;switch(_0x5944da){case'is':return _0x2e81b3>=_0x534b76[_0x1f95b8(0x1e7)]&&_0x2e81b3<=_0x534b76[_0x1f95b8(0x4ad)];case _0x1f95b8(0x1fb):return _0x2e81b3<_0x534b76[_0x1f95b8(0x1e7)]||_0x2e81b3>_0x534b76[_0x1f95b8(0x4ad)];case _0x1f95b8(0x446):return _0x2e81b3<_0x534b76[_0x1f95b8(0x1e7)];case'after':return _0x2e81b3>_0x534b76[_0x1f95b8(0x4ad)];default:return!0x1;}}function _0x260f6f(_0x5a48aa,_0x205a3a,_0x4bdefc=Date[_0x3e73b2(0x35f)]()){const _0x4c7c7a=_0x3e73b2;let _0x2ebc47=_0x120442(_0x4bdefc);switch(_0x5a48aa){case _0x4c7c7a(0x458):{let _0x439962=_0xb2c7a1(_0x205a3a);return _0x439962==null?null:{'start':_0x439962,'end':_0x439962+_0x45463f-0x1};}case'today':return{'start':_0x2ebc47,'end':_0x2ebc47+_0x45463f-0x1};case _0x4c7c7a(0x397):return{'start':_0x2ebc47+_0x45463f,'end':_0x2ebc47+_0x45463f*0x2-0x1};case _0x4c7c7a(0x36a):return{'start':_0x2ebc47-_0x45463f,'end':_0x2ebc47-0x1};case'thisWeek':return _0x590d10(_0x2ebc47,0x0);case'lastWeek':return _0x590d10(_0x2ebc47,-0x1);case _0x4c7c7a(0x206):return _0x261f32(_0x2ebc47,0x0);case _0x4c7c7a(0x38f):return _0x261f32(_0x2ebc47,-0x1);case _0x4c7c7a(0x2e4):return{'start':_0x2ebc47-_0x45463f*0x6,'end':_0x2ebc47+_0x45463f-0x1};case _0x4c7c7a(0x3d6):return{'start':_0x2ebc47,'end':_0x2ebc47+_0x45463f*0x7-0x1};case _0x4c7c7a(0x32f):return{'start':_0x2ebc47-_0x45463f*0x1d,'end':_0x2ebc47+_0x45463f-0x1};case _0x4c7c7a(0x211):return{'start':_0x2ebc47,'end':_0x2ebc47+_0x45463f*0x1e-0x1};}}function _0xb2c7a1(_0x301469){let _0x41db72=_0xc0f453(_0x301469);return _0x41db72==null?null:_0x120442(_0x20f52d(_0x41db72));}function _0x120442(_0x3c0685){const _0x33d753=_0x3e73b2;let _0x3a3b56=new Date(_0x3c0685);return _0x3a3b56[_0x33d753(0x34a)](0x0,0x0,0x0,0x0),_0x3a3b56['getTime']();}function _0x590d10(_0x509df7,_0x131dfe){const _0x405d2e=_0x3e73b2;let _0x3713f9=_0x509df7-(new Date(_0x509df7)[_0x405d2e(0x395)]()+0x6)%0x7*_0x45463f+_0x131dfe*_0x45463f*0x7;return{'start':_0x3713f9,'end':_0x3713f9+_0x45463f*0x7-0x1};}function _0x261f32(_0x1e4a36,_0x149950){const _0x454ed0=_0x3e73b2;let _0x45971e=new Date(_0x1e4a36),_0x35df5b=new Date(_0x45971e['getFullYear'](),_0x45971e['getMonth']()+_0x149950,0x1),_0x14860c=new Date(_0x45971e[_0x454ed0(0x4b6)](),_0x45971e[_0x454ed0(0x430)]()+_0x149950+0x1,0x1);return{'start':_0x35df5b['getTime'](),'end':_0x14860c[_0x454ed0(0x34e)]()-0x1};}function _0x586d00(_0x513a07,_0xbe6d0e,_0x2d7c44){const _0xe0c425=_0x3e73b2;let _0x310038=_0x11b502(_0x513a07),_0x166537=_0x11b502(_0x2d7c44);switch(_0xbe6d0e){case'is':return _0x310038===_0x166537;case _0xe0c425(0x1fb):return _0x310038!==_0x166537;default:return!0x1;}}function _0x11b502(_0x59889e){return _0x59889e===!0x0||_0x59889e==='true'||_0x59889e===0x1||_0x59889e==='1';}function _0x202b46(_0x3ffbb6,_0x5ecd95,_0x2ed890,_0x1e17a5){const _0x221fae=_0x3e73b2;let _0x44c3f3=_0x517fba(_0x3ffbb6,_0x1e17a5),_0x5f3b7f=_0x517fba(_0x2ed890,_0x1e17a5),_0x1d1d8f=_0x5f3b7f[_0x221fae(0x49a)]>0x0&&_0x5f3b7f[_0x221fae(0x2f1)](_0x326004=>_0x44c3f3[_0x221fae(0x238)](_0x326004));switch(_0x5ecd95){case'is':case _0x221fae(0x208):return _0x1d1d8f;case _0x221fae(0x1fb):case _0x221fae(0x25e):return!_0x1d1d8f;default:return!0x1;}}function _0x3b5eeb(_0x38808d,_0x5241db,_0x20fc37){const _0x1a805e=_0x3e73b2;let _0x5b470a=_0xde3a84(_0x38808d),_0x538516=_0xde3a84(_0x20fc37);switch(_0x5241db){case'is':return _0x5b470a===_0x538516;case _0x1a805e(0x1fb):return _0x5b470a!==_0x538516;case _0x1a805e(0x208):return _0x538516?_0x5b470a['includes'](_0x538516):!0x1;case _0x1a805e(0x25e):return _0x538516?!_0x5b470a[_0x1a805e(0x238)](_0x538516):!0x0;default:return!0x1;}}function _0xde3a84(_0xb97c98){const _0x53b17f=_0x3e73b2;if(Array['isArray'](_0xb97c98))return _0xb97c98[_0x53b17f(0x2ea)](_0x44f7d9=>_0xde3a84(_0x44f7d9))['join']('\x0a');if(_0xb97c98&&typeof _0xb97c98==_0x53b17f(0x3ed)){var _0x41dd6a,_0x29575c,_0x2ac557,_0x48cd8b,_0xb823bd;let _0x5b756f=_0xb97c98;return String((_0x41dd6a=(_0x29575c=(_0x2ac557=(_0x48cd8b=(_0xb823bd=_0x5b756f[_0x53b17f(0x33c)])==null?_0x5b756f[_0x53b17f(0x29e)]:_0xb823bd)==null?_0x5b756f[_0x53b17f(0x2b5)]:_0x48cd8b)==null?_0x5b756f[_0x53b17f(0x3d2)]:_0x2ac557)==null?_0x5b756f['id']:_0x29575c)==null?'':_0x41dd6a)['trim']()[_0x53b17f(0x4c8)]();}return String(_0xb97c98==null?'':_0xb97c98)[_0x53b17f(0x3bb)]()['toLowerCase']();}function _0x517fba(_0x49f3c4,_0x4db61c){const _0x6fb4c4=_0x3e73b2;var _0x589745;let _0x42211c=_0x4924a0(_0x49f3c4),_0x5a27f0=_0x3631e1((_0x589745=_0x4db61c[_0x6fb4c4(0x4c3)])==null?{}:_0x589745);return _0x42211c['flatMap'](_0x57ee42=>{const _0x77dc53=_0x6fb4c4;var _0x40af07;return(_0x40af07=_0x5a27f0[_0x77dc53(0x20f)](_0x57ee42))==null?[_0x57ee42]:_0x40af07;})['filter']((_0x2915e9,_0x18ef06,_0x880168)=>_0x2915e9!==''&&_0x880168['indexOf'](_0x2915e9)===_0x18ef06);}function _0x4924a0(_0x372e12){const _0x48896d=_0x3e73b2;if(_0x372e12==null||_0x372e12==='')return[];if(Array[_0x48896d(0x21e)](_0x372e12))return _0x372e12['flatMap'](_0x5a8b80=>_0x4924a0(_0x5a8b80));if(_0x372e12&&typeof _0x372e12=='object'){let _0xfdb75e=_0x372e12;return['id',_0x48896d(0x33c),_0x48896d(0x29e),_0x48896d(0x3d2),_0x48896d(0x2b5)][_0x48896d(0x371)](_0x438e0c=>_0x4924a0(_0xfdb75e[_0x438e0c]))[_0x48896d(0x3f6)]((_0x585f90,_0x54a883,_0x509e38)=>_0x509e38[_0x48896d(0x3f5)](_0x585f90)===_0x54a883);}return[_0xde3a84(_0x372e12)];}function _0x3631e1(_0x25d94e){const _0x19c652=_0x3e73b2;let _0x2d7ed6=new Map();return(Array[_0x19c652(0x21e)](_0x25d94e['options'])?_0x25d94e[_0x19c652(0x518)]:[])[_0x19c652(0x23d)](_0x38ed2b=>{const _0x2623a1=_0x19c652;if(!_0x38ed2b||typeof _0x38ed2b!='object')return;let _0x5e2ea8=_0x4924a0(_0x38ed2b),_0x5a280d=_0x5e2ea8['filter']((_0x5ce3c9,_0x4adcea)=>_0x5ce3c9!==''&&_0x5e2ea8['indexOf'](_0x5ce3c9)===_0x4adcea);_0x5a280d[_0x2623a1(0x23d)](_0x4d29d4=>_0x2d7ed6[_0x2623a1(0x368)](_0x4d29d4,_0x5a280d));}),_0x2d7ed6;}function _0x5ab0b7(_0x338a04,_0x250ba5={},_0x4d936f=_0x3fc47c=>_0x3fc47c,_0x4351d8={}){const _0x28841d=_0x3e73b2;var _0x4847d7,_0x3e910,_0x1d1d6a,_0xe2c14c;let _0x1eaf1a=!_0x15026e['has'](_0x338a04),_0x254289=_0x4d936f==null?_0x387c20=>_0x387c20:_0x4d936f;return{'type':_0x338a04,'i18nKey':_0x28841d(0x366)+_0x338a04,'enabled':_0x1eaf1a,'visibleInCreateMenu':_0x1eaf1a,'createDefaultConfig':(_0x4847d7=_0x4351d8[_0x28841d(0x3d4)])==null?()=>({}):_0x4847d7,'createDefaultValue':(_0x3e910=_0x4351d8[_0x28841d(0x39e)])==null?_0x93302=>{var _0xc0320a;return(_0xc0320a=_0x93302['defaultValue'])==null?null:_0xc0320a;}:_0x3e910,'normalize':(_0xaefdbc,_0x136474)=>_0x254289(_0xaefdbc,_0x136474),'validate':(_0x5ec304,_0x3f8d73)=>{const _0x40411b=_0x28841d;var _0x464ce0,_0x45e342;return _0x1eaf1a?(_0x464ce0=(_0x45e342=_0x4351d8[_0x40411b(0x2c2)])==null?void 0x0:_0x45e342[_0x40411b(0x44e)](_0x4351d8,_0x5ec304,_0x3f8d73))==null?{'valid':!0x0}:_0x464ce0:{'valid':!0x1};},'compare':(_0xc21214,_0x4c8787)=>_0x84feee(_0xc21214,_0x4c8787),'filter':(_0x12af42,_0x1681cd,_0x1c494e,_0x2bcc6d)=>_0xfd4628(_0x12af42,_0x1681cd,_0x1c494e,_0x2bcc6d),'toPlainText':(_0x1d1d6a=_0x4351d8['toPlainText'])==null?_0x149264=>_0x149264==null?'':String(_0x149264):_0x1d1d6a,'fromPlainText':(_0xe2c14c=_0x4351d8[_0x28841d(0x451)])==null?_0xb1604d=>_0x254289(_0xb1604d,{'id':'','name':'','type':_0x338a04,'config':{}}):_0xe2c14c,'getCapabilities':()=>{const _0x567880=_0x28841d;var _0x4cbdcf;return{..._0x5e83bb,..._0x250ba5,'editable':_0x1eaf1a&&((_0x4cbdcf=_0x250ba5[_0x567880(0x293)])==null?_0x5e83bb['editable']:_0x4cbdcf)};}};}function _0x4a2be5(){const _0x365f3c=_0x3e73b2;return[_0x5ab0b7(_0x40477b[_0x365f3c(0x3dc)][_0x365f3c(0x309)],{'groupable':!0x0,'usableAsTitle':!0x0},void 0x0,{'createDefaultConfig':()=>({'placeholder':_0x365f3c(0x259)}),'createDefaultValue':_0x599a28=>{const _0x55e1d5=_0x365f3c;var _0x1bb640;return(_0x1bb640=_0x599a28[_0x55e1d5(0x39d)])==null?'':_0x1bb640;}}),_0x5ab0b7(_0x40477b[_0x365f3c(0x3dc)][_0x365f3c(0x2e5)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsOptions':!0x0},_0x20634f=>_0x20634f==null||_0x20634f===''?null:String(_0x20634f),{'createDefaultConfig':()=>({'options':[],'optionSource':{'type':_0x365f3c(0x3bd)}})}),_0x5ab0b7(_0x40477b[_0x365f3c(0x3dc)][_0x365f3c(0x2e1)],{'filterable':!0x0,'usableAsKanbanGroup':!0x0,'supportsOptions':!0x0,'supportsMultipleValues':!0x0},_0x451d9b=>Array['isArray'](_0x451d9b)?_0x451d9b[_0x365f3c(0x2ea)](String):_0x451d9b==null?[]:[String(_0x451d9b)],{'createDefaultConfig':()=>({'options':[],'optionSource':{'type':_0x365f3c(0x3bd)}}),'createDefaultValue':_0xa5187b=>{const _0x506e8d=_0x365f3c;var _0x40c681;return(_0x40c681=_0xa5187b[_0x506e8d(0x39d)])==null?[]:_0x40c681;}}),_0x5ab0b7(_0x40477b[_0x365f3c(0x3dc)][_0x365f3c(0x481)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsMultipleValues':!0x0},_0x5e56f8,{'createDefaultConfig':()=>({'allowMultiple':!0x1,'provider':_0x365f3c(0x434)}),'validate':_0x4ba391}),_0x5ab0b7(_0x40477b[_0x365f3c(0x3dc)][_0x365f3c(0x392)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsMultipleValues':!0x0},_0x54b526,{'createDefaultConfig':()=>({'allowMultiple':!0x0,'provider':_0x365f3c(0x513)}),'createDefaultValue':_0x1d20a2=>{var _0x54766d;return(_0x54766d=_0x1d20a2['defaultValue'])==null?[]:_0x54766d;},'validate':_0x1b824b}),_0x5ab0b7(_0x40477b[_0x365f3c(0x3dc)][_0x365f3c(0x48b)],{'groupable':!0x0,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x13fe28=>_0xc0f453(_0x13fe28),{'createDefaultConfig':()=>_0x505e77(),'validate':_0x4ee60f}),_0x5ab0b7(_0x40477b[_0x365f3c(0x3dc)][_0x365f3c(0x4aa)],{'usableAsCardCover':!0x0,'supportsMultipleValues':!0x0},_0x3303e6=>_0x3303e6==null?[]:Array[_0x365f3c(0x21e)](_0x3303e6)?_0x3303e6:[_0x3303e6],{'createDefaultValue':_0x5df99c=>{const _0x1e8264=_0x365f3c;var _0x43614d;return(_0x43614d=_0x5df99c[_0x1e8264(0x39d)])==null?[]:_0x43614d;}}),_0x5ab0b7(_0x40477b[_0x365f3c(0x3dc)][_0x365f3c(0x42b)],{},_0x420223=>_0x420223==null||_0x420223===''?null:Number(_0x420223),{'createDefaultConfig':()=>_0x1304a8(),'validate':_0x22167e}),_0x5ab0b7(_0x40477b['BaseFieldType'][_0x365f3c(0x22e)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0},_0x3dbd4a=>_0x3dbd4a===!0x0||_0x3dbd4a===_0x365f3c(0x2c9)||_0x3dbd4a===0x1||_0x3dbd4a==='1',{'createDefaultConfig':()=>({'icon':_0x365f3c(0x403),'color':_0x365f3c(0x402)}),'createDefaultValue':_0xde0429=>{var _0x260120;return(_0x260120=_0xde0429['defaultValue'])==null?!0x1:_0x260120;},'validate':_0x142183=>typeof _0x142183==_0x365f3c(0x4d5)?{'valid':!0x0}:{'valid':!0x1,'reason':_0x365f3c(0x2c6)}}),_0x5ab0b7(_0x40477b[_0x365f3c(0x3dc)][_0x365f3c(0x38d)],{'supportsRelation':!0x0},_0x2b5c3c,{'createDefaultConfig':()=>({'placeholder':_0x365f3c(0x2da)}),'toPlainText':_0x2375c1=>_0x4f9ced(_0x2375c1),'fromPlainText':_0x119d6e=>_0x2b5c3c(_0x119d6e)}),_0x5ab0b7(_0x40477b[_0x365f3c(0x3dc)][_0x365f3c(0x1ec)],{'editable':!0x1},void 0x0,{'createDefaultConfig':()=>({'formula':'','dependencies':[],'numfmt':{'type':_0x365f3c(0x414),'pattern':_0x365f3c(0x246)}}),'createDefaultValue':()=>null}),_0x5ab0b7(_0x40477b['BaseFieldType'][_0x365f3c(0x35c)],{}),_0x5ab0b7(_0x40477b[_0x365f3c(0x3dc)][_0x365f3c(0x4b7)],{}),_0x5ab0b7(_0x40477b[_0x365f3c(0x3dc)][_0x365f3c(0x2bf)],{'editable':!0x1,'sortable':!0x1,'filterable':!0x1}),_0x5ab0b7(_0x40477b[_0x365f3c(0x3dc)][_0x365f3c(0x479)],{'editable':!0x1,'usableAsTitle':!0x0},void 0x0,{'createDefaultConfig':()=>({'mode':_0x365f3c(0x3d8)}),'createDefaultValue':()=>null}),_0x5ab0b7(_0x40477b['BaseFieldType'][_0x365f3c(0x379)],{'usableAsTitle':!0x0},_0x483f6d=>_0x483f6d==null?null:String(_0x483f6d)['trim'](),{'validate':_0x17d1d5=>_0x17d1d5==null||_0x17d1d5===''||/^\+?[0-9 ()-]{6,20}$/[_0x365f3c(0x45b)](String(_0x17d1d5))?{'valid':!0x0}:{'valid':!0x1,'reason':_0x365f3c(0x2db)}}),_0x5ab0b7(_0x40477b['BaseFieldType'][_0x365f3c(0x25b)],{'usableAsTitle':!0x0},_0x3a54e4=>_0x3a54e4==null?null:String(_0x3a54e4)['trim'](),{'validate':_0x17be05=>_0x17be05==null||_0x17be05===''||_0x5b72f1(String(_0x17be05))?{'valid':!0x0}:{'valid':!0x1,'reason':'[BaseField]:\x20invalid\x20email\x20value.'}}),_0x5ab0b7(_0x40477b[_0x365f3c(0x3dc)][_0x365f3c(0x4bd)],{'usableAsTitle':!0x0}),_0x5ab0b7(_0x40477b[_0x365f3c(0x3dc)][_0x365f3c(0x419)],{'usableAsTitle':!0x0}),_0x5ab0b7(_0x40477b[_0x365f3c(0x3dc)][_0x365f3c(0x24c)],{'usableAsGanttProgress':!0x0},_0x225d73=>_0x225d73==null||_0x225d73===''?null:Number(_0x225d73),{'createDefaultConfig':()=>({'format':'percent','decimalPlaces':0x0,'color':_0x365f3c(0x287),'customRange':!0x1,'start':0x0,'end':0x64}),'validate':(_0x3dfec4,_0x2d9814)=>_0x2943de(_0x3dfec4,_0x2d9814,_0x365f3c(0x2b3))}),_0x5ab0b7(_0x40477b['BaseFieldType'][_0x365f3c(0x200)],{},_0x3ccc2d=>_0x3ccc2d==null||_0x3ccc2d===''?null:Number(_0x3ccc2d),{'createDefaultConfig':()=>({..._0x1304a8(),'currencySymbol':'$'}),'validate':_0x22167e}),_0x5ab0b7(_0x40477b[_0x365f3c(0x3dc)]['Rating'],{'groupable':!0x0,'usableAsKanbanGroup':!0x0},_0x51e3fd=>_0x51e3fd==null||_0x51e3fd===''?null:Number(_0x51e3fd),{'createDefaultConfig':()=>({'icon':_0x365f3c(0x3c1),'min':0x1,'max':0x5}),'createDefaultValue':()=>null,'validate':(_0x36ec07,_0x312200)=>_0x2943de(_0x36ec07,_0x312200,_0x365f3c(0x2d1))}),_0x5ab0b7(_0x40477b[_0x365f3c(0x3dc)]['TwoWayLink'],{'supportsRelation':!0x0}),_0x5ab0b7(_0x40477b[_0x365f3c(0x3dc)]['RecordId'],{'editable':!0x1,'sortable':!0x0,'filterable':!0x0,'usableAsTitle':!0x0}),_0x5ab0b7(_0x40477b[_0x365f3c(0x3dc)][_0x365f3c(0x20e)],{'editable':!0x1,'groupable':!0x0},_0x5691c2=>_0x5691c2==null?null:String(_0x5691c2),{'createDefaultConfig':()=>({'provider':_0x365f3c(0x22b)}),'createDefaultValue':()=>null}),_0x5ab0b7(_0x40477b['BaseFieldType'][_0x365f3c(0x422)],{'editable':!0x1,'groupable':!0x0},_0x3506e0=>_0x3506e0==null?null:String(_0x3506e0),{'createDefaultConfig':()=>({'provider':_0x365f3c(0x22b)}),'createDefaultValue':()=>null}),_0x5ab0b7(_0x40477b[_0x365f3c(0x3dc)][_0x365f3c(0x275)],{'editable':!0x1,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x420e93=>_0xc0f453(_0x420e93),{'createDefaultConfig':()=>_0x505e77(),'createDefaultValue':()=>null,'validate':_0x4ee60f}),_0x5ab0b7(_0x40477b[_0x365f3c(0x3dc)][_0x365f3c(0x2a6)],{'editable':!0x1,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x1378db=>_0xc0f453(_0x1378db),{'createDefaultConfig':()=>_0x505e77(),'createDefaultValue':()=>null,'validate':_0x4ee60f}),_0x5ab0b7(_0x40477b[_0x365f3c(0x3dc)][_0x365f3c(0x3a5)],{})];}function _0x1304a8(){const _0x324d8e=_0x3e73b2;return{'pattern':_0x324d8e(0x3f7),'decimalPlaces':0x2,'separatorStyle':_0x324d8e(0x3de),'useThousands':!0x0,'abbreviation':_0x324d8e(0x506),'allowNegative':!0x0};}function _0x505e77(){const _0x39c844=_0x3e73b2;return{'locale':_0x39c844(0x381),'pattern':_0x39c844(0x291),'includeTime':!0x1,'hourCycle':'h24','defaultMode':_0x39c844(0x506)};}function _0x54b526(_0x4d0793){const _0x428bb2=_0x3e73b2;return _0x4d0793==null||_0x4d0793===''?[]:Array[_0x428bb2(0x21e)](_0x4d0793)?_0x4d0793[_0x428bb2(0x2ea)](String):[String(_0x4d0793)];}function _0x5e56f8(_0x5f59aa,_0x5e32ac){const _0x504f9a=_0x3e73b2;var _0x3b305e;return _0x5f59aa==null||_0x5f59aa===''?_0x5e32ac[_0x504f9a(0x4c3)][_0x504f9a(0x26e)]===!0x0?[]:null:_0x5e32ac[_0x504f9a(0x4c3)][_0x504f9a(0x26e)]===!0x0?Array[_0x504f9a(0x21e)](_0x5f59aa)?_0x5f59aa[_0x504f9a(0x2ea)](String):[String(_0x5f59aa)]:Array['isArray'](_0x5f59aa)?String((_0x3b305e=_0x5f59aa[0x0])==null?'':_0x3b305e)||null:String(_0x5f59aa);}function _0x4ba391(_0x352adf,_0x4a2aea){const _0x256319=_0x3e73b2;return _0x4a2aea[_0x256319(0x4c3)][_0x256319(0x26e)]===!0x0?_0x1b824b(_0x352adf):_0x352adf==null||_0x352adf===''||typeof _0x352adf==_0x256319(0x394)?{'valid':!0x0}:{'valid':!0x1,'reason':_0x256319(0x39c)};}function _0x1b824b(_0x9c8bf4){const _0x330eea=_0x3e73b2;return _0x9c8bf4==null||Array[_0x330eea(0x21e)](_0x9c8bf4)&&_0x9c8bf4['every'](_0x267a93=>typeof _0x267a93==_0x330eea(0x394))?{'valid':!0x0}:{'valid':!0x1,'reason':_0x330eea(0x3a9)};}function _0x4ee60f(_0x5cf36f){const _0x4c9154=_0x3e73b2;return _0x5cf36f==null||typeof _0x5cf36f==_0x4c9154(0x2cf)&&Number['isFinite'](_0x5cf36f)?{'valid':!0x0}:{'valid':!0x1,'reason':'[BaseField]:\x20invalid\x20date\x20value.'};}function _0x22167e(_0x8c91f8,_0x161d9d){const _0x557c11=_0x3e73b2;return _0x8c91f8==null||_0x8c91f8===''?{'valid':!0x0}:typeof _0x8c91f8!=_0x557c11(0x2cf)||!Number[_0x557c11(0x324)](_0x8c91f8)?{'valid':!0x1,'reason':_0x557c11(0x515)}:_0x161d9d[_0x557c11(0x4c3)][_0x557c11(0x2f3)]===!0x1&&_0x8c91f8<0x0?{'valid':!0x1,'reason':_0x557c11(0x3c8)}:{'valid':!0x0};}function _0x2943de(_0x5b2f36,_0x296db9,_0xa4d6cb){const _0x52f4c2=_0x3e73b2;var _0x131cd6,_0x4eee92,_0x36f1f3,_0x507630;let _0x49e178=_0x22167e(_0x5b2f36,_0x296db9);if(!_0x49e178[_0x52f4c2(0x333)]||_0x5b2f36==null||_0x5b2f36==='')return _0x49e178;let _0x4669c6=Number((_0x131cd6=(_0x4eee92=_0x296db9[_0x52f4c2(0x4c3)]['min'])==null?_0x296db9['config'][_0x52f4c2(0x1e7)]:_0x4eee92)==null?0x0:_0x131cd6),_0x17ec2b=Number((_0x36f1f3=(_0x507630=_0x296db9[_0x52f4c2(0x4c3)]['max'])==null?_0x296db9[_0x52f4c2(0x4c3)][_0x52f4c2(0x4ad)]:_0x507630)==null?0x64:_0x36f1f3),_0xf5c094=Number(_0x5b2f36);return _0xf5c094>=_0x4669c6&&_0xf5c094<=_0x17ec2b?{'valid':!0x0}:{'valid':!0x1,'reason':_0xa4d6cb};}function _0x2b5c3c(_0x1e6ce0){const _0x19bb2f=_0x3e73b2;if(_0x1e6ce0==null||_0x1e6ce0==='')return null;if(typeof _0x1e6ce0==_0x19bb2f(0x3ed)&&!Array[_0x19bb2f(0x21e)](_0x1e6ce0)){let _0x118482=_0x1e6ce0,_0x39189d=typeof _0x118482[_0x19bb2f(0x2b5)]==_0x19bb2f(0x394)?_0x118482[_0x19bb2f(0x2b5)][_0x19bb2f(0x3bb)]():'',_0x97acad=typeof _0x118482[_0x19bb2f(0x3e0)]=='string'?_0x118482[_0x19bb2f(0x3e0)][_0x19bb2f(0x3bb)]():'',_0x3746f4=_0x5419f9(_0x97acad||_0x39189d);return _0x3746f4?{'text':_0x39189d||_0x97acad||_0x3746f4,'url':_0x3746f4}:null;}let _0x3029c9=String(_0x1e6ce0)[_0x19bb2f(0x3bb)](),_0xca033c=_0x5419f9(_0x3029c9);return _0xca033c?{'text':_0x3029c9,'url':_0xca033c}:null;}function _0x4f9ced(_0x5cafaf){const _0x302262=_0x3e73b2;if(_0x5cafaf==null)return'';if(typeof _0x5cafaf==_0x302262(0x3ed)&&!Array[_0x302262(0x21e)](_0x5cafaf)){let _0x2c8701=_0x5cafaf;return String(_0x2c8701[_0x302262(0x2b5)]||_0x2c8701[_0x302262(0x3e0)]||'');}return String(_0x5cafaf);}function _0x5419f9(_0x47b392){const _0x429ab9=_0x3e73b2;let _0x1daebb=_0x47b392[_0x429ab9(0x3bb)]();return _0x1daebb?/^[a-z][a-z\d+.-]*:\/\//i['test'](_0x1daebb)?_0x1daebb:'https://'+_0x1daebb:'';}function _0x5b72f1(_0x30a0dc){const _0x3658d7=_0x3e73b2;let _0x352756=_0x30a0dc['indexOf']('@');if(_0x352756<=0x0||_0x352756!==_0x30a0dc[_0x3658d7(0x212)]('@'))return!0x1;let _0x116ed2=_0x30a0dc['slice'](_0x352756+0x1);return _0x116ed2[_0x3658d7(0x238)]('.')&&!_0x30a0dc[_0x3658d7(0x238)]('\x20')&&!_0x116ed2['startsWith']('.')&&!_0x116ed2[_0x3658d7(0x517)]('.');}let _0x2c090c={'table':_0x2bdabc=>['tables',_0x2bdabc],'field':(_0x1e3215,_0xfb04e2)=>[_0x3e73b2(0x4be),_0x1e3215,'fields',_0xfb04e2],'fieldOrder':(_0x3bee80,_0x1c1082)=>[_0x3e73b2(0x4be),_0x3bee80,_0x3e73b2(0x373),_0x1c1082],'record':(_0x240128,_0xbc19f5)=>[_0x3e73b2(0x4be),_0x240128,_0x3e73b2(0x464),_0xbc19f5],'cell':(_0x1c61be,_0x53582c,_0x52ddc2)=>[_0x3e73b2(0x4be),_0x1c61be,_0x3e73b2(0x464),_0x53582c,'values',_0x52ddc2],'cellData':(_0x53c83b,_0x255a83,_0x1d85a0)=>[_0x3e73b2(0x4be),_0x53c83b,_0x3e73b2(0x4fa),String(_0x255a83),String(_0x1d85a0)],'attachmentSet':(_0x144d74,_0x20a560)=>['tables',_0x144d74,_0x3e73b2(0x27e),'attachmentSets',_0x20a560],'attachment':(_0x3324a0,_0x2f4a8b)=>['tables',_0x3324a0,'resources','attachments',_0x2f4a8b],'view':(_0x143c4f,_0x34471f)=>[_0x3e73b2(0x4be),_0x143c4f,_0x3e73b2(0x2f4),_0x34471f],'viewFieldHidden':(_0x30a3ba,_0x59cc4e,_0x42f3a2)=>[_0x3e73b2(0x4be),_0x30a3ba,_0x3e73b2(0x2f4),_0x59cc4e,'fieldSettings',_0x42f3a2,'hidden']};function _0x265795(_0x597f36){const _0x85fdf4=_0x3e73b2;return _0x597f36[_0x85fdf4(0x4b1)]((_0x1395dc,_0x90a433)=>_0x1395dc==null?_0x90a433:_0x40477b[_0x85fdf4(0x1f4)][_0x85fdf4(0x357)]['compose'](_0x1395dc,_0x90a433),void 0x0);}var _0x54caa1=class{[_0x3e73b2(0x4eb)](_0xabbfb4,_0x194763){const _0x17d9ce=_0x3e73b2;let _0x5acb20=this[_0x17d9ce(0x435)](_0xabbfb4,_0xabbfb4['name'],_0x194763);return _0x265795([this['_replaceOptional'](['name'],_0xabbfb4[_0x17d9ce(0x33c)],_0x194763),..._0x5acb20?[_0x5acb20]:[]]);}[_0x3e73b2(0x435)](_0x3d225d,_0x572989,_0x4a01dc){const _0x4e7e29=_0x3e73b2;let _0x4f58a2=Object['values'](_0x3d225d[_0x4e7e29(0x4be)])[_0x4e7e29(0x371)](_0x90f5f1=>Object['values'](_0x90f5f1[_0x4e7e29(0x431)])[_0x4e7e29(0x371)](_0x2eca5e=>{const _0x560287=_0x4e7e29;var _0x330819,_0x1b97ee,_0x1e661d;if(_0x2eca5e[_0x560287(0x357)]!==_0x40477b[_0x560287(0x3dc)][_0x560287(0x1ec)])return[];let _0x44f70d=String((_0x330819=(_0x1b97ee=_0x2eca5e['config'])==null?void 0x0:_0x1b97ee[_0x560287(0x416)])==null?'':_0x330819),_0x1eba16=(0x0,_0x2fabc2[_0x560287(0x27b)])(_0x44f70d,_0x572989,_0x4a01dc);return _0x1eba16===_0x44f70d?[]:[this[_0x560287(0x2fd)]([..._0x2c090c[_0x560287(0x256)](_0x90f5f1['id'],_0x2eca5e['id']),'config',_0x560287(0x416)],(_0x1e661d=_0x2eca5e[_0x560287(0x4c3)])==null?void 0x0:_0x1e661d['formula'],_0x1eba16)];}));return _0x4f58a2[_0x4e7e29(0x49a)]>0x0?_0x265795(_0x4f58a2):void 0x0;}[_0x3e73b2(0x2bb)](_0x42b77d,_0x5391c3,_0x4a72f2=_0x42b77d[_0x3e73b2(0x273)][_0x3e73b2(0x49a)]){const _0x2c62d8=_0x3e73b2;return _0x265795([_0x40477b[_0x2c62d8(0x1f4)][_0x2c62d8(0x424)](_0x2c090c[_0x2c62d8(0x2ec)](_0x5391c3['id']),_0x5391c3),_0x40477b[_0x2c62d8(0x1f4)][_0x2c62d8(0x424)]([_0x2c62d8(0x273),_0x4a72f2],_0x5391c3['id'])]);}[_0x3e73b2(0x2ab)](_0x33ce2a,_0x42a6a2,_0x2a1f57){const _0x24e0b3=_0x3e73b2;let _0x84bac=_0x33ce2a['tables'][_0x42a6a2][_0x24e0b3(0x33c)],_0x5569f1=Object[_0x24e0b3(0x318)](_0x33ce2a[_0x24e0b3(0x4be)])['flatMap'](_0x4b5aed=>Object[_0x24e0b3(0x318)](_0x4b5aed['fields'])[_0x24e0b3(0x371)](_0x3e3a52=>{const _0x1a5fe4=_0x24e0b3;var _0x5cdb70,_0x1e86ad;if(_0x3e3a52[_0x1a5fe4(0x357)]!==_0x40477b[_0x1a5fe4(0x3dc)][_0x1a5fe4(0x1ec)])return[];let _0x602be7=String((_0x5cdb70=(_0x1e86ad=_0x3e3a52[_0x1a5fe4(0x4c3)])==null?void 0x0:_0x1e86ad[_0x1a5fe4(0x416)])==null?'':_0x5cdb70),_0x2aaa79=_0x55a3c3(_0x602be7,_0x84bac,_0x2a1f57);return _0x2aaa79===_0x602be7?[]:[this[_0x1a5fe4(0x3ba)](_0x33ce2a,_0x4b5aed['id'],_0x3e3a52['id'],{'config':{..._0x3e3a52['config'],'formula':_0x2aaa79}})];}));return _0x265795([_0x40477b['JSON1'][_0x24e0b3(0x3b9)]([..._0x2c090c[_0x24e0b3(0x2ec)](_0x42a6a2),'name'],_0x84bac,_0x2a1f57),..._0x5569f1]);}[_0x3e73b2(0x3b5)](_0x4be63e,_0x35f985){const _0x29edab=_0x3e73b2;let _0x4bb93d=_0x4be63e[_0x29edab(0x4be)][_0x35f985],_0xfd3f80=_0x4be63e[_0x29edab(0x273)][_0x29edab(0x3f5)](_0x35f985);return _0x265795([_0x40477b[_0x29edab(0x1f4)][_0x29edab(0x386)](_0x2c090c[_0x29edab(0x2ec)](_0x35f985),_0x4bb93d),_0x40477b[_0x29edab(0x1f4)]['removeOp']([_0x29edab(0x273),_0xfd3f80],_0x35f985)]);}['createRecord'](_0x555a32,_0x2c9830,_0x4c29a3){const _0x45e878=_0x3e73b2;return this[_0x45e878(0x358)](_0x555a32,_0x2c9830,[_0x4c29a3]);}['createRecords'](_0x2ac091,_0xad5be1,_0x21788f){const _0x3ee153=_0x3e73b2;let _0xf15667=_0x2ac091['tables'][_0xad5be1],_0x5dbedc=_0x21788f[_0x3ee153(0x3f6)](_0x547c5a=>_0x547c5a&&!_0xf15667[_0x3ee153(0x464)][_0x547c5a['id']]);return _0x5dbedc[_0x3ee153(0x49a)]?_0x265795([..._0x5dbedc[_0x3ee153(0x2ea)](_0x14d1cb=>_0x40477b[_0x3ee153(0x1f4)][_0x3ee153(0x424)](_0x2c090c[_0x3ee153(0x1ed)](_0xad5be1,_0x14d1cb['id']),_0x14d1cb)),this['_createRecordOrderOp'](_0x2ac091,_0xad5be1,_0x5dbedc)]):_0x40477b[_0x3ee153(0x1f4)]['replaceOp']([..._0x2c090c[_0x3ee153(0x2ec)](_0xad5be1),_0x3ee153(0x464)],_0xf15667[_0x3ee153(0x464)],_0xf15667['records']);}[_0x3e73b2(0x444)](_0x377b65,_0x59310e,_0x165d40){const _0x2f4c79=_0x3e73b2;return this[_0x2f4c79(0x388)](_0x377b65,_0x59310e,[_0x165d40]);}[_0x3e73b2(0x388)](_0x2898d7,_0x1b3397,_0x4cf897){const _0x3d75b0=_0x3e73b2;let _0x436df9=_0x2898d7[_0x3d75b0(0x4be)][_0x1b3397],_0x3a3b0a=Array[_0x3d75b0(0x4ef)](new Set(_0x4cf897))[_0x3d75b0(0x3f6)](_0x3aff16=>_0x436df9[_0x3d75b0(0x464)][_0x3aff16]);if(!_0x3a3b0a[_0x3d75b0(0x49a)])return _0x40477b[_0x3d75b0(0x1f4)]['replaceOp']([..._0x2c090c[_0x3d75b0(0x2ec)](_0x1b3397),_0x3d75b0(0x464)],_0x436df9[_0x3d75b0(0x464)],_0x436df9[_0x3d75b0(0x464)]);let _0xb65a39=new Set(_0x3a3b0a),_0xaaba8f=_0x3a3b0a[_0x3d75b0(0x2ea)](_0x2d5675=>{const _0xc269f8=_0x3d75b0;var _0x2f0474,_0x4b44d6;return{'recordId':_0x2d5675,'index':(_0x2f0474=(_0x4b44d6=_0x436df9['recordOrder'])==null?void 0x0:_0x4b44d6[_0xc269f8(0x3f5)](_0x2d5675))==null?-0x1:_0x2f0474};})[_0x3d75b0(0x3f6)](_0x2db11b=>_0x2db11b[_0x3d75b0(0x36c)]>=0x0)[_0x3d75b0(0x225)]((_0x5422d4,_0x298d93)=>_0x298d93[_0x3d75b0(0x36c)]-_0x5422d4[_0x3d75b0(0x36c)]);return _0x265795([..._0x3a3b0a['map'](_0x3793ad=>_0x40477b[_0x3d75b0(0x1f4)][_0x3d75b0(0x386)](_0x2c090c[_0x3d75b0(0x1ed)](_0x1b3397,_0x3793ad),_0x436df9['records'][_0x3793ad])),..._0xaaba8f[_0x3d75b0(0x2ea)](({recordId:_0x281625,index:_0x2c1c37})=>_0x40477b[_0x3d75b0(0x1f4)][_0x3d75b0(0x386)](['tables',_0x1b3397,_0x3d75b0(0x3aa),_0x2c1c37],_0x281625)),...this[_0x3d75b0(0x231)](_0x436df9,_0x1b3397,_0x430572=>{const _0x317960=_0x3d75b0;let _0x7d17c5=_0x430572[_0x317960(0x382)](_0x430572['lastIndexOf']('\x1f')+0x1);return _0xb65a39[_0x317960(0x23b)](_0x7d17c5);})]);}[_0x3e73b2(0x40a)](_0x4a79f5,_0x58827a,_0x493601,_0x818f24){const _0x5b9d27=_0x3e73b2;return this['createRecord'](_0x4a79f5,_0x58827a,{..._0x818f24,'values':{..._0x4a79f5['tables'][_0x58827a][_0x5b9d27(0x464)][_0x493601]['values'],..._0x818f24[_0x5b9d27(0x318)]}});}[_0x3e73b2(0x428)](_0xe52d55,_0x44368b,_0x26ac1c,_0x33d217){const _0x4b0d3e=_0x3e73b2;let _0x1429e2=_0xe52d55[_0x4b0d3e(0x4be)][_0x44368b],_0x55ebb4=[..._0x2c090c[_0x4b0d3e(0x1ed)](_0x44368b,_0x26ac1c),_0x4b0d3e(0x339)],_0x12cef4=Object[_0x4b0d3e(0x318)](_0x1429e2[_0x4b0d3e(0x464)])[_0x4b0d3e(0x2ea)](_0x540c26=>_0x540c26['id']===_0x26ac1c?{..._0x540c26,'orderKey':_0x33d217}:_0x540c26)['sort']((_0x45ba8b,_0x3c7946)=>{const _0x486812=_0x4b0d3e;var _0x46ec62,_0x4e5218;return String((_0x46ec62=_0x45ba8b[_0x486812(0x339)])==null?_0x45ba8b['id']:_0x46ec62)[_0x486812(0x42f)](String((_0x4e5218=_0x3c7946['orderKey'])==null?_0x3c7946['id']:_0x4e5218));})[_0x4b0d3e(0x2ea)](_0x4aa055=>_0x4aa055['id']),_0x529369=[..._0x2c090c['table'](_0x44368b),_0x4b0d3e(0x3aa)];return _0x265795([_0x40477b[_0x4b0d3e(0x1f4)]['replaceOp'](_0x55ebb4,_0x1429e2['records'][_0x26ac1c][_0x4b0d3e(0x339)],_0x33d217),_0x1429e2[_0x4b0d3e(0x3aa)]?_0x40477b[_0x4b0d3e(0x1f4)][_0x4b0d3e(0x3b9)](_0x529369,_0x1429e2[_0x4b0d3e(0x3aa)],_0x12cef4):_0x40477b[_0x4b0d3e(0x1f4)]['insertOp'](_0x529369,_0x12cef4)]);}[_0x3e73b2(0x295)](_0x1e8240,_0x2d2d21,_0x5af7a8,_0x5deca9,_0x1f415d){const _0x47651f=_0x3e73b2;var _0x2054d8,_0x392f19;let _0x32aad7=_0x1e8240[_0x47651f(0x4be)][_0x2d2d21],_0x852fb=_0x347d59(_0x32aad7,_0x5af7a8,_0x5deca9)?_0x32aad7:_0x19d545(_0x32aad7),_0x64e3b=(_0x2054d8=_0x852fb['rowIndex'])==null?void 0x0:_0x2054d8[_0x5af7a8],_0xc69469=(_0x392f19=_0x852fb['colIndex'])==null?void 0x0:_0x392f19[_0x5deca9];if(_0x64e3b==null||_0xc69469==null){var _0x389834;return this[_0x47651f(0x2fd)](_0x2c090c[_0x47651f(0x326)](_0x2d2d21,_0x5af7a8,_0x5deca9),(_0x389834=_0x1e8240[_0x47651f(0x4be)][_0x2d2d21])==null||(_0x389834=_0x389834['records'][_0x5af7a8])==null?void 0x0:_0x389834[_0x47651f(0x318)][_0x5deca9],_0x1f415d);}return this['setRangeValues'](_0x1e8240,_0x2d2d21,[{'row':_0x64e3b,'col':_0xc69469,'value':_0x1f415d}]);}['setRecordValues'](_0x3a18ef,_0xc546d,_0x583739){const _0x2279e0=_0x3e73b2;let _0x101dea=_0x3a18ef[_0x2279e0(0x4be)][_0xc546d],_0x20bc71=_0x583739['every'](_0x6690ff=>Object[_0x2279e0(0x4f5)](_0x6690ff['values'])[_0x2279e0(0x314)](_0x71eeab=>_0x347d59(_0x101dea,_0x6690ff['recordId'],_0x71eeab)))?_0x101dea:_0x19d545(_0x101dea),_0xe629c9=_0x583739['flatMap'](_0x219c78=>Object['entries'](_0x219c78[_0x2279e0(0x318)])['flatMap'](([_0x237680,_0x5af24a])=>{const _0x1c3de5=_0x2279e0;var _0x1d38dd,_0x8541e5;let _0x185f2b=(_0x1d38dd=_0x20bc71[_0x1c3de5(0x222)])==null?void 0x0:_0x1d38dd[_0x219c78[_0x1c3de5(0x3c7)]],_0x55d889=(_0x8541e5=_0x20bc71[_0x1c3de5(0x48e)])==null?void 0x0:_0x8541e5[_0x237680];return _0x185f2b==null||_0x55d889==null?[]:[{'row':_0x185f2b,'col':_0x55d889,'value':_0x5af24a}];})),_0x3a5290=_0x583739[_0x2279e0(0x371)](_0x34376c=>{const _0x494d11=_0x2279e0;var _0x522b65;return Object['entries']((_0x522b65=_0x34376c[_0x494d11(0x3e7)])==null?{}:_0x522b65)[_0x494d11(0x2ea)](([_0x6741a7,_0x254caf])=>{const _0x3b98ae=_0x494d11;var _0x39ec57;let _0x27866f=[..._0x2c090c['record'](_0xc546d,_0x34376c[_0x3b98ae(0x3c7)]),_0x6741a7],_0x596b24=(_0x39ec57=_0x3a18ef['tables'][_0xc546d])==null||(_0x39ec57=_0x39ec57['records'][_0x34376c['recordId']])==null?void 0x0:_0x39ec57[_0x6741a7];return this[_0x3b98ae(0x2fd)](_0x27866f,_0x596b24,_0x254caf);});});return _0x265795([this[_0x2279e0(0x320)](_0x3a18ef,_0xc546d,_0xe629c9),..._0x3a5290]);}['setRangeValues'](_0x4cb728,_0x519712,_0x43e6f1){const _0x3731ca=_0x3e73b2;let _0x2bd0b7=_0x4cb728['tables'][_0x519712],_0x3fbc77=_0x43e6f1['every'](_0x359b86=>_0x4ed9da(_0x2bd0b7,_0x359b86['row'],_0x359b86[_0x3731ca(0x3f0)]))?_0x2bd0b7:_0x19d545(_0x2bd0b7),_0x218268=_0x43e6f1[_0x3731ca(0x371)](_0x447d66=>{const _0x523c73=_0x3731ca;var _0x15df18,_0xdf0188,_0x216040,_0x5e0264;let _0x4f1165=(_0x15df18=_0x3fbc77[_0x523c73(0x362)])==null?void 0x0:_0x15df18[_0x447d66[_0x523c73(0x3f0)]],_0x2424d3=(_0xdf0188=_0x3fbc77[_0x523c73(0x443)])==null?void 0x0:_0xdf0188[_0x447d66[_0x523c73(0x367)]],_0x3c1cc6=_0x4f1165?_0x3fbc77['fields'][_0x4f1165]:void 0x0,_0x325965=_0x37b2bb(_0x447d66[_0x523c73(0x3d2)],_0x3c1cc6),_0x2eca8b=(_0x216040=_0x3fbc77['cellData'])==null||(_0x216040=_0x216040[_0x447d66[_0x523c73(0x367)]])==null?void 0x0:_0x216040[_0x447d66['col']],_0x55105c=this[_0x523c73(0x2fd)](_0x2c090c['cellData'](_0x519712,_0x447d66[_0x523c73(0x367)],_0x447d66[_0x523c73(0x3f0)]),_0x2eca8b,_0x325965);if(!_0x4f1165||!_0x2424d3)return[_0x55105c];let _0x1c1fd1=(_0x5e0264=_0x3fbc77[_0x523c73(0x464)][_0x2424d3])==null?void 0x0:_0x5e0264[_0x523c73(0x318)][_0x4f1165],_0x44338d=(_0x3c1cc6==null?void 0x0:_0x3c1cc6[_0x523c73(0x357)])===_0x40477b[_0x523c73(0x3dc)]['Attachment']?_0x317a4a(_0x447d66[_0x523c73(0x3d2)]):_0xd4229d(_0x447d66[_0x523c73(0x3d2)],_0x325965,_0x3c1cc6,_0x3fbc77,_0x2424d3),_0x17bd4b=[_0x55105c,this[_0x523c73(0x2fd)](_0x2c090c[_0x523c73(0x326)](_0x519712,_0x2424d3,_0x4f1165),_0x1c1fd1,_0x44338d)];if((_0x3c1cc6==null?void 0x0:_0x3c1cc6['type'])!==_0x40477b['BaseFieldType']['Attachment'])return _0x17bd4b;let _0x16b9c9=this[_0x523c73(0x224)](_0x3fbc77,_0x519712,_0x2424d3,_0x4f1165,_0x44338d);return[..._0x17bd4b,..._0x16b9c9];});return _0x218268[_0x3731ca(0x49a)]?_0x265795(_0x218268):_0x40477b[_0x3731ca(0x1f4)]['replaceOp'](['tables',_0x519712,_0x3731ca(0x4fa)],_0x3fbc77['cellData'],_0x3fbc77['cellData']);}[_0x3e73b2(0x4a5)](_0x590088,_0x38567a,_0x4196bf){const _0x5f4ca1=_0x3e73b2;var _0x453554,_0x59a661;let _0x42a287=_0x590088[_0x5f4ca1(0x4be)][_0x38567a];if(_0x42a287[_0x5f4ca1(0x431)][_0x4196bf['field']['id']]||_0x42a287[_0x5f4ca1(0x373)]['includes'](_0x4196bf['field']['id']))return _0x40477b['JSON1']['replaceOp'](['tables',_0x38567a,_0x5f4ca1(0x373)],_0x42a287['fieldOrder'],_0x42a287[_0x5f4ca1(0x373)]);let _0xe7b2ac=(_0x453554=_0x4196bf[_0x5f4ca1(0x36c)])==null?_0x42a287['fieldOrder'][_0x5f4ca1(0x49a)]:_0x453554,_0x4cd118=Object[_0x5f4ca1(0x318)]((_0x59a661=_0x42a287['views'])==null?{}:_0x59a661)[_0x5f4ca1(0x371)](_0x3e8459=>{const _0x597c25=_0x5f4ca1;var _0x877e3a,_0x48be22;if(!_0x3e8459[_0x597c25(0x373)]||_0x3e8459[_0x597c25(0x373)][_0x597c25(0x238)](_0x4196bf[_0x597c25(0x256)]['id']))return[];let _0x114b28=_0x3870e9((_0x877e3a=(_0x48be22=_0x4196bf[_0x597c25(0x3c9)])==null?void 0x0:_0x48be22[_0x3e8459['id']])==null?_0xe7b2ac:_0x877e3a,_0x3e8459[_0x597c25(0x373)][_0x597c25(0x49a)]);return[_0x40477b[_0x597c25(0x1f4)]['insertOp']([..._0x2c090c['view'](_0x38567a,_0x3e8459['id']),_0x597c25(0x373),_0x114b28],_0x4196bf[_0x597c25(0x256)]['id'])];});return _0x265795([_0x40477b[_0x5f4ca1(0x1f4)][_0x5f4ca1(0x424)](_0x2c090c[_0x5f4ca1(0x256)](_0x38567a,_0x4196bf[_0x5f4ca1(0x256)]['id']),_0x4196bf[_0x5f4ca1(0x256)]),_0x40477b[_0x5f4ca1(0x1f4)][_0x5f4ca1(0x424)](_0x2c090c[_0x5f4ca1(0x373)](_0x38567a,_0xe7b2ac),_0x4196bf[_0x5f4ca1(0x256)]['id']),..._0x4cd118]);}[_0x3e73b2(0x375)](_0x61d260,_0x1cbbb8,_0x7e9d61,_0x43fd1e){const _0x2671dd=_0x3e73b2;var _0x5de78a,_0x212371;let _0x286a06=_0x61d260[_0x2671dd(0x4be)][_0x1cbbb8];if(!_0x286a06[_0x2671dd(0x431)][_0x7e9d61]||_0x286a06['fields'][_0x43fd1e[_0x2671dd(0x256)]['id']]||_0x286a06['fieldOrder'][_0x2671dd(0x238)](_0x43fd1e[_0x2671dd(0x256)]['id']))return _0x40477b[_0x2671dd(0x1f4)][_0x2671dd(0x3b9)]([_0x2671dd(0x4be),_0x1cbbb8,'fieldOrder'],_0x286a06[_0x2671dd(0x373)],_0x286a06[_0x2671dd(0x373)]);let _0x1f0d49=(_0x5de78a=_0x43fd1e[_0x2671dd(0x36c)])==null?_0x286a06['fieldOrder'][_0x2671dd(0x3f5)](_0x7e9d61)+0x1:_0x5de78a,_0x3503b2=_0x286a06[_0x2671dd(0x373)]['filter'](_0x15c150=>_0x15c150!==_0x43fd1e[_0x2671dd(0x256)]['id']),_0x1ecaa5=_0x8fa951(_0x3503b2,_0x43fd1e[_0x2671dd(0x256)]['id'],_0x1f0d49),_0x389b20=Object[_0x2671dd(0x318)]((_0x212371=_0x286a06['views'])==null?{}:_0x212371)['flatMap'](_0x4b32b2=>{const _0xee25df=_0x2671dd;var _0xedfe5c,_0x2a8a0a,_0x34e581,_0x239cd4,_0x8ce474;let _0x4b8d38=(_0xedfe5c=_0x4b32b2[_0xee25df(0x373)])!=null&&_0xedfe5c[_0xee25df(0x49a)]?_0x4b32b2[_0xee25df(0x373)]:_0x3503b2;if(_0x4b8d38[_0xee25df(0x238)](_0x43fd1e['field']['id']))return[];let _0x29c5f8=_0x8fa951(_0x4b8d38,_0x43fd1e[_0xee25df(0x256)]['id'],(_0x2a8a0a=(_0x34e581=_0x43fd1e[_0xee25df(0x3c9)])==null?void 0x0:_0x34e581[_0x4b32b2['id']])==null?_0x1f0d49:_0x2a8a0a),_0x142435=(_0x239cd4=_0x4b32b2[_0xee25df(0x39a)])==null?void 0x0:_0x239cd4[_0x7e9d61];return[this[_0xee25df(0x2fd)]([..._0x2c090c[_0xee25df(0x45d)](_0x1cbbb8,_0x4b32b2['id']),_0xee25df(0x373)],_0x4b32b2['fieldOrder'],_0x29c5f8),..._0x142435?[this[_0xee25df(0x2fd)]([..._0x2c090c['view'](_0x1cbbb8,_0x4b32b2['id']),_0xee25df(0x39a),_0x43fd1e[_0xee25df(0x256)]['id']],(_0x8ce474=_0x4b32b2[_0xee25df(0x39a)])==null?void 0x0:_0x8ce474[_0x43fd1e[_0xee25df(0x256)]['id']],_0x142435)]:[]];}),_0x22e0f6=Object[_0x2671dd(0x318)](_0x286a06['records'])[_0x2671dd(0x3f6)](_0x56230d=>Object[_0x2671dd(0x2b8)][_0x2671dd(0x41b)][_0x2671dd(0x44e)](_0x56230d[_0x2671dd(0x318)],_0x7e9d61))['map'](_0x36f973=>this['_replaceOptional'](_0x2c090c[_0x2671dd(0x326)](_0x1cbbb8,_0x36f973['id'],_0x43fd1e[_0x2671dd(0x256)]['id']),_0x36f973[_0x2671dd(0x318)][_0x43fd1e['field']['id']],_0x36f973[_0x2671dd(0x318)][_0x7e9d61]));return _0x265795([_0x40477b[_0x2671dd(0x1f4)][_0x2671dd(0x424)](_0x2c090c[_0x2671dd(0x256)](_0x1cbbb8,_0x43fd1e[_0x2671dd(0x256)]['id']),_0x43fd1e[_0x2671dd(0x256)]),_0x40477b[_0x2671dd(0x1f4)][_0x2671dd(0x3b9)](['tables',_0x1cbbb8,_0x2671dd(0x373)],_0x286a06[_0x2671dd(0x373)],_0x1ecaa5),..._0x389b20,..._0x22e0f6]);}[_0x3e73b2(0x3ba)](_0x591a5e,_0x3e6f7f,_0x14bf81,_0x2cd6b2){const _0x4ce6d1=_0x3e73b2;let _0x686fb1=_0x591a5e[_0x4ce6d1(0x4be)][_0x3e6f7f][_0x4ce6d1(0x431)][_0x14bf81],_0x5c3828={..._0x686fb1,..._0x2cd6b2};Object[_0x4ce6d1(0x4f5)](_0x2cd6b2)['forEach'](_0x219141=>{_0x2cd6b2[_0x219141]===void 0x0&&delete _0x5c3828[_0x219141];});let _0xb9d793=_0x40477b[_0x4ce6d1(0x1f4)]['replaceOp'](_0x2c090c[_0x4ce6d1(0x256)](_0x3e6f7f,_0x14bf81),_0x686fb1,_0x5c3828);return _0x5c3828[_0x4ce6d1(0x357)]===_0x40477b[_0x4ce6d1(0x3dc)][_0x4ce6d1(0x1ec)]?_0x265795([_0xb9d793,...this[_0x4ce6d1(0x2a2)](_0x591a5e,_0x3e6f7f,_0x14bf81,_0x5c3828)]):_0xb9d793;}['changeFieldType'](_0x47707d,_0x3405a7,_0x19987c,_0x4c99c6){return this['updateField'](_0x47707d,_0x3405a7,_0x19987c,_0x4c99c6);}['deleteField'](_0x5a68ac,_0x14811c,_0x46f508){const _0x51451d=_0x3e73b2;let _0x5e5b44=_0x5a68ac[_0x51451d(0x4be)][_0x14811c];if(!(_0x5e5b44!=null&&_0x5e5b44[_0x51451d(0x431)][_0x46f508])||_0x5e5b44[_0x51451d(0x43d)]===_0x46f508)return _0x40477b[_0x51451d(0x1f4)][_0x51451d(0x3b9)]([_0x51451d(0x4be),_0x14811c,_0x51451d(0x373)],_0x5e5b44==null?void 0x0:_0x5e5b44[_0x51451d(0x373)],_0x5e5b44==null?void 0x0:_0x5e5b44[_0x51451d(0x373)]);let _0xc8e80b=_0x5e5b44[_0x51451d(0x373)]['indexOf'](_0x46f508),_0x4ded4c=Object['values'](_0x5e5b44[_0x51451d(0x2f4)])[_0x51451d(0x371)](_0x22dacf=>{const _0x314e12=_0x51451d;var _0x4cba15,_0x40cc86,_0x126dee,_0x1212da,_0x3da459,_0x5c877d,_0x4cf751,_0xf5a6b6;let _0x49fe5a=[],_0x1285c9=(_0x4cba15=(_0x40cc86=_0x22dacf[_0x314e12(0x373)])==null?void 0x0:_0x40cc86[_0x314e12(0x3f5)](_0x46f508))==null?-0x1:_0x4cba15;_0x1285c9>=0x0&&_0x49fe5a[_0x314e12(0x36f)](_0x40477b[_0x314e12(0x1f4)][_0x314e12(0x386)]([..._0x2c090c[_0x314e12(0x45d)](_0x14811c,_0x22dacf['id']),_0x314e12(0x373),_0x1285c9],_0x46f508));let _0x99c686=(_0x126dee=_0x22dacf[_0x314e12(0x39a)])==null?void 0x0:_0x126dee[_0x46f508];_0x99c686!==void 0x0&&_0x49fe5a[_0x314e12(0x36f)](_0x40477b[_0x314e12(0x1f4)][_0x314e12(0x386)]([..._0x2c090c[_0x314e12(0x45d)](_0x14811c,_0x22dacf['id']),'fieldSettings',_0x46f508],_0x99c686));let _0x253b5a=_0x22dacf['filter']?{..._0x22dacf[_0x314e12(0x3f6)],'conditions':_0x22dacf[_0x314e12(0x3f6)]['conditions']['filter'](_0x206d8f=>_0x206d8f[_0x314e12(0x44a)]!==_0x46f508)}:_0x22dacf[_0x314e12(0x3f6)];_0x253b5a&&_0x253b5a[_0x314e12(0x4e1)]['length']!==((_0x1212da=_0x22dacf[_0x314e12(0x3f6)])==null?void 0x0:_0x1212da[_0x314e12(0x4e1)]['length'])&&_0x49fe5a[_0x314e12(0x36f)](this[_0x314e12(0x2fd)]([..._0x2c090c[_0x314e12(0x45d)](_0x14811c,_0x22dacf['id']),_0x314e12(0x3f6)],_0x22dacf[_0x314e12(0x3f6)],_0x253b5a));let _0x262f82=(_0x3da459=_0x22dacf[_0x314e12(0x225)])==null?void 0x0:_0x3da459[_0x314e12(0x3f6)](_0x10a1c2=>_0x10a1c2[_0x314e12(0x44a)]!==_0x46f508);_0x262f82&&_0x262f82[_0x314e12(0x49a)]!==((_0x5c877d=_0x22dacf['sort'])==null?void 0x0:_0x5c877d[_0x314e12(0x49a)])&&_0x49fe5a[_0x314e12(0x36f)](this[_0x314e12(0x2fd)]([..._0x2c090c['view'](_0x14811c,_0x22dacf['id']),_0x314e12(0x225)],_0x22dacf[_0x314e12(0x225)],_0x262f82));let _0x4f27d6=(_0x4cf751=_0x22dacf[_0x314e12(0x513)])==null?void 0x0:_0x4cf751['filter'](_0xef5748=>_0xef5748['fieldId']!==_0x46f508);_0x4f27d6&&_0x4f27d6['length']!==((_0xf5a6b6=_0x22dacf[_0x314e12(0x513)])==null?void 0x0:_0xf5a6b6[_0x314e12(0x49a)])&&_0x49fe5a['push'](this['_replaceOptional']([..._0x2c090c[_0x314e12(0x45d)](_0x14811c,_0x22dacf['id']),_0x314e12(0x513)],_0x22dacf[_0x314e12(0x513)],_0x4f27d6));let _0x558c3b=_0x5091f0(_0x22dacf[_0x314e12(0x4c3)],_0x46f508);return JSON[_0x314e12(0x1f5)](_0x558c3b)!==JSON['stringify'](_0x22dacf[_0x314e12(0x4c3)])&&_0x49fe5a[_0x314e12(0x36f)](_0x40477b[_0x314e12(0x1f4)][_0x314e12(0x3b9)]([..._0x2c090c[_0x314e12(0x45d)](_0x14811c,_0x22dacf['id']),'config'],_0x22dacf[_0x314e12(0x4c3)],_0x558c3b)),_0x49fe5a;}),_0x1e2563=Object[_0x51451d(0x318)](_0x5e5b44[_0x51451d(0x464)])['flatMap'](_0x3f9cc9=>Object[_0x51451d(0x2b8)][_0x51451d(0x41b)]['call'](_0x3f9cc9['values'],_0x46f508)?[_0x40477b[_0x51451d(0x1f4)][_0x51451d(0x386)](_0x2c090c[_0x51451d(0x326)](_0x14811c,_0x3f9cc9['id'],_0x46f508),_0x3f9cc9[_0x51451d(0x318)][_0x46f508])]:[]);return _0x265795([_0x40477b[_0x51451d(0x1f4)][_0x51451d(0x386)](_0x2c090c[_0x51451d(0x256)](_0x14811c,_0x46f508),_0x5e5b44[_0x51451d(0x431)][_0x46f508]),_0x40477b[_0x51451d(0x1f4)][_0x51451d(0x386)](_0x2c090c[_0x51451d(0x373)](_0x14811c,_0xc8e80b),_0x46f508),..._0x4ded4c,..._0x1e2563,...this[_0x51451d(0x231)](_0x5e5b44,_0x14811c,_0x5b5366=>_0x5b5366[_0x51451d(0x3ec)](_0x46f508+'\x1f'))]);}[_0x3e73b2(0x241)](_0x2ffdc9,_0x5099c2,_0x589286,_0x5a6603){const _0x2ce0d4=_0x3e73b2;let _0x2af63a=_0x2ffdc9['tables'][_0x5099c2]['fieldOrder'],_0x2decdd=_0x3dcf36(_0x2af63a,_0x589286,_0x5a6603);return _0x40477b[_0x2ce0d4(0x1f4)][_0x2ce0d4(0x3b9)]([_0x2ce0d4(0x4be),_0x5099c2,_0x2ce0d4(0x373)],_0x2af63a,_0x2decdd);}[_0x3e73b2(0x3e6)](_0x49ada3,_0x1502a8,_0x1392ec,_0x4550a4=_0x49ada3[_0x3e73b2(0x4be)][_0x1502a8]['viewOrder'][_0x3e73b2(0x49a)]){const _0x53b682=_0x3e73b2;return _0x265795([_0x40477b[_0x53b682(0x1f4)]['insertOp'](_0x2c090c[_0x53b682(0x45d)](_0x1502a8,_0x1392ec['id']),_0x1392ec),_0x40477b[_0x53b682(0x1f4)][_0x53b682(0x424)]([_0x53b682(0x4be),_0x1502a8,'viewOrder',_0x4550a4],_0x1392ec['id'])]);}[_0x3e73b2(0x337)](_0x5cda8d,_0x4a6ef1,_0x698ba9,_0x3dd9f5){const _0x4e8984=_0x3e73b2;return _0x40477b[_0x4e8984(0x1f4)]['replaceOp']([..._0x2c090c['view'](_0x4a6ef1,_0x698ba9),_0x4e8984(0x33c)],_0x5cda8d[_0x4e8984(0x4be)][_0x4a6ef1]['views'][_0x698ba9][_0x4e8984(0x33c)],_0x3dd9f5);}[_0x3e73b2(0x214)](_0x18f579,_0x2264ff,_0x2b4ee5){const _0x150f7e=_0x3e73b2;let _0x251b34=_0x18f579[_0x150f7e(0x4be)][_0x2264ff],_0x5e4e36=_0x251b34[_0x150f7e(0x2f4)][_0x2b4ee5],_0x362f23=_0x251b34['viewOrder'][_0x150f7e(0x3f5)](_0x2b4ee5);return _0x265795([_0x40477b[_0x150f7e(0x1f4)][_0x150f7e(0x386)](_0x2c090c[_0x150f7e(0x45d)](_0x2264ff,_0x2b4ee5),_0x5e4e36),_0x40477b[_0x150f7e(0x1f4)][_0x150f7e(0x386)]([_0x150f7e(0x4be),_0x2264ff,_0x150f7e(0x1f0),_0x362f23],_0x2b4ee5)]);}[_0x3e73b2(0x342)](_0x1d2101,_0x27b24f,_0x558d4b,_0x98b35f){const _0x5255cf=_0x3e73b2;let _0x5b96f8=_0x1d2101[_0x5255cf(0x4be)][_0x27b24f]['viewOrder'],_0x3b54e0=_0x3dcf36(_0x5b96f8,_0x558d4b,{'beforeFieldId':_0x98b35f[_0x5255cf(0x3c3)],'afterFieldId':_0x98b35f[_0x5255cf(0x4f6)]});return _0x40477b[_0x5255cf(0x1f4)][_0x5255cf(0x3b9)]([_0x5255cf(0x4be),_0x27b24f,_0x5255cf(0x1f0)],_0x5b96f8,_0x3b54e0);}[_0x3e73b2(0x2ba)](_0x553395,_0x30bbf0,_0x28cdad,_0x717649){const _0x9a66fd=_0x3e73b2;var _0x18715c;let _0xe4e8e5=(_0x18715c=_0x553395[_0x9a66fd(0x4be)][_0x30bbf0][_0x9a66fd(0x2f4)][_0x28cdad][_0x9a66fd(0x4c3)])==null?{}:_0x18715c,_0x5a2b87={..._0xe4e8e5,..._0x717649};return Object[_0x9a66fd(0x4f5)](_0x717649)['forEach'](_0x4546fb=>{_0x717649[_0x4546fb]===void 0x0&&delete _0x5a2b87[_0x4546fb];}),_0x40477b[_0x9a66fd(0x1f4)][_0x9a66fd(0x3b9)]([..._0x2c090c[_0x9a66fd(0x45d)](_0x30bbf0,_0x28cdad),_0x9a66fd(0x4c3)],_0xe4e8e5,_0x5a2b87);}[_0x3e73b2(0x4b0)](_0x1432b8,_0x375949,_0x29d3dc,_0x451838){const _0x56f567=_0x3e73b2;return this['_replaceOptional']([..._0x2c090c[_0x56f567(0x45d)](_0x375949,_0x29d3dc),'filter'],_0x1432b8[_0x56f567(0x4be)][_0x375949][_0x56f567(0x2f4)][_0x29d3dc][_0x56f567(0x3f6)],_0x451838);}[_0x3e73b2(0x1f3)](_0x24288d,_0x1449f1,_0xcf5b7a,_0x711cdc){const _0x356572=_0x3e73b2;return this[_0x356572(0x2fd)]([..._0x2c090c[_0x356572(0x45d)](_0x1449f1,_0xcf5b7a),'sort'],_0x24288d[_0x356572(0x4be)][_0x1449f1][_0x356572(0x2f4)][_0xcf5b7a]['sort'],_0x711cdc);}[_0x3e73b2(0x4ce)](_0xec9463,_0x1575f1,_0x934b9b,_0x233cd7){const _0x4d400a=_0x3e73b2;return this[_0x4d400a(0x2fd)]([..._0x2c090c['view'](_0x1575f1,_0x934b9b),_0x4d400a(0x513)],_0xec9463[_0x4d400a(0x4be)][_0x1575f1]['views'][_0x934b9b][_0x4d400a(0x513)],_0x233cd7);}[_0x3e73b2(0x356)](_0x40d527,_0x5851cb,_0x2c4e74,_0x1a7266,_0x17622f){const _0x44933e=_0x3e73b2;return this[_0x44933e(0x46b)](_0x40d527,_0x5851cb,_0x2c4e74,_0x1a7266,{'hidden':!_0x17622f});}[_0x3e73b2(0x4d7)](_0x3b8b34,_0x38380f,_0x24e22f,_0x337674,_0x5d05a0){const _0x26d87c=_0x3e73b2;return this[_0x26d87c(0x46b)](_0x3b8b34,_0x38380f,_0x24e22f,_0x337674,{'width':_0x5d05a0});}[_0x3e73b2(0x30c)](_0x1fd8f0,_0x34e8ce,_0x4ff45f,_0x275ea0,_0x52e40b){const _0x4487e6=_0x3e73b2;var _0x3756b1;let _0x3dfe69=_0x1fd8f0[_0x4487e6(0x4be)][_0x34e8ce][_0x4487e6(0x2f4)][_0x4ff45f],_0x3ba190=_0x3dcf36((_0x3756b1=_0x3dfe69['fieldOrder'])==null?_0x1fd8f0[_0x4487e6(0x4be)][_0x34e8ce][_0x4487e6(0x373)]:_0x3756b1,_0x275ea0,_0x52e40b);return this[_0x4487e6(0x2fd)]([..._0x2c090c[_0x4487e6(0x45d)](_0x34e8ce,_0x4ff45f),_0x4487e6(0x373)],_0x3dfe69[_0x4487e6(0x373)],_0x3ba190);}[_0x3e73b2(0x46b)](_0x479e42,_0xa0da41,_0x1cbaf6,_0x149e92,_0x3ab0b6){const _0x24986c=_0x3e73b2;var _0x375391;let _0x1e18ec=(_0x375391=_0x479e42[_0x24986c(0x4be)][_0xa0da41][_0x24986c(0x2f4)][_0x1cbaf6][_0x24986c(0x39a)])==null?{}:_0x375391,_0x3a1874={..._0x1e18ec,[_0x149e92]:{..._0x1e18ec[_0x149e92],..._0x3ab0b6}};return this['_replaceOptional']([..._0x2c090c[_0x24986c(0x45d)](_0xa0da41,_0x1cbaf6),_0x24986c(0x39a)],_0x479e42[_0x24986c(0x4be)][_0xa0da41][_0x24986c(0x2f4)][_0x1cbaf6][_0x24986c(0x39a)],_0x3a1874);}[_0x3e73b2(0x27a)](_0x44f6f1,_0x534cba,_0x3da3bf){const _0x2999f6=_0x3e73b2;let _0x515f35=_0x44f6f1[_0x2999f6(0x4be)][_0x534cba],_0x4de3cd=new Set(_0x3da3bf['map'](_0x92cc05=>_0x92cc05['id'])),_0x40d3b6=[...Object[_0x2999f6(0x318)](_0x515f35[_0x2999f6(0x464)])['filter'](_0xe7f860=>!_0x4de3cd[_0x2999f6(0x23b)](_0xe7f860['id'])),..._0x3da3bf][_0x2999f6(0x225)]((_0x26c19b,_0x55b226)=>{const _0x3e6349=_0x2999f6;var _0x13674c,_0x5f45c2;return String((_0x13674c=_0x26c19b[_0x3e6349(0x339)])==null?_0x26c19b['id']:_0x13674c)['localeCompare'](String((_0x5f45c2=_0x55b226[_0x3e6349(0x339)])==null?_0x55b226['id']:_0x5f45c2));})[_0x2999f6(0x2ea)](_0x4539c6=>_0x4539c6['id']),_0x2998a9=[..._0x2c090c[_0x2999f6(0x2ec)](_0x534cba),_0x2999f6(0x3aa)];return _0x515f35[_0x2999f6(0x3aa)]?_0x40477b[_0x2999f6(0x1f4)][_0x2999f6(0x3b9)](_0x2998a9,_0x515f35[_0x2999f6(0x3aa)],_0x40d3b6):_0x40477b['JSON1']['insertOp'](_0x2998a9,_0x40d3b6);}[_0x3e73b2(0x2a2)](_0x45c665,_0x2bb951,_0x2fdfef,_0x4d8e11){const _0x33f6b4=_0x3e73b2;var _0x14ddf8,_0xbf3bd5,_0x44cc5a,_0x26b3a3;let _0x505a23=_0x19d545(_0x45c665[_0x33f6b4(0x4be)][_0x2bb951]),_0x4b634d=String((_0x14ddf8=(_0xbf3bd5=_0x4d8e11['config'])==null?void 0x0:_0xbf3bd5['formula'])==null?'':_0x14ddf8)['trim'](),_0x4a0c44=(_0x44cc5a=_0x505a23['colIndex'])==null?void 0x0:_0x44cc5a[_0x2fdfef];if(_0x4a0c44==null)return[];let _0x5c5e27=(_0x26b3a3=_0x505a23[_0x33f6b4(0x3aa)])==null?Object[_0x33f6b4(0x4f5)](_0x505a23[_0x33f6b4(0x464)]):_0x26b3a3,_0x59f691=_0x5c5e27['map'](_0x20c3c7=>{const _0x2d8e90=_0x33f6b4;var _0x109ee9;return(_0x109ee9=_0x505a23[_0x2d8e90(0x222)])==null?void 0x0:_0x109ee9[_0x20c3c7];})[_0x33f6b4(0x39b)](_0x12ba95=>_0x12ba95!=null);return _0x5c5e27[_0x33f6b4(0x371)](_0x4d8e39=>{const _0x29daa4=_0x33f6b4;var _0x49f510,_0x6a92ee;let _0x13fe5a=(_0x49f510=_0x505a23['rowIndex'])==null?void 0x0:_0x49f510[_0x4d8e39];if(_0x13fe5a==null)return[];let _0x7cd646=(_0x6a92ee=_0x505a23[_0x29daa4(0x4fa)])==null||(_0x6a92ee=_0x6a92ee[_0x13fe5a])==null?void 0x0:_0x6a92ee[_0x4a0c44],_0x3cb7b2=_0x4b634d?_0x13fe5a===_0x59f691?{'f':_0x4b634d,'si':_0x2fdfef}:{'si':_0x2fdfef}:{'v':null,'t':null};return[this[_0x29daa4(0x2fd)](_0x2c090c['cellData'](_0x2bb951,_0x13fe5a,_0x4a0c44),_0x7cd646,_0x3cb7b2)];});}['_setAttachmentResources'](_0xdc487e,_0x3b7f08,_0x473b85,_0x1110f7,_0x3389ef){const _0x394b30=_0x3e73b2;var _0x93a0e2;let _0x53baa9=_0x10f502(_0x1110f7,_0x473b85),_0x6847fe=_0x3389ef[_0x394b30(0x2ea)]((_0x330389,_0x3e1aae)=>{var _0x47298f;return String((_0x47298f=_0x330389['id'])==null?_0x53baa9+'\x1f'+_0x3e1aae:_0x47298f);});return[this[_0x394b30(0x2fd)](_0x2c090c[_0x394b30(0x338)](_0x3b7f08,_0x53baa9),(_0x93a0e2=_0xdc487e[_0x394b30(0x27e)])==null||(_0x93a0e2=_0x93a0e2[_0x394b30(0x47c)])==null?void 0x0:_0x93a0e2[_0x53baa9],_0x6847fe),..._0x3389ef['map']((_0x60e2e5,_0x21f9e8)=>{const _0x1eff54=_0x394b30;var _0x5e572b;let _0x54b51d=_0x6847fe[_0x21f9e8];return this[_0x1eff54(0x2fd)](_0x2c090c[_0x1eff54(0x41e)](_0x3b7f08,_0x54b51d),(_0x5e572b=_0xdc487e['resources'])==null||(_0x5e572b=_0x5e572b[_0x1eff54(0x2d4)])==null?void 0x0:_0x5e572b[_0x54b51d],{..._0x60e2e5,'id':_0x54b51d});})];}[_0x3e73b2(0x231)](_0x16dc9a,_0x460478,_0x40641b){const _0x8d0e1d=_0x3e73b2;var _0x4540a7,_0x197bcd;let _0xb20756=(_0x4540a7=(_0x197bcd=_0x16dc9a['resources'])==null?void 0x0:_0x197bcd[_0x8d0e1d(0x47c)])==null?{}:_0x4540a7,_0x57a5e4=Object['entries'](_0xb20756)[_0x8d0e1d(0x3f6)](([_0x5558cb])=>_0x40641b(_0x5558cb));if(!_0x57a5e4[_0x8d0e1d(0x49a)])return[];let _0xbfc507=new Set(Object['entries'](_0xb20756)['filter'](([_0x232509])=>!_0x40641b(_0x232509))[_0x8d0e1d(0x371)](([,_0x15081])=>_0x15081)),_0x452217=new Set(_0x57a5e4[_0x8d0e1d(0x371)](([,_0x545052])=>_0x545052));return[..._0x57a5e4[_0x8d0e1d(0x2ea)](([_0x50e2e2,_0xda7a4])=>_0x40477b[_0x8d0e1d(0x1f4)][_0x8d0e1d(0x386)](_0x2c090c[_0x8d0e1d(0x338)](_0x460478,_0x50e2e2),_0xda7a4)),...Array[_0x8d0e1d(0x4ef)](_0x452217)[_0x8d0e1d(0x371)](_0x46456f=>{const _0xd42a25=_0x8d0e1d;var _0x379929;let _0x2771e8=(_0x379929=_0x16dc9a[_0xd42a25(0x27e)])==null||(_0x379929=_0x379929[_0xd42a25(0x2d4)])==null?void 0x0:_0x379929[_0x46456f];return _0x2771e8!==void 0x0&&!_0xbfc507[_0xd42a25(0x23b)](_0x46456f)?[_0x40477b[_0xd42a25(0x1f4)]['removeOp'](_0x2c090c[_0xd42a25(0x41e)](_0x460478,_0x46456f),_0x2771e8)]:[];})];}['_replaceOptional'](_0x35a7ef,_0x1a3f71,_0x359570){const _0x56e614=_0x3e73b2;return _0x1a3f71===void 0x0?_0x40477b[_0x56e614(0x1f4)][_0x56e614(0x424)](_0x35a7ef,_0x359570):_0x40477b[_0x56e614(0x1f4)]['replaceOp'](_0x35a7ef,_0x1a3f71,_0x359570);}};function _0x347d59(_0x5915f6,_0x3caa8e,_0x5d0060){const _0x5e911b=_0x3e73b2;var _0x4f5f78,_0x46bfc6,_0x261de3,_0x49ad8a;let _0x45de4a=(_0x4f5f78=_0x5915f6[_0x5e911b(0x222)])==null?void 0x0:_0x4f5f78[_0x3caa8e],_0x527036=(_0x46bfc6=_0x5915f6[_0x5e911b(0x48e)])==null?void 0x0:_0x46bfc6[_0x5d0060];return _0x45de4a!=null&&_0x527036!=null&&((_0x261de3=_0x5915f6[_0x5e911b(0x443)])==null?void 0x0:_0x261de3[_0x45de4a])===_0x3caa8e&&((_0x49ad8a=_0x5915f6[_0x5e911b(0x362)])==null?void 0x0:_0x49ad8a[_0x527036])===_0x5d0060&&_0x5915f6[_0x5e911b(0x4fa)]!=null;}function _0x4ed9da(_0x2014c3,_0x3ad8ce,_0x52e21a){const _0x55c6c6=_0x3e73b2;var _0x4cef8c,_0xf85927;return((_0x4cef8c=_0x2014c3['rowId'])==null?void 0x0:_0x4cef8c[_0x3ad8ce])!=null&&((_0xf85927=_0x2014c3[_0x55c6c6(0x362)])==null?void 0x0:_0xf85927[_0x52e21a])!=null&&_0x2014c3[_0x55c6c6(0x4fa)]!=null;}function _0x3dcf36(_0x2d29a4,_0x311ecf,_0x18588c){const _0x3c3e6f=_0x3e73b2;let _0x2b90f0=_0x2d29a4['filter'](_0x33f7dc=>_0x33f7dc!==_0x311ecf),_0x5871a3=_0x18588c[_0x3c3e6f(0x348)]?_0x2b90f0[_0x3c3e6f(0x3f5)](_0x18588c[_0x3c3e6f(0x348)]):_0x18588c['afterFieldId']?_0x2b90f0['indexOf'](_0x18588c[_0x3c3e6f(0x47a)])+0x1:_0x2b90f0[_0x3c3e6f(0x49a)];return _0x2b90f0[_0x3c3e6f(0x449)](_0x5871a3<0x0?_0x2b90f0[_0x3c3e6f(0x49a)]:_0x5871a3,0x0,_0x311ecf),_0x2b90f0;}function _0x8fa951(_0x19f0bc,_0x322feb,_0x39cd46){const _0x1acd17=_0x3e73b2;let _0x3f0e75=_0x19f0bc['filter'](_0x3603b3=>_0x3603b3!==_0x322feb);return _0x3f0e75[_0x1acd17(0x449)](_0x3870e9(_0x39cd46,_0x3f0e75['length']),0x0,_0x322feb),_0x3f0e75;}function _0x5091f0(_0x55ad80,_0x1a703f,_0x344395){const _0x225382=_0x3e73b2;if(Array[_0x225382(0x21e)](_0x55ad80))return _0x344395===_0x225382(0x472)?_0x55ad80['filter'](_0x50c812=>_0x50c812!==_0x1a703f):_0x55ad80[_0x225382(0x371)](_0x2a345c=>{const _0x5c6a71=_0x225382;if(_0x2a345c&&typeof _0x2a345c==_0x5c6a71(0x3ed)&&!Array[_0x5c6a71(0x21e)](_0x2a345c)&&_0x2a345c[_0x5c6a71(0x44a)]===_0x1a703f)return[];let _0x10be4a=_0x5091f0(_0x2a345c,_0x1a703f);return _0x10be4a===void 0x0?[]:[_0x10be4a];});if(!_0x55ad80||typeof _0x55ad80!=_0x225382(0x3ed))return _0x344395!=null&&_0x344395[_0x225382(0x517)](_0x225382(0x4a6))&&_0x55ad80===_0x1a703f?void 0x0:_0x55ad80;let _0x338295=_0x55ad80;if(_0x338295[_0x225382(0x44a)]!==_0x1a703f)return Object[_0x225382(0x305)](Object[_0x225382(0x244)](_0x338295)[_0x225382(0x371)](([_0x4d9db8,_0x457c0f])=>{const _0x23ac1b=_0x225382;if(_0x4d9db8===_0x1a703f&&_0x344395===_0x23ac1b(0x39a))return[];let _0x5ca2b1=_0x5091f0(_0x457c0f,_0x1a703f,_0x4d9db8);return _0x5ca2b1===void 0x0?[]:[[_0x4d9db8,_0x5ca2b1]];}));}function _0x3870e9(_0x1163e6,_0x5a99c3){const _0x4a1e23=_0x3e73b2;return Math[_0x4a1e23(0x263)](0x0,Math[_0x4a1e23(0x226)](_0x1163e6,_0x5a99c3));}function _0x55a3c3(_0x247299,_0x2cadb5,_0x294282){const _0xb51d57=_0x3e73b2;if(!_0x247299||!_0x2cadb5||_0x2cadb5===_0x294282)return _0x247299;let _0x47f6dc='',_0x3afe39=!0x1,_0x121863=_0x2cadb5['toLowerCase']();for(let _0x3da5b6=0x0;_0x3da5b6<_0x247299['length'];){let _0x2e3199=_0x247299[_0x3da5b6];if(_0x2e3199==='\x22'){if(_0x3afe39&&_0x247299[_0x3da5b6+0x1]==='\x22'){_0x47f6dc+='\x22\x22',_0x3da5b6+=0x2;continue;}_0x3afe39=!_0x3afe39,_0x47f6dc+=_0x2e3199,_0x3da5b6++;continue;}if(!_0x3afe39&&_0x247299['slice'](_0x3da5b6,_0x3da5b6+_0x2cadb5[_0xb51d57(0x49a)])['toLowerCase']()===_0x121863&&_0x5dc187(_0x247299,_0x3da5b6,_0x2cadb5['length'])){_0x47f6dc+=_0x294282,_0x3da5b6+=_0x2cadb5[_0xb51d57(0x49a)];continue;}_0x47f6dc+=_0x2e3199,_0x3da5b6++;}return _0x47f6dc;}function _0x5dc187(_0x48770d,_0x198b81,_0x440ef5){const _0x13b516=_0x3e73b2;var _0x37c144;let _0x4d60d5=_0x48770d[_0x198b81-0x1];if(_0x4d60d5&&/[\w.]/[_0x13b516(0x45b)](_0x4d60d5))return!0x1;let _0x5414bd=_0x198b81+_0x440ef5;for(;/\s/[_0x13b516(0x45b)]((_0x37c144=_0x48770d[_0x5414bd])==null?'':_0x37c144);)_0x5414bd++;return _0x48770d[_0x5414bd]==='[';}function _0x19c520(_0x5aa47c){'@babel/helpers - typeof';const _0x2f7283=_0x3e73b2;return _0x19c520=typeof Symbol==_0x2f7283(0x372)&&typeof Symbol[_0x2f7283(0x369)]==_0x2f7283(0x511)?function(_0x4d519a){return typeof _0x4d519a;}:function(_0xd0edc5){const _0x2ec1b8=_0x2f7283;return _0xd0edc5&&typeof Symbol==_0x2ec1b8(0x372)&&_0xd0edc5['constructor']===Symbol&&_0xd0edc5!==Symbol[_0x2ec1b8(0x2b8)]?_0x2ec1b8(0x511):typeof _0xd0edc5;},_0x19c520(_0x5aa47c);}function _0x5f4193(_0x281e52,_0x1e02c7){const _0x35dc60=_0x3e73b2;if(_0x19c520(_0x281e52)!='object'||!_0x281e52)return _0x281e52;var _0x2ee50f=_0x281e52[Symbol[_0x35dc60(0x277)]];if(_0x2ee50f!==void 0x0){var _0x2ceee5=_0x2ee50f['call'](_0x281e52,_0x1e02c7||_0x35dc60(0x501));if(_0x19c520(_0x2ceee5)!=_0x35dc60(0x3ed))return _0x2ceee5;throw TypeError(_0x35dc60(0x2f5));}return(_0x1e02c7===_0x35dc60(0x394)?String:Number)(_0x281e52);}function _0x3f93bd(_0x364a3f){const _0x2a2284=_0x3e73b2;var _0x56b139=_0x5f4193(_0x364a3f,'string');return _0x19c520(_0x56b139)==_0x2a2284(0x511)?_0x56b139:_0x56b139+'';}function _0x5b59f9(_0x4d887,_0x433853,_0x5ddde7){const _0x34ebcc=_0x3e73b2;return(_0x433853=_0x3f93bd(_0x433853))in _0x4d887?Object[_0x34ebcc(0x328)](_0x4d887,_0x433853,{'value':_0x5ddde7,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x4d887[_0x433853]=_0x5ddde7,_0x4d887;}let _0x1cf192=(0x0,_0x40477b['createIdentifier'])(_0x3e73b2(0x442));var _0x4a360c=class extends _0x40477b[_0x3e73b2(0x4e6)]{constructor(..._0x49c0da){const _0xec93cc=_0x3e73b2;super(..._0x49c0da),_0x5b59f9(this,_0xec93cc(0x465),new Map());}[_0x3e73b2(0x363)](_0x5d3c63){const _0xfdd80d=_0x3e73b2;return this[_0xfdd80d(0x465)]['set'](_0x5d3c63[_0xfdd80d(0x357)],_0x5d3c63),(0x0,_0x40477b[_0xfdd80d(0x237)])(()=>this['_plugins'][_0xfdd80d(0x2e7)](_0x5d3c63[_0xfdd80d(0x357)]));}[_0x3e73b2(0x20f)](_0x1e8e6c){const _0xf1c2ff=_0x3e73b2;let _0x2ac66f=this[_0xf1c2ff(0x465)][_0xf1c2ff(0x20f)](_0x1e8e6c);if(!_0x2ac66f)throw Error(_0xf1c2ff(0x425)+_0x1e8e6c+_0xf1c2ff(0x374));return _0x2ac66f;}[_0x3e73b2(0x2c8)](_0x544860){const _0x424365=_0x3e73b2;return this['_plugins'][_0x424365(0x20f)](_0x544860);}[_0x3e73b2(0x475)](){const _0x224d3b=_0x3e73b2;return Array[_0x224d3b(0x4ef)](this[_0x224d3b(0x465)][_0x224d3b(0x318)]());}};let _0x26abc0=(0x0,_0x40477b['createIdentifier'])('base.permission.service');var _0x820321=class{constructor(){const _0xb5b4ac=_0x3e73b2;_0x5b59f9(this,'_basePermissions',new Map()),_0x5b59f9(this,'_tablePermissions',new Map()),_0x5b59f9(this,_0xb5b4ac(0x4e3),new Map()),_0x5b59f9(this,_0xb5b4ac(0x493),new Map());}[_0x3e73b2(0x488)](_0x4be711){const _0x15d0a5=_0x3e73b2;var _0xf1ced6,_0x78fc78;return(_0xf1ced6=(_0x78fc78=this[_0x15d0a5(0x2d0)][_0x15d0a5(0x20f)](_0x4be711))==null?void 0x0:_0x78fc78[_0x15d0a5(0x2bb)])==null?!0x0:_0xf1ced6;}[_0x3e73b2(0x4df)](_0x3c0b54){const _0x373ea9=_0x3e73b2;var _0x14d94a,_0x54a756;return(_0x14d94a=(_0x54a756=this[_0x373ea9(0x276)]['get'](_0x3c0b54))==null?void 0x0:_0x54a756[_0x373ea9(0x2e7)])==null?!0x0:_0x14d94a;}[_0x3e73b2(0x370)](_0x5a4281){const _0x2acc87=_0x3e73b2;var _0x3aaa2e,_0x24ce76;return(_0x3aaa2e=(_0x24ce76=this[_0x2acc87(0x276)][_0x2acc87(0x20f)](_0x5a4281))==null?void 0x0:_0x24ce76['createField'])==null?!0x0:_0x3aaa2e;}[_0x3e73b2(0x213)](_0x2718e6,_0x54135b){const _0x2c1fd1=_0x3e73b2;var _0x5e4f39,_0x3165ba;return(_0x5e4f39=(_0x3165ba=this[_0x2c1fd1(0x4e3)][_0x2c1fd1(0x20f)](_0x411637(_0x2718e6,_0x54135b)))==null?void 0x0:_0x3165ba[_0x2c1fd1(0x26b)])==null?!0x0:_0x5e4f39;}[_0x3e73b2(0x1f7)](_0x2971c6,_0xed8409){const _0x10c175=_0x3e73b2;var _0x51a2be,_0xa06f72;return(_0x51a2be=(_0xa06f72=this[_0x10c175(0x4e3)][_0x10c175(0x20f)](_0x411637(_0x2971c6,_0xed8409)))==null?void 0x0:_0xa06f72['delete'])==null?!0x0:_0x51a2be;}[_0x3e73b2(0x247)](_0x53a892){const _0x3cf276=_0x3e73b2;var _0x2fa1f8,_0x410dbd;return(_0x2fa1f8=(_0x410dbd=this[_0x3cf276(0x276)][_0x3cf276(0x20f)](_0x53a892))==null?void 0x0:_0x410dbd[_0x3cf276(0x341)])==null?!0x0:_0x2fa1f8;}[_0x3e73b2(0x255)](_0x33cb5d,_0x2c291c){const _0x47ecbf=_0x3e73b2;var _0x5a48c5,_0x1e8caa;return(_0x5a48c5=(_0x1e8caa=this[_0x47ecbf(0x493)]['get'](_0x5610f0(_0x33cb5d,_0x2c291c)))==null?void 0x0:_0x1e8caa[_0x47ecbf(0x2e7)])==null?!0x0:_0x5a48c5;}[_0x3e73b2(0x4f0)](_0x148b25,_0x7afdd8,_0x233a14){const _0x3b6164=_0x3e73b2;var _0x57c39e,_0x2f043c,_0x551ca4,_0x1aff81;let _0x5116a9=this[_0x3b6164(0x4e3)]['get'](_0x411637(_0x148b25,_0x233a14));return((_0x57c39e=(_0x2f043c=this['_recordPermissions']['get'](_0x5610f0(_0x148b25,_0x7afdd8)))==null?void 0x0:_0x2f043c[_0x3b6164(0x1ea)])==null?!0x0:_0x57c39e)&&((_0x551ca4=_0x5116a9==null?void 0x0:_0x5116a9[_0x3b6164(0x26b)])==null?!0x0:_0x551ca4)&&((_0x1aff81=_0x5116a9==null?void 0x0:_0x5116a9[_0x3b6164(0x1ea)])==null?!0x0:_0x1aff81);}[_0x3e73b2(0x3a1)](_0x3ec54d){const _0x12c0eb=_0x3e73b2;var _0x56f579,_0x5f379c;return(_0x56f579=(_0x5f379c=this[_0x12c0eb(0x276)][_0x12c0eb(0x20f)](_0x3ec54d))==null?void 0x0:_0x5f379c[_0x12c0eb(0x28b)])==null?!0x0:_0x56f579;}[_0x3e73b2(0x2f8)](_0x493cad,_0x21b095){const _0x4d219a=_0x3e73b2;this[_0x4d219a(0x2d0)][_0x4d219a(0x368)](_0x493cad,{...this[_0x4d219a(0x2d0)]['get'](_0x493cad),..._0x21b095});}[_0x3e73b2(0x2b1)](_0x4a894a,_0x477154){const _0x5f00c2=_0x3e73b2;this[_0x5f00c2(0x276)][_0x5f00c2(0x368)](_0x4a894a,{...this[_0x5f00c2(0x276)]['get'](_0x4a894a),..._0x477154});}[_0x3e73b2(0x401)](_0x272c6d,_0x52f2e4,_0x5e853a){const _0x54cc77=_0x3e73b2;let _0x5058c9=_0x411637(_0x272c6d,_0x52f2e4);this[_0x54cc77(0x4e3)][_0x54cc77(0x368)](_0x5058c9,{...this[_0x54cc77(0x4e3)][_0x54cc77(0x20f)](_0x5058c9),..._0x5e853a});}[_0x3e73b2(0x2b6)](_0x56b316,_0x305201,_0x5bb251){const _0x54b50b=_0x3e73b2;let _0x29cd87=_0x5610f0(_0x56b316,_0x305201);this[_0x54b50b(0x493)][_0x54b50b(0x368)](_0x29cd87,{...this['_recordPermissions'][_0x54b50b(0x20f)](_0x29cd87),..._0x5bb251});}[_0x3e73b2(0x448)](_0x110c69){const _0x42a172=_0x3e73b2;this['_basePermissions'][_0x42a172(0x2e7)](_0x110c69);}[_0x3e73b2(0x28c)](_0x3cd9d8){const _0xbb3836=_0x3e73b2;this['_tablePermissions'][_0xbb3836(0x2e7)](_0x3cd9d8);}[_0x3e73b2(0x455)](_0x46b2d0,_0x453003){this['_fieldPermissions']['delete'](_0x411637(_0x46b2d0,_0x453003));}[_0x3e73b2(0x466)](_0x365b4f,_0x1eb3d1){const _0x5c85d5=_0x3e73b2;this[_0x5c85d5(0x493)][_0x5c85d5(0x2e7)](_0x5610f0(_0x365b4f,_0x1eb3d1));}['getSnapshot'](){const _0x2ff5fe=_0x3e73b2;return{'bases':Object[_0x2ff5fe(0x305)](this[_0x2ff5fe(0x2d0)]),'tables':Object[_0x2ff5fe(0x305)](this['_tablePermissions']),'fields':Object[_0x2ff5fe(0x305)](this[_0x2ff5fe(0x4e3)]),'records':Object[_0x2ff5fe(0x305)](this[_0x2ff5fe(0x493)])};}};function _0x411637(_0x307445,_0x1f0059){return _0x307445+'\x1f'+_0x1f0059;}function _0x5610f0(_0x26dd00,_0xc965d9){return _0x26dd00+'\x1f'+_0xc965d9;}function _0x418791(_0x11fc67,_0x4456ee){return function(_0x18f063,_0x1bdd76){_0x4456ee(_0x18f063,_0x1bdd76,_0x11fc67);};}function _0x5ed18a(_0x57ca4c,_0x2cfb74,_0x53a5f1,_0x232136){const _0x3d7cb1=_0x3e73b2;var _0x5d2342=arguments['length'],_0x130f82=_0x5d2342<0x3?_0x2cfb74:_0x232136===null?_0x232136=Object[_0x3d7cb1(0x29a)](_0x2cfb74,_0x53a5f1):_0x232136,_0x151f56;if(typeof Reflect==_0x3d7cb1(0x3ed)&&typeof Reflect['decorate']==_0x3d7cb1(0x372))_0x130f82=Reflect['decorate'](_0x57ca4c,_0x2cfb74,_0x53a5f1,_0x232136);else{for(var _0x2319c3=_0x57ca4c[_0x3d7cb1(0x49a)]-0x1;_0x2319c3>=0x0;_0x2319c3--)(_0x151f56=_0x57ca4c[_0x2319c3])&&(_0x130f82=(_0x5d2342<0x3?_0x151f56(_0x130f82):_0x5d2342>0x3?_0x151f56(_0x2cfb74,_0x53a5f1,_0x130f82):_0x151f56(_0x2cfb74,_0x53a5f1))||_0x130f82);}return _0x5d2342>0x3&&_0x130f82&&Object[_0x3d7cb1(0x328)](_0x2cfb74,_0x53a5f1,_0x130f82),_0x130f82;}let _0x3beb36=(0x0,_0x40477b[_0x3e73b2(0x406)])(_0x3e73b2(0x336)),_0x294cd7=class{constructor(_0x5ebc50,_0x287388=_0x4e882c(),_0x553ac7={}){const _0x381db7=_0x3e73b2;this['_permissionService']=_0x5ebc50,this[_0x381db7(0x412)]=_0x287388,this[_0x381db7(0x50d)]=_0x553ac7,_0x5b59f9(this,_0x381db7(0x201),new _0x54caa1()),_0x5b59f9(this,_0x381db7(0x4a8),new _0x3987f0());}[_0x3e73b2(0x2bb)](_0x4f9f8c,_0x48d4cd,_0x88f35){const _0x49ba64=_0x3e73b2;if(!this[_0x49ba64(0x4c0)][_0x49ba64(0x488)](_0x4f9f8c['getUnitId']()))throw Error('[BaseCommandService]:\x20cannot\x20create\x20table.');this[_0x49ba64(0x233)](_0x4f9f8c,this[_0x49ba64(0x201)][_0x49ba64(0x2bb)](_0x4f9f8c['getSnapshot'](),_0x48d4cd,_0x88f35));}[_0x3e73b2(0x2ab)](_0x392adb,_0x383624,_0x1cba19){const _0x4441bb=_0x3e73b2;this[_0x4441bb(0x233)](_0x392adb,this[_0x4441bb(0x201)][_0x4441bb(0x2ab)](_0x392adb[_0x4441bb(0x3ab)](),_0x383624,_0x1cba19));}[_0x3e73b2(0x3b5)](_0x35379f,_0x57a4b4){const _0x512e30=_0x3e73b2;if(!this[_0x512e30(0x4c0)][_0x512e30(0x4df)](_0x57a4b4))throw Error(_0x512e30(0x4e5));this[_0x512e30(0x233)](_0x35379f,this[_0x512e30(0x201)][_0x512e30(0x3b5)](_0x35379f[_0x512e30(0x3ab)](),_0x57a4b4));}[_0x3e73b2(0x295)](_0x59998d,_0x59cfcb,_0x2e4b17,_0x74b92c,_0x2333fd){const _0x59196d=_0x3e73b2;this[_0x59196d(0x233)](_0x59998d,this[_0x59196d(0x261)](_0x59998d,_0x59cfcb,_0x2e4b17,_0x74b92c,_0x2333fd));}['setRecordValues'](_0x350d1f,_0x19677b,_0x5b0d36){const _0x38721f=_0x3e73b2;this[_0x38721f(0x233)](_0x350d1f,this[_0x38721f(0x26c)](_0x350d1f,_0x19677b,_0x5b0d36));}['createRecord'](_0x43a267,_0x21dcdd,_0x5d115d){const _0x26b662=_0x3e73b2;this[_0x26b662(0x233)](_0x43a267,this[_0x26b662(0x503)](_0x43a267,_0x21dcdd,_0x5d115d));}[_0x3e73b2(0x261)](_0x448430,_0xf48f46,_0x53dd78,_0x17764f,_0x32a6f0){const _0x3e6a8b=_0x3e73b2;let _0x27285d=_0x448430[_0x3e6a8b(0x3ab)](),_0x1bd599=this[_0x3e6a8b(0x468)](_0x27285d,_0xf48f46,_0x53dd78,_0x17764f,_0x32a6f0),_0x212fcd=this[_0x3e6a8b(0x2cb)](_0x27285d,_0xf48f46,_0x53dd78,{[_0x17764f]:_0x1bd599});return this[_0x3e6a8b(0x201)]['setRecordValues'](_0x27285d,_0xf48f46,[_0x212fcd]);}[_0x3e73b2(0x26c)](_0x9145fd,_0x556a29,_0x1b710c){const _0x3924ca=_0x3e73b2;let _0x242d10=_0x9145fd[_0x3924ca(0x3ab)](),_0x269bec=_0x1b710c[_0x3924ca(0x2ea)](_0x10d02e=>this[_0x3924ca(0x2cb)](_0x242d10,_0x556a29,_0x10d02e[_0x3924ca(0x3c7)],{...Object[_0x3924ca(0x305)](Object[_0x3924ca(0x244)](_0x10d02e['values'])['map'](([_0x1fd638,_0x2d5aaa])=>[_0x1fd638,this[_0x3924ca(0x468)](_0x242d10,_0x556a29,_0x10d02e['recordId'],_0x1fd638,_0x2d5aaa)]))}));return this['_factory'][_0x3924ca(0x3cf)](_0x242d10,_0x556a29,_0x269bec);}[_0x3e73b2(0x503)](_0xbd239f,_0xb7437d,_0x1e0c1a){const _0x39d144=_0x3e73b2;if(!this[_0x39d144(0x4c0)]['canCreateRecord'](_0xb7437d))throw Error(_0x39d144(0x21d));let _0x374dfd=_0xbd239f[_0x39d144(0x3ab)](),_0x3b47f5=this[_0x39d144(0x340)](_0x374dfd['tables'][_0xb7437d]);return this[_0x39d144(0x201)][_0x39d144(0x341)](_0x374dfd,_0xb7437d,this[_0x39d144(0x243)](_0x374dfd,_0xb7437d,_0x1e0c1a,_0x3b47f5));}[_0x3e73b2(0x482)](_0x3799a,_0x3679ea,_0x297675){const _0x29127c=_0x3e73b2;if(!this[_0x29127c(0x4c0)]['canCreateRecord'](_0x3679ea))throw Error(_0x29127c(0x21d));let _0x35c594=_0x3799a[_0x29127c(0x3ab)](),_0x5193db=this[_0x29127c(0x340)](_0x35c594['tables'][_0x3679ea]);return this[_0x29127c(0x201)]['createRecords'](_0x35c594,_0x3679ea,_0x297675['map'](_0x28beaa=>this[_0x29127c(0x243)](_0x35c594,_0x3679ea,_0x28beaa,_0x5193db)));}[_0x3e73b2(0x4e4)](_0xc28ee5,_0x5809e8,_0x17c624,_0x1cb512,_0x5ada7b){const _0x5db53c=_0x3e73b2;if(!this[_0x5db53c(0x4c0)][_0x5db53c(0x370)](_0x5809e8))throw Error(_0x5db53c(0x35a));let _0x2f84ae=_0xc28ee5[_0x5db53c(0x3ab)](),_0x200505=this[_0x5db53c(0x201)]['createField'](_0x2f84ae,_0x5809e8,{'field':_0x17c624,'index':_0x1cb512,'viewIndexes':_0x5ada7b}),_0x12738d=this[_0x5db53c(0x457)](_0x2f84ae,_0x5809e8,_0x17c624);if(!_0x12738d[_0x5db53c(0x49a)])return _0x200505;let _0x1e89c2=this['_applier'][_0x5db53c(0x460)](_0x2f84ae,_0x200505);return _0x265795([_0x200505,this[_0x5db53c(0x201)][_0x5db53c(0x3cf)](_0x1e89c2,_0x5809e8,_0x12738d)]);}[_0x3e73b2(0x444)](_0x228388,_0x1ff642,_0x19030c){const _0x2cf4a4=_0x3e73b2;if(!this[_0x2cf4a4(0x4c0)][_0x2cf4a4(0x255)](_0x1ff642,_0x19030c))throw Error(_0x2cf4a4(0x505));this[_0x2cf4a4(0x233)](_0x228388,this[_0x2cf4a4(0x201)][_0x2cf4a4(0x444)](_0x228388[_0x2cf4a4(0x3ab)](),_0x1ff642,_0x19030c));}[_0x3e73b2(0x40a)](_0x256255,_0x5d1c16,_0x310f9b,_0x1786bf){const _0x242869=_0x3e73b2;this[_0x242869(0x233)](_0x256255,this[_0x242869(0x201)][_0x242869(0x40a)](_0x256255[_0x242869(0x3ab)](),_0x5d1c16,_0x310f9b,_0x1786bf));}[_0x3e73b2(0x428)](_0x2da30d,_0x219f9a,_0x3561aa,_0x3f68ec){this['_apply'](_0x2da30d,this['_factory']['updateRecordOrder'](_0x2da30d['getSnapshot'](),_0x219f9a,_0x3561aa,_0x3f68ec));}[_0x3e73b2(0x4a5)](_0x104dd8,_0x74ba3c,_0x1983a9,_0x45ba89,_0x1c9b54){const _0x104ee0=_0x3e73b2;this['_apply'](_0x104dd8,this[_0x104ee0(0x4e4)](_0x104dd8,_0x74ba3c,_0x1983a9,_0x45ba89,_0x1c9b54));}[_0x3e73b2(0x3ba)](_0x45a4b3,_0x3c8cf5,_0x54e35f,_0x88860a){const _0x57e832=_0x3e73b2;if(!this['_permissionService']['canEditField'](_0x3c8cf5,_0x54e35f))throw Error(_0x57e832(0x2d6));this[_0x57e832(0x233)](_0x45a4b3,this[_0x57e832(0x201)][_0x57e832(0x3ba)](_0x45a4b3['getSnapshot'](),_0x3c8cf5,_0x54e35f,_0x88860a));}[_0x3e73b2(0x317)](_0x400e3f,_0x4fc7ac,_0x4b716b,_0x34aa0a){const _0x1282c3=_0x3e73b2;if(!this['_permissionService'][_0x1282c3(0x213)](_0x4fc7ac,_0x4b716b))throw Error(_0x1282c3(0x2d6));this[_0x1282c3(0x233)](_0x400e3f,this['_factory'][_0x1282c3(0x317)](_0x400e3f[_0x1282c3(0x3ab)](),_0x4fc7ac,_0x4b716b,_0x34aa0a));}['deleteField'](_0x353311,_0x3ed9e2,_0x4429c1){const _0x23808d=_0x3e73b2;var _0x5ce770;if(((_0x5ce770=_0x353311[_0x23808d(0x3ab)]()[_0x23808d(0x4be)][_0x3ed9e2])==null?void 0x0:_0x5ce770[_0x23808d(0x43d)])===_0x4429c1)throw Error(_0x23808d(0x2fc));if(!this[_0x23808d(0x4c0)]['canDeleteField'](_0x3ed9e2,_0x4429c1))throw Error('[BaseCommandService]:\x20cannot\x20delete\x20field.');this['_apply'](_0x353311,this[_0x23808d(0x201)][_0x23808d(0x23c)](_0x353311[_0x23808d(0x3ab)](),_0x3ed9e2,_0x4429c1));}[_0x3e73b2(0x241)](_0x2300f6,_0x109032,_0x2bdf2d,_0x2a5098){const _0x2b021b=_0x3e73b2;if(!this[_0x2b021b(0x4c0)][_0x2b021b(0x213)](_0x109032,_0x2bdf2d))throw Error('[BaseCommandService]:\x20cannot\x20edit\x20field.');this[_0x2b021b(0x233)](_0x2300f6,this[_0x2b021b(0x201)]['moveField'](_0x2300f6[_0x2b021b(0x3ab)](),_0x109032,_0x2bdf2d,_0x2a5098));}[_0x3e73b2(0x3e6)](_0x44e827,_0x5cd850,_0x502b7f,_0x397e86){const _0x12fa6b=_0x3e73b2;this[_0x12fa6b(0x233)](_0x44e827,this[_0x12fa6b(0x201)][_0x12fa6b(0x3e6)](_0x44e827[_0x12fa6b(0x3ab)](),_0x5cd850,_0x502b7f,_0x397e86));}[_0x3e73b2(0x337)](_0x39be82,_0x311553,_0x503915,_0x173cb6){const _0x339011=_0x3e73b2;if(!this[_0x339011(0x4c0)][_0x339011(0x3a1)](_0x311553,_0x503915))throw Error(_0x339011(0x37d));this[_0x339011(0x233)](_0x39be82,this[_0x339011(0x201)][_0x339011(0x337)](_0x39be82['getSnapshot'](),_0x311553,_0x503915,_0x173cb6));}[_0x3e73b2(0x214)](_0x25bf2f,_0x2b539d,_0xe365b9){const _0x6c3642=_0x3e73b2;if(!this[_0x6c3642(0x4c0)][_0x6c3642(0x3a1)](_0x2b539d,_0xe365b9))throw Error(_0x6c3642(0x37d));this[_0x6c3642(0x233)](_0x25bf2f,this['_factory']['deleteView'](_0x25bf2f[_0x6c3642(0x3ab)](),_0x2b539d,_0xe365b9));}[_0x3e73b2(0x342)](_0x1302c5,_0x1ca60b,_0x3296e3,_0x2a58ce){const _0x5d5f52=_0x3e73b2;if(!this['_permissionService'][_0x5d5f52(0x3a1)](_0x1ca60b,_0x3296e3))throw Error(_0x5d5f52(0x37d));this[_0x5d5f52(0x233)](_0x1302c5,this[_0x5d5f52(0x201)][_0x5d5f52(0x342)](_0x1302c5[_0x5d5f52(0x3ab)](),_0x1ca60b,_0x3296e3,_0x2a58ce));}['updateViewConfig'](_0x4bbcae,_0x441d32,_0x1f5303,_0x29394a){const _0x387834=_0x3e73b2;if(!this[_0x387834(0x4c0)][_0x387834(0x3a1)](_0x441d32,_0x1f5303))throw Error(_0x387834(0x37d));this[_0x387834(0x233)](_0x4bbcae,this['_factory'][_0x387834(0x2ba)](_0x4bbcae[_0x387834(0x3ab)](),_0x441d32,_0x1f5303,_0x29394a));}[_0x3e73b2(0x4b0)](_0x508d02,_0x338a0e,_0x1c999e,_0x140486){const _0x2fad8b=_0x3e73b2;this[_0x2fad8b(0x233)](_0x508d02,this[_0x2fad8b(0x201)]['setViewFilter'](_0x508d02[_0x2fad8b(0x3ab)](),_0x338a0e,_0x1c999e,_0x140486));}[_0x3e73b2(0x1f3)](_0x2061f3,_0x444c5b,_0x27cd14,_0x48373b){const _0x2a3938=_0x3e73b2;this[_0x2a3938(0x233)](_0x2061f3,this[_0x2a3938(0x201)][_0x2a3938(0x1f3)](_0x2061f3[_0x2a3938(0x3ab)](),_0x444c5b,_0x27cd14,_0x48373b));}[_0x3e73b2(0x4ce)](_0x1423eb,_0x26637b,_0x3e5569,_0x50d37c){const _0x3f8d48=_0x3e73b2;this[_0x3f8d48(0x233)](_0x1423eb,this[_0x3f8d48(0x201)]['setViewGroup'](_0x1423eb['getSnapshot'](),_0x26637b,_0x3e5569,_0x50d37c));}['setViewFieldVisible'](_0x331b70,_0x1071a1,_0xd9cd7d,_0x48da12,_0x42b4da){const _0x2db58a=_0x3e73b2;if(!this[_0x2db58a(0x4c0)][_0x2db58a(0x3a1)](_0x1071a1,_0xd9cd7d))throw Error(_0x2db58a(0x37d));this[_0x2db58a(0x233)](_0x331b70,this['_factory'][_0x2db58a(0x356)](_0x331b70[_0x2db58a(0x3ab)](),_0x1071a1,_0xd9cd7d,_0x48da12,_0x42b4da));}[_0x3e73b2(0x4d7)](_0x3a2a92,_0x47c0e7,_0x128bcc,_0x37de95,_0x405070){const _0x287a8e=_0x3e73b2;this[_0x287a8e(0x233)](_0x3a2a92,this[_0x287a8e(0x201)]['setViewFieldWidth'](_0x3a2a92[_0x287a8e(0x3ab)](),_0x47c0e7,_0x128bcc,_0x37de95,_0x405070));}[_0x3e73b2(0x30c)](_0x1ca2e6,_0x524f26,_0x1c7df7,_0x4b157f,_0x4b9fc4){const _0x338b20=_0x3e73b2;this['_apply'](_0x1ca2e6,this['_factory'][_0x338b20(0x30c)](_0x1ca2e6[_0x338b20(0x3ab)](),_0x524f26,_0x1c7df7,_0x4b157f,_0x4b9fc4));}[_0x3e73b2(0x233)](_0x531786,_0x281a3d){const _0x2465ac=_0x3e73b2;let _0x4eb56a=_0x531786[_0x2465ac(0x3ab)]();_0x531786[_0x2465ac(0x410)](this['_applier'][_0x2465ac(0x460)](_0x4eb56a,_0x281a3d));}[_0x3e73b2(0x243)](_0x445709,_0x1f6b75,_0x38d1c0,_0x55b0a9=this[_0x3e73b2(0x340)](_0x445709['tables'][_0x1f6b75])){const _0x3b8241=_0x3e73b2;var _0x3afad4,_0x3fae7a,_0x10ecb0,_0x227826;let _0x481e8f=_0x445709['tables'][_0x1f6b75],_0x4cee8d=(_0x3afad4=(_0x3fae7a=_0x38d1c0['createdBy'])==null?_0x38d1c0[_0x3b8241(0x1f1)]:_0x3fae7a)==null?this[_0x3b8241(0x4fb)]():_0x3afad4,_0x3f3bfb={..._0x38d1c0,'createdBy':(_0x10ecb0=_0x38d1c0[_0x3b8241(0x2f6)])==null?_0x4cee8d:_0x10ecb0,'updatedBy':(_0x227826=_0x38d1c0['updatedBy'])==null?_0x4cee8d:_0x227826,'values':{..._0x38d1c0[_0x3b8241(0x318)]}};return _0x481e8f[_0x3b8241(0x373)][_0x3b8241(0x23d)](_0x143204=>{const _0x248143=_0x3b8241;let _0x456713=_0x481e8f[_0x248143(0x431)][_0x143204];if(!(!_0x456713||_0x3f3bfb[_0x248143(0x318)][_0x143204]!==void 0x0))switch(_0x456713[_0x248143(0x357)]){case _0x40477b['BaseFieldType'][_0x248143(0x479)]:var _0x248148,_0x16d7cf;_0x3f3bfb[_0x248143(0x318)][_0x143204]=(_0x248148=(_0x16d7cf=_0x55b0a9[_0x248143(0x20f)](_0x143204))==null?void 0x0:_0x16d7cf())==null?this[_0x248143(0x4c4)](_0x481e8f,_0x143204)():_0x248148;break;case _0x40477b['BaseFieldType'][_0x248143(0x20e)]:_0x3f3bfb[_0x248143(0x2f6)]&&(_0x3f3bfb[_0x248143(0x318)][_0x143204]=_0x3f3bfb['createdBy']);break;case _0x40477b[_0x248143(0x3dc)][_0x248143(0x422)]:_0x3f3bfb[_0x248143(0x1f1)]&&(_0x3f3bfb[_0x248143(0x318)][_0x143204]=_0x3f3bfb[_0x248143(0x1f1)]);break;case _0x40477b[_0x248143(0x3dc)][_0x248143(0x275)]:_0x3f3bfb[_0x248143(0x318)][_0x143204]=_0x2f4bb1(_0x3f3bfb['createdAt']);break;case _0x40477b[_0x248143(0x3dc)][_0x248143(0x2a6)]:_0x3f3bfb['values'][_0x143204]=_0x2f4bb1(_0x3f3bfb['updatedAt']);break;default:{let _0x80595e=_0x456713[_0x248143(0x39d)];_0x80595e!=null&&_0x80595e!==''&&!(Array[_0x248143(0x21e)](_0x80595e)&&_0x80595e[_0x248143(0x49a)]===0x0)&&(_0x3f3bfb[_0x248143(0x318)][_0x143204]=_0x80595e);}}}),_0x3f3bfb;}[_0x3e73b2(0x2cb)](_0xd9d708,_0x40c798,_0x5346e9,_0x4b0d63){const _0x449f14=_0x3e73b2;var _0xdf8976,_0x475e6f,_0xcee833;let _0x22dd84=_0xd9d708[_0x449f14(0x4be)][_0x40c798],_0x214260=(_0xdf8976=(_0x475e6f=(_0xcee833=this[_0x449f14(0x50d)])[_0x449f14(0x35f)])==null?void 0x0:_0x475e6f[_0x449f14(0x44e)](_0xcee833))==null?Date['now']():_0xdf8976,_0x3ffae0=this[_0x449f14(0x4fb)](),_0x5d6e4a={..._0x4b0d63};return _0x22dd84[_0x449f14(0x373)][_0x449f14(0x23d)](_0x375d03=>{const _0x5c09a=_0x449f14;let _0x39dc42=_0x22dd84['fields'][_0x375d03];_0x39dc42&&(_0x39dc42[_0x5c09a(0x357)]===_0x40477b[_0x5c09a(0x3dc)][_0x5c09a(0x2a6)]&&(_0x5d6e4a[_0x375d03]=_0x2f4bb1(_0x214260)),_0x39dc42[_0x5c09a(0x357)]===_0x40477b['BaseFieldType'][_0x5c09a(0x422)]&&_0x3ffae0&&(_0x5d6e4a[_0x375d03]=_0x3ffae0));}),{'recordId':_0x5346e9,'values':_0x5d6e4a,'recordPatch':{'updatedAt':_0x214260,..._0x3ffae0?{'updatedBy':_0x3ffae0}:{}}};}[_0x3e73b2(0x457)](_0xdc5114,_0x38e9e5,_0x43c662){const _0x5d53d7=_0x3e73b2;let _0x27d725=_0xdc5114[_0x5d53d7(0x4be)][_0x38e9e5];return!_0x27d725||!_0x2e59be(_0x43c662)?[]:_0x43c662[_0x5d53d7(0x357)]===_0x40477b[_0x5d53d7(0x3dc)][_0x5d53d7(0x479)]?this['_createNumberingFieldValuePatches'](_0x27d725,_0x43c662['id']):Object[_0x5d53d7(0x318)](_0x27d725['records'])[_0x5d53d7(0x371)](_0x459841=>{const _0x16494c=_0x5d53d7;let _0x110fdf=this[_0x16494c(0x440)](_0x43c662,_0x459841);return _0x110fdf===void 0x0?[]:[{'recordId':_0x459841['id'],'values':{[_0x43c662['id']]:_0x110fdf}}];});}['_getSystemFieldValue'](_0x14fa78,_0x3a928d){const _0x39c799=_0x3e73b2;switch(_0x14fa78['type']){case _0x40477b['BaseFieldType'][_0x39c799(0x20e)]:var _0x31ac52;return(_0x31ac52=_0x3a928d[_0x39c799(0x2f6)])==null?this[_0x39c799(0x4fb)]():_0x31ac52;case _0x40477b['BaseFieldType']['UpdatedBy']:var _0x2f43d8;return(_0x2f43d8=_0x3a928d[_0x39c799(0x1f1)])==null?this[_0x39c799(0x4fb)]():_0x2f43d8;case _0x40477b['BaseFieldType'][_0x39c799(0x275)]:var _0x428f67;return _0x2f4bb1((_0x428f67=_0x3a928d[_0x39c799(0x4d9)])==null?Date['now']():_0x428f67);case _0x40477b['BaseFieldType'][_0x39c799(0x2a6)]:var _0x56e7d6;return _0x2f4bb1((_0x56e7d6=_0x3a928d['updatedAt'])==null?Date[_0x39c799(0x35f)]():_0x56e7d6);default:return;}}[_0x3e73b2(0x340)](_0x5bdb98){const _0xfd720=_0x3e73b2;let _0x343c9d=new Map();return _0x5bdb98&&_0x5bdb98[_0xfd720(0x373)][_0xfd720(0x23d)](_0x151da8=>{const _0x15dee1=_0xfd720;let _0x3808cc=_0x5bdb98[_0x15dee1(0x431)][_0x151da8];(_0x3808cc==null?void 0x0:_0x3808cc[_0x15dee1(0x357)])===_0x40477b['BaseFieldType']['Numbering']&&_0x343c9d['set'](_0x151da8,this['_createNumberingAllocator'](_0x5bdb98,_0x151da8));}),_0x343c9d;}['_createNumberingAllocator'](_0x23b289,_0x56099b){const _0x37b3c3=_0x3e73b2;let _0x412e3b=Object[_0x37b3c3(0x318)](_0x23b289[_0x37b3c3(0x464)])[_0x37b3c3(0x4b1)]((_0x540c66,_0x18152d)=>{const _0x5e14c1=_0x37b3c3;let _0x40a080=Number(_0x18152d['values'][_0x56099b]);return Number['isFinite'](_0x40a080)?Math[_0x5e14c1(0x263)](_0x540c66,_0x40a080):_0x540c66;},0x0);return()=>String(++_0x412e3b);}['_createNumberingFieldValuePatches'](_0x9a8e86,_0x34e004){const _0x43b87c=_0x3e73b2;let _0x753273=this[_0x43b87c(0x496)](_0x9a8e86),_0x134c1d=this[_0x43b87c(0x4c4)](_0x9a8e86,_0x34e004);return _0x753273['flatMap'](_0xfbcc6a=>this[_0x43b87c(0x282)](_0xfbcc6a[_0x43b87c(0x318)][_0x34e004])?[]:[{'recordId':_0xfbcc6a['id'],'values':{[_0x34e004]:_0x134c1d()}}]);}['_getOrderedRecords'](_0xd0d24f){const _0x1ad0af=_0x3e73b2;var _0x1f0260;let _0x272f95=Object[_0x1ad0af(0x318)](_0xd0d24f[_0x1ad0af(0x464)]),_0x4d2fe8=new Map(_0x272f95[_0x1ad0af(0x2ea)](_0x5fd2c7=>[_0x5fd2c7['id'],_0x5fd2c7])),_0xc754b2=[],_0x482a87=new Set();(_0x1f0260=_0xd0d24f[_0x1ad0af(0x3aa)])==null||_0x1f0260[_0x1ad0af(0x23d)](_0x4a7c70=>{const _0x42cc25=_0x1ad0af;let _0x22722c=_0x4d2fe8['get'](_0x4a7c70);_0x22722c&&(_0xc754b2[_0x42cc25(0x36f)](_0x22722c),_0x482a87['add'](_0x4a7c70));});let _0x3c12fa=_0x272f95[_0x1ad0af(0x3f6)](_0x87e5f6=>!_0x482a87[_0x1ad0af(0x23b)](_0x87e5f6['id']))[_0x1ad0af(0x225)]((_0x42d8db,_0x505507)=>{const _0x5e506c=_0x1ad0af;var _0x420661,_0x57359d;return String((_0x420661=_0x42d8db[_0x5e506c(0x339)])==null?_0x42d8db['id']:_0x420661)[_0x5e506c(0x42f)](String((_0x57359d=_0x505507[_0x5e506c(0x339)])==null?_0x505507['id']:_0x57359d))||_0x42d8db['id'][_0x5e506c(0x42f)](_0x505507['id']);});return[..._0xc754b2,..._0x3c12fa];}[_0x3e73b2(0x282)](_0x2bc417){const _0x203763=_0x3e73b2;return _0x2bc417!=null&&_0x2bc417!==''&&!(Array[_0x203763(0x21e)](_0x2bc417)&&_0x2bc417['length']===0x0);}[_0x3e73b2(0x4fb)](){const _0x4e0db6=_0x3e73b2;var _0x754bc0,_0x2dbe7d,_0x3e9785,_0x2ee29f,_0x273906,_0x171250;return(_0x754bc0=(_0x2dbe7d=(_0x3e9785=(_0x2ee29f=this[_0x4e0db6(0x50d)])[_0x4e0db6(0x311)])==null?void 0x0:_0x3e9785[_0x4e0db6(0x44e)](_0x2ee29f))==null?(_0x273906=(_0x171250=this['_runtimeContext'])['getCurrentUser'])==null||(_0x273906=_0x273906[_0x4e0db6(0x44e)](_0x171250))==null?void 0x0:_0x273906[_0x4e0db6(0x3c0)]:_0x2dbe7d)==null?void 0x0:_0x754bc0;}[_0x3e73b2(0x468)](_0x1ffdb5,_0x58b6d2,_0x216ff5,_0x57ad2a,_0x34b14f){const _0x38d392=_0x3e73b2;var _0x78ac73;if(!this[_0x38d392(0x4c0)][_0x38d392(0x4f0)](_0x58b6d2,_0x216ff5,_0x57ad2a))throw Error(_0x38d392(0x39f));let _0x55cc01=(_0x78ac73=_0x1ffdb5['tables'][_0x58b6d2])==null?void 0x0:_0x78ac73[_0x38d392(0x431)][_0x57ad2a];if(!_0x55cc01)throw Error(_0x38d392(0x3a8)+_0x57ad2a+_0x38d392(0x20d));let _0x474d90=this['_fieldRegistry'][_0x38d392(0x20f)](_0x55cc01[_0x38d392(0x357)]);if(_0x55cc01[_0x38d392(0x203)]||_0x55cc01['system']||!_0x474d90[_0x38d392(0x3db)](_0x55cc01)[_0x38d392(0x293)])throw Error(_0x38d392(0x4fe));let _0x55e266=_0x474d90['normalize'](_0x34b14f,_0x55cc01),_0x53c9ff=_0x474d90[_0x38d392(0x2c2)](_0x55e266,_0x55cc01);if(!_0x53c9ff[_0x38d392(0x333)]){var _0x3ba2c5;throw Error((_0x3ba2c5=_0x53c9ff[_0x38d392(0x35e)])==null?_0x38d392(0x3b6):_0x3ba2c5);}return _0x55e266;}};_0x294cd7=_0x5ed18a([_0x418791(0x0,_0x26abc0),_0x418791(0x1,_0x1cf192)],_0x294cd7);function _0x4e882c(){const _0x713402=_0x3e73b2;let _0x2144fe=new _0x4a360c();return _0x4a2be5()[_0x713402(0x23d)](_0x5885e9=>_0x2144fe['register'](_0x5885e9)),_0x2144fe;}function _0x2e59be(_0x6d31f8){const _0x515728=_0x3e73b2;return _0x6d31f8['type']===_0x40477b[_0x515728(0x3dc)]['Numbering']||_0x6d31f8[_0x515728(0x357)]===_0x40477b['BaseFieldType']['CreatedBy']||_0x6d31f8[_0x515728(0x357)]===_0x40477b['BaseFieldType']['UpdatedBy']||_0x6d31f8['type']===_0x40477b[_0x515728(0x3dc)]['CreatedAt']||_0x6d31f8[_0x515728(0x357)]===_0x40477b['BaseFieldType']['UpdatedAt'];}let _0x5c9c70=new Set([_0x40477b[_0x3e73b2(0x3dc)]['Progress'],_0x40477b[_0x3e73b2(0x3dc)]['Rating'],_0x40477b[_0x3e73b2(0x3dc)][_0x3e73b2(0x22e)]]);function _0x2361df(_0x2c43e0){const _0x1b1cf4=_0x3e73b2;var _0xc62c7d,_0x264d68;let _0xf9e596=_0x2c43e0['fields'][_0x2c43e0[_0x1b1cf4(0x43d)]];return!(_0xf9e596&&(_0xf9e596[_0x1b1cf4(0x3fd)]===!0x0||_0xf9e596['id'][_0x1b1cf4(0x4c8)]()==='id'||_0xf9e596[_0x1b1cf4(0x33c)][_0x1b1cf4(0x3bb)]()[_0x1b1cf4(0x4c8)]()==='id'))&&_0xf9e596?_0xf9e596['id']:(_0xc62c7d=(_0x264d68=_0x2c43e0[_0x1b1cf4(0x373)][_0x1b1cf4(0x2ea)](_0x11e692=>_0x2c43e0[_0x1b1cf4(0x431)][_0x11e692])[_0x1b1cf4(0x39b)](_0x5e798e=>_0x5e798e&&_0x5e798e['id']!==_0x2c43e0['primaryFieldId']))==null?void 0x0:_0x264d68['id'])==null?_0x2c43e0[_0x1b1cf4(0x43d)]:_0xc62c7d;}function _0x1f62e1(_0x33eda2,_0xb15d71=[],_0xe63453=0x5){const _0x5df930=_0x3e73b2;let _0x3b691e=new Set(_0xb15d71[_0x5df930(0x3f6)](_0x2d01e8=>!!_0x2d01e8)),_0x3c2a98=_0x33eda2[_0x5df930(0x373)][_0x5df930(0x371)](_0x31c1d8=>{const _0x1ec893=_0x5df930;let _0x10976e=_0x33eda2['fields'][_0x31c1d8];return _0x10976e&&!_0x3b691e[_0x1ec893(0x23b)](_0x10976e['id'])?[_0x10976e]:[];}),_0x555b7e=_0x3c2a98['filter'](_0x5cf486=>_0x5c9c70[_0x5df930(0x23b)](_0x5cf486[_0x5df930(0x357)])),_0xfaffb8=_0x3c2a98[_0x5df930(0x3f6)](_0x1d1493=>!_0x5c9c70[_0x5df930(0x23b)](_0x1d1493[_0x5df930(0x357)]));return[..._0x555b7e,..._0xfaffb8]['slice'](0x0,_0xe63453)[_0x5df930(0x2ea)](_0x4bee8c=>_0x4bee8c['id']);}function _0x9a5b1b(){const _0x4e6327=_0x3e73b2;return[{'type':_0x40477b[_0x4e6327(0x49b)][_0x4e6327(0x2f9)],'i18nKey':_0x4e6327(0x33d),'createDefaultConfig':()=>({}),'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{throw Error('Grid\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.');}},{'type':_0x40477b[_0x4e6327(0x49b)]['Kanban'],'i18nKey':_0x4e6327(0x473),'createDefaultConfig':_0x3994f9=>{const _0x2b7dcf=_0x4e6327;let _0x822a26=_0x427fd0(_0x3994f9);return{'groupFieldId':_0x822a26,'coverFieldId':null,'cardLayout':'normal','showFieldNames':!0x0,'fieldSettings':{},'columnSettings':{},'card':{'titleFieldId':_0x3994f9['primaryFieldId'],'fieldIds':_0x1f62e1(_0x3994f9,[_0x3994f9[_0x2b7dcf(0x43d)],_0x822a26])}};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{throw Error('Kanban\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.');}},{'type':_0x40477b[_0x4e6327(0x49b)][_0x4e6327(0x462)],'i18nKey':_0x4e6327(0x22f),'createDefaultConfig':_0x153152=>{const _0x292d02=_0x4e6327;let _0x34d63f=_0x370c9d(_0x153152);return{'startDateFieldId':_0x34d63f,'endDateFieldId':_0x1b470a(_0x153152,_0x34d63f),'titleFieldId':_0x153152[_0x292d02(0x43d)],'mode':_0x292d02(0x3d3),'timeslotSize':_0x292d02(0x504),'timeZone':_0x292d02(0x3de),'displayColor':{'type':_0x292d02(0x21a),'color':_0x292d02(0x34b)},'fieldSettings':{}};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x4d54c2=_0x4e6327;throw Error(_0x4d54c2(0x40c));}},{'type':_0x40477b[_0x4e6327(0x49b)][_0x4e6327(0x483)],'i18nKey':_0x4e6327(0x3ff),'createDefaultConfig':_0x28849d=>{const _0x3f36a9=_0x4e6327;var _0x5c82b1;let _0x7d1bf3=_0x370c9d(_0x28849d);return{'startDateFieldId':_0x7d1bf3,'endDateFieldId':(_0x5c82b1=_0x1b470a(_0x28849d,_0x7d1bf3))==null?_0x7d1bf3:_0x5c82b1,'titleFieldId':_0x28849d['primaryFieldId'],'scale':_0x3f36a9(0x3d3),'showTodayLine':!0x0,'displayColor':{'type':'custom','color':_0x3f36a9(0x20a)},'fieldSettings':{},'workingDaysOnly':!0x1};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x149b16=_0x4e6327;throw Error(_0x149b16(0x3d9));}},{'type':_0x40477b['BaseViewType'][_0x4e6327(0x50c)],'i18nKey':_0x4e6327(0x245),'createDefaultConfig':_0x5c07e4=>{const _0x4547c6=_0x4e6327;let _0x858671=_0x2361df(_0x5c07e4);return{'coverFieldId':null,'cardLayout':_0x4547c6(0x2a1),'showFieldNames':!0x0,'fieldSettings':{},'card':{'titleFieldId':_0x858671,'coverFieldId':null,'fieldIds':_0x1f62e1(_0x5c07e4,[_0x858671,_0x5c07e4[_0x4547c6(0x43d)]])},'cardSize':_0x4547c6(0x504)};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x1773ea=_0x4e6327;throw Error(_0x1773ea(0x447));}}];}function _0x427fd0(_0x1b2c0a){const _0x3c036d=_0x3e73b2;var _0x1a38ae,_0x58c44c,_0x24de94,_0x3a34f5,_0x29ea25,_0x1e55ec;let _0x50ba40=_0x1b2c0a[_0x3c036d(0x373)]['map'](_0x184f57=>_0x1b2c0a[_0x3c036d(0x431)][_0x184f57])[_0x3c036d(0x3f6)](_0x351449=>!!_0x351449);return(_0x1a38ae=(_0x58c44c=(_0x24de94=(_0x3a34f5=_0x50ba40[_0x3c036d(0x39b)](_0x340289=>_0x340289[_0x3c036d(0x357)]===_0x40477b['BaseFieldType'][_0x3c036d(0x2e5)]||_0x340289[_0x3c036d(0x357)]===_0x40477b[_0x3c036d(0x3dc)]['MultiSelect']||_0x340289['type']===_0x40477b[_0x3c036d(0x3dc)]['Group']))==null?void 0x0:_0x3a34f5['id'])==null?(_0x29ea25=_0x50ba40[_0x3c036d(0x39b)](_0x18d59b=>_0x18d59b[_0x3c036d(0x357)]===_0x40477b[_0x3c036d(0x3dc)][_0x3c036d(0x309)]))==null?void 0x0:_0x29ea25['id']:_0x24de94)==null?(_0x1e55ec=_0x50ba40[_0x3c036d(0x39b)](_0x5c1df4=>_0x5c1df4['type']===_0x40477b[_0x3c036d(0x3dc)][_0x3c036d(0x48b)]||_0x5c1df4[_0x3c036d(0x357)]===_0x40477b[_0x3c036d(0x3dc)][_0x3c036d(0x275)]||_0x5c1df4[_0x3c036d(0x357)]===_0x40477b[_0x3c036d(0x3dc)][_0x3c036d(0x2a6)]))==null?void 0x0:_0x1e55ec['id']:_0x58c44c)==null?_0x1b2c0a[_0x3c036d(0x43d)]:_0x1a38ae;}function _0x370c9d(_0x2454a8){const _0x2d4393=_0x3e73b2;var _0x1d1bb2,_0xdec314;return(_0x1d1bb2=(_0xdec314=_0x2454a8[_0x2d4393(0x373)][_0x2d4393(0x2ea)](_0x23bdfa=>_0x2454a8[_0x2d4393(0x431)][_0x23bdfa])['find'](_0x1b8b6b))==null?void 0x0:_0xdec314['id'])==null?'':_0x1d1bb2;}function _0x1b470a(_0x16afd1,_0x5b2240){const _0x3ecd3a=_0x3e73b2;var _0x2daf14;return(_0x2daf14=_0x16afd1['fieldOrder'][_0x3ecd3a(0x2ea)](_0x227fa0=>_0x16afd1[_0x3ecd3a(0x431)][_0x227fa0])[_0x3ecd3a(0x39b)](_0x49a18e=>_0x1b8b6b(_0x49a18e)&&_0x49a18e['id']!==_0x5b2240))==null?void 0x0:_0x2daf14['id'];}function _0x1b8b6b(_0x4ef5dc){const _0x42c717=_0x3e73b2;return!!_0x4ef5dc&&_0x4ef5dc[_0x42c717(0x357)]===_0x40477b[_0x42c717(0x3dc)][_0x42c717(0x48b)]&&_0x4ef5dc[_0x42c717(0x203)]!==!0x0&&_0x4ef5dc[_0x42c717(0x3fd)]!==!0x0;}let _0x18e4af=(0x0,_0x40477b[_0x3e73b2(0x406)])('base.projection.service'),_0x27238c=new Set([_0x40477b['BaseFieldType']['Number'],_0x40477b['BaseFieldType'][_0x3e73b2(0x200)],_0x40477b[_0x3e73b2(0x3dc)][_0x3e73b2(0x24c)],_0x40477b[_0x3e73b2(0x3dc)][_0x3e73b2(0x4a4)],_0x40477b[_0x3e73b2(0x3dc)]['Date'],_0x40477b[_0x3e73b2(0x3dc)][_0x3e73b2(0x275)],_0x40477b[_0x3e73b2(0x3dc)]['UpdatedAt'],_0x40477b[_0x3e73b2(0x3dc)]['Checkbox']]),_0x14fa04=class extends _0x40477b[_0x3e73b2(0x4e6)]{constructor(_0x51bbfd){const _0x2c5aeb=_0x3e73b2;super(),this[_0x2c5aeb(0x412)]=_0x51bbfd,_0x5b59f9(this,_0x2c5aeb(0x351),new Map()),_0x5b59f9(this,'_projectionCache',new WeakMap()),_0x5b59f9(this,_0x2c5aeb(0x219),new Map()),_0x5b59f9(this,'_projectedViewRowsCache',new Map()),_0x5b59f9(this,_0x2c5aeb(0x31c),new Map()),_0x5b59f9(this,_0x2c5aeb(0x30a),0x0),_0x5b59f9(this,_0x2c5aeb(0x3ce),new Map()),_0x5b59f9(this,_0x2c5aeb(0x23a),new Map()),_0x5b59f9(this,_0x2c5aeb(0x303),new Map()),_0x5b59f9(this,_0x2c5aeb(0x407),new Map());}[_0x3e73b2(0x4d0)](_0x29a60f){const _0x43fbef=_0x3e73b2;return this['_views'][_0x43fbef(0x368)](_0x29a60f[_0x43fbef(0x357)],_0x29a60f),(0x0,_0x40477b[_0x43fbef(0x237)])(()=>this[_0x43fbef(0x351)][_0x43fbef(0x2e7)](_0x29a60f[_0x43fbef(0x357)]));}['getProjection'](_0x268c97,_0x56ca14,_0x8f72ad){const _0x473eae=_0x3e73b2;var _0x1adab5,_0x5cf919,_0x462fbb,_0x5a201e,_0x613dbf;return _0x3c2c6f(_0x473eae(0x4dd),()=>{const _0x5ba2da=_0x473eae;let _0x1f7160=this[_0x5ba2da(0x25d)](_0x268c97,_0x56ca14,_0x8f72ad);if(_0x1f7160)return _0x1f7160;let _0x110f34=_0x268c97[_0x5ba2da(0x4be)][_0x56ca14],_0x4df7e5=_0x110f34==null?void 0x0:_0x110f34[_0x5ba2da(0x2f4)][_0x8f72ad];if(!_0x110f34||!_0x4df7e5){var _0x2ae375;return this[_0x5ba2da(0x4d6)](_0x268c97,_0x56ca14,_0x8f72ad,{'type':_0x5ba2da(0x2c0),'viewType':(_0x2ae375=_0x4df7e5==null?void 0x0:_0x4df7e5[_0x5ba2da(0x357)])==null?_0x40477b['BaseViewType']['Grid']:_0x2ae375,'reason':_0x5ba2da(0x4cb)});}let _0xd0dd7e;switch(_0x4df7e5[_0x5ba2da(0x357)]){case _0x40477b[_0x5ba2da(0x49b)][_0x5ba2da(0x2f9)]:_0xd0dd7e=this[_0x5ba2da(0x3ad)](_0x110f34,_0x4df7e5);break;case _0x40477b[_0x5ba2da(0x49b)][_0x5ba2da(0x483)]:_0xd0dd7e=this[_0x5ba2da(0x2ee)](_0x110f34,_0x4df7e5);break;case _0x40477b[_0x5ba2da(0x49b)][_0x5ba2da(0x43f)]:_0xd0dd7e=this[_0x5ba2da(0x3da)](_0x110f34,_0x4df7e5);break;case _0x40477b[_0x5ba2da(0x49b)][_0x5ba2da(0x462)]:_0xd0dd7e=this[_0x5ba2da(0x409)](_0x110f34,_0x4df7e5);break;case _0x40477b[_0x5ba2da(0x49b)]['Gallery']:_0xd0dd7e=this[_0x5ba2da(0x1e9)](_0x110f34,_0x4df7e5);break;default:_0xd0dd7e={'type':_0x5ba2da(0x2c0),'viewType':_0x4df7e5[_0x5ba2da(0x357)],'reason':_0x5ba2da(0x4cb)};}return this[_0x5ba2da(0x4d6)](_0x268c97,_0x56ca14,_0x8f72ad,_0xd0dd7e);},{'tableId':_0x56ca14,'viewId':_0x8f72ad,'viewType':(_0x1adab5=_0x268c97[_0x473eae(0x4be)][_0x56ca14])==null||(_0x1adab5=_0x1adab5[_0x473eae(0x2f4)][_0x8f72ad])==null?void 0x0:_0x1adab5[_0x473eae(0x357)],'records':(_0x5cf919=(_0x462fbb=_0x268c97[_0x473eae(0x4be)][_0x56ca14])==null||(_0x462fbb=_0x462fbb['recordOrder'])==null?void 0x0:_0x462fbb[_0x473eae(0x49a)])==null?Object[_0x473eae(0x4f5)]((_0x5a201e=(_0x613dbf=_0x268c97[_0x473eae(0x4be)][_0x56ca14])==null?void 0x0:_0x613dbf[_0x473eae(0x464)])==null?{}:_0x5a201e)['length']:_0x5cf919});}['repairViewConfig'](_0x9900c0,_0x26c921,_0x504427){const _0x4502f6=_0x3e73b2;var _0x4cef6a,_0x19b0a2,_0x58168a,_0x5dd41c;let _0x476c03=_0x9900c0[_0x4502f6(0x4be)][_0x26c921],_0x2dfef5=_0x476c03==null?void 0x0:_0x476c03[_0x4502f6(0x2f4)][_0x504427];if(!_0x476c03||!_0x2dfef5)throw Error(_0x4502f6(0x3d1)+_0x504427+'\x22.');let _0x3687a5=_0x165ea5=>!!_0x476c03['fields'][_0x165ea5],_0x2a3d21={..._0x2dfef5,'filter':_0x2dfef5[_0x4502f6(0x3f6)]?{..._0x2dfef5[_0x4502f6(0x3f6)],'conditions':_0x2dfef5[_0x4502f6(0x3f6)][_0x4502f6(0x4e1)]['filter'](_0x219b24=>_0x3687a5(_0x219b24[_0x4502f6(0x44a)]))}:_0x2dfef5[_0x4502f6(0x3f6)],'sort':(_0x4cef6a=_0x2dfef5[_0x4502f6(0x225)])==null?void 0x0:_0x4cef6a[_0x4502f6(0x3f6)](_0xd63330=>_0x3687a5(_0xd63330[_0x4502f6(0x44a)])),'group':(_0x19b0a2=_0x2dfef5[_0x4502f6(0x513)])==null?void 0x0:_0x19b0a2[_0x4502f6(0x3f6)](_0x82cb34=>_0x3687a5(_0x82cb34[_0x4502f6(0x44a)])),'fieldOrder':(_0x58168a=_0x2dfef5[_0x4502f6(0x373)])==null?void 0x0:_0x58168a['filter'](_0x3687a5),'fieldSettings':Object[_0x4502f6(0x305)](Object[_0x4502f6(0x244)]((_0x5dd41c=_0x2dfef5[_0x4502f6(0x39a)])==null?{}:_0x5dd41c)['filter'](([_0x1d58ef])=>_0x3687a5(_0x1d58ef)))};if(_0x2a3d21[_0x4502f6(0x357)]===_0x4502f6(0x32a)){var _0x1b5c2b,_0x53b4c3,_0x1922f6,_0x5365fc;let _0x3a27ce=(_0x1b5c2b=_0x2a3d21[_0x4502f6(0x4c3)])==null?{}:_0x1b5c2b,_0x3a17f8=this[_0x4502f6(0x30e)](_0x476c03,_0x2a3d21);_0x2a3d21['config']={..._0x3a27ce,'groupFieldId':_0x3a17f8==null?_0x3a27ce[_0x4502f6(0x3fa)]:_0x3a17f8,'coverFieldId':this[_0x4502f6(0x25f)](_0x476c03,_0x3a27ce),'cardLayout':_0x3a27ce[_0x4502f6(0x4a2)]===_0x4502f6(0x253)?_0x4502f6(0x253):'normal','showFieldNames':_0x3a27ce[_0x4502f6(0x268)]!==!0x1,'fieldSettings':Object[_0x4502f6(0x305)](Object[_0x4502f6(0x244)]((_0x53b4c3=_0x3a27ce['fieldSettings'])==null?{}:_0x53b4c3)[_0x4502f6(0x3f6)](([_0x567aef])=>_0x3687a5(_0x567aef))),'columnSettings':(_0x1922f6=_0x3a27ce[_0x4502f6(0x2c7)])==null?{}:_0x1922f6,'card':{...(_0x5365fc=_0x3a27ce[_0x4502f6(0x20c)])==null?{}:_0x5365fc,'fieldIds':this[_0x4502f6(0x355)](_0x476c03,_0x2a3d21,_0x3a17f8==null?'':_0x3a17f8)}};}return{'repaired':JSON['stringify'](_0x2a3d21)!==JSON['stringify'](_0x2dfef5),'view':_0x2a3d21};}[_0x3e73b2(0x4de)](){const _0x2d98a5=_0x3e73b2;this[_0x2d98a5(0x30a)]++;}[_0x3e73b2(0x42d)](_0xcf885a,_0x508fe9,_0x17b7a6){const _0x33c8dc=_0x3e73b2;var _0x539eff;let _0x4389d9=this[_0x33c8dc(0x1fd)](_0xcf885a)+0x1;this[_0x33c8dc(0x23a)][_0x33c8dc(0x368)](_0xcf885a,_0x4389d9);let _0x332ad9=(_0x539eff=this[_0x33c8dc(0x303)][_0x33c8dc(0x20f)](_0xcf885a))==null?[]:_0x539eff;_0x332ad9['push']({'revision':_0x4389d9,'recordId':_0x508fe9,'fieldId':_0x17b7a6}),this[_0x33c8dc(0x303)][_0x33c8dc(0x368)](_0xcf885a,_0x332ad9);}['invalidateByField'](_0x59d47b,_0x3cf041){const _0x4b7731=_0x3e73b2;this[_0x4b7731(0x33a)](_0x59d47b);}[_0x3e73b2(0x3df)](_0x4715fa,_0x560e9a){const _0x597d6a=_0x3e73b2;this[_0x597d6a(0x407)][_0x597d6a(0x368)](this[_0x597d6a(0x266)](_0x4715fa,_0x560e9a),this[_0x597d6a(0x33f)](_0x4715fa,_0x560e9a)+0x1);}[_0x3e73b2(0x25d)](_0x37d81c,_0x46c128,_0x46e8e0){const _0x4926ef=_0x3e73b2;var _0x46bbae;let _0x469a97=(_0x46bbae=this[_0x4926ef(0x3f1)]['get'](_0x37d81c))==null?void 0x0:_0x46bbae['get'](this['_cacheKey'](_0x46c128,_0x46e8e0));return _0x469a97&&_0x469a97[_0x4926ef(0x4e8)]===this[_0x4926ef(0x30a)]&&_0x469a97['tableRevision']===this[_0x4926ef(0x4ea)](_0x46c128)&&_0x469a97[_0x4926ef(0x230)]===this['_getCellRevision'](_0x46c128)&&_0x469a97[_0x4926ef(0x3ee)]===this[_0x4926ef(0x33f)](_0x46c128,_0x46e8e0)?_0x469a97[_0x4926ef(0x30d)]:null;}[_0x3e73b2(0x4d6)](_0x1fac4c,_0x4f1f7c,_0x507752,_0x2301cb){const _0x3270ef=_0x3e73b2;let _0x160636=this[_0x3270ef(0x3f1)][_0x3270ef(0x20f)](_0x1fac4c);return _0x160636||(_0x160636=new Map(),this['_projectionCache'][_0x3270ef(0x368)](_0x1fac4c,_0x160636)),_0x160636[_0x3270ef(0x368)](this[_0x3270ef(0x47f)](_0x4f1f7c,_0x507752),{'projection':_0x2301cb,'globalRevision':this[_0x3270ef(0x30a)],'tableRevision':this['_getTableRevision'](_0x4f1f7c),'cellRevision':this[_0x3270ef(0x1fd)](_0x4f1f7c),'viewRevision':this[_0x3270ef(0x33f)](_0x4f1f7c,_0x507752)}),_0x2301cb;}['_bumpTableRevision'](_0x244dfe){const _0x52a354=_0x3e73b2;this[_0x52a354(0x3ce)][_0x52a354(0x368)](_0x244dfe,this['_getTableRevision'](_0x244dfe)+0x1);}[_0x3e73b2(0x4ea)](_0x278ed1){const _0x45eeec=_0x3e73b2;var _0x15fa14;return(_0x15fa14=this[_0x45eeec(0x3ce)][_0x45eeec(0x20f)](_0x278ed1))==null?0x0:_0x15fa14;}[_0x3e73b2(0x1fd)](_0x33a556){const _0x3fbb6b=_0x3e73b2;var _0x22366c;return(_0x22366c=this[_0x3fbb6b(0x23a)][_0x3fbb6b(0x20f)](_0x33a556))==null?0x0:_0x22366c;}['_getViewRevision'](_0x5b8293,_0x4a7dc1){const _0x39821b=_0x3e73b2;var _0x14c15c;return(_0x14c15c=this[_0x39821b(0x407)][_0x39821b(0x20f)](this[_0x39821b(0x266)](_0x5b8293,_0x4a7dc1)))==null?0x0:_0x14c15c;}[_0x3e73b2(0x47f)](_0x57a3c1,_0x4c981f){return _0x57a3c1+'\x00'+_0x4c981f;}[_0x3e73b2(0x40f)](_0x45a1d3,_0x1cdc54){const _0x382c9f=_0x3e73b2;return _0x45a1d3+'\x00'+this[_0x382c9f(0x1e4)](_0x1cdc54);}[_0x3e73b2(0x2c3)](_0x554b8e,_0xafb04,_0x250e7f){const _0x5e20a9=_0x3e73b2;return _0x554b8e+'\x00'+this[_0x5e20a9(0x1e4)](_0xafb04)+'\x00'+this['_groupConfigCacheSegment'](_0x250e7f);}[_0x3e73b2(0x1e4)](_0x622702){const _0x5933c0=_0x3e73b2;return _0x622702?_0x286e72({'filter':_0x32d86a(_0x622702[_0x5933c0(0x3f6)]),'sort':_0x2fdda2(_0x622702[_0x5933c0(0x225)])}):'__all__';}[_0x3e73b2(0x4c2)](_0x1d6603){const _0x2cc7c7=_0x3e73b2;return _0x286e72(_0x1d6603[_0x2cc7c7(0x2ea)](_0x72501d=>{const _0x3c941a=_0x2cc7c7;var _0x40ffe7;return{'fieldId':_0x72501d['fieldId'],'direction':(_0x40ffe7=_0x72501d[_0x3c941a(0x242)])==null?null:_0x40ffe7};}));}[_0x3e73b2(0x266)](_0x5e61e2,_0x2b26a1){return _0x5e61e2+'\x00'+_0x2b26a1;}[_0x3e73b2(0x3ad)](_0x46f3e4,_0x539a66){const _0xe8f686=_0x3e73b2;let _0x116c06=this[_0xe8f686(0x3a7)](_0x46f3e4,_0x539a66);return{'type':_0x40477b[_0xe8f686(0x49b)]['Grid'],'fields':this[_0xe8f686(0x3fe)](_0x46f3e4,_0x539a66),'rows':_0x116c06,'groups':this[_0xe8f686(0x32e)](_0x46f3e4,_0x539a66,_0x116c06),'frozenFieldCount':typeof _0x539a66['config'][_0xe8f686(0x3c4)]=='number'?_0x539a66['config'][_0xe8f686(0x3c4)]:0x0};}[_0x3e73b2(0x3da)](_0xf37cca,_0x417fa1){const _0xfd3b25=_0x3e73b2;var _0x1b9b7d;let _0x154ae5=this['_resolveKanbanGroupFieldId'](_0xf37cca,_0x417fa1),_0x19f90d=_0x154ae5?_0xf37cca[_0xfd3b25(0x431)][_0x154ae5]:void 0x0;if(!_0x19f90d)return{'type':_0xfd3b25(0x2c0),'viewType':_0x40477b[_0xfd3b25(0x49b)][_0xfd3b25(0x43f)],'reason':_0xfd3b25(0x45a),'fieldId':_0x417fa1[_0xfd3b25(0x4c3)]['groupFieldId']};let _0x45d5e6=this[_0xfd3b25(0x3a7)](_0xf37cca,_0x417fa1),_0x5cfbad=this[_0xfd3b25(0x3fe)](_0xf37cca,_0x417fa1),_0x28fdd6=(_0x1b9b7d=_0x417fa1[_0xfd3b25(0x4c3)])==null?{}:_0x1b9b7d,_0x28bde4=this['_resolveKanbanCardFieldIds'](_0xf37cca,_0x417fa1,_0x19f90d['id']),_0x59a0a6=new Map();return this['_getKanbanConfiguredLanes'](_0x19f90d,_0x28fdd6)[_0xfd3b25(0x23d)](_0x550b30=>_0x59a0a6[_0xfd3b25(0x368)](_0x550b30[_0xfd3b25(0x2ca)],{..._0x550b30,'recordIds':[]})),_0x45d5e6[_0xfd3b25(0x23d)](_0x4c7553=>{const _0x350a01=_0xfd3b25;this['_kanbanGroupKeys'](_0x19f90d,_0x4c7553[_0x350a01(0x318)][_0x19f90d['id']])[_0x350a01(0x23d)](_0x2cafd4=>{const _0xf6aad9=_0x350a01;let _0x8c37f=_0x59a0a6[_0xf6aad9(0x20f)](_0x2cafd4),_0x51bad4=_0x8c37f==null?{'key':_0x2cafd4,'title':this[_0xf6aad9(0x378)](_0x19f90d,_0x2cafd4,_0x28fdd6),'color':this[_0xf6aad9(0x453)](_0x19f90d,_0x2cafd4,_0x28fdd6),'recordIds':[]}:_0x8c37f;_0x51bad4[_0xf6aad9(0x45f)][_0xf6aad9(0x36f)](_0x4c7553[_0xf6aad9(0x3c7)]),_0x59a0a6[_0xf6aad9(0x368)](_0x2cafd4,_0x51bad4);});}),{'type':_0x40477b[_0xfd3b25(0x49b)][_0xfd3b25(0x43f)],'fields':_0x5cfbad,'rows':_0x45d5e6,'groups':this[_0xfd3b25(0x32e)](_0xf37cca,_0x417fa1,_0x45d5e6),'groupFieldId':_0x19f90d['id'],'coverFieldId':this[_0xfd3b25(0x25f)](_0xf37cca,_0x28fdd6),'cardLayout':_0x28fdd6[_0xfd3b25(0x4a2)]===_0xfd3b25(0x253)?_0xfd3b25(0x253):_0xfd3b25(0x2a1),'showFieldNames':_0x28fdd6[_0xfd3b25(0x268)]!==!0x1,'visibleCardFieldIds':_0x28bde4,'lanes':Array['from'](_0x59a0a6[_0xfd3b25(0x318)]())};}[_0x3e73b2(0x30e)](_0x3637dd,_0x3bdfbf){const _0x55f428=_0x3e73b2;var _0x2cb5b5;let _0x8fa98e=(_0x2cb5b5=_0x3bdfbf[_0x55f428(0x4c3)])==null?void 0x0:_0x2cb5b5[_0x55f428(0x3fa)];return _0x8fa98e&&this['_isKanbanGroupField'](_0x3637dd,_0x8fa98e)?_0x8fa98e:this[_0x55f428(0x512)](_0x3637dd,_0x269ef9=>this[_0x55f428(0x34d)](_0x269ef9));}[_0x3e73b2(0x512)](_0x2c9e71,_0x2317d6){const _0xad51e5=_0x3e73b2;for(let _0x1c69fe of _0x2c9e71[_0xad51e5(0x373)]){let _0x101cec=_0x2c9e71['fields'][_0x1c69fe];if(_0x101cec&&_0x2317d6(_0x101cec))return _0x101cec['id'];}return null;}[_0x3e73b2(0x218)](_0x3beb18,_0x104e38){const _0x169d26=_0x3e73b2;let _0x11a867=_0x3beb18[_0x169d26(0x431)][_0x104e38];return this[_0x169d26(0x34d)](_0x11a867);}[_0x3e73b2(0x34d)](_0x126122){const _0x435658=_0x3e73b2;return!!_0x126122&&(_0x126122['type']===_0x40477b[_0x435658(0x3dc)][_0x435658(0x2e5)]||_0x126122[_0x435658(0x357)]===_0x40477b[_0x435658(0x3dc)][_0x435658(0x2e1)]||_0x126122[_0x435658(0x357)]===_0x40477b[_0x435658(0x3dc)]['Rating']||_0x126122[_0x435658(0x357)]===_0x40477b[_0x435658(0x3dc)]['Person']||_0x126122[_0x435658(0x357)]===_0x40477b['BaseFieldType'][_0x435658(0x392)]||_0x126122[_0x435658(0x357)]===_0x40477b[_0x435658(0x3dc)][_0x435658(0x22e)]);}[_0x3e73b2(0x383)](_0x376880){const _0xa878ad=_0x3e73b2;return _0x376880[_0xa878ad(0x357)]===_0x40477b['BaseFieldType'][_0xa878ad(0x2e5)]||_0x376880[_0xa878ad(0x357)]===_0x40477b['BaseFieldType'][_0xa878ad(0x2e1)];}[_0x3e73b2(0x25f)](_0x564702,_0x1ed6f3){const _0x285087=_0x3e73b2;var _0x1ab2ce,_0x2be0f1,_0x35c335;let _0x5b000c=(_0x1ab2ce=(_0x2be0f1=_0x1ed6f3[_0x285087(0x2bd)])==null?(_0x35c335=_0x1ed6f3[_0x285087(0x20c)])==null?void 0x0:_0x35c335['coverFieldId']:_0x2be0f1)==null?null:_0x1ab2ce;if(!_0x5b000c)return null;let _0x18bdb3=_0x564702['fields'][_0x5b000c];return _0x18bdb3&&this[_0x285087(0x3fc)](_0x18bdb3)[_0x285087(0x360)]?_0x18bdb3['id']:null;}[_0x3e73b2(0x355)](_0x22eb17,_0x536623,_0x3b7bd8){const _0x9ad554=_0x3e73b2;var _0x2d545e,_0x2fa6c9,_0x40a933;let _0x2ebe6c=(_0x2d545e=_0x536623['config'])==null?{}:_0x2d545e,_0x30efcc=!((_0x2fa6c9=_0x2ebe6c[_0x9ad554(0x20c)])==null||(_0x2fa6c9=_0x2fa6c9[_0x9ad554(0x472)])==null)&&_0x2fa6c9['length']?_0x2ebe6c['card'][_0x9ad554(0x472)]:_0x1f62e1(_0x22eb17,[_0x22eb17[_0x9ad554(0x43d)],_0x3b7bd8]),_0x36124e=(_0x40a933=_0x2ebe6c[_0x9ad554(0x39a)])==null?{}:_0x40a933;return _0x30efcc['filter'](_0x21d0b5=>{const _0x29c50d=_0x9ad554;var _0x596897,_0x4327b1;let _0x3dd178=_0x22eb17[_0x29c50d(0x431)][_0x21d0b5];return!(!_0x3dd178||_0x3dd178['id']===_0x3b7bd8||!((_0x596897=_0x536623[_0x29c50d(0x39a)])==null||(_0x596897=_0x596897[_0x21d0b5])==null)&&_0x596897['hidden']||(_0x4327b1=_0x36124e[_0x21d0b5])!=null&&_0x4327b1['hidden']);})[_0x9ad554(0x225)]((_0x3fb7ec,_0x3340af)=>{const _0xbebdb7=_0x9ad554;var _0x59547c,_0x2faff0,_0x44c665,_0xbc4ee3;return((_0x59547c=(_0x2faff0=_0x36124e[_0x3fb7ec])==null?void 0x0:_0x2faff0['order'])==null?_0x30efcc[_0xbebdb7(0x3f5)](_0x3fb7ec):_0x59547c)-((_0x44c665=(_0xbc4ee3=_0x36124e[_0x3340af])==null?void 0x0:_0xbc4ee3['order'])==null?_0x30efcc[_0xbebdb7(0x3f5)](_0x3340af):_0x44c665);});}['_getKanbanConfiguredLanes'](_0x494349,_0x16cb5d){const _0x27c32f=_0x3e73b2;var _0xbd670c,_0x2408ff;let _0x4ad19d=(Array['isArray']((_0xbd670c=_0x494349[_0x27c32f(0x4c3)])==null?void 0x0:_0xbd670c[_0x27c32f(0x518)])?_0x494349['config'][_0x27c32f(0x518)]:[])[_0x27c32f(0x371)]((_0x374d50,_0x52cb61)=>{const _0x302305=_0x27c32f;var _0x20ba26,_0x5efffb,_0x272656,_0x1aaf69;if(_0x374d50==null)return[];let _0x494a9f=typeof _0x374d50==_0x302305(0x394)?{'id':_0x374d50,'name':_0x374d50,'color':void 0x0}:_0x374d50,_0x270c64=String((_0x20ba26=(_0x5efffb=_0x494a9f['id'])==null?_0x494a9f[_0x302305(0x33c)]:_0x5efffb)==null?_0x302305(0x2eb)+(_0x52cb61+0x1):_0x20ba26);return[{'key':_0x270c64,'title':String((_0x272656=(_0x1aaf69=_0x494a9f[_0x302305(0x33c)])==null?_0x494a9f['id']:_0x1aaf69)==null?_0x270c64:_0x272656),'color':this[_0x302305(0x453)](_0x494349,_0x270c64,_0x16cb5d)}];});return Object[_0x27c32f(0x244)]((_0x2408ff=_0x16cb5d[_0x27c32f(0x2c7)])==null?{}:_0x2408ff)[_0x27c32f(0x23d)](([_0x2a669d,_0x3164b0])=>{const _0x5db259=_0x27c32f;var _0x4af29b;_0x4ad19d[_0x5db259(0x2f1)](_0x352614=>_0x352614[_0x5db259(0x2ca)]===_0x2a669d)||_0x4ad19d[_0x5db259(0x36f)]({'key':_0x2a669d,'title':this[_0x5db259(0x383)](_0x494349)?(_0x4af29b=_0x3164b0[_0x5db259(0x2f7)])==null?this['_kanbanLaneTitle'](_0x494349,_0x2a669d,_0x16cb5d):_0x4af29b:this[_0x5db259(0x378)](_0x494349,_0x2a669d,_0x16cb5d),'color':this['_kanbanLaneColor'](_0x494349,_0x2a669d,_0x16cb5d)});}),_0x4ad19d;}[_0x3e73b2(0x281)](_0xd24dce,_0x30e9a9){const _0x15b119=_0x3e73b2;let _0x4ca5ea=_0x1cc9a3=>{const _0x48c80c=_0x1d63;var _0xde3255,_0x42abd6;let _0x58ef14=_0x1cc9a3==null?'':String(_0x1cc9a3);return!_0x58ef14||!this[_0x48c80c(0x383)](_0xd24dce)||(_0xde3255=(_0x42abd6=_0x12a7cf(_0xd24dce,_0x58ef14))==null?void 0x0:_0x42abd6['id'])==null?_0x58ef14:_0xde3255;};if(Array[_0x15b119(0x21e)](_0x30e9a9)){let _0x11c934=_0x30e9a9[_0x15b119(0x2ea)](_0x4ca5ea)[_0x15b119(0x3f6)](_0x50aee8=>_0x50aee8!=='');return _0x11c934['length']?_0x11c934:[''];}return[_0x4ca5ea(_0x30e9a9)];}[_0x3e73b2(0x378)](_0x423c88,_0x182aa3,_0x9dbd8a){const _0x27e481=_0x3e73b2;var _0x545b29;if(!_0x182aa3)return'Uncategorized';let _0x13dd39=_0x12a7cf(_0x423c88,_0x182aa3);return(_0x545b29=_0x13dd39==null?void 0x0:_0x13dd39[_0x27e481(0x33c)])==null?_0x182aa3:_0x545b29;}[_0x3e73b2(0x453)](_0x949900,_0x941b48,_0xe780ca){const _0x4752a9=_0x3e73b2;var _0x5dcb87;if(this['_isColorfulKanbanGroupField'](_0x949900))return(_0x5dcb87=_0x12a7cf(_0x949900,_0x941b48))==null?void 0x0:_0x5dcb87[_0x4752a9(0x41c)];}[_0x3e73b2(0x409)](_0x16cc47,_0x4193a2){const _0x2ba70f=_0x3e73b2;var _0x497de8;let _0x1f56a5=this['_normalizeCalendarConfig'](_0x16cc47,(_0x497de8=_0x4193a2[_0x2ba70f(0x4c3)])==null?{}:_0x497de8),_0x3a648a=_0x16cc47[_0x2ba70f(0x431)][_0x1f56a5['startDateFieldId']];if(!_0x3a648a||_0x3a648a[_0x2ba70f(0x357)]!==_0x40477b[_0x2ba70f(0x3dc)][_0x2ba70f(0x48b)]||_0x3a648a[_0x2ba70f(0x203)]===!0x0||_0x3a648a[_0x2ba70f(0x3fd)]===!0x0||!this[_0x2ba70f(0x3fc)](_0x3a648a)[_0x2ba70f(0x325)])return{'type':_0x2ba70f(0x2c0),'viewType':_0x40477b['BaseViewType'][_0x2ba70f(0x462)],'reason':_0x2ba70f(0x234),'fieldId':_0x1f56a5[_0x2ba70f(0x312)]};let _0x19986c=_0x1f56a5['endDateFieldId']?_0x16cc47[_0x2ba70f(0x431)][_0x1f56a5['endDateFieldId']]:void 0x0,_0x597690=this[_0x2ba70f(0x3a7)](_0x16cc47,_0x4193a2);return{'type':_0x40477b['BaseViewType'][_0x2ba70f(0x462)],'config':_0x1f56a5,'fields':this[_0x2ba70f(0x3fe)](_0x16cc47,_0x4193a2),'rows':_0x597690,'groups':this[_0x2ba70f(0x32e)](_0x16cc47,_0x4193a2,_0x597690),'events':_0x597690[_0x2ba70f(0x371)](_0x192b25=>{const _0x13e5ad=_0x2ba70f;let _0x35690e=_0xfb8107(_0x192b25[_0x13e5ad(0x318)][_0x1f56a5[_0x13e5ad(0x312)]]);if(!Number['isFinite'](_0x35690e))return[];let _0x56b847=_0x192b25[_0x13e5ad(0x318)][_0x1f56a5[_0x13e5ad(0x312)]],_0x404a0a=_0x1f56a5[_0x13e5ad(0x1fe)]==null?void 0x0:_0x192b25['values'][_0x1f56a5[_0x13e5ad(0x1fe)]],_0x42e747=_0x1f56a5['endDateFieldId']==null?void 0x0:_0xfb8107(_0x404a0a),_0xc617c6=Number['isFinite'](_0x42e747)?_0x42e747:void 0x0;return[{'recordId':_0x192b25[_0x13e5ad(0x3c7)],'title':this['_title'](_0x16cc47,_0x192b25,_0x1f56a5['titleFieldId']),'start':_0x35690e,'end':_0xc617c6,'color':this['_calendarEventColor'](_0x16cc47,_0x192b25,_0x1f56a5),'startMs':_0x35690e,'endMs':_0xc617c6,'allDay':this[_0x13e5ad(0x507)](_0x3a648a,_0x19986c,_0x56b847,_0x404a0a),'fieldValues':_0x192b25[_0x13e5ad(0x318)]}];})};}[_0x3e73b2(0x2e8)](_0x4bbd96,_0x349401){const _0x5817a7=_0x3e73b2;var _0xc23b93,_0x3072c4;let _0x28e355=this[_0x5817a7(0x4d8)](_0x4bbd96,_0x349401[_0x5817a7(0x312)]),_0x570dc2=_0x349401[_0x5817a7(0x1fe)]&&this['_isCalendarDateField'](_0x4bbd96,_0x349401[_0x5817a7(0x1fe)])?_0x349401[_0x5817a7(0x1fe)]:(_0xc23b93=this[_0x5817a7(0x4f7)](_0x4bbd96,_0x28e355))==null?void 0x0:_0xc23b93,_0x4d1d53=_0x349401[_0x5817a7(0x4ff)]&&_0x4bbd96[_0x5817a7(0x431)][_0x349401['titleFieldId']]?_0x349401[_0x5817a7(0x4ff)]:_0x4bbd96[_0x5817a7(0x43d)],_0xf46487=_0x349401[_0x5817a7(0x417)]===_0x5817a7(0x271)||_0x349401[_0x5817a7(0x417)]===_0x5817a7(0x352)?_0x349401['mode']:_0x5817a7(0x3d3),_0x15bace=_0x349401['timeslotSize']===_0x5817a7(0x3f4)||_0x349401[_0x5817a7(0x44f)]===_0x5817a7(0x391)?_0x349401['timeslotSize']:_0x5817a7(0x504),_0x24aba6=typeof _0x349401[_0x5817a7(0x3a6)]==_0x5817a7(0x394)&&_0x349401['timeZone'][_0x5817a7(0x3bb)]()?_0x349401['timeZone']:_0x5817a7(0x3de),_0x510ae9=this[_0x5817a7(0x436)](_0x4bbd96,_0x349401);return{..._0x349401,'startDateFieldId':_0x28e355,'endDateFieldId':_0x570dc2,'titleFieldId':_0x4d1d53,'mode':_0xf46487,'timeslotSize':_0x15bace,'timeZone':_0x24aba6,'displayColor':_0x510ae9,'fieldSettings':Object[_0x5817a7(0x305)](Object[_0x5817a7(0x244)]((_0x3072c4=_0x349401[_0x5817a7(0x39a)])==null?{}:_0x3072c4)[_0x5817a7(0x3f6)](([_0x374170])=>!!_0x4bbd96[_0x5817a7(0x431)][_0x374170]))};}['_resolveCalendarDateFieldId'](_0x540562,_0x202cb4){const _0x454162=_0x3e73b2;var _0x4b5913,_0x15f761;return _0x202cb4&&this['_isCalendarDateField'](_0x540562,_0x202cb4)?_0x202cb4:(_0x4b5913=(_0x15f761=this[_0x454162(0x4f7)](_0x540562))==null?_0x202cb4:_0x15f761)==null?'':_0x4b5913;}[_0x3e73b2(0x4f7)](_0x503fa0,_0x33c57b){const _0x27f821=_0x3e73b2;for(let _0xc7d98a of _0x503fa0[_0x27f821(0x373)])if(_0xc7d98a!==_0x33c57b&&this[_0x27f821(0x43c)](_0x503fa0,_0xc7d98a))return _0xc7d98a;return null;}[_0x3e73b2(0x43c)](_0x5e7e04,_0x459dee){const _0x5270c8=_0x3e73b2;let _0xef06b1=_0x5e7e04[_0x5270c8(0x431)][_0x459dee];return!!_0xef06b1&&_0xef06b1['type']===_0x40477b['BaseFieldType'][_0x5270c8(0x48b)]&&_0xef06b1[_0x5270c8(0x203)]!==!0x0&&_0xef06b1['system']!==!0x0&&this['_capabilities'](_0xef06b1)[_0x5270c8(0x325)];}[_0x3e73b2(0x436)](_0x4ee06f,_0x397e31){const _0x83a95c=_0x3e73b2;let _0x5e3340=_0x397e31['displayColor'];if((_0x5e3340==null?void 0x0:_0x5e3340[_0x83a95c(0x357)])==='selectField'){let _0xcccc46=_0x4ee06f[_0x83a95c(0x431)][_0x5e3340['fieldId']];if(_0xcccc46&&_0xcccc46[_0x83a95c(0x357)]===_0x40477b[_0x83a95c(0x3dc)][_0x83a95c(0x2e5)])return _0x5e3340;}if((_0x5e3340==null?void 0x0:_0x5e3340['type'])===_0x83a95c(0x21a)&&typeof _0x5e3340[_0x83a95c(0x41c)]=='string'&&_0x5e3340[_0x83a95c(0x41c)][_0x83a95c(0x3bb)]())return{'type':_0x83a95c(0x21a),'color':_0x5e3340[_0x83a95c(0x41c)]};if(_0x397e31[_0x83a95c(0x315)]){let _0x160689=_0x4ee06f[_0x83a95c(0x431)][_0x397e31[_0x83a95c(0x315)]];if(_0x160689&&_0x160689[_0x83a95c(0x357)]===_0x40477b[_0x83a95c(0x3dc)]['SingleSelect'])return{'type':_0x83a95c(0x2d5),'fieldId':_0x397e31[_0x83a95c(0x315)]};}return{'type':_0x83a95c(0x21a),'color':'#3b82f6'};}[_0x3e73b2(0x4f8)](_0x1b3908,_0x374863,_0x37537d){const _0x5aaa48=_0x3e73b2;let _0x16d114=_0x37537d[_0x5aaa48(0x2df)];if((_0x16d114==null?void 0x0:_0x16d114[_0x5aaa48(0x357)])==='selectField'){var _0x3aede1;let _0x5d03ab=_0x1b3908[_0x5aaa48(0x431)][_0x16d114['fieldId']];if(!_0x5d03ab)return;let _0x59ed4b=_0x374863[_0x5aaa48(0x318)][_0x16d114['fieldId']],_0x385a78=Array[_0x5aaa48(0x21e)](_0x59ed4b)?_0x59ed4b[0x0]:_0x59ed4b;return _0x385a78==null||(_0x3aede1=_0x12a7cf(_0x5d03ab,String(_0x385a78)))==null?void 0x0:_0x3aede1[_0x5aaa48(0x41c)];}if((_0x16d114==null?void 0x0:_0x16d114[_0x5aaa48(0x357)])==='custom')return _0x16d114[_0x5aaa48(0x41c)];}['_isAllDayCalendarEvent'](_0x48e0c8,_0x4328a9,_0x508bc3,_0x447c71){const _0x2ea8f9=_0x3e73b2;var _0x41d9a2,_0x44a433;let _0x5bd286=((_0x41d9a2=_0x48e0c8[_0x2ea8f9(0x4c3)])==null?void 0x0:_0x41d9a2[_0x2ea8f9(0x492)])===!0x0,_0x380649=(_0x4328a9==null||(_0x44a433=_0x4328a9['config'])==null?void 0x0:_0x44a433[_0x2ea8f9(0x492)])===!0x0;return!_0x5bd286&&!_0x380649;}[_0x3e73b2(0x27d)](_0x25780b,_0x38179a){const _0x23a841=_0x3e73b2;var _0xc34f0b,_0xd092d7;let _0x31abf0=((_0xc34f0b=_0x25780b['config'])==null?void 0x0:_0xc34f0b[_0x23a841(0x492)])===!0x0,_0x4b97fb=((_0xd092d7=_0x38179a[_0x23a841(0x4c3)])==null?void 0x0:_0xd092d7[_0x23a841(0x492)])===!0x0;return!_0x31abf0&&!_0x4b97fb;}[_0x3e73b2(0x2ee)](_0x258d4c,_0x3ecc42){const _0x24bf1a=_0x3e73b2;let _0x4ed900=this['_normalizeGanttConfig'](_0x258d4c,_0x3ecc42[_0x24bf1a(0x4c3)]),_0x2c10a7=_0x258d4c['fields'][_0x4ed900[_0x24bf1a(0x312)]];if(!_0x2c10a7||_0x2c10a7[_0x24bf1a(0x357)]!==_0x40477b[_0x24bf1a(0x3dc)]['Date']||_0x2c10a7[_0x24bf1a(0x203)]===!0x0||_0x2c10a7['system']===!0x0||!this[_0x24bf1a(0x3fc)](_0x2c10a7)['usableAsGanttStart'])return{'type':_0x24bf1a(0x2c0),'viewType':_0x40477b[_0x24bf1a(0x49b)][_0x24bf1a(0x483)],'reason':_0x24bf1a(0x4cf),'fieldId':_0x4ed900[_0x24bf1a(0x312)]};let _0x2be6c3=_0x258d4c[_0x24bf1a(0x431)][_0x4ed900[_0x24bf1a(0x1fe)]];if(!_0x2be6c3||_0x2be6c3[_0x24bf1a(0x357)]!==_0x40477b[_0x24bf1a(0x3dc)][_0x24bf1a(0x48b)]||_0x2be6c3[_0x24bf1a(0x203)]===!0x0||_0x2be6c3['system']===!0x0||!this[_0x24bf1a(0x3fc)](_0x2be6c3)[_0x24bf1a(0x1e8)])return{'type':_0x24bf1a(0x2c0),'viewType':_0x40477b[_0x24bf1a(0x49b)]['Gantt'],'reason':_0x24bf1a(0x2d8),'fieldId':_0x4ed900[_0x24bf1a(0x1fe)]};let _0x277a6b=this[_0x24bf1a(0x27d)](_0x2c10a7,_0x2be6c3),_0x48621e=this[_0x24bf1a(0x3a7)](_0x258d4c,_0x3ecc42),_0x7bfcf=_0x48621e[_0x24bf1a(0x371)](_0x2ead84=>{const _0x299dda=_0x24bf1a;var _0x38d7e5;let _0x37c72f=_0xfb8107(_0x2ead84[_0x299dda(0x318)][_0x4ed900[_0x299dda(0x312)]]),_0x31d527=_0xfb8107(_0x2ead84[_0x299dda(0x318)][_0x4ed900[_0x299dda(0x1fe)]]);if(!Number[_0x299dda(0x324)](_0x37c72f)||!Number['isFinite'](_0x31d527))return[];let _0x49f53b=Math[_0x299dda(0x226)](_0x37c72f,_0x31d527),_0x63c53=Math['max'](_0x37c72f,_0x31d527),_0x1d1c27=_0x4ed900['progressFieldId']==null?void 0x0:Number(_0x2ead84[_0x299dda(0x318)][_0x4ed900[_0x299dda(0x3a4)]]);return[{'recordId':_0x2ead84[_0x299dda(0x3c7)],'title':this[_0x299dda(0x265)](_0x258d4c,_0x2ead84,_0x4ed900[_0x299dda(0x4ff)]),'start':_0x49f53b,'end':_0x63c53,'color':this[_0x299dda(0x310)](_0x258d4c,_0x2ead84,_0x4ed900),'progress':Number[_0x299dda(0x324)](_0x1d1c27)?_0x1d1c27:void 0x0,'workingDayCount':_0x4ed900['workingDaysOnly']?_0x73229b(_0x49f53b,_0x63c53,_0x4ed900['workingDays']):void 0x0,'dependencyRecordIds':this[_0x299dda(0x471)](_0x2ead84[_0x299dda(0x318)][(_0x38d7e5=_0x4ed900['dependencyFieldId'])==null?'':_0x38d7e5])}];}),_0xab0526=_0x7bfcf[_0x24bf1a(0x49a)]?_0x34e7a1(Math[_0x24bf1a(0x226)](..._0x7bfcf[_0x24bf1a(0x2ea)](_0x2d2bf9=>_0x2d2bf9['start']))-0x5a*_0x4ce7d3):_0x34e7a1(Date['now']()-0x5a*_0x4ce7d3),_0x59e817=_0x7bfcf[_0x24bf1a(0x49a)]?_0x34e7a1(Math[_0x24bf1a(0x263)](..._0x7bfcf[_0x24bf1a(0x2ea)](_0x569244=>_0x569244[_0x24bf1a(0x4ad)]))+0x5b*_0x4ce7d3):_0x34e7a1(Date[_0x24bf1a(0x35f)]()+0x5b*_0x4ce7d3),_0x43c159=_0x2eb6c0(_0x4ed900[_0x24bf1a(0x27c)],_0xab0526,_0x59e817,_0x4ed900[_0x24bf1a(0x43e)]?_0x4ed900[_0x24bf1a(0x3eb)]:void 0x0);return{'type':_0x40477b[_0x24bf1a(0x49b)]['Gantt'],'fields':this['_projectFields'](_0x258d4c,{..._0x3ecc42,'config':_0x4ed900}),'rows':_0x48621e,'groups':this[_0x24bf1a(0x32e)](_0x258d4c,_0x3ecc42,_0x48621e),'config':_0x4ed900,'dateRangeAllDay':_0x277a6b,'timeline':{'scale':_0x4ed900[_0x24bf1a(0x27c)],'start':_0xab0526,'end':_0x59e817,'unitWidth':_0x43c159[_0x24bf1a(0x364)],'majorHeaders':_0x43c159[_0x24bf1a(0x270)],'columns':_0x43c159[_0x24bf1a(0x490)]},'bars':_0x7bfcf};}['_normalizeGanttConfig'](_0x4fdd6e,_0x4b98fa){const _0x7ac665=_0x3e73b2;var _0x37bb99;let _0x414aea=this[_0x7ac665(0x32b)](_0x4fdd6e,_0x4b98fa['startDateFieldId'],_0x7ac665(0x1e7)),_0xf567ee=this[_0x7ac665(0x32b)](_0x4fdd6e,_0x4b98fa[_0x7ac665(0x1fe)],_0x7ac665(0x4ad))||_0x414aea,_0x19e9d7=_0x4b98fa['titleFieldId']&&_0x4fdd6e['fields'][_0x4b98fa[_0x7ac665(0x4ff)]]?_0x4b98fa[_0x7ac665(0x4ff)]:_0x4fdd6e[_0x7ac665(0x43d)],_0x14d818=_0x4b98fa[_0x7ac665(0x27c)]===_0x7ac665(0x352)||_0x4b98fa[_0x7ac665(0x27c)]===_0x7ac665(0x278)||_0x4b98fa[_0x7ac665(0x27c)]===_0x7ac665(0x516)?_0x4b98fa[_0x7ac665(0x27c)]:_0x7ac665(0x3d3),_0xa36f44=_0x4c6f5b(_0x4b98fa[_0x7ac665(0x3eb)]);return{..._0x4b98fa,'startDateFieldId':_0x414aea,'endDateFieldId':_0xf567ee,'titleFieldId':_0x19e9d7,'scale':_0x14d818,'leftPaneWidth':typeof _0x4b98fa[_0x7ac665(0x4dc)]==_0x7ac665(0x2cf)?_0x4b98fa[_0x7ac665(0x4dc)]:void 0x0,'leftPaneCollapsed':_0x4b98fa[_0x7ac665(0x3c2)]===!0x0,'showTodayLine':_0x4b98fa[_0x7ac665(0x4db)]!==!0x1,'displayColor':this[_0x7ac665(0x46e)](_0x4fdd6e,_0x4b98fa),'fieldSettings':Object[_0x7ac665(0x305)](Object[_0x7ac665(0x244)]((_0x37bb99=_0x4b98fa[_0x7ac665(0x39a)])==null?{}:_0x37bb99)['filter'](([_0x2e5803])=>!!_0x4fdd6e[_0x7ac665(0x431)][_0x2e5803])),'workingDaysOnly':_0x4b98fa['workingDaysOnly']===!0x0,'workingDays':_0xa36f44};}['_resolveGanttDateFieldId'](_0x66ae9c,_0x2fbb40,_0x29eef4){const _0x472737=_0x3e73b2;if(_0x2fbb40&&this[_0x472737(0x2a9)](_0x66ae9c,_0x2fbb40,_0x29eef4)||_0x2fbb40)return _0x2fbb40;for(let _0x2b6a9e of _0x66ae9c[_0x472737(0x373)])if(this[_0x472737(0x2a9)](_0x66ae9c,_0x2b6a9e,_0x29eef4))return _0x2b6a9e;return _0x2fbb40==null?'':_0x2fbb40;}['_isGanttDateField'](_0x28d14b,_0x35c42c,_0x358727){const _0x31db50=_0x3e73b2;let _0x178e2f=_0x28d14b[_0x31db50(0x431)][_0x35c42c];if(!_0x178e2f||_0x178e2f[_0x31db50(0x357)]!==_0x40477b[_0x31db50(0x3dc)][_0x31db50(0x48b)]||_0x178e2f['readonly']===!0x0||_0x178e2f[_0x31db50(0x3fd)]===!0x0)return!0x1;let _0x1eebb1=this['_capabilities'](_0x178e2f);return _0x358727==='start'?_0x1eebb1[_0x31db50(0x4f1)]:_0x1eebb1[_0x31db50(0x1e8)];}['_normalizeGanttDisplayColor'](_0x14b897,_0x4cab20){const _0x4e2e21=_0x3e73b2;let _0xcced5d=_0x4cab20['displayColor'];if((_0xcced5d==null?void 0x0:_0xcced5d[_0x4e2e21(0x357)])===_0x4e2e21(0x2d5)){let _0x2a23f6=_0x14b897[_0x4e2e21(0x431)][_0xcced5d[_0x4e2e21(0x44a)]];if(_0x2a23f6&&_0x2a23f6['type']===_0x40477b[_0x4e2e21(0x3dc)][_0x4e2e21(0x2e5)])return _0xcced5d;}return(_0xcced5d==null?void 0x0:_0xcced5d['type'])==='conditional'&&Array['isArray'](_0xcced5d[_0x4e2e21(0x44b)])?{'type':'conditional','rules':_0xcced5d[_0x4e2e21(0x44b)][_0x4e2e21(0x3f6)](_0x324337=>!!_0x14b897[_0x4e2e21(0x431)][_0x324337[_0x4e2e21(0x44a)]])}:(_0xcced5d==null?void 0x0:_0xcced5d[_0x4e2e21(0x357)])===_0x4e2e21(0x21a)&&typeof _0xcced5d[_0x4e2e21(0x41c)]=='string'&&_0xcced5d[_0x4e2e21(0x41c)][_0x4e2e21(0x3bb)]()?{'type':_0x4e2e21(0x21a),'color':_0xcced5d[_0x4e2e21(0x41c)]}:{'type':'custom','color':_0x4e2e21(0x20a)};}['_ganttBarColor'](_0xa2b1fc,_0x1d32fc,_0x94f87b){const _0x883773=_0x3e73b2;let _0x1185a2=_0x94f87b['displayColor'];if((_0x1185a2==null?void 0x0:_0x1185a2[_0x883773(0x357)])===_0x883773(0x3b4)){let _0x4ce5fc=_0x1185a2[_0x883773(0x44b)]['find'](_0x54ca47=>this[_0x883773(0x4d1)](_0xa2b1fc,_0x1d32fc,_0x54ca47));if(_0x4ce5fc)return _0x4ce5fc[_0x883773(0x41c)];}if((_0x1185a2==null?void 0x0:_0x1185a2[_0x883773(0x357)])==='selectField'){let _0x567e5c=_0xa2b1fc['fields'][_0x1185a2[_0x883773(0x44a)]];if(_0x567e5c){var _0x433e84;let _0x14d199=_0x1d32fc[_0x883773(0x318)][_0x1185a2['fieldId']],_0x2f49ed=Array[_0x883773(0x21e)](_0x14d199)?_0x14d199[0x0]:_0x14d199,_0x4f6984=_0x2f49ed==null||(_0x433e84=_0x12a7cf(_0x567e5c,String(_0x2f49ed)))==null?void 0x0:_0x433e84['color'];if(_0x4f6984)return _0x4f6984;}}return(_0x1185a2==null?void 0x0:_0x1185a2[_0x883773(0x357)])===_0x883773(0x21a)?_0x1185a2[_0x883773(0x41c)]:_0x883773(0x20a);}['_matchesGanttColorRule'](_0x50f2b7,_0x543dfc,_0x36764b){const _0x303b9a=_0x3e73b2;let _0x523a8a=_0x50f2b7['fields'][_0x36764b[_0x303b9a(0x44a)]];return _0x523a8a?_0xfd4628(_0x543dfc[_0x303b9a(0x318)][_0x523a8a['id']],_0x36764b[_0x303b9a(0x2bc)],_0x36764b['operand'],_0x523a8a,{'dateMode':_0x36764b[_0x303b9a(0x25c)]}):!0x1;}[_0x3e73b2(0x1e9)](_0xf5111e,_0x30f864){const _0x530b4c=_0x3e73b2;var _0x646208,_0x49128c,_0x5ee929;let _0x200a0b=this['_projectRows'](_0xf5111e,_0x30f864),_0x4611e7=this[_0x530b4c(0x34f)](_0xf5111e,(_0x646208=_0x30f864[_0x530b4c(0x4c3)])==null?{}:_0x646208),_0x585edc=this[_0x530b4c(0x3fe)](_0xf5111e,_0x30f864);return{'type':_0x40477b[_0x530b4c(0x49b)][_0x530b4c(0x50c)],'fields':_0x585edc,'rows':_0x200a0b,'groups':this['_projectGroups'](_0xf5111e,_0x30f864,_0x200a0b),'coverFieldId':_0x4611e7['coverFieldId'],'cardLayout':(_0x49128c=_0x4611e7['cardLayout'])==null?_0x530b4c(0x2a1):_0x49128c,'showFieldNames':_0x4611e7['showFieldNames']!==!0x1,'visibleCardFieldIds':this[_0x530b4c(0x210)](_0xf5111e,_0x30f864,_0x4611e7),'cardSize':(_0x5ee929=_0x4611e7[_0x530b4c(0x235)])==null?_0x530b4c(0x504):_0x5ee929,'cards':_0x200a0b[_0x530b4c(0x2ea)](_0x4420cc=>({'recordId':_0x4420cc[_0x530b4c(0x3c7)],'title':this['_title'](_0xf5111e,_0x4420cc,_0x4611e7['card'][_0x530b4c(0x4ff)]),'values':_0x4420cc[_0x530b4c(0x318)]}))};}[_0x3e73b2(0x34f)](_0x345b7f,_0x50a3ff){const _0x555d8d=_0x3e73b2;var _0x559f1e,_0x298226;let _0x57e6d1=(_0x559f1e=_0x50a3ff[_0x555d8d(0x20c)])==null?{'fieldIds':[]}:_0x559f1e,_0x189329=_0x57e6d1[_0x555d8d(0x4ff)]&&_0x345b7f[_0x555d8d(0x431)][_0x57e6d1[_0x555d8d(0x4ff)]]?_0x57e6d1[_0x555d8d(0x4ff)]:_0x2361df(_0x345b7f),_0x28b318=this[_0x555d8d(0x354)](_0x345b7f,_0x50a3ff),_0x5c471e=_0x50a3ff['cardSize']===_0x555d8d(0x2ff)||_0x50a3ff[_0x555d8d(0x235)]===_0x555d8d(0x28d)?_0x50a3ff['cardSize']:_0x555d8d(0x504);return{..._0x50a3ff,'coverFieldId':_0x28b318,'cardLayout':_0x50a3ff[_0x555d8d(0x4a2)]==='compose'?'compose':_0x555d8d(0x2a1),'showFieldNames':_0x50a3ff[_0x555d8d(0x268)]!==!0x1,'fieldSettings':Object[_0x555d8d(0x305)](Object[_0x555d8d(0x244)]((_0x298226=_0x50a3ff[_0x555d8d(0x39a)])==null?{}:_0x298226)[_0x555d8d(0x3f6)](([_0x472fda])=>!!_0x345b7f['fields'][_0x472fda])),'card':{..._0x57e6d1,'titleFieldId':_0x189329,'coverFieldId':_0x28b318,'fieldIds':Array[_0x555d8d(0x21e)](_0x57e6d1[_0x555d8d(0x472)])?_0x57e6d1[_0x555d8d(0x472)]:[]},'cardSize':_0x5c471e};}[_0x3e73b2(0x354)](_0x27bf39,_0x30e29f){const _0x588322=_0x3e73b2;var _0x3265ab,_0x264210,_0x2adf18;let _0x3de722=(_0x3265ab=(_0x264210=_0x30e29f['coverFieldId'])==null?(_0x2adf18=_0x30e29f[_0x588322(0x20c)])==null?void 0x0:_0x2adf18['coverFieldId']:_0x264210)==null?null:_0x3265ab;if(!_0x3de722)return null;let _0x3517e1=_0x27bf39['fields'][_0x3de722];return _0x3517e1&&this[_0x588322(0x3fc)](_0x3517e1)[_0x588322(0x360)]?_0x3517e1['id']:null;}[_0x3e73b2(0x210)](_0x167ba0,_0x334d3b,_0x1a1f01){const _0x377fb1=_0x3e73b2;var _0x9770bd,_0x29a32f,_0x4730e1,_0x4fcc6f,_0x1b0abc,_0x565733,_0x2da8ec;let _0x5ae8a5=(_0x9770bd=_0x1a1f01['fieldSettings'])==null?{}:_0x9770bd,_0x5e51e4=(_0x29a32f=(_0x4730e1=_0x1a1f01[_0x377fb1(0x20c)])==null?void 0x0:_0x4730e1['titleFieldId'])==null?_0x2361df(_0x167ba0):_0x29a32f,_0x16eb48=(_0x4fcc6f=(_0x1b0abc=_0x1a1f01[_0x377fb1(0x2bd)])==null?(_0x565733=_0x1a1f01[_0x377fb1(0x20c)])==null?void 0x0:_0x565733[_0x377fb1(0x2bd)]:_0x1b0abc)==null?null:_0x4fcc6f,_0x1736ff=!((_0x2da8ec=_0x1a1f01[_0x377fb1(0x20c)])==null||(_0x2da8ec=_0x2da8ec[_0x377fb1(0x472)])==null)&&_0x2da8ec['length']?_0x1a1f01['card'][_0x377fb1(0x472)]:_0x1f62e1(_0x167ba0,[_0x5e51e4,_0x16eb48,_0x167ba0[_0x377fb1(0x43d)]]);return _0x1736ff[_0x377fb1(0x3f6)](_0x335156=>{const _0x38c242=_0x377fb1;var _0x3d2fea,_0x3929f3;let _0x32f633=_0x167ba0[_0x38c242(0x431)][_0x335156];return!(!_0x32f633||_0x32f633['id']===_0x5e51e4||_0x32f633['id']===_0x16eb48||!((_0x3d2fea=_0x334d3b[_0x38c242(0x39a)])==null||(_0x3d2fea=_0x3d2fea[_0x335156])==null)&&_0x3d2fea[_0x38c242(0x250)]||(_0x3929f3=_0x5ae8a5[_0x335156])!=null&&_0x3929f3[_0x38c242(0x250)]);})[_0x377fb1(0x225)]((_0x214407,_0xda1d2d)=>{const _0x68cea2=_0x377fb1;var _0x3b536e,_0x37a40d,_0x3477e5,_0x21ba5f;return((_0x3b536e=(_0x37a40d=_0x5ae8a5[_0x214407])==null?void 0x0:_0x37a40d[_0x68cea2(0x43b)])==null?_0x1736ff[_0x68cea2(0x3f5)](_0x214407):_0x3b536e)-((_0x3477e5=(_0x21ba5f=_0x5ae8a5[_0xda1d2d])==null?void 0x0:_0x21ba5f['order'])==null?_0x1736ff[_0x68cea2(0x3f5)](_0xda1d2d):_0x3477e5);});}['_projectFields'](_0x50be4d,_0x7a968b){const _0x4b6d6f=_0x3e73b2;var _0x57d442;return((_0x57d442=_0x7a968b[_0x4b6d6f(0x373)])!=null&&_0x57d442[_0x4b6d6f(0x49a)]?_0x7a968b['fieldOrder']:_0x50be4d[_0x4b6d6f(0x373)])['flatMap'](_0x463cef=>{const _0x4f651e=_0x4b6d6f;var _0x2845f2,_0x16bba6;let _0x584233=_0x50be4d['fields'][_0x463cef],_0x4a1155=(_0x2845f2=(_0x16bba6=_0x7a968b[_0x4f651e(0x39a)])==null?void 0x0:_0x16bba6[_0x463cef])==null?{}:_0x2845f2;return!_0x584233||_0x4a1155['hidden']?[]:[{'id':_0x584233['id'],'name':_0x584233[_0x4f651e(0x33c)],'description':_0x584233[_0x4f651e(0x438)],'type':_0x584233['type'],'config':_0x584233[_0x4f651e(0x4c3)],'width':_0x4a1155[_0x4f651e(0x3ae)],'setting':_0x4a1155}];});}[_0x3e73b2(0x3a7)](_0x2c95de,_0x5698cf){const _0x3aa953=_0x3e73b2;var _0x4793db,_0x585687,_0x583f79;return _0x3c2c6f(_0x3aa953(0x2fa),()=>{const _0x55ea75=_0x3aa953;var _0x58bcb7,_0x1d8343,_0x4f9d2b,_0x4817d7;let _0x455f01=this[_0x55ea75(0x227)](_0x2c95de),_0x15c747=this[_0x55ea75(0x40f)](_0x2c95de['id'],_0x5698cf),_0x416464=this['_getCellRevision'](_0x2c95de['id']),_0x11c4f9=this['_projectedViewRowsCache']['get'](_0x15c747);if(_0x11c4f9&&_0x11c4f9[_0x55ea75(0x4e8)]===this[_0x55ea75(0x30a)]&&_0x11c4f9['tableRevision']===this[_0x55ea75(0x4ea)](_0x2c95de['id'])){if(_0x11c4f9[_0x55ea75(0x230)]===_0x416464&&_0x11c4f9['baseRows']===_0x455f01)return _0x11c4f9['rows'];if(_0x11c4f9[_0x55ea75(0x230)]!==_0x416464&&!this[_0x55ea75(0x3b2)](_0x2c95de['id'],_0x11c4f9['cellRevision'],_0x416464,this['_filterSortFieldIds'](_0x5698cf))){let _0x4b6ab5=_0x11c4f9[_0x55ea75(0x25a)]===_0x11c4f9['baseRows']?_0x455f01:this['_patchCachedProjectedRows'](_0x11c4f9[_0x55ea75(0x25a)],_0x455f01);if(_0x4b6ab5)return this[_0x55ea75(0x1fa)][_0x55ea75(0x368)](_0x15c747,{..._0x11c4f9,'rows':_0x4b6ab5,'baseRows':_0x455f01,'cellRevision':_0x416464}),_0x4b6ab5;}}let _0x3363eb=_0x3c2c6f(_0x55ea75(0x2ef),()=>this['_sortRows'](_0x2c95de,_0x5698cf,this[_0x55ea75(0x2de)](_0x2c95de,_0x5698cf,_0x455f01)),{'tableId':_0x2c95de['id'],'viewId':_0x5698cf==null?void 0x0:_0x5698cf['id'],'viewType':_0x5698cf==null?void 0x0:_0x5698cf[_0x55ea75(0x357)],'rows':_0x455f01[_0x55ea75(0x49a)],'filters':(_0x58bcb7=_0x5698cf==null||(_0x1d8343=_0x5698cf['filter'])==null?void 0x0:_0x1d8343[_0x55ea75(0x4e1)][_0x55ea75(0x49a)])==null?0x0:_0x58bcb7,'sorts':(_0x4f9d2b=_0x5698cf==null||(_0x4817d7=_0x5698cf[_0x55ea75(0x225)])==null?void 0x0:_0x4817d7[_0x55ea75(0x49a)])==null?0x0:_0x4f9d2b});return this[_0x55ea75(0x1fa)]['set'](_0x15c747,{'table':_0x2c95de,'rows':_0x3363eb,'baseRows':_0x455f01,'globalRevision':this[_0x55ea75(0x30a)],'tableRevision':this[_0x55ea75(0x4ea)](_0x2c95de['id']),'cellRevision':_0x416464}),_0x3363eb;},{'tableId':_0x2c95de['id'],'viewId':_0x5698cf==null?void 0x0:_0x5698cf['id'],'viewType':_0x5698cf==null?void 0x0:_0x5698cf[_0x3aa953(0x357)],'records':(_0x4793db=(_0x585687=_0x2c95de['recordOrder'])==null?void 0x0:_0x585687[_0x3aa953(0x49a)])==null?Object[_0x3aa953(0x4f5)]((_0x583f79=_0x2c95de[_0x3aa953(0x464)])==null?{}:_0x583f79)[_0x3aa953(0x49a)]:_0x4793db});}[_0x3e73b2(0x227)](_0x2879e0){const _0x19c8a9=_0x3e73b2;var _0x311aa6,_0x2fcdaf,_0x1cd8ed;return _0x3c2c6f(_0x19c8a9(0x2a7),()=>{const _0x1ba9e3=_0x19c8a9;var _0x1b7bbe;let _0x177ff3=this[_0x1ba9e3(0x1fd)](_0x2879e0['id']),_0x150480=this[_0x1ba9e3(0x219)][_0x1ba9e3(0x20f)](_0x2879e0['id']);if(_0x150480&&_0x150480[_0x1ba9e3(0x4e8)]===this[_0x1ba9e3(0x30a)]&&_0x150480[_0x1ba9e3(0x49e)]===this[_0x1ba9e3(0x4ea)](_0x2879e0['id'])){if(_0x150480[_0x1ba9e3(0x230)]===_0x177ff3&&_0x150480[_0x1ba9e3(0x2ec)]===_0x2879e0)return _0x150480[_0x1ba9e3(0x25a)];let _0x12c4ee=this[_0x1ba9e3(0x399)](_0x2879e0,_0x150480,_0x177ff3);if(_0x12c4ee)return _0x12c4ee;}_0x46d2b4(_0x2879e0)||_0x19d545(_0x2879e0);let _0x5a7f56=(_0x1b7bbe=_0x2879e0[_0x1ba9e3(0x3aa)])!=null&&_0x1b7bbe['length']?_0x2879e0[_0x1ba9e3(0x3aa)]:_0x523e30(_0x2879e0[_0x1ba9e3(0x464)]),_0x50413f=_0x3c2c6f('BaseProjection.materializeTableRows',()=>{const _0x11eebf=_0x1ba9e3;let _0x30ab8e=[];for(let _0x101f17 of _0x5a7f56){let _0x24729f=_0x2879e0[_0x11eebf(0x464)][_0x101f17];if(!_0x24729f)continue;let _0x50017e={};for(let _0x42952f of _0x2879e0[_0x11eebf(0x373)])_0x50017e[_0x42952f]=_0x98b763(_0x2879e0,_0x24729f['id'],_0x42952f);_0x30ab8e[_0x11eebf(0x36f)]({'recordId':_0x24729f['id'],'values':_0x50017e});}return _0x30ab8e;},{'tableId':_0x2879e0['id'],'records':_0x5a7f56[_0x1ba9e3(0x49a)],'fields':_0x2879e0[_0x1ba9e3(0x373)][_0x1ba9e3(0x49a)]});return this[_0x1ba9e3(0x219)][_0x1ba9e3(0x368)](_0x2879e0['id'],{'table':_0x2879e0,'rows':_0x50413f,'rowIndexById':_0x4c9c7a(_0x50413f),'globalRevision':this[_0x1ba9e3(0x30a)],'tableRevision':this['_getTableRevision'](_0x2879e0['id']),'cellRevision':_0x177ff3}),_0x50413f;},{'tableId':_0x2879e0['id'],'records':(_0x311aa6=(_0x2fcdaf=_0x2879e0[_0x19c8a9(0x3aa)])==null?void 0x0:_0x2fcdaf[_0x19c8a9(0x49a)])==null?Object['keys']((_0x1cd8ed=_0x2879e0[_0x19c8a9(0x464)])==null?{}:_0x1cd8ed)[_0x19c8a9(0x49a)]:_0x311aa6,'fields':_0x2879e0['fieldOrder'][_0x19c8a9(0x49a)]});}[_0x3e73b2(0x399)](_0x1e8f64,_0x1c07c2,_0x3b3cfd){const _0x957179=_0x3e73b2;var _0x47736a,_0x22b76e;let _0x2f3651=((_0x47736a=this['_cellInvalidations'][_0x957179(0x20f)](_0x1e8f64['id']))==null?[]:_0x47736a)[_0x957179(0x3f6)](_0x322cc5=>_0x322cc5['revision']>_0x1c07c2[_0x957179(0x230)]&&_0x322cc5[_0x957179(0x28a)]<=_0x3b3cfd);if(!_0x2f3651['length'])return _0x1c07c2[_0x957179(0x2ec)]===_0x1e8f64?_0x1c07c2[_0x957179(0x25a)]:null;let _0x27062e=_0x1c07c2[_0x957179(0x25a)],_0x151380=new Map();for(let _0x424a83 of _0x2f3651){let _0x2fe9d7=_0x151380[_0x957179(0x20f)](_0x424a83['recordId']);_0x2fe9d7||(_0x2fe9d7=new Set(),_0x151380[_0x957179(0x368)](_0x424a83[_0x957179(0x3c7)],_0x2fe9d7)),_0x2fe9d7[_0x957179(0x4a7)](_0x424a83[_0x957179(0x44a)]);}for(let [_0x27a60e,_0x1dd4e2]of _0x151380){if(!_0x1e8f64[_0x957179(0x464)][_0x27a60e])return null;let _0x4fdaf6=_0x1c07c2[_0x957179(0x331)]['get'](_0x27a60e);if(_0x4fdaf6==null)return null;_0x27062e===_0x1c07c2[_0x957179(0x25a)]&&(_0x27062e=[..._0x1c07c2['rows']]);let _0x131536=_0x27062e[_0x4fdaf6],_0x322ee6={..._0x131536['values']};_0x1dd4e2[_0x957179(0x23d)](_0x5b44ff=>{_0x322ee6[_0x5b44ff]=_0x98b763(_0x1e8f64,_0x27a60e,_0x5b44ff);}),_0x27062e[_0x4fdaf6]={..._0x131536,'values':_0x322ee6};}let _0x29061c={'table':_0x1e8f64,'rows':_0x27062e,'rowIndexById':_0x1c07c2[_0x957179(0x331)],'globalRevision':this[_0x957179(0x30a)],'tableRevision':this[_0x957179(0x4ea)](_0x1e8f64['id']),'cellRevision':_0x3b3cfd};return this[_0x957179(0x219)][_0x957179(0x368)](_0x1e8f64['id'],_0x29061c),this[_0x957179(0x303)]['set'](_0x1e8f64['id'],((_0x22b76e=this[_0x957179(0x303)][_0x957179(0x20f)](_0x1e8f64['id']))==null?[]:_0x22b76e)[_0x957179(0x3f6)](_0x587ef6=>_0x587ef6[_0x957179(0x28a)]>Math[_0x957179(0x263)](0x0,_0x3b3cfd-0x100))),_0x27062e;}[_0x3e73b2(0x478)](_0x220b5b,_0x16d2af){const _0x1571dc=_0x3e73b2;let _0xfa1784=new Map(_0x16d2af[_0x1571dc(0x2ea)](_0x68b751=>[_0x68b751[_0x1571dc(0x3c7)],_0x68b751])),_0x335f35=!0x1,_0x2c5a04=_0x220b5b['map'](_0x3848f4=>{const _0x24214=_0x1571dc;let _0x3d5ea2=_0xfa1784[_0x24214(0x20f)](_0x3848f4[_0x24214(0x3c7)]);return _0x3d5ea2?_0x3d5ea2===_0x3848f4?_0x3848f4:(_0x335f35=!0x0,_0x3d5ea2):_0x3848f4;});return _0x335f35?_0x2c5a04:_0x220b5b;}[_0x3e73b2(0x3b2)](_0x3d2a36,_0x4c8c32,_0x503687,_0x440e7e){const _0x53513d=_0x3e73b2;var _0x2274d8;return!_0x440e7e['size']||_0x4c8c32===_0x503687?!0x1:_0x503687-_0x4c8c32>0x100?!0x0:((_0x2274d8=this['_cellInvalidations'][_0x53513d(0x20f)](_0x3d2a36))==null?[]:_0x2274d8)['some'](_0x12b6bf=>_0x12b6bf[_0x53513d(0x28a)]>_0x4c8c32&&_0x12b6bf[_0x53513d(0x28a)]<=_0x503687&&_0x440e7e[_0x53513d(0x23b)](_0x12b6bf[_0x53513d(0x44a)]));}['_filterSortFieldIds'](_0x25ede2){const _0x553aaa=_0x3e73b2;var _0x2ae27c,_0x208c19;let _0x3803cb=new Set();return _0x25ede2==null||(_0x2ae27c=_0x25ede2[_0x553aaa(0x3f6)])==null||_0x2ae27c[_0x553aaa(0x4e1)]['forEach'](_0x4df241=>_0x3803cb[_0x553aaa(0x4a7)](_0x4df241['fieldId'])),_0x25ede2==null||(_0x208c19=_0x25ede2[_0x553aaa(0x225)])==null||_0x208c19['forEach'](_0x2ceac4=>_0x3803cb[_0x553aaa(0x4a7)](_0x2ceac4[_0x553aaa(0x44a)])),_0x3803cb;}['_groupProjectionFieldIds'](_0x44471c){const _0x229788=_0x3e73b2;var _0x2340ff;let _0x22c158=this[_0x229788(0x31e)](_0x44471c);return(_0x2340ff=_0x44471c['group'])==null||_0x2340ff[_0x229788(0x23d)](_0xf34437=>_0x22c158['add'](_0xf34437['fieldId'])),_0x22c158;}[_0x3e73b2(0x2de)](_0x4dd7bd,_0x157973,_0x3b5e1f){const _0x27f9f2=_0x3e73b2;let _0x28e103=_0x157973==null?void 0x0:_0x157973[_0x27f9f2(0x3f6)];if(!(_0x28e103!=null&&_0x28e103['conditions'][_0x27f9f2(0x49a)]))return _0x3b5e1f;let _0x1739e6=_0x28e103[_0x27f9f2(0x4e1)][_0x27f9f2(0x3f6)](_0x5a1198=>!_0x15705e(_0x5a1198));return _0x1739e6[_0x27f9f2(0x49a)]?_0x3b5e1f[_0x27f9f2(0x3f6)](_0x428c06=>{const _0x24dcda=_0x27f9f2;if(_0x28e103['conjunction']===_0x40477b[_0x24dcda(0x3dd)]['OR']){for(let _0x3f1675 of _0x1739e6){let _0x152571=_0x4dd7bd['fields'][_0x3f1675[_0x24dcda(0x44a)]];if(!_0x152571||this[_0x24dcda(0x412)][_0x24dcda(0x20f)](_0x152571[_0x24dcda(0x357)])['filter'](_0x428c06[_0x24dcda(0x318)][_0x152571['id']],_0x3f1675[_0x24dcda(0x2bc)],_0x3f1675[_0x24dcda(0x2a3)],_0x152571))return!0x0;}return!0x1;}for(let _0xb2b714 of _0x1739e6){let _0x2e82d7=_0x4dd7bd[_0x24dcda(0x431)][_0xb2b714[_0x24dcda(0x44a)]];if(_0x2e82d7&&!this[_0x24dcda(0x412)][_0x24dcda(0x20f)](_0x2e82d7[_0x24dcda(0x357)])[_0x24dcda(0x3f6)](_0x428c06[_0x24dcda(0x318)][_0x2e82d7['id']],_0xb2b714[_0x24dcda(0x2bc)],_0xb2b714[_0x24dcda(0x2a3)],_0x2e82d7))return!0x1;}return!0x0;}):_0x3b5e1f;}['_sortRows'](_0x34f57b,_0x116438,_0x5f10d9){const _0x5fdef4=_0x3e73b2;var _0x39421f;let _0x18a019=(_0x39421f=_0x116438==null?void 0x0:_0x116438[_0x5fdef4(0x225)])==null?[]:_0x39421f;if(!_0x18a019[_0x5fdef4(0x49a)])return _0x5f10d9;let _0x46dba6=_0x18a019[_0x5fdef4(0x371)](_0x37f4e5=>{const _0x5f0329=_0x5fdef4;let _0x1c5959=_0x34f57b['fields'][_0x37f4e5[_0x5f0329(0x44a)]];return _0x1c5959?[{..._0x37f4e5,'field':_0x1c5959}]:[];});return _0x46dba6['length']?this['_canUseFastSort'](_0x46dba6)?this['_fastSortRows'](_0x46dba6,_0x5f10d9):[..._0x5f10d9][_0x5fdef4(0x225)]((_0xcf5909,_0x41d84c)=>{const _0x5e0381=_0x5fdef4;for(let _0x51f8c8 of _0x46dba6){let _0x5b0074=_0x51f8c8[_0x5e0381(0x256)],_0x1727c3=this[_0x5e0381(0x412)]['get'](_0x5b0074[_0x5e0381(0x357)])[_0x5e0381(0x50f)](_0xcf5909[_0x5e0381(0x318)][_0x5b0074['id']],_0x41d84c[_0x5e0381(0x318)][_0x5b0074['id']],_0x5b0074);if(_0x1727c3!==0x0)return _0x51f8c8['direction']===_0x40477b[_0x5e0381(0x35b)][_0x5e0381(0x46c)]?-_0x1727c3:_0x1727c3;}return 0x0;}):_0x5f10d9;}[_0x3e73b2(0x489)](_0x52b28a){const _0xe12c84=_0x3e73b2;return _0x52b28a[_0xe12c84(0x314)](_0x3e4be3=>_0x27238c[_0xe12c84(0x23b)](_0x3e4be3['field'][_0xe12c84(0x357)]));}[_0x3e73b2(0x2e9)](_0x1e4667,_0x1a9975){const _0x552551=_0x3e73b2;return _0x1a9975[_0x552551(0x2ea)]((_0x36f5f0,_0x56b1fa)=>({'row':_0x36f5f0,'index':_0x56b1fa,'keys':_0x1e4667[_0x552551(0x2ea)](_0x443166=>_0x36f5f0[_0x552551(0x318)][_0x443166['fieldId']])}))['sort']((_0xf76957,_0x517013)=>{const _0x272ddc=_0x552551;for(let _0x31511a=0x0;_0x31511a<_0x1e4667[_0x272ddc(0x49a)];_0x31511a++){let _0x381e17=_0x7b1338(_0xf76957[_0x272ddc(0x4f5)][_0x31511a],_0x517013[_0x272ddc(0x4f5)][_0x31511a]);if(_0x381e17!==0x0)return _0x1e4667[_0x31511a][_0x272ddc(0x242)]===_0x40477b[_0x272ddc(0x35b)][_0x272ddc(0x46c)]?-_0x381e17:_0x381e17;}return _0xf76957[_0x272ddc(0x36c)]-_0x517013['index'];})['map'](_0xd841f8=>_0xd841f8[_0x552551(0x367)]);}[_0x3e73b2(0x32e)](_0x300096,_0x573beb,_0x4bbf8c){const _0xb87f67=_0x3e73b2;var _0x102dec,_0x38ab76;return _0x3c2c6f('BaseProjection.projectGroups',()=>{const _0x1629e1=_0x1d63;var _0x20fad7;if(!((_0x20fad7=_0x573beb[_0x1629e1(0x513)])!=null&&_0x20fad7[_0x1629e1(0x49a)]))return[];let _0x506666=_0x573beb['group'][_0x1629e1(0x3f6)](_0x443fdd=>_0x300096[_0x1629e1(0x431)][_0x443fdd['fieldId']]);if(!_0x506666[_0x1629e1(0x49a)])return[];let _0x2e18ed=this[_0x1629e1(0x2c3)](_0x300096['id'],_0x573beb,_0x506666),_0x47df36=this[_0x1629e1(0x1fd)](_0x300096['id']),_0x4267a7=this['_projectedGroupsCache'][_0x1629e1(0x20f)](_0x2e18ed);if(_0x4267a7&&_0x4267a7[_0x1629e1(0x4e8)]===this[_0x1629e1(0x30a)]&&_0x4267a7['tableRevision']===this[_0x1629e1(0x4ea)](_0x300096['id'])){if(_0x4267a7[_0x1629e1(0x230)]===_0x47df36&&_0x4267a7['rows']===_0x4bbf8c)return _0x4267a7[_0x1629e1(0x4e2)];if(_0x4267a7['cellRevision']!==_0x47df36&&!this['_cellInvalidationsTouchFields'](_0x300096['id'],_0x4267a7[_0x1629e1(0x230)],_0x47df36,this[_0x1629e1(0x4ca)](_0x573beb)))return this[_0x1629e1(0x31c)][_0x1629e1(0x368)](_0x2e18ed,{..._0x4267a7,'rows':_0x4bbf8c,'cellRevision':_0x47df36}),_0x4267a7['groups'];}let _0x5aa2da=new Map();for(let _0x499988 of _0x4bbf8c){let _0x27e62e=_0x5aa2da,_0x5a6d9d='';for(let _0x1d82a3=0x0;_0x1d82a3<_0x506666[_0x1629e1(0x49a)];_0x1d82a3++){let _0xdd9e38=_0x506666[_0x1d82a3],_0x4b73c9=_0x499988[_0x1629e1(0x318)][_0xdd9e38[_0x1629e1(0x44a)]],_0x58d179=_0x23893a(_0x4b73c9),_0x1f85ad=_0xdd9e38['fieldId']+'\x00'+_0x58d179,_0x48fe10=_0x5a6d9d+'/'+_0xdd9e38[_0x1629e1(0x44a)]+':'+_0x58d179,_0x3d055a=_0x27e62e[_0x1629e1(0x20f)](_0x1f85ad);_0x3d055a||(_0x3d055a={'key':_0x58d179,'value':_0x4b73c9,'path':_0x48fe10,'label':_0x58d179||'Empty','fieldId':_0xdd9e38[_0x1629e1(0x44a)],'level':_0x1d82a3,'recordIds':[],'children':new Map()},_0x27e62e[_0x1629e1(0x368)](_0x1f85ad,_0x3d055a)),_0x3d055a['recordIds'][_0x1629e1(0x36f)](_0x499988[_0x1629e1(0x3c7)]),_0x27e62e=_0x3d055a[_0x1629e1(0x329)],_0x5a6d9d=_0x48fe10;}}let _0x5dd8a5=this[_0x1629e1(0x3a0)](_0x506666,_0x5aa2da,0x0);return this['_projectedGroupsCache'][_0x1629e1(0x368)](_0x2e18ed,{'table':_0x300096,'rows':_0x4bbf8c,'groups':_0x5dd8a5,'globalRevision':this[_0x1629e1(0x30a)],'tableRevision':this['_getTableRevision'](_0x300096['id']),'cellRevision':_0x47df36}),_0x5dd8a5;},{'tableId':_0x300096['id'],'viewId':_0x573beb['id'],'viewType':_0x573beb['type'],'rows':_0x4bbf8c[_0xb87f67(0x49a)],'groupFields':(_0x102dec=(_0x38ab76=_0x573beb['group'])==null?void 0x0:_0x38ab76[_0xb87f67(0x49a)])==null?0x0:_0x102dec});}[_0x3e73b2(0x3a0)](_0x5c9fa0,_0x194d0d,_0x3c88de){const _0x496c64=_0x3e73b2;var _0x168de6;let _0x75f04d=Array[_0x496c64(0x4ef)](_0x194d0d['values']()),_0x6fce6d=(_0x168de6=_0x5c9fa0[_0x3c88de])==null?void 0x0:_0x168de6['direction'];return _0x6fce6d&&_0x75f04d[_0x496c64(0x225)]((_0x1e42cd,_0x2b3eeb)=>{const _0x3d228e=_0x496c64;let _0x30eec5=_0x1e42cd['key'][_0x3d228e(0x42f)](_0x2b3eeb[_0x3d228e(0x2ca)]);return _0x6fce6d===_0x40477b[_0x3d228e(0x35b)]['DESC']?-_0x30eec5:_0x30eec5;}),_0x75f04d[_0x496c64(0x2ea)](_0x42ea19=>({'key':_0x42ea19[_0x496c64(0x2ca)],'value':_0x42ea19[_0x496c64(0x3d2)],'path':_0x42ea19[_0x496c64(0x2be)],'label':_0x42ea19[_0x496c64(0x29e)],'fieldId':_0x42ea19['fieldId'],'level':_0x42ea19['level'],'recordIds':_0x42ea19[_0x496c64(0x45f)],'children':this[_0x496c64(0x3a0)](_0x5c9fa0,_0x42ea19['children'],_0x3c88de+0x1)}));}[_0x3e73b2(0x265)](_0x2cc06c,_0x4a384d,_0x482071){const _0x4cf920=_0x3e73b2;let _0x42414f=_0x482071==null?_0x2cc06c[_0x4cf920(0x43d)]:_0x482071,_0x3cbf73=_0x4a384d['values'][_0x42414f];return _0x3cbf73==null?'':String(_0x3cbf73);}[_0x3e73b2(0x471)](_0x43c55d){const _0x5d8d3f=_0x3e73b2;if(Array['isArray'](_0x43c55d))return _0x43c55d[_0x5d8d3f(0x2ea)](String);if(typeof _0x43c55d==_0x5d8d3f(0x394)&&_0x43c55d)return[_0x43c55d];}['_capabilities'](_0x38c3bd){const _0x47ca55=_0x3e73b2;return this[_0x47ca55(0x412)][_0x47ca55(0x20f)](_0x38c3bd[_0x47ca55(0x357)])[_0x47ca55(0x3db)](_0x38c3bd);}};_0x14fa04=_0x5ed18a([_0x418791(0x0,(0x0,_0x40477b[_0x3e73b2(0x4bb)])(_0x1cf192))],_0x14fa04);function _0x23893a(_0xaaa96f){return _0xaaa96f==null?'':String(_0xaaa96f);}function _0x4c9c7a(_0x282138){const _0x504736=_0x3e73b2;return new Map(_0x282138[_0x504736(0x2ea)]((_0x59b1be,_0x5a1a12)=>[_0x59b1be[_0x504736(0x3c7)],_0x5a1a12]));}function _0x46d2b4(_0x46de26){const _0x264016=_0x3e73b2;return!!(Array[_0x264016(0x21e)](_0x46de26[_0x264016(0x3aa)])&&_0x46de26['rowIndex']&&_0x46de26[_0x264016(0x443)]&&_0x46de26['colIndex']&&_0x46de26['colId']&&_0x46de26[_0x264016(0x4fa)]);}function _0x32d86a(_0x33af7c){const _0xb11a95=_0x3e73b2;return _0x33af7c!=null&&_0x33af7c[_0xb11a95(0x4e1)][_0xb11a95(0x49a)]?{'conjunction':_0x33af7c[_0xb11a95(0x3e5)],'conditions':_0x33af7c[_0xb11a95(0x4e1)][_0xb11a95(0x2ea)](_0x4a3d87=>({'fieldId':_0x4a3d87['fieldId'],'operator':_0x4a3d87['operator'],'operand':_0x4a3d87[_0xb11a95(0x2a3)]}))}:null;}function _0x2fdda2(_0x32383a){const _0x4d13e8=_0x3e73b2;return _0x32383a!=null&&_0x32383a[_0x4d13e8(0x49a)]?_0x32383a[_0x4d13e8(0x2ea)](_0x37b6c3=>({'fieldId':_0x37b6c3[_0x4d13e8(0x44a)],'direction':_0x37b6c3[_0x4d13e8(0x242)]})):null;}function _0x286e72(_0xc9f90f){const _0x1c3da3=_0x3e73b2;if(typeof _0xc9f90f!='object'||!_0xc9f90f){var _0x40712a;return(_0x40712a=JSON[_0x1c3da3(0x1f5)](_0xc9f90f))==null?_0x1c3da3(0x4ac):_0x40712a;}if(Array[_0x1c3da3(0x21e)](_0xc9f90f))return'['+_0xc9f90f['map'](_0x286e72)['join'](',')+']';let _0x2da1d4=_0xc9f90f;return'{'+Object['keys'](_0x2da1d4)[_0x1c3da3(0x225)]()[_0x1c3da3(0x2ea)](_0x1a6087=>JSON[_0x1c3da3(0x1f5)](_0x1a6087)+':'+_0x286e72(_0x2da1d4[_0x1a6087]))['join'](',')+'}';}function _0x523e30(_0x1e5c92){const _0x4e6fd9=_0x3e73b2;let _0x20245b=Object['values'](_0x1e5c92)[_0x4e6fd9(0x225)]((_0x5dac93,_0x1299b6)=>_0x5dac93[_0x4e6fd9(0x339)][_0x4e6fd9(0x42f)](_0x1299b6[_0x4e6fd9(0x339)])),_0x166e82=[];for(let _0x5490d5 of _0x20245b)_0x166e82[_0x4e6fd9(0x36f)](_0x5490d5['id']);return _0x166e82;}let _0x4ce7d3=0x5a0*0x3c*0x3e8;function _0x4c6f5b(_0x51c7e3){const _0x15fece=_0x3e73b2;return{'weekdays':Array[_0x15fece(0x21e)](_0x51c7e3==null?void 0x0:_0x51c7e3[_0x15fece(0x345)])&&_0x51c7e3[_0x15fece(0x345)]['length']?[...new Set(_0x51c7e3['weekdays']['filter'](_0x3c7db7=>Number[_0x15fece(0x2cd)](_0x3c7db7)&&_0x3c7db7>=0x1&&_0x3c7db7<=0x7))]:[0x1,0x2,0x3,0x4,0x5],'exceptions':Array[_0x15fece(0x21e)](_0x51c7e3==null?void 0x0:_0x51c7e3[_0x15fece(0x4c7)])?_0x51c7e3[_0x15fece(0x4c7)][_0x15fece(0x371)](_0x3a5d41=>!_0x3a5d41||!Number[_0x15fece(0x324)](_0x3a5d41[_0x15fece(0x384)])?[]:[{'id':String(_0x3a5d41['id']||'exception-'+_0x3a5d41['date']),'date':_0x34e7a1(Number(_0x3a5d41[_0x15fece(0x384)])),'name':String(_0x3a5d41['name']||'Working\x20day'),'type':_0x3a5d41[_0x15fece(0x357)]===_0x15fece(0x2dd)?_0x15fece(0x2dd):'off'}]):[]};}function _0x2eb6c0(_0x3676ad,_0x37b8e7,_0x2ff835,_0x3fe879){let _0x4f2f07=_0x48c3a3(_0x3676ad,_0x37b8e7),_0x129747=_0x48582f(_0x3676ad,_0x2ff835),_0x1b6290=_0x6e0dbb(_0x3676ad,_0x4f2f07,_0x129747,_0x3fe879);return{'scale':_0x3676ad,'start':_0x4f2f07,'end':_0x129747,'unitWidth':_0x2b20c9(_0x3676ad),'majorHeaders':_0x313e9b(_0x3676ad,_0x4f2f07,_0x129747),'columns':_0x1b6290};}function _0x6e0dbb(_0x3fd0f9,_0xff5052,_0x4ea1a8,_0x512e71){const _0x1a9532=_0x3e73b2;let _0x4674b2=[],_0x50fdd9=_0xff5052;for(;_0x50fdd9<_0x4ea1a8;){let _0x2eaf37=_0x3fd0f9==='quarter'?_0x3e121f(_0x50fdd9,0x7):_0x3fd0f9===_0x1a9532(0x516)?_0x31bfa6(_0x50fdd9,0x1):_0x3e121f(_0x50fdd9,0x1);_0x4674b2[_0x1a9532(0x36f)]({'id':_0x3fd0f9+'-'+_0x50fdd9,'label':_0x3e873e(_0x3fd0f9,_0x50fdd9,_0x2eaf37),'majorLabel':_0x8a651f(_0x3fd0f9,_0x50fdd9),'start':_0x50fdd9,'end':_0x2eaf37,'nonWorking':_0xf28f5a(_0x50fdd9,_0x2eaf37,_0x512e71)}),_0x50fdd9=_0x2eaf37;}return _0x4674b2;}function _0x313e9b(_0x561154,_0x59650b,_0x205d1c){const _0xf045c8=_0x3e73b2;let _0x19a738=[],_0x4f6c8b=_0x561154===_0xf045c8(0x516)?_0x320f1f(_0x59650b):_0x2b1ac7(_0x59650b);for(;_0x4f6c8b<_0x205d1c;){let _0x36552a=_0x561154==='year'?_0x9b5cce(_0x4f6c8b,0x1):_0x31bfa6(_0x4f6c8b,0x1);_0x19a738[_0xf045c8(0x36f)]({'id':'major-'+_0x4f6c8b,'label':_0x561154===_0xf045c8(0x516)?String(new Date(_0x4f6c8b)[_0xf045c8(0x2aa)]()):_0x43871b(_0x4f6c8b),'start':_0x4f6c8b,'end':_0x36552a}),_0x4f6c8b=_0x36552a;}return _0x19a738;}function _0x2b20c9(_0x3fbf61){const _0x160811=_0x3e73b2;switch(_0x3fbf61){case _0x160811(0x352):return 0xac;case _0x160811(0x278):return 0xac;case'year':return 0x88;default:return 0x56;}}function _0x48c3a3(_0x32b0f4,_0x4d2cc2){const _0x174a41=_0x3e73b2;return _0x32b0f4===_0x174a41(0x516)?_0x320f1f(_0x4d2cc2):_0x32b0f4===_0x174a41(0x278)?_0x5cab09(_0x4d2cc2):_0x34e7a1(_0x4d2cc2);}function _0x48582f(_0x4ed407,_0x1abb15){const _0x4c9f65=_0x3e73b2;return _0x4ed407===_0x4c9f65(0x516)?_0x9b5cce(_0x320f1f(_0x1abb15),0x1):_0x4ed407==='quarter'?_0x3e121f(_0x5cab09(_0x1abb15),0x7):_0x3e121f(_0x34e7a1(_0x1abb15),0x1);}function _0x3e873e(_0x3581b5,_0x3d45d7,_0x41ef5d){const _0x2340a3=_0x3e73b2;let _0x3e4960=new Date(_0x3d45d7);return _0x3581b5===_0x2340a3(0x278)?_0x3e4960[_0x2340a3(0x33b)]()+'-'+new Date(_0x41ef5d-_0x4ce7d3)[_0x2340a3(0x33b)]():_0x3581b5===_0x2340a3(0x516)?_0x3e4960[_0x2340a3(0x42e)](_0x2340a3(0x381),{'month':_0x2340a3(0x3f4),'timeZone':_0x2340a3(0x4ba)}):String(_0x3e4960['getUTCDate']());}function _0x8a651f(_0x123ebe,_0x10bc50){const _0xb19ecd=_0x3e73b2;return _0x123ebe===_0xb19ecd(0x516)?String(new Date(_0x10bc50)['getUTCFullYear']()):_0x43871b(_0x10bc50);}function _0x73229b(_0x19e1d1,_0x14971a,_0xb261d6){let _0x3889fc=_0x4c6f5b(_0xb261d6),_0x350980=0x0;for(let _0x25c8be=_0x34e7a1(_0x19e1d1);_0x25c8be<=_0x34e7a1(_0x14971a);_0x25c8be=_0x3e121f(_0x25c8be,0x1))_0x39ea7d(_0x25c8be,_0x3889fc)||_0x350980++;return _0x350980;}function _0xf28f5a(_0x225772,_0xcc2647,_0x2aaed2){if(!_0x2aaed2)return!0x1;let _0x3c73ed=_0x4c6f5b(_0x2aaed2);for(let _0x40aef8=_0x34e7a1(_0x225772);_0x40aef8<_0xcc2647;_0x40aef8=_0x3e121f(_0x40aef8,0x1))if(!_0x39ea7d(_0x40aef8,_0x3c73ed))return!0x1;return!0x0;}function _0x39ea7d(_0x4d0cd0,_0x4c28bb){const _0x203164=_0x3e73b2;let _0x5e5f60=_0x34e7a1(_0x4d0cd0),_0x463499=_0x4c28bb[_0x203164(0x4c7)]['find'](_0x55bfa7=>_0x34e7a1(_0x55bfa7[_0x203164(0x384)])===_0x5e5f60);if(_0x463499)return _0x463499[_0x203164(0x357)]===_0x203164(0x500);let _0x261e7c=new Date(_0x5e5f60)[_0x203164(0x34c)](),_0x5e7d32=_0x261e7c===0x0?0x7:_0x261e7c;return!_0x4c28bb[_0x203164(0x345)][_0x203164(0x238)](_0x5e7d32);}function _0x34e7a1(_0x4087bc){const _0x4d7080=_0x3e73b2;let _0x4797ed=new Date(_0x4087bc);return Date[_0x4d7080(0x4ba)](_0x4797ed[_0x4d7080(0x2aa)](),_0x4797ed[_0x4d7080(0x38c)](),_0x4797ed[_0x4d7080(0x33b)]());}function _0x5cab09(_0x3d41ff){const _0x6852d8=_0x3e73b2;let _0x482ee4=_0x34e7a1(_0x3d41ff),_0x4c5db1=new Date(_0x482ee4)[_0x6852d8(0x34c)]();return _0x3e121f(_0x482ee4,-(_0x4c5db1===0x0?0x6:_0x4c5db1-0x1));}function _0x2b1ac7(_0x43f8d1){const _0x565d47=_0x3e73b2;let _0x17580a=new Date(_0x43f8d1);return Date[_0x565d47(0x4ba)](_0x17580a['getUTCFullYear'](),_0x17580a[_0x565d47(0x38c)](),0x1);}function _0x320f1f(_0x432e64){const _0x9e8deb=_0x3e73b2;let _0x503aaf=new Date(_0x432e64);return Date['UTC'](_0x503aaf[_0x9e8deb(0x2aa)](),0x0,0x1);}function _0x3e121f(_0x5cfc1f,_0x1ef6ee){return _0x5cfc1f+_0x1ef6ee*_0x4ce7d3;}function _0x31bfa6(_0xfa230e,_0x304ff8){const _0x6e632a=_0x3e73b2;let _0x4006b0=new Date(_0xfa230e);return Date[_0x6e632a(0x4ba)](_0x4006b0[_0x6e632a(0x2aa)](),_0x4006b0[_0x6e632a(0x38c)]()+_0x304ff8,0x1);}function _0x9b5cce(_0x10aa32,_0xd46662){const _0x44c16f=_0x3e73b2;let _0x2b628e=new Date(_0x10aa32);return Date['UTC'](_0x2b628e[_0x44c16f(0x2aa)]()+_0xd46662,0x0,0x1);}function _0x43871b(_0x1a3e16){const _0x2ef680=_0x3e73b2;let _0x5e2f4a=new Date(_0x1a3e16);return _0x5e2f4a[_0x2ef680(0x42e)]('en-US',{'month':_0x2ef680(0x3f4),'timeZone':'UTC'})+'\x20'+_0x5e2f4a[_0x2ef680(0x2aa)]();}function _0x7b1338(_0x20cdcd,_0x2dc0de){const _0x54351b=_0x3e73b2;if(_0x20cdcd==null&&_0x2dc0de==null)return 0x0;if(_0x20cdcd==null)return-0x1;if(_0x2dc0de==null)return 0x1;if(typeof _0x20cdcd==_0x54351b(0x4d5)||typeof _0x2dc0de==_0x54351b(0x4d5))return Number(_0x20cdcd===!0x0)-Number(_0x2dc0de===!0x0);let _0x7c25a2=Number(_0x20cdcd),_0x34edf0=Number(_0x2dc0de),_0x1ee2c4=Number[_0x54351b(0x324)](_0x7c25a2),_0x4b1026=Number['isFinite'](_0x34edf0);return _0x1ee2c4&&_0x4b1026?_0x7c25a2-_0x34edf0:_0x1ee2c4?0x1:_0x4b1026?-0x1:String(_0x20cdcd)[_0x54351b(0x42f)](String(_0x2dc0de));}function _0x15705e(_0x33c6db){const _0x3a57e0=_0x3e73b2;if(_0x33c6db[_0x3a57e0(0x2bc)]!=='is'&&_0x33c6db[_0x3a57e0(0x2bc)]!==_0x3a57e0(0x1fb))return!0x1;let _0x1df7c0=_0x33c6db[_0x3a57e0(0x2a3)];return _0x1df7c0==null?!0x0:typeof _0x1df7c0==_0x3a57e0(0x394)?_0x1df7c0[_0x3a57e0(0x3bb)]()==='':Array[_0x3a57e0(0x21e)](_0x1df7c0)?_0x1df7c0[_0x3a57e0(0x49a)]===0x0:!0x1;}function _0x12a7cf(_0x240f87,_0x3f4f8f){const _0x4cd134=_0x3e73b2;var _0x3e8d46;let _0x3ffbcb=Array[_0x4cd134(0x21e)]((_0x3e8d46=_0x240f87[_0x4cd134(0x4c3)])==null?void 0x0:_0x3e8d46[_0x4cd134(0x518)])?_0x240f87['config'][_0x4cd134(0x518)]:[];for(let _0x28f4f1 of _0x3ffbcb){var _0xa6434e,_0x1215f9,_0x2af6d5,_0x5c9f19;if(_0x28f4f1==null)continue;if(typeof _0x28f4f1==_0x4cd134(0x394)){if(_0x28f4f1===_0x3f4f8f)return{'id':_0x28f4f1,'name':_0x28f4f1};continue;}let _0xb89651=_0x28f4f1,_0x480c2b=String((_0xa6434e=(_0x1215f9=_0xb89651['id'])==null?_0xb89651[_0x4cd134(0x33c)]:_0x1215f9)==null?'':_0xa6434e),_0x1be45b=String((_0x2af6d5=(_0x5c9f19=_0xb89651['name'])==null?_0xb89651['id']:_0x5c9f19)==null?_0x480c2b:_0x2af6d5);if(_0x480c2b===_0x3f4f8f||_0x1be45b===_0x3f4f8f)return{'id':_0x480c2b,'name':_0x1be45b,'color':_0xb89651['color']==null?void 0x0:String(_0xb89651['color'])};}return null;}let _0x411445={'id':'base.mutation.apply-base-json1','type':_0x40477b[_0x3e73b2(0x300)][_0x3e73b2(0x3cb)],'handler'(_0x47a20c,_0x25652c){const _0x2f128d=_0x3e73b2;let {unitId:_0x4f5598,op:_0x37b608}=_0x25652c,_0x454459=_0x47a20c[_0x2f128d(0x20f)](_0x40477b[_0x2f128d(0x4f9)])[_0x2f128d(0x37b)](_0x4f5598,_0x40477b['UniverInstanceType'][_0x2f128d(0x2b0)]);if(!_0x454459)return!0x1;let _0xb72c47=_0x454459[_0x2f128d(0x3ab)](),_0x2a3363=new _0x3987f0(),_0x47eda8=_0x2a3363[_0x2f128d(0x4f2)](_0x37b608),_0x24a8f0=_0x2a3363[_0x2f128d(0x460)](_0xb72c47,_0x37b608);return _0x454459[_0x2f128d(0x410)](_0x24a8f0),_0x5c8db9(_0x24a8f0,_0x47eda8,_0x47a20c[_0x2f128d(0x20f)](_0x18e4af)),!0x0;}};function _0x5c8db9(_0x5efac2,_0xbc4bdf,_0x4dc9f5){const _0x464d33=_0x3e73b2;let _0x1c33c6=new Set();for(let _0x1c961a of _0xbc4bdf){if(_0x1c961a[_0x464d33(0x35e)]!==_0x464d33(0x326)){_0x4dc9f5['invalidateByOp']();return;}let _0x30dfc4=_0x5e9418(_0x5efac2,_0x1c961a);if(!_0x30dfc4){_0x4dc9f5['invalidateByOp']();return;}let _0x1f038a=_0x30dfc4['tableId']+'\x00'+_0x30dfc4[_0x464d33(0x3c7)]+'\x00'+_0x30dfc4[_0x464d33(0x44a)];_0x1c33c6[_0x464d33(0x23b)](_0x1f038a)||(_0x1c33c6[_0x464d33(0x4a7)](_0x1f038a),_0x4dc9f5[_0x464d33(0x42d)](_0x30dfc4[_0x464d33(0x485)],_0x30dfc4[_0x464d33(0x3c7)],_0x30dfc4[_0x464d33(0x44a)]));}}function _0x5e9418(_0x345b4e,_0x426e0b){const _0x5e5428=_0x3e73b2;var _0x5927d2,_0x5cc90b;if(!_0x426e0b[_0x5e5428(0x485)])return null;if(_0x426e0b[_0x5e5428(0x3c7)]&&_0x426e0b['fieldId'])return{'tableId':_0x426e0b['tableId'],'recordId':_0x426e0b[_0x5e5428(0x3c7)],'fieldId':_0x426e0b[_0x5e5428(0x44a)]};if(_0x426e0b['row']==null||_0x426e0b[_0x5e5428(0x3bc)]==null)return null;let _0x8f1083=_0x345b4e['tables'][_0x426e0b[_0x5e5428(0x485)]],_0x18087b=_0x8f1083==null||(_0x5927d2=_0x8f1083[_0x5e5428(0x443)])==null?void 0x0:_0x5927d2[_0x426e0b['row']],_0x11a294=_0x8f1083==null||(_0x5cc90b=_0x8f1083[_0x5e5428(0x362)])==null?void 0x0:_0x5cc90b[_0x426e0b['column']];return!_0x18087b||!_0x11a294?null:{'tableId':_0x426e0b[_0x5e5428(0x485)],'recordId':_0x18087b,'fieldId':_0x11a294};}function _0x2b2199(_0x227ecf,_0x2ee189,_0x2f3b93){const _0x44c70f=_0x3e73b2;let _0x2954f4=_0x227ecf[_0x44c70f(0x3ab)]()[_0x44c70f(0x4be)][_0x2ee189];if(!_0x2954f4)return!0x1;let {viewIds:_0x8f644f,fieldIds:_0x2e9918,recordIds:_0x2c90ce}=_0x2f3b93||{};if(_0x8f644f){for(let _0x3b0ead of _0x8f644f)if(!_0x2954f4[_0x44c70f(0x2f4)][_0x3b0ead])return!0x1;}if(_0x2e9918){for(let _0x1d4980 of _0x2e9918)if(!_0x2954f4[_0x44c70f(0x431)][_0x1d4980])return!0x1;}if(_0x2c90ce){for(let _0x5caa11 of _0x2c90ce)if(!_0x2954f4[_0x44c70f(0x464)][_0x5caa11])return!0x1;}return!0x0;}let _0x11f42b={'id':'base.command.batch-create-base-records','type':_0x40477b[_0x3e73b2(0x300)][_0x3e73b2(0x308)],'handler'(_0x3b1e9f,_0x32584b){const _0x5220aa=_0x3e73b2;if(!_0x32584b)return!0x1;let _0x548559=_0x3b1e9f[_0x5220aa(0x20f)](_0x40477b['IUniverInstanceService']),{unitId:_0x56b2c9,tableId:_0x57c743,records:_0x5dbee3}=_0x32584b,_0x2968ea=_0x548559[_0x5220aa(0x37b)](_0x56b2c9,_0x40477b[_0x5220aa(0x313)]['UNIVER_BASE']),_0x2451f6=_0x5dbee3[_0x5220aa(0x2ea)](_0x46922d=>_0x46922d['id']);if(!_0x2968ea||!_0x2b2199(_0x2968ea,_0x57c743)||new Set(_0x2451f6)[_0x5220aa(0x4d2)]!==_0x2451f6[_0x5220aa(0x49a)]||_0x2451f6[_0x5220aa(0x2f1)](_0x44272f=>_0x2968ea[_0x5220aa(0x3ab)]()[_0x5220aa(0x4be)][_0x57c743]['records'][_0x44272f]))return!0x1;let _0x3b6e13=_0x3b1e9f[_0x5220aa(0x20f)](_0x40477b[_0x5220aa(0x510)]),_0x44e0af=_0x3b1e9f['get'](_0x40477b['IUndoRedoService']),_0x9d6b16=_0x3b1e9f[_0x5220aa(0x20f)](_0x3beb36)['createBatchCreateRecordsOp'](_0x2968ea,_0x57c743,_0x5dbee3),_0x309234=new _0x3987f0()[_0x5220aa(0x286)](_0x2968ea[_0x5220aa(0x3ab)](),_0x9d6b16),_0x4f4d02={'unitId':_0x56b2c9,'op':_0x9d6b16},_0x530fc5={'unitId':_0x56b2c9,'op':_0x309234};return _0x3b6e13[_0x5220aa(0x284)](_0x411445['id'],_0x4f4d02)?(_0x548559[_0x5220aa(0x4b8)](_0x56b2c9),_0x44e0af[_0x5220aa(0x29f)]({'unitID':_0x56b2c9,'undoMutations':[{'id':_0x411445['id'],'params':_0x530fc5}],'redoMutations':[{'id':_0x411445['id'],'params':_0x4f4d02}]}),!0x0):!0x1;}},_0x1cc838={'id':_0x3e73b2(0x423),'type':_0x40477b['CommandType'][_0x3e73b2(0x308)],'handler':(_0x35d0d1,_0x34e152)=>{const _0xf6a90f=_0x3e73b2;if(!_0x34e152)return!0x1;let _0x4a1e97=_0x35d0d1[_0xf6a90f(0x20f)](_0x40477b[_0xf6a90f(0x4f9)]),{unitId:_0x782707,tableId:_0x11c54a,recordIds:_0x40b612}=_0x34e152,_0x134e6c=_0x4a1e97['getUnit'](_0x782707,_0x40477b[_0xf6a90f(0x313)][_0xf6a90f(0x2b0)]);if(!_0x134e6c||!_0x2b2199(_0x134e6c,_0x11c54a,{'recordIds':_0x40b612}))return!0x1;let _0x455d27=_0x35d0d1[_0xf6a90f(0x20f)](_0x40477b['ICommandService']),_0x3fc18e=_0x35d0d1[_0xf6a90f(0x20f)](_0x40477b[_0xf6a90f(0x4d3)]),_0x47dc57=_0x134e6c[_0xf6a90f(0x3ab)](),_0x51c783=new _0x54caa1()[_0xf6a90f(0x388)](_0x47dc57,_0x11c54a,_0x40b612),_0x20e29a=new _0x3987f0()[_0xf6a90f(0x286)](_0x47dc57,_0x51c783),_0xb71fbe={'unitId':_0x782707,'op':_0x51c783},_0x4dbd5a={'unitId':_0x782707,'op':_0x20e29a};return _0x455d27[_0xf6a90f(0x284)](_0x411445['id'],_0xb71fbe)?(_0x4a1e97[_0xf6a90f(0x4b8)](_0x782707),_0x3fc18e[_0xf6a90f(0x29f)]({'unitID':_0x782707,'undoMutations':[{'id':_0x411445['id'],'params':_0x4dbd5a}],'redoMutations':[{'id':_0x411445['id'],'params':_0xb71fbe}]}),!0x0):!0x1;}},_0x2c7b92={'id':_0x3e73b2(0x346),'type':_0x40477b['CommandType'][_0x3e73b2(0x308)],'handler':(_0x1d4ffd,_0x3c9a7f)=>{const _0x5974ac=_0x3e73b2;if(!_0x3c9a7f)return!0x1;let _0x105577=_0x1d4ffd['get'](_0x40477b[_0x5974ac(0x4f9)]),{unitId:_0x1dae56,tableId:_0x2b34c2,fieldId:_0x22bb3a,input:_0x5b2498}=_0x3c9a7f,_0x32a680=_0x105577['getUnit'](_0x1dae56,_0x40477b['UniverInstanceType'][_0x5974ac(0x2b0)]);if(!_0x32a680||!_0x2b2199(_0x32a680,_0x2b34c2,{'fieldIds':[_0x22bb3a]}))return!0x1;let _0x4994ac=_0x1d4ffd[_0x5974ac(0x20f)](_0x40477b[_0x5974ac(0x510)]),_0x2a58ed=_0x1d4ffd[_0x5974ac(0x20f)](_0x40477b[_0x5974ac(0x4d3)]),_0x2f11cf=_0x32a680[_0x5974ac(0x3ab)](),_0x46086c=new _0x54caa1()[_0x5974ac(0x317)](_0x2f11cf,_0x2b34c2,_0x22bb3a,_0x5b2498),_0x107c70=new _0x3987f0()[_0x5974ac(0x286)](_0x2f11cf,_0x46086c),_0x59c652={'unitId':_0x1dae56,'op':_0x46086c},_0x5a41cd={'unitId':_0x1dae56,'op':_0x107c70};return _0x4994ac[_0x5974ac(0x284)](_0x411445['id'],_0x59c652)?(_0x105577[_0x5974ac(0x4b8)](_0x1dae56),_0x2a58ed[_0x5974ac(0x29f)]({'unitID':_0x1dae56,'undoMutations':[{'id':_0x411445['id'],'params':_0x5a41cd}],'redoMutations':[{'id':_0x411445['id'],'params':_0x59c652}]}),!0x0):!0x1;}},_0x38e21a={'id':_0x3e73b2(0x4e0),'type':_0x40477b[_0x3e73b2(0x300)]['COMMAND'],'handler'(_0x224719,_0xc6f540){const _0x5c3a71=_0x3e73b2;if(!_0xc6f540)return!0x1;let _0x37a2c7=_0x224719[_0x5c3a71(0x20f)](_0x40477b['IUniverInstanceService']),{unitId:_0xf22137,tableId:_0x211fc4,field:_0xfffa28,index:_0x6f5055,viewIndexes:_0x59edd7}=_0xc6f540,_0x8fe512=_0x37a2c7[_0x5c3a71(0x37b)](_0xf22137,_0x40477b[_0x5c3a71(0x313)]['UNIVER_BASE']);if(!_0x8fe512||!_0x2b2199(_0x8fe512,_0x211fc4)||_0x8fe512[_0x5c3a71(0x3ab)]()['tables'][_0x211fc4][_0x5c3a71(0x431)][_0xfffa28['id']])return!0x1;let _0x4e3f96=_0x224719[_0x5c3a71(0x20f)](_0x40477b[_0x5c3a71(0x510)]),_0x246146=_0x224719[_0x5c3a71(0x20f)](_0x40477b['IUndoRedoService']),_0x53b4a6=_0x224719[_0x5c3a71(0x20f)](_0x3beb36)['createCreateFieldOp'](_0x8fe512,_0x211fc4,_0xfffa28,_0x6f5055,_0x59edd7),_0x15c661=new _0x3987f0()[_0x5c3a71(0x286)](_0x8fe512['getSnapshot'](),_0x53b4a6),_0x35660a={'unitId':_0xf22137,'op':_0x53b4a6},_0x6aa438={'unitId':_0xf22137,'op':_0x15c661};return _0x4e3f96['syncExecuteCommand'](_0x411445['id'],_0x35660a)?(_0x37a2c7[_0x5c3a71(0x4b8)](_0xf22137),_0x246146[_0x5c3a71(0x29f)]({'unitID':_0xf22137,'undoMutations':[{'id':_0x411445['id'],'params':_0x6aa438}],'redoMutations':[{'id':_0x411445['id'],'params':_0x35660a}]}),!0x0):!0x1;}},_0x4bf865={'id':'base.command.create-base-record','type':_0x40477b[_0x3e73b2(0x300)]['COMMAND'],'handler'(_0x3b3743,_0x4a3f80){const _0x1641ec=_0x3e73b2;if(!_0x4a3f80)return!0x1;let _0x5e5ba4=_0x3b3743[_0x1641ec(0x20f)](_0x40477b[_0x1641ec(0x4f9)]),{unitId:_0x5072a,tableId:_0x3db804,record:_0x1b8f6b}=_0x4a3f80,_0xa25052=_0x5e5ba4['getUnit'](_0x5072a,_0x40477b['UniverInstanceType'][_0x1641ec(0x2b0)]);if(!_0xa25052||!_0x2b2199(_0xa25052,_0x3db804)||_0xa25052[_0x1641ec(0x3ab)]()[_0x1641ec(0x4be)][_0x3db804]['records'][_0x1b8f6b['id']])return!0x1;let _0x450dc8=_0x3b3743['get'](_0x40477b[_0x1641ec(0x510)]),_0x15f629=_0x3b3743[_0x1641ec(0x20f)](_0x40477b[_0x1641ec(0x4d3)]),_0x4b93c8=_0x3b3743[_0x1641ec(0x20f)](_0x3beb36)[_0x1641ec(0x503)](_0xa25052,_0x3db804,_0x1b8f6b),_0x57a3e7=new _0x3987f0()[_0x1641ec(0x286)](_0xa25052[_0x1641ec(0x3ab)](),_0x4b93c8),_0x2b514e={'unitId':_0x5072a,'op':_0x4b93c8},_0x5559b0={'unitId':_0x5072a,'op':_0x57a3e7};return _0x450dc8['syncExecuteCommand'](_0x411445['id'],_0x2b514e)?(_0x5e5ba4[_0x1641ec(0x4b8)](_0x5072a),_0x15f629[_0x1641ec(0x29f)]({'unitID':_0x5072a,'undoMutations':[{'id':_0x411445['id'],'params':_0x5559b0}],'redoMutations':[{'id':_0x411445['id'],'params':_0x2b514e}]}),!0x0):!0x1;}},_0x40f2e9={'id':'base.command.create-base-table','type':_0x40477b[_0x3e73b2(0x300)]['COMMAND'],'handler':(_0x2c7cfb,_0x28f5e3)=>{const _0x50d2d1=_0x3e73b2;if(!_0x28f5e3)return!0x1;let _0x30facf=_0x2c7cfb['get'](_0x40477b[_0x50d2d1(0x4f9)]),{unitId:_0x535f54,table:_0x1961e0,index:_0x3775d6}=_0x28f5e3,_0x49512b=_0x30facf[_0x50d2d1(0x37b)](_0x535f54,_0x40477b[_0x50d2d1(0x313)][_0x50d2d1(0x2b0)]);if(!_0x49512b||_0x49512b[_0x50d2d1(0x3ab)]()[_0x50d2d1(0x4be)][_0x1961e0['id']])return!0x1;let _0x238423=_0x2c7cfb['get'](_0x40477b[_0x50d2d1(0x510)]),_0x40b5f9=_0x2c7cfb[_0x50d2d1(0x20f)](_0x40477b[_0x50d2d1(0x4d3)]),_0x1e4a27=_0x49512b[_0x50d2d1(0x3ab)](),_0x3b9d73={..._0x1961e0,'name':_0x49512b[_0x50d2d1(0x484)](_0x1961e0[_0x50d2d1(0x33c)])},_0x555892=new _0x54caa1()[_0x50d2d1(0x2bb)](_0x1e4a27,_0x3b9d73,_0x3775d6),_0x1792b5=new _0x3987f0()[_0x50d2d1(0x286)](_0x1e4a27,_0x555892),_0x5323c5={'unitId':_0x535f54,'op':_0x555892},_0xbb22ac={'unitId':_0x535f54,'op':_0x1792b5};return _0x238423[_0x50d2d1(0x284)](_0x411445['id'],_0x5323c5)?(_0x30facf[_0x50d2d1(0x4b8)](_0x535f54),_0x40b5f9[_0x50d2d1(0x29f)]({'unitID':_0x535f54,'undoMutations':[{'id':_0x411445['id'],'params':_0xbb22ac}],'redoMutations':[{'id':_0x411445['id'],'params':_0x5323c5}]}),!0x0):!0x1;}};function _0x1a2d0d(_0x46188f,_0x5bf87f,_0x3b987d=[]){const _0xc808c2=_0x3e73b2;let _0xd97950=new Set([...Object[_0xc808c2(0x318)](_0x46188f['fields'])['filter'](_0x45f4e7=>_0x45f4e7)[_0xc808c2(0x2ea)](_0x4b9216=>_0x4b9216['name']),..._0x3b987d['map'](_0x135439=>_0x135439['name'])]);if(!_0xd97950[_0xc808c2(0x23b)](_0x5bf87f))return _0x5bf87f;let _0x48889b=0x2;for(;_0xd97950[_0xc808c2(0x23b)](_0x5bf87f+'\x20'+_0x48889b);)_0x48889b++;return _0x5bf87f+'\x20'+_0x48889b;}function _0x5a95b1(_0x5cdfb9,_0x3cc3b1){const _0x48271b=_0x3e73b2;if(!_0x5cdfb9||!_0x3cc3b1[_0x48271b(0x49a)])return;let _0x3f4d57=[..._0x5cdfb9];return _0x3cc3b1[_0x48271b(0x23d)](_0x1d8668=>{const _0x3aa397=_0x48271b;_0x3f4d57['includes'](_0x1d8668)||_0x3f4d57[_0x3aa397(0x36f)](_0x1d8668);}),_0x3f4d57;}let _0x1aec28={'options':[{'id':_0x3e73b2(0x459),'name':_0x3e73b2(0x2d7),'color':_0x3e73b2(0x463)},{'id':_0x3e73b2(0x24e),'name':'Doing','color':_0x3e73b2(0x450)},{'id':_0x3e73b2(0x514),'name':_0x3e73b2(0x3af),'color':_0x3e73b2(0x48d)}]},_0x3bcb6b={'locale':'en-US','pattern':_0x3e73b2(0x291),'includeTime':!0x1,'hourCycle':'h24','defaultMode':_0x3e73b2(0x506)};function _0x1d1c30(_0x4af6ee,_0x519f8e,_0x583984,_0x27e352){const _0x1247c5=_0x3e73b2;var _0x1e9cdc;let _0x56dce1=new _0x54caa1(),_0x1c999a=_0x4af6ee[_0x1247c5(0x4be)][_0x519f8e];if(_0x1c999a&&_0x583984[_0x1247c5(0x357)]===_0x1247c5(0x32a)){var _0x26906b;let _0x1b1ae7=_0x58eeb6(_0x1c999a,_0x583984),_0x72729d=_0x1b1ae7[_0x1247c5(0x232)]?{..._0x583984,'config':_0x1b1ae7[_0x1247c5(0x4c3)],'fieldOrder':(_0x26906b=_0x1b1ae7[_0x1247c5(0x373)])==null?_0x583984[_0x1247c5(0x373)]:_0x26906b}:_0x583984;return _0x265795([..._0x1b1ae7[_0x1247c5(0x431)][_0x1247c5(0x2ea)](_0x3ac555=>_0x56dce1[_0x1247c5(0x4a5)](_0x4af6ee,_0x519f8e,{'field':_0x3ac555})),_0x56dce1['createView'](_0x4af6ee,_0x519f8e,_0x72729d,_0x27e352)]);}if(!_0x1c999a||_0x583984[_0x1247c5(0x357)]!=='calendar'&&_0x583984[_0x1247c5(0x357)]!=='gantt')return _0x56dce1['createView'](_0x4af6ee,_0x519f8e,_0x583984,_0x27e352);let _0x2ed47f=_0x36365e(_0x1c999a,_0x583984),_0x41e17d=_0x2ed47f[_0x1247c5(0x232)]?{..._0x583984,'config':_0x2ed47f[_0x1247c5(0x4c3)],'fieldOrder':(_0x1e9cdc=_0x2ed47f[_0x1247c5(0x373)])==null?_0x583984['fieldOrder']:_0x1e9cdc}:_0x583984;return _0x583984[_0x1247c5(0x357)]==='gantt'&&_0x1e727c(_0x583984)&&(_0x41e17d=_0x437a68(_0x1c999a,_0x41e17d,_0x2ed47f[_0x1247c5(0x431)])),_0x265795([..._0x2ed47f[_0x1247c5(0x431)][_0x1247c5(0x2ea)](_0x635542=>_0x56dce1['createField'](_0x4af6ee,_0x519f8e,{'field':_0x635542})),_0x56dce1[_0x1247c5(0x3e6)](_0x4af6ee,_0x519f8e,_0x41e17d,_0x27e352)]);}function _0x36365e(_0x4108c3,_0x8083a5,_0x292cf2=!0x1){const _0x32602b=_0x3e73b2;var _0x47878b,_0xceae53,_0x40e2c4,_0x55c2be;let _0x555996=_0x4108c3['fieldOrder'][_0x32602b(0x3f6)](_0x4d0c22=>_0x21ec1d(_0x4108c3,_0x4d0c22)),_0x2d3ea7=[],_0x3463bb={...(_0x47878b=_0x8083a5[_0x32602b(0x4c3)])==null?{}:_0x47878b},_0x6764b4=typeof _0x3463bb[_0x32602b(0x312)]==_0x32602b(0x394)&&_0x21ec1d(_0x4108c3,_0x3463bb['startDateFieldId'])?_0x3463bb[_0x32602b(0x312)]:_0x555996[0x0],_0x3654b8=typeof _0x3463bb[_0x32602b(0x1fe)]==_0x32602b(0x394)&&_0x21ec1d(_0x4108c3,_0x3463bb[_0x32602b(0x1fe)])&&_0x3463bb['endDateFieldId']!==_0x6764b4?_0x3463bb[_0x32602b(0x1fe)]:_0x555996['find'](_0x2ae96d=>_0x2ae96d!==_0x6764b4);if(!_0x6764b4){let _0x477c5c=_0x3a2e53(_0x4108c3,_0x2d3ea7,_0x8083a5[_0x32602b(0x357)]===_0x32602b(0x221)?_0x32602b(0x299):_0x32602b(0x48b));_0x2d3ea7[_0x32602b(0x36f)](_0x477c5c),_0x6764b4=_0x477c5c['id'];}if((_0x8083a5[_0x32602b(0x357)]===_0x32602b(0x221)||_0x292cf2)&&!_0x3654b8){let _0x58e1b4=_0x3a2e53(_0x4108c3,_0x2d3ea7,_0x32602b(0x24b));_0x2d3ea7['push'](_0x58e1b4),_0x3654b8=_0x58e1b4['id'];}if(_0x8083a5[_0x32602b(0x357)]===_0x32602b(0x23f)&&!_0x3654b8&&delete _0x3463bb[_0x32602b(0x1fe)],_0x3463bb[_0x32602b(0x312)]=_0x6764b4,_0x8083a5[_0x32602b(0x357)]==='calendar'&&_0x3654b8&&(_0x3463bb['endDateFieldId']=_0x3654b8),_0x8083a5[_0x32602b(0x357)]===_0x32602b(0x221)){var _0x584785;_0x3463bb[_0x32602b(0x1fe)]=(_0x584785=_0x3654b8)==null?_0x6764b4:_0x584785;}let _0x502115=_0x5a95b1(_0x8083a5[_0x32602b(0x373)],_0x2d3ea7['map'](_0x43c230=>_0x43c230['id']));return{'changed':_0x2d3ea7['length']>0x0||_0x3463bb['startDateFieldId']!==((_0xceae53=_0x8083a5[_0x32602b(0x4c3)])==null?void 0x0:_0xceae53['startDateFieldId'])||_0x3463bb[_0x32602b(0x1fe)]!==((_0x40e2c4=_0x8083a5[_0x32602b(0x4c3)])==null?void 0x0:_0x40e2c4[_0x32602b(0x1fe)])||!!(_0x502115&&!_0x40477b['Tools'][_0x32602b(0x418)](_0x502115,(_0x55c2be=_0x8083a5[_0x32602b(0x373)])==null?[]:_0x55c2be)),'fields':_0x2d3ea7,'config':_0x3463bb,'fieldOrder':_0x502115};}function _0x58eeb6(_0x4e27fd,_0x16ebac){const _0x5a289e=_0x3e73b2;var _0x388496,_0x51b958,_0x19655d;let _0x3b2479=[],_0x5a8f04={...(_0x388496=_0x16ebac[_0x5a289e(0x4c3)])==null?{}:_0x388496},_0x1d08d3=typeof _0x5a8f04[_0x5a289e(0x3fa)]==_0x5a289e(0x394)&&_0x34eb54(_0x4e27fd,_0x5a8f04[_0x5a289e(0x3fa)])?_0x5a8f04[_0x5a289e(0x3fa)]:_0x4e27fd[_0x5a289e(0x373)]['find'](_0x2c1d39=>_0x34eb54(_0x4e27fd,_0x2c1d39));if(!_0x1d08d3){let _0x47477c=_0x37214f(_0x4e27fd,_0x3b2479);_0x3b2479['push'](_0x47477c),_0x1d08d3=_0x47477c['id'];}_0x5a8f04[_0x5a289e(0x3fa)]=_0x1d08d3;let _0x4881de=_0x5a95b1(_0x16ebac['fieldOrder'],_0x3b2479['map'](_0x4f8f53=>_0x4f8f53['id']));return{'changed':_0x3b2479[_0x5a289e(0x49a)]>0x0||_0x5a8f04[_0x5a289e(0x3fa)]!==((_0x51b958=_0x16ebac[_0x5a289e(0x4c3)])==null?void 0x0:_0x51b958[_0x5a289e(0x3fa)])||!!(_0x4881de&&!_0x40477b[_0x5a289e(0x248)]['diffValue'](_0x4881de,(_0x19655d=_0x16ebac[_0x5a289e(0x373)])==null?[]:_0x19655d)),'fields':_0x3b2479,'config':_0x5a8f04,'fieldOrder':_0x4881de};}function _0x34eb54(_0x327330,_0x28eac2){const _0x4adf63=_0x3e73b2;let _0x448acf=_0x28eac2?_0x327330[_0x4adf63(0x431)][_0x28eac2]:null;return _0x448acf?[_0x40477b[_0x4adf63(0x3dc)]['SingleSelect'],_0x40477b['BaseFieldType'][_0x4adf63(0x2e1)],_0x40477b[_0x4adf63(0x3dc)]['Rating'],_0x40477b['BaseFieldType']['Person'],_0x40477b[_0x4adf63(0x3dc)]['Group'],_0x40477b['BaseFieldType'][_0x4adf63(0x22e)]][_0x4adf63(0x238)](_0x448acf[_0x4adf63(0x357)]):!0x1;}function _0x37214f(_0x38ebd5,_0x5af88c){const _0x1823ff=_0x3e73b2;return{'id':'fld-'+(0x0,_0x40477b[_0x1823ff(0x205)])(0x8),'name':_0x1a2d0d(_0x38ebd5,'Status',_0x5af88c),'type':_0x40477b[_0x1823ff(0x3dc)][_0x1823ff(0x2e5)],'config':_0x40477b[_0x1823ff(0x248)][_0x1823ff(0x3ca)](_0x1aec28)};}function _0x1e727c(_0x10d300){const _0x27d207=_0x3e73b2;var _0x4f33fc,_0x186e57;return Object[_0x27d207(0x4f5)]((_0x4f33fc=_0x10d300[_0x27d207(0x4c3)])==null?{}:_0x4f33fc)['length']===0x0&&Object['keys']((_0x186e57=_0x10d300['fieldSettings'])==null?{}:_0x186e57)[_0x27d207(0x49a)]===0x0;}function _0x437a68(_0x34c053,_0xcc61f2,_0x176dcf){const _0x52bf8d=_0x3e73b2;var _0x4eec2f;let _0x469563={...(_0x4eec2f=_0xcc61f2[_0x52bf8d(0x4c3)])==null?{}:_0x4eec2f},_0x2c4e65=_0x176dcf[_0x52bf8d(0x2ea)](_0x25f735=>_0x25f735['id']),_0x28fa6e=[..._0x34c053[_0x52bf8d(0x373)],..._0x2c4e65],_0xf1c7c4=typeof _0x469563[_0x52bf8d(0x4ff)]==_0x52bf8d(0x394)&&_0x3b6d8b(_0x34c053,_0x176dcf,_0x469563[_0x52bf8d(0x4ff)])?_0x469563[_0x52bf8d(0x4ff)]:_0x34c053[_0x52bf8d(0x43d)],_0x5dc72e=typeof _0x469563[_0x52bf8d(0x312)]==_0x52bf8d(0x394)?_0x469563[_0x52bf8d(0x312)]:'',_0x23377d=typeof _0x469563[_0x52bf8d(0x1fe)]==_0x52bf8d(0x394)?_0x469563[_0x52bf8d(0x1fe)]:_0x5dc72e,_0x288798=new Set([_0xf1c7c4,_0x5dc72e,_0x23377d]['filter'](_0x2dfd45=>_0x2dfd45&&_0x3b6d8b(_0x34c053,_0x176dcf,_0x2dfd45))),_0x584681=Object[_0x52bf8d(0x305)](_0x28fa6e['flatMap'](_0x3ca3a1=>_0x288798[_0x52bf8d(0x23b)](_0x3ca3a1)||!_0x3b6d8b(_0x34c053,_0x176dcf,_0x3ca3a1)?[]:[[_0x3ca3a1,{'hidden':!0x0}]]));return{..._0xcc61f2,'config':{..._0x469563,'titleFieldId':_0xf1c7c4},'fieldSettings':_0x584681};}function _0x3b6d8b(_0xa7ea91,_0x1142fd,_0x313894){const _0x17c004=_0x3e73b2;var _0x38a4d7;return!!((_0x38a4d7=_0xa7ea91[_0x17c004(0x431)][_0x313894])==null?_0x1142fd[_0x17c004(0x39b)](_0x2a4d75=>_0x2a4d75['id']===_0x313894):_0x38a4d7)&&!0x0;}function _0x21ec1d(_0x3105bc,_0x149bff){const _0x3986e8=_0x3e73b2;let _0x31f9a3=_0x149bff?_0x3105bc[_0x3986e8(0x431)][_0x149bff]:null;return!!_0x31f9a3&&_0x31f9a3['type']===_0x40477b[_0x3986e8(0x3dc)][_0x3986e8(0x48b)]&&_0x31f9a3[_0x3986e8(0x203)]!==!0x0&&_0x31f9a3[_0x3986e8(0x3fd)]!==!0x0;}function _0x3a2e53(_0x5891b1,_0x43412b,_0x1b8f52){const _0x2e188d=_0x3e73b2;let _0x3ff7d6=new Set([...Object[_0x2e188d(0x4f5)](_0x5891b1[_0x2e188d(0x431)]),..._0x43412b[_0x2e188d(0x2ea)](_0x2d2cdb=>_0x2d2cdb['id'])]),_0xc77e6f=_0x2e188d(0x42a)+(0x0,_0x40477b[_0x2e188d(0x205)])(0x8);for(;_0x3ff7d6['has'](_0xc77e6f);)_0xc77e6f=_0x2e188d(0x42a)+(0x0,_0x40477b[_0x2e188d(0x205)])(0x8);return{'id':_0xc77e6f,'name':_0x1a2d0d(_0x5891b1,_0x1b8f52,_0x43412b),'type':_0x40477b[_0x2e188d(0x3dc)][_0x2e188d(0x48b)],'config':{..._0x3bcb6b}};}let _0x9e43fa={'id':_0x3e73b2(0x3b7),'type':_0x40477b[_0x3e73b2(0x300)][_0x3e73b2(0x308)],'handler':(_0x5685d8,_0x3b389a)=>{const _0x3c59ba=_0x3e73b2;if(!_0x3b389a)return!0x1;let _0x2c3e5a=_0x5685d8[_0x3c59ba(0x20f)](_0x40477b[_0x3c59ba(0x4f9)]),{unitId:_0x291ec4,tableId:_0x2012af,view:_0x147a86,index:_0x2a8efb}=_0x3b389a,_0x56de9c=_0x2c3e5a[_0x3c59ba(0x37b)](_0x291ec4,_0x40477b[_0x3c59ba(0x313)][_0x3c59ba(0x2b0)]);if(!_0x56de9c||!_0x2b2199(_0x56de9c,_0x2012af)||_0x56de9c[_0x3c59ba(0x3ab)]()[_0x3c59ba(0x4be)][_0x2012af][_0x3c59ba(0x2f4)][_0x147a86['id']])return!0x1;let _0x514b06=_0x5685d8['get'](_0x40477b[_0x3c59ba(0x510)]),_0x580d17=_0x5685d8[_0x3c59ba(0x20f)](_0x40477b[_0x3c59ba(0x4d3)]),_0x93ba6e=_0x56de9c[_0x3c59ba(0x3ab)](),_0x4e3a00=_0x1d1c30(_0x93ba6e,_0x2012af,_0x147a86,_0x2a8efb),_0xbc19c6=new _0x3987f0()['invertOp'](_0x93ba6e,_0x4e3a00),_0x553dd5={'unitId':_0x291ec4,'op':_0x4e3a00},_0x2e4763={'unitId':_0x291ec4,'op':_0xbc19c6};return _0x514b06['syncExecuteCommand'](_0x411445['id'],_0x553dd5)?(_0x2c3e5a[_0x3c59ba(0x4b8)](_0x291ec4),_0x580d17[_0x3c59ba(0x29f)]({'unitID':_0x291ec4,'undoMutations':[{'id':_0x411445['id'],'params':_0x2e4763}],'redoMutations':[{'id':_0x411445['id'],'params':_0x553dd5}]}),!0x0):!0x1;}},_0x1b91c6={'id':_0x3e73b2(0x29c),'type':_0x40477b[_0x3e73b2(0x300)][_0x3e73b2(0x308)],'handler'(_0x223873,_0x5cedfc){const _0xc1b67b=_0x3e73b2;if(!_0x5cedfc)return!0x1;let _0x5b43fd=_0x223873[_0xc1b67b(0x20f)](_0x40477b[_0xc1b67b(0x4f9)]),{unitId:_0x5b69f2,tableId:_0x4baf8e,fieldId:_0x42b3c7}=_0x5cedfc,_0x3f4386=_0x5b43fd[_0xc1b67b(0x37b)](_0x5b69f2,_0x40477b[_0xc1b67b(0x313)][_0xc1b67b(0x2b0)]);if(!_0x3f4386)return!0x1;let _0x222bbb=_0x3f4386['getSnapshot'](),_0x5edd20=_0x222bbb[_0xc1b67b(0x4be)][_0x4baf8e];if(!_0x2b2199(_0x3f4386,_0x4baf8e,{'fieldIds':[_0x42b3c7]})||_0x5edd20['primaryFieldId']===_0x42b3c7)return!0x1;let _0x1cfe78=_0x223873['get'](_0x40477b['ICommandService']),_0x156eac=_0x223873['get'](_0x40477b[_0xc1b67b(0x4d3)]),_0x3f1405=new _0x54caa1()[_0xc1b67b(0x23c)](_0x222bbb,_0x4baf8e,_0x42b3c7),_0x1eafec=new _0x3987f0()[_0xc1b67b(0x286)](_0x222bbb,_0x3f1405),_0x49c0c0={'unitId':_0x5b69f2,'op':_0x3f1405},_0x30fe49={'unitId':_0x5b69f2,'op':_0x1eafec};return _0x1cfe78['syncExecuteCommand'](_0x411445['id'],_0x49c0c0)?(_0x5b43fd[_0xc1b67b(0x4b8)](_0x5b69f2),_0x156eac[_0xc1b67b(0x29f)]({'unitID':_0x5b69f2,'undoMutations':[{'id':_0x411445['id'],'params':_0x30fe49}],'redoMutations':[{'id':_0x411445['id'],'params':_0x49c0c0}]}),!0x0):!0x1;}},_0x589bef={'id':_0x3e73b2(0x21f),'type':_0x40477b[_0x3e73b2(0x300)][_0x3e73b2(0x308)],'handler':(_0x45ab2f,_0x53e74a)=>{const _0xe7a362=_0x3e73b2;if(!_0x53e74a)return!0x1;let _0x445e61=_0x45ab2f[_0xe7a362(0x20f)](_0x40477b[_0xe7a362(0x4f9)]),{unitId:_0x401c07,tableId:_0x1a3adb,recordId:_0x3962d2}=_0x53e74a,_0x1e4c6c=_0x445e61[_0xe7a362(0x37b)](_0x401c07,_0x40477b[_0xe7a362(0x313)][_0xe7a362(0x2b0)]);if(!_0x1e4c6c||!_0x2b2199(_0x1e4c6c,_0x1a3adb,{'recordIds':[_0x3962d2]}))return!0x1;let _0x5cbc3b=_0x45ab2f[_0xe7a362(0x20f)](_0x40477b[_0xe7a362(0x510)]),_0x4908fe=_0x45ab2f[_0xe7a362(0x20f)](_0x40477b['IUndoRedoService']),_0x5b9662=_0x1e4c6c['getSnapshot'](),_0x11713b=new _0x54caa1()[_0xe7a362(0x444)](_0x5b9662,_0x1a3adb,_0x3962d2),_0x1ff79d=new _0x3987f0()[_0xe7a362(0x286)](_0x5b9662,_0x11713b),_0xdaf329={'unitId':_0x401c07,'op':_0x11713b},_0xa95075={'unitId':_0x401c07,'op':_0x1ff79d};return _0x5cbc3b[_0xe7a362(0x284)](_0x411445['id'],_0xdaf329)?(_0x445e61['focusUnit'](_0x401c07),_0x4908fe[_0xe7a362(0x29f)]({'unitID':_0x401c07,'undoMutations':[{'id':_0x411445['id'],'params':_0xa95075}],'redoMutations':[{'id':_0x411445['id'],'params':_0xdaf329}]}),!0x0):!0x1;}},_0xa9badd={'id':_0x3e73b2(0x47d),'type':_0x40477b[_0x3e73b2(0x300)][_0x3e73b2(0x308)],'handler':(_0x2fec01,_0x31a70f)=>{const _0x15265f=_0x3e73b2;if(!_0x31a70f)return!0x1;let _0x5adbbe=_0x2fec01[_0x15265f(0x20f)](_0x40477b[_0x15265f(0x4f9)]),{unitId:_0x2e486c,tableId:_0x17bf84}=_0x31a70f,_0x43128e=_0x5adbbe[_0x15265f(0x37b)](_0x2e486c,_0x40477b[_0x15265f(0x313)][_0x15265f(0x2b0)]);if(!_0x43128e||!_0x2b2199(_0x43128e,_0x17bf84))return!0x1;let _0x28ed64=_0x2fec01[_0x15265f(0x20f)](_0x40477b[_0x15265f(0x510)]),_0x48d41e=_0x2fec01[_0x15265f(0x20f)](_0x40477b[_0x15265f(0x4d3)]),_0x242eec=_0x43128e[_0x15265f(0x3ab)](),_0x32a36e=new _0x54caa1()[_0x15265f(0x3b5)](_0x242eec,_0x17bf84),_0x13141c=new _0x3987f0()[_0x15265f(0x286)](_0x242eec,_0x32a36e),_0xac3847={'unitId':_0x2e486c,'op':_0x32a36e},_0x683cd6={'unitId':_0x2e486c,'op':_0x13141c};return _0x28ed64[_0x15265f(0x284)](_0x411445['id'],_0xac3847)?(_0x5adbbe[_0x15265f(0x4b8)](_0x2e486c),_0x48d41e[_0x15265f(0x29f)]({'unitID':_0x2e486c,'undoMutations':[{'id':_0x411445['id'],'params':_0x683cd6}],'redoMutations':[{'id':_0x411445['id'],'params':_0xac3847}]}),!0x0):!0x1;}},_0x19a2d8={'id':_0x3e73b2(0x46f),'type':_0x40477b[_0x3e73b2(0x300)][_0x3e73b2(0x308)],'handler':(_0x11cf5a,_0x4eceff)=>{const _0x27ae02=_0x3e73b2;if(!_0x4eceff)return!0x1;let _0x265d73=_0x11cf5a[_0x27ae02(0x20f)](_0x40477b[_0x27ae02(0x4f9)]),{unitId:_0x1b2d9a,tableId:_0xe2d5af,viewId:_0x1463ed}=_0x4eceff,_0x49b4cc=_0x265d73[_0x27ae02(0x37b)](_0x1b2d9a,_0x40477b[_0x27ae02(0x313)][_0x27ae02(0x2b0)]);if(!_0x49b4cc||!_0x2b2199(_0x49b4cc,_0xe2d5af,{'viewIds':[_0x1463ed]}))return!0x1;let _0x503053=_0x11cf5a[_0x27ae02(0x20f)](_0x40477b[_0x27ae02(0x510)]),_0x55eb05=_0x11cf5a['get'](_0x40477b[_0x27ae02(0x4d3)]),_0xf68433=_0x49b4cc['getSnapshot'](),_0x51ad16=new _0x54caa1()[_0x27ae02(0x214)](_0xf68433,_0xe2d5af,_0x1463ed),_0x2bb490=new _0x3987f0()[_0x27ae02(0x286)](_0xf68433,_0x51ad16),_0x42f396={'unitId':_0x1b2d9a,'op':_0x51ad16},_0x199859={'unitId':_0x1b2d9a,'op':_0x2bb490};return _0x503053[_0x27ae02(0x284)](_0x411445['id'],_0x42f396)?(_0x265d73['focusUnit'](_0x1b2d9a),_0x55eb05[_0x27ae02(0x29f)]({'unitID':_0x1b2d9a,'undoMutations':[{'id':_0x411445['id'],'params':_0x199859}],'redoMutations':[{'id':_0x411445['id'],'params':_0x42f396}]}),!0x0):!0x1;}},_0x4996c1={'id':_0x3e73b2(0x441),'type':_0x40477b[_0x3e73b2(0x300)][_0x3e73b2(0x308)],'handler':(_0x7d6e2f,_0x2ecc27)=>{const _0x62aca2=_0x3e73b2;if(!_0x2ecc27)return!0x1;let _0x38e582=_0x7d6e2f['get'](_0x40477b[_0x62aca2(0x4f9)]),{unitId:_0x10eca3,tableId:_0x7b4011,sourceFieldId:_0x1bd06c,field:_0x26e35e,index:_0x37b390,viewIndexes:_0x374e38}=_0x2ecc27,_0x4efabb=_0x38e582[_0x62aca2(0x37b)](_0x10eca3,_0x40477b['UniverInstanceType'][_0x62aca2(0x2b0)]);if(!_0x4efabb||!_0x2b2199(_0x4efabb,_0x7b4011,{'fieldIds':[_0x1bd06c]})||_0x4efabb[_0x62aca2(0x3ab)]()[_0x62aca2(0x4be)][_0x7b4011][_0x62aca2(0x431)][_0x26e35e['id']])return!0x1;let _0x5dfe5f=_0x7d6e2f[_0x62aca2(0x20f)](_0x40477b[_0x62aca2(0x510)]),_0x4c4c7a=_0x7d6e2f['get'](_0x40477b[_0x62aca2(0x4d3)]),_0x450ac0=_0x4efabb[_0x62aca2(0x3ab)](),_0x193d39=new _0x54caa1()[_0x62aca2(0x375)](_0x450ac0,_0x7b4011,_0x1bd06c,{'field':_0x26e35e,'index':_0x37b390,'viewIndexes':_0x374e38}),_0x1f0a0b=new _0x3987f0()[_0x62aca2(0x286)](_0x450ac0,_0x193d39),_0x40582e={'unitId':_0x10eca3,'op':_0x193d39},_0x184737={'unitId':_0x10eca3,'op':_0x1f0a0b};return _0x5dfe5f['syncExecuteCommand'](_0x411445['id'],_0x40582e)?(_0x38e582[_0x62aca2(0x4b8)](_0x10eca3),_0x4c4c7a[_0x62aca2(0x29f)]({'unitID':_0x10eca3,'undoMutations':[{'id':_0x411445['id'],'params':_0x184737}],'redoMutations':[{'id':_0x411445['id'],'params':_0x40582e}]}),!0x0):!0x1;}},_0x185eef={'id':_0x3e73b2(0x3f8),'type':_0x40477b[_0x3e73b2(0x300)]['COMMAND'],'handler':(_0x54e946,_0x2f046c)=>{const _0x3e8fb5=_0x3e73b2;if(!_0x2f046c)return!0x1;let _0x31c08f=_0x54e946[_0x3e8fb5(0x20f)](_0x40477b['IUniverInstanceService']),{unitId:_0x1ac29e,tableId:_0x2c8f14,sourceRecordId:_0x473d69,record:_0x3e8532}=_0x2f046c,_0x41b163=_0x31c08f['getUnit'](_0x1ac29e,_0x40477b[_0x3e8fb5(0x313)]['UNIVER_BASE']);if(!_0x41b163||!_0x2b2199(_0x41b163,_0x2c8f14,{'recordIds':[_0x473d69]})||_0x41b163[_0x3e8fb5(0x3ab)]()[_0x3e8fb5(0x4be)][_0x2c8f14][_0x3e8fb5(0x464)][_0x3e8532['id']])return!0x1;let _0x58f554=_0x54e946['get'](_0x40477b[_0x3e8fb5(0x510)]),_0x2aee87=_0x54e946['get'](_0x40477b[_0x3e8fb5(0x4d3)]),_0x250714=_0x41b163['getSnapshot'](),_0x1e867c=new _0x54caa1()[_0x3e8fb5(0x40a)](_0x250714,_0x2c8f14,_0x473d69,_0x3e8532),_0x312696=new _0x3987f0()[_0x3e8fb5(0x286)](_0x250714,_0x1e867c),_0x4609ab={'unitId':_0x1ac29e,'op':_0x1e867c},_0x2bd33b={'unitId':_0x1ac29e,'op':_0x312696};return _0x58f554[_0x3e8fb5(0x284)](_0x411445['id'],_0x4609ab)?(_0x31c08f['focusUnit'](_0x1ac29e),_0x2aee87[_0x3e8fb5(0x29f)]({'unitID':_0x1ac29e,'undoMutations':[{'id':_0x411445['id'],'params':_0x2bd33b}],'redoMutations':[{'id':_0x411445['id'],'params':_0x4609ab}]}),!0x0):!0x1;}},_0x194631={'id':_0x3e73b2(0x398),'type':_0x40477b[_0x3e73b2(0x300)][_0x3e73b2(0x308)],'handler'(_0x1cfe92,_0x5cec2a){const _0x61a058=_0x3e73b2;if(!_0x5cec2a)return!0x1;let _0x353181=_0x1cfe92[_0x61a058(0x20f)](_0x40477b[_0x61a058(0x4f9)]),{unitId:_0x3d672c,tableId:_0xd6561a,viewId:_0x429faa,ensureEndDateField:_0x39d04e}=_0x5cec2a,_0x55d441=_0x353181['getUnit'](_0x3d672c,_0x40477b['UniverInstanceType'][_0x61a058(0x2b0)]);if(!_0x55d441||!_0x2b2199(_0x55d441,_0xd6561a,{'viewIds':[_0x429faa]}))return!0x1;let _0x2af02f=_0x55d441['getSnapshot'](),_0x5cbc1e=_0x2af02f[_0x61a058(0x4be)][_0xd6561a],_0x42dcfd=_0x5cbc1e==null?void 0x0:_0x5cbc1e[_0x61a058(0x2f4)][_0x429faa];if(!_0x5cbc1e||!_0x42dcfd||_0x42dcfd['type']!=='calendar'&&_0x42dcfd[_0x61a058(0x357)]!=='gantt')return!0x1;let _0x54103d=_0x36365e(_0x5cbc1e,_0x42dcfd,_0x39d04e===!0x0);if(!_0x54103d['changed'])return!0x1;let _0x255f8f=_0x1cfe92['get'](_0x40477b[_0x61a058(0x510)]),_0x3d59f4=_0x1cfe92[_0x61a058(0x20f)](_0x40477b[_0x61a058(0x4d3)]),_0x3e9fe4=new _0x54caa1(),_0x507e8f=[..._0x54103d[_0x61a058(0x431)][_0x61a058(0x2ea)](_0x4f79a4=>_0x3e9fe4[_0x61a058(0x4a5)](_0x2af02f,_0x5cec2a['tableId'],{'field':_0x4f79a4})),_0x16ec9b([..._0x47f3c3(_0x5cec2a[_0x61a058(0x485)],_0x5cec2a[_0x61a058(0x2d9)]),'config'],_0x42dcfd[_0x61a058(0x4c3)],_0x54103d['config'])];_0x54103d[_0x61a058(0x373)]&&_0x507e8f['push'](_0x16ec9b([..._0x47f3c3(_0x5cec2a[_0x61a058(0x485)],_0x5cec2a[_0x61a058(0x2d9)]),_0x61a058(0x373)],_0x42dcfd[_0x61a058(0x373)],_0x54103d[_0x61a058(0x373)]));let _0x345f0e=_0x265795(_0x507e8f),_0x1c977d=new _0x3987f0()[_0x61a058(0x286)](_0x2af02f,_0x345f0e),_0x52efb0={'unitId':_0x3d672c,'op':_0x345f0e},_0x34e8a4={'unitId':_0x3d672c,'op':_0x1c977d};return _0x255f8f['syncExecuteCommand'](_0x411445['id'],_0x52efb0)?(_0x353181[_0x61a058(0x4b8)](_0x3d672c),_0x3d59f4[_0x61a058(0x29f)]({'unitID':_0x3d672c,'undoMutations':[{'id':_0x411445['id'],'params':_0x34e8a4}],'redoMutations':[{'id':_0x411445['id'],'params':_0x52efb0}]}),!0x0):!0x1;}};function _0x16ec9b(_0x583396,_0x4fec8c,_0xd499d){const _0x291d8c=_0x3e73b2;return _0x4fec8c===void 0x0?_0x40477b[_0x291d8c(0x1f4)]['insertOp'](_0x583396,_0xd499d):_0x40477b['JSON1'][_0x291d8c(0x3b9)](_0x583396,_0x4fec8c,_0xd499d);}function _0x47f3c3(_0x74e843,_0x1ee801){const _0x59b8ba=_0x3e73b2;return[_0x59b8ba(0x4be),_0x74e843,'views',_0x1ee801];}let _0x5bae50={'id':_0x3e73b2(0x2b2),'type':_0x40477b['CommandType'][_0x3e73b2(0x308)],'handler':(_0x410278,_0xcb9cca)=>{const _0x52b86f=_0x3e73b2;var _0x214171;if(!_0xcb9cca)return!0x1;let _0xc78e6=_0x410278['get'](_0x40477b[_0x52b86f(0x4f9)]),{unitId:_0x1dd767,tableId:_0x2dcb55,fieldId:_0x12c737,target:_0xaa27c2}=_0xcb9cca,_0xd2425b=_0xc78e6[_0x52b86f(0x37b)](_0x1dd767,_0x40477b[_0x52b86f(0x313)][_0x52b86f(0x2b0)]),_0xdd0b66=(_0x214171=_0xaa27c2['beforeFieldId'])==null?_0xaa27c2[_0x52b86f(0x47a)]:_0x214171;if(!_0xd2425b||!!_0xaa27c2[_0x52b86f(0x348)]==!!_0xaa27c2[_0x52b86f(0x47a)]||!_0xdd0b66||_0xdd0b66===_0x12c737||!_0x2b2199(_0xd2425b,_0x2dcb55,{'fieldIds':[_0x12c737,_0xdd0b66]}))return!0x1;let _0x5a053b=_0x410278[_0x52b86f(0x20f)](_0x40477b[_0x52b86f(0x510)]),_0x116c87=_0x410278[_0x52b86f(0x20f)](_0x40477b[_0x52b86f(0x4d3)]),_0x437ec7=_0xd2425b['getSnapshot'](),_0x251ce7=new _0x54caa1()[_0x52b86f(0x241)](_0x437ec7,_0x2dcb55,_0x12c737,_0xaa27c2),_0x5dab3f=new _0x3987f0()['invertOp'](_0x437ec7,_0x251ce7),_0x404b86={'unitId':_0x1dd767,'op':_0x251ce7},_0x1342e5={'unitId':_0x1dd767,'op':_0x5dab3f};return _0x5a053b[_0x52b86f(0x284)](_0x411445['id'],_0x404b86)?(_0xc78e6['focusUnit'](_0x1dd767),_0x116c87['pushUndoRedo']({'unitID':_0x1dd767,'undoMutations':[{'id':_0x411445['id'],'params':_0x1342e5}],'redoMutations':[{'id':_0x411445['id'],'params':_0x404b86}]}),!0x0):!0x1;}},_0x19e446={'id':_0x3e73b2(0x4a0),'type':_0x40477b[_0x3e73b2(0x300)]['COMMAND'],'handler':(_0x13e767,_0x437df7)=>{const _0x4f8ce6=_0x3e73b2;var _0x5c326d;if(!_0x437df7)return!0x1;let _0x28056b=_0x13e767[_0x4f8ce6(0x20f)](_0x40477b[_0x4f8ce6(0x4f9)]),{unitId:_0xc9492e,tableId:_0x37dc01,viewId:_0x16b0a0,target:_0x3ef6a5}=_0x437df7,_0x1a691b=_0x28056b['getUnit'](_0xc9492e,_0x40477b[_0x4f8ce6(0x313)][_0x4f8ce6(0x2b0)]),_0x483197=(_0x5c326d=_0x3ef6a5[_0x4f8ce6(0x3c3)])==null?_0x3ef6a5[_0x4f8ce6(0x4f6)]:_0x5c326d;if(!_0x1a691b||!_0x483197||_0x483197===_0x16b0a0||!_0x2b2199(_0x1a691b,_0x37dc01,{'viewIds':[_0x16b0a0,_0x483197]}))return!0x1;let _0x1385d8=_0x13e767[_0x4f8ce6(0x20f)](_0x40477b['ICommandService']),_0x4e7298=_0x13e767['get'](_0x40477b['IUndoRedoService']),_0x2879d2=_0x1a691b[_0x4f8ce6(0x3ab)](),_0x3bdc61=new _0x54caa1()[_0x4f8ce6(0x342)](_0x2879d2,_0x37dc01,_0x16b0a0,_0x3ef6a5),_0x1c27d5=new _0x3987f0()[_0x4f8ce6(0x286)](_0x2879d2,_0x3bdc61),_0x23970b={'unitId':_0xc9492e,'op':_0x3bdc61},_0x5e4730={'unitId':_0xc9492e,'op':_0x1c27d5};return _0x1385d8['syncExecuteCommand'](_0x411445['id'],_0x23970b)?(_0x28056b[_0x4f8ce6(0x4b8)](_0xc9492e),_0x4e7298['pushUndoRedo']({'unitID':_0xc9492e,'undoMutations':[{'id':_0x411445['id'],'params':_0x5e4730}],'redoMutations':[{'id':_0x411445['id'],'params':_0x23970b}]}),!0x0):!0x1;}},_0x56e8c9={'id':_0x3e73b2(0x491),'type':_0x40477b[_0x3e73b2(0x300)][_0x3e73b2(0x308)],'handler':(_0x16e78f,_0x48ae62)=>{const _0xc40d22=_0x3e73b2;if(!_0x48ae62)return!0x1;let _0x273892=_0x16e78f[_0xc40d22(0x20f)](_0x40477b[_0xc40d22(0x4f9)]),{unitId:_0x6167de,tableId:_0x38ab37,name:_0x466ac8}=_0x48ae62,_0x335778=_0x273892[_0xc40d22(0x37b)](_0x6167de,_0x40477b['UniverInstanceType']['UNIVER_BASE']);if(!_0x335778||!_0x2b2199(_0x335778,_0x38ab37))return!0x1;let _0x1dd46c=_0x16e78f[_0xc40d22(0x20f)](_0x40477b[_0xc40d22(0x510)]),_0x516584=_0x16e78f['get'](_0x40477b[_0xc40d22(0x4d3)]),_0x47b7ea=_0x335778['getSnapshot'](),_0x56a4e4=new _0x54caa1()[_0xc40d22(0x2ab)](_0x47b7ea,_0x38ab37,_0x466ac8),_0x29e149=new _0x3987f0()[_0xc40d22(0x286)](_0x47b7ea,_0x56a4e4),_0x34a8e0={'unitId':_0x6167de,'op':_0x56a4e4},_0x19a9fa={'unitId':_0x6167de,'op':_0x29e149};return _0x1dd46c['syncExecuteCommand'](_0x411445['id'],_0x34a8e0)?(_0x273892[_0xc40d22(0x4b8)](_0x6167de),_0x516584[_0xc40d22(0x29f)]({'unitID':_0x6167de,'undoMutations':[{'id':_0x411445['id'],'params':_0x19a9fa}],'redoMutations':[{'id':_0x411445['id'],'params':_0x34a8e0}]}),!0x0):!0x1;}},_0x3d095b={'id':'base.command.rename-base-view','type':_0x40477b['CommandType'][_0x3e73b2(0x308)],'handler':(_0x42eec3,_0x114c4f)=>{const _0x154e51=_0x3e73b2;if(!_0x114c4f)return!0x1;let _0xfe66b6=_0x42eec3[_0x154e51(0x20f)](_0x40477b[_0x154e51(0x4f9)]),{unitId:_0x2db01e,tableId:_0x36b372,viewId:_0x526709,name:_0x3a8122}=_0x114c4f,_0x420e7f=_0xfe66b6['getUnit'](_0x2db01e,_0x40477b[_0x154e51(0x313)][_0x154e51(0x2b0)]);if(!_0x420e7f||!_0x2b2199(_0x420e7f,_0x36b372,{'viewIds':[_0x526709]}))return!0x1;let _0x20cb5c=_0x42eec3['get'](_0x40477b[_0x154e51(0x510)]),_0x48b2da=_0x42eec3[_0x154e51(0x20f)](_0x40477b['IUndoRedoService']),_0x338530=_0x420e7f[_0x154e51(0x3ab)](),_0x125d5e=new _0x54caa1()[_0x154e51(0x337)](_0x338530,_0x36b372,_0x526709,_0x3a8122),_0x34a400=new _0x3987f0()['invertOp'](_0x338530,_0x125d5e),_0x2098df={'unitId':_0x2db01e,'op':_0x125d5e},_0xf56dc3={'unitId':_0x2db01e,'op':_0x34a400};return _0x20cb5c[_0x154e51(0x284)](_0x411445['id'],_0x2098df)?(_0xfe66b6[_0x154e51(0x4b8)](_0x2db01e),_0x48b2da[_0x154e51(0x29f)]({'unitID':_0x2db01e,'undoMutations':[{'id':_0x411445['id'],'params':_0xf56dc3}],'redoMutations':[{'id':_0x411445['id'],'params':_0x2098df}]}),!0x0):!0x1;}},_0x591f15={'id':'base.command.set-base-kanban-group-field','type':_0x40477b[_0x3e73b2(0x300)][_0x3e73b2(0x308)],'handler':(_0x12edc0,_0x1d5f46)=>{const _0x1caff5=_0x3e73b2;if(!_0x1d5f46)return!0x1;let _0x32924b=_0x12edc0['get'](_0x40477b['IUniverInstanceService']),{unitId:_0x6686e2,tableId:_0x79957,viewId:_0x17ba4f,fieldId:_0xba3399}=_0x1d5f46,_0x323824=_0x32924b[_0x1caff5(0x37b)](_0x6686e2,_0x40477b['UniverInstanceType'][_0x1caff5(0x2b0)]);if(!_0x323824||!_0x2b2199(_0x323824,_0x79957,{'viewIds':[_0x17ba4f],'fieldIds':[_0xba3399]}))return!0x1;let _0x2db784=_0x12edc0['get'](_0x40477b[_0x1caff5(0x510)]),_0x5d4cd3=_0x12edc0['get'](_0x40477b['IUndoRedoService']),_0x19a6be=_0x323824['getSnapshot'](),_0x1960d3=new _0x54caa1()[_0x1caff5(0x2ba)](_0x19a6be,_0x79957,_0x17ba4f,{'groupFieldId':_0xba3399}),_0x4c122c=new _0x3987f0()['invertOp'](_0x19a6be,_0x1960d3),_0x412cf2={'unitId':_0x6686e2,'op':_0x1960d3},_0x46fb50={'unitId':_0x6686e2,'op':_0x4c122c};return _0x2db784['syncExecuteCommand'](_0x411445['id'],_0x412cf2)?(_0x32924b[_0x1caff5(0x4b8)](_0x6686e2),_0x5d4cd3[_0x1caff5(0x29f)]({'unitID':_0x6686e2,'undoMutations':[{'id':_0x411445['id'],'params':_0x46fb50}],'redoMutations':[{'id':_0x411445['id'],'params':_0x412cf2}]}),!0x0):!0x1;}},_0x3f97ce={'id':'base.command.set-base-name','type':_0x40477b[_0x3e73b2(0x300)][_0x3e73b2(0x308)],'handler':(_0x352813,_0x20bc4)=>{const _0x38d701=_0x3e73b2;if(!_0x20bc4)return!0x1;let _0x472fd3=_0x352813[_0x38d701(0x20f)](_0x40477b[_0x38d701(0x4f9)]),_0x27eca1=_0x472fd3[_0x38d701(0x37b)](_0x20bc4[_0x38d701(0x2fb)],_0x40477b['UniverInstanceType'][_0x38d701(0x2b0)]);if(!_0x27eca1)return!0x1;let _0x5a71fa=_0x27eca1[_0x38d701(0x3ab)]()[_0x38d701(0x33c)];if(_0x5a71fa===_0x20bc4['name'])return!0x0;let _0x5c68e1=new _0x54caa1(),_0x159972=new _0x3987f0(),_0x15539e=[],_0x2a8395=[],_0x48c717=[_0x27eca1,..._0x472fd3['getAllUnitsForType'](_0x40477b['UniverInstanceType'][_0x38d701(0x2b0)])['filter'](_0x6e747e=>_0x6e747e[_0x38d701(0x209)]()!==_0x20bc4[_0x38d701(0x2fb)])];for(let _0x4722de of _0x48c717){let _0xa01637=_0x4722de[_0x38d701(0x3ab)](),_0x14d8ff=_0x4722de===_0x27eca1?_0x5c68e1[_0x38d701(0x4eb)](_0xa01637,_0x20bc4[_0x38d701(0x33c)]):_0x5c68e1[_0x38d701(0x435)](_0xa01637,_0x5a71fa,_0x20bc4[_0x38d701(0x33c)]);_0x14d8ff&&(_0x15539e[_0x38d701(0x36f)]({'id':_0x411445['id'],'params':{'unitId':_0x4722de[_0x38d701(0x209)](),'op':_0x14d8ff,'trigger':_0x3f97ce['id']}}),_0x2a8395['unshift']({'id':_0x411445['id'],'params':{'unitId':_0x4722de[_0x38d701(0x209)](),'op':_0x159972[_0x38d701(0x286)](_0xa01637,_0x14d8ff),'trigger':_0x3f97ce['id']}}));}let _0x5cd4c0=_0x352813[_0x38d701(0x20f)](_0x40477b[_0x38d701(0x510)]),_0x1aefa0=_0x352813[_0x38d701(0x20f)](_0x40477b[_0x38d701(0x4d3)]),_0x2df876=_0x1aefa0['__tempBatchingUndoRedo'](_0x20bc4[_0x38d701(0x2fb)]);try{return(0x0,_0x40477b['sequenceExecute'])(_0x15539e,_0x5cd4c0)[_0x38d701(0x4b5)]?(_0x472fd3[_0x38d701(0x4b8)](_0x20bc4[_0x38d701(0x2fb)]),_0x1aefa0[_0x38d701(0x29f)]({'unitID':_0x20bc4[_0x38d701(0x2fb)],'undoMutations':_0x2a8395,'redoMutations':_0x15539e}),!0x0):!0x1;}finally{_0x2df876['dispose']();}}},_0x327845={'id':'base.command.set-base-range-values','type':_0x40477b[_0x3e73b2(0x300)][_0x3e73b2(0x308)],'handler'(_0x3efad1,_0x4b70d4){const _0x32105d=_0x3e73b2;if(!_0x4b70d4)return!0x1;let _0x51fbc1=_0x3efad1[_0x32105d(0x20f)](_0x40477b[_0x32105d(0x4f9)]),{unitId:_0x322731,tableId:_0x4566d7,patches:_0x540550}=_0x4b70d4,_0x569d08=_0x51fbc1[_0x32105d(0x37b)](_0x322731,_0x40477b[_0x32105d(0x313)][_0x32105d(0x2b0)]);if(!_0x569d08||!_0x2b2199(_0x569d08,_0x4566d7))return!0x1;let _0x217d27=_0x3efad1[_0x32105d(0x20f)](_0x40477b['ICommandService']),_0x4ac221=_0x3efad1[_0x32105d(0x20f)](_0x40477b[_0x32105d(0x4d3)]),_0x545d81=_0x569d08[_0x32105d(0x3ab)](),_0x3480c7=_0x19d545(_0x545d81[_0x32105d(0x4be)][_0x4566d7]),_0x2acd14=_0x540550[_0x32105d(0x2ea)](_0x38877f=>{const _0x48ee14=_0x32105d;var _0x2cd604;return _0x48ee14(0x3c7)in _0x38877f?_0x38877f[_0x48ee14(0x3c7)]:(_0x2cd604=_0x3480c7[_0x48ee14(0x443)])==null?void 0x0:_0x2cd604[_0x38877f[_0x48ee14(0x367)]];})[_0x32105d(0x3f6)](_0x501e9c=>_0x501e9c!=null),_0xff77d9=_0x540550[_0x32105d(0x2ea)](_0x3a439f=>{const _0x36ff81=_0x32105d;var _0x5bfdbd;return _0x36ff81(0x44a)in _0x3a439f?_0x3a439f[_0x36ff81(0x44a)]:(_0x5bfdbd=_0x3480c7[_0x36ff81(0x362)])==null?void 0x0:_0x5bfdbd[_0x3a439f[_0x36ff81(0x3f0)]];})[_0x32105d(0x3f6)](_0x3418a9=>_0x3418a9!=null);if(_0x2acd14[_0x32105d(0x49a)]!==_0x540550[_0x32105d(0x49a)]||_0xff77d9[_0x32105d(0x49a)]!==_0x540550[_0x32105d(0x49a)]||!_0x2b2199(_0x569d08,_0x4566d7,{'recordIds':_0x2acd14,'fieldIds':_0xff77d9}))return!0x1;let _0x210b04=_0x540550['flatMap'](_0x45d39e=>{const _0x5805d7=_0x32105d;var _0x3b667e,_0x4d50c7;if(_0x5805d7(0x367)in _0x45d39e)return[_0x45d39e];let _0x3a0d37=(_0x3b667e=_0x3480c7[_0x5805d7(0x222)])==null?void 0x0:_0x3b667e[_0x45d39e[_0x5805d7(0x3c7)]],_0x39eedc=(_0x4d50c7=_0x3480c7[_0x5805d7(0x48e)])==null?void 0x0:_0x4d50c7[_0x45d39e[_0x5805d7(0x44a)]];return _0x3a0d37==null||_0x39eedc==null?[]:[{'row':_0x3a0d37,'col':_0x39eedc,'value':_0x45d39e[_0x5805d7(0x3d2)]}];}),_0x97d89=new _0x54caa1()[_0x32105d(0x320)](_0x545d81,_0x4566d7,_0x210b04),_0x43af30=new _0x3987f0()[_0x32105d(0x286)](_0x545d81,_0x97d89),_0x386902={'unitId':_0x322731,'op':_0x97d89},_0x4b8c72={'unitId':_0x322731,'op':_0x43af30};return _0x217d27['syncExecuteCommand'](_0x411445['id'],_0x386902)?(_0x51fbc1[_0x32105d(0x4b8)](_0x322731),_0x4ac221[_0x32105d(0x29f)]({'unitID':_0x322731,'undoMutations':[{'id':_0x411445['id'],'params':_0x4b8c72}],'redoMutations':[{'id':_0x411445['id'],'params':_0x386902}]}),!0x0):!0x1;}},_0x217452={'id':_0x3e73b2(0x1eb),'type':_0x40477b[_0x3e73b2(0x300)][_0x3e73b2(0x308)],'handler'(_0x214d79,_0x425d7e){const _0x49e47c=_0x3e73b2;if(!_0x425d7e)return!0x1;let _0x578369=_0x214d79[_0x49e47c(0x20f)](_0x40477b[_0x49e47c(0x4f9)]),{unitId:_0x209f21,tableId:_0x497043,patches:_0x5a07ed}=_0x425d7e,_0x5156ac=_0x578369[_0x49e47c(0x37b)](_0x209f21,_0x40477b[_0x49e47c(0x313)][_0x49e47c(0x2b0)]),_0x3af3b9=_0x5a07ed[_0x49e47c(0x2ea)](_0x1c96af=>_0x1c96af[_0x49e47c(0x3c7)]),_0x4e87d1=_0x5a07ed[_0x49e47c(0x371)](_0x4dd0bb=>Object[_0x49e47c(0x4f5)](_0x4dd0bb[_0x49e47c(0x318)]));if(!_0x5156ac||!_0x2b2199(_0x5156ac,_0x497043,{'recordIds':_0x3af3b9,'fieldIds':_0x4e87d1}))return!0x1;let _0x292c64=_0x214d79[_0x49e47c(0x20f)](_0x40477b[_0x49e47c(0x510)]),_0x24107d=_0x214d79[_0x49e47c(0x20f)](_0x40477b[_0x49e47c(0x4d3)]),_0x2f0a1b=_0x214d79[_0x49e47c(0x20f)](_0x3beb36)['createSetRecordValuesOp'](_0x5156ac,_0x497043,_0x5a07ed),_0x18a4fe=new _0x3987f0()['invertOp'](_0x5156ac[_0x49e47c(0x3ab)](),_0x2f0a1b),_0x3cba07={'unitId':_0x209f21,'op':_0x2f0a1b},_0x174f30={'unitId':_0x209f21,'op':_0x18a4fe};return _0x292c64[_0x49e47c(0x284)](_0x411445['id'],_0x3cba07)?(_0x578369[_0x49e47c(0x4b8)](_0x209f21),_0x24107d['pushUndoRedo']({'unitID':_0x209f21,'undoMutations':[{'id':_0x411445['id'],'params':_0x174f30}],'redoMutations':[{'id':_0x411445['id'],'params':_0x3cba07}]}),!0x0):!0x1;}},_0x3c900f={'id':'base.command.set-base-view-field-order','type':_0x40477b[_0x3e73b2(0x300)]['COMMAND'],'handler':(_0x154c55,_0x247b56)=>{const _0x17fb32=_0x3e73b2;var _0x554842;if(!_0x247b56)return!0x1;let _0x4d9ce7=_0x154c55['get'](_0x40477b[_0x17fb32(0x4f9)]),{unitId:_0x3612e8,tableId:_0x5cc328,viewId:_0x53ad76,fieldId:_0x46f700,target:_0x3d7ec6}=_0x247b56,_0x41521f=_0x4d9ce7['getUnit'](_0x3612e8,_0x40477b[_0x17fb32(0x313)][_0x17fb32(0x2b0)]),_0x1fe694=(_0x554842=_0x3d7ec6['beforeFieldId'])==null?_0x3d7ec6['afterFieldId']:_0x554842;if(!_0x41521f||!_0x1fe694||_0x1fe694===_0x46f700||!_0x2b2199(_0x41521f,_0x5cc328,{'viewIds':[_0x53ad76],'fieldIds':[_0x46f700,_0x1fe694]}))return!0x1;let _0x50b62e=_0x154c55[_0x17fb32(0x20f)](_0x40477b[_0x17fb32(0x510)]),_0x18ece3=_0x154c55[_0x17fb32(0x20f)](_0x40477b[_0x17fb32(0x4d3)]),_0x3bbc1f=_0x41521f[_0x17fb32(0x3ab)](),_0x20fa1b=new _0x54caa1()[_0x17fb32(0x30c)](_0x3bbc1f,_0x5cc328,_0x53ad76,_0x46f700,_0x3d7ec6),_0x1dbe49=new _0x3987f0()[_0x17fb32(0x286)](_0x3bbc1f,_0x20fa1b),_0x404ad5={'unitId':_0x3612e8,'op':_0x20fa1b},_0x3dc897={'unitId':_0x3612e8,'op':_0x1dbe49};return _0x50b62e['syncExecuteCommand'](_0x411445['id'],_0x404ad5)?(_0x4d9ce7['focusUnit'](_0x3612e8),_0x18ece3['pushUndoRedo']({'unitID':_0x3612e8,'undoMutations':[{'id':_0x411445['id'],'params':_0x3dc897}],'redoMutations':[{'id':_0x411445['id'],'params':_0x404ad5}]}),!0x0):!0x1;}},_0x31488e={'id':_0x3e73b2(0x22c),'type':_0x40477b['CommandType']['COMMAND'],'handler'(_0x188efa,_0xd63d70){const _0x3f5abd=_0x3e73b2;if(!_0xd63d70)return!0x1;let _0x384ad9=_0x188efa[_0x3f5abd(0x20f)](_0x40477b[_0x3f5abd(0x4f9)]),{unitId:_0x54a258,tableId:_0x9033b8,viewId:_0x2915cb,fieldId:_0x16ba93,visible:_0x5b80d8}=_0xd63d70,_0x3e3eeb=_0x384ad9[_0x3f5abd(0x37b)](_0x54a258,_0x40477b['UniverInstanceType'][_0x3f5abd(0x2b0)]);if(!_0x3e3eeb||!_0x2b2199(_0x3e3eeb,_0x9033b8,{'viewIds':[_0x2915cb],'fieldIds':[_0x16ba93]}))return!0x1;let _0x1589ff=_0x188efa[_0x3f5abd(0x20f)](_0x40477b[_0x3f5abd(0x510)]),_0x424f98=_0x188efa[_0x3f5abd(0x20f)](_0x40477b[_0x3f5abd(0x4d3)]),_0x23db70=_0x3e3eeb[_0x3f5abd(0x3ab)](),_0x4568c3=new _0x54caa1()[_0x3f5abd(0x356)](_0x23db70,_0x9033b8,_0x2915cb,_0x16ba93,_0x5b80d8),_0x15ef1b=new _0x3987f0()['invertOp'](_0x23db70,_0x4568c3),_0x69ebd={'unitId':_0x54a258,'op':_0x4568c3},_0x4c4e65={'unitId':_0x54a258,'op':_0x15ef1b};return _0x1589ff['syncExecuteCommand'](_0x411445['id'],_0x69ebd)?(_0x384ad9[_0x3f5abd(0x4b8)](_0x54a258),_0x424f98[_0x3f5abd(0x29f)]({'unitID':_0x54a258,'undoMutations':[{'id':_0x411445['id'],'params':_0x4c4e65}],'redoMutations':[{'id':_0x411445['id'],'params':_0x69ebd}]}),!0x0):!0x1;}},_0x3a7366={'id':_0x3e73b2(0x24d),'type':_0x40477b[_0x3e73b2(0x300)][_0x3e73b2(0x308)],'handler':(_0x2bc7cd,_0x3bccb6)=>{const _0x3a5135=_0x3e73b2;if(!_0x3bccb6)return!0x1;let _0x1adcd3=_0x2bc7cd[_0x3a5135(0x20f)](_0x40477b['IUniverInstanceService']),{unitId:_0x18d26b,tableId:_0x4f4fdf,viewId:_0x513e35,fieldId:_0x41f094,width:_0x445580}=_0x3bccb6,_0x5da989=_0x1adcd3[_0x3a5135(0x37b)](_0x18d26b,_0x40477b[_0x3a5135(0x313)]['UNIVER_BASE']);if(!_0x5da989||!_0x2b2199(_0x5da989,_0x4f4fdf,{'viewIds':[_0x513e35],'fieldIds':[_0x41f094]}))return!0x1;let _0x53950e=_0x2bc7cd[_0x3a5135(0x20f)](_0x40477b[_0x3a5135(0x510)]),_0xb2d901=_0x2bc7cd[_0x3a5135(0x20f)](_0x40477b['IUndoRedoService']),_0x29d7da=_0x5da989[_0x3a5135(0x3ab)](),_0x46a808=new _0x54caa1()[_0x3a5135(0x4d7)](_0x29d7da,_0x4f4fdf,_0x513e35,_0x41f094,_0x445580),_0x581762=new _0x3987f0()['invertOp'](_0x29d7da,_0x46a808),_0x55bd83={'unitId':_0x18d26b,'op':_0x46a808},_0x1c1834={'unitId':_0x18d26b,'op':_0x581762};return _0x53950e['syncExecuteCommand'](_0x411445['id'],_0x55bd83)?(_0x1adcd3[_0x3a5135(0x4b8)](_0x18d26b),_0xb2d901[_0x3a5135(0x29f)]({'unitID':_0x18d26b,'undoMutations':[{'id':_0x411445['id'],'params':_0x1c1834}],'redoMutations':[{'id':_0x411445['id'],'params':_0x55bd83}]}),!0x0):!0x1;}},_0x188ea9={'id':_0x3e73b2(0x4ec),'type':_0x40477b[_0x3e73b2(0x300)]['COMMAND'],'handler':(_0x4fa6c2,_0x35c6d9)=>{const _0x123c75=_0x3e73b2;var _0x43d3ec;if(!_0x35c6d9)return!0x1;let _0x62cf38=_0x4fa6c2[_0x123c75(0x20f)](_0x40477b[_0x123c75(0x4f9)]),{unitId:_0x118c69,tableId:_0x1fce36,viewId:_0x338db1,filter:_0x34b6fe}=_0x35c6d9,_0x55a9e3=_0x62cf38['getUnit'](_0x118c69,_0x40477b[_0x123c75(0x313)]['UNIVER_BASE']),_0x5e08f0=(_0x43d3ec=_0x34b6fe==null?void 0x0:_0x34b6fe[_0x123c75(0x4e1)][_0x123c75(0x2ea)](_0x584b29=>_0x584b29['fieldId']))==null?[]:_0x43d3ec;if(!_0x55a9e3||!_0x2b2199(_0x55a9e3,_0x1fce36,{'viewIds':[_0x338db1],'fieldIds':_0x5e08f0}))return!0x1;let _0x2211e5=_0x4fa6c2['get'](_0x40477b['ICommandService']),_0x40903f=_0x4fa6c2[_0x123c75(0x20f)](_0x40477b['IUndoRedoService']),_0x2df535=_0x55a9e3[_0x123c75(0x3ab)](),_0x150502=new _0x54caa1()[_0x123c75(0x4b0)](_0x2df535,_0x1fce36,_0x338db1,_0x34b6fe),_0x337ec6=new _0x3987f0()[_0x123c75(0x286)](_0x2df535,_0x150502),_0x5a8952={'unitId':_0x118c69,'op':_0x150502},_0x12e106={'unitId':_0x118c69,'op':_0x337ec6};return _0x2211e5[_0x123c75(0x284)](_0x411445['id'],_0x5a8952)?(_0x62cf38[_0x123c75(0x4b8)](_0x118c69),_0x40903f['pushUndoRedo']({'unitID':_0x118c69,'undoMutations':[{'id':_0x411445['id'],'params':_0x12e106}],'redoMutations':[{'id':_0x411445['id'],'params':_0x5a8952}]}),!0x0):!0x1;}},_0x573545={'id':'base.command.set-base-view-group','type':_0x40477b[_0x3e73b2(0x300)][_0x3e73b2(0x308)],'handler':(_0x254f6b,_0x489767)=>{const _0x49c908=_0x3e73b2;if(!_0x489767)return!0x1;let _0x590004=_0x254f6b[_0x49c908(0x20f)](_0x40477b['IUniverInstanceService']),{unitId:_0x5e392d,tableId:_0x58b8e3,viewId:_0x25bd8d,group:_0x3da492}=_0x489767,_0x4fc690=_0x590004[_0x49c908(0x37b)](_0x5e392d,_0x40477b['UniverInstanceType'][_0x49c908(0x2b0)]);if(!_0x4fc690||!_0x2b2199(_0x4fc690,_0x58b8e3,{'viewIds':[_0x25bd8d],'fieldIds':_0x3da492[_0x49c908(0x2ea)](_0x554c4c=>_0x554c4c['fieldId'])}))return!0x1;let _0xa3d90=_0x254f6b[_0x49c908(0x20f)](_0x40477b[_0x49c908(0x510)]),_0x56c1a9=_0x254f6b['get'](_0x40477b[_0x49c908(0x4d3)]),_0x2e1844=_0x4fc690[_0x49c908(0x3ab)](),_0xfa739d=new _0x54caa1()['setViewGroup'](_0x2e1844,_0x58b8e3,_0x25bd8d,_0x3da492),_0x5ac75a=new _0x3987f0()['invertOp'](_0x2e1844,_0xfa739d),_0x3e3989={'unitId':_0x5e392d,'op':_0xfa739d},_0x421215={'unitId':_0x5e392d,'op':_0x5ac75a};return _0xa3d90['syncExecuteCommand'](_0x411445['id'],_0x3e3989)?(_0x590004['focusUnit'](_0x5e392d),_0x56c1a9['pushUndoRedo']({'unitID':_0x5e392d,'undoMutations':[{'id':_0x411445['id'],'params':_0x421215}],'redoMutations':[{'id':_0x411445['id'],'params':_0x3e3989}]}),!0x0):!0x1;}},_0x369a2b={'id':_0x3e73b2(0x400),'type':_0x40477b[_0x3e73b2(0x300)][_0x3e73b2(0x308)],'handler':(_0x5f57cd,_0x655107)=>{const _0xdf212f=_0x3e73b2;if(!_0x655107)return!0x1;let _0x1ddbfc=_0x5f57cd[_0xdf212f(0x20f)](_0x40477b[_0xdf212f(0x4f9)]),{unitId:_0x34ead5,tableId:_0x55be9d,viewId:_0x475fac,sort:_0x5b8ff1}=_0x655107,_0x1d8ed5=_0x1ddbfc[_0xdf212f(0x37b)](_0x34ead5,_0x40477b[_0xdf212f(0x313)]['UNIVER_BASE']);if(!_0x1d8ed5||!_0x2b2199(_0x1d8ed5,_0x55be9d,{'viewIds':[_0x475fac],'fieldIds':_0x5b8ff1[_0xdf212f(0x2ea)](_0x498d93=>_0x498d93[_0xdf212f(0x44a)])}))return!0x1;let _0x4c4e91=_0x5f57cd[_0xdf212f(0x20f)](_0x40477b[_0xdf212f(0x510)]),_0x601e93=_0x5f57cd['get'](_0x40477b[_0xdf212f(0x4d3)]),_0x3c4eae=_0x1d8ed5[_0xdf212f(0x3ab)](),_0x4d47ab=new _0x54caa1()[_0xdf212f(0x1f3)](_0x3c4eae,_0x55be9d,_0x475fac,_0x5b8ff1),_0x2c3734=new _0x3987f0()[_0xdf212f(0x286)](_0x3c4eae,_0x4d47ab),_0x365eab={'unitId':_0x34ead5,'op':_0x4d47ab},_0x56e80e={'unitId':_0x34ead5,'op':_0x2c3734};return _0x4c4e91[_0xdf212f(0x284)](_0x411445['id'],_0x365eab)?(_0x1ddbfc[_0xdf212f(0x4b8)](_0x34ead5),_0x601e93[_0xdf212f(0x29f)]({'unitID':_0x34ead5,'undoMutations':[{'id':_0x411445['id'],'params':_0x56e80e}],'redoMutations':[{'id':_0x411445['id'],'params':_0x365eab}]}),!0x0):!0x1;}},_0x29e034={'id':'base.command.update-base-cell','type':_0x40477b[_0x3e73b2(0x300)]['COMMAND'],'handler'(_0xb1bb40,_0x227037){const _0x2bd3c4=_0x3e73b2;if(!_0x227037)return!0x1;let _0x578173=_0xb1bb40[_0x2bd3c4(0x20f)](_0x40477b[_0x2bd3c4(0x4f9)]),{unitId:_0x5a6de2,tableId:_0x4fdf2b,recordId:_0x289c02,fieldId:_0x4b8bca,value:_0x682ed1}=_0x227037,_0x1083a0=_0x578173[_0x2bd3c4(0x37b)](_0x5a6de2,_0x40477b[_0x2bd3c4(0x313)][_0x2bd3c4(0x2b0)]);if(!_0x1083a0||!_0x2b2199(_0x1083a0,_0x4fdf2b,{'recordIds':[_0x289c02],'fieldIds':[_0x4b8bca]}))return!0x1;let _0x3b3cb1=_0xb1bb40[_0x2bd3c4(0x20f)](_0x40477b['ICommandService']),_0x35aa0c=_0xb1bb40[_0x2bd3c4(0x20f)](_0x40477b['IUndoRedoService']),_0x57c3ff=_0xb1bb40[_0x2bd3c4(0x20f)](_0x3beb36),_0x45bb00;try{_0x45bb00=_0x57c3ff[_0x2bd3c4(0x261)](_0x1083a0,_0x4fdf2b,_0x289c02,_0x4b8bca,_0x682ed1);}catch(_0x4f0f30){return console['error']('Failed\x20to\x20create\x20update\x20cell\x20operation:',_0x4f0f30),!0x1;}let _0x561547=new _0x3987f0()[_0x2bd3c4(0x286)](_0x1083a0['getSnapshot'](),_0x45bb00),_0xd1d4e9={'unitId':_0x5a6de2,'op':_0x45bb00},_0x24fc6c={'unitId':_0x5a6de2,'op':_0x561547};return _0x3b3cb1[_0x2bd3c4(0x284)](_0x411445['id'],_0xd1d4e9)?(_0x578173[_0x2bd3c4(0x4b8)](_0x5a6de2),_0x35aa0c[_0x2bd3c4(0x29f)]({'unitID':_0x5a6de2,'undoMutations':[{'id':_0x411445['id'],'params':_0x24fc6c}],'redoMutations':[{'id':_0x411445['id'],'params':_0xd1d4e9}]}),!0x0):!0x1;}},_0x4735be={'id':_0x3e73b2(0x390),'type':_0x40477b[_0x3e73b2(0x300)][_0x3e73b2(0x308)],'handler'(_0x6d8ad7,_0x532425){const _0x45f1f2=_0x3e73b2;if(!_0x532425)return!0x1;let _0x1c14be=_0x6d8ad7[_0x45f1f2(0x20f)](_0x40477b[_0x45f1f2(0x4f9)]),{unitId:_0x56d5cd,tableId:_0x56315e,fieldId:_0x30d38a}=_0x532425,_0x2e402e=_0x1c14be[_0x45f1f2(0x37b)](_0x56d5cd,_0x40477b['UniverInstanceType'][_0x45f1f2(0x2b0)]);if(!_0x2e402e||!_0x2b2199(_0x2e402e,_0x56315e,{'fieldIds':[_0x30d38a]}))return!0x1;let _0x3da442=_0x6d8ad7[_0x45f1f2(0x20f)](_0x40477b['ICommandService']),_0x4411c3=_0x6d8ad7['get'](_0x40477b['IUndoRedoService']),_0x267eb4=_0x2e402e['getSnapshot'](),_0x31c9eb=_0x532425[_0x45f1f2(0x438)][_0x45f1f2(0x3bb)](),_0x1054bd=new _0x54caa1()['updateField'](_0x267eb4,_0x56315e,_0x30d38a,{'description':_0x31c9eb}),_0x26d887=new _0x3987f0()[_0x45f1f2(0x286)](_0x2e402e[_0x45f1f2(0x3ab)](),_0x1054bd),_0x531a00={'unitId':_0x56d5cd,'op':_0x1054bd},_0x60b2ce={'unitId':_0x56d5cd,'op':_0x26d887};return _0x3da442[_0x45f1f2(0x284)](_0x411445['id'],_0x531a00)?(_0x1c14be[_0x45f1f2(0x4b8)](_0x56d5cd),_0x4411c3[_0x45f1f2(0x29f)]({'unitID':_0x56d5cd,'undoMutations':[{'id':_0x411445['id'],'params':_0x60b2ce}],'redoMutations':[{'id':_0x411445['id'],'params':_0x531a00}]}),!0x0):!0x1;}},_0x1639a2={'id':_0x3e73b2(0x1f9),'type':_0x40477b[_0x3e73b2(0x300)]['COMMAND'],'handler':(_0x217fb8,_0x342859)=>{const _0x3e71e9=_0x3e73b2;if(!_0x342859)return!0x1;let _0x463d9f=_0x217fb8[_0x3e71e9(0x20f)](_0x40477b[_0x3e71e9(0x4f9)]),{unitId:_0x3e30e8,tableId:_0x2ede47,fieldId:_0xfbb8f,patch:_0x271230}=_0x342859,_0x148e0e=_0x463d9f[_0x3e71e9(0x37b)](_0x3e30e8,_0x40477b['UniverInstanceType'][_0x3e71e9(0x2b0)]);if(!_0x148e0e||!_0x2b2199(_0x148e0e,_0x2ede47,{'fieldIds':[_0xfbb8f]}))return!0x1;let _0x30fe3f=_0x217fb8[_0x3e71e9(0x20f)](_0x40477b[_0x3e71e9(0x510)]),_0x1994ac=_0x217fb8[_0x3e71e9(0x20f)](_0x40477b[_0x3e71e9(0x4d3)]),_0x5c50d7=_0x148e0e[_0x3e71e9(0x3ab)](),_0xeae3de=new _0x54caa1()[_0x3e71e9(0x3ba)](_0x5c50d7,_0x2ede47,_0xfbb8f,_0x271230),_0x76894c=new _0x3987f0()['invertOp'](_0x5c50d7,_0xeae3de),_0x51a140={'unitId':_0x3e30e8,'op':_0xeae3de},_0x4cbdce={'unitId':_0x3e30e8,'op':_0x76894c};return _0x30fe3f[_0x3e71e9(0x284)](_0x411445['id'],_0x51a140)?(_0x463d9f[_0x3e71e9(0x4b8)](_0x3e30e8),_0x1994ac[_0x3e71e9(0x29f)]({'unitID':_0x3e30e8,'undoMutations':[{'id':_0x411445['id'],'params':_0x4cbdce}],'redoMutations':[{'id':_0x411445['id'],'params':_0x51a140}]}),!0x0):!0x1;}},_0x212dda={'id':'base.command.update-base-kanban-config','type':_0x40477b[_0x3e73b2(0x300)][_0x3e73b2(0x308)],'handler':(_0x5439a4,_0x41c86a)=>{const _0x70c60b=_0x3e73b2;if(!_0x41c86a)return!0x1;let _0x1022ea=_0x5439a4[_0x70c60b(0x20f)](_0x40477b['IUniverInstanceService']),{unitId:_0x51206b,tableId:_0x4a8156,viewId:_0x4bb052,patch:_0x12ece0}=_0x41c86a,_0x5812f2=_0x1022ea['getUnit'](_0x51206b,_0x40477b[_0x70c60b(0x313)]['UNIVER_BASE']);if(!_0x5812f2||!_0x2b2199(_0x5812f2,_0x4a8156,{'viewIds':[_0x4bb052]}))return!0x1;let _0x9add8=_0x5439a4['get'](_0x40477b['ICommandService']),_0x406d86=_0x5439a4[_0x70c60b(0x20f)](_0x40477b[_0x70c60b(0x4d3)]),_0x517149=_0x5812f2[_0x70c60b(0x3ab)](),_0x3edc26=new _0x54caa1()['updateViewConfig'](_0x517149,_0x4a8156,_0x4bb052,_0x12ece0),_0x4d5d08=new _0x3987f0()['invertOp'](_0x517149,_0x3edc26),_0x11876e={'unitId':_0x51206b,'op':_0x3edc26},_0x1281de={'unitId':_0x51206b,'op':_0x4d5d08};return _0x9add8[_0x70c60b(0x284)](_0x411445['id'],_0x11876e)?(_0x1022ea['focusUnit'](_0x51206b),_0x406d86['pushUndoRedo']({'unitID':_0x51206b,'undoMutations':[{'id':_0x411445['id'],'params':_0x1281de}],'redoMutations':[{'id':_0x411445['id'],'params':_0x11876e}]}),!0x0):!0x1;}},_0xc1e982={'id':_0x3e73b2(0x28f),'type':_0x40477b[_0x3e73b2(0x300)][_0x3e73b2(0x308)],'handler':(_0xaf8f26,_0x28e807)=>{const _0x20da6b=_0x3e73b2;if(!_0x28e807)return!0x1;let _0x344e8a=_0xaf8f26[_0x20da6b(0x20f)](_0x40477b[_0x20da6b(0x4f9)]),{unitId:_0x35dad5,tableId:_0x3ad3d9,recordId:_0x589bab,orderKey:_0x50d725}=_0x28e807,_0x3d764b=_0x344e8a[_0x20da6b(0x37b)](_0x35dad5,_0x40477b['UniverInstanceType'][_0x20da6b(0x2b0)]);if(!_0x3d764b||!_0x2b2199(_0x3d764b,_0x3ad3d9,{'recordIds':[_0x589bab]}))return!0x1;let _0xf6cc15=_0xaf8f26[_0x20da6b(0x20f)](_0x40477b[_0x20da6b(0x510)]),_0x57ced7=_0xaf8f26[_0x20da6b(0x20f)](_0x40477b[_0x20da6b(0x4d3)]),_0x4049a8=_0x3d764b[_0x20da6b(0x3ab)](),_0x4c0999=new _0x54caa1()[_0x20da6b(0x428)](_0x4049a8,_0x3ad3d9,_0x589bab,_0x50d725),_0x34139a=new _0x3987f0()['invertOp'](_0x4049a8,_0x4c0999),_0x93168d={'unitId':_0x35dad5,'op':_0x4c0999},_0x290283={'unitId':_0x35dad5,'op':_0x34139a};return _0xf6cc15['syncExecuteCommand'](_0x411445['id'],_0x93168d)?(_0x344e8a[_0x20da6b(0x4b8)](_0x35dad5),_0x57ced7[_0x20da6b(0x29f)]({'unitID':_0x35dad5,'undoMutations':[{'id':_0x411445['id'],'params':_0x290283}],'redoMutations':[{'id':_0x411445['id'],'params':_0x93168d}]}),!0x0):!0x1;}},_0xe1487b={'id':_0x3e73b2(0x4a9),'type':_0x40477b['CommandType'][_0x3e73b2(0x308)],'handler':(_0x2cd451,_0x4168ba)=>{const _0x41ba47=_0x3e73b2;if(!_0x4168ba)return!0x1;let _0x36ab88=_0x2cd451[_0x41ba47(0x20f)](_0x40477b[_0x41ba47(0x4f9)]),{unitId:_0x2a6489,tableId:_0x20561a,viewId:_0x45c189,patch:_0x2cc8ce}=_0x4168ba,_0x9f6f89=_0x36ab88[_0x41ba47(0x37b)](_0x2a6489,_0x40477b[_0x41ba47(0x313)][_0x41ba47(0x2b0)]);if(!_0x9f6f89||!_0x2b2199(_0x9f6f89,_0x20561a,{'viewIds':[_0x45c189]}))return!0x1;let _0x4151de=_0x2cd451['get'](_0x40477b[_0x41ba47(0x510)]),_0x4e4791=_0x2cd451[_0x41ba47(0x20f)](_0x40477b['IUndoRedoService']),_0x8a3d8a=_0x9f6f89[_0x41ba47(0x3ab)](),_0x3abf2c=new _0x54caa1()[_0x41ba47(0x2ba)](_0x8a3d8a,_0x20561a,_0x45c189,_0x2cc8ce),_0x2058e8=new _0x3987f0()[_0x41ba47(0x286)](_0x8a3d8a,_0x3abf2c),_0x2e8f56={'unitId':_0x2a6489,'op':_0x3abf2c},_0x48f455={'unitId':_0x2a6489,'op':_0x2058e8};return _0x4151de[_0x41ba47(0x284)](_0x411445['id'],_0x2e8f56)?(_0x36ab88[_0x41ba47(0x4b8)](_0x2a6489),_0x4e4791[_0x41ba47(0x29f)]({'unitID':_0x2a6489,'undoMutations':[{'id':_0x411445['id'],'params':_0x48f455}],'redoMutations':[{'id':_0x411445['id'],'params':_0x2e8f56}]}),!0x0):!0x1;}};function _0x5d22e1(_0x1154b9){const _0x13f1f5=_0x3e73b2;var _0x140715,_0x4d0faf,_0xe715ba,_0x132562,_0x5306a0;let _0x46abd1=(_0x140715=_0x1154b9[_0x13f1f5(0x35f)])==null?Date[_0x13f1f5(0x35f)]():_0x140715,_0x50f1bf=(_0x4d0faf=_0x1154b9['primaryFieldId'])==null?_0x1154b9['id']+_0x13f1f5(0x44d):_0x4d0faf,_0x51d1b7=(_0xe715ba=_0x1154b9[_0x13f1f5(0x344)])==null?_0x1154b9['id']+_0x13f1f5(0x1ff):_0xe715ba,_0x40f11b=(_0x132562=_0x1154b9['recordCount'])==null?0x5:_0x132562,_0x1e755a={'id':_0x50f1bf,'name':(_0x5306a0=_0x1154b9[_0x13f1f5(0x487)])==null?'Name':_0x5306a0,'type':_0x40477b[_0x13f1f5(0x3dc)][_0x13f1f5(0x309)],'config':{'placeholder':_0x13f1f5(0x259)}},_0xd6d1bc={},_0x587fda=[],_0x2b81c9={},_0x128d10={},_0x302e26={};for(let _0x4b257a=0x0;_0x4b257a<_0x40f11b;_0x4b257a++){let _0x4a2dc8=_0x1154b9['id']+_0x13f1f5(0x31a)+(_0x4b257a+0x1);_0xd6d1bc[_0x4a2dc8]={'id':_0x4a2dc8,'values':_0x1154b9[_0x13f1f5(0x477)]?{[_0x50f1bf]:_0x1154b9[_0x13f1f5(0x477)]+'\x20'+(_0x4b257a+0x1)}:{},'orderKey':String(_0x4b257a+0x1)[_0x13f1f5(0x2a5)](0x4,'0'),'createdAt':_0x46abd1,'updatedAt':_0x46abd1},_0x587fda[_0x13f1f5(0x36f)](_0x4a2dc8),_0x2b81c9[_0x4a2dc8]=_0x4b257a,_0x128d10[_0x4b257a]=_0x4a2dc8,_0x302e26[_0x4b257a]={},_0x1154b9[_0x13f1f5(0x477)]&&(_0x302e26[_0x4b257a][0x0]={'v':_0x1154b9[_0x13f1f5(0x477)]+'\x20'+(_0x4b257a+0x1)});}let _0x4cf5c9={'id':_0x51d1b7,'tableId':_0x1154b9['id'],'name':_0x13f1f5(0x2f9),'type':_0x40477b[_0x13f1f5(0x49b)][_0x13f1f5(0x2f9)],'fieldOrder':[_0x50f1bf],'fieldSettings':{},'config':{'frozenFieldCount':0x1}};return{'id':_0x1154b9['id'],'name':_0x1154b9[_0x13f1f5(0x33c)],'primaryFieldId':_0x50f1bf,'fieldOrder':[_0x50f1bf],'fields':{[_0x50f1bf]:_0x1e755a},'records':_0xd6d1bc,'recordOrder':_0x587fda,'rowIndex':_0x2b81c9,'rowId':_0x128d10,'colIndex':{[_0x50f1bf]:0x0},'colId':{0x0:_0x50f1bf},'cellData':_0x302e26,'views':{[_0x51d1b7]:_0x4cf5c9},'viewOrder':[_0x51d1b7]};}let _0x51c60a=_0x3e73b2(0x408);function _0x1399bf(_0x358228){const _0x184eab=_0x3e73b2;var _0x5200fa,_0x3ab8a3;let _0x2c54d7=_0x5d22e1({'id':_0x358228[_0x184eab(0x3c6)],'name':(_0x5200fa=_0x358228[_0x184eab(0x33c)])==null?_0x358228[_0x184eab(0x43a)]:_0x5200fa,'recordCount':0x0});return{..._0x2c54d7,'resources':{...(_0x3ab8a3=_0x2c54d7[_0x184eab(0x27e)])==null?{}:_0x3ab8a3,[_0x51c60a]:_0x5d2e12(_0x358228)}};}function _0x271db6(_0x355184){const _0x5aa803=_0x3e73b2;return{'id':_0x411445['id'],'params':{'unitId':_0x355184[_0x5aa803(0x2fb)],'op':new _0x54caa1()[_0x5aa803(0x2bb)](_0x355184[_0x5aa803(0x2f0)],_0x355184['table'],_0x355184['index']),'trigger':'embed-ui'}};}function _0x2349ad(_0x23c3dd){const _0x3dcab7=_0x3e73b2;let _0x18ad6c=_0x23c3dd['snapshot'][_0x3dcab7(0x273)]['indexOf'](_0x23c3dd[_0x3dcab7(0x485)]);if(!(!_0x23c3dd[_0x3dcab7(0x2f0)][_0x3dcab7(0x4be)][_0x23c3dd[_0x3dcab7(0x485)]]||_0x18ad6c<0x0))return{'id':_0x411445['id'],'params':{'unitId':_0x23c3dd[_0x3dcab7(0x2fb)],'op':new _0x54caa1()[_0x3dcab7(0x3b5)](_0x23c3dd['snapshot'],_0x23c3dd[_0x3dcab7(0x485)]),'trigger':_0x3dcab7(0x45c)}};}function _0x5d2e12(_0x47807b){const _0x563c71=_0x3e73b2;return{'version':0x1,'embedId':_0x47807b[_0x563c71(0x43a)],'hostAnchorId':_0x47807b[_0x563c71(0x3c6)],'childUnitId':_0x47807b[_0x563c71(0x41d)],'childType':_0x47807b[_0x563c71(0x3ac)]};}function _0xc3a69a(_0x4d2db5){const _0x4b0f03=_0x3e73b2;var _0x2825bb;let _0xa7fe7e=Math[_0x4b0f03(0x263)](0x0,Number((_0x2825bb=_0x4d2db5[_0x4b0f03(0x347)])==null?0x0:_0x2825bb)),_0x199219=_0x4d2db5[_0x4b0f03(0x2b9)]===!0x1?'0':_0x4b0f03(0x47b),_0x11db42=_0xa7fe7e?'.'+'0'[_0x4b0f03(0x2a4)](_0xa7fe7e):'',_0x2e7fd1=_0x93bae6(_0x4d2db5[_0x4b0f03(0x23e)]);return''+(_0x4d2db5[_0x4b0f03(0x35d)]?_0x1be424(_0x4d2db5['currencySymbol']):'')+_0x199219+_0x11db42+_0x2e7fd1;}function _0x11ab14(_0x359200,_0x1677e5){const _0x5c37bf=_0x3e73b2;let _0x3a8d6a=_0xc3a69a(_0x1677e5),_0x4ea02d=_0x40477b['numfmt']['format'](_0x3a8d6a,_0x359200,{'throws':!0x1});return _0x40bfbb(String(_0x4ea02d),_0x1677e5[_0x5c37bf(0x2dc)],_0x1677e5['locale']);}function _0x93bae6(_0x306d1f){const _0x318020=_0x3e73b2;return _0x306d1f==='K'?_0x318020(0x2e0):_0x306d1f==='M'?',,\x22M\x22':_0x306d1f==='B'?_0x318020(0x48a):'';}function _0x1be424(_0xda4c4f){const _0x3d1939=_0x3e73b2;return/^[A-Z]+$/i[_0x3d1939(0x45b)](_0xda4c4f)?'\x22'+_0xda4c4f+'\x22':_0xda4c4f;}function _0x40bfbb(_0x4ae335,_0x3e89b3,_0x3393c3){const _0x527614=_0x3e73b2;let _0x2803f1=_0x3e89b3==='local'?_0x27d85a(_0x3393c3):_0x3e89b3;return _0x2803f1==='periodComma'?_0x4ae335[_0x527614(0x3c5)](/,/g,'\x00')[_0x527614(0x3c5)](/\./g,',')[_0x527614(0x3c5)](/\0/g,'.'):_0x2803f1==='spaceComma'?_0x4ae335[_0x527614(0x3c5)](/,/g,'\x20')['replace'](/\./g,','):_0x2803f1===_0x527614(0x376)?_0x4ae335[_0x527614(0x3c5)](/,/g,'\x20'):_0x4ae335;}function _0x27d85a(_0x31cc8a){const _0x177186=_0x3e73b2;var _0x5621ea,_0x144bd1;let _0x11a95c=_0x31cc8a||Intl[_0x177186(0x322)]()['resolvedOptions']()[_0x177186(0x4c5)],_0x4a8678;try{_0x4a8678=new Intl[(_0x177186(0x322))](_0x11a95c,{'minimumFractionDigits':0x2,'maximumFractionDigits':0x2,'useGrouping':!0x0})[_0x177186(0x335)](0xf4240);}catch{return _0x177186(0x2e2);}let _0x1369d1=(_0x5621ea=_0x4a8678[_0x177186(0x39b)](_0x4d3336=>_0x4d3336[_0x177186(0x357)]===_0x177186(0x513)))==null?void 0x0:_0x5621ea[_0x177186(0x3d2)],_0x2f4e09=(_0x144bd1=_0x4a8678[_0x177186(0x39b)](_0x7bfad7=>_0x7bfad7[_0x177186(0x357)]===_0x177186(0x498)))==null?void 0x0:_0x144bd1[_0x177186(0x3d2)],_0x5eadfa=_0x1369d1==='\u00a0'||_0x1369d1==='\u202f'?'\x20':_0x1369d1;return _0x5eadfa==='.'&&_0x2f4e09===','?_0x177186(0x2b4):_0x5eadfa==='\x20'&&_0x2f4e09===','?_0x177186(0x3e8):_0x5eadfa==='\x20'&&_0x2f4e09==='.'?_0x177186(0x376):_0x177186(0x2e2);}function _0x4c84cb(_0xc4e9a6,_0x1d5b9d){const _0x1f0c92=_0x3e73b2;var _0x1ff9d0,_0x547dc8;let _0xd20500=_0x40477b[_0x1f0c92(0x248)][_0x1f0c92(0x3ca)](_0xc4e9a6),_0x4b7459=_0x1d5b9d[_0x1f0c92(0x3d0)]===!0x0,_0x2cdbba=new Map(),_0x4d272e=(_0x1ff9d0=_0x1d5b9d['createViewId'])==null?()=>_0x1f0c92(0x2d2)+(0x0,_0x40477b[_0x1f0c92(0x205)])(0x8):_0x1ff9d0,_0x2fc01a=_0xd20500[_0x1f0c92(0x1f0)];return _0x1d5b9d[_0x1f0c92(0x20b)]&&(_0x2fc01a=_0xd20500[_0x1f0c92(0x1f0)][_0x1f0c92(0x2ea)](_0x267bb6=>{const _0xeb260f=_0x1f0c92;let _0x3c7283=_0x4d272e();return _0x2cdbba[_0xeb260f(0x368)](_0x267bb6,_0x3c7283),_0x3c7283;})),{..._0xd20500,'id':_0x1d5b9d['id'],'name':_0x1d5b9d['name'],'records':_0x4b7459?_0xd20500['records']:{},'recordOrder':_0x4b7459?_0xd20500[_0x1f0c92(0x3aa)]:[],'rowIndex':_0x4b7459?_0xd20500[_0x1f0c92(0x222)]:{},'rowId':_0x4b7459?_0xd20500[_0x1f0c92(0x443)]:{},'cellData':_0x4b7459?_0xd20500[_0x1f0c92(0x4fa)]:{},'resources':_0x4b7459?_0xd20500[_0x1f0c92(0x27e)]:{},'viewOrder':_0x2fc01a,'views':Object[_0x1f0c92(0x305)](Object[_0x1f0c92(0x244)]((_0x547dc8=_0xd20500[_0x1f0c92(0x2f4)])==null?{}:_0x547dc8)[_0x1f0c92(0x2ea)](([_0x46d0bc,_0x48bc13])=>{const _0x5e5682=_0x1f0c92;var _0x1f4d9d;let _0x53eea6=(_0x1f4d9d=_0x2cdbba[_0x5e5682(0x20f)](_0x46d0bc))==null?_0x1d5b9d['regenerateViewIds']?_0x4d272e():_0x46d0bc:_0x1f4d9d;return[_0x53eea6,{..._0x48bc13,'id':_0x53eea6,'tableId':_0x1d5b9d['id']}];}))};}var _0x34bc8f=_0x3e73b2(0x387),_0x3e4cd6='1.0.0-alpha.7';let _0x4a52b5={},_0xeac0b9={};function _0x1bb571(_0x31dcdb){const _0x830a15=_0x3e73b2;return new _0x3987f0()[_0x830a15(0x4f2)](_0x31dcdb);}function _0x207861(_0x3a823a){const _0x136857=_0x3e73b2;return _0x3a823a[_0x136857(0x297)][_0x136857(0x2ea)](_0x114f52=>({'unitId':_0x3a823a[_0x136857(0x2fb)],'sheetId':_0x3a823a[_0x136857(0x485)],'range':{'startRow':_0x114f52[_0x136857(0x367)],'endRow':_0x114f52['row'],'startColumn':_0x114f52['col'],'endColumn':_0x114f52[_0x136857(0x3f0)]}}));}function _0x127f20(_0x39e0f0,_0x4686fe){const _0x53e1e2=_0x3e73b2;return{[_0x39e0f0]:Object[_0x53e1e2(0x305)](_0x4686fe[_0x53e1e2(0x2ea)](_0xa4f1e9=>[_0xa4f1e9,'1']))};}let _0x5be81d=class extends _0x40477b['Disposable']{constructor(_0x5a11f9,_0x2d202a){const _0x3ec2b4=_0x3e73b2;super(),this[_0x3ec2b4(0x316)]=_0x5a11f9,this['_univerInstanceService']=_0x2d202a,this[_0x3ec2b4(0x50b)]();}[_0x3e73b2(0x50b)](){const _0x241ffa=_0x3e73b2;this[_0x241ffa(0x316)][_0x241ffa(0x363)](_0x411445['id'],{'commandId':_0x411445['id'],'getDirtyData':_0x203128=>this[_0x241ffa(0x1e6)](_0x203128[_0x241ffa(0x365)])}),this[_0x241ffa(0x4f4)]((0x0,_0x40477b[_0x241ffa(0x237)])(()=>{const _0x486481=_0x241ffa;this[_0x486481(0x316)][_0x486481(0x3f3)](_0x411445['id']);}));}['_getTable'](_0x2664e0,_0x2beb42){const _0x5b0ab1=_0x3e73b2;var _0x204051;let _0xc5d404=this[_0x5b0ab1(0x48c)][_0x5b0ab1(0x37b)](_0x2664e0,_0x40477b[_0x5b0ab1(0x313)]['UNIVER_BASE']);return(_0x204051=_0xc5d404==null?void 0x0:_0xc5d404['getSnapshot']()[_0x5b0ab1(0x4be)][_0x2beb42])==null?null:_0x204051;}[_0x3e73b2(0x1e6)](_0x531680){const _0x210ca7=_0x3e73b2;if(_0x531680[_0x210ca7(0x393)]===_0x210ca7(0x499))return{};if(!_0x531680['unitId']||!_0x531680['op'])return{'clearDependencyTreeCache':this[_0x210ca7(0x22a)](),'forceCalculation':!0x0};let _0x5e299a=_0x1bb571(_0x531680['op']),_0x30c272=this[_0x210ca7(0x1fc)](_0x531680['unitId'],_0x5e299a);if(_0x30c272['length'])return{'clearDependencyTreeCache':_0x127f20(_0x531680[_0x210ca7(0x2fb)],_0x30c272),'forceCalculation':!0x0};let _0x12d250=Object['entries'](this['_groupCellInvalidations'](_0x531680[_0x210ca7(0x2fb)],_0x5e299a))[_0x210ca7(0x371)](([_0x4cdf32,_0x818b18])=>_0x207861({'unitId':_0x531680['unitId'],'tableId':_0x4cdf32,'patches':_0x818b18}));return _0x12d250['length']?{'dirtyRanges':_0x12d250}:{};}['_getStructureDirtyTableIds'](_0x58045a,_0x4f2d26){const _0xe01a5f=_0x3e73b2;let _0x32681a=_0x4f2d26['filter'](_0x3a9645=>_0x3a9645['reason']!==_0xe01a5f(0x326))['flatMap'](_0x333601=>_0x333601[_0xe01a5f(0x485)]?[_0x333601['tableId']]:this[_0xe01a5f(0x3ea)](_0x58045a));return Array['from'](new Set(_0x32681a));}[_0x3e73b2(0x437)](_0x3221f3,_0x3cf230){const _0x309d6f=_0x3e73b2;let _0x3b6dc9=new Set();return _0x3cf230[_0x309d6f(0x4b1)]((_0x1b4cb2,_0x3d6b82)=>{const _0x555562=_0x309d6f;var _0x3cac08;let _0x5e0c60=this[_0x555562(0x359)](_0x3221f3,_0x3d6b82);if(!_0x5e0c60)return _0x1b4cb2;let _0x376742=_0x3d6b82[_0x555562(0x485)]+':'+_0x5e0c60[_0x555562(0x367)]+':'+_0x5e0c60['col'];return _0x3b6dc9[_0x555562(0x23b)](_0x376742)?_0x1b4cb2:(_0x3b6dc9[_0x555562(0x4a7)](_0x376742),_0x1b4cb2[_0x3d6b82[_0x555562(0x485)]]=(_0x3cac08=_0x1b4cb2[_0x3d6b82[_0x555562(0x485)]])==null?[]:_0x3cac08,_0x1b4cb2[_0x3d6b82['tableId']][_0x555562(0x36f)](_0x5e0c60),_0x1b4cb2);},{});}[_0x3e73b2(0x359)](_0x15000b,_0xdc86fb){const _0x46f09a=_0x3e73b2;if(_0xdc86fb[_0x46f09a(0x35e)]!=='cell')return null;if(_0xdc86fb[_0x46f09a(0x367)]!=null&&_0xdc86fb['column']!=null)return{'row':_0xdc86fb[_0x46f09a(0x367)],'col':_0xdc86fb['column'],'value':null};if(!_0xdc86fb[_0x46f09a(0x3c7)]||!_0xdc86fb[_0x46f09a(0x44a)])return null;let _0x30e5c2=this[_0x46f09a(0x48f)](_0x15000b,_0xdc86fb['tableId']);if(!_0x30e5c2)return null;let _0x34671c=_0x123658(_0x30e5c2,_0xdc86fb['recordId'],_0xdc86fb[_0x46f09a(0x44a)]);return _0x34671c?{'row':_0x34671c[_0x46f09a(0x367)],'col':_0x34671c[_0x46f09a(0x3f0)],'value':null}:null;}['_getAllTableIds'](_0x5ceb10){const _0x28bfcd=_0x3e73b2;var _0x3fd6a4;let _0x5087f9=this[_0x28bfcd(0x48c)]['getUnit'](_0x5ceb10,_0x40477b[_0x28bfcd(0x313)][_0x28bfcd(0x2b0)]);return Object[_0x28bfcd(0x318)]((_0x3fd6a4=_0x5087f9==null?void 0x0:_0x5087f9[_0x28bfcd(0x3ab)]()[_0x28bfcd(0x4be)])==null?{}:_0x3fd6a4)[_0x28bfcd(0x2ea)](_0x3a33fb=>_0x3a33fb['id']);}[_0x3e73b2(0x22a)](){const _0x558898=_0x3e73b2;let _0x26e15b=this[_0x558898(0x48c)]['getAllUnitsForType'](_0x40477b['UniverInstanceType']['UNIVER_BASE'])[_0x558898(0x2ea)](_0x1668e1=>_0x127f20(_0x1668e1[_0x558898(0x209)](),Object['keys'](_0x1668e1['getSnapshot']()[_0x558898(0x4be)])));return Object[_0x558898(0x37c)]({},..._0x26e15b);}};_0x5be81d=_0x5ed18a([_0x418791(0x0,_0x2fabc2[_0x3e73b2(0x420)]),_0x418791(0x1,_0x40477b[_0x3e73b2(0x4f9)])],_0x5be81d);let _0x24ea34=_0x40477b[_0x3e73b2(0x3ef)][_0x3e73b2(0x302)](String[_0x3e73b2(0x41f)]`(?:^|\W)\$?[A-Z]{1,3}\$?\d+(?::\$?[A-Z]{1,3}\$?\d+)?(?:$|\W)`),_0x279db0=_0x40477b[_0x3e73b2(0x3ef)][_0x3e73b2(0x302)](String[_0x3e73b2(0x41f)]`(?:'\[[^\]]+\](?:[^']|'')+'|\[[^\]]+\][^\s'!]+)!\$?[A-Z]{1,3}\$?\d+(?::\$?[A-Z]{1,3}\$?\d+)?`,'gi'),_0x2a3810=/\{([^}]+)\}/g,_0x2f9a45=_0x40477b[_0x3e73b2(0x3ef)][_0x3e73b2(0x302)](String['raw']`\b([A-Z_]\w*)\[([^\]]+)\]`,'gi'),_0x9c2eb4=_0x40477b[_0x3e73b2(0x3ef)][_0x3e73b2(0x302)](String[_0x3e73b2(0x41f)]`(^|[^\w\][])\[([^\]]+)\]`,'g');var _0x27a949=class{[_0x3e73b2(0x21b)](_0x2a1573,_0x4fd2b8=_0x2a1573['id']){const _0x30f466=_0x3e73b2;var _0x1d3ae4,_0x2ed7d6;let _0x1221d0=(_0x1d3ae4=(_0x2ed7d6=_0x2a1573[_0x30f466(0x3aa)])==null?void 0x0:_0x2ed7d6[_0x30f466(0x49a)])==null?Object[_0x30f466(0x318)](_0x2a1573[_0x30f466(0x464)])[_0x30f466(0x49a)]:_0x1d3ae4;return{'sheetId':_0x4fd2b8,'titleMap':new Map(_0x2a1573[_0x30f466(0x373)][_0x30f466(0x2ea)]((_0x6c8f1c,_0x5d170b)=>{const _0x2e0ad1=_0x30f466;var _0x4e0432,_0x49d1b4;return[(_0x4e0432=(_0x49d1b4=_0x2a1573[_0x2e0ad1(0x431)][_0x6c8f1c])==null?void 0x0:_0x49d1b4['name'])==null?_0x6c8f1c:_0x4e0432,_0x5d170b];})),'range':{'startRow':0x0,'endRow':Math[_0x30f466(0x263)](0x0,_0x1221d0-0x1),'startColumn':0x0,'endColumn':Math['max'](0x0,_0x2a1573[_0x30f466(0x373)][_0x30f466(0x49a)]-0x1)},'showHeader':!0x1};}[_0x3e73b2(0x41a)](_0x51dcf3,_0x3d644c,_0x274d0b,_0x483ed1={}){const _0x2cc541=_0x3e73b2;var _0x1dcad3;let _0xcd89d6=this[_0x2cc541(0x21b)](_0x274d0b,(_0x1dcad3=_0x483ed1[_0x2cc541(0x4c1)])==null?_0x274d0b['id']:_0x1dcad3);return new Set([_0x274d0b['id'],_0x274d0b[_0x2cc541(0x33c)],_0x483ed1[_0x2cc541(0x467)]]['filter'](_0x53c058=>!!_0x53c058))['forEach'](_0x4ea8c0=>_0x51dcf3[_0x2cc541(0x4a3)](_0x3d644c,_0x4ea8c0,_0xcd89d6)),_0xcd89d6;}['registerSuperTables'](_0x20ba38,_0x106f39){const _0x34ac0b=_0x3e73b2;let _0x4845e2=this[_0x34ac0b(0x50e)](_0x106f39);return _0x4845e2[_0x34ac0b(0x23d)](({tableName:_0x1db469,reference:_0x587a85})=>{const _0x358303=_0x34ac0b;_0x20ba38[_0x358303(0x4a3)](_0x106f39['id'],_0x1db469,_0x587a85);}),Array['from'](new Set(_0x4845e2[_0x34ac0b(0x2ea)](({reference:_0xa432a5})=>_0xa432a5)));}[_0x3e73b2(0x50e)](_0x330eae,_0x2ea3df){const _0x34018b=_0x3e73b2;let _0x5ed5fc=[],_0x501c12=_0x2ea3df?new Set(_0x2ea3df):null,_0x2cc10e=new Map();return Object[_0x34018b(0x318)](_0x330eae['tables'])[_0x34018b(0x23d)](_0x394908=>{const _0x14bea4=_0x34018b;var _0x57b959;let _0x174219=_0x394908[_0x14bea4(0x33c)][_0x14bea4(0x3bb)]()[_0x14bea4(0x4c8)]();_0x2cc10e[_0x14bea4(0x368)](_0x174219,((_0x57b959=_0x2cc10e['get'](_0x174219))==null?0x0:_0x57b959)+0x1);}),Object[_0x34018b(0x318)](_0x330eae['tables'])[_0x34018b(0x3f6)](_0x1250a4=>!_0x501c12||_0x501c12[_0x34018b(0x23b)](_0x1250a4['id']))[_0x34018b(0x23d)](_0x210d23=>{const _0x392b90=_0x34018b;var _0x4b8d3c;let _0x56e369=this[_0x392b90(0x21b)](_0x210d23,_0x210d23['id']);_0x5ed5fc[_0x392b90(0x36f)]({'tableId':_0x210d23['id'],'tableName':_0x210d23['id'],'reference':_0x56e369}),((_0x4b8d3c=_0x2cc10e['get'](_0x210d23[_0x392b90(0x33c)][_0x392b90(0x3bb)]()['toLowerCase']()))==null?0x0:_0x4b8d3c)===0x1&&_0x5ed5fc[_0x392b90(0x36f)]({'tableId':_0x210d23['id'],'tableName':_0x210d23[_0x392b90(0x33c)],'reference':_0x56e369});}),_0x5ed5fc;}[_0x3e73b2(0x3cd)](_0x28c055,_0x30d19a,_0xaed5ed={}){const _0x324b65=_0x3e73b2;let _0x1e27f3=_0x28c055[_0x324b65(0x3bb)]();if(!_0x1e27f3)return{'valid':!0x0};if(_0x3090f5(_0x1e27f3))return{'valid':!0x1,'reason':_0x324b65(0x319)};for(let _0x28e36d of _0x2f8e10(_0x1e27f3)){let _0x5d50a9=_0x4fc4a9(_0x28e36d,_0x30d19a,_0xaed5ed['snapshot']);if(!_0x5d50a9[_0x324b65(0x2ec)])return{'valid':!0x1,'reason':'[BaseFormula]:\x20table\x20\x22'+_0x28e36d[_0x324b65(0x467)]+'\x22\x20does\x20not\x20exist.'};if(!_0x5d50a9['field'])return{'valid':!0x1,'reason':_0x324b65(0x1f8)+_0x28e36d['fieldName']+_0x324b65(0x20d)};}return{'valid':!0x0};}[_0x3e73b2(0x3be)](_0xb7d554,_0x44615c,_0x37776a={}){const _0x3f9e5e=_0x3e73b2;let _0x303236=new Set();for(let _0x3257ff of this[_0x3f9e5e(0x249)](_0xb7d554,_0x44615c,_0x37776a))_0x3257ff[_0x3f9e5e(0x485)]===_0x44615c['id']&&_0x303236[_0x3f9e5e(0x4a7)](_0x3257ff[_0x3f9e5e(0x44a)]);return Array[_0x3f9e5e(0x4ef)](_0x303236);}['getStructuredDependencies'](_0x554b01,_0x5d40d4,_0x47fcf1={}){const _0x582429=_0x3e73b2;let _0x6afcb1=new Map();for(let _0x304fff of _0x2f8e10(_0x554b01)){let _0x244215=_0x4fc4a9(_0x304fff,_0x5d40d4,_0x47fcf1[_0x582429(0x2f0)]);if(!_0x244215[_0x582429(0x2ec)]||!_0x244215[_0x582429(0x256)])continue;let _0x4580f9=_0x244215['table']['id']+'\x1f'+_0x244215[_0x582429(0x256)]['id'];_0x6afcb1['set'](_0x4580f9,{'tableId':_0x244215[_0x582429(0x2ec)]['id'],'fieldId':_0x244215[_0x582429(0x256)]['id']});}return Array[_0x582429(0x4ef)](_0x6afcb1[_0x582429(0x318)]());}};function _0x4724d4(_0x1aa107,_0x1416ca){const _0x2c8f5e=_0x3e73b2;var _0x2eaf9f;let _0x2a5e68=[],_0x381465=(_0x2eaf9f=_0x1416ca[_0x2c8f5e(0x306)])==null?void 0x0:_0x2eaf9f[_0x1aa107['id']];return _0x381465&&Object[_0x2c8f5e(0x244)](_0x381465)[_0x2c8f5e(0x23d)](([_0x51802e,_0x18eadd])=>{const _0x2f9082=_0x2c8f5e;let _0x4b0109=_0x1aa107[_0x2f9082(0x4be)][_0x51802e];if(!_0x4b0109||!_0x18eadd)return;let _0x20498d=_0x19d545(_0x4b0109),_0x549784=[];new _0x40477b[(_0x2f9082(0x38a))](_0x18eadd)['forValue']((_0x38e911,_0x57d94d,_0x2f4b31)=>{let _0x2a4d48=_0x2952f7(_0x20498d,_0x38e911,_0x57d94d,_0x2f4b31);_0x2a4d48&&_0x549784['push'](_0x2a4d48);}),_0x549784[_0x2f9082(0x49a)]&&_0x2a5e68['push']({'unitId':_0x1aa107['id'],'tableId':_0x51802e,'patches':_0x549784});}),_0x2a5e68;}function _0x2952f7(_0xa56297,_0x460c38,_0x571660,_0x2fd619){const _0xbb1579=_0x3e73b2;var _0x194ec8,_0x236969,_0x6346bc,_0x43cf67,_0x2aca15;let _0x6cfd9c=(_0x194ec8=_0xa56297[_0xbb1579(0x443)])==null?void 0x0:_0x194ec8[_0x460c38],_0x20a920=(_0x236969=_0xa56297[_0xbb1579(0x362)])==null?void 0x0:_0x236969[_0x571660];if(!_0x6cfd9c||!_0xa56297['records'][_0x6cfd9c]||!_0x20a920)return null;let _0x1d6f13=_0xa56297[_0xbb1579(0x431)][_0x20a920];if(!_0x1d6f13||_0x1d6f13[_0xbb1579(0x357)]!=='formula')return null;let _0x9d779d=String((_0x6346bc=(_0x43cf67=_0x1d6f13[_0xbb1579(0x4c3)])==null?void 0x0:_0x43cf67[_0xbb1579(0x416)])==null?'':_0x6346bc)[_0xbb1579(0x3bb)](),_0x3ed676=(_0x2aca15=_0x2fd619==null?void 0x0:_0x2fd619['v'])==null?null:_0x2aca15,_0xa4dd5f={'v':_0x3ed676,'t':_0x291189(_0x3ed676),..._0x460c38===0x0&&_0x9d779d?{'f':_0x9d779d}:{},'si':_0x1d6f13['id']};return _0x8cff34(_0x294c8a(_0xa56297,_0x6cfd9c,_0x20a920),_0xa4dd5f)?null:{'row':_0x460c38,'col':_0x571660,'value':_0xa4dd5f};}function _0x8cff34(_0xc4db85,_0x53a971){var _0x1ebda8,_0x2fbe3f;return _0xc4db85!=null&&Object['is']((_0x1ebda8=_0xc4db85['v'])==null?null:_0x1ebda8,(_0x2fbe3f=_0x53a971['v'])==null?null:_0x2fbe3f)&&_0xc4db85['t']===_0x53a971['t']&&_0xc4db85['f']===_0x53a971['f']&&_0xc4db85['si']===_0x53a971['si'];}function _0x291189(_0x3b4337){const _0x29f664=_0x3e73b2;return typeof _0x3b4337==_0x29f664(0x2cf)?_0x40477b[_0x29f664(0x223)][_0x29f664(0x353)]:typeof _0x3b4337=='boolean'?_0x40477b[_0x29f664(0x223)]['BOOLEAN']:typeof _0x3b4337==_0x29f664(0x394)?_0x40477b[_0x29f664(0x223)][_0x29f664(0x49f)]:null;}function _0x2f8e10(_0x250f4){const _0xa4b773=_0x3e73b2;_0x250f4=_0x389057(_0x250f4,()=>'');let _0x445fdd=new Map();for(let _0x210562 of _0x250f4[_0xa4b773(0x24f)](_0x2a3810)){let _0x2145b1={'fieldName':_0x210562[0x1]};_0x445fdd[_0xa4b773(0x368)]('\x1f'+_0x2145b1[_0xa4b773(0x4f3)],_0x2145b1);}for(let _0x63277 of _0x250f4[_0xa4b773(0x24f)](_0x2f9a45)){let _0x3db443={'tableName':_0x63277[0x1],'fieldName':_0x63277[0x2]};_0x445fdd[_0xa4b773(0x368)](_0x3db443[_0xa4b773(0x467)]+'\x1f'+_0x3db443[_0xa4b773(0x4f3)],_0x3db443);}for(let _0x50f1c8 of _0x250f4[_0xa4b773(0x24f)](_0x9c2eb4)){let _0x1a9bc3={'fieldName':_0x50f1c8[0x2]};_0x445fdd[_0xa4b773(0x368)]('\x1f'+_0x1a9bc3['fieldName'],_0x1a9bc3);}return Array['from'](_0x445fdd[_0xa4b773(0x318)]());}function _0x3090f5(_0x1897af){const _0x3d8e23=_0x3e73b2;let _0x4ffa1d=_0xbdf31(_0x1897af,()=>'\x20')[_0x3d8e23(0x3c5)](_0x2a3810,'\x20')[_0x3d8e23(0x3c5)](_0x2f9a45,'\x20')[_0x3d8e23(0x3c5)](_0x9c2eb4,_0x3d8e23(0x385));return _0x24ea34['test'](_0x4ffa1d);}function _0x389057(_0x4ebb42,_0x4da07e){return _0x5f17bd(_0xbdf31(_0x4ebb42,_0x4da07e),_0x4da07e);}function _0xbdf31(_0x2e76f6,_0x223416){const _0x5331d6=_0x3e73b2;return _0x279db0[_0x5331d6(0x2a8)]=0x0,_0x2e76f6[_0x5331d6(0x3c5)](_0x279db0,(_0x1e1126,_0x58adb9)=>_0x2ad7fc(_0x2e76f6,_0x58adb9)?_0x1e1126:_0x223416(_0x1e1126));}let _0x2f0137=/(?:'((?:[^']|'')+)'|\[[^\]]+\]|[A-Za-z0-9_.-]+)![^\s!\[\]]+\[/g;function _0x5f17bd(_0x3202b5,_0x5027b3){const _0x234656=_0x3e73b2;let _0x2a9b1e=[];_0x2f0137[_0x234656(0x2a8)]=0x0;let _0x3ce6df;for(;(_0x3ce6df=_0x2f0137['exec'](_0x3202b5))!=null;){if(_0x2ad7fc(_0x3202b5,_0x3ce6df[_0x234656(0x36c)]))continue;let _0x1abafc=_0x2f0137[_0x234656(0x2a8)]-0x1,_0x5d5b1b=0x0;for(let _0x492c83=_0x1abafc;_0x492c83<_0x3202b5[_0x234656(0x49a)];_0x492c83++)if(_0x3202b5[_0x492c83]==='['&&_0x5d5b1b++,_0x3202b5[_0x492c83]===']'&&(_0x5d5b1b--,_0x5d5b1b===0x0)){_0x2a9b1e[_0x234656(0x36f)]({'start':_0x3ce6df[_0x234656(0x36c)],'end':_0x492c83+0x1}),_0x2f0137[_0x234656(0x2a8)]=_0x492c83+0x1;break;}}if(_0x2a9b1e[_0x234656(0x49a)]===0x0)return _0x3202b5;let _0x17c822='',_0x5a99cb=0x0;for(let _0x96c2b5 of _0x2a9b1e)_0x17c822+=_0x3202b5[_0x234656(0x382)](_0x5a99cb,_0x96c2b5[_0x234656(0x1e7)]),_0x17c822+=_0x5027b3(_0x3202b5[_0x234656(0x382)](_0x96c2b5[_0x234656(0x1e7)],_0x96c2b5[_0x234656(0x4ad)])),_0x5a99cb=_0x96c2b5['end'];return _0x17c822+_0x3202b5['slice'](_0x5a99cb);}function _0x2ad7fc(_0xba99a5,_0x13e0d3){let _0x33bbc1=!0x1;for(let _0x1b342c=0x0;_0x1b342c<_0x13e0d3;_0x1b342c++)if(_0xba99a5[_0x1b342c]==='\x22'){if(_0x33bbc1&&_0xba99a5[_0x1b342c+0x1]==='\x22'){_0x1b342c++;continue;}_0x33bbc1=!_0x33bbc1;}return _0x33bbc1;}function _0x4fc4a9(_0x33b517,_0x453c1b,_0x507454){const _0x4247aa=_0x3e73b2;let _0x40f899=_0x3a6f5c(_0x33b517[_0x4247aa(0x467)],_0x453c1b,_0x507454);return{'table':_0x40f899,'field':_0x40f899?Object['values'](_0x40f899[_0x4247aa(0x431)])[_0x4247aa(0x39b)](_0x2a7187=>_0x2a7187[_0x4247aa(0x33c)]===_0x33b517[_0x4247aa(0x4f3)]):void 0x0};}function _0x3a6f5c(_0x346c56,_0x567d8b,_0x4bbe1c){const _0x5a50a5=_0x3e73b2;if(!_0x346c56||_0x346c56===_0x5a50a5(0x2ec)||_0x346c56===_0x567d8b['id']||_0x346c56===_0x567d8b['name'])return _0x567d8b;if(!_0x4bbe1c)return;let _0x72d314=_0x4bbe1c[_0x5a50a5(0x4be)][_0x346c56];if(_0x72d314)return _0x72d314;let _0x506768=Object[_0x5a50a5(0x318)](_0x4bbe1c[_0x5a50a5(0x4be)])[_0x5a50a5(0x3f6)](_0x364ae6=>_0x364ae6[_0x5a50a5(0x33c)]===_0x346c56);return _0x506768[_0x5a50a5(0x49a)]===0x1?_0x506768[0x0]:void 0x0;}let _0x108f8a=class extends _0x40477b[_0x3e73b2(0x4e6)]{constructor(_0x269cc6,_0x252bad,_0x42cba1){const _0x3225c7=_0x3e73b2;super(),this[_0x3225c7(0x36d)]=_0x269cc6,this[_0x3225c7(0x48c)]=_0x252bad,_0x5b59f9(this,_0x3225c7(0x257),new _0x27a949()),_0x5b59f9(this,_0x3225c7(0x2d3),new Map()),_0x5b59f9(this,_0x3225c7(0x280),Promise[_0x3225c7(0x4af)]()),_0x5b59f9(this,'_applyingFormulaResults',!0x1),this[_0x3225c7(0x50b)]();}['_initialize'](){const _0x52e228=_0x3e73b2;this[_0x52e228(0x48c)][_0x52e228(0x2ae)](_0x40477b[_0x52e228(0x313)]['UNIVER_BASE'])[_0x52e228(0x23d)](_0x4df3fd=>{this['_enqueueFormulaSync'](async()=>{const _0x453b81=_0x1d63;await this[_0x453b81(0x28e)](_0x4df3fd);});}),this[_0x52e228(0x4f4)](this[_0x52e228(0x48c)][_0x52e228(0x4b9)](_0x40477b[_0x52e228(0x313)][_0x52e228(0x2b0)])[_0x52e228(0x343)](({unit:_0x369b3c})=>{const _0x1ee721=_0x52e228;this[_0x1ee721(0x334)](async()=>{const _0x1a59e8=_0x1ee721;await this[_0x1a59e8(0x28e)](_0x369b3c);});})),this[_0x52e228(0x4f4)](this[_0x52e228(0x48c)][_0x52e228(0x3d5)](_0x40477b[_0x52e228(0x313)][_0x52e228(0x2b0)])['subscribe'](_0x251abb=>{const _0x24321e=_0x52e228;this[_0x24321e(0x334)](()=>this[_0x24321e(0x4e9)](_0x251abb[_0x24321e(0x209)]()));})),this[_0x52e228(0x4f4)](this['_commandService'][_0x52e228(0x396)](_0x107137=>this['_onCommandExecuted'](_0x107137)));}['_onCommandExecuted'](_0x47c787){const _0x5a3b28=_0x3e73b2;if(_0x47c787['id']===_0x2fabc2[_0x5a3b28(0x2fe)]['id']){_0x4f224a(_0x47c787[_0x5a3b28(0x365)])&&this[_0x5a3b28(0x37f)](_0x47c787[_0x5a3b28(0x365)]);return;}if(this[_0x5a3b28(0x2ad)]||_0x47c787['id']!==_0x411445['id'])return;let _0x5309e0=_0xc35e58(_0x47c787[_0x5a3b28(0x365)])?_0x47c787[_0x5a3b28(0x365)]:void 0x0,_0x2d1a4f=_0x5309e0!=null&&_0x5309e0[_0x5a3b28(0x2fb)]?[this[_0x5a3b28(0x48c)]['getUnit'](_0x5309e0[_0x5a3b28(0x2fb)],_0x40477b[_0x5a3b28(0x313)]['UNIVER_BASE'])][_0x5a3b28(0x3f6)](_0x5c46d8=>!!_0x5c46d8):this['_univerInstanceService'][_0x5a3b28(0x2ae)](_0x40477b[_0x5a3b28(0x313)]['UNIVER_BASE']),_0x279d22=_0x5309e0==null?void 0x0:_0x5309e0['op'];_0x2d1a4f[_0x5a3b28(0x23d)](_0x4786db=>{const _0x4eb283=_0x5a3b28;let _0x172fae=_0x279d22?_0x1bb571(_0x279d22):[];(!_0x279d22||_0x172fae[_0x4eb283(0x2f1)](_0x20230d=>_0x20230d[_0x4eb283(0x35e)]!==_0x4eb283(0x326)))&&this[_0x4eb283(0x334)](()=>this[_0x4eb283(0x28e)](_0x4786db));});}async[_0x3e73b2(0x28e)](_0x321da5){const _0x2f6a36=_0x3e73b2;var _0x467980;let _0x6eab96=_0x321da5[_0x2f6a36(0x209)](),_0x4a2fe5=this[_0x2f6a36(0x257)][_0x2f6a36(0x50e)](_0x321da5['getSnapshot']()),_0x3db85f=new Set(_0x4a2fe5[_0x2f6a36(0x2ea)](({tableName:_0x57ce33})=>_0x57ce33)),_0x416259=(_0x467980=this['_registeredSuperTableNames'][_0x2f6a36(0x20f)](_0x6eab96))==null?new Set():_0x467980;for(let _0x106ae2 of _0x416259)_0x3db85f['has'](_0x106ae2)||await this['_commandService'][_0x2f6a36(0x509)](_0x2fabc2[_0x2f6a36(0x307)]['id'],{'unitId':_0x6eab96,'tableName':_0x106ae2});for(let {tableName:_0x4c0cdf,reference:_0x4f0208}of _0x4a2fe5)await this[_0x2f6a36(0x36d)]['executeCommand'](_0x2fabc2[_0x2f6a36(0x4cc)]['id'],{'unitId':_0x6eab96,'tableName':_0x4c0cdf,'reference':_0x4f0208});this[_0x2f6a36(0x2d3)][_0x2f6a36(0x368)](_0x6eab96,_0x3db85f);}async[_0x3e73b2(0x4e9)](_0x3edfaf){const _0x337561=_0x3e73b2;var _0x5abe2f;let _0x373e61=(_0x5abe2f=this['_registeredSuperTableNames'][_0x337561(0x20f)](_0x3edfaf))==null?new Set():_0x5abe2f;for(let _0x2a886a of _0x373e61)await this['_commandService'][_0x337561(0x509)](_0x2fabc2[_0x337561(0x307)]['id'],{'unitId':_0x3edfaf,'tableName':_0x2a886a});this[_0x337561(0x2d3)]['delete'](_0x3edfaf);}[_0x3e73b2(0x334)](_0x5b27ac){const _0x4845f0=_0x3e73b2;this[_0x4845f0(0x280)]=this[_0x4845f0(0x280)][_0x4845f0(0x285)](_0x5b27ac,_0x5b27ac)['catch'](()=>void 0x0);}[_0x3e73b2(0x37f)](_0x2a670b){const _0x8f5635=_0x3e73b2;let _0x40e38d=this[_0x8f5635(0x48c)][_0x8f5635(0x2ae)](_0x40477b['UniverInstanceType'][_0x8f5635(0x2b0)])['flatMap'](_0x344354=>_0x4724d4(_0x344354['getSnapshot'](),_0x2a670b));if(!_0x40e38d[_0x8f5635(0x49a)])return;let _0x1c0585=new _0x54caa1(),_0x46130a=_0x40e38d[_0x8f5635(0x371)](_0x3423ad=>_0x207861({'unitId':_0x3423ad[_0x8f5635(0x2fb)],'tableId':_0x3423ad[_0x8f5635(0x485)],'patches':_0x3423ad[_0x8f5635(0x297)]}));this[_0x8f5635(0x2ad)]=!0x0,(async()=>{const _0x338e84=_0x8f5635;for(let _0x56da13 of _0x40e38d){let _0x4f2e52=this[_0x338e84(0x48c)][_0x338e84(0x37b)](_0x56da13[_0x338e84(0x2fb)],_0x40477b[_0x338e84(0x313)][_0x338e84(0x2b0)]);_0x4f2e52&&await this[_0x338e84(0x36d)]['executeCommand'](_0x411445['id'],{'unitId':_0x56da13[_0x338e84(0x2fb)],'op':_0x1c0585[_0x338e84(0x320)](_0x4f2e52[_0x338e84(0x3ab)](),_0x56da13[_0x338e84(0x485)],_0x56da13[_0x338e84(0x297)]),'trigger':_0x2fabc2[_0x338e84(0x2fe)]['id']},{'onlyLocal':!0x0});}await this[_0x338e84(0x36d)]['executeCommand'](_0x2fabc2[_0x338e84(0x202)]['id'],{'dirtyRanges':_0x46130a},{'onlyLocal':!0x0});})()[_0x8f5635(0x251)](()=>{const _0x5d5ca3=_0x8f5635;this[_0x5d5ca3(0x2ad)]=!0x1;});}};_0x108f8a=_0x5ed18a([_0x418791(0x0,_0x40477b[_0x3e73b2(0x510)]),_0x418791(0x1,_0x40477b[_0x3e73b2(0x4f9)]),_0x418791(0x2,(0x0,_0x40477b[_0x3e73b2(0x4bb)])(_0x2fabc2['FormulaCalculationTriggerService']))],_0x108f8a);function _0xc35e58(_0x2cdbf0){const _0x57fc5b=_0x3e73b2;return typeof _0x2cdbf0==_0x57fc5b(0x3ed)&&!!_0x2cdbf0&&'unitId'in _0x2cdbf0&&typeof _0x2cdbf0[_0x57fc5b(0x2fb)]==_0x57fc5b(0x394)&&'op'in _0x2cdbf0&&Array[_0x57fc5b(0x21e)](_0x2cdbf0['op']);}function _0x4f224a(_0x15c4ae){const _0x491295=_0x3e73b2;return typeof _0x15c4ae==_0x491295(0x3ed)&&!!_0x15c4ae&&'unitData'in _0x15c4ae&&'unitOtherData'in _0x15c4ae;}let _0x47fe2b=(0x0,_0x40477b[_0x3e73b2(0x406)])(_0x3e73b2(0x4c6)),_0x599752=class{constructor(_0x23380a){const _0x17c1ea=_0x3e73b2;this[_0x17c1ea(0x48c)]=_0x23380a;}[_0x3e73b2(0x4e7)](_0x50fb1b){const _0x1c25c3=_0x3e73b2;var _0x2e0e83;return(_0x2e0e83=this[_0x1c25c3(0x48c)]['getUnit'](_0x50fb1b,_0x40477b[_0x1c25c3(0x313)]['UNIVER_BASE']))==null?null:_0x2e0e83;}['getAllBases'](){const _0x437c79=_0x3e73b2;return this[_0x437c79(0x48c)]['getAllUnitsForType'](_0x40477b[_0x437c79(0x313)][_0x437c79(0x2b0)]);}[_0x3e73b2(0x3a3)](_0x4a5ccf){const _0x54511e=_0x3e73b2;return this['_univerInstanceService']['createUnit'](_0x40477b[_0x54511e(0x313)][_0x54511e(0x2b0)],_0x4a5ccf);}};_0x599752=_0x5ed18a([_0x418791(0x0,_0x40477b[_0x3e73b2(0x4f9)])],_0x599752);let _0xcb8674=(0x0,_0x40477b[_0x3e73b2(0x406)])(_0x3e73b2(0x21c));var _0x2e7894=class extends _0x40477b[_0x3e73b2(0x4e6)]{constructor(..._0x2e5428){const _0x90d48e=_0x3e73b2;super(..._0x2e5428),_0x5b59f9(this,_0x90d48e(0x465),new Map());}[_0x3e73b2(0x363)](_0xdff99d){const _0x1c859a=_0x3e73b2;return this[_0x1c859a(0x465)][_0x1c859a(0x368)](_0xdff99d[_0x1c859a(0x357)],_0xdff99d),(0x0,_0x40477b[_0x1c859a(0x237)])(()=>this['_plugins'][_0x1c859a(0x2e7)](_0xdff99d['type']));}['get'](_0x2c6dc1){const _0x21cd8e=_0x3e73b2;let _0x20483e=this['_plugins'][_0x21cd8e(0x20f)](_0x2c6dc1);if(!_0x20483e)throw Error('[BaseViewRegistryService]:\x20view\x20type\x20\x22'+_0x2c6dc1+_0x21cd8e(0x374));return _0x20483e;}[_0x3e73b2(0x475)](){const _0x39ed22=_0x3e73b2;return Array[_0x39ed22(0x4ef)](this[_0x39ed22(0x465)][_0x39ed22(0x318)]());}};let _0x203a6b=[_0x411445],_0x4025d2=class extends _0x40477b[_0x3e73b2(0x50a)]{constructor(_0x1d8a47=_0x4a52b5,_0x4ba429,_0x28498f,_0x54af84,_0x1034e7,_0x12be0f){const _0x1ae9d7=_0x3e73b2;super(),this[_0x1ae9d7(0x380)]=_0x1d8a47,this[_0x1ae9d7(0x332)]=_0x4ba429,this[_0x1ae9d7(0x36d)]=_0x28498f,this[_0x1ae9d7(0x48c)]=_0x54af84,this[_0x1ae9d7(0x3b3)]=_0x1034e7,this[_0x1ae9d7(0x38b)]=_0x12be0f,_0x5b59f9(this,'_baseSyncDisposables',new Map());let {..._0x392cde}=(0x0,_0x40477b[_0x1ae9d7(0x3e3)])({},_0x4a52b5,this['_config']);this[_0x1ae9d7(0x3b3)][_0x1ae9d7(0x216)](_0x1ae9d7(0x519),_0x392cde),this[_0x1ae9d7(0x48c)]['registerCtorForType'](_0x40477b[_0x1ae9d7(0x313)]['UNIVER_BASE'],_0x40477b[_0x1ae9d7(0x236)]),this[_0x1ae9d7(0x49d)](),this[_0x1ae9d7(0x2ac)](),this[_0x1ae9d7(0x445)](),this[_0x1ae9d7(0x474)]();}[_0x3e73b2(0x46a)](){const _0x2886a1=_0x3e73b2;(0x0,_0x40477b[_0x2886a1(0x31b)])(this[_0x2886a1(0x332)],[[_0x599752],[_0x294cd7],[_0x5be81d]]),this[_0x2886a1(0x48c)][_0x2886a1(0x2ae)](_0x40477b[_0x2886a1(0x313)]['UNIVER_BASE'])[_0x2886a1(0x23d)](_0x3401c2=>this[_0x2886a1(0x40b)](_0x3401c2[_0x2886a1(0x209)]())),(0x0,_0x40477b[_0x2886a1(0x31b)])(this[_0x2886a1(0x332)],[[_0x108f8a]]);}[_0x3e73b2(0x49d)](){const _0x4a1475=_0x3e73b2;[[_0x1cf192,{'useClass':_0x4a360c}],[_0xcb8674,{'useClass':_0x2e7894}],[_0x18e4af,{'useClass':_0x14fa04}],[_0x47fe2b,{'useClass':_0x599752}],[_0x26abc0,{'useClass':_0x820321}],[_0x3beb36,{'useClass':_0x294cd7}],[_0x5be81d],[_0x108f8a]]['forEach'](_0x289600=>this[_0x4a1475(0x332)][_0x4a1475(0x4a7)](_0x289600));}[_0x3e73b2(0x2ac)](){const _0x3f5233=_0x3e73b2;[_0x40f2e9,_0x56e8c9,_0xa9badd,_0x29e034,_0x217452,_0x327845,_0x4bf865,_0x11f42b,_0x589bef,_0x1cc838,_0x185eef,_0xc1e982,_0x38e21a,_0x4996c1,_0x1639a2,_0x4735be,_0x2c7b92,_0x1b91c6,_0x5bae50,_0x9e43fa,_0x194631,_0x3d095b,_0x3f97ce,_0x19a2d8,_0x19e446,_0xe1487b,_0x591f15,_0x212dda,_0x188ea9,_0x369a2b,_0x573545,_0x31488e,_0x3a7366,_0x3c900f,..._0x203a6b][_0x3f5233(0x23d)](_0x1ca0dd=>this['disposeWithMe'](this[_0x3f5233(0x36d)]['registerCommand'](_0x1ca0dd))),_0x203a6b['forEach'](_0x3047cb=>{const _0x48435e=_0x3f5233;var _0x5d4573;return(_0x5d4573=this[_0x48435e(0x38b)])==null?void 0x0:_0x5d4573[_0x48435e(0x296)](_0x3047cb);});}['_initDataSync'](){const _0x26f1b7=_0x3e73b2;this[_0x26f1b7(0x38b)]&&(this['disposeWithMe'](this[_0x26f1b7(0x48c)][_0x26f1b7(0x4b9)](_0x40477b[_0x26f1b7(0x313)][_0x26f1b7(0x2b0)])[_0x26f1b7(0x343)](({unit:_0x2873fe})=>{const _0x159fcf=_0x26f1b7;this[_0x159fcf(0x40b)](_0x2873fe[_0x159fcf(0x209)]());})),this[_0x26f1b7(0x4f4)](this[_0x26f1b7(0x48c)][_0x26f1b7(0x3d5)](_0x40477b[_0x26f1b7(0x313)][_0x26f1b7(0x2b0)])[_0x26f1b7(0x343)](_0x5f40c5=>{const _0x48475f=_0x26f1b7;var _0x586c38;(_0x586c38=this[_0x48475f(0x1f2)][_0x48475f(0x20f)](_0x5f40c5[_0x48475f(0x209)]()))==null||_0x586c38[_0x48475f(0x301)](),this[_0x48475f(0x1f2)][_0x48475f(0x2e7)](_0x5f40c5[_0x48475f(0x209)]());})));}['_syncBaseUnit'](_0x578615){const _0x504610=_0x3e73b2;!this[_0x504610(0x38b)]||this[_0x504610(0x1f2)][_0x504610(0x23b)](_0x578615)||this[_0x504610(0x1f2)][_0x504610(0x368)](_0x578615,this['_dataSyncPrimaryController'][_0x504610(0x2cc)](_0x578615));}[_0x3e73b2(0x445)](){const _0xf113a=_0x3e73b2;let _0x3a46a6=this['_injector'][_0xf113a(0x20f)](_0x1cf192);_0x4a2be5()[_0xf113a(0x23d)](_0x1cf4a9=>_0x3a46a6['register'](_0x1cf4a9));let _0x565cf8=this[_0xf113a(0x332)]['get'](_0xcb8674),_0x12986e=this[_0xf113a(0x332)][_0xf113a(0x20f)](_0x18e4af);_0x9a5b1b()[_0xf113a(0x23d)](_0x3cd188=>{const _0x19382e=_0xf113a;_0x565cf8[_0x19382e(0x363)](_0x3cd188),_0x12986e['registerView'](_0x3cd188);});}};_0x5b59f9(_0x4025d2,_0x3e73b2(0x4fc),_0x3e73b2(0x289)),_0x5b59f9(_0x4025d2,_0x3e73b2(0x413),_0x34bc8f),_0x5b59f9(_0x4025d2,'version',_0x3e4cd6),_0x5b59f9(_0x4025d2,_0x3e73b2(0x357),_0x40477b['UniverInstanceType'][_0x3e73b2(0x2b0)]),_0x4025d2=_0x5ed18a([(0x0,_0x40477b['DependentOn'])(_0x5503b1[_0x3e73b2(0x40d)],_0x2fabc2[_0x3e73b2(0x405)]),_0x418791(0x1,(0x0,_0x40477b['Inject'])(_0x40477b['Injector'])),_0x418791(0x2,_0x40477b['ICommandService']),_0x418791(0x3,_0x40477b['IUniverInstanceService']),_0x418791(0x4,_0x40477b[_0x3e73b2(0x26d)]),_0x418791(0x5,(0x0,_0x40477b[_0x3e73b2(0x4ae)])(_0x1630e0[_0x3e73b2(0x2e3)]))],_0x4025d2);let _0x2062a9=class extends _0x40477b[_0x3e73b2(0x50a)]{constructor(_0x150253=_0xeac0b9,_0x517b00,_0x3df6d7,_0x316848,_0x3f6ddd){const _0x16f598=_0x3e73b2;super(),this[_0x16f598(0x380)]=_0x150253,this['_injector']=_0x517b00,this['_commandService']=_0x3df6d7,this[_0x16f598(0x3b3)]=_0x316848,this[_0x16f598(0x48c)]=_0x3f6ddd;let {..._0x3022be}=(0x0,_0x40477b['merge'])({},_0xeac0b9,this['_config']);this['_configService'][_0x16f598(0x216)](_0x16f598(0x260),_0x3022be),this[_0x16f598(0x48c)][_0x16f598(0x452)](_0x40477b[_0x16f598(0x313)]['UNIVER_BASE'],_0x40477b['BaseDataModel']),_0x203a6b[_0x16f598(0x23d)](_0x2b00db=>this[_0x16f598(0x4f4)](this[_0x16f598(0x36d)][_0x16f598(0x427)](_0x2b00db)));}};_0x5b59f9(_0x2062a9,_0x3e73b2(0x4fc),_0x3e73b2(0x456)),_0x5b59f9(_0x2062a9,_0x3e73b2(0x413),_0x34bc8f),_0x5b59f9(_0x2062a9,_0x3e73b2(0x3e2),_0x3e4cd6),_0x5b59f9(_0x2062a9,_0x3e73b2(0x357),_0x40477b[_0x3e73b2(0x313)][_0x3e73b2(0x2b0)]),_0x2062a9=_0x5ed18a([(0x0,_0x40477b[_0x3e73b2(0x283)])(_0x5503b1[_0x3e73b2(0x40d)],_0x2fabc2[_0x3e73b2(0x405)]),_0x418791(0x1,(0x0,_0x40477b[_0x3e73b2(0x4bb)])(_0x40477b[_0x3e73b2(0x3d7)])),_0x418791(0x2,_0x40477b[_0x3e73b2(0x510)]),_0x418791(0x3,_0x40477b[_0x3e73b2(0x26d)]),_0x418791(0x4,_0x40477b[_0x3e73b2(0x4f9)])],_0x2062a9);function _0x57a79c(_0x44756b){const _0x15f884=_0x3e73b2;let _0x18e1e4=_0x378393(_0x44756b[_0x15f884(0x3e1)]);if(!_0x18e1e4)return{'query':'','total':0x0,'matches':[]};let _0x49ba2f=[],_0xb83282=[];for(let _0x1c842b=0x0;_0x1c842b<_0x44756b[_0x15f884(0x472)]['length'];_0x1c842b++){if(!(_0x1c842b in _0x44756b['fieldIds']))continue;let _0x10d76f=_0x44756b[_0x15f884(0x2ec)][_0x15f884(0x431)][_0x44756b[_0x15f884(0x472)][_0x1c842b]];_0x10d76f&&_0xb83282[_0x15f884(0x36f)]({'field':_0x10d76f,'fieldIndex':_0x1c842b});}_0x44756b['rows'][_0x15f884(0x23d)]((_0x2b275f,_0x5742a3)=>{_0xb83282['forEach'](({field:_0x4a14c0,fieldIndex:_0xdaf96d})=>{const _0x375d58=_0x1d63;let _0x2f7c30=_0x565aed(_0x2b275f['values'][_0x4a14c0['id']],_0x4a14c0);if(!_0x2f7c30)return;let _0x42f997=_0x369b3e(_0x18e1e4,_0x2f7c30[_0x375d58(0x469)]);_0x42f997<=0x0||_0x49ba2f[_0x375d58(0x36f)]({'recordId':_0x2b275f[_0x375d58(0x3c7)],'fieldId':_0x4a14c0['id'],'fieldType':_0x4a14c0[_0x375d58(0x357)],'text':_0x2f7c30['displayText'],'score':_0x42f997,'rowIndex':_0x5742a3,'fieldIndex':_0xdaf96d});});}),_0x49ba2f[_0x15f884(0x225)]((_0x1ec1ae,_0x34fedc)=>_0x34fedc['score']-_0x1ec1ae[_0x15f884(0x4cd)]||_0x1ec1ae['rowIndex']-_0x34fedc[_0x15f884(0x222)]||_0x1ec1ae['fieldIndex']-_0x34fedc['fieldIndex']);let _0x9ba38c=_0x44756b[_0x15f884(0x2c4)]==null?_0x49ba2f:_0x49ba2f[_0x15f884(0x382)](0x0,Math[_0x15f884(0x263)](0x0,_0x44756b[_0x15f884(0x2c4)]));return{'query':_0x18e1e4,'total':_0x49ba2f['length'],'matches':_0x11e5c2(_0x9ba38c)};}function _0x565aed(_0x79c5ee,_0x37c782){const _0x31f9ab=_0x3e73b2;let _0x556c82=[];for(let _0x215afd of _0x25a0d6(_0x79c5ee,_0x37c782)){let _0x40ea50=_0x378393(_0x215afd);_0x40ea50&&_0x556c82['push'](_0x40ea50);}return _0x556c82[_0x31f9ab(0x49a)]?{'displayText':_0x1f8489(_0x79c5ee,_0x37c782),'searchTexts':_0x469618(_0x556c82)}:null;}function _0x1f8489(_0xeb3f1a,_0x1a349c){const _0x2a6237=_0x3e73b2;switch(_0x1a349c[_0x2a6237(0x357)]){case _0x40477b[_0x2a6237(0x3dc)][_0x2a6237(0x2e5)]:case _0x40477b[_0x2a6237(0x3dc)]['MultiSelect']:case _0x40477b[_0x2a6237(0x3dc)][_0x2a6237(0x392)]:return _0x488928(_0xeb3f1a,_0x1a349c)[_0x2a6237(0x267)](',\x20');case _0x40477b[_0x2a6237(0x3dc)][_0x2a6237(0x38d)]:return _0x4edeac(_0xeb3f1a);case _0x40477b[_0x2a6237(0x3dc)][_0x2a6237(0x48b)]:case _0x40477b['BaseFieldType'][_0x2a6237(0x275)]:case _0x40477b[_0x2a6237(0x3dc)][_0x2a6237(0x2a6)]:return _0x50579b(_0xeb3f1a,_0x1a349c);case _0x40477b[_0x2a6237(0x3dc)][_0x2a6237(0x42b)]:case _0x40477b[_0x2a6237(0x3dc)][_0x2a6237(0x200)]:return _0x56251d(_0xeb3f1a,_0x1a349c);case _0x40477b['BaseFieldType'][_0x2a6237(0x24c)]:return _0x38fe7c(_0xeb3f1a,_0x1a349c);case _0x40477b['BaseFieldType']['Checkbox']:return _0xeb3f1a?_0x2a6237(0x2f2):'Unchecked';case _0x40477b['BaseFieldType'][_0x2a6237(0x4aa)]:return _0x4ac4a5(_0xeb3f1a)[_0x2a6237(0x267)](',\x20');default:return _0x41eda8(_0xeb3f1a);}}function _0x25a0d6(_0x2f67a5,_0xe1668b){const _0x428820=_0x3e73b2;switch(_0xe1668b[_0x428820(0x357)]){case _0x40477b[_0x428820(0x3dc)][_0x428820(0x2e5)]:case _0x40477b[_0x428820(0x3dc)][_0x428820(0x2e1)]:case _0x40477b[_0x428820(0x3dc)][_0x428820(0x392)]:{let _0x52f7c5=_0x488928(_0x2f67a5,_0xe1668b);if(Array[_0x428820(0x21e)](_0x2f67a5)){let _0x3985d6=[..._0x52f7c5];for(let _0x2d8b93=0x0;_0x2d8b93<_0x2f67a5[_0x428820(0x49a)];_0x2d8b93++)_0x2d8b93 in _0x2f67a5&&_0x3985d6[_0x428820(0x36f)](String(_0x2f67a5[_0x2d8b93]));return _0x3985d6;}return _0x2f67a5==null?_0x52f7c5:[..._0x52f7c5,String(_0x2f67a5)];}case _0x40477b[_0x428820(0x3dc)]['Link']:{let _0x1d0d27=_0x39ae6c(_0x2f67a5);return[_0x1d0d27[_0x428820(0x2b5)],_0x1d0d27['url']];}case _0x40477b[_0x428820(0x3dc)][_0x428820(0x48b)]:case _0x40477b[_0x428820(0x3dc)][_0x428820(0x275)]:case _0x40477b[_0x428820(0x3dc)][_0x428820(0x2a6)]:return[_0x50579b(_0x2f67a5,_0xe1668b),_0x41eda8(_0x2f67a5)];case _0x40477b[_0x428820(0x3dc)][_0x428820(0x42b)]:case _0x40477b[_0x428820(0x3dc)]['Currency']:return[_0x56251d(_0x2f67a5,_0xe1668b),_0x41eda8(_0x2f67a5)];case _0x40477b[_0x428820(0x3dc)]['Progress']:return[_0x38fe7c(_0x2f67a5,_0xe1668b),_0x41eda8(_0x2f67a5)];case _0x40477b['BaseFieldType'][_0x428820(0x22e)]:return _0x2f67a5?[_0x428820(0x2f2),_0x428820(0x4fd),_0x428820(0x330)]:[_0x428820(0x2ed),'No',_0x428820(0x4ed)];case _0x40477b[_0x428820(0x3dc)]['Attachment']:return _0x4ac4a5(_0x2f67a5);default:return[_0x41eda8(_0x2f67a5)];}}function _0x488928(_0x3a4285,_0x42a4fd){const _0x2831db=_0x3e73b2;var _0x8cd53a;let _0x277a1b=Array['isArray']((_0x8cd53a=_0x42a4fd[_0x2831db(0x4c3)])==null?void 0x0:_0x8cd53a['options'])?_0x42a4fd[_0x2831db(0x4c3)][_0x2831db(0x518)]:[],_0x382d57=[];if(Array['isArray'](_0x3a4285)){for(let _0x3a038b=0x0;_0x3a038b<_0x3a4285[_0x2831db(0x49a)];_0x3a038b++){if(!(_0x3a038b in _0x3a4285))continue;let _0xa2851a=String(_0x3a4285[_0x3a038b]);_0xa2851a&&_0x382d57['push'](_0x4bf731(_0x277a1b,_0xa2851a));}return _0x382d57;}if(_0x3a4285!=null){let _0xcba993=String(_0x3a4285);_0xcba993&&_0x382d57['push'](_0x4bf731(_0x277a1b,_0xcba993));}return _0x382d57;}function _0x4bf731(_0x131bb8,_0x22ff16){const _0x2c9efc=_0x3e73b2;for(let _0xeee181 of _0x131bb8){if(typeof _0xeee181=='string'&&_0xeee181===_0x22ff16)return _0xeee181;if(_0xeee181&&typeof _0xeee181==_0x2c9efc(0x3ed)){var _0x45b1ce,_0xff7afc,_0x286d5f;let _0x51c0a5=_0xeee181;if(String((_0x45b1ce=(_0xff7afc=_0x51c0a5['id'])==null?_0x51c0a5[_0x2c9efc(0x33c)]:_0xff7afc)==null?'':_0x45b1ce)===_0x22ff16||String((_0x286d5f=_0x51c0a5[_0x2c9efc(0x33c)])==null?'':_0x286d5f)===_0x22ff16){var _0x3f711a,_0x961612;return String((_0x3f711a=(_0x961612=_0x51c0a5[_0x2c9efc(0x33c)])==null?_0x51c0a5['id']:_0x961612)==null?_0x22ff16:_0x3f711a);}}}return _0x22ff16;}function _0x39ae6c(_0x16f7ed){const _0x15a571=_0x3e73b2;if(_0x16f7ed&&typeof _0x16f7ed==_0x15a571(0x3ed)&&!Array['isArray'](_0x16f7ed)){var _0x57e830,_0x3d9f75,_0x165bbb;let _0x39c2c1=_0x16f7ed;return{'text':String((_0x57e830=(_0x3d9f75=_0x39c2c1['text'])==null?_0x39c2c1['url']:_0x3d9f75)==null?'':_0x57e830),'url':String((_0x165bbb=_0x39c2c1[_0x15a571(0x3e0)])==null?'':_0x165bbb)};}return{'text':_0x41eda8(_0x16f7ed),'url':_0x41eda8(_0x16f7ed)};}function _0x4edeac(_0x2be9bd){const _0x1b3191=_0x3e73b2;let _0x49a182=_0x39ae6c(_0x2be9bd);return _0x49a182[_0x1b3191(0x2b5)]||_0x49a182['url'];}function _0x50579b(_0x1dc30c,_0x3eeff8){const _0x49e789=_0x3e73b2;return typeof _0x1dc30c!=_0x49e789(0x2cf)||!Number[_0x49e789(0x324)](_0x1dc30c)?'':_0x47521d(_0x1dc30c,_0x3eeff8[_0x49e789(0x4c3)]);}function _0x56251d(_0xe4c768,_0x50eeb9){const _0x7770e4=_0x3e73b2;let _0x34ea1e=typeof _0xe4c768==_0x7770e4(0x2cf)?_0xe4c768:Number(_0xe4c768);return Number[_0x7770e4(0x324)](_0x34ea1e)?_0x11ab14(_0x34ea1e,_0x50eeb9[_0x7770e4(0x4c3)]):'';}function _0x38fe7c(_0x8bc407,_0xaa0b31){const _0x5700d7=_0x3e73b2;var _0x513954;let _0x4de5f1=typeof _0x8bc407=='number'?_0x8bc407:Number(_0x8bc407);if(!Number[_0x5700d7(0x324)](_0x4de5f1))return'';let _0x32820a=(_0x513954=_0xaa0b31[_0x5700d7(0x4c3)])==null?{}:_0x513954,_0x1659cd=_0x32820a[_0x5700d7(0x347)]===0x1||_0x32820a[_0x5700d7(0x347)]===0x2?_0x32820a[_0x5700d7(0x347)]:0x0,_0x427a68=_0x4de5f1[_0x5700d7(0x3b1)](_0x1659cd);return _0x32820a['format']===_0x5700d7(0x2cf)?_0x427a68:_0x427a68+'%';}function _0x4ac4a5(_0x533f28){const _0x4093b4=_0x3e73b2;return Array[_0x4093b4(0x21e)](_0x533f28)?_0x533f28[_0x4093b4(0x371)](_0x5cc327=>{const _0x1d62d8=_0x4093b4;var _0x3fdd11,_0x19b368;if(!_0x5cc327||typeof _0x5cc327!=_0x1d62d8(0x3ed))return[];let _0x14743f=_0x5cc327,_0x24e831=String((_0x3fdd11=(_0x19b368=_0x14743f[_0x1d62d8(0x33c)])==null?_0x14743f[_0x1d62d8(0x3e0)]:_0x19b368)==null?'':_0x3fdd11)[_0x1d62d8(0x3bb)]();return _0x24e831?[_0x24e831]:[];}):[];}function _0x41eda8(_0x3fdac0){const _0x49ed28=_0x3e73b2;if(_0x3fdac0==null)return'';if(typeof _0x3fdac0==_0x49ed28(0x4d5))return _0x3fdac0?_0x49ed28(0x2c9):_0x49ed28(0x262);if(typeof _0x3fdac0==_0x49ed28(0x2cf))return String(_0x3fdac0);if(Array[_0x49ed28(0x21e)](_0x3fdac0)){let _0x197430=[];for(let _0xe3edb9=0x0;_0xe3edb9<_0x3fdac0[_0x49ed28(0x49a)];_0xe3edb9++){if(!(_0xe3edb9 in _0x3fdac0))continue;let _0x3ab023=_0x41eda8(_0x3fdac0[_0xe3edb9]);_0x3ab023&&_0x197430[_0x49ed28(0x36f)](_0x3ab023);}return _0x197430['join'](',\x20');}if(typeof _0x3fdac0==_0x49ed28(0x3ed)){var _0x5a676c,_0x4c11ed,_0xd9cede,_0x49e10a;let _0xf6309f=_0x3fdac0;return String((_0x5a676c=(_0x4c11ed=(_0xd9cede=(_0x49e10a=_0xf6309f[_0x49ed28(0x2f7)])==null?_0xf6309f[_0x49ed28(0x33c)]:_0x49e10a)==null?_0xf6309f['text']:_0xd9cede)==null?_0xf6309f['url']:_0x4c11ed)==null?'':_0x5a676c)[_0x49ed28(0x3bb)]();}return String(_0x3fdac0);}function _0x369b3e(_0x4e9af1,_0xc13667){const _0x898d0e=_0x3e73b2;let _0x294ff3=0x0;for(let _0x2f9a2f of _0xc13667)if(_0x2f9a2f){if(_0x2f9a2f===_0x4e9af1){_0x294ff3=Math[_0x898d0e(0x263)](_0x294ff3,0x12c);continue;}if(_0x2f9a2f[_0x898d0e(0x3ec)](_0x4e9af1)){_0x294ff3=Math[_0x898d0e(0x263)](_0x294ff3,0xfa);continue;}_0x2f9a2f[_0x898d0e(0x238)](_0x4e9af1)&&(_0x294ff3=Math[_0x898d0e(0x263)](_0x294ff3,0xc8));}return _0x294ff3;}function _0x378393(_0x727690){const _0x25ba85=_0x3e73b2;return _0x727690['trim']()[_0x25ba85(0x3c5)](/\s+/g,'\x20')[_0x25ba85(0x4c8)]();}function _0x469618(_0x593640){return Array['from'](new Set(_0x593640));}function _0x11e5c2(_0x212ef0){let _0x381457=[];for(let {rowIndex:_0x59d1f2,fieldIndex:_0x3c3645,..._0x326800}of _0x212ef0)_0x381457['push'](_0x326800);return _0x381457;}_0x302dac[_0x3e73b2(0x4c9)]=_0x411445,_0x302dac[_0x3e73b2(0x298)]=_0x3987f0,_0x302dac[_0x3e73b2(0x40e)]=_0x54caa1,_0x302dac[_0x3e73b2(0x454)]=_0x11f42b,_0x302dac[_0x3e73b2(0x26a)]=_0x1cc838,_0x302dac[_0x3e73b2(0x31f)]=_0x2c7b92,_0x302dac['CreateBaseFieldCommand']=_0x38e21a,_0x302dac[_0x3e73b2(0x30b)]=_0x4bf865,_0x302dac[_0x3e73b2(0x2af)]=_0x40f2e9,_0x302dac[_0x3e73b2(0x350)]=_0x9e43fa,_0x302dac['DeleteBaseFieldCommand']=_0x1b91c6,_0x302dac[_0x3e73b2(0x4ee)]=_0x589bef,_0x302dac[_0x3e73b2(0x51b)]=_0xa9badd,_0x302dac[_0x3e73b2(0x3f2)]=_0x19a2d8,_0x302dac[_0x3e73b2(0x323)]=_0x4996c1,_0x302dac[_0x3e73b2(0x4d4)]=_0x185eef,_0x302dac[_0x3e73b2(0x26f)]=_0x51c60a,_0x302dac[_0x3e73b2(0x3a2)]=_0x194631,_0x302dac['IBaseCommandService']=_0x3beb36,_0x302dac[_0x3e73b2(0x3f9)]=_0x26abc0,_0x302dac['IBaseProjectionService']=_0x18e4af,_0x302dac['IBaseViewRegistryService']=_0xcb8674,_0x302dac[_0x3e73b2(0x486)]=_0x5bae50,_0x302dac[_0x3e73b2(0x4a1)]=_0x19e446,_0x302dac[_0x3e73b2(0x217)]=_0x56e8c9,_0x302dac[_0x3e73b2(0x4bc)]=_0x3d095b,_0x302dac[_0x3e73b2(0x1f6)]=_0x591f15,_0x302dac[_0x3e73b2(0x1ef)]=_0x3f97ce,_0x302dac[_0x3e73b2(0x411)]=_0x327845,_0x302dac[_0x3e73b2(0x272)]=_0x217452,_0x302dac['SetBaseViewFieldOrderCommand']=_0x3c900f,_0x302dac[_0x3e73b2(0x228)]=_0x31488e,_0x302dac[_0x3e73b2(0x290)]=_0x3a7366,_0x302dac[_0x3e73b2(0x3e9)]=_0x188ea9,_0x302dac[_0x3e73b2(0x2e6)]=_0x573545,_0x302dac[_0x3e73b2(0x3e4)]=_0x369a2b,Object[_0x3e73b2(0x328)](_0x302dac,_0x3e73b2(0x274),{'enumerable':!0x0,'get':function(){return _0x4025d2;}}),Object[_0x3e73b2(0x328)](_0x302dac,_0x3e73b2(0x377),{'enumerable':!0x0,'get':function(){return _0x2062a9;}}),_0x302dac[_0x3e73b2(0x252)]=_0x29e034,_0x302dac[_0x3e73b2(0x51a)]=_0x1639a2,_0x302dac[_0x3e73b2(0x4ab)]=_0x4735be,_0x302dac['UpdateBaseKanbanConfigCommand']=_0x212dda,_0x302dac[_0x3e73b2(0x439)]=_0xc1e982,_0x302dac[_0x3e73b2(0x321)]=_0xe1487b,_0x302dac[_0x3e73b2(0x480)]=_0xfb8107,_0x302dac[_0x3e73b2(0x4b4)]=_0x4c84cb,_0x302dac[_0x3e73b2(0x3b8)]=_0x5d22e1,_0x302dac['createEmbedBasesTable']=_0x1399bf,_0x302dac[_0x3e73b2(0x502)]=_0x271db6,_0x302dac[_0x3e73b2(0x3fb)]=_0x2349ad,_0x302dac[_0x3e73b2(0x470)]=_0x2f4bb1,_0x302dac[_0x3e73b2(0x2c5)]=_0x19d545,_0x302dac[_0x3e73b2(0x294)]=_0x47521d,_0x302dac[_0x3e73b2(0x38e)]=_0x11ab14,_0x302dac[_0x3e73b2(0x44c)]=_0xcffa0d,_0x302dac['getBaseCellValue']=_0x98b763,_0x302dac[_0x3e73b2(0x29d)]=_0x27d85a,_0x302dac['matchesBaseCondition']=_0xfd4628,_0x302dac[_0x3e73b2(0x327)]=_0xc0f453,_0x302dac[_0x3e73b2(0x288)]=_0x57a79c,_0x302dac['traceBasePerformance']=_0x3c2c6f,_0x302dac[_0x3e73b2(0x415)]=_0x1a2d0d;}));function _0x42a3(){const _0xd3fd60=['name','base.viewType.grid','dateKit','_getViewRevision','_createNumberingAllocators','createRecord','moveView','subscribe','gridViewId','weekdays','base.command.change-base-field-type','decimalPlaces','beforeFieldId','[BasePerf]\x20','setHours','#3b82f6','getUTCDay','_isAllowedKanbanGroupField','getTime','_normalizeGalleryConfig','CreateBaseViewCommand','_views','week','NUMBER','_resolveGalleryCoverFieldId','_resolveKanbanCardFieldIds','setViewFieldVisible','type','createRecords','_toDirtyRangePatch','[BaseCommandService]:\x20cannot\x20create\x20field.','BaseSortDirection','Lookup','currencySymbol','reason','now','usableAsCardCover','@univerjs-pro/license','colId','register','unitWidth','params','base.fieldType.','row','set','iterator','yesterday','base-perf','index','_commandService','h:mm\x20a','push','canCreateField','flatMap','function','fieldOrder','\x22\x20is\x20not\x20registered.','duplicateField','spacePeriod','UniverRemoteBasesPlugin','_kanbanLaneTitle','Phone','format','getUnit','assign','[BaseCommandService]:\x20cannot\x20manage\x20view.','split','_applyFormulaResult','_config','en-US','slice','_isColorfulKanbanGroupField','date','$1\x20','removeOp','@univerjs-pro/bases','deleteRecords','BaseJson1.json1Apply','ObjectMatrix','_dataSyncPrimaryController','getUTCMonth','Link','formatBaseNumberValue','lastMonth','base.command.update-base-field-description','long','Group','trigger','string','getDay','onCommandExecuted','tomorrow','base.command.ensure-base-temporal-view-date-fields','_patchProjectedRowsForCellInvalidations','fieldSettings','find','[BaseField]:\x20invalid\x20person\x20value.','defaultValue','createDefaultValue','[BaseCommandService]:\x20cannot\x20edit\x20cell.','_materializeGroups','canManageView','EnsureBaseTemporalViewDateFieldsCommand','createBase','progressFieldId','Summary','timeZone','_projectRows','[BaseCommandService]:\x20field\x20\x22','[BaseField]:\x20invalid\x20multi-value\x20reference.','recordOrder','getSnapshot','childType','_buildGrid','width','Done','RecordId','toFixed','_cellInvalidationsTouchFields','_configService','conditional','deleteTable','[BaseCommandService]:\x20invalid\x20cell\x20value.','base.command.create-base-view','createDefaultBaseTableSnapshot','replaceOp','updateField','trim','column','manual','getDependencies','FORCE_STRING','userID','star','leftPaneCollapsed','beforeViewId','frozenFieldCount','replace','hostAnchorId','recordId','[BaseField]:\x20negative\x20numbers\x20are\x20disabled.','viewIndexes','deepClone','MUTATION','HH:mm','validateFormula','_tableRevisions','setRecordValues','includeRecords','[BaseProjectionService]:\x20missing\x20view\x20\x22','value','month','createDefaultConfig','getTypeOfUnitDisposed$','next7','Injector','autoIncrement','Gantt\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','_buildKanban','getCapabilities','BaseFieldType','BaseFilterConjunction','local','invalidateByView','url','query','version','merge','SetBaseViewSortCommand','conjunction','createView','recordPatch','spaceComma','SetBaseViewFilterCommand','_getAllTableIds','workingDays','startsWith','object','viewRevision','regexp','col','_projectionCache','DeleteBaseViewCommand','remove','short','indexOf','filter','#,##0.00','base.command.duplicate-base-record','IBasePermissionService','groupFieldId','createEmbedBasesTableRemoveMutation','_capabilities','system','_projectFields','base.viewType.gantt','base.command.set-base-view-sort','setFieldPermission','#16a34a','check','YYYY/MM/DD','UniverProFormulaEnginePlugin','createIdentifier','_viewRevisions','UNIVER_EMBED_BASES_TABLE','_buildCalendar','duplicateRecord','_syncBaseUnit','Calendar\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','UniverLicensePlugin','BaseJson1OpFactory','_viewRowsCacheKey','setSnapshot','SetBaseRangeValuesCommand','_fieldRegistry','packageName','general','uniqueFieldName','formula','mode','diffValue','Barcode','registerSuperTable','hasOwnProperty','color','childUnitId','attachment','raw','IActiveDirtyManagerService','hh:mm','UpdatedBy','base.command.batch-delete-base-records','insertOp','[BaseFieldRegistryService]:\x20field\x20type\x20\x22','measure','registerCommand','updateRecordOrder','21325980Sllcfc','fld-','Number','MM/DD/YYYY','invalidateByCell','toLocaleString','localeCompare','getMonth','fields','604122RsHJxu','MM-DD','person','renameFormulaUnitReferences','_normalizeCalendarDisplayColor','_groupCellInvalidations','description','UpdateBaseRecordOrderCommand','embedId','order','_isCalendarDateField','primaryFieldId','workingDaysOnly','Kanban','_getSystemFieldValue','base.command.duplicate-base-field','base.field-registry.service','rowId','deleteRecord','_initRegistries','before','Gallery\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','clearBasePermission','splice','fieldId','rules','getBaseCellFormulaValue','-field-name','call','timeslotSize','#FDE68A','fromPlainText','registerCtorForType','_kanbanLaneColor','BatchCreateBaseRecordsCommand','clearFieldPermission','REMOTE_BASES_PLUGIN','_createSystemFieldValuePatches','exact','todo','invalidGroupField','test','embed-ui','view','h24','recordIds','applyOp','624oFkMhS','Calendar','#BFDBFE','records','_plugins','clearRecordPermission','tableName','_normalizeCellValue','searchTexts','onReady','_setViewFieldSetting','DESC','64DlQXYD','_normalizeGanttDisplayColor','base.command.delete-base-view','dateToExcelSerial','_recordIds','fieldIds','base.viewType.kanban','_initDataSync','getAll','@univerjs/core','recordNamePrefix','_patchCachedProjectedRows','Numbering','afterFieldId','#,##0','attachmentSets','base.command.delete-base-table','BOOLEAN','_cacheKey','baseDateSerialToDateMs','Person','createBatchCreateRecordsOp','Gantt','uniqueTableName','tableId','MoveBaseFieldCommand','primaryFieldName','canCreateTable','_canUseFastSort',',,,\x22B\x22','Date','_univerInstanceService','#BBF7D0','colIndex','_getTable','columns','base.command.rename-base-table','includeTime','_recordPermissions','attachment-','apply','_getOrderedRecords','invertWithDoc','decimal','formula.mutation.set-formula-calculation-result','length','BaseViewType','pattern','_initDependencies','tableRevision','STRING','base.command.move-base-view','MoveBaseViewCommand','cardLayout','registerTable','Rating','createField','FieldId','add','_applier','base.command.update-base-view-config','Attachment','UpdateBaseFieldDescriptionCommand','undefined','end','Optional','resolve','setViewFilter','reduce','round','hourCycle','copyBaseTableSnapshot','result','getFullYear','Flow','focusUnit','getTypeOfUnitAdded$','UTC','Inject','RenameBaseViewCommand','Location','tables','parse','_permissionService','sheetId','_groupConfigCacheSegment','config','_createNumberingAllocator','locale','base.resource.service','exceptions','toLowerCase','ApplyBaseJson1Mutation','_groupProjectionFieldIds','missingField','SetSuperTableMutation','score','setViewGroup','invalidGanttStartField','registerView','_matchesGanttColorRule','size','IUndoRedoService','DuplicateBaseRecordCommand','boolean','_setCachedProjection','setViewFieldWidth','_resolveCalendarDateFieldId','createdAt','1971954muHmoi','showTodayLine','leftPaneWidth','BaseProjection.getProjection','invalidateByOp','canDeleteTable','base.command.create-base-field','conditions','groups','_fieldPermissions','createCreateFieldOp','[BaseCommandService]:\x20cannot\x20delete\x20table.','Disposable','getBase','globalRevision','_removeSuperTables','_getTableRevision','setBaseName','base.command.set-base-view-filter','False','DeleteBaseRecordCommand','from','canEditCell','usableAsGanttStart','getAffectedRanges','fieldName','disposeWithMe','keys','afterViewId','_findCalendarDateFieldId','_calendarEventColor','IUniverInstanceService','cellData','_getCurrentUserId','pluginName','Yes','[BaseCommandService]:\x20cannot\x20edit\x20readonly\x20field.','titleFieldId','off','default','createEmbedBasesTableAddMutation','createCreateRecordOp','medium','[BaseCommandService]:\x20cannot\x20delete\x20record.','none','_isAllDayCalendarEvent','lessThanOrEqual','executeCommand','Plugin','_initialize','Gallery','_runtimeContext','getSuperTableRegistrations','compare','ICommandService','symbol','_findKanbanGroupField','group','done','[BaseField]:\x20invalid\x20number\x20value.','year','endsWith','options','bases.config','UpdateBaseFieldCommand','DeleteBaseTableCommand','_rowTransformCacheSegment',':start','_getJson1DirtyData','start','usableAsGanttEnd','_buildGallery','editCell','base.command.set-base-record-values','Formula','record','base-perf-','SetBaseNameCommand','viewOrder','updatedBy','_baseSyncDisposables','setViewSort','JSON1','stringify','SetBaseKanbanGroupFieldCommand','canDeleteField','[BaseFormula]:\x20field\x20\x22','base.command.update-base-field','_projectedViewRowsCache','isNot','_getStructureDirtyTableIds','_getCellRevision','endDateFieldId','-view-grid','Currency','_factory','SetTriggerFormulaCalculationStartMutation','readonly','unknown','generateRandomId','thisMonth','amd','contains','getUnitId','#14b8a6','regenerateViewIds','card','\x22\x20does\x20not\x20exist.','CreatedBy','get','_resolveGalleryCardFieldIds','next30','lastIndexOf','canEditField','deleteView','ena','setConfig','RenameBaseTableCommand','_isKanbanGroupField','_projectedRowsCache','custom','createSuperTableReference','base.view-registry.service','[BaseCommandService]:\x20cannot\x20create\x20record.','isArray','base.command.delete-base-record','info','gantt','rowIndex','CellValueType','_setAttachmentResources','sort','min','_projectTableRows','SetBaseViewFieldVisibleCommand','findIndex','_getAllBaseDependencyTreeCacheMap','user','base.command.set-base-view-field-visible','UniverProEngineFormula','Checkbox','base.viewType.calendar','cellRevision','_deleteAttachmentResources','changed','_apply','invalidDateField','cardSize','BaseDataModel','toDisposable','includes','YYYY/MM/DD\x20HH:mm','_cellRevisions','has','deleteField','forEach','abbreviation','calendar','YYYY-MM-DD','moveField','direction','_createRecordWithDefaults','entries','base.viewType.gallery','General','canCreateRecord','Tools','getStructuredDependencies','valueOf','End\x20date','Progress','base.command.set-base-view-field-width','doing','matchAll','hidden','finally','UpdateBaseCellCommand','compose','1108674HpUZBP','canDeleteRecord','field','_formulaService','776772vrquOf','bases.fieldConfig.textPlaceholder','rows','Email','dateMode','_getCachedProjection','notContains','_resolveKanbanCoverFieldId','bases.remote.config','createUpdateCellOp','false','max','__UNIVER_BASE_PERF__','_title','_viewRevisionKey','join','showFieldNames','mark','BatchDeleteBaseRecordsCommand','edit','createSetRecordValuesOp','IConfigService','allowMultiple','EMBED_BASES_TABLE_RESOURCE_KEY','majorHeaders','day','SetBaseRecordValuesCommand','tableOrder','UniverBasesPlugin','CreatedAt','_tablePermissions','toPrimitive','quarter','exports','_createRecordOrderOp','refactorFormulaUnitQualifier','scale','_isAllDayGanttDateRange','resources','getItem','_formulaSyncQueue','_kanbanGroupKeys','_isNonEmptyCellValue','DependentOn','syncExecuteCommand','then','invertOp','blue','searchBaseTable','BASES_PLUGIN','revision','manageView','clearTablePermission','large','_syncSuperTables','base.command.update-base-record-order','SetBaseViewFieldWidthCommand','yyyy/mm/dd','TwoWayLink','editable','formatBaseDateValue','updateCell','registerSyncingMutations','patches','BaseJson1OpApplier','Start\x20date','getOwnPropertyDescriptor','18905mMBLfk','base.command.delete-base-field','inferBaseSeparatorStyle','label','pushUndoRedo','24cBqiJV','normal','_setFormulaFieldCells','operand','repeat','padStart','UpdatedAt','BaseProjection.projectTableRows','lastIndex','_isGanttDateField','getUTCFullYear','renameTable','_initCommands','_applyingFormulaResults','getAllUnitsForType','CreateBaseTableCommand','UNIVER_BASE','setTablePermission','base.command.move-base-field','[BaseField]:\x20invalid\x20progress\x20value.','periodComma','text','setRecordPermission','1672839wvXhkG','prototype','useThousands','updateViewConfig','createTable','operator','coverFieldId','path','Button','invalid','_getTablesToNormalize','validate','_groupsCacheKey','limit','ensureBaseTableCellLayout','[BaseField]:\x20invalid\x20checkbox\x20value.','columnSettings','getTypePlugin','true','key','_withModifiedSystemValues','syncUnit','isInteger','toStringTag','number','_basePermissions','[BaseField]:\x20invalid\x20rating\x20value.','view-','_registeredSuperTableNames','attachments','selectField','[BaseCommandService]:\x20cannot\x20edit\x20field.','Todo','invalidGanttEndField','viewId','bases.fieldConfig.linkPlaceholder','[BaseField]:\x20invalid\x20phone\x20value.','separatorStyle','working','_filterRows','displayColor',',\x22K\x22','MultiSelect','commaPeriod','DataSyncPrimaryController','past7','SingleSelect','SetBaseViewGroupCommand','delete','_normalizeCalendarConfig','_fastSortRows','map','option-','table','Unchecked','_buildGantt','BaseProjection.filterAndSortRows','snapshot','some','Checked','allowNegative','views','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','createdBy','title','setBasePermission','Grid','BaseProjection.projectRows','unitId','[BaseCommandService]:\x20cannot\x20delete\x20primary\x20field.','_replaceOptional','SetFormulaCalculationResultMutation','small','CommandType','dispose','createRegExpFromSafeFragment','_cellInvalidations','updatedAt','fromEntries','unitData','RemoveSuperTableMutation','COMMAND','Text','_globalRevision','CreateBaseRecordCommand','setViewFieldOrder','projection','_resolveKanbanGroupFieldId','basePerf','_ganttBarColor','getCurrentUserId','startDateFieldId','UniverInstanceType','every','colorFieldId','_activeDirtyManagerService','changeFieldType','values','[BaseFormula]:\x20A1\x20references\x20and\x20ranges\x20are\x20not\x20supported\x20in\x20Base\x20formulas.','-record-','touchDependencies','_projectedGroupsCache',':end','_filterSortFieldIds','ChangeBaseFieldTypeCommand','setRangeValues','UpdateBaseViewConfigCommand','NumberFormat','DuplicateBaseFieldCommand','isFinite','usableAsCalendarDate','cell','normalizeBaseDateSerial','defineProperty','children','kanban','_resolveGanttDateFieldId','IBaseCellData.ensureTableCellLayout','greaterThanOrEqual','_projectGroups','past30','True','rowIndexById','_injector','valid','_enqueueFormulaSync','formatToParts','base.command.service','renameView','attachmentSet','orderKey','_bumpTableRevision','getUTCDate'];_0x42a3=function(){return _0xd3fd60;};return _0x42a3();}
1
+ function _0x17a2(_0x4d462b,_0x16e6ca){_0x4d462b=_0x4d462b-0xf2;const _0x30cd07=_0x30cd();let _0x17a251=_0x30cd07[_0x4d462b];return _0x17a251;}function _0x30cd(){const _0x50fd21=['ensureBaseTableCellLayout','finally','result','_fastSortRows','manual','parentRecordId','width','text','UniverBasesPlugin','True','recordOrder','limit','findRecordLinkReferences','endDateFieldId','none','EMBED_BASES_TABLE_RESOURCE_KEY','canEditField','#16a34a','off','endsWith','_cacheKey','getUTCDate','421205pUWoQn','diffValue','filter','\x22\x20is\x20referenced\x20by\x20','RemoveSuperTableMutation','invalid','clearFieldPermission','editCell','showFieldNames','[BaseViewRegistryService]:\x20view\x20type\x20\x22','max','pop','repairViewConfig','https://','getBase','object','beforeViewId','getCurrentUser','base.command.update-base-view-conditional-color-rules','CONTAINS','WriteCursor','depthByRecordId','createUpdateCellOp','UpdateBaseFieldDescriptionCommand','[BaseCommandService]:\x20cannot\x20delete\x20field.','baseRows','Gallery\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','[BaseField]:\x20invalid\x20rating\x20value.','error','getTypeOfUnitDisposed$','fields','major-','getTime','markResultApplied','value','contains','registerView','Date','base.command.set-base-view-group','_factory','base.viewType.grid','getAllUnitsForType','_normalizeCalendarDisplayColor','_buildGrid','color','DD/MM/YYYY','registerCtorForType','[BaseCommandService]:\x20cannot\x20delete\x20primary\x20field.','clearRecordPermission','Number','createDefaultConfig','isBaseRecordIdFieldName','\x20can\x20use\x20dateMode\x20only\x20with\x20Date,\x20CreatedAt,\x20or\x20UpdatedAt\x20fields.','conditionalColoring','recordIds','_getJson1DirtyData','getBaseCellValue','getBaseCellFormulaValue','BaseConditionalColorTarget','_getAllBaseDependencyTreeCacheMap','_matchesGanttColorRule','[BaseCommandService]:\x20cannot\x20delete\x20table.','setBasePermission','base.command.create-base-field','includes','true','custom','periodComma','viewOrder','readonly','base.command.create-base-view','showTodayLine','relationRole','lessThan','decorate','154OvhAnl','base.viewType.kanban','ICommandService','subscribe','parseRecordLinkIds','children','DeleteBaseViewCommand','_tableRevisions','_recordPermissions','normalize','past30','userID','createEmbedBasesTableRemoveMutation','slice','size','[BaseCommandService]:\x20invalid\x20field\x20definition.','[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20','base.command.set-base-table-hierarchy-field','mode','JSON1','ApplyBaseJson1Mutation','_viewRevisionKey','_fieldRegistry','greaterThanOrEqual','toPrimitive','[BaseHierarchy]:\x20','Empty','leftPaneCollapsed','720vLigbC','\x20must\x20be\x20an\x20object.','month','UniverProBases','clearTablePermission','entries','base.command.batch-delete-base-records','base.command.delete-base-field','1292412BMrFky','col','_isKanbanGroupField','percent','displayText','UniverCore','matchesBaseCondition','IUndoRedoService','undefined','[BaseCommandService]:\x20cannot\x20create\x20field.','_projectHierarchyGroups','before','groups','\x20references\x20missing\x20or\x20non-public\x20field\x20\x22','BaseProjection.materializeTableRows','[RecordLink]:\x20target\x20record\x20\x22','MissingRecord','getBaseHierarchyDeletePromotions','forEach','dateKit','_getCachedProjection','isFinite','BaseRecordLinkRole','getSupportedBaseFieldStatTypes','dateToExcelSerial','canCreateTable','Calendar\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','missingField','156850hwjtcu','_bumpTableRevision','Failed\x20to\x20create\x20update\x20cell\x20operation:','resolveBaseDateFieldConfig','SetSuperTableMutation','_groupsCacheKey','Uncategorized','MM-DD','_getSystemFieldValue','BaseJson1.cloneForOp','changeFieldType','projection','Todo','exec','searchBaseTable','url','_syncSuperTables','fieldName','IConfigService','unitData','_cellRevisions','DataSyncPrimaryController','_isColorfulKanbanGroupField','push','base.command.set-base-view-field-order','22EcmSjQ','_toDirtyRangePatch','BaseViewType','thisWeek','_initRegistries','todo','canDeleteTable','#,##0','insertOp','SetBaseViewSortCommand','tables','h12','createRecords','[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20at\x20index\x20','sheetId','_kanbanLaneTitle','Cycle','tomorrow','False','touchDependencies','clearBasePermission','_createNumberingAllocators','valueOf','_createNumberingAllocator','\x22\x20must\x20be\x20a\x20non-system\x20field\x20in\x20the\x20target\x20table.','afterViewId','_assertFieldDefinition','_ganttBarColor','BaseJson1OpFactory','boolean','count','_groupProjectionFieldIds','Grid','BaseConditionalColorOperator','table','renameView','SetBaseRecordValuesCommand','Group','FormulaCalculationTriggerService','BaseFilterConjunction','MoveBaseFieldCommand','quarter','pushUndoRedo','local','base.command.duplicate-base-record','refactorFormulaUnitQualifier','values','Text','Optional','getUnit','NOT_CONTAINS','Status','BOOLEAN','RecordId','base.view-registry.service','SetBaseViewFieldOrderCommand',',,\x22M\x22','_setCachedProjection','_calendarEventColor','4TdpqUj','base.command.move-base-view','_groupCellInvalidations','EnsureBaseTemporalViewDateFieldsCommand','_resolveCalendarDateFieldId','@univerjs-pro/engine-formula','sum','BatchCreateBaseRecordsCommand','FORCE_STRING','base.command.update-base-view-config','createdBy','stringify','setRangeValues','[UpdateBaseViewConditionalColorRulesCommand]:\x20duplicate\x20rule\x20id\x20\x22','IBaseCommandService','raw','usableAsCalendarDate','toLocaleString','decimal','subtreeHeightByRecordId','[BaseCommandService]:\x20cannot\x20manage\x20view.','h24','[BaseCommandService]:\x20cannot\x20edit\x20cell.','-record-','row','_resolveCardTitleFieldId','_projectGroups','type','[BaseJson1OpFactory]:\x20cannot\x20move\x20a\x20field\x20before\x20record-id.','add','UniverProLicense','isBaseFieldStatSupported','person','next30','REMOTE_BASES_PLUGIN','startDateFieldId','length','notContains','formatBaseDateValue','hierarchy','_title','_resolveKanbanCoverFieldId','invalidateByCell','at\x20index\x20','round','base.command.set-base-record-values','LESS_THAN','short','UniverProFormulaEnginePlugin','updatedAt','_filterRows','_univerInstanceService','setViewFieldWidth','medium','_configService','_setViewFieldSetting','createdAt','Name','validateBaseHierarchyRecordCreations','calendar','abbreviation','scale','_syncBaseUnit','fieldSettings','moveView','getStructuredDependencies','BASE_HIERARCHY_MAX_LEVELS','[BaseFormula]:\x20table\x20\x22','depth','IUniverInstanceService','embedId','_buildGantt','UpdateBaseCellCommand','setViewFilter','ascend','dateFormat','BaseProjection.projectRows','primaryFieldName','setViewSort','Numbering','reason','end','isNaN','General','format','_isAllDayGanttDateRange','createCreateRecordOp','base.command.create-base-child-record','operator','UpdateBaseFieldCommand','_kanbanGroupKeys',':start','matchAll','[BaseField]:\x20invalid\x20person\x20value.','Set','focusUnit','CreatedBy','IBasePermissionService','usableAsCardCover','[BaseHierarchy]:\x20field\x20\x22','_applier','coverFieldId','toDisposable','flatMap','compose','_setFormulaFieldCells','allowMultiple','_projectedRowsCache','_tablePermissions','[BaseField]:\x20invalid\x20multi-value\x20reference.','base.field-registry.service','registerCommand','system','getOwnPropertyDescriptor','replaceOp','[BaseField]:\x20invalid\x20date\x20value.','5260fNpMdP','target','subtreeEndIndex','getBaseConditionalColorOperators','lastIndexOf','[BaseCommandService]:\x20cannot\x20edit\x20field.','BatchDeleteBaseRecordsCommand','CreateBaseChildRecordCommand','sequenceExecute','apply','fieldId','_viewRowsCacheKey','bases.fieldConfig.textPlaceholder','_projectedViewRowsCache','numfmt','\x20must\x20have\x20a\x20valid\x20CSS\x20color.','indexOf','isBaseConditionalColorDateField','titleFieldId','_resolveKanbanCardFieldIds','config','__UNIVER_BASE_PERF__','key','_initCommands','deleteView','bases.fieldConfig.linkPlaceholder','base.command.create-base-table','deepClone','Plugin','number','canDeleteRecord','CreateBaseRecordCommand','invalidGroupField','orderKey','rules','valid','base.viewType.calendar','prototype','_getHierarchyIndex','resources','column','setViewFieldOrder','getVisibleBaseHierarchyRows','getCurrentUserId','_getViewRevision','_injector','Unchecked','getRecordLinkFieldConfig','_deleteAttachmentResources','isBaseFieldStatEmptyValue','_baseSyncDisposables','MultiSelect','gantt','isEmpty','base.fieldType.','_buildKanban','sortedView','$1\x20','_kanbanLaneColor','hostAnchorId','locale','_projectionCache','[RecordLink]:\x20value\x20is\x20not\x20a\x20canonical\x20record\x20id\x20list.','_withModifiedSystemValues','createDefaultValue','IS_NOT','_permissionService','isBaseHierarchyField','BaseDataModel','SetBaseViewGroupCommand','code','_resolveKanbanGroupFieldId','_scheduledSuperTableSyncs','weekdays','_createNumberingFieldValuePatches','view','base.command.set-base-range-values','SetTriggerFormulaCalculationStartMutation','recordId','IS_EMPTY','columns','globalRevision','min','measure','has','BaseCommand.createBatchCreateRecordsOp','createRecord','getAllBases','BaseConditionalDateMode','string','now','inferBaseSeparatorStyle','viewId','_patchCachedProjectedRows','_cellInvalidations','onCommandExecuted','_findCalendarDateFieldId','conjunction','splice','isNot','invalidateByField','_applyingFormulaResults','formatBaseProgressValue','Checkbox','Email','validateBaseHierarchyRecordPatches','[RecordLink]:\x20a\x20single\x20link\x20accepts\x20only\x20one\x20record\x20id.','protocol','_capabilities','IActiveDirtyManagerService','conditional','parentFieldName','canCreateRecord','getUTCFullYear','_getOrderedRecords','keys','past7','BaseHierarchyErrorCode','recordPatch','lastMonth','working','amd','createField','createIdentifier','createRegExpFromSafeFragment','Attachment','SetBaseKanbanGroupFieldCommand','setViewGroup','afterFieldId','_plugins','tableOrder','_scheduleSuperTableSync','createView','createSetRecordValuesOp','createViewId','_getAllTableIds','cell','forValue','blue','cellData','BASE','card','IS_NOT_EMPTY','\x22\x20does\x20not\x20exist.','symbol','716805ZmuKdE','_initDataSync','separatorStyle','duplicateField','_getTableRevision','merge','#3b82f6','_activeDirtyManagerService','fromEntries','Delete','RecordLink','progressFieldId','updateField',':end',',\x22K\x22','bases.config','Tools','validate','SetBaseViewFilterCommand','[BaseCommandService]:\x20cannot\x20delete\x20a\x20RecordLink\x20target\x20table\x20(','getActiveBaseHierarchyFieldIds','_recordIds','RenameBaseTableCommand','base.command.set-base-view-field-visible','selectField','base.command.batch-create-base-records','operand','_normalizeGanttConfig','__base_hierarchy_parent__','fieldIds','base.command.set-base-kanban-group-field','colIndex','[RecordLink]:\x20field\x20config\x20is\x20invalid.','packageName','setRecordValues','trigger','spacePeriod','setConfig','tableRevision','ColorKit','canManageView','yyyy/mm/dd','executeCommand','createSuperTableReference','dependencyFieldId','beforeFieldId','_groupConfigCacheSegment','[BaseCommandService]:\x20cannot\x20edit\x20readonly\x20field.','[RecordLink]:\x20display\x20field\x20\x22','oldParentRecordId','UNIVER_EMBED_BASES_TABLE','\x20has\x20unsupported\x20date\x20mode\x20\x22','UniverRemoteBasesPlugin','_normalizeCalendarConfig','usableAsGanttStart','validateRecordLinkValue','[BaseField]:\x20invalid\x20checkbox\x20value.','snapshot','attachment-','recordNamePrefix','[BaseCommandService]:\x20cannot\x20move\x20a\x20field\x20before\x20record-id.','IBaseViewRegistryService','set','default','fieldIndex','invertWithDoc','base.command.update-base-record-order','base.command.set-base-view-filter','CellValueType','facade','FieldId','workingDays','_buildCalendar','updateRecordOrder','getTypeOfUnitAdded$','name','source','_normalizeCellValue','isNotEmpty','setRecordPermission','FormulaResultApplicationType','CommandType','DESC','BaseProjection.getProjection','Calendar','cardLayout','clear','BASE_FIELD_STAT_TYPES','Formula','formatBaseFieldStatValue','trim','@univerjs/core','decimalPlaces','renameFormulaUnitReferences','_fieldPermissions','majorHeaders','_projectedGroupsCache','NumberFormat','projectBaseHierarchy','selfParent','BaseSortDirection','sort','colId','@univerjs-pro/license','usableAsGanttEnd','_setAttachmentResources','http:','[RecordLink]:\x20target\x20table\x20does\x20not\x20exist\x20in\x20this\x20Base.','searchTexts','setViewFieldVisible','tableId','descendPath','en-US','displayColor','_createRecordOrderOp','[DeleteBaseTableCommand]:\x20table\x20\x22','STRING','BaseHierarchyInvalidReason','_getCurrentUserId','getSnapshot','base.command.set-base-view-field-width','greaterThan','DeleteBaseTableCommand','reduce','_hierarchyIndexCache','multiple','assign','currencySymbol','invalidateByView','BEFORE','_globalRevision','canCreateField','_patchProjectedRowsForCellInvalidations','search','AFTER','BASES_PLUGIN','normalizeBaseDateSerial','dateMode','_getTablesToNormalize','map','getBaseHierarchyFieldId','attachment','_getTable','viewRevision','_registeredSuperTableNames','createTable','Gantt','_dataSyncPrimaryController','Disposable','base-perf','\x22\x20with\x20field\x20type\x20\x22','validateRecordLinkField','1CeJMJp','_replaceOptional','version','invalidReasonByRecordId','CreateBaseViewCommand','GREATER_THAN','Person','registerSuperTable','average','day','Facade','fld-','_runtimeContext','@univerjs-pro/bases','_formulaService','validateCanonicalRecordLinkValue','BASE_RECORD_ID_FIELD_ID','[BaseJson1OpFactory]:\x20cannot\x20write\x20record-id.','localeCompare','delete','after','deleteRecord','SortedView','record','_rowTransformCacheSegment','setHours','_isAllowedKanbanGroupField','formatToParts','startsWith','Checked','mark','rule','index','getDay','_initialize','_resolveGalleryCoverFieldId','UpdatedBy','base.permission.service','field','frozenFieldCount','assertBaseTableRecordIdentity','_isCalendarDateField','isInteger','SelfParent','conditions','start','href','__all__','lastIndex','uniqueTableName','181380OeyqPc','_buildGallery','options','Remote','iterator','DeleteBaseFieldCommand','syncExecuteCommand','getAffectedRanges','MaxDepth','base-perf-','edit','ObjectMatrix','order','\x22\x20must\x20be\x20a\x20same-table,\x20single-value\x20RecordLink.','applyOp','_views','maxDepth','_commandService','generateRandomId','formula','updateCell','https:','invalidDateField','_formulaCalculationTriggerService','Currency','getCapabilities','redo','UniverLicensePlugin','primaryFieldId','compare','Start\x20date','join','score','hidden','\x22\x20is\x20not\x20registered.','validateFormula','viewIndexes','fieldOrder','_filterSortFieldIds','renameTable','empty','_isNonEmptyCellValue','[BasePerf]\x20','year','records','Working\x20day','view-','univer.basePerf','label','\x20cannot\x20use\x20operator\x20\x22','SetBaseRangeValuesCommand','updateViewConfig','parse','[BaseCommandService]:\x20field\x20\x22','unique','deleteField','leftPaneWidth','moveField','toFixed','remove','createEmbedBasesTable','registerTable','columnSettings','_initDependencies','setTablePermission','Progress','Phone','displayFieldId','_basePermissions','function','MUTATION','Parent','isArray','h:mm\x20a','base.viewType.gallery','UpdateBaseKanbanConfigCommand','group','unitId','#,##0.00','query','missingRecord','createBaseHierarchyParentField','from','views','_resolveGalleryCardFieldIds','description','exception-','_formulaCalculationSessionService','regexp','[BaseField]:\x20invalid\x20email\x20value.','isBaseFieldStatType','revision','base.command.set-base-name','exact','cellRevision','Kanban','CreatedAt','invalidField','_onCommandExecuted','_createRecordWithDefaults','Inject','InvalidField','rows','useThousands','unitOtherData','date','[UpdateBaseViewConditionalColorRulesCommand]:\x20rules\x20must\x20be\x20an\x20array.','[BaseCommandService]:\x20cannot\x20create\x20record.','DependentOn','getUTCMonth','_cellInvalidationsTouchFields','patches','COLUMN','getAll','2441760LQRIJd','attachments','cycle','base.command.change-base-field-type','week','call','MissingParent','buildBaseHierarchyIndex','unknown','Grid\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','getTypePlugin','_normalizeGalleryConfig','general','option-','direction','BaseJson1OpApplier','getUnitId','ruleId','setBaseName','padStart','base.command.ensure-base-temporal-view-date-fields','params','tableName','invalidateByOp','groupFieldId','rowIndex','base.command.service','deleteRecords','getUTCDay','base.command.duplicate-base-field','colorFieldId','hasOwnProperty','SingleSelect','exports','_createSystemFieldValuePatches','registerSyncingMutations','test','precision','dispose','deleteTable','UpdatedAt','NUMBER','_projectRows','thisMonth','createCreateFieldOp','level','[BaseCommandService]:\x20cannot\x20delete\x20record.','defaultValue','registerSuperTables','_canUseFastSort','-field-name','_viewRevisions','Rating','_projectFields','_formulaSyncQueue','undo','1.0.0-beta.0','today','_isGanttDateField','End\x20date','normal','orderedRecordIds','find','[BaseCommandService]:\x20invalid\x20RecordLink\x20value.','changed','canEditCell','BASE_HIERARCHY_PARENT_FIELD_ID','duplicateRecord','removeOp','SetBaseTableHierarchyFieldCommand','cardSize','register','workingDaysOnly','UNIVER_BASE','resolveBaseHierarchyFieldId','[BaseCommandService]:\x20invalid\x20cell\x20value.','[BaseField]:\x20invalid\x20phone\x20value.','base.command.update-base-field','[BaseFormula]:\x20A1\x20references\x20and\x20ranges\x20are\x20not\x20supported\x20in\x20Base\x20formulas.','IBaseCellData.ensureTableCellLayout','Import','createUnit','UniverRpc','getSuperTableRegistrations','includeRecords','Doing','_getStructureDirtyTableIds','base.command.delete-base-table','_config','_materializeGroups','[BaseField]:\x20negative\x20numbers\x20are\x20disabled.','toLowerCase','UTC','copyBaseTableSnapshot','@univerjs/engine-formula','getMonth','pattern','getFullYear','some','base.command.move-base-field','BaseFieldType','BaseJson1.json1Apply','Parent\x20Items','targetTableId','attachmentSet','pickerFieldIds','canDeleteField','_getCellRevision','formula.mutation.set-formula-calculation-result','replace','exceptions','rowId','base.command.delete-base-record','fromPlainText','timeslotSize','[BaseField]:\x20invalid\x20number\x20value.','abs','base.command.update-base-kanban-config','unshift','_findKanbanGroupField','_projectTableRows','UniverInstanceType','[BaseCommandService]:\x20cannot\x20change\x20record-id\x20field\x20type.','Link','invertOp','Add','BaseProjection.projectTableRows','kanban','tryMaterializeSnapshot','attachmentSets','catch','base.command.move-base-hierarchy-record','_applyFormulaResult','editable','childType','then','@univerjs/rpc','next7','every','_resolveGanttDateFieldId','_sortRows','COMMAND','DuplicateBaseRecordCommand','updatedBy','recordCount','get','regenerateViewIds','toStringTag','nodes','UpdateBaseViewConditionalColorRulesCommand','_enqueueFormulaSync','[BaseField]:\x20invalid\x20progress\x20value.','_removeSuperTables','info','__tempBatchingUndoRedo','validateBaseHierarchyMove','includeTime','UpdateBaseViewConfigCommand','disposeWithMe','defineProperty','filled','SetBaseViewFieldVisibleCommand','lessThanOrEqual','_apply','Gallery','RenameBaseViewCommand','long','parentByRecordId','BaseJson1.syncCellInvalidations','_normalizeGanttDisplayColor','[RecordLink]:\x20value\x20must\x20be\x20a\x20canonical\x20string.','Module','rootRecordIds','[BaseCommandService]:\x20record-id\x20is\x20reserved.','title'];_0x30cd=function(){return _0x50fd21;};return _0x30cd();}(function(_0x5cf653,_0x13fb77){const _0x5eb154=_0x17a2,_0x42e76c=_0x5cf653();while(!![]){try{const _0x2d5c1f=parseInt(_0x5eb154(0x2b4))/0x1*(parseInt(_0x5eb154(0x4a8))/0x2)+-parseInt(_0x5eb154(0x21c))/0x3+-parseInt(_0x5eb154(0x117))/0x4*(parseInt(_0x5eb154(0x41d))/0x5)+parseInt(_0x5eb154(0x2e6))/0x6*(parseInt(_0x5eb154(0x468))/0x7)+-parseInt(_0x5eb154(0x358))/0x8+-parseInt(_0x5eb154(0x484))/0x9*(-parseInt(_0x5eb154(0x18b))/0xa)+-parseInt(_0x5eb154(0x4c1))/0xb*(-parseInt(_0x5eb154(0x48c))/0xc);if(_0x2d5c1f===_0x13fb77)break;else _0x42e76c['push'](_0x42e76c['shift']());}catch(_0x3c4de0){_0x42e76c['push'](_0x42e76c['shift']());}}}(_0x30cd,0x5af5b),function(_0xaec4d8,_0x5926f6){const _0x3df07d=_0x17a2;typeof exports==_0x3df07d(0x42c)&&typeof module<'u'?_0x5926f6(exports,require('@univerjs/core'),require('@univerjs-pro/engine-formula'),require('@univerjs-pro/license'),require('@univerjs/rpc'),require('@univerjs/engine-formula')):typeof define==_0x3df07d(0x32b)&&define[_0x3df07d(0x204)]?define([_0x3df07d(0x379),_0x3df07d(0x277),_0x3df07d(0x11c),_0x3df07d(0x283),_0x3df07d(0x3e0),_0x3df07d(0x3b6)],_0x5926f6):(_0xaec4d8=typeof globalThis<'u'?globalThis:_0xaec4d8||self,_0x5926f6(_0xaec4d8[_0x3df07d(0x487)]={},_0xaec4d8[_0x3df07d(0x491)],_0xaec4d8['UniverProEngineFormula'],_0xaec4d8[_0x3df07d(0x135)],_0xaec4d8[_0x3df07d(0x3aa)],_0xaec4d8['UniverEngineFormula']));}(this,function(_0x3cb4f6,_0x9b4f24,_0x57d3e9,_0x4ff405,_0x17acc9,_0x3e8dfc){const _0x164ecf=_0x17a2;Object['defineProperty'](_0x3cb4f6,Symbol[_0x164ecf(0x3eb)],{'value':_0x164ecf(0x403)});function _0xfcdc79(_0x55e8c3){const _0xf5ccda=_0x164ecf;let _0x519480=_0x55e8c3[_0xf5ccda(0x19f)][_0xf5ccda(0x3bf)],_0x331b13=_0x55e8c3[_0xf5ccda(0x19f)][_0xf5ccda(0x299)],_0xfc40a3=_0x55e8c3[_0xf5ccda(0x19f)][_0xf5ccda(0x329)],_0x1a63ee=_0x55e8c3[_0xf5ccda(0x19f)][_0xf5ccda(0x3c1)],_0x5803eb=_0x55e8c3[_0xf5ccda(0x19f)]['relationRole'];return typeof _0x519480!='string'||!_0x519480||typeof _0x331b13!=_0xf5ccda(0xf9)||_0xfc40a3!==void 0x0&&(typeof _0xfc40a3!=_0xf5ccda(0x1e4)||!_0xfc40a3)||_0x5803eb!==void 0x0&&_0x5803eb!==_0x9b4f24[_0xf5ccda(0x4a2)]['Parent']||_0x1a63ee!==void 0x0&&(!Array[_0xf5ccda(0x32e)](_0x1a63ee)||_0x1a63ee[_0xf5ccda(0x3ba)](_0x1c62a0=>typeof _0x1c62a0!=_0xf5ccda(0x1e4)||!_0x1c62a0)||new Set(_0x1a63ee)[_0xf5ccda(0x476)]!==_0x1a63ee[_0xf5ccda(0x13b)])?null:{'targetTableId':_0x519480,'multiple':_0x331b13,..._0xfc40a3?{'displayFieldId':_0xfc40a3}:{},..._0x1a63ee?{'pickerFieldIds':[..._0x1a63ee]}:{},..._0x5803eb?{'relationRole':_0x5803eb}:{}};}function _0x3768f1(_0x28732f){const _0x195a90=_0x164ecf;return typeof _0x28732f!=_0x195a90(0x1e4)||_0x28732f===''?[]:_0x28732f['split'](',');}function _0x50a032(_0x980d61){const _0x97656c=_0x164ecf;return Array[_0x97656c(0x338)](new Set(_0x980d61))[_0x97656c(0x305)](',');}function _0x57631c(_0x13ecb0,_0x20b6f6){const _0x2e6b0b=_0x164ecf;if(typeof _0x13ecb0!=_0x2e6b0b(0x1e4))return{'valid':!0x1,'reason':_0x2e6b0b(0x402)};if(_0x13ecb0==='')return{'valid':!0x0};let _0x18ef66=_0x13ecb0['split'](',');return!_0x20b6f6&&_0x18ef66[_0x2e6b0b(0x13b)]>0x1?{'valid':!0x1,'reason':_0x2e6b0b(0x1f5)}:_0x18ef66[_0x2e6b0b(0x3ba)](_0x2072c1=>!(0x0,_0x9b4f24['isValidBaseRecordId'])(_0x2072c1))||new Set(_0x18ef66)[_0x2e6b0b(0x476)]!==_0x18ef66[_0x2e6b0b(0x13b)]||_0x50a032(_0x18ef66)!==_0x13ecb0?{'valid':!0x1,'reason':_0x2e6b0b(0x1c9)}:{'valid':!0x0};}function _0x13d5f8(_0x5f0123,_0x38ebee){const _0x2ae34a=_0x164ecf;if(_0x38ebee[_0x2ae34a(0x132)]!==_0x9b4f24['BaseFieldType'][_0x2ae34a(0x226)])return{'valid':!0x0};let _0x33cb05=_0xfcdc79(_0x38ebee),_0x959022=_0x33cb05?_0x5f0123[_0x2ae34a(0x4cb)][_0x33cb05[_0x2ae34a(0x3bf)]]:void 0x0;if(!_0x33cb05||!_0x959022)return{'valid':!0x1,'reason':_0x2ae34a(0x287)};let _0x116da8=[..._0x33cb05[_0x2ae34a(0x329)]?[_0x33cb05[_0x2ae34a(0x329)]]:[],..._0x33cb05[_0x2ae34a(0x3c1)]??[]][_0x2ae34a(0x396)](_0x39eaef=>{const _0x5c7681=_0x2ae34a;let _0x41dfd1=_0x959022[_0x5c7681(0x43b)][_0x39eaef];return!_0x41dfd1||_0x41dfd1[_0x5c7681(0x187)]===!0x0||_0x41dfd1[_0x5c7681(0x132)]===_0x9b4f24['BaseFieldType'][_0x5c7681(0x111)];});return _0x116da8?{'valid':!0x1,'reason':_0x2ae34a(0x24c)+_0x116da8+_0x2ae34a(0xf4)}:{'valid':!0x0};}function _0x4cc18c(_0x687ded,_0x31302f,_0x21a7f2,_0x3bb434={}){const _0x3dee97=_0x164ecf;let _0x43f0a3=_0xfcdc79(_0x31302f);if(_0x31302f['type']!==_0x9b4f24[_0x3dee97(0x3bc)][_0x3dee97(0x226)]||!_0x43f0a3)return{'valid':!0x1,'reason':_0x3dee97(0x23c)};let _0x5d79d5=_0x57631c(_0x21a7f2,_0x43f0a3[_0x3dee97(0x299)]);if(!_0x5d79d5[_0x3dee97(0x1ae)]||_0x3bb434['allowDangling'])return _0x5d79d5;let _0x512b29=_0x687ded[_0x3dee97(0x4cb)][_0x43f0a3[_0x3dee97(0x3bf)]];if(!_0x512b29)return{'valid':!0x1,'reason':_0x3dee97(0x287)};let _0x1b145e=_0x3768f1(_0x21a7f2)[_0x3dee97(0x396)](_0x2f4edb=>!_0x512b29[_0x3dee97(0x312)][_0x2f4edb]);return _0x1b145e?{'valid':!0x1,'reason':_0x3dee97(0x49b)+_0x1b145e+_0x3dee97(0x21a)}:{'valid':!0x0};}function _0x220b8a(_0x34ca94,_0x56f5cf){const _0x107546=_0x164ecf;return Object[_0x107546(0x10a)](_0x34ca94[_0x107546(0x4cb)])[_0x107546(0x17e)](_0x304971=>Object[_0x107546(0x10a)](_0x304971['fields'])[_0x107546(0x17e)](_0x51e068=>{const _0x396546=_0x107546;let _0x39daf3=_0x51e068['type']===_0x9b4f24[_0x396546(0x3bc)]['RecordLink']?_0xfcdc79(_0x51e068):null;return(_0x39daf3==null?void 0x0:_0x39daf3[_0x396546(0x3bf)])===_0x56f5cf?[{'tableId':_0x304971['id'],'fieldId':_0x51e068['id']}]:[];}));}let _0x5dd7b3=_0x164ecf(0x238),_0x5af7d7=function(_0x3f23be){const _0x339338=_0x164ecf;return _0x3f23be[_0x339338(0x34b)]=_0x339338(0x347),_0x3f23be[_0x339338(0x49c)]=_0x339338(0x336),_0x3f23be[_0x339338(0x2df)]=_0x339338(0x27f),_0x3f23be[_0x339338(0x4d1)]=_0x339338(0x35a),_0x3f23be[_0x339338(0x2ee)]=_0x339338(0x2f6),_0x3f23be[_0x339338(0x2ca)]=_0x339338(0x1c3),_0x3f23be;}({});var _0x4c5b17=class extends Error{constructor(_0x5d93d5,_0x52398f=_0x164ecf(0x481)+_0x5d93d5){const _0x58e2d9=_0x164ecf;super(_0x52398f),this[_0x58e2d9(0x1d1)]=_0x5d93d5,this[_0x58e2d9(0x267)]='BaseHierarchyError';}};let _0x1e8335=function(_0x432fe0){const _0x5a651e=_0x164ecf;return _0x432fe0['UI']='ui',_0x432fe0[_0x5a651e(0x2be)]=_0x5a651e(0x261),_0x432fe0[_0x5a651e(0x2e9)]='remote',_0x432fe0['Undo']=_0x5a651e(0x38f),_0x432fe0['Redo']='redo',_0x432fe0[_0x5a651e(0x3a8)]='import',_0x432fe0;}({});function _0x12230b(_0x4253c2,_0x54e4fb){const _0x16fcd1=_0x164ecf;if(!_0x54e4fb)return!0x1;let _0x4f8afa=_0x4253c2[_0x16fcd1(0x43b)][_0x54e4fb];if(!_0x4f8afa||_0x4f8afa[_0x16fcd1(0x132)]!==_0x9b4f24[_0x16fcd1(0x3bc)][_0x16fcd1(0x226)])return!0x1;let _0x43d382=_0xfcdc79(_0x4f8afa);return _0x43d382?_0x43d382['targetTableId']===_0x4253c2['id']&&_0x43d382['multiple']===!0x1:!0x1;}function _0x98202f(_0x5d7cda){const _0x5b286c=_0x164ecf;return[..._0x5d7cda['fieldOrder'],...Object[_0x5b286c(0x1fe)](_0x5d7cda[_0x5b286c(0x43b)])[_0x5b286c(0x41f)](_0x5eb10f=>!_0x5d7cda[_0x5b286c(0x30b)]['includes'](_0x5eb10f))['sort']()][_0x5b286c(0x396)](_0x5d3b3a=>{const _0x45791b=_0x5b286c;var _0x31966b;return _0x12230b(_0x5d7cda,_0x5d3b3a)?((_0x31966b=_0xfcdc79(_0x5d7cda[_0x45791b(0x43b)][_0x5d3b3a]))==null?void 0x0:_0x31966b['relationRole'])===_0x9b4f24[_0x45791b(0x4a2)][_0x45791b(0x32d)]:!0x1;})??null;}function _0x2e350d(_0x1a08e4){const _0x3b9579=_0x164ecf;let _0x156049=_0x98202f(_0x1a08e4);if(_0x156049)return _0x156049;let _0x1cc1fc=_0x5dd7b3,_0x29895b=0x2;for(;_0x1a08e4[_0x3b9579(0x43b)][_0x1cc1fc];)_0x1cc1fc=_0x5dd7b3+'_'+_0x29895b++;return _0x1cc1fc;}function _0x736d67(_0x1ae1bf,_0x192ba8=_0x2e350d(_0x1ae1bf),_0x44af4d=_0x164ecf(0x3be)){const _0x9e5de2=_0x164ecf;return{'id':_0x192ba8,'name':_0x44af4d,'type':_0x9b4f24[_0x9e5de2(0x3bc)][_0x9e5de2(0x226)],'config':{'targetTableId':_0x1ae1bf['id'],'multiple':!0x1,'displayFieldId':_0x1ae1bf[_0x9e5de2(0x302)],'pickerFieldIds':[_0x1ae1bf[_0x9e5de2(0x302)]],'relationRole':_0x9b4f24['BaseRecordLinkRole'][_0x9e5de2(0x32d)]}};}function _0x761298(_0x5d0443){let _0x24551c=_0x98202f(_0x5d0443);return _0x24551c?[_0x24551c]:[];}function _0x1b77f4(_0x3cdd77,_0xcbb57c){const _0x41a742=_0x164ecf;let _0x1ab629=[..._0x761298(_0x3cdd77)]['filter'](_0x3e1084=>_0xcbb57c['some'](_0x415629=>Object['prototype']['hasOwnProperty'][_0x41a742(0x35d)](_0x415629[_0x41a742(0x10a)],_0x3e1084)));if(!_0x1ab629['length'])return[];let _0x574cd2={..._0x3cdd77[_0x41a742(0x312)]};_0xcbb57c[_0x41a742(0x49e)](_0x45d30c=>{const _0x5c3ad0=_0x41a742;let _0x4359f5=_0x574cd2[_0x45d30c[_0x5c3ad0(0x1d9)]];_0x4359f5&&(_0x574cd2[_0x45d30c[_0x5c3ad0(0x1d9)]]={..._0x4359f5,'values':{..._0x4359f5['values'],..._0x45d30c[_0x5c3ad0(0x10a)]}});});let _0x528909={..._0x3cdd77,'records':_0x574cd2},_0x993e6d=[];return _0x1ab629[_0x41a742(0x49e)](_0x42650d=>{const _0x39e8f5=_0x41a742;let _0x28ca4=_0x32c245(_0x3cdd77,_0x42650d),_0x27c4e9=_0x32c245(_0x528909,_0x42650d);for(let [_0x4a3417,_0x3dda12]of _0x27c4e9[_0x39e8f5(0x2b7)]){let _0x161437=_0xcbb57c[_0x39e8f5(0x3ba)](_0xd59919=>_0xd59919[_0x39e8f5(0x1d9)]===_0x4a3417&&Object['prototype'][_0x39e8f5(0x377)]['call'](_0xd59919['values'],_0x42650d));if(_0x28ca4['invalidReasonByRecordId']['get'](_0x4a3417)!==_0x3dda12||_0x161437)throw new _0x4c5b17(_0x58871b(_0x3dda12));}_0xcbb57c[_0x39e8f5(0x49e)](_0x51d8ae=>{const _0x58e03d=_0x39e8f5;if(!Object[_0x58e03d(0x1b0)]['hasOwnProperty'][_0x58e03d(0x35d)](_0x51d8ae[_0x58e03d(0x10a)],_0x42650d))return;let _0x8f70ed=_0x28ca4[_0x58e03d(0x3ff)][_0x58e03d(0x3e9)](_0x51d8ae[_0x58e03d(0x1d9)])??null,_0x44cebf=_0x27c4e9[_0x58e03d(0x3ff)]['get'](_0x51d8ae[_0x58e03d(0x1d9)])??null;_0x8f70ed!==_0x44cebf&&_0x993e6d['push']({'tableId':_0x3cdd77['id'],'fieldId':_0x42650d,'recordId':_0x51d8ae[_0x58e03d(0x1d9)],'oldParentRecordId':_0x8f70ed,'parentRecordId':_0x44cebf});});}),_0x993e6d;}function _0x59860b(_0x4104dd,_0x1d3328){const _0x81467=_0x164ecf;let _0x4b0442=_0x1d3328[_0x81467(0x2a7)](_0x37435d=>_0x37435d['id']);if(new Set(_0x4b0442)[_0x81467(0x476)]!==_0x4b0442[_0x81467(0x13b)]||_0x4b0442['some'](_0x14acf5=>_0x4104dd[_0x81467(0x312)][_0x14acf5]))return[];let _0x476150=_0x761298(_0x4104dd),_0x31ccb3=_0x476150[_0x81467(0x13b)]?null:_0x2e350d(_0x4104dd),_0x34d2aa=[..._0x476150,..._0x31ccb3&&_0x1d3328[_0x81467(0x3ba)](_0x3adfd0=>Object[_0x81467(0x1b0)][_0x81467(0x377)][_0x81467(0x35d)](_0x3adfd0[_0x81467(0x10a)],_0x31ccb3))?[_0x31ccb3]:[]][_0x81467(0x41f)](_0x31c2dd=>_0x1d3328['some'](_0x4719d8=>Object[_0x81467(0x1b0)][_0x81467(0x377)][_0x81467(0x35d)](_0x4719d8[_0x81467(0x10a)],_0x31c2dd)));if(!_0x34d2aa[_0x81467(0x13b)])return[];let _0x5edc09={..._0x4104dd,'records':{..._0x4104dd['records'],...Object[_0x81467(0x224)](_0x1d3328[_0x81467(0x2a7)](_0x5548c3=>[_0x5548c3['id'],_0x5548c3]))},'recordOrder':[..._0x4104dd[_0x81467(0x411)]??[],..._0x1d3328['map'](_0x20ced9=>_0x20ced9['id'])]},_0x24169c=[];return _0x34d2aa[_0x81467(0x49e)](_0x41fdcf=>{let _0x286751=_0x32c245(_0x5edc09,_0x41fdcf);_0x1d3328['forEach'](_0xb983b9=>{const _0x33568a=_0x17a2;let _0x3f2b4e=_0x286751[_0x33568a(0x2b7)][_0x33568a(0x3e9)](_0xb983b9['id']);if(_0x3f2b4e)throw new _0x4c5b17(_0x58871b(_0x3f2b4e));let _0x39713f=_0x286751[_0x33568a(0x3ff)][_0x33568a(0x3e9)](_0xb983b9['id'])??null;_0x39713f&&_0x24169c['push']({'tableId':_0x4104dd['id'],'fieldId':_0x41fdcf,'recordId':_0xb983b9['id'],'oldParentRecordId':null,'parentRecordId':_0x39713f});});}),_0x24169c;}function _0x58871b(_0x27df6c){const _0xee0414=_0x164ecf;switch(_0x27df6c){case _0x9b4f24[_0xee0414(0x291)][_0xee0414(0x35e)]:return _0xee0414(0x336);case _0x9b4f24[_0xee0414(0x291)]['SelfParent']:return _0xee0414(0x27f);case _0x9b4f24[_0xee0414(0x291)][_0xee0414(0x4d1)]:return _0xee0414(0x35a);case _0x9b4f24[_0xee0414(0x291)][_0xee0414(0x2ee)]:return _0xee0414(0x2f6);}}function _0x526f9d(_0x2032a9,_0x18adee){const _0x31781d=_0x164ecf;let _0x1258b1=new Set(_0x18adee),_0x389d38=_0x761298(_0x2032a9);return Object[_0x31781d(0x10a)](_0x2032a9[_0x31781d(0x312)])[_0x31781d(0x17e)](_0x48d3db=>_0x1258b1[_0x31781d(0x1df)](_0x48d3db['id'])?[]:Array[_0x31781d(0x338)](_0x389d38)[_0x31781d(0x17e)](_0x17206e=>{const _0x5db0e3=_0x31781d;let _0x5a2eec=_0x3768f1(_0x48d3db[_0x5db0e3(0x10a)][_0x17206e])[0x0]??null;return _0x5a2eec&&_0x1258b1[_0x5db0e3(0x1df)](_0x5a2eec)?[{'tableId':_0x2032a9['id'],'fieldId':_0x17206e,'recordId':_0x48d3db['id'],'oldParentRecordId':_0x5a2eec,'parentRecordId':null}]:[];}));}function _0x32c245(_0x227399,_0x1cea62,_0x3f554f=_0x227399[_0x164ecf(0x411)]??Object[_0x164ecf(0x1fe)](_0x227399['records'])){const _0xc1e8ad=_0x164ecf;if(!(!_0x227399['fields'][_0x1cea62]&&_0x1cea62===_0x2e350d(_0x227399))&&!_0x12230b(_0x227399,_0x1cea62))throw Error(_0xc1e8ad(0x17a)+_0x1cea62+_0xc1e8ad(0x2f3));let _0x4be536=_0x229907(_0x227399,_0x3f554f),_0x1fa37d=new Map(),_0x5e488c=new Map();for(let _0x3b8075 of _0x4be536){var _0x129330;let _0xfe2769=_0x3768f1((_0x129330=_0x227399[_0xc1e8ad(0x312)][_0x3b8075])==null?void 0x0:_0x129330[_0xc1e8ad(0x10a)][_0x1cea62])[0x0]??null;_0xfe2769?_0xfe2769===_0x3b8075?(_0x1fa37d[_0xc1e8ad(0x25a)](_0x3b8075,null),_0x5e488c[_0xc1e8ad(0x25a)](_0x3b8075,_0x9b4f24['BaseHierarchyInvalidReason'][_0xc1e8ad(0x2df)])):_0x227399[_0xc1e8ad(0x312)][_0xfe2769]?_0x1fa37d['set'](_0x3b8075,_0xfe2769):(_0x1fa37d[_0xc1e8ad(0x25a)](_0x3b8075,null),_0x5e488c[_0xc1e8ad(0x25a)](_0x3b8075,_0x9b4f24[_0xc1e8ad(0x291)][_0xc1e8ad(0x35e)])):_0x1fa37d['set'](_0x3b8075,null);}_0x246a23(_0x1fa37d,_0x5e488c,_0x4be536),_0x4d2295(_0x1fa37d,_0x5e488c,_0x4be536);let _0xeaa8c2=new Map(_0x4be536[_0xc1e8ad(0x2a7)]((_0x4d15cd,_0x467a7d)=>[_0x4d15cd,_0x467a7d])),_0x60072=new Map();for(let _0x2d8044 of _0x4be536){let _0x39e843=_0x1fa37d[_0xc1e8ad(0x3e9)](_0x2d8044)??null,_0x5d8b05=_0x60072['get'](_0x39e843)??[];_0x5d8b05[_0xc1e8ad(0x4bf)](_0x2d8044),_0x60072[_0xc1e8ad(0x25a)](_0x39e843,_0x5d8b05);}_0x60072[_0xc1e8ad(0x49e)](_0x3c26d6=>_0x3c26d6[_0xc1e8ad(0x281)]((_0xb21f9b,_0x18d075)=>(_0xeaa8c2[_0xc1e8ad(0x3e9)](_0xb21f9b)??0x0)-(_0xeaa8c2[_0xc1e8ad(0x3e9)](_0x18d075)??0x0)));let _0x3b8a5a=_0x60072['get'](null)??[],_0x1087f4=new Map(),_0x5a6eb9=new Map(),_0x3af243=[],_0x4c2348=(_0x186750,_0x301aa4)=>{const _0x122115=_0xc1e8ad;_0x1087f4[_0x122115(0x25a)](_0x186750,_0x301aa4),_0x3af243['push'](_0x186750);let _0x4b6c86=0x0;for(let _0x30d7f8 of _0x60072[_0x122115(0x3e9)](_0x186750)??[])_0x4b6c86=Math[_0x122115(0x427)](_0x4b6c86,0x1+_0x4c2348(_0x30d7f8,_0x301aa4+0x1));return _0x5a6eb9['set'](_0x186750,_0x4b6c86),_0x4b6c86;};return _0x3b8a5a[_0xc1e8ad(0x49e)](_0x13862e=>_0x4c2348(_0x13862e,0x0)),{'fieldId':_0x1cea62,'parentByRecordId':_0x1fa37d,'childrenByParentId':_0x60072,'depthByRecordId':_0x1087f4,'subtreeHeightByRecordId':_0x5a6eb9,'invalidReasonByRecordId':_0x5e488c,'rootRecordIds':_0x3b8a5a,'orderedRecordIds':_0x3af243};}function _0x2eda9a(_0x39d54f,_0x105d1c,_0x41b1d8=new Set(_0x105d1c[_0x164ecf(0x2a7)](_0x34ffca=>_0x34ffca[_0x164ecf(0x1d9)]))){const _0x5dc38c=_0x164ecf;let _0x3cfed9=new Set(_0x41b1d8);for(let _0x5376d1 of _0x41b1d8){let _0x21ae6d=_0x39d54f[_0x5dc38c(0x3ff)][_0x5dc38c(0x3e9)](_0x5376d1)??null;for(;_0x21ae6d;)_0x3cfed9[_0x5dc38c(0x134)](_0x21ae6d),_0x21ae6d=_0x39d54f['parentByRecordId']['get'](_0x21ae6d)??null;}let _0x425693=new Map(_0x105d1c[_0x5dc38c(0x2a7)](_0x17c4c5=>[_0x17c4c5['recordId'],_0x17c4c5])),_0x5233b0=_0x39d54f['orderedRecordIds'][_0x5dc38c(0x41f)](_0x16a995=>_0x3cfed9['has'](_0x16a995)),_0x9aefa7=_0x5233b0[_0x5dc38c(0x17e)](_0x51df21=>{const _0x49c225=_0x5dc38c;let _0x10c174=_0x425693[_0x49c225(0x3e9)](_0x51df21);return _0x10c174?[_0x10c174]:[];}),_0x5cd558={};for(let _0x54bb55=0x0;_0x54bb55<_0x5233b0[_0x5dc38c(0x13b)];_0x54bb55++){let _0x113dc4=_0x5233b0[_0x54bb55];_0x5cd558[_0x113dc4]={'recordId':_0x113dc4,'parentRecordId':_0x39d54f[_0x5dc38c(0x3ff)][_0x5dc38c(0x3e9)](_0x113dc4)??null,'depth':_0x39d54f[_0x5dc38c(0x432)][_0x5dc38c(0x3e9)](_0x113dc4)??0x0,'directChildCount':(_0x39d54f['childrenByParentId']['get'](_0x113dc4)??[])[_0x5dc38c(0x13b)],'subtreeHeight':_0x39d54f[_0x5dc38c(0x12a)]['get'](_0x113dc4)??0x0,'subtreeEndIndex':_0x54bb55,'invalidReason':_0x39d54f[_0x5dc38c(0x2b7)][_0x5dc38c(0x3e9)](_0x113dc4)};}let _0x511ba7=[];for(let _0x4a2e51=0x0;_0x4a2e51<_0x5233b0['length'];_0x4a2e51++){let _0x4b74d3=_0x5233b0[_0x4a2e51],_0x9c7602=_0x5cd558[_0x4b74d3][_0x5dc38c(0x15b)];for(;_0x511ba7[_0x5dc38c(0x13b)]&&_0x511ba7[_0x511ba7[_0x5dc38c(0x13b)]-0x1][_0x5dc38c(0x15b)]>=_0x9c7602;){let _0x149bed=_0x511ba7[_0x5dc38c(0x428)]();_0x5cd558[_0x149bed[_0x5dc38c(0x1d9)]][_0x5dc38c(0x18d)]=_0x4a2e51-0x1;}_0x511ba7[_0x5dc38c(0x4bf)]({'recordId':_0x4b74d3,'depth':_0x9c7602});}return _0x511ba7[_0x5dc38c(0x49e)](({recordId:_0x36613a})=>{const _0x154db5=_0x5dc38c;_0x5cd558[_0x36613a][_0x154db5(0x18d)]=_0x5233b0[_0x154db5(0x13b)]-0x1;}),{'rows':_0x9aefa7,'hierarchy':{'fieldId':_0x39d54f['fieldId'],'rootRecordIds':_0x39d54f[_0x5dc38c(0x404)][_0x5dc38c(0x41f)](_0x10c53a=>_0x3cfed9[_0x5dc38c(0x1df)](_0x10c53a)),'orderedRecordIds':_0x5233b0,'nodes':_0x5cd558}};}function _0x46e5b7(_0x4c9025,_0x51f2e9){const _0x280398=_0x164ecf;if(!_0x4c9025[_0x280398(0x13e)]||!(_0x51f2e9!=null&&_0x51f2e9[_0x280398(0x476)]))return _0x4c9025[_0x280398(0x34c)];let _0x136648=[],_0x3f7e0f=0x0;for(;_0x3f7e0f<_0x4c9025['rows'][_0x280398(0x13b)];){let _0x34469d=_0x4c9025[_0x280398(0x34c)][_0x3f7e0f];_0x136648[_0x280398(0x4bf)](_0x34469d);let _0x1e0038=_0x4c9025[_0x280398(0x13e)][_0x280398(0x3ec)][_0x34469d[_0x280398(0x1d9)]];_0x3f7e0f=_0x51f2e9[_0x280398(0x1df)](_0x34469d[_0x280398(0x1d9)])&&_0x1e0038?_0x1e0038[_0x280398(0x18d)]+0x1:_0x3f7e0f+0x1;}return _0x136648;}function _0x1a5f43(_0x1bbbee,_0x34fbd1,_0xa86f4b){const _0x3d8a72=_0x164ecf;if(!_0xa86f4b)return{'valid':!0x0};if(_0x34fbd1===_0xa86f4b)return{'valid':!0x1,'reason':_0x9b4f24['BaseHierarchyInvalidReason']['SelfParent']};let _0xe7be59=_0xa86f4b;for(;_0xe7be59;){if(_0xe7be59===_0x34fbd1)return{'valid':!0x1,'reason':_0x9b4f24[_0x3d8a72(0x291)][_0x3d8a72(0x4d1)]};_0xe7be59=_0x1bbbee[_0x3d8a72(0x3ff)][_0x3d8a72(0x3e9)](_0xe7be59)??null;}return(_0x1bbbee[_0x3d8a72(0x432)][_0x3d8a72(0x3e9)](_0xa86f4b)??0x0)+0x1+(_0x1bbbee['subtreeHeightByRecordId'][_0x3d8a72(0x3e9)](_0x34fbd1)??0x0)>=0x5?{'valid':!0x1,'reason':_0x9b4f24['BaseHierarchyInvalidReason'][_0x3d8a72(0x2ee)]}:{'valid':!0x0};}function _0x229907(_0x24ef44,_0x52c63b){const _0x54ff3b=_0x164ecf;let _0x1cf5d9=new Set(),_0xeab53c=[];for(let _0x415b0d of _0x52c63b)_0x24ef44[_0x54ff3b(0x312)][_0x415b0d]&&!_0x1cf5d9[_0x54ff3b(0x1df)](_0x415b0d)&&(_0x1cf5d9[_0x54ff3b(0x134)](_0x415b0d),_0xeab53c[_0x54ff3b(0x4bf)](_0x415b0d));return Object[_0x54ff3b(0x1fe)](_0x24ef44[_0x54ff3b(0x312)])[_0x54ff3b(0x281)]()[_0x54ff3b(0x49e)](_0x45e48c=>{const _0xcb9510=_0x54ff3b;_0x1cf5d9['has'](_0x45e48c)||_0xeab53c[_0xcb9510(0x4bf)](_0x45e48c);}),_0xeab53c;}function _0x246a23(_0x30eea0,_0x55416d,_0x22b8b9){const _0x181859=_0x164ecf;let _0x5fad4f=new Set();for(let _0x281519 of _0x22b8b9){if(_0x5fad4f[_0x181859(0x1df)](_0x281519))continue;let _0x5b516f=[],_0x55e0b2=new Map(),_0x572429=_0x281519;for(;_0x572429&&!_0x5fad4f[_0x181859(0x1df)](_0x572429);){let _0x364f39=_0x55e0b2[_0x181859(0x3e9)](_0x572429);if(_0x364f39!=null){let _0xd347e3=[..._0x5b516f['slice'](_0x364f39)][_0x181859(0x281)]()[_0x181859(0x428)]();_0x30eea0[_0x181859(0x25a)](_0xd347e3,null),_0x55416d[_0x181859(0x25a)](_0xd347e3,_0x9b4f24[_0x181859(0x291)][_0x181859(0x4d1)]);break;}_0x55e0b2['set'](_0x572429,_0x5b516f[_0x181859(0x13b)]),_0x5b516f[_0x181859(0x4bf)](_0x572429),_0x572429=_0x30eea0[_0x181859(0x3e9)](_0x572429)??null;}_0x5b516f[_0x181859(0x49e)](_0x278c87=>_0x5fad4f[_0x181859(0x134)](_0x278c87));}}function _0x4d2295(_0x3332c5,_0x4bd740,_0x343663){const _0x1db9e3=_0x164ecf;let _0xefe4c=new Map(),_0x462771=_0x5bbb34=>{const _0x3a7a17=_0x17a2;let _0x1f2d8f=_0xefe4c[_0x3a7a17(0x3e9)](_0x5bbb34);if(_0x1f2d8f!=null)return _0x1f2d8f;let _0x47014b=_0x3332c5[_0x3a7a17(0x3e9)](_0x5bbb34)??null;if(!_0x47014b)return _0xefe4c['set'](_0x5bbb34,0x0),0x0;let _0x228563=_0x462771(_0x47014b)+0x1;return _0x228563>=0x5?(_0x3332c5['set'](_0x5bbb34,null),_0x4bd740[_0x3a7a17(0x25a)](_0x5bbb34,_0x9b4f24['BaseHierarchyInvalidReason'][_0x3a7a17(0x2ee)]),_0xefe4c[_0x3a7a17(0x25a)](_0x5bbb34,0x0),0x0):(_0xefe4c[_0x3a7a17(0x25a)](_0x5bbb34,_0x228563),_0x228563);};_0x343663[_0x1db9e3(0x49e)](_0x462771);}let _0x1d1bb2=0x0;function _0x28be12(){const _0x415f00=_0x164ecf;if(globalThis[_0x415f00(0x1a0)]===!0x0)return!0x0;try{let _0x35f90f=typeof location>'u'?'':location[_0x415f00(0x2a1)],_0x8b5613=new URLSearchParams(_0x35f90f);if(_0x8b5613['get']('basePerf')==='1'||_0x8b5613[_0x415f00(0x3e9)]('basePerf')===_0x415f00(0x45e)||_0x8b5613[_0x415f00(0x3e9)](_0x415f00(0x2b1))==='1')return!0x0;}catch{}try{let _0x2ef76f=typeof localStorage>'u'?null:localStorage['getItem'](_0x415f00(0x315));return _0x2ef76f==='1'||_0x2ef76f===_0x415f00(0x45e);}catch{return!0x1;}}function _0x3022ee(_0xe1f578,_0x4851a2,_0x3513b1){const _0x2c8ee0=_0x164ecf;if(!_0x28be12())return _0x4851a2();let _0x3eb07e=_0x415c79(),_0x2b8d0d=_0x2c8ee0(0x2ef)+_0x1d1bb2++;_0x2a3803(_0x2b8d0d+':start');try{return _0x4851a2();}finally{let _0x169aa6=_0x415c79()-_0x3eb07e;_0x2a3803(_0x2b8d0d+_0x2c8ee0(0x229)),_0x2035f8(_0xe1f578,_0x2b8d0d+_0x2c8ee0(0x172),_0x2b8d0d+_0x2c8ee0(0x229)),_0x58fd31(_0xe1f578,_0x169aa6,_0x3513b1);}}function _0x58fd31(_0x5d73fd,_0x2d1121,_0x4b19d3){const _0x498ec6=_0x164ecf;if(!_0x28be12())return;let _0x3ef65b=Math['round'](_0x2d1121*0x64)/0x64,_0xc476e8=_0x4b19d3&&Object['keys'](_0x4b19d3)[_0x498ec6(0x13b)]?'\x20'+JSON['stringify'](_0x4b19d3):'';console[_0x498ec6(0x3f1)]('[BasePerf]\x20'+_0x5d73fd+':\x20'+_0x3ef65b+'ms'+_0xc476e8);}function _0x415c79(){const _0x2b6251=_0x164ecf;return typeof performance<'u'&&typeof performance['now']=='function'?performance[_0x2b6251(0x1e5)]():Date[_0x2b6251(0x1e5)]();}function _0x2a3803(_0x29f85b){const _0x4d7168=_0x164ecf;try{if(typeof performance<'u'){var _0x40c01a,_0x41f9bc;(_0x40c01a=(_0x41f9bc=performance)[_0x4d7168(0x2d2)])==null||_0x40c01a[_0x4d7168(0x35d)](_0x41f9bc,_0x29f85b);}}catch{}}function _0x2035f8(_0x5710eb,_0x1ef8bc,_0x2e398c){const _0x1dc40b=_0x164ecf;try{if(typeof performance<'u'){var _0x552cfc,_0x341d97;(_0x552cfc=(_0x341d97=performance)[_0x1dc40b(0x1de)])==null||_0x552cfc[_0x1dc40b(0x35d)](_0x341d97,_0x1dc40b(0x310)+_0x5710eb,_0x1ef8bc,_0x2e398c);}}catch{}}function _0x8ae1a4(_0x10d3c2){const _0x4a48b9=_0x164ecf;var _0x3e4811;return _0x28be12()?_0x3022ee(_0x4a48b9(0x3a7),()=>_0x4a0c06(_0x10d3c2),{'tableId':_0x10d3c2['id'],'records':Object[_0x4a48b9(0x1fe)](_0x10d3c2[_0x4a48b9(0x312)]??{})[_0x4a48b9(0x13b)],'fields':_0x10d3c2[_0x4a48b9(0x30b)]['length'],'hasRecordOrder':!!((_0x3e4811=_0x10d3c2['recordOrder'])!=null&&_0x3e4811['length'])}):_0x4a0c06(_0x10d3c2);}function _0x4a0c06(_0xc677ff){const _0xf4db23=_0x164ecf;var _0xddc3f9;let _0x772673=_0xc677ff[_0xf4db23(0x312)]??{},_0x172443=_0xc677ff[_0xf4db23(0x43b)]??{},_0x597366=((_0xddc3f9=_0xc677ff[_0xf4db23(0x411)])==null?void 0x0:_0xddc3f9[_0xf4db23(0x41f)](_0x59a3d5=>_0x772673[_0x59a3d5]))??[],_0x4c6548=new Set(_0x597366),_0x28c8b6=[];for(let _0x25de66 of Object[_0xf4db23(0x10a)](_0x772673))_0x4c6548[_0xf4db23(0x1df)](_0x25de66['id'])||_0x28c8b6['push'](_0x25de66);let _0x7b47b4=_0x28c8b6['length']?[..._0x597366,..._0x269e09(_0x28c8b6)]:_0x597366,_0x50d1dc=_0xc677ff[_0xf4db23(0x30b)][_0xf4db23(0x41f)](_0x3d3c8c=>_0x172443[_0x3d3c8c]),_0x43e598={..._0xc677ff[_0xf4db23(0x3c7)]??{}},_0x35bee7={..._0xc677ff['colId']??{}},_0x50994b={..._0xc677ff[_0xf4db23(0x216)]??{}};_0xc677ff[_0xf4db23(0x411)]=_0x7b47b4,_0xc677ff[_0xf4db23(0x371)]={},_0xc677ff[_0xf4db23(0x3c7)]={},_0xc677ff[_0xf4db23(0x23b)]={},_0xc677ff[_0xf4db23(0x282)]={},_0xc677ff[_0xf4db23(0x216)]={},_0xc677ff['resources']={..._0xc677ff['resources']??{}},_0xc677ff[_0xf4db23(0x1b2)]['attachmentSets']={..._0xc677ff[_0xf4db23(0x1b2)][_0xf4db23(0x3d9)]??{}},_0xc677ff['resources'][_0xf4db23(0x359)]={..._0xc677ff[_0xf4db23(0x1b2)]['attachments']??{}};let _0x43753c=_0xc677ff[_0xf4db23(0x371)],_0x9cc333=_0xc677ff[_0xf4db23(0x3c7)],_0x3a4bef=_0xc677ff[_0xf4db23(0x23b)],_0x2436df=_0xc677ff[_0xf4db23(0x282)],_0x4d6fa3=_0xc677ff[_0xf4db23(0x216)];return _0x7b47b4['forEach']((_0x2638d4,_0x3ad271)=>{_0x43753c[_0x2638d4]=_0x3ad271,_0x9cc333[_0x3ad271]=_0x2638d4;}),_0x50d1dc[_0xf4db23(0x49e)]((_0x2588fe,_0x542b26)=>{_0x3a4bef[_0x2588fe]=_0x542b26,_0x2436df[_0x542b26]=_0x2588fe;}),Object[_0xf4db23(0x489)](_0x50994b)[_0xf4db23(0x49e)](([_0x491496,_0x17d450])=>{const _0x2a07ca=_0xf4db23;let _0x1155c0=Number(_0x491496),_0x2453b2=_0x43e598[_0x1155c0]??_0x7b47b4[_0x1155c0],_0x3b58ba=_0x2453b2?_0x43753c[_0x2453b2]:void 0x0;_0x3b58ba!=null&&(_0x4d6fa3[_0x3b58ba]={..._0x4d6fa3[_0x3b58ba]??{}},Object[_0x2a07ca(0x489)](_0x17d450??{})[_0x2a07ca(0x49e)](([_0x134465,_0x3a8ea1])=>{let _0x411af2=Number(_0x134465),_0x4a0a3b=_0x35bee7[_0x411af2]??_0x50d1dc[_0x411af2],_0x166634=_0x4a0a3b?_0x3a4bef[_0x4a0a3b]:void 0x0;_0x166634!=null&&(_0x4d6fa3[_0x3b58ba][_0x166634]=_0x593d28(_0x3a8ea1));}));}),Object[_0xf4db23(0x10a)](_0x772673)[_0xf4db23(0x49e)](_0x3ea778=>{const _0x337068=_0xf4db23;let _0x1382df=_0x43753c[_0x3ea778['id']];_0x1382df!=null&&(_0x3ea778[_0x337068(0x10a)]={..._0x3ea778[_0x337068(0x10a)]??{},[_0x9b4f24['BASE_RECORD_ID_FIELD_ID']]:_0x3ea778['id']},_0x4d6fa3[_0x1382df]={..._0x4d6fa3[_0x1382df]??{},0x0:{'v':_0x3ea778['id'],'t':_0x9b4f24[_0x337068(0x260)][_0x337068(0x290)]}},Object['entries'](_0x3ea778[_0x337068(0x10a)]??{})[_0x337068(0x49e)](([_0x23ba3c,_0x537f7a])=>{const _0x49c60d=_0x337068;let _0x24f3a0=_0x172443[_0x23ba3c];(_0x24f3a0==null?void 0x0:_0x24f3a0[_0x49c60d(0x132)])===_0x9b4f24['BaseFieldType']['Attachment']&&_0x6690a0(_0xc677ff,_0x3ea778['id'],_0x23ba3c,_0x537f7a);let _0x303048=_0x3a4bef[_0x23ba3c];if(_0x303048==null)return;let _0x304f16=_0x4d6fa3[_0x1382df][_0x303048];if(_0x304f16!=null){_0x4964cd(_0x304f16,_0x24f3a0,_0x537f7a)&&(_0x4d6fa3[_0x1382df][_0x303048]=_0x241162(_0x537f7a,_0x24f3a0));return;}_0x4d6fa3[_0x1382df][_0x303048]=_0x241162(_0x537f7a,_0x24f3a0);}));}),_0xc677ff;}function _0x35f3d7(_0x2c5a7f){const _0x3eecc9=_0x164ecf;return _0x8ae1a4(_0x2c5a7f),Object[_0x3eecc9(0x489)](_0x2c5a7f[_0x3eecc9(0x3c7)]??{})[_0x3eecc9(0x49e)](([_0x195111,_0x1c35aa])=>{const _0x157cfa=_0x3eecc9;var _0x2f50e5;let _0x58cb73=Number(_0x195111),_0x5d1657=_0x2c5a7f[_0x157cfa(0x312)][_0x1c35aa];_0x5d1657&&(_0x5d1657['values']={..._0x5d1657[_0x157cfa(0x10a)]??{}},Object[_0x157cfa(0x489)](((_0x2f50e5=_0x2c5a7f['cellData'])==null?void 0x0:_0x2f50e5[_0x58cb73])??{})[_0x157cfa(0x49e)](([_0x1f7202,_0x453325])=>{const _0x5bef04=_0x157cfa;var _0x53a36c;let _0x35c61c=(_0x53a36c=_0x2c5a7f[_0x5bef04(0x282)])==null?void 0x0:_0x53a36c[Number(_0x1f7202)];_0x35c61c===_0x9b4f24[_0x5bef04(0x2c4)]?_0x5d1657['values'][_0x9b4f24[_0x5bef04(0x2c4)]]=_0x5d1657['id']:_0x35c61c&&(_0x5d1657[_0x5bef04(0x10a)][_0x35c61c]=_0x3bdeb8(_0x453325,_0x2c5a7f['fields'][_0x35c61c],_0x2c5a7f,_0x1c35aa));}));}),_0x2c5a7f;}function _0x179dff(_0x4b2ebb,_0x5395b2){const _0xce0ff9=_0x164ecf;for(let {row:_0x424806,col:_0x63728b}of _0x5395b2){var _0x2567bc,_0x293ec7,_0x4257be;let _0x25ad55=(_0x2567bc=_0x4b2ebb[_0xce0ff9(0x3c7)])==null?void 0x0:_0x2567bc[_0x424806],_0xbbcaa=(_0x293ec7=_0x4b2ebb[_0xce0ff9(0x282)])==null?void 0x0:_0x293ec7[_0x63728b],_0x17f93c=_0x25ad55?_0x4b2ebb[_0xce0ff9(0x312)][_0x25ad55]:void 0x0;if(!_0x17f93c||!_0xbbcaa)continue;if(_0xbbcaa===_0x9b4f24[_0xce0ff9(0x2c4)]){_0x17f93c[_0xce0ff9(0x10a)][_0x9b4f24[_0xce0ff9(0x2c4)]]=_0x17f93c['id'];continue;}let _0x45b7f8=(_0x4257be=_0x4b2ebb['cellData'])==null||(_0x4257be=_0x4257be[_0x424806])==null?void 0x0:_0x4257be[_0x63728b];_0x45b7f8==null&&!Object[_0xce0ff9(0x1b0)][_0xce0ff9(0x377)][_0xce0ff9(0x35d)](_0x17f93c[_0xce0ff9(0x10a)]??{},_0xbbcaa)||(_0x17f93c[_0xce0ff9(0x10a)]={..._0x17f93c[_0xce0ff9(0x10a)]??{}},_0x17f93c[_0xce0ff9(0x10a)][_0xbbcaa]=_0x3bdeb8(_0x45b7f8,_0x4b2ebb[_0xce0ff9(0x43b)][_0xbbcaa],_0x4b2ebb,_0x25ad55));}return _0x4b2ebb;}function _0x683939(_0x46622d,_0x26103f,_0x14e08e){const _0x4078d2=_0x164ecf;var _0x5edd75,_0x3a4492,_0x130387,_0x38d7ed,_0x3c8f80,_0x5142c5;let _0x5bd59c=(_0x5edd75=_0x46622d[_0x4078d2(0x371)])==null?void 0x0:_0x5edd75[_0x26103f],_0x177ffe=(_0x3a4492=_0x46622d[_0x4078d2(0x23b)])==null?void 0x0:_0x3a4492[_0x14e08e];if(_0x5bd59c!=null&&_0x177ffe!=null&&((_0x130387=_0x46622d[_0x4078d2(0x3c7)])==null?void 0x0:_0x130387[_0x5bd59c])===_0x26103f&&((_0x38d7ed=_0x46622d['colId'])==null?void 0x0:_0x38d7ed[_0x177ffe])===_0x14e08e)return{'row':_0x5bd59c,'col':_0x177ffe};let _0x1388ea=_0x8ae1a4(_0x46622d),_0x57405f=(_0x3c8f80=_0x1388ea['rowIndex'])==null?void 0x0:_0x3c8f80[_0x26103f],_0x3673ba=(_0x5142c5=_0x1388ea[_0x4078d2(0x23b)])==null?void 0x0:_0x5142c5[_0x14e08e];return _0x57405f==null||_0x3673ba==null?null:{'row':_0x57405f,'col':_0x3673ba};}function _0x273a83(_0x1adb6c,_0x50400c,_0x31360b){const _0x14cda8=_0x164ecf;var _0x286a59;let _0x252183=_0x683939(_0x1adb6c,_0x50400c,_0x31360b);if(_0x252183)return(_0x286a59=_0x1adb6c[_0x14cda8(0x216)])==null||(_0x286a59=_0x286a59[_0x252183[_0x14cda8(0x12f)]])==null?void 0x0:_0x286a59[_0x252183['col']];}function _0x1b74a9(_0x408277,_0xcba39a,_0x34e061){const _0x1c5111=_0x164ecf;var _0x115b90;let _0x49cbe3=_0x273a83(_0x408277,_0xcba39a,_0x34e061),_0x3d93e2=_0x408277[_0x1c5111(0x43b)][_0x34e061];if((_0x3d93e2==null?void 0x0:_0x3d93e2[_0x1c5111(0x132)])===_0x9b4f24[_0x1c5111(0x3bc)][_0x1c5111(0x208)]){var _0x4f969a;return _0x341243(_0x408277,_0xcba39a,_0x34e061)??_0x1530e1((_0x4f969a=_0x408277[_0x1c5111(0x312)][_0xcba39a])==null||(_0x4f969a=_0x4f969a['values'])==null?void 0x0:_0x4f969a[_0x34e061]);}if(_0x369924(_0x3d93e2)||(_0x3d93e2==null?void 0x0:_0x3d93e2[_0x1c5111(0x132)])===_0x9b4f24[_0x1c5111(0x3bc)][_0x1c5111(0x3d3)]){var _0x4d1095;let _0x2500ee=(_0x4d1095=_0x408277[_0x1c5111(0x312)][_0xcba39a])==null||(_0x4d1095=_0x4d1095[_0x1c5111(0x10a)])==null?void 0x0:_0x4d1095[_0x34e061];return _0x2500ee!=null&&_0x2500ee!==''?_0x269c6b(_0x2500ee,_0x3d93e2):_0x3bdeb8(_0x49cbe3,_0x3d93e2,_0x408277,_0xcba39a);}return _0x49cbe3&&Object[_0x1c5111(0x1b0)]['hasOwnProperty'][_0x1c5111(0x35d)](_0x49cbe3,'v')?_0x49cbe3['v']??null:((_0x115b90=_0x408277[_0x1c5111(0x312)][_0xcba39a])==null||(_0x115b90=_0x115b90[_0x1c5111(0x10a)])==null?void 0x0:_0x115b90[_0x34e061])??null;}function _0x1ec484(_0x33b8a4,_0x6cf9f8,_0x5148ee){const _0x1f0907=_0x164ecf;var _0x1f1111;let _0x174781=_0x273a83(_0x33b8a4,_0x6cf9f8,_0x5148ee);if(_0x174781&&Object['prototype'][_0x1f0907(0x377)]['call'](_0x174781,'v'))return _0x174781['v']??null;let _0x74f8e2=_0x33b8a4[_0x1f0907(0x43b)][_0x5148ee];return _0x241162(((_0x1f1111=_0x33b8a4[_0x1f0907(0x312)][_0x6cf9f8])==null||(_0x1f1111=_0x1f1111[_0x1f0907(0x10a)])==null?void 0x0:_0x1f1111[_0x5148ee])??null,_0x74f8e2)['v']??null;}function _0x241162(_0x54737d,_0x2ddc48){const _0x30be71=_0x164ecf;if(_0x448c8e(_0x54737d))return(_0x2ddc48==null?void 0x0:_0x2ddc48[_0x30be71(0x132)])===_0x9b4f24[_0x30be71(0x3bc)]['Attachment']?{..._0x54737d,'v':'','t':_0x9b4f24[_0x30be71(0x260)]['STRING']}:_0x593d28(_0x54737d);if((_0x2ddc48==null?void 0x0:_0x2ddc48['type'])===_0x9b4f24[_0x30be71(0x3bc)]['Attachment'])return{'v':'','t':_0x9b4f24[_0x30be71(0x260)][_0x30be71(0x290)]};if(_0x369924(_0x2ddc48))return{'v':_0x3202b1(_0x54737d)['join'](',\x20'),'t':_0x9b4f24[_0x30be71(0x260)][_0x30be71(0x290)]};if((_0x2ddc48==null?void 0x0:_0x2ddc48[_0x30be71(0x132)])===_0x9b4f24[_0x30be71(0x3bc)]['Link']&&_0x54737d&&typeof _0x54737d==_0x30be71(0x42c)&&!Array['isArray'](_0x54737d)){let _0x34addb=_0x54737d;return{'v':String(_0x34addb['text']??_0x34addb[_0x30be71(0x4b7)]??''),'t':_0x9b4f24[_0x30be71(0x260)][_0x30be71(0x290)]};}return _0x54737d===null||typeof _0x54737d==_0x30be71(0x1e4)||typeof _0x54737d==_0x30be71(0x1a8)||typeof _0x54737d=='boolean'?{'v':_0x54737d,'t':_0x4ea2c3(_0x54737d)}:{'v':null,'t':null};}function _0x593d28(_0x396bf){let _0x164407=_0x350c17(_0x396bf['t'],_0x396bf['v']);if(_0x164407===void 0x0){let {t:_0x4b4428,..._0xecc901}=_0x396bf;return _0xecc901;}return{..._0x396bf,'t':_0x164407};}function _0x3bdeb8(_0x3404fc,_0x2f0a7f,_0x16fcde,_0x3d33a8){const _0x2ff20d=_0x164ecf;if(!_0x3404fc)return null;if((_0x2f0a7f==null?void 0x0:_0x2f0a7f[_0x2ff20d(0x132)])===_0x9b4f24[_0x2ff20d(0x3bc)][_0x2ff20d(0x208)])return _0x16fcde&&_0x3d33a8?_0x341243(_0x16fcde,_0x3d33a8,_0x2f0a7f['id'])??[]:[];if(_0x369924(_0x2f0a7f))return _0x3202b1(_0x3404fc['v']);if((_0x2f0a7f==null?void 0x0:_0x2f0a7f['type'])===_0x9b4f24[_0x2ff20d(0x3bc)][_0x2ff20d(0x3d3)]&&_0x16fcde&&_0x3d33a8){var _0x5cc35b;let _0x216110=(_0x5cc35b=_0x16fcde[_0x2ff20d(0x312)][_0x3d33a8])==null||(_0x5cc35b=_0x5cc35b[_0x2ff20d(0x10a)])==null?void 0x0:_0x5cc35b[_0x2f0a7f['id']];if(_0x216110&&typeof _0x216110==_0x2ff20d(0x42c)&&!Array['isArray'](_0x216110))return _0x216110;}return Object[_0x2ff20d(0x1b0)][_0x2ff20d(0x377)][_0x2ff20d(0x35d)](_0x3404fc,'v')?_0x3404fc['v']??null:null;}function _0x2ad280(_0x3eb5ad,_0x490b9e,_0xb92b7d,_0x31a63a,_0x4b77ec){const _0x2298ce=_0x164ecf;return(_0xb92b7d==null?void 0x0:_0xb92b7d['type'])===_0x9b4f24['BaseFieldType'][_0x2298ce(0x208)]?_0x1530e1(_0x3eb5ad):_0x369924(_0xb92b7d)?_0x3202b1(_0x3eb5ad):(_0xb92b7d==null?void 0x0:_0xb92b7d['type'])===_0x9b4f24[_0x2298ce(0x3bc)][_0x2298ce(0x3d3)]&&_0x3eb5ad&&typeof _0x3eb5ad=='object'&&!Array[_0x2298ce(0x32e)](_0x3eb5ad)&&!_0x448c8e(_0x3eb5ad)?_0x3eb5ad:_0x3bdeb8(_0x490b9e,_0xb92b7d,_0x31a63a,_0x4b77ec);}function _0x448c8e(_0x14206a){const _0xf5b39b=_0x164ecf;return!!_0x14206a&&typeof _0x14206a=='object'&&(Object[_0xf5b39b(0x1b0)][_0xf5b39b(0x377)][_0xf5b39b(0x35d)](_0x14206a,'v')||Object['prototype'][_0xf5b39b(0x377)][_0xf5b39b(0x35d)](_0x14206a,'t')||Object[_0xf5b39b(0x1b0)][_0xf5b39b(0x377)]['call'](_0x14206a,'p')||Object['prototype'][_0xf5b39b(0x377)]['call'](_0x14206a,'f')||Object[_0xf5b39b(0x1b0)][_0xf5b39b(0x377)][_0xf5b39b(0x35d)](_0x14206a,'si'));}function _0x2aa1c9(_0x2cec8a,_0x2b3bc7){return _0x2cec8a+'\x1f'+_0x2b3bc7;}function _0x6690a0(_0x5bca0d,_0x5a55b9,_0x41c421,_0x5d1495){const _0x2e2e8b=_0x164ecf;let _0x50ce52=_0x1530e1(_0x5d1495);_0x5bca0d[_0x2e2e8b(0x1b2)]={..._0x5bca0d[_0x2e2e8b(0x1b2)]??{}},_0x5bca0d['resources'][_0x2e2e8b(0x3d9)]={..._0x5bca0d['resources']['attachmentSets']??{}},_0x5bca0d[_0x2e2e8b(0x1b2)]['attachments']={..._0x5bca0d[_0x2e2e8b(0x1b2)]['attachments']??{}};let _0x36ef8b=_0x2aa1c9(_0x41c421,_0x5a55b9),_0x41aa2c=[];for(let _0x429e54=0x0;_0x429e54<_0x50ce52['length'];_0x429e54++){if(!(_0x429e54 in _0x50ce52))continue;let _0x3ea1cd=_0x50ce52[_0x429e54],_0x167ce1=String(_0x3ea1cd['id']??_0x36ef8b+'\x1f'+_0x429e54),_0x23262f={..._0x3ea1cd,'id':_0x167ce1};_0x5bca0d['resources'][_0x2e2e8b(0x359)][_0x167ce1]=_0x23262f,_0x41aa2c[_0x2e2e8b(0x4bf)](_0x167ce1);}_0x5bca0d[_0x2e2e8b(0x1b2)][_0x2e2e8b(0x3d9)][_0x36ef8b]=_0x41aa2c;}function _0x341243(_0x41e08b,_0x1df338,_0x5f0101){const _0x4f46c9=_0x164ecf;var _0x8d86da;let _0xfc8bb6=_0x2aa1c9(_0x5f0101,_0x1df338),_0x1e55eb=(_0x8d86da=_0x41e08b['resources'])==null||(_0x8d86da=_0x8d86da[_0x4f46c9(0x3d9)])==null?void 0x0:_0x8d86da[_0xfc8bb6];if(!_0x1e55eb)return null;let _0x913c7b=[];for(let _0x13bff8=0x0;_0x13bff8<_0x1e55eb[_0x4f46c9(0x13b)];_0x13bff8++){var _0x5be957;if(!(_0x13bff8 in _0x1e55eb))continue;let _0x2ce68b=(_0x5be957=_0x41e08b[_0x4f46c9(0x1b2)])==null||(_0x5be957=_0x5be957['attachments'])==null?void 0x0:_0x5be957[_0x1e55eb[_0x13bff8]];_0x2ce68b&&_0x913c7b[_0x4f46c9(0x4bf)]({..._0x2ce68b});}return _0x913c7b;}function _0x1530e1(_0x43eec2){const _0x5d4136=_0x164ecf;if(_0x43eec2==null||_0x43eec2===''||_0x448c8e(_0x43eec2)&&!('id'in _0x43eec2)&&!(_0x5d4136(0x267)in _0x43eec2))return[];let _0x17390d=Array[_0x5d4136(0x32e)](_0x43eec2)?_0x43eec2:[_0x43eec2],_0x5479a0=[];for(let _0x150550=0x0;_0x150550<_0x17390d['length'];_0x150550++){if(!(_0x150550 in _0x17390d))continue;let _0x21fa85=_0x17390d[_0x150550],_0x1d316e=_0x21fa85&&typeof _0x21fa85==_0x5d4136(0x42c)?{..._0x21fa85}:{'id':_0x5d4136(0x256)+_0x150550,'name':String(_0x21fa85)};Object['keys'](_0x1d316e)[_0x5d4136(0x13b)]>0x0&&_0x5479a0[_0x5d4136(0x4bf)](_0x1d316e);}return _0x5479a0;}function _0x269c6b(_0x2bc673,_0x42cc91){const _0xee32a=_0x164ecf;return(_0x42cc91==null?void 0x0:_0x42cc91[_0xee32a(0x132)])===_0x9b4f24[_0xee32a(0x3bc)][_0xee32a(0x208)]?_0x1530e1(_0x2bc673):_0x369924(_0x42cc91)?_0x3202b1(_0x2bc673):_0x2bc673;}function _0x4964cd(_0x23bdab,_0x587ee4,_0x57d2bd){const _0xc8fc10=_0x164ecf;return(_0x587ee4==null?void 0x0:_0x587ee4[_0xc8fc10(0x132)])===_0x9b4f24[_0xc8fc10(0x3bc)][_0xc8fc10(0x208)]?_0x23bdab['v']!=='':_0x369924(_0x587ee4)?Array[_0xc8fc10(0x32e)](_0x57d2bd)&&(_0x23bdab['v']==null||_0x23bdab['v']===''):!0x1;}function _0x369924(_0x59068b){const _0x33feac=_0x164ecf;return(_0x59068b==null?void 0x0:_0x59068b['type'])===_0x9b4f24['BaseFieldType']['MultiSelect']||(_0x59068b==null?void 0x0:_0x59068b[_0x33feac(0x132)])===_0x9b4f24[_0x33feac(0x3bc)][_0x33feac(0x2ba)]||(_0x59068b==null?void 0x0:_0x59068b[_0x33feac(0x132)])===_0x9b4f24[_0x33feac(0x3bc)][_0x33feac(0x101)];}function _0x3202b1(_0x2e954d){const _0x3467a2=_0x164ecf;if(_0x2e954d==null||_0x2e954d==='')return[];let _0xdd0483=[];if(Array[_0x3467a2(0x32e)](_0x2e954d)){for(let _0x4a6c28=0x0;_0x4a6c28<_0x2e954d[_0x3467a2(0x13b)];_0x4a6c28++){if(!(_0x4a6c28 in _0x2e954d))continue;let _0x5d7c97=_0x30a374(_0x2e954d[_0x4a6c28]);_0x5d7c97&&_0xdd0483[_0x3467a2(0x4bf)](_0x5d7c97);}return _0xdd0483;}for(let _0x20fb22 of String(_0x2e954d)['split'](',')){let _0x3ed6d9=_0x20fb22[_0x3467a2(0x276)]();_0x3ed6d9&&_0xdd0483[_0x3467a2(0x4bf)](_0x3ed6d9);}return _0xdd0483;}function _0x30a374(_0x2595ed){const _0xc3a824=_0x164ecf;if(_0x2595ed==null)return'';if(typeof _0x2595ed==_0xc3a824(0x1e4)||typeof _0x2595ed=='number'||typeof _0x2595ed=='boolean')return String(_0x2595ed);if(typeof _0x2595ed==_0xc3a824(0x42c)){let _0x30ae45=_0x2595ed;return String(_0x30ae45['id']??_0x30ae45[_0xc3a824(0x267)]??_0x30ae45[_0xc3a824(0x40e)]??'');}return String(_0x2595ed);}function _0x4ea2c3(_0x173e1e){const _0x40bf6c=_0x164ecf;return _0x173e1e==null?null:typeof _0x173e1e=='number'?_0x9b4f24[_0x40bf6c(0x260)][_0x40bf6c(0x381)]:typeof _0x173e1e=='boolean'?_0x9b4f24[_0x40bf6c(0x260)]['BOOLEAN']:_0x9b4f24[_0x40bf6c(0x260)][_0x40bf6c(0x290)];}function _0x269e09(_0x14aa64){const _0x2f40a7=_0x164ecf;_0x14aa64[_0x2f40a7(0x281)]((_0x598246,_0x1528c0)=>_0x598246['orderKey']['localeCompare'](_0x1528c0['orderKey']));let _0x336466=[];for(let _0x13e60b of _0x14aa64)_0x336466[_0x2f40a7(0x4bf)](_0x13e60b['id']);return _0x336466;}function _0x350c17(_0x19175c,_0x1ffa21){const _0x38e5cf=_0x164ecf;return _0x19175c===_0x9b4f24[_0x38e5cf(0x260)]['STRING']||_0x19175c===_0x9b4f24[_0x38e5cf(0x260)]['NUMBER']||_0x19175c===_0x9b4f24[_0x38e5cf(0x260)]['BOOLEAN']||_0x19175c===_0x9b4f24[_0x38e5cf(0x260)][_0x38e5cf(0x11f)]||_0x19175c==null?_0x19175c:_0x4ea2c3(_0x1ffa21??null);}function _0x4fd831(_0x5f486b){const _0x2808d4=_0x164ecf;let _0x38bb54=null;for(let _0x437328 of _0x5f486b)_0x38bb54=_0x38bb54===null?_0x437328:_0x9b4f24[_0x2808d4(0x47b)][_0x2808d4(0x132)][_0x2808d4(0x17f)](_0x38bb54,_0x437328);return _0x38bb54;}var _0x1f3607=class _0x5a9d4f{static[_0x164ecf(0x3d8)](_0x22f087,_0x46db3d){const _0x33bd83=_0x164ecf;let _0x30d804=[];for(let _0x1d6585 of _0x46db3d){let _0xe73418=_0x2e47a8(_0x1d6585);if(!_0xe73418||_0xe73418[_0x33bd83(0x333)]!==_0x22f087['id'])return null;_0x30d804[_0x33bd83(0x4bf)](_0xe73418['op']);}try{let _0x3582ae=_0x4fd831(_0x30d804);return _0x3582ae===null?_0x22f087:new _0x5a9d4f()[_0x33bd83(0x2f4)](_0x22f087,_0x3582ae);}catch{return null;}}[_0x164ecf(0x2f4)](_0x3c9a07,_0x418711){const _0x47b273=_0x164ecf;let _0x1c3c8e=this[_0x47b273(0x2ed)](_0x418711),_0x3954e6=_0x3022ee(_0x47b273(0x4b1),()=>_0x539f8e(_0x3c9a07,_0x418711),{'invalidations':_0x1c3c8e[_0x47b273(0x13b)]}),_0x2e6141=_0x3022ee(_0x47b273(0x3bd),()=>_0x9b4f24[_0x47b273(0x47b)][_0x47b273(0x132)][_0x47b273(0x194)](_0x3954e6,_0x418711),{'invalidations':_0x1c3c8e[_0x47b273(0x13b)]});return _0x3022ee(_0x47b273(0x400),()=>_0x3ceb0e(_0x2e6141,_0x1c3c8e),{'invalidations':_0x1c3c8e[_0x47b273(0x13b)]})||_0x3022ee('BaseJson1.normalizeTables',()=>{const _0x5544bd=_0x47b273;this['_getTablesToNormalize'](_0x2e6141,_0x1c3c8e)[_0x5544bd(0x49e)](_0x83843e=>{_0x35f3d7(_0x83843e);});},{'invalidations':_0x1c3c8e['length']}),_0x2e6141;}['invertOp'](_0x4a311f,_0x3fd29f){const _0x1e8382=_0x164ecf;return _0x9b4f24['JSON1'][_0x1e8382(0x132)][_0x1e8382(0x25d)](_0x3fd29f,_0x4a311f);}['getAffectedRanges'](_0x3702ba){const _0x28a446=_0x164ecf;let _0x4cf20e=_0x5cf0ae(_0x3702ba);return _0x4cf20e['length']?_0x4b5a02(_0x4cf20e[_0x28a446(0x17e)](_0x788f4b=>this['getAffectedRanges'](_0x788f4b))):_0x178ec1(_0x3702ba);}[_0x164ecf(0x2a6)](_0x5ef353,_0x6b9f8a){const _0x19143d=_0x164ecf;return _0x6b9f8a[_0x19143d(0x13b)]?_0x6b9f8a[_0x19143d(0x3ba)](_0x522cfc=>!_0x522cfc[_0x19143d(0x28a)])?Object[_0x19143d(0x10a)](_0x5ef353[_0x19143d(0x4cb)]??{}):Array['from'](new Set(_0x6b9f8a[_0x19143d(0x2a7)](_0x5707e7=>_0x5707e7[_0x19143d(0x28a)])))['flatMap'](_0x1a22f4=>{const _0x2f3553=_0x19143d;var _0x148faa;let _0x48449f=(_0x148faa=_0x5ef353[_0x2f3553(0x4cb)])==null?void 0x0:_0x148faa[_0x1a22f4];return _0x48449f?[_0x48449f]:[];}):[];}};function _0x2e47a8(_0x37f135){const _0x5a4319=_0x164ecf;let _0x269530=_0x37f135[_0x5a4319(0x36d)];return _0x37f135['id']!=='base.mutation.apply-base-json1'||typeof _0x269530!='object'||!_0x269530||!('unitId'in _0x269530)||typeof _0x269530[_0x5a4319(0x333)]!=_0x5a4319(0x1e4)||!('op'in _0x269530)||!Array[_0x5a4319(0x32e)](_0x269530['op'])?null:{'unitId':_0x269530[_0x5a4319(0x333)],'op':_0x269530['op']};}function _0x3ceb0e(_0x3e1e96,_0x20bc62){const _0x3ea2b1=_0x164ecf;if(!_0x20bc62[_0x3ea2b1(0x13b)]||_0x20bc62[_0x3ea2b1(0x3ba)](_0x15c343=>_0x15c343[_0x3ea2b1(0x167)]!==_0x3ea2b1(0x213)))return!0x1;let _0x1a4b84=new Map();for(let _0x4625dd of _0x20bc62){if(!_0x4625dd[_0x3ea2b1(0x28a)]||_0x4625dd[_0x3ea2b1(0x12f)]==null||_0x4625dd[_0x3ea2b1(0x1b3)]==null)continue;let _0x487dae=_0x1a4b84[_0x3ea2b1(0x3e9)](_0x4625dd[_0x3ea2b1(0x28a)])??[];_0x487dae[_0x3ea2b1(0x4bf)]({'row':_0x4625dd[_0x3ea2b1(0x12f)],'col':_0x4625dd[_0x3ea2b1(0x1b3)]}),_0x1a4b84[_0x3ea2b1(0x25a)](_0x4625dd[_0x3ea2b1(0x28a)],_0x487dae);}return _0x1a4b84[_0x3ea2b1(0x49e)]((_0x41e1e4,_0x2563e8)=>{const _0x166247=_0x3ea2b1;var _0x3ad3c4;let _0x20ea87=(_0x3ad3c4=_0x3e1e96[_0x166247(0x4cb)])==null?void 0x0:_0x3ad3c4[_0x2563e8];_0x20ea87&&_0x179dff(_0x20ea87,_0x41e1e4);}),!0x0;}function _0x178ec1(_0x3c46af){const _0x1ea905=_0x164ecf;if(!Array[_0x1ea905(0x32e)](_0x3c46af)||_0x3c46af[_0x1ea905(0x13b)]<0x2)return[{'tableId':'','reason':'unknown'}];let _0x165779=_0x3c46af,_0xb0d327=_0x165779[_0x1ea905(0x19b)](_0x1ea905(0x4cb));return _0xb0d327===-0x1||typeof _0x165779[_0xb0d327+0x1]!=_0x1ea905(0x1e4)?_0x165779[0x0]===_0x1ea905(0x20d)?[]:[{'tableId':'','reason':_0x1ea905(0x360)}]:_0xf5be50(_0x165779,_0xb0d327,String(_0x165779[_0xb0d327+0x1]));}function _0xf5be50(_0x151174,_0x525a13,_0x8e627a){const _0x5b6f35=_0x164ecf;let _0xc4c83d=_0x151174[_0x525a13+0x2];return _0xc4c83d===_0x5b6f35(0x312)&&typeof _0x151174[_0x525a13+0x3]==_0x5b6f35(0x1e4)?_0x53d56e(_0x151174,_0x525a13,_0x8e627a,String(_0x151174[_0x525a13+0x3])):_0xc4c83d===_0x5b6f35(0x216)&&_0x151174[_0x525a13+0x3]!=null&&_0x151174[_0x525a13+0x4]!=null?[{'tableId':_0x8e627a,'reason':_0x5b6f35(0x213),'row':Number(_0x151174[_0x525a13+0x3]),'column':Number(_0x151174[_0x525a13+0x4])}]:_0xc4c83d==='fields'&&typeof _0x151174[_0x525a13+0x3]==_0x5b6f35(0x1e4)?[{'tableId':_0x8e627a,'reason':_0x5b6f35(0x2da),'fieldId':String(_0x151174[_0x525a13+0x3])}]:_0xc4c83d==='views'&&typeof _0x151174[_0x525a13+0x3]==_0x5b6f35(0x1e4)?[{'tableId':_0x8e627a,'reason':'view','viewId':String(_0x151174[_0x525a13+0x3])}]:[{'tableId':_0x8e627a,'reason':_0xc4c83d===void 0x0?_0x5b6f35(0xfe):_0x5b6f35(0x360)}];}function _0x53d56e(_0x497cc2,_0x5f004a,_0x40a184,_0x29a3bb){const _0x5679c2=_0x164ecf;return _0x497cc2[_0x5f004a+0x4]===_0x5679c2(0x10a)&&typeof _0x497cc2[_0x5f004a+0x5]==_0x5679c2(0x1e4)?[{'tableId':_0x40a184,'reason':'cell','recordId':_0x29a3bb,'fieldId':String(_0x497cc2[_0x5f004a+0x5])}]:_0x497cc2[_0x5f004a+0x4]===_0x5679c2(0x148)||_0x497cc2[_0x5f004a+0x4]===_0x5679c2(0x3e7)?[]:[{'tableId':_0x40a184,'reason':_0x5679c2(0x2cb),'recordId':_0x29a3bb}];}function _0x5cf0ae(_0x1824d4){const _0x3bc2be=_0x164ecf;if(!Array['isArray'](_0x1824d4))return[];let _0x5d99b1=_0x1824d4[_0x3bc2be(0x41f)](Array[_0x3bc2be(0x32e)]);if(_0x5d99b1[_0x3bc2be(0x13b)]>0x1&&_0x5d99b1[_0x3bc2be(0x13b)]===_0x1824d4[_0x3bc2be(0x13b)])return _0x5d99b1;let _0x2aa556=_0x1824d4['findIndex'](Array['isArray']);if(_0x2aa556>0x0&&_0x1824d4['slice'](_0x2aa556)['every'](Array['isArray'])){let _0x1dffa5=_0x1824d4['slice'](0x0,_0x2aa556);return _0x1824d4['slice'](_0x2aa556)[_0x3bc2be(0x2a7)](_0x4db0b8=>[..._0x1dffa5,..._0x4db0b8]);}let _0x52112f=_0x1824d4['indexOf'](_0x3bc2be(0x4cb));if(_0x52112f===-0x1||typeof _0x1824d4[_0x52112f+0x1]!=_0x3bc2be(0x1e4))return[];let _0x3f73a4=String(_0x1824d4[_0x52112f+0x1]),_0x3dbe15=_0x1824d4['slice'](_0x52112f+0x2)[_0x3bc2be(0x41f)](Array[_0x3bc2be(0x32e)]);return _0x3dbe15[_0x3bc2be(0x13b)]<=0x1?[]:_0x3dbe15['map'](_0x491c3b=>['tables',_0x3f73a4,..._0x491c3b]);}function _0x4b5a02(_0x3bb29c){const _0xce8a7c=_0x164ecf;let _0x42832b=new Set();return _0x3bb29c[_0xce8a7c(0x41f)](_0x80a051=>{const _0x494b8d=_0xce8a7c;let _0x22e267=JSON[_0x494b8d(0x122)](_0x80a051);return _0x42832b[_0x494b8d(0x1df)](_0x22e267)?!0x1:(_0x42832b[_0x494b8d(0x134)](_0x22e267),!0x0);});}function _0x1484eb(_0x1d9c0f){const _0x314428=_0x164ecf;return _0x9b4f24[_0x314428(0x22c)]['deepClone'](_0x1d9c0f);}function _0x539f8e(_0x53cebb,_0x56842f){const _0x8a77ed=_0x164ecf;let _0x2fc016=_0x2ebac4(_0x56842f);if(!_0x2fc016[_0x8a77ed(0x13b)])return _0x1484eb(_0x53cebb);let _0x57ab58=_0x386fab(_0x53cebb),_0x2942b6=new Set();for(let _0x2bce78 of _0x2fc016)_0x524503(_0x57ab58,_0x2bce78,_0x2942b6);return _0x57ab58;}function _0x2ebac4(_0x52e5eb){let _0x57d9c3=[];return _0x6d6fa1(_0x52e5eb,[],_0x57d9c3),_0x57d9c3;}function _0x6d6fa1(_0x596aaa,_0x22049e,_0xc0d1d8){const _0x20590a=_0x164ecf;if(!Array[_0x20590a(0x32e)](_0x596aaa))return;let _0x1b8e94=[];for(let _0x5a6848 of _0x596aaa){if(Array[_0x20590a(0x32e)](_0x5a6848)){_0x6d6fa1(_0x5a6848,[..._0x22049e,..._0x1b8e94],_0xc0d1d8);continue;}if(_0x2e3e3e(_0x5a6848)){_0xc0d1d8[_0x20590a(0x4bf)]([..._0x22049e,..._0x1b8e94]);continue;}(typeof _0x5a6848=='string'||typeof _0x5a6848=='number')&&_0x1b8e94[_0x20590a(0x4bf)](_0x5a6848);}}function _0x2e3e3e(_0x3c7149){const _0x358293=_0x164ecf;if(!_0x3c7149||typeof _0x3c7149!=_0x358293(0x42c)||Array[_0x358293(0x32e)](_0x3c7149))return!0x1;let _0x90a378=_0x3c7149;return'i'in _0x90a378||'r'in _0x90a378||'p'in _0x90a378||'d'in _0x90a378||'es'in _0x90a378||'ena'in _0x90a378||'et'in _0x90a378;}function _0x524503(_0x2bbf85,_0x3c1af1,_0xe0b92c){const _0x4a3677=_0x164ecf;let _0x1a048c=_0x2bbf85,_0xb8ca9b=[];for(let _0xabd0ee=0x0;_0xabd0ee<_0x3c1af1[_0x4a3677(0x13b)]-0x1;_0xabd0ee++){let _0x58e155=_0x3c1af1[_0xabd0ee];_0xb8ca9b['push'](_0x58e155);let _0x9f9122=_0x552d6c(_0x1a048c,_0x58e155);if(!_0x5da8c7(_0x9f9122))return;let _0x48bd2d=JSON[_0x4a3677(0x122)](_0xb8ca9b);_0xe0b92c[_0x4a3677(0x1df)](_0x48bd2d)||(_0x2e6ba0(_0x1a048c,_0x58e155,_0x386fab(_0x9f9122)),_0xe0b92c[_0x4a3677(0x134)](_0x48bd2d));let _0x318dae=_0x552d6c(_0x1a048c,_0x58e155);if(!_0x5da8c7(_0x318dae))return;_0x1a048c=_0x318dae;}}function _0x552d6c(_0x1e0635,_0x35dbb0){const _0x441af3=_0x164ecf;return Array['isArray'](_0x1e0635)?typeof _0x35dbb0==_0x441af3(0x1a8)?_0x1e0635[_0x35dbb0]:void 0x0:Reflect[_0x441af3(0x3e9)](_0x1e0635,_0x35dbb0);}function _0x2e6ba0(_0x18fdef,_0x639d22,_0x2dfeea){const _0x2bd715=_0x164ecf;if(Array['isArray'](_0x18fdef)){typeof _0x639d22==_0x2bd715(0x1a8)&&(_0x18fdef[_0x639d22]=_0x2dfeea);return;}Reflect[_0x2bd715(0x25a)](_0x18fdef,_0x639d22,_0x2dfeea);}function _0x5da8c7(_0x46cf0d){const _0x5b5a74=_0x164ecf;return!!_0x46cf0d&&typeof _0x46cf0d==_0x5b5a74(0x42c);}function _0x386fab(_0x59e036){const _0x1c9dc0=_0x164ecf;return Array[_0x1c9dc0(0x32e)](_0x59e036)?_0x59e036[_0x1c9dc0(0x475)]():{..._0x59e036};}let _0x3d8522=0x5a0*0x3c*0x3e8,_0x1fbfab=0x63e1,_0x524eae='yyyy/mm/dd',_0x2dca56=/\s+hh:mm\s*$/i,_0x53ae7e={'yyyy/mm/dd':'YYYY/MM/DD','yyyy-mm-dd':'YYYY-MM-DD','mm-dd':_0x164ecf(0x4af),'mm/dd/yyyy':'MM/DD/YYYY','dd/mm/yyyy':_0x164ecf(0x44a),'mmm\x20d,\x20yyyy':'MMM\x20D,\x20YYYY'};function _0x5f1ca7(_0x1f852b){const _0x3c81cc=_0x164ecf;return(0x0,_0x9b4f24['dateKit'])(_0x1f852b)[_0x3c81cc(0xf2)]()/_0x3d8522+_0x1fbfab;}function _0x3a3561(_0x2d79d2){const _0x5e069d=_0x164ecf;return Math[_0x5e069d(0x143)]((_0x2d79d2-_0x1fbfab)*_0x3d8522);}function _0x746a73(_0x2299cc){const _0x215613=_0x164ecf;if(_0x2299cc==null||_0x2299cc==='')return null;if(_0x2299cc instanceof Date)return _0x5f1ca7(_0x2299cc);if(typeof _0x2299cc==_0x215613(0x1a8))return Number[_0x215613(0x4a1)](_0x2299cc)?_0x2299cc>0xf4240?_0x5f1ca7(_0x2299cc):_0x2299cc:null;let _0x4bf801=Date[_0x215613(0x31a)](String(_0x2299cc));return Number[_0x215613(0x169)](_0x4bf801)?null:_0x5f1ca7(_0x4bf801);}function _0x22fdeb(_0x29eefd){let _0x50df8d=_0x746a73(_0x29eefd);return _0x50df8d==null?null:_0x3a3561(_0x50df8d);}function _0x3a00cb(_0x9fccea={}){const _0x394fd2=_0x164ecf;let _0x3e19f4=String(_0x9fccea['pattern']??_0x9fccea['format']??_0x9fccea[_0x394fd2(0x162)]??_0x524eae)[_0x394fd2(0x276)]()||_0x524eae,_0x516237=_0x2dca56[_0x394fd2(0x37c)](_0x3e19f4);return{'pattern':_0x3e19f4['replace'](_0x2dca56,'')||_0x524eae,'includeTime':typeof _0x9fccea[_0x394fd2(0x3f4)]=='boolean'?_0x9fccea[_0x394fd2(0x3f4)]:_0x516237,'hourCycle':_0x9fccea['hourCycle']===_0x394fd2(0x4cc)?_0x394fd2(0x4cc):_0x394fd2(0x12c)};}function _0x50589f(_0x408bb4={}){let {format:_0xdb2c0a,dateFormat:_0x3f89aa,..._0x3e0989}=_0x408bb4;return{..._0x3e0989,..._0x3a00cb(_0x408bb4)};}function _0x487a69(_0x24e1ec,_0x5cbdb5={}){const _0x23b41a=_0x164ecf;let _0x212672=_0x22fdeb(_0x24e1ec);if(_0x212672==null||!Number[_0x23b41a(0x4a1)](_0x212672))return'';let _0x512660=_0x3a00cb(_0x5cbdb5);return(0x0,_0x9b4f24[_0x23b41a(0x49f)])(_0x212672)['format'](_0x46194b(_0x512660));}function _0x46194b(_0x4363db){const _0x187ab4=_0x164ecf;let {pattern:_0x163d1c,includeTime:_0x4d6fdf,hourCycle:_0x305d34}=_0x4363db,_0x5d7a82=_0x53ae7e[_0x163d1c]??_0x53ae7e[_0x524eae];return _0x4d6fdf?_0x5d7a82+'\x20'+(_0x305d34===_0x187ab4(0x4cc)?_0x187ab4(0x32f):'HH:mm'):_0x5d7a82;}let _0x4eff16={'editable':!0x0,'sortable':!0x0,'filterable':!0x0,'groupable':!0x1,'usableAsKanbanGroup':!0x1,'usableAsCalendarDate':!0x1,'usableAsGanttStart':!0x1,'usableAsGanttEnd':!0x1,'usableAsGanttProgress':!0x1,'usableAsCardCover':!0x1,'usableAsTitle':!0x1},_0x4a6103=new Set([_0x9b4f24[_0x164ecf(0x3bc)][_0x164ecf(0x111)]]),_0x37598a=0x5a0*0x3c*0x3e8;function _0x257887(_0x4ec7fd){const _0x2a7b40=_0x164ecf;switch(_0x4ec7fd){case _0x9b4f24[_0x2a7b40(0x3bc)][_0x2a7b40(0x44e)]:case _0x9b4f24[_0x2a7b40(0x3bc)][_0x2a7b40(0x2fe)]:case _0x9b4f24[_0x2a7b40(0x3bc)][_0x2a7b40(0x327)]:case _0x9b4f24['BaseFieldType'][_0x2a7b40(0x38c)]:return[_0x9b4f24[_0x2a7b40(0xfd)]['IS'],_0x9b4f24[_0x2a7b40(0xfd)][_0x2a7b40(0x1cc)],_0x9b4f24['BaseConditionalColorOperator'][_0x2a7b40(0x2b9)],_0x9b4f24[_0x2a7b40(0xfd)][_0x2a7b40(0x145)],_0x9b4f24[_0x2a7b40(0xfd)][_0x2a7b40(0x1da)],_0x9b4f24['BaseConditionalColorOperator']['IS_NOT_EMPTY']];case _0x9b4f24['BaseFieldType'][_0x2a7b40(0x442)]:case _0x9b4f24[_0x2a7b40(0x3bc)]['CreatedAt']:case _0x9b4f24[_0x2a7b40(0x3bc)]['UpdatedAt']:return[_0x9b4f24[_0x2a7b40(0xfd)]['IS'],_0x9b4f24[_0x2a7b40(0xfd)]['IS_NOT'],_0x9b4f24[_0x2a7b40(0xfd)][_0x2a7b40(0x29d)],_0x9b4f24['BaseConditionalColorOperator'][_0x2a7b40(0x2a2)],_0x9b4f24['BaseConditionalColorOperator'][_0x2a7b40(0x1da)],_0x9b4f24['BaseConditionalColorOperator'][_0x2a7b40(0x219)]];case _0x9b4f24[_0x2a7b40(0x3bc)][_0x2a7b40(0x1f2)]:return[_0x9b4f24[_0x2a7b40(0xfd)]['IS'],_0x9b4f24[_0x2a7b40(0xfd)]['IS_NOT']];default:return[_0x9b4f24[_0x2a7b40(0xfd)]['IS'],_0x9b4f24['BaseConditionalColorOperator'][_0x2a7b40(0x1cc)],_0x9b4f24[_0x2a7b40(0xfd)][_0x2a7b40(0x430)],_0x9b4f24[_0x2a7b40(0xfd)][_0x2a7b40(0x10e)],_0x9b4f24[_0x2a7b40(0xfd)][_0x2a7b40(0x1da)],_0x9b4f24[_0x2a7b40(0xfd)][_0x2a7b40(0x219)]];}}function _0x397802(_0x26a5d8){const _0x4b587e=_0x164ecf;return _0x26a5d8===_0x9b4f24['BaseFieldType'][_0x4b587e(0x442)]||_0x26a5d8===_0x9b4f24[_0x4b587e(0x3bc)][_0x4b587e(0x346)]||_0x26a5d8===_0x9b4f24[_0x4b587e(0x3bc)][_0x4b587e(0x380)];}function _0x8225b2(_0x380902,_0x494c49){const _0xea8f6b=_0x164ecf;return _0x380902==null&&_0x494c49==null?0x0:_0x380902==null?-0x1:_0x494c49==null?0x1:typeof _0x380902=='number'&&typeof _0x494c49=='number'?_0x380902-_0x494c49:String(_0x380902)[_0xea8f6b(0x2c6)](String(_0x494c49));}function _0x2fe127(_0x575e3e,_0x414ed2,_0xf2dd8a,_0x4a4264,_0x3225a8={}){const _0x2aeac1=_0x164ecf;if(_0x414ed2===_0x2aeac1(0x1c0))return _0x5c2ee7(_0x575e3e);if(_0x414ed2===_0x2aeac1(0x26a))return!_0x5c2ee7(_0x575e3e);switch(_0x4a4264[_0x2aeac1(0x132)]){case _0x9b4f24['BaseFieldType'][_0x2aeac1(0x44e)]:case _0x9b4f24[_0x2aeac1(0x3bc)]['Currency']:case _0x9b4f24['BaseFieldType'][_0x2aeac1(0x327)]:case _0x9b4f24[_0x2aeac1(0x3bc)][_0x2aeac1(0x38c)]:return _0x493c92(_0x575e3e,_0x414ed2,_0xf2dd8a);case _0x9b4f24[_0x2aeac1(0x3bc)][_0x2aeac1(0x442)]:case _0x9b4f24[_0x2aeac1(0x3bc)][_0x2aeac1(0x346)]:case _0x9b4f24[_0x2aeac1(0x3bc)]['UpdatedAt']:return _0x1dbebc(_0x575e3e,_0x414ed2,_0xf2dd8a,_0x3225a8);case _0x9b4f24[_0x2aeac1(0x3bc)][_0x2aeac1(0x1f2)]:return _0x55a892(_0x575e3e,_0x414ed2,_0xf2dd8a);case _0x9b4f24['BaseFieldType'][_0x2aeac1(0x378)]:case _0x9b4f24[_0x2aeac1(0x3bc)][_0x2aeac1(0x1be)]:case _0x9b4f24['BaseFieldType']['Person']:case _0x9b4f24[_0x2aeac1(0x3bc)][_0x2aeac1(0x101)]:return _0x563ff3(_0x575e3e,_0x414ed2,_0xf2dd8a,_0x4a4264);default:return _0x5aafc2(_0x575e3e,_0x414ed2,_0xf2dd8a);}}function _0x5c2ee7(_0x8cd44a){const _0x493c81=_0x164ecf;return _0x8cd44a==null?!0x0:Array[_0x493c81(0x32e)](_0x8cd44a)?_0x8cd44a[_0x493c81(0x13b)]===0x0:typeof _0x8cd44a==_0x493c81(0x1e4)&&_0x8cd44a[_0x493c81(0x276)]()==='';}function _0x493c92(_0x450a26,_0x5cb5ad,_0xbd8b0){const _0x10478a=_0x164ecf;let _0x1782cd=_0x101c33(_0x450a26),_0x2de30d=_0x101c33(_0xbd8b0);if(_0x1782cd==null||_0x2de30d==null)return!0x1;switch(_0x5cb5ad){case'is':return _0x1782cd===_0x2de30d;case'isNot':return _0x1782cd!==_0x2de30d;case _0x10478a(0x295):return _0x1782cd>_0x2de30d;case _0x10478a(0x47f):return _0x1782cd>=_0x2de30d;case _0x10478a(0x466):return _0x1782cd<_0x2de30d;case _0x10478a(0x3fa):return _0x1782cd<=_0x2de30d;default:return!0x1;}}function _0x101c33(_0x366f33){const _0x58bf81=_0x164ecf;if(_0x366f33==null||_0x366f33==='')return null;let _0x4a854d=Number(_0x366f33);return Number[_0x58bf81(0x4a1)](_0x4a854d)?_0x4a854d:null;}function _0x1dbebc(_0x894d52,_0xa8dbc2,_0x2b3f62,_0x3f34aa){const _0x5f11f1=_0x164ecf;let _0x3c60ba=_0x195862(_0x894d52);if(_0x3c60ba==null)return!0x1;let _0x3a629f=_0x415f7f(_0x3f34aa[_0x5f11f1(0x2a5)]??_0x5f11f1(0x343),_0x2b3f62,_0x3f34aa[_0x5f11f1(0x1e5)]);if(!_0x3a629f)return!0x1;switch(_0xa8dbc2){case'is':return _0x3c60ba>=_0x3a629f[_0x5f11f1(0x2e1)]&&_0x3c60ba<=_0x3a629f[_0x5f11f1(0x168)];case _0x5f11f1(0x1ee):return _0x3c60ba<_0x3a629f['start']||_0x3c60ba>_0x3a629f[_0x5f11f1(0x168)];case _0x5f11f1(0x497):return _0x3c60ba<_0x3a629f[_0x5f11f1(0x2e1)];case _0x5f11f1(0x2c8):return _0x3c60ba>_0x3a629f[_0x5f11f1(0x168)];default:return!0x1;}}function _0x415f7f(_0x2c4307,_0x23f172,_0x210667=Date[_0x164ecf(0x1e5)]()){const _0x15df3d=_0x164ecf;let _0x41353a=_0x1b9d6a(_0x210667);switch(_0x2c4307){case'exact':{let _0x350cce=_0x195862(_0x23f172);return _0x350cce==null?null:{'start':_0x350cce,'end':_0x350cce+_0x37598a-0x1};}case _0x15df3d(0x391):return{'start':_0x41353a,'end':_0x41353a+_0x37598a-0x1};case _0x15df3d(0x4d2):return{'start':_0x41353a+_0x37598a,'end':_0x41353a+_0x37598a*0x2-0x1};case'yesterday':return{'start':_0x41353a-_0x37598a,'end':_0x41353a-0x1};case _0x15df3d(0x4c4):return _0x28a8ad(_0x41353a,0x0);case'lastWeek':return _0x28a8ad(_0x41353a,-0x1);case _0x15df3d(0x383):return _0x2bf027(_0x41353a,0x0);case _0x15df3d(0x202):return _0x2bf027(_0x41353a,-0x1);case _0x15df3d(0x1ff):return{'start':_0x41353a-_0x37598a*0x6,'end':_0x41353a+_0x37598a-0x1};case _0x15df3d(0x3e1):return{'start':_0x41353a,'end':_0x41353a+_0x37598a*0x7-0x1};case _0x15df3d(0x472):return{'start':_0x41353a-_0x37598a*0x1d,'end':_0x41353a+_0x37598a-0x1};case _0x15df3d(0x138):return{'start':_0x41353a,'end':_0x41353a+_0x37598a*0x1e-0x1};}}function _0x195862(_0x3a05ad){let _0x4674a1=_0x746a73(_0x3a05ad);return _0x4674a1==null?null:_0x1b9d6a(_0x3a3561(_0x4674a1));}function _0x1b9d6a(_0x148b06){const _0x1679f6=_0x164ecf;let _0x47f397=new Date(_0x148b06);return _0x47f397[_0x1679f6(0x2cd)](0x0,0x0,0x0,0x0),_0x47f397[_0x1679f6(0x43d)]();}function _0x28a8ad(_0x30c508,_0x5b09fe){const _0x2b8b65=_0x164ecf;let _0x43c2c5=_0x30c508-(new Date(_0x30c508)[_0x2b8b65(0x2d5)]()+0x6)%0x7*_0x37598a+_0x5b09fe*_0x37598a*0x7;return{'start':_0x43c2c5,'end':_0x43c2c5+_0x37598a*0x7-0x1};}function _0x2bf027(_0x4c503d,_0x2f1ebf){const _0x37a931=_0x164ecf;let _0x198c47=new Date(_0x4c503d),_0x2020d9=new Date(_0x198c47[_0x37a931(0x3b9)](),_0x198c47['getMonth']()+_0x2f1ebf,0x1),_0xe7ff96=new Date(_0x198c47[_0x37a931(0x3b9)](),_0x198c47[_0x37a931(0x3b7)]()+_0x2f1ebf+0x1,0x1);return{'start':_0x2020d9[_0x37a931(0x43d)](),'end':_0xe7ff96[_0x37a931(0x43d)]()-0x1};}function _0x55a892(_0x4b40b7,_0x5ea583,_0x401107){let _0x3a5710=_0xc8cae3(_0x4b40b7),_0x2a4c95=_0xc8cae3(_0x401107);switch(_0x5ea583){case'is':return _0x3a5710===_0x2a4c95;case'isNot':return _0x3a5710!==_0x2a4c95;default:return!0x1;}}function _0xc8cae3(_0x1e2292){const _0x30cb9b=_0x164ecf;return _0x1e2292===!0x0||_0x1e2292===_0x30cb9b(0x45e)||_0x1e2292===0x1||_0x1e2292==='1';}function _0x563ff3(_0x1f5eb6,_0x2b2ccc,_0x252865,_0x33784f){const _0x6513cc=_0x164ecf;let _0x2cc723=_0x2b18e4(_0x1f5eb6,_0x33784f),_0x2e7b03=_0x2b18e4(_0x252865,_0x33784f),_0x2ceb86=_0x2e7b03[_0x6513cc(0x13b)]>0x0&&_0x2e7b03[_0x6513cc(0x3ba)](_0x2fc3cc=>_0x2cc723[_0x6513cc(0x45d)](_0x2fc3cc));switch(_0x2b2ccc){case'is':case _0x6513cc(0x440):return _0x2ceb86;case _0x6513cc(0x1ee):case _0x6513cc(0x13c):return!_0x2ceb86;default:return!0x1;}}function _0x5aafc2(_0x52ed7e,_0xfd2938,_0x3aa33c){const _0x2d4580=_0x164ecf;let _0x1fdc3e=_0x3d8a6f(_0x52ed7e),_0x32b265=_0x3d8a6f(_0x3aa33c);switch(_0xfd2938){case'is':return _0x1fdc3e===_0x32b265;case'isNot':return _0x1fdc3e!==_0x32b265;case _0x2d4580(0x440):return _0x32b265?_0x1fdc3e[_0x2d4580(0x45d)](_0x32b265):!0x1;case'notContains':return!_0x32b265||!_0x1fdc3e['includes'](_0x32b265);default:return!0x1;}}function _0x3d8a6f(_0x130a46){const _0x2e3e3d=_0x164ecf;if(Array[_0x2e3e3d(0x32e)](_0x130a46))return _0x130a46[_0x2e3e3d(0x2a7)](_0x442949=>_0x3d8a6f(_0x442949))[_0x2e3e3d(0x305)]('\x0a');if(_0x130a46&&typeof _0x130a46=='object'){let _0xb5bec2=_0x130a46;return String(_0xb5bec2['name']??_0xb5bec2['label']??_0xb5bec2[_0x2e3e3d(0x40e)]??_0xb5bec2[_0x2e3e3d(0x43f)]??_0xb5bec2['id']??'')[_0x2e3e3d(0x276)]()['toLowerCase']();}return String(_0x130a46??'')[_0x2e3e3d(0x276)]()[_0x2e3e3d(0x3b3)]();}function _0x2b18e4(_0x21afbd,_0x1837a0){const _0x33ea97=_0x164ecf;let _0x223c6f=_0x15c4c7(_0x21afbd),_0x1f0ff0=_0x31a8ca(_0x1837a0[_0x33ea97(0x19f)]??{});return _0x223c6f['flatMap'](_0x3a02d4=>_0x1f0ff0[_0x33ea97(0x3e9)](_0x3a02d4)??[_0x3a02d4])[_0x33ea97(0x41f)]((_0x2fbbcf,_0x1ffa3e,_0x43d5ca)=>_0x2fbbcf!==''&&_0x43d5ca[_0x33ea97(0x19b)](_0x2fbbcf)===_0x1ffa3e);}function _0x15c4c7(_0x5d00a0){const _0x140583=_0x164ecf;if(_0x5d00a0==null||_0x5d00a0==='')return[];if(Array[_0x140583(0x32e)](_0x5d00a0))return _0x5d00a0[_0x140583(0x17e)](_0x463add=>_0x15c4c7(_0x463add));if(_0x5d00a0&&typeof _0x5d00a0==_0x140583(0x42c)){let _0x3d4202=_0x5d00a0;return['id',_0x140583(0x267),_0x140583(0x316),_0x140583(0x43f),_0x140583(0x40e)]['flatMap'](_0x5f4f0c=>_0x15c4c7(_0x3d4202[_0x5f4f0c]))['filter']((_0x35d9c0,_0x35091b,_0xf89fb)=>_0xf89fb[_0x140583(0x19b)](_0x35d9c0)===_0x35091b);}return[_0x3d8a6f(_0x5d00a0)];}function _0x31a8ca(_0x1fef87){const _0x3bd6fb=_0x164ecf;let _0xa5e103=new Map();return(Array[_0x3bd6fb(0x32e)](_0x1fef87[_0x3bd6fb(0x2e8)])?_0x1fef87['options']:[])[_0x3bd6fb(0x49e)](_0x365f11=>{const _0x3c9f73=_0x3bd6fb;if(!_0x365f11||typeof _0x365f11!=_0x3c9f73(0x42c))return;let _0xdf253=_0x15c4c7(_0x365f11),_0x512cd4=_0xdf253[_0x3c9f73(0x41f)]((_0xb68d8,_0x290c5b)=>_0xb68d8!==''&&_0xdf253[_0x3c9f73(0x19b)](_0xb68d8)===_0x290c5b);_0x512cd4['forEach'](_0x20ce92=>_0xa5e103['set'](_0x20ce92,_0x512cd4));}),_0xa5e103;}function _0x4c8120(_0x1a0319,_0x58148a={},_0x2f056a=_0x3b02d2=>_0x3b02d2,_0x34ee7e={}){const _0x198478=_0x164ecf;let _0x4c5c13=!_0x4a6103['has'](_0x1a0319),_0x3b7e10=_0x2f056a??(_0x505b9d=>_0x505b9d);return{'type':_0x1a0319,'i18nKey':_0x198478(0x1c1)+_0x1a0319,'enabled':_0x4c5c13,'visibleInCreateMenu':_0x4c5c13,'createDefaultConfig':_0x34ee7e[_0x198478(0x44f)]??(()=>({})),'createDefaultValue':_0x34ee7e[_0x198478(0x1cb)]??(_0x3646c0=>_0x3646c0[_0x198478(0x387)]??null),'normalize':(_0x2bf9a2,_0x2d9469)=>_0x3b7e10(_0x2bf9a2,_0x2d9469),'validate':(_0x32b02f,_0x1f1835)=>{const _0xd2ae36=_0x198478;var _0x48430a;return _0x4c5c13?((_0x48430a=_0x34ee7e[_0xd2ae36(0x22d)])==null?void 0x0:_0x48430a[_0xd2ae36(0x35d)](_0x34ee7e,_0x32b02f,_0x1f1835))??{'valid':!0x0}:{'valid':!0x1};},'compare':(_0x1feda1,_0x313afa)=>_0x8225b2(_0x1feda1,_0x313afa),'filter':(_0x3e94e2,_0x198aab,_0x1de3d2,_0x285d94)=>_0x2fe127(_0x3e94e2,_0x198aab,_0x1de3d2,_0x285d94),'toPlainText':_0x34ee7e['toPlainText']??(_0x374a8e=>_0x374a8e==null?'':String(_0x374a8e)),'fromPlainText':_0x34ee7e[_0x198478(0x3c9)]??(_0x4fed4f=>_0x3b7e10(_0x4fed4f,{'id':'','name':'','type':_0x1a0319,'config':{}})),'getCapabilities':()=>({..._0x4eff16,..._0x58148a,'editable':_0x4c5c13&&(_0x58148a[_0x198478(0x3dd)]??_0x4eff16['editable'])})};}function _0x4b43b7(){const _0x136b4a=_0x164ecf;return[_0x4c8120(_0x9b4f24[_0x136b4a(0x3bc)][_0x136b4a(0x10b)],{'groupable':!0x0,'usableAsTitle':!0x0},void 0x0,{'createDefaultConfig':()=>({'placeholder':_0x136b4a(0x197)}),'createDefaultValue':_0x81cc01=>_0x81cc01['defaultValue']??''}),_0x4c8120(_0x9b4f24[_0x136b4a(0x3bc)]['SingleSelect'],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsOptions':!0x0},_0x7101e5=>_0x7101e5==null||_0x7101e5===''?null:String(_0x7101e5),{'createDefaultConfig':()=>({'options':[],'optionSource':{'type':'manual'}})}),_0x4c8120(_0x9b4f24[_0x136b4a(0x3bc)]['MultiSelect'],{'filterable':!0x0,'usableAsKanbanGroup':!0x0,'supportsOptions':!0x0,'supportsMultipleValues':!0x0},_0x48521d=>Array[_0x136b4a(0x32e)](_0x48521d)?_0x48521d[_0x136b4a(0x2a7)](String):_0x48521d==null?[]:[String(_0x48521d)],{'createDefaultConfig':()=>({'options':[],'optionSource':{'type':_0x136b4a(0x40b)}}),'createDefaultValue':_0x37fb8f=>_0x37fb8f[_0x136b4a(0x387)]??[]}),_0x4c8120(_0x9b4f24[_0x136b4a(0x3bc)][_0x136b4a(0x2ba)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsMultipleValues':!0x0},_0x1b3c38,{'createDefaultConfig':()=>({'allowMultiple':!0x1,'provider':_0x136b4a(0x137)}),'validate':_0x197c88}),_0x4c8120(_0x9b4f24[_0x136b4a(0x3bc)]['Group'],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsMultipleValues':!0x0},_0x1289f0,{'createDefaultConfig':()=>({'allowMultiple':!0x0,'provider':_0x136b4a(0x332)}),'createDefaultValue':_0x30b9ba=>_0x30b9ba[_0x136b4a(0x387)]??[],'validate':_0x3d8fe9}),_0x4c8120(_0x9b4f24[_0x136b4a(0x3bc)]['Date'],{'groupable':!0x0,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x171267=>_0x746a73(_0x171267),{'createDefaultConfig':()=>_0x8f9b9e(),'validate':_0x128f5b}),_0x4c8120(_0x9b4f24[_0x136b4a(0x3bc)]['Attachment'],{'usableAsCardCover':!0x0,'supportsMultipleValues':!0x0},_0x4a9dda=>_0x4a9dda==null?[]:Array[_0x136b4a(0x32e)](_0x4a9dda)?_0x4a9dda:[_0x4a9dda],{'createDefaultValue':_0x39cf44=>_0x39cf44['defaultValue']??[]}),_0x4c8120(_0x9b4f24['BaseFieldType']['Number'],{},_0x506483=>_0x506483==null||_0x506483===''?null:Number(_0x506483),{'createDefaultConfig':()=>_0x56f678(),'validate':_0x118864}),_0x4c8120(_0x9b4f24['BaseFieldType'][_0x136b4a(0x1f2)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0},_0x45dcf8=>_0x45dcf8===!0x0||_0x45dcf8===_0x136b4a(0x45e)||_0x45dcf8===0x1||_0x45dcf8==='1',{'createDefaultConfig':()=>({'icon':'check','color':_0x136b4a(0x418)}),'createDefaultValue':_0x1eb1b1=>_0x1eb1b1['defaultValue']??!0x1,'validate':_0x340609=>typeof _0x340609==_0x136b4a(0xf9)?{'valid':!0x0}:{'valid':!0x1,'reason':_0x136b4a(0x254)}}),_0x4c8120(_0x9b4f24[_0x136b4a(0x3bc)][_0x136b4a(0x3d3)],{'supportsRelation':!0x0},_0xace8b,{'createDefaultConfig':()=>({'placeholder':_0x136b4a(0x1a4)}),'toPlainText':_0x2eca8d=>_0x1aa2ca(_0x2eca8d),'fromPlainText':_0x402a36=>_0xace8b(_0x402a36)}),_0x4c8120(_0x9b4f24[_0x136b4a(0x3bc)][_0x136b4a(0x274)],{'editable':!0x1},void 0x0,{'createDefaultConfig':()=>({'formula':'','dependencies':[],'numfmt':{'type':_0x136b4a(0x364),'pattern':'General'}}),'createDefaultValue':()=>null}),_0x4c8120(_0x9b4f24[_0x136b4a(0x3bc)][_0x136b4a(0x166)],{'editable':!0x1,'usableAsTitle':!0x0},void 0x0,{'createDefaultConfig':()=>({'mode':'autoIncrement'}),'createDefaultValue':()=>null}),_0x4c8120(_0x9b4f24[_0x136b4a(0x3bc)][_0x136b4a(0x328)],{'usableAsTitle':!0x0},_0x3f6233=>_0x3f6233==null?null:String(_0x3f6233)[_0x136b4a(0x276)](),{'validate':_0x22af97=>_0x22af97==null||_0x22af97===''||/^\+?[0-9 ()-]{6,20}$/['test'](String(_0x22af97))?{'valid':!0x0}:{'valid':!0x1,'reason':_0x136b4a(0x3a4)}}),_0x4c8120(_0x9b4f24[_0x136b4a(0x3bc)][_0x136b4a(0x1f3)],{'usableAsTitle':!0x0},_0x2c4558=>_0x2c4558==null?null:String(_0x2c4558)[_0x136b4a(0x276)](),{'validate':_0x5be65a=>_0x5be65a==null||_0x5be65a===''||_0x1683b7(String(_0x5be65a))?{'valid':!0x0}:{'valid':!0x1,'reason':_0x136b4a(0x33f)}}),_0x4c8120(_0x9b4f24['BaseFieldType']['Progress'],{'usableAsGanttProgress':!0x0},_0x68fbca=>_0x68fbca==null||_0x68fbca===''?null:Number(_0x68fbca),{'createDefaultConfig':()=>({'format':_0x136b4a(0x48f),'decimalPlaces':0x0,'color':_0x136b4a(0x215),'customRange':!0x1,'start':0x0,'end':0x64}),'validate':(_0x9d2a7f,_0x521751)=>_0xee18df(_0x9d2a7f,_0x521751,_0x136b4a(0x3ef))}),_0x4c8120(_0x9b4f24['BaseFieldType'][_0x136b4a(0x2fe)],{},_0xc03e63=>_0xc03e63==null||_0xc03e63===''?null:Number(_0xc03e63),{'createDefaultConfig':()=>({..._0x56f678(),'currencySymbol':'$'}),'validate':_0x118864}),_0x4c8120(_0x9b4f24[_0x136b4a(0x3bc)][_0x136b4a(0x38c)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0},_0xdc1f60=>_0xdc1f60==null||_0xdc1f60===''?null:Number(_0xdc1f60),{'createDefaultConfig':()=>({'icon':'star','min':0x1,'max':0x5}),'createDefaultValue':()=>null,'validate':(_0x144de3,_0x3d866c)=>_0xee18df(_0x144de3,_0x3d866c,_0x136b4a(0x438))}),_0x4c8120(_0x9b4f24[_0x136b4a(0x3bc)][_0x136b4a(0x226)],{'supportsRelation':!0x0,'supportsMultipleValues':!0x0},_0x36bde2,{'createDefaultConfig':()=>({'targetTableId':'','multiple':!0x1}),'createDefaultValue':()=>'','validate':(_0x13f655,_0x4eda6f)=>_0x57631c(_0x13f655,_0x4eda6f[_0x136b4a(0x19f)][_0x136b4a(0x299)]===!0x0)}),_0x4c8120(_0x9b4f24[_0x136b4a(0x3bc)][_0x136b4a(0x111)],{'editable':!0x1,'sortable':!0x0,'filterable':!0x0,'usableAsTitle':!0x0}),_0x4c8120(_0x9b4f24['BaseFieldType'][_0x136b4a(0x177)],{'editable':!0x1,'groupable':!0x0},_0x2c52fa=>_0x2c52fa==null?null:String(_0x2c52fa),{'createDefaultConfig':()=>({'provider':'user'}),'createDefaultValue':()=>null}),_0x4c8120(_0x9b4f24[_0x136b4a(0x3bc)][_0x136b4a(0x2d8)],{'editable':!0x1,'groupable':!0x0},_0x1bf30d=>_0x1bf30d==null?null:String(_0x1bf30d),{'createDefaultConfig':()=>({'provider':'user'}),'createDefaultValue':()=>null}),_0x4c8120(_0x9b4f24[_0x136b4a(0x3bc)]['CreatedAt'],{'editable':!0x1,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x71e4d9=>_0x746a73(_0x71e4d9),{'createDefaultConfig':()=>_0x8f9b9e(),'createDefaultValue':()=>null,'validate':_0x128f5b}),_0x4c8120(_0x9b4f24['BaseFieldType'][_0x136b4a(0x380)],{'editable':!0x1,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x596212=>_0x746a73(_0x596212),{'createDefaultConfig':()=>_0x8f9b9e(),'createDefaultValue':()=>null,'validate':_0x128f5b})];}function _0x56f678(){const _0x26bb5b=_0x164ecf;return{'pattern':_0x26bb5b(0x334),'decimalPlaces':0x2,'separatorStyle':_0x26bb5b(0x107),'useThousands':!0x0,'abbreviation':_0x26bb5b(0x415),'allowNegative':!0x0};}function _0x8f9b9e(){const _0x4427bf=_0x164ecf;return{'locale':_0x4427bf(0x28c),'pattern':_0x4427bf(0x245),'includeTime':!0x1,'hourCycle':_0x4427bf(0x12c),'defaultMode':_0x4427bf(0x415)};}function _0x1289f0(_0x391886){const _0x5c777a=_0x164ecf;return _0x391886==null||_0x391886===''?[]:Array[_0x5c777a(0x32e)](_0x391886)?_0x391886[_0x5c777a(0x2a7)](String):[String(_0x391886)];}function _0x36bde2(_0x4785f8){return typeof _0x4785f8=='string'?_0x4785f8:'';}function _0x1b3c38(_0x3533b6,_0x5311f2){const _0x2fd4b4=_0x164ecf;return _0x3533b6==null||_0x3533b6===''?_0x5311f2[_0x2fd4b4(0x19f)][_0x2fd4b4(0x181)]===!0x0?[]:null:_0x5311f2[_0x2fd4b4(0x19f)][_0x2fd4b4(0x181)]===!0x0?Array['isArray'](_0x3533b6)?_0x3533b6[_0x2fd4b4(0x2a7)](String):[String(_0x3533b6)]:Array[_0x2fd4b4(0x32e)](_0x3533b6)?String(_0x3533b6[0x0]??'')||null:String(_0x3533b6);}function _0x197c88(_0x9fb356,_0x20e919){const _0x3e196c=_0x164ecf;return _0x20e919[_0x3e196c(0x19f)][_0x3e196c(0x181)]===!0x0?_0x3d8fe9(_0x9fb356):_0x9fb356==null||_0x9fb356===''||typeof _0x9fb356==_0x3e196c(0x1e4)?{'valid':!0x0}:{'valid':!0x1,'reason':_0x3e196c(0x174)};}function _0x3d8fe9(_0x283d74){const _0xf06191=_0x164ecf;return _0x283d74==null||Array[_0xf06191(0x32e)](_0x283d74)&&_0x283d74[_0xf06191(0x3e2)](_0x2b7638=>typeof _0x2b7638==_0xf06191(0x1e4))?{'valid':!0x0}:{'valid':!0x1,'reason':_0xf06191(0x184)};}function _0x128f5b(_0x16bf17){const _0x2ce2a4=_0x164ecf;return _0x16bf17==null||typeof _0x16bf17=='number'&&Number[_0x2ce2a4(0x4a1)](_0x16bf17)?{'valid':!0x0}:{'valid':!0x1,'reason':_0x2ce2a4(0x18a)};}function _0x118864(_0x231746,_0x5d281a){const _0xb7ab03=_0x164ecf;return _0x231746==null||_0x231746===''?{'valid':!0x0}:typeof _0x231746!=_0xb7ab03(0x1a8)||!Number[_0xb7ab03(0x4a1)](_0x231746)?{'valid':!0x1,'reason':_0xb7ab03(0x3cb)}:_0x5d281a[_0xb7ab03(0x19f)]['allowNegative']===!0x1&&_0x231746<0x0?{'valid':!0x1,'reason':_0xb7ab03(0x3b2)}:{'valid':!0x0};}function _0xee18df(_0x3908a6,_0x102776,_0x3775ca){const _0x3d7e5f=_0x164ecf;let _0x2eccc9=_0x118864(_0x3908a6,_0x102776);if(!_0x2eccc9[_0x3d7e5f(0x1ae)]||_0x3908a6==null||_0x3908a6==='')return _0x2eccc9;let _0x1c84f6=Number(_0x102776[_0x3d7e5f(0x19f)][_0x3d7e5f(0x1dd)]??_0x102776[_0x3d7e5f(0x19f)]['start']??0x0),_0x38017c=Number(_0x102776['config'][_0x3d7e5f(0x427)]??_0x102776['config'][_0x3d7e5f(0x168)]??0x64),_0x2f6b21=Number(_0x3908a6);return _0x2f6b21>=_0x1c84f6&&_0x2f6b21<=_0x38017c?{'valid':!0x0}:{'valid':!0x1,'reason':_0x3775ca};}function _0xace8b(_0x14f651){const _0x162c53=_0x164ecf;if(_0x14f651==null||_0x14f651==='')return null;if(typeof _0x14f651==_0x162c53(0x42c)&&!Array['isArray'](_0x14f651)){let _0x151c38=_0x14f651,_0x47ce6c=typeof _0x151c38[_0x162c53(0x40e)]==_0x162c53(0x1e4)?_0x151c38[_0x162c53(0x40e)]['trim']():'',_0x422299=typeof _0x151c38['url']==_0x162c53(0x1e4)?_0x151c38[_0x162c53(0x4b7)][_0x162c53(0x276)]():'',_0x126622=_0x5a4d4b(_0x422299||_0x47ce6c);return _0x126622?{'text':_0x47ce6c||_0x422299||_0x126622,'url':_0x126622}:null;}let _0x4aee9b=String(_0x14f651)[_0x162c53(0x276)](),_0x565f9b=_0x5a4d4b(_0x4aee9b);return _0x565f9b?{'text':_0x4aee9b,'url':_0x565f9b}:null;}function _0x1aa2ca(_0x15e893){const _0x266652=_0x164ecf;if(_0x15e893==null)return'';if(typeof _0x15e893==_0x266652(0x42c)&&!Array[_0x266652(0x32e)](_0x15e893)){let _0x4cca3c=_0x15e893;return String(_0x4cca3c['text']||_0x4cca3c[_0x266652(0x4b7)]||'');}return String(_0x15e893);}function _0x5a4d4b(_0xb9538c){const _0x22b3cf=_0x164ecf;let _0x121bf9=_0xb9538c['trim']();if(!_0x121bf9)return'';let _0x446bb4=/^[a-z][a-z\d+.-]*:/i[_0x22b3cf(0x37c)](_0x121bf9)?_0x121bf9:_0x121bf9[_0x22b3cf(0x2d0)]('//')?_0x22b3cf(0x2fb)+_0x121bf9:_0x22b3cf(0x42a)+_0x121bf9;try{let _0x262f27=new URL(_0x446bb4);return _0x262f27[_0x22b3cf(0x1f6)]===_0x22b3cf(0x286)||_0x262f27[_0x22b3cf(0x1f6)]==='https:'?_0x262f27[_0x22b3cf(0x2e2)]:'';}catch{return'';}}function _0x1683b7(_0x37773d){const _0x196f65=_0x164ecf;let _0x3b2973=_0x37773d[_0x196f65(0x19b)]('@');if(_0x3b2973<=0x0||_0x3b2973!==_0x37773d[_0x196f65(0x18f)]('@'))return!0x1;let _0xe657c4=_0x37773d[_0x196f65(0x475)](_0x3b2973+0x1);return _0xe657c4[_0x196f65(0x45d)]('.')&&!_0x37773d[_0x196f65(0x45d)]('\x20')&&!_0xe657c4[_0x196f65(0x2d0)]('.')&&!_0xe657c4[_0x196f65(0x41a)]('.');}let _0x3b7826={'table':_0x51014f=>['tables',_0x51014f],'field':(_0x12f60c,_0x4d2640)=>[_0x164ecf(0x4cb),_0x12f60c,_0x164ecf(0x43b),_0x4d2640],'fieldOrder':(_0x788b7f,_0x3f4b9a)=>[_0x164ecf(0x4cb),_0x788b7f,_0x164ecf(0x30b),_0x3f4b9a],'record':(_0x4781d0,_0x459ef2)=>[_0x164ecf(0x4cb),_0x4781d0,_0x164ecf(0x312),_0x459ef2],'cell':(_0x5a65fc,_0x1e61aa,_0x2e48c0)=>['tables',_0x5a65fc,_0x164ecf(0x312),_0x1e61aa,'values',_0x2e48c0],'cellData':(_0x2828ec,_0x452a00,_0x522427)=>[_0x164ecf(0x4cb),_0x2828ec,_0x164ecf(0x216),String(_0x452a00),String(_0x522427)],'attachmentSet':(_0x50df9f,_0x1694a3)=>[_0x164ecf(0x4cb),_0x50df9f,'resources',_0x164ecf(0x3d9),_0x1694a3],'attachment':(_0x40fa4b,_0x149f89)=>[_0x164ecf(0x4cb),_0x40fa4b,_0x164ecf(0x1b2),_0x164ecf(0x359),_0x149f89],'view':(_0x5617f3,_0x2ea920)=>[_0x164ecf(0x4cb),_0x5617f3,_0x164ecf(0x339),_0x2ea920],'viewFieldHidden':(_0x10e515,_0x165b48,_0x3908a3)=>['tables',_0x10e515,_0x164ecf(0x339),_0x165b48,_0x164ecf(0x156),_0x3908a3,_0x164ecf(0x307)]};var _0x1b7d14=class{[_0x164ecf(0x36a)](_0x255c87,_0x4d03b6){const _0xbaff82=_0x164ecf;let _0x54c719=this['renameFormulaUnitReferences'](_0x255c87,_0x255c87[_0xbaff82(0x267)],_0x4d03b6);return _0x4fd831([this['_replaceOptional']([_0xbaff82(0x267)],_0x255c87[_0xbaff82(0x267)],_0x4d03b6),..._0x54c719?[_0x54c719]:[]]);}[_0x164ecf(0x279)](_0x303a75,_0x4660b7,_0x27770d){const _0x58b453=_0x164ecf;let _0x36f084=Object[_0x58b453(0x10a)](_0x303a75[_0x58b453(0x4cb)])['flatMap'](_0x406615=>Object[_0x58b453(0x10a)](_0x406615[_0x58b453(0x43b)])[_0x58b453(0x17e)](_0x514620=>{const _0x92147c=_0x58b453;var _0x71105d,_0x2b45b1;if(_0x514620[_0x92147c(0x132)]!==_0x9b4f24[_0x92147c(0x3bc)][_0x92147c(0x274)])return[];let _0x3e152a=String(((_0x71105d=_0x514620[_0x92147c(0x19f)])==null?void 0x0:_0x71105d['formula'])??''),_0x285662=(0x0,_0x57d3e9[_0x92147c(0x109)])(_0x3e152a,_0x4660b7,_0x27770d);return _0x285662===_0x3e152a?[]:[this[_0x92147c(0x2b5)]([..._0x3b7826[_0x92147c(0x2da)](_0x406615['id'],_0x514620['id']),'config',_0x92147c(0x2f9)],(_0x2b45b1=_0x514620[_0x92147c(0x19f)])==null?void 0x0:_0x2b45b1[_0x92147c(0x2f9)],_0x285662)];}));return _0x36f084[_0x58b453(0x13b)]>0x0?_0x4fd831(_0x36f084):void 0x0;}[_0x164ecf(0x2ad)](_0x268e03,_0x24fe9d,_0x115357=_0x268e03['tableOrder']['length']){const _0x388d9d=_0x164ecf;return _0x4fd831([_0x9b4f24[_0x388d9d(0x47b)]['insertOp'](_0x3b7826[_0x388d9d(0xfe)](_0x24fe9d['id']),_0x24fe9d),_0x9b4f24['JSON1'][_0x388d9d(0x4c9)]([_0x388d9d(0x20d),_0x115357],_0x24fe9d['id'])]);}[_0x164ecf(0x30d)](_0x569438,_0x1f97e2,_0x59bff6){const _0x541ee3=_0x164ecf;let _0xc68641=_0x569438[_0x541ee3(0x4cb)][_0x1f97e2]['name'],_0x25293a=Object['values'](_0x569438[_0x541ee3(0x4cb)])[_0x541ee3(0x17e)](_0x14908e=>Object[_0x541ee3(0x10a)](_0x14908e[_0x541ee3(0x43b)])[_0x541ee3(0x17e)](_0x4b187d=>{const _0x353713=_0x541ee3;var _0x847be4;if(_0x4b187d[_0x353713(0x132)]!==_0x9b4f24[_0x353713(0x3bc)][_0x353713(0x274)])return[];let _0x5af296=String(((_0x847be4=_0x4b187d['config'])==null?void 0x0:_0x847be4[_0x353713(0x2f9)])??''),_0x230be1=_0x5b5ff7(_0x5af296,_0xc68641,_0x59bff6);return _0x230be1===_0x5af296?[]:[this['updateField'](_0x569438,_0x14908e['id'],_0x4b187d['id'],{'config':{..._0x4b187d[_0x353713(0x19f)],'formula':_0x230be1}})];}));return _0x4fd831([_0x9b4f24['JSON1']['replaceOp']([..._0x3b7826[_0x541ee3(0xfe)](_0x1f97e2),_0x541ee3(0x267)],_0xc68641,_0x59bff6),..._0x25293a]);}[_0x164ecf(0x37f)](_0x4c899d,_0x29d563){const _0x25eb40=_0x164ecf;let _0xb7efb8=_0x4c899d[_0x25eb40(0x4cb)][_0x29d563],_0xd2bdd8=_0x4c899d['tableOrder'][_0x25eb40(0x19b)](_0x29d563);return _0x4fd831([_0x9b4f24[_0x25eb40(0x47b)]['removeOp'](_0x3b7826[_0x25eb40(0xfe)](_0x29d563),_0xb7efb8),_0x9b4f24[_0x25eb40(0x47b)][_0x25eb40(0x39c)]([_0x25eb40(0x20d),_0xd2bdd8],_0x29d563)]);}[_0x164ecf(0x1e1)](_0x36f5eb,_0x3fd9ea,_0x4bf328){return this['createRecords'](_0x36f5eb,_0x3fd9ea,[_0x4bf328]);}[_0x164ecf(0x4cd)](_0x3af934,_0x28f9d2,_0x4eb78c){const _0x511be2=_0x164ecf;let _0x18a9fe=_0x3af934[_0x511be2(0x4cb)][_0x28f9d2],_0x2dde61=_0x4eb78c[_0x511be2(0x41f)](_0x4118c2=>_0x4118c2&&!_0x18a9fe[_0x511be2(0x312)][_0x4118c2['id']])['map'](_0x24c789=>({..._0x24c789,'values':{..._0x24c789[_0x511be2(0x10a)],[_0x9b4f24[_0x511be2(0x2c4)]]:_0x24c789['id']}}));if(!_0x2dde61[_0x511be2(0x13b)])return _0x9b4f24[_0x511be2(0x47b)]['replaceOp']([..._0x3b7826[_0x511be2(0xfe)](_0x28f9d2),'records'],_0x18a9fe[_0x511be2(0x312)],_0x18a9fe[_0x511be2(0x312)]);let _0x20d85a=new _0x9b4f24['JSON1'][(_0x511be2(0x431))](),_0x3c693f=[..._0x2dde61][_0x511be2(0x281)]((_0x1520ba,_0x44b8e1)=>_0x1520ba['id']<_0x44b8e1['id']?-0x1:+(_0x1520ba['id']>_0x44b8e1['id'])),_0x3cd0f7=[..._0x3b7826['table'](_0x28f9d2),'records'];_0x20d85a[_0x511be2(0x28b)](_0x3cd0f7);for(let _0x142d89 of _0x3c693f)_0x20d85a['descend'](_0x142d89['id']),_0x20d85a['write']('i',_0x142d89),_0x20d85a[_0x511be2(0x161)]();for(let _0x1f384f=0x0;_0x1f384f<_0x3cd0f7[_0x511be2(0x13b)];_0x1f384f+=0x1)_0x20d85a[_0x511be2(0x161)]();return _0x4fd831([_0x20d85a[_0x511be2(0x3e9)](),this[_0x511be2(0x28e)](_0x3af934,_0x28f9d2,_0x2dde61)]);}[_0x164ecf(0x2c9)](_0x101242,_0x315433,_0x79d67e){const _0x5b2e1c=_0x164ecf;return this[_0x5b2e1c(0x373)](_0x101242,_0x315433,[_0x79d67e]);}[_0x164ecf(0x373)](_0x2d8f9f,_0x43def9,_0x1d0a33){const _0x4b3ac1=_0x164ecf;let _0x38b167=_0x2d8f9f[_0x4b3ac1(0x4cb)][_0x43def9],_0x4461d6=Array['from'](new Set(_0x1d0a33))[_0x4b3ac1(0x41f)](_0x48071e=>_0x38b167[_0x4b3ac1(0x312)][_0x48071e]);if(!_0x4461d6[_0x4b3ac1(0x13b)])return _0x9b4f24[_0x4b3ac1(0x47b)]['replaceOp']([..._0x3b7826[_0x4b3ac1(0xfe)](_0x43def9),_0x4b3ac1(0x312)],_0x38b167[_0x4b3ac1(0x312)],_0x38b167[_0x4b3ac1(0x312)]);let _0x53f36f=new Set(_0x4461d6),_0x1f7b34=_0x526f9d(_0x38b167,_0x4461d6)[_0x4b3ac1(0x2a7)](_0x5aa6ad=>this[_0x4b3ac1(0x2fa)](_0x2d8f9f,_0x43def9,_0x5aa6ad['recordId'],_0x5aa6ad[_0x4b3ac1(0x195)],'')),_0xb5f7cb=_0x4461d6[_0x4b3ac1(0x2a7)](_0x7e3428=>{const _0x5e3f93=_0x4b3ac1;var _0x5dd3ca;return{'recordId':_0x7e3428,'index':((_0x5dd3ca=_0x38b167[_0x5e3f93(0x411)])==null?void 0x0:_0x5dd3ca['indexOf'](_0x7e3428))??-0x1};})[_0x4b3ac1(0x41f)](_0x16658f=>_0x16658f['index']>=0x0)[_0x4b3ac1(0x281)]((_0x510f0f,_0x180cc4)=>_0x180cc4[_0x4b3ac1(0x2d4)]-_0x510f0f[_0x4b3ac1(0x2d4)]);return _0x4fd831([..._0x4461d6['map'](_0x6b77c7=>_0x9b4f24['JSON1'][_0x4b3ac1(0x39c)](_0x3b7826[_0x4b3ac1(0x2cb)](_0x43def9,_0x6b77c7),_0x38b167['records'][_0x6b77c7])),..._0xb5f7cb['map'](({recordId:_0x1fdf07,index:_0x454484})=>_0x9b4f24[_0x4b3ac1(0x47b)][_0x4b3ac1(0x39c)]([_0x4b3ac1(0x4cb),_0x43def9,'recordOrder',_0x454484],_0x1fdf07)),..._0x1f7b34,...this[_0x4b3ac1(0x1bb)](_0x38b167,_0x43def9,_0x30531e=>{const _0x526a4d=_0x4b3ac1;let _0x5ec69b=_0x30531e[_0x526a4d(0x475)](_0x30531e[_0x526a4d(0x18f)]('\x1f')+0x1);return _0x53f36f['has'](_0x5ec69b);})]);}[_0x164ecf(0x39b)](_0x459a2a,_0xbeb040,_0x1f9c4e,_0x504fc7){const _0x5d1d12=_0x164ecf;return this[_0x5d1d12(0x1e1)](_0x459a2a,_0xbeb040,{..._0x504fc7,'values':{..._0x459a2a[_0x5d1d12(0x4cb)][_0xbeb040][_0x5d1d12(0x312)][_0x1f9c4e][_0x5d1d12(0x10a)],..._0x504fc7[_0x5d1d12(0x10a)],[_0x9b4f24[_0x5d1d12(0x2c4)]]:_0x504fc7['id']}});}[_0x164ecf(0x265)](_0x1f3cfe,_0x245709,_0x414f73,_0x44e72a){const _0x26d50a=_0x164ecf;let _0xba720=_0x1f3cfe[_0x26d50a(0x4cb)][_0x245709],_0x15a12a=[..._0x3b7826[_0x26d50a(0x2cb)](_0x245709,_0x414f73),_0x26d50a(0x1ac)],_0x15b2d9=Object[_0x26d50a(0x10a)](_0xba720[_0x26d50a(0x312)])[_0x26d50a(0x2a7)](_0x29b282=>_0x29b282['id']===_0x414f73?{..._0x29b282,'orderKey':_0x44e72a}:_0x29b282)[_0x26d50a(0x281)]((_0x490b45,_0x1edce3)=>String(_0x490b45[_0x26d50a(0x1ac)]??_0x490b45['id'])['localeCompare'](String(_0x1edce3['orderKey']??_0x1edce3['id'])))[_0x26d50a(0x2a7)](_0x37207c=>_0x37207c['id']),_0x16af9c=[..._0x3b7826[_0x26d50a(0xfe)](_0x245709),'recordOrder'];return _0x4fd831([this[_0x26d50a(0x2b5)](_0x15a12a,_0xba720['records'][_0x414f73]['orderKey'],_0x44e72a),_0xba720[_0x26d50a(0x411)]?_0x9b4f24[_0x26d50a(0x47b)]['replaceOp'](_0x16af9c,_0xba720[_0x26d50a(0x411)],_0x15b2d9):_0x9b4f24[_0x26d50a(0x47b)][_0x26d50a(0x4c9)](_0x16af9c,_0x15b2d9)]);}['updateCell'](_0x3a70d8,_0x36386f,_0x3d91c9,_0x16b9d9,_0x3f7d18){const _0x4eecd2=_0x164ecf;var _0x37e4a0,_0x21b40a;let _0x36c4a7=_0x3a70d8[_0x4eecd2(0x4cb)][_0x36386f],_0x3adef9=_0x35bc66(_0x36c4a7,_0x3d91c9,_0x16b9d9)?_0x36c4a7:_0x8ae1a4(_0x36c4a7),_0x5c89b6=(_0x37e4a0=_0x3adef9['rowIndex'])==null?void 0x0:_0x37e4a0[_0x3d91c9],_0x5e269f=(_0x21b40a=_0x3adef9[_0x4eecd2(0x23b)])==null?void 0x0:_0x21b40a[_0x16b9d9];if(_0x5c89b6==null||_0x5e269f==null){var _0x32e71c;return this['_replaceOptional'](_0x3b7826[_0x4eecd2(0x213)](_0x36386f,_0x3d91c9,_0x16b9d9),(_0x32e71c=_0x3a70d8[_0x4eecd2(0x4cb)][_0x36386f])==null||(_0x32e71c=_0x32e71c[_0x4eecd2(0x312)][_0x3d91c9])==null?void 0x0:_0x32e71c[_0x4eecd2(0x10a)][_0x16b9d9],_0x3f7d18);}return this[_0x4eecd2(0x123)](_0x3a70d8,_0x36386f,[{'row':_0x5c89b6,'col':_0x5e269f,'value':_0x3f7d18}]);}['setRecordValues'](_0x374aa7,_0x4bd311,_0x3bac84){const _0x29a39a=_0x164ecf;let _0x7f3f2b=_0x374aa7['tables'][_0x4bd311],_0x5819c7=_0x3bac84[_0x29a39a(0x3e2)](_0x2b3cea=>Object['keys'](_0x2b3cea[_0x29a39a(0x10a)])['every'](_0x35cc34=>_0x35bc66(_0x7f3f2b,_0x2b3cea[_0x29a39a(0x1d9)],_0x35cc34)))?_0x7f3f2b:_0x8ae1a4(_0x7f3f2b),_0x3e3bc4=_0x3bac84[_0x29a39a(0x17e)](_0x48e339=>Object['entries'](_0x48e339[_0x29a39a(0x10a)])[_0x29a39a(0x17e)](([_0x252c52,_0x1543cb])=>{const _0x2dc2aa=_0x29a39a;var _0x57cf86,_0x54daf9;let _0x3ef4ef=(_0x57cf86=_0x5819c7[_0x2dc2aa(0x371)])==null?void 0x0:_0x57cf86[_0x48e339[_0x2dc2aa(0x1d9)]],_0x74e4ef=(_0x54daf9=_0x5819c7['colIndex'])==null?void 0x0:_0x54daf9[_0x252c52];return _0x3ef4ef==null||_0x74e4ef==null?[]:[{'row':_0x3ef4ef,'col':_0x74e4ef,'value':_0x1543cb}];})),_0x499b24=_0x3bac84[_0x29a39a(0x17e)](_0x341f74=>Object[_0x29a39a(0x489)](_0x341f74[_0x29a39a(0x201)]??{})[_0x29a39a(0x2a7)](([_0x1750d7,_0x37cb89])=>{const _0x4ae059=_0x29a39a;var _0x5cb0b0;let _0x57c4c2=[..._0x3b7826[_0x4ae059(0x2cb)](_0x4bd311,_0x341f74[_0x4ae059(0x1d9)]),_0x1750d7],_0x5e75ef=(_0x5cb0b0=_0x374aa7[_0x4ae059(0x4cb)][_0x4bd311])==null||(_0x5cb0b0=_0x5cb0b0['records'][_0x341f74[_0x4ae059(0x1d9)]])==null?void 0x0:_0x5cb0b0[_0x1750d7];return this['_replaceOptional'](_0x57c4c2,_0x5e75ef,_0x37cb89);}));return _0x4fd831([this[_0x29a39a(0x123)](_0x374aa7,_0x4bd311,_0x3e3bc4),..._0x499b24]);}[_0x164ecf(0x123)](_0x2594db,_0x5e21b1,_0x5e0c60){const _0x18239d=_0x164ecf;let _0x2ad819=_0x2594db['tables'][_0x5e21b1],_0x513ef4=_0x5e0c60['every'](_0x331dc2=>_0x329779(_0x2ad819,_0x331dc2['row'],_0x331dc2['col']))?_0x2ad819:_0x8ae1a4(_0x2ad819),_0x3f67c1=_0x5e0c60[_0x18239d(0x17e)](_0x250c6d=>{const _0x3c9e80=_0x18239d;var _0x41ead5,_0x5cd62f,_0x7b31d8,_0x3ba873;let _0x11e4e6=(_0x41ead5=_0x513ef4[_0x3c9e80(0x282)])==null?void 0x0:_0x41ead5[_0x250c6d[_0x3c9e80(0x48d)]],_0xfbac04=(_0x5cd62f=_0x513ef4[_0x3c9e80(0x3c7)])==null?void 0x0:_0x5cd62f[_0x250c6d[_0x3c9e80(0x12f)]],_0x45903d=_0x11e4e6?_0x513ef4[_0x3c9e80(0x43b)][_0x11e4e6]:void 0x0;if(_0x11e4e6===_0x9b4f24[_0x3c9e80(0x2c4)]||(_0x45903d==null?void 0x0:_0x45903d[_0x3c9e80(0x132)])===_0x9b4f24['BaseFieldType'][_0x3c9e80(0x111)])throw Error(_0x3c9e80(0x2c5));let _0x53cd81=_0x241162(_0x250c6d[_0x3c9e80(0x43f)],_0x45903d),_0x1ff3f3=(_0x7b31d8=_0x513ef4[_0x3c9e80(0x216)])==null||(_0x7b31d8=_0x7b31d8[_0x250c6d[_0x3c9e80(0x12f)]])==null?void 0x0:_0x7b31d8[_0x250c6d[_0x3c9e80(0x48d)]],_0x10a1a7=this[_0x3c9e80(0x2b5)](_0x3b7826[_0x3c9e80(0x216)](_0x5e21b1,_0x250c6d[_0x3c9e80(0x12f)],_0x250c6d[_0x3c9e80(0x48d)]),_0x1ff3f3,_0x53cd81);if(!_0x11e4e6||!_0xfbac04)return[_0x10a1a7];let _0x181c30=(_0x3ba873=_0x513ef4[_0x3c9e80(0x312)][_0xfbac04])==null?void 0x0:_0x3ba873['values'][_0x11e4e6],_0x4a0571=(_0x45903d==null?void 0x0:_0x45903d[_0x3c9e80(0x132)])===_0x9b4f24[_0x3c9e80(0x3bc)][_0x3c9e80(0x208)]?_0x1530e1(_0x250c6d[_0x3c9e80(0x43f)]):_0x2ad280(_0x250c6d['value'],_0x53cd81,_0x45903d,_0x513ef4,_0xfbac04),_0x45c844=[_0x10a1a7,this[_0x3c9e80(0x2b5)](_0x3b7826[_0x3c9e80(0x213)](_0x5e21b1,_0xfbac04,_0x11e4e6),_0x181c30,_0x4a0571)];if((_0x45903d==null?void 0x0:_0x45903d[_0x3c9e80(0x132)])!==_0x9b4f24[_0x3c9e80(0x3bc)]['Attachment'])return _0x45c844;let _0x256556=this[_0x3c9e80(0x285)](_0x513ef4,_0x5e21b1,_0xfbac04,_0x11e4e6,_0x4a0571);return[..._0x45c844,..._0x256556];});return _0x3f67c1['length']?_0x4fd831(_0x3f67c1):_0x9b4f24[_0x18239d(0x47b)][_0x18239d(0x189)](['tables',_0x5e21b1,_0x18239d(0x216)],_0x513ef4[_0x18239d(0x216)],_0x513ef4['cellData']);}['createField'](_0x47d412,_0x41caa0,_0x370c8a){const _0x37e733=_0x164ecf;let _0x4d39ae=_0x47d412[_0x37e733(0x4cb)][_0x41caa0];if(_0x4d39ae[_0x37e733(0x43b)][_0x370c8a['field']['id']]||_0x4d39ae[_0x37e733(0x30b)][_0x37e733(0x45d)](_0x370c8a[_0x37e733(0x2da)]['id']))return _0x9b4f24[_0x37e733(0x47b)][_0x37e733(0x189)]([_0x37e733(0x4cb),_0x41caa0,'fieldOrder'],_0x4d39ae['fieldOrder'],_0x4d39ae['fieldOrder']);let _0x481aeb=Math[_0x37e733(0x427)](0x1,_0x370c8a[_0x37e733(0x2d4)]??_0x4d39ae[_0x37e733(0x30b)][_0x37e733(0x13b)]),_0x321a32=Object[_0x37e733(0x10a)](_0x4d39ae[_0x37e733(0x339)]??{})[_0x37e733(0x17e)](_0x7a3976=>{const _0x1bd35d=_0x37e733;var _0x5393be;if(!_0x7a3976['fieldOrder']||_0x7a3976[_0x1bd35d(0x30b)][_0x1bd35d(0x45d)](_0x370c8a['field']['id']))return[];let _0x4cf242=_0x4550d3(((_0x5393be=_0x370c8a[_0x1bd35d(0x30a)])==null?void 0x0:_0x5393be[_0x7a3976['id']])??_0x481aeb,_0x7a3976[_0x1bd35d(0x30b)][_0x1bd35d(0x13b)]);return[_0x9b4f24[_0x1bd35d(0x47b)][_0x1bd35d(0x4c9)]([..._0x3b7826['view'](_0x41caa0,_0x7a3976['id']),_0x1bd35d(0x30b),_0x4cf242],_0x370c8a['field']['id'])];});return _0x4fd831([_0x9b4f24['JSON1'][_0x37e733(0x4c9)](_0x3b7826[_0x37e733(0x2da)](_0x41caa0,_0x370c8a[_0x37e733(0x2da)]['id']),_0x370c8a[_0x37e733(0x2da)]),_0x9b4f24[_0x37e733(0x47b)]['insertOp'](_0x3b7826['fieldOrder'](_0x41caa0,_0x481aeb),_0x370c8a[_0x37e733(0x2da)]['id']),..._0x321a32]);}[_0x164ecf(0x21f)](_0xa36fb4,_0x1ff443,_0x357648,_0x5559a0){const _0x1edb8e=_0x164ecf;let _0x478793=_0xa36fb4['tables'][_0x1ff443];if(!_0x478793[_0x1edb8e(0x43b)][_0x357648]||_0x478793['fields'][_0x5559a0[_0x1edb8e(0x2da)]['id']]||_0x478793['fieldOrder'][_0x1edb8e(0x45d)](_0x5559a0['field']['id']))return _0x9b4f24[_0x1edb8e(0x47b)]['replaceOp'](['tables',_0x1ff443,'fieldOrder'],_0x478793[_0x1edb8e(0x30b)],_0x478793['fieldOrder']);let _0x355256=_0x5559a0[_0x1edb8e(0x2d4)]??_0x478793[_0x1edb8e(0x30b)][_0x1edb8e(0x19b)](_0x357648)+0x1,_0x4ad60a=_0x478793['fieldOrder']['filter'](_0x4f891a=>_0x4f891a!==_0x5559a0[_0x1edb8e(0x2da)]['id']),_0x38d064=_0x1d7376(_0x4ad60a,_0x5559a0[_0x1edb8e(0x2da)]['id'],_0x355256),_0x17aca5=Object[_0x1edb8e(0x10a)](_0x478793[_0x1edb8e(0x339)]??{})[_0x1edb8e(0x17e)](_0x182023=>{const _0x1156b2=_0x1edb8e;var _0x33d906,_0x11971d,_0x19a7c0,_0xa261b9;let _0x444917=(_0x33d906=_0x182023[_0x1156b2(0x30b)])!=null&&_0x33d906[_0x1156b2(0x13b)]?_0x182023[_0x1156b2(0x30b)]:_0x4ad60a;if(_0x444917['includes'](_0x5559a0[_0x1156b2(0x2da)]['id']))return[];let _0x518da1=_0x1d7376(_0x444917,_0x5559a0[_0x1156b2(0x2da)]['id'],((_0x11971d=_0x5559a0[_0x1156b2(0x30a)])==null?void 0x0:_0x11971d[_0x182023['id']])??_0x355256),_0x2fe123=(_0x19a7c0=_0x182023[_0x1156b2(0x156)])==null?void 0x0:_0x19a7c0[_0x357648];return[this[_0x1156b2(0x2b5)]([..._0x3b7826[_0x1156b2(0x1d6)](_0x1ff443,_0x182023['id']),_0x1156b2(0x30b)],_0x182023[_0x1156b2(0x30b)],_0x518da1),..._0x2fe123?[this[_0x1156b2(0x2b5)]([..._0x3b7826[_0x1156b2(0x1d6)](_0x1ff443,_0x182023['id']),_0x1156b2(0x156),_0x5559a0[_0x1156b2(0x2da)]['id']],(_0xa261b9=_0x182023[_0x1156b2(0x156)])==null?void 0x0:_0xa261b9[_0x5559a0[_0x1156b2(0x2da)]['id']],_0x2fe123)]:[]];}),_0x3321b3=Object[_0x1edb8e(0x10a)](_0x478793['records'])['filter'](_0x4fce31=>Object[_0x1edb8e(0x1b0)][_0x1edb8e(0x377)]['call'](_0x4fce31[_0x1edb8e(0x10a)],_0x357648))['map'](_0x382972=>this['_replaceOptional'](_0x3b7826[_0x1edb8e(0x213)](_0x1ff443,_0x382972['id'],_0x5559a0['field']['id']),_0x382972[_0x1edb8e(0x10a)][_0x5559a0[_0x1edb8e(0x2da)]['id']],_0x382972[_0x1edb8e(0x10a)][_0x357648]));return _0x4fd831([_0x9b4f24[_0x1edb8e(0x47b)]['insertOp'](_0x3b7826[_0x1edb8e(0x2da)](_0x1ff443,_0x5559a0[_0x1edb8e(0x2da)]['id']),_0x5559a0[_0x1edb8e(0x2da)]),_0x9b4f24[_0x1edb8e(0x47b)][_0x1edb8e(0x189)]([_0x1edb8e(0x4cb),_0x1ff443,_0x1edb8e(0x30b)],_0x478793[_0x1edb8e(0x30b)],_0x38d064),..._0x17aca5,..._0x3321b3]);}['updateField'](_0x21b238,_0x478911,_0x3cee69,_0x1cda12){const _0x871b27=_0x164ecf;let _0x5538e7=_0x21b238[_0x871b27(0x4cb)][_0x478911][_0x871b27(0x43b)][_0x3cee69],_0x325df0={..._0x5538e7,..._0x1cda12};Object['keys'](_0x1cda12)[_0x871b27(0x49e)](_0x596388=>{_0x1cda12[_0x596388]===void 0x0&&delete _0x325df0[_0x596388];});let _0x2ed51f=_0x9b4f24[_0x871b27(0x47b)]['replaceOp'](_0x3b7826[_0x871b27(0x2da)](_0x478911,_0x3cee69),_0x5538e7,_0x325df0);return _0x325df0[_0x871b27(0x132)]===_0x9b4f24[_0x871b27(0x3bc)]['Formula']?_0x4fd831([_0x2ed51f,...this['_setFormulaFieldCells'](_0x21b238,_0x478911,_0x3cee69,_0x325df0)]):_0x2ed51f;}[_0x164ecf(0x4b2)](_0x4d2a75,_0x55538b,_0x531256,_0x1cc9dd){const _0xb5f4de=_0x164ecf;return this[_0xb5f4de(0x228)](_0x4d2a75,_0x55538b,_0x531256,_0x1cc9dd);}['deleteField'](_0x18d88e,_0xf32230,_0x54e74){const _0x5d9f58=_0x164ecf;let _0x225b55=_0x18d88e[_0x5d9f58(0x4cb)][_0xf32230];if(!(_0x225b55!=null&&_0x225b55[_0x5d9f58(0x43b)][_0x54e74])||_0x225b55['primaryFieldId']===_0x54e74||_0x54e74===_0x9b4f24[_0x5d9f58(0x2c4)])return _0x9b4f24['JSON1'][_0x5d9f58(0x189)]([_0x5d9f58(0x4cb),_0xf32230,'fieldOrder'],_0x225b55==null?void 0x0:_0x225b55[_0x5d9f58(0x30b)],_0x225b55==null?void 0x0:_0x225b55[_0x5d9f58(0x30b)]);let _0x18cf4e=_0x225b55['fieldOrder'][_0x5d9f58(0x19b)](_0x54e74),_0x4c1ce6=Object[_0x5d9f58(0x10a)](_0x225b55[_0x5d9f58(0x339)])[_0x5d9f58(0x17e)](_0x3eda5a=>{const _0x44bed4=_0x5d9f58;var _0x3d6d7c,_0x28839a,_0x2f60bf,_0x383183,_0x3f78d2,_0x1e0afa,_0x3037a;let _0x21fa26=[],_0x326d17=((_0x3d6d7c=_0x3eda5a[_0x44bed4(0x30b)])==null?void 0x0:_0x3d6d7c[_0x44bed4(0x19b)](_0x54e74))??-0x1;_0x326d17>=0x0&&_0x21fa26['push'](_0x9b4f24[_0x44bed4(0x47b)][_0x44bed4(0x39c)]([..._0x3b7826[_0x44bed4(0x1d6)](_0xf32230,_0x3eda5a['id']),_0x44bed4(0x30b),_0x326d17],_0x54e74));let _0x3d51d0=(_0x28839a=_0x3eda5a[_0x44bed4(0x156)])==null?void 0x0:_0x28839a[_0x54e74];_0x3d51d0!==void 0x0&&_0x21fa26[_0x44bed4(0x4bf)](_0x9b4f24[_0x44bed4(0x47b)][_0x44bed4(0x39c)]([..._0x3b7826[_0x44bed4(0x1d6)](_0xf32230,_0x3eda5a['id']),_0x44bed4(0x156),_0x54e74],_0x3d51d0));let _0x4d9e70=_0x3eda5a[_0x44bed4(0x41f)]?{..._0x3eda5a['filter'],'conditions':_0x3eda5a['filter']['conditions']['filter'](_0x56b56d=>_0x56b56d[_0x44bed4(0x195)]!==_0x54e74)}:_0x3eda5a[_0x44bed4(0x41f)];_0x4d9e70&&_0x4d9e70[_0x44bed4(0x2e0)][_0x44bed4(0x13b)]!==((_0x2f60bf=_0x3eda5a[_0x44bed4(0x41f)])==null?void 0x0:_0x2f60bf[_0x44bed4(0x2e0)][_0x44bed4(0x13b)])&&_0x21fa26['push'](this[_0x44bed4(0x2b5)]([..._0x3b7826[_0x44bed4(0x1d6)](_0xf32230,_0x3eda5a['id']),_0x44bed4(0x41f)],_0x3eda5a['filter'],_0x4d9e70));let _0x33d372=(_0x383183=_0x3eda5a[_0x44bed4(0x281)])==null?void 0x0:_0x383183[_0x44bed4(0x41f)](_0x594162=>_0x594162[_0x44bed4(0x195)]!==_0x54e74);_0x33d372&&_0x33d372[_0x44bed4(0x13b)]!==((_0x3f78d2=_0x3eda5a['sort'])==null?void 0x0:_0x3f78d2[_0x44bed4(0x13b)])&&_0x21fa26[_0x44bed4(0x4bf)](this[_0x44bed4(0x2b5)]([..._0x3b7826[_0x44bed4(0x1d6)](_0xf32230,_0x3eda5a['id']),_0x44bed4(0x281)],_0x3eda5a[_0x44bed4(0x281)],_0x33d372));let _0x1ec445=(_0x1e0afa=_0x3eda5a[_0x44bed4(0x332)])==null?void 0x0:_0x1e0afa[_0x44bed4(0x41f)](_0x4ba16a=>_0x4ba16a[_0x44bed4(0x195)]!==_0x54e74);_0x1ec445&&_0x1ec445[_0x44bed4(0x13b)]!==((_0x3037a=_0x3eda5a['group'])==null?void 0x0:_0x3037a[_0x44bed4(0x13b)])&&_0x21fa26['push'](this[_0x44bed4(0x2b5)]([..._0x3b7826[_0x44bed4(0x1d6)](_0xf32230,_0x3eda5a['id']),_0x44bed4(0x332)],_0x3eda5a[_0x44bed4(0x332)],_0x1ec445));let _0xd8e56=_0x4e365b(_0x3eda5a[_0x44bed4(0x19f)],_0x54e74);return JSON[_0x44bed4(0x122)](_0xd8e56)!==JSON['stringify'](_0x3eda5a['config'])&&_0x21fa26[_0x44bed4(0x4bf)](_0x9b4f24[_0x44bed4(0x47b)][_0x44bed4(0x189)]([..._0x3b7826[_0x44bed4(0x1d6)](_0xf32230,_0x3eda5a['id']),_0x44bed4(0x19f)],_0x3eda5a[_0x44bed4(0x19f)],_0xd8e56)),_0x21fa26;}),_0x4bf1e5=Object['values'](_0x225b55[_0x5d9f58(0x312)])['flatMap'](_0x2e8ea6=>Object['prototype']['hasOwnProperty'][_0x5d9f58(0x35d)](_0x2e8ea6['values'],_0x54e74)?[_0x9b4f24[_0x5d9f58(0x47b)][_0x5d9f58(0x39c)](_0x3b7826[_0x5d9f58(0x213)](_0xf32230,_0x2e8ea6['id'],_0x54e74),_0x2e8ea6['values'][_0x54e74])]:[]);return _0x4fd831([_0x9b4f24['JSON1'][_0x5d9f58(0x39c)](_0x3b7826[_0x5d9f58(0x2da)](_0xf32230,_0x54e74),_0x225b55['fields'][_0x54e74]),_0x9b4f24[_0x5d9f58(0x47b)][_0x5d9f58(0x39c)](_0x3b7826[_0x5d9f58(0x30b)](_0xf32230,_0x18cf4e),_0x54e74),..._0x4c1ce6,..._0x4bf1e5,...this[_0x5d9f58(0x1bb)](_0x225b55,_0xf32230,_0x332353=>_0x332353['startsWith'](_0x54e74+'\x1f'))]);}[_0x164ecf(0x31f)](_0x424d65,_0x400f64,_0x40e52b,_0x4cc5cc){const _0x392721=_0x164ecf;let _0x50efbc=_0x424d65[_0x392721(0x4cb)][_0x400f64][_0x392721(0x30b)];if(_0x40e52b===_0x9b4f24[_0x392721(0x2c4)]||_0x4cc5cc[_0x392721(0x249)]===_0x9b4f24['BASE_RECORD_ID_FIELD_ID'])throw Error(_0x392721(0x133));let _0x56022d=_0x32f90d(_0x50efbc,_0x40e52b,_0x4cc5cc);return _0x9b4f24[_0x392721(0x47b)][_0x392721(0x189)]([_0x392721(0x4cb),_0x400f64,_0x392721(0x30b)],_0x50efbc,_0x56022d);}[_0x164ecf(0x20f)](_0x294ff7,_0x34fdfe,_0x4aed38,_0x37858f=_0x294ff7[_0x164ecf(0x4cb)][_0x34fdfe][_0x164ecf(0x461)][_0x164ecf(0x13b)]){const _0x6c4769=_0x164ecf;return _0x4fd831([_0x9b4f24[_0x6c4769(0x47b)][_0x6c4769(0x4c9)](_0x3b7826[_0x6c4769(0x1d6)](_0x34fdfe,_0x4aed38['id']),_0x4aed38),_0x9b4f24[_0x6c4769(0x47b)][_0x6c4769(0x4c9)]([_0x6c4769(0x4cb),_0x34fdfe,_0x6c4769(0x461),_0x37858f],_0x4aed38['id'])]);}[_0x164ecf(0xff)](_0x35cf68,_0x2f01de,_0x516a75,_0x434059){const _0x3dc580=_0x164ecf;return _0x9b4f24['JSON1'][_0x3dc580(0x189)]([..._0x3b7826[_0x3dc580(0x1d6)](_0x2f01de,_0x516a75),_0x3dc580(0x267)],_0x35cf68[_0x3dc580(0x4cb)][_0x2f01de][_0x3dc580(0x339)][_0x516a75][_0x3dc580(0x267)],_0x434059);}[_0x164ecf(0x1a3)](_0x41c871,_0x2c6fee,_0x3ae9ed){const _0x45f1f7=_0x164ecf;let _0x4782b2=_0x41c871['tables'][_0x2c6fee],_0x41c195=_0x4782b2['views'][_0x3ae9ed],_0x3b1766=_0x4782b2['viewOrder']['indexOf'](_0x3ae9ed);return _0x4fd831([_0x9b4f24[_0x45f1f7(0x47b)][_0x45f1f7(0x39c)](_0x3b7826['view'](_0x2c6fee,_0x3ae9ed),_0x41c195),_0x9b4f24[_0x45f1f7(0x47b)][_0x45f1f7(0x39c)]([_0x45f1f7(0x4cb),_0x2c6fee,_0x45f1f7(0x461),_0x3b1766],_0x3ae9ed)]);}['moveView'](_0x2332b6,_0x2e283d,_0x479d1a,_0x4c494e){const _0x31c6fb=_0x164ecf;let _0x50c847=_0x2332b6[_0x31c6fb(0x4cb)][_0x2e283d][_0x31c6fb(0x461)],_0x7a8675=_0x32f90d(_0x50c847,_0x479d1a,{'beforeFieldId':_0x4c494e[_0x31c6fb(0x42d)],'afterFieldId':_0x4c494e[_0x31c6fb(0xf5)]});return _0x9b4f24[_0x31c6fb(0x47b)][_0x31c6fb(0x189)]([_0x31c6fb(0x4cb),_0x2e283d,'viewOrder'],_0x50c847,_0x7a8675);}[_0x164ecf(0x319)](_0x497850,_0x30ca28,_0x98fa01,_0x4cca9a){const _0x3892db=_0x164ecf;let _0x1fdcae=_0x497850['tables'][_0x30ca28][_0x3892db(0x339)][_0x98fa01]['config']??{},_0x4ba534={..._0x1fdcae,..._0x4cca9a};return Object[_0x3892db(0x1fe)](_0x4cca9a)[_0x3892db(0x49e)](_0x7de559=>{_0x4cca9a[_0x7de559]===void 0x0&&delete _0x4ba534[_0x7de559];}),_0x9b4f24[_0x3892db(0x47b)][_0x3892db(0x189)]([..._0x3b7826[_0x3892db(0x1d6)](_0x30ca28,_0x98fa01),_0x3892db(0x19f)],_0x1fdcae,_0x4ba534);}[_0x164ecf(0x160)](_0x3f2982,_0x42c768,_0x45a452,_0x8402a){const _0x373515=_0x164ecf;return this[_0x373515(0x2b5)]([..._0x3b7826[_0x373515(0x1d6)](_0x42c768,_0x45a452),_0x373515(0x41f)],_0x3f2982[_0x373515(0x4cb)][_0x42c768][_0x373515(0x339)][_0x45a452][_0x373515(0x41f)],_0x8402a);}['setViewSort'](_0x7f347,_0xf3239f,_0xc31a53,_0x6bd607){const _0x4728b1=_0x164ecf;return this['_replaceOptional']([..._0x3b7826[_0x4728b1(0x1d6)](_0xf3239f,_0xc31a53),_0x4728b1(0x281)],_0x7f347[_0x4728b1(0x4cb)][_0xf3239f][_0x4728b1(0x339)][_0xc31a53][_0x4728b1(0x281)],_0x6bd607);}[_0x164ecf(0x20a)](_0x558abe,_0x4d63fc,_0x2f998b,_0x22ce48){const _0x34dba2=_0x164ecf;return this[_0x34dba2(0x2b5)]([..._0x3b7826[_0x34dba2(0x1d6)](_0x4d63fc,_0x2f998b),_0x34dba2(0x332)],_0x558abe[_0x34dba2(0x4cb)][_0x4d63fc]['views'][_0x2f998b][_0x34dba2(0x332)],_0x22ce48);}[_0x164ecf(0x289)](_0x2faa94,_0x364fb5,_0x1f138d,_0x463f50,_0x2cded7){const _0x2e91e6=_0x164ecf;return this[_0x2e91e6(0x14e)](_0x2faa94,_0x364fb5,_0x1f138d,_0x463f50,{'hidden':!_0x2cded7});}[_0x164ecf(0x14b)](_0xc95e5a,_0x36e477,_0x4e477b,_0x2ae16d,_0x2e11b9){const _0x2aa0a7=_0x164ecf;return this[_0x2aa0a7(0x14e)](_0xc95e5a,_0x36e477,_0x4e477b,_0x2ae16d,{'width':_0x2e11b9});}['setViewFieldOrder'](_0x4d5fc6,_0x626f22,_0x34599a,_0x1316bd,_0x44334e){const _0x1e361e=_0x164ecf;let _0x274c44=_0x4d5fc6[_0x1e361e(0x4cb)][_0x626f22][_0x1e361e(0x339)][_0x34599a],_0x20222a=_0x32f90d(_0x274c44[_0x1e361e(0x30b)]??_0x4d5fc6[_0x1e361e(0x4cb)][_0x626f22][_0x1e361e(0x30b)],_0x1316bd,_0x44334e);return this[_0x1e361e(0x2b5)]([..._0x3b7826['view'](_0x626f22,_0x34599a),_0x1e361e(0x30b)],_0x274c44[_0x1e361e(0x30b)],_0x20222a);}[_0x164ecf(0x14e)](_0xa3cf20,_0x33f4a0,_0x89a470,_0x566e4c,_0x2a9145){const _0x437540=_0x164ecf;let _0xa1073e=_0xa3cf20[_0x437540(0x4cb)][_0x33f4a0]['views'][_0x89a470][_0x437540(0x156)]??{},_0x5df909={..._0xa1073e,[_0x566e4c]:{..._0xa1073e[_0x566e4c],..._0x2a9145}};return this[_0x437540(0x2b5)]([..._0x3b7826[_0x437540(0x1d6)](_0x33f4a0,_0x89a470),_0x437540(0x156)],_0xa3cf20[_0x437540(0x4cb)][_0x33f4a0]['views'][_0x89a470][_0x437540(0x156)],_0x5df909);}[_0x164ecf(0x28e)](_0x202fed,_0x10bf3c,_0x245046){const _0x13a840=_0x164ecf;let _0xd9a22=_0x202fed['tables'][_0x10bf3c],_0x1e9ff9=new Set(_0x245046[_0x13a840(0x2a7)](_0x4761bf=>_0x4761bf['id'])),_0x3943a8=[...Object[_0x13a840(0x10a)](_0xd9a22[_0x13a840(0x312)])[_0x13a840(0x41f)](_0x17cd5b=>!_0x1e9ff9[_0x13a840(0x1df)](_0x17cd5b['id'])),..._0x245046][_0x13a840(0x281)]((_0x1e9fee,_0x101e1a)=>String(_0x1e9fee['orderKey']??_0x1e9fee['id'])[_0x13a840(0x2c6)](String(_0x101e1a[_0x13a840(0x1ac)]??_0x101e1a['id'])))['map'](_0x439cfe=>_0x439cfe['id']),_0x46c7f4=[..._0x3b7826[_0x13a840(0xfe)](_0x10bf3c),_0x13a840(0x411)];return _0xd9a22[_0x13a840(0x411)]?_0x9b4f24['JSON1'][_0x13a840(0x189)](_0x46c7f4,_0xd9a22[_0x13a840(0x411)],_0x3943a8):_0x9b4f24['JSON1'][_0x13a840(0x4c9)](_0x46c7f4,_0x3943a8);}[_0x164ecf(0x180)](_0x5cf69b,_0x53455b,_0x2ddaaf,_0x438b73){const _0x4d0b2b=_0x164ecf;var _0x25f9fe,_0x7f55ef;let _0x4e59fd=_0x8ae1a4(_0x5cf69b[_0x4d0b2b(0x4cb)][_0x53455b]),_0x12d8b8=String(((_0x25f9fe=_0x438b73[_0x4d0b2b(0x19f)])==null?void 0x0:_0x25f9fe[_0x4d0b2b(0x2f9)])??'')[_0x4d0b2b(0x276)](),_0x19ab91=(_0x7f55ef=_0x4e59fd[_0x4d0b2b(0x23b)])==null?void 0x0:_0x7f55ef[_0x2ddaaf];if(_0x19ab91==null)return[];let _0x2e69e7=_0x4e59fd['recordOrder']??Object[_0x4d0b2b(0x1fe)](_0x4e59fd[_0x4d0b2b(0x312)]),_0x3a29ac=_0x2e69e7['map'](_0x592628=>{const _0xb10a9e=_0x4d0b2b;var _0x376acc;return(_0x376acc=_0x4e59fd[_0xb10a9e(0x371)])==null?void 0x0:_0x376acc[_0x592628];})[_0x4d0b2b(0x396)](_0x5767c9=>_0x5767c9!=null);return _0x2e69e7['flatMap'](_0x5f7ea5=>{const _0x5525d6=_0x4d0b2b;var _0x51e812,_0x4bbd41;let _0x2a3721=(_0x51e812=_0x4e59fd['rowIndex'])==null?void 0x0:_0x51e812[_0x5f7ea5];if(_0x2a3721==null)return[];let _0x12b40f=(_0x4bbd41=_0x4e59fd[_0x5525d6(0x216)])==null||(_0x4bbd41=_0x4bbd41[_0x2a3721])==null?void 0x0:_0x4bbd41[_0x19ab91],_0x4ef713=_0x12d8b8?_0x2a3721===_0x3a29ac?{'f':_0x12d8b8,'si':_0x2ddaaf}:{'si':_0x2ddaaf}:{'v':null,'t':null};return[this[_0x5525d6(0x2b5)](_0x3b7826[_0x5525d6(0x216)](_0x53455b,_0x2a3721,_0x19ab91),_0x12b40f,_0x4ef713)];});}['_setAttachmentResources'](_0x10e520,_0x150659,_0x520a64,_0x38c3de,_0x67664f){const _0x31b824=_0x164ecf;var _0x2479f1;let _0x27574e=_0x2aa1c9(_0x38c3de,_0x520a64),_0x17601c=_0x67664f['map']((_0x204dde,_0x5b48b0)=>String(_0x204dde['id']??_0x27574e+'\x1f'+_0x5b48b0));return[this[_0x31b824(0x2b5)](_0x3b7826[_0x31b824(0x3c0)](_0x150659,_0x27574e),(_0x2479f1=_0x10e520[_0x31b824(0x1b2)])==null||(_0x2479f1=_0x2479f1[_0x31b824(0x3d9)])==null?void 0x0:_0x2479f1[_0x27574e],_0x17601c),..._0x67664f[_0x31b824(0x2a7)]((_0x49d46c,_0x443da2)=>{const _0xb9c06=_0x31b824;var _0x2d472b;let _0x35667f=_0x17601c[_0x443da2];return this[_0xb9c06(0x2b5)](_0x3b7826[_0xb9c06(0x2a9)](_0x150659,_0x35667f),(_0x2d472b=_0x10e520[_0xb9c06(0x1b2)])==null||(_0x2d472b=_0x2d472b['attachments'])==null?void 0x0:_0x2d472b[_0x35667f],{..._0x49d46c,'id':_0x35667f});})];}[_0x164ecf(0x1bb)](_0x3ebdae,_0x2c4132,_0x21f30c){const _0x58f3c7=_0x164ecf;var _0x47b194;let _0x5a65f3=((_0x47b194=_0x3ebdae['resources'])==null?void 0x0:_0x47b194[_0x58f3c7(0x3d9)])??{},_0x12a238=Object[_0x58f3c7(0x489)](_0x5a65f3)['filter'](([_0x560c44])=>_0x21f30c(_0x560c44));if(!_0x12a238[_0x58f3c7(0x13b)])return[];let _0x446858=new Set(Object[_0x58f3c7(0x489)](_0x5a65f3)['filter'](([_0x3662e0])=>!_0x21f30c(_0x3662e0))[_0x58f3c7(0x17e)](([,_0x265b6a])=>_0x265b6a)),_0x4c4550=new Set(_0x12a238[_0x58f3c7(0x17e)](([,_0x325696])=>_0x325696));return[..._0x12a238[_0x58f3c7(0x2a7)](([_0x291e10,_0x17c509])=>_0x9b4f24['JSON1'][_0x58f3c7(0x39c)](_0x3b7826[_0x58f3c7(0x3c0)](_0x2c4132,_0x291e10),_0x17c509)),...Array[_0x58f3c7(0x338)](_0x4c4550)['flatMap'](_0x24f385=>{const _0x156d75=_0x58f3c7;var _0x466040;let _0x291f8f=(_0x466040=_0x3ebdae[_0x156d75(0x1b2)])==null||(_0x466040=_0x466040[_0x156d75(0x359)])==null?void 0x0:_0x466040[_0x24f385];return _0x291f8f!==void 0x0&&!_0x446858[_0x156d75(0x1df)](_0x24f385)?[_0x9b4f24[_0x156d75(0x47b)][_0x156d75(0x39c)](_0x3b7826[_0x156d75(0x2a9)](_0x2c4132,_0x24f385),_0x291f8f)]:[];})];}['_replaceOptional'](_0x508f50,_0x4ddf74,_0x4ff586){const _0x52205b=_0x164ecf;return _0x4ddf74===void 0x0?_0x9b4f24[_0x52205b(0x47b)][_0x52205b(0x4c9)](_0x508f50,_0x4ff586):_0x9b4f24['JSON1'][_0x52205b(0x189)](_0x508f50,_0x4ddf74,_0x4ff586);}};function _0x35bc66(_0x3ef4a7,_0x22643,_0x3afd69){const _0x51cef9=_0x164ecf;var _0x121508,_0x4e4e8d,_0x1a59df,_0xdea265;let _0x3a551a=(_0x121508=_0x3ef4a7[_0x51cef9(0x371)])==null?void 0x0:_0x121508[_0x22643],_0x1a805d=(_0x4e4e8d=_0x3ef4a7[_0x51cef9(0x23b)])==null?void 0x0:_0x4e4e8d[_0x3afd69];return _0x3a551a!=null&&_0x1a805d!=null&&((_0x1a59df=_0x3ef4a7[_0x51cef9(0x3c7)])==null?void 0x0:_0x1a59df[_0x3a551a])===_0x22643&&((_0xdea265=_0x3ef4a7[_0x51cef9(0x282)])==null?void 0x0:_0xdea265[_0x1a805d])===_0x3afd69&&_0x3ef4a7[_0x51cef9(0x216)]!=null;}function _0x329779(_0x1050a7,_0x42d8e3,_0x531540){const _0x4d2409=_0x164ecf;var _0x261c82,_0x22d187;return((_0x261c82=_0x1050a7[_0x4d2409(0x3c7)])==null?void 0x0:_0x261c82[_0x42d8e3])!=null&&((_0x22d187=_0x1050a7[_0x4d2409(0x282)])==null?void 0x0:_0x22d187[_0x531540])!=null&&_0x1050a7[_0x4d2409(0x216)]!=null;}function _0x32f90d(_0x13542d,_0x53bc7d,_0x210967){const _0x3d3771=_0x164ecf;let _0x417d66=_0x13542d[_0x3d3771(0x41f)](_0x3b8d66=>_0x3b8d66!==_0x53bc7d),_0x56b19c=_0x210967[_0x3d3771(0x249)]?_0x417d66[_0x3d3771(0x19b)](_0x210967[_0x3d3771(0x249)]):_0x210967[_0x3d3771(0x20b)]?_0x417d66[_0x3d3771(0x19b)](_0x210967[_0x3d3771(0x20b)])+0x1:_0x417d66['length'];return _0x417d66[_0x3d3771(0x1ed)](_0x56b19c<0x0?_0x417d66[_0x3d3771(0x13b)]:_0x56b19c,0x0,_0x53bc7d),_0x417d66;}function _0x1d7376(_0xe5f322,_0x479421,_0x583448){const _0x4290e2=_0x164ecf;let _0x16c5a2=_0xe5f322[_0x4290e2(0x41f)](_0x4aa01b=>_0x4aa01b!==_0x479421);return _0x16c5a2[_0x4290e2(0x1ed)](_0x4550d3(_0x583448,_0x16c5a2['length']),0x0,_0x479421),_0x16c5a2;}function _0x4e365b(_0x3ab283,_0x357ee5,_0x33c58f){const _0x473566=_0x164ecf;if(Array['isArray'](_0x3ab283))return _0x33c58f===_0x473566(0x239)?_0x3ab283[_0x473566(0x41f)](_0x3e60b8=>_0x3e60b8!==_0x357ee5):_0x3ab283[_0x473566(0x17e)](_0x4664cb=>{const _0x220480=_0x473566;if(_0x4664cb&&typeof _0x4664cb==_0x220480(0x42c)&&!Array[_0x220480(0x32e)](_0x4664cb)&&_0x4664cb['fieldId']===_0x357ee5)return[];let _0x16b56b=_0x4e365b(_0x4664cb,_0x357ee5);return _0x16b56b===void 0x0?[]:[_0x16b56b];});if(!_0x3ab283||typeof _0x3ab283!='object')return _0x33c58f!=null&&_0x33c58f['endsWith'](_0x473566(0x262))&&_0x3ab283===_0x357ee5?void 0x0:_0x3ab283;let _0x47ad36=_0x3ab283;if(_0x47ad36[_0x473566(0x195)]!==_0x357ee5)return Object[_0x473566(0x224)](Object['entries'](_0x47ad36)[_0x473566(0x17e)](([_0x2c4e45,_0x1c9fa3])=>{if(_0x2c4e45===_0x357ee5&&_0x33c58f==='fieldSettings')return[];let _0x370396=_0x4e365b(_0x1c9fa3,_0x357ee5,_0x2c4e45);return _0x370396===void 0x0?[]:[[_0x2c4e45,_0x370396]];}));}function _0x4550d3(_0x496eab,_0x5a33d1){const _0x4ddcbf=_0x164ecf;return Math[_0x4ddcbf(0x427)](0x0,Math['min'](_0x496eab,_0x5a33d1));}function _0x5b5ff7(_0x3b5bd4,_0x2fda35,_0x232c63){const _0x52c3c9=_0x164ecf;if(!_0x3b5bd4||!_0x2fda35||_0x2fda35===_0x232c63)return _0x3b5bd4;let _0x62ea60='',_0x1e6bc5=!0x1,_0x2b67a9=_0x2fda35[_0x52c3c9(0x3b3)]();for(let _0xc9c81a=0x0;_0xc9c81a<_0x3b5bd4[_0x52c3c9(0x13b)];){let _0x2951d4=_0x3b5bd4[_0xc9c81a];if(_0x2951d4==='\x22'){if(_0x1e6bc5&&_0x3b5bd4[_0xc9c81a+0x1]==='\x22'){_0x62ea60+='\x22\x22',_0xc9c81a+=0x2;continue;}_0x1e6bc5=!_0x1e6bc5,_0x62ea60+=_0x2951d4,_0xc9c81a++;continue;}if(!_0x1e6bc5&&_0x3b5bd4[_0x52c3c9(0x475)](_0xc9c81a,_0xc9c81a+_0x2fda35[_0x52c3c9(0x13b)])[_0x52c3c9(0x3b3)]()===_0x2b67a9&&_0x1b0b8a(_0x3b5bd4,_0xc9c81a,_0x2fda35['length'])){_0x62ea60+=_0x232c63,_0xc9c81a+=_0x2fda35[_0x52c3c9(0x13b)];continue;}_0x62ea60+=_0x2951d4,_0xc9c81a++;}return _0x62ea60;}function _0x1b0b8a(_0x2bace7,_0x2f9fe3,_0x114a2b){const _0x3eafd4=_0x164ecf;let _0x701944=_0x2bace7[_0x2f9fe3-0x1];if(_0x701944&&/[\w.]/[_0x3eafd4(0x37c)](_0x701944))return!0x1;let _0x3054e0=_0x2f9fe3+_0x114a2b;for(;/\s/[_0x3eafd4(0x37c)](_0x2bace7[_0x3054e0]??'');)_0x3054e0++;return _0x2bace7[_0x3054e0]==='[';}function _0x30a735(_0x28cb23){'@babel/helpers - typeof';const _0x468865=_0x164ecf;return _0x30a735=typeof Symbol==_0x468865(0x32b)&&typeof Symbol[_0x468865(0x2ea)]==_0x468865(0x21b)?function(_0x2dd125){return typeof _0x2dd125;}:function(_0x4251c2){const _0x78b1db=_0x468865;return _0x4251c2&&typeof Symbol==_0x78b1db(0x32b)&&_0x4251c2['constructor']===Symbol&&_0x4251c2!==Symbol[_0x78b1db(0x1b0)]?_0x78b1db(0x21b):typeof _0x4251c2;},_0x30a735(_0x28cb23);}function _0x420d57(_0x2f83d1,_0x4e86c6){const _0x4d9801=_0x164ecf;if(_0x30a735(_0x2f83d1)!=_0x4d9801(0x42c)||!_0x2f83d1)return _0x2f83d1;var _0x5ade6c=_0x2f83d1[Symbol[_0x4d9801(0x480)]];if(_0x5ade6c!==void 0x0){var _0x165051=_0x5ade6c[_0x4d9801(0x35d)](_0x2f83d1,_0x4e86c6||_0x4d9801(0x25b));if(_0x30a735(_0x165051)!=_0x4d9801(0x42c))return _0x165051;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x4e86c6===_0x4d9801(0x1e4)?String:Number)(_0x2f83d1);}function _0x26f4ca(_0x54a888){const _0x52a964=_0x164ecf;var _0x3558e9=_0x420d57(_0x54a888,_0x52a964(0x1e4));return _0x30a735(_0x3558e9)==_0x52a964(0x21b)?_0x3558e9:_0x3558e9+'';}function _0x1fa697(_0x45cbe1,_0x255aa9,_0x1fcd5d){return(_0x255aa9=_0x26f4ca(_0x255aa9))in _0x45cbe1?Object['defineProperty'](_0x45cbe1,_0x255aa9,{'value':_0x1fcd5d,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x45cbe1[_0x255aa9]=_0x1fcd5d,_0x45cbe1;}let _0x258447=(0x0,_0x9b4f24[_0x164ecf(0x206)])(_0x164ecf(0x185));var _0x111b3e=class extends _0x9b4f24[_0x164ecf(0x2b0)]{constructor(..._0x26d262){super(..._0x26d262),_0x1fa697(this,'_plugins',new Map());}['register'](_0x2418a0){const _0x2e1d9e=_0x164ecf;return this[_0x2e1d9e(0x20c)][_0x2e1d9e(0x25a)](_0x2418a0[_0x2e1d9e(0x132)],_0x2418a0),(0x0,_0x9b4f24[_0x2e1d9e(0x17d)])(()=>this['_plugins'][_0x2e1d9e(0x2c7)](_0x2418a0[_0x2e1d9e(0x132)]));}[_0x164ecf(0x3e9)](_0x3fe620){const _0xfa3120=_0x164ecf;let _0x55d067=this['_plugins'][_0xfa3120(0x3e9)](_0x3fe620);if(!_0x55d067)throw Error('[BaseFieldRegistryService]:\x20field\x20type\x20\x22'+_0x3fe620+_0xfa3120(0x308));return _0x55d067;}[_0x164ecf(0x362)](_0xbbc080){const _0x7da0bb=_0x164ecf;return this[_0x7da0bb(0x20c)][_0x7da0bb(0x3e9)](_0xbbc080);}[_0x164ecf(0x357)](){const _0x753305=_0x164ecf;return Array[_0x753305(0x338)](this[_0x753305(0x20c)]['values']());}};let _0x2bc2dc=(0x0,_0x9b4f24[_0x164ecf(0x206)])(_0x164ecf(0x2d9));var _0x267c0a=class{constructor(){const _0x154954=_0x164ecf;_0x1fa697(this,_0x154954(0x32a),new Map()),_0x1fa697(this,_0x154954(0x183),new Map()),_0x1fa697(this,_0x154954(0x27a),new Map()),_0x1fa697(this,'_recordPermissions',new Map());}['canCreateTable'](_0x5c8c4d){const _0x57cbd2=_0x164ecf;var _0x3b70b4;return((_0x3b70b4=this[_0x57cbd2(0x32a)][_0x57cbd2(0x3e9)](_0x5c8c4d))==null?void 0x0:_0x3b70b4[_0x57cbd2(0x2ad)])??!0x0;}['canDeleteTable'](_0x30d9f3){const _0xad687b=_0x164ecf;var _0x298f48;return((_0x298f48=this[_0xad687b(0x183)]['get'](_0x30d9f3))==null?void 0x0:_0x298f48[_0xad687b(0x2c7)])??!0x0;}[_0x164ecf(0x29f)](_0x5ada79){const _0x100b43=_0x164ecf;var _0x2b49ea;return((_0x2b49ea=this['_tablePermissions'][_0x100b43(0x3e9)](_0x5ada79))==null?void 0x0:_0x2b49ea[_0x100b43(0x205)])??!0x0;}[_0x164ecf(0x417)](_0x1913c8,_0x2ff517){const _0x587b41=_0x164ecf;var _0x24092c;return((_0x24092c=this[_0x587b41(0x27a)][_0x587b41(0x3e9)](_0x507a50(_0x1913c8,_0x2ff517)))==null?void 0x0:_0x24092c[_0x587b41(0x2f0)])??!0x0;}[_0x164ecf(0x3c2)](_0x4f7ac9,_0x49c309){const _0x1966b6=_0x164ecf;var _0x124eec;return((_0x124eec=this['_fieldPermissions']['get'](_0x507a50(_0x4f7ac9,_0x49c309)))==null?void 0x0:_0x124eec[_0x1966b6(0x2c7)])??!0x0;}[_0x164ecf(0x1fb)](_0x4ca384){const _0xa4f70c=_0x164ecf;var _0x190589;return((_0x190589=this[_0xa4f70c(0x183)][_0xa4f70c(0x3e9)](_0x4ca384))==null?void 0x0:_0x190589[_0xa4f70c(0x1e1)])??!0x0;}[_0x164ecf(0x1a9)](_0x3d5e22,_0x3d3105){const _0x6503ff=_0x164ecf;var _0x356389;return((_0x356389=this[_0x6503ff(0x470)][_0x6503ff(0x3e9)](_0x13be2b(_0x3d5e22,_0x3d3105)))==null?void 0x0:_0x356389[_0x6503ff(0x2c7)])??!0x0;}[_0x164ecf(0x399)](_0x573283,_0x481bf6,_0x2ae695){const _0x483208=_0x164ecf;var _0x176699;let _0x52cdcd=this[_0x483208(0x27a)][_0x483208(0x3e9)](_0x507a50(_0x573283,_0x2ae695));return(((_0x176699=this[_0x483208(0x470)][_0x483208(0x3e9)](_0x13be2b(_0x573283,_0x481bf6)))==null?void 0x0:_0x176699[_0x483208(0x424)])??!0x0)&&((_0x52cdcd==null?void 0x0:_0x52cdcd[_0x483208(0x2f0)])??!0x0)&&((_0x52cdcd==null?void 0x0:_0x52cdcd[_0x483208(0x424)])??!0x0);}['canManageView'](_0x12d3d9){const _0x24f10c=_0x164ecf;var _0x21d099;return((_0x21d099=this['_tablePermissions'][_0x24f10c(0x3e9)](_0x12d3d9))==null?void 0x0:_0x21d099['manageView'])??!0x0;}[_0x164ecf(0x45b)](_0x1d97af,_0x23150a){const _0x2906c4=_0x164ecf;this[_0x2906c4(0x32a)][_0x2906c4(0x25a)](_0x1d97af,{...this[_0x2906c4(0x32a)][_0x2906c4(0x3e9)](_0x1d97af),..._0x23150a});}[_0x164ecf(0x326)](_0x15c17f,_0x28b412){const _0x5f5116=_0x164ecf;this[_0x5f5116(0x183)][_0x5f5116(0x25a)](_0x15c17f,{...this[_0x5f5116(0x183)][_0x5f5116(0x3e9)](_0x15c17f),..._0x28b412});}['setFieldPermission'](_0x47fd54,_0x333308,_0x3a1a6c){const _0x4bb590=_0x164ecf;let _0x5e133b=_0x507a50(_0x47fd54,_0x333308);this[_0x4bb590(0x27a)]['set'](_0x5e133b,{...this[_0x4bb590(0x27a)][_0x4bb590(0x3e9)](_0x5e133b),..._0x3a1a6c});}[_0x164ecf(0x26b)](_0x63ecba,_0x516bac,_0x35eae9){const _0x466ef6=_0x164ecf;let _0x3dd4cc=_0x13be2b(_0x63ecba,_0x516bac);this[_0x466ef6(0x470)][_0x466ef6(0x25a)](_0x3dd4cc,{...this[_0x466ef6(0x470)]['get'](_0x3dd4cc),..._0x35eae9});}[_0x164ecf(0x4d5)](_0x1b1cbe){const _0x221cd5=_0x164ecf;this[_0x221cd5(0x32a)][_0x221cd5(0x2c7)](_0x1b1cbe);}[_0x164ecf(0x488)](_0x31e077){const _0x5dc0f5=_0x164ecf;this[_0x5dc0f5(0x183)][_0x5dc0f5(0x2c7)](_0x31e077);}[_0x164ecf(0x423)](_0x38916f,_0x59c676){const _0x3982a1=_0x164ecf;this['_fieldPermissions'][_0x3982a1(0x2c7)](_0x507a50(_0x38916f,_0x59c676));}[_0x164ecf(0x44d)](_0x56a8c9,_0x1386b3){this['_recordPermissions']['delete'](_0x13be2b(_0x56a8c9,_0x1386b3));}[_0x164ecf(0x293)](){const _0x212ff4=_0x164ecf;return{'bases':Object['fromEntries'](this[_0x212ff4(0x32a)]),'tables':Object['fromEntries'](this[_0x212ff4(0x183)]),'fields':Object['fromEntries'](this[_0x212ff4(0x27a)]),'records':Object[_0x212ff4(0x224)](this[_0x212ff4(0x470)])};}};function _0x507a50(_0x7aada5,_0x1f5ce0){return _0x7aada5+'\x1f'+_0x1f5ce0;}function _0x13be2b(_0x51adb4,_0x244b9b){return _0x51adb4+'\x1f'+_0x244b9b;}function _0x891af9(_0x20ee4e,_0x4dda41){return function(_0x34cca0,_0x2c49a0){_0x4dda41(_0x34cca0,_0x2c49a0,_0x20ee4e);};}function _0x12cf0c(_0x2131b3,_0x359f8e,_0x38b764,_0x718d47){const _0x148b77=_0x164ecf;var _0x12505e=arguments['length'],_0x53e508=_0x12505e<0x3?_0x359f8e:_0x718d47===null?_0x718d47=Object[_0x148b77(0x188)](_0x359f8e,_0x38b764):_0x718d47,_0x151474;if(typeof Reflect==_0x148b77(0x42c)&&typeof Reflect[_0x148b77(0x467)]==_0x148b77(0x32b))_0x53e508=Reflect[_0x148b77(0x467)](_0x2131b3,_0x359f8e,_0x38b764,_0x718d47);else{for(var _0x21a817=_0x2131b3[_0x148b77(0x13b)]-0x1;_0x21a817>=0x0;_0x21a817--)(_0x151474=_0x2131b3[_0x21a817])&&(_0x53e508=(_0x12505e<0x3?_0x151474(_0x53e508):_0x12505e>0x3?_0x151474(_0x359f8e,_0x38b764,_0x53e508):_0x151474(_0x359f8e,_0x38b764))||_0x53e508);}return _0x12505e>0x3&&_0x53e508&&Object['defineProperty'](_0x359f8e,_0x38b764,_0x53e508),_0x53e508;}let _0x1e9ebe=(0x0,_0x9b4f24['createIdentifier'])(_0x164ecf(0x372)),_0x32a405=class{constructor(_0x3970e4,_0x528e40=_0x56b3e8(),_0x2fa459={}){const _0x460d39=_0x164ecf;this[_0x460d39(0x1cd)]=_0x3970e4,this[_0x460d39(0x47e)]=_0x528e40,this['_runtimeContext']=_0x2fa459,_0x1fa697(this,_0x460d39(0x444),new _0x1b7d14()),_0x1fa697(this,_0x460d39(0x17b),new _0x1f3607());}[_0x164ecf(0x2ad)](_0x297649,_0x4ecac4,_0x443ce6){const _0x4fcc4c=_0x164ecf;if(!this[_0x4fcc4c(0x1cd)][_0x4fcc4c(0x4a5)](_0x297649[_0x4fcc4c(0x368)]()))throw Error('[BaseCommandService]:\x20cannot\x20create\x20table.');(0x0,_0x9b4f24[_0x4fcc4c(0x2dc)])(_0x4ecac4),this['_apply'](_0x297649,this[_0x4fcc4c(0x444)][_0x4fcc4c(0x2ad)](_0x297649[_0x4fcc4c(0x293)](),_0x4ecac4,_0x443ce6));}[_0x164ecf(0x30d)](_0x29ce70,_0x5af2cb,_0xf3ee72){const _0x5dd6a7=_0x164ecf;this['_apply'](_0x29ce70,this[_0x5dd6a7(0x444)]['renameTable'](_0x29ce70[_0x5dd6a7(0x293)](),_0x5af2cb,_0xf3ee72));}[_0x164ecf(0x37f)](_0x2d1096,_0x174afb){const _0x241319=_0x164ecf;if(!this['_permissionService'][_0x241319(0x4c7)](_0x174afb))throw Error(_0x241319(0x45a));let _0x5d8084=_0x220b8a(_0x2d1096[_0x241319(0x293)](),_0x174afb);if(_0x5d8084['length']>0x0)throw Error(_0x241319(0x22f)+_0x5d8084[_0x241319(0x2a7)](_0x2d7bdd=>_0x2d7bdd['tableId']+'.'+_0x2d7bdd['fieldId'])['join'](',\x20')+').');this[_0x241319(0x3fb)](_0x2d1096,this[_0x241319(0x444)]['deleteTable'](_0x2d1096[_0x241319(0x293)](),_0x174afb));}[_0x164ecf(0x2fa)](_0x537286,_0x1739c9,_0x4ebc8a,_0x379768,_0x181898){const _0x115928=_0x164ecf;this[_0x115928(0x3fb)](_0x537286,this[_0x115928(0x433)](_0x537286,_0x1739c9,_0x4ebc8a,_0x379768,_0x181898));}[_0x164ecf(0x23e)](_0x3b93e4,_0x3d0388,_0x43c1bb){this['_apply'](_0x3b93e4,this['createSetRecordValuesOp'](_0x3b93e4,_0x3d0388,_0x43c1bb));}['createRecord'](_0x17258f,_0x2eb2a3,_0x3bbe8d){const _0x2ff642=_0x164ecf;this[_0x2ff642(0x3fb)](_0x17258f,this['createCreateRecordOp'](_0x17258f,_0x2eb2a3,_0x3bbe8d));}[_0x164ecf(0x433)](_0x4651ea,_0x72f1e4,_0x502583,_0x5c8332,_0xac3297){const _0x5bad1b=_0x164ecf;let _0x162150=_0x4651ea['getSnapshot'](),_0x58d89d=this['_normalizeCellValue'](_0x162150,_0x72f1e4,_0x502583,_0x5c8332,_0xac3297),_0x1dc2fd=this['_withModifiedSystemValues'](_0x162150,_0x72f1e4,_0x502583,{[_0x5c8332]:_0x58d89d});return this[_0x5bad1b(0x444)][_0x5bad1b(0x23e)](_0x162150,_0x72f1e4,[_0x1dc2fd]);}[_0x164ecf(0x210)](_0x19a70e,_0x5c193b,_0x55c0e7){const _0x46dbd6=_0x164ecf;let _0x59bed0=_0x19a70e[_0x46dbd6(0x293)](),_0x424797=_0x55c0e7[_0x46dbd6(0x2a7)](_0x5ce140=>this[_0x46dbd6(0x1ca)](_0x59bed0,_0x5c193b,_0x5ce140[_0x46dbd6(0x1d9)],{...Object['fromEntries'](Object['entries'](_0x5ce140[_0x46dbd6(0x10a)])[_0x46dbd6(0x2a7)](([_0x5664bc,_0x400998])=>[_0x5664bc,this[_0x46dbd6(0x269)](_0x59bed0,_0x5c193b,_0x5ce140[_0x46dbd6(0x1d9)],_0x5664bc,_0x400998)]))}));return this[_0x46dbd6(0x444)][_0x46dbd6(0x23e)](_0x59bed0,_0x5c193b,_0x424797);}[_0x164ecf(0x16d)](_0x2c0029,_0x423506,_0xc4e22c){const _0x4f4143=_0x164ecf;if(!this[_0x4f4143(0x1cd)][_0x4f4143(0x1fb)](_0x423506))throw Error(_0x4f4143(0x351));let _0x2fdd1c=_0x2c0029['getSnapshot'](),_0x275d7e=this[_0x4f4143(0x4d6)](_0x2fdd1c[_0x4f4143(0x4cb)][_0x423506]);return this[_0x4f4143(0x444)]['createRecord'](_0x2fdd1c,_0x423506,this[_0x4f4143(0x349)](_0x2fdd1c,_0x423506,_0xc4e22c,_0x275d7e));}['createBatchCreateRecordsOp'](_0x149227,_0x8189d2,_0x4d8147){const _0x32ac4b=_0x164ecf;if(!this[_0x32ac4b(0x1cd)][_0x32ac4b(0x1fb)](_0x8189d2))throw Error(_0x32ac4b(0x351));let _0xdca5fb=_0x149227[_0x32ac4b(0x293)]();return _0x3022ee(_0x32ac4b(0x1e0),()=>{const _0x12034e=_0x32ac4b;let _0x5d1791=this[_0x12034e(0x4d6)](_0xdca5fb[_0x12034e(0x4cb)][_0x8189d2]);return this[_0x12034e(0x444)][_0x12034e(0x4cd)](_0xdca5fb,_0x8189d2,_0x4d8147[_0x12034e(0x2a7)](_0x536105=>this[_0x12034e(0x349)](_0xdca5fb,_0x8189d2,_0x536105,_0x5d1791)));},{'existingRecords':Object[_0x32ac4b(0x1fe)](_0xdca5fb[_0x32ac4b(0x4cb)][_0x8189d2][_0x32ac4b(0x312)])[_0x32ac4b(0x13b)],'records':_0x4d8147[_0x32ac4b(0x13b)]});}[_0x164ecf(0x384)](_0x140b4a,_0x2bbfd8,_0x18b3d1,_0x1efc8b,_0x1cd5ab){const _0x4ce654=_0x164ecf;if(!this[_0x4ce654(0x1cd)][_0x4ce654(0x29f)](_0x2bbfd8))throw Error(_0x4ce654(0x495));let _0x5db0d0=_0x140b4a['getSnapshot']();if(this[_0x4ce654(0xf6)](_0x5db0d0,_0x18b3d1),_0x1efc8b===0x0)throw Error('[BaseCommandService]:\x20cannot\x20insert\x20a\x20field\x20before\x20record-id.');let _0x2d24c1=this[_0x4ce654(0x444)]['createField'](_0x5db0d0,_0x2bbfd8,{'field':_0x18b3d1,'index':_0x1efc8b,'viewIndexes':_0x1cd5ab}),_0x4d8b18=this[_0x4ce654(0x37a)](_0x5db0d0,_0x2bbfd8,_0x18b3d1);if(!_0x4d8b18[_0x4ce654(0x13b)])return _0x2d24c1;let _0x1633cd=this[_0x4ce654(0x17b)]['applyOp'](_0x5db0d0,_0x2d24c1);return _0x4fd831([_0x2d24c1,this[_0x4ce654(0x444)][_0x4ce654(0x23e)](_0x1633cd,_0x2bbfd8,_0x4d8b18)]);}[_0x164ecf(0x2c9)](_0x53c10f,_0xe32e33,_0x98b188){const _0x311d72=_0x164ecf;if(!this[_0x311d72(0x1cd)][_0x311d72(0x1a9)](_0xe32e33,_0x98b188))throw Error(_0x311d72(0x386));this[_0x311d72(0x3fb)](_0x53c10f,this[_0x311d72(0x444)]['deleteRecord'](_0x53c10f[_0x311d72(0x293)](),_0xe32e33,_0x98b188));}['duplicateRecord'](_0x55b72a,_0x874f92,_0x9d948d,_0x19b0f6){const _0x5d5916=_0x164ecf;this[_0x5d5916(0x3fb)](_0x55b72a,this[_0x5d5916(0x444)]['duplicateRecord'](_0x55b72a[_0x5d5916(0x293)](),_0x874f92,_0x9d948d,{..._0x19b0f6,'values':{..._0x19b0f6[_0x5d5916(0x10a)],[_0x9b4f24[_0x5d5916(0x2c4)]]:_0x19b0f6['id']}}));}['updateRecordOrder'](_0x521c4d,_0x2b90bf,_0x4259f5,_0x2c0829){const _0x233e64=_0x164ecf;this[_0x233e64(0x3fb)](_0x521c4d,this['_factory'][_0x233e64(0x265)](_0x521c4d[_0x233e64(0x293)](),_0x2b90bf,_0x4259f5,_0x2c0829));}['createField'](_0x3084d8,_0x310ae4,_0x2585df,_0x32c5d9,_0x599c7b){const _0x4d46b9=_0x164ecf;this[_0x4d46b9(0x3fb)](_0x3084d8,this[_0x4d46b9(0x384)](_0x3084d8,_0x310ae4,_0x2585df,_0x32c5d9,_0x599c7b));}[_0x164ecf(0x228)](_0xffb573,_0x236e0a,_0x58440b,_0xe7b246){const _0x252ad5=_0x164ecf;var _0x3243ce;if(!this[_0x252ad5(0x1cd)]['canEditField'](_0x236e0a,_0x58440b))throw Error(_0x252ad5(0x190));let _0x51cf4f=_0xffb573[_0x252ad5(0x293)](),_0xcaa35c=(_0x3243ce=_0x51cf4f[_0x252ad5(0x4cb)][_0x236e0a])==null?void 0x0:_0x3243ce[_0x252ad5(0x43b)][_0x58440b];if(!_0xcaa35c||_0x58440b===_0x9b4f24[_0x252ad5(0x2c4)])throw Error('[BaseCommandService]:\x20cannot\x20edit\x20record-id.');this[_0x252ad5(0xf6)](_0x51cf4f,{..._0xcaa35c,..._0xe7b246}),this['_apply'](_0xffb573,this[_0x252ad5(0x444)][_0x252ad5(0x228)](_0x51cf4f,_0x236e0a,_0x58440b,_0xe7b246));}[_0x164ecf(0x4b2)](_0x381be5,_0x402fe7,_0x268da7,_0x2b14f0){const _0x2f9168=_0x164ecf;var _0x49e9be;if(!this[_0x2f9168(0x1cd)]['canEditField'](_0x402fe7,_0x268da7))throw Error(_0x2f9168(0x190));let _0x14ec74=_0x381be5[_0x2f9168(0x293)](),_0x57bd0f=(_0x49e9be=_0x14ec74[_0x2f9168(0x4cb)][_0x402fe7])==null?void 0x0:_0x49e9be[_0x2f9168(0x43b)][_0x268da7];if(!_0x57bd0f||_0x268da7===_0x9b4f24[_0x2f9168(0x2c4)])throw Error(_0x2f9168(0x3d2));this[_0x2f9168(0xf6)](_0x14ec74,{..._0x57bd0f,..._0x2b14f0}),this[_0x2f9168(0x3fb)](_0x381be5,this[_0x2f9168(0x444)][_0x2f9168(0x4b2)](_0x14ec74,_0x402fe7,_0x268da7,_0x2b14f0));}[_0x164ecf(0x31d)](_0x5e328c,_0x370d89,_0x3a51f4){const _0x2c8b5c=_0x164ecf;var _0x477161;if(((_0x477161=_0x5e328c[_0x2c8b5c(0x293)]()[_0x2c8b5c(0x4cb)][_0x370d89])==null?void 0x0:_0x477161[_0x2c8b5c(0x302)])===_0x3a51f4||_0x3a51f4===_0x9b4f24[_0x2c8b5c(0x2c4)])throw Error(_0x2c8b5c(0x44c));if(!this['_permissionService'][_0x2c8b5c(0x3c2)](_0x370d89,_0x3a51f4))throw Error(_0x2c8b5c(0x435));this['_apply'](_0x5e328c,this[_0x2c8b5c(0x444)][_0x2c8b5c(0x31d)](_0x5e328c[_0x2c8b5c(0x293)](),_0x370d89,_0x3a51f4));}[_0x164ecf(0x31f)](_0x45e4e4,_0x4f39ff,_0x5a4869,_0x327c77){const _0x2f21e1=_0x164ecf;if(!this[_0x2f21e1(0x1cd)][_0x2f21e1(0x417)](_0x4f39ff,_0x5a4869))throw Error(_0x2f21e1(0x190));if(_0x5a4869===_0x9b4f24[_0x2f21e1(0x2c4)]||_0x327c77[_0x2f21e1(0x249)]===_0x9b4f24[_0x2f21e1(0x2c4)])throw Error(_0x2f21e1(0x258));this[_0x2f21e1(0x3fb)](_0x45e4e4,this[_0x2f21e1(0x444)]['moveField'](_0x45e4e4[_0x2f21e1(0x293)](),_0x4f39ff,_0x5a4869,_0x327c77));}[_0x164ecf(0x20f)](_0x5360fc,_0x559ea6,_0x3a011d,_0x5a8a08){const _0x53601c=_0x164ecf;this[_0x53601c(0x3fb)](_0x5360fc,this[_0x53601c(0x444)][_0x53601c(0x20f)](_0x5360fc[_0x53601c(0x293)](),_0x559ea6,_0x3a011d,_0x5a8a08));}[_0x164ecf(0xff)](_0xa6b993,_0x4ca1e4,_0x5956e4,_0x2a6064){const _0x21e5a7=_0x164ecf;if(!this[_0x21e5a7(0x1cd)][_0x21e5a7(0x244)](_0x4ca1e4,_0x5956e4))throw Error(_0x21e5a7(0x12b));this[_0x21e5a7(0x3fb)](_0xa6b993,this[_0x21e5a7(0x444)]['renameView'](_0xa6b993['getSnapshot'](),_0x4ca1e4,_0x5956e4,_0x2a6064));}[_0x164ecf(0x1a3)](_0x24a3c2,_0x558ea8,_0x1c6aec){const _0x3f3c7b=_0x164ecf;if(!this['_permissionService'][_0x3f3c7b(0x244)](_0x558ea8,_0x1c6aec))throw Error('[BaseCommandService]:\x20cannot\x20manage\x20view.');this[_0x3f3c7b(0x3fb)](_0x24a3c2,this[_0x3f3c7b(0x444)][_0x3f3c7b(0x1a3)](_0x24a3c2['getSnapshot'](),_0x558ea8,_0x1c6aec));}[_0x164ecf(0x157)](_0x28a5ef,_0x406856,_0x169c3b,_0xf06948){const _0x1a4eee=_0x164ecf;if(!this[_0x1a4eee(0x1cd)][_0x1a4eee(0x244)](_0x406856,_0x169c3b))throw Error(_0x1a4eee(0x12b));this['_apply'](_0x28a5ef,this[_0x1a4eee(0x444)][_0x1a4eee(0x157)](_0x28a5ef[_0x1a4eee(0x293)](),_0x406856,_0x169c3b,_0xf06948));}[_0x164ecf(0x319)](_0x5c8d80,_0xa461b2,_0x2f4828,_0x501898){const _0x27fa2e=_0x164ecf;if(!this[_0x27fa2e(0x1cd)][_0x27fa2e(0x244)](_0xa461b2,_0x2f4828))throw Error(_0x27fa2e(0x12b));this[_0x27fa2e(0x3fb)](_0x5c8d80,this[_0x27fa2e(0x444)][_0x27fa2e(0x319)](_0x5c8d80['getSnapshot'](),_0xa461b2,_0x2f4828,_0x501898));}[_0x164ecf(0x160)](_0x6780e5,_0x4c31c0,_0x3fceae,_0x4882c6){const _0x424eed=_0x164ecf;this[_0x424eed(0x3fb)](_0x6780e5,this['_factory'][_0x424eed(0x160)](_0x6780e5[_0x424eed(0x293)](),_0x4c31c0,_0x3fceae,_0x4882c6));}[_0x164ecf(0x165)](_0x4b90e6,_0x313110,_0x2b0f77,_0x40d075){const _0x3b5d83=_0x164ecf;this[_0x3b5d83(0x3fb)](_0x4b90e6,this['_factory'][_0x3b5d83(0x165)](_0x4b90e6['getSnapshot'](),_0x313110,_0x2b0f77,_0x40d075));}[_0x164ecf(0x20a)](_0x401ac5,_0x263b98,_0x1457ad,_0x244628){const _0xfccee4=_0x164ecf;this[_0xfccee4(0x3fb)](_0x401ac5,this['_factory'][_0xfccee4(0x20a)](_0x401ac5[_0xfccee4(0x293)](),_0x263b98,_0x1457ad,_0x244628));}['setViewFieldVisible'](_0x396506,_0x179774,_0x40fbb6,_0x1b3c49,_0x2e3afd){const _0x942511=_0x164ecf;if(!this[_0x942511(0x1cd)][_0x942511(0x244)](_0x179774,_0x40fbb6))throw Error(_0x942511(0x12b));this[_0x942511(0x3fb)](_0x396506,this[_0x942511(0x444)][_0x942511(0x289)](_0x396506[_0x942511(0x293)](),_0x179774,_0x40fbb6,_0x1b3c49,_0x2e3afd));}['setViewFieldWidth'](_0x164f4c,_0x8bcec0,_0x38a230,_0x3496c5,_0x2b4b23){const _0x1cfcb1=_0x164ecf;this[_0x1cfcb1(0x3fb)](_0x164f4c,this[_0x1cfcb1(0x444)][_0x1cfcb1(0x14b)](_0x164f4c['getSnapshot'](),_0x8bcec0,_0x38a230,_0x3496c5,_0x2b4b23));}[_0x164ecf(0x1b4)](_0x30b94b,_0x26500b,_0xc6c2e7,_0x14387c,_0x2f2d77){const _0x288263=_0x164ecf;this[_0x288263(0x3fb)](_0x30b94b,this[_0x288263(0x444)][_0x288263(0x1b4)](_0x30b94b[_0x288263(0x293)](),_0x26500b,_0xc6c2e7,_0x14387c,_0x2f2d77));}[_0x164ecf(0x3fb)](_0x5e0355,_0x1753c2){const _0x5472c3=_0x164ecf;let _0x11317e=_0x5e0355['getSnapshot']();_0x5e0355['setSnapshot'](this[_0x5472c3(0x17b)]['applyOp'](_0x11317e,_0x1753c2));}[_0x164ecf(0x349)](_0x13510c,_0x3227e0,_0x3617db,_0x20a603=this[_0x164ecf(0x4d6)](_0x13510c[_0x164ecf(0x4cb)][_0x3227e0])){const _0xa5a106=_0x164ecf;let _0x52d68b=_0x13510c[_0xa5a106(0x4cb)][_0x3227e0],_0x322d41=_0x3617db[_0xa5a106(0x121)]??_0x3617db[_0xa5a106(0x3e7)]??this[_0xa5a106(0x292)](),_0x11b9e6={..._0x3617db,'createdBy':_0x3617db['createdBy']??_0x322d41,'updatedBy':_0x3617db['updatedBy']??_0x322d41,'values':{..._0x3617db[_0xa5a106(0x10a)]}};return _0x11b9e6[_0xa5a106(0x10a)][_0x9b4f24[_0xa5a106(0x2c4)]]=_0x11b9e6['id'],_0x52d68b[_0xa5a106(0x30b)][_0xa5a106(0x49e)](_0x2f0906=>{const _0x87e3da=_0xa5a106;let _0x3b8e07=_0x52d68b['fields'][_0x2f0906];if(!(!_0x3b8e07||_0x11b9e6['values'][_0x2f0906]!==void 0x0))switch(_0x3b8e07[_0x87e3da(0x132)]){case _0x9b4f24[_0x87e3da(0x3bc)][_0x87e3da(0x166)]:var _0x2f4c6d;_0x11b9e6[_0x87e3da(0x10a)][_0x2f0906]=((_0x2f4c6d=_0x20a603[_0x87e3da(0x3e9)](_0x2f0906))==null?void 0x0:_0x2f4c6d())??this[_0x87e3da(0xf3)](_0x52d68b,_0x2f0906)();break;case _0x9b4f24['BaseFieldType']['CreatedBy']:_0x11b9e6[_0x87e3da(0x121)]&&(_0x11b9e6[_0x87e3da(0x10a)][_0x2f0906]=_0x11b9e6['createdBy']);break;case _0x9b4f24[_0x87e3da(0x3bc)]['UpdatedBy']:_0x11b9e6[_0x87e3da(0x3e7)]&&(_0x11b9e6[_0x87e3da(0x10a)][_0x2f0906]=_0x11b9e6[_0x87e3da(0x3e7)]);break;case _0x9b4f24[_0x87e3da(0x3bc)][_0x87e3da(0x346)]:_0x11b9e6[_0x87e3da(0x10a)][_0x2f0906]=_0x5f1ca7(_0x11b9e6[_0x87e3da(0x14f)]);break;case _0x9b4f24['BaseFieldType'][_0x87e3da(0x380)]:_0x11b9e6[_0x87e3da(0x10a)][_0x2f0906]=_0x5f1ca7(_0x11b9e6['updatedAt']);break;default:{let _0x42d6b2=_0x3b8e07['defaultValue'];_0x42d6b2!=null&&_0x42d6b2!==''&&!(Array[_0x87e3da(0x32e)](_0x42d6b2)&&_0x42d6b2[_0x87e3da(0x13b)]===0x0)&&(_0x11b9e6[_0x87e3da(0x10a)][_0x2f0906]=_0x42d6b2);}}}),_0x11b9e6;}[_0x164ecf(0x1ca)](_0x54326b,_0x5b79e4,_0x4038dd,_0x3e0dc3){const _0x5db039=_0x164ecf;var _0x593a3a,_0x36c95c;let _0x5750d6=_0x54326b[_0x5db039(0x4cb)][_0x5b79e4],_0x50a63f=((_0x593a3a=(_0x36c95c=this['_runtimeContext'])[_0x5db039(0x1e5)])==null?void 0x0:_0x593a3a['call'](_0x36c95c))??Date[_0x5db039(0x1e5)](),_0x5258c8=this[_0x5db039(0x292)](),_0x2aafa5={..._0x3e0dc3};return _0x5750d6[_0x5db039(0x30b)][_0x5db039(0x49e)](_0x2688f4=>{const _0x31b40f=_0x5db039;let _0xe90b65=_0x5750d6[_0x31b40f(0x43b)][_0x2688f4];_0xe90b65&&(_0xe90b65[_0x31b40f(0x132)]===_0x9b4f24['BaseFieldType']['UpdatedAt']&&(_0x2aafa5[_0x2688f4]=_0x5f1ca7(_0x50a63f)),_0xe90b65[_0x31b40f(0x132)]===_0x9b4f24['BaseFieldType'][_0x31b40f(0x2d8)]&&_0x5258c8&&(_0x2aafa5[_0x2688f4]=_0x5258c8));}),{'recordId':_0x4038dd,'values':_0x2aafa5,'recordPatch':{'updatedAt':_0x50a63f,..._0x5258c8?{'updatedBy':_0x5258c8}:{}}};}['_createSystemFieldValuePatches'](_0x1b2c16,_0x289a42,_0x3628ea){const _0x57e1a6=_0x164ecf;let _0x17633e=_0x1b2c16[_0x57e1a6(0x4cb)][_0x289a42];return!_0x17633e||!_0x50982c(_0x3628ea)?[]:_0x3628ea[_0x57e1a6(0x132)]===_0x9b4f24['BaseFieldType'][_0x57e1a6(0x166)]?this[_0x57e1a6(0x1d5)](_0x17633e,_0x3628ea['id']):Object[_0x57e1a6(0x10a)](_0x17633e['records'])['flatMap'](_0x5b0a2a=>{const _0x434d14=_0x57e1a6;let _0x33c316=this[_0x434d14(0x4b0)](_0x3628ea,_0x5b0a2a);return _0x33c316===void 0x0?[]:[{'recordId':_0x5b0a2a['id'],'values':{[_0x3628ea['id']]:_0x33c316}}];});}[_0x164ecf(0x4b0)](_0x2243b8,_0x312bbf){const _0x4e3d73=_0x164ecf;switch(_0x2243b8[_0x4e3d73(0x132)]){case _0x9b4f24[_0x4e3d73(0x3bc)][_0x4e3d73(0x177)]:return _0x312bbf[_0x4e3d73(0x121)]??this[_0x4e3d73(0x292)]();case _0x9b4f24['BaseFieldType'][_0x4e3d73(0x2d8)]:return _0x312bbf[_0x4e3d73(0x3e7)]??this[_0x4e3d73(0x292)]();case _0x9b4f24['BaseFieldType'][_0x4e3d73(0x346)]:return _0x5f1ca7(_0x312bbf[_0x4e3d73(0x14f)]??Date['now']());case _0x9b4f24[_0x4e3d73(0x3bc)][_0x4e3d73(0x380)]:return _0x5f1ca7(_0x312bbf['updatedAt']??Date[_0x4e3d73(0x1e5)]());default:return;}}['_createNumberingAllocators'](_0x395c43){const _0x44b0a1=_0x164ecf;let _0x3ca7af=new Map();return _0x395c43&&_0x395c43[_0x44b0a1(0x30b)][_0x44b0a1(0x49e)](_0x188238=>{const _0x53b2d7=_0x44b0a1;let _0x515663=_0x395c43['fields'][_0x188238];(_0x515663==null?void 0x0:_0x515663['type'])===_0x9b4f24[_0x53b2d7(0x3bc)][_0x53b2d7(0x166)]&&_0x3ca7af[_0x53b2d7(0x25a)](_0x188238,this['_createNumberingAllocator'](_0x395c43,_0x188238));}),_0x3ca7af;}[_0x164ecf(0xf3)](_0x2ba9f0,_0x511fae){const _0x5e68f6=_0x164ecf;let _0x426695=Object[_0x5e68f6(0x10a)](_0x2ba9f0[_0x5e68f6(0x312)])['reduce']((_0x839de1,_0x56c945)=>{const _0x2535e3=_0x5e68f6;let _0x28d912=Number(_0x56c945[_0x2535e3(0x10a)][_0x511fae]);return Number[_0x2535e3(0x4a1)](_0x28d912)?Math['max'](_0x839de1,_0x28d912):_0x839de1;},0x0);return()=>String(++_0x426695);}[_0x164ecf(0x1d5)](_0xe452d6,_0x24ce95){const _0x13681a=_0x164ecf;let _0x2bde6f=this[_0x13681a(0x1fd)](_0xe452d6),_0x39308e=this['_createNumberingAllocator'](_0xe452d6,_0x24ce95);return _0x2bde6f[_0x13681a(0x17e)](_0x332b10=>this[_0x13681a(0x30f)](_0x332b10[_0x13681a(0x10a)][_0x24ce95])?[]:[{'recordId':_0x332b10['id'],'values':{[_0x24ce95]:_0x39308e()}}]);}['_getOrderedRecords'](_0x1d577a){const _0x18eab6=_0x164ecf;var _0x3535e2;let _0x73160f=Object['values'](_0x1d577a['records']),_0x2a4a8c=new Map(_0x73160f[_0x18eab6(0x2a7)](_0x33c5b5=>[_0x33c5b5['id'],_0x33c5b5])),_0xd24525=[],_0x4bc134=new Set();(_0x3535e2=_0x1d577a[_0x18eab6(0x411)])==null||_0x3535e2[_0x18eab6(0x49e)](_0x43448e=>{const _0x11993c=_0x18eab6;let _0x2d9346=_0x2a4a8c[_0x11993c(0x3e9)](_0x43448e);_0x2d9346&&(_0xd24525['push'](_0x2d9346),_0x4bc134[_0x11993c(0x134)](_0x43448e));});let _0x2c9a05=_0x73160f['filter'](_0x21ddc=>!_0x4bc134[_0x18eab6(0x1df)](_0x21ddc['id']))[_0x18eab6(0x281)]((_0x47f912,_0x3aa702)=>String(_0x47f912['orderKey']??_0x47f912['id'])['localeCompare'](String(_0x3aa702[_0x18eab6(0x1ac)]??_0x3aa702['id']))||_0x47f912['id'][_0x18eab6(0x2c6)](_0x3aa702['id']));return[..._0xd24525,..._0x2c9a05];}[_0x164ecf(0x30f)](_0x1cf284){const _0x195f07=_0x164ecf;return _0x1cf284!=null&&_0x1cf284!==''&&!(Array[_0x195f07(0x32e)](_0x1cf284)&&_0x1cf284[_0x195f07(0x13b)]===0x0);}[_0x164ecf(0x292)](){const _0x24476d=_0x164ecf;var _0x100493,_0x2c8c33,_0x168a46,_0x3ecb76;return((_0x100493=(_0x2c8c33=this['_runtimeContext'])[_0x24476d(0x1b6)])==null?void 0x0:_0x100493['call'](_0x2c8c33))??((_0x168a46=(_0x3ecb76=this[_0x24476d(0x2c0)])[_0x24476d(0x42e)])==null||(_0x168a46=_0x168a46['call'](_0x3ecb76))==null?void 0x0:_0x168a46[_0x24476d(0x473)])??void 0x0;}[_0x164ecf(0x269)](_0x99111c,_0x5597ac,_0x59fb0c,_0x5db2ad,_0x5b2d58){const _0x52728d=_0x164ecf;var _0x36b1fb;if(!this[_0x52728d(0x1cd)][_0x52728d(0x399)](_0x5597ac,_0x59fb0c,_0x5db2ad))throw Error(_0x52728d(0x12d));let _0xfccd2c=(_0x36b1fb=_0x99111c[_0x52728d(0x4cb)][_0x5597ac])==null?void 0x0:_0x36b1fb['fields'][_0x5db2ad];if(!_0xfccd2c)throw Error(_0x52728d(0x31b)+_0x5db2ad+_0x52728d(0x21a));let _0x5850b9=this[_0x52728d(0x47e)]['get'](_0xfccd2c[_0x52728d(0x132)]);if(_0xfccd2c[_0x52728d(0x462)]||_0xfccd2c[_0x52728d(0x187)]||!_0x5850b9['getCapabilities'](_0xfccd2c)[_0x52728d(0x3dd)])throw Error(_0x52728d(0x24b));let _0x45409d=_0x5850b9[_0x52728d(0x471)](_0x5b2d58,_0xfccd2c),_0x9cbeae=_0x5850b9['validate'](_0x45409d,_0xfccd2c);if(!_0x9cbeae[_0x52728d(0x1ae)])throw Error(_0x9cbeae[_0x52728d(0x167)]??_0x52728d(0x3a3));let _0x44fbd1=_0xfccd2c[_0x52728d(0x132)]===_0x9b4f24[_0x52728d(0x3bc)][_0x52728d(0x226)]?_0x4cc18c(_0x99111c,_0xfccd2c,_0x45409d):{'valid':!0x0};if(!_0x44fbd1[_0x52728d(0x1ae)])throw Error(_0x44fbd1[_0x52728d(0x167)]??_0x52728d(0x397));return _0x45409d;}[_0x164ecf(0xf6)](_0x35c21a,_0x2dc723){const _0x2dc419=_0x164ecf;if(_0x2dc723['id']===_0x9b4f24[_0x2dc419(0x2c4)]||_0x2dc723[_0x2dc419(0x132)]===_0x9b4f24['BaseFieldType'][_0x2dc419(0x111)]||(0x0,_0x9b4f24[_0x2dc419(0x450)])(_0x2dc723[_0x2dc419(0x267)]))throw Error(_0x2dc419(0x405));let _0x185b3d=_0x13d5f8(_0x35c21a,_0x2dc723);if(!_0x185b3d[_0x2dc419(0x1ae)])throw Error(_0x185b3d[_0x2dc419(0x167)]??_0x2dc419(0x477));}};_0x32a405=_0x12cf0c([_0x891af9(0x0,_0x2bc2dc),_0x891af9(0x1,_0x258447)],_0x32a405);function _0x56b3e8(){const _0x1898dd=_0x164ecf;let _0x168839=new _0x111b3e();return _0x4b43b7()[_0x1898dd(0x49e)](_0x350283=>_0x168839[_0x1898dd(0x39f)](_0x350283)),_0x168839;}function _0x50982c(_0x1e8982){const _0x5207c2=_0x164ecf;return _0x1e8982['type']===_0x9b4f24[_0x5207c2(0x3bc)][_0x5207c2(0x166)]||_0x1e8982[_0x5207c2(0x132)]===_0x9b4f24[_0x5207c2(0x3bc)][_0x5207c2(0x177)]||_0x1e8982['type']===_0x9b4f24[_0x5207c2(0x3bc)][_0x5207c2(0x2d8)]||_0x1e8982[_0x5207c2(0x132)]===_0x9b4f24[_0x5207c2(0x3bc)][_0x5207c2(0x346)]||_0x1e8982[_0x5207c2(0x132)]===_0x9b4f24[_0x5207c2(0x3bc)][_0x5207c2(0x380)];}let _0x225044=new Set([_0x9b4f24['BaseFieldType'][_0x164ecf(0x327)],_0x9b4f24[_0x164ecf(0x3bc)][_0x164ecf(0x38c)],_0x9b4f24[_0x164ecf(0x3bc)][_0x164ecf(0x1f2)]]);function _0x4426cd(_0x49fdaa){const _0x218640=_0x164ecf;let _0x6932a7=_0x49fdaa[_0x218640(0x43b)][_0x49fdaa['primaryFieldId']];if(!(_0x6932a7&&(_0x6932a7[_0x218640(0x187)]===!0x0||_0x6932a7['id'][_0x218640(0x3b3)]()==='id'||_0x6932a7['name'][_0x218640(0x276)]()[_0x218640(0x3b3)]()==='id'))&&_0x6932a7)return _0x6932a7['id'];for(let _0x2e4d19 of _0x49fdaa['fieldOrder']){let _0x5c8545=_0x49fdaa['fields'][_0x2e4d19];if(_0x5c8545&&_0x5c8545['id']!==_0x49fdaa[_0x218640(0x302)]&&_0x5c8545['system']!==!0x0&&_0x5c8545[_0x218640(0x132)]!==_0x9b4f24[_0x218640(0x3bc)][_0x218640(0x111)])return _0x5c8545['id'];}return _0x49fdaa[_0x218640(0x302)];}function _0x21728b(_0x14cdb0,_0x485eed=[],_0x2bcc5e=0x5){const _0x124c18=_0x164ecf;let _0x1bda58=new Set(_0x485eed[_0x124c18(0x41f)](_0x300ea4=>!!_0x300ea4)),_0x3e39e2=[],_0x2f0b33=[];for(let _0x40d4ed of _0x14cdb0[_0x124c18(0x30b)]){let _0x2fc909=_0x14cdb0[_0x124c18(0x43b)][_0x40d4ed];_0x2fc909&&_0x2fc909[_0x124c18(0x187)]!==!0x0&&_0x2fc909[_0x124c18(0x132)]!==_0x9b4f24[_0x124c18(0x3bc)][_0x124c18(0x111)]&&!_0x1bda58[_0x124c18(0x1df)](_0x2fc909['id'])&&(_0x225044['has'](_0x2fc909['type'])?_0x3e39e2:_0x2f0b33)[_0x124c18(0x4bf)](_0x2fc909['id']);}return[..._0x3e39e2,..._0x2f0b33][_0x124c18(0x475)](0x0,_0x2bcc5e);}function _0x2c9e99(){const _0x306778=_0x164ecf;return[{'type':_0x9b4f24[_0x306778(0x4c3)][_0x306778(0xfc)],'i18nKey':_0x306778(0x445),'createDefaultConfig':()=>({}),'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x2dbfba=_0x306778;throw Error(_0x2dbfba(0x361));}},{'type':_0x9b4f24[_0x306778(0x4c3)]['Kanban'],'i18nKey':_0x306778(0x469),'createDefaultConfig':_0x57e5b5=>{const _0x1cf156=_0x306778;let _0x565d77=_0x3a276e(_0x57e5b5);return{'groupFieldId':_0x565d77,'coverFieldId':null,'cardLayout':_0x1cf156(0x394),'showFieldNames':!0x0,'fieldSettings':{},'columnSettings':{},'card':{'titleFieldId':_0x57e5b5[_0x1cf156(0x302)],'fieldIds':_0x21728b(_0x57e5b5,[_0x57e5b5['primaryFieldId'],_0x565d77])}};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{throw Error('Kanban\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.');}},{'type':_0x9b4f24[_0x306778(0x4c3)]['Calendar'],'i18nKey':_0x306778(0x1af),'createDefaultConfig':_0x5bda48=>{const _0x3a03b5=_0x306778;let _0x48b256=_0x4c03cd(_0x5bda48);return{'startDateFieldId':_0x48b256,'endDateFieldId':_0x42f768(_0x5bda48,_0x48b256),'titleFieldId':_0x5bda48[_0x3a03b5(0x302)],'mode':_0x3a03b5(0x486),'timeslotSize':_0x3a03b5(0x14c),'timeZone':_0x3a03b5(0x107),'displayColor':{'type':_0x3a03b5(0x45f),'color':'#3b82f6'},'fieldSettings':{}};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0xfe49de=_0x306778;throw Error(_0xfe49de(0x4a6));}},{'type':_0x9b4f24['BaseViewType'][_0x306778(0x2ae)],'i18nKey':'base.viewType.gantt','createDefaultConfig':_0x1ae83c=>{const _0x20b155=_0x306778;let _0x2ec985=_0x4c03cd(_0x1ae83c);return{'startDateFieldId':_0x2ec985,'endDateFieldId':_0x42f768(_0x1ae83c,_0x2ec985)??_0x2ec985,'titleFieldId':_0x1ae83c[_0x20b155(0x302)],'scale':_0x20b155(0x486),'showTodayLine':!0x0,'displayColor':{'type':_0x20b155(0x45f),'color':'#14b8a6'},'fieldSettings':{},'workingDaysOnly':!0x1};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{throw Error('Gantt\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.');}},{'type':_0x9b4f24[_0x306778(0x4c3)][_0x306778(0x3fc)],'i18nKey':_0x306778(0x330),'createDefaultConfig':_0x468d86=>{const _0x3334b7=_0x306778;let _0x4c68c3=_0x4426cd(_0x468d86);return{'coverFieldId':null,'cardLayout':'normal','showFieldNames':!0x0,'fieldSettings':{},'card':{'titleFieldId':_0x4c68c3,'coverFieldId':null,'fieldIds':_0x21728b(_0x468d86,[_0x4c68c3,_0x468d86[_0x3334b7(0x302)]])},'cardSize':_0x3334b7(0x14c)};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x429243=_0x306778;throw Error(_0x429243(0x437));}}];}function _0x3a276e(_0x3b4065){const _0x385c14=_0x164ecf;var _0x56e105,_0x5bf812,_0x434258;let _0x1cd1ab=_0x3b4065['fieldOrder'][_0x385c14(0x2a7)](_0x7bed7d=>_0x3b4065[_0x385c14(0x43b)][_0x7bed7d])[_0x385c14(0x41f)](_0x195cbd=>!!_0x195cbd);return((_0x56e105=_0x1cd1ab[_0x385c14(0x396)](_0x51415=>_0x51415[_0x385c14(0x132)]===_0x9b4f24[_0x385c14(0x3bc)][_0x385c14(0x378)]||_0x51415[_0x385c14(0x132)]===_0x9b4f24[_0x385c14(0x3bc)]['MultiSelect']||_0x51415[_0x385c14(0x132)]===_0x9b4f24[_0x385c14(0x3bc)][_0x385c14(0x101)]))==null?void 0x0:_0x56e105['id'])??((_0x5bf812=_0x1cd1ab[_0x385c14(0x396)](_0x3e5698=>_0x3e5698['type']===_0x9b4f24['BaseFieldType'][_0x385c14(0x10b)]))==null?void 0x0:_0x5bf812['id'])??((_0x434258=_0x1cd1ab[_0x385c14(0x396)](_0x1476a4=>_0x1476a4[_0x385c14(0x132)]===_0x9b4f24[_0x385c14(0x3bc)][_0x385c14(0x442)]||_0x1476a4[_0x385c14(0x132)]===_0x9b4f24[_0x385c14(0x3bc)][_0x385c14(0x346)]||_0x1476a4[_0x385c14(0x132)]===_0x9b4f24[_0x385c14(0x3bc)][_0x385c14(0x380)]))==null?void 0x0:_0x434258['id'])??_0x3b4065[_0x385c14(0x302)];}function _0x4c03cd(_0x435be0){const _0x394a95=_0x164ecf;var _0x1a9145;return((_0x1a9145=_0x435be0['fieldOrder'][_0x394a95(0x2a7)](_0xbdabae=>_0x435be0[_0x394a95(0x43b)][_0xbdabae])['find'](_0x28fa37))==null?void 0x0:_0x1a9145['id'])??'';}function _0x42f768(_0x2551cd,_0x4bf249){const _0x53d913=_0x164ecf;var _0x54deb6;return(_0x54deb6=_0x2551cd['fieldOrder'][_0x53d913(0x2a7)](_0x5715bf=>_0x2551cd[_0x53d913(0x43b)][_0x5715bf])[_0x53d913(0x396)](_0x5f4268=>_0x28fa37(_0x5f4268)&&_0x5f4268['id']!==_0x4bf249))==null?void 0x0:_0x54deb6['id'];}function _0x28fa37(_0x567f94){const _0x428387=_0x164ecf;return!!_0x567f94&&_0x567f94[_0x428387(0x132)]===_0x9b4f24['BaseFieldType']['Date']&&_0x567f94['readonly']!==!0x0&&_0x567f94['system']!==!0x0;}let _0x369d05=(0x0,_0x9b4f24[_0x164ecf(0x206)])('base.projection.service'),_0x145cf2=new Set([_0x9b4f24['BaseFieldType'][_0x164ecf(0x44e)],_0x9b4f24[_0x164ecf(0x3bc)][_0x164ecf(0x2fe)],_0x9b4f24[_0x164ecf(0x3bc)][_0x164ecf(0x327)],_0x9b4f24[_0x164ecf(0x3bc)][_0x164ecf(0x38c)],_0x9b4f24[_0x164ecf(0x3bc)]['Date'],_0x9b4f24['BaseFieldType']['CreatedAt'],_0x9b4f24['BaseFieldType'][_0x164ecf(0x380)],_0x9b4f24[_0x164ecf(0x3bc)][_0x164ecf(0x1f2)]]),_0x419b34=class extends _0x9b4f24[_0x164ecf(0x2b0)]{constructor(_0xb770a8){const _0x3cbe37=_0x164ecf;super(),this[_0x3cbe37(0x47e)]=_0xb770a8,_0x1fa697(this,_0x3cbe37(0x2f5),new Map()),_0x1fa697(this,_0x3cbe37(0x1c8),new WeakMap()),_0x1fa697(this,'_projectedRowsCache',new Map()),_0x1fa697(this,_0x3cbe37(0x198),new Map()),_0x1fa697(this,_0x3cbe37(0x27c),new Map()),_0x1fa697(this,_0x3cbe37(0x298),new Map()),_0x1fa697(this,_0x3cbe37(0x29e),0x0),_0x1fa697(this,_0x3cbe37(0x46f),new Map()),_0x1fa697(this,_0x3cbe37(0x4bc),new Map()),_0x1fa697(this,_0x3cbe37(0x1e9),new Map()),_0x1fa697(this,_0x3cbe37(0x38b),new Map());}[_0x164ecf(0x441)](_0x481a99){const _0x25c3c0=_0x164ecf;return this[_0x25c3c0(0x2f5)]['set'](_0x481a99['type'],_0x481a99),(0x0,_0x9b4f24[_0x25c3c0(0x17d)])(()=>this[_0x25c3c0(0x2f5)][_0x25c3c0(0x2c7)](_0x481a99[_0x25c3c0(0x132)]));}['getProjection'](_0x377496,_0x387ac0,_0x56d9b5){const _0xdfedb3=_0x164ecf;var _0x17dd50,_0x43ce77,_0x1e83a6;return _0x3022ee(_0xdfedb3(0x26f),()=>{const _0x5d7ac0=_0xdfedb3;let _0x3b6226=this[_0x5d7ac0(0x4a0)](_0x377496,_0x387ac0,_0x56d9b5);if(_0x3b6226)return _0x3b6226;let _0x572b98=_0x377496[_0x5d7ac0(0x4cb)][_0x387ac0],_0x289559=_0x572b98==null?void 0x0:_0x572b98[_0x5d7ac0(0x339)][_0x56d9b5];if(!_0x572b98||!_0x289559)return this[_0x5d7ac0(0x115)](_0x377496,_0x387ac0,_0x56d9b5,{'type':_0x5d7ac0(0x422),'viewType':(_0x289559==null?void 0x0:_0x289559[_0x5d7ac0(0x132)])??_0x9b4f24['BaseViewType'][_0x5d7ac0(0xfc)],'reason':_0x5d7ac0(0x4a7)});let _0x4d1537;switch(_0x289559[_0x5d7ac0(0x132)]){case _0x9b4f24[_0x5d7ac0(0x4c3)][_0x5d7ac0(0xfc)]:_0x4d1537=this[_0x5d7ac0(0x448)](_0x572b98,_0x289559);break;case _0x9b4f24[_0x5d7ac0(0x4c3)][_0x5d7ac0(0x2ae)]:_0x4d1537=this['_buildGantt'](_0x572b98,_0x289559);break;case _0x9b4f24[_0x5d7ac0(0x4c3)][_0x5d7ac0(0x345)]:_0x4d1537=this['_buildKanban'](_0x572b98,_0x289559);break;case _0x9b4f24['BaseViewType']['Calendar']:_0x4d1537=this[_0x5d7ac0(0x264)](_0x572b98,_0x289559);break;case _0x9b4f24[_0x5d7ac0(0x4c3)][_0x5d7ac0(0x3fc)]:_0x4d1537=this[_0x5d7ac0(0x2e7)](_0x572b98,_0x289559);break;default:_0x4d1537={'type':_0x5d7ac0(0x422),'viewType':_0x289559[_0x5d7ac0(0x132)],'reason':'missingField'};}return this[_0x5d7ac0(0x115)](_0x377496,_0x387ac0,_0x56d9b5,_0x4d1537);},{'tableId':_0x387ac0,'viewId':_0x56d9b5,'viewType':(_0x17dd50=_0x377496[_0xdfedb3(0x4cb)][_0x387ac0])==null||(_0x17dd50=_0x17dd50[_0xdfedb3(0x339)][_0x56d9b5])==null?void 0x0:_0x17dd50[_0xdfedb3(0x132)],'records':((_0x43ce77=_0x377496[_0xdfedb3(0x4cb)][_0x387ac0])==null||(_0x43ce77=_0x43ce77[_0xdfedb3(0x411)])==null?void 0x0:_0x43ce77[_0xdfedb3(0x13b)])??Object[_0xdfedb3(0x1fe)](((_0x1e83a6=_0x377496[_0xdfedb3(0x4cb)][_0x387ac0])==null?void 0x0:_0x1e83a6[_0xdfedb3(0x312)])??{})['length']});}[_0x164ecf(0x429)](_0x4ab0d3,_0x5058f2,_0xed7a3d){const _0x334e5f=_0x164ecf;var _0x142d39,_0x372e6a,_0x3cfbfb;let _0x1d9c25=_0x4ab0d3[_0x334e5f(0x4cb)][_0x5058f2],_0x5a95db=_0x1d9c25==null?void 0x0:_0x1d9c25[_0x334e5f(0x339)][_0xed7a3d];if(!_0x1d9c25||!_0x5a95db)throw Error('[BaseProjectionService]:\x20missing\x20view\x20\x22'+_0xed7a3d+'\x22.');let _0x56c8bf=_0x31cae8=>!!_0x1d9c25[_0x334e5f(0x43b)][_0x31cae8],_0x39fcde={..._0x5a95db,'filter':_0x5a95db['filter']?{..._0x5a95db[_0x334e5f(0x41f)],'conditions':_0x5a95db['filter'][_0x334e5f(0x2e0)][_0x334e5f(0x41f)](_0x5baff8=>_0x56c8bf(_0x5baff8[_0x334e5f(0x195)]))}:_0x5a95db[_0x334e5f(0x41f)],'sort':(_0x142d39=_0x5a95db[_0x334e5f(0x281)])==null?void 0x0:_0x142d39['filter'](_0x2b45d0=>_0x56c8bf(_0x2b45d0[_0x334e5f(0x195)])),'group':(_0x372e6a=_0x5a95db[_0x334e5f(0x332)])==null?void 0x0:_0x372e6a[_0x334e5f(0x41f)](_0x25f31e=>_0x56c8bf(_0x25f31e[_0x334e5f(0x195)])),'fieldOrder':(_0x3cfbfb=_0x5a95db[_0x334e5f(0x30b)])==null?void 0x0:_0x3cfbfb[_0x334e5f(0x41f)](_0x56c8bf),'fieldSettings':Object['fromEntries'](Object[_0x334e5f(0x489)](_0x5a95db[_0x334e5f(0x156)]??{})[_0x334e5f(0x41f)](([_0x1bdb7d])=>_0x56c8bf(_0x1bdb7d)))};if(_0x39fcde['type']===_0x334e5f(0x3d7)){var _0x32b14d;let _0x1f2e2a=_0x39fcde[_0x334e5f(0x19f)]??{},_0x18c707=this[_0x334e5f(0x1d2)](_0x1d9c25,_0x39fcde),_0x236f94=this['_resolveCardTitleFieldId'](_0x1d9c25,(_0x32b14d=_0x1f2e2a[_0x334e5f(0x218)])==null?void 0x0:_0x32b14d['titleFieldId']);_0x39fcde[_0x334e5f(0x19f)]={..._0x1f2e2a,'groupFieldId':_0x18c707??_0x1f2e2a[_0x334e5f(0x370)],'coverFieldId':this[_0x334e5f(0x140)](_0x1d9c25,_0x1f2e2a),'cardLayout':_0x1f2e2a[_0x334e5f(0x271)]===_0x334e5f(0x17f)?_0x334e5f(0x17f):_0x334e5f(0x394),'showFieldNames':_0x1f2e2a[_0x334e5f(0x425)]!==!0x1,'fieldSettings':Object['fromEntries'](Object[_0x334e5f(0x489)](_0x1f2e2a[_0x334e5f(0x156)]??{})[_0x334e5f(0x41f)](([_0x29e2a1])=>_0x56c8bf(_0x29e2a1))),'columnSettings':_0x1f2e2a[_0x334e5f(0x324)]??{},'card':{..._0x1f2e2a['card']??{},'titleFieldId':_0x236f94,'fieldIds':this['_resolveKanbanCardFieldIds'](_0x1d9c25,_0x39fcde,_0x18c707??'',_0x236f94)}};}return{'repaired':JSON['stringify'](_0x39fcde)!==JSON['stringify'](_0x5a95db),'view':_0x39fcde};}[_0x164ecf(0x36f)](){this['_globalRevision']++;}[_0x164ecf(0x141)](_0x3798e1,_0x292a96,_0x333c9a){const _0x1d7845=_0x164ecf;let _0x2a5067=this[_0x1d7845(0x3c3)](_0x3798e1)+0x1;this[_0x1d7845(0x4bc)][_0x1d7845(0x25a)](_0x3798e1,_0x2a5067);let _0x16c59f=this[_0x1d7845(0x1e9)][_0x1d7845(0x3e9)](_0x3798e1)??[];_0x16c59f['push']({'revision':_0x2a5067,'recordId':_0x292a96,'fieldId':_0x333c9a}),this['_cellInvalidations'][_0x1d7845(0x25a)](_0x3798e1,_0x16c59f);}[_0x164ecf(0x1ef)](_0x17e02c,_0x10f2e9){const _0x40f473=_0x164ecf;this[_0x40f473(0x4a9)](_0x17e02c);}[_0x164ecf(0x29c)](_0x110548,_0x897f33){const _0x199daa=_0x164ecf;this[_0x199daa(0x38b)][_0x199daa(0x25a)](this[_0x199daa(0x47d)](_0x110548,_0x897f33),this[_0x199daa(0x1b7)](_0x110548,_0x897f33)+0x1);}[_0x164ecf(0x4a0)](_0x5b275d,_0x189e01,_0x4316b3){const _0x348305=_0x164ecf;var _0x28f3a0;let _0x35b9b7=(_0x28f3a0=this[_0x348305(0x1c8)][_0x348305(0x3e9)](_0x5b275d))==null?void 0x0:_0x28f3a0[_0x348305(0x3e9)](this[_0x348305(0x41b)](_0x189e01,_0x4316b3));return _0x35b9b7&&_0x35b9b7[_0x348305(0x1dc)]===this[_0x348305(0x29e)]&&_0x35b9b7[_0x348305(0x242)]===this[_0x348305(0x220)](_0x189e01)&&_0x35b9b7[_0x348305(0x344)]===this['_getCellRevision'](_0x189e01)&&_0x35b9b7[_0x348305(0x2ab)]===this[_0x348305(0x1b7)](_0x189e01,_0x4316b3)?_0x35b9b7[_0x348305(0x4b3)]:null;}[_0x164ecf(0x115)](_0x310f3c,_0x1b607c,_0x18c310,_0x31200a){const _0x5c5ab4=_0x164ecf;let _0x2b7686=this['_projectionCache'][_0x5c5ab4(0x3e9)](_0x310f3c);return _0x2b7686||(_0x2b7686=new Map(),this['_projectionCache'][_0x5c5ab4(0x25a)](_0x310f3c,_0x2b7686)),_0x2b7686[_0x5c5ab4(0x25a)](this['_cacheKey'](_0x1b607c,_0x18c310),{'projection':_0x31200a,'globalRevision':this[_0x5c5ab4(0x29e)],'tableRevision':this['_getTableRevision'](_0x1b607c),'cellRevision':this[_0x5c5ab4(0x3c3)](_0x1b607c),'viewRevision':this['_getViewRevision'](_0x1b607c,_0x18c310)}),_0x31200a;}['_bumpTableRevision'](_0xcaf1ee){const _0x2158de=_0x164ecf;this[_0x2158de(0x46f)]['set'](_0xcaf1ee,this[_0x2158de(0x220)](_0xcaf1ee)+0x1);}[_0x164ecf(0x220)](_0x4e9965){const _0x50ac5e=_0x164ecf;return this[_0x50ac5e(0x46f)][_0x50ac5e(0x3e9)](_0x4e9965)??0x0;}[_0x164ecf(0x3c3)](_0x930ab6){const _0x6c9d31=_0x164ecf;return this[_0x6c9d31(0x4bc)][_0x6c9d31(0x3e9)](_0x930ab6)??0x0;}[_0x164ecf(0x1b7)](_0x13fd62,_0x1cd74b){return this['_viewRevisions']['get'](this['_viewRevisionKey'](_0x13fd62,_0x1cd74b))??0x0;}[_0x164ecf(0x41b)](_0x116d6a,_0x23cb5f){return _0x116d6a+'\x00'+_0x23cb5f;}['_viewRowsCacheKey'](_0x432029,_0x4cd7fb){const _0x18b528=_0x164ecf;return _0x432029+'\x00'+this[_0x18b528(0x2cc)](_0x4cd7fb);}['_groupsCacheKey'](_0x4cc6b0,_0x59014c,_0x35cc66){const _0x126550=_0x164ecf;return _0x4cc6b0+'\x00'+this[_0x126550(0x2cc)](_0x59014c)+'\x00'+this[_0x126550(0x24a)](_0x35cc66);}[_0x164ecf(0x2cc)](_0x1bee6b){const _0x5eb8e2=_0x164ecf;return _0x1bee6b?_0x30cfcf({'filter':_0x28c2ce(_0x1bee6b['filter']),'sort':_0x4b6acf(_0x1bee6b[_0x5eb8e2(0x281)])}):_0x5eb8e2(0x2e3);}[_0x164ecf(0x24a)](_0x56470){const _0x40da26=_0x164ecf;return _0x30cfcf(_0x56470['map'](_0x850adb=>({'fieldId':_0x850adb[_0x40da26(0x195)],'direction':_0x850adb[_0x40da26(0x366)]??null})));}[_0x164ecf(0x47d)](_0x48f2b9,_0x451cd4){return _0x48f2b9+'\x00'+_0x451cd4;}['_buildGrid'](_0x591b4e,_0x292214){const _0x233554=_0x164ecf;var _0x572fd1;let _0x5e9d32=_0x2e350d(_0x591b4e),_0x5be030=this[_0x233554(0x382)](_0x591b4e,_0x292214),_0x2d91d8=(_0x572fd1=_0x292214['filter'])!=null&&_0x572fd1[_0x233554(0x2e0)][_0x233554(0x13b)]?this[_0x233554(0x382)](_0x591b4e,{..._0x292214,'filter':null}):_0x5be030,_0x1b7065=_0x2eda9a(this[_0x233554(0x1b1)](_0x591b4e,_0x5e9d32,_0x292214['id'],_0x2d91d8[_0x233554(0x2a7)](_0xadcf58=>_0xadcf58[_0x233554(0x1d9)])),_0x2d91d8,new Set(_0x5be030['map'](_0x3d3aed=>_0x3d3aed[_0x233554(0x1d9)])));return{'type':_0x9b4f24['BaseViewType']['Grid'],'fields':this[_0x233554(0x38d)](_0x591b4e,_0x292214),'rows':_0x1b7065['rows'],'groups':this['_projectHierarchyGroups'](_0x591b4e,_0x292214,_0x1b7065['rows'],_0x1b7065[_0x233554(0x13e)]),'hierarchy':_0x1b7065[_0x233554(0x13e)],'frozenFieldCount':typeof _0x292214['config'][_0x233554(0x2db)]==_0x233554(0x1a8)?_0x292214[_0x233554(0x19f)]['frozenFieldCount']:0x0};}[_0x164ecf(0x1b1)](_0x550197,_0x2fb7f2,_0x526938,_0x297bb2){const _0x17fa87=_0x164ecf;let _0x5e4d8b=_0x550197['id']+'\x00'+_0x2fb7f2+'\x00'+_0x526938,_0x5e5904=this[_0x17fa87(0x3c3)](_0x550197['id']),_0x666a72=this[_0x17fa87(0x298)][_0x17fa87(0x3e9)](_0x5e4d8b);if(_0x666a72&&_0x666a72[_0x17fa87(0x1dc)]===this[_0x17fa87(0x29e)]&&_0x666a72['tableRevision']===this[_0x17fa87(0x220)](_0x550197['id'])){if(_0x666a72[_0x17fa87(0x344)]===_0x5e5904&&_0x666a72[_0x17fa87(0xfe)]===_0x550197)return _0x666a72['index'];if(!this['_cellInvalidationsTouchFields'](_0x550197['id'],_0x666a72['cellRevision'],_0x5e5904,new Set([_0x2fb7f2])))return this[_0x17fa87(0x298)]['set'](_0x5e4d8b,{..._0x666a72,'table':_0x550197,'cellRevision':_0x5e5904}),_0x666a72[_0x17fa87(0x2d4)];}let _0x342de6=_0x32c245(_0x550197,_0x2fb7f2,_0x297bb2);return this[_0x17fa87(0x298)][_0x17fa87(0x25a)](_0x5e4d8b,{'table':_0x550197,'index':_0x342de6,'globalRevision':this[_0x17fa87(0x29e)],'tableRevision':this[_0x17fa87(0x220)](_0x550197['id']),'cellRevision':_0x5e5904}),_0x342de6;}[_0x164ecf(0x496)](_0x5eecec,_0x7170be,_0x182332,_0x17805c){const _0x9b221f=_0x164ecf;var _0x16fc70;if(!((_0x16fc70=_0x7170be['group'])!=null&&_0x16fc70[_0x9b221f(0x13b)]))return[];let _0x7eb22a=new Map(_0x182332[_0x9b221f(0x2a7)](_0xd5c5a8=>[_0xd5c5a8[_0x9b221f(0x1d9)],_0xd5c5a8])),_0x1bafcf=_0x17805c[_0x9b221f(0x404)][_0x9b221f(0x17e)](_0x104573=>{const _0x1d4af6=_0x9b221f;let _0x3d725a=_0x7eb22a[_0x1d4af6(0x3e9)](_0x104573);return _0x3d725a?[_0x3d725a]:[];}),_0x93f47d=this[_0x9b221f(0x131)](_0x5eecec,_0x7170be,_0x1bafcf),_0x53fd41=new Map(_0x17805c[_0x9b221f(0x395)][_0x9b221f(0x2a7)]((_0x2bd358,_0x125066)=>[_0x2bd358,_0x125066])),_0x8116f7=_0x37b677=>{const _0x37f7da=_0x9b221f;let _0x3062ad=_0x17805c[_0x37f7da(0x3ec)][_0x37b677],_0x5ea767=_0x53fd41['get'](_0x37b677)??-0x1;return _0x5ea767<0x0||!_0x3062ad?[]:_0x17805c[_0x37f7da(0x395)]['slice'](_0x5ea767,_0x3062ad[_0x37f7da(0x18d)]+0x1);},_0x51b314=_0x2abff0=>{const _0x14d0a3=_0x9b221f;var _0x1432bb,_0x5996bb;return{..._0x2abff0,'recordIds':(_0x1432bb=_0x2abff0['children'])!=null&&_0x1432bb[_0x14d0a3(0x13b)]?_0x2abff0[_0x14d0a3(0x453)]:_0x2abff0[_0x14d0a3(0x453)][_0x14d0a3(0x17e)](_0x8116f7),'children':(_0x5996bb=_0x2abff0[_0x14d0a3(0x46d)])==null?void 0x0:_0x5996bb['map'](_0x51b314)};};return _0x93f47d[_0x9b221f(0x2a7)](_0x51b314);}[_0x164ecf(0x1c2)](_0x1805f7,_0x5c3f84){const _0xf9fec1=_0x164ecf;var _0x22c032;let _0x2e24a9=this[_0xf9fec1(0x1d2)](_0x1805f7,_0x5c3f84),_0x434157=_0x2e24a9?_0x1805f7['fields'][_0x2e24a9]:void 0x0;if(!_0x434157)return{'type':_0xf9fec1(0x422),'viewType':_0x9b4f24[_0xf9fec1(0x4c3)][_0xf9fec1(0x345)],'reason':_0xf9fec1(0x1ab),'fieldId':_0x5c3f84[_0xf9fec1(0x19f)]['groupFieldId']};let _0x1ab745=this[_0xf9fec1(0x382)](_0x1805f7,_0x5c3f84),_0x53660e=this[_0xf9fec1(0x38d)](_0x1805f7,_0x5c3f84),_0x55eae7=_0x5c3f84[_0xf9fec1(0x19f)]??{},_0x316005=this[_0xf9fec1(0x130)](_0x1805f7,(_0x22c032=_0x55eae7['card'])==null?void 0x0:_0x22c032['titleFieldId']),_0x5431e8=this[_0xf9fec1(0x19e)](_0x1805f7,_0x5c3f84,_0x434157['id'],_0x316005),_0x2e5369=new Map();if(_0x12230b(_0x1805f7,_0x434157['id'])){let _0x2bc0f1=this[_0xf9fec1(0x1b1)](_0x1805f7,_0x434157['id'],_0x5c3f84['id'],_0x1ab745[_0xf9fec1(0x2a7)](_0x806d8c=>_0x806d8c[_0xf9fec1(0x1d9)])),_0x492fb5=new Map();return _0x1ab745[_0xf9fec1(0x49e)](_0x2ac629=>{const _0x455d3b=_0xf9fec1;let _0x5c5c26=_0x2bc0f1[_0x455d3b(0x3ff)]['get'](_0x2ac629[_0x455d3b(0x1d9)])??null,_0x180af3=_0x5c5c26??'',_0x1f92f8=_0x5c5c26?_0x1805f7[_0x455d3b(0x312)][_0x5c5c26]:void 0x0,_0xbd3d22=_0x492fb5[_0x455d3b(0x3e9)](_0x180af3)??{'key':_0x180af3,'title':_0x1f92f8?String(_0x1b74a9(_0x1805f7,_0x1f92f8['id'],_0x1805f7[_0x455d3b(0x302)])??_0x5c5c26):this['_kanbanLaneTitle'](_0x434157,_0x180af3,_0x55eae7),'recordIds':[]};_0xbd3d22['recordIds'][_0x455d3b(0x4bf)](_0x2ac629[_0x455d3b(0x1d9)]),_0x492fb5[_0x455d3b(0x25a)](_0x180af3,_0xbd3d22);}),{'type':_0x9b4f24[_0xf9fec1(0x4c3)][_0xf9fec1(0x345)],'fields':_0x53660e,'rows':_0x1ab745,'groups':[],'groupFieldId':_0x434157['id'],'titleFieldId':_0x316005,'coverFieldId':this[_0xf9fec1(0x140)](_0x1805f7,_0x55eae7),'cardLayout':_0x55eae7[_0xf9fec1(0x271)]===_0xf9fec1(0x17f)?_0xf9fec1(0x17f):'normal','showFieldNames':_0x55eae7['showFieldNames']!==!0x1,'visibleCardFieldIds':_0x5431e8,'lanes':['',..._0x2bc0f1[_0xf9fec1(0x395)]][_0xf9fec1(0x17e)](_0x562b5d=>{const _0x3c4c00=_0xf9fec1;let _0x393870=_0x492fb5['get'](_0x562b5d);return _0x393870!=null&&_0x393870[_0x3c4c00(0x453)][_0x3c4c00(0x13b)]?[_0x393870]:[];})};}return this['_getKanbanConfiguredLanes'](_0x434157,_0x55eae7)['forEach'](_0x3a946f=>_0x2e5369[_0xf9fec1(0x25a)](_0x3a946f[_0xf9fec1(0x1a1)],{..._0x3a946f,'recordIds':[]})),_0x1ab745[_0xf9fec1(0x49e)](_0x490213=>{const _0x5afc4f=_0xf9fec1;this[_0x5afc4f(0x171)](_0x434157,_0x490213['values'][_0x434157['id']])[_0x5afc4f(0x49e)](_0x11c771=>{const _0x103be0=_0x5afc4f;let _0x8f32aa=_0x2e5369[_0x103be0(0x3e9)](_0x11c771)??{'key':_0x11c771,'title':this['_kanbanLaneTitle'](_0x434157,_0x11c771,_0x55eae7),'color':this[_0x103be0(0x1c5)](_0x434157,_0x11c771,_0x55eae7),'recordIds':[]};_0x8f32aa[_0x103be0(0x453)][_0x103be0(0x4bf)](_0x490213[_0x103be0(0x1d9)]),_0x2e5369['set'](_0x11c771,_0x8f32aa);});}),{'type':_0x9b4f24[_0xf9fec1(0x4c3)]['Kanban'],'fields':_0x53660e,'rows':_0x1ab745,'groups':this[_0xf9fec1(0x131)](_0x1805f7,_0x5c3f84,_0x1ab745),'groupFieldId':_0x434157['id'],'titleFieldId':_0x316005,'coverFieldId':this[_0xf9fec1(0x140)](_0x1805f7,_0x55eae7),'cardLayout':_0x55eae7[_0xf9fec1(0x271)]===_0xf9fec1(0x17f)?'compose':'normal','showFieldNames':_0x55eae7[_0xf9fec1(0x425)]!==!0x1,'visibleCardFieldIds':_0x5431e8,'lanes':Array[_0xf9fec1(0x338)](_0x2e5369[_0xf9fec1(0x10a)]())};}[_0x164ecf(0x1d2)](_0xfc0156,_0x403fff){const _0x24f6bf=_0x164ecf;var _0x3bd3f6;let _0x343fb7=(_0x3bd3f6=_0x403fff[_0x24f6bf(0x19f)])==null?void 0x0:_0x3bd3f6[_0x24f6bf(0x370)];return _0x343fb7&&this[_0x24f6bf(0x48e)](_0xfc0156,_0x343fb7)?_0x343fb7:this[_0x24f6bf(0x3cf)](_0xfc0156,_0xe86300=>this[_0x24f6bf(0x2ce)](_0xe86300));}[_0x164ecf(0x3cf)](_0x52c958,_0x490f8a){const _0x1bd899=_0x164ecf;for(let _0x1f6549 of _0x52c958[_0x1bd899(0x30b)]){let _0x1ce97d=_0x52c958[_0x1bd899(0x43b)][_0x1f6549];if(_0x1ce97d&&_0x490f8a(_0x1ce97d))return _0x1ce97d['id'];}return null;}['_isKanbanGroupField'](_0x56e21b,_0x3dbde4){const _0x1ac037=_0x164ecf;let _0x4bc302=_0x56e21b[_0x1ac037(0x43b)][_0x3dbde4];return this[_0x1ac037(0x2ce)](_0x4bc302)||_0x12230b(_0x56e21b,_0x3dbde4);}[_0x164ecf(0x2ce)](_0x4f45fe){const _0x3158a5=_0x164ecf;return!!_0x4f45fe&&(_0x4f45fe[_0x3158a5(0x132)]===_0x9b4f24[_0x3158a5(0x3bc)]['SingleSelect']||_0x4f45fe['type']===_0x9b4f24['BaseFieldType']['MultiSelect']||_0x4f45fe['type']===_0x9b4f24[_0x3158a5(0x3bc)]['Rating']||_0x4f45fe['type']===_0x9b4f24['BaseFieldType']['Person']||_0x4f45fe[_0x3158a5(0x132)]===_0x9b4f24[_0x3158a5(0x3bc)]['Group']||_0x4f45fe[_0x3158a5(0x132)]===_0x9b4f24[_0x3158a5(0x3bc)][_0x3158a5(0x1f2)]);}[_0x164ecf(0x4be)](_0x4169eb){const _0x177fa5=_0x164ecf;return _0x4169eb['type']===_0x9b4f24[_0x177fa5(0x3bc)][_0x177fa5(0x378)]||_0x4169eb[_0x177fa5(0x132)]===_0x9b4f24[_0x177fa5(0x3bc)][_0x177fa5(0x1be)];}[_0x164ecf(0x140)](_0x123477,_0x1d8229){const _0x1fcf85=_0x164ecf;var _0x1cea22;let _0x36d638=_0x1d8229[_0x1fcf85(0x17c)]??((_0x1cea22=_0x1d8229['card'])==null?void 0x0:_0x1cea22[_0x1fcf85(0x17c)])??null;if(!_0x36d638)return null;let _0x5e99a0=_0x123477[_0x1fcf85(0x43b)][_0x36d638];return _0x5e99a0&&this[_0x1fcf85(0x1f7)](_0x5e99a0)[_0x1fcf85(0x179)]?_0x5e99a0['id']:null;}[_0x164ecf(0x19e)](_0x149ec8,_0x3370f2,_0xf2fc94,_0x383613=this[_0x164ecf(0x130)](_0x149ec8,((()=>{const _0x116b1c=_0x164ecf;var _0x57e46f;return(_0x57e46f=_0x3370f2[_0x116b1c(0x19f)])==null||(_0x57e46f=_0x57e46f[_0x116b1c(0x218)])==null?void 0x0:_0x57e46f['titleFieldId'];})()))){const _0x28d1f6=_0x164ecf;var _0x1aa5e3;let _0x37d878=_0x3370f2[_0x28d1f6(0x19f)]??{},_0x138b72=(_0x1aa5e3=_0x37d878[_0x28d1f6(0x218)])!=null&&(_0x1aa5e3=_0x1aa5e3[_0x28d1f6(0x239)])!=null&&_0x1aa5e3[_0x28d1f6(0x13b)]?_0x37d878['card'][_0x28d1f6(0x239)]:_0x21728b(_0x149ec8,[_0x383613,_0x149ec8[_0x28d1f6(0x302)],_0xf2fc94]),_0x1ae414=_0x37d878[_0x28d1f6(0x156)]??{};return _0x138b72['filter'](_0x19f1f6=>{const _0x1b1a50=_0x28d1f6;var _0x47f911,_0x151d7b;let _0x117592=_0x149ec8[_0x1b1a50(0x43b)][_0x19f1f6];return!(!_0x117592||_0x117592[_0x1b1a50(0x187)]===!0x0||_0x117592[_0x1b1a50(0x132)]===_0x9b4f24[_0x1b1a50(0x3bc)][_0x1b1a50(0x111)]||_0x117592['id']===_0xf2fc94||_0x117592['id']===_0x383613||(_0x47f911=_0x3370f2[_0x1b1a50(0x156)])!=null&&(_0x47f911=_0x47f911[_0x19f1f6])!=null&&_0x47f911[_0x1b1a50(0x307)]||(_0x151d7b=_0x1ae414[_0x19f1f6])!=null&&_0x151d7b[_0x1b1a50(0x307)]);})['sort']((_0x45d708,_0x25dfb0)=>{const _0x45a72a=_0x28d1f6;var _0x35b6e5,_0x43e930;return(((_0x35b6e5=_0x1ae414[_0x45d708])==null?void 0x0:_0x35b6e5[_0x45a72a(0x2f2)])??_0x138b72[_0x45a72a(0x19b)](_0x45d708))-(((_0x43e930=_0x1ae414[_0x25dfb0])==null?void 0x0:_0x43e930[_0x45a72a(0x2f2)])??_0x138b72[_0x45a72a(0x19b)](_0x25dfb0));});}['_getKanbanConfiguredLanes'](_0x5452a0,_0x5cec23){const _0x397a26=_0x164ecf;var _0x152384;let _0x5dddfb=(Array['isArray']((_0x152384=_0x5452a0[_0x397a26(0x19f)])==null?void 0x0:_0x152384['options'])?_0x5452a0[_0x397a26(0x19f)][_0x397a26(0x2e8)]:[])[_0x397a26(0x17e)]((_0x590f8b,_0x619df7)=>{const _0x479b89=_0x397a26;if(_0x590f8b==null)return[];let _0x1d1524=typeof _0x590f8b=='string'?{'id':_0x590f8b,'name':_0x590f8b,'color':void 0x0}:_0x590f8b,_0x4b0f10=String(_0x1d1524['id']??_0x1d1524[_0x479b89(0x267)]??_0x479b89(0x365)+(_0x619df7+0x1));return[{'key':_0x4b0f10,'title':String(_0x1d1524[_0x479b89(0x267)]??_0x1d1524['id']??_0x4b0f10),'color':this[_0x479b89(0x1c5)](_0x5452a0,_0x4b0f10,_0x5cec23)}];});return Object[_0x397a26(0x489)](_0x5cec23[_0x397a26(0x324)]??{})[_0x397a26(0x49e)](([_0x1bb6e0,_0x4bb795])=>{const _0x1a178c=_0x397a26;_0x5dddfb[_0x1a178c(0x3ba)](_0x366d69=>_0x366d69[_0x1a178c(0x1a1)]===_0x1bb6e0)||_0x5dddfb[_0x1a178c(0x4bf)]({'key':_0x1bb6e0,'title':this[_0x1a178c(0x4be)](_0x5452a0)?_0x4bb795[_0x1a178c(0x406)]??this[_0x1a178c(0x4d0)](_0x5452a0,_0x1bb6e0,_0x5cec23):this[_0x1a178c(0x4d0)](_0x5452a0,_0x1bb6e0,_0x5cec23),'color':this[_0x1a178c(0x1c5)](_0x5452a0,_0x1bb6e0,_0x5cec23)});}),_0x5dddfb;}[_0x164ecf(0x171)](_0x4fae2c,_0x2c33a2){const _0x521127=_0x164ecf;let _0x49b438=_0x3c1f23=>{const _0x27a892=_0x17a2;var _0x42bd68;let _0x3f7137=_0x3c1f23==null?'':String(_0x3c1f23);return!_0x3f7137||!this[_0x27a892(0x4be)](_0x4fae2c)?_0x3f7137:((_0x42bd68=_0x24150d(_0x4fae2c,_0x3f7137))==null?void 0x0:_0x42bd68['id'])??_0x3f7137;};if(Array[_0x521127(0x32e)](_0x2c33a2)){let _0x3c9a16=_0x2c33a2[_0x521127(0x2a7)](_0x49b438)[_0x521127(0x41f)](_0x531064=>_0x531064!=='');return _0x3c9a16[_0x521127(0x13b)]?_0x3c9a16:[''];}return[_0x49b438(_0x2c33a2)];}[_0x164ecf(0x4d0)](_0x22636e,_0x1f5505,_0x35b393){const _0x4546b5=_0x164ecf;if(!_0x1f5505)return _0x4546b5(0x4ae);let _0x58fdee=_0x24150d(_0x22636e,_0x1f5505);return(_0x58fdee==null?void 0x0:_0x58fdee[_0x4546b5(0x267)])??_0x1f5505;}[_0x164ecf(0x1c5)](_0x30f8a1,_0x1f0d91,_0x4358c3){const _0x315bc9=_0x164ecf;var _0x16a236;if(this[_0x315bc9(0x4be)](_0x30f8a1))return(_0x16a236=_0x24150d(_0x30f8a1,_0x1f0d91))==null?void 0x0:_0x16a236[_0x315bc9(0x449)];}[_0x164ecf(0x264)](_0x49f607,_0x282ec1){const _0x12ba23=_0x164ecf;let _0x310bec=this[_0x12ba23(0x251)](_0x49f607,_0x282ec1[_0x12ba23(0x19f)]??{}),_0x6897ab=_0x49f607[_0x12ba23(0x43b)][_0x310bec[_0x12ba23(0x13a)]];if(!_0x6897ab||_0x6897ab[_0x12ba23(0x132)]!==_0x9b4f24[_0x12ba23(0x3bc)][_0x12ba23(0x442)]||_0x6897ab['readonly']===!0x0||_0x6897ab[_0x12ba23(0x187)]===!0x0||!this[_0x12ba23(0x1f7)](_0x6897ab)[_0x12ba23(0x127)])return{'type':'invalid','viewType':_0x9b4f24['BaseViewType'][_0x12ba23(0x270)],'reason':_0x12ba23(0x2fc),'fieldId':_0x310bec[_0x12ba23(0x13a)]};let _0x3f29fc=_0x310bec[_0x12ba23(0x414)]?_0x49f607[_0x12ba23(0x43b)][_0x310bec[_0x12ba23(0x414)]]:void 0x0,_0x5af5b3=this[_0x12ba23(0x382)](_0x49f607,_0x282ec1);return{'type':_0x9b4f24[_0x12ba23(0x4c3)]['Calendar'],'config':_0x310bec,'fields':this['_projectFields'](_0x49f607,_0x282ec1),'rows':_0x5af5b3,'groups':this[_0x12ba23(0x131)](_0x49f607,_0x282ec1,_0x5af5b3),'events':_0x5af5b3['flatMap'](_0x3a9d44=>{const _0x1eb0c7=_0x12ba23;let _0x2928f6=_0x22fdeb(_0x3a9d44[_0x1eb0c7(0x10a)][_0x310bec['startDateFieldId']]);if(!Number['isFinite'](_0x2928f6))return[];let _0x3df3ac=_0x3a9d44[_0x1eb0c7(0x10a)][_0x310bec[_0x1eb0c7(0x13a)]],_0x5a5816=_0x310bec['endDateFieldId']==null?void 0x0:_0x3a9d44[_0x1eb0c7(0x10a)][_0x310bec[_0x1eb0c7(0x414)]],_0x95825f=_0x310bec['endDateFieldId']==null?void 0x0:_0x22fdeb(_0x5a5816),_0x5c1587=Number[_0x1eb0c7(0x4a1)](_0x95825f)?_0x95825f:void 0x0;return[{'recordId':_0x3a9d44[_0x1eb0c7(0x1d9)],'title':this[_0x1eb0c7(0x13f)](_0x49f607,_0x3a9d44,_0x310bec[_0x1eb0c7(0x19d)]),'start':_0x2928f6,'end':_0x5c1587,'color':this['_calendarEventColor'](_0x49f607,_0x3a9d44,_0x310bec),'startMs':_0x2928f6,'endMs':_0x5c1587,'allDay':this['_isAllDayCalendarEvent'](_0x6897ab,_0x3f29fc,_0x3df3ac,_0x5a5816),'fieldValues':_0x3a9d44['values']}];})};}[_0x164ecf(0x251)](_0x213225,_0x41af69){const _0x39a50a=_0x164ecf;let _0x51b354=this[_0x39a50a(0x11b)](_0x213225,_0x41af69['startDateFieldId']),_0x1f3d6c=_0x41af69[_0x39a50a(0x414)]&&this[_0x39a50a(0x2dd)](_0x213225,_0x41af69[_0x39a50a(0x414)])?_0x41af69[_0x39a50a(0x414)]:this[_0x39a50a(0x1eb)](_0x213225,_0x51b354)??void 0x0,_0x1b1fae=_0x41af69['titleFieldId']?_0x213225[_0x39a50a(0x43b)][_0x41af69[_0x39a50a(0x19d)]]:void 0x0,_0x3f17ce=_0x1b1fae&&_0x1b1fae[_0x39a50a(0x187)]!==!0x0&&_0x1b1fae['type']!==_0x9b4f24['BaseFieldType'][_0x39a50a(0x111)]?_0x41af69['titleFieldId']:_0x213225['primaryFieldId'],_0x102a87=_0x41af69[_0x39a50a(0x47a)]===_0x39a50a(0x2bd)||_0x41af69[_0x39a50a(0x47a)]===_0x39a50a(0x35c)?_0x41af69['mode']:_0x39a50a(0x486),_0x27ab99=_0x41af69[_0x39a50a(0x3ca)]===_0x39a50a(0x146)||_0x41af69[_0x39a50a(0x3ca)]===_0x39a50a(0x3fe)?_0x41af69[_0x39a50a(0x3ca)]:_0x39a50a(0x14c),_0x2e77cc=typeof _0x41af69['timeZone']==_0x39a50a(0x1e4)&&_0x41af69['timeZone']['trim']()?_0x41af69['timeZone']:'local',_0xcb0a39=this[_0x39a50a(0x447)](_0x213225,_0x41af69);return{..._0x41af69,'startDateFieldId':_0x51b354,'endDateFieldId':_0x1f3d6c,'titleFieldId':_0x3f17ce,'mode':_0x102a87,'timeslotSize':_0x27ab99,'timeZone':_0x2e77cc,'displayColor':_0xcb0a39,'fieldSettings':Object[_0x39a50a(0x224)](Object[_0x39a50a(0x489)](_0x41af69[_0x39a50a(0x156)]??{})[_0x39a50a(0x41f)](([_0x1f28e6])=>{const _0x4ad14d=_0x39a50a;let _0x1f758a=_0x213225[_0x4ad14d(0x43b)][_0x1f28e6];return!!(_0x1f758a&&_0x1f758a[_0x4ad14d(0x187)]!==!0x0&&_0x1f758a['type']!==_0x9b4f24[_0x4ad14d(0x3bc)][_0x4ad14d(0x111)]);}))};}[_0x164ecf(0x11b)](_0x37961c,_0x328a6b){const _0x3f9b4f=_0x164ecf;return _0x328a6b&&this['_isCalendarDateField'](_0x37961c,_0x328a6b)?_0x328a6b:this[_0x3f9b4f(0x1eb)](_0x37961c)??_0x328a6b??'';}[_0x164ecf(0x1eb)](_0xd242c3,_0x3d3dbc){const _0x4cb3af=_0x164ecf;for(let _0x3be2f7 of _0xd242c3[_0x4cb3af(0x30b)])if(_0x3be2f7!==_0x3d3dbc&&this[_0x4cb3af(0x2dd)](_0xd242c3,_0x3be2f7))return _0x3be2f7;return null;}['_isCalendarDateField'](_0x33264e,_0x1d3841){const _0x288e64=_0x164ecf;let _0x5b2b6f=_0x33264e['fields'][_0x1d3841];return!!_0x5b2b6f&&_0x5b2b6f[_0x288e64(0x132)]===_0x9b4f24[_0x288e64(0x3bc)]['Date']&&_0x5b2b6f[_0x288e64(0x462)]!==!0x0&&_0x5b2b6f['system']!==!0x0&&this['_capabilities'](_0x5b2b6f)[_0x288e64(0x127)];}[_0x164ecf(0x447)](_0x4fc627,_0x525718){const _0x4061bc=_0x164ecf;let _0x4fcf91=_0x525718[_0x4061bc(0x28d)];if((_0x4fcf91==null?void 0x0:_0x4fcf91[_0x4061bc(0x132)])===_0x4061bc(0x234)){let _0x7e3a8c=_0x4fc627['fields'][_0x4fcf91[_0x4061bc(0x195)]];if(_0x7e3a8c&&_0x7e3a8c['type']===_0x9b4f24[_0x4061bc(0x3bc)][_0x4061bc(0x378)])return _0x4fcf91;}if((_0x4fcf91==null?void 0x0:_0x4fcf91[_0x4061bc(0x132)])==='custom'&&typeof _0x4fcf91[_0x4061bc(0x449)]==_0x4061bc(0x1e4)&&_0x4fcf91[_0x4061bc(0x449)][_0x4061bc(0x276)]())return{'type':_0x4061bc(0x45f),'color':_0x4fcf91[_0x4061bc(0x449)]};if(_0x525718[_0x4061bc(0x376)]){let _0x20a71e=_0x4fc627[_0x4061bc(0x43b)][_0x525718[_0x4061bc(0x376)]];if(_0x20a71e&&_0x20a71e[_0x4061bc(0x132)]===_0x9b4f24[_0x4061bc(0x3bc)][_0x4061bc(0x378)])return{'type':_0x4061bc(0x234),'fieldId':_0x525718['colorFieldId']};}return{'type':'custom','color':_0x4061bc(0x222)};}[_0x164ecf(0x116)](_0x3166e5,_0x150072,_0x55b256){const _0x1f8fec=_0x164ecf;let _0x5ce2d5=_0x55b256[_0x1f8fec(0x28d)];if((_0x5ce2d5==null?void 0x0:_0x5ce2d5[_0x1f8fec(0x132)])===_0x1f8fec(0x234)){var _0x5875a1;let _0x29219c=_0x3166e5['fields'][_0x5ce2d5[_0x1f8fec(0x195)]];if(!_0x29219c)return;let _0x196517=_0x150072[_0x1f8fec(0x10a)][_0x5ce2d5[_0x1f8fec(0x195)]],_0x8c6574=Array[_0x1f8fec(0x32e)](_0x196517)?_0x196517[0x0]:_0x196517;return _0x8c6574==null||(_0x5875a1=_0x24150d(_0x29219c,String(_0x8c6574)))==null?void 0x0:_0x5875a1[_0x1f8fec(0x449)];}if((_0x5ce2d5==null?void 0x0:_0x5ce2d5[_0x1f8fec(0x132)])==='custom')return _0x5ce2d5[_0x1f8fec(0x449)];}['_isAllDayCalendarEvent'](_0x2e7e42,_0x5b6808,_0x3ee3be,_0x33df06){const _0x4d7950=_0x164ecf;var _0x5751d2,_0x43f081;let _0x14907e=((_0x5751d2=_0x2e7e42[_0x4d7950(0x19f)])==null?void 0x0:_0x5751d2[_0x4d7950(0x3f4)])===!0x0,_0x4fd368=(_0x5b6808==null||(_0x43f081=_0x5b6808['config'])==null?void 0x0:_0x43f081[_0x4d7950(0x3f4)])===!0x0;return!_0x14907e&&!_0x4fd368;}['_isAllDayGanttDateRange'](_0x3d041d,_0x46df0b){const _0x1c250c=_0x164ecf;var _0x14c0f3,_0x308fc2;let _0x4beccd=((_0x14c0f3=_0x3d041d['config'])==null?void 0x0:_0x14c0f3[_0x1c250c(0x3f4)])===!0x0,_0x2ff664=((_0x308fc2=_0x46df0b[_0x1c250c(0x19f)])==null?void 0x0:_0x308fc2[_0x1c250c(0x3f4)])===!0x0;return!_0x4beccd&&!_0x2ff664;}[_0x164ecf(0x15e)](_0xbcd09b,_0x10612f){const _0x5bec97=_0x164ecf;let _0x1cff48=this[_0x5bec97(0x237)](_0xbcd09b,_0x10612f['config']),_0x28c5bb=_0xbcd09b['fields'][_0x1cff48[_0x5bec97(0x13a)]];if(!_0x28c5bb||_0x28c5bb[_0x5bec97(0x132)]!==_0x9b4f24[_0x5bec97(0x3bc)]['Date']||_0x28c5bb[_0x5bec97(0x462)]===!0x0||_0x28c5bb[_0x5bec97(0x187)]===!0x0||!this[_0x5bec97(0x1f7)](_0x28c5bb)[_0x5bec97(0x252)])return{'type':_0x5bec97(0x422),'viewType':_0x9b4f24[_0x5bec97(0x4c3)][_0x5bec97(0x2ae)],'reason':'invalidGanttStartField','fieldId':_0x1cff48['startDateFieldId']};let _0x1c7bc2=_0xbcd09b[_0x5bec97(0x43b)][_0x1cff48['endDateFieldId']];if(!_0x1c7bc2||_0x1c7bc2[_0x5bec97(0x132)]!==_0x9b4f24['BaseFieldType'][_0x5bec97(0x442)]||_0x1c7bc2[_0x5bec97(0x462)]===!0x0||_0x1c7bc2[_0x5bec97(0x187)]===!0x0||!this[_0x5bec97(0x1f7)](_0x1c7bc2)[_0x5bec97(0x284)])return{'type':_0x5bec97(0x422),'viewType':_0x9b4f24[_0x5bec97(0x4c3)]['Gantt'],'reason':'invalidGanttEndField','fieldId':_0x1cff48['endDateFieldId']};let _0x2de9a8=this[_0x5bec97(0x16c)](_0x28c5bb,_0x1c7bc2),_0x256870=this['_projectRows'](_0xbcd09b,_0x10612f),_0x3b9b85=_0x256870[_0x5bec97(0x17e)](_0x1f6404=>{const _0x440f74=_0x5bec97;let _0x4f5504=_0x22fdeb(_0x1f6404[_0x440f74(0x10a)][_0x1cff48['startDateFieldId']]),_0x4a4db8=_0x22fdeb(_0x1f6404[_0x440f74(0x10a)][_0x1cff48[_0x440f74(0x414)]]);if(!Number['isFinite'](_0x4f5504)||!Number[_0x440f74(0x4a1)](_0x4a4db8))return[];let _0x256184=Math[_0x440f74(0x1dd)](_0x4f5504,_0x4a4db8),_0x3397cb=Math[_0x440f74(0x427)](_0x4f5504,_0x4a4db8),_0x454220=_0x1cff48[_0x440f74(0x227)]==null?void 0x0:Number(_0x1f6404['values'][_0x1cff48['progressFieldId']]);return[{'recordId':_0x1f6404[_0x440f74(0x1d9)],'title':this[_0x440f74(0x13f)](_0xbcd09b,_0x1f6404,_0x1cff48['titleFieldId']),'start':_0x256184,'end':_0x3397cb,'color':this[_0x440f74(0xf7)](_0xbcd09b,_0x1f6404,_0x1cff48),'progress':Number[_0x440f74(0x4a1)](_0x454220)?_0x454220:void 0x0,'workingDayCount':_0x1cff48[_0x440f74(0x3a0)]?_0x4f0b32(_0x256184,_0x3397cb,_0x1cff48['workingDays']):void 0x0,'dependencyRecordIds':this[_0x440f74(0x231)](_0x1f6404[_0x440f74(0x10a)][_0x1cff48[_0x440f74(0x248)]??''])}];}),_0x10d0f7=_0x3b9b85['length']?_0x13f492(Math[_0x5bec97(0x1dd)](..._0x3b9b85['map'](_0x4920a1=>_0x4920a1['start']))-0x5a*_0x2be254):_0x13f492(Date['now']()-0x5a*_0x2be254),_0x5cae86=_0x3b9b85[_0x5bec97(0x13b)]?_0x13f492(Math[_0x5bec97(0x427)](..._0x3b9b85['map'](_0x59329c=>_0x59329c[_0x5bec97(0x168)]))+0x5b*_0x2be254):_0x13f492(Date[_0x5bec97(0x1e5)]()+0x5b*_0x2be254),_0x42a8bf=_0x52959a(_0x1cff48[_0x5bec97(0x154)],_0x10d0f7,_0x5cae86,_0x1cff48[_0x5bec97(0x3a0)]?_0x1cff48[_0x5bec97(0x263)]:void 0x0);return{'type':_0x9b4f24['BaseViewType'][_0x5bec97(0x2ae)],'fields':this[_0x5bec97(0x38d)](_0xbcd09b,{..._0x10612f,'config':_0x1cff48}),'rows':_0x256870,'groups':this['_projectGroups'](_0xbcd09b,_0x10612f,_0x256870),'config':_0x1cff48,'dateRangeAllDay':_0x2de9a8,'timeline':{'scale':_0x1cff48[_0x5bec97(0x154)],'start':_0x10d0f7,'end':_0x5cae86,'unitWidth':_0x42a8bf['unitWidth'],'majorHeaders':_0x42a8bf[_0x5bec97(0x27b)],'columns':_0x42a8bf[_0x5bec97(0x1db)]},'bars':_0x3b9b85};}['_normalizeGanttConfig'](_0x33e9ac,_0x72fa95){const _0x45bdbe=_0x164ecf;let _0x446d3a=this[_0x45bdbe(0x3e3)](_0x33e9ac,_0x72fa95['startDateFieldId'],_0x45bdbe(0x2e1)),_0x2bba6e=this[_0x45bdbe(0x3e3)](_0x33e9ac,_0x72fa95['endDateFieldId'],_0x45bdbe(0x168))||_0x446d3a,_0x2c9231=_0x72fa95['titleFieldId']?_0x33e9ac[_0x45bdbe(0x43b)][_0x72fa95[_0x45bdbe(0x19d)]]:void 0x0,_0x553da8=_0x2c9231&&_0x2c9231[_0x45bdbe(0x187)]!==!0x0&&_0x2c9231[_0x45bdbe(0x132)]!==_0x9b4f24[_0x45bdbe(0x3bc)][_0x45bdbe(0x111)]?_0x72fa95['titleFieldId']:_0x33e9ac['primaryFieldId'],_0x3fb604=_0x72fa95['scale']===_0x45bdbe(0x35c)||_0x72fa95[_0x45bdbe(0x154)]===_0x45bdbe(0x105)||_0x72fa95[_0x45bdbe(0x154)]===_0x45bdbe(0x311)?_0x72fa95[_0x45bdbe(0x154)]:_0x45bdbe(0x486),_0x4ae676=_0x5c2872(_0x72fa95[_0x45bdbe(0x263)]);return{..._0x72fa95,'startDateFieldId':_0x446d3a,'endDateFieldId':_0x2bba6e,'titleFieldId':_0x553da8,'scale':_0x3fb604,'leftPaneWidth':typeof _0x72fa95[_0x45bdbe(0x31e)]==_0x45bdbe(0x1a8)?_0x72fa95[_0x45bdbe(0x31e)]:void 0x0,'leftPaneCollapsed':_0x72fa95[_0x45bdbe(0x483)]===!0x0,'showTodayLine':_0x72fa95[_0x45bdbe(0x464)]!==!0x1,'displayColor':this[_0x45bdbe(0x401)](_0x33e9ac,_0x72fa95),'fieldSettings':Object[_0x45bdbe(0x224)](Object[_0x45bdbe(0x489)](_0x72fa95[_0x45bdbe(0x156)]??{})[_0x45bdbe(0x41f)](([_0x53faff])=>{const _0x53c306=_0x45bdbe;let _0x411d39=_0x33e9ac[_0x53c306(0x43b)][_0x53faff];return!!(_0x411d39&&_0x411d39[_0x53c306(0x187)]!==!0x0&&_0x411d39[_0x53c306(0x132)]!==_0x9b4f24[_0x53c306(0x3bc)]['RecordId']);})),'workingDaysOnly':_0x72fa95[_0x45bdbe(0x3a0)]===!0x0,'workingDays':_0x4ae676};}[_0x164ecf(0x3e3)](_0x5b8c91,_0xac25d0,_0x799b7){const _0xb9f774=_0x164ecf;if(_0xac25d0&&this['_isGanttDateField'](_0x5b8c91,_0xac25d0,_0x799b7)||_0xac25d0)return _0xac25d0;for(let _0x3448d2 of _0x5b8c91[_0xb9f774(0x30b)])if(this['_isGanttDateField'](_0x5b8c91,_0x3448d2,_0x799b7))return _0x3448d2;return _0xac25d0??'';}[_0x164ecf(0x392)](_0x57e546,_0x4cbe81,_0x3b0e1e){const _0x4eaed6=_0x164ecf;let _0x751274=_0x57e546[_0x4eaed6(0x43b)][_0x4cbe81];if(!_0x751274||_0x751274[_0x4eaed6(0x132)]!==_0x9b4f24[_0x4eaed6(0x3bc)][_0x4eaed6(0x442)]||_0x751274[_0x4eaed6(0x462)]===!0x0||_0x751274[_0x4eaed6(0x187)]===!0x0)return!0x1;let _0x41598d=this[_0x4eaed6(0x1f7)](_0x751274);return _0x3b0e1e==='start'?_0x41598d[_0x4eaed6(0x252)]:_0x41598d[_0x4eaed6(0x284)];}['_normalizeGanttDisplayColor'](_0x4ba7e0,_0x219b76){const _0x7e9e30=_0x164ecf;let _0x373975=_0x219b76['displayColor'];if((_0x373975==null?void 0x0:_0x373975[_0x7e9e30(0x132)])===_0x7e9e30(0x234)){let _0x5ebbd4=_0x4ba7e0[_0x7e9e30(0x43b)][_0x373975[_0x7e9e30(0x195)]];if(_0x5ebbd4&&_0x5ebbd4[_0x7e9e30(0x132)]===_0x9b4f24['BaseFieldType'][_0x7e9e30(0x378)])return _0x373975;}return(_0x373975==null?void 0x0:_0x373975[_0x7e9e30(0x132)])===_0x7e9e30(0x1f9)&&Array[_0x7e9e30(0x32e)](_0x373975[_0x7e9e30(0x1ad)])?{'type':_0x7e9e30(0x1f9),'rules':_0x373975['rules'][_0x7e9e30(0x41f)](_0x98e2a6=>!!_0x4ba7e0['fields'][_0x98e2a6[_0x7e9e30(0x195)]])}:(_0x373975==null?void 0x0:_0x373975[_0x7e9e30(0x132)])===_0x7e9e30(0x45f)&&typeof _0x373975['color']==_0x7e9e30(0x1e4)&&_0x373975[_0x7e9e30(0x449)][_0x7e9e30(0x276)]()?{'type':'custom','color':_0x373975['color']}:{'type':'custom','color':'#14b8a6'};}['_ganttBarColor'](_0x188786,_0x3576f0,_0x145cdb){const _0x7fce1b=_0x164ecf;let _0xbdc339=_0x145cdb[_0x7fce1b(0x28d)];if((_0xbdc339==null?void 0x0:_0xbdc339[_0x7fce1b(0x132)])==='conditional'){let _0x1655e4=_0xbdc339[_0x7fce1b(0x1ad)][_0x7fce1b(0x396)](_0x19df1f=>this[_0x7fce1b(0x459)](_0x188786,_0x3576f0,_0x19df1f));if(_0x1655e4)return _0x1655e4['color'];}if((_0xbdc339==null?void 0x0:_0xbdc339[_0x7fce1b(0x132)])===_0x7fce1b(0x234)){let _0x14fe52=_0x188786[_0x7fce1b(0x43b)][_0xbdc339[_0x7fce1b(0x195)]];if(_0x14fe52){var _0x4f1390;let _0x35ab07=_0x3576f0['values'][_0xbdc339['fieldId']],_0x2d12dc=Array[_0x7fce1b(0x32e)](_0x35ab07)?_0x35ab07[0x0]:_0x35ab07,_0x53a7cc=_0x2d12dc==null||(_0x4f1390=_0x24150d(_0x14fe52,String(_0x2d12dc)))==null?void 0x0:_0x4f1390[_0x7fce1b(0x449)];if(_0x53a7cc)return _0x53a7cc;}}return(_0xbdc339==null?void 0x0:_0xbdc339[_0x7fce1b(0x132)])==='custom'?_0xbdc339[_0x7fce1b(0x449)]:'#14b8a6';}[_0x164ecf(0x459)](_0x5e7560,_0x2c104c,_0x850d9a){const _0x50b08c=_0x164ecf;let _0x916573=_0x5e7560[_0x50b08c(0x43b)][_0x850d9a['fieldId']];return _0x916573?_0x2fe127(_0x2c104c[_0x50b08c(0x10a)][_0x916573['id']],_0x850d9a[_0x50b08c(0x16f)],_0x850d9a[_0x50b08c(0x236)],_0x916573,{'dateMode':_0x850d9a[_0x50b08c(0x2a5)]}):!0x1;}['_buildGallery'](_0x4f95bb,_0x544578){const _0xc38c9=_0x164ecf;let _0x40d1fb=this[_0xc38c9(0x382)](_0x4f95bb,_0x544578),_0x3c1992=this[_0xc38c9(0x363)](_0x4f95bb,_0x544578[_0xc38c9(0x19f)]??{}),_0x47e4e3=this[_0xc38c9(0x38d)](_0x4f95bb,_0x544578);return{'type':_0x9b4f24['BaseViewType'][_0xc38c9(0x3fc)],'fields':_0x47e4e3,'rows':_0x40d1fb,'groups':this['_projectGroups'](_0x4f95bb,_0x544578,_0x40d1fb),'titleFieldId':_0x3c1992[_0xc38c9(0x218)][_0xc38c9(0x19d)],'coverFieldId':_0x3c1992[_0xc38c9(0x17c)],'cardLayout':_0x3c1992[_0xc38c9(0x271)]??'normal','showFieldNames':_0x3c1992[_0xc38c9(0x425)]!==!0x1,'visibleCardFieldIds':this[_0xc38c9(0x33a)](_0x4f95bb,_0x544578,_0x3c1992),'cardSize':_0x3c1992[_0xc38c9(0x39e)]??_0xc38c9(0x14c),'cards':_0x40d1fb[_0xc38c9(0x2a7)](_0x318439=>({'recordId':_0x318439[_0xc38c9(0x1d9)],'title':this['_title'](_0x4f95bb,_0x318439,_0x3c1992[_0xc38c9(0x218)][_0xc38c9(0x19d)]),'values':_0x318439[_0xc38c9(0x10a)]}))};}['_normalizeGalleryConfig'](_0x276c1c,_0xc1c8b0){const _0x5f2479=_0x164ecf;let _0x4a2849=_0xc1c8b0[_0x5f2479(0x218)]??{'fieldIds':[]},_0x41ff7c=this[_0x5f2479(0x130)](_0x276c1c,_0x4a2849['titleFieldId']),_0x441da1=this[_0x5f2479(0x2d7)](_0x276c1c,_0xc1c8b0),_0x2cf8fb=_0xc1c8b0[_0x5f2479(0x39e)]==='small'||_0xc1c8b0[_0x5f2479(0x39e)]==='large'?_0xc1c8b0[_0x5f2479(0x39e)]:_0x5f2479(0x14c);return{..._0xc1c8b0,'coverFieldId':_0x441da1,'cardLayout':_0xc1c8b0['cardLayout']===_0x5f2479(0x17f)?'compose':_0x5f2479(0x394),'showFieldNames':_0xc1c8b0['showFieldNames']!==!0x1,'fieldSettings':Object[_0x5f2479(0x224)](Object[_0x5f2479(0x489)](_0xc1c8b0[_0x5f2479(0x156)]??{})['filter'](([_0x440029])=>{const _0x199428=_0x5f2479;let _0x3e2fac=_0x276c1c[_0x199428(0x43b)][_0x440029];return!!(_0x3e2fac&&_0x3e2fac[_0x199428(0x187)]!==!0x0&&_0x3e2fac[_0x199428(0x132)]!==_0x9b4f24[_0x199428(0x3bc)][_0x199428(0x111)]);})),'card':{..._0x4a2849,'titleFieldId':_0x41ff7c,'coverFieldId':_0x441da1,'fieldIds':Array[_0x5f2479(0x32e)](_0x4a2849[_0x5f2479(0x239)])?_0x4a2849[_0x5f2479(0x239)]:[]},'cardSize':_0x2cf8fb};}['_resolveCardTitleFieldId'](_0x23192c,_0x1731de){const _0x293807=_0x164ecf;let _0x308ac6=_0x1731de?_0x23192c[_0x293807(0x43b)][_0x1731de]:void 0x0;return _0x308ac6&&_0x308ac6[_0x293807(0x187)]!==!0x0&&_0x308ac6[_0x293807(0x132)]!==_0x9b4f24[_0x293807(0x3bc)][_0x293807(0x111)]?_0x308ac6['id']:_0x4426cd(_0x23192c);}[_0x164ecf(0x2d7)](_0x2a50d4,_0x28f60f){const _0x717dfe=_0x164ecf;var _0x5880c2;let _0x1eedb2=_0x28f60f[_0x717dfe(0x17c)]??((_0x5880c2=_0x28f60f[_0x717dfe(0x218)])==null?void 0x0:_0x5880c2[_0x717dfe(0x17c)])??null;if(!_0x1eedb2)return null;let _0x40f38e=_0x2a50d4[_0x717dfe(0x43b)][_0x1eedb2];return _0x40f38e&&this[_0x717dfe(0x1f7)](_0x40f38e)[_0x717dfe(0x179)]?_0x40f38e['id']:null;}[_0x164ecf(0x33a)](_0x55757f,_0x3d244d,_0x515462){const _0x14a912=_0x164ecf;var _0x7050a2,_0x3594f0,_0x552429;let _0x34c280=_0x515462['fieldSettings']??{},_0x207047=((_0x7050a2=_0x515462[_0x14a912(0x218)])==null?void 0x0:_0x7050a2[_0x14a912(0x19d)])??_0x4426cd(_0x55757f),_0xce6de0=_0x515462[_0x14a912(0x17c)]??((_0x3594f0=_0x515462[_0x14a912(0x218)])==null?void 0x0:_0x3594f0[_0x14a912(0x17c)])??null,_0x23a581=(_0x552429=_0x515462[_0x14a912(0x218)])!=null&&(_0x552429=_0x552429[_0x14a912(0x239)])!=null&&_0x552429['length']?_0x515462[_0x14a912(0x218)][_0x14a912(0x239)]:_0x21728b(_0x55757f,[_0x207047,_0xce6de0,_0x55757f[_0x14a912(0x302)]]);return _0x23a581[_0x14a912(0x41f)](_0x426971=>{const _0x59c8d5=_0x14a912;var _0x169651,_0x350719;let _0x12f9c1=_0x55757f[_0x59c8d5(0x43b)][_0x426971];return!(!_0x12f9c1||_0x12f9c1[_0x59c8d5(0x187)]===!0x0||_0x12f9c1['type']===_0x9b4f24[_0x59c8d5(0x3bc)][_0x59c8d5(0x111)]||_0x12f9c1['id']===_0x207047||_0x12f9c1['id']===_0xce6de0||(_0x169651=_0x3d244d[_0x59c8d5(0x156)])!=null&&(_0x169651=_0x169651[_0x426971])!=null&&_0x169651[_0x59c8d5(0x307)]||(_0x350719=_0x34c280[_0x426971])!=null&&_0x350719[_0x59c8d5(0x307)]);})['sort']((_0x202b30,_0x5b550e)=>{const _0x2c8c59=_0x14a912;var _0x1f6e04,_0x2656e3;return(((_0x1f6e04=_0x34c280[_0x202b30])==null?void 0x0:_0x1f6e04['order'])??_0x23a581['indexOf'](_0x202b30))-(((_0x2656e3=_0x34c280[_0x5b550e])==null?void 0x0:_0x2656e3[_0x2c8c59(0x2f2)])??_0x23a581[_0x2c8c59(0x19b)](_0x5b550e));});}[_0x164ecf(0x38d)](_0x478744,_0x396441){const _0x36c8f8=_0x164ecf;var _0x4d0dc3;return((_0x4d0dc3=_0x396441['fieldOrder'])!=null&&_0x4d0dc3['length']?_0x396441['fieldOrder']:_0x478744[_0x36c8f8(0x30b)])['flatMap'](_0x1e6732=>{const _0xc7ddf=_0x36c8f8;var _0x44b105;let _0x259c91=_0x478744['fields'][_0x1e6732],_0x1c0246=((_0x44b105=_0x396441['fieldSettings'])==null?void 0x0:_0x44b105[_0x1e6732])??{};return!_0x259c91||_0x259c91[_0xc7ddf(0x187)]===!0x0||_0x259c91['type']===_0x9b4f24[_0xc7ddf(0x3bc)][_0xc7ddf(0x111)]||_0x1c0246[_0xc7ddf(0x307)]?[]:[{'id':_0x259c91['id'],'name':_0x259c91[_0xc7ddf(0x267)],'description':_0x259c91['description'],'type':_0x259c91[_0xc7ddf(0x132)],'config':_0x259c91[_0xc7ddf(0x19f)],'width':_0x1c0246[_0xc7ddf(0x40d)],'setting':_0x1c0246}];});}[_0x164ecf(0x382)](_0x27d4ec,_0x1fd654){const _0xd58a97=_0x164ecf;var _0xe99e9d;return _0x3022ee(_0xd58a97(0x163),()=>{const _0x3c9d09=_0xd58a97;var _0x2726ca,_0x286ad1;let _0x4954b8=this[_0x3c9d09(0x3d0)](_0x27d4ec),_0x3b35b6=this[_0x3c9d09(0x196)](_0x27d4ec['id'],_0x1fd654),_0x2e4946=this['_getCellRevision'](_0x27d4ec['id']),_0x45fc3d=this[_0x3c9d09(0x198)][_0x3c9d09(0x3e9)](_0x3b35b6);if(_0x45fc3d&&_0x45fc3d['globalRevision']===this['_globalRevision']&&_0x45fc3d[_0x3c9d09(0x242)]===this[_0x3c9d09(0x220)](_0x27d4ec['id'])){if(_0x45fc3d[_0x3c9d09(0x344)]===_0x2e4946&&_0x45fc3d[_0x3c9d09(0x436)]===_0x4954b8)return _0x45fc3d[_0x3c9d09(0x34c)];if(_0x45fc3d['cellRevision']!==_0x2e4946&&!this[_0x3c9d09(0x354)](_0x27d4ec['id'],_0x45fc3d[_0x3c9d09(0x344)],_0x2e4946,this[_0x3c9d09(0x30c)](_0x1fd654))){let _0x5b87dc=_0x45fc3d[_0x3c9d09(0x34c)]===_0x45fc3d[_0x3c9d09(0x436)]?_0x4954b8:this[_0x3c9d09(0x1e8)](_0x45fc3d[_0x3c9d09(0x34c)],_0x4954b8);if(_0x5b87dc)return this[_0x3c9d09(0x198)][_0x3c9d09(0x25a)](_0x3b35b6,{..._0x45fc3d,'rows':_0x5b87dc,'baseRows':_0x4954b8,'cellRevision':_0x2e4946}),_0x5b87dc;}}let _0x327e8e=_0x3022ee('BaseProjection.filterAndSortRows',()=>this[_0x3c9d09(0x3e4)](_0x27d4ec,_0x1fd654,this[_0x3c9d09(0x149)](_0x27d4ec,_0x1fd654,_0x4954b8)),{'tableId':_0x27d4ec['id'],'viewId':_0x1fd654==null?void 0x0:_0x1fd654['id'],'viewType':_0x1fd654==null?void 0x0:_0x1fd654[_0x3c9d09(0x132)],'rows':_0x4954b8[_0x3c9d09(0x13b)],'filters':(_0x1fd654==null||(_0x2726ca=_0x1fd654[_0x3c9d09(0x41f)])==null?void 0x0:_0x2726ca[_0x3c9d09(0x2e0)][_0x3c9d09(0x13b)])??0x0,'sorts':(_0x1fd654==null||(_0x286ad1=_0x1fd654[_0x3c9d09(0x281)])==null?void 0x0:_0x286ad1[_0x3c9d09(0x13b)])??0x0});return this[_0x3c9d09(0x198)][_0x3c9d09(0x25a)](_0x3b35b6,{'table':_0x27d4ec,'rows':_0x327e8e,'baseRows':_0x4954b8,'globalRevision':this[_0x3c9d09(0x29e)],'tableRevision':this[_0x3c9d09(0x220)](_0x27d4ec['id']),'cellRevision':_0x2e4946}),_0x327e8e;},{'tableId':_0x27d4ec['id'],'viewId':_0x1fd654==null?void 0x0:_0x1fd654['id'],'viewType':_0x1fd654==null?void 0x0:_0x1fd654[_0xd58a97(0x132)],'records':((_0xe99e9d=_0x27d4ec[_0xd58a97(0x411)])==null?void 0x0:_0xe99e9d[_0xd58a97(0x13b)])??Object['keys'](_0x27d4ec[_0xd58a97(0x312)]??{})[_0xd58a97(0x13b)]});}[_0x164ecf(0x3d0)](_0x11629b){const _0x3ce882=_0x164ecf;var _0x3f8f00;return _0x3022ee(_0x3ce882(0x3d6),()=>{const _0x23bc94=_0x3ce882;var _0x458a7b;let _0x5dba7e=this[_0x23bc94(0x3c3)](_0x11629b['id']),_0xa82930=this[_0x23bc94(0x182)][_0x23bc94(0x3e9)](_0x11629b['id']);if(_0xa82930&&_0xa82930[_0x23bc94(0x1dc)]===this[_0x23bc94(0x29e)]&&_0xa82930[_0x23bc94(0x242)]===this[_0x23bc94(0x220)](_0x11629b['id'])){if(_0xa82930[_0x23bc94(0x344)]===_0x5dba7e&&_0xa82930['table']===_0x11629b)return _0xa82930[_0x23bc94(0x34c)];let _0x5bdf1=this[_0x23bc94(0x2a0)](_0x11629b,_0xa82930,_0x5dba7e);if(_0x5bdf1)return _0x5bdf1;}_0x5671be(_0x11629b)||_0x8ae1a4(_0x11629b);let _0x4914b8=(_0x458a7b=_0x11629b['recordOrder'])!=null&&_0x458a7b['length']?_0x11629b['recordOrder']:_0x39f0b2(_0x11629b[_0x23bc94(0x312)]),_0x490f81=_0x3022ee(_0x23bc94(0x49a),()=>{const _0x3a325e=_0x23bc94;let _0x2610f7=[];for(let _0x3f834d of _0x4914b8){let _0xc677b5=_0x11629b[_0x3a325e(0x312)][_0x3f834d];if(!_0xc677b5)continue;let _0xcba86d={};for(let _0x18ff83 of _0x11629b[_0x3a325e(0x30b)])_0xcba86d[_0x18ff83]=_0x1b74a9(_0x11629b,_0xc677b5['id'],_0x18ff83);_0x2610f7[_0x3a325e(0x4bf)]({'recordId':_0xc677b5['id'],'values':_0xcba86d});}return _0x2610f7;},{'tableId':_0x11629b['id'],'records':_0x4914b8[_0x23bc94(0x13b)],'fields':_0x11629b[_0x23bc94(0x30b)]['length']});return this[_0x23bc94(0x182)][_0x23bc94(0x25a)](_0x11629b['id'],{'table':_0x11629b,'rows':_0x490f81,'rowIndexById':_0x22ca0d(_0x490f81),'globalRevision':this['_globalRevision'],'tableRevision':this[_0x23bc94(0x220)](_0x11629b['id']),'cellRevision':_0x5dba7e}),_0x490f81;},{'tableId':_0x11629b['id'],'records':((_0x3f8f00=_0x11629b[_0x3ce882(0x411)])==null?void 0x0:_0x3f8f00[_0x3ce882(0x13b)])??Object[_0x3ce882(0x1fe)](_0x11629b[_0x3ce882(0x312)]??{})['length'],'fields':_0x11629b[_0x3ce882(0x30b)][_0x3ce882(0x13b)]});}[_0x164ecf(0x2a0)](_0x268018,_0x1492bc,_0x133dec){const _0x2741be=_0x164ecf;let _0x46c8a7=(this['_cellInvalidations']['get'](_0x268018['id'])??[])[_0x2741be(0x41f)](_0x1a1e1b=>_0x1a1e1b[_0x2741be(0x341)]>_0x1492bc[_0x2741be(0x344)]&&_0x1a1e1b[_0x2741be(0x341)]<=_0x133dec);if(!_0x46c8a7[_0x2741be(0x13b)])return _0x1492bc['table']===_0x268018?_0x1492bc['rows']:null;let _0x4f6f4d=_0x1492bc[_0x2741be(0x34c)],_0x51709f=new Map();for(let _0x5a5419 of _0x46c8a7){let _0x41cac9=_0x51709f['get'](_0x5a5419[_0x2741be(0x1d9)]);_0x41cac9||(_0x41cac9=new Set(),_0x51709f[_0x2741be(0x25a)](_0x5a5419[_0x2741be(0x1d9)],_0x41cac9)),_0x41cac9[_0x2741be(0x134)](_0x5a5419[_0x2741be(0x195)]);}for(let [_0xc76cd4,_0x12e635]of _0x51709f){if(!_0x268018['records'][_0xc76cd4])return null;let _0x5bf1a9=_0x1492bc['rowIndexById'][_0x2741be(0x3e9)](_0xc76cd4);if(_0x5bf1a9==null)return null;_0x4f6f4d===_0x1492bc[_0x2741be(0x34c)]&&(_0x4f6f4d=[..._0x1492bc['rows']]);let _0x26f651=_0x4f6f4d[_0x5bf1a9],_0x2e97b0={..._0x26f651[_0x2741be(0x10a)]};_0x12e635[_0x2741be(0x49e)](_0x3b6afc=>{_0x2e97b0[_0x3b6afc]=_0x1b74a9(_0x268018,_0xc76cd4,_0x3b6afc);}),_0x4f6f4d[_0x5bf1a9]={..._0x26f651,'values':_0x2e97b0};}let _0x37a4f6={'table':_0x268018,'rows':_0x4f6f4d,'rowIndexById':_0x1492bc['rowIndexById'],'globalRevision':this[_0x2741be(0x29e)],'tableRevision':this[_0x2741be(0x220)](_0x268018['id']),'cellRevision':_0x133dec};return this['_projectedRowsCache'][_0x2741be(0x25a)](_0x268018['id'],_0x37a4f6),this['_cellInvalidations']['set'](_0x268018['id'],(this['_cellInvalidations']['get'](_0x268018['id'])??[])[_0x2741be(0x41f)](_0x5e5011=>_0x5e5011['revision']>Math[_0x2741be(0x427)](0x0,_0x133dec-0x100))),_0x4f6f4d;}[_0x164ecf(0x1e8)](_0x1687b7,_0x51cc41){const _0xeb0d57=_0x164ecf;let _0x2ebedc=new Map(_0x51cc41['map'](_0x330203=>[_0x330203[_0xeb0d57(0x1d9)],_0x330203])),_0x2cb8ab=!0x1,_0x3f8c77=_0x1687b7[_0xeb0d57(0x2a7)](_0x5c7b13=>{const _0x48118d=_0xeb0d57;let _0x403f6e=_0x2ebedc[_0x48118d(0x3e9)](_0x5c7b13[_0x48118d(0x1d9)]);return _0x403f6e?_0x403f6e===_0x5c7b13?_0x5c7b13:(_0x2cb8ab=!0x0,_0x403f6e):_0x5c7b13;});return _0x2cb8ab?_0x3f8c77:_0x1687b7;}[_0x164ecf(0x354)](_0x41426d,_0x2ca97e,_0x5c46c0,_0x2dabf7){const _0x40d835=_0x164ecf;return!_0x2dabf7['size']||_0x2ca97e===_0x5c46c0?!0x1:_0x5c46c0-_0x2ca97e>0x100||(this[_0x40d835(0x1e9)]['get'](_0x41426d)??[])['some'](_0x2767a2=>_0x2767a2['revision']>_0x2ca97e&&_0x2767a2[_0x40d835(0x341)]<=_0x5c46c0&&_0x2dabf7[_0x40d835(0x1df)](_0x2767a2[_0x40d835(0x195)]));}['_filterSortFieldIds'](_0xf4de19){const _0x15ca7b=_0x164ecf;var _0x285bd7,_0x5a4f5f;let _0x4bd0a0=new Set();return _0xf4de19==null||(_0x285bd7=_0xf4de19[_0x15ca7b(0x41f)])==null||_0x285bd7[_0x15ca7b(0x2e0)][_0x15ca7b(0x49e)](_0x2a82b0=>_0x4bd0a0[_0x15ca7b(0x134)](_0x2a82b0[_0x15ca7b(0x195)])),_0xf4de19==null||(_0x5a4f5f=_0xf4de19[_0x15ca7b(0x281)])==null||_0x5a4f5f[_0x15ca7b(0x49e)](_0x10dea9=>_0x4bd0a0[_0x15ca7b(0x134)](_0x10dea9[_0x15ca7b(0x195)])),_0x4bd0a0;}[_0x164ecf(0xfb)](_0x41c539){const _0x377d03=_0x164ecf;var _0x40837b;let _0x4e862e=this[_0x377d03(0x30c)](_0x41c539);return(_0x40837b=_0x41c539[_0x377d03(0x332)])==null||_0x40837b[_0x377d03(0x49e)](_0x4a89d0=>_0x4e862e[_0x377d03(0x134)](_0x4a89d0['fieldId'])),_0x4e862e;}[_0x164ecf(0x149)](_0x453344,_0xe02cd9,_0x40d00a){const _0x17dc08=_0x164ecf;let _0x1a3ce2=_0xe02cd9==null?void 0x0:_0xe02cd9['filter'];if(!(_0x1a3ce2!=null&&_0x1a3ce2[_0x17dc08(0x2e0)][_0x17dc08(0x13b)]))return _0x40d00a;let _0xb06399=_0x1a3ce2[_0x17dc08(0x2e0)]['filter'](_0x4685e0=>!_0x4dc43e(_0x4685e0));return _0xb06399[_0x17dc08(0x13b)]?_0x40d00a['filter'](_0x308eb7=>{const _0x1fd9db=_0x17dc08;if(_0x1a3ce2[_0x1fd9db(0x1ec)]===_0x9b4f24[_0x1fd9db(0x103)]['OR']){for(let _0x592705 of _0xb06399){let _0x5722e8=_0x453344[_0x1fd9db(0x43b)][_0x592705['fieldId']];if(!_0x5722e8||this['_fieldRegistry']['get'](_0x5722e8[_0x1fd9db(0x132)])[_0x1fd9db(0x41f)](_0x308eb7[_0x1fd9db(0x10a)][_0x5722e8['id']],_0x592705['operator'],_0x592705[_0x1fd9db(0x236)],_0x5722e8))return!0x0;}return!0x1;}for(let _0x358f53 of _0xb06399){let _0xb2ce44=_0x453344[_0x1fd9db(0x43b)][_0x358f53[_0x1fd9db(0x195)]];if(_0xb2ce44&&!this['_fieldRegistry'][_0x1fd9db(0x3e9)](_0xb2ce44[_0x1fd9db(0x132)])[_0x1fd9db(0x41f)](_0x308eb7[_0x1fd9db(0x10a)][_0xb2ce44['id']],_0x358f53[_0x1fd9db(0x16f)],_0x358f53['operand'],_0xb2ce44))return!0x1;}return!0x0;}):_0x40d00a;}[_0x164ecf(0x3e4)](_0x501b06,_0x51d72f,_0x134fbf){const _0x4c3aec=_0x164ecf;let _0x49935c=(_0x51d72f==null?void 0x0:_0x51d72f[_0x4c3aec(0x281)])??[];if(!_0x49935c[_0x4c3aec(0x13b)])return _0x134fbf;let _0x82658c=_0x49935c[_0x4c3aec(0x17e)](_0x15502f=>{const _0x171404=_0x4c3aec;let _0x32d698=_0x501b06[_0x171404(0x43b)][_0x15502f[_0x171404(0x195)]];return _0x32d698?[{..._0x15502f,'field':_0x32d698}]:[];});return _0x82658c[_0x4c3aec(0x13b)]?this['_canUseFastSort'](_0x82658c)?this['_fastSortRows'](_0x82658c,_0x134fbf):[..._0x134fbf][_0x4c3aec(0x281)]((_0x2e2d2a,_0xa00cd4)=>{const _0x52faa1=_0x4c3aec;for(let _0x517df2 of _0x82658c){let _0x501318=_0x517df2['field'],_0x2999b4=this['_fieldRegistry'][_0x52faa1(0x3e9)](_0x501318[_0x52faa1(0x132)])[_0x52faa1(0x303)](_0x2e2d2a['values'][_0x501318['id']],_0xa00cd4[_0x52faa1(0x10a)][_0x501318['id']],_0x501318);if(_0x2999b4!==0x0)return _0x517df2[_0x52faa1(0x366)]===_0x9b4f24['BaseSortDirection']['DESC']?-_0x2999b4:_0x2999b4;}return 0x0;}):_0x134fbf;}[_0x164ecf(0x389)](_0x242755){const _0x2a9d9a=_0x164ecf;return _0x242755[_0x2a9d9a(0x3e2)](_0x1d2f6a=>_0x145cf2['has'](_0x1d2f6a['field']['type']));}[_0x164ecf(0x40a)](_0x2e8e74,_0x139d01){const _0x54942d=_0x164ecf;return _0x139d01['map']((_0x2f7288,_0x369111)=>({'row':_0x2f7288,'index':_0x369111,'keys':_0x2e8e74[_0x54942d(0x2a7)](_0x371f4e=>_0x2f7288[_0x54942d(0x10a)][_0x371f4e[_0x54942d(0x195)]])}))[_0x54942d(0x281)]((_0xae21c,_0x3e1aa2)=>{const _0x38e91d=_0x54942d;for(let _0x4209ac=0x0;_0x4209ac<_0x2e8e74[_0x38e91d(0x13b)];_0x4209ac++){let _0x35e78a=_0x4b4901(_0xae21c[_0x38e91d(0x1fe)][_0x4209ac],_0x3e1aa2[_0x38e91d(0x1fe)][_0x4209ac]);if(_0x35e78a!==0x0)return _0x2e8e74[_0x4209ac][_0x38e91d(0x366)]===_0x9b4f24[_0x38e91d(0x280)][_0x38e91d(0x26e)]?-_0x35e78a:_0x35e78a;}return _0xae21c[_0x38e91d(0x2d4)]-_0x3e1aa2[_0x38e91d(0x2d4)];})[_0x54942d(0x2a7)](_0x2966df=>_0x2966df['row']);}[_0x164ecf(0x131)](_0x1a32e0,_0x2fa854,_0x4c5df0){const _0x2a4ffd=_0x164ecf;var _0x16b2f9;return _0x3022ee('BaseProjection.projectGroups',()=>{const _0x55e994=_0x17a2;var _0x51f7b3;if(!((_0x51f7b3=_0x2fa854[_0x55e994(0x332)])!=null&&_0x51f7b3[_0x55e994(0x13b)]))return[];let _0x1ca78f=_0x2fa854['group']['filter'](_0x289152=>_0x1a32e0[_0x55e994(0x43b)][_0x289152[_0x55e994(0x195)]]);if(!_0x1ca78f[_0x55e994(0x13b)])return[];let _0x21d5c0=this[_0x55e994(0x4ad)](_0x1a32e0['id'],_0x2fa854,_0x1ca78f),_0x91e85e=this[_0x55e994(0x3c3)](_0x1a32e0['id']),_0x574eaf=this[_0x55e994(0x27c)][_0x55e994(0x3e9)](_0x21d5c0);if(_0x574eaf&&_0x574eaf[_0x55e994(0x1dc)]===this[_0x55e994(0x29e)]&&_0x574eaf[_0x55e994(0x242)]===this[_0x55e994(0x220)](_0x1a32e0['id'])){if(_0x574eaf[_0x55e994(0x344)]===_0x91e85e&&_0x574eaf[_0x55e994(0x34c)]===_0x4c5df0)return _0x574eaf['groups'];if(_0x574eaf[_0x55e994(0x344)]!==_0x91e85e&&!this[_0x55e994(0x354)](_0x1a32e0['id'],_0x574eaf[_0x55e994(0x344)],_0x91e85e,this[_0x55e994(0xfb)](_0x2fa854)))return this[_0x55e994(0x27c)][_0x55e994(0x25a)](_0x21d5c0,{..._0x574eaf,'rows':_0x4c5df0,'cellRevision':_0x91e85e}),_0x574eaf[_0x55e994(0x498)];}let _0x1a9e00=new Map();for(let _0x4f554a of _0x4c5df0){let _0x52bea2=_0x1a9e00,_0x3848f5='';for(let _0x214a4d=0x0;_0x214a4d<_0x1ca78f[_0x55e994(0x13b)];_0x214a4d++){let _0x448bb5=_0x1ca78f[_0x214a4d],_0x178124=_0x4f554a[_0x55e994(0x10a)][_0x448bb5[_0x55e994(0x195)]],_0x5c9fac=_0x20f418(_0x178124),_0x2300ac=_0x448bb5['fieldId']+'\x00'+_0x5c9fac,_0x407577=_0x3848f5+'/'+_0x448bb5[_0x55e994(0x195)]+':'+_0x5c9fac,_0x28c11c=_0x52bea2[_0x55e994(0x3e9)](_0x2300ac);_0x28c11c||(_0x28c11c={'key':_0x5c9fac,'value':_0x178124,'path':_0x407577,'label':_0x5c9fac||_0x55e994(0x482),'fieldId':_0x448bb5[_0x55e994(0x195)],'level':_0x214a4d,'recordIds':[],'children':new Map()},_0x52bea2[_0x55e994(0x25a)](_0x2300ac,_0x28c11c)),_0x28c11c[_0x55e994(0x453)][_0x55e994(0x4bf)](_0x4f554a[_0x55e994(0x1d9)]),_0x52bea2=_0x28c11c[_0x55e994(0x46d)],_0x3848f5=_0x407577;}}let _0x367eee=this[_0x55e994(0x3b1)](_0x1ca78f,_0x1a9e00,0x0);return this[_0x55e994(0x27c)][_0x55e994(0x25a)](_0x21d5c0,{'table':_0x1a32e0,'rows':_0x4c5df0,'groups':_0x367eee,'globalRevision':this[_0x55e994(0x29e)],'tableRevision':this[_0x55e994(0x220)](_0x1a32e0['id']),'cellRevision':_0x91e85e}),_0x367eee;},{'tableId':_0x1a32e0['id'],'viewId':_0x2fa854['id'],'viewType':_0x2fa854[_0x2a4ffd(0x132)],'rows':_0x4c5df0[_0x2a4ffd(0x13b)],'groupFields':((_0x16b2f9=_0x2fa854[_0x2a4ffd(0x332)])==null?void 0x0:_0x16b2f9['length'])??0x0});}[_0x164ecf(0x3b1)](_0x5f7bf1,_0x4995ed,_0x31fdd6){const _0x41f264=_0x164ecf;var _0x5e3fc5;let _0x41f84b=Array[_0x41f264(0x338)](_0x4995ed['values']()),_0x55c7aa=(_0x5e3fc5=_0x5f7bf1[_0x31fdd6])==null?void 0x0:_0x5e3fc5[_0x41f264(0x366)];return _0x55c7aa&&_0x41f84b[_0x41f264(0x281)]((_0x423e29,_0xea68ef)=>{const _0x570600=_0x41f264;let _0x5e66a6=_0x423e29['key'][_0x570600(0x2c6)](_0xea68ef[_0x570600(0x1a1)]);return _0x55c7aa===_0x9b4f24[_0x570600(0x280)]['DESC']?-_0x5e66a6:_0x5e66a6;}),_0x41f84b['map'](_0x210e95=>({'key':_0x210e95[_0x41f264(0x1a1)],'value':_0x210e95['value'],'path':_0x210e95['path'],'label':_0x210e95[_0x41f264(0x316)],'fieldId':_0x210e95['fieldId'],'level':_0x210e95[_0x41f264(0x385)],'recordIds':_0x210e95['recordIds'],'children':this[_0x41f264(0x3b1)](_0x5f7bf1,_0x210e95[_0x41f264(0x46d)],_0x31fdd6+0x1)}));}['_title'](_0x12629d,_0x2268fc,_0x524bd3){const _0x3c8f02=_0x164ecf;let _0x7ab939=_0x524bd3??_0x12629d[_0x3c8f02(0x302)],_0x3ce6ba=_0x2268fc[_0x3c8f02(0x10a)][_0x7ab939];return _0x3ce6ba==null?'':String(_0x3ce6ba);}[_0x164ecf(0x231)](_0x4d18d4){const _0x23b541=_0x164ecf;if(Array[_0x23b541(0x32e)](_0x4d18d4))return _0x4d18d4['map'](String);if(typeof _0x4d18d4==_0x23b541(0x1e4)&&_0x4d18d4)return[_0x4d18d4];}[_0x164ecf(0x1f7)](_0x51a329){const _0x16b244=_0x164ecf;return this[_0x16b244(0x47e)][_0x16b244(0x3e9)](_0x51a329[_0x16b244(0x132)])[_0x16b244(0x2ff)](_0x51a329);}};_0x419b34=_0x12cf0c([_0x891af9(0x0,(0x0,_0x9b4f24['Inject'])(_0x258447))],_0x419b34);function _0x20f418(_0x516a2a){return _0x516a2a==null?'':String(_0x516a2a);}function _0x22ca0d(_0x196c2d){const _0x5d8e10=_0x164ecf;return new Map(_0x196c2d[_0x5d8e10(0x2a7)]((_0x59d9a1,_0x91c9e8)=>[_0x59d9a1['recordId'],_0x91c9e8]));}function _0x5671be(_0x34a1f3){const _0x541a43=_0x164ecf;return!!(Array[_0x541a43(0x32e)](_0x34a1f3['recordOrder'])&&_0x34a1f3[_0x541a43(0x371)]&&_0x34a1f3['rowId']&&_0x34a1f3['colIndex']&&_0x34a1f3[_0x541a43(0x282)]&&_0x34a1f3[_0x541a43(0x216)]);}function _0x28c2ce(_0x4bd901){const _0x295f42=_0x164ecf;return _0x4bd901!=null&&_0x4bd901[_0x295f42(0x2e0)][_0x295f42(0x13b)]?{'conjunction':_0x4bd901['conjunction'],'conditions':_0x4bd901[_0x295f42(0x2e0)][_0x295f42(0x2a7)](_0x2b5f20=>({'fieldId':_0x2b5f20[_0x295f42(0x195)],'operator':_0x2b5f20[_0x295f42(0x16f)],'operand':_0x2b5f20['operand']}))}:null;}function _0x4b6acf(_0x34ae51){const _0x171de9=_0x164ecf;return _0x34ae51!=null&&_0x34ae51[_0x171de9(0x13b)]?_0x34ae51['map'](_0x9be763=>({'fieldId':_0x9be763[_0x171de9(0x195)],'direction':_0x9be763[_0x171de9(0x366)]})):null;}function _0x30cfcf(_0x5bd2c6){const _0x4a4b51=_0x164ecf;if(typeof _0x5bd2c6!=_0x4a4b51(0x42c)||!_0x5bd2c6)return JSON[_0x4a4b51(0x122)](_0x5bd2c6)??_0x4a4b51(0x494);if(Array['isArray'](_0x5bd2c6))return'['+_0x5bd2c6['map'](_0x30cfcf)[_0x4a4b51(0x305)](',')+']';let _0x48cd2c=_0x5bd2c6;return'{'+Object[_0x4a4b51(0x1fe)](_0x48cd2c)[_0x4a4b51(0x281)]()[_0x4a4b51(0x2a7)](_0x36edaa=>JSON[_0x4a4b51(0x122)](_0x36edaa)+':'+_0x30cfcf(_0x48cd2c[_0x36edaa]))[_0x4a4b51(0x305)](',')+'}';}function _0x39f0b2(_0x3c23a2){const _0x3c1ee1=_0x164ecf;let _0x509372=Object[_0x3c1ee1(0x10a)](_0x3c23a2)[_0x3c1ee1(0x281)]((_0x1d1d58,_0x3fd753)=>_0x1d1d58[_0x3c1ee1(0x1ac)][_0x3c1ee1(0x2c6)](_0x3fd753[_0x3c1ee1(0x1ac)])),_0x3726e8=[];for(let _0x4a5088 of _0x509372)_0x3726e8['push'](_0x4a5088['id']);return _0x3726e8;}let _0x2be254=0x5a0*0x3c*0x3e8;function _0x5c2872(_0x1a7275){const _0x237fec=_0x164ecf;return{'weekdays':Array['isArray'](_0x1a7275==null?void 0x0:_0x1a7275[_0x237fec(0x1d4)])&&_0x1a7275[_0x237fec(0x1d4)][_0x237fec(0x13b)]?[...new Set(_0x1a7275[_0x237fec(0x1d4)][_0x237fec(0x41f)](_0x784f39=>Number['isInteger'](_0x784f39)&&_0x784f39>=0x1&&_0x784f39<=0x7))]:[0x1,0x2,0x3,0x4,0x5],'exceptions':Array[_0x237fec(0x32e)](_0x1a7275==null?void 0x0:_0x1a7275[_0x237fec(0x3c6)])?_0x1a7275['exceptions'][_0x237fec(0x17e)](_0x4346f8=>!_0x4346f8||!Number[_0x237fec(0x4a1)](_0x4346f8[_0x237fec(0x34f)])?[]:[{'id':String(_0x4346f8['id']||_0x237fec(0x33c)+_0x4346f8['date']),'date':_0x13f492(Number(_0x4346f8[_0x237fec(0x34f)])),'name':String(_0x4346f8[_0x237fec(0x267)]||_0x237fec(0x313)),'type':_0x4346f8[_0x237fec(0x132)]===_0x237fec(0x203)?'working':_0x237fec(0x419)}]):[]};}function _0x52959a(_0x330b8a,_0x362689,_0x2a047e,_0x1246f1){let _0x52cea4=_0x5e916d(_0x330b8a,_0x362689),_0x3ce8c9=_0x5a1a55(_0x330b8a,_0x2a047e),_0x2146a5=_0x2967c4(_0x330b8a,_0x52cea4,_0x3ce8c9,_0x1246f1);return{'scale':_0x330b8a,'start':_0x52cea4,'end':_0x3ce8c9,'unitWidth':_0x5c1bf3(_0x330b8a),'majorHeaders':_0xe8e0ff(_0x330b8a,_0x52cea4,_0x3ce8c9),'columns':_0x2146a5};}function _0x2967c4(_0x2ec51f,_0x513c68,_0x12e096,_0x27f37b){const _0x171ed7=_0x164ecf;let _0x1fb32f=[],_0x987f2=_0x513c68;for(;_0x987f2<_0x12e096;){let _0x24bddc=_0x2ec51f===_0x171ed7(0x105)?_0x43308a(_0x987f2,0x7):_0x2ec51f===_0x171ed7(0x311)?_0x46a71e(_0x987f2,0x1):_0x43308a(_0x987f2,0x1);_0x1fb32f[_0x171ed7(0x4bf)]({'id':_0x2ec51f+'-'+_0x987f2,'label':_0x3611ef(_0x2ec51f,_0x987f2,_0x24bddc),'majorLabel':_0x488634(_0x2ec51f,_0x987f2),'start':_0x987f2,'end':_0x24bddc,'nonWorking':_0x487ba4(_0x987f2,_0x24bddc,_0x27f37b)}),_0x987f2=_0x24bddc;}return _0x1fb32f;}function _0xe8e0ff(_0x3a1752,_0x115bf6,_0xf9e757){const _0x3a7f0f=_0x164ecf;let _0x8001a1=[],_0x521fa6=_0x3a1752===_0x3a7f0f(0x311)?_0x3e58dd(_0x115bf6):_0x5f9bf7(_0x115bf6);for(;_0x521fa6<_0xf9e757;){let _0x547dd2=_0x3a1752==='year'?_0x3d1337(_0x521fa6,0x1):_0x46a71e(_0x521fa6,0x1);_0x8001a1[_0x3a7f0f(0x4bf)]({'id':_0x3a7f0f(0x43c)+_0x521fa6,'label':_0x3a1752==='year'?String(new Date(_0x521fa6)['getUTCFullYear']()):_0xb46ee2(_0x521fa6),'start':_0x521fa6,'end':_0x547dd2}),_0x521fa6=_0x547dd2;}return _0x8001a1;}function _0x5c1bf3(_0x34ff16){const _0x5531d7=_0x164ecf;switch(_0x34ff16){case _0x5531d7(0x35c):return 0xac;case _0x5531d7(0x105):return 0xac;case _0x5531d7(0x311):return 0x88;default:return 0x56;}}function _0x5e916d(_0x9ecfc2,_0x2d40a1){const _0x434bce=_0x164ecf;return _0x9ecfc2==='year'?_0x3e58dd(_0x2d40a1):_0x9ecfc2===_0x434bce(0x105)?_0xb05b0c(_0x2d40a1):_0x13f492(_0x2d40a1);}function _0x5a1a55(_0x56440c,_0x4f8d1a){const _0x5871fb=_0x164ecf;return _0x56440c===_0x5871fb(0x311)?_0x3d1337(_0x3e58dd(_0x4f8d1a),0x1):_0x56440c===_0x5871fb(0x105)?_0x43308a(_0xb05b0c(_0x4f8d1a),0x7):_0x43308a(_0x13f492(_0x4f8d1a),0x1);}function _0x3611ef(_0x4f54cc,_0x5bccc8,_0x284277){const _0x3d7023=_0x164ecf;let _0x7461da=new Date(_0x5bccc8);return _0x4f54cc==='quarter'?_0x7461da[_0x3d7023(0x41c)]()+'-'+new Date(_0x284277-_0x2be254)[_0x3d7023(0x41c)]():_0x4f54cc===_0x3d7023(0x311)?_0x7461da[_0x3d7023(0x128)](_0x3d7023(0x28c),{'month':_0x3d7023(0x146),'timeZone':_0x3d7023(0x3b4)}):String(_0x7461da['getUTCDate']());}function _0x488634(_0x28505f,_0x18e7cb){const _0x19e6fe=_0x164ecf;return _0x28505f==='year'?String(new Date(_0x18e7cb)[_0x19e6fe(0x1fc)]()):_0xb46ee2(_0x18e7cb);}function _0x4f0b32(_0x3ce1bd,_0xa1164,_0x32ca09){let _0x1ead79=_0x5c2872(_0x32ca09),_0x4745ed=0x0;for(let _0x121e6e=_0x13f492(_0x3ce1bd);_0x121e6e<=_0x13f492(_0xa1164);_0x121e6e=_0x43308a(_0x121e6e,0x1))_0x35bd3e(_0x121e6e,_0x1ead79)||_0x4745ed++;return _0x4745ed;}function _0x487ba4(_0x17dd94,_0x290bd4,_0x26e6d2){if(!_0x26e6d2)return!0x1;let _0x4395a1=_0x5c2872(_0x26e6d2);for(let _0x5f27b2=_0x13f492(_0x17dd94);_0x5f27b2<_0x290bd4;_0x5f27b2=_0x43308a(_0x5f27b2,0x1))if(!_0x35bd3e(_0x5f27b2,_0x4395a1))return!0x1;return!0x0;}function _0x35bd3e(_0x78d694,_0x3726a7){const _0x2abcde=_0x164ecf;let _0x2c5ea7=_0x13f492(_0x78d694),_0xee9ade=_0x3726a7['exceptions'][_0x2abcde(0x396)](_0x344d9c=>_0x13f492(_0x344d9c[_0x2abcde(0x34f)])===_0x2c5ea7);if(_0xee9ade)return _0xee9ade[_0x2abcde(0x132)]===_0x2abcde(0x419);let _0x3077cc=new Date(_0x2c5ea7)[_0x2abcde(0x374)](),_0x43d2de=_0x3077cc===0x0?0x7:_0x3077cc;return!_0x3726a7[_0x2abcde(0x1d4)]['includes'](_0x43d2de);}function _0x13f492(_0x271a58){const _0x29ca18=_0x164ecf;let _0x4ee20b=new Date(_0x271a58);return Date[_0x29ca18(0x3b4)](_0x4ee20b[_0x29ca18(0x1fc)](),_0x4ee20b['getUTCMonth'](),_0x4ee20b['getUTCDate']());}function _0xb05b0c(_0x28f27d){const _0x3e47d7=_0x164ecf;let _0x2d891f=_0x13f492(_0x28f27d),_0x116046=new Date(_0x2d891f)[_0x3e47d7(0x374)]();return _0x43308a(_0x2d891f,-(_0x116046===0x0?0x6:_0x116046-0x1));}function _0x5f9bf7(_0x4d5dbd){const _0x1ef777=_0x164ecf;let _0x400151=new Date(_0x4d5dbd);return Date[_0x1ef777(0x3b4)](_0x400151[_0x1ef777(0x1fc)](),_0x400151[_0x1ef777(0x353)](),0x1);}function _0x3e58dd(_0x3af82b){const _0x3f97f8=_0x164ecf;let _0x10720a=new Date(_0x3af82b);return Date[_0x3f97f8(0x3b4)](_0x10720a[_0x3f97f8(0x1fc)](),0x0,0x1);}function _0x43308a(_0x239116,_0x165494){return _0x239116+_0x165494*_0x2be254;}function _0x46a71e(_0x3ef7fb,_0x164dc7){const _0x6b326a=_0x164ecf;let _0x31bef3=new Date(_0x3ef7fb);return Date[_0x6b326a(0x3b4)](_0x31bef3['getUTCFullYear'](),_0x31bef3['getUTCMonth']()+_0x164dc7,0x1);}function _0x3d1337(_0x1d48a4,_0x24e086){let _0x3f6ca3=new Date(_0x1d48a4);return Date['UTC'](_0x3f6ca3['getUTCFullYear']()+_0x24e086,0x0,0x1);}function _0xb46ee2(_0x2ba085){const _0x36ae15=_0x164ecf;let _0x23e365=new Date(_0x2ba085);return _0x23e365[_0x36ae15(0x128)](_0x36ae15(0x28c),{'month':_0x36ae15(0x146),'timeZone':_0x36ae15(0x3b4)})+'\x20'+_0x23e365['getUTCFullYear']();}function _0x4b4901(_0x2b19df,_0x2cb2ae){const _0x52025b=_0x164ecf;if(_0x2b19df==null&&_0x2cb2ae==null)return 0x0;if(_0x2b19df==null)return-0x1;if(_0x2cb2ae==null)return 0x1;if(typeof _0x2b19df==_0x52025b(0xf9)||typeof _0x2cb2ae=='boolean')return Number(_0x2b19df===!0x0)-Number(_0x2cb2ae===!0x0);let _0x5522ef=Number(_0x2b19df),_0x4dcb36=Number(_0x2cb2ae),_0x2af831=Number[_0x52025b(0x4a1)](_0x5522ef),_0x4d1b1b=Number[_0x52025b(0x4a1)](_0x4dcb36);return _0x2af831&&_0x4d1b1b?_0x5522ef-_0x4dcb36:_0x2af831?0x1:_0x4d1b1b?-0x1:String(_0x2b19df)[_0x52025b(0x2c6)](String(_0x2cb2ae));}function _0x4dc43e(_0x2c0bd3){const _0x2c546d=_0x164ecf;if(_0x2c0bd3[_0x2c546d(0x16f)]!=='is'&&_0x2c0bd3[_0x2c546d(0x16f)]!==_0x2c546d(0x1ee))return!0x1;let _0x147537=_0x2c0bd3[_0x2c546d(0x236)];return _0x147537==null?!0x0:typeof _0x147537==_0x2c546d(0x1e4)?_0x147537[_0x2c546d(0x276)]()==='':Array[_0x2c546d(0x32e)](_0x147537)?_0x147537[_0x2c546d(0x13b)]===0x0:!0x1;}function _0x24150d(_0x32e31a,_0x39c13d){const _0x8bcddc=_0x164ecf;var _0x5364dc;let _0xfca99b=Array[_0x8bcddc(0x32e)]((_0x5364dc=_0x32e31a[_0x8bcddc(0x19f)])==null?void 0x0:_0x5364dc[_0x8bcddc(0x2e8)])?_0x32e31a[_0x8bcddc(0x19f)][_0x8bcddc(0x2e8)]:[];for(let _0x35e5fd of _0xfca99b){if(_0x35e5fd==null)continue;if(typeof _0x35e5fd=='string'){if(_0x35e5fd===_0x39c13d)return{'id':_0x35e5fd,'name':_0x35e5fd};continue;}let _0xbd597c=_0x35e5fd,_0x729f9b=String(_0xbd597c['id']??_0xbd597c[_0x8bcddc(0x267)]??''),_0x42516d=String(_0xbd597c[_0x8bcddc(0x267)]??_0xbd597c['id']??_0x729f9b);if(_0x729f9b===_0x39c13d||_0x42516d===_0x39c13d)return{'id':_0x729f9b,'name':_0x42516d,'color':_0xbd597c[_0x8bcddc(0x449)]==null?void 0x0:String(_0xbd597c[_0x8bcddc(0x449)])};}return null;}let _0x855ab4={'id':'base.mutation.apply-base-json1','type':_0x9b4f24['CommandType'][_0x164ecf(0x32c)],'handler'(_0x2eaaeb,_0x3e16cc){const _0x4c9a21=_0x164ecf;let {unitId:_0x399916,op:_0x53234e}=_0x3e16cc,_0x2e9a4a=_0x2eaaeb[_0x4c9a21(0x3e9)](_0x9b4f24[_0x4c9a21(0x15c)])[_0x4c9a21(0x10d)](_0x399916,_0x9b4f24['UniverInstanceType']['UNIVER_BASE']);if(!_0x2e9a4a)return!0x1;let _0x19f140=_0x2e9a4a[_0x4c9a21(0x293)](),_0x3a5459=new _0x1f3607(),_0x4c8706=_0x3a5459[_0x4c9a21(0x2ed)](_0x53234e),_0x3231f9=_0x3a5459[_0x4c9a21(0x2f4)](_0x19f140,_0x53234e);return _0x2e9a4a['setSnapshot'](_0x3231f9),_0x886da2(_0x3231f9,_0x4c8706,_0x2eaaeb[_0x4c9a21(0x3e9)](_0x369d05)),!0x0;}};function _0x886da2(_0x535c53,_0x300c61,_0x518088){const _0x540b08=_0x164ecf;let _0x1868dd=new Set();for(let _0x7820dc of _0x300c61){if(_0x7820dc[_0x540b08(0x167)]!==_0x540b08(0x213)){_0x518088['invalidateByOp']();return;}let _0x38fb2e=_0x189fb4(_0x535c53,_0x7820dc);if(!_0x38fb2e){_0x518088[_0x540b08(0x36f)]();return;}let _0xcfd2ac=_0x38fb2e[_0x540b08(0x28a)]+'\x00'+_0x38fb2e['recordId']+'\x00'+_0x38fb2e[_0x540b08(0x195)];_0x1868dd[_0x540b08(0x1df)](_0xcfd2ac)||(_0x1868dd[_0x540b08(0x134)](_0xcfd2ac),_0x518088['invalidateByCell'](_0x38fb2e['tableId'],_0x38fb2e[_0x540b08(0x1d9)],_0x38fb2e[_0x540b08(0x195)]));}}function _0x189fb4(_0x3b054a,_0x5c01cc){const _0x246631=_0x164ecf;var _0x284379,_0x28636b;if(!_0x5c01cc[_0x246631(0x28a)])return null;if(_0x5c01cc[_0x246631(0x1d9)]&&_0x5c01cc[_0x246631(0x195)])return{'tableId':_0x5c01cc[_0x246631(0x28a)],'recordId':_0x5c01cc[_0x246631(0x1d9)],'fieldId':_0x5c01cc[_0x246631(0x195)]};if(_0x5c01cc[_0x246631(0x12f)]==null||_0x5c01cc[_0x246631(0x1b3)]==null)return null;let _0x413cb8=_0x3b054a[_0x246631(0x4cb)][_0x5c01cc[_0x246631(0x28a)]],_0x1dbac8=_0x413cb8==null||(_0x284379=_0x413cb8[_0x246631(0x3c7)])==null?void 0x0:_0x284379[_0x5c01cc[_0x246631(0x12f)]],_0x241591=_0x413cb8==null||(_0x28636b=_0x413cb8['colId'])==null?void 0x0:_0x28636b[_0x5c01cc[_0x246631(0x1b3)]];return!_0x1dbac8||!_0x241591?null:{'tableId':_0x5c01cc['tableId'],'recordId':_0x1dbac8,'fieldId':_0x241591};}function _0x19c89e(_0x495235,_0x51e384,_0x4c1467){const _0x1e035f=_0x164ecf;let _0x23b328=_0x495235[_0x1e035f(0x293)]()[_0x1e035f(0x4cb)][_0x51e384];if(!_0x23b328)return!0x1;let {viewIds:_0x431735,fieldIds:_0x3313c9,recordIds:_0x454640}=_0x4c1467||{};if(_0x431735){for(let _0x242895 of _0x431735)if(!_0x23b328[_0x1e035f(0x339)][_0x242895])return!0x1;}if(_0x3313c9){for(let _0x2356da of _0x3313c9)if(!_0x23b328['fields'][_0x2356da])return!0x1;}if(_0x454640){for(let _0xe347e3 of _0x454640)if(!_0x23b328[_0x1e035f(0x312)][_0xe347e3])return!0x1;}return!0x0;}function _0x3cd3a4(_0x2a872b,_0x372e1a,_0x2b6bf8){const _0x506ebd=_0x164ecf;if(_0x2b6bf8['id']===_0x9b4f24['BASE_RECORD_ID_FIELD_ID']||_0x2b6bf8[_0x506ebd(0x132)]===_0x9b4f24['BaseFieldType'][_0x506ebd(0x111)]||(0x0,_0x9b4f24[_0x506ebd(0x450)])(_0x2b6bf8[_0x506ebd(0x267)]))return!0x1;let _0x26fa6d=_0x2a872b['getSnapshot']();if(!_0x13d5f8(_0x26fa6d,_0x2b6bf8)[_0x506ebd(0x1ae)])return!0x1;if(_0x2b6bf8[_0x506ebd(0x132)]!==_0x9b4f24[_0x506ebd(0x3bc)]['RecordLink'])return!0x0;let _0xee50df=_0xfcdc79(_0x2b6bf8);if(!_0xee50df)return!0x1;if(_0xee50df[_0x506ebd(0x465)]===void 0x0)return!0x0;if(_0xee50df[_0x506ebd(0x465)]!==_0x9b4f24['BaseRecordLinkRole'][_0x506ebd(0x32d)]||_0xee50df['targetTableId']!==_0x372e1a||_0xee50df[_0x506ebd(0x299)]!==!0x1)return!0x1;let _0x3d8f46=_0x26fa6d[_0x506ebd(0x4cb)][_0x372e1a];return!Object['values'](_0x3d8f46[_0x506ebd(0x43b)])['some'](_0x43acb8=>{const _0x1359b3=_0x506ebd;var _0x3ee6fb;return _0x43acb8['id']!==_0x2b6bf8['id']&&_0x43acb8['type']===_0x9b4f24[_0x1359b3(0x3bc)][_0x1359b3(0x226)]&&((_0x3ee6fb=_0xfcdc79(_0x43acb8))==null?void 0x0:_0x3ee6fb[_0x1359b3(0x465)])===_0x9b4f24[_0x1359b3(0x4a2)][_0x1359b3(0x32d)];});}function _0x3af45b(_0x5a128f,_0x34e309,_0x2a14eb,_0x3e196e){const _0x50e63f=_0x164ecf;var _0x1c0046;let _0x5d1695=_0x5a128f[_0x50e63f(0x293)](),_0x2c66e6=(_0x1c0046=_0x5d1695[_0x50e63f(0x4cb)][_0x34e309])==null?void 0x0:_0x1c0046[_0x50e63f(0x43b)][_0x2a14eb];return!_0x2c66e6||_0x2c66e6['id']===_0x9b4f24[_0x50e63f(0x2c4)]||_0x2c66e6[_0x50e63f(0x132)]===_0x9b4f24[_0x50e63f(0x3bc)][_0x50e63f(0x111)]?!0x1:_0x2c66e6['type']!==_0x9b4f24[_0x50e63f(0x3bc)][_0x50e63f(0x226)]||_0x4cc18c(_0x5d1695,_0x2c66e6,_0x1dfea7(_0x3e196e))[_0x50e63f(0x1ae)];}function _0x52f5c8(_0x1c161f,_0xfc8b14,_0x2244e7){const _0xa4c81c=_0x164ecf;let _0x3226c0=_0x1c161f[_0xa4c81c(0x293)]()[_0xa4c81c(0x4cb)][_0xfc8b14];return!_0x3226c0||!(0x0,_0x9b4f24['isValidBaseRecordId'])(_0x2244e7['id'])||_0x3226c0[_0xa4c81c(0x312)][_0x2244e7['id']]||Object[_0xa4c81c(0x1b0)][_0xa4c81c(0x377)]['call'](_0x2244e7['values'],_0x9b4f24[_0xa4c81c(0x2c4)])&&_0x2244e7[_0xa4c81c(0x10a)][_0x9b4f24['BASE_RECORD_ID_FIELD_ID']]!==_0x2244e7['id']?!0x1:Object[_0xa4c81c(0x489)](_0x2244e7['values'])[_0xa4c81c(0x3e2)](([_0x57dc2a,_0x3bbde5])=>_0x57dc2a===_0x9b4f24[_0xa4c81c(0x2c4)]||_0x3af45b(_0x1c161f,_0xfc8b14,_0x57dc2a,_0x3bbde5));}function _0x43c7b7(_0x162514){const _0x9b7696=_0x164ecf;return{..._0x162514,'values':{..._0x162514[_0x9b7696(0x10a)],[_0x9b4f24[_0x9b7696(0x2c4)]]:_0x162514['id']}};}function _0x1dfea7(_0x570768){const _0x50ce94=_0x164ecf;if(_0x570768&&typeof _0x570768==_0x50ce94(0x42c)&&!Array[_0x50ce94(0x32e)](_0x570768)&&'v'in _0x570768){let _0x2b7538=_0x570768['v'];return _0x2b7538===void 0x0?null:_0x2b7538;}return _0x570768;}function _0x27ce94(_0x424116,_0x4856dc,_0x2a3ab0,_0x3173b2){const _0x35ce86=_0x164ecf;let _0x5ba24e=_0x424116[_0x35ce86(0x293)]()[_0x35ce86(0x4cb)][_0x4856dc];if(!_0x5ba24e)return null;let _0x5ccf50=_0x98202f(_0x5ba24e),_0x3e03cb=_0x5ccf50??_0x2e350d(_0x5ba24e),_0x7f852e=_0x2a3ab0['some'](_0x4bccfd=>Object[_0x35ce86(0x1b0)][_0x35ce86(0x377)][_0x35ce86(0x35d)](_0x4bccfd['values'],_0x3e03cb)),_0x3bb4e7=_0x5ccf50?_0x5ba24e[_0x35ce86(0x43b)][_0x5ccf50]:_0x7f852e?_0x736d67(_0x5ba24e,_0x3e03cb,_0x3173b2):null,_0x131d50=[];for(let _0x425e20 of _0x2a3ab0){let _0x103c64=_0x425e20[_0x35ce86(0x10a)][_0x3e03cb],_0x3836b0=_0x3bb4e7!==null&&Object[_0x35ce86(0x1b0)][_0x35ce86(0x377)][_0x35ce86(0x35d)](_0x425e20[_0x35ce86(0x10a)],_0x3e03cb),_0x5afb70=_0x1dfea7(_0x103c64),_0x442b8a=null;if(_0x3836b0){if(typeof _0x5afb70!=_0x35ce86(0x1e4)||!_0x57631c(_0x5afb70,!0x1)[_0x35ce86(0x1ae)])return null;_0x442b8a=_0x5afb70;}let _0x371900={};if(Object[_0x35ce86(0x489)](_0x425e20[_0x35ce86(0x10a)])[_0x35ce86(0x49e)](([_0x4dda26,_0x201fb5])=>{(!_0x3836b0||_0x4dda26!==_0x3e03cb)&&(_0x371900[_0x4dda26]=_0x201fb5);}),!_0x52f5c8(_0x424116,_0x4856dc,{..._0x425e20,'values':_0x371900}))return null;let _0x3a6d44={..._0x425e20['values']};_0x442b8a!==null&&(_0x3a6d44[_0x3e03cb]=_0x442b8a),_0x131d50[_0x35ce86(0x4bf)](_0x43c7b7({..._0x425e20,'values':_0x3a6d44}));}return{'records':_0x131d50,'hierarchyFieldToMaterialize':_0x5ccf50?null:_0x3bb4e7,'hierarchyChanges':_0x59860b(_0x5ba24e,_0x131d50)};}let _0x14de4b={'id':_0x164ecf(0x235),'type':_0x9b4f24[_0x164ecf(0x26d)][_0x164ecf(0x3e5)],'handler'(_0x4bbcfd,_0x1ded99){const _0x3a52ad=_0x164ecf;if(!_0x1ded99)return!0x1;let _0x5d1958=_0x4bbcfd['get'](_0x9b4f24[_0x3a52ad(0x15c)]),{unitId:_0x4a1ffd,tableId:_0x202fc0,records:_0x115c3f}=_0x1ded99,_0x460b10=_0x5d1958[_0x3a52ad(0x10d)](_0x4a1ffd,_0x9b4f24[_0x3a52ad(0x3d1)][_0x3a52ad(0x3a1)]),_0x255e68=_0x115c3f[_0x3a52ad(0x2a7)](_0x51e54c=>_0x51e54c['id']);if(!_0x460b10||!_0x19c89e(_0x460b10,_0x202fc0)||new Set(_0x255e68)[_0x3a52ad(0x476)]!==_0x255e68[_0x3a52ad(0x13b)])return!0x1;let _0x1c588a=_0x4bbcfd[_0x3a52ad(0x3e9)](_0x9b4f24[_0x3a52ad(0x46a)]),_0x2f4fe=_0x4bbcfd['get'](_0x9b4f24[_0x3a52ad(0x493)]),_0x209d80=_0x4bbcfd[_0x3a52ad(0x3e9)](_0x1e9ebe),_0x4b3cae=_0x460b10[_0x3a52ad(0x293)](),_0x179e37=_0x27ce94(_0x460b10,_0x202fc0,_0x115c3f);if(!_0x179e37)return!0x1;let {records:_0x5a8ccc,hierarchyChanges:_0xb1eb41,hierarchyFieldToMaterialize:_0x46b3e1}=_0x179e37,_0x40a4e5=_0x46b3e1?_0x209d80[_0x3a52ad(0x384)](_0x460b10,_0x202fc0,_0x46b3e1,_0x4b3cae[_0x3a52ad(0x4cb)][_0x202fc0]['fieldOrder'][_0x3a52ad(0x13b)]):null,_0x9bf75b=_0x209d80['createBatchCreateRecordsOp'](_0x460b10,_0x202fc0,_0x5a8ccc),_0x201a4d=_0x4fd831([..._0x40a4e5?[_0x40a4e5]:[],_0x9bf75b]),_0x520a31=new _0x1f3607()[_0x3a52ad(0x3d4)](_0x4b3cae,_0x201a4d),_0x3488f3={'unitId':_0x4a1ffd,'op':_0x201a4d,'hierarchyChanges':_0xb1eb41['length']?_0xb1eb41:void 0x0,'source':_0xb1eb41[_0x3a52ad(0x13b)]?_0x1ded99[_0x3a52ad(0x268)]??'ui':void 0x0},_0x3abe9b={..._0x3488f3,'source':_0xb1eb41[_0x3a52ad(0x13b)]?_0x3a52ad(0x300):void 0x0},_0xfc1671={'unitId':_0x4a1ffd,'op':_0x520a31,'hierarchyChanges':_0xb1eb41[_0x3a52ad(0x13b)]?_0xb1eb41[_0x3a52ad(0x2a7)](_0x1c05ed=>({..._0x1c05ed,'oldParentRecordId':_0x1c05ed['parentRecordId'],'parentRecordId':null})):void 0x0,'source':_0xb1eb41[_0x3a52ad(0x13b)]?_0x3a52ad(0x38f):void 0x0};return _0x1c588a[_0x3a52ad(0x2ec)](_0x855ab4['id'],_0x3488f3)?(_0x5d1958[_0x3a52ad(0x176)](_0x4a1ffd),_0x2f4fe['pushUndoRedo']({'unitID':_0x4a1ffd,'undoMutations':[{'id':_0x855ab4['id'],'params':_0xfc1671}],'redoMutations':[{'id':_0x855ab4['id'],'params':_0x3abe9b}]}),!0x0):!0x1;}},_0x46682e={'id':_0x164ecf(0x48a),'type':_0x9b4f24[_0x164ecf(0x26d)]['COMMAND'],'handler':(_0x5cad48,_0x468353)=>{const _0x325931=_0x164ecf;if(!_0x468353)return!0x1;let _0x526dcd=_0x5cad48[_0x325931(0x3e9)](_0x9b4f24['IUniverInstanceService']),{unitId:_0x5e674d,tableId:_0x52d741,recordIds:_0x1ac86a}=_0x468353,_0x670b09=_0x526dcd[_0x325931(0x10d)](_0x5e674d,_0x9b4f24[_0x325931(0x3d1)][_0x325931(0x3a1)]);if(!_0x670b09||!_0x19c89e(_0x670b09,_0x52d741,{'recordIds':_0x1ac86a}))return!0x1;let _0x3bd31a=_0x5cad48['get'](_0x9b4f24[_0x325931(0x46a)]),_0x2f57db=_0x5cad48[_0x325931(0x3e9)](_0x9b4f24['IUndoRedoService']),_0x2923f2=_0x670b09[_0x325931(0x293)](),_0x525706=_0x526f9d(_0x2923f2[_0x325931(0x4cb)][_0x52d741],_0x1ac86a),_0x3b5d74=new _0x1b7d14()[_0x325931(0x373)](_0x2923f2,_0x52d741,_0x1ac86a),_0x15a0b0=new _0x1f3607()['invertOp'](_0x2923f2,_0x3b5d74),_0x4df8fc={'unitId':_0x5e674d,'op':_0x3b5d74,'hierarchyChanges':_0x525706,'source':_0x468353[_0x325931(0x268)]??'ui'},_0x5484c0={..._0x4df8fc,'source':_0x325931(0x300)},_0xd6d6bb={'unitId':_0x5e674d,'op':_0x15a0b0,'hierarchyChanges':_0x525706[_0x325931(0x2a7)](_0x363a5f=>({..._0x363a5f,'oldParentRecordId':_0x363a5f['parentRecordId'],'parentRecordId':_0x363a5f[_0x325931(0x24d)]})),'source':'undo'};return _0x3bd31a[_0x325931(0x2ec)](_0x855ab4['id'],_0x4df8fc)?(_0x526dcd[_0x325931(0x176)](_0x5e674d),_0x2f57db[_0x325931(0x106)]({'unitID':_0x5e674d,'undoMutations':[{'id':_0x855ab4['id'],'params':_0xd6d6bb}],'redoMutations':[{'id':_0x855ab4['id'],'params':_0x5484c0}]}),!0x0):!0x1;}},_0x297098={'id':_0x164ecf(0x35b),'type':_0x9b4f24[_0x164ecf(0x26d)][_0x164ecf(0x3e5)],'handler':(_0x15c689,_0x341e1e)=>{const _0x33fff=_0x164ecf;if(!_0x341e1e)return!0x1;let _0x2a5321=_0x15c689[_0x33fff(0x3e9)](_0x9b4f24[_0x33fff(0x15c)]),{unitId:_0x1bc12c,tableId:_0x563f53,fieldId:_0x346988,input:_0x3e43a8}=_0x341e1e,_0x4a0279=_0x2a5321[_0x33fff(0x10d)](_0x1bc12c,_0x9b4f24[_0x33fff(0x3d1)][_0x33fff(0x3a1)]);if(!_0x4a0279||_0x346988===_0x9b4f24[_0x33fff(0x2c4)]||!_0x19c89e(_0x4a0279,_0x563f53,{'fieldIds':[_0x346988]}))return!0x1;let _0x1f4c6b=_0x15c689['get'](_0x9b4f24[_0x33fff(0x46a)]),_0x4d4524=_0x15c689[_0x33fff(0x3e9)](_0x9b4f24[_0x33fff(0x493)]),_0x3450b3=_0x4a0279[_0x33fff(0x293)]();if(!_0x3cd3a4(_0x4a0279,_0x563f53,{..._0x3450b3[_0x33fff(0x4cb)][_0x563f53]['fields'][_0x346988],..._0x3e43a8}))return!0x1;let _0x55b43e=new _0x1b7d14()[_0x33fff(0x4b2)](_0x3450b3,_0x563f53,_0x346988,_0x3e43a8),_0x35a21c=new _0x1f3607()[_0x33fff(0x3d4)](_0x3450b3,_0x55b43e),_0x1833d6={'unitId':_0x1bc12c,'op':_0x55b43e},_0x10993a={'unitId':_0x1bc12c,'op':_0x35a21c};return _0x1f4c6b['syncExecuteCommand'](_0x855ab4['id'],_0x1833d6)?(_0x2a5321[_0x33fff(0x176)](_0x1bc12c),_0x4d4524[_0x33fff(0x106)]({'unitID':_0x1bc12c,'undoMutations':[{'id':_0x855ab4['id'],'params':_0x10993a}],'redoMutations':[{'id':_0x855ab4['id'],'params':_0x1833d6}]}),!0x0):!0x1;}},_0x2a9c68={'id':_0x164ecf(0x16e),'type':_0x9b4f24[_0x164ecf(0x26d)][_0x164ecf(0x3e5)],'handler'(_0x15af50,_0xe16d82){const _0x271fec=_0x164ecf;var _0x49dba2;if(!_0xe16d82)return!0x1;let {unitId:_0x282f85,tableId:_0x26104b,parentRecordId:_0x295a28}=_0xe16d82,_0x43f2d0=_0x15af50[_0x271fec(0x3e9)](_0x9b4f24[_0x271fec(0x15c)]),_0x5f18d5=_0x43f2d0[_0x271fec(0x10d)](_0x282f85,_0x9b4f24[_0x271fec(0x3d1)][_0x271fec(0x3a1)]);if(!_0x5f18d5||!_0x19c89e(_0x5f18d5,_0x26104b,{'recordIds':[_0x295a28]}))throw new _0x4c5b17(_0x271fec(0x336));let _0x128974=_0x5f18d5[_0x271fec(0x293)](),_0x181c14=_0x128974['tables'][_0x26104b],_0x4936af=_0x98202f(_0x181c14),_0x43f1b3=_0x4936af??_0xe16d82[_0x271fec(0x195)]??_0x2e350d(_0x181c14);if(_0x4936af&&_0xe16d82['fieldId']&&_0xe16d82['fieldId']!==_0x4936af||_0x181c14[_0x271fec(0x43b)][_0x43f1b3]&&!_0x12230b(_0x181c14,_0x43f1b3))throw new _0x4c5b17(_0x271fec(0x347));if((_0x32c245(_0x181c14,_0x43f1b3)['depthByRecordId'][_0x271fec(0x3e9)](_0x295a28)??0x0)+0x1>=0x5)throw new _0x4c5b17('maxDepth');if(!_0x52f5c8(_0x5f18d5,_0x26104b,_0xe16d82['record']))return!0x1;let _0x3e7047=_0x43c7b7({..._0xe16d82[_0x271fec(0x2cb)],'values':{..._0xe16d82[_0x271fec(0x2cb)][_0x271fec(0x10a)],[_0x43f1b3]:_0x50a032([_0x295a28])}}),_0x5ea0a7=_0x15af50['get'](_0x1e9ebe),_0x48b8e3=new _0x1b7d14(),_0x3b2559=_0x181c14[_0x271fec(0x43b)][_0x43f1b3],_0xf694ba=_0x3b2559?((_0x49dba2=_0xfcdc79(_0x3b2559))==null?void 0x0:_0x49dba2[_0x271fec(0x465)])===_0x9b4f24[_0x271fec(0x4a2)]['Parent']?null:_0x48b8e3[_0x271fec(0x228)](_0x128974,_0x26104b,_0x43f1b3,{'config':{..._0x3b2559['config'],'relationRole':_0x9b4f24['BaseRecordLinkRole'][_0x271fec(0x32d)]}}):_0x5ea0a7['createCreateFieldOp'](_0x5f18d5,_0x26104b,_0x736d67(_0x181c14,_0x43f1b3,_0xe16d82[_0x271fec(0x1fa)]),_0x181c14[_0x271fec(0x30b)][_0x271fec(0x13b)]),_0xb3c504=_0x5ea0a7[_0x271fec(0x16d)](_0x5f18d5,_0x26104b,_0x3e7047),_0xba3e9=_0x4fd831([..._0xf694ba?[_0xf694ba]:[],_0xb3c504]),_0x5ccb15=new _0x1f3607()['invertOp'](_0x128974,_0xba3e9),_0x2f336b={'tableId':_0x26104b,'fieldId':_0x43f1b3,'recordId':_0x3e7047['id'],'oldParentRecordId':null,'parentRecordId':_0x295a28},_0x31dbf2={'unitId':_0x282f85,'op':_0xba3e9,'trigger':_0x2a9c68['id'],'hierarchyChanges':[_0x2f336b],'source':_0xe16d82[_0x271fec(0x268)]??'ui'},_0x219d68={..._0x31dbf2,'source':_0x271fec(0x300)},_0x5346c2={'unitId':_0x282f85,'op':_0x5ccb15,'trigger':_0x2a9c68['id'],'hierarchyChanges':[{..._0x2f336b,'oldParentRecordId':_0x295a28,'parentRecordId':null}],'source':_0x271fec(0x38f)};return _0x15af50[_0x271fec(0x3e9)](_0x9b4f24['ICommandService'])[_0x271fec(0x2ec)](_0x855ab4['id'],_0x31dbf2)?(_0x43f2d0['focusUnit'](_0x282f85),_0x15af50[_0x271fec(0x3e9)](_0x9b4f24['IUndoRedoService'])[_0x271fec(0x106)]({'unitID':_0x282f85,'undoMutations':[{'id':_0x855ab4['id'],'params':_0x5346c2}],'redoMutations':[{'id':_0x855ab4['id'],'params':_0x219d68}]}),!0x0):!0x1;}},_0x426f38={'id':_0x164ecf(0x45c),'type':_0x9b4f24[_0x164ecf(0x26d)][_0x164ecf(0x3e5)],'handler'(_0x1750ce,_0x30620f){const _0x5317b3=_0x164ecf;if(!_0x30620f)return!0x1;let _0x1376b6=_0x1750ce[_0x5317b3(0x3e9)](_0x9b4f24['IUniverInstanceService']),{unitId:_0x14856e,tableId:_0x3968d1,field:_0x5179ab,index:_0x2171b9,viewIndexes:_0x34558f}=_0x30620f,_0x2ee93f=_0x1376b6[_0x5317b3(0x10d)](_0x14856e,_0x9b4f24[_0x5317b3(0x3d1)][_0x5317b3(0x3a1)]);if(!_0x2ee93f||!_0x19c89e(_0x2ee93f,_0x3968d1)||_0x2ee93f['getSnapshot']()['tables'][_0x3968d1][_0x5317b3(0x43b)][_0x5179ab['id']]||_0x2171b9===0x0||!_0x3cd3a4(_0x2ee93f,_0x3968d1,_0x5179ab))return!0x1;let _0x82f519=_0x1750ce[_0x5317b3(0x3e9)](_0x9b4f24['ICommandService']),_0x2753cd=_0x1750ce[_0x5317b3(0x3e9)](_0x9b4f24[_0x5317b3(0x493)]),_0x484e22=_0x1750ce[_0x5317b3(0x3e9)](_0x1e9ebe)[_0x5317b3(0x384)](_0x2ee93f,_0x3968d1,_0x5179ab,_0x2171b9,_0x34558f),_0x5a28bc=new _0x1f3607()[_0x5317b3(0x3d4)](_0x2ee93f[_0x5317b3(0x293)](),_0x484e22),_0x3c293f={'unitId':_0x14856e,'op':_0x484e22},_0x583d7d={'unitId':_0x14856e,'op':_0x5a28bc};return _0x82f519['syncExecuteCommand'](_0x855ab4['id'],_0x3c293f)?(_0x1376b6['focusUnit'](_0x14856e),_0x2753cd[_0x5317b3(0x106)]({'unitID':_0x14856e,'undoMutations':[{'id':_0x855ab4['id'],'params':_0x583d7d}],'redoMutations':[{'id':_0x855ab4['id'],'params':_0x3c293f}]}),!0x0):!0x1;}},_0x5c0c75={'id':'base.command.create-base-record','type':_0x9b4f24['CommandType'][_0x164ecf(0x3e5)],'handler'(_0x1f1305,_0x4ade82){const _0x4eb919=_0x164ecf;if(!_0x4ade82)return!0x1;let _0x3c3534=_0x1f1305['get'](_0x9b4f24[_0x4eb919(0x15c)]),{unitId:_0xde2848,tableId:_0x2816ab,record:_0x1bd646}=_0x4ade82,_0xf6a53f=_0x3c3534[_0x4eb919(0x10d)](_0xde2848,_0x9b4f24[_0x4eb919(0x3d1)]['UNIVER_BASE']);if(!_0xf6a53f||!_0x19c89e(_0xf6a53f,_0x2816ab))return!0x1;let _0x393afe=_0x1f1305[_0x4eb919(0x3e9)](_0x9b4f24['ICommandService']),_0x443147=_0x1f1305[_0x4eb919(0x3e9)](_0x9b4f24[_0x4eb919(0x493)]),_0xe280ba=_0x1f1305['get'](_0x1e9ebe),_0x2208df=_0xf6a53f[_0x4eb919(0x293)](),_0x4fe511=_0x27ce94(_0xf6a53f,_0x2816ab,[_0x1bd646]);if(!_0x4fe511)return!0x1;let [_0x5c1ec2]=_0x4fe511[_0x4eb919(0x312)],{hierarchyChanges:_0x5d8372,hierarchyFieldToMaterialize:_0x3651d8}=_0x4fe511,_0x405aec=_0x3651d8?_0xe280ba['createCreateFieldOp'](_0xf6a53f,_0x2816ab,_0x3651d8,_0x2208df[_0x4eb919(0x4cb)][_0x2816ab][_0x4eb919(0x30b)][_0x4eb919(0x13b)]):null,_0x237376=_0xe280ba[_0x4eb919(0x16d)](_0xf6a53f,_0x2816ab,_0x5c1ec2),_0xf98a5f=_0x4fd831([..._0x405aec?[_0x405aec]:[],_0x237376]),_0x11e9c2=new _0x1f3607()[_0x4eb919(0x3d4)](_0x2208df,_0xf98a5f),_0x31af5b={'unitId':_0xde2848,'op':_0xf98a5f,'hierarchyChanges':_0x5d8372[_0x4eb919(0x13b)]?_0x5d8372:void 0x0,'source':_0x5d8372[_0x4eb919(0x13b)]?_0x4ade82['source']??'ui':void 0x0},_0x134bb3={..._0x31af5b,'source':_0x5d8372[_0x4eb919(0x13b)]?_0x4eb919(0x300):void 0x0},_0xd16ade={'unitId':_0xde2848,'op':_0x11e9c2,'hierarchyChanges':_0x5d8372[_0x4eb919(0x13b)]?_0x5d8372[_0x4eb919(0x2a7)](_0x447817=>({..._0x447817,'oldParentRecordId':_0x447817[_0x4eb919(0x40c)],'parentRecordId':null})):void 0x0,'source':_0x5d8372[_0x4eb919(0x13b)]?_0x4eb919(0x38f):void 0x0};return _0x393afe[_0x4eb919(0x2ec)](_0x855ab4['id'],_0x31af5b)?(_0x3c3534['focusUnit'](_0xde2848),_0x443147[_0x4eb919(0x106)]({'unitID':_0xde2848,'undoMutations':[{'id':_0x855ab4['id'],'params':_0xd16ade}],'redoMutations':[{'id':_0x855ab4['id'],'params':_0x134bb3}]}),!0x0):!0x1;}},_0x237172={'id':_0x164ecf(0x1a5),'type':_0x9b4f24['CommandType'][_0x164ecf(0x3e5)],'handler':(_0x4ec6be,_0x5b0944)=>{const _0x3a7191=_0x164ecf;if(!_0x5b0944)return!0x1;let _0x4854b4=_0x4ec6be[_0x3a7191(0x3e9)](_0x9b4f24['IUniverInstanceService']),{unitId:_0x577c4f,table:_0x3c237d,index:_0x208b6a}=_0x5b0944,_0x488d37=_0x4854b4[_0x3a7191(0x10d)](_0x577c4f,_0x9b4f24[_0x3a7191(0x3d1)][_0x3a7191(0x3a1)]);if(!_0x488d37||_0x488d37['getSnapshot']()[_0x3a7191(0x4cb)][_0x3c237d['id']])return!0x1;try{(0x0,_0x9b4f24[_0x3a7191(0x2dc)])(_0x3c237d);}catch{return!0x1;}let _0x239466=_0x4ec6be[_0x3a7191(0x3e9)](_0x9b4f24[_0x3a7191(0x46a)]),_0x4c742c=_0x4ec6be[_0x3a7191(0x3e9)](_0x9b4f24[_0x3a7191(0x493)]),_0x4ccf2f=_0x488d37[_0x3a7191(0x293)](),_0x2ae432={..._0x3c237d,'name':_0x488d37[_0x3a7191(0x2e5)](_0x3c237d[_0x3a7191(0x267)])},_0x2143c6=new _0x1b7d14()['createTable'](_0x4ccf2f,_0x2ae432,_0x208b6a),_0x970cd6=new _0x1f3607()[_0x3a7191(0x3d4)](_0x4ccf2f,_0x2143c6),_0x32a5da={'unitId':_0x577c4f,'op':_0x2143c6},_0x42af9d={'unitId':_0x577c4f,'op':_0x970cd6};return _0x239466['syncExecuteCommand'](_0x855ab4['id'],_0x32a5da)?(_0x4854b4[_0x3a7191(0x176)](_0x577c4f),_0x4c742c[_0x3a7191(0x106)]({'unitID':_0x577c4f,'undoMutations':[{'id':_0x855ab4['id'],'params':_0x42af9d}],'redoMutations':[{'id':_0x855ab4['id'],'params':_0x32a5da}]}),!0x0):!0x1;}};function _0x151e21(_0xd064d4,_0x182b33,_0x3c4734=[]){const _0x5e83af=_0x164ecf;let _0x2a0e98=new Set([...Object[_0x5e83af(0x10a)](_0xd064d4[_0x5e83af(0x43b)])['filter'](_0x408d17=>_0x408d17)[_0x5e83af(0x2a7)](_0xfd1e92=>_0xfd1e92['name']),..._0x3c4734[_0x5e83af(0x2a7)](_0x54c8ba=>_0x54c8ba['name'])]);if(!_0x2a0e98['has'](_0x182b33))return _0x182b33;let _0x52933b=0x2;for(;_0x2a0e98[_0x5e83af(0x1df)](_0x182b33+'\x20'+_0x52933b);)_0x52933b++;return _0x182b33+'\x20'+_0x52933b;}function _0x2ba435(_0x3ced9c,_0x12c826){const _0x5f58d9=_0x164ecf;if(!_0x3ced9c||!_0x12c826[_0x5f58d9(0x13b)])return;let _0x5da700=[..._0x3ced9c];return _0x12c826[_0x5f58d9(0x49e)](_0x16ab06=>{_0x5da700['includes'](_0x16ab06)||_0x5da700['push'](_0x16ab06);}),_0x5da700;}let _0x3ca44b={'options':[{'id':_0x164ecf(0x4c6),'name':_0x164ecf(0x4b4),'color':'#BFDBFE'},{'id':'doing','name':_0x164ecf(0x3ad),'color':'#FDE68A'},{'id':'done','name':'Done','color':'#BBF7D0'}]},_0x56c459={'locale':_0x164ecf(0x28c),'pattern':_0x164ecf(0x245),'includeTime':!0x1,'hourCycle':_0x164ecf(0x12c),'defaultMode':'none'};function _0x11d450(_0x27bfb3,_0x5849a8,_0x2b19d1,_0x3c628a){const _0x204c2b=_0x164ecf;var _0xd19f6d;let _0x3fd2cf=new _0x1b7d14(),_0x11679a=_0x27bfb3['tables'][_0x5849a8],_0x36d45d=_0x11679a?{..._0x2b19d1,'fieldOrder':[_0x9b4f24['BASE_RECORD_ID_FIELD_ID'],...(_0x2b19d1[_0x204c2b(0x30b)]??_0x11679a[_0x204c2b(0x30b)])[_0x204c2b(0x41f)](_0x47bc26=>_0x47bc26!==_0x9b4f24[_0x204c2b(0x2c4)])],'fieldSettings':{..._0x2b19d1[_0x204c2b(0x156)],[_0x9b4f24[_0x204c2b(0x2c4)]]:{...(_0xd19f6d=_0x2b19d1[_0x204c2b(0x156)])==null?void 0x0:_0xd19f6d[_0x9b4f24[_0x204c2b(0x2c4)]],'hidden':!0x0}}}:_0x2b19d1;if(_0x11679a&&_0x36d45d[_0x204c2b(0x132)]===_0x204c2b(0x3d7)){let _0x17b9e0=_0x3a4241(_0x11679a,_0x36d45d),_0x514ac8=_0x17b9e0['changed']?{..._0x36d45d,'config':_0x17b9e0[_0x204c2b(0x19f)],'fieldOrder':_0x17b9e0['fieldOrder']??_0x36d45d[_0x204c2b(0x30b)]}:_0x36d45d;return _0x4fd831([..._0x17b9e0[_0x204c2b(0x43b)][_0x204c2b(0x2a7)](_0x347955=>_0x3fd2cf[_0x204c2b(0x205)](_0x27bfb3,_0x5849a8,{'field':_0x347955})),_0x3fd2cf[_0x204c2b(0x20f)](_0x27bfb3,_0x5849a8,_0x514ac8,_0x3c628a)]);}if(!_0x11679a||_0x36d45d['type']!==_0x204c2b(0x152)&&_0x36d45d[_0x204c2b(0x132)]!==_0x204c2b(0x1bf))return _0x3fd2cf['createView'](_0x27bfb3,_0x5849a8,_0x36d45d,_0x3c628a);let _0x449d87=_0x4d52c6(_0x11679a,_0x36d45d),_0x5aa601=_0x449d87[_0x204c2b(0x398)]?{..._0x36d45d,'config':_0x449d87[_0x204c2b(0x19f)],'fieldOrder':_0x449d87[_0x204c2b(0x30b)]??_0x36d45d['fieldOrder']}:_0x36d45d;return _0x36d45d['type']===_0x204c2b(0x1bf)&&_0x38699f(_0x36d45d)&&(_0x5aa601=_0x11939e(_0x11679a,_0x5aa601,_0x449d87[_0x204c2b(0x43b)])),_0x4fd831([..._0x449d87[_0x204c2b(0x43b)][_0x204c2b(0x2a7)](_0x5a525a=>_0x3fd2cf[_0x204c2b(0x205)](_0x27bfb3,_0x5849a8,{'field':_0x5a525a})),_0x3fd2cf[_0x204c2b(0x20f)](_0x27bfb3,_0x5849a8,_0x5aa601,_0x3c628a)]);}function _0x4d52c6(_0x4e8e61,_0x276621,_0x2f27aa=!0x1){const _0x144544=_0x164ecf;var _0x3fd4a3,_0xd6801;let _0x1a0055=_0x4e8e61[_0x144544(0x30b)][_0x144544(0x41f)](_0x77798=>_0x36d084(_0x4e8e61,_0x77798)),_0x371066=[],_0x2fddb5={..._0x276621[_0x144544(0x19f)]??{}},_0x3a1485=typeof _0x2fddb5[_0x144544(0x13a)]==_0x144544(0x1e4)&&_0x36d084(_0x4e8e61,_0x2fddb5[_0x144544(0x13a)])?_0x2fddb5[_0x144544(0x13a)]:_0x1a0055[0x0],_0x55b681=typeof _0x2fddb5[_0x144544(0x414)]==_0x144544(0x1e4)&&_0x36d084(_0x4e8e61,_0x2fddb5[_0x144544(0x414)])&&_0x2fddb5[_0x144544(0x414)]!==_0x3a1485?_0x2fddb5['endDateFieldId']:_0x1a0055[_0x144544(0x396)](_0x46abd9=>_0x46abd9!==_0x3a1485);if(!_0x3a1485){let _0x245404=_0x17f550(_0x4e8e61,_0x371066,_0x276621[_0x144544(0x132)]==='gantt'?_0x144544(0x304):_0x144544(0x442));_0x371066[_0x144544(0x4bf)](_0x245404),_0x3a1485=_0x245404['id'];}if((_0x276621[_0x144544(0x132)]===_0x144544(0x1bf)||_0x2f27aa)&&!_0x55b681){let _0x18bfdf=_0x17f550(_0x4e8e61,_0x371066,_0x144544(0x393));_0x371066['push'](_0x18bfdf),_0x55b681=_0x18bfdf['id'];}_0x276621[_0x144544(0x132)]===_0x144544(0x152)&&!_0x55b681&&delete _0x2fddb5['endDateFieldId'],_0x2fddb5[_0x144544(0x13a)]=_0x3a1485,_0x276621['type']==='calendar'&&_0x55b681&&(_0x2fddb5[_0x144544(0x414)]=_0x55b681),_0x276621[_0x144544(0x132)]===_0x144544(0x1bf)&&(_0x2fddb5[_0x144544(0x414)]=_0x55b681??_0x3a1485);let _0x3c1826=_0x2ba435(_0x276621[_0x144544(0x30b)],_0x371066['map'](_0x2efbc9=>_0x2efbc9['id']));return{'changed':_0x371066[_0x144544(0x13b)]>0x0||_0x2fddb5[_0x144544(0x13a)]!==((_0x3fd4a3=_0x276621['config'])==null?void 0x0:_0x3fd4a3[_0x144544(0x13a)])||_0x2fddb5[_0x144544(0x414)]!==((_0xd6801=_0x276621[_0x144544(0x19f)])==null?void 0x0:_0xd6801['endDateFieldId'])||!!(_0x3c1826&&!_0x9b4f24[_0x144544(0x22c)][_0x144544(0x41e)](_0x3c1826,_0x276621[_0x144544(0x30b)]??[])),'fields':_0x371066,'config':_0x2fddb5,'fieldOrder':_0x3c1826};}function _0x3a4241(_0x2d19ba,_0x48065d){const _0x268989=_0x164ecf;var _0x34db21;let _0x2d5990=[],_0x10c5e2={..._0x48065d[_0x268989(0x19f)]??{}},_0x5b7974=typeof _0x10c5e2[_0x268989(0x370)]==_0x268989(0x1e4)&&_0x38235a(_0x2d19ba,_0x10c5e2[_0x268989(0x370)])?_0x10c5e2['groupFieldId']:_0x2d19ba[_0x268989(0x30b)][_0x268989(0x396)](_0x54ecad=>_0x38235a(_0x2d19ba,_0x54ecad));if(!_0x5b7974){let _0x1d43b0=_0x630ea6(_0x2d19ba,_0x2d5990);_0x2d5990[_0x268989(0x4bf)](_0x1d43b0),_0x5b7974=_0x1d43b0['id'];}_0x10c5e2[_0x268989(0x370)]=_0x5b7974;let _0x43d381=_0x2ba435(_0x48065d['fieldOrder'],_0x2d5990[_0x268989(0x2a7)](_0x2a9a84=>_0x2a9a84['id']));return{'changed':_0x2d5990[_0x268989(0x13b)]>0x0||_0x10c5e2['groupFieldId']!==((_0x34db21=_0x48065d[_0x268989(0x19f)])==null?void 0x0:_0x34db21[_0x268989(0x370)])||!!(_0x43d381&&!_0x9b4f24[_0x268989(0x22c)][_0x268989(0x41e)](_0x43d381,_0x48065d[_0x268989(0x30b)]??[])),'fields':_0x2d5990,'config':_0x10c5e2,'fieldOrder':_0x43d381};}function _0x38235a(_0x2ee6d6,_0x37112c){const _0x4b421c=_0x164ecf;let _0x881e38=_0x37112c?_0x2ee6d6['fields'][_0x37112c]:null;return _0x881e38?[_0x9b4f24[_0x4b421c(0x3bc)][_0x4b421c(0x378)],_0x9b4f24['BaseFieldType'][_0x4b421c(0x1be)],_0x9b4f24[_0x4b421c(0x3bc)][_0x4b421c(0x38c)],_0x9b4f24[_0x4b421c(0x3bc)][_0x4b421c(0x2ba)],_0x9b4f24[_0x4b421c(0x3bc)][_0x4b421c(0x101)],_0x9b4f24[_0x4b421c(0x3bc)][_0x4b421c(0x1f2)]]['includes'](_0x881e38[_0x4b421c(0x132)]):!0x1;}function _0x630ea6(_0x2b789f,_0x1539ea){const _0x17c14e=_0x164ecf;return{'id':'fld-'+(0x0,_0x9b4f24['generateRandomId'])(0x8),'name':_0x151e21(_0x2b789f,_0x17c14e(0x10f),_0x1539ea),'type':_0x9b4f24[_0x17c14e(0x3bc)]['SingleSelect'],'config':_0x9b4f24[_0x17c14e(0x22c)][_0x17c14e(0x1a6)](_0x3ca44b)};}function _0x38699f(_0xc45812){const _0x13d974=_0x164ecf;return Object[_0x13d974(0x1fe)](_0xc45812[_0x13d974(0x19f)]??{})[_0x13d974(0x13b)]===0x0&&Object[_0x13d974(0x1fe)](_0xc45812[_0x13d974(0x156)]??{})[_0x13d974(0x13b)]===0x0;}function _0x11939e(_0x1ae5b8,_0x59ceee,_0x4f412b){const _0x2b98e2=_0x164ecf;let _0x54eb66={..._0x59ceee[_0x2b98e2(0x19f)]??{}},_0x25b50e=_0x4f412b[_0x2b98e2(0x2a7)](_0x2f979b=>_0x2f979b['id']),_0x12e624=[..._0x1ae5b8[_0x2b98e2(0x30b)],..._0x25b50e],_0x33bf62=typeof _0x54eb66[_0x2b98e2(0x19d)]==_0x2b98e2(0x1e4)&&_0x33c286(_0x1ae5b8,_0x4f412b,_0x54eb66[_0x2b98e2(0x19d)])?_0x54eb66['titleFieldId']:_0x1ae5b8[_0x2b98e2(0x302)],_0x3a0143=typeof _0x54eb66[_0x2b98e2(0x13a)]=='string'?_0x54eb66[_0x2b98e2(0x13a)]:'',_0x237b6c=typeof _0x54eb66['endDateFieldId']==_0x2b98e2(0x1e4)?_0x54eb66[_0x2b98e2(0x414)]:_0x3a0143,_0x2d1bd6=new Set([_0x33bf62,_0x3a0143,_0x237b6c][_0x2b98e2(0x41f)](_0x494a95=>_0x494a95&&_0x33c286(_0x1ae5b8,_0x4f412b,_0x494a95))),_0x17b58e=Object[_0x2b98e2(0x224)](_0x12e624[_0x2b98e2(0x17e)](_0x1b4143=>_0x2d1bd6[_0x2b98e2(0x1df)](_0x1b4143)||!_0x33c286(_0x1ae5b8,_0x4f412b,_0x1b4143)?[]:[[_0x1b4143,{'hidden':!0x0}]]));return{..._0x59ceee,'config':{..._0x54eb66,'titleFieldId':_0x33bf62},'fieldSettings':_0x17b58e};}function _0x33c286(_0x4b4335,_0x5e6ad9,_0x5a741f){const _0x3a908f=_0x164ecf;return!!(_0x4b4335['fields'][_0x5a741f]??_0x5e6ad9[_0x3a908f(0x396)](_0x276420=>_0x276420['id']===_0x5a741f))&&!0x0;}function _0x36d084(_0x204549,_0x467888){const _0x352042=_0x164ecf;let _0x5c6086=_0x467888?_0x204549[_0x352042(0x43b)][_0x467888]:null;return!!_0x5c6086&&_0x5c6086[_0x352042(0x132)]===_0x9b4f24[_0x352042(0x3bc)][_0x352042(0x442)]&&_0x5c6086[_0x352042(0x462)]!==!0x0&&_0x5c6086[_0x352042(0x187)]!==!0x0;}function _0x17f550(_0x10bfc6,_0x50c893,_0x26c098){const _0x287114=_0x164ecf;let _0x55fdac=new Set([...Object[_0x287114(0x1fe)](_0x10bfc6[_0x287114(0x43b)]),..._0x50c893[_0x287114(0x2a7)](_0x11a2a8=>_0x11a2a8['id'])]),_0x1340e7=_0x287114(0x2bf)+(0x0,_0x9b4f24[_0x287114(0x2f8)])(0x8);for(;_0x55fdac[_0x287114(0x1df)](_0x1340e7);)_0x1340e7=_0x287114(0x2bf)+(0x0,_0x9b4f24[_0x287114(0x2f8)])(0x8);return{'id':_0x1340e7,'name':_0x151e21(_0x10bfc6,_0x26c098,_0x50c893),'type':_0x9b4f24[_0x287114(0x3bc)][_0x287114(0x442)],'config':{..._0x56c459}};}let _0x10997c={'id':_0x164ecf(0x463),'type':_0x9b4f24[_0x164ecf(0x26d)][_0x164ecf(0x3e5)],'handler':(_0x525cad,_0x3ce44f)=>{const _0xd96809=_0x164ecf;if(!_0x3ce44f)return!0x1;let _0x26eeca=_0x525cad[_0xd96809(0x3e9)](_0x9b4f24['IUniverInstanceService']),{unitId:_0x45b0bd,tableId:_0x4da7f1,view:_0x2b81cf,index:_0x1cffdd}=_0x3ce44f,_0x1ccc5e=_0x26eeca[_0xd96809(0x10d)](_0x45b0bd,_0x9b4f24[_0xd96809(0x3d1)][_0xd96809(0x3a1)]);if(!_0x1ccc5e||!_0x19c89e(_0x1ccc5e,_0x4da7f1)||_0x1ccc5e[_0xd96809(0x293)]()[_0xd96809(0x4cb)][_0x4da7f1][_0xd96809(0x339)][_0x2b81cf['id']])return!0x1;let _0x205858=_0x525cad[_0xd96809(0x3e9)](_0x9b4f24[_0xd96809(0x46a)]),_0x39c765=_0x525cad[_0xd96809(0x3e9)](_0x9b4f24[_0xd96809(0x493)]),_0x5e66af=_0x1ccc5e[_0xd96809(0x293)](),_0x542881=_0x11d450(_0x5e66af,_0x4da7f1,_0x2b81cf,_0x1cffdd),_0x3ee510=new _0x1f3607()['invertOp'](_0x5e66af,_0x542881),_0x47cb00={'unitId':_0x45b0bd,'op':_0x542881},_0x5c7a8b={'unitId':_0x45b0bd,'op':_0x3ee510};return _0x205858[_0xd96809(0x2ec)](_0x855ab4['id'],_0x47cb00)?(_0x26eeca[_0xd96809(0x176)](_0x45b0bd),_0x39c765[_0xd96809(0x106)]({'unitID':_0x45b0bd,'undoMutations':[{'id':_0x855ab4['id'],'params':_0x5c7a8b}],'redoMutations':[{'id':_0x855ab4['id'],'params':_0x47cb00}]}),!0x0):!0x1;}},_0x2494ad={'id':_0x164ecf(0x48b),'type':_0x9b4f24[_0x164ecf(0x26d)][_0x164ecf(0x3e5)],'handler'(_0x1a18d4,_0x314635){const _0x10f4d8=_0x164ecf;if(!_0x314635)return!0x1;let _0x38b3c3=_0x1a18d4[_0x10f4d8(0x3e9)](_0x9b4f24[_0x10f4d8(0x15c)]),{unitId:_0x506f9f,tableId:_0x19fd36,fieldId:_0x3cebc0}=_0x314635,_0x13e410=_0x38b3c3[_0x10f4d8(0x10d)](_0x506f9f,_0x9b4f24[_0x10f4d8(0x3d1)]['UNIVER_BASE']);if(!_0x13e410)return!0x1;let _0x31e491=_0x13e410[_0x10f4d8(0x293)](),_0x37daa9=_0x31e491[_0x10f4d8(0x4cb)][_0x19fd36];if(!_0x19c89e(_0x13e410,_0x19fd36,{'fieldIds':[_0x3cebc0]})||_0x37daa9[_0x10f4d8(0x302)]===_0x3cebc0||_0x3cebc0===_0x9b4f24[_0x10f4d8(0x2c4)])return!0x1;let _0x400eb5=_0x1a18d4[_0x10f4d8(0x3e9)](_0x9b4f24[_0x10f4d8(0x46a)]),_0x3a2457=_0x1a18d4[_0x10f4d8(0x3e9)](_0x9b4f24['IUndoRedoService']),_0x5aede3=new _0x1b7d14()[_0x10f4d8(0x31d)](_0x31e491,_0x19fd36,_0x3cebc0),_0x3c1ce8=new _0x1f3607()['invertOp'](_0x31e491,_0x5aede3),_0x5517f1={'unitId':_0x506f9f,'op':_0x5aede3},_0x45b06d={'unitId':_0x506f9f,'op':_0x3c1ce8};return _0x400eb5[_0x10f4d8(0x2ec)](_0x855ab4['id'],_0x5517f1)?(_0x38b3c3[_0x10f4d8(0x176)](_0x506f9f),_0x3a2457[_0x10f4d8(0x106)]({'unitID':_0x506f9f,'undoMutations':[{'id':_0x855ab4['id'],'params':_0x45b06d}],'redoMutations':[{'id':_0x855ab4['id'],'params':_0x5517f1}]}),!0x0):!0x1;}},_0x1a3a99={'id':_0x164ecf(0x3c8),'type':_0x9b4f24[_0x164ecf(0x26d)]['COMMAND'],'handler':(_0x1b9e94,_0x567cde)=>{const _0x32a1ce=_0x164ecf;if(!_0x567cde)return!0x1;let _0x39279c=_0x1b9e94[_0x32a1ce(0x3e9)](_0x9b4f24[_0x32a1ce(0x15c)]),{unitId:_0x1c5507,tableId:_0x4051a4,recordId:_0x4e3a5c}=_0x567cde,_0x35d114=_0x39279c['getUnit'](_0x1c5507,_0x9b4f24[_0x32a1ce(0x3d1)][_0x32a1ce(0x3a1)]);if(!_0x35d114||!_0x19c89e(_0x35d114,_0x4051a4,{'recordIds':[_0x4e3a5c]}))return!0x1;let _0x25a4bb=_0x1b9e94[_0x32a1ce(0x3e9)](_0x9b4f24['ICommandService']),_0x24fcf0=_0x1b9e94[_0x32a1ce(0x3e9)](_0x9b4f24['IUndoRedoService']),_0x5ef4ff=_0x35d114[_0x32a1ce(0x293)](),_0x3721bb=_0x526f9d(_0x5ef4ff[_0x32a1ce(0x4cb)][_0x4051a4],[_0x4e3a5c]),_0x446489=new _0x1b7d14()[_0x32a1ce(0x2c9)](_0x5ef4ff,_0x4051a4,_0x4e3a5c),_0x5df6e6=new _0x1f3607()[_0x32a1ce(0x3d4)](_0x5ef4ff,_0x446489),_0x11c900={'unitId':_0x1c5507,'op':_0x446489,'hierarchyChanges':_0x3721bb,'source':_0x567cde[_0x32a1ce(0x268)]??'ui'},_0x5ccd8c={..._0x11c900,'source':_0x32a1ce(0x300)},_0x43f823={'unitId':_0x1c5507,'op':_0x5df6e6,'hierarchyChanges':_0x3721bb['map'](_0x5e0388=>({..._0x5e0388,'oldParentRecordId':_0x5e0388[_0x32a1ce(0x40c)],'parentRecordId':_0x5e0388[_0x32a1ce(0x24d)]})),'source':_0x32a1ce(0x38f)};return _0x25a4bb['syncExecuteCommand'](_0x855ab4['id'],_0x11c900)?(_0x39279c[_0x32a1ce(0x176)](_0x1c5507),_0x24fcf0[_0x32a1ce(0x106)]({'unitID':_0x1c5507,'undoMutations':[{'id':_0x855ab4['id'],'params':_0x43f823}],'redoMutations':[{'id':_0x855ab4['id'],'params':_0x5ccd8c}]}),!0x0):!0x1;}},_0x4a1b16={'id':_0x164ecf(0x3af),'type':_0x9b4f24[_0x164ecf(0x26d)][_0x164ecf(0x3e5)],'handler':(_0x5eeddc,_0x5a37be)=>{const _0x14762b=_0x164ecf;if(!_0x5a37be)return!0x1;let _0x1c2dfa=_0x5eeddc[_0x14762b(0x3e9)](_0x9b4f24[_0x14762b(0x15c)]),{unitId:_0x931da,tableId:_0x4544bb}=_0x5a37be,_0x5ac274=_0x1c2dfa[_0x14762b(0x10d)](_0x931da,_0x9b4f24[_0x14762b(0x3d1)]['UNIVER_BASE']);if(!_0x5ac274||!_0x19c89e(_0x5ac274,_0x4544bb))return!0x1;let _0x23fe5f=_0x5eeddc['get'](_0x9b4f24[_0x14762b(0x46a)]),_0x371e7d=_0x5eeddc['get'](_0x9b4f24['IUndoRedoService']),_0x4857e2=_0x5ac274[_0x14762b(0x293)](),_0x2aa0ca=_0x220b8a(_0x4857e2,_0x4544bb);if(_0x2aa0ca['length']>0x0)return console[_0x14762b(0x439)](_0x14762b(0x28f)+_0x4544bb+_0x14762b(0x420)+_0x2aa0ca['map'](_0x29b7a1=>_0x29b7a1[_0x14762b(0x28a)]+'.'+_0x29b7a1[_0x14762b(0x195)])[_0x14762b(0x305)](',\x20')+'.'),!0x1;let _0xcb11d1=new _0x1b7d14()[_0x14762b(0x37f)](_0x4857e2,_0x4544bb),_0x577ac6=new _0x1f3607()[_0x14762b(0x3d4)](_0x4857e2,_0xcb11d1),_0x31ab49={'unitId':_0x931da,'op':_0xcb11d1},_0xe3883a={'unitId':_0x931da,'op':_0x577ac6};return _0x23fe5f[_0x14762b(0x2ec)](_0x855ab4['id'],_0x31ab49)?(_0x1c2dfa['focusUnit'](_0x931da),_0x371e7d[_0x14762b(0x106)]({'unitID':_0x931da,'undoMutations':[{'id':_0x855ab4['id'],'params':_0xe3883a}],'redoMutations':[{'id':_0x855ab4['id'],'params':_0x31ab49}]}),!0x0):!0x1;}},_0x35ee84={'id':'base.command.delete-base-view','type':_0x9b4f24[_0x164ecf(0x26d)][_0x164ecf(0x3e5)],'handler':(_0xde16ea,_0x4ef490)=>{const _0x24d554=_0x164ecf;if(!_0x4ef490)return!0x1;let _0x110c02=_0xde16ea[_0x24d554(0x3e9)](_0x9b4f24['IUniverInstanceService']),{unitId:_0x2d4689,tableId:_0x3b48c3,viewId:_0x8f4248}=_0x4ef490,_0x54af81=_0x110c02[_0x24d554(0x10d)](_0x2d4689,_0x9b4f24[_0x24d554(0x3d1)][_0x24d554(0x3a1)]);if(!_0x54af81||!_0x19c89e(_0x54af81,_0x3b48c3,{'viewIds':[_0x8f4248]}))return!0x1;let _0x2dee82=_0xde16ea[_0x24d554(0x3e9)](_0x9b4f24[_0x24d554(0x46a)]),_0x2ec116=_0xde16ea[_0x24d554(0x3e9)](_0x9b4f24[_0x24d554(0x493)]),_0x281fce=_0x54af81[_0x24d554(0x293)](),_0x31669e=new _0x1b7d14()[_0x24d554(0x1a3)](_0x281fce,_0x3b48c3,_0x8f4248),_0x51b025=new _0x1f3607()[_0x24d554(0x3d4)](_0x281fce,_0x31669e),_0x224967={'unitId':_0x2d4689,'op':_0x31669e},_0x33b425={'unitId':_0x2d4689,'op':_0x51b025};return _0x2dee82[_0x24d554(0x2ec)](_0x855ab4['id'],_0x224967)?(_0x110c02[_0x24d554(0x176)](_0x2d4689),_0x2ec116['pushUndoRedo']({'unitID':_0x2d4689,'undoMutations':[{'id':_0x855ab4['id'],'params':_0x33b425}],'redoMutations':[{'id':_0x855ab4['id'],'params':_0x224967}]}),!0x0):!0x1;}},_0x523e29={'id':_0x164ecf(0x375),'type':_0x9b4f24[_0x164ecf(0x26d)][_0x164ecf(0x3e5)],'handler':(_0x30edd4,_0x338d14)=>{const _0x16c53a=_0x164ecf;if(!_0x338d14)return!0x1;let _0x13aa54=_0x30edd4[_0x16c53a(0x3e9)](_0x9b4f24[_0x16c53a(0x15c)]),{unitId:_0x4f9103,tableId:_0x69da0c,sourceFieldId:_0x4d0f2c,field:_0xe29f0,index:_0x4b0b63,viewIndexes:_0x3f82cc}=_0x338d14,_0x2b231c=_0x13aa54[_0x16c53a(0x10d)](_0x4f9103,_0x9b4f24['UniverInstanceType'][_0x16c53a(0x3a1)]);if(!_0x2b231c||!_0x19c89e(_0x2b231c,_0x69da0c,{'fieldIds':[_0x4d0f2c]})||_0x4d0f2c===_0x9b4f24[_0x16c53a(0x2c4)]||_0x2b231c['getSnapshot']()[_0x16c53a(0x4cb)][_0x69da0c][_0x16c53a(0x43b)][_0xe29f0['id']]||_0x4b0b63===0x0||!_0x3cd3a4(_0x2b231c,_0x69da0c,_0xe29f0))return!0x1;let _0x140b37=_0x30edd4[_0x16c53a(0x3e9)](_0x9b4f24[_0x16c53a(0x46a)]),_0x181669=_0x30edd4[_0x16c53a(0x3e9)](_0x9b4f24[_0x16c53a(0x493)]),_0x130c5c=_0x2b231c[_0x16c53a(0x293)](),_0x1c9684=new _0x1b7d14()[_0x16c53a(0x21f)](_0x130c5c,_0x69da0c,_0x4d0f2c,{'field':_0xe29f0,'index':_0x4b0b63,'viewIndexes':_0x3f82cc}),_0x58a4b9=new _0x1f3607()['invertOp'](_0x130c5c,_0x1c9684),_0xee3c62={'unitId':_0x4f9103,'op':_0x1c9684},_0x30b72f={'unitId':_0x4f9103,'op':_0x58a4b9};return _0x140b37[_0x16c53a(0x2ec)](_0x855ab4['id'],_0xee3c62)?(_0x13aa54[_0x16c53a(0x176)](_0x4f9103),_0x181669[_0x16c53a(0x106)]({'unitID':_0x4f9103,'undoMutations':[{'id':_0x855ab4['id'],'params':_0x30b72f}],'redoMutations':[{'id':_0x855ab4['id'],'params':_0xee3c62}]}),!0x0):!0x1;}},_0x126c6e={'id':_0x164ecf(0x108),'type':_0x9b4f24['CommandType'][_0x164ecf(0x3e5)],'handler':(_0x5b93a6,_0x388be1)=>{const _0x3f536d=_0x164ecf;if(!_0x388be1)return!0x1;let _0x115397=_0x5b93a6[_0x3f536d(0x3e9)](_0x9b4f24['IUniverInstanceService']),{unitId:_0x32aa24,tableId:_0x158d89,sourceRecordId:_0x2c3fa1,record:_0xaffca1}=_0x388be1,_0x5040ff=_0x115397[_0x3f536d(0x10d)](_0x32aa24,_0x9b4f24[_0x3f536d(0x3d1)]['UNIVER_BASE']);if(!_0x5040ff||!_0x19c89e(_0x5040ff,_0x158d89,{'recordIds':[_0x2c3fa1]})||!_0x52f5c8(_0x5040ff,_0x158d89,_0xaffca1))return!0x1;let _0x5b40cd=_0x5b93a6[_0x3f536d(0x3e9)](_0x9b4f24[_0x3f536d(0x46a)]),_0x426ed4=_0x5b93a6[_0x3f536d(0x3e9)](_0x9b4f24[_0x3f536d(0x493)]),_0x3270f0=_0x5040ff[_0x3f536d(0x293)](),_0x2d2a2a=_0x43c7b7(_0xaffca1),_0x3b5eba=_0x59860b(_0x3270f0[_0x3f536d(0x4cb)][_0x158d89],[_0x2d2a2a]),_0x1b7edb=new _0x1b7d14()[_0x3f536d(0x39b)](_0x3270f0,_0x158d89,_0x2c3fa1,_0x2d2a2a),_0x3d22e7=new _0x1f3607()[_0x3f536d(0x3d4)](_0x3270f0,_0x1b7edb),_0x12c558={'unitId':_0x32aa24,'op':_0x1b7edb,'hierarchyChanges':_0x3b5eba[_0x3f536d(0x13b)]?_0x3b5eba:void 0x0,'source':_0x3b5eba[_0x3f536d(0x13b)]?_0x388be1['source']??'ui':void 0x0},_0x270f14={..._0x12c558,'source':_0x3b5eba[_0x3f536d(0x13b)]?_0x3f536d(0x300):void 0x0},_0x1e5539={'unitId':_0x32aa24,'op':_0x3d22e7,'hierarchyChanges':_0x3b5eba[_0x3f536d(0x13b)]?_0x3b5eba[_0x3f536d(0x2a7)](_0x99644=>({..._0x99644,'oldParentRecordId':_0x99644['parentRecordId'],'parentRecordId':null})):void 0x0,'source':_0x3b5eba[_0x3f536d(0x13b)]?'undo':void 0x0};return _0x5b40cd[_0x3f536d(0x2ec)](_0x855ab4['id'],_0x12c558)?(_0x115397[_0x3f536d(0x176)](_0x32aa24),_0x426ed4['pushUndoRedo']({'unitID':_0x32aa24,'undoMutations':[{'id':_0x855ab4['id'],'params':_0x1e5539}],'redoMutations':[{'id':_0x855ab4['id'],'params':_0x270f14}]}),!0x0):!0x1;}},_0x544d78={'id':_0x164ecf(0x36c),'type':_0x9b4f24['CommandType'][_0x164ecf(0x3e5)],'handler'(_0x418d9f,_0x114b1b){const _0x2e8dc0=_0x164ecf;if(!_0x114b1b)return!0x1;let _0x269459=_0x418d9f[_0x2e8dc0(0x3e9)](_0x9b4f24['IUniverInstanceService']),{unitId:_0x55eda5,tableId:_0x13d42a,viewId:_0x1f1569,ensureEndDateField:_0x5dadb1}=_0x114b1b,_0x584fbf=_0x269459[_0x2e8dc0(0x10d)](_0x55eda5,_0x9b4f24[_0x2e8dc0(0x3d1)][_0x2e8dc0(0x3a1)]);if(!_0x584fbf||!_0x19c89e(_0x584fbf,_0x13d42a,{'viewIds':[_0x1f1569]}))return!0x1;let _0x810179=_0x584fbf[_0x2e8dc0(0x293)](),_0x25006b=_0x810179[_0x2e8dc0(0x4cb)][_0x13d42a],_0x29340e=_0x25006b==null?void 0x0:_0x25006b[_0x2e8dc0(0x339)][_0x1f1569];if(!_0x25006b||!_0x29340e||_0x29340e['type']!=='calendar'&&_0x29340e[_0x2e8dc0(0x132)]!==_0x2e8dc0(0x1bf))return!0x1;let _0x974d97=_0x4d52c6(_0x25006b,_0x29340e,_0x5dadb1===!0x0);if(!_0x974d97[_0x2e8dc0(0x398)])return!0x1;let _0x1a0da0=_0x418d9f[_0x2e8dc0(0x3e9)](_0x9b4f24[_0x2e8dc0(0x46a)]),_0x29e0e7=_0x418d9f['get'](_0x9b4f24[_0x2e8dc0(0x493)]),_0x32d9c2=new _0x1b7d14(),_0x52fbfb=[..._0x974d97['fields'][_0x2e8dc0(0x2a7)](_0x4990ed=>_0x32d9c2['createField'](_0x810179,_0x114b1b[_0x2e8dc0(0x28a)],{'field':_0x4990ed})),_0x1da561([..._0x42bfb0(_0x114b1b[_0x2e8dc0(0x28a)],_0x114b1b[_0x2e8dc0(0x1e7)]),_0x2e8dc0(0x19f)],_0x29340e[_0x2e8dc0(0x19f)],_0x974d97[_0x2e8dc0(0x19f)])];_0x974d97[_0x2e8dc0(0x30b)]&&_0x52fbfb[_0x2e8dc0(0x4bf)](_0x1da561([..._0x42bfb0(_0x114b1b[_0x2e8dc0(0x28a)],_0x114b1b[_0x2e8dc0(0x1e7)]),_0x2e8dc0(0x30b)],_0x29340e[_0x2e8dc0(0x30b)],_0x974d97[_0x2e8dc0(0x30b)]));let _0x3b9349=_0x4fd831(_0x52fbfb),_0x17e32e=new _0x1f3607()[_0x2e8dc0(0x3d4)](_0x810179,_0x3b9349),_0x32d237={'unitId':_0x55eda5,'op':_0x3b9349},_0x1f6e22={'unitId':_0x55eda5,'op':_0x17e32e};return _0x1a0da0[_0x2e8dc0(0x2ec)](_0x855ab4['id'],_0x32d237)?(_0x269459['focusUnit'](_0x55eda5),_0x29e0e7[_0x2e8dc0(0x106)]({'unitID':_0x55eda5,'undoMutations':[{'id':_0x855ab4['id'],'params':_0x1f6e22}],'redoMutations':[{'id':_0x855ab4['id'],'params':_0x32d237}]}),!0x0):!0x1;}};function _0x1da561(_0x496ab9,_0x5ac47d,_0x51c7eb){const _0x2dd89b=_0x164ecf;return _0x5ac47d===void 0x0?_0x9b4f24['JSON1']['insertOp'](_0x496ab9,_0x51c7eb):_0x9b4f24[_0x2dd89b(0x47b)][_0x2dd89b(0x189)](_0x496ab9,_0x5ac47d,_0x51c7eb);}function _0x42bfb0(_0x29b000,_0x184b34){const _0x44aae3=_0x164ecf;return[_0x44aae3(0x4cb),_0x29b000,'views',_0x184b34];}let _0x2013d4={'id':_0x164ecf(0x3bb),'type':_0x9b4f24[_0x164ecf(0x26d)][_0x164ecf(0x3e5)],'handler':(_0xf29802,_0xbd1711)=>{const _0x534251=_0x164ecf;if(!_0xbd1711)return!0x1;let _0x554899=_0xf29802['get'](_0x9b4f24[_0x534251(0x15c)]),{unitId:_0x4f2d14,tableId:_0x26eca9,fieldId:_0x2b1814,target:_0x5ea048}=_0xbd1711,_0x27466e=_0x554899[_0x534251(0x10d)](_0x4f2d14,_0x9b4f24[_0x534251(0x3d1)][_0x534251(0x3a1)]),_0x1056ce=_0x5ea048[_0x534251(0x249)]??_0x5ea048[_0x534251(0x20b)];if(!_0x27466e||!!_0x5ea048[_0x534251(0x249)]==!!_0x5ea048[_0x534251(0x20b)]||!_0x1056ce||_0x1056ce===_0x2b1814||_0x2b1814===_0x9b4f24['BASE_RECORD_ID_FIELD_ID']||_0x5ea048[_0x534251(0x249)]===_0x9b4f24[_0x534251(0x2c4)]||!_0x19c89e(_0x27466e,_0x26eca9,{'fieldIds':[_0x2b1814,_0x1056ce]}))return!0x1;let _0x19ab2e=_0xf29802[_0x534251(0x3e9)](_0x9b4f24[_0x534251(0x46a)]),_0x124ec2=_0xf29802[_0x534251(0x3e9)](_0x9b4f24[_0x534251(0x493)]),_0x33fbbe=_0x27466e[_0x534251(0x293)](),_0x30b1ef=new _0x1b7d14()['moveField'](_0x33fbbe,_0x26eca9,_0x2b1814,_0x5ea048),_0xfa1d94=new _0x1f3607()[_0x534251(0x3d4)](_0x33fbbe,_0x30b1ef),_0x42d2ce={'unitId':_0x4f2d14,'op':_0x30b1ef},_0x48e1d3={'unitId':_0x4f2d14,'op':_0xfa1d94};return _0x19ab2e['syncExecuteCommand'](_0x855ab4['id'],_0x42d2ce)?(_0x554899['focusUnit'](_0x4f2d14),_0x124ec2[_0x534251(0x106)]({'unitID':_0x4f2d14,'undoMutations':[{'id':_0x855ab4['id'],'params':_0x48e1d3}],'redoMutations':[{'id':_0x855ab4['id'],'params':_0x42d2ce}]}),!0x0):!0x1;}},_0x2e4a52={'id':_0x164ecf(0x3db),'type':_0x9b4f24[_0x164ecf(0x26d)]['COMMAND'],'handler':(_0x600150,_0x562869)=>{const _0x53046d=_0x164ecf;var _0x211919;if(!_0x562869)return!0x1;let {unitId:_0x382a67,tableId:_0xc348e6,recordId:_0x7eeb76,parentRecordId:_0x12659a,orderKey:_0x583274}=_0x562869,_0x15714e=_0x600150[_0x53046d(0x3e9)](_0x9b4f24[_0x53046d(0x15c)]),_0x4271e0=_0x15714e[_0x53046d(0x10d)](_0x382a67,_0x9b4f24[_0x53046d(0x3d1)][_0x53046d(0x3a1)]);if(!_0x4271e0||!_0x19c89e(_0x4271e0,_0xc348e6,{'recordIds':[_0x7eeb76,..._0x12659a?[_0x12659a]:[]]}))throw new _0x4c5b17('missingRecord');let _0x2087c6=_0x4271e0[_0x53046d(0x293)](),_0x228096=_0x2087c6[_0x53046d(0x4cb)][_0xc348e6],_0x447337=_0x98202f(_0x228096),_0x497241=_0x447337??_0x562869[_0x53046d(0x195)]??_0x2e350d(_0x228096);if(_0x447337&&_0x562869[_0x53046d(0x195)]&&_0x562869[_0x53046d(0x195)]!==_0x447337||_0x228096['fields'][_0x497241]&&!_0x12230b(_0x228096,_0x497241))throw new _0x4c5b17(_0x53046d(0x347));let _0x1c738f=_0x32c245(_0x228096,_0x497241),_0x11d188=_0x1a5f43(_0x1c738f,_0x7eeb76,_0x12659a);if(!_0x11d188[_0x53046d(0x1ae)])throw new _0x4c5b17(_0x11d188[_0x53046d(0x167)]===_0x9b4f24[_0x53046d(0x291)][_0x53046d(0x2df)]?'selfParent':_0x11d188['reason']===_0x9b4f24[_0x53046d(0x291)][_0x53046d(0x4d1)]?_0x53046d(0x35a):_0x53046d(0x2f6));let _0x12a33f=_0x1c738f[_0x53046d(0x3ff)]['get'](_0x7eeb76)??null,_0x15d7b2=_0x228096[_0x53046d(0x312)][_0x7eeb76][_0x53046d(0x1ac)];if(_0x12a33f===_0x12659a&&(_0x583274===void 0x0||_0x583274===_0x15d7b2))return!0x0;let _0x5ba8e1=_0x12a33f!==_0x12659a,_0x2d2c0e=_0x583274!==void 0x0&&_0x583274!==_0x15d7b2,_0x1ceccc=new _0x1b7d14(),_0x1aed90=[],_0x2dd05f=_0x228096[_0x53046d(0x43b)][_0x497241],_0x2a55b0=_0x5ba8e1&&(!_0x2dd05f||((_0x211919=_0xfcdc79(_0x2dd05f))==null?void 0x0:_0x211919[_0x53046d(0x465)])!==_0x9b4f24[_0x53046d(0x4a2)][_0x53046d(0x32d)])?_0x2dd05f?_0x1ceccc[_0x53046d(0x228)](_0x2087c6,_0xc348e6,_0x497241,{'config':{..._0x2dd05f[_0x53046d(0x19f)],'relationRole':_0x9b4f24[_0x53046d(0x4a2)][_0x53046d(0x32d)]}}):_0x600150['get'](_0x1e9ebe)[_0x53046d(0x384)](_0x4271e0,_0xc348e6,_0x736d67(_0x228096,_0x497241,_0x562869['parentFieldName']),_0x228096['fieldOrder'][_0x53046d(0x13b)]):null;_0x2a55b0&&_0x1aed90['push'](_0x2a55b0),_0x5ba8e1&&_0x1aed90[_0x53046d(0x4bf)](_0x1ceccc[_0x53046d(0x2fa)](_0x2087c6,_0xc348e6,_0x7eeb76,_0x497241,_0x12659a?_0x50a032([_0x12659a]):'')),_0x2d2c0e&&_0x1aed90[_0x53046d(0x4bf)](_0x1ceccc[_0x53046d(0x265)](_0x2087c6,_0xc348e6,_0x7eeb76,_0x583274));let _0x2490fa=_0x4fd831(_0x1aed90),_0x42c401={'tableId':_0xc348e6,'fieldId':_0x497241,'recordId':_0x7eeb76,'oldParentRecordId':_0x12a33f,'parentRecordId':_0x12659a},_0x30a409={'unitId':_0x382a67,'op':_0x2490fa,'trigger':_0x2e4a52['id'],'hierarchyChanges':[_0x42c401],'source':_0x562869[_0x53046d(0x268)]??'ui'},_0x57c703={..._0x30a409,'source':'redo'};if(!_0x600150['get'](_0x9b4f24[_0x53046d(0x46a)])[_0x53046d(0x2ec)](_0x855ab4['id'],_0x30a409))return!0x1;let _0x41b604=_0x4271e0[_0x53046d(0x293)](),_0x4d9bb8=[];_0x5ba8e1&&_0x4d9bb8[_0x53046d(0x4bf)](_0x7ed037(_0x41b604,_0x2087c6,_0xc348e6,_0x7eeb76,_0x497241)),_0x2d2c0e&&_0x4d9bb8[_0x53046d(0x4bf)](_0x8b7fdd(_0x41b604,_0x2087c6,_0xc348e6,_0x7eeb76)),_0x2a55b0&&_0x4d9bb8[_0x53046d(0x4bf)](new _0x1f3607()[_0x53046d(0x3d4)](_0x2087c6,_0x2a55b0));let _0x31bac9={'unitId':_0x382a67,'op':_0x4fd831(_0x4d9bb8),'trigger':_0x2e4a52['id'],'hierarchyChanges':[{..._0x42c401,'oldParentRecordId':_0x12659a,'parentRecordId':_0x12a33f}],'source':_0x53046d(0x38f)};return _0x15714e[_0x53046d(0x176)](_0x382a67),_0x600150[_0x53046d(0x3e9)](_0x9b4f24[_0x53046d(0x493)])[_0x53046d(0x106)]({'unitID':_0x382a67,'undoMutations':[{'id':_0x855ab4['id'],'params':_0x31bac9}],'redoMutations':[{'id':_0x855ab4['id'],'params':_0x57c703}]}),!0x0;}};function _0x7ed037(_0x588977,_0x3a8e82,_0x59a519,_0x5b445c,_0x40b616){const _0x29d04b=_0x164ecf;var _0x81924a,_0x355a8a,_0x563146,_0x5683b0,_0x58d806,_0x11f6fb,_0x1b6c8a,_0x37fc90;let _0x5408dc=_0x588977[_0x29d04b(0x4cb)][_0x59a519],_0x2327c2=_0x3a8e82[_0x29d04b(0x4cb)][_0x59a519],_0xbd6f0f=(_0x81924a=_0x5408dc[_0x29d04b(0x371)])==null?void 0x0:_0x81924a[_0x5b445c],_0x5a8229=(_0x355a8a=_0x5408dc['colIndex'])==null?void 0x0:_0x355a8a[_0x40b616],_0x5d3407=(_0x563146=_0x2327c2[_0x29d04b(0x371)])==null?void 0x0:_0x563146[_0x5b445c],_0x3bb88e=(_0x5683b0=_0x2327c2[_0x29d04b(0x23b)])==null?void 0x0:_0x5683b0[_0x40b616],_0x12291f=_0xbd6f0f==null||_0x5a8229==null||(_0x58d806=_0x5408dc[_0x29d04b(0x216)])==null||(_0x58d806=_0x58d806[_0xbd6f0f])==null?void 0x0:_0x58d806[_0x5a8229],_0x3e6c33=_0x5d3407==null||_0x3bb88e==null||(_0x11f6fb=_0x2327c2['cellData'])==null||(_0x11f6fb=_0x11f6fb[_0x5d3407])==null?void 0x0:_0x11f6fb[_0x3bb88e],_0x4978f6=(_0x1b6c8a=_0x5408dc[_0x29d04b(0x312)][_0x5b445c])==null?void 0x0:_0x1b6c8a[_0x29d04b(0x10a)][_0x40b616],_0x35d592=(_0x37fc90=_0x2327c2[_0x29d04b(0x312)][_0x5b445c])==null?void 0x0:_0x37fc90[_0x29d04b(0x10a)][_0x40b616],_0x239acb=[],_0x329a20=_0x12412d(_0xbd6f0f==null||_0x5a8229==null?null:_0x3b7826[_0x29d04b(0x216)](_0x59a519,_0xbd6f0f,_0x5a8229),_0x12291f,_0x3e6c33);_0x329a20&&_0x239acb[_0x29d04b(0x4bf)](_0x329a20);let _0x2b6e15=_0x12412d(_0x3b7826[_0x29d04b(0x213)](_0x59a519,_0x5b445c,_0x40b616),_0x4978f6,_0x35d592);return _0x2b6e15&&_0x239acb[_0x29d04b(0x4bf)](_0x2b6e15),_0x4fd831(_0x239acb);}function _0x8b7fdd(_0x38876a,_0x50b7f7,_0xc4acf4,_0x5e1211){const _0x4403bd=_0x164ecf;var _0x39ea62,_0x1346e7;let _0x4cbc90=_0x38876a[_0x4403bd(0x4cb)][_0xc4acf4],_0x31045d=_0x50b7f7[_0x4403bd(0x4cb)][_0xc4acf4];return _0x4fd831([_0x12412d([..._0x3b7826[_0x4403bd(0x2cb)](_0xc4acf4,_0x5e1211),_0x4403bd(0x1ac)],(_0x39ea62=_0x4cbc90[_0x4403bd(0x312)][_0x5e1211])==null?void 0x0:_0x39ea62[_0x4403bd(0x1ac)],(_0x1346e7=_0x31045d['records'][_0x5e1211])==null?void 0x0:_0x1346e7[_0x4403bd(0x1ac)]),_0x12412d([..._0x3b7826['table'](_0xc4acf4),_0x4403bd(0x411)],_0x4cbc90[_0x4403bd(0x411)],_0x31045d[_0x4403bd(0x411)])][_0x4403bd(0x41f)](_0x5434ed=>!!_0x5434ed));}function _0x12412d(_0x15a795,_0x120bbe,_0x126371){const _0x6e4a5a=_0x164ecf;if(!_0x15a795||_0x120bbe===void 0x0&&_0x126371===void 0x0)return null;let _0xbf75e8=_0x9b4f24['JSONX']['getInstance']();return _0x126371===void 0x0?_0xbf75e8['removeOp'](_0x15a795,_0x120bbe):_0x120bbe===void 0x0?_0xbf75e8[_0x6e4a5a(0x4c9)](_0x15a795,_0x126371):_0xbf75e8['replaceOp'](_0x15a795,_0x120bbe,_0x126371);}let _0x205f40={'id':_0x164ecf(0x118),'type':_0x9b4f24[_0x164ecf(0x26d)][_0x164ecf(0x3e5)],'handler':(_0x5369fa,_0x53f465)=>{const _0x336f3d=_0x164ecf;if(!_0x53f465)return!0x1;let _0x46677c=_0x5369fa[_0x336f3d(0x3e9)](_0x9b4f24[_0x336f3d(0x15c)]),{unitId:_0x4d2508,tableId:_0xbe69c1,viewId:_0x58eb15,target:_0x3b23f3}=_0x53f465,_0x42190a=_0x46677c[_0x336f3d(0x10d)](_0x4d2508,_0x9b4f24[_0x336f3d(0x3d1)][_0x336f3d(0x3a1)]),_0x52f2c6=_0x3b23f3['beforeViewId']??_0x3b23f3['afterViewId'];if(!_0x42190a||!_0x52f2c6||_0x52f2c6===_0x58eb15||!_0x19c89e(_0x42190a,_0xbe69c1,{'viewIds':[_0x58eb15,_0x52f2c6]}))return!0x1;let _0x8d0822=_0x5369fa[_0x336f3d(0x3e9)](_0x9b4f24['ICommandService']),_0x2593ca=_0x5369fa[_0x336f3d(0x3e9)](_0x9b4f24['IUndoRedoService']),_0x53ac4a=_0x42190a[_0x336f3d(0x293)](),_0x1f853b=new _0x1b7d14()['moveView'](_0x53ac4a,_0xbe69c1,_0x58eb15,_0x3b23f3),_0x18028e=new _0x1f3607()[_0x336f3d(0x3d4)](_0x53ac4a,_0x1f853b),_0x226c63={'unitId':_0x4d2508,'op':_0x1f853b},_0x1ffd40={'unitId':_0x4d2508,'op':_0x18028e};return _0x8d0822[_0x336f3d(0x2ec)](_0x855ab4['id'],_0x226c63)?(_0x46677c[_0x336f3d(0x176)](_0x4d2508),_0x2593ca['pushUndoRedo']({'unitID':_0x4d2508,'undoMutations':[{'id':_0x855ab4['id'],'params':_0x1ffd40}],'redoMutations':[{'id':_0x855ab4['id'],'params':_0x226c63}]}),!0x0):!0x1;}},_0x2ba026={'id':'base.command.rename-base-table','type':_0x9b4f24['CommandType'][_0x164ecf(0x3e5)],'handler':(_0x2dadd8,_0xa4f2cf)=>{const _0x1c27a5=_0x164ecf;if(!_0xa4f2cf)return!0x1;let _0x125057=_0x2dadd8[_0x1c27a5(0x3e9)](_0x9b4f24['IUniverInstanceService']),{unitId:_0x5d882c,tableId:_0x525f1c,name:_0x52b15e}=_0xa4f2cf,_0x186909=_0x125057[_0x1c27a5(0x10d)](_0x5d882c,_0x9b4f24['UniverInstanceType'][_0x1c27a5(0x3a1)]);if(!_0x186909||!_0x19c89e(_0x186909,_0x525f1c))return!0x1;let _0x318dd6=_0x2dadd8[_0x1c27a5(0x3e9)](_0x9b4f24[_0x1c27a5(0x46a)]),_0x2e28d4=_0x2dadd8[_0x1c27a5(0x3e9)](_0x9b4f24[_0x1c27a5(0x493)]),_0x26c2d7=_0x186909['getSnapshot'](),_0x4ac4a8=new _0x1b7d14()[_0x1c27a5(0x30d)](_0x26c2d7,_0x525f1c,_0x52b15e),_0x282a1e=new _0x1f3607()[_0x1c27a5(0x3d4)](_0x26c2d7,_0x4ac4a8),_0x46c034={'unitId':_0x5d882c,'op':_0x4ac4a8},_0x313700={'unitId':_0x5d882c,'op':_0x282a1e};return _0x318dd6['syncExecuteCommand'](_0x855ab4['id'],_0x46c034)?(_0x125057[_0x1c27a5(0x176)](_0x5d882c),_0x2e28d4[_0x1c27a5(0x106)]({'unitID':_0x5d882c,'undoMutations':[{'id':_0x855ab4['id'],'params':_0x313700}],'redoMutations':[{'id':_0x855ab4['id'],'params':_0x46c034}]}),!0x0):!0x1;}},_0x294043={'id':'base.command.rename-base-view','type':_0x9b4f24['CommandType'][_0x164ecf(0x3e5)],'handler':(_0x4d207b,_0x30e17b)=>{const _0x4b21cb=_0x164ecf;if(!_0x30e17b)return!0x1;let _0x2165df=_0x4d207b[_0x4b21cb(0x3e9)](_0x9b4f24[_0x4b21cb(0x15c)]),{unitId:_0x5bf189,tableId:_0x35d538,viewId:_0x43a966,name:_0x1533da}=_0x30e17b,_0x1830d4=_0x2165df[_0x4b21cb(0x10d)](_0x5bf189,_0x9b4f24[_0x4b21cb(0x3d1)][_0x4b21cb(0x3a1)]);if(!_0x1830d4||!_0x19c89e(_0x1830d4,_0x35d538,{'viewIds':[_0x43a966]}))return!0x1;let _0x48433b=_0x4d207b[_0x4b21cb(0x3e9)](_0x9b4f24['ICommandService']),_0x2ccf00=_0x4d207b[_0x4b21cb(0x3e9)](_0x9b4f24['IUndoRedoService']),_0x59d5f6=_0x1830d4[_0x4b21cb(0x293)](),_0x1f9bb1=new _0x1b7d14()[_0x4b21cb(0xff)](_0x59d5f6,_0x35d538,_0x43a966,_0x1533da),_0xd1a8df=new _0x1f3607()['invertOp'](_0x59d5f6,_0x1f9bb1),_0x43bfa8={'unitId':_0x5bf189,'op':_0x1f9bb1},_0x292aa5={'unitId':_0x5bf189,'op':_0xd1a8df};return _0x48433b['syncExecuteCommand'](_0x855ab4['id'],_0x43bfa8)?(_0x2165df[_0x4b21cb(0x176)](_0x5bf189),_0x2ccf00[_0x4b21cb(0x106)]({'unitID':_0x5bf189,'undoMutations':[{'id':_0x855ab4['id'],'params':_0x292aa5}],'redoMutations':[{'id':_0x855ab4['id'],'params':_0x43bfa8}]}),!0x0):!0x1;}},_0x55e571={'id':_0x164ecf(0x23a),'type':_0x9b4f24[_0x164ecf(0x26d)][_0x164ecf(0x3e5)],'handler':(_0x5b5e1d,_0x357e7d)=>{const _0x116c99=_0x164ecf;if(!_0x357e7d)return!0x1;let _0x5e5cec=_0x5b5e1d[_0x116c99(0x3e9)](_0x9b4f24[_0x116c99(0x15c)]),{unitId:_0x2c9d17,tableId:_0xb341f7,viewId:_0x153825,fieldId:_0x3e2424}=_0x357e7d,_0x4be47d=_0x5e5cec[_0x116c99(0x10d)](_0x2c9d17,_0x9b4f24[_0x116c99(0x3d1)]['UNIVER_BASE']);if(!_0x4be47d||!_0x19c89e(_0x4be47d,_0xb341f7,{'viewIds':[_0x153825],'fieldIds':[_0x3e2424]}))return!0x1;let _0x1abde0=_0x5b5e1d[_0x116c99(0x3e9)](_0x9b4f24['ICommandService']),_0x43429b=_0x5b5e1d[_0x116c99(0x3e9)](_0x9b4f24[_0x116c99(0x493)]),_0x5ba88f=_0x4be47d[_0x116c99(0x293)](),_0x314296=new _0x1b7d14()[_0x116c99(0x319)](_0x5ba88f,_0xb341f7,_0x153825,{'groupFieldId':_0x3e2424}),_0x2654ed=new _0x1f3607()['invertOp'](_0x5ba88f,_0x314296),_0x146eb7={'unitId':_0x2c9d17,'op':_0x314296},_0x5b4848={'unitId':_0x2c9d17,'op':_0x2654ed};return _0x1abde0[_0x116c99(0x2ec)](_0x855ab4['id'],_0x146eb7)?(_0x5e5cec['focusUnit'](_0x2c9d17),_0x43429b[_0x116c99(0x106)]({'unitID':_0x2c9d17,'undoMutations':[{'id':_0x855ab4['id'],'params':_0x5b4848}],'redoMutations':[{'id':_0x855ab4['id'],'params':_0x146eb7}]}),!0x0):!0x1;}},_0x5895b8={'id':_0x164ecf(0x342),'type':_0x9b4f24[_0x164ecf(0x26d)]['COMMAND'],'handler':(_0x12ff00,_0x3e1be4)=>{const _0x2bff72=_0x164ecf;if(!_0x3e1be4)return!0x1;let _0x506cbd=_0x12ff00[_0x2bff72(0x3e9)](_0x9b4f24['IUniverInstanceService']),_0x3cdc99=_0x506cbd[_0x2bff72(0x10d)](_0x3e1be4[_0x2bff72(0x333)],_0x9b4f24[_0x2bff72(0x3d1)][_0x2bff72(0x3a1)]);if(!_0x3cdc99)return!0x1;let _0x52ecec=_0x3cdc99[_0x2bff72(0x293)]()[_0x2bff72(0x267)];if(_0x52ecec===_0x3e1be4['name'])return!0x0;let _0x5b3db8=new _0x1b7d14(),_0x2dd52d=new _0x1f3607(),_0xdbd756=[],_0x12d031=[],_0x3222c0=[_0x3cdc99,..._0x506cbd[_0x2bff72(0x446)](_0x9b4f24[_0x2bff72(0x3d1)][_0x2bff72(0x3a1)])[_0x2bff72(0x41f)](_0x1adbf2=>_0x1adbf2[_0x2bff72(0x368)]()!==_0x3e1be4[_0x2bff72(0x333)])];for(let _0xd11033 of _0x3222c0){let _0x384bf0=_0xd11033[_0x2bff72(0x293)](),_0x219cbf=_0xd11033===_0x3cdc99?_0x5b3db8[_0x2bff72(0x36a)](_0x384bf0,_0x3e1be4[_0x2bff72(0x267)]):_0x5b3db8['renameFormulaUnitReferences'](_0x384bf0,_0x52ecec,_0x3e1be4[_0x2bff72(0x267)]);_0x219cbf&&(_0xdbd756[_0x2bff72(0x4bf)]({'id':_0x855ab4['id'],'params':{'unitId':_0xd11033[_0x2bff72(0x368)](),'op':_0x219cbf,'trigger':_0x5895b8['id']}}),_0x12d031[_0x2bff72(0x3ce)]({'id':_0x855ab4['id'],'params':{'unitId':_0xd11033['getUnitId'](),'op':_0x2dd52d[_0x2bff72(0x3d4)](_0x384bf0,_0x219cbf),'trigger':_0x5895b8['id']}}));}let _0x40227e=_0x12ff00[_0x2bff72(0x3e9)](_0x9b4f24[_0x2bff72(0x46a)]),_0x841ce9=_0x12ff00['get'](_0x9b4f24[_0x2bff72(0x493)]),_0x228eea=_0x841ce9[_0x2bff72(0x3f2)](_0x3e1be4[_0x2bff72(0x333)]);try{return(0x0,_0x9b4f24[_0x2bff72(0x193)])(_0xdbd756,_0x40227e)[_0x2bff72(0x409)]?(_0x506cbd[_0x2bff72(0x176)](_0x3e1be4['unitId']),_0x841ce9['pushUndoRedo']({'unitID':_0x3e1be4[_0x2bff72(0x333)],'undoMutations':_0x12d031,'redoMutations':_0xdbd756}),!0x0):!0x1;}finally{_0x228eea[_0x2bff72(0x37e)]();}}};function _0x145e8a(_0x21d706,_0xc90ef5){const _0x24c7a4=_0x164ecf;let _0xf342f6=_0x8ae1a4(_0x9b4f24['Tools'][_0x24c7a4(0x1a6)](_0x21d706)),_0x11d57b=new Map();return _0xc90ef5['forEach'](_0x245b42=>{const _0x29ddcf=_0x24c7a4;var _0x20f0e2,_0x152d51;let _0x5e2d3c=_0x29ddcf(0x1d9)in _0x245b42?_0x245b42[_0x29ddcf(0x1d9)]:(_0x20f0e2=_0xf342f6[_0x29ddcf(0x3c7)])==null?void 0x0:_0x20f0e2[_0x245b42[_0x29ddcf(0x12f)]],_0x242233=_0x29ddcf(0x195)in _0x245b42?_0x245b42['fieldId']:(_0x152d51=_0xf342f6['colId'])==null?void 0x0:_0x152d51[_0x245b42['col']],_0x17c6a4=_0x242233?_0xf342f6['fields'][_0x242233]:void 0x0;if(!_0x5e2d3c||!_0x242233||!_0x17c6a4||!_0xf342f6[_0x29ddcf(0x312)][_0x5e2d3c])return;let _0x26bddd=_0x241162(_0x245b42[_0x29ddcf(0x43f)],_0x17c6a4),_0x708431=_0x2ad280(_0x245b42[_0x29ddcf(0x43f)],_0x26bddd,_0x17c6a4,_0xf342f6,_0x5e2d3c),_0x23de5b=_0x11d57b[_0x29ddcf(0x3e9)](_0x5e2d3c)??{};_0x23de5b[_0x242233]=_0x708431,_0x11d57b[_0x29ddcf(0x25a)](_0x5e2d3c,_0x23de5b);}),[..._0x11d57b][_0x24c7a4(0x2a7)](([_0x59dd8c,_0x1df32d])=>({'recordId':_0x59dd8c,'values':_0x1df32d}));}let _0x29a73e={'id':_0x164ecf(0x1d7),'type':_0x9b4f24[_0x164ecf(0x26d)]['COMMAND'],'handler'(_0x1d0344,_0x36f151){const _0x788515=_0x164ecf;if(!_0x36f151)return!0x1;let _0x1d91eb=_0x1d0344[_0x788515(0x3e9)](_0x9b4f24[_0x788515(0x15c)]),{unitId:_0x2d2057,tableId:_0x52ffa7,patches:_0x1e2351}=_0x36f151,_0x4ba512=_0x1d91eb[_0x788515(0x10d)](_0x2d2057,_0x9b4f24['UniverInstanceType'][_0x788515(0x3a1)]);if(!_0x4ba512||!_0x19c89e(_0x4ba512,_0x52ffa7))return!0x1;let _0x12d8e6=_0x1d0344['get'](_0x9b4f24[_0x788515(0x46a)]),_0x454e2f=_0x1d0344[_0x788515(0x3e9)](_0x9b4f24[_0x788515(0x493)]),_0x53802c=_0x4ba512[_0x788515(0x293)](),_0x3cbc7c=_0x8ae1a4(_0x53802c[_0x788515(0x4cb)][_0x52ffa7]),_0x19dcfb=_0x1e2351[_0x788515(0x2a7)](_0x511638=>{const _0x16409e=_0x788515;var _0x550657;return _0x16409e(0x1d9)in _0x511638?_0x511638[_0x16409e(0x1d9)]:(_0x550657=_0x3cbc7c[_0x16409e(0x3c7)])==null?void 0x0:_0x550657[_0x511638[_0x16409e(0x12f)]];})[_0x788515(0x41f)](_0x53fca3=>_0x53fca3!=null),_0x28ad5c=_0x1e2351['map'](_0x58381a=>{const _0xb13018=_0x788515;var _0x54b96d;return'fieldId'in _0x58381a?_0x58381a['fieldId']:(_0x54b96d=_0x3cbc7c[_0xb13018(0x282)])==null?void 0x0:_0x54b96d[_0x58381a[_0xb13018(0x48d)]];})[_0x788515(0x41f)](_0x50e0e3=>_0x50e0e3!=null);if(_0x19dcfb['length']!==_0x1e2351[_0x788515(0x13b)]||_0x28ad5c[_0x788515(0x13b)]!==_0x1e2351[_0x788515(0x13b)]||!_0x19c89e(_0x4ba512,_0x52ffa7,{'recordIds':_0x19dcfb,'fieldIds':_0x28ad5c})||_0x1e2351['some']((_0x25e018,_0x3cca66)=>!_0x3af45b(_0x4ba512,_0x52ffa7,_0x28ad5c[_0x3cca66],_0x25e018[_0x788515(0x43f)])))return!0x1;let _0x5aed79=_0x1b77f4(_0x3cbc7c,_0x145e8a(_0x3cbc7c,_0x1e2351)),_0x159693=_0x1e2351[_0x788515(0x17e)](_0x314276=>{const _0x374b20=_0x788515;var _0x21deef,_0x2f70b1;if('row'in _0x314276)return[_0x314276];let _0x145125=(_0x21deef=_0x3cbc7c[_0x374b20(0x371)])==null?void 0x0:_0x21deef[_0x314276['recordId']],_0x4e965f=(_0x2f70b1=_0x3cbc7c[_0x374b20(0x23b)])==null?void 0x0:_0x2f70b1[_0x314276[_0x374b20(0x195)]];return _0x145125==null||_0x4e965f==null?[]:[{'row':_0x145125,'col':_0x4e965f,'value':_0x314276[_0x374b20(0x43f)]}];}),_0x1d4921=new _0x1b7d14()[_0x788515(0x123)](_0x53802c,_0x52ffa7,_0x159693),_0x356cf8=new _0x1f3607()['invertOp'](_0x53802c,_0x1d4921),_0x245cb1={'unitId':_0x2d2057,'op':_0x1d4921,'trigger':_0x5aed79[_0x788515(0x13b)]?_0x29a73e['id']:void 0x0,'hierarchyChanges':_0x5aed79[_0x788515(0x13b)]?_0x5aed79:void 0x0,'source':_0x5aed79[_0x788515(0x13b)]?_0x788515(0x300):void 0x0},_0x238850={'unitId':_0x2d2057,'op':_0x356cf8,'trigger':_0x5aed79[_0x788515(0x13b)]?_0x29a73e['id']:void 0x0,'hierarchyChanges':_0x5aed79[_0x788515(0x13b)]?_0x5aed79['map'](_0x3e3dc3=>({..._0x3e3dc3,'oldParentRecordId':_0x3e3dc3[_0x788515(0x40c)],'parentRecordId':_0x3e3dc3['oldParentRecordId']})):void 0x0,'source':_0x5aed79[_0x788515(0x13b)]?_0x788515(0x38f):void 0x0},_0xaa9737={..._0x245cb1,'source':_0x5aed79[_0x788515(0x13b)]?_0x36f151[_0x788515(0x268)]??'ui':void 0x0};return _0x12d8e6['syncExecuteCommand'](_0x855ab4['id'],_0xaa9737)?(_0x1d91eb['focusUnit'](_0x2d2057),_0x454e2f['pushUndoRedo']({'unitID':_0x2d2057,'undoMutations':[{'id':_0x855ab4['id'],'params':_0x238850}],'redoMutations':[{'id':_0x855ab4['id'],'params':_0x245cb1}]}),!0x0):!0x1;}},_0x1e6dbd={'id':_0x164ecf(0x144),'type':_0x9b4f24[_0x164ecf(0x26d)][_0x164ecf(0x3e5)],'handler'(_0x25c817,_0x57db4a){const _0x18882e=_0x164ecf;if(!_0x57db4a)return!0x1;let _0x5ecacc=_0x25c817[_0x18882e(0x3e9)](_0x9b4f24[_0x18882e(0x15c)]),{unitId:_0x488534,tableId:_0x524cf6,patches:_0x508013}=_0x57db4a,_0x184c6a=_0x5ecacc[_0x18882e(0x10d)](_0x488534,_0x9b4f24['UniverInstanceType'][_0x18882e(0x3a1)]),_0x4a8eab=_0x508013['map'](_0x17aeef=>_0x17aeef['recordId']),_0x363413=_0x508013[_0x18882e(0x17e)](_0x50ff08=>Object[_0x18882e(0x1fe)](_0x50ff08[_0x18882e(0x10a)]));if(!_0x184c6a||!_0x19c89e(_0x184c6a,_0x524cf6,{'recordIds':_0x4a8eab,'fieldIds':_0x363413})||_0x508013['some'](_0x537b51=>Object[_0x18882e(0x489)](_0x537b51[_0x18882e(0x10a)])[_0x18882e(0x3ba)](([_0x9216b0,_0x46bed5])=>!_0x3af45b(_0x184c6a,_0x524cf6,_0x9216b0,_0x46bed5))))return!0x1;let _0x2db0bb=_0x1b77f4(_0x184c6a['getSnapshot']()[_0x18882e(0x4cb)][_0x524cf6],_0x508013),_0x204795=_0x25c817['get'](_0x9b4f24[_0x18882e(0x46a)]),_0x3b51b3=_0x25c817[_0x18882e(0x3e9)](_0x9b4f24[_0x18882e(0x493)]),_0x1a80fe=_0x25c817[_0x18882e(0x3e9)](_0x1e9ebe)[_0x18882e(0x210)](_0x184c6a,_0x524cf6,_0x508013),_0x4708c3=new _0x1f3607()[_0x18882e(0x3d4)](_0x184c6a['getSnapshot'](),_0x1a80fe),_0x2516cb={'unitId':_0x488534,'op':_0x1a80fe,'trigger':_0x2db0bb['length']?_0x1e6dbd['id']:void 0x0,'hierarchyChanges':_0x2db0bb[_0x18882e(0x13b)]?_0x2db0bb:void 0x0,'source':_0x2db0bb[_0x18882e(0x13b)]?_0x57db4a[_0x18882e(0x268)]??'ui':void 0x0},_0xe147eb={..._0x2516cb,'source':_0x2db0bb[_0x18882e(0x13b)]?_0x18882e(0x300):void 0x0},_0x3dfc5d={'unitId':_0x488534,'op':_0x4708c3,'trigger':_0x2db0bb[_0x18882e(0x13b)]?_0x1e6dbd['id']:void 0x0,'hierarchyChanges':_0x2db0bb[_0x18882e(0x13b)]?_0x2db0bb[_0x18882e(0x2a7)](_0x1af721=>({..._0x1af721,'oldParentRecordId':_0x1af721[_0x18882e(0x40c)],'parentRecordId':_0x1af721[_0x18882e(0x24d)]})):void 0x0,'source':_0x2db0bb['length']?'undo':void 0x0};return _0x204795['syncExecuteCommand'](_0x855ab4['id'],_0x2516cb)?(_0x5ecacc['focusUnit'](_0x488534),_0x3b51b3[_0x18882e(0x106)]({'unitID':_0x488534,'undoMutations':[{'id':_0x855ab4['id'],'params':_0x3dfc5d}],'redoMutations':[{'id':_0x855ab4['id'],'params':_0xe147eb}]}),!0x0):!0x1;}},_0xea01fc={'id':_0x164ecf(0x479),'type':_0x9b4f24[_0x164ecf(0x26d)][_0x164ecf(0x3e5)],'handler':(_0x15b0ae,_0x55f6bb)=>{const _0x42ac00=_0x164ecf;if(!_0x55f6bb)return!0x1;let {unitId:_0xbc36b0,tableId:_0x21aa4d,fieldId:_0x41618a}=_0x55f6bb,_0x587c4b=_0x15b0ae[_0x42ac00(0x3e9)](_0x9b4f24[_0x42ac00(0x15c)]),_0x222ad6=_0x587c4b[_0x42ac00(0x10d)](_0xbc36b0,_0x9b4f24[_0x42ac00(0x3d1)]['UNIVER_BASE']);if(!_0x222ad6||!_0x19c89e(_0x222ad6,_0x21aa4d))return!0x1;let _0x524380=_0x222ad6[_0x42ac00(0x293)](),_0x586be0=_0x524380[_0x42ac00(0x4cb)][_0x21aa4d];if(_0x41618a!==null&&!_0x12230b(_0x586be0,_0x41618a))throw new _0x4c5b17(_0x42ac00(0x347));if(_0x98202f(_0x586be0)===_0x41618a)return!0x0;let _0x123198=new _0x1b7d14(),_0x19b223=_0x4fd831(Object['values'](_0x586be0['fields'])[_0x42ac00(0x17e)](_0x51cf48=>{const _0x16bc41=_0x42ac00;if(!_0x12230b(_0x586be0,_0x51cf48['id']))return[];let _0x3478aa=_0xfcdc79(_0x51cf48);if(!_0x3478aa)return[];let _0x31f4c3=_0x51cf48['id']===_0x41618a;if(_0x3478aa['relationRole']===_0x9b4f24[_0x16bc41(0x4a2)][_0x16bc41(0x32d)]===_0x31f4c3)return[];let _0x6d7ef2={..._0x51cf48['config'],'targetTableId':_0x3478aa[_0x16bc41(0x3bf)],'multiple':_0x3478aa[_0x16bc41(0x299)]};return _0x31f4c3?_0x6d7ef2['relationRole']=_0x9b4f24[_0x16bc41(0x4a2)][_0x16bc41(0x32d)]:delete _0x6d7ef2[_0x16bc41(0x465)],[_0x123198[_0x16bc41(0x228)](_0x524380,_0x21aa4d,_0x51cf48['id'],{'config':_0x6d7ef2})];})),_0x3bcdf2=new _0x1f3607()[_0x42ac00(0x3d4)](_0x524380,_0x19b223),_0xd8eaaa={'unitId':_0xbc36b0,'op':_0x19b223},_0x359c47={'unitId':_0xbc36b0,'op':_0x3bcdf2};return _0x15b0ae[_0x42ac00(0x3e9)](_0x9b4f24[_0x42ac00(0x46a)])[_0x42ac00(0x2ec)](_0x855ab4['id'],_0xd8eaaa)?(_0x587c4b[_0x42ac00(0x176)](_0xbc36b0),_0x15b0ae[_0x42ac00(0x3e9)](_0x9b4f24[_0x42ac00(0x493)])[_0x42ac00(0x106)]({'unitID':_0xbc36b0,'undoMutations':[{'id':_0x855ab4['id'],'params':_0x359c47}],'redoMutations':[{'id':_0x855ab4['id'],'params':_0xd8eaaa}]}),!0x0):!0x1;}},_0x2aeb1d={'id':_0x164ecf(0x4c0),'type':_0x9b4f24[_0x164ecf(0x26d)]['COMMAND'],'handler':(_0x47a2c6,_0x5e281d)=>{const _0x328a5c=_0x164ecf;if(!_0x5e281d)return!0x1;let _0x39a67e=_0x47a2c6[_0x328a5c(0x3e9)](_0x9b4f24[_0x328a5c(0x15c)]),{unitId:_0x47fa28,tableId:_0x52aac3,viewId:_0x4e25a3,fieldId:_0x450b95,target:_0x30b39a}=_0x5e281d,_0x4a1daa=_0x39a67e['getUnit'](_0x47fa28,_0x9b4f24[_0x328a5c(0x3d1)]['UNIVER_BASE']),_0x4f1e65=_0x30b39a['beforeFieldId']??_0x30b39a[_0x328a5c(0x20b)];if(!_0x4a1daa||!_0x4f1e65||_0x4f1e65===_0x450b95||!_0x19c89e(_0x4a1daa,_0x52aac3,{'viewIds':[_0x4e25a3],'fieldIds':[_0x450b95,_0x4f1e65]}))return!0x1;let _0x199b15=_0x4a1daa['getSnapshot']()[_0x328a5c(0x4cb)][_0x52aac3],_0x3c3685=_0x199b15[_0x328a5c(0x43b)][_0x450b95],_0x90f6ef=_0x199b15['fields'][_0x4f1e65];if(_0x3c3685['system']===!0x0||_0x3c3685[_0x328a5c(0x132)]===_0x9b4f24[_0x328a5c(0x3bc)][_0x328a5c(0x111)]||_0x90f6ef[_0x328a5c(0x187)]===!0x0||_0x90f6ef[_0x328a5c(0x132)]===_0x9b4f24[_0x328a5c(0x3bc)][_0x328a5c(0x111)])return!0x1;let _0x305744=_0x47a2c6['get'](_0x9b4f24[_0x328a5c(0x46a)]),_0x564726=_0x47a2c6[_0x328a5c(0x3e9)](_0x9b4f24[_0x328a5c(0x493)]),_0x572d53=_0x4a1daa[_0x328a5c(0x293)](),_0x478c67=new _0x1b7d14()[_0x328a5c(0x1b4)](_0x572d53,_0x52aac3,_0x4e25a3,_0x450b95,_0x30b39a),_0xa6a063=new _0x1f3607()[_0x328a5c(0x3d4)](_0x572d53,_0x478c67),_0x3e4516={'unitId':_0x47fa28,'op':_0x478c67},_0x295843={'unitId':_0x47fa28,'op':_0xa6a063};return _0x305744[_0x328a5c(0x2ec)](_0x855ab4['id'],_0x3e4516)?(_0x39a67e[_0x328a5c(0x176)](_0x47fa28),_0x564726['pushUndoRedo']({'unitID':_0x47fa28,'undoMutations':[{'id':_0x855ab4['id'],'params':_0x295843}],'redoMutations':[{'id':_0x855ab4['id'],'params':_0x3e4516}]}),!0x0):!0x1;}},_0x3f9a1c={'id':_0x164ecf(0x233),'type':_0x9b4f24[_0x164ecf(0x26d)][_0x164ecf(0x3e5)],'handler'(_0x1f9d2a,_0x25b7a6){const _0x21d595=_0x164ecf;if(!_0x25b7a6)return!0x1;let _0x2fb15b=_0x1f9d2a[_0x21d595(0x3e9)](_0x9b4f24[_0x21d595(0x15c)]),{unitId:_0x36fcb4,tableId:_0x15521d,viewId:_0x101f67,fieldId:_0x3bc574,visible:_0x1c88d0}=_0x25b7a6,_0x586069=_0x2fb15b[_0x21d595(0x10d)](_0x36fcb4,_0x9b4f24[_0x21d595(0x3d1)][_0x21d595(0x3a1)]);if(!_0x586069||!_0x19c89e(_0x586069,_0x15521d,{'viewIds':[_0x101f67],'fieldIds':[_0x3bc574]}))return!0x1;let _0x58d583=_0x586069[_0x21d595(0x293)]()[_0x21d595(0x4cb)][_0x15521d][_0x21d595(0x43b)][_0x3bc574];if(_0x58d583['system']===!0x0||_0x58d583[_0x21d595(0x132)]===_0x9b4f24[_0x21d595(0x3bc)][_0x21d595(0x111)])return!0x1;let _0x2338c2=_0x1f9d2a['get'](_0x9b4f24[_0x21d595(0x46a)]),_0xe9a062=_0x1f9d2a[_0x21d595(0x3e9)](_0x9b4f24['IUndoRedoService']),_0x4bf009=_0x586069['getSnapshot'](),_0x7ecb7f=new _0x1b7d14()[_0x21d595(0x289)](_0x4bf009,_0x15521d,_0x101f67,_0x3bc574,_0x1c88d0),_0x541e96=new _0x1f3607()[_0x21d595(0x3d4)](_0x4bf009,_0x7ecb7f),_0xce0b19={'unitId':_0x36fcb4,'op':_0x7ecb7f},_0x407903={'unitId':_0x36fcb4,'op':_0x541e96};return _0x2338c2[_0x21d595(0x2ec)](_0x855ab4['id'],_0xce0b19)?(_0x2fb15b[_0x21d595(0x176)](_0x36fcb4),_0xe9a062['pushUndoRedo']({'unitID':_0x36fcb4,'undoMutations':[{'id':_0x855ab4['id'],'params':_0x407903}],'redoMutations':[{'id':_0x855ab4['id'],'params':_0xce0b19}]}),!0x0):!0x1;}},_0x27c293={'id':_0x164ecf(0x294),'type':_0x9b4f24[_0x164ecf(0x26d)]['COMMAND'],'handler':(_0x443209,_0x304dfc)=>{const _0x58fbd8=_0x164ecf;if(!_0x304dfc)return!0x1;let _0x5688ff=_0x443209[_0x58fbd8(0x3e9)](_0x9b4f24['IUniverInstanceService']),{unitId:_0x5a77c4,tableId:_0x45bf03,viewId:_0x502e3d,fieldId:_0x1d8628,width:_0x40314c}=_0x304dfc,_0x51ec5f=_0x5688ff[_0x58fbd8(0x10d)](_0x5a77c4,_0x9b4f24['UniverInstanceType'][_0x58fbd8(0x3a1)]);if(!_0x51ec5f||!_0x19c89e(_0x51ec5f,_0x45bf03,{'viewIds':[_0x502e3d],'fieldIds':[_0x1d8628]}))return!0x1;let _0x5603c2=_0x51ec5f[_0x58fbd8(0x293)]()['tables'][_0x45bf03][_0x58fbd8(0x43b)][_0x1d8628];if(_0x5603c2[_0x58fbd8(0x187)]===!0x0||_0x5603c2['type']===_0x9b4f24[_0x58fbd8(0x3bc)][_0x58fbd8(0x111)])return!0x1;let _0x628d65=_0x443209[_0x58fbd8(0x3e9)](_0x9b4f24[_0x58fbd8(0x46a)]),_0x56c671=_0x443209[_0x58fbd8(0x3e9)](_0x9b4f24[_0x58fbd8(0x493)]),_0x49a4a5=_0x51ec5f[_0x58fbd8(0x293)](),_0x3628cd=new _0x1b7d14()[_0x58fbd8(0x14b)](_0x49a4a5,_0x45bf03,_0x502e3d,_0x1d8628,_0x40314c),_0x43f6e5=new _0x1f3607()[_0x58fbd8(0x3d4)](_0x49a4a5,_0x3628cd),_0x30f8b6={'unitId':_0x5a77c4,'op':_0x3628cd},_0x21453b={'unitId':_0x5a77c4,'op':_0x43f6e5};return _0x628d65[_0x58fbd8(0x2ec)](_0x855ab4['id'],_0x30f8b6)?(_0x5688ff[_0x58fbd8(0x176)](_0x5a77c4),_0x56c671[_0x58fbd8(0x106)]({'unitID':_0x5a77c4,'undoMutations':[{'id':_0x855ab4['id'],'params':_0x21453b}],'redoMutations':[{'id':_0x855ab4['id'],'params':_0x30f8b6}]}),!0x0):!0x1;}},_0x5a9672={'id':_0x164ecf(0x25f),'type':_0x9b4f24['CommandType']['COMMAND'],'handler':(_0x3e6a7e,_0x4d564a)=>{const _0x470266=_0x164ecf;if(!_0x4d564a)return!0x1;let _0xe8d75a=_0x3e6a7e[_0x470266(0x3e9)](_0x9b4f24['IUniverInstanceService']),{unitId:_0xd111d2,tableId:_0x466342,viewId:_0x38b642,filter:_0xd010df}=_0x4d564a,_0xf54b49=_0xe8d75a['getUnit'](_0xd111d2,_0x9b4f24[_0x470266(0x3d1)]['UNIVER_BASE']),_0x3fc5f6=(_0xd010df==null?void 0x0:_0xd010df['conditions'][_0x470266(0x2a7)](_0x16a577=>_0x16a577[_0x470266(0x195)]))??[];if(!_0xf54b49||!_0x19c89e(_0xf54b49,_0x466342,{'viewIds':[_0x38b642],'fieldIds':_0x3fc5f6}))return!0x1;let _0x2d7152=_0x3e6a7e['get'](_0x9b4f24[_0x470266(0x46a)]),_0x437b38=_0x3e6a7e[_0x470266(0x3e9)](_0x9b4f24[_0x470266(0x493)]),_0x24cafa=_0xf54b49['getSnapshot'](),_0x11599d=new _0x1b7d14()[_0x470266(0x160)](_0x24cafa,_0x466342,_0x38b642,_0xd010df),_0x695743=new _0x1f3607()[_0x470266(0x3d4)](_0x24cafa,_0x11599d),_0x4d03f7={'unitId':_0xd111d2,'op':_0x11599d},_0x55e18b={'unitId':_0xd111d2,'op':_0x695743};return _0x2d7152[_0x470266(0x2ec)](_0x855ab4['id'],_0x4d03f7)?(_0xe8d75a[_0x470266(0x176)](_0xd111d2),_0x437b38['pushUndoRedo']({'unitID':_0xd111d2,'undoMutations':[{'id':_0x855ab4['id'],'params':_0x55e18b}],'redoMutations':[{'id':_0x855ab4['id'],'params':_0x4d03f7}]}),!0x0):!0x1;}},_0x76247f={'id':_0x164ecf(0x443),'type':_0x9b4f24['CommandType'][_0x164ecf(0x3e5)],'handler':(_0x4c7ecd,_0x22cf43)=>{const _0x2f02a1=_0x164ecf;if(!_0x22cf43)return!0x1;let _0xae58f=_0x4c7ecd[_0x2f02a1(0x3e9)](_0x9b4f24['IUniverInstanceService']),{unitId:_0x2b6ff5,tableId:_0x71843e,viewId:_0x52b462,group:_0x3b9003}=_0x22cf43,_0x2ac018=_0xae58f[_0x2f02a1(0x10d)](_0x2b6ff5,_0x9b4f24[_0x2f02a1(0x3d1)][_0x2f02a1(0x3a1)]);if(!_0x2ac018||!_0x19c89e(_0x2ac018,_0x71843e,{'viewIds':[_0x52b462],'fieldIds':_0x3b9003[_0x2f02a1(0x2a7)](_0x13f6a1=>_0x13f6a1[_0x2f02a1(0x195)])}))return!0x1;let _0x17bca7=_0x4c7ecd['get'](_0x9b4f24[_0x2f02a1(0x46a)]),_0x209ba1=_0x4c7ecd[_0x2f02a1(0x3e9)](_0x9b4f24[_0x2f02a1(0x493)]),_0x5c1fa4=_0x2ac018[_0x2f02a1(0x293)](),_0x5d4de0=new _0x1b7d14()[_0x2f02a1(0x20a)](_0x5c1fa4,_0x71843e,_0x52b462,_0x3b9003),_0x35e195=new _0x1f3607()[_0x2f02a1(0x3d4)](_0x5c1fa4,_0x5d4de0),_0x1d1e51={'unitId':_0x2b6ff5,'op':_0x5d4de0},_0x4e85e4={'unitId':_0x2b6ff5,'op':_0x35e195};return _0x17bca7['syncExecuteCommand'](_0x855ab4['id'],_0x1d1e51)?(_0xae58f['focusUnit'](_0x2b6ff5),_0x209ba1['pushUndoRedo']({'unitID':_0x2b6ff5,'undoMutations':[{'id':_0x855ab4['id'],'params':_0x4e85e4}],'redoMutations':[{'id':_0x855ab4['id'],'params':_0x1d1e51}]}),!0x0):!0x1;}},_0x3da814={'id':'base.command.set-base-view-sort','type':_0x9b4f24[_0x164ecf(0x26d)][_0x164ecf(0x3e5)],'handler':(_0x3e5282,_0x599a11)=>{const _0x50991d=_0x164ecf;if(!_0x599a11)return!0x1;let _0xa6d5d3=_0x3e5282[_0x50991d(0x3e9)](_0x9b4f24['IUniverInstanceService']),{unitId:_0x3639b4,tableId:_0x45b53a,viewId:_0x268006,sort:_0x44005f}=_0x599a11,_0x40172c=_0xa6d5d3['getUnit'](_0x3639b4,_0x9b4f24[_0x50991d(0x3d1)][_0x50991d(0x3a1)]);if(!_0x40172c||!_0x19c89e(_0x40172c,_0x45b53a,{'viewIds':[_0x268006],'fieldIds':_0x44005f[_0x50991d(0x2a7)](_0x4ec3ff=>_0x4ec3ff[_0x50991d(0x195)])}))return!0x1;let _0x199dee=_0x3e5282[_0x50991d(0x3e9)](_0x9b4f24['ICommandService']),_0x54df92=_0x3e5282['get'](_0x9b4f24['IUndoRedoService']),_0x599bb2=_0x40172c['getSnapshot'](),_0x246bfc=new _0x1b7d14()[_0x50991d(0x165)](_0x599bb2,_0x45b53a,_0x268006,_0x44005f),_0x104519=new _0x1f3607()[_0x50991d(0x3d4)](_0x599bb2,_0x246bfc),_0x4f42dc={'unitId':_0x3639b4,'op':_0x246bfc},_0x555d5={'unitId':_0x3639b4,'op':_0x104519};return _0x199dee['syncExecuteCommand'](_0x855ab4['id'],_0x4f42dc)?(_0xa6d5d3[_0x50991d(0x176)](_0x3639b4),_0x54df92[_0x50991d(0x106)]({'unitID':_0x3639b4,'undoMutations':[{'id':_0x855ab4['id'],'params':_0x555d5}],'redoMutations':[{'id':_0x855ab4['id'],'params':_0x4f42dc}]}),!0x0):!0x1;}},_0x340c93={'id':'base.command.update-base-cell','type':_0x9b4f24[_0x164ecf(0x26d)][_0x164ecf(0x3e5)],'handler'(_0xaea70f,_0x5924aa){const _0x1999b2=_0x164ecf;if(!_0x5924aa)return!0x1;let _0x5819eb=_0xaea70f[_0x1999b2(0x3e9)](_0x9b4f24[_0x1999b2(0x15c)]),{unitId:_0x4ab790,tableId:_0xaeb21e,recordId:_0x2d769d,fieldId:_0x35d766,value:_0x285470}=_0x5924aa,_0x25bcca=_0x5819eb[_0x1999b2(0x10d)](_0x4ab790,_0x9b4f24[_0x1999b2(0x3d1)][_0x1999b2(0x3a1)]);if(!_0x25bcca||!_0x19c89e(_0x25bcca,_0xaeb21e,{'recordIds':[_0x2d769d],'fieldIds':[_0x35d766]})||!_0x3af45b(_0x25bcca,_0xaeb21e,_0x35d766,_0x285470))return!0x1;let _0x45ba5a=_0x25bcca['getSnapshot']()['tables'][_0xaeb21e],_0x2dd455=_0x12230b(_0x45ba5a,_0x35d766)&&_0x761298(_0x45ba5a)[_0x1999b2(0x45d)](_0x35d766),_0x155ac8=_0x2dd455?_0x32c245(_0x45ba5a,_0x35d766):null,_0x4842fc=(_0x155ac8==null?void 0x0:_0x155ac8[_0x1999b2(0x3ff)]['get'](_0x2d769d))??null,_0x37a554=_0x2dd455?_0x3768f1(_0x285470)[0x0]??null:null;if(_0x155ac8){if(_0x37a554&&!_0x45ba5a[_0x1999b2(0x312)][_0x37a554])throw new _0x4c5b17('missingRecord');let _0x5af0c7=_0x1a5f43(_0x155ac8,_0x2d769d,_0x37a554);if(!_0x5af0c7[_0x1999b2(0x1ae)])throw new _0x4c5b17(_0x5af0c7[_0x1999b2(0x167)]===_0x9b4f24[_0x1999b2(0x291)][_0x1999b2(0x2df)]?_0x1999b2(0x27f):_0x5af0c7[_0x1999b2(0x167)]===_0x9b4f24[_0x1999b2(0x291)][_0x1999b2(0x4d1)]?_0x1999b2(0x35a):'maxDepth');}let _0x2c7ff8=_0xaea70f[_0x1999b2(0x3e9)](_0x9b4f24[_0x1999b2(0x46a)]),_0x31a8e7=_0xaea70f[_0x1999b2(0x3e9)](_0x9b4f24['IUndoRedoService']),_0x548dc3=_0xaea70f[_0x1999b2(0x3e9)](_0x1e9ebe),_0x295dab;try{_0x295dab=_0x548dc3[_0x1999b2(0x433)](_0x25bcca,_0xaeb21e,_0x2d769d,_0x35d766,_0x285470);}catch(_0x1bf786){return console[_0x1999b2(0x439)](_0x1999b2(0x4aa),_0x1bf786),!0x1;}let _0x18378f=new _0x1f3607()[_0x1999b2(0x3d4)](_0x25bcca['getSnapshot'](),_0x295dab),_0x2f0e6e=_0x2dd455&&_0x4842fc!==_0x37a554?[{'tableId':_0xaeb21e,'fieldId':_0x35d766,'recordId':_0x2d769d,'oldParentRecordId':_0x4842fc,'parentRecordId':_0x37a554}]:void 0x0,_0x54a7bd={'unitId':_0x4ab790,'op':_0x295dab,'trigger':_0x2f0e6e?_0x340c93['id']:void 0x0,'hierarchyChanges':_0x2f0e6e,'source':_0x2f0e6e?_0x5924aa[_0x1999b2(0x268)]??'ui':void 0x0},_0x42de45={..._0x54a7bd,'source':_0x2f0e6e?_0x1999b2(0x300):void 0x0},_0x14589f={'unitId':_0x4ab790,'op':_0x18378f,'trigger':_0x2f0e6e?_0x340c93['id']:void 0x0,'hierarchyChanges':_0x2f0e6e==null?void 0x0:_0x2f0e6e[_0x1999b2(0x2a7)](_0x53c784=>({..._0x53c784,'oldParentRecordId':_0x53c784[_0x1999b2(0x40c)],'parentRecordId':_0x53c784[_0x1999b2(0x24d)]})),'source':_0x2f0e6e?_0x1999b2(0x38f):void 0x0};return _0x2c7ff8[_0x1999b2(0x2ec)](_0x855ab4['id'],_0x54a7bd)?(_0x5819eb['focusUnit'](_0x4ab790),_0x31a8e7[_0x1999b2(0x106)]({'unitID':_0x4ab790,'undoMutations':[{'id':_0x855ab4['id'],'params':_0x14589f}],'redoMutations':[{'id':_0x855ab4['id'],'params':_0x42de45}]}),!0x0):!0x1;}},_0x54b5b7={'id':'base.command.update-base-field-description','type':_0x9b4f24[_0x164ecf(0x26d)][_0x164ecf(0x3e5)],'handler'(_0x1e164e,_0x3d43d9){const _0x5cfeed=_0x164ecf;if(!_0x3d43d9)return!0x1;let _0x23bdd3=_0x1e164e['get'](_0x9b4f24[_0x5cfeed(0x15c)]),{unitId:_0x1ce3d1,tableId:_0x1bccce,fieldId:_0x2ce261}=_0x3d43d9,_0x30b37e=_0x23bdd3['getUnit'](_0x1ce3d1,_0x9b4f24['UniverInstanceType']['UNIVER_BASE']);if(!_0x30b37e||!_0x19c89e(_0x30b37e,_0x1bccce,{'fieldIds':[_0x2ce261]}))return!0x1;let _0x22eca2=_0x1e164e[_0x5cfeed(0x3e9)](_0x9b4f24[_0x5cfeed(0x46a)]),_0x56198d=_0x1e164e[_0x5cfeed(0x3e9)](_0x9b4f24[_0x5cfeed(0x493)]),_0xf480e9=_0x30b37e[_0x5cfeed(0x293)](),_0x1e1857=_0x3d43d9[_0x5cfeed(0x33b)][_0x5cfeed(0x276)](),_0x435f7d=new _0x1b7d14()[_0x5cfeed(0x228)](_0xf480e9,_0x1bccce,_0x2ce261,{'description':_0x1e1857}),_0x2e2096=new _0x1f3607()[_0x5cfeed(0x3d4)](_0x30b37e[_0x5cfeed(0x293)](),_0x435f7d),_0x12b807={'unitId':_0x1ce3d1,'op':_0x435f7d},_0x39a8ca={'unitId':_0x1ce3d1,'op':_0x2e2096};return _0x22eca2[_0x5cfeed(0x2ec)](_0x855ab4['id'],_0x12b807)?(_0x23bdd3[_0x5cfeed(0x176)](_0x1ce3d1),_0x56198d[_0x5cfeed(0x106)]({'unitID':_0x1ce3d1,'undoMutations':[{'id':_0x855ab4['id'],'params':_0x39a8ca}],'redoMutations':[{'id':_0x855ab4['id'],'params':_0x12b807}]}),!0x0):!0x1;}},_0x1beb5f={'id':_0x164ecf(0x3a5),'type':_0x9b4f24[_0x164ecf(0x26d)]['COMMAND'],'handler':(_0x7170c1,_0x9cc172)=>{const _0x7b2d6=_0x164ecf;if(!_0x9cc172)return!0x1;let _0x326359=_0x7170c1['get'](_0x9b4f24[_0x7b2d6(0x15c)]),{unitId:_0x44b98d,tableId:_0x58e225,fieldId:_0x23d05c,patch:_0x4ead49}=_0x9cc172,_0x60c6ce=_0x326359[_0x7b2d6(0x10d)](_0x44b98d,_0x9b4f24[_0x7b2d6(0x3d1)][_0x7b2d6(0x3a1)]);if(!_0x60c6ce||_0x23d05c===_0x9b4f24[_0x7b2d6(0x2c4)]||!_0x19c89e(_0x60c6ce,_0x58e225,{'fieldIds':[_0x23d05c]}))return!0x1;let _0x2d448e=_0x7170c1[_0x7b2d6(0x3e9)](_0x9b4f24[_0x7b2d6(0x46a)]),_0x16268c=_0x7170c1[_0x7b2d6(0x3e9)](_0x9b4f24[_0x7b2d6(0x493)]),_0x5cbc1f=_0x60c6ce['getSnapshot']();if(!_0x3cd3a4(_0x60c6ce,_0x58e225,{..._0x5cbc1f[_0x7b2d6(0x4cb)][_0x58e225]['fields'][_0x23d05c],..._0x4ead49}))return!0x1;let _0x22fa3b=new _0x1b7d14()[_0x7b2d6(0x228)](_0x5cbc1f,_0x58e225,_0x23d05c,_0x4ead49),_0x2e53e7=new _0x1f3607()[_0x7b2d6(0x3d4)](_0x5cbc1f,_0x22fa3b),_0x2932a8={'unitId':_0x44b98d,'op':_0x22fa3b},_0x3357d1={'unitId':_0x44b98d,'op':_0x2e53e7};return _0x2d448e[_0x7b2d6(0x2ec)](_0x855ab4['id'],_0x2932a8)?(_0x326359[_0x7b2d6(0x176)](_0x44b98d),_0x16268c[_0x7b2d6(0x106)]({'unitID':_0x44b98d,'undoMutations':[{'id':_0x855ab4['id'],'params':_0x3357d1}],'redoMutations':[{'id':_0x855ab4['id'],'params':_0x2932a8}]}),!0x0):!0x1;}},_0x293b4d={'id':_0x164ecf(0x3cd),'type':_0x9b4f24['CommandType']['COMMAND'],'handler':(_0x385c70,_0x3612d7)=>{const _0x3e8e07=_0x164ecf;if(!_0x3612d7)return!0x1;let _0x3f9861=_0x385c70[_0x3e8e07(0x3e9)](_0x9b4f24[_0x3e8e07(0x15c)]),{unitId:_0x322022,tableId:_0x4edb75,viewId:_0x14e8aa,patch:_0x57bd09}=_0x3612d7,_0x17c929=_0x3f9861[_0x3e8e07(0x10d)](_0x322022,_0x9b4f24[_0x3e8e07(0x3d1)][_0x3e8e07(0x3a1)]);if(!_0x17c929||!_0x19c89e(_0x17c929,_0x4edb75,{'viewIds':[_0x14e8aa]}))return!0x1;let _0x54654c=_0x385c70[_0x3e8e07(0x3e9)](_0x9b4f24[_0x3e8e07(0x46a)]),_0x3628ca=_0x385c70[_0x3e8e07(0x3e9)](_0x9b4f24[_0x3e8e07(0x493)]),_0x389b08=_0x17c929[_0x3e8e07(0x293)](),_0x22528c=new _0x1b7d14()[_0x3e8e07(0x319)](_0x389b08,_0x4edb75,_0x14e8aa,_0x57bd09),_0x1dcc59=new _0x1f3607()[_0x3e8e07(0x3d4)](_0x389b08,_0x22528c),_0x36b0cc={'unitId':_0x322022,'op':_0x22528c},_0x5dd4e8={'unitId':_0x322022,'op':_0x1dcc59};return _0x54654c[_0x3e8e07(0x2ec)](_0x855ab4['id'],_0x36b0cc)?(_0x3f9861[_0x3e8e07(0x176)](_0x322022),_0x3628ca[_0x3e8e07(0x106)]({'unitID':_0x322022,'undoMutations':[{'id':_0x855ab4['id'],'params':_0x5dd4e8}],'redoMutations':[{'id':_0x855ab4['id'],'params':_0x36b0cc}]}),!0x0):!0x1;}},_0x5e012e={'id':_0x164ecf(0x25e),'type':_0x9b4f24[_0x164ecf(0x26d)][_0x164ecf(0x3e5)],'handler':(_0x108080,_0x307c2a)=>{const _0x63b803=_0x164ecf;if(!_0x307c2a)return!0x1;let _0xd37f3c=_0x108080['get'](_0x9b4f24[_0x63b803(0x15c)]),{unitId:_0x3ff589,tableId:_0xd67521,recordId:_0x3cbec6,orderKey:_0x1f95e1}=_0x307c2a,_0x542944=_0xd37f3c['getUnit'](_0x3ff589,_0x9b4f24[_0x63b803(0x3d1)][_0x63b803(0x3a1)]);if(!_0x542944||!_0x19c89e(_0x542944,_0xd67521,{'recordIds':[_0x3cbec6]}))return!0x1;let _0x310d2b=_0x108080[_0x63b803(0x3e9)](_0x9b4f24[_0x63b803(0x46a)]),_0x5dd96f=_0x108080[_0x63b803(0x3e9)](_0x9b4f24[_0x63b803(0x493)]),_0x596bd0=_0x542944[_0x63b803(0x293)](),_0xed35b7=new _0x1b7d14()['updateRecordOrder'](_0x596bd0,_0xd67521,_0x3cbec6,_0x1f95e1),_0x284638=new _0x1f3607()[_0x63b803(0x3d4)](_0x596bd0,_0xed35b7),_0x5663a6={'unitId':_0x3ff589,'op':_0xed35b7},_0x1b4f19={'unitId':_0x3ff589,'op':_0x284638};return _0x310d2b[_0x63b803(0x2ec)](_0x855ab4['id'],_0x5663a6)?(_0xd37f3c[_0x63b803(0x176)](_0x3ff589),_0x5dd96f[_0x63b803(0x106)]({'unitID':_0x3ff589,'undoMutations':[{'id':_0x855ab4['id'],'params':_0x1b4f19}],'redoMutations':[{'id':_0x855ab4['id'],'params':_0x5663a6}]}),!0x0):!0x1;}},_0x5a2940=function(_0x7db96d){const _0x3f0ec7=_0x164ecf;return _0x7db96d[_0x3f0ec7(0x175)]=_0x3f0ec7(0x25a),_0x7db96d[_0x3f0ec7(0x3d5)]=_0x3f0ec7(0x134),_0x7db96d[_0x3f0ec7(0x225)]=_0x3f0ec7(0x2c7),_0x7db96d['Clear']=_0x3f0ec7(0x272),_0x7db96d;}({}),_0xf15bc8={'id':_0x164ecf(0x42f),'type':_0x9b4f24[_0x164ecf(0x26d)][_0x164ecf(0x3e5)],'handler':(_0x11d743,_0x5146d5)=>{const _0x10100f=_0x164ecf;var _0xc89199;if(!_0x5146d5)return!0x1;let _0x2d3368=_0x11d743['get'](_0x9b4f24[_0x10100f(0x15c)]),_0x2804c6=_0x2d3368['getUnit'](_0x5146d5['unitId'],_0x9b4f24['UniverInstanceType'][_0x10100f(0x3a1)]);if(!_0x2804c6||!_0x19c89e(_0x2804c6,_0x5146d5[_0x10100f(0x28a)],{'viewIds':[_0x5146d5[_0x10100f(0x1e7)]]}))return!0x1;let _0x4437c3=_0x2804c6[_0x10100f(0x293)](),_0x3ef19a=_0x4437c3[_0x10100f(0x4cb)][_0x5146d5['tableId']],_0x4984ac=_0x21c214(((_0xc89199=_0x3ef19a[_0x10100f(0x339)][_0x5146d5[_0x10100f(0x1e7)]][_0x10100f(0x19f)][_0x10100f(0x452)])==null?void 0x0:_0xc89199[_0x10100f(0x1ad)])??[],_0x5146d5);if(!_0x4984ac)return!0x1;_0xadf0ac(_0x3ef19a,_0x4984ac);let _0x2ddf18=new _0x1b7d14()[_0x10100f(0x319)](_0x4437c3,_0x5146d5[_0x10100f(0x28a)],_0x5146d5[_0x10100f(0x1e7)],{'conditionalColoring':_0x4984ac[_0x10100f(0x13b)]?{'rules':_0x4984ac}:null}),_0x14db9c=new _0x1f3607()['invertOp'](_0x4437c3,_0x2ddf18),_0x1aa8e7={'unitId':_0x5146d5[_0x10100f(0x333)],'op':_0x2ddf18},_0x3ed34a={'unitId':_0x5146d5['unitId'],'op':_0x14db9c};return _0x11d743[_0x10100f(0x3e9)](_0x9b4f24[_0x10100f(0x46a)])[_0x10100f(0x2ec)](_0x855ab4['id'],_0x1aa8e7)?(_0x2d3368['focusUnit'](_0x5146d5['unitId']),_0x11d743[_0x10100f(0x3e9)](_0x9b4f24[_0x10100f(0x493)])['pushUndoRedo']({'unitID':_0x5146d5[_0x10100f(0x333)],'undoMutations':[{'id':_0x855ab4['id'],'params':_0x3ed34a}],'redoMutations':[{'id':_0x855ab4['id'],'params':_0x1aa8e7}]}),!0x0):!0x1;}};function _0x21c214(_0xd3a6b3,_0x54a088){const _0x5793d4=_0x164ecf;switch(_0x54a088[_0x5793d4(0x132)]){case _0x5793d4(0x25a):return _0x9b4f24[_0x5793d4(0x22c)]['deepClone'](_0x54a088[_0x5793d4(0x1ad)]);case _0x5793d4(0x134):return[..._0x9b4f24[_0x5793d4(0x22c)]['deepClone'](_0xd3a6b3),_0x9b4f24[_0x5793d4(0x22c)]['deepClone'](_0x54a088[_0x5793d4(0x2d3)])];case _0x5793d4(0x2c7):{let _0x25e371=_0xd3a6b3[_0x5793d4(0x41f)](_0xad2365=>_0xad2365['id']!==_0x54a088[_0x5793d4(0x369)]);return _0x25e371['length']===_0xd3a6b3['length']?null:_0x9b4f24[_0x5793d4(0x22c)][_0x5793d4(0x1a6)](_0x25e371);}case'clear':return _0xd3a6b3['length']?[]:null;}}function _0xadf0ac(_0x227c8d,_0x50684d){const _0x27fc27=_0x164ecf;if(!Array[_0x27fc27(0x32e)](_0x50684d))throw TypeError(_0x27fc27(0x350));let _0x4404a5=new Set();for(let [_0x1a22dc,_0x4b7a08]of _0x50684d[_0x27fc27(0x489)]())_0x43e44d(_0x227c8d,_0x4b7a08,_0x2bbb8a(_0x4b7a08,_0x1a22dc,_0x4404a5));}function _0x2bbb8a(_0x2e5503,_0x493fca,_0x44326c){const _0x39c8df=_0x164ecf;if(!_0x2e5503||typeof _0x2e5503!=_0x39c8df(0x42c))throw TypeError(_0x39c8df(0x4ce)+_0x493fca+_0x39c8df(0x485));let _0x166fd6=typeof _0x2e5503['id']=='string'&&_0x2e5503['id'][_0x39c8df(0x276)]()?'\x22'+_0x2e5503['id']+'\x22':_0x39c8df(0x142)+_0x493fca;if(typeof _0x2e5503['id']!=_0x39c8df(0x1e4)||!_0x2e5503['id']['trim']())throw Error(_0x39c8df(0x478)+_0x166fd6+'\x20must\x20have\x20a\x20non-empty\x20id.');if(_0x44326c[_0x39c8df(0x1df)](_0x2e5503['id']))throw Error(_0x39c8df(0x124)+_0x2e5503['id']+'\x22.');_0x44326c[_0x39c8df(0x134)](_0x2e5503['id']);let _0x1f21dd=typeof _0x2e5503[_0x39c8df(0x449)]=='string'&&_0x2e5503[_0x39c8df(0x449)][_0x39c8df(0x276)]()?new _0x9b4f24[(_0x39c8df(0x243))](_0x2e5503['color']):null;if(!(_0x1f21dd!=null&&_0x1f21dd['isValid']))throw Error(_0x39c8df(0x478)+_0x166fd6+_0x39c8df(0x19a));return _0x166fd6;}function _0x43e44d(_0x32c45d,_0x536a05,_0x2b1a75){const _0x1d5c17=_0x164ecf;let _0x4eb115=new Set(Object[_0x1d5c17(0x10a)](_0x9b4f24[_0x1d5c17(0x457)])),_0xe86752=new Set(Object[_0x1d5c17(0x10a)](_0x9b4f24['BaseConditionalColorOperator'])),_0x163d41=new Set(Object['values'](_0x9b4f24[_0x1d5c17(0x1e3)]));if(!_0x4eb115[_0x1d5c17(0x1df)](_0x536a05[_0x1d5c17(0x18c)]))throw Error(_0x1d5c17(0x478)+_0x2b1a75+'\x20has\x20unsupported\x20target\x20\x22'+String(_0x536a05[_0x1d5c17(0x18c)])+'\x22.');let _0x53bd61=typeof _0x536a05[_0x1d5c17(0x195)]==_0x1d5c17(0x1e4)?_0x32c45d['fields'][_0x536a05['fieldId']]:void 0x0;if(!_0x53bd61||_0x53bd61[_0x1d5c17(0x187)]===!0x0||_0x53bd61['type']===_0x9b4f24[_0x1d5c17(0x3bc)][_0x1d5c17(0x111)])throw Error(_0x1d5c17(0x478)+_0x2b1a75+_0x1d5c17(0x499)+String(_0x536a05[_0x1d5c17(0x195)])+'\x22.');if(!_0xe86752[_0x1d5c17(0x1df)](_0x536a05['operator']))throw Error(_0x1d5c17(0x478)+_0x2b1a75+'\x20has\x20unsupported\x20operator\x20\x22'+String(_0x536a05[_0x1d5c17(0x16f)])+'\x22.');if(_0x536a05[_0x1d5c17(0x2a5)]!==void 0x0&&!_0x163d41[_0x1d5c17(0x1df)](_0x536a05[_0x1d5c17(0x2a5)]))throw Error(_0x1d5c17(0x478)+_0x2b1a75+_0x1d5c17(0x24f)+String(_0x536a05[_0x1d5c17(0x2a5)])+'\x22.');if(_0x536a05[_0x1d5c17(0x18c)]===_0x9b4f24[_0x1d5c17(0x457)][_0x1d5c17(0x356)])return;let _0x28652e=_0x257887(_0x53bd61[_0x1d5c17(0x132)]);if(!_0x28652e[_0x1d5c17(0x45d)](_0x536a05[_0x1d5c17(0x16f)]))throw Error(_0x1d5c17(0x478)+_0x2b1a75+_0x1d5c17(0x317)+_0x536a05[_0x1d5c17(0x16f)]+_0x1d5c17(0x2b2)+_0x53bd61['type']+'\x22.\x20Allowed\x20operators:\x20'+_0x28652e[_0x1d5c17(0x305)](',\x20')+'.');if(_0x536a05[_0x1d5c17(0x2a5)]!==void 0x0&&!_0x397802(_0x53bd61['type']))throw Error(_0x1d5c17(0x478)+_0x2b1a75+_0x1d5c17(0x451));}let _0x2eb102={'id':_0x164ecf(0x120),'type':_0x9b4f24[_0x164ecf(0x26d)][_0x164ecf(0x3e5)],'handler':(_0x100e32,_0x1edeca)=>{const _0x2a9efd=_0x164ecf;if(!_0x1edeca)return!0x1;let _0x1078b0=_0x100e32[_0x2a9efd(0x3e9)](_0x9b4f24[_0x2a9efd(0x15c)]),{unitId:_0x469899,tableId:_0x5744b2,viewId:_0x3e9c6c,patch:_0x9dd9e1}=_0x1edeca,_0x13168a=_0x1078b0[_0x2a9efd(0x10d)](_0x469899,_0x9b4f24['UniverInstanceType'][_0x2a9efd(0x3a1)]);if(!_0x13168a||!_0x19c89e(_0x13168a,_0x5744b2,{'viewIds':[_0x3e9c6c]}))return!0x1;let _0x55bdf9=_0x100e32[_0x2a9efd(0x3e9)](_0x9b4f24[_0x2a9efd(0x46a)]),_0x54eb49=_0x100e32[_0x2a9efd(0x3e9)](_0x9b4f24[_0x2a9efd(0x493)]),_0x416324=_0x13168a['getSnapshot'](),_0x14b691=new _0x1b7d14()[_0x2a9efd(0x319)](_0x416324,_0x5744b2,_0x3e9c6c,_0x9dd9e1),_0x299f08=new _0x1f3607()[_0x2a9efd(0x3d4)](_0x416324,_0x14b691),_0xd33eb3={'unitId':_0x469899,'op':_0x14b691},_0x4d7770={'unitId':_0x469899,'op':_0x299f08};return _0x55bdf9['syncExecuteCommand'](_0x855ab4['id'],_0xd33eb3)?(_0x1078b0[_0x2a9efd(0x176)](_0x469899),_0x54eb49[_0x2a9efd(0x106)]({'unitID':_0x469899,'undoMutations':[{'id':_0x855ab4['id'],'params':_0x4d7770}],'redoMutations':[{'id':_0x855ab4['id'],'params':_0xd33eb3}]}),!0x0):!0x1;}};function _0x288e7a(_0x5659c9){const _0x1eb094=_0x164ecf;let _0x3c9744=_0x5659c9[_0x1eb094(0x1e5)]??Date[_0x1eb094(0x1e5)](),_0x4f51e9=_0x5659c9[_0x1eb094(0x302)]??_0x5659c9['id']+_0x1eb094(0x38a),_0x17973e=_0x5659c9['gridViewId']??_0x5659c9['id']+'-view-grid',_0x2863b6=_0x5659c9[_0x1eb094(0x3e8)]??0x0,_0x11c940=(0x0,_0x9b4f24['createBaseRecordIdField'])(),_0x92b130={'id':_0x4f51e9,'name':_0x5659c9[_0x1eb094(0x164)]??_0x1eb094(0x150),'type':_0x9b4f24[_0x1eb094(0x3bc)][_0x1eb094(0x10b)],'config':{'placeholder':_0x1eb094(0x197)}},_0x339052={},_0xfe6c08=[],_0x89c1ce={},_0x4de7d2={},_0x217a39={};for(let _0x1987fa=0x0;_0x1987fa<_0x2863b6;_0x1987fa++){let _0x23ef42=_0x5659c9['id']+_0x1eb094(0x12e)+(_0x1987fa+0x1);_0x339052[_0x23ef42]={'id':_0x23ef42,'values':{[_0x9b4f24[_0x1eb094(0x2c4)]]:_0x23ef42,..._0x5659c9[_0x1eb094(0x257)]?{[_0x4f51e9]:_0x5659c9[_0x1eb094(0x257)]+'\x20'+(_0x1987fa+0x1)}:{}},'orderKey':String(_0x1987fa+0x1)[_0x1eb094(0x36b)](0x4,'0'),'createdAt':_0x3c9744,'updatedAt':_0x3c9744},_0xfe6c08[_0x1eb094(0x4bf)](_0x23ef42),_0x89c1ce[_0x23ef42]=_0x1987fa,_0x4de7d2[_0x1987fa]=_0x23ef42,_0x217a39[_0x1987fa]={0x0:{'v':_0x23ef42,'t':_0x9b4f24['CellValueType'][_0x1eb094(0x290)]}},_0x5659c9[_0x1eb094(0x257)]&&(_0x217a39[_0x1987fa][0x1]={'v':_0x5659c9[_0x1eb094(0x257)]+'\x20'+(_0x1987fa+0x1),'t':_0x9b4f24[_0x1eb094(0x260)][_0x1eb094(0x290)]});}let _0x5f129f={'id':_0x17973e,'tableId':_0x5659c9['id'],'name':_0x1eb094(0xfc),'type':_0x9b4f24['BaseViewType'][_0x1eb094(0xfc)],'fieldOrder':[_0x9b4f24[_0x1eb094(0x2c4)],_0x4f51e9],'fieldSettings':{[_0x9b4f24[_0x1eb094(0x2c4)]]:{'hidden':!0x0}},'config':{'frozenFieldCount':0x1}};return{'id':_0x5659c9['id'],'name':_0x5659c9[_0x1eb094(0x267)],'primaryFieldId':_0x4f51e9,'fieldOrder':[_0x9b4f24['BASE_RECORD_ID_FIELD_ID'],_0x4f51e9],'fields':{[_0x9b4f24['BASE_RECORD_ID_FIELD_ID']]:_0x11c940,[_0x4f51e9]:_0x92b130},'records':_0x339052,'recordOrder':_0xfe6c08,'rowIndex':_0x89c1ce,'rowId':_0x4de7d2,'colIndex':{[_0x9b4f24[_0x1eb094(0x2c4)]]:0x0,[_0x4f51e9]:0x1},'colId':{0x0:_0x9b4f24[_0x1eb094(0x2c4)],0x1:_0x4f51e9},'cellData':_0x217a39,'views':{[_0x17973e]:_0x5f129f},'viewOrder':[_0x17973e]};}let _0x1db389=_0x164ecf(0x24e);function _0x1a74dc(_0x4ad536){const _0x367546=_0x164ecf;let _0x3c8ef6=_0x288e7a({'id':_0x4ad536['hostAnchorId'],'name':_0x4ad536['name']??_0x4ad536[_0x367546(0x15d)],'recordCount':0x0});return{..._0x3c8ef6,'resources':{..._0x3c8ef6[_0x367546(0x1b2)]??{},[_0x1db389]:_0x33037e(_0x4ad536)}};}function _0x300b58(_0x29f68d){const _0x42e6f6=_0x164ecf;return{'id':_0x855ab4['id'],'params':{'unitId':_0x29f68d[_0x42e6f6(0x333)],'op':new _0x1b7d14()[_0x42e6f6(0x2ad)](_0x29f68d[_0x42e6f6(0x255)],_0x29f68d[_0x42e6f6(0xfe)],_0x29f68d[_0x42e6f6(0x2d4)]),'trigger':'embed-ui'}};}function _0x273b73(_0x365c95){const _0x34396d=_0x164ecf;let _0x3c4500=_0x365c95['snapshot'][_0x34396d(0x20d)][_0x34396d(0x19b)](_0x365c95[_0x34396d(0x28a)]);if(!(!_0x365c95[_0x34396d(0x255)][_0x34396d(0x4cb)][_0x365c95['tableId']]||_0x3c4500<0x0))return{'id':_0x855ab4['id'],'params':{'unitId':_0x365c95['unitId'],'op':new _0x1b7d14()[_0x34396d(0x37f)](_0x365c95[_0x34396d(0x255)],_0x365c95['tableId']),'trigger':'embed-ui'}};}function _0x33037e(_0x2d64bb){const _0x215b87=_0x164ecf;return{'version':0x1,'embedId':_0x2d64bb[_0x215b87(0x15d)],'hostAnchorId':_0x2d64bb[_0x215b87(0x1c6)],'childUnitId':_0x2d64bb['childUnitId'],'childType':_0x2d64bb[_0x215b87(0x3de)]};}function _0xde0cee(_0x3c01ba){const _0x1d3d26=_0x164ecf;let _0x5e6938=Math[_0x1d3d26(0x427)](0x0,Number(_0x3c01ba[_0x1d3d26(0x278)]??0x0)),_0x532ddd=_0x3c01ba[_0x1d3d26(0x34d)]===!0x1?'0':_0x1d3d26(0x4c8),_0x51a7f6=_0x5e6938?'.'+'0'['repeat'](_0x5e6938):'',_0x1a0d61=_0x5a78e7(_0x3c01ba[_0x1d3d26(0x153)]);return''+(_0x3c01ba[_0x1d3d26(0x29b)]?_0x190f95(_0x3c01ba[_0x1d3d26(0x29b)]):'')+_0x532ddd+_0x51a7f6+_0x1a0d61;}function _0xb4869b(_0x3d77af,_0x4395d1){const _0x216eb1=_0x164ecf;let _0x44d60e=_0xde0cee(_0x4395d1),_0x4be48a=_0x9b4f24[_0x216eb1(0x199)][_0x216eb1(0x16b)](_0x44d60e,_0x3d77af,{'throws':!0x1});return _0x231d9c(String(_0x4be48a),_0x4395d1[_0x216eb1(0x21e)],_0x4395d1[_0x216eb1(0x1c7)]);}function _0x5a78e7(_0x5ec264){const _0x42e5a6=_0x164ecf;return _0x5ec264==='K'?_0x42e5a6(0x22a):_0x5ec264==='M'?_0x42e5a6(0x114):_0x5ec264==='B'?',,,\x22B\x22':'';}function _0x190f95(_0x16fe49){const _0x4ae1fe=_0x164ecf;return/^[A-Z]+$/i[_0x4ae1fe(0x37c)](_0x16fe49)?'\x22'+_0x16fe49+'\x22':_0x16fe49;}function _0x231d9c(_0x43ad0d,_0x58ab80,_0x4f5373){const _0x39891a=_0x164ecf;let _0x2b0a7b=_0x58ab80===_0x39891a(0x107)?_0x55148a(_0x4f5373):_0x58ab80;return _0x2b0a7b==='periodComma'?_0x43ad0d[_0x39891a(0x3c5)](/,/g,'\x00')[_0x39891a(0x3c5)](/\./g,',')['replace'](/\0/g,'.'):_0x2b0a7b==='spaceComma'?_0x43ad0d[_0x39891a(0x3c5)](/,/g,'\x20')[_0x39891a(0x3c5)](/\./g,','):_0x2b0a7b==='spacePeriod'?_0x43ad0d[_0x39891a(0x3c5)](/,/g,'\x20'):_0x43ad0d;}function _0x55148a(_0x53555e){const _0x166d0e=_0x164ecf;var _0x24380e,_0x56f08d;let _0x465366=_0x53555e||new Intl['NumberFormat']()['resolvedOptions']()[_0x166d0e(0x1c7)],_0x2d92b1;try{_0x2d92b1=new Intl[(_0x166d0e(0x27d))](_0x465366,{'minimumFractionDigits':0x2,'maximumFractionDigits':0x2,'useGrouping':!0x0})[_0x166d0e(0x2cf)](0xf4240);}catch{return'commaPeriod';}let _0x3ebb49=(_0x24380e=_0x2d92b1[_0x166d0e(0x396)](_0x124e53=>_0x124e53[_0x166d0e(0x132)]===_0x166d0e(0x332)))==null?void 0x0:_0x24380e[_0x166d0e(0x43f)],_0x87584d=(_0x56f08d=_0x2d92b1[_0x166d0e(0x396)](_0x543314=>_0x543314['type']===_0x166d0e(0x129)))==null?void 0x0:_0x56f08d[_0x166d0e(0x43f)],_0x147fee=_0x3ebb49==='\u00a0'||_0x3ebb49==='\u202f'?'\x20':_0x3ebb49;return _0x147fee==='.'&&_0x87584d===','?_0x166d0e(0x460):_0x147fee==='\x20'&&_0x87584d===','?'spaceComma':_0x147fee==='\x20'&&_0x87584d==='.'?_0x166d0e(0x240):'commaPeriod';}function _0x2ae39f(_0x4ac4f0,_0x291c0d){const _0x6c2d2f=_0x164ecf;let _0x32fa48=_0x291c0d&&typeof _0x291c0d==_0x6c2d2f(0x42c)&&!Array[_0x6c2d2f(0x32e)](_0x291c0d)?_0x291c0d:{},_0x1d974e=_0x31e3fd(_0x32fa48[_0x6c2d2f(0x278)],0x0,0x2,0x0),_0xcb865=_0x4ac4f0[_0x6c2d2f(0x320)](_0x1d974e);return _0x32fa48[_0x6c2d2f(0x16b)]===_0x6c2d2f(0x1a8)?_0xcb865:_0xcb865+'%';}function _0x31e3fd(_0x1def0e,_0x3b5be5,_0x38a5c0,_0x48322d){const _0x43f7e6=_0x164ecf;if(_0x1def0e==null||_0x1def0e==='')return _0x48322d;let _0x55777a=typeof _0x1def0e==_0x43f7e6(0x1a8)?_0x1def0e:Number(_0x1def0e);return Number[_0x43f7e6(0x4a1)](_0x55777a)?Math[_0x43f7e6(0x427)](_0x3b5be5,Math[_0x43f7e6(0x1dd)](_0x38a5c0,Math[_0x43f7e6(0x143)](_0x55777a))):_0x48322d;}let _0x29826a=['count',_0x164ecf(0x3f8),_0x164ecf(0x30e),_0x164ecf(0x31c),_0x164ecf(0x11d),_0x164ecf(0x2bc),_0x164ecf(0x1dd),_0x164ecf(0x427)],_0x2e6e10=[_0x164ecf(0xfa),'filled',_0x164ecf(0x30e),_0x164ecf(0x31c)],_0x2c1fdc=[_0x164ecf(0x11d),'average',_0x164ecf(0x1dd),_0x164ecf(0x427)],_0xa4e5c=[_0x164ecf(0x1dd),_0x164ecf(0x427)],_0x56df98=new Set([_0x9b4f24[_0x164ecf(0x3bc)][_0x164ecf(0x44e)],_0x9b4f24[_0x164ecf(0x3bc)][_0x164ecf(0x2fe)],_0x9b4f24[_0x164ecf(0x3bc)][_0x164ecf(0x327)],_0x9b4f24[_0x164ecf(0x3bc)]['Rating']]),_0x442d23=new Set([_0x9b4f24[_0x164ecf(0x3bc)][_0x164ecf(0x1be)],_0x9b4f24[_0x164ecf(0x3bc)]['Person'],_0x9b4f24[_0x164ecf(0x3bc)][_0x164ecf(0x101)]]),_0x37dd11=_0x164ecf(0x16a);function _0x249407(_0x16b71c){const _0x54ea21=_0x164ecf;return typeof _0x16b71c==_0x54ea21(0x1e4)&&_0x29826a[_0x54ea21(0x45d)](_0x16b71c);}function _0x4a56a0(_0xab3edf){const _0x6a7116=_0x164ecf;return!_0xab3edf||typeof _0xab3edf!=_0x6a7116(0x42c)?{}:Object[_0x6a7116(0x224)](Object[_0x6a7116(0x489)](_0xab3edf)[_0x6a7116(0x41f)](_0x2f0d73=>_0x249407(_0x2f0d73[0x1])));}function _0x1f40e5(_0x3a338a){const _0x16766d=_0x164ecf;return _0x56df98['has'](_0x3a338a[_0x16766d(0x132)])?[..._0x2e6e10,..._0x2c1fdc]:_0x3a338a['type']===_0x9b4f24['BaseFieldType']['Formula']?[..._0x2e6e10,..._0x10402b(_0x3a338a)===_0x16766d(0x34f)?_0xa4e5c:_0x2c1fdc]:_0x2e6e10;}function _0x522aac(_0x420c15,_0x4f9402){const _0x4db862=_0x164ecf;return _0x1f40e5(_0x420c15)[_0x4db862(0x45d)](_0x4f9402);}function _0x72fc7(_0x25d4e7,_0x245ca5,_0x1d8b5b){const _0x33aeeb=_0x164ecf;if(!_0x522aac(_0x25d4e7,_0x1d8b5b))return null;let _0x45890d=_0x245ca5[_0x33aeeb(0x41f)](_0x31f733=>!_0x22eb6d(_0x25d4e7,_0x31f733));switch(_0x1d8b5b){case _0x33aeeb(0xfa):return _0x245ca5[_0x33aeeb(0x13b)];case _0x33aeeb(0x3f8):return _0x45890d['length'];case'empty':return _0x245ca5[_0x33aeeb(0x13b)]-_0x45890d['length'];case _0x33aeeb(0x31c):return new Set(_0x45890d[_0x33aeeb(0x2a7)](_0x5b918a=>_0x29e7d5(_0x25d4e7,_0x5b918a)))[_0x33aeeb(0x476)];case _0x33aeeb(0x11d):{let _0x49c33b=_0x1f94e6(_0x25d4e7,_0x45890d);return _0x49c33b[_0x33aeeb(0x13b)]?_0x36ecec(_0x49c33b):null;}case _0x33aeeb(0x2bc):{let _0x56a7e3=_0x1f94e6(_0x25d4e7,_0x45890d);return _0x56a7e3[_0x33aeeb(0x13b)]?_0x36ecec(_0x56a7e3)/_0x56a7e3[_0x33aeeb(0x13b)]:null;}case'min':{let _0x362d66=_0x1f94e6(_0x25d4e7,_0x45890d);return _0x362d66[_0x33aeeb(0x13b)]?Math[_0x33aeeb(0x1dd)](..._0x362d66):null;}case _0x33aeeb(0x427):{let _0x2d7bcf=_0x1f94e6(_0x25d4e7,_0x45890d);return _0x2d7bcf[_0x33aeeb(0x13b)]?Math[_0x33aeeb(0x427)](..._0x2d7bcf):null;}}}function _0x32bbf6(_0x3abd71,_0x159d11,_0x3abd55){const _0x4b52ae=_0x164ecf;if(_0x3abd55==null||!Number[_0x4b52ae(0x4a1)](_0x3abd55))return'-';if(_0x2e6e10[_0x4b52ae(0x45d)](_0x159d11))return String(_0x3abd55);switch(_0x3abd71[_0x4b52ae(0x132)]){case _0x9b4f24[_0x4b52ae(0x3bc)][_0x4b52ae(0x44e)]:return _0xb4869b(_0x3abd55,_0x1ad952(_0x3abd71));case _0x9b4f24[_0x4b52ae(0x3bc)][_0x4b52ae(0x2fe)]:return _0xb4869b(_0x3abd55,_0x38d24a(_0x3abd71));case _0x9b4f24['BaseFieldType'][_0x4b52ae(0x327)]:return _0x2ae39f(_0x3abd55,_0x3abd71[_0x4b52ae(0x19f)]);case _0x9b4f24[_0x4b52ae(0x3bc)][_0x4b52ae(0x274)]:return _0x588404(_0x3abd55,_0x3abd71);default:return _0x11d8ca(_0x3abd55);}}function _0x22eb6d(_0x2352ee,_0x5da3de){const _0xbf1405=_0x164ecf;if(_0x5da3de==null)return!0x0;if(typeof _0x5da3de==_0xbf1405(0x1e4))return _0x5da3de[_0xbf1405(0x276)]()==='';if(Array['isArray'](_0x5da3de))return _0x2352ee[_0xbf1405(0x132)]===_0x9b4f24[_0xbf1405(0x3bc)]['Attachment']?!_0x5da3de['some'](_0xc8d633):_0x5da3de[_0xbf1405(0x13b)]===0x0;if(_0x2352ee[_0xbf1405(0x132)]===_0x9b4f24['BaseFieldType'][_0xbf1405(0x3d3)]&&typeof _0x5da3de==_0xbf1405(0x42c)){let _0x586eb5=_0x5da3de;return[_0x586eb5['text'],_0x586eb5['url']]['every'](_0x467b39=>_0x467b39==null||String(_0x467b39)['trim']()==='');}return!0x1;}function _0x1f94e6(_0x4dbca0,_0x1dc25b){const _0x320f66=_0x164ecf;let _0x458f04=[];for(let _0x3c0377 of _0x1dc25b){let _0x37054f=_0x2abbf1(_0x4dbca0,_0x3c0377);_0x37054f!=null&&_0x458f04[_0x320f66(0x4bf)](_0x37054f);}return _0x458f04;}function _0x2abbf1(_0x164209,_0x2b7fda){const _0x3a8642=_0x164ecf;if(typeof _0x2b7fda==_0x3a8642(0x1a8))return Number[_0x3a8642(0x4a1)](_0x2b7fda)?_0x2b7fda:null;if(_0x164209['type']!==_0x9b4f24[_0x3a8642(0x3bc)][_0x3a8642(0x274)]&&typeof _0x2b7fda==_0x3a8642(0x1e4)&&_0x2b7fda['trim']()!==''){let _0x4a5ee2=Number(_0x2b7fda);return Number['isFinite'](_0x4a5ee2)?_0x4a5ee2:null;}return null;}function _0x36ecec(_0x53a7d1){const _0x3faa0c=_0x164ecf;let _0x29b13d=0x0,_0x5980b0=0x0;for(let _0x4df2c1 of _0x53a7d1){let _0x589794=_0x29b13d+_0x4df2c1;_0x5980b0+=Math['abs'](_0x29b13d)>=Math[_0x3faa0c(0x3cc)](_0x4df2c1)?_0x29b13d-_0x589794+_0x4df2c1:_0x4df2c1-_0x589794+_0x29b13d,_0x29b13d=_0x589794;}return _0x29b13d+_0x5980b0;}function _0x29e7d5(_0x4bcb98,_0x104a3f){const _0xf70ed1=_0x164ecf;return _0x442d23[_0xf70ed1(0x1df)](_0x4bcb98[_0xf70ed1(0x132)])&&Array[_0xf70ed1(0x32e)](_0x104a3f)?_0x1551a6([...new Set(_0x104a3f[_0xf70ed1(0x2a7)](_0x13c392=>_0x1551a6(_0x2fd150(_0x13c392))))]['sort']()):_0x1551a6(_0x2fd150(_0x104a3f));}function _0x2fd150(_0x29ed32){const _0x22b6e8=_0x164ecf;return Array['isArray'](_0x29ed32)?_0x29ed32['map'](_0x2fd150):_0x29ed32&&typeof _0x29ed32==_0x22b6e8(0x42c)?Object['fromEntries'](Object[_0x22b6e8(0x489)](_0x29ed32)[_0x22b6e8(0x281)](([_0x5e6323],[_0x145d86])=>_0x5e6323[_0x22b6e8(0x2c6)](_0x145d86))['map'](([_0x3e1c91,_0x3f1203])=>[_0x3e1c91,_0x2fd150(_0x3f1203)])):_0x29ed32;}function _0x1551a6(_0x46ec4d){const _0x4ad401=_0x164ecf;return JSON['stringify'](_0x46ec4d)??_0x4ad401(0x494);}function _0xc8d633(_0x423c0b){const _0x11d1d9=_0x164ecf;if(typeof _0x423c0b=='string')return _0x423c0b[_0x11d1d9(0x276)]()!=='';if(!_0x423c0b||typeof _0x423c0b!='object')return!0x1;let _0x27f618=_0x423c0b;return[_0x27f618['id'],_0x27f618['name'],_0x27f618[_0x11d1d9(0x268)],_0x27f618[_0x11d1d9(0x4b7)],_0x27f618['thumbnail']][_0x11d1d9(0x3ba)](_0x18e9e9=>_0x18e9e9!=null&&String(_0x18e9e9)[_0x11d1d9(0x276)]()!=='');}function _0x1ad952(_0x16e482){const _0x3f4538=_0x164ecf;let _0x3edd17=_0x49b137(_0x16e482['config']);return{'decimalPlaces':_0x27b370(_0x3edd17[_0x3f4538(0x278)]??_0x3edd17[_0x3f4538(0x37d)],0x0,0x14,0x2),'separatorStyle':typeof _0x3edd17[_0x3f4538(0x21e)]=='string'?_0x3edd17[_0x3f4538(0x21e)]:_0x3f4538(0x107),'locale':typeof _0x3edd17['locale']=='string'?_0x3edd17[_0x3f4538(0x1c7)]:void 0x0,'useThousands':_0x3edd17['useThousands']!==!0x1,'abbreviation':typeof _0x3edd17[_0x3f4538(0x153)]==_0x3f4538(0x1e4)?_0x3edd17[_0x3f4538(0x153)]:_0x3f4538(0x415)};}function _0x38d24a(_0x5ee3ce){const _0x42c59f=_0x164ecf;let _0x2a4103=_0x49b137(_0x5ee3ce[_0x42c59f(0x19f)]);return{..._0x1ad952(_0x5ee3ce),'currencySymbol':String(_0x2a4103[_0x42c59f(0x29b)]??_0x2a4103[_0x42c59f(0x21b)]??'$')};}function _0x588404(_0x468776,_0x726685){const _0x579b86=_0x164ecf;let _0x539440=_0x21557a(_0x726685);if(_0x539440===_0x37dd11)return _0x11d8ca(_0x468776);try{return String(_0x9b4f24['numfmt'][_0x579b86(0x16b)](_0x539440,_0x468776,{'throws':!0x1}));}catch{return _0x11d8ca(_0x468776);}}function _0x10402b(_0x46af00){const _0x573934=_0x164ecf;let _0x5cd73e=_0x49b137(_0x49b137(_0x46af00[_0x573934(0x19f)])[_0x573934(0x199)]);return typeof _0x5cd73e['type']==_0x573934(0x1e4)?_0x5cd73e[_0x573934(0x132)]:'general';}function _0x21557a(_0x37a105){const _0x3cff23=_0x164ecf;let _0x440eaf=_0x49b137(_0x49b137(_0x37a105[_0x3cff23(0x19f)])['numfmt']);return String(_0x440eaf[_0x3cff23(0x3b8)]??_0x37dd11)[_0x3cff23(0x276)]()||_0x37dd11;}function _0x11d8ca(_0x121aed){const _0x1e54ff=_0x164ecf;return String(Number[_0x1e54ff(0x2de)](_0x121aed)?_0x121aed:Math[_0x1e54ff(0x143)]((_0x121aed+0x2**-0x34)*0x64)/0x64);}function _0x49b137(_0x464028){const _0x37b17a=_0x164ecf;return _0x464028&&typeof _0x464028==_0x37b17a(0x42c)&&!Array[_0x37b17a(0x32e)](_0x464028)?_0x464028:{};}function _0x4e503e(_0x34c74){const _0x1410c0=_0x164ecf;if(_0x34c74==null||_0x34c74==='')return null;let _0x4601ae=typeof _0x34c74==_0x1410c0(0x1a8)?_0x34c74:Number(_0x34c74);return Number['isFinite'](_0x4601ae)?_0x4601ae:null;}function _0x27b370(_0xaf607f,_0x279d5f,_0x3a1731,_0x362cf7){const _0x3073f8=_0x164ecf;let _0x3588c0=_0x4e503e(_0xaf607f);return _0x3588c0==null?_0x362cf7:Math[_0x3073f8(0x427)](_0x279d5f,Math['min'](_0x3a1731,Math['round'](_0x3588c0)));}function _0x2c3864(_0x296a48,_0x159716){const _0x2e7f8f=_0x164ecf;let _0x185cd1=_0x9b4f24['Tools'][_0x2e7f8f(0x1a6)](_0x296a48),_0x586d16=_0x159716[_0x2e7f8f(0x3ac)]===!0x0,_0x3f04de=new Map(),_0x197393=_0x159716[_0x2e7f8f(0x211)]??(()=>_0x2e7f8f(0x314)+(0x0,_0x9b4f24[_0x2e7f8f(0x2f8)])(0x8)),_0x15d30a=_0x185cd1[_0x2e7f8f(0x461)];return _0x159716[_0x2e7f8f(0x3ea)]&&(_0x15d30a=_0x185cd1[_0x2e7f8f(0x461)][_0x2e7f8f(0x2a7)](_0x58f3cc=>{const _0x1cd827=_0x2e7f8f;let _0x4e01d1=_0x197393();return _0x3f04de[_0x1cd827(0x25a)](_0x58f3cc,_0x4e01d1),_0x4e01d1;})),{..._0x185cd1,'id':_0x159716['id'],'name':_0x159716['name'],'records':_0x586d16?_0x185cd1[_0x2e7f8f(0x312)]:{},'recordOrder':_0x586d16?_0x185cd1[_0x2e7f8f(0x411)]:[],'rowIndex':_0x586d16?_0x185cd1['rowIndex']:{},'rowId':_0x586d16?_0x185cd1[_0x2e7f8f(0x3c7)]:{},'cellData':_0x586d16?_0x185cd1[_0x2e7f8f(0x216)]:{},'resources':_0x586d16?_0x185cd1[_0x2e7f8f(0x1b2)]:{},'viewOrder':_0x15d30a,'views':Object[_0x2e7f8f(0x224)](Object[_0x2e7f8f(0x489)](_0x185cd1[_0x2e7f8f(0x339)]??{})['map'](([_0x5bff71,_0x5846e2])=>{const _0x318a44=_0x2e7f8f;let _0x2fd8ca=_0x3f04de[_0x318a44(0x3e9)](_0x5bff71)??(_0x159716['regenerateViewIds']?_0x197393():_0x5bff71);return[_0x2fd8ca,{..._0x5846e2,'id':_0x2fd8ca,'tableId':_0x159716['id']}];}))};}var _0x30b99d=_0x164ecf(0x2c1),_0x1a3d80=_0x164ecf(0x390);let _0x30fe5d={},_0x291f89={};function _0x5002be(_0x32fb0d){const _0x538613=_0x164ecf;return new _0x1f3607()[_0x538613(0x2ed)](_0x32fb0d);}function _0x48cf66(_0x49f8b6){const _0x24527e=_0x164ecf;return _0x49f8b6['patches'][_0x24527e(0x2a7)](_0x176452=>({'unitId':_0x49f8b6[_0x24527e(0x333)],'sheetId':_0x49f8b6[_0x24527e(0x28a)],'range':{'startRow':_0x176452[_0x24527e(0x12f)],'endRow':_0x176452[_0x24527e(0x12f)],'startColumn':_0x176452[_0x24527e(0x48d)],'endColumn':_0x176452[_0x24527e(0x48d)]}}));}function _0x3f0dd5(_0x3d24c9,_0xeab0e8){const _0x5278c1=_0x164ecf;return{[_0x3d24c9]:Object['fromEntries'](_0xeab0e8[_0x5278c1(0x2a7)](_0x550c81=>[_0x550c81,'1']))};}let _0xa67bb1=class extends _0x9b4f24[_0x164ecf(0x2b0)]{constructor(_0x4db81e,_0x514ddb){const _0x4bdd16=_0x164ecf;super(),this[_0x4bdd16(0x223)]=_0x4db81e,this[_0x4bdd16(0x14a)]=_0x514ddb,this['_initialize']();}['_initialize'](){const _0x3ee0f0=_0x164ecf;this[_0x3ee0f0(0x223)][_0x3ee0f0(0x39f)](_0x855ab4['id'],{'commandId':_0x855ab4['id'],'getDirtyData':_0x2caa3=>this[_0x3ee0f0(0x454)](_0x2caa3['params'])}),this[_0x3ee0f0(0x3f6)]((0x0,_0x9b4f24['toDisposable'])(()=>{const _0xe51f9b=_0x3ee0f0;this[_0xe51f9b(0x223)][_0xe51f9b(0x321)](_0x855ab4['id']);}));}[_0x164ecf(0x2aa)](_0x3b1259,_0x44d773){const _0x22eaf5=_0x164ecf;let _0x2ddb7e=this[_0x22eaf5(0x14a)][_0x22eaf5(0x10d)](_0x3b1259,_0x9b4f24[_0x22eaf5(0x3d1)][_0x22eaf5(0x3a1)]);return(_0x2ddb7e==null?void 0x0:_0x2ddb7e['getSnapshot']()[_0x22eaf5(0x4cb)][_0x44d773])??null;}[_0x164ecf(0x454)](_0x5a54a1){const _0x386af8=_0x164ecf;if(_0x5a54a1[_0x386af8(0x23f)]===_0x386af8(0x3c4))return{};if(!_0x5a54a1[_0x386af8(0x333)]||!_0x5a54a1['op'])return{'clearDependencyTreeCache':this[_0x386af8(0x458)](),'forceCalculation':!0x0};let _0x501d39=_0x5002be(_0x5a54a1['op']),_0x425c55=this['_getStructureDirtyTableIds'](_0x5a54a1[_0x386af8(0x333)],_0x501d39);if(_0x425c55[_0x386af8(0x13b)])return{'clearDependencyTreeCache':_0x3f0dd5(_0x5a54a1[_0x386af8(0x333)],_0x425c55),'forceCalculation':!0x0};let _0x192082=Object[_0x386af8(0x489)](this[_0x386af8(0x119)](_0x5a54a1[_0x386af8(0x333)],_0x501d39))['flatMap'](([_0x27762d,_0x5f457d])=>_0x48cf66({'unitId':_0x5a54a1[_0x386af8(0x333)],'tableId':_0x27762d,'patches':_0x5f457d}));return _0x192082[_0x386af8(0x13b)]?{'dirtyRanges':_0x192082}:{};}[_0x164ecf(0x3ae)](_0x249a63,_0x7f9306){const _0xb6b875=_0x164ecf;let _0x5a3336=_0x7f9306['filter'](_0x184423=>_0x184423[_0xb6b875(0x167)]!==_0xb6b875(0x213))[_0xb6b875(0x17e)](_0x32c801=>_0x32c801['tableId']?[_0x32c801[_0xb6b875(0x28a)]]:this[_0xb6b875(0x212)](_0x249a63));return Array[_0xb6b875(0x338)](new Set(_0x5a3336));}[_0x164ecf(0x119)](_0x378849,_0x5a766c){const _0x341f07=_0x164ecf;let _0x21a49f=new Set();return _0x5a766c[_0x341f07(0x297)]((_0x1bb377,_0x253ace)=>{const _0x4c33aa=_0x341f07;let _0x921875=this[_0x4c33aa(0x4c2)](_0x378849,_0x253ace);if(!_0x921875)return _0x1bb377;let _0x12b6b6=_0x253ace[_0x4c33aa(0x28a)]+':'+_0x921875['row']+':'+_0x921875[_0x4c33aa(0x48d)];return _0x21a49f['has'](_0x12b6b6)?_0x1bb377:(_0x21a49f[_0x4c33aa(0x134)](_0x12b6b6),_0x1bb377[_0x253ace['tableId']]=_0x1bb377[_0x253ace[_0x4c33aa(0x28a)]]??[],_0x1bb377[_0x253ace[_0x4c33aa(0x28a)]][_0x4c33aa(0x4bf)](_0x921875),_0x1bb377);},{});}['_toDirtyRangePatch'](_0x380ebb,_0xaba497){const _0x5aada1=_0x164ecf;if(_0xaba497['reason']!==_0x5aada1(0x213))return null;if(_0xaba497[_0x5aada1(0x12f)]!=null&&_0xaba497[_0x5aada1(0x1b3)]!=null)return{'row':_0xaba497[_0x5aada1(0x12f)],'col':_0xaba497[_0x5aada1(0x1b3)],'value':null};if(!_0xaba497[_0x5aada1(0x1d9)]||!_0xaba497[_0x5aada1(0x195)])return null;let _0x184337=this[_0x5aada1(0x2aa)](_0x380ebb,_0xaba497[_0x5aada1(0x28a)]);if(!_0x184337)return null;let _0x1e8955=_0x683939(_0x184337,_0xaba497[_0x5aada1(0x1d9)],_0xaba497[_0x5aada1(0x195)]);return _0x1e8955?{'row':_0x1e8955[_0x5aada1(0x12f)],'col':_0x1e8955[_0x5aada1(0x48d)],'value':null}:null;}['_getAllTableIds'](_0x476eb3){const _0x2e117c=_0x164ecf;let _0x590e59=this[_0x2e117c(0x14a)][_0x2e117c(0x10d)](_0x476eb3,_0x9b4f24[_0x2e117c(0x3d1)]['UNIVER_BASE']);return Object[_0x2e117c(0x10a)]((_0x590e59==null?void 0x0:_0x590e59[_0x2e117c(0x293)]()[_0x2e117c(0x4cb)])??{})['map'](_0x37e6ef=>_0x37e6ef['id']);}[_0x164ecf(0x458)](){const _0x4eb455=_0x164ecf;let _0x368624=this[_0x4eb455(0x14a)][_0x4eb455(0x446)](_0x9b4f24[_0x4eb455(0x3d1)][_0x4eb455(0x3a1)])[_0x4eb455(0x2a7)](_0x351ce3=>_0x3f0dd5(_0x351ce3['getUnitId'](),Object[_0x4eb455(0x1fe)](_0x351ce3[_0x4eb455(0x293)]()[_0x4eb455(0x4cb)])));return Object[_0x4eb455(0x29a)]({},..._0x368624);}};_0xa67bb1=_0x12cf0c([_0x891af9(0x0,_0x57d3e9[_0x164ecf(0x1f8)]),_0x891af9(0x1,_0x9b4f24[_0x164ecf(0x15c)])],_0xa67bb1);let _0x14899f=_0x9b4f24['regexp'][_0x164ecf(0x207)](String[_0x164ecf(0x126)]`(?:^|\W)\$?[A-Z]{1,3}\$?\d+(?::\$?[A-Z]{1,3}\$?\d+)?(?:$|\W)`),_0x2f6e35=_0x9b4f24['regexp'][_0x164ecf(0x207)](String['raw']`(?:'\[[^\]]+\](?:[^']|'')+'|\[[^\]]+\][^\s'!]+)!\$?[A-Z]{1,3}\$?\d+(?::\$?[A-Z]{1,3}\$?\d+)?`,'gi'),_0x5c4d6c=/\{([^}]+)\}/g,_0x375658=_0x9b4f24[_0x164ecf(0x33e)][_0x164ecf(0x207)](String[_0x164ecf(0x126)]`\b([A-Z_]\w*)\[([^\]]+)\]`,'gi'),_0x5f50c2=_0x9b4f24[_0x164ecf(0x33e)][_0x164ecf(0x207)](String[_0x164ecf(0x126)]`(^|[^\w\][])\[([^\]]+)\]`,'g');var _0x36de02=class{[_0x164ecf(0x247)](_0x506252,_0x38321f=_0x506252['id']){const _0x4a21a5=_0x164ecf;var _0x21d427;let _0x506023=((_0x21d427=_0x506252[_0x4a21a5(0x411)])==null?void 0x0:_0x21d427[_0x4a21a5(0x13b)])??Object[_0x4a21a5(0x10a)](_0x506252['records'])[_0x4a21a5(0x13b)];return{'sheetId':_0x38321f,'titleMap':new Map(_0x506252[_0x4a21a5(0x30b)][_0x4a21a5(0x2a7)]((_0x1e3ec0,_0x46f011)=>{const _0xc5b13d=_0x4a21a5;var _0x35d51e;return[((_0x35d51e=_0x506252[_0xc5b13d(0x43b)][_0x1e3ec0])==null?void 0x0:_0x35d51e[_0xc5b13d(0x267)])??_0x1e3ec0,_0x46f011];})),'range':{'startRow':0x0,'endRow':Math['max'](0x0,_0x506023-0x1),'startColumn':0x0,'endColumn':Math['max'](0x0,_0x506252[_0x4a21a5(0x30b)][_0x4a21a5(0x13b)]-0x1)},'showHeader':!0x1};}[_0x164ecf(0x2bb)](_0x4557cd,_0x9965d6,_0x2c045e,_0x4ff4a7={}){const _0x4b962b=_0x164ecf;let _0x258757=this[_0x4b962b(0x247)](_0x2c045e,_0x4ff4a7[_0x4b962b(0x4cf)]??_0x2c045e['id']);return new Set([_0x2c045e['id'],_0x2c045e[_0x4b962b(0x267)],_0x4ff4a7['tableName']][_0x4b962b(0x41f)](_0xac869a=>!!_0xac869a))[_0x4b962b(0x49e)](_0x142089=>_0x4557cd['registerTable'](_0x9965d6,_0x142089,_0x258757)),_0x258757;}[_0x164ecf(0x388)](_0x404ccf,_0x2f492d){const _0xb37271=_0x164ecf;let _0x29aa7e=this[_0xb37271(0x3ab)](_0x2f492d);return _0x29aa7e['forEach'](({tableName:_0x265768,reference:_0x2c9dc7})=>{const _0x7733e6=_0xb37271;_0x404ccf[_0x7733e6(0x323)](_0x2f492d['id'],_0x265768,_0x2c9dc7);}),Array[_0xb37271(0x338)](new Set(_0x29aa7e['map'](({reference:_0x3b2d09})=>_0x3b2d09)));}['getSuperTableRegistrations'](_0x3b5081,_0x2312a6){const _0x50c402=_0x164ecf;let _0x267aec=[],_0x45b59b=_0x2312a6?new Set(_0x2312a6):null,_0x23ce3d=new Map();return Object['values'](_0x3b5081[_0x50c402(0x4cb)])[_0x50c402(0x49e)](_0x4fa39d=>{const _0xce2ca9=_0x50c402;let _0x2c3d02=_0x4fa39d[_0xce2ca9(0x267)][_0xce2ca9(0x276)]()[_0xce2ca9(0x3b3)]();_0x23ce3d[_0xce2ca9(0x25a)](_0x2c3d02,(_0x23ce3d[_0xce2ca9(0x3e9)](_0x2c3d02)??0x0)+0x1);}),Object[_0x50c402(0x10a)](_0x3b5081[_0x50c402(0x4cb)])[_0x50c402(0x41f)](_0x378a3c=>!_0x45b59b||_0x45b59b[_0x50c402(0x1df)](_0x378a3c['id']))['forEach'](_0x242a7d=>{const _0x1e554c=_0x50c402;let _0x5f3fcf=this[_0x1e554c(0x247)](_0x242a7d,_0x242a7d['id']);_0x267aec[_0x1e554c(0x4bf)]({'tableId':_0x242a7d['id'],'tableName':_0x242a7d['id'],'reference':_0x5f3fcf}),(_0x23ce3d[_0x1e554c(0x3e9)](_0x242a7d['name'][_0x1e554c(0x276)]()['toLowerCase']())??0x0)===0x1&&_0x267aec[_0x1e554c(0x4bf)]({'tableId':_0x242a7d['id'],'tableName':_0x242a7d['name'],'reference':_0x5f3fcf});}),_0x267aec;}[_0x164ecf(0x309)](_0x480579,_0x55071c,_0x3c5e86={}){const _0x4a3ddb=_0x164ecf;let _0xa5ecd9=_0x480579[_0x4a3ddb(0x276)]();if(!_0xa5ecd9)return{'valid':!0x0};if(_0x475a0d(_0xa5ecd9))return{'valid':!0x1,'reason':_0x4a3ddb(0x3a6)};for(let _0xd16c93 of _0x5d64bb(_0xa5ecd9)){let _0x57811d=_0x2a3f99(_0xd16c93,_0x55071c,_0x3c5e86[_0x4a3ddb(0x255)]);if(!_0x57811d[_0x4a3ddb(0xfe)])return{'valid':!0x1,'reason':_0x4a3ddb(0x15a)+_0xd16c93[_0x4a3ddb(0x36e)]+_0x4a3ddb(0x21a)};if(!_0x57811d[_0x4a3ddb(0x2da)])return{'valid':!0x1,'reason':'[BaseFormula]:\x20field\x20\x22'+_0xd16c93[_0x4a3ddb(0x4b9)]+_0x4a3ddb(0x21a)};}return{'valid':!0x0};}['getDependencies'](_0x50c20e,_0x422185,_0xb45d={}){const _0x15f1e6=_0x164ecf;let _0x51a376=new Set();for(let _0x56336d of this['getStructuredDependencies'](_0x50c20e,_0x422185,_0xb45d))_0x56336d[_0x15f1e6(0x28a)]===_0x422185['id']&&_0x51a376[_0x15f1e6(0x134)](_0x56336d[_0x15f1e6(0x195)]);return Array[_0x15f1e6(0x338)](_0x51a376);}[_0x164ecf(0x158)](_0x38d424,_0x515760,_0x71c4b2={}){const _0x318f85=_0x164ecf;let _0x2cf16b=new Map();for(let _0x1a8031 of _0x5d64bb(_0x38d424)){let _0x53d562=_0x2a3f99(_0x1a8031,_0x515760,_0x71c4b2[_0x318f85(0x255)]);if(!_0x53d562['table']||!_0x53d562[_0x318f85(0x2da)])continue;let _0x318cf6=_0x53d562[_0x318f85(0xfe)]['id']+'\x1f'+_0x53d562['field']['id'];_0x2cf16b['set'](_0x318cf6,{'tableId':_0x53d562['table']['id'],'fieldId':_0x53d562['field']['id']});}return Array[_0x318f85(0x338)](_0x2cf16b[_0x318f85(0x10a)]());}};function _0x1db57f(_0x31cc15,_0x4718bd){const _0x1fad4a=_0x164ecf;var _0x18078b;let _0xf367b5=[],_0x300050=(_0x18078b=_0x4718bd[_0x1fad4a(0x4bb)])==null?void 0x0:_0x18078b[_0x31cc15['id']];return _0x300050&&Object[_0x1fad4a(0x489)](_0x300050)[_0x1fad4a(0x49e)](([_0x4cc84d,_0x5ab106])=>{const _0x4d2f59=_0x1fad4a;let _0x88e1d9=_0x31cc15[_0x4d2f59(0x4cb)][_0x4cc84d];if(!_0x88e1d9||!_0x5ab106)return;let _0x939dd6=_0x8ae1a4(_0x88e1d9),_0x165432=[];new _0x9b4f24[(_0x4d2f59(0x2f1))](_0x5ab106)[_0x4d2f59(0x214)]((_0x150090,_0x2fb4b0,_0x42af26)=>{let _0x5e2013=_0x1737b9(_0x939dd6,_0x150090,_0x2fb4b0,_0x42af26);_0x5e2013&&_0x165432['push'](_0x5e2013);}),_0x165432[_0x4d2f59(0x13b)]&&_0xf367b5[_0x4d2f59(0x4bf)]({'unitId':_0x31cc15['id'],'tableId':_0x4cc84d,'patches':_0x165432});}),_0xf367b5;}function _0x1737b9(_0x50db25,_0x4dad1d,_0x31b1fd,_0x4c2476){const _0xb5e07a=_0x164ecf;var _0x48e099,_0x442c97,_0x30c7e9;let _0x34ba63=(_0x48e099=_0x50db25[_0xb5e07a(0x3c7)])==null?void 0x0:_0x48e099[_0x4dad1d],_0x96cd7=(_0x442c97=_0x50db25['colId'])==null?void 0x0:_0x442c97[_0x31b1fd];if(!_0x34ba63||!_0x50db25[_0xb5e07a(0x312)][_0x34ba63]||!_0x96cd7)return null;let _0x4b01c4=_0x50db25[_0xb5e07a(0x43b)][_0x96cd7];if(!_0x4b01c4||_0x4b01c4[_0xb5e07a(0x132)]!==_0xb5e07a(0x2f9))return null;let _0x35ef2b=String(((_0x30c7e9=_0x4b01c4[_0xb5e07a(0x19f)])==null?void 0x0:_0x30c7e9['formula'])??'')[_0xb5e07a(0x276)](),_0x3c8dbf=(_0x4c2476==null?void 0x0:_0x4c2476['v'])??null,_0x1ba753={'v':_0x3c8dbf,'t':_0x3fde94(_0x3c8dbf),..._0x4dad1d===0x0&&_0x35ef2b?{'f':_0x35ef2b}:{},'si':_0x4b01c4['id']};return _0x54d070(_0x273a83(_0x50db25,_0x34ba63,_0x96cd7),_0x1ba753)?null:{'row':_0x4dad1d,'col':_0x31b1fd,'value':_0x1ba753};}function _0x54d070(_0x50251c,_0x2fbdc2){return _0x50251c!=null&&Object['is'](_0x50251c['v']??null,_0x2fbdc2['v']??null)&&_0x50251c['t']===_0x2fbdc2['t']&&_0x50251c['f']===_0x2fbdc2['f']&&_0x50251c['si']===_0x2fbdc2['si'];}function _0x3fde94(_0x481709){const _0x4201c2=_0x164ecf;return typeof _0x481709==_0x4201c2(0x1a8)?_0x9b4f24[_0x4201c2(0x260)][_0x4201c2(0x381)]:typeof _0x481709=='boolean'?_0x9b4f24[_0x4201c2(0x260)][_0x4201c2(0x110)]:typeof _0x481709=='string'?_0x9b4f24[_0x4201c2(0x260)]['STRING']:null;}function _0x5d64bb(_0x30db3e){const _0x4548a6=_0x164ecf;_0x30db3e=_0x59294c(_0x30db3e,()=>'');let _0x1b288a=new Map();for(let _0x51ebce of _0x30db3e[_0x4548a6(0x173)](_0x5c4d6c)){let _0xd57cb0={'fieldName':_0x51ebce[0x1]};_0x1b288a[_0x4548a6(0x25a)]('\x1f'+_0xd57cb0[_0x4548a6(0x4b9)],_0xd57cb0);}for(let _0x17787d of _0x30db3e[_0x4548a6(0x173)](_0x375658)){let _0x522519={'tableName':_0x17787d[0x1],'fieldName':_0x17787d[0x2]};_0x1b288a['set'](_0x522519[_0x4548a6(0x36e)]+'\x1f'+_0x522519[_0x4548a6(0x4b9)],_0x522519);}for(let _0x4e76fd of _0x30db3e['matchAll'](_0x5f50c2)){let _0x2cea3a={'fieldName':_0x4e76fd[0x2]};_0x1b288a[_0x4548a6(0x25a)]('\x1f'+_0x2cea3a[_0x4548a6(0x4b9)],_0x2cea3a);}return Array[_0x4548a6(0x338)](_0x1b288a[_0x4548a6(0x10a)]());}function _0x475a0d(_0x1b1d86){const _0x1f3e86=_0x164ecf;let _0xab0556=_0x4bce90(_0x1b1d86,()=>'\x20')[_0x1f3e86(0x3c5)](_0x5c4d6c,'\x20')[_0x1f3e86(0x3c5)](_0x375658,'\x20')['replace'](_0x5f50c2,_0x1f3e86(0x1c4));return _0x14899f['test'](_0xab0556);}function _0x59294c(_0xb53fa8,_0x2f00f4){return _0x451ac4(_0x4bce90(_0xb53fa8,_0x2f00f4),_0x2f00f4);}function _0x4bce90(_0x5c9f39,_0x364c2c){const _0x2a02c6=_0x164ecf;return _0x2f6e35['lastIndex']=0x0,_0x5c9f39[_0x2a02c6(0x3c5)](_0x2f6e35,(_0x567ce5,_0x5366ee)=>_0x56a272(_0x5c9f39,_0x5366ee)?_0x567ce5:_0x364c2c(_0x567ce5));}let _0x2b6df3=/(?:'((?:[^']|'')+)'|\[[^\]]+\]|[A-Za-z0-9_.-]+)![^\s!\[\]]+\[/g;function _0x451ac4(_0x314711,_0x2acc04){const _0x24c889=_0x164ecf;let _0x28e994=[];_0x2b6df3[_0x24c889(0x2e4)]=0x0;let _0x7c3056;for(;(_0x7c3056=_0x2b6df3[_0x24c889(0x4b5)](_0x314711))!=null;){if(_0x56a272(_0x314711,_0x7c3056[_0x24c889(0x2d4)]))continue;let _0x4686d6=_0x2b6df3[_0x24c889(0x2e4)]-0x1,_0x297b22=0x0;for(let _0x55e5b2=_0x4686d6;_0x55e5b2<_0x314711['length'];_0x55e5b2++)if(_0x314711[_0x55e5b2]==='['&&_0x297b22++,_0x314711[_0x55e5b2]===']'&&(_0x297b22--,_0x297b22===0x0)){_0x28e994[_0x24c889(0x4bf)]({'start':_0x7c3056[_0x24c889(0x2d4)],'end':_0x55e5b2+0x1}),_0x2b6df3[_0x24c889(0x2e4)]=_0x55e5b2+0x1;break;}}if(_0x28e994[_0x24c889(0x13b)]===0x0)return _0x314711;let _0x59ba9b='',_0x267fc3=0x0;for(let _0x42775e of _0x28e994)_0x59ba9b+=_0x314711[_0x24c889(0x475)](_0x267fc3,_0x42775e[_0x24c889(0x2e1)]),_0x59ba9b+=_0x2acc04(_0x314711[_0x24c889(0x475)](_0x42775e[_0x24c889(0x2e1)],_0x42775e[_0x24c889(0x168)])),_0x267fc3=_0x42775e[_0x24c889(0x168)];return _0x59ba9b+_0x314711[_0x24c889(0x475)](_0x267fc3);}function _0x56a272(_0x8ff9eb,_0x4b982c){let _0x33e1d4=!0x1;for(let _0x97ad05=0x0;_0x97ad05<_0x4b982c;_0x97ad05++)if(_0x8ff9eb[_0x97ad05]==='\x22'){if(_0x33e1d4&&_0x8ff9eb[_0x97ad05+0x1]==='\x22'){_0x97ad05++;continue;}_0x33e1d4=!_0x33e1d4;}return _0x33e1d4;}function _0x2a3f99(_0xa28658,_0xeb1d0,_0x575cc0){const _0x5b8bba=_0x164ecf;let _0x4404a6=_0x116b31(_0xa28658[_0x5b8bba(0x36e)],_0xeb1d0,_0x575cc0);return{'table':_0x4404a6,'field':_0x4404a6?Object['values'](_0x4404a6['fields'])[_0x5b8bba(0x396)](_0x2cad3a=>_0x2cad3a[_0x5b8bba(0x267)]===_0xa28658[_0x5b8bba(0x4b9)]):void 0x0};}function _0x116b31(_0x42e87c,_0x251aa4,_0x933653){const _0x5d01a4=_0x164ecf;if(!_0x42e87c||_0x42e87c===_0x5d01a4(0xfe)||_0x42e87c===_0x251aa4['id']||_0x42e87c===_0x251aa4[_0x5d01a4(0x267)])return _0x251aa4;if(!_0x933653)return;let _0xad4084=_0x933653[_0x5d01a4(0x4cb)][_0x42e87c];if(_0xad4084)return _0xad4084;let _0x435bac=Object[_0x5d01a4(0x10a)](_0x933653['tables'])[_0x5d01a4(0x41f)](_0x5b57c7=>_0x5b57c7[_0x5d01a4(0x267)]===_0x42e87c);return _0x435bac[_0x5d01a4(0x13b)]===0x1?_0x435bac[0x0]:void 0x0;}let _0x3019a8=class extends _0x9b4f24[_0x164ecf(0x2b0)]{constructor(_0x5db37c,_0x38601c,_0x1e64d3,_0x50832c){const _0x3eed4f=_0x164ecf;super(),this[_0x3eed4f(0x2f7)]=_0x5db37c,this['_univerInstanceService']=_0x38601c,this[_0x3eed4f(0x2fd)]=_0x1e64d3,this[_0x3eed4f(0x33d)]=_0x50832c,_0x1fa697(this,'_formulaService',new _0x36de02()),_0x1fa697(this,_0x3eed4f(0x2ac),new Map()),_0x1fa697(this,_0x3eed4f(0x1d3),new Set()),_0x1fa697(this,_0x3eed4f(0x38e),Promise['resolve']()),_0x1fa697(this,_0x3eed4f(0x1f0),!0x1),this[_0x3eed4f(0x2d6)]();}[_0x164ecf(0x2d6)](){const _0x5d74b0=_0x164ecf;this['_univerInstanceService'][_0x5d74b0(0x446)](_0x9b4f24[_0x5d74b0(0x3d1)]['UNIVER_BASE'])[_0x5d74b0(0x49e)](_0x1e180d=>{const _0x57da05=_0x5d74b0;this[_0x57da05(0x20e)](_0x1e180d);}),this[_0x5d74b0(0x3f6)](this[_0x5d74b0(0x14a)][_0x5d74b0(0x266)](_0x9b4f24['UniverInstanceType']['UNIVER_BASE'])[_0x5d74b0(0x46b)](({unit:_0x4b482e})=>{const _0x18af31=_0x5d74b0;this[_0x18af31(0x20e)](_0x4b482e);})),this[_0x5d74b0(0x3f6)](this[_0x5d74b0(0x14a)][_0x5d74b0(0x43a)](_0x9b4f24[_0x5d74b0(0x3d1)][_0x5d74b0(0x3a1)])[_0x5d74b0(0x46b)](_0x11f780=>{const _0x1fd0a2=_0x5d74b0;this[_0x1fd0a2(0x3ee)](()=>this[_0x1fd0a2(0x3f0)](_0x11f780[_0x1fd0a2(0x368)]()));})),this[_0x5d74b0(0x3f6)](this[_0x5d74b0(0x2f7)][_0x5d74b0(0x1ea)](_0x167dfb=>this[_0x5d74b0(0x348)](_0x167dfb)));}[_0x164ecf(0x348)](_0x27df46){const _0x4e9364=_0x164ecf;if(_0x27df46['id']===_0x57d3e9['SetFormulaCalculationResultMutation']['id']){_0x1b64e0(_0x27df46[_0x4e9364(0x36d)])&&this['_applyFormulaResult'](_0x27df46[_0x4e9364(0x36d)]);return;}if(this[_0x4e9364(0x1f0)]||_0x27df46['id']!==_0x855ab4['id'])return;let _0x531dfe=_0x3a5e24(_0x27df46[_0x4e9364(0x36d)])?_0x27df46[_0x4e9364(0x36d)]:void 0x0,_0x468d47=_0x531dfe!=null&&_0x531dfe[_0x4e9364(0x333)]?[this[_0x4e9364(0x14a)][_0x4e9364(0x10d)](_0x531dfe[_0x4e9364(0x333)],_0x9b4f24[_0x4e9364(0x3d1)][_0x4e9364(0x3a1)])]['filter'](_0x32e3d1=>!!_0x32e3d1):this['_univerInstanceService']['getAllUnitsForType'](_0x9b4f24[_0x4e9364(0x3d1)]['UNIVER_BASE']),_0x532253=_0x531dfe==null?void 0x0:_0x531dfe['op'];_0x468d47[_0x4e9364(0x49e)](_0x3057d8=>{const _0x4e8c26=_0x4e9364;let _0x4032b9=_0x532253?_0x5002be(_0x532253):[];(!_0x532253||_0x4032b9['some'](_0x50598c=>_0x50598c[_0x4e8c26(0x167)]!==_0x4e8c26(0x213)))&&this[_0x4e8c26(0x20e)](_0x3057d8);});}['_scheduleSuperTableSync'](_0x54d9c6){const _0xd3c2a0=_0x164ecf;let _0x43775f=_0x54d9c6[_0xd3c2a0(0x368)]();this[_0xd3c2a0(0x1d3)][_0xd3c2a0(0x1df)](_0x43775f)||(this[_0xd3c2a0(0x1d3)]['add'](_0x43775f),this[_0xd3c2a0(0x3ee)](async()=>{const _0x58c9f5=_0xd3c2a0;this[_0x58c9f5(0x1d3)][_0x58c9f5(0x2c7)](_0x43775f),await this[_0x58c9f5(0x4b8)](_0x54d9c6);}));}async[_0x164ecf(0x4b8)](_0x5c5b60){const _0x1a97ff=_0x164ecf;let _0x25bdf1=_0x5c5b60[_0x1a97ff(0x368)](),_0x2dfeed=this[_0x1a97ff(0x2c2)]['getSuperTableRegistrations'](_0x5c5b60['getSnapshot']()),_0x421727=new Set(_0x2dfeed[_0x1a97ff(0x2a7)](({tableName:_0x5bc979})=>_0x5bc979)),_0x6a80b9=this[_0x1a97ff(0x2ac)][_0x1a97ff(0x3e9)](_0x25bdf1)??new Set();for(let _0x3de682 of _0x6a80b9)_0x421727[_0x1a97ff(0x1df)](_0x3de682)||await this[_0x1a97ff(0x2f7)][_0x1a97ff(0x246)](_0x57d3e9[_0x1a97ff(0x421)]['id'],{'unitId':_0x25bdf1,'tableName':_0x3de682},{'onlyLocal':!0x0});for(let {tableName:_0x5da38c,reference:_0x14b7d0}of _0x2dfeed)await this[_0x1a97ff(0x2f7)][_0x1a97ff(0x246)](_0x57d3e9[_0x1a97ff(0x4ac)]['id'],{'unitId':_0x25bdf1,'tableName':_0x5da38c,'reference':_0x14b7d0},{'onlyLocal':!0x0});this['_registeredSuperTableNames']['set'](_0x25bdf1,_0x421727);}async[_0x164ecf(0x3f0)](_0x54ed42){const _0x12cabc=_0x164ecf;let _0x23cc17=this[_0x12cabc(0x2ac)][_0x12cabc(0x3e9)](_0x54ed42)??new Set();for(let _0x240294 of _0x23cc17)await this[_0x12cabc(0x2f7)]['executeCommand'](_0x57d3e9[_0x12cabc(0x421)]['id'],{'unitId':_0x54ed42,'tableName':_0x240294},{'onlyLocal':!0x0});this[_0x12cabc(0x2ac)][_0x12cabc(0x2c7)](_0x54ed42);}[_0x164ecf(0x3ee)](_0x1dac59){const _0x575979=_0x164ecf;this[_0x575979(0x38e)]=this[_0x575979(0x38e)][_0x575979(0x3df)](_0x1dac59,_0x1dac59)[_0x575979(0x3da)](()=>void 0x0);}[_0x164ecf(0x3dc)](_0x27f0ea){const _0x4b06ae=_0x164ecf;let _0x4dd058=this[_0x4b06ae(0x14a)][_0x4b06ae(0x446)](_0x9b4f24[_0x4b06ae(0x3d1)][_0x4b06ae(0x3a1)]);if(!_0x4dd058[_0x4b06ae(0x3ba)](_0x65fb94=>{const _0x25ff79=_0x4b06ae;var _0x44d556;return((_0x44d556=_0x27f0ea['unitData'])==null?void 0x0:_0x44d556[_0x65fb94[_0x25ff79(0x368)]()])!=null;}))return;let _0x40fb7a=_0x4dd058[_0x4b06ae(0x17e)](_0x5ebc43=>_0x1db57f(_0x5ebc43[_0x4b06ae(0x293)](),_0x27f0ea));if(!_0x40fb7a['length']){this['_formulaCalculationSessionService']['markResultApplied'](_0x3e8dfc['FormulaResultApplicationType'][_0x4b06ae(0x217)],_0x27f0ea);return;}let _0x2d2512=new _0x1b7d14(),_0x2cdb75=_0x40fb7a['flatMap'](_0x5e5427=>_0x48cf66({'unitId':_0x5e5427[_0x4b06ae(0x333)],'tableId':_0x5e5427['tableId'],'patches':_0x5e5427[_0x4b06ae(0x355)]}));this[_0x4b06ae(0x1f0)]=!0x0,(async()=>{const _0xf93ea8=_0x4b06ae;for(let _0x22eab9 of _0x40fb7a){let _0x70695f=this[_0xf93ea8(0x14a)][_0xf93ea8(0x10d)](_0x22eab9[_0xf93ea8(0x333)],_0x9b4f24['UniverInstanceType']['UNIVER_BASE']);_0x70695f&&await this['_commandService'][_0xf93ea8(0x246)](_0x855ab4['id'],{'unitId':_0x22eab9[_0xf93ea8(0x333)],'op':_0x2d2512[_0xf93ea8(0x123)](_0x70695f['getSnapshot'](),_0x22eab9[_0xf93ea8(0x28a)],_0x22eab9[_0xf93ea8(0x355)]),'trigger':_0x57d3e9['SetFormulaCalculationResultMutation']['id']},{'onlyLocal':!0x0});}await this[_0xf93ea8(0x2f7)][_0xf93ea8(0x246)](_0x57d3e9[_0xf93ea8(0x1d8)]['id'],{'dirtyRanges':_0x2cdb75},{'onlyLocal':!0x0});})()[_0x4b06ae(0x408)](()=>{const _0x431bf4=_0x4b06ae;this['_applyingFormulaResults']=!0x1,this[_0x431bf4(0x33d)][_0x431bf4(0x43e)](_0x3e8dfc[_0x431bf4(0x26c)][_0x431bf4(0x217)],_0x27f0ea);});}};_0x3019a8=_0x12cf0c([_0x891af9(0x0,_0x9b4f24[_0x164ecf(0x46a)]),_0x891af9(0x1,_0x9b4f24[_0x164ecf(0x15c)]),_0x891af9(0x2,(0x0,_0x9b4f24[_0x164ecf(0x34a)])(_0x57d3e9[_0x164ecf(0x102)])),_0x891af9(0x3,(0x0,_0x9b4f24[_0x164ecf(0x34a)])(_0x3e8dfc['FormulaCalculationSessionService']))],_0x3019a8);function _0x3a5e24(_0x1c64d8){const _0x418cc3=_0x164ecf;return typeof _0x1c64d8==_0x418cc3(0x42c)&&!!_0x1c64d8&&'unitId'in _0x1c64d8&&typeof _0x1c64d8['unitId']==_0x418cc3(0x1e4)&&'op'in _0x1c64d8&&Array['isArray'](_0x1c64d8['op']);}function _0x1b64e0(_0x501a0c){const _0x54b8ec=_0x164ecf;return typeof _0x501a0c==_0x54b8ec(0x42c)&&!!_0x501a0c&&_0x54b8ec(0x4bb)in _0x501a0c&&_0x54b8ec(0x34e)in _0x501a0c;}let _0x17905b=(0x0,_0x9b4f24['createIdentifier'])('base.resource.service'),_0x7816eb=class{constructor(_0x5a6c95){const _0x360898=_0x164ecf;this[_0x360898(0x14a)]=_0x5a6c95;}[_0x164ecf(0x42b)](_0x587516){const _0x30ccb0=_0x164ecf;return this[_0x30ccb0(0x14a)][_0x30ccb0(0x10d)](_0x587516,_0x9b4f24[_0x30ccb0(0x3d1)][_0x30ccb0(0x3a1)])??null;}[_0x164ecf(0x1e2)](){const _0x5c8d5c=_0x164ecf;return this[_0x5c8d5c(0x14a)][_0x5c8d5c(0x446)](_0x9b4f24[_0x5c8d5c(0x3d1)][_0x5c8d5c(0x3a1)]);}['createBase'](_0x4c7491){const _0x4ebe00=_0x164ecf;return this['_univerInstanceService'][_0x4ebe00(0x3a9)](_0x9b4f24['UniverInstanceType'][_0x4ebe00(0x3a1)],_0x4c7491);}};_0x7816eb=_0x12cf0c([_0x891af9(0x0,_0x9b4f24['IUniverInstanceService'])],_0x7816eb);let _0x4800d6=(0x0,_0x9b4f24['createIdentifier'])(_0x164ecf(0x112));var _0x46feac=class extends _0x9b4f24[_0x164ecf(0x2b0)]{constructor(..._0x49114d){const _0xd502ee=_0x164ecf;super(..._0x49114d),_0x1fa697(this,_0xd502ee(0x20c),new Map());}['register'](_0x1e4e70){const _0x1356f8=_0x164ecf;return this[_0x1356f8(0x20c)][_0x1356f8(0x25a)](_0x1e4e70[_0x1356f8(0x132)],_0x1e4e70),(0x0,_0x9b4f24[_0x1356f8(0x17d)])(()=>this[_0x1356f8(0x20c)][_0x1356f8(0x2c7)](_0x1e4e70[_0x1356f8(0x132)]));}[_0x164ecf(0x3e9)](_0x2fcabc){const _0x585786=_0x164ecf;let _0xb03c84=this[_0x585786(0x20c)]['get'](_0x2fcabc);if(!_0xb03c84)throw Error(_0x585786(0x426)+_0x2fcabc+_0x585786(0x308));return _0xb03c84;}[_0x164ecf(0x357)](){const _0x230bdf=_0x164ecf;return Array[_0x230bdf(0x338)](this[_0x230bdf(0x20c)][_0x230bdf(0x10a)]());}};let _0x567fa3=[_0x855ab4],_0x5c2e18=class extends _0x9b4f24[_0x164ecf(0x1a7)]{constructor(_0x3ce42b=_0x30fe5d,_0x1197b6,_0x591b99,_0x4001d8,_0xc01de9,_0x120ed2){const _0x42b31c=_0x164ecf;super(),this[_0x42b31c(0x3b0)]=_0x3ce42b,this[_0x42b31c(0x1b8)]=_0x1197b6,this[_0x42b31c(0x2f7)]=_0x591b99,this[_0x42b31c(0x14a)]=_0x4001d8,this[_0x42b31c(0x14d)]=_0xc01de9,this['_dataSyncPrimaryController']=_0x120ed2,_0x1fa697(this,_0x42b31c(0x1bd),new Map());let {..._0x17717f}=(0x0,_0x9b4f24[_0x42b31c(0x221)])({},_0x30fe5d,this[_0x42b31c(0x3b0)]);this[_0x42b31c(0x14d)][_0x42b31c(0x241)](_0x42b31c(0x22b),_0x17717f),this[_0x42b31c(0x14a)]['registerCtorForType'](_0x9b4f24[_0x42b31c(0x3d1)][_0x42b31c(0x3a1)],_0x9b4f24[_0x42b31c(0x1cf)]),this[_0x42b31c(0x325)](),this[_0x42b31c(0x1a2)](),this[_0x42b31c(0x4c5)](),this[_0x42b31c(0x21d)]();}['onReady'](){const _0x2d11e1=_0x164ecf;(0x0,_0x9b4f24['touchDependencies'])(this['_injector'],[[_0x7816eb],[_0x32a405],[_0xa67bb1]]),this[_0x2d11e1(0x14a)][_0x2d11e1(0x446)](_0x9b4f24['UniverInstanceType'][_0x2d11e1(0x3a1)])[_0x2d11e1(0x49e)](_0x296da1=>this[_0x2d11e1(0x155)](_0x296da1['getUnitId']())),(0x0,_0x9b4f24[_0x2d11e1(0x4d4)])(this[_0x2d11e1(0x1b8)],[[_0x3019a8]]);}['_initDependencies'](){const _0x214342=_0x164ecf;[[_0x258447,{'useClass':_0x111b3e}],[_0x4800d6,{'useClass':_0x46feac}],[_0x369d05,{'useClass':_0x419b34}],[_0x17905b,{'useClass':_0x7816eb}],[_0x2bc2dc,{'useClass':_0x267c0a}],[_0x1e9ebe,{'useClass':_0x32a405}],[_0xa67bb1],[_0x3019a8]][_0x214342(0x49e)](_0x13855a=>this[_0x214342(0x1b8)][_0x214342(0x134)](_0x13855a));}['_initCommands'](){const _0x389e5e=_0x164ecf;[_0x237172,_0x2ba026,_0x4a1b16,_0x340c93,_0x1e6dbd,_0x29a73e,_0x5c0c75,_0x2a9c68,_0x14de4b,_0x1a3a99,_0x46682e,_0x126c6e,_0x5e012e,_0x2e4a52,_0x426f38,_0x523e29,_0x1beb5f,_0x54b5b7,_0x297098,_0x2494ad,_0x2013d4,_0x10997c,_0x544d78,_0x294043,_0x5895b8,_0x35ee84,_0x205f40,_0x2eb102,_0xf15bc8,_0x55e571,_0x293b4d,_0x5a9672,_0x3da814,_0x76247f,_0xea01fc,_0x3f9a1c,_0x27c293,_0x2aeb1d,..._0x567fa3][_0x389e5e(0x49e)](_0x555abd=>this[_0x389e5e(0x3f6)](this[_0x389e5e(0x2f7)][_0x389e5e(0x186)](_0x555abd))),_0x567fa3[_0x389e5e(0x49e)](_0x13575f=>{const _0x4eef3d=_0x389e5e;var _0xa400b3;return(_0xa400b3=this[_0x4eef3d(0x2af)])==null?void 0x0:_0xa400b3[_0x4eef3d(0x37b)](_0x13575f);});}[_0x164ecf(0x21d)](){const _0x5647dc=_0x164ecf;this['_dataSyncPrimaryController']&&(this['disposeWithMe'](this[_0x5647dc(0x14a)][_0x5647dc(0x266)](_0x9b4f24['UniverInstanceType'][_0x5647dc(0x3a1)])['subscribe'](({unit:_0x52de32})=>{const _0xc714e=_0x5647dc;this[_0xc714e(0x155)](_0x52de32['getUnitId']());})),this['disposeWithMe'](this['_univerInstanceService'][_0x5647dc(0x43a)](_0x9b4f24[_0x5647dc(0x3d1)][_0x5647dc(0x3a1)])[_0x5647dc(0x46b)](_0x2b25be=>{const _0x126a39=_0x5647dc;var _0x253d95;(_0x253d95=this['_baseSyncDisposables'][_0x126a39(0x3e9)](_0x2b25be['getUnitId']()))==null||_0x253d95['dispose'](),this['_baseSyncDisposables'][_0x126a39(0x2c7)](_0x2b25be[_0x126a39(0x368)]());})));}[_0x164ecf(0x155)](_0x453c16){const _0x35ddfc=_0x164ecf;!this['_dataSyncPrimaryController']||this[_0x35ddfc(0x1bd)][_0x35ddfc(0x1df)](_0x453c16)||this[_0x35ddfc(0x1bd)][_0x35ddfc(0x25a)](_0x453c16,this[_0x35ddfc(0x2af)]['syncUnit'](_0x453c16));}[_0x164ecf(0x4c5)](){const _0x413c74=_0x164ecf;let _0xcb5c7e=this[_0x413c74(0x1b8)][_0x413c74(0x3e9)](_0x258447);_0x4b43b7()['forEach'](_0x38926f=>_0xcb5c7e[_0x413c74(0x39f)](_0x38926f));let _0xadd0f5=this[_0x413c74(0x1b8)]['get'](_0x4800d6),_0x572e22=this[_0x413c74(0x1b8)][_0x413c74(0x3e9)](_0x369d05);_0x2c9e99()[_0x413c74(0x49e)](_0x266503=>{const _0x3e0194=_0x413c74;_0xadd0f5[_0x3e0194(0x39f)](_0x266503),_0x572e22['registerView'](_0x266503);});}};_0x1fa697(_0x5c2e18,'pluginName',_0x164ecf(0x2a3)),_0x1fa697(_0x5c2e18,_0x164ecf(0x23d),_0x30b99d),_0x1fa697(_0x5c2e18,_0x164ecf(0x2b6),_0x1a3d80),_0x1fa697(_0x5c2e18,_0x164ecf(0x132),_0x9b4f24[_0x164ecf(0x3d1)][_0x164ecf(0x3a1)]),_0x5c2e18=_0x12cf0c([(0x0,_0x9b4f24['DependentOn'])(_0x4ff405['UniverLicensePlugin'],_0x57d3e9['UniverProFormulaEnginePlugin']),_0x891af9(0x1,(0x0,_0x9b4f24[_0x164ecf(0x34a)])(_0x9b4f24['Injector'])),_0x891af9(0x2,_0x9b4f24['ICommandService']),_0x891af9(0x3,_0x9b4f24[_0x164ecf(0x15c)]),_0x891af9(0x4,_0x9b4f24[_0x164ecf(0x4ba)]),_0x891af9(0x5,(0x0,_0x9b4f24[_0x164ecf(0x10c)])(_0x17acc9[_0x164ecf(0x4bd)]))],_0x5c2e18);let _0x27dd00=class extends _0x9b4f24[_0x164ecf(0x1a7)]{constructor(_0x59435a=_0x291f89,_0x1b66b7,_0x2ad820,_0x709803,_0x5bd0e6){const _0x1f4f2f=_0x164ecf;super(),this[_0x1f4f2f(0x3b0)]=_0x59435a,this[_0x1f4f2f(0x1b8)]=_0x1b66b7,this[_0x1f4f2f(0x2f7)]=_0x2ad820,this[_0x1f4f2f(0x14d)]=_0x709803,this[_0x1f4f2f(0x14a)]=_0x5bd0e6;let {..._0x2c9918}=(0x0,_0x9b4f24[_0x1f4f2f(0x221)])({},_0x291f89,this['_config']);this[_0x1f4f2f(0x14d)][_0x1f4f2f(0x241)]('bases.remote.config',_0x2c9918),this[_0x1f4f2f(0x14a)][_0x1f4f2f(0x44b)](_0x9b4f24[_0x1f4f2f(0x3d1)]['UNIVER_BASE'],_0x9b4f24[_0x1f4f2f(0x1cf)]),[[_0x258447,{'useClass':_0x111b3e}],[_0x369d05,{'useClass':_0x419b34}]][_0x1f4f2f(0x49e)](_0x456772=>this[_0x1f4f2f(0x1b8)]['add'](_0x456772)),_0x567fa3[_0x1f4f2f(0x49e)](_0xe2a46f=>this[_0x1f4f2f(0x3f6)](this[_0x1f4f2f(0x2f7)][_0x1f4f2f(0x186)](_0xe2a46f)));}};_0x1fa697(_0x27dd00,'pluginName',_0x164ecf(0x139)),_0x1fa697(_0x27dd00,_0x164ecf(0x23d),_0x30b99d),_0x1fa697(_0x27dd00,_0x164ecf(0x2b6),_0x1a3d80),_0x1fa697(_0x27dd00,_0x164ecf(0x132),_0x9b4f24[_0x164ecf(0x3d1)][_0x164ecf(0x3a1)]),_0x27dd00=_0x12cf0c([(0x0,_0x9b4f24[_0x164ecf(0x352)])(_0x4ff405[_0x164ecf(0x301)],_0x57d3e9[_0x164ecf(0x147)]),_0x891af9(0x1,(0x0,_0x9b4f24[_0x164ecf(0x34a)])(_0x9b4f24['Injector'])),_0x891af9(0x2,_0x9b4f24[_0x164ecf(0x46a)]),_0x891af9(0x3,_0x9b4f24[_0x164ecf(0x4ba)]),_0x891af9(0x4,_0x9b4f24[_0x164ecf(0x15c)])],_0x27dd00);function _0x138b0a(_0x119df2){const _0x1a2902=_0x164ecf;let _0x3d93ab=_0xe9dbe6(_0x119df2[_0x1a2902(0x335)]);if(!_0x3d93ab)return{'query':'','total':0x0,'matches':[]};let _0x1c4a76=[],_0x5af406=[];for(let _0x9ba779=0x0;_0x9ba779<_0x119df2[_0x1a2902(0x239)]['length'];_0x9ba779++){if(!(_0x9ba779 in _0x119df2[_0x1a2902(0x239)]))continue;let _0x5b0ea8=_0x119df2[_0x1a2902(0xfe)][_0x1a2902(0x43b)][_0x119df2[_0x1a2902(0x239)][_0x9ba779]];_0x5b0ea8&&_0x5af406[_0x1a2902(0x4bf)]({'field':_0x5b0ea8,'fieldIndex':_0x9ba779});}_0x119df2['rows'][_0x1a2902(0x49e)]((_0x52fccf,_0xa4986d)=>{const _0xa8e52a=_0x1a2902;_0x5af406[_0xa8e52a(0x49e)](({field:_0x23a2f3,fieldIndex:_0x32f6b8})=>{const _0x2f29d3=_0xa8e52a;let _0xf3d6fb=_0x5b261d(_0x52fccf[_0x2f29d3(0x10a)][_0x23a2f3['id']],_0x23a2f3);if(!_0xf3d6fb)return;let _0x1ecb93=_0x241d85(_0x3d93ab,_0xf3d6fb[_0x2f29d3(0x288)]);_0x1ecb93<=0x0||_0x1c4a76[_0x2f29d3(0x4bf)]({'recordId':_0x52fccf['recordId'],'fieldId':_0x23a2f3['id'],'fieldType':_0x23a2f3[_0x2f29d3(0x132)],'text':_0xf3d6fb[_0x2f29d3(0x490)],'score':_0x1ecb93,'rowIndex':_0xa4986d,'fieldIndex':_0x32f6b8});});}),_0x1c4a76[_0x1a2902(0x281)]((_0x528d11,_0x1c4635)=>_0x1c4635[_0x1a2902(0x306)]-_0x528d11[_0x1a2902(0x306)]||_0x528d11[_0x1a2902(0x371)]-_0x1c4635[_0x1a2902(0x371)]||_0x528d11['fieldIndex']-_0x1c4635[_0x1a2902(0x25c)]);let _0x372e7b=_0x119df2['limit']==null?_0x1c4a76:_0x1c4a76['slice'](0x0,Math[_0x1a2902(0x427)](0x0,_0x119df2[_0x1a2902(0x412)]));return{'query':_0x3d93ab,'total':_0x1c4a76[_0x1a2902(0x13b)],'matches':_0x294089(_0x372e7b)};}function _0x5b261d(_0x2c997c,_0x4a71b0){const _0x88aa0f=_0x164ecf;let _0x5d6448=[];for(let _0x54d397 of _0x335e56(_0x2c997c,_0x4a71b0)){let _0xd67abf=_0xe9dbe6(_0x54d397);_0xd67abf&&_0x5d6448[_0x88aa0f(0x4bf)](_0xd67abf);}return _0x5d6448[_0x88aa0f(0x13b)]?{'displayText':_0x3675f0(_0x2c997c,_0x4a71b0),'searchTexts':_0x4f1fea(_0x5d6448)}:null;}function _0x3675f0(_0x497e04,_0x269cb9){const _0x4fc239=_0x164ecf;switch(_0x269cb9[_0x4fc239(0x132)]){case _0x9b4f24['BaseFieldType'][_0x4fc239(0x378)]:case _0x9b4f24[_0x4fc239(0x3bc)]['MultiSelect']:case _0x9b4f24[_0x4fc239(0x3bc)][_0x4fc239(0x101)]:return _0x3869f5(_0x497e04,_0x269cb9)[_0x4fc239(0x305)](',\x20');case _0x9b4f24[_0x4fc239(0x3bc)][_0x4fc239(0x3d3)]:return _0x502433(_0x497e04);case _0x9b4f24[_0x4fc239(0x3bc)][_0x4fc239(0x442)]:case _0x9b4f24[_0x4fc239(0x3bc)][_0x4fc239(0x346)]:case _0x9b4f24[_0x4fc239(0x3bc)]['UpdatedAt']:return _0x17ceac(_0x497e04,_0x269cb9);case _0x9b4f24[_0x4fc239(0x3bc)][_0x4fc239(0x44e)]:case _0x9b4f24[_0x4fc239(0x3bc)][_0x4fc239(0x2fe)]:return _0x4d77f3(_0x497e04,_0x269cb9);case _0x9b4f24[_0x4fc239(0x3bc)]['Progress']:return _0x19d98b(_0x497e04,_0x269cb9);case _0x9b4f24[_0x4fc239(0x3bc)]['Checkbox']:return _0x497e04?_0x4fc239(0x2d1):_0x4fc239(0x1b9);case _0x9b4f24[_0x4fc239(0x3bc)][_0x4fc239(0x208)]:return _0x549b4e(_0x497e04)[_0x4fc239(0x305)](',\x20');default:return _0x3ae0ad(_0x497e04);}}function _0x335e56(_0x50ca82,_0x2f5c97){const _0x3761d8=_0x164ecf;switch(_0x2f5c97[_0x3761d8(0x132)]){case _0x9b4f24['BaseFieldType'][_0x3761d8(0x378)]:case _0x9b4f24[_0x3761d8(0x3bc)][_0x3761d8(0x1be)]:case _0x9b4f24[_0x3761d8(0x3bc)][_0x3761d8(0x101)]:{let _0x7fab9a=_0x3869f5(_0x50ca82,_0x2f5c97);if(Array[_0x3761d8(0x32e)](_0x50ca82)){let _0xf4fc62=[..._0x7fab9a];for(let _0x5e0d7e=0x0;_0x5e0d7e<_0x50ca82[_0x3761d8(0x13b)];_0x5e0d7e++)_0x5e0d7e in _0x50ca82&&_0xf4fc62[_0x3761d8(0x4bf)](String(_0x50ca82[_0x5e0d7e]));return _0xf4fc62;}return _0x50ca82==null?_0x7fab9a:[..._0x7fab9a,String(_0x50ca82)];}case _0x9b4f24[_0x3761d8(0x3bc)][_0x3761d8(0x3d3)]:{let _0x57d7d7=_0x2b7a9b(_0x50ca82);return[_0x57d7d7[_0x3761d8(0x40e)],_0x57d7d7[_0x3761d8(0x4b7)]];}case _0x9b4f24[_0x3761d8(0x3bc)][_0x3761d8(0x442)]:case _0x9b4f24['BaseFieldType'][_0x3761d8(0x346)]:case _0x9b4f24[_0x3761d8(0x3bc)][_0x3761d8(0x380)]:return[_0x17ceac(_0x50ca82,_0x2f5c97),_0x3ae0ad(_0x50ca82)];case _0x9b4f24[_0x3761d8(0x3bc)]['Number']:case _0x9b4f24[_0x3761d8(0x3bc)][_0x3761d8(0x2fe)]:return[_0x4d77f3(_0x50ca82,_0x2f5c97),_0x3ae0ad(_0x50ca82)];case _0x9b4f24['BaseFieldType'][_0x3761d8(0x327)]:return[_0x19d98b(_0x50ca82,_0x2f5c97),_0x3ae0ad(_0x50ca82)];case _0x9b4f24[_0x3761d8(0x3bc)][_0x3761d8(0x1f2)]:return _0x50ca82?['Checked','Yes',_0x3761d8(0x410)]:[_0x3761d8(0x1b9),'No',_0x3761d8(0x4d3)];case _0x9b4f24[_0x3761d8(0x3bc)][_0x3761d8(0x208)]:return _0x549b4e(_0x50ca82);default:return[_0x3ae0ad(_0x50ca82)];}}function _0x3869f5(_0x31c4a7,_0x57f938){const _0x4ce2dd=_0x164ecf;var _0x2863a2;let _0x14fd9c=Array['isArray']((_0x2863a2=_0x57f938['config'])==null?void 0x0:_0x2863a2[_0x4ce2dd(0x2e8)])?_0x57f938[_0x4ce2dd(0x19f)]['options']:[],_0x364834=[];if(Array[_0x4ce2dd(0x32e)](_0x31c4a7)){for(let _0x561c38=0x0;_0x561c38<_0x31c4a7['length'];_0x561c38++){if(!(_0x561c38 in _0x31c4a7))continue;let _0x5a5119=String(_0x31c4a7[_0x561c38]);_0x5a5119&&_0x364834['push'](_0x56636e(_0x14fd9c,_0x5a5119));}return _0x364834;}if(_0x31c4a7!=null){let _0x131218=String(_0x31c4a7);_0x131218&&_0x364834['push'](_0x56636e(_0x14fd9c,_0x131218));}return _0x364834;}function _0x56636e(_0x21f9cc,_0x26196b){const _0x576288=_0x164ecf;for(let _0x1543d6 of _0x21f9cc){if(typeof _0x1543d6==_0x576288(0x1e4)&&_0x1543d6===_0x26196b)return _0x1543d6;if(_0x1543d6&&typeof _0x1543d6==_0x576288(0x42c)){let _0x2efbd0=_0x1543d6;if(String(_0x2efbd0['id']??_0x2efbd0['name']??'')===_0x26196b||String(_0x2efbd0[_0x576288(0x267)]??'')===_0x26196b)return String(_0x2efbd0[_0x576288(0x267)]??_0x2efbd0['id']??_0x26196b);}}return _0x26196b;}function _0x2b7a9b(_0x23f095){const _0x306354=_0x164ecf;if(_0x23f095&&typeof _0x23f095==_0x306354(0x42c)&&!Array[_0x306354(0x32e)](_0x23f095)){let _0x560781=_0x23f095;return{'text':String(_0x560781[_0x306354(0x40e)]??_0x560781[_0x306354(0x4b7)]??''),'url':String(_0x560781[_0x306354(0x4b7)]??'')};}return{'text':_0x3ae0ad(_0x23f095),'url':_0x3ae0ad(_0x23f095)};}function _0x502433(_0x85f463){const _0x269b8e=_0x164ecf;let _0x30eeac=_0x2b7a9b(_0x85f463);return _0x30eeac[_0x269b8e(0x40e)]||_0x30eeac[_0x269b8e(0x4b7)];}function _0x17ceac(_0x4db858,_0x51a43a){const _0x4c07c0=_0x164ecf;return typeof _0x4db858!='number'||!Number[_0x4c07c0(0x4a1)](_0x4db858)?'':_0x487a69(_0x4db858,_0x51a43a[_0x4c07c0(0x19f)]);}function _0x4d77f3(_0x4107b1,_0x12bfe9){const _0x2fec82=_0x164ecf;let _0x1599a9=typeof _0x4107b1==_0x2fec82(0x1a8)?_0x4107b1:Number(_0x4107b1);return Number['isFinite'](_0x1599a9)?_0xb4869b(_0x1599a9,_0x12bfe9[_0x2fec82(0x19f)]):'';}function _0x19d98b(_0x380536,_0x5843ee){const _0x5f0e0c=_0x164ecf;let _0x21e461=typeof _0x380536=='number'?_0x380536:Number(_0x380536);return Number[_0x5f0e0c(0x4a1)](_0x21e461)?_0x2ae39f(_0x21e461,_0x5843ee[_0x5f0e0c(0x19f)]):'';}function _0x549b4e(_0x27cc8a){const _0x506fbc=_0x164ecf;return Array['isArray'](_0x27cc8a)?_0x27cc8a[_0x506fbc(0x17e)](_0x228382=>{const _0x64f280=_0x506fbc;if(!_0x228382||typeof _0x228382!=_0x64f280(0x42c))return[];let _0x33e572=_0x228382,_0x188b83=String(_0x33e572[_0x64f280(0x267)]??_0x33e572[_0x64f280(0x4b7)]??'')[_0x64f280(0x276)]();return _0x188b83?[_0x188b83]:[];}):[];}function _0x3ae0ad(_0x5ca03c){const _0x366690=_0x164ecf;if(_0x5ca03c==null)return'';if(typeof _0x5ca03c==_0x366690(0xf9))return _0x5ca03c?_0x366690(0x45e):'false';if(typeof _0x5ca03c=='number')return String(_0x5ca03c);if(Array['isArray'](_0x5ca03c)){let _0x3c26e6=[];for(let _0x3ab0b4=0x0;_0x3ab0b4<_0x5ca03c[_0x366690(0x13b)];_0x3ab0b4++){if(!(_0x3ab0b4 in _0x5ca03c))continue;let _0x5059a1=_0x3ae0ad(_0x5ca03c[_0x3ab0b4]);_0x5059a1&&_0x3c26e6[_0x366690(0x4bf)](_0x5059a1);}return _0x3c26e6[_0x366690(0x305)](',\x20');}if(typeof _0x5ca03c=='object'){let _0x2b1383=_0x5ca03c;return String(_0x2b1383[_0x366690(0x406)]??_0x2b1383[_0x366690(0x267)]??_0x2b1383[_0x366690(0x40e)]??_0x2b1383[_0x366690(0x4b7)]??'')['trim']();}return String(_0x5ca03c);}function _0x241d85(_0x542745,_0x313b29){const _0x57e08c=_0x164ecf;let _0x334ca7=0x0;for(let _0x25edbd of _0x313b29)if(_0x25edbd){if(_0x25edbd===_0x542745){_0x334ca7=Math[_0x57e08c(0x427)](_0x334ca7,0x12c);continue;}if(_0x25edbd[_0x57e08c(0x2d0)](_0x542745)){_0x334ca7=Math[_0x57e08c(0x427)](_0x334ca7,0xfa);continue;}_0x25edbd['includes'](_0x542745)&&(_0x334ca7=Math[_0x57e08c(0x427)](_0x334ca7,0xc8));}return _0x334ca7;}function _0xe9dbe6(_0x21546f){const _0x561ff1=_0x164ecf;return _0x21546f[_0x561ff1(0x276)]()[_0x561ff1(0x3c5)](/\s+/g,'\x20')[_0x561ff1(0x3b3)]();}function _0x4f1fea(_0x537207){return Array['from'](new Set(_0x537207));}function _0x294089(_0x54f2de){let _0x448a43=[];for(let {rowIndex:_0x598a0d,fieldIndex:_0x19d2a5,..._0x45b114}of _0x54f2de)_0x448a43['push'](_0x45b114);return _0x448a43;}_0x3cb4f6[_0x164ecf(0x47c)]=_0x855ab4,_0x3cb4f6[_0x164ecf(0x273)]=_0x29826a,_0x3cb4f6[_0x164ecf(0x159)]=0x5,_0x3cb4f6[_0x164ecf(0x39a)]=_0x5dd7b3,_0x3cb4f6['BaseConditionalColorRuleUpdateType']=_0x5a2940,_0x3cb4f6['BaseEventSource']=_0x1e8335,_0x3cb4f6['BaseHierarchyError']=_0x4c5b17,_0x3cb4f6[_0x164ecf(0x200)]=_0x5af7d7,_0x3cb4f6[_0x164ecf(0x367)]=_0x1f3607,_0x3cb4f6[_0x164ecf(0xf8)]=_0x1b7d14,_0x3cb4f6[_0x164ecf(0x11e)]=_0x14de4b,_0x3cb4f6[_0x164ecf(0x191)]=_0x46682e,_0x3cb4f6['ChangeBaseFieldTypeCommand']=_0x297098,_0x3cb4f6[_0x164ecf(0x192)]=_0x2a9c68,_0x3cb4f6['CreateBaseFieldCommand']=_0x426f38,_0x3cb4f6[_0x164ecf(0x1aa)]=_0x5c0c75,_0x3cb4f6['CreateBaseTableCommand']=_0x237172,_0x3cb4f6[_0x164ecf(0x2b8)]=_0x10997c,_0x3cb4f6[_0x164ecf(0x2eb)]=_0x2494ad,_0x3cb4f6['DeleteBaseRecordCommand']=_0x1a3a99,_0x3cb4f6[_0x164ecf(0x296)]=_0x4a1b16,_0x3cb4f6[_0x164ecf(0x46e)]=_0x35ee84,_0x3cb4f6['DuplicateBaseFieldCommand']=_0x523e29,_0x3cb4f6[_0x164ecf(0x3e6)]=_0x126c6e,_0x3cb4f6[_0x164ecf(0x416)]=_0x1db389,_0x3cb4f6[_0x164ecf(0x11a)]=_0x544d78,_0x3cb4f6[_0x164ecf(0x125)]=_0x1e9ebe,_0x3cb4f6[_0x164ecf(0x178)]=_0x2bc2dc,_0x3cb4f6['IBaseProjectionService']=_0x369d05,_0x3cb4f6[_0x164ecf(0x259)]=_0x4800d6,_0x3cb4f6[_0x164ecf(0x104)]=_0x2013d4,_0x3cb4f6['MoveBaseHierarchyRecordCommand']=_0x2e4a52,_0x3cb4f6['MoveBaseViewCommand']=_0x205f40,_0x3cb4f6[_0x164ecf(0x232)]=_0x2ba026,_0x3cb4f6[_0x164ecf(0x3fd)]=_0x294043,_0x3cb4f6[_0x164ecf(0x209)]=_0x55e571,_0x3cb4f6['SetBaseNameCommand']=_0x5895b8,_0x3cb4f6[_0x164ecf(0x318)]=_0x29a73e,_0x3cb4f6[_0x164ecf(0x100)]=_0x1e6dbd,_0x3cb4f6[_0x164ecf(0x39d)]=_0xea01fc,_0x3cb4f6[_0x164ecf(0x113)]=_0x2aeb1d,_0x3cb4f6[_0x164ecf(0x3f9)]=_0x3f9a1c,_0x3cb4f6['SetBaseViewFieldWidthCommand']=_0x27c293,_0x3cb4f6[_0x164ecf(0x22e)]=_0x5a9672,_0x3cb4f6[_0x164ecf(0x1d0)]=_0x76247f,_0x3cb4f6[_0x164ecf(0x4ca)]=_0x3da814,Object['defineProperty'](_0x3cb4f6,_0x164ecf(0x40f),{'enumerable':!0x0,'get':function(){return _0x5c2e18;}}),Object[_0x164ecf(0x3f7)](_0x3cb4f6,_0x164ecf(0x250),{'enumerable':!0x0,'get':function(){return _0x27dd00;}}),_0x3cb4f6[_0x164ecf(0x15f)]=_0x340c93,_0x3cb4f6[_0x164ecf(0x170)]=_0x1beb5f,_0x3cb4f6[_0x164ecf(0x434)]=_0x54b5b7,_0x3cb4f6[_0x164ecf(0x331)]=_0x293b4d,_0x3cb4f6['UpdateBaseRecordOrderCommand']=_0x5e012e,_0x3cb4f6[_0x164ecf(0x3ed)]=_0xf15bc8,_0x3cb4f6[_0x164ecf(0x3f5)]=_0x2eb102,_0x3cb4f6['baseDateSerialToDateMs']=_0x22fdeb,_0x3cb4f6[_0x164ecf(0x35f)]=_0x32c245,_0x3cb4f6['calculateBaseFieldStat']=_0x72fc7,_0x3cb4f6[_0x164ecf(0x3b5)]=_0x2c3864,_0x3cb4f6[_0x164ecf(0x337)]=_0x736d67,_0x3cb4f6['createDefaultBaseTableSnapshot']=_0x288e7a,_0x3cb4f6[_0x164ecf(0x322)]=_0x1a74dc,_0x3cb4f6['createEmbedBasesTableAddMutation']=_0x300b58,_0x3cb4f6[_0x164ecf(0x474)]=_0x273b73,_0x3cb4f6[_0x164ecf(0x4a4)]=_0x5f1ca7,_0x3cb4f6[_0x164ecf(0x407)]=_0x8ae1a4,_0x3cb4f6[_0x164ecf(0x413)]=_0x220b8a,_0x3cb4f6[_0x164ecf(0x13d)]=_0x487a69,_0x3cb4f6[_0x164ecf(0x275)]=_0x32bbf6,_0x3cb4f6['formatBaseNumberValue']=_0xb4869b,_0x3cb4f6[_0x164ecf(0x1f1)]=_0x2ae39f,_0x3cb4f6[_0x164ecf(0x230)]=_0x761298,_0x3cb4f6[_0x164ecf(0x456)]=_0x1ec484,_0x3cb4f6[_0x164ecf(0x455)]=_0x1b74a9,_0x3cb4f6[_0x164ecf(0x18e)]=_0x257887,_0x3cb4f6[_0x164ecf(0x49d)]=_0x526f9d,_0x3cb4f6[_0x164ecf(0x2a8)]=_0x98202f,_0x3cb4f6[_0x164ecf(0x1ba)]=_0xfcdc79,_0x3cb4f6[_0x164ecf(0x4a3)]=_0x1f40e5,_0x3cb4f6[_0x164ecf(0x1b5)]=_0x46e5b7,_0x3cb4f6[_0x164ecf(0x1e6)]=_0x55148a,_0x3cb4f6[_0x164ecf(0x19c)]=_0x397802,_0x3cb4f6[_0x164ecf(0x1bc)]=_0x22eb6d,_0x3cb4f6[_0x164ecf(0x136)]=_0x522aac,_0x3cb4f6[_0x164ecf(0x340)]=_0x249407,_0x3cb4f6[_0x164ecf(0x1ce)]=_0x12230b,_0x3cb4f6[_0x164ecf(0x492)]=_0x2fe127,_0x3cb4f6['normalizeBaseDateFieldConfig']=_0x50589f,_0x3cb4f6[_0x164ecf(0x2a4)]=_0x746a73,_0x3cb4f6['normalizeBaseFieldStatsConfig']=_0x4a56a0,_0x3cb4f6[_0x164ecf(0x46c)]=_0x3768f1,_0x3cb4f6[_0x164ecf(0x27e)]=_0x2eda9a,_0x3cb4f6[_0x164ecf(0x4ab)]=_0x3a00cb,_0x3cb4f6[_0x164ecf(0x3a2)]=_0x2e350d,_0x3cb4f6['resolveBaseRangeHierarchyPatches']=_0x145e8a,_0x3cb4f6[_0x164ecf(0x4b6)]=_0x138b0a,_0x3cb4f6['serializeRecordLinkIds']=_0x50a032,_0x3cb4f6['traceBasePerformance']=_0x3022ee,_0x3cb4f6['uniqueFieldName']=_0x151e21,_0x3cb4f6[_0x164ecf(0x3f3)]=_0x1a5f43,_0x3cb4f6[_0x164ecf(0x151)]=_0x59860b,_0x3cb4f6[_0x164ecf(0x1f4)]=_0x1b77f4,_0x3cb4f6[_0x164ecf(0x2c3)]=_0x57631c,_0x3cb4f6[_0x164ecf(0x2b3)]=_0x13d5f8,_0x3cb4f6[_0x164ecf(0x253)]=_0x4cc18c;}));