@ckeditor/ckeditor5-revision-history 46.0.1-alpha.1 → 46.0.1-alpha.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (182) hide show
  1. package/build/revision-history.js +1 -1
  2. package/dist/index.css +1 -1
  3. package/dist/index.js +7 -7
  4. package/dist/translations/af.js +1 -1
  5. package/dist/translations/af.umd.js +1 -1
  6. package/dist/translations/ar.js +1 -1
  7. package/dist/translations/ar.umd.js +1 -1
  8. package/dist/translations/ast.js +1 -1
  9. package/dist/translations/ast.umd.js +1 -1
  10. package/dist/translations/az.js +1 -1
  11. package/dist/translations/az.umd.js +1 -1
  12. package/dist/translations/be.js +1 -1
  13. package/dist/translations/be.umd.js +1 -1
  14. package/dist/translations/bg.js +1 -1
  15. package/dist/translations/bg.umd.js +1 -1
  16. package/dist/translations/bn.js +1 -1
  17. package/dist/translations/bn.umd.js +1 -1
  18. package/dist/translations/bs.js +1 -1
  19. package/dist/translations/bs.umd.js +1 -1
  20. package/dist/translations/ca.js +1 -1
  21. package/dist/translations/ca.umd.js +1 -1
  22. package/dist/translations/cs.js +1 -1
  23. package/dist/translations/cs.umd.js +1 -1
  24. package/dist/translations/da.js +1 -1
  25. package/dist/translations/da.umd.js +1 -1
  26. package/dist/translations/de-ch.js +1 -1
  27. package/dist/translations/de-ch.umd.js +1 -1
  28. package/dist/translations/de.js +1 -1
  29. package/dist/translations/de.umd.js +1 -1
  30. package/dist/translations/el.js +1 -1
  31. package/dist/translations/el.umd.js +1 -1
  32. package/dist/translations/en-au.js +1 -1
  33. package/dist/translations/en-au.umd.js +1 -1
  34. package/dist/translations/en-gb.js +1 -1
  35. package/dist/translations/en-gb.umd.js +1 -1
  36. package/dist/translations/en.js +1 -1
  37. package/dist/translations/en.umd.js +1 -1
  38. package/dist/translations/eo.js +1 -1
  39. package/dist/translations/eo.umd.js +1 -1
  40. package/dist/translations/es-co.js +1 -1
  41. package/dist/translations/es-co.umd.js +1 -1
  42. package/dist/translations/es.js +1 -1
  43. package/dist/translations/es.umd.js +1 -1
  44. package/dist/translations/et.js +1 -1
  45. package/dist/translations/et.umd.js +1 -1
  46. package/dist/translations/eu.js +1 -1
  47. package/dist/translations/eu.umd.js +1 -1
  48. package/dist/translations/fa.js +1 -1
  49. package/dist/translations/fa.umd.js +1 -1
  50. package/dist/translations/fi.js +1 -1
  51. package/dist/translations/fi.umd.js +1 -1
  52. package/dist/translations/fr.js +1 -1
  53. package/dist/translations/fr.umd.js +1 -1
  54. package/dist/translations/gl.js +1 -1
  55. package/dist/translations/gl.umd.js +1 -1
  56. package/dist/translations/gu.js +1 -1
  57. package/dist/translations/gu.umd.js +1 -1
  58. package/dist/translations/he.js +1 -1
  59. package/dist/translations/he.umd.js +1 -1
  60. package/dist/translations/hi.js +1 -1
  61. package/dist/translations/hi.umd.js +1 -1
  62. package/dist/translations/hr.js +1 -1
  63. package/dist/translations/hr.umd.js +1 -1
  64. package/dist/translations/hu.js +1 -1
  65. package/dist/translations/hu.umd.js +1 -1
  66. package/dist/translations/hy.js +1 -1
  67. package/dist/translations/hy.umd.js +1 -1
  68. package/dist/translations/id.js +1 -1
  69. package/dist/translations/id.umd.js +1 -1
  70. package/dist/translations/it.js +1 -1
  71. package/dist/translations/it.umd.js +1 -1
  72. package/dist/translations/ja.js +1 -1
  73. package/dist/translations/ja.umd.js +1 -1
  74. package/dist/translations/jv.js +1 -1
  75. package/dist/translations/jv.umd.js +1 -1
  76. package/dist/translations/kk.js +1 -1
  77. package/dist/translations/kk.umd.js +1 -1
  78. package/dist/translations/km.js +1 -1
  79. package/dist/translations/km.umd.js +1 -1
  80. package/dist/translations/kn.js +1 -1
  81. package/dist/translations/kn.umd.js +1 -1
  82. package/dist/translations/ko.js +1 -1
  83. package/dist/translations/ko.umd.js +1 -1
  84. package/dist/translations/ku.js +1 -1
  85. package/dist/translations/ku.umd.js +1 -1
  86. package/dist/translations/lt.js +1 -1
  87. package/dist/translations/lt.umd.js +1 -1
  88. package/dist/translations/lv.js +1 -1
  89. package/dist/translations/lv.umd.js +1 -1
  90. package/dist/translations/ms.js +1 -1
  91. package/dist/translations/ms.umd.js +1 -1
  92. package/dist/translations/nb.js +1 -1
  93. package/dist/translations/nb.umd.js +1 -1
  94. package/dist/translations/ne.js +1 -1
  95. package/dist/translations/ne.umd.js +1 -1
  96. package/dist/translations/nl.js +1 -1
  97. package/dist/translations/nl.umd.js +1 -1
  98. package/dist/translations/no.js +1 -1
  99. package/dist/translations/no.umd.js +1 -1
  100. package/dist/translations/oc.js +1 -1
  101. package/dist/translations/oc.umd.js +1 -1
  102. package/dist/translations/pl.js +1 -1
  103. package/dist/translations/pl.umd.js +1 -1
  104. package/dist/translations/pt-br.js +1 -1
  105. package/dist/translations/pt-br.umd.js +1 -1
  106. package/dist/translations/pt.js +1 -1
  107. package/dist/translations/pt.umd.js +1 -1
  108. package/dist/translations/ro.js +1 -1
  109. package/dist/translations/ro.umd.js +1 -1
  110. package/dist/translations/ru.js +1 -1
  111. package/dist/translations/ru.umd.js +1 -1
  112. package/dist/translations/si.js +1 -1
  113. package/dist/translations/si.umd.js +1 -1
  114. package/dist/translations/sk.js +1 -1
  115. package/dist/translations/sk.umd.js +1 -1
  116. package/dist/translations/sl.js +1 -1
  117. package/dist/translations/sl.umd.js +1 -1
  118. package/dist/translations/sq.js +1 -1
  119. package/dist/translations/sq.umd.js +1 -1
  120. package/dist/translations/sr-latn.js +1 -1
  121. package/dist/translations/sr-latn.umd.js +1 -1
  122. package/dist/translations/sr.js +1 -1
  123. package/dist/translations/sr.umd.js +1 -1
  124. package/dist/translations/sv.js +1 -1
  125. package/dist/translations/sv.umd.js +1 -1
  126. package/dist/translations/th.js +1 -1
  127. package/dist/translations/th.umd.js +1 -1
  128. package/dist/translations/ti.js +1 -1
  129. package/dist/translations/ti.umd.js +1 -1
  130. package/dist/translations/tk.js +1 -1
  131. package/dist/translations/tk.umd.js +1 -1
  132. package/dist/translations/tr.js +1 -1
  133. package/dist/translations/tr.umd.js +1 -1
  134. package/dist/translations/tt.js +1 -1
  135. package/dist/translations/tt.umd.js +1 -1
  136. package/dist/translations/ug.js +1 -1
  137. package/dist/translations/ug.umd.js +1 -1
  138. package/dist/translations/uk.js +1 -1
  139. package/dist/translations/uk.umd.js +1 -1
  140. package/dist/translations/ur.js +1 -1
  141. package/dist/translations/ur.umd.js +1 -1
  142. package/dist/translations/uz.js +1 -1
  143. package/dist/translations/uz.umd.js +1 -1
  144. package/dist/translations/vi.js +1 -1
  145. package/dist/translations/vi.umd.js +1 -1
  146. package/dist/translations/zh-cn.js +1 -1
  147. package/dist/translations/zh-cn.umd.js +1 -1
  148. package/dist/translations/zh.js +1 -1
  149. package/dist/translations/zh.umd.js +1 -1
  150. package/package.json +11 -11
  151. package/src/changeitem.js +2 -2
  152. package/src/editor/revisionviewereditor.js +2 -2
  153. package/src/editor/revisionviewereditorui.js +1 -1
  154. package/src/editor/revisionviewereditoruiview.js +1 -1
  155. package/src/index.js +1 -1
  156. package/src/revision.js +2 -2
  157. package/src/revisiondiff.js +1 -1
  158. package/src/revisionhistory.js +1 -1
  159. package/src/revisionhistoryutils.js +1 -1
  160. package/src/revisionsrepository.js +1 -1
  161. package/src/revisiontracker.js +1 -1
  162. package/src/revisionviewer.js +1 -1
  163. package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
  164. package/src/ui/revision/revisionauthorview.js +1 -1
  165. package/src/ui/revision/revisionnameview.js +1 -1
  166. package/src/ui/revision/revisionview.js +2 -2
  167. package/src/ui/revision/subrevisioncollapserview.js +1 -1
  168. package/src/ui/revision/subrevisionview.js +1 -1
  169. package/src/ui/revision/utils.js +1 -1
  170. package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +2 -2
  171. package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
  172. package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
  173. package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
  174. package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
  175. package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
  176. package/src/ui/revisionssidebar/utils.js +1 -1
  177. package/src/ui/revisionviewer/changedetailsview.js +1 -1
  178. package/src/ui/revisionviewer/changesnavigationview.js +1 -1
  179. package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
  180. package/src/ui/revisionviewer/revisionviewerui.js +1 -1
  181. package/src/utils/common-translations.js +1 -1
  182. package/theme/revisionssidebar/revisionssidebarheader.css +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x5b6391=>{const {vi:{dictionary:_0x1b5613,getPluralForm:_0x3a56d6}}={'vi':{'dictionary':{'Restored':'Được\x20khôi\x20phục','Empty\x20document':'Tài\x20liệu\x20trống','Initial\x20revision':'Bản\x20sửa\x20đổi\x20ban\x20đầu','Compare\x20against\x20selected':'So\x20sánh\x20với\x20bản\x20sửa\x20đổi\x20được\x20chọn','Name\x20this\x20revision':'Đặt\x20tên\x20cho\x20bản\x20sửa\x20đổi\x20này','Revision\x20creator':'Người\x20lưu\x20bản\x20sửa\x20đổi','Revision\x20author':'Tác\x20giả\x20bản\x20sửa\x20đổi','Revision\x20name':'Tên\x20bản\x20sửa\x20đổi','Name\x20of\x20the\x20revision':'Tên\x20của\x20bản\x20sửa\x20đổi','optional':'không\x20bắt\x20buộc','Save\x20current\x20revision':'Lưu\x20bản\x20sửa\x20đổi\x20hiện\x20tại','Open\x20revision\x20history':'Mở\x20lịch\x20sử\x20sửa\x20đổi','Revision\x20history':'Lịch\x20sử\x20sửa\x20đổi','Suggested\x20by':'Người\x20đề\x20xuất:','Added\x20by':'Người\x20thêm:','Removed\x20by':'Người\x20xóa:','Loading...':'Đang\x20tải...','No\x20changes':'Không\x20có\x20nội\x20dung\x20thay\x20đổi','NUMBER_OF_CHANGES':'%0\x20nội\x20dung\x20thay\x20đổi','X_OF_Y_CHANGES':'%0\x20đến\x20%1','Show\x20previous\x20change':'Hiện\x20nội\x20dung\x20thay\x20đổi\x20trước\x20đó','Show\x20next\x20change':'Hiện\x20nội\x20dung\x20thay\x20đổi\x20tiếp\x20theo','Total':'Tổng','EDIT_X_OF_Y_REVISIONS':'Chỉnh\x20sửa','Back\x20to\x20editing':'Quay\x20lại\x20chỉnh\x20sửa','Restore\x20this\x20revision':'Khôi\x20phục\x20bản\x20sửa\x20đổi','PENDING_ACTION_REVISION_HISTORY':'Nội\x20dung\x20thay\x20đổi\x20chưa\x20lưu\x20trong\x20lịch\x20sử\x20sửa\x20đổi','Enter\x20the\x20revision\x20name':'Nhập\x20tên\x20bản\x20sửa\x20đổi','The\x20revision\x20name\x20cannot\x20be\x20empty.':'Không\x20được\x20để\x20trống\x20tên\x20bản\x20sửa\x20đổi.'},'getPluralForm':_0x4ed5ff=>0x0}};_0x5b6391['vi']||={'dictionary':{},'getPluralForm':null},_0x5b6391['vi']['dictionary']=Object['assign'](_0x5b6391['vi']['dictionary'],_0x1b5613),_0x5b6391['vi']['getPluralForm']=_0x3a56d6;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x5315dc=>{const {vi:{dictionary:_0x5672ba,getPluralForm:_0x598344}}={'vi':{'dictionary':{'Restored':'Được\x20khôi\x20phục','Empty\x20document':'Tài\x20liệu\x20trống','Initial\x20revision':'Bản\x20sửa\x20đổi\x20ban\x20đầu','Compare\x20against\x20selected':'So\x20sánh\x20với\x20bản\x20sửa\x20đổi\x20được\x20chọn','Name\x20this\x20revision':'Đặt\x20tên\x20cho\x20bản\x20sửa\x20đổi\x20này','Revision\x20creator':'Người\x20lưu\x20bản\x20sửa\x20đổi','Revision\x20author':'Tác\x20giả\x20bản\x20sửa\x20đổi','Revision\x20name':'Tên\x20bản\x20sửa\x20đổi','Name\x20of\x20the\x20revision':'Tên\x20của\x20bản\x20sửa\x20đổi','optional':'không\x20bắt\x20buộc','Save\x20current\x20revision':'Lưu\x20bản\x20sửa\x20đổi\x20hiện\x20tại','Open\x20revision\x20history':'Mở\x20lịch\x20sử\x20sửa\x20đổi','Revision\x20history':'Lịch\x20sử\x20sửa\x20đổi','Suggested\x20by':'Người\x20đề\x20xuất:','Added\x20by':'Người\x20thêm:','Removed\x20by':'Người\x20xóa:','Loading...':'Đang\x20tải...','No\x20changes':'Không\x20có\x20nội\x20dung\x20thay\x20đổi','NUMBER_OF_CHANGES':'%0\x20nội\x20dung\x20thay\x20đổi','X_OF_Y_CHANGES':'%0\x20đến\x20%1','Show\x20previous\x20change':'Hiện\x20nội\x20dung\x20thay\x20đổi\x20trước\x20đó','Show\x20next\x20change':'Hiện\x20nội\x20dung\x20thay\x20đổi\x20tiếp\x20theo','Total':'Tổng','EDIT_X_OF_Y_REVISIONS':'Chỉnh\x20sửa','Back\x20to\x20editing':'Quay\x20lại\x20chỉnh\x20sửa','Restore\x20this\x20revision':'Khôi\x20phục\x20bản\x20sửa\x20đổi','PENDING_ACTION_REVISION_HISTORY':'Nội\x20dung\x20thay\x20đổi\x20chưa\x20lưu\x20trong\x20lịch\x20sử\x20sửa\x20đổi','Enter\x20the\x20revision\x20name':'Nhập\x20tên\x20bản\x20sửa\x20đổi','The\x20revision\x20name\x20cannot\x20be\x20empty.':'Không\x20được\x20để\x20trống\x20tên\x20bản\x20sửa\x20đổi.'},'getPluralForm':_0x3f6cfc=>0x0}};_0x5315dc['vi']||={'dictionary':{},'getPluralForm':null},_0x5315dc['vi']['dictionary']=Object['assign'](_0x5315dc['vi']['dictionary'],_0x5672ba),_0x5315dc['vi']['getPluralForm']=_0x598344;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'zh-cn':{'dictionary':{'Restored':'已恢复','Empty\x20document':'空文档','Initial\x20revision':'初始版本','Compare\x20against\x20selected':'对比选中的文字','Name\x20this\x20revision':'给此版本命名','Revision\x20creator':'版本创建者','Revision\x20author':'版本作者','Revision\x20name':'版本名称','Name\x20of\x20the\x20revision':'修订的名称','optional':'可选的','Save\x20current\x20revision':'保存当前版本','Open\x20revision\x20history':'打开版本历史','Revision\x20history':'版本历史','Suggested\x20by':'建议者','Added\x20by':'添加者','Removed\x20by':'移除者','Loading...':'加载中…','No\x20changes':'无变更','NUMBER_OF_CHANGES':'%0\x20处修改','X_OF_Y_CHANGES':'第\x20%0\x20步,共\x20%1\x20步','Show\x20previous\x20change':'显示上一个变更','Show\x20next\x20change':'显示下一个变更','Total':'总计','EDIT_X_OF_Y_REVISIONS':'编辑','Back\x20to\x20editing':'返回编辑','Restore\x20this\x20revision':'恢复至此版本','PENDING_ACTION_REVISION_HISTORY':'版本历史中有未保存的变更。','Enter\x20the\x20revision\x20name':'输入修订名称','The\x20revision\x20name\x20cannot\x20be\x20empty.':'修订版本名称不能为空。'},'getPluralForm':_0x1f08d8=>0x0}};
23
+ export default{'zh-cn':{'dictionary':{'Restored':'已恢复','Empty\x20document':'空文档','Initial\x20revision':'初始版本','Compare\x20against\x20selected':'对比选中的文字','Name\x20this\x20revision':'给此版本命名','Revision\x20creator':'版本创建者','Revision\x20author':'版本作者','Revision\x20name':'版本名称','Name\x20of\x20the\x20revision':'修订的名称','optional':'可选的','Save\x20current\x20revision':'保存当前版本','Open\x20revision\x20history':'打开版本历史','Revision\x20history':'版本历史','Suggested\x20by':'建议者','Added\x20by':'添加者','Removed\x20by':'移除者','Loading...':'加载中…','No\x20changes':'无变更','NUMBER_OF_CHANGES':'%0\x20处修改','X_OF_Y_CHANGES':'第\x20%0\x20步,共\x20%1\x20步','Show\x20previous\x20change':'显示上一个变更','Show\x20next\x20change':'显示下一个变更','Total':'总计','EDIT_X_OF_Y_REVISIONS':'编辑','Back\x20to\x20editing':'返回编辑','Restore\x20this\x20revision':'恢复至此版本','PENDING_ACTION_REVISION_HISTORY':'版本历史中有未保存的变更。','Enter\x20the\x20revision\x20name':'输入修订名称','The\x20revision\x20name\x20cannot\x20be\x20empty.':'修订版本名称不能为空。'},'getPluralForm':_0x15f827=>0x0}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x12a1c6=>{const {'zh-cn':{dictionary:_0x51601d,getPluralForm:_0x58b403}}={'zh-cn':{'dictionary':{'Restored':'已恢复','Empty\x20document':'空文档','Initial\x20revision':'初始版本','Compare\x20against\x20selected':'对比选中的文字','Name\x20this\x20revision':'给此版本命名','Revision\x20creator':'版本创建者','Revision\x20author':'版本作者','Revision\x20name':'版本名称','Name\x20of\x20the\x20revision':'修订的名称','optional':'可选的','Save\x20current\x20revision':'保存当前版本','Open\x20revision\x20history':'打开版本历史','Revision\x20history':'版本历史','Suggested\x20by':'建议者','Added\x20by':'添加者','Removed\x20by':'移除者','Loading...':'加载中…','No\x20changes':'无变更','NUMBER_OF_CHANGES':'%0\x20处修改','X_OF_Y_CHANGES':'第\x20%0\x20步,共\x20%1\x20步','Show\x20previous\x20change':'显示上一个变更','Show\x20next\x20change':'显示下一个变更','Total':'总计','EDIT_X_OF_Y_REVISIONS':'编辑','Back\x20to\x20editing':'返回编辑','Restore\x20this\x20revision':'恢复至此版本','PENDING_ACTION_REVISION_HISTORY':'版本历史中有未保存的变更。','Enter\x20the\x20revision\x20name':'输入修订名称','The\x20revision\x20name\x20cannot\x20be\x20empty.':'修订版本名称不能为空。'},'getPluralForm':_0x3f29b6=>0x0}};_0x12a1c6['zh-cn']||={'dictionary':{},'getPluralForm':null},_0x12a1c6['zh-cn']['dictionary']=Object['assign'](_0x12a1c6['zh-cn']['dictionary'],_0x51601d),_0x12a1c6['zh-cn']['getPluralForm']=_0x58b403;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x2a330b=>{const {'zh-cn':{dictionary:_0x268b4f,getPluralForm:_0x7aab66}}={'zh-cn':{'dictionary':{'Restored':'已恢复','Empty\x20document':'空文档','Initial\x20revision':'初始版本','Compare\x20against\x20selected':'对比选中的文字','Name\x20this\x20revision':'给此版本命名','Revision\x20creator':'版本创建者','Revision\x20author':'版本作者','Revision\x20name':'版本名称','Name\x20of\x20the\x20revision':'修订的名称','optional':'可选的','Save\x20current\x20revision':'保存当前版本','Open\x20revision\x20history':'打开版本历史','Revision\x20history':'版本历史','Suggested\x20by':'建议者','Added\x20by':'添加者','Removed\x20by':'移除者','Loading...':'加载中…','No\x20changes':'无变更','NUMBER_OF_CHANGES':'%0\x20处修改','X_OF_Y_CHANGES':'第\x20%0\x20步,共\x20%1\x20步','Show\x20previous\x20change':'显示上一个变更','Show\x20next\x20change':'显示下一个变更','Total':'总计','EDIT_X_OF_Y_REVISIONS':'编辑','Back\x20to\x20editing':'返回编辑','Restore\x20this\x20revision':'恢复至此版本','PENDING_ACTION_REVISION_HISTORY':'版本历史中有未保存的变更。','Enter\x20the\x20revision\x20name':'输入修订名称','The\x20revision\x20name\x20cannot\x20be\x20empty.':'修订版本名称不能为空。'},'getPluralForm':_0xead69c=>0x0}};_0x2a330b['zh-cn']||={'dictionary':{},'getPluralForm':null},_0x2a330b['zh-cn']['dictionary']=Object['assign'](_0x2a330b['zh-cn']['dictionary'],_0x268b4f),_0x2a330b['zh-cn']['getPluralForm']=_0x7aab66;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'zh':{'dictionary':{'Restored':'已復原','Empty\x20document':'空文件','Initial\x20revision':'初始修訂','Compare\x20against\x20selected':'與所選作比較','Name\x20this\x20revision':'命名此修訂','Revision\x20creator':'修訂建立者','Revision\x20author':'修訂作者','Revision\x20name':'修訂名稱','Name\x20of\x20the\x20revision':'修訂名稱','optional':'選擇性','Save\x20current\x20revision':'儲存目前的修訂','Open\x20revision\x20history':'開啟修訂記錄','Revision\x20history':'修訂記錄','Suggested\x20by':'建議者','Added\x20by':'新增者','Removed\x20by':'刪除者','Loading...':'載入中……','No\x20changes':'無變更','NUMBER_OF_CHANGES':'%0\x20變更','X_OF_Y_CHANGES':'%0/%1','Show\x20previous\x20change':'顯示上個變更','Show\x20next\x20change':'顯示下個變更','Total':'總計','EDIT_X_OF_Y_REVISIONS':'編輯','Back\x20to\x20editing':'返回至編輯','Restore\x20this\x20revision':'還原此修訂','PENDING_ACTION_REVISION_HISTORY':'修訂記錄中未儲存的變更','Enter\x20the\x20revision\x20name':'輸入修訂名稱','The\x20revision\x20name\x20cannot\x20be\x20empty.':'修訂名稱不可為空白。'},'getPluralForm':_0x139775=>0x0}};
23
+ export default{'zh':{'dictionary':{'Restored':'已復原','Empty\x20document':'空文件','Initial\x20revision':'初始修訂','Compare\x20against\x20selected':'與所選作比較','Name\x20this\x20revision':'命名此修訂','Revision\x20creator':'修訂建立者','Revision\x20author':'修訂作者','Revision\x20name':'修訂名稱','Name\x20of\x20the\x20revision':'修訂名稱','optional':'選擇性','Save\x20current\x20revision':'儲存目前的修訂','Open\x20revision\x20history':'開啟修訂記錄','Revision\x20history':'修訂記錄','Suggested\x20by':'建議者','Added\x20by':'新增者','Removed\x20by':'刪除者','Loading...':'載入中……','No\x20changes':'無變更','NUMBER_OF_CHANGES':'%0\x20變更','X_OF_Y_CHANGES':'%0/%1','Show\x20previous\x20change':'顯示上個變更','Show\x20next\x20change':'顯示下個變更','Total':'總計','EDIT_X_OF_Y_REVISIONS':'編輯','Back\x20to\x20editing':'返回至編輯','Restore\x20this\x20revision':'還原此修訂','PENDING_ACTION_REVISION_HISTORY':'修訂記錄中未儲存的變更','Enter\x20the\x20revision\x20name':'輸入修訂名稱','The\x20revision\x20name\x20cannot\x20be\x20empty.':'修訂名稱不可為空白。'},'getPluralForm':_0xf9719b=>0x0}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x167d5f=>{const {zh:{dictionary:_0x2d1448,getPluralForm:_0x5ea959}}={'zh':{'dictionary':{'Restored':'已復原','Empty\x20document':'空文件','Initial\x20revision':'初始修訂','Compare\x20against\x20selected':'與所選作比較','Name\x20this\x20revision':'命名此修訂','Revision\x20creator':'修訂建立者','Revision\x20author':'修訂作者','Revision\x20name':'修訂名稱','Name\x20of\x20the\x20revision':'修訂名稱','optional':'選擇性','Save\x20current\x20revision':'儲存目前的修訂','Open\x20revision\x20history':'開啟修訂記錄','Revision\x20history':'修訂記錄','Suggested\x20by':'建議者','Added\x20by':'新增者','Removed\x20by':'刪除者','Loading...':'載入中……','No\x20changes':'無變更','NUMBER_OF_CHANGES':'%0\x20變更','X_OF_Y_CHANGES':'%0/%1','Show\x20previous\x20change':'顯示上個變更','Show\x20next\x20change':'顯示下個變更','Total':'總計','EDIT_X_OF_Y_REVISIONS':'編輯','Back\x20to\x20editing':'返回至編輯','Restore\x20this\x20revision':'還原此修訂','PENDING_ACTION_REVISION_HISTORY':'修訂記錄中未儲存的變更','Enter\x20the\x20revision\x20name':'輸入修訂名稱','The\x20revision\x20name\x20cannot\x20be\x20empty.':'修訂名稱不可為空白。'},'getPluralForm':_0x397467=>0x0}};_0x167d5f['zh']||={'dictionary':{},'getPluralForm':null},_0x167d5f['zh']['dictionary']=Object['assign'](_0x167d5f['zh']['dictionary'],_0x2d1448),_0x167d5f['zh']['getPluralForm']=_0x5ea959;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x19cb54=>{const {zh:{dictionary:_0x42c01c,getPluralForm:_0x365c36}}={'zh':{'dictionary':{'Restored':'已復原','Empty\x20document':'空文件','Initial\x20revision':'初始修訂','Compare\x20against\x20selected':'與所選作比較','Name\x20this\x20revision':'命名此修訂','Revision\x20creator':'修訂建立者','Revision\x20author':'修訂作者','Revision\x20name':'修訂名稱','Name\x20of\x20the\x20revision':'修訂名稱','optional':'選擇性','Save\x20current\x20revision':'儲存目前的修訂','Open\x20revision\x20history':'開啟修訂記錄','Revision\x20history':'修訂記錄','Suggested\x20by':'建議者','Added\x20by':'新增者','Removed\x20by':'刪除者','Loading...':'載入中……','No\x20changes':'無變更','NUMBER_OF_CHANGES':'%0\x20變更','X_OF_Y_CHANGES':'%0/%1','Show\x20previous\x20change':'顯示上個變更','Show\x20next\x20change':'顯示下個變更','Total':'總計','EDIT_X_OF_Y_REVISIONS':'編輯','Back\x20to\x20editing':'返回至編輯','Restore\x20this\x20revision':'還原此修訂','PENDING_ACTION_REVISION_HISTORY':'修訂記錄中未儲存的變更','Enter\x20the\x20revision\x20name':'輸入修訂名稱','The\x20revision\x20name\x20cannot\x20be\x20empty.':'修訂名稱不可為空白。'},'getPluralForm':_0x57174b=>0x0}};_0x19cb54['zh']||={'dictionary':{},'getPluralForm':null},_0x19cb54['zh']['dictionary']=Object['assign'](_0x19cb54['zh']['dictionary'],_0x42c01c),_0x19cb54['zh']['getPluralForm']=_0x365c36;})(window['CKEDITOR_TRANSLATIONS']||={});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-revision-history",
3
- "version": "46.0.1-alpha.1",
3
+ "version": "46.0.1-alpha.10",
4
4
  "description": "Document revision history feature for CKEditor 5.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "CKSource (http://cksource.com/)",
@@ -39,17 +39,17 @@
39
39
  "CHANGELOG.md"
40
40
  ],
41
41
  "dependencies": {
42
- "@ckeditor/ckeditor5-autosave": "46.0.1-alpha.1",
43
- "@ckeditor/ckeditor5-comments": "46.0.1-alpha.1",
44
- "@ckeditor/ckeditor5-core": "46.0.1-alpha.1",
45
- "@ckeditor/ckeditor5-editor-classic": "46.0.1-alpha.1",
46
- "@ckeditor/ckeditor5-engine": "46.0.1-alpha.1",
47
- "@ckeditor/ckeditor5-icons": "46.0.1-alpha.1",
48
- "@ckeditor/ckeditor5-ui": "46.0.1-alpha.1",
49
- "@ckeditor/ckeditor5-utils": "46.0.1-alpha.1",
42
+ "@ckeditor/ckeditor5-autosave": "46.0.1-alpha.10",
43
+ "@ckeditor/ckeditor5-comments": "46.0.1-alpha.10",
44
+ "@ckeditor/ckeditor5-core": "46.0.1-alpha.10",
45
+ "@ckeditor/ckeditor5-editor-classic": "46.0.1-alpha.10",
46
+ "@ckeditor/ckeditor5-engine": "46.0.1-alpha.10",
47
+ "@ckeditor/ckeditor5-icons": "46.0.1-alpha.10",
48
+ "@ckeditor/ckeditor5-ui": "46.0.1-alpha.10",
49
+ "@ckeditor/ckeditor5-utils": "46.0.1-alpha.10",
50
50
  "@types/luxon": "3.6.2",
51
- "ckeditor5": "46.0.1-alpha.1",
52
- "ckeditor5-collaboration": "46.0.1-alpha.1",
51
+ "ckeditor5": "46.0.1-alpha.10",
52
+ "ckeditor5-collaboration": "46.0.1-alpha.10",
53
53
  "es-toolkit": "1.39.5",
54
54
  "luxon": "3.6.1"
55
55
  },
package/src/changeitem.js CHANGED
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x54dac1=_0x36f5;(function(_0x3ec281,_0x3bf209){var _0x180f26=_0x36f5,_0x2b1832=_0x3ec281();while(!![]){try{var _0x7a3113=parseInt(_0x180f26(0x1eb))/0x1*(-parseInt(_0x180f26(0x1e4))/0x2)+parseInt(_0x180f26(0x1e6))/0x3+-parseInt(_0x180f26(0x1e5))/0x4+-parseInt(_0x180f26(0x1ed))/0x5*(parseInt(_0x180f26(0x1e9))/0x6)+parseInt(_0x180f26(0x1e0))/0x7+-parseInt(_0x180f26(0x1e8))/0x8+parseInt(_0x180f26(0x1e2))/0x9;if(_0x7a3113===_0x3bf209)break;else _0x2b1832['push'](_0x2b1832['shift']());}catch(_0x1e55cc){_0x2b1832['push'](_0x2b1832['shift']());}}}(_0x59c1,0x53905));import{ObservableMixin as _0x106158,uid as _0x40d6dc}from'ckeditor5/src/utils.js';export class ChangeItem extends/* #__PURE__ -- @preserve */
24
- _0x106158(){['id'];[_0x54dac1(0x1e7)];[_0x54dac1(0x1de)];[_0x54dac1(0x1ec)];[_0x54dac1(0x1e1)];constructor(_0x4d9a10){var _0x326d9a=_0x54dac1;super(),this['id']=_0x4d9a10['id']||_0x40d6dc(),this[_0x326d9a(0x1e7)]=_0x4d9a10[_0x326d9a(0x1e7)],this[_0x326d9a(0x1de)]=_0x4d9a10[_0x326d9a(0x1de)],this[_0x326d9a(0x1ec)]=_0x4d9a10[_0x326d9a(0x1ec)]||{},this[_0x326d9a(0x1e1)]=_0x4d9a10[_0x326d9a(0x1e1)],this[_0x326d9a(0x1e3)](_0x326d9a(0x1ea),_0x4d9a10[_0x326d9a(0x1ea)]);}[_0x54dac1(0x1df)](){var _0x551bd0=_0x54dac1;return{'id':this['id'],'authorId':this[_0x551bd0(0x1e7)]['id'],'type':this[_0x551bd0(0x1de)],'data':this[_0x551bd0(0x1ec)],'createdAt':this[_0x551bd0(0x1ea)]};}}function _0x36f5(_0x2bcf0c,_0x57a70e){var _0x59c18f=_0x59c1();return _0x36f5=function(_0x36f55b,_0x109f97){_0x36f55b=_0x36f55b-0x1de;var _0x5c22e8=_0x59c18f[_0x36f55b];return _0x5c22e8;},_0x36f5(_0x2bcf0c,_0x57a70e);}function _0x59c1(){var _0x5ee42d=['type','toJSON','2975238Dpfxsz','rootName','9901305knlJvQ','set','4oCRnbG','2479004hYGCws','72411EgGLsz','author','3594440IhahRb','42xcbNIJ','createdAt','28647ehqMAG','data','57635OpJOUR'];_0x59c1=function(){return _0x5ee42d;};return _0x59c1();}
23
+ var _0x1e6223=_0xfbbf;(function(_0x16a045,_0x4db4d2){var _0x4a5ea6=_0xfbbf,_0x1e4d85=_0x16a045();while(!![]){try{var _0x206555=parseInt(_0x4a5ea6(0x1e4))/0x1*(parseInt(_0x4a5ea6(0x1d8))/0x2)+-parseInt(_0x4a5ea6(0x1d9))/0x3*(-parseInt(_0x4a5ea6(0x1df))/0x4)+-parseInt(_0x4a5ea6(0x1e7))/0x5*(parseInt(_0x4a5ea6(0x1e3))/0x6)+parseInt(_0x4a5ea6(0x1db))/0x7+parseInt(_0x4a5ea6(0x1d7))/0x8+-parseInt(_0x4a5ea6(0x1e2))/0x9*(parseInt(_0x4a5ea6(0x1e6))/0xa)+parseInt(_0x4a5ea6(0x1da))/0xb;if(_0x206555===_0x4db4d2)break;else _0x1e4d85['push'](_0x1e4d85['shift']());}catch(_0x348288){_0x1e4d85['push'](_0x1e4d85['shift']());}}}(_0x4c9f,0x8bf1f));function _0xfbbf(_0xe9291c,_0x2d9aff){var _0x4c9ff0=_0x4c9f();return _0xfbbf=function(_0xfbbf35,_0x4ad285){_0xfbbf35=_0xfbbf35-0x1d6;var _0x574692=_0x4c9ff0[_0xfbbf35];return _0x574692;},_0xfbbf(_0xe9291c,_0x2d9aff);}function _0x4c9f(){var _0x46dc14=['type','292ArdAGi','author','rootName','55116tmOgZS','3282LcBYdF','992ySUkEJ','createdAt','1270TDswez','5815PrAXBp','set','3015528cvDkgh','2194OJasXc','2469CUoJkm','2388111YInHUi','1713453vGSMpP','data','toJSON'];_0x4c9f=function(){return _0x46dc14;};return _0x4c9f();}import{ObservableMixin as _0x28e6f2,uid as _0x114488}from'ckeditor5/src/utils.js';export class ChangeItem extends/* #__PURE__ -- @preserve */
24
+ _0x28e6f2(){['id'];[_0x1e6223(0x1e0)];[_0x1e6223(0x1de)];[_0x1e6223(0x1dc)];[_0x1e6223(0x1e1)];constructor(_0xfb104a){var _0x3cecd8=_0x1e6223;super(),this['id']=_0xfb104a['id']||_0x114488(),this[_0x3cecd8(0x1e0)]=_0xfb104a[_0x3cecd8(0x1e0)],this[_0x3cecd8(0x1de)]=_0xfb104a[_0x3cecd8(0x1de)],this[_0x3cecd8(0x1dc)]=_0xfb104a[_0x3cecd8(0x1dc)]||{},this[_0x3cecd8(0x1e1)]=_0xfb104a[_0x3cecd8(0x1e1)],this[_0x3cecd8(0x1d6)](_0x3cecd8(0x1e5),_0xfb104a[_0x3cecd8(0x1e5)]);}[_0x1e6223(0x1dd)](){var _0x4131f3=_0x1e6223;return{'id':this['id'],'authorId':this[_0x4131f3(0x1e0)]['id'],'type':this[_0x4131f3(0x1de)],'data':this[_0x4131f3(0x1dc)],'createdAt':this[_0x4131f3(0x1e5)]};}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1953a7=_0x371e;function _0x371e(_0x537780,_0x3731d5){const _0x118aa8=_0x118a();return _0x371e=function(_0x371ed9,_0x346b12){_0x371ed9=_0x371ed9-0x1e6;let _0x277d02=_0x118aa8[_0x371ed9];return _0x277d02;},_0x371e(_0x537780,_0x3731d5);}function _0x118a(){const _0x3e7f5c=['fire','model','editing','1803920GYDJoX','data','46678NQNsIv','11388533yYHsAx','initPlugins','31JyyFba','locale','document','7HwkqAL','config','ready','4yDIVDi','2758314UPjabQ','destroy','create','1028745yzhEbj','view','sourceElement','initialData','updateSourceElement','_ui','get','49874HEOnSH','1230mJbjph','createRoot','12Lsvviu','297opVRmR','init','57352aIBmJx'];_0x118a=function(){return _0x3e7f5c;};return _0x118a();}(function(_0x2d7213,_0x2a7f56){const _0x298825=_0x371e,_0x52aaa1=_0x2d7213();while(!![]){try{const _0x45b059=-parseInt(_0x298825(0x1eb))/0x1*(-parseInt(_0x298825(0x1e8))/0x2)+-parseInt(_0x298825(0x1f5))/0x3+-parseInt(_0x298825(0x1f1))/0x4*(-parseInt(_0x298825(0x1e6))/0x5)+-parseInt(_0x298825(0x1f2))/0x6*(parseInt(_0x298825(0x1ee))/0x7)+parseInt(_0x298825(0x202))/0x8*(-parseInt(_0x298825(0x200))/0x9)+-parseInt(_0x298825(0x1fd))/0xa*(parseInt(_0x298825(0x1fc))/0xb)+parseInt(_0x298825(0x1ff))/0xc*(parseInt(_0x298825(0x1e9))/0xd);if(_0x45b059===_0x2a7f56)break;else _0x52aaa1['push'](_0x52aaa1['shift']());}catch(_0x3da0e7){_0x52aaa1['push'](_0x52aaa1['shift']());}}}(_0x118a,0x58bb1));import{Editor as _0x300877,ElementApiMixin as _0x1b33ce}from'ckeditor5/src/core.js';import{RevisionViewerEditorUI as _0x2bcfd2}from'./revisionviewereditorui.js';import{RevisionViewerEditorUIView as _0x260363}from'./revisionviewereditoruiview.js';export class RevisionViewerEditor extends/* #__PURE__ -- @preserve */
24
- _0x1b33ce(_0x300877){[_0x1953a7(0x1fa)];get['ui'](){const _0xb61836=_0x1953a7;return this[_0xb61836(0x1fa)];}constructor(_0x52ca28,_0x5b49e3){const _0x30fa58=_0x1953a7;super(_0x5b49e3),this[_0x30fa58(0x1f7)]=_0x52ca28,this[_0x30fa58(0x204)][_0x30fa58(0x1ed)][_0x30fa58(0x1fe)]();const _0x444790=new _0x260363(this[_0x30fa58(0x1ec)],this[_0x30fa58(0x205)][_0x30fa58(0x1f6)],{'shouldToolbarGroupWhenFull':!0x0});this[_0x30fa58(0x1fa)]=new _0x2bcfd2(this,_0x444790);}[_0x1953a7(0x1f3)](){const _0x49c578=_0x1953a7;return this[_0x49c578(0x1f9)](),this['ui'][_0x49c578(0x1f3)](),super[_0x49c578(0x1f3)]();}static async[_0x1953a7(0x1f4)](_0x270f88,_0x48cc89){const _0xa64d79=_0x1953a7,_0x56ac17=new this(_0x270f88,_0x48cc89);return await _0x56ac17[_0xa64d79(0x1ea)](),await _0x56ac17['ui'][_0xa64d79(0x201)](_0x270f88),await _0x56ac17[_0xa64d79(0x1e7)][_0xa64d79(0x201)](_0x56ac17[_0xa64d79(0x1ef)][_0xa64d79(0x1fb)](_0xa64d79(0x1f8))||''),_0x56ac17[_0xa64d79(0x203)](_0xa64d79(0x1f0)),_0x56ac17;}}
23
+ function _0x4d13(){const _0x1bb465=['data','135715LBAOsa','document','172951oyyDXG','createRoot','20PTtPXJ','36iEvgSD','destroy','create','updateSourceElement','1816XjjKSp','fire','247329ulsIfb','226170WHyWZt','config','1351DRueFW','initialData','model','1371491pYVeMc','locale','ready','initPlugins','459hYCYXL','get','editing','sourceElement','init','6584tmMsIl','_ui','view'];_0x4d13=function(){return _0x1bb465;};return _0x4d13();}const _0x5b06c1=_0x43f5;function _0x43f5(_0x42594f,_0x40983a){const _0x4d1311=_0x4d13();return _0x43f5=function(_0x43f57e,_0x54db4f){_0x43f57e=_0x43f57e-0x17b;let _0x50f7b8=_0x4d1311[_0x43f57e];return _0x50f7b8;},_0x43f5(_0x42594f,_0x40983a);}(function(_0x3270d6,_0x1eb10e){const _0x479bbd=_0x43f5,_0x5bf196=_0x3270d6();while(!![]){try{const _0x5815f4=parseInt(_0x479bbd(0x192))/0x1+parseInt(_0x479bbd(0x17e))/0x2+parseInt(_0x479bbd(0x187))/0x3*(parseInt(_0x479bbd(0x17b))/0x4)+-parseInt(_0x479bbd(0x190))/0x5*(parseInt(_0x479bbd(0x195))/0x6)+-parseInt(_0x479bbd(0x180))/0x7*(parseInt(_0x479bbd(0x18c))/0x8)+-parseInt(_0x479bbd(0x17d))/0x9*(parseInt(_0x479bbd(0x194))/0xa)+parseInt(_0x479bbd(0x183))/0xb;if(_0x5815f4===_0x1eb10e)break;else _0x5bf196['push'](_0x5bf196['shift']());}catch(_0x58bc05){_0x5bf196['push'](_0x5bf196['shift']());}}}(_0x4d13,0x19460));import{Editor as _0x4d5c58,ElementApiMixin as _0x59c5f6}from'ckeditor5/src/core.js';import{RevisionViewerEditorUI as _0x2582c0}from'./revisionviewereditorui.js';import{RevisionViewerEditorUIView as _0x5c1ae1}from'./revisionviewereditoruiview.js';export class RevisionViewerEditor extends/* #__PURE__ -- @preserve */
24
+ _0x59c5f6(_0x4d5c58){[_0x5b06c1(0x18d)];get['ui'](){const _0x44da93=_0x5b06c1;return this[_0x44da93(0x18d)];}constructor(_0x183954,_0x487d51){const _0x5674f7=_0x5b06c1;super(_0x487d51),this[_0x5674f7(0x18a)]=_0x183954,this[_0x5674f7(0x182)][_0x5674f7(0x191)][_0x5674f7(0x193)]();const _0xc4351c=new _0x5c1ae1(this[_0x5674f7(0x184)],this[_0x5674f7(0x189)][_0x5674f7(0x18e)],{'shouldToolbarGroupWhenFull':!0x0});this[_0x5674f7(0x18d)]=new _0x2582c0(this,_0xc4351c);}[_0x5b06c1(0x196)](){const _0x4a5452=_0x5b06c1;return this[_0x4a5452(0x198)](),this['ui'][_0x4a5452(0x196)](),super[_0x4a5452(0x196)]();}static async[_0x5b06c1(0x197)](_0x477a75,_0x36637a){const _0x44e0b2=_0x5b06c1,_0x305789=new this(_0x477a75,_0x36637a);return await _0x305789[_0x44e0b2(0x186)](),await _0x305789['ui'][_0x44e0b2(0x18b)](_0x477a75),await _0x305789[_0x44e0b2(0x18f)][_0x44e0b2(0x18b)](_0x305789[_0x44e0b2(0x17f)][_0x44e0b2(0x188)](_0x44e0b2(0x181))||''),_0x305789[_0x44e0b2(0x17c)](_0x44e0b2(0x185)),_0x305789;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0xd816(){const _0x1ab011=['stickyPanel','name','_elementReplacer','replace','init','get','1469036FqiGQk','setEditableElement','fire','limiterElement','editing','componentFactory','ready','fillFromConfig','viewportTopOffset','_initToolbar','view','destroy','config','render','_view','11634wFhMww','attachDomRoot','toolbar','bind','editor','992622UJDuVK','rootName','detachDomRoot','10qTAknC','4583216XRrQcs','element','document','262071BDiDVa','restore','viewportOffset','addToolbar','isFocused','263565sulMkE','focusTracker','110PWmJzc','getRoot','isActive','61172bUihgS','editable','3RhuqKt','_toolbarConfig','1112PdTFQY'];_0xd816=function(){return _0x1ab011;};return _0xd816();}const _0x5461fc=_0x4160;(function(_0x40244f,_0x43444b){const _0x5b90a9=_0x4160,_0x5e943f=_0x40244f();while(!![]){try{const _0x448d63=parseInt(_0x5b90a9(0x1b9))/0x1+parseInt(_0x5b90a9(0x1be))/0x2+-parseInt(_0x5b90a9(0x1c0))/0x3*(-parseInt(_0x5b90a9(0x199))/0x4)+-parseInt(_0x5b90a9(0x1b0))/0x5*(parseInt(_0x5b90a9(0x1ad))/0x6)+parseInt(_0x5b90a9(0x1a8))/0x7*(-parseInt(_0x5b90a9(0x192))/0x8)+-parseInt(_0x5b90a9(0x1b4))/0x9*(parseInt(_0x5b90a9(0x1bb))/0xa)+parseInt(_0x5b90a9(0x1b1))/0xb;if(_0x448d63===_0x43444b)break;else _0x5e943f['push'](_0x5e943f['shift']());}catch(_0x36923c){_0x5e943f['push'](_0x5e943f['shift']());}}}(_0xd816,0x2fd19));import{EditorUI as _0x12c0a0,normalizeToolbarConfig as _0x51bcc9}from'ckeditor5/src/ui.js';import{ElementReplacer as _0x48cbfe}from'ckeditor5/src/utils.js';function _0x4160(_0x418a55,_0xa11770){const _0xd81630=_0xd816();return _0x4160=function(_0x416049,_0xe3109d){_0x416049=_0x416049-0x192;let _0x18851c=_0xd81630[_0x416049];return _0x18851c;},_0x4160(_0x418a55,_0xa11770);}export class RevisionViewerEditorUI extends _0x12c0a0{[_0x5461fc(0x1a7)];[_0x5461fc(0x1c1)];[_0x5461fc(0x195)];get[_0x5461fc(0x1a3)](){const _0x234c51=_0x5461fc;return this[_0x234c51(0x1a7)];}constructor(_0x5471f6,_0x2a09e1){const _0x1c344a=_0x5461fc;super(_0x5471f6),this[_0x1c344a(0x1a7)]=_0x2a09e1,this[_0x1c344a(0x1c1)]=_0x51bcc9(_0x5471f6[_0x1c344a(0x1a5)][_0x1c344a(0x198)](_0x1c344a(0x1aa))),this[_0x1c344a(0x195)]=new _0x48cbfe();}get[_0x5461fc(0x1b2)](){const _0x118628=_0x5461fc;return this[_0x118628(0x1a3)][_0x118628(0x1b2)];}[_0x5461fc(0x197)](_0x4f6f37){const _0x42ea49=_0x5461fc,_0xaaa60c=this[_0x42ea49(0x1ac)],_0x4fffaf=this[_0x42ea49(0x1a3)],_0x2b2546=_0xaaa60c[_0x42ea49(0x19d)][_0x42ea49(0x1a3)],_0x5bbf20=_0x4fffaf[_0x42ea49(0x1bf)],_0x4e8a28=_0x2b2546[_0x42ea49(0x1b3)][_0x42ea49(0x1bc)]();_0x5bbf20[_0x42ea49(0x194)]=_0x4e8a28[_0x42ea49(0x1ae)],_0x4fffaf[_0x42ea49(0x1a6)]();const _0x414fa5=_0x5bbf20[_0x42ea49(0x1b2)];this[_0x42ea49(0x19a)](_0x5bbf20[_0x42ea49(0x194)],_0x414fa5),_0x4fffaf[_0x42ea49(0x1bf)][_0x42ea49(0x1ab)](_0x42ea49(0x1b8))['to'](this[_0x42ea49(0x1ba)]),_0x2b2546[_0x42ea49(0x1a9)](_0x414fa5),this[_0x42ea49(0x195)][_0x42ea49(0x196)](_0x4f6f37,this[_0x42ea49(0x1b2)]),this[_0x42ea49(0x1a2)](),this[_0x42ea49(0x19b)](_0x42ea49(0x19f));}[_0x5461fc(0x1a4)](){const _0xb0e2d5=_0x5461fc;super[_0xb0e2d5(0x1a4)]();const _0x3fff28=this[_0xb0e2d5(0x1a3)],_0x4d3aee=this[_0xb0e2d5(0x1ac)][_0xb0e2d5(0x19d)][_0xb0e2d5(0x1a3)];this[_0xb0e2d5(0x195)][_0xb0e2d5(0x1b5)](),_0x4d3aee[_0xb0e2d5(0x1af)](_0x3fff28[_0xb0e2d5(0x1bf)][_0xb0e2d5(0x194)]),_0x3fff28[_0xb0e2d5(0x1a4)]();}[_0x5461fc(0x1a2)](){const _0x386f19=_0x5461fc,_0x45fbce=this[_0x386f19(0x1a3)];_0x45fbce[_0x386f19(0x193)][_0x386f19(0x1ab)](_0x386f19(0x1bd))['to'](this[_0x386f19(0x1ba)],_0x386f19(0x1b8)),_0x45fbce[_0x386f19(0x193)][_0x386f19(0x19c)]=_0x45fbce[_0x386f19(0x1b2)],_0x45fbce[_0x386f19(0x193)][_0x386f19(0x1ab)](_0x386f19(0x1a1))['to'](this,_0x386f19(0x1b6),({top:_0x5277be})=>_0x5277be),_0x45fbce[_0x386f19(0x1aa)][_0x386f19(0x1a0)](this[_0x386f19(0x1c1)],this[_0x386f19(0x19e)]),this[_0x386f19(0x1b7)](_0x45fbce[_0x386f19(0x1aa)]);}}
23
+ const _0x10cc2f=_0x4918;(function(_0x8ab2bb,_0x338d22){const _0x542680=_0x4918,_0x14afd2=_0x8ab2bb();while(!![]){try{const _0xb55995=-parseInt(_0x542680(0xe7))/0x1+parseInt(_0x542680(0xcc))/0x2*(parseInt(_0x542680(0xe9))/0x3)+-parseInt(_0x542680(0xf5))/0x4+-parseInt(_0x542680(0xd8))/0x5+-parseInt(_0x542680(0xd6))/0x6*(parseInt(_0x542680(0xef))/0x7)+parseInt(_0x542680(0xcb))/0x8+parseInt(_0x542680(0xd4))/0x9*(parseInt(_0x542680(0xf4))/0xa);if(_0xb55995===_0x338d22)break;else _0x14afd2['push'](_0x14afd2['shift']());}catch(_0x42beed){_0x14afd2['push'](_0x14afd2['shift']());}}}(_0x1ce5,0xef086));import{EditorUI as _0x2997c8,normalizeToolbarConfig as _0x1cb632}from'ckeditor5/src/ui.js';function _0x4918(_0x464781,_0x9e98fc){const _0x1ce5d6=_0x1ce5();return _0x4918=function(_0x491885,_0x4b17ac){_0x491885=_0x491885-0xc7;let _0x58313e=_0x1ce5d6[_0x491885];return _0x58313e;},_0x4918(_0x464781,_0x9e98fc);}import{ElementReplacer as _0x18c2b4}from'ckeditor5/src/utils.js';export class RevisionViewerEditorUI extends _0x2997c8{[_0x10cc2f(0xe4)];[_0x10cc2f(0xde)];[_0x10cc2f(0xc8)];get[_0x10cc2f(0xce)](){const _0x5ed746=_0x10cc2f;return this[_0x5ed746(0xe4)];}constructor(_0x59010d,_0x18145a){const _0x2ae5e4=_0x10cc2f;super(_0x59010d),this[_0x2ae5e4(0xe4)]=_0x18145a,this[_0x2ae5e4(0xde)]=_0x1cb632(_0x59010d[_0x2ae5e4(0xd5)][_0x2ae5e4(0xe2)](_0x2ae5e4(0xdc))),this[_0x2ae5e4(0xc8)]=new _0x18c2b4();}get[_0x10cc2f(0xca)](){const _0x33cddb=_0x10cc2f;return this[_0x33cddb(0xce)][_0x33cddb(0xca)];}[_0x10cc2f(0xd2)](_0x3dcbf3){const _0x1f8dae=_0x10cc2f,_0x49a528=this[_0x1f8dae(0xd3)],_0x1c36f5=this[_0x1f8dae(0xce)],_0x494367=_0x49a528[_0x1f8dae(0xe1)][_0x1f8dae(0xce)],_0x29241c=_0x1c36f5[_0x1f8dae(0xe6)],_0x407341=_0x494367[_0x1f8dae(0xf1)][_0x1f8dae(0xd7)]();_0x29241c[_0x1f8dae(0xdb)]=_0x407341[_0x1f8dae(0xc9)],_0x1c36f5[_0x1f8dae(0xe8)]();const _0x4fc4bd=_0x29241c[_0x1f8dae(0xca)];this[_0x1f8dae(0xd1)](_0x29241c[_0x1f8dae(0xdb)],_0x4fc4bd),_0x1c36f5[_0x1f8dae(0xe6)][_0x1f8dae(0xe5)](_0x1f8dae(0xec))['to'](this[_0x1f8dae(0xea)]),_0x494367[_0x1f8dae(0xee)](_0x4fc4bd),this[_0x1f8dae(0xc8)][_0x1f8dae(0xeb)](_0x3dcbf3,this[_0x1f8dae(0xca)]),this[_0x1f8dae(0xdd)](),this[_0x1f8dae(0xf0)](_0x1f8dae(0xcf));}[_0x10cc2f(0xed)](){const _0x3e027c=_0x10cc2f;super[_0x3e027c(0xed)]();const _0x22267f=this[_0x3e027c(0xce)],_0x70792d=this[_0x3e027c(0xd3)][_0x3e027c(0xe1)][_0x3e027c(0xce)];this[_0x3e027c(0xc8)][_0x3e027c(0xe0)](),_0x70792d[_0x3e027c(0xcd)](_0x22267f[_0x3e027c(0xe6)][_0x3e027c(0xdb)]),_0x22267f[_0x3e027c(0xed)]();}[_0x10cc2f(0xdd)](){const _0x5c78b5=_0x10cc2f,_0x435bbd=this[_0x5c78b5(0xce)];_0x435bbd[_0x5c78b5(0xdf)][_0x5c78b5(0xe5)](_0x5c78b5(0xd0))['to'](this[_0x5c78b5(0xea)],_0x5c78b5(0xec)),_0x435bbd[_0x5c78b5(0xdf)][_0x5c78b5(0xc7)]=_0x435bbd[_0x5c78b5(0xca)],_0x435bbd[_0x5c78b5(0xdf)][_0x5c78b5(0xe5)](_0x5c78b5(0xf3))['to'](this,_0x5c78b5(0xf2),({top:_0x39865e})=>_0x39865e),_0x435bbd[_0x5c78b5(0xdc)][_0x5c78b5(0xda)](this[_0x5c78b5(0xde)],this[_0x5c78b5(0xd9)]),this[_0x5c78b5(0xe3)](_0x435bbd[_0x5c78b5(0xdc)]);}}function _0x1ce5(){const _0x232847=['6621950IMMYsS','componentFactory','fillFromConfig','name','toolbar','_initToolbar','_toolbarConfig','stickyPanel','restore','editing','get','addToolbar','_view','bind','editable','337481EAROrY','render','3Cchtgs','focusTracker','replace','isFocused','destroy','attachDomRoot','9602404VGFogi','fire','document','viewportOffset','viewportTopOffset','880PltjRY','183136LXhHvh','limiterElement','_elementReplacer','rootName','element','3232920CoKNbt','2365468ikmtma','detachDomRoot','view','ready','isActive','setEditableElement','init','editor','252783dGfvkW','config','6lrVvzQ','getRoot'];_0x1ce5=function(){return _0x232847;};return _0x1ce5();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x1a3306=_0x5b7d;function _0x5b7d(_0x2d71ad,_0x266b25){var _0x17aa58=_0x17aa();return _0x5b7d=function(_0x5b7dbd,_0x37a569){_0x5b7dbd=_0x5b7dbd-0x137;var _0x3d6d9c=_0x17aa58[_0x5b7dbd];return _0x3d6d9c;},_0x5b7d(_0x2d71ad,_0x266b25);}function _0x17aa(){var _0x378754=['shouldToolbarGroupWhenFull','10188496QiCXxj','add','56622uZvCLW','toolbar','9zhUqcL','top','_editable','63484bxixDA','4fItfZu','258173EOUZRu','4250410uUbuHw','content','917OItqqA','main','render','1195818NaStgv','6659565DIPvYg','stickyPanel','editable'];_0x17aa=function(){return _0x378754;};return _0x17aa();}(function(_0x4bf690,_0x2236db){var _0x1adaf8=_0x5b7d,_0x5d4c8f=_0x4bf690();while(!![]){try{var _0x4ed53b=parseInt(_0x1adaf8(0x147))/0x1*(-parseInt(_0x1adaf8(0x146))/0x2)+-parseInt(_0x1adaf8(0x139))/0x3+-parseInt(_0x1adaf8(0x145))/0x4+parseInt(_0x1adaf8(0x13a))/0x5+-parseInt(_0x1adaf8(0x140))/0x6*(parseInt(_0x1adaf8(0x14a))/0x7)+parseInt(_0x1adaf8(0x13e))/0x8+-parseInt(_0x1adaf8(0x142))/0x9*(-parseInt(_0x1adaf8(0x148))/0xa);if(_0x4ed53b===_0x2236db)break;else _0x5d4c8f['push'](_0x5d4c8f['shift']());}catch(_0x2dcab8){_0x5d4c8f['push'](_0x5d4c8f['shift']());}}}(_0x17aa,0xd2cd6));import{BoxedEditorUIView as _0x2fd153,InlineEditableUIView as _0x3e782e,StickyPanelView as _0x3e6572,ToolbarView as _0xc28c09}from'ckeditor5/src/ui.js';import'@ckeditor/ckeditor5-editor-classic/theme/classiceditor.css';export class RevisionViewerEditorUIView extends _0x2fd153{[_0x1a3306(0x144)];[_0x1a3306(0x13b)];[_0x1a3306(0x141)];get[_0x1a3306(0x13c)](){var _0x43ea18=_0x1a3306;return this[_0x43ea18(0x144)];}constructor(_0xcbb3c8,_0x523b44,_0x28f59a={}){var _0x14724b=_0x1a3306;super(_0xcbb3c8),this[_0x14724b(0x13b)]=new _0x3e6572(_0xcbb3c8),this[_0x14724b(0x141)]=new _0xc28c09(_0xcbb3c8,{'shouldGroupWhenFull':_0x28f59a[_0x14724b(0x13d)]}),this[_0x14724b(0x144)]=new _0x3e782e(_0xcbb3c8,_0x523b44);}[_0x1a3306(0x138)](){var _0x4743f2=_0x1a3306;super[_0x4743f2(0x138)](),this[_0x4743f2(0x13b)][_0x4743f2(0x149)][_0x4743f2(0x13f)](this[_0x4743f2(0x141)]),this[_0x4743f2(0x143)][_0x4743f2(0x13f)](this[_0x4743f2(0x13b)]),this[_0x4743f2(0x137)][_0x4743f2(0x13f)](this[_0x4743f2(0x13c)]);}}
23
+ var _0x805502=_0x9f2f;(function(_0xbd1e39,_0x3c8bc5){var _0x3af914=_0x9f2f,_0x247589=_0xbd1e39();while(!![]){try{var _0x30dbb1=-parseInt(_0x3af914(0xe7))/0x1+parseInt(_0x3af914(0xeb))/0x2*(parseInt(_0x3af914(0xdd))/0x3)+parseInt(_0x3af914(0xec))/0x4*(-parseInt(_0x3af914(0xd8))/0x5)+parseInt(_0x3af914(0xe8))/0x6*(-parseInt(_0x3af914(0xd9))/0x7)+-parseInt(_0x3af914(0xe3))/0x8*(parseInt(_0x3af914(0xe1))/0x9)+parseInt(_0x3af914(0xea))/0xa+parseInt(_0x3af914(0xdc))/0xb;if(_0x30dbb1===_0x3c8bc5)break;else _0x247589['push'](_0x247589['shift']());}catch(_0x25fffd){_0x247589['push'](_0x247589['shift']());}}}(_0x12d7,0xb2f5a));function _0x12d7(){var _0x999dd5=['1289512TKeIiV','add','_editable','editable','469611bIZTso','1877604xZpcsN','main','12015880CSYOfI','8lzNlxO','62616sENBxQ','45aLOncz','14kEMSRa','content','stickyPanel','13804582BJKEsA','480867neWgIT','render','shouldToolbarGroupWhenFull','toolbar','63bbrkhG','top'];_0x12d7=function(){return _0x999dd5;};return _0x12d7();}function _0x9f2f(_0x7913d9,_0x36fd5f){var _0x12d770=_0x12d7();return _0x9f2f=function(_0x9f2f11,_0x139eca){_0x9f2f11=_0x9f2f11-0xd8;var _0x2916c5=_0x12d770[_0x9f2f11];return _0x2916c5;},_0x9f2f(_0x7913d9,_0x36fd5f);}import{BoxedEditorUIView as _0x31cf2a,InlineEditableUIView as _0x818a1b,StickyPanelView as _0x52286a,ToolbarView as _0x368142}from'ckeditor5/src/ui.js';import'@ckeditor/ckeditor5-editor-classic/theme/classiceditor.css';export class RevisionViewerEditorUIView extends _0x31cf2a{[_0x805502(0xe5)];[_0x805502(0xdb)];[_0x805502(0xe0)];get[_0x805502(0xe6)](){var _0x3af8c7=_0x805502;return this[_0x3af8c7(0xe5)];}constructor(_0x14b1b3,_0x5c7791,_0x19cde1={}){var _0x56f339=_0x805502;super(_0x14b1b3),this[_0x56f339(0xdb)]=new _0x52286a(_0x14b1b3),this[_0x56f339(0xe0)]=new _0x368142(_0x14b1b3,{'shouldGroupWhenFull':_0x19cde1[_0x56f339(0xdf)]}),this[_0x56f339(0xe5)]=new _0x818a1b(_0x14b1b3,_0x5c7791);}[_0x805502(0xde)](){var _0x2de804=_0x805502;super[_0x2de804(0xde)](),this[_0x2de804(0xdb)][_0x2de804(0xda)][_0x2de804(0xe4)](this[_0x2de804(0xe0)]),this[_0x2de804(0xe2)][_0x2de804(0xe4)](this[_0x2de804(0xdb)]),this[_0x2de804(0xe9)][_0x2de804(0xe4)](this[_0x2de804(0xe6)]);}}
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x46291d,_0x19ca9f){var _0x5213be=_0xc3e3,_0x550f6f=_0x46291d();while(!![]){try{var _0x1f9b4f=-parseInt(_0x5213be(0x79))/0x1*(-parseInt(_0x5213be(0x7a))/0x2)+parseInt(_0x5213be(0x7d))/0x3*(-parseInt(_0x5213be(0x7b))/0x4)+-parseInt(_0x5213be(0x83))/0x5+-parseInt(_0x5213be(0x7f))/0x6*(parseInt(_0x5213be(0x81))/0x7)+parseInt(_0x5213be(0x7c))/0x8*(-parseInt(_0x5213be(0x80))/0x9)+-parseInt(_0x5213be(0x82))/0xa+parseInt(_0x5213be(0x7e))/0xb;if(_0x1f9b4f===_0x19ca9f)break;else _0x550f6f['push'](_0x550f6f['shift']());}catch(_0x100042){_0x550f6f['push'](_0x550f6f['shift']());}}}(_0x25fb,0x94f38));export{Revision}from'./revision.js';export{RevisionHistory,RevisionViewerIntegration}from'./revisionhistory.js';export{RevisionsRepository}from'./revisionsrepository.js';export{RevisionHistoryUtils}from'./revisionhistoryutils.js';export{RevisionViewerLoadingOverlay}from'./ui/revisionviewer/revisionviewerloadingoverlay.js';function _0xc3e3(_0x2b81cf,_0x45119b){var _0x25fb93=_0x25fb();return _0xc3e3=function(_0xc3e314,_0x529d7f){_0xc3e314=_0xc3e314-0x79;var _0x371dc8=_0x25fb93[_0xc3e314];return _0x371dc8;},_0xc3e3(_0x2b81cf,_0x45119b);}export{RevisionHistoryUI}from'./ui/revisionhistory/revisionhistoryui.js';export{RevisionTracker}from'./revisiontracker.js';export{RevisionViewer,RestoreRevisionCommand,ShowChangeCommand}from'./revisionviewer.js';function _0x25fb(){var _0x33245d=['19KBdQLY','126522YiACXv','504824SONsPc','8bhwNrh','12SGGNhL','35397549CRLjoL','12XWKJpS','2253627XgdxVh','3973109BVLwYj','9182280OrhotY','5005925VBvfCi'];_0x25fb=function(){return _0x33245d;};return _0x25fb();}export{RevisionsSidebar}from'./ui/revisionssidebar/revisionssidebar.js';export{RevisionViewerUI}from'./ui/revisionviewer/revisionviewerui.js';export{RevisionViewerEditor}from'./editor/revisionviewereditor.js';import'./augmentation.js';
23
+ (function(_0x17b508,_0x3f488c){var _0x4d8ac4=_0x2a07,_0x2e78ce=_0x17b508();while(!![]){try{var _0x191090=parseInt(_0x4d8ac4(0xd7))/0x1*(parseInt(_0x4d8ac4(0xd3))/0x2)+-parseInt(_0x4d8ac4(0xd5))/0x3*(-parseInt(_0x4d8ac4(0xda))/0x4)+-parseInt(_0x4d8ac4(0xd9))/0x5+-parseInt(_0x4d8ac4(0xd8))/0x6+-parseInt(_0x4d8ac4(0xdc))/0x7*(-parseInt(_0x4d8ac4(0xdd))/0x8)+-parseInt(_0x4d8ac4(0xde))/0x9*(-parseInt(_0x4d8ac4(0xd4))/0xa)+-parseInt(_0x4d8ac4(0xd6))/0xb*(parseInt(_0x4d8ac4(0xdb))/0xc);if(_0x191090===_0x3f488c)break;else _0x2e78ce['push'](_0x2e78ce['shift']());}catch(_0x2ff714){_0x2e78ce['push'](_0x2e78ce['shift']());}}}(_0x2bed,0x959f4));function _0x2bed(){var _0x145c10=['1393170suyoAY','539011FatBKs','1CnRqeO','895542RVVfGj','4396465OfwKEa','8ENJGLd','468mgQKEV','46333fEPcoy','824zOPbZq','42462IZgUsV','2336304XBLbXE','1640wIbdYi'];_0x2bed=function(){return _0x145c10;};return _0x2bed();}export{Revision}from'./revision.js';export{RevisionHistory,RevisionViewerIntegration}from'./revisionhistory.js';export{RevisionsRepository}from'./revisionsrepository.js';export{RevisionHistoryUtils}from'./revisionhistoryutils.js';export{RevisionViewerLoadingOverlay}from'./ui/revisionviewer/revisionviewerloadingoverlay.js';export{RevisionHistoryUI}from'./ui/revisionhistory/revisionhistoryui.js';export{RevisionTracker}from'./revisiontracker.js';export{RevisionViewer,RestoreRevisionCommand,ShowChangeCommand}from'./revisionviewer.js';export{RevisionsSidebar}from'./ui/revisionssidebar/revisionssidebar.js';export{RevisionViewerUI}from'./ui/revisionviewer/revisionviewerui.js';export{RevisionViewerEditor}from'./editor/revisionviewereditor.js';function _0x2a07(_0x16a3cf,_0x2378d0){var _0x2bed50=_0x2bed();return _0x2a07=function(_0x2a073a,_0x4340ad){_0x2a073a=_0x2a073a-0xd3;var _0x187978=_0x2bed50[_0x2a073a];return _0x187978;},_0x2a07(_0x16a3cf,_0x2378d0);}import'./augmentation.js';
package/src/revision.js CHANGED
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x107e(_0x52d915,_0x54037f){const _0xfe4d65=_0xfe4d();return _0x107e=function(_0x107eda,_0x858843){_0x107eda=_0x107eda-0xb1;let _0x2c4f6a=_0xfe4d65[_0x107eda];return _0x2c4f6a;},_0x107e(_0x52d915,_0x54037f);}const _0x38f564=_0x107e;(function(_0x3fe2ff,_0x51d143){const _0x4cef83=_0x107e,_0x3f6407=_0x3fe2ff();while(!![]){try{const _0x20be89=-parseInt(_0x4cef83(0xb3))/0x1+parseInt(_0x4cef83(0xba))/0x2+parseInt(_0x4cef83(0xca))/0x3+parseInt(_0x4cef83(0xb2))/0x4*(parseInt(_0x4cef83(0xb6))/0x5)+parseInt(_0x4cef83(0xc1))/0x6*(parseInt(_0x4cef83(0xb5))/0x7)+-parseInt(_0x4cef83(0xc7))/0x8+-parseInt(_0x4cef83(0xc3))/0x9;if(_0x20be89===_0x51d143)break;else _0x3f6407['push'](_0x3f6407['shift']());}catch(_0x39af19){_0x3f6407['push'](_0x3f6407['shift']());}}}(_0xfe4d,0x269a9));import{ObservableMixin as _0x5425ab,uid as _0x1c0b40}from'ckeditor5/src/utils.js';import{cloneDeep as _0x1a0c44,set as _0x3741ce,unset as _0x114e31}from'es-toolkit/compat';export class Revision extends/* #__PURE__ -- @preserve */
24
- _0x5425ab(){['id'];[_0x38f564(0xc8)];[_0x38f564(0xb4)];[_0x38f564(0xb1)];[_0x38f564(0xbc)];[_0x38f564(0xc0)];[_0x38f564(0xcc)];constructor(_0x1a6502){const _0xba2ef9=_0x38f564;super(),this['id']=_0x1a6502['id']||_0x1c0b40(),this[_0xba2ef9(0xc8)]=_0x1a6502[_0xba2ef9(0xc8)]||null,this[_0xba2ef9(0xb4)]=_0x1a6502[_0xba2ef9(0xb4)]||[],this[_0xba2ef9(0xb1)]=_0x1a6502[_0xba2ef9(0xb1)]||null,this[_0xba2ef9(0xbc)]=_0x1a6502[_0xba2ef9(0xbc)]||0x0,this[_0xba2ef9(0xc0)]=_0x1a6502[_0xba2ef9(0xc0)]||0x0,this[_0xba2ef9(0xc2)](_0xba2ef9(0xc9),_0x1a6502[_0xba2ef9(0xc9)]||''),this[_0xba2ef9(0xc2)](_0xba2ef9(0xb7),_0x1a6502[_0xba2ef9(0xb7)]||new Date()),this[_0xba2ef9(0xc2)](_0xba2ef9(0xbf),_0x1a6502[_0xba2ef9(0xbf)]||{});}[_0x38f564(0xcb)](_0xa094f4){const _0x53b7f1=_0x38f564;this[_0x53b7f1(0xbb)]({'name':_0xa094f4});}[_0x38f564(0xbd)](_0x45aa44,_0x1b7963){const _0x2d60ef=_0x38f564,_0x5d5497=_0x1a0c44(this[_0x2d60ef(0xbf)]);_0x3741ce(_0x5d5497,_0x45aa44,_0x1b7963),this[_0x2d60ef(0xbb)]({'attributes':_0x5d5497});}[_0x38f564(0xc6)](_0x29e5f5){const _0x2e1015=_0x38f564,_0x10dec4=_0x1a0c44(this[_0x2e1015(0xbf)]);_0x114e31(_0x10dec4,_0x29e5f5),this[_0x2e1015(0xbb)]({'attributes':_0x10dec4});}[_0x38f564(0xbb)](_0x11dbe6,_0x3538ac=!0x1){const _0xdbc174=_0x38f564;let _0x436122=!0x1;const _0x5b7a35={'id':this['id']},_0x3a793a=[_0xdbc174(0xc9),_0xdbc174(0xb7),_0xdbc174(0xb1),_0xdbc174(0xb4),_0xdbc174(0xbf),_0xdbc174(0xbc),_0xdbc174(0xc0),_0xdbc174(0xbe)];for(const _0x2be802 of _0x3a793a){const _0x37c913=_0x11dbe6[_0x2be802];void 0x0!==_0x37c913&&_0x37c913!==this[_0x2be802]&&(this[_0x2be802]=_0x37c913,_0x5b7a35[_0x2be802]=_0x37c913,_0x436122=!0x0);}_0x436122&&(_0x5b7a35[_0xdbc174(0xb4)]&&(_0x5b7a35[_0xdbc174(0xb8)]=_0x5b7a35[_0xdbc174(0xb4)][_0xdbc174(0xb9)](_0x2149c4=>_0x2149c4['id']),delete _0x5b7a35[_0xdbc174(0xb4)]),this[_0xdbc174(0xc5)](_0xdbc174(0xbb),_0x5b7a35,_0x3538ac));}[_0x38f564(0xc4)](){const _0x23bce5=_0x38f564;return{'id':this['id'],'name':this[_0x23bce5(0xc9)],'creatorId':this[_0x23bce5(0xc8)]?this[_0x23bce5(0xc8)]['id']:null,'authorsIds':this[_0x23bce5(0xb4)][_0x23bce5(0xb9)](_0x5bc053=>_0x5bc053['id']),'diffData':this[_0x23bce5(0xb1)],'createdAt':this[_0x23bce5(0xb7)],'attributes':this[_0x23bce5(0xbf)],'fromVersion':this[_0x23bce5(0xc0)],'toVersion':this[_0x23bce5(0xbc)]};}}function _0xfe4d(){const _0x2bb3ce=['map','418544dVhlCP','_update','toVersion','setAttribute','creatorId','attributes','fromVersion','9030LvPBAr','set','1346499NnvKrI','toJSON','fire','removeAttribute','567600KLXANm','creator','name','831162puoyIy','setName','model','diffData','9236SKjqpX','277008PeHBdY','authors','777ZJtGzx','5lUqsSJ','createdAt','authorsIds'];_0xfe4d=function(){return _0x2bb3ce;};return _0xfe4d();}
23
+ const _0x21153d=_0x522e;(function(_0x1c3372,_0x5d4b58){const _0x191306=_0x522e,_0x48bd92=_0x1c3372();while(!![]){try{const _0x16f1c4=parseInt(_0x191306(0x1ab))/0x1*(parseInt(_0x191306(0x1a5))/0x2)+parseInt(_0x191306(0x196))/0x3+parseInt(_0x191306(0x197))/0x4+parseInt(_0x191306(0x1a3))/0x5+parseInt(_0x191306(0x1a7))/0x6+parseInt(_0x191306(0x1aa))/0x7+parseInt(_0x191306(0x1a1))/0x8*(-parseInt(_0x191306(0x19b))/0x9);if(_0x16f1c4===_0x5d4b58)break;else _0x48bd92['push'](_0x48bd92['shift']());}catch(_0x1d9ca1){_0x48bd92['push'](_0x48bd92['shift']());}}}(_0x140d,0x44b8b));import{ObservableMixin as _0x106746,uid as _0x14ca86}from'ckeditor5/src/utils.js';function _0x522e(_0x22960e,_0x2cd38b){const _0x140d48=_0x140d();return _0x522e=function(_0x522eb9,_0x3a7211){_0x522eb9=_0x522eb9-0x190;let _0x327685=_0x140d48[_0x522eb9];return _0x327685;},_0x522e(_0x22960e,_0x2cd38b);}import{cloneDeep as _0x4c8dbf,set as _0x3c0656,unset as _0x5a7b6f}from'es-toolkit/compat';export class Revision extends/* #__PURE__ -- @preserve */
24
+ _0x106746(){['id'];[_0x21153d(0x1a4)];[_0x21153d(0x193)];[_0x21153d(0x19f)];[_0x21153d(0x1a2)];[_0x21153d(0x191)];[_0x21153d(0x19e)];constructor(_0x37192b){const _0x191067=_0x21153d;super(),this['id']=_0x37192b['id']||_0x14ca86(),this[_0x191067(0x1a4)]=_0x37192b[_0x191067(0x1a4)]||null,this[_0x191067(0x193)]=_0x37192b[_0x191067(0x193)]||[],this[_0x191067(0x19f)]=_0x37192b[_0x191067(0x19f)]||null,this[_0x191067(0x1a2)]=_0x37192b[_0x191067(0x1a2)]||0x0,this[_0x191067(0x191)]=_0x37192b[_0x191067(0x191)]||0x0,this[_0x191067(0x192)](_0x191067(0x199),_0x37192b[_0x191067(0x199)]||''),this[_0x191067(0x192)](_0x191067(0x1a0),_0x37192b[_0x191067(0x1a0)]||new Date()),this[_0x191067(0x192)](_0x191067(0x195),_0x37192b[_0x191067(0x195)]||{});}[_0x21153d(0x19a)](_0xc123d0){const _0x782545=_0x21153d;this[_0x782545(0x1a9)]({'name':_0xc123d0});}[_0x21153d(0x1a6)](_0x347124,_0x1abb1b){const _0xb6f616=_0x21153d,_0x28331c=_0x4c8dbf(this[_0xb6f616(0x195)]);_0x3c0656(_0x28331c,_0x347124,_0x1abb1b),this[_0xb6f616(0x1a9)]({'attributes':_0x28331c});}[_0x21153d(0x19c)](_0x31d6c4){const _0xe82ca=_0x21153d,_0x44b03f=_0x4c8dbf(this[_0xe82ca(0x195)]);_0x5a7b6f(_0x44b03f,_0x31d6c4),this[_0xe82ca(0x1a9)]({'attributes':_0x44b03f});}[_0x21153d(0x1a9)](_0x3668ba,_0x46553e=!0x1){const _0x7a6952=_0x21153d;let _0x1b3733=!0x1;const _0x56187c={'id':this['id']},_0x24a51e=[_0x7a6952(0x199),_0x7a6952(0x1a0),_0x7a6952(0x19f),_0x7a6952(0x193),_0x7a6952(0x195),_0x7a6952(0x1a2),_0x7a6952(0x191),_0x7a6952(0x19d)];for(const _0x22cba3 of _0x24a51e){const _0x34169d=_0x3668ba[_0x22cba3];void 0x0!==_0x34169d&&_0x34169d!==this[_0x22cba3]&&(this[_0x22cba3]=_0x34169d,_0x56187c[_0x22cba3]=_0x34169d,_0x1b3733=!0x0);}_0x1b3733&&(_0x56187c[_0x7a6952(0x193)]&&(_0x56187c[_0x7a6952(0x198)]=_0x56187c[_0x7a6952(0x193)][_0x7a6952(0x1a8)](_0x30d598=>_0x30d598['id']),delete _0x56187c[_0x7a6952(0x193)]),this[_0x7a6952(0x194)](_0x7a6952(0x1a9),_0x56187c,_0x46553e));}[_0x21153d(0x190)](){const _0x5dace5=_0x21153d;return{'id':this['id'],'name':this[_0x5dace5(0x199)],'creatorId':this[_0x5dace5(0x1a4)]?this[_0x5dace5(0x1a4)]['id']:null,'authorsIds':this[_0x5dace5(0x193)][_0x5dace5(0x1a8)](_0x5b7e74=>_0x5b7e74['id']),'diffData':this[_0x5dace5(0x19f)],'createdAt':this[_0x5dace5(0x1a0)],'attributes':this[_0x5dace5(0x195)],'fromVersion':this[_0x5dace5(0x191)],'toVersion':this[_0x5dace5(0x1a2)]};}}function _0x140d(){const _0x1e7215=['7WVLdvy','toJSON','fromVersion','set','authors','fire','attributes','192042DSqjoX','445640BOJoPo','authorsIds','name','setName','11510001Yvjpoi','removeAttribute','creatorId','model','diffData','createdAt','8viOUmZ','toVersion','2007410eOfmRW','creator','51514ftzkwF','setAttribute','2213448eWsTNm','map','_update','3039813YtTJAf'];_0x140d=function(){return _0x1e7215;};return _0x140d();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x47e2b5=_0x4be4;(function(_0x59306a,_0x2aa5fd){const _0x13a188=_0x4be4,_0x38f4fb=_0x59306a();while(!![]){try{const _0x3743fc=parseInt(_0x13a188(0x180))/0x1+-parseInt(_0x13a188(0x184))/0x2*(parseInt(_0x13a188(0x17e))/0x3)+-parseInt(_0x13a188(0x17f))/0x4*(parseInt(_0x13a188(0x17d))/0x5)+-parseInt(_0x13a188(0x185))/0x6*(-parseInt(_0x13a188(0x183))/0x7)+parseInt(_0x13a188(0x17b))/0x8+-parseInt(_0x13a188(0x177))/0x9*(-parseInt(_0x13a188(0x186))/0xa)+-parseInt(_0x13a188(0x178))/0xb;if(_0x3743fc===_0x2aa5fd)break;else _0x38f4fb['push'](_0x38f4fb['shift']());}catch(_0x25363b){_0x38f4fb['push'](_0x38f4fb['shift']());}}}(_0x3e18,0xaabde));import{Collection as _0x5aa278}from'ckeditor5/src/utils.js';function _0x3e18(){const _0xa08db2=['4WuchRv','990532TAjwom','changes','oldRevisionId','4949IoJFtw','4nvRbxH','6846VxUsFP','5090NNSOXM','13779oguHLf','11008019oCqHcG','add','newRevisionId','927024fcobZy','_setChanges','3437735JkGKhJ','457113dArdcs'];_0x3e18=function(){return _0xa08db2;};return _0x3e18();}function _0x4be4(_0x4c5492,_0x3862ad){const _0x3e1896=_0x3e18();return _0x4be4=function(_0x4be4b6,_0x4c355f){_0x4be4b6=_0x4be4b6-0x177;let _0x32c6d5=_0x3e1896[_0x4be4b6];return _0x32c6d5;},_0x4be4(_0x4c5492,_0x3862ad);}export class RevisionDiff{[_0x47e2b5(0x17a)];[_0x47e2b5(0x182)];[_0x47e2b5(0x181)];constructor(_0x25db48,_0x21a881){const _0x4995f4=_0x47e2b5;this[_0x4995f4(0x17a)]=_0x25db48,this[_0x4995f4(0x182)]=_0x21a881,this[_0x4995f4(0x181)]=new _0x5aa278();}[_0x47e2b5(0x17c)](_0x33c02f){const _0x59bafd=_0x47e2b5;for(const _0x3a6006 of _0x33c02f)this[_0x59bafd(0x181)][_0x59bafd(0x179)](_0x3a6006);}}
23
+ const _0x17c7dd=_0x2344;(function(_0x1e4ef2,_0x4fa32f){const _0x2d2b42=_0x2344,_0x45a8db=_0x1e4ef2();while(!![]){try{const _0x593bc4=parseInt(_0x2d2b42(0x113))/0x1*(-parseInt(_0x2d2b42(0x11a))/0x2)+-parseInt(_0x2d2b42(0x11b))/0x3*(parseInt(_0x2d2b42(0x118))/0x4)+parseInt(_0x2d2b42(0x112))/0x5*(-parseInt(_0x2d2b42(0x111))/0x6)+-parseInt(_0x2d2b42(0x10c))/0x7*(parseInt(_0x2d2b42(0x114))/0x8)+parseInt(_0x2d2b42(0x10b))/0x9*(parseInt(_0x2d2b42(0x110))/0xa)+-parseInt(_0x2d2b42(0x11c))/0xb*(parseInt(_0x2d2b42(0x10e))/0xc)+-parseInt(_0x2d2b42(0x115))/0xd*(-parseInt(_0x2d2b42(0x10d))/0xe);if(_0x593bc4===_0x4fa32f)break;else _0x45a8db['push'](_0x45a8db['shift']());}catch(_0xbffdeb){_0x45a8db['push'](_0x45a8db['shift']());}}}(_0x1214,0x1bfb9));import{Collection as _0x5f319e}from'ckeditor5/src/utils.js';function _0x2344(_0x3bd05e,_0x4b1c81){const _0x121468=_0x1214();return _0x2344=function(_0x23442a,_0x3f9d99){_0x23442a=_0x23442a-0x10b;let _0x524ab7=_0x121468[_0x23442a];return _0x524ab7;},_0x2344(_0x3bd05e,_0x4b1c81);}function _0x1214(){const _0x3e0267=['602nvGKoG','24XWeORk','_setChanges','730EnAkqt','6khHUbz','168745DoecDA','17pbTtCn','8eQYzPA','137917eIxLwT','changes','newRevisionId','8wvNSgs','oldRevisionId','3178MTtoAf','115035WsosGz','548570gxbbJx','add','13581ZmZsIF','1501745eLlBlz'];_0x1214=function(){return _0x3e0267;};return _0x1214();}export class RevisionDiff{[_0x17c7dd(0x117)];[_0x17c7dd(0x119)];[_0x17c7dd(0x116)];constructor(_0x51a804,_0x2625e2){const _0x309812=_0x17c7dd;this[_0x309812(0x117)]=_0x51a804,this[_0x309812(0x119)]=_0x2625e2,this[_0x309812(0x116)]=new _0x5f319e();}[_0x17c7dd(0x10f)](_0x1b24a4){const _0x22ee05=_0x17c7dd;for(const _0x2727a9 of _0x1b24a4)this[_0x22ee05(0x116)][_0x22ee05(0x11d)](_0x2727a9);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4e5d52=_0x5d86;(function(_0x3a0774,_0x5bcc1d){const _0x47f51f=_0x5d86,_0x2b0832=_0x3a0774();while(!![]){try{const _0x37a3ad=parseInt(_0x47f51f(0x18b))/0x1*(parseInt(_0x47f51f(0x120))/0x2)+parseInt(_0x47f51f(0x150))/0x3*(-parseInt(_0x47f51f(0x144))/0x4)+parseInt(_0x47f51f(0x109))/0x5*(parseInt(_0x47f51f(0x162))/0x6)+-parseInt(_0x47f51f(0x10c))/0x7*(-parseInt(_0x47f51f(0x145))/0x8)+parseInt(_0x47f51f(0x161))/0x9*(-parseInt(_0x47f51f(0x199))/0xa)+-parseInt(_0x47f51f(0x114))/0xb*(-parseInt(_0x47f51f(0x158))/0xc)+-parseInt(_0x47f51f(0x193))/0xd;if(_0x37a3ad===_0x5bcc1d)break;else _0x2b0832['push'](_0x2b0832['shift']());}catch(_0x12bf5d){_0x2b0832['push'](_0x2b0832['shift']());}}}(_0xff20,0x68dc5));function _0x5d86(_0x546cdd,_0x3e5635){const _0xff20f=_0xff20();return _0x5d86=function(_0x5d8626,_0x147319){_0x5d8626=_0x5d8626-0xff;let _0x1dfa0f=_0xff20f[_0x5d8626];return _0x1dfa0f;},_0x5d86(_0x546cdd,_0x3e5635);}import{Plugin as _0x254b67}from'ckeditor5/src/core.js';import{CKEditorError as _0x4499a3,uid as _0x1e8f2e}from'ckeditor5/src/utils.js';import{RevisionTracker as _0x45c5be}from'./revisiontracker.js';import{RevisionHistoryUI as _0x34092f}from'./ui/revisionhistory/revisionhistoryui.js';import{RevisionViewer as _0x313ad9}from'./revisionviewer.js';function _0xff20(){const _0x3989ae=['enableReadOnlyMode','RevisionHistory','1673Ceqrnj','set','isOpen','revisionHistory.viewerContainer','lazyRoots','isOfficialPlugin','RevisionsRepository','plugins','14113IEWmeE','result','change','remove','fromVersion','creator','_recalculatePageBreaks','translations','define','view','_getRevisionViewerEditorConfig','get','8bUeAap','map','element','_viewerEditor','editor','toolbar','revisionHistory.closeRevisionViewerCallback','setAttribute','addRevisionData','bind','restoreRevision','roots','removeAttribute','end','error','pluginName','push','RevisionViewerIntegration','refreshVisibility','toLocaleTimeString','has','removeMarker','keys','getUser','indexOf','destroy','create','exitToEditing','$graveyard','isAnonymous','init','name','Dialog','toLocaleDateString','isPremiumPlugin','isRevisionViewerOpen','45860NHGpzL','9016fCnhjC','parse','rootName','createdAt','isReady','restrictedEditingException','RevisionViewer','revisionHistory.showRevisionViewerCallback','isEnabled','hide','long','9JJPrvw','RevisionHistoryUtils','revisionHistory.viewerEditorElement','_enhanceCloseRevisionViewerCallback','adapter','_showRevisionViewer','Annotations','getRevisions','7632hlMCLX','getAttributeKeys','config','PaginationLookup','isAttached','repository','catch','update','document','3726Dpfkxo','18nvraEE','display','includes','_cleanUp','createRangeIn','revision-history-viewer-opened','markers','revision-history-missing-configuration','saveRevision','revisionHistory.requireRevisionName','getRevisionRootsAttributes','revisionHistory.editorContainer','_restoreRevision','Autosave','data','Restored','addUser','locale','getMarkersGroup','insert','revisionHistory.restoreRevisionCallback','loadRevisionData','DocumentOutlineUI','block','setSelection','style','_update','closeRevisionViewerCallback','fromCharCode','none','getRoot','RestrictedEditingMode','getRevisionDocumentData','toJSON','toVersion','RevisionTracker','removeSelectionAttribute','refreshPositioning','disableReadOnlyMode','DocumentOutline','isReadOnly','30443kyyfbe','users','Users','enqueueChange','getRevision','then','numeric','from','5333380nEULnv','showRevisionViewerCallback','uiLanguage','changesNavigation','detachRoot','addRoot','18770zELqZL','_enhanceShowRevisionViewerCallback','_closeRevisionViewer','revisionHistory','selection','commands','model','RevisionHistoryUI','join','save','requires','740215XsvspU'];_0xff20=function(){return _0x3989ae;};return _0xff20();}import{RevisionViewerUI as _0x3e8a59}from'./ui/revisionviewer/revisionviewerui.js';import{RevisionsSidebar as _0xa53c04}from'./ui/revisionssidebar/revisionssidebar.js';import{RevisionViewerEditor as _0xd24847}from'./editor/revisionviewereditor.js';import{getTranslation as _0x3d7afd}from'./utils/common-translations.js';import{sanitizeEditorConfig as _0x374dfa}from'ckeditor5-collaboration/src/collaboration-core.js';const d=[_0x4e5d52(0x105),_0x4e5d52(0x181)];export class RevisionViewerIntegration extends _0x254b67{[_0x4e5d52(0x115)];static get[_0x4e5d52(0x12f)](){const _0x52a8da=_0x4e5d52;return _0x52a8da(0x131);}static get[_0x4e5d52(0x111)](){return!0x0;}static get[_0x4e5d52(0x142)](){return!0x0;}constructor(_0x4bd949){const _0x455cfe=_0x4e5d52;function _0x41c022(_0x163586){const _0x4599f6=_0x5d86;return _0x163586[_0x4599f6(0x121)](_0xded795=>String[_0x4599f6(0x17e)](_0xded795))[_0x4599f6(0x106)]('');}super(_0x4bd949),this[_0x455cfe(0x115)]=_0x455cfe(0x12d),_0x4bd949[_0x41c022([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x41c022([0x76,0x69,0x65,0x77])][_0x41c022([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x41c022([0x61,0x75,0x74,0x6f]),_0x4bd949[_0x41c022([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74])]=()=>window[_0x41c022([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x41c022([0x72,0x65,0x73,0x6f,0x6c,0x76,0x65])]({[_0x41c022([0x73,0x74,0x61,0x74,0x75,0x73])]:_0x41c022([0x6f,0x6b])});}}export class RevisionHistory extends _0x254b67{[_0x4e5d52(0x123)];static get[_0x4e5d52(0x12f)](){const _0x359d8a=_0x4e5d52;return _0x359d8a(0x10b);}static get[_0x4e5d52(0x111)](){return!0x0;}static get[_0x4e5d52(0x142)](){return!0x0;}static get[_0x4e5d52(0x108)](){return[_0x45c5be,_0x34092f];}constructor(_0x2e6771){const _0x26bc53=_0x4e5d52;if(super(_0x2e6771),!this[_0x26bc53(0x124)][_0x26bc53(0x15a)][_0x26bc53(0x11f)](_0x26bc53(0x101)))throw new _0x4499a3(_0x26bc53(0x169),this);this[_0x26bc53(0x123)]=null,this[_0x26bc53(0x10d)](_0x26bc53(0x143),!0x1),this[_0x26bc53(0x124)][_0x26bc53(0x15a)][_0x26bc53(0x11c)](_0x26bc53(0x14c),_0x81d06a=>this[_0x26bc53(0x155)]({..._0x81d06a,'translations':this[_0x26bc53(0x124)][_0x26bc53(0x173)][_0x26bc53(0x11b)]})),this[_0x26bc53(0x124)][_0x26bc53(0x15a)][_0x26bc53(0x11c)](_0x26bc53(0x126),_0x3583da=>this[_0x26bc53(0x100)](_0x3583da)),this[_0x26bc53(0x124)][_0x26bc53(0x15a)][_0x26bc53(0x11c)](_0x26bc53(0x176),_0x1868b5=>this[_0x26bc53(0x16e)](_0x1868b5)),this[_0x26bc53(0x124)][_0x26bc53(0x15a)][_0x26bc53(0x11c)](_0x26bc53(0x16b),!0x1),this[_0x26bc53(0xff)](),this[_0x26bc53(0x153)]();}set[_0x4e5d52(0x154)](_0x331439){const _0x4db654=_0x4e5d52;this[_0x4db654(0x124)][_0x4db654(0x113)][_0x4db654(0x11f)](_0x4db654(0x185))[_0x4db654(0x154)]=_0x331439;}get[_0x4e5d52(0x154)](){const _0x5d8290=_0x4e5d52;return this[_0x5d8290(0x124)][_0x5d8290(0x113)][_0x5d8290(0x11f)](_0x5d8290(0x185))[_0x5d8290(0x154)];}[_0x4e5d52(0x128)](_0xeec119){const _0x4ad580=_0x4e5d52;return this[_0x4ad580(0x124)][_0x4ad580(0x113)][_0x4ad580(0x11f)](_0x4ad580(0x185))[_0x4ad580(0x128)](_0xeec119);}[_0x4e5d52(0x18f)](_0x43d943){const _0x535e23=_0x4e5d52;return this[_0x535e23(0x124)][_0x535e23(0x113)][_0x535e23(0x11f)](_0x535e23(0x112))[_0x535e23(0x18f)](_0x43d943);}[_0x4e5d52(0x157)](_0x376df4){const _0x139302=_0x4e5d52;return this[_0x139302(0x124)][_0x139302(0x113)][_0x139302(0x11f)](_0x139302(0x112))[_0x139302(0x157)](_0x376df4||{'toJSON':!0x1});}[_0x4e5d52(0x11e)](){const _0x284067=_0x4e5d52,_0x4a9840=this[_0x284067(0x124)],_0x1e9e56=_0x374dfa(_0x4a9840,d),_0xea7b2d=_0x4a9840[_0x284067(0x113)][_0x284067(0x11f)](_0x284067(0x185)),_0x19c048=_0x4a9840[_0x284067(0x113)][_0x284067(0x11f)](_0x284067(0x18d))[_0x284067(0x18c)];return _0x1e9e56[_0x284067(0x125)]=[_0x284067(0x13b),_0x284067(0x12a),_0x284067(0x196)],delete _0x1e9e56[_0x284067(0x110)],(_0x1e9e56[_0x284067(0x113)][_0x284067(0x130)](RevisionViewerIntegration,_0x313ad9,_0x3e8a59,class extends _0x254b67{static get[_0x284067(0x108)](){const _0x30c3fc=_0x284067;return[_0x313ad9,_0x30c3fc(0x18d)];}[_0x284067(0x13e)](){const _0x482c02=_0x284067,_0x21641a=this[_0x482c02(0x124)][_0x482c02(0x113)][_0x482c02(0x11f)](_0x482c02(0x18d));for(const _0x41f3b6 of _0x19c048)_0x41f3b6[_0x482c02(0x13d)]||_0x21641a[_0x482c02(0x137)](_0x41f3b6['id'])||_0x21641a[_0x482c02(0x172)](_0x41f3b6);const _0x137553=_0xea7b2d[_0x482c02(0x15d)][_0x482c02(0x157)]();let _0x1b8c66=null;const _0x372de7=this[_0x482c02(0x124)][_0x482c02(0x113)][_0x482c02(0x11f)](_0x482c02(0x14b));_0x372de7[_0x482c02(0x154)]=_0xea7b2d[_0x482c02(0x154)],_0x372de7[_0x482c02(0x129)](_0x482c02(0x14d))['to'](_0xea7b2d),this[_0x482c02(0x124)][_0x482c02(0x103)][_0x482c02(0x11f)](_0x482c02(0x12a))[_0x482c02(0x129)](_0x482c02(0x14d))['to'](_0x4a9840,_0x482c02(0x18a),_0x378797=>!_0x378797);for(const _0x1a636e of _0x137553){const _0x35fcc3=null===_0x1a636e[_0x482c02(0x119)];if(_0x35fcc3&&_0x1a636e[_0x482c02(0x184)]===_0x1a636e[_0x482c02(0x118)])continue;const _0x19b720=_0x1a636e[_0x482c02(0x183)]();_0x372de7[_0x482c02(0x128)](_0x19b720,(_0x108b89,_0x44f527,_0x5d5a2b)=>{const _0x592f60=_0x482c02;if(_0x35fcc3){if(_0x1b8c66)_0x1b8c66[_0x592f60(0x17c)](_0x108b89,_0x44f527);else{if(!_0x44f527){const _0x24832a=_0x5d5a2b[_0x592f60(0x183)]();_0x24832a['id']=_0x1e8f2e(),_0xea7b2d[_0x592f60(0x16a)](_0x24832a,_0x5d5a2b[_0x592f60(0x184)])[_0x592f60(0x190)](_0x5ca43e=>{_0x1b8c66=_0x5ca43e;});}}}else _0x1a636e[_0x592f60(0x17c)](_0x108b89,_0x44f527);});}}},_0xa53c04),_0x1e9e56);}[_0x4e5d52(0xff)](){const _0x103bce=_0x4e5d52,_0x57f453=this[_0x103bce(0x124)][_0x103bce(0x15a)][_0x103bce(0x11f)](_0x103bce(0x101))[_0x103bce(0x194)];this[_0x103bce(0x124)][_0x103bce(0x15a)][_0x103bce(0x10d)](_0x103bce(0x14c),async()=>{const _0x484332=_0x103bce;this[_0x484332(0x124)][_0x484332(0x10a)](_0x484332(0x167));const _0x1848f4=this[_0x484332(0x124)][_0x484332(0x113)][_0x484332(0x11f)](_0x484332(0x185));if(this[_0x484332(0x124)][_0x484332(0x113)][_0x484332(0x134)](_0x484332(0x16f))){const _0x5b89a4=this[_0x484332(0x124)][_0x484332(0x113)][_0x484332(0x11f)](_0x484332(0x16f));await _0x5b89a4[_0x484332(0x107)]();}else await _0x1848f4[_0x484332(0x15f)]();if(this[_0x484332(0x124)][_0x484332(0x113)][_0x484332(0x134)](_0x484332(0x15b))&&this[_0x484332(0x124)][_0x484332(0x113)][_0x484332(0x11f)](_0x484332(0x15b))[_0x484332(0x11a)](),this[_0x484332(0x124)][_0x484332(0x113)][_0x484332(0x134)](_0x484332(0x140))){const _0x5ba12a=this[_0x484332(0x124)][_0x484332(0x113)][_0x484332(0x11f)](_0x484332(0x140));_0x5ba12a[_0x484332(0x10e)]&&_0x5ba12a[_0x484332(0x14e)]();}const _0x424d40=this[_0x484332(0x11e)]();return _0x57f453(_0x424d40)[_0x484332(0x190)](_0x9ff4e4=>{const _0x29fcc5=_0x484332;return(this[_0x29fcc5(0x123)]=_0x9ff4e4,this[_0x29fcc5(0x124)][_0x29fcc5(0x113)][_0x29fcc5(0x134)](_0x29fcc5(0x156)))&&this[_0x29fcc5(0x124)][_0x29fcc5(0x113)][_0x29fcc5(0x11f)](_0x29fcc5(0x156))[_0x29fcc5(0x132)](),(this[_0x29fcc5(0x124)][_0x29fcc5(0x113)][_0x29fcc5(0x134)](_0x29fcc5(0x189))&&(this[_0x29fcc5(0x124)][_0x29fcc5(0x113)][_0x29fcc5(0x11f)](_0x29fcc5(0x178))[_0x29fcc5(0x11d)][_0x29fcc5(0x122)][_0x29fcc5(0x17b)][_0x29fcc5(0x163)]=_0x29fcc5(0x17f)),_0x9ff4e4);})[_0x484332(0x15e)](_0x6ad075=>(console[_0x484332(0x12e)](_0x6ad075),this[_0x484332(0x124)][_0x484332(0x188)](_0x484332(0x167)),null));});}[_0x4e5d52(0x153)](){const _0x590a17=_0x4e5d52,_0x2d6c5a=this[_0x590a17(0x124)][_0x590a17(0x15a)][_0x590a17(0x11f)](_0x590a17(0x101))[_0x590a17(0x17d)];this[_0x590a17(0x124)][_0x590a17(0x15a)][_0x590a17(0x10d)](_0x590a17(0x126),()=>(this[_0x590a17(0x124)][_0x590a17(0x113)][_0x590a17(0x134)](_0x590a17(0x15b))&&this[_0x590a17(0x124)][_0x590a17(0x113)][_0x590a17(0x11f)](_0x590a17(0x15b))[_0x590a17(0x11a)](),this[_0x590a17(0x124)][_0x590a17(0x113)][_0x590a17(0x134)](_0x590a17(0x189))&&(this[_0x590a17(0x124)][_0x590a17(0x113)][_0x590a17(0x11f)](_0x590a17(0x178))[_0x590a17(0x11d)][_0x590a17(0x122)][_0x590a17(0x17b)][_0x590a17(0x163)]=''),this[_0x590a17(0x123)][_0x590a17(0x113)][_0x590a17(0x11f)](_0x590a17(0x14b))[_0x590a17(0x165)](),_0x2d6c5a(this[_0x590a17(0x123)])[_0x590a17(0x190)](()=>{const _0x57bbf7=_0x590a17;if(this[_0x57bbf7(0x124)][_0x57bbf7(0x188)](_0x57bbf7(0x167)),this[_0x57bbf7(0x123)]=null,this[_0x57bbf7(0x124)][_0x57bbf7(0x113)][_0x57bbf7(0x134)](_0x57bbf7(0x156))){const _0x3a5f02=this[_0x57bbf7(0x124)][_0x57bbf7(0x113)][_0x57bbf7(0x11f)](_0x57bbf7(0x156));_0x3a5f02[_0x57bbf7(0x132)](),_0x3a5f02[_0x57bbf7(0x187)]();}})));}[_0x4e5d52(0x155)](_0x490603){const _0x4bc8f5=_0x4e5d52,_0x1f19bd=this[_0x4bc8f5(0x124)][_0x4bc8f5(0x15a)][_0x4bc8f5(0x11f)](_0x4bc8f5(0x16d)),_0x25a5b4=this[_0x4bc8f5(0x124)][_0x4bc8f5(0x15a)][_0x4bc8f5(0x11f)](_0x4bc8f5(0x10f)),_0x304926=this[_0x4bc8f5(0x124)][_0x4bc8f5(0x15a)][_0x4bc8f5(0x11f)](_0x4bc8f5(0x152));return _0xd24847[_0x4bc8f5(0x13a)](_0x304926,_0x490603)[_0x4bc8f5(0x190)](_0x1d7e6b=>(_0x25a5b4[_0x4bc8f5(0x17b)][_0x4bc8f5(0x163)]=_0x4bc8f5(0x179),_0x1f19bd[_0x4bc8f5(0x17b)][_0x4bc8f5(0x163)]=_0x4bc8f5(0x17f),this[_0x4bc8f5(0x143)]=!0x0,_0x1d7e6b));}[_0x4e5d52(0x100)](_0x4bb68e){const _0x5fc61c=_0x4e5d52,_0x57fe9f=this[_0x5fc61c(0x124)][_0x5fc61c(0x15a)][_0x5fc61c(0x11f)](_0x5fc61c(0x16d));return this[_0x5fc61c(0x124)][_0x5fc61c(0x15a)][_0x5fc61c(0x11f)](_0x5fc61c(0x10f))[_0x5fc61c(0x17b)][_0x5fc61c(0x163)]=_0x5fc61c(0x17f),_0x57fe9f[_0x5fc61c(0x17b)][_0x5fc61c(0x163)]='',this[_0x5fc61c(0x143)]=!0x1,_0x4bb68e[_0x5fc61c(0x139)]();}async[_0x4e5d52(0x16e)](_0x31f41){const _0x57581b=_0x4e5d52,_0x169942=this[_0x57581b(0x124)],_0x20dd95=this[_0x57581b(0x123)][_0x57581b(0x113)][_0x57581b(0x11f)](_0x57581b(0x14b)),_0x55d06d=_0x169942[_0x57581b(0x113)][_0x57581b(0x11f)](_0x57581b(0x185)),_0x5eaa66=_0x169942[_0x57581b(0x113)][_0x57581b(0x11f)](_0x57581b(0x151)),_0x54ca82=_0x20dd95[_0x57581b(0x15d)][_0x57581b(0x18f)](_0x31f41);let _0x35f0f3,_0x2c1259,_0x330c47;try{await _0x5eaa66[_0x57581b(0x177)](_0x54ca82,this[_0x57581b(0x154)]),_0x35f0f3=_0x5eaa66[_0x57581b(0x182)](_0x54ca82),_0x2c1259=_0x5eaa66[_0x57581b(0x16c)](_0x54ca82);}catch(_0x403190){return void console[_0x57581b(0x12e)](_0x403190);}_0x169942[_0x57581b(0x104)][_0x57581b(0x116)](_0x8aa402=>{const _0x22b056=_0x57581b;for(const _0x1fb9c5 of Array[_0x22b056(0x192)](_0x169942[_0x22b056(0x104)][_0x22b056(0x168)][_0x22b056(0x174)](_0x22b056(0x14a))))_0x8aa402[_0x22b056(0x135)](_0x1fb9c5);}),_0x20dd95[_0x57581b(0x149)]=!0x1,_0x169942[_0x57581b(0x104)][_0x57581b(0x18e)](_0x503a54=>{const _0x5b7055=_0x57581b;_0x503a54[_0x5b7055(0x17a)](null),_0x503a54[_0x5b7055(0x186)](_0x169942[_0x5b7055(0x104)][_0x5b7055(0x160)][_0x5b7055(0x102)][_0x5b7055(0x159)]());const _0x16a012=Object[_0x5b7055(0x136)](_0x35f0f3);for(const _0x59a0f0 of _0x169942[_0x5b7055(0x104)][_0x5b7055(0x160)][_0x5b7055(0x12b)])_0x5b7055(0x13c)!=_0x59a0f0[_0x5b7055(0x147)]&&_0x59a0f0[_0x5b7055(0x15c)]()&&!_0x16a012[_0x5b7055(0x164)](_0x59a0f0[_0x5b7055(0x147)])&&_0x503a54[_0x5b7055(0x197)](_0x59a0f0);for(const _0xc05bdb of _0x16a012){let _0x4da781=_0x169942[_0x5b7055(0x104)][_0x5b7055(0x160)][_0x5b7055(0x180)](_0xc05bdb);_0x4da781&&_0x4da781[_0x5b7055(0x15c)]()||(_0x4da781=_0x503a54[_0x5b7055(0x198)](_0xc05bdb));const _0x3c7a64=_0x2c1259[_0xc05bdb],_0x51d017=Object[_0x5b7055(0x136)](_0x3c7a64),_0x303f64=_0x35f0f3[_0xc05bdb];for(const _0x4fbe5f of _0x4da781[_0x5b7055(0x159)]())_0x51d017[_0x5b7055(0x164)](_0x4fbe5f)||_0x503a54[_0x5b7055(0x12c)](_0x4fbe5f,_0x4da781);for(const _0x466ff6 of _0x51d017)_0x503a54[_0x5b7055(0x127)](_0x466ff6,_0x2c1259[_0xc05bdb][_0x466ff6],_0x4da781);_0x503a54[_0x5b7055(0x117)](_0x503a54[_0x5b7055(0x166)](_0x4da781)),_0x503a54[_0x5b7055(0x175)](_0x169942[_0x5b7055(0x170)][_0x5b7055(0x146)](_0x303f64,_0x4da781),_0x4da781,0x0);}});const _0x1e0036=_0x3d7afd(_0x169942[_0x57581b(0x173)],_0x57581b(0x171));if(_0x54ca82[_0x57581b(0x13f)])_0x330c47=-0x1==_0x54ca82[_0x57581b(0x13f)][_0x57581b(0x138)](_0x1e0036)?_0x1e0036+':\x20'+_0x54ca82[_0x57581b(0x13f)]:_0x54ca82[_0x57581b(0x13f)];else _0x330c47=_0x1e0036+':\x20'+(_0x54ca82[_0x57581b(0x148)][_0x57581b(0x141)](_0x169942[_0x57581b(0x173)][_0x57581b(0x195)],{'month':_0x57581b(0x14f),'day':_0x57581b(0x191)})+',\x20'+_0x54ca82[_0x57581b(0x148)][_0x57581b(0x133)](_0x169942[_0x57581b(0x173)][_0x57581b(0x195)],{'hour':_0x57581b(0x191),'minute':_0x57581b(0x191)}));return await _0x55d06d[_0x57581b(0x16a)]({'name':_0x330c47}),_0x20dd95[_0x57581b(0x149)]=!0x0,_0x169942[_0x57581b(0x15a)][_0x57581b(0x11f)](_0x57581b(0x101))[_0x57581b(0x17d)]();}}
23
+ const _0x54e259=_0x164e;(function(_0x3c7608,_0xfcf3bb){const _0x4e5f2b=_0x164e,_0x3455d4=_0x3c7608();while(!![]){try{const _0x195f7=-parseInt(_0x4e5f2b(0x1cb))/0x1*(parseInt(_0x4e5f2b(0x1b3))/0x2)+-parseInt(_0x4e5f2b(0x1bc))/0x3*(parseInt(_0x4e5f2b(0x197))/0x4)+-parseInt(_0x4e5f2b(0x1eb))/0x5*(parseInt(_0x4e5f2b(0x1af))/0x6)+-parseInt(_0x4e5f2b(0x1df))/0x7+parseInt(_0x4e5f2b(0x172))/0x8+-parseInt(_0x4e5f2b(0x1bf))/0x9*(-parseInt(_0x4e5f2b(0x1ae))/0xa)+-parseInt(_0x4e5f2b(0x1c5))/0xb*(-parseInt(_0x4e5f2b(0x184))/0xc);if(_0x195f7===_0xfcf3bb)break;else _0x3455d4['push'](_0x3455d4['shift']());}catch(_0x54a5ef){_0x3455d4['push'](_0x3455d4['shift']());}}}(_0x6da3,0xd652e));import{Plugin as _0x48c361}from'ckeditor5/src/core.js';import{CKEditorError as _0x4cc568,uid as _0x4dfe59}from'ckeditor5/src/utils.js';import{RevisionTracker as _0x3593cb}from'./revisiontracker.js';import{RevisionHistoryUI as _0x38af4e}from'./ui/revisionhistory/revisionhistoryui.js';import{RevisionViewer as _0x529dda}from'./revisionviewer.js';import{RevisionViewerUI as _0x5e7fca}from'./ui/revisionviewer/revisionviewerui.js';import{RevisionsSidebar as _0x488d53}from'./ui/revisionssidebar/revisionssidebar.js';import{RevisionViewerEditor as _0x3968e3}from'./editor/revisionviewereditor.js';import{getTranslation as _0x17df09}from'./utils/common-translations.js';import{sanitizeEditorConfig as _0x35741c}from'ckeditor5-collaboration/src/collaboration-core.js';const d=[_0x54e259(0x170),_0x54e259(0x176)];export class RevisionViewerIntegration extends _0x48c361{[_0x54e259(0x1cc)];static get[_0x54e259(0x201)](){const _0x5143ba=_0x54e259;return _0x5143ba(0x194);}static get[_0x54e259(0x204)](){return!0x0;}static get[_0x54e259(0x1b5)](){return!0x0;}constructor(_0x54ea82){const _0xbde707=_0x54e259;function _0x53ec5b(_0x4263cb){const _0x143ac1=_0x164e;return _0x4263cb[_0x143ac1(0x16f)](_0x13cdeb=>String[_0x143ac1(0x1f3)](_0x13cdeb))[_0x143ac1(0x1d4)]('');}super(_0x54ea82),this[_0xbde707(0x1cc)]=_0xbde707(0x1ca),_0x54ea82[_0x53ec5b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x53ec5b([0x76,0x69,0x65,0x77])][_0x53ec5b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x53ec5b([0x61,0x75,0x74,0x6f]),_0x54ea82[_0x53ec5b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74])]=()=>window[_0x53ec5b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x53ec5b([0x72,0x65,0x73,0x6f,0x6c,0x76,0x65])]({[_0x53ec5b([0x73,0x74,0x61,0x74,0x75,0x73])]:_0x53ec5b([0x6f,0x6b])});}}function _0x6da3(){const _0x9222ab=['destroy','revisionHistory.editorContainer','setAttribute','refreshPositioning','revision-history-missing-configuration','createdAt','pluginName','toLocaleTimeString','parse','isOfficialPlugin','revision-history-viewer-opened','then','push','style','map','RevisionHistoryUI','Annotations','5459328NJkrvz','getAttributeKeys','from','getRevision','RestrictedEditingMode','toolbar','catch','revisionHistory.requireRevisionName','error','rootName','save','locale','RevisionTracker','toLocaleDateString','enableReadOnlyMode','document','isAnonymous','revisionHistory.viewerContainer','12ehjEmI','revisionHistory.viewerEditorElement','getRevisions','isReadOnly','isOpen','Dialog','revisionHistory','isAttached','plugins','model','indexOf','editor','create','insert','selection','adapter','RevisionViewerIntegration','enqueueChange','toJSON','1060WPfeRQ','lazyRoots','roots','detachRoot','getUser','DocumentOutline','display','_cleanUp','update','loadRevisionData','_enhanceShowRevisionViewerCallback','bind','users','isReady','creator','_update','revisionHistory.showRevisionViewerCallback','isEnabled','remove','getRevisionDocumentData','commands','isRevisionViewerOpen','restrictedEditingException','2650JuyEGZ','1151934uoHNul','markers','DocumentOutlineUI','toVersion','2NWbuFz','refreshVisibility','isPremiumPlugin','disableReadOnlyMode','_showRevisionViewer','long','removeMarker','element','restoreRevision','17697yYyaxA','translations','$graveyard','4401iHEfKB','getMarkersGroup','data','config','includes','revisionHistory.restoreRevisionCallback','47258134PrfPJq','name','init','none','uiLanguage','end','1597132vTTfeW','result','addUser','showRevisionViewerCallback','_recalculatePageBreaks','change','saveRevision','changesNavigation','set','join','getRevisionRootsAttributes','has','numeric','_viewerEditor','repository','addRevisionData','addRoot','keys','define','Restored','4801860YChUul','RevisionHistoryUtils','removeSelectionAttribute','fromVersion','_enhanceCloseRevisionViewerCallback','PaginationLookup','get','closeRevisionViewerCallback','removeAttribute','_closeRevisionViewer','requires','exitToEditing','10uQSDBm','Users','view','getRoot','RevisionViewer','_restoreRevision','hide','block','fromCharCode','createRangeIn','RevisionsRepository','setSelection','RevisionHistory','_getRevisionViewerEditorConfig','revisionHistory.closeRevisionViewerCallback','Autosave'];_0x6da3=function(){return _0x9222ab;};return _0x6da3();}function _0x164e(_0x45ef37,_0x2de683){const _0x6da3e2=_0x6da3();return _0x164e=function(_0x164e92,_0x5845b5){_0x164e92=_0x164e92-0x16d;let _0x3dd902=_0x6da3e2[_0x164e92];return _0x3dd902;},_0x164e(_0x45ef37,_0x2de683);}export class RevisionHistory extends _0x48c361{[_0x54e259(0x1d8)];static get[_0x54e259(0x201)](){const _0x1c5ec8=_0x54e259;return _0x1c5ec8(0x1f7);}static get[_0x54e259(0x204)](){return!0x0;}static get[_0x54e259(0x1b5)](){return!0x0;}static get[_0x54e259(0x1e9)](){return[_0x3593cb,_0x38af4e];}constructor(_0x4b0387){const _0x1fdb25=_0x54e259;if(super(_0x4b0387),!this[_0x1fdb25(0x18f)][_0x1fdb25(0x1c2)][_0x1fdb25(0x1e5)](_0x1fdb25(0x18a)))throw new _0x4cc568(_0x1fdb25(0x1ff),this);this[_0x1fdb25(0x1d8)]=null,this[_0x1fdb25(0x1d3)](_0x1fdb25(0x1ac),!0x1),this[_0x1fdb25(0x18f)][_0x1fdb25(0x1c2)][_0x1fdb25(0x1dd)](_0x1fdb25(0x1a7),_0x43ded7=>this[_0x1fdb25(0x1b7)]({..._0x43ded7,'translations':this[_0x1fdb25(0x18f)][_0x1fdb25(0x17d)][_0x1fdb25(0x1bd)]})),this[_0x1fdb25(0x18f)][_0x1fdb25(0x1c2)][_0x1fdb25(0x1dd)](_0x1fdb25(0x1f9),_0x17ca82=>this[_0x1fdb25(0x1e8)](_0x17ca82)),this[_0x1fdb25(0x18f)][_0x1fdb25(0x1c2)][_0x1fdb25(0x1dd)](_0x1fdb25(0x1c4),_0x18fd5d=>this[_0x1fdb25(0x1f0)](_0x18fd5d)),this[_0x1fdb25(0x18f)][_0x1fdb25(0x1c2)][_0x1fdb25(0x1dd)](_0x1fdb25(0x179),!0x1),this[_0x1fdb25(0x1a1)](),this[_0x1fdb25(0x1e3)]();}set[_0x54e259(0x193)](_0xacc128){const _0xfbbd15=_0x54e259;this[_0xfbbd15(0x18f)][_0xfbbd15(0x18c)][_0xfbbd15(0x1e5)](_0xfbbd15(0x17e))[_0xfbbd15(0x193)]=_0xacc128;}get[_0x54e259(0x193)](){const _0x1360d6=_0x54e259;return this[_0x1360d6(0x18f)][_0x1360d6(0x18c)][_0x1360d6(0x1e5)](_0x1360d6(0x17e))[_0x1360d6(0x193)];}[_0x54e259(0x1da)](_0x4116fd){const _0x34e277=_0x54e259;return this[_0x34e277(0x18f)][_0x34e277(0x18c)][_0x34e277(0x1e5)](_0x34e277(0x17e))[_0x34e277(0x1da)](_0x4116fd);}[_0x54e259(0x175)](_0x4c11b8){const _0x543165=_0x54e259;return this[_0x543165(0x18f)][_0x543165(0x18c)][_0x543165(0x1e5)](_0x543165(0x1f5))[_0x543165(0x175)](_0x4c11b8);}[_0x54e259(0x186)](_0x482cf0){const _0xe3ea7d=_0x54e259;return this[_0xe3ea7d(0x18f)][_0xe3ea7d(0x18c)][_0xe3ea7d(0x1e5)](_0xe3ea7d(0x1f5))[_0xe3ea7d(0x186)](_0x482cf0||{'toJSON':!0x1});}[_0x54e259(0x1f8)](){const _0x2769a5=_0x54e259,_0xe83b1d=this[_0x2769a5(0x18f)],_0x56a28a=_0x35741c(_0xe83b1d,d),_0x175118=_0xe83b1d[_0x2769a5(0x18c)][_0x2769a5(0x1e5)](_0x2769a5(0x17e)),_0x1cfd11=_0xe83b1d[_0x2769a5(0x18c)][_0x2769a5(0x1e5)](_0x2769a5(0x1ec))[_0x2769a5(0x1a3)];return _0x56a28a[_0x2769a5(0x177)]=[_0x2769a5(0x1ea),_0x2769a5(0x1bb),_0x2769a5(0x1d2)],delete _0x56a28a[_0x2769a5(0x198)],(_0x56a28a[_0x2769a5(0x18c)][_0x2769a5(0x16d)](RevisionViewerIntegration,_0x529dda,_0x5e7fca,class extends _0x48c361{static get[_0x2769a5(0x1e9)](){const _0x2a1d8a=_0x2769a5;return[_0x529dda,_0x2a1d8a(0x1ec)];}[_0x2769a5(0x1c7)](){const _0x243609=_0x2769a5,_0x460e96=this[_0x243609(0x18f)][_0x243609(0x18c)][_0x243609(0x1e5)](_0x243609(0x1ec));for(const _0x4187d5 of _0x1cfd11)_0x4187d5[_0x243609(0x182)]||_0x460e96[_0x243609(0x19b)](_0x4187d5['id'])||_0x460e96[_0x243609(0x1cd)](_0x4187d5);const _0x2b9974=_0x175118[_0x243609(0x1d9)][_0x243609(0x186)]();let _0x49aadc=null;const _0x131c69=this[_0x243609(0x18f)][_0x243609(0x18c)][_0x243609(0x1e5)](_0x243609(0x1ef));_0x131c69[_0x243609(0x193)]=_0x175118[_0x243609(0x193)],_0x131c69[_0x243609(0x1a2)](_0x243609(0x1a8))['to'](_0x175118),this[_0x243609(0x18f)][_0x243609(0x1ab)][_0x243609(0x1e5)](_0x243609(0x1bb))[_0x243609(0x1a2)](_0x243609(0x1a8))['to'](_0xe83b1d,_0x243609(0x187),_0x5a44c2=>!_0x5a44c2);for(const _0x30b5fd of _0x2b9974){const _0xe282ab=null===_0x30b5fd[_0x243609(0x1a5)];if(_0xe282ab&&_0x30b5fd[_0x243609(0x1b2)]===_0x30b5fd[_0x243609(0x1e2)])continue;const _0x53fcdc=_0x30b5fd[_0x243609(0x196)]();_0x131c69[_0x243609(0x1da)](_0x53fcdc,(_0x419001,_0xec35bb,_0x22c37f)=>{const _0x52fdb9=_0x243609;if(_0xe282ab){if(_0x49aadc)_0x49aadc[_0x52fdb9(0x1a6)](_0x419001,_0xec35bb);else{if(!_0xec35bb){const _0x80aced=_0x22c37f[_0x52fdb9(0x196)]();_0x80aced['id']=_0x4dfe59(),_0x175118[_0x52fdb9(0x1d1)](_0x80aced,_0x22c37f[_0x52fdb9(0x1b2)])[_0x52fdb9(0x206)](_0x3ecbc6=>{_0x49aadc=_0x3ecbc6;});}}}else _0x30b5fd[_0x52fdb9(0x1a6)](_0x419001,_0xec35bb);});}}},_0x488d53),_0x56a28a);}[_0x54e259(0x1a1)](){const _0x3baeb8=_0x54e259,_0x3994ce=this[_0x3baeb8(0x18f)][_0x3baeb8(0x1c2)][_0x3baeb8(0x1e5)](_0x3baeb8(0x18a))[_0x3baeb8(0x1ce)];this[_0x3baeb8(0x18f)][_0x3baeb8(0x1c2)][_0x3baeb8(0x1d3)](_0x3baeb8(0x1a7),async()=>{const _0x315ef1=_0x3baeb8;this[_0x315ef1(0x18f)][_0x315ef1(0x180)](_0x315ef1(0x205));const _0x5ddc38=this[_0x315ef1(0x18f)][_0x315ef1(0x18c)][_0x315ef1(0x1e5)](_0x315ef1(0x17e));if(this[_0x315ef1(0x18f)][_0x315ef1(0x18c)][_0x315ef1(0x1d6)](_0x315ef1(0x1fa))){const _0x4f6e80=this[_0x315ef1(0x18f)][_0x315ef1(0x18c)][_0x315ef1(0x1e5)](_0x315ef1(0x1fa));await _0x4f6e80[_0x315ef1(0x17c)]();}else await _0x5ddc38[_0x315ef1(0x19f)]();if(this[_0x315ef1(0x18f)][_0x315ef1(0x18c)][_0x315ef1(0x1d6)](_0x315ef1(0x1e4))&&this[_0x315ef1(0x18f)][_0x315ef1(0x18c)][_0x315ef1(0x1e5)](_0x315ef1(0x1e4))[_0x315ef1(0x1cf)](),this[_0x315ef1(0x18f)][_0x315ef1(0x18c)][_0x315ef1(0x1d6)](_0x315ef1(0x189))){const _0x521b64=this[_0x315ef1(0x18f)][_0x315ef1(0x18c)][_0x315ef1(0x1e5)](_0x315ef1(0x189));_0x521b64[_0x315ef1(0x188)]&&_0x521b64[_0x315ef1(0x1f1)]();}const _0x49a95c=this[_0x315ef1(0x1f8)]();return _0x3994ce(_0x49a95c)[_0x315ef1(0x206)](_0x1b2121=>{const _0x5c32a5=_0x315ef1;return(this[_0x5c32a5(0x1d8)]=_0x1b2121,this[_0x5c32a5(0x18f)][_0x5c32a5(0x18c)][_0x5c32a5(0x1d6)](_0x5c32a5(0x171)))&&this[_0x5c32a5(0x18f)][_0x5c32a5(0x18c)][_0x5c32a5(0x1e5)](_0x5c32a5(0x171))[_0x5c32a5(0x1b4)](),(this[_0x5c32a5(0x18f)][_0x5c32a5(0x18c)][_0x5c32a5(0x1d6)](_0x5c32a5(0x19c))&&(this[_0x5c32a5(0x18f)][_0x5c32a5(0x18c)][_0x5c32a5(0x1e5)](_0x5c32a5(0x1b1))[_0x5c32a5(0x1ed)][_0x5c32a5(0x1ba)][_0x5c32a5(0x16e)][_0x5c32a5(0x19d)]=_0x5c32a5(0x1c8)),_0x1b2121);})[_0x315ef1(0x178)](_0x2dbca4=>(console[_0x315ef1(0x17a)](_0x2dbca4),this[_0x315ef1(0x18f)][_0x315ef1(0x1b6)](_0x315ef1(0x205)),null));});}[_0x54e259(0x1e3)](){const _0x3974e1=_0x54e259,_0x36b38b=this[_0x3974e1(0x18f)][_0x3974e1(0x1c2)][_0x3974e1(0x1e5)](_0x3974e1(0x18a))[_0x3974e1(0x1e6)];this[_0x3974e1(0x18f)][_0x3974e1(0x1c2)][_0x3974e1(0x1d3)](_0x3974e1(0x1f9),()=>(this[_0x3974e1(0x18f)][_0x3974e1(0x18c)][_0x3974e1(0x1d6)](_0x3974e1(0x1e4))&&this[_0x3974e1(0x18f)][_0x3974e1(0x18c)][_0x3974e1(0x1e5)](_0x3974e1(0x1e4))[_0x3974e1(0x1cf)](),this[_0x3974e1(0x18f)][_0x3974e1(0x18c)][_0x3974e1(0x1d6)](_0x3974e1(0x19c))&&(this[_0x3974e1(0x18f)][_0x3974e1(0x18c)][_0x3974e1(0x1e5)](_0x3974e1(0x1b1))[_0x3974e1(0x1ed)][_0x3974e1(0x1ba)][_0x3974e1(0x16e)][_0x3974e1(0x19d)]=''),this[_0x3974e1(0x1d8)][_0x3974e1(0x18c)][_0x3974e1(0x1e5)](_0x3974e1(0x1ef))[_0x3974e1(0x19e)](),_0x36b38b(this[_0x3974e1(0x1d8)])[_0x3974e1(0x206)](()=>{const _0x6ebc3d=_0x3974e1;if(this[_0x6ebc3d(0x18f)][_0x6ebc3d(0x1b6)](_0x6ebc3d(0x205)),this[_0x6ebc3d(0x1d8)]=null,this[_0x6ebc3d(0x18f)][_0x6ebc3d(0x18c)][_0x6ebc3d(0x1d6)](_0x6ebc3d(0x171))){const _0x222424=this[_0x6ebc3d(0x18f)][_0x6ebc3d(0x18c)][_0x6ebc3d(0x1e5)](_0x6ebc3d(0x171));_0x222424[_0x6ebc3d(0x1b4)](),_0x222424[_0x6ebc3d(0x1fe)]();}})));}[_0x54e259(0x1b7)](_0x258c31){const _0x2ef18c=_0x54e259,_0x2a24bd=this[_0x2ef18c(0x18f)][_0x2ef18c(0x1c2)][_0x2ef18c(0x1e5)](_0x2ef18c(0x1fc)),_0x1b8f37=this[_0x2ef18c(0x18f)][_0x2ef18c(0x1c2)][_0x2ef18c(0x1e5)](_0x2ef18c(0x183)),_0x468ba7=this[_0x2ef18c(0x18f)][_0x2ef18c(0x1c2)][_0x2ef18c(0x1e5)](_0x2ef18c(0x185));return _0x3968e3[_0x2ef18c(0x190)](_0x468ba7,_0x258c31)[_0x2ef18c(0x206)](_0x1360d2=>(_0x1b8f37[_0x2ef18c(0x16e)][_0x2ef18c(0x19d)]=_0x2ef18c(0x1f2),_0x2a24bd[_0x2ef18c(0x16e)][_0x2ef18c(0x19d)]=_0x2ef18c(0x1c8),this[_0x2ef18c(0x1ac)]=!0x0,_0x1360d2));}[_0x54e259(0x1e8)](_0x21f26e){const _0x2309db=_0x54e259,_0x585395=this[_0x2309db(0x18f)][_0x2309db(0x1c2)][_0x2309db(0x1e5)](_0x2309db(0x1fc));return this[_0x2309db(0x18f)][_0x2309db(0x1c2)][_0x2309db(0x1e5)](_0x2309db(0x183))[_0x2309db(0x16e)][_0x2309db(0x19d)]=_0x2309db(0x1c8),_0x585395[_0x2309db(0x16e)][_0x2309db(0x19d)]='',this[_0x2309db(0x1ac)]=!0x1,_0x21f26e[_0x2309db(0x1fb)]();}async[_0x54e259(0x1f0)](_0x467bd5){const _0x5eb390=_0x54e259,_0x3e3b95=this[_0x5eb390(0x18f)],_0x240f6a=this[_0x5eb390(0x1d8)][_0x5eb390(0x18c)][_0x5eb390(0x1e5)](_0x5eb390(0x1ef)),_0x5ddbbb=_0x3e3b95[_0x5eb390(0x18c)][_0x5eb390(0x1e5)](_0x5eb390(0x17e)),_0x521201=_0x3e3b95[_0x5eb390(0x18c)][_0x5eb390(0x1e5)](_0x5eb390(0x1e0)),_0x437b26=_0x240f6a[_0x5eb390(0x1d9)][_0x5eb390(0x175)](_0x467bd5);let _0x3e9e98,_0x3b3fde,_0x1fc799;try{await _0x521201[_0x5eb390(0x1a0)](_0x437b26,this[_0x5eb390(0x193)]),_0x3e9e98=_0x521201[_0x5eb390(0x1aa)](_0x437b26),_0x3b3fde=_0x521201[_0x5eb390(0x1d5)](_0x437b26);}catch(_0x11cd9a){return void console[_0x5eb390(0x17a)](_0x11cd9a);}_0x3e3b95[_0x5eb390(0x18d)][_0x5eb390(0x1d0)](_0x1a2c9=>{const _0x4fdea1=_0x5eb390;for(const _0x4a3929 of Array[_0x4fdea1(0x174)](_0x3e3b95[_0x4fdea1(0x18d)][_0x4fdea1(0x1b0)][_0x4fdea1(0x1c0)](_0x4fdea1(0x1ad))))_0x1a2c9[_0x4fdea1(0x1b9)](_0x4a3929);}),_0x240f6a[_0x5eb390(0x1a4)]=!0x1,_0x3e3b95[_0x5eb390(0x18d)][_0x5eb390(0x195)](_0x3735a7=>{const _0x263bf6=_0x5eb390;_0x3735a7[_0x263bf6(0x1f6)](null),_0x3735a7[_0x263bf6(0x1e1)](_0x3e3b95[_0x263bf6(0x18d)][_0x263bf6(0x181)][_0x263bf6(0x192)][_0x263bf6(0x173)]());const _0x4d7245=Object[_0x263bf6(0x1dc)](_0x3e9e98);for(const _0x2498b0 of _0x3e3b95[_0x263bf6(0x18d)][_0x263bf6(0x181)][_0x263bf6(0x199)])_0x263bf6(0x1be)!=_0x2498b0[_0x263bf6(0x17b)]&&_0x2498b0[_0x263bf6(0x18b)]()&&!_0x4d7245[_0x263bf6(0x1c3)](_0x2498b0[_0x263bf6(0x17b)])&&_0x3735a7[_0x263bf6(0x19a)](_0x2498b0);for(const _0x31b07 of _0x4d7245){let _0x142a40=_0x3e3b95[_0x263bf6(0x18d)][_0x263bf6(0x181)][_0x263bf6(0x1ee)](_0x31b07);_0x142a40&&_0x142a40[_0x263bf6(0x18b)]()||(_0x142a40=_0x3735a7[_0x263bf6(0x1db)](_0x31b07));const _0x1676e1=_0x3b3fde[_0x31b07],_0x247585=Object[_0x263bf6(0x1dc)](_0x1676e1),_0x46bb49=_0x3e9e98[_0x31b07];for(const _0x5d32d5 of _0x142a40[_0x263bf6(0x173)]())_0x247585[_0x263bf6(0x1c3)](_0x5d32d5)||_0x3735a7[_0x263bf6(0x1e7)](_0x5d32d5,_0x142a40);for(const _0x1e90f6 of _0x247585)_0x3735a7[_0x263bf6(0x1fd)](_0x1e90f6,_0x3b3fde[_0x31b07][_0x1e90f6],_0x142a40);_0x3735a7[_0x263bf6(0x1a9)](_0x3735a7[_0x263bf6(0x1f4)](_0x142a40)),_0x3735a7[_0x263bf6(0x191)](_0x3e3b95[_0x263bf6(0x1c1)][_0x263bf6(0x203)](_0x46bb49,_0x142a40),_0x142a40,0x0);}});const _0x18b53b=_0x17df09(_0x3e3b95[_0x5eb390(0x17d)],_0x5eb390(0x1de));if(_0x437b26[_0x5eb390(0x1c6)])_0x1fc799=-0x1==_0x437b26[_0x5eb390(0x1c6)][_0x5eb390(0x18e)](_0x18b53b)?_0x18b53b+':\x20'+_0x437b26[_0x5eb390(0x1c6)]:_0x437b26[_0x5eb390(0x1c6)];else _0x1fc799=_0x18b53b+':\x20'+(_0x437b26[_0x5eb390(0x200)][_0x5eb390(0x17f)](_0x3e3b95[_0x5eb390(0x17d)][_0x5eb390(0x1c9)],{'month':_0x5eb390(0x1b8),'day':_0x5eb390(0x1d7)})+',\x20'+_0x437b26[_0x5eb390(0x200)][_0x5eb390(0x202)](_0x3e3b95[_0x5eb390(0x17d)][_0x5eb390(0x1c9)],{'hour':_0x5eb390(0x1d7),'minute':_0x5eb390(0x1d7)}));return await _0x5ddbbb[_0x5eb390(0x1d1)]({'name':_0x1fc799}),_0x240f6a[_0x5eb390(0x1a4)]=!0x0,_0x3e3b95[_0x5eb390(0x1c2)][_0x5eb390(0x1e5)](_0x5eb390(0x18a))[_0x5eb390(0x1e6)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x25b168=_0x4e8c;(function(_0x507fb7,_0x493f35){const _0x1ca448=_0x4e8c,_0x15bf63=_0x507fb7();while(!![]){try{const _0x19fd3a=parseInt(_0x1ca448(0x20b))/0x1*(parseInt(_0x1ca448(0x20a))/0x2)+parseInt(_0x1ca448(0x1fe))/0x3*(-parseInt(_0x1ca448(0x1e7))/0x4)+-parseInt(_0x1ca448(0x1cb))/0x5+-parseInt(_0x1ca448(0x1e5))/0x6+parseInt(_0x1ca448(0x1ce))/0x7+-parseInt(_0x1ca448(0x1f0))/0x8+-parseInt(_0x1ca448(0x1f7))/0x9*(-parseInt(_0x1ca448(0x1ef))/0xa);if(_0x19fd3a===_0x493f35)break;else _0x15bf63['push'](_0x15bf63['shift']());}catch(_0x4bef35){_0x15bf63['push'](_0x15bf63['shift']());}}}(_0x35e4,0x5cd74));import{Plugin as _0x443e7f}from'ckeditor5/src/core.js';import{ViewDocumentFragment as _0x429537,ViewText as _0x4b9d45,ViewElement as _0x421c2a,ViewContainerElement as _0x257ea9,ViewAttributeElement as _0x3d424f,ViewEmptyElement as _0x3e19a6,ViewRawElement as _0x51987b,ViewUIElement as _0x411832}from'ckeditor5/src/engine.js';export class RevisionHistoryUtils extends _0x443e7f{static get[_0x25b168(0x1f5)](){const _0x4f619b=_0x25b168;return _0x4f619b(0x1d9);}static get[_0x25b168(0x1eb)](){return!0x0;}static get[_0x25b168(0x1e2)](){return!0x0;}[_0x25b168(0x1c5)]=new Map([[_0x257ea9,'c'],[_0x3d424f,'a'],[_0x3e19a6,'e'],[_0x51987b,'r'],[_0x411832,'u']]);[_0x25b168(0x1ca)]=new Map([['c',_0x257ea9],['a',_0x3d424f],['e',_0x3e19a6],['r',_0x51987b],['u',_0x411832]]);async[_0x25b168(0x1dd)](_0x17cc16,_0x6f3ea8){const _0x7da09e=_0x25b168;if(_0x17cc16[_0x7da09e(0x208)]||!_0x6f3ea8)return;const _0x1d132c=this[_0x7da09e(0x1d7)][_0x7da09e(0x205)][_0x7da09e(0x1f6)](_0x7da09e(0x1ea)),_0xa885cb=await _0x6f3ea8[_0x7da09e(0x1da)]({'channelId':_0x1d132c,'revisionId':_0x17cc16['id']});_0x17cc16[_0x7da09e(0x208)]=_0xa885cb[_0x7da09e(0x208)];}[_0x25b168(0x1e0)](_0x57c3e2){const _0x4d0742=_0x25b168,_0x1728d8={};for(const _0x123e6f in _0x57c3e2[_0x4d0742(0x208)]){if(_0x57c3e2[_0x4d0742(0x208)][_0x123e6f][_0x4d0742(0x1c7)]&&!_0x57c3e2[_0x4d0742(0x208)][_0x123e6f][_0x4d0742(0x1c7)][_0x4d0742(0x1ec)])continue;const _0x21ddfa=this[_0x4d0742(0x204)](JSON[_0x4d0742(0x200)](_0x57c3e2[_0x4d0742(0x208)][_0x123e6f][_0x4d0742(0x1c6)])),_0x28b9bf=this[_0x4d0742(0x1d7)][_0x4d0742(0x1fa)][_0x4d0742(0x1fb)][_0x4d0742(0x1cc)],_0x4fbc93=new _0x429537(_0x28b9bf,_0x21ddfa[_0x4d0742(0x1ee)](_0x3f2bca=>this[_0x4d0742(0x1c9)](_0x3f2bca,!0x1)));this[_0x4d0742(0x1d7)][_0x4d0742(0x1f4)][_0x4d0742(0x202)][_0x4d0742(0x1fd)](_0x4d0742(0x1c8)),_0x1728d8[_0x123e6f]=this[_0x4d0742(0x1d7)][_0x4d0742(0x1f4)][_0x4d0742(0x202)][_0x4d0742(0x1f8)](_0x4fbc93),this[_0x4d0742(0x1d7)][_0x4d0742(0x1f4)][_0x4d0742(0x202)][_0x4d0742(0x1fd)](_0x4d0742(0x1e4));}return _0x1728d8;}[_0x25b168(0x1fc)](_0x2cfd3f){const _0x2b09e3=_0x25b168,_0x5b7fa1={};for(const _0x25f28e in _0x2cfd3f[_0x2b09e3(0x208)])_0x2cfd3f[_0x2b09e3(0x208)][_0x25f28e][_0x2b09e3(0x1c7)]&&!_0x2cfd3f[_0x2b09e3(0x208)][_0x25f28e][_0x2b09e3(0x1c7)][_0x2b09e3(0x1ec)]||(_0x5b7fa1[_0x25f28e]=_0x2cfd3f[_0x2b09e3(0x208)][_0x25f28e][_0x2b09e3(0x1e9)]||{});return _0x5b7fa1;}[_0x25b168(0x207)](_0x2a74f2){const _0x36a6d4=_0x25b168;return this[_0x36a6d4(0x1c5)][_0x36a6d4(0x1f6)](_0x2a74f2[_0x36a6d4(0x20c)]);}[_0x25b168(0x1c9)](_0xfc54d3,_0x51fdf6){const _0x3a32fe=_0x25b168,_0x639f40=this[_0x3a32fe(0x1d7)][_0x3a32fe(0x1fa)][_0x3a32fe(0x1fb)][_0x3a32fe(0x1cc)];if(_0x3a32fe(0x1d6)==typeof _0xfc54d3)return new _0x4b9d45(_0x639f40,_0xfc54d3);{let _0xb77de9,_0x518d75;_0x518d75='u'==_0xfc54d3[_0x3a32fe(0x1f2)]||'r'==_0xfc54d3[_0x3a32fe(0x1f2)]?[]:_0xfc54d3[_0x3a32fe(0x1cd)][_0x3a32fe(0x1ee)](_0x5db200=>this[_0x3a32fe(0x1c9)](_0x5db200,_0x51fdf6));const _0x4cef45=this[_0x3a32fe(0x1ca)][_0x3a32fe(0x1f6)](_0xfc54d3[_0x3a32fe(0x1f2)])||_0x421c2a,_0x242093=this[_0x3a32fe(0x1d7)][_0x3a32fe(0x1f4)][_0x3a32fe(0x1e3)][_0x3a32fe(0x1d3)];if(_0xb77de9=new _0x4cef45(_0x639f40,_0xfc54d3[_0x3a32fe(0x1f3)],_0xfc54d3[_0x3a32fe(0x1dc)],_0x518d75),'u'==_0xfc54d3[_0x3a32fe(0x1f2)]&&_0xfc54d3[_0x3a32fe(0x1cd)][0x0]){const _0x5d8e05=_0xfc54d3[_0x3a32fe(0x1cd)][0x0];if(_0xb77de9[_0x3a32fe(0x1ff)]=function(_0x2beba6){const _0x15a7a2=_0x3a32fe,_0x1cfc01=_0x2beba6[_0x15a7a2(0x1e6)](_0x15a7a2(0x1d1));return _0x1cfc01[_0x15a7a2(0x1de)]=_0x5d8e05,_0x1cfc01[_0x15a7a2(0x1d2)][0x0];},_0x51fdf6){const _0x4b7208=new _0x429537(_0x639f40);_0x4b7208[_0x3a32fe(0x203)](_0xb77de9);const _0x58ae6e=Array[_0x3a32fe(0x209)](_0x242093[_0x3a32fe(0x1df)](_0x4b7208,{'bind':!0x1})),_0x56bb4c=_0x242093[_0x3a32fe(0x1cf)][_0x3a32fe(0x1e6)](_0x3a32fe(0x1d1));_0x56bb4c[_0x3a32fe(0x1db)](..._0x58ae6e),_0xb77de9=Array[_0x3a32fe(0x209)](_0x242093[_0x3a32fe(0x1d8)](_0x56bb4c))[0x0];}}else{if('r'==_0xfc54d3[_0x3a32fe(0x1f2)]&&_0xfc54d3[_0x3a32fe(0x1cd)][0x0]){const _0x1d5318=_0xfc54d3[_0x3a32fe(0x1cd)][0x0];if(_0xb77de9[_0x3a32fe(0x1ff)]=function(_0x785132){const _0xc9017f=_0x3a32fe;_0x785132[_0xc9017f(0x1de)]=_0x1d5318;},_0x51fdf6){const _0x4b017d=new _0x429537(_0x639f40);_0x4b017d[_0x3a32fe(0x203)](_0xb77de9);const _0x349a7d=Array[_0x3a32fe(0x209)](_0x242093[_0x3a32fe(0x1df)](_0x4b017d,{'bind':!0x1})),_0x13d999=_0x242093[_0x3a32fe(0x1cf)][_0x3a32fe(0x1e6)](_0x3a32fe(0x1d1));_0x13d999[_0x3a32fe(0x1db)](..._0x349a7d);const _0x51233c=Array[_0x3a32fe(0x209)](_0x242093[_0x3a32fe(0x1d8)](_0x13d999));_0x51233c[_0x3a32fe(0x1ed)]>0x1?_0xb77de9[_0x3a32fe(0x203)](_0x51233c):_0xb77de9=_0x51233c[0x0];}}}if(_0xfc54d3[_0x3a32fe(0x1e8)]){for(const [_0x25bd47,_0x46ad35]of _0xfc54d3[_0x3a32fe(0x1e8)])_0xb77de9[_0x3a32fe(0x1f1)](_0x25bd47,_0x46ad35);}const _0x4a2dd3=void 0x0===_0xfc54d3[_0x3a32fe(0x1c3)]?null:_0xfc54d3[_0x3a32fe(0x1c3)];return null!==_0x4a2dd3&&(_0xb77de9[_0x3a32fe(0x201)]=()=>_0x4a2dd3),_0xb77de9;}}[_0x25b168(0x206)](_0x32b7ee){const _0x5726f8=_0x25b168,_0x450218=JSON[_0x5726f8(0x200)](_0x32b7ee),_0x5abfeb=this[_0x5726f8(0x1d7)][_0x5726f8(0x1fa)][_0x5726f8(0x1fb)][_0x5726f8(0x1cc)],_0x3e98ff=new _0x429537(_0x5abfeb,_0x450218[_0x5726f8(0x1ee)](_0x445f60=>this[_0x5726f8(0x1c9)](_0x445f60,!0x0)));return this[_0x5726f8(0x1d7)][_0x5726f8(0x1f4)][_0x5726f8(0x20d)](_0x3e98ff);}[_0x25b168(0x204)](_0x5cb0fe){const _0x2c6616=_0x25b168;return(_0x5cb0fe=_0x5cb0fe[_0x2c6616(0x1d5)](_0xe32717=>!_0xe32717[_0x2c6616(0x1f3)]||_0x2c6616(0x1d0)!==_0xe32717[_0x2c6616(0x1f3)]&&_0x2c6616(0x1c4)!==_0xe32717[_0x2c6616(0x1f3)]))[_0x2c6616(0x1d4)](_0x2bd820=>{const _0x3b56e0=_0x2c6616;_0x3b56e0(0x1d6)!=typeof _0x2bd820&&(_0x2bd820[_0x3b56e0(0x1cd)]=this[_0x3b56e0(0x204)](_0x2bd820[_0x3b56e0(0x1cd)]),_0x2bd820[_0x3b56e0(0x1dc)]=_0x2bd820[_0x3b56e0(0x1dc)][_0x3b56e0(0x1d5)](_0x23d21d=>!_0x23d21d[0x0][_0x3b56e0(0x1e1)](_0x3b56e0(0x1f9))));}),_0x5cb0fe;}}function _0x4e8c(_0x2166a4,_0x4a0c70){const _0x35e4a1=_0x35e4();return _0x4e8c=function(_0x4e8c77,_0x490659){_0x4e8c77=_0x4e8c77-0x1c3;let _0x12ea6b=_0x35e4a1[_0x4e8c77];return _0x12ea6b;},_0x4e8c(_0x2166a4,_0x4a0c70);}function _0x35e4(){const _0x1f1b4d=['attributes','loadRevisionData','innerHTML','viewChildrenToDom','getRevisionDocumentData','startsWith','isPremiumPlugin','htmlProcessor','default','2519022UjCfmP','createElement','881556YOxosE','customProperties','attributesAfter','collaboration.channelId','isOfficialPlugin','isAttached','length','map','10vgGQkX','3099848PvpaHN','_setCustomProperty','type','name','data','pluginName','get','18387315UMeLwz','toData','data-revision-','editing','view','getRevisionRootsAttributes','useFillerType','6oMEXgr','render','parse','getFillerOffset','processor','_appendChild','_removeRevisionMarkers','config','_makeModelFromViewString','_getTypeCharForViewElement','diffData','from','48594SCAQEf','2JqVqyX','constructor','toModel','fillerOffset','revision-end','_viewClassToTypeChar','insertions','attachChange','marked','_getViewFromDiffObj','_typeCharToViewClass','2439755LoNiYe','document','children','172858tXIVKZ','domDocument','revision-start','div','childNodes','domConverter','forEach','filter','string','editor','domChildrenToView','RevisionHistoryUtils','getRevision','append'];_0x35e4=function(){return _0x1f1b4d;};return _0x35e4();}
23
+ const _0x184df0=_0x83a1;function _0x83a1(_0x4bcf5f,_0x39bb60){const _0xd02c0e=_0xd02c();return _0x83a1=function(_0x83a112,_0x3ffbfc){_0x83a112=_0x83a112-0xc5;let _0x442a26=_0xd02c0e[_0x83a112];return _0x442a26;},_0x83a1(_0x4bcf5f,_0x39bb60);}function _0xd02c(){const _0x1533d6=['config','getRevisionDocumentData','htmlProcessor','getFillerOffset','getRevision','viewChildrenToDom','324729vwZgBr','revision-end','1503336cPYqoG','3315110SJFtXk','pluginName','from','append','revision-start','52xCVtAY','toModel','domConverter','_typeCharToViewClass','attachChange','data','name','isAttached','get','175YwNmaF','isOfficialPlugin','diffData','RevisionHistoryUtils','processor','children','startsWith','domChildrenToView','insertions','_appendChild','constructor','isPremiumPlugin','customProperties','string','div','11qhcugt','getRevisionRootsAttributes','useFillerType','toData','_makeModelFromViewString','domDocument','innerHTML','forEach','attributes','_viewClassToTypeChar','_getTypeCharForViewElement','331788EBQnhp','map','document','_getViewFromDiffObj','default','data-revision-','length','collaboration.channelId','9ULdNdt','filter','createElement','55525380CaaTVW','type','parse','editing','101fgokWQ','childNodes','render','9734qGMRrO','330285uSjSAE','_setCustomProperty','_removeRevisionMarkers','attributesAfter','marked','loadRevisionData','editor','view','fillerOffset'];_0xd02c=function(){return _0x1533d6;};return _0xd02c();}(function(_0xb7ef4d,_0xc224a){const _0x195ba0=_0x83a1,_0xdbaf36=_0xb7ef4d();while(!![]){try{const _0x50e79a=parseInt(_0x195ba0(0xf1))/0x1*(-parseInt(_0x195ba0(0xf4))/0x2)+parseInt(_0x195ba0(0x104))/0x3*(-parseInt(_0x195ba0(0x10c))/0x4)+-parseInt(_0x195ba0(0xf5))/0x5+-parseInt(_0x195ba0(0xe2))/0x6*(parseInt(_0x195ba0(0xc8))/0x7)+-parseInt(_0x195ba0(0x106))/0x8+-parseInt(_0x195ba0(0xea))/0x9*(parseInt(_0x195ba0(0x107))/0xa)+-parseInt(_0x195ba0(0xd7))/0xb*(-parseInt(_0x195ba0(0xed))/0xc);if(_0x50e79a===_0xc224a)break;else _0xdbaf36['push'](_0xdbaf36['shift']());}catch(_0x4d1d31){_0xdbaf36['push'](_0xdbaf36['shift']());}}}(_0xd02c,0xb9a86));import{Plugin as _0x9288b0}from'ckeditor5/src/core.js';import{ViewDocumentFragment as _0x450f8c,ViewText as _0x237e97,ViewElement as _0x269920,ViewContainerElement as _0x4695ec,ViewAttributeElement as _0x22d985,ViewEmptyElement as _0x4a8707,ViewRawElement as _0x562df3,ViewUIElement as _0x603d3}from'ckeditor5/src/engine.js';export class RevisionHistoryUtils extends _0x9288b0{static get[_0x184df0(0x108)](){const _0x1d5532=_0x184df0;return _0x1d5532(0xcb);}static get[_0x184df0(0xc9)](){return!0x0;}static get[_0x184df0(0xd3)](){return!0x0;}[_0x184df0(0xe0)]=new Map([[_0x4695ec,'c'],[_0x22d985,'a'],[_0x4a8707,'e'],[_0x562df3,'r'],[_0x603d3,'u']]);[_0x184df0(0x10f)]=new Map([['c',_0x4695ec],['a',_0x22d985],['e',_0x4a8707],['r',_0x562df3],['u',_0x603d3]]);async[_0x184df0(0xfa)](_0x4e2638,_0xc6c581){const _0x3838d2=_0x184df0;if(_0x4e2638[_0x3838d2(0xca)]||!_0xc6c581)return;const _0x44b738=this[_0x3838d2(0xfb)][_0x3838d2(0xfe)][_0x3838d2(0xc7)](_0x3838d2(0xe9)),_0x5d888f=await _0xc6c581[_0x3838d2(0x102)]({'channelId':_0x44b738,'revisionId':_0x4e2638['id']});_0x4e2638[_0x3838d2(0xca)]=_0x5d888f[_0x3838d2(0xca)];}[_0x184df0(0xff)](_0x7817cf){const _0x28b7d7=_0x184df0,_0x194790={};for(const _0x54bce2 in _0x7817cf[_0x28b7d7(0xca)]){if(_0x7817cf[_0x28b7d7(0xca)][_0x54bce2][_0x28b7d7(0x110)]&&!_0x7817cf[_0x28b7d7(0xca)][_0x54bce2][_0x28b7d7(0x110)][_0x28b7d7(0xc6)])continue;const _0x517112=this[_0x28b7d7(0xf7)](JSON[_0x28b7d7(0xef)](_0x7817cf[_0x28b7d7(0xca)][_0x54bce2][_0x28b7d7(0xd0)])),_0x22d3e0=this[_0x28b7d7(0xfb)][_0x28b7d7(0xf0)][_0x28b7d7(0xfc)][_0x28b7d7(0xe4)],_0x42548f=new _0x450f8c(_0x22d3e0,_0x517112[_0x28b7d7(0xe3)](_0xaafa69=>this[_0x28b7d7(0xe5)](_0xaafa69,!0x1)));this[_0x28b7d7(0xfb)][_0x28b7d7(0x111)][_0x28b7d7(0xcc)][_0x28b7d7(0xd9)](_0x28b7d7(0xf9)),_0x194790[_0x54bce2]=this[_0x28b7d7(0xfb)][_0x28b7d7(0x111)][_0x28b7d7(0xcc)][_0x28b7d7(0xda)](_0x42548f),this[_0x28b7d7(0xfb)][_0x28b7d7(0x111)][_0x28b7d7(0xcc)][_0x28b7d7(0xd9)](_0x28b7d7(0xe6));}return _0x194790;}[_0x184df0(0xd8)](_0x3539fd){const _0x4682a6=_0x184df0,_0xa65986={};for(const _0x51bea4 in _0x3539fd[_0x4682a6(0xca)])_0x3539fd[_0x4682a6(0xca)][_0x51bea4][_0x4682a6(0x110)]&&!_0x3539fd[_0x4682a6(0xca)][_0x51bea4][_0x4682a6(0x110)][_0x4682a6(0xc6)]||(_0xa65986[_0x51bea4]=_0x3539fd[_0x4682a6(0xca)][_0x51bea4][_0x4682a6(0xf8)]||{});return _0xa65986;}[_0x184df0(0xe1)](_0x446bcb){const _0x552a35=_0x184df0;return this[_0x552a35(0xe0)][_0x552a35(0xc7)](_0x446bcb[_0x552a35(0xd2)]);}[_0x184df0(0xe5)](_0x3c3f6b,_0x202560){const _0x11d0e3=_0x184df0,_0x14e2fb=this[_0x11d0e3(0xfb)][_0x11d0e3(0xf0)][_0x11d0e3(0xfc)][_0x11d0e3(0xe4)];if(_0x11d0e3(0xd5)==typeof _0x3c3f6b)return new _0x237e97(_0x14e2fb,_0x3c3f6b);{let _0xca18f0,_0x3041b5;_0x3041b5='u'==_0x3c3f6b[_0x11d0e3(0xee)]||'r'==_0x3c3f6b[_0x11d0e3(0xee)]?[]:_0x3c3f6b[_0x11d0e3(0xcd)][_0x11d0e3(0xe3)](_0x1503ab=>this[_0x11d0e3(0xe5)](_0x1503ab,_0x202560));const _0x259e80=this[_0x11d0e3(0x10f)][_0x11d0e3(0xc7)](_0x3c3f6b[_0x11d0e3(0xee)])||_0x269920,_0x27a8f8=this[_0x11d0e3(0xfb)][_0x11d0e3(0x111)][_0x11d0e3(0x100)][_0x11d0e3(0x10e)];if(_0xca18f0=new _0x259e80(_0x14e2fb,_0x3c3f6b[_0x11d0e3(0xc5)],_0x3c3f6b[_0x11d0e3(0xdf)],_0x3041b5),'u'==_0x3c3f6b[_0x11d0e3(0xee)]&&_0x3c3f6b[_0x11d0e3(0xcd)][0x0]){const _0x4cb9da=_0x3c3f6b[_0x11d0e3(0xcd)][0x0];if(_0xca18f0[_0x11d0e3(0xf3)]=function(_0x96b573){const _0x4adfef=_0x11d0e3,_0x8ab244=_0x96b573[_0x4adfef(0xec)](_0x4adfef(0xd6));return _0x8ab244[_0x4adfef(0xdd)]=_0x4cb9da,_0x8ab244[_0x4adfef(0xf2)][0x0];},_0x202560){const _0x19b2da=new _0x450f8c(_0x14e2fb);_0x19b2da[_0x11d0e3(0xd1)](_0xca18f0);const _0x27bd85=Array[_0x11d0e3(0x109)](_0x27a8f8[_0x11d0e3(0x103)](_0x19b2da,{'bind':!0x1})),_0x11f8a0=_0x27a8f8[_0x11d0e3(0xdc)][_0x11d0e3(0xec)](_0x11d0e3(0xd6));_0x11f8a0[_0x11d0e3(0x10a)](..._0x27bd85),_0xca18f0=Array[_0x11d0e3(0x109)](_0x27a8f8[_0x11d0e3(0xcf)](_0x11f8a0))[0x0];}}else{if('r'==_0x3c3f6b[_0x11d0e3(0xee)]&&_0x3c3f6b[_0x11d0e3(0xcd)][0x0]){const _0x218e92=_0x3c3f6b[_0x11d0e3(0xcd)][0x0];if(_0xca18f0[_0x11d0e3(0xf3)]=function(_0x211ba7){const _0x846635=_0x11d0e3;_0x211ba7[_0x846635(0xdd)]=_0x218e92;},_0x202560){const _0x8b8fe9=new _0x450f8c(_0x14e2fb);_0x8b8fe9[_0x11d0e3(0xd1)](_0xca18f0);const _0x2f713e=Array[_0x11d0e3(0x109)](_0x27a8f8[_0x11d0e3(0x103)](_0x8b8fe9,{'bind':!0x1})),_0x5f05ba=_0x27a8f8[_0x11d0e3(0xdc)][_0x11d0e3(0xec)](_0x11d0e3(0xd6));_0x5f05ba[_0x11d0e3(0x10a)](..._0x2f713e);const _0x1d2335=Array[_0x11d0e3(0x109)](_0x27a8f8[_0x11d0e3(0xcf)](_0x5f05ba));_0x1d2335[_0x11d0e3(0xe8)]>0x1?_0xca18f0[_0x11d0e3(0xd1)](_0x1d2335):_0xca18f0=_0x1d2335[0x0];}}}if(_0x3c3f6b[_0x11d0e3(0xd4)]){for(const [_0x9f38f3,_0x2dba38]of _0x3c3f6b[_0x11d0e3(0xd4)])_0xca18f0[_0x11d0e3(0xf6)](_0x9f38f3,_0x2dba38);}const _0xa7ee48=void 0x0===_0x3c3f6b[_0x11d0e3(0xfd)]?null:_0x3c3f6b[_0x11d0e3(0xfd)];return null!==_0xa7ee48&&(_0xca18f0[_0x11d0e3(0x101)]=()=>_0xa7ee48),_0xca18f0;}}[_0x184df0(0xdb)](_0x489882){const _0xafa343=_0x184df0,_0xf56011=JSON[_0xafa343(0xef)](_0x489882),_0x5aef08=this[_0xafa343(0xfb)][_0xafa343(0xf0)][_0xafa343(0xfc)][_0xafa343(0xe4)],_0x48aaee=new _0x450f8c(_0x5aef08,_0xf56011[_0xafa343(0xe3)](_0x28bcb3=>this[_0xafa343(0xe5)](_0x28bcb3,!0x0)));return this[_0xafa343(0xfb)][_0xafa343(0x111)][_0xafa343(0x10d)](_0x48aaee);}[_0x184df0(0xf7)](_0x381e60){const _0x582a4d=_0x184df0;return(_0x381e60=_0x381e60[_0x582a4d(0xeb)](_0x35a043=>!_0x35a043[_0x582a4d(0xc5)]||_0x582a4d(0x10b)!==_0x35a043[_0x582a4d(0xc5)]&&_0x582a4d(0x105)!==_0x35a043[_0x582a4d(0xc5)]))[_0x582a4d(0xde)](_0x220c8c=>{const _0x32ee1=_0x582a4d;_0x32ee1(0xd5)!=typeof _0x220c8c&&(_0x220c8c[_0x32ee1(0xcd)]=this[_0x32ee1(0xf7)](_0x220c8c[_0x32ee1(0xcd)]),_0x220c8c[_0x32ee1(0xdf)]=_0x220c8c[_0x32ee1(0xdf)][_0x32ee1(0xeb)](_0x27118b=>!_0x27118b[0x0][_0x32ee1(0xce)](_0x32ee1(0xe7))));}),_0x381e60;}}