@univerjs-pro/edit-history-viewer 0.15.0-insiders.20260107-3d1cfdf → 0.15.0-insiders.20260108-7b9120d
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +19 -19
package/lib/cjs/locale/ja-JP.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';function _0x2770(){const _0x39c6ad=['このドキュメントは選択したバージョンに戻ります','復元中です。お待ちください...','25bmAKBy','データの入力規則を設定','不明なエラーが発生しました。ページを更新して復元結果を確認してください','復元元:','編集履歴リストの取得に失敗しました','スパークラインを追加','ウィンドウ枠を固定','条件付き書式を追加','ワークシートを挿入','8dvPIjf','フィルターを設定','不明なユーザー','ワークシートを削除','チャートを挿入','411302LHDHvm','1237120eECJQX','読み込み中です。お待ちください...','257480GnZcxw','このバージョンを復元','1576896DFWTHw','条件付き書式を設定','2460672aXLrST','ブックを作成','251346rckXep','このバージョンを復元しますか?','816053WTUSNx','3IiWkgr'];_0x2770=function(){return _0x39c6ad;};return _0x2770();}const _0x5b492f=_0x363f;(function(_0x35a4cd,_0x19ae3b){const _0x44ae59=_0x363f,_0x6e907b=_0x35a4cd();while(!![]){try{const _0x1a248d=-parseInt(_0x44ae59(0x70))/0x1+-parseInt(_0x44ae59(0x84))/0x2*(-parseInt(_0x44ae59(0x73))/0x3)+parseInt(_0x44ae59(0x87))/0x4*(-parseInt(_0x44ae59(0x76))/0x5)+parseInt(_0x44ae59(0x89))/0x6+parseInt(_0x44ae59(0x72))/0x7*(parseInt(_0x44ae59(0x7f))/0x8)+parseInt(_0x44ae59(0x8b))/0x9+-parseInt(_0x44ae59(0x85))/0xa;if(_0x1a248d===_0x19ae3b)break;else _0x6e907b['push'](_0x6e907b['shift']());}catch(_0x34a1b2){_0x6e907b['push'](_0x6e907b['shift']());}}}(_0x2770,0x2770a));function _0x363f(_0x5b74d,_0x5c3bd5){_0x5b74d=_0x5b74d-0x70;const _0x2770ca=_0x2770();let _0x363f03=_0x2770ca[_0x5b74d];return _0x363f03;}const e={'editHistory':{'panel':{'title':'編集履歴','unknownUser':_0x5b492f(0x81),'listFetchError':_0x5b492f(0x7a),'revertConfirm':_0x5b492f(0x71),'revertConfirmText':_0x5b492f(0x74),'cancel':'キャンセル','confirm':'確認','reverting':_0x5b492f(0x75),'revertFailed':_0x5b492f(0x78),'currentVersion':'現在のバージョン','currentUser':'現在のユーザー','revertDesc':_0x5b492f(0x88)},'info':{'loading':_0x5b492f(0x86)},'header':{'back':'戻る','revert':_0x5b492f(0x88)},'action':{'insertSheet':_0x5b492f(0x7e),'removeSheet':_0x5b492f(0x82),'createSheet':_0x5b492f(0x8c),'setFilter':_0x5b492f(0x80),'setFrozen':_0x5b492f(0x7c),'editSheet':'ワークシートを編集','revertSheet':'ブックを復元','revertSheetPrefix':_0x5b492f(0x79),'revertSheetSuffix':'','setDV':_0x5b492f(0x77),'setCF':_0x5b492f(0x8a),'addCF':_0x5b492f(0x7d),'addProtection':'保護を追加','addSparkline':_0x5b492f(0x7b),'insertChart':_0x5b492f(0x83),'deleteProtection':'保護を削除','etc':'など'}}};module['exports']=e;
|
package/lib/cjs/locale/ko-KR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const _0xb80e95=_0x531e;(function(_0x1c82c0,_0x4fd085){const _0x28d28e=_0x531e,_0x66a449=_0x1c82c0();while(!![]){try{const _0x529e83=-parseInt(_0x28d28e(0xed))/0x1+parseInt(_0x28d28e(0xe0))/0x2+parseInt(_0x28d28e(0xe4))/0x3*(-parseInt(_0x28d28e(0xdb))/0x4)+-parseInt(_0x28d28e(0xf1))/0x5+parseInt(_0x28d28e(0xdc))/0x6*(-parseInt(_0x28d28e(0xda))/0x7)+-parseInt(_0x28d28e(0xf0))/0x8+parseInt(_0x28d28e(0xd8))/0x9;if(_0x529e83===_0x4fd085)break;else _0x66a449['push'](_0x66a449['shift']());}catch(_0x43aa3d){_0x66a449['push'](_0x66a449['shift']());}}}(_0x1d2e,0xcac64));function _0x1d2e(){const _0x1ab6d2=['현재\x20버전','1646111mEXFhW','워크시트\x20삽입','이\x20버전을\x20복원하시겠습니까?','6402408rqIfTC','7868250RvILnw','45705447DceQFt','데이터\x20유효성\x20검사\x20설정','843591fBUGYO','172jLVNyo','18FwNRtg','보호\x20삭제','스파크라인\x20추가','복원\x20중입니다.\x20잠시만\x20기다려\x20주세요...','1382726HIDlxX','편집\x20기록\x20목록을\x20가져오지\x20못했습니다','조건부\x20서식\x20설정','편집\x20기록','38901zzggjm','로드\x20중입니다.\x20잠시만\x20기다려\x20주세요...','차트\x20삽입','알\x20수\x20없는\x20사용자','이\x20버전\x20복원','보호\x20추가','통합\x20문서\x20만들기','워크시트\x20삭제'];_0x1d2e=function(){return _0x1ab6d2;};return _0x1d2e();}function _0x531e(_0x521623,_0x1e5601){_0x521623=_0x521623-0xd8;const _0x1d2e46=_0x1d2e();let _0x531ef7=_0x1d2e46[_0x521623];return _0x531ef7;}const e={'editHistory':{'panel':{'title':_0xb80e95(0xe3),'unknownUser':_0xb80e95(0xe7),'listFetchError':_0xb80e95(0xe1),'revertConfirm':_0xb80e95(0xef),'revertConfirmText':'이\x20문서는\x20선택한\x20버전으로\x20되돌아갑니다','cancel':'취소','confirm':'확인','reverting':_0xb80e95(0xdf),'revertFailed':'알\x20수\x20없는\x20오류가\x20발생했습니다.\x20페이지를\x20새로\x20고침하여\x20복원\x20결과를\x20확인하세요','currentVersion':_0xb80e95(0xec),'currentUser':'현재\x20사용자','revertDesc':_0xb80e95(0xe8)},'info':{'loading':_0xb80e95(0xe5)},'header':{'back':'뒤로','revert':_0xb80e95(0xe8)},'action':{'insertSheet':_0xb80e95(0xee),'removeSheet':_0xb80e95(0xeb),'createSheet':_0xb80e95(0xea),'setFilter':'필터\x20설정','setFrozen':'틀\x20고정\x20설정','editSheet':'워크시트\x20편집','revertSheet':'통합\x20문서\x20복원','revertSheetPrefix':'복원\x20원본:','revertSheetSuffix':'','setDV':_0xb80e95(0xd9),'setCF':_0xb80e95(0xe2),'addCF':'조건부\x20서식\x20추가','addProtection':_0xb80e95(0xe9),'addSparkline':_0xb80e95(0xde),'insertChart':_0xb80e95(0xe6),'deleteProtection':_0xb80e95(0xdd),'etc':'등'}}};module['exports']=e;
|
package/lib/cjs/locale/ru-RU.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const _0x32da8f=_0x55c2;function _0x55c2(_0x322413,_0x2d5f07){_0x322413=_0x322413-0x125;const _0x525ada=_0x525a();let _0x55c2b7=_0x525ada[_0x322413];return _0x55c2b7;}function _0x525a(){const _0x1a4491=['loading,\x20please\x20wait...','Current\x20Version','118732fjputQ','set\x20data\x20validation','13nlBfER','4xtnquX','5KsgJUV','1193730dRYZRE','Reverted\x20from','2902362JnECSA','exports','This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','set\x20filter','Unknown\x20User','add\x20conditional\x20formatting','inserted\x20worksheet','created\x20workbook','Restore\x20this\x20version?','Restore\x20this\x20version','9337332evQAij','add\x20protection',',\x20etc.','2268826cjXDio','set\x20frozen','7304103kVxJiR','Cancel','6JkswKv','130wqWFtV','40XJkJSc','Edit\x20History','delete\x20protection','Back','894839XbyPqk','deleted\x20worksheet','reverted\x20workbook','Reverting,\x20please\x20wait...'];_0x525a=function(){return _0x1a4491;};return _0x525a();}(function(_0x14fc69,_0x4f5360){const _0x3ab1ad=_0x55c2,_0x52944e=_0x14fc69();while(!![]){try{const _0x1e8146=-parseInt(_0x3ab1ad(0x131))/0x1*(parseInt(_0x3ab1ad(0x12d))/0x2)+parseInt(_0x3ab1ad(0x134))/0x3*(parseInt(_0x3ab1ad(0x130))/0x4)+-parseInt(_0x3ab1ad(0x132))/0x5*(parseInt(_0x3ab1ad(0x145))/0x6)+-parseInt(_0x3ab1ad(0x141))/0x7*(-parseInt(_0x3ab1ad(0x147))/0x8)+-parseInt(_0x3ab1ad(0x143))/0x9+parseInt(_0x3ab1ad(0x146))/0xa*(-parseInt(_0x3ab1ad(0x127))/0xb)+parseInt(_0x3ab1ad(0x13e))/0xc*(parseInt(_0x3ab1ad(0x12f))/0xd);if(_0x1e8146===_0x4f5360)break;else _0x52944e['push'](_0x52944e['shift']());}catch(_0x169651){_0x52944e['push'](_0x52944e['shift']());}}}(_0x525a,0xeabc3));const e={'editHistory':{'panel':{'title':_0x32da8f(0x148),'unknownUser':_0x32da8f(0x138),'listFetchError':'Failed\x20to\x20get\x20edit\x20history\x20list','revertConfirm':_0x32da8f(0x13c),'revertConfirmText':_0x32da8f(0x136),'cancel':_0x32da8f(0x144),'confirm':'Confirm','reverting':_0x32da8f(0x12a),'revertFailed':'Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','currentVersion':_0x32da8f(0x12c),'currentUser':'Current\x20User','revertDesc':_0x32da8f(0x13d)},'info':{'loading':_0x32da8f(0x12b)},'header':{'back':_0x32da8f(0x126),'revert':_0x32da8f(0x13d)},'action':{'insertSheet':_0x32da8f(0x13a),'removeSheet':_0x32da8f(0x128),'createSheet':_0x32da8f(0x13b),'setFilter':_0x32da8f(0x137),'setFrozen':_0x32da8f(0x142),'editSheet':'edited\x20worksheet','revertSheet':_0x32da8f(0x129),'revertSheetPrefix':_0x32da8f(0x133),'revertSheetSuffix':'','setDV':_0x32da8f(0x12e),'setCF':'set\x20conditional\x20formatting','addCF':_0x32da8f(0x139),'addProtection':_0x32da8f(0x13f),'addSparkline':'add\x20sparkline','insertChart':'inserted\x20chart','deleteProtection':_0x32da8f(0x125),'etc':_0x32da8f(0x140)}}},t=e;module[_0x32da8f(0x135)]=t;
|
package/lib/cjs/locale/vi-VN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const _0x760db=_0x3229;function _0x1076(){const _0x590dbb=['Phiên\x20bản\x20hiện\x20tại','thêm\x20biểu\x20đồ\x20nhỏ','đã\x20xóa\x20trang\x20tính','đã\x20đặt\x20định\x20dạng\x20có\x20điều\x20kiện','đã\x20chèn\x20trang\x20tính','đã\x20đặt\x20cố\x20định','đã\x20chỉnh\x20sửa\x20trang\x20tính','đã\x20khôi\x20phục\x20sổ\x20làm\x20việc','Lỗi\x20không\x20xác\x20định,\x20vui\x20lòng\x20làm\x20mới\x20trang\x20để\x20xem\x20kết\x20quả\x20khôi\x20phục','9263kIMWgN','44eUbEOH','Đang\x20khôi\x20phục,\x20vui\x20lòng\x20đợi...','đã\x20đặt\x20bộ\x20lọc','Đã\x20khôi\x20phục\x20từ','thêm\x20bảo\x20vệ','Quay\x20lại','thêm\x20định\x20dạng\x20có\x20điều\x20kiện','Người\x20dùng\x20hiện\x20tại','10009953LEvqYq','đã\x20chèn\x20biểu\x20đồ','3265attYWi','Khôi\x20phục\x20phiên\x20bản\x20này','Lịch\x20sử\x20chỉnh\x20sửa','đã\x20đặt\x20xác\x20thực\x20dữ\x20liệu','Không\x20thể\x20lấy\x20danh\x20sách\x20lịch\x20sử\x20chỉnh\x20sửa','Khôi\x20phục\x20phiên\x20bản\x20này?','2394224dHtDCg','Xác\x20nhận','1088631bkcelF','1572XACYLB','đang\x20tải,\x20vui\x20lòng\x20đợi...','21928IdoMHZ','1517096vGoDqj'];_0x1076=function(){return _0x590dbb;};return _0x1076();}(function(_0x1e766d,_0x2a85b4){const _0x4d3c94=_0x3229,_0x3305fa=_0x1e766d();while(!![]){try{const _0x2fed5d=-parseInt(_0x4d3c94(0x1ef))/0x1*(-parseInt(_0x4d3c94(0x1f0))/0x2)+-parseInt(_0x4d3c94(0x202))/0x3+-parseInt(_0x4d3c94(0x200))/0x4+parseInt(_0x4d3c94(0x1fa))/0x5*(parseInt(_0x4d3c94(0x203))/0x6)+-parseInt(_0x4d3c94(0x206))/0x7+-parseInt(_0x4d3c94(0x205))/0x8+parseInt(_0x4d3c94(0x1f8))/0x9;if(_0x2fed5d===_0x2a85b4)break;else _0x3305fa['push'](_0x3305fa['shift']());}catch(_0x2e1849){_0x3305fa['push'](_0x3305fa['shift']());}}}(_0x1076,0x4ac0b));function _0x3229(_0x92fd26,_0x46915c){_0x92fd26=_0x92fd26-0x1eb;const _0x107634=_0x1076();let _0x32295f=_0x107634[_0x92fd26];return _0x32295f;}const n={'editHistory':{'panel':{'title':_0x760db(0x1fc),'unknownUser':'Người\x20dùng\x20không\x20xác\x20định','listFetchError':_0x760db(0x1fe),'revertConfirm':_0x760db(0x1ff),'revertConfirmText':'Tài\x20liệu\x20này\x20sẽ\x20được\x20khôi\x20phục\x20về\x20phiên\x20bản\x20đã\x20chọn','cancel':'Hủy','confirm':_0x760db(0x201),'reverting':_0x760db(0x1f1),'revertFailed':_0x760db(0x1ee),'currentVersion':_0x760db(0x207),'currentUser':_0x760db(0x1f7),'revertDesc':_0x760db(0x1fb)},'info':{'loading':_0x760db(0x204)},'header':{'back':_0x760db(0x1f5),'revert':_0x760db(0x1fb)},'action':{'insertSheet':_0x760db(0x20b),'removeSheet':_0x760db(0x209),'createSheet':'đã\x20tạo\x20sổ\x20làm\x20việc','setFilter':_0x760db(0x1f2),'setFrozen':_0x760db(0x1eb),'editSheet':_0x760db(0x1ec),'revertSheet':_0x760db(0x1ed),'revertSheetPrefix':_0x760db(0x1f3),'revertSheetSuffix':'','setDV':_0x760db(0x1fd),'setCF':_0x760db(0x20a),'addCF':_0x760db(0x1f6),'addProtection':_0x760db(0x1f4),'addSparkline':_0x760db(0x208),'insertChart':_0x760db(0x1f9),'deleteProtection':'xóa\x20bảo\x20vệ','etc':',\x20v.v.'}}};module['exports']=n;
|
package/lib/cjs/locale/zh-CN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';
|
|
1
|
+
'use strict';const _0x31096a=_0x3f44;(function(_0x259cd7,_0x1e918c){const _0x53e56d=_0x3f44,_0x204f35=_0x259cd7();while(!![]){try{const _0xab18fe=parseInt(_0x53e56d(0x1a7))/0x1*(parseInt(_0x53e56d(0x1a3))/0x2)+-parseInt(_0x53e56d(0x19c))/0x3*(-parseInt(_0x53e56d(0x1ae))/0x4)+-parseInt(_0x53e56d(0x1ac))/0x5*(-parseInt(_0x53e56d(0x1b2))/0x6)+-parseInt(_0x53e56d(0x1b3))/0x7+-parseInt(_0x53e56d(0x1ba))/0x8*(parseInt(_0x53e56d(0x1b0))/0x9)+-parseInt(_0x53e56d(0x1ab))/0xa*(parseInt(_0x53e56d(0x1af))/0xb)+parseInt(_0x53e56d(0x19b))/0xc;if(_0xab18fe===_0x1e918c)break;else _0x204f35['push'](_0x204f35['shift']());}catch(_0x57b930){_0x204f35['push'](_0x204f35['shift']());}}}(_0x4481,0xcf0bb));function _0x3f44(_0x28dcae,_0x36fca4){_0x28dcae=_0x28dcae-0x19b;const _0x448148=_0x4481();let _0x3f442e=_0x448148[_0x28dcae];return _0x3f442e;}const e={'editHistory':{'panel':{'title':_0x31096a(0x1bb),'unknownUser':_0x31096a(0x19e),'listFetchError':'获取编辑历史记录列表失败','revertConfirm':_0x31096a(0x1b4),'revertConfirmText':_0x31096a(0x1aa),'cancel':'取消','confirm':'确认','reverting':'正在还原,请稍等...','revertFailed':'未知错误,请刷新页面查看还原结果','currentVersion':_0x31096a(0x1b7),'currentUser':'当前用户','revertDesc':_0x31096a(0x1b1)},'info':{'loading':_0x31096a(0x1a5)},'header':{'back':'返回','revert':_0x31096a(0x1b1)},'action':{'insertSheet':_0x31096a(0x1ad),'removeSheet':_0x31096a(0x1b6),'createSheet':_0x31096a(0x1a2),'setFilter':_0x31096a(0x1a0),'setFrozen':_0x31096a(0x1a4),'editSheet':_0x31096a(0x1a6),'revertSheet':'还原了版本','revertSheetPrefix':'还原了','revertSheetSuffix':_0x31096a(0x1a1),'setDV':_0x31096a(0x1a8),'setCF':_0x31096a(0x1b9),'addCF':_0x31096a(0x19d),'addProtection':_0x31096a(0x1a9),'addSparkline':_0x31096a(0x19f),'insertChart':'插入了图表','deleteProtection':_0x31096a(0x1b8),'etc':',等'}}};module[_0x31096a(0x1b5)]=e;function _0x4481(){const _0x14aa3e=['冻结了工作表','加载中,请稍等...','编辑了工作表','3951hMUGUK','设置了数据验证','添加了保护范围','该文档将会被还原到选中版本','20dIpHoB','105VQRcLH','插入了工作表','178484VeNdPN','7166214BImtFD','18MrZGkT','还原到此版本','175248tYHcXu','10501274HIFXrb','还原到此版本?','exports','删除了工作表','当前版本','移除了保护范围','设置了条件格式','3245008icVpQL','历史记录','15402372nPuNwC','75RMscaO','添加了条件格式','未知用户','添加了迷你图','设置了筛选','的版本','创建了工作表','734tsusBb'];_0x4481=function(){return _0x14aa3e;};return _0x4481();}
|
package/lib/cjs/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';function _0x3b43(_0x925e5c,_0x399d9a){_0x925e5c=_0x925e5c-0x160;const _0x1c872f=_0x1c87();let _0x3b43f4=_0x1c872f[_0x925e5c];return _0x3b43f4;}const _0x197cb4=_0x3b43;(function(_0x13a684,_0x4b77e6){const _0x1c17b9=_0x3b43,_0x35587e=_0x13a684();while(!![]){try{const _0x3219f9=-parseInt(_0x1c17b9(0x178))/0x1+-parseInt(_0x1c17b9(0x173))/0x2+-parseInt(_0x1c17b9(0x180))/0x3+-parseInt(_0x1c17b9(0x165))/0x4+-parseInt(_0x1c17b9(0x17e))/0x5+parseInt(_0x1c17b9(0x17a))/0x6+-parseInt(_0x1c17b9(0x16d))/0x7*(-parseInt(_0x1c17b9(0x172))/0x8);if(_0x3219f9===_0x4b77e6)break;else _0x35587e['push'](_0x35587e['shift']());}catch(_0x2d7629){_0x35587e['push'](_0x35587e['shift']());}}}(_0x1c87,0x74d6d));function _0x1c87(){const _0x136788=['1115892SxCjDm','Back',',\x20etc.','Failed\x20to\x20get\x20edit\x20history\x20list','reverted\x20workbook','Restore\x20this\x20version?','1442108SiusGV','Confirm','set\x20filter','This\x20document\x20will\x20be\x20reverted\x20to\x20the\x20selected\x20version','Reverted\x20from','deleted\x20worksheet','Edit\x20History','Current\x20User','7289562lyVxBK','loading,\x20please\x20wait...','Unknown\x20User','inserted\x20worksheet','inserted\x20chart','16BxmTbJ','1425822uqPYvn','edited\x20worksheet','Restore\x20this\x20version','add\x20conditional\x20formatting','Cancel','679627FerGsc','exports','3885264iebRld','set\x20conditional\x20formatting','Reverting,\x20please\x20wait...','add\x20sparkline','633370VtBGRu','delete\x20protection'];_0x1c87=function(){return _0x136788;};return _0x1c87();}const e={'editHistory':{'panel':{'title':_0x197cb4(0x16b),'unknownUser':_0x197cb4(0x16f),'listFetchError':_0x197cb4(0x162),'revertConfirm':_0x197cb4(0x164),'revertConfirmText':_0x197cb4(0x168),'cancel':_0x197cb4(0x177),'confirm':_0x197cb4(0x166),'reverting':_0x197cb4(0x17c),'revertFailed':'Unknown\x20error,\x20please\x20refresh\x20the\x20page\x20to\x20view\x20the\x20revert\x20result','currentVersion':'Current\x20Version','currentUser':_0x197cb4(0x16c),'revertDesc':_0x197cb4(0x175)},'info':{'loading':_0x197cb4(0x16e)},'header':{'back':_0x197cb4(0x160),'revert':_0x197cb4(0x175)},'action':{'insertSheet':_0x197cb4(0x170),'removeSheet':_0x197cb4(0x16a),'createSheet':'created\x20workbook','setFilter':_0x197cb4(0x167),'setFrozen':'set\x20frozen','editSheet':_0x197cb4(0x174),'revertSheet':_0x197cb4(0x163),'revertSheetPrefix':_0x197cb4(0x169),'revertSheetSuffix':'','setDV':'set\x20data\x20validation','setCF':_0x197cb4(0x17b),'addCF':_0x197cb4(0x176),'addProtection':'add\x20protection','addSparkline':_0x197cb4(0x17d),'insertChart':_0x197cb4(0x171),'deleteProtection':_0x197cb4(0x17f),'etc':_0x197cb4(0x161)}}},t=e;module[_0x197cb4(0x179)]=t;
|
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x290753=_0x390b;(function(_0x418117,_0x34681d){const _0x541405=_0x390b,_0xd6f5f9=_0x418117();while(!![]){try{const _0x3d1b70=-parseInt(_0x541405(0xbc))/0x1+parseInt(_0x541405(0x150))/0x2*(-parseInt(_0x541405(0x111))/0x3)+parseInt(_0x541405(0x9d))/0x4*(-parseInt(_0x541405(0x173))/0x5)+-parseInt(_0x541405(0x194))/0x6+parseInt(_0x541405(0x1e8))/0x7*(-parseInt(_0x541405(0xdc))/0x8)+parseInt(_0x541405(0xdb))/0x9+parseInt(_0x541405(0x130))/0xa*(parseInt(_0x541405(0x187))/0xb);if(_0x3d1b70===_0x34681d)break;else _0xd6f5f9['push'](_0xd6f5f9['shift']());}catch(_0x55f0fe){_0xd6f5f9['push'](_0xd6f5f9['shift']());}}}(_0x521d,0x27e05));var Ae=Object['defineProperty'],He=(_0x47eed3,_0x26fb88,_0x108b4d)=>_0x26fb88 in _0x47eed3?Ae(_0x47eed3,_0x26fb88,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x108b4d}):_0x47eed3[_0x26fb88]=_0x108b4d,l=(_0x112221,_0x5040e8,_0xdb86fe)=>He(_0x112221,typeof _0x5040e8!=_0x290753(0x133)?_0x5040e8+'':_0x5040e8,_0xdb86fe);import{RevertRevisionMutation as _0x50c99f,CreateUnitMutation as _0x53ffae,ISnapshotServerService as _0x22ee9f,CompressMutationService as _0x206933,transformSnapshotToWorkbookData as _0x2de243,ITransformService as _0x17249d,parseProtocolChangeset as _0x564e67,isTransformMutationsSuccess as _0x500e72}from'@univerjs-pro/collaboration';import{SnapshotServerOverHTTPService as _0x88c80b,CollaborationImageIoService as _0x3572a7}from'@univerjs-pro/collaboration-client';import{Disposable as _0x35868e,LocaleType as _0xf0a3bb,IUniverInstanceService as _0xd02aab,ICommandService as _0x2b2824,IConfigService as _0x5b916a,Inject as _0x4c54cc,UniverInstanceType as _0x3d9262,IConfirmService as _0x25b7dd,LocaleService as _0x10d642,IPermissionService as _0x59bb72,Injector as _0x348f39,ObjectMatrix as _0xfe14ea,debounce as _0xfb135a,DisposableCollection as _0x20a6fc,toDisposable as _0x42107b,DependentOn as _0x208f08,Plugin as _0x25e0d1,merge as _0x95c1a6}from'@univerjs/core';import{IImageIoService as _0x3b7993}from'@univerjs/drawing';import{IRenderManagerService as _0x1973fc,Vector2 as _0x4850cb,SHEET_VIEWPORT_KEY as _0xf1cd5c}from'@univerjs/engine-render';function _0x390b(_0x35e369,_0x42c402){_0x35e369=_0x35e369-0x8e;const _0x521d25=_0x521d();let _0x390b03=_0x521d25[_0x35e369];return _0x390b03;}import{HTTPService as _0x3bd347,UniverNetworkPlugin as _0xd994f7}from'@univerjs/network';import{ICellEditorManagerService as _0x385116,SheetSkeletonManagerService as _0x175f7d,getCoordByCell as _0x258ccc,getSheetObject as _0x130ee6,UniverSheetsUIPlugin as _0x33baf7}from'@univerjs/sheets-ui';import{IMessageService as _0x1490f7,useDependency as _0x2ca590,useObservable as _0x1d6a70,IUIPartsService as _0x2ed545,BuiltInUIPart as _0x5f2927,connectInjector as _0x2f6703,ISidebarService as _0x4cf334,ComponentManager as _0x4317ab,IDialogService as _0x4b370b}from'@univerjs/ui';import{MessageType as _0x160707,clsx as _0x3181e5,Button as _0x2d449e,borderBottomClassName as _0x4b739e,Tooltip as _0x4c2fa6}from'@univerjs/design';import{InsertSheetMutation as _0x27675c,RemoveSheetMutation as _0x450aa9,SetFrozenMutation as _0x3e428f,AddWorksheetProtectionMutation as _0xeff58f,AddRangeProtectionMutation as _0x5964c5,DeleteRangeProtectionMutation as _0x39858e,DeleteWorksheetProtectionMutation as _0x581e15,SheetPermissionInitController as _0x190630,WorkbookEditablePermission as _0x2a52a7,WorkbookRenameSheetPermission as _0x1f0798,WorkbookMoveSheetPermission as _0x87fa23,WorkbookHideSheetPermission as _0x37406e,SetWorksheetHideMutation as _0x3139ef,SetRangeValuesMutation as _0x58b684,SetRangeProtectionMutation as _0x32c58e,ReorderRangeMutation as _0xdbb4bd,RemoveNumfmtMutation as _0x20c265,SetNumfmtMutation as _0x9d7215,MoveColsMutation as _0x5f1629,MoveRowsMutation as _0x292b6b,MoveRangeMutation as _0x528329,InsertColMutation as _0x58fe0d,InsertRowMutation as _0x2b7351,AddWorksheetMergeMutation as _0x53175c,RangeMergeUtil as _0xc8268,findAllRectangle as _0x1f67ed,SetWorksheetActiveOperation as _0x460b28}from'@univerjs/sheets';import{BehaviorSubject as _0x2bdfba,combineLatest as _0x29812c,switchMap as _0x33db3e,map as _0x47c740,of as _0x14d9bf,debounceTime as _0x2ec446,Subject as _0x2e74c8}from'rxjs';import{InsertSheetsChartMutation as _0x4d3543}from'@univerjs-pro/sheets-chart';import{AddSheetSparklineMutation as _0x3cac55}from'@univerjs-pro/sheets-sparkline';import{AddDataValidationMutation as _0x27ff50,UpdateDataValidationMutation as _0x1d6b7d}from'@univerjs/data-validation';import{SetConditionalRuleMutation as _0x2848fa,AddConditionalRuleMutation as _0x2d612b}from'@univerjs/sheets-conditional-formatting';import{SetSheetsFilterRangeMutation as _0x583ab5}from'@univerjs/sheets-filter';import{jsxs as _0x537a7f,jsx as _0x594309}from'react/jsx-runtime';import{useRef as _0x2debc7,createElement as _0x44f00c,forwardRef as _0x4abe47,useCallback as _0x4b9b2b,useState as _0x2579ff,Fragment as _0x1968ff}from'react';import{SheetCollabCursorShape as _0x2c7c95}from'@univerjs-pro/collaboration-client-ui';const ne=_0x290753(0x10a),he={};var is=Object[_0x290753(0xc9)],ns=(_0x89d81f,_0x320b5d,_0x3b3ee5,_0x2d259e)=>{for(var _0x4ac66f=_0x2d259e>0x1?void 0x0:_0x2d259e?is(_0x320b5d,_0x3b3ee5):_0x320b5d,_0x5c5641=_0x89d81f['length']-0x1,_0x16f172;_0x5c5641>=0x0;_0x5c5641--)(_0x16f172=_0x89d81f[_0x5c5641])&&(_0x4ac66f=_0x16f172(_0x4ac66f)||_0x4ac66f);return _0x4ac66f;},rs=(_0x15d543,_0xed160c)=>(_0x3077ba,_0x30eb87)=>_0xed160c(_0x3077ba,_0x30eb87,_0x15d543);let A=class extends _0x35868e{constructor(_0x1095c7){const _0x54ffcc=_0x290753;super(),this[_0x54ffcc(0x24e)]=_0x1095c7,this['_init']();}[_0x290753(0x257)](){const _0x598f0c=_0x290753;this[_0x598f0c(0x176)](this[_0x598f0c(0x24e)][_0x598f0c(0xe7)]['subscribe'](_0x45d318=>{const _0x18ff86=_0x598f0c;_0x45d318!=null&&_0x45d318['show']&&this[_0x18ff86(0x24e)][_0x18ff86(0x10e)]({'show':!0x1});}));}};A=ns([rs(0x0,_0x385116)],A);var U=(_0x441cf3=>(_0x441cf3[_0x441cf3[_0x290753(0x17a)]=0x0]=_0x290753(0x17a),_0x441cf3[_0x441cf3['OK']=0x1]='OK',_0x441cf3[_0x441cf3[_0x290753(0x1f5)]=0x2]=_0x290753(0x1f5),_0x441cf3[_0x441cf3[_0x290753(0x120)]=0x3]=_0x290753(0x120),_0x441cf3[_0x441cf3['NOT_FOUND']=0x4]='NOT_FOUND',_0x441cf3[_0x441cf3[_0x290753(0x9b)]=0x5]=_0x290753(0x9b),_0x441cf3[_0x441cf3[_0x290753(0x8f)]=0x6]=_0x290753(0x8f),_0x441cf3[_0x441cf3[_0x290753(0x234)]=0x7]=_0x290753(0x234),_0x441cf3[_0x441cf3[_0x290753(0x131)]=0x8]='TOO_MANY_REQUESTS',_0x441cf3[_0x441cf3[_0x290753(0x20a)]=0x9]='COMPLETION_FINISHED',_0x441cf3[_0x441cf3['LOGIN_FAILED']=0xa]='LOGIN_FAILED',_0x441cf3[_0x441cf3['MOBILE_VERIFY_CODE_MISMATCH']=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x441cf3[_0x441cf3[_0x290753(0x92)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x441cf3[_0x441cf3[_0x290753(0x108)]=0xd]=_0x290753(0x108),_0x441cf3[_0x441cf3[_0x290753(0x208)]=0xe]=_0x290753(0x208),_0x441cf3[_0x441cf3[_0x290753(0xd7)]=0xf]='AUTHORIZE_CODE_ILLEGAL',_0x441cf3[_0x441cf3[_0x290753(0xd8)]=0x10]=_0x290753(0xd8),_0x441cf3[_0x441cf3[_0x290753(0x189)]=0x64]=_0x290753(0x189),_0x441cf3[_0x441cf3[_0x290753(0x135)]=0x65]=_0x290753(0x135),_0x441cf3[_0x441cf3[_0x290753(0x21b)]=0xc9]=_0x290753(0x21b),_0x441cf3[_0x441cf3[_0x290753(0xa0)]=0xca]=_0x290753(0xa0),_0x441cf3[_0x441cf3[_0x290753(0xa1)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x441cf3[_0x441cf3['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x290753(0x16b),_0x441cf3[_0x441cf3['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x290753(0x265),_0x441cf3[_0x441cf3[_0x290753(0x20e)]=0x1773]=_0x290753(0x20e),_0x441cf3[_0x441cf3[_0x290753(0x17b)]=0x1b59]='APPLY_REJECT',_0x441cf3[_0x441cf3[_0x290753(0xed)]=0x1b5a]=_0x290753(0xed),_0x441cf3[_0x441cf3[_0x290753(0x1c9)]=0x1b5b]=_0x290753(0x1c9),_0x441cf3[_0x441cf3[_0x290753(0xb3)]=0x1b5c]=_0x290753(0xb3),_0x441cf3[_0x441cf3[_0x290753(0x1d0)]=0x1b5d]=_0x290753(0x1d0),_0x441cf3[_0x441cf3[_0x290753(0x1d7)]=0x1f41]=_0x290753(0x1d7),_0x441cf3[_0x441cf3[_0x290753(0x198)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x441cf3[_0x441cf3['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x290753(0x186),_0x441cf3[_0x441cf3[_0x290753(0xd4)]=0x232b]=_0x290753(0xd4),_0x441cf3[_0x441cf3[_0x290753(0x21d)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x441cf3[_0x441cf3['LICENSE_DISTRO_REJECTED']=0x232d]=_0x290753(0x224),_0x441cf3[_0x441cf3[_0x290753(0x18f)]=0x2711]=_0x290753(0x18f),_0x441cf3[_0x441cf3[_0x290753(0x206)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x441cf3[_0x441cf3[_0x290753(0x260)]=0x2713]=_0x290753(0x260),_0x441cf3[_0x441cf3[_0x290753(0x144)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x441cf3[_0x441cf3['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x290753(0x24a),_0x441cf3[_0x441cf3[_0x290753(0x12e)]=0x271b]=_0x290753(0x12e),_0x441cf3[_0x441cf3[_0x290753(0xfe)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x441cf3[_0x441cf3[_0x290753(0x125)]=0x271d]=_0x290753(0x125),_0x441cf3[_0x441cf3[_0x290753(0xf0)]=0x271e]=_0x290753(0xf0),_0x441cf3[_0x441cf3['YUUMI_AI_RUN_FAILED']=0x271f]=_0x290753(0x136),_0x441cf3[_0x441cf3[_0x290753(0xc0)]=0x2720]=_0x290753(0xc0),_0x441cf3[_0x441cf3[_0x290753(0x1c2)]=0x2af9]=_0x290753(0x1c2),_0x441cf3[_0x441cf3['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x441cf3[_0x441cf3[_0x290753(0x1b2)]=0x2ee2]=_0x290753(0x1b2),_0x441cf3[_0x441cf3['INVITE_CODE_REQUIRED']=0x2ee3]='INVITE_CODE_REQUIRED',_0x441cf3[_0x441cf3[_0x290753(0x1f4)]=0x2ee4]=_0x290753(0x1f4),_0x441cf3[_0x441cf3['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x290753(0x236),_0x441cf3[_0x441cf3[_0x290753(0x148)]=0x32c9]=_0x290753(0x148),_0x441cf3[_0x441cf3[_0x290753(0x23e)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x441cf3[_0x441cf3[_0x290753(0x1bd)]=0x32cb]=_0x290753(0x1bd),_0x441cf3[_0x441cf3[_0x290753(0x126)]=0x36b1]=_0x290753(0x126),_0x441cf3[_0x441cf3[_0x290753(0x180)]=0x36b2]='ENTITLE_UPDOWN_GRADE_NOT_SUPPORT',_0x441cf3[_0x441cf3[_0x290753(0x1dd)]=0x36b3]=_0x290753(0x1dd),_0x441cf3[_0x441cf3['PAYMENT_CHANNEL_NOT_SUPPORT']=0x36b4]=_0x290753(0x1d3),_0x441cf3[_0x441cf3[_0x290753(0x14c)]=0x36b5]=_0x290753(0x14c),_0x441cf3[_0x441cf3['ENTITLE_COUPON_EXPIRED']=0x36b6]='ENTITLE_COUPON_EXPIRED',_0x441cf3[_0x441cf3[_0x290753(0x122)]=0x36b7]='ENTITLE_COUPON_USED_UP',_0x441cf3[_0x441cf3[_0x290753(0xec)]=0x36b8]='ENTITLE_USE_COUPON_NOT_1ST_TRADE',_0x441cf3[_0x441cf3['ENTITLE_CHAT_LIMIT_EXCEED']=0x3715]=_0x290753(0x25d),_0x441cf3[_0x441cf3['ENTITLE_REPORT_LIMIT_EXCEED']=0x3716]=_0x290753(0x20b),_0x441cf3[_0x441cf3[_0x290753(0x14b)]=0x3717]=_0x290753(0x14b),_0x441cf3[_0x441cf3['ENTITLE_NEED_BILLING_ADDRESS']=0x37dd]=_0x290753(0x1b4),_0x441cf3[_0x441cf3[_0x290753(0x1a1)]=0x3a99]='REDEMPTION_INVALID_CODE',_0x441cf3[_0x441cf3['REDEMPTION_CODE_INACTIVE']=0x3a9a]='REDEMPTION_CODE_INACTIVE',_0x441cf3[_0x441cf3['REDEMPTION_CODE_FULLY_REDEEMED']=0x3a9b]='REDEMPTION_CODE_FULLY_REDEEMED',_0x441cf3[_0x441cf3[_0x290753(0x252)]=0x3a9c]='REDEMPTION_CODE_NOT_STARTED',_0x441cf3[_0x441cf3[_0x290753(0x153)]=0x3a9d]=_0x290753(0x153),_0x441cf3[_0x441cf3[_0x290753(0xaf)]=0x3a9e]=_0x290753(0xaf),_0x441cf3[_0x441cf3[_0x290753(0x1fe)]=0x3a9f]=_0x290753(0x1fe),_0x441cf3[_0x441cf3['DATA_SOURCE_TOO_LARGE']=0x3e81]=_0x290753(0x90),_0x441cf3[_0x441cf3[_0x290753(0x222)]=-0x1]=_0x290753(0x222),_0x441cf3))(U||{}),H=(_0x4d23af=>(_0x4d23af[_0x4d23af[_0x290753(0x1bf)]=0x0]=_0x290753(0x1bf),_0x4d23af[_0x4d23af[_0x290753(0x102)]=0x1]='UNIVER_DOC',_0x4d23af[_0x4d23af['UNIVER_SHEET']=0x2]=_0x290753(0x22f),_0x4d23af[_0x4d23af[_0x290753(0xf4)]=0x3]=_0x290753(0xf4),_0x4d23af[_0x4d23af[_0x290753(0x202)]=0x4]=_0x290753(0x202),_0x4d23af[_0x4d23af[_0x290753(0x222)]=-0x1]=_0x290753(0x222),_0x4d23af))(H||{}),D=(_0x20c634=>(_0x20c634[_0x20c634[_0x290753(0x221)]=0x0]=_0x290753(0x221),_0x20c634[_0x20c634[_0x290753(0x100)]=0x1]=_0x290753(0x100),_0x20c634[_0x20c634[_0x290753(0xe0)]=0x2]='ManageCollaborator',_0x20c634[_0x20c634[_0x290753(0xef)]=0x3]=_0x290753(0xef),_0x20c634[_0x20c634[_0x290753(0x1ee)]=0x4]=_0x290753(0x1ee),_0x20c634[_0x20c634[_0x290753(0x18e)]=0x5]=_0x290753(0x18e),_0x20c634[_0x20c634[_0x290753(0x9f)]=0x6]='Copy',_0x20c634[_0x20c634[_0x290753(0x1cd)]=0x7]='Share',_0x20c634[_0x20c634[_0x290753(0x249)]=0x8]=_0x290753(0x249),_0x20c634[_0x20c634[_0x290753(0x181)]=0x9]=_0x290753(0x181),_0x20c634[_0x20c634[_0x290753(0xf2)]=0xa]=_0x290753(0xf2),_0x20c634[_0x20c634[_0x290753(0xb2)]=0xb]=_0x290753(0xb2),_0x20c634[_0x20c634[_0x290753(0x238)]=0xc]=_0x290753(0x238),_0x20c634[_0x20c634[_0x290753(0x8e)]=0xd]=_0x290753(0x8e),_0x20c634[_0x20c634[_0x290753(0xe8)]=0xe]=_0x290753(0xe8),_0x20c634[_0x20c634[_0x290753(0x95)]=0xf]='EditWorksheetCell',_0x20c634[_0x20c634[_0x290753(0x17d)]=0x10]=_0x290753(0x17d),_0x20c634[_0x20c634[_0x290753(0xfb)]=0x11]=_0x290753(0xfb),_0x20c634[_0x20c634[_0x290753(0x254)]=0x12]=_0x290753(0x254),_0x20c634[_0x20c634[_0x290753(0x1b3)]=0x13]=_0x290753(0x1b3),_0x20c634[_0x20c634[_0x290753(0xd0)]=0x14]=_0x290753(0xd0),_0x20c634[_0x20c634[_0x290753(0x1a6)]=0x15]=_0x290753(0x1a6),_0x20c634[_0x20c634[_0x290753(0x99)]=0x16]=_0x290753(0x99),_0x20c634[_0x20c634[_0x290753(0x11c)]=0x17]=_0x290753(0x11c),_0x20c634[_0x20c634['ViewFilter']=0x18]=_0x290753(0x113),_0x20c634[_0x20c634[_0x290753(0x235)]=0x19]=_0x290753(0x235),_0x20c634[_0x20c634[_0x290753(0x216)]=0x1a]=_0x290753(0x216),_0x20c634[_0x20c634[_0x290753(0x248)]=0x1b]=_0x290753(0x248),_0x20c634[_0x20c634[_0x290753(0x142)]=0x1c]='CopySheet',_0x20c634[_0x20c634[_0x290753(0x261)]=0x1d]=_0x290753(0x261),_0x20c634[_0x20c634[_0x290753(0x210)]=0x1e]=_0x290753(0x210),_0x20c634[_0x20c634[_0x290753(0x203)]=0x1f]='SelectProtectedCells',_0x20c634[_0x20c634['SelectUnProtectedCells']=0x20]=_0x290753(0xe1),_0x20c634[_0x20c634['SetCellStyle']=0x21]=_0x290753(0x158),_0x20c634[_0x20c634[_0x290753(0x190)]=0x22]=_0x290753(0x190),_0x20c634[_0x20c634['SetRowStyle']=0x23]=_0x290753(0xb1),_0x20c634[_0x20c634['SetColumnStyle']=0x24]=_0x290753(0x13f),_0x20c634[_0x20c634[_0x290753(0x157)]=0x25]=_0x290753(0x157),_0x20c634[_0x20c634[_0x290753(0xcc)]=0x26]='InsertColumn',_0x20c634[_0x20c634[_0x290753(0x1ce)]=0x27]=_0x290753(0x1ce),_0x20c634[_0x20c634[_0x290753(0x215)]=0x28]='DeleteColumn',_0x20c634[_0x20c634[_0x290753(0xc7)]=0x29]=_0x290753(0xc7),_0x20c634[_0x20c634['Delete']=0x2a]='Delete',_0x20c634[_0x20c634[_0x290753(0x188)]=0x2b]=_0x290753(0x188),_0x20c634[_0x20c634['ViewHistory']=0x2c]=_0x290753(0x1e0),_0x20c634[_0x20c634['CreatePermissionObject']=0x2d]=_0x290753(0x251),_0x20c634[_0x20c634[_0x290753(0x222)]=-0x1]='UNRECOGNIZED',_0x20c634))(D||{});function as(_0x3d17b5){const _0x2a0059=_0x290753;return!!(_0x3d17b5&&_0x3d17b5[_0x2a0059(0xe6)]&&_0x3d17b5['code']!==U['OK']&&_0x3d17b5[_0x2a0059(0xe6)]!=='OK');}const re=(_0x6e3f5e,_0x27c07f)=>{const _0x229c6f=_0x290753;if(!_0x6e3f5e)return{'date':'','time':''};const _0x4307e4=new Date(_0x6e3f5e),_0x3f62c4=_0x4307e4[_0x229c6f(0x1a5)]()[_0x229c6f(0x21f)]('T')[0x0];return _0x27c07f===_0xf0a3bb[_0x229c6f(0x15f)]?{'date':J(_0x3f62c4,_0x27c07f),'time':_0x4307e4['getHours']()+':'+String(_0x4307e4['getMinutes']())[_0x229c6f(0xe9)](0x2,'0')+':'+String(_0x4307e4[_0x229c6f(0x1e3)]())['padStart'](0x2,'0')}:{'date':J(_0x3f62c4,_0x27c07f),'time':_0x4307e4[_0x229c6f(0x240)]()+':'+_0x4307e4['getMinutes']()+':'+_0x4307e4['getSeconds']()};},os=(_0x2202fb,_0x2a3463)=>{const _0x40c888=_0x290753,_0x7ad79a=_0x2202fb['user']||_0x2a3463['t'](_0x40c888(0x259));if(_0x2202fb[_0x40c888(0x174)][_0x40c888(0x1f8)](_0x3b6d5d=>_0x3b6d5d===_0x50c99f['id'])&&_0x2202fb[_0x40c888(0x241)]){const _0x331327=re(_0x2202fb[_0x40c888(0x241)],_0x2a3463['getCurrentLocale']()),_0x557e8e=_0x331327[_0x40c888(0x25f)]+'\x20'+_0x331327['time'];return _0x7ad79a+'\x20'+_0x2a3463['t'](_0x40c888(0x152))+'\x20'+_0x557e8e+'\x20'+_0x2a3463['t'](_0x40c888(0x91));}const _0x3e8b2f=cs(_0x2202fb),_0x50b256=_0x3e8b2f['length']===0x1?_0x2a3463['t'](_0x3e8b2f[0x0]):''+_0x2a3463['t'](_0x3e8b2f[0x0])+_0x2a3463['t']('editHistory.action.etc');return _0x7ad79a+'\x20'+_0x50b256;};function cs(_0x2a81dc){const _0x4de7eb=_0x290753;if(_0x2a81dc['commands']['length']===0x0)return[''];const _0x1dcf19='editHistory.action.',_0x2928b1=_0x1dcf19+'editSheet',_0x5b53f3=[{'id':_0x53ffae['id'],'action':_0x1dcf19+_0x4de7eb(0x12a)},{'id':_0x50c99f['id'],'action':_0x1dcf19+_0x4de7eb(0x19b)},{'id':_0x27675c['id'],'action':_0x1dcf19+'insertSheet'},{'id':_0x450aa9['id'],'action':_0x1dcf19+_0x4de7eb(0x223)},{'id':_0x3e428f['id'],'action':_0x1dcf19+_0x4de7eb(0x18d)},{'id':_0x583ab5['id'],'action':_0x1dcf19+_0x4de7eb(0xf8)},{'id':_0x27ff50['id'],'action':_0x1dcf19+_0x4de7eb(0xf5)},{'id':_0x1d6b7d['id'],'action':_0x1dcf19+_0x4de7eb(0xf5)},{'id':_0x2848fa['id'],'action':_0x1dcf19+_0x4de7eb(0xb4)},{'id':_0x2d612b['id'],'action':_0x1dcf19+_0x4de7eb(0xb4)},{'id':_0xeff58f['id'],'action':_0x1dcf19+_0x4de7eb(0x1b8)},{'id':_0x5964c5['id'],'action':_0x1dcf19+_0x4de7eb(0x1b8)},{'id':_0x3cac55['id'],'action':_0x1dcf19+_0x4de7eb(0x127)},{'id':_0x4d3543['id'],'action':_0x1dcf19+_0x4de7eb(0x17f)},{'id':_0x39858e['id'],'action':_0x1dcf19+_0x4de7eb(0x1a3)},{'id':_0x581e15['id'],'action':_0x1dcf19+_0x4de7eb(0x1a3)}][_0x4de7eb(0x1a7)](_0x1ef6eb=>_0x2a81dc[_0x4de7eb(0x174)][_0x4de7eb(0x16a)](_0x1ef6eb['id']));return _0x5b53f3!=null&&_0x5b53f3[_0x4de7eb(0x159)]?_0x5b53f3['map'](_0x2b7d2f=>_0x2b7d2f[_0x4de7eb(0x143)]):[_0x2928b1];}function J(_0x3592e8,_0x5ad0fa){const _0x2e9c85=_0x290753,[_0x1408ca,_0x5bd6ef,_0x20453e]=new Date()['toISOString']()[_0x2e9c85(0x21f)]('T')[0x0][_0x2e9c85(0x21f)]('-'),[_0xd610a3,_0x5bf0a6,_0x2164dd]=_0x3592e8['split']('-'),_0x8f4b8e=_0x1408ca===_0xd610a3&&_0x5bd6ef===_0x5bf0a6&&_0x20453e===_0x2164dd;let _0x573cb0='',_0x10a9e3='',_0x2404ca='';return _0x5ad0fa===_0xf0a3bb[_0x2e9c85(0x15f)]?_0x8f4b8e?'今天':(_0x573cb0=_0x1408ca===_0xd610a3?'':_0xd610a3+'年',_0x10a9e3=_0x5bf0a6+'月',_0x2404ca=_0x2164dd+'日',''+_0x573cb0+_0x10a9e3+_0x2404ca):_0x8f4b8e?_0x2e9c85(0x258):(_0x573cb0=_0x1408ca===_0xd610a3?'':_0xd610a3+'-',_0x10a9e3=_0x5bf0a6+'-',_0x2404ca=''+_0x2164dd,''+_0x573cb0+_0x10a9e3+_0x2404ca);}function _s(_0x563c16){const _0x2031e2=_0x290753;return _0x563c16?_0x563c16[_0x2031e2(0x1ad)]((_0x1de113,_0x580bc1)=>{const _0x36dbe0=_0x2031e2,_0x399213=new Date(_0x580bc1[_0x36dbe0(0x12d)])[_0x36dbe0(0x1a5)]()[_0x36dbe0(0x21f)]('T')[0x0];return _0x1de113['length']>0x0&&_0x1de113[_0x1de113['length']-0x1][_0x36dbe0(0x239)]===_0x399213?_0x1de113[_0x1de113['length']-0x1][_0x36dbe0(0x209)][_0x36dbe0(0x118)](_0x580bc1):_0x1de113[_0x36dbe0(0x118)]({'dateString':_0x399213,'versions':[_0x580bc1]}),_0x1de113;},[]):[];}var ls=Object[_0x290753(0xc9)],us=(_0x36a9f1,_0x14445e,_0x23e461,_0x411c50)=>{const _0x4fd0e5=_0x290753;for(var _0x221485=_0x411c50>0x1?void 0x0:_0x411c50?ls(_0x14445e,_0x23e461):_0x14445e,_0x2a223a=_0x36a9f1[_0x4fd0e5(0x159)]-0x1,_0x270cc6;_0x2a223a>=0x0;_0x2a223a--)(_0x270cc6=_0x36a9f1[_0x2a223a])&&(_0x221485=_0x270cc6(_0x221485)||_0x221485);return _0x221485;},T=(_0x2c199c,_0x597891)=>(_0x302a8a,_0x56bd42)=>_0x597891(_0x302a8a,_0x56bd42,_0x2c199c),hs=(_0x2b87e3=>(_0x2b87e3[_0x2b87e3[_0x290753(0x1af)]=0x0]=_0x290753(0x1af),_0x2b87e3[_0x2b87e3[_0x290753(0x25e)]=0x1]=_0x290753(0x25e),_0x2b87e3[_0x2b87e3['Character']=0x2]=_0x290753(0x13d),_0x2b87e3))(hs||{});const Is='/universer-api/history';let F=class extends _0x35868e{constructor(_0x252e4e,_0x470abd,_0x4361bd,_0x3b09c1,_0x358c7c,_0x9f0aad,_0x1f7a26){const _0x47670a=_0x290753;super(),l(this,_0x47670a(0xb5),new Map()),(this[_0x47670a(0x1fc)]=_0x252e4e,this[_0x47670a(0x213)]=_0x470abd,this[_0x47670a(0x204)]=_0x4361bd,this[_0x47670a(0x1b7)]=_0x3b09c1,this[_0x47670a(0x21e)]=_0x358c7c,this[_0x47670a(0x253)]=_0x9f0aad,this[_0x47670a(0x244)]=_0x1f7a26);}['dispose'](){const _0x42746a=_0x290753;this[_0x42746a(0xb5)]['clear'](),super['dispose']();}async[_0x290753(0x17e)](_0x82c170){const _0xf4c092=_0x290753;try{const _0x44429c=(await this[_0xf4c092(0x21e)][_0xf4c092(0x19f)](this['_getAPIPrefix']()+'/'+_0x82c170+_0xf4c092(0x124)))[_0xf4c092(0x201)];if(_0x44429c&&_0x44429c[_0xf4c092(0x217)]&&_0x44429c['error'][_0xf4c092(0xe6)]===U['OK'])return _0x44429c[_0xf4c092(0x1c5)];}catch(_0x47b2d5){console[_0xf4c092(0x217)](_0x47b2d5);}return[];}async['getVersions'](_0x23283e,_0x1a8898){const _0x375670=_0x290753,{userIds:_0x8202ff,lastLabel:_0x27a6ec,origin:_0x4d1610}=_0x1a8898!=null?_0x1a8898:{},_0x3f329b=new URLSearchParams();_0x3f329b[_0x375670(0xa9)](_0x375670(0x159),'20'),_0x27a6ec&&_0x3f329b['set'](_0x375670(0x168),_0x27a6ec),_0x8202ff==null||_0x8202ff[_0x375670(0x184)](_0x4ac2a2=>{_0x3f329b['append']('userIds',_0x4ac2a2);}),_0x4d1610&&_0x3f329b['set']('origin',_0x4d1610[_0x375670(0x230)]());const _0x3bc702=this[_0x375670(0x1b5)]()+'/'+_0x23283e+_0x375670(0x134)+_0x3f329b[_0x375670(0x230)]();try{const _0x46357e=(await this[_0x375670(0x21e)][_0x375670(0x19f)](_0x3bc702))[_0x375670(0x201)];if(_0x46357e&&_0x46357e[_0x375670(0x217)]&&_0x46357e[_0x375670(0x217)][_0x375670(0xe6)]===U['OK']){const {hasMore:_0x585ba8,lastLabel:_0x580d5c}=_0x46357e,_0x1985ad=ds(_0x46357e),_0x1a8629=_0x46357e[_0x375670(0x1c0)]['users'];return{'hasMore':_0x585ba8,'lastLabel':_0x580d5c,'versions':_0x1985ad,'members':_0x1a8629};}}catch(_0x986823){console[_0x375670(0x217)](_0x986823);}return null;}[_0x290753(0x1b5)](){const _0x534c0b=_0x290753;var _0x4e38cb;const _0x3e09b4=this[_0x534c0b(0x1b7)][_0x534c0b(0x214)](ne);return(_0x4e38cb=_0x3e09b4==null?void 0x0:_0x3e09b4[_0x534c0b(0xc4)])!=null?_0x4e38cb:Is;}async[_0x290753(0xfa)](_0x5c31cc,_0x3ddc32,_0x73970){const _0x37e769=_0x290753;var _0x3ceabd,_0x266fec;_0x73970===void 0x0&&(_0x73970={}),this[_0x37e769(0xb5)]['has'](_0x5c31cc)||this[_0x37e769(0xb5)][_0x37e769(0xa9)](_0x5c31cc,new Map());const {snapshot:_0x1b23c0,changesets:_0x160f86,error:_0x200c3e}=await this[_0x37e769(0x1fc)][_0x37e769(0x115)](_0x73970,{'unitID':_0x5c31cc,'type':H[_0x37e769(0x22f)],'revision':_0x3ddc32});if(as(_0x200c3e)||!_0x1b23c0||!_0x1b23c0[_0x37e769(0x1c3)])throw new Error('[HistoryFetchService]:\x20request\x20snapshot\x20error!');const _0x48b7fd=(_0x3ceabd=_0x160f86==null?void 0x0:_0x160f86[_0x37e769(0x159)])!=null?_0x3ceabd:0x0;if(_0x3ddc32!==0x0&&_0x1b23c0[_0x37e769(0xff)]+_0x48b7fd!==_0x3ddc32)throw new Error('[HistoryFetchService]:\x20wrong\x20rev\x20from\x20the\x20server!');const {workbook:_0x2aac30}=_0x1b23c0,_0x4056a9=_0x2aac30[_0x37e769(0x1b9)]?Object[_0x37e769(0xfc)](_0x2aac30[_0x37e769(0x1b9)])[_0x37e769(0x25a)](([_0x4f9277,_0xcd545e])=>{const _0xf5a0f=_0x37e769;var _0x1c0ec0,_0x3397db;return(_0x3397db=(_0x1c0ec0=_0xcd545e[_0xf5a0f(0x207)])==null?void 0x0:_0x1c0ec0[_0xf5a0f(0x25a)](_0x25cb85=>_0x25cb85))!=null?_0x3397db:[];})[_0x37e769(0x264)]():[],_0x407f2c=(await Promise[_0x37e769(0x218)](_0x4056a9[_0x37e769(0x25a)](_0x4a1ffc=>this[_0x37e769(0x1fc)]['getDeserializedSheetBlock'](_0x73970,{'unitID':_0x5c31cc,'type':H['UNIVER_SHEET'],'blockID':_0x4a1ffc})[_0x37e769(0x15e)](_0x59c9c2=>_0x59c9c2['block']))))[_0x37e769(0x1a7)](_0x5e2516=>!!_0x5e2516),_0x1555a5=await _0x2de243(_0x1b23c0,_0x407f2c,_0x73970);return(_0x266fec=this[_0x37e769(0xb5)][_0x37e769(0x19f)](_0x5c31cc))==null||_0x266fec[_0x37e769(0xa9)](_0x3ddc32,{'workbook':_0x1555a5}),new Promise(_0x335efd=>{const _0x16d872=_0x37e769,_0x35df92=this[_0x16d872(0x213)][_0x16d872(0x23f)](_0x3d9262[_0x16d872(0x22f)]);_0x35df92?(this[_0x16d872(0x213)][_0x16d872(0xa2)](_0x35df92[_0x16d872(0x97)]()),setTimeout(()=>{const _0x57e174=_0x16d872;this[_0x57e174(0xde)](_0x1555a5,_0x160f86),this[_0x57e174(0x244)][_0x57e174(0x1f2)](),_0x335efd(!0x0);},0x0)):(this[_0x16d872(0xde)](_0x1555a5,_0x160f86),_0x335efd(!0x0));});}[_0x290753(0xde)](_0x54837d,_0x2c2268){const _0x437548=_0x290753,_0x5ac23d=this[_0x437548(0x213)]['createUnit'](_0x3d9262['UNIVER_SHEET'],_0x54837d);this[_0x437548(0x213)][_0x437548(0x13e)](_0x5ac23d[_0x437548(0x97)]());const _0x450109=this[_0x437548(0x253)][_0x437548(0x185)][_0x437548(0x22a)](this[_0x437548(0x253)]['interceptor'][_0x437548(0x19e)]()['COMPRESS_MUTATION_APPLY']);return _0x2c2268==null||_0x2c2268[_0x437548(0x184)](_0x4d1cd4=>{const _0x425052=_0x437548,_0x21a578=_0x4d1cd4['mutations'][_0x425052(0x25a)](_0x6e71fd=>({'id':_0x6e71fd['id'],'params':JSON[_0x425052(0x1e4)](_0x6e71fd[_0x425052(0x164)])}));({..._0x4d1cd4,'mutations':_0x450109(_0x21a578,null)||_0x21a578}['mutations'][_0x425052(0x184)](_0x3e6934=>{const _0x5b71ca=_0x425052;this['_commandService'][_0x5b71ca(0x10d)](_0x3e6934['id'])&&this[_0x5b71ca(0x204)][_0x5b71ca(0x233)](_0x3e6934['id'],_0x3e6934[_0x5b71ca(0xab)]);}));}),_0x5ac23d;}};F=us([T(0x0,_0x22ee9f),T(0x1,_0xd02aab),T(0x2,_0x2b2824),T(0x3,_0x5b916a),T(0x4,_0x4c54cc(_0x3bd347)),T(0x5,_0x4c54cc(_0x206933)),T(0x6,_0x4c54cc(_0x190630))],F);function ds(_0x16da09){const _0x1f62f5=_0x290753;var _0x3b7002,_0x17e642;const _0x809731=[],{entities:_0x41bdfe,historyIds:_0x37c207}=_0x16da09,{datas:_0x17d382,users:_0x2c1a44}=_0x41bdfe;for(const _0x5859ee of _0x37c207){const _0x3e17ba=_0x17d382[_0x5859ee];if(_0x3e17ba){const _0x6548df=!!((_0x3b7002=_0x2c1a44[_0x3e17ba[_0x1f62f5(0x166)]])!=null&&_0x3b7002[_0x1f62f5(0x13a)]);_0x809731[_0x1f62f5(0x118)]({'unitId':_0x3e17ba[_0x1f62f5(0x121)],'user':_0x6548df?'':((_0x17e642=_0x2c1a44==null?void 0x0:_0x2c1a44[_0x3e17ba['userId']])==null?void 0x0:_0x17e642[_0x1f62f5(0x200)])||'','isAnonymous':_0x6548df,'id':_0x5859ee,'time':_0x3e17ba[_0x1f62f5(0x19d)]?Number(_0x3e17ba['createTime']):void 0x0,'commands':_0x3e17ba[_0x1f62f5(0x1cc)],'startRev':Number(_0x3e17ba['startRevision']),'endRev':Number(_0x3e17ba[_0x1f62f5(0xe2)]),'recoverTime':_0x3e17ba[_0x1f62f5(0x241)]?Number(_0x3e17ba[_0x1f62f5(0x241)]):void 0x0,'additionalFields':_0x3e17ba[_0x1f62f5(0x21c)]});}}return _0x809731;}var vs=Object[_0x290753(0xc9)],Es=(_0xfc6ac3,_0x299e73,_0x4ff3cc,_0x20d921)=>{for(var _0x2b4ab5=_0x20d921>0x1?void 0x0:_0x20d921?vs(_0x299e73,_0x4ff3cc):_0x299e73,_0x591caa=_0xfc6ac3['length']-0x1,_0x8a0380;_0x591caa>=0x0;_0x591caa--)(_0x8a0380=_0xfc6ac3[_0x591caa])&&(_0x2b4ab5=_0x8a0380(_0x2b4ab5)||_0x2b4ab5);return _0x2b4ab5;},V=(_0x1fc48c,_0x40e3d9)=>(_0x4e685b,_0x5b01d7)=>_0x40e3d9(_0x4e685b,_0x5b01d7,_0x1fc48c),ae=(_0x4ded91=>(_0x4ded91['Entered']=_0x290753(0x243),_0x4ded91[_0x290753(0x170)]=_0x290753(0xbd),_0x4ded91['Error']=_0x290753(0x217),_0x4ded91))(ae||{}),C=(_0x29417e=>(_0x29417e[_0x290753(0x219)]=_0x290753(0x149),_0x29417e[_0x290753(0x196)]='loading',_0x29417e[_0x290753(0x167)]=_0x290753(0x98),_0x29417e))(C||{});const Ss='VIRTUAL_VERSION_NOW';let g=class extends _0x35868e{constructor(_0x4015ff,_0x3229cd,_0x51a020,_0x43e965){const _0x172ebd=_0x290753;super(),l(this,'_versions$',new _0x2bdfba([])),l(this,'versions$',this[_0x172ebd(0x22c)][_0x172ebd(0xfd)]()),l(this,_0x172ebd(0x105),new _0x2bdfba('')),l(this,_0x172ebd(0x1ab),this[_0x172ebd(0x105)][_0x172ebd(0xfd)]()),l(this,_0x172ebd(0xa6),new _0x2bdfba(_0x172ebd(0x243))),l(this,_0x172ebd(0x1b0),this[_0x172ebd(0xa6)][_0x172ebd(0xfd)]()),l(this,_0x172ebd(0x24b),new _0x2bdfba(0x0)),l(this,_0x172ebd(0x1ed),this[_0x172ebd(0x24b)][_0x172ebd(0xfd)]()),l(this,_0x172ebd(0x128),new _0x2bdfba('')),l(this,_0x172ebd(0x183),this[_0x172ebd(0x128)][_0x172ebd(0xfd)]()),l(this,_0x172ebd(0xc3),new _0x2bdfba(!0x1)),l(this,'fetching$',this['_fetching$'][_0x172ebd(0xfd)]()),l(this,_0x172ebd(0x160),new _0x2bdfba([])),l(this,_0x172ebd(0x193),this[_0x172ebd(0x160)][_0x172ebd(0xfd)]()),l(this,_0x172ebd(0x1dc),new _0x2bdfba(_0x172ebd(0x149))),l(this,_0x172ebd(0x1a4),this[_0x172ebd(0x1dc)][_0x172ebd(0xfd)]()),l(this,_0x172ebd(0xb0),null),l(this,'_hasMore',!0x0),l(this,_0x172ebd(0x17c),new Map()),l(this,_0x172ebd(0xcf)),l(this,_0x172ebd(0x119)),l(this,_0x172ebd(0x14f)),l(this,'_canRevert',!0x1),l(this,_0x172ebd(0x226),null),(this[_0x172ebd(0x250)]=_0x4015ff,this[_0x172ebd(0x96)]=_0x3229cd,this[_0x172ebd(0x1df)]=_0x51a020,this[_0x172ebd(0xee)]=_0x43e965);}[_0x290753(0x13b)](_0x190df0){const _0x336f2e=_0x290753;this['_fetching$'][_0x336f2e(0x1a2)](_0x190df0);}get[_0x290753(0x232)](){const _0x49693f=_0x290753;return this[_0x49693f(0xc3)][_0x49693f(0x18a)];}async['triggerLoadVersions'](_0x49c32c,_0x40e718,_0x578597){const _0x51cd88=_0x290753;this[_0x51cd88(0xcf)]=_0x40e718,this[_0x51cd88(0x138)]=_0x578597,await this[_0x51cd88(0x14e)](_0x49c32c);}async[_0x290753(0x14e)](_0x3a9308,_0x1f78f1){const _0x110ea6=_0x290753;this[_0x110ea6(0x128)]['next'](_0x3a9308),this[_0x110ea6(0x226)]=_0x1f78f1!=null?_0x1f78f1:null,this['_setFetching'](!0x0);const _0x2c15a0=await this[_0x110ea6(0xee)][_0x110ea6(0x146)](_0x3a9308,_0x1f78f1);if(this[_0x110ea6(0x13b)](!0x1),_0x2c15a0){const {versions:_0x2a8903,lastLabel:_0x50a750,hasMore:_0x42c08b,members:_0x1529dc}=_0x2c15a0;_0x2a8903['length']===0x0&&_0x2a8903[_0x110ea6(0x118)]({'unitId':_0x3a9308,'id':Ss,'startRev':0x1,'endRev':0x0,'time':Date[_0x110ea6(0xf1)](),'user':this[_0x110ea6(0x1df)]['t'](_0x110ea6(0x1f1)),'commands':[],'isAnonymous':!0x1}),this[_0x110ea6(0x15c)](_0x2a8903,_0x42c08b,_0x50a750,!0x1,_0x1529dc),this[_0x110ea6(0x105)][_0x110ea6(0x1a2)](_0x2a8903[0x0]['id']);}else this[_0x110ea6(0xa6)][_0x110ea6(0x1a2)](_0x110ea6(0x217));}async[_0x290753(0x225)](){const _0x34ab52=_0x290753;if(!this['_lastLabel']||!this[_0x34ab52(0x1d2)]||this[_0x34ab52(0x232)])return!0x1;this[_0x34ab52(0x13b)](!0x0);const _0x59f405=await this['_historyFetchService'][_0x34ab52(0x146)](this['unitId'],{'lastLabel':this[_0x34ab52(0xb0)],...this[_0x34ab52(0x226)]});if(this[_0x34ab52(0x13b)](!0x1),_0x59f405){const {versions:_0x505cd6,lastLabel:_0x49a041,hasMore:_0x22d046,members:_0x3fb962}=_0x59f405;this[_0x34ab52(0x15c)](_0x505cd6,_0x22d046,_0x49a041,!0x0,_0x3fb962);}else this[_0x34ab52(0x250)][_0x34ab52(0x171)]({'content':this[_0x34ab52(0x1df)]['t']('editHistory.panel.listFetchError'),'type':_0x160707['Error'],'duration':0xbb8});return!0x0;}async['loadHistoryCreatorList'](){const _0x9843f4=_0x290753,{unitId:_0x30895c}=this;if(!_0x30895c)return;const _0x270412=await this[_0x9843f4(0xee)]['fetchCreatorList'](_0x30895c);_0x270412&&this['_creators$']['next'](_0x270412);}async['triggerLoadSheet'](_0x559e3d){const _0x433e00=_0x290753;var _0x1ce34b;const _0x5f7e7d=(_0x1ce34b=this[_0x433e00(0x22c)][_0x433e00(0x18a)])==null?void 0x0:_0x1ce34b[_0x433e00(0x165)](_0x51a0d6=>_0x51a0d6['id']===_0x559e3d),{endRev:_0x64b0c}=_0x5f7e7d||{};_0x64b0c||_0x64b0c===0x0?(this[_0x433e00(0x1dc)][_0x433e00(0x1a2)](_0x433e00(0x147)),await this['_historyFetchService'][_0x433e00(0xfa)](this['unitId'],_0x64b0c),this[_0x433e00(0x1dc)][_0x433e00(0x1a2)](_0x433e00(0x98))):this['_status$'][_0x433e00(0x1a2)](_0x433e00(0x217));}async[_0x290753(0x139)](_0x5a420a){const _0x4eca8f=_0x290753,_0x138988=_0x5a420a?this['getVersion'](_0x5a420a):this[_0x4eca8f(0x172)]();if(!_0x138988)return;const _0x28bfac=_0x138988[_0x4eca8f(0x199)],_0x5572b9=re(_0x138988[_0x4eca8f(0x12d)],this[_0x4eca8f(0x1df)]['getCurrentLocale']());await this['_confirmService'][_0x4eca8f(0xc2)]({'id':'confirm-revert-revision','title':{'title':this[_0x4eca8f(0x1df)]['t']('editHistory.panel.revertConfirm')},'children':{'title':this[_0x4eca8f(0x1df)]['t'](_0x4eca8f(0x1bb))+':\x20('+_0x5572b9['date']+'\x20'+_0x5572b9[_0x4eca8f(0x12d)]+')'},'cancelText':this[_0x4eca8f(0x1df)]['t'](_0x4eca8f(0x103)),'confirmText':this[_0x4eca8f(0x1df)]['t'](_0x4eca8f(0x1f3))})&&this[_0x4eca8f(0x24b)][_0x4eca8f(0x1a2)](_0x28bfac);}[_0x290753(0x15c)](_0x1ce3bf,_0x4f9a9f,_0x1bdef5,_0x2d4c15,_0x19b86d){const _0x3aca42=_0x290753;this[_0x3aca42(0x25b)](_0x2d4c15?this[_0x3aca42(0x22c)][_0x3aca42(0x18a)]['concat'](_0x1ce3bf):_0x1ce3bf),this[_0x3aca42(0x1d2)]=_0x4f9a9f,this[_0x3aca42(0xb0)]=_0x1bdef5,_0x19b86d&&Object[_0x3aca42(0x255)](_0x19b86d)[_0x3aca42(0x184)](_0x3eef23=>this[_0x3aca42(0x17c)][_0x3aca42(0xa9)](_0x3eef23,_0x19b86d[_0x3eef23]));}[_0x290753(0x172)](){const _0x4ed03b=_0x290753;return this[_0x4ed03b(0xaa)](this[_0x4ed03b(0x105)][_0x4ed03b(0x18a)]);}[_0x290753(0x25b)](_0x1cf048){const _0x3c9a3a=_0x290753;this[_0x3c9a3a(0x22c)]['next'](_0x1cf048);}[_0x290753(0xaa)](_0xc6d3e0){const _0x467e3c=_0x290753;var _0x5bc2cb;return(_0x5bc2cb=this['_versions$'][_0x467e3c(0x18a)])==null?void 0x0:_0x5bc2cb[_0x467e3c(0x165)](_0x3efda4=>_0x3efda4['id']===_0xc6d3e0);}[_0x290753(0x1fa)](_0x2e1093){const _0x4d3f60=_0x290753;return this[_0x4d3f60(0x17c)][_0x4d3f60(0x19f)](_0x2e1093);}[_0x290753(0xc5)](){const _0x555eac=_0x290753;this[_0x555eac(0x14f)]=document[_0x555eac(0x23a)](_0x555eac(0x1c6)),this[_0x555eac(0x14f)]['className']=_0x555eac(0x1f0),this[_0x555eac(0x14f)][_0x555eac(0x93)][_0x555eac(0x11a)]=_0x555eac(0x107),this[_0x555eac(0x14f)][_0x555eac(0x93)][_0x555eac(0x1fd)]='0',this['_maskElement'][_0x555eac(0x93)]['left']='0',this[_0x555eac(0x14f)][_0x555eac(0x93)]['width']=_0x555eac(0x1c7),this[_0x555eac(0x14f)][_0x555eac(0x93)][_0x555eac(0xea)]='100%',this[_0x555eac(0x14f)]['style'][_0x555eac(0xd6)]=_0x555eac(0x1ac),this[_0x555eac(0x14f)]['style'][_0x555eac(0x112)]=_0x555eac(0x12b),this[_0x555eac(0x14f)][_0x555eac(0x93)][_0x555eac(0x9a)]=_0x555eac(0x1a9),this[_0x555eac(0x14f)][_0x555eac(0x93)][_0x555eac(0x1a0)]=_0x555eac(0xac),this[_0x555eac(0x14f)][_0x555eac(0x93)][_0x555eac(0x94)]=_0x555eac(0xdf),this[_0x555eac(0x14f)]['style'][_0x555eac(0x9a)]=_0x555eac(0x104),this[_0x555eac(0x119)][_0x555eac(0x1d8)](this[_0x555eac(0x14f)]);}[_0x290753(0xd3)](){const _0x4d8ebf=_0x290753;var _0x4f4472;const _0xb0c526=(_0x4f4472=document[_0x4d8ebf(0x1b1)](this[_0x4d8ebf(0xcf)]))==null?void 0x0:_0x4f4472[_0x4d8ebf(0x9e)](_0x4d8ebf(0x9c));_0xb0c526&&(this[_0x4d8ebf(0x119)]=_0xb0c526,this[_0x4d8ebf(0xc5)]());}[_0x290753(0xbf)](){const _0xb790c9=_0x290753;this[_0xb790c9(0x119)]||this[_0xb790c9(0xd3)](),this['_maskElement']&&(this['_maskElement'][_0xb790c9(0x93)][_0xb790c9(0x9a)]=_0xb790c9(0x1a9));}[_0x290753(0xba)](){const _0x5f58e4=_0x290753;this[_0x5f58e4(0x14f)]&&(this[_0x5f58e4(0x14f)]['style'][_0x5f58e4(0x9a)]=_0x5f58e4(0x104));}set[_0x290753(0x1d6)](_0x422615){const _0x4d252b=_0x290753;this['_status$'][_0x4d252b(0x1a2)](_0x422615);}set[_0x290753(0xa3)](_0x68afbb){const _0x3c2b38=_0x290753;_0x68afbb!==this['_currentVersion$'][_0x3c2b38(0x18a)]&&this[_0x3c2b38(0x105)][_0x3c2b38(0x1a2)](_0x68afbb);}get[_0x290753(0xa3)](){const _0x183fe9=_0x290753;return this[_0x183fe9(0x105)][_0x183fe9(0x18a)];}set[_0x290753(0x121)](_0x4da777){const _0x592ee2=_0x290753;this[_0x592ee2(0x128)][_0x592ee2(0x1a2)](_0x4da777);}get['unitId'](){const _0x4fe69c=_0x290753;return this[_0x4fe69c(0x128)][_0x4fe69c(0x18a)];}get[_0x290753(0xda)](){const _0x34d4b9=_0x290753;return this[_0x34d4b9(0x138)];}get[_0x290753(0x23d)](){const _0x10846f=_0x290753;return this['_loadingState$'][_0x10846f(0x18a)];}};g=Es([V(0x0,_0x1490f7),V(0x1,_0x25b7dd),V(0x2,_0x4c54cc(_0x10d642)),V(0x3,_0x4c54cc(F))],g);function j({ref:_0x4ff1da,..._0x22bfec}){const _0x1f098a=_0x290753,{icon:_0x14268a,id:_0x3e950a,className:_0x415e84,extend:_0x533988,..._0xd4073e}=_0x22bfec,_0x4534e7=(_0x1f098a(0x1d4)+_0x3e950a+'\x20'+(_0x415e84||''))['trim'](),_0x1324f1=_0x2debc7('_'+gs());return Le(_0x14268a,''+_0x3e950a,{'defIds':_0x14268a[_0x1f098a(0x242)],'idSuffix':_0x1324f1['current']},{'ref':_0x4ff1da,'className':_0x4534e7,..._0xd4073e},_0x533988);}function Le(_0x26f264,_0x304666,_0x323953,_0x32216f,_0x50d515){const _0x93002=_0x290753;return _0x44f00c(_0x26f264['tag'],{'key':_0x304666,...ms(_0x26f264,_0x323953,_0x50d515),..._0x32216f},(fs(_0x26f264,_0x323953)['children']||[])[_0x93002(0x25a)]((_0x4c25d0,_0x5d53e3)=>Le(_0x4c25d0,_0x304666+'-'+_0x26f264['tag']+'-'+_0x5d53e3,_0x323953,void 0x0,_0x50d515)));}function ms(_0x7ad3d9,_0x21bd29,_0x278de1){const _0x375a5d=_0x290753,_0x27526e={..._0x7ad3d9[_0x375a5d(0x11f)]};_0x278de1!=null&&_0x278de1['colorChannel1']&&_0x27526e[_0x375a5d(0x11b)]===_0x375a5d(0xce)&&(_0x27526e['fill']=_0x278de1[_0x375a5d(0xce)]),_0x7ad3d9[_0x375a5d(0xd1)]===_0x375a5d(0xf6)&&_0x27526e['id']&&(_0x27526e['id']=_0x27526e['id']+_0x21bd29[_0x375a5d(0x18c)]),Object[_0x375a5d(0xfc)](_0x27526e)[_0x375a5d(0x184)](([_0x1239dd,_0x23ae84])=>{const _0x1b0635=_0x375a5d;_0x1239dd===_0x1b0635(0xf6)&&typeof _0x23ae84==_0x1b0635(0xa4)&&(_0x27526e[_0x1239dd]=_0x23ae84['replace'](/url\(#(.*)\)/,_0x1b0635(0x1ec)+_0x21bd29[_0x1b0635(0x18c)]+')'));});const {defIds:_0x88c9d7}=_0x21bd29;return!_0x88c9d7||_0x88c9d7['length']===0x0||(_0x7ad3d9[_0x375a5d(0xd1)]==='use'&&_0x27526e[_0x375a5d(0x161)]&&(_0x27526e[_0x375a5d(0x161)]=_0x27526e[_0x375a5d(0x161)]+_0x21bd29[_0x375a5d(0x18c)]),Object[_0x375a5d(0xfc)](_0x27526e)['forEach'](([_0x5c18b2,_0x28c08f])=>{const _0x416f4c=_0x375a5d;typeof _0x28c08f==_0x416f4c(0xa4)&&(_0x27526e[_0x5c18b2]=_0x28c08f['replace'](/url\(#(.*)\)/,_0x416f4c(0x1ec)+_0x21bd29[_0x416f4c(0x18c)]+')'));})),_0x27526e;}function fs(_0x495672,_0x4efae2){const _0x362a34=_0x290753;var _0x226c93;const {defIds:_0x4dc6c3}=_0x4efae2;return!_0x4dc6c3||_0x4dc6c3[_0x362a34(0x159)]===0x0?_0x495672:_0x495672[_0x362a34(0xd1)]===_0x362a34(0x182)&&((_0x226c93=_0x495672[_0x362a34(0x16d)])!=null&&_0x226c93[_0x362a34(0x159)])?{..._0x495672,'children':_0x495672['children'][_0x362a34(0x25a)](_0x5378e8=>typeof _0x5378e8[_0x362a34(0x11f)]['id']==_0x362a34(0xa4)&&_0x4dc6c3&&_0x4dc6c3[_0x362a34(0x16a)](_0x5378e8[_0x362a34(0x11f)]['id'])?{..._0x5378e8,'attrs':{..._0x5378e8[_0x362a34(0x11f)],'id':_0x5378e8[_0x362a34(0x11f)]['id']+_0x4efae2[_0x362a34(0x18c)]}}:_0x5378e8)}:_0x495672;}function gs(){const _0x4ad77b=_0x290753;return Math[_0x4ad77b(0x23b)]()[_0x4ad77b(0x230)](0x24)[_0x4ad77b(0xcb)](0x2,0x8);}j[_0x290753(0x1ea)]=_0x290753(0x15b);const ps={'tag':'svg','attrs':{'xmlns':_0x290753(0x1d9),'fill':_0x290753(0x104),'viewBox':'0\x200\x2016\x2016','width':_0x290753(0x154),'height':_0x290753(0x154)},'children':[{'tag':'path','attrs':{'fill':_0x290753(0x1ff),'d':'M6.42416\x204.42417C6.65847\x204.18985\x206.65847\x203.80995\x206.42416\x203.57564C6.18984\x203.34132\x205.80994\x203.34132\x205.57563\x203.57564L1.57564\x207.57564C1.34132\x207.80995\x201.34132\x208.18985\x201.57564\x208.42417L5.57563\x2012.4242C5.80994\x2012.6585\x206.18984\x2012.6585\x206.42416\x2012.4242C6.65847\x2012.1899\x206.65847\x2011.81\x206.42416\x2011.5756L3.44843\x208.5999H14C14.3314\x208.5999\x2014.6\x208.33127\x2014.6\x207.9999C14.6\x207.66853\x2014.3314\x207.3999\x2014\x207.3999H3.44843L6.42416\x204.42417Z'}}]},Ce=_0x4abe47(function(_0x3e9159,_0xa6ee92){return _0x44f00c(j,Object['assign']({},_0x3e9159,{'id':'back-icon','ref':_0xa6ee92,'icon':ps}));});Ce['displayName']=_0x290753(0x1cf);const Ns={'tag':_0x290753(0xd9),'attrs':{'xmlns':_0x290753(0x1d9),'fill':'none','viewBox':'0\x200\x2016\x2017','width':_0x290753(0x154),'height':_0x290753(0x154)},'children':[{'tag':'g','attrs':{'fill':'currentColor','clipPath':_0x290753(0x163)},'children':[{'tag':'path','attrs':{'d':_0x290753(0x212)}},{'tag':_0x290753(0x16e),'attrs':{'d':'M2.06678\x203.37926C2.0668\x201.94333\x203.23085\x200.779297\x204.66678\x200.779297H9.44256C10.1796\x200.779297\x2010.8821\x201.09213\x2011.3751\x201.63999L13.2659\x203.74079C13.6955\x204.21822\x2013.9333\x204.83779\x2013.9333\x205.4801V12.7126C13.9333\x2014.1486\x2012.7692\x2015.3126\x2011.3333\x2015.3126H4.66665C3.2307\x2015.3126\x202.06663\x2014.1486\x202.06665\x2012.7126L2.06678\x203.37926ZM4.66678\x201.9793C3.89359\x201.9793\x203.26679\x202.60609\x203.26678\x203.37928L3.26665\x2012.7126C3.26664\x2013.4858\x203.89344\x2014.1126\x204.66665\x2014.1126H11.3333C12.1065\x2014.1126\x2012.7333\x2013.4858\x2012.7333\x2012.7126V5.4801C12.7333\x205.44882\x2012.7322\x205.41764\x2012.7302\x205.3866H10.7985C9.91488\x205.3866\x209.19853\x204.67026\x209.19853\x203.78661V1.9793H4.66678ZM10.4832\x202.44275L12.0526\x204.1866H10.7985C10.5776\x204.1866\x2010.3985\x204.00752\x2010.3985\x203.78661V2.35649C10.4279\x202.38389\x2010.4561\x202.41266\x2010.4832\x202.44275Z','fillRule':_0x290753(0xf3),'clipRule':_0x290753(0xf3)}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x290753(0x1c4),'attrs':{'id':_0x290753(0x151)},'children':[{'tag':_0x290753(0x231),'attrs':{'width':0x10,'height':0x10,'y':0.05,'fill':_0x290753(0x12b),'rx':0x4}}]}]}],'defIds':[_0x290753(0x151)]},ye=_0x4abe47(function(_0x5901ba,_0x11be6e){const _0x183ab6=_0x290753;return _0x44f00c(j,Object['assign']({},_0x5901ba,{'id':_0x183ab6(0x19a),'ref':_0x11be6e,'icon':Ns}));});ye[_0x290753(0x1ea)]='RestoreIcon';const Os={'tag':'svg','attrs':{'xmlns':_0x290753(0x1d9),'fill':'none','viewBox':_0x290753(0x16c),'width':'1em','height':'1em'},'children':[{'tag':_0x290753(0x16e),'attrs':{'fill':'#0B9EFB','d':'M8.79993\x2014.0166C8.79993\x2014.4585\x208.44176\x2014.8166\x207.99993\x2014.8166C4.23529\x2014.8166\x201.18345\x2011.7648\x201.18345\x208.00017C1.18345\x204.23554\x204.23529\x201.18369\x207.99993\x201.1837C11.7646\x201.1837\x2014.8164\x204.23554\x2014.8164\x208.00017C14.8164\x208.442\x2014.4582\x208.80017\x2014.0164\x208.80017C13.5746\x208.80017\x2013.2164\x208.442\x2013.2164\x208.00017C13.2164\x205.11919\x2010.8809\x202.7837\x207.99993\x202.7837C5.11895\x202.7837\x202.78345\x205.11919\x202.78345\x208.00017C2.78345\x2010.8812\x205.11895\x2013.2166\x207.99993\x2013.2166C8.44176\x2013.2166\x208.79993\x2013.5748\x208.79993\x2014.0166Z','fillOpacity':0.2,'fillRule':_0x290753(0xf3),'clipRule':_0x290753(0xf3)}},{'tag':_0x290753(0x16e),'attrs':{'fill':_0x290753(0xd2),'d':_0x290753(0x246),'fillRule':'evenodd','clipRule':_0x290753(0xf3)}}]},oe=_0x4abe47(function(_0x52cd19,_0x4f971a){const _0x1b58c6=_0x290753;return _0x44f00c(j,Object[_0x1b58c6(0x229)]({},_0x52cd19,{'id':_0x1b58c6(0x1de),'ref':_0x4f971a,'icon':Os}));});function _0x521d(){const _0x18ce29=['subUnitId','url(#restore-icon_clip0_1247_2)','data','find','userId','Loaded','lastLabel','stopPropagation','includes','SNAPSHOT_INVALID_SNAPSHOT','0\x200\x2016\x2016','children','path','column','Exited','show','getCurrentVersion','23345fZXwsU','commands','onPointerMove$','disposeWithMe','_diffs','univer-m-auto\x20univer-animate-spin','_initPanel','UNDEFINED','APPLY_REJECT','_members','InsertHyperlink','fetchCreatorList','insertChart','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','MoveWorksheet','defs','unitId$','forEach','interceptor','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','26829hnHBpt','RecoverHistory','CURRENT_STATUS_CANNOT_OPERATE','value','getCurrentLocale','idSuffix','setFrozen','Comment','YUUMI_UNABLE_LOAD_URL','SetCellValue','defineProperty','_transformMutationByOrder','creators$','1293978dGlHao','_yieldToMain','Loading','rgba(58,\x2096,\x20247,\x200.20)','LICENSE_MAX_UNITS_EXCEEDED','endRev','restore-icon','revertSheet','editHistory.panel.title','createTime','getInterceptPoints','get','justifyContent','REDEMPTION_INVALID_CODE','next','deleteProtection','loadingState$','toISOString','History','filter','isArray','flex','FromArray','currentVersion$','rgba(225,\x20225,\x20225,\x200.5)','reduce','open','Unspecified','status$','getElementById','INVALID_INVITE_CODE','PivotTable','ENTITLE_NEED_BILLING_ADDRESS','_getAPIPrefix','_extractRanges','_configService','addProtection','blockMeta','_config','editHistory.panel.revertConfirmText','range','EMAIL_HAS_BEEN_BOUND','onMouseMove','UNIVER_UNKNOWN','entities','close','PY_RUNTIME_SCRIPT_ERROR','workbook','clipPath','creators','div','100%','has','APPLY_REVISION_CONFILICT','_permissionService','primary','command','Share','DeleteRow','BackIcon','APPLY_DUPLICATED','HEADER','_hasMore','PAYMENT_CHANNEL_NOT_SUPPORT','univerjs-icon\x20univerjs-icon-','univer-flex\x20univer-h-6\x20univer-w-full\x20univer-justify-between','status','CONNECTOR_DATA_TOO_LARGE','append','http://www.w3.org/2000/svg','_removeDiffMarks','subscribe','_loadingState$','ENTITLE_DUP_SUBSCRIPTION','loading-multi-icon','_localeService','ViewHistory','_lastPointer','transformMutations','getSeconds','parse','setConfig','cellValue','getRelativeToViewportCoord','52871JEnbXl','_renderManagerService','displayName','startColumn','url(#$1','revertRevision$','Duplicate','add','history-mask','editHistory.panel.currentUser','refreshRangeProtectPermission','editHistory.panel.confirm','USER_NOT_INVITED_CODE','INTERNAL_ERROR','merge','executeCommand','some','univer-flex\x20univer-items-center\x20univer-justify-center','getMember','_diffRangesMap','_snapshotServerService','top','REDEMPTION_CODE_HAS_BEEN_CREATED','currentColor','name','body','UNIVER_PROJECT','SelectProtectedCells','_commandService','subType','YUUMI_URL_COL_OUT_OF_RANGE','blocks','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','versions','COMPLETION_FINISHED','ENTITLE_REPORT_LIMIT_EXCEED','row','currentSkeleton$','ENSURE_SNAPSHOT_EXECUTION','pipe','CreateSheet','univer-flex\x20univer-h-12\x20univer-cursor-default\x20univer-items-center','M7.41252\x2010.6196C7.64683\x2010.3852\x207.64683\x2010.0053\x207.41252\x209.77103L6.77012\x209.12863H9.67836C9.89927\x209.12863\x2010.0784\x209.30772\x2010.0784\x209.52863V11.1953C10.0784\x2011.5267\x2010.347\x2011.7953\x2010.6784\x2011.7953C11.0097\x2011.7953\x2011.2784\x2011.5267\x2011.2784\x2011.1953V9.52863C11.2784\x208.64497\x2010.562\x207.92863\x209.67836\x207.92863H6.77012L7.41252\x207.28623C7.64683\x207.05191\x207.64683\x206.67201\x207.41252\x206.4377C7.1782\x206.20338\x206.79831\x206.20338\x206.56399\x206.4377L4.89732\x208.10437C4.66301\x208.33868\x204.66301\x208.71858\x204.89732\x208.95289L6.56399\x2010.6196C6.79831\x2010.8539\x207.1782\x2010.8539\x207.41252\x2010.6196Z','_univerInstanceService','getConfig','DeleteColumn','DeleteSheet','error','all','Init','endColumn','USER_NOT_FOUND','additionalFields','LICENSE_EXPORT_SIZE_EXCEEDED','_httpService','split','_componentManager','View','UNRECOGNIZED','removeSheet','LICENSE_DISTRO_REJECTED','loadMoreVersions','_loadParams','_getActiveSubUnitId','editHistory.panel.currentVersion','assign','fetchThroughInterceptors','getDialogs$','_versions$','univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-justify-center','_injector','UNIVER_SHEET','toString','rect','fetching','syncExecuteCommand','INVALID_ARGUMENT','MoveSheet','INVITE_CODE_ALREADY_BOUND','versions$','RenameWorksheet','dateString','createElement','random','sheet','loadingState','MOBILE_HAS_BEEN_BOUND','getCurrentUnitForType','getHours','recoverTime','defIds','entered','_sheetPermissionInitController','_currentVersionDiff$','M7.20007\x201.98384C7.20007\x201.54201\x207.55824\x201.18384\x208.00007\x201.18384C11.7647\x201.18384\x2014.8165\x204.23568\x2014.8165\x208.00032C14.8165\x2011.765\x2011.7647\x2014.8168\x208.00007\x2014.8168C4.23543\x2014.8168\x201.18359\x2011.765\x201.18359\x208.00032C1.18359\x207.55849\x201.54177\x207.20031\x201.98359\x207.20031C2.42542\x207.20031\x202.78359\x207.55849\x202.78359\x208.00032C2.78359\x2010.8813\x205.11909\x2013.2168\x208.00007\x2013.2168C10.8811\x2013.2168\x2013.2165\x2010.8813\x2013.2165\x208.00032C13.2165\x205.11933\x2010.8811\x202.78384\x208.00007\x202.78384C7.55824\x202.78384\x207.20007\x202.42567\x207.20007\x201.98384Z','LoadingMultiIcon','HideSheet','Export','YUUMI_NO_CUBOID_FOR_QUESTION','_revertRevision$','editHistory.info.loading','from','_cellEditorManagerService','getDataRange','_messageService','CreatePermissionObject','REDEMPTION_CODE_NOT_STARTED','_compressMutationService','Filter','keys','scrollEvent$','_init','Today','editHistory.panel.unknownUser','map','_setVersions','updatePermissionPoint','ENTITLE_CHAT_LIMIT_EXCEED','User','date','YUUMI_RATE_OVER_LIMIT','RenameSheet','_initRender','subscribeEvent','flat','SNAPSHOT_HAS_BEEN_REMOVED','sheetId','CreateWorksheet','ALREADY_EXISTS','DATA_SOURCE_TOO_LARGE','editHistory.action.revertSheetSuffix','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','style','zIndex','EditWorksheetCell','_confirmService','getUnitId','loaded','RwHgtClWdt','display','UNAUTHENTICATED','.univer-app-container-content','12ZaFeRT','querySelector','Copy','USER_IS_ANONYMOUS','CHANGESET_REVISION_CONFILICT','disposeUnit','currentVersion','string','_dialogOptions$','_status$','makeDirty','startRow','set','getVersion','params','center','dispose','permissionPointUpdate$','REDEMPTION_USER_REDEEM_TIMES_EXCEED','_lastLabel','SetRowStyle','HideWorksheet','APPLY_PERMISSION_DENIED','setCF','_workbookDataCache','editHistory.panel.revertDesc','rule','getCurrent','_getRangesByMutation','hideMask','addObjects','301888rOQitx','exited','univer-ml-2.5\x20univer-flex\x20univer-size-8\x20univer-cursor-pointer\x20univer-items-center\x20univer-justify-center\x20univer-rounded','showMask','YUUMI_CONNECTOR_URL_NOT_FOUND','_combineRanges','confirm','_fetching$','historyListServerUrl','_createMask','onSteady','EditExtraObject','bottom','getOwnPropertyDescriptor','univer-text-gray-500','substring','InsertColumn','mutations','colorChannel1','_historyContainerId','FloatImg','tag','#0B9EFB','_initMaskContainer','LICENSE_IMPORT_SIZE_EXCEEDED','ensureVersion','backgroundColor','AUTHORIZE_CODE_ILLEGAL','LOGIN_TOKEN_PROCESSING_FAILED','svg','canRevert','2480742BjFkqQ','56ILKeGO','editHistory.header.revert','_createUnit','1000','ManageCollaborator','SelectUnProtectedCells','endRevision','history-panel','_initActiveSwitch','_openPanel','code','state$','SetWorksheetStyle','padStart','height','_sheetSkeletonManagerService','ENTITLE_USE_COUPON_NOT_1ST_TRADE','APPLY_NON_SEQUENTIAL_REVISION','_historyFetchService','Print','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','now','DeleteWorksheet','evenodd','UNIVER_SLIDE','setDV','mask','historyPanelComponentKey','setFilter','univer-h-full\x20univer-space-y-2\x20univer-overflow-auto\x20univer-pb-4','loadSheet','Sort','entries','asObservable','YUUMI_TABLE_NOT_FOUND_IN_UNIT','rev','Edit','univer-text-2xl\x20dark:!univer-text-white','UNIVER_DOC','editHistory.panel.cancel','none','_currentVersion$','fetchMissingChangesets','absolute','EMAIL_VERIFY_CODE_MISMATCH','userID','edit-history-viewer.config','values','_versionDiffService','hasCommand','setState','endRow','span','84039onclEc','color','ViewFilter','_sidebarService','getUnitOnRev','univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','onStarting','push','_maskContainer','position','fill','ViemRwHgtClWdt','ranges','getVpScrollXYInfoByPosToVp','attrs','PERMISSION_DENIED','unitId','ENTITLE_COUPON_USED_UP','_transformService','/creators','YUUMI_ALL_TABLES_IS_INVALID','ENTITLE_CAN_NOT_BUY_LOWER_OTP','addSparkline','_unitId$','_context','createSheet','white','registerComponent','time','YUUMI_ASYNCIO_CANCELLED','_sidebarDisposable','2510kHavml','TOO_MANY_REQUESTS','currentVersionDiff$','symbol','/list?','ERROR_AGAIN','YUUMI_AI_RUN_FAILED','hidden','_canRevert','triggerRevert','anonymous','_setFetching','getAncestorScale','Character','focusUnit','SetColumnStyle','univer-animate-spin','_historyManagerService','CopySheet','action','YUUMI_SUBSCRIPTION_NOT_FOUND','Info','getVersions','loading','WECHAT_HAS_BEEN_BOUND','init','univer-flex\x20univer-size-6\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-text-gray-400\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-700','ENTITLE_INSUFFICIENT_QUOTA','ENTITLE_INVALID_COUPON_CODE','_updateDiffMarks','loadInitialVersions','_maskElement','10DIJlMP','restore-icon_clip0_1247_2','editHistory.action.revertSheetPrefix','REDEMPTION_USER_NOT_ELIGIBLE','1em','m1Prime','registerRenderModule','InsertRow','SetCellStyle','length','changesets','UniverIcon','_updateVersions','getCellPositionByOffset','then','ZH_CN','_creators$','xlink:href'];_0x521d=function(){return _0x18ce29;};return _0x521d();}oe[_0x290753(0x1ea)]=_0x290753(0x247);function Rs(){const _0x2cb44a=_0x290753;var _0x3d400c;const _0x1546d0=_0x2ca590(g),_0x4edc00=_0x2ca590(_0x10d642),_0x30ef0b=_0x4b9b2b(()=>{const _0x1d29a0=_0x390b;_0x1546d0['status']=ae[_0x1d29a0(0x170)];},[_0x1546d0]),_0x5f177e=_0x4b9b2b(()=>{_0x1546d0['triggerRevert']();},[_0x1546d0]),_0x5405e9=_0x1d6a70(_0x1546d0[_0x2cb44a(0x1ab)]),_0x334ec1=_0x1d6a70(_0x1546d0['versions$']),_0x195bb0=_0x5405e9===((_0x3d400c=_0x334ec1==null?void 0x0:_0x334ec1[0x0])==null?void 0x0:_0x3d400c['id']),_0x4e340e=_0x5405e9!==''&&!_0x195bb0&&_0x1546d0[_0x2cb44a(0xda)];return _0x537a7f(_0x2cb44a(0x1c6),{'className':_0x3181e5(_0x2cb44a(0x211),_0x4b739e),'children':[_0x594309('a',{'className':_0x2cb44a(0xbe),'role':'button','onClick':_0x30ef0b,'children':_0x594309(Ce,{'className':_0x2cb44a(0x101)})}),_0x594309(_0x2cb44a(0x1c6),{'className':_0x2cb44a(0x22d),'children':_0x4e340e&&_0x594309(_0x2d449e,{'variant':_0x2cb44a(0x1cb),'onClick':_0x5f177e,'children':_0x4edc00['t'](_0x2cb44a(0xdd))})})]});}var Ts=Object[_0x290753(0xc9)],Ds=(_0x53fe7d,_0x213e2f,_0x23942e,_0xec515f)=>{const _0x566adb=_0x290753;for(var _0x1524e5=_0xec515f>0x1?void 0x0:_0xec515f?Ts(_0x213e2f,_0x23942e):_0x213e2f,_0x438570=_0x53fe7d[_0x566adb(0x159)]-0x1,_0x2ddc08;_0x438570>=0x0;_0x438570--)(_0x2ddc08=_0x53fe7d[_0x438570])&&(_0x1524e5=_0x2ddc08(_0x1524e5)||_0x1524e5);return _0x1524e5;},M=(_0x1ecbb4,_0x4ec23f)=>(_0x541e6f,_0x1cbebe)=>_0x4ec23f(_0x541e6f,_0x1cbebe,_0x1ecbb4);let Y=class extends _0x35868e{constructor(_0x23860,_0x119a1c,_0x42599f,_0x288e9a,_0x5a87fa,_0x142766){const _0x48a85b=_0x290753;super(),this['_permissionService']=_0x23860,this['_uiPartsService']=_0x119a1c,this[_0x48a85b(0x250)]=_0x42599f,this['_localeService']=_0x288e9a,this[_0x48a85b(0x141)]=_0x5a87fa,this[_0x48a85b(0x22e)]=_0x142766,this[_0x48a85b(0x257)]();}[_0x290753(0x257)](){const _0x22f454=_0x290753;this['disposeWithMe'](this[_0x22f454(0x141)]['currentVersion$']['subscribe'](_0x1bf06f=>{const _0x45bd25=_0x22f454;_0x1bf06f&&this[_0x45bd25(0x141)]['triggerLoadSheet'](_0x1bf06f);})),this[_0x22f454(0x176)](this[_0x22f454(0x1ca)][_0x22f454(0xae)][_0x22f454(0x1db)](_0x198813=>{const _0x303dcb=_0x22f454,_0x186e8e=this['_historyManagerService']['unitId'];_0x186e8e&&(_0x198813['subType']===D['Edit']&&_0x198813[_0x303dcb(0x18a)]===!0x0&&this[_0x303dcb(0x1ca)][_0x303dcb(0x25c)](new _0x2a52a7(_0x186e8e)['id'],!0x1),_0x198813[_0x303dcb(0x205)]===D[_0x303dcb(0x261)]&&_0x198813[_0x303dcb(0x18a)]===!0x0&&this[_0x303dcb(0x1ca)][_0x303dcb(0x25c)](new _0x1f0798(_0x186e8e)['id'],!0x1),_0x198813['subType']===D[_0x303dcb(0x235)]&&_0x198813['value']===!0x0&&this[_0x303dcb(0x1ca)][_0x303dcb(0x25c)](new _0x87fa23(_0x186e8e)['id'],!0x1),_0x198813[_0x303dcb(0x205)]===D[_0x303dcb(0x248)]&&_0x198813['value']===!0x0&&this['_permissionService']['updatePermissionPoint'](new _0x37406e(_0x186e8e)['id'],!0x1),_0x198813[_0x303dcb(0x205)]===D[_0x303dcb(0x18e)]&&_0x198813['value']===!0x0&&this[_0x303dcb(0x1ca)][_0x303dcb(0x25c)](new _0x2a52a7(_0x186e8e)['id'],!0x1),_0x198813[_0x303dcb(0x205)]===D[_0x303dcb(0xd0)]&&_0x198813[_0x303dcb(0x18a)]===!0x0&&this['_permissionService'][_0x303dcb(0x25c)](new _0x2a52a7(_0x186e8e)['id'],!0x1));})),this[_0x22f454(0x176)](this['_uiPartsService'][_0x22f454(0x12c)](_0x5f2927[_0x22f454(0x1d1)],()=>_0x2f6703(Rs,this[_0x22f454(0x22e)])));let _0x376ded;this[_0x22f454(0x176)](this[_0x22f454(0x141)][_0x22f454(0x1a4)][_0x22f454(0x1db)](_0x40bc3a=>{const _0x46d325=_0x22f454;_0x376ded==null||_0x376ded['dispose'](),_0x40bc3a===C['Loading']&&(this[_0x46d325(0x141)][_0x46d325(0xbf)](),_0x376ded=this['_messageService']['show']({'type':_0x160707[_0x46d325(0x145)],'content':this['_localeService']['t'](_0x46d325(0x24c))})),_0x40bc3a===C['Loaded']&&this[_0x46d325(0x141)]['hideMask']();}));}};Y=Ds([M(0x0,_0x59bb72),M(0x1,_0x2ed545),M(0x2,_0x1490f7),M(0x3,_0x4c54cc(_0x10d642)),M(0x4,_0x4c54cc(g)),M(0x5,_0x4c54cc(_0x348f39))],Y);var Ms=Object[_0x290753(0xc9)],Ps=(_0x1919c9,_0x11a6f9,_0x1d23ed,_0x3b1882)=>{const _0x24efd7=_0x290753;for(var _0x58764d=_0x3b1882>0x1?void 0x0:_0x3b1882?Ms(_0x11a6f9,_0x1d23ed):_0x11a6f9,_0x429bc1=_0x1919c9[_0x24efd7(0x159)]-0x1,_0x142885;_0x429bc1>=0x0;_0x429bc1--)(_0x142885=_0x1919c9[_0x429bc1])&&(_0x58764d=_0x142885(_0x58764d)||_0x58764d);return _0x58764d;},Z=(_0xd5ac0,_0x21ba5c)=>(_0x29dc1e,_0x1591d4)=>_0x21ba5c(_0x29dc1e,_0x1591d4,_0xd5ac0);let $=class extends _0x35868e{constructor(_0x112787,_0x599b83,_0x1dfae2){const _0x3e9a7e=_0x290753;super(),l(this,_0x3e9a7e(0x1fb),new Map()),l(this,_0x3e9a7e(0x245),new _0x2bdfba({'ranges':new Map(),'active':null})),l(this,_0x3e9a7e(0x132),this['_currentVersionDiff$'][_0x3e9a7e(0xfd)]()),(this[_0x3e9a7e(0x141)]=_0x112787,this[_0x3e9a7e(0x123)]=_0x599b83,this[_0x3e9a7e(0x1fc)]=_0x1dfae2,this['_init']());}[_0x290753(0x257)](){const _0x25b7a8=_0x290753;this[_0x25b7a8(0x1fb)]=new Map(),this[_0x25b7a8(0x176)](this['_historyManagerService'][_0x25b7a8(0x183)][_0x25b7a8(0x1db)](_0x296823=>{const _0x24dc67=_0x25b7a8;_0x296823&&!this[_0x24dc67(0x1fb)][_0x24dc67(0x1c8)](_0x296823)&&this[_0x24dc67(0x1fb)][_0x24dc67(0xa9)](_0x296823,new Map());})),this[_0x25b7a8(0x176)](this[_0x25b7a8(0x141)][_0x25b7a8(0x1ab)][_0x25b7a8(0x1db)](async _0x1f23f6=>{const _0x232608=_0x25b7a8;var _0x326747;_0x1f23f6&&(await this['ensureVersion'](_0x1f23f6),this['_currentVersionDiff$'][_0x232608(0x1a2)](((_0x326747=this[_0x232608(0x1fb)]['get'](this[_0x232608(0x141)]['unitId']))==null?void 0x0:_0x326747[_0x232608(0x19f)](_0x1f23f6))||{'ranges':new Map(),'active':null}));}));}async[_0x290753(0xd5)](_0x908e05){const _0x51fb46=_0x290753;var _0x1c5ffc,_0x39acd8;const _0x3739f7=this[_0x51fb46(0x141)][_0x51fb46(0xaa)](_0x908e05),_0x5cc5fb=this[_0x51fb46(0x141)][_0x51fb46(0x121)];if(!_0x3739f7||!_0x5cc5fb)return;const _0x4bc46e=this[_0x51fb46(0x1fb)][_0x51fb46(0x19f)](_0x5cc5fb);if(_0x4bc46e||this[_0x51fb46(0x1fb)]['set'](_0x5cc5fb,new Map()),(_0x1c5ffc=this[_0x51fb46(0x1fb)][_0x51fb46(0x19f)](_0x5cc5fb))!=null&&_0x1c5ffc[_0x51fb46(0x1c8)](_0x3739f7['id']))return;const {startRev:_0x1b6c40,endRev:_0x319831}=_0x3739f7;if(_0x1b6c40===0x1){_0x4bc46e[_0x51fb46(0xa9)](_0x3739f7['id'],{'ranges':new Map(),'active':null});return;}const _0x42db80=_0x1b6c40-0x1,_0x49f85d=_0x319831,_0x4edbbb=await this[_0x51fb46(0x1fc)][_0x51fb46(0x106)]({},{'unitID':_0x5cc5fb,'from':_0x42db80,'to':_0x49f85d,'type':H[_0x51fb46(0x22f)]});if(((_0x39acd8=_0x4edbbb[_0x51fb46(0x217)])==null?void 0x0:_0x39acd8[_0x51fb46(0xe6)])===U['OK']){const _0x2b7d2a=_0x4edbbb[_0x51fb46(0x15a)]['map'](_0x2be863=>((_0x2be863['mutations']===null||_0x2be863[_0x51fb46(0xcd)]===void 0x0)&&(_0x2be863[_0x51fb46(0xcd)]=[]),_0x564e67(_0x2be863)))[_0x51fb46(0x25a)](_0x4928ec=>_0x4928ec[_0x51fb46(0xcd)][_0x51fb46(0x25a)](_0x56be0b=>({..._0x56be0b,'params':{..._0x56be0b[_0x51fb46(0xab)],'memberId':_0x4928ec[_0x51fb46(0x109)]}})))['flat'](),_0x36df1a=await this[_0x51fb46(0x192)](_0x2b7d2a),_0x2126db=this[_0x51fb46(0x227)](_0x2b7d2a),_0x4c0b72=this[_0x51fb46(0x1b6)](_0x36df1a);_0x4bc46e[_0x51fb46(0xa9)](_0x3739f7['id'],{'ranges':_0x4c0b72,'active':_0x2126db});}}async['_transformMutationByOrder'](_0x4832fc){const _0x13a291=_0x290753;let _0x2c2cf9=[];for(let _0x1839a2=0x0;_0x1839a2<_0x4832fc[_0x13a291(0x159)];_0x1839a2++){const _0x21ca02=_0x4832fc[_0x1839a2];if(_0x2c2cf9[_0x13a291(0x118)](_0x21ca02),_0x1839a2!==_0x4832fc[_0x13a291(0x159)]-0x1){const _0x189202=_0x4832fc[_0x1839a2+0x1],_0x256681=this['_transformService'][_0x13a291(0x1e2)](_0x2c2cf9,[_0x189202]);_0x500e72(_0x256681)?_0x2c2cf9=_0x256681[_0x13a291(0x155)]:_0x2c2cf9=[];}_0x1839a2%0xa===0x0&&_0x1839a2>0x0&&await this[_0x13a291(0x195)]();}return _0x2c2cf9;}[_0x290753(0x195)](){return new Promise(_0x35355c=>{typeof requestIdleCallback=='function'?requestIdleCallback(()=>_0x35355c(),{'timeout':0x64}):setTimeout(_0x35355c,0x0);});}[_0x290753(0x227)](_0x3b9f3b){const _0x2929da=_0x290753;let _0x4f9aae=[];return _0x3b9f3b[_0x2929da(0x184)](_0x22f593=>{const _0x249180=_0x2929da;if(_0x22f593['id']===_0x27675c['id']){const _0x3f3c0f=_0x22f593[_0x249180(0xab)];_0x4f9aae['push'](_0x3f3c0f[_0x249180(0x23c)]['id']);}else{if(_0x22f593['id']===_0x450aa9['id']){const _0x3dec8b=_0x22f593['params'];_0x4f9aae['length']>0x0&&(_0x4f9aae=_0x4f9aae['filter'](_0x3bc6ad=>_0x3bc6ad!==_0x3dec8b[_0x249180(0x162)]));}else{if(_0x22f593['id']===_0x3139ef['id']){const _0x53e6e2=_0x22f593['params'];_0x53e6e2[_0x249180(0x137)]?_0x4f9aae=_0x4f9aae[_0x249180(0x1a7)](_0x36e43e=>_0x36e43e!==_0x53e6e2['subUnitId']):_0x4f9aae[_0x249180(0x118)](_0x53e6e2[_0x249180(0x162)]);}else{const _0x50e2a2=_0x22f593['params'];_0x50e2a2[_0x249180(0x162)]&&_0x4f9aae[_0x249180(0x118)](_0x50e2a2[_0x249180(0x162)]);}}}}),_0x4f9aae['length']>0x0?_0x4f9aae[_0x4f9aae[_0x2929da(0x159)]-0x1]:null;}[_0x290753(0x1b6)](_0x5b25f9){const _0x482796=_0x290753,_0x737150=new Map();return _0x5b25f9[_0x482796(0x184)](_0x1a7f0a=>{const _0x8bb7e6=_0x482796;var _0xa099fd,_0x24c75d;const _0xad436c=(_0xa099fd=_0x1a7f0a[_0x8bb7e6(0xab)])==null?void 0x0:_0xa099fd['memberId'];if(_0xad436c){_0x737150[_0x8bb7e6(0x1c8)](_0xad436c)||_0x737150[_0x8bb7e6(0xa9)](_0xad436c,[]);const _0x199a3e=this[_0x8bb7e6(0xb9)](_0x1a7f0a);(_0x24c75d=_0x737150[_0x8bb7e6(0x19f)](_0xad436c))==null||_0x24c75d['push'](..._0x199a3e);}}),_0x737150[_0x482796(0x184)]((_0x2831f8,_0x29c64e)=>{const _0x446e0c=_0x482796;_0x737150[_0x446e0c(0xa9)](_0x29c64e,this[_0x446e0c(0xc1)](_0x2831f8));}),_0x737150;}[_0x290753(0xb9)](_0x3461fb){const _0x59f3c7=_0x290753;switch(_0x3461fb['id']){case _0x5964c5['id']:{const _0x30f5dc=_0x3461fb['params'];return _0x30f5dc['rules'][_0x59f3c7(0x25a)](_0x22c024=>_0x22c024[_0x59f3c7(0x11d)][_0x59f3c7(0x25a)](_0x1744c3=>({'range':_0x1744c3,'unitId':_0x30f5dc[_0x59f3c7(0x121)],'subUnitId':_0x30f5dc[_0x59f3c7(0x162)]})))[_0x59f3c7(0x264)]();}case _0x53175c['id']:{const _0x2dbf06=_0x3461fb[_0x59f3c7(0xab)];return _0x2dbf06['ranges']['map'](_0x314af6=>({'range':_0x314af6,'unitId':_0x2dbf06[_0x59f3c7(0x121)],'subUnitId':_0x2dbf06['subUnitId']}));}case _0x2b7351['id']:{const _0x3772ac=_0x3461fb[_0x59f3c7(0xab)];return[{'range':_0x3772ac[_0x59f3c7(0x1bc)],'unitId':_0x3772ac['unitId'],'subUnitId':_0x3772ac[_0x59f3c7(0x162)]}];}case _0x58fe0d['id']:{const _0x106a62=_0x3461fb[_0x59f3c7(0xab)];return[{'range':_0x106a62[_0x59f3c7(0x1bc)],'unitId':_0x106a62[_0x59f3c7(0x121)],'subUnitId':_0x106a62['subUnitId']}];}case _0x528329['id']:{const _0x5cce65=_0x3461fb[_0x59f3c7(0xab)],{from:_0x387bd1,to:_0x31867d,unitId:_0x437b7e}=_0x5cce65;return[{'range':Ie(_0x387bd1['value']),'unitId':_0x437b7e,'subUnitId':_0x387bd1[_0x59f3c7(0x162)]},{'range':Ie(_0x31867d['value']),'unitId':_0x437b7e,'subUnitId':_0x31867d['subUnitId']}];}case _0x292b6b['id']:{const _0x23fe0a=_0x3461fb[_0x59f3c7(0xab)],{unitId:_0x7f237c,subUnitId:_0x294301,sourceRange:_0x55cedd,targetRange:_0x4f6450}=_0x23fe0a,_0x4e71a3=_0x55cedd[_0x59f3c7(0x10f)]-_0x55cedd['startRow']+0x1;return[{'range':_0x4f6450['startRow']<=_0x55cedd[_0x59f3c7(0xa8)]?_0x4f6450:{..._0x4f6450,'startRow':_0x4f6450['startRow']-_0x4e71a3,'endRow':_0x4f6450[_0x59f3c7(0x10f)]-_0x4e71a3},'unitId':_0x7f237c,'subUnitId':_0x294301}];}case _0x5f1629['id']:{const _0x4112fc=_0x3461fb[_0x59f3c7(0xab)],{unitId:_0x269fb4,subUnitId:_0x1b1cdf,sourceRange:_0x4cf02f,targetRange:_0x4d87fa}=_0x4112fc,_0x242fd7=_0x4cf02f[_0x59f3c7(0x21a)]-_0x4cf02f[_0x59f3c7(0x1eb)]+0x1;return[{'range':_0x4d87fa[_0x59f3c7(0x1eb)]<=_0x4cf02f['startColumn']?_0x4d87fa:{..._0x4d87fa,'startColumn':_0x4d87fa[_0x59f3c7(0x1eb)]-_0x242fd7,'endColumn':_0x4d87fa[_0x59f3c7(0x21a)]-_0x242fd7},'unitId':_0x269fb4,'subUnitId':_0x1b1cdf}];}case _0x9d7215['id']:{const _0x2daaee=_0x3461fb[_0x59f3c7(0xab)],{values:_0x8faf95,unitId:_0x4c4621,subUnitId:_0x46d207}=_0x2daaee;return Object[_0x59f3c7(0x10b)](_0x8faf95)[_0x59f3c7(0x25a)](_0x25bb7b=>_0x25bb7b['ranges'][_0x59f3c7(0x25a)](_0x2bea05=>({'range':_0x2bea05,'unitId':_0x4c4621,'subUnitId':_0x46d207})))['flat']();}case _0x20c265['id']:{const _0x46c51c=_0x3461fb[_0x59f3c7(0xab)],{ranges:_0x21aa66,unitId:_0x4ecab5,subUnitId:_0x312bf3}=_0x46c51c;return _0x21aa66[_0x59f3c7(0x25a)](_0x2f8af1=>({'range':_0x2f8af1,'unitId':_0x4ecab5,'subUnitId':_0x312bf3}));}case _0xdbb4bd['id']:{const _0x1769dc=_0x3461fb[_0x59f3c7(0xab)],{unitId:_0x37c50c,subUnitId:_0x4f95f4,range:_0x3c6d33}=_0x1769dc;return[{'range':_0x3c6d33,'unitId':_0x37c50c,'subUnitId':_0x4f95f4}];}case _0x32c58e['id']:{const _0x107916=_0x3461fb[_0x59f3c7(0xab)];return _0x107916[_0x59f3c7(0xb7)]['ranges'][_0x59f3c7(0x25a)](_0x42f596=>({'range':_0x42f596,'unitId':_0x107916[_0x59f3c7(0x121)],'subUnitId':_0x107916[_0x59f3c7(0x162)]}));}case _0x58b684['id']:{const _0x47eb16=_0x3461fb['params'];return _0x47eb16[_0x59f3c7(0x1e6)]?bs(_0x47eb16[_0x59f3c7(0x1e6)])[_0x59f3c7(0x25a)](_0x35c836=>({'range':_0x35c836,'unitId':_0x47eb16[_0x59f3c7(0x121)],'subUnitId':_0x47eb16['subUnitId']})):[];}case _0x583ab5['id']:{const _0x493075=_0x3461fb[_0x59f3c7(0xab)];return[{'range':_0x493075[_0x59f3c7(0x1bc)],'unitId':_0x493075[_0x59f3c7(0x121)],'subUnitId':_0x493075[_0x59f3c7(0x162)]}];}case _0x27ff50['id']:{const _0x163849=_0x3461fb[_0x59f3c7(0xab)];return(Array[_0x59f3c7(0x1a8)](_0x163849[_0x59f3c7(0xb7)])?_0x163849[_0x59f3c7(0xb7)]:[_0x163849['rule']])['map'](_0x36c32f=>_0x36c32f[_0x59f3c7(0x11d)][_0x59f3c7(0x25a)](_0x429ffb=>({'range':_0x429ffb,'unitId':_0x163849['unitId'],'subUnitId':_0x163849[_0x59f3c7(0x162)]})))[_0x59f3c7(0x264)]();}case _0x2848fa['id']:{const _0x4cf08e=_0x3461fb[_0x59f3c7(0xab)];return _0x4cf08e['rule']['ranges'][_0x59f3c7(0x25a)](_0x49f983=>({'range':_0x49f983,'unitId':_0x4cf08e[_0x59f3c7(0x121)],'subUnitId':_0x4cf08e[_0x59f3c7(0x162)]}));}default:return[];}}['_combineRanges'](_0x2743df){const _0x3e7bd2=_0x290753;if(_0x2743df[_0x3e7bd2(0x159)]<=0x1)return _0x2743df;const _0x296b04=new Map();return _0x2743df['forEach'](_0x297409=>{const _0x166595=_0x3e7bd2;var _0x19b1dd;const {unitId:_0x4486e6,subUnitId:_0x280816}=_0x297409,_0x3cf2c0=_0x4486e6+'-'+_0x280816;_0x296b04['has'](_0x3cf2c0)?(_0x19b1dd=_0x296b04[_0x166595(0x19f)](_0x3cf2c0))==null||_0x19b1dd[_0x166595(0x118)](_0x297409):_0x296b04[_0x166595(0xa9)](_0x3cf2c0,[_0x297409]);}),Array['from'](_0x296b04['values']())[_0x3e7bd2(0x25a)](_0x15cb05=>new _0xc8268()[_0x3e7bd2(0x1ef)](..._0x15cb05[_0x3e7bd2(0x25a)](_0x554413=>_0x554413[_0x3e7bd2(0x1bc)]))[_0x3e7bd2(0x1f6)]()['map'](_0x1710d5=>({'range':_0x1710d5,'unitId':_0x15cb05[0x0][_0x3e7bd2(0x121)],'subUnitId':_0x15cb05[0x0][_0x3e7bd2(0x162)]})))[_0x3e7bd2(0x264)]();}};$=Ps([Z(0x0,_0x4c54cc(g)),Z(0x1,_0x17249d),Z(0x2,_0x22ee9f)],$);function Ie(_0x253078){const _0x1c4ede=_0x290753;return new _0xfe14ea(_0x253078)[_0x1c4ede(0x24f)]();}function bs(_0x367930){const _0x268d38=new _0xfe14ea(_0x367930),_0x3ed0d4=new _0xfe14ea();return _0x268d38['forValue']((_0x4c16b8,_0x5d39b8)=>{_0x3ed0d4['setValue'](_0x4c16b8,_0x5d39b8,0x1);}),_0x1f67ed(_0x3ed0d4);}var Ls=Object['getOwnPropertyDescriptor'],Cs=(_0x320c2,_0x76ff38,_0x3716ae,_0x50f414)=>{for(var _0x3404ad=_0x50f414>0x1?void 0x0:_0x50f414?Ls(_0x76ff38,_0x3716ae):_0x76ff38,_0x5df231=_0x320c2['length']-0x1,_0x2b993a;_0x5df231>=0x0;_0x5df231--)(_0x2b993a=_0x320c2[_0x5df231])&&(_0x3404ad=_0x2b993a(_0x3404ad)||_0x3404ad);return _0x3404ad;},P=(_0x2b5aa2,_0x2d393e)=>(_0x4b57b0,_0x3bee28)=>_0x2d393e(_0x4b57b0,_0x3bee28,_0x2b5aa2);let q=class extends _0x35868e{constructor(_0x5f4003,_0x53efd5,_0x4a3fa0,_0x1128b1,_0x25a6ff,_0x404989,_0x1fb978){const _0xe6dd20=_0x290753;super(),l(this,_0xe6dd20(0x177),new Set()),l(this,_0xe6dd20(0x1e1),null),(this[_0xe6dd20(0x129)]=_0x5f4003,this[_0xe6dd20(0x141)]=_0x53efd5,this[_0xe6dd20(0x10c)]=_0x4a3fa0,this[_0xe6dd20(0x213)]=_0x1128b1,this[_0xe6dd20(0x1e9)]=_0x25a6ff,this[_0xe6dd20(0xeb)]=_0x404989,this[_0xe6dd20(0x204)]=_0x1fb978,this[_0xe6dd20(0x257)]());}[_0x290753(0x257)](){const _0x2e62b8=_0x290753;this[_0x2e62b8(0x262)](),this[_0x2e62b8(0xe4)]();}[_0x290753(0x262)](){const _0x419eca=_0x290753;this[_0x419eca(0x176)](_0x29812c([this[_0x419eca(0x141)]['loadingState$'],this['_sheetSkeletonManagerService'][_0x419eca(0x20d)]])[_0x419eca(0x20f)](_0x33db3e(([_0x4b572a,_0x19769a])=>{const _0x48daea=_0x419eca;if(_0x4b572a===C['Loaded']&&_0x19769a){const _0x4e3376=_0x19769a[_0x48daea(0x266)];return this[_0x48daea(0x10c)]['currentVersionDiff$'][_0x48daea(0x20f)](_0x47c740(_0x959517=>{const _0x465d88=_0x48daea,_0x2d1f51=new Map();return _0x959517['ranges'][_0x465d88(0x184)]((_0x54556d,_0x32250b)=>{const _0x585dde=_0x465d88,_0x1c1192=_0x54556d[_0x585dde(0x1a7)](_0x2c0347=>_0x2c0347[_0x585dde(0x162)]===_0x4e3376);_0x2d1f51[_0x585dde(0xa9)](_0x32250b,_0x1c1192);}),{'skeleton':_0x19769a,'diffs':_0x2d1f51};}));}return _0x14d9bf({'skeleton':null,'diffs':new Map()});}))[_0x419eca(0x1db)](({skeleton:_0x5358e5,diffs:_0x52e03c})=>{const _0x25eacb=_0x419eca;this[_0x25eacb(0x1da)](),_0x5358e5&&this[_0x25eacb(0x14d)](_0x5358e5,_0x52e03c);})),this[_0x419eca(0x176)](this[_0x419eca(0xeb)][_0x419eca(0x20d)]['subscribe'](_0x416f57=>{const _0x146a98=_0x419eca;if(_0x416f57==null)return;const {skeleton:_0x59becd}=_0x416f57,{scene:_0x513c5e}=this['_context'];_0x513c5e[_0x146a98(0x175)][_0x146a98(0x263)](_0xfb135a(_0x3b6c7e=>{const _0x3e1c05=_0x146a98;var _0xf978d2,_0x1a6673;const {offsetX:_0xf89361,offsetY:_0x553b5a}=_0x3b6c7e,{x:_0x372bb7,y:_0x3859c3}=_0x513c5e[_0x3e1c05(0x1e7)](_0x4850cb[_0x3e1c05(0x1aa)]([_0xf89361,_0x553b5a])),{scaleX:_0x55ef44,scaleY:_0x18ce40}=_0x513c5e[_0x3e1c05(0x13c)](),_0x9e3742=_0x513c5e['getViewport'](_0xf1cd5c['VIEW_MAIN']),_0x1c69f=_0x513c5e[_0x3e1c05(0x11e)](_0x4850cb[_0x3e1c05(0x1aa)]([_0x372bb7,_0x3859c3]),_0x9e3742),_0x4eb7aa=_0x59becd[_0x3e1c05(0x15d)](_0xf89361,_0x553b5a,_0x55ef44,_0x18ce40,_0x1c69f);((_0xf978d2=this[_0x3e1c05(0x1e1)])==null?void 0x0:_0xf978d2[_0x3e1c05(0x16f)])===_0x4eb7aa[_0x3e1c05(0x16f)]&&((_0x1a6673=this[_0x3e1c05(0x1e1)])==null?void 0x0:_0x1a6673[_0x3e1c05(0x20c)])===_0x4eb7aa['row']||this[_0x3e1c05(0x177)]['forEach'](_0x1a3af9=>{const _0x3b0336=_0x3e1c05;_0x1a3af9[_0x3b0336(0x1be)](_0x4eb7aa);});},0x64));}));}[_0x290753(0xe4)](){const _0x1ccdf8=_0x290753;this[_0x1ccdf8(0x176)](this['_historyManagerService']['loadingState$']['subscribe'](_0x5b865c=>{const _0x4492c2=_0x1ccdf8,_0x523aed=new _0x20a6fc();return _0x5b865c===C[_0x4492c2(0x167)]&&(_0x523aed['dispose'](),_0x523aed[_0x4492c2(0x1ef)](this[_0x4492c2(0x10c)][_0x4492c2(0x132)][_0x4492c2(0x1db)](_0x36b322=>{const _0x5953ec=_0x4492c2;_0x36b322['active']&&this[_0x5953ec(0x204)][_0x5953ec(0x1f7)](_0x460b28['id'],{'unitId':this['_context'][_0x5953ec(0x121)],'subUnitId':_0x36b322['active']});}))),()=>_0x523aed['dispose']();}));}[_0x290753(0x14d)](_0x4d982b,_0x1ab809){const _0x3c1115=_0x290753;var _0x4e0f62;const _0x46176e=(_0x4e0f62=this[_0x3c1115(0xeb)][_0x3c1115(0xb8)]())==null?void 0x0:_0x4e0f62['skeleton'];if(!_0x46176e)return;this[_0x3c1115(0x177)][_0x3c1115(0x184)](_0x438e2c=>{const _0x33d299=_0x3c1115;_0x438e2c[_0x33d299(0xa7)]();});const {scene:_0x52f183}=this[_0x3c1115(0x129)],_0x1148c5=Array[_0x3c1115(0x24d)](_0x1ab809[_0x3c1115(0x255)]())[_0x3c1115(0x25a)](_0x8eaecf=>_0x1ab809['get'](_0x8eaecf)[_0x3c1115(0x25a)](_0x32889a=>{const _0x38f136=_0x3c1115;var _0x382e91;const {range:_0x7866c1,subUnitId:_0x4ab77d,unitId:_0x5b625b}=_0x32889a,{startColumn:_0x1ff596,startRow:_0xf5790d,endColumn:_0xe37f70,endRow:_0x35c8df}=_0x7866c1,_0x11125e=_0x258ccc(_0xf5790d,_0x1ff596,_0x52f183,_0x46176e),_0x35d93a=_0x258ccc(_0x35c8df,_0xe37f70,_0x52f183,_0x46176e),{columnHeaderHeightAndMarginTop:_0x4ef2f8}=_0x46176e,{startX:_0x51d34a,startY:_0x1474f8}=_0x11125e,{endX:_0x526f59,endY:_0x5d4a6e}=_0x35d93a,_0x3d4cbc=_0x526f59-_0x51d34a,_0x21aa29=_0x5d4a6e-_0x1474f8,_0x1d9aea={'labelPosition':_0x1474f8-_0x4ef2f8>=0x14?_0x38f136(0x1fd):_0x38f136(0xc8),'sheetID':_0x4ab77d,'range':_0x7866c1,'color':_0x38f136(0x197),'fillAfterStrokeEnabled':!0x0,'backgroundColor':_0x38f136(0x197),'name':((_0x382e91=this[_0x38f136(0x141)]['getMember'](_0x8eaecf))==null?void 0x0:_0x382e91[_0x38f136(0x200)])||'','selection':_0x5b625b+'-'+_0x4ab77d+'-'+_0x7866c1[_0x38f136(0x1eb)]+'-'+_0x7866c1[_0x38f136(0xa8)]+'-'+_0x7866c1['endColumn']+'-'+_0x7866c1[_0x38f136(0x10f)],'left':_0x51d34a,'top':_0x1474f8,'width':_0x3d4cbc,'height':_0x21aa29,'evented':!0x1,'zIndex':0x1};return new _0x2c7c95('',_0x1d9aea);}))[_0x3c1115(0x264)]();_0x52f183[_0x3c1115(0xbb)](_0x1148c5,0x1),this[_0x3c1115(0x177)]=new Set(_0x1148c5);}['_removeDiffMarks'](){const _0x512251=_0x290753;var _0x2162b9;(_0x2162b9=this['_diffs'])==null||_0x2162b9['forEach'](_0x3e4e92=>_0x3e4e92[_0x512251(0xad)]());}['_getSheetObject'](){return _0x130ee6(this['_univerInstanceService'],this['_renderManagerService']);}};q=Cs([P(0x1,_0x4c54cc(g)),P(0x2,_0x4c54cc($)),P(0x3,_0xd02aab),P(0x4,_0x1973fc),P(0x5,_0x4c54cc(_0x175f7d)),P(0x6,_0x2b2824)],q);function ys(){const _0x2963c4=_0x290753,_0x149e70=_0x2ca590(g),_0x24232f=_0x1d6a70(_0x149e70[_0x2963c4(0x237)]),[_0x257645,_0x77fc33]=_0x2579ff(!0x1),_0x472496=_s(_0x24232f);return _0x24232f?_0x594309(_0x2963c4(0x1c6),{'className':'univer-overflow-hidden','children':_0x537a7f(_0x2963c4(0x1c6),{'className':_0x2963c4(0xf9),'children':[_0x472496[_0x2963c4(0x25a)]((_0x1f90ad,_0x4155cb)=>_0x537a7f(_0x1968ff,{'children':[_0x594309($s,{'date':_0x1f90ad[_0x2963c4(0x239)]}),_0x1f90ad[_0x2963c4(0x209)][_0x2963c4(0x25a)]((_0x397738,_0x5183f4)=>_0x594309(Vs,{'index':[_0x4155cb,_0x5183f4],'item':_0x397738},_0x4155cb+'-'+_0x5183f4))]},_0x1f90ad[_0x2963c4(0x239)])),_0x257645&&_0x594309(ws,{})]})}):_0x594309(Us,{});}function ws(){const _0x4cc6ee=_0x290753;return _0x594309('div',{'className':'univer-flex\x20univer-h-7\x20univer-w-full\x20univer-items-center\x20univer-justify-center','children':_0x594309(oe,{'className':_0x4cc6ee(0x140)})});}function Us(){const _0x53ee15=_0x290753;return _0x594309('div',{'className':_0x53ee15(0x1f9),'children':_0x594309('span',{'className':_0x53ee15(0xca),'children':_0x594309(oe,{'className':_0x53ee15(0x178)})})});}function $s(_0x40154c){const _0x2ab0e8=_0x290753,_0xdf2d27=_0x2ca590(_0x10d642),{date:_0x13eecf}=_0x40154c;return _0x594309('div',{'className':'univer-flex\x20univer-items-center\x20univer-gap-2.5\x20univer-py-1.5\x20univer-text-sm\x20univer-font-medium','children':J(_0x13eecf,_0xdf2d27[_0x2ab0e8(0x18b)]())});}function Vs(_0x5d9ef1){const _0x569f21=_0x290753,{item:_0x23b11e,index:_0x54d2eb}=_0x5d9ef1,{time:_0x4d04c0,user:_0x53bdbe}=_0x23b11e,[_0x53e2ba,_0x12cc97]=_0x54d2eb,_0x5af88c=_0x2ca590(g),_0xc6216c=_0x1d6a70(_0x5af88c[_0x569f21(0x1ab)],'',!0x0)===_0x23b11e['id'],_0x5023ed=_0x53e2ba===0x0&&_0x12cc97===0x0,_0x3dd8b8=!_0x5023ed&&_0x5af88c[_0x569f21(0xda)],_0x28f60b=_0x2ca590(_0x10d642),_0x13d048=_0x28f60b[_0x569f21(0x18b)](),_0x1fbcdd=re(_0x4d04c0,_0x13d048),_0x43a537=_0x28f60b['t'](_0x569f21(0x228)),_0x42151a=_0x4b9b2b(_0x528a84=>{const _0x4fed8d=_0x569f21;_0x5af88c[_0x4fed8d(0x23d)]!==C[_0x4fed8d(0x196)]&&(_0x5af88c[_0x4fed8d(0xa3)]=_0x528a84);},[_0x5af88c]),_0x27de6c=_0x4b9b2b(_0x418df3=>{const _0x4270d6=_0x569f21;_0x5af88c[_0x4270d6(0x139)](_0x418df3);},[_0x5af88c]);return _0x537a7f(_0x569f21(0x1c6),{'className':_0x3181e5('univer-h-15\x20univer-flex\x20univer-cursor-pointer\x20univer-flex-col\x20univer-justify-center\x20univer-gap-1\x20univer-rounded-md\x20univer-px-4\x20univer-py-1.5\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-800',{'univer-bg-gray-50\x20dark:!univer-bg-gray-900':_0xc6216c}),'onClick':()=>_0x42151a(_0x23b11e['id']),'children':[_0x537a7f(_0x569f21(0x1c6),{'className':_0x569f21(0x1d5),'children':[_0x537a7f('div',{'className':_0x569f21(0x116),'children':[_0x594309(_0x569f21(0x110),{'children':_0x1fbcdd['time']}),_0x5023ed&&_0x594309(_0x569f21(0x110),{'className':'univer-ml-2\x20univer-flex\x20univer-h-5\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-border\x20univer-border-primary-600\x20univer-bg-primary-50\x20univer-px-1.5\x20univer-text-xs\x20univer-text-primary-600','children':_0x43a537})]}),_0x594309(_0x569f21(0x1c6),{'children':_0x3dd8b8&&_0x594309(_0x4c2fa6,{'title':_0x28f60b['t'](_0x569f21(0xb6)),'children':_0x594309(_0x569f21(0x1c6),{'onClick':_0x1a86f3=>{const _0x32abdb=_0x569f21;_0x1a86f3[_0x32abdb(0x169)](),_0x27de6c(_0x23b11e['id']);},'className':_0x569f21(0x14a),'children':_0x594309(ye,{})})})})]}),_0x594309(_0x569f21(0x1c6),{'className':'univer-text-sm\x20univer-leading-5\x20univer-text-gray-500\x20dark:!univer-text-gray-300','children':os(_0x23b11e,_0x28f60b)})]});}var ks=Object[_0x290753(0xc9)],xs=(_0x2aab3f,_0x11bf7e,_0x46fc63,_0x152f2b)=>{for(var _0x425d3f=_0x152f2b>0x1?void 0x0:_0x152f2b?ks(_0x11bf7e,_0x46fc63):_0x11bf7e,_0x13f0f2=_0x2aab3f['length']-0x1,_0x98c493;_0x13f0f2>=0x0;_0x13f0f2--)(_0x98c493=_0x2aab3f[_0x13f0f2])&&(_0x425d3f=_0x98c493(_0x425d3f)||_0x425d3f);return _0x425d3f;},w=(_0x7c8758,_0xe5c71e)=>(_0x262234,_0x15670f)=>_0xe5c71e(_0x262234,_0x15670f,_0x7c8758);const de=_0x290753(0xe3);let B=class extends _0x35868e{constructor(_0x36e166,_0x6f1c68,_0x1f6524,_0x385e38,_0x44c1a8){const _0xa91516=_0x290753;super(),l(this,_0xa91516(0x12f),null),(this['_sidebarService']=_0x36e166,this[_0xa91516(0x220)]=_0x6f1c68,this['_localeService']=_0x1f6524,this['_historyManagerService']=_0x385e38,this[_0xa91516(0x1b7)]=_0x44c1a8,this['_init']());}['_init'](){const _0x186a46=_0x290753;this[_0x186a46(0x179)](),this[_0x186a46(0xe5)]();}[_0x290753(0xe5)](){const _0x589fbf=_0x290753;var _0x5221d4;if(this[_0x589fbf(0x12f)])return;const _0x29057e=((_0x5221d4=this[_0x589fbf(0x1b7)][_0x589fbf(0x214)](ne))==null?void 0x0:_0x5221d4[_0x589fbf(0xf7)])||de,_0x5ab608={'header':{'title':this[_0x589fbf(0x1df)]['t'](_0x589fbf(0x19c))},'children':{'label':_0x29057e},'onClose':()=>{const _0x1f295d=_0x589fbf;this['_sidebarDisposable']=null,this[_0x1f295d(0x141)]['status']=ae['Exited'];}};this[_0x589fbf(0x12f)]=this[_0x589fbf(0x114)][_0x589fbf(0x1ae)]({..._0x5ab608});}['_initPanel'](){const _0x19037f=_0x290753;this['disposeWithMe'](this[_0x19037f(0x220)]['register'](de,ys)),this['disposeWithMe'](this[_0x19037f(0x114)][_0x19037f(0x256)]['pipe'](_0x2ec446(0x64))[_0x19037f(0x1db)](_0x1e6e0f=>{const _0x4b0612=_0x19037f,{target:_0x238673}=_0x1e6e0f||{};if(_0x238673){const {scrollTop:_0x4ec8a1,scrollHeight:_0x4b4b70,clientHeight:_0x184d88}=_0x238673;_0x4ec8a1+_0x184d88>=_0x4b4b70-0x5&&this[_0x4b0612(0x141)][_0x4b0612(0x225)]();}}));}};B=xs([w(0x0,_0x4cf334),w(0x1,_0x4c54cc(_0x4317ab)),w(0x2,_0x4c54cc(_0x10d642)),w(0x3,_0x4c54cc(g)),w(0x4,_0x5b916a)],B);class As extends _0x35868e{constructor(){super(),l(this,'_dialogOptions$',new _0x2e74c8());}[_0x290753(0x1ae)](){return _0x42107b(()=>{});}[_0x290753(0x1c1)](){}['closeAll'](_0x18dd55){}[_0x290753(0x22b)](){const _0x1e2078=_0x290753;return this[_0x1e2078(0xa5)]['asObservable']();}}var Hs=Object[_0x290753(0x191)],Fs=Object[_0x290753(0xc9)],Ys=(_0x2362aa,_0x1c68c8,_0x5b3efe)=>_0x1c68c8 in _0x2362aa?Hs(_0x2362aa,_0x1c68c8,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5b3efe}):_0x2362aa[_0x1c68c8]=_0x5b3efe,Bs=(_0xabd87d,_0x294ad3,_0x16605a,_0x46a4ba)=>{for(var _0x3f06d9=_0x46a4ba>0x1?void 0x0:_0x46a4ba?Fs(_0x294ad3,_0x16605a):_0x294ad3,_0x3695a8=_0xabd87d['length']-0x1,_0x3b7c3d;_0x3695a8>=0x0;_0x3695a8--)(_0x3b7c3d=_0xabd87d[_0x3695a8])&&(_0x3f06d9=_0x3b7c3d(_0x3f06d9)||_0x3f06d9);return _0x3f06d9;},K=(_0x1100c1,_0x20e263)=>(_0x457a7d,_0xacf8db)=>_0x20e263(_0x457a7d,_0xacf8db,_0x1100c1),Ws=(_0x3078cd,_0x212551,_0x2fa744)=>Ys(_0x3078cd,_0x212551+'',_0x2fa744);const js='UNIVER_EDIT_HISTORY_VIEWER_PLUGIN';let ee=class extends _0x25e0d1{constructor(_0x37ba4a=he,_0x38cd74,_0x4ee3b9,_0x2f3832){const _0x275858=_0x290753;super(),this['_config']=_0x37ba4a,this['_injector']=_0x38cd74,this[_0x275858(0x1e9)]=_0x4ee3b9,this[_0x275858(0x1b7)]=_0x2f3832;const {..._0x5ed5fd}=_0x95c1a6({},he,this[_0x275858(0x1ba)]);this[_0x275858(0x1b7)][_0x275858(0x1e5)](ne,_0x5ed5fd);}[_0x290753(0x117)](){const _0x5787b1=_0x290753;[[g],[Y],[$],[F],[B],[A],[_0x22ee9f,{'useClass':_0x88c80b}],[_0x4b370b,{'useClass':As}],[_0x3b7993,{'useClass':_0x3572a7}]]['forEach'](_0x400ae8=>this[_0x5787b1(0x22e)][_0x5787b1(0x1ef)](_0x400ae8)),this[_0x5787b1(0x22e)][_0x5787b1(0x19f)](Y);}['onRendered'](){const _0x28eab8=_0x290753;[[q]][_0x28eab8(0x184)](_0x2dfa79=>{const _0x4d98=_0x28eab8;this[_0x4d98(0x176)](this[_0x4d98(0x1e9)][_0x4d98(0x156)](_0x3d9262[_0x4d98(0x22f)],_0x2dfa79));}),this[_0x28eab8(0x22e)][_0x28eab8(0x19f)](A),this[_0x28eab8(0x22e)][_0x28eab8(0x19f)](B);}[_0x290753(0xc6)](){this['_injector']['get']($);}};Ws(ee,'pluginName',js),ee=Bs([_0x208f08(_0x33baf7,_0xd994f7),K(0x1,_0x4c54cc(_0x348f39)),K(0x2,_0x1973fc),K(0x3,_0x5b916a)],ee);export{g as HistoryManagerService,ae as HistoryModeStatus,hs as HistoryOrigin,ee as UniverEditHistoryViewerPlugin};
|
|
1
|
+
const _0x3abf1a=_0x3dc9;(function(_0x322c3c,_0x18e685){const _0x45d9fb=_0x3dc9,_0x18d725=_0x322c3c();while(!![]){try{const _0x405b16=-parseInt(_0x45d9fb(0x2c6))/0x1*(-parseInt(_0x45d9fb(0x186))/0x2)+parseInt(_0x45d9fb(0x338))/0x3+-parseInt(_0x45d9fb(0x324))/0x4*(parseInt(_0x45d9fb(0x203))/0x5)+-parseInt(_0x45d9fb(0x28c))/0x6*(parseInt(_0x45d9fb(0x1f6))/0x7)+-parseInt(_0x45d9fb(0x304))/0x8+-parseInt(_0x45d9fb(0x280))/0x9*(parseInt(_0x45d9fb(0x246))/0xa)+parseInt(_0x45d9fb(0x1c3))/0xb*(parseInt(_0x45d9fb(0x18b))/0xc);if(_0x405b16===_0x18e685)break;else _0x18d725['push'](_0x18d725['shift']());}catch(_0x56c30a){_0x18d725['push'](_0x18d725['shift']());}}}(_0x3079,0x2a0c1));var Ae=Object[_0x3abf1a(0x2fc)],He=(_0x13a53a,_0x57cbe0,_0x435107)=>_0x57cbe0 in _0x13a53a?Ae(_0x13a53a,_0x57cbe0,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x435107}):_0x13a53a[_0x57cbe0]=_0x435107,l=(_0x22867b,_0x1e76c2,_0x59c6eb)=>He(_0x22867b,typeof _0x1e76c2!=_0x3abf1a(0x318)?_0x1e76c2+'':_0x1e76c2,_0x59c6eb);import{RevertRevisionMutation as _0x295aaa,CreateUnitMutation as _0x4e1ed2,ISnapshotServerService as _0x1d0231,CompressMutationService as _0x4fcd21,transformSnapshotToWorkbookData as _0x53b73e,ITransformService as _0x3cb393,parseProtocolChangeset as _0x2f7129,isTransformMutationsSuccess as _0x589c6e}from'@univerjs-pro/collaboration';import{SnapshotServerOverHTTPService as _0x1b6aac,CollaborationImageIoService as _0x5ed1d9}from'@univerjs-pro/collaboration-client';import{Disposable as _0x473675,LocaleType as _0x442d0e,IUniverInstanceService as _0x53b098,ICommandService as _0x1f1a06,IConfigService as _0x5837cc,Inject as _0x13d20a,UniverInstanceType as _0x4a0cc0,IConfirmService as _0x18fd8d,LocaleService as _0x52069a,IPermissionService as _0x53a856,Injector as _0x5b2fb3,ObjectMatrix as _0x479edb,debounce as _0x4047b8,DisposableCollection as _0x591525,toDisposable as _0x103d30,DependentOn as _0x5b86ac,Plugin as _0xb3d770,merge as _0x37c27f}from'@univerjs/core';import{IImageIoService as _0x35321a}from'@univerjs/drawing';import{IRenderManagerService as _0x10955c,Vector2 as _0x312028,SHEET_VIEWPORT_KEY as _0x54bebc}from'@univerjs/engine-render';import{HTTPService as _0x5b2e99,UniverNetworkPlugin as _0x4e8f2e}from'@univerjs/network';import{ICellEditorManagerService as _0x303406,SheetSkeletonManagerService as _0x528b3a,getCoordByCell as _0x59ac24,getSheetObject as _0x2e015b,UniverSheetsUIPlugin as _0x49ef76}from'@univerjs/sheets-ui';import{IMessageService as _0x359e4b,useDependency as _0x1d7215,useObservable as _0x3249fe,IUIPartsService as _0x3d434c,BuiltInUIPart as _0x2b04a7,connectInjector as _0x3bc54d,ISidebarService as _0x573b75,ComponentManager as _0x1105a2,IDialogService as _0x24b781}from'@univerjs/ui';import{MessageType as _0x1f5fc1,clsx as _0x2d904b,Button as _0x4ffa7a,borderBottomClassName as _0x1f99fe,Tooltip as _0x5b7083}from'@univerjs/design';import{InsertSheetMutation as _0x3ceac9,RemoveSheetMutation as _0x184582,SetFrozenMutation as _0x43950f,AddWorksheetProtectionMutation as _0x51a30c,AddRangeProtectionMutation as _0x9582eb,DeleteRangeProtectionMutation as _0x5b5417,DeleteWorksheetProtectionMutation as _0x385e62,SheetPermissionInitController as _0x2a8a28,WorkbookEditablePermission as _0x1bffba,WorkbookRenameSheetPermission as _0x19e226,WorkbookMoveSheetPermission as _0x1899ca,WorkbookHideSheetPermission as _0x5417aa,SetWorksheetHideMutation as _0xc65576,SetRangeValuesMutation as _0x32982a,SetRangeProtectionMutation as _0x4eed5d,ReorderRangeMutation as _0x22f865,RemoveNumfmtMutation as _0x394bc0,SetNumfmtMutation as _0x12e6f5,MoveColsMutation as _0x3dddb1,MoveRowsMutation as _0x2f6b69,MoveRangeMutation as _0x3d9c92,InsertColMutation as _0x3b5589,InsertRowMutation as _0x1bc5c3,AddWorksheetMergeMutation as _0x127a03,RangeMergeUtil as _0x275079,findAllRectangle as _0x1b1e0c,SetWorksheetActiveOperation as _0x18c47d}from'@univerjs/sheets';import{BehaviorSubject as _0x20620f,combineLatest as _0x2ed2fa,switchMap as _0x364260,map as _0x373c4d,of as _0x8d1aa1,debounceTime as _0x4ec486,Subject as _0x58cd5e}from'rxjs';import{InsertSheetsChartMutation as _0x167d45}from'@univerjs-pro/sheets-chart';import{AddSheetSparklineMutation as _0x716c63}from'@univerjs-pro/sheets-sparkline';import{AddDataValidationMutation as _0xb54018,UpdateDataValidationMutation as _0x2fa869}from'@univerjs/data-validation';import{SetConditionalRuleMutation as _0x24814a,AddConditionalRuleMutation as _0x1452b9}from'@univerjs/sheets-conditional-formatting';import{SetSheetsFilterRangeMutation as _0x89e65e}from'@univerjs/sheets-filter';import{jsxs as _0x3dee13,jsx as _0x28a182}from'react/jsx-runtime';import{useRef as _0x3d8a34,createElement as _0x151fa9,forwardRef as _0x3e6fb6,useCallback as _0x3bb55c,useState as _0x16ef66,Fragment as _0x24548f}from'react';import{SheetCollabCursorShape as _0x52527c}from'@univerjs-pro/collaboration-client-ui';const ne=_0x3abf1a(0x2e6),he={};var is=Object[_0x3abf1a(0x271)],ns=(_0x58f44e,_0x4f2d5d,_0x2dfaed,_0x53c53d)=>{const _0x4a8cac=_0x3abf1a;for(var _0xfa64f3=_0x53c53d>0x1?void 0x0:_0x53c53d?is(_0x4f2d5d,_0x2dfaed):_0x4f2d5d,_0x2a3990=_0x58f44e[_0x4a8cac(0x224)]-0x1,_0x244529;_0x2a3990>=0x0;_0x2a3990--)(_0x244529=_0x58f44e[_0x2a3990])&&(_0xfa64f3=_0x244529(_0xfa64f3)||_0xfa64f3);return _0xfa64f3;},rs=(_0xd2721c,_0x5b4d5d)=>(_0x28b55e,_0x33fd37)=>_0x5b4d5d(_0x28b55e,_0x33fd37,_0xd2721c);let A=class extends _0x473675{constructor(_0x3b93f7){const _0x171c4a=_0x3abf1a;super(),this[_0x171c4a(0x28a)]=_0x3b93f7,this[_0x171c4a(0x31a)]();}[_0x3abf1a(0x31a)](){const _0x5d8d4f=_0x3abf1a;this[_0x5d8d4f(0x311)](this[_0x5d8d4f(0x28a)]['state$']['subscribe'](_0x184b18=>{const _0xa47413=_0x5d8d4f;_0x184b18!=null&&_0x184b18['show']&&this['_cellEditorManagerService'][_0xa47413(0x313)]({'show':!0x1});}));}};A=ns([rs(0x0,_0x303406)],A);var U=(_0x437ef9=>(_0x437ef9[_0x437ef9[_0x3abf1a(0x358)]=0x0]=_0x3abf1a(0x358),_0x437ef9[_0x437ef9['OK']=0x1]='OK',_0x437ef9[_0x437ef9['INTERNAL_ERROR']=0x2]=_0x3abf1a(0x288),_0x437ef9[_0x437ef9['PERMISSION_DENIED']=0x3]=_0x3abf1a(0x23e),_0x437ef9[_0x437ef9[_0x3abf1a(0x213)]=0x4]='NOT_FOUND',_0x437ef9[_0x437ef9[_0x3abf1a(0x298)]=0x5]=_0x3abf1a(0x298),_0x437ef9[_0x437ef9['ALREADY_EXISTS']=0x6]=_0x3abf1a(0x19f),_0x437ef9[_0x437ef9[_0x3abf1a(0x2ac)]=0x7]=_0x3abf1a(0x2ac),_0x437ef9[_0x437ef9[_0x3abf1a(0x314)]=0x8]='TOO_MANY_REQUESTS',_0x437ef9[_0x437ef9[_0x3abf1a(0x197)]=0x9]='COMPLETION_FINISHED',_0x437ef9[_0x437ef9[_0x3abf1a(0x334)]=0xa]=_0x3abf1a(0x334),_0x437ef9[_0x437ef9[_0x3abf1a(0x19c)]=0xb]=_0x3abf1a(0x19c),_0x437ef9[_0x437ef9[_0x3abf1a(0x263)]=0xc]=_0x3abf1a(0x263),_0x437ef9[_0x437ef9[_0x3abf1a(0x2df)]=0xd]=_0x3abf1a(0x2df),_0x437ef9[_0x437ef9[_0x3abf1a(0x1c8)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x437ef9[_0x437ef9[_0x3abf1a(0x1a9)]=0xf]=_0x3abf1a(0x1a9),_0x437ef9[_0x437ef9[_0x3abf1a(0x2c9)]=0x10]=_0x3abf1a(0x2c9),_0x437ef9[_0x437ef9['CURRENT_STATUS_CANNOT_OPERATE']=0x64]=_0x3abf1a(0x25e),_0x437ef9[_0x437ef9[_0x3abf1a(0x2e9)]=0x65]=_0x3abf1a(0x2e9),_0x437ef9[_0x437ef9['USER_NOT_FOUND']=0xc9]='USER_NOT_FOUND',_0x437ef9[_0x437ef9[_0x3abf1a(0x335)]=0xca]=_0x3abf1a(0x335),_0x437ef9[_0x437ef9[_0x3abf1a(0x2b1)]=0x1389]=_0x3abf1a(0x2b1),_0x437ef9[_0x437ef9['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x3abf1a(0x23c),_0x437ef9[_0x437ef9[_0x3abf1a(0x35f)]=0x1772]=_0x3abf1a(0x35f),_0x437ef9[_0x437ef9['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x3abf1a(0x1ca),_0x437ef9[_0x437ef9[_0x3abf1a(0x281)]=0x1b59]=_0x3abf1a(0x281),_0x437ef9[_0x437ef9[_0x3abf1a(0x1cc)]=0x1b5a]=_0x3abf1a(0x1cc),_0x437ef9[_0x437ef9['APPLY_REVISION_CONFILICT']=0x1b5b]='APPLY_REVISION_CONFILICT',_0x437ef9[_0x437ef9[_0x3abf1a(0x21f)]=0x1b5c]=_0x3abf1a(0x21f),_0x437ef9[_0x437ef9[_0x3abf1a(0x2e1)]=0x1b5d]=_0x3abf1a(0x2e1),_0x437ef9[_0x437ef9['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x3abf1a(0x301),_0x437ef9[_0x437ef9[_0x3abf1a(0x2e8)]=0x2329]=_0x3abf1a(0x2e8),_0x437ef9[_0x437ef9[_0x3abf1a(0x1c4)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x437ef9[_0x437ef9['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x3abf1a(0x1cb),_0x437ef9[_0x437ef9[_0x3abf1a(0x2c3)]=0x232c]=_0x3abf1a(0x2c3),_0x437ef9[_0x437ef9[_0x3abf1a(0x26d)]=0x232d]=_0x3abf1a(0x26d),_0x437ef9[_0x437ef9[_0x3abf1a(0x33b)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x437ef9[_0x437ef9[_0x3abf1a(0x277)]=0x2712]=_0x3abf1a(0x277),_0x437ef9[_0x437ef9[_0x3abf1a(0x2ae)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x437ef9[_0x437ef9[_0x3abf1a(0x269)]=0x2714]=_0x3abf1a(0x269),_0x437ef9[_0x437ef9['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x3abf1a(0x1ed),_0x437ef9[_0x437ef9['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x3abf1a(0x354),_0x437ef9[_0x437ef9[_0x3abf1a(0x21d)]=0x271c]=_0x3abf1a(0x21d),_0x437ef9[_0x437ef9[_0x3abf1a(0x2b8)]=0x271d]=_0x3abf1a(0x2b8),_0x437ef9[_0x437ef9[_0x3abf1a(0x1a2)]=0x271e]=_0x3abf1a(0x1a2),_0x437ef9[_0x437ef9['YUUMI_AI_RUN_FAILED']=0x271f]=_0x3abf1a(0x1de),_0x437ef9[_0x437ef9[_0x3abf1a(0x2a7)]=0x2720]=_0x3abf1a(0x2a7),_0x437ef9[_0x437ef9[_0x3abf1a(0x202)]=0x2af9]=_0x3abf1a(0x202),_0x437ef9[_0x437ef9[_0x3abf1a(0x29d)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x437ef9[_0x437ef9[_0x3abf1a(0x209)]=0x2ee2]=_0x3abf1a(0x209),_0x437ef9[_0x437ef9[_0x3abf1a(0x296)]=0x2ee3]=_0x3abf1a(0x296),_0x437ef9[_0x437ef9[_0x3abf1a(0x350)]=0x2ee4]=_0x3abf1a(0x350),_0x437ef9[_0x437ef9[_0x3abf1a(0x1c5)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x437ef9[_0x437ef9[_0x3abf1a(0x17d)]=0x32c9]=_0x3abf1a(0x17d),_0x437ef9[_0x437ef9['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x3abf1a(0x220),_0x437ef9[_0x437ef9[_0x3abf1a(0x238)]=0x32cb]=_0x3abf1a(0x238),_0x437ef9[_0x437ef9['ENTITLE_CAN_NOT_BUY_LOWER_OTP']=0x36b1]='ENTITLE_CAN_NOT_BUY_LOWER_OTP',_0x437ef9[_0x437ef9[_0x3abf1a(0x2d2)]=0x36b2]=_0x3abf1a(0x2d2),_0x437ef9[_0x437ef9[_0x3abf1a(0x283)]=0x36b3]=_0x3abf1a(0x283),_0x437ef9[_0x437ef9[_0x3abf1a(0x1d8)]=0x36b4]=_0x3abf1a(0x1d8),_0x437ef9[_0x437ef9[_0x3abf1a(0x248)]=0x36b5]=_0x3abf1a(0x248),_0x437ef9[_0x437ef9['ENTITLE_COUPON_EXPIRED']=0x36b6]=_0x3abf1a(0x1d0),_0x437ef9[_0x437ef9['ENTITLE_COUPON_USED_UP']=0x36b7]=_0x3abf1a(0x294),_0x437ef9[_0x437ef9['ENTITLE_USE_COUPON_NOT_1ST_TRADE']=0x36b8]=_0x3abf1a(0x29c),_0x437ef9[_0x437ef9[_0x3abf1a(0x360)]=0x3715]=_0x3abf1a(0x360),_0x437ef9[_0x437ef9[_0x3abf1a(0x189)]=0x3716]=_0x3abf1a(0x189),_0x437ef9[_0x437ef9[_0x3abf1a(0x2d4)]=0x3717]='ENTITLE_INSUFFICIENT_QUOTA',_0x437ef9[_0x437ef9['ENTITLE_NEED_BILLING_ADDRESS']=0x37dd]='ENTITLE_NEED_BILLING_ADDRESS',_0x437ef9[_0x437ef9[_0x3abf1a(0x217)]=0x3a99]='REDEMPTION_INVALID_CODE',_0x437ef9[_0x437ef9[_0x3abf1a(0x1dd)]=0x3a9a]=_0x3abf1a(0x1dd),_0x437ef9[_0x437ef9[_0x3abf1a(0x321)]=0x3a9b]=_0x3abf1a(0x321),_0x437ef9[_0x437ef9[_0x3abf1a(0x205)]=0x3a9c]='REDEMPTION_CODE_NOT_STARTED',_0x437ef9[_0x437ef9['REDEMPTION_USER_NOT_ELIGIBLE']=0x3a9d]=_0x3abf1a(0x1ec),_0x437ef9[_0x437ef9[_0x3abf1a(0x2ee)]=0x3a9e]=_0x3abf1a(0x2ee),_0x437ef9[_0x437ef9[_0x3abf1a(0x286)]=0x3a9f]=_0x3abf1a(0x286),_0x437ef9[_0x437ef9[_0x3abf1a(0x25d)]=0x3e81]='DATA_SOURCE_TOO_LARGE',_0x437ef9[_0x437ef9[_0x3abf1a(0x297)]=-0x1]=_0x3abf1a(0x297),_0x437ef9))(U||{}),H=(_0xaca427=>(_0xaca427[_0xaca427[_0x3abf1a(0x18a)]=0x0]=_0x3abf1a(0x18a),_0xaca427[_0xaca427[_0x3abf1a(0x293)]=0x1]=_0x3abf1a(0x293),_0xaca427[_0xaca427[_0x3abf1a(0x20e)]=0x2]=_0x3abf1a(0x20e),_0xaca427[_0xaca427[_0x3abf1a(0x355)]=0x3]=_0x3abf1a(0x355),_0xaca427[_0xaca427['UNIVER_PROJECT']=0x4]=_0x3abf1a(0x34d),_0xaca427[_0xaca427['UNRECOGNIZED']=-0x1]=_0x3abf1a(0x297),_0xaca427))(H||{}),D=(_0x2967c6=>(_0x2967c6[_0x2967c6[_0x3abf1a(0x1bb)]=0x0]=_0x3abf1a(0x1bb),_0x2967c6[_0x2967c6[_0x3abf1a(0x25a)]=0x1]=_0x3abf1a(0x25a),_0x2967c6[_0x2967c6[_0x3abf1a(0x2dc)]=0x2]=_0x3abf1a(0x2dc),_0x2967c6[_0x2967c6[_0x3abf1a(0x30f)]=0x3]=_0x3abf1a(0x30f),_0x2967c6[_0x2967c6['Duplicate']=0x4]=_0x3abf1a(0x35a),_0x2967c6[_0x2967c6[_0x3abf1a(0x185)]=0x5]=_0x3abf1a(0x185),_0x2967c6[_0x2967c6['Copy']=0x6]=_0x3abf1a(0x2fa),_0x2967c6[_0x2967c6[_0x3abf1a(0x218)]=0x7]=_0x3abf1a(0x218),_0x2967c6[_0x2967c6[_0x3abf1a(0x28d)]=0x8]=_0x3abf1a(0x28d),_0x2967c6[_0x2967c6[_0x3abf1a(0x28e)]=0x9]=_0x3abf1a(0x28e),_0x2967c6[_0x2967c6[_0x3abf1a(0x310)]=0xa]=_0x3abf1a(0x310),_0x2967c6[_0x2967c6[_0x3abf1a(0x254)]=0xb]=_0x3abf1a(0x254),_0x2967c6[_0x2967c6[_0x3abf1a(0x352)]=0xc]=_0x3abf1a(0x352),_0x2967c6[_0x2967c6[_0x3abf1a(0x208)]=0xd]=_0x3abf1a(0x208),_0x2967c6[_0x2967c6[_0x3abf1a(0x21b)]=0xe]=_0x3abf1a(0x21b),_0x2967c6[_0x2967c6[_0x3abf1a(0x2b7)]=0xf]=_0x3abf1a(0x2b7),_0x2967c6[_0x2967c6['InsertHyperlink']=0x10]='InsertHyperlink',_0x2967c6[_0x2967c6['Sort']=0x11]=_0x3abf1a(0x207),_0x2967c6[_0x2967c6[_0x3abf1a(0x312)]=0x12]=_0x3abf1a(0x312),_0x2967c6[_0x2967c6['PivotTable']=0x13]=_0x3abf1a(0x34b),_0x2967c6[_0x2967c6['FloatImg']=0x14]=_0x3abf1a(0x323),_0x2967c6[_0x2967c6[_0x3abf1a(0x332)]=0x15]='History',_0x2967c6[_0x2967c6[_0x3abf1a(0x2bb)]=0x16]=_0x3abf1a(0x2bb),_0x2967c6[_0x2967c6[_0x3abf1a(0x333)]=0x17]=_0x3abf1a(0x333),_0x2967c6[_0x2967c6[_0x3abf1a(0x299)]=0x18]=_0x3abf1a(0x299),_0x2967c6[_0x2967c6['MoveSheet']=0x19]=_0x3abf1a(0x2d9),_0x2967c6[_0x2967c6[_0x3abf1a(0x285)]=0x1a]='DeleteSheet',_0x2967c6[_0x2967c6[_0x3abf1a(0x268)]=0x1b]=_0x3abf1a(0x268),_0x2967c6[_0x2967c6[_0x3abf1a(0x1fa)]=0x1c]=_0x3abf1a(0x1fa),_0x2967c6[_0x2967c6[_0x3abf1a(0x2ff)]=0x1d]=_0x3abf1a(0x2ff),_0x2967c6[_0x2967c6[_0x3abf1a(0x2f5)]=0x1e]='CreateSheet',_0x2967c6[_0x2967c6['SelectProtectedCells']=0x1f]='SelectProtectedCells',_0x2967c6[_0x2967c6[_0x3abf1a(0x1e1)]=0x20]='SelectUnProtectedCells',_0x2967c6[_0x2967c6[_0x3abf1a(0x2ba)]=0x21]=_0x3abf1a(0x2ba),_0x2967c6[_0x2967c6['SetCellValue']=0x22]=_0x3abf1a(0x2d0),_0x2967c6[_0x2967c6[_0x3abf1a(0x1e3)]=0x23]=_0x3abf1a(0x1e3),_0x2967c6[_0x2967c6[_0x3abf1a(0x20c)]=0x24]=_0x3abf1a(0x20c),_0x2967c6[_0x2967c6[_0x3abf1a(0x289)]=0x25]='InsertRow',_0x2967c6[_0x2967c6[_0x3abf1a(0x230)]=0x26]=_0x3abf1a(0x230),_0x2967c6[_0x2967c6[_0x3abf1a(0x287)]=0x27]='DeleteRow',_0x2967c6[_0x2967c6['DeleteColumn']=0x28]=_0x3abf1a(0x1c2),_0x2967c6[_0x2967c6['EditExtraObject']=0x29]='EditExtraObject',_0x2967c6[_0x2967c6[_0x3abf1a(0x2f2)]=0x2a]='Delete',_0x2967c6[_0x2967c6['RecoverHistory']=0x2b]=_0x3abf1a(0x2b5),_0x2967c6[_0x2967c6[_0x3abf1a(0x1ba)]=0x2c]=_0x3abf1a(0x1ba),_0x2967c6[_0x2967c6['CreatePermissionObject']=0x2d]=_0x3abf1a(0x275),_0x2967c6[_0x2967c6[_0x3abf1a(0x297)]=-0x1]='UNRECOGNIZED',_0x2967c6))(D||{});function as(_0x5adf5f){const _0xa0a9dc=_0x3abf1a;return!!(_0x5adf5f&&_0x5adf5f[_0xa0a9dc(0x2a2)]&&_0x5adf5f['code']!==U['OK']&&_0x5adf5f[_0xa0a9dc(0x2a2)]!=='OK');}const re=(_0x1d1bd4,_0x25d2b0)=>{const _0x35ade9=_0x3abf1a;if(!_0x1d1bd4)return{'date':'','time':''};const _0x74645f=new Date(_0x1d1bd4),_0x49e271=_0x74645f[_0x35ade9(0x22b)]()[_0x35ade9(0x1fb)]('T')[0x0];return _0x25d2b0===_0x442d0e[_0x35ade9(0x2de)]?{'date':J(_0x49e271,_0x25d2b0),'time':_0x74645f[_0x35ade9(0x1af)]()+':'+String(_0x74645f[_0x35ade9(0x2ab)]())[_0x35ade9(0x1bd)](0x2,'0')+':'+String(_0x74645f[_0x35ade9(0x188)]())[_0x35ade9(0x1bd)](0x2,'0')}:{'date':J(_0x49e271,_0x25d2b0),'time':_0x74645f[_0x35ade9(0x1af)]()+':'+_0x74645f[_0x35ade9(0x2ab)]()+':'+_0x74645f['getSeconds']()};},os=(_0x1feaf3,_0x2e9e0e)=>{const _0x1639a4=_0x3abf1a,_0x317d08=_0x1feaf3[_0x1639a4(0x1b8)]||_0x2e9e0e['t'](_0x1639a4(0x182));if(_0x1feaf3[_0x1639a4(0x2aa)][_0x1639a4(0x34f)](_0x15c2d1=>_0x15c2d1===_0x295aaa['id'])&&_0x1feaf3[_0x1639a4(0x2e2)]){const _0x45c3f0=re(_0x1feaf3['recoverTime'],_0x2e9e0e[_0x1639a4(0x219)]()),_0x572675=_0x45c3f0[_0x1639a4(0x1fd)]+'\x20'+_0x45c3f0[_0x1639a4(0x35c)];return _0x317d08+'\x20'+_0x2e9e0e['t'](_0x1639a4(0x23f))+'\x20'+_0x572675+'\x20'+_0x2e9e0e['t'](_0x1639a4(0x339));}const _0x275090=cs(_0x1feaf3),_0x1fb80b=_0x275090[_0x1639a4(0x224)]===0x1?_0x2e9e0e['t'](_0x275090[0x0]):''+_0x2e9e0e['t'](_0x275090[0x0])+_0x2e9e0e['t'](_0x1639a4(0x357));return _0x317d08+'\x20'+_0x1fb80b;};function cs(_0x15ce17){const _0x3de6a5=_0x3abf1a;if(_0x15ce17['commands'][_0x3de6a5(0x224)]===0x0)return[''];const _0x1e4edd=_0x3de6a5(0x27c),_0x243376=_0x1e4edd+_0x3de6a5(0x21a),_0x228769=[{'id':_0x4e1ed2['id'],'action':_0x1e4edd+_0x3de6a5(0x21e)},{'id':_0x295aaa['id'],'action':_0x1e4edd+'revertSheet'},{'id':_0x3ceac9['id'],'action':_0x1e4edd+_0x3de6a5(0x1b6)},{'id':_0x184582['id'],'action':_0x1e4edd+_0x3de6a5(0x226)},{'id':_0x43950f['id'],'action':_0x1e4edd+'setFrozen'},{'id':_0x89e65e['id'],'action':_0x1e4edd+_0x3de6a5(0x2ec)},{'id':_0xb54018['id'],'action':_0x1e4edd+_0x3de6a5(0x1b9)},{'id':_0x2fa869['id'],'action':_0x1e4edd+'setDV'},{'id':_0x24814a['id'],'action':_0x1e4edd+_0x3de6a5(0x211)},{'id':_0x1452b9['id'],'action':_0x1e4edd+_0x3de6a5(0x211)},{'id':_0x51a30c['id'],'action':_0x1e4edd+_0x3de6a5(0x2d8)},{'id':_0x9582eb['id'],'action':_0x1e4edd+_0x3de6a5(0x2d8)},{'id':_0x716c63['id'],'action':_0x1e4edd+_0x3de6a5(0x300)},{'id':_0x167d45['id'],'action':_0x1e4edd+_0x3de6a5(0x282)},{'id':_0x5b5417['id'],'action':_0x1e4edd+'deleteProtection'},{'id':_0x385e62['id'],'action':_0x1e4edd+_0x3de6a5(0x30b)}][_0x3de6a5(0x1e8)](_0x246af0=>_0x15ce17[_0x3de6a5(0x2aa)][_0x3de6a5(0x2ed)](_0x246af0['id']));return _0x228769!=null&&_0x228769[_0x3de6a5(0x224)]?_0x228769['map'](_0x1e8593=>_0x1e8593[_0x3de6a5(0x328)]):[_0x243376];}function _0x3079(){const _0x5a67ad=['CopySheet','split','_yieldToMain','date','set','currentVersion','loadSheet','_fetching$','PY_RUNTIME_SCRIPT_ERROR','430480oOsxMs','_maskElement','REDEMPTION_CODE_NOT_STARTED','_setVersions','Sort','CreateWorksheet','INVALID_INVITE_CODE','M7.20007\x201.98384C7.20007\x201.54201\x207.55824\x201.18384\x208.00007\x201.18384C11.7647\x201.18384\x2014.8165\x204.23568\x2014.8165\x208.00032C14.8165\x2011.765\x2011.7647\x2014.8168\x208.00007\x2014.8168C4.23543\x2014.8168\x201.18359\x2011.765\x201.18359\x208.00032C1.18359\x207.55849\x201.54177\x207.20031\x201.98359\x207.20031C2.42542\x207.20031\x202.78359\x207.55849\x202.78359\x208.00032C2.78359\x2010.8813\x205.11909\x2013.2168\x208.00007\x2013.2168C10.8811\x2013.2168\x2013.2165\x2010.8813\x2013.2165\x208.00032C13.2165\x205.11933\x2010.8811\x202.78384\x208.00007\x202.78384C7.55824\x202.78384\x207.20007\x202.42567\x207.20007\x201.98384Z','anonymous','SetColumnStyle','_createMask','UNIVER_SHEET','has','endRow','setCF','_setFetching','NOT_FOUND','error','_getRangesByMutation','cellValue','REDEMPTION_INVALID_CODE','Share','getCurrentLocale','editSheet','SetWorksheetStyle','restore-icon','YUUMI_TABLE_NOT_FOUND_IN_UNIT','createSheet','APPLY_PERMISSION_DENIED','MOBILE_HAS_BEEN_BOUND','data','fetching','updatePermissionPoint','length','_workbookDataCache','removeSheet','subUnitId','endRev','_commandService','Unspecified','toISOString','_sidebarDisposable','div','subscribe','hideMask','InsertColumn','onStarting','pluginName','_diffs','univer-flex\x20univer-h-6\x20univer-w-full\x20univer-justify-between','_initMaskContainer','creators$','pipe','EMAIL_HAS_BEEN_BOUND','_permissionService','children','univer-overflow-hidden','SNAPSHOT_INVALID_SNAPSHOT','style','PERMISSION_DENIED','editHistory.action.revertSheetPrefix','_sheetSkeletonManagerService','createUnit','displayName','currentVersionDiff$','_currentVersion$','_configService','10UlJdoN','exited','ENTITLE_INVALID_COUPON_CODE','triggerLoadVersions','onMouseMove','univer-m-auto\x20univer-animate-spin','button','flex','getDataRange','editHistory.panel.cancel','_compressMutationService','M6.42416\x204.42417C6.65847\x204.18985\x206.65847\x203.80995\x206.42416\x203.57564C6.18984\x203.34132\x205.80994\x203.34132\x205.57563\x203.57564L1.57564\x207.57564C1.34132\x207.80995\x201.34132\x208.18985\x201.57564\x208.42417L5.57563\x2012.4242C5.80994\x2012.6585\x206.18984\x2012.6585\x206.42416\x2012.4242C6.65847\x2012.1899\x206.65847\x2011.81\x206.42416\x2011.5756L3.44843\x208.5999H14C14.3314\x208.5999\x2014.6\x208.33127\x2014.6\x207.9999C14.6\x207.66853\x2014.3314\x207.3999\x2014\x207.3999H3.44843L6.42416\x204.42417Z','dateString','_initActiveSwitch','HideWorksheet','flat','currentVersion$','ranges','restore-icon_clip0_1247_2','random','Edit','Entered','fill','DATA_SOURCE_TOO_LARGE','CURRENT_STATUS_CANNOT_OPERATE','_univerInstanceService','univer-ml-2\x20univer-flex\x20univer-h-5\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-border\x20univer-border-primary-600\x20univer-bg-primary-50\x20univer-px-1.5\x20univer-text-xs\x20univer-text-primary-600','transformMutations','status$','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','1em','getVersions','endColumn','from','HideSheet','YUUMI_SUBSCRIPTION_NOT_FOUND','init','_creators$','width','LICENSE_DISTRO_REJECTED','append','current','backgroundColor','getOwnPropertyDescriptor','COMPRESS_MUTATION_APPLY','_transformService','sheet','CreatePermissionObject','univer-ml-2.5\x20univer-flex\x20univer-size-8\x20univer-cursor-pointer\x20univer-items-center\x20univer-justify-center\x20univer-rounded','YUUMI_URL_COL_OUT_OF_RANGE','_combineRanges','userID','_removeDiffMarks','univer-flex\x20univer-h-7\x20univer-w-full\x20univer-items-center\x20univer-justify-center','editHistory.action.','setConfig','mutations','_members','1368801QcjpkU','APPLY_REJECT','insertChart','ENTITLE_DUP_SUBSCRIPTION','open','DeleteSheet','REDEMPTION_CODE_HAS_BEEN_CREATED','DeleteRow','INTERNAL_ERROR','InsertRow','_cellEditorManagerService','_versions$','432870jXbdTD','Export','MoveWorksheet','top','fetchThroughInterceptors','primary','univer-flex\x20univer-size-6\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-text-gray-400\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-700','UNIVER_DOC','ENTITLE_COUPON_USED_UP','univerjs-icon\x20univerjs-icon-','INVITE_CODE_REQUIRED','UNRECOGNIZED','UNAUTHENTICATED','ViewFilter','_componentManager','memberId','ENTITLE_USE_COUPON_NOT_1ST_TRADE','INVITE_CODE_HAS_BEEN_UES','_getAPIPrefix','display','function','xlink:href','code','Exited','getCurrentVersion','additionalFields','editHistory.panel.title','YUUMI_CONNECTOR_URL_NOT_FOUND','toString','rgba(58,\x2096,\x20247,\x200.20)','commands','getMinutes','INVALID_ARGUMENT','registerComponent','YUUMI_RATE_OVER_LIMIT','getUnitOnRev','M2.06678\x203.37926C2.0668\x201.94333\x203.23085\x200.779297\x204.66678\x200.779297H9.44256C10.1796\x200.779297\x2010.8821\x201.09213\x2011.3751\x201.63999L13.2659\x203.74079C13.6955\x204.21822\x2013.9333\x204.83779\x2013.9333\x205.4801V12.7126C13.9333\x2014.1486\x2012.7692\x2015.3126\x2011.3333\x2015.3126H4.66665C3.2307\x2015.3126\x202.06663\x2014.1486\x202.06665\x2012.7126L2.06678\x203.37926ZM4.66678\x201.9793C3.89359\x201.9793\x203.26679\x202.60609\x203.26678\x203.37928L3.26665\x2012.7126C3.26664\x2013.4858\x203.89344\x2014.1126\x204.66665\x2014.1126H11.3333C12.1065\x2014.1126\x2012.7333\x2013.4858\x2012.7333\x2012.7126V5.4801C12.7333\x205.44882\x2012.7322\x205.41764\x2012.7302\x205.3866H10.7985C9.91488\x205.3866\x209.19853\x204.67026\x209.19853\x203.78661V1.9793H4.66678ZM10.4832\x202.44275L12.0526\x204.1866H10.7985C10.5776\x204.1866\x2010.3985\x204.00752\x2010.3985\x203.78661V2.35649C10.4279\x202.38389\x2010.4561\x202.41266\x2010.4832\x202.44275Z','CHANGESET_REVISION_CONFILICT','_context','/creators','center','RecoverHistory','creators','EditWorksheetCell','YUUMI_ALL_TABLES_IS_INVALID','executeCommand','SetCellStyle','RwHgtClWdt','[HistoryFetchService]:\x20wrong\x20rev\x20from\x20the\x20server!','isArray','path','add','getVersion','_initRender','Loading','LICENSE_EXPORT_SIZE_EXCEEDED','_httpService','trim','27925QNfory','_loadParams','getCellPositionByOffset','LOGIN_TOKEN_PROCESSING_FAILED','getConfig','_maskContainer','_uiPartsService','loadingState','_versionDiffService','getMember','SetCellValue','subscribeEvent','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','map','ENTITLE_INSUFFICIENT_QUOTA','stopPropagation','UNIVER_EDIT_HISTORY_VIEWER_PLUGIN','defs','addProtection','MoveSheet','value','loadMoreVersions','ManageCollaborator','show','ZH_CN','EMAIL_VERIFY_CODE_MISMATCH','svg','APPLY_DUPLICATED','recoverTime','getDialogs$','position','univer-text-2xl\x20dark:!univer-text-white','edit-history-viewer.config','univer-flex\x20univer-items-center\x20univer-gap-2.5\x20univer-py-1.5\x20univer-text-sm\x20univer-font-medium','LICENSE_MAX_UNITS_EXCEEDED','ERROR_AGAIN','span','parse','setFilter','includes','REDEMPTION_USER_REDEEM_TIMES_EXCEED','users','_createUnit','replace','Delete','_getSheetObject','loadInitialVersions','CreateSheet','column','RestoreIcon','editHistory.header.revert','none','Copy','getDeserializedSheetBlock','defineProperty','idSuffix','_localeService','RenameSheet','addSparkline','CONNECTOR_DATA_TOO_LARGE','loadHistoryCreatorList','origin','1090944QsQpgp','sheetId','_unitId$','command','closeAll','lastLabel','triggerLoadSheet','deleteProtection','0\x200\x2016\x2017','name','_currentVersionDiff$','Print','DeleteWorksheet','disposeWithMe','Filter','setState','TOO_MANY_REQUESTS','_status$','triggerRevert','rule','symbol','FromArray','_init','string','url(#restore-icon_clip0_1247_2)','VIEW_MAIN','range','0\x200\x2016\x2016','loading','REDEMPTION_CODE_FULLY_REDEEMED','startColumn','FloatImg','12ziFAAV','row','_revertRevision$','_sidebarService','action','univer-text-gray-500','concat','userId','http://www.w3.org/2000/svg','univer-h-full\x20univer-space-y-2\x20univer-overflow-auto\x20univer-pb-4','ensureVersion','_historyFetchService','_dialogOptions$','dispose','History','ViemRwHgtClWdt','LOGIN_FAILED','USER_IS_ANONYMOUS','HEADER','loadingState$','229764ypMhPK','editHistory.action.revertSheetSuffix','fetching$','YUUMI_UNABLE_LOAD_URL','fetchMissingChangesets','next','bottom','_historyContainerId','endRevision','onRendered','_canRevert',':\x20(','all','versions$','register','Init','univer-flex\x20univer-items-center\x20univer-justify-center','_messageService','fetchCreatorList','PivotTable','mask','UNIVER_PROJECT','getAncestorScale','some','USER_NOT_INVITED_CODE','#0B9EFB','RenameWorksheet','_renderManagerService','YUUMI_ASYNCIO_CANCELLED','UNIVER_SLIDE','syncExecuteCommand','editHistory.action.etc','UNDEFINED','currentColor','Duplicate','_getActiveSubUnitId','time','focusUnit','editHistory.panel.currentUser','SNAPSHOT_HAS_BEEN_REMOVED','ENTITLE_CHAT_LIMIT_EXCEED','subType','blockMeta','_injector','getUnitId','clear','currentSkeleton$','absolute','color','url(#$1','WECHAT_HAS_BEEN_BOUND','editHistory.panel.revertDesc','editHistory.panel.revertConfirm','100%','skeleton','editHistory.panel.unknownUser','entities','editHistory.panel.currentVersion','Comment','2jcCixL','versions','getSeconds','ENTITLE_REPORT_LIMIT_EXCEED','UNIVER_UNKNOWN','146628eLzTFu','entered','getCurrent','LoadingMultiIcon','get','loading-multi-icon','find','_lastPointer','then','univer-animate-spin','getVpScrollXYInfoByPosToVp','_transformMutationByOrder','COMPLETION_FINISHED','Loaded','use','makeDirty','className','MOBILE_VERIFY_CODE_MISMATCH','evenodd','_initPanel','ALREADY_EXISTS','_hasMore','active','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','tag','rect','asObservable','back-icon','createTime','_loadingState$','AUTHORIZE_CODE_ILLEGAL','reduce','forValue','push','editHistory.panel.revertConfirmText','interceptor','getHours','entries','M8.79993\x2014.0166C8.79993\x2014.4585\x208.44176\x2014.8166\x207.99993\x2014.8166C4.23529\x2014.8166\x201.18345\x2011.7648\x201.18345\x208.00017C1.18345\x204.23554\x204.23529\x201.18369\x207.99993\x201.1837C11.7646\x201.1837\x2014.8164\x204.23554\x2014.8164\x208.00017C14.8164\x208.442\x2014.4582\x208.80017\x2014.0164\x208.80017C13.5746\x208.80017\x2013.2164\x208.442\x2013.2164\x208.00017C13.2164\x205.11919\x2010.8809\x202.7837\x207.99993\x202.7837C5.11895\x202.7837\x202.78345\x205.11919\x202.78345\x208.00017C2.78345\x2010.8812\x205.11895\x2013.2166\x207.99993\x2013.2166C8.44176\x2013.2166\x208.79993\x2013.5748\x208.79993\x2014.0166Z','getViewport','_historyManagerService','loaded','white','insertSheet','zIndex','user','setDV','ViewHistory','View','keys','padStart','User','_confirmService','startRevision','disposeUnit','DeleteColumn','748VUuKTA','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','INVITE_CODE_ALREADY_BOUND','[HistoryFetchService]:\x20request\x20snapshot\x20error!','univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_config','ENSURE_SNAPSHOT_EXECUTION','LICENSE_IMPORT_SIZE_EXCEEDED','APPLY_NON_SEQUENTIAL_REVISION','onPointerMove$','_diffRangesMap','forEach','ENTITLE_COUPON_EXPIRED','clipPath','getInterceptPoints','/list?','univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-justify-center','body','canRevert','M7.41252\x2010.6196C7.64683\x2010.3852\x207.64683\x2010.0053\x207.41252\x209.77103L6.77012\x209.12863H9.67836C9.89927\x209.12863\x2010.0784\x209.30772\x2010.0784\x209.52863V11.1953C10.0784\x2011.5267\x2010.347\x2011.7953\x2010.6784\x2011.7953C11.0097\x2011.7953\x2011.2784\x2011.5267\x2011.2784\x2011.1953V9.52863C11.2784\x208.64497\x2010.562\x207.92863\x209.67836\x207.92863H6.77012L7.41252\x207.28623C7.64683\x207.05191\x207.64683\x206.67201\x207.41252\x206.4377C7.1782\x206.20338\x206.79831\x206.20338\x206.56399\x206.4377L4.89732\x208.10437C4.66301\x208.33868\x204.66301\x208.71858\x204.89732\x208.95289L6.56399\x2010.6196C6.79831\x2010.8539\x207.1782\x2010.8539\x207.41252\x2010.6196Z','PAYMENT_CHANNEL_NOT_SUPPORT','univer-flex\x20univer-h-12\x20univer-cursor-default\x20univer-items-center','unitId','_lastLabel','status','REDEMPTION_CODE_INACTIVE','YUUMI_AI_RUN_FAILED','unitId$','attrs','SelectUnProtectedCells','_openPanel','SetRowStyle','startRow','defIds','params','_sheetPermissionInitController','filter','BackIcon','1000','Character','REDEMPTION_USER_NOT_ELIGIBLE','YUUMI_NO_CUBOID_FOR_QUESTION','height','getRelativeToViewportCoord','colorChannel1','getCurrentUnitForType','Error','_snapshotServerService','_updateVersions','rev','21dRhDXX','close','_updateDiffMarks','createElement'];_0x3079=function(){return _0x5a67ad;};return _0x3079();}function J(_0x516e57,_0x119be8){const _0x4e7a38=_0x3abf1a,[_0x4e83e0,_0x111152,_0x14e3e5]=new Date()['toISOString']()[_0x4e7a38(0x1fb)]('T')[0x0][_0x4e7a38(0x1fb)]('-'),[_0xa0dd55,_0x31babb,_0x3e928b]=_0x516e57[_0x4e7a38(0x1fb)]('-'),_0x22b698=_0x4e83e0===_0xa0dd55&&_0x111152===_0x31babb&&_0x14e3e5===_0x3e928b;let _0x25e20d='',_0x31786f='',_0x5b4a74='';return _0x119be8===_0x442d0e['ZH_CN']?_0x22b698?'今天':(_0x25e20d=_0x4e83e0===_0xa0dd55?'':_0xa0dd55+'年',_0x31786f=_0x31babb+'月',_0x5b4a74=_0x3e928b+'日',''+_0x25e20d+_0x31786f+_0x5b4a74):_0x22b698?'Today':(_0x25e20d=_0x4e83e0===_0xa0dd55?'':_0xa0dd55+'-',_0x31786f=_0x31babb+'-',_0x5b4a74=''+_0x3e928b,''+_0x25e20d+_0x31786f+_0x5b4a74);}function _s(_0x22a49c){const _0x42f3fb=_0x3abf1a;return _0x22a49c?_0x22a49c[_0x42f3fb(0x1aa)]((_0x28ec42,_0x4ebdaa)=>{const _0x41d8a1=_0x42f3fb,_0x530432=new Date(_0x4ebdaa['time'])[_0x41d8a1(0x22b)]()[_0x41d8a1(0x1fb)]('T')[0x0];return _0x28ec42['length']>0x0&&_0x28ec42[_0x28ec42[_0x41d8a1(0x224)]-0x1][_0x41d8a1(0x252)]===_0x530432?_0x28ec42[_0x28ec42['length']-0x1][_0x41d8a1(0x187)][_0x41d8a1(0x1ac)](_0x4ebdaa):_0x28ec42[_0x41d8a1(0x1ac)]({'dateString':_0x530432,'versions':[_0x4ebdaa]}),_0x28ec42;},[]):[];}var ls=Object[_0x3abf1a(0x271)],us=(_0x8cd0f0,_0x460a2f,_0x5f2ab6,_0x1bd567)=>{const _0x45b4e8=_0x3abf1a;for(var _0x5c7112=_0x1bd567>0x1?void 0x0:_0x1bd567?ls(_0x460a2f,_0x5f2ab6):_0x460a2f,_0x3ffff5=_0x8cd0f0[_0x45b4e8(0x224)]-0x1,_0x566714;_0x3ffff5>=0x0;_0x3ffff5--)(_0x566714=_0x8cd0f0[_0x3ffff5])&&(_0x5c7112=_0x566714(_0x5c7112)||_0x5c7112);return _0x5c7112;},T=(_0x2bf4c9,_0x4b79b3)=>(_0x5024aa,_0x3cd9c4)=>_0x4b79b3(_0x5024aa,_0x3cd9c4,_0x2bf4c9),hs=(_0x19f6bf=>(_0x19f6bf[_0x19f6bf[_0x3abf1a(0x22a)]=0x0]='Unspecified',_0x19f6bf[_0x19f6bf[_0x3abf1a(0x1be)]=0x1]='User',_0x19f6bf[_0x19f6bf[_0x3abf1a(0x1eb)]=0x2]=_0x3abf1a(0x1eb),_0x19f6bf))(hs||{});function _0x3dc9(_0x46a425,_0x13ba74){_0x46a425=_0x46a425-0x174;const _0x3079c2=_0x3079();let _0x3dc988=_0x3079c2[_0x46a425];return _0x3dc988;}const Is='/universer-api/history';let F=class extends _0x473675{constructor(_0x499d9a,_0x473072,_0x404080,_0x48fdfe,_0x1ec6fc,_0x187d8b,_0x32c311){const _0xfc305d=_0x3abf1a;super(),l(this,_0xfc305d(0x225),new Map()),(this[_0xfc305d(0x1f3)]=_0x499d9a,this[_0xfc305d(0x25f)]=_0x473072,this[_0xfc305d(0x229)]=_0x404080,this[_0xfc305d(0x245)]=_0x48fdfe,this[_0xfc305d(0x2c4)]=_0x1ec6fc,this['_compressMutationService']=_0x187d8b,this[_0xfc305d(0x1e7)]=_0x32c311);}[_0x3abf1a(0x331)](){const _0x18d295=_0x3abf1a;this[_0x18d295(0x225)][_0x18d295(0x178)](),super[_0x18d295(0x331)]();}async[_0x3abf1a(0x34a)](_0x4cafee){const _0x586160=_0x3abf1a;try{const _0x615bb1=(await this[_0x586160(0x2c4)]['get'](this[_0x586160(0x29e)]()+'/'+_0x4cafee+_0x586160(0x2b3)))['body'];if(_0x615bb1&&_0x615bb1['error']&&_0x615bb1['error']['code']===U['OK'])return _0x615bb1[_0x586160(0x2b6)];}catch(_0x6d5e3a){console[_0x586160(0x214)](_0x6d5e3a);}return[];}async[_0x3abf1a(0x265)](_0xbaadc6,_0x263d84){const _0x3ed659=_0x3abf1a,{userIds:_0x1747cc,lastLabel:_0x3270d5,origin:_0x349faf}=_0x263d84!=null?_0x263d84:{},_0x3061d3=new URLSearchParams();_0x3061d3[_0x3ed659(0x1fe)](_0x3ed659(0x224),'20'),_0x3270d5&&_0x3061d3[_0x3ed659(0x1fe)](_0x3ed659(0x309),_0x3270d5),_0x1747cc==null||_0x1747cc[_0x3ed659(0x1cf)](_0x1a1753=>{const _0x42abc8=_0x3ed659;_0x3061d3[_0x42abc8(0x26e)]('userIds',_0x1a1753);}),_0x349faf&&_0x3061d3[_0x3ed659(0x1fe)](_0x3ed659(0x303),_0x349faf[_0x3ed659(0x2a8)]());const _0x136508=this[_0x3ed659(0x29e)]()+'/'+_0xbaadc6+_0x3ed659(0x1d3)+_0x3061d3[_0x3ed659(0x2a8)]();try{const _0xf24fd6=(await this[_0x3ed659(0x2c4)][_0x3ed659(0x18f)](_0x136508))[_0x3ed659(0x1d5)];if(_0xf24fd6&&_0xf24fd6[_0x3ed659(0x214)]&&_0xf24fd6['error']['code']===U['OK']){const {hasMore:_0x354a0e,lastLabel:_0x5a767c}=_0xf24fd6,_0x498ed2=ds(_0xf24fd6),_0x56c417=_0xf24fd6[_0x3ed659(0x183)][_0x3ed659(0x2ef)];return{'hasMore':_0x354a0e,'lastLabel':_0x5a767c,'versions':_0x498ed2,'members':_0x56c417};}}catch(_0x199fd9){console['error'](_0x199fd9);}return null;}['_getAPIPrefix'](){const _0x4801d5=_0x3abf1a;var _0x2d4990;const _0x1c033e=this['_configService'][_0x4801d5(0x2ca)](ne);return(_0x2d4990=_0x1c033e==null?void 0x0:_0x1c033e['historyListServerUrl'])!=null?_0x2d4990:Is;}async[_0x3abf1a(0x200)](_0x26a6a3,_0x4291fc,_0x3181a3){const _0x2282a8=_0x3abf1a;var _0x52a479,_0x322258;_0x3181a3===void 0x0&&(_0x3181a3={}),this[_0x2282a8(0x225)][_0x2282a8(0x20f)](_0x26a6a3)||this['_workbookDataCache']['set'](_0x26a6a3,new Map());const {snapshot:_0x535546,changesets:_0x1cc5c1,error:_0x4200de}=await this[_0x2282a8(0x1f3)][_0x2282a8(0x2af)](_0x3181a3,{'unitID':_0x26a6a3,'type':H[_0x2282a8(0x20e)],'revision':_0x4291fc});if(as(_0x4200de)||!_0x535546||!_0x535546['workbook'])throw new Error(_0x2282a8(0x1c6));const _0x4b0379=(_0x52a479=_0x1cc5c1==null?void 0x0:_0x1cc5c1[_0x2282a8(0x224)])!=null?_0x52a479:0x0;if(_0x4291fc!==0x0&&_0x535546[_0x2282a8(0x1f5)]+_0x4b0379!==_0x4291fc)throw new Error(_0x2282a8(0x2bc));const {workbook:_0xf99d5c}=_0x535546,_0x25ea38=_0xf99d5c[_0x2282a8(0x175)]?Object[_0x2282a8(0x1b0)](_0xf99d5c[_0x2282a8(0x175)])['map'](([_0x3553aa,_0x428617])=>{const _0x2c9de0=_0x2282a8;var _0x48139e,_0x448f0d;return(_0x448f0d=(_0x48139e=_0x428617['blocks'])==null?void 0x0:_0x48139e[_0x2c9de0(0x2d3)](_0x9d9296=>_0x9d9296))!=null?_0x448f0d:[];})[_0x2282a8(0x255)]():[],_0x497820=(await Promise[_0x2282a8(0x344)](_0x25ea38[_0x2282a8(0x2d3)](_0x5a71cc=>this[_0x2282a8(0x1f3)][_0x2282a8(0x2fb)](_0x3181a3,{'unitID':_0x26a6a3,'type':H[_0x2282a8(0x20e)],'blockID':_0x5a71cc})[_0x2282a8(0x193)](_0x5d61ab=>_0x5d61ab['block']))))['filter'](_0x5ad482=>!!_0x5ad482),_0x33db99=await _0x53b73e(_0x535546,_0x497820,_0x3181a3);return(_0x322258=this[_0x2282a8(0x225)][_0x2282a8(0x18f)](_0x26a6a3))==null||_0x322258[_0x2282a8(0x1fe)](_0x4291fc,{'workbook':_0x33db99}),new Promise(_0x170a4f=>{const _0x542ffd=_0x2282a8,_0x314789=this[_0x542ffd(0x25f)][_0x542ffd(0x1f1)](_0x4a0cc0['UNIVER_SHEET']);_0x314789?(this[_0x542ffd(0x25f)][_0x542ffd(0x1c1)](_0x314789[_0x542ffd(0x177)]()),setTimeout(()=>{const _0x5bfbfd=_0x542ffd;this['_createUnit'](_0x33db99,_0x1cc5c1),this[_0x5bfbfd(0x1e7)]['refreshRangeProtectPermission'](),_0x170a4f(!0x0);},0x0)):(this[_0x542ffd(0x2f0)](_0x33db99,_0x1cc5c1),_0x170a4f(!0x0));});}[_0x3abf1a(0x2f0)](_0x31bf90,_0x49d7df){const _0x4cb5c9=_0x3abf1a,_0x370e77=this[_0x4cb5c9(0x25f)][_0x4cb5c9(0x241)](_0x4a0cc0['UNIVER_SHEET'],_0x31bf90);this['_univerInstanceService'][_0x4cb5c9(0x35d)](_0x370e77['getUnitId']());const _0x5eb85a=this[_0x4cb5c9(0x250)][_0x4cb5c9(0x1ae)][_0x4cb5c9(0x290)](this[_0x4cb5c9(0x250)][_0x4cb5c9(0x1ae)][_0x4cb5c9(0x1d2)]()[_0x4cb5c9(0x272)]);return _0x49d7df==null||_0x49d7df['forEach'](_0x17e66b=>{const _0xef2f01=_0x4cb5c9,_0x4711f6=_0x17e66b['mutations'][_0xef2f01(0x2d3)](_0x2520ff=>({'id':_0x2520ff['id'],'params':JSON[_0xef2f01(0x2eb)](_0x2520ff[_0xef2f01(0x221)])}));({..._0x17e66b,'mutations':_0x5eb85a(_0x4711f6,null)||_0x4711f6}[_0xef2f01(0x27e)][_0xef2f01(0x1cf)](_0x52db82=>{const _0x1bfba7=_0xef2f01;this[_0x1bfba7(0x229)]['hasCommand'](_0x52db82['id'])&&this[_0x1bfba7(0x229)][_0x1bfba7(0x356)](_0x52db82['id'],_0x52db82[_0x1bfba7(0x1e6)]);}));}),_0x370e77;}};F=us([T(0x0,_0x1d0231),T(0x1,_0x53b098),T(0x2,_0x1f1a06),T(0x3,_0x5837cc),T(0x4,_0x13d20a(_0x5b2e99)),T(0x5,_0x13d20a(_0x4fcd21)),T(0x6,_0x13d20a(_0x2a8a28))],F);function ds(_0x7a40c){const _0x37f9ba=_0x3abf1a;var _0x12287c,_0x5cd5ba;const _0x3781cf=[],{entities:_0x15003a,historyIds:_0xa98816}=_0x7a40c,{datas:_0xf761e3,users:_0x3e9ec8}=_0x15003a;for(const _0x27c5b0 of _0xa98816){const _0x4355d6=_0xf761e3[_0x27c5b0];if(_0x4355d6){const _0x1d8eb9=!!((_0x12287c=_0x3e9ec8[_0x4355d6['userId']])!=null&&_0x12287c[_0x37f9ba(0x20b)]);_0x3781cf[_0x37f9ba(0x1ac)]({'unitId':_0x4355d6[_0x37f9ba(0x1da)],'user':_0x1d8eb9?'':((_0x5cd5ba=_0x3e9ec8==null?void 0x0:_0x3e9ec8[_0x4355d6[_0x37f9ba(0x32b)]])==null?void 0x0:_0x5cd5ba[_0x37f9ba(0x30d)])||'','isAnonymous':_0x1d8eb9,'id':_0x27c5b0,'time':_0x4355d6[_0x37f9ba(0x1a7)]?Number(_0x4355d6[_0x37f9ba(0x1a7)]):void 0x0,'commands':_0x4355d6[_0x37f9ba(0x307)],'startRev':Number(_0x4355d6[_0x37f9ba(0x1c0)]),'endRev':Number(_0x4355d6[_0x37f9ba(0x340)]),'recoverTime':_0x4355d6[_0x37f9ba(0x2e2)]?Number(_0x4355d6[_0x37f9ba(0x2e2)]):void 0x0,'additionalFields':_0x4355d6[_0x37f9ba(0x2a5)]});}}return _0x3781cf;}var vs=Object[_0x3abf1a(0x271)],Es=(_0x1d7da3,_0x4565c9,_0x30cebc,_0x3b1dde)=>{for(var _0xc18ee8=_0x3b1dde>0x1?void 0x0:_0x3b1dde?vs(_0x4565c9,_0x30cebc):_0x4565c9,_0x388490=_0x1d7da3['length']-0x1,_0xb341ba;_0x388490>=0x0;_0x388490--)(_0xb341ba=_0x1d7da3[_0x388490])&&(_0xc18ee8=_0xb341ba(_0xc18ee8)||_0xc18ee8);return _0xc18ee8;},V=(_0xf2ee70,_0x2609d5)=>(_0x106c6a,_0x50145c)=>_0x2609d5(_0x106c6a,_0x50145c,_0xf2ee70),ae=(_0x710b3c=>(_0x710b3c[_0x3abf1a(0x25b)]=_0x3abf1a(0x18c),_0x710b3c['Exited']=_0x3abf1a(0x247),_0x710b3c[_0x3abf1a(0x1f2)]=_0x3abf1a(0x214),_0x710b3c))(ae||{}),C=(_0x2c6d0d=>(_0x2c6d0d[_0x3abf1a(0x347)]=_0x3abf1a(0x26a),_0x2c6d0d['Loading']='loading',_0x2c6d0d[_0x3abf1a(0x198)]=_0x3abf1a(0x1b4),_0x2c6d0d))(C||{});const Ss='VIRTUAL_VERSION_NOW';let g=class extends _0x473675{constructor(_0x2bfc0c,_0x5e328f,_0x18f499,_0x31ff23){const _0x5cf4bc=_0x3abf1a;super(),l(this,_0x5cf4bc(0x28b),new _0x20620f([])),l(this,_0x5cf4bc(0x345),this[_0x5cf4bc(0x28b)]['asObservable']()),l(this,_0x5cf4bc(0x244),new _0x20620f('')),l(this,_0x5cf4bc(0x256),this[_0x5cf4bc(0x244)][_0x5cf4bc(0x1a5)]()),l(this,'_status$',new _0x20620f(_0x5cf4bc(0x18c))),l(this,_0x5cf4bc(0x262),this[_0x5cf4bc(0x315)]['asObservable']()),l(this,_0x5cf4bc(0x326),new _0x20620f(0x0)),l(this,'revertRevision$',this[_0x5cf4bc(0x326)][_0x5cf4bc(0x1a5)]()),l(this,_0x5cf4bc(0x306),new _0x20620f('')),l(this,'unitId$',this['_unitId$'][_0x5cf4bc(0x1a5)]()),l(this,_0x5cf4bc(0x201),new _0x20620f(!0x1)),l(this,_0x5cf4bc(0x33a),this[_0x5cf4bc(0x201)][_0x5cf4bc(0x1a5)]()),l(this,_0x5cf4bc(0x26b),new _0x20620f([])),l(this,_0x5cf4bc(0x236),this['_creators$'][_0x5cf4bc(0x1a5)]()),l(this,_0x5cf4bc(0x1a8),new _0x20620f('init')),l(this,'loadingState$',this['_loadingState$'][_0x5cf4bc(0x1a5)]()),l(this,'_lastLabel',null),l(this,_0x5cf4bc(0x1a0),!0x0),l(this,_0x5cf4bc(0x27f),new Map()),l(this,_0x5cf4bc(0x33f)),l(this,_0x5cf4bc(0x2cb)),l(this,_0x5cf4bc(0x204)),l(this,_0x5cf4bc(0x342),!0x1),l(this,_0x5cf4bc(0x2c7),null),(this[_0x5cf4bc(0x349)]=_0x2bfc0c,this[_0x5cf4bc(0x1bf)]=_0x5e328f,this[_0x5cf4bc(0x2fe)]=_0x18f499,this['_historyFetchService']=_0x31ff23);}[_0x3abf1a(0x212)](_0x5406f6){const _0x51e5f9=_0x3abf1a;this[_0x51e5f9(0x201)]['next'](_0x5406f6);}get[_0x3abf1a(0x222)](){const _0x45ed6b=_0x3abf1a;return this[_0x45ed6b(0x201)][_0x45ed6b(0x2da)];}async[_0x3abf1a(0x249)](_0x395a66,_0xb4519e,_0x55f226){const _0x1c6797=_0x3abf1a;this[_0x1c6797(0x33f)]=_0xb4519e,this[_0x1c6797(0x342)]=_0x55f226,await this['loadInitialVersions'](_0x395a66);}async[_0x3abf1a(0x2f4)](_0x3ae416,_0x1b3d39){const _0x235751=_0x3abf1a;this[_0x235751(0x306)][_0x235751(0x33d)](_0x3ae416),this[_0x235751(0x2c7)]=_0x1b3d39!=null?_0x1b3d39:null,this['_setFetching'](!0x0);const _0x262426=await this[_0x235751(0x32f)][_0x235751(0x265)](_0x3ae416,_0x1b3d39);if(this[_0x235751(0x212)](!0x1),_0x262426){const {versions:_0x120b5f,lastLabel:_0x2ec5a5,hasMore:_0x576832,members:_0x113e67}=_0x262426;_0x120b5f[_0x235751(0x224)]===0x0&&_0x120b5f[_0x235751(0x1ac)]({'unitId':_0x3ae416,'id':Ss,'startRev':0x1,'endRev':0x0,'time':Date['now'](),'user':this[_0x235751(0x2fe)]['t'](_0x235751(0x35e)),'commands':[],'isAnonymous':!0x1}),this['_updateVersions'](_0x120b5f,_0x576832,_0x2ec5a5,!0x1,_0x113e67),this[_0x235751(0x244)][_0x235751(0x33d)](_0x120b5f[0x0]['id']);}else this[_0x235751(0x315)][_0x235751(0x33d)](_0x235751(0x214));}async[_0x3abf1a(0x2db)](){const _0x3d06cd=_0x3abf1a;if(!this[_0x3d06cd(0x1db)]||!this['_hasMore']||this[_0x3d06cd(0x222)])return!0x1;this[_0x3d06cd(0x212)](!0x0);const _0x2c922d=await this[_0x3d06cd(0x32f)]['getVersions'](this['unitId'],{'lastLabel':this[_0x3d06cd(0x1db)],...this['_loadParams']});if(this['_setFetching'](!0x1),_0x2c922d){const {versions:_0x3e870b,lastLabel:_0x45e165,hasMore:_0x1cc31e,members:_0x208931}=_0x2c922d;this[_0x3d06cd(0x1f4)](_0x3e870b,_0x1cc31e,_0x45e165,!0x0,_0x208931);}else this[_0x3d06cd(0x349)][_0x3d06cd(0x2dd)]({'content':this[_0x3d06cd(0x2fe)]['t']('editHistory.panel.listFetchError'),'type':_0x1f5fc1['Error'],'duration':0xbb8});return!0x0;}async[_0x3abf1a(0x302)](){const _0x4ea3a1=_0x3abf1a,{unitId:_0x49d5df}=this;if(!_0x49d5df)return;const _0x4f4b2d=await this[_0x4ea3a1(0x32f)][_0x4ea3a1(0x34a)](_0x49d5df);_0x4f4b2d&&this[_0x4ea3a1(0x26b)]['next'](_0x4f4b2d);}async[_0x3abf1a(0x30a)](_0x29fe50){const _0x29fc6c=_0x3abf1a;var _0x4055df;const _0x3aa888=(_0x4055df=this[_0x29fc6c(0x28b)][_0x29fc6c(0x2da)])==null?void 0x0:_0x4055df[_0x29fc6c(0x191)](_0x2a7079=>_0x2a7079['id']===_0x29fe50),{endRev:_0xd86465}=_0x3aa888||{};_0xd86465||_0xd86465===0x0?(this[_0x29fc6c(0x1a8)][_0x29fc6c(0x33d)](_0x29fc6c(0x320)),await this[_0x29fc6c(0x32f)][_0x29fc6c(0x200)](this[_0x29fc6c(0x1da)],_0xd86465),this[_0x29fc6c(0x1a8)][_0x29fc6c(0x33d)](_0x29fc6c(0x1b4))):this['_status$'][_0x29fc6c(0x33d)](_0x29fc6c(0x214));}async[_0x3abf1a(0x316)](_0x115bcb){const _0x5e6f01=_0x3abf1a,_0x42a6d9=_0x115bcb?this[_0x5e6f01(0x2c0)](_0x115bcb):this[_0x5e6f01(0x2a4)]();if(!_0x42a6d9)return;const _0x376f9f=_0x42a6d9[_0x5e6f01(0x228)],_0x1a9dfd=re(_0x42a6d9[_0x5e6f01(0x35c)],this[_0x5e6f01(0x2fe)][_0x5e6f01(0x219)]());await this[_0x5e6f01(0x1bf)]['confirm']({'id':'confirm-revert-revision','title':{'title':this[_0x5e6f01(0x2fe)]['t'](_0x5e6f01(0x17f))},'children':{'title':this['_localeService']['t'](_0x5e6f01(0x1ad))+_0x5e6f01(0x343)+_0x1a9dfd[_0x5e6f01(0x1fd)]+'\x20'+_0x1a9dfd[_0x5e6f01(0x35c)]+')'},'cancelText':this['_localeService']['t'](_0x5e6f01(0x24f)),'confirmText':this[_0x5e6f01(0x2fe)]['t']('editHistory.panel.confirm')})&&this[_0x5e6f01(0x326)][_0x5e6f01(0x33d)](_0x376f9f);}[_0x3abf1a(0x1f4)](_0x5efb7d,_0x4d45f7,_0x3d3d47,_0x574e36,_0x19d3b7){const _0x32665e=_0x3abf1a;this[_0x32665e(0x206)](_0x574e36?this[_0x32665e(0x28b)]['value'][_0x32665e(0x32a)](_0x5efb7d):_0x5efb7d),this[_0x32665e(0x1a0)]=_0x4d45f7,this['_lastLabel']=_0x3d3d47,_0x19d3b7&&Object[_0x32665e(0x1bc)](_0x19d3b7)[_0x32665e(0x1cf)](_0x6f1655=>this[_0x32665e(0x27f)][_0x32665e(0x1fe)](_0x6f1655,_0x19d3b7[_0x6f1655]));}['getCurrentVersion'](){const _0x4644c=_0x3abf1a;return this[_0x4644c(0x2c0)](this['_currentVersion$'][_0x4644c(0x2da)]);}['_setVersions'](_0x59f633){const _0x455d45=_0x3abf1a;this[_0x455d45(0x28b)][_0x455d45(0x33d)](_0x59f633);}[_0x3abf1a(0x2c0)](_0x222a15){const _0x291c4a=_0x3abf1a;var _0x4f055f;return(_0x4f055f=this[_0x291c4a(0x28b)][_0x291c4a(0x2da)])==null?void 0x0:_0x4f055f['find'](_0x24bc66=>_0x24bc66['id']===_0x222a15);}[_0x3abf1a(0x2cf)](_0x480049){const _0x21f13c=_0x3abf1a;return this[_0x21f13c(0x27f)][_0x21f13c(0x18f)](_0x480049);}[_0x3abf1a(0x20d)](){const _0x35dc4e=_0x3abf1a;this['_maskElement']=document[_0x35dc4e(0x1f9)](_0x35dc4e(0x22d)),this[_0x35dc4e(0x204)][_0x35dc4e(0x19b)]='history-mask',this[_0x35dc4e(0x204)][_0x35dc4e(0x23d)][_0x35dc4e(0x2e4)]=_0x35dc4e(0x17a),this['_maskElement'][_0x35dc4e(0x23d)][_0x35dc4e(0x28f)]='0',this[_0x35dc4e(0x204)][_0x35dc4e(0x23d)]['left']='0',this['_maskElement'][_0x35dc4e(0x23d)][_0x35dc4e(0x26c)]=_0x35dc4e(0x180),this[_0x35dc4e(0x204)][_0x35dc4e(0x23d)][_0x35dc4e(0x1ee)]=_0x35dc4e(0x180),this[_0x35dc4e(0x204)]['style'][_0x35dc4e(0x270)]='rgba(225,\x20225,\x20225,\x200.5)',this['_maskElement'][_0x35dc4e(0x23d)][_0x35dc4e(0x17b)]=_0x35dc4e(0x1b5),this[_0x35dc4e(0x204)]['style']['display']=_0x35dc4e(0x24d),this['_maskElement']['style']['justifyContent']=_0x35dc4e(0x2b4),this['_maskElement'][_0x35dc4e(0x23d)][_0x35dc4e(0x1b7)]=_0x35dc4e(0x1ea),this[_0x35dc4e(0x204)][_0x35dc4e(0x23d)][_0x35dc4e(0x29f)]=_0x35dc4e(0x2f9),this[_0x35dc4e(0x2cb)]['append'](this['_maskElement']);}[_0x3abf1a(0x235)](){const _0x595046=_0x3abf1a;var _0x376d9d;const _0x1890c5=(_0x376d9d=document['getElementById'](this['_historyContainerId']))==null?void 0x0:_0x376d9d['querySelector']('.univer-app-container-content');_0x1890c5&&(this[_0x595046(0x2cb)]=_0x1890c5,this[_0x595046(0x20d)]());}['showMask'](){const _0x32f4ca=_0x3abf1a;this[_0x32f4ca(0x2cb)]||this[_0x32f4ca(0x235)](),this[_0x32f4ca(0x204)]&&(this[_0x32f4ca(0x204)][_0x32f4ca(0x23d)]['display']=_0x32f4ca(0x24d));}['hideMask'](){const _0x5df158=_0x3abf1a;this[_0x5df158(0x204)]&&(this[_0x5df158(0x204)][_0x5df158(0x23d)][_0x5df158(0x29f)]=_0x5df158(0x2f9));}set[_0x3abf1a(0x1dc)](_0x596f3e){const _0x2d93d5=_0x3abf1a;this[_0x2d93d5(0x315)]['next'](_0x596f3e);}set['currentVersion'](_0x4dc2cf){const _0x571153=_0x3abf1a;_0x4dc2cf!==this[_0x571153(0x244)][_0x571153(0x2da)]&&this[_0x571153(0x244)][_0x571153(0x33d)](_0x4dc2cf);}get['currentVersion'](){const _0x1645af=_0x3abf1a;return this[_0x1645af(0x244)]['value'];}set[_0x3abf1a(0x1da)](_0x5ade50){const _0x36492a=_0x3abf1a;this[_0x36492a(0x306)]['next'](_0x5ade50);}get[_0x3abf1a(0x1da)](){const _0x9bc89c=_0x3abf1a;return this[_0x9bc89c(0x306)][_0x9bc89c(0x2da)];}get['canRevert'](){const _0x509086=_0x3abf1a;return this[_0x509086(0x342)];}get[_0x3abf1a(0x2cd)](){const _0x38a137=_0x3abf1a;return this['_loadingState$'][_0x38a137(0x2da)];}};g=Es([V(0x0,_0x359e4b),V(0x1,_0x18fd8d),V(0x2,_0x13d20a(_0x52069a)),V(0x3,_0x13d20a(F))],g);function j({ref:_0x3a547d,..._0x34bbe9}){const _0x2680f9=_0x3abf1a,{icon:_0x2b3ef0,id:_0x42aeb2,className:_0x52818a,extend:_0x48f43c,..._0x2267de}=_0x34bbe9,_0x149ddf=(_0x2680f9(0x295)+_0x42aeb2+'\x20'+(_0x52818a||''))[_0x2680f9(0x2c5)](),_0x44e1d1=_0x3d8a34('_'+gs());return Le(_0x2b3ef0,''+_0x42aeb2,{'defIds':_0x2b3ef0[_0x2680f9(0x1e5)],'idSuffix':_0x44e1d1[_0x2680f9(0x26f)]},{'ref':_0x3a547d,'className':_0x149ddf,..._0x2267de},_0x48f43c);}function Le(_0x14868f,_0x151682,_0x82f524,_0x207098,_0xab7018){const _0x51d0d6=_0x3abf1a;return _0x151fa9(_0x14868f[_0x51d0d6(0x1a3)],{'key':_0x151682,...ms(_0x14868f,_0x82f524,_0xab7018),..._0x207098},(fs(_0x14868f,_0x82f524)[_0x51d0d6(0x23a)]||[])[_0x51d0d6(0x2d3)]((_0x2040e1,_0x2dc667)=>Le(_0x2040e1,_0x151682+'-'+_0x14868f[_0x51d0d6(0x1a3)]+'-'+_0x2dc667,_0x82f524,void 0x0,_0xab7018)));}function ms(_0xfa264f,_0x25d468,_0x497780){const _0x579de6=_0x3abf1a,_0x215b69={..._0xfa264f[_0x579de6(0x1e0)]};_0x497780!=null&&_0x497780['colorChannel1']&&_0x215b69['fill']===_0x579de6(0x1f0)&&(_0x215b69[_0x579de6(0x25c)]=_0x497780[_0x579de6(0x1f0)]),_0xfa264f[_0x579de6(0x1a3)]===_0x579de6(0x34c)&&_0x215b69['id']&&(_0x215b69['id']=_0x215b69['id']+_0x25d468[_0x579de6(0x2fd)]),Object[_0x579de6(0x1b0)](_0x215b69)[_0x579de6(0x1cf)](([_0x32fb06,_0x55362f])=>{const _0x560f2e=_0x579de6;_0x32fb06===_0x560f2e(0x34c)&&typeof _0x55362f==_0x560f2e(0x31b)&&(_0x215b69[_0x32fb06]=_0x55362f[_0x560f2e(0x2f1)](/url\(#(.*)\)/,_0x560f2e(0x17c)+_0x25d468['idSuffix']+')'));});const {defIds:_0x389dc4}=_0x25d468;return!_0x389dc4||_0x389dc4[_0x579de6(0x224)]===0x0||(_0xfa264f[_0x579de6(0x1a3)]===_0x579de6(0x199)&&_0x215b69['xlink:href']&&(_0x215b69[_0x579de6(0x2a1)]=_0x215b69[_0x579de6(0x2a1)]+_0x25d468['idSuffix']),Object['entries'](_0x215b69)[_0x579de6(0x1cf)](([_0x401487,_0xaa16a2])=>{const _0xce7ed5=_0x579de6;typeof _0xaa16a2==_0xce7ed5(0x31b)&&(_0x215b69[_0x401487]=_0xaa16a2[_0xce7ed5(0x2f1)](/url\(#(.*)\)/,_0xce7ed5(0x17c)+_0x25d468[_0xce7ed5(0x2fd)]+')'));})),_0x215b69;}function fs(_0x35f713,_0x1fc326){const _0x230f99=_0x3abf1a;var _0x1f4cd4;const {defIds:_0x141f49}=_0x1fc326;return!_0x141f49||_0x141f49[_0x230f99(0x224)]===0x0?_0x35f713:_0x35f713[_0x230f99(0x1a3)]==='defs'&&((_0x1f4cd4=_0x35f713[_0x230f99(0x23a)])!=null&&_0x1f4cd4[_0x230f99(0x224)])?{..._0x35f713,'children':_0x35f713[_0x230f99(0x23a)]['map'](_0x5b986b=>typeof _0x5b986b[_0x230f99(0x1e0)]['id']=='string'&&_0x141f49&&_0x141f49['includes'](_0x5b986b[_0x230f99(0x1e0)]['id'])?{..._0x5b986b,'attrs':{..._0x5b986b[_0x230f99(0x1e0)],'id':_0x5b986b['attrs']['id']+_0x1fc326[_0x230f99(0x2fd)]}}:_0x5b986b)}:_0x35f713;}function gs(){const _0x308eff=_0x3abf1a;return Math[_0x308eff(0x259)]()[_0x308eff(0x2a8)](0x24)['substring'](0x2,0x8);}j[_0x3abf1a(0x242)]='UniverIcon';const ps={'tag':_0x3abf1a(0x2e0),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0x3abf1a(0x31f),'width':_0x3abf1a(0x264),'height':_0x3abf1a(0x264)},'children':[{'tag':_0x3abf1a(0x2be),'attrs':{'fill':_0x3abf1a(0x359),'d':_0x3abf1a(0x251)}}]},Ce=_0x3e6fb6(function(_0x32c5ee,_0x51d53c){const _0x107f63=_0x3abf1a;return _0x151fa9(j,Object['assign']({},_0x32c5ee,{'id':_0x107f63(0x1a6),'ref':_0x51d53c,'icon':ps}));});Ce[_0x3abf1a(0x242)]=_0x3abf1a(0x1e9);const Ns={'tag':_0x3abf1a(0x2e0),'attrs':{'xmlns':_0x3abf1a(0x32c),'fill':_0x3abf1a(0x2f9),'viewBox':_0x3abf1a(0x30c),'width':_0x3abf1a(0x264),'height':_0x3abf1a(0x264)},'children':[{'tag':'g','attrs':{'fill':'currentColor','clipPath':_0x3abf1a(0x31c)},'children':[{'tag':'path','attrs':{'d':_0x3abf1a(0x1d7)}},{'tag':_0x3abf1a(0x2be),'attrs':{'d':_0x3abf1a(0x2b0),'fillRule':'evenodd','clipRule':_0x3abf1a(0x19d)}}]},{'tag':_0x3abf1a(0x2d7),'attrs':{},'children':[{'tag':_0x3abf1a(0x1d1),'attrs':{'id':_0x3abf1a(0x258)},'children':[{'tag':_0x3abf1a(0x1a4),'attrs':{'width':0x10,'height':0x10,'y':0.05,'fill':_0x3abf1a(0x1b5),'rx':0x4}}]}]}],'defIds':[_0x3abf1a(0x258)]},ye=_0x3e6fb6(function(_0x3edcf6,_0x3e9c58){const _0x3c9055=_0x3abf1a;return _0x151fa9(j,Object['assign']({},_0x3edcf6,{'id':_0x3c9055(0x21c),'ref':_0x3e9c58,'icon':Ns}));});ye[_0x3abf1a(0x242)]=_0x3abf1a(0x2f7);const Os={'tag':'svg','attrs':{'xmlns':_0x3abf1a(0x32c),'fill':_0x3abf1a(0x2f9),'viewBox':_0x3abf1a(0x31f),'width':'1em','height':_0x3abf1a(0x264)},'children':[{'tag':_0x3abf1a(0x2be),'attrs':{'fill':'#0B9EFB','d':_0x3abf1a(0x1b1),'fillOpacity':0.2,'fillRule':'evenodd','clipRule':_0x3abf1a(0x19d)}},{'tag':_0x3abf1a(0x2be),'attrs':{'fill':_0x3abf1a(0x351),'d':_0x3abf1a(0x20a),'fillRule':_0x3abf1a(0x19d),'clipRule':_0x3abf1a(0x19d)}}]},oe=_0x3e6fb6(function(_0x2178e4,_0x24ecd6){const _0x4aa0ec=_0x3abf1a;return _0x151fa9(j,Object['assign']({},_0x2178e4,{'id':_0x4aa0ec(0x190),'ref':_0x24ecd6,'icon':Os}));});oe[_0x3abf1a(0x242)]=_0x3abf1a(0x18e);function Rs(){const _0x11626d=_0x3abf1a;var _0x5af6ae;const _0x40a060=_0x1d7215(g),_0x393bbd=_0x1d7215(_0x52069a),_0x2cd1c0=_0x3bb55c(()=>{const _0x176048=_0x3dc9;_0x40a060[_0x176048(0x1dc)]=ae[_0x176048(0x2a3)];},[_0x40a060]),_0x588648=_0x3bb55c(()=>{const _0x14b476=_0x3dc9;_0x40a060[_0x14b476(0x316)]();},[_0x40a060]),_0xa580cd=_0x3249fe(_0x40a060[_0x11626d(0x256)]),_0x45e4b5=_0x3249fe(_0x40a060[_0x11626d(0x345)]),_0x32bffb=_0xa580cd===((_0x5af6ae=_0x45e4b5==null?void 0x0:_0x45e4b5[0x0])==null?void 0x0:_0x5af6ae['id']),_0x2dd4bb=_0xa580cd!==''&&!_0x32bffb&&_0x40a060[_0x11626d(0x1d6)];return _0x3dee13(_0x11626d(0x22d),{'className':_0x2d904b(_0x11626d(0x1d9),_0x1f99fe),'children':[_0x28a182('a',{'className':_0x11626d(0x276),'role':_0x11626d(0x24c),'onClick':_0x2cd1c0,'children':_0x28a182(Ce,{'className':_0x11626d(0x2e5)})}),_0x28a182(_0x11626d(0x22d),{'className':_0x11626d(0x1d4),'children':_0x2dd4bb&&_0x28a182(_0x4ffa7a,{'variant':_0x11626d(0x291),'onClick':_0x588648,'children':_0x393bbd['t'](_0x11626d(0x2f8))})})]});}var Ts=Object[_0x3abf1a(0x271)],Ds=(_0x433415,_0x4aa9f6,_0x4bd0dd,_0x31857b)=>{for(var _0x1e4fc4=_0x31857b>0x1?void 0x0:_0x31857b?Ts(_0x4aa9f6,_0x4bd0dd):_0x4aa9f6,_0x463417=_0x433415['length']-0x1,_0x4872d1;_0x463417>=0x0;_0x463417--)(_0x4872d1=_0x433415[_0x463417])&&(_0x1e4fc4=_0x4872d1(_0x1e4fc4)||_0x1e4fc4);return _0x1e4fc4;},M=(_0x55b95f,_0x5143ee)=>(_0x478780,_0x1b9c92)=>_0x5143ee(_0x478780,_0x1b9c92,_0x55b95f);let Y=class extends _0x473675{constructor(_0x50cee6,_0x172b45,_0x292905,_0x2c7d9b,_0x284afd,_0x19c37b){const _0x305df6=_0x3abf1a;super(),this['_permissionService']=_0x50cee6,this[_0x305df6(0x2cc)]=_0x172b45,this[_0x305df6(0x349)]=_0x292905,this[_0x305df6(0x2fe)]=_0x2c7d9b,this[_0x305df6(0x1b3)]=_0x284afd,this['_injector']=_0x19c37b,this[_0x305df6(0x31a)]();}[_0x3abf1a(0x31a)](){const _0x191d9b=_0x3abf1a;this[_0x191d9b(0x311)](this[_0x191d9b(0x1b3)]['currentVersion$'][_0x191d9b(0x22e)](_0x44a8bb=>{const _0x3b66de=_0x191d9b;_0x44a8bb&&this[_0x3b66de(0x1b3)][_0x3b66de(0x30a)](_0x44a8bb);})),this[_0x191d9b(0x311)](this[_0x191d9b(0x239)]['permissionPointUpdate$'][_0x191d9b(0x22e)](_0x282230=>{const _0x5ad41a=_0x191d9b,_0x4e2565=this[_0x5ad41a(0x1b3)]['unitId'];_0x4e2565&&(_0x282230['subType']===D[_0x5ad41a(0x25a)]&&_0x282230[_0x5ad41a(0x2da)]===!0x0&&this['_permissionService']['updatePermissionPoint'](new _0x1bffba(_0x4e2565)['id'],!0x1),_0x282230[_0x5ad41a(0x174)]===D[_0x5ad41a(0x2ff)]&&_0x282230[_0x5ad41a(0x2da)]===!0x0&&this[_0x5ad41a(0x239)][_0x5ad41a(0x223)](new _0x19e226(_0x4e2565)['id'],!0x1),_0x282230[_0x5ad41a(0x174)]===D[_0x5ad41a(0x2d9)]&&_0x282230[_0x5ad41a(0x2da)]===!0x0&&this['_permissionService'][_0x5ad41a(0x223)](new _0x1899ca(_0x4e2565)['id'],!0x1),_0x282230[_0x5ad41a(0x174)]===D[_0x5ad41a(0x268)]&&_0x282230[_0x5ad41a(0x2da)]===!0x0&&this[_0x5ad41a(0x239)][_0x5ad41a(0x223)](new _0x5417aa(_0x4e2565)['id'],!0x1),_0x282230[_0x5ad41a(0x174)]===D[_0x5ad41a(0x185)]&&_0x282230[_0x5ad41a(0x2da)]===!0x0&&this[_0x5ad41a(0x239)][_0x5ad41a(0x223)](new _0x1bffba(_0x4e2565)['id'],!0x1),_0x282230['subType']===D[_0x5ad41a(0x323)]&&_0x282230[_0x5ad41a(0x2da)]===!0x0&&this[_0x5ad41a(0x239)]['updatePermissionPoint'](new _0x1bffba(_0x4e2565)['id'],!0x1));})),this['disposeWithMe'](this['_uiPartsService'][_0x191d9b(0x2ad)](_0x2b04a7[_0x191d9b(0x336)],()=>_0x3bc54d(Rs,this[_0x191d9b(0x176)])));let _0x347ff2;this[_0x191d9b(0x311)](this[_0x191d9b(0x1b3)][_0x191d9b(0x337)][_0x191d9b(0x22e)](_0x37e25d=>{const _0x26d456=_0x191d9b;_0x347ff2==null||_0x347ff2[_0x26d456(0x331)](),_0x37e25d===C['Loading']&&(this['_historyManagerService']['showMask'](),_0x347ff2=this[_0x26d456(0x349)][_0x26d456(0x2dd)]({'type':_0x1f5fc1['Info'],'content':this['_localeService']['t']('editHistory.info.loading')})),_0x37e25d===C[_0x26d456(0x198)]&&this[_0x26d456(0x1b3)][_0x26d456(0x22f)]();}));}};Y=Ds([M(0x0,_0x53a856),M(0x1,_0x3d434c),M(0x2,_0x359e4b),M(0x3,_0x13d20a(_0x52069a)),M(0x4,_0x13d20a(g)),M(0x5,_0x13d20a(_0x5b2fb3))],Y);var Ms=Object[_0x3abf1a(0x271)],Ps=(_0x1ce186,_0x1db7ba,_0x462d58,_0x3580fe)=>{const _0x5522d2=_0x3abf1a;for(var _0x248e96=_0x3580fe>0x1?void 0x0:_0x3580fe?Ms(_0x1db7ba,_0x462d58):_0x1db7ba,_0x49d701=_0x1ce186[_0x5522d2(0x224)]-0x1,_0xdc5e9a;_0x49d701>=0x0;_0x49d701--)(_0xdc5e9a=_0x1ce186[_0x49d701])&&(_0x248e96=_0xdc5e9a(_0x248e96)||_0x248e96);return _0x248e96;},Z=(_0x51c469,_0x20e2ed)=>(_0x55d577,_0x55b656)=>_0x20e2ed(_0x55d577,_0x55b656,_0x51c469);let $=class extends _0x473675{constructor(_0x26b723,_0x2b3b3b,_0x58f772){const _0x5c2d86=_0x3abf1a;super(),l(this,_0x5c2d86(0x1ce),new Map()),l(this,_0x5c2d86(0x30e),new _0x20620f({'ranges':new Map(),'active':null})),l(this,'currentVersionDiff$',this[_0x5c2d86(0x30e)][_0x5c2d86(0x1a5)]()),(this[_0x5c2d86(0x1b3)]=_0x26b723,this[_0x5c2d86(0x273)]=_0x2b3b3b,this[_0x5c2d86(0x1f3)]=_0x58f772,this[_0x5c2d86(0x31a)]());}[_0x3abf1a(0x31a)](){const _0x2b3df7=_0x3abf1a;this[_0x2b3df7(0x1ce)]=new Map(),this[_0x2b3df7(0x311)](this[_0x2b3df7(0x1b3)][_0x2b3df7(0x1df)][_0x2b3df7(0x22e)](_0x501473=>{const _0x1d598d=_0x2b3df7;_0x501473&&!this[_0x1d598d(0x1ce)][_0x1d598d(0x20f)](_0x501473)&&this[_0x1d598d(0x1ce)][_0x1d598d(0x1fe)](_0x501473,new Map());})),this[_0x2b3df7(0x311)](this[_0x2b3df7(0x1b3)][_0x2b3df7(0x256)][_0x2b3df7(0x22e)](async _0x1b07e2=>{const _0x43881c=_0x2b3df7;var _0x38fabd;_0x1b07e2&&(await this[_0x43881c(0x32e)](_0x1b07e2),this[_0x43881c(0x30e)][_0x43881c(0x33d)](((_0x38fabd=this[_0x43881c(0x1ce)][_0x43881c(0x18f)](this['_historyManagerService'][_0x43881c(0x1da)]))==null?void 0x0:_0x38fabd[_0x43881c(0x18f)](_0x1b07e2))||{'ranges':new Map(),'active':null}));}));}async[_0x3abf1a(0x32e)](_0x244859){const _0x33d5e3=_0x3abf1a;var _0x3846bb,_0x68c9e8;const _0x58a3c7=this['_historyManagerService'][_0x33d5e3(0x2c0)](_0x244859),_0x43f0c2=this[_0x33d5e3(0x1b3)][_0x33d5e3(0x1da)];if(!_0x58a3c7||!_0x43f0c2)return;const _0x298ce9=this[_0x33d5e3(0x1ce)][_0x33d5e3(0x18f)](_0x43f0c2);if(_0x298ce9||this[_0x33d5e3(0x1ce)][_0x33d5e3(0x1fe)](_0x43f0c2,new Map()),(_0x3846bb=this['_diffRangesMap']['get'](_0x43f0c2))!=null&&_0x3846bb['has'](_0x58a3c7['id']))return;const {startRev:_0x25e2ff,endRev:_0x3add9b}=_0x58a3c7;if(_0x25e2ff===0x1){_0x298ce9[_0x33d5e3(0x1fe)](_0x58a3c7['id'],{'ranges':new Map(),'active':null});return;}const _0xec90e4=_0x25e2ff-0x1,_0x3acbbd=_0x3add9b,_0x5cc2b1=await this[_0x33d5e3(0x1f3)][_0x33d5e3(0x33c)]({},{'unitID':_0x43f0c2,'from':_0xec90e4,'to':_0x3acbbd,'type':H[_0x33d5e3(0x20e)]});if(((_0x68c9e8=_0x5cc2b1[_0x33d5e3(0x214)])==null?void 0x0:_0x68c9e8[_0x33d5e3(0x2a2)])===U['OK']){const _0x5d1d4a=_0x5cc2b1['changesets'][_0x33d5e3(0x2d3)](_0x124613=>((_0x124613[_0x33d5e3(0x27e)]===null||_0x124613[_0x33d5e3(0x27e)]===void 0x0)&&(_0x124613[_0x33d5e3(0x27e)]=[]),_0x2f7129(_0x124613)))[_0x33d5e3(0x2d3)](_0xb2139b=>_0xb2139b[_0x33d5e3(0x27e)][_0x33d5e3(0x2d3)](_0x3a5eb4=>({..._0x3a5eb4,'params':{..._0x3a5eb4[_0x33d5e3(0x1e6)],'memberId':_0xb2139b[_0x33d5e3(0x279)]}})))[_0x33d5e3(0x255)](),_0x5b01d6=await this[_0x33d5e3(0x196)](_0x5d1d4a),_0x2b95a5=this[_0x33d5e3(0x35b)](_0x5d1d4a),_0x306145=this['_extractRanges'](_0x5b01d6);_0x298ce9['set'](_0x58a3c7['id'],{'ranges':_0x306145,'active':_0x2b95a5});}}async[_0x3abf1a(0x196)](_0x38fd8a){const _0x5caed3=_0x3abf1a;let _0x5845bd=[];for(let _0x506a77=0x0;_0x506a77<_0x38fd8a['length'];_0x506a77++){const _0x47c3ef=_0x38fd8a[_0x506a77];if(_0x5845bd[_0x5caed3(0x1ac)](_0x47c3ef),_0x506a77!==_0x38fd8a[_0x5caed3(0x224)]-0x1){const _0x4b4732=_0x38fd8a[_0x506a77+0x1],_0x2f4a19=this[_0x5caed3(0x273)][_0x5caed3(0x261)](_0x5845bd,[_0x4b4732]);_0x589c6e(_0x2f4a19)?_0x5845bd=_0x2f4a19['m1Prime']:_0x5845bd=[];}_0x506a77%0xa===0x0&&_0x506a77>0x0&&await this[_0x5caed3(0x1fc)]();}return _0x5845bd;}['_yieldToMain'](){return new Promise(_0x5b0067=>{const _0x3ff633=_0x3dc9;typeof requestIdleCallback==_0x3ff633(0x2a0)?requestIdleCallback(()=>_0x5b0067(),{'timeout':0x64}):setTimeout(_0x5b0067,0x0);});}[_0x3abf1a(0x35b)](_0x2184bb){const _0x3b389f=_0x3abf1a;let _0x1910ba=[];return _0x2184bb[_0x3b389f(0x1cf)](_0xb3630b=>{const _0x1ed8dc=_0x3b389f;if(_0xb3630b['id']===_0x3ceac9['id']){const _0x56248b=_0xb3630b['params'];_0x1910ba[_0x1ed8dc(0x1ac)](_0x56248b[_0x1ed8dc(0x274)]['id']);}else{if(_0xb3630b['id']===_0x184582['id']){const _0x37fe44=_0xb3630b['params'];_0x1910ba[_0x1ed8dc(0x224)]>0x0&&(_0x1910ba=_0x1910ba[_0x1ed8dc(0x1e8)](_0x5cd221=>_0x5cd221!==_0x37fe44[_0x1ed8dc(0x227)]));}else{if(_0xb3630b['id']===_0xc65576['id']){const _0xc9bd60=_0xb3630b[_0x1ed8dc(0x1e6)];_0xc9bd60['hidden']?_0x1910ba=_0x1910ba['filter'](_0x465f8e=>_0x465f8e!==_0xc9bd60['subUnitId']):_0x1910ba[_0x1ed8dc(0x1ac)](_0xc9bd60[_0x1ed8dc(0x227)]);}else{const _0x5c199=_0xb3630b[_0x1ed8dc(0x1e6)];_0x5c199[_0x1ed8dc(0x227)]&&_0x1910ba[_0x1ed8dc(0x1ac)](_0x5c199[_0x1ed8dc(0x227)]);}}}}),_0x1910ba[_0x3b389f(0x224)]>0x0?_0x1910ba[_0x1910ba[_0x3b389f(0x224)]-0x1]:null;}['_extractRanges'](_0x3b9378){const _0x41e6ac=_0x3abf1a,_0x35b3aa=new Map();return _0x3b9378[_0x41e6ac(0x1cf)](_0x315f78=>{const _0x63fb6b=_0x41e6ac;var _0x4d61f1,_0x40e27e;const _0x2c0c00=(_0x4d61f1=_0x315f78['params'])==null?void 0x0:_0x4d61f1[_0x63fb6b(0x29b)];if(_0x2c0c00){_0x35b3aa[_0x63fb6b(0x20f)](_0x2c0c00)||_0x35b3aa[_0x63fb6b(0x1fe)](_0x2c0c00,[]);const _0x52606f=this[_0x63fb6b(0x215)](_0x315f78);(_0x40e27e=_0x35b3aa[_0x63fb6b(0x18f)](_0x2c0c00))==null||_0x40e27e[_0x63fb6b(0x1ac)](..._0x52606f);}}),_0x35b3aa[_0x41e6ac(0x1cf)]((_0x1039db,_0x9b4197)=>{const _0x10a8a5=_0x41e6ac;_0x35b3aa['set'](_0x9b4197,this[_0x10a8a5(0x278)](_0x1039db));}),_0x35b3aa;}[_0x3abf1a(0x215)](_0x5ca378){const _0xcdb23=_0x3abf1a;switch(_0x5ca378['id']){case _0x9582eb['id']:{const _0x16b785=_0x5ca378['params'];return _0x16b785['rules'][_0xcdb23(0x2d3)](_0x36d409=>_0x36d409[_0xcdb23(0x257)]['map'](_0x265d34=>({'range':_0x265d34,'unitId':_0x16b785[_0xcdb23(0x1da)],'subUnitId':_0x16b785[_0xcdb23(0x227)]})))[_0xcdb23(0x255)]();}case _0x127a03['id']:{const _0x21ae67=_0x5ca378[_0xcdb23(0x1e6)];return _0x21ae67['ranges'][_0xcdb23(0x2d3)](_0x5069fd=>({'range':_0x5069fd,'unitId':_0x21ae67[_0xcdb23(0x1da)],'subUnitId':_0x21ae67[_0xcdb23(0x227)]}));}case _0x1bc5c3['id']:{const _0x299eb7=_0x5ca378['params'];return[{'range':_0x299eb7['range'],'unitId':_0x299eb7[_0xcdb23(0x1da)],'subUnitId':_0x299eb7[_0xcdb23(0x227)]}];}case _0x3b5589['id']:{const _0x3be1d6=_0x5ca378[_0xcdb23(0x1e6)];return[{'range':_0x3be1d6[_0xcdb23(0x31e)],'unitId':_0x3be1d6['unitId'],'subUnitId':_0x3be1d6[_0xcdb23(0x227)]}];}case _0x3d9c92['id']:{const _0x428cb0=_0x5ca378[_0xcdb23(0x1e6)],{from:_0x57e707,to:_0x370451,unitId:_0x1c8a1d}=_0x428cb0;return[{'range':Ie(_0x57e707[_0xcdb23(0x2da)]),'unitId':_0x1c8a1d,'subUnitId':_0x57e707[_0xcdb23(0x227)]},{'range':Ie(_0x370451[_0xcdb23(0x2da)]),'unitId':_0x1c8a1d,'subUnitId':_0x370451[_0xcdb23(0x227)]}];}case _0x2f6b69['id']:{const _0x3c872a=_0x5ca378['params'],{unitId:_0x886af,subUnitId:_0x1526c5,sourceRange:_0x26aac8,targetRange:_0x1a1291}=_0x3c872a,_0x9a7281=_0x26aac8[_0xcdb23(0x210)]-_0x26aac8[_0xcdb23(0x1e4)]+0x1;return[{'range':_0x1a1291[_0xcdb23(0x1e4)]<=_0x26aac8[_0xcdb23(0x1e4)]?_0x1a1291:{..._0x1a1291,'startRow':_0x1a1291[_0xcdb23(0x1e4)]-_0x9a7281,'endRow':_0x1a1291['endRow']-_0x9a7281},'unitId':_0x886af,'subUnitId':_0x1526c5}];}case _0x3dddb1['id']:{const _0x5e2fd=_0x5ca378[_0xcdb23(0x1e6)],{unitId:_0x53480e,subUnitId:_0x1bb63e,sourceRange:_0x2ef879,targetRange:_0x219173}=_0x5e2fd,_0x2ee04f=_0x2ef879['endColumn']-_0x2ef879[_0xcdb23(0x322)]+0x1;return[{'range':_0x219173[_0xcdb23(0x322)]<=_0x2ef879[_0xcdb23(0x322)]?_0x219173:{..._0x219173,'startColumn':_0x219173[_0xcdb23(0x322)]-_0x2ee04f,'endColumn':_0x219173[_0xcdb23(0x266)]-_0x2ee04f},'unitId':_0x53480e,'subUnitId':_0x1bb63e}];}case _0x12e6f5['id']:{const _0x25b44c=_0x5ca378[_0xcdb23(0x1e6)],{values:_0x1ecbbf,unitId:_0x60372,subUnitId:_0x2d1643}=_0x25b44c;return Object['values'](_0x1ecbbf)[_0xcdb23(0x2d3)](_0x3dd5f9=>_0x3dd5f9[_0xcdb23(0x257)]['map'](_0x33f067=>({'range':_0x33f067,'unitId':_0x60372,'subUnitId':_0x2d1643})))[_0xcdb23(0x255)]();}case _0x394bc0['id']:{const _0x59c35e=_0x5ca378['params'],{ranges:_0x493bb3,unitId:_0x31e9bd,subUnitId:_0xc16c7b}=_0x59c35e;return _0x493bb3['map'](_0x3794df=>({'range':_0x3794df,'unitId':_0x31e9bd,'subUnitId':_0xc16c7b}));}case _0x22f865['id']:{const _0x1b5705=_0x5ca378['params'],{unitId:_0x4195ec,subUnitId:_0x22289c,range:_0x1d3216}=_0x1b5705;return[{'range':_0x1d3216,'unitId':_0x4195ec,'subUnitId':_0x22289c}];}case _0x4eed5d['id']:{const _0x5791d3=_0x5ca378['params'];return _0x5791d3[_0xcdb23(0x317)][_0xcdb23(0x257)][_0xcdb23(0x2d3)](_0x1c79c0=>({'range':_0x1c79c0,'unitId':_0x5791d3[_0xcdb23(0x1da)],'subUnitId':_0x5791d3[_0xcdb23(0x227)]}));}case _0x32982a['id']:{const _0x394ed1=_0x5ca378[_0xcdb23(0x1e6)];return _0x394ed1[_0xcdb23(0x216)]?bs(_0x394ed1[_0xcdb23(0x216)])[_0xcdb23(0x2d3)](_0x1620a3=>({'range':_0x1620a3,'unitId':_0x394ed1[_0xcdb23(0x1da)],'subUnitId':_0x394ed1['subUnitId']})):[];}case _0x89e65e['id']:{const _0x90a11=_0x5ca378['params'];return[{'range':_0x90a11[_0xcdb23(0x31e)],'unitId':_0x90a11[_0xcdb23(0x1da)],'subUnitId':_0x90a11[_0xcdb23(0x227)]}];}case _0xb54018['id']:{const _0x170d3b=_0x5ca378[_0xcdb23(0x1e6)];return(Array[_0xcdb23(0x2bd)](_0x170d3b[_0xcdb23(0x317)])?_0x170d3b[_0xcdb23(0x317)]:[_0x170d3b[_0xcdb23(0x317)]])[_0xcdb23(0x2d3)](_0x532721=>_0x532721['ranges'][_0xcdb23(0x2d3)](_0x4ce702=>({'range':_0x4ce702,'unitId':_0x170d3b['unitId'],'subUnitId':_0x170d3b[_0xcdb23(0x227)]})))[_0xcdb23(0x255)]();}case _0x24814a['id']:{const _0x3ec349=_0x5ca378[_0xcdb23(0x1e6)];return _0x3ec349[_0xcdb23(0x317)][_0xcdb23(0x257)][_0xcdb23(0x2d3)](_0x336463=>({'range':_0x336463,'unitId':_0x3ec349[_0xcdb23(0x1da)],'subUnitId':_0x3ec349[_0xcdb23(0x227)]}));}default:return[];}}[_0x3abf1a(0x278)](_0x2a3656){const _0x27f1d1=_0x3abf1a;if(_0x2a3656[_0x27f1d1(0x224)]<=0x1)return _0x2a3656;const _0x5142a0=new Map();return _0x2a3656['forEach'](_0x38d591=>{const _0xcf3070=_0x27f1d1;var _0x2a99fb;const {unitId:_0x4a1013,subUnitId:_0x2acb65}=_0x38d591,_0x4c0405=_0x4a1013+'-'+_0x2acb65;_0x5142a0[_0xcf3070(0x20f)](_0x4c0405)?(_0x2a99fb=_0x5142a0[_0xcf3070(0x18f)](_0x4c0405))==null||_0x2a99fb['push'](_0x38d591):_0x5142a0[_0xcf3070(0x1fe)](_0x4c0405,[_0x38d591]);}),Array[_0x27f1d1(0x267)](_0x5142a0['values']())['map'](_0x28ca01=>new _0x275079()[_0x27f1d1(0x2bf)](..._0x28ca01[_0x27f1d1(0x2d3)](_0x561fe1=>_0x561fe1[_0x27f1d1(0x31e)]))['merge']()[_0x27f1d1(0x2d3)](_0x3ede3a=>({'range':_0x3ede3a,'unitId':_0x28ca01[0x0][_0x27f1d1(0x1da)],'subUnitId':_0x28ca01[0x0]['subUnitId']})))[_0x27f1d1(0x255)]();}};$=Ps([Z(0x0,_0x13d20a(g)),Z(0x1,_0x3cb393),Z(0x2,_0x1d0231)],$);function Ie(_0x582a4e){const _0x120107=_0x3abf1a;return new _0x479edb(_0x582a4e)[_0x120107(0x24e)]();}function bs(_0x523927){const _0x35980d=_0x3abf1a,_0x294e76=new _0x479edb(_0x523927),_0x2b5bf0=new _0x479edb();return _0x294e76[_0x35980d(0x1ab)]((_0x31edb4,_0x452e1f)=>{_0x2b5bf0['setValue'](_0x31edb4,_0x452e1f,0x1);}),_0x1b1e0c(_0x2b5bf0);}var Ls=Object[_0x3abf1a(0x271)],Cs=(_0x1c3a7b,_0x4568bf,_0x4eec1b,_0x314fca)=>{const _0x1f8326=_0x3abf1a;for(var _0x47ecff=_0x314fca>0x1?void 0x0:_0x314fca?Ls(_0x4568bf,_0x4eec1b):_0x4568bf,_0x159029=_0x1c3a7b[_0x1f8326(0x224)]-0x1,_0x53de00;_0x159029>=0x0;_0x159029--)(_0x53de00=_0x1c3a7b[_0x159029])&&(_0x47ecff=_0x53de00(_0x47ecff)||_0x47ecff);return _0x47ecff;},P=(_0x392dd9,_0x5adc15)=>(_0x167f0e,_0x503857)=>_0x5adc15(_0x167f0e,_0x503857,_0x392dd9);let q=class extends _0x473675{constructor(_0x65f2cf,_0x20f4ab,_0xc8de4b,_0x5e1a33,_0x56dfc7,_0x56df48,_0x9e48f6){const _0x218761=_0x3abf1a;super(),l(this,_0x218761(0x233),new Set()),l(this,_0x218761(0x192),null),(this[_0x218761(0x2b2)]=_0x65f2cf,this[_0x218761(0x1b3)]=_0x20f4ab,this[_0x218761(0x2ce)]=_0xc8de4b,this[_0x218761(0x25f)]=_0x5e1a33,this['_renderManagerService']=_0x56dfc7,this[_0x218761(0x240)]=_0x56df48,this[_0x218761(0x229)]=_0x9e48f6,this['_init']());}[_0x3abf1a(0x31a)](){const _0xa8b74=_0x3abf1a;this['_initRender'](),this[_0xa8b74(0x253)]();}[_0x3abf1a(0x2c1)](){const _0xb5be99=_0x3abf1a;this[_0xb5be99(0x311)](_0x2ed2fa([this[_0xb5be99(0x1b3)]['loadingState$'],this['_sheetSkeletonManagerService'][_0xb5be99(0x179)]])['pipe'](_0x364260(([_0x421102,_0x3601a7])=>{const _0x38cc09=_0xb5be99;if(_0x421102===C['Loaded']&&_0x3601a7){const _0x18d2de=_0x3601a7[_0x38cc09(0x305)];return this[_0x38cc09(0x2ce)]['currentVersionDiff$'][_0x38cc09(0x237)](_0x373c4d(_0x2ce519=>{const _0x3a8827=_0x38cc09,_0x57408c=new Map();return _0x2ce519[_0x3a8827(0x257)][_0x3a8827(0x1cf)]((_0x17c187,_0x2b6514)=>{const _0xf45c7b=_0x17c187['filter'](_0x4da319=>_0x4da319['subUnitId']===_0x18d2de);_0x57408c['set'](_0x2b6514,_0xf45c7b);}),{'skeleton':_0x3601a7,'diffs':_0x57408c};}));}return _0x8d1aa1({'skeleton':null,'diffs':new Map()});}))[_0xb5be99(0x22e)](({skeleton:_0x5daf45,diffs:_0x4b9971})=>{const _0x16fc76=_0xb5be99;this[_0x16fc76(0x27a)](),_0x5daf45&&this[_0x16fc76(0x1f8)](_0x5daf45,_0x4b9971);})),this['disposeWithMe'](this[_0xb5be99(0x240)]['currentSkeleton$'][_0xb5be99(0x22e)](_0x4816d4=>{const _0x14381f=_0xb5be99;if(_0x4816d4==null)return;const {skeleton:_0x2bc95c}=_0x4816d4,{scene:_0x8384b1}=this[_0x14381f(0x2b2)];_0x8384b1[_0x14381f(0x1cd)][_0x14381f(0x2d1)](_0x4047b8(_0x5353bb=>{const _0x145dee=_0x14381f;var _0x31e831,_0x554843;const {offsetX:_0x2959fa,offsetY:_0x48b036}=_0x5353bb,{x:_0x6e8e82,y:_0x3cdbba}=_0x8384b1[_0x145dee(0x1ef)](_0x312028[_0x145dee(0x319)]([_0x2959fa,_0x48b036])),{scaleX:_0x25a3b2,scaleY:_0x220235}=_0x8384b1[_0x145dee(0x34e)](),_0x4a9423=_0x8384b1[_0x145dee(0x1b2)](_0x54bebc[_0x145dee(0x31d)]),_0x361f18=_0x8384b1[_0x145dee(0x195)](_0x312028[_0x145dee(0x319)]([_0x6e8e82,_0x3cdbba]),_0x4a9423),_0x2b1ad2=_0x2bc95c[_0x145dee(0x2c8)](_0x2959fa,_0x48b036,_0x25a3b2,_0x220235,_0x361f18);((_0x31e831=this[_0x145dee(0x192)])==null?void 0x0:_0x31e831[_0x145dee(0x2f6)])===_0x2b1ad2[_0x145dee(0x2f6)]&&((_0x554843=this[_0x145dee(0x192)])==null?void 0x0:_0x554843[_0x145dee(0x325)])===_0x2b1ad2['row']||this[_0x145dee(0x233)][_0x145dee(0x1cf)](_0x49aa10=>{const _0x288d0d=_0x145dee;_0x49aa10[_0x288d0d(0x24a)](_0x2b1ad2);});},0x64));}));}[_0x3abf1a(0x253)](){const _0xde3382=_0x3abf1a;this['disposeWithMe'](this[_0xde3382(0x1b3)][_0xde3382(0x337)][_0xde3382(0x22e)](_0x1ae79a=>{const _0x45ddb2=_0xde3382,_0x1c5571=new _0x591525();return _0x1ae79a===C['Loaded']&&(_0x1c5571[_0x45ddb2(0x331)](),_0x1c5571['add'](this['_versionDiffService'][_0x45ddb2(0x243)][_0x45ddb2(0x22e)](_0x5bbeac=>{const _0x127e00=_0x45ddb2;_0x5bbeac[_0x127e00(0x1a1)]&&this['_commandService'][_0x127e00(0x2b9)](_0x18c47d['id'],{'unitId':this[_0x127e00(0x2b2)][_0x127e00(0x1da)],'subUnitId':_0x5bbeac[_0x127e00(0x1a1)]});}))),()=>_0x1c5571['dispose']();}));}[_0x3abf1a(0x1f8)](_0x5d2f4f,_0x5205de){const _0x31ce87=_0x3abf1a;var _0x1f33ff;const _0x51867b=(_0x1f33ff=this[_0x31ce87(0x240)][_0x31ce87(0x18d)]())==null?void 0x0:_0x1f33ff[_0x31ce87(0x181)];if(!_0x51867b)return;this[_0x31ce87(0x233)][_0x31ce87(0x1cf)](_0x573d16=>{const _0x48e9f8=_0x31ce87;_0x573d16[_0x48e9f8(0x19a)]();});const {scene:_0x41edba}=this[_0x31ce87(0x2b2)],_0x2a953b=Array['from'](_0x5205de['keys']())[_0x31ce87(0x2d3)](_0x5dc3af=>_0x5205de[_0x31ce87(0x18f)](_0x5dc3af)['map'](_0x566032=>{const _0x45d350=_0x31ce87;var _0x68a092;const {range:_0x496f26,subUnitId:_0x8d7e9b,unitId:_0x3847cf}=_0x566032,{startColumn:_0x41a8df,startRow:_0x2a98d3,endColumn:_0x6e7c8,endRow:_0x14e266}=_0x496f26,_0x3f5cf2=_0x59ac24(_0x2a98d3,_0x41a8df,_0x41edba,_0x51867b),_0x40eb21=_0x59ac24(_0x14e266,_0x6e7c8,_0x41edba,_0x51867b),{columnHeaderHeightAndMarginTop:_0x3d64cc}=_0x51867b,{startX:_0x3ccfd4,startY:_0x576580}=_0x3f5cf2,{endX:_0x37f1ce,endY:_0x5c336e}=_0x40eb21,_0x3ae384=_0x37f1ce-_0x3ccfd4,_0x59fd74=_0x5c336e-_0x576580,_0x73fdd={'labelPosition':_0x576580-_0x3d64cc>=0x14?_0x45d350(0x28f):_0x45d350(0x33e),'sheetID':_0x8d7e9b,'range':_0x496f26,'color':_0x45d350(0x2a9),'fillAfterStrokeEnabled':!0x0,'backgroundColor':_0x45d350(0x2a9),'name':((_0x68a092=this['_historyManagerService'][_0x45d350(0x2cf)](_0x5dc3af))==null?void 0x0:_0x68a092[_0x45d350(0x30d)])||'','selection':_0x3847cf+'-'+_0x8d7e9b+'-'+_0x496f26[_0x45d350(0x322)]+'-'+_0x496f26['startRow']+'-'+_0x496f26[_0x45d350(0x266)]+'-'+_0x496f26[_0x45d350(0x210)],'left':_0x3ccfd4,'top':_0x576580,'width':_0x3ae384,'height':_0x59fd74,'evented':!0x1,'zIndex':0x1};return new _0x52527c('',_0x73fdd);}))['flat']();_0x41edba['addObjects'](_0x2a953b,0x1),this['_diffs']=new Set(_0x2a953b);}['_removeDiffMarks'](){const _0x2a1270=_0x3abf1a;var _0x2e9830;(_0x2e9830=this['_diffs'])==null||_0x2e9830[_0x2a1270(0x1cf)](_0x33c571=>_0x33c571[_0x2a1270(0x331)]());}[_0x3abf1a(0x2f3)](){const _0x1d7693=_0x3abf1a;return _0x2e015b(this['_univerInstanceService'],this[_0x1d7693(0x353)]);}};q=Cs([P(0x1,_0x13d20a(g)),P(0x2,_0x13d20a($)),P(0x3,_0x53b098),P(0x4,_0x10955c),P(0x5,_0x13d20a(_0x528b3a)),P(0x6,_0x1f1a06)],q);function ys(){const _0x297c5a=_0x3abf1a,_0xa219b3=_0x1d7215(g),_0x4fa281=_0x3249fe(_0xa219b3['versions$']),[_0x3bd12e,_0x5c98c6]=_0x16ef66(!0x1),_0x50562b=_s(_0x4fa281);return _0x4fa281?_0x28a182('div',{'className':_0x297c5a(0x23b),'children':_0x3dee13(_0x297c5a(0x22d),{'className':_0x297c5a(0x32d),'children':[_0x50562b[_0x297c5a(0x2d3)]((_0x2fafff,_0x426394)=>_0x3dee13(_0x24548f,{'children':[_0x28a182($s,{'date':_0x2fafff[_0x297c5a(0x252)]}),_0x2fafff[_0x297c5a(0x187)][_0x297c5a(0x2d3)]((_0x3b38df,_0x3bf48f)=>_0x28a182(Vs,{'index':[_0x426394,_0x3bf48f],'item':_0x3b38df},_0x426394+'-'+_0x3bf48f))]},_0x2fafff[_0x297c5a(0x252)])),_0x3bd12e&&_0x28a182(ws,{})]})}):_0x28a182(Us,{});}function ws(){const _0x23c2ec=_0x3abf1a;return _0x28a182(_0x23c2ec(0x22d),{'className':_0x23c2ec(0x27b),'children':_0x28a182(oe,{'className':_0x23c2ec(0x194)})});}function Us(){const _0x1feb0b=_0x3abf1a;return _0x28a182(_0x1feb0b(0x22d),{'className':_0x1feb0b(0x348),'children':_0x28a182(_0x1feb0b(0x2ea),{'className':_0x1feb0b(0x329),'children':_0x28a182(oe,{'className':_0x1feb0b(0x24b)})})});}function $s(_0x2d4c44){const _0x4916d5=_0x3abf1a,_0x3b8d85=_0x1d7215(_0x52069a),{date:_0x1ee97e}=_0x2d4c44;return _0x28a182(_0x4916d5(0x22d),{'className':_0x4916d5(0x2e7),'children':J(_0x1ee97e,_0x3b8d85[_0x4916d5(0x219)]())});}function Vs(_0x2986f5){const _0x1ebe3e=_0x3abf1a,{item:_0x538172,index:_0x10ad7b}=_0x2986f5,{time:_0x1c7f26,user:_0x564776}=_0x538172,[_0x56dcdb,_0x5a803a]=_0x10ad7b,_0x4939e0=_0x1d7215(g),_0x560eff=_0x3249fe(_0x4939e0[_0x1ebe3e(0x256)],'',!0x0)===_0x538172['id'],_0x1b1cd3=_0x56dcdb===0x0&&_0x5a803a===0x0,_0x4714a9=!_0x1b1cd3&&_0x4939e0['canRevert'],_0xe3de6f=_0x1d7215(_0x52069a),_0x44a1e1=_0xe3de6f[_0x1ebe3e(0x219)](),_0x538f28=re(_0x1c7f26,_0x44a1e1),_0x507198=_0xe3de6f['t'](_0x1ebe3e(0x184)),_0x2e31af=_0x3bb55c(_0x41d4dd=>{const _0x226a19=_0x1ebe3e;_0x4939e0[_0x226a19(0x2cd)]!==C[_0x226a19(0x2c2)]&&(_0x4939e0[_0x226a19(0x1ff)]=_0x41d4dd);},[_0x4939e0]),_0x2a9480=_0x3bb55c(_0x443787=>{const _0x31db22=_0x1ebe3e;_0x4939e0[_0x31db22(0x316)](_0x443787);},[_0x4939e0]);return _0x3dee13(_0x1ebe3e(0x22d),{'className':_0x2d904b('univer-h-15\x20univer-flex\x20univer-cursor-pointer\x20univer-flex-col\x20univer-justify-center\x20univer-gap-1\x20univer-rounded-md\x20univer-px-4\x20univer-py-1.5\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-800',{'univer-bg-gray-50\x20dark:!univer-bg-gray-900':_0x560eff}),'onClick':()=>_0x2e31af(_0x538172['id']),'children':[_0x3dee13(_0x1ebe3e(0x22d),{'className':_0x1ebe3e(0x234),'children':[_0x3dee13(_0x1ebe3e(0x22d),{'className':_0x1ebe3e(0x1c7),'children':[_0x28a182(_0x1ebe3e(0x2ea),{'children':_0x538f28['time']}),_0x1b1cd3&&_0x28a182(_0x1ebe3e(0x2ea),{'className':_0x1ebe3e(0x260),'children':_0x507198})]}),_0x28a182('div',{'children':_0x4714a9&&_0x28a182(_0x5b7083,{'title':_0xe3de6f['t'](_0x1ebe3e(0x17e)),'children':_0x28a182(_0x1ebe3e(0x22d),{'onClick':_0x14d7df=>{const _0x3460b8=_0x1ebe3e;_0x14d7df[_0x3460b8(0x2d5)](),_0x2a9480(_0x538172['id']);},'className':_0x1ebe3e(0x292),'children':_0x28a182(ye,{})})})})]}),_0x28a182('div',{'className':'univer-text-sm\x20univer-leading-5\x20univer-text-gray-500\x20dark:!univer-text-gray-300','children':os(_0x538172,_0xe3de6f)})]});}var ks=Object['getOwnPropertyDescriptor'],xs=(_0x3a9b09,_0x147d39,_0x158312,_0x4c37e2)=>{const _0x1414d5=_0x3abf1a;for(var _0x460915=_0x4c37e2>0x1?void 0x0:_0x4c37e2?ks(_0x147d39,_0x158312):_0x147d39,_0xabc1d5=_0x3a9b09[_0x1414d5(0x224)]-0x1,_0x1041ae;_0xabc1d5>=0x0;_0xabc1d5--)(_0x1041ae=_0x3a9b09[_0xabc1d5])&&(_0x460915=_0x1041ae(_0x460915)||_0x460915);return _0x460915;},w=(_0xb4643d,_0x55c6d1)=>(_0x24b888,_0x1dba9e)=>_0x55c6d1(_0x24b888,_0x1dba9e,_0xb4643d);const de='history-panel';let B=class extends _0x473675{constructor(_0x4bf1a5,_0x84912,_0x417c54,_0x41a0a7,_0x4a8cd4){const _0x27766e=_0x3abf1a;super(),l(this,_0x27766e(0x22c),null),(this[_0x27766e(0x327)]=_0x4bf1a5,this[_0x27766e(0x29a)]=_0x84912,this['_localeService']=_0x417c54,this['_historyManagerService']=_0x41a0a7,this['_configService']=_0x4a8cd4,this[_0x27766e(0x31a)]());}[_0x3abf1a(0x31a)](){const _0x3f24d8=_0x3abf1a;this[_0x3f24d8(0x19e)](),this[_0x3f24d8(0x1e2)]();}[_0x3abf1a(0x1e2)](){const _0x58621b=_0x3abf1a;var _0x1fc85e;if(this[_0x58621b(0x22c)])return;const _0x3fb070=((_0x1fc85e=this['_configService'][_0x58621b(0x2ca)](ne))==null?void 0x0:_0x1fc85e['historyPanelComponentKey'])||de,_0x337e9a={'header':{'title':this[_0x58621b(0x2fe)]['t'](_0x58621b(0x2a6))},'children':{'label':_0x3fb070},'onClose':()=>{const _0x14d14e=_0x58621b;this['_sidebarDisposable']=null,this['_historyManagerService'][_0x14d14e(0x1dc)]=ae['Exited'];}};this[_0x58621b(0x22c)]=this['_sidebarService'][_0x58621b(0x284)]({..._0x337e9a});}['_initPanel'](){const _0x526e27=_0x3abf1a;this[_0x526e27(0x311)](this['_componentManager'][_0x526e27(0x346)](de,ys)),this['disposeWithMe'](this['_sidebarService']['scrollEvent$'][_0x526e27(0x237)](_0x4ec486(0x64))[_0x526e27(0x22e)](_0x22f5c1=>{const _0x4fce4f=_0x526e27,{target:_0x1856a6}=_0x22f5c1||{};if(_0x1856a6){const {scrollTop:_0x48cb69,scrollHeight:_0x75ae10,clientHeight:_0x5dc98d}=_0x1856a6;_0x48cb69+_0x5dc98d>=_0x75ae10-0x5&&this[_0x4fce4f(0x1b3)][_0x4fce4f(0x2db)]();}}));}};B=xs([w(0x0,_0x573b75),w(0x1,_0x13d20a(_0x1105a2)),w(0x2,_0x13d20a(_0x52069a)),w(0x3,_0x13d20a(g)),w(0x4,_0x5837cc)],B);class As extends _0x473675{constructor(){const _0x34e701=_0x3abf1a;super(),l(this,_0x34e701(0x330),new _0x58cd5e());}[_0x3abf1a(0x284)](){return _0x103d30(()=>{});}[_0x3abf1a(0x1f7)](){}[_0x3abf1a(0x308)](_0x3df359){}[_0x3abf1a(0x2e3)](){const _0x36f769=_0x3abf1a;return this[_0x36f769(0x330)][_0x36f769(0x1a5)]();}}var Hs=Object[_0x3abf1a(0x2fc)],Fs=Object['getOwnPropertyDescriptor'],Ys=(_0x16d90f,_0x9f98c8,_0x21c01c)=>_0x9f98c8 in _0x16d90f?Hs(_0x16d90f,_0x9f98c8,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x21c01c}):_0x16d90f[_0x9f98c8]=_0x21c01c,Bs=(_0x4a2602,_0xb397a1,_0x5ecc7a,_0x29ad98)=>{const _0x5e5cde=_0x3abf1a;for(var _0x5b1d4e=_0x29ad98>0x1?void 0x0:_0x29ad98?Fs(_0xb397a1,_0x5ecc7a):_0xb397a1,_0x116f85=_0x4a2602[_0x5e5cde(0x224)]-0x1,_0x2a4b55;_0x116f85>=0x0;_0x116f85--)(_0x2a4b55=_0x4a2602[_0x116f85])&&(_0x5b1d4e=_0x2a4b55(_0x5b1d4e)||_0x5b1d4e);return _0x5b1d4e;},K=(_0xe04041,_0x4d4572)=>(_0x2ef24e,_0x1b2459)=>_0x4d4572(_0x2ef24e,_0x1b2459,_0xe04041),Ws=(_0x535940,_0x4bb5c4,_0x346b26)=>Ys(_0x535940,_0x4bb5c4+'',_0x346b26);const js=_0x3abf1a(0x2d6);let ee=class extends _0xb3d770{constructor(_0x5f2405=he,_0x43df38,_0x63a7fc,_0x29910b){const _0xa5d610=_0x3abf1a;super(),this[_0xa5d610(0x1c9)]=_0x5f2405,this[_0xa5d610(0x176)]=_0x43df38,this[_0xa5d610(0x353)]=_0x63a7fc,this['_configService']=_0x29910b;const {..._0x35af62}=_0x37c27f({},he,this[_0xa5d610(0x1c9)]);this[_0xa5d610(0x245)][_0xa5d610(0x27d)](ne,_0x35af62);}[_0x3abf1a(0x231)](){const _0x4f0121=_0x3abf1a;[[g],[Y],[$],[F],[B],[A],[_0x1d0231,{'useClass':_0x1b6aac}],[_0x24b781,{'useClass':As}],[_0x35321a,{'useClass':_0x5ed1d9}]]['forEach'](_0x477c7f=>this['_injector'][_0x4f0121(0x2bf)](_0x477c7f)),this['_injector'][_0x4f0121(0x18f)](Y);}[_0x3abf1a(0x341)](){const _0x1aa950=_0x3abf1a;[[q]][_0x1aa950(0x1cf)](_0x3a1c0d=>{const _0x5d4bf4=_0x1aa950;this[_0x5d4bf4(0x311)](this[_0x5d4bf4(0x353)]['registerRenderModule'](_0x4a0cc0[_0x5d4bf4(0x20e)],_0x3a1c0d));}),this[_0x1aa950(0x176)][_0x1aa950(0x18f)](A),this[_0x1aa950(0x176)][_0x1aa950(0x18f)](B);}['onSteady'](){const _0x325e9d=_0x3abf1a;this[_0x325e9d(0x176)][_0x325e9d(0x18f)]($);}};Ws(ee,_0x3abf1a(0x232),js),ee=Bs([_0x5b86ac(_0x49ef76,_0x4e8f2e),K(0x1,_0x13d20a(_0x5b2fb3)),K(0x2,_0x10955c),K(0x3,_0x5837cc)],ee);export{g as HistoryManagerService,ae as HistoryModeStatus,hs as HistoryOrigin,ee as UniverEditHistoryViewerPlugin};
|