@ckeditor/ckeditor5-track-changes 43.3.0-alpha.0 → 43.3.0-alpha.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +1 -1
- package/dist/index.js +3 -3
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +10 -10
- 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/mergefields.js +1 -1
- package/src/integrations/multilevellist.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/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/ui/view/suggestionview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
package/src/trackchangesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x2afbbd=_0x40b5;(function(_0x1c4a5b,_0x499f34){const _0x45dafe=_0x40b5,_0x4035d5=_0x1c4a5b();while(!![]){try{const _0x1111c9=-parseInt(_0x45dafe(0x9d))/0x1*(-parseInt(_0x45dafe(0xe4))/0x2)+parseInt(_0x45dafe(0x8a))/0x3+-parseInt(_0x45dafe(0x89))/0x4+parseInt(_0x45dafe(0xfa))/0x5+parseInt(_0x45dafe(0x92))/0x6+-parseInt(_0x45dafe(0xb8))/0x7+parseInt(_0x45dafe(0x10e))/0x8*(parseInt(_0x45dafe(0x116))/0x9);if(_0x1111c9===_0x499f34)break;else _0x4035d5['push'](_0x4035d5['shift']());}catch(_0x3b51df){_0x4035d5['push'](_0x4035d5['shift']());}}}(_0xce26,0x639f5));import{Plugin as _0x284300}from'ckeditor5/src/core.js';import{Collection as _0x30361a}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x2cf747,createDropdown as _0x27a876,ListSeparatorView as _0x516ec2,MenuBarMenuView as _0x4498e6,MenuBarMenuListView as _0x257a78,MenuBarMenuListItemView as _0x534332,MenuBarMenuListItemButtonView as _0x3ed799,SplitButtonView as _0x13599f,ViewModel as _0x27e862}from'ckeditor5/src/ui.js';import{Users as _0x24366d,getDateTimeFormatter as _0x49ec3c,getAllMarkersDomElementsSorted as _0xda1e55}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x374b6c from'./trackchangesediting.js';function _0xce26(){const _0x2e62e8=['commentsListView','plugins','actionView','componentFactory','mainView','activeMarkers','size','getFirstRange','escape','discardAllSuggestions','commands','push','getJoined','acceptSelectedSuggestions','delete','isPremiumPlugin','buttonView','TrackChangesEditing','suggestionLoaded','head','discardButton','activeAnnotations','3277911omGDTd','hasSuggestion','locale','execute','toMany','listenTo','isEnabled','from','clear','_suggestionToController','registerAnnotation','isOfficialPlugin','Annotations','reduce','Accept\x20all\x20suggestions','comments','menuitem','discardSelectedSuggestions','length','change:activeAnnotations','createAnnotationView','innerView','getMarkers','items','suggestion-','addSourceCollector','children','isInContent','model','view','_createToolbarButton','CommentsUI','focus','addComment','set','isDirty','Accept\x20all\x20selected\x20suggestions','requires','lowest','define','_createMenuBarMenu','add','_unbindEditors','menu','2qrmWdA','_refreshActiveMarkers','Discard\x20all\x20suggestions','editing','Track\x20changes','_bindAnnotationToEditors','createAnnotation','init','_disableComments','unbind','fire','filter','getDescriptions','_annotationViews','CommentView','remove','createCommentThreadController','EditorAnnotations','trackChanges.SuggestionThreadView','_addUIComponentsToFactory','_updateController','suggestionUnloaded','188320oEQTqg','bind','editor','descriptionParts','keys','menuBar:trackChanges','isOn','SuggestionThreadView','Discard\x20all\x20selected\x20suggestions','getByInnerView','trackChanges.SuggestionView','suggestionView','arrowView','comments.maxCommentsWhenCollapsed','change:previous','previous','isMultiRange','TrackChangesUI','_handleControllerBuffer','menuitemcheckbox','61040nDwYsk','source','panelView','comments.maxCommentCharsWhenCollapsed','suggestionChanged','button','pluginName','stopListening','180vBEcpC','commentThread','getAllAdjacentSuggestions','_destroyController','separator','comments.maxThreadTotalWeight','SuggestionView','commandName','getSuggestion','has','_initializeController','152556GUTmZS','116166gJuBdu','config','CommentsRepository','acceptButton','some','trackChanges.disableComments','trackChanges','values','2629044LGRgxa','_handleSuggestionControllerDelayed','get','getRanges','type','acceptAllSuggestions','value','delegate','destroy','refreshSelectedViews','switchbutton','247305qejsCJ','getMarkerNames','descriptionFactory','_viewToController','comments.editorConfig'];_0xce26=function(){return _0x2e62e8;};return _0xce26();}import _0x47be08 from'./ui/suggestioncontroller.js';function _0x40b5(_0xe1fb1c,_0x4e7863){const _0xce2666=_0xce26();return _0x40b5=function(_0x40b5a4,_0x3e5efa){_0x40b5a4=_0x40b5a4-0x7f;let _0x2e6c27=_0xce2666[_0x40b5a4];return _0x2e6c27;},_0x40b5(_0xe1fb1c,_0x4e7863);}import _0x1c7ee3 from'./ui/view/suggestionthreadview.js';import _0x4d7c71 from'./ui/view/suggestionview.js';import{getTranslation as _0xfe148a}from'./utils/common-translations.js';import _0x305096 from'../theme/icons/track-changes.svg';export default class d extends _0x284300{static get[_0x2afbbd(0xdd)](){const _0x27802a=_0x2afbbd;return[_0x374b6c,_0x24366d,_0x27802a(0x8c),_0x27802a(0xc4),_0x27802a(0xf5)];}static get[_0x2afbbd(0x114)](){const _0x524636=_0x2afbbd;return _0x524636(0x10b);}static get[_0x2afbbd(0xc3)](){return!0x0;}static get[_0x2afbbd(0xb1)](){return!0x0;}constructor(_0x57087a){const _0x37b224=_0x2afbbd;super(_0x57087a),this[_0x37b224(0xc1)]=new Map(),this[_0x37b224(0xa0)]=new Map(),this[_0x37b224(0xf1)]=new Map(),this[_0x37b224(0x10c)]=new Map();const _0x5c5597=this[_0x37b224(0xfc)][_0x37b224(0x8b)];_0x5c5597[_0x37b224(0xdf)](_0x37b224(0xf6),_0x1c7ee3),_0x5c5597[_0x37b224(0xdf)](_0x37b224(0x104),_0x4d7c71),_0x5c5597[_0x37b224(0xdf)](_0x37b224(0x8f),!0x1),this[_0x37b224(0xec)]=_0x5c5597[_0x37b224(0x94)](_0x37b224(0x8f));}[_0x2afbbd(0x93)](_0x212a39,_0x37bc32){const _0x546d61=_0x2afbbd;0x0===this[_0x546d61(0x10c)][_0x546d61(0xa8)]&&setTimeout(()=>{const _0x43f5f3=_0x546d61;for(const [_0x5744a3,_0x5e8b2e]of this[_0x43f5f3(0x10c)]){const _0x5a7ff2=this[_0x43f5f3(0xc1)][_0x43f5f3(0x87)](_0x5744a3);_0x5a7ff2||_0x5e8b2e?_0x5a7ff2&&_0x5e8b2e&&this[_0x43f5f3(0x81)](_0x5744a3):this[_0x43f5f3(0x88)](_0x5744a3);}this[_0x43f5f3(0x10c)][_0x43f5f3(0xc0)](),this[_0x43f5f3(0xfc)][_0x43f5f3(0xa3)][_0x43f5f3(0x94)](_0x43f5f3(0xf5))[_0x43f5f3(0x9b)](),this[_0x43f5f3(0xe5)]();},0xa),this[_0x546d61(0x10c)][_0x546d61(0xda)](_0x212a39,_0x37bc32);}[_0x2afbbd(0xeb)](){const _0xd482ec=_0x2afbbd,_0x2b5a51=this[_0xd482ec(0xfc)],_0x529263=_0x2b5a51[_0xd482ec(0xa3)][_0xd482ec(0x94)](_0xd482ec(0xb3)),_0x58c455=_0x2b5a51[_0xd482ec(0xa3)][_0xd482ec(0x94)](_0xd482ec(0xc4)),_0x55be5c=_0x2b5a51[_0xd482ec(0xa3)][_0xd482ec(0x94)](_0xd482ec(0xf5)),_0x541c49=_0x2b5a51[_0xd482ec(0xa3)][_0xd482ec(0x94)](_0xd482ec(0x8c));this[_0xd482ec(0xf7)](),_0x55be5c[_0xd482ec(0xd1)](()=>{const _0xb112d4=_0xd482ec,_0x4ce614=[];for(const [_0x5c17a6,_0x121ee2]of Array[_0xb112d4(0xbf)](this[_0xb112d4(0xc1)])){const _0x16915d=_0x5c17a6[_0xb112d4(0x80)](),_0x558167=[];for(const _0x4b9a34 of _0x16915d){if(!_0x4b9a34[_0xb112d4(0xd3)])continue;if(_0x4b9a34[_0xb112d4(0x10a)]){_0x558167[_0xb112d4(0xad)](..._0x4b9a34[_0xb112d4(0x95)]());continue;}const _0x36519f=_0x4b9a34[_0xb112d4(0xa9)]();if(_0x558167[_0xb112d4(0xca)]>0x0){const _0x48f5e1=_0x558167[0x0][_0xb112d4(0xae)](_0x36519f);if(_0x48f5e1){_0x558167[0x0]=_0x48f5e1;continue;}}_0x558167[_0xb112d4(0xad)](_0x36519f);}_0x4ce614[_0xb112d4(0xad)]([_0x121ee2[_0xb112d4(0xd5)],_0x558167]);}return _0x4ce614;}),this[_0xd482ec(0xbd)](_0x529263,_0xd482ec(0xb4),(_0x7cace,_0x4f7e61)=>{const _0x22c5b6=_0xd482ec;this[_0x22c5b6(0xbd)](_0x4f7e61,_0x22c5b6(0x108),(_0x3dd980,_0x38260b,_0x4cb75d,_0x1e0841)=>{const _0x61fc79=_0x22c5b6;_0x4f7e61[_0x61fc79(0xd3)]&&(null==_0x4cb75d?(this[_0x61fc79(0xf8)](_0x1e0841[_0x61fc79(0xb5)]),this[_0x61fc79(0x93)](_0x4f7e61,!0x1)):(this[_0x61fc79(0xf8)](_0x4cb75d[_0x61fc79(0xb5)]),null==_0x1e0841&&this[_0x61fc79(0x93)](_0x4f7e61,!0x0)));}),null!==_0x4f7e61[_0x22c5b6(0x109)]?this[_0x22c5b6(0xf8)](_0x4f7e61[_0x22c5b6(0xb5)]):this[_0x22c5b6(0x93)](_0x4f7e61,!0x1);}),this[_0xd482ec(0xbd)](_0x529263,_0xd482ec(0xf9),(_0x2f4386,_0xec0d4c,_0x70c318)=>{const _0x509bef=_0xd482ec;this[_0x509bef(0x115)](_0xec0d4c,_0x509bef(0x108)),this[_0x509bef(0x10c)][_0x509bef(0xb0)](_0xec0d4c),this[_0x509bef(0xc1)][_0x509bef(0x87)](_0xec0d4c)&&this[_0x509bef(0x81)](_0xec0d4c),_0x70c318&&this[_0x509bef(0xf8)](_0x70c318[_0x509bef(0xb5)]);}),this[_0xd482ec(0xbd)](_0x529263,_0xd482ec(0x112),(_0x2a828a,_0x5cc9d6)=>{const _0x33a6cc=_0xd482ec;this[_0x33a6cc(0xf8)](_0x5cc9d6);}),this[_0xd482ec(0xbd)](_0x58c455,_0xd482ec(0xcb),()=>{const _0xfb1b46=_0xd482ec;this[_0xfb1b46(0xe5)]();}),this[_0xd482ec(0xbd)](_0x541c49,_0xd482ec(0xd9),(_0x56e4a1,{threadId:_0x574cdc,isFromAdapter:_0x1f22ef})=>{const _0xa191f1=_0xd482ec;if(_0x1f22ef||!_0x529263[_0xa191f1(0xb9)](_0x574cdc))return;const _0xd65f2c=_0x529263[_0xa191f1(0x86)](_0x574cdc);this[_0xa191f1(0xc1)][_0xa191f1(0x94)](_0xd65f2c)[_0xa191f1(0xd5)][_0xa191f1(0xa2)][_0xa191f1(0xd8)](-0x1);},{'priority':_0xd482ec(0xde)});}[_0x2afbbd(0xe5)](){const _0x43d2dd=_0x2afbbd,_0x57d0eb=this[_0x43d2dd(0xfc)][_0x43d2dd(0xa3)][_0x43d2dd(0x94)](_0x43d2dd(0xc4)),_0x3cc900=this[_0x43d2dd(0xfc)][_0x43d2dd(0xa3)][_0x43d2dd(0x94)](_0x43d2dd(0xb3)),_0x23eea7=Array[_0x43d2dd(0xbf)](_0x57d0eb[_0x43d2dd(0xb7)],_0x1c899e=>_0x1c899e[_0x43d2dd(0xcd)])[_0x43d2dd(0xef)](_0xe5ab29=>this[_0x43d2dd(0xa0)][_0x43d2dd(0x87)](_0xe5ab29)),_0x57e5d8=[];for(const _0xedb597 of _0x23eea7){const _0x2491b1=this[_0x43d2dd(0xa0)][_0x43d2dd(0x94)](_0xedb597)[_0x43d2dd(0xd4)][_0x43d2dd(0x80)]();_0x57e5d8[_0x43d2dd(0xad)](..._0x2491b1[_0x43d2dd(0xc5)]((_0x41a4d5,_0x2c6273)=>[..._0x41a4d5,..._0x2c6273[_0x43d2dd(0x9e)]()],[]));}_0x3cc900[_0x43d2dd(0xa7)]=_0x57e5d8;}[_0x2afbbd(0xf7)](){const _0x4c473b=_0x2afbbd,_0x4d1d2c=this[_0x4c473b(0xfc)],_0x52e103=_0x4d1d2c[_0x4c473b(0xba)],_0x262ae9=_0xfe148a(_0x52e103,_0x4c473b(0xe8)),_0x535da9=new _0x30361a([{'type':_0x4c473b(0x9c),'model':new _0x27e862({'withText':!0x0,'isToggleable':!0x0,'label':_0x262ae9,'commandName':_0x4c473b(0x90),'role':_0x4c473b(0x10d)})},{'type':_0x4c473b(0x82)},{'type':_0x4c473b(0x113),'model':new _0x27e862({'withText':!0x0,'label':_0xfe148a(_0x52e103,_0x4c473b(0xc6)),'commandName':_0x4c473b(0x97),'role':_0x4c473b(0xc8)})},{'type':_0x4c473b(0x113),'model':new _0x27e862({'withText':!0x0,'label':_0xfe148a(_0x52e103,_0x4c473b(0xdc)),'commandName':_0x4c473b(0xaf),'role':_0x4c473b(0xc8)})},{'type':_0x4c473b(0x113),'model':new _0x27e862({'withText':!0x0,'label':_0xfe148a(_0x52e103,_0x4c473b(0xe6)),'commandName':_0x4c473b(0xab),'role':_0x4c473b(0xc8)})},{'type':_0x4c473b(0x113),'model':new _0x27e862({'withText':!0x0,'label':_0xfe148a(_0x52e103,_0x4c473b(0x102)),'commandName':_0x4c473b(0xc9),'role':_0x4c473b(0xc8)})}]);for(const _0x1e0448 of _0x535da9)if(me(_0x1e0448)){const _0xb64eda=_0x4d1d2c[_0x4c473b(0xac)][_0x4c473b(0x94)](_0x1e0448[_0x4c473b(0xd4)][_0x4c473b(0x85)]);_0x1e0448[_0x4c473b(0xd4)][_0x4c473b(0xfb)](_0x4c473b(0x100),_0x4c473b(0xbe))['to'](_0xb64eda,_0x4c473b(0x98),_0x4c473b(0xbe));}_0x4d1d2c['ui'][_0x4c473b(0xa5)][_0x4c473b(0xe1)](_0x4c473b(0x90),_0x38d55b=>this[_0x4c473b(0xd6)](_0x38d55b,_0x535da9,_0x262ae9)),_0x4d1d2c['ui'][_0x4c473b(0xa5)][_0x4c473b(0xe1)](_0x4c473b(0xff),_0x300d39=>this[_0x4c473b(0xe0)](_0x300d39,_0x535da9,_0x262ae9));}[_0x2afbbd(0xd6)](_0x36f0ba,_0x543ec8,_0x63e53){const _0x3f36c9=_0x2afbbd,_0x59a2b8=_0x27a876(_0x36f0ba,_0x13599f),_0x3659e5=this[_0x3f36c9(0xfc)][_0x3f36c9(0xac)][_0x3f36c9(0x94)](_0x3f36c9(0x90));_0x59a2b8[_0x3f36c9(0xb2)][_0x3f36c9(0xda)]({'tooltip':_0x63e53,'label':_0x63e53,'icon':_0x305096}),_0x59a2b8[_0x3f36c9(0xb2)][_0x3f36c9(0xfb)](_0x3f36c9(0x100))['to'](_0x3659e5,_0x3f36c9(0x98)),_0x59a2b8[_0x3f36c9(0xb2)]['on'](_0x3f36c9(0xbb),()=>{const _0x4ed903=_0x3f36c9;_0x3659e5[_0x4ed903(0xbb)](),this[_0x4ed903(0xfc)][_0x4ed903(0xe7)][_0x4ed903(0xd5)][_0x4ed903(0xd8)]();}),_0x2cf747(_0x59a2b8,_0x543ec8,{'role':_0x3f36c9(0xe3)});const _0x567151=[];for(const _0x2175cb of _0x543ec8)me(_0x2175cb)&&_0x567151[_0x3f36c9(0xad)](this[_0x3f36c9(0xfc)][_0x3f36c9(0xac)][_0x3f36c9(0x94)](_0x2175cb[_0x3f36c9(0xd4)][_0x3f36c9(0x85)]));const _0x2565b3=_0x59a2b8[_0x3f36c9(0xb2)];return _0x2565b3[_0x3f36c9(0xa4)][_0x3f36c9(0xed)](_0x3f36c9(0xbe)),_0x2565b3[_0x3f36c9(0x106)][_0x3f36c9(0xed)](_0x3f36c9(0xbe)),_0x2565b3[_0x3f36c9(0xa4)][_0x3f36c9(0xfb)](_0x3f36c9(0xbe))['to'](_0x3659e5,_0x3f36c9(0xbe)),_0x2565b3[_0x3f36c9(0x106)][_0x3f36c9(0xfb)](_0x3f36c9(0xbe))[_0x3f36c9(0xbc)](_0x567151,_0x3f36c9(0xbe),(..._0x19bfde)=>_0x19bfde[_0x3f36c9(0x8e)](_0x3d1a58=>_0x3d1a58)),_0x59a2b8['on'](_0x3f36c9(0xbb),_0x21723d=>{const _0x323138=_0x3f36c9;this[_0x323138(0xfc)][_0x323138(0xbb)](_0x21723d[_0x323138(0x10f)][_0x323138(0x85)]),this[_0x323138(0xfc)][_0x323138(0xe7)][_0x323138(0xd5)][_0x323138(0xd8)]();}),_0x59a2b8;}[_0x2afbbd(0xe0)](_0x3f70b6,_0x4d164e,_0x181ad0){const _0x4d71c2=_0x2afbbd,_0x4c8b82=new _0x4498e6(_0x3f70b6),_0x2e5773=this[_0x4d71c2(0xfc)][_0x4d71c2(0xac)][_0x4d71c2(0x94)](_0x4d71c2(0x90));_0x4c8b82[_0x4d71c2(0xb2)][_0x4d71c2(0xda)]({'label':_0x181ad0,'icon':_0x305096});const _0x2051cb=new _0x257a78(_0x3f70b6);for(const _0x3fe1f6 of _0x4d164e){if(_0x4d71c2(0x82)==_0x3fe1f6[_0x4d71c2(0x96)]){_0x2051cb[_0x4d71c2(0xcf)][_0x4d71c2(0xe1)](new _0x516ec2(_0x3f70b6));continue;}const _0xd6f231=new _0x534332(_0x3f70b6,_0x4c8b82),_0x3c1b7e=new _0x3ed799(_0x3f70b6),_0xc414b6=_0x3fe1f6[_0x4d71c2(0xd4)];_0x3c1b7e[_0x4d71c2(0xfb)](...Object[_0x4d71c2(0xfe)](_0xc414b6))['to'](_0xc414b6),_0x3c1b7e[_0x4d71c2(0x99)](_0x4d71c2(0xbb))['to'](_0x4c8b82),_0x3c1b7e['on'](_0x4d71c2(0xbb),()=>{const _0x2b9b8b=_0x4d71c2;this[_0x2b9b8b(0xfc)][_0x2b9b8b(0xbb)](_0xc414b6[_0x2b9b8b(0x85)]),this[_0x2b9b8b(0xfc)][_0x2b9b8b(0xe7)][_0x2b9b8b(0xd5)][_0x2b9b8b(0xd8)]();}),_0xd6f231[_0x4d71c2(0xd2)][_0x4d71c2(0xe1)](_0x3c1b7e),_0x2051cb[_0x4d71c2(0xcf)][_0x4d71c2(0xe1)](_0xd6f231);}return _0x4c8b82[_0x4d71c2(0xfb)](_0x4d71c2(0xbe))['to'](_0x2e5773,_0x4d71c2(0xbe)),_0x4c8b82[_0x4d71c2(0x110)][_0x4d71c2(0xd2)][_0x4d71c2(0xe1)](_0x2051cb),_0x4c8b82;}[_0x2afbbd(0x88)](_0x1a71af){const _0x3824d5=_0x2afbbd,_0x489db4=this[_0x3824d5(0xfc)],_0x2163c9=_0x489db4[_0x3824d5(0x8b)],_0xd58574=_0x489db4[_0x3824d5(0xa3)][_0x3824d5(0x94)](_0x3824d5(0xc4)),_0x4eda74=_0x489db4[_0x3824d5(0xa3)][_0x3824d5(0x94)](_0x3824d5(0x8c)),_0x99b946=_0x489db4[_0x3824d5(0xa3)][_0x3824d5(0x94)](_0x3824d5(0xf5)),_0x43d35b=_0x489db4[_0x3824d5(0xa3)][_0x3824d5(0x94)](_0x24366d)['me'],_0x316244=_0x2163c9[_0x3824d5(0x94)](_0x3824d5(0x90))[_0x3824d5(0x101)],_0x26e76e=_0x2163c9[_0x3824d5(0x94)](_0x3824d5(0x90))[_0x3824d5(0x84)],{CommentsListView:_0x572d86,CommentThreadInputView:_0x18a9a7}=_0x489db4[_0x3824d5(0xa3)][_0x3824d5(0x94)](_0x3824d5(0xd7));let _0x150dae,_0xde0f89,_0x1a73c7;this[_0x3824d5(0xf1)][_0x3824d5(0x87)](_0x1a71af['id'])?(_0xde0f89=this[_0x3824d5(0xf1)][_0x3824d5(0x94)](_0x1a71af['id']),_0x150dae=_0xde0f89[_0x3824d5(0xa6)]):(_0x150dae=new _0x316244(_0x489db4[_0x3824d5(0xba)],_0x1a71af,_0x43d35b,{'disableComments':this[_0x3824d5(0xec)],'editorConfig':_0x2163c9[_0x3824d5(0x94)](_0x3824d5(0xa1)),'maxCommentsWhenCollapsed':_0x2163c9[_0x3824d5(0x94)](_0x3824d5(0x107)),'maxThreadTotalWeight':_0x2163c9[_0x3824d5(0x94)](_0x3824d5(0x83)),'maxCommentCharsWhenCollapsed':_0x2163c9[_0x3824d5(0x94)](_0x3824d5(0x111)),'formatDateTime':_0x49ec3c(_0x2163c9[_0x3824d5(0x94)](_0x3824d5(0xba))),'CommentView':_0x2163c9[_0x3824d5(0x94)](_0x3824d5(0xc7))[_0x3824d5(0xf2)],'CommentsListView':_0x572d86,'CommentThreadInputView':_0x18a9a7,'SuggestionView':_0x26e76e}),_0x150dae[_0x3824d5(0x105)][_0x3824d5(0x8d)]['on'](_0x3824d5(0xbb),()=>{const _0x33ec7e=_0x3824d5;_0x489db4[_0x33ec7e(0xe7)][_0x33ec7e(0xd5)][_0x33ec7e(0xd8)]();}),_0x150dae[_0x3824d5(0x105)][_0x3824d5(0xb6)]['on'](_0x3824d5(0xbb),()=>{const _0x49f008=_0x3824d5;_0x489db4[_0x49f008(0xe7)][_0x49f008(0xd5)][_0x49f008(0xd8)]();}),_0xde0f89=_0xd58574[_0x3824d5(0xcc)](this[_0x3824d5(0xfc)][_0x3824d5(0xba)],_0x150dae),_0xde0f89[_0x3824d5(0xfb)](_0x3824d5(0xdb))['to'](_0x150dae,_0x3824d5(0xdb)),_0xde0f89[_0x3824d5(0xfb)](_0x3824d5(0xca))['to'](_0x150dae),_0xde0f89[_0x3824d5(0xfb)](_0x3824d5(0x96))['to'](_0x150dae,_0x3824d5(0x96),_0x539a46=>_0x3824d5(0xd0)+_0x539a46),_0x150dae['on'](_0x3824d5(0xaa),()=>{const _0x44db49=_0x3824d5;_0x1a73c7[_0x44db49(0xee)](_0x44db49(0xaa));}),this[_0x3824d5(0xf1)][_0x3824d5(0xda)](_0x1a71af['id'],_0xde0f89));const _0x269848=_0x4eda74[_0x3824d5(0xf4)](_0x1a71af[_0x3824d5(0x7f)],_0x150dae),_0x36a18c=new _0x47be08(_0x489db4,_0x1a71af,_0x150dae,_0x269848),_0x37900b=_0x1a71af[_0x3824d5(0x80)]()[_0x3824d5(0xef)](_0x385572=>_0x385572[_0x3824d5(0xd3)]);_0x150dae[_0x3824d5(0xfd)]=_0x489db4[_0x3824d5(0xa3)][_0x3824d5(0x94)](_0x3824d5(0xb3))[_0x3824d5(0x9f)][_0x3824d5(0xf0)](_0x37900b),this[_0x3824d5(0xc1)][_0x3824d5(0xda)](_0x1a71af,_0x36a18c),this[_0x3824d5(0xa0)][_0x3824d5(0xda)](_0x150dae,_0x36a18c),_0x1a73c7=_0xd58574[_0x3824d5(0xea)]({'view':_0xde0f89,'target':()=>{const _0x375f05=_0x3824d5,_0x5425cc=[],_0x23773b=_0x1a71af[_0x375f05(0x80)]()[_0x375f05(0xef)](_0x5894b0=>_0x5894b0[_0x375f05(0xd3)]);for(const _0x12f68b of _0x23773b)_0x5425cc[_0x375f05(0xad)](..._0x12f68b[_0x375f05(0xce)]());return _0xda1e55(_0x489db4[_0x375f05(0xe7)],_0x5425cc);},'type':()=>_0x3824d5(0xd0)+_0x36a18c[_0x3824d5(0xd5)][_0x3824d5(0x96)]}),_0x4eda74[_0x3824d5(0xe9)](_0x150dae,_0x1a73c7),_0xd58574[_0x3824d5(0xe1)](_0x1a73c7),_0x99b946[_0x3824d5(0xc2)](_0x1a73c7);}[_0x2afbbd(0x81)](_0x184932){const _0x1e1253=_0x2afbbd,_0x3eb2b4=this[_0x1e1253(0xfc)][_0x1e1253(0xa3)][_0x1e1253(0x94)](_0x1e1253(0x8c)),_0x51f2d1=this[_0x1e1253(0xfc)][_0x1e1253(0xa3)][_0x1e1253(0x94)](_0x1e1253(0xc4)),_0x5ca42e=this[_0x1e1253(0xc1)][_0x1e1253(0x94)](_0x184932),_0x1f6687=_0x5ca42e[_0x1e1253(0xd5)],_0x24db47=_0x51f2d1[_0x1e1253(0x103)](_0x1f6687);_0x3eb2b4[_0x1e1253(0xe2)](_0x1f6687),_0x24db47&&_0x51f2d1[_0x1e1253(0xf3)](_0x24db47),this[_0x1e1253(0xc1)][_0x1e1253(0xb0)](_0x184932),this[_0x1e1253(0xa0)][_0x1e1253(0xb0)](_0x1f6687),_0x5ca42e[_0x1e1253(0x9a)]();}[_0x2afbbd(0xf8)](_0x185519){const _0x252c5e=_0x2afbbd;if(!_0x185519[_0x252c5e(0xd3)]||!this[_0x252c5e(0xc1)][_0x252c5e(0x87)](_0x185519))return;const _0x1f7fc2=this[_0x252c5e(0xfc)][_0x252c5e(0xa3)][_0x252c5e(0x94)](_0x252c5e(0xb3)),_0xa20635=this[_0x252c5e(0xc1)][_0x252c5e(0x94)](_0x185519),_0x2d7832=_0x185519[_0x252c5e(0x80)]();_0xa20635[_0x252c5e(0xd5)][_0x252c5e(0xfd)]=_0x1f7fc2[_0x252c5e(0x9f)][_0x252c5e(0xf0)](_0x2d7832);}[_0x2afbbd(0x9a)](){const _0x428bcb=_0x2afbbd;for(const _0x4f2379 of this[_0x428bcb(0xc1)][_0x428bcb(0xfe)]())this[_0x428bcb(0x81)](_0x4f2379);for(const _0x2aeeea of this[_0x428bcb(0xf1)][_0x428bcb(0x91)]())_0x2aeeea[_0x428bcb(0xa6)][_0x428bcb(0x9a)]();super[_0x428bcb(0x9a)]();}}function me(_0x609413){const _0x3ee44e=_0x2afbbd;return _0x3ee44e(0xd4)in _0x609413;}
|
|
23
|
+
const _0x555ec4=_0x16bc;(function(_0x252497,_0x4ab3e9){const _0x1924ce=_0x16bc,_0x33fa12=_0x252497();while(!![]){try{const _0x2823ad=-parseInt(_0x1924ce(0xb8))/0x1*(-parseInt(_0x1924ce(0x12b))/0x2)+-parseInt(_0x1924ce(0x11c))/0x3*(parseInt(_0x1924ce(0xd8))/0x4)+parseInt(_0x1924ce(0xc7))/0x5+parseInt(_0x1924ce(0xdd))/0x6+parseInt(_0x1924ce(0xe2))/0x7*(parseInt(_0x1924ce(0xdf))/0x8)+-parseInt(_0x1924ce(0xd1))/0x9+-parseInt(_0x1924ce(0x13b))/0xa*(parseInt(_0x1924ce(0xc6))/0xb);if(_0x2823ad===_0x4ab3e9)break;else _0x33fa12['push'](_0x33fa12['shift']());}catch(_0x40ea23){_0x33fa12['push'](_0x33fa12['shift']());}}}(_0x1bda,0x61610));import{Plugin as _0x58570b}from'ckeditor5/src/core.js';import{Collection as _0x141fac}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x19288d,createDropdown as _0x221214,ListSeparatorView as _0x278524,MenuBarMenuView as _0x5e6e99,MenuBarMenuListView as _0x2c14d6,MenuBarMenuListItemView as _0x394ca6,MenuBarMenuListItemButtonView as _0x3cb7a7,SplitButtonView as _0x380d18,ViewModel as _0x28b2be}from'ckeditor5/src/ui.js';function _0x1bda(){const _0x3acf4a=['discardAllSuggestions','registerAnnotation','some','getDescriptions','hasSuggestion','execute','separator','comments.maxCommentCharsWhenCollapsed','262MtOetY','add','_disableComments','EditorAnnotations','escape','_handleSuggestionControllerDelayed','_unbindEditors','source','suggestion-','bind','suggestionUnloaded','isOfficialPlugin','delete','switchbutton','define','_destroyController','226890qVCBwF','items','head','acceptAllSuggestions','init','getJoined','push','type','_viewToController','descriptionParts','suggestionChanged','comments','_addUIComponentsToFactory','actionView','acceptSelectedSuggestions','createCommentThreadController','isMultiRange','isPremiumPlugin','menuBar:trackChanges','_handleControllerBuffer','filter','size','reduce','4897FpMiqH','componentFactory','config','activeAnnotations','_suggestionToController','children','Discard\x20all\x20selected\x20suggestions','Accept\x20all\x20selected\x20suggestions','getAllAdjacentSuggestions','toMany','getMarkerNames','set','addSourceCollector','isEnabled','110TGZVvb','938080TZyAFX','mainView','isDirty','trackChanges.SuggestionThreadView','_refreshActiveMarkers','panelView','getRanges','acceptButton','clear','_bindAnnotationToEditors','5635116rdyVgo','commentThread','locale','discardSelectedSuggestions','arrowView','addComment','unbind','5100bfCEKO','SuggestionThreadView','createAnnotationView','refreshSelectedViews','menu','2010174vCpnRS','descriptionFactory','30048FJoMTg','menuitem','menuitemcheckbox','672dbUzdB','change:previous','lowest','_createMenuBarMenu','_updateController','Discard\x20all\x20suggestions','button','trackChanges','discardButton','editing','model','commentsListView','activeMarkers','destroy','CommentsRepository','trackChanges.disableComments','buttonView','SuggestionView','_initializeController','value','commandName','CommentView','remove','getMarkers','pluginName','_createToolbarButton','has','Annotations','delegate','commands','innerView','_annotationViews','get','stopListening','comments.editorConfig','getFirstRange','listenTo','from','suggestionLoaded','editor','suggestionView','isInContent','createAnnotation','comments.maxCommentsWhenCollapsed','TrackChangesUI','previous','change:activeAnnotations','getByInnerView','getSuggestion','keys','length','Accept\x20all\x20suggestions','values','CommentsUI','focus','isOn','view','plugins','642oBdOSi','Track\x20changes','fire','requires','comments.maxThreadTotalWeight','trackChanges.SuggestionView','TrackChangesEditing'];_0x1bda=function(){return _0x3acf4a;};return _0x1bda();}import{Users as _0x31bc68,getDateTimeFormatter as _0x1115c1,getAllMarkersDomElementsSorted as _0x12d024}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x5ded1e from'./trackchangesediting.js';import _0xa20566 from'./ui/suggestioncontroller.js';import _0xb96697 from'./ui/view/suggestionthreadview.js';import _0x42afd6 from'./ui/view/suggestionview.js';import{getTranslation as _0x43a715}from'./utils/common-translations.js';import _0x3804de from'../theme/icons/track-changes.svg';export default class d extends _0x58570b{static get[_0x555ec4(0x11f)](){const _0x48b60d=_0x555ec4;return[_0x5ded1e,_0x31bc68,_0x48b60d(0xf0),_0x48b60d(0xfd),_0x48b60d(0x12e)];}static get[_0x555ec4(0xfa)](){const _0x580d8f=_0x555ec4;return _0x580d8f(0x10e);}static get[_0x555ec4(0x136)](){return!0x0;}static get[_0x555ec4(0x14c)](){return!0x0;}constructor(_0x3e0634){const _0x3d018e=_0x555ec4;super(_0x3e0634),this[_0x3d018e(0xbc)]=new Map(),this[_0x3d018e(0x143)]=new Map(),this[_0x3d018e(0x101)]=new Map(),this[_0x3d018e(0xb4)]=new Map();const _0x219c68=this[_0x3d018e(0x109)][_0x3d018e(0xba)];_0x219c68[_0x3d018e(0x139)](_0x3d018e(0xca),_0xb96697),_0x219c68[_0x3d018e(0x139)](_0x3d018e(0x121),_0x42afd6),_0x219c68[_0x3d018e(0x139)](_0x3d018e(0xf1),!0x1),this[_0x3d018e(0x12d)]=_0x219c68[_0x3d018e(0x102)](_0x3d018e(0xf1));}[_0x555ec4(0x130)](_0x27f930,_0xffb40c){const _0x476fd9=_0x555ec4;0x0===this[_0x476fd9(0xb4)][_0x476fd9(0xb6)]&&setTimeout(()=>{const _0xf40c31=_0x476fd9;for(const [_0x1bd8d6,_0x1b33d0]of this[_0xf40c31(0xb4)]){const _0x226246=this[_0xf40c31(0xbc)][_0xf40c31(0xfc)](_0x1bd8d6);_0x226246||_0x1b33d0?_0x226246&&_0x1b33d0&&this[_0xf40c31(0x13a)](_0x1bd8d6):this[_0xf40c31(0xf4)](_0x1bd8d6);}this[_0xf40c31(0xb4)][_0xf40c31(0xcf)](),this[_0xf40c31(0x109)][_0xf40c31(0x11b)][_0xf40c31(0x102)](_0xf40c31(0x12e))[_0xf40c31(0xdb)](),this[_0xf40c31(0xcb)]();},0xa),this[_0x476fd9(0xb4)][_0x476fd9(0xc3)](_0x27f930,_0xffb40c);}[_0x555ec4(0x13f)](){const _0x282e6b=_0x555ec4,_0x598d52=this[_0x282e6b(0x109)],_0x367053=_0x598d52[_0x282e6b(0x11b)][_0x282e6b(0x102)](_0x282e6b(0x122)),_0x20a114=_0x598d52[_0x282e6b(0x11b)][_0x282e6b(0x102)](_0x282e6b(0xfd)),_0xf971a1=_0x598d52[_0x282e6b(0x11b)][_0x282e6b(0x102)](_0x282e6b(0x12e)),_0x37f6aa=_0x598d52[_0x282e6b(0x11b)][_0x282e6b(0x102)](_0x282e6b(0xf0));this[_0x282e6b(0x147)](),_0xf971a1[_0x282e6b(0xc4)](()=>{const _0x5f1643=_0x282e6b,_0x1ac870=[];for(const [_0x2a520c,_0x3c6c41]of Array[_0x5f1643(0x107)](this[_0x5f1643(0xbc)])){const _0x11a7df=_0x2a520c[_0x5f1643(0xc0)](),_0x603a06=[];for(const _0x3f4781 of _0x11a7df){if(!_0x3f4781[_0x5f1643(0x10b)])continue;if(_0x3f4781[_0x5f1643(0x14b)]){_0x603a06[_0x5f1643(0x141)](..._0x3f4781[_0x5f1643(0xcd)]());continue;}const _0x3fe7bd=_0x3f4781[_0x5f1643(0x105)]();if(_0x603a06[_0x5f1643(0x114)]>0x0){const _0x2cf7a0=_0x603a06[0x0][_0x5f1643(0x140)](_0x3fe7bd);if(_0x2cf7a0){_0x603a06[0x0]=_0x2cf7a0;continue;}}_0x603a06[_0x5f1643(0x141)](_0x3fe7bd);}_0x1ac870[_0x5f1643(0x141)]([_0x3c6c41[_0x5f1643(0x11a)],_0x603a06]);}return _0x1ac870;}),this[_0x282e6b(0x106)](_0x367053,_0x282e6b(0x108),(_0x25a9a2,_0x4347fd)=>{const _0x4fd246=_0x282e6b;this[_0x4fd246(0x106)](_0x4347fd,_0x4fd246(0xe3),(_0x4e75c4,_0x4cc973,_0x488cbf,_0xf2ca4c)=>{const _0x900faf=_0x4fd246;_0x4347fd[_0x900faf(0x10b)]&&(null==_0x488cbf?(this[_0x900faf(0xe6)](_0xf2ca4c[_0x900faf(0x13d)]),this[_0x900faf(0x130)](_0x4347fd,!0x1)):(this[_0x900faf(0xe6)](_0x488cbf[_0x900faf(0x13d)]),null==_0xf2ca4c&&this[_0x900faf(0x130)](_0x4347fd,!0x0)));}),null!==_0x4347fd[_0x4fd246(0x10f)]?this[_0x4fd246(0xe6)](_0x4347fd[_0x4fd246(0x13d)]):this[_0x4fd246(0x130)](_0x4347fd,!0x1);}),this[_0x282e6b(0x106)](_0x367053,_0x282e6b(0x135),(_0x38136e,_0x23554f,_0x599cf8)=>{const _0x3c35f3=_0x282e6b;this[_0x3c35f3(0x103)](_0x23554f,_0x3c35f3(0xe3)),this[_0x3c35f3(0xb4)][_0x3c35f3(0x137)](_0x23554f),this[_0x3c35f3(0xbc)][_0x3c35f3(0xfc)](_0x23554f)&&this[_0x3c35f3(0x13a)](_0x23554f),_0x599cf8&&this[_0x3c35f3(0xe6)](_0x599cf8[_0x3c35f3(0x13d)]);}),this[_0x282e6b(0x106)](_0x367053,_0x282e6b(0x145),(_0x3b0513,_0x566056)=>{const _0x12ab58=_0x282e6b;this[_0x12ab58(0xe6)](_0x566056);}),this[_0x282e6b(0x106)](_0x20a114,_0x282e6b(0x110),()=>{const _0x2cd265=_0x282e6b;this[_0x2cd265(0xcb)]();}),this[_0x282e6b(0x106)](_0x37f6aa,_0x282e6b(0xd6),(_0x589cff,{threadId:_0x42366a,isFromAdapter:_0x37a743})=>{const _0x30d5aa=_0x282e6b;if(_0x37a743||!_0x367053[_0x30d5aa(0x127)](_0x42366a))return;const _0x1975bc=_0x367053[_0x30d5aa(0x112)](_0x42366a);this[_0x30d5aa(0xbc)][_0x30d5aa(0x102)](_0x1975bc)[_0x30d5aa(0x11a)][_0x30d5aa(0xed)][_0x30d5aa(0x118)](-0x1);},{'priority':_0x282e6b(0xe4)});}[_0x555ec4(0xcb)](){const _0x24155c=_0x555ec4,_0x750767=this[_0x24155c(0x109)][_0x24155c(0x11b)][_0x24155c(0x102)](_0x24155c(0xfd)),_0x336a4f=this[_0x24155c(0x109)][_0x24155c(0x11b)][_0x24155c(0x102)](_0x24155c(0x122)),_0x210fed=Array[_0x24155c(0x107)](_0x750767[_0x24155c(0xbb)],_0x578787=>_0x578787[_0x24155c(0x100)])[_0x24155c(0xb5)](_0x29edb3=>this[_0x24155c(0x143)][_0x24155c(0xfc)](_0x29edb3)),_0x24ea4a=[];for(const _0x264566 of _0x210fed){const _0x4a56ca=this[_0x24155c(0x143)][_0x24155c(0x102)](_0x264566)[_0x24155c(0xec)][_0x24155c(0xc0)]();_0x24ea4a[_0x24155c(0x141)](..._0x4a56ca[_0x24155c(0xb7)]((_0x344b05,_0x1a90a9)=>[..._0x344b05,..._0x1a90a9[_0x24155c(0xc2)]()],[]));}_0x336a4f[_0x24155c(0xee)]=_0x24ea4a;}[_0x555ec4(0x147)](){const _0x35af3f=_0x555ec4,_0x50b7c7=this[_0x35af3f(0x109)],_0x4e2867=_0x50b7c7[_0x35af3f(0xd3)],_0x567946=_0x43a715(_0x4e2867,_0x35af3f(0x11d)),_0x513afe=new _0x141fac([{'type':_0x35af3f(0x138),'model':new _0x28b2be({'withText':!0x0,'isToggleable':!0x0,'label':_0x567946,'commandName':_0x35af3f(0xe9),'role':_0x35af3f(0xe1)})},{'type':_0x35af3f(0x129)},{'type':_0x35af3f(0xe8),'model':new _0x28b2be({'withText':!0x0,'label':_0x43a715(_0x4e2867,_0x35af3f(0x115)),'commandName':_0x35af3f(0x13e),'role':_0x35af3f(0xe0)})},{'type':_0x35af3f(0xe8),'model':new _0x28b2be({'withText':!0x0,'label':_0x43a715(_0x4e2867,_0x35af3f(0xbf)),'commandName':_0x35af3f(0x149),'role':_0x35af3f(0xe0)})},{'type':_0x35af3f(0xe8),'model':new _0x28b2be({'withText':!0x0,'label':_0x43a715(_0x4e2867,_0x35af3f(0xe7)),'commandName':_0x35af3f(0x123),'role':_0x35af3f(0xe0)})},{'type':_0x35af3f(0xe8),'model':new _0x28b2be({'withText':!0x0,'label':_0x43a715(_0x4e2867,_0x35af3f(0xbe)),'commandName':_0x35af3f(0xd4),'role':_0x35af3f(0xe0)})}]);for(const _0x18f173 of _0x513afe)if(me(_0x18f173)){const _0x27596f=_0x50b7c7[_0x35af3f(0xff)][_0x35af3f(0x102)](_0x18f173[_0x35af3f(0xec)][_0x35af3f(0xf6)]);_0x18f173[_0x35af3f(0xec)][_0x35af3f(0x134)](_0x35af3f(0x119),_0x35af3f(0xc5))['to'](_0x27596f,_0x35af3f(0xf5),_0x35af3f(0xc5));}_0x50b7c7['ui'][_0x35af3f(0xb9)][_0x35af3f(0x12c)](_0x35af3f(0xe9),_0x440810=>this[_0x35af3f(0xfb)](_0x440810,_0x513afe,_0x567946)),_0x50b7c7['ui'][_0x35af3f(0xb9)][_0x35af3f(0x12c)](_0x35af3f(0x14d),_0x2559c2=>this[_0x35af3f(0xe5)](_0x2559c2,_0x513afe,_0x567946));}[_0x555ec4(0xfb)](_0x23bc81,_0x11a689,_0x46466e){const _0x2d49c2=_0x555ec4,_0x15bd98=_0x221214(_0x23bc81,_0x380d18),_0x446f02=this[_0x2d49c2(0x109)][_0x2d49c2(0xff)][_0x2d49c2(0x102)](_0x2d49c2(0xe9));_0x15bd98[_0x2d49c2(0xf2)][_0x2d49c2(0xc3)]({'tooltip':_0x46466e,'label':_0x46466e,'icon':_0x3804de}),_0x15bd98[_0x2d49c2(0xf2)][_0x2d49c2(0x134)](_0x2d49c2(0x119))['to'](_0x446f02,_0x2d49c2(0xf5)),_0x15bd98[_0x2d49c2(0xf2)]['on'](_0x2d49c2(0x128),()=>{const _0x4bd346=_0x2d49c2;_0x446f02[_0x4bd346(0x128)](),this[_0x4bd346(0x109)][_0x4bd346(0xeb)][_0x4bd346(0x11a)][_0x4bd346(0x118)]();}),_0x19288d(_0x15bd98,_0x11a689,{'role':_0x2d49c2(0xdc)});const _0x491048=[];for(const _0x5c5d8f of _0x11a689)me(_0x5c5d8f)&&_0x491048[_0x2d49c2(0x141)](this[_0x2d49c2(0x109)][_0x2d49c2(0xff)][_0x2d49c2(0x102)](_0x5c5d8f[_0x2d49c2(0xec)][_0x2d49c2(0xf6)]));const _0x55db32=_0x15bd98[_0x2d49c2(0xf2)];return _0x55db32[_0x2d49c2(0x148)][_0x2d49c2(0xd7)](_0x2d49c2(0xc5)),_0x55db32[_0x2d49c2(0xd5)][_0x2d49c2(0xd7)](_0x2d49c2(0xc5)),_0x55db32[_0x2d49c2(0x148)][_0x2d49c2(0x134)](_0x2d49c2(0xc5))['to'](_0x446f02,_0x2d49c2(0xc5)),_0x55db32[_0x2d49c2(0xd5)][_0x2d49c2(0x134)](_0x2d49c2(0xc5))[_0x2d49c2(0xc1)](_0x491048,_0x2d49c2(0xc5),(..._0x50f799)=>_0x50f799[_0x2d49c2(0x125)](_0x314c1e=>_0x314c1e)),_0x15bd98['on'](_0x2d49c2(0x128),_0x7b24dc=>{const _0x4c95d7=_0x2d49c2;this[_0x4c95d7(0x109)][_0x4c95d7(0x128)](_0x7b24dc[_0x4c95d7(0x132)][_0x4c95d7(0xf6)]),this[_0x4c95d7(0x109)][_0x4c95d7(0xeb)][_0x4c95d7(0x11a)][_0x4c95d7(0x118)]();}),_0x15bd98;}[_0x555ec4(0xe5)](_0x56fa08,_0x39df84,_0x358515){const _0x34bb41=_0x555ec4,_0x2d0bb8=new _0x5e6e99(_0x56fa08),_0x8f7caa=this[_0x34bb41(0x109)][_0x34bb41(0xff)][_0x34bb41(0x102)](_0x34bb41(0xe9));_0x2d0bb8[_0x34bb41(0xf2)][_0x34bb41(0xc3)]({'label':_0x358515,'icon':_0x3804de});const _0x20e61b=new _0x2c14d6(_0x56fa08);for(const _0x1af4b3 of _0x39df84){if(_0x34bb41(0x129)==_0x1af4b3[_0x34bb41(0x142)]){_0x20e61b[_0x34bb41(0x13c)][_0x34bb41(0x12c)](new _0x278524(_0x56fa08));continue;}const _0x1eaedc=new _0x394ca6(_0x56fa08,_0x2d0bb8),_0xc92a08=new _0x3cb7a7(_0x56fa08),_0x3a8391=_0x1af4b3[_0x34bb41(0xec)];_0xc92a08[_0x34bb41(0x134)](...Object[_0x34bb41(0x113)](_0x3a8391))['to'](_0x3a8391),_0xc92a08[_0x34bb41(0xfe)](_0x34bb41(0x128))['to'](_0x2d0bb8),_0xc92a08['on'](_0x34bb41(0x128),()=>{const _0x2582ce=_0x34bb41;this[_0x2582ce(0x109)][_0x2582ce(0x128)](_0x3a8391[_0x2582ce(0xf6)]),this[_0x2582ce(0x109)][_0x2582ce(0xeb)][_0x2582ce(0x11a)][_0x2582ce(0x118)]();}),_0x1eaedc[_0x34bb41(0xbd)][_0x34bb41(0x12c)](_0xc92a08),_0x20e61b[_0x34bb41(0x13c)][_0x34bb41(0x12c)](_0x1eaedc);}return _0x2d0bb8[_0x34bb41(0x134)](_0x34bb41(0xc5))['to'](_0x8f7caa,_0x34bb41(0xc5)),_0x2d0bb8[_0x34bb41(0xcc)][_0x34bb41(0xbd)][_0x34bb41(0x12c)](_0x20e61b),_0x2d0bb8;}[_0x555ec4(0xf4)](_0x1fd8d0){const _0x51e56c=_0x555ec4,_0x31a9d9=this[_0x51e56c(0x109)],_0x4450a5=_0x31a9d9[_0x51e56c(0xba)],_0x2345bf=_0x31a9d9[_0x51e56c(0x11b)][_0x51e56c(0x102)](_0x51e56c(0xfd)),_0x325630=_0x31a9d9[_0x51e56c(0x11b)][_0x51e56c(0x102)](_0x51e56c(0xf0)),_0x2a8551=_0x31a9d9[_0x51e56c(0x11b)][_0x51e56c(0x102)](_0x51e56c(0x12e)),_0x546c93=_0x31a9d9[_0x51e56c(0x11b)][_0x51e56c(0x102)](_0x31bc68)['me'],_0x55869c=_0x4450a5[_0x51e56c(0x102)](_0x51e56c(0xe9))[_0x51e56c(0xd9)],_0x1ba13c=_0x4450a5[_0x51e56c(0x102)](_0x51e56c(0xe9))[_0x51e56c(0xf3)],{CommentsListView:_0x232802,CommentThreadInputView:_0x3bc40b}=_0x31a9d9[_0x51e56c(0x11b)][_0x51e56c(0x102)](_0x51e56c(0x117));let _0x12d527,_0x3edca3,_0x136d0d;this[_0x51e56c(0x101)][_0x51e56c(0xfc)](_0x1fd8d0['id'])?(_0x3edca3=this[_0x51e56c(0x101)][_0x51e56c(0x102)](_0x1fd8d0['id']),_0x12d527=_0x3edca3[_0x51e56c(0xc8)]):(_0x12d527=new _0x55869c(_0x31a9d9[_0x51e56c(0xd3)],_0x1fd8d0,_0x546c93,{'disableComments':this[_0x51e56c(0x12d)],'editorConfig':_0x4450a5[_0x51e56c(0x102)](_0x51e56c(0x104)),'maxCommentsWhenCollapsed':_0x4450a5[_0x51e56c(0x102)](_0x51e56c(0x10d)),'maxThreadTotalWeight':_0x4450a5[_0x51e56c(0x102)](_0x51e56c(0x120)),'maxCommentCharsWhenCollapsed':_0x4450a5[_0x51e56c(0x102)](_0x51e56c(0x12a)),'formatDateTime':_0x1115c1(_0x4450a5[_0x51e56c(0x102)](_0x51e56c(0xd3))),'CommentView':_0x4450a5[_0x51e56c(0x102)](_0x51e56c(0x146))[_0x51e56c(0xf7)],'CommentsListView':_0x232802,'CommentThreadInputView':_0x3bc40b,'SuggestionView':_0x1ba13c}),_0x12d527[_0x51e56c(0x10a)][_0x51e56c(0xce)]['on'](_0x51e56c(0x128),()=>{const _0x244088=_0x51e56c;_0x31a9d9[_0x244088(0xeb)][_0x244088(0x11a)][_0x244088(0x118)]();}),_0x12d527[_0x51e56c(0x10a)][_0x51e56c(0xea)]['on'](_0x51e56c(0x128),()=>{const _0x266c74=_0x51e56c;_0x31a9d9[_0x266c74(0xeb)][_0x266c74(0x11a)][_0x266c74(0x118)]();}),_0x3edca3=_0x2345bf[_0x51e56c(0xda)](this[_0x51e56c(0x109)][_0x51e56c(0xd3)],_0x12d527),_0x3edca3[_0x51e56c(0x134)](_0x51e56c(0xc9))['to'](_0x12d527,_0x51e56c(0xc9)),_0x3edca3[_0x51e56c(0x134)](_0x51e56c(0x114))['to'](_0x12d527),_0x3edca3[_0x51e56c(0x134)](_0x51e56c(0x142))['to'](_0x12d527,_0x51e56c(0x142),_0x1cf179=>_0x51e56c(0x133)+_0x1cf179),_0x12d527['on'](_0x51e56c(0x12f),()=>{const _0x114020=_0x51e56c;_0x136d0d[_0x114020(0x11e)](_0x114020(0x12f));}),this[_0x51e56c(0x101)][_0x51e56c(0xc3)](_0x1fd8d0['id'],_0x3edca3));const _0x360b16=_0x325630[_0x51e56c(0x14a)](_0x1fd8d0[_0x51e56c(0xd2)],_0x12d527),_0x487166=new _0xa20566(_0x31a9d9,_0x1fd8d0,_0x12d527,_0x360b16),_0x2f3937=_0x1fd8d0[_0x51e56c(0xc0)]()[_0x51e56c(0xb5)](_0x23a2d2=>_0x23a2d2[_0x51e56c(0x10b)]);_0x12d527[_0x51e56c(0x144)]=_0x31a9d9[_0x51e56c(0x11b)][_0x51e56c(0x102)](_0x51e56c(0x122))[_0x51e56c(0xde)][_0x51e56c(0x126)](_0x2f3937),this[_0x51e56c(0xbc)][_0x51e56c(0xc3)](_0x1fd8d0,_0x487166),this[_0x51e56c(0x143)][_0x51e56c(0xc3)](_0x12d527,_0x487166),_0x136d0d=_0x2345bf[_0x51e56c(0x10c)]({'view':_0x3edca3,'target':()=>{const _0x19b105=_0x51e56c,_0x1697e7=[],_0x4a5858=_0x1fd8d0[_0x19b105(0xc0)]()[_0x19b105(0xb5)](_0x25273a=>_0x25273a[_0x19b105(0x10b)]);for(const _0xe33e92 of _0x4a5858)_0x1697e7[_0x19b105(0x141)](..._0xe33e92[_0x19b105(0xf9)]());return _0x12d024(_0x31a9d9[_0x19b105(0xeb)],_0x1697e7);},'type':()=>_0x51e56c(0x133)+_0x487166[_0x51e56c(0x11a)][_0x51e56c(0x142)]}),_0x325630[_0x51e56c(0xd0)](_0x12d527,_0x136d0d),_0x2345bf[_0x51e56c(0x12c)](_0x136d0d),_0x2a8551[_0x51e56c(0x124)](_0x136d0d);}[_0x555ec4(0x13a)](_0x33b559){const _0x4085bb=_0x555ec4,_0x475e0f=this[_0x4085bb(0x109)][_0x4085bb(0x11b)][_0x4085bb(0x102)](_0x4085bb(0xf0)),_0xdfe26a=this[_0x4085bb(0x109)][_0x4085bb(0x11b)][_0x4085bb(0x102)](_0x4085bb(0xfd)),_0x3739c4=this[_0x4085bb(0xbc)][_0x4085bb(0x102)](_0x33b559),_0x3c035c=_0x3739c4[_0x4085bb(0x11a)],_0x487461=_0xdfe26a[_0x4085bb(0x111)](_0x3c035c);_0x475e0f[_0x4085bb(0x131)](_0x3c035c),_0x487461&&_0xdfe26a[_0x4085bb(0xf8)](_0x487461),this[_0x4085bb(0xbc)][_0x4085bb(0x137)](_0x33b559),this[_0x4085bb(0x143)][_0x4085bb(0x137)](_0x3c035c),_0x3739c4[_0x4085bb(0xef)]();}[_0x555ec4(0xe6)](_0x197d6b){const _0x9878bc=_0x555ec4;if(!_0x197d6b[_0x9878bc(0x10b)]||!this[_0x9878bc(0xbc)][_0x9878bc(0xfc)](_0x197d6b))return;const _0x384b16=this[_0x9878bc(0x109)][_0x9878bc(0x11b)][_0x9878bc(0x102)](_0x9878bc(0x122)),_0x2f3ac4=this[_0x9878bc(0xbc)][_0x9878bc(0x102)](_0x197d6b),_0x1758f9=_0x197d6b[_0x9878bc(0xc0)]();_0x2f3ac4[_0x9878bc(0x11a)][_0x9878bc(0x144)]=_0x384b16[_0x9878bc(0xde)][_0x9878bc(0x126)](_0x1758f9);}[_0x555ec4(0xef)](){const _0x5148db=_0x555ec4;for(const _0x1ac102 of this[_0x5148db(0xbc)][_0x5148db(0x113)]())this[_0x5148db(0x13a)](_0x1ac102);for(const _0x1dbd9e of this[_0x5148db(0x101)][_0x5148db(0x116)]())_0x1dbd9e[_0x5148db(0xc8)][_0x5148db(0xef)]();super[_0x5148db(0xef)]();}}function _0x16bc(_0x2d73a7,_0x1ee72a){const _0x1bdacd=_0x1bda();return _0x16bc=function(_0x16bc1e,_0xad05d7){_0x16bc1e=_0x16bc1e-0xb4;let _0x4eb319=_0x1bdacd[_0x16bc1e];return _0x4eb319;},_0x16bc(_0x2d73a7,_0x1ee72a);}function me(_0x431a64){const _0xad40c7=_0x555ec4;return _0xad40c7(0xec)in _0x431a64;}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
const _0x1c2fca=_0x36c9;(function(_0x1ab2a,_0x3c5d4f){const _0x4e4c82=_0x36c9,_0x44318f=_0x1ab2a();while(!![]){try{const _0x36c0a0=parseInt(_0x4e4c82(0x201))/0x1*(parseInt(_0x4e4c82(0x1e7))/0x2)+-parseInt(_0x4e4c82(0x1f5))/0x3*(parseInt(_0x4e4c82(0x1fb))/0x4)+-parseInt(_0x4e4c82(0x1ec))/0x5+parseInt(_0x4e4c82(0x204))/0x6*(parseInt(_0x4e4c82(0x1f3))/0x7)+parseInt(_0x4e4c82(0x1fe))/0x8+parseInt(_0x4e4c82(0x1f1))/0x9*(parseInt(_0x4e4c82(0x1ea))/0xa)+-parseInt(_0x4e4c82(0x1f2))/0xb;if(_0x36c0a0===_0x3c5d4f)break;else _0x44318f['push'](_0x44318f['shift']());}catch(_0x37abe4){_0x44318f['push'](_0x44318f['shift']());}}}(_0x113b,0x22b1d));function _0x36c9(_0x421fa4,_0x59536d){const _0x113bac=_0x113b();return _0x36c9=function(_0x36c903,_0x81701c){_0x36c903=_0x36c903-0x1e5;let _0x4ba224=_0x113bac[_0x36c903];return _0x4ba224;},_0x36c9(_0x421fa4,_0x59536d);}import{ObservableMixin as _0x271795}from'ckeditor5/src/utils.js';import{getTranslation as _0x3be77c}from'../utils/common-translations.js';export default class ae extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x271795(){constructor(_0x2badb1,_0xedf9e,_0x538ada,_0x4f6e2a){const _0x180acb=_0x36c9;super(),this[_0x180acb(0x20f)]=_0xedf9e,this[_0x180acb(0x1f4)]=_0x538ada,this[_0x180acb(0x1e6)]=_0x4f6e2a,this[_0x180acb(0x1e5)]=_0x2badb1,this[_0x180acb(0x1ed)]=_0x2badb1[_0x180acb(0x202)][_0x180acb(0x1ee)](_0x180acb(0x1fc)),this[_0x180acb(0x200)]=_0x2badb1[_0x180acb(0x202)][_0x180acb(0x1ee)](_0x180acb(0x1e9)),this[_0x180acb(0x1f4)][_0x180acb(0x205)](_0x180acb(0x1fa))['to'](this[_0x180acb(0x1ed)],this[_0x180acb(0x200)],(_0x2a7b9d,_0x29dea7)=>_0x2a7b9d||_0x29dea7),this[_0x180acb(0x1f4)][_0x180acb(0x205)](_0x180acb(0x1ef))['to'](this[_0x180acb(0x1ed)],_0x180acb(0x1fa),_0x4c77de=>_0x4c77de&&this[_0x180acb(0x1e5)][_0x180acb(0x20f)][_0x180acb(0x1f8)](_0xedf9e[_0x180acb(0x20d)]())),this[_0x180acb(0x1f4)][_0x180acb(0x205)](_0x180acb(0x20a))['to'](this[_0x180acb(0x200)],_0x180acb(0x1fa),_0x312191=>_0x312191&&this[_0x180acb(0x1e5)][_0x180acb(0x20f)][_0x180acb(0x1f8)](_0xedf9e[_0x180acb(0x20d)]())),this[_0x180acb(0x206)]=null,_0x538ada[_0x180acb(0x1e8)]&&this[_0x180acb(0x209)](),this[_0x180acb(0x20e)](_0x538ada,_0x180acb(0x1fc),()=>this[_0x180acb(0x1fc)]()),this[_0x180acb(0x20e)](_0x538ada,_0x180acb(0x1e9),()=>this[_0x180acb(0x1e9)]()),this[_0x180acb(0x20e)](_0x538ada,_0x180acb(0x1ff),()=>{const _0x16257d=_0x180acb;_0x538ada[_0x16257d(0x1e8)]?this[_0x16257d(0x209)]():this[_0x16257d(0x1eb)]();});}[_0x1c2fca(0x1fc)](){const _0x1fb626=_0x1c2fca;this[_0x1fb626(0x1ed)][_0x1fb626(0x20c)](this[_0x1fb626(0x20f)]['id']);}[_0x1c2fca(0x1e9)](){const _0x3dc3fe=_0x1c2fca;this[_0x3dc3fe(0x200)][_0x3dc3fe(0x20c)](this[_0x3dc3fe(0x20f)]['id']);}[_0x1c2fca(0x207)](){const _0x16d38f=_0x1c2fca;this[_0x16d38f(0x1f4)][_0x16d38f(0x1f7)](_0x16d38f(0x1fa)),this[_0x16d38f(0x1f4)][_0x16d38f(0x1f7)](_0x16d38f(0x1ef)),this[_0x16d38f(0x1f4)][_0x16d38f(0x1f7)](_0x16d38f(0x20a)),this[_0x16d38f(0x203)](),this[_0x16d38f(0x1e6)][_0x16d38f(0x207)](),this[_0x16d38f(0x206)]&&this[_0x16d38f(0x1eb)]();}[_0x1c2fca(0x209)](){const _0x53e68e=_0x1c2fca,_0xe4433a=_0x3be77c(this[_0x53e68e(0x1e5)][_0x53e68e(0x1f0)],_0x53e68e(0x208));this[_0x53e68e(0x206)]=this[_0x53e68e(0x1e5)][_0x53e68e(0x1fd)][_0x53e68e(0x1ee)](_0x53e68e(0x1f9))[_0x53e68e(0x20b)](_0xe4433a);}[_0x1c2fca(0x1eb)](){const _0xf6f0a1=_0x1c2fca;null!==this[_0xf6f0a1(0x206)]&&this[_0xf6f0a1(0x1e5)][_0xf6f0a1(0x1fd)][_0xf6f0a1(0x1ee)](_0xf6f0a1(0x1f9))[_0xf6f0a1(0x1f6)](this[_0xf6f0a1(0x206)]),this[_0xf6f0a1(0x206)]=null;}}function _0x113b(){const _0x2704e2=['221245MSQsoS','commands','stopListening','12NSpEUe','bind','_pendingAction','destroy','PENDING_ACTION_SUGGESTION','_setPendingAction','canDiscard','add','execute','getRanges','listenTo','model','_editor','commentThreadController','2AKvpxa','isDirty','discardSuggestion','10MTkMTg','_removePendingAction','593210mIqwPn','_acceptCommand','get','canAccept','locale','1959246GJEaHt','4401617MfpHZO','733880kTTmFX','view','1209HjIfrR','remove','unbind','canEditAt','PendingActions','isEnabled','2604JsvyAQ','acceptSuggestion','plugins','2197056BWvjVi','change:isDirty','_discardCommand'];_0x113b=function(){return _0x2704e2;};return _0x113b();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4574cd=_0x466b;(function(_0x2e9b1e,_0x3fb0b1){const _0x3034ae=_0x466b,_0xa464d7=_0x2e9b1e();while(!![]){try{const _0x36fa89=parseInt(_0x3034ae(0xf3))/0x1*(parseInt(_0x3034ae(0xd5))/0x2)+parseInt(_0x3034ae(0xd1))/0x3*(parseInt(_0x3034ae(0xc5))/0x4)+parseInt(_0x3034ae(0xcb))/0x5+parseInt(_0x3034ae(0x105))/0x6*(-parseInt(_0x3034ae(0xdc))/0x7)+-parseInt(_0x3034ae(0xea))/0x8*(parseInt(_0x3034ae(0xe7))/0x9)+parseInt(_0x3034ae(0xdf))/0xa*(parseInt(_0x3034ae(0xda))/0xb)+-parseInt(_0x3034ae(0xc7))/0xc*(-parseInt(_0x3034ae(0xeb))/0xd);if(_0x36fa89===_0x3fb0b1)break;else _0xa464d7['push'](_0xa464d7['shift']());}catch(_0x3cd394){_0xa464d7['push'](_0xa464d7['shift']());}}}(_0x110f,0xa8ec7));function _0x466b(_0x9838ea,_0x2d2522){const _0x110f81=_0x110f();return _0x466b=function(_0x466b7f,_0x489b03){_0x466b7f=_0x466b7f-0xc4;let _0x26192c=_0x110f81[_0x466b7f];return _0x26192c;},_0x466b(_0x9838ea,_0x2d2522);}import{FocusCycler as _0x3d1acc,View as _0x17ec4c,ViewCollection as _0x436e6d}from'ckeditor5/src/ui.js';import{FocusTracker as _0x431d67,KeystrokeHandler as _0xaabeac}from'ckeditor5/src/utils.js';import{AriaDescriptionView as _0x323bc6,setupThreadKeyboardNavigation as _0x76b893}from'ckeditor5-collaboration/src/collaboration-core.js';import{getTranslation as _0x527d37}from'../../utils/common-translations.js';import{renderDescription as _0x1c2c57}from'../../utils/utils.js';export default class us extends _0x17ec4c{constructor(_0x496d5c,_0x2d14cb,_0x2e4f4f,_0x3d334c){const _0x378546=_0x466b;super(_0x496d5c),this[_0x378546(0xe0)]=null,this[_0x378546(0x107)]=null,this[_0x378546(0x103)]=new _0x323bc6(_0x496d5c,_0x527d37(_0x496d5c,_0x378546(0xde))),this[_0x378546(0xe9)](_0x378546(0xec),!0x1),this[_0x378546(0xe9)](_0x378546(0x100),_0x2d14cb[_0x378546(0x100)]),this[_0x378546(0xf2)](_0x378546(0x100))['to'](_0x2d14cb),this[_0x378546(0xe9)](_0x378546(0xf5),[]),this[_0x378546(0xe9)](_0x378546(0x106),!0x1),this[_0x378546(0xe9)](_0x378546(0x10a),!0x1),this[_0x378546(0xe9)](_0x378546(0xcc),!0x1),this[_0x378546(0xe9)](_0x378546(0x108),!0x1),this[_0x378546(0xf2)](_0x378546(0xca))['to'](this,_0x378546(0x109),_0x2d14cb,_0x378546(0x100),this,_0x378546(0xf5),(_0x57e46f,_0x5e9cc6,_0x59fdaf)=>{const _0x512ebc=_0x378546,_0x5839b9=_0x59fdaf[_0x512ebc(0xdb)](_0x36d376=>_0x1c2c57(_0x36d376[_0x512ebc(0xdd)]))[_0x512ebc(0x10e)]('.\x20')+'.';return _0x527d37(this[_0x512ebc(0xd2)],_0x512ebc(0xfd),[_0x57e46f-0x1,_0x2d14cb[_0x512ebc(0xc9)][_0x512ebc(0xc6)],_0x5e9cc6?_0x3d334c[_0x512ebc(0xff)](_0x5e9cc6):'',new DOMParser()[_0x512ebc(0x10c)](_0x5839b9,_0x512ebc(0xf7))[_0x512ebc(0xe5)][_0x512ebc(0xf4)]]);}),this[_0x378546(0x10f)]=new _0x436e6d(),this[_0x378546(0xef)]=new _0x431d67(),this[_0x378546(0xd3)]=new _0xaabeac(),this[_0x378546(0x101)]=new _0x3d1acc({'focusables':this[_0x378546(0x10f)],'focusTracker':this[_0x378546(0xef)],'keystrokeHandler':this[_0x378546(0xd3)],'keystrokeHandlerOptions':{'filter':_0x5f283c=>_0x5f283c[_0x378546(0xd4)]!==this[_0x378546(0xfc)]},'actions':{'focusPrevious':_0x378546(0xc4),'focusNext':_0x378546(0xe2)}}),this[_0x378546(0xfa)]=_0x2d14cb,this[_0x378546(0xf6)]=_0x2e4f4f,this[_0x378546(0xd9)]=_0x3d334c,_0x3d334c[_0x378546(0xd7)]?this[_0x378546(0xe9)](_0x378546(0x109),0x1):this[_0x378546(0xe8)]();}[_0x4574cd(0xed)](){const _0x49bf39=_0x4574cd;super[_0x49bf39(0xed)](),_0x76b893(this,this[_0x49bf39(0x10f)]);}[_0x4574cd(0xe4)](){const _0x564efd=_0x4574cd;this[_0x564efd(0xfc)][_0x564efd(0xe4)]();}[_0x4574cd(0xfe)](){const _0x50bd17=_0x4574cd;this[_0x50bd17(0xe0)]&&this[_0x50bd17(0xe0)][_0x50bd17(0xfe)](),this[_0x50bd17(0x107)]&&this[_0x50bd17(0x107)][_0x50bd17(0xfe)](),super[_0x50bd17(0xfe)]();}[_0x4574cd(0xe8)](){const _0x1dda00=_0x4574cd,{CommentsListView:_0x1d59c4}=this[_0x1dda00(0xd9)];this[_0x1dda00(0xe0)]=new _0x1d59c4(this[_0x1dda00(0xd2)],this[_0x1dda00(0xfa)][_0x1dda00(0xf1)],Object[_0x1dda00(0xcf)]({'CommentView':this[_0x1dda00(0xd9)][_0x1dda00(0xee)]},this[_0x1dda00(0xd9)])),this[_0x1dda00(0xe0)][_0x1dda00(0xd0)](_0x1dda00(0xe3))['to'](this),this[_0x1dda00(0xe0)][_0x1dda00(0xd0)](_0x1dda00(0xf8))['to'](this),this[_0x1dda00(0xe0)][_0x1dda00(0xf2)](_0x1dda00(0xec))['to'](this),this[_0x1dda00(0xe9)](_0x1dda00(0x109),this[_0x1dda00(0xe0)][_0x1dda00(0x109)]+0x1),this[_0x1dda00(0xf2)](_0x1dda00(0x109))['to'](this[_0x1dda00(0xe0)],_0x1dda00(0x109),_0x5a5943=>_0x5a5943+0x1),this[_0x1dda00(0x107)]=this[_0x1dda00(0xd8)](),this['on'](_0x1dda00(0xe3),()=>this[_0x1dda00(0xe4)]()),this[_0x1dda00(0xf2)](_0x1dda00(0x106))['to'](this[_0x1dda00(0xe0)],_0x1dda00(0x104),this[_0x1dda00(0x107)][_0x1dda00(0xf0)],_0x1dda00(0x102),(_0x4ce1ca,_0x52418c)=>_0x4ce1ca||!!_0x52418c);}[_0x4574cd(0xd8)](){const _0x45f4f7=_0x4574cd,{CommentThreadInputView:_0x417a9d}=this[_0x45f4f7(0xd9)],_0x3815d4=new _0x417a9d(this[_0x45f4f7(0xd2)],this[_0x45f4f7(0xf6)],this[_0x45f4f7(0xd9)][_0x45f4f7(0xd6)]),_0x586614=_0x3815d4[_0x45f4f7(0xf0)];return _0x3815d4[_0x45f4f7(0xf2)](_0x45f4f7(0x10d))['to'](this,_0x45f4f7(0xec),this[_0x45f4f7(0xfa)][_0x45f4f7(0xf1)],_0x45f4f7(0xe1),_0x586614,_0x45f4f7(0x102),(_0x1245bf,_0xc17bb,_0x1041ad)=>!!_0x1041ad||_0x1245bf&&!_0xc17bb),_0x586614['on'](_0x45f4f7(0xce),(_0x5d8b54,_0x2eb778)=>{const _0x3ffcf7=_0x45f4f7;this[_0x3ffcf7(0xf9)](_0x3ffcf7(0xcd),_0x2eb778),_0x586614[_0x3ffcf7(0xe6)][_0x3ffcf7(0x10b)]('');}),_0x586614['on'](_0x45f4f7(0xc8),()=>this[_0x45f4f7(0xe4)]()),_0x586614[_0x45f4f7(0xf2)](_0x45f4f7(0xfb))['to'](this[_0x45f4f7(0xfa)][_0x45f4f7(0xf1)],_0x45f4f7(0xe1)),_0x3815d4;}}function _0x110f(){const _0x1eddc6=['submit','assign','delegate','254427phELxG','locale','keystrokes','target','4btlQzL','editorConfig','disableComments','_createCommentThreadInputView','_config','11eMuxqo','map','98rFIOYh','content','SUGGESTION_THREAD_DESCRIPTION','2600690hIzFvL','commentsListView','isReadOnly','tab','removeComment','focus','body','editor','11871315QuvcmJ','_createCommentViews','set','8MUynfL','718406jnHXxz','isActive','render','CommentView','focusTracker','commentInputView','commentThread','bind','668578suvKyF','textContent','descriptionParts','_localUser','text/html','updateComment','fire','_model','disabledSubmit','element','SUGGESTION_THREAD_ARIA_LABEL','destroy','formatDateTime','authoredAt','focusCycler','value','ariaDescriptionView','hasDirtyComment','426312nwgVwU','isDirty','commentThreadInputView','canDiscard','length','isEnabled','setData','parseFromString','showInput','join','focusables','shift+tab','56yotduQ','name','48rQBYrG','cancel','author','ariaLabel','375ZBquKY','canAccept','addComment'];_0x110f=function(){return _0x1eddc6;};return _0x110f();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3e1cff=_0x3b0b;(function(_0x425543,_0x437e12){const _0x2df0f4=_0x3b0b,_0x837fd6=_0x425543();while(!![]){try{const _0x2ef544=-parseInt(_0x2df0f4(0xe5))/0x1*(parseInt(_0x2df0f4(0x119))/0x2)+parseInt(_0x2df0f4(0x10d))/0x3+-parseInt(_0x2df0f4(0xf2))/0x4*(parseInt(_0x2df0f4(0x106))/0x5)+parseInt(_0x2df0f4(0xe2))/0x6*(parseInt(_0x2df0f4(0xf5))/0x7)+parseInt(_0x2df0f4(0xea))/0x8+parseInt(_0x2df0f4(0x10b))/0x9+-parseInt(_0x2df0f4(0xff))/0xa*(-parseInt(_0x2df0f4(0xfb))/0xb);if(_0x2ef544===_0x437e12)break;else _0x837fd6['push'](_0x837fd6['shift']());}catch(_0x50fdcb){_0x837fd6['push'](_0x837fd6['shift']());}}}(_0x3b6d,0x3a1e0));function _0x3b6d(){const _0x36e5be=['ck-suggestion-wrapper--active','commentThread','acceptButton','disableComments','description','discardSuggestion','commentThreadInputView','canDiscard','editorDestroyed','12RWFkzz','bind','<p>','534NojoHt','push','author','60693puSFQw','focusables','_model','descriptionParts','bindTemplate','23408TKmYMP','content','delegate','add','set','render','_descriptionElement','setTemplate','64GWotMU','SuggestionView','listitem','5271UfmUmQ','discardButton','commentsListView','color','editorReady','acceptSuggestion','77YTGKDz','ck-rounded-corners','ck-suggestion-','ck-suggestion--disabled-comments','641010PcCqUa','isEnabled','div','getTemplate','canAccept','suggestionView','ck-suggestion-wrapper','130930wxemNK','ariaDescriptionView','type','formatDateTime','isActive','2639430mUfKQZ','</p>','627786GLoUuz','ariaLabel','_config'];_0x3b6d=function(){return _0x36e5be;};return _0x3b6d();}import{default as _0x25bfde}from'./basesuggestionthreadview.js';import{trimHtml as _0xdfeb05}from'ckeditor5-collaboration/src/collaboration-core.js';import{renderDescription as _0x55e24e}from'../../utils/utils.js';function _0x3b0b(_0x625888,_0x2290fb){const _0x3b6d66=_0x3b6d();return _0x3b0b=function(_0x3b0b2b,_0x4626d5){_0x3b0b2b=_0x3b0b2b-0xe2;let _0x5d349c=_0x3b6d66[_0x3b0b2b];return _0x5d349c;},_0x3b0b(_0x625888,_0x2290fb);}export default class re extends _0x25bfde{constructor(_0x424605,_0x4eb795,_0xb24046,_0x4aaf80){const _0x593ebf=_0x3b0b;super(_0x424605,_0x4eb795,_0xb24046,_0x4aaf80),this[_0x593ebf(0xee)](_0x593ebf(0x108),''),this[_0x593ebf(0x11a)](_0x593ebf(0x108))['to'](this,_0x593ebf(0xe8),_0x511db0=>_0x511db0&&_0x511db0[0x0]?_0x511db0[0x0][_0x593ebf(0x108)]:''),this[_0x593ebf(0x11a)](_0x593ebf(0x114))['to'](this,_0x593ebf(0xe8),this,_0x593ebf(0x10a),(_0x54213b,_0x5724da)=>{const _0x1a326f=_0x593ebf;let _0x26b460='';for(const _0x53e632 of _0x54213b)_0x26b460+=_0x1a326f(0x11b)+_0x55e24e(_0x53e632[_0x1a326f(0xeb)],_0x53e632[_0x1a326f(0xf8)])+_0x1a326f(0x10c);return _0x5724da?_0x26b460:_0xdfeb05(_0x26b460,{'limit':0x8c});}),this[_0x593ebf(0xf0)]=null,this[_0x593ebf(0x104)]=new _0x4aaf80[(_0x593ebf(0xf3))](_0x424605,_0x4eb795,{'formatDateTime':_0x4aaf80[_0x593ebf(0x109)]}),this[_0x593ebf(0x104)][_0x593ebf(0x11a)](_0x593ebf(0x114))['to'](this),this[_0x593ebf(0x104)][_0x593ebf(0xec)](_0x593ebf(0xfa),_0x593ebf(0x115))['to'](this),this[_0x593ebf(0x104)][_0x593ebf(0x112)][_0x593ebf(0x11a)](_0x593ebf(0x100))['to'](this,_0x593ebf(0x103)),this[_0x593ebf(0x104)][_0x593ebf(0xf6)][_0x593ebf(0x11a)](_0x593ebf(0x100))['to'](this,_0x593ebf(0x117)),this[_0x593ebf(0xe6)][_0x593ebf(0xed)](this[_0x593ebf(0x104)]),this[_0x593ebf(0xf7)]&&this[_0x593ebf(0xe6)][_0x593ebf(0xed)](this[_0x593ebf(0xf7)]),this[_0x593ebf(0x116)]&&this[_0x593ebf(0xe6)][_0x593ebf(0xed)](this[_0x593ebf(0x116)]),this[_0x593ebf(0xf1)](this[_0x593ebf(0x102)]());}[_0x3e1cff(0x102)](){const _0x339f62=_0x3e1cff,_0x7f96b1=this[_0x339f62(0xe9)],_0x4da58f=[this[_0x339f62(0x104)]];return this[_0x339f62(0xf7)]&&_0x4da58f[_0x339f62(0xe3)](this[_0x339f62(0xf7)]),this[_0x339f62(0x116)]&&_0x4da58f[_0x339f62(0xe3)](this[_0x339f62(0x116)]),_0x4da58f[_0x339f62(0xe3)](this[_0x339f62(0x107)]),{'tag':_0x339f62(0x101),'attributes':{'class':['ck',_0x339f62(0xfc),_0x339f62(0x105),_0x7f96b1['if'](_0x339f62(0x10a),_0x339f62(0x110)),_0x7f96b1['to'](_0x339f62(0x108),_0x272558=>_0x339f62(0xfd)+_0x272558),this[_0x339f62(0x10f)][_0x339f62(0x113)]&&_0x339f62(0xfe)],'data-suggestion-id':this[_0x339f62(0xe7)]['id'],'data-thread-id':this[_0x339f62(0xe7)][_0x339f62(0x111)]['id'],'data-author-id':this[_0x339f62(0xe7)][_0x339f62(0xe4)]['id'],'tabindex':0x0,'role':_0x339f62(0xf4),'aria-label':_0x7f96b1['to'](_0x339f62(0x10e)),'aria-describedby':this[_0x339f62(0x107)]['id']},'children':_0x4da58f};}[_0x3e1cff(0xef)](){const _0x3f43ff=_0x3e1cff;super[_0x3f43ff(0xef)](),this[_0x3f43ff(0xf7)]&&(this[_0x3f43ff(0xf7)][_0x3f43ff(0xec)](_0x3f43ff(0xf9))['to'](this),this[_0x3f43ff(0xf7)][_0x3f43ff(0xec)](_0x3f43ff(0x118))['to'](this)),this[_0x3f43ff(0x116)]&&(this[_0x3f43ff(0x116)][_0x3f43ff(0xec)](_0x3f43ff(0xf9))['to'](this),this[_0x3f43ff(0x116)][_0x3f43ff(0xec)](_0x3f43ff(0x118))['to'](this));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x40a8(_0x31934f,_0x58d498){const _0x42ba1b=_0x42ba();return _0x40a8=function(_0x40a882,_0x578715){_0x40a882=_0x40a882-0xd0;let _0x3020e2=_0x42ba1b[_0x40a882];return _0x3020e2;},_0x40a8(_0x31934f,_0x58d498);}const _0x40b47f=_0x40a8;(function(_0xa59997,_0x4c873d){const _0x2f136f=_0x40a8,_0x41b521=_0xa59997();while(!![]){try{const _0x12b0df=parseInt(_0x2f136f(0x103))/0x1+parseInt(_0x2f136f(0xfa))/0x2*(-parseInt(_0x2f136f(0x121))/0x3)+-parseInt(_0x2f136f(0xd2))/0x4+-parseInt(_0x2f136f(0xe4))/0x5*(parseInt(_0x2f136f(0xe3))/0x6)+-parseInt(_0x2f136f(0x116))/0x7*(-parseInt(_0x2f136f(0x11a))/0x8)+-parseInt(_0x2f136f(0xf3))/0x9+parseInt(_0x2f136f(0x101))/0xa;if(_0x12b0df===_0x4c873d)break;else _0x41b521['push'](_0x41b521['shift']());}catch(_0x4fc749){_0x41b521['push'](_0x41b521['shift']());}}}(_0x42ba,0x60f46));import{FocusTracker as _0x4fcc42,KeystrokeHandler as _0x2a3cec}from'ckeditor5/src/utils.js';import{View as _0x11f2fc,ViewCollection as _0x16e7dd,FocusCycler as _0x2b1fb4}from'ckeditor5/src/ui.js';function _0x42ba(){const _0x410cff=['6643790NZfDmz','focusables','523808UjiTxO','formatDateTime','discardButton','ck-annotation__user','ck-suggestion__user','_config','ck-annotation__info','ck-suggestion__info','element','name','EXTERNAL_SUGGESTION','EXTERNAL_IMPORT_WORD_SUGGESTION','locale','ck-suggestion--discard','render','focusCycler','importWord','ck-suggestion','target','7ZHGGjv','ck-annotation__info-time','getExternalSuggestionNote','authoredAt','1825144waAVfI','ck-annotation__main','acceptButton','ck-annotation__actions','.ck-annotation__content-wrapper','enter','Discard\x20suggestion','6ruPSyv','esc','set','_setupKeyboardNavigation','ck-comment__info-time','_createButton','shift+tab','extendTemplate','attributes','ck-suggestion__actions','focusTracker','Accept\x20suggestion','927228QDYqis','keystrokes','@external','creator','userView','listenTo','querySelector','fire','ck-comment__external','tab','ck-suggestion--accept','EXTERNAL_IMPORT_WORD_AVATAR','cancel','setTemplate','discardSuggestion','add','focusFirst','6GYqlBf','3653395SvAzoP','focus','ck-annotation','ck-annotation__info-name','presentation','push','ck-suggestion__info-name','time','EXTERNAL_AVATAR','innerHTML','span','getUserViewNotificationText','div','author','bind','400266sRiAIK','ck-suggestion__main','bindTemplate','ck-annotation__content-wrapper','description','source','acceptSuggestion','12244qtsYMY','_model','isExternal','getTemplate','check','execute','change:description'];_0x42ba=function(){return _0x410cff;};return _0x42ba();}import{LateFocusButtonView as _0x4b69a0,UserView as _0x43883a}from'ckeditor5-collaboration/src/collaboration-core.js';import{icons as _0x4fa4fe}from'ckeditor5/src/core.js';import{getTranslation as _0x37505c}from'../../utils/common-translations.js';export default class ce extends _0x11f2fc{constructor(_0x41cc37,_0x4f3467,_0x57afc2){const _0x3c7e8e=_0x40a8;super(_0x41cc37),this[_0x3c7e8e(0xfb)]=_0x4f3467,this[_0x3c7e8e(0x108)]=_0x57afc2,this[_0x3c7e8e(0x123)](_0x3c7e8e(0xf7),''),this[_0x3c7e8e(0xf2)](_0x3c7e8e(0x119))['to'](_0x4f3467),this[_0x3c7e8e(0x11c)]=this[_0x3c7e8e(0x126)](_0x37505c(_0x41cc37,_0x3c7e8e(0xd1)),_0x4fa4fe[_0x3c7e8e(0xfe)],_0x3c7e8e(0xdc),_0x3c7e8e(0xf9),'sw'),this[_0x3c7e8e(0x105)]=this[_0x3c7e8e(0x126)](_0x37505c(_0x41cc37,_0x3c7e8e(0x120)),_0x4fa4fe[_0x3c7e8e(0xde)],_0x3c7e8e(0x110),_0x3c7e8e(0xe0),'sw'),this[_0x3c7e8e(0xd6)]=new _0x43883a(_0x41cc37,_0x4f3467[_0x3c7e8e(0xf1)],this[_0x3c7e8e(0xef)]()),this[_0x3c7e8e(0xd6)][_0x3c7e8e(0x128)]({'attributes':{'class':[_0x3c7e8e(0x107),_0x3c7e8e(0x106)],'aria-hidden':!0x0}}),this[_0x3c7e8e(0x102)]=new _0x16e7dd([this[_0x3c7e8e(0x11c)],this[_0x3c7e8e(0x105)]]),this[_0x3c7e8e(0xd0)]=new _0x4fcc42(),this[_0x3c7e8e(0xd3)]=new _0x2a3cec(),this[_0x3c7e8e(0x112)]=new _0x2b1fb4({'focusables':this[_0x3c7e8e(0x102)],'focusTracker':this[_0x3c7e8e(0xd0)],'keystrokeHandler':this[_0x3c7e8e(0xd3)],'actions':{'focusPrevious':_0x3c7e8e(0x127),'focusNext':_0x3c7e8e(0xdb)},'keystrokeHandlerOptions':{'filter':_0x17ae0e=>_0x17ae0e[_0x3c7e8e(0x115)]!==this[_0x3c7e8e(0x10b)]}}),this[_0x3c7e8e(0xdf)](this[_0x3c7e8e(0xfd)]());}[_0x40b47f(0x111)](){const _0x4b945e=_0x40b47f;super[_0x4b945e(0x111)]();const _0x5a5054=this[_0x4b945e(0x10b)][_0x4b945e(0xd8)](_0x4b945e(0x11e));_0x5a5054[_0x4b945e(0xed)]=this[_0x4b945e(0xf7)],this['on'](_0x4b945e(0x100),(_0x59bb05,_0x466989,_0x46b585)=>{const _0x2db112=_0x4b945e;_0x5a5054[_0x2db112(0xed)]=_0x46b585;}),this[_0x4b945e(0x124)]();}[_0x40b47f(0xfd)](){const _0x1ccaa2=_0x40b47f,_0x179071=this[_0x1ccaa2(0xf5)],_0xf6690d=[{'tag':_0x1ccaa2(0xf0),'attributes':{'class':[_0x1ccaa2(0x10a),_0x1ccaa2(0x109)]},'children':[{'tag':_0x1ccaa2(0xee),'children':[{'text':this[_0x1ccaa2(0xd6)][_0x1ccaa2(0x10c)]}],'attributes':{'class':[_0x1ccaa2(0xea),_0x1ccaa2(0xe7)]}},{'tag':_0x1ccaa2(0xeb),'attributes':{'datetime':_0x179071['to'](_0x1ccaa2(0x119)),'class':[_0x1ccaa2(0x125),_0x1ccaa2(0x117)]},'children':[{'text':_0x179071['to'](_0x1ccaa2(0x119),_0x5542f0=>this[_0x1ccaa2(0x108)][_0x1ccaa2(0x104)](_0x5542f0))}]}]},{'tag':_0x1ccaa2(0xf0),'attributes':{'class':[_0x1ccaa2(0x12a),_0x1ccaa2(0x11d)]},'children':[this[_0x1ccaa2(0x11c)],this[_0x1ccaa2(0x105)]]},{'tag':_0x1ccaa2(0xf0),'attributes':{'class':[_0x1ccaa2(0xf6)]}}];return this[_0x1ccaa2(0xfb)][_0x1ccaa2(0xfc)]&&_0xf6690d[_0x1ccaa2(0xe9)]({'tag':_0x1ccaa2(0xf0),'attributes':{'class':[_0x1ccaa2(0xda)]},'children':[{'text':this[_0x1ccaa2(0x118)]()}]}),{'tag':_0x1ccaa2(0xf0),'attributes':{'class':[_0x1ccaa2(0x114),_0x1ccaa2(0xe6)],'tabindex':-0x1},'children':[this[_0x1ccaa2(0xd6)],{'tag':_0x1ccaa2(0xf0),'attributes':{'class':[_0x1ccaa2(0xf4),_0x1ccaa2(0x11b)],'role':_0x1ccaa2(0xe8)},'children':_0xf6690d}]};}[_0x40b47f(0xe5)](){const _0x18601e=_0x40b47f;this[_0x18601e(0x10b)][_0x18601e(0xe5)]();}[_0x40b47f(0xef)](){const _0xef6cb5=_0x40b47f;return this[_0xef6cb5(0xfb)][_0xef6cb5(0xfc)]?_0xef6cb5(0x113)===this[_0xef6cb5(0xfb)][_0xef6cb5(0x129)][_0xef6cb5(0xd4)][_0xef6cb5(0xf8)]?_0x37505c(this[_0xef6cb5(0x10f)],_0xef6cb5(0xdd),this[_0xef6cb5(0xfb)][_0xef6cb5(0xd5)][_0xef6cb5(0x10c)]):_0x37505c(this[_0xef6cb5(0x10f)],_0xef6cb5(0xec),this[_0xef6cb5(0xfb)][_0xef6cb5(0xd5)][_0xef6cb5(0x10c)]):null;}[_0x40b47f(0x118)](){const _0x489e3d=_0x40b47f;return _0x489e3d(0x113)===this[_0x489e3d(0xfb)][_0x489e3d(0x129)][_0x489e3d(0xd4)][_0x489e3d(0xf8)]?_0x37505c(this[_0x489e3d(0x10f)],_0x489e3d(0x10e)):_0x37505c(this[_0x489e3d(0x10f)],_0x489e3d(0x10d));}[_0x40b47f(0x126)](_0x45ce82,_0x780045,_0x1119d7,_0x37f9a3,_0xf561ac){const _0x9fd998=_0x40b47f,_0x2fae13=new _0x4b69a0(this[_0x9fd998(0x10f)]);return _0x2fae13[_0x9fd998(0x123)]({'label':_0x45ce82,'icon':_0x780045,'tooltip':!0x0,'tooltipPosition':_0xf561ac}),_0x2fae13[_0x9fd998(0x128)]({'attributes':{'class':_0x1119d7}}),_0x2fae13['on'](_0x9fd998(0xff),()=>{const _0x1db166=_0x9fd998;this[_0x1db166(0xd9)](_0x37f9a3,this[_0x1db166(0xfb)]['id']);}),_0x2fae13;}[_0x40b47f(0x124)](){const _0xdd012b=_0x40b47f,_0x51fba7=this[_0xdd012b(0x10b)];this[_0xdd012b(0xd3)][_0xdd012b(0xd7)](_0x51fba7);for(const _0x238c2f of this[_0xdd012b(0x102)])this[_0xdd012b(0xd0)][_0xdd012b(0xe1)](_0x238c2f[_0xdd012b(0x10b)]),this[_0xdd012b(0xd3)][_0xdd012b(0xd7)](_0x238c2f[_0xdd012b(0x10b)]);this[_0xdd012b(0xd3)][_0xdd012b(0x123)](_0xdd012b(0x11f),(_0x3d0e0c,_0x3fec1b)=>{const _0x1d02da=_0xdd012b;_0x51fba7===_0x3d0e0c[_0x1d02da(0x115)]&&(this[_0x1d02da(0x112)][_0x1d02da(0xe2)](),_0x3fec1b());}),this[_0xdd012b(0xd3)][_0xdd012b(0x123)](_0xdd012b(0x122),(_0x4b3bdc,_0x1dd7ba)=>{const _0x4bd382=_0xdd012b;_0x51fba7!==_0x4b3bdc[_0x4bd382(0x115)]&&(this[_0x4bd382(0xe5)](),_0x1dd7ba());});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x573555,_0x290077,_0x27ec05){const _0x22cb2b=_0x573555['t'],t=_0x573555['t'];switch(_0x290077){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',_0x27ec05);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x27ec05);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x27ec05);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x27ec05);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x27ec05);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',_0x27ec05);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x27ec05);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',_0x27ec05);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x27ec05);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x27ec05);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x27ec05);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x27ec05);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x27ec05);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x27ec05);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x27ec05);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x27ec05);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x27ec05);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x27ec05);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x27ec05);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x27ec05);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x27ec05);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x27ec05);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x27ec05);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'},_0x27ec05);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x27ec05);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x27ec05);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x27ec05);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x27ec05);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x27ec05);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'},_0x27ec05);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x27ec05);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x27ec05);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x27ec05);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x27ec05);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'},_0x27ec05);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x27ec05);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'},_0x27ec05);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'},_0x27ec05);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x27ec05);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'},_0x27ec05);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x27ec05);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'},_0x27ec05);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x27ec05);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x27ec05);case'ELEMENT_TITLE':return t({'id':'ELEMENT_TITLE','string':'title'});case'ELEMENT_MERGE_FIELD':return t({'id':'ELEMENT_MERGE_FIELD','string':'merge\x20field','plural':'%0\x20merge\x20fields'},_0x27ec05);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 _0x22cb2b({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x27ec05);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x22cb2b({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x27ec05);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x27ec05);case'LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20insertion\x20suggestion.','id':'LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT'});case'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20deletion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT'},_0x27ec05);case'LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20deletion\x20suggestion.','id':'LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT'});case'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20formatting\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT'},_0x27ec05);case'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20formatting\x20suggestion.','id':'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT'});case'SUGGESTION_THREAD_ARIA_LABEL':return t({'string':'Suggestion\x20by\x20%1.\x20Created\x20on\x20%2.\x20%0\x20reply.\x20%3','plural':'Suggestion\x20by\x20%1.\x20Created\x20on\x20%2.\x20%0\x20replies.\x20%3','id':'SUGGESTION_THREAD_ARIA_LABEL'},_0x27ec05);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x290077;}}
|
|
23
|
+
export function getTranslation(_0x5b16b9,_0xc16c34,_0x2ca8ac){const _0x3e5cdb=_0x5b16b9['t'],t=_0x5b16b9['t'];switch(_0xc16c34){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',_0x2ca8ac);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x2ca8ac);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x2ca8ac);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x2ca8ac);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x2ca8ac);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',_0x2ca8ac);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x2ca8ac);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',_0x2ca8ac);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x2ca8ac);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x2ca8ac);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x2ca8ac);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x2ca8ac);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x2ca8ac);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x2ca8ac);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x2ca8ac);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x2ca8ac);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x2ca8ac);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x2ca8ac);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x2ca8ac);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x2ca8ac);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x2ca8ac);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x2ca8ac);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x2ca8ac);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'},_0x2ca8ac);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x2ca8ac);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x2ca8ac);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x2ca8ac);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x2ca8ac);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x2ca8ac);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'},_0x2ca8ac);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x2ca8ac);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x2ca8ac);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x2ca8ac);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x2ca8ac);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'},_0x2ca8ac);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x2ca8ac);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'},_0x2ca8ac);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'},_0x2ca8ac);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x2ca8ac);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'},_0x2ca8ac);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x2ca8ac);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'},_0x2ca8ac);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x2ca8ac);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x2ca8ac);case'ELEMENT_TITLE':return t({'id':'ELEMENT_TITLE','string':'title'});case'ELEMENT_MERGE_FIELD':return t({'id':'ELEMENT_MERGE_FIELD','string':'merge\x20field','plural':'%0\x20merge\x20fields'},_0x2ca8ac);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 _0x3e5cdb({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x2ca8ac);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x3e5cdb({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x2ca8ac);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x2ca8ac);case'LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20insertion\x20suggestion.','id':'LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT'});case'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20deletion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT'},_0x2ca8ac);case'LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20deletion\x20suggestion.','id':'LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT'});case'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20formatting\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT'},_0x2ca8ac);case'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20formatting\x20suggestion.','id':'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT'});case'SUGGESTION_THREAD_ARIA_LABEL':return t({'string':'Suggestion\x20by\x20%1.\x20Created\x20on\x20%2.\x20%0\x20reply.\x20%3','plural':'Suggestion\x20by\x20%1.\x20Created\x20on\x20%2.\x20%0\x20replies.\x20%3','id':'SUGGESTION_THREAD_ARIA_LABEL'},_0x2ca8ac);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0xc16c34;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x30a4f2,_0x357fed){const _0x14e84c=_0x1621,_0x4f5756=_0x30a4f2();while(!![]){try{const _0x44715d=parseInt(_0x14e84c(0x131))/0x1*(parseInt(_0x14e84c(0x12a))/0x2)+-parseInt(_0x14e84c(0x149))/0x3*(-parseInt(_0x14e84c(0x153))/0x4)+-parseInt(_0x14e84c(0x147))/0x5*(parseInt(_0x14e84c(0x157))/0x6)+parseInt(_0x14e84c(0x15a))/0x7*(-parseInt(_0x14e84c(0x13a))/0x8)+parseInt(_0x14e84c(0x14b))/0x9+-parseInt(_0x14e84c(0x15b))/0xa*(-parseInt(_0x14e84c(0x144))/0xb)+-parseInt(_0x14e84c(0x137))/0xc*(-parseInt(_0x14e84c(0x14a))/0xd);if(_0x44715d===_0x357fed)break;else _0x4f5756['push'](_0x4f5756['shift']());}catch(_0x3e61aa){_0x4f5756['push'](_0x4f5756['shift']());}}}(_0x1cb7,0xc0a00));export function normalizeDescription(_0x479b59){const _0x303f84=_0x1621;return Array[_0x303f84(0x129)](_0x479b59)||(_0x479b59=[_0x479b59]),_0x479b59[_0x303f84(0x130)](_0x2a6f28=>{const _0x2b7bd9=_0x303f84,_0x144a26=_0x2a6f28[_0x2b7bd9(0x12f)][_0x2b7bd9(0x135)](/\*/g,''),_0x470810=_0x2a6f28[_0x2b7bd9(0x13f)]?_0x2b7bd9(0x12e)+_0x2a6f28[_0x2b7bd9(0x13f)][_0x2b7bd9(0x13c)]+']':'';return'['+_0x2a6f28[_0x2b7bd9(0x134)]+']\x20'+_0x144a26+_0x470810;})[_0x303f84(0x15c)](';\x20');}function _0x1621(_0x55e2a5,_0x22d5bf){const _0x1cb726=_0x1cb7();return _0x1621=function(_0x162184,_0x443f25){_0x162184=_0x162184-0x127;let _0x31b21e=_0x1cb726[_0x162184];return _0x31b21e;},_0x1621(_0x55e2a5,_0x22d5bf);}export function renderDescription(_0x997306,_0x1dd3a1){const _0x569cbc=_0x1621;let _0x5d0afb='';return _0x5d0afb+=_0x997306[_0x569cbc(0x142)]('*')[_0x569cbc(0x130)]((_0x13bde4,_0x75d930)=>_0x75d930%0x2!=0x0?_0x569cbc(0x12b)+nn(_0x13bde4)+_0x569cbc(0x146):nn(_0x13bde4))[_0x569cbc(0x15c)](''),_0x1dd3a1&&(_0x5d0afb+=_0x569cbc(0x13e)+_0x1dd3a1[_0x569cbc(0x13c)]+_0x569cbc(0x14f)+_0x1dd3a1[_0x569cbc(0x141)]+_0x569cbc(0x13b)),_0x5d0afb;}function nn(_0x12989e){const _0x3f8b92=_0x1621,_0x11402d=document[_0x3f8b92(0x151)](_0x3f8b92(0x139));return _0x11402d[_0x3f8b92(0x12d)]=_0x12989e,_0x11402d[_0x3f8b92(0x132)];}export function sortSuggestions(_0x48d0ac){const _0x3fe486=_0x1621;return _0x48d0ac[_0x3fe486(0x150)]((_0x5e8946,_0x5a3e2c)=>_0x3fe486(0x15f)==_0x5e8946[_0x3fe486(0x134)]&&_0x3fe486(0x15f)!=_0x5a3e2c[_0x3fe486(0x134)]?-0x1:_0x3fe486(0x15f)!=_0x5e8946[_0x3fe486(0x134)]&&_0x3fe486(0x15f)==_0x5a3e2c[_0x3fe486(0x134)]?0x1:0x0);}function _0x1cb7(){const _0x43fe25=['17088ZQzzmO','next','span','19352UhwiAS','\x22></span>','value','execute','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','color','isIntersecting','title','split','length','187eQzdkd','start','</span>','5VkVIbV','end','3OSdVPr','2795PoJywS','8918460FUjuLD','splice','from','change','\x22\x20title=\x22','sort','createElement','createPositionBefore','6125892drrAIC','schema','createPositionAfter','isInContent','7184046cxeYjx','isObject','push','4193tfPjJL','57390kCNWFr','join','add','createRange','deletion','isMultiRange','isCollapsed','isArray','169726NplgoA','<span\x20class=\x22ck-suggestion-type\x22>','createPositionAt','innerText','\x20[color\x20','content','map','6hWzqkn','innerHTML','isTouching','type','replace','getRanges'];_0x1cb7=function(){return _0x43fe25;};return _0x1cb7();}export function getSelectedSuggestions(_0x1cb258,_0x232cfa){const _0x2748fc=_0x1621,_0x36e86d=Array[_0x2748fc(0x14d)](_0x1cb258[_0x2748fc(0x136)]()),_0x12ebae=new Set();for(const _0x454ca6 of _0x232cfa)if(_0x454ca6[_0x2748fc(0x156)]){for(const _0x10b005 of _0x36e86d)for(const _0x4a89a2 of _0x454ca6[_0x2748fc(0x136)]())(_0x10b005[_0x2748fc(0x140)](_0x4a89a2)||_0x1cb258[_0x2748fc(0x128)]&&!_0x454ca6[_0x2748fc(0x127)]&&_0x454ca6[_0x2748fc(0x138)]&&_0x4a89a2[_0x2748fc(0x148)][_0x2748fc(0x133)](_0x10b005[_0x2748fc(0x145)]))&&_0x12ebae[_0x2748fc(0x15d)](_0x454ca6);}return _0x12ebae;}export function getRangesOfBlockGroups(_0x4108f4,_0x1d809b){const _0xb06bbc=_0x1621;let _0x37e64d,_0x3ad33e=0x0;const _0x250dfc=[],_0x1fa32c=_0x1d809b[_0xb06bbc(0x154)];for(;_0x3ad33e<_0x4108f4[_0xb06bbc(0x143)];){const _0xebaf38=_0x4108f4[_0x3ad33e],_0x2463c9=_0x4108f4[_0x3ad33e+0x1];_0x37e64d||(_0x37e64d=_0x1d809b[_0xb06bbc(0x152)](_0xebaf38)),on(_0x1d809b,_0xebaf38,_0x2463c9)||(_0x250dfc[_0xb06bbc(0x159)](_0x1d809b[_0xb06bbc(0x15e)](_0x37e64d,_0x1fa32c[_0xb06bbc(0x158)](_0xebaf38)?_0x1d809b[_0xb06bbc(0x155)](_0xebaf38):_0x1d809b[_0xb06bbc(0x12c)](_0xebaf38,_0xb06bbc(0x148)))),_0x37e64d=null),_0x3ad33e++;}return _0x250dfc;}function on(_0x4a61a9,_0x24af33,_0x50274e){const _0xadd5f9=_0x1621;if(!_0x50274e)return!0x1;const _0x31fe5d=_0x4a61a9[_0xadd5f9(0x155)](_0x24af33),_0x4809cc=_0x4a61a9[_0xadd5f9(0x152)](_0x50274e);return _0x31fe5d[_0xadd5f9(0x133)](_0x4809cc);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x4ccc18,_0xb9d480,_0x4149a8){const _0x234bad=_0x1621;for(;_0x4149a8[_0x234bad(0x143)];){const _0x331a5a=_0x4149a8[_0x234bad(0x14c)](0x0,0x64);_0x4ccc18[_0x234bad(0x14e)](()=>{const _0x16622f=_0x234bad;for(const _0x257041 of _0x331a5a)_0x257041[_0x16622f(0x156)]&&_0xb9d480[_0x16622f(0x13d)](_0x257041['id']);});}}
|