@ckeditor/ckeditor5-track-changes 46.0.1-alpha.1 → 46.0.1-alpha.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +1 -1
- package/build/translations/ar.js +1 -1
- package/build/translations/bg.js +1 -1
- package/build/translations/bn.js +1 -1
- package/build/translations/ca.js +1 -1
- package/build/translations/cs.js +1 -1
- package/build/translations/da.js +1 -1
- package/build/translations/de.js +1 -1
- package/build/translations/el.js +1 -1
- package/build/translations/es.js +1 -1
- package/build/translations/et.js +1 -1
- package/build/translations/fi.js +1 -1
- package/build/translations/fr.js +1 -1
- package/build/translations/he.js +1 -1
- package/build/translations/hi.js +1 -1
- package/build/translations/hu.js +1 -1
- package/build/translations/id.js +1 -1
- package/build/translations/it.js +1 -1
- package/build/translations/ja.js +1 -1
- package/build/translations/ko.js +1 -1
- package/build/translations/lt.js +1 -1
- package/build/translations/lv.js +1 -1
- package/build/translations/ms.js +1 -1
- package/build/translations/nl.js +1 -1
- package/build/translations/no.js +1 -1
- package/build/translations/pl.js +1 -1
- package/build/translations/pt-br.js +1 -1
- package/build/translations/pt.js +1 -1
- package/build/translations/ro.js +1 -1
- package/build/translations/ru.js +1 -1
- package/build/translations/sk.js +1 -1
- package/build/translations/sr.js +1 -1
- package/build/translations/sv.js +1 -1
- package/build/translations/th.js +1 -1
- package/build/translations/tr.js +1 -1
- package/build/translations/uk.js +1 -1
- package/build/translations/vi.js +1 -1
- package/build/translations/zh-cn.js +1 -1
- package/build/translations/zh.js +1 -1
- package/dist/index.js +4 -4
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/lang/translations/ar.po +16 -16
- package/lang/translations/bg.po +16 -16
- package/lang/translations/bn.po +16 -16
- package/lang/translations/ca.po +16 -16
- package/lang/translations/cs.po +16 -16
- package/lang/translations/da.po +16 -16
- package/lang/translations/de.po +16 -16
- package/lang/translations/el.po +16 -16
- package/lang/translations/es.po +16 -16
- package/lang/translations/et.po +16 -16
- package/lang/translations/fi.po +16 -16
- package/lang/translations/fr.po +16 -16
- package/lang/translations/he.po +16 -16
- package/lang/translations/hi.po +16 -16
- package/lang/translations/hu.po +16 -16
- package/lang/translations/id.po +16 -16
- package/lang/translations/it.po +16 -16
- package/lang/translations/ja.po +16 -16
- package/lang/translations/ko.po +16 -16
- package/lang/translations/lt.po +16 -16
- package/lang/translations/lv.po +16 -16
- package/lang/translations/ms.po +16 -16
- package/lang/translations/nl.po +16 -16
- package/lang/translations/no.po +16 -16
- package/lang/translations/pl.po +16 -16
- package/lang/translations/pt-br.po +16 -16
- package/lang/translations/pt.po +16 -16
- package/lang/translations/ro.po +16 -16
- package/lang/translations/ru.po +16 -16
- package/lang/translations/sk.po +16 -16
- package/lang/translations/sr.po +16 -16
- package/lang/translations/sv.po +16 -16
- package/lang/translations/th.po +16 -16
- package/lang/translations/tr.po +16 -16
- package/lang/translations/uk.po +16 -16
- package/lang/translations/vi.po +20 -20
- package/lang/translations/zh-cn.po +16 -16
- package/lang/translations/zh.po +16 -16
- package/package.json +27 -27
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/previewfinalcontentcommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/index.js +1 -1
- package/src/integrations/aiassistant.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/bookmark.js +1 -1
- package/src/integrations/casechange.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/emoji.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/imagestyle.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/legacylist.js +1 -1
- package/src/integrations/legacylistproperties.js +1 -1
- package/src/integrations/lineheight.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/mergefields.js +1 -1
- package/src/integrations/multilevellist.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/replacesourcecommand.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.js +2 -2
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablelayout.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/uploadcare.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +2 -2
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangespreview.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +2 -2
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/ui/view/suggestionview.js +1 -1
- package/src/ui/view/trackchangespreviewview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x1985(){const _0x1c2981=['requires','isOfficialPlugin','5923152KqBDWa','40232hdzlkc','trackChanges.preview.renderFunction','777ZVUgNu','1FgmYFe','commands','445760unuAVt','previewFinalContent','730aiGnpd','912468JlPRFV','4874031QUciie','isPremiumPlugin','define','pluginName','12wLaxgc','appendChild','TrackChangesPreview','230747BrkRFh','editor','config','660261LoHdoV','add'];_0x1985=function(){return _0x1c2981;};return _0x1985();}const _0x16779a=_0x1f1f;(function(_0x1288d2,_0x3fa017){const _0x3746da=_0x1f1f,_0x333177=_0x1288d2();while(!![]){try{const _0x439226=parseInt(_0x3746da(0x155))/0x1*(parseInt(_0x3746da(0x142))/0x2)+-parseInt(_0x3746da(0x14d))/0x3*(-parseInt(_0x3746da(0x147))/0x4)+parseInt(_0x3746da(0x157))/0x5+-parseInt(_0x3746da(0x151))/0x6+-parseInt(_0x3746da(0x154))/0x7*(parseInt(_0x3746da(0x152))/0x8)+-parseInt(_0x3746da(0x143))/0x9+-parseInt(_0x3746da(0x141))/0xa*(-parseInt(_0x3746da(0x14a))/0xb);if(_0x439226===_0x3fa017)break;else _0x333177['push'](_0x333177['shift']());}catch(_0x21d113){_0x333177['push'](_0x333177['shift']());}}}(_0x1985,0x9eb0e));import{Plugin as _0x40da1c}from'ckeditor5/src/core.js';import{Dialog as _0x2e42e2}from'ckeditor5/src/ui.js';function _0x1f1f(_0x17e2a4,_0x69255e){const _0x198589=_0x1985();return _0x1f1f=function(_0x1f1f5c,_0x2fc287){_0x1f1f5c=_0x1f1f5c-0x141;let _0x25a01b=_0x198589[_0x1f1f5c];return _0x25a01b;},_0x1f1f(_0x17e2a4,_0x69255e);}import{TrackChangesData as _0x27820e}from'./trackchangesdata.js';import{PreviewFinalContentCommand as _0x4bd3ad}from'./commands/previewfinalcontentcommand.js';import'../theme/trackchangespreview.css';export class TrackChangesPreview extends _0x40da1c{static get[_0x16779a(0x14f)](){return[_0x27820e,_0x2e42e2];}static get[_0x16779a(0x146)](){const _0x312dcd=_0x16779a;return _0x312dcd(0x149);}static get[_0x16779a(0x150)](){return!0x0;}static get[_0x16779a(0x144)](){return!0x0;}constructor(_0x26f3d4){const _0x3563d4=_0x16779a;super(_0x26f3d4),_0x26f3d4[_0x3563d4(0x156)][_0x3563d4(0x14e)](_0x3563d4(0x158),new _0x4bd3ad(this[_0x3563d4(0x14b)])),_0x26f3d4[_0x3563d4(0x14c)][_0x3563d4(0x145)](_0x3563d4(0x153),(_0x2ebb73,_0x10f1a5)=>{const _0x5c0888=_0x3563d4;for(const _0x395493 of _0x10f1a5)_0x2ebb73[_0x5c0888(0x148)](_0x395493);});}}
|
package/src/trackchangesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x1c29fd=_0x17de;(function(_0x123a7b,_0x9858f4){const _0x1d06ee=_0x17de,_0x107c15=_0x123a7b();while(!![]){try{const _0x432de4=-parseInt(_0x1d06ee(0x1eb))/0x1*(-parseInt(_0x1d06ee(0x1e0))/0x2)+-parseInt(_0x1d06ee(0x243))/0x3+parseInt(_0x1d06ee(0x252))/0x4+-parseInt(_0x1d06ee(0x1ae))/0x5*(parseInt(_0x1d06ee(0x22f))/0x6)+parseInt(_0x1d06ee(0x1d3))/0x7*(-parseInt(_0x1d06ee(0x1c3))/0x8)+parseInt(_0x1d06ee(0x240))/0x9*(parseInt(_0x1d06ee(0x214))/0xa)+-parseInt(_0x1d06ee(0x241))/0xb;if(_0x432de4===_0x9858f4)break;else _0x107c15['push'](_0x107c15['shift']());}catch(_0x225162){_0x107c15['push'](_0x107c15['shift']());}}}(_0x5713,0x98d6c));import{Plugin as _0x1c0c51}from'ckeditor5/src/core.js';import{Collection as _0x1cc5f7}from'ckeditor5/src/utils.js';import{IconTrackChanges as _0x50cea9}from'ckeditor5/src/icons.js';import{addListToDropdown as _0x2b0f55,createDropdown as _0x24e8dd,ListSeparatorView as _0x4c5b6f,MenuBarMenuView as _0x1c4651,MenuBarMenuListView as _0x37defc,MenuBarMenuListItemView as _0x3d4183,MenuBarMenuListItemButtonView as _0x2d18c5,SplitButtonView as _0x1118ab,UIModel as _0x41fd86}from'ckeditor5/src/ui.js';import{Users as _0x4df8fc,getDateTimeFormatter as _0x28feec,getAllMarkersDomElementsSorted as _0x485820}from'ckeditor5-collaboration/src/collaboration-core.js';import{TrackChangesEditing as _0x1b1d3}from'./trackchangesediting.js';import{SuggestionController as _0x16fd05}from'./ui/suggestioncontroller.js';import{SuggestionThreadView as _0x475985}from'./ui/view/suggestionthreadview.js';function _0x17de(_0x4466e2,_0x2be404){const _0x5713a8=_0x5713();return _0x17de=function(_0x17dedf,_0x3a811f){_0x17dedf=_0x17dedf-0x1a0;let _0x294615=_0x5713a8[_0x17dedf];return _0x294615;},_0x17de(_0x4466e2,_0x2be404);}import{SuggestionView as _0x2c4ca0}from'./ui/view/suggestionview.js';import{getTranslation as _0x176bca}from'./utils/common-translations.js';export class TrackChangesUI extends _0x1c0c51{[_0x1c29fd(0x22b)];[_0x1c29fd(0x1af)];[_0x1c29fd(0x22d)];[_0x1c29fd(0x217)];[_0x1c29fd(0x1b5)];[_0x1c29fd(0x1ee)];[_0x1c29fd(0x1a6)];static get[_0x1c29fd(0x1c4)](){const _0x5cb53b=_0x1c29fd;return[_0x1b1d3,_0x4df8fc,_0x5cb53b(0x1cb),_0x5cb53b(0x208),_0x5cb53b(0x20f)];}static get[_0x1c29fd(0x1a3)](){const _0x43d8ff=_0x1c29fd;return _0x43d8ff(0x1d2);}static get[_0x1c29fd(0x1fb)](){return!0x0;}static get[_0x1c29fd(0x1cc)](){return!0x0;}constructor(_0x1c487b){const _0x502cd9=_0x1c29fd;super(_0x1c487b),this[_0x502cd9(0x22d)]=new Map(),this[_0x502cd9(0x217)]=new Map(),this[_0x502cd9(0x1b5)]=new Map(),this[_0x502cd9(0x1ee)]=new Map();const _0xd4b8d9=this[_0x502cd9(0x1bd)][_0x502cd9(0x21d)];_0xd4b8d9[_0x502cd9(0x200)](_0x502cd9(0x1e9),_0x475985),_0xd4b8d9[_0x502cd9(0x200)](_0x502cd9(0x1f3),_0x2c4ca0),_0xd4b8d9[_0x502cd9(0x200)](_0x502cd9(0x1d5),!0x1),this[_0x502cd9(0x1a6)]=_0xd4b8d9[_0x502cd9(0x1d6)](_0x502cd9(0x1d5));}[_0x1c29fd(0x1a2)](_0x180b43,_0x2c7ea){const _0x1ff1d0=_0x1c29fd;0x0===this[_0x1ff1d0(0x1ee)][_0x1ff1d0(0x223)]&&setTimeout(()=>{const _0x5b4616=_0x1ff1d0;for(const [_0x5f1655,_0xd0a895]of this[_0x5b4616(0x1ee)]){const _0x56f300=this[_0x5b4616(0x22d)][_0x5b4616(0x1e3)](_0x5f1655);_0x56f300||_0xd0a895?_0x56f300&&_0xd0a895&&this[_0x5b4616(0x1bf)](_0x5f1655):this[_0x5b4616(0x221)](_0x5f1655);}this[_0x5b4616(0x1ee)][_0x5b4616(0x230)](),this[_0x5b4616(0x1bd)][_0x5b4616(0x1d1)][_0x5b4616(0x1d6)](_0x5b4616(0x20f))[_0x5b4616(0x218)](),this[_0x5b4616(0x24d)]();},0xa),this[_0x1ff1d0(0x1ee)][_0x1ff1d0(0x1a1)](_0x180b43,_0x2c7ea);}[_0x1c29fd(0x1ca)](){const _0x4eba85=_0x1c29fd,_0x4ce9fd=this[_0x4eba85(0x1bd)],_0x5da8f4=_0x4ce9fd[_0x4eba85(0x1d1)][_0x4eba85(0x1d6)](_0x4eba85(0x1ed)),_0xc85c43=_0x4ce9fd[_0x4eba85(0x1d1)][_0x4eba85(0x1d6)](_0x4eba85(0x208)),_0x5e6ea8=_0x4ce9fd[_0x4eba85(0x1d1)][_0x4eba85(0x1d6)](_0x4eba85(0x20f)),_0x2396d4=_0x4ce9fd[_0x4eba85(0x1d1)][_0x4eba85(0x1d6)](_0x4eba85(0x1cb));this[_0x4eba85(0x1c8)](),_0x5e6ea8[_0x4eba85(0x204)](()=>{const _0x46e0f6=_0x4eba85,_0x3000c0=[];for(const [_0x347af4,_0x197e35]of Array[_0x46e0f6(0x1a9)](this[_0x46e0f6(0x22d)])){const _0x223679=_0x347af4[_0x46e0f6(0x23e)](),_0x1c453e=[];for(const _0x9fa002 of _0x223679){if(!_0x9fa002[_0x46e0f6(0x1c0)])continue;if(_0x9fa002[_0x46e0f6(0x21f)]){_0x1c453e[_0x46e0f6(0x205)](..._0x9fa002[_0x46e0f6(0x21a)]());continue;}const _0x34a3b7=_0x9fa002[_0x46e0f6(0x1ad)]();if(_0x1c453e[_0x46e0f6(0x1dd)]>0x0){const _0x63ed31=_0x1c453e[0x0][_0x46e0f6(0x1b8)](_0x34a3b7);if(_0x63ed31){_0x1c453e[0x0]=_0x63ed31;continue;}}_0x1c453e[_0x46e0f6(0x205)](_0x34a3b7);}_0x3000c0[_0x46e0f6(0x205)]([_0x197e35[_0x46e0f6(0x1fd)],_0x1c453e]);}return _0x3000c0;}),this[_0x4eba85(0x24e)](_0x5da8f4,_0x4eba85(0x24c),(_0x4043af,_0xfb5cae)=>{const _0x1a145f=_0x4eba85;this[_0x1a145f(0x24e)](_0xfb5cae,_0x1a145f(0x216),(_0x436f95,_0x43591b,_0x20fa39,_0x1a4468)=>{const _0x2cbe3=_0x1a145f;_0xfb5cae[_0x2cbe3(0x1c0)]&&(null==_0x20fa39?(this[_0x2cbe3(0x1d8)](_0x1a4468[_0x2cbe3(0x1aa)]),this[_0x2cbe3(0x1a2)](_0xfb5cae,!0x1)):(this[_0x2cbe3(0x1d8)](_0x20fa39[_0x2cbe3(0x1aa)]),null==_0x1a4468&&this[_0x2cbe3(0x1a2)](_0xfb5cae,!0x0)));}),null!==_0xfb5cae[_0x1a145f(0x1da)]?this[_0x1a145f(0x1d8)](_0xfb5cae[_0x1a145f(0x1aa)]):this[_0x1a145f(0x1a2)](_0xfb5cae,!0x1);}),this[_0x4eba85(0x24e)](_0x5da8f4,_0x4eba85(0x1ba),(_0xd88398,_0x2b4391,_0x16b876)=>{const _0x21fcec=_0x4eba85;this[_0x21fcec(0x1b1)](_0x2b4391,_0x21fcec(0x216)),this[_0x21fcec(0x1ee)][_0x21fcec(0x24a)](_0x2b4391),this[_0x21fcec(0x22d)][_0x21fcec(0x1e3)](_0x2b4391)&&this[_0x21fcec(0x1bf)](_0x2b4391),_0x16b876&&this[_0x21fcec(0x1d8)](_0x16b876[_0x21fcec(0x1aa)]);}),this[_0x4eba85(0x24e)](_0x5da8f4,_0x4eba85(0x24b),(_0x5cd204,_0x98fbad)=>{const _0x3ee76a=_0x4eba85;this[_0x3ee76a(0x1d8)](_0x98fbad);}),this[_0x4eba85(0x24e)](_0xc85c43,_0x4eba85(0x1f4),()=>{const _0x29f38b=_0x4eba85;this[_0x29f38b(0x24d)]();}),this[_0x4eba85(0x24e)](_0x2396d4,_0x4eba85(0x1fe),(_0x5f3bda,{threadId:_0x5c28f5,isFromAdapter:_0x405e05})=>{const _0x4c8a06=_0x4eba85;if(_0x405e05||!_0x5da8f4[_0x4c8a06(0x246)](_0x5c28f5))return;const _0x3608aa=_0x5da8f4[_0x4c8a06(0x229)](_0x5c28f5);this[_0x4c8a06(0x22d)][_0x4c8a06(0x1d6)](_0x3608aa)[_0x4c8a06(0x1fd)][_0x4c8a06(0x1f2)][_0x4c8a06(0x1dc)](-0x1);},{'priority':_0x4eba85(0x20e)}),this[_0x4eba85(0x22b)]=this[_0x4eba85(0x1bd)][_0x4eba85(0x21d)][_0x4eba85(0x1d6)](_0x4eba85(0x22b));const _0x4cdaa6=this[_0x4eba85(0x1bd)];this[_0x4eba85(0x1af)]=setInterval(()=>{const _0x2fbe1a=_0x4eba85;let _0x4be1c0;for(const _0x1029c1 in _0x4cdaa6){const _0x1ab6ad=_0x1029c1,_0x2f3a4f=_0x4cdaa6[_0x1ab6ad];if(_0x2fbe1a(0x242)==_0x2f3a4f||_0x2fbe1a(0x1ef)==_0x2f3a4f||_0x2fbe1a(0x1f8)==_0x2f3a4f||_0x2fbe1a(0x1d7)==_0x2f3a4f||_0x2fbe1a(0x233)==_0x2f3a4f||_0x2fbe1a(0x1d4)==_0x2f3a4f||_0x2fbe1a(0x220)==_0x2f3a4f||_0x2fbe1a(0x24f)==_0x2f3a4f){delete _0x4cdaa6[_0x1ab6ad],_0x4be1c0=_0x2f3a4f,clearInterval(this[_0x2fbe1a(0x1af)]),this[_0x2fbe1a(0x1af)]=void 0x0;break;}}_0x2fbe1a(0x1ef)==_0x4be1c0&&_0x4cdaa6[_0x2fbe1a(0x225)](_0x2fbe1a(0x23c)),_0x2fbe1a(0x1f8)==_0x4be1c0&&_0x4cdaa6[_0x2fbe1a(0x225)](_0x2fbe1a(0x1b3)),_0x2fbe1a(0x1d7)==_0x4be1c0&&_0x4cdaa6[_0x2fbe1a(0x225)](_0x2fbe1a(0x1f7)),_0x2fbe1a(0x233)==_0x4be1c0&&_0x4cdaa6[_0x2fbe1a(0x225)](_0x2fbe1a(0x222),_0x2fbe1a(0x244)),_0x2fbe1a(0x1d4)==_0x4be1c0&&_0x4cdaa6[_0x2fbe1a(0x225)](_0x2fbe1a(0x1f9)),_0x2fbe1a(0x220)==_0x4be1c0&&_0x4cdaa6[_0x2fbe1a(0x225)](_0x2fbe1a(0x22c)),_0x2fbe1a(0x24f)==_0x4be1c0&&_0x4cdaa6[_0x2fbe1a(0x225)](_0x2fbe1a(0x1df));},0x3e8);}[_0x1c29fd(0x1fa)](_0x5a7c34){const _0x4ca06d=_0x1c29fd,_0x52d887=this[_0x4ca06d(0x22d)][_0x4ca06d(0x1d6)](_0x5a7c34);if(!_0x52d887)return null;return this[_0x4ca06d(0x1bd)][_0x4ca06d(0x1d1)][_0x4ca06d(0x1d6)](_0x4ca06d(0x208))[_0x4ca06d(0x209)](_0x52d887[_0x4ca06d(0x1fd)])||null;}[_0x1c29fd(0x1ab)](_0x1de930){const _0x42c4a2=_0x1c29fd,_0x32197d=this[_0x42c4a2(0x217)][_0x42c4a2(0x1d6)](_0x1de930[_0x42c4a2(0x1c6)]);return _0x32197d?_0x32197d[_0x42c4a2(0x1f5)]:null;}[_0x1c29fd(0x24d)](){const _0x30de99=_0x1c29fd,_0x240078=this[_0x30de99(0x1bd)][_0x30de99(0x1d1)][_0x30de99(0x1d6)](_0x30de99(0x208)),_0x2de51c=this[_0x30de99(0x1bd)][_0x30de99(0x1d1)][_0x30de99(0x1d6)](_0x30de99(0x1ed)),_0x10faf8=Array[_0x30de99(0x1a9)](_0x240078[_0x30de99(0x207)],_0x29ca6c=>_0x29ca6c[_0x30de99(0x1c6)])[_0x30de99(0x1a7)](_0x8f222d=>this[_0x30de99(0x217)][_0x30de99(0x1e3)](_0x8f222d)),_0x2ff181=[];for(const _0x5ad343 of _0x10faf8){const _0x59fc02=this[_0x30de99(0x217)][_0x30de99(0x1d6)](_0x5ad343)[_0x30de99(0x1f5)][_0x30de99(0x23e)]();_0x2ff181[_0x30de99(0x205)](..._0x59fc02[_0x30de99(0x20b)]((_0x396d3d,_0x14e57b)=>[..._0x396d3d,..._0x14e57b[_0x30de99(0x1a8)]()],[]));}_0x2de51c[_0x30de99(0x1e5)]=_0x2ff181;}[_0x1c29fd(0x1c8)](){const _0x344203=_0x1c29fd,_0x5750cf=this[_0x344203(0x1bd)],_0x4cb154=_0x5750cf[_0x344203(0x1ff)],_0xdb5656=_0x176bca(_0x4cb154,_0x344203(0x21e)),_0x2f67e2=new _0x1cc5f7([{'type':_0x344203(0x1b6),'model':new _0x41fd86({'withText':!0x0,'isToggleable':!0x0,'label':_0xdb5656,'commandName':_0x344203(0x1e1),'role':_0x344203(0x1ac)})},{'type':_0x344203(0x227)},{'type':_0x344203(0x231),'model':new _0x41fd86({'withText':!0x0,'label':_0x176bca(_0x4cb154,_0x344203(0x219)),'commandName':_0x344203(0x251),'role':_0x344203(0x21c)})},{'type':_0x344203(0x231),'model':new _0x41fd86({'withText':!0x0,'label':_0x176bca(_0x4cb154,_0x344203(0x20a)),'commandName':_0x344203(0x228),'role':_0x344203(0x21c)})},{'type':_0x344203(0x231),'model':new _0x41fd86({'withText':!0x0,'label':_0x176bca(_0x4cb154,_0x344203(0x211)),'commandName':_0x344203(0x1c2),'role':_0x344203(0x21c)})},{'type':_0x344203(0x231),'model':new _0x41fd86({'withText':!0x0,'label':_0x176bca(_0x4cb154,_0x344203(0x232)),'commandName':_0x344203(0x247),'role':_0x344203(0x21c)})}]);_0x5750cf[_0x344203(0x1d1)][_0x344203(0x1e3)](_0x344203(0x236))&&_0x2f67e2[_0x344203(0x1db)]([{'type':_0x344203(0x227)},{'type':_0x344203(0x231),'model':new _0x41fd86({'withText':!0x0,'label':_0x176bca(_0x4cb154,_0x344203(0x23f)),'commandName':_0x344203(0x1d0),'role':_0x344203(0x21c)})}]);for(const _0x4298b5 of _0x2f67e2)if(ke(_0x4298b5)){const _0x3b846e=_0x5750cf[_0x344203(0x201)][_0x344203(0x1d6)](_0x4298b5[_0x344203(0x1f5)][_0x344203(0x22a)]);_0x4298b5[_0x344203(0x1f5)][_0x344203(0x1b2)](_0x344203(0x1be),_0x344203(0x238))['to'](_0x3b846e,_0x344203(0x245),_0x344203(0x238));}_0x5750cf['ui'][_0x344203(0x1e6)][_0x344203(0x249)](_0x344203(0x1e1),_0x16e30e=>this[_0x344203(0x248)](_0x16e30e,_0x2f67e2,_0xdb5656)),_0x5750cf['ui'][_0x344203(0x1e6)][_0x344203(0x249)](_0x344203(0x237),_0x411796=>this[_0x344203(0x206)](_0x411796,_0x2f67e2,_0xdb5656));}[_0x1c29fd(0x248)](_0x499008,_0x50df4d,_0x192116){const _0x55fc9b=_0x1c29fd,_0x20d2a8=_0x24e8dd(_0x499008,_0x1118ab),_0x3a7aca=this[_0x55fc9b(0x1bd)][_0x55fc9b(0x201)][_0x55fc9b(0x1d6)](_0x55fc9b(0x1e1));_0x20d2a8[_0x55fc9b(0x235)][_0x55fc9b(0x1a1)]({'tooltip':_0x192116,'label':_0x192116,'icon':_0x50cea9}),_0x20d2a8[_0x55fc9b(0x235)][_0x55fc9b(0x1b2)](_0x55fc9b(0x1be))['to'](_0x3a7aca,_0x55fc9b(0x245)),_0x20d2a8[_0x55fc9b(0x235)]['on'](_0x55fc9b(0x1d9),()=>{const _0x4188cf=_0x55fc9b;_0x3a7aca[_0x4188cf(0x1d9)](),this[_0x4188cf(0x1bd)][_0x4188cf(0x224)][_0x4188cf(0x1fd)][_0x4188cf(0x1dc)]();}),_0x2b0f55(_0x20d2a8,_0x50df4d,{'role':_0x55fc9b(0x215)});const _0x112ced=[];for(const _0x227cfc of _0x50df4d)ke(_0x227cfc)&&_0x112ced[_0x55fc9b(0x205)](this[_0x55fc9b(0x1bd)][_0x55fc9b(0x201)][_0x55fc9b(0x1d6)](_0x227cfc[_0x55fc9b(0x1f5)][_0x55fc9b(0x22a)]));const _0x38e7f9=_0x20d2a8[_0x55fc9b(0x235)];return _0x38e7f9[_0x55fc9b(0x23d)][_0x55fc9b(0x239)](_0x55fc9b(0x238)),_0x38e7f9[_0x55fc9b(0x23b)][_0x55fc9b(0x239)](_0x55fc9b(0x238)),_0x38e7f9[_0x55fc9b(0x23d)][_0x55fc9b(0x1b2)](_0x55fc9b(0x238))['to'](_0x3a7aca,_0x55fc9b(0x238)),_0x38e7f9[_0x55fc9b(0x23b)][_0x55fc9b(0x1b2)](_0x55fc9b(0x238))[_0x55fc9b(0x226)](_0x112ced,_0x55fc9b(0x238),(..._0x42c0b8)=>_0x42c0b8[_0x55fc9b(0x1c7)](_0x90e599=>_0x90e599)),_0x20d2a8['on'](_0x55fc9b(0x1d9),_0x485e95=>{const _0x4e98d1=_0x55fc9b;this[_0x4e98d1(0x1bd)][_0x4e98d1(0x1d9)](_0x485e95[_0x4e98d1(0x1de)][_0x4e98d1(0x22a)]),this[_0x4e98d1(0x1bd)][_0x4e98d1(0x224)][_0x4e98d1(0x1fd)][_0x4e98d1(0x1dc)]();}),_0x20d2a8;}[_0x1c29fd(0x206)](_0x47c62b,_0x8ac688,_0x38eeb7){const _0x197fce=_0x1c29fd,_0x552ccc=new _0x1c4651(_0x47c62b),_0x5b90d4=this[_0x197fce(0x1bd)][_0x197fce(0x201)][_0x197fce(0x1d6)](_0x197fce(0x1e1));_0x552ccc[_0x197fce(0x235)][_0x197fce(0x1a1)]({'label':_0x38eeb7,'icon':_0x50cea9});const _0x2a38d5=new _0x37defc(_0x47c62b);for(const _0x96e03f of _0x8ac688){if(_0x197fce(0x227)==_0x96e03f[_0x197fce(0x1c5)]){_0x2a38d5[_0x197fce(0x1f0)][_0x197fce(0x249)](new _0x4c5b6f(_0x47c62b));continue;}const _0x1e2124=new _0x3d4183(_0x47c62b,_0x552ccc),_0x53ba52=new _0x2d18c5(_0x47c62b),_0x35dd86=_0x96e03f[_0x197fce(0x1f5)];_0x53ba52[_0x197fce(0x1b2)](...Object[_0x197fce(0x1cf)](_0x35dd86))['to'](_0x35dd86),_0x53ba52[_0x197fce(0x1f1)](_0x197fce(0x1d9))['to'](_0x552ccc),_0x53ba52['on'](_0x197fce(0x1d9),()=>{const _0x3694c3=_0x197fce;this[_0x3694c3(0x1bd)][_0x3694c3(0x1d9)](_0x35dd86[_0x3694c3(0x22a)]),this[_0x3694c3(0x1bd)][_0x3694c3(0x224)][_0x3694c3(0x1fd)][_0x3694c3(0x1dc)]();}),_0x1e2124[_0x197fce(0x1bc)][_0x197fce(0x249)](_0x53ba52),_0x2a38d5[_0x197fce(0x1f0)][_0x197fce(0x249)](_0x1e2124);}return _0x552ccc[_0x197fce(0x1b2)](_0x197fce(0x238))['to'](_0x5b90d4,_0x197fce(0x238)),_0x552ccc[_0x197fce(0x1a4)][_0x197fce(0x1bc)][_0x197fce(0x249)](_0x2a38d5),_0x552ccc;}[_0x1c29fd(0x221)](_0x1cd54d){const _0x12c282=_0x1c29fd,_0x5dd3a0=this[_0x12c282(0x1bd)],_0x16ecb6=_0x5dd3a0[_0x12c282(0x21d)],_0x1c5647=_0x5dd3a0[_0x12c282(0x1d1)][_0x12c282(0x1d6)](_0x12c282(0x208)),_0x5746a4=_0x5dd3a0[_0x12c282(0x1d1)][_0x12c282(0x1d6)](_0x12c282(0x1cb)),_0x12f363=_0x5dd3a0[_0x12c282(0x1d1)][_0x12c282(0x1d6)](_0x12c282(0x20f)),_0x5c3480=_0x5dd3a0[_0x12c282(0x1d1)][_0x12c282(0x1d6)](_0x4df8fc)['me'],_0x3528e7=_0x16ecb6[_0x12c282(0x1d6)](_0x12c282(0x1e1))[_0x12c282(0x1c9)],_0x3e9585=_0x16ecb6[_0x12c282(0x1d6)](_0x12c282(0x1e1))[_0x12c282(0x1a0)],{CommentsListView:_0x408897,CommentThreadInputView:_0x4cd6a9}=_0x5dd3a0[_0x12c282(0x1d1)][_0x12c282(0x1d6)](_0x12c282(0x203));let _0x2fb29c,_0x17357a,_0x17f36b;this[_0x12c282(0x1b5)][_0x12c282(0x1e3)](_0x1cd54d['id'])?(_0x17357a=this[_0x12c282(0x1b5)][_0x12c282(0x1d6)](_0x1cd54d['id']),_0x2fb29c=_0x17357a[_0x12c282(0x1c1)]):(_0x2fb29c=new _0x3528e7(_0x5dd3a0[_0x12c282(0x1ff)],_0x1cd54d,_0x5c3480,{'disableComments':this[_0x12c282(0x1a6)],'editorConfig':{..._0x16ecb6[_0x12c282(0x1d6)](_0x12c282(0x1e4)),'licenseKey':_0x16ecb6[_0x12c282(0x1d6)](_0x12c282(0x22b))},'maxCommentsWhenCollapsed':_0x16ecb6[_0x12c282(0x1d6)](_0x12c282(0x1cd)),'maxThreadTotalWeight':_0x16ecb6[_0x12c282(0x1d6)](_0x12c282(0x1e8)),'maxCommentCharsWhenCollapsed':_0x16ecb6[_0x12c282(0x1d6)](_0x12c282(0x234)),'formatDateTime':_0x28feec(_0x16ecb6[_0x12c282(0x1d6)](_0x12c282(0x1ff)),_0x5dd3a0[_0x12c282(0x1ff)]),'CommentView':_0x16ecb6[_0x12c282(0x1d6)](_0x12c282(0x21b))[_0x12c282(0x20c)],'CommentsListView':_0x408897,'CommentThreadInputView':_0x4cd6a9,'SuggestionView':_0x3e9585}),_0x2fb29c[_0x12c282(0x1bb)][_0x12c282(0x1b4)]['on'](_0x12c282(0x1d9),()=>{const _0x496a6d=_0x12c282;_0x5dd3a0[_0x496a6d(0x224)][_0x496a6d(0x1fd)][_0x496a6d(0x1dc)]();}),_0x2fb29c[_0x12c282(0x1bb)][_0x12c282(0x210)]['on'](_0x12c282(0x1d9),()=>{const _0x27931e=_0x12c282;_0x5dd3a0[_0x27931e(0x224)][_0x27931e(0x1fd)][_0x27931e(0x1dc)]();}),_0x17357a=_0x1c5647[_0x12c282(0x1b7)](this[_0x12c282(0x1bd)][_0x12c282(0x1ff)],_0x2fb29c),_0x17357a[_0x12c282(0x1b2)](_0x12c282(0x1e7))['to'](_0x2fb29c,_0x12c282(0x1e7)),_0x17357a[_0x12c282(0x1b2)](_0x12c282(0x1dd))['to'](_0x2fb29c),_0x17357a[_0x12c282(0x1b2)](_0x12c282(0x1c5))['to'](_0x2fb29c,_0x12c282(0x1c5),_0x58180b=>_0x12c282(0x20d)+_0x58180b),_0x2fb29c['on'](_0x12c282(0x1b0),()=>{const _0x3d50ad=_0x12c282;_0x17f36b[_0x3d50ad(0x1e2)](_0x3d50ad(0x1b0));}),this[_0x12c282(0x1b5)][_0x12c282(0x1a1)](_0x1cd54d['id'],_0x17357a));const _0x292db9=_0x5746a4[_0x12c282(0x22e)](_0x1cd54d[_0x12c282(0x1a5)],_0x2fb29c),_0x3464f5=new _0x16fd05(_0x5dd3a0,_0x1cd54d,_0x2fb29c,_0x292db9),_0x3522f1=_0x1cd54d[_0x12c282(0x23e)]()[_0x12c282(0x1a7)](_0x42cfe6=>_0x42cfe6[_0x12c282(0x1c0)]);_0x2fb29c[_0x12c282(0x1ea)]=_0x5dd3a0[_0x12c282(0x1d1)][_0x12c282(0x1d6)](_0x12c282(0x1ed))[_0x12c282(0x1ce)][_0x12c282(0x1b9)](_0x3522f1),this[_0x12c282(0x22d)][_0x12c282(0x1a1)](_0x1cd54d,_0x3464f5),this[_0x12c282(0x217)][_0x12c282(0x1a1)](_0x2fb29c,_0x3464f5);const _0x2e01d3=()=>{const _0x375e6c=_0x12c282,_0x5e92ae=[],_0x32cdda=_0x1cd54d[_0x375e6c(0x23e)]()[_0x375e6c(0x1a7)](_0x4b4e23=>_0x4b4e23[_0x375e6c(0x1c0)]);for(const _0x183398 of _0x32cdda)_0x5e92ae[_0x375e6c(0x205)](..._0x183398[_0x375e6c(0x1ec)]());return _0x485820(_0x5dd3a0[_0x375e6c(0x224)],_0x5e92ae);};_0x17f36b=_0x1c5647[_0x12c282(0x212)]({'view':_0x17357a,'target':_0x2e01d3,'type':()=>_0x12c282(0x20d)+_0x3464f5[_0x12c282(0x1fd)][_0x12c282(0x1c5)],'isVisible':!!_0x2e01d3()}),_0x5746a4[_0x12c282(0x1f6)](_0x2fb29c,_0x17f36b),_0x1c5647[_0x12c282(0x249)](_0x17f36b),_0x12f363[_0x12c282(0x202)](_0x17f36b);}[_0x1c29fd(0x1bf)](_0x5d1e6a){const _0x524da7=_0x1c29fd,_0x1ce824=this[_0x524da7(0x1bd)][_0x524da7(0x1d1)][_0x524da7(0x1d6)](_0x524da7(0x1cb)),_0x427bf0=this[_0x524da7(0x1bd)][_0x524da7(0x1d1)][_0x524da7(0x1d6)](_0x524da7(0x208)),_0x37777d=this[_0x524da7(0x22d)][_0x524da7(0x1d6)](_0x5d1e6a),_0x1bf55f=_0x37777d[_0x524da7(0x1fd)],_0x8a264=_0x427bf0[_0x524da7(0x209)](_0x1bf55f);_0x1ce824[_0x524da7(0x213)](_0x1bf55f),_0x8a264&&_0x427bf0[_0x524da7(0x23a)](_0x8a264),this[_0x524da7(0x22d)][_0x524da7(0x24a)](_0x5d1e6a),this[_0x524da7(0x217)][_0x524da7(0x24a)](_0x1bf55f),_0x37777d[_0x524da7(0x1fc)]();}[_0x1c29fd(0x1d8)](_0x1d0fa6){const _0x236aa3=_0x1c29fd;if(!_0x1d0fa6[_0x236aa3(0x1c0)]||!this[_0x236aa3(0x22d)][_0x236aa3(0x1e3)](_0x1d0fa6))return;const _0x4b42dc=this[_0x236aa3(0x1bd)][_0x236aa3(0x1d1)][_0x236aa3(0x1d6)](_0x236aa3(0x1ed)),_0x5bcbf1=this[_0x236aa3(0x22d)][_0x236aa3(0x1d6)](_0x1d0fa6),_0x1487b3=_0x1d0fa6[_0x236aa3(0x23e)]();_0x5bcbf1[_0x236aa3(0x1fd)][_0x236aa3(0x1ea)]=_0x4b42dc[_0x236aa3(0x1ce)][_0x236aa3(0x1b9)](_0x1487b3);}[_0x1c29fd(0x1fc)](){const _0x5c135=_0x1c29fd;for(const _0x5ecc29 of this[_0x5c135(0x22d)][_0x5c135(0x1cf)]())this[_0x5c135(0x1bf)](_0x5ecc29);for(const _0x5653b1 of this[_0x5c135(0x1b5)][_0x5c135(0x250)]())_0x5653b1[_0x5c135(0x1c1)][_0x5c135(0x1fc)]();super[_0x5c135(0x1fc)](),this[_0x5c135(0x1af)]&&clearInterval(this[_0x5c135(0x1af)]);}}function _0x5713(){const _0x5f264b=['isOn','_destroyController','isInContent','mainView','discardAllSuggestions','399656pDuhep','requires','type','innerView','some','_addUIComponentsToFactory','SuggestionThreadView','init','CommentsRepository','isPremiumPlugin','comments.maxCommentsWhenCollapsed','descriptionFactory','keys','previewFinalContent','plugins','TrackChangesUI','28AlfAnl','trackChangesLicenseKeyEvaluationLimit','trackChanges.disableComments','get','trackChangesLicenseKeyDomainLimit','_updateController','execute','previous','addMany','focus','length','source','usageLimit','78294AInGdh','trackChanges','fire','has','comments.editorConfig','activeMarkers','componentFactory','isDirty','comments.maxThreadTotalWeight','trackChanges.SuggestionThreadView','descriptionParts','27epwHRa','getMarkers','TrackChangesEditing','_handleControllerBuffer','trackChangesLicenseKeyInvalid','items','delegate','commentsListView','trackChanges.SuggestionView','change:activeAnnotations','model','_bindAnnotationToEditors','domainLimit','trackChangesLicenseKeyExpired','evaluationLimit','getAnnotationForSuggestion','isOfficialPlugin','destroy','view','addComment','locale','define','commands','registerAnnotation','CommentsUI','addSourceCollector','push','_createMenuBarMenu','activeAnnotations','Annotations','getByInnerView','Accept\x20all\x20selected\x20suggestions','reduce','CommentView','suggestion-','lowest','EditorAnnotations','discardButton','Discard\x20all\x20suggestions','createAnnotation','_unbindEditors','140QcDzwi','menu','change:previous','_viewToController','refreshSelectedViews','Accept\x20all\x20suggestions','getRanges','comments','menuitem','config','Track\x20changes','isMultiRange','trackChangesLicenseKeyTrialLimit','_initializeController','featureNotAllowed','size','editing','_showLicenseError','toMany','separator','acceptSelectedSuggestions','getSuggestion','commandName','licenseKey','trialLimit','_suggestionToController','createCommentThreadController','30732OYovVI','clear','button','Discard\x20all\x20selected\x20suggestions','trackChangesLicenseKeyNotAllowed','comments.maxCommentCharsWhenCollapsed','buttonView','TrackChangesPreview','menuBar:trackChanges','isEnabled','unbind','remove','arrowView','invalid','actionView','getAllAdjacentSuggestions','Preview\x20final\x20content','194013cKYQNV','224642IGmzVB','trackChangesLicenseKeyValid','2791941NIMrFP','TrackChanges','value','hasSuggestion','discardSelectedSuggestions','_createToolbarButton','add','delete','suggestionChanged','suggestionLoaded','_refreshActiveMarkers','listenTo','trackChangesLicenseKeyUsageLimit','values','acceptAllSuggestions','1857024JFSTYr','SuggestionView','set','_handleSuggestionControllerDelayed','pluginName','panelView','commentThread','_disableComments','filter','getMarkerNames','from','head','getSuggestionForAnnotation','menuitemcheckbox','getFirstRange','45ZbHhsx','_licenseKeyCheckInterval','escape','stopListening','bind','expired','acceptButton','_annotationViews','switchbutton','createAnnotationView','getJoined','getDescriptions','suggestionUnloaded','suggestionView','children','editor'];_0x5713=function(){return _0x5f264b;};return _0x5713();}function ke(_0x5b508f){const _0xb80dd5=_0x1c29fd;return _0xb80dd5(0x1f5)in _0x5b508f;}
|
|
23
|
+
const _0x37919e=_0x480d;function _0x2365(){const _0xad9cbb=['Preview\x20final\x20content','SuggestionView','_handleControllerBuffer','trialLimit','commentThread','_initializeController','items','1802lYZOUY','TrackChangesUI','9243LexAfm','size','trackChanges','define','comments.maxCommentCharsWhenCollapsed','activeAnnotations','isMultiRange','filter','domainLimit','SuggestionThreadView','discardSelectedSuggestions','_showLicenseError','source','acceptAllSuggestions','plugins','value','suggestion-','length','mainView','clear','addMany','_addUIComponentsToFactory','getSuggestionForAnnotation','suggestionChanged','view','menuitemcheckbox','isPremiumPlugin','34985CMhtyp','CommentsRepository','createAnnotation','isOfficialPlugin','isDirty','1540HJJXiB','createCommentThreadController','getDescriptions','trackChangesLicenseKeyNotAllowed','add','change:previous','suggestionLoaded','trackChangesLicenseKeyExpired','3119823KubIYF','separator','featureNotAllowed','activeMarkers','previewFinalContent','usageLimit','_createMenuBarMenu','change:activeAnnotations','head','_suggestionToController','addComment','menu','remove','delegate','Accept\x20all\x20selected\x20suggestions','TrackChangesEditing','refreshSelectedViews','trackChanges.SuggestionThreadView','getAnnotationForSuggestion','innerView','getAllAdjacentSuggestions','escape','comments.maxThreadTotalWeight','commentsListView','3739584UKbVYf','getByInnerView','getMarkerNames','from','previous','button','execute','114iNDGAB','editor','getRanges','_licenseKeyCheckInterval','CommentView','focus','editing','2350004gbpgBv','locale','init','values','descriptionParts','Discard\x20all\x20selected\x20suggestions','comments.maxCommentsWhenCollapsed','some','commandName','acceptSelectedSuggestions','_bindAnnotationToEditors','_annotationViews','buttonView','arrowView','descriptionFactory','type','Accept\x20all\x20suggestions','Discard\x20all\x20suggestions','config','discardAllSuggestions','bind','Track\x20changes','_destroyController','discardButton','acceptButton','model','keys','EditorAnnotations','registerAnnotation','addSourceCollector','licenseKey','menuitem','createAnnotationView','213769mixRLK','trackChangesLicenseKeyTrialLimit','lowest','trackChanges.SuggestionView','switchbutton','trackChangesLicenseKeyEvaluationLimit','isOn','delete','_updateController','TrackChangesPreview','CommentsUI','pluginName','trackChangesLicenseKeyInvalid','hasSuggestion','trackChangesLicenseKeyUsageLimit','_createToolbarButton','stopListening','_unbindEditors','destroy','comments','isEnabled','TrackChanges','evaluationLimit','trackChangesLicenseKeyValid','unbind','comments.editorConfig','requires','getJoined','get','suggestionView','children','_viewToController','panelView','invalid','toMany','_handleSuggestionControllerDelayed','suggestionUnloaded','menuBar:trackChanges','isInContent','listenTo','_disableComments','has','_refreshActiveMarkers','Annotations','getMarkers','getFirstRange','push','expired','actionView','trackChanges.disableComments','getSuggestion','componentFactory','set','12gJfSub','reduce','fire','commands','trackChangesLicenseKeyDomainLimit'];_0x2365=function(){return _0xad9cbb;};return _0x2365();}function _0x480d(_0x49b4f1,_0x26eaea){const _0x23650e=_0x2365();return _0x480d=function(_0x480da8,_0x5217ba){_0x480da8=_0x480da8-0x10b;let _0x3ea5c5=_0x23650e[_0x480da8];return _0x3ea5c5;},_0x480d(_0x49b4f1,_0x26eaea);}(function(_0xbb7650,_0x418c32){const _0x45a9fc=_0x480d,_0x28dc68=_0xbb7650();while(!![]){try{const _0x11a757=-parseInt(_0x45a9fc(0x1a6))/0x1+parseInt(_0x45a9fc(0x135))/0x2*(parseInt(_0x45a9fc(0x129))/0x3)+parseInt(_0x45a9fc(0x185))/0x4+-parseInt(_0x45a9fc(0x152))/0x5*(-parseInt(_0x45a9fc(0x17e))/0x6)+parseInt(_0x45a9fc(0x15f))/0x7+-parseInt(_0x45a9fc(0x177))/0x8+-parseInt(_0x45a9fc(0x137))/0x9*(parseInt(_0x45a9fc(0x157))/0xa);if(_0x11a757===_0x418c32)break;else _0x28dc68['push'](_0x28dc68['shift']());}catch(_0x49fa05){_0x28dc68['push'](_0x28dc68['shift']());}}}(_0x2365,0x50a7a));import{Plugin as _0x28f38c}from'ckeditor5/src/core.js';import{Collection as _0x5403c}from'ckeditor5/src/utils.js';import{IconTrackChanges as _0x3c1645}from'ckeditor5/src/icons.js';import{addListToDropdown as _0x529d37,createDropdown as _0x11aa66,ListSeparatorView as _0x22ca75,MenuBarMenuView as _0x320577,MenuBarMenuListView as _0x247245,MenuBarMenuListItemView as _0xbf1903,MenuBarMenuListItemButtonView as _0x9126fb,SplitButtonView as _0xd64dfa,UIModel as _0x5970f2}from'ckeditor5/src/ui.js';import{Users as _0x5d2951,getDateTimeFormatter as _0x31ec62,getAllMarkersDomElementsSorted as _0x52fca5}from'ckeditor5-collaboration/src/collaboration-core.js';import{TrackChangesEditing as _0x1e3d61}from'./trackchangesediting.js';import{SuggestionController as _0x56ac70}from'./ui/suggestioncontroller.js';import{SuggestionThreadView as _0xbed427}from'./ui/view/suggestionthreadview.js';import{SuggestionView as _0x1b5431}from'./ui/view/suggestionview.js';import{getTranslation as _0x4ec2cb}from'./utils/common-translations.js';export class TrackChangesUI extends _0x28f38c{[_0x37919e(0x1a3)];[_0x37919e(0x181)];[_0x37919e(0x168)];[_0x37919e(0x113)];[_0x37919e(0x190)];[_0x37919e(0x130)];[_0x37919e(0x11c)];static get[_0x37919e(0x10e)](){const _0x10b421=_0x37919e;return[_0x1e3d61,_0x5d2951,_0x10b421(0x153),_0x10b421(0x11f),_0x10b421(0x1a0)];}static get[_0x37919e(0x1b1)](){const _0x2375f6=_0x37919e;return _0x2375f6(0x136);}static get[_0x37919e(0x155)](){return!0x0;}static get[_0x37919e(0x151)](){return!0x0;}constructor(_0x4b2322){const _0x38f9b6=_0x37919e;super(_0x4b2322),this[_0x38f9b6(0x168)]=new Map(),this[_0x38f9b6(0x113)]=new Map(),this[_0x38f9b6(0x190)]=new Map(),this[_0x38f9b6(0x130)]=new Map();const _0x5ec023=this[_0x38f9b6(0x17f)][_0x38f9b6(0x197)];_0x5ec023[_0x38f9b6(0x13a)](_0x38f9b6(0x170),_0xbed427),_0x5ec023[_0x38f9b6(0x13a)](_0x38f9b6(0x1a9),_0x1b5431),_0x5ec023[_0x38f9b6(0x13a)](_0x38f9b6(0x125),!0x1),this[_0x38f9b6(0x11c)]=_0x5ec023[_0x38f9b6(0x110)](_0x38f9b6(0x125));}[_0x37919e(0x117)](_0xec3581,_0x200892){const _0x9d58d1=_0x37919e;0x0===this[_0x9d58d1(0x130)][_0x9d58d1(0x138)]&&setTimeout(()=>{const _0x1ccfe6=_0x9d58d1;for(const [_0x39519a,_0x449667]of this[_0x1ccfe6(0x130)]){const _0x5ebfb7=this[_0x1ccfe6(0x168)][_0x1ccfe6(0x11d)](_0x39519a);_0x5ebfb7||_0x449667?_0x5ebfb7&&_0x449667&&this[_0x1ccfe6(0x19b)](_0x39519a):this[_0x1ccfe6(0x133)](_0x39519a);}this[_0x1ccfe6(0x130)][_0x1ccfe6(0x14a)](),this[_0x1ccfe6(0x17f)][_0x1ccfe6(0x145)][_0x1ccfe6(0x110)](_0x1ccfe6(0x1a0))[_0x1ccfe6(0x16f)](),this[_0x1ccfe6(0x11e)]();},0xa),this[_0x9d58d1(0x130)][_0x9d58d1(0x128)](_0xec3581,_0x200892);}[_0x37919e(0x187)](){const _0x2588da=_0x37919e,_0x9b2054=this[_0x2588da(0x17f)],_0xcd1c3=_0x9b2054[_0x2588da(0x145)][_0x2588da(0x110)](_0x2588da(0x16e)),_0x2a8bca=_0x9b2054[_0x2588da(0x145)][_0x2588da(0x110)](_0x2588da(0x11f)),_0x9ee1bd=_0x9b2054[_0x2588da(0x145)][_0x2588da(0x110)](_0x2588da(0x1a0)),_0x4a3188=_0x9b2054[_0x2588da(0x145)][_0x2588da(0x110)](_0x2588da(0x153));this[_0x2588da(0x14c)](),_0x9ee1bd[_0x2588da(0x1a2)](()=>{const _0x273bae=_0x2588da,_0x44c7e0=[];for(const [_0x3c060c,_0x51e5f8]of Array[_0x273bae(0x17a)](this[_0x273bae(0x168)])){const _0x392d10=_0x3c060c[_0x273bae(0x173)](),_0x2d4ccc=[];for(const _0x58158b of _0x392d10){if(!_0x58158b[_0x273bae(0x11a)])continue;if(_0x58158b[_0x273bae(0x13d)]){_0x2d4ccc[_0x273bae(0x122)](..._0x58158b[_0x273bae(0x180)]());continue;}const _0x304f92=_0x58158b[_0x273bae(0x121)]();if(_0x2d4ccc[_0x273bae(0x148)]>0x0){const _0x21fad6=_0x2d4ccc[0x0][_0x273bae(0x10f)](_0x304f92);if(_0x21fad6){_0x2d4ccc[0x0]=_0x21fad6;continue;}}_0x2d4ccc[_0x273bae(0x122)](_0x304f92);}_0x44c7e0[_0x273bae(0x122)]([_0x51e5f8[_0x273bae(0x14f)],_0x2d4ccc]);}return _0x44c7e0;}),this[_0x2588da(0x11b)](_0xcd1c3,_0x2588da(0x15d),(_0x5102bc,_0x26f2ca)=>{const _0x4d116d=_0x2588da;this[_0x4d116d(0x11b)](_0x26f2ca,_0x4d116d(0x15c),(_0x229d8d,_0xf60c6f,_0x2c9f39,_0x6d0dba)=>{const _0x3d4262=_0x4d116d;_0x26f2ca[_0x3d4262(0x11a)]&&(null==_0x2c9f39?(this[_0x3d4262(0x1ae)](_0x6d0dba[_0x3d4262(0x167)]),this[_0x3d4262(0x117)](_0x26f2ca,!0x1)):(this[_0x3d4262(0x1ae)](_0x2c9f39[_0x3d4262(0x167)]),null==_0x6d0dba&&this[_0x3d4262(0x117)](_0x26f2ca,!0x0)));}),null!==_0x26f2ca[_0x4d116d(0x17b)]?this[_0x4d116d(0x1ae)](_0x26f2ca[_0x4d116d(0x167)]):this[_0x4d116d(0x117)](_0x26f2ca,!0x1);}),this[_0x2588da(0x11b)](_0xcd1c3,_0x2588da(0x118),(_0x1f763c,_0x2515ef,_0x3fc8d0)=>{const _0x532f88=_0x2588da;this[_0x532f88(0x1b6)](_0x2515ef,_0x532f88(0x15c)),this[_0x532f88(0x130)][_0x532f88(0x1ad)](_0x2515ef),this[_0x532f88(0x168)][_0x532f88(0x11d)](_0x2515ef)&&this[_0x532f88(0x19b)](_0x2515ef),_0x3fc8d0&&this[_0x532f88(0x1ae)](_0x3fc8d0[_0x532f88(0x167)]);}),this[_0x2588da(0x11b)](_0xcd1c3,_0x2588da(0x14e),(_0x53ff7d,_0x3d6553)=>{const _0x7d7129=_0x2588da;this[_0x7d7129(0x1ae)](_0x3d6553);}),this[_0x2588da(0x11b)](_0x2a8bca,_0x2588da(0x166),()=>{const _0x8fdffa=_0x2588da;this[_0x8fdffa(0x11e)]();}),this[_0x2588da(0x11b)](_0x4a3188,_0x2588da(0x169),(_0x54795a,{threadId:_0x2f8ac8,isFromAdapter:_0x190912})=>{const _0x4c4e5f=_0x2588da;if(_0x190912||!_0xcd1c3[_0x4c4e5f(0x1b3)](_0x2f8ac8))return;const _0x249d1a=_0xcd1c3[_0x4c4e5f(0x126)](_0x2f8ac8);this[_0x4c4e5f(0x168)][_0x4c4e5f(0x110)](_0x249d1a)[_0x4c4e5f(0x14f)][_0x4c4e5f(0x176)][_0x4c4e5f(0x183)](-0x1);},{'priority':_0x2588da(0x1a8)}),this[_0x2588da(0x1a3)]=this[_0x2588da(0x17f)][_0x2588da(0x197)][_0x2588da(0x110)](_0x2588da(0x1a3));const _0x481fec=this[_0x2588da(0x17f)];this[_0x2588da(0x181)]=setInterval(()=>{const _0x14a2be=_0x2588da;let _0x2c7052;for(const _0x330db0 in _0x481fec){const _0x6e629f=_0x330db0,_0x21c77c=_0x481fec[_0x6e629f];if(_0x14a2be(0x10b)==_0x21c77c||_0x14a2be(0x1b2)==_0x21c77c||_0x14a2be(0x15e)==_0x21c77c||_0x14a2be(0x12d)==_0x21c77c||_0x14a2be(0x15a)==_0x21c77c||_0x14a2be(0x1ab)==_0x21c77c||_0x14a2be(0x1a7)==_0x21c77c||_0x14a2be(0x1b4)==_0x21c77c){delete _0x481fec[_0x6e629f],_0x2c7052=_0x21c77c,clearInterval(this[_0x14a2be(0x181)]),this[_0x14a2be(0x181)]=void 0x0;break;}}_0x14a2be(0x1b2)==_0x2c7052&&_0x481fec[_0x14a2be(0x142)](_0x14a2be(0x115)),_0x14a2be(0x15e)==_0x2c7052&&_0x481fec[_0x14a2be(0x142)](_0x14a2be(0x123)),_0x14a2be(0x12d)==_0x2c7052&&_0x481fec[_0x14a2be(0x142)](_0x14a2be(0x13f)),_0x14a2be(0x15a)==_0x2c7052&&_0x481fec[_0x14a2be(0x142)](_0x14a2be(0x161),_0x14a2be(0x1bb)),_0x14a2be(0x1ab)==_0x2c7052&&_0x481fec[_0x14a2be(0x142)](_0x14a2be(0x1bc)),_0x14a2be(0x1a7)==_0x2c7052&&_0x481fec[_0x14a2be(0x142)](_0x14a2be(0x131)),_0x14a2be(0x1b4)==_0x2c7052&&_0x481fec[_0x14a2be(0x142)](_0x14a2be(0x164));},0x3e8);}[_0x37919e(0x171)](_0x5dd70a){const _0x1ed29a=_0x37919e,_0x5ac61f=this[_0x1ed29a(0x168)][_0x1ed29a(0x110)](_0x5dd70a);if(!_0x5ac61f)return null;return this[_0x1ed29a(0x17f)][_0x1ed29a(0x145)][_0x1ed29a(0x110)](_0x1ed29a(0x11f))[_0x1ed29a(0x178)](_0x5ac61f[_0x1ed29a(0x14f)])||null;}[_0x37919e(0x14d)](_0x216a81){const _0x293b4f=_0x37919e,_0xc92890=this[_0x293b4f(0x113)][_0x293b4f(0x110)](_0x216a81[_0x293b4f(0x172)]);return _0xc92890?_0xc92890[_0x293b4f(0x19e)]:null;}[_0x37919e(0x11e)](){const _0xd924a4=_0x37919e,_0x584791=this[_0xd924a4(0x17f)][_0xd924a4(0x145)][_0xd924a4(0x110)](_0xd924a4(0x11f)),_0x1d2d73=this[_0xd924a4(0x17f)][_0xd924a4(0x145)][_0xd924a4(0x110)](_0xd924a4(0x16e)),_0x1d1686=Array[_0xd924a4(0x17a)](_0x584791[_0xd924a4(0x13c)],_0x5d7868=>_0x5d7868[_0xd924a4(0x172)])[_0xd924a4(0x13e)](_0x1caf62=>this[_0xd924a4(0x113)][_0xd924a4(0x11d)](_0x1caf62)),_0x475430=[];for(const _0x5750b0 of _0x1d1686){const _0x2ce759=this[_0xd924a4(0x113)][_0xd924a4(0x110)](_0x5750b0)[_0xd924a4(0x19e)][_0xd924a4(0x173)]();_0x475430[_0xd924a4(0x122)](..._0x2ce759[_0xd924a4(0x12a)]((_0x1e4c80,_0x1718e8)=>[..._0x1e4c80,..._0x1718e8[_0xd924a4(0x179)]()],[]));}_0x1d2d73[_0xd924a4(0x162)]=_0x475430;}[_0x37919e(0x14c)](){const _0x4739b6=_0x37919e,_0x100809=this[_0x4739b6(0x17f)],_0x396c9e=_0x100809[_0x4739b6(0x186)],_0x189c8f=_0x4ec2cb(_0x396c9e,_0x4739b6(0x19a)),_0x1ff7e6=new _0x5403c([{'type':_0x4739b6(0x1aa),'model':new _0x5970f2({'withText':!0x0,'isToggleable':!0x0,'label':_0x189c8f,'commandName':_0x4739b6(0x139),'role':_0x4739b6(0x150)})},{'type':_0x4739b6(0x160)},{'type':_0x4739b6(0x17c),'model':new _0x5970f2({'withText':!0x0,'label':_0x4ec2cb(_0x396c9e,_0x4739b6(0x195)),'commandName':_0x4739b6(0x144),'role':_0x4739b6(0x1a4)})},{'type':_0x4739b6(0x17c),'model':new _0x5970f2({'withText':!0x0,'label':_0x4ec2cb(_0x396c9e,_0x4739b6(0x16d)),'commandName':_0x4739b6(0x18e),'role':_0x4739b6(0x1a4)})},{'type':_0x4739b6(0x17c),'model':new _0x5970f2({'withText':!0x0,'label':_0x4ec2cb(_0x396c9e,_0x4739b6(0x196)),'commandName':_0x4739b6(0x198),'role':_0x4739b6(0x1a4)})},{'type':_0x4739b6(0x17c),'model':new _0x5970f2({'withText':!0x0,'label':_0x4ec2cb(_0x396c9e,_0x4739b6(0x18a)),'commandName':_0x4739b6(0x141),'role':_0x4739b6(0x1a4)})}]);_0x100809[_0x4739b6(0x145)][_0x4739b6(0x11d)](_0x4739b6(0x1af))&&_0x1ff7e6[_0x4739b6(0x14b)]([{'type':_0x4739b6(0x160)},{'type':_0x4739b6(0x17c),'model':new _0x5970f2({'withText':!0x0,'label':_0x4ec2cb(_0x396c9e,_0x4739b6(0x12e)),'commandName':_0x4739b6(0x163),'role':_0x4739b6(0x1a4)})}]);for(const _0x150fb7 of _0x1ff7e6)if(ke(_0x150fb7)){const _0x199959=_0x100809[_0x4739b6(0x12c)][_0x4739b6(0x110)](_0x150fb7[_0x4739b6(0x19e)][_0x4739b6(0x18d)]);_0x150fb7[_0x4739b6(0x19e)][_0x4739b6(0x199)](_0x4739b6(0x1ac),_0x4739b6(0x1ba))['to'](_0x199959,_0x4739b6(0x146),_0x4739b6(0x1ba));}_0x100809['ui'][_0x4739b6(0x127)][_0x4739b6(0x15b)](_0x4739b6(0x139),_0x3dda5e=>this[_0x4739b6(0x1b5)](_0x3dda5e,_0x1ff7e6,_0x189c8f)),_0x100809['ui'][_0x4739b6(0x127)][_0x4739b6(0x15b)](_0x4739b6(0x119),_0x585553=>this[_0x4739b6(0x165)](_0x585553,_0x1ff7e6,_0x189c8f));}[_0x37919e(0x1b5)](_0x50a07e,_0x5a9a2a,_0x504db8){const _0x590974=_0x37919e,_0x138be2=_0x11aa66(_0x50a07e,_0xd64dfa),_0x57d537=this[_0x590974(0x17f)][_0x590974(0x12c)][_0x590974(0x110)](_0x590974(0x139));_0x138be2[_0x590974(0x191)][_0x590974(0x128)]({'tooltip':_0x504db8,'label':_0x504db8,'icon':_0x3c1645}),_0x138be2[_0x590974(0x191)][_0x590974(0x199)](_0x590974(0x1ac))['to'](_0x57d537,_0x590974(0x146)),_0x138be2[_0x590974(0x191)]['on'](_0x590974(0x17d),()=>{const _0x13e39f=_0x590974;_0x57d537[_0x13e39f(0x17d)](),this[_0x13e39f(0x17f)][_0x13e39f(0x184)][_0x13e39f(0x14f)][_0x13e39f(0x183)]();}),_0x529d37(_0x138be2,_0x5a9a2a,{'role':_0x590974(0x16a)});const _0x60d356=[];for(const _0x25c8c2 of _0x5a9a2a)ke(_0x25c8c2)&&_0x60d356[_0x590974(0x122)](this[_0x590974(0x17f)][_0x590974(0x12c)][_0x590974(0x110)](_0x25c8c2[_0x590974(0x19e)][_0x590974(0x18d)]));const _0x226c51=_0x138be2[_0x590974(0x191)];return _0x226c51[_0x590974(0x124)][_0x590974(0x10c)](_0x590974(0x1ba)),_0x226c51[_0x590974(0x192)][_0x590974(0x10c)](_0x590974(0x1ba)),_0x226c51[_0x590974(0x124)][_0x590974(0x199)](_0x590974(0x1ba))['to'](_0x57d537,_0x590974(0x1ba)),_0x226c51[_0x590974(0x192)][_0x590974(0x199)](_0x590974(0x1ba))[_0x590974(0x116)](_0x60d356,_0x590974(0x1ba),(..._0xb29092)=>_0xb29092[_0x590974(0x18c)](_0x1b6037=>_0x1b6037)),_0x138be2['on'](_0x590974(0x17d),_0x30084a=>{const _0x36e5a4=_0x590974;this[_0x36e5a4(0x17f)][_0x36e5a4(0x17d)](_0x30084a[_0x36e5a4(0x143)][_0x36e5a4(0x18d)]),this[_0x36e5a4(0x17f)][_0x36e5a4(0x184)][_0x36e5a4(0x14f)][_0x36e5a4(0x183)]();}),_0x138be2;}[_0x37919e(0x165)](_0x5a4f30,_0x2876c3,_0x2e2d2c){const _0x44632d=_0x37919e,_0x3ebe7d=new _0x320577(_0x5a4f30),_0x449a43=this[_0x44632d(0x17f)][_0x44632d(0x12c)][_0x44632d(0x110)](_0x44632d(0x139));_0x3ebe7d[_0x44632d(0x191)][_0x44632d(0x128)]({'label':_0x2e2d2c,'icon':_0x3c1645});const _0x222fa7=new _0x247245(_0x5a4f30);for(const _0xd42509 of _0x2876c3){if(_0x44632d(0x160)==_0xd42509[_0x44632d(0x194)]){_0x222fa7[_0x44632d(0x134)][_0x44632d(0x15b)](new _0x22ca75(_0x5a4f30));continue;}const _0x53c35b=new _0xbf1903(_0x5a4f30,_0x3ebe7d),_0x5100f9=new _0x9126fb(_0x5a4f30),_0x2a194b=_0xd42509[_0x44632d(0x19e)];_0x5100f9[_0x44632d(0x199)](...Object[_0x44632d(0x19f)](_0x2a194b))['to'](_0x2a194b),_0x5100f9[_0x44632d(0x16c)](_0x44632d(0x17d))['to'](_0x3ebe7d),_0x5100f9['on'](_0x44632d(0x17d),()=>{const _0xc2caf0=_0x44632d;this[_0xc2caf0(0x17f)][_0xc2caf0(0x17d)](_0x2a194b[_0xc2caf0(0x18d)]),this[_0xc2caf0(0x17f)][_0xc2caf0(0x184)][_0xc2caf0(0x14f)][_0xc2caf0(0x183)]();}),_0x53c35b[_0x44632d(0x112)][_0x44632d(0x15b)](_0x5100f9),_0x222fa7[_0x44632d(0x134)][_0x44632d(0x15b)](_0x53c35b);}return _0x3ebe7d[_0x44632d(0x199)](_0x44632d(0x1ba))['to'](_0x449a43,_0x44632d(0x1ba)),_0x3ebe7d[_0x44632d(0x114)][_0x44632d(0x112)][_0x44632d(0x15b)](_0x222fa7),_0x3ebe7d;}[_0x37919e(0x133)](_0x2938b1){const _0x447dee=_0x37919e,_0x2faeca=this[_0x447dee(0x17f)],_0x442536=_0x2faeca[_0x447dee(0x197)],_0x4a1a89=_0x2faeca[_0x447dee(0x145)][_0x447dee(0x110)](_0x447dee(0x11f)),_0x19f72d=_0x2faeca[_0x447dee(0x145)][_0x447dee(0x110)](_0x447dee(0x153)),_0x4519ca=_0x2faeca[_0x447dee(0x145)][_0x447dee(0x110)](_0x447dee(0x1a0)),_0x578295=_0x2faeca[_0x447dee(0x145)][_0x447dee(0x110)](_0x5d2951)['me'],_0x2a2cc4=_0x442536[_0x447dee(0x110)](_0x447dee(0x139))[_0x447dee(0x140)],_0x3d92a6=_0x442536[_0x447dee(0x110)](_0x447dee(0x139))[_0x447dee(0x12f)],{CommentsListView:_0x3d8bac,CommentThreadInputView:_0x13c31f}=_0x2faeca[_0x447dee(0x145)][_0x447dee(0x110)](_0x447dee(0x1b0));let _0x224101,_0x6cfee4,_0x4832a8;this[_0x447dee(0x190)][_0x447dee(0x11d)](_0x2938b1['id'])?(_0x6cfee4=this[_0x447dee(0x190)][_0x447dee(0x110)](_0x2938b1['id']),_0x224101=_0x6cfee4[_0x447dee(0x149)]):(_0x224101=new _0x2a2cc4(_0x2faeca[_0x447dee(0x186)],_0x2938b1,_0x578295,{'disableComments':this[_0x447dee(0x11c)],'editorConfig':{..._0x442536[_0x447dee(0x110)](_0x447dee(0x10d)),'licenseKey':_0x442536[_0x447dee(0x110)](_0x447dee(0x1a3))},'maxCommentsWhenCollapsed':_0x442536[_0x447dee(0x110)](_0x447dee(0x18b)),'maxThreadTotalWeight':_0x442536[_0x447dee(0x110)](_0x447dee(0x175)),'maxCommentCharsWhenCollapsed':_0x442536[_0x447dee(0x110)](_0x447dee(0x13b)),'formatDateTime':_0x31ec62(_0x442536[_0x447dee(0x110)](_0x447dee(0x186)),_0x2faeca[_0x447dee(0x186)]),'CommentView':_0x442536[_0x447dee(0x110)](_0x447dee(0x1b9))[_0x447dee(0x182)],'CommentsListView':_0x3d8bac,'CommentThreadInputView':_0x13c31f,'SuggestionView':_0x3d92a6}),_0x224101[_0x447dee(0x111)][_0x447dee(0x19d)]['on'](_0x447dee(0x17d),()=>{const _0x1f19ec=_0x447dee;_0x2faeca[_0x1f19ec(0x184)][_0x1f19ec(0x14f)][_0x1f19ec(0x183)]();}),_0x224101[_0x447dee(0x111)][_0x447dee(0x19c)]['on'](_0x447dee(0x17d),()=>{const _0x280009=_0x447dee;_0x2faeca[_0x280009(0x184)][_0x280009(0x14f)][_0x280009(0x183)]();}),_0x6cfee4=_0x4a1a89[_0x447dee(0x1a5)](this[_0x447dee(0x17f)][_0x447dee(0x186)],_0x224101),_0x6cfee4[_0x447dee(0x199)](_0x447dee(0x156))['to'](_0x224101,_0x447dee(0x156)),_0x6cfee4[_0x447dee(0x199)](_0x447dee(0x148))['to'](_0x224101),_0x6cfee4[_0x447dee(0x199)](_0x447dee(0x194))['to'](_0x224101,_0x447dee(0x194),_0x331f34=>_0x447dee(0x147)+_0x331f34),_0x224101['on'](_0x447dee(0x174),()=>{const _0x4c6012=_0x447dee;_0x4832a8[_0x4c6012(0x12b)](_0x4c6012(0x174));}),this[_0x447dee(0x190)][_0x447dee(0x128)](_0x2938b1['id'],_0x6cfee4));const _0x5222b6=_0x19f72d[_0x447dee(0x158)](_0x2938b1[_0x447dee(0x132)],_0x224101),_0x20385f=new _0x56ac70(_0x2faeca,_0x2938b1,_0x224101,_0x5222b6),_0x57b5d1=_0x2938b1[_0x447dee(0x173)]()[_0x447dee(0x13e)](_0x3e7bee=>_0x3e7bee[_0x447dee(0x11a)]);_0x224101[_0x447dee(0x189)]=_0x2faeca[_0x447dee(0x145)][_0x447dee(0x110)](_0x447dee(0x16e))[_0x447dee(0x193)][_0x447dee(0x159)](_0x57b5d1),this[_0x447dee(0x168)][_0x447dee(0x128)](_0x2938b1,_0x20385f),this[_0x447dee(0x113)][_0x447dee(0x128)](_0x224101,_0x20385f);const _0xad319d=()=>{const _0x478306=_0x447dee,_0x4ffa65=[],_0x200fd9=_0x2938b1[_0x478306(0x173)]()[_0x478306(0x13e)](_0x33e38f=>_0x33e38f[_0x478306(0x11a)]);for(const _0x5a9ee8 of _0x200fd9)_0x4ffa65[_0x478306(0x122)](..._0x5a9ee8[_0x478306(0x120)]());return _0x52fca5(_0x2faeca[_0x478306(0x184)],_0x4ffa65);};_0x4832a8=_0x4a1a89[_0x447dee(0x154)]({'view':_0x6cfee4,'target':_0xad319d,'type':()=>_0x447dee(0x147)+_0x20385f[_0x447dee(0x14f)][_0x447dee(0x194)],'isVisible':!!_0xad319d()}),_0x19f72d[_0x447dee(0x18f)](_0x224101,_0x4832a8),_0x4a1a89[_0x447dee(0x15b)](_0x4832a8),_0x4519ca[_0x447dee(0x1a1)](_0x4832a8);}[_0x37919e(0x19b)](_0x408823){const _0x2f2d3c=_0x37919e,_0x585a1e=this[_0x2f2d3c(0x17f)][_0x2f2d3c(0x145)][_0x2f2d3c(0x110)](_0x2f2d3c(0x153)),_0x5c9cbd=this[_0x2f2d3c(0x17f)][_0x2f2d3c(0x145)][_0x2f2d3c(0x110)](_0x2f2d3c(0x11f)),_0x2f4822=this[_0x2f2d3c(0x168)][_0x2f2d3c(0x110)](_0x408823),_0x28f681=_0x2f4822[_0x2f2d3c(0x14f)],_0x431a36=_0x5c9cbd[_0x2f2d3c(0x178)](_0x28f681);_0x585a1e[_0x2f2d3c(0x1b7)](_0x28f681),_0x431a36&&_0x5c9cbd[_0x2f2d3c(0x16b)](_0x431a36),this[_0x2f2d3c(0x168)][_0x2f2d3c(0x1ad)](_0x408823),this[_0x2f2d3c(0x113)][_0x2f2d3c(0x1ad)](_0x28f681),_0x2f4822[_0x2f2d3c(0x1b8)]();}[_0x37919e(0x1ae)](_0x378df2){const _0x9c926b=_0x37919e;if(!_0x378df2[_0x9c926b(0x11a)]||!this[_0x9c926b(0x168)][_0x9c926b(0x11d)](_0x378df2))return;const _0x5da452=this[_0x9c926b(0x17f)][_0x9c926b(0x145)][_0x9c926b(0x110)](_0x9c926b(0x16e)),_0x504ae7=this[_0x9c926b(0x168)][_0x9c926b(0x110)](_0x378df2),_0x70dead=_0x378df2[_0x9c926b(0x173)]();_0x504ae7[_0x9c926b(0x14f)][_0x9c926b(0x189)]=_0x5da452[_0x9c926b(0x193)][_0x9c926b(0x159)](_0x70dead);}[_0x37919e(0x1b8)](){const _0x38b42f=_0x37919e;for(const _0x2eab4b of this[_0x38b42f(0x168)][_0x38b42f(0x19f)]())this[_0x38b42f(0x19b)](_0x2eab4b);for(const _0xd911bc of this[_0x38b42f(0x190)][_0x38b42f(0x188)]())_0xd911bc[_0x38b42f(0x149)][_0x38b42f(0x1b8)]();super[_0x38b42f(0x1b8)](),this[_0x38b42f(0x181)]&&clearInterval(this[_0x38b42f(0x181)]);}}function ke(_0x45c0ce){const _0x5d1f6a=_0x37919e;return _0x5d1f6a(0x19e)in _0x45c0ce;}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x31ca7b=_0x20cb;function _0x20cb(_0x90a0cb,_0x57e002){const _0x216647=_0x2166();return _0x20cb=function(_0x20cbea,_0x49f101){_0x20cbea=_0x20cbea-0xa7;let _0x463236=_0x216647[_0x20cbea];return _0x463236;},_0x20cb(_0x90a0cb,_0x57e002);}(function(_0x1fd300,_0x3aea49){const _0x4554dc=_0x20cb,_0x35ed4b=_0x1fd300();while(!![]){try{const _0x403907=-parseInt(_0x4554dc(0xc7))/0x1*(-parseInt(_0x4554dc(0xaf))/0x2)+-parseInt(_0x4554dc(0xb4))/0x3*(parseInt(_0x4554dc(0xbe))/0x4)+parseInt(_0x4554dc(0xcc))/0x5+-parseInt(_0x4554dc(0xc8))/0x6*(parseInt(_0x4554dc(0xcd))/0x7)+-parseInt(_0x4554dc(0xb9))/0x8*(-parseInt(_0x4554dc(0xba))/0x9)+parseInt(_0x4554dc(0xcb))/0xa*(parseInt(_0x4554dc(0xcf))/0xb)+parseInt(_0x4554dc(0xd3))/0xc*(-parseInt(_0x4554dc(0xb7))/0xd);if(_0x403907===_0x3aea49)break;else _0x35ed4b['push'](_0x35ed4b['shift']());}catch(_0x15874c){_0x35ed4b['push'](_0x35ed4b['shift']());}}}(_0x2166,0xf386b));import{ObservableMixin as _0x561b3f}from'ckeditor5/src/utils.js';function _0x2166(){const _0x52d230=['_removePendingAction','destroy','1200574aWtSCt','discardSuggestion','change:isDirty','canAccept','_editor','1368507TjqeKr','PendingActions','canDiscard','13603499qkSVGV','PENDING_ACTION_SUGGESTION','72khITBh','1915686DCokwC','locale','add','model','12iMkMJb','acceptSuggestion','remove','_acceptCommand','commentThreadController','_setPendingAction','bind','canEditAt','unbind','3tccWHY','6lbGhLQ','view','stopListening','6190veZNSb','7690095wiJmFy','10583391OsrmkK','isDirty','12727rWLDYa','_discardCommand','plugins','commands','24cSNXnf','listenTo','isEnabled','get','_pendingAction','execute','getRanges'];_0x2166=function(){return _0x52d230;};return _0x2166();}import{getTranslation as _0x3cd164}from'../utils/common-translations.js';export class SuggestionController extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x561b3f(){[_0x31ca7b(0xbd)];[_0x31ca7b(0xc9)];[_0x31ca7b(0xc2)];[_0x31ca7b(0xb3)];[_0x31ca7b(0xc1)];[_0x31ca7b(0xd0)];[_0x31ca7b(0xaa)];constructor(_0x74a198,_0x285daf,_0x15ce99,_0x29bdd8){const _0x149b78=_0x31ca7b;super(),this[_0x149b78(0xbd)]=_0x285daf,this[_0x149b78(0xc9)]=_0x15ce99,this[_0x149b78(0xc2)]=_0x29bdd8,this[_0x149b78(0xb3)]=_0x74a198,this[_0x149b78(0xc1)]=_0x74a198[_0x149b78(0xd2)][_0x149b78(0xa9)](_0x149b78(0xbf)),this[_0x149b78(0xd0)]=_0x74a198[_0x149b78(0xd2)][_0x149b78(0xa9)](_0x149b78(0xb0)),this[_0x149b78(0xc9)][_0x149b78(0xc4)](_0x149b78(0xa8))['to'](this[_0x149b78(0xc1)],this[_0x149b78(0xd0)],(_0x27cf05,_0x71d2cc)=>_0x27cf05||_0x71d2cc),this[_0x149b78(0xc9)][_0x149b78(0xc4)](_0x149b78(0xb2))['to'](this[_0x149b78(0xc1)],_0x149b78(0xa8),_0x59c13a=>_0x59c13a&&this[_0x149b78(0xb3)][_0x149b78(0xbd)][_0x149b78(0xc5)](_0x285daf[_0x149b78(0xac)]())),this[_0x149b78(0xc9)][_0x149b78(0xc4)](_0x149b78(0xb6))['to'](this[_0x149b78(0xd0)],_0x149b78(0xa8),_0x5e5a17=>_0x5e5a17&&this[_0x149b78(0xb3)][_0x149b78(0xbd)][_0x149b78(0xc5)](_0x285daf[_0x149b78(0xac)]())),this[_0x149b78(0xaa)]=null,_0x15ce99[_0x149b78(0xce)]&&this[_0x149b78(0xc3)](),this[_0x149b78(0xa7)](_0x15ce99,_0x149b78(0xbf),()=>this[_0x149b78(0xbf)]()),this[_0x149b78(0xa7)](_0x15ce99,_0x149b78(0xb0),()=>this[_0x149b78(0xb0)]()),this[_0x149b78(0xa7)](_0x15ce99,_0x149b78(0xb1),()=>{const _0x335117=_0x149b78;_0x15ce99[_0x335117(0xce)]?this[_0x335117(0xc3)]():this[_0x335117(0xad)]();});}[_0x31ca7b(0xbf)](){const _0x5149af=_0x31ca7b;this[_0x5149af(0xc1)][_0x5149af(0xab)](this[_0x5149af(0xbd)]['id']);}[_0x31ca7b(0xb0)](){const _0x3fea3a=_0x31ca7b;this[_0x3fea3a(0xd0)][_0x3fea3a(0xab)](this[_0x3fea3a(0xbd)]['id']);}[_0x31ca7b(0xae)](){const _0x4c66f9=_0x31ca7b;this[_0x4c66f9(0xc9)][_0x4c66f9(0xc6)](_0x4c66f9(0xa8)),this[_0x4c66f9(0xc9)][_0x4c66f9(0xc6)](_0x4c66f9(0xb2)),this[_0x4c66f9(0xc9)][_0x4c66f9(0xc6)](_0x4c66f9(0xb6)),this[_0x4c66f9(0xca)](),this[_0x4c66f9(0xc2)][_0x4c66f9(0xae)](),this[_0x4c66f9(0xaa)]&&this[_0x4c66f9(0xad)]();}[_0x31ca7b(0xc3)](){const _0x5b88a0=_0x31ca7b,_0xb0d691=_0x3cd164(this[_0x5b88a0(0xb3)][_0x5b88a0(0xbb)],_0x5b88a0(0xb8));this[_0x5b88a0(0xaa)]=this[_0x5b88a0(0xb3)][_0x5b88a0(0xd1)][_0x5b88a0(0xa9)](_0x5b88a0(0xb5))[_0x5b88a0(0xbc)](_0xb0d691);}[_0x31ca7b(0xad)](){const _0x2dcf68=_0x31ca7b;null!==this[_0x2dcf68(0xaa)]&&this[_0x2dcf68(0xb3)][_0x2dcf68(0xd1)][_0x2dcf68(0xa9)](_0x2dcf68(0xb5))[_0x2dcf68(0xc0)](this[_0x2dcf68(0xaa)]),this[_0x2dcf68(0xaa)]=null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2c4364=_0xbaef;(function(_0x53ddf2,_0x4a9526){const _0x40b09e=_0xbaef,_0x6bb17d=_0x53ddf2();while(!![]){try{const _0x407571=-parseInt(_0x40b09e(0xea))/0x1*(parseInt(_0x40b09e(0xd0))/0x2)+parseInt(_0x40b09e(0xe1))/0x3*(-parseInt(_0x40b09e(0xdd))/0x4)+-parseInt(_0x40b09e(0xca))/0x5*(parseInt(_0x40b09e(0xc2))/0x6)+-parseInt(_0x40b09e(0xee))/0x7*(-parseInt(_0x40b09e(0xf4))/0x8)+-parseInt(_0x40b09e(0xc0))/0x9+parseInt(_0x40b09e(0xb6))/0xa*(-parseInt(_0x40b09e(0xcd))/0xb)+parseInt(_0x40b09e(0xbf))/0xc;if(_0x407571===_0x4a9526)break;else _0x6bb17d['push'](_0x6bb17d['shift']());}catch(_0x241637){_0x6bb17d['push'](_0x6bb17d['shift']());}}}(_0x31af,0x7977c));import{FocusCycler as _0x24b87f,View as _0x5214e2,ViewCollection as _0x4ae196}from'ckeditor5/src/ui.js';import{FocusTracker as _0x799c90,KeystrokeHandler as _0x32bda2}from'ckeditor5/src/utils.js';function _0xbaef(_0xa745e9,_0x5220f6){const _0x31af99=_0x31af();return _0xbaef=function(_0xbaefff,_0x45863f){_0xbaefff=_0xbaefff-0xb4;let _0x2be21f=_0x31af99[_0xbaefff];return _0x2be21f;},_0xbaef(_0xa745e9,_0x5220f6);}import{AriaDescriptionView as _0x2d3c97,setupThreadKeyboardNavigation as _0x1b982c}from'ckeditor5-collaboration/src/collaboration-core.js';import{getTranslation as _0x41f773}from'../../utils/common-translations.js';function _0x31af(){const _0x416e5e=['isActive','map','set','ariaDescriptionView','hasDirtyComment','cancel','_createCommentViews','1244zKbNVN','commentInputView','disableComments','keystrokes','2229auGkBE','ariaLabel','target','value','SUGGESTION_THREAD_DESCRIPTION','textContent','descriptionParts','delegate','commentThreadInputView','2gUCxTL','updateComment','setData','commentsListView','178955TAwTiQ','canAccept','fire','_localUser','bind','isReadOnly','184JViVOI','length','formatDateTime','element','SUGGESTION_THREAD_ARIA_LABEL','parseFromString','_config','destroy','isEnabled','addComment','render','submit','removeComment','287020wnSYyI','tab','name','focusables','text/html','focusTracker','_model','assign','commentThread','31235544KLKWdi','5190462WkwxDU','editor','12BIguov','showInput','focusCycler','body','author','focus','authoredAt','isDirty','2172155sbqkjs','content','shift+tab','264Iienpi','join','disabledSubmit','327924TrBrLB','canDiscard','CommentView','_createCommentThreadInputView','editorConfig','locale'];_0x31af=function(){return _0x416e5e;};return _0x31af();}import{renderDescription as _0x19b693}from'../../utils/utils.js';export class BaseSuggestionThreadView extends _0x5214e2{[_0x2c4364(0xed)];[_0x2c4364(0xe9)];[_0x2c4364(0xd9)];[_0x2c4364(0xb9)];[_0x2c4364(0xbb)];[_0x2c4364(0xe0)];[_0x2c4364(0xc4)];[_0x2c4364(0xbc)];[_0x2c4364(0xf1)];[_0x2c4364(0xfa)];constructor(_0x5a1a53,_0x3d9f71,_0x45d821,_0x2fbef5){const _0x57ec4f=_0x2c4364;super(_0x5a1a53),this[_0x57ec4f(0xed)]=null,this[_0x57ec4f(0xe9)]=null,this[_0x57ec4f(0xd9)]=new _0x2d3c97(_0x5a1a53,_0x41f773(_0x5a1a53,_0x57ec4f(0xe5))),this[_0x57ec4f(0xd8)](_0x57ec4f(0xd6),!0x1),this[_0x57ec4f(0xd8)](_0x57ec4f(0xc8),_0x3d9f71[_0x57ec4f(0xc8)]),this[_0x57ec4f(0xf2)](_0x57ec4f(0xc8))['to'](_0x3d9f71),this[_0x57ec4f(0xd8)](_0x57ec4f(0xe7),[]),this[_0x57ec4f(0xd8)](_0x57ec4f(0xc9),!0x1),this[_0x57ec4f(0xd8)](_0x57ec4f(0xfc),!0x1),this[_0x57ec4f(0xd8)](_0x57ec4f(0xef),!0x1),this[_0x57ec4f(0xd8)](_0x57ec4f(0xd1),!0x1),this[_0x57ec4f(0xf2)](_0x57ec4f(0xe2))['to'](this,_0x57ec4f(0xf5),_0x3d9f71,_0x57ec4f(0xc8),this,_0x57ec4f(0xe7),(_0x253aba,_0x1f3987,_0x40db09)=>{const _0x292ece=_0x57ec4f,_0x134e7b=_0x40db09[_0x292ece(0xd7)](_0x3d964c=>_0x19b693(_0x3d964c[_0x292ece(0xcb)]))[_0x292ece(0xce)]('.\x20')+'.';return _0x41f773(this[_0x292ece(0xd5)],_0x292ece(0xf8),[_0x253aba-0x1,_0x3d9f71[_0x292ece(0xc6)][_0x292ece(0xb8)],_0x1f3987?_0x2fbef5[_0x292ece(0xf6)](_0x1f3987):'',new DOMParser()[_0x292ece(0xf9)](_0x134e7b,_0x292ece(0xba))[_0x292ece(0xc5)][_0x292ece(0xe6)]]);}),this[_0x57ec4f(0xb9)]=new _0x4ae196(),this[_0x57ec4f(0xbb)]=new _0x799c90(),this[_0x57ec4f(0xe0)]=new _0x32bda2(),this[_0x57ec4f(0xc4)]=new _0x24b87f({'focusables':this[_0x57ec4f(0xb9)],'focusTracker':this[_0x57ec4f(0xbb)],'keystrokeHandler':this[_0x57ec4f(0xe0)],'keystrokeHandlerOptions':{'filter':_0xaf5b7c=>_0xaf5b7c[_0x57ec4f(0xe3)]!==this[_0x57ec4f(0xf7)]},'actions':{'focusPrevious':_0x57ec4f(0xcc),'focusNext':_0x57ec4f(0xb7)}}),this[_0x57ec4f(0xbc)]=_0x3d9f71,this[_0x57ec4f(0xf1)]=_0x45d821,this[_0x57ec4f(0xfa)]=_0x2fbef5,_0x2fbef5[_0x57ec4f(0xdf)]?this[_0x57ec4f(0xd8)](_0x57ec4f(0xf5),0x1):this[_0x57ec4f(0xdc)]();}[_0x2c4364(0xfe)](){const _0x403e1d=_0x2c4364;super[_0x403e1d(0xfe)](),_0x1b982c(this,this[_0x403e1d(0xb9)]);}[_0x2c4364(0xc7)](){const _0x355368=_0x2c4364;this[_0x355368(0xf7)][_0x355368(0xc7)]();}[_0x2c4364(0xfb)](){const _0x5018fc=_0x2c4364;this[_0x5018fc(0xed)]&&this[_0x5018fc(0xed)][_0x5018fc(0xfb)](),this[_0x5018fc(0xe9)]&&this[_0x5018fc(0xe9)][_0x5018fc(0xfb)](),super[_0x5018fc(0xfb)]();}[_0x2c4364(0xdc)](){const _0x32cbf6=_0x2c4364,{CommentsListView:_0x3a4eaa}=this[_0x32cbf6(0xfa)];this[_0x32cbf6(0xed)]=new _0x3a4eaa(this[_0x32cbf6(0xd5)],this[_0x32cbf6(0xbc)][_0x32cbf6(0xbe)],Object[_0x32cbf6(0xbd)]({'CommentView':this[_0x32cbf6(0xfa)][_0x32cbf6(0xd2)]},this[_0x32cbf6(0xfa)])),this[_0x32cbf6(0xed)][_0x32cbf6(0xe8)](_0x32cbf6(0xb5))['to'](this),this[_0x32cbf6(0xed)][_0x32cbf6(0xe8)](_0x32cbf6(0xeb))['to'](this),this[_0x32cbf6(0xed)][_0x32cbf6(0xf2)](_0x32cbf6(0xd6))['to'](this),this[_0x32cbf6(0xd8)](_0x32cbf6(0xf5),this[_0x32cbf6(0xed)][_0x32cbf6(0xf5)]+0x1),this[_0x32cbf6(0xf2)](_0x32cbf6(0xf5))['to'](this[_0x32cbf6(0xed)],_0x32cbf6(0xf5),_0x864608=>_0x864608+0x1),this[_0x32cbf6(0xe9)]=this[_0x32cbf6(0xd3)](),this['on'](_0x32cbf6(0xb5),()=>this[_0x32cbf6(0xc7)]()),this[_0x32cbf6(0xf2)](_0x32cbf6(0xc9))['to'](this[_0x32cbf6(0xed)],_0x32cbf6(0xda),this[_0x32cbf6(0xe9)][_0x32cbf6(0xde)],_0x32cbf6(0xe4),(_0x321c9a,_0xf45ffa)=>_0x321c9a||!!_0xf45ffa);}[_0x2c4364(0xd3)](){const _0x3e1be6=_0x2c4364,{CommentThreadInputView:_0x1ffafb}=this[_0x3e1be6(0xfa)],_0x306e55=new _0x1ffafb(this[_0x3e1be6(0xd5)],this[_0x3e1be6(0xf1)],this[_0x3e1be6(0xfa)][_0x3e1be6(0xd4)]),_0x24629e=_0x306e55[_0x3e1be6(0xde)];return _0x306e55[_0x3e1be6(0xf2)](_0x3e1be6(0xc3))['to'](this,_0x3e1be6(0xd6),this[_0x3e1be6(0xbc)][_0x3e1be6(0xbe)],_0x3e1be6(0xf3),_0x24629e,_0x3e1be6(0xe4),(_0x44f835,_0x2589a7,_0x23d152)=>!!_0x23d152||_0x44f835&&!_0x2589a7),_0x24629e['on'](_0x3e1be6(0xb4),(_0x45a60a,_0x38ae5f)=>{const _0x2f76df=_0x3e1be6;this[_0x2f76df(0xf0)](_0x2f76df(0xfd),_0x38ae5f),_0x24629e[_0x2f76df(0xc1)][_0x2f76df(0xec)]('');}),_0x24629e['on'](_0x3e1be6(0xdb),()=>this[_0x3e1be6(0xc7)]()),_0x24629e[_0x3e1be6(0xf2)](_0x3e1be6(0xcf))['to'](this[_0x3e1be6(0xbc)][_0x3e1be6(0xbe)],_0x3e1be6(0xf3)),_0x306e55;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x36bec4=_0xd337;function _0x39a4(){const _0xd39255=['canDiscard','author','suggestionView','disableComments','ck-suggestion-','acceptSuggestion','getTemplate','set','discardSuggestion','setTemplate','3961632IoTmze','isEnabled','commentThread','22727240UTLKeQ','bind','49pMfIkW','descriptionParts','532585KfZLFz','focusables','type','477016wtrkYK','commentsListView','ck-rounded-corners','5YkShLy','ariaDescriptionView','editorDestroyed','bindTemplate','acceptButton','_descriptionElement','render','isActive','discardButton','description','color','commentThreadInputView','editorReady','_config','canAccept','ck-suggestion--disabled-comments','ariaLabel','_model','1759804dYlLdw','156238wjiRko','3PAalBN','listitem','ck-suggestion-wrapper','ck-suggestion-wrapper--active','add','push','307647uNRNQU','formatDateTime','delegate','</p>','div','SuggestionView','content','<p>'];_0x39a4=function(){return _0xd39255;};return _0x39a4();}(function(_0x2e5278,_0x56358b){const _0x419d54=_0xd337,_0xb95a6f=_0x2e5278();while(!![]){try{const _0x34f9ed=-parseInt(_0x419d54(0xdd))/0x1*(parseInt(_0x419d54(0xf0))/0x2)+parseInt(_0x419d54(0xf1))/0x3*(-parseInt(_0x419d54(0xef))/0x4)+parseInt(_0x419d54(0x110))/0x5+-parseInt(_0x419d54(0x109))/0x6+parseInt(_0x419d54(0x10e))/0x7*(-parseInt(_0x419d54(0x113))/0x8)+-parseInt(_0x419d54(0xf7))/0x9+parseInt(_0x419d54(0x10c))/0xa;if(_0x34f9ed===_0x56358b)break;else _0xb95a6f['push'](_0xb95a6f['shift']());}catch(_0x24e98f){_0xb95a6f['push'](_0xb95a6f['shift']());}}}(_0x39a4,0x6aa73));import{BaseSuggestionThreadView as _0x5295c6}from'./basesuggestionthreadview.js';import{trimHtml as _0x3e3717}from'ckeditor5-collaboration/src/collaboration-core.js';function _0xd337(_0x393a7d,_0xcd1fa){const _0x39a4d9=_0x39a4();return _0xd337=function(_0xd337f6,_0x466d24){_0xd337f6=_0xd337f6-0xdd;let _0x3591d6=_0x39a4d9[_0xd337f6];return _0x3591d6;},_0xd337(_0x393a7d,_0xcd1fa);}import{renderDescription as _0x2c4eaf}from'../../utils/utils.js';export class SuggestionThreadView extends _0x5295c6{[_0x36bec4(0x101)];[_0x36bec4(0xe2)];constructor(_0x5675ca,_0x195a42,_0x495845,_0x3c0db6){const _0x561103=_0x36bec4;super(_0x5675ca,_0x195a42,_0x495845,_0x3c0db6),this[_0x561103(0x106)](_0x561103(0x112),''),this[_0x561103(0x10d)](_0x561103(0x112))['to'](this,_0x561103(0x10f),_0x36fae6=>_0x36fae6&&_0x36fae6[0x0]?_0x36fae6[0x0][_0x561103(0x112)]:''),this[_0x561103(0x10d)](_0x561103(0xe6))['to'](this,_0x561103(0x10f),this,_0x561103(0xe4),(_0x47cdf5,_0x3337b5)=>{const _0x4d630e=_0x561103;let _0x115ba2='';for(const _0x4d71f1 of _0x47cdf5)_0x115ba2+=_0x4d630e(0xfe)+_0x2c4eaf(_0x4d71f1[_0x4d630e(0xfd)],_0x4d71f1[_0x4d630e(0xe7)])+_0x4d630e(0xfa);return _0x3337b5?_0x115ba2:_0x3e3717(_0x115ba2,{'limit':0x8c});}),this[_0x561103(0xe2)]=null,this[_0x561103(0x101)]=new _0x3c0db6[(_0x561103(0xfc))](_0x5675ca,_0x195a42,{'formatDateTime':_0x3c0db6[_0x561103(0xf8)]}),this[_0x561103(0x101)][_0x561103(0x10d)](_0x561103(0xe6))['to'](this),this[_0x561103(0x101)][_0x561103(0xf9)](_0x561103(0x104),_0x561103(0x107))['to'](this),this[_0x561103(0x101)][_0x561103(0xe1)][_0x561103(0x10d)](_0x561103(0x10a))['to'](this,_0x561103(0xeb)),this[_0x561103(0x101)][_0x561103(0xe5)][_0x561103(0x10d)](_0x561103(0x10a))['to'](this,_0x561103(0xff)),this[_0x561103(0x111)][_0x561103(0xf5)](this[_0x561103(0x101)]),this[_0x561103(0x114)]&&this[_0x561103(0x111)][_0x561103(0xf5)](this[_0x561103(0x114)]),this[_0x561103(0xe8)]&&this[_0x561103(0x111)][_0x561103(0xf5)](this[_0x561103(0xe8)]),this[_0x561103(0x108)](this[_0x561103(0x105)]());}[_0x36bec4(0x105)](){const _0x94c8cd=_0x36bec4,_0x589623=this[_0x94c8cd(0xe0)],_0x2692cd=[this[_0x94c8cd(0x101)]];return this[_0x94c8cd(0x114)]&&_0x2692cd[_0x94c8cd(0xf6)](this[_0x94c8cd(0x114)]),this[_0x94c8cd(0xe8)]&&_0x2692cd[_0x94c8cd(0xf6)](this[_0x94c8cd(0xe8)]),_0x2692cd[_0x94c8cd(0xf6)](this[_0x94c8cd(0xde)]),{'tag':_0x94c8cd(0xfb),'attributes':{'class':['ck',_0x94c8cd(0x115),_0x94c8cd(0xf3),_0x589623['if'](_0x94c8cd(0xe4),_0x94c8cd(0xf4)),_0x589623['to'](_0x94c8cd(0x112),_0x5d18a7=>_0x94c8cd(0x103)+_0x5d18a7),this[_0x94c8cd(0xea)][_0x94c8cd(0x102)]&&_0x94c8cd(0xec)],'data-suggestion-id':this[_0x94c8cd(0xee)]['id'],'data-thread-id':this[_0x94c8cd(0xee)][_0x94c8cd(0x10b)]['id'],'data-author-id':this[_0x94c8cd(0xee)][_0x94c8cd(0x100)]['id'],'tabindex':0x0,'role':_0x94c8cd(0xf2),'aria-label':_0x589623['to'](_0x94c8cd(0xed)),'aria-describedby':this[_0x94c8cd(0xde)]['id']},'children':_0x2692cd};}[_0x36bec4(0xe3)](){const _0x21d97d=_0x36bec4;super[_0x21d97d(0xe3)](),this[_0x21d97d(0x114)]&&(this[_0x21d97d(0x114)][_0x21d97d(0xf9)](_0x21d97d(0xe9))['to'](this),this[_0x21d97d(0x114)][_0x21d97d(0xf9)](_0x21d97d(0xdf))['to'](this)),this[_0x21d97d(0xe8)]&&(this[_0x21d97d(0xe8)][_0x21d97d(0xf9)](_0x21d97d(0xe9))['to'](this),this[_0x21d97d(0xe8)][_0x21d97d(0xf9)](_0x21d97d(0xdf))['to'](this));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x342b(){const _0x2cd194=['focusCycler','target','set','ck-annotation__info','keystrokes','844WdbSsh','EXTERNAL_IMPORT_WORD_AVATAR','ck-comment__external','ck-suggestion--discard','discardSuggestion','span','getExternalSuggestionNote','_model','ck-annotation__info-time','getUserViewNotificationText','260GrwXQV','discardButton','focusables','ck-suggestion__main','889973lQTXKC','add','3235MBPcFr','focusTracker','element','push','_config','presentation','EXTERNAL_IMPORT_WORD_SUGGESTION','bindTemplate','extendTemplate','ck-annotation__actions','description','ck-annotation','esc','focusFirst','886704Umpgiw','isExternal','acceptSuggestion','ck-suggestion__user','tab','1582312jCAduW','shift+tab','time','authoredAt','_setupKeyboardNavigation','innerHTML','setTemplate','ck-suggestion__actions','ck-suggestion--accept','EXTERNAL_SUGGESTION','ck-annotation__content-wrapper','creator','userView','_createButton','ck-annotation__main','Discard\x20suggestion','querySelector','.ck-annotation__content-wrapper','Accept\x20suggestion','@external','EXTERNAL_AVATAR','locale','formatDateTime','name','bind','ck-suggestion__info','ck-annotation__user','12brOpMl','acceptButton','div','source','341496ruXZuS','importWord','enter','ck-suggestion__info-name','128332VeyQPc','execute','ck-comment__info-time','author','render','ck-annotation__info-name','listenTo','change:description','97677rlsUfo','getTemplate','ck-suggestion','focus','attributes','fire'];_0x342b=function(){return _0x2cd194;};return _0x342b();}const _0x1eabf2=_0x38bd;(function(_0x2850e8,_0x4e75f4){const _0x9765e2=_0x38bd,_0x59d277=_0x2850e8();while(!![]){try{const _0x306dc6=parseInt(_0x9765e2(0x1cb))/0x1+parseInt(_0x9765e2(0x1cf))/0x2+-parseInt(_0x9765e2(0x200))/0x3+parseInt(_0x9765e2(0x1e2))/0x4*(-parseInt(_0x9765e2(0x1f2))/0x5)+-parseInt(_0x9765e2(0x1c7))/0x6*(parseInt(_0x9765e2(0x1f0))/0x7)+parseInt(_0x9765e2(0x205))/0x8+parseInt(_0x9765e2(0x1d7))/0x9*(parseInt(_0x9765e2(0x1ec))/0xa);if(_0x306dc6===_0x4e75f4)break;else _0x59d277['push'](_0x59d277['shift']());}catch(_0x5b336b){_0x59d277['push'](_0x59d277['shift']());}}}(_0x342b,0x30a62));import{FocusTracker as _0x5c8ff1,KeystrokeHandler as _0x35bfca}from'ckeditor5/src/utils.js';import{View as _0x291ddb,ViewCollection as _0x1a5f68,FocusCycler as _0x210613}from'ckeditor5/src/ui.js';import{LateFocusButtonView as _0x5f4f19,UserView as _0x9310e2}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x38bd(_0x340a66,_0x2dd834){const _0x342b07=_0x342b();return _0x38bd=function(_0x38bd7c,_0x382821){_0x38bd7c=_0x38bd7c-0x1bf;let _0x237317=_0x342b07[_0x38bd7c];return _0x237317;},_0x38bd(_0x340a66,_0x2dd834);}import{IconCancel as _0x28ddd1,IconCheck as _0x2112ff}from'ckeditor5/src/icons.js';import{getTranslation as _0x97ae64}from'../../utils/common-translations.js';export class SuggestionView extends _0x291ddb{[_0x1eabf2(0x211)];[_0x1eabf2(0x1c8)];[_0x1eabf2(0x1ed)];[_0x1eabf2(0x1ee)];[_0x1eabf2(0x1f3)];[_0x1eabf2(0x1e1)];[_0x1eabf2(0x1dd)];[_0x1eabf2(0x1e9)];[_0x1eabf2(0x1f6)];constructor(_0x306f00,_0x2c446c,_0x37c5dc){const _0x236b64=_0x1eabf2;super(_0x306f00),this[_0x236b64(0x1e9)]=_0x2c446c,this[_0x236b64(0x1f6)]=_0x37c5dc,this[_0x236b64(0x1df)](_0x236b64(0x1fc),''),this[_0x236b64(0x1c4)](_0x236b64(0x208))['to'](_0x2c446c),this[_0x236b64(0x1c8)]=this[_0x236b64(0x212)](_0x97ae64(_0x306f00,_0x236b64(0x217)),_0x2112ff,_0x236b64(0x20d),_0x236b64(0x202),'sw'),this[_0x236b64(0x1ed)]=this[_0x236b64(0x212)](_0x97ae64(_0x306f00,_0x236b64(0x214)),_0x28ddd1,_0x236b64(0x1e5),_0x236b64(0x1e6),'sw'),this[_0x236b64(0x211)]=new _0x9310e2(_0x306f00,_0x2c446c[_0x236b64(0x1d2)],this[_0x236b64(0x1eb)]()),this[_0x236b64(0x211)][_0x236b64(0x1fa)]({'attributes':{'class':[_0x236b64(0x203),_0x236b64(0x1c6)],'aria-hidden':!0x0}}),this[_0x236b64(0x1ee)]=new _0x1a5f68([this[_0x236b64(0x1c8)],this[_0x236b64(0x1ed)]]),this[_0x236b64(0x1f3)]=new _0x5c8ff1(),this[_0x236b64(0x1e1)]=new _0x35bfca(),this[_0x236b64(0x1dd)]=new _0x210613({'focusables':this[_0x236b64(0x1ee)],'focusTracker':this[_0x236b64(0x1f3)],'keystrokeHandler':this[_0x236b64(0x1e1)],'actions':{'focusPrevious':_0x236b64(0x206),'focusNext':_0x236b64(0x204)},'keystrokeHandlerOptions':{'filter':_0x23122c=>_0x23122c[_0x236b64(0x1de)]!==this[_0x236b64(0x1f4)]}}),this[_0x236b64(0x20b)](this[_0x236b64(0x1d8)]());}[_0x1eabf2(0x1d3)](){const _0x55fe2a=_0x1eabf2;super[_0x55fe2a(0x1d3)]();const _0x21ee0a=this[_0x55fe2a(0x1f4)][_0x55fe2a(0x215)](_0x55fe2a(0x216));_0x21ee0a[_0x55fe2a(0x20a)]=this[_0x55fe2a(0x1fc)],this['on'](_0x55fe2a(0x1d6),(_0x4b61de,_0x53fb9d,_0x44e096)=>{const _0x433e54=_0x55fe2a;_0x21ee0a[_0x433e54(0x20a)]=_0x44e096;}),this[_0x55fe2a(0x209)]();}[_0x1eabf2(0x1d8)](){const _0x4f4ead=_0x1eabf2,_0x49e737=this[_0x4f4ead(0x1f9)],_0x3d45c7=[{'tag':_0x4f4ead(0x1c9),'attributes':{'class':[_0x4f4ead(0x1c5),_0x4f4ead(0x1e0)]},'children':[{'tag':_0x4f4ead(0x1e7),'children':[{'text':this[_0x4f4ead(0x211)][_0x4f4ead(0x1c3)]}],'attributes':{'class':[_0x4f4ead(0x1ce),_0x4f4ead(0x1d4)],'data-cke-tooltip-text':this[_0x4f4ead(0x211)][_0x4f4ead(0x1c3)]}},{'tag':_0x4f4ead(0x207),'attributes':{'datetime':_0x49e737['to'](_0x4f4ead(0x208)),'class':[_0x4f4ead(0x1d1),_0x4f4ead(0x1ea)]},'children':[{'text':_0x49e737['to'](_0x4f4ead(0x208),_0x246091=>this[_0x4f4ead(0x1f6)][_0x4f4ead(0x1c2)](_0x246091))}]}]},{'tag':_0x4f4ead(0x1c9),'attributes':{'class':[_0x4f4ead(0x20c),_0x4f4ead(0x1fb)]},'children':[this[_0x4f4ead(0x1c8)],this[_0x4f4ead(0x1ed)]]},{'tag':_0x4f4ead(0x1c9),'attributes':{'class':[_0x4f4ead(0x20f)]}}];return this[_0x4f4ead(0x1e9)][_0x4f4ead(0x201)]&&_0x3d45c7[_0x4f4ead(0x1f5)]({'tag':_0x4f4ead(0x1c9),'attributes':{'class':[_0x4f4ead(0x1e4)]},'children':[{'text':this[_0x4f4ead(0x1e8)]()}]}),{'tag':_0x4f4ead(0x1c9),'attributes':{'class':[_0x4f4ead(0x1d9),_0x4f4ead(0x1fd)],'tabindex':-0x1},'children':[this[_0x4f4ead(0x211)],{'tag':_0x4f4ead(0x1c9),'attributes':{'class':[_0x4f4ead(0x1ef),_0x4f4ead(0x213)],'role':_0x4f4ead(0x1f7)},'children':_0x3d45c7}]};}[_0x1eabf2(0x1da)](){const _0x57e46d=_0x1eabf2;this[_0x57e46d(0x1f4)][_0x57e46d(0x1da)]();}[_0x1eabf2(0x1eb)](){const _0x3a9daa=_0x1eabf2;return this[_0x3a9daa(0x1e9)][_0x3a9daa(0x201)]?_0x3a9daa(0x1cc)===this[_0x3a9daa(0x1e9)][_0x3a9daa(0x1db)][_0x3a9daa(0x1bf)][_0x3a9daa(0x1ca)]?_0x97ae64(this[_0x3a9daa(0x1c1)],_0x3a9daa(0x1e3),this[_0x3a9daa(0x1e9)][_0x3a9daa(0x210)][_0x3a9daa(0x1c3)]):_0x97ae64(this[_0x3a9daa(0x1c1)],_0x3a9daa(0x1c0),this[_0x3a9daa(0x1e9)][_0x3a9daa(0x210)][_0x3a9daa(0x1c3)]):null;}[_0x1eabf2(0x1e8)](){const _0x282fb1=_0x1eabf2;return _0x282fb1(0x1cc)===this[_0x282fb1(0x1e9)][_0x282fb1(0x1db)][_0x282fb1(0x1bf)][_0x282fb1(0x1ca)]?_0x97ae64(this[_0x282fb1(0x1c1)],_0x282fb1(0x1f8)):_0x97ae64(this[_0x282fb1(0x1c1)],_0x282fb1(0x20e));}[_0x1eabf2(0x212)](_0x2b8d57,_0x35ac49,_0x3cea7d,_0x592ad5,_0x2a8f8a){const _0x397cb3=_0x1eabf2,_0x4e9bed=new _0x5f4f19(this[_0x397cb3(0x1c1)]);return _0x4e9bed[_0x397cb3(0x1df)]({'label':_0x2b8d57,'icon':_0x35ac49,'tooltip':!0x0,'tooltipPosition':_0x2a8f8a}),_0x4e9bed[_0x397cb3(0x1fa)]({'attributes':{'class':_0x3cea7d}}),_0x4e9bed['on'](_0x397cb3(0x1d0),()=>{const _0x575aa2=_0x397cb3;this[_0x575aa2(0x1dc)](_0x592ad5,this[_0x575aa2(0x1e9)]['id']);}),_0x4e9bed;}[_0x1eabf2(0x209)](){const _0x5caf71=_0x1eabf2,_0x2c15a5=this[_0x5caf71(0x1f4)];this[_0x5caf71(0x1e1)][_0x5caf71(0x1d5)](_0x2c15a5);for(const _0x313831 of this[_0x5caf71(0x1ee)])this[_0x5caf71(0x1f3)][_0x5caf71(0x1f1)](_0x313831[_0x5caf71(0x1f4)]),this[_0x5caf71(0x1e1)][_0x5caf71(0x1d5)](_0x313831[_0x5caf71(0x1f4)]);this[_0x5caf71(0x1e1)][_0x5caf71(0x1df)](_0x5caf71(0x1cd),(_0x594805,_0x3a8c37)=>{const _0x558773=_0x5caf71;_0x2c15a5===_0x594805[_0x558773(0x1de)]&&(this[_0x558773(0x1dd)][_0x558773(0x1ff)](),_0x3a8c37());}),this[_0x5caf71(0x1e1)][_0x5caf71(0x1df)](_0x5caf71(0x1fe),(_0x51b478,_0x119bff)=>{const _0x816930=_0x5caf71;_0x2c15a5!==_0x51b478[_0x816930(0x1de)]&&(this[_0x816930(0x1da)](),_0x119bff());});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0xe908(){const _0xbc4d3e=['div','width','ck-reset','style','classes','previewDataReady','456zWxOrR','setAttribute','51139572XJsjQx','push','setTemplate','54QcxXfU','focus','render','\x20ck-track-changes-preview__root-container','6196914ULyDqN','298602dHJFgf','36YqNhhr','fire','195013XIQwKw','setPreviewData','11lRaGUE','height','601116VKpbAC','content','5IjOtcp','createElement','options','dialogRects','data-ck-root-name','ck-track-changes-preview','className','element','3536396LnsXfO','innerHTML','2084630oFKObl'];_0xe908=function(){return _0xbc4d3e;};return _0xe908();}const _0x5114c1=_0x2ded;(function(_0x22af54,_0x316c41){const _0x2238d6=_0x2ded,_0x21b30e=_0x22af54();while(!![]){try{const _0x4ed2ef=-parseInt(_0x2238d6(0x106))/0x1+-parseInt(_0x2238d6(0x110))/0x2+parseInt(_0x2238d6(0x123))/0x3*(parseInt(_0x2238d6(0x124))/0x4)+-parseInt(_0x2238d6(0x108))/0x5*(-parseInt(_0x2238d6(0x122))/0x6)+-parseInt(_0x2238d6(0x126))/0x7*(parseInt(_0x2238d6(0x119))/0x8)+parseInt(_0x2238d6(0x11e))/0x9*(-parseInt(_0x2238d6(0x112))/0xa)+parseInt(_0x2238d6(0x128))/0xb*(parseInt(_0x2238d6(0x11b))/0xc);if(_0x4ed2ef===_0x316c41)break;else _0x21b30e['push'](_0x21b30e['shift']());}catch(_0x4e856e){_0x21b30e['push'](_0x21b30e['shift']());}}}(_0xe908,0xefcb9));function _0x2ded(_0x3fb405,_0x5a961c){const _0xe908f0=_0xe908();return _0x2ded=function(_0x2ded78,_0x385bb8){_0x2ded78=_0x2ded78-0x105;let _0x5878b9=_0xe908f0[_0x2ded78];return _0x5878b9;},_0x2ded(_0x3fb405,_0x5a961c);}import{View as _0x4a4b5a}from'ckeditor5/src/ui.js';export class TrackChangesPreviewView extends _0x4a4b5a{[_0x5114c1(0x10a)];constructor(_0x52b4b9,_0x1e364b){const _0x23d1e5=_0x5114c1;super(_0x52b4b9),this[_0x23d1e5(0x10a)]=_0x1e364b,this[_0x23d1e5(0x11d)]({'tag':_0x23d1e5(0x113),'attributes':{'class':['ck',_0x23d1e5(0x115),_0x23d1e5(0x10d)],'tabindex':-0x1}});}[_0x5114c1(0x120)](){const _0x17f6ea=_0x5114c1;super[_0x17f6ea(0x120)](),this[_0x17f6ea(0x10f)][_0x17f6ea(0x116)][_0x17f6ea(0x114)]=this[_0x17f6ea(0x10a)][_0x17f6ea(0x10b)][_0x17f6ea(0x114)]+'px',this[_0x17f6ea(0x10f)][_0x17f6ea(0x116)][_0x17f6ea(0x105)]=this[_0x17f6ea(0x10a)][_0x17f6ea(0x10b)][_0x17f6ea(0x105)]+'px';}[_0x5114c1(0x127)](_0x43c230,_0x354182){const _0x3028f0=_0x5114c1;if(!this[_0x3028f0(0x10f)])return;const _0x252da4=[];for(const [_0x427c0a,_0x5213ef]of _0x43c230){const _0x5adc06=document[_0x3028f0(0x109)](_0x3028f0(0x113));_0x5adc06[_0x3028f0(0x11a)](_0x3028f0(0x10c),_0x427c0a),_0x5adc06[_0x3028f0(0x10e)]=_0x5213ef[_0x3028f0(0x117)]+_0x3028f0(0x121),_0x5adc06[_0x3028f0(0x111)]=_0x5213ef[_0x3028f0(0x107)],_0x252da4[_0x3028f0(0x11c)](_0x5adc06);}_0x354182(this[_0x3028f0(0x10f)],_0x252da4),this[_0x3028f0(0x10f)][_0x3028f0(0x116)][_0x3028f0(0x105)]='',this[_0x3028f0(0x125)](_0x3028f0(0x118));}[_0x5114c1(0x11f)](){const _0x2d1637=_0x5114c1;this[_0x2d1637(0x10f)][_0x2d1637(0x11f)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x57e5c1,_0xdb8546,_0x5dc023){const _0x29cbe9=_0x57e5c1['t'],t=_0x57e5c1['t'];switch(_0xdb8546){case'Track\x20changes':return t('Track\x20changes');case'Accept\x20suggestion':return t('Accept\x20suggestion');case'Discard\x20suggestion':return t('Discard\x20suggestion');case'Accept\x20all\x20suggestions':return t('Accept\x20all\x20suggestions');case'Accept\x20all\x20selected\x20suggestions':return t('Accept\x20all\x20selected\x20suggestions');case'Discard\x20all\x20suggestions':return t('Discard\x20all\x20suggestions');case'Discard\x20all\x20selected\x20suggestions':return t('Discard\x20all\x20selected\x20suggestions');case'Preview\x20final\x20content':return t('Preview\x20final\x20content');case'Final\x20content\x20preview':return t('Final\x20content\x20preview');case'*Reset\x20font\x20size*':return t('*Reset\x20font\x20size*');case'*Reset\x20font\x20family*':return t('*Reset\x20font\x20family*');case'*Reset\x20font\x20color*':return t('*Reset\x20font\x20color*');case'*Reset\x20font\x20background\x20color*':return t('*Reset\x20font\x20background\x20color*');case'*Remove\x20image\x20text\x20alternative*':return t('*Remove\x20image\x20text\x20alternative*');case'*Reset\x20image\x20width*':return t('*Reset\x20image\x20width*');case'*Remove\x20link*':return t('*Remove\x20link*');case'*Check\x20item*':return t('*Check\x20item*');case'*Uncheck\x20item*':return t('*Uncheck\x20item*');case'*Remove\x20all\x20formatting*':return t('*Remove\x20all\x20formatting*');case'*Replace\x20table\x20cells*':return t('*Replace\x20table\x20cells*');case'*Merge\x20cells*':return t('*Merge\x20cells*');case'*Split\x20cell:*\x20vertically':return t('*Split\x20cell:*\x20vertically');case'*Split\x20cell:*\x20horizontally':return t('*Split\x20cell:*\x20horizontally');case'*Indent:*\x20%0':return t('*Indent:*\x20%0',_0x5dc023);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x5dc023);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x5dc023);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x5dc023);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x5dc023);case'*Format:*\x20change\x20table\x20properties':return t('*Format:*\x20change\x20table\x20properties');case'*Format:*\x20change\x20table\x20cell\x20properties':return t('*Format:*\x20change\x20table\x20cell\x20properties');case'*Format:*\x20insert\x20into\x20%0':return t('*Format:*\x20insert\x20into\x20%0',_0x5dc023);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x5dc023);case'*Replace\x20image*':return t('*Replace\x20image*');case'*Format:*\x20resize\x20table':return t('*Format:*\x20resize\x20table');case'*Format:*\x20set\x20order\x20to\x20reversed':return t('*Format:*\x20set\x20order\x20to\x20reversed');case'*Format:*\x20set\x20order\x20to\x20regular':return t('*Format:*\x20set\x20order\x20to\x20regular');case'*Format:*\x20set\x20start\x20index\x20to\x20%0':return t('*Format:*\x20set\x20start\x20index\x20to\x20%0',_0x5dc023);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x5dc023);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x5dc023);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x5dc023);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x5dc023);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x5dc023);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x5dc023);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x5dc023);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x5dc023);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x5dc023);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x5dc023);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x5dc023);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x5dc023);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x5dc023);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x5dc023);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x5dc023);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x5dc023);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0x5dc023);case'*Remove\x20highlight*':return t('*Remove\x20highlight*');case'FORMAT_HIGHLIGHT':return t({'string':'highlight','id':'FORMAT_HIGHLIGHT'});case'FORMAT_RESTRICTED_ENABLED':return t({'string':'*Enable\x20in\x20restricted\x20editing\x20mode*','id':'FORMAT_RESTRICTED_ENABLED'});case'FORMAT_RESTRICTED_DISABLED':return t({'string':'*Disable\x20in\x20restricted\x20editing\x20mode*','id':'FORMAT_RESTRICTED_DISABLED'});case'ELEMENT_TABLE':return t({'string':'table','plural':'%0\x20tables','id':'ELEMENT_TABLE'},_0x5dc023);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0x5dc023);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0x5dc023);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x5dc023);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x5dc023);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x5dc023);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x5dc023);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x5dc023);case'FORMAT_SIDE_IMAGE':return t({'string':'side\x20image','id':'FORMAT_SIDE_IMAGE'});case'ELEMENT_CAPTION':return t({'string':'caption','id':'ELEMENT_CAPTION'});case'ELEMENT_HORIZONTAL_LINE':return t({'string':'horizontal\x20line','plural':'%0\x20horizontal\x20lines','id':'ELEMENT_HORIZONTAL_LINE'},_0x5dc023);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x5dc023);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x5dc023);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x5dc023);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x5dc023);case'ELEMENT_DEFAULT_LIST_DEFAULT':return t({'string':'default\x20list\x20style','id':'ELEMENT_DEFAULT_LIST_DEFAULT'});case'ELEMENT_BULLETED_LIST':return t({'string':'bulleted\x20list','id':'ELEMENT_BULLETED_LIST'});case'ELEMENT_BULLETED_LIST_DEFAULT':return t({'string':'bulleted\x20list\x20(default)','id':'ELEMENT_BULLETED_LIST_DEFAULT'});case'ELEMENT_BULLETED_LIST_CIRCLE':return t({'string':'bulleted\x20list\x20(circle)','id':'ELEMENT_BULLETED_LIST_CIRCLE'});case'ELEMENT_BULLETED_LIST_DISC':return t({'string':'bulleted\x20list\x20(disc)','id':'ELEMENT_BULLETED_LIST_DISC'});case'ELEMENT_BULLETED_LIST_SQUARE':return t({'string':'bulleted\x20list\x20(square)','id':'ELEMENT_BULLETED_LIST_SQUARE'});case'ELEMENT_NUMBERED_LIST_DEFAULT':return t({'string':'numbered\x20list\x20(default)','id':'ELEMENT_NUMBERED_LIST_DEFAULT'});case'ELEMENT_NUMBERED_LIST':return t({'string':'numbered\x20list','id':'ELEMENT_NUMBERED_LIST'});case'ELEMENT_NUMBERED_LIST_DECIMAL':return t({'string':'numbered\x20list\x20(decimal)','id':'ELEMENT_NUMBERED_LIST_DECIMAL'});case'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO':return t({'string':'numbered\x20list\x20(decimal\x20with\x20leading\x20zero)','id':'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO'});case'ELEMENT_NUMBERED_LIST_LOWER_LATIN':return t({'string':'numbered\x20list\x20(lower-latin)','id':'ELEMENT_NUMBERED_LIST_LOWER_LATIN'});case'ELEMENT_NUMBERED_LIST_LOWER_ROMAN':return t({'string':'numbered\x20list\x20(lower-roman)','id':'ELEMENT_NUMBERED_LIST_LOWER_ROMAN'});case'ELEMENT_NUMBERED_LIST_UPPER_LATIN':return t({'string':'numbered\x20list\x20(upper-latin)','id':'ELEMENT_NUMBERED_LIST_UPPER_LATIN'});case'ELEMENT_NUMBERED_LIST_UPPER_ROMAN':return t({'string':'numbered\x20list\x20(upper-roman)','id':'ELEMENT_NUMBERED_LIST_UPPER_ROMAN'});case'ELEMENT_TODO_LIST':return t({'string':'to-do\x20list','id':'ELEMENT_TODO_LIST'});case'ELEMENT_MULTI_LEVEL_LIST':return t({'string':'multi-level\x20list','id':'ELEMENT_MULTI_LEVEL_LIST'});case'REPLACE_TEXT':return t({'string':'*Replace:*\x20%0\x20*with*\x20%1','id':'REPLACE_TEXT'},_0x5dc023);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x5dc023);case'FORMAT_ALIGNMENT':return t({'string':'alignment','id':'FORMAT_ALIGNMENT'});case'FORMAT_ALIGN_TO_LEFT':return t({'string':'align\x20to\x20left','id':'FORMAT_ALIGN_TO_LEFT'});case'FORMAT_ALIGN_TO_RIGHT':return t({'string':'align\x20to\x20right','id':'FORMAT_ALIGN_TO_RIGHT'});case'FORMAT_ALIGN_TO_CENTER':return t({'string':'align\x20to\x20center','id':'FORMAT_ALIGN_TO_CENTER'});case'FORMAT_JUSTIFY_TEXT':return t({'string':'justify','id':'FORMAT_JUSTIFY_TEXT'});case'FORMAT_BOLD':return t({'string':'bold','id':'FORMAT_BOLD'});case'FORMAT_ITALIC':return t({'string':'italic','id':'FORMAT_ITALIC'});case'FORMAT_UNDERLINE':return t({'string':'underline','id':'FORMAT_UNDERLINE'});case'FORMAT_CODE':return t({'string':'code','id':'FORMAT_CODE'});case'FORMAT_STRIKETHROUGH':return t({'string':'strikethrough','id':'FORMAT_STRIKETHROUGH'});case'FORMAT_SUBSCRIPT':return t({'string':'subscript','id':'FORMAT_SUBSCRIPT'});case'FORMAT_SUPERSCRIPT':return t({'string':'superscript','id':'FORMAT_SUPERSCRIPT'});case'ELEMENT_BLOCK_QUOTE':return t({'string':'block\x20quote','id':'ELEMENT_BLOCK_QUOTE'});case'ELEMENT_CODE_BLOCK':return t({'string':'code\x20block','plural':'%0\x20code\x20blocks','id':'ELEMENT_CODE_BLOCK'},_0x5dc023);case'FORMAT_HEADER_COLUMN':return t({'string':'header\x20column','id':'FORMAT_HEADER_COLUMN'});case'FORMAT_REGULAR_COLUMN':return t({'string':'regular\x20column','id':'FORMAT_REGULAR_COLUMN'});case'FORMAT_HEADER_ROW':return t({'string':'header\x20row','id':'FORMAT_HEADER_ROW'});case'FORMAT_REGULAR_ROW':return t({'string':'regular\x20row','id':'FORMAT_REGULAR_ROW'});case'FORMAT_INDENT':return t({'string':'indent','id':'FORMAT_INDENT'});case'FORMAT_LIST_REVERSED':return t({'string':'list\x20reversed','id':'FORMAT_LIST_REVERSED'});case'FORMAT_LIST_START':return t({'string':'list\x20start','id':'FORMAT_LIST_START'});case'FORMAT_FONT_SIZE':return t({'string':'font\x20size','id':'FORMAT_FONT_SIZE'});case'FORMAT_FONT_FAMILY':return t({'string':'font\x20family','id':'FORMAT_FONT_FAMILY'});case'FORMAT_FONT_COLOR':return t({'string':'font\x20color','id':'FORMAT_FONT_COLOR'});case'FORMAT_FONT_BACKGROUND':return t({'string':'font\x20background\x20color','id':'FORMAT_FONT_BACKGROUND'});case'FORMAT_IMAGE_SIZE':return t({'string':'image\x20size','id':'FORMAT_IMAGE_SIZE'});case'FORMAT_STYLE':return t({'string':'style','id':'FORMAT_STYLE'});case'FORMAT_LINE_HEIGHT':return t({'string':'line\x20height','id':'FORMAT_LINE_HEIGHT'});case'FORMAT_TABLE_BORDER_COLOR':return t({'string':'table\x20border\x20color','id':'FORMAT_TABLE_BORDER_COLOR'});case'FORMAT_TABLE_BORDER_STYLE':return t({'string':'table\x20border\x20style','id':'FORMAT_TABLE_BORDER_STYLE'});case'FORMAT_TABLE_BORDER_WIDTH':return t({'string':'table\x20border\x20width','id':'FORMAT_TABLE_BORDER_WIDTH'});case'FORMAT_TABLE_ALIGNMENT':return t({'string':'table\x20alignment','id':'FORMAT_TABLE_ALIGNMENT'});case'FORMAT_TABLE_WIDTH':return t({'string':'table\x20width','id':'FORMAT_TABLE_WIDTH'});case'FORMAT_TABLE_HEIGHT':return t({'string':'table\x20height','id':'FORMAT_TABLE_HEIGHT'});case'FORMAT_TABLE_BACKGROUND_COLOR':return t({'string':'table\x20background\x20color','id':'FORMAT_TABLE_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_BORDER_COLOR':return t({'string':'table\x20cell\x20border\x20color','id':'FORMAT_TABLE_CELL_BORDER_COLOR'});case'FORMAT_TABLE_CELL_BORDER_STYLE':return t({'string':'table\x20cell\x20border\x20style','id':'FORMAT_TABLE_CELL_BORDER_STYLE'});case'FORMAT_TABLE_CELL_BORDER_WIDTH':return t({'string':'table\x20cell\x20border\x20width','id':'FORMAT_TABLE_CELL_BORDER_WIDTH'});case'FORMAT_TABLE_CELL_PADDING':return t({'string':'table\x20cell\x20padding','id':'FORMAT_TABLE_CELL_PADDING'});case'FORMAT_TABLE_CELL_WIDTH':return t({'string':'table\x20cell\x20width','id':'FORMAT_TABLE_CELL_WIDTH'});case'FORMAT_TABLE_CELL_HEIGHT':return t({'string':'table\x20cell\x20height','id':'FORMAT_TABLE_CELL_HEIGHT'});case'FORMAT_TABLE_CELL_BACKGROUND_COLOR':return t({'string':'table\x20cell\x20background\x20color','id':'FORMAT_TABLE_CELL_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT':return t({'string':'table\x20cell\x20horizontal\x20alignment','id':'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT'});case'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT':return t({'string':'table\x20cell\x20vertical\x20alignment','id':'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT'});case'PENDING_ACTION_SUGGESTION':return t({'string':'Unsaved\x20change\x20in\x20suggestion.','id':'PENDING_ACTION_SUGGESTION'});case'ELEMENT_TABLE_WITH_TEXT':return t({'string':'table\x20*with\x20text*\x20%0','id':'ELEMENT_TABLE_WITH_TEXT'},_0x5dc023);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x5dc023);case'ELEMENT_TABLE_ROW_WITH_TEXT':return t({'string':'table\x20row\x20*with\x20text*\x20%1','plural':'%0\x20table\x20rows\x20*with\x20text*\x20%1','id':'ELEMENT_TABLE_ROW_WITH_TEXT'},_0x5dc023);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x5dc023);case'ELEMENT_TABLE_COLUMN_WITH_TEXT':return t({'string':'table\x20column\x20*with\x20text*\x20%1','plural':'%0\x20table\x20columns\x20*with\x20text*\x20%1','id':'ELEMENT_TABLE_COLUMN_WITH_TEXT'},_0x5dc023);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x5dc023);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x5dc023);case'ELEMENT_TITLE':return t({'id':'ELEMENT_TITLE','string':'title'});case'ELEMENT_MERGE_FIELD':return t({'id':'ELEMENT_MERGE_FIELD','string':'merge\x20field','plural':'%0\x20merge\x20fields'},_0x5dc023);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x5dc023);case'EXTERNAL_SUGGESTION':return t({'id':'EXTERNAL_SUGGESTION','string':'This\x20suggestion\x20comes\x20from\x20an\x20external\x20source.'});case'EXTERNAL_IMPORT_WORD_SUGGESTION':return t({'string':'This\x20suggestion\x20comes\x20from\x20an\x20imported\x20Word\x20file.','id':'EXTERNAL_IMPORT_WORD_SUGGESTION'});case'EXTERNAL_AVATAR':return _0x29cbe9({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x5dc023);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x29cbe9({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x5dc023);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x5dc023);case'LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20insertion\x20suggestion.','id':'LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT'});case'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20deletion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT'},_0x5dc023);case'LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20deletion\x20suggestion.','id':'LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT'});case'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20formatting\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT'},_0x5dc023);case'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20formatting\x20suggestion.','id':'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT'});case'SUGGESTION_THREAD_ARIA_LABEL':return t({'string':'Suggestion\x20by\x20%1.\x20Created\x20on\x20%2.\x20%0\x20reply.\x20%3','plural':'Suggestion\x20by\x20%1.\x20Created\x20on\x20%2.\x20%0\x20replies.\x20%3','id':'SUGGESTION_THREAD_ARIA_LABEL'},_0x5dc023);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0xdb8546;}}
|
|
23
|
+
export function getTranslation(_0x2be268,_0x241121,_0x17ca85){const _0x15ca60=_0x2be268['t'],t=_0x2be268['t'];switch(_0x241121){case'Track\x20changes':return t('Track\x20changes');case'Accept\x20suggestion':return t('Accept\x20suggestion');case'Discard\x20suggestion':return t('Discard\x20suggestion');case'Accept\x20all\x20suggestions':return t('Accept\x20all\x20suggestions');case'Accept\x20all\x20selected\x20suggestions':return t('Accept\x20all\x20selected\x20suggestions');case'Discard\x20all\x20suggestions':return t('Discard\x20all\x20suggestions');case'Discard\x20all\x20selected\x20suggestions':return t('Discard\x20all\x20selected\x20suggestions');case'Preview\x20final\x20content':return t('Preview\x20final\x20content');case'Final\x20content\x20preview':return t('Final\x20content\x20preview');case'*Reset\x20font\x20size*':return t('*Reset\x20font\x20size*');case'*Reset\x20font\x20family*':return t('*Reset\x20font\x20family*');case'*Reset\x20font\x20color*':return t('*Reset\x20font\x20color*');case'*Reset\x20font\x20background\x20color*':return t('*Reset\x20font\x20background\x20color*');case'*Remove\x20image\x20text\x20alternative*':return t('*Remove\x20image\x20text\x20alternative*');case'*Reset\x20image\x20width*':return t('*Reset\x20image\x20width*');case'*Remove\x20link*':return t('*Remove\x20link*');case'*Check\x20item*':return t('*Check\x20item*');case'*Uncheck\x20item*':return t('*Uncheck\x20item*');case'*Remove\x20all\x20formatting*':return t('*Remove\x20all\x20formatting*');case'*Replace\x20table\x20cells*':return t('*Replace\x20table\x20cells*');case'*Merge\x20cells*':return t('*Merge\x20cells*');case'*Split\x20cell:*\x20vertically':return t('*Split\x20cell:*\x20vertically');case'*Split\x20cell:*\x20horizontally':return t('*Split\x20cell:*\x20horizontally');case'*Indent:*\x20%0':return t('*Indent:*\x20%0',_0x17ca85);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x17ca85);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x17ca85);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x17ca85);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x17ca85);case'*Format:*\x20change\x20table\x20properties':return t('*Format:*\x20change\x20table\x20properties');case'*Format:*\x20change\x20table\x20cell\x20properties':return t('*Format:*\x20change\x20table\x20cell\x20properties');case'*Format:*\x20insert\x20into\x20%0':return t('*Format:*\x20insert\x20into\x20%0',_0x17ca85);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x17ca85);case'*Replace\x20image*':return t('*Replace\x20image*');case'*Format:*\x20resize\x20table':return t('*Format:*\x20resize\x20table');case'*Format:*\x20set\x20order\x20to\x20reversed':return t('*Format:*\x20set\x20order\x20to\x20reversed');case'*Format:*\x20set\x20order\x20to\x20regular':return t('*Format:*\x20set\x20order\x20to\x20regular');case'*Format:*\x20set\x20start\x20index\x20to\x20%0':return t('*Format:*\x20set\x20start\x20index\x20to\x20%0',_0x17ca85);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x17ca85);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x17ca85);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x17ca85);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x17ca85);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x17ca85);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x17ca85);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x17ca85);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x17ca85);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x17ca85);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x17ca85);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x17ca85);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x17ca85);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x17ca85);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x17ca85);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x17ca85);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x17ca85);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0x17ca85);case'*Remove\x20highlight*':return t('*Remove\x20highlight*');case'FORMAT_HIGHLIGHT':return t({'string':'highlight','id':'FORMAT_HIGHLIGHT'});case'FORMAT_RESTRICTED_ENABLED':return t({'string':'*Enable\x20in\x20restricted\x20editing\x20mode*','id':'FORMAT_RESTRICTED_ENABLED'});case'FORMAT_RESTRICTED_DISABLED':return t({'string':'*Disable\x20in\x20restricted\x20editing\x20mode*','id':'FORMAT_RESTRICTED_DISABLED'});case'ELEMENT_TABLE':return t({'string':'table','plural':'%0\x20tables','id':'ELEMENT_TABLE'},_0x17ca85);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0x17ca85);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0x17ca85);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x17ca85);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x17ca85);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x17ca85);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x17ca85);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x17ca85);case'FORMAT_SIDE_IMAGE':return t({'string':'side\x20image','id':'FORMAT_SIDE_IMAGE'});case'ELEMENT_CAPTION':return t({'string':'caption','id':'ELEMENT_CAPTION'});case'ELEMENT_HORIZONTAL_LINE':return t({'string':'horizontal\x20line','plural':'%0\x20horizontal\x20lines','id':'ELEMENT_HORIZONTAL_LINE'},_0x17ca85);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x17ca85);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x17ca85);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x17ca85);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x17ca85);case'ELEMENT_DEFAULT_LIST_DEFAULT':return t({'string':'default\x20list\x20style','id':'ELEMENT_DEFAULT_LIST_DEFAULT'});case'ELEMENT_BULLETED_LIST':return t({'string':'bulleted\x20list','id':'ELEMENT_BULLETED_LIST'});case'ELEMENT_BULLETED_LIST_DEFAULT':return t({'string':'bulleted\x20list\x20(default)','id':'ELEMENT_BULLETED_LIST_DEFAULT'});case'ELEMENT_BULLETED_LIST_CIRCLE':return t({'string':'bulleted\x20list\x20(circle)','id':'ELEMENT_BULLETED_LIST_CIRCLE'});case'ELEMENT_BULLETED_LIST_DISC':return t({'string':'bulleted\x20list\x20(disc)','id':'ELEMENT_BULLETED_LIST_DISC'});case'ELEMENT_BULLETED_LIST_SQUARE':return t({'string':'bulleted\x20list\x20(square)','id':'ELEMENT_BULLETED_LIST_SQUARE'});case'ELEMENT_NUMBERED_LIST_DEFAULT':return t({'string':'numbered\x20list\x20(default)','id':'ELEMENT_NUMBERED_LIST_DEFAULT'});case'ELEMENT_NUMBERED_LIST':return t({'string':'numbered\x20list','id':'ELEMENT_NUMBERED_LIST'});case'ELEMENT_NUMBERED_LIST_DECIMAL':return t({'string':'numbered\x20list\x20(decimal)','id':'ELEMENT_NUMBERED_LIST_DECIMAL'});case'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO':return t({'string':'numbered\x20list\x20(decimal\x20with\x20leading\x20zero)','id':'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO'});case'ELEMENT_NUMBERED_LIST_LOWER_LATIN':return t({'string':'numbered\x20list\x20(lower-latin)','id':'ELEMENT_NUMBERED_LIST_LOWER_LATIN'});case'ELEMENT_NUMBERED_LIST_LOWER_ROMAN':return t({'string':'numbered\x20list\x20(lower-roman)','id':'ELEMENT_NUMBERED_LIST_LOWER_ROMAN'});case'ELEMENT_NUMBERED_LIST_UPPER_LATIN':return t({'string':'numbered\x20list\x20(upper-latin)','id':'ELEMENT_NUMBERED_LIST_UPPER_LATIN'});case'ELEMENT_NUMBERED_LIST_UPPER_ROMAN':return t({'string':'numbered\x20list\x20(upper-roman)','id':'ELEMENT_NUMBERED_LIST_UPPER_ROMAN'});case'ELEMENT_TODO_LIST':return t({'string':'to-do\x20list','id':'ELEMENT_TODO_LIST'});case'ELEMENT_MULTI_LEVEL_LIST':return t({'string':'multi-level\x20list','id':'ELEMENT_MULTI_LEVEL_LIST'});case'REPLACE_TEXT':return t({'string':'*Replace:*\x20%0\x20*with*\x20%1','id':'REPLACE_TEXT'},_0x17ca85);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x17ca85);case'FORMAT_ALIGNMENT':return t({'string':'alignment','id':'FORMAT_ALIGNMENT'});case'FORMAT_ALIGN_TO_LEFT':return t({'string':'align\x20to\x20left','id':'FORMAT_ALIGN_TO_LEFT'});case'FORMAT_ALIGN_TO_RIGHT':return t({'string':'align\x20to\x20right','id':'FORMAT_ALIGN_TO_RIGHT'});case'FORMAT_ALIGN_TO_CENTER':return t({'string':'align\x20to\x20center','id':'FORMAT_ALIGN_TO_CENTER'});case'FORMAT_JUSTIFY_TEXT':return t({'string':'justify','id':'FORMAT_JUSTIFY_TEXT'});case'FORMAT_BOLD':return t({'string':'bold','id':'FORMAT_BOLD'});case'FORMAT_ITALIC':return t({'string':'italic','id':'FORMAT_ITALIC'});case'FORMAT_UNDERLINE':return t({'string':'underline','id':'FORMAT_UNDERLINE'});case'FORMAT_CODE':return t({'string':'code','id':'FORMAT_CODE'});case'FORMAT_STRIKETHROUGH':return t({'string':'strikethrough','id':'FORMAT_STRIKETHROUGH'});case'FORMAT_SUBSCRIPT':return t({'string':'subscript','id':'FORMAT_SUBSCRIPT'});case'FORMAT_SUPERSCRIPT':return t({'string':'superscript','id':'FORMAT_SUPERSCRIPT'});case'ELEMENT_BLOCK_QUOTE':return t({'string':'block\x20quote','id':'ELEMENT_BLOCK_QUOTE'});case'ELEMENT_CODE_BLOCK':return t({'string':'code\x20block','plural':'%0\x20code\x20blocks','id':'ELEMENT_CODE_BLOCK'},_0x17ca85);case'FORMAT_HEADER_COLUMN':return t({'string':'header\x20column','id':'FORMAT_HEADER_COLUMN'});case'FORMAT_REGULAR_COLUMN':return t({'string':'regular\x20column','id':'FORMAT_REGULAR_COLUMN'});case'FORMAT_HEADER_ROW':return t({'string':'header\x20row','id':'FORMAT_HEADER_ROW'});case'FORMAT_REGULAR_ROW':return t({'string':'regular\x20row','id':'FORMAT_REGULAR_ROW'});case'FORMAT_INDENT':return t({'string':'indent','id':'FORMAT_INDENT'});case'FORMAT_LIST_REVERSED':return t({'string':'list\x20reversed','id':'FORMAT_LIST_REVERSED'});case'FORMAT_LIST_START':return t({'string':'list\x20start','id':'FORMAT_LIST_START'});case'FORMAT_FONT_SIZE':return t({'string':'font\x20size','id':'FORMAT_FONT_SIZE'});case'FORMAT_FONT_FAMILY':return t({'string':'font\x20family','id':'FORMAT_FONT_FAMILY'});case'FORMAT_FONT_COLOR':return t({'string':'font\x20color','id':'FORMAT_FONT_COLOR'});case'FORMAT_FONT_BACKGROUND':return t({'string':'font\x20background\x20color','id':'FORMAT_FONT_BACKGROUND'});case'FORMAT_IMAGE_SIZE':return t({'string':'image\x20size','id':'FORMAT_IMAGE_SIZE'});case'FORMAT_STYLE':return t({'string':'style','id':'FORMAT_STYLE'});case'FORMAT_LINE_HEIGHT':return t({'string':'line\x20height','id':'FORMAT_LINE_HEIGHT'});case'FORMAT_TABLE_BORDER_COLOR':return t({'string':'table\x20border\x20color','id':'FORMAT_TABLE_BORDER_COLOR'});case'FORMAT_TABLE_BORDER_STYLE':return t({'string':'table\x20border\x20style','id':'FORMAT_TABLE_BORDER_STYLE'});case'FORMAT_TABLE_BORDER_WIDTH':return t({'string':'table\x20border\x20width','id':'FORMAT_TABLE_BORDER_WIDTH'});case'FORMAT_TABLE_ALIGNMENT':return t({'string':'table\x20alignment','id':'FORMAT_TABLE_ALIGNMENT'});case'FORMAT_TABLE_WIDTH':return t({'string':'table\x20width','id':'FORMAT_TABLE_WIDTH'});case'FORMAT_TABLE_HEIGHT':return t({'string':'table\x20height','id':'FORMAT_TABLE_HEIGHT'});case'FORMAT_TABLE_BACKGROUND_COLOR':return t({'string':'table\x20background\x20color','id':'FORMAT_TABLE_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_BORDER_COLOR':return t({'string':'table\x20cell\x20border\x20color','id':'FORMAT_TABLE_CELL_BORDER_COLOR'});case'FORMAT_TABLE_CELL_BORDER_STYLE':return t({'string':'table\x20cell\x20border\x20style','id':'FORMAT_TABLE_CELL_BORDER_STYLE'});case'FORMAT_TABLE_CELL_BORDER_WIDTH':return t({'string':'table\x20cell\x20border\x20width','id':'FORMAT_TABLE_CELL_BORDER_WIDTH'});case'FORMAT_TABLE_CELL_PADDING':return t({'string':'table\x20cell\x20padding','id':'FORMAT_TABLE_CELL_PADDING'});case'FORMAT_TABLE_CELL_WIDTH':return t({'string':'table\x20cell\x20width','id':'FORMAT_TABLE_CELL_WIDTH'});case'FORMAT_TABLE_CELL_HEIGHT':return t({'string':'table\x20cell\x20height','id':'FORMAT_TABLE_CELL_HEIGHT'});case'FORMAT_TABLE_CELL_BACKGROUND_COLOR':return t({'string':'table\x20cell\x20background\x20color','id':'FORMAT_TABLE_CELL_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT':return t({'string':'table\x20cell\x20horizontal\x20alignment','id':'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT'});case'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT':return t({'string':'table\x20cell\x20vertical\x20alignment','id':'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT'});case'PENDING_ACTION_SUGGESTION':return t({'string':'Unsaved\x20change\x20in\x20suggestion.','id':'PENDING_ACTION_SUGGESTION'});case'ELEMENT_TABLE_WITH_TEXT':return t({'string':'table\x20*with\x20text*\x20%0','id':'ELEMENT_TABLE_WITH_TEXT'},_0x17ca85);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x17ca85);case'ELEMENT_TABLE_ROW_WITH_TEXT':return t({'string':'table\x20row\x20*with\x20text*\x20%1','plural':'%0\x20table\x20rows\x20*with\x20text*\x20%1','id':'ELEMENT_TABLE_ROW_WITH_TEXT'},_0x17ca85);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x17ca85);case'ELEMENT_TABLE_COLUMN_WITH_TEXT':return t({'string':'table\x20column\x20*with\x20text*\x20%1','plural':'%0\x20table\x20columns\x20*with\x20text*\x20%1','id':'ELEMENT_TABLE_COLUMN_WITH_TEXT'},_0x17ca85);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x17ca85);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x17ca85);case'ELEMENT_TITLE':return t({'id':'ELEMENT_TITLE','string':'title'});case'ELEMENT_MERGE_FIELD':return t({'id':'ELEMENT_MERGE_FIELD','string':'merge\x20field','plural':'%0\x20merge\x20fields'},_0x17ca85);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x17ca85);case'EXTERNAL_SUGGESTION':return t({'id':'EXTERNAL_SUGGESTION','string':'This\x20suggestion\x20comes\x20from\x20an\x20external\x20source.'});case'EXTERNAL_IMPORT_WORD_SUGGESTION':return t({'string':'This\x20suggestion\x20comes\x20from\x20an\x20imported\x20Word\x20file.','id':'EXTERNAL_IMPORT_WORD_SUGGESTION'});case'EXTERNAL_AVATAR':return _0x15ca60({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x17ca85);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x15ca60({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x17ca85);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x17ca85);case'LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20insertion\x20suggestion.','id':'LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT'});case'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20deletion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT'},_0x17ca85);case'LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20deletion\x20suggestion.','id':'LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT'});case'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20formatting\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT'},_0x17ca85);case'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20formatting\x20suggestion.','id':'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT'});case'SUGGESTION_THREAD_ARIA_LABEL':return t({'string':'Suggestion\x20by\x20%1.\x20Created\x20on\x20%2.\x20%0\x20reply.\x20%3','plural':'Suggestion\x20by\x20%1.\x20Created\x20on\x20%2.\x20%0\x20replies.\x20%3','id':'SUGGESTION_THREAD_ARIA_LABEL'},_0x17ca85);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x241121;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x104484,_0x17ef8c){const _0x41847e=_0xf015,_0x39be10=_0x104484();while(!![]){try{const _0x19f47e=-parseInt(_0x41847e(0x111))/0x1*(-parseInt(_0x41847e(0x13e))/0x2)+-parseInt(_0x41847e(0x13d))/0x3+-parseInt(_0x41847e(0x141))/0x4+parseInt(_0x41847e(0x10e))/0x5*(parseInt(_0x41847e(0x123))/0x6)+parseInt(_0x41847e(0x13f))/0x7+parseInt(_0x41847e(0x112))/0x8+-parseInt(_0x41847e(0x10c))/0x9;if(_0x19f47e===_0x17ef8c)break;else _0x39be10['push'](_0x39be10['shift']());}catch(_0xa4f6a){_0x39be10['push'](_0x39be10['shift']());}}}(_0x443e,0x7e7d2));export function normalizeDescription(_0x17f0a4){const _0x29373f=_0xf015;return Array[_0x29373f(0x133)](_0x17f0a4)||(_0x17f0a4=[_0x17f0a4]),_0x17f0a4[_0x29373f(0x121)](_0x1c5ef4=>{const _0x31a024=_0x29373f,_0x30a7fa=_0x1c5ef4[_0x31a024(0x12c)][_0x31a024(0x120)](/\*/g,''),_0xd3810e=_0x1c5ef4[_0x31a024(0x122)]?_0x31a024(0x140)+_0x1c5ef4[_0x31a024(0x122)][_0x31a024(0x11c)]+']':'';return'['+_0x1c5ef4[_0x31a024(0x113)]+']\x20'+_0x30a7fa+_0xd3810e;})[_0x29373f(0x11a)](';\x20');}export function renderDescription(_0x57c715,_0x3216d7){const _0x3422e3=_0xf015;let _0x40d834='';return _0x40d834+=_0x57c715[_0x3422e3(0x126)]('*')[_0x3422e3(0x121)]((_0x4fe012,_0x257079)=>_0x257079%0x2!=0x0?_0x3422e3(0x135)+Zt(_0x4fe012)+_0x3422e3(0x131):Zt(_0x4fe012))[_0x3422e3(0x11a)](''),_0x3216d7&&(_0x40d834+=_0x3422e3(0x110)+_0x3216d7[_0x3422e3(0x11c)]+_0x3422e3(0x137)+_0x3216d7[_0x3422e3(0x114)]+_0x3422e3(0x10f)),_0x40d834;}function _0x443e(){const _0x42a62d=['isCollapsed','end','change','isMultiRange','createPositionAt','content','start','createElement','span','innerText','</span>','attribute','isArray','createPositionBefore','<span\x20class=\x22ck-suggestion-type\x22>','next','\x22\x20title=\x22','isInContent','add','isIntersecting','splice','innerHTML','2429052YSFbgv','33190Vhzdog','4797604wNsqln','\x20[color\x20','3823356WOnRhc','1700172uGUOSJ','schema','52280bRALLT','\x22></span>','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','9JszmHk','5992336lsfSjL','type','title','createRange','push','getRanges','isObject','from','join','sort','value','createPositionAfter','deletion','isTouching','replace','map','color','510XbOWxd','length','execute','split'];_0x443e=function(){return _0x42a62d;};return _0x443e();}function Zt(_0x3c1f20){const _0x59ccae=_0xf015,_0x2dd410=document[_0x59ccae(0x12e)](_0x59ccae(0x12f));return _0x2dd410[_0x59ccae(0x130)]=_0x3c1f20,_0x2dd410[_0x59ccae(0x13c)];}export function sortSuggestions(_0x2cb977){const _0x3cbd4e=_0xf015;return _0x2cb977[_0x3cbd4e(0x11b)]((_0x3b4964,_0x16bac3)=>_0x3cbd4e(0x132)===_0x3b4964[_0x3cbd4e(0x113)]&&_0x3cbd4e(0x132)!==_0x16bac3[_0x3cbd4e(0x113)]?-0x1:_0x3cbd4e(0x132)!==_0x3b4964[_0x3cbd4e(0x113)]&&_0x3cbd4e(0x132)===_0x16bac3[_0x3cbd4e(0x113)]?0x1:_0x3cbd4e(0x11e)==_0x3b4964[_0x3cbd4e(0x113)]&&_0x3cbd4e(0x11e)!=_0x16bac3[_0x3cbd4e(0x113)]?-0x1:_0x3cbd4e(0x11e)!=_0x3b4964[_0x3cbd4e(0x113)]&&_0x3cbd4e(0x11e)==_0x16bac3[_0x3cbd4e(0x113)]?0x1:0x0);}export function getSelectedSuggestions(_0x5d3041,_0x4e169f){const _0x386f8d=_0xf015,_0xa1bc3c=Array[_0x386f8d(0x119)](_0x5d3041[_0x386f8d(0x117)]()),_0x295b44=new Set();for(const _0x5e26c4 of _0x4e169f)if(_0x5e26c4[_0x386f8d(0x138)]){for(const _0x501f13 of _0xa1bc3c)for(const _0x1eff43 of _0x5e26c4[_0x386f8d(0x117)]())(_0x501f13[_0x386f8d(0x13a)](_0x1eff43)||_0x5d3041[_0x386f8d(0x127)]&&!_0x5e26c4[_0x386f8d(0x12a)]&&_0x5e26c4[_0x386f8d(0x136)]&&_0x1eff43[_0x386f8d(0x128)][_0x386f8d(0x11f)](_0x501f13[_0x386f8d(0x12d)]))&&_0x295b44[_0x386f8d(0x139)](_0x5e26c4);}return _0x295b44;}export function getRangesOfBlockGroups(_0x3a2e60,_0xbc35ae){const _0xaa60ec=_0xf015;let _0x812811,_0x566410=0x0;const _0x3f37a9=[],_0x5d597e=_0xbc35ae[_0xaa60ec(0x10d)];for(;_0x566410<_0x3a2e60[_0xaa60ec(0x124)];){const _0x37f71f=_0x3a2e60[_0x566410],_0x1d56e6=_0x3a2e60[_0x566410+0x1];_0x812811||(_0x812811=_0xbc35ae[_0xaa60ec(0x134)](_0x37f71f)),tn(_0xbc35ae,_0x37f71f,_0x1d56e6)||(_0x3f37a9[_0xaa60ec(0x116)](_0xbc35ae[_0xaa60ec(0x115)](_0x812811,_0x5d597e[_0xaa60ec(0x118)](_0x37f71f)?_0xbc35ae[_0xaa60ec(0x11d)](_0x37f71f):_0xbc35ae[_0xaa60ec(0x12b)](_0x37f71f,_0xaa60ec(0x128)))),_0x812811=null),_0x566410++;}return _0x3f37a9;}function tn(_0x25a7e2,_0x479980,_0xd10118){const _0x3e176c=_0xf015;if(!_0xd10118)return!0x1;const _0xa83c36=_0x25a7e2[_0x3e176c(0x11d)](_0x479980),_0x5a182e=_0x25a7e2[_0x3e176c(0x134)](_0xd10118);return _0xa83c36[_0x3e176c(0x11f)](_0x5a182e);}function _0xf015(_0x2d5ba9,_0x3b456b){const _0x443e17=_0x443e();return _0xf015=function(_0xf01557,_0x203ea7){_0xf01557=_0xf01557-0x10c;let _0x81326f=_0x443e17[_0xf01557];return _0x81326f;},_0xf015(_0x2d5ba9,_0x3b456b);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x37e70c,_0x49143e,_0x33fd45){const _0x5df463=_0xf015;for(;_0x33fd45[_0x5df463(0x124)];){const _0x160abd=_0x33fd45[_0x5df463(0x13b)](0x0,0x64);_0x37e70c[_0x5df463(0x129)](()=>{const _0x3ef07b=_0x5df463;for(const _0x3a266c of _0x160abd)_0x3a266c[_0x3ef07b(0x138)]&&_0x49143e[_0x3ef07b(0x125)](_0x3a266c['id']);});}}
|