@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20240619.0 → 0.0.0-nightly-20240619.2
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/ar.js +1 -1
- package/dist/translations/ar.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/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.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.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/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/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/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/ko.js +1 -1
- package/dist/translations/ko.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/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/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/sk.js +1 -1
- package/dist/translations/sk.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/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/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/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 +3 -3
- 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/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/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/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/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/utils.js +1 -1
- package/src/suggestion.js +2 -2
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/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/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
const _0x496d3e=_0x5cf1;(function(_0x38aa39,_0x16bce4){const _0x29f4f9=_0x5cf1,_0x4ea5f4=_0x38aa39();while(!![]){try{const _0x2d866c=parseInt(_0x29f4f9(0x1ba))/0x1+parseInt(_0x29f4f9(0x1ae))/0x2*(parseInt(_0x29f4f9(0x1b1))/0x3)+parseInt(_0x29f4f9(0x1be))/0x4*(-parseInt(_0x29f4f9(0x1ad))/0x5)+parseInt(_0x29f4f9(0x1a5))/0x6*(parseInt(_0x29f4f9(0x1b4))/0x7)+-parseInt(_0x29f4f9(0x196))/0x8+parseInt(_0x29f4f9(0x193))/0x9*(parseInt(_0x29f4f9(0x194))/0xa)+-parseInt(_0x29f4f9(0x195))/0xb*(parseInt(_0x29f4f9(0x19a))/0xc);if(_0x2d866c===_0x16bce4)break;else _0x4ea5f4['push'](_0x4ea5f4['shift']());}catch(_0x3d8d63){_0x4ea5f4['push'](_0x4ea5f4['shift']());}}}(_0x9b51,0xaddca));import{ObservableMixin as _0x33a567}from'ckeditor5/src/utils.js';function _0x5cf1(_0x149885,_0x4e8887){const _0x9b51e5=_0x9b51();return _0x5cf1=function(_0x5cf13c,_0x5ef97b){_0x5cf13c=_0x5cf13c-0x193;let _0x16a66e=_0x9b51e5[_0x5cf13c];return _0x16a66e;},_0x5cf1(_0x149885,_0x4e8887);}import{getTranslation as _0x80ce61}from'../utils/common-translations.js';export default class oe extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x33a567(){constructor(_0x17017f,_0x3964da,_0x462bd0,_0x4059f7){const _0x44964b=_0x5cf1;super(),this[_0x44964b(0x1af)]=_0x3964da,this[_0x44964b(0x1a3)]=_0x462bd0,this[_0x44964b(0x199)]=_0x4059f7,this[_0x44964b(0x1ac)]=_0x17017f,this[_0x44964b(0x1a4)]=_0x17017f[_0x44964b(0x1a6)][_0x44964b(0x1a2)](_0x44964b(0x1bd)),this[_0x44964b(0x1bb)]=_0x17017f[_0x44964b(0x1a6)][_0x44964b(0x1a2)](_0x44964b(0x19b)),this[_0x44964b(0x1a3)][_0x44964b(0x1a9)](_0x44964b(0x1b9))['to'](this[_0x44964b(0x1a4)],this[_0x44964b(0x1bb)],(_0xe02536,_0x1303a9)=>_0xe02536||_0x1303a9),this[_0x44964b(0x1a3)][_0x44964b(0x1a9)](_0x44964b(0x1bc))['to'](this[_0x44964b(0x1a4)],_0x44964b(0x1b9),_0x137ce2=>_0x137ce2&&this[_0x44964b(0x1ac)][_0x44964b(0x1af)][_0x44964b(0x1b8)](_0x3964da[_0x44964b(0x198)]())),this[_0x44964b(0x1a3)][_0x44964b(0x1a9)](_0x44964b(0x19d))['to'](this[_0x44964b(0x1bb)],_0x44964b(0x1b9),_0x392979=>_0x392979&&this[_0x44964b(0x1ac)][_0x44964b(0x1af)][_0x44964b(0x1b8)](_0x3964da[_0x44964b(0x198)]())),this[_0x44964b(0x1b3)]=null,_0x462bd0[_0x44964b(0x1b0)]&&this[_0x44964b(0x19f)](),this[_0x44964b(0x1b7)](_0x462bd0,_0x44964b(0x1bd),()=>this[_0x44964b(0x1bd)]()),this[_0x44964b(0x1b7)](_0x462bd0,_0x44964b(0x19b),()=>this[_0x44964b(0x19b)]()),this[_0x44964b(0x1b7)](_0x462bd0,_0x44964b(0x1a0),()=>{const _0x36c779=_0x44964b;_0x462bd0[_0x36c779(0x1b0)]?this[_0x36c779(0x19f)]():this[_0x36c779(0x1b2)]();});}[_0x496d3e(0x1bd)](){const _0x5d204f=_0x496d3e;this[_0x5d204f(0x1a4)][_0x5d204f(0x1a8)](this[_0x5d204f(0x1af)]['id']);}[_0x496d3e(0x19b)](){const _0xebd79a=_0x496d3e;this[_0xebd79a(0x1bb)][_0xebd79a(0x1a8)](this[_0xebd79a(0x1af)]['id']);}[_0x496d3e(0x1ab)](){const _0x2d21e0=_0x496d3e;this[_0x2d21e0(0x1a3)][_0x2d21e0(0x1aa)](_0x2d21e0(0x1b9)),this[_0x2d21e0(0x1a3)][_0x2d21e0(0x1aa)](_0x2d21e0(0x1bc)),this[_0x2d21e0(0x1a3)][_0x2d21e0(0x1aa)](_0x2d21e0(0x19d)),this[_0x2d21e0(0x19c)](),this[_0x2d21e0(0x199)][_0x2d21e0(0x1ab)](),this[_0x2d21e0(0x1b3)]&&this[_0x2d21e0(0x1b2)]();}[_0x496d3e(0x19f)](){const _0x57f54c=_0x496d3e,_0x2cb2c4=_0x80ce61(this[_0x57f54c(0x1ac)][_0x57f54c(0x197)],_0x57f54c(0x1b6));this[_0x57f54c(0x1b3)]=this[_0x57f54c(0x1ac)][_0x57f54c(0x1b5)][_0x57f54c(0x1a2)](_0x57f54c(0x19e))[_0x57f54c(0x1a1)](_0x2cb2c4);}[_0x496d3e(0x1b2)](){const _0x432970=_0x496d3e;null!==this[_0x432970(0x1b3)]&&this[_0x432970(0x1ac)][_0x432970(0x1b5)][_0x432970(0x1a2)](_0x432970(0x19e))[_0x432970(0x1a7)](this[_0x432970(0x1b3)]),this[_0x432970(0x1b3)]=null;}}function _0x9b51(){const _0x3458c8=['stopListening','canDiscard','PendingActions','_setPendingAction','change:isDirty','add','get','view','_acceptCommand','8481336eGaNKH','commands','remove','execute','bind','unbind','destroy','_editor','620fycDhE','14MHDJsi','model','isDirty','365532XywViq','_removePendingAction','_pendingAction','7QoKPYU','plugins','PENDING_ACTION_SUGGESTION','listenTo','canEditAt','isEnabled','816867eDSRAg','_discardCommand','canAccept','acceptSuggestion','11420WCWQEg','261yNbgjv','256430WCGQCE','1430539mRrBKO','2319112wwClKD','locale','getRanges','commentThreadController','228sWkiJo','discardSuggestion'];_0x9b51=function(){return _0x3458c8;};return _0x9b51();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x2111(){const _0x3105dc=['submit','7552963aQuQFl','addComment','4RJCvjA','editorConfig','commentInputView','value','fire','4006782TflwnI','_createCommentViews','disabledSubmit','72YFhrUk','isDirty','locale','isEnabled','isReadOnly','showInput','_config','canDiscard','focus','length','321335zsqqpn','set','canAccept','setData','654fwZxCV','bind','3001260IxGUDW','element','descriptionParts','commentThread','_localUser','commentThreadInputView','assign','cancel','disableComments','commentsListView','CommentView','_model','delegate','destroy','171878PGNxIN','10xVSzLB','hasDirtyComment','authoredAt','editor','removeComment','2922dkyokW','_createCommentThreadInputView','695865aeWjiF','isActive','updateComment'];_0x2111=function(){return _0x3105dc;};return _0x2111();}const _0x354d4a=_0x419e;(function(_0x440122,_0x3b4af0){const _0xd0ab8f=_0x419e,_0x422c13=_0x440122();while(!![]){try{const _0x3232b6=parseInt(_0xd0ab8f(0x14a))/0x1+parseInt(_0xd0ab8f(0x14e))/0x2*(-parseInt(_0xd0ab8f(0x164))/0x3)+parseInt(_0xd0ab8f(0x138))/0x4*(-parseInt(_0xd0ab8f(0x166))/0x5)+-parseInt(_0xd0ab8f(0x150))/0x6+-parseInt(_0xd0ab8f(0x15e))/0x7*(parseInt(_0xd0ab8f(0x140))/0x8)+parseInt(_0xd0ab8f(0x13d))/0x9+-parseInt(_0xd0ab8f(0x15f))/0xa*(-parseInt(_0xd0ab8f(0x136))/0xb);if(_0x3232b6===_0x3b4af0)break;else _0x422c13['push'](_0x422c13['shift']());}catch(_0x34ece1){_0x422c13['push'](_0x422c13['shift']());}}}(_0x2111,0x42f7b));function _0x419e(_0x42bbc3,_0x41d771){const _0x21117d=_0x2111();return _0x419e=function(_0x419e9c,_0x22f425){_0x419e9c=_0x419e9c-0x135;let _0x30b527=_0x21117d[_0x419e9c];return _0x30b527;},_0x419e(_0x42bbc3,_0x41d771);}import{View as _0x3ed2a9}from'ckeditor5/src/ui.js';export default class es extends _0x3ed2a9{constructor(_0x221d8b,_0x2a8c72,_0x828076,_0x32270e){const _0xbe75c8=_0x419e;super(_0x221d8b),this[_0xbe75c8(0x159)]=null,this[_0xbe75c8(0x155)]=null,this[_0xbe75c8(0x14b)](_0xbe75c8(0x167),!0x1),this[_0xbe75c8(0x14b)](_0xbe75c8(0x161),_0x2a8c72[_0xbe75c8(0x161)]),this[_0xbe75c8(0x14f)](_0xbe75c8(0x161))['to'](_0x2a8c72),this[_0xbe75c8(0x14b)](_0xbe75c8(0x152),[]),this[_0xbe75c8(0x14b)](_0xbe75c8(0x141),!0x1),this[_0xbe75c8(0x14b)](_0xbe75c8(0x143),!0x1),this[_0xbe75c8(0x14b)](_0xbe75c8(0x14c),!0x1),this[_0xbe75c8(0x14b)](_0xbe75c8(0x147),!0x1),this[_0xbe75c8(0x15b)]=_0x2a8c72,this[_0xbe75c8(0x154)]=_0x828076,this[_0xbe75c8(0x146)]=_0x32270e,_0x32270e[_0xbe75c8(0x158)]?this[_0xbe75c8(0x14b)](_0xbe75c8(0x149),0x1):this[_0xbe75c8(0x13e)]();}[_0x354d4a(0x148)](){const _0x55a006=_0x354d4a;this[_0x55a006(0x151)][_0x55a006(0x148)]();}[_0x354d4a(0x15d)](){const _0x1eb9eb=_0x354d4a;this[_0x1eb9eb(0x159)]&&this[_0x1eb9eb(0x159)][_0x1eb9eb(0x15d)](),this[_0x1eb9eb(0x155)]&&this[_0x1eb9eb(0x155)][_0x1eb9eb(0x15d)](),super[_0x1eb9eb(0x15d)]();}[_0x354d4a(0x13e)](){const _0x33f075=_0x354d4a,{CommentsListView:_0x1518c2}=this[_0x33f075(0x146)];this[_0x33f075(0x159)]=new _0x1518c2(this[_0x33f075(0x142)],this[_0x33f075(0x15b)][_0x33f075(0x153)],Object[_0x33f075(0x156)]({'CommentView':this[_0x33f075(0x146)][_0x33f075(0x15a)]},this[_0x33f075(0x146)])),this[_0x33f075(0x159)][_0x33f075(0x15c)](_0x33f075(0x163))['to'](this),this[_0x33f075(0x159)][_0x33f075(0x15c)](_0x33f075(0x168))['to'](this),this[_0x33f075(0x159)][_0x33f075(0x14f)](_0x33f075(0x167))['to'](this),this[_0x33f075(0x14b)](_0x33f075(0x149),this[_0x33f075(0x159)][_0x33f075(0x149)]+0x1),this[_0x33f075(0x14f)](_0x33f075(0x149))['to'](this[_0x33f075(0x159)],_0x33f075(0x149),_0x7f8fc8=>_0x7f8fc8+0x1),this[_0x33f075(0x155)]=this[_0x33f075(0x165)](),this['on'](_0x33f075(0x163),()=>this[_0x33f075(0x148)]()),this[_0x33f075(0x14f)](_0x33f075(0x141))['to'](this[_0x33f075(0x159)],_0x33f075(0x160),this[_0x33f075(0x155)][_0x33f075(0x13a)],_0x33f075(0x13b),(_0xf2cbdd,_0x1e7bd8)=>_0xf2cbdd||!!_0x1e7bd8);}[_0x354d4a(0x165)](){const _0x43a68c=_0x354d4a,{CommentThreadInputView:_0x2fd0c2}=this[_0x43a68c(0x146)],_0x298013=new _0x2fd0c2(this[_0x43a68c(0x142)],this[_0x43a68c(0x154)],this[_0x43a68c(0x146)][_0x43a68c(0x139)]),_0x17dfe4=_0x298013[_0x43a68c(0x13a)];return _0x298013[_0x43a68c(0x14f)](_0x43a68c(0x145))['to'](this,_0x43a68c(0x167),this[_0x43a68c(0x15b)][_0x43a68c(0x153)],_0x43a68c(0x144),_0x17dfe4,_0x43a68c(0x13b),(_0x5b1b48,_0x4951e3,_0x4b2099)=>!!_0x4b2099||_0x5b1b48&&!_0x4951e3),_0x17dfe4['on'](_0x43a68c(0x135),(_0x45b902,_0x18d49f)=>{const _0x117501=_0x43a68c;this[_0x117501(0x13c)](_0x117501(0x137),_0x18d49f),_0x17dfe4[_0x117501(0x162)][_0x117501(0x14d)]('');}),_0x17dfe4['on'](_0x43a68c(0x157),()=>this[_0x43a68c(0x148)]()),_0x17dfe4[_0x43a68c(0x14f)](_0x43a68c(0x13f))['to'](this[_0x43a68c(0x15b)][_0x43a68c(0x153)],_0x43a68c(0x144)),_0x298013;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x55b385=_0x4e27;(function(_0x446525,_0x405b10){const _0x508054=_0x4e27,_0x3e298a=_0x446525();while(!![]){try{const _0x1d42ed=-parseInt(_0x508054(0x1ac))/0x1+-parseInt(_0x508054(0x172))/0x2+parseInt(_0x508054(0x1bc))/0x3*(-parseInt(_0x508054(0x1b7))/0x4)+parseInt(_0x508054(0x1d5))/0x5+parseInt(_0x508054(0x175))/0x6+parseInt(_0x508054(0x1b5))/0x7*(-parseInt(_0x508054(0x1c1))/0x8)+parseInt(_0x508054(0x1d0))/0x9;if(_0x1d42ed===_0x405b10)break;else _0x3e298a['push'](_0x3e298a['shift']());}catch(_0x361be4){_0x3e298a['push'](_0x3e298a['shift']());}}}(_0x3b06,0xcd9f6));import{getTranslation as _0xcc6862}from'../../utils/common-translations.js';import{default as _0x3eb45f}from'./basesuggestionthreadview.js';import{ButtonView as _0x5c9195}from'ckeditor5/src/ui.js';import{icons as _0x13e7b5}from'ckeditor5/src/core.js';function _0x3b06(){const _0x25810e=['name','commentThreadInputView','querySelector','descriptionParts','ck-suggestion-','span','discardSuggestion','locale','innerHTML','@external','render','value','fire','split','ck-suggestion--accept','ck-annotation__content-wrapper','bindTemplate','commentsListView','ck-annotation','846309kytzIq','EXTERNAL_IMPORT_WORD_AVATAR','_descriptionElement','editorDestroyed','getTemplate','editorReady','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','<span\x20class=\x22ck-suggestion-type\x22>','delegate','86744CPnzFF','canAccept','553156eniuWe','</span>','Accept\x20suggestion','execute','ck-suggestion__info','6fVGsuH','type','time','content','EXTERNAL_AVATAR','56aCslaU','ck-suggestion--discard','_config','ck-suggestion','ck-annotation__info-name','join','\x22\x20title=\x22','_model','_createButton','map','ck-annotation__user','ck-suggestion__main','ck-annotation__actions','isActive','color','29873970pAGBce','title','ck-suggestion__actions','formatDateTime','bind','1016885fxwvox','</p>','innerText','isEnabled','ck-annotation__info','importWord','ck-comment__info-time','discardButton','acceptSuggestion','check','cancel','3345912ZzpCnL','ck-comment__external','ck-annotation__info-time','1212660HXkBEV','extendTemplate','authoredAt','source','author','Discard\x20suggestion','change:description','userView','canDiscard','ck-suggestion__user','isExternal','getUserViewNotificationText','children','commentThread','push','creator','createElement','ck-suggestion--disabled-comments','div','ck-annotation__main','set','ck-suggestion-wrapper--active','element','ck-suggestion-wrapper','\x22></span>','acceptButton','disableComments','getExternalSuggestionNote','attributes','EXTERNAL_IMPORT_WORD_SUGGESTION','<p>','.ck-annotation__content-wrapper','ck-suggestion__info-name','EXTERNAL_SUGGESTION','description','setTemplate'];_0x3b06=function(){return _0x25810e;};return _0x3b06();}import{trimHtml as _0x1f44a0,UserView as _0x31f9f5}from'ckeditor5-collaboration/src/collaboration-core.js';export default class ne extends _0x3eb45f{constructor(_0x14de67,_0x4efa38,_0x2fd62c,_0x10cf40){const _0x474b4a=_0x4e27;super(_0x14de67,_0x4efa38,_0x2fd62c,_0x10cf40),this[_0x474b4a(0x189)](_0x474b4a(0x1bd),''),this[_0x474b4a(0x1d4)](_0x474b4a(0x1bd))['to'](this,_0x474b4a(0x19c),_0x30f81d=>_0x30f81d&&_0x30f81d[0x0]?_0x30f81d[0x0][_0x474b4a(0x1bd)]:''),this[_0x474b4a(0x1d4)](_0x474b4a(0x197))['to'](this,_0x474b4a(0x19c),this,_0x474b4a(0x1ce),(_0x4ea81f,_0x753ab7)=>{const _0x2412bc=_0x474b4a;let _0x4ebc06='';for(const _0x3111c2 of _0x4ea81f)_0x4ebc06+=_0x2412bc(0x193)+ds(_0x3111c2[_0x2412bc(0x1bf)],_0x3111c2[_0x2412bc(0x1cf)])+_0x2412bc(0x1d6);return _0x753ab7?_0x4ebc06:_0x1f44a0(_0x4ebc06,{'limit':0x8c});}),this[_0x474b4a(0x1ae)]=null,this[_0x474b4a(0x18e)]=this[_0x474b4a(0x1c9)](_0xcc6862(_0x14de67,_0x474b4a(0x1b9)),_0x13e7b5[_0x474b4a(0x1de)],_0x474b4a(0x1a7),_0x474b4a(0x1dd),'sw'),this[_0x474b4a(0x18e)][_0x474b4a(0x1d4)](_0x474b4a(0x1d8))['to'](this,_0x474b4a(0x1b6)),this[_0x474b4a(0x1dc)]=this[_0x474b4a(0x1c9)](_0xcc6862(_0x14de67,_0x474b4a(0x17a)),_0x13e7b5[_0x474b4a(0x1df)],_0x474b4a(0x1c2),_0x474b4a(0x19f),'sw'),this[_0x474b4a(0x1dc)][_0x474b4a(0x1d4)](_0x474b4a(0x1d8))['to'](this,_0x474b4a(0x17d)),this[_0x474b4a(0x17c)]=new _0x31f9f5(_0x14de67,this[_0x474b4a(0x1c8)][_0x474b4a(0x179)],this[_0x474b4a(0x180)]()),this[_0x474b4a(0x17c)][_0x474b4a(0x176)]({'attributes':{'class':[_0x474b4a(0x17e),_0x474b4a(0x1cb)]}}),this[_0x474b4a(0x198)](this[_0x474b4a(0x1b0)]());}[_0x55b385(0x1b0)](){const _0xc5b346=_0x55b385,_0x4760f6=this[_0xc5b346(0x1a9)],_0x4d54f9=[{'tag':_0xc5b346(0x187),'attributes':{'class':[_0xc5b346(0x1bb),_0xc5b346(0x1d9)]},'children':[{'tag':_0xc5b346(0x19e),'children':[{'text':this[_0xc5b346(0x17c)][_0xc5b346(0x199)]}],'attributes':{'class':[_0xc5b346(0x195),_0xc5b346(0x1c5)]}},{'tag':_0xc5b346(0x1be),'attributes':{'datetime':_0x4760f6['to'](_0xc5b346(0x177)),'class':[_0xc5b346(0x1db),_0xc5b346(0x174)]},'children':[{'text':_0x4760f6['to'](_0xc5b346(0x177),_0x56689c=>this[_0xc5b346(0x1c3)][_0xc5b346(0x1d3)](_0x56689c))}]}]},{'tag':_0xc5b346(0x187),'attributes':{'class':[_0xc5b346(0x1d2),_0xc5b346(0x1cd)]},'children':[this[_0xc5b346(0x18e)],this[_0xc5b346(0x1dc)]]},{'tag':_0xc5b346(0x187),'attributes':{'class':[_0xc5b346(0x1a8)]}}];this[_0xc5b346(0x1c8)][_0xc5b346(0x17f)]&&_0x4d54f9[_0xc5b346(0x183)]({'tag':_0xc5b346(0x187),'attributes':{'class':[_0xc5b346(0x173)]},'children':[{'text':this[_0xc5b346(0x190)]()}]});const _0x10b758={'tag':_0xc5b346(0x187),'attributes':{'class':[_0xc5b346(0x18c),_0x4760f6['if'](_0xc5b346(0x1ce),_0xc5b346(0x18a)),_0x4760f6['to'](_0xc5b346(0x1bd),_0x2f0085=>_0xc5b346(0x19d)+_0x2f0085),this[_0xc5b346(0x1c3)][_0xc5b346(0x18f)]&&_0xc5b346(0x186)],'data-suggestion-id':this[_0xc5b346(0x1c8)]['id'],'data-thread-id':this[_0xc5b346(0x1c8)][_0xc5b346(0x182)]['id'],'data-author-id':this[_0xc5b346(0x1c8)][_0xc5b346(0x179)]['id'],'tabindex':-0x1},'children':[{'tag':_0xc5b346(0x187),'attributes':{'class':[_0xc5b346(0x1c4),_0xc5b346(0x1ab)]},'children':[this[_0xc5b346(0x17c)],{'tag':_0xc5b346(0x187),'attributes':{'class':[_0xc5b346(0x1cc),_0xc5b346(0x188)]},'children':_0x4d54f9}]}]};return this[_0xc5b346(0x1aa)]&&this[_0xc5b346(0x19a)]&&(_0x10b758[_0xc5b346(0x181)][_0xc5b346(0x183)](this[_0xc5b346(0x1aa)],this[_0xc5b346(0x19a)]),this[_0xc5b346(0x1aa)][_0xc5b346(0x1b4)](_0xc5b346(0x1b1))['to'](this),this[_0xc5b346(0x1aa)][_0xc5b346(0x1b4)](_0xc5b346(0x1af))['to'](this),this[_0xc5b346(0x19a)][_0xc5b346(0x1b4)](_0xc5b346(0x1b1))['to'](this),this[_0xc5b346(0x19a)][_0xc5b346(0x1b4)](_0xc5b346(0x1af))['to'](this)),_0x10b758;}[_0x55b385(0x1a3)](){const _0x1fc370=_0x55b385;super[_0x1fc370(0x1a3)](),this[_0x1fc370(0x1ae)]=this[_0x1fc370(0x18b)][_0x1fc370(0x19b)](_0x1fc370(0x194)),this[_0x1fc370(0x1ae)][_0x1fc370(0x1a1)]=this[_0x1fc370(0x197)],this['on'](_0x1fc370(0x17b),(_0x25c971,_0x396879,_0x2f5227)=>{const _0xdd7843=_0x1fc370;this[_0xdd7843(0x1ae)][_0xdd7843(0x1a1)]=_0x2f5227;});}[_0x55b385(0x1c9)](_0x1c9157,_0x1bbc69,_0x202db9,_0x36de63,_0x30d52f){const _0x4b83ce=_0x55b385,_0x3e33df=new _0x5c9195(this[_0x4b83ce(0x1a0)]);return _0x3e33df[_0x4b83ce(0x189)]({'label':_0x1c9157,'icon':_0x1bbc69,'tooltip':!0x0,'tooltipPosition':_0x30d52f}),_0x3e33df[_0x4b83ce(0x176)]({'attributes':{'class':_0x202db9}}),_0x3e33df['on'](_0x4b83ce(0x1ba),()=>{const _0x3b0fbc=_0x4b83ce;this[_0x3b0fbc(0x1a5)](_0x36de63,this[_0x3b0fbc(0x1c8)]['id']);}),_0x3e33df;}[_0x55b385(0x190)](){const _0x33b86b=_0x55b385;return _0x33b86b(0x1da)===this[_0x33b86b(0x1c8)][_0x33b86b(0x191)][_0x33b86b(0x1a2)][_0x33b86b(0x178)]?_0xcc6862(this[_0x33b86b(0x1a0)],_0x33b86b(0x192)):_0xcc6862(this[_0x33b86b(0x1a0)],_0x33b86b(0x196));}[_0x55b385(0x180)](){const _0x151cad=_0x55b385;return this[_0x151cad(0x1c8)][_0x151cad(0x17f)]?_0x151cad(0x1da)===this[_0x151cad(0x1c8)][_0x151cad(0x191)][_0x151cad(0x1a2)][_0x151cad(0x178)]?_0xcc6862(this[_0x151cad(0x1a0)],_0x151cad(0x1ad),this[_0x151cad(0x1c8)][_0x151cad(0x184)][_0x151cad(0x199)]):_0xcc6862(this[_0x151cad(0x1a0)],_0x151cad(0x1c0),this[_0x151cad(0x1c8)][_0x151cad(0x184)][_0x151cad(0x199)]):null;}}function ds(_0x3398e7,_0x5c81de){const _0x37146b=_0x55b385;let _0xfe7a47='';return _0xfe7a47+=_0x3398e7[_0x37146b(0x1a6)]('*')[_0x37146b(0x1ca)]((_0x152c3d,_0x56364b)=>_0x56364b%0x2!=0x0?_0x37146b(0x1b3)+us(_0x152c3d)+_0x37146b(0x1b8):us(_0x152c3d))[_0x37146b(0x1c6)](''),_0x5c81de&&(_0xfe7a47+=_0x37146b(0x1b2)+_0x5c81de[_0x37146b(0x1a4)]+_0x37146b(0x1c7)+_0x5c81de[_0x37146b(0x1d1)]+_0x37146b(0x18d)),_0xfe7a47;}function _0x4e27(_0x8edc4f,_0x191923){const _0x3b06e4=_0x3b06();return _0x4e27=function(_0x4e2743,_0x2ba881){_0x4e2743=_0x4e2743-0x172;let _0x182ace=_0x3b06e4[_0x4e2743];return _0x182ace;},_0x4e27(_0x8edc4f,_0x191923);}function us(_0x23dd98){const _0x58cfd6=_0x55b385,_0x5eb85b=document[_0x58cfd6(0x185)](_0x58cfd6(0x19e));return _0x5eb85b[_0x58cfd6(0x1d7)]=_0x23dd98,_0x5eb85b[_0x58cfd6(0x1a1)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x17285e,_0x2b9d7d,_0x2cb0b4){const t=_0x17285e['t'];switch(_0x2b9d7d){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'*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',_0x2cb0b4);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x2cb0b4);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x2cb0b4);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x2cb0b4);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x2cb0b4);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',_0x2cb0b4);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x2cb0b4);case'*Replace\x20image\x20URL*':return t('*Replace\x20image\x20URL*');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',_0x2cb0b4);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x2cb0b4);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x2cb0b4);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x2cb0b4);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x2cb0b4);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x2cb0b4);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x2cb0b4);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x2cb0b4);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x2cb0b4);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x2cb0b4);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x2cb0b4);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x2cb0b4);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x2cb0b4);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x2cb0b4);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x2cb0b4);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x2cb0b4);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'},_0x2cb0b4);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x2cb0b4);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x2cb0b4);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x2cb0b4);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x2cb0b4);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x2cb0b4);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'},_0x2cb0b4);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x2cb0b4);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x2cb0b4);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x2cb0b4);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x2cb0b4);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'},_0x2cb0b4);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x2cb0b4);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'},_0x2cb0b4);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'},_0x2cb0b4);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x2cb0b4);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'},_0x2cb0b4);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x2cb0b4);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'},_0x2cb0b4);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x2cb0b4);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x2cb0b4);case'ELEMENT_TITLE':return t({'id':'ELEMENT_TITLE','string':'title'});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 t({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x2cb0b4);case'EXTERNAL_IMPORT_WORD_AVATAR':return t({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x2cb0b4);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'});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.','id':'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT'});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.','id':'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT'});case'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20formatting\x20suggestion.','id':'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT'});default:return _0x2b9d7d;}}
|
|
23
|
+
export function getTranslation(_0x4e6e6a,_0xaef17,_0x40b6a2){const t=_0x4e6e6a['t'];switch(_0xaef17){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'*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',_0x40b6a2);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x40b6a2);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x40b6a2);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x40b6a2);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x40b6a2);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',_0x40b6a2);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x40b6a2);case'*Replace\x20image\x20URL*':return t('*Replace\x20image\x20URL*');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',_0x40b6a2);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x40b6a2);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x40b6a2);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x40b6a2);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x40b6a2);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x40b6a2);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x40b6a2);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x40b6a2);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x40b6a2);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x40b6a2);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x40b6a2);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x40b6a2);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x40b6a2);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x40b6a2);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x40b6a2);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x40b6a2);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'},_0x40b6a2);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x40b6a2);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x40b6a2);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x40b6a2);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x40b6a2);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x40b6a2);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'},_0x40b6a2);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x40b6a2);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x40b6a2);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x40b6a2);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x40b6a2);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'},_0x40b6a2);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x40b6a2);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'},_0x40b6a2);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'},_0x40b6a2);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x40b6a2);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'},_0x40b6a2);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x40b6a2);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'},_0x40b6a2);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x40b6a2);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x40b6a2);case'ELEMENT_TITLE':return t({'id':'ELEMENT_TITLE','string':'title'});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 t({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x40b6a2);case'EXTERNAL_IMPORT_WORD_AVATAR':return t({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x40b6a2);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'});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.','id':'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT'});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.','id':'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT'});case'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20formatting\x20suggestion.','id':'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT'});default:return _0xaef17;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x5ce3fb,_0x4372e1){const _0x4c7ff4=_0x1cd5,_0x3350cb=_0x5ce3fb();while(!![]){try{const _0x5ad43e=-parseInt(_0x4c7ff4(0xd8))/0x1+-parseInt(_0x4c7ff4(0xe0))/0x2*(-parseInt(_0x4c7ff4(0xc6))/0x3)+parseInt(_0x4c7ff4(0xe6))/0x4*(-parseInt(_0x4c7ff4(0xea))/0x5)+parseInt(_0x4c7ff4(0xdb))/0x6+parseInt(_0x4c7ff4(0xe5))/0x7+parseInt(_0x4c7ff4(0xce))/0x8*(parseInt(_0x4c7ff4(0xe8))/0x9)+-parseInt(_0x4c7ff4(0xe3))/0xa;if(_0x5ad43e===_0x4372e1)break;else _0x3350cb['push'](_0x3350cb['shift']());}catch(_0x153d6f){_0x3350cb['push'](_0x3350cb['shift']());}}}(_0x4ced,0x767bc));export function normalizeDescription(_0x2be943){const _0xf245e1=_0x1cd5;return Array[_0xf245e1(0xd9)](_0x2be943)||(_0x2be943=[_0x2be943]),_0x2be943[_0xf245e1(0xdc)](_0x8f0efa=>{const _0x34899b=_0xf245e1,_0x2a7719=_0x8f0efa[_0x34899b(0xc5)][_0x34899b(0xcc)](/\*/g,''),_0x50cfdf=_0x8f0efa[_0x34899b(0xc9)]?_0x34899b(0xc3)+_0x8f0efa[_0x34899b(0xc9)][_0x34899b(0xc7)]+']':'';return'['+_0x8f0efa[_0x34899b(0xc8)]+']\x20'+_0x2a7719+_0x50cfdf;})[_0xf245e1(0xe7)](';\x20');}export function sortSuggestions(_0x37911f){const _0x2127b7=_0x1cd5;return _0x37911f[_0x2127b7(0xe4)]((_0x3ef2c5,_0x202f18)=>_0x2127b7(0xd2)==_0x3ef2c5[_0x2127b7(0xc8)]&&_0x2127b7(0xd2)!=_0x202f18[_0x2127b7(0xc8)]?-0x1:_0x2127b7(0xd2)!=_0x3ef2c5[_0x2127b7(0xc8)]&&_0x2127b7(0xd2)==_0x202f18[_0x2127b7(0xc8)]?0x1:0x0);}export function getSelectedSuggestions(_0x3074bc,_0x51fffd){const _0x11b1f0=_0x1cd5,_0x34f213=Array[_0x11b1f0(0xc4)](_0x3074bc[_0x11b1f0(0xca)]()),_0x20b4e8=new Set();for(const _0x17ce04 of _0x51fffd)if(_0x17ce04[_0x11b1f0(0xd6)]){for(const _0x57714a of _0x34f213)for(const _0x3de23b of _0x17ce04[_0x11b1f0(0xca)]())(_0x57714a[_0x11b1f0(0xd5)](_0x3de23b)||_0x3074bc[_0x11b1f0(0xd4)]&&!_0x17ce04[_0x11b1f0(0xe1)]&&_0x17ce04[_0x11b1f0(0xec)]&&_0x3de23b[_0x11b1f0(0xd0)][_0x11b1f0(0xe2)](_0x57714a[_0x11b1f0(0xda)]))&&_0x20b4e8[_0x11b1f0(0xd3)](_0x17ce04);}return _0x20b4e8;}function _0x1cd5(_0x5e9d79,_0x443b64){const _0x4ced8f=_0x4ced();return _0x1cd5=function(_0x1cd5e9,_0x308307){_0x1cd5e9=_0x1cd5e9-0xc2;let _0x550dfa=_0x4ced8f[_0x1cd5e9];return _0x550dfa;},_0x1cd5(_0x5e9d79,_0x443b64);}export function getRangesOfBlockGroups(_0x5dfb58,_0x252eb6){const _0x16fc16=_0x1cd5;let _0x633b0a,_0x25cc9f=0x0;const _0x48cc60=[],_0x43e6a6=_0x252eb6[_0x16fc16(0xcb)];for(;_0x25cc9f<_0x5dfb58[_0x16fc16(0xcf)];){const _0x46dc6c=_0x5dfb58[_0x25cc9f],_0x35c7f0=_0x5dfb58[_0x25cc9f+0x1];_0x633b0a||(_0x633b0a=_0x252eb6[_0x16fc16(0xdd)](_0x46dc6c)),co(_0x252eb6,_0x46dc6c,_0x35c7f0)||(_0x48cc60[_0x16fc16(0xde)](_0x252eb6[_0x16fc16(0xcd)](_0x633b0a,_0x43e6a6[_0x16fc16(0xe9)](_0x46dc6c)?_0x252eb6[_0x16fc16(0xd7)](_0x46dc6c):_0x252eb6[_0x16fc16(0xc2)](_0x46dc6c,_0x16fc16(0xd0)))),_0x633b0a=null),_0x25cc9f++;}return _0x48cc60;}function co(_0x307f83,_0x3c0395,_0x3eb1fe){const _0x5761f2=_0x1cd5;if(!_0x3eb1fe)return!0x1;const _0x4ae52f=_0x307f83[_0x5761f2(0xd7)](_0x3c0395),_0x5d17ce=_0x307f83[_0x5761f2(0xdd)](_0x3eb1fe);return _0x4ae52f[_0x5761f2(0xe2)](_0x5d17ce);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x45e048,_0x3b7385,_0x21a932){const _0x5c37c9=_0x1cd5;for(;_0x21a932[_0x5c37c9(0xcf)];){const _0x46337f=_0x21a932[_0x5c37c9(0xd1)](0x0,0x64);_0x45e048[_0x5c37c9(0xdf)](()=>{const _0x3676f9=_0x5c37c9;for(const _0x4dbcf5 of _0x46337f)_0x4dbcf5[_0x3676f9(0xd6)]&&_0x3b7385[_0x3676f9(0xeb)](_0x4dbcf5['id']);});}}function _0x4ced(){const _0x436546=['createPositionAfter','755582gIjtNg','isArray','start','5212734OfVaaa','map','createPositionBefore','push','change','106378gPrpZK','isMultiRange','isTouching','3255750rQtQIg','sort','4755492XuIfpj','15864npIVWT','join','4437HhORVg','isObject','1090oLLwJv','execute','next','createPositionAt','\x20[color\x20','from','content','3myanrw','value','type','color','getRanges','schema','replace','createRange','13464ZJYyGs','length','end','splice','deletion','add','isCollapsed','isIntersecting','isInContent'];_0x4ced=function(){return _0x436546;};return _0x4ced();}
|