@ckeditor/ckeditor5-collaboration-core 47.2.0-alpha.4 → 47.2.0-alpha.5

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.
Files changed (36) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +13 -13
  3. package/src/suggestions/integrations/alignment.js +1 -1
  4. package/src/suggestions/integrations/basicstyles.js +1 -1
  5. package/src/suggestions/integrations/bookmark.js +1 -1
  6. package/src/suggestions/integrations/font.js +1 -1
  7. package/src/suggestions/integrations/highlight.js +1 -1
  8. package/src/suggestions/integrations/horizontalline.js +1 -1
  9. package/src/suggestions/integrations/htmlembed.js +1 -1
  10. package/src/suggestions/integrations/image.js +1 -1
  11. package/src/suggestions/integrations/indent.js +1 -1
  12. package/src/suggestions/integrations/lineheight.js +1 -1
  13. package/src/suggestions/integrations/link.js +1 -1
  14. package/src/suggestions/integrations/list.js +1 -1
  15. package/src/suggestions/integrations/listproperties.js +1 -1
  16. package/src/suggestions/integrations/mediaembed.js +1 -1
  17. package/src/suggestions/integrations/multilevellist.js +1 -1
  18. package/src/suggestions/integrations/shiftenter.js +1 -1
  19. package/src/suggestions/integrations/style.js +1 -1
  20. package/src/suggestions/integrations/table.js +1 -1
  21. package/src/suggestions/integrations/tableheadings.js +1 -1
  22. package/src/suggestions/integrations/tablelayout.js +1 -1
  23. package/src/suggestions/integrations/tableproperties.js +1 -1
  24. package/src/suggestions/integrations/uploadcare.js +1 -1
  25. package/src/suggestions/suggestionsconversion.js +1 -1
  26. package/src/suggestions/view/ariadescriptionview.js +1 -1
  27. package/src/suggestions/view/latefocusbuttonview.js +1 -1
  28. package/src/users/view/userview.js +1 -1
  29. package/src/utils/confirmmixin.js +1 -1
  30. package/src/utils/confirmview.js +1 -1
  31. package/src/utils/getdatetimeformatter.js +1 -1
  32. package/src/utils/getmarkerdomelement.js +1 -1
  33. package/src/utils/hashobject.js +1 -1
  34. package/src/utils/sanitizeEditorConfig.js +1 -1
  35. package/src/utils/setupthreadkeyboardnavigation.js +1 -1
  36. package/src/utils/trim-html.js +1 -1
