@ckeditor/ckeditor5-track-changes 46.1.0-alpha.2 → 46.1.1-alpha.0
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 +4 -4
- 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/be.js +1 -1
- package/dist/translations/be.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 +27 -27
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/previewfinalcontentcommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/index.js +1 -1
- package/src/integrations/aiassistant.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/bookmark.js +1 -1
- package/src/integrations/casechange.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/emoji.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/lineheight.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/mergefields.js +1 -1
- package/src/integrations/multilevellist.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/replacesourcecommand.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 +2 -2
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablelayout.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/uploadcare.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +2 -2
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangespreview.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +2 -2
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/ui/view/suggestionview.js +1 -1
- package/src/ui/view/trackchangespreviewview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x3ff958=_0x1fa8;function _0x5062(){const _0x2f9c92=['4149186aRgQhn','385416ugbvKF','7KefjBW','previewFinalContent','pluginName','388pYEbmk','1055943MjoXKC','trackChanges.preview.renderFunction','appendChild','1711344wUwryW','27785FNzrvT','isOfficialPlugin','isPremiumPlugin','define','5809656dSQheM','TrackChangesPreview','commands','add','272098IoNnYg','requires','editor','config'];_0x5062=function(){return _0x2f9c92;};return _0x5062();}(function(_0x554af6,_0x5418bf){const _0x164bb5=_0x1fa8,_0x52e9a5=_0x554af6();while(!![]){try{const _0x2c7fda=parseInt(_0x164bb5(0x7e))/0x1+-parseInt(_0x164bb5(0x8a))/0x2+-parseInt(_0x164bb5(0x81))/0x3+-parseInt(_0x164bb5(0x7d))/0x4*(-parseInt(_0x164bb5(0x82))/0x5)+-parseInt(_0x164bb5(0x8e))/0x6*(-parseInt(_0x164bb5(0x90))/0x7)+-parseInt(_0x164bb5(0x86))/0x8+-parseInt(_0x164bb5(0x8f))/0x9;if(_0x2c7fda===_0x5418bf)break;else _0x52e9a5['push'](_0x52e9a5['shift']());}catch(_0x58d844){_0x52e9a5['push'](_0x52e9a5['shift']());}}}(_0x5062,0xc5fdf));import{Plugin as _0x3bfc34}from'ckeditor5/src/core.js';function _0x1fa8(_0xc33865,_0x4cf640){const _0x506275=_0x5062();return _0x1fa8=function(_0x1fa886,_0x425c88){_0x1fa886=_0x1fa886-0x7c;let _0x432ea2=_0x506275[_0x1fa886];return _0x432ea2;},_0x1fa8(_0xc33865,_0x4cf640);}import{Dialog as _0x3d30c1}from'ckeditor5/src/ui.js';import{TrackChangesData as _0xc1cccc}from'./trackchangesdata.js';import{PreviewFinalContentCommand as _0x160a5b}from'./commands/previewfinalcontentcommand.js';import'../theme/trackchangespreview.css';export class TrackChangesPreview extends _0x3bfc34{static get[_0x3ff958(0x8b)](){return[_0xc1cccc,_0x3d30c1];}static get[_0x3ff958(0x7c)](){const _0x3faeeb=_0x3ff958;return _0x3faeeb(0x87);}static get[_0x3ff958(0x83)](){return!0x0;}static get[_0x3ff958(0x84)](){return!0x0;}constructor(_0x10e260){const _0x4cad79=_0x3ff958;super(_0x10e260),_0x10e260[_0x4cad79(0x88)][_0x4cad79(0x89)](_0x4cad79(0x91),new _0x160a5b(this[_0x4cad79(0x8c)])),_0x10e260[_0x4cad79(0x8d)][_0x4cad79(0x85)](_0x4cad79(0x7f),(_0x106660,_0x2c1461)=>{const _0x3384a3=_0x4cad79;for(const _0x59914e of _0x2c1461)_0x106660[_0x3384a3(0x80)](_0x59914e);});}}
|
package/src/trackchangesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0xe51f79=_0xbedc;(function(_0x5e982c,_0x5f358b){const _0x56c503=_0xbedc,_0x4c04d9=_0x5e982c();while(!![]){try{const _0x46a834=-parseInt(_0x56c503(0x209))/0x1+-parseInt(_0x56c503(0x1f3))/0x2*(-parseInt(_0x56c503(0x219))/0x3)+-parseInt(_0x56c503(0x237))/0x4*(-parseInt(_0x56c503(0x244))/0x5)+-parseInt(_0x56c503(0x1e8))/0x6*(-parseInt(_0x56c503(0x22d))/0x7)+-parseInt(_0x56c503(0x251))/0x8*(parseInt(_0x56c503(0x1d4))/0x9)+-parseInt(_0x56c503(0x1e5))/0xa*(-parseInt(_0x56c503(0x230))/0xb)+-parseInt(_0x56c503(0x205))/0xc;if(_0x46a834===_0x5f358b)break;else _0x4c04d9['push'](_0x4c04d9['shift']());}catch(_0x7e3061){_0x4c04d9['push'](_0x4c04d9['shift']());}}}(_0x3a8b,0xb9282));import{Plugin as _0x27763c}from'ckeditor5/src/core.js';function _0x3a8b(){const _0x3ea4bb=['trackChangesLicenseKeyNotAllowed','model','EditorAnnotations','_suggestionToController','expired','6196876bjtiYo','createAnnotation','_unbindEditors','2563ddoDDI','trackChangesLicenseKeyEvaluationLimit','stopListening','TrackChangesUI','getMarkers','isDirty','_licenseKeyCheckInterval','12jSpzyt','value','refreshSelectedViews','define','descriptionParts','isEnabled','isOn','SuggestionThreadView','Accept\x20all\x20suggestions','_showLicenseError','destroy','trackChangesLicenseKeyValid','createCommentThreadController','1968410sFnYpH','get','createAnnotationView','innerView','source','items','_initializeController','descriptionFactory','delegate','discardAllSuggestions','change:activeAnnotations','addComment','_bindAnnotationToEditors','145816RaVbkC','acceptSelectedSuggestions','getByInnerView','menuBar:trackChanges','trackChanges.SuggestionThreadView','getAllAdjacentSuggestions','push','_createMenuBarMenu','_handleControllerBuffer','previewFinalContent','_handleSuggestionControllerDelayed','suggestionLoaded','_disableComments','getDescriptions','componentFactory','lowest','locale','comments','_annotationViews','mainView','previous','trialLimit','comments.maxCommentsWhenCollapsed','change:previous','_addUIComponentsToFactory','editing','SuggestionView','clear','CommentsRepository','remove','bind','isPremiumPlugin','Track\x20changes','editor','comments.maxCommentCharsWhenCollapsed','buttonView','isInContent','size','arrowView','TrackChangesPreview','escape','getAnnotationForSuggestion','Preview\x20final\x20content','menuitemcheckbox','panelView','menu','registerAnnotation','_viewToController','addMany','switchbutton','commands','trackChangesLicenseKeyUsageLimit','Annotations','length','getJoined','495IFpSmM','evaluationLimit','unbind','getRanges','TrackChanges','discardButton','TrackChangesEditing','getSuggestionForAnnotation','Discard\x20all\x20selected\x20suggestions','button','reduce','focus','add','_refreshActiveMarkers','separator','trackChangesLicenseKeyTrialLimit','usageLimit','59020TZvPjr','trackChangesLicenseKeyDomainLimit','suggestionChanged','6lvVwxo','activeAnnotations','view','toMany','commentsListView','trackChangesLicenseKeyInvalid','suggestionUnloaded','getFirstRange','acceptAllSuggestions','has','trackChanges.SuggestionView','2eJMmGN','_updateController','discardSelectedSuggestions','getSuggestion','requires','invalid','values','trackChanges.disableComments','plugins','commentThread','suggestion-','type','isMultiRange','set','_destroyController','comments.editorConfig','filter','delete','23276868KrcrAq','from','domainLimit','isOfficialPlugin','1129673GTBPlU','activeMarkers','Discard\x20all\x20suggestions','getMarkerNames','featureNotAllowed','keys','listenTo','CommentView','CommentsUI','Accept\x20all\x20selected\x20suggestions','head','fire','children','hasSuggestion','actionView','comments.maxThreadTotalWeight','4166457IKqfQW','config','some','suggestionView','execute','trackChanges','_createToolbarButton','trackChangesLicenseKeyExpired','licenseKey','addSourceCollector','commandName','menuitem','init','acceptButton','pluginName'];_0x3a8b=function(){return _0x3ea4bb;};return _0x3a8b();}import{Collection as _0x421015}from'ckeditor5/src/utils.js';import{IconTrackChanges as _0x598d89}from'ckeditor5/src/icons.js';import{addListToDropdown as _0x5f3238,createDropdown as _0x1686a1,ListSeparatorView as _0x46b4d4,MenuBarMenuView as _0x6ccc1c,MenuBarMenuListView as _0x540123,MenuBarMenuListItemView as _0x32a694,MenuBarMenuListItemButtonView as _0xf0cb32,SplitButtonView as _0x28ff8e,UIModel as _0x3124ab}from'ckeditor5/src/ui.js';import{Users as _0x50efcd,getDateTimeFormatter as _0x4658d9,getAllMarkersDomElementsSorted as _0x92cb8c}from'ckeditor5-collaboration/src/collaboration-core.js';function _0xbedc(_0x90e511,_0x27f742){const _0x3a8b3a=_0x3a8b();return _0xbedc=function(_0xbedc21,_0xf30748){_0xbedc21=_0xbedc21-0x1cc;let _0x5ca5b5=_0x3a8b3a[_0xbedc21];return _0x5ca5b5;},_0xbedc(_0x90e511,_0x27f742);}import{TrackChangesEditing as _0x46f414}from'./trackchangesediting.js';import{SuggestionController as _0xbdd09a}from'./ui/suggestioncontroller.js';import{SuggestionThreadView as _0x284178}from'./ui/view/suggestionthreadview.js';import{SuggestionView as _0xc00b56}from'./ui/view/suggestionview.js';import{getTranslation as _0x5acac2}from'./utils/common-translations.js';export class TrackChangesUI extends _0x27763c{[_0xe51f79(0x221)];[_0xe51f79(0x236)];[_0xe51f79(0x22b)];[_0xe51f79(0x1cc)];[_0xe51f79(0x263)];[_0xe51f79(0x259)];[_0xe51f79(0x25d)];static get[_0xe51f79(0x1f7)](){const _0x5efdf5=_0xe51f79;return[_0x46f414,_0x50efcd,_0x5efdf5(0x26d),_0x5efdf5(0x1d1),_0x5efdf5(0x22a)];}static get[_0xe51f79(0x227)](){const _0x8e1496=_0xe51f79;return _0x8e1496(0x233);}static get[_0xe51f79(0x208)](){return!0x0;}static get[_0xe51f79(0x270)](){return!0x0;}constructor(_0x48b4e4){const _0x1b8997=_0xe51f79;super(_0x48b4e4),this[_0x1b8997(0x22b)]=new Map(),this[_0x1b8997(0x1cc)]=new Map(),this[_0x1b8997(0x263)]=new Map(),this[_0x1b8997(0x259)]=new Map();const _0x4fbee3=this[_0x1b8997(0x272)][_0x1b8997(0x21a)];_0x4fbee3[_0x1b8997(0x23a)](_0x1b8997(0x255),_0x284178),_0x4fbee3[_0x1b8997(0x23a)](_0x1b8997(0x1f2),_0xc00b56),_0x4fbee3[_0x1b8997(0x23a)](_0x1b8997(0x1fa),!0x1),this[_0x1b8997(0x25d)]=_0x4fbee3[_0x1b8997(0x245)](_0x1b8997(0x1fa));}[_0xe51f79(0x25b)](_0x44bcd9,_0x514f11){const _0x2d277f=_0xe51f79;0x0===this[_0x2d277f(0x259)][_0x2d277f(0x276)]&&setTimeout(()=>{const _0x5bc475=_0x2d277f;for(const [_0x88e77,_0x46be2a]of this[_0x5bc475(0x259)]){const _0x5fd4ed=this[_0x5bc475(0x22b)][_0x5bc475(0x1f1)](_0x88e77);_0x5fd4ed||_0x46be2a?_0x5fd4ed&&_0x46be2a&&this[_0x5bc475(0x201)](_0x88e77):this[_0x5bc475(0x24a)](_0x88e77);}this[_0x5bc475(0x259)][_0x5bc475(0x26c)](),this[_0x5bc475(0x272)][_0x5bc475(0x1fb)][_0x5bc475(0x245)](_0x5bc475(0x22a))[_0x5bc475(0x239)](),this[_0x5bc475(0x1e1)]();},0xa),this[_0x2d277f(0x259)][_0x2d277f(0x200)](_0x44bcd9,_0x514f11);}[_0xe51f79(0x225)](){const _0x344c81=_0xe51f79,_0x26504b=this[_0x344c81(0x272)],_0x5c1266=_0x26504b[_0x344c81(0x1fb)][_0x344c81(0x245)](_0x344c81(0x1da)),_0x3f8848=_0x26504b[_0x344c81(0x1fb)][_0x344c81(0x245)](_0x344c81(0x1d1)),_0x8341d1=_0x26504b[_0x344c81(0x1fb)][_0x344c81(0x245)](_0x344c81(0x22a)),_0x352775=_0x26504b[_0x344c81(0x1fb)][_0x344c81(0x245)](_0x344c81(0x26d));this[_0x344c81(0x269)](),_0x8341d1[_0x344c81(0x222)](()=>{const _0x392ea2=_0x344c81,_0x217f32=[];for(const [_0x214af8,_0x24c84c]of Array[_0x392ea2(0x206)](this[_0x392ea2(0x22b)])){const _0x2ff757=_0x214af8[_0x392ea2(0x256)](),_0x13f491=[];for(const _0x116fd3 of _0x2ff757){if(!_0x116fd3[_0x392ea2(0x275)])continue;if(_0x116fd3[_0x392ea2(0x1ff)]){_0x13f491[_0x392ea2(0x257)](..._0x116fd3[_0x392ea2(0x1d7)]());continue;}const _0x354e8f=_0x116fd3[_0x392ea2(0x1ef)]();if(_0x13f491[_0x392ea2(0x1d2)]>0x0){const _0x433e27=_0x13f491[0x0][_0x392ea2(0x1d3)](_0x354e8f);if(_0x433e27){_0x13f491[0x0]=_0x433e27;continue;}}_0x13f491[_0x392ea2(0x257)](_0x354e8f);}_0x217f32[_0x392ea2(0x257)]([_0x24c84c[_0x392ea2(0x1ea)],_0x13f491]);}return _0x217f32;}),this[_0x344c81(0x20f)](_0x5c1266,_0x344c81(0x25c),(_0x214225,_0x1c2975)=>{const _0x798d3b=_0x344c81;this[_0x798d3b(0x20f)](_0x1c2975,_0x798d3b(0x268),(_0x199ea9,_0x30f686,_0xbd654e,_0xc5a7f3)=>{const _0x53c963=_0x798d3b;_0x1c2975[_0x53c963(0x275)]&&(null==_0xbd654e?(this[_0x53c963(0x1f4)](_0xc5a7f3[_0x53c963(0x213)]),this[_0x53c963(0x25b)](_0x1c2975,!0x1)):(this[_0x53c963(0x1f4)](_0xbd654e[_0x53c963(0x213)]),null==_0xc5a7f3&&this[_0x53c963(0x25b)](_0x1c2975,!0x0)));}),null!==_0x1c2975[_0x798d3b(0x265)]?this[_0x798d3b(0x1f4)](_0x1c2975[_0x798d3b(0x213)]):this[_0x798d3b(0x25b)](_0x1c2975,!0x1);}),this[_0x344c81(0x20f)](_0x5c1266,_0x344c81(0x1ee),(_0x53abb5,_0x480283,_0x154730)=>{const _0x27e206=_0x344c81;this[_0x27e206(0x232)](_0x480283,_0x27e206(0x268)),this[_0x27e206(0x259)][_0x27e206(0x204)](_0x480283),this[_0x27e206(0x22b)][_0x27e206(0x1f1)](_0x480283)&&this[_0x27e206(0x201)](_0x480283),_0x154730&&this[_0x27e206(0x1f4)](_0x154730[_0x27e206(0x213)]);}),this[_0x344c81(0x20f)](_0x5c1266,_0x344c81(0x1e7),(_0x33ebea,_0x2bb0fd)=>{const _0x1e4f06=_0x344c81;this[_0x1e4f06(0x1f4)](_0x2bb0fd);}),this[_0x344c81(0x20f)](_0x3f8848,_0x344c81(0x24e),()=>{const _0x3fdd48=_0x344c81;this[_0x3fdd48(0x1e1)]();}),this[_0x344c81(0x20f)](_0x352775,_0x344c81(0x24f),(_0x36c20f,{threadId:_0x47d07f,isFromAdapter:_0x1950a3})=>{const _0x4c9f2f=_0x344c81;if(_0x1950a3||!_0x5c1266[_0x4c9f2f(0x216)](_0x47d07f))return;const _0x349e6f=_0x5c1266[_0x4c9f2f(0x1f6)](_0x47d07f);this[_0x4c9f2f(0x22b)][_0x4c9f2f(0x245)](_0x349e6f)[_0x4c9f2f(0x1ea)][_0x4c9f2f(0x1ec)][_0x4c9f2f(0x1df)](-0x1);},{'priority':_0x344c81(0x260)}),this[_0x344c81(0x221)]=this[_0x344c81(0x272)][_0x344c81(0x21a)][_0x344c81(0x245)](_0x344c81(0x221));const _0x46e937=this[_0x344c81(0x272)];this[_0x344c81(0x236)]=setInterval(()=>{const _0x32c2db=_0x344c81;let _0x1ae433;for(const _0xc096aa in _0x46e937){const _0x93ca98=_0xc096aa,_0x2eaee1=_0x46e937[_0x93ca98];if(_0x32c2db(0x242)==_0x2eaee1||_0x32c2db(0x1ed)==_0x2eaee1||_0x32c2db(0x220)==_0x2eaee1||_0x32c2db(0x1e6)==_0x2eaee1||_0x32c2db(0x228)==_0x2eaee1||_0x32c2db(0x231)==_0x2eaee1||_0x32c2db(0x1e3)==_0x2eaee1||_0x32c2db(0x1d0)==_0x2eaee1){delete _0x46e937[_0x93ca98],_0x1ae433=_0x2eaee1,clearInterval(this[_0x32c2db(0x236)]),this[_0x32c2db(0x236)]=void 0x0;break;}}_0x32c2db(0x1ed)==_0x1ae433&&_0x46e937[_0x32c2db(0x240)](_0x32c2db(0x1f8)),_0x32c2db(0x220)==_0x1ae433&&_0x46e937[_0x32c2db(0x240)](_0x32c2db(0x22c)),_0x32c2db(0x1e6)==_0x1ae433&&_0x46e937[_0x32c2db(0x240)](_0x32c2db(0x207)),_0x32c2db(0x228)==_0x1ae433&&_0x46e937[_0x32c2db(0x240)](_0x32c2db(0x20d),_0x32c2db(0x1d8)),_0x32c2db(0x231)==_0x1ae433&&_0x46e937[_0x32c2db(0x240)](_0x32c2db(0x1d5)),_0x32c2db(0x1e3)==_0x1ae433&&_0x46e937[_0x32c2db(0x240)](_0x32c2db(0x266)),_0x32c2db(0x1d0)==_0x1ae433&&_0x46e937[_0x32c2db(0x240)](_0x32c2db(0x1e4));},0x3e8);}[_0xe51f79(0x27a)](_0x414982){const _0x5df396=_0xe51f79,_0x5e9fff=this[_0x5df396(0x22b)][_0x5df396(0x245)](_0x414982);if(!_0x5e9fff)return null;return this[_0x5df396(0x272)][_0x5df396(0x1fb)][_0x5df396(0x245)](_0x5df396(0x1d1))[_0x5df396(0x253)](_0x5e9fff[_0x5df396(0x1ea)])||null;}[_0xe51f79(0x1db)](_0x381be6){const _0x1cf56c=_0xe51f79,_0x2e68c1=this[_0x1cf56c(0x1cc)][_0x1cf56c(0x245)](_0x381be6[_0x1cf56c(0x247)]);return _0x2e68c1?_0x2e68c1[_0x1cf56c(0x229)]:null;}[_0xe51f79(0x1e1)](){const _0x48639d=_0xe51f79,_0x21298c=this[_0x48639d(0x272)][_0x48639d(0x1fb)][_0x48639d(0x245)](_0x48639d(0x1d1)),_0x278c0d=this[_0x48639d(0x272)][_0x48639d(0x1fb)][_0x48639d(0x245)](_0x48639d(0x1da)),_0x22f18f=Array[_0x48639d(0x206)](_0x21298c[_0x48639d(0x1e9)],_0x553278=>_0x553278[_0x48639d(0x247)])[_0x48639d(0x203)](_0x3b3e58=>this[_0x48639d(0x1cc)][_0x48639d(0x1f1)](_0x3b3e58)),_0xc3c81d=[];for(const _0x449d6f of _0x22f18f){const _0x15965c=this[_0x48639d(0x1cc)][_0x48639d(0x245)](_0x449d6f)[_0x48639d(0x229)][_0x48639d(0x256)]();_0xc3c81d[_0x48639d(0x257)](..._0x15965c[_0x48639d(0x1de)]((_0x15122c,_0x4e1575)=>[..._0x15122c,..._0x4e1575[_0x48639d(0x20c)]()],[]));}_0x278c0d[_0x48639d(0x20a)]=_0xc3c81d;}[_0xe51f79(0x269)](){const _0x275cea=_0xe51f79,_0x346856=this[_0x275cea(0x272)],_0x11e466=_0x346856[_0x275cea(0x261)],_0x23078d=_0x5acac2(_0x11e466,_0x275cea(0x271)),_0x598569=new _0x421015([{'type':_0x275cea(0x1ce),'model':new _0x3124ab({'withText':!0x0,'isToggleable':!0x0,'label':_0x23078d,'commandName':_0x275cea(0x21e),'role':_0x275cea(0x27c)})},{'type':_0x275cea(0x1e2)},{'type':_0x275cea(0x1dd),'model':new _0x3124ab({'withText':!0x0,'label':_0x5acac2(_0x11e466,_0x275cea(0x23f)),'commandName':_0x275cea(0x1f0),'role':_0x275cea(0x224)})},{'type':_0x275cea(0x1dd),'model':new _0x3124ab({'withText':!0x0,'label':_0x5acac2(_0x11e466,_0x275cea(0x212)),'commandName':_0x275cea(0x252),'role':_0x275cea(0x224)})},{'type':_0x275cea(0x1dd),'model':new _0x3124ab({'withText':!0x0,'label':_0x5acac2(_0x11e466,_0x275cea(0x20b)),'commandName':_0x275cea(0x24d),'role':_0x275cea(0x224)})},{'type':_0x275cea(0x1dd),'model':new _0x3124ab({'withText':!0x0,'label':_0x5acac2(_0x11e466,_0x275cea(0x1dc)),'commandName':_0x275cea(0x1f5),'role':_0x275cea(0x224)})}]);_0x346856[_0x275cea(0x1fb)][_0x275cea(0x1f1)](_0x275cea(0x278))&&_0x598569[_0x275cea(0x1cd)]([{'type':_0x275cea(0x1e2)},{'type':_0x275cea(0x1dd),'model':new _0x3124ab({'withText':!0x0,'label':_0x5acac2(_0x11e466,_0x275cea(0x27b)),'commandName':_0x275cea(0x25a),'role':_0x275cea(0x224)})}]);for(const _0x1eeaa2 of _0x598569)if(ke(_0x1eeaa2)){const _0x9bb2f9=_0x346856[_0x275cea(0x1cf)][_0x275cea(0x245)](_0x1eeaa2[_0x275cea(0x229)][_0x275cea(0x223)]);_0x1eeaa2[_0x275cea(0x229)][_0x275cea(0x26f)](_0x275cea(0x23d),_0x275cea(0x23c))['to'](_0x9bb2f9,_0x275cea(0x238),_0x275cea(0x23c));}_0x346856['ui'][_0x275cea(0x25f)][_0x275cea(0x1e0)](_0x275cea(0x21e),_0x3332b7=>this[_0x275cea(0x21f)](_0x3332b7,_0x598569,_0x23078d)),_0x346856['ui'][_0x275cea(0x25f)][_0x275cea(0x1e0)](_0x275cea(0x254),_0x4db2aa=>this[_0x275cea(0x258)](_0x4db2aa,_0x598569,_0x23078d));}[_0xe51f79(0x21f)](_0x44e641,_0x617d90,_0x1bb35f){const _0x24b47a=_0xe51f79,_0x4a4b12=_0x1686a1(_0x44e641,_0x28ff8e),_0xc6208a=this[_0x24b47a(0x272)][_0x24b47a(0x1cf)][_0x24b47a(0x245)](_0x24b47a(0x21e));_0x4a4b12[_0x24b47a(0x274)][_0x24b47a(0x200)]({'tooltip':_0x1bb35f,'label':_0x1bb35f,'icon':_0x598d89}),_0x4a4b12[_0x24b47a(0x274)][_0x24b47a(0x26f)](_0x24b47a(0x23d))['to'](_0xc6208a,_0x24b47a(0x238)),_0x4a4b12[_0x24b47a(0x274)]['on'](_0x24b47a(0x21d),()=>{const _0x34027a=_0x24b47a;_0xc6208a[_0x34027a(0x21d)](),this[_0x34027a(0x272)][_0x34027a(0x26a)][_0x34027a(0x1ea)][_0x34027a(0x1df)]();}),_0x5f3238(_0x4a4b12,_0x617d90,{'role':_0x24b47a(0x27e)});const _0x59cc26=[];for(const _0x2ca23b of _0x617d90)ke(_0x2ca23b)&&_0x59cc26[_0x24b47a(0x257)](this[_0x24b47a(0x272)][_0x24b47a(0x1cf)][_0x24b47a(0x245)](_0x2ca23b[_0x24b47a(0x229)][_0x24b47a(0x223)]));const _0x4965d9=_0x4a4b12[_0x24b47a(0x274)];return _0x4965d9[_0x24b47a(0x217)][_0x24b47a(0x1d6)](_0x24b47a(0x23c)),_0x4965d9[_0x24b47a(0x277)][_0x24b47a(0x1d6)](_0x24b47a(0x23c)),_0x4965d9[_0x24b47a(0x217)][_0x24b47a(0x26f)](_0x24b47a(0x23c))['to'](_0xc6208a,_0x24b47a(0x23c)),_0x4965d9[_0x24b47a(0x277)][_0x24b47a(0x26f)](_0x24b47a(0x23c))[_0x24b47a(0x1eb)](_0x59cc26,_0x24b47a(0x23c),(..._0xfea653)=>_0xfea653[_0x24b47a(0x21b)](_0x369ca3=>_0x369ca3)),_0x4a4b12['on'](_0x24b47a(0x21d),_0x41f9fe=>{const _0xd120b8=_0x24b47a;this[_0xd120b8(0x272)][_0xd120b8(0x21d)](_0x41f9fe[_0xd120b8(0x248)][_0xd120b8(0x223)]),this[_0xd120b8(0x272)][_0xd120b8(0x26a)][_0xd120b8(0x1ea)][_0xd120b8(0x1df)]();}),_0x4a4b12;}[_0xe51f79(0x258)](_0x104f5d,_0x102621,_0x362c04){const _0x344434=_0xe51f79,_0x15ff00=new _0x6ccc1c(_0x104f5d),_0x5b301b=this[_0x344434(0x272)][_0x344434(0x1cf)][_0x344434(0x245)](_0x344434(0x21e));_0x15ff00[_0x344434(0x274)][_0x344434(0x200)]({'label':_0x362c04,'icon':_0x598d89});const _0x25a66d=new _0x540123(_0x104f5d);for(const _0xcd2374 of _0x102621){if(_0x344434(0x1e2)==_0xcd2374[_0x344434(0x1fe)]){_0x25a66d[_0x344434(0x249)][_0x344434(0x1e0)](new _0x46b4d4(_0x104f5d));continue;}const _0x26292c=new _0x32a694(_0x104f5d,_0x15ff00),_0x2e7603=new _0xf0cb32(_0x104f5d),_0x4e725d=_0xcd2374[_0x344434(0x229)];_0x2e7603[_0x344434(0x26f)](...Object[_0x344434(0x20e)](_0x4e725d))['to'](_0x4e725d),_0x2e7603[_0x344434(0x24c)](_0x344434(0x21d))['to'](_0x15ff00),_0x2e7603['on'](_0x344434(0x21d),()=>{const _0x5d8753=_0x344434;this[_0x5d8753(0x272)][_0x5d8753(0x21d)](_0x4e725d[_0x5d8753(0x223)]),this[_0x5d8753(0x272)][_0x5d8753(0x26a)][_0x5d8753(0x1ea)][_0x5d8753(0x1df)]();}),_0x26292c[_0x344434(0x215)][_0x344434(0x1e0)](_0x2e7603),_0x25a66d[_0x344434(0x249)][_0x344434(0x1e0)](_0x26292c);}return _0x15ff00[_0x344434(0x26f)](_0x344434(0x23c))['to'](_0x5b301b,_0x344434(0x23c)),_0x15ff00[_0x344434(0x27d)][_0x344434(0x215)][_0x344434(0x1e0)](_0x25a66d),_0x15ff00;}[_0xe51f79(0x24a)](_0x59a344){const _0x2271f3=_0xe51f79,_0x52f4ad=this[_0x2271f3(0x272)],_0x574b14=_0x52f4ad[_0x2271f3(0x21a)],_0x1268fa=_0x52f4ad[_0x2271f3(0x1fb)][_0x2271f3(0x245)](_0x2271f3(0x1d1)),_0x55d39f=_0x52f4ad[_0x2271f3(0x1fb)][_0x2271f3(0x245)](_0x2271f3(0x26d)),_0x4cbec5=_0x52f4ad[_0x2271f3(0x1fb)][_0x2271f3(0x245)](_0x2271f3(0x22a)),_0x2de38f=_0x52f4ad[_0x2271f3(0x1fb)][_0x2271f3(0x245)](_0x50efcd)['me'],_0x326411=_0x574b14[_0x2271f3(0x245)](_0x2271f3(0x21e))[_0x2271f3(0x23e)],_0x185ef1=_0x574b14[_0x2271f3(0x245)](_0x2271f3(0x21e))[_0x2271f3(0x26b)],{CommentsListView:_0x4356c1,CommentThreadInputView:_0x46d380}=_0x52f4ad[_0x2271f3(0x1fb)][_0x2271f3(0x245)](_0x2271f3(0x211));let _0x59bd15,_0x306f6c,_0x528561;this[_0x2271f3(0x263)][_0x2271f3(0x1f1)](_0x59a344['id'])?(_0x306f6c=this[_0x2271f3(0x263)][_0x2271f3(0x245)](_0x59a344['id']),_0x59bd15=_0x306f6c[_0x2271f3(0x264)]):(_0x59bd15=new _0x326411(_0x52f4ad[_0x2271f3(0x261)],_0x59a344,_0x2de38f,{'disableComments':this[_0x2271f3(0x25d)],'editorConfig':{..._0x574b14[_0x2271f3(0x245)](_0x2271f3(0x202)),'licenseKey':_0x574b14[_0x2271f3(0x245)](_0x2271f3(0x221))},'maxCommentsWhenCollapsed':_0x574b14[_0x2271f3(0x245)](_0x2271f3(0x267)),'maxThreadTotalWeight':_0x574b14[_0x2271f3(0x245)](_0x2271f3(0x218)),'maxCommentCharsWhenCollapsed':_0x574b14[_0x2271f3(0x245)](_0x2271f3(0x273)),'formatDateTime':_0x4658d9(_0x574b14[_0x2271f3(0x245)](_0x2271f3(0x261)),_0x52f4ad[_0x2271f3(0x261)]),'CommentView':_0x574b14[_0x2271f3(0x245)](_0x2271f3(0x262))[_0x2271f3(0x210)],'CommentsListView':_0x4356c1,'CommentThreadInputView':_0x46d380,'SuggestionView':_0x185ef1}),_0x59bd15[_0x2271f3(0x21c)][_0x2271f3(0x226)]['on'](_0x2271f3(0x21d),()=>{const _0x3b7139=_0x2271f3;_0x52f4ad[_0x3b7139(0x26a)][_0x3b7139(0x1ea)][_0x3b7139(0x1df)]();}),_0x59bd15[_0x2271f3(0x21c)][_0x2271f3(0x1d9)]['on'](_0x2271f3(0x21d),()=>{const _0x53b58e=_0x2271f3;_0x52f4ad[_0x53b58e(0x26a)][_0x53b58e(0x1ea)][_0x53b58e(0x1df)]();}),_0x306f6c=_0x1268fa[_0x2271f3(0x246)](this[_0x2271f3(0x272)][_0x2271f3(0x261)],_0x59bd15),_0x306f6c[_0x2271f3(0x26f)](_0x2271f3(0x235))['to'](_0x59bd15,_0x2271f3(0x235)),_0x306f6c[_0x2271f3(0x26f)](_0x2271f3(0x1d2))['to'](_0x59bd15),_0x306f6c[_0x2271f3(0x26f)](_0x2271f3(0x1fe))['to'](_0x59bd15,_0x2271f3(0x1fe),_0x5c35a8=>_0x2271f3(0x1fd)+_0x5c35a8),_0x59bd15['on'](_0x2271f3(0x279),()=>{const _0x264a9d=_0x2271f3;_0x528561[_0x264a9d(0x214)](_0x264a9d(0x279));}),this[_0x2271f3(0x263)][_0x2271f3(0x200)](_0x59a344['id'],_0x306f6c));const _0x177350=_0x55d39f[_0x2271f3(0x243)](_0x59a344[_0x2271f3(0x1fc)],_0x59bd15),_0x56e2d9=new _0xbdd09a(_0x52f4ad,_0x59a344,_0x59bd15,_0x177350),_0x14c8aa=_0x59a344[_0x2271f3(0x256)]()[_0x2271f3(0x203)](_0x5d9b1b=>_0x5d9b1b[_0x2271f3(0x275)]);_0x59bd15[_0x2271f3(0x23b)]=_0x52f4ad[_0x2271f3(0x1fb)][_0x2271f3(0x245)](_0x2271f3(0x1da))[_0x2271f3(0x24b)][_0x2271f3(0x25e)](_0x14c8aa),this[_0x2271f3(0x22b)][_0x2271f3(0x200)](_0x59a344,_0x56e2d9),this[_0x2271f3(0x1cc)][_0x2271f3(0x200)](_0x59bd15,_0x56e2d9);const _0x5d2681=()=>{const _0x51f3c2=_0x2271f3,_0x305ed6=[],_0x5cc89b=_0x59a344[_0x51f3c2(0x256)]()[_0x51f3c2(0x203)](_0x2024c7=>_0x2024c7[_0x51f3c2(0x275)]);for(const _0x5d2c30 of _0x5cc89b)_0x305ed6[_0x51f3c2(0x257)](..._0x5d2c30[_0x51f3c2(0x234)]());return _0x92cb8c(_0x52f4ad[_0x51f3c2(0x26a)],_0x305ed6);};_0x528561=_0x1268fa[_0x2271f3(0x22e)]({'view':_0x306f6c,'target':_0x5d2681,'type':()=>_0x2271f3(0x1fd)+_0x56e2d9[_0x2271f3(0x1ea)][_0x2271f3(0x1fe)],'isVisible':!!_0x5d2681()}),_0x55d39f[_0x2271f3(0x250)](_0x59bd15,_0x528561),_0x1268fa[_0x2271f3(0x1e0)](_0x528561),_0x4cbec5[_0x2271f3(0x27f)](_0x528561);}[_0xe51f79(0x201)](_0xc816ce){const _0x3b681c=_0xe51f79,_0x20e69f=this[_0x3b681c(0x272)][_0x3b681c(0x1fb)][_0x3b681c(0x245)](_0x3b681c(0x26d)),_0x447628=this[_0x3b681c(0x272)][_0x3b681c(0x1fb)][_0x3b681c(0x245)](_0x3b681c(0x1d1)),_0x6f40ac=this[_0x3b681c(0x22b)][_0x3b681c(0x245)](_0xc816ce),_0x599d7e=_0x6f40ac[_0x3b681c(0x1ea)],_0x422e47=_0x447628[_0x3b681c(0x253)](_0x599d7e);_0x20e69f[_0x3b681c(0x22f)](_0x599d7e),_0x422e47&&_0x447628[_0x3b681c(0x26e)](_0x422e47),this[_0x3b681c(0x22b)][_0x3b681c(0x204)](_0xc816ce),this[_0x3b681c(0x1cc)][_0x3b681c(0x204)](_0x599d7e),_0x6f40ac[_0x3b681c(0x241)]();}[_0xe51f79(0x1f4)](_0x489db3){const _0x55c293=_0xe51f79;if(!_0x489db3[_0x55c293(0x275)]||!this[_0x55c293(0x22b)][_0x55c293(0x1f1)](_0x489db3))return;const _0x553d37=this[_0x55c293(0x272)][_0x55c293(0x1fb)][_0x55c293(0x245)](_0x55c293(0x1da)),_0x24de79=this[_0x55c293(0x22b)][_0x55c293(0x245)](_0x489db3),_0x21a17f=_0x489db3[_0x55c293(0x256)]();_0x24de79[_0x55c293(0x1ea)][_0x55c293(0x23b)]=_0x553d37[_0x55c293(0x24b)][_0x55c293(0x25e)](_0x21a17f);}[_0xe51f79(0x241)](){const _0x32a110=_0xe51f79;for(const _0x30dd30 of this[_0x32a110(0x22b)][_0x32a110(0x20e)]())this[_0x32a110(0x201)](_0x30dd30);for(const _0x2a26ed of this[_0x32a110(0x263)][_0x32a110(0x1f9)]())_0x2a26ed[_0x32a110(0x264)][_0x32a110(0x241)]();super[_0x32a110(0x241)](),this[_0x32a110(0x236)]&&clearInterval(this[_0x32a110(0x236)]);}}function ke(_0x34af5f){const _0x46a01f=_0xe51f79;return _0x46a01f(0x229)in _0x34af5f;}
|
|
23
|
+
const _0x22146a=_0x5c92;(function(_0x489e14,_0x2f7dfc){const _0xc06b89=_0x5c92,_0x416b60=_0x489e14();while(!![]){try{const _0xfcb391=-parseInt(_0xc06b89(0x277))/0x1+parseInt(_0xc06b89(0x1fd))/0x2*(parseInt(_0xc06b89(0x260))/0x3)+parseInt(_0xc06b89(0x27b))/0x4*(parseInt(_0xc06b89(0x213))/0x5)+parseInt(_0xc06b89(0x293))/0x6+parseInt(_0xc06b89(0x22e))/0x7+-parseInt(_0xc06b89(0x238))/0x8+-parseInt(_0xc06b89(0x26c))/0x9;if(_0xfcb391===_0x2f7dfc)break;else _0x416b60['push'](_0x416b60['shift']());}catch(_0x5d1f7f){_0x416b60['push'](_0x416b60['shift']());}}}(_0x46a3,0xab9c3));import{Plugin as _0xcd9816}from'ckeditor5/src/core.js';import{Collection as _0x21ac7d}from'ckeditor5/src/utils.js';import{IconTrackChanges as _0x23aacb}from'ckeditor5/src/icons.js';function _0x46a3(){const _0x2ea838=['view','suggestionLoaded','fire','337272NhxaIG','suggestionUnloaded','innerView','Discard\x20all\x20selected\x20suggestions','clear','push','locale','escape','_destroyController','acceptSelectedSuggestions','filter','size','isPremiumPlugin','SuggestionView','comments.editorConfig','trackChanges','button','has','trackChangesLicenseKeyEvaluationLimit','trackChanges.SuggestionView','getAllAdjacentSuggestions','createAnnotation','unbind','suggestionView','getDescriptions','panelView','define','20112Dqofju','change:previous','init','Preview\x20final\x20content','set','mainView','trackChangesLicenseKeyExpired','componentFactory','delegate','suggestionChanged','getMarkers','_updateController','_initializeController','getFirstRange','isOn','TrackChangesEditing','actionView','_bindAnnotationToEditors','commentsListView','destroy','get','_showLicenseError','5399985mCTCUI','addComment','getSuggestion','isInContent','descriptionParts','suggestion-','EditorAnnotations','trackChanges.disableComments','getJoined','createAnnotationView','createCommentThreadController','expired','trackChanges.SuggestionThreadView','Track\x20changes','editing','execute','reduce','source','getMarkerNames','Accept\x20all\x20selected\x20suggestions','focus','head','menuBar:trackChanges','model','type','discardAllSuggestions','trialLimit','4908610gCvfrP','children','TrackChangesPreview','trackChangesLicenseKeyInvalid','registerAnnotation','buttonView','_unbindEditors','addSourceCollector','activeMarkers','_handleControllerBuffer','4647800zzhEWF','_viewToController','_annotationViews','isOfficialPlugin','acceptAllSuggestions','isDirty','menu','usageLimit','CommentsUI','invalid','_refreshActiveMarkers','comments','hasSuggestion','refreshSelectedViews','comments.maxCommentCharsWhenCollapsed','licenseKey','toMany','trackChangesLicenseKeyValid','add','previous','separator','length','lowest','comments.maxThreadTotalWeight','SuggestionThreadView','arrowView','commandName','plugins','evaluationLimit','activeAnnotations','comments.maxCommentsWhenCollapsed','commentThread','_createToolbarButton','discardButton','commands','keys','bind','switchbutton','menuitem','discardSelectedSuggestions','360AHcAcP','values','trackChangesLicenseKeyUsageLimit','trackChangesLicenseKeyDomainLimit','config','featureNotAllowed','getAnnotationForSuggestion','Annotations','remove','acceptButton','CommentsRepository','stopListening','13822956ndhBkV','_licenseKeyCheckInterval','requires','change:activeAnnotations','addMany','Accept\x20all\x20suggestions','trackChangesLicenseKeyNotAllowed','TrackChangesUI','CommentView','_handleSuggestionControllerDelayed','_createMenuBarMenu','224385kZOCWZ','previewFinalContent','Discard\x20all\x20suggestions','trackChangesLicenseKeyTrialLimit','4oKdXWz','TrackChanges','menuitemcheckbox','getSuggestionForAnnotation','_addUIComponentsToFactory','from','domainLimit','some','isMultiRange','pluginName','listenTo','descriptionFactory','value','items','editor','getByInnerView','isEnabled','getRanges','_disableComments','_suggestionToController','delete'];_0x46a3=function(){return _0x2ea838;};return _0x46a3();}import{addListToDropdown as _0x374a27,createDropdown as _0x2989fb,ListSeparatorView as _0x3e3b2a,MenuBarMenuView as _0x3a704f,MenuBarMenuListView as _0xcc6c03,MenuBarMenuListItemView as _0x2dcb0b,MenuBarMenuListItemButtonView as _0x22d0e9,SplitButtonView as _0x4f8d1a,UIModel as _0x4daa65}from'ckeditor5/src/ui.js';import{Users as _0x3fc662,getDateTimeFormatter as _0x4eaae3,getAllMarkersDomElementsSorted as _0x194f1c}from'ckeditor5-collaboration/src/collaboration-core.js';import{TrackChangesEditing as _0x5a7509}from'./trackchangesediting.js';import{SuggestionController as _0x5248ca}from'./ui/suggestioncontroller.js';function _0x5c92(_0x4a898d,_0x250ecf){const _0x46a3ec=_0x46a3();return _0x5c92=function(_0x5c9221,_0x1ff9a0){_0x5c9221=_0x5c9221-0x1ea;let _0x3a4007=_0x46a3ec[_0x5c9221];return _0x3a4007;},_0x5c92(_0x4a898d,_0x250ecf);}import{SuggestionThreadView as _0x47fdcf}from'./ui/view/suggestionthreadview.js';import{SuggestionView as _0x428181}from'./ui/view/suggestionview.js';import{getTranslation as _0x7aae63}from'./utils/common-translations.js';export class TrackChangesUI extends _0xcd9816{[_0x22146a(0x247)];[_0x22146a(0x26d)];[_0x22146a(0x28e)];[_0x22146a(0x239)];[_0x22146a(0x23a)];[_0x22146a(0x237)];[_0x22146a(0x28d)];static get[_0x22146a(0x26e)](){const _0x455ba3=_0x22146a;return[_0x5a7509,_0x3fc662,_0x455ba3(0x26a),_0x455ba3(0x267),_0x455ba3(0x219)];}static get[_0x22146a(0x284)](){const _0x21ed08=_0x22146a;return _0x21ed08(0x273);}static get[_0x22146a(0x23b)](){return!0x0;}static get[_0x22146a(0x1ee)](){return!0x0;}constructor(_0x540b50){const _0x46e3b5=_0x22146a;super(_0x540b50),this[_0x46e3b5(0x28e)]=new Map(),this[_0x46e3b5(0x239)]=new Map(),this[_0x46e3b5(0x23a)]=new Map(),this[_0x46e3b5(0x237)]=new Map();const _0xfe6d19=this[_0x46e3b5(0x289)][_0x46e3b5(0x264)];_0xfe6d19[_0x46e3b5(0x1fc)](_0x46e3b5(0x21f),_0x47fdcf),_0xfe6d19[_0x46e3b5(0x1fc)](_0x46e3b5(0x1f5),_0x428181),_0xfe6d19[_0x46e3b5(0x1fc)](_0x46e3b5(0x21a),!0x1),this[_0x46e3b5(0x28d)]=_0xfe6d19[_0x46e3b5(0x211)](_0x46e3b5(0x21a));}[_0x22146a(0x275)](_0x41a765,_0x1321bd){const _0x5da925=_0x22146a;0x0===this[_0x5da925(0x237)][_0x5da925(0x1ed)]&&setTimeout(()=>{const _0x58978d=_0x5da925;for(const [_0x1a385a,_0x467312]of this[_0x58978d(0x237)]){const _0x4ed1c9=this[_0x58978d(0x28e)][_0x58978d(0x1f3)](_0x1a385a);_0x4ed1c9||_0x467312?_0x4ed1c9&&_0x467312&&this[_0x58978d(0x1ea)](_0x1a385a):this[_0x58978d(0x209)](_0x1a385a);}this[_0x58978d(0x237)][_0x58978d(0x297)](),this[_0x58978d(0x289)][_0x58978d(0x253)][_0x58978d(0x211)](_0x58978d(0x219))[_0x58978d(0x245)](),this[_0x58978d(0x242)]();},0xa),this[_0x5da925(0x237)][_0x5da925(0x201)](_0x41a765,_0x1321bd);}[_0x22146a(0x1ff)](){const _0x23469e=_0x22146a,_0x9ff5bf=this[_0x23469e(0x289)],_0xfb8c17=_0x9ff5bf[_0x23469e(0x253)][_0x23469e(0x211)](_0x23469e(0x20c)),_0x30a67b=_0x9ff5bf[_0x23469e(0x253)][_0x23469e(0x211)](_0x23469e(0x267)),_0x5cd6a4=_0x9ff5bf[_0x23469e(0x253)][_0x23469e(0x211)](_0x23469e(0x219)),_0x42910c=_0x9ff5bf[_0x23469e(0x253)][_0x23469e(0x211)](_0x23469e(0x26a));this[_0x23469e(0x27f)](),_0x5cd6a4[_0x23469e(0x235)](()=>{const _0x166d2c=_0x23469e,_0x1b5917=[];for(const [_0x5be26c,_0x4335e7]of Array[_0x166d2c(0x280)](this[_0x166d2c(0x28e)])){const _0x2b9fd5=_0x5be26c[_0x166d2c(0x1f6)](),_0x1ed24d=[];for(const _0x56f2cb of _0x2b9fd5){if(!_0x56f2cb[_0x166d2c(0x216)])continue;if(_0x56f2cb[_0x166d2c(0x283)]){_0x1ed24d[_0x166d2c(0x298)](..._0x56f2cb[_0x166d2c(0x28c)]());continue;}const _0x18a1be=_0x56f2cb[_0x166d2c(0x20a)]();if(_0x1ed24d[_0x166d2c(0x24d)]>0x0){const _0x2c607e=_0x1ed24d[0x0][_0x166d2c(0x21b)](_0x18a1be);if(_0x2c607e){_0x1ed24d[0x0]=_0x2c607e;continue;}}_0x1ed24d[_0x166d2c(0x298)](_0x18a1be);}_0x1b5917[_0x166d2c(0x298)]([_0x4335e7[_0x166d2c(0x290)],_0x1ed24d]);}return _0x1b5917;}),this[_0x23469e(0x285)](_0xfb8c17,_0x23469e(0x291),(_0x4ea9bf,_0x5ec4f3)=>{const _0x180468=_0x23469e;this[_0x180468(0x285)](_0x5ec4f3,_0x180468(0x1fe),(_0x566f02,_0x5b5d8c,_0x3e1500,_0x4960bd)=>{const _0x3fe0fd=_0x180468;_0x5ec4f3[_0x3fe0fd(0x216)]&&(null==_0x3e1500?(this[_0x3fe0fd(0x208)](_0x4960bd[_0x3fe0fd(0x228)]),this[_0x3fe0fd(0x275)](_0x5ec4f3,!0x1)):(this[_0x3fe0fd(0x208)](_0x3e1500[_0x3fe0fd(0x228)]),null==_0x4960bd&&this[_0x3fe0fd(0x275)](_0x5ec4f3,!0x0)));}),null!==_0x5ec4f3[_0x180468(0x24b)]?this[_0x180468(0x208)](_0x5ec4f3[_0x180468(0x228)]):this[_0x180468(0x275)](_0x5ec4f3,!0x1);}),this[_0x23469e(0x285)](_0xfb8c17,_0x23469e(0x294),(_0x5b0ea6,_0x1e4aee,_0x289c1b)=>{const _0x377385=_0x23469e;this[_0x377385(0x26b)](_0x1e4aee,_0x377385(0x1fe)),this[_0x377385(0x237)][_0x377385(0x28f)](_0x1e4aee),this[_0x377385(0x28e)][_0x377385(0x1f3)](_0x1e4aee)&&this[_0x377385(0x1ea)](_0x1e4aee),_0x289c1b&&this[_0x377385(0x208)](_0x289c1b[_0x377385(0x228)]);}),this[_0x23469e(0x285)](_0xfb8c17,_0x23469e(0x206),(_0x6aa2c2,_0xf0001d)=>{const _0x18d20e=_0x23469e;this[_0x18d20e(0x208)](_0xf0001d);}),this[_0x23469e(0x285)](_0x30a67b,_0x23469e(0x26f),()=>{const _0x3ff86c=_0x23469e;this[_0x3ff86c(0x242)]();}),this[_0x23469e(0x285)](_0x42910c,_0x23469e(0x214),(_0x5cf421,{threadId:_0x4aa2de,isFromAdapter:_0x106d1e})=>{const _0x295cec=_0x23469e;if(_0x106d1e||!_0xfb8c17[_0x295cec(0x244)](_0x4aa2de))return;const _0x5d9373=_0xfb8c17[_0x295cec(0x215)](_0x4aa2de);this[_0x295cec(0x28e)][_0x295cec(0x211)](_0x5d9373)[_0x295cec(0x290)][_0x295cec(0x20f)][_0x295cec(0x227)](-0x1);},{'priority':_0x23469e(0x24e)}),this[_0x23469e(0x247)]=this[_0x23469e(0x289)][_0x23469e(0x264)][_0x23469e(0x211)](_0x23469e(0x247));const _0x4797fe=this[_0x23469e(0x289)];this[_0x23469e(0x26d)]=setInterval(()=>{const _0xb7ef5f=_0x23469e;let _0x794685;for(const _0x569d41 in _0x4797fe){const _0x40da63=_0x569d41,_0x504d22=_0x4797fe[_0x40da63];if(_0xb7ef5f(0x249)==_0x504d22||_0xb7ef5f(0x231)==_0x504d22||_0xb7ef5f(0x203)==_0x504d22||_0xb7ef5f(0x263)==_0x504d22||_0xb7ef5f(0x272)==_0x504d22||_0xb7ef5f(0x1f4)==_0x504d22||_0xb7ef5f(0x27a)==_0x504d22||_0xb7ef5f(0x262)==_0x504d22){delete _0x4797fe[_0x40da63],_0x794685=_0x504d22,clearInterval(this[_0xb7ef5f(0x26d)]),this[_0xb7ef5f(0x26d)]=void 0x0;break;}}_0xb7ef5f(0x231)==_0x794685&&_0x4797fe[_0xb7ef5f(0x212)](_0xb7ef5f(0x241)),_0xb7ef5f(0x203)==_0x794685&&_0x4797fe[_0xb7ef5f(0x212)](_0xb7ef5f(0x21e)),_0xb7ef5f(0x263)==_0x794685&&_0x4797fe[_0xb7ef5f(0x212)](_0xb7ef5f(0x281)),_0xb7ef5f(0x272)==_0x794685&&_0x4797fe[_0xb7ef5f(0x212)](_0xb7ef5f(0x265),_0xb7ef5f(0x27c)),_0xb7ef5f(0x1f4)==_0x794685&&_0x4797fe[_0xb7ef5f(0x212)](_0xb7ef5f(0x254)),_0xb7ef5f(0x27a)==_0x794685&&_0x4797fe[_0xb7ef5f(0x212)](_0xb7ef5f(0x22d)),_0xb7ef5f(0x262)==_0x794685&&_0x4797fe[_0xb7ef5f(0x212)](_0xb7ef5f(0x23f));},0x3e8);}[_0x22146a(0x266)](_0x28b47d){const _0x2457a6=_0x22146a,_0x20e78b=this[_0x2457a6(0x28e)][_0x2457a6(0x211)](_0x28b47d);if(!_0x20e78b)return null;return this[_0x2457a6(0x289)][_0x2457a6(0x253)][_0x2457a6(0x211)](_0x2457a6(0x267))[_0x2457a6(0x28a)](_0x20e78b[_0x2457a6(0x290)])||null;}[_0x22146a(0x27e)](_0x47d237){const _0x88e8b5=_0x22146a,_0x57bcd5=this[_0x88e8b5(0x239)][_0x88e8b5(0x211)](_0x47d237[_0x88e8b5(0x295)]);return _0x57bcd5?_0x57bcd5[_0x88e8b5(0x22a)]:null;}[_0x22146a(0x242)](){const _0x248821=_0x22146a,_0x1f6625=this[_0x248821(0x289)][_0x248821(0x253)][_0x248821(0x211)](_0x248821(0x267)),_0x27915a=this[_0x248821(0x289)][_0x248821(0x253)][_0x248821(0x211)](_0x248821(0x20c)),_0x4250fd=Array[_0x248821(0x280)](_0x1f6625[_0x248821(0x255)],_0x2cd14a=>_0x2cd14a[_0x248821(0x295)])[_0x248821(0x1ec)](_0x4aeb77=>this[_0x248821(0x239)][_0x248821(0x1f3)](_0x4aeb77)),_0x37382a=[];for(const _0x4a6881 of _0x4250fd){const _0x53d2fd=this[_0x248821(0x239)][_0x248821(0x211)](_0x4a6881)[_0x248821(0x22a)][_0x248821(0x1f6)]();_0x37382a[_0x248821(0x298)](..._0x53d2fd[_0x248821(0x223)]((_0x1faa69,_0x47502e)=>[..._0x1faa69,..._0x47502e[_0x248821(0x225)]()],[]));}_0x27915a[_0x248821(0x236)]=_0x37382a;}[_0x22146a(0x27f)](){const _0x431122=_0x22146a,_0x5d111b=this[_0x431122(0x289)],_0x82f770=_0x5d111b[_0x431122(0x299)],_0x828638=_0x7aae63(_0x82f770,_0x431122(0x220)),_0x386fd6=new _0x21ac7d([{'type':_0x431122(0x25d),'model':new _0x4daa65({'withText':!0x0,'isToggleable':!0x0,'label':_0x828638,'commandName':_0x431122(0x1f1),'role':_0x431122(0x27d)})},{'type':_0x431122(0x24c)},{'type':_0x431122(0x1f2),'model':new _0x4daa65({'withText':!0x0,'label':_0x7aae63(_0x82f770,_0x431122(0x271)),'commandName':_0x431122(0x23c),'role':_0x431122(0x25e)})},{'type':_0x431122(0x1f2),'model':new _0x4daa65({'withText':!0x0,'label':_0x7aae63(_0x82f770,_0x431122(0x226)),'commandName':_0x431122(0x1eb),'role':_0x431122(0x25e)})},{'type':_0x431122(0x1f2),'model':new _0x4daa65({'withText':!0x0,'label':_0x7aae63(_0x82f770,_0x431122(0x279)),'commandName':_0x431122(0x22c),'role':_0x431122(0x25e)})},{'type':_0x431122(0x1f2),'model':new _0x4daa65({'withText':!0x0,'label':_0x7aae63(_0x82f770,_0x431122(0x296)),'commandName':_0x431122(0x25f),'role':_0x431122(0x25e)})}]);_0x5d111b[_0x431122(0x253)][_0x431122(0x1f3)](_0x431122(0x230))&&_0x386fd6[_0x431122(0x270)]([{'type':_0x431122(0x24c)},{'type':_0x431122(0x1f2),'model':new _0x4daa65({'withText':!0x0,'label':_0x7aae63(_0x82f770,_0x431122(0x200)),'commandName':_0x431122(0x278),'role':_0x431122(0x25e)})}]);for(const _0x39f77e of _0x386fd6)if(ke(_0x39f77e)){const _0x1feed3=_0x5d111b[_0x431122(0x25a)][_0x431122(0x211)](_0x39f77e[_0x431122(0x22a)][_0x431122(0x252)]);_0x39f77e[_0x431122(0x22a)][_0x431122(0x25c)](_0x431122(0x20b),_0x431122(0x28b))['to'](_0x1feed3,_0x431122(0x287),_0x431122(0x28b));}_0x5d111b['ui'][_0x431122(0x204)][_0x431122(0x24a)](_0x431122(0x1f1),_0x46e22b=>this[_0x431122(0x258)](_0x46e22b,_0x386fd6,_0x828638)),_0x5d111b['ui'][_0x431122(0x204)][_0x431122(0x24a)](_0x431122(0x229),_0x2be6a2=>this[_0x431122(0x276)](_0x2be6a2,_0x386fd6,_0x828638));}[_0x22146a(0x258)](_0x135eca,_0x104878,_0x235d1c){const _0xfae1e3=_0x22146a,_0x3a014d=_0x2989fb(_0x135eca,_0x4f8d1a),_0x5d2935=this[_0xfae1e3(0x289)][_0xfae1e3(0x25a)][_0xfae1e3(0x211)](_0xfae1e3(0x1f1));_0x3a014d[_0xfae1e3(0x233)][_0xfae1e3(0x201)]({'tooltip':_0x235d1c,'label':_0x235d1c,'icon':_0x23aacb}),_0x3a014d[_0xfae1e3(0x233)][_0xfae1e3(0x25c)](_0xfae1e3(0x20b))['to'](_0x5d2935,_0xfae1e3(0x287)),_0x3a014d[_0xfae1e3(0x233)]['on'](_0xfae1e3(0x222),()=>{const _0x1accfd=_0xfae1e3;_0x5d2935[_0x1accfd(0x222)](),this[_0x1accfd(0x289)][_0x1accfd(0x221)][_0x1accfd(0x290)][_0x1accfd(0x227)]();}),_0x374a27(_0x3a014d,_0x104878,{'role':_0xfae1e3(0x23e)});const _0x466ae4=[];for(const _0x25ecc5 of _0x104878)ke(_0x25ecc5)&&_0x466ae4[_0xfae1e3(0x298)](this[_0xfae1e3(0x289)][_0xfae1e3(0x25a)][_0xfae1e3(0x211)](_0x25ecc5[_0xfae1e3(0x22a)][_0xfae1e3(0x252)]));const _0x43985b=_0x3a014d[_0xfae1e3(0x233)];return _0x43985b[_0xfae1e3(0x20d)][_0xfae1e3(0x1f8)](_0xfae1e3(0x28b)),_0x43985b[_0xfae1e3(0x251)][_0xfae1e3(0x1f8)](_0xfae1e3(0x28b)),_0x43985b[_0xfae1e3(0x20d)][_0xfae1e3(0x25c)](_0xfae1e3(0x28b))['to'](_0x5d2935,_0xfae1e3(0x28b)),_0x43985b[_0xfae1e3(0x251)][_0xfae1e3(0x25c)](_0xfae1e3(0x28b))[_0xfae1e3(0x248)](_0x466ae4,_0xfae1e3(0x28b),(..._0x51c91e)=>_0x51c91e[_0xfae1e3(0x282)](_0x8dfabf=>_0x8dfabf)),_0x3a014d['on'](_0xfae1e3(0x222),_0x13cb59=>{const _0xca9ae9=_0xfae1e3;this[_0xca9ae9(0x289)][_0xca9ae9(0x222)](_0x13cb59[_0xca9ae9(0x224)][_0xca9ae9(0x252)]),this[_0xca9ae9(0x289)][_0xca9ae9(0x221)][_0xca9ae9(0x290)][_0xca9ae9(0x227)]();}),_0x3a014d;}[_0x22146a(0x276)](_0x1ab887,_0xb0dfa7,_0x1ea370){const _0x586ab8=_0x22146a,_0x3f6607=new _0x3a704f(_0x1ab887),_0x1e38fa=this[_0x586ab8(0x289)][_0x586ab8(0x25a)][_0x586ab8(0x211)](_0x586ab8(0x1f1));_0x3f6607[_0x586ab8(0x233)][_0x586ab8(0x201)]({'label':_0x1ea370,'icon':_0x23aacb});const _0x345839=new _0xcc6c03(_0x1ab887);for(const _0x129f58 of _0xb0dfa7){if(_0x586ab8(0x24c)==_0x129f58[_0x586ab8(0x22b)]){_0x345839[_0x586ab8(0x288)][_0x586ab8(0x24a)](new _0x3e3b2a(_0x1ab887));continue;}const _0x1a92b1=new _0x2dcb0b(_0x1ab887,_0x3f6607),_0x7df922=new _0x22d0e9(_0x1ab887),_0x42c8df=_0x129f58[_0x586ab8(0x22a)];_0x7df922[_0x586ab8(0x25c)](...Object[_0x586ab8(0x25b)](_0x42c8df))['to'](_0x42c8df),_0x7df922[_0x586ab8(0x205)](_0x586ab8(0x222))['to'](_0x3f6607),_0x7df922['on'](_0x586ab8(0x222),()=>{const _0x3a948c=_0x586ab8;this[_0x3a948c(0x289)][_0x3a948c(0x222)](_0x42c8df[_0x3a948c(0x252)]),this[_0x3a948c(0x289)][_0x3a948c(0x221)][_0x3a948c(0x290)][_0x3a948c(0x227)]();}),_0x1a92b1[_0x586ab8(0x22f)][_0x586ab8(0x24a)](_0x7df922),_0x345839[_0x586ab8(0x288)][_0x586ab8(0x24a)](_0x1a92b1);}return _0x3f6607[_0x586ab8(0x25c)](_0x586ab8(0x28b))['to'](_0x1e38fa,_0x586ab8(0x28b)),_0x3f6607[_0x586ab8(0x1fb)][_0x586ab8(0x22f)][_0x586ab8(0x24a)](_0x345839),_0x3f6607;}[_0x22146a(0x209)](_0x408772){const _0x216722=_0x22146a,_0x3a36b1=this[_0x216722(0x289)],_0x17bc68=_0x3a36b1[_0x216722(0x264)],_0xed7336=_0x3a36b1[_0x216722(0x253)][_0x216722(0x211)](_0x216722(0x267)),_0x1d991f=_0x3a36b1[_0x216722(0x253)][_0x216722(0x211)](_0x216722(0x26a)),_0x106ed4=_0x3a36b1[_0x216722(0x253)][_0x216722(0x211)](_0x216722(0x219)),_0x274ce9=_0x3a36b1[_0x216722(0x253)][_0x216722(0x211)](_0x3fc662)['me'],_0x12db6c=_0x17bc68[_0x216722(0x211)](_0x216722(0x1f1))[_0x216722(0x250)],_0x346765=_0x17bc68[_0x216722(0x211)](_0x216722(0x1f1))[_0x216722(0x1ef)],{CommentsListView:_0x140b8a,CommentThreadInputView:_0x2eca9f}=_0x3a36b1[_0x216722(0x253)][_0x216722(0x211)](_0x216722(0x240));let _0xb9c051,_0x18f3b6,_0x37fc20;this[_0x216722(0x23a)][_0x216722(0x1f3)](_0x408772['id'])?(_0x18f3b6=this[_0x216722(0x23a)][_0x216722(0x211)](_0x408772['id']),_0xb9c051=_0x18f3b6[_0x216722(0x202)]):(_0xb9c051=new _0x12db6c(_0x3a36b1[_0x216722(0x299)],_0x408772,_0x274ce9,{'disableComments':this[_0x216722(0x28d)],'editorConfig':{..._0x17bc68[_0x216722(0x211)](_0x216722(0x1f0)),'licenseKey':_0x17bc68[_0x216722(0x211)](_0x216722(0x247))},'maxCommentsWhenCollapsed':_0x17bc68[_0x216722(0x211)](_0x216722(0x256)),'maxThreadTotalWeight':_0x17bc68[_0x216722(0x211)](_0x216722(0x24f)),'maxCommentCharsWhenCollapsed':_0x17bc68[_0x216722(0x211)](_0x216722(0x246)),'formatDateTime':_0x4eaae3(_0x17bc68[_0x216722(0x211)](_0x216722(0x299)),_0x3a36b1[_0x216722(0x299)]),'CommentView':_0x17bc68[_0x216722(0x211)](_0x216722(0x243))[_0x216722(0x274)],'CommentsListView':_0x140b8a,'CommentThreadInputView':_0x2eca9f,'SuggestionView':_0x346765}),_0xb9c051[_0x216722(0x1f9)][_0x216722(0x269)]['on'](_0x216722(0x222),()=>{const _0x1f60f8=_0x216722;_0x3a36b1[_0x1f60f8(0x221)][_0x1f60f8(0x290)][_0x1f60f8(0x227)]();}),_0xb9c051[_0x216722(0x1f9)][_0x216722(0x259)]['on'](_0x216722(0x222),()=>{const _0x324d84=_0x216722;_0x3a36b1[_0x324d84(0x221)][_0x324d84(0x290)][_0x324d84(0x227)]();}),_0x18f3b6=_0xed7336[_0x216722(0x21c)](this[_0x216722(0x289)][_0x216722(0x299)],_0xb9c051),_0x18f3b6[_0x216722(0x25c)](_0x216722(0x23d))['to'](_0xb9c051,_0x216722(0x23d)),_0x18f3b6[_0x216722(0x25c)](_0x216722(0x24d))['to'](_0xb9c051),_0x18f3b6[_0x216722(0x25c)](_0x216722(0x22b))['to'](_0xb9c051,_0x216722(0x22b),_0x4efcc3=>_0x216722(0x218)+_0x4efcc3),_0xb9c051['on'](_0x216722(0x29a),()=>{const _0x1bab06=_0x216722;_0x37fc20[_0x1bab06(0x292)](_0x1bab06(0x29a));}),this[_0x216722(0x23a)][_0x216722(0x201)](_0x408772['id'],_0x18f3b6));const _0x4f53dc=_0x1d991f[_0x216722(0x21d)](_0x408772[_0x216722(0x257)],_0xb9c051),_0x38926b=new _0x5248ca(_0x3a36b1,_0x408772,_0xb9c051,_0x4f53dc),_0x454b69=_0x408772[_0x216722(0x1f6)]()[_0x216722(0x1ec)](_0x2ddd32=>_0x2ddd32[_0x216722(0x216)]);_0xb9c051[_0x216722(0x217)]=_0x3a36b1[_0x216722(0x253)][_0x216722(0x211)](_0x216722(0x20c))[_0x216722(0x286)][_0x216722(0x1fa)](_0x454b69),this[_0x216722(0x28e)][_0x216722(0x201)](_0x408772,_0x38926b),this[_0x216722(0x239)][_0x216722(0x201)](_0xb9c051,_0x38926b);const _0xaa0fba=()=>{const _0x1134f4=_0x216722,_0x5c052c=[],_0x226a2d=_0x408772[_0x1134f4(0x1f6)]()[_0x1134f4(0x1ec)](_0x221403=>_0x221403[_0x1134f4(0x216)]);for(const _0x57512a of _0x226a2d)_0x5c052c[_0x1134f4(0x298)](..._0x57512a[_0x1134f4(0x207)]());return _0x194f1c(_0x3a36b1[_0x1134f4(0x221)],_0x5c052c);};_0x37fc20=_0xed7336[_0x216722(0x1f7)]({'view':_0x18f3b6,'target':_0xaa0fba,'type':()=>_0x216722(0x218)+_0x38926b[_0x216722(0x290)][_0x216722(0x22b)],'isVisible':!!_0xaa0fba()}),_0x1d991f[_0x216722(0x20e)](_0xb9c051,_0x37fc20),_0xed7336[_0x216722(0x24a)](_0x37fc20),_0x106ed4[_0x216722(0x232)](_0x37fc20);}[_0x22146a(0x1ea)](_0x57e36a){const _0x438897=_0x22146a,_0x534054=this[_0x438897(0x289)][_0x438897(0x253)][_0x438897(0x211)](_0x438897(0x26a)),_0x386dfc=this[_0x438897(0x289)][_0x438897(0x253)][_0x438897(0x211)](_0x438897(0x267)),_0x53d0fe=this[_0x438897(0x28e)][_0x438897(0x211)](_0x57e36a),_0x5d5cb3=_0x53d0fe[_0x438897(0x290)],_0x50a596=_0x386dfc[_0x438897(0x28a)](_0x5d5cb3);_0x534054[_0x438897(0x234)](_0x5d5cb3),_0x50a596&&_0x386dfc[_0x438897(0x268)](_0x50a596),this[_0x438897(0x28e)][_0x438897(0x28f)](_0x57e36a),this[_0x438897(0x239)][_0x438897(0x28f)](_0x5d5cb3),_0x53d0fe[_0x438897(0x210)]();}[_0x22146a(0x208)](_0x3c61a1){const _0x90cc13=_0x22146a;if(!_0x3c61a1[_0x90cc13(0x216)]||!this[_0x90cc13(0x28e)][_0x90cc13(0x1f3)](_0x3c61a1))return;const _0x519052=this[_0x90cc13(0x289)][_0x90cc13(0x253)][_0x90cc13(0x211)](_0x90cc13(0x20c)),_0x37ad30=this[_0x90cc13(0x28e)][_0x90cc13(0x211)](_0x3c61a1),_0x237caf=_0x3c61a1[_0x90cc13(0x1f6)]();_0x37ad30[_0x90cc13(0x290)][_0x90cc13(0x217)]=_0x519052[_0x90cc13(0x286)][_0x90cc13(0x1fa)](_0x237caf);}[_0x22146a(0x210)](){const _0x3ca620=_0x22146a;for(const _0x57ca1e of this[_0x3ca620(0x28e)][_0x3ca620(0x25b)]())this[_0x3ca620(0x1ea)](_0x57ca1e);for(const _0x42ac62 of this[_0x3ca620(0x23a)][_0x3ca620(0x261)]())_0x42ac62[_0x3ca620(0x202)][_0x3ca620(0x210)]();super[_0x3ca620(0x210)](),this[_0x3ca620(0x26d)]&&clearInterval(this[_0x3ca620(0x26d)]);}}function ke(_0x595bfb){const _0x51b63b=_0x22146a;return _0x51b63b(0x22a)in _0x595bfb;}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x165919=_0x570c;(function(_0x4a8156,_0xf51000){const _0xe709fb=_0x570c,_0x1626be=_0x4a8156();while(!![]){try{const _0x29c9f8=parseInt(_0xe709fb(0x190))/0x1*(parseInt(_0xe709fb(0x173))/0x2)+parseInt(_0xe709fb(0x18c))/0x3*(-parseInt(_0xe709fb(0x17c))/0x4)+parseInt(_0xe709fb(0x189))/0x5+-parseInt(_0xe709fb(0x17b))/0x6*(parseInt(_0xe709fb(0x186))/0x7)+parseInt(_0xe709fb(0x195))/0x8*(parseInt(_0xe709fb(0x176))/0x9)+parseInt(_0xe709fb(0x18f))/0xa*(-parseInt(_0xe709fb(0x196))/0xb)+parseInt(_0xe709fb(0x182))/0xc*(parseInt(_0xe709fb(0x17e))/0xd);if(_0x29c9f8===_0xf51000)break;else _0x1626be['push'](_0x1626be['shift']());}catch(_0x1c0128){_0x1626be['push'](_0x1626be['shift']());}}}(_0x503f,0x828f4));function _0x570c(_0x3a012c,_0x211018){const _0x503f16=_0x503f();return _0x570c=function(_0x570cf2,_0x5d1e21){_0x570cf2=_0x570cf2-0x16b;let _0x52784d=_0x503f16[_0x570cf2];return _0x52784d;},_0x570c(_0x3a012c,_0x211018);}function _0x503f(){const _0x1f4557=['5951gmXdoI','plugins','destroy','model','commentThreadController','remove','isDirty','change:isDirty','stopListening','bind','76OPeZKx','canEditAt','_discardCommand','189IdWowH','_removePendingAction','acceptSuggestion','execute','_setPendingAction','6eaVzYK','104vPpWkQ','unbind','243269KUXTIL','_acceptCommand','locale','PendingActions','276UCZxRK','get','add','discardSuggestion','2082633xpvpbQ','canAccept','canDiscard','3989345CQTNmv','view','commands','55761xXkbhR','_pendingAction','PENDING_ACTION_SUGGESTION','15460PTCGyC','9422SHFrRw','listenTo','_editor','isEnabled','getRanges','215480pTypuL'];_0x503f=function(){return _0x1f4557;};return _0x503f();}import{ObservableMixin as _0x207c5f}from'ckeditor5/src/utils.js';import{getTranslation as _0x29d0d5}from'../utils/common-translations.js';export class SuggestionController extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x207c5f(){[_0x165919(0x16c)];[_0x165919(0x18a)];[_0x165919(0x16d)];[_0x165919(0x192)];[_0x165919(0x17f)];[_0x165919(0x175)];[_0x165919(0x18d)];constructor(_0x251800,_0x29c51d,_0x28aa7c,_0x3d1bd1){const _0x3eb9d2=_0x165919;super(),this[_0x3eb9d2(0x16c)]=_0x29c51d,this[_0x3eb9d2(0x18a)]=_0x28aa7c,this[_0x3eb9d2(0x16d)]=_0x3d1bd1,this[_0x3eb9d2(0x192)]=_0x251800,this[_0x3eb9d2(0x17f)]=_0x251800[_0x3eb9d2(0x18b)][_0x3eb9d2(0x183)](_0x3eb9d2(0x178)),this[_0x3eb9d2(0x175)]=_0x251800[_0x3eb9d2(0x18b)][_0x3eb9d2(0x183)](_0x3eb9d2(0x185)),this[_0x3eb9d2(0x18a)][_0x3eb9d2(0x172)](_0x3eb9d2(0x193))['to'](this[_0x3eb9d2(0x17f)],this[_0x3eb9d2(0x175)],(_0x35bfc,_0x509b03)=>_0x35bfc||_0x509b03),this[_0x3eb9d2(0x18a)][_0x3eb9d2(0x172)](_0x3eb9d2(0x187))['to'](this[_0x3eb9d2(0x17f)],_0x3eb9d2(0x193),_0x263b7c=>_0x263b7c&&this[_0x3eb9d2(0x192)][_0x3eb9d2(0x16c)][_0x3eb9d2(0x174)](_0x29c51d[_0x3eb9d2(0x194)]())),this[_0x3eb9d2(0x18a)][_0x3eb9d2(0x172)](_0x3eb9d2(0x188))['to'](this[_0x3eb9d2(0x175)],_0x3eb9d2(0x193),_0x14e514=>_0x14e514&&this[_0x3eb9d2(0x192)][_0x3eb9d2(0x16c)][_0x3eb9d2(0x174)](_0x29c51d[_0x3eb9d2(0x194)]())),this[_0x3eb9d2(0x18d)]=null,_0x28aa7c[_0x3eb9d2(0x16f)]&&this[_0x3eb9d2(0x17a)](),this[_0x3eb9d2(0x191)](_0x28aa7c,_0x3eb9d2(0x178),()=>this[_0x3eb9d2(0x178)]()),this[_0x3eb9d2(0x191)](_0x28aa7c,_0x3eb9d2(0x185),()=>this[_0x3eb9d2(0x185)]()),this[_0x3eb9d2(0x191)](_0x28aa7c,_0x3eb9d2(0x170),()=>{const _0x580fc2=_0x3eb9d2;_0x28aa7c[_0x580fc2(0x16f)]?this[_0x580fc2(0x17a)]():this[_0x580fc2(0x177)]();});}[_0x165919(0x178)](){const _0xf38345=_0x165919;this[_0xf38345(0x17f)][_0xf38345(0x179)](this[_0xf38345(0x16c)]['id']);}[_0x165919(0x185)](){const _0x5a252f=_0x165919;this[_0x5a252f(0x175)][_0x5a252f(0x179)](this[_0x5a252f(0x16c)]['id']);}[_0x165919(0x16b)](){const _0x392511=_0x165919;this[_0x392511(0x18a)][_0x392511(0x17d)](_0x392511(0x193)),this[_0x392511(0x18a)][_0x392511(0x17d)](_0x392511(0x187)),this[_0x392511(0x18a)][_0x392511(0x17d)](_0x392511(0x188)),this[_0x392511(0x171)](),this[_0x392511(0x16d)][_0x392511(0x16b)](),this[_0x392511(0x18d)]&&this[_0x392511(0x177)]();}[_0x165919(0x17a)](){const _0x43d587=_0x165919,_0x1eea6e=_0x29d0d5(this[_0x43d587(0x192)][_0x43d587(0x180)],_0x43d587(0x18e));this[_0x43d587(0x18d)]=this[_0x43d587(0x192)][_0x43d587(0x197)][_0x43d587(0x183)](_0x43d587(0x181))[_0x43d587(0x184)](_0x1eea6e);}[_0x165919(0x177)](){const _0x2b4583=_0x165919;null!==this[_0x2b4583(0x18d)]&&this[_0x2b4583(0x192)][_0x2b4583(0x197)][_0x2b4583(0x183)](_0x2b4583(0x181))[_0x2b4583(0x16e)](this[_0x2b4583(0x18d)]),this[_0x2b4583(0x18d)]=null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x12b407=_0x2393;(function(_0x3b6b75,_0x3c69f7){const _0x245b5d=_0x2393,_0x1525d6=_0x3b6b75();while(!![]){try{const _0x56dd05=-parseInt(_0x245b5d(0xd3))/0x1+parseInt(_0x245b5d(0xec))/0x2+-parseInt(_0x245b5d(0x10e))/0x3+-parseInt(_0x245b5d(0x104))/0x4+-parseInt(_0x245b5d(0xdc))/0x5*(parseInt(_0x245b5d(0xda))/0x6)+parseInt(_0x245b5d(0xd6))/0x7*(parseInt(_0x245b5d(0xef))/0x8)+parseInt(_0x245b5d(0xee))/0x9*(parseInt(_0x245b5d(0xf3))/0xa);if(_0x56dd05===_0x3c69f7)break;else _0x1525d6['push'](_0x1525d6['shift']());}catch(_0x213048){_0x1525d6['push'](_0x1525d6['shift']());}}}(_0x516b,0x94ad2));function _0x516b(){const _0x542a5c=['ariaLabel','926833mVRUZU','submit','focusTracker','378098guEAGh','map','canDiscard','authoredAt','318ceGnqI','bind','92895uEUkrA','commentThreadInputView','cancel','showInput','canAccept','value','textContent','_localUser','destroy','set','content','formatDateTime','commentInputView','parseFromString','text/html','keystrokes','439262jcyIza','hasDirtyComment','22421682wOFSSW','112GcpLhj','removeComment','focus','isEnabled','10KLBloa','disabledSubmit','render','author','focusCycler','body','updateComment','addComment','length','SUGGESTION_THREAD_ARIA_LABEL','CommentView','isDirty','shift+tab','join','commentsListView','isActive','locale','1315640ioFcSX','focusables','setData','name','disableComments','delegate','ariaDescriptionView','_createCommentThreadInputView','fire','editor','1853151GfKQyc','_config','isReadOnly','editorConfig','_createCommentViews','target','element','descriptionParts','SUGGESTION_THREAD_DESCRIPTION','_model','tab','commentThread','assign'];_0x516b=function(){return _0x542a5c;};return _0x516b();}function _0x2393(_0xcc4b,_0x115360){const _0x516b2c=_0x516b();return _0x2393=function(_0x239388,_0x11af7b){_0x239388=_0x239388-0xc8;let _0x135bf2=_0x516b2c[_0x239388];return _0x135bf2;},_0x2393(_0xcc4b,_0x115360);}import{FocusCycler as _0x28cb64,View as _0x36f8f6,ViewCollection as _0x5e912d}from'ckeditor5/src/ui.js';import{FocusTracker as _0x4f328e,KeystrokeHandler as _0xca7009}from'ckeditor5/src/utils.js';import{AriaDescriptionView as _0xeed26f,setupThreadKeyboardNavigation as _0x4216af}from'ckeditor5-collaboration/src/collaboration-core.js';import{getTranslation as _0x5aa13c}from'../../utils/common-translations.js';import{renderDescription as _0x4c2b65}from'../../utils/utils.js';export class BaseSuggestionThreadView extends _0x36f8f6{[_0x12b407(0x101)];[_0x12b407(0xdd)];[_0x12b407(0x10a)];[_0x12b407(0x105)];[_0x12b407(0xd5)];[_0x12b407(0xeb)];[_0x12b407(0xf7)];[_0x12b407(0xce)];[_0x12b407(0xe3)];[_0x12b407(0x10f)];constructor(_0x4076dd,_0x5a1d98,_0x1da8a3,_0x13d68a){const _0x102750=_0x12b407;super(_0x4076dd),this[_0x102750(0x101)]=null,this[_0x102750(0xdd)]=null,this[_0x102750(0x10a)]=new _0xeed26f(_0x4076dd,_0x5aa13c(_0x4076dd,_0x102750(0xcd))),this[_0x102750(0xe5)](_0x102750(0x102),!0x1),this[_0x102750(0xe5)](_0x102750(0xd9),_0x5a1d98[_0x102750(0xd9)]),this[_0x102750(0xdb)](_0x102750(0xd9))['to'](_0x5a1d98),this[_0x102750(0xe5)](_0x102750(0xcc),[]),this[_0x102750(0xe5)](_0x102750(0xfe),!0x1),this[_0x102750(0xe5)](_0x102750(0xf2),!0x1),this[_0x102750(0xe5)](_0x102750(0xe0),!0x1),this[_0x102750(0xe5)](_0x102750(0xd8),!0x1),this[_0x102750(0xdb)](_0x102750(0xd2))['to'](this,_0x102750(0xfb),_0x5a1d98,_0x102750(0xd9),this,_0x102750(0xcc),(_0x6eb42d,_0x1ac4b2,_0x158065)=>{const _0x51cbc6=_0x102750,_0x21a4da=_0x158065[_0x51cbc6(0xd7)](_0x26d27c=>_0x4c2b65(_0x26d27c[_0x51cbc6(0xe6)]))[_0x51cbc6(0x100)]('.\x20')+'.';return _0x5aa13c(this[_0x51cbc6(0x103)],_0x51cbc6(0xfc),[_0x6eb42d-0x1,_0x5a1d98[_0x51cbc6(0xf6)][_0x51cbc6(0x107)],_0x1ac4b2?_0x13d68a[_0x51cbc6(0xe7)](_0x1ac4b2):'',new DOMParser()[_0x51cbc6(0xe9)](_0x21a4da,_0x51cbc6(0xea))[_0x51cbc6(0xf8)][_0x51cbc6(0xe2)]]);}),this[_0x102750(0x105)]=new _0x5e912d(),this[_0x102750(0xd5)]=new _0x4f328e(),this[_0x102750(0xeb)]=new _0xca7009(),this[_0x102750(0xf7)]=new _0x28cb64({'focusables':this[_0x102750(0x105)],'focusTracker':this[_0x102750(0xd5)],'keystrokeHandler':this[_0x102750(0xeb)],'keystrokeHandlerOptions':{'filter':_0x1ce523=>_0x1ce523[_0x102750(0xca)]!==this[_0x102750(0xcb)]},'actions':{'focusPrevious':_0x102750(0xff),'focusNext':_0x102750(0xcf)}}),this[_0x102750(0xce)]=_0x5a1d98,this[_0x102750(0xe3)]=_0x1da8a3,this[_0x102750(0x10f)]=_0x13d68a,_0x13d68a[_0x102750(0x108)]?this[_0x102750(0xe5)](_0x102750(0xfb),0x1):this[_0x102750(0xc9)]();}[_0x12b407(0xf5)](){const _0x220b32=_0x12b407;super[_0x220b32(0xf5)](),_0x4216af(this,this[_0x220b32(0x105)]);}[_0x12b407(0xf1)](){const _0x12d7bc=_0x12b407;this[_0x12d7bc(0xcb)][_0x12d7bc(0xf1)]();}[_0x12b407(0xe4)](){const _0x462c7f=_0x12b407;this[_0x462c7f(0x101)]&&this[_0x462c7f(0x101)][_0x462c7f(0xe4)](),this[_0x462c7f(0xdd)]&&this[_0x462c7f(0xdd)][_0x462c7f(0xe4)](),super[_0x462c7f(0xe4)]();}[_0x12b407(0xc9)](){const _0x28f161=_0x12b407,{CommentsListView:_0xc5ca7}=this[_0x28f161(0x10f)];this[_0x28f161(0x101)]=new _0xc5ca7(this[_0x28f161(0x103)],this[_0x28f161(0xce)][_0x28f161(0xd0)],Object[_0x28f161(0xd1)]({'CommentView':this[_0x28f161(0x10f)][_0x28f161(0xfd)]},this[_0x28f161(0x10f)])),this[_0x28f161(0x101)][_0x28f161(0x109)](_0x28f161(0xf0))['to'](this),this[_0x28f161(0x101)][_0x28f161(0x109)](_0x28f161(0xf9))['to'](this),this[_0x28f161(0x101)][_0x28f161(0xdb)](_0x28f161(0x102))['to'](this),this[_0x28f161(0xe5)](_0x28f161(0xfb),this[_0x28f161(0x101)][_0x28f161(0xfb)]+0x1),this[_0x28f161(0xdb)](_0x28f161(0xfb))['to'](this[_0x28f161(0x101)],_0x28f161(0xfb),_0x33d99f=>_0x33d99f+0x1),this[_0x28f161(0xdd)]=this[_0x28f161(0x10b)](),this['on'](_0x28f161(0xf0),()=>this[_0x28f161(0xf1)]()),this[_0x28f161(0xdb)](_0x28f161(0xfe))['to'](this[_0x28f161(0x101)],_0x28f161(0xed),this[_0x28f161(0xdd)][_0x28f161(0xe8)],_0x28f161(0xe1),(_0xf19a88,_0x43c8b1)=>_0xf19a88||!!_0x43c8b1);}[_0x12b407(0x10b)](){const _0x345db0=_0x12b407,{CommentThreadInputView:_0x454ca6}=this[_0x345db0(0x10f)],_0x5e56eb=new _0x454ca6(this[_0x345db0(0x103)],this[_0x345db0(0xe3)],this[_0x345db0(0x10f)][_0x345db0(0xc8)]),_0x23fb30=_0x5e56eb[_0x345db0(0xe8)];return _0x5e56eb[_0x345db0(0xdb)](_0x345db0(0xdf))['to'](this,_0x345db0(0x102),this[_0x345db0(0xce)][_0x345db0(0xd0)],_0x345db0(0x110),_0x23fb30,_0x345db0(0xe1),(_0x31e04b,_0x59b33e,_0x2b2445)=>!!_0x2b2445||_0x31e04b&&!_0x59b33e),_0x23fb30['on'](_0x345db0(0xd4),(_0x4454b7,_0x3b8412)=>{const _0x137ba1=_0x345db0;this[_0x137ba1(0x10c)](_0x137ba1(0xfa),_0x3b8412),_0x23fb30[_0x137ba1(0x10d)][_0x137ba1(0x106)]('');}),_0x23fb30['on'](_0x345db0(0xde),()=>this[_0x345db0(0xf1)]()),_0x23fb30[_0x345db0(0xdb)](_0x345db0(0xf4))['to'](this[_0x345db0(0xce)][_0x345db0(0xd0)],_0x345db0(0x110)),_0x5e56eb;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x2122(_0x4d5e09,_0x28eb05){const _0x56a18b=_0x56a1();return _0x2122=function(_0x2122d1,_0x53b621){_0x2122d1=_0x2122d1-0xe9;let _0x2a03a5=_0x56a18b[_0x2122d1];return _0x2a03a5;},_0x2122(_0x4d5e09,_0x28eb05);}function _0x56a1(){const _0x4bb36c=['_model','184404cRYsjB','2Snfycv','setTemplate','commentThreadInputView','84604TpDlnf','bind','isEnabled','acceptButton','description','_descriptionElement','acceptSuggestion','set','author','color','<p>','7462290DOoAJG','ck-rounded-corners','push','_config','canDiscard','ariaLabel','bindTemplate','2415024VXnMOH','discardSuggestion','8539330xCDmHa','105oLXWcn','add','canAccept','2594515OQEbzA','type','suggestionView','formatDateTime','div','editorDestroyed','focusables','commentsListView','3866529fVpZoo','disableComments','ariaDescriptionView','ck-suggestion-','listitem','commentThread','ck-suggestion-wrapper','</p>','SuggestionView','delegate','ck-suggestion--disabled-comments','editorReady','ck-suggestion-wrapper--active','content','getTemplate','descriptionParts','isActive','18cjqnlF','discardButton','render'];_0x56a1=function(){return _0x4bb36c;};return _0x56a1();}const _0x12af98=_0x2122;(function(_0x3c393c,_0x2d3233){const _0x6df443=_0x2122,_0xed78ee=_0x3c393c();while(!![]){try{const _0x5a78be=parseInt(_0x6df443(0xfc))/0x1+parseInt(_0x6df443(0xfd))/0x2*(parseInt(_0x6df443(0x120))/0x3)+parseInt(_0x6df443(0x100))/0x4*(parseInt(_0x6df443(0x115))/0x5)+parseInt(_0x6df443(0x10b))/0x6+-parseInt(_0x6df443(0x118))/0x7+-parseInt(_0x6df443(0x112))/0x8+-parseInt(_0x6df443(0xf8))/0x9*(parseInt(_0x6df443(0x114))/0xa);if(_0x5a78be===_0x2d3233)break;else _0xed78ee['push'](_0xed78ee['shift']());}catch(_0x5cca23){_0xed78ee['push'](_0xed78ee['shift']());}}}(_0x56a1,0xbe9c8));import{BaseSuggestionThreadView as _0x3b552e}from'./basesuggestionthreadview.js';import{trimHtml as _0x4685b9}from'ckeditor5-collaboration/src/collaboration-core.js';import{renderDescription as _0x3295d9}from'../../utils/utils.js';export class SuggestionThreadView extends _0x3b552e{[_0x12af98(0x11a)];[_0x12af98(0x105)];constructor(_0x2c33a1,_0x82cc2c,_0x44ca3f,_0x5571e1){const _0x7bfabe=_0x12af98;super(_0x2c33a1,_0x82cc2c,_0x44ca3f,_0x5571e1),this[_0x7bfabe(0x107)](_0x7bfabe(0x119),''),this[_0x7bfabe(0x101)](_0x7bfabe(0x119))['to'](this,_0x7bfabe(0xf6),_0x259fa7=>_0x259fa7&&_0x259fa7[0x0]?_0x259fa7[0x0][_0x7bfabe(0x119)]:''),this[_0x7bfabe(0x101)](_0x7bfabe(0x104))['to'](this,_0x7bfabe(0xf6),this,_0x7bfabe(0xf7),(_0x571e96,_0x289321)=>{const _0x3e9f2b=_0x7bfabe;let _0x124f6c='';for(const _0x3e98dd of _0x571e96)_0x124f6c+=_0x3e9f2b(0x10a)+_0x3295d9(_0x3e98dd[_0x3e9f2b(0xf4)],_0x3e98dd[_0x3e9f2b(0x109)])+_0x3e9f2b(0xee);return _0x289321?_0x124f6c:_0x4685b9(_0x124f6c,{'limit':0x8c});}),this[_0x7bfabe(0x105)]=null,this[_0x7bfabe(0x11a)]=new _0x5571e1[(_0x7bfabe(0xef))](_0x2c33a1,_0x82cc2c,{'formatDateTime':_0x5571e1[_0x7bfabe(0x11b)]}),this[_0x7bfabe(0x11a)][_0x7bfabe(0x101)](_0x7bfabe(0x104))['to'](this),this[_0x7bfabe(0x11a)][_0x7bfabe(0xf0)](_0x7bfabe(0x106),_0x7bfabe(0x113))['to'](this),this[_0x7bfabe(0x11a)][_0x7bfabe(0x103)][_0x7bfabe(0x101)](_0x7bfabe(0x102))['to'](this,_0x7bfabe(0x117)),this[_0x7bfabe(0x11a)][_0x7bfabe(0xf9)][_0x7bfabe(0x101)](_0x7bfabe(0x102))['to'](this,_0x7bfabe(0x10f)),this[_0x7bfabe(0x11e)][_0x7bfabe(0x116)](this[_0x7bfabe(0x11a)]),this[_0x7bfabe(0x11f)]&&this[_0x7bfabe(0x11e)][_0x7bfabe(0x116)](this[_0x7bfabe(0x11f)]),this[_0x7bfabe(0xff)]&&this[_0x7bfabe(0x11e)][_0x7bfabe(0x116)](this[_0x7bfabe(0xff)]),this[_0x7bfabe(0xfe)](this[_0x7bfabe(0xf5)]());}[_0x12af98(0xf5)](){const _0x3b9783=_0x12af98,_0x1070a2=this[_0x3b9783(0x111)],_0x21680a=[this[_0x3b9783(0x11a)]];return this[_0x3b9783(0x11f)]&&_0x21680a[_0x3b9783(0x10d)](this[_0x3b9783(0x11f)]),this[_0x3b9783(0xff)]&&_0x21680a[_0x3b9783(0x10d)](this[_0x3b9783(0xff)]),_0x21680a[_0x3b9783(0x10d)](this[_0x3b9783(0xe9)]),{'tag':_0x3b9783(0x11c),'attributes':{'class':['ck',_0x3b9783(0x10c),_0x3b9783(0xed),_0x1070a2['if'](_0x3b9783(0xf7),_0x3b9783(0xf3)),_0x1070a2['to'](_0x3b9783(0x119),_0x4467c8=>_0x3b9783(0xea)+_0x4467c8),this[_0x3b9783(0x10e)][_0x3b9783(0x121)]&&_0x3b9783(0xf1)],'data-suggestion-id':this[_0x3b9783(0xfb)]['id'],'data-thread-id':this[_0x3b9783(0xfb)][_0x3b9783(0xec)]['id'],'data-author-id':this[_0x3b9783(0xfb)][_0x3b9783(0x108)]['id'],'tabindex':0x0,'role':_0x3b9783(0xeb),'aria-label':_0x1070a2['to'](_0x3b9783(0x110)),'aria-describedby':this[_0x3b9783(0xe9)]['id']},'children':_0x21680a};}[_0x12af98(0xfa)](){const _0x308324=_0x12af98;super[_0x308324(0xfa)](),this[_0x308324(0x11f)]&&(this[_0x308324(0x11f)][_0x308324(0xf0)](_0x308324(0xf2))['to'](this),this[_0x308324(0x11f)][_0x308324(0xf0)](_0x308324(0x11d))['to'](this)),this[_0x308324(0xff)]&&(this[_0x308324(0xff)][_0x308324(0xf0)](_0x308324(0xf2))['to'](this),this[_0x308324(0xff)][_0x308324(0xf0)](_0x308324(0x11d))['to'](this));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x3d9553=_0x4eb8;(function(_0x3daa97,_0x366407){const _0x1f6714=_0x4eb8,_0x17c65a=_0x3daa97();while(!![]){try{const _0x308534=parseInt(_0x1f6714(0x1b7))/0x1*(parseInt(_0x1f6714(0x17d))/0x2)+parseInt(_0x1f6714(0x19f))/0x3+-parseInt(_0x1f6714(0x173))/0x4+-parseInt(_0x1f6714(0x1a4))/0x5*(parseInt(_0x1f6714(0x16e))/0x6)+parseInt(_0x1f6714(0x1af))/0x7*(-parseInt(_0x1f6714(0x177))/0x8)+parseInt(_0x1f6714(0x181))/0x9+parseInt(_0x1f6714(0x18c))/0xa;if(_0x308534===_0x366407)break;else _0x17c65a['push'](_0x17c65a['shift']());}catch(_0x50c56c){_0x17c65a['push'](_0x17c65a['shift']());}}}(_0x463f,0x9ebdc));import{FocusTracker as _0x2be0a2,KeystrokeHandler as _0x17b241}from'ckeditor5/src/utils.js';import{View as _0x29710f,ViewCollection as _0x5e4c86,FocusCycler as _0xf4fdc4}from'ckeditor5/src/ui.js';import{LateFocusButtonView as _0x575978,UserView as _0x47258c}from'ckeditor5-collaboration/src/collaboration-core.js';import{IconCancel as _0x434df4,IconCheck as _0x42a059}from'ckeditor5/src/icons.js';function _0x463f(){const _0x3380ab=['ck-comment__info-time','22CncEqM','acceptSuggestion','formatDateTime','Discard\x20suggestion','div','ck-annotation','ck-annotation__actions','ck-suggestion__actions','discardSuggestion','add','EXTERNAL_SUGGESTION','fire','Accept\x20suggestion','change:description','getExternalSuggestionNote','ck-suggestion','6673038IiMJgo','ck-suggestion__info','execute','ck-suggestion--discard','set','1443096wJlFTF','ck-annotation__info-time','shift+tab','getUserViewNotificationText','16rUvShZ','tab','acceptButton','_model','EXTERNAL_AVATAR','locale','70198qMhsns','attributes','focus','ck-suggestion__user','9404676vxbWdg','EXTERNAL_IMPORT_WORD_SUGGESTION','keystrokes','ck-comment__external','setTemplate','EXTERNAL_IMPORT_WORD_AVATAR','ck-annotation__info-name','querySelector','enter','userView','ck-suggestion--accept','4788010HiJbzt','ck-annotation__content-wrapper','name','time','_setupKeyboardNavigation','focusTracker','focusCycler','.ck-annotation__content-wrapper','ck-suggestion__main','getTemplate','@external','push','importWord','ck-annotation__user','creator','source','ck-suggestion__info-name','_createButton','authoredAt','11898jwLMcK','presentation','author','extendTemplate','target','5HAmJTu','ck-annotation__main','focusFirst','innerHTML','render','listenTo','_config','span','bindTemplate','element','bind','618653ZHfeVP','focusables','ck-annotation__info','description','isExternal','discardButton','esc'];_0x463f=function(){return _0x3380ab;};return _0x463f();}import{getTranslation as _0x3b454b}from'../../utils/common-translations.js';function _0x4eb8(_0x5b1c48,_0x445a70){const _0x463f13=_0x463f();return _0x4eb8=function(_0x4eb827,_0xef8d31){_0x4eb827=_0x4eb827-0x167;let _0x1024ae=_0x463f13[_0x4eb827];return _0x1024ae;},_0x4eb8(_0x5b1c48,_0x445a70);}export class SuggestionView extends _0x29710f{[_0x3d9553(0x18a)];[_0x3d9553(0x179)];[_0x3d9553(0x1b4)];[_0x3d9553(0x1b0)];[_0x3d9553(0x191)];[_0x3d9553(0x183)];[_0x3d9553(0x192)];[_0x3d9553(0x17a)];[_0x3d9553(0x1aa)];constructor(_0x5eef58,_0x128854,_0x3fc31b){const _0x5d423b=_0x3d9553;super(_0x5eef58),this[_0x5d423b(0x17a)]=_0x128854,this[_0x5d423b(0x1aa)]=_0x3fc31b,this[_0x5d423b(0x172)](_0x5d423b(0x1b2),''),this[_0x5d423b(0x1ae)](_0x5d423b(0x19e))['to'](_0x128854),this[_0x5d423b(0x179)]=this[_0x5d423b(0x19d)](_0x3b454b(_0x5eef58,_0x5d423b(0x16a)),_0x42a059,_0x5d423b(0x18b),_0x5d423b(0x1b8),'sw'),this[_0x5d423b(0x1b4)]=this[_0x5d423b(0x19d)](_0x3b454b(_0x5eef58,_0x5d423b(0x1ba)),_0x434df4,_0x5d423b(0x171),_0x5d423b(0x1bf),'sw'),this[_0x5d423b(0x18a)]=new _0x47258c(_0x5eef58,_0x128854[_0x5d423b(0x1a1)],this[_0x5d423b(0x176)]()),this[_0x5d423b(0x18a)][_0x5d423b(0x1a2)]({'attributes':{'class':[_0x5d423b(0x180),_0x5d423b(0x199)],'aria-hidden':!0x0}}),this[_0x5d423b(0x1b0)]=new _0x5e4c86([this[_0x5d423b(0x179)],this[_0x5d423b(0x1b4)]]),this[_0x5d423b(0x191)]=new _0x2be0a2(),this[_0x5d423b(0x183)]=new _0x17b241(),this[_0x5d423b(0x192)]=new _0xf4fdc4({'focusables':this[_0x5d423b(0x1b0)],'focusTracker':this[_0x5d423b(0x191)],'keystrokeHandler':this[_0x5d423b(0x183)],'actions':{'focusPrevious':_0x5d423b(0x175),'focusNext':_0x5d423b(0x178)},'keystrokeHandlerOptions':{'filter':_0x277b49=>_0x277b49[_0x5d423b(0x1a3)]!==this[_0x5d423b(0x1ad)]}}),this[_0x5d423b(0x185)](this[_0x5d423b(0x195)]());}[_0x3d9553(0x1a8)](){const _0x264bcb=_0x3d9553;super[_0x264bcb(0x1a8)]();const _0x5220f6=this[_0x264bcb(0x1ad)][_0x264bcb(0x188)](_0x264bcb(0x193));_0x5220f6[_0x264bcb(0x1a7)]=this[_0x264bcb(0x1b2)],this['on'](_0x264bcb(0x16b),(_0x294b95,_0x3dcb07,_0x5c47d5)=>{const _0x18f73b=_0x264bcb;_0x5220f6[_0x18f73b(0x1a7)]=_0x5c47d5;}),this[_0x264bcb(0x190)]();}[_0x3d9553(0x195)](){const _0x37388d=_0x3d9553,_0x59624f=this[_0x37388d(0x1ac)],_0x2e22b1=[{'tag':_0x37388d(0x1bb),'attributes':{'class':[_0x37388d(0x16f),_0x37388d(0x1b1)]},'children':[{'tag':_0x37388d(0x1ab),'children':[{'text':this[_0x37388d(0x18a)][_0x37388d(0x18e)]}],'attributes':{'class':[_0x37388d(0x19c),_0x37388d(0x187)],'data-cke-tooltip-text':this[_0x37388d(0x18a)][_0x37388d(0x18e)]}},{'tag':_0x37388d(0x18f),'attributes':{'datetime':_0x59624f['to'](_0x37388d(0x19e)),'class':[_0x37388d(0x1b6),_0x37388d(0x174)]},'children':[{'text':_0x59624f['to'](_0x37388d(0x19e),_0x41b332=>this[_0x37388d(0x1aa)][_0x37388d(0x1b9)](_0x41b332))}]}]},{'tag':_0x37388d(0x1bb),'attributes':{'class':[_0x37388d(0x1be),_0x37388d(0x1bd)]},'children':[this[_0x37388d(0x179)],this[_0x37388d(0x1b4)]]},{'tag':_0x37388d(0x1bb),'attributes':{'class':[_0x37388d(0x18d)]}}];return this[_0x37388d(0x17a)][_0x37388d(0x1b3)]&&_0x2e22b1[_0x37388d(0x197)]({'tag':_0x37388d(0x1bb),'attributes':{'class':[_0x37388d(0x184)]},'children':[{'text':this[_0x37388d(0x16c)]()}]}),{'tag':_0x37388d(0x1bb),'attributes':{'class':[_0x37388d(0x16d),_0x37388d(0x1bc)],'tabindex':-0x1},'children':[this[_0x37388d(0x18a)],{'tag':_0x37388d(0x1bb),'attributes':{'class':[_0x37388d(0x194),_0x37388d(0x1a5)],'role':_0x37388d(0x1a0)},'children':_0x2e22b1}]};}[_0x3d9553(0x17f)](){const _0x37e291=_0x3d9553;this[_0x37e291(0x1ad)][_0x37e291(0x17f)]();}[_0x3d9553(0x176)](){const _0x42eab9=_0x3d9553;return this[_0x42eab9(0x17a)][_0x42eab9(0x1b3)]?_0x42eab9(0x198)===this[_0x42eab9(0x17a)][_0x42eab9(0x17e)][_0x42eab9(0x196)][_0x42eab9(0x19b)]?_0x3b454b(this[_0x42eab9(0x17c)],_0x42eab9(0x186),this[_0x42eab9(0x17a)][_0x42eab9(0x19a)][_0x42eab9(0x18e)]):_0x3b454b(this[_0x42eab9(0x17c)],_0x42eab9(0x17b),this[_0x42eab9(0x17a)][_0x42eab9(0x19a)][_0x42eab9(0x18e)]):null;}[_0x3d9553(0x16c)](){const _0x12232b=_0x3d9553;return _0x12232b(0x198)===this[_0x12232b(0x17a)][_0x12232b(0x17e)][_0x12232b(0x196)][_0x12232b(0x19b)]?_0x3b454b(this[_0x12232b(0x17c)],_0x12232b(0x182)):_0x3b454b(this[_0x12232b(0x17c)],_0x12232b(0x168));}[_0x3d9553(0x19d)](_0x23e745,_0x55aeae,_0x2ccee4,_0x484f21,_0x3ab603){const _0x28f507=_0x3d9553,_0x8142c5=new _0x575978(this[_0x28f507(0x17c)]);return _0x8142c5[_0x28f507(0x172)]({'label':_0x23e745,'icon':_0x55aeae,'tooltip':!0x0,'tooltipPosition':_0x3ab603}),_0x8142c5[_0x28f507(0x1a2)]({'attributes':{'class':_0x2ccee4}}),_0x8142c5['on'](_0x28f507(0x170),()=>{const _0x242dab=_0x28f507;this[_0x242dab(0x169)](_0x484f21,this[_0x242dab(0x17a)]['id']);}),_0x8142c5;}[_0x3d9553(0x190)](){const _0x4fba07=_0x3d9553,_0x27bc22=this[_0x4fba07(0x1ad)];this[_0x4fba07(0x183)][_0x4fba07(0x1a9)](_0x27bc22);for(const _0x10b7ed of this[_0x4fba07(0x1b0)])this[_0x4fba07(0x191)][_0x4fba07(0x167)](_0x10b7ed[_0x4fba07(0x1ad)]),this[_0x4fba07(0x183)][_0x4fba07(0x1a9)](_0x10b7ed[_0x4fba07(0x1ad)]);this[_0x4fba07(0x183)][_0x4fba07(0x172)](_0x4fba07(0x189),(_0x297b01,_0xe19219)=>{const _0x403b6a=_0x4fba07;_0x27bc22===_0x297b01[_0x403b6a(0x1a3)]&&(this[_0x403b6a(0x192)][_0x403b6a(0x1a6)](),_0xe19219());}),this[_0x4fba07(0x183)][_0x4fba07(0x172)](_0x4fba07(0x1b5),(_0x1e87e6,_0x1fc1ee)=>{const _0x11129e=_0x4fba07;_0x27bc22!==_0x1e87e6[_0x11129e(0x1a3)]&&(this[_0x11129e(0x17f)](),_0x1fc1ee());});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x3984e7=_0x1ba4;function _0x4bd9(){const _0x36961a=['data-ck-root-name','219aJQmwj','\x20ck-track-changes-preview__root-container','ck-track-changes-preview','ck-reset','2574sdfxbN','element','setTemplate','dialogRects','div','focus','6liVvlU','362360oOYOwf','createElement','innerHTML','210oslRLS','push','height','4593823blzDoM','13870RgyjqY','width','options','24uvldSo','193whxoox','2286sYaItN','7316965wkiIuf','fire','6479231PJBjFG','content','previewDataReady','setPreviewData','10684KvIUUz','setAttribute','classes','render','className','style'];_0x4bd9=function(){return _0x36961a;};return _0x4bd9();}function _0x1ba4(_0x337c8c,_0x5462bf){const _0x4bd934=_0x4bd9();return _0x1ba4=function(_0x1ba443,_0x537a67){_0x1ba443=_0x1ba443-0x1e4;let _0xc41ad5=_0x4bd934[_0x1ba443];return _0xc41ad5;},_0x1ba4(_0x337c8c,_0x5462bf);}(function(_0x18befc,_0x4a83ab){const _0x548056=_0x1ba4,_0x2813d7=_0x18befc();while(!![]){try{const _0x4a55e0=parseInt(_0x548056(0x1fd))/0x1*(parseInt(_0x548056(0x1fe))/0x2)+-parseInt(_0x548056(0x1e7))/0x3*(-parseInt(_0x548056(0x205))/0x4)+parseInt(_0x548056(0x1ff))/0x5*(-parseInt(_0x548056(0x1f1))/0x6)+-parseInt(_0x548056(0x1f5))/0x7*(-parseInt(_0x548056(0x1f2))/0x8)+-parseInt(_0x548056(0x1eb))/0x9*(parseInt(_0x548056(0x1f9))/0xa)+parseInt(_0x548056(0x201))/0xb*(parseInt(_0x548056(0x1fc))/0xc)+-parseInt(_0x548056(0x1f8))/0xd;if(_0x4a55e0===_0x4a83ab)break;else _0x2813d7['push'](_0x2813d7['shift']());}catch(_0x2d411f){_0x2813d7['push'](_0x2813d7['shift']());}}}(_0x4bd9,0xb46d4));import{View as _0x56d6ab}from'ckeditor5/src/ui.js';export class TrackChangesPreviewView extends _0x56d6ab{[_0x3984e7(0x1fb)];constructor(_0x2474d8,_0x3850fc){const _0x2eedf9=_0x3984e7;super(_0x2474d8),this[_0x2eedf9(0x1fb)]=_0x3850fc,this[_0x2eedf9(0x1ed)]({'tag':_0x2eedf9(0x1ef),'attributes':{'class':['ck',_0x2eedf9(0x1ea),_0x2eedf9(0x1e9)],'tabindex':-0x1}});}[_0x3984e7(0x208)](){const _0x316d72=_0x3984e7;super[_0x316d72(0x208)](),this[_0x316d72(0x1ec)][_0x316d72(0x1e5)][_0x316d72(0x1fa)]=this[_0x316d72(0x1fb)][_0x316d72(0x1ee)][_0x316d72(0x1fa)]+'px',this[_0x316d72(0x1ec)][_0x316d72(0x1e5)][_0x316d72(0x1f7)]=this[_0x316d72(0x1fb)][_0x316d72(0x1ee)][_0x316d72(0x1f7)]+'px';}[_0x3984e7(0x204)](_0x4fb636,_0x439dc3){const _0x5664e3=_0x3984e7;if(!this[_0x5664e3(0x1ec)])return;const _0x4370ea=[];for(const [_0x297741,_0x5839fc]of _0x4fb636){const _0x2265eb=document[_0x5664e3(0x1f3)](_0x5664e3(0x1ef));_0x2265eb[_0x5664e3(0x206)](_0x5664e3(0x1e6),_0x297741),_0x2265eb[_0x5664e3(0x1e4)]=_0x5839fc[_0x5664e3(0x207)]+_0x5664e3(0x1e8),_0x2265eb[_0x5664e3(0x1f4)]=_0x5839fc[_0x5664e3(0x202)],_0x4370ea[_0x5664e3(0x1f6)](_0x2265eb);}_0x439dc3(this[_0x5664e3(0x1ec)],_0x4370ea),this[_0x5664e3(0x1ec)][_0x5664e3(0x1e5)][_0x5664e3(0x1f7)]='',this[_0x5664e3(0x200)](_0x5664e3(0x203));}[_0x3984e7(0x1f0)](){const _0x3cf7cb=_0x3984e7;this[_0x3cf7cb(0x1ec)][_0x3cf7cb(0x1f0)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x12f3a2,_0x540e31,_0x22ca13){const _0x3969da=_0x12f3a2['t'],t=_0x12f3a2['t'];switch(_0x540e31){case'Track\x20changes':return t('Track\x20changes');case'Accept\x20suggestion':return t('Accept\x20suggestion');case'Discard\x20suggestion':return t('Discard\x20suggestion');case'Accept\x20all\x20suggestions':return t('Accept\x20all\x20suggestions');case'Accept\x20all\x20selected\x20suggestions':return t('Accept\x20all\x20selected\x20suggestions');case'Discard\x20all\x20suggestions':return t('Discard\x20all\x20suggestions');case'Discard\x20all\x20selected\x20suggestions':return t('Discard\x20all\x20selected\x20suggestions');case'Preview\x20final\x20content':return t('Preview\x20final\x20content');case'Final\x20content\x20preview':return t('Final\x20content\x20preview');case'*Reset\x20font\x20size*':return t('*Reset\x20font\x20size*');case'*Reset\x20font\x20family*':return t('*Reset\x20font\x20family*');case'*Reset\x20font\x20color*':return t('*Reset\x20font\x20color*');case'*Reset\x20font\x20background\x20color*':return t('*Reset\x20font\x20background\x20color*');case'*Remove\x20image\x20text\x20alternative*':return t('*Remove\x20image\x20text\x20alternative*');case'*Reset\x20image\x20width*':return t('*Reset\x20image\x20width*');case'*Remove\x20link*':return t('*Remove\x20link*');case'*Check\x20item*':return t('*Check\x20item*');case'*Uncheck\x20item*':return t('*Uncheck\x20item*');case'*Remove\x20all\x20formatting*':return t('*Remove\x20all\x20formatting*');case'*Replace\x20table\x20cells*':return t('*Replace\x20table\x20cells*');case'*Merge\x20cells*':return t('*Merge\x20cells*');case'*Split\x20cell:*\x20vertically':return t('*Split\x20cell:*\x20vertically');case'*Split\x20cell:*\x20horizontally':return t('*Split\x20cell:*\x20horizontally');case'*Indent:*\x20%0':return t('*Indent:*\x20%0',_0x22ca13);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x22ca13);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x22ca13);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x22ca13);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x22ca13);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',_0x22ca13);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x22ca13);case'*Replace\x20image*':return t('*Replace\x20image*');case'*Format:*\x20resize\x20table':return t('*Format:*\x20resize\x20table');case'*Format:*\x20set\x20order\x20to\x20reversed':return t('*Format:*\x20set\x20order\x20to\x20reversed');case'*Format:*\x20set\x20order\x20to\x20regular':return t('*Format:*\x20set\x20order\x20to\x20regular');case'*Format:*\x20set\x20start\x20index\x20to\x20%0':return t('*Format:*\x20set\x20start\x20index\x20to\x20%0',_0x22ca13);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x22ca13);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x22ca13);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x22ca13);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x22ca13);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x22ca13);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x22ca13);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x22ca13);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x22ca13);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x22ca13);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x22ca13);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x22ca13);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x22ca13);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x22ca13);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x22ca13);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x22ca13);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x22ca13);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0x22ca13);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'},_0x22ca13);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0x22ca13);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0x22ca13);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x22ca13);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x22ca13);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x22ca13);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x22ca13);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x22ca13);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'},_0x22ca13);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x22ca13);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x22ca13);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x22ca13);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x22ca13);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'},_0x22ca13);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x22ca13);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'},_0x22ca13);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'FORMAT_LINE_HEIGHT':return t({'string':'line\x20height','id':'FORMAT_LINE_HEIGHT'});case'FORMAT_TABLE_BORDER_COLOR':return t({'string':'table\x20border\x20color','id':'FORMAT_TABLE_BORDER_COLOR'});case'FORMAT_TABLE_BORDER_STYLE':return t({'string':'table\x20border\x20style','id':'FORMAT_TABLE_BORDER_STYLE'});case'FORMAT_TABLE_BORDER_WIDTH':return t({'string':'table\x20border\x20width','id':'FORMAT_TABLE_BORDER_WIDTH'});case'FORMAT_TABLE_ALIGNMENT':return t({'string':'table\x20alignment','id':'FORMAT_TABLE_ALIGNMENT'});case'FORMAT_TABLE_WIDTH':return t({'string':'table\x20width','id':'FORMAT_TABLE_WIDTH'});case'FORMAT_TABLE_HEIGHT':return t({'string':'table\x20height','id':'FORMAT_TABLE_HEIGHT'});case'FORMAT_TABLE_BACKGROUND_COLOR':return t({'string':'table\x20background\x20color','id':'FORMAT_TABLE_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_BORDER_COLOR':return t({'string':'table\x20cell\x20border\x20color','id':'FORMAT_TABLE_CELL_BORDER_COLOR'});case'FORMAT_TABLE_CELL_BORDER_STYLE':return t({'string':'table\x20cell\x20border\x20style','id':'FORMAT_TABLE_CELL_BORDER_STYLE'});case'FORMAT_TABLE_CELL_BORDER_WIDTH':return t({'string':'table\x20cell\x20border\x20width','id':'FORMAT_TABLE_CELL_BORDER_WIDTH'});case'FORMAT_TABLE_CELL_PADDING':return t({'string':'table\x20cell\x20padding','id':'FORMAT_TABLE_CELL_PADDING'});case'FORMAT_TABLE_CELL_WIDTH':return t({'string':'table\x20cell\x20width','id':'FORMAT_TABLE_CELL_WIDTH'});case'FORMAT_TABLE_CELL_HEIGHT':return t({'string':'table\x20cell\x20height','id':'FORMAT_TABLE_CELL_HEIGHT'});case'FORMAT_TABLE_CELL_BACKGROUND_COLOR':return t({'string':'table\x20cell\x20background\x20color','id':'FORMAT_TABLE_CELL_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT':return t({'string':'table\x20cell\x20horizontal\x20alignment','id':'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT'});case'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT':return t({'string':'table\x20cell\x20vertical\x20alignment','id':'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT'});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'},_0x22ca13);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x22ca13);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'},_0x22ca13);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x22ca13);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'},_0x22ca13);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x22ca13);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x22ca13);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'},_0x22ca13);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x22ca13);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 _0x3969da({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x22ca13);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x3969da({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x22ca13);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x22ca13);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'},_0x22ca13);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'},_0x22ca13);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'},_0x22ca13);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x540e31;}}
|
|
23
|
+
export function getTranslation(_0x43b9ef,_0x3496bf,_0x5edb80){const _0x1df03a=_0x43b9ef['t'],t=_0x43b9ef['t'];switch(_0x3496bf){case'Track\x20changes':return t('Track\x20changes');case'Accept\x20suggestion':return t('Accept\x20suggestion');case'Discard\x20suggestion':return t('Discard\x20suggestion');case'Accept\x20all\x20suggestions':return t('Accept\x20all\x20suggestions');case'Accept\x20all\x20selected\x20suggestions':return t('Accept\x20all\x20selected\x20suggestions');case'Discard\x20all\x20suggestions':return t('Discard\x20all\x20suggestions');case'Discard\x20all\x20selected\x20suggestions':return t('Discard\x20all\x20selected\x20suggestions');case'Preview\x20final\x20content':return t('Preview\x20final\x20content');case'Final\x20content\x20preview':return t('Final\x20content\x20preview');case'*Reset\x20font\x20size*':return t('*Reset\x20font\x20size*');case'*Reset\x20font\x20family*':return t('*Reset\x20font\x20family*');case'*Reset\x20font\x20color*':return t('*Reset\x20font\x20color*');case'*Reset\x20font\x20background\x20color*':return t('*Reset\x20font\x20background\x20color*');case'*Remove\x20image\x20text\x20alternative*':return t('*Remove\x20image\x20text\x20alternative*');case'*Reset\x20image\x20width*':return t('*Reset\x20image\x20width*');case'*Remove\x20link*':return t('*Remove\x20link*');case'*Check\x20item*':return t('*Check\x20item*');case'*Uncheck\x20item*':return t('*Uncheck\x20item*');case'*Remove\x20all\x20formatting*':return t('*Remove\x20all\x20formatting*');case'*Replace\x20table\x20cells*':return t('*Replace\x20table\x20cells*');case'*Merge\x20cells*':return t('*Merge\x20cells*');case'*Split\x20cell:*\x20vertically':return t('*Split\x20cell:*\x20vertically');case'*Split\x20cell:*\x20horizontally':return t('*Split\x20cell:*\x20horizontally');case'*Indent:*\x20%0':return t('*Indent:*\x20%0',_0x5edb80);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x5edb80);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x5edb80);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x5edb80);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x5edb80);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',_0x5edb80);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x5edb80);case'*Replace\x20image*':return t('*Replace\x20image*');case'*Format:*\x20resize\x20table':return t('*Format:*\x20resize\x20table');case'*Format:*\x20set\x20order\x20to\x20reversed':return t('*Format:*\x20set\x20order\x20to\x20reversed');case'*Format:*\x20set\x20order\x20to\x20regular':return t('*Format:*\x20set\x20order\x20to\x20regular');case'*Format:*\x20set\x20start\x20index\x20to\x20%0':return t('*Format:*\x20set\x20start\x20index\x20to\x20%0',_0x5edb80);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x5edb80);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x5edb80);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x5edb80);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x5edb80);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x5edb80);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x5edb80);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x5edb80);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x5edb80);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x5edb80);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x5edb80);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x5edb80);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x5edb80);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x5edb80);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x5edb80);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x5edb80);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x5edb80);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0x5edb80);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'},_0x5edb80);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0x5edb80);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0x5edb80);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x5edb80);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x5edb80);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x5edb80);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x5edb80);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x5edb80);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'},_0x5edb80);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x5edb80);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x5edb80);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x5edb80);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x5edb80);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'},_0x5edb80);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x5edb80);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'},_0x5edb80);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'FORMAT_LINE_HEIGHT':return t({'string':'line\x20height','id':'FORMAT_LINE_HEIGHT'});case'FORMAT_TABLE_BORDER_COLOR':return t({'string':'table\x20border\x20color','id':'FORMAT_TABLE_BORDER_COLOR'});case'FORMAT_TABLE_BORDER_STYLE':return t({'string':'table\x20border\x20style','id':'FORMAT_TABLE_BORDER_STYLE'});case'FORMAT_TABLE_BORDER_WIDTH':return t({'string':'table\x20border\x20width','id':'FORMAT_TABLE_BORDER_WIDTH'});case'FORMAT_TABLE_ALIGNMENT':return t({'string':'table\x20alignment','id':'FORMAT_TABLE_ALIGNMENT'});case'FORMAT_TABLE_WIDTH':return t({'string':'table\x20width','id':'FORMAT_TABLE_WIDTH'});case'FORMAT_TABLE_HEIGHT':return t({'string':'table\x20height','id':'FORMAT_TABLE_HEIGHT'});case'FORMAT_TABLE_BACKGROUND_COLOR':return t({'string':'table\x20background\x20color','id':'FORMAT_TABLE_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_BORDER_COLOR':return t({'string':'table\x20cell\x20border\x20color','id':'FORMAT_TABLE_CELL_BORDER_COLOR'});case'FORMAT_TABLE_CELL_BORDER_STYLE':return t({'string':'table\x20cell\x20border\x20style','id':'FORMAT_TABLE_CELL_BORDER_STYLE'});case'FORMAT_TABLE_CELL_BORDER_WIDTH':return t({'string':'table\x20cell\x20border\x20width','id':'FORMAT_TABLE_CELL_BORDER_WIDTH'});case'FORMAT_TABLE_CELL_PADDING':return t({'string':'table\x20cell\x20padding','id':'FORMAT_TABLE_CELL_PADDING'});case'FORMAT_TABLE_CELL_WIDTH':return t({'string':'table\x20cell\x20width','id':'FORMAT_TABLE_CELL_WIDTH'});case'FORMAT_TABLE_CELL_HEIGHT':return t({'string':'table\x20cell\x20height','id':'FORMAT_TABLE_CELL_HEIGHT'});case'FORMAT_TABLE_CELL_BACKGROUND_COLOR':return t({'string':'table\x20cell\x20background\x20color','id':'FORMAT_TABLE_CELL_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT':return t({'string':'table\x20cell\x20horizontal\x20alignment','id':'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT'});case'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT':return t({'string':'table\x20cell\x20vertical\x20alignment','id':'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT'});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'},_0x5edb80);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x5edb80);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'},_0x5edb80);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x5edb80);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'},_0x5edb80);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x5edb80);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x5edb80);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'},_0x5edb80);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x5edb80);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 _0x1df03a({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x5edb80);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x1df03a({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x5edb80);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x5edb80);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'},_0x5edb80);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'},_0x5edb80);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'},_0x5edb80);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x3496bf;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x315a(){const _0x4dc1b9=['innerText','12635316gCFSJd','map','6CVqjPG','\x22\x20title=\x22','createPositionBefore','isObject','execute','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','</span>','attribute','split','4843552YeMtKh','<span\x20class=\x22ck-suggestion-type\x22>','createPositionAfter','next','color','deletion','schema','isCollapsed','span','35Kfcoql','sort','isIntersecting','splice','isArray','length','type','push','content','createPositionAt','13707hwJDUI','innerHTML','title','start','5900699XYADnO','add','102xLPlQH','end','isInContent','1653807Dmawdt','change','createElement','getRanges','\x20[color\x20','\x22></span>','value','isTouching','createRange','join','49524mNuNQs','isMultiRange','47862380CzKatA','replace','from'];_0x315a=function(){return _0x4dc1b9;};return _0x315a();}(function(_0x56a5f2,_0x12d1e3){const _0x1d6762=_0x3de6,_0x714009=_0x56a5f2();while(!![]){try{const _0xe26c9c=parseInt(_0x1d6762(0x16f))/0x1*(-parseInt(_0x1d6762(0x175))/0x2)+-parseInt(_0x1d6762(0x178))/0x3+parseInt(_0x1d6762(0x182))/0x4*(parseInt(_0x1d6762(0x19c))/0x5)+-parseInt(_0x1d6762(0x18a))/0x6*(parseInt(_0x1d6762(0x173))/0x7)+-parseInt(_0x1d6762(0x193))/0x8+-parseInt(_0x1d6762(0x188))/0x9+parseInt(_0x1d6762(0x184))/0xa;if(_0xe26c9c===_0x12d1e3)break;else _0x714009['push'](_0x714009['shift']());}catch(_0x162b21){_0x714009['push'](_0x714009['shift']());}}}(_0x315a,0xbc0ce));export function normalizeDescription(_0x1f1e10){const _0x30485d=_0x3de6;return Array[_0x30485d(0x169)](_0x1f1e10)||(_0x1f1e10=[_0x1f1e10]),_0x1f1e10[_0x30485d(0x189)](_0x511e26=>{const _0x1fdc3b=_0x30485d,_0x20653f=_0x511e26[_0x1fdc3b(0x16d)][_0x1fdc3b(0x185)](/\*/g,''),_0x54a40f=_0x511e26[_0x1fdc3b(0x197)]?_0x1fdc3b(0x17c)+_0x511e26[_0x1fdc3b(0x197)][_0x1fdc3b(0x17e)]+']':'';return'['+_0x511e26[_0x1fdc3b(0x16b)]+']\x20'+_0x20653f+_0x54a40f;})[_0x30485d(0x181)](';\x20');}export function renderDescription(_0x393663,_0x2ec5a5){const _0x160ba3=_0x3de6;let _0x1df861='';return _0x1df861+=_0x393663[_0x160ba3(0x192)]('*')[_0x160ba3(0x189)]((_0x404372,_0x371910)=>_0x371910%0x2!=0x0?_0x160ba3(0x194)+Zt(_0x404372)+_0x160ba3(0x190):Zt(_0x404372))[_0x160ba3(0x181)](''),_0x2ec5a5&&(_0x1df861+=_0x160ba3(0x18f)+_0x2ec5a5[_0x160ba3(0x17e)]+_0x160ba3(0x18b)+_0x2ec5a5[_0x160ba3(0x171)]+_0x160ba3(0x17d)),_0x1df861;}function Zt(_0xd58223){const _0xa3eb61=_0x3de6,_0x19ca6a=document[_0xa3eb61(0x17a)](_0xa3eb61(0x19b));return _0x19ca6a[_0xa3eb61(0x187)]=_0xd58223,_0x19ca6a[_0xa3eb61(0x170)];}export function sortSuggestions(_0x37e598){const _0x3f26b1=_0x3de6;return _0x37e598[_0x3f26b1(0x166)]((_0x1c3291,_0x5a69ff)=>_0x3f26b1(0x191)===_0x1c3291[_0x3f26b1(0x16b)]&&_0x3f26b1(0x191)!==_0x5a69ff[_0x3f26b1(0x16b)]?-0x1:_0x3f26b1(0x191)!==_0x1c3291[_0x3f26b1(0x16b)]&&_0x3f26b1(0x191)===_0x5a69ff[_0x3f26b1(0x16b)]?0x1:_0x3f26b1(0x198)==_0x1c3291[_0x3f26b1(0x16b)]&&_0x3f26b1(0x198)!=_0x5a69ff[_0x3f26b1(0x16b)]?-0x1:_0x3f26b1(0x198)!=_0x1c3291[_0x3f26b1(0x16b)]&&_0x3f26b1(0x198)==_0x5a69ff[_0x3f26b1(0x16b)]?0x1:0x0);}export function getSelectedSuggestions(_0x26ead2,_0x345677){const _0x37ee8d=_0x3de6,_0x45d24a=Array[_0x37ee8d(0x186)](_0x26ead2[_0x37ee8d(0x17b)]()),_0x46bd47=new Set();for(const _0xa794cd of _0x345677)if(_0xa794cd[_0x37ee8d(0x177)]){for(const _0x396875 of _0x45d24a)for(const _0x21eb04 of _0xa794cd[_0x37ee8d(0x17b)]())(_0x396875[_0x37ee8d(0x167)](_0x21eb04)||_0x26ead2[_0x37ee8d(0x19a)]&&!_0xa794cd[_0x37ee8d(0x183)]&&_0xa794cd[_0x37ee8d(0x196)]&&_0x21eb04[_0x37ee8d(0x176)][_0x37ee8d(0x17f)](_0x396875[_0x37ee8d(0x172)]))&&_0x46bd47[_0x37ee8d(0x174)](_0xa794cd);}return _0x46bd47;}export function getRangesOfBlockGroups(_0x5658cd,_0x5ad05f){const _0x208ae2=_0x3de6;let _0x670bae,_0x471269=0x0;const _0x48dcc7=[],_0x24bc8b=_0x5ad05f[_0x208ae2(0x199)];for(;_0x471269<_0x5658cd[_0x208ae2(0x16a)];){const _0x4e5c44=_0x5658cd[_0x471269],_0x2e101f=_0x5658cd[_0x471269+0x1];_0x670bae||(_0x670bae=_0x5ad05f[_0x208ae2(0x18c)](_0x4e5c44)),tn(_0x5ad05f,_0x4e5c44,_0x2e101f)||(_0x48dcc7[_0x208ae2(0x16c)](_0x5ad05f[_0x208ae2(0x180)](_0x670bae,_0x24bc8b[_0x208ae2(0x18d)](_0x4e5c44)?_0x5ad05f[_0x208ae2(0x195)](_0x4e5c44):_0x5ad05f[_0x208ae2(0x16e)](_0x4e5c44,_0x208ae2(0x176)))),_0x670bae=null),_0x471269++;}return _0x48dcc7;}function tn(_0x4d0f8c,_0x335d72,_0x411a3c){const _0x29e4b1=_0x3de6;if(!_0x411a3c)return!0x1;const _0x543228=_0x4d0f8c[_0x29e4b1(0x195)](_0x335d72),_0x18ee93=_0x4d0f8c[_0x29e4b1(0x18c)](_0x411a3c);return _0x543228[_0x29e4b1(0x17f)](_0x18ee93);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;function _0x3de6(_0x394d9e,_0x113c61){const _0x315a7b=_0x315a();return _0x3de6=function(_0x3de6fc,_0x5c22fe){_0x3de6fc=_0x3de6fc-0x166;let _0x213662=_0x315a7b[_0x3de6fc];return _0x213662;},_0x3de6(_0x394d9e,_0x113c61);}export function executeCommandForSuggestions(_0x20925e,_0x29736c,_0x27436e){const _0x526ef7=_0x3de6;for(;_0x27436e[_0x526ef7(0x16a)];){const _0x125d99=_0x27436e[_0x526ef7(0x168)](0x0,0x64);_0x20925e[_0x526ef7(0x179)](()=>{const _0x5bd584=_0x526ef7;for(const _0x45b7a4 of _0x125d99)_0x45b7a4[_0x5bd584(0x177)]&&_0x29736c[_0x5bd584(0x18e)](_0x45b7a4['id']);});}}
|