@ckeditor/ckeditor5-track-changes 42.0.0 → 42.0.1-alpha.1
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
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x3911b9=_0x529d;(function(_0x1551be,_0x55b725){const _0x9e3ca7=_0x529d,_0x4ea723=_0x1551be();while(!![]){try{const _0xd1d9fc=parseInt(_0x9e3ca7(0x155))/0x1+-parseInt(_0x9e3ca7(0x139))/0x2+parseInt(_0x9e3ca7(0x15a))/0x3*(parseInt(_0x9e3ca7(0x149))/0x4)+parseInt(_0x9e3ca7(0x14d))/0x5+parseInt(_0x9e3ca7(0x151))/0x6*(-parseInt(_0x9e3ca7(0x15b))/0x7)+parseInt(_0x9e3ca7(0x153))/0x8+-parseInt(_0x9e3ca7(0x143))/0x9;if(_0xd1d9fc===_0x55b725)break;else _0x4ea723['push'](_0x4ea723['shift']());}catch(_0x4babdb){_0x4ea723['push'](_0x4ea723['shift']());}}}(_0x42a5,0x66d27));import{ObservableMixin as _0x537674}from'ckeditor5/src/utils.js';function _0x529d(_0xd92176,_0x3e9d31){const _0x42a5f4=_0x42a5();return _0x529d=function(_0x529dc7,_0x4b5364){_0x529dc7=_0x529dc7-0x139;let _0x116db8=_0x42a5f4[_0x529dc7];return _0x116db8;},_0x529d(_0xd92176,_0x3e9d31);}function _0x42a5(){const _0x2b7fb6=['isDirty','acceptSuggestion','PendingActions','execute','discardSuggestion','unbind','476030WRYsKI','destroy','bind','_pendingAction','listenTo','remove','_editor','canDiscard','stopListening','_removePendingAction','2604402AILIfg','plugins','PENDING_ACTION_SUGGESTION','commands','isEnabled','get','3326828SNBzNg','_setPendingAction','getRanges','view','1637010wvTSpe','_discardCommand','model','_acceptCommand','12mEovEf','commentThreadController','2631704foavHc','add','1654akIxCP','canAccept','canEditAt','locale','change:isDirty','3akKTAz','1894109blpQIC'];_0x42a5=function(){return _0x2b7fb6;};return _0x42a5();}import{getTranslation as _0x4e804e}from'../utils/common-translations.js';export default class oe extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x537674(){constructor(_0x15bc76,_0x314804,_0xb3f840,_0xc3e720){const _0x1e8a11=_0x529d;super(),this[_0x1e8a11(0x14f)]=_0x314804,this[_0x1e8a11(0x14c)]=_0xb3f840,this[_0x1e8a11(0x152)]=_0xc3e720,this[_0x1e8a11(0x13f)]=_0x15bc76,this[_0x1e8a11(0x150)]=_0x15bc76[_0x1e8a11(0x146)][_0x1e8a11(0x148)](_0x1e8a11(0x15d)),this[_0x1e8a11(0x14e)]=_0x15bc76[_0x1e8a11(0x146)][_0x1e8a11(0x148)](_0x1e8a11(0x160)),this[_0x1e8a11(0x14c)][_0x1e8a11(0x13b)](_0x1e8a11(0x147))['to'](this[_0x1e8a11(0x150)],this[_0x1e8a11(0x14e)],(_0xad1c14,_0x4fd64a)=>_0xad1c14||_0x4fd64a),this[_0x1e8a11(0x14c)][_0x1e8a11(0x13b)](_0x1e8a11(0x156))['to'](this[_0x1e8a11(0x150)],_0x1e8a11(0x147),_0x1f84e9=>_0x1f84e9&&this[_0x1e8a11(0x13f)][_0x1e8a11(0x14f)][_0x1e8a11(0x157)](_0x314804[_0x1e8a11(0x14b)]())),this[_0x1e8a11(0x14c)][_0x1e8a11(0x13b)](_0x1e8a11(0x140))['to'](this[_0x1e8a11(0x14e)],_0x1e8a11(0x147),_0x489d73=>_0x489d73&&this[_0x1e8a11(0x13f)][_0x1e8a11(0x14f)][_0x1e8a11(0x157)](_0x314804[_0x1e8a11(0x14b)]())),this[_0x1e8a11(0x13c)]=null,_0xb3f840[_0x1e8a11(0x15c)]&&this[_0x1e8a11(0x14a)](),this[_0x1e8a11(0x13d)](_0xb3f840,_0x1e8a11(0x15d),()=>this[_0x1e8a11(0x15d)]()),this[_0x1e8a11(0x13d)](_0xb3f840,_0x1e8a11(0x160),()=>this[_0x1e8a11(0x160)]()),this[_0x1e8a11(0x13d)](_0xb3f840,_0x1e8a11(0x159),()=>{const _0x3ade41=_0x1e8a11;_0xb3f840[_0x3ade41(0x15c)]?this[_0x3ade41(0x14a)]():this[_0x3ade41(0x142)]();});}[_0x3911b9(0x15d)](){const _0x1f2799=_0x3911b9;this[_0x1f2799(0x150)][_0x1f2799(0x15f)](this[_0x1f2799(0x14f)]['id']);}[_0x3911b9(0x160)](){const _0x48ad33=_0x3911b9;this[_0x48ad33(0x14e)][_0x48ad33(0x15f)](this[_0x48ad33(0x14f)]['id']);}[_0x3911b9(0x13a)](){const _0x24991f=_0x3911b9;this[_0x24991f(0x14c)][_0x24991f(0x161)](_0x24991f(0x147)),this[_0x24991f(0x14c)][_0x24991f(0x161)](_0x24991f(0x156)),this[_0x24991f(0x14c)][_0x24991f(0x161)](_0x24991f(0x140)),this[_0x24991f(0x141)](),this[_0x24991f(0x152)][_0x24991f(0x13a)](),this[_0x24991f(0x13c)]&&this[_0x24991f(0x142)]();}[_0x3911b9(0x14a)](){const _0x48da69=_0x3911b9,_0x17a64e=_0x4e804e(this[_0x48da69(0x13f)][_0x48da69(0x158)],_0x48da69(0x145));this[_0x48da69(0x13c)]=this[_0x48da69(0x13f)][_0x48da69(0x144)][_0x48da69(0x148)](_0x48da69(0x15e))[_0x48da69(0x154)](_0x17a64e);}[_0x3911b9(0x142)](){const _0x3b2e4c=_0x3911b9;null!==this[_0x3b2e4c(0x13c)]&&this[_0x3b2e4c(0x13f)][_0x3b2e4c(0x144)][_0x3b2e4c(0x148)](_0x3b2e4c(0x15e))[_0x3b2e4c(0x13e)](this[_0x3b2e4c(0x13c)]),this[_0x3b2e4c(0x13c)]=null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x2d28(){const _0x4de8f4=['_localUser','setData','_config','delegate','fire','bind','assign','627567khgkFd','10HPVscF','length','canAccept','removeComment','editor','showInput','locale','473728Djlakh','commentThread','1097810YSQxRH','8gzQZuy','addComment','focus','385828Yonmuf','descriptionParts','isActive','commentInputView','isDirty','canDiscard','CommentView','55818heNUrW','cancel','disableComments','45bTTGMT','disabledSubmit','submit','updateComment','isReadOnly','element','isEnabled','commentsListView','hasDirtyComment','editorConfig','_model','_createCommentThreadInputView','_createCommentViews','authoredAt','471156LaaVnE','set','19939601FQBLXb','commentThreadInputView','destroy','value','1056EGgreV'];_0x2d28=function(){return _0x4de8f4;};return _0x2d28();}const _0x35c4f1=_0x1e9f;(function(_0x17ed80,_0x478819){const _0x527de1=_0x1e9f,_0x117d80=_0x17ed80();while(!![]){try{const _0x47dd8e=-parseInt(_0x527de1(0xf0))/0x1+-parseInt(_0x527de1(0xf3))/0x2*(parseInt(_0x527de1(0xe8))/0x3)+-parseInt(_0x527de1(0xf6))/0x4*(-parseInt(_0x527de1(0xcc))/0x5)+parseInt(_0x527de1(0xda))/0x6+-parseInt(_0x527de1(0xf2))/0x7+parseInt(_0x527de1(0xe0))/0x8*(-parseInt(_0x527de1(0xc9))/0x9)+parseInt(_0x527de1(0xe9))/0xa*(parseInt(_0x527de1(0xdc))/0xb);if(_0x47dd8e===_0x478819)break;else _0x117d80['push'](_0x117d80['shift']());}catch(_0x52673e){_0x117d80['push'](_0x117d80['shift']());}}}(_0x2d28,0x73908));import{View as _0x2a4d3f}from'ckeditor5/src/ui.js';function _0x1e9f(_0x5e7054,_0x40e1c8){const _0x2d2886=_0x2d28();return _0x1e9f=function(_0x1e9f94,_0x24c8c2){_0x1e9f94=_0x1e9f94-0xc7;let _0x323443=_0x2d2886[_0x1e9f94];return _0x323443;},_0x1e9f(_0x5e7054,_0x40e1c8);}export default class es extends _0x2a4d3f{constructor(_0x3f7192,_0x38c37,_0x181f8,_0xcdee0c){const _0x4de206=_0x1e9f;super(_0x3f7192),this[_0x4de206(0xd3)]=null,this[_0x4de206(0xdd)]=null,this[_0x4de206(0xdb)](_0x4de206(0xf8),!0x1),this[_0x4de206(0xdb)](_0x4de206(0xd9),_0x38c37[_0x4de206(0xd9)]),this[_0x4de206(0xe6)](_0x4de206(0xd9))['to'](_0x38c37),this[_0x4de206(0xdb)](_0x4de206(0xf7),[]),this[_0x4de206(0xdb)](_0x4de206(0xfa),!0x1),this[_0x4de206(0xdb)](_0x4de206(0xd2),!0x1),this[_0x4de206(0xdb)](_0x4de206(0xeb),!0x1),this[_0x4de206(0xdb)](_0x4de206(0xc7),!0x1),this[_0x4de206(0xd6)]=_0x38c37,this[_0x4de206(0xe1)]=_0x181f8,this[_0x4de206(0xe3)]=_0xcdee0c,_0xcdee0c[_0x4de206(0xcb)]?this[_0x4de206(0xdb)](_0x4de206(0xea),0x1):this[_0x4de206(0xd8)]();}[_0x35c4f1(0xf5)](){const _0x5cda61=_0x35c4f1;this[_0x5cda61(0xd1)][_0x5cda61(0xf5)]();}[_0x35c4f1(0xde)](){const _0x41b22d=_0x35c4f1;this[_0x41b22d(0xd3)]&&this[_0x41b22d(0xd3)][_0x41b22d(0xde)](),this[_0x41b22d(0xdd)]&&this[_0x41b22d(0xdd)][_0x41b22d(0xde)](),super[_0x41b22d(0xde)]();}[_0x35c4f1(0xd8)](){const _0x3179cf=_0x35c4f1,{CommentsListView:_0x1f51f2}=this[_0x3179cf(0xe3)];this[_0x3179cf(0xd3)]=new _0x1f51f2(this[_0x3179cf(0xef)],this[_0x3179cf(0xd6)][_0x3179cf(0xf1)],Object[_0x3179cf(0xe7)]({'CommentView':this[_0x3179cf(0xe3)][_0x3179cf(0xc8)]},this[_0x3179cf(0xe3)])),this[_0x3179cf(0xd3)][_0x3179cf(0xe4)](_0x3179cf(0xec))['to'](this),this[_0x3179cf(0xd3)][_0x3179cf(0xe4)](_0x3179cf(0xcf))['to'](this),this[_0x3179cf(0xd3)][_0x3179cf(0xe6)](_0x3179cf(0xf8))['to'](this),this[_0x3179cf(0xdb)](_0x3179cf(0xea),this[_0x3179cf(0xd3)][_0x3179cf(0xea)]+0x1),this[_0x3179cf(0xe6)](_0x3179cf(0xea))['to'](this[_0x3179cf(0xd3)],_0x3179cf(0xea),_0x40397d=>_0x40397d+0x1),this[_0x3179cf(0xdd)]=this[_0x3179cf(0xd7)](),this['on'](_0x3179cf(0xec),()=>this[_0x3179cf(0xf5)]()),this[_0x3179cf(0xe6)](_0x3179cf(0xfa))['to'](this[_0x3179cf(0xd3)],_0x3179cf(0xd4),this[_0x3179cf(0xdd)][_0x3179cf(0xf9)],_0x3179cf(0xdf),(_0x44dbae,_0x1ba96b)=>_0x44dbae||!!_0x1ba96b);}[_0x35c4f1(0xd7)](){const _0xcb71bd=_0x35c4f1,{CommentThreadInputView:_0x5ea907}=this[_0xcb71bd(0xe3)],_0x16584a=new _0x5ea907(this[_0xcb71bd(0xef)],this[_0xcb71bd(0xe1)],this[_0xcb71bd(0xe3)][_0xcb71bd(0xd5)]),_0x79396d=_0x16584a[_0xcb71bd(0xf9)];return _0x16584a[_0xcb71bd(0xe6)](_0xcb71bd(0xee))['to'](this,_0xcb71bd(0xf8),this[_0xcb71bd(0xd6)][_0xcb71bd(0xf1)],_0xcb71bd(0xd0),_0x79396d,_0xcb71bd(0xdf),(_0x166abc,_0x1dd9f6,_0x130638)=>!!_0x130638||_0x166abc&&!_0x1dd9f6),_0x79396d['on'](_0xcb71bd(0xce),(_0x3b7f36,_0x4bca65)=>{const _0x392ccb=_0xcb71bd;this[_0x392ccb(0xe5)](_0x392ccb(0xf4),_0x4bca65),_0x79396d[_0x392ccb(0xed)][_0x392ccb(0xe2)]('');}),_0x79396d['on'](_0xcb71bd(0xca),()=>this[_0xcb71bd(0xf5)]()),_0x79396d[_0xcb71bd(0xe6)](_0xcb71bd(0xcd))['to'](this[_0xcb71bd(0xd6)][_0xcb71bd(0xf1)],_0xcb71bd(0xd0)),_0x16584a;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x53fe65=_0x4032;(function(_0x4af3d8,_0x5546d4){const _0x3c75fc=_0x4032,_0x5daff1=_0x4af3d8();while(!![]){try{const _0x1f7bfa=-parseInt(_0x3c75fc(0xe7))/0x1+-parseInt(_0x3c75fc(0x94))/0x2*(-parseInt(_0x3c75fc(0x8e))/0x3)+-parseInt(_0x3c75fc(0xe3))/0x4*(parseInt(_0x3c75fc(0xc4))/0x5)+-parseInt(_0x3c75fc(0xce))/0x6+parseInt(_0x3c75fc(0x80))/0x7+-parseInt(_0x3c75fc(0xcb))/0x8*(parseInt(_0x3c75fc(0xd1))/0x9)+-parseInt(_0x3c75fc(0x99))/0xa*(-parseInt(_0x3c75fc(0xd0))/0xb);if(_0x1f7bfa===_0x5546d4)break;else _0x5daff1['push'](_0x5daff1['shift']());}catch(_0x2248d1){_0x5daff1['push'](_0x5daff1['shift']());}}}(_0x4e39,0xf1079));import{getTranslation as _0x5858e9}from'../../utils/common-translations.js';import{default as _0x404085}from'./basesuggestionthreadview.js';import{ButtonView as _0x578ff3}from'ckeditor5/src/ui.js';import{icons as _0x34d708}from'ckeditor5/src/core.js';import{trimHtml as _0x1aa859,UserView as _0x140703}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x4032(_0x42c9f9,_0x387b94){const _0x4e3905=_0x4e39();return _0x4032=function(_0x4032b2,_0x415700){_0x4032b2=_0x4032b2-0x79;let _0x2fc086=_0x4e3905[_0x4032b2];return _0x2fc086;},_0x4032(_0x42c9f9,_0x387b94);}export default class ne extends _0x404085{constructor(_0x39c7ce,_0xcbc679,_0x2a67ff,_0x3e428b){const _0x2c923c=_0x4032;super(_0x39c7ce,_0xcbc679,_0x2a67ff,_0x3e428b),this[_0x2c923c(0x9d)](_0x2c923c(0xd4),''),this[_0x2c923c(0xaf)](_0x2c923c(0xd4))['to'](this,_0x2c923c(0xcf),_0x1849ed=>_0x1849ed&&_0x1849ed[0x0]?_0x1849ed[0x0][_0x2c923c(0xd4)]:''),this[_0x2c923c(0xaf)](_0x2c923c(0xb8))['to'](this,_0x2c923c(0xcf),this,_0x2c923c(0xd6),(_0x62b981,_0x58fdf0)=>{const _0x448084=_0x2c923c;let _0x38af60='';for(const _0x4341cf of _0x62b981)_0x38af60+=_0x448084(0xae)+ds(_0x4341cf[_0x448084(0x9a)],_0x4341cf[_0x448084(0x91)])+_0x448084(0xe6);return _0x58fdf0?_0x38af60:_0x1aa859(_0x38af60,{'limit':0x8c});}),this[_0x2c923c(0xb4)]=null,this[_0x2c923c(0xe2)]=this[_0x2c923c(0x8b)](_0x5858e9(_0x39c7ce,_0x2c923c(0x86)),_0x34d708[_0x2c923c(0xcd)],_0x2c923c(0xbb),_0x2c923c(0x81),'sw'),this[_0x2c923c(0xe2)][_0x2c923c(0xaf)](_0x2c923c(0xc9))['to'](this,_0x2c923c(0xad)),this[_0x2c923c(0xac)]=this[_0x2c923c(0x8b)](_0x5858e9(_0x39c7ce,_0x2c923c(0xd3)),_0x34d708[_0x2c923c(0x7d)],_0x2c923c(0x9e),_0x2c923c(0x8c),'sw'),this[_0x2c923c(0xac)][_0x2c923c(0xaf)](_0x2c923c(0xc9))['to'](this,_0x2c923c(0x9f)),this[_0x2c923c(0xa4)]=new _0x140703(_0x39c7ce,this[_0x2c923c(0x7c)][_0x2c923c(0xca)],this[_0x2c923c(0x87)]()),this[_0x2c923c(0xa4)][_0x2c923c(0xa6)]({'attributes':{'class':[_0x2c923c(0xb1),_0x2c923c(0xda)]}}),this[_0x2c923c(0x85)](this[_0x2c923c(0xd2)]());}[_0x53fe65(0xd2)](){const _0x349705=_0x53fe65,_0x365f3c=this[_0x349705(0x8f)],_0x573bd6=[{'tag':_0x349705(0xb2),'attributes':{'class':[_0x349705(0x82),_0x349705(0xb0)]},'children':[{'tag':_0x349705(0xbf),'children':[{'text':this[_0x349705(0xa4)][_0x349705(0xd7)]}],'attributes':{'class':[_0x349705(0xe1),_0x349705(0xa9)]}},{'tag':_0x349705(0xcc),'attributes':{'datetime':_0x365f3c['to'](_0x349705(0x9b)),'class':[_0x349705(0x93),_0x349705(0xd8)]},'children':[{'text':_0x365f3c['to'](_0x349705(0x9b),_0x866e79=>this[_0x349705(0xb5)][_0x349705(0x9c)](_0x866e79))}]}]},{'tag':_0x349705(0xb2),'attributes':{'class':[_0x349705(0xdd),_0x349705(0x7a)]},'children':[this[_0x349705(0xe2)],this[_0x349705(0xac)]]},{'tag':_0x349705(0xb2),'attributes':{'class':[_0x349705(0xe0)]}}];this[_0x349705(0x7c)][_0x349705(0x89)]&&_0x573bd6[_0x349705(0xc8)]({'tag':_0x349705(0xb2),'attributes':{'class':[_0x349705(0xb6)]},'children':[{'text':this[_0x349705(0x7b)]()}]});const _0x4233b7={'tag':_0x349705(0xb2),'attributes':{'class':[_0x349705(0xbe),_0x365f3c['if'](_0x349705(0xd6),_0x349705(0x96)),_0x365f3c['to'](_0x349705(0xd4),_0x183a8d=>_0x349705(0xb7)+_0x183a8d),this[_0x349705(0xb5)][_0x349705(0xc0)]&&_0x349705(0x92)],'data-suggestion-id':this[_0x349705(0x7c)]['id'],'data-thread-id':this[_0x349705(0x7c)][_0x349705(0xa0)]['id'],'data-author-id':this[_0x349705(0x7c)][_0x349705(0xca)]['id'],'tabindex':-0x1},'children':[{'tag':_0x349705(0xb2),'attributes':{'class':[_0x349705(0xb3),_0x349705(0x7e)]},'children':[this[_0x349705(0xa4)],{'tag':_0x349705(0xb2),'attributes':{'class':[_0x349705(0x8d),_0x349705(0xba)]},'children':_0x573bd6}]}]};return this[_0x349705(0x95)]&&this[_0x349705(0xc5)]&&(_0x4233b7[_0x349705(0xa1)][_0x349705(0xc8)](this[_0x349705(0x95)],this[_0x349705(0xc5)]),this[_0x349705(0x95)][_0x349705(0xc7)](_0x349705(0xb9))['to'](this),this[_0x349705(0x95)][_0x349705(0xc7)](_0x349705(0xdc))['to'](this),this[_0x349705(0xc5)][_0x349705(0xc7)](_0x349705(0xb9))['to'](this),this[_0x349705(0xc5)][_0x349705(0xc7)](_0x349705(0xdc))['to'](this)),_0x4233b7;}[_0x53fe65(0x98)](){const _0xe62856=_0x53fe65;super[_0xe62856(0x98)](),this[_0xe62856(0xb4)]=this[_0xe62856(0xdf)][_0xe62856(0xde)](_0xe62856(0xa2)),this[_0xe62856(0xb4)][_0xe62856(0x84)]=this[_0xe62856(0xb8)],this['on'](_0xe62856(0x8a),(_0x3b96da,_0x48bced,_0x3dbbe9)=>{const _0x5be1c3=_0xe62856;this[_0x5be1c3(0xb4)][_0x5be1c3(0x84)]=_0x3dbbe9;});}[_0x53fe65(0x8b)](_0x2d801d,_0x28b005,_0x34c2a8,_0x2b6e72,_0x2571d0){const _0x36bd7d=_0x53fe65,_0x436969=new _0x578ff3(this[_0x36bd7d(0xa5)]);return _0x436969[_0x36bd7d(0x9d)]({'label':_0x2d801d,'icon':_0x28b005,'tooltip':!0x0,'tooltipPosition':_0x2571d0}),_0x436969[_0x36bd7d(0xa6)]({'attributes':{'class':_0x34c2a8}}),_0x436969['on'](_0x36bd7d(0x90),()=>{const _0x479cfe=_0x36bd7d;this[_0x479cfe(0x7f)](_0x2b6e72,this[_0x479cfe(0x7c)]['id']);}),_0x436969;}[_0x53fe65(0x7b)](){const _0x2aef7f=_0x53fe65;return _0x2aef7f(0xc6)===this[_0x2aef7f(0x7c)][_0x2aef7f(0xab)][_0x2aef7f(0xe4)][_0x2aef7f(0xdb)]?_0x5858e9(this[_0x2aef7f(0xa5)],_0x2aef7f(0xe5)):_0x5858e9(this[_0x2aef7f(0xa5)],_0x2aef7f(0x97));}[_0x53fe65(0x87)](){const _0x9a8f0a=_0x53fe65;return this[_0x9a8f0a(0x7c)][_0x9a8f0a(0x89)]?_0x9a8f0a(0xc6)===this[_0x9a8f0a(0x7c)][_0x9a8f0a(0xab)][_0x9a8f0a(0xe4)][_0x9a8f0a(0xdb)]?_0x5858e9(this[_0x9a8f0a(0xa5)],_0x9a8f0a(0xa8),this[_0x9a8f0a(0x7c)][_0x9a8f0a(0xd5)][_0x9a8f0a(0xd7)]):_0x5858e9(this[_0x9a8f0a(0xa5)],_0x9a8f0a(0xc1),this[_0x9a8f0a(0x7c)][_0x9a8f0a(0xd5)][_0x9a8f0a(0xd7)]):null;}}function ds(_0x1c7ffd,_0x434088){const _0x3df64c=_0x53fe65;let _0x7c201f='';return _0x7c201f+=_0x1c7ffd[_0x3df64c(0xa3)]('*')[_0x3df64c(0xbc)]((_0x1165b9,_0x54e014)=>_0x54e014%0x2!=0x0?_0x3df64c(0xc2)+us(_0x1165b9)+_0x3df64c(0xbd):us(_0x1165b9))[_0x3df64c(0xc3)](''),_0x434088&&(_0x7c201f+=_0x3df64c(0x83)+_0x434088[_0x3df64c(0xa7)]+_0x3df64c(0x88)+_0x434088[_0x3df64c(0x79)]+_0x3df64c(0xd9)),_0x7c201f;}function us(_0x167d34){const _0x67da9c=_0x53fe65,_0x38c0a5=document[_0x67da9c(0xaa)](_0x67da9c(0xbf));return _0x38c0a5[_0x67da9c(0xe8)]=_0x167d34,_0x38c0a5[_0x67da9c(0x84)];}function _0x4e39(){const _0x22f88d=['bindTemplate','execute','color','ck-suggestion--disabled-comments','ck-comment__info-time','387434zIMLcf','commentsListView','ck-suggestion-wrapper--active','EXTERNAL_SUGGESTION','render','14330ZxpRIG','content','authoredAt','formatDateTime','set','ck-suggestion--discard','canDiscard','commentThread','children','.ck-annotation__content-wrapper','split','userView','locale','extendTemplate','value','EXTERNAL_IMPORT_WORD_AVATAR','ck-annotation__info-name','createElement','attributes','discardButton','canAccept','<p>','bind','ck-annotation__info','ck-suggestion__user','div','ck-suggestion','_descriptionElement','_config','ck-comment__external','ck-suggestion-','description','editorReady','ck-annotation__main','ck-suggestion--accept','map','</span>','ck-suggestion-wrapper','span','disableComments','EXTERNAL_AVATAR','<span\x20class=\x22ck-suggestion-type\x22>','join','713350JFwhLU','commentThreadInputView','importWord','delegate','push','isEnabled','author','120xKSLrg','time','check','10651698DpEQop','descriptionParts','34507AuGnYI','593937LKjfld','getTemplate','Discard\x20suggestion','type','creator','isActive','name','ck-annotation__info-time','\x22></span>','ck-annotation__user','source','editorDestroyed','ck-suggestion__actions','querySelector','element','ck-annotation__content-wrapper','ck-suggestion__info-name','acceptButton','4PCZcdY','@external','EXTERNAL_IMPORT_WORD_SUGGESTION','</p>','1791931uXHUjg','innerText','title','ck-annotation__actions','getExternalSuggestionNote','_model','cancel','ck-annotation','fire','5629967RhJgEZ','acceptSuggestion','ck-suggestion__info','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','innerHTML','setTemplate','Accept\x20suggestion','getUserViewNotificationText','\x22\x20title=\x22','isExternal','change:description','_createButton','discardSuggestion','ck-suggestion__main','6jzAXRj'];_0x4e39=function(){return _0x22f88d;};return _0x4e39();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x52ba2b,_0x296581,_0x38337d){const t=_0x52ba2b['t'];switch(_0x296581){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',_0x38337d);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x38337d);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x38337d);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x38337d);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x38337d);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',_0x38337d);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x38337d);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',_0x38337d);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x38337d);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x38337d);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x38337d);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x38337d);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x38337d);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x38337d);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x38337d);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x38337d);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x38337d);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x38337d);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x38337d);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x38337d);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x38337d);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x38337d);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x38337d);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'},_0x38337d);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x38337d);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x38337d);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x38337d);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x38337d);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x38337d);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'},_0x38337d);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x38337d);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x38337d);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x38337d);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x38337d);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'},_0x38337d);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x38337d);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'},_0x38337d);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'},_0x38337d);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x38337d);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'},_0x38337d);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x38337d);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'},_0x38337d);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x38337d);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x38337d);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'},_0x38337d);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'},_0x38337d);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 _0x296581;}}
|
|
23
|
+
export function getTranslation(_0x2f8885,_0x4abcf1,_0xc3e794){const t=_0x2f8885['t'];switch(_0x4abcf1){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',_0xc3e794);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0xc3e794);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0xc3e794);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0xc3e794);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0xc3e794);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',_0xc3e794);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0xc3e794);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',_0xc3e794);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0xc3e794);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0xc3e794);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0xc3e794);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0xc3e794);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0xc3e794);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0xc3e794);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0xc3e794);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0xc3e794);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0xc3e794);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0xc3e794);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0xc3e794);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0xc3e794);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0xc3e794);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0xc3e794);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0xc3e794);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'},_0xc3e794);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0xc3e794);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0xc3e794);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0xc3e794);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0xc3e794);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0xc3e794);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'},_0xc3e794);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0xc3e794);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0xc3e794);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0xc3e794);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0xc3e794);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'},_0xc3e794);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0xc3e794);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'},_0xc3e794);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'},_0xc3e794);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0xc3e794);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'},_0xc3e794);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0xc3e794);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'},_0xc3e794);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0xc3e794);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0xc3e794);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'},_0xc3e794);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'},_0xc3e794);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 _0x4abcf1;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x3de78c,_0x5931bb){const _0x183722=_0x56e4,_0x945ba7=_0x3de78c();while(!![]){try{const _0x28c96c=parseInt(_0x183722(0x1cc))/0x1+-parseInt(_0x183722(0x1b7))/0x2*(parseInt(_0x183722(0x1c7))/0x3)+-parseInt(_0x183722(0x1ab))/0x4*(-parseInt(_0x183722(0x1c1))/0x5)+parseInt(_0x183722(0x1b5))/0x6*(-parseInt(_0x183722(0x1a6))/0x7)+-parseInt(_0x183722(0x1cf))/0x8+-parseInt(_0x183722(0x1a7))/0x9+-parseInt(_0x183722(0x1ac))/0xa*(-parseInt(_0x183722(0x1bf))/0xb);if(_0x28c96c===_0x5931bb)break;else _0x945ba7['push'](_0x945ba7['shift']());}catch(_0x40a2c0){_0x945ba7['push'](_0x945ba7['shift']());}}}(_0x1095,0x256d3));export function normalizeDescription(_0x57d1d2){const _0x3f0519=_0x56e4;return Array[_0x3f0519(0x1ca)](_0x57d1d2)||(_0x57d1d2=[_0x57d1d2]),_0x57d1d2[_0x3f0519(0x1c3)](_0x2e33a6=>{const _0x392f74=_0x3f0519,_0x5b69ac=_0x2e33a6[_0x392f74(0x1bd)][_0x392f74(0x1d0)](/\*/g,''),_0xaf733f=_0x2e33a6[_0x392f74(0x1b1)]?_0x392f74(0x1ad)+_0x2e33a6[_0x392f74(0x1b1)][_0x392f74(0x1b6)]+']':'';return'['+_0x2e33a6[_0x392f74(0x1b2)]+']\x20'+_0x5b69ac+_0xaf733f;})[_0x3f0519(0x1c2)](';\x20');}export function sortSuggestions(_0x52d22d){const _0x32c790=_0x56e4;return _0x52d22d[_0x32c790(0x1a5)]((_0x5e0bfe,_0xe01a17)=>_0x32c790(0x1cb)==_0x5e0bfe[_0x32c790(0x1b2)]&&_0x32c790(0x1cb)!=_0xe01a17[_0x32c790(0x1b2)]?-0x1:_0x32c790(0x1cb)!=_0x5e0bfe[_0x32c790(0x1b2)]&&_0x32c790(0x1cb)==_0xe01a17[_0x32c790(0x1b2)]?0x1:0x0);}function _0x56e4(_0x4c5986,_0x555258){const _0x1095a7=_0x1095();return _0x56e4=function(_0x56e4f0,_0x3227a6){_0x56e4f0=_0x56e4f0-0x1a5;let _0x404250=_0x1095a7[_0x56e4f0];return _0x404250;},_0x56e4(_0x4c5986,_0x555258);}export function getSelectedSuggestions(_0x21a1f3,_0x30cc79){const _0x1b5dc0=_0x56e4,_0x48f2f9=Array[_0x1b5dc0(0x1bc)](_0x21a1f3[_0x1b5dc0(0x1b9)]()),_0x52e0b4=new Set();for(const _0x1dea99 of _0x30cc79)if(_0x1dea99[_0x1b5dc0(0x1c5)]){for(const _0x34cb20 of _0x48f2f9)for(const _0x264966 of _0x1dea99[_0x1b5dc0(0x1b9)]())(_0x34cb20[_0x1b5dc0(0x1b3)](_0x264966)||_0x21a1f3[_0x1b5dc0(0x1b8)]&&!_0x1dea99[_0x1b5dc0(0x1ce)]&&_0x1dea99[_0x1b5dc0(0x1a8)]&&_0x264966[_0x1b5dc0(0x1af)][_0x1b5dc0(0x1c4)](_0x34cb20[_0x1b5dc0(0x1b4)]))&&_0x52e0b4[_0x1b5dc0(0x1ba)](_0x1dea99);}return _0x52e0b4;}export function getRangesOfBlockGroups(_0x3493e1,_0x3d6aa){const _0xf9570=_0x56e4;let _0x4de8f1,_0x5aa73a=0x0;const _0x24e08b=[],_0x345a7e=_0x3d6aa[_0xf9570(0x1c9)];for(;_0x5aa73a<_0x3493e1[_0xf9570(0x1b0)];){const _0x1e958f=_0x3493e1[_0x5aa73a],_0x5eb58e=_0x3493e1[_0x5aa73a+0x1];_0x4de8f1||(_0x4de8f1=_0x3d6aa[_0xf9570(0x1ae)](_0x1e958f)),co(_0x3d6aa,_0x1e958f,_0x5eb58e)||(_0x24e08b[_0xf9570(0x1c6)](_0x3d6aa[_0xf9570(0x1c0)](_0x4de8f1,_0x345a7e[_0xf9570(0x1c8)](_0x1e958f)?_0x3d6aa[_0xf9570(0x1bb)](_0x1e958f):_0x3d6aa[_0xf9570(0x1a9)](_0x1e958f,_0xf9570(0x1af)))),_0x4de8f1=null),_0x5aa73a++;}return _0x24e08b;}function co(_0x4a6def,_0x3df0a2,_0x10e9fb){const _0x4ee586=_0x56e4;if(!_0x10e9fb)return!0x1;const _0x2eac83=_0x4a6def[_0x4ee586(0x1bb)](_0x3df0a2),_0x190113=_0x4a6def[_0x4ee586(0x1ae)](_0x10e9fb);return _0x2eac83[_0x4ee586(0x1c4)](_0x190113);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;function _0x1095(){const _0x485603=['isInContent','push','25962llDOck','isObject','schema','isArray','deletion','196988mRuYZf','change','isMultiRange','56816dnJTZJ','replace','sort','1033732lxjGfr','2010726lINglN','next','createPositionAt','splice','26652vwplAJ','710DScucl','\x20[color\x20','createPositionBefore','end','length','color','type','isIntersecting','start','6wmGeBj','value','22qlistB','isCollapsed','getRanges','add','createPositionAfter','from','content','execute','60379FEbqYr','createRange','30mTCMZM','join','map','isTouching'];_0x1095=function(){return _0x485603;};return _0x1095();}export function executeCommandForSuggestions(_0x24847b,_0x1462f7,_0x2afb8a){const _0x5eed81=_0x56e4;for(;_0x2afb8a[_0x5eed81(0x1b0)];){const _0x2c1935=_0x2afb8a[_0x5eed81(0x1aa)](0x0,0x64);_0x24847b[_0x5eed81(0x1cd)](()=>{const _0x11e269=_0x5eed81;for(const _0x4a6588 of _0x2c1935)_0x4a6588[_0x11e269(0x1c5)]&&_0x1462f7[_0x11e269(0x1be)](_0x4a6588['id']);});}}
|