package/dist/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ContextPlugin as _0x386925,Editor as _0x2d50e0,Plugin as _0x5e7420}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x4c8bed,Collection as _0x9a8fea,uid as _0x9ba5e4,toArray as rt,first as _0xc848d2,FocusTracker as ts,KeystrokeHandler as _0x280103}from'@ckeditor/ckeditor5-utils/dist/index.js';import{View as _0xa6c29b,IconView as st,ButtonView as _0x44de64,DropdownButtonView as _0xdb6a33,FocusCycler as _0x5484a5,isViewWithFocusCycler as _0x39dc2c}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconNotification as ct,IconCheck as _0xf83c93,IconCancel as _0x2155bb}from'@ckeditor/ckeditor5-icons/dist/index.js';import{setHighlightHandling as it,toWidget as _0x1044e5}from'@ckeditor/ckeditor5-widget/dist/index.js';import{DateTime as tt}from'luxon';import{InsertOperation as _0x107aff,MoveOperation as _0x119d9e,ModelPosition as _0x220ea5,ModelRange as _0x193a76,MarkerOperation as _0x1acdde,MergeOperation as _0x11a7c5,SplitOperation as _0x1188e9,RenameOperation as _0xd6ca6c,AttributeOperation as _0x1a1564,ModelTreeWalker as _0xdd72c,ModelText as _0x8cc624}from'@ckeditor/ckeditor5-engine/dist/index.js';import{diffArrays as _0x5796e5}from'diff';class C extends _0x386925{static get['pluginName'](){return'Permissions';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['setPermissions'](_0x1cd9d7,_0x2463ae){let _0x46914a;if(_0x2463ae||(_0x2463ae=this['context']['config']['get']('collaboration.channelId')),this['context']['config']['get']('collaboration.channelId')==_0x2463ae?_0x46914a=this['context']:'editors'in this['context']&&this['context']['editors']&&(_0x46914a=this['context']['editors']['find'](_0x128f81=>_0x128f81['config']['get']('collaboration.channelId')==_0x2463ae)),!_0x46914a)throw new _0x4c8bed('permissions-set-permissions-invalid-channel-id',null);const _0x47ee06=_0x46914a['plugins'],_0x1cedc6=_0x47ee06['has']('CommentsRepository')?_0x47ee06['get']('CommentsRepository'):void 0x0,_0x1fc0c1=_0x47ee06['has']('CommentsOnly')&&_0x47ee06['get']('CommentsOnly'),_0x18b92b=_0x1cd9d7['includes']('document:write'),_0x4547cf=_0x1cd9d7['includes']('comment:modify_all'),_0x238956=_0x1cd9d7['includes']('comment:admin'),_0x535be2=_0x1cd9d7['includes']('comment:write'),_0x4d49d2=_0x535be2||_0x238956,_0x1e7ba2=_0x4d49d2||_0x4547cf,_0x250ff9=_0x18b92b||_0x4d49d2;(_0x1fc0c1&&(_0x1fc0c1['isEnabled']=!_0x18b92b&&_0x1e7ba2),_0x46914a instanceof _0x2d50e0)&&(!(_0x18b92b||_0x1e7ba2&&_0x1cedc6)?_0x46914a['enableReadOnlyMode']('no-permissions'):_0x46914a['disableReadOnlyMode']('no-permissions'));if(_0x1cedc6){_0x1cedc6['setPermissions']({'admin':_0x238956,'modifyAll':_0x4547cf,'write':_0x535be2,'resolve':_0x250ff9},_0x2463ae);const _0xdcdf9a=_0x46914a instanceof _0x2d50e0&&_0x46914a['commands']['get']('addCommentThread');_0xdcdf9a&&(_0x4d49d2?_0xdcdf9a['clearForceDisabled']('noPermissions'):_0xdcdf9a['forceDisabled']('noPermissions'));}}}function U(_0x417339,_0x4797a4){const t=_0x417339['t'];switch(_0x4797a4){case'Anonymous':return t('Anonymous');case'Yes':return t('Yes');case'No':return t('No');case'Are\x20you\x20sure?':return t('Are\x20you\x20sure?');case'Today':return t('Today');case'Yesterday':return t('Yesterday');case'Last':return t('Last');case'Monday':return t('Monday');case'Tuesday':return t('Tuesday');case'Wednesday':return t('Wednesday');case'Thursday':return t('Thursday');case'Friday':return t('Friday');case'Saturday':return t('Saturday');case'Sunday':return t('Sunday');default:return'';}}class at extends _0x386925{['users'];['_lastColor'];['_myId'];['_locale'];static get['pluginName'](){return'Users';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[C];}constructor(_0x23fdb1){super(_0x23fdb1),this['context']['config']['define']('users.anonymousUserId','anonymous-user'),this['context']['config']['define']('users.colorsCount',0x8),this['users']=new _0x9a8fea(),this['_locale']=_0x23fdb1['locale'],this['_lastColor']=0x0,this['_myId']=null,this['decorate']('getOperationAuthor');}['init'](){this['_addAnonymousUser']();}get['me'](){return null==this['_myId']?null:this['getUser'](this['_myId']);}['addUser']({id:_0x9dad25,name:_0x42831e,..._0x565893}){if(!_0x9dad25||'string'!=typeof _0x9dad25)throw new _0x4c8bed('users-add-invalid-id');if(this['users']['has'](_0x9dad25))throw new _0x4c8bed('users-add-duplicated-id',null,{'id':_0x9dad25});const _0x424f4c=this['context']['config']['get']('users.getInitialsCallback'),_0x4ea159={..._0x565893,'id':_0x9dad25,'name':A(this['_locale'],_0x42831e),'color':this['_getNextColor']()};_0x4ea159['name']=A(this['_locale'],_0x4ea159['name']);const _0x55f384=new lt(_0x4ea159,_0x424f4c);return this['users']['add'](_0x55f384),_0x55f384;}['getUser'](_0x19d953){return this['users']['get'](_0x19d953);}['useAnonymousUser'](){const _0x495f3b=this['context']['config']['get']('users.anonymousUserId');this['_myId']||this['defineMe'](_0x495f3b);}['defineMe'](_0x2acee8){if(this['_myId'])throw new _0x4c8bed('users-me-already-defined',null);const _0xb18e31=this['getUser'](_0x2acee8);if(!_0xb18e31)throw new _0x4c8bed('users-me-missing-user',null);this['_myId']=_0x2acee8,_0xb18e31['_isMe']=!0x0;}['getOperationAuthor'](){return this['me'];}['_getNextColor'](){const _0x3bfe07=this['context']['config']['get']('users.colorsCount');return this['_lastColor']>=_0x3bfe07&&(this['_lastColor']=0x0),new ut(this['_lastColor']++);}['_addAnonymousUser'](){const _0x59d50f=this['context']['config']['get']('users.anonymousUserId');this['addUser']({'id':_0x59d50f,'name':U(this['_locale'],'Anonymous')})['_isAnonymous']=!0x0;}}class lt{['id'];['color'];['name'];['initials'];['avatar'];['_isMe'];['_isAnonymous'];constructor(_0x4710d1,_0x34f688){this['id']=_0x4710d1['id'],this['color']=_0x4710d1['color'],this['name']=_0x4710d1['name'],this['initials']=_0x34f688?_0x34f688(this['name']):this['_computeInitials'](),this['avatar']=_0x4710d1['avatar'],this['_isAnonymous']=!0x1,this['_isMe']=!0x1;}get['isAnonymous'](){return this['_isAnonymous'];}get['isMe'](){return this['_isMe'];}['_computeInitials'](){const _0x2886eb=this['name']['split']('\x20')['filter'](_0x385766=>/^[\p{Letter}]/u['test'](_0x385766));return 0x1===_0x2886eb['length']?this['_getInitial'](_0x2886eb[0x0]):0x0===_0x2886eb['length']?this['_getInitial'](this['name']):this['_getInitial'](_0x2886eb[0x0])+this['_getInitial'](_0x2886eb[_0x2886eb['length']-0x1]);}['_getInitial'](_0x1c696c){return String['fromCodePoint'](_0x1c696c['codePointAt'](0x0))['toUpperCase']();}}function A(_0x31cc77,_0x34b349=''){return''==(_0x34b349=_0x34b349['trim']())?U(_0x31cc77,'Anonymous'):_0x34b349;}class ut{['_id'];constructor(_0x31a324){this['_id']=_0x31a324;}get['id'](){return this['_id'];}['getBackgroundColorClass'](){return'ck-user__bg-color--'+this['id'];}['getSelectionClass'](){return'ck-user__selection--'+this['id'];}['getMarkerClass'](){return'ck-user__marker--'+this['id'];}}class ht extends _0xa6c29b{['name'];['notificationView'];constructor(_0x320b49,_0x485a98,_0x4aa7fd){super(_0x320b49),this['name']=_0x485a98['name'],this['notificationView']=null;const _0x1ff530=['ck','ck-user'],_0x1d8b72=['ck','ck-user__img'];if(_0x485a98['isAnonymous']&&_0x1d8b72['push']('ck-user__anonymous'),!_0x485a98['isAnonymous']&&_0x485a98['isMe']&&_0x1ff530['push']('ck-user_me'),_0x485a98['avatar']&&_0x1d8b72['push']('ck-user__avatar'),_0x4aa7fd){const _0x1f3ee4=new st();_0x1f3ee4['extendTemplate']({'attributes':{'class':['ck-user__icon']}}),_0x1f3ee4['content']=ct,this['notificationView']={'tag':'div','attributes':{'class':['ck','ck-user__notification'],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x4aa7fd},'children':[_0x1f3ee4]};}const _0x3cecee=[{'tag':'div','attributes':{'class':_0x1d8b72,'style':{'background-image':_0x485a98['avatar']?'url(\x27'+_0x485a98['avatar']+'\x27)':''}}},{'tag':'div','attributes':{'class':_0x485a98['avatar']?'ck\x20ck-user__name\x20ck-user__name--hidden':'ck\x20ck-user__name','aria-label':_0x485a98['name']},'children':[{'text':_0x485a98['initials']}]}];this['notificationView']&&_0x3cecee['push'](this['notificationView']),this['setTemplate']({'tag':'div','attributes':{'class':_0x1ff530,'data-user-id':_0x485a98['id']},'children':_0x3cecee});}}class dt extends _0xa6c29b{['id'];constructor(_0x401248,_0x43263e){super(_0x401248),this['id']='ck-aria-description-'+_0x9ba5e4(),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-aria-description'],'id':this['id']},'children':[{'text':_0x43263e}]});}}class ft extends _0x44de64{['render'](){super['render'](),re(this);}}class gt extends _0xdb6a33{['render'](){super['render'](),re(this);}}function re(_0x2cd26c){_0x2cd26c['listenTo'](_0x2cd26c['element'],'mousedown',(_0x84ec91,_0x8e420d)=>{_0x8e420d['stopPropagation'](),_0x8e420d['preventDefault']();}),_0x2cd26c['listenTo'](_0x2cd26c['element'],'mouseup',()=>{_0x2cd26c['element']['focus']();});}function v(_0x25a223){const _0x47bb2a=_0x25a223['split'](':');return{'group':_0x47bb2a[0x0],'type':_0x47bb2a[0x1],'subType':_0x47bb2a['length']>=0x5?_0x47bb2a[0x2]:null,'id':_0x47bb2a['length']<0x5?_0x47bb2a[0x2]:_0x47bb2a[0x3],'authorId':_0x47bb2a['length']<0x5?_0x47bb2a[0x3]:_0x47bb2a[0x4],'markerCount':0x6==_0x47bb2a['length']?_0x47bb2a[0x5]:null};}function mt(_0x57ed96,_0x96376f){const _0x219948=_0x57ed96['end']['nodeBefore'];if(_0x219948&&_0x219948['is']('element')&&_0x96376f['schema']['isBlock'](_0x219948)&&!_0x96376f['schema']['isObject'](_0x219948)){const _0x2711a7=_0x96376f['createPositionAt'](_0x219948,'end');return _0x96376f['createRange'](_0x57ed96['start'],_0x2711a7);}return _0x57ed96;}class M extends _0x5e7420{['afterInit'](){const _0x23ff4d=this['editor'];if(!_0x23ff4d['plugins']['has']('AlignmentEditing'))return;_0x23ff4d['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('alignment');}}const ii=['BoldEditing','ItalicEditing','UnderlineEditing','CodeEditing','StrikethroughEditing','SubscriptEditing','SuperscriptEditing'];class D extends _0x5e7420{['afterInit'](){const _0x39e562=this['editor'],_0x26131e=_0x39e562['plugins']['get']('SuggestionsConversion');for(const _0x4fe4b1 of ii){if(!_0x39e562['plugins']['has'](_0x4fe4b1))continue;const _0x851df8=_0x4fe4b1['slice'](0x0,-0x7)['toLowerCase']();_0x26131e['registerInlineAttribute'](_0x851df8);}}}class I extends _0x5e7420{['afterInit'](){const _0x1bcedd=this['editor'],_0xa262e1=_0x1bcedd['plugins']['get']('SuggestionsConversion');_0x1bcedd['plugins']['has']('BookmarkEditing')&&_0xa262e1['registerBlockAttribute']('bookmarkId');}}const no=[{'pluginName':'FontSizeEditing','commandName':'fontSize'},{'pluginName':'FontFamilyEditing','commandName':'fontFamily'},{'pluginName':'FontColorEditing','commandName':'fontColor'},{'pluginName':'FontBackgroundColorEditing','commandName':'fontBackgroundColor'}];class B extends _0x5e7420{['afterInit'](){const _0x3f67a2=this['editor']['plugins']['get']('SuggestionsConversion');for(const {pluginName:_0x5c4c14,commandName:_0x324ec2}of no)this['editor']['plugins']['has'](_0x5c4c14)&&_0x3f67a2['registerInlineAttribute'](_0x324ec2);}}class T extends _0x5e7420{['afterInit'](){const _0x40e2a7=this['editor'];if(!_0x40e2a7['plugins']['has']('HighlightEditing'))return;_0x40e2a7['plugins']['get']('SuggestionsConversion')['registerInlineAttribute']('highlight');}}class E extends _0x5e7420{['afterInit'](){const _0x99967e=this['editor'];if(!_0x99967e['plugins']['has']('HtmlEmbed'))return;_0x99967e['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('value');}}class S extends _0x5e7420{['afterInit'](){const _0x49f5df=this['editor'];if(!_0x49f5df['plugins']['has']('ImageEditing'))return;const _0x4d635c=_0x49f5df['plugins']['get']('SuggestionsConversion');_0x4d635c['registerBlockAttribute']('src'),_0x49f5df['plugins']['has']('ImageResize')&&_0x4d635c['registerBlockAttribute']('resizedWidth'),_0x49f5df['plugins']['has']('ImageTextAlternativeEditing')&&_0x4d635c['registerBlockAttribute']('alt'),_0x49f5df['plugins']['has']('PictureEditing')&&_0x4d635c['registerBlockAttribute']('sources'),_0x49f5df['plugins']['has']('ImageSizeAttributes')&&(_0x4d635c['registerBlockAttribute']('width'),_0x4d635c['registerBlockAttribute']('height'));}}class $ extends _0x5e7420{['afterInit'](){const _0x1fec73=this['editor'],_0x38c9ed=_0x1fec73['plugins']['get']('SuggestionsConversion');_0x1fec73['plugins']['has']('IndentBlock')&&_0x38c9ed['registerBlockAttribute']('blockIndent');}}class x extends _0x5e7420{['afterInit'](){const _0x3408d4=this['editor'];if(!_0x3408d4['plugins']['has']('LineHeight'))return;_0x3408d4['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('lineHeight');}}class H extends _0x5e7420{['afterInit'](){const _0x48a666=this['editor'];if(!_0x48a666['plugins']['has']('LinkEditing'))return;const _0x56ba18=_0x48a666['plugins']['get']('SuggestionsConversion'),_0x1f0e6e=_0x48a666['commands']['get']('link');_0x56ba18['registerInlineAttribute']('linkHref');for(const _0x1055a9 of _0x1f0e6e['manualDecorators'])_0x56ba18['registerInlineAttribute'](_0x1055a9['id']);}}class N extends _0x5e7420{['afterInit'](){const _0x465eec=this['editor'];if(!_0x465eec['plugins']['has']('ListEditing'))return;const _0xf2440=_0x465eec['plugins']['get']('SuggestionsConversion'),_0x4ac74d=_0x465eec['plugins']['has']('TodoListEditing');_0xf2440['registerBlockAttribute']('listItemId'),_0xf2440['registerBlockAttribute']('listType'),_0xf2440['registerBlockAttribute']('listIndent'),_0x4ac74d&&_0xf2440['registerBlockAttribute']('todoListChecked');}}class P extends _0x5e7420{['afterInit'](){if(!this['editor']['plugins']['has']('ListPropertiesEditing'))return;const _0x2bf153=this['editor']['config']['get']('list.properties'),_0x4b0d62=this['editor']['plugins']['get']('SuggestionsConversion');_0x2bf153['styles']&&_0x4b0d62['registerBlockAttribute']('listStyle'),_0x2bf153['reversed']&&_0x4b0d62['registerBlockAttribute']('listReversed'),_0x2bf153['startIndex']&&_0x4b0d62['registerBlockAttribute']('listStart');}}class K extends _0x5e7420{['afterInit'](){const _0x2a7258=this['editor'],_0xc34bc7=_0x2a7258['plugins']['get']('SuggestionsConversion');_0x2a7258['plugins']['has']('MultiLevelList')&&_0xc34bc7['registerBlockAttribute']('listMarkerStyle');}}class q extends _0x5e7420{['afterInit'](){const _0x4c1499=this['editor'];if(!_0x4c1499['plugins']['has']('Style')||!_0x4c1499['plugins']['has']('DataSchema')||!_0x4c1499['config']['get']('style.definitions'))return;const _0x2e8b5b=_0x4c1499['plugins']['get']('SuggestionsConversion'),_0x2a262b=_0x4c1499['config']['get']('style.definitions'),_0x3e6d28=_0x4c1499['plugins']['get']('GeneralHtmlSupport'),_0x104f83=_0x4c1499['plugins']['get']('StyleUtils')['normalizeConfig'](_0x4c1499['plugins']['get']('DataSchema'),_0x2a262b),_0x13f989=new Set();for(const _0x26fb32 of _0x104f83['block']){const _0x5cdb09=_0x3e6d28['getGhsAttributeNameForElement'](_0x26fb32['element']);_0x13f989['add'](_0x5cdb09);}const _0x55ddbb=new Set();for(const _0x1d7948 of _0x104f83['inline']){const _0x179e9d=_0x3e6d28['getGhsAttributeNameForElement'](_0x1d7948['element']);_0x55ddbb['add'](_0x179e9d);for(const _0xdc679f of _0x1d7948['ghsAttributes'])_0x55ddbb['add'](_0xdc679f);}for(const _0x2a5834 of _0x13f989)_0x2e8b5b['registerBlockAttribute'](_0x2a5834);for(const _0xeebec8 of _0x55ddbb)_0x2e8b5b['registerInlineAttribute'](_0xeebec8);}}class z extends _0x5e7420{['afterInit'](){const _0x3f4f3e=this['editor'];if(!_0x3f4f3e['plugins']['has']('TableEditing'))return;const _0x443c22=_0x3f4f3e['plugins']['get']('SuggestionsConversion');_0x443c22['registerBlockAttribute']('headingRows'),_0x443c22['registerBlockAttribute']('headingColumns');}}class O extends _0x5e7420{['afterInit'](){const _0x492327=this['editor']['plugins']['get']('SuggestionsConversion');if(!this['editor']['plugins']['has']('Table'))return;const _0x1d0872=['tableBorderColor','tableBorderStyle','tableBorderWidth','tableAlignment','tableWidth','tableHeight','tableBackgroundColor','tableCellBorderColor','tableCellBorderStyle','tableCellBorderWidth','tableCellPadding','tableCellWidth','tableCellHeight','tableCellBackgroundColor','tableCellHorizontalAlignment','tableCellVerticalAlignment'];for(const _0x776677 of _0x1d0872)_0x492327['registerBlockAttribute'](_0x776677);}}class R extends _0x5e7420{['afterInit'](){const _0x534a13=this['editor'],_0x44c9f7=_0x534a13['plugins']['get']('SuggestionsConversion');_0x534a13['plugins']['has']('TableLayout')&&_0x44c9f7['registerBlockAttribute']('tableType');}}class F extends _0x5e7420{['afterInit'](){const _0x33fad2=this['editor'],_0x17c346=this['editor']['plugins']['get']('SuggestionsConversion');_0x33fad2['plugins']['has']('Uploadcare')&&_0x33fad2['plugins']['has']('UploadcareImageEdit')&&_0x17c346['registerBlockAttribute']('uploadcareImageId');}}class G extends _0x5e7420{['afterInit'](){const _0x48c94d=this['editor'];if(!_0x48c94d['plugins']['has']('ShiftEnter'))return;const _0x2e489e=_0x48c94d['plugins']['get']('SuggestionsConversion'),_0x106673=(_0xc24954,_0x2b2bd8,_0x818350,_0x42fce7)=>{if(_0x42fce7&&!_0x818350['options']['showSuggestionHighlights'])return;if(!_0x818350['consumable']['test'](_0x2b2bd8['markerRange'],_0xc24954['name']))return;const _0x12a46c=_0x48c94d['model'];for(const _0x275d6f of _0x2b2bd8['markerRange']['getItems']()){if(!_0x275d6f['is']('element','softBreak'))continue;const _0x247746='deletion'==_0x2b2bd8['markerName']['split'](':')[0x1]?'merge':'split',{id:_0x525179,authorId:_0x146930}=v(_0x2b2bd8['markerName']),_0x5d56b2=_0x818350['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x247746,'data-suggestion':_0x525179,'data-author-id':_0x146930}),_0x33f70c=_0x818350['mapper']['toViewPosition'](_0x12a46c['createPositionBefore'](_0x275d6f));!_0x42fce7&&_0x2e489e['_activeMarkers']['includes'](_0x2b2bd8['markerName'])&&_0x818350['writer']['addClass']('ck-suggestion-marker--active',_0x5d56b2),_0x818350['writer']['insert'](_0x33f70c,_0x5d56b2),_0x818350['mapper']['bindElementToMarker'](_0x5d56b2,_0x2b2bd8['markerName']);}};_0x48c94d['editing']['downcastDispatcher']['on']('addMarker:suggestion',(_0x558ce3,_0x3e2380,_0x5c74e9)=>{_0x106673(_0x558ce3,_0x3e2380,_0x5c74e9,!0x1);},{'priority':'high'}),_0x48c94d['data']['downcastDispatcher']['on']('addMarker:suggestion',(_0x287ce9,_0x43e24c,_0x526351)=>{_0x106673(_0x287ce9,_0x43e24c,_0x526351,!0x0);},{'priority':'high'});}}class J extends _0x5e7420{['afterInit'](){const _0x547f89=this['editor'];_0x547f89['plugins']['has']('MediaEmbedEditing')&&(_0x547f89['conversion']['for']('dataDowncast')['elementToElement']({'model':'media','view':(_0x21726c,{writer:_0xb0ff8b,options:_0x451aa8})=>{if(_0x451aa8['showSuggestionHighlights'])return _0xb0ff8b['createEmptyElement']('div');},'converterPriority':'high'}),_0x547f89['data']['downcastDispatcher']['on']('attribute:url:media',(_0x3344a7,_0x4951c8,_0x210cc9)=>{_0x210cc9['options']['showSuggestionHighlights']&&_0x3344a7['stop']();},{'priority':'high'}));}}class L extends _0x5e7420{['afterInit'](){const _0x4ad327=this['editor'];if(!_0x4ad327['plugins']['has']('Table'))return;_0x4ad327['data']['downcastDispatcher']['on']('addMarker:suggestion',(_0x2999c0,_0x45011b,_0x5683d6)=>{((_0x2bc079,_0x5a09cc,_0x18e2f2)=>{if(!_0x18e2f2['options']['showSuggestionHighlights'])return;const _0x14c235=_0x5a09cc['item'];if(!_0x14c235||!_0x14c235['is']('element','tableCell'))return;const _0x28874e=_0x18e2f2['mapper']['toViewElement'](_0x14c235);if(_0x28874e){const {id:_0x28207d,authorId:_0x4c0df9}=v(_0x5a09cc['markerName']);it(_0x28874e,_0x18e2f2['writer'],(_0x529637,_0x506fc8,_0x11a092)=>{_0x11a092['addClass'](rt(_0x506fc8['classes']),_0x529637),_0x11a092['setAttribute']('data-suggestion-id',_0x28207d,_0x529637),_0x11a092['setAttribute']('data-author-id',_0x4c0df9,_0x529637);});}})(0x0,_0x45011b,_0x5683d6);},{'priority':'highest'});}}class Q extends _0x5e7420{['afterInit'](){const _0x2f742b=this['editor'];_0x2f742b['plugins']['has']('HorizontalLineEditing')&&_0x2f742b['conversion']['for']('dataDowncast')['elementToStructure']({'model':'horizontalLine','view':(_0x57e888,{writer:_0x38b682,options:_0x367432})=>{if(!_0x367432['showSuggestionHighlights'])return null;const _0x2ebc50=_0x38b682['createContainerElement']('div'),_0x295eec=_0x38b682['createEmptyElement']('hr');return _0x38b682['addClass']('ck-horizontal-line',_0x2ebc50),_0x38b682['insert'](_0x38b682['createPositionAt'](_0x2ebc50,0x0),_0x295eec),_0x2ebc50;},'converterPriority':'high'});}}class kt extends _0x5e7420{['_activeMarkers']=[];['_blockAttributeKeys']=new Set(['$elementName']);['_inlineAttributeKeys']=new Set();static get['pluginName'](){return'SuggestionsConversion';}static get['requires'](){return[M,D,I,B,T,Q,E,S,$,x,H,N,P,J,K,G,q,L,z,R,O,F];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x54aee1=this['editor'],_0x559cca=(_0x1f151b,_0x214565,_0x520d2f)=>{const {id:_0x3eeaf2,authorId:_0x3aedcf,type:_0x3a2c44,subType:_0x35353e}=v(_0x1f151b['markerName']),_0x3786bb=['ck-suggestion-marker',this['_getClassName'](_0x3a2c44,_0x35353e)];let _0x4c36b2=0xbb8;return!_0x520d2f&&(this['_activeMarkers']['includes'](_0x1f151b['markerName'])&&(_0x3786bb['push']('ck-suggestion-marker--active'),_0x4c36b2=0xbc2)),('deletion'==_0x3a2c44&&(_0x4c36b2+=0x5),{'classes':_0x3786bb,'attributes':{'data-suggestion':_0x3eeaf2,'data-author-id':_0x3aedcf},'priority':_0x4c36b2});};_0x54aee1['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'suggestion','view':(_0xa400cc,_0x554e09)=>_0x559cca(_0xa400cc,0x0,!0x1)}),_0x54aee1['conversion']['for']('dataDowncast')['markerToHighlight']({'model':'suggestion','view':(_0x35021a,_0x324cf3)=>_0x559cca(_0x35021a,0x0,!0x0)}),_0x54aee1['conversion']['for']('dataDowncast')['add'](_0x4c09ec=>{_0x4c09ec['on']('addMarker:suggestion',(_0x3f0386,_0x4a6940,_0x4407ef)=>{if(!_0x4407ef['options']['showSuggestionHighlights'])return;const _0x3ea683=_0x4a6940['item'];if(!_0x3ea683)return;const _0x433f3c=_0x4407ef['mapper']['toViewElement'](_0x3ea683);_0x54aee1['model']['schema']['isObject'](_0x3ea683)&&_0x433f3c&&!_0x433f3c['getCustomProperty']('widget')&&_0x433f3c['is']('containerElement')&&_0x1044e5(_0x433f3c,_0x4407ef['writer']);},{'priority':'high'});});const _0x35bfa1=(_0x4a4fa7,_0x392f40,_0x19d2b6,_0x4f928f,_0xad93fa)=>{if(_0x4f928f&&!_0x19d2b6['options']['showSuggestionHighlights'])return;if(!_0x392f40['item'])return;const {id:_0x124256,authorId:_0x47b386,subType:_0x1aa366}=v(_0x392f40['markerName']);if(_0xad93fa){const _0x27070e=_0x1aa366['split']('|')[0x0];if(!this['isBlockAttribute'](_0x27070e))return;}if(_0x392f40['item']['is']('selection'))return void _0x19d2b6['consumable']['consume'](_0x392f40['item'],_0x4a4fa7['name']);const _0x43418e=_0x19d2b6['mapper']['toViewElement'](_0x392f40['item']);if(_0x392f40['item']['is']('element')&&_0x54aee1['model']['schema']['isBlock'](_0x392f40['item'])&&!_0x43418e['getCustomProperty']('addHighlight')){_0x19d2b6['writer']['addClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock'],_0x43418e),_0x19d2b6['writer']['setAttribute']('data-suggestion',_0x124256,_0x43418e),_0x19d2b6['writer']['setAttribute']('data-author-id',_0x47b386,_0x43418e),_0x19d2b6['mapper']['bindElementToMarker'](_0x43418e,_0x392f40['markerName']),_0x4f928f||(this['_activeMarkers']['includes'](_0x392f40['markerName'])?_0x19d2b6['writer']['addClass']('ck-suggestion-marker--active',_0x43418e):_0x19d2b6['writer']['removeClass']('ck-suggestion-marker--active',_0x43418e));for(const _0xdc3a8a of _0x54aee1['model']['createRangeIn'](_0x392f40['item'])['getItems']())_0x19d2b6['consumable']['consume'](_0xdc3a8a,_0x4a4fa7['name']);_0x19d2b6['consumable']['consume'](_0x392f40['item'],_0x4a4fa7['name']);}},_0xd98f17=(_0x2242e1,_0x27e07e,_0x53b16f,_0x3d57f6)=>{const _0x13b835=_0x53b16f['mapper']['markerNameToElements'](_0x27e07e['markerName']);if(_0x13b835){if(_0x3d57f6){const {subType:_0x313dcd}=v(_0x27e07e['markerName']),_0x53ad96=_0x313dcd['split']('|')[0x0];if(!this['isBlockAttribute'](_0x53ad96))return;}for(const _0x1fe1d3 of _0x13b835)_0x1fe1d3['getCustomProperty']('addHighlight')||(_0x53b16f['writer']['removeClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock','ck-suggestion-marker--active'],_0x1fe1d3),_0x53b16f['writer']['removeAttribute']('data-suggestion',_0x1fe1d3),_0x53b16f['writer']['removeAttribute']('data-author-id',_0x1fe1d3),_0x53b16f['mapper']['unbindElementFromMarkerName'](_0x1fe1d3,_0x27e07e['markerName']));}};_0x54aee1['conversion']['for']('editingDowncast')['add'](_0x3dd38a=>{_0x3dd38a['on']('addMarker:suggestion:formatBlock',(_0x15029c,_0x264813,_0x19fed2)=>{_0x35bfa1(_0x15029c,_0x264813,_0x19fed2,!0x1,!0x1);},{'priority':'high'});}),_0x54aee1['conversion']['for']('editingDowncast')['add'](_0x5355c7=>{_0x5355c7['on']('addMarker:suggestion:attribute',(_0x124561,_0xce26b9,_0x2cedf6)=>{_0x35bfa1(_0x124561,_0xce26b9,_0x2cedf6,!0x1,!0x0);},{'priority':'high'});}),_0x54aee1['conversion']['for']('editingDowncast')['add'](_0x25b3e2=>{_0x25b3e2['on']('removeMarker:suggestion:formatBlock',(_0x108a84,_0x26ed11,_0x5909b5)=>{_0xd98f17(0x0,_0x26ed11,_0x5909b5,!0x1);},{'priority':'high'});}),_0x54aee1['conversion']['for']('editingDowncast')['add'](_0x4d6740=>{_0x4d6740['on']('removeMarker:suggestion:attribute',(_0x178fe2,_0x179f8d,_0x56f7c0)=>{_0xd98f17(0x0,_0x179f8d,_0x56f7c0,!0x0);},{'priority':'high'});}),_0x54aee1['conversion']['for']('dataDowncast')['add'](_0x3e7faa=>{_0x3e7faa['on']('addMarker:suggestion:formatBlock',(_0x1e5f68,_0x1c14e6,_0x4f4ed4)=>{_0x35bfa1(_0x1e5f68,_0x1c14e6,_0x4f4ed4,!0x0,!0x1);},{'priority':'highest'});}),_0x54aee1['conversion']['for']('dataDowncast')['add'](_0x2dc111=>{_0x2dc111['on']('addMarker:suggestion:attribute',(_0x261344,_0x155c55,_0x38a30f)=>{_0x35bfa1(_0x261344,_0x155c55,_0x38a30f,!0x0,!0x0);},{'priority':'highest'});}),_0x54aee1['conversion']['for']('dataDowncast')['markerToData']({'model':'suggestion','view':(_0x182d0a,_0x11794e)=>{if(_0x11794e['options']['showSuggestionHighlights']){const {id:_0x352590,authorId:_0x4f918d}=v(_0x182d0a);return _0x182d0a['includes'](':split')||_0x182d0a['includes'](':merge')?{'group':'suggestion','name':_0x182d0a['substr'](0xb),'attributes':{'data-suggestion':_0x352590,'data-author-id':_0x4f918d}}:null;}return{'group':'suggestion','name':_0x182d0a['substr'](0xb)};}});const _0x33b563=(_0x44f5c4,_0x188e3e,_0x5de64a,_0x576ccd,_0x400092)=>{if(_0x576ccd&&!_0x5de64a['options']['showSuggestionHighlights'])return;if(!_0x5de64a['consumable']['test'](_0x188e3e['markerRange'],_0x44f5c4['name']))return;const _0x5b32f0=this['_activeMarkers'],_0x346dde=_0x188e3e['markerRange']['getWalker'](),_0x3ce707=_0x188e3e['markerRange']['start'],_0x34515f=_0x54aee1['model']['schema'];let _0x491a81=null,_0x2d712d=null,_0x465dc5=!0x1,_0x2eb41f=!0x1;for(const _0x29d2a0 of _0x346dde){const _0x54f9ce=_0x29d2a0['item'];_0x465dc5=_0x465dc5||_0x34515f['isContent'](_0x54f9ce);const _0x482443=_0x5de64a['mapper']['toViewElement'](_0x54f9ce);if(_0x482443&&_0x482443['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x29d2a0['type']&&(_0x34515f['isBlock'](_0x54f9ce)&&!_0x34515f['isLimit'](_0x54f9ce)&&(_0x54f9ce['nextSibling']||_0x3ce707['isAtEnd']?_0x491a81&&_0x491a81['parent']==_0x54f9ce||(_0x491a81=_0x54f9ce,_0x2956ae(_0x29d2a0['previousPosition']),_0x2eb41f=!0x0):_0x2d712d=_0x2d712d||_0x29d2a0['previousPosition']));}function _0x2956ae(_0x293ae5){const {id:_0xe23594,authorId:_0x1d1741}=v(_0x188e3e['markerName']),_0x378f48=_0x5de64a['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x400092,'data-suggestion':_0xe23594,'data-author-id':_0x1d1741}),_0x97dece=_0x5de64a['mapper']['toViewPosition'](_0x293ae5);!_0x576ccd&&_0x5b32f0['includes'](_0x188e3e['markerName'])&&_0x5de64a['writer']['addClass']('ck-suggestion-marker--active',_0x378f48),_0x5de64a['writer']['insert'](_0x97dece,_0x378f48),_0x5de64a['mapper']['bindElementToMarker'](_0x378f48,_0x188e3e['markerName']);}_0x465dc5||_0x2eb41f||!_0x2d712d||_0x2956ae(_0x2d712d);};_0x54aee1['editing']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x31d2f3,_0x152af7,_0x488f82)=>{_0x33b563(_0x31d2f3,_0x152af7,_0x488f82,!0x1,'merge');},{'priority':'high'}),_0x54aee1['data']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0xecbebf,_0x3b9a4b,_0xbe3ddd)=>{_0x33b563(_0xecbebf,_0x3b9a4b,_0xbe3ddd,!0x0,'merge');},{'priority':'high'}),_0x54aee1['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x1093c3,_0x40068a,_0x58f6b6)=>{_0x33b563(_0x1093c3,_0x40068a,_0x58f6b6,!0x1,'split');},{'priority':'high'}),_0x54aee1['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x8f6dbe,_0x501ac9,_0x23e1e0)=>{_0x33b563(_0x8f6dbe,_0x501ac9,_0x23e1e0,!0x0,'split');},{'priority':'high'}),_0x54aee1['editing']['downcastDispatcher']['on']('removeMarker:suggestion',(_0x596485,_0x529d5c,_0x1bda7a)=>{((_0x30f54c,_0x6e1044,_0x5406b3)=>{const _0x12cd93=_0x5406b3['mapper']['markerNameToElements'](_0x6e1044['markerName']);if(_0x12cd93){for(const _0xad887a of _0x12cd93)(_0xad887a['hasClass']('ck-suggestion-marker-split')||_0xad887a['hasClass']('ck-suggestion-marker-merge'))&&(_0x5406b3['mapper']['unbindElementFromMarkerName'](_0xad887a,_0x6e1044['markerName']),_0x5406b3['writer']['remove'](_0xad887a));}})(0x0,_0x529d5c,_0x1bda7a);},{'priority':'high'});const _0x963083=(_0x1877f2,_0x116bdc,_0x26a203,_0x2a5376)=>{if(_0x2a5376&&!_0x26a203['options']['showSuggestionHighlights'])return;const _0x134447=_0x116bdc['markerRange']['start'],_0x240443=_0x116bdc['markerRange']['end'],_0x31fcee=_0x54aee1['model']['schema'];if(!_0x134447['isTouching'](_0x240443)||!_0x134447['nodeAfter'])return;const _0x43ac2b=_0x134447['nodeAfter'];if(_0x31fcee['isBlock'](_0x43ac2b)&&!_0x31fcee['isLimit'](_0x43ac2b)&&_0x31fcee['checkChild'](_0x43ac2b,'$text')){if(!_0x26a203['consumable']['consume'](_0x116bdc['markerRange'],_0x1877f2['name']))return;const {id:_0x442b82,authorId:_0x17ec22}=v(_0x116bdc['markerName']),_0x592b7e=_0x26a203['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-split','data-suggestion':_0x442b82,'data-author-id':_0x17ec22}),_0xa1c042=_0x26a203['mapper']['toViewPosition'](_0x240443);!_0x2a5376&&this['_activeMarkers']['includes'](_0x116bdc['markerName'])&&_0x26a203['writer']['addClass']('ck-suggestion-marker--active',_0x592b7e),_0x26a203['writer']['insert'](_0xa1c042,_0x592b7e),_0x26a203['mapper']['bindElementToMarker'](_0x592b7e,_0x116bdc['markerName']);}};_0x54aee1['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x216e0e,_0x4f9dbb,_0x53b435)=>{_0x963083(_0x216e0e,_0x4f9dbb,_0x53b435,!0x1);},{'priority':'high'}),_0x54aee1['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0xc5ed0e,_0x400943,_0x508e3a)=>{_0x963083(_0xc5ed0e,_0x400943,_0x508e3a,!0x0);},{'priority':'high'});}['afterInit'](){this['editor']['plugins']['has']('TrackChangesEditing')&&this['listenTo'](this['editor']['plugins']['get']('TrackChangesEditing'),'change:activeMarkers',(_0x22b2ec,_0x5010ef,_0x449d31)=>{this['_activeMarkers']=_0x449d31['slice']();},{'priority':'highest'});}['registerBlockAttribute'](_0x291aa3){this['_blockAttributeKeys']['add'](_0x291aa3);}['registerInlineAttribute'](_0x4969a3){this['_inlineAttributeKeys']['add'](_0x4969a3);}['isBlockAttribute'](_0x164e32){return this['_blockAttributeKeys']['has'](_0x164e32);}['isInlineAttribute'](_0x23aa75){return this['_inlineAttributeKeys']['has'](_0x23aa75);}['isRegisteredAttribute'](_0x30fc09){return this['isInlineAttribute'](_0x30fc09)||this['isBlockAttribute'](_0x30fc09);}['_getClassName'](_0x3fb6fe,_0x2bb98b){if('attribute'!=_0x3fb6fe)return'ck-suggestion-marker-'+_0x3fb6fe;const _0xf197e0=_0x2bb98b['split']('|')[0x0];return this['isBlockAttribute'](_0xf197e0)?'ck-suggestion-marker-formatBlock':'ck-suggestion-marker-formatInline';}}function pt(_0x2c18f3={},_0xcc94c){if(void 0x0!==_0x2c18f3['dateTimeFormat']&&'function'!=typeof _0x2c18f3['dateTimeFormat'])throw new _0x4c8bed('invalid-date-time-format');return _0x447cc5=>{const _0x4add4b='string'==typeof _0x447cc5?tt['fromISO'](_0x447cc5):tt['fromJSDate'](_0x447cc5),_0x4e8ceb=tt['now'](),_0x5102fd=Math['floor'](_0x4e8ceb['diff'](_0x4add4b,'days')['days']);return _0x2c18f3['dateTimeFormat']?_0x2c18f3['dateTimeFormat'](_0x4add4b['toJSDate'](),_0xcc94c&&_0xcc94c['t']?_0xcc94c['t']:void 0x0):0x0===_0x5102fd?_0xcc94c?U(_0xcc94c,'Today')+'\x20'+_0x4add4b['toFormat']('hh:mma'):_0x4add4b['toFormat']('\x27Today\x27\x20hh:mma'):0x1===_0x5102fd?_0xcc94c?U(_0xcc94c,'Yesterday')+'\x20'+_0x4add4b['toFormat']('hh:mma'):_0x4add4b['toFormat']('\x27Yesterday\x27\x20hh:mma'):_0x5102fd<0x7?_0xcc94c?U(_0xcc94c,'Last')+'\x20'+U(_0xcc94c,_0x4add4b['toFormat']('EEEE'))+'\x20'+_0x4add4b['toFormat']('hh:mma'):_0x4add4b['toFormat']('\x27Last\x27\x20EEEE\x20hh:mma'):_0x4add4b['toFormat']('LL-dd-yyyy\x20hh:mma');};}function yt(_0x48f614,_0x108be4){const _0x5e3ba1=_0x48f614['mapper']['markerNameToElements'](_0x108be4['name']);if(!_0x5e3ba1)return null;const _0x35edb8=_0xc848d2(_0x5e3ba1['values']());return _0x48f614['view']['domConverter']['mapViewToDom'](_0x35edb8)||null;}function wt(_0x5d0a92,_0x18dadb){if(0x0===_0x18dadb['length'])return null;const _0x199a2b=[],_0x5bf848=_0x5d0a92['view']['domConverter'];for(const _0x34976e of _0x18dadb){const _0x12396e=_0x5d0a92['mapper']['markerNameToElements'](_0x34976e['name']);if(!_0x12396e)continue;const _0x3a1269=Array['from'](_0x12396e)['map'](_0x5cdc52=>_0x5bf848['mapViewToDom'](_0x5cdc52))['filter'](_0x7689bb=>!!_0x7689bb);_0x199a2b['push'](..._0x3a1269);}if(0x0===_0x199a2b['length'])return null;const _0x2c5cf7=[];for(const _0x334b36 of _0x199a2b){const _0x78caff=_0x334b36['getClientRects']()['item'](0x0);_0x78caff&&_0x2c5cf7['push']({'x':_0x78caff['x'],'y':_0x78caff['y'],'domElement':_0x334b36});}return 0x0===_0x2c5cf7['length']?null:(_0x2c5cf7['sort']((_0x5da655,_0x49ecfb)=>_0x5da655['y']-_0x49ecfb['y']||_0x5da655['x']-_0x49ecfb['x']),_0x2c5cf7['map'](_0x9c3f61=>_0x9c3f61['domElement']));}function bt(_0x803b9c,{limit:_0x51ebcf,suffix:_0x13a971='...'}){const _0x10048c=[];let _0x1e14d8=0x0;const _0x25f1f3=_0x803b9c['replace'](/</g,'\x0a<')['replace'](/>/g,'>\x0a')['replace'](/^\n/g,'')['replace'](/\n$/g,'')['split']('\x0a');for(let _0x38f08c=0x0;_0x38f08c<_0x25f1f3['length'];_0x38f08c++){let _0x2e9913=_0x25f1f3[_0x38f08c];const _0x1c87d6=tn(_0x2e9913);if(_0x2e9913['startsWith']('<')){if(_0x1e14d8>=_0x51ebcf){const _0x3e5e54=_0x2e9913['match'](/[a-zA-Z]+/);if(!_0x3e5e54){_0x25f1f3[_0x38f08c]='';continue;}const _0x33ce8d=_0x3e5e54[0x0];_0x2e9913['startsWith']('</')?(_0x10048c['length']&&(_0x2e9913=''),_0x10048c['pop']()):(_0x10048c['push'](_0x33ce8d),_0x2e9913='');}}else{if(_0x1e14d8>=_0x51ebcf)_0x2e9913='';else{if(_0x1e14d8+_0x1c87d6['length']>=_0x51ebcf){let _0x4eb7b0=_0x51ebcf-_0x1e14d8;if('\x20'===_0x1c87d6[_0x4eb7b0-0x1])_0x4eb7b0--;else{const _0x50d3be=_0x1c87d6['slice'](_0x4eb7b0)['indexOf']('\x20');-0x1!==_0x50d3be?_0x4eb7b0+=_0x50d3be:_0x4eb7b0=_0x2e9913['length'];}_0x2e9913=_0x1c87d6['slice'](0x0,_0x4eb7b0)['join']('')+_0x13a971,_0x1e14d8=_0x51ebcf;}else _0x1e14d8+=_0x1c87d6['length'];}}_0x25f1f3[_0x38f08c]=_0x2e9913;}return _0x25f1f3['join']('\x0a')['replace'](/\n/g,'');}function tn(_0x43c589){const _0x6ea667=[];for(let _0x40ddd0=0x0;_0x40ddd0<_0x43c589['length'];_0x40ddd0++){const _0x365264=_0x43c589['substring'](_0x40ddd0)['match'](/^&[a-z0-9#]+;/);if(_0x365264){const _0x2b206e=_0x365264[0x0];_0x6ea667['push'](_0x2b206e),_0x40ddd0+=_0x2b206e['length']-0x1;}else _0x6ea667['push'](_0x43c589[_0x40ddd0]);}return _0x6ea667;}class V extends _0xa6c29b{['submitView'];['cancelView'];['focusTracker'];['keystrokes'];['focusCycler'];['focusables'];constructor(_0x20896d){super(_0x20896d);const _0x14ec10=this['bindTemplate'];this['set']('message',U(_0x20896d,'Are\x20you\x20sure?')),this['submitView']=this['_createButtonView'](_0x20896d,U(_0x20896d,'Yes'),_0xf83c93,'submit'),this['cancelView']=this['_createButtonView'](_0x20896d,U(_0x20896d,'No'),_0x2155bb,'cancel'),this['focusables']=this['createCollection']([this['submitView'],this['cancelView']]),this['focusTracker']=new ts(),this['keystrokes']=new _0x280103(),this['focusCycler']=new _0x5484a5({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift+tab','focusNext':'tab'}}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-confirm-view'],'tabindex':-0x1,'role':'alertdialog'},'children':[{'tag':'div','attributes':{'class':'ck-confirm-view-inner','role':'presentation'},'children':[{'tag':'p','children':[{'text':_0x14ec10['to']('message')}]},{'tag':'div','attributes':{'class':'ck-confirm-view-actions'},'children':[this['submitView'],this['cancelView']]}]}]});}['render'](){super['render'](),this['_setupKeyboardNavigation']();}['focus'](){this['cancelView']['element']['focus']({'preventScroll':!0x0});}['_createButtonView'](_0x136444,_0x2852ec,_0x4c0c4b,_0x305522){const _0xadf30e=new _0x44de64(_0x136444);return _0xadf30e['label']=_0x2852ec,_0xadf30e['icon']=_0x4c0c4b,_0xadf30e['extendTemplate']({'attributes':{'class':'ck-confirm-view-'+_0x305522}}),_0xadf30e['on']('execute',()=>this['fire'](_0x305522)),_0xadf30e;}['_setupKeyboardNavigation'](){this['focusables']['forEach'](_0x32e4a4=>{this['keystrokes']['listenTo'](_0x32e4a4['element']),this['focusTracker']['add'](_0x32e4a4['element']);}),this['keystrokes']['set']('esc',(_0x226fd9,_0x8942a7)=>{this['fire']('cancel'),_0x8942a7();});}}function vt(_0x559fe9){return class extends _0x559fe9{['showConfirm'](_0xe81b27,_0x3b91cd){return this['confirmView']=new V(this['locale']),this['confirmView']['render'](),this['confirmView']['message']=_0xe81b27,this['confirmView']['once']('cancel',()=>{this['_removeConfirm']();}),this['confirmView']['once']('submit',()=>{this['_removeConfirm']();}),_0x3b91cd['appendChild'](this['confirmView']['element']),_0x3b91cd['classList']['add']('ck-confirm-view-active'),this['registerChild'](this['confirmView']),this['confirmView']['focus'](),this['set']('isConfirm',!0x0),this['on']('change:isConfirm',(_0x57ab65,_0x2d8351,_0x4f4622)=>{_0x4f4622||_0x3b91cd['classList']['remove']('ck-confirm-view-active');}),new Promise(_0x3dd43f=>this['confirmView']['on']('submit',_0x3dd43f));}['cancelConfirm'](){this['isConfirm']&&this['confirmView']['fire']('cancel');}['_removeConfirm'](){this['element']&&this['confirmView']&&this['confirmView']['element']&&(this['element']['focus'](),this['confirmView']['element']['remove'](),this['deregisterChild'](this['confirmView']),this['isConfirm']=!0x1,this['fire']('removeConfirm'),this['confirmView']['destroy'](),this['confirmView']=void 0x0);}};}function k(_0x31c34b){let _0x401ea3=0x0,_0x5e722c=0x0;for(const _0x5d4555 of ne(_0x31c34b))_0x401ea3=(_0x401ea3<<0x5)-_0x401ea3+_0x5d4555,_0x401ea3&=_0x401ea3,[_0x401ea3,_0x5e722c]=[_0x5e722c,_0x401ea3];return ie(_0x401ea3)+ie(_0x5e722c);}function*ee(_0x4e458b){null==_0x4e458b||null==_0x4e458b?yield 0x12b9b0a1:0x0===_0x4e458b||!0x1===_0x4e458b?yield 0x0:0x1===_0x4e458b||0x1==_0x4e458b?yield 0x1:Array['isArray'](_0x4e458b)?yield*function*(_0x4f539e){for(const _0x320023 of _0x4f539e)yield*ee(_0x320023);}(_0x4e458b):'object'==typeof _0x4e458b?yield*ne(_0x4e458b):'string'==typeof _0x4e458b?yield*oe(_0x4e458b):'number'==typeof _0x4e458b&&(yield _0x4e458b);}function*ne(_0xc468bd){if(yield te('{'),_0xc468bd){const _0x157f03=Object['keys'](_0xc468bd)['sort']();for(const _0x456a05 of _0x157f03){yield*oe(_0x456a05),yield te(':');const _0xe1abdc=_0xc468bd[_0x456a05];yield*ee(_0xe1abdc);}}yield te('}');}function*oe(_0x123162){yield te('\x22');for(const _0x158a48 of _0x123162)yield te(_0x158a48);yield te('\x22');}function te(_0x54d769){return _0x54d769['charCodeAt'](0x0);}function ie(_0x55fea2){return(_0x55fea2*=Math['sign'](_0x55fea2))['toString'](0x24);}const nt=['initialData','context','toolbar','rootsAttributes'],et=['WebSocketGateway','RevisionTracker','Autosave','WordCount','DocumentOutline','WProofreader'];function ot(_0x2da69b,_0x13733f,_0xb127c7,_0x57d587=[]){const _0x37ba18='string'==typeof _0x2da69b?_0xb127c7['get'](_0x2da69b)['constructor']:_0x2da69b['prototype']['constructor'];if(_0x13733f['has'](_0x37ba18))return _0x13733f['get'](_0x37ba18);_0x13733f['set'](_0x37ba18,!0x0);const _0x14447f=[...et,..._0x57d587]['map'](_0x1383f8=>{if(_0xb127c7['has'](_0x1383f8))return _0xb127c7['get'](_0x1383f8)['constructor'];})['filter'](_0x2ef808=>_0x2ef808);if(_0x37ba18&&_0x14447f['includes'](_0x37ba18))return _0x13733f['set'](_0x37ba18,!0x1),!0x1;if(!_0x37ba18['requires'])return _0x13733f['set'](_0x37ba18,!0x0),!0x0;const _0x4a7b9c=_0x37ba18['requires']['every'](_0x54dcd3=>ot(_0x54dcd3,_0x13733f,_0xb127c7,_0x57d587));return _0x13733f['set'](_0x37ba18,_0x4a7b9c),_0x4a7b9c;}function Ct(_0x432a29,_0x415541){const _0x1afcc4={};for(const _0x3f1e3b of _0x432a29['config']['names']())nt['includes'](_0x3f1e3b)||(_0x1afcc4[_0x3f1e3b]=_0x432a29['config']['get'](_0x3f1e3b));const _0x19f536=_0x1afcc4['plugins']||[],_0x494f8d=_0x432a29['constructor']['builtinPlugins']||[],_0x503e87=_0x19f536['length']?_0x19f536:_0x494f8d,_0x43f0e0=_0x1afcc4['extraPlugins']||[];delete _0x1afcc4['extraPlugins'];const _0x2c2452=_0x1afcc4['removePlugins']||[];delete _0x1afcc4['removePlugins'];const _0x38a059=_0x432a29['_context']['config']['get']('plugins')||[],_0x141fb8=_0x503e87['concat'](_0x43f0e0)['concat'](_0x38a059)['map'](_0x3e294f=>'string'==typeof _0x3e294f?_0x494f8d['find'](_0x472a56=>_0x472a56['pluginName']==_0x3e294f):_0x3e294f)['filter'](_0x598a56=>!_0x2c2452['includes'](_0x598a56)&&!_0x2c2452['includes'](_0x598a56['pluginName'])),_0x4b3c97=Array['from'](new Set(_0x141fb8)),_0x1640c8=new Map();return _0x1afcc4['plugins']=_0x4b3c97['filter'](_0x111f42=>ot(_0x111f42,_0x1640c8,_0x432a29['plugins'],_0x415541)),_0x1afcc4;}function _t(_0x2e0b9d,_0x366390){const _0x580af6=[];_0x2e0b9d['document']['selection']['on']('change:range',()=>{const _0x5a21e3=function(_0x4841cb,_0x5df004){const _0xc8609e=[];for(const _0x37caf8 of _0x4841cb['markers']){const _0x23017c=_0x37caf8['getRange']();(_0x23017c['containsPosition'](_0x5df004)||_0x23017c['start']['isEqual'](_0x5df004)||_0x23017c['end']['isEqual'](_0x5df004))&&_0xc8609e['push'](_0x37caf8);}return _0xc8609e;}(_0x2e0b9d,_0x2e0b9d['document']['selection']['focus']),_0x3ce300=[],_0x18c186=[],_0x2e5cc1=[];for(const _0x424d5f of _0x580af6)_0x5a21e3['includes'](_0x424d5f)||_0x3ce300['push'](_0x424d5f);for(const _0x246709 of _0x5a21e3)_0x580af6['includes'](_0x246709)||_0x18c186['push'](_0x246709),_0x2e5cc1['push'](_0x246709);(_0x3ce300['length']||_0x18c186['length'])&&_0x366390({'left':_0x3ce300,'entered':_0x18c186}),_0x580af6['length']=0x0,_0x580af6['push'](..._0x2e5cc1);});}const xt='Ctrl+Shift+E';function It(_0x8086ac,_0x467267){const _0x352e97=_0x8086ac['element'];_0x8086ac['keystrokes']['listenTo'](_0x352e97);for(const _0x2a3485 of _0x467267)ro(_0x8086ac,_0x2a3485);_0x467267['on']('change',(_0x250afe,_0x4916f1)=>{for(const _0x4acfc5 of _0x4916f1['removed'])to(_0x8086ac,_0x4acfc5);for(const _0x5aa572 of Array['from'](_0x4916f1['added'])['reverse']())ro(_0x8086ac,_0x5aa572);}),_0x8086ac['keystrokes']['set']('enter',(_0x3a7969,_0x40d3b7)=>{_0x352e97===_0x3a7969['target']&&(_0x8086ac['focusCycler']['focusFirst'](),_0x40d3b7());},{'filter':_0x53d968=>_0x53d968['target']===_0x352e97}),_0x8086ac['keystrokes']['set']('esc',(_0x14b1f3,_0x3de2c2)=>{_0x352e97!==_0x14b1f3['target']?_0x8086ac['focus']():_0x8086ac['fire']('escape'),_0x3de2c2();}),_0x8086ac['keystrokes']['set']('arrowdown',(_0x5164e6,_0x27df8f)=>{_0x352e97===_0x5164e6['target']&&(_0x8086ac['fire']('arrowdown'),_0x27df8f());}),_0x8086ac['keystrokes']['set']('arrowup',(_0x25e667,_0x316327)=>{_0x352e97===_0x25e667['target']&&(_0x8086ac['fire']('arrowup'),_0x316327());});}function ro(_0x3a6c7a,_0x42fbe5){_0x42fbe5['isRendered']&&(_0x3a6c7a['focusTracker']['add'](_0x42fbe5['element']),_0x3a6c7a['keystrokes']['listenTo'](_0x42fbe5['element']),_0x39dc2c(_0x42fbe5)&&function(_0x30bedc,_0xb717ed){const _0x17b666=_0x30bedc['actions'],_0x411d01=_0xb717ed['actions'];for(const _0x50688f of Object['keys'](_0x17b666))if(_0x50688f in _0x411d01&&_0x17b666[_0x50688f]!==_0x411d01[_0x50688f])return!0x1;return!0x0;}(_0x3a6c7a['focusCycler'],_0x42fbe5['focusCycler'])&&_0x3a6c7a['focusCycler']['chain'](_0x42fbe5['focusCycler']));}function to(_0x966d93,_0xbeb6d6){_0x966d93['focusTracker']['remove'](_0xbeb6d6['element']),_0x966d93['keystrokes']['stopListening'](_0xbeb6d6['element']),_0x39dc2c(_0xbeb6d6)&&_0x966d93['focusCycler']['unchain'](_0xbeb6d6['focusCycler']);}const St='$elementId',Et='data-id';class At extends _0x386925{static get['pluginName'](){return'DocumentCompare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['init'](){this['context']instanceof _0x2d50e0?this['_integrateEditor'](this['context']):this['listenTo'](this['context']['editors'],'add',(_0x2e7192,_0x110d52)=>{_0x110d52['on']('ready',()=>{this['_integrateEditor'](_0x110d52);});});}get['editor'](){if(this['context']instanceof _0x2d50e0)return this['context'];{const _0x42c35e=this['context']['editors']['first'];if(!_0x42c35e)throw new _0x4c8bed('documentcompare-no-editor',this);return _0x42c35e;}}['getDiff'](_0x255347,_0x4c8e41,_0x338723={'anchor':'main','markDeletions':!0x1}){let _0x57aa30,_0x105a35;const _0x5f0348=this['editor'];if('string'==typeof _0x338723['anchor']){const _0x2e22ae=_0x5f0348['model']['document']['getRoot'](_0x338723['anchor']);if(!_0x2e22ae)throw new _0x4c8bed('documentcompare-compare-no-root',this,{'anchor':_0x338723['anchor']});_0x57aa30=_0x2e22ae,_0x105a35=_0x5f0348['model']['createPositionAt'](_0x2e22ae,0x0);}else _0x57aa30=_0x338723['anchor']['clone'](),_0x105a35=_0x338723['anchor']['clone']();const _0x26dad7=_0x5f0348['data']['parse'](_0x255347,_0x57aa30),_0x1e0332=_0x5f0348['data']['parse'](_0x4c8e41,_0x57aa30);return new Mt(_0x26dad7,_0x1e0332,_0x5f0348,{'anchor':_0x105a35,'markDeletions':_0x338723['markDeletions']});}['isMarkedRemoveOperation'](_0x15d702){return'marker'==_0x15d702['type']&&_0x15d702['name']['startsWith']('$markedRemove');}['_integrateEditor'](_0x5de0a3){_0x5de0a3['conversion']['for']('upcast')['add'](_0x2e10be=>{_0x2e10be['on']('element',(_0xd7da2c,_0x4b0b90,_0x2ea02b)=>{if(_0x4b0b90['modelRange'])for(const _0x3f3afd of _0x4b0b90['modelRange']['getItems']({'shallow':!0x0})){if(_0x3f3afd['is']('$textProxy'))continue;const _0x25db84=_0x4b0b90['viewItem']['getAttribute'](Et);_0x25db84&&_0x2ea02b['writer']['setAttribute'](St,_0x25db84,_0x3f3afd);}},{'priority':'lowest'});}),_0x5de0a3['model']['schema']['addAttributeCheck'](()=>!0x0,St);}}class Mt{['_editor'];['_diffItems']=[];['_operationsData']=[];['_markDeletions'];['_anchor'];['_path']=[0x0];['_parents']=[];constructor(_0x36cea0,_0x459f6e,_0x2b3697,_0x349be4){this['_editor']=_0x2b3697,this['_markDeletions']=!!_0x349be4['markDeletions'],this['_anchor']=_0x349be4['anchor'];const _0x1b0920=this['_tokenizeModel'](_0x36cea0),_0x226b27=this['_tokenizeModel'](_0x459f6e);this['_diffItems']=this['_diffModelTokens'](_0x1b0920,_0x226b27),this['_calculateOperationsData'](),this['_markDeletions']||this['_calculateMarkersOperationsData'](_0x36cea0['markers'],_0x459f6e['markers']);}['getOperationsData'](){return this['_operationsData'];}['getOperations'](){const _0x4b66fd=this['_editor']['model']['document'],_0x433330=[];let _0x23efd4=_0x4b66fd['version'];for(const _0x5bd0db of this['_operationsData'])switch(_0x5bd0db['type']){case'attribute':{const _0x54c164=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x5bd0db['path']),_0x23bc96=_0x54c164['getShiftedBy'](_0x5bd0db['howMany']),_0x627195=new _0x193a76(_0x54c164,_0x23bc96),_0x2043d1=JSON['parse'](_0x5bd0db['oldValue']),_0x42c6ac=JSON['parse'](_0x5bd0db['newValue']);_0x433330['push'](new _0x1a1564(_0x627195,_0x5bd0db['key'],_0x2043d1,_0x42c6ac,_0x23efd4++));break;}case'insert':{const _0x3d9887=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x5bd0db['path']),_0x239e9c=this['_makeModelFromTokens'](_0x5bd0db['tokens']);_0x433330['push'](new _0x107aff(_0x3d9887,_0x239e9c,_0x23efd4++));break;}case'remove':{const _0x3076bb=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x5bd0db['path']),_0x3693cd=new _0x220ea5(_0x4b66fd['graveyard'],[0x0]);_0x433330['push'](new _0x119d9e(_0x3076bb,_0x5bd0db['howMany'],_0x3693cd,_0x23efd4++));break;}case'rename':{const _0x141ad4=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x5bd0db['path']);_0x433330['push'](new _0xd6ca6c(_0x141ad4,_0x5bd0db['oldName'],_0x5bd0db['newName'],_0x23efd4++));break;}case'split':{const _0x1b20df=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x5bd0db['path']),_0x396d88=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x5bd0db['path']['slice'](0x0,-0x1));_0x396d88['offset']++,_0x433330['push'](new _0x1188e9(_0x1b20df,Number['NEGATIVE_INFINITY'],_0x396d88,null,_0x23efd4++));break;}case'merge':{const _0x720d1a=_0x5bd0db['path']['slice'](),_0x217f05=_0x720d1a['slice'](0x0,-0x1);_0x217f05[_0x217f05['length']-0x1]++,_0x217f05['push'](0x0);const _0x5aed3c=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x217f05),_0x3b40db=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x720d1a),_0xe63eaf=new _0x220ea5(_0x4b66fd['graveyard'],[0x0]);_0x433330['push'](new _0x11a7c5(_0x5aed3c,Number['NEGATIVE_INFINITY'],_0x3b40db,_0xe63eaf,_0x23efd4++));break;}case'marker':case'markedRemove':{let _0x4457f9=null;if(_0x5bd0db['range']){const _0x23f24a=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x5bd0db['range']['start']),_0x97fb6d=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x5bd0db['range']['end']);_0x4457f9=new _0x193a76(_0x23f24a,_0x97fb6d);}const _0x2a7da0='marker'==_0x5bd0db['type']?_0x5bd0db['name']:'$markedRemove:'+_0x9ba5e4();_0x433330['push'](new _0x1acdde(_0x2a7da0,null,_0x4457f9,_0x4b66fd['model']['markers'],!0x0,_0x23efd4++));break;}case'unwrap':{const _0x30e0ab=_0x5bd0db['path']['slice']();_0x30e0ab['push'](0x0);const _0x59718d=_0x5bd0db['path']['slice'](),_0xb8966b=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x30e0ab),_0xe7a3a5=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x59718d),_0x5532c4=new _0x220ea5(_0x4b66fd['graveyard'],[0x0]);_0x433330['push'](new _0x119d9e(_0xb8966b,_0x5bd0db['howMany'],_0xe7a3a5,_0x23efd4++)),_0x433330['push'](new _0x119d9e(_0xe7a3a5['getShiftedBy'](_0x5bd0db['howMany']),0x1,_0x5532c4,_0x23efd4++));break;}case'wrap':{const _0x2ddd8a=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x5bd0db['range']['start']),_0xe8a223=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x5bd0db['range']['end']),_0x42a42f=_0x5bd0db['token']['element']['_clone'](!0x1),_0x4631ac=_0x5bd0db['range']['end']['slice']();_0x4631ac['push'](0x0);const _0x42fa69=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x4631ac);_0x433330['push'](new _0x107aff(_0xe8a223,_0x42a42f,_0x23efd4++)),_0x433330['push'](new _0x119d9e(_0x2ddd8a,_0xe8a223['offset']-_0x2ddd8a['offset'],_0x42fa69,_0x23efd4++));break;}}return _0x433330;}['_tokenizeModel'](_0x3ff6bc){const _0x2cd161=[],_0xccb7cd=_0x193a76['_createIn'](_0x3ff6bc),_0x1ab1c1=new _0xdd72c({'boundaries':_0xccb7cd});let _0x473f68='',_0xc11c85=null;const _0x257951=[''],_0x508f58=new Map();for(const _0x3db08d of _0x1ab1c1)if('elementStart'==_0x3db08d['type']||'elementEnd'==_0x3db08d['type']){let _0x14652f=_0x257951[0x0];''!==_0x473f68&&(_0x2cd161['push'](...this['_makeTokensFromTextByWords'](_0x473f68,_0xc11c85,_0x14652f)),_0x473f68='');const _0x542d3a=_0x3db08d['item'];let _0x20d00e;_0x542d3a['getAttribute'](St)?_0x20d00e=_0x542d3a['getAttribute'](St):'elementStart'==_0x3db08d['type']?(_0x20d00e=_(_0x542d3a),_0x508f58['set'](_0x542d3a,_0x20d00e)):_0x20d00e=_0x508f58['get'](_0x542d3a);const _0xf3e67f=this['_getElementCategory'](_0x542d3a);'solid'==_0xf3e67f&&('elementStart'==_0x3db08d['type']?(_0x14652f=_0x20d00e,_0x257951['unshift'](_0x14652f)):_0x257951['shift']());const _0x296bd0={'type':'element','element':_0x542d3a,'elementId':_0x20d00e,'category':_0xf3e67f,'isStart':'elementStart'==_0x3db08d['type'],'limitId':_0x14652f};_0x2cd161['push'](_0x296bd0);}else''==_0x473f68&&(_0xc11c85=_0x3db08d['previousPosition']['clone']()),_0x473f68+=_0x3db08d['item']['data'];return''!==_0x473f68&&_0x2cd161['push'](...this['_makeTokensFromTextByWords'](_0x473f68,_0xc11c85,_0x257951[0x0])),_0x2cd161;}['_makeTokensFromTextByWords'](_0x539f72,_0x5038da,_0x5f4c10){const _0x3d1476=_0x539f72['matchAll'](/(\s)/g),_0x407d4f=Array['from'](_0x3d1476)['map'](_0x113043=>_0x113043['index']);_0x407d4f['push'](_0x539f72['length']),0x0==_0x407d4f[0x0]&&_0x407d4f['shift']();const _0x707cf0=[],_0x587e33=_0x5038da['parent'];let _0x2c0ee7=0x0,_0x2d2b74=_0x5038da['offset'];for(let _0x4c0e78=0x0;_0x4c0e78<_0x407d4f['length'];_0x4c0e78++)_0x707cf0['push']({'type':'text','data':_0x539f72['slice'](_0x2c0ee7,_0x407d4f[_0x4c0e78]),'parent':_0x587e33,'offset':_0x2d2b74,'limitId':_0x5f4c10}),_0x2c0ee7=_0x407d4f[_0x4c0e78],_0x2d2b74=_0x5038da['offset']+_0x407d4f[_0x4c0e78];return _0x707cf0;}['_getElementCategory'](_0x59a3d7){const _0x57a63b=this['_editor']['model']['schema'];return _0x57a63b['isLimit'](_0x59a3d7)||_0x57a63b['isContent'](_0x59a3d7)||_0x57a63b['isInline'](_0x59a3d7)?'solid':_0x57a63b['isBlock'](_0x59a3d7)?'block':'container';}['_diffModelTokens'](_0x8337b6,_0x55515d){const _0x2681ec=_0x5796e5(_0x8337b6,_0x55515d,{'comparator':g});this['_handleUnclosedBlockOpeningTags'](_0x2681ec);const _0x2fa557=_0x2681ec['flatMap'](_0x20b545=>{const _0x36f8c1=_0x20b545['added']?'added':_0x20b545['removed']?'removed':'unchanged';return _0x20b545['value']['map'](_0xe6d824=>({'token':_0xe6d824,'change':_0x36f8c1}));});let _0x4d70d2=0x0;for(const _0x4134f2 of _0x2fa557)'added'!=_0x4134f2['change']&&('unchanged'==_0x4134f2['change']&&(_0x4134f2['before']=_0x8337b6[_0x4d70d2]),_0x4d70d2++);return _0x2fa557;}['_handleUnclosedBlockOpeningTags'](_0x1e5b29){for(let _0xcb6ce0=0x0;_0xcb6ce0<_0x1e5b29['length']-0x1;_0xcb6ce0++)if(_0x1e5b29[_0xcb6ce0]['removed']&&_0x1e5b29[_0xcb6ce0+0x1]['added']){const _0x16c22b=this['_findUnclosedBlockOpeningToken'](_0x1e5b29[_0xcb6ce0]['value']);if(null!==_0x16c22b){const _0x850509=this['_findUnclosedBlockOpeningToken'](_0x1e5b29[_0xcb6ce0+0x1]['value']),_0x1f30e8=_0x1e5b29[_0xcb6ce0]['value']['splice'](_0x16c22b),_0x1faff1=_0x1e5b29[_0xcb6ce0+0x1]['value']['splice'](_0x850509),_0x268783=[_0x1faff1['shift']()];_0x1f30e8['shift']();const _0x22bec1={'value':_0x1f30e8,'removed':!0x0},_0x1be006={'value':_0x1faff1,'added':!0x0},_0x1bbde3={'value':_0x268783};_0x1e5b29['splice'](_0xcb6ce0+0x2,0x0,_0x1bbde3,_0x22bec1,_0x1be006);}}}['_findUnclosedBlockOpeningToken'](_0xb14c4c){let _0x135b31=0x0,_0x41522e=-0x1;for(let _0x303f08=0x0;_0x303f08<_0xb14c4c['length'];_0x303f08++){const _0xd43348=_0xb14c4c[_0x303f08];'element'==_0xd43348['type']&&'block'==_0xd43348['category']&&(_0x135b31+=_0xd43348['isStart']?0x1:-0x1,_0xd43348['isStart']&&(_0x41522e=_0x303f08));}return 0x0===_0x135b31?null:_0x41522e;}['_calculateOperationsData'](){this['_handleUnwraps'](),this['_path']=[0x0],this['_parents']=[];for(let _0x30648a=0x0;_0x30648a<this['_diffItems']['length'];_0x30648a++){const _0x36c013=this['_diffItems'][_0x30648a]['change'],_0x358058=[];_0x358058['push'](this['_diffItems'][_0x30648a]);let _0x5a794b=_0x30648a+0x1;for(;this['_diffItems'][_0x5a794b]&&this['_diffItems'][_0x5a794b]['change']==_0x36c013;)_0x358058['push'](this['_diffItems'][_0x5a794b]),_0x5a794b++,_0x30648a++;const _0x304e70=_0x358058['map'](_0x2f43e4=>_0x2f43e4['token']);if('unchanged'==_0x36c013)_0x358058['map'](_0x1a4a36=>_0x1a4a36['before'])['forEach'](_0x1b29bb=>this['_traverseOverItem'](_0x1b29bb));else{if('removed'==_0x36c013){if(this['_markDeletions']){const _0x5cdaec=this['_path']['slice']();_0x304e70['forEach'](_0x3807a5=>this['_traverseOverItem'](_0x3807a5));const _0x309d44=this['_path']['slice']();this['_operationsData']['push']({'type':'markedRemove','range':{'start':_0x5cdaec,'end':_0x309d44}});}else this['_handleChanged'](_0x304e70,!0x0,this['_path']['slice']());}else{const _0x36950b=_0x304e70['filter'](_0x3e0370=>'element'!=_0x3e0370['type']||'container'!=_0x3e0370['category']);this['_handleChanged'](_0x36950b,!0x1,this['_path']);}}}this['_handleWraps'](),this['_path']=[0x0],this['_parents']=[];for(let _0x2465ed=0x0;_0x2465ed<this['_diffItems']['length'];_0x2465ed++){const _0x175a2f=this['_diffItems'][_0x2465ed]['change'],_0x1ef10a=[];_0x1ef10a['push'](this['_diffItems'][_0x2465ed]);let _0x3ebef7=_0x2465ed+0x1;for(;this['_diffItems'][_0x3ebef7]&&this['_diffItems'][_0x3ebef7]['change']==_0x175a2f;)_0x1ef10a['push'](this['_diffItems'][_0x3ebef7]),_0x3ebef7++,_0x2465ed++;const _0x1a157c=_0x1ef10a['map'](_0x1fc739=>_0x1fc739['token']);if('unchanged'==_0x175a2f){const _0x5dd6f0=_0x1ef10a['map'](_0x304809=>_0x304809['before']);this['_handleUnchanged'](_0x5dd6f0,_0x1a157c);}else('removed'!=_0x175a2f||this['_markDeletions'])&&_0x1a157c['forEach'](_0x15a6f9=>{this['_traverseOverItem'](_0x15a6f9);});}}['_calculateMarkersOperationsData'](_0x212cf2,_0x59e63c){const _0x335927={};for(const [_0x549bca]of _0x212cf2)_0x335927[_0x549bca]=null;for(const [_0x2c1e74,_0x3556bc]of _0x59e63c)_0x335927[_0x2c1e74]=_0x3556bc;const _0x2cbddc=Object['entries'](_0x335927)['map'](([_0x5bd455,_0xbf37a])=>({'type':'marker','name':_0x5bd455,'range':_0xbf37a?{'start':_0xbf37a['start']['path']['slice'](),'end':_0xbf37a['end']['path']['slice']()}:null}));this['_operationsData']['push'](..._0x2cbddc);}['_handleUnwraps'](){const _0x17b64a=new Map(),_0x39f68e=[],_0x55611b=[0x0];let _0x1053a8=this['_diffItems']['length']+0x1;for(let _0x43d157=this['_diffItems']['length']-0x1;_0x43d157>=0x0;_0x43d157--){const {token:_0x359ce4,before:_0x48cb79,change:_0x4b32dd}=this['_diffItems'][_0x43d157];if('removed'!=_0x4b32dd&&(_0x1053a8=_0x43d157),'element'!=_0x359ce4['type']||'container'!=_0x359ce4['category']||'added'==_0x4b32dd)continue;const _0x1b0aed=_0x48cb79?_0x48cb79['element']:_0x359ce4['element'];if(_0x359ce4['isStart']){const _0x1aad1c=_0x17b64a['get'](_0x1b0aed),_0xb7c5b0=this['_diffItems'][_0x1aad1c];('removed'==_0x4b32dd||'removed'==_0xb7c5b0['change'])&&_0x1053a8<_0x1aad1c&&(this['_operationsData']['push']({'type':'unwrap','path':_0x1b0aed['getPath'](),'howMany':_0x1b0aed['maxOffset']+_0x55611b[0x0]}),_0x55611b['shift'](),_0x55611b[0x0]+=_0x1b0aed['maxOffset']-0x1,_0x39f68e['push'](_0x43d157),_0x39f68e['push'](_0x1aad1c));}else _0x17b64a['set'](_0x1b0aed,_0x43d157),_0x55611b['unshift'](0x0);}_0x39f68e['sort']((_0x59d02a,_0x58b226)=>_0x58b226-_0x59d02a),_0x39f68e['forEach'](_0x551ebe=>{const _0x56567a=this['_diffItems'][_0x551ebe];'removed'==_0x56567a['change']?this['_diffItems']['splice'](_0x551ebe,0x1):(_0x56567a['change']='added',delete _0x56567a['before']);});}['_handleWraps'](){this['_path']=[0x0],this['_parents']=[];const _0x3adc95=[];for(let _0x201c61=0x0;_0x201c61<this['_diffItems']['length'];_0x201c61++){const {change:_0x434393,token:_0x2a238f}=this['_diffItems'][_0x201c61];if('added'==_0x434393&&'element'==_0x2a238f['type']&&'container'==_0x2a238f['category']){if(_0x2a238f['isStart'])_0x3adc95['push'](this['_path']['slice']());else{if(!_0x2a238f['isStart']){const _0x12b70e=_0x3adc95['pop']();this['_operationsData']['push']({'type':'wrap','range':{'start':_0x12b70e,'end':this['_path']['slice']()},'token':_0x2a238f}),this['_path'][this['_path']['length']-0x1]=_0x12b70e[this['_path']['length']-0x1]+0x1;}}}else('removed'!=_0x434393||this['_markDeletions'])&&this['_traverseOverItem'](_0x2a238f);}}['_handleUnchanged'](_0x4059b7,_0x37107c){for(let _0x3dc6ae=0x0;_0x3dc6ae<_0x4059b7['length'];_0x3dc6ae++){const _0x5c3b5a=_0x4059b7[_0x3dc6ae];if('element'==_0x5c3b5a['type']&&_0x5c3b5a['isStart']){const _0x7c4bdb=_0x37107c[_0x3dc6ae];'block'==_0x5c3b5a['category']&&this['_handleElementRename'](_0x5c3b5a['element'],_0x7c4bdb['element'],this['_path']),this['_handleElementAttributeChanges'](_0x5c3b5a['element'],_0x7c4bdb['element'],this['_path']),this['_path']['push'](0x0),this['_parents']['push'](_0x7c4bdb);}else{if('element'!=_0x5c3b5a['type']||_0x5c3b5a['isStart']){if('text'==_0x5c3b5a['type']){const _0x58a507=this['_path']['slice'](),_0x3ee4c1=[],_0x3f55e3=[];for(;_0x4059b7[_0x3dc6ae]&&'text'==_0x4059b7[_0x3dc6ae]['type'];)_0x3ee4c1['push'](_0x4059b7[_0x3dc6ae]),_0x3f55e3['push'](_0x37107c[_0x3dc6ae]),this['_path'][this['_path']['length']-0x1]+=_0x4059b7[_0x3dc6ae]['data']['length'],_0x3dc6ae++;_0x3dc6ae--,this['_handleTextAttributeChanges'](_0x3ee4c1,_0x3f55e3,_0x58a507);}}else this['_path']['pop'](),this['_path'][this['_path']['length']-0x1]++,this['_parents']['pop']();}}}['_handleChanged'](_0x88042a,_0x5e201c,_0x4221c7){const _0x320cd8=[],_0x5b1431=[],_0xe54cab=_0x4221c7['slice']();for(let _0x51e29a=0x0;_0x51e29a<_0x88042a['length'];_0x51e29a++){const _0xd15aef=_0x88042a[_0x51e29a],_0x303046=_0x4221c7['slice']();if('element'!=_0xd15aef['type']||_0xd15aef['isStart'])'element'==_0xd15aef['type']&&_0xd15aef['isStart']?(_0x4221c7['push'](0x0),_0x5e201c||this['_parents']['push'](_0xd15aef),_0x5b1431['push']({'before':_0x303046,'after':_0x4221c7['slice'](),'index':_0x51e29a})):_0x4221c7[_0x4221c7['length']-0x1]+=_0xd15aef['data']['length'];else{let _0x129391;_0x4221c7['pop'](),_0x4221c7[_0x4221c7['length']-0x1]++,_0x129391=_0x5e201c?this['_parents'][this['_parents']['length']-0x1]:this['_parents']['pop'](),_0x5b1431['length']?_0x5b1431['pop']():_0x320cd8['push']({'before':_0x303046,'after':_0x4221c7['slice'](),'index':_0x51e29a,'related':_0x129391});}}if(_0x5b1431['length']!==_0x320cd8['length'])throw new _0x4c8bed('model-diff-incorrect-matching-and-closing-tags',null,{'tokens':_0x88042a,'isRemove':_0x5e201c});const _0x2f98a1=[{'after':_0xe54cab['slice'](),'index':-0x1},..._0x320cd8,..._0x5b1431,{'before':_0x4221c7['slice'](),'index':_0x88042a['length']}];if(_0x5e201c){for(let _0x195d08=_0x2f98a1['length']-0x1;_0x195d08>=0x1;_0x195d08--){const _0x3e5c3d=_0x2f98a1[_0x195d08-0x1]['after'],_0x585a94=_0x2f98a1[_0x195d08]['before'],_0x2b8bb1=_0x585a94[_0x585a94['length']-0x1]-_0x3e5c3d[_0x3e5c3d['length']-0x1];_0x2b8bb1&&(this['_operationsData']['push']({'type':'remove','path':_0x3e5c3d,'howMany':_0x2b8bb1}),_0x585a94[_0x585a94['length']-0x1]-=_0x2b8bb1);}for(const {before:_0xbae7ea}of _0x320cd8)this['_operationsData']['push']({'type':'merge','path':_0xbae7ea});}else for(let _0x56da3b=0x0;_0x56da3b<_0x2f98a1['length']-0x1;_0x56da3b++){const _0x94d99e=_0x2f98a1[_0x56da3b]['after'],_0x8d4efe=_0x2f98a1[_0x56da3b+0x1]['before'],_0x54985d=_0x2f98a1[_0x56da3b]['index']+0x1,_0x5f1fee=_0x2f98a1[_0x56da3b+0x1]['index'];if(_0x54985d!==_0x5f1fee&&this['_operationsData']['push']({'type':'insert','path':_0x94d99e,'tokens':_0x88042a['slice'](_0x54985d,_0x5f1fee)}),_0x56da3b<_0x320cd8['length']){this['_operationsData']['push']({'type':'split','path':_0x8d4efe});const _0x1341ed=_0x88042a[_0x5b1431[_0x5b1431['length']-0x1-_0x56da3b]['index']],_0x2c98e6=_0x320cd8[_0x56da3b]['after'],_0x33c7c3=_0x320cd8[_0x56da3b]['related']['element'];this['_handleElementRename'](_0x33c7c3,_0x1341ed['element'],_0x2c98e6),this['_handleElementAttributeChanges'](_0x33c7c3,_0x1341ed['element'],_0x2c98e6);}}}['_traverseOverItem'](_0xf77d0a){'element'==_0xf77d0a['type']&&_0xf77d0a['isStart']?(this['_path']['push'](0x0),this['_parents']['push'](_0xf77d0a)):'element'!=_0xf77d0a['type']||_0xf77d0a['isStart']?'text'==_0xf77d0a['type']&&(this['_path'][this['_path']['length']-0x1]+=_0xf77d0a['data']['length']):(this['_path']['pop'](),this['_path'][this['_path']['length']-0x1]++,this['_parents']['pop']());}['_handleElementRename'](_0x476550,_0x2afb47,_0x51219f){_0x476550['name']!=_0x2afb47['name']&&this['_operationsData']['push']({'type':'rename','path':_0x51219f['slice'](),'oldName':_0x476550['name'],'newName':_0x2afb47['name']});}['_handleElementAttributeChanges'](_0x475bc9,_0x8307f2,_0x351f07){const _0x1b1ffc=this['_getAttributeChanges'](_0x475bc9['getAttributes'](),_0x8307f2['getAttributes']());for(const _0x245ec0 in _0x1b1ffc){const {oldValue:_0x2ac8c6,newValue:_0x521ebf}=_0x1b1ffc[_0x245ec0];this['_operationsData']['push']({'type':'attribute','path':_0x351f07['slice'](),'howMany':0x1,'key':_0x245ec0,'oldValue':_0x2ac8c6,'newValue':_0x521ebf});}}['_handleTextAttributeChanges'](_0x2d46f1,_0x31429e,_0x1c4a88){const _0x3e896a=this['_operationsData'],_0x1d88ba=_0x2d46f1[0x0]['parent'],_0x3a7d20=_0x2d46f1[0x0]['offset'],_0xbe7248=_0x31429e[0x0]['parent'],_0x3cde96=_0x31429e[0x0]['offset'],_0x5250b5=_0x2d46f1['reduce']((_0xf12588,_0x107577)=>_0xf12588+_0x107577['data']['length'],0x0),_0x41e3cd=this['_getAttrsForOffsets'](_0x1d88ba,_0x3a7d20,_0x5250b5),_0x4204d3=this['_getAttrsForOffsets'](_0xbe7248,_0x3cde96,_0x5250b5),_0x3f6434={};for(let _0xa0390a=0x0;_0xa0390a<_0x5250b5;_0xa0390a++){const _0x4519fd=_0x41e3cd[_0x3a7d20+_0xa0390a],_0x3d511e=_0x4204d3[_0x3cde96+_0xa0390a],_0x13ed93=this['_getAttributeChanges'](_0x4519fd,_0x3d511e);for(const _0xab01b2 in _0x3f6434)_0x13ed93[_0xab01b2]||_0x11ac85(_0xab01b2);for(const _0xc8168 in _0x13ed93){const {oldValue:_0x39a780,newValue:_0x2cc72d}=_0x13ed93[_0xc8168],_0x423fe4=_0x3f6434[_0xc8168];_0x423fe4?_0x423fe4['oldValue']==_0x39a780&&_0x423fe4['newValue']==_0x2cc72d?_0x423fe4['length']++:(_0x11ac85(_0xc8168),_0x3f6434[_0xc8168]={'oldValue':_0x39a780,'newValue':_0x2cc72d,'start':_0xa0390a,'length':0x1}):_0x3f6434[_0xc8168]={'oldValue':_0x39a780,'newValue':_0x2cc72d,'start':_0xa0390a,'length':0x1};}}for(const _0x2674de in _0x3f6434)_0x11ac85(_0x2674de);function _0x11ac85(_0x5acf78){const _0x38c420=_0x3f6434[_0x5acf78],_0x275ab2=_0x1c4a88['slice']();_0x275ab2[_0x275ab2['length']-0x1]+=_0x38c420['start'],_0x3e896a['push']({'type':'attribute','path':_0x275ab2,'howMany':_0x38c420['length'],'key':_0x5acf78,'oldValue':_0x38c420['oldValue'],'newValue':_0x38c420['newValue']}),delete _0x3f6434[_0x5acf78];}}['_getAttributeChanges'](_0x195814,_0x5b5f5f){const _0x5f4f3f={};for(const [_0x525fc4,_0x58103b]of _0x195814)_0x5f4f3f[_0x525fc4]={'oldValue':JSON['stringify'](_0x58103b),'newValue':'null'};for(const [_0x557d4c,_0xb3f155]of _0x5b5f5f){const _0x2259fb=JSON['stringify'](_0xb3f155);_0x5f4f3f[_0x557d4c]?_0x5f4f3f[_0x557d4c]['oldValue']==_0x2259fb?delete _0x5f4f3f[_0x557d4c]:_0x5f4f3f[_0x557d4c]['newValue']=_0x2259fb:_0x5f4f3f[_0x557d4c]={'oldValue':'null','newValue':_0x2259fb};}return delete _0x5f4f3f[St],_0x5f4f3f;}['_getAttrsForOffsets'](_0x592736,_0x12efaf,_0x2c0ce0){const _0xe51c13=new Array(_0x12efaf+_0x2c0ce0);let _0x3160bc=_0x592736['getChildAtOffset'](_0x12efaf),_0x38be43=_0x3160bc['startOffset'];for(;_0x3160bc&&_0x38be43<_0x12efaf+_0x2c0ce0;){const _0x1cfa56=Array['from'](_0x3160bc['getAttributes']());_0xe51c13['fill'](_0x1cfa56,_0x38be43,_0x38be43+_0x3160bc['offsetSize']),_0x38be43+=_0x3160bc['offsetSize'],_0x3160bc=_0x3160bc['nextSibling'];}return _0xe51c13;}['_getPositionFromAnchorAndPath'](_0x665bf7,_0x51ef87){const _0x379789=[..._0x665bf7['path']['slice'](0x0,-0x1),_0x665bf7['offset']+_0x51ef87[0x0],..._0x51ef87['slice'](0x1)];return new _0x220ea5(_0x665bf7['root'],_0x379789);}['_makeModelFromTokens'](_0x2a19da){const _0x1b3ca5=[];let _0x174b26=null;for(const _0x1d02eb of _0x2a19da)if('element'!=_0x1d02eb['type']||_0x1d02eb['isStart']||_0x174b26!=_0x1d02eb['element']){if(!_0x174b26){if('text'==_0x1d02eb['type']){const _0x4c79b7=_0x220ea5['_createAt'](_0x1d02eb['parent'],_0x1d02eb['offset']),_0x47ad1e=_0x193a76['_createFromPositionAndShift'](_0x4c79b7,_0x1d02eb['data']['length']),_0x506806=Array['from'](_0x47ad1e['getItems']())['map'](_0x1c0dbb=>new _0x8cc624(_0x1c0dbb['data'],_0x1c0dbb['getAttributes']()));_0x1b3ca5['push'](..._0x506806);}else{_0x174b26=_0x1d02eb['element'];const _0x68d370=_0x1d02eb['element']['_clone'](!0x0);_0x68d370['_removeAttribute'](St);for(const _0x4322b5 of this['_editor']['model']['createRangeIn'](_0x68d370)['getItems']())_0x4322b5['is']('element')&&_0x4322b5['_removeAttribute'](St);_0x1b3ca5['push'](_0x68d370);}}}else _0x174b26=null;return _0x1b3ca5;}}function g(_0x43af5e,_0x1a2896){return _0x43af5e['type']===_0x1a2896['type']&&(_0x43af5e['limitId']===_0x1a2896['limitId']&&('text'==_0x43af5e['type']?_0x43af5e['data']==_0x1a2896['data']:function(_0x149a82,_0x32902e){if(_0x149a82['isStart']!=_0x32902e['isStart'])return!0x1;if(_0x149a82['isStart']&&_0x149a82['elementId']!=_0x32902e['elementId'])return!0x1;if(_0x149a82['category']!=_0x32902e['category'])return!0x1;if('block'==_0x149a82['category'])return!0x0;if('container'==_0x149a82['category']&&_0x149a82['elementId']!=_0x32902e['elementId'])return!0x1;return _0x149a82['element']['name']==_0x32902e['element']['name'];}(_0x43af5e,_0x1a2896)));}function _(_0x1a6d43){return k({'name':_0x1a6d43['name'],...Object['fromEntries'](_0x1a6d43['getAttributes']())});}export{dt as AriaDescriptionView,vt as ConfirmMixin,St as DATA_ID_MODEL_ATTRIBUTE,Et as DATA_ID_VIEW_ATTRIBUTE,At as DocumentCompare,xt as FOCUS_ANNOTATION_KEYSTROKE,ft as LateFocusButtonView,gt as LateFocusDropdownButtonView,C as Permissions,kt as SuggestionsConversion,ht as UserView,at as Users,mt as fixElementSuggestionRange,wt as getAllMarkersDomElementsSorted,pt as getDateTimeFormatter,yt as getMarkerDomElement,k as hashObject,Ct as sanitizeEditorConfig,It as setupThreadKeyboardNavigation,v as splitSuggestionMarkerName,_t as surroundingMarkersDetector,bt as trimHtml};
23
+ import{ContextPlugin as _0x39fd81,Editor as _0x588db3,Plugin as _0x1eb9bc}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x4dee5d,Collection as _0x567c0b,uid as _0x5c1b8e,toArray as pt,first as _0x20473a,FocusTracker as _0x4d16c3,KeystrokeHandler as _0x3e1bd5}from'@ckeditor/ckeditor5-utils/dist/index.js';import{View as _0x34ec8d,IconView as _t,ButtonView as _0x4e0fb2,DropdownButtonView as _0x19a196,FocusCycler as _0x298fc8,isViewWithFocusCycler as _0x3c0431}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconNotification as bt,IconCheck as _0x4281c5,IconCancel as _0x1c97f1}from'@ckeditor/ckeditor5-icons/dist/index.js';import{setHighlightHandling as jt,toWidget as _0x2fd180}from'@ckeditor/ckeditor5-widget/dist/index.js';import{DateTime as _0x3d88c2}from'luxon';import{InsertOperation as _0x5e2e05,MoveOperation as _0x3d5a16,ModelPosition as _0x5536b2,ModelRange as _0x4bf447,MarkerOperation as _0x449d02,MergeOperation as _0x85cc4e,SplitOperation as _0x500440,RenameOperation as _0x52cc6d,AttributeOperation as _0x2dbd3e,ModelTreeWalker as _0x22dd11,ModelText as _0x1fa150}from'@ckeditor/ckeditor5-engine/dist/index.js';import{diffArrays as _0x99d7e2}from'diff';class C extends _0x39fd81{static get['pluginName'](){return'Permissions';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['setPermissions'](_0x380185,_0x429dde){let _0x259c44;if(_0x429dde||(_0x429dde=this['context']['config']['get']('collaboration.channelId')),this['context']['config']['get']('collaboration.channelId')==_0x429dde?_0x259c44=this['context']:'editors'in this['context']&&this['context']['editors']&&(_0x259c44=this['context']['editors']['find'](_0x32a453=>_0x32a453['config']['get']('collaboration.channelId')==_0x429dde)),!_0x259c44)throw new _0x4dee5d('permissions-set-permissions-invalid-channel-id',null);const _0x138106=_0x259c44['plugins'],_0x32ff2e=_0x138106['has']('CommentsRepository')?_0x138106['get']('CommentsRepository'):void 0x0,_0x2ef89e=_0x138106['has']('CommentsOnly')&&_0x138106['get']('CommentsOnly'),_0x120844=_0x380185['includes']('document:write'),_0x5247ea=_0x380185['includes']('comment:modify_all'),_0xdac801=_0x380185['includes']('comment:admin'),_0x20832b=_0x380185['includes']('comment:write'),_0xcb72e6=_0x20832b||_0xdac801,_0x199d00=_0xcb72e6||_0x5247ea,_0x1d974=_0x120844||_0xcb72e6;(_0x2ef89e&&(_0x2ef89e['isEnabled']=!_0x120844&&_0x199d00),_0x259c44 instanceof _0x588db3)&&(!(_0x120844||_0x199d00&&_0x32ff2e)?_0x259c44['enableReadOnlyMode']('no-permissions'):_0x259c44['disableReadOnlyMode']('no-permissions'));if(_0x32ff2e){_0x32ff2e['setPermissions']({'admin':_0xdac801,'modifyAll':_0x5247ea,'write':_0x20832b,'resolve':_0x1d974},_0x429dde);const _0x54dfbd=_0x259c44 instanceof _0x588db3&&_0x259c44['commands']['get']('addCommentThread');_0x54dfbd&&(_0xcb72e6?_0x54dfbd['clearForceDisabled']('noPermissions'):_0x54dfbd['forceDisabled']('noPermissions'));}}}function U(_0x699f1b,_0x4ff39f){const t=_0x699f1b['t'];switch(_0x4ff39f){case'Anonymous':return t('Anonymous');case'Yes':return t('Yes');case'No':return t('No');case'Are\x20you\x20sure?':return t('Are\x20you\x20sure?');case'Today':return t('Today');case'Yesterday':return t('Yesterday');case'Last':return t('Last');case'Monday':return t('Monday');case'Tuesday':return t('Tuesday');case'Wednesday':return t('Wednesday');case'Thursday':return t('Thursday');case'Friday':return t('Friday');case'Saturday':return t('Saturday');case'Sunday':return t('Sunday');default:return'';}}class yt extends _0x39fd81{['users'];['_lastColor'];['_myId'];['_locale'];static get['pluginName'](){return'Users';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[C];}constructor(_0x678388){super(_0x678388),this['context']['config']['define']('users.anonymousUserId','anonymous-user'),this['context']['config']['define']('users.colorsCount',0x8),this['users']=new _0x567c0b(),this['_locale']=_0x678388['locale'],this['_lastColor']=0x0,this['_myId']=null,this['decorate']('getOperationAuthor');}['init'](){this['_addAnonymousUser']();}get['me'](){return null==this['_myId']?null:this['getUser'](this['_myId']);}['addUser']({id:_0xb3fef6,name:_0x15f9f9,..._0x477a35}){if(!_0xb3fef6||'string'!=typeof _0xb3fef6)throw new _0x4dee5d('users-add-invalid-id');if(this['users']['has'](_0xb3fef6))throw new _0x4dee5d('users-add-duplicated-id',null,{'id':_0xb3fef6});const _0x18aca3=this['context']['config']['get']('users.getInitialsCallback'),_0x312a9d={..._0x477a35,'id':_0xb3fef6,'name':A(this['_locale'],_0x15f9f9),'color':this['_getNextColor']()};_0x312a9d['name']=A(this['_locale'],_0x312a9d['name']);const _0x30cf6d=new wt(_0x312a9d,_0x18aca3);return this['users']['add'](_0x30cf6d),_0x30cf6d;}['getUser'](_0x39a5c9){return this['users']['get'](_0x39a5c9);}['useAnonymousUser'](){const _0x40360e=this['context']['config']['get']('users.anonymousUserId');this['_myId']||this['defineMe'](_0x40360e);}['defineMe'](_0x38374e){if(this['_myId'])throw new _0x4dee5d('users-me-already-defined',null);const _0x4c1297=this['getUser'](_0x38374e);if(!_0x4c1297)throw new _0x4dee5d('users-me-missing-user',null);this['_myId']=_0x38374e,_0x4c1297['_isMe']=!0x0;}['getOperationAuthor'](){return this['me'];}['_getNextColor'](){const _0x47d9ae=this['context']['config']['get']('users.colorsCount');return this['_lastColor']>=_0x47d9ae&&(this['_lastColor']=0x0),new vt(this['_lastColor']++);}['_addAnonymousUser'](){const _0x35f1ef=this['context']['config']['get']('users.anonymousUserId');this['addUser']({'id':_0x35f1ef,'name':U(this['_locale'],'Anonymous')})['_isAnonymous']=!0x0;}}class wt{['id'];['color'];['name'];['initials'];['avatar'];['_isMe'];['_isAnonymous'];constructor(_0x2ebfca,_0x5ca74e){this['id']=_0x2ebfca['id'],this['color']=_0x2ebfca['color'],this['name']=_0x2ebfca['name'],this['initials']=_0x5ca74e?_0x5ca74e(this['name']):this['_computeInitials'](),this['avatar']=_0x2ebfca['avatar'],this['_isAnonymous']=!0x1,this['_isMe']=!0x1;}get['isAnonymous'](){return this['_isAnonymous'];}get['isMe'](){return this['_isMe'];}['_computeInitials'](){const _0x63f40f=this['name']['split']('\x20')['filter'](_0x1be605=>/^[\p{Letter}]/u['test'](_0x1be605));return 0x1===_0x63f40f['length']?this['_getInitial'](_0x63f40f[0x0]):0x0===_0x63f40f['length']?this['_getInitial'](this['name']):this['_getInitial'](_0x63f40f[0x0])+this['_getInitial'](_0x63f40f[_0x63f40f['length']-0x1]);}['_getInitial'](_0x2eb344){return String['fromCodePoint'](_0x2eb344['codePointAt'](0x0))['toUpperCase']();}}function A(_0x1c4698,_0x1ec349=''){return''==(_0x1ec349=_0x1ec349['trim']())?U(_0x1c4698,'Anonymous'):_0x1ec349;}class vt{['_id'];constructor(_0x2d32e2){this['_id']=_0x2d32e2;}get['id'](){return this['_id'];}['getBackgroundColorClass'](){return'ck-user__bg-color--'+this['id'];}['getSelectionClass'](){return'ck-user__selection--'+this['id'];}['getMarkerClass'](){return'ck-user__marker--'+this['id'];}}class Ct extends _0x34ec8d{['name'];['notificationView'];constructor(_0xa8855a,_0x365e31,_0x3fb77c){super(_0xa8855a),this['name']=_0x365e31['name'],this['notificationView']=null;const _0x2bbb31=['ck','ck-user'],_0x251667=['ck','ck-user__img'];if(_0x365e31['isAnonymous']&&_0x251667['push']('ck-user__anonymous'),!_0x365e31['isAnonymous']&&_0x365e31['isMe']&&_0x2bbb31['push']('ck-user_me'),_0x365e31['avatar']&&_0x251667['push']('ck-user__avatar'),_0x3fb77c){const _0x42b3c3=new _t();_0x42b3c3['extendTemplate']({'attributes':{'class':['ck-user__icon']}}),_0x42b3c3['content']=bt,this['notificationView']={'tag':'div','attributes':{'class':['ck','ck-user__notification'],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x3fb77c},'children':[_0x42b3c3]};}const _0x31e2d5=[{'tag':'div','attributes':{'class':_0x251667,'style':{'background-image':_0x365e31['avatar']?'url(\x27'+_0x365e31['avatar']+'\x27)':''}}},{'tag':'div','attributes':{'class':_0x365e31['avatar']?'ck\x20ck-user__name\x20ck-user__name--hidden':'ck\x20ck-user__name','aria-label':_0x365e31['name']},'children':[{'text':_0x365e31['initials']}]}];this['notificationView']&&_0x31e2d5['push'](this['notificationView']),this['setTemplate']({'tag':'div','attributes':{'class':_0x2bbb31,'data-user-id':_0x365e31['id']},'children':_0x31e2d5});}}class xt extends _0x34ec8d{['id'];constructor(_0x1e4251,_0x1cc203){super(_0x1e4251),this['id']='ck-aria-description-'+_0x5c1b8e(),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-aria-description'],'id':this['id']},'children':[{'text':_0x1cc203}]});}}class It extends _0x4e0fb2{['render'](){super['render'](),se(this);}}class St extends _0x19a196{['render'](){super['render'](),se(this);}}function se(_0x41ed3b){_0x41ed3b['listenTo'](_0x41ed3b['element'],'mousedown',(_0xa4be3f,_0x467abd)=>{_0x467abd['stopPropagation'](),_0x467abd['preventDefault']();}),_0x41ed3b['listenTo'](_0x41ed3b['element'],'mouseup',()=>{_0x41ed3b['element']['focus']();});}function J(_0x4b3d42){const _0xfe4f41=_0x4b3d42['split'](':');return{'group':_0xfe4f41[0x0],'type':_0xfe4f41[0x1],'subType':_0xfe4f41['length']>=0x5?_0xfe4f41[0x2]:null,'id':_0xfe4f41['length']<0x5?_0xfe4f41[0x2]:_0xfe4f41[0x3],'authorId':_0xfe4f41['length']<0x5?_0xfe4f41[0x3]:_0xfe4f41[0x4],'markerCount':0x6==_0xfe4f41['length']?_0xfe4f41[0x5]:null};}function Et(_0x37a338,_0x351588){const _0x3f697d=_0x37a338['end']['nodeBefore'];if(_0x3f697d&&_0x3f697d['is']('element')&&_0x351588['schema']['isBlock'](_0x3f697d)&&!_0x351588['schema']['isObject'](_0x3f697d)){const _0x2df425=_0x351588['createPositionAt'](_0x3f697d,'end');return _0x351588['createRange'](_0x37a338['start'],_0x2df425);}return _0x37a338;}class L extends _0x1eb9bc{['afterInit'](){const _0x23d91d=this['editor'];if(!_0x23d91d['plugins']['has']('AlignmentEditing'))return;_0x23d91d['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('alignment');}}const ii=['BoldEditing','ItalicEditing','UnderlineEditing','CodeEditing','StrikethroughEditing','SubscriptEditing','SuperscriptEditing'];class Q extends _0x1eb9bc{['afterInit'](){const _0x108818=this['editor'],_0xad7c83=_0x108818['plugins']['get']('SuggestionsConversion');for(const _0x1fe21c of ii){if(!_0x108818['plugins']['has'](_0x1fe21c))continue;const _0x47766e=_0x1fe21c['slice'](0x0,-0x7)['toLowerCase']();_0xad7c83['registerInlineAttribute'](_0x47766e);}}}class X extends _0x1eb9bc{['afterInit'](){const _0x4b2a85=this['editor'],_0x5ab4d4=_0x4b2a85['plugins']['get']('SuggestionsConversion');_0x4b2a85['plugins']['has']('BookmarkEditing')&&_0x5ab4d4['registerBlockAttribute']('bookmarkId');}}const oo=[{'pluginName':'FontSizeEditing','commandName':'fontSize'},{'pluginName':'FontFamilyEditing','commandName':'fontFamily'},{'pluginName':'FontColorEditing','commandName':'fontColor'},{'pluginName':'FontBackgroundColorEditing','commandName':'fontBackgroundColor'}];class Y extends _0x1eb9bc{['afterInit'](){const _0x76540d=this['editor']['plugins']['get']('SuggestionsConversion');for(const {pluginName:_0x12ce3e,commandName:_0x2c1ae4}of oo)this['editor']['plugins']['has'](_0x12ce3e)&&_0x76540d['registerInlineAttribute'](_0x2c1ae4);}}class Z extends _0x1eb9bc{['afterInit'](){const _0x5b8b45=this['editor'];if(!_0x5b8b45['plugins']['has']('HighlightEditing'))return;_0x5b8b45['plugins']['get']('SuggestionsConversion')['registerInlineAttribute']('highlight');}}class tt extends _0x1eb9bc{['afterInit'](){const _0x1489a5=this['editor'];if(!_0x1489a5['plugins']['has']('HtmlEmbed'))return;_0x1489a5['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('value');}}class it extends _0x1eb9bc{['afterInit'](){const _0x385dfd=this['editor'];if(!_0x385dfd['plugins']['has']('ImageEditing'))return;const _0x592ea6=_0x385dfd['plugins']['get']('SuggestionsConversion');_0x592ea6['registerBlockAttribute']('src'),_0x385dfd['plugins']['has']('ImageResize')&&_0x592ea6['registerBlockAttribute']('resizedWidth'),_0x385dfd['plugins']['has']('ImageTextAlternativeEditing')&&_0x592ea6['registerBlockAttribute']('alt'),_0x385dfd['plugins']['has']('PictureEditing')&&_0x592ea6['registerBlockAttribute']('sources'),_0x385dfd['plugins']['has']('ImageSizeAttributes')&&(_0x592ea6['registerBlockAttribute']('width'),_0x592ea6['registerBlockAttribute']('height'));}}class rt extends _0x1eb9bc{['afterInit'](){const _0x5e679b=this['editor'],_0x3e54bf=_0x5e679b['plugins']['get']('SuggestionsConversion');_0x5e679b['plugins']['has']('IndentBlock')&&_0x3e54bf['registerBlockAttribute']('blockIndent');}}class et extends _0x1eb9bc{['afterInit'](){const _0x442105=this['editor'];if(!_0x442105['plugins']['has']('LineHeight'))return;_0x442105['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('lineHeight');}}class st extends _0x1eb9bc{['afterInit'](){const _0x51a219=this['editor'];if(!_0x51a219['plugins']['has']('LinkEditing'))return;const _0x31169d=_0x51a219['plugins']['get']('SuggestionsConversion'),_0x26eff8=_0x51a219['commands']['get']('link');_0x31169d['registerInlineAttribute']('linkHref');for(const _0x4e3e19 of _0x26eff8['manualDecorators'])_0x31169d['registerInlineAttribute'](_0x4e3e19['id']);}}class ot extends _0x1eb9bc{['afterInit'](){const _0x14c029=this['editor'];if(!_0x14c029['plugins']['has']('ListEditing'))return;const _0x5479c6=_0x14c029['plugins']['get']('SuggestionsConversion'),_0x182426=_0x14c029['plugins']['has']('TodoListEditing');_0x5479c6['registerBlockAttribute']('listItemId'),_0x5479c6['registerBlockAttribute']('listType'),_0x5479c6['registerBlockAttribute']('listIndent'),_0x182426&&_0x5479c6['registerBlockAttribute']('todoListChecked');}}class nt extends _0x1eb9bc{['afterInit'](){if(!this['editor']['plugins']['has']('ListPropertiesEditing'))return;const _0x2c58e2=this['editor']['config']['get']('list.properties'),_0x481e3d=this['editor']['plugins']['get']('SuggestionsConversion');_0x2c58e2['styles']&&_0x481e3d['registerBlockAttribute']('listStyle'),_0x2c58e2['reversed']&&_0x481e3d['registerBlockAttribute']('listReversed'),_0x2c58e2['startIndex']&&_0x481e3d['registerBlockAttribute']('listStart');}}class at extends _0x1eb9bc{['afterInit'](){const _0x475caf=this['editor'],_0x402342=_0x475caf['plugins']['get']('SuggestionsConversion');_0x475caf['plugins']['has']('MultiLevelList')&&_0x402342['registerBlockAttribute']('listMarkerStyle');}}class gt extends _0x1eb9bc{['afterInit'](){const _0x3965aa=this['editor'];if(!_0x3965aa['plugins']['has']('Style')||!_0x3965aa['plugins']['has']('DataSchema')||!_0x3965aa['config']['get']('style.definitions'))return;const _0x41b122=_0x3965aa['plugins']['get']('SuggestionsConversion'),_0x46e007=_0x3965aa['config']['get']('style.definitions'),_0x16e901=_0x3965aa['plugins']['get']('GeneralHtmlSupport'),_0x4e197e=_0x3965aa['plugins']['get']('StyleUtils')['normalizeConfig'](_0x3965aa['plugins']['get']('DataSchema'),_0x46e007),_0x2e264d=new Set();for(const _0x17a006 of _0x4e197e['block']){const _0x3c75d1=_0x16e901['getGhsAttributeNameForElement'](_0x17a006['element']);_0x2e264d['add'](_0x3c75d1);}const _0x38eb4a=new Set();for(const _0x29b50a of _0x4e197e['inline']){const _0x43c6fa=_0x16e901['getGhsAttributeNameForElement'](_0x29b50a['element']);_0x38eb4a['add'](_0x43c6fa);for(const _0x403374 of _0x29b50a['ghsAttributes'])_0x38eb4a['add'](_0x403374);}for(const _0xd51f6f of _0x2e264d)_0x41b122['registerBlockAttribute'](_0xd51f6f);for(const _0x1cf43f of _0x38eb4a)_0x41b122['registerInlineAttribute'](_0x1cf43f);}}class ut extends _0x1eb9bc{['afterInit'](){const _0x37e8c2=this['editor'];if(!_0x37e8c2['plugins']['has']('TableEditing'))return;const _0x3567fe=_0x37e8c2['plugins']['get']('SuggestionsConversion');_0x3567fe['registerBlockAttribute']('headingRows'),_0x3567fe['registerBlockAttribute']('headingColumns');}}class mt extends _0x1eb9bc{['afterInit'](){const _0x274628=this['editor']['plugins']['get']('SuggestionsConversion');if(!this['editor']['plugins']['has']('Table'))return;const _0x3c179a=['tableBorderColor','tableBorderStyle','tableBorderWidth','tableAlignment','tableWidth','tableHeight','tableBackgroundColor','tableCellBorderColor','tableCellBorderStyle','tableCellBorderWidth','tableCellPadding','tableCellWidth','tableCellHeight','tableCellBackgroundColor','tableCellHorizontalAlignment','tableCellVerticalAlignment'];for(const _0x53f8d1 of _0x3c179a)_0x274628['registerBlockAttribute'](_0x53f8d1);}}class ct extends _0x1eb9bc{['afterInit'](){const _0x5a8835=this['editor'],_0x24bc2b=_0x5a8835['plugins']['get']('SuggestionsConversion');_0x5a8835['plugins']['has']('TableLayout')&&_0x24bc2b['registerBlockAttribute']('tableType');}}class dt extends _0x1eb9bc{['afterInit'](){const _0x3aa70c=this['editor'],_0x5923a0=this['editor']['plugins']['get']('SuggestionsConversion');_0x3aa70c['plugins']['has']('Uploadcare')&&_0x3aa70c['plugins']['has']('UploadcareImageEdit')&&_0x5923a0['registerBlockAttribute']('uploadcareImageId');}}class ht extends _0x1eb9bc{['afterInit'](){const _0x55d66c=this['editor'];if(!_0x55d66c['plugins']['has']('ShiftEnter'))return;const _0x456b75=_0x55d66c['plugins']['get']('SuggestionsConversion'),_0x30b97=(_0x2fa1fb,_0x619cf6,_0x50ad74,_0x4ba43e)=>{if(_0x4ba43e&&!_0x50ad74['options']['showSuggestionHighlights'])return;if(!_0x50ad74['consumable']['test'](_0x619cf6['markerRange'],_0x2fa1fb['name']))return;const _0x355630=_0x55d66c['model'];for(const _0x166010 of _0x619cf6['markerRange']['getItems']()){if(!_0x166010['is']('element','softBreak'))continue;const _0x41228e='deletion'==_0x619cf6['markerName']['split'](':')[0x1]?'merge':'split',{id:_0x4f357d,authorId:_0x48f829}=J(_0x619cf6['markerName']),_0x24f8fe=_0x50ad74['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x41228e,'data-suggestion':_0x4f357d,'data-author-id':_0x48f829}),_0x30deba=_0x50ad74['mapper']['toViewPosition'](_0x355630['createPositionBefore'](_0x166010));!_0x4ba43e&&_0x456b75['_activeMarkers']['includes'](_0x619cf6['markerName'])&&_0x50ad74['writer']['addClass']('ck-suggestion-marker--active',_0x24f8fe),_0x50ad74['writer']['insert'](_0x30deba,_0x24f8fe),_0x50ad74['mapper']['bindElementToMarker'](_0x24f8fe,_0x619cf6['markerName']);}};_0x55d66c['editing']['downcastDispatcher']['on']('addMarker:suggestion',(_0x4ad05f,_0x5b7341,_0x526e6d)=>{_0x30b97(_0x4ad05f,_0x5b7341,_0x526e6d,!0x1);},{'priority':'high'}),_0x55d66c['data']['downcastDispatcher']['on']('addMarker:suggestion',(_0xad246d,_0x33f285,_0x35c038)=>{_0x30b97(_0xad246d,_0x33f285,_0x35c038,!0x0);},{'priority':'high'});}}class lt extends _0x1eb9bc{['afterInit'](){const _0x3c459f=this['editor'];_0x3c459f['plugins']['has']('MediaEmbedEditing')&&(_0x3c459f['conversion']['for']('dataDowncast')['elementToElement']({'model':'media','view':(_0x45b69d,{writer:_0x127f4d,options:_0x551a66})=>{if(_0x551a66['showSuggestionHighlights'])return _0x127f4d['createEmptyElement']('div');},'converterPriority':'high'}),_0x3c459f['data']['downcastDispatcher']['on']('attribute:url:media',(_0x4c50c2,_0x747ec7,_0x3bf681)=>{_0x3bf681['options']['showSuggestionHighlights']&&_0x4c50c2['stop']();},{'priority':'high'}));}}class kt extends _0x1eb9bc{['afterInit'](){const _0x24fe92=this['editor'];if(!_0x24fe92['plugins']['has']('Table'))return;_0x24fe92['data']['downcastDispatcher']['on']('addMarker:suggestion',(_0x4a9a2f,_0x4c356f,_0x2dc686)=>{((_0x3dd183,_0x559889,_0x3fd3b2)=>{if(!_0x3fd3b2['options']['showSuggestionHighlights'])return;const _0x423984=_0x559889['item'];if(!_0x423984||!_0x423984['is']('element','tableCell'))return;const _0x3fe72a=_0x3fd3b2['mapper']['toViewElement'](_0x423984);if(_0x3fe72a){const {id:_0x532d96,authorId:_0x559267}=J(_0x559889['markerName']);jt(_0x3fe72a,_0x3fd3b2['writer'],(_0x5afcfb,_0x57ec90,_0x4ff98e)=>{_0x4ff98e['addClass'](pt(_0x57ec90['classes']),_0x5afcfb),_0x4ff98e['setAttribute']('data-suggestion-id',_0x532d96,_0x5afcfb),_0x4ff98e['setAttribute']('data-author-id',_0x559267,_0x5afcfb);});}})(0x0,_0x4c356f,_0x2dc686);},{'priority':'highest'});}}class ft extends _0x1eb9bc{['afterInit'](){const _0x5477fc=this['editor'];_0x5477fc['plugins']['has']('HorizontalLineEditing')&&_0x5477fc['conversion']['for']('dataDowncast')['elementToStructure']({'model':'horizontalLine','view':(_0x3d6b40,{writer:_0x4dbb39,options:_0x2dc705})=>{if(!_0x2dc705['showSuggestionHighlights'])return null;const _0x1bdf42=_0x4dbb39['createContainerElement']('div'),_0x3f2daf=_0x4dbb39['createEmptyElement']('hr');return _0x4dbb39['addClass']('ck-horizontal-line',_0x1bdf42),_0x4dbb39['insert'](_0x4dbb39['createPositionAt'](_0x1bdf42,0x0),_0x3f2daf),_0x1bdf42;},'converterPriority':'high'});}}class At extends _0x1eb9bc{['_activeMarkers']=[];['_blockAttributeKeys']=new Set(['$elementName']);['_inlineAttributeKeys']=new Set();static get['pluginName'](){return'SuggestionsConversion';}static get['requires'](){return[L,Q,X,Y,Z,ft,tt,it,rt,et,st,ot,nt,lt,at,ht,gt,kt,ut,ct,mt,dt];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x34e6c5=this['editor'],_0x5a28dd=(_0x188e72,_0x473b2c,_0x896161)=>{const {id:_0x56125f,authorId:_0x53b546,type:_0x37b848,subType:_0x1247a0}=J(_0x188e72['markerName']),_0x417d62=['ck-suggestion-marker',this['_getClassName'](_0x37b848,_0x1247a0)];let _0x58d86f=0xbb8;return!_0x896161&&(this['_activeMarkers']['includes'](_0x188e72['markerName'])&&(_0x417d62['push']('ck-suggestion-marker--active'),_0x58d86f=0xbc2)),('deletion'==_0x37b848&&(_0x58d86f+=0x5),{'classes':_0x417d62,'attributes':{'data-suggestion':_0x56125f,'data-author-id':_0x53b546},'priority':_0x58d86f});};_0x34e6c5['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'suggestion','view':(_0x5dd1a0,_0x32cfb9)=>_0x5a28dd(_0x5dd1a0,0x0,!0x1)}),_0x34e6c5['conversion']['for']('dataDowncast')['markerToHighlight']({'model':'suggestion','view':(_0xd5597d,_0x44e673)=>_0x5a28dd(_0xd5597d,0x0,!0x0)}),_0x34e6c5['conversion']['for']('dataDowncast')['add'](_0x110ea2=>{_0x110ea2['on']('addMarker:suggestion',(_0x1cd300,_0x2305fe,_0x434f30)=>{if(!_0x434f30['options']['showSuggestionHighlights'])return;const _0x4e6a35=_0x2305fe['item'];if(!_0x4e6a35)return;const _0x3a5d57=_0x434f30['mapper']['toViewElement'](_0x4e6a35);_0x34e6c5['model']['schema']['isObject'](_0x4e6a35)&&_0x3a5d57&&!_0x3a5d57['getCustomProperty']('widget')&&_0x3a5d57['is']('containerElement')&&_0x2fd180(_0x3a5d57,_0x434f30['writer']);},{'priority':'high'});});const _0x1f9260=(_0x64433a,_0x2b9fbc,_0x513879,_0x1749e1,_0x4f01ba)=>{if(_0x1749e1&&!_0x513879['options']['showSuggestionHighlights'])return;if(!_0x2b9fbc['item'])return;const {id:_0xff472b,authorId:_0x3a3713,subType:_0x3d8347}=J(_0x2b9fbc['markerName']);if(_0x4f01ba){const _0x406db0=_0x3d8347['split']('|')[0x0];if(!this['isBlockAttribute'](_0x406db0))return;}if(_0x2b9fbc['item']['is']('selection'))return void _0x513879['consumable']['consume'](_0x2b9fbc['item'],_0x64433a['name']);const _0x417a26=_0x513879['mapper']['toViewElement'](_0x2b9fbc['item']);if(_0x2b9fbc['item']['is']('element')&&_0x34e6c5['model']['schema']['isBlock'](_0x2b9fbc['item'])&&!_0x417a26['getCustomProperty']('addHighlight')){_0x513879['writer']['addClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock'],_0x417a26),_0x513879['writer']['setAttribute']('data-suggestion',_0xff472b,_0x417a26),_0x513879['writer']['setAttribute']('data-author-id',_0x3a3713,_0x417a26),_0x513879['mapper']['bindElementToMarker'](_0x417a26,_0x2b9fbc['markerName']),_0x1749e1||(this['_activeMarkers']['includes'](_0x2b9fbc['markerName'])?_0x513879['writer']['addClass']('ck-suggestion-marker--active',_0x417a26):_0x513879['writer']['removeClass']('ck-suggestion-marker--active',_0x417a26));for(const _0x30bbcc of _0x34e6c5['model']['createRangeIn'](_0x2b9fbc['item'])['getItems']())_0x513879['consumable']['consume'](_0x30bbcc,_0x64433a['name']);_0x513879['consumable']['consume'](_0x2b9fbc['item'],_0x64433a['name']);}},_0x542f74=(_0x3ddd4c,_0x292350,_0x32bfa7,_0x49beee)=>{const _0x7a45af=_0x32bfa7['mapper']['markerNameToElements'](_0x292350['markerName']);if(_0x7a45af){if(_0x49beee){const {subType:_0x1f7e64}=J(_0x292350['markerName']),_0x4f79da=_0x1f7e64['split']('|')[0x0];if(!this['isBlockAttribute'](_0x4f79da))return;}for(const _0x331ff6 of _0x7a45af)_0x331ff6['getCustomProperty']('addHighlight')||(_0x32bfa7['writer']['removeClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock','ck-suggestion-marker--active'],_0x331ff6),_0x32bfa7['writer']['removeAttribute']('data-suggestion',_0x331ff6),_0x32bfa7['writer']['removeAttribute']('data-author-id',_0x331ff6),_0x32bfa7['mapper']['unbindElementFromMarkerName'](_0x331ff6,_0x292350['markerName']));}};_0x34e6c5['conversion']['for']('editingDowncast')['add'](_0x26d631=>{_0x26d631['on']('addMarker:suggestion:formatBlock',(_0x594462,_0x12a8e5,_0x4e6209)=>{_0x1f9260(_0x594462,_0x12a8e5,_0x4e6209,!0x1,!0x1);},{'priority':'high'});}),_0x34e6c5['conversion']['for']('editingDowncast')['add'](_0x22c3fb=>{_0x22c3fb['on']('addMarker:suggestion:attribute',(_0x4ea6de,_0x2d9097,_0x4f56c8)=>{_0x1f9260(_0x4ea6de,_0x2d9097,_0x4f56c8,!0x1,!0x0);},{'priority':'high'});}),_0x34e6c5['conversion']['for']('editingDowncast')['add'](_0x41f49a=>{_0x41f49a['on']('removeMarker:suggestion:formatBlock',(_0x3849ee,_0x502741,_0x4fac67)=>{_0x542f74(0x0,_0x502741,_0x4fac67,!0x1);},{'priority':'high'});}),_0x34e6c5['conversion']['for']('editingDowncast')['add'](_0x308204=>{_0x308204['on']('removeMarker:suggestion:attribute',(_0x3f9c5f,_0x5567a5,_0x16b35c)=>{_0x542f74(0x0,_0x5567a5,_0x16b35c,!0x0);},{'priority':'high'});}),_0x34e6c5['conversion']['for']('dataDowncast')['add'](_0x46eb6d=>{_0x46eb6d['on']('addMarker:suggestion:formatBlock',(_0x1d2563,_0x400c1e,_0x3992fc)=>{_0x1f9260(_0x1d2563,_0x400c1e,_0x3992fc,!0x0,!0x1);},{'priority':'highest'});}),_0x34e6c5['conversion']['for']('dataDowncast')['add'](_0x1ccc4f=>{_0x1ccc4f['on']('addMarker:suggestion:attribute',(_0x4444eb,_0x5e7ceb,_0x59a572)=>{_0x1f9260(_0x4444eb,_0x5e7ceb,_0x59a572,!0x0,!0x0);},{'priority':'highest'});}),_0x34e6c5['conversion']['for']('dataDowncast')['markerToData']({'model':'suggestion','view':(_0x2d72ac,_0x3c0953)=>{if(_0x3c0953['options']['showSuggestionHighlights']){const {id:_0x5308ce,authorId:_0x368573}=J(_0x2d72ac);return _0x2d72ac['includes'](':split')||_0x2d72ac['includes'](':merge')?{'group':'suggestion','name':_0x2d72ac['substr'](0xb),'attributes':{'data-suggestion':_0x5308ce,'data-author-id':_0x368573}}:null;}return{'group':'suggestion','name':_0x2d72ac['substr'](0xb)};}});const _0x5b6a2e=(_0x191683,_0x41b6a3,_0x57147d,_0x50f880,_0x186e05)=>{if(_0x50f880&&!_0x57147d['options']['showSuggestionHighlights'])return;if(!_0x57147d['consumable']['test'](_0x41b6a3['markerRange'],_0x191683['name']))return;const _0x114efd=this['_activeMarkers'],_0xfc0033=_0x41b6a3['markerRange']['getWalker'](),_0x4d1118=_0x41b6a3['markerRange']['start'],_0x5e426d=_0x34e6c5['model']['schema'];let _0x3d6266=null,_0x81759e=null,_0x25a522=!0x1,_0x23154e=!0x1;for(const _0x2b44a0 of _0xfc0033){const _0x2780ef=_0x2b44a0['item'];_0x25a522=_0x25a522||_0x5e426d['isContent'](_0x2780ef);const _0x3bebcc=_0x57147d['mapper']['toViewElement'](_0x2780ef);if(_0x3bebcc&&_0x3bebcc['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x2b44a0['type']&&(_0x5e426d['isBlock'](_0x2780ef)&&!_0x5e426d['isLimit'](_0x2780ef)&&(_0x2780ef['nextSibling']||_0x4d1118['isAtEnd']?_0x3d6266&&_0x3d6266['parent']==_0x2780ef||(_0x3d6266=_0x2780ef,_0x5a4f20(_0x2b44a0['previousPosition']),_0x23154e=!0x0):_0x81759e=_0x81759e||_0x2b44a0['previousPosition']));}function _0x5a4f20(_0x3f096a){const {id:_0x53d4a1,authorId:_0x337787}=J(_0x41b6a3['markerName']),_0x51c805=_0x57147d['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x186e05,'data-suggestion':_0x53d4a1,'data-author-id':_0x337787}),_0x3ab46f=_0x57147d['mapper']['toViewPosition'](_0x3f096a);!_0x50f880&&_0x114efd['includes'](_0x41b6a3['markerName'])&&_0x57147d['writer']['addClass']('ck-suggestion-marker--active',_0x51c805),_0x57147d['writer']['insert'](_0x3ab46f,_0x51c805),_0x57147d['mapper']['bindElementToMarker'](_0x51c805,_0x41b6a3['markerName']);}_0x25a522||_0x23154e||!_0x81759e||_0x5a4f20(_0x81759e);};_0x34e6c5['editing']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x33c1f1,_0x216c4e,_0x82e60)=>{_0x5b6a2e(_0x33c1f1,_0x216c4e,_0x82e60,!0x1,'merge');},{'priority':'high'}),_0x34e6c5['data']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x30818,_0x359fcc,_0x42c103)=>{_0x5b6a2e(_0x30818,_0x359fcc,_0x42c103,!0x0,'merge');},{'priority':'high'}),_0x34e6c5['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x4ad324,_0x56be83,_0x114636)=>{_0x5b6a2e(_0x4ad324,_0x56be83,_0x114636,!0x1,'split');},{'priority':'high'}),_0x34e6c5['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x218f52,_0x1de1a0,_0x479420)=>{_0x5b6a2e(_0x218f52,_0x1de1a0,_0x479420,!0x0,'split');},{'priority':'high'}),_0x34e6c5['editing']['downcastDispatcher']['on']('removeMarker:suggestion',(_0x3a7b94,_0x4e6cc9,_0x375def)=>{((_0x19e0ea,_0x326b85,_0x57a40e)=>{const _0x37d545=_0x57a40e['mapper']['markerNameToElements'](_0x326b85['markerName']);if(_0x37d545){for(const _0x3171be of _0x37d545)(_0x3171be['hasClass']('ck-suggestion-marker-split')||_0x3171be['hasClass']('ck-suggestion-marker-merge'))&&(_0x57a40e['mapper']['unbindElementFromMarkerName'](_0x3171be,_0x326b85['markerName']),_0x57a40e['writer']['remove'](_0x3171be));}})(0x0,_0x4e6cc9,_0x375def);},{'priority':'high'});const _0x1f8c8f=(_0x28083a,_0x6f0fe6,_0x3339b9,_0x46096f)=>{if(_0x46096f&&!_0x3339b9['options']['showSuggestionHighlights'])return;const _0x1bcc5e=_0x6f0fe6['markerRange']['start'],_0x3d828b=_0x6f0fe6['markerRange']['end'],_0x56c3b1=_0x34e6c5['model']['schema'];if(!_0x1bcc5e['isTouching'](_0x3d828b)||!_0x1bcc5e['nodeAfter'])return;const _0x150ce9=_0x1bcc5e['nodeAfter'];if(_0x56c3b1['isBlock'](_0x150ce9)&&!_0x56c3b1['isLimit'](_0x150ce9)&&_0x56c3b1['checkChild'](_0x150ce9,'$text')){if(!_0x3339b9['consumable']['consume'](_0x6f0fe6['markerRange'],_0x28083a['name']))return;const {id:_0x43986c,authorId:_0x35559d}=J(_0x6f0fe6['markerName']),_0x253c92=_0x3339b9['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-split','data-suggestion':_0x43986c,'data-author-id':_0x35559d}),_0x1213d6=_0x3339b9['mapper']['toViewPosition'](_0x3d828b);!_0x46096f&&this['_activeMarkers']['includes'](_0x6f0fe6['markerName'])&&_0x3339b9['writer']['addClass']('ck-suggestion-marker--active',_0x253c92),_0x3339b9['writer']['insert'](_0x1213d6,_0x253c92),_0x3339b9['mapper']['bindElementToMarker'](_0x253c92,_0x6f0fe6['markerName']);}};_0x34e6c5['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x2ee884,_0x5e2cc0,_0xd3c33d)=>{_0x1f8c8f(_0x2ee884,_0x5e2cc0,_0xd3c33d,!0x1);},{'priority':'high'}),_0x34e6c5['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x1840a4,_0x565b92,_0x1c57c6)=>{_0x1f8c8f(_0x1840a4,_0x565b92,_0x1c57c6,!0x0);},{'priority':'high'});}['afterInit'](){this['editor']['plugins']['has']('TrackChangesEditing')&&this['listenTo'](this['editor']['plugins']['get']('TrackChangesEditing'),'change:activeMarkers',(_0x38ad57,_0x26a514,_0x416c4e)=>{this['_activeMarkers']=_0x416c4e['slice']();},{'priority':'highest'});}['registerBlockAttribute'](_0x15bd76){this['_blockAttributeKeys']['add'](_0x15bd76);}['registerInlineAttribute'](_0x16a0c1){this['_inlineAttributeKeys']['add'](_0x16a0c1);}['isBlockAttribute'](_0x420b08){return this['_blockAttributeKeys']['has'](_0x420b08);}['isInlineAttribute'](_0xb7ef58){return this['_inlineAttributeKeys']['has'](_0xb7ef58);}['isRegisteredAttribute'](_0x313fa3){return this['isInlineAttribute'](_0x313fa3)||this['isBlockAttribute'](_0x313fa3);}['_getClassName'](_0x600cc3,_0x2353a7){if('attribute'!=_0x600cc3)return'ck-suggestion-marker-'+_0x600cc3;const _0x783689=_0x2353a7['split']('|')[0x0];return this['isBlockAttribute'](_0x783689)?'ck-suggestion-marker-formatBlock':'ck-suggestion-marker-formatInline';}}function Mt(_0x2ad49a={},_0x40937d){if(void 0x0!==_0x2ad49a['dateTimeFormat']&&'function'!=typeof _0x2ad49a['dateTimeFormat'])throw new _0x4dee5d('invalid-date-time-format');return _0x49c68d=>{const _0x2c7a84='string'==typeof _0x49c68d?_0x3d88c2['fromISO'](_0x49c68d):_0x3d88c2['fromJSDate'](_0x49c68d),_0x36621d=_0x3d88c2['now'](),_0x36204b=Math['floor'](_0x36621d['diff'](_0x2c7a84,'days')['days']);return _0x2ad49a['dateTimeFormat']?_0x2ad49a['dateTimeFormat'](_0x2c7a84['toJSDate'](),_0x40937d&&_0x40937d['t']?_0x40937d['t']:void 0x0):0x0===_0x36204b?_0x40937d?U(_0x40937d,'Today')+'\x20'+_0x2c7a84['toFormat']('hh:mma'):_0x2c7a84['toFormat']('\x27Today\x27\x20hh:mma'):0x1===_0x36204b?_0x40937d?U(_0x40937d,'Yesterday')+'\x20'+_0x2c7a84['toFormat']('hh:mma'):_0x2c7a84['toFormat']('\x27Yesterday\x27\x20hh:mma'):_0x36204b<0x7?_0x40937d?U(_0x40937d,'Last')+'\x20'+U(_0x40937d,_0x2c7a84['toFormat']('EEEE'))+'\x20'+_0x2c7a84['toFormat']('hh:mma'):_0x2c7a84['toFormat']('\x27Last\x27\x20EEEE\x20hh:mma'):_0x2c7a84['toFormat']('LL-dd-yyyy\x20hh:mma');};}function Tt(_0x22e74e,_0x4e8dc3){const _0x3913e6=_0x22e74e['mapper']['markerNameToElements'](_0x4e8dc3['name']);if(!_0x3913e6)return null;const _0x398b90=_0x20473a(_0x3913e6['values']());return _0x22e74e['view']['domConverter']['mapViewToDom'](_0x398b90)||null;}function Nt(_0x1d2fa1,_0x4921bd){if(0x0===_0x4921bd['length'])return null;const _0x43047c=[],_0x4a5008=_0x1d2fa1['view']['domConverter'];for(const _0x410fb4 of _0x4921bd){const _0x500fca=_0x1d2fa1['mapper']['markerNameToElements'](_0x410fb4['name']);if(!_0x500fca)continue;const _0x10aad4=Array['from'](_0x500fca)['map'](_0x657bda=>_0x4a5008['mapViewToDom'](_0x657bda))['filter'](_0x55a907=>!!_0x55a907);_0x43047c['push'](..._0x10aad4);}if(0x0===_0x43047c['length'])return null;const _0x38819e=[];for(const _0x2c6f86 of _0x43047c){const _0xe2e161=_0x2c6f86['getClientRects']()['item'](0x0);_0xe2e161&&_0x38819e['push']({'x':_0xe2e161['x'],'y':_0xe2e161['y'],'domElement':_0x2c6f86});}return 0x0===_0x38819e['length']?null:(_0x38819e['sort']((_0x4aa9fd,_0xb7a0d9)=>_0x4aa9fd['y']-_0xb7a0d9['y']||_0x4aa9fd['x']-_0xb7a0d9['x']),_0x38819e['map'](_0x46f05f=>_0x46f05f['domElement']));}function Bt(_0x172f34,{limit:_0x2abcbc,suffix:_0x50668a='...'}){const _0x501b56=[];let _0x33f872=0x0;const _0x6f869=_0x172f34['replace'](/</g,'\x0a<')['replace'](/>/g,'>\x0a')['replace'](/^\n/g,'')['replace'](/\n$/g,'')['split']('\x0a');for(let _0x54e29c=0x0;_0x54e29c<_0x6f869['length'];_0x54e29c++){let _0x5ad51f=_0x6f869[_0x54e29c];const _0x48ce3f=H(_0x5ad51f);if(_0x5ad51f['startsWith']('<')){if(_0x33f872>=_0x2abcbc){const _0x50ab39=_0x5ad51f['match'](/[a-zA-Z]+/);if(!_0x50ab39){_0x6f869[_0x54e29c]='';continue;}const _0x11fe52=_0x50ab39[0x0];_0x5ad51f['startsWith']('</')?(_0x501b56['length']&&(_0x5ad51f=''),_0x501b56['pop']()):(_0x501b56['push'](_0x11fe52),_0x5ad51f='');}}else{if(_0x33f872>=_0x2abcbc)_0x5ad51f='';else{if(_0x33f872+_0x48ce3f['length']>=_0x2abcbc){let _0x4713cc=_0x2abcbc-_0x33f872;if('\x20'===_0x48ce3f[_0x4713cc-0x1])_0x4713cc--;else{const _0x229fb4=_0x48ce3f['slice'](_0x4713cc)['indexOf']('\x20');-0x1!==_0x229fb4?_0x4713cc+=_0x229fb4:_0x4713cc=_0x5ad51f['length'];}_0x5ad51f=_0x48ce3f['slice'](0x0,_0x4713cc)['join']('')+_0x50668a,_0x33f872=_0x2abcbc;}else _0x33f872+=_0x48ce3f['length'];}}_0x6f869[_0x54e29c]=_0x5ad51f;}return _0x6f869['join']('\x0a')['replace'](/\n/g,'');}function H(_0x4d6739){const _0x456474=[];for(let _0x42925f=0x0;_0x42925f<_0x4d6739['length'];_0x42925f++){const _0x216e91=_0x4d6739['substring'](_0x42925f)['match'](/^&[a-z0-9#]+;/);if(_0x216e91){const _0x4f3f88=_0x216e91[0x0];_0x456474['push'](_0x4f3f88),_0x42925f+=_0x4f3f88['length']-0x1;}else _0x456474['push'](_0x4d6739[_0x42925f]);}return _0x456474;}class v extends _0x34ec8d{['submitView'];['cancelView'];['focusTracker'];['keystrokes'];['focusCycler'];['focusables'];constructor(_0x1cd907){super(_0x1cd907);const _0x526314=this['bindTemplate'];this['set']('message',U(_0x1cd907,'Are\x20you\x20sure?')),this['submitView']=this['_createButtonView'](_0x1cd907,U(_0x1cd907,'Yes'),_0x4281c5,'submit'),this['cancelView']=this['_createButtonView'](_0x1cd907,U(_0x1cd907,'No'),_0x1c97f1,'cancel'),this['focusables']=this['createCollection']([this['submitView'],this['cancelView']]),this['focusTracker']=new _0x4d16c3(),this['keystrokes']=new _0x3e1bd5(),this['focusCycler']=new _0x298fc8({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift+tab','focusNext':'tab'}}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-confirm-view'],'tabindex':-0x1,'role':'alertdialog'},'children':[{'tag':'div','attributes':{'class':'ck-confirm-view-inner','role':'presentation'},'children':[{'tag':'p','children':[{'text':_0x526314['to']('message')}]},{'tag':'div','attributes':{'class':'ck-confirm-view-actions'},'children':[this['submitView'],this['cancelView']]}]}]});}['render'](){super['render'](),this['_setupKeyboardNavigation']();}['focus'](){this['cancelView']['element']['focus']({'preventScroll':!0x0});}['_createButtonView'](_0xc7cc53,_0x50ce5a,_0x25a6c2,_0x3bc4aa){const _0x3f4ae0=new _0x4e0fb2(_0xc7cc53);return _0x3f4ae0['label']=_0x50ce5a,_0x3f4ae0['icon']=_0x25a6c2,_0x3f4ae0['extendTemplate']({'attributes':{'class':'ck-confirm-view-'+_0x3bc4aa}}),_0x3f4ae0['on']('execute',()=>this['fire'](_0x3bc4aa)),_0x3f4ae0;}['_setupKeyboardNavigation'](){this['focusables']['forEach'](_0xb5e5b0=>{this['keystrokes']['listenTo'](_0xb5e5b0['element']),this['focusTracker']['add'](_0xb5e5b0['element']);}),this['keystrokes']['set']('esc',(_0x11c7ce,_0x585173)=>{this['fire']('cancel'),_0x585173();});}}function Pt(_0x5eec10){return class extends _0x5eec10{['showConfirm'](_0x236572,_0x3cf847){return this['confirmView']=new v(this['locale']),this['confirmView']['render'](),this['confirmView']['message']=_0x236572,this['confirmView']['once']('cancel',()=>{this['_removeConfirm']();}),this['confirmView']['once']('submit',()=>{this['_removeConfirm']();}),_0x3cf847['appendChild'](this['confirmView']['element']),_0x3cf847['classList']['add']('ck-confirm-view-active'),this['registerChild'](this['confirmView']),this['confirmView']['focus'](),this['set']('isConfirm',!0x0),this['on']('change:isConfirm',(_0x479946,_0x18dae6,_0x5e057f)=>{_0x5e057f||_0x3cf847['classList']['remove']('ck-confirm-view-active');}),new Promise(_0x1da17c=>this['confirmView']['on']('submit',_0x1da17c));}['cancelConfirm'](){this['isConfirm']&&this['confirmView']['fire']('cancel');}['_removeConfirm'](){this['element']&&this['confirmView']&&this['confirmView']['element']&&(this['element']['focus'](),this['confirmView']['element']['remove'](),this['deregisterChild'](this['confirmView']),this['isConfirm']=!0x1,this['fire']('removeConfirm'),this['confirmView']['destroy'](),this['confirmView']=void 0x0);}};}function k(_0x3df835){let _0x27291a=0x0,_0x34305e=0x0;for(const _0xece10c of M(_0x3df835))_0x27291a=(_0x27291a<<0x5)-_0x27291a+_0xece10c,_0x27291a&=_0x27291a,[_0x27291a,_0x34305e]=[_0x34305e,_0x27291a];return F(_0x27291a)+F(_0x34305e);}function*O(_0x1e755e){null==_0x1e755e||null==_0x1e755e?yield 0x12b9b0a1:0x0===_0x1e755e||!0x1===_0x1e755e?yield 0x0:0x1===_0x1e755e||0x1==_0x1e755e?yield 0x1:Array['isArray'](_0x1e755e)?yield*function*(_0x436d41){for(const _0x52914a of _0x436d41)yield*O(_0x52914a);}(_0x1e755e):'object'==typeof _0x1e755e?yield*M(_0x1e755e):'string'==typeof _0x1e755e?yield*q(_0x1e755e):'number'==typeof _0x1e755e&&(yield _0x1e755e);}function*M(_0xe3fe1a){if(yield z('{'),_0xe3fe1a){const _0x595739=Object['keys'](_0xe3fe1a)['sort']();for(const _0x261d41 of _0x595739){yield*q(_0x261d41),yield z(':');const _0x9c9854=_0xe3fe1a[_0x261d41];yield*O(_0x9c9854);}}yield z('}');}function*q(_0x434590){yield z('\x22');for(const _0x2d15de of _0x434590)yield z(_0x2d15de);yield z('\x22');}function z(_0x4073fa){return _0x4073fa['charCodeAt'](0x0);}function F(_0xd73634){return(_0xd73634*=Math['sign'](_0xd73634))['toString'](0x24);}const W=['initialData','context','toolbar','rootsAttributes'],S=['WebSocketGateway','RevisionTracker','Autosave','WordCount','DocumentOutline','WProofreader'];function G(_0x4bb463,_0x2d918e,_0xd4c927,_0x5309d0=[]){const _0x559790='string'==typeof _0x4bb463?_0xd4c927['get'](_0x4bb463)['constructor']:_0x4bb463['prototype']['constructor'];if(_0x2d918e['has'](_0x559790))return _0x2d918e['get'](_0x559790);_0x2d918e['set'](_0x559790,!0x0);const _0x348106=[...S,..._0x5309d0]['map'](_0x4500ed=>{if(_0xd4c927['has'](_0x4500ed))return _0xd4c927['get'](_0x4500ed)['constructor'];})['filter'](_0x3b96a1=>_0x3b96a1);if(_0x559790&&_0x348106['includes'](_0x559790))return _0x2d918e['set'](_0x559790,!0x1),!0x1;if(!_0x559790['requires'])return _0x2d918e['set'](_0x559790,!0x0),!0x0;const _0x303046=_0x559790['requires']['every'](_0x556761=>G(_0x556761,_0x2d918e,_0xd4c927,_0x5309d0));return _0x2d918e['set'](_0x559790,_0x303046),_0x303046;}function Ot(_0x1bd9fe,_0x4dc3c0){const _0x4ad290={};for(const _0x3915b2 of _0x1bd9fe['config']['names']())W['includes'](_0x3915b2)||(_0x4ad290[_0x3915b2]=_0x1bd9fe['config']['get'](_0x3915b2));const _0xcdc6c0=_0x4ad290['plugins']||[],_0x5cd743=_0x1bd9fe['constructor']['builtinPlugins']||[],_0x4894dd=_0xcdc6c0['length']?_0xcdc6c0:_0x5cd743,_0x3130f6=_0x4ad290['extraPlugins']||[];delete _0x4ad290['extraPlugins'];const _0x4ec258=_0x4ad290['removePlugins']||[];delete _0x4ad290['removePlugins'];const _0x4fad2e=_0x1bd9fe['_context']['config']['get']('plugins')||[],_0x2ccba2=_0x4894dd['concat'](_0x3130f6)['concat'](_0x4fad2e)['map'](_0x2948c9=>'string'==typeof _0x2948c9?_0x5cd743['find'](_0xc87d24=>_0xc87d24['pluginName']==_0x2948c9):_0x2948c9)['filter'](_0x16efe9=>!_0x4ec258['includes'](_0x16efe9)&&!_0x4ec258['includes'](_0x16efe9['pluginName'])),_0x1efbb9=Array['from'](new Set(_0x2ccba2)),_0x15b06d=new Map();return _0x4ad290['plugins']=_0x1efbb9['filter'](_0xb55681=>G(_0xb55681,_0x15b06d,_0x1bd9fe['plugins'],_0x4dc3c0)),_0x4ad290;}function Dt(_0x3de786,_0x5f1d4e){const _0x1903c0=[];_0x3de786['document']['selection']['on']('change:range',()=>{const _0x5d6d9a=function(_0x48e3cc,_0x2ae68a){const _0x3582eb=[];for(const _0x41215c of _0x48e3cc['markers']){const _0x27d929=_0x41215c['getRange']();(_0x27d929['containsPosition'](_0x2ae68a)||_0x27d929['start']['isEqual'](_0x2ae68a)||_0x27d929['end']['isEqual'](_0x2ae68a))&&_0x3582eb['push'](_0x41215c);}return _0x3582eb;}(_0x3de786,_0x3de786['document']['selection']['focus']),_0x2a479f=[],_0x18f1a6=[],_0x144d4a=[];for(const _0x14a77e of _0x1903c0)_0x5d6d9a['includes'](_0x14a77e)||_0x2a479f['push'](_0x14a77e);for(const _0x44cb20 of _0x5d6d9a)_0x1903c0['includes'](_0x44cb20)||_0x18f1a6['push'](_0x44cb20),_0x144d4a['push'](_0x44cb20);(_0x2a479f['length']||_0x18f1a6['length'])&&_0x5f1d4e({'left':_0x2a479f,'entered':_0x18f1a6}),_0x1903c0['length']=0x0,_0x1903c0['push'](..._0x144d4a);});}const $t='Ctrl+Shift+E';function Vt(_0x231f71,_0x9de66a){const _0x48bfb8=_0x231f71['element'];_0x231f71['keystrokes']['listenTo'](_0x48bfb8);for(const _0x26ff24 of _0x9de66a)I(_0x231f71,_0x26ff24);_0x9de66a['on']('change',(_0x3d9940,_0x39b166)=>{for(const _0x308e88 of _0x39b166['removed'])R(_0x231f71,_0x308e88);for(const _0x448b9d of Array['from'](_0x39b166['added'])['reverse']())I(_0x231f71,_0x448b9d);}),_0x231f71['keystrokes']['set']('enter',(_0x3c0003,_0x3af018)=>{_0x48bfb8===_0x3c0003['target']&&(_0x231f71['focusCycler']['focusFirst'](),_0x3af018());},{'filter':_0x588ee4=>_0x588ee4['target']===_0x48bfb8}),_0x231f71['keystrokes']['set']('esc',(_0x11af1d,_0x11cf54)=>{_0x48bfb8!==_0x11af1d['target']?_0x231f71['focus']():_0x231f71['fire']('escape'),_0x11cf54();}),_0x231f71['keystrokes']['set']('arrowdown',(_0x5b2157,_0x1b597b)=>{_0x48bfb8===_0x5b2157['target']&&(_0x231f71['fire']('arrowdown'),_0x1b597b());}),_0x231f71['keystrokes']['set']('arrowup',(_0x1e8939,_0x21449f)=>{_0x48bfb8===_0x1e8939['target']&&(_0x231f71['fire']('arrowup'),_0x21449f());});}function I(_0xb22aab,_0x46ff7e){_0x46ff7e['isRendered']&&(_0xb22aab['focusTracker']['add'](_0x46ff7e['element']),_0xb22aab['keystrokes']['listenTo'](_0x46ff7e['element']),_0x3c0431(_0x46ff7e)&&function(_0x46cd71,_0x4e0841){const _0x2d614f=_0x46cd71['actions'],_0x37e8c6=_0x4e0841['actions'];for(const _0x29f260 of Object['keys'](_0x2d614f))if(_0x29f260 in _0x37e8c6&&_0x2d614f[_0x29f260]!==_0x37e8c6[_0x29f260])return!0x1;return!0x0;}(_0xb22aab['focusCycler'],_0x46ff7e['focusCycler'])&&_0xb22aab['focusCycler']['chain'](_0x46ff7e['focusCycler']));}function R(_0x586afe,_0x447821){_0x586afe['focusTracker']['remove'](_0x447821['element']),_0x586afe['keystrokes']['stopListening'](_0x447821['element']),_0x3c0431(_0x447821)&&_0x586afe['focusCycler']['unchain'](_0x447821['focusCycler']);}const Lt='$elementId',Ut='data-id';class Ht extends _0x39fd81{static get['pluginName'](){return'DocumentCompare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['init'](){this['context']instanceof _0x588db3?this['_integrateEditor'](this['context']):this['listenTo'](this['context']['editors'],'add',(_0x407d4d,_0xd2759c)=>{_0xd2759c['on']('ready',()=>{this['_integrateEditor'](_0xd2759c);});});}get['editor'](){if(this['context']instanceof _0x588db3)return this['context'];{const _0x43a04f=this['context']['editors']['first'];if(!_0x43a04f)throw new _0x4dee5d('documentcompare-no-editor',this);return _0x43a04f;}}['getDiff'](_0x452233,_0x885ebe,_0x69e312={'anchor':'main','markDeletions':!0x1}){let _0x1fad00,_0x206400;const _0x590b3e=this['editor'];if('string'==typeof _0x69e312['anchor']){const _0x44bcc1=_0x590b3e['model']['document']['getRoot'](_0x69e312['anchor']);if(!_0x44bcc1)throw new _0x4dee5d('documentcompare-compare-no-root',this,{'anchor':_0x69e312['anchor']});_0x1fad00=_0x44bcc1,_0x206400=_0x590b3e['model']['createPositionAt'](_0x44bcc1,0x0);}else _0x1fad00=_0x69e312['anchor']['clone'](),_0x206400=_0x69e312['anchor']['clone']();const _0x8f974e=_0x590b3e['data']['parse'](_0x452233,_0x1fad00),_0x1695c2=_0x590b3e['data']['parse'](_0x885ebe,_0x1fad00);return new Rt(_0x8f974e,_0x1695c2,_0x590b3e,{'anchor':_0x206400,'markDeletions':_0x69e312['markDeletions']});}['isMarkedRemoveOperation'](_0x3a29c3){return'marker'==_0x3a29c3['type']&&_0x3a29c3['name']['startsWith']('$markedRemove');}['_integrateEditor'](_0x26fc46){_0x26fc46['conversion']['for']('upcast')['add'](_0x2701a6=>{_0x2701a6['on']('element',(_0x3b73f2,_0x44a61c,_0x3c2cd6)=>{if(_0x44a61c['modelRange'])for(const _0x41dfff of _0x44a61c['modelRange']['getItems']({'shallow':!0x0})){if(_0x41dfff['is']('$textProxy'))continue;const _0x29a9c7=_0x44a61c['viewItem']['getAttribute'](Ut);_0x29a9c7&&_0x3c2cd6['writer']['setAttribute'](Lt,_0x29a9c7,_0x41dfff);}},{'priority':'lowest'});}),_0x26fc46['model']['schema']['addAttributeCheck'](()=>!0x0,Lt);}}class Rt{['_editor'];['_diffItems']=[];['_operationsData']=[];['_markDeletions'];['_anchor'];['_path']=[0x0];['_parents']=[];constructor(_0x2a3d78,_0x3b5133,_0xca2f9a,_0x4684d){this['_editor']=_0xca2f9a,this['_markDeletions']=!!_0x4684d['markDeletions'],this['_anchor']=_0x4684d['anchor'];const _0xc98337=this['_tokenizeModel'](_0x2a3d78),_0x529505=this['_tokenizeModel'](_0x3b5133);this['_diffItems']=this['_diffModelTokens'](_0xc98337,_0x529505),this['_calculateOperationsData'](),this['_markDeletions']||this['_calculateMarkersOperationsData'](_0x2a3d78['markers'],_0x3b5133['markers']);}['getOperationsData'](){return this['_operationsData'];}['getOperations'](){const _0x3c040b=this['_editor']['model']['document'],_0x2b4848=[];let _0x498750=_0x3c040b['version'];for(const _0x16fe1f of this['_operationsData'])switch(_0x16fe1f['type']){case'attribute':{const _0x5ea808=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x16fe1f['path']),_0x1ce466=_0x5ea808['getShiftedBy'](_0x16fe1f['howMany']),_0x332e31=new _0x4bf447(_0x5ea808,_0x1ce466),_0x1a04cb=JSON['parse'](_0x16fe1f['oldValue']),_0x26d4ce=JSON['parse'](_0x16fe1f['newValue']);_0x2b4848['push'](new _0x2dbd3e(_0x332e31,_0x16fe1f['key'],_0x1a04cb,_0x26d4ce,_0x498750++));break;}case'insert':{const _0x8a7815=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x16fe1f['path']),_0x569036=this['_makeModelFromTokens'](_0x16fe1f['tokens']);_0x2b4848['push'](new _0x5e2e05(_0x8a7815,_0x569036,_0x498750++));break;}case'remove':{const _0xeb95e0=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x16fe1f['path']),_0x1862f3=new _0x5536b2(_0x3c040b['graveyard'],[0x0]);_0x2b4848['push'](new _0x3d5a16(_0xeb95e0,_0x16fe1f['howMany'],_0x1862f3,_0x498750++));break;}case'rename':{const _0x1eada5=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x16fe1f['path']);_0x2b4848['push'](new _0x52cc6d(_0x1eada5,_0x16fe1f['oldName'],_0x16fe1f['newName'],_0x498750++));break;}case'split':{const _0x1d1307=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x16fe1f['path']),_0x9cd1ea=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x16fe1f['path']['slice'](0x0,-0x1));_0x9cd1ea['offset']++,_0x2b4848['push'](new _0x500440(_0x1d1307,Number['NEGATIVE_INFINITY'],_0x9cd1ea,null,_0x498750++));break;}case'merge':{const _0x1c1b50=_0x16fe1f['path']['slice'](),_0x4007e1=_0x1c1b50['slice'](0x0,-0x1);_0x4007e1[_0x4007e1['length']-0x1]++,_0x4007e1['push'](0x0);const _0x4d9bfd=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x4007e1),_0x30886f=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x1c1b50),_0x406256=new _0x5536b2(_0x3c040b['graveyard'],[0x0]);_0x2b4848['push'](new _0x85cc4e(_0x4d9bfd,Number['NEGATIVE_INFINITY'],_0x30886f,_0x406256,_0x498750++));break;}case'marker':case'markedRemove':{let _0x4d1cec=null;if(_0x16fe1f['range']){const _0xddd34b=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x16fe1f['range']['start']),_0x4e8af1=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x16fe1f['range']['end']);_0x4d1cec=new _0x4bf447(_0xddd34b,_0x4e8af1);}const _0x1e52a9='marker'==_0x16fe1f['type']?_0x16fe1f['name']:'$markedRemove:'+_0x5c1b8e();_0x2b4848['push'](new _0x449d02(_0x1e52a9,null,_0x4d1cec,_0x3c040b['model']['markers'],!0x0,_0x498750++));break;}case'unwrap':{const _0x22d071=_0x16fe1f['path']['slice']();_0x22d071['push'](0x0);const _0x4e64bf=_0x16fe1f['path']['slice'](),_0x425275=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x22d071),_0x173a0d=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x4e64bf),_0x5da839=new _0x5536b2(_0x3c040b['graveyard'],[0x0]);_0x2b4848['push'](new _0x3d5a16(_0x425275,_0x16fe1f['howMany'],_0x173a0d,_0x498750++)),_0x2b4848['push'](new _0x3d5a16(_0x173a0d['getShiftedBy'](_0x16fe1f['howMany']),0x1,_0x5da839,_0x498750++));break;}case'wrap':{const _0x27f080=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x16fe1f['range']['start']),_0xd38b5d=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x16fe1f['range']['end']),_0x4602ea=_0x16fe1f['token']['element']['_clone'](!0x1),_0x10f672=_0x16fe1f['range']['end']['slice']();_0x10f672['push'](0x0);const _0xe0960d=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x10f672);_0x2b4848['push'](new _0x5e2e05(_0xd38b5d,_0x4602ea,_0x498750++)),_0x2b4848['push'](new _0x3d5a16(_0x27f080,_0xd38b5d['offset']-_0x27f080['offset'],_0xe0960d,_0x498750++));break;}}return _0x2b4848;}['_tokenizeModel'](_0x4dce55){const _0x29a6d9=[],_0x29b6b8=_0x4bf447['_createIn'](_0x4dce55),_0x4319db=new _0x22dd11({'boundaries':_0x29b6b8});let _0x5befa9='',_0x5d2ba3=null;const _0x487ffc=[''],_0x34cea9=new Map();for(const _0x2e11fa of _0x4319db)if('elementStart'==_0x2e11fa['type']||'elementEnd'==_0x2e11fa['type']){let _0x83d7ca=_0x487ffc[0x0];''!==_0x5befa9&&(_0x29a6d9['push'](...this['_makeTokensFromTextByWords'](_0x5befa9,_0x5d2ba3,_0x83d7ca)),_0x5befa9='');const _0x16a573=_0x2e11fa['item'];let _0x59f35c;_0x16a573['getAttribute'](Lt)?_0x59f35c=_0x16a573['getAttribute'](Lt):'elementStart'==_0x2e11fa['type']?(_0x59f35c=_(_0x16a573),_0x34cea9['set'](_0x16a573,_0x59f35c)):_0x59f35c=_0x34cea9['get'](_0x16a573);const _0x31803d=this['_getElementCategory'](_0x16a573);'solid'==_0x31803d&&('elementStart'==_0x2e11fa['type']?(_0x83d7ca=_0x59f35c,_0x487ffc['unshift'](_0x83d7ca)):_0x487ffc['shift']());const _0x24a6af={'type':'element','element':_0x16a573,'elementId':_0x59f35c,'category':_0x31803d,'isStart':'elementStart'==_0x2e11fa['type'],'limitId':_0x83d7ca};_0x29a6d9['push'](_0x24a6af);}else''==_0x5befa9&&(_0x5d2ba3=_0x2e11fa['previousPosition']['clone']()),_0x5befa9+=_0x2e11fa['item']['data'];return''!==_0x5befa9&&_0x29a6d9['push'](...this['_makeTokensFromTextByWords'](_0x5befa9,_0x5d2ba3,_0x487ffc[0x0])),_0x29a6d9;}['_makeTokensFromTextByWords'](_0x4b9af4,_0x3b21a0,_0x703c4){const _0x3b2edb=_0x4b9af4['matchAll'](/(\s)/g),_0x474286=Array['from'](_0x3b2edb)['map'](_0x2cd1a7=>_0x2cd1a7['index']);_0x474286['push'](_0x4b9af4['length']),0x0==_0x474286[0x0]&&_0x474286['shift']();const _0x2192eb=[],_0x5c30a3=_0x3b21a0['parent'];let _0x10d9a2=0x0,_0x6df746=_0x3b21a0['offset'];for(let _0x26566d=0x0;_0x26566d<_0x474286['length'];_0x26566d++)_0x2192eb['push']({'type':'text','data':_0x4b9af4['slice'](_0x10d9a2,_0x474286[_0x26566d]),'parent':_0x5c30a3,'offset':_0x6df746,'limitId':_0x703c4}),_0x10d9a2=_0x474286[_0x26566d],_0x6df746=_0x3b21a0['offset']+_0x474286[_0x26566d];return _0x2192eb;}['_getElementCategory'](_0x171437){const _0x5b070f=this['_editor']['model']['schema'];return _0x5b070f['isLimit'](_0x171437)||_0x5b070f['isContent'](_0x171437)||_0x5b070f['isInline'](_0x171437)?'solid':_0x5b070f['isBlock'](_0x171437)?'block':'container';}['_diffModelTokens'](_0x12ba86,_0x33e9ba){const _0x2ac590=_0x99d7e2(_0x12ba86,_0x33e9ba,{'comparator':g});this['_handleUnclosedBlockOpeningTags'](_0x2ac590);const _0x2dbf0e=_0x2ac590['flatMap'](_0x4fb53d=>{const _0x1e3412=_0x4fb53d['added']?'added':_0x4fb53d['removed']?'removed':'unchanged';return _0x4fb53d['value']['map'](_0x149542=>({'token':_0x149542,'change':_0x1e3412}));});let _0x244278=0x0;for(const _0x5b3aca of _0x2dbf0e)'added'!=_0x5b3aca['change']&&('unchanged'==_0x5b3aca['change']&&(_0x5b3aca['before']=_0x12ba86[_0x244278]),_0x244278++);return _0x2dbf0e;}['_handleUnclosedBlockOpeningTags'](_0x52980b){for(let _0x3f2ff9=0x0;_0x3f2ff9<_0x52980b['length']-0x1;_0x3f2ff9++)if(_0x52980b[_0x3f2ff9]['removed']&&_0x52980b[_0x3f2ff9+0x1]['added']){const _0x11d0ee=this['_findUnclosedBlockOpeningToken'](_0x52980b[_0x3f2ff9]['value']);if(null!==_0x11d0ee){const _0x798999=this['_findUnclosedBlockOpeningToken'](_0x52980b[_0x3f2ff9+0x1]['value']),_0x56449c=_0x52980b[_0x3f2ff9]['value']['splice'](_0x11d0ee),_0x4239da=_0x52980b[_0x3f2ff9+0x1]['value']['splice'](_0x798999),_0x504c4a=[_0x4239da['shift']()];_0x56449c['shift']();const _0x41da7a={'value':_0x56449c,'removed':!0x0},_0x1249a8={'value':_0x4239da,'added':!0x0},_0x368945={'value':_0x504c4a};_0x52980b['splice'](_0x3f2ff9+0x2,0x0,_0x368945,_0x41da7a,_0x1249a8);}}}['_findUnclosedBlockOpeningToken'](_0x8e09d6){let _0x12d7c3=0x0,_0x4b0020=-0x1;for(let _0x2f59c9=0x0;_0x2f59c9<_0x8e09d6['length'];_0x2f59c9++){const _0xf9d806=_0x8e09d6[_0x2f59c9];'element'==_0xf9d806['type']&&'block'==_0xf9d806['category']&&(_0x12d7c3+=_0xf9d806['isStart']?0x1:-0x1,_0xf9d806['isStart']&&(_0x4b0020=_0x2f59c9));}return 0x0===_0x12d7c3?null:_0x4b0020;}['_calculateOperationsData'](){this['_handleUnwraps'](),this['_path']=[0x0],this['_parents']=[];for(let _0x359f06=0x0;_0x359f06<this['_diffItems']['length'];_0x359f06++){const _0x3f5b99=this['_diffItems'][_0x359f06]['change'],_0x18e560=[];_0x18e560['push'](this['_diffItems'][_0x359f06]);let _0x38a8a3=_0x359f06+0x1;for(;this['_diffItems'][_0x38a8a3]&&this['_diffItems'][_0x38a8a3]['change']==_0x3f5b99;)_0x18e560['push'](this['_diffItems'][_0x38a8a3]),_0x38a8a3++,_0x359f06++;const _0x42052f=_0x18e560['map'](_0x2a74f0=>_0x2a74f0['token']);if('unchanged'==_0x3f5b99)_0x18e560['map'](_0x53aa97=>_0x53aa97['before'])['forEach'](_0x51a918=>this['_traverseOverItem'](_0x51a918));else{if('removed'==_0x3f5b99){if(this['_markDeletions']){const _0x40cd9c=this['_path']['slice']();_0x42052f['forEach'](_0x5bfdaa=>this['_traverseOverItem'](_0x5bfdaa));const _0x1e740d=this['_path']['slice']();this['_operationsData']['push']({'type':'markedRemove','range':{'start':_0x40cd9c,'end':_0x1e740d}});}else this['_handleChanged'](_0x42052f,!0x0,this['_path']['slice']());}else{const _0x21809f=_0x42052f['filter'](_0x10baed=>'element'!=_0x10baed['type']||'container'!=_0x10baed['category']);this['_handleChanged'](_0x21809f,!0x1,this['_path']);}}}this['_handleWraps'](),this['_path']=[0x0],this['_parents']=[];for(let _0x38e4e6=0x0;_0x38e4e6<this['_diffItems']['length'];_0x38e4e6++){const _0x58c5b0=this['_diffItems'][_0x38e4e6]['change'],_0x2601ad=[];_0x2601ad['push'](this['_diffItems'][_0x38e4e6]);let _0x1d2957=_0x38e4e6+0x1;for(;this['_diffItems'][_0x1d2957]&&this['_diffItems'][_0x1d2957]['change']==_0x58c5b0;)_0x2601ad['push'](this['_diffItems'][_0x1d2957]),_0x1d2957++,_0x38e4e6++;const _0x367c57=_0x2601ad['map'](_0x534d0d=>_0x534d0d['token']);if('unchanged'==_0x58c5b0){const _0x512a27=_0x2601ad['map'](_0x22ec4a=>_0x22ec4a['before']);this['_handleUnchanged'](_0x512a27,_0x367c57);}else('removed'!=_0x58c5b0||this['_markDeletions'])&&_0x367c57['forEach'](_0x5c3ecc=>{this['_traverseOverItem'](_0x5c3ecc);});}}['_calculateMarkersOperationsData'](_0x5bff87,_0x555ad4){const _0x48130f={};for(const [_0x34ff48]of _0x5bff87)_0x48130f[_0x34ff48]=null;for(const [_0x37e0bd,_0xb15d6e]of _0x555ad4)_0x48130f[_0x37e0bd]=_0xb15d6e;const _0x4754c=Object['entries'](_0x48130f)['map'](([_0x2e5d99,_0x1171d2])=>({'type':'marker','name':_0x2e5d99,'range':_0x1171d2?{'start':_0x1171d2['start']['path']['slice'](),'end':_0x1171d2['end']['path']['slice']()}:null}));this['_operationsData']['push'](..._0x4754c);}['_handleUnwraps'](){const _0x5d56bf=new Map(),_0x816dec=[],_0x303ddd=[0x0];let _0x561dc1=this['_diffItems']['length']+0x1;for(let _0x3262e3=this['_diffItems']['length']-0x1;_0x3262e3>=0x0;_0x3262e3--){const {token:_0x5885b9,before:_0x3726f3,change:_0x1dff7c}=this['_diffItems'][_0x3262e3];if('removed'!=_0x1dff7c&&(_0x561dc1=_0x3262e3),'element'!=_0x5885b9['type']||'container'!=_0x5885b9['category']||'added'==_0x1dff7c)continue;const _0x460e24=_0x3726f3?_0x3726f3['element']:_0x5885b9['element'];if(_0x5885b9['isStart']){const _0x236b23=_0x5d56bf['get'](_0x460e24),_0xd0156d=this['_diffItems'][_0x236b23];('removed'==_0x1dff7c||'removed'==_0xd0156d['change'])&&_0x561dc1<_0x236b23&&(this['_operationsData']['push']({'type':'unwrap','path':_0x460e24['getPath'](),'howMany':_0x460e24['maxOffset']+_0x303ddd[0x0]}),_0x303ddd['shift'](),_0x303ddd[0x0]+=_0x460e24['maxOffset']-0x1,_0x816dec['push'](_0x3262e3),_0x816dec['push'](_0x236b23));}else _0x5d56bf['set'](_0x460e24,_0x3262e3),_0x303ddd['unshift'](0x0);}_0x816dec['sort']((_0x59e7f3,_0x4dec7d)=>_0x4dec7d-_0x59e7f3),_0x816dec['forEach'](_0x1da050=>{const _0x169a8c=this['_diffItems'][_0x1da050];'removed'==_0x169a8c['change']?this['_diffItems']['splice'](_0x1da050,0x1):(_0x169a8c['change']='added',delete _0x169a8c['before']);});}['_handleWraps'](){this['_path']=[0x0],this['_parents']=[];const _0x4791cb=[];for(let _0xfd8733=0x0;_0xfd8733<this['_diffItems']['length'];_0xfd8733++){const {change:_0x4f6453,token:_0x2519b3}=this['_diffItems'][_0xfd8733];if('added'==_0x4f6453&&'element'==_0x2519b3['type']&&'container'==_0x2519b3['category']){if(_0x2519b3['isStart'])_0x4791cb['push'](this['_path']['slice']());else{if(!_0x2519b3['isStart']){const _0x3210b4=_0x4791cb['pop']();this['_operationsData']['push']({'type':'wrap','range':{'start':_0x3210b4,'end':this['_path']['slice']()},'token':_0x2519b3}),this['_path'][this['_path']['length']-0x1]=_0x3210b4[this['_path']['length']-0x1]+0x1;}}}else('removed'!=_0x4f6453||this['_markDeletions'])&&this['_traverseOverItem'](_0x2519b3);}}['_handleUnchanged'](_0x1386f6,_0x359339){for(let _0x17c6ad=0x0;_0x17c6ad<_0x1386f6['length'];_0x17c6ad++){const _0x1814ad=_0x1386f6[_0x17c6ad];if('element'==_0x1814ad['type']&&_0x1814ad['isStart']){const _0x3b54ca=_0x359339[_0x17c6ad];'block'==_0x1814ad['category']&&this['_handleElementRename'](_0x1814ad['element'],_0x3b54ca['element'],this['_path']),this['_handleElementAttributeChanges'](_0x1814ad['element'],_0x3b54ca['element'],this['_path']),this['_path']['push'](0x0),this['_parents']['push'](_0x3b54ca);}else{if('element'!=_0x1814ad['type']||_0x1814ad['isStart']){if('text'==_0x1814ad['type']){const _0x1f9f22=this['_path']['slice'](),_0x235ef3=[],_0x2570a2=[];for(;_0x1386f6[_0x17c6ad]&&'text'==_0x1386f6[_0x17c6ad]['type'];)_0x235ef3['push'](_0x1386f6[_0x17c6ad]),_0x2570a2['push'](_0x359339[_0x17c6ad]),this['_path'][this['_path']['length']-0x1]+=_0x1386f6[_0x17c6ad]['data']['length'],_0x17c6ad++;_0x17c6ad--,this['_handleTextAttributeChanges'](_0x235ef3,_0x2570a2,_0x1f9f22);}}else this['_path']['pop'](),this['_path'][this['_path']['length']-0x1]++,this['_parents']['pop']();}}}['_handleChanged'](_0x3ecaa4,_0x32d270,_0xedf041){const _0x1f8c12=[],_0x3aa628=[],_0x2986ba=_0xedf041['slice']();for(let _0x5ac556=0x0;_0x5ac556<_0x3ecaa4['length'];_0x5ac556++){const _0x5ee9ae=_0x3ecaa4[_0x5ac556],_0x4225ec=_0xedf041['slice']();if('element'!=_0x5ee9ae['type']||_0x5ee9ae['isStart'])'element'==_0x5ee9ae['type']&&_0x5ee9ae['isStart']?(_0xedf041['push'](0x0),_0x32d270||this['_parents']['push'](_0x5ee9ae),_0x3aa628['push']({'before':_0x4225ec,'after':_0xedf041['slice'](),'index':_0x5ac556})):_0xedf041[_0xedf041['length']-0x1]+=_0x5ee9ae['data']['length'];else{let _0x26cec9;_0xedf041['pop'](),_0xedf041[_0xedf041['length']-0x1]++,_0x26cec9=_0x32d270?this['_parents'][this['_parents']['length']-0x1]:this['_parents']['pop'](),_0x3aa628['length']?_0x3aa628['pop']():_0x1f8c12['push']({'before':_0x4225ec,'after':_0xedf041['slice'](),'index':_0x5ac556,'related':_0x26cec9});}}if(_0x3aa628['length']!==_0x1f8c12['length'])throw new _0x4dee5d('model-diff-incorrect-matching-and-closing-tags',null,{'tokens':_0x3ecaa4,'isRemove':_0x32d270});const _0x7708db=[{'after':_0x2986ba['slice'](),'index':-0x1},..._0x1f8c12,..._0x3aa628,{'before':_0xedf041['slice'](),'index':_0x3ecaa4['length']}];if(_0x32d270){for(let _0x32aead=_0x7708db['length']-0x1;_0x32aead>=0x1;_0x32aead--){const _0x2b59f7=_0x7708db[_0x32aead-0x1]['after'],_0x24ff13=_0x7708db[_0x32aead]['before'],_0x151362=_0x24ff13[_0x24ff13['length']-0x1]-_0x2b59f7[_0x2b59f7['length']-0x1];_0x151362&&(this['_operationsData']['push']({'type':'remove','path':_0x2b59f7,'howMany':_0x151362}),_0x24ff13[_0x24ff13['length']-0x1]-=_0x151362);}for(const {before:_0x6cab70}of _0x1f8c12)this['_operationsData']['push']({'type':'merge','path':_0x6cab70});}else for(let _0x425261=0x0;_0x425261<_0x7708db['length']-0x1;_0x425261++){const _0x5973e0=_0x7708db[_0x425261]['after'],_0x13b79d=_0x7708db[_0x425261+0x1]['before'],_0x269150=_0x7708db[_0x425261]['index']+0x1,_0x1f5420=_0x7708db[_0x425261+0x1]['index'];if(_0x269150!==_0x1f5420&&this['_operationsData']['push']({'type':'insert','path':_0x5973e0,'tokens':_0x3ecaa4['slice'](_0x269150,_0x1f5420)}),_0x425261<_0x1f8c12['length']){this['_operationsData']['push']({'type':'split','path':_0x13b79d});const _0x543a18=_0x3ecaa4[_0x3aa628[_0x3aa628['length']-0x1-_0x425261]['index']],_0x3a6426=_0x1f8c12[_0x425261]['after'],_0x300d7d=_0x1f8c12[_0x425261]['related']['element'];this['_handleElementRename'](_0x300d7d,_0x543a18['element'],_0x3a6426),this['_handleElementAttributeChanges'](_0x300d7d,_0x543a18['element'],_0x3a6426);}}}['_traverseOverItem'](_0x253221){'element'==_0x253221['type']&&_0x253221['isStart']?(this['_path']['push'](0x0),this['_parents']['push'](_0x253221)):'element'!=_0x253221['type']||_0x253221['isStart']?'text'==_0x253221['type']&&(this['_path'][this['_path']['length']-0x1]+=_0x253221['data']['length']):(this['_path']['pop'](),this['_path'][this['_path']['length']-0x1]++,this['_parents']['pop']());}['_handleElementRename'](_0x5494e5,_0x5145fe,_0x447850){_0x5494e5['name']!=_0x5145fe['name']&&this['_operationsData']['push']({'type':'rename','path':_0x447850['slice'](),'oldName':_0x5494e5['name'],'newName':_0x5145fe['name']});}['_handleElementAttributeChanges'](_0x314537,_0x1b3906,_0x212ece){const _0x34053a=this['_getAttributeChanges'](_0x314537['getAttributes'](),_0x1b3906['getAttributes']());for(const _0x561930 in _0x34053a){const {oldValue:_0x4178f1,newValue:_0x2e1756}=_0x34053a[_0x561930];this['_operationsData']['push']({'type':'attribute','path':_0x212ece['slice'](),'howMany':0x1,'key':_0x561930,'oldValue':_0x4178f1,'newValue':_0x2e1756});}}['_handleTextAttributeChanges'](_0x26a4e0,_0x316bb0,_0x332883){const _0x2871f3=this['_operationsData'],_0x7b33fc=_0x26a4e0[0x0]['parent'],_0x3b8d9a=_0x26a4e0[0x0]['offset'],_0x5d3530=_0x316bb0[0x0]['parent'],_0x3dd597=_0x316bb0[0x0]['offset'],_0x12d032=_0x26a4e0['reduce']((_0x5dd60c,_0x404cf0)=>_0x5dd60c+_0x404cf0['data']['length'],0x0),_0xf5ca83=this['_getAttrsForOffsets'](_0x7b33fc,_0x3b8d9a,_0x12d032),_0x2094f3=this['_getAttrsForOffsets'](_0x5d3530,_0x3dd597,_0x12d032),_0x59058e={};for(let _0x16378b=0x0;_0x16378b<_0x12d032;_0x16378b++){const _0x1b1979=_0xf5ca83[_0x3b8d9a+_0x16378b],_0x431f89=_0x2094f3[_0x3dd597+_0x16378b],_0x417299=this['_getAttributeChanges'](_0x1b1979,_0x431f89);for(const _0x17bf27 in _0x59058e)_0x417299[_0x17bf27]||_0x1510aa(_0x17bf27);for(const _0x3b8345 in _0x417299){const {oldValue:_0x2e92bf,newValue:_0x590760}=_0x417299[_0x3b8345],_0x34452a=_0x59058e[_0x3b8345];_0x34452a?_0x34452a['oldValue']==_0x2e92bf&&_0x34452a['newValue']==_0x590760?_0x34452a['length']++:(_0x1510aa(_0x3b8345),_0x59058e[_0x3b8345]={'oldValue':_0x2e92bf,'newValue':_0x590760,'start':_0x16378b,'length':0x1}):_0x59058e[_0x3b8345]={'oldValue':_0x2e92bf,'newValue':_0x590760,'start':_0x16378b,'length':0x1};}}for(const _0x1353c1 in _0x59058e)_0x1510aa(_0x1353c1);function _0x1510aa(_0x438d3c){const _0x316c8e=_0x59058e[_0x438d3c],_0x580255=_0x332883['slice']();_0x580255[_0x580255['length']-0x1]+=_0x316c8e['start'],_0x2871f3['push']({'type':'attribute','path':_0x580255,'howMany':_0x316c8e['length'],'key':_0x438d3c,'oldValue':_0x316c8e['oldValue'],'newValue':_0x316c8e['newValue']}),delete _0x59058e[_0x438d3c];}}['_getAttributeChanges'](_0xa85ad8,_0x17bfaa){const _0xf0ef8={};for(const [_0x253e47,_0x7716a0]of _0xa85ad8)_0xf0ef8[_0x253e47]={'oldValue':JSON['stringify'](_0x7716a0),'newValue':'null'};for(const [_0x2c941c,_0x1b19d0]of _0x17bfaa){const _0x2f9e5f=JSON['stringify'](_0x1b19d0);_0xf0ef8[_0x2c941c]?_0xf0ef8[_0x2c941c]['oldValue']==_0x2f9e5f?delete _0xf0ef8[_0x2c941c]:_0xf0ef8[_0x2c941c]['newValue']=_0x2f9e5f:_0xf0ef8[_0x2c941c]={'oldValue':'null','newValue':_0x2f9e5f};}return delete _0xf0ef8[Lt],_0xf0ef8;}['_getAttrsForOffsets'](_0x59502d,_0x1156ce,_0x4e4eec){const _0x40b3de=new Array(_0x1156ce+_0x4e4eec);let _0xade731=_0x59502d['getChildAtOffset'](_0x1156ce),_0x1257e2=_0xade731['startOffset'];for(;_0xade731&&_0x1257e2<_0x1156ce+_0x4e4eec;){const _0x460e5a=Array['from'](_0xade731['getAttributes']());_0x40b3de['fill'](_0x460e5a,_0x1257e2,_0x1257e2+_0xade731['offsetSize']),_0x1257e2+=_0xade731['offsetSize'],_0xade731=_0xade731['nextSibling'];}return _0x40b3de;}['_getPositionFromAnchorAndPath'](_0x2d19c5,_0x367c35){const _0x2d74e7=[..._0x2d19c5['path']['slice'](0x0,-0x1),_0x2d19c5['offset']+_0x367c35[0x0],..._0x367c35['slice'](0x1)];return new _0x5536b2(_0x2d19c5['root'],_0x2d74e7);}['_makeModelFromTokens'](_0x1b617e){const _0x2a29a0=[];let _0xa24058=null;for(const _0x3dbdf9 of _0x1b617e)if('element'!=_0x3dbdf9['type']||_0x3dbdf9['isStart']||_0xa24058!=_0x3dbdf9['element']){if(!_0xa24058){if('text'==_0x3dbdf9['type']){const _0x18b2b6=_0x5536b2['_createAt'](_0x3dbdf9['parent'],_0x3dbdf9['offset']),_0x2ccc90=_0x4bf447['_createFromPositionAndShift'](_0x18b2b6,_0x3dbdf9['data']['length']),_0x5ccca4=Array['from'](_0x2ccc90['getItems']())['map'](_0x59d3fd=>new _0x1fa150(_0x59d3fd['data'],_0x59d3fd['getAttributes']()));_0x2a29a0['push'](..._0x5ccca4);}else{_0xa24058=_0x3dbdf9['element'];const _0x4e5e47=_0x3dbdf9['element']['_clone'](!0x0);_0x4e5e47['_removeAttribute'](Lt);for(const _0x438773 of this['_editor']['model']['createRangeIn'](_0x4e5e47)['getItems']())_0x438773['is']('element')&&_0x438773['_removeAttribute'](Lt);_0x2a29a0['push'](_0x4e5e47);}}}else _0xa24058=null;return _0x2a29a0;}}function g(_0x49da46,_0x40d2b1){return _0x49da46['type']===_0x40d2b1['type']&&(_0x49da46['limitId']===_0x40d2b1['limitId']&&('text'==_0x49da46['type']?_0x49da46['data']==_0x40d2b1['data']:function(_0x4e9034,_0x2bd674){if(_0x4e9034['isStart']!=_0x2bd674['isStart'])return!0x1;if(_0x4e9034['isStart']&&_0x4e9034['elementId']!=_0x2bd674['elementId'])return!0x1;if(_0x4e9034['category']!=_0x2bd674['category'])return!0x1;if('block'==_0x4e9034['category'])return!0x0;if('container'==_0x4e9034['category']&&_0x4e9034['elementId']!=_0x2bd674['elementId'])return!0x1;return _0x4e9034['element']['name']==_0x2bd674['element']['name'];}(_0x49da46,_0x40d2b1)));}function _(_0x468ab8){return k({'name':_0x468ab8['name'],...Object['fromEntries'](_0x468ab8['getAttributes']())});}export{xt as AriaDescriptionView,Pt as ConfirmMixin,Lt as DATA_ID_MODEL_ATTRIBUTE,Ut as DATA_ID_VIEW_ATTRIBUTE,Ht as DocumentCompare,$t as FOCUS_ANNOTATION_KEYSTROKE,It as LateFocusButtonView,St as LateFocusDropdownButtonView,C as Permissions,At as SuggestionsConversion,Ct as UserView,yt as Users,Et as fixElementSuggestionRange,Nt as getAllMarkersDomElementsSorted,Mt as getDateTimeFormatter,Tt as getMarkerDomElement,k as hashObject,Ot as sanitizeEditorConfig,Vt as setupThreadKeyboardNavigation,J as splitSuggestionMarkerName,Dt as surroundingMarkersDetector,Bt as trimHtml};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-collaboration-core",
3
- "version": "47.2.0-alpha.4",
3
+ "version": "47.2.0-alpha.5",
4
4
  "description": "Base utilities used by CKEditor 5 collaboration features to support multiple users working together in a rich text editor.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "CKSource (http://cksource.com/)",
@@ -32,18 +32,18 @@
32
32
  "type": "module",
33
33
  "main": "src/index.js",
34
34
  "dependencies": {
35
- "@ckeditor/ckeditor5-engine": "47.2.0-alpha.4",
36
- "@ckeditor/ckeditor5-comments": "47.2.0-alpha.4",
37
- "@ckeditor/ckeditor5-core": "47.2.0-alpha.4",
38
- "@ckeditor/ckeditor5-icons": "47.2.0-alpha.4",
39
- "@ckeditor/ckeditor5-link": "47.2.0-alpha.4",
40
- "@ckeditor/ckeditor5-list": "47.2.0-alpha.4",
41
- "@ckeditor/ckeditor5-theme-lark": "47.2.0-alpha.4",
42
- "@ckeditor/ckeditor5-track-changes": "47.2.0-alpha.4",
43
- "@ckeditor/ckeditor5-ui": "47.2.0-alpha.4",
44
- "@ckeditor/ckeditor5-utils": "47.2.0-alpha.4",
45
- "@ckeditor/ckeditor5-widget": "47.2.0-alpha.4",
46
- "ckeditor5": "47.2.0-alpha.4",
35
+ "@ckeditor/ckeditor5-engine": "47.2.0-alpha.5",
36
+ "@ckeditor/ckeditor5-comments": "47.2.0-alpha.5",
37
+ "@ckeditor/ckeditor5-core": "47.2.0-alpha.5",
38
+ "@ckeditor/ckeditor5-icons": "47.2.0-alpha.5",
39
+ "@ckeditor/ckeditor5-link": "47.2.0-alpha.5",
40
+ "@ckeditor/ckeditor5-list": "47.2.0-alpha.5",
41
+ "@ckeditor/ckeditor5-theme-lark": "47.2.0-alpha.5",
42
+ "@ckeditor/ckeditor5-track-changes": "47.2.0-alpha.5",
43
+ "@ckeditor/ckeditor5-ui": "47.2.0-alpha.5",
44
+ "@ckeditor/ckeditor5-utils": "47.2.0-alpha.5",
45
+ "@ckeditor/ckeditor5-widget": "47.2.0-alpha.5",
46
+ "ckeditor5": "47.2.0-alpha.5",
47
47
  "diff": "8.0.2",
48
48
  "luxon": "3.6.1",
49
49
  "@types/luxon": "3.6.2"
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x22bf(){const _0x45dec8=['editor','registerBlockAttribute','2098435AsGLxE','542rqxTEW','get','AlignmentEditing','685480rMdqRj','4479sCkVNx','18trEKVG','plugins','6UiRQpX','75890uZiWbz','143JGUtrR','1000279gBVrsN','866672uulNIR','has','alignment','afterInit','SuggestionsConversion','137913wJyEfw'];_0x22bf=function(){return _0x45dec8;};return _0x22bf();}const _0x4b2067=_0x3678;(function(_0x556130,_0x168121){const _0x2e03b3=_0x3678,_0x337270=_0x556130();while(!![]){try{const _0x5658a1=parseInt(_0x2e03b3(0x6e))/0x1+-parseInt(_0x2e03b3(0x72))/0x2*(parseInt(_0x2e03b3(0x76))/0x3)+-parseInt(_0x2e03b3(0x75))/0x4+parseInt(_0x2e03b3(0x71))/0x5+parseInt(_0x2e03b3(0x65))/0x6*(parseInt(_0x2e03b3(0x68))/0x7)+-parseInt(_0x2e03b3(0x69))/0x8*(-parseInt(_0x2e03b3(0x77))/0x9)+parseInt(_0x2e03b3(0x66))/0xa*(-parseInt(_0x2e03b3(0x67))/0xb);if(_0x5658a1===_0x168121)break;else _0x337270['push'](_0x337270['shift']());}catch(_0x371fc6){_0x337270['push'](_0x337270['shift']());}}}(_0x22bf,0x3b367));import{Plugin as _0x296173}from'ckeditor5/src/core.js';function _0x3678(_0x1e856d,_0x113c14){const _0x22bf67=_0x22bf();return _0x3678=function(_0x36780a,_0x376c25){_0x36780a=_0x36780a-0x64;let _0x46df02=_0x22bf67[_0x36780a];return _0x46df02;},_0x3678(_0x1e856d,_0x113c14);}export class SuggestionsConversionAlignment extends _0x296173{[_0x4b2067(0x6c)](){const _0x5e75e4=_0x4b2067,_0x1dd76d=this[_0x5e75e4(0x6f)];if(!_0x1dd76d[_0x5e75e4(0x64)][_0x5e75e4(0x6a)](_0x5e75e4(0x74)))return;_0x1dd76d[_0x5e75e4(0x64)][_0x5e75e4(0x73)](_0x5e75e4(0x6d))[_0x5e75e4(0x70)](_0x5e75e4(0x6b));}}
23
+ const _0x34380a=_0x4599;(function(_0x27c488,_0x2acbfc){const _0x5469a0=_0x4599,_0x54dd85=_0x27c488();while(!![]){try{const _0xbbb8b7=parseInt(_0x5469a0(0x1cb))/0x1+parseInt(_0x5469a0(0x1c9))/0x2+parseInt(_0x5469a0(0x1d1))/0x3+-parseInt(_0x5469a0(0x1cc))/0x4+parseInt(_0x5469a0(0x1d7))/0x5+-parseInt(_0x5469a0(0x1cf))/0x6+parseInt(_0x5469a0(0x1d8))/0x7;if(_0xbbb8b7===_0x2acbfc)break;else _0x54dd85['push'](_0x54dd85['shift']());}catch(_0x1321f0){_0x54dd85['push'](_0x54dd85['shift']());}}}(_0x8797,0xc1b28));function _0x8797(){const _0x2e300a=['plugins','get','afterInit','registerBlockAttribute','SuggestionsConversion','3662200uFaJsV','11097191lYosjm','962882USrChc','editor','598617MjgLgS','5449520evfaVT','AlignmentEditing','alignment','8177088qPydnk','has','362403lAVJdC'];_0x8797=function(){return _0x2e300a;};return _0x8797();}import{Plugin as _0x2c44b5}from'ckeditor5/src/core.js';function _0x4599(_0x35e0dc,_0x555b90){const _0x87976a=_0x8797();return _0x4599=function(_0x45995e,_0x1d36d1){_0x45995e=_0x45995e-0x1c9;let _0x1bb06f=_0x87976a[_0x45995e];return _0x1bb06f;},_0x4599(_0x35e0dc,_0x555b90);}export class SuggestionsConversionAlignment extends _0x2c44b5{[_0x34380a(0x1d4)](){const _0x2a6253=_0x34380a,_0x207a64=this[_0x2a6253(0x1ca)];if(!_0x207a64[_0x2a6253(0x1d2)][_0x2a6253(0x1d0)](_0x2a6253(0x1cd)))return;_0x207a64[_0x2a6253(0x1d2)][_0x2a6253(0x1d3)](_0x2a6253(0x1d6))[_0x2a6253(0x1d5)](_0x2a6253(0x1ce));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0xec1d(){const _0x6b3e25=['381204xRLYfO','255343oHyXVW','registerInlineAttribute','2292585FlOISQ','slice','afterInit','12929gwhVVF','4567158KdGsdB','1bUfPkY','3aYyBII','2848jjlZjO','SuperscriptEditing','ItalicEditing','2414732JIHTkb','plugins','has','editor','230AGeXDd','toLowerCase','CodeEditing','StrikethroughEditing','get','523046osneXv','UnderlineEditing','SuggestionsConversion','SubscriptEditing','BoldEditing'];_0xec1d=function(){return _0x6b3e25;};return _0xec1d();}const _0x1683ca=_0x2faa;(function(_0x2b0972,_0x5de13e){const _0x69e566=_0x2faa,_0x21eaa6=_0x2b0972();while(!![]){try{const _0x391889=-parseInt(_0x69e566(0x17f))/0x1*(-parseInt(_0x69e566(0x172))/0x2)+parseInt(_0x69e566(0x180))/0x3*(-parseInt(_0x69e566(0x184))/0x4)+parseInt(_0x69e566(0x17a))/0x5+-parseInt(_0x69e566(0x177))/0x6+-parseInt(_0x69e566(0x17d))/0x7*(parseInt(_0x69e566(0x181))/0x8)+parseInt(_0x69e566(0x17e))/0x9+parseInt(_0x69e566(0x16d))/0xa*(parseInt(_0x69e566(0x178))/0xb);if(_0x391889===_0x5de13e)break;else _0x21eaa6['push'](_0x21eaa6['shift']());}catch(_0x343775){_0x21eaa6['push'](_0x21eaa6['shift']());}}}(_0xec1d,0x6a9ac));function _0x2faa(_0xa7d1ae,_0x4cd8b0){const _0xec1d41=_0xec1d();return _0x2faa=function(_0x2faa0e,_0x5444b2){_0x2faa0e=_0x2faa0e-0x16c;let _0x1f0d02=_0xec1d41[_0x2faa0e];return _0x1f0d02;},_0x2faa(_0xa7d1ae,_0x4cd8b0);}import{Plugin as _0x3f6b73}from'ckeditor5/src/core.js';const ii=[_0x1683ca(0x176),_0x1683ca(0x183),_0x1683ca(0x173),_0x1683ca(0x16f),_0x1683ca(0x170),_0x1683ca(0x175),_0x1683ca(0x182)];export class SuggestionsConversionBasicStyles extends _0x3f6b73{[_0x1683ca(0x17c)](){const _0x4ef8b8=_0x1683ca,_0x331705=this[_0x4ef8b8(0x16c)],_0x24727c=_0x331705[_0x4ef8b8(0x185)][_0x4ef8b8(0x171)](_0x4ef8b8(0x174));for(const _0x21061a of ii){if(!_0x331705[_0x4ef8b8(0x185)][_0x4ef8b8(0x186)](_0x21061a))continue;const _0x5e7b6f=_0x21061a[_0x4ef8b8(0x17b)](0x0,-0x7)[_0x4ef8b8(0x16e)]();_0x24727c[_0x4ef8b8(0x179)](_0x5e7b6f);}}}
23
+ const _0x2ded63=_0x4fc1;function _0x4fc1(_0x271927,_0x48fc43){const _0x1d9d49=_0x1d9d();return _0x4fc1=function(_0x4fc148,_0x1bed78){_0x4fc148=_0x4fc148-0xdb;let _0x542163=_0x1d9d49[_0x4fc148];return _0x542163;},_0x4fc1(_0x271927,_0x48fc43);}(function(_0x4b0b48,_0x1d12e9){const _0x5d2563=_0x4fc1,_0x1815f4=_0x4b0b48();while(!![]){try{const _0x148e8f=parseInt(_0x5d2563(0xe2))/0x1+-parseInt(_0x5d2563(0xe5))/0x2*(parseInt(_0x5d2563(0xdc))/0x3)+parseInt(_0x5d2563(0xf0))/0x4*(-parseInt(_0x5d2563(0xf1))/0x5)+-parseInt(_0x5d2563(0xea))/0x6*(parseInt(_0x5d2563(0xee))/0x7)+-parseInt(_0x5d2563(0xf2))/0x8+parseInt(_0x5d2563(0xde))/0x9*(parseInt(_0x5d2563(0xf5))/0xa)+parseInt(_0x5d2563(0xe9))/0xb;if(_0x148e8f===_0x1d12e9)break;else _0x1815f4['push'](_0x1815f4['shift']());}catch(_0x4fdae5){_0x1815f4['push'](_0x1815f4['shift']());}}}(_0x1d9d,0x9cd2d));import{Plugin as _0x4508de}from'ckeditor5/src/core.js';const ii=[_0x2ded63(0xf4),_0x2ded63(0xdb),_0x2ded63(0xec),_0x2ded63(0xe4),_0x2ded63(0xf3),_0x2ded63(0xe6),_0x2ded63(0xdd)];function _0x1d9d(){const _0x5d0680=['slice','UnderlineEditing','toLowerCase','95739FzqsFj','editor','1092Pckkgr','13790GttaPL','7916480HPeZlN','StrikethroughEditing','BoldEditing','2650UBgAms','ItalicEditing','12kghJEB','SuperscriptEditing','6489PkxHiN','plugins','get','registerInlineAttribute','484420sRdDGW','has','CodeEditing','546076qryVLy','SubscriptEditing','afterInit','SuggestionsConversion','31568845CSuwDF','30WMhotU'];_0x1d9d=function(){return _0x5d0680;};return _0x1d9d();}export class SuggestionsConversionBasicStyles extends _0x4508de{[_0x2ded63(0xe7)](){const _0x1a7d7b=_0x2ded63,_0x52ab12=this[_0x1a7d7b(0xef)],_0x3b89f8=_0x52ab12[_0x1a7d7b(0xdf)][_0x1a7d7b(0xe0)](_0x1a7d7b(0xe8));for(const _0x26f491 of ii){if(!_0x52ab12[_0x1a7d7b(0xdf)][_0x1a7d7b(0xe3)](_0x26f491))continue;const _0x45a9a9=_0x26f491[_0x1a7d7b(0xeb)](0x0,-0x7)[_0x1a7d7b(0xed)]();_0x3b89f8[_0x1a7d7b(0xe1)](_0x45a9a9);}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4dc752=_0x3491;(function(_0x43ad38,_0x17597b){const _0x4fa609=_0x3491,_0x249799=_0x43ad38();while(!![]){try{const _0x35002d=-parseInt(_0x4fa609(0x115))/0x1*(parseInt(_0x4fa609(0x11e))/0x2)+-parseInt(_0x4fa609(0x125))/0x3+parseInt(_0x4fa609(0x116))/0x4+-parseInt(_0x4fa609(0x124))/0x5+parseInt(_0x4fa609(0x118))/0x6*(parseInt(_0x4fa609(0x123))/0x7)+-parseInt(_0x4fa609(0x11f))/0x8*(parseInt(_0x4fa609(0x11d))/0x9)+parseInt(_0x4fa609(0x126))/0xa;if(_0x35002d===_0x17597b)break;else _0x249799['push'](_0x249799['shift']());}catch(_0x290357){_0x249799['push'](_0x249799['shift']());}}}(_0x4e20,0x5406c));import{Plugin as _0xc9bdf1}from'ckeditor5/src/core.js';function _0x3491(_0x15693e,_0x411873){const _0x4e2051=_0x4e20();return _0x3491=function(_0x3491e1,_0x1f3158){_0x3491e1=_0x3491e1-0x115;let _0x24f4af=_0x4e2051[_0x3491e1];return _0x24f4af;},_0x3491(_0x15693e,_0x411873);}function _0x4e20(){const _0x35d101=['1798115GEhrbs','644319SqeyXX','7949690EIhDqt','bookmarkId','41173DCmzKd','1054664bqUeJn','SuggestionsConversion','1008762yHBmEa','afterInit','has','plugins','BookmarkEditing','241677aXHoYB','30qCdsxQ','8XIogdK','get','registerBlockAttribute','editor','21WawdAJ'];_0x4e20=function(){return _0x35d101;};return _0x4e20();}export class SuggestionsConversionBookmark extends _0xc9bdf1{[_0x4dc752(0x119)](){const _0x61c811=_0x4dc752,_0x26b7d7=this[_0x61c811(0x122)],_0x540f85=_0x26b7d7[_0x61c811(0x11b)][_0x61c811(0x120)](_0x61c811(0x117));_0x26b7d7[_0x61c811(0x11b)][_0x61c811(0x11a)](_0x61c811(0x11c))&&_0x540f85[_0x61c811(0x121)](_0x61c811(0x127));}}
23
+ const _0x34baa5=_0x1adf;(function(_0x4ed7fa,_0x1ecd46){const _0x1de44e=_0x1adf,_0x4419e0=_0x4ed7fa();while(!![]){try{const _0x3fa21a=-parseInt(_0x1de44e(0x14e))/0x1*(-parseInt(_0x1de44e(0x141))/0x2)+-parseInt(_0x1de44e(0x147))/0x3*(-parseInt(_0x1de44e(0x151))/0x4)+-parseInt(_0x1de44e(0x153))/0x5*(-parseInt(_0x1de44e(0x140))/0x6)+parseInt(_0x1de44e(0x152))/0x7+-parseInt(_0x1de44e(0x145))/0x8*(parseInt(_0x1de44e(0x14c))/0x9)+-parseInt(_0x1de44e(0x150))/0xa+-parseInt(_0x1de44e(0x14a))/0xb;if(_0x3fa21a===_0x1ecd46)break;else _0x4419e0['push'](_0x4419e0['shift']());}catch(_0x50367f){_0x4419e0['push'](_0x4419e0['shift']());}}}(_0x1b6c,0xce924));function _0x1b6c(){const _0x2088e8=['has','283RpdhOq','editor','5585960TFnsTv','3491060Jawczv','6572895rBYQhH','22825CtMbmc','966ovfIkp','4948YWIfgm','get','afterInit','bookmarkId','3975424wirSay','BookmarkEditing','3xSZnda','SuggestionsConversion','plugins','9331179sDnyOO','registerBlockAttribute','18WvWpRy'];_0x1b6c=function(){return _0x2088e8;};return _0x1b6c();}function _0x1adf(_0x59ed0e,_0x55efbb){const _0x1b6c64=_0x1b6c();return _0x1adf=function(_0x1adf8e,_0xc3affb){_0x1adf8e=_0x1adf8e-0x140;let _0x7d8ea2=_0x1b6c64[_0x1adf8e];return _0x7d8ea2;},_0x1adf(_0x59ed0e,_0x55efbb);}import{Plugin as _0xd0fc95}from'ckeditor5/src/core.js';export class SuggestionsConversionBookmark extends _0xd0fc95{[_0x34baa5(0x143)](){const _0xc89431=_0x34baa5,_0x35fc6f=this[_0xc89431(0x14f)],_0x1b3f56=_0x35fc6f[_0xc89431(0x149)][_0xc89431(0x142)](_0xc89431(0x148));_0x35fc6f[_0xc89431(0x149)][_0xc89431(0x14d)](_0xc89431(0x146))&&_0x1b3f56[_0xc89431(0x14b)](_0xc89431(0x144));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1629(_0x26eb5f,_0x35e21e){const _0xf8cad=_0xf8ca();return _0x1629=function(_0x16293,_0x39e01e){_0x16293=_0x16293-0xdb;let _0x51e58c=_0xf8cad[_0x16293];return _0x51e58c;},_0x1629(_0x26eb5f,_0x35e21e);}const _0x531fd0=_0x1629;(function(_0x49ac17,_0x53bd88){const _0x4047c8=_0x1629,_0x58fb10=_0x49ac17();while(!![]){try{const _0x23582e=-parseInt(_0x4047c8(0xdc))/0x1+parseInt(_0x4047c8(0xe4))/0x2*(-parseInt(_0x4047c8(0xed))/0x3)+-parseInt(_0x4047c8(0xeb))/0x4+-parseInt(_0x4047c8(0xe7))/0x5+-parseInt(_0x4047c8(0xf1))/0x6+parseInt(_0x4047c8(0xe9))/0x7+parseInt(_0x4047c8(0xe5))/0x8*(parseInt(_0x4047c8(0xdb))/0x9);if(_0x23582e===_0x53bd88)break;else _0x58fb10['push'](_0x58fb10['shift']());}catch(_0x319d18){_0x58fb10['push'](_0x58fb10['shift']());}}}(_0xf8ca,0x35217));import{Plugin as _0x7ec558}from'ckeditor5/src/core.js';const no=[{'pluginName':_0x531fd0(0xef),'commandName':_0x531fd0(0xe8)},{'pluginName':_0x531fd0(0xe2),'commandName':_0x531fd0(0xee)},{'pluginName':_0x531fd0(0xdf),'commandName':_0x531fd0(0xea)},{'pluginName':_0x531fd0(0xf2),'commandName':_0x531fd0(0xf0)}];export class SuggestionsConversionFont extends _0x7ec558{[_0x531fd0(0xec)](){const _0x5b1d6c=_0x531fd0,_0xf3c4e7=this[_0x5b1d6c(0xdd)][_0x5b1d6c(0xe3)][_0x5b1d6c(0xde)](_0x5b1d6c(0xe6));for(const {pluginName:_0x165490,commandName:_0x1c7e2a}of no)this[_0x5b1d6c(0xdd)][_0x5b1d6c(0xe3)][_0x5b1d6c(0xe0)](_0x165490)&&_0xf3c4e7[_0x5b1d6c(0xe1)](_0x1c7e2a);}}function _0xf8ca(){const _0x31d1e5=['170344ZusUwK','SuggestionsConversion','211455wSVfDs','fontSize','2974860ABAplm','fontColor','415552CsYFjC','afterInit','2175WdfSlF','fontFamily','FontSizeEditing','fontBackgroundColor','463344TUMDFS','FontBackgroundColorEditing','189zkxZHM','318007fWPKmV','editor','get','FontColorEditing','has','registerInlineAttribute','FontFamilyEditing','plugins','312DyBLfX'];_0xf8ca=function(){return _0x31d1e5;};return _0xf8ca();}
23
+ const _0x39e983=_0x2601;(function(_0x26f502,_0x5bf29f){const _0x38aa9b=_0x2601,_0x464305=_0x26f502();while(!![]){try{const _0x217a12=-parseInt(_0x38aa9b(0xce))/0x1+-parseInt(_0x38aa9b(0xd6))/0x2*(parseInt(_0x38aa9b(0xcd))/0x3)+-parseInt(_0x38aa9b(0xd1))/0x4+parseInt(_0x38aa9b(0xd5))/0x5*(-parseInt(_0x38aa9b(0xdd))/0x6)+-parseInt(_0x38aa9b(0xd0))/0x7*(-parseInt(_0x38aa9b(0xd9))/0x8)+parseInt(_0x38aa9b(0xcb))/0x9+parseInt(_0x38aa9b(0xd7))/0xa;if(_0x217a12===_0x5bf29f)break;else _0x464305['push'](_0x464305['shift']());}catch(_0x251a6e){_0x464305['push'](_0x464305['shift']());}}}(_0xffa6,0x9cb84));function _0x2601(_0x204264,_0x1a5d20){const _0xffa6e7=_0xffa6();return _0x2601=function(_0x2601c8,_0x115156){_0x2601c8=_0x2601c8-0xc5;let _0x2e51b0=_0xffa6e7[_0x2601c8];return _0x2e51b0;},_0x2601(_0x204264,_0x1a5d20);}import{Plugin as _0x4a5af4}from'ckeditor5/src/core.js';function _0xffa6(){const _0x185cdd=['editor','FontBackgroundColorEditing','fontBackgroundColor','9813222CJlUwA','fontColor','3345AGnLvL','1181354kYZkIP','has','35mYWtPk','1109828vZJITL','SuggestionsConversion','FontSizeEditing','get','5cbemmF','862PvcHfh','17770110btEuOF','FontColorEditing','567008nCKNpk','registerInlineAttribute','fontFamily','plugins','3842694VQKAHv','afterInit','fontSize','FontFamilyEditing'];_0xffa6=function(){return _0x185cdd;};return _0xffa6();}const oo=[{'pluginName':_0x39e983(0xd3),'commandName':_0x39e983(0xc6)},{'pluginName':_0x39e983(0xc7),'commandName':_0x39e983(0xdb)},{'pluginName':_0x39e983(0xd8),'commandName':_0x39e983(0xcc)},{'pluginName':_0x39e983(0xc9),'commandName':_0x39e983(0xca)}];export class SuggestionsConversionFont extends _0x4a5af4{[_0x39e983(0xc5)](){const _0xa37161=_0x39e983,_0x2a30ea=this[_0xa37161(0xc8)][_0xa37161(0xdc)][_0xa37161(0xd4)](_0xa37161(0xd2));for(const {pluginName:_0x569a1f,commandName:_0x4aa920}of oo)this[_0xa37161(0xc8)][_0xa37161(0xdc)][_0xa37161(0xcf)](_0x569a1f)&&_0x2a30ea[_0xa37161(0xda)](_0x4aa920);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x16e757=_0xd82f;(function(_0x2cded7,_0x3d2a23){const _0x72ee74=_0xd82f,_0x44a5ac=_0x2cded7();while(!![]){try{const _0x35e857=-parseInt(_0x72ee74(0x1d5))/0x1+parseInt(_0x72ee74(0x1db))/0x2+parseInt(_0x72ee74(0x1dd))/0x3*(-parseInt(_0x72ee74(0x1d3))/0x4)+parseInt(_0x72ee74(0x1df))/0x5+-parseInt(_0x72ee74(0x1d8))/0x6+-parseInt(_0x72ee74(0x1dc))/0x7*(-parseInt(_0x72ee74(0x1d7))/0x8)+parseInt(_0x72ee74(0x1d4))/0x9;if(_0x35e857===_0x3d2a23)break;else _0x44a5ac['push'](_0x44a5ac['shift']());}catch(_0x345c5a){_0x44a5ac['push'](_0x44a5ac['shift']());}}}(_0x1bb9,0xa51eb));import{Plugin as _0x5db7ba}from'ckeditor5/src/core.js';function _0x1bb9(){const _0x3631c6=['3576114SPvmto','editor','plugins','1961656INPLav','5827388qOOEmV','1958064wCiTOW','has','1325275yyYHTK','HighlightEditing','get','registerInlineAttribute','highlight','afterInit','8hIySwp','11221974nUtgPo','747527VYKKka','SuggestionsConversion','8MDrRNJ'];_0x1bb9=function(){return _0x3631c6;};return _0x1bb9();}function _0xd82f(_0x46b731,_0x411c4c){const _0x1bb916=_0x1bb9();return _0xd82f=function(_0xd82f4c,_0x1fa427){_0xd82f4c=_0xd82f4c-0x1d2;let _0x6ae48=_0x1bb916[_0xd82f4c];return _0x6ae48;},_0xd82f(_0x46b731,_0x411c4c);}export class SuggestionsConversionHighlight extends _0x5db7ba{[_0x16e757(0x1d2)](){const _0x357704=_0x16e757,_0x4db934=this[_0x357704(0x1d9)];if(!_0x4db934[_0x357704(0x1da)][_0x357704(0x1de)](_0x357704(0x1e0)))return;_0x4db934[_0x357704(0x1da)][_0x357704(0x1e1)](_0x357704(0x1d6))[_0x357704(0x1e2)](_0x357704(0x1e3));}}
23
+ const _0x3bdc6b=_0x5a1b;function _0xf3af(){const _0x21dfcf=['editor','get','565ZjZDKS','668312jjEfXr','2640690cbxeuM','highlight','HighlightEditing','2097148aXrpWS','plugins','2600679YQruAi','12cdQNcK','afterInit','registerInlineAttribute','9TJiiCD','6300XQJqOv','SuggestionsConversion','3614261SzECbT','has','55877oYrcje'];_0xf3af=function(){return _0x21dfcf;};return _0xf3af();}function _0x5a1b(_0x14ea06,_0x1e12b2){const _0xf3af87=_0xf3af();return _0x5a1b=function(_0x5a1b24,_0x169236){_0x5a1b24=_0x5a1b24-0x84;let _0x2595bc=_0xf3af87[_0x5a1b24];return _0x2595bc;},_0x5a1b(_0x14ea06,_0x1e12b2);}(function(_0x23b530,_0x2b7d4b){const _0x208088=_0x5a1b,_0x484470=_0x23b530();while(!![]){try{const _0x220526=-parseInt(_0x208088(0x8e))/0x1*(-parseInt(_0x208088(0x86))/0x2)+-parseInt(_0x208088(0x85))/0x3+parseInt(_0x208088(0x96))/0x4+parseInt(_0x208088(0x91))/0x5*(parseInt(_0x208088(0x8a))/0x6)+parseInt(_0x208088(0x8c))/0x7+parseInt(_0x208088(0x92))/0x8+-parseInt(_0x208088(0x89))/0x9*(parseInt(_0x208088(0x93))/0xa);if(_0x220526===_0x2b7d4b)break;else _0x484470['push'](_0x484470['shift']());}catch(_0x255e4c){_0x484470['push'](_0x484470['shift']());}}}(_0xf3af,0x6d27b));import{Plugin as _0x553c19}from'ckeditor5/src/core.js';export class SuggestionsConversionHighlight extends _0x553c19{[_0x3bdc6b(0x87)](){const _0x3c937f=_0x3bdc6b,_0x3d7e46=this[_0x3c937f(0x8f)];if(!_0x3d7e46[_0x3c937f(0x84)][_0x3c937f(0x8d)](_0x3c937f(0x95)))return;_0x3d7e46[_0x3c937f(0x84)][_0x3c937f(0x90)](_0x3c937f(0x8b))[_0x3c937f(0x88)](_0x3c937f(0x94));}}