@ckeditor/ckeditor5-track-changes 42.0.0-alpha.23 → 42.0.0-alpha.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +1 -1
- package/build/translations/ar.js +1 -1
- package/build/translations/cs.js +1 -1
- package/build/translations/da.js +1 -1
- package/build/translations/de.js +1 -1
- package/build/translations/el.js +1 -1
- package/build/translations/es.js +1 -1
- package/build/translations/et.js +1 -1
- package/build/translations/fr.js +1 -1
- package/build/translations/hi.js +1 -1
- package/build/translations/hr.js +1 -1
- package/build/translations/hu.js +1 -1
- package/build/translations/lt.js +1 -1
- package/build/translations/lv.js +1 -1
- package/build/translations/nl.js +1 -1
- package/build/translations/no.js +1 -1
- package/build/translations/pl.js +1 -1
- package/build/translations/pt.js +1 -1
- package/build/translations/ro.js +1 -1
- package/build/translations/ru.js +1 -1
- package/build/translations/sk.js +1 -1
- package/build/translations/sr.js +1 -1
- package/build/translations/sv.js +1 -1
- package/build/translations/tk.js +1 -1
- package/build/translations/tr.js +1 -1
- package/build/translations/uk.js +1 -1
- package/build/translations/zh-cn.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/lang/translations/ar.po +42 -42
- package/lang/translations/cs.po +21 -21
- package/lang/translations/da.po +8 -8
- package/lang/translations/de.po +1 -1
- package/lang/translations/el.po +1 -1
- package/lang/translations/es.po +8 -8
- package/lang/translations/et.po +16 -16
- package/lang/translations/fr.po +4 -4
- package/lang/translations/hi.po +3 -3
- package/lang/translations/hr.po +2 -2
- package/lang/translations/hu.po +18 -18
- package/lang/translations/lt.po +53 -53
- package/lang/translations/lv.po +36 -36
- package/lang/translations/nl.po +3 -3
- package/lang/translations/no.po +18 -18
- package/lang/translations/pl.po +7 -7
- package/lang/translations/pt.po +32 -32
- package/lang/translations/ro.po +37 -37
- package/lang/translations/ru.po +54 -54
- package/lang/translations/sk.po +3 -3
- package/lang/translations/sr.po +34 -34
- package/lang/translations/sv.po +17 -17
- package/lang/translations/tk.po +1 -1
- package/lang/translations/tr.po +3 -3
- package/lang/translations/uk.po +54 -54
- package/lang/translations/zh-cn.po +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 _0x31cad6=_0x1635;function _0x1635(_0x328465,_0xb64365){const _0x4a4865=_0x4a48();return _0x1635=function(_0x163515,_0x505dbd){_0x163515=_0x163515-0xdf;let _0x200f26=_0x4a4865[_0x163515];return _0x200f26;},_0x1635(_0x328465,_0xb64365);}(function(_0xe416f9,_0x43fab7){const _0x35caa4=_0x1635,_0x2658d5=_0xe416f9();while(!![]){try{const _0x279d9e=-parseInt(_0x35caa4(0xe6))/0x1*(parseInt(_0x35caa4(0x108))/0x2)+parseInt(_0x35caa4(0xf4))/0x3+-parseInt(_0x35caa4(0xfb))/0x4*(parseInt(_0x35caa4(0xe3))/0x5)+parseInt(_0x35caa4(0xfc))/0x6+parseInt(_0x35caa4(0xed))/0x7*(parseInt(_0x35caa4(0xf6))/0x8)+parseInt(_0x35caa4(0x106))/0x9*(parseInt(_0x35caa4(0xff))/0xa)+-parseInt(_0x35caa4(0xee))/0xb;if(_0x279d9e===_0x43fab7)break;else _0x2658d5['push'](_0x2658d5['shift']());}catch(_0x32dff6){_0x2658d5['push'](_0x2658d5['shift']());}}}(_0x4a48,0x40c0c));function _0x4a48(){const _0x64d28b=['change:isDirty','PENDING_ACTION_SUGGESTION','acceptSuggestion','540Gxxpeo','2857002aNsYqF','listenTo','remove','10vGzxJb','commands','_discardCommand','get','bind','_removePendingAction','model','4572081jijkpv','commentThreadController','2TnAQdW','canEditAt','discardSuggestion','isEnabled','_editor','locale','3855ttHSga','add','execute','225718YxTOtp','canAccept','getRanges','PendingActions','_setPendingAction','isDirty','plugins','42056SGYyir','8258008DcfwRk','view','_pendingAction','_acceptCommand','canDiscard','unbind','778341FuFtqb','stopListening','136Gmokyd','destroy'];_0x4a48=function(){return _0x64d28b;};return _0x4a48();}import{ObservableMixin as _0x13d0ae}from'ckeditor5/src/utils.js';import{getTranslation as _0x5f1a22}from'../utils/common-translations.js';export default class oe extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x13d0ae(){constructor(_0x48ab6e,_0x4cdc42,_0x2320a8,_0x3ca289){const _0x4ed560=_0x1635;super(),this[_0x4ed560(0x105)]=_0x4cdc42,this[_0x4ed560(0xef)]=_0x2320a8,this[_0x4ed560(0x107)]=_0x3ca289,this[_0x4ed560(0xe1)]=_0x48ab6e,this[_0x4ed560(0xf1)]=_0x48ab6e[_0x4ed560(0x100)][_0x4ed560(0x102)](_0x4ed560(0xfa)),this[_0x4ed560(0x101)]=_0x48ab6e[_0x4ed560(0x100)][_0x4ed560(0x102)](_0x4ed560(0xdf)),this[_0x4ed560(0xef)][_0x4ed560(0x103)](_0x4ed560(0xe0))['to'](this[_0x4ed560(0xf1)],this[_0x4ed560(0x101)],(_0x51f7bb,_0x3bea6d)=>_0x51f7bb||_0x3bea6d),this[_0x4ed560(0xef)][_0x4ed560(0x103)](_0x4ed560(0xe7))['to'](this[_0x4ed560(0xf1)],_0x4ed560(0xe0),_0x5478d6=>_0x5478d6&&this[_0x4ed560(0xe1)][_0x4ed560(0x105)][_0x4ed560(0x109)](_0x4cdc42[_0x4ed560(0xe8)]())),this[_0x4ed560(0xef)][_0x4ed560(0x103)](_0x4ed560(0xf2))['to'](this[_0x4ed560(0x101)],_0x4ed560(0xe0),_0x5d689c=>_0x5d689c&&this[_0x4ed560(0xe1)][_0x4ed560(0x105)][_0x4ed560(0x109)](_0x4cdc42[_0x4ed560(0xe8)]())),this[_0x4ed560(0xf0)]=null,_0x2320a8[_0x4ed560(0xeb)]&&this[_0x4ed560(0xea)](),this[_0x4ed560(0xfd)](_0x2320a8,_0x4ed560(0xfa),()=>this[_0x4ed560(0xfa)]()),this[_0x4ed560(0xfd)](_0x2320a8,_0x4ed560(0xdf),()=>this[_0x4ed560(0xdf)]()),this[_0x4ed560(0xfd)](_0x2320a8,_0x4ed560(0xf8),()=>{const _0x123415=_0x4ed560;_0x2320a8[_0x123415(0xeb)]?this[_0x123415(0xea)]():this[_0x123415(0x104)]();});}[_0x31cad6(0xfa)](){const _0x111e90=_0x31cad6;this[_0x111e90(0xf1)][_0x111e90(0xe5)](this[_0x111e90(0x105)]['id']);}[_0x31cad6(0xdf)](){const _0xd1d326=_0x31cad6;this[_0xd1d326(0x101)][_0xd1d326(0xe5)](this[_0xd1d326(0x105)]['id']);}[_0x31cad6(0xf7)](){const _0x350c61=_0x31cad6;this[_0x350c61(0xef)][_0x350c61(0xf3)](_0x350c61(0xe0)),this[_0x350c61(0xef)][_0x350c61(0xf3)](_0x350c61(0xe7)),this[_0x350c61(0xef)][_0x350c61(0xf3)](_0x350c61(0xf2)),this[_0x350c61(0xf5)](),this[_0x350c61(0x107)][_0x350c61(0xf7)](),this[_0x350c61(0xf0)]&&this[_0x350c61(0x104)]();}[_0x31cad6(0xea)](){const _0x379102=_0x31cad6,_0x420837=_0x5f1a22(this[_0x379102(0xe1)][_0x379102(0xe2)],_0x379102(0xf9));this[_0x379102(0xf0)]=this[_0x379102(0xe1)][_0x379102(0xec)][_0x379102(0x102)](_0x379102(0xe9))[_0x379102(0xe4)](_0x420837);}[_0x31cad6(0x104)](){const _0x159ab0=_0x31cad6;null!==this[_0x159ab0(0xf0)]&&this[_0x159ab0(0xe1)][_0x159ab0(0xec)][_0x159ab0(0x102)](_0x159ab0(0xe9))[_0x159ab0(0xfe)](this[_0x159ab0(0xf0)]),this[_0x159ab0(0xf0)]=null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3d7726=_0x3d04;function _0x3d04(_0x5e4e4d,_0x38885b){const _0xb25c75=_0xb25c();return _0x3d04=function(_0x3d0463,_0x177e54){_0x3d0463=_0x3d0463-0x6e;let _0x1ab4a8=_0xb25c75[_0x3d0463];return _0x1ab4a8;},_0x3d04(_0x5e4e4d,_0x38885b);}(function(_0x23bb53,_0x289e7c){const _0x2c6727=_0x3d04,_0x113438=_0x23bb53();while(!![]){try{const _0x3a8d7c=-parseInt(_0x2c6727(0x96))/0x1+-parseInt(_0x2c6727(0x85))/0x2*(-parseInt(_0x2c6727(0x8c))/0x3)+-parseInt(_0x2c6727(0x70))/0x4+parseInt(_0x2c6727(0x94))/0x5*(parseInt(_0x2c6727(0x81))/0x6)+-parseInt(_0x2c6727(0x7d))/0x7+parseInt(_0x2c6727(0x9e))/0x8+parseInt(_0x2c6727(0x71))/0x9;if(_0x3a8d7c===_0x289e7c)break;else _0x113438['push'](_0x113438['shift']());}catch(_0x566853){_0x113438['push'](_0x113438['shift']());}}}(_0xb25c,0x90a59));import{View as _0x23540e}from'ckeditor5/src/ui.js';function _0xb25c(){const _0x53da9d=['_createCommentThreadInputView','commentsListView','disableComments','commentThreadInputView','disabledSubmit','8314144coDIHO','isReadOnly','bind','delegate','4230324iYPnZK','14937705mqQiWk','assign','authoredAt','editorConfig','commentThread','editor','submit','length','destroy','element','_localUser','setData','7132755sQdoVD','canDiscard','focus','showInput','18mSWqTR','commentInputView','removeComment','cancel','21378BgZGft','addComment','locale','set','isEnabled','updateComment','_createCommentViews','93MbMKuD','isDirty','_model','isActive','hasDirtyComment','fire','canAccept','_config','1017125GsDZlh','CommentView','971628kFFZdR','value','descriptionParts'];_0xb25c=function(){return _0x53da9d;};return _0xb25c();}export default class es extends _0x23540e{constructor(_0x27fde2,_0x3a05a8,_0x4a3033,_0x42e378){const _0x4d84b9=_0x3d04;super(_0x27fde2),this[_0x4d84b9(0x9a)]=null,this[_0x4d84b9(0x9c)]=null,this[_0x4d84b9(0x88)](_0x4d84b9(0x8f),!0x1),this[_0x4d84b9(0x88)](_0x4d84b9(0x73),_0x3a05a8[_0x4d84b9(0x73)]),this[_0x4d84b9(0x6e)](_0x4d84b9(0x73))['to'](_0x3a05a8),this[_0x4d84b9(0x88)](_0x4d84b9(0x98),[]),this[_0x4d84b9(0x88)](_0x4d84b9(0x8d),!0x1),this[_0x4d84b9(0x88)](_0x4d84b9(0x89),!0x1),this[_0x4d84b9(0x88)](_0x4d84b9(0x92),!0x1),this[_0x4d84b9(0x88)](_0x4d84b9(0x7e),!0x1),this[_0x4d84b9(0x8e)]=_0x3a05a8,this[_0x4d84b9(0x7b)]=_0x4a3033,this[_0x4d84b9(0x93)]=_0x42e378,_0x42e378[_0x4d84b9(0x9b)]?this[_0x4d84b9(0x88)](_0x4d84b9(0x78),0x1):this[_0x4d84b9(0x8b)]();}[_0x3d7726(0x7f)](){const _0x2fd632=_0x3d7726;this[_0x2fd632(0x7a)][_0x2fd632(0x7f)]();}[_0x3d7726(0x79)](){const _0x335faa=_0x3d7726;this[_0x335faa(0x9a)]&&this[_0x335faa(0x9a)][_0x335faa(0x79)](),this[_0x335faa(0x9c)]&&this[_0x335faa(0x9c)][_0x335faa(0x79)](),super[_0x335faa(0x79)]();}[_0x3d7726(0x8b)](){const _0x132c20=_0x3d7726,{CommentsListView:_0x38c6d4}=this[_0x132c20(0x93)];this[_0x132c20(0x9a)]=new _0x38c6d4(this[_0x132c20(0x87)],this[_0x132c20(0x8e)][_0x132c20(0x75)],Object[_0x132c20(0x72)]({'CommentView':this[_0x132c20(0x93)][_0x132c20(0x95)]},this[_0x132c20(0x93)])),this[_0x132c20(0x9a)][_0x132c20(0x6f)](_0x132c20(0x83))['to'](this),this[_0x132c20(0x9a)][_0x132c20(0x6f)](_0x132c20(0x8a))['to'](this),this[_0x132c20(0x9a)][_0x132c20(0x6e)](_0x132c20(0x8f))['to'](this),this[_0x132c20(0x88)](_0x132c20(0x78),this[_0x132c20(0x9a)][_0x132c20(0x78)]+0x1),this[_0x132c20(0x6e)](_0x132c20(0x78))['to'](this[_0x132c20(0x9a)],_0x132c20(0x78),_0x3bf192=>_0x3bf192+0x1),this[_0x132c20(0x9c)]=this[_0x132c20(0x99)](),this['on'](_0x132c20(0x83),()=>this[_0x132c20(0x7f)]()),this[_0x132c20(0x6e)](_0x132c20(0x8d))['to'](this[_0x132c20(0x9a)],_0x132c20(0x90),this[_0x132c20(0x9c)][_0x132c20(0x82)],_0x132c20(0x97),(_0x94abe6,_0x4b8468)=>_0x94abe6||!!_0x4b8468);}[_0x3d7726(0x99)](){const _0x37d7c7=_0x3d7726,{CommentThreadInputView:_0x2d19de}=this[_0x37d7c7(0x93)],_0x49de63=new _0x2d19de(this[_0x37d7c7(0x87)],this[_0x37d7c7(0x7b)],this[_0x37d7c7(0x93)][_0x37d7c7(0x74)]),_0x315dc4=_0x49de63[_0x37d7c7(0x82)];return _0x49de63[_0x37d7c7(0x6e)](_0x37d7c7(0x80))['to'](this,_0x37d7c7(0x8f),this[_0x37d7c7(0x8e)][_0x37d7c7(0x75)],_0x37d7c7(0x9f),_0x315dc4,_0x37d7c7(0x97),(_0x114c4d,_0x397c8e,_0x3ae5b1)=>!!_0x3ae5b1||_0x114c4d&&!_0x397c8e),_0x315dc4['on'](_0x37d7c7(0x77),(_0x46aa80,_0x362696)=>{const _0x41cd7e=_0x37d7c7;this[_0x41cd7e(0x91)](_0x41cd7e(0x86),_0x362696),_0x315dc4[_0x41cd7e(0x76)][_0x41cd7e(0x7c)]('');}),_0x315dc4['on'](_0x37d7c7(0x84),()=>this[_0x37d7c7(0x7f)]()),_0x315dc4[_0x37d7c7(0x6e)](_0x37d7c7(0x9d))['to'](this[_0x37d7c7(0x8e)][_0x37d7c7(0x75)],_0x37d7c7(0x9f)),_0x49de63;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x833cf9=_0x3d47;(function(_0x2c7935,_0x48d3f6){const _0x54f947=_0x3d47,_0x4bdfec=_0x2c7935();while(!![]){try{const _0xf02909=parseInt(_0x54f947(0x1e9))/0x1+parseInt(_0x54f947(0x217))/0x2*(-parseInt(_0x54f947(0x22a))/0x3)+parseInt(_0x54f947(0x218))/0x4+parseInt(_0x54f947(0x1df))/0x5+-parseInt(_0x54f947(0x1fa))/0x6+-parseInt(_0x54f947(0x1d2))/0x7*(parseInt(_0x54f947(0x1c1))/0x8)+parseInt(_0x54f947(0x1e2))/0x9;if(_0xf02909===_0x48d3f6)break;else _0x4bdfec['push'](_0x4bdfec['shift']());}catch(_0xf93c6d){_0x4bdfec['push'](_0x4bdfec['shift']());}}}(_0x55e3,0xd361f));import{getTranslation as _0x3dda51}from'../../utils/common-translations.js';import{default as _0x31bd30}from'./basesuggestionthreadview.js';function _0x55e3(){const _0x5a6384=['ck-annotation__user','span','acceptSuggestion','push','innerHTML','ck-suggestion-wrapper--active','Accept\x20suggestion','@external','EXTERNAL_AVATAR','ck-annotation','2104914QyQzKQ','</p>','ck-suggestion--disabled-comments','editorReady','set','ck-annotation__info-time','extendTemplate','EXTERNAL_IMPORT_WORD_AVATAR','title','_config','importWord','ck-comment__external','getUserViewNotificationText','1299290TycXeI','creator','descriptionParts','7210197chNimP','ck-suggestion__actions','split','innerText','querySelector','source','render','1425159GFXffL','value','description','disableComments','isEnabled','acceptButton','change:description','userView','\x22\x20title=\x22','commentThreadInputView','formatDateTime','ck-annotation__info','ck-suggestion__user','commentsListView','canAccept','Discard\x20suggestion','_createButton','4618512zmnopq','isExternal','ck-suggestion-','content','color','ck-suggestion-wrapper','join','children','ck-comment__info-time','commentThread','isActive','ck-suggestion--accept','bind','EXTERNAL_IMPORT_WORD_SUGGESTION','ck-suggestion--discard','locale','_model','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','bindTemplate','</span>','ck-annotation__content-wrapper','ck-suggestion__main','editorDestroyed','fire','createElement','.ck-annotation__content-wrapper','ck-suggestion','name','execute','4GXIJGS','2637692BAeBQQ','check','\x22></span>','discardSuggestion','type','element','cancel','author','map','ck-annotation__actions','setTemplate','getExternalSuggestionNote','div','ck-annotation__info-name','attributes','_descriptionElement','ck-suggestion__info','ck-annotation__main','9732LkmCjm','getTemplate','<p>','EXTERNAL_SUGGESTION','canDiscard','40BehCdA','authoredAt','ck-suggestion__info-name','delegate','time','discardButton','<span\x20class=\x22ck-suggestion-type\x22>'];_0x55e3=function(){return _0x5a6384;};return _0x55e3();}import{ButtonView as _0x30f319}from'ckeditor5/src/ui.js';import{icons as _0x14dfc2}from'ckeditor5/src/core.js';function _0x3d47(_0x37f1e5,_0x153ada){const _0x55e380=_0x55e3();return _0x3d47=function(_0x3d4758,_0x59d7b7){_0x3d4758=_0x3d4758-0x1bd;let _0x393bdb=_0x55e380[_0x3d4758];return _0x393bdb;},_0x3d47(_0x37f1e5,_0x153ada);}import{trimHtml as _0x187d99,UserView as _0x4298ff}from'ckeditor5-collaboration/src/collaboration-core.js';export default class ne extends _0x31bd30{constructor(_0x5e1713,_0x565b3a,_0x1af206,_0x56d81f){const _0x2a0fe3=_0x3d47;super(_0x5e1713,_0x565b3a,_0x1af206,_0x56d81f),this[_0x2a0fe3(0x1d6)](_0x2a0fe3(0x21c),''),this[_0x2a0fe3(0x206)](_0x2a0fe3(0x21c))['to'](this,_0x2a0fe3(0x1e1),_0x2263cd=>_0x2263cd&&_0x2263cd[0x0]?_0x2263cd[0x0][_0x2a0fe3(0x21c)]:''),this[_0x2a0fe3(0x206)](_0x2a0fe3(0x1eb))['to'](this,_0x2a0fe3(0x1e1),this,_0x2a0fe3(0x204),(_0x1516f6,_0x505604)=>{const _0x4ae172=_0x2a0fe3;let _0x30a93e='';for(const _0x2fbe9e of _0x1516f6)_0x30a93e+=_0x4ae172(0x1be)+ds(_0x2fbe9e[_0x4ae172(0x1fd)],_0x2fbe9e[_0x4ae172(0x1fe)])+_0x4ae172(0x1d3);return _0x505604?_0x30a93e:_0x187d99(_0x30a93e,{'limit':0x8c});}),this[_0x2a0fe3(0x227)]=null,this[_0x2a0fe3(0x1ee)]=this[_0x2a0fe3(0x1f9)](_0x3dda51(_0x5e1713,_0x2a0fe3(0x1ce)),_0x14dfc2[_0x2a0fe3(0x219)],_0x2a0fe3(0x205),_0x2a0fe3(0x1ca),'sw'),this[_0x2a0fe3(0x1ee)][_0x2a0fe3(0x206)](_0x2a0fe3(0x1ed))['to'](this,_0x2a0fe3(0x1f7)),this[_0x2a0fe3(0x1c6)]=this[_0x2a0fe3(0x1f9)](_0x3dda51(_0x5e1713,_0x2a0fe3(0x1f8)),_0x14dfc2[_0x2a0fe3(0x21e)],_0x2a0fe3(0x208),_0x2a0fe3(0x21b),'sw'),this[_0x2a0fe3(0x1c6)][_0x2a0fe3(0x206)](_0x2a0fe3(0x1ed))['to'](this,_0x2a0fe3(0x1c0)),this[_0x2a0fe3(0x1f0)]=new _0x4298ff(_0x5e1713,this[_0x2a0fe3(0x20a)][_0x2a0fe3(0x21f)],this[_0x2a0fe3(0x1de)]()),this[_0x2a0fe3(0x1f0)][_0x2a0fe3(0x1d8)]({'attributes':{'class':[_0x2a0fe3(0x1f5),_0x2a0fe3(0x1c8)]}}),this[_0x2a0fe3(0x222)](this[_0x2a0fe3(0x1bd)]());}[_0x833cf9(0x1bd)](){const _0x29da16=_0x833cf9,_0x173259=this[_0x29da16(0x20c)],_0x92bb1f=[{'tag':_0x29da16(0x224),'attributes':{'class':[_0x29da16(0x228),_0x29da16(0x1f4)]},'children':[{'tag':_0x29da16(0x1c9),'children':[{'text':this[_0x29da16(0x1f0)][_0x29da16(0x215)]}],'attributes':{'class':[_0x29da16(0x1c3),_0x29da16(0x225)]}},{'tag':_0x29da16(0x1c5),'attributes':{'datetime':_0x173259['to'](_0x29da16(0x1c2)),'class':[_0x29da16(0x202),_0x29da16(0x1d7)]},'children':[{'text':_0x173259['to'](_0x29da16(0x1c2),_0x1b583=>this[_0x29da16(0x1db)][_0x29da16(0x1f3)](_0x1b583))}]}]},{'tag':_0x29da16(0x224),'attributes':{'class':[_0x29da16(0x1e3),_0x29da16(0x221)]},'children':[this[_0x29da16(0x1ee)],this[_0x29da16(0x1c6)]]},{'tag':_0x29da16(0x224),'attributes':{'class':[_0x29da16(0x20e)]}}];this[_0x29da16(0x20a)][_0x29da16(0x1fb)]&&_0x92bb1f[_0x29da16(0x1cb)]({'tag':_0x29da16(0x224),'attributes':{'class':[_0x29da16(0x1dd)]},'children':[{'text':this[_0x29da16(0x223)]()}]});const _0x361024={'tag':_0x29da16(0x224),'attributes':{'class':[_0x29da16(0x1ff),_0x173259['if'](_0x29da16(0x204),_0x29da16(0x1cd)),_0x173259['to'](_0x29da16(0x21c),_0xc3e25b=>_0x29da16(0x1fc)+_0xc3e25b),this[_0x29da16(0x1db)][_0x29da16(0x1ec)]&&_0x29da16(0x1d4)],'data-suggestion-id':this[_0x29da16(0x20a)]['id'],'data-thread-id':this[_0x29da16(0x20a)][_0x29da16(0x203)]['id'],'data-author-id':this[_0x29da16(0x20a)][_0x29da16(0x21f)]['id'],'tabindex':-0x1},'children':[{'tag':_0x29da16(0x224),'attributes':{'class':[_0x29da16(0x214),_0x29da16(0x1d1)]},'children':[this[_0x29da16(0x1f0)],{'tag':_0x29da16(0x224),'attributes':{'class':[_0x29da16(0x20f),_0x29da16(0x229)]},'children':_0x92bb1f}]}]};return this[_0x29da16(0x1f6)]&&this[_0x29da16(0x1f2)]&&(_0x361024[_0x29da16(0x201)][_0x29da16(0x1cb)](this[_0x29da16(0x1f6)],this[_0x29da16(0x1f2)]),this[_0x29da16(0x1f6)][_0x29da16(0x1c4)](_0x29da16(0x1d5))['to'](this),this[_0x29da16(0x1f6)][_0x29da16(0x1c4)](_0x29da16(0x210))['to'](this),this[_0x29da16(0x1f2)][_0x29da16(0x1c4)](_0x29da16(0x1d5))['to'](this),this[_0x29da16(0x1f2)][_0x29da16(0x1c4)](_0x29da16(0x210))['to'](this)),_0x361024;}[_0x833cf9(0x1e8)](){const _0x46f731=_0x833cf9;super[_0x46f731(0x1e8)](),this[_0x46f731(0x227)]=this[_0x46f731(0x21d)][_0x46f731(0x1e6)](_0x46f731(0x213)),this[_0x46f731(0x227)][_0x46f731(0x1cc)]=this[_0x46f731(0x1eb)],this['on'](_0x46f731(0x1ef),(_0x3af60c,_0x6dd8d8,_0x443018)=>{const _0xa8a47b=_0x46f731;this[_0xa8a47b(0x227)][_0xa8a47b(0x1cc)]=_0x443018;});}[_0x833cf9(0x1f9)](_0x70a647,_0x3a3c60,_0x13c36e,_0x3edcbe,_0x1c6a45){const _0x5dc940=_0x833cf9,_0x5290da=new _0x30f319(this[_0x5dc940(0x209)]);return _0x5290da[_0x5dc940(0x1d6)]({'label':_0x70a647,'icon':_0x3a3c60,'tooltip':!0x0,'tooltipPosition':_0x1c6a45}),_0x5290da[_0x5dc940(0x1d8)]({'attributes':{'class':_0x13c36e}}),_0x5290da['on'](_0x5dc940(0x216),()=>{const _0x5fcd7b=_0x5dc940;this[_0x5fcd7b(0x211)](_0x3edcbe,this[_0x5fcd7b(0x20a)]['id']);}),_0x5290da;}[_0x833cf9(0x223)](){const _0x137f63=_0x833cf9;return _0x137f63(0x1dc)===this[_0x137f63(0x20a)][_0x137f63(0x226)][_0x137f63(0x1cf)][_0x137f63(0x1e7)]?_0x3dda51(this[_0x137f63(0x209)],_0x137f63(0x207)):_0x3dda51(this[_0x137f63(0x209)],_0x137f63(0x1bf));}[_0x833cf9(0x1de)](){const _0x31448f=_0x833cf9;return this[_0x31448f(0x20a)][_0x31448f(0x1fb)]?_0x31448f(0x1dc)===this[_0x31448f(0x20a)][_0x31448f(0x226)][_0x31448f(0x1cf)][_0x31448f(0x1e7)]?_0x3dda51(this[_0x31448f(0x209)],_0x31448f(0x1d9),this[_0x31448f(0x20a)][_0x31448f(0x1e0)][_0x31448f(0x215)]):_0x3dda51(this[_0x31448f(0x209)],_0x31448f(0x1d0),this[_0x31448f(0x20a)][_0x31448f(0x1e0)][_0x31448f(0x215)]):null;}}function ds(_0x12024a,_0x5147c7){const _0x54f451=_0x833cf9;let _0x2766e1='';return _0x2766e1+=_0x12024a[_0x54f451(0x1e4)]('*')[_0x54f451(0x220)]((_0x2cedd0,_0x53a80e)=>_0x53a80e%0x2!=0x0?_0x54f451(0x1c7)+us(_0x2cedd0)+_0x54f451(0x20d):us(_0x2cedd0))[_0x54f451(0x200)](''),_0x5147c7&&(_0x2766e1+=_0x54f451(0x20b)+_0x5147c7[_0x54f451(0x1ea)]+_0x54f451(0x1f1)+_0x5147c7[_0x54f451(0x1da)]+_0x54f451(0x21a)),_0x2766e1;}function us(_0x4de728){const _0x64fe5b=_0x833cf9,_0x3af154=document[_0x64fe5b(0x212)](_0x64fe5b(0x1c9));return _0x3af154[_0x64fe5b(0x1e5)]=_0x4de728,_0x3af154[_0x64fe5b(0x1cc)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x4be755,_0x379886,_0x578b94){const t=_0x4be755['t'];switch(_0x379886){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',_0x578b94);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x578b94);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x578b94);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x578b94);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x578b94);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',_0x578b94);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x578b94);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',_0x578b94);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x578b94);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x578b94);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x578b94);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x578b94);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x578b94);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x578b94);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x578b94);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x578b94);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x578b94);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x578b94);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x578b94);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x578b94);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x578b94);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x578b94);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x578b94);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'},_0x578b94);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x578b94);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x578b94);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x578b94);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x578b94);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x578b94);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'},_0x578b94);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x578b94);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x578b94);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x578b94);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x578b94);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'},_0x578b94);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x578b94);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'},_0x578b94);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'},_0x578b94);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x578b94);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'},_0x578b94);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x578b94);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'},_0x578b94);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x578b94);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x578b94);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'},_0x578b94);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'},_0x578b94);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 _0x379886;}}
|
|
23
|
+
export function getTranslation(_0x4d8a9e,_0x27bb69,_0x32711b){const t=_0x4d8a9e['t'];switch(_0x27bb69){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',_0x32711b);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x32711b);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x32711b);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x32711b);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x32711b);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',_0x32711b);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x32711b);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',_0x32711b);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x32711b);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x32711b);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x32711b);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x32711b);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x32711b);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x32711b);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x32711b);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x32711b);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x32711b);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x32711b);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x32711b);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x32711b);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x32711b);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x32711b);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x32711b);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'},_0x32711b);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x32711b);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x32711b);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x32711b);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x32711b);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x32711b);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'},_0x32711b);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x32711b);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x32711b);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x32711b);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x32711b);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'},_0x32711b);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x32711b);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'},_0x32711b);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'},_0x32711b);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x32711b);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'},_0x32711b);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x32711b);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'},_0x32711b);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x32711b);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x32711b);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'},_0x32711b);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'},_0x32711b);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 _0x27bb69;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x3427e2,_0x20971a){const _0x4b1109=_0x4732,_0x84d920=_0x3427e2();while(!![]){try{const _0x3c5cc0=parseInt(_0x4b1109(0xb5))/0x1+-parseInt(_0x4b1109(0xdc))/0x2*(parseInt(_0x4b1109(0xdb))/0x3)+-parseInt(_0x4b1109(0xc9))/0x4*(parseInt(_0x4b1109(0xbf))/0x5)+-parseInt(_0x4b1109(0xbb))/0x6+-parseInt(_0x4b1109(0xe1))/0x7*(-parseInt(_0x4b1109(0xde))/0x8)+-parseInt(_0x4b1109(0xd4))/0x9*(-parseInt(_0x4b1109(0xd3))/0xa)+-parseInt(_0x4b1109(0xc8))/0xb*(parseInt(_0x4b1109(0xd8))/0xc);if(_0x3c5cc0===_0x20971a)break;else _0x84d920['push'](_0x84d920['shift']());}catch(_0x15398e){_0x84d920['push'](_0x84d920['shift']());}}}(_0x2764,0x58b32));export function normalizeDescription(_0x2d9f8c){const _0xa2bda2=_0x4732;return Array[_0xa2bda2(0xc4)](_0x2d9f8c)||(_0x2d9f8c=[_0x2d9f8c]),_0x2d9f8c[_0xa2bda2(0xb6)](_0x3e90dc=>{const _0xc9ef30=_0xa2bda2,_0x4303d3=_0x3e90dc[_0xc9ef30(0xcc)][_0xc9ef30(0xb7)](/\*/g,''),_0x5d25df=_0x3e90dc[_0xc9ef30(0xcd)]?_0xc9ef30(0xbe)+_0x3e90dc[_0xc9ef30(0xcd)][_0xc9ef30(0xc2)]+']':'';return'['+_0x3e90dc[_0xc9ef30(0xc7)]+']\x20'+_0x4303d3+_0x5d25df;})[_0xa2bda2(0xbc)](';\x20');}function _0x4732(_0x37e0f6,_0x1f0c5c){const _0x2764c4=_0x2764();return _0x4732=function(_0x4732ce,_0x26f59f){_0x4732ce=_0x4732ce-0xb5;let _0x3cb50e=_0x2764c4[_0x4732ce];return _0x3cb50e;},_0x4732(_0x37e0f6,_0x1f0c5c);}export function sortSuggestions(_0x2e770a){const _0x4e3efa=_0x4732;return _0x2e770a[_0x4e3efa(0xca)]((_0x44311b,_0x349135)=>_0x4e3efa(0xd2)==_0x44311b[_0x4e3efa(0xc7)]&&_0x4e3efa(0xd2)!=_0x349135[_0x4e3efa(0xc7)]?-0x1:_0x4e3efa(0xd2)!=_0x44311b[_0x4e3efa(0xc7)]&&_0x4e3efa(0xd2)==_0x349135[_0x4e3efa(0xc7)]?0x1:0x0);}function _0x2764(){const _0x537b04=['isObject','content','color','createPositionAt','from','splice','start','deletion','1426340SWgzir','18ODySNP','schema','isInContent','length','2116968HlHUdD','push','createRange','69eDvlWr','1228ILBSUI','isCollapsed','1744FtLBIl','isIntersecting','isMultiRange','12698ZTMZNg','541473UsLaWl','map','replace','end','next','createPositionBefore','1778262UmizMc','join','change','\x20[color\x20','929915gGrbhJ','execute','getRanges','value','createPositionAfter','isArray','isTouching','add','type','11TqRbqO','8miJNep','sort'];_0x2764=function(){return _0x537b04;};return _0x2764();}export function getSelectedSuggestions(_0x4b079b,_0xd02b38){const _0x123510=_0x4732,_0x5ccc95=Array[_0x123510(0xcf)](_0x4b079b[_0x123510(0xc1)]()),_0x1df4ba=new Set();for(const _0xf49da3 of _0xd02b38)if(_0xf49da3[_0x123510(0xd6)]){for(const _0x3a7b91 of _0x5ccc95)for(const _0x5986d5 of _0xf49da3[_0x123510(0xc1)]())(_0x3a7b91[_0x123510(0xdf)](_0x5986d5)||_0x4b079b[_0x123510(0xdd)]&&!_0xf49da3[_0x123510(0xe0)]&&_0xf49da3[_0x123510(0xb9)]&&_0x5986d5[_0x123510(0xb8)][_0x123510(0xc5)](_0x3a7b91[_0x123510(0xd1)]))&&_0x1df4ba[_0x123510(0xc6)](_0xf49da3);}return _0x1df4ba;}export function getRangesOfBlockGroups(_0x417b60,_0x452c83){const _0x16a1f0=_0x4732;let _0x1f8ba3,_0x1b0e5f=0x0;const _0x15f8ef=[],_0x1001bc=_0x452c83[_0x16a1f0(0xd5)];for(;_0x1b0e5f<_0x417b60[_0x16a1f0(0xd7)];){const _0x21646e=_0x417b60[_0x1b0e5f],_0x451bf1=_0x417b60[_0x1b0e5f+0x1];_0x1f8ba3||(_0x1f8ba3=_0x452c83[_0x16a1f0(0xba)](_0x21646e)),co(_0x452c83,_0x21646e,_0x451bf1)||(_0x15f8ef[_0x16a1f0(0xd9)](_0x452c83[_0x16a1f0(0xda)](_0x1f8ba3,_0x1001bc[_0x16a1f0(0xcb)](_0x21646e)?_0x452c83[_0x16a1f0(0xc3)](_0x21646e):_0x452c83[_0x16a1f0(0xce)](_0x21646e,_0x16a1f0(0xb8)))),_0x1f8ba3=null),_0x1b0e5f++;}return _0x15f8ef;}function co(_0x1d5d40,_0x318760,_0x578c95){const _0x53c55e=_0x4732;if(!_0x578c95)return!0x1;const _0x375a03=_0x1d5d40[_0x53c55e(0xc3)](_0x318760),_0x31a8e6=_0x1d5d40[_0x53c55e(0xba)](_0x578c95);return _0x375a03[_0x53c55e(0xc5)](_0x31a8e6);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x38cc12,_0xf36606,_0x59dc76){const _0xdb29b3=_0x4732;for(;_0x59dc76[_0xdb29b3(0xd7)];){const _0x2d397f=_0x59dc76[_0xdb29b3(0xd0)](0x0,0x64);_0x38cc12[_0xdb29b3(0xbd)](()=>{const _0x1382ea=_0xdb29b3;for(const _0x599fb7 of _0x2d397f)_0x599fb7[_0x1382ea(0xd6)]&&_0xf36606[_0x1382ea(0xc0)](_0x599fb7['id']);});}}
|