@ckeditor/ckeditor5-track-changes 44.2.0-alpha.3 → 44.2.0-alpha.5
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/dist/index.js +3 -3
- 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/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/package.json +25 -25
- 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/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/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.d.ts +18 -0
- package/src/integrations/replacesourcecommand.js +23 -0
- 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 +1 -1
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.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.d.ts +2 -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
|
+
const _0x481711=_0x304a;(function(_0x469b78,_0x398a6d){const _0x27f0f2=_0x304a,_0x5ca11f=_0x469b78();while(!![]){try{const _0x47436a=parseInt(_0x27f0f2(0x7c))/0x1*(-parseInt(_0x27f0f2(0x82))/0x2)+parseInt(_0x27f0f2(0x88))/0x3*(-parseInt(_0x27f0f2(0x78))/0x4)+-parseInt(_0x27f0f2(0x7e))/0x5*(-parseInt(_0x27f0f2(0x80))/0x6)+parseInt(_0x27f0f2(0x7d))/0x7*(-parseInt(_0x27f0f2(0x70))/0x8)+-parseInt(_0x27f0f2(0x86))/0x9+-parseInt(_0x27f0f2(0x7f))/0xa*(parseInt(_0x27f0f2(0x87))/0xb)+parseInt(_0x27f0f2(0x7a))/0xc;if(_0x47436a===_0x398a6d)break;else _0x5ca11f['push'](_0x5ca11f['shift']());}catch(_0x2e2ee7){_0x5ca11f['push'](_0x5ca11f['shift']());}}}(_0x5069,0xe9622));import{Plugin as _0x4adb8a}from'ckeditor5/src/core.js';import{Dialog as _0x15c457}from'ckeditor5/src/ui.js';import _0x5892c from'./trackchangesdata.js';import _0x329f3a from'./commands/previewfinalcontentcommand.js';import'../theme/trackchangespreview.css';function _0x304a(_0x339c11,_0x4f998f){const _0x506967=_0x5069();return _0x304a=function(_0x304a1e,_0x5b54a4){_0x304a1e=_0x304a1e-0x70;let _0x54cddb=_0x506967[_0x304a1e];return _0x54cddb;},_0x304a(_0x339c11,_0x4f998f);}function _0x5069(){const _0x3ec472=['define','666NIvKYn','trackChanges.preview.renderFunction','add','requires','11015226XVqMIM','11XwZJrX','3pBTunI','8zcOqaH','config','previewFinalContent','editor','pluginName','appendChild','commands','TrackChangesPreview','4095892GcJMwL','isOfficialPlugin','64448088qYhqRp','isPremiumPlugin','2203lOPXlo','10501057fzqUbJ','20kupZfG','9065470ZudSzz','1460172hSLVbi'];_0x5069=function(){return _0x3ec472;};return _0x5069();}export default class te extends _0x4adb8a{static get[_0x481711(0x85)](){return[_0x5892c,_0x15c457];}static get[_0x481711(0x74)](){const _0x1deb9f=_0x481711;return _0x1deb9f(0x77);}static get[_0x481711(0x79)](){return!0x0;}static get[_0x481711(0x7b)](){return!0x0;}constructor(_0x399db1){const _0x2e5de3=_0x481711;super(_0x399db1),_0x399db1[_0x2e5de3(0x76)][_0x2e5de3(0x84)](_0x2e5de3(0x72),new _0x329f3a(this[_0x2e5de3(0x73)])),_0x399db1[_0x2e5de3(0x71)][_0x2e5de3(0x81)](_0x2e5de3(0x83),(_0x3db7b2,_0x416d81)=>{const _0x152274=_0x2e5de3;for(const _0x16eb2c of _0x416d81)_0x3db7b2[_0x152274(0x75)](_0x16eb2c);});}}
|
package/src/trackchangesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x173f48=_0x3878;(function(_0x3df67d,_0x329e9f){const _0x3ad5f4=_0x3878,_0x51efdf=_0x3df67d();while(!![]){try{const _0x54ee1e=-parseInt(_0x3ad5f4(0xdc))/0x1+parseInt(_0x3ad5f4(0xe8))/0x2*(parseInt(_0x3ad5f4(0x10d))/0x3)+parseInt(_0x3ad5f4(0x185))/0x4+parseInt(_0x3ad5f4(0x12a))/0x5+-parseInt(_0x3ad5f4(0x147))/0x6*(-parseInt(_0x3ad5f4(0x10f))/0x7)+parseInt(_0x3ad5f4(0xe2))/0x8+-parseInt(_0x3ad5f4(0x11a))/0x9;if(_0x54ee1e===_0x329e9f)break;else _0x51efdf['push'](_0x51efdf['shift']());}catch(_0x4db3e5){_0x51efdf['push'](_0x51efdf['shift']());}}}(_0xb300,0xe2ab0));import{Plugin as _0x10d76e}from'ckeditor5/src/core.js';import{Collection as _0x241a59}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x2dd901,createDropdown as _0x25a2cf,ListSeparatorView as _0xd80050,MenuBarMenuView as _0xdf4afd,MenuBarMenuListView as _0x1042ef,MenuBarMenuListItemView as _0x3cf2cc,MenuBarMenuListItemButtonView as _0x4fbd1b,SplitButtonView as _0x5226fc,ViewModel as _0x48ff86}from'ckeditor5/src/ui.js';import{Users as _0x4579ae,getDateTimeFormatter as _0x3a70bc,getAllMarkersDomElementsSorted as _0x465473}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x3878(_0x1ed4a0,_0x137a88){const _0xb30022=_0xb300();return _0x3878=function(_0x38783f,_0x3eb576){_0x38783f=_0x38783f-0xdb;let _0x13a36c=_0xb30022[_0x38783f];return _0x13a36c;},_0x3878(_0x1ed4a0,_0x137a88);}import _0x5a7568 from'./trackchangesediting.js';import _0x1a94e7 from'./ui/suggestioncontroller.js';import _0x55a003 from'./ui/view/suggestionthreadview.js';import _0x43106b from'./ui/view/suggestionview.js';import{getTranslation as _0x361432}from'./utils/common-translations.js';import _0x3580e9 from'../theme/icons/track-changes.svg';export default class d extends _0x10d76e{static get[_0x173f48(0x17f)](){const _0x3d87d5=_0x173f48;return[_0x5a7568,_0x4579ae,_0x3d87d5(0x162),_0x3d87d5(0x124),_0x3d87d5(0x166)];}static get[_0x173f48(0x15d)](){const _0x1e7baa=_0x173f48;return _0x1e7baa(0x15a);}static get[_0x173f48(0xf3)](){return!0x0;}static get[_0x173f48(0x17e)](){return!0x0;}constructor(_0x78c7b8){const _0x3c8864=_0x173f48;super(_0x78c7b8),this[_0x3c8864(0x181)]=new Map(),this[_0x3c8864(0x148)]=new Map(),this[_0x3c8864(0xe4)]=new Map(),this[_0x3c8864(0x11e)]=new Map();const _0x5b5992=this[_0x3c8864(0x157)][_0x3c8864(0xf0)];_0x5b5992[_0x3c8864(0x109)](_0x3c8864(0x113),_0x55a003),_0x5b5992[_0x3c8864(0x109)](_0x3c8864(0x15f),_0x43106b),_0x5b5992[_0x3c8864(0x109)](_0x3c8864(0x177),!0x1),this[_0x3c8864(0x171)]=_0x5b5992[_0x3c8864(0x159)](_0x3c8864(0x177));}[_0x173f48(0x154)](_0x162c53,_0x331932){const _0x52ab20=_0x173f48;0x0===this[_0x52ab20(0x11e)][_0x52ab20(0x121)]&&setTimeout(()=>{const _0x31fc8a=_0x52ab20;for(const [_0x4f083a,_0x4717f9]of this[_0x31fc8a(0x11e)]){const _0x554ad9=this[_0x31fc8a(0x181)][_0x31fc8a(0xdf)](_0x4f083a);_0x554ad9||_0x4717f9?_0x554ad9&&_0x4717f9&&this[_0x31fc8a(0x149)](_0x4f083a):this[_0x31fc8a(0x184)](_0x4f083a);}this[_0x31fc8a(0x11e)][_0x31fc8a(0x13d)](),this[_0x31fc8a(0x157)][_0x31fc8a(0x15e)][_0x31fc8a(0x159)](_0x31fc8a(0x166))[_0x31fc8a(0x13b)](),this[_0x31fc8a(0xfb)]();},0xa),this[_0x52ab20(0x11e)][_0x52ab20(0x173)](_0x162c53,_0x331932);}[_0x173f48(0x146)](){const _0x4d7897=_0x173f48,_0x59bf8c=this[_0x4d7897(0x157)],_0xfc1d4e=_0x59bf8c[_0x4d7897(0x15e)][_0x4d7897(0x159)](_0x4d7897(0x16f)),_0x144249=_0x59bf8c[_0x4d7897(0x15e)][_0x4d7897(0x159)](_0x4d7897(0x124)),_0x5e8d1d=_0x59bf8c[_0x4d7897(0x15e)][_0x4d7897(0x159)](_0x4d7897(0x166)),_0x207efd=_0x59bf8c[_0x4d7897(0x15e)][_0x4d7897(0x159)](_0x4d7897(0x162));this[_0x4d7897(0x138)](),_0x5e8d1d[_0x4d7897(0x12d)](()=>{const _0x49925a=_0x4d7897,_0x579faf=[];for(const [_0x976cc9,_0x3aa70b]of Array[_0x49925a(0x175)](this[_0x49925a(0x181)])){const _0x419924=_0x976cc9[_0x49925a(0xe7)](),_0x54224f=[];for(const _0x397eb3 of _0x419924){if(!_0x397eb3[_0x49925a(0x170)])continue;if(_0x397eb3[_0x49925a(0x13e)]){_0x54224f[_0x49925a(0x135)](..._0x397eb3[_0x49925a(0x104)]());continue;}const _0x1cfbe3=_0x397eb3[_0x49925a(0x150)]();if(_0x54224f[_0x49925a(0xe6)]>0x0){const _0xc5d183=_0x54224f[0x0][_0x49925a(0xf9)](_0x1cfbe3);if(_0xc5d183){_0x54224f[0x0]=_0xc5d183;continue;}}_0x54224f[_0x49925a(0x135)](_0x1cfbe3);}_0x579faf[_0x49925a(0x135)]([_0x3aa70b[_0x49925a(0x122)],_0x54224f]);}return _0x579faf;}),this[_0x4d7897(0x144)](_0xfc1d4e,_0x4d7897(0x110),(_0x4fd0d6,_0x1c8baf)=>{const _0x6ae747=_0x4d7897;this[_0x6ae747(0x144)](_0x1c8baf,_0x6ae747(0x16d),(_0x309843,_0x4feca1,_0x591f52,_0x1d7992)=>{const _0x814693=_0x6ae747;_0x1c8baf[_0x814693(0x170)]&&(null==_0x591f52?(this[_0x814693(0xfc)](_0x1d7992[_0x814693(0x17c)]),this[_0x814693(0x154)](_0x1c8baf,!0x1)):(this[_0x814693(0xfc)](_0x591f52[_0x814693(0x17c)]),null==_0x1d7992&&this[_0x814693(0x154)](_0x1c8baf,!0x0)));}),null!==_0x1c8baf[_0x6ae747(0xe0)]?this[_0x6ae747(0xfc)](_0x1c8baf[_0x6ae747(0x17c)]):this[_0x6ae747(0x154)](_0x1c8baf,!0x1);}),this[_0x4d7897(0x144)](_0xfc1d4e,_0x4d7897(0xfd),(_0x10009f,_0x387a8f,_0x1060f2)=>{const _0x347ffa=_0x4d7897;this[_0x347ffa(0x165)](_0x387a8f,_0x347ffa(0x16d)),this[_0x347ffa(0x11e)][_0x347ffa(0x132)](_0x387a8f),this[_0x347ffa(0x181)][_0x347ffa(0xdf)](_0x387a8f)&&this[_0x347ffa(0x149)](_0x387a8f),_0x1060f2&&this[_0x347ffa(0xfc)](_0x1060f2[_0x347ffa(0x17c)]);}),this[_0x4d7897(0x144)](_0xfc1d4e,_0x4d7897(0x14d),(_0x41aea6,_0x59023e)=>{const _0x4eca7a=_0x4d7897;this[_0x4eca7a(0xfc)](_0x59023e);}),this[_0x4d7897(0x144)](_0x144249,_0x4d7897(0x137),()=>{const _0x2d2563=_0x4d7897;this[_0x2d2563(0xfb)]();}),this[_0x4d7897(0x144)](_0x207efd,_0x4d7897(0xdd),(_0x194f9b,{threadId:_0x52ae8c,isFromAdapter:_0x24f8c3})=>{const _0x5a55f2=_0x4d7897;if(_0x24f8c3||!_0xfc1d4e[_0x5a55f2(0x115)](_0x52ae8c))return;const _0x33cb3a=_0xfc1d4e[_0x5a55f2(0xec)](_0x52ae8c);this[_0x5a55f2(0x181)][_0x5a55f2(0x159)](_0x33cb3a)[_0x5a55f2(0x122)][_0x5a55f2(0x134)][_0x5a55f2(0x131)](-0x1);},{'priority':_0x4d7897(0x108)}),this[_0x4d7897(0x187)]=this[_0x4d7897(0x157)][_0x4d7897(0xf0)][_0x4d7897(0x159)](_0x4d7897(0x187));const _0x3f1d24=this[_0x4d7897(0x157)];this[_0x4d7897(0x151)]=setInterval(()=>{const _0x1fc677=_0x4d7897;let _0x498bfe;for(const _0x48438a in _0x3f1d24){const _0x18d9ef=_0x48438a,_0x54bcaf=_0x3f1d24[_0x18d9ef];if(_0x1fc677(0x105)==_0x54bcaf||_0x1fc677(0x106)==_0x54bcaf||_0x1fc677(0x136)==_0x54bcaf||_0x1fc677(0x101)==_0x54bcaf||_0x1fc677(0x186)==_0x54bcaf||_0x1fc677(0x13f)==_0x54bcaf||_0x1fc677(0x15c)==_0x54bcaf||_0x1fc677(0x128)==_0x54bcaf){delete _0x3f1d24[_0x18d9ef],_0x498bfe=_0x54bcaf,clearInterval(this[_0x1fc677(0x151)]),this[_0x1fc677(0x151)]=void 0x0;break;}}_0x1fc677(0x106)==_0x498bfe&&_0x3f1d24[_0x1fc677(0x107)](_0x1fc677(0x174)),_0x1fc677(0x136)==_0x498bfe&&_0x3f1d24[_0x1fc677(0x107)](_0x1fc677(0x163)),_0x1fc677(0x101)==_0x498bfe&&_0x3f1d24[_0x1fc677(0x107)](_0x1fc677(0x178)),_0x1fc677(0x186)==_0x498bfe&&_0x3f1d24[_0x1fc677(0x107)](_0x1fc677(0x172),_0x1fc677(0xe1)),_0x1fc677(0x13f)==_0x498bfe&&_0x3f1d24[_0x1fc677(0x107)](_0x1fc677(0x116)),_0x1fc677(0x15c)==_0x498bfe&&_0x3f1d24[_0x1fc677(0x107)](_0x1fc677(0x12e)),_0x1fc677(0x128)==_0x498bfe&&_0x3f1d24[_0x1fc677(0x107)](_0x1fc677(0x14f));},0x3e8);}[_0x173f48(0xfb)](){const _0x178d06=_0x173f48,_0x49a357=this[_0x178d06(0x157)][_0x178d06(0x15e)][_0x178d06(0x159)](_0x178d06(0x124)),_0x225f88=this[_0x178d06(0x157)][_0x178d06(0x15e)][_0x178d06(0x159)](_0x178d06(0x16f)),_0x4e71f9=Array[_0x178d06(0x175)](_0x49a357[_0x178d06(0x119)],_0x4ddbf6=>_0x4ddbf6[_0x178d06(0x11b)])[_0x178d06(0x141)](_0x2a8d89=>this[_0x178d06(0x148)][_0x178d06(0xdf)](_0x2a8d89)),_0x1f5620=[];for(const _0x4fd342 of _0x4e71f9){const _0x227f1a=this[_0x178d06(0x148)][_0x178d06(0x159)](_0x4fd342)[_0x178d06(0x155)][_0x178d06(0xe7)]();_0x1f5620[_0x178d06(0x135)](..._0x227f1a[_0x178d06(0xfa)]((_0x314fd0,_0x8e07d9)=>[..._0x314fd0,..._0x8e07d9[_0x178d06(0x16c)]()],[]));}_0x225f88[_0x178d06(0xdb)]=_0x1f5620;}[_0x173f48(0x138)](){const _0x29b3b7=_0x173f48,_0x18b746=this[_0x29b3b7(0x157)],_0x29bf74=_0x18b746[_0x29b3b7(0x152)],_0x199f30=_0x361432(_0x29bf74,_0x29b3b7(0x142)),_0x1ef276=new _0x241a59([{'type':_0x29b3b7(0x182),'model':new _0x48ff86({'withText':!0x0,'isToggleable':!0x0,'label':_0x199f30,'commandName':_0x29b3b7(0x17b),'role':_0x29b3b7(0x169)})},{'type':_0x29b3b7(0x188)},{'type':_0x29b3b7(0xe5),'model':new _0x48ff86({'withText':!0x0,'label':_0x361432(_0x29bf74,_0x29b3b7(0x145)),'commandName':_0x29b3b7(0x112),'role':_0x29b3b7(0x143)})},{'type':_0x29b3b7(0xe5),'model':new _0x48ff86({'withText':!0x0,'label':_0x361432(_0x29bf74,_0x29b3b7(0x111)),'commandName':_0x29b3b7(0xde),'role':_0x29b3b7(0x143)})},{'type':_0x29b3b7(0xe5),'model':new _0x48ff86({'withText':!0x0,'label':_0x361432(_0x29bf74,_0x29b3b7(0xe9)),'commandName':_0x29b3b7(0x189),'role':_0x29b3b7(0x143)})},{'type':_0x29b3b7(0xe5),'model':new _0x48ff86({'withText':!0x0,'label':_0x361432(_0x29bf74,_0x29b3b7(0x118)),'commandName':_0x29b3b7(0x11f),'role':_0x29b3b7(0x143)})}]);_0x18b746[_0x29b3b7(0x15e)][_0x29b3b7(0xdf)](_0x29b3b7(0x14a))&&_0x1ef276[_0x29b3b7(0x156)]([{'type':_0x29b3b7(0x188)},{'type':_0x29b3b7(0xe5),'model':new _0x48ff86({'withText':!0x0,'label':_0x361432(_0x29bf74,_0x29b3b7(0x123)),'commandName':_0x29b3b7(0x168),'role':_0x29b3b7(0x143)})}]);for(const _0x578ea3 of _0x1ef276)if(ke(_0x578ea3)){const _0x191959=_0x18b746[_0x29b3b7(0xeb)][_0x29b3b7(0x159)](_0x578ea3[_0x29b3b7(0x155)][_0x29b3b7(0x114)]);_0x578ea3[_0x29b3b7(0x155)][_0x29b3b7(0x130)](_0x29b3b7(0x180),_0x29b3b7(0x127))['to'](_0x191959,_0x29b3b7(0xf7),_0x29b3b7(0x127));}_0x18b746['ui'][_0x29b3b7(0xff)][_0x29b3b7(0xf8)](_0x29b3b7(0x17b),_0x4a231c=>this[_0x29b3b7(0x153)](_0x4a231c,_0x1ef276,_0x199f30)),_0x18b746['ui'][_0x29b3b7(0xff)][_0x29b3b7(0xf8)](_0x29b3b7(0xf2),_0x290a1c=>this[_0x29b3b7(0x16b)](_0x290a1c,_0x1ef276,_0x199f30));}[_0x173f48(0x153)](_0x4ee800,_0x359435,_0x1b8c85){const _0x512555=_0x173f48,_0x2d1158=_0x25a2cf(_0x4ee800,_0x5226fc),_0x3e8027=this[_0x512555(0x157)][_0x512555(0xeb)][_0x512555(0x159)](_0x512555(0x17b));_0x2d1158[_0x512555(0x10a)][_0x512555(0x173)]({'tooltip':_0x1b8c85,'label':_0x1b8c85,'icon':_0x3580e9}),_0x2d1158[_0x512555(0x10a)][_0x512555(0x130)](_0x512555(0x180))['to'](_0x3e8027,_0x512555(0xf7)),_0x2d1158[_0x512555(0x10a)]['on'](_0x512555(0x120),()=>{const _0x4ec0a0=_0x512555;_0x3e8027[_0x4ec0a0(0x120)](),this[_0x4ec0a0(0x157)][_0x4ec0a0(0xf6)][_0x4ec0a0(0x122)][_0x4ec0a0(0x131)]();}),_0x2dd901(_0x2d1158,_0x359435,{'role':_0x512555(0x12c)});const _0x2aa557=[];for(const _0x1c7ec8 of _0x359435)ke(_0x1c7ec8)&&_0x2aa557[_0x512555(0x135)](this[_0x512555(0x157)][_0x512555(0xeb)][_0x512555(0x159)](_0x1c7ec8[_0x512555(0x155)][_0x512555(0x114)]));const _0x5371d0=_0x2d1158[_0x512555(0x10a)];return _0x5371d0[_0x512555(0x161)][_0x512555(0x11d)](_0x512555(0x127)),_0x5371d0[_0x512555(0x167)][_0x512555(0x11d)](_0x512555(0x127)),_0x5371d0[_0x512555(0x161)][_0x512555(0x130)](_0x512555(0x127))['to'](_0x3e8027,_0x512555(0x127)),_0x5371d0[_0x512555(0x167)][_0x512555(0x130)](_0x512555(0x127))[_0x512555(0xef)](_0x2aa557,_0x512555(0x127),(..._0xf3e774)=>_0xf3e774[_0x512555(0x10b)](_0x5f50f8=>_0x5f50f8)),_0x2d1158['on'](_0x512555(0x120),_0x12b57e=>{const _0x4e92=_0x512555;this[_0x4e92(0x157)][_0x4e92(0x120)](_0x12b57e[_0x4e92(0x14b)][_0x4e92(0x114)]),this[_0x4e92(0x157)][_0x4e92(0xf6)][_0x4e92(0x122)][_0x4e92(0x131)]();}),_0x2d1158;}[_0x173f48(0x16b)](_0x421aa3,_0x49bd24,_0x531c46){const _0x4ba115=_0x173f48,_0x430933=new _0xdf4afd(_0x421aa3),_0x24ed94=this[_0x4ba115(0x157)][_0x4ba115(0xeb)][_0x4ba115(0x159)](_0x4ba115(0x17b));_0x430933[_0x4ba115(0x10a)][_0x4ba115(0x173)]({'label':_0x531c46,'icon':_0x3580e9});const _0x15d488=new _0x1042ef(_0x421aa3);for(const _0x45729b of _0x49bd24){if(_0x4ba115(0x188)==_0x45729b[_0x4ba115(0xfe)]){_0x15d488[_0x4ba115(0x14e)][_0x4ba115(0xf8)](new _0xd80050(_0x421aa3));continue;}const _0x475f28=new _0x3cf2cc(_0x421aa3,_0x430933),_0x282bd5=new _0x4fbd1b(_0x421aa3),_0x1bfe76=_0x45729b[_0x4ba115(0x155)];_0x282bd5[_0x4ba115(0x130)](...Object[_0x4ba115(0x13a)](_0x1bfe76))['to'](_0x1bfe76),_0x282bd5[_0x4ba115(0x125)](_0x4ba115(0x120))['to'](_0x430933),_0x282bd5['on'](_0x4ba115(0x120),()=>{const _0x1d9b57=_0x4ba115;this[_0x1d9b57(0x157)][_0x1d9b57(0x120)](_0x1bfe76[_0x1d9b57(0x114)]),this[_0x1d9b57(0x157)][_0x1d9b57(0xf6)][_0x1d9b57(0x122)][_0x1d9b57(0x131)]();}),_0x475f28[_0x4ba115(0x100)][_0x4ba115(0xf8)](_0x282bd5),_0x15d488[_0x4ba115(0x14e)][_0x4ba115(0xf8)](_0x475f28);}return _0x430933[_0x4ba115(0x130)](_0x4ba115(0x127))['to'](_0x24ed94,_0x4ba115(0x127)),_0x430933[_0x4ba115(0xed)][_0x4ba115(0x100)][_0x4ba115(0xf8)](_0x15d488),_0x430933;}[_0x173f48(0x184)](_0x2d4cfc){const _0x5d8297=_0x173f48,_0x2e4b45=this[_0x5d8297(0x157)],_0x3f6c53=_0x2e4b45[_0x5d8297(0xf0)],_0x4a9bf8=_0x2e4b45[_0x5d8297(0x15e)][_0x5d8297(0x159)](_0x5d8297(0x124)),_0x18ec3b=_0x2e4b45[_0x5d8297(0x15e)][_0x5d8297(0x159)](_0x5d8297(0x162)),_0x3b3648=_0x2e4b45[_0x5d8297(0x15e)][_0x5d8297(0x159)](_0x5d8297(0x166)),_0x13015c=_0x2e4b45[_0x5d8297(0x15e)][_0x5d8297(0x159)](_0x4579ae)['me'],_0x599bdf=_0x3f6c53[_0x5d8297(0x159)](_0x5d8297(0x17b))[_0x5d8297(0x139)],_0xba025e=_0x3f6c53[_0x5d8297(0x159)](_0x5d8297(0x17b))[_0x5d8297(0x117)],{CommentsListView:_0xe4b28b,CommentThreadInputView:_0x2ee522}=_0x2e4b45[_0x5d8297(0x15e)][_0x5d8297(0x159)](_0x5d8297(0x14c));let _0x102dee,_0x2f609c,_0x4ac08b;this[_0x5d8297(0xe4)][_0x5d8297(0xdf)](_0x2d4cfc['id'])?(_0x2f609c=this[_0x5d8297(0xe4)][_0x5d8297(0x159)](_0x2d4cfc['id']),_0x102dee=_0x2f609c[_0x5d8297(0xea)]):(_0x102dee=new _0x599bdf(_0x2e4b45[_0x5d8297(0x152)],_0x2d4cfc,_0x13015c,{'disableComments':this[_0x5d8297(0x171)],'editorConfig':{..._0x3f6c53[_0x5d8297(0x159)](_0x5d8297(0x140)),'licenseKey':_0x3f6c53[_0x5d8297(0x159)](_0x5d8297(0x187))},'maxCommentsWhenCollapsed':_0x3f6c53[_0x5d8297(0x159)](_0x5d8297(0x133)),'maxThreadTotalWeight':_0x3f6c53[_0x5d8297(0x159)](_0x5d8297(0xf5)),'maxCommentCharsWhenCollapsed':_0x3f6c53[_0x5d8297(0x159)](_0x5d8297(0x183)),'formatDateTime':_0x3a70bc(_0x3f6c53[_0x5d8297(0x159)](_0x5d8297(0x152))),'CommentView':_0x3f6c53[_0x5d8297(0x159)](_0x5d8297(0xf4))[_0x5d8297(0x126)],'CommentsListView':_0xe4b28b,'CommentThreadInputView':_0x2ee522,'SuggestionView':_0xba025e}),_0x102dee[_0x5d8297(0x179)][_0x5d8297(0x158)]['on'](_0x5d8297(0x120),()=>{const _0xafdbd=_0x5d8297;_0x2e4b45[_0xafdbd(0xf6)][_0xafdbd(0x122)][_0xafdbd(0x131)]();}),_0x102dee[_0x5d8297(0x179)][_0x5d8297(0x12b)]['on'](_0x5d8297(0x120),()=>{const _0x2d099a=_0x5d8297;_0x2e4b45[_0x2d099a(0xf6)][_0x2d099a(0x122)][_0x2d099a(0x131)]();}),_0x2f609c=_0x4a9bf8[_0x5d8297(0x176)](this[_0x5d8297(0x157)][_0x5d8297(0x152)],_0x102dee),_0x2f609c[_0x5d8297(0x130)](_0x5d8297(0x15b))['to'](_0x102dee,_0x5d8297(0x15b)),_0x2f609c[_0x5d8297(0x130)](_0x5d8297(0xe6))['to'](_0x102dee),_0x2f609c[_0x5d8297(0x130)](_0x5d8297(0xfe))['to'](_0x102dee,_0x5d8297(0xfe),_0x358145=>_0x5d8297(0xe3)+_0x358145),_0x102dee['on'](_0x5d8297(0xee),()=>{const _0x486501=_0x5d8297;_0x4ac08b[_0x486501(0x12f)](_0x486501(0xee));}),this[_0x5d8297(0xe4)][_0x5d8297(0x173)](_0x2d4cfc['id'],_0x2f609c));const _0x2af2f9=_0x18ec3b[_0x5d8297(0x10c)](_0x2d4cfc[_0x5d8297(0x160)],_0x102dee),_0x1965cd=new _0x1a94e7(_0x2e4b45,_0x2d4cfc,_0x102dee,_0x2af2f9),_0x240e94=_0x2d4cfc[_0x5d8297(0xe7)]()[_0x5d8297(0x141)](_0x1eece0=>_0x1eece0[_0x5d8297(0x170)]);_0x102dee[_0x5d8297(0xf1)]=_0x2e4b45[_0x5d8297(0x15e)][_0x5d8297(0x159)](_0x5d8297(0x16f))[_0x5d8297(0x17a)][_0x5d8297(0x164)](_0x240e94),this[_0x5d8297(0x181)][_0x5d8297(0x173)](_0x2d4cfc,_0x1965cd),this[_0x5d8297(0x148)][_0x5d8297(0x173)](_0x102dee,_0x1965cd),_0x4ac08b=_0x4a9bf8[_0x5d8297(0x17d)]({'view':_0x2f609c,'target':()=>{const _0x477a58=_0x5d8297,_0xe3d6a4=[],_0x16b0b5=_0x2d4cfc[_0x477a58(0xe7)]()[_0x477a58(0x141)](_0x1e614d=>_0x1e614d[_0x477a58(0x170)]);for(const _0x8102ae of _0x16b0b5)_0xe3d6a4[_0x477a58(0x135)](..._0x8102ae[_0x477a58(0x102)]());return _0x465473(_0x2e4b45[_0x477a58(0xf6)],_0xe3d6a4);},'type':()=>_0x5d8297(0xe3)+_0x1965cd[_0x5d8297(0x122)][_0x5d8297(0xfe)]}),_0x18ec3b[_0x5d8297(0x16a)](_0x102dee,_0x4ac08b),_0x4a9bf8[_0x5d8297(0xf8)](_0x4ac08b),_0x3b3648[_0x5d8297(0x13c)](_0x4ac08b);}[_0x173f48(0x149)](_0x54efec){const _0x1b798a=_0x173f48,_0x11ba26=this[_0x1b798a(0x157)][_0x1b798a(0x15e)][_0x1b798a(0x159)](_0x1b798a(0x162)),_0x1cb7ab=this[_0x1b798a(0x157)][_0x1b798a(0x15e)][_0x1b798a(0x159)](_0x1b798a(0x124)),_0x24f69d=this[_0x1b798a(0x181)][_0x1b798a(0x159)](_0x54efec),_0x15a1bf=_0x24f69d[_0x1b798a(0x122)],_0x95e7f6=_0x1cb7ab[_0x1b798a(0x103)](_0x15a1bf);_0x11ba26[_0x1b798a(0x11c)](_0x15a1bf),_0x95e7f6&&_0x1cb7ab[_0x1b798a(0x10e)](_0x95e7f6),this[_0x1b798a(0x181)][_0x1b798a(0x132)](_0x54efec),this[_0x1b798a(0x148)][_0x1b798a(0x132)](_0x15a1bf),_0x24f69d[_0x1b798a(0x16e)]();}[_0x173f48(0xfc)](_0x393141){const _0x318899=_0x173f48;if(!_0x393141[_0x318899(0x170)]||!this[_0x318899(0x181)][_0x318899(0xdf)](_0x393141))return;const _0x1064f1=this[_0x318899(0x157)][_0x318899(0x15e)][_0x318899(0x159)](_0x318899(0x16f)),_0x355fd9=this[_0x318899(0x181)][_0x318899(0x159)](_0x393141),_0xfcc692=_0x393141[_0x318899(0xe7)]();_0x355fd9[_0x318899(0x122)][_0x318899(0xf1)]=_0x1064f1[_0x318899(0x17a)][_0x318899(0x164)](_0xfcc692);}[_0x173f48(0x16e)](){const _0x24a085=_0x173f48;for(const _0x37b71c of this[_0x24a085(0x181)][_0x24a085(0x13a)]())this[_0x24a085(0x149)](_0x37b71c);for(const _0xd3cb25 of this[_0x24a085(0xe4)][_0x24a085(0x129)]())_0xd3cb25[_0x24a085(0xea)][_0x24a085(0x16e)]();super[_0x24a085(0x16e)](),this[_0x24a085(0x151)]&&clearInterval(this[_0x24a085(0x151)]);}}function _0xb300(){const _0x5984f4=['activeMarkers','1644385VNvuhn','addComment','acceptSelectedSuggestions','has','previous','TrackChanges','5295232rwUyXn','suggestion-','_annotationViews','button','length','getAllAdjacentSuggestions','6168EifPtw','Discard\x20all\x20suggestions','mainView','commands','getSuggestion','panelView','escape','toMany','config','descriptionParts','menuBar:trackChanges','isOfficialPlugin','comments','comments.maxThreadTotalWeight','editing','value','add','getJoined','reduce','_refreshActiveMarkers','_updateController','suggestionUnloaded','type','componentFactory','children','trackChangesLicenseKeyDomainLimit','getMarkers','getByInnerView','getRanges','trackChangesLicenseKeyValid','trackChangesLicenseKeyInvalid','_showLicenseError','lowest','define','buttonView','some','createCommentThreadController','1338gEGAhf','remove','7859369oPjKKg','suggestionLoaded','Accept\x20all\x20selected\x20suggestions','acceptAllSuggestions','trackChanges.SuggestionThreadView','commandName','hasSuggestion','evaluationLimit','SuggestionView','Discard\x20all\x20selected\x20suggestions','activeAnnotations','24668343niHclM','innerView','_unbindEditors','unbind','_handleControllerBuffer','discardSelectedSuggestions','execute','size','view','Preview\x20final\x20content','Annotations','delegate','CommentView','isEnabled','trackChangesLicenseKeyUsageLimit','values','4560755wrsuDz','discardButton','menu','addSourceCollector','trialLimit','fire','bind','focus','delete','comments.maxCommentsWhenCollapsed','commentsListView','push','trackChangesLicenseKeyExpired','change:activeAnnotations','_addUIComponentsToFactory','SuggestionThreadView','keys','refreshSelectedViews','registerAnnotation','clear','isMultiRange','trackChangesLicenseKeyEvaluationLimit','comments.editorConfig','filter','Track\x20changes','menuitem','listenTo','Accept\x20all\x20suggestions','init','6jigEJZ','_viewToController','_destroyController','TrackChangesPreview','source','CommentsUI','suggestionChanged','items','usageLimit','getFirstRange','_licenseKeyCheckInterval','locale','_createToolbarButton','_handleSuggestionControllerDelayed','model','addMany','editor','acceptButton','get','TrackChangesUI','isDirty','trackChangesLicenseKeyTrialLimit','pluginName','plugins','trackChanges.SuggestionView','commentThread','actionView','CommentsRepository','expired','getDescriptions','stopListening','EditorAnnotations','arrowView','previewFinalContent','menuitemcheckbox','_bindAnnotationToEditors','_createMenuBarMenu','getMarkerNames','change:previous','destroy','TrackChangesEditing','isInContent','_disableComments','featureNotAllowed','set','invalid','from','createAnnotationView','trackChanges.disableComments','domainLimit','suggestionView','descriptionFactory','trackChanges','head','createAnnotation','isPremiumPlugin','requires','isOn','_suggestionToController','switchbutton','comments.maxCommentCharsWhenCollapsed','_initializeController','4965832SxDuwm','trackChangesLicenseKeyNotAllowed','licenseKey','separator','discardAllSuggestions'];_0xb300=function(){return _0x5984f4;};return _0xb300();}function ke(_0x20e5c5){const _0x470f43=_0x173f48;return _0x470f43(0x155)in _0x20e5c5;}
|
|
23
|
+
const _0x49f38c=_0x321f;(function(_0x4a46aa,_0x5d0f1d){const _0x122389=_0x321f,_0x5272a8=_0x4a46aa();while(!![]){try{const _0x3f96c7=parseInt(_0x122389(0x11c))/0x1+-parseInt(_0x122389(0x14c))/0x2*(-parseInt(_0x122389(0xe9))/0x3)+-parseInt(_0x122389(0xcd))/0x4+parseInt(_0x122389(0x133))/0x5*(parseInt(_0x122389(0x102))/0x6)+-parseInt(_0x122389(0x10d))/0x7+-parseInt(_0x122389(0xcb))/0x8+parseInt(_0x122389(0xe7))/0x9*(parseInt(_0x122389(0x108))/0xa);if(_0x3f96c7===_0x5d0f1d)break;else _0x5272a8['push'](_0x5272a8['shift']());}catch(_0x361202){_0x5272a8['push'](_0x5272a8['shift']());}}}(_0x3bc0,0x43825));import{Plugin as _0x572c71}from'ckeditor5/src/core.js';import{Collection as _0x50b0d0}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x1fac3c,createDropdown as _0x205956,ListSeparatorView as _0x323dcc,MenuBarMenuView as _0x446814,MenuBarMenuListView as _0x2a7ea0,MenuBarMenuListItemView as _0x11fcbe,MenuBarMenuListItemButtonView as _0x3e4ed2,SplitButtonView as _0x41cadf,ViewModel as _0x39b05b}from'ckeditor5/src/ui.js';import{Users as _0x1ec61f,getDateTimeFormatter as _0x518b8f,getAllMarkersDomElementsSorted as _0x2da25d}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x526b75 from'./trackchangesediting.js';function _0x321f(_0x3ff156,_0x208170){const _0x3bc026=_0x3bc0();return _0x321f=function(_0x321f16,_0x242406){_0x321f16=_0x321f16-0xc1;let _0x571341=_0x3bc026[_0x321f16];return _0x571341;},_0x321f(_0x3ff156,_0x208170);}function _0x3bc0(){const _0x5a85ba=['12kQdyBf','pluginName','CommentsUI','trackChangesLicenseKeyNotAllowed','Accept\x20all\x20suggestions','EditorAnnotations','3950EZZcNn','length','_disableComments','SuggestionView','trackChanges','166572AnRmhA','descriptionParts','discardAllSuggestions','delegate','define','menuitem','Track\x20changes','CommentView','trackChanges.SuggestionThreadView','featureNotAllowed','hasSuggestion','usageLimit','invalid','head','isPremiumPlugin','194949ehCRRY','set','from','createAnnotationView','toMany','_updateController','SuggestionThreadView','trackChangesLicenseKeyTrialLimit','Discard\x20all\x20suggestions','mainView','separator','_suggestionToController','trackChangesLicenseKeyDomainLimit','getFirstRange','keys','_bindAnnotationToEditors','init','plugins','suggestionChanged','children','_showLicenseError','menuitemcheckbox','activeMarkers','603095ksqMao','trialLimit','bind','acceptSelectedSuggestions','clear','commentThread','isMultiRange','getMarkers','createAnnotation','type','addSourceCollector','innerView','discardButton','getSuggestion','filter','TrackChangesPreview','trackChangesLicenseKeyUsageLimit','trackChanges.SuggestionView','suggestion-','focus','TrackChanges','button','reduce','_annotationViews','trackChanges.disableComments','980kmpQqE','TrackChangesUI','comments.maxThreadTotalWeight','_initializeController','isDirty','suggestionView','activeAnnotations','comments.maxCommentCharsWhenCollapsed','requires','change:activeAnnotations','listenTo','Preview\x20final\x20content','add','suggestionLoaded','comments','execute','_destroyController','CommentsRepository','domainLimit','comments.editorConfig','menuBar:trackChanges','isInContent','actionView','evaluationLimit','arrowView','createCommentThreadController','getRanges','TrackChangesEditing','previewFinalContent','values','config','_unbindEditors','buttonView','getMarkerNames','editing','suggestionUnloaded','delete','_createToolbarButton','commands','_handleSuggestionControllerDelayed','value','model','remove','unbind','comments.maxCommentsWhenCollapsed','acceptAllSuggestions','_handleControllerBuffer','1924448OfgOVP','_viewToController','2206432SMcCRz','descriptionFactory','view','panelView','registerAnnotation','acceptButton','switchbutton','licenseKey','getJoined','trackChangesLicenseKeyInvalid','escape','trackChangesLicenseKeyEvaluationLimit','getByInnerView','discardSelectedSuggestions','addMany','_addUIComponentsToFactory','previous','source','isOn','commandName','get','size','items','expired','isEnabled','trackChangesLicenseKeyValid','13770wVWRwp','Annotations','318tpJUPN','getDescriptions','getAllAdjacentSuggestions','addComment','isOfficialPlugin','push','lowest','Discard\x20all\x20selected\x20suggestions','_licenseKeyCheckInterval','componentFactory','locale','stopListening','menu','Accept\x20all\x20selected\x20suggestions','refreshSelectedViews','destroy','_createMenuBarMenu','fire','change:previous','has','_refreshActiveMarkers','commentsListView','some','trackChangesLicenseKeyExpired','editor'];_0x3bc0=function(){return _0x5a85ba;};return _0x3bc0();}import _0x4ff796 from'./ui/suggestioncontroller.js';import _0xc9987a from'./ui/view/suggestionthreadview.js';import _0x4f176f from'./ui/view/suggestionview.js';import{getTranslation as _0x2da0cd}from'./utils/common-translations.js';import _0xdebfb8 from'../theme/icons/track-changes.svg';export default class d extends _0x572c71{static get[_0x49f38c(0x154)](){const _0x57763b=_0x49f38c;return[_0x526b75,_0x1ec61f,_0x57763b(0x15d),_0x57763b(0xe8),_0x57763b(0x107)];}static get[_0x49f38c(0x103)](){const _0x4bc4ef=_0x49f38c;return _0x4bc4ef(0x14d);}static get[_0x49f38c(0xed)](){return!0x0;}static get[_0x49f38c(0x11b)](){return!0x0;}constructor(_0x454009){const _0x2b7fd6=_0x49f38c;super(_0x454009),this[_0x2b7fd6(0x127)]=new Map(),this[_0x2b7fd6(0xcc)]=new Map(),this[_0x2b7fd6(0x14a)]=new Map(),this[_0x2b7fd6(0xca)]=new Map();const _0x48be1f=this[_0x2b7fd6(0x101)][_0x2b7fd6(0x16a)];_0x48be1f[_0x2b7fd6(0x111)](_0x2b7fd6(0x115),_0xc9987a),_0x48be1f[_0x2b7fd6(0x111)](_0x2b7fd6(0x144),_0x4f176f),_0x48be1f[_0x2b7fd6(0x111)](_0x2b7fd6(0x14b),!0x1),this[_0x2b7fd6(0x10a)]=_0x48be1f[_0x2b7fd6(0xe1)](_0x2b7fd6(0x14b));}[_0x49f38c(0xc3)](_0xcd3e8b,_0x65fee5){const _0x282946=_0x49f38c;0x0===this[_0x282946(0xca)][_0x282946(0xe2)]&&setTimeout(()=>{const _0x2d181b=_0x282946;for(const [_0x469c57,_0x3ac126]of this[_0x2d181b(0xca)]){const _0x29b261=this[_0x2d181b(0x127)][_0x2d181b(0xfc)](_0x469c57);_0x29b261||_0x3ac126?_0x29b261&&_0x3ac126&&this[_0x2d181b(0x15c)](_0x469c57):this[_0x2d181b(0x14f)](_0x469c57);}this[_0x2d181b(0xca)][_0x2d181b(0x137)](),this[_0x2d181b(0x101)][_0x2d181b(0x12d)][_0x2d181b(0xe1)](_0x2d181b(0x107))[_0x2d181b(0xf7)](),this[_0x2d181b(0xfd)]();},0xa),this[_0x282946(0xca)][_0x282946(0x11d)](_0xcd3e8b,_0x65fee5);}[_0x49f38c(0x12c)](){const _0x46b0d1=_0x49f38c,_0x8a8c15=this[_0x46b0d1(0x101)],_0x1a1cce=_0x8a8c15[_0x46b0d1(0x12d)][_0x46b0d1(0xe1)](_0x46b0d1(0x167)),_0x146cc0=_0x8a8c15[_0x46b0d1(0x12d)][_0x46b0d1(0xe1)](_0x46b0d1(0xe8)),_0x5be039=_0x8a8c15[_0x46b0d1(0x12d)][_0x46b0d1(0xe1)](_0x46b0d1(0x107)),_0x3ac32d=_0x8a8c15[_0x46b0d1(0x12d)][_0x46b0d1(0xe1)](_0x46b0d1(0x15d));this[_0x46b0d1(0xdc)](),_0x5be039[_0x46b0d1(0x13d)](()=>{const _0x17751d=_0x46b0d1,_0x4af266=[];for(const [_0x55efc1,_0x2e6730]of Array[_0x17751d(0x11e)](this[_0x17751d(0x127)])){const _0x7079f=_0x55efc1[_0x17751d(0xeb)](),_0x556790=[];for(const _0xb5f624 of _0x7079f){if(!_0xb5f624[_0x17751d(0x161)])continue;if(_0xb5f624[_0x17751d(0x139)]){_0x556790[_0x17751d(0xee)](..._0xb5f624[_0x17751d(0x166)]());continue;}const _0xe006e8=_0xb5f624[_0x17751d(0x129)]();if(_0x556790[_0x17751d(0x109)]>0x0){const _0x470277=_0x556790[0x0][_0x17751d(0xd5)](_0xe006e8);if(_0x470277){_0x556790[0x0]=_0x470277;continue;}}_0x556790[_0x17751d(0xee)](_0xe006e8);}_0x4af266[_0x17751d(0xee)]([_0x2e6730[_0x17751d(0xcf)],_0x556790]);}return _0x4af266;}),this[_0x46b0d1(0x156)](_0x1a1cce,_0x46b0d1(0x159),(_0x1e0104,_0x41f2ef)=>{const _0x34359b=_0x46b0d1;this[_0x34359b(0x156)](_0x41f2ef,_0x34359b(0xfb),(_0x127373,_0x166e51,_0x56b615,_0x3c30cf)=>{const _0x392fd3=_0x34359b;_0x41f2ef[_0x392fd3(0x161)]&&(null==_0x56b615?(this[_0x392fd3(0x121)](_0x3c30cf[_0x392fd3(0x11a)]),this[_0x392fd3(0xc3)](_0x41f2ef,!0x1)):(this[_0x392fd3(0x121)](_0x56b615[_0x392fd3(0x11a)]),null==_0x3c30cf&&this[_0x392fd3(0xc3)](_0x41f2ef,!0x0)));}),null!==_0x41f2ef[_0x34359b(0xdd)]?this[_0x34359b(0x121)](_0x41f2ef[_0x34359b(0x11a)]):this[_0x34359b(0xc3)](_0x41f2ef,!0x1);}),this[_0x46b0d1(0x156)](_0x1a1cce,_0x46b0d1(0x16f),(_0x3612bc,_0x1a6fd9,_0x5bc75c)=>{const _0x5c9188=_0x46b0d1;this[_0x5c9188(0xf4)](_0x1a6fd9,_0x5c9188(0xfb)),this[_0x5c9188(0xca)][_0x5c9188(0x170)](_0x1a6fd9),this[_0x5c9188(0x127)][_0x5c9188(0xfc)](_0x1a6fd9)&&this[_0x5c9188(0x15c)](_0x1a6fd9),_0x5bc75c&&this[_0x5c9188(0x121)](_0x5bc75c[_0x5c9188(0x11a)]);}),this[_0x46b0d1(0x156)](_0x1a1cce,_0x46b0d1(0x12e),(_0x3a5740,_0x441bf0)=>{const _0x2c8784=_0x46b0d1;this[_0x2c8784(0x121)](_0x441bf0);}),this[_0x46b0d1(0x156)](_0x146cc0,_0x46b0d1(0x155),()=>{const _0x38079a=_0x46b0d1;this[_0x38079a(0xfd)]();}),this[_0x46b0d1(0x156)](_0x3ac32d,_0x46b0d1(0xec),(_0x38cf12,{threadId:_0x14d17a,isFromAdapter:_0x1f4575})=>{const _0x133655=_0x46b0d1;if(_0x1f4575||!_0x1a1cce[_0x133655(0x117)](_0x14d17a))return;const _0x1fe26c=_0x1a1cce[_0x133655(0x140)](_0x14d17a);this[_0x133655(0x127)][_0x133655(0xe1)](_0x1fe26c)[_0x133655(0xcf)][_0x133655(0xfe)][_0x133655(0x146)](-0x1);},{'priority':_0x46b0d1(0xef)}),this[_0x46b0d1(0xd4)]=this[_0x46b0d1(0x101)][_0x46b0d1(0x16a)][_0x46b0d1(0xe1)](_0x46b0d1(0xd4));const _0x817cd3=this[_0x46b0d1(0x101)];this[_0x46b0d1(0xf1)]=setInterval(()=>{const _0x4d71db=_0x46b0d1;let _0x593a0d;for(const _0x6184d7 in _0x817cd3){const _0xdc9f71=_0x6184d7,_0x165364=_0x817cd3[_0xdc9f71];if(_0x4d71db(0xe6)==_0x165364||_0x4d71db(0xd6)==_0x165364||_0x4d71db(0x100)==_0x165364||_0x4d71db(0x128)==_0x165364||_0x4d71db(0x105)==_0x165364||_0x4d71db(0xd8)==_0x165364||_0x4d71db(0x123)==_0x165364||_0x4d71db(0x143)==_0x165364){delete _0x817cd3[_0xdc9f71],_0x593a0d=_0x165364,clearInterval(this[_0x4d71db(0xf1)]),this[_0x4d71db(0xf1)]=void 0x0;break;}}_0x4d71db(0xd6)==_0x593a0d&&_0x817cd3[_0x4d71db(0x130)](_0x4d71db(0x119)),_0x4d71db(0x100)==_0x593a0d&&_0x817cd3[_0x4d71db(0x130)](_0x4d71db(0xe4)),_0x4d71db(0x128)==_0x593a0d&&_0x817cd3[_0x4d71db(0x130)](_0x4d71db(0x15e)),_0x4d71db(0x105)==_0x593a0d&&_0x817cd3[_0x4d71db(0x130)](_0x4d71db(0x116),_0x4d71db(0x147)),_0x4d71db(0xd8)==_0x593a0d&&_0x817cd3[_0x4d71db(0x130)](_0x4d71db(0x163)),_0x4d71db(0x123)==_0x593a0d&&_0x817cd3[_0x4d71db(0x130)](_0x4d71db(0x134)),_0x4d71db(0x143)==_0x593a0d&&_0x817cd3[_0x4d71db(0x130)](_0x4d71db(0x118));},0x3e8);}[_0x49f38c(0xfd)](){const _0x330b2e=_0x49f38c,_0x533a84=this[_0x330b2e(0x101)][_0x330b2e(0x12d)][_0x330b2e(0xe1)](_0x330b2e(0xe8)),_0x1b5a4a=this[_0x330b2e(0x101)][_0x330b2e(0x12d)][_0x330b2e(0xe1)](_0x330b2e(0x167)),_0x41ec06=Array[_0x330b2e(0x11e)](_0x533a84[_0x330b2e(0x152)],_0x5d5382=>_0x5d5382[_0x330b2e(0x13e)])[_0x330b2e(0x141)](_0x4b374e=>this[_0x330b2e(0xcc)][_0x330b2e(0xfc)](_0x4b374e)),_0x5deead=[];for(const _0x313b02 of _0x41ec06){const _0x22e491=this[_0x330b2e(0xcc)][_0x330b2e(0xe1)](_0x313b02)[_0x330b2e(0xc5)][_0x330b2e(0xeb)]();_0x5deead[_0x330b2e(0xee)](..._0x22e491[_0x330b2e(0x149)]((_0x4a4188,_0x133f4b)=>[..._0x4a4188,..._0x133f4b[_0x330b2e(0x16d)]()],[]));}_0x1b5a4a[_0x330b2e(0x132)]=_0x5deead;}[_0x49f38c(0xdc)](){const _0xca498=_0x49f38c,_0x381bca=this[_0xca498(0x101)],_0x4503d2=_0x381bca[_0xca498(0xf3)],_0x1e8b91=_0x2da0cd(_0x4503d2,_0xca498(0x113)),_0x4fc528=new _0x50b0d0([{'type':_0xca498(0xd3),'model':new _0x39b05b({'withText':!0x0,'isToggleable':!0x0,'label':_0x1e8b91,'commandName':_0xca498(0x10c),'role':_0xca498(0x131)})},{'type':_0xca498(0x126)},{'type':_0xca498(0x148),'model':new _0x39b05b({'withText':!0x0,'label':_0x2da0cd(_0x4503d2,_0xca498(0x106)),'commandName':_0xca498(0xc9),'role':_0xca498(0x112)})},{'type':_0xca498(0x148),'model':new _0x39b05b({'withText':!0x0,'label':_0x2da0cd(_0x4503d2,_0xca498(0xf6)),'commandName':_0xca498(0x136),'role':_0xca498(0x112)})},{'type':_0xca498(0x148),'model':new _0x39b05b({'withText':!0x0,'label':_0x2da0cd(_0x4503d2,_0xca498(0x124)),'commandName':_0xca498(0x10f),'role':_0xca498(0x112)})},{'type':_0xca498(0x148),'model':new _0x39b05b({'withText':!0x0,'label':_0x2da0cd(_0x4503d2,_0xca498(0xf0)),'commandName':_0xca498(0xda),'role':_0xca498(0x112)})}]);_0x381bca[_0xca498(0x12d)][_0xca498(0xfc)](_0xca498(0x142))&&_0x4fc528[_0xca498(0xdb)]([{'type':_0xca498(0x126)},{'type':_0xca498(0x148),'model':new _0x39b05b({'withText':!0x0,'label':_0x2da0cd(_0x4503d2,_0xca498(0x157)),'commandName':_0xca498(0x168),'role':_0xca498(0x112)})}]);for(const _0x3e0f47 of _0x4fc528)if(ke(_0x3e0f47)){const _0x141cce=_0x381bca[_0xca498(0xc2)][_0xca498(0xe1)](_0x3e0f47[_0xca498(0xc5)][_0xca498(0xe0)]);_0x3e0f47[_0xca498(0xc5)][_0xca498(0x135)](_0xca498(0xdf),_0xca498(0xe5))['to'](_0x141cce,_0xca498(0xc4),_0xca498(0xe5));}_0x381bca['ui'][_0xca498(0xf2)][_0xca498(0x158)](_0xca498(0x10c),_0x5e8e73=>this[_0xca498(0xc1)](_0x5e8e73,_0x4fc528,_0x1e8b91)),_0x381bca['ui'][_0xca498(0xf2)][_0xca498(0x158)](_0xca498(0x160),_0x3202ce=>this[_0xca498(0xf9)](_0x3202ce,_0x4fc528,_0x1e8b91));}[_0x49f38c(0xc1)](_0x1a6472,_0x113568,_0x22cf99){const _0xd44979=_0x49f38c,_0x5cb050=_0x205956(_0x1a6472,_0x41cadf),_0x1fc100=this[_0xd44979(0x101)][_0xd44979(0xc2)][_0xd44979(0xe1)](_0xd44979(0x10c));_0x5cb050[_0xd44979(0x16c)][_0xd44979(0x11d)]({'tooltip':_0x22cf99,'label':_0x22cf99,'icon':_0xdebfb8}),_0x5cb050[_0xd44979(0x16c)][_0xd44979(0x135)](_0xd44979(0xdf))['to'](_0x1fc100,_0xd44979(0xc4)),_0x5cb050[_0xd44979(0x16c)]['on'](_0xd44979(0x15b),()=>{const _0x1e7429=_0xd44979;_0x1fc100[_0x1e7429(0x15b)](),this[_0x1e7429(0x101)][_0x1e7429(0x16e)][_0x1e7429(0xcf)][_0x1e7429(0x146)]();}),_0x1fac3c(_0x5cb050,_0x113568,{'role':_0xd44979(0xf5)});const _0x2b9aa0=[];for(const _0x1d69f1 of _0x113568)ke(_0x1d69f1)&&_0x2b9aa0[_0xd44979(0xee)](this[_0xd44979(0x101)][_0xd44979(0xc2)][_0xd44979(0xe1)](_0x1d69f1[_0xd44979(0xc5)][_0xd44979(0xe0)]));const _0x4c6a32=_0x5cb050[_0xd44979(0x16c)];return _0x4c6a32[_0xd44979(0x162)][_0xd44979(0xc7)](_0xd44979(0xe5)),_0x4c6a32[_0xd44979(0x164)][_0xd44979(0xc7)](_0xd44979(0xe5)),_0x4c6a32[_0xd44979(0x162)][_0xd44979(0x135)](_0xd44979(0xe5))['to'](_0x1fc100,_0xd44979(0xe5)),_0x4c6a32[_0xd44979(0x164)][_0xd44979(0x135)](_0xd44979(0xe5))[_0xd44979(0x120)](_0x2b9aa0,_0xd44979(0xe5),(..._0x1dccc2)=>_0x1dccc2[_0xd44979(0xff)](_0x181c58=>_0x181c58)),_0x5cb050['on'](_0xd44979(0x15b),_0x4ef62b=>{const _0x39ebe3=_0xd44979;this[_0x39ebe3(0x101)][_0x39ebe3(0x15b)](_0x4ef62b[_0x39ebe3(0xde)][_0x39ebe3(0xe0)]),this[_0x39ebe3(0x101)][_0x39ebe3(0x16e)][_0x39ebe3(0xcf)][_0x39ebe3(0x146)]();}),_0x5cb050;}[_0x49f38c(0xf9)](_0x194c16,_0x27baf4,_0x341563){const _0x4320e2=_0x49f38c,_0x1b6c41=new _0x446814(_0x194c16),_0x44cfbb=this[_0x4320e2(0x101)][_0x4320e2(0xc2)][_0x4320e2(0xe1)](_0x4320e2(0x10c));_0x1b6c41[_0x4320e2(0x16c)][_0x4320e2(0x11d)]({'label':_0x341563,'icon':_0xdebfb8});const _0x4d88cd=new _0x2a7ea0(_0x194c16);for(const _0x3aa86e of _0x27baf4){if(_0x4320e2(0x126)==_0x3aa86e[_0x4320e2(0x13c)]){_0x4d88cd[_0x4320e2(0xe3)][_0x4320e2(0x158)](new _0x323dcc(_0x194c16));continue;}const _0x5684f8=new _0x11fcbe(_0x194c16,_0x1b6c41),_0x26d71b=new _0x3e4ed2(_0x194c16),_0x52abf0=_0x3aa86e[_0x4320e2(0xc5)];_0x26d71b[_0x4320e2(0x135)](...Object[_0x4320e2(0x12a)](_0x52abf0))['to'](_0x52abf0),_0x26d71b[_0x4320e2(0x110)](_0x4320e2(0x15b))['to'](_0x1b6c41),_0x26d71b['on'](_0x4320e2(0x15b),()=>{const _0x14144c=_0x4320e2;this[_0x14144c(0x101)][_0x14144c(0x15b)](_0x52abf0[_0x14144c(0xe0)]),this[_0x14144c(0x101)][_0x14144c(0x16e)][_0x14144c(0xcf)][_0x14144c(0x146)]();}),_0x5684f8[_0x4320e2(0x12f)][_0x4320e2(0x158)](_0x26d71b),_0x4d88cd[_0x4320e2(0xe3)][_0x4320e2(0x158)](_0x5684f8);}return _0x1b6c41[_0x4320e2(0x135)](_0x4320e2(0xe5))['to'](_0x44cfbb,_0x4320e2(0xe5)),_0x1b6c41[_0x4320e2(0xd0)][_0x4320e2(0x12f)][_0x4320e2(0x158)](_0x4d88cd),_0x1b6c41;}[_0x49f38c(0x14f)](_0x27c645){const _0x176252=_0x49f38c,_0x496945=this[_0x176252(0x101)],_0x3f65c2=_0x496945[_0x176252(0x16a)],_0x2c400e=_0x496945[_0x176252(0x12d)][_0x176252(0xe1)](_0x176252(0xe8)),_0x5465fa=_0x496945[_0x176252(0x12d)][_0x176252(0xe1)](_0x176252(0x15d)),_0x254469=_0x496945[_0x176252(0x12d)][_0x176252(0xe1)](_0x176252(0x107)),_0x2c1607=_0x496945[_0x176252(0x12d)][_0x176252(0xe1)](_0x1ec61f)['me'],_0x2257e6=_0x3f65c2[_0x176252(0xe1)](_0x176252(0x10c))[_0x176252(0x122)],_0x1a2864=_0x3f65c2[_0x176252(0xe1)](_0x176252(0x10c))[_0x176252(0x10b)],{CommentsListView:_0x1cd8e6,CommentThreadInputView:_0xae5bfd}=_0x496945[_0x176252(0x12d)][_0x176252(0xe1)](_0x176252(0x104));let _0x52ac51,_0x3ac73a,_0x6dcb3f;this[_0x176252(0x14a)][_0x176252(0xfc)](_0x27c645['id'])?(_0x3ac73a=this[_0x176252(0x14a)][_0x176252(0xe1)](_0x27c645['id']),_0x52ac51=_0x3ac73a[_0x176252(0x125)]):(_0x52ac51=new _0x2257e6(_0x496945[_0x176252(0xf3)],_0x27c645,_0x2c1607,{'disableComments':this[_0x176252(0x10a)],'editorConfig':{..._0x3f65c2[_0x176252(0xe1)](_0x176252(0x15f)),'licenseKey':_0x3f65c2[_0x176252(0xe1)](_0x176252(0xd4))},'maxCommentsWhenCollapsed':_0x3f65c2[_0x176252(0xe1)](_0x176252(0xc8)),'maxThreadTotalWeight':_0x3f65c2[_0x176252(0xe1)](_0x176252(0x14e)),'maxCommentCharsWhenCollapsed':_0x3f65c2[_0x176252(0xe1)](_0x176252(0x153)),'formatDateTime':_0x518b8f(_0x3f65c2[_0x176252(0xe1)](_0x176252(0xf3))),'CommentView':_0x3f65c2[_0x176252(0xe1)](_0x176252(0x15a))[_0x176252(0x114)],'CommentsListView':_0x1cd8e6,'CommentThreadInputView':_0xae5bfd,'SuggestionView':_0x1a2864}),_0x52ac51[_0x176252(0x151)][_0x176252(0xd2)]['on'](_0x176252(0x15b),()=>{const _0x15b310=_0x176252;_0x496945[_0x15b310(0x16e)][_0x15b310(0xcf)][_0x15b310(0x146)]();}),_0x52ac51[_0x176252(0x151)][_0x176252(0x13f)]['on'](_0x176252(0x15b),()=>{const _0x10b771=_0x176252;_0x496945[_0x10b771(0x16e)][_0x10b771(0xcf)][_0x10b771(0x146)]();}),_0x3ac73a=_0x2c400e[_0x176252(0x11f)](this[_0x176252(0x101)][_0x176252(0xf3)],_0x52ac51),_0x3ac73a[_0x176252(0x135)](_0x176252(0x150))['to'](_0x52ac51,_0x176252(0x150)),_0x3ac73a[_0x176252(0x135)](_0x176252(0x109))['to'](_0x52ac51),_0x3ac73a[_0x176252(0x135)](_0x176252(0x13c))['to'](_0x52ac51,_0x176252(0x13c),_0x5db0c1=>_0x176252(0x145)+_0x5db0c1),_0x52ac51['on'](_0x176252(0xd7),()=>{const _0xdb0684=_0x176252;_0x6dcb3f[_0xdb0684(0xfa)](_0xdb0684(0xd7));}),this[_0x176252(0x14a)][_0x176252(0x11d)](_0x27c645['id'],_0x3ac73a));const _0x2ea3b3=_0x5465fa[_0x176252(0x165)](_0x27c645[_0x176252(0x138)],_0x52ac51),_0x413958=new _0x4ff796(_0x496945,_0x27c645,_0x52ac51,_0x2ea3b3),_0x2223e0=_0x27c645[_0x176252(0xeb)]()[_0x176252(0x141)](_0x17d113=>_0x17d113[_0x176252(0x161)]);_0x52ac51[_0x176252(0x10e)]=_0x496945[_0x176252(0x12d)][_0x176252(0xe1)](_0x176252(0x167))[_0x176252(0xce)][_0x176252(0xea)](_0x2223e0),this[_0x176252(0x127)][_0x176252(0x11d)](_0x27c645,_0x413958),this[_0x176252(0xcc)][_0x176252(0x11d)](_0x52ac51,_0x413958),_0x6dcb3f=_0x2c400e[_0x176252(0x13b)]({'view':_0x3ac73a,'target':()=>{const _0x2ec2c1=_0x176252,_0x4a8954=[],_0x4e9ec4=_0x27c645[_0x2ec2c1(0xeb)]()[_0x2ec2c1(0x141)](_0x21502b=>_0x21502b[_0x2ec2c1(0x161)]);for(const _0x4e03cf of _0x4e9ec4)_0x4a8954[_0x2ec2c1(0xee)](..._0x4e03cf[_0x2ec2c1(0x13a)]());return _0x2da25d(_0x496945[_0x2ec2c1(0x16e)],_0x4a8954);},'type':()=>_0x176252(0x145)+_0x413958[_0x176252(0xcf)][_0x176252(0x13c)]}),_0x5465fa[_0x176252(0x12b)](_0x52ac51,_0x6dcb3f),_0x2c400e[_0x176252(0x158)](_0x6dcb3f),_0x254469[_0x176252(0xd1)](_0x6dcb3f);}[_0x49f38c(0x15c)](_0x119d13){const _0x599530=_0x49f38c,_0x117c6a=this[_0x599530(0x101)][_0x599530(0x12d)][_0x599530(0xe1)](_0x599530(0x15d)),_0x6fc776=this[_0x599530(0x101)][_0x599530(0x12d)][_0x599530(0xe1)](_0x599530(0xe8)),_0x2ce86e=this[_0x599530(0x127)][_0x599530(0xe1)](_0x119d13),_0x20737e=_0x2ce86e[_0x599530(0xcf)],_0x432021=_0x6fc776[_0x599530(0xd9)](_0x20737e);_0x117c6a[_0x599530(0x16b)](_0x20737e),_0x432021&&_0x6fc776[_0x599530(0xc6)](_0x432021),this[_0x599530(0x127)][_0x599530(0x170)](_0x119d13),this[_0x599530(0xcc)][_0x599530(0x170)](_0x20737e),_0x2ce86e[_0x599530(0xf8)]();}[_0x49f38c(0x121)](_0x21201e){const _0x2b1e49=_0x49f38c;if(!_0x21201e[_0x2b1e49(0x161)]||!this[_0x2b1e49(0x127)][_0x2b1e49(0xfc)](_0x21201e))return;const _0x46d5ab=this[_0x2b1e49(0x101)][_0x2b1e49(0x12d)][_0x2b1e49(0xe1)](_0x2b1e49(0x167)),_0x11986b=this[_0x2b1e49(0x127)][_0x2b1e49(0xe1)](_0x21201e),_0x6c2185=_0x21201e[_0x2b1e49(0xeb)]();_0x11986b[_0x2b1e49(0xcf)][_0x2b1e49(0x10e)]=_0x46d5ab[_0x2b1e49(0xce)][_0x2b1e49(0xea)](_0x6c2185);}[_0x49f38c(0xf8)](){const _0x4eb985=_0x49f38c;for(const _0x26f60a of this[_0x4eb985(0x127)][_0x4eb985(0x12a)]())this[_0x4eb985(0x15c)](_0x26f60a);for(const _0x16ae8a of this[_0x4eb985(0x14a)][_0x4eb985(0x169)]())_0x16ae8a[_0x4eb985(0x125)][_0x4eb985(0xf8)]();super[_0x4eb985(0xf8)](),this[_0x4eb985(0xf1)]&&clearInterval(this[_0x4eb985(0xf1)]);}}function ke(_0x42366c){const _0x5880a0=_0x49f38c;return _0x5880a0(0xc5)in _0x42366c;}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
24
|
-
|
|
23
|
+
function _0x272d(_0x16a447,_0x3436b1){const _0x3aaf93=_0x3aaf();return _0x272d=function(_0x272d4b,_0x171d28){_0x272d4b=_0x272d4b-0x1e4;let _0x773589=_0x3aaf93[_0x272d4b];return _0x773589;},_0x272d(_0x16a447,_0x3436b1);}const _0xd9c72f=_0x272d;(function(_0xc6e013,_0x316199){const _0x4c88d8=_0x272d,_0xd554e8=_0xc6e013();while(!![]){try{const _0x33a40d=parseInt(_0x4c88d8(0x1f8))/0x1+-parseInt(_0x4c88d8(0x209))/0x2+-parseInt(_0x4c88d8(0x1fe))/0x3+-parseInt(_0x4c88d8(0x202))/0x4+-parseInt(_0x4c88d8(0x1fd))/0x5+-parseInt(_0x4c88d8(0x1f0))/0x6+parseInt(_0x4c88d8(0x208))/0x7;if(_0x33a40d===_0x316199)break;else _0xd554e8['push'](_0xd554e8['shift']());}catch(_0x4a0fe9){_0xd554e8['push'](_0xd554e8['shift']());}}}(_0x3aaf,0x231ad));import{ObservableMixin as _0x142498}from'ckeditor5/src/utils.js';function _0x3aaf(){const _0x21d295=['624465WeCoQk','canEditAt','stopListening','isEnabled','537280YfKCqC','_acceptCommand','locale','model','view','change:isDirty','3330061LBDlqo','260146mEZYyV','unbind','destroy','commands','acceptSuggestion','isDirty','PendingActions','_setPendingAction','_removePendingAction','_pendingAction','execute','PENDING_ACTION_SUGGESTION','remove','commentThreadController','436476nzgipD','bind','getRanges','discardSuggestion','add','_editor','canAccept','listenTo','273699wzmMyC','canDiscard','get','plugins','_discardCommand','301695ZdiFsR'];_0x3aaf=function(){return _0x21d295;};return _0x3aaf();}import{getTranslation as _0xf764b}from'../utils/common-translations.js';export default class Ce extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x142498(){constructor(_0x3cb87a,_0xa5fd37,_0xf0d02a,_0x16a829){const _0x5b64bf=_0x272d;super(),this[_0x5b64bf(0x205)]=_0xa5fd37,this[_0x5b64bf(0x206)]=_0xf0d02a,this[_0x5b64bf(0x1ef)]=_0x16a829,this[_0x5b64bf(0x1f5)]=_0x3cb87a,this[_0x5b64bf(0x203)]=_0x3cb87a[_0x5b64bf(0x1e5)][_0x5b64bf(0x1fa)](_0x5b64bf(0x1e6)),this[_0x5b64bf(0x1fc)]=_0x3cb87a[_0x5b64bf(0x1e5)][_0x5b64bf(0x1fa)](_0x5b64bf(0x1f3)),this[_0x5b64bf(0x206)][_0x5b64bf(0x1f1)](_0x5b64bf(0x201))['to'](this[_0x5b64bf(0x203)],this[_0x5b64bf(0x1fc)],(_0x535a97,_0x408ed3)=>_0x535a97||_0x408ed3),this[_0x5b64bf(0x206)][_0x5b64bf(0x1f1)](_0x5b64bf(0x1f6))['to'](this[_0x5b64bf(0x203)],_0x5b64bf(0x201),_0x2b9b6d=>_0x2b9b6d&&this[_0x5b64bf(0x1f5)][_0x5b64bf(0x205)][_0x5b64bf(0x1ff)](_0xa5fd37[_0x5b64bf(0x1f2)]())),this[_0x5b64bf(0x206)][_0x5b64bf(0x1f1)](_0x5b64bf(0x1f9))['to'](this[_0x5b64bf(0x1fc)],_0x5b64bf(0x201),_0x2e0d68=>_0x2e0d68&&this[_0x5b64bf(0x1f5)][_0x5b64bf(0x205)][_0x5b64bf(0x1ff)](_0xa5fd37[_0x5b64bf(0x1f2)]())),this[_0x5b64bf(0x1eb)]=null,_0xf0d02a[_0x5b64bf(0x1e7)]&&this[_0x5b64bf(0x1e9)](),this[_0x5b64bf(0x1f7)](_0xf0d02a,_0x5b64bf(0x1e6),()=>this[_0x5b64bf(0x1e6)]()),this[_0x5b64bf(0x1f7)](_0xf0d02a,_0x5b64bf(0x1f3),()=>this[_0x5b64bf(0x1f3)]()),this[_0x5b64bf(0x1f7)](_0xf0d02a,_0x5b64bf(0x207),()=>{const _0x1533de=_0x5b64bf;_0xf0d02a[_0x1533de(0x1e7)]?this[_0x1533de(0x1e9)]():this[_0x1533de(0x1ea)]();});}[_0xd9c72f(0x1e6)](){const _0x1bb0e0=_0xd9c72f;this[_0x1bb0e0(0x203)][_0x1bb0e0(0x1ec)](this[_0x1bb0e0(0x205)]['id']);}[_0xd9c72f(0x1f3)](){const _0x441756=_0xd9c72f;this[_0x441756(0x1fc)][_0x441756(0x1ec)](this[_0x441756(0x205)]['id']);}[_0xd9c72f(0x1e4)](){const _0x46f798=_0xd9c72f;this[_0x46f798(0x206)][_0x46f798(0x20a)](_0x46f798(0x201)),this[_0x46f798(0x206)][_0x46f798(0x20a)](_0x46f798(0x1f6)),this[_0x46f798(0x206)][_0x46f798(0x20a)](_0x46f798(0x1f9)),this[_0x46f798(0x200)](),this[_0x46f798(0x1ef)][_0x46f798(0x1e4)](),this[_0x46f798(0x1eb)]&&this[_0x46f798(0x1ea)]();}[_0xd9c72f(0x1e9)](){const _0x4ebcac=_0xd9c72f,_0x408664=_0xf764b(this[_0x4ebcac(0x1f5)][_0x4ebcac(0x204)],_0x4ebcac(0x1ed));this[_0x4ebcac(0x1eb)]=this[_0x4ebcac(0x1f5)][_0x4ebcac(0x1fb)][_0x4ebcac(0x1fa)](_0x4ebcac(0x1e8))[_0x4ebcac(0x1f4)](_0x408664);}[_0xd9c72f(0x1ea)](){const _0x1e6e63=_0xd9c72f;null!==this[_0x1e6e63(0x1eb)]&&this[_0x1e6e63(0x1f5)][_0x1e6e63(0x1fb)][_0x1e6e63(0x1fa)](_0x1e6e63(0x1e8))[_0x1e6e63(0x1ee)](this[_0x1e6e63(0x1eb)]),this[_0x1e6e63(0x1eb)]=null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x8420dd=_0x2a73;(function(_0x1796bc,_0x56ede5){const _0x798857=_0x2a73,_0x557d87=_0x1796bc();while(!![]){try{const _0x595421=-parseInt(_0x798857(0x13f))/0x1+-parseInt(_0x798857(0x13d))/0x2+parseInt(_0x798857(0x158))/0x3*(parseInt(_0x798857(0x14a))/0x4)+-parseInt(_0x798857(0x129))/0x5*(-parseInt(_0x798857(0x161))/0x6)+parseInt(_0x798857(0x14f))/0x7+parseInt(_0x798857(0x120))/0x8*(-parseInt(_0x798857(0x13c))/0x9)+parseInt(_0x798857(0x123))/0xa*(-parseInt(_0x798857(0x12c))/0xb);if(_0x595421===_0x56ede5)break;else _0x557d87['push'](_0x557d87['shift']());}catch(_0x5c17e8){_0x557d87['push'](_0x557d87['shift']());}}}(_0x4899,0xccc9a));import{FocusCycler as _0x11e367,View as _0x190d14,ViewCollection as _0x46b9cd}from'ckeditor5/src/ui.js';import{FocusTracker as _0xba9e04,KeystrokeHandler as _0x3fa9e8}from'ckeditor5/src/utils.js';import{AriaDescriptionView as _0x3d36e3,setupThreadKeyboardNavigation as _0x26357b}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x2a73(_0x3b5224,_0x441a33){const _0x48990c=_0x4899();return _0x2a73=function(_0x2a73cb,_0x1f5c84){_0x2a73cb=_0x2a73cb-0x11b;let _0x206658=_0x48990c[_0x2a73cb];return _0x206658;},_0x2a73(_0x3b5224,_0x441a33);}function _0x4899(){const _0x1566f9=['length','ariaLabel','value','locale','join','330104wgByJH','SUGGESTION_THREAD_DESCRIPTION','canAccept','10TGvfle','set','updateComment','focusCycler','addComment','body','10sRGpZH','descriptionParts','fire','6562457JDrOVb','isEnabled','cancel','parseFromString','commentThreadInputView','destroy','content','hasDirtyComment','canDiscard','formatDateTime','submit','keystrokes','focus','tab','isActive','CommentView','9SFwcqI','2188848ebmKoA','textContent','21027YGpvhn','_createCommentViews','commentThread','isDirty','editor','delegate','editorConfig','name','_localUser','disabledSubmit','bind','1644460tdciJK','commentsListView','commentInputView','SUGGESTION_THREAD_ARIA_LABEL','assign','5505752ZkIRYV','element','target','disableComments','focusTracker','author','_config','authoredAt','focusables','3JBjfDw','shift+tab','showInput','_createCommentThreadInputView','isReadOnly','text/html','map','removeComment','setData','4183380SdctrG','_model','ariaDescriptionView','render'];_0x4899=function(){return _0x1566f9;};return _0x4899();}import{getTranslation as _0x1022c8}from'../../utils/common-translations.js';import{renderDescription as _0x5051a7}from'../../utils/utils.js';export default class cs extends _0x190d14{constructor(_0x25b875,_0x9f5a9a,_0x8a73cf,_0x517457){const _0x52688b=_0x2a73;super(_0x25b875),this[_0x52688b(0x14b)]=null,this[_0x52688b(0x130)]=null,this[_0x52688b(0x163)]=new _0x3d36e3(_0x25b875,_0x1022c8(_0x25b875,_0x52688b(0x121))),this[_0x52688b(0x124)](_0x52688b(0x13a),!0x1),this[_0x52688b(0x124)](_0x52688b(0x156),_0x9f5a9a[_0x52688b(0x156)]),this[_0x52688b(0x149)](_0x52688b(0x156))['to'](_0x9f5a9a),this[_0x52688b(0x124)](_0x52688b(0x12a),[]),this[_0x52688b(0x124)](_0x52688b(0x142),!0x1),this[_0x52688b(0x124)](_0x52688b(0x12d),!0x1),this[_0x52688b(0x124)](_0x52688b(0x122),!0x1),this[_0x52688b(0x124)](_0x52688b(0x134),!0x1),this[_0x52688b(0x149)](_0x52688b(0x11c))['to'](this,_0x52688b(0x11b),_0x9f5a9a,_0x52688b(0x156),this,_0x52688b(0x12a),(_0x34fce8,_0x2ff9f9,_0x1cba8c)=>{const _0x7fd631=_0x52688b,_0x4f61ef=_0x1cba8c[_0x7fd631(0x15e)](_0x369960=>_0x5051a7(_0x369960[_0x7fd631(0x132)]))[_0x7fd631(0x11f)]('.\x20')+'.';return _0x1022c8(this[_0x7fd631(0x11e)],_0x7fd631(0x14d),[_0x34fce8-0x1,_0x9f5a9a[_0x7fd631(0x154)][_0x7fd631(0x146)],_0x2ff9f9?_0x517457[_0x7fd631(0x135)](_0x2ff9f9):'',new DOMParser()[_0x7fd631(0x12f)](_0x4f61ef,_0x7fd631(0x15d))[_0x7fd631(0x128)][_0x7fd631(0x13e)]]);}),this[_0x52688b(0x157)]=new _0x46b9cd(),this[_0x52688b(0x153)]=new _0xba9e04(),this[_0x52688b(0x137)]=new _0x3fa9e8(),this[_0x52688b(0x126)]=new _0x11e367({'focusables':this[_0x52688b(0x157)],'focusTracker':this[_0x52688b(0x153)],'keystrokeHandler':this[_0x52688b(0x137)],'keystrokeHandlerOptions':{'filter':_0x3f5978=>_0x3f5978[_0x52688b(0x151)]!==this[_0x52688b(0x150)]},'actions':{'focusPrevious':_0x52688b(0x159),'focusNext':_0x52688b(0x139)}}),this[_0x52688b(0x162)]=_0x9f5a9a,this[_0x52688b(0x147)]=_0x8a73cf,this[_0x52688b(0x155)]=_0x517457,_0x517457[_0x52688b(0x152)]?this[_0x52688b(0x124)](_0x52688b(0x11b),0x1):this[_0x52688b(0x140)]();}[_0x8420dd(0x164)](){const _0x1296bf=_0x8420dd;super[_0x1296bf(0x164)](),_0x26357b(this,this[_0x1296bf(0x157)]);}[_0x8420dd(0x138)](){const _0x36e8cc=_0x8420dd;this[_0x36e8cc(0x150)][_0x36e8cc(0x138)]();}[_0x8420dd(0x131)](){const _0x22df87=_0x8420dd;this[_0x22df87(0x14b)]&&this[_0x22df87(0x14b)][_0x22df87(0x131)](),this[_0x22df87(0x130)]&&this[_0x22df87(0x130)][_0x22df87(0x131)](),super[_0x22df87(0x131)]();}[_0x8420dd(0x140)](){const _0x40156d=_0x8420dd,{CommentsListView:_0x11304d}=this[_0x40156d(0x155)];this[_0x40156d(0x14b)]=new _0x11304d(this[_0x40156d(0x11e)],this[_0x40156d(0x162)][_0x40156d(0x141)],Object[_0x40156d(0x14e)]({'CommentView':this[_0x40156d(0x155)][_0x40156d(0x13b)]},this[_0x40156d(0x155)])),this[_0x40156d(0x14b)][_0x40156d(0x144)](_0x40156d(0x15f))['to'](this),this[_0x40156d(0x14b)][_0x40156d(0x144)](_0x40156d(0x125))['to'](this),this[_0x40156d(0x14b)][_0x40156d(0x149)](_0x40156d(0x13a))['to'](this),this[_0x40156d(0x124)](_0x40156d(0x11b),this[_0x40156d(0x14b)][_0x40156d(0x11b)]+0x1),this[_0x40156d(0x149)](_0x40156d(0x11b))['to'](this[_0x40156d(0x14b)],_0x40156d(0x11b),_0x5da8f7=>_0x5da8f7+0x1),this[_0x40156d(0x130)]=this[_0x40156d(0x15b)](),this['on'](_0x40156d(0x15f),()=>this[_0x40156d(0x138)]()),this[_0x40156d(0x149)](_0x40156d(0x142))['to'](this[_0x40156d(0x14b)],_0x40156d(0x133),this[_0x40156d(0x130)][_0x40156d(0x14c)],_0x40156d(0x11d),(_0x2e5e5f,_0x3b0289)=>_0x2e5e5f||!!_0x3b0289);}[_0x8420dd(0x15b)](){const _0x2814cd=_0x8420dd,{CommentThreadInputView:_0xcb8c30}=this[_0x2814cd(0x155)],_0x44885f=new _0xcb8c30(this[_0x2814cd(0x11e)],this[_0x2814cd(0x147)],this[_0x2814cd(0x155)][_0x2814cd(0x145)]),_0x901219=_0x44885f[_0x2814cd(0x14c)];return _0x44885f[_0x2814cd(0x149)](_0x2814cd(0x15a))['to'](this,_0x2814cd(0x13a),this[_0x2814cd(0x162)][_0x2814cd(0x141)],_0x2814cd(0x15c),_0x901219,_0x2814cd(0x11d),(_0x576934,_0x21e009,_0x3151a7)=>!!_0x3151a7||_0x576934&&!_0x21e009),_0x901219['on'](_0x2814cd(0x136),(_0x31241a,_0xee6e34)=>{const _0x449aa2=_0x2814cd;this[_0x449aa2(0x12b)](_0x449aa2(0x127),_0xee6e34),_0x901219[_0x449aa2(0x143)][_0x449aa2(0x160)]('');}),_0x901219['on'](_0x2814cd(0x12e),()=>this[_0x2814cd(0x138)]()),_0x901219[_0x2814cd(0x149)](_0x2814cd(0x148))['to'](this[_0x2814cd(0x162)][_0x2814cd(0x141)],_0x2814cd(0x15c)),_0x44885f;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x508294=_0x46a0;function _0x343e(){const _0x399f05=['ariaLabel','599720cBkPEI','setTemplate','commentThread','content','set','432726rCovfv','ck-suggestion-','_descriptionElement','ck-rounded-corners','isEnabled','acceptSuggestion','86SSXypH','<p>','1788000DRHCAw','ck-suggestion--disabled-comments','3664dHelcs','756IHSwmT','commentThreadInputView','editorReady','suggestionView','_model','color','518210kSuOZv','_config','9CpjBtq','1647iMGRod','author','type','focusables','ariaDescriptionView','canDiscard','</p>','div','push','ck-suggestion-wrapper--active','discardButton','ck-suggestion-wrapper','canAccept','bindTemplate','formatDateTime','isActive','render','description','editorDestroyed','1533162CfyUUB','descriptionParts','SuggestionView','listitem','discardSuggestion','commentsListView','add','getTemplate','bind','acceptButton','delegate','disableComments'];_0x343e=function(){return _0x399f05;};return _0x343e();}(function(_0x5e7345,_0x589b82){const _0x3f7a8c=_0x46a0,_0x1875a5=_0x5e7345();while(!![]){try{const _0x1b271a=parseInt(_0x3f7a8c(0x167))/0x1*(-parseInt(_0x3f7a8c(0x16b))/0x2)+parseInt(_0x3f7a8c(0x175))/0x3*(-parseInt(_0x3f7a8c(0x16c))/0x4)+parseInt(_0x3f7a8c(0x172))/0x5+parseInt(_0x3f7a8c(0x188))/0x6+-parseInt(_0x3f7a8c(0x19a))/0x7+-parseInt(_0x3f7a8c(0x195))/0x8+-parseInt(_0x3f7a8c(0x174))/0x9*(-parseInt(_0x3f7a8c(0x169))/0xa);if(_0x1b271a===_0x589b82)break;else _0x1875a5['push'](_0x1875a5['shift']());}catch(_0x20307e){_0x1875a5['push'](_0x1875a5['shift']());}}}(_0x343e,0x22261));function _0x46a0(_0x4dc27d,_0x2e02ab){const _0x343e57=_0x343e();return _0x46a0=function(_0x46a098,_0x3aa2f0){_0x46a098=_0x46a098-0x167;let _0x881fc3=_0x343e57[_0x46a098];return _0x881fc3;},_0x46a0(_0x4dc27d,_0x2e02ab);}import{default as _0x2c2282}from'./basesuggestionthreadview.js';import{trimHtml as _0x152d44}from'ckeditor5-collaboration/src/collaboration-core.js';import{renderDescription as _0x489c78}from'../../utils/utils.js';export default class pe extends _0x2c2282{constructor(_0x4678e1,_0x3eeeb3,_0x51b0b3,_0x564147){const _0x1e262d=_0x46a0;super(_0x4678e1,_0x3eeeb3,_0x51b0b3,_0x564147),this[_0x1e262d(0x199)](_0x1e262d(0x177),''),this[_0x1e262d(0x190)](_0x1e262d(0x177))['to'](this,_0x1e262d(0x189),_0x4e99ee=>_0x4e99ee&&_0x4e99ee[0x0]?_0x4e99ee[0x0][_0x1e262d(0x177)]:''),this[_0x1e262d(0x190)](_0x1e262d(0x186))['to'](this,_0x1e262d(0x189),this,_0x1e262d(0x184),(_0x440ba2,_0x2d5d8d)=>{const _0x4e13e7=_0x1e262d;let _0x55d6ba='';for(const _0x11ff03 of _0x440ba2)_0x55d6ba+=_0x4e13e7(0x168)+_0x489c78(_0x11ff03[_0x4e13e7(0x198)],_0x11ff03[_0x4e13e7(0x171)])+_0x4e13e7(0x17b);return _0x2d5d8d?_0x55d6ba:_0x152d44(_0x55d6ba,{'limit':0x8c});}),this[_0x1e262d(0x19c)]=null,this[_0x1e262d(0x16f)]=new _0x564147[(_0x1e262d(0x18a))](_0x4678e1,_0x3eeeb3,{'formatDateTime':_0x564147[_0x1e262d(0x183)]}),this[_0x1e262d(0x16f)][_0x1e262d(0x190)](_0x1e262d(0x186))['to'](this),this[_0x1e262d(0x16f)][_0x1e262d(0x192)](_0x1e262d(0x19f),_0x1e262d(0x18c))['to'](this),this[_0x1e262d(0x16f)][_0x1e262d(0x191)][_0x1e262d(0x190)](_0x1e262d(0x19e))['to'](this,_0x1e262d(0x181)),this[_0x1e262d(0x16f)][_0x1e262d(0x17f)][_0x1e262d(0x190)](_0x1e262d(0x19e))['to'](this,_0x1e262d(0x17a)),this[_0x1e262d(0x178)][_0x1e262d(0x18e)](this[_0x1e262d(0x16f)]),this[_0x1e262d(0x18d)]&&this[_0x1e262d(0x178)][_0x1e262d(0x18e)](this[_0x1e262d(0x18d)]),this[_0x1e262d(0x16d)]&&this[_0x1e262d(0x178)][_0x1e262d(0x18e)](this[_0x1e262d(0x16d)]),this[_0x1e262d(0x196)](this[_0x1e262d(0x18f)]());}[_0x508294(0x18f)](){const _0x54dec2=_0x508294,_0x2188fe=this[_0x54dec2(0x182)],_0x176b81=[this[_0x54dec2(0x16f)]];return this[_0x54dec2(0x18d)]&&_0x176b81[_0x54dec2(0x17d)](this[_0x54dec2(0x18d)]),this[_0x54dec2(0x16d)]&&_0x176b81[_0x54dec2(0x17d)](this[_0x54dec2(0x16d)]),_0x176b81[_0x54dec2(0x17d)](this[_0x54dec2(0x179)]),{'tag':_0x54dec2(0x17c),'attributes':{'class':['ck',_0x54dec2(0x19d),_0x54dec2(0x180),_0x2188fe['if'](_0x54dec2(0x184),_0x54dec2(0x17e)),_0x2188fe['to'](_0x54dec2(0x177),_0x2d0f40=>_0x54dec2(0x19b)+_0x2d0f40),this[_0x54dec2(0x173)][_0x54dec2(0x193)]&&_0x54dec2(0x16a)],'data-suggestion-id':this[_0x54dec2(0x170)]['id'],'data-thread-id':this[_0x54dec2(0x170)][_0x54dec2(0x197)]['id'],'data-author-id':this[_0x54dec2(0x170)][_0x54dec2(0x176)]['id'],'tabindex':0x0,'role':_0x54dec2(0x18b),'aria-label':_0x2188fe['to'](_0x54dec2(0x194)),'aria-describedby':this[_0x54dec2(0x179)]['id']},'children':_0x176b81};}[_0x508294(0x185)](){const _0x37dc6e=_0x508294;super[_0x37dc6e(0x185)](),this[_0x37dc6e(0x18d)]&&(this[_0x37dc6e(0x18d)][_0x37dc6e(0x192)](_0x37dc6e(0x16e))['to'](this),this[_0x37dc6e(0x18d)][_0x37dc6e(0x192)](_0x37dc6e(0x187))['to'](this)),this[_0x37dc6e(0x16d)]&&(this[_0x37dc6e(0x16d)][_0x37dc6e(0x192)](_0x37dc6e(0x16e))['to'](this),this[_0x37dc6e(0x16d)][_0x37dc6e(0x192)](_0x37dc6e(0x187))['to'](this));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x56def1=_0x30a4;(function(_0x37b4e4,_0x540ae0){const _0x37c7c2=_0x30a4,_0x4ab1ce=_0x37b4e4();while(!![]){try{const _0x5dc900=-parseInt(_0x37c7c2(0x1ba))/0x1+parseInt(_0x37c7c2(0x19e))/0x2*(parseInt(_0x37c7c2(0x1b6))/0x3)+parseInt(_0x37c7c2(0x1af))/0x4+parseInt(_0x37c7c2(0x178))/0x5+-parseInt(_0x37c7c2(0x19b))/0x6+-parseInt(_0x37c7c2(0x19c))/0x7*(parseInt(_0x37c7c2(0x1a5))/0x8)+parseInt(_0x37c7c2(0x176))/0x9;if(_0x5dc900===_0x540ae0)break;else _0x4ab1ce['push'](_0x4ab1ce['shift']());}catch(_0x2815a2){_0x4ab1ce['push'](_0x4ab1ce['shift']());}}}(_0x5a79,0x9dfdd));function _0x30a4(_0x4d4a6f,_0x493eed){const _0x5a7907=_0x5a79();return _0x30a4=function(_0x30a4b0,_0x5d2499){_0x30a4b0=_0x30a4b0-0x174;let _0x16be8e=_0x5a7907[_0x30a4b0];return _0x16be8e;},_0x30a4(_0x4d4a6f,_0x493eed);}import{FocusTracker as _0x1e36ad,KeystrokeHandler as _0x54794c}from'ckeditor5/src/utils.js';import{View as _0x347dbc,ViewCollection as _0x460970,FocusCycler as _0x154bce}from'ckeditor5/src/ui.js';function _0x5a79(){const _0x1b70fe=['ck-suggestion__user','esc','add','focusTracker','3ldHuQj','keystrokes','focus','shift+tab','1083371uJTVvf','cancel','importWord','ck-suggestion__main','authoredAt','setTemplate','element','tab','change:description','check','ck-annotation__info-time','presentation','author','ck-comment__info-time','EXTERNAL_AVATAR','ck-annotation__actions','_config','.ck-annotation__content-wrapper','focusFirst','ck-annotation__content-wrapper','acceptButton','focusCycler','16613721cZglFS','ck-annotation__info','459505sWZUHm','EXTERNAL_IMPORT_WORD_SUGGESTION','span','target','render','fire','time','creator','focusables','getTemplate','div','ck-annotation','Discard\x20suggestion','_createButton','bind','source','querySelector','EXTERNAL_SUGGESTION','execute','userView','ck-suggestion--discard','formatDateTime','innerHTML','getExternalSuggestionNote','discardButton','extendTemplate','ck-suggestion__info','ck-comment__external','set','_model','ck-annotation__user','EXTERNAL_IMPORT_WORD_AVATAR','ck-annotation__info-name','description','ck-suggestion','341280CFWsoJ','553rxjszu','listenTo','507376uOeiQU','attributes','Accept\x20suggestion','ck-suggestion__info-name','acceptSuggestion','bindTemplate','ck-annotation__main','60456nafupT','_setupKeyboardNavigation','push','ck-suggestion--accept','isExternal','ck-suggestion__actions','locale','@external','discardSuggestion','getUserViewNotificationText','771316BXuPJc','enter','name'];_0x5a79=function(){return _0x1b70fe;};return _0x5a79();}import{LateFocusButtonView as _0x3f0b49,UserView as _0x551d31}from'ckeditor5-collaboration/src/collaboration-core.js';import{icons as _0x3454fc}from'ckeditor5/src/core.js';import{getTranslation as _0x1b3a19}from'../../utils/common-translations.js';export default class fe extends _0x347dbc{constructor(_0x239802,_0x3aaa4e,_0x35c279){const _0x127917=_0x30a4;super(_0x239802),this[_0x127917(0x195)]=_0x3aaa4e,this[_0x127917(0x1ca)]=_0x35c279,this[_0x127917(0x194)](_0x127917(0x199),''),this[_0x127917(0x186)](_0x127917(0x1be))['to'](_0x3aaa4e),this[_0x127917(0x174)]=this[_0x127917(0x185)](_0x1b3a19(_0x239802,_0x127917(0x1a0)),_0x3454fc[_0x127917(0x1c3)],_0x127917(0x1a8),_0x127917(0x1a2),'sw'),this[_0x127917(0x190)]=this[_0x127917(0x185)](_0x1b3a19(_0x239802,_0x127917(0x184)),_0x3454fc[_0x127917(0x1bb)],_0x127917(0x18c),_0x127917(0x1ad),'sw'),this[_0x127917(0x18b)]=new _0x551d31(_0x239802,_0x3aaa4e[_0x127917(0x1c6)],this[_0x127917(0x1ae)]()),this[_0x127917(0x18b)][_0x127917(0x191)]({'attributes':{'class':[_0x127917(0x1b2),_0x127917(0x196)],'aria-hidden':!0x0}}),this[_0x127917(0x180)]=new _0x460970([this[_0x127917(0x174)],this[_0x127917(0x190)]]),this[_0x127917(0x1b5)]=new _0x1e36ad(),this[_0x127917(0x1b7)]=new _0x54794c(),this[_0x127917(0x175)]=new _0x154bce({'focusables':this[_0x127917(0x180)],'focusTracker':this[_0x127917(0x1b5)],'keystrokeHandler':this[_0x127917(0x1b7)],'actions':{'focusPrevious':_0x127917(0x1b9),'focusNext':_0x127917(0x1c1)},'keystrokeHandlerOptions':{'filter':_0x142556=>_0x142556[_0x127917(0x17b)]!==this[_0x127917(0x1c0)]}}),this[_0x127917(0x1bf)](this[_0x127917(0x181)]());}[_0x56def1(0x17c)](){const _0x3f6435=_0x56def1;super[_0x3f6435(0x17c)]();const _0x214e0d=this[_0x3f6435(0x1c0)][_0x3f6435(0x188)](_0x3f6435(0x1cb));_0x214e0d[_0x3f6435(0x18e)]=this[_0x3f6435(0x199)],this['on'](_0x3f6435(0x1c2),(_0x1b2fbb,_0x100306,_0x109165)=>{const _0x503a1d=_0x3f6435;_0x214e0d[_0x503a1d(0x18e)]=_0x109165;}),this[_0x3f6435(0x1a6)]();}[_0x56def1(0x181)](){const _0xb3eb5f=_0x56def1,_0x54762e=this[_0xb3eb5f(0x1a3)],_0x42a925=[{'tag':_0xb3eb5f(0x182),'attributes':{'class':[_0xb3eb5f(0x192),_0xb3eb5f(0x177)]},'children':[{'tag':_0xb3eb5f(0x17a),'children':[{'text':this[_0xb3eb5f(0x18b)][_0xb3eb5f(0x1b1)]}],'attributes':{'class':[_0xb3eb5f(0x1a1),_0xb3eb5f(0x198)],'data-cke-tooltip-text':this[_0xb3eb5f(0x18b)][_0xb3eb5f(0x1b1)]}},{'tag':_0xb3eb5f(0x17e),'attributes':{'datetime':_0x54762e['to'](_0xb3eb5f(0x1be)),'class':[_0xb3eb5f(0x1c7),_0xb3eb5f(0x1c4)]},'children':[{'text':_0x54762e['to'](_0xb3eb5f(0x1be),_0x6a5eab=>this[_0xb3eb5f(0x1ca)][_0xb3eb5f(0x18d)](_0x6a5eab))}]}]},{'tag':_0xb3eb5f(0x182),'attributes':{'class':[_0xb3eb5f(0x1aa),_0xb3eb5f(0x1c9)]},'children':[this[_0xb3eb5f(0x174)],this[_0xb3eb5f(0x190)]]},{'tag':_0xb3eb5f(0x182),'attributes':{'class':[_0xb3eb5f(0x1cd)]}}];return this[_0xb3eb5f(0x195)][_0xb3eb5f(0x1a9)]&&_0x42a925[_0xb3eb5f(0x1a7)]({'tag':_0xb3eb5f(0x182),'attributes':{'class':[_0xb3eb5f(0x193)]},'children':[{'text':this[_0xb3eb5f(0x18f)]()}]}),{'tag':_0xb3eb5f(0x182),'attributes':{'class':[_0xb3eb5f(0x19a),_0xb3eb5f(0x183)],'tabindex':-0x1},'children':[this[_0xb3eb5f(0x18b)],{'tag':_0xb3eb5f(0x182),'attributes':{'class':[_0xb3eb5f(0x1bd),_0xb3eb5f(0x1a4)],'role':_0xb3eb5f(0x1c5)},'children':_0x42a925}]};}[_0x56def1(0x1b8)](){const _0x530295=_0x56def1;this[_0x530295(0x1c0)][_0x530295(0x1b8)]();}[_0x56def1(0x1ae)](){const _0x2e5581=_0x56def1;return this[_0x2e5581(0x195)][_0x2e5581(0x1a9)]?_0x2e5581(0x1bc)===this[_0x2e5581(0x195)][_0x2e5581(0x19f)][_0x2e5581(0x1ac)][_0x2e5581(0x187)]?_0x1b3a19(this[_0x2e5581(0x1ab)],_0x2e5581(0x197),this[_0x2e5581(0x195)][_0x2e5581(0x17f)][_0x2e5581(0x1b1)]):_0x1b3a19(this[_0x2e5581(0x1ab)],_0x2e5581(0x1c8),this[_0x2e5581(0x195)][_0x2e5581(0x17f)][_0x2e5581(0x1b1)]):null;}[_0x56def1(0x18f)](){const _0x4d401a=_0x56def1;return _0x4d401a(0x1bc)===this[_0x4d401a(0x195)][_0x4d401a(0x19f)][_0x4d401a(0x1ac)][_0x4d401a(0x187)]?_0x1b3a19(this[_0x4d401a(0x1ab)],_0x4d401a(0x179)):_0x1b3a19(this[_0x4d401a(0x1ab)],_0x4d401a(0x189));}[_0x56def1(0x185)](_0x4e1e5d,_0x424b6,_0x365d9b,_0x3e1f40,_0x5d4207){const _0x40fa8f=_0x56def1,_0x5a96f0=new _0x3f0b49(this[_0x40fa8f(0x1ab)]);return _0x5a96f0[_0x40fa8f(0x194)]({'label':_0x4e1e5d,'icon':_0x424b6,'tooltip':!0x0,'tooltipPosition':_0x5d4207}),_0x5a96f0[_0x40fa8f(0x191)]({'attributes':{'class':_0x365d9b}}),_0x5a96f0['on'](_0x40fa8f(0x18a),()=>{const _0x5b32e5=_0x40fa8f;this[_0x5b32e5(0x17d)](_0x3e1f40,this[_0x5b32e5(0x195)]['id']);}),_0x5a96f0;}[_0x56def1(0x1a6)](){const _0x4a2cfc=_0x56def1,_0x4193e5=this[_0x4a2cfc(0x1c0)];this[_0x4a2cfc(0x1b7)][_0x4a2cfc(0x19d)](_0x4193e5);for(const _0x3c96b3 of this[_0x4a2cfc(0x180)])this[_0x4a2cfc(0x1b5)][_0x4a2cfc(0x1b4)](_0x3c96b3[_0x4a2cfc(0x1c0)]),this[_0x4a2cfc(0x1b7)][_0x4a2cfc(0x19d)](_0x3c96b3[_0x4a2cfc(0x1c0)]);this[_0x4a2cfc(0x1b7)][_0x4a2cfc(0x194)](_0x4a2cfc(0x1b0),(_0x58e57b,_0x17f230)=>{const _0x811563=_0x4a2cfc;_0x4193e5===_0x58e57b[_0x811563(0x17b)]&&(this[_0x811563(0x175)][_0x811563(0x1cc)](),_0x17f230());}),this[_0x4a2cfc(0x1b7)][_0x4a2cfc(0x194)](_0x4a2cfc(0x1b3),(_0x498a7b,_0x45d8a7)=>{const _0x1c8b6e=_0x4a2cfc;_0x4193e5!==_0x498a7b[_0x1c8b6e(0x17b)]&&(this[_0x1c8b6e(0x1b8)](),_0x45d8a7());});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x314e(){const _0x2be777=['classes','ck-track-changes-preview','setAttribute','3896224yYYMRt','12924zMTGxC','createElement','setPreviewData','render','focus','14pbvICI','element','push','div','602870qJodmi','innerHTML','setTemplate','3kAJDmw','1985VJhKcf','content','66258POJOTm','4874qpwFOz','options','previewDataReady','ck-reset','\x20ck-track-changes-preview__root-container','className','width','2182288VWnppi','data-ck-root-name','fire','height','9992832LXANFI','dialogRects','467MhRSXW','style','11latmIx'];_0x314e=function(){return _0x2be777;};return _0x314e();}const _0x3aba8d=_0x531a;(function(_0x15976b,_0x32fdcf){const _0x5ac074=_0x531a,_0x4fe4f5=_0x15976b();while(!![]){try{const _0x4ab020=-parseInt(_0x5ac074(0x126))/0x1*(-parseInt(_0x5ac074(0x13d))/0x2)+parseInt(_0x5ac074(0x139))/0x3*(parseInt(_0x5ac074(0x120))/0x4)+-parseInt(_0x5ac074(0x13a))/0x5*(-parseInt(_0x5ac074(0x12d))/0x6)+-parseInt(_0x5ac074(0x132))/0x7*(parseInt(_0x5ac074(0x12c))/0x8)+parseInt(_0x5ac074(0x13c))/0x9+parseInt(_0x5ac074(0x136))/0xa+-parseInt(_0x5ac074(0x128))/0xb*(parseInt(_0x5ac074(0x124))/0xc);if(_0x4ab020===_0x32fdcf)break;else _0x4fe4f5['push'](_0x4fe4f5['shift']());}catch(_0x3d147c){_0x4fe4f5['push'](_0x4fe4f5['shift']());}}}(_0x314e,0xc339e));function _0x531a(_0x24c173,_0x4eb38d){const _0x314e39=_0x314e();return _0x531a=function(_0x531ad3,_0x14d9c0){_0x531ad3=_0x531ad3-0x120;let _0x252130=_0x314e39[_0x531ad3];return _0x252130;},_0x531a(_0x24c173,_0x4eb38d);}import{View as _0x12acce}from'ckeditor5/src/ui.js';export default class Me extends _0x12acce{constructor(_0x59c94a,_0x2d8ebc){const _0x5d1b95=_0x531a;super(_0x59c94a),this[_0x5d1b95(0x13e)]=_0x2d8ebc,this[_0x5d1b95(0x138)]({'tag':_0x5d1b95(0x135),'attributes':{'class':['ck',_0x5d1b95(0x140),_0x5d1b95(0x12a)],'tabindex':-0x1}});}[_0x3aba8d(0x130)](){const _0x18e028=_0x3aba8d;super[_0x18e028(0x130)](),this[_0x18e028(0x133)][_0x18e028(0x127)][_0x18e028(0x143)]=this[_0x18e028(0x13e)][_0x18e028(0x125)][_0x18e028(0x143)]+'px',this[_0x18e028(0x133)][_0x18e028(0x127)][_0x18e028(0x123)]=this[_0x18e028(0x13e)][_0x18e028(0x125)][_0x18e028(0x123)]+'px';}[_0x3aba8d(0x12f)](_0x9dda6a,_0x5e33b1){const _0x3a58c5=_0x3aba8d;if(!this[_0x3a58c5(0x133)])return;const _0x352031=[];for(const [_0x10d211,_0x3a6c78]of _0x9dda6a){const _0x262461=document[_0x3a58c5(0x12e)](_0x3a58c5(0x135));_0x262461[_0x3a58c5(0x12b)](_0x3a58c5(0x121),_0x10d211),_0x262461[_0x3a58c5(0x142)]=_0x3a6c78[_0x3a58c5(0x129)]+_0x3a58c5(0x141),_0x262461[_0x3a58c5(0x137)]=_0x3a6c78[_0x3a58c5(0x13b)],_0x352031[_0x3a58c5(0x134)](_0x262461);}_0x5e33b1(this[_0x3a58c5(0x133)],_0x352031),this[_0x3a58c5(0x133)][_0x3a58c5(0x127)][_0x3a58c5(0x123)]='',this[_0x3a58c5(0x122)](_0x3a58c5(0x13f));}[_0x3aba8d(0x131)](){const _0x5792a0=_0x3aba8d;this[_0x5792a0(0x133)][_0x5792a0(0x131)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0xfc76aa,_0x449ef1,_0x245e1b){const _0x445f26=_0xfc76aa['t'],t=_0xfc76aa['t'];switch(_0x449ef1){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',_0x245e1b);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x245e1b);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x245e1b);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x245e1b);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x245e1b);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',_0x245e1b);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x245e1b);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',_0x245e1b);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x245e1b);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x245e1b);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x245e1b);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x245e1b);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x245e1b);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x245e1b);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x245e1b);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x245e1b);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x245e1b);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x245e1b);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x245e1b);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x245e1b);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x245e1b);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x245e1b);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x245e1b);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x245e1b);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'},_0x245e1b);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x245e1b);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x245e1b);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x245e1b);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x245e1b);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x245e1b);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'},_0x245e1b);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x245e1b);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x245e1b);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x245e1b);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x245e1b);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'},_0x245e1b);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x245e1b);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'},_0x245e1b);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'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'},_0x245e1b);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x245e1b);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'},_0x245e1b);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x245e1b);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'},_0x245e1b);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x245e1b);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x245e1b);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'},_0x245e1b);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x245e1b);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 _0x445f26({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x245e1b);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x445f26({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x245e1b);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x245e1b);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'},_0x245e1b);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'},_0x245e1b);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'},_0x245e1b);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x449ef1;}}
|
|
23
|
+
export function getTranslation(_0x39691c,_0x4a1fca,_0x2a5fd2){const _0x363ca1=_0x39691c['t'],t=_0x39691c['t'];switch(_0x4a1fca){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',_0x2a5fd2);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x2a5fd2);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x2a5fd2);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x2a5fd2);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x2a5fd2);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',_0x2a5fd2);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x2a5fd2);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',_0x2a5fd2);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x2a5fd2);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x2a5fd2);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x2a5fd2);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x2a5fd2);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x2a5fd2);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x2a5fd2);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x2a5fd2);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x2a5fd2);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x2a5fd2);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x2a5fd2);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x2a5fd2);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x2a5fd2);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x2a5fd2);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x2a5fd2);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x2a5fd2);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x2a5fd2);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'},_0x2a5fd2);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x2a5fd2);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x2a5fd2);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x2a5fd2);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x2a5fd2);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x2a5fd2);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'},_0x2a5fd2);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x2a5fd2);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x2a5fd2);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x2a5fd2);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x2a5fd2);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'},_0x2a5fd2);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x2a5fd2);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'},_0x2a5fd2);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'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'},_0x2a5fd2);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x2a5fd2);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'},_0x2a5fd2);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x2a5fd2);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'},_0x2a5fd2);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x2a5fd2);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x2a5fd2);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'},_0x2a5fd2);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x2a5fd2);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 _0x363ca1({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x2a5fd2);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x363ca1({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x2a5fd2);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x2a5fd2);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'},_0x2a5fd2);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'},_0x2a5fd2);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'},_0x2a5fd2);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x4a1fca;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x1084f0,_0x7ab7fd){const _0xaa2345=_0x500c,_0x462f18=_0x1084f0();while(!![]){try{const _0x247e4b=-parseInt(_0xaa2345(0xe0))/0x1*(-parseInt(_0xaa2345(0xe4))/0x2)+-parseInt(_0xaa2345(0xed))/0x3*(parseInt(_0xaa2345(0xd2))/0x4)+-parseInt(_0xaa2345(0xe3))/0x5+parseInt(_0xaa2345(0xda))/0x6*(parseInt(_0xaa2345(0xec))/0x7)+parseInt(_0xaa2345(0xfe))/0x8*(parseInt(_0xaa2345(0xfd))/0x9)+-parseInt(_0xaa2345(0xf8))/0xa+-parseInt(_0xaa2345(0x100))/0xb*(-parseInt(_0xaa2345(0xde))/0xc);if(_0x247e4b===_0x7ab7fd)break;else _0x462f18['push'](_0x462f18['shift']());}catch(_0x1fd347){_0x462f18['push'](_0x462f18['shift']());}}}(_0x262a,0x2ccb0));export function normalizeDescription(_0x40ea95){const _0x569750=_0x500c;return Array[_0x569750(0xd1)](_0x40ea95)||(_0x40ea95=[_0x40ea95]),_0x40ea95[_0x569750(0xd8)](_0xcb5e49=>{const _0x195063=_0x569750,_0x332fcb=_0xcb5e49[_0x195063(0xdf)][_0x195063(0xe7)](/\*/g,''),_0x44ccc6=_0xcb5e49[_0x195063(0xe8)]?_0x195063(0xfb)+_0xcb5e49[_0x195063(0xe8)][_0x195063(0xfa)]+']':'';return'['+_0xcb5e49[_0x195063(0xe1)]+']\x20'+_0x332fcb+_0x44ccc6;})[_0x569750(0xee)](';\x20');}export function renderDescription(_0x126333,_0x10fdeb){const _0x1fd9fd=_0x500c;let _0x1471ba='';return _0x1471ba+=_0x126333[_0x1fd9fd(0xf3)]('*')[_0x1fd9fd(0xd8)]((_0x27961d,_0x5db3ab)=>_0x5db3ab%0x2!=0x0?_0x1fd9fd(0x105)+nn(_0x27961d)+_0x1fd9fd(0x101):nn(_0x27961d))[_0x1fd9fd(0xee)](''),_0x10fdeb&&(_0x1471ba+=_0x1fd9fd(0xf0)+_0x10fdeb[_0x1fd9fd(0xfa)]+_0x1fd9fd(0xe5)+_0x10fdeb[_0x1fd9fd(0xd5)]+_0x1fd9fd(0x106)),_0x1471ba;}function nn(_0x5a8340){const _0x461347=_0x500c,_0x385d54=document[_0x461347(0xf1)](_0x461347(0xdc));return _0x385d54[_0x461347(0xd7)]=_0x5a8340,_0x385d54[_0x461347(0xe9)];}function _0x500c(_0x14f092,_0x5ef396){const _0x262a5e=_0x262a();return _0x500c=function(_0x500cf3,_0x50f1d0){_0x500cf3=_0x500cf3-0xd0;let _0x50ff7d=_0x262a5e[_0x500cf3];return _0x50ff7d;},_0x500c(_0x14f092,_0x5ef396);}function _0x262a(){const _0x5b5591=['isTouching','createPositionAfter','<span\x20class=\x22ck-suggestion-type\x22>','\x22></span>','createRange','push','isArray','101084fVhMQr','isIntersecting','isCollapsed','title','next','innerText','map','splice','24fLbqAY','start','span','sort','12njCEau','content','50lbgbcm','type','createPositionBefore','1635150fTBltl','13710JHbOWX','\x22\x20title=\x22','end','replace','color','innerHTML','add','change','164458MUFWsv','42tfVPUU','join','getRanges','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','createElement','isObject','split','from','isInContent','length','createPositionAt','3564970uQprdW','isMultiRange','value','\x20[color\x20','execute','522iVZfGO','8704dARIFc','schema','7930593JFPkBk','</span>','deletion'];_0x262a=function(){return _0x5b5591;};return _0x262a();}export function sortSuggestions(_0x495e96){const _0x5e4167=_0x500c;return _0x495e96[_0x5e4167(0xdd)]((_0x15295e,_0x2fd61b)=>_0x5e4167(0x102)==_0x15295e[_0x5e4167(0xe1)]&&_0x5e4167(0x102)!=_0x2fd61b[_0x5e4167(0xe1)]?-0x1:_0x5e4167(0x102)!=_0x15295e[_0x5e4167(0xe1)]&&_0x5e4167(0x102)==_0x2fd61b[_0x5e4167(0xe1)]?0x1:0x0);}export function getSelectedSuggestions(_0x453345,_0x562782){const _0x5020ee=_0x500c,_0x569863=Array[_0x5020ee(0xf4)](_0x453345[_0x5020ee(0xef)]()),_0x1cc406=new Set();for(const _0x4d8da7 of _0x562782)if(_0x4d8da7[_0x5020ee(0xf5)]){for(const _0x1abab5 of _0x569863)for(const _0x1f3b68 of _0x4d8da7[_0x5020ee(0xef)]())(_0x1abab5[_0x5020ee(0xd3)](_0x1f3b68)||_0x453345[_0x5020ee(0xd4)]&&!_0x4d8da7[_0x5020ee(0xf9)]&&_0x4d8da7[_0x5020ee(0xd6)]&&_0x1f3b68[_0x5020ee(0xe6)][_0x5020ee(0x103)](_0x1abab5[_0x5020ee(0xdb)]))&&_0x1cc406[_0x5020ee(0xea)](_0x4d8da7);}return _0x1cc406;}export function getRangesOfBlockGroups(_0x1d1ba6,_0x35e934){const _0x19b460=_0x500c;let _0x5eb7a5,_0x545332=0x0;const _0xcd0b66=[],_0x338cdc=_0x35e934[_0x19b460(0xff)];for(;_0x545332<_0x1d1ba6[_0x19b460(0xf6)];){const _0x18c8e8=_0x1d1ba6[_0x545332],_0x27aab4=_0x1d1ba6[_0x545332+0x1];_0x5eb7a5||(_0x5eb7a5=_0x35e934[_0x19b460(0xe2)](_0x18c8e8)),on(_0x35e934,_0x18c8e8,_0x27aab4)||(_0xcd0b66[_0x19b460(0xd0)](_0x35e934[_0x19b460(0x107)](_0x5eb7a5,_0x338cdc[_0x19b460(0xf2)](_0x18c8e8)?_0x35e934[_0x19b460(0x104)](_0x18c8e8):_0x35e934[_0x19b460(0xf7)](_0x18c8e8,_0x19b460(0xe6)))),_0x5eb7a5=null),_0x545332++;}return _0xcd0b66;}function on(_0x230121,_0x27921a,_0x1318d4){const _0x26378c=_0x500c;if(!_0x1318d4)return!0x1;const _0x157bd0=_0x230121[_0x26378c(0x104)](_0x27921a),_0x115cb3=_0x230121[_0x26378c(0xe2)](_0x1318d4);return _0x157bd0[_0x26378c(0x103)](_0x115cb3);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x34b34d,_0x275b0e,_0x24178c){const _0x403744=_0x500c;for(;_0x24178c[_0x403744(0xf6)];){const _0x20e520=_0x24178c[_0x403744(0xd9)](0x0,0x64);_0x34b34d[_0x403744(0xeb)](()=>{const _0x25f4fa=_0x403744;for(const _0x352b51 of _0x20e520)_0x352b51[_0x25f4fa(0xf5)]&&_0x275b0e[_0x25f4fa(0xfc)](_0x352b51['id']);});}}
|