New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@ckeditor/ckeditor5-comments

Package Overview
Dependencies
Maintainers
1
Versions
799
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ckeditor/ckeditor5-comments - npm Package Compare versions

Comparing version 19.0.2 to 20.0.0

.idea/workspace.xml

11

CHANGELOG.md
Changelog
=========
## 20.0.0 (2020-06-23)
### Features
* Introduced support for multi-range comments (multi-cell comments in tables).
### Bug fixes
* Incorrect comment was activated after creating a second comment on the same element or range.
## 19.0.2 (2020-05-25)

@@ -5,0 +16,0 @@

22

package.json
{
"name": "@ckeditor/ckeditor5-comments",
"version": "19.0.2",
"version": "20.0.0",
"description": "Collaborative comments feature for CKEditor 5.",

@@ -33,12 +33,12 @@ "license": "SEE LICENSE IN LICENSE.md",

"dependencies": {
"@ckeditor/ckeditor5-autoformat": "^19.0.1",
"@ckeditor/ckeditor5-basic-styles": "^19.0.1",
"@ckeditor/ckeditor5-collaboration-core": "^19.0.2",
"@ckeditor/ckeditor5-core": "^19.0.1",
"@ckeditor/ckeditor5-engine": "^19.0.1",
"@ckeditor/ckeditor5-essentials": "^19.0.1",
"@ckeditor/ckeditor5-list": "^19.0.1",
"@ckeditor/ckeditor5-paragraph": "^19.1.0",
"@ckeditor/ckeditor5-ui": "^19.0.1",
"@ckeditor/ckeditor5-utils": "^19.0.1",
"@ckeditor/ckeditor5-autoformat": "^20.0.0",
"@ckeditor/ckeditor5-basic-styles": "^20.0.0",
"@ckeditor/ckeditor5-collaboration-core": "^20.0.0",
"@ckeditor/ckeditor5-core": "^20.0.0",
"@ckeditor/ckeditor5-engine": "^20.0.0",
"@ckeditor/ckeditor5-essentials": "^20.0.0",
"@ckeditor/ckeditor5-list": "^20.0.0",
"@ckeditor/ckeditor5-paragraph": "^20.0.0",
"@ckeditor/ckeditor5-ui": "^20.0.0",
"@ckeditor/ckeditor5-utils": "^20.0.0",
"date-fns": "^1.29.0",

@@ -45,0 +45,0 @@ "lodash-es": "^4.17.11"

@@ -23,2 +23,2 @@ /*

*/
const _0x32bd=['activeView','cancel','resize','left','detach','getIndex','delete','element','get','isActive','addEventListener','remove','Annotations','removeEventListener','destroy','customView','attach','function','change:isFocused','has','set','init','top','max','register','getTarget','getAnnotationView','pluginName','switchTo','targetRect','annotations-register-invalid-interface:\x20UI\x20plugin\x20must\x20implement\x20#attach\x20and\x20#detach\x20methods.','items','change:activeView','fire','annotations-switchto-missing-ui:\x20UI\x20of\x20a\x20given\x20name\x20has\x20been\x20not\x20registered.','locale','_throttledOrderUpdate','add','annotations-duplicated-item:\x20Given\x20view\x20was\x20already\x20added\x20to\x20the\x20annotations\x20repository.','focusTracker','uiType','selectedViews','from'];(function(_0xdeeccc,_0x32bddd){const _0x4571a7=function(_0x222e8a){while(--_0x222e8a){_0xdeeccc['push'](_0xdeeccc['shift']());}};_0x4571a7(++_0x32bddd);}(_0x32bd,0x9e));const _0x4571=function(_0xdeeccc,_0x32bddd){_0xdeeccc=_0xdeeccc-0x0;let _0x4571a7=_0x32bd[_0xdeeccc];return _0x4571a7;};import _0x4f47d9 from'@ckeditor/ckeditor5-core/src/contextplugin';import _0x1b2b97 from'../annotations/view/annotationview';import _0x19bb45 from'@ckeditor/ckeditor5-utils/src/collection';import _0x197564 from'@ckeditor/ckeditor5-utils/src/focustracker';import _0x505dc8 from'@ckeditor/ckeditor5-utils/src/dom/rect';import _0x1079be from'@ckeditor/ckeditor5-utils/src/ckeditorerror';import{throttle as _0x31bdd1}from'lodash-es';import'../../theme/annotation.css';export default class a extends _0x4f47d9{static get[_0x4571('0x29')](){return _0x4571('0x1a');}constructor(_0xbfafab){super(_0xbfafab),this['items']=new _0x19bb45(),this[_0x4571('0x22')](_0x4571('0xc'),[]),this[_0x4571('0x22')](_0x4571('0xe'),null),this['on'](_0x4571('0x3'),(_0x53b59c,_0x1ccd92,_0x55b5ad,_0xc975fb)=>{_0x55b5ad&&(this['i']['get'](_0x55b5ad)[_0x4571('0x17')]=!0x0);const _0x3250c9=this['i'][_0x4571('0x16')](_0xc975fb);_0xc975fb&&_0x3250c9&&(_0x3250c9[_0x4571('0x17')]=!0x1);}),this[_0x4571('0xa')]=new _0x197564(),this[_0x4571('0xa')]['on'](_0x4571('0x20'),(_0x50af53,_0x3b1181,_0x4876d0)=>{_0x4876d0||(this[_0x4571('0xe')]=null);}),this[_0x4571('0xb')]='',this['s']=new Map(),this['i']=new Map(),this['o']=new Map(),this[_0x4571('0x7')]=_0x31bdd1(()=>{this['h'](),this['u']();},0x190,{'leading':!0x1});}[_0x4571('0x23')](){window[_0x4571('0x18')](_0x4571('0x10'),this[_0x4571('0x7')]);}[_0x4571('0x26')](_0x1ef87f,_0x5916fd){if(this['s'][_0x4571('0x21')](_0x1ef87f))throw new _0x1079be('annotations-register-already-registered:\x20UI\x20of\x20a\x20given\x20name\x20already\x20registered.');if(_0x4571('0x1f')!=typeof _0x5916fd[_0x4571('0x1e')]||_0x4571('0x1f')!=typeof _0x5916fd[_0x4571('0x12')])throw new _0x1079be(_0x4571('0x1'));this['s'][_0x4571('0x22')](_0x1ef87f,_0x5916fd);}[_0x4571('0x2a')](_0x2bf2b3){if(!this['s'][_0x4571('0x21')](_0x2bf2b3))throw new _0x1079be(_0x4571('0x5'),this);this[_0x4571('0xb')]!==_0x2bf2b3&&(this[_0x4571('0xb')]&&this['s'][_0x4571('0x16')](this[_0x4571('0xb')])['detach'](),this[_0x4571('0xb')]=_0x2bf2b3,this['s']['get'](this[_0x4571('0xb')])[_0x4571('0x1e')]());}[_0x4571('0x8')](_0x3058df,_0x44b4c2){if(this['i'][_0x4571('0x21')](_0x3058df))throw new _0x1079be(_0x4571('0x9'),this);const _0x1904fa=new _0x1b2b97(this['context'][_0x4571('0x6')],_0x3058df);_0x1904fa['render'](),this[_0x4571('0xa')]['add'](_0x1904fa['element']),_0x1904fa[_0x4571('0xa')]['on'](_0x4571('0x20'),(_0x8c0c90,_0x4b12df,_0x40dcf4)=>{_0x40dcf4&&(this[_0x4571('0xe')]=_0x3058df);}),this['o'][_0x4571('0x22')](_0x3058df,_0x44b4c2),this['l'](_0x1904fa);const _0x28c116=this['m'](_0x1904fa[_0x4571('0x0')]);return this[_0x4571('0x2')]['add'](_0x1904fa,_0x28c116),this['i']['set'](_0x3058df,_0x1904fa),_0x1904fa;}[_0x4571('0x19')](_0x3819dd){if(!this['i'][_0x4571('0x21')](_0x3819dd))return;const _0x5b28da=this['i'][_0x4571('0x16')](_0x3819dd);this[_0x4571('0xa')][_0x4571('0x19')](_0x5b28da[_0x4571('0x15')]),this[_0x4571('0xe')]===_0x3819dd&&(this[_0x4571('0xe')]=null),this[_0x4571('0x2')][_0x4571('0x19')](_0x5b28da),_0x5b28da[_0x4571('0x1c')](),this['o'][_0x4571('0x14')](_0x3819dd),this['i'][_0x4571('0x14')](_0x3819dd);}[_0x4571('0x27')](_0x339a9f){const _0x51991e=this['o'][_0x4571('0x16')](_0x339a9f);return _0x4571('0x1f')==typeof _0x51991e?_0x51991e():_0x51991e;}[_0x4571('0x28')](_0x141d1c){return this['i'][_0x4571('0x16')](_0x141d1c);}['refresh'](){this[_0x4571('0x4')]('refresh'),this[_0x4571('0x7')]();}[_0x4571('0x1c')](){super[_0x4571('0x1c')](),window[_0x4571('0x1b')]('resize',this[_0x4571('0x7')]),this[_0x4571('0x7')][_0x4571('0xf')](),this[_0x4571('0x2')]['map'](_0x2a597d=>_0x2a597d[_0x4571('0x1c')]());}['h'](){for(const _0x4c3a1a of this['items'])this['l'](_0x4c3a1a);}['l'](_0x389c08){const _0xe3f67b=this[_0x4571('0x27')](_0x389c08['customView']);_0x389c08['targetRect']=new _0x505dc8(_0xe3f67b);}['u'](){const _0x3dc214=Array[_0x4571('0xd')](this[_0x4571('0x2')])['sort']((_0x59d7e1,_0x472ea9)=>c(_0x59d7e1[_0x4571('0x0')],_0x472ea9['targetRect']));for(let _0x2ee155=_0x3dc214['length']-0x1;_0x2ee155>0x0;_0x2ee155--){const _0x170d8f=_0x3dc214[_0x2ee155];_0x2ee155!==this['items'][_0x4571('0x13')](_0x170d8f)&&(this[_0x4571('0x2')]['remove'](_0x170d8f),this[_0x4571('0x2')][_0x4571('0x8')](_0x170d8f,_0x2ee155));}}['m'](_0x2569fe){let _0x5eed12=0x0;for(const _0x5e6fd2 of this['items']){const _0x424232=this[_0x4571('0x27')](_0x5e6fd2[_0x4571('0x1d')]);if(c(_0x2569fe,new _0x505dc8(_0x424232))<0x0)return _0x5eed12;_0x5eed12++;}return Math[_0x4571('0x25')](0x0,_0x5eed12);}}function c(_0x11b7b5,_0x573c54){const _0x6e31e0=_0x11b7b5[_0x4571('0x24')]-_0x573c54[_0x4571('0x24')];return 0x0==_0x6e31e0?_0x11b7b5[_0x4571('0x11')]-_0x573c54[_0x4571('0x11')]:_0x6e31e0;}
const _0x51c2=['top','element','pluginName','length','delete','getTarget','remove','from','change:activeView','init','targetRect','annotations-duplicated-item:\x20Given\x20view\x20was\x20already\x20added\x20to\x20the\x20annotations\x20repository.','set','sort','removeEventListener','uiType','fire','items','_throttledOrderUpdate','locale','isActive','getIndex','get','left','annotations-switchto-missing-ui:\x20UI\x20of\x20a\x20given\x20name\x20has\x20been\x20not\x20registered.','detach','max','change:isFocused','annotations-register-invalid-interface:\x20UI\x20plugin\x20must\x20implement\x20#attach\x20and\x20#detach\x20methods.','activeView','focusTracker','register','addEventListener','attach','add','selectedViews','has','destroy','customView','refresh','function','resize'];(function(_0x1072ce,_0x51c23c){const _0xcea18e=function(_0x188740){while(--_0x188740){_0x1072ce['push'](_0x1072ce['shift']());}};_0xcea18e(++_0x51c23c);}(_0x51c2,0x68));const _0xcea1=function(_0x1072ce,_0x51c23c){_0x1072ce=_0x1072ce-0x0;let _0xcea18e=_0x51c2[_0x1072ce];return _0xcea18e;};import _0xe15224 from'@ckeditor/ckeditor5-core/src/contextplugin';import _0x1650e3 from'../annotations/view/annotationview';import _0x4219f9 from'@ckeditor/ckeditor5-utils/src/collection';import _0x2a9266 from'@ckeditor/ckeditor5-utils/src/focustracker';import _0x4520e8 from'@ckeditor/ckeditor5-utils/src/dom/rect';import _0x388202 from'@ckeditor/ckeditor5-utils/src/ckeditorerror';import{throttle as _0x27902e}from'lodash-es';import'../../theme/annotation.css';export default class a extends _0xe15224{static get[_0xcea1('0x18')](){return'Annotations';}constructor(_0x4deb03){super(_0x4deb03),this[_0xcea1('0x27')]=new _0x4219f9(),this['set'](_0xcea1('0xf'),[]),this[_0xcea1('0x22')]('activeView',null),this['on'](_0xcea1('0x1e'),(_0x12da0f,_0x52122e,_0x120304,_0x5adbd6)=>{_0x120304&&(this['i'][_0xcea1('0x2')](_0x120304)[_0xcea1('0x0')]=!0x0);const _0x305baa=this['i'][_0xcea1('0x2')](_0x5adbd6);_0x5adbd6&&_0x305baa&&(_0x305baa[_0xcea1('0x0')]=!0x1);}),this['focusTracker']=new _0x2a9266(),this[_0xcea1('0xa')]['on']('change:isFocused',(_0x536c7c,_0x50f677,_0x29454a)=>{_0x29454a||(this[_0xcea1('0x9')]=null);}),this[_0xcea1('0x25')]='',this['s']=new Map(),this['i']=new Map(),this['o']=new Map(),this[_0xcea1('0x28')]=_0x27902e(()=>{this['h'](),this['u']();},0x190,{'leading':!0x1});}[_0xcea1('0x1f')](){window[_0xcea1('0xc')]('resize',this['_throttledOrderUpdate']);}[_0xcea1('0xb')](_0x2faec9,_0x2ff112){if(this['s'][_0xcea1('0x10')](_0x2faec9))throw new _0x388202('annotations-register-already-registered:\x20UI\x20of\x20a\x20given\x20name\x20already\x20registered.');if('function'!=typeof _0x2ff112[_0xcea1('0xd')]||_0xcea1('0x14')!=typeof _0x2ff112[_0xcea1('0x5')])throw new _0x388202(_0xcea1('0x8'));this['s'][_0xcea1('0x22')](_0x2faec9,_0x2ff112);}['switchTo'](_0x3be42b){if(!this['s'][_0xcea1('0x10')](_0x3be42b))throw new _0x388202(_0xcea1('0x4'),this);this[_0xcea1('0x25')]!==_0x3be42b&&(this['uiType']&&this['s'][_0xcea1('0x2')](this[_0xcea1('0x25')])['detach'](),this[_0xcea1('0x25')]=_0x3be42b,this['s'][_0xcea1('0x2')](this[_0xcea1('0x25')])[_0xcea1('0xd')]());}[_0xcea1('0xe')](_0x216eee,_0xcd2979){if(this['i'][_0xcea1('0x10')](_0x216eee))throw new _0x388202(_0xcea1('0x21'),this);const _0xeb5352=new _0x1650e3(this['context'][_0xcea1('0x29')],_0x216eee);_0xeb5352['render'](),this[_0xcea1('0xa')]['add'](_0xeb5352['element']),_0xeb5352[_0xcea1('0xa')]['on'](_0xcea1('0x7'),(_0x15483b,_0x1c3fa0,_0x185698)=>{_0x185698&&(this[_0xcea1('0x9')]=_0x216eee);}),this['o'][_0xcea1('0x22')](_0x216eee,_0xcd2979),this['l'](_0xeb5352);const _0x1b0bab=this['m'](_0xeb5352['targetRect']);return this[_0xcea1('0x27')][_0xcea1('0xe')](_0xeb5352,_0x1b0bab),this['i'][_0xcea1('0x22')](_0x216eee,_0xeb5352),_0xeb5352;}[_0xcea1('0x1c')](_0x12cde2){if(!this['i'][_0xcea1('0x10')](_0x12cde2))return;const _0x393c32=this['i']['get'](_0x12cde2);this['focusTracker'][_0xcea1('0x1c')](_0x393c32[_0xcea1('0x17')]),this[_0xcea1('0x9')]===_0x12cde2&&(this[_0xcea1('0x9')]=null),this['items']['remove'](_0x393c32),_0x393c32[_0xcea1('0x11')](),this['o'][_0xcea1('0x1a')](_0x12cde2),this['i'][_0xcea1('0x1a')](_0x12cde2);}[_0xcea1('0x1b')](_0xf4e5a6){const _0x3f26ac=this['o'][_0xcea1('0x2')](_0xf4e5a6);return'function'==typeof _0x3f26ac?_0x3f26ac():_0x3f26ac;}['getAnnotationView'](_0x2e6779){return this['i'][_0xcea1('0x2')](_0x2e6779);}[_0xcea1('0x13')](){this[_0xcea1('0x26')](_0xcea1('0x13')),this[_0xcea1('0x28')]();}[_0xcea1('0x11')](){super[_0xcea1('0x11')](),window[_0xcea1('0x24')](_0xcea1('0x15'),this[_0xcea1('0x28')]),this['_throttledOrderUpdate']['cancel'](),this[_0xcea1('0x27')]['map'](_0x52077f=>_0x52077f[_0xcea1('0x11')]());}['h'](){for(const _0x570d9f of this[_0xcea1('0x27')])this['l'](_0x570d9f);}['l'](_0x23af64){const _0x321978=this[_0xcea1('0x1b')](_0x23af64[_0xcea1('0x12')]);_0x23af64['targetRect']=new _0x4520e8(_0x321978);}['u'](){const _0x49dc88=Array[_0xcea1('0x1d')](this[_0xcea1('0x27')])[_0xcea1('0x23')]((_0x3df02d,_0x5e2ad1)=>c(_0x3df02d[_0xcea1('0x20')],_0x5e2ad1[_0xcea1('0x20')]));for(let _0x31dec9=_0x49dc88[_0xcea1('0x19')]-0x1;_0x31dec9>0x0;_0x31dec9--){const _0xf16b30=_0x49dc88[_0x31dec9];_0x31dec9!==this['items'][_0xcea1('0x1')](_0xf16b30)&&(this[_0xcea1('0x27')][_0xcea1('0x1c')](_0xf16b30),this['items'][_0xcea1('0xe')](_0xf16b30,_0x31dec9));}}['m'](_0x487391){let _0x39e512=0x0;for(const _0x5542c6 of this[_0xcea1('0x27')]){const _0x4001de=this[_0xcea1('0x1b')](_0x5542c6[_0xcea1('0x12')]);if(c(_0x487391,new _0x4520e8(_0x4001de))<0x0)return _0x39e512;_0x39e512++;}return Math[_0xcea1('0x6')](0x0,_0x39e512);}}function c(_0x4050f0,_0x21b330){const _0x1ef20b=_0x4050f0[_0xcea1('0x16')]-_0x21b330['top'];return 0x0==_0x1ef20b?_0x4050f0[_0xcea1('0x3')]-_0x21b330[_0xcea1('0x3')]:_0x1ef20b;}

@@ -23,2 +23,2 @@ /*

*/
const _0x343f=['push','listenTo','set','editor','getRanges','remove','sort','get','stop','function','document','keys','addSourceCollector','has','refreshSelectedViews','high','add','init','activeView','EditorAnnotations','containsRange','from','change:isFocused','directChange','items','model','hasDomSelection','selection','editing','view','editorannotations-invalid-source-callback:\x20Function\x20required.','Annotations','cancel','focusTracker','update','plugins','element','requires','isCollapsed','refresh'];(function(_0x55aef4,_0x343fbe){const _0xe2f26e=function(_0xde80c5){while(--_0xde80c5){_0x55aef4['push'](_0x55aef4['shift']());}};_0xe2f26e(++_0x343fbe);}(_0x343f,0x1cc));const _0xe2f2=function(_0x55aef4,_0x343fbe){_0x55aef4=_0x55aef4-0x0;let _0xe2f26e=_0x343f[_0x55aef4];return _0xe2f26e;};import _0x50e47e from'@ckeditor/ckeditor5-core/src/plugin';import _0x10c1b5 from'./annotations';import _0xdb90c0 from'./inlineannotations';import _0x1f3e23 from'@ckeditor/ckeditor5-utils/src/ckeditorerror';import{debounce as _0x473d8a}from'lodash-es';export default class l extends _0x50e47e{static get[_0xe2f2('0x11')](){return[_0x10c1b5,_0xdb90c0];}static get['pluginName'](){return _0xe2f2('0x27');}constructor(_0x15ab85){super(_0x15ab85),this['p']=new Set();}[_0xe2f2('0x25')](){const _0x2b1b51=this[_0xe2f2('0x17')],_0x5063b9=_0x2b1b51['plugins'][_0xe2f2('0x1b')](_0xe2f2('0xb')),_0x9ceb9a=_0x2b1b51[_0xe2f2('0x5')]['document'][_0xe2f2('0x7')],_0x38badb=_0x473d8a(()=>this[_0xe2f2('0x22')](),0xa);_0x9ceb9a['on']('change:range',(_0x5ca394,_0x47b225)=>{_0x47b225[_0xe2f2('0x3')]&&(_0x38badb[_0xe2f2('0xc')](),this[_0xe2f2('0x22')]());}),this[_0xe2f2('0x15')](_0x2b1b51[_0xe2f2('0x8')][_0xe2f2('0x9')][_0xe2f2('0x1e')],_0xe2f2('0x2'),(_0x502519,_0x4c7c24,_0x5820da)=>{_0x5820da&&_0x38badb();}),this['listenTo'](_0x2b1b51['ui'][_0xe2f2('0xd')],_0xe2f2('0x2'),(_0x5c2d9e,_0x30f475,_0x17c05c)=>{_0x17c05c||_0x2b1b51['isReadOnly']||this['g'][_0xe2f2('0x21')](_0x5063b9[_0xe2f2('0x26')])&&(_0x5063b9[_0xe2f2('0x26')]=null);}),_0x5063b9['focusTracker']['on'](_0xe2f2('0x2'),(_0x5bd21c,_0x49c4c3,_0x45bfa1)=>{!_0x45bfa1&&_0x2b1b51[_0xe2f2('0x8')][_0xe2f2('0x9')][_0xe2f2('0x6')]&&(_0x38badb[_0xe2f2('0xc')](),this[_0xe2f2('0x22')](),_0x5bd21c[_0xe2f2('0x1c')]());},{'priority':_0xe2f2('0x23')}),this['listenTo'](this[_0xe2f2('0x17')]['ui'],_0xe2f2('0xe'),()=>_0x5063b9[_0xe2f2('0x13')]());const _0x2b1393=new Set();this[_0xe2f2('0x15')](_0x5063b9[_0xe2f2('0x4')],_0xe2f2('0x24'),(_0x4a527b,_0xa06a2e)=>{for(const _0x4708b5 of this['g'][_0xe2f2('0x1f')]())if(_0x4708b5===_0xa06a2e['customView']){_0x2b1b51['ui'][_0xe2f2('0xd')][_0xe2f2('0x24')](_0xa06a2e[_0xe2f2('0x10')]),_0x2b1393[_0xe2f2('0x24')](_0xa06a2e);break;}}),this[_0xe2f2('0x15')](_0x5063b9[_0xe2f2('0x4')],_0xe2f2('0x19'),(_0x2ab181,_0x2b5157)=>{_0x2b1393[_0xe2f2('0x21')](_0x2b5157)&&(_0x2b1b51['ui'][_0xe2f2('0xd')][_0xe2f2('0x19')](_0x2b5157[_0xe2f2('0x10')]),_0x2b1393['delete'](_0x2b5157));});}[_0xe2f2('0x20')](_0x4d9c3e){if(_0xe2f2('0x1d')!=typeof _0x4d9c3e)throw new _0x1f3e23(_0xe2f2('0xa'));this['p'][_0xe2f2('0x24')](_0x4d9c3e);}[_0xe2f2('0x22')](){const _0x4aef9b=this['editor'][_0xe2f2('0xf')][_0xe2f2('0x1b')](_0xe2f2('0xb'));_0x4aef9b['selectedViews']=this['k'](),_0x4aef9b[_0xe2f2('0x26')]=_0x4aef9b['selectedViews'][0x0]||null;}get['g'](){const _0x466c11=new Map();for(const _0x16f563 of Array[_0xe2f2('0x1')](this['p']))for(const [_0x49e6ef,_0x81d467]of _0x16f563())_0x466c11[_0xe2f2('0x16')](_0x49e6ef,_0x81d467);return _0x466c11;}['k'](){const _0x29e665=[],_0x1d6e47=this[_0xe2f2('0x17')]['model'][_0xe2f2('0x1e')][_0xe2f2('0x7')],_0x44d515=Array[_0xe2f2('0x1')](_0x1d6e47[_0xe2f2('0x18')]());for(const [_0x55d0a7,_0x7c9fd7]of this['g']){const _0x575d74=_0x27ef63(_0x7c9fd7);_0x575d74&&_0x29e665[_0xe2f2('0x14')]([_0x55d0a7,_0x575d74]);}function _0x27ef63(_0x36f3a2){for(const _0x356f79 of _0x36f3a2)for(const _0x14bacc of _0x44d515)if(_0x356f79[_0xe2f2('0x0')](_0x14bacc,!_0x1d6e47[_0xe2f2('0x12')]))return _0x356f79;return null;}return _0x29e665[_0xe2f2('0x1a')]((_0x123c88,_0x5dac3a)=>{const _0x57f62c=_0x123c88[0x1],_0x1e41b2=_0x5dac3a[0x1];return _0x57f62c['containsRange'](_0x1e41b2)?0x1:_0x1e41b2[_0xe2f2('0x0')](_0x57f62c)?-0x1:0x0;})['map'](_0x104777=>_0x104777[0x0]);}}
const _0x2796=['containsRange','from','selection','hasDomSelection','has','pluginName','get','isReadOnly','items','focusTracker','push','selectedViews','element','getRanges','document','Annotations','delete','sort','listenTo','view','plugins','init','editorannotations-invalid-source-callback:\x20Function\x20required.','refreshSelectedViews','add','cancel','map','model','customView','keys','editor','change:isFocused','activeView','refresh','change:range','function','EditorAnnotations','high','requires','remove','addSourceCollector','editing'];(function(_0x23b816,_0x279648){const _0x4f10fa=function(_0x8b2056){while(--_0x8b2056){_0x23b816['push'](_0x23b816['shift']());}};_0x4f10fa(++_0x279648);}(_0x2796,0xfa));const _0x4f10=function(_0x23b816,_0x279648){_0x23b816=_0x23b816-0x0;let _0x4f10fa=_0x2796[_0x23b816];return _0x4f10fa;};import _0x5da6ce from'@ckeditor/ckeditor5-core/src/plugin';import _0x41b29b from'./annotations';import _0x403772 from'./inlineannotations';import _0x58e397 from'@ckeditor/ckeditor5-utils/src/ckeditorerror';import{debounce as _0x509537}from'lodash-es';export default class l extends _0x5da6ce{static get[_0x4f10('0x28')](){return[_0x41b29b,_0x403772];}static get[_0x4f10('0x7')](){return _0x4f10('0x26');}constructor(_0x587bc6){super(_0x587bc6),this['p']=new Set();}[_0x4f10('0x17')](){const _0x17965a=this[_0x4f10('0x20')],_0x140c39=_0x17965a[_0x4f10('0x16')][_0x4f10('0x8')](_0x4f10('0x11')),_0x380cbe=_0x17965a[_0x4f10('0x1d')][_0x4f10('0x10')][_0x4f10('0x4')],_0x57cff1=_0x509537(()=>this[_0x4f10('0x19')](),0xa);_0x380cbe['on'](_0x4f10('0x24'),(_0x29d983,_0x308fc9)=>{_0x308fc9['directChange']&&(_0x57cff1[_0x4f10('0x1b')](),this[_0x4f10('0x19')]());}),this['listenTo'](_0x17965a['editing']['view'][_0x4f10('0x10')],'change:isFocused',(_0x5e30a1,_0x26add8,_0x5e9484)=>{_0x5e9484&&_0x57cff1();}),this['listenTo'](_0x17965a['ui'][_0x4f10('0xb')],_0x4f10('0x21'),(_0x1b8589,_0xbeb6f9,_0x37583a)=>{_0x37583a||_0x17965a[_0x4f10('0x9')]||this['g'][_0x4f10('0x6')](_0x140c39['activeView'])&&(_0x140c39[_0x4f10('0x22')]=null);}),_0x140c39[_0x4f10('0xb')]['on'](_0x4f10('0x21'),(_0x3d2737,_0x28f44f,_0x328b77)=>{!_0x328b77&&_0x17965a[_0x4f10('0x1')][_0x4f10('0x15')][_0x4f10('0x5')]&&(_0x57cff1[_0x4f10('0x1b')](),this[_0x4f10('0x19')](),_0x3d2737['stop']());},{'priority':_0x4f10('0x27')}),this['listenTo'](this[_0x4f10('0x20')]['ui'],'update',()=>_0x140c39[_0x4f10('0x23')]());const _0x4423f9=new Set();this['listenTo'](_0x140c39[_0x4f10('0xa')],_0x4f10('0x1a'),(_0x4ff747,_0x5cf5a2)=>{for(const _0x378168 of this['g'][_0x4f10('0x1f')]())if(_0x378168===_0x5cf5a2[_0x4f10('0x1e')]){_0x17965a['ui'][_0x4f10('0xb')][_0x4f10('0x1a')](_0x5cf5a2[_0x4f10('0xe')]),_0x4423f9[_0x4f10('0x1a')](_0x5cf5a2);break;}}),this[_0x4f10('0x14')](_0x140c39['items'],_0x4f10('0x29'),(_0x4e844a,_0x66e4a0)=>{_0x4423f9['has'](_0x66e4a0)&&(_0x17965a['ui'][_0x4f10('0xb')][_0x4f10('0x29')](_0x66e4a0[_0x4f10('0xe')]),_0x4423f9[_0x4f10('0x12')](_0x66e4a0));});}[_0x4f10('0x0')](_0x13ed9d){if(_0x4f10('0x25')!=typeof _0x13ed9d)throw new _0x58e397(_0x4f10('0x18'));this['p'][_0x4f10('0x1a')](_0x13ed9d);}[_0x4f10('0x19')](){const _0x4d5326=this[_0x4f10('0x20')][_0x4f10('0x16')][_0x4f10('0x8')](_0x4f10('0x11'));_0x4d5326[_0x4f10('0xd')]=this['k'](),_0x4d5326[_0x4f10('0x22')]=_0x4d5326[_0x4f10('0xd')][0x0]||null;}get['g'](){const _0x26d425=new Map();for(const _0x3ec8fe of Array[_0x4f10('0x3')](this['p']))for(const [_0x2a6e09,_0x3a3b03]of _0x3ec8fe())_0x26d425['set'](_0x2a6e09,_0x3a3b03);return _0x26d425;}['k'](){const _0x2fb1bc=[],_0x2b9e62=this['editor'][_0x4f10('0x1d')]['document'][_0x4f10('0x4')],_0x26b330=Array[_0x4f10('0x3')](_0x2b9e62[_0x4f10('0xf')]()),_0x34e8f2=this[_0x4f10('0x20')]['plugins'][_0x4f10('0x8')]('Annotations');for(const [_0x8e7fae,_0x121f02]of this['g']){const _0xdcbeb6=_0x5a86d5(_0x121f02);_0xdcbeb6&&_0x2fb1bc[_0x4f10('0xc')]([_0x8e7fae,_0xdcbeb6]);}function _0x5a86d5(_0x3087ec){for(const _0x5640d9 of _0x3087ec)for(const _0x19d83d of _0x26b330)if(_0x5640d9[_0x4f10('0x2')](_0x19d83d,!_0x2b9e62['isCollapsed']))return _0x5640d9;return null;}return _0x2fb1bc[_0x4f10('0x13')]((_0x34e0ac,_0x499956)=>{const _0x252102=_0x34e0ac[0x1],_0x8442f9=_0x499956[0x1];return _0x252102[_0x4f10('0x2')](_0x8442f9)?0x1:_0x8442f9[_0x4f10('0x2')](_0x252102)||_0x34e0ac[0x0]==_0x34e8f2['activeView']?-0x1:_0x499956[0x0]==_0x34e8f2[_0x4f10('0x22')]?0x1:0x0;})[_0x4f10('0x1c')](_0x39dec3=>_0x39dec3[0x0]);}}

@@ -23,2 +23,2 @@ /*

*/
const _0x5021=['listenTo','view','delete','keystrokes','remove','updatePosition','register','isAttached','mousedown','init','change:activeView','change:isFocused','requires','destroy','get','has','pluginName','getAnnotationView','targetRect','context','add','editor','Esc','stopListening','update','customView','editing','set','includes','clear','visibleView','isFocused','activeView','inlineannotations-attach-already-attached:\x20Cannot\x20attach\x20the\x20same\x20annotation\x20twice.','detach','Annotations','getTarget','addObserver','document','items','focusTracker','plugins','attach','hasView','inline','change:selectedViews'];(function(_0x53f03f,_0x502187){const _0x1e7bbb=function(_0x2ea801){while(--_0x2ea801){_0x53f03f['push'](_0x53f03f['shift']());}};_0x1e7bbb(++_0x502187);}(_0x5021,0x1c4));const _0x1e7b=function(_0x53f03f,_0x502187){_0x53f03f=_0x53f03f-0x0;let _0x1e7bbb=_0x5021[_0x53f03f];return _0x1e7bbb;};import _0x3a4bb7 from'@ckeditor/ckeditor5-core/src/plugin';import _0x4837ce from'../annotations/annotations';import _0x1d237d from'./editorannotations';import _0x1acec5 from'@ckeditor/ckeditor5-ui/src/panel/balloon/contextualballoon';import _0x4cffd1 from'@ckeditor/ckeditor5-engine/src/view/observer/mouseobserver';import _0x11bff7 from'@ckeditor/ckeditor5-utils/src/ckeditorerror';import'./../../theme/annotation-inline.css';export default class f extends _0x3a4bb7{static get[_0x1e7b('0x14')](){return[_0x4837ce,_0x1d237d,_0x1acec5];}static get[_0x1e7b('0x18')](){return'InlineAnnotations';}constructor(_0x1a0c8e){super(_0x1a0c8e),_0x1a0c8e[_0x1e7b('0x22')]['view'][_0x1e7b('0x2d')](_0x4cffd1),this[_0x1e7b('0xf')]=!0x1,this['v']=new Set(),this['A']=_0x1a0c8e[_0x1e7b('0x3')][_0x1e7b('0x16')](_0x1acec5),this['I']=new Set();}[_0x1e7b('0x11')](){const _0x451640=this[_0x1e7b('0x1d')]['plugins'][_0x1e7b('0x16')](_0x4837ce);_0x451640[_0x1e7b('0x1b')]===this[_0x1e7b('0x1d')]&&(_0x451640[_0x1e7b('0xe')](_0x1e7b('0x6'),this),this[_0x1e7b('0x1d')][_0x1e7b('0xb')][_0x1e7b('0x23')](_0x1e7b('0x1e'),(_0x2e1a86,_0x2641ae)=>{const _0x31614d=this['A'];this['isAttached']&&_0x31614d[_0x1e7b('0x26')]&&_0x451640['items'][_0x1e7b('0x17')](_0x31614d[_0x1e7b('0x26')])&&(this['v'][_0x1e7b('0x1c')](_0x31614d[_0x1e7b('0x26')]),this['C'](_0x31614d[_0x1e7b('0x26')]),_0x2641ae());}));}['afterInit'](){const _0x45b4a2=this[_0x1e7b('0x1d')][_0x1e7b('0x3')]['get'](_0x4837ce);_0x45b4a2[_0x1e7b('0x1b')]===this[_0x1e7b('0x1d')]&&(_0x45b4a2['uiType']||_0x45b4a2['switchTo'](_0x1e7b('0x6')));}[_0x1e7b('0x15')](){this[_0x1e7b('0xf')]&&this[_0x1e7b('0x2a')]();}[_0x1e7b('0x4')](){const _0x37444a=this['editor'][_0x1e7b('0x3')]['get']('Annotations'),_0x1dd97d=this['A'];if(this[_0x1e7b('0xf')])throw new _0x11bff7(_0x1e7b('0x29'),this);if(_0x37444a['context']!==this[_0x1e7b('0x1d')])throw new _0x11bff7('inlineannotations-not-allowed-with-context:\x20Cannot\x20switch\x20Annotations\x20UI\x20to\x20`InlineAnnotations`\x20when\x20using\x20`Context`.',this);this[_0x1e7b('0x8')](this[_0x1e7b('0x1d')]['ui'][_0x1e7b('0x2')],_0x1e7b('0x13'),(_0x43f7fa,_0x33b591,_0x494331)=>{if(!_0x494331)for(const _0x1323eb of _0x37444a[_0x1e7b('0x1')])this['C'](_0x1323eb);}),this[_0x1e7b('0x8')](_0x37444a[_0x1e7b('0x1')],'remove',(_0xe5577b,_0xac5dac)=>{this['C'](_0xac5dac);}),this[_0x1e7b('0x8')](_0x37444a,_0x1e7b('0x7'),(_0x309c61,_0x46f0ba,_0x74c977,_0x34f5c2)=>{for(const _0x367040 of _0x34f5c2)_0x74c977[_0x1e7b('0x24')](_0x367040)||this['v'][_0x1e7b('0xa')](_0x37444a['getAnnotationView'](_0x367040));for(const _0x5f079c of _0x37444a['items'])_0x74c977[_0x1e7b('0x24')](_0x5f079c[_0x1e7b('0x21')])||this['C'](_0x5f079c);if(this[_0x1e7b('0x1d')]['ui']['focusTracker'][_0x1e7b('0x27')])for(const _0xa45dd6 of _0x74c977)this['V'](_0x37444a[_0x1e7b('0x19')](_0xa45dd6));}),this['listenTo'](_0x37444a,_0x1e7b('0x12'),(_0x413cb7,_0xc2f20a,_0x47fbd4)=>{_0x47fbd4&&this[_0x1e7b('0x1d')]['ui'][_0x1e7b('0x2')][_0x1e7b('0x27')]&&this['V'](_0x37444a['getAnnotationView'](_0x47fbd4),!0x0);}),this[_0x1e7b('0x8')](_0x1dd97d,'change:visibleView',(_0x4fbb4c,_0x5cc41a,_0x32ee6f,_0x291fcc)=>{_0x291fcc&&this[_0x1e7b('0x1f')](_0x291fcc),_0x32ee6f&&_0x37444a[_0x1e7b('0x1')][_0x1e7b('0x17')](_0x32ee6f)&&(this[_0x1e7b('0x8')](_0x32ee6f,'change:height',()=>_0x1dd97d['updatePosition']()),this['listenTo'](_0x32ee6f,'Esc',()=>{this['v'][_0x1e7b('0x1c')](_0x32ee6f),this['C'](_0x32ee6f),this[_0x1e7b('0x1d')]['editing']['view']['focus']();}),_0x37444a[_0x1e7b('0x28')]!==_0x32ee6f[_0x1e7b('0x21')]&&(_0x37444a[_0x1e7b('0x28')]=_0x32ee6f[_0x1e7b('0x21')]));}),this[_0x1e7b('0x8')](this[_0x1e7b('0x1d')]['ui'],_0x1e7b('0x20'),()=>{_0x1dd97d['visibleView']&&_0x37444a[_0x1e7b('0x1')]['has'](_0x1dd97d[_0x1e7b('0x26')])&&_0x1dd97d[_0x1e7b('0xd')]();}),this['listenTo'](this[_0x1e7b('0x1d')]['editing'][_0x1e7b('0x9')][_0x1e7b('0x0')],_0x1e7b('0x10'),()=>{this['v'][_0x1e7b('0x25')](),_0x37444a['refresh']();}),this['isAttached']=!0x0;}['detach'](){if(!this[_0x1e7b('0xf')])throw new _0x11bff7('inlineannotations-detach-not-attached:\x20Cannot\x20detach\x20a\x20UI\x20if\x20it\x20is\x20not\x20attached.',this);const _0x4ba999=this[_0x1e7b('0x1d')][_0x1e7b('0x3')][_0x1e7b('0x16')](_0x1e7b('0x2b')),_0x583b6b=this['A'];for(const _0x1af697 of this['I'])this['C'](_0x1af697);this[_0x1e7b('0x1f')](_0x4ba999[_0x1e7b('0x1')]),this[_0x1e7b('0x1f')](_0x4ba999),this[_0x1e7b('0x1f')](_0x583b6b),this[_0x1e7b('0x1f')](this[_0x1e7b('0x1d')]['ui']),this[_0x1e7b('0x1f')](this[_0x1e7b('0x1d')]['ui'][_0x1e7b('0x2')]),this['stopListening'](this[_0x1e7b('0x1d')][_0x1e7b('0x22')][_0x1e7b('0x9')][_0x1e7b('0x0')]),this[_0x1e7b('0xf')]=!0x1;}['V'](_0x2453de,_0x205020){const _0xcecbc6=this[_0x1e7b('0x1d')][_0x1e7b('0x3')][_0x1e7b('0x16')](_0x4837ce);this['v'][_0x1e7b('0x17')](_0x2453de)||(this['I'][_0x1e7b('0x17')](_0x2453de)||this['A'][_0x1e7b('0x5')](_0x2453de)||(this['I'][_0x1e7b('0x1c')](_0x2453de),this['A']['add']({'stackId':_0x2453de['id'],'view':_0x2453de,'position':{'target':()=>_0xcecbc6[_0x1e7b('0x2c')](_0x2453de[_0x1e7b('0x21')])||_0x2453de[_0x1e7b('0x1a')]}})),_0x205020&&this['A']['showStack'](_0x2453de['id']));}['C'](_0x391d45){this['I']['has'](_0x391d45)&&this['A'][_0x1e7b('0x5')](_0x391d45)&&(this['I']['delete'](_0x391d45),this['A'][_0x1e7b('0xc')](_0x391d45));}}
const _0x487a=['clear','isAttached','change:visibleView','InlineAnnotations','view','delete','targetRect','includes','inline','change:isFocused','activeView','stopListening','update','set','switchTo','detach','inlineannotations-attach-already-attached:\x20Cannot\x20attach\x20the\x20same\x20annotation\x20twice.','focus','listenTo','change:height','updatePosition','editing','keystrokes','customView','isFocused','getAnnotationView','focusTracker','showStack','document','context','addObserver','add','plugins','items','Esc','remove','has','init','change:activeView','attach','afterInit','editor','visibleView','Annotations','get','mousedown','change:selectedViews','refresh','inlineannotations-not-allowed-with-context:\x20Cannot\x20switch\x20Annotations\x20UI\x20to\x20`InlineAnnotations`\x20when\x20using\x20`Context`.','hasView'];(function(_0x138f72,_0x487adf){const _0x1f0c09=function(_0x59b68a){while(--_0x59b68a){_0x138f72['push'](_0x138f72['shift']());}};_0x1f0c09(++_0x487adf);}(_0x487a,0xb6));const _0x1f0c=function(_0x138f72,_0x487adf){_0x138f72=_0x138f72-0x0;let _0x1f0c09=_0x487a[_0x138f72];return _0x1f0c09;};import _0x323f2e from'@ckeditor/ckeditor5-core/src/plugin';import _0x274fd5 from'../annotations/annotations';import _0x38650b from'./editorannotations';import _0x182b6f from'@ckeditor/ckeditor5-ui/src/panel/balloon/contextualballoon';import _0x4d04d3 from'@ckeditor/ckeditor5-engine/src/view/observer/mouseobserver';import _0x443710 from'@ckeditor/ckeditor5-utils/src/ckeditorerror';import'./../../theme/annotation-inline.css';export default class f extends _0x323f2e{static get['requires'](){return[_0x274fd5,_0x38650b,_0x182b6f];}static get['pluginName'](){return _0x1f0c('0x15');}constructor(_0x296d61){super(_0x296d61),_0x296d61[_0x1f0c('0x27')][_0x1f0c('0x16')][_0x1f0c('0x30')](_0x4d04d3),this['isAttached']=!0x1,this['v']=new Set(),this['A']=_0x296d61[_0x1f0c('0x0')][_0x1f0c('0xc')](_0x182b6f),this['I']=new Set();}[_0x1f0c('0x5')](){const _0x2da1b7=this[_0x1f0c('0x9')]['plugins']['get'](_0x274fd5);_0x2da1b7[_0x1f0c('0x2f')]===this[_0x1f0c('0x9')]&&(_0x2da1b7['register'](_0x1f0c('0x1a'),this),this[_0x1f0c('0x9')][_0x1f0c('0x28')][_0x1f0c('0x1f')](_0x1f0c('0x2'),(_0x4e23ca,_0x260fea)=>{const _0x5f4096=this['A'];this[_0x1f0c('0x13')]&&_0x5f4096['visibleView']&&_0x2da1b7['items'][_0x1f0c('0x4')](_0x5f4096[_0x1f0c('0xa')])&&(this['v']['add'](_0x5f4096['visibleView']),this['C'](_0x5f4096['visibleView']),_0x260fea());}));}[_0x1f0c('0x8')](){const _0x349077=this[_0x1f0c('0x9')]['plugins'][_0x1f0c('0xc')](_0x274fd5);_0x349077[_0x1f0c('0x2f')]===this['editor']&&(_0x349077['uiType']||_0x349077[_0x1f0c('0x20')](_0x1f0c('0x1a')));}['destroy'](){this[_0x1f0c('0x13')]&&this[_0x1f0c('0x21')]();}[_0x1f0c('0x7')](){const _0x37e82d=this[_0x1f0c('0x9')]['plugins'][_0x1f0c('0xc')](_0x1f0c('0xb')),_0x3a7a8d=this['A'];if(this['isAttached'])throw new _0x443710(_0x1f0c('0x22'),this);if(_0x37e82d[_0x1f0c('0x2f')]!==this[_0x1f0c('0x9')])throw new _0x443710(_0x1f0c('0x10'),this);this[_0x1f0c('0x24')](this[_0x1f0c('0x9')]['ui']['focusTracker'],_0x1f0c('0x1b'),(_0x55f059,_0xa417ee,_0x412ce5)=>{if(!_0x412ce5)for(const _0x5731f8 of _0x37e82d[_0x1f0c('0x1')])this['C'](_0x5731f8);}),this[_0x1f0c('0x24')](_0x37e82d['items'],_0x1f0c('0x3'),(_0x3c2cc1,_0x222ae5)=>{this['C'](_0x222ae5);}),this['listenTo'](_0x37e82d,_0x1f0c('0xe'),(_0x48bd2c,_0x5d268a,_0x42de36,_0x46537b)=>{for(const _0x3a7041 of _0x46537b)_0x42de36[_0x1f0c('0x19')](_0x3a7041)||this['v'][_0x1f0c('0x17')](_0x37e82d['getAnnotationView'](_0x3a7041));for(const _0x27febc of _0x37e82d[_0x1f0c('0x1')])_0x42de36['includes'](_0x27febc[_0x1f0c('0x29')])||this['C'](_0x27febc);if(this[_0x1f0c('0x9')]['ui'][_0x1f0c('0x2c')][_0x1f0c('0x2a')])for(const _0x64a963 of _0x42de36)this['V'](_0x37e82d['getAnnotationView'](_0x64a963));}),this[_0x1f0c('0x24')](_0x37e82d,_0x1f0c('0x6'),(_0xdb6d2a,_0x2c8c34,_0x5d2ee9)=>{_0x5d2ee9&&this['editor']['ui'][_0x1f0c('0x2c')][_0x1f0c('0x2a')]&&this['V'](_0x37e82d[_0x1f0c('0x2b')](_0x5d2ee9),!0x0);}),this[_0x1f0c('0x24')](_0x3a7a8d,_0x1f0c('0x14'),(_0x30bfcd,_0x27a06f,_0x475225,_0x2f1c2f)=>{_0x2f1c2f&&this[_0x1f0c('0x1d')](_0x2f1c2f),_0x475225&&_0x37e82d[_0x1f0c('0x1')]['has'](_0x475225)&&(this['listenTo'](_0x475225,_0x1f0c('0x25'),()=>_0x3a7a8d['updatePosition']()),this[_0x1f0c('0x24')](_0x475225,_0x1f0c('0x2'),()=>{this['v'][_0x1f0c('0x31')](_0x475225),this['C'](_0x475225),this['editor'][_0x1f0c('0x27')]['view'][_0x1f0c('0x23')]();}),_0x37e82d[_0x1f0c('0x1c')]!==_0x475225[_0x1f0c('0x29')]&&(_0x37e82d[_0x1f0c('0x1c')]=_0x475225[_0x1f0c('0x29')]));}),this[_0x1f0c('0x24')](this[_0x1f0c('0x9')]['ui'],_0x1f0c('0x1e'),()=>{_0x3a7a8d[_0x1f0c('0xa')]&&_0x37e82d['items'][_0x1f0c('0x4')](_0x3a7a8d[_0x1f0c('0xa')])&&_0x3a7a8d[_0x1f0c('0x26')]();}),this[_0x1f0c('0x24')](this['editor'][_0x1f0c('0x27')][_0x1f0c('0x16')]['document'],_0x1f0c('0xd'),()=>{this['v'][_0x1f0c('0x12')](),_0x37e82d[_0x1f0c('0xf')]();}),this[_0x1f0c('0x13')]=!0x0;}['detach'](){if(!this[_0x1f0c('0x13')])throw new _0x443710('inlineannotations-detach-not-attached:\x20Cannot\x20detach\x20a\x20UI\x20if\x20it\x20is\x20not\x20attached.',this);const _0x17c6a4=this['editor'][_0x1f0c('0x0')][_0x1f0c('0xc')]('Annotations'),_0x7062a9=this['A'];for(const _0x57ecb6 of this['I'])this['C'](_0x57ecb6);this[_0x1f0c('0x1d')](_0x17c6a4['items']),this[_0x1f0c('0x1d')](_0x17c6a4),this[_0x1f0c('0x1d')](_0x7062a9),this[_0x1f0c('0x1d')](this[_0x1f0c('0x9')]['ui']),this['stopListening'](this[_0x1f0c('0x9')]['ui'][_0x1f0c('0x2c')]),this[_0x1f0c('0x1d')](this[_0x1f0c('0x9')][_0x1f0c('0x27')][_0x1f0c('0x16')][_0x1f0c('0x2e')]),this[_0x1f0c('0x13')]=!0x1;}['V'](_0x295405,_0x19973e){const _0x22c975=this[_0x1f0c('0x9')][_0x1f0c('0x0')]['get'](_0x274fd5);this['v']['has'](_0x295405)||(this['I'][_0x1f0c('0x4')](_0x295405)||this['A']['hasView'](_0x295405)||(this['I']['add'](_0x295405),this['A'][_0x1f0c('0x31')]({'stackId':_0x295405['id'],'view':_0x295405,'position':{'target':()=>_0x22c975['getTarget'](_0x295405['customView'])||_0x295405[_0x1f0c('0x18')]}})),_0x19973e&&this['A'][_0x1f0c('0x2d')](_0x295405['id']));}['C'](_0x2591a9){this['I']['has'](_0x2591a9)&&this['A'][_0x1f0c('0x11')](_0x2591a9)&&(this['I']['delete'](_0x2591a9),this['A'][_0x1f0c('0x3')](_0x2591a9));}}

@@ -23,2 +23,2 @@ /*

*/
const _0xa36b=['isAttached','southArrowNorthEast','isDirty','Sidebar','mousedown','bind','stopListening','southArrowNorthWest','Esc','keydown','remove','target','high','change:activeView','set:container','northArrowSouthEast','contains','getAnnotationView','isAnimationDisabled','context','set','Annotations','get','northArrowSouthWest','requires','bodyCollection','keyCode','attachToDom','_annotationViewToNarrowView','change:container','listenTo','detach','from','narrowSidebar','_detachFromContainer','values','length','add','delete','attach','refresh','plugins','_attachToContainer','isVisible','balloonPanelView','getSidebarItemView','pluginName','bindTo','content','destroy','clear','using','activeView','view','has','esc','change:selectedViews','defaultPositions','customView','items','focus','first','includes','preventDefault','element','NarrowSidebar','detachFromDom','locale','off'];(function(_0x323c39,_0xa36b90){const _0x58ea2e=function(_0x38b3b9){while(--_0x38b3b9){_0x323c39['push'](_0x323c39['shift']());}};_0x58ea2e(++_0xa36b90);}(_0xa36b,0x137));const _0x58ea=function(_0x323c39,_0xa36b90){_0x323c39=_0x323c39-0x0;let _0x58ea2e=_0xa36b[_0x323c39];return _0x58ea2e;};import _0x18e48f from'@ckeditor/ckeditor5-core/src/contextplugin';import _0x105b19 from'./annotations';import _0x48adbb from'./sidebar';import _0x15cc11 from'./view/annotationcounterbuttonview';import _0x394b7c from'@ckeditor/ckeditor5-ui/src/panel/balloon/balloonpanelview';import _0x2878e5 from'@ckeditor/ckeditor5-ui/src/editorui/bodycollection';import _0x1b900d from'@ckeditor/ckeditor5-utils/src/ckeditorerror';import _0x36a894 from'@ckeditor/ckeditor5-utils/src/dom/emittermixin';import{keyCodes as _0x24fd93}from'@ckeditor/ckeditor5-utils/src/keyboard';import'../../theme/sidebar-narrow.css';export default class x extends _0x18e48f{static get[_0x58ea('0x3a')](){return[_0x48adbb,_0x105b19];}static get[_0x58ea('0xb')](){return _0x58ea('0x1e');}constructor(_0x42196c){super(_0x42196c),this['isAttached']=!0x1,this['v']=new Set(),this['S']=Object['create'](_0x36a894),this[_0x58ea('0x3e')]=new Map();}['init'](){this[_0x58ea('0x35')][_0x58ea('0x6')][_0x58ea('0x38')](_0x58ea('0x37'))['register'](_0x58ea('0x43'),this),this[_0x58ea('0x3b')]=new _0x2878e5(this[_0x58ea('0x35')][_0x58ea('0x20')]),this['bodyCollection'][_0x58ea('0x3d')](),this[_0x58ea('0x9')]=new _0x394b7c(this[_0x58ea('0x35')][_0x58ea('0x20')]),this[_0x58ea('0x3b')][_0x58ea('0x2')](this[_0x58ea('0x9')]);}[_0x58ea('0x4')](){const _0x3cb05f=this['context'][_0x58ea('0x6')][_0x58ea('0x38')]('Sidebar'),_0x5c8355=this[_0x58ea('0x35')][_0x58ea('0x6')][_0x58ea('0x38')](_0x58ea('0x37')),_0x33a33a=this[_0x58ea('0x9')];if(this[_0x58ea('0x22')])throw new _0x1b900d('narrowsidebar-attach-already-attached:\x20Cannot\x20attach\x20narrow\x20sidebar\x20twice.',this);this[_0x58ea('0x22')]=!0x0,this[_0x58ea('0x40')](_0x3cb05f,_0x58ea('0x30'),()=>{this[_0x58ea('0x41')](),this[_0x58ea('0x40')](_0x3cb05f,_0x58ea('0x3f'),_0x1714a9=>{_0x1714a9[_0x58ea('0x21')](),this[_0x58ea('0x4')]();});}),_0x3cb05f[_0x58ea('0x7')]({'viewClass':'ck-sidebar--narrow','spaceBetweenItems':0x5}),_0x3cb05f[_0x58ea('0x12')]['list'][_0x58ea('0xc')](_0x5c8355['items'])[_0x58ea('0x10')](_0x306cf6=>{const _0x36996e=new _0x15cc11(this[_0x58ea('0x35')][_0x58ea('0x20')]),_0x594c64=_0x3cb05f['addView'](_0x306cf6,_0x36996e);return this['_annotationViewToNarrowView'][_0x58ea('0x36')](_0x306cf6,_0x36996e),_0x36996e[_0x58ea('0x27')](_0x58ea('0x24'),'annotationType','number')['to'](_0x306cf6,_0x58ea('0x24'),'type',_0x58ea('0x1')),_0x36996e['on']('execute',()=>{this['v'][_0x58ea('0xf')](),_0x33a33a[_0x58ea('0xd')][_0x58ea('0x1a')]!==_0x306cf6?(this['_'](_0x306cf6),_0x306cf6[_0x58ea('0x1d')][_0x58ea('0x19')](),_0x5c8355[_0x58ea('0x11')]=_0x306cf6[_0x58ea('0x17')]):this['B']();}),_0x594c64;}),this[_0x58ea('0x40')](_0x5c8355[_0x58ea('0x18')],_0x58ea('0x2c'),(_0xaeb2cd,_0x18245f)=>{this[_0x58ea('0x3e')]['get'](_0x18245f)[_0x58ea('0xe')](),this[_0x58ea('0x3e')][_0x58ea('0x3')](_0x18245f);}),this['listenTo'](_0x5c8355,_0x58ea('0x2f'),(_0x499df6,_0x2e2ab8,_0x138eb1,_0x2472f9)=>{if(_0x2472f9){const _0x10b9bf=_0x5c8355[_0x58ea('0x33')](_0x2472f9);if(!_0x10b9bf)return;_0x3cb05f[_0x58ea('0xa')](_0x10b9bf)[_0x58ea('0x34')]=!0x1;}if(_0x138eb1){const _0x3361ec=_0x5c8355['getAnnotationView'](_0x138eb1);_0x3cb05f[_0x58ea('0xa')](_0x3361ec)[_0x58ea('0x34')]=!0x0;}},{'priority':_0x58ea('0x2e')}),this[_0x58ea('0x40')](_0x5c8355,_0x58ea('0x2f'),(_0x55d676,_0x5a5871,_0x1a9d85)=>{const _0x442661=_0x5c8355['getAnnotationView'](_0x1a9d85),_0x3157d4=_0x3cb05f[_0x58ea('0xa')](_0x442661);_0x1a9d85&&_0x3157d4?this['_'](_0x442661):this['B']();}),this[_0x58ea('0x40')](_0x5c8355,_0x58ea('0x15'),(_0x1bdaf6,_0x2b70e8,_0x42616d,_0x48f785)=>{for(const _0xc0ce59 of _0x48f785)_0x42616d[_0x58ea('0x1b')](_0xc0ce59)||this['v'][_0x58ea('0x3')](_0x5c8355['getAnnotationView'](_0xc0ce59));}),this[_0x58ea('0x40')](_0x5c8355,_0x58ea('0x5'),()=>{_0x33a33a[_0x58ea('0x8')]&&this['D']();}),this['S'][_0x58ea('0x40')](document,_0x58ea('0x2b'),(_0x1b454a,_0x2ba728)=>{_0x2ba728[_0x58ea('0x3c')]===_0x24fd93[_0x58ea('0x14')]&&_0x33a33a[_0x58ea('0x8')]&&(this['v'][_0x58ea('0x2')](_0x33a33a[_0x58ea('0xd')]['first']),this['B'](),_0x2ba728['stopPropagation'](),_0x2ba728[_0x58ea('0x1c')]());}),this['S'][_0x58ea('0x40')](document,_0x58ea('0x26'),(_0xb7234,_0x4eaa6a)=>{const _0x544e42=_0x4eaa6a[_0x58ea('0x2d')];_0x33a33a['isVisible']&&_0x33a33a[_0x58ea('0x1d')][_0x58ea('0x32')](_0x544e42)||_0x3cb05f[_0x58ea('0x12')][_0x58ea('0x1d')]['contains'](_0x544e42)||(this['v'][_0x58ea('0xf')](),this['B']());});}['detach'](){if(!this[_0x58ea('0x22')])throw new _0x1b900d('narrowsidebar-detach-not-attached:\x20Cannot\x20detach\x20not\x20attached\x20sidebar.',this);const _0x3b89a4=this[_0x58ea('0x35')][_0x58ea('0x6')][_0x58ea('0x38')](_0x58ea('0x25'));this['B'](),Array[_0x58ea('0x42')](this['_annotationViewToNarrowView'][_0x58ea('0x0')](),_0xe72008=>_0xe72008['destroy']()),this[_0x58ea('0x3e')][_0x58ea('0xf')](),_0x3b89a4[_0x58ea('0x44')](),this[_0x58ea('0x28')](),this['S']['stopListening'](),this[_0x58ea('0x22')]=!0x1;}[_0x58ea('0xe')](){this[_0x58ea('0x22')]&&this[_0x58ea('0x41')](),this[_0x58ea('0x3b')][_0x58ea('0x1f')]();}['_'](_0x35fc94){if(this['v']['has'](_0x35fc94))return;const _0x257db5=this['balloonPanelView'][_0x58ea('0xd')][_0x58ea('0x1a')];_0x257db5!==_0x35fc94?(_0x257db5&&this['L'](_0x257db5),this['N'](_0x35fc94),this[_0x58ea('0x9')]['content'][_0x58ea('0xf')](),this[_0x58ea('0x9')][_0x58ea('0xd')][_0x58ea('0x2')](_0x35fc94),this['D']()):this['D']();}['D'](){const _0x46237b=this[_0x58ea('0x9')]['content']['first'];if(!this[_0x58ea('0x3e')][_0x58ea('0x13')](_0x46237b))return;const _0x3be353=this[_0x58ea('0x3e')][_0x58ea('0x38')](_0x46237b)[_0x58ea('0x1d')],_0x5dc571=function(){const _0x517172=_0x394b7c[_0x58ea('0x16')];return[_0x517172[_0x58ea('0x23')],_0x517172[_0x58ea('0x31')],_0x517172['southArrowNorth'],_0x517172['northArrowSouth'],_0x517172[_0x58ea('0x29')],_0x517172[_0x58ea('0x39')]];}();this[_0x58ea('0x9')]['pin']({'target':_0x3be353,'positions':_0x5dc571});}['B'](){const _0x17ccf6=this[_0x58ea('0x9')],_0x36ded1=_0x17ccf6[_0x58ea('0xd')]['first'];_0x36ded1&&(this['L'](_0x36ded1),_0x17ccf6['unpin'](),_0x17ccf6[_0x58ea('0xd')][_0x58ea('0xf')]());}['N'](_0x42e740){this[_0x58ea('0x40')](_0x42e740,'change:height',()=>this['D']()),this[_0x58ea('0x40')](_0x42e740,_0x58ea('0x2a'),(_0x501da7,_0xdcbe6b)=>{this['v'][_0x58ea('0x2')](_0x42e740),this['B'](),_0xdcbe6b();});}['L'](_0x31f3a3){this[_0x58ea('0x28')](_0x31f3a3);}}
const _0x50ca=['stopListening','isAttached','northArrowSouth','narrowSidebar','first','keyCode','add','set:container','destroy','isVisible','change:selectedViews','stopPropagation','from','annotationType','change:container','_detachFromContainer','locale','pin','create','values','context','northArrowSouthEast','plugins','attach','keydown','unpin','esc','balloonPanelView','narrowsidebar-detach-not-attached:\x20Cannot\x20detach\x20not\x20attached\x20sidebar.','type','pluginName','delete','preventDefault','isDirty','contains','using','isAnimationDisabled','_annotationViewToNarrowView','defaultPositions','detachFromDom','refresh','Sidebar','listenTo','view','Esc','bind','ck-sidebar--narrow','list','number','attachToDom','detach','bodyCollection','target','content','element','remove','has','activeView','customView','change:activeView','mousedown','_attachToContainer','get','change:height','getAnnotationView','clear','register','getSidebarItemView','narrowsidebar-attach-already-attached:\x20Cannot\x20attach\x20narrow\x20sidebar\x20twice.','focus'];(function(_0x220d74,_0x50ca32){const _0x42e060=function(_0x48e576){while(--_0x48e576){_0x220d74['push'](_0x220d74['shift']());}};_0x42e060(++_0x50ca32);}(_0x50ca,0x6c));const _0x42e0=function(_0x220d74,_0x50ca32){_0x220d74=_0x220d74-0x0;let _0x42e060=_0x50ca[_0x220d74];return _0x42e060;};import _0x46f9c2 from'@ckeditor/ckeditor5-core/src/contextplugin';import _0x17c8b5 from'./annotations';import _0x56d08e from'./sidebar';import _0x362cc2 from'./view/annotationcounterbuttonview';import _0xf9d9dd from'@ckeditor/ckeditor5-ui/src/panel/balloon/balloonpanelview';import _0x3461a8 from'@ckeditor/ckeditor5-ui/src/editorui/bodycollection';import _0x3d0f69 from'@ckeditor/ckeditor5-utils/src/ckeditorerror';import _0x35c98c from'@ckeditor/ckeditor5-utils/src/dom/emittermixin';import{keyCodes as _0xab99ba}from'@ckeditor/ckeditor5-utils/src/keyboard';import'../../theme/sidebar-narrow.css';export default class x extends _0x46f9c2{static get['requires'](){return[_0x56d08e,_0x17c8b5];}static get[_0x42e0('0x3e')](){return'NarrowSidebar';}constructor(_0x2d9f45){super(_0x2d9f45),this[_0x42e0('0x21')]=!0x1,this['v']=new Set(),this['S']=Object[_0x42e0('0x32')](_0x35c98c),this['_annotationViewToNarrowView']=new Map();}['init'](){this[_0x42e0('0x34')][_0x42e0('0x36')][_0x42e0('0x18')]('Annotations')[_0x42e0('0x1c')](_0x42e0('0x23'),this),this[_0x42e0('0xd')]=new _0x3461a8(this[_0x42e0('0x34')][_0x42e0('0x30')]),this[_0x42e0('0xd')][_0x42e0('0xb')](),this[_0x42e0('0x3b')]=new _0xf9d9dd(this['context'][_0x42e0('0x30')]),this[_0x42e0('0xd')][_0x42e0('0x26')](this[_0x42e0('0x3b')]);}[_0x42e0('0x37')](){const _0x5873fe=this[_0x42e0('0x34')]['plugins']['get']('Sidebar'),_0x4488dc=this[_0x42e0('0x34')][_0x42e0('0x36')][_0x42e0('0x18')]('Annotations'),_0x1ef301=this[_0x42e0('0x3b')];if(this['isAttached'])throw new _0x3d0f69(_0x42e0('0x1e'),this);this[_0x42e0('0x21')]=!0x0,this['listenTo'](_0x5873fe,_0x42e0('0x27'),()=>{this[_0x42e0('0xc')](),this[_0x42e0('0x4')](_0x5873fe,_0x42e0('0x2e'),_0x1b4bfb=>{_0x1b4bfb['off'](),this[_0x42e0('0x37')]();});}),_0x5873fe[_0x42e0('0x17')]({'viewClass':_0x42e0('0x8'),'spaceBetweenItems':0x5}),_0x5873fe[_0x42e0('0x5')][_0x42e0('0x9')]['bindTo'](_0x4488dc['items'])[_0x42e0('0x43')](_0x166ff3=>{const _0x392b1a=new _0x362cc2(this[_0x42e0('0x34')][_0x42e0('0x30')]),_0x54a27b=_0x5873fe['addView'](_0x166ff3,_0x392b1a);return this['_annotationViewToNarrowView']['set'](_0x166ff3,_0x392b1a),_0x392b1a[_0x42e0('0x7')]('isDirty',_0x42e0('0x2d'),_0x42e0('0xa'))['to'](_0x166ff3,_0x42e0('0x41'),_0x42e0('0x3d'),'length'),_0x392b1a['on']('execute',()=>{this['v'][_0x42e0('0x1b')](),_0x1ef301[_0x42e0('0xf')]['first']!==_0x166ff3?(this['_'](_0x166ff3),_0x166ff3[_0x42e0('0x10')][_0x42e0('0x1f')](),_0x4488dc[_0x42e0('0x13')]=_0x166ff3[_0x42e0('0x14')]):this['B']();}),_0x54a27b;}),this[_0x42e0('0x4')](_0x4488dc['items'],_0x42e0('0x11'),(_0x1be154,_0x56cfaf)=>{this[_0x42e0('0x45')][_0x42e0('0x18')](_0x56cfaf)['destroy'](),this[_0x42e0('0x45')][_0x42e0('0x3f')](_0x56cfaf);}),this[_0x42e0('0x4')](_0x4488dc,_0x42e0('0x15'),(_0x4b2fd5,_0x757f76,_0x5109a1,_0x475d86)=>{if(_0x475d86){const _0x1afb29=_0x4488dc['getAnnotationView'](_0x475d86);if(!_0x1afb29)return;_0x5873fe[_0x42e0('0x1d')](_0x1afb29)[_0x42e0('0x44')]=!0x1;}if(_0x5109a1){const _0x3423fc=_0x4488dc['getAnnotationView'](_0x5109a1);_0x5873fe[_0x42e0('0x1d')](_0x3423fc)[_0x42e0('0x44')]=!0x0;}},{'priority':'high'}),this[_0x42e0('0x4')](_0x4488dc,'change:activeView',(_0x1bd644,_0x2ca3ac,_0x3643f4)=>{const _0x2379ca=_0x4488dc[_0x42e0('0x1a')](_0x3643f4),_0x170e93=_0x5873fe[_0x42e0('0x1d')](_0x2379ca);_0x3643f4&&_0x170e93?this['_'](_0x2379ca):this['B']();}),this[_0x42e0('0x4')](_0x4488dc,_0x42e0('0x2a'),(_0x528199,_0x428f6e,_0x15831b,_0x4125f9)=>{for(const _0x47ebb6 of _0x4125f9)_0x15831b['includes'](_0x47ebb6)||this['v'][_0x42e0('0x3f')](_0x4488dc[_0x42e0('0x1a')](_0x47ebb6));}),this[_0x42e0('0x4')](_0x4488dc,_0x42e0('0x2'),()=>{_0x1ef301[_0x42e0('0x29')]&&this['D']();}),this['S'][_0x42e0('0x4')](document,_0x42e0('0x38'),(_0x32d96f,_0x237546)=>{_0x237546[_0x42e0('0x25')]===_0xab99ba[_0x42e0('0x3a')]&&_0x1ef301[_0x42e0('0x29')]&&(this['v'][_0x42e0('0x26')](_0x1ef301[_0x42e0('0xf')][_0x42e0('0x24')]),this['B'](),_0x237546[_0x42e0('0x2b')](),_0x237546[_0x42e0('0x40')]());}),this['S'][_0x42e0('0x4')](document,_0x42e0('0x16'),(_0x352636,_0x3fb3db)=>{const _0x3019e1=_0x3fb3db[_0x42e0('0xe')];_0x1ef301['isVisible']&&_0x1ef301[_0x42e0('0x10')][_0x42e0('0x42')](_0x3019e1)||_0x5873fe[_0x42e0('0x5')][_0x42e0('0x10')][_0x42e0('0x42')](_0x3019e1)||(this['v'][_0x42e0('0x1b')](),this['B']());});}[_0x42e0('0xc')](){if(!this[_0x42e0('0x21')])throw new _0x3d0f69(_0x42e0('0x3c'),this);const _0x525e7c=this[_0x42e0('0x34')]['plugins'][_0x42e0('0x18')](_0x42e0('0x3'));this['B'](),Array[_0x42e0('0x2c')](this[_0x42e0('0x45')][_0x42e0('0x33')](),_0x13b127=>_0x13b127[_0x42e0('0x28')]()),this['_annotationViewToNarrowView'][_0x42e0('0x1b')](),_0x525e7c[_0x42e0('0x2f')](),this[_0x42e0('0x20')](),this['S']['stopListening'](),this[_0x42e0('0x21')]=!0x1;}[_0x42e0('0x28')](){this[_0x42e0('0x21')]&&this[_0x42e0('0xc')](),this['bodyCollection'][_0x42e0('0x1')]();}['_'](_0x5a24ba){if(this['v'][_0x42e0('0x12')](_0x5a24ba))return;const _0x3a73bf=this[_0x42e0('0x3b')][_0x42e0('0xf')][_0x42e0('0x24')];_0x3a73bf!==_0x5a24ba?(_0x3a73bf&&this['L'](_0x3a73bf),this['N'](_0x5a24ba),this[_0x42e0('0x3b')][_0x42e0('0xf')][_0x42e0('0x1b')](),this['balloonPanelView'][_0x42e0('0xf')][_0x42e0('0x26')](_0x5a24ba),this['D']()):this['D']();}['D'](){const _0x2d2a0c=this[_0x42e0('0x3b')][_0x42e0('0xf')][_0x42e0('0x24')];if(!this[_0x42e0('0x45')][_0x42e0('0x12')](_0x2d2a0c))return;const _0x26c7a5=this[_0x42e0('0x45')][_0x42e0('0x18')](_0x2d2a0c)[_0x42e0('0x10')],_0xd14d3a=function(){const _0xa45de8=_0xf9d9dd[_0x42e0('0x0')];return[_0xa45de8['southArrowNorthEast'],_0xa45de8[_0x42e0('0x35')],_0xa45de8['southArrowNorth'],_0xa45de8[_0x42e0('0x22')],_0xa45de8['southArrowNorthWest'],_0xa45de8['northArrowSouthWest']];}();this[_0x42e0('0x3b')][_0x42e0('0x31')]({'target':_0x26c7a5,'positions':_0xd14d3a});}['B'](){const _0x41a7fe=this[_0x42e0('0x3b')],_0x267f93=_0x41a7fe[_0x42e0('0xf')][_0x42e0('0x24')];_0x267f93&&(this['L'](_0x267f93),_0x41a7fe[_0x42e0('0x39')](),_0x41a7fe[_0x42e0('0xf')][_0x42e0('0x1b')]());}['N'](_0x44ab9e){this['listenTo'](_0x44ab9e,_0x42e0('0x19'),()=>this['D']()),this[_0x42e0('0x4')](_0x44ab9e,_0x42e0('0x6'),(_0x1fc6cb,_0xacdc58)=>{this['v'][_0x42e0('0x26')](_0x44ab9e),this['B'](),_0xacdc58();});}['L'](_0x276d63){this[_0x42e0('0x20')](_0x276d63);}}

@@ -23,2 +23,2 @@ /*

*/
const _0x2d65=['Annotations','destroy','plugins','updateHeight','view','last','_lastItem','container','class','top','change:_lastItem','refresh','change:bottom','bottom','max','targetRect','requires','items','config','bind','add','context','locale','length','_attachToContainer','customView','delete','getIndex','resetTop','push','content','_detachFromContainer','setContainer','clear','getSidebarItemView','change:top','unbind','set','getAnnotationView','list','_annotationViewToSidebarItemView','listenTo','init','targetTop','get','minHeight','remove','stopListening','element','appendChild','sidebar-invalid-layout:\x20Missing\x20positioned\x20container\x20for\x20the\x20editor\x20with\x20a\x20sidebar.'];(function(_0x51859a,_0x2d6524){const _0x426905=function(_0x2f3505){while(--_0x2f3505){_0x51859a['push'](_0x51859a['shift']());}};_0x426905(++_0x2d6524);}(_0x2d65,0x1ba));const _0x4269=function(_0x51859a,_0x2d6524){_0x51859a=_0x51859a-0x0;let _0x426905=_0x2d65[_0x51859a];return _0x426905;};import _0x561577 from'@ckeditor/ckeditor5-core/src/contextplugin';import _0x12bc69 from'./view/sidebarview';import _0x5ebb39 from'./view/sidebaritemview';import _0x1fc459 from'../annotations/annotations';import _0x2b63d2 from'@ckeditor/ckeditor5-utils/src/dom/rect';import _0x2538dc from'@ckeditor/ckeditor5-utils/src/dom/getpositionedancestor';import{isElement as _0x303d8c,throttle as _0x341223}from'lodash-es';import _0x5d00bc from'@ckeditor/ckeditor5-utils/src/ckeditorerror';export default class p extends _0x561577{static get[_0x4269('0x21')](){return[_0x1fc459];}static get['pluginName'](){return'Sidebar';}constructor(_0xa213eb){super(_0xa213eb),this['set'](_0x4269('0x17')),this[_0x4269('0x15')]=this['M'](),this[_0x4269('0x3')]('container',null),this['H']=0x19,this['T']=new Map(),this[_0x4269('0x6')]=new Map();}[_0x4269('0x8')](){this['R']=this[_0x4269('0x26')][_0x4269('0x13')][_0x4269('0xa')](_0x4269('0x11'));const _0x396b18=this[_0x4269('0x26')][_0x4269('0x23')][_0x4269('0xa')]('sidebar.container');_0x396b18&&this[_0x4269('0x31')](_0x396b18);}[_0x4269('0x31')](_0xa90c9c){if(!_0x303d8c(_0xa90c9c))throw new _0x5d00bc('sidebar-setcontainer-invalid-element:\x20Container\x20element\x20is\x20not\x20a\x20HTMLElement.');this[_0x4269('0x18')]=_0xa90c9c;}[_0x4269('0x29')]({viewClass:_0x35c4c1='',spaceBetweenItems:_0x22e00d=0x19}={}){const _0x4871ca=this['context'][_0x4269('0x13')][_0x4269('0xa')](_0x1fc459);if(!_0x303d8c(this['container']))throw new _0x5d00bc('sidebar-attachtocontainer-missing-container:\x20Missing\x20container\x20element.',this);this[_0x4269('0x18')][_0x4269('0xf')](this[_0x4269('0x15')][_0x4269('0xe')]),this[_0x4269('0x15')][_0x4269('0x19')]=_0x35c4c1,this['H']=_0x22e00d,this[_0x4269('0x7')](_0x4871ca,'change:activeView',(_0x59147b,_0x2fc6bc,_0x333ff9)=>{if(_0x333ff9){const _0x28c9a3=_0x4871ca[_0x4269('0x4')](_0x333ff9),_0xa29113=this[_0x4269('0x0')](_0x28c9a3);_0xa29113&&_0xa29113[_0x4269('0x2d')]();}}),this['listenTo'](_0x4871ca[_0x4269('0x22')],_0x4269('0xc'),(_0x150c5c,_0x1a92bc,_0x25ad88)=>{this['q'](_0x1a92bc);const _0x40d1ac=this['R'][_0x4269('0x22')][_0x4269('0xa')](_0x25ad88-0x1),_0x51e2a3=this['R'][_0x4269('0x22')]['get'](_0x25ad88);_0x40d1ac&&this[_0x4269('0x0')](_0x40d1ac)[_0x4269('0x2d')](),_0x51e2a3&&this[_0x4269('0x0')](_0x51e2a3)[_0x4269('0x2d')](),this['F']();}),_0x4871ca[_0x4269('0x1c')]();}[_0x4269('0x30')](){const _0x5e956d=this['R'];this['stopListening'](),this[_0x4269('0x15')][_0x4269('0xe')][_0x4269('0xc')]();for(const _0x4ba4cf of _0x5e956d[_0x4269('0x22')])this['q'](_0x4ba4cf);this[_0x4269('0x15')][_0x4269('0x5')][_0x4269('0x32')](),this['view']['class']='',this[_0x4269('0x17')]=null,this['W']=null;}['addView'](_0x368be0,_0x2cafef){_0x2cafef||(_0x2cafef=_0x368be0);const _0xc59b9b=this['R'],_0x248833=_0x368be0[_0x4269('0x2a')],_0x588eb2=_0xc59b9b['getTarget'](_0x248833),_0x21af67=this[_0x4269('0x18')],_0xdd68f1=this['j'](_0x21af67,_0x588eb2);if(!_0xdd68f1)throw new _0x5d00bc(_0x4269('0x10'));const _0xe6b00a=new _0x5ebb39(this[_0x4269('0x26')][_0x4269('0x27')]);this['T'][_0x4269('0x3')](_0xe6b00a,_0x368be0),this[_0x4269('0x6')][_0x4269('0x3')](_0x368be0,_0xe6b00a),_0xe6b00a[_0x4269('0x2f')][_0x4269('0x25')](_0x2cafef),_0xe6b00a[_0x4269('0x24')](_0x4269('0x9'))['to'](_0x368be0,_0x4269('0x20'),_0x524fd5=>{const _0x5b62aa=new _0x2b63d2(_0xdd68f1)[_0x4269('0x1a')],_0x3d7aa8=new _0x2b63d2(this[_0x4269('0x15')][_0x4269('0xe')])['top']-_0x5b62aa;return _0x524fd5['top']-_0x5b62aa-_0x3d7aa8;}),this[_0x4269('0x7')](_0xe6b00a,_0x4269('0x1'),_0x341223(()=>{if(!_0xe6b00a[_0x4269('0x2f')][_0x4269('0x28')])return;const _0x422d9e=this['G'](_0xe6b00a);if(!_0x422d9e)return;const _0x1cc51a=this['T'][_0x4269('0xa')](_0x422d9e);_0xc59b9b['activeView']===_0x1cc51a['customView']?this['J'](_0x422d9e,_0xe6b00a):this['K'](_0xe6b00a,_0x422d9e);},0xa,{'leading':!0x1})),this['listenTo'](_0xe6b00a,_0x4269('0x1d'),_0x341223(()=>{if(!_0xe6b00a['content'][_0x4269('0x28')])return;const _0x9d6e09=this['O'](_0xe6b00a);if(!_0x9d6e09)return;const _0x223700=this['T'][_0x4269('0xa')](_0x9d6e09);_0xc59b9b['activeView']===_0x223700[_0x4269('0x2a')]?this['K'](_0x9d6e09,_0xe6b00a):this['J'](_0xe6b00a,_0x9d6e09);},0xa,{'leading':!0x1}));const _0x42d83b=this['G'](_0xe6b00a);if(_0x42d83b){this['J'](_0x42d83b,_0xe6b00a)||_0xe6b00a[_0x4269('0x2d')]();}else _0xe6b00a[_0x4269('0x2d')]();return this['F'](),_0xe6b00a;}[_0x4269('0x0')](_0x566e1f){return this[_0x4269('0x6')][_0x4269('0xa')](_0x566e1f);}[_0x4269('0x12')](){this['view']['destroy']();}['q'](_0xdc5ee7){const _0x32ab9e=this[_0x4269('0x0')](_0xdc5ee7);this[_0x4269('0xd')](_0x32ab9e),_0x32ab9e[_0x4269('0x12')](),this[_0x4269('0x6')][_0x4269('0x2b')](_0xdc5ee7),this['T'][_0x4269('0x2b')](_0x32ab9e);}['M'](){const _0x5c945=new _0x12bc69(this[_0x4269('0x26')][_0x4269('0x27')]);return _0x5c945['render'](),this['on'](_0x4269('0x1b'),(_0x35013f,_0x48d632,_0x4b1f3e,_0x2fe40b)=>{_0x2fe40b&&_0x5c945[_0x4269('0x2')](_0x4269('0xb')),_0x4b1f3e?_0x5c945['bind'](_0x4269('0xb'))['to'](_0x4b1f3e,_0x4269('0x1e')):_0x5c945[_0x4269('0xb')]=null;}),_0x5c945;}['F'](){this['_lastItem']=this[_0x4269('0x0')](this['R']['items'][_0x4269('0x16')]);}['G'](_0x39b9e3){const _0x499c29=this['R'][_0x4269('0x22')],_0x49e620=this['T']['get'](_0x39b9e3),_0x1086e1=_0x499c29[_0x4269('0xa')](_0x499c29[_0x4269('0x2c')](_0x49e620)-0x1);return this[_0x4269('0x0')](_0x1086e1);}['O'](_0x326de8){const _0x1ace43=this['R'][_0x4269('0x22')],_0x117ef0=this['T'][_0x4269('0xa')](_0x326de8),_0x139184=_0x1ace43[_0x4269('0xa')](_0x1ace43[_0x4269('0x2c')](_0x117ef0)+0x1);return this['getSidebarItemView'](_0x139184);}['K'](_0x385815,_0x23ad59){_0x385815[_0x4269('0x14')]();const _0x313d99=S(_0x23ad59[_0x4269('0x1e')]+this['H'],_0x385815[_0x4269('0x1a')]);return!!_0x313d99&&(_0x23ad59['top']-=_0x313d99,!0x0);}['J'](_0x174bb4,_0x39102f){_0x174bb4[_0x4269('0x14')]();const _0x5ae615=S(_0x174bb4[_0x4269('0x1e')]+this['H'],_0x39102f['top']);return!!_0x5ae615&&(_0x39102f['top']+=_0x5ae615,!0x0);}['j'](_0x44da73,_0xe22a8a){if(!this['W']){const _0x5f3ad8=V(_0x44da73),_0x542a1c=V(_0xe22a8a);this['W']=function(_0x35b58a,_0x1ca22d){for(let _0x1a5f71=0x0;_0x1a5f71<_0x35b58a[_0x4269('0x28')];_0x1a5f71++)for(let _0x4ba473=0x0;_0x4ba473<_0x1ca22d[_0x4269('0x28')];_0x4ba473++)if(_0x35b58a[_0x1a5f71]===_0x1ca22d[_0x4ba473])return _0x35b58a[_0x1a5f71];}(_0x5f3ad8,_0x542a1c);}return this['W'];}}function V(_0x1de234){const _0x250c9d=[];let _0x3478a7=_0x1de234;for(;null!==_0x3478a7;)_0x3478a7=_0x2538dc(_0x3478a7),_0x3478a7&&_0x250c9d[_0x4269('0x2e')](_0x3478a7);return _0x250c9d;}function S(_0x2a0c92,_0x37154d){return Math[_0x4269('0x1f')](_0x2a0c92-_0x37154d,0x0);}
const _0x5bd3=['max','locale','minHeight','get','items','config','getAnnotationView','push','init','Sidebar','getSidebarItemView','destroy','list','view','content','activeView','class','add','container','element','updateHeight','bind','refresh','Annotations','_detachFromContainer','render','_lastItem','unbind','context','remove','stopListening','top','resetTop','_attachToContainer','listenTo','_annotationViewToSidebarItemView','set','targetRect','last','customView','bottom','pluginName','sidebar-setcontainer-invalid-element:\x20Container\x20element\x20is\x20not\x20a\x20HTMLElement.','getIndex','change:top','change:bottom','delete','change:activeView','sidebar-attachtocontainer-missing-container:\x20Missing\x20container\x20element.','sidebar-invalid-layout:\x20Missing\x20positioned\x20container\x20for\x20the\x20editor\x20with\x20a\x20sidebar.','length','change:_lastItem','targetTop','plugins'];(function(_0x534798,_0x5bd30f){const _0x31e314=function(_0x53bec0){while(--_0x53bec0){_0x534798['push'](_0x534798['shift']());}};_0x31e314(++_0x5bd30f);}(_0x5bd3,0x79));const _0x31e3=function(_0x534798,_0x5bd30f){_0x534798=_0x534798-0x0;let _0x31e314=_0x5bd3[_0x534798];return _0x31e314;};import _0x94dcec from'@ckeditor/ckeditor5-core/src/contextplugin';import _0x21cdba from'./view/sidebarview';import _0x87804e from'./view/sidebaritemview';import _0x152d90 from'../annotations/annotations';import _0x513a29 from'@ckeditor/ckeditor5-utils/src/dom/rect';import _0x3b0153 from'@ckeditor/ckeditor5-utils/src/dom/getpositionedancestor';import{isElement as _0x5873fe,throttle as _0x583e02}from'lodash-es';import _0x12848b from'@ckeditor/ckeditor5-utils/src/ckeditorerror';export default class p extends _0x94dcec{static get['requires'](){return[_0x152d90];}static get[_0x31e3('0x1c')](){return _0x31e3('0x32');}constructor(_0x3fde46){super(_0x3fde46),this[_0x31e3('0x17')](_0x31e3('0xd')),this[_0x31e3('0x0')]=this['M'](),this[_0x31e3('0x17')](_0x31e3('0x5'),null),this['H']=0x19,this['T']=new Map(),this['_annotationViewToSidebarItemView']=new Map();}[_0x31e3('0x31')](){this['R']=this['context'][_0x31e3('0x28')]['get'](_0x31e3('0xa'));const _0x5ee816=this[_0x31e3('0xf')][_0x31e3('0x2e')]['get']('sidebar.container');_0x5ee816&&this['setContainer'](_0x5ee816);}['setContainer'](_0x4716a7){if(!_0x5873fe(_0x4716a7))throw new _0x12848b(_0x31e3('0x1d'));this[_0x31e3('0x5')]=_0x4716a7;}[_0x31e3('0x14')]({viewClass:_0x21a1ba='',spaceBetweenItems:_0x2cdad5=0x19}={}){const _0x42dbf0=this[_0x31e3('0xf')][_0x31e3('0x28')][_0x31e3('0x2c')](_0x152d90);if(!_0x5873fe(this[_0x31e3('0x5')]))throw new _0x12848b(_0x31e3('0x23'),this);this['container']['appendChild'](this['view'][_0x31e3('0x6')]),this[_0x31e3('0x0')]['class']=_0x21a1ba,this['H']=_0x2cdad5,this[_0x31e3('0x15')](_0x42dbf0,_0x31e3('0x22'),(_0xafdd63,_0x71cd12,_0x46d22f)=>{if(_0x46d22f){const _0x3ad924=_0x42dbf0[_0x31e3('0x2f')](_0x46d22f),_0x27f0e9=this[_0x31e3('0x33')](_0x3ad924);_0x27f0e9&&_0x27f0e9[_0x31e3('0x13')]();}}),this[_0x31e3('0x15')](_0x42dbf0['items'],_0x31e3('0x10'),(_0x5cb89d,_0x160c8a,_0x57d598)=>{this['q'](_0x160c8a);const _0x4b5faa=this['R'][_0x31e3('0x2d')][_0x31e3('0x2c')](_0x57d598-0x1),_0x42d1ce=this['R'][_0x31e3('0x2d')][_0x31e3('0x2c')](_0x57d598);_0x4b5faa&&this[_0x31e3('0x33')](_0x4b5faa)[_0x31e3('0x13')](),_0x42d1ce&&this[_0x31e3('0x33')](_0x42d1ce)[_0x31e3('0x13')](),this['F']();}),_0x42dbf0[_0x31e3('0x9')]();}[_0x31e3('0xb')](){const _0x4915f7=this['R'];this[_0x31e3('0x11')](),this[_0x31e3('0x0')]['element'][_0x31e3('0x10')]();for(const _0x4d9bde of _0x4915f7[_0x31e3('0x2d')])this['q'](_0x4d9bde);this[_0x31e3('0x0')][_0x31e3('0x35')]['clear'](),this['view'][_0x31e3('0x3')]='',this[_0x31e3('0xd')]=null,this['W']=null;}['addView'](_0x28b209,_0x5486d4){_0x5486d4||(_0x5486d4=_0x28b209);const _0x340369=this['R'],_0x282ce0=_0x28b209[_0x31e3('0x1a')],_0x4a3481=_0x340369['getTarget'](_0x282ce0),_0x6e82ce=this[_0x31e3('0x5')],_0x46ccab=this['j'](_0x6e82ce,_0x4a3481);if(!_0x46ccab)throw new _0x12848b(_0x31e3('0x24'));const _0x7e3818=new _0x87804e(this[_0x31e3('0xf')]['locale']);this['T'][_0x31e3('0x17')](_0x7e3818,_0x28b209),this['_annotationViewToSidebarItemView'][_0x31e3('0x17')](_0x28b209,_0x7e3818),_0x7e3818[_0x31e3('0x1')][_0x31e3('0x4')](_0x5486d4),_0x7e3818[_0x31e3('0x8')](_0x31e3('0x27'))['to'](_0x28b209,_0x31e3('0x18'),_0x706052=>{const _0x278148=new _0x513a29(_0x46ccab)[_0x31e3('0x12')],_0x27c5ba=new _0x513a29(this[_0x31e3('0x0')][_0x31e3('0x6')])[_0x31e3('0x12')]-_0x278148;return _0x706052[_0x31e3('0x12')]-_0x278148-_0x27c5ba;}),this[_0x31e3('0x15')](_0x7e3818,_0x31e3('0x1f'),_0x583e02(()=>{if(!_0x7e3818['content'][_0x31e3('0x25')])return;const _0x5e9874=this['G'](_0x7e3818);if(!_0x5e9874)return;const _0x2ec89e=this['T'][_0x31e3('0x2c')](_0x5e9874);_0x340369['activeView']===_0x2ec89e[_0x31e3('0x1a')]?this['J'](_0x5e9874,_0x7e3818):this['K'](_0x7e3818,_0x5e9874);},0xa,{'leading':!0x1})),this[_0x31e3('0x15')](_0x7e3818,_0x31e3('0x20'),_0x583e02(()=>{if(!_0x7e3818[_0x31e3('0x1')][_0x31e3('0x25')])return;const _0x2f68c0=this['O'](_0x7e3818);if(!_0x2f68c0)return;const _0x41ee23=this['T'][_0x31e3('0x2c')](_0x2f68c0);_0x340369[_0x31e3('0x2')]===_0x41ee23[_0x31e3('0x1a')]?this['K'](_0x2f68c0,_0x7e3818):this['J'](_0x7e3818,_0x2f68c0);},0xa,{'leading':!0x1}));const _0x1c4001=this['G'](_0x7e3818);if(_0x1c4001){this['J'](_0x1c4001,_0x7e3818)||_0x7e3818[_0x31e3('0x13')]();}else _0x7e3818[_0x31e3('0x13')]();return this['F'](),_0x7e3818;}[_0x31e3('0x33')](_0x135e27){return this['_annotationViewToSidebarItemView'][_0x31e3('0x2c')](_0x135e27);}[_0x31e3('0x34')](){this['view'][_0x31e3('0x34')]();}['q'](_0x31cf0e){const _0x1142c5=this[_0x31e3('0x33')](_0x31cf0e);this['stopListening'](_0x1142c5),_0x1142c5[_0x31e3('0x34')](),this[_0x31e3('0x16')][_0x31e3('0x21')](_0x31cf0e),this['T'][_0x31e3('0x21')](_0x1142c5);}['M'](){const _0x26e1a1=new _0x21cdba(this[_0x31e3('0xf')][_0x31e3('0x2a')]);return _0x26e1a1[_0x31e3('0xc')](),this['on'](_0x31e3('0x26'),(_0x221cc7,_0x2afe51,_0xa99a24,_0x49a962)=>{_0x49a962&&_0x26e1a1[_0x31e3('0xe')]('minHeight'),_0xa99a24?_0x26e1a1['bind'](_0x31e3('0x2b'))['to'](_0xa99a24,'bottom'):_0x26e1a1[_0x31e3('0x2b')]=null;}),_0x26e1a1;}['F'](){this[_0x31e3('0xd')]=this[_0x31e3('0x33')](this['R'][_0x31e3('0x2d')][_0x31e3('0x19')]);}['G'](_0x10cc2c){const _0x56611a=this['R'][_0x31e3('0x2d')],_0x4a6837=this['T'][_0x31e3('0x2c')](_0x10cc2c),_0x1b7b7f=_0x56611a['get'](_0x56611a[_0x31e3('0x1e')](_0x4a6837)-0x1);return this[_0x31e3('0x33')](_0x1b7b7f);}['O'](_0x1f1a56){const _0x538c6a=this['R'][_0x31e3('0x2d')],_0x4f46ee=this['T'][_0x31e3('0x2c')](_0x1f1a56),_0x43c4ee=_0x538c6a[_0x31e3('0x2c')](_0x538c6a[_0x31e3('0x1e')](_0x4f46ee)+0x1);return this[_0x31e3('0x33')](_0x43c4ee);}['K'](_0x1f859b,_0xc6253f){_0x1f859b['updateHeight']();const _0x126aa1=S(_0xc6253f[_0x31e3('0x1b')]+this['H'],_0x1f859b[_0x31e3('0x12')]);return!!_0x126aa1&&(_0xc6253f[_0x31e3('0x12')]-=_0x126aa1,!0x0);}['J'](_0x3cd0ce,_0xdf7f35){_0x3cd0ce[_0x31e3('0x7')]();const _0x56e8f8=S(_0x3cd0ce['bottom']+this['H'],_0xdf7f35[_0x31e3('0x12')]);return!!_0x56e8f8&&(_0xdf7f35[_0x31e3('0x12')]+=_0x56e8f8,!0x0);}['j'](_0x47626f,_0x15f255){if(!this['W']){const _0x2ed56b=V(_0x47626f),_0x53bb2e=V(_0x15f255);this['W']=function(_0x3d1644,_0x259f9c){for(let _0xec0aa3=0x0;_0xec0aa3<_0x3d1644[_0x31e3('0x25')];_0xec0aa3++)for(let _0x520269=0x0;_0x520269<_0x259f9c[_0x31e3('0x25')];_0x520269++)if(_0x3d1644[_0xec0aa3]===_0x259f9c[_0x520269])return _0x3d1644[_0xec0aa3];}(_0x2ed56b,_0x53bb2e);}return this['W'];}}function V(_0x556250){const _0x2b6600=[];let _0x3ab1b2=_0x556250;for(;null!==_0x3ab1b2;)_0x3ab1b2=_0x3b0153(_0x3ab1b2),_0x3ab1b2&&_0x2b6600[_0x31e3('0x30')](_0x3ab1b2);return _0x2b6600;}function S(_0x443aba,_0x10c3b5){return Math[_0x31e3('0x29')](_0x443aba-_0x10c3b5,0x0);}

@@ -23,2 +23,2 @@ /*

*/
const _0x3a47=['children','isDirty','ck-annotation-counter__badge--','icon','number','ck-annotation-counter','bind','set','annotationType','ck-annotation-counter__badge','add','counterView','setTemplate','_badge','ck-annotation-counter__badge--edit-mode','extendTemplate'];(function(_0x53a2c4,_0x3a478a){const _0x15d2b1=function(_0x4ef4fb){while(--_0x4ef4fb){_0x53a2c4['push'](_0x53a2c4['shift']());}};_0x15d2b1(++_0x3a478a);}(_0x3a47,0x1c3));const _0x15d2=function(_0x53a2c4,_0x3a478a){_0x53a2c4=_0x53a2c4-0x0;let _0x15d2b1=_0x3a47[_0x53a2c4];return _0x15d2b1;};import _0xc3a78f from'@ckeditor/ckeditor5-ui/src/button/buttonview';import _0x26cf3d from'@ckeditor/ckeditor5-ui/src/view';import _0x20785b from'../../../theme/icons/add-comment-inverted.svg';export default class b extends _0xc3a78f{constructor(_0x1b7a11){super(_0x1b7a11);const _0x1a5f7b=this['bindTemplate'];this[_0x15d2('0x4')](_0x15d2('0xe'),!0x1),this['set'](_0x15d2('0x1'),0x0),this[_0x15d2('0x3')](_0x15d2('0xa'))['to'](this,_0x15d2('0xe'),this,_0x15d2('0x1'),(_0x25b3cc,_0x225d25)=>_0x25b3cc?'...':_0x225d25),this['set']('annotationType',''),this[_0x15d2('0x0')]=_0x20785b,this[_0x15d2('0xc')]({'attributes':{'class':[_0x15d2('0x2')]}}),this[_0x15d2('0x8')]=new _0x26cf3d(),this[_0x15d2('0x8')][_0x15d2('0x9')]({'tag':'span','attributes':{'class':[_0x15d2('0x6'),_0x1a5f7b['to'](_0x15d2('0x5'),_0x2c0bfc=>_0x15d2('0xf')+_0x2c0bfc),_0x1a5f7b['if'](_0x15d2('0xe'),_0x15d2('0xb'))]},'children':[{'text':_0x1a5f7b['to'](_0x15d2('0xa'))}]}),this[_0x15d2('0xd')][_0x15d2('0x7')](this[_0x15d2('0x8')]);}}
const _0x32c6=['children','setTemplate','add','span','number','counterView','extendTemplate','bind','set','_badge','annotationType','icon','ck-annotation-counter__badge--','isDirty'];(function(_0x467468,_0x32c660){const _0x49715c=function(_0x505fd2){while(--_0x505fd2){_0x467468['push'](_0x467468['shift']());}};_0x49715c(++_0x32c660);}(_0x32c6,0x18c));const _0x4971=function(_0x467468,_0x32c660){_0x467468=_0x467468-0x0;let _0x49715c=_0x32c6[_0x467468];return _0x49715c;};import _0xc3f0e3 from'@ckeditor/ckeditor5-ui/src/button/buttonview';import _0x49a57a from'@ckeditor/ckeditor5-ui/src/view';import _0x5e78e0 from'../../../theme/icons/add-comment-inverted.svg';export default class b extends _0xc3f0e3{constructor(_0xced413){super(_0xced413);const _0x5757a9=this['bindTemplate'];this[_0x4971('0x4')](_0x4971('0x9'),!0x1),this[_0x4971('0x4')](_0x4971('0x0'),0x0),this[_0x4971('0x3')](_0x4971('0x5'))['to'](this,_0x4971('0x9'),this,_0x4971('0x0'),(_0x452576,_0x300749)=>_0x452576?'...':_0x300749),this['set'](_0x4971('0x6'),''),this[_0x4971('0x7')]=_0x5e78e0,this[_0x4971('0x2')]({'attributes':{'class':['ck-annotation-counter']}}),this[_0x4971('0x1')]=new _0x49a57a(),this[_0x4971('0x1')][_0x4971('0xb')]({'tag':_0x4971('0xd'),'attributes':{'class':['ck-annotation-counter__badge',_0x5757a9['to'](_0x4971('0x6'),_0x31a842=>_0x4971('0x8')+_0x31a842),_0x5757a9['if']('isDirty','ck-annotation-counter__badge--edit-mode')]},'children':[{'text':_0x5757a9['to'](_0x4971('0x5'))}]}),this[_0x4971('0xa')][_0x4971('0xc')](this[_0x4971('0x1')]);}}

@@ -23,2 +23,2 @@ /*

*/
const _0x9739=['focus','customView','keystrokes','createCollection','attach','ck-annotation-wrapper--active','set','focusTracker','ck-annotation-wrapper','fire','render','isDirty','add','isActive','listenTo','destroy','content','height','length','clientHeight','bindTemplate','Esc','element','type','detach','div','first'];(function(_0x5875ef,_0x973903){const _0x4a484e=function(_0x1f689e){while(--_0x1f689e){_0x5875ef['push'](_0x5875ef['shift']());}};_0x4a484e(++_0x973903);}(_0x9739,0x1d7));const _0x4a48=function(_0x5875ef,_0x973903){_0x5875ef=_0x5875ef-0x0;let _0x4a484e=_0x9739[_0x5875ef];return _0x4a484e;};import _0x4f6804 from'@ckeditor/ckeditor5-ui/src/view';import _0x4e6d16 from'@ckeditor/ckeditor5-utils/src/focustracker';import _0xb6f706 from'@ckeditor/ckeditor5-utils/src/keystrokehandler';import _0x120ddf from'@ckeditor/ckeditor5-utils/src/uid';import _0x55788c from'../../utils/createmutationobserver';export default class s extends _0x4f6804{constructor(_0x512d08,_0x3f12de){super(_0x512d08),this['id']=_0x120ddf(),this[_0x4a48('0x16')]=new _0x4e6d16(),this[_0x4a48('0x11')]=new _0xb6f706(),this[_0x4a48('0x11')][_0x4a48('0x15')](_0x4a48('0x9'),(_0x16b7b6,_0x481f8d)=>this[_0x4a48('0x18')]('Esc',_0x481f8d)),this['set']('targetRect',{'top':0x0,'right':0x0,'bottom':0x0,'left':0x0}),this[_0x4a48('0x15')](_0x4a48('0x5'),0x0),this[_0x4a48('0x15')](_0x4a48('0x1'),!0x1),this[_0x4a48('0x15')](_0x4a48('0x1a'),!0x1),this[_0x4a48('0x15')](_0x4a48('0x6'),0x0),this['set'](_0x4a48('0xb'),''),this['P']=_0x55788c(()=>this['U']()),this[_0x4a48('0x4')]=this[_0x4a48('0x12')](),this['content']['add'](_0x3f12de);const _0x1e58ac=this[_0x4a48('0x8')];this['setTemplate']({'tag':_0x4a48('0xd'),'attributes':{'class':['ck',_0x4a48('0x17'),'ck-rounded-corners',_0x1e58ac['if']('isActive',_0x4a48('0x14'))],'tabindex':-0x1},'children':this[_0x4a48('0x4')]});}get[_0x4a48('0x10')](){return this[_0x4a48('0x4')][_0x4a48('0xe')];}[_0x4a48('0x19')](){super['render'](),this['focusTracker'][_0x4a48('0x0')](this[_0x4a48('0xa')]),this[_0x4a48('0x11')][_0x4a48('0x2')](this[_0x4a48('0xa')]),this['P'][_0x4a48('0x13')](this[_0x4a48('0xa')]);}[_0x4a48('0x3')](){this['content']['clear'](),this[_0x4a48('0x11')][_0x4a48('0x3')](),this[_0x4a48('0x16')][_0x4a48('0x3')](),this['P'][_0x4a48('0xc')](),super[_0x4a48('0x3')]();}[_0x4a48('0xf')](){this[_0x4a48('0xa')][_0x4a48('0xf')]();}['U'](){const _0x1a518f=this[_0x4a48('0xa')][_0x4a48('0x7')];_0x1a518f&&(this[_0x4a48('0x5')]=_0x1a518f);}}
const _0x47dd=['Esc','focus','attach','detach','setTemplate','clientHeight','ck-annotation-wrapper--active','height','content','isActive','render','customView','focusTracker','fire','add','set','first','element','type','destroy','isDirty','targetRect','ck-annotation-wrapper'];(function(_0x2216f9,_0x47dde2){const _0xe3ae6f=function(_0x240a27){while(--_0x240a27){_0x2216f9['push'](_0x2216f9['shift']());}};_0xe3ae6f(++_0x47dde2);}(_0x47dd,0xf3));const _0xe3ae=function(_0x2216f9,_0x47dde2){_0x2216f9=_0x2216f9-0x0;let _0xe3ae6f=_0x47dd[_0x2216f9];return _0xe3ae6f;};import _0x578c5e from'@ckeditor/ckeditor5-ui/src/view';import _0x455a48 from'@ckeditor/ckeditor5-utils/src/focustracker';import _0x532136 from'@ckeditor/ckeditor5-utils/src/keystrokehandler';import _0x33a12b from'@ckeditor/ckeditor5-utils/src/uid';import _0x3ff1c6 from'../../utils/createmutationobserver';export default class s extends _0x578c5e{constructor(_0x30dcda,_0x5e2f19){super(_0x30dcda),this['id']=_0x33a12b(),this[_0xe3ae('0x16')]=new _0x455a48(),this['keystrokes']=new _0x532136(),this['keystrokes']['set']('Esc',(_0x418b0e,_0x5005c3)=>this[_0xe3ae('0x0')](_0xe3ae('0xa'),_0x5005c3)),this[_0xe3ae('0x2')](_0xe3ae('0x8'),{'top':0x0,'right':0x0,'bottom':0x0,'left':0x0}),this[_0xe3ae('0x2')](_0xe3ae('0x11'),0x0),this[_0xe3ae('0x2')](_0xe3ae('0x13'),!0x1),this[_0xe3ae('0x2')](_0xe3ae('0x7'),!0x1),this[_0xe3ae('0x2')]('length',0x0),this[_0xe3ae('0x2')](_0xe3ae('0x5'),''),this['P']=_0x3ff1c6(()=>this['U']()),this[_0xe3ae('0x12')]=this['createCollection'](),this[_0xe3ae('0x12')]['add'](_0x5e2f19);const _0x5029e4=this['bindTemplate'];this[_0xe3ae('0xe')]({'tag':'div','attributes':{'class':['ck',_0xe3ae('0x9'),'ck-rounded-corners',_0x5029e4['if'](_0xe3ae('0x13'),_0xe3ae('0x10'))],'tabindex':-0x1},'children':this[_0xe3ae('0x12')]});}get[_0xe3ae('0x15')](){return this[_0xe3ae('0x12')][_0xe3ae('0x3')];}[_0xe3ae('0x14')](){super[_0xe3ae('0x14')](),this[_0xe3ae('0x16')][_0xe3ae('0x1')](this[_0xe3ae('0x4')]),this['keystrokes']['listenTo'](this[_0xe3ae('0x4')]),this['P'][_0xe3ae('0xc')](this[_0xe3ae('0x4')]);}['destroy'](){this[_0xe3ae('0x12')]['clear'](),this['keystrokes']['destroy'](),this[_0xe3ae('0x16')]['destroy'](),this['P'][_0xe3ae('0xd')](),super[_0xe3ae('0x6')]();}[_0xe3ae('0xb')](){this[_0xe3ae('0x4')][_0xe3ae('0xb')]();}['U'](){const _0x35acda=this[_0xe3ae('0x4')][_0xe3ae('0xf')];_0x35acda&&(this[_0xe3ae('0x11')]=_0x35acda);}}

@@ -23,2 +23,2 @@ /*

*/
const _0x3b30=['height','clear','setTemplate','targetTop','set','ck-sidebar-item--no-animation','detach','div','attach','bottom','bind','element','change:targetTop','top','render','createCollection','updateHeight','resetTop','content','destroy','isAnimationDisabled'];(function(_0x46e30b,_0x3b30e6){const _0xc16932=function(_0xbb3d8e){while(--_0xbb3d8e){_0x46e30b['push'](_0x46e30b['shift']());}};_0xc16932(++_0x3b30e6);}(_0x3b30,0x18e));const _0xc169=function(_0x46e30b,_0x3b30e6){_0x46e30b=_0x46e30b-0x0;let _0xc16932=_0x3b30[_0x46e30b];return _0xc16932;};import _0x491ee7 from'@ckeditor/ckeditor5-ui/src/view';import _0x3eba3a from'@ckeditor/ckeditor5-utils/src/dom/tounit';import _0x4b2f8a from'../../utils/createmutationobserver';const z=_0x3eba3a('px');export default class I extends _0x491ee7{constructor(_0x273090){super(_0x273090),this[_0xc169('0x5')](_0xc169('0xe')),this[_0xc169('0x5')](_0xc169('0x1'),0x0),this[_0xc169('0xb')](_0xc169('0xa'))['to'](this,_0xc169('0xe'),this,_0xc169('0x1'),(_0x2c2ddb,_0x4d8f0a)=>(_0x2c2ddb||0x0)+_0x4d8f0a),this[_0xc169('0x5')](_0xc169('0x4'),0x0),this['on'](_0xc169('0xd'),()=>this[_0xc169('0x12')]()),this[_0xc169('0x5')](_0xc169('0x0'),!0x1),this['P']=_0x4b2f8a(()=>this[_0xc169('0x11')]()),this['content']=this[_0xc169('0x10')]();const _0xa17c85=this['bindTemplate'];this[_0xc169('0x3')]({'tag':_0xc169('0x8'),'attributes':{'class':['ck-sidebar-item',_0xa17c85['to'](_0xc169('0x0'),_0x5ec838=>_0x5ec838?_0xc169('0x6'):'')],'style':{'top':_0xa17c85['to'](_0xc169('0xe'),z)}},'children':this[_0xc169('0x13')]});}['render'](){super[_0xc169('0xf')](),this['P'][_0xc169('0x9')](this['element']);}['updateHeight'](){const _0x4729a2=this[_0xc169('0xc')]['clientHeight'];_0x4729a2&&(this[_0xc169('0x1')]=_0x4729a2);}[_0xc169('0x12')](){this['top']=this['targetTop'];}[_0xc169('0x14')](){this[_0xc169('0x13')][_0xc169('0x2')](),this['P'][_0xc169('0x7')](),super['destroy']();}}
const _0x1541=['top','clientHeight','setTemplate','set','updateHeight','div','clear','content','targetTop','bottom','change:targetTop','detach','resetTop','createCollection','element','height','destroy','attach','ck-sidebar-item','render'];(function(_0x51d032,_0x154103){const _0x396eed=function(_0x4ada4d){while(--_0x4ada4d){_0x51d032['push'](_0x51d032['shift']());}};_0x396eed(++_0x154103);}(_0x1541,0x1bc));const _0x396e=function(_0x51d032,_0x154103){_0x51d032=_0x51d032-0x0;let _0x396eed=_0x1541[_0x51d032];return _0x396eed;};import _0x2e4944 from'@ckeditor/ckeditor5-ui/src/view';import _0x19e799 from'@ckeditor/ckeditor5-utils/src/dom/tounit';import _0x2daa96 from'../../utils/createmutationobserver';const z=_0x19e799('px');export default class I extends _0x2e4944{constructor(_0x1de408){super(_0x1de408),this['set'](_0x396e('0x10')),this[_0x396e('0x13')](_0x396e('0xb'),0x0),this['bind'](_0x396e('0x5'))['to'](this,'top',this,_0x396e('0xb'),(_0xb15d70,_0x5a2be5)=>(_0xb15d70||0x0)+_0x5a2be5),this[_0x396e('0x13')]('targetTop',0x0),this['on'](_0x396e('0x6'),()=>this[_0x396e('0x8')]()),this[_0x396e('0x13')]('isAnimationDisabled',!0x1),this['P']=_0x2daa96(()=>this['updateHeight']()),this[_0x396e('0x3')]=this[_0x396e('0x9')]();const _0xfa35ec=this['bindTemplate'];this[_0x396e('0x12')]({'tag':_0x396e('0x1'),'attributes':{'class':[_0x396e('0xe'),_0xfa35ec['to']('isAnimationDisabled',_0x738ec6=>_0x738ec6?'ck-sidebar-item--no-animation':'')],'style':{'top':_0xfa35ec['to'](_0x396e('0x10'),z)}},'children':this[_0x396e('0x3')]});}['render'](){super[_0x396e('0xf')](),this['P'][_0x396e('0xd')](this[_0x396e('0xa')]);}[_0x396e('0x0')](){const _0x487200=this[_0x396e('0xa')][_0x396e('0x11')];_0x487200&&(this['height']=_0x487200);}[_0x396e('0x8')](){this[_0x396e('0x10')]=this[_0x396e('0x4')];}[_0x396e('0xc')](){this[_0x396e('0x3')][_0x396e('0x2')](),this['P'][_0x396e('0x7')](),super[_0x396e('0xc')]();}}

@@ -23,2 +23,2 @@ /*

*/
const _0x340c=['ck-sidebar','div','set','minHeight','list','class','setTemplate','bindTemplate'];(function(_0x21fb47,_0x340c07){const _0x5d55f7=function(_0x2d4bf6){while(--_0x2d4bf6){_0x21fb47['push'](_0x21fb47['shift']());}};_0x5d55f7(++_0x340c07);}(_0x340c,0xf2));const _0x5d55=function(_0x21fb47,_0x340c07){_0x21fb47=_0x21fb47-0x0;let _0x5d55f7=_0x340c[_0x21fb47];return _0x5d55f7;};import _0x5bac70 from'@ckeditor/ckeditor5-ui/src/view';import _0x883e42 from'@ckeditor/ckeditor5-utils/src/dom/tounit';import'../../../theme/sidebar.css';const z=_0x883e42('px');export default class _ extends _0x5bac70{constructor(_0xa441b8){super(_0xa441b8);const _0x27c650=this[_0x5d55('0x5')];this['set'](_0x5d55('0x1'),0x0),this[_0x5d55('0x0')](_0x5d55('0x3'),''),this[_0x5d55('0x2')]=this['createCollection'](),this[_0x5d55('0x4')]({'tag':_0x5d55('0x7'),'attributes':{'class':['ck',_0x5d55('0x6'),'ck-reset',_0x27c650['to'](_0x5d55('0x3'))],'style':{'minHeight':_0x27c650['to']('minHeight',_0x5af721=>_0x5af721?z(_0x5af721+0xa):null)}},'children':this['list']});}}
const _0x195a=['set','bindTemplate','minHeight','ck-sidebar','class','setTemplate','createCollection','div','list'];(function(_0x17cf57,_0x195af5){const _0x24b94d=function(_0x57f0df){while(--_0x57f0df){_0x17cf57['push'](_0x17cf57['shift']());}};_0x24b94d(++_0x195af5);}(_0x195a,0xc8));const _0x24b9=function(_0x17cf57,_0x195af5){_0x17cf57=_0x17cf57-0x0;let _0x24b94d=_0x195a[_0x17cf57];return _0x24b94d;};import _0x4a1326 from'@ckeditor/ckeditor5-ui/src/view';import _0x33dfe7 from'@ckeditor/ckeditor5-utils/src/dom/tounit';import'../../../theme/sidebar.css';const z=_0x33dfe7('px');export default class _ extends _0x4a1326{constructor(_0x295042){super(_0x295042);const _0x39d6c4=this[_0x24b9('0x8')];this[_0x24b9('0x7')](_0x24b9('0x0'),0x0),this[_0x24b9('0x7')](_0x24b9('0x2'),''),this['list']=this[_0x24b9('0x4')](),this[_0x24b9('0x3')]({'tag':_0x24b9('0x5'),'attributes':{'class':['ck',_0x24b9('0x1'),'ck-reset',_0x39d6c4['to'](_0x24b9('0x2'))],'style':{'minHeight':_0x39d6c4['to'](_0x24b9('0x0'),_0x2ae29d=>_0x2ae29d?z(_0x2ae29d+0xa):null)}},'children':this[_0x24b9('0x6')]});}}

@@ -23,2 +23,2 @@ /*

*/
const _0x324c=['context','set:container','attach','listenTo','container','change:container','_attachToContainer','list','stopListening','off','widesidebar-detach-not-attached:\x20Cannot\x20detach\x20not\x20attached\x20sidebar.','isAttached','detach','destroy','widesidebar-attach-already-attached:\x20Cannot\x20attach\x20wide\x20sidebar\x20twice.','Annotations','Sidebar','wideSidebar','pluginName','plugins','get','_detachFromContainer','using'];(function(_0x3616b9,_0x324c1b){const _0x4d8ae7=function(_0x560f2d){while(--_0x560f2d){_0x3616b9['push'](_0x3616b9['shift']());}};_0x4d8ae7(++_0x324c1b);}(_0x324c,0x147));const _0x4d8a=function(_0x3616b9,_0x324c1b){_0x3616b9=_0x3616b9-0x0;let _0x4d8ae7=_0x324c[_0x3616b9];return _0x4d8ae7;};import _0x51ee3e from'@ckeditor/ckeditor5-core/src/contextplugin';import _0x1d6781 from'../annotations/annotations';import _0x3ceaed from'./sidebar';import _0x4e9b79 from'@ckeditor/ckeditor5-utils/src/ckeditorerror';export default class N extends _0x51ee3e{static get['requires'](){return[_0x3ceaed,_0x1d6781];}static get[_0x4d8a('0xd')](){return'WideSidebar';}constructor(_0x4c3a92){super(_0x4c3a92),this[_0x4d8a('0x6')]=!0x1;}['init'](){const _0xc5a6ff=this[_0x4d8a('0x12')][_0x4d8a('0xe')][_0x4d8a('0xf')]('Annotations'),_0x3425dd=this['context'][_0x4d8a('0xe')][_0x4d8a('0xf')]('Sidebar');_0xc5a6ff['register']('wideSidebar',this),_0x3425dd[_0x4d8a('0x16')]&&_0xc5a6ff['switchTo'](_0x4d8a('0xc'));}[_0x4d8a('0x14')](){const _0x9ba0e5=this[_0x4d8a('0x12')][_0x4d8a('0xe')][_0x4d8a('0xf')](_0x4d8a('0xb')),_0x5aa620=this[_0x4d8a('0x12')][_0x4d8a('0xe')][_0x4d8a('0xf')](_0x4d8a('0xa'));if(this['isAttached'])throw new _0x4e9b79(_0x4d8a('0x9'),this);this[_0x4d8a('0x6')]=!0x0,this[_0x4d8a('0x15')](_0x9ba0e5,_0x4d8a('0x13'),()=>{this[_0x4d8a('0x7')](),this[_0x4d8a('0x15')](_0x9ba0e5,_0x4d8a('0x0'),_0x4a2ed5=>{_0x4a2ed5[_0x4d8a('0x4')](),this[_0x4d8a('0x14')]();});}),_0x9ba0e5[_0x4d8a('0x1')]({'viewClass':'ck-sidebar--wide'}),_0x9ba0e5['view'][_0x4d8a('0x2')]['bindTo'](_0x5aa620['items'])[_0x4d8a('0x11')](_0x367032=>_0x9ba0e5['addView'](_0x367032));}[_0x4d8a('0x7')](){if(!this[_0x4d8a('0x6')])throw new _0x4e9b79(_0x4d8a('0x5'),this);this[_0x4d8a('0x12')][_0x4d8a('0xe')][_0x4d8a('0xf')](_0x4d8a('0xb'))[_0x4d8a('0x10')](),this[_0x4d8a('0x3')](),this[_0x4d8a('0x6')]=!0x1;}[_0x4d8a('0x8')](){this[_0x4d8a('0x6')]&&this['detach']();}}
const _0x4ec5=['_detachFromContainer','Annotations','destroy','_attachToContainer','bindTo','container','switchTo','get','Sidebar','wideSidebar','WideSidebar','attach','list','change:container','widesidebar-detach-not-attached:\x20Cannot\x20detach\x20not\x20attached\x20sidebar.','listenTo','items','ck-sidebar--wide','plugins','view','pluginName','requires','isAttached','stopListening','off','context'];(function(_0xe4738a,_0x4ec50e){const _0x34aaa0=function(_0x3be150){while(--_0x3be150){_0xe4738a['push'](_0xe4738a['shift']());}};_0x34aaa0(++_0x4ec50e);}(_0x4ec5,0xa0));const _0x34aa=function(_0xe4738a,_0x4ec50e){_0xe4738a=_0xe4738a-0x0;let _0x34aaa0=_0x4ec5[_0xe4738a];return _0x34aaa0;};import _0x4b12cb from'@ckeditor/ckeditor5-core/src/contextplugin';import _0x71276f from'../annotations/annotations';import _0x398a6d from'./sidebar';import _0x196b61 from'@ckeditor/ckeditor5-utils/src/ckeditorerror';export default class N extends _0x4b12cb{static get[_0x34aa('0x11')](){return[_0x398a6d,_0x71276f];}static get[_0x34aa('0x10')](){return _0x34aa('0x6');}constructor(_0x1a0ac4){super(_0x1a0ac4),this['isAttached']=!0x1;}['init'](){const _0x4b61e3=this['context'][_0x34aa('0xe')][_0x34aa('0x3')](_0x34aa('0x17')),_0x290e5f=this[_0x34aa('0x15')][_0x34aa('0xe')][_0x34aa('0x3')](_0x34aa('0x4'));_0x4b61e3['register']('wideSidebar',this),_0x290e5f[_0x34aa('0x1')]&&_0x4b61e3[_0x34aa('0x2')](_0x34aa('0x5'));}[_0x34aa('0x7')](){const _0x21feac=this[_0x34aa('0x15')][_0x34aa('0xe')][_0x34aa('0x3')]('Sidebar'),_0x20d582=this['context'][_0x34aa('0xe')][_0x34aa('0x3')](_0x34aa('0x17'));if(this['isAttached'])throw new _0x196b61('widesidebar-attach-already-attached:\x20Cannot\x20attach\x20wide\x20sidebar\x20twice.',this);this[_0x34aa('0x12')]=!0x0,this[_0x34aa('0xb')](_0x21feac,'set:container',()=>{this['detach'](),this['listenTo'](_0x21feac,_0x34aa('0x9'),_0x5c90f9=>{_0x5c90f9[_0x34aa('0x14')](),this['attach']();});}),_0x21feac[_0x34aa('0x19')]({'viewClass':_0x34aa('0xd')}),_0x21feac[_0x34aa('0xf')][_0x34aa('0x8')][_0x34aa('0x0')](_0x20d582[_0x34aa('0xc')])['using'](_0x58a8d0=>_0x21feac['addView'](_0x58a8d0));}['detach'](){if(!this[_0x34aa('0x12')])throw new _0x196b61(_0x34aa('0xa'),this);this[_0x34aa('0x15')][_0x34aa('0xe')]['get'](_0x34aa('0x4'))[_0x34aa('0x16')](),this[_0x34aa('0x13')](),this[_0x34aa('0x12')]=!0x1;}[_0x34aa('0x18')](){this[_0x34aa('0x12')]&&this['detach']();}}

@@ -23,2 +23,2 @@ /*

*/
var _0x3f8e=['pluginName','Comments'];(function(_0x2b65b8,_0x3f8ee6){var _0x2a4b53=function(_0x47878f){while(--_0x47878f){_0x2b65b8['push'](_0x2b65b8['shift']());}};_0x2a4b53(++_0x3f8ee6);}(_0x3f8e,0x11a));var _0x2a4b=function(_0x2b65b8,_0x3f8ee6){_0x2b65b8=_0x2b65b8-0x0;var _0x2a4b53=_0x3f8e[_0x2b65b8];return _0x2a4b53;};import _0x5c9753 from'@ckeditor/ckeditor5-core/src/plugin';import _0x3e33de from'./comments/commentsrepository';import _0x5aea07 from'./comments/commentsediting';import _0x4195c8 from'./comments/commentsui';import _0x1c01a3 from'./commentsonly';import _0x52c941 from'./annotations/widesidebar';import _0x2cf210 from'./annotations/narrowsidebar';export default class K extends _0x5c9753{static get['requires'](){return[_0x3e33de,_0x5aea07,_0x4195c8,_0x1c01a3,_0x52c941,_0x2cf210];}static get[_0x2a4b('0x0')](){return _0x2a4b('0x1');}}
var _0x140d=['requires','Comments'];(function(_0x658208,_0x140d38){var _0x49ab78=function(_0xf1cc9b){while(--_0xf1cc9b){_0x658208['push'](_0x658208['shift']());}};_0x49ab78(++_0x140d38);}(_0x140d,0x7e));var _0x49ab=function(_0x658208,_0x140d38){_0x658208=_0x658208-0x0;var _0x49ab78=_0x140d[_0x658208];return _0x49ab78;};import _0x54f0cc from'@ckeditor/ckeditor5-core/src/plugin';import _0x3e16b0 from'./comments/commentsrepository';import _0x30ea20 from'./comments/commentsediting';import _0xdd04bc from'./comments/commentsui';import _0x51c9d4 from'./commentsonly';import _0x3189c7 from'./annotations/widesidebar';import _0x410ad2 from'./annotations/narrowsidebar';export default class K extends _0x54f0cc{static get[_0x49ab('0x0')](){return[_0x3e16b0,_0x30ea20,_0xdd04bc,_0x51c9d4,_0x3189c7,_0x410ad2];}static get['pluginName'](){return _0x49ab('0x1');}}

@@ -23,2 +23,2 @@ /*

*/
const _0x4465=['comment:','isObject','selection','addMarker','getLastMatchingPosition','backward','refresh','end','isEnabled','document','schema','getRanges','textProxy','editor','change','model'];(function(_0x3a6a3d,_0x446511){const _0x32ce0e=function(_0x3cd945){while(--_0x3cd945){_0x3a6a3d['push'](_0x3a6a3d['shift']());}};_0x32ce0e(++_0x446511);}(_0x4465,0x159));const _0x32ce=function(_0x3a6a3d,_0x446511){_0x3a6a3d=_0x3a6a3d-0x0;let _0x32ce0e=_0x4465[_0x3a6a3d];return _0x32ce0e;};import _0x5d3ddc from'@ckeditor/ckeditor5-core/src/command';import _0x177d4c from'@ckeditor/ckeditor5-utils/src/uid';export default class P extends _0x5d3ddc{[_0x32ce('0xd')](){const _0x3b708a=this[_0x32ce('0x4')][_0x32ce('0x6')][_0x32ce('0x0')][_0x32ce('0x9')];for(const _0x27b9d7 of _0x3b708a['getRanges']())if(this['X'](_0x27b9d7))return void(this[_0x32ce('0xf')]=!0x0);this[_0x32ce('0xf')]=!0x1;}['execute']({threadId:_0x199ba0=_0x177d4c()}={}){const _0x46491f=this[_0x32ce('0x4')]['model'];let _0x3c7b9a=null;for(const _0x5287c9 of _0x46491f['document'][_0x32ce('0x9')][_0x32ce('0x2')]())if(this['X'](_0x5287c9)){_0x3c7b9a=this['Y'](_0x5287c9);break;}_0x46491f[_0x32ce('0x5')](_0x302469=>{_0x302469[_0x32ce('0xa')](_0x32ce('0x7')+_0x199ba0,{'range':_0x3c7b9a,'usingOperation':!0x1,'affectData':!0x1});});}['X'](_0x2b5797){for(const _0x14d3db of _0x2b5797['getItems']())if(this['Z'](_0x14d3db))return!0x0;return!0x1;}['Z'](_0x48695d){return _0x48695d['is'](_0x32ce('0x3'))||this['editor'][_0x32ce('0x6')][_0x32ce('0x1')][_0x32ce('0x8')](_0x48695d)&&!_0x48695d['is']('tableCell');}['Y'](_0x529577){const _0x2a1f65=_0x41d930=>!this['Z'](_0x41d930['item']),_0x1c1917=_0x529577['start'][_0x32ce('0xb')](_0x2a1f65),_0x40ab75=_0x529577[_0x32ce('0xe')]['getLastMatchingPosition'](_0x2a1f65,{'direction':_0x32ce('0xc')});return this[_0x32ce('0x4')][_0x32ce('0x6')]['createRange'](_0x1c1917,_0x40ab75);}}
const _0x219c=['tableCell','start','isObject','push','getLastMatchingPosition','isEnabled','refresh','item','selection','editor','textProxy','document','schema','getItems','createRange','backward','model','change','execute'];(function(_0x5b81e3,_0x219c08){const _0x5b7894=function(_0x33619c){while(--_0x33619c){_0x5b81e3['push'](_0x5b81e3['shift']());}};_0x5b7894(++_0x219c08);}(_0x219c,0x1e4));const _0x5b78=function(_0x5b81e3,_0x219c08){_0x5b81e3=_0x5b81e3-0x0;let _0x5b7894=_0x219c[_0x5b81e3];return _0x5b7894;};import _0x5118b8 from'@ckeditor/ckeditor5-core/src/command';import _0x4150bf from'@ckeditor/ckeditor5-utils/src/uid';export default class O extends _0x5118b8{[_0x5b78('0x10')](){const _0x16fe69=this[_0x5b78('0x0')]['model']['document'][_0x5b78('0x12')];for(const _0x1589e5 of _0x16fe69['getRanges']())if(this['$'](_0x1589e5))return void(this[_0x5b78('0xf')]=!0x0);this['isEnabled']=!0x1;}[_0x5b78('0x9')]({threadId:_0x282257=_0x4150bf()}={}){const _0x42dbfa=this[_0x5b78('0x0')]['model'],_0xae9881=[];for(const _0x33c8a2 of _0x42dbfa[_0x5b78('0x2')][_0x5b78('0x12')]['getRanges']())this['$'](_0x33c8a2)&&_0xae9881[_0x5b78('0xd')](this['X'](_0x33c8a2));_0x42dbfa[_0x5b78('0x8')](_0x17dc1c=>{for(const _0x3cd841 of _0xae9881){const _0x1756f9=_0x4150bf()['substr'](0x1,0x5),_0x1c87a7='comment:'+_0x282257+':'+_0x1756f9;_0x17dc1c['addMarker'](_0x1c87a7,{'range':_0x3cd841,'usingOperation':!0x1,'affectData':!0x1});}});}['$'](_0x4254b9){for(const _0x51037d of _0x4254b9[_0x5b78('0x4')]())if(this['Y'](_0x51037d))return!0x0;return!0x1;}['Y'](_0x56cc60){return _0x56cc60['is'](_0x5b78('0x1'))||this[_0x5b78('0x0')]['model'][_0x5b78('0x3')][_0x5b78('0xc')](_0x56cc60)&&!_0x56cc60['is'](_0x5b78('0xa'));}['X'](_0x345ae6){const _0x52493c=_0x5cbbfe=>!this['Y'](_0x5cbbfe[_0x5b78('0x11')]),_0xab5c33=_0x345ae6[_0x5b78('0xb')]['getLastMatchingPosition'](_0x52493c),_0xa23097=_0x345ae6['end'][_0x5b78('0xe')](_0x52493c,{'direction':_0x5b78('0x6')});return this[_0x5b78('0x0')][_0x5b78('0x7')][_0x5b78('0x5')](_0xab5c33,_0xa23097);}}

@@ -23,2 +23,2 @@ /*

*/
const _0x3b3b=['ck-comment-marker--active','view','getCommentThread','isObject','activeMarker','createRange','schema','isCollapsed','document','editingDowncast','stop','hasContent','markerName','_detachCommentThread','differ','text','once','CommentsRepository','name','registerPostFixer','start','isOpening','set','length','upcast','newRange','ck-comment-marker','editor','markerToElement','comment','openNewCommentThread','get','hasCommentThread','updateMarker','collaboration.channelId','switchReadOnly','low','_threads','createUIElement','delete','for','change','getWalker','then','ready','commands','conversion','dataDowncast','end','attachTo','fetchCommentThread','getAttribute','split','comment:','root','state','markers','requires','render','destroyed','getCommentThreads','isThreadsLoadingPaused','size','push','elementToMarker','managedUsingOperations','listenTo','addComment','init','destroy','removeMarker','plugins','config','has','data','add','_changedMarkers','model','editing'];(function(_0x10ef5f,_0x3b3bef){const _0x5ae772=function(_0x36e22c){while(--_0x36e22c){_0x10ef5f['push'](_0x10ef5f['shift']());}};_0x5ae772(++_0x3b3bef);}(_0x3b3b,0xab));const _0x5ae7=function(_0x10ef5f,_0x3b3bef){_0x10ef5f=_0x10ef5f-0x0;let _0x5ae772=_0x3b3b[_0x10ef5f];return _0x5ae772;};import _0x37d81b from'@ckeditor/ckeditor5-core/src/plugin';import _0x3874bc from'./commentsrepository';import _0x5c6e0d from'./addcommentthreadcommand';import _0x3c030b from'../utils/getmarkerdomelement';import _0x485e5d from'./integrations/commentsrestrictededitingmode';import'../../theme/commentmarker.css';export default class F extends _0x37d81b{static get[_0x5ae7('0x2c')](){return[_0x3874bc,_0x485e5d];}static get['pluginName'](){return'CommentsEditing';}constructor(_0x31a83a){super(_0x31a83a),this[_0x5ae7('0x9')](_0x5ae7('0x30'),!0x0),_0x31a83a[_0x5ae7('0x3d')][_0x5ae7('0x3')](_0x5ae7('0x1f'),()=>this[_0x5ae7('0x30')]=!0x1),this[_0x5ae7('0x9')](_0x5ae7('0x46'),null),this['on']('change:activeMarker',(_0x5108e5,_0x44dd8b,_0x516390,_0xa7cadd)=>{_0x31a83a[_0x5ae7('0x40')]['change'](_0x2b0bc8=>{_0x31a83a[_0x5ae7('0x40')][_0x5ae7('0x2b')][_0x5ae7('0x3c')](_0x516390)&&_0x2b0bc8[_0x5ae7('0x14')](_0x516390),_0x31a83a[_0x5ae7('0x40')][_0x5ae7('0x2b')][_0x5ae7('0x3c')](_0xa7cadd)&&_0x2b0bc8[_0x5ae7('0x14')](_0xa7cadd);});});}[_0x5ae7('0x37')](){const _0xa625f2=this[_0x5ae7('0xe')],_0x1e9e6b=_0xa625f2[_0x5ae7('0x3a')][_0x5ae7('0x12')](_0x5ae7('0x4')),_0x218695=_0xa625f2[_0x5ae7('0x3b')][_0x5ae7('0x12')]('collaboration.channelId');_0xa625f2[_0x5ae7('0x20')]['add']('addCommentThread',new _0x5c6e0d(_0xa625f2)),this[_0x5ae7('0x35')](_0xa625f2,'change:isReadOnly',(_0x55d3c5,_0x24f050,_0x24d97a)=>{_0x1e9e6b[_0x5ae7('0x16')](_0x24d97a,_0xa625f2['config'][_0x5ae7('0x12')](_0x5ae7('0x15')));}),this[_0x5ae7('0x35')](_0x1e9e6b,$('removeCommentThread',_0x218695),(_0x24d5ed,{threadId:_0x1dcfaf})=>{const _0x5d030a=_0xa625f2[_0x5ae7('0x40')][_0x5ae7('0x2b')][_0x5ae7('0x12')](_0x5ae7('0x28')+_0x1dcfaf),_0x2fd812=_0x1e9e6b[_0x5ae7('0x44')](_0x1dcfaf);_0x5d030a&&_0xa625f2['model']['change'](_0x126fc7=>{_0x126fc7['removeMarker'](_0x5d030a);}),_0x1e9e6b['hasCommentThread'](_0x1dcfaf)&&!_0x2fd812[_0x5ae7('0xa')]||_0x24d5ed[_0x5ae7('0x4c')]();},{'priority':'high'}),this[_0x5ae7('0x35')](_0x1e9e6b,$(_0x5ae7('0x36'),_0x218695),(_0x7c5952,{threadId:_0x506c53,isFromAdapter:_0x45e679})=>{const _0x21acef=_0xa625f2['model'][_0x5ae7('0x2b')][_0x5ae7('0x12')](_0x5ae7('0x28')+_0x506c53);if(_0x45e679||!_0x21acef||!_0x1e9e6b[_0x5ae7('0x13')](_0x506c53))return;0x1===_0x1e9e6b[_0x5ae7('0x44')](_0x506c53)[_0x5ae7('0xa')]&&_0xa625f2[_0x5ae7('0x40')][_0x5ae7('0x1c')](_0x581b8c=>{_0x581b8c[_0x5ae7('0x14')](_0x21acef,{'usingOperation':!0x0,'affectsData':!0x0});});},{'priority':_0x5ae7('0x17')}),this['$'](),this['tt']();}[_0x5ae7('0x38')](){const _0x5ca24f=this[_0x5ae7('0xe')][_0x5ae7('0x3a')][_0x5ae7('0x12')](_0x5ae7('0x4')),_0x18e296=this[_0x5ae7('0xe')][_0x5ae7('0x3b')][_0x5ae7('0x12')](_0x5ae7('0x15'));for(const _0x26d262 of _0x5ca24f[_0x5ae7('0x2f')]({'channelId':_0x18e296}))_0x5ca24f[_0x5ae7('0x0')](_0x26d262['id']),_0x5ca24f[_0x5ae7('0x18')][_0x5ae7('0x1a')](_0x26d262['id']);super[_0x5ae7('0x38')]();}['$'](){const _0x402c0b=this[_0x5ae7('0xe')];_0x402c0b[_0x5ae7('0x21')][_0x5ae7('0x1b')](_0x5ae7('0x4b'))['markerToHighlight']({'model':_0x5ae7('0x10'),'view':_0x3945a8=>{const {id:_0x274e87}=Q(_0x3945a8['markerName']),_0x2efb4a=[_0x5ae7('0xd')];return this[_0x5ae7('0x46')]===_0x3945a8[_0x5ae7('0x4e')]&&_0x2efb4a[_0x5ae7('0x32')](_0x5ae7('0x42')),{'classes':_0x2efb4a,'attributes':{'data-comment':_0x274e87}};}}),_0x402c0b[_0x5ae7('0x21')]['for'](_0x5ae7('0x22'))[_0x5ae7('0xf')]({'model':_0x5ae7('0x10'),'view':(_0x2b97a0,_0x5de407)=>{const _0x514fdd=_0x402c0b[_0x5ae7('0x40')][_0x5ae7('0x2b')]['get'](_0x2b97a0['markerName']),_0x36c57b=Q(_0x2b97a0[_0x5ae7('0x4e')])['id'];if(_0x514fdd['affectsData'])return _0x5de407[_0x5ae7('0x19')]('comment',{'id':_0x36c57b,'type':_0x2b97a0[_0x5ae7('0x8')]?_0x5ae7('0x7'):_0x5ae7('0x23')});}}),_0x402c0b[_0x5ae7('0x21')][_0x5ae7('0x1b')](_0x5ae7('0xb'))[_0x5ae7('0x33')]({'view':{'name':_0x5ae7('0x10'),'attribute':{'id':/^\w/}},'model':_0x67b334=>_0x5ae7('0x28')+_0x67b334[_0x5ae7('0x26')]('id')});}['tt'](){const _0x13ce83=this['editor'],_0x377d4f=_0x13ce83['plugins'][_0x5ae7('0x12')](_0x5ae7('0x4')),_0x2fff24=new Set(),_0x240246=new Set();_0x13ce83[_0x5ae7('0x40')][_0x5ae7('0x4a')][_0x5ae7('0x6')](_0x2f96fc=>{let _0x569848=!0x1;for(const [_0x1204fc,_0x3ac999]of _0x13ce83['model'][_0x5ae7('0x4a')][_0x5ae7('0x1')][_0x5ae7('0x3f')]){const {group:_0x25a02a,id:_0x419e36}=Q(_0x1204fc);let _0x54db0c=_0x3ac999[_0x5ae7('0xc')];if(_0x5ae7('0x10')!==_0x25a02a||!_0x54db0c)continue;const _0x2e054d=_0x240246[_0x5ae7('0x3c')](_0x419e36),_0xa3aae1='$graveyard'===_0x54db0c[_0x5ae7('0x29')]['rootName'];_0xa3aae1||(_0x54db0c=U(_0x54db0c,_0x13ce83[_0x5ae7('0x40')]),!_0x54db0c||_0x54db0c['isEqual'](_0x3ac999[_0x5ae7('0xc')]))?_0x54db0c&&(!_0x2e054d||!_0xa3aae1&&_0x13ce83[_0x5ae7('0x40')][_0x5ae7('0x4d')](_0x54db0c))?_0x2e054d||_0xa3aae1||(_0x240246[_0x5ae7('0x3e')](_0x419e36),this[_0x5ae7('0x30')]?_0x2fff24[_0x5ae7('0x3e')](_0x1204fc):this['et'](_0x1204fc)):(_0x2f96fc[_0x5ae7('0x39')](_0x1204fc),_0x569848=!0x0):(_0x2f96fc[_0x5ae7('0x14')](_0x1204fc,{'range':_0x54db0c}),_0x569848=!0x0);}return _0x569848;}),this['on']('change:isThreadsLoadingPaused',(_0x118e8a,_0x4a5d25,_0x5322f9)=>{if(!_0x5322f9&&_0x2fff24[_0x5ae7('0x31')])for(const _0x13f5ee of _0x2fff24)this['et'](_0x13f5ee),_0x2fff24[_0x5ae7('0x1a')](_0x13f5ee);}),this[_0x5ae7('0x35')](_0x13ce83[_0x5ae7('0x40')]['markers'],'update:comment',(_0x1884c5,_0x1505e6,_0xd22569,_0x1f92ef)=>{if(_0x1f92ef)return;const {id:_0x1e24ea}=Q(_0x1505e6[_0x5ae7('0x5')]),_0x30ef98=_0x13ce83[_0x5ae7('0x3a')][_0x5ae7('0x12')](_0x5ae7('0x4'))[_0x5ae7('0x44')](_0x1e24ea);_0x240246[_0x5ae7('0x1a')](_0x1e24ea),_0x2fff24[_0x5ae7('0x1a')](_0x1505e6[_0x5ae7('0x5')]),_0x30ef98&&_0x377d4f[_0x5ae7('0x0')](_0x1e24ea);});}['et'](_0x3a12e6){const _0x20f704=this['editor'],_0x468ce2=_0x20f704['plugins'][_0x5ae7('0x12')](_0x5ae7('0x4')),_0x586d32=_0x20f704['config'][_0x5ae7('0x12')](_0x5ae7('0x15')),_0x4bd6e3=_0x20f704[_0x5ae7('0x40')][_0x5ae7('0x2b')][_0x5ae7('0x12')](_0x3a12e6),{id:_0x1312b0}=Q(_0x3a12e6);_0x4bd6e3[_0x5ae7('0x34')]?_0x468ce2[_0x5ae7('0x25')]({'channelId':_0x586d32,'threadId':_0x1312b0})[_0x5ae7('0x1e')](_0x103b2b=>{_0x5ae7('0x2e')!==_0x20f704[_0x5ae7('0x2a')]&&(_0x103b2b?_0x103b2b[_0x5ae7('0x24')](()=>_0x3c030b(_0x20f704[_0x5ae7('0x41')],_0x4bd6e3)):_0x20f704[_0x5ae7('0x40')][_0x5ae7('0x1c')](_0x58ca19=>{_0x58ca19[_0x5ae7('0x39')](_0x4bd6e3);}));}):_0x20f704[_0x5ae7('0x41')][_0x5ae7('0x43')][_0x5ae7('0x3')](_0x5ae7('0x2d'),()=>{_0x468ce2[_0x5ae7('0x11')]({'channelId':_0x586d32,'threadId':_0x1312b0,'target':()=>_0x3c030b(_0x20f704['editing'],_0x4bd6e3)});},{'priority':'low'});}}function $(_0x19346b,_0x51d56d){return _0x51d56d?_0x19346b+':'+_0x51d56d:_0x19346b;}function Q(_0x105995){const _0x1b34c9=_0x105995[_0x5ae7('0x27')](':');return{'group':_0x1b34c9[0x0],'id':_0x1b34c9[0x1]};}function U(_0x25e850,_0x56815a){const _0x342f3e=_0x56815a[_0x5ae7('0x48')],_0x30dd3f=_0x56815a[_0x5ae7('0x47')](_0x25e850['start']);for(const _0x5dbe9b of _0x25e850[_0x5ae7('0x1d')]()){const {type:_0x31a999,item:_0xff568c,nextPosition:_0x1905f2}=_0x5dbe9b;if(_0x5ae7('0x2')===_0x31a999||_0x342f3e[_0x5ae7('0x45')](_0xff568c)){const _0x3f3007=_0x56815a['createPositionBefore'](_0xff568c);_0x30dd3f[_0x5ae7('0x49')]&&(_0x30dd3f[_0x5ae7('0x7')]=_0x3f3007),_0x30dd3f[_0x5ae7('0x23')]=_0x1905f2;}}return _0x30dd3f['isCollapsed']?null:_0x30dd3f;}
const _0x287d=['differ','split','add','addCommentThread','elementToMarker','get','hasContent','conversion','hasCommentThread','text','markerName','createRange','activeMarker','for','sort','_threads','ck-comment-marker','isEqual','comment:','openNewCommentThread','then','stop','dataDowncast','plugins','change:isThreadsLoadingPaused','left','affectsData','isObject','attachTo','isOpening','once','_detachCommentThread','editor','editingDowncast','switchReadOnly','registerPostFixer','schema','top','removeMarker','isThreadsLoadingPaused','createUIElement','getAllMarkersForId','CommentsRepository','$graveyard','end','fetchCommentThread','map','has','comment','view','ck-comment-marker--active','change:activeMarker','change','document','getCommentThreads','pluginName','length','start','destroy','collaboration.channelId','hasMarkerForId','rootName','delete','update:comment','markers','updateMarker','markerToHighlight','_changedMarkers','commands','managedUsingOperations','set','high','addComment','low','addMarker','requires','config','editing','listenTo','newRange','model'];(function(_0x7532f3,_0x287d0f){const _0x34f799=function(_0x2af669){while(--_0x2af669){_0x7532f3['push'](_0x7532f3['shift']());}};_0x34f799(++_0x287d0f);}(_0x287d,0x82));const _0x34f7=function(_0x7532f3,_0x287d0f){_0x7532f3=_0x7532f3-0x0;let _0x34f799=_0x287d[_0x7532f3];return _0x34f799;};import _0x3ef2a0 from'@ckeditor/ckeditor5-core/src/plugin';import _0xf34f64 from'@ckeditor/ckeditor5-utils/src/uid';import _0x12ce0b from'@ckeditor/ckeditor5-utils/src/dom/rect';import _0x150af1 from'./commentsrepository';import _0x5a9b29 from'./addcommentthreadcommand';import _0xda884e from'../utils/getmarkerdomelement';import _0x3774d2 from'./integrations/commentsrestrictededitingmode';import'../../theme/commentmarker.css';export default class F extends _0x3ef2a0{static get[_0x34f7('0x1a')](){return[_0x150af1,_0x3774d2];}static get[_0x34f7('0x6')](){return'CommentsEditing';}constructor(_0x1c9351){super(_0x1c9351),this[_0x34f7('0x15')](_0x34f7('0x47'),!0x0),_0x1c9351['data'][_0x34f7('0x3e')]('ready',()=>this[_0x34f7('0x47')]=!0x1),this[_0x34f7('0x15')](_0x34f7('0x2c'),null),this['on'](_0x34f7('0x2'),(_0x138531,_0x101b14,_0x3dc2e2,_0x48e144)=>{_0x1c9351[_0x34f7('0x1f')][_0x34f7('0x3')](_0x11ffd5=>{if(_0x3dc2e2){const {id:_0x209aec}=Q(_0x3dc2e2),_0x292bc5=this['getAllMarkersForId'](_0x209aec);for(const _0x4c4453 of _0x292bc5)_0x11ffd5[_0x34f7('0x10')](_0x4c4453);}if(_0x48e144){const {id:_0x1c5e7d}=Q(_0x48e144),_0x32cfd5=this[_0x34f7('0x49')](_0x1c5e7d);for(const _0x1d76a0 of _0x32cfd5)_0x11ffd5[_0x34f7('0x10')](_0x1d76a0);}});}),this['Z']=new Set();}['init'](){const _0x5277f8=this[_0x34f7('0x40')],_0x2babda=_0x5277f8['plugins'][_0x34f7('0x25')](_0x34f7('0x4a')),_0x3666aa=_0x5277f8[_0x34f7('0x1b')]['get'](_0x34f7('0xa'));_0x5277f8[_0x34f7('0x13')]['add'](_0x34f7('0x23'),new _0x5a9b29(_0x5277f8)),this[_0x34f7('0x1d')](_0x5277f8,'change:isReadOnly',(_0x433f6b,_0x3484da,_0x463b73)=>{_0x2babda[_0x34f7('0x42')](_0x463b73,_0x5277f8[_0x34f7('0x1b')]['get'](_0x34f7('0xa')));}),this[_0x34f7('0x1d')](_0x2babda,L('removeCommentThread',_0x3666aa),(_0x366b1c,{threadId:_0x1fdd37})=>{_0x5277f8[_0x34f7('0x1f')][_0x34f7('0x3')](_0x376195=>{for(const _0x1f7931 of this[_0x34f7('0x49')](_0x1fdd37))_0x376195['removeMarker'](_0x1f7931);});const _0x2eb80a=_0x2babda['getCommentThread'](_0x1fdd37);_0x2babda[_0x34f7('0x28')](_0x1fdd37)&&!_0x2eb80a['length']||_0x366b1c[_0x34f7('0x35')]();},{'priority':_0x34f7('0x16')}),this['listenTo'](_0x2babda,L(_0x34f7('0x17'),_0x3666aa),(_0x11abf9,{threadId:_0x26cbb5,isFromAdapter:_0x478d6c})=>{const _0x52c079=this[_0x34f7('0x49')](_0x26cbb5);if(_0x478d6c||0x0==_0x52c079[_0x34f7('0x7')]||!_0x2babda[_0x34f7('0x28')](_0x26cbb5))return;0x1===_0x2babda['getCommentThread'](_0x26cbb5)[_0x34f7('0x7')]&&_0x5277f8[_0x34f7('0x1f')][_0x34f7('0x3')](_0x38d036=>{for(const _0xcbdc91 of _0x52c079)_0x38d036['updateMarker'](_0xcbdc91,{'usingOperation':!0x0,'affectsData':!0x0});});},{'priority':_0x34f7('0x18')}),this['tt'](),this['et']();}[_0x34f7('0x9')](){const _0x46406e=this['editor']['plugins'][_0x34f7('0x25')]('CommentsRepository'),_0x121717=this[_0x34f7('0x40')][_0x34f7('0x1b')][_0x34f7('0x25')](_0x34f7('0xa'));for(const _0x44d0ac of _0x46406e[_0x34f7('0x5')]({'channelId':_0x121717}))_0x46406e[_0x34f7('0x3f')](_0x44d0ac['id']),_0x46406e[_0x34f7('0x2f')][_0x34f7('0xd')](_0x44d0ac['id']);super[_0x34f7('0x9')]();}[_0x34f7('0xb')](_0x14a7b1){return this['getAllMarkersForId'](_0x14a7b1)['length']>0x0;}[_0x34f7('0x49')](_0x1db64c){return Array['from'](this['editor']['model'][_0x34f7('0xf')]['getMarkersGroup'](_0x34f7('0x32')+_0x1db64c));}['tt'](){const _0x46821c=this['editor'];_0x46821c[_0x34f7('0x27')]['for'](_0x34f7('0x41'))[_0x34f7('0x11')]({'model':_0x34f7('0x50'),'view':_0x44ba77=>{const {id:_0x4b1a70}=Q(_0x44ba77[_0x34f7('0x2a')]),_0x124870=[_0x34f7('0x30')];return this[_0x34f7('0x2c')]&&Q(this['activeMarker'])['id']===_0x4b1a70&&_0x124870['push'](_0x34f7('0x1')),{'classes':_0x124870,'attributes':{'data-comment':_0x4b1a70}};}}),_0x46821c[_0x34f7('0x27')][_0x34f7('0x2d')](_0x34f7('0x36'))['markerToElement']({'model':_0x34f7('0x50'),'view':(_0x5dc20b,_0x36f5e0)=>{const _0x12dbae=_0x46821c[_0x34f7('0x1f')][_0x34f7('0xf')]['get'](_0x5dc20b[_0x34f7('0x2a')]),{id:_0x480ade,part:_0x38023b}=Q(_0x5dc20b['markerName']);if(!_0x12dbae[_0x34f7('0x3a')])return;const _0x19c69e={'id':_0x480ade+':'+_0x38023b,'type':_0x5dc20b[_0x34f7('0x3d')]?_0x34f7('0x8'):_0x34f7('0x4c')};return _0x36f5e0[_0x34f7('0x48')]('comment',_0x19c69e);}}),_0x46821c['conversion']['for']('upcast')[_0x34f7('0x24')]({'view':{'name':_0x34f7('0x50'),'attribute':{'id':/^\w/}},'model':_0x37ad8f=>_0x34f7('0x32')+_0x37ad8f['getAttribute']('id')});}['et'](){const _0x375ef3=this[_0x34f7('0x40')],_0x57f603=_0x375ef3[_0x34f7('0x37')][_0x34f7('0x25')](_0x34f7('0x4a')),_0x40ff67=new Set();_0x375ef3[_0x34f7('0x1f')]['document'][_0x34f7('0x43')](_0x4fcd87=>{let _0xd76e34=!0x1;for(const [_0x2a0355,_0x5032bb]of _0x375ef3[_0x34f7('0x1f')][_0x34f7('0x4')][_0x34f7('0x20')][_0x34f7('0x12')]){const {group:_0x150b28,id:_0x12b9ad,part:_0x3e89da}=Q(_0x2a0355);let _0x4a746d=_0x5032bb[_0x34f7('0x1e')];if(_0x34f7('0x50')!==_0x150b28||!_0x4a746d)continue;if(!_0x3e89da){const _0x4b5203=_0xf34f64()['substr'](0x1,0x5),_0x4e561a=_0x375ef3[_0x34f7('0x1f')][_0x34f7('0xf')]['get'](_0x2a0355),_0x461442=_0x4e561a[_0x34f7('0x14')],_0x503257=_0x4e561a[_0x34f7('0x3a')];_0x4fcd87['removeMarker'](_0x4e561a),_0x4fcd87[_0x34f7('0x19')](_0x2a0355+':'+_0x4b5203,{'range':_0x4a746d,'usingOperation':_0x461442,'affectsData':_0x503257}),_0xd76e34=!0x0;continue;}const _0x683dbf=_0x34f7('0x4b')===_0x4a746d['root'][_0x34f7('0xc')];_0x683dbf||(_0x4a746d=U(_0x4a746d,_0x375ef3[_0x34f7('0x1f')]),!_0x4a746d||_0x4a746d[_0x34f7('0x31')](_0x5032bb['newRange']))?!_0x4a746d||!_0x375ef3[_0x34f7('0x1f')][_0x34f7('0x26')](_0x4a746d)||this['Z'][_0x34f7('0x4f')](_0x12b9ad)&&_0x683dbf?(_0x4fcd87[_0x34f7('0x46')](_0x2a0355),_0xd76e34=!0x0):_0x683dbf||(this['isThreadsLoadingPaused']?_0x40ff67[_0x34f7('0x22')](_0x12b9ad):this['ot'](_0x12b9ad)):(_0x4fcd87['updateMarker'](_0x2a0355,{'range':_0x4a746d}),_0xd76e34=!0x0);}return _0xd76e34;}),this['on'](_0x34f7('0x38'),(_0x1f80a0,_0x56fa06,_0x5c5afa)=>{if(!_0x5c5afa&&_0x40ff67['size'])for(const _0x218e5e of _0x40ff67)this['ot'](_0x218e5e),_0x40ff67[_0x34f7('0xd')](_0x218e5e);}),this[_0x34f7('0x1d')](_0x375ef3['model'][_0x34f7('0xf')],_0x34f7('0xe'),(_0x35f446,_0x5c8f09,_0x52c556,_0x4d5ea1)=>{if(_0x4d5ea1)return;const {id:_0x40fa49}=Q(_0x5c8f09['name']),_0x40afb5=_0x375ef3[_0x34f7('0x37')][_0x34f7('0x25')](_0x34f7('0x4a'))['getCommentThread'](_0x40fa49);_0x40ff67[_0x34f7('0xd')](_0x40fa49),_0x40afb5&&!this[_0x34f7('0xb')](_0x40fa49)&&(this['Z'][_0x34f7('0xd')](_0x40fa49),_0x57f603[_0x34f7('0x3f')](_0x40fa49));});}['ot'](_0x24d346){if(this['Z'][_0x34f7('0x4f')](_0x24d346))return;this['Z'][_0x34f7('0x22')](_0x24d346);const _0x369c7a=this[_0x34f7('0x40')],_0x1dc476=_0x369c7a[_0x34f7('0x37')][_0x34f7('0x25')](_0x34f7('0x4a')),_0x477636=_0x369c7a[_0x34f7('0x1b')][_0x34f7('0x25')](_0x34f7('0xa')),_0x49dcfa=()=>{const _0x5465ab=this['getAllMarkersForId'](_0x24d346);if(0x0==_0x5465ab[_0x34f7('0x7')])return null;const _0x31ba6d=_0x5465ab[_0x34f7('0x4e')](_0x14dc66=>_0xda884e(_0x369c7a[_0x34f7('0x1c')],_0x14dc66));return _0x31ba6d[_0x34f7('0x2e')]((_0x458a0e,_0x3d7739)=>{const _0x87d418=new _0x12ce0b(_0x458a0e),_0x1e44ab=new _0x12ce0b(_0x3d7739),_0x435247=_0x87d418['top']-_0x1e44ab[_0x34f7('0x45')];return 0x0==_0x435247?_0x87d418[_0x34f7('0x39')]-_0x1e44ab[_0x34f7('0x39')]:_0x435247;}),_0x31ba6d[0x0];};!this[_0x34f7('0x49')](_0x24d346)[0x0][_0x34f7('0x14')]?_0x369c7a[_0x34f7('0x1c')][_0x34f7('0x0')][_0x34f7('0x3e')]('render',()=>{_0x1dc476[_0x34f7('0x33')]({'channelId':_0x477636,'threadId':_0x24d346,'target':_0x49dcfa});},{'priority':_0x34f7('0x18')}):_0x1dc476[_0x34f7('0x4d')]({'channelId':_0x477636,'threadId':_0x24d346})[_0x34f7('0x34')](_0xf9681c=>{if('destroyed'!==_0x369c7a['state'])if(_0xf9681c)_0xf9681c[_0x34f7('0x3c')](_0x49dcfa);else{const _0x27ac4d=this[_0x34f7('0x49')](_0x24d346);_0x369c7a[_0x34f7('0x1f')][_0x34f7('0x3')](_0x56e32f=>{for(const _0x2bbbfd of _0x27ac4d)_0x56e32f[_0x34f7('0x46')](_0x2bbbfd);});}});}}function L(_0x385ecf,_0x4cff8){return _0x4cff8?_0x385ecf+':'+_0x4cff8:_0x385ecf;}function Q(_0x4d5117){const _0x27316=_0x4d5117[_0x34f7('0x21')](':');return{'group':_0x27316[0x0],'id':_0x27316[0x1],'part':_0x27316[0x2]};}function U(_0x590e71,_0x6240c6){const _0x2493e1=_0x6240c6[_0x34f7('0x44')],_0x294670=_0x6240c6[_0x34f7('0x2b')](_0x590e71[_0x34f7('0x8')]);for(const _0x2b6dab of _0x590e71['getWalker']()){const {type:_0x46b84c,item:_0x3b26e6,nextPosition:_0x4b2ed7}=_0x2b6dab;if(_0x34f7('0x29')===_0x46b84c||_0x2493e1[_0x34f7('0x3b')](_0x3b26e6)){const _0x443867=_0x6240c6['createPositionBefore'](_0x3b26e6);_0x294670['isCollapsed']&&(_0x294670[_0x34f7('0x8')]=_0x443867),_0x294670[_0x34f7('0x4c')]=_0x4b2ed7;}}return _0x294670['isCollapsed']?null:_0x294670;}

@@ -23,2 +23,2 @@ /*

*/
import _0x3681be from'@ckeditor/ckeditor5-core/src/plugin';import _0x7a8ef9 from'../annotations/annotations';import _0xd590f4 from'./commentsrepository';import _0x32542a from'./commentsediting';import _0x476702 from'../annotations/editorannotations';import _0x1a2d22 from'@ckeditor/ckeditor5-ui/src/button/buttonview';import _0x2cb883 from'../../theme/icons/add-comment.svg';export default class G extends _0x3681be{static get['pluginName'](){return'CommentsUI';}static get['requires'](){return[_0x7a8ef9,_0xd590f4,_0x32542a,_0x476702];}['init'](){const _0x4073dd=this['editor'],_0x1e93d9=_0x4073dd['model'],_0x288ce3=_0x4073dd['plugins']['get']('CommentsRepository'),_0x17ad75=_0x4073dd['plugins']['get']('CommentsEditing'),_0x195a17=_0x4073dd['plugins']['get']('Annotations'),_0x1d08fd=_0x4073dd['plugins']['get']('EditorAnnotations');_0x4073dd['ui']['componentFactory']['add']('comment',()=>this['ut']()),_0x1d08fd['addSourceCollector'](()=>{const _0x4fafdd=[];for(const [_0x3c4076,_0x334384]of _0x288ce3['_threadToController']){const _0x24a2ac=_0x1e93d9['markers']['get']('comment:'+_0x3c4076['id']);_0x24a2ac&&_0x4fafdd['push']([_0x334384['view'],[_0x24a2ac['getRange']()]]);}return _0x4fafdd;}),this['listenTo'](_0x195a17,'change:activeView',(_0x343cbf,_0x4ddbd7,_0x5ea3b2)=>{if(!_0x288ce3['_viewToController']['has'](_0x5ea3b2))return void(_0x17ad75['activeMarker']=null);const _0x526632='comment:'+_0x288ce3['_viewToController']['get'](_0x5ea3b2)['model']['id'];_0x1e93d9['markers']['has'](_0x526632)&&_0x17ad75['activeMarker']!=_0x526632?_0x17ad75['activeMarker']=_0x526632:_0x17ad75['activeMarker']&&(_0x17ad75['activeMarker']=null);}),this['listenTo'](_0x288ce3,'removeCommentThread',(_0x17543a,{threadId:_0x2494b0,isFromAdapter:_0x3a773d})=>{if(_0x3a773d||!_0x4073dd['ui']['focusTracker']['isFocused'])return;_0x4073dd['model']['markers']['get']('comment:'+_0x2494b0)&&_0x4073dd['editing']['view']['focus']();},{'priority':'highest'}),this['listenTo'](_0x288ce3,'addComment',(_0x46f3ff,{threadId:_0x10cb80,isFromAdapter:_0x1bb313})=>{const _0x12ae89=_0x1e93d9['markers']['get']('comment:'+_0x10cb80);if(_0x1bb313||!_0x12ae89||!_0x288ce3['hasCommentThread'](_0x10cb80))return;0x1===_0x288ce3['getCommentThread'](_0x10cb80)['length']&&(_0x4073dd['editing']['view']['focus'](),_0x46f3ff['stop']());},{'priority':'low'});}['ut'](){const _0x36d672=this['editor'],_0x51c942=new _0x1a2d22(_0x36d672['locale']),_0x3e9374=_0x36d672['commands']['get']('addCommentThread'),{t:t}=this['editor']['locale'];return _0x51c942['label']=t('Comment'),_0x51c942['tooltip']=t('Comment'),_0x51c942['icon']=_0x2cb883,_0x51c942['bind']('isEnabled')['to'](_0x3e9374),this['listenTo'](_0x51c942,'execute',()=>_0x3e9374['execute']()),_0x51c942;}}
import _0x241326 from'@ckeditor/ckeditor5-core/src/plugin';import _0x420bc7 from'../annotations/annotations';import _0x8e7700 from'./commentsrepository';import _0x5d8bb9 from'./commentsediting';import _0xcd1de1 from'../annotations/editorannotations';import _0x59ba51 from'@ckeditor/ckeditor5-ui/src/button/buttonview';import _0x36c6d8 from'../../theme/icons/add-comment.svg';export default class G extends _0x241326{static get['pluginName'](){return'CommentsUI';}static get['requires'](){return[_0x420bc7,_0x8e7700,_0x5d8bb9,_0xcd1de1];}['init'](){const _0x2e86d6=this['editor'],_0x3fba42=_0x2e86d6['plugins']['get']('CommentsRepository'),_0x35ee28=_0x2e86d6['plugins']['get']('CommentsEditing'),_0x49bc27=_0x2e86d6['plugins']['get']('Annotations'),_0x48178d=_0x2e86d6['plugins']['get']('EditorAnnotations');_0x2e86d6['ui']['componentFactory']['add']('comment',()=>this['ut']()),_0x48178d['addSourceCollector'](()=>{const _0x124e9c=[];for(const [_0x39ca42,_0x1d1e6e]of _0x3fba42['_threadToController']){const _0xa92826=_0x35ee28['getAllMarkersForId'](_0x39ca42['id']),_0x3af1ea=_0xa92826['map'](_0x1c9001=>_0x1c9001['getRange']());_0xa92826['length']>0x0&&_0x124e9c['push']([_0x1d1e6e['view'],_0x3af1ea]);}return _0x124e9c;}),this['listenTo'](_0x49bc27,'change:activeView',(_0x2c121b,_0x37fb6d,_0x467c36)=>{if(!_0x3fba42['_viewToController']['has'](_0x467c36))return void(_0x35ee28['activeMarker']=null);const _0x45e04b=_0x3fba42['_viewToController']['get'](_0x467c36)['model']['id'],_0x2214a6='comment:'+_0x45e04b;_0x35ee28['hasMarkerForId'](_0x45e04b)&&_0x35ee28['activeMarker']!=_0x2214a6?_0x35ee28['activeMarker']=_0x2214a6:_0x35ee28['activeMarker']&&(_0x35ee28['activeMarker']=null);}),this['listenTo'](_0x3fba42,'removeCommentThread',(_0x5d87b4,{threadId:_0x2aaddc,isFromAdapter:_0xb4117d})=>{!_0xb4117d&&_0x2e86d6['ui']['focusTracker']['isFocused']&&_0x35ee28['hasMarkerForId'](_0x2aaddc)&&_0x2e86d6['editing']['view']['focus']();},{'priority':'highest'}),this['listenTo'](_0x3fba42,'addComment',(_0x592705,{threadId:_0x57dd61,isFromAdapter:_0x5b7b14})=>{if(_0x5b7b14||!_0x35ee28['hasMarkerForId'](_0x57dd61)||!_0x3fba42['hasCommentThread'](_0x57dd61))return;0x1===_0x3fba42['getCommentThread'](_0x57dd61)['length']&&(_0x2e86d6['editing']['view']['focus'](),_0x592705['stop']());},{'priority':'low'});}['ut'](){const _0x8c5c88=this['editor'],_0x335178=new _0x59ba51(_0x8c5c88['locale']),_0x4b2d5a=_0x8c5c88['commands']['get']('addCommentThread'),{t:t}=this['editor']['locale'];return _0x335178['label']=t('Comment'),_0x335178['tooltip']=t('Comment'),_0x335178['icon']=_0x36c6d8,_0x335178['bind']('isEnabled')['to'](_0x4b2d5a),this['listenTo'](_0x335178,'execute',()=>_0x4b2d5a['execute']()),_0x335178;}}

@@ -23,2 +23,2 @@ /*

*/
const _0x3426=['get','editor','RestrictedEditingModeEditing','plugins','afterInit','has'];(function(_0xdde661,_0x342624){const _0x143583=function(_0x345d85){while(--_0x345d85){_0xdde661['push'](_0xdde661['shift']());}};_0x143583(++_0x342624);}(_0x3426,0x9e));const _0x1435=function(_0xdde661,_0x342624){_0xdde661=_0xdde661-0x0;let _0x143583=_0x3426[_0xdde661];return _0x143583;};import _0x47c60e from'@ckeditor/ckeditor5-core/src/plugin';export default class L extends _0x47c60e{[_0x1435('0x2')](){const _0x5131f3=this[_0x1435('0x5')];if(!_0x5131f3[_0x1435('0x1')][_0x1435('0x3')](_0x1435('0x0')))return;_0x5131f3['plugins'][_0x1435('0x4')](_0x1435('0x0'))['enableCommand']('addCommentThread');}}
const _0x6e99=['enableCommand','RestrictedEditingModeEditing','plugins','get','has','editor','afterInit'];(function(_0xb5783d,_0x6e9924){const _0x3e8a1e=function(_0x4300a6){while(--_0x4300a6){_0xb5783d['push'](_0xb5783d['shift']());}};_0x3e8a1e(++_0x6e9924);}(_0x6e99,0x93));const _0x3e8a=function(_0xb5783d,_0x6e9924){_0xb5783d=_0xb5783d-0x0;let _0x3e8a1e=_0x6e99[_0xb5783d];return _0x3e8a1e;};import _0x2f9689 from'@ckeditor/ckeditor5-core/src/plugin';export default class P extends _0x2f9689{[_0x3e8a('0x6')](){const _0x120227=this[_0x3e8a('0x5')];if(!_0x120227[_0x3e8a('0x2')][_0x3e8a('0x4')](_0x3e8a('0x1')))return;_0x120227[_0x3e8a('0x2')][_0x3e8a('0x3')]('RestrictedEditingModeEditing')[_0x3e8a('0x0')]('addCommentThread');}}

@@ -23,2 +23,2 @@ /*

*/
const _0x456e=['fire','getChild','document','data','processor','focus','name','initPlugins','then','placeholder','config','plugins','editing','getRoot','assign','change','change:placeholder','end','model','destroy','view','placeholderElement','defaultPlugins','createRoot','set','low'];(function(_0x371265,_0x456e2b){const _0x362f38=function(_0x25ab12){while(--_0x25ab12){_0x371265['push'](_0x371265['shift']());}};_0x362f38(++_0x456e2b);}(_0x456e,0x14b));const _0x362f=function(_0x371265,_0x456e2b){_0x371265=_0x371265-0x0;let _0x362f38=_0x456e[_0x371265];return _0x362f38;};import _0x2bd4f9 from'@ckeditor/ckeditor5-core/src/editor/editor';import _0x6047b2 from'@ckeditor/ckeditor5-core/src/editor/utils/dataapimixin';import _0x1ab7e3 from'@ckeditor/ckeditor5-engine/src/dataprocessor/htmldataprocessor';import _0x24b1f7 from'./commenteditorui';import _0x57cac9 from'@ckeditor/ckeditor5-utils/src/observablemixin';import _0x3eb442 from'@ckeditor/ckeditor5-utils/src/mix';import{enablePlaceholder as _0x535686,disablePlaceholder as _0x5b172d}from'@ckeditor/ckeditor5-engine/src/view/placeholder';import _0x2aab9b from'@ckeditor/ckeditor5-essentials/src/essentials';import _0x5ec27f from'@ckeditor/ckeditor5-paragraph/src/paragraph';import _0x490c26 from'@ckeditor/ckeditor5-basic-styles/src/bold';import _0x459dcc from'@ckeditor/ckeditor5-basic-styles/src/italic';import _0x481e4f from'@ckeditor/ckeditor5-list/src/list';import _0x41613f from'@ckeditor/ckeditor5-autoformat/src/autoformat';export default class pt extends _0x2bd4f9{constructor(_0x2af007={}){(_0x2af007=Object[_0x362f('0x15')]({},_0x2af007))[_0x362f('0x12')]||(_0x2af007['plugins']=pt[_0x362f('0x3')]),super(_0x2af007),this['ui']=new _0x24b1f7(this),this[_0x362f('0x5')](_0x362f('0x10'),''),this[_0x362f('0x19')][_0x362f('0x9')]['on'](_0x362f('0x16'),()=>this['pt'](),{'priority':_0x362f('0x6')}),this['on'](_0x362f('0x17'),()=>this['pt']()),this[_0x362f('0x19')]['document'][_0x362f('0x4')](),this[_0x362f('0xa')][_0x362f('0xb')]=new _0x1ab7e3(this[_0x362f('0x13')][_0x362f('0x1')]['document']);}['create'](){const _0x6710dc=this[_0x362f('0x11')]['get']('initialData')||'';return this[_0x362f('0xe')]()[_0x362f('0xf')](()=>this['ui']['init']())['then'](()=>this[_0x362f('0xa')]['init'](_0x6710dc))[_0x362f('0xf')](()=>this[_0x362f('0x7')]('ready'));}['destroy'](){return super['destroy']()['then'](()=>this['ui'][_0x362f('0x0')]());}[_0x362f('0xc')](){this[_0x362f('0x19')][_0x362f('0x16')](_0x28a4b3=>{const _0x3d8917=this[_0x362f('0x19')][_0x362f('0x9')][_0x362f('0x14')](),_0x452115=_0x3d8917[_0x362f('0x8')](_0x3d8917['childCount']-0x1);_0x28a4b3['setSelection'](_0x452115,_0x362f('0x18')),this[_0x362f('0x13')][_0x362f('0x1')][_0x362f('0xc')]();});}['pt'](){const _0x329d9f=this[_0x362f('0x13')]['view'],_0xea286e=_0x329d9f[_0x362f('0x9')]['getRoot'](),_0x238953=_0xea286e['getChild'](0x0);_0xea286e['childCount']>0x1||!_0x238953||'p'!=_0x238953[_0x362f('0xd')]?this['placeholderElement']&&(_0x5b172d(_0x329d9f,this[_0x362f('0x2')]),this['placeholderElement']=void 0x0):(_0x535686({'view':_0x329d9f,'element':_0x238953,'text':this[_0x362f('0x10')]}),this[_0x362f('0x2')]=_0x238953);}}_0x3eb442(pt,_0x57cac9),_0x3eb442(pt,_0x6047b2),pt[_0x362f('0x3')]=[_0x2aab9b,_0x41613f,_0x5ec27f,_0x490c26,_0x459dcc,_0x481e4f];
const _0x4bde=['init','createRoot','placeholder','config','getChild','low','editing','document','childCount','assign','ready','initPlugins','name','initialData','model','then','focus','plugins','data','setSelection','processor','create','view','get','destroy','change','set','placeholderElement','getRoot'];(function(_0xc3dd3b,_0x4bdecd){const _0x1ba19d=function(_0x24aab4){while(--_0x24aab4){_0xc3dd3b['push'](_0xc3dd3b['shift']());}};_0x1ba19d(++_0x4bdecd);}(_0x4bde,0x97));const _0x1ba1=function(_0xc3dd3b,_0x4bdecd){_0xc3dd3b=_0xc3dd3b-0x0;let _0x1ba19d=_0x4bde[_0xc3dd3b];return _0x1ba19d;};import _0x1e5593 from'@ckeditor/ckeditor5-core/src/editor/editor';import _0x1ff6f3 from'@ckeditor/ckeditor5-core/src/editor/utils/dataapimixin';import _0x3dbd25 from'@ckeditor/ckeditor5-engine/src/dataprocessor/htmldataprocessor';import _0x229179 from'./commenteditorui';import _0x13945b from'@ckeditor/ckeditor5-utils/src/observablemixin';import _0x31d380 from'@ckeditor/ckeditor5-utils/src/mix';import{enablePlaceholder as _0x359dda,disablePlaceholder as _0xcc4be}from'@ckeditor/ckeditor5-engine/src/view/placeholder';import _0x27171f from'@ckeditor/ckeditor5-essentials/src/essentials';import _0x4bbc0d from'@ckeditor/ckeditor5-paragraph/src/paragraph';import _0x18713f from'@ckeditor/ckeditor5-basic-styles/src/bold';import _0x47bf49 from'@ckeditor/ckeditor5-basic-styles/src/italic';import _0x48e7b2 from'@ckeditor/ckeditor5-list/src/list';import _0x5546b9 from'@ckeditor/ckeditor5-autoformat/src/autoformat';export default class pt extends _0x1e5593{constructor(_0x2898e8={}){(_0x2898e8=Object[_0x1ba1('0x3')]({},_0x2898e8))[_0x1ba1('0xb')]||(_0x2898e8[_0x1ba1('0xb')]=pt['defaultPlugins']),super(_0x2898e8),this['ui']=new _0x229179(this),this[_0x1ba1('0x14')](_0x1ba1('0x19'),''),this[_0x1ba1('0x8')][_0x1ba1('0x1')]['on']('change',()=>this['pt'](),{'priority':_0x1ba1('0x1c')}),this['on']('change:placeholder',()=>this['pt']()),this['model']['document'][_0x1ba1('0x18')](),this[_0x1ba1('0xc')][_0x1ba1('0xe')]=new _0x3dbd25(this['editing'][_0x1ba1('0x10')][_0x1ba1('0x1')]);}[_0x1ba1('0xf')](){const _0x1ff75a=this[_0x1ba1('0x1a')][_0x1ba1('0x11')](_0x1ba1('0x7'))||'';return this[_0x1ba1('0x5')]()[_0x1ba1('0x9')](()=>this['ui'][_0x1ba1('0x17')]())[_0x1ba1('0x9')](()=>this['data'][_0x1ba1('0x17')](_0x1ff75a))[_0x1ba1('0x9')](()=>this['fire'](_0x1ba1('0x4')));}['destroy'](){return super[_0x1ba1('0x12')]()['then'](()=>this['ui']['destroy']());}['focus'](){this[_0x1ba1('0x8')][_0x1ba1('0x13')](_0x4d304a=>{const _0xbd037c=this['model']['document']['getRoot'](),_0x612389=_0xbd037c[_0x1ba1('0x1b')](_0xbd037c['childCount']-0x1);_0x4d304a[_0x1ba1('0xd')](_0x612389,'end'),this[_0x1ba1('0x0')]['view'][_0x1ba1('0xa')]();});}['pt'](){const _0x52ea31=this['editing'][_0x1ba1('0x10')],_0x75c2ef=_0x52ea31[_0x1ba1('0x1')][_0x1ba1('0x16')](),_0x40d1f3=_0x75c2ef['getChild'](0x0);_0x75c2ef[_0x1ba1('0x2')]>0x1||!_0x40d1f3||'p'!=_0x40d1f3[_0x1ba1('0x6')]?this[_0x1ba1('0x15')]&&(_0xcc4be(_0x52ea31,this[_0x1ba1('0x15')]),this[_0x1ba1('0x15')]=void 0x0):(_0x359dda({'view':_0x52ea31,'element':_0x40d1f3,'text':this[_0x1ba1('0x19')]}),this[_0x1ba1('0x15')]=_0x40d1f3);}}_0x31d380(pt,_0x13945b),_0x31d380(pt,_0x1ff6f3),pt['defaultPlugins']=[_0x27171f,_0x5546b9,_0x4bbc0d,_0x18713f,_0x47bf49,_0x48e7b2];

@@ -23,2 +23,2 @@ /*

*/
const _0x352d=['name','add','ready','view','init','rootName','bind','document','render','element','editing','editor','destroy','editable','isFocused','fire'];(function(_0x5a6b17,_0x352d78){const _0xe05854=function(_0x4bcb84){while(--_0x4bcb84){_0x5a6b17['push'](_0x5a6b17['shift']());}};_0xe05854(++_0x352d78);}(_0x352d,0x1e0));const _0xe058=function(_0x5a6b17,_0x352d78){_0x5a6b17=_0x5a6b17-0x0;let _0xe05854=_0x352d[_0x5a6b17];return _0xe05854;};import _0x16ad91 from'@ckeditor/ckeditor5-core/src/editor/editorui';import _0x1e2bca from'./commenteditoruiview';export default class tt extends _0x16ad91{constructor(_0xc557a0){super(_0xc557a0),this[_0xe058('0x3')]=new _0x1e2bca(_0xc557a0['locale'],_0xc557a0[_0xe058('0xa')][_0xe058('0x3')]);}get['element'](){return this[_0xe058('0x3')]['element'];}[_0xe058('0x4')](){const _0x3fc524=this[_0xe058('0xb')][_0xe058('0xa')][_0xe058('0x3')],_0x6ea868=this[_0xe058('0x3')]['editable'],_0x3adb59=_0x3fc524[_0xe058('0x7')]['getRoot']();_0x6ea868['name']=_0x3adb59[_0xe058('0x5')],this[_0xe058('0x3')][_0xe058('0x8')]();const _0x464fe9=_0x6ea868[_0xe058('0x9')];this['setEditableElement'](_0x6ea868[_0xe058('0x0')],_0x464fe9),this['focusTracker'][_0xe058('0x1')](_0x464fe9),this[_0xe058('0x3')][_0xe058('0xd')][_0xe058('0x6')](_0xe058('0xe'))['to'](this['focusTracker']),_0x3fc524['attachDomRoot'](_0x464fe9),this[_0xe058('0xf')](_0xe058('0x2'));}[_0xe058('0xc')](){this['view'][_0xe058('0xc')](),super[_0xe058('0xc')]();}}
const _0x57b6=['name','init','view','bind','element','focusTracker','destroy','editable','add','ready','render','editing','attachDomRoot'];(function(_0x5758ba,_0x57b67e){const _0x2f362f=function(_0x26af63){while(--_0x26af63){_0x5758ba['push'](_0x5758ba['shift']());}};_0x2f362f(++_0x57b67e);}(_0x57b6,0x1d3));const _0x2f36=function(_0x5758ba,_0x57b67e){_0x5758ba=_0x5758ba-0x0;let _0x2f362f=_0x57b6[_0x5758ba];return _0x2f362f;};import _0x3172ef from'@ckeditor/ckeditor5-core/src/editor/editorui';import _0x25f7e0 from'./commenteditoruiview';export default class tt extends _0x3172ef{constructor(_0x236678){super(_0x236678),this[_0x2f36('0x3')]=new _0x25f7e0(_0x236678['locale'],_0x236678[_0x2f36('0xc')][_0x2f36('0x3')]);}get[_0x2f36('0x5')](){return this[_0x2f36('0x3')]['element'];}[_0x2f36('0x2')](){const _0x78c700=this['editor'][_0x2f36('0xc')]['view'],_0x4887fb=this[_0x2f36('0x3')][_0x2f36('0x8')],_0x526135=_0x78c700['document']['getRoot']();_0x4887fb[_0x2f36('0x1')]=_0x526135['rootName'],this[_0x2f36('0x3')][_0x2f36('0xb')]();const _0x1d0836=_0x4887fb['element'];this['setEditableElement'](_0x4887fb[_0x2f36('0x1')],_0x1d0836),this[_0x2f36('0x6')][_0x2f36('0x9')](_0x1d0836),this['view'][_0x2f36('0x8')][_0x2f36('0x4')]('isFocused')['to'](this['focusTracker']),_0x78c700[_0x2f36('0x0')](_0x1d0836),this['fire'](_0x2f36('0xa'));}[_0x2f36('0x7')](){this[_0x2f36('0x3')][_0x2f36('0x7')](),super[_0x2f36('0x7')]();}}

@@ -23,2 +23,2 @@ /*

*/
import _0xebc254 from'@ckeditor/ckeditor5-ui/src/editableui/inline/inlineeditableuiview';import _0x582bf3 from'@ckeditor/ckeditor5-utils/src/uid';import _0x254400 from'@ckeditor/ckeditor5-ui/src/editorui/editoruiview';import ti from'@ckeditor/ckeditor5-ui/src/label/labelview';export default class ut extends _0x254400{constructor(_0x4820e2,_0x61912f){super(_0x4820e2);const _0x5bc0d9=_0x582bf3();this['main']=this['createCollection'](),this['editable']=new _0xebc254(_0x4820e2,_0x61912f),this['ii']=this['ei'](_0x5bc0d9,_0x4820e2),this['setTemplate']({'tag':'div','attributes':{'class':['ck-reset','ck-editor','ck-rounded-corners','ck-comment__input'],'role':'comment','dir':_0x4820e2['uiLanguageDirection'],'lang':_0x4820e2['uiLanguage'],'aria-labelledby':'cke-editor__aria-label_'+_0x5bc0d9},'children':[this['ii'],{'tag':'div','attributes':{'class':'ck-editor__main','role':'presentation'},'children':this['main']}]});}['render'](){super['render'](),this['main']['add'](this['editable']);}['focus'](){this['editable']['element']['focus']();}['ei'](_0x4d3774,_0x3abe1c){const _0x5872d0=new ti(),{t:t}=_0x3abe1c;return _0x5872d0['text']=t('Comment\x20editor'),_0x5872d0['extendTemplate']({'attributes':{'id':'ck-editor__aria-label_'+_0x4d3774,'class':'ck-voice-label'}}),_0x5872d0;}}
import _0x3b5fbd from'@ckeditor/ckeditor5-ui/src/editableui/inline/inlineeditableuiview';import _0x50bfe2 from'@ckeditor/ckeditor5-utils/src/uid';import _0x437d31 from'@ckeditor/ckeditor5-ui/src/editorui/editoruiview';import ti from'@ckeditor/ckeditor5-ui/src/label/labelview';export default class ut extends _0x437d31{constructor(_0x4d4235,_0x1fbcde){super(_0x4d4235);const _0x33e91c=_0x50bfe2();this['main']=this['createCollection'](),this['editable']=new _0x3b5fbd(_0x4d4235,_0x1fbcde),this['ii']=this['ei'](_0x33e91c,_0x4d4235),this['setTemplate']({'tag':'div','attributes':{'class':['ck-reset','ck-editor','ck-rounded-corners','ck-comment__input'],'role':'comment','dir':_0x4d4235['uiLanguageDirection'],'lang':_0x4d4235['uiLanguage'],'aria-labelledby':'cke-editor__aria-label_'+_0x33e91c},'children':[this['ii'],{'tag':'div','attributes':{'class':'ck-editor__main','role':'presentation'},'children':this['main']}]});}['render'](){super['render'](),this['main']['add'](this['editable']);}['focus'](){this['editable']['element']['focus']();}['ei'](_0x815b91,_0x424163){const _0x578375=new ti(),{t:t}=_0x424163;return _0x578375['text']=t('Comment\x20editor'),_0x578375['extendTemplate']({'attributes':{'id':'ck-editor__aria-label_'+_0x815b91,'class':'ck-voice-label'}}),_0x578375;}}

@@ -23,2 +23,2 @@ /*

*/
var _0x5431=['model','stopListening','removeComment','view','destroy','remove','listenTo','getComment','_isAttached','update','updateComment','addComment'];(function(_0xc32631,_0x54314){var _0x979231=function(_0x3334b9){while(--_0x3334b9){_0xc32631['push'](_0xc32631['shift']());}};_0x979231(++_0x54314);}(_0x5431,0x97));var _0x9792=function(_0xc32631,_0x54314){_0xc32631=_0xc32631-0x0;var _0x979231=_0x5431[_0xc32631];return _0x979231;};import _0x34d4dc from'@ckeditor/ckeditor5-utils/src/observablemixin';import _0x38501c from'@ckeditor/ckeditor5-utils/src/mix';export default class Ct{constructor(_0x5104b6,_0x25d7fc){this[_0x9792('0x5')]=_0x5104b6,this[_0x9792('0x5')][_0x9792('0x1')]=!0x0,this[_0x9792('0x8')]=_0x25d7fc,this[_0x9792('0xb')](_0x25d7fc,'removeCommentThread',()=>this[_0x9792('0xa')]()),this['listenTo'](_0x25d7fc,_0x9792('0x4'),(_0xf2465b,_0x6be51c)=>this[_0x9792('0x4')](_0x6be51c)),this[_0x9792('0xb')](_0x25d7fc,_0x9792('0x3'),(_0x557131,_0x3aa579,_0x522a7d)=>this[_0x9792('0x3')](_0x3aa579,_0x522a7d)),this['listenTo'](_0x25d7fc,'removeComment',(_0x5756c1,_0x5cc7be)=>this['removeComment'](_0x5cc7be));}[_0x9792('0xa')](){this[_0x9792('0x5')]['remove']();}[_0x9792('0x4')](_0x4a4165){this['model'][_0x9792('0x4')]({'content':_0x4a4165,'authorId':this[_0x9792('0x8')]['_localUser']['id']});}[_0x9792('0x3')](_0x5e3374,_0x1f7a45){this[_0x9792('0x5')]['getComment'](_0x5e3374)[_0x9792('0x2')]({'content':_0x1f7a45});}[_0x9792('0x7')](_0x5f29ab){this['model'][_0x9792('0x0')](_0x5f29ab)[_0x9792('0xa')]();}[_0x9792('0x9')](){this[_0x9792('0x6')](),this[_0x9792('0x5')][_0x9792('0x1')]=!0x1;}}_0x38501c(Ct,_0x34d4dc);
var _0x15d5=['getComment','_isAttached','listenTo','update','remove','stopListening','addComment','removeComment','removeCommentThread','model','_localUser','updateComment','view','destroy'];(function(_0xf0e377,_0x15d5d0){var _0x440207=function(_0x343529){while(--_0x343529){_0xf0e377['push'](_0xf0e377['shift']());}};_0x440207(++_0x15d5d0);}(_0x15d5,0xa3));var _0x4402=function(_0xf0e377,_0x15d5d0){_0xf0e377=_0xf0e377-0x0;var _0x440207=_0x15d5[_0xf0e377];return _0x440207;};import _0x52444b from'@ckeditor/ckeditor5-utils/src/observablemixin';import _0xe7380b from'@ckeditor/ckeditor5-utils/src/mix';export default class Ct{constructor(_0x53cbfb,_0x2ba680){this[_0x4402('0x0')]=_0x53cbfb,this[_0x4402('0x0')]['_isAttached']=!0x0,this['view']=_0x2ba680,this[_0x4402('0x7')](_0x2ba680,_0x4402('0xd'),()=>this[_0x4402('0x9')]()),this[_0x4402('0x7')](_0x2ba680,_0x4402('0xb'),(_0xaf2e70,_0x352969)=>this[_0x4402('0xb')](_0x352969)),this[_0x4402('0x7')](_0x2ba680,_0x4402('0x2'),(_0x508f04,_0x1671d5,_0x2a5dc6)=>this[_0x4402('0x2')](_0x1671d5,_0x2a5dc6)),this['listenTo'](_0x2ba680,_0x4402('0xc'),(_0x51f2b2,_0x12c08c)=>this['removeComment'](_0x12c08c));}[_0x4402('0x9')](){this['model'][_0x4402('0x9')]();}[_0x4402('0xb')](_0x11d2f4){this[_0x4402('0x0')][_0x4402('0xb')]({'content':_0x11d2f4,'authorId':this[_0x4402('0x3')][_0x4402('0x1')]['id']});}[_0x4402('0x2')](_0x41e48f,_0x444da6){this[_0x4402('0x0')][_0x4402('0x5')](_0x41e48f)[_0x4402('0x8')]({'content':_0x444da6});}[_0x4402('0xc')](_0x299722){this[_0x4402('0x0')][_0x4402('0x5')](_0x299722)[_0x4402('0x9')]();}[_0x4402('0x4')](){this[_0x4402('0xa')](),this['model'][_0x4402('0x6')]=!0x1;}}_0xe7380b(Ct,_0x52444b);

@@ -23,2 +23,2 @@ /*

*/
import _0x285638 from'@ckeditor/ckeditor5-ui/src/view';import lt from'./commentthreadinputview';import vt from'./commentslistview';export default class wt extends _0x285638{constructor(_0x3ae2fa,_0x248ac3,_0x2cac26,_0x1a3551){super(_0x3ae2fa),this['set']('isActive',!0x1),this['set']('isDirty',!0x1),this['_model']=_0x248ac3,this['_localUser']=_0x2cac26,this['_config']=_0x1a3551,this['commentsListView']=new vt(_0x3ae2fa,_0x248ac3,Object['assign']({'CommentView':this['_config']['CommentView']},_0x1a3551)),this['commentsListView']['delegate']('removeComment')['to'](this),this['commentsListView']['delegate']('updateComment')['to'](this),this['commentsListView']['bind']('isActive')['to'](this),this['set']('length',this['commentsListView']['length']),this['bind']('length')['to'](this['commentsListView'],'length'),this['commentThreadInputView']=this['lt'](),this['on']('removeComment',()=>this['focus']()),this['bind']('isDirty')['to'](this['commentsListView'],'hasDirtyComment',this['commentThreadInputView']['commentInputView'],'value',(_0x419da1,_0x40ab33)=>_0x419da1||!!_0x40ab33);}['focus'](){this['element']['focus']();}['destroy'](){this['isDirty']=!0x1,this['commentsListView']['destroy'](),this['commentThreadInputView']['destroy'](),super['destroy']();}['lt'](){const {t:t}=this['locale'],_0x2f4b8b=new lt(this['locale'],this['_localUser'],this['_config']['editorConfig']),_0x56f126=_0x2f4b8b['commentInputView'];return _0x2f4b8b['bind']('showInput')['to'](this,'isActive',this['_model'],'isReadOnly',_0x56f126,'value',(_0x1bab39,_0x193d2f,_0x318969)=>!!_0x318969||_0x1bab39&&!_0x193d2f),_0x56f126['bind']('placeholder')['to'](this,'length',_0x6c6e4=>t(_0x6c6e4?'Reply...':'Write\x20a\x20comment...')),_0x56f126['on']('submit',(_0x47ac92,_0x5b7614)=>{this['fire']('addComment',_0x5b7614);}),_0x56f126['on']('cancel',()=>{this['focus']();}),_0x56f126['bind']('disabledSubmit')['to'](this['_model'],'isReadOnly'),_0x56f126['on']('cancel',_0x12a026=>{0x0==this['length']&&(this['fire']('removeCommentThread'),_0x12a026['stop']());}),this['on']('change:isActive',(_0x2fb0c0,_0x13738e,_0x182a74)=>{_0x182a74||this['length']||_0x56f126['value']||this['fire']('removeCommentThread');}),_0x2f4b8b;}}
import _0x16b703 from'@ckeditor/ckeditor5-ui/src/view';import lt from'./commentthreadinputview';import vt from'./commentslistview';export default class wt extends _0x16b703{constructor(_0x43d2a1,_0x1c9a85,_0x50424f,_0x4033fe){super(_0x43d2a1),this['set']('isActive',!0x1),this['set']('isDirty',!0x1),this['_model']=_0x1c9a85,this['_localUser']=_0x50424f,this['_config']=_0x4033fe,this['commentsListView']=new vt(_0x43d2a1,_0x1c9a85,Object['assign']({'CommentView':this['_config']['CommentView']},_0x4033fe)),this['commentsListView']['delegate']('removeComment')['to'](this),this['commentsListView']['delegate']('updateComment')['to'](this),this['commentsListView']['bind']('isActive')['to'](this),this['set']('length',this['commentsListView']['length']),this['bind']('length')['to'](this['commentsListView'],'length'),this['commentThreadInputView']=this['vt'](),this['on']('removeComment',()=>this['focus']()),this['bind']('isDirty')['to'](this['commentsListView'],'hasDirtyComment',this['commentThreadInputView']['commentInputView'],'value',(_0x41a192,_0x281a23)=>_0x41a192||!!_0x281a23);}['focus'](){this['element']['focus']();}['destroy'](){this['isDirty']=!0x1,this['commentsListView']['destroy'](),this['commentThreadInputView']['destroy'](),super['destroy']();}['vt'](){const {t:t}=this['locale'],_0x1d400f=new lt(this['locale'],this['_localUser'],this['_config']['editorConfig']),_0x36dc12=_0x1d400f['commentInputView'];return _0x1d400f['bind']('showInput')['to'](this,'isActive',this['_model'],'isReadOnly',_0x36dc12,'value',(_0x1412e6,_0x14a617,_0x8402a7)=>!!_0x8402a7||_0x1412e6&&!_0x14a617),_0x36dc12['bind']('placeholder')['to'](this,'length',_0x59509b=>t(_0x59509b?'Reply...':'Write\x20a\x20comment...')),_0x36dc12['on']('submit',(_0x3cbc49,_0xf958a3)=>{this['fire']('addComment',_0xf958a3);}),_0x36dc12['on']('cancel',()=>{this['focus']();}),_0x36dc12['bind']('disabledSubmit')['to'](this['_model'],'isReadOnly'),_0x36dc12['on']('cancel',_0x24001c=>{0x0==this['length']&&(this['fire']('removeCommentThread'),_0x24001c['stop']());}),this['on']('change:isActive',(_0x231389,_0x2b6d90,_0x15a926)=>{_0x15a926||this['length']||_0x36dc12['value']||this['fire']('removeCommentThread');}),_0x1d400f;}}

@@ -23,2 +23,2 @@ /*

*/
const _0x4d7e=['collapse','_config','isCollapsed','switchToEditMode','remove','content','once','focus','maxCommentCharsWhenCollapsed','get','cancel','visibleView','editorConfig','expand','set','editorReady','value','_createCommentInputView','_model','disabledSubmit','isEditMode','element','switchToDisplayMode','bind','add','locale','destroy'];(function(_0x5692ef,_0x4d7e73){const _0x19b07c=function(_0x4c31d9){while(--_0x4c31d9){_0x5692ef['push'](_0x5692ef['shift']());}};_0x19b07c(++_0x4d7e73);}(_0x4d7e,0x1d0));const _0x19b0=function(_0x5692ef,_0x4d7e73){_0x5692ef=_0x5692ef-0x0;let _0x19b07c=_0x4d7e[_0x5692ef];return _0x19b07c;};import _0x3f8d81 from'@ckeditor/ckeditor5-ui/src/view';import _0x3268f7 from'./commentcontentview';import _0x4df42d from'./commentinputview';import _0x8397f1 from'../../../utils/trim-html';export default class xt extends _0x3f8d81{constructor(_0x341380,_0x1dd57d,_0x3a5a3e){super(_0x341380),this['_model']=_0x1dd57d,this[_0x19b0('0x17')]=_0x3a5a3e,this[_0x19b0('0x9')]('isEditMode',!0x1),this['set'](_0x19b0('0x18'),!0x0),this[_0x19b0('0x6')]=this['createCollection'](),this[_0x19b0('0x6')]['add'](this['wt']());}[_0x19b0('0x8')](){this[_0x19b0('0x18')]=!0x1;}[_0x19b0('0x16')](){this['isEditMode']||(this[_0x19b0('0x18')]=!0x0);}['focus'](){this[_0x19b0('0x10')][_0x19b0('0x2')]();}[_0x19b0('0x15')](){this[_0x19b0('0x6')][_0x19b0('0x4')](0x0)[_0x19b0('0x15')](),super[_0x19b0('0x15')]();}[_0x19b0('0x19')](){this[_0x19b0('0xf')]||(this[_0x19b0('0xf')]=!0x0,this[_0x19b0('0x6')][_0x19b0('0x1a')](0x0)[_0x19b0('0x15')](),this['visibleView'][_0x19b0('0x13')](this[_0x19b0('0xc')]()));}[_0x19b0('0x11')](){this[_0x19b0('0xf')]&&(this[_0x19b0('0xf')]=!0x1,this['visibleView']['remove'](0x0)[_0x19b0('0x15')](),this[_0x19b0('0x6')][_0x19b0('0x13')](this['wt']()));}['wt'](){const _0x5c839f=new _0x3268f7(this[_0x19b0('0x14')]);return _0x5c839f['bind'](_0x19b0('0x0'))['to'](this[_0x19b0('0xd')],_0x19b0('0x0'),this,'isCollapsed',(_0x28c9a1,_0x2e679c)=>_0x2e679c?_0x8397f1(_0x28c9a1,{'limit':this[_0x19b0('0x17')][_0x19b0('0x3')]}):_0x28c9a1),_0x5c839f;}['_createCommentInputView'](){this[_0x19b0('0x17')][_0x19b0('0x7')]||(this[_0x19b0('0x17')][_0x19b0('0x7')]={}),this[_0x19b0('0x17')]['editorConfig']['initialData']=this[_0x19b0('0xd')][_0x19b0('0x0')];const _0x1c7e9a=new _0x4df42d(this['locale'],this[_0x19b0('0x17')][_0x19b0('0x7')]);return _0x1c7e9a[_0x19b0('0xb')]=this['_model']['content'],_0x1c7e9a[_0x19b0('0x12')](_0x19b0('0xe'))['to'](this['_model'],'isReadOnly'),_0x1c7e9a['on']('submit',(_0x5bfda5,_0x413ac8)=>{this['fire']('updateComment',this['_model']['id'],_0x413ac8),this[_0x19b0('0x11')](),this[_0x19b0('0x2')]();}),_0x1c7e9a['on'](_0x19b0('0x5'),()=>{this[_0x19b0('0x11')](),this[_0x19b0('0x2')]();}),_0x1c7e9a[_0x19b0('0x1')](_0x19b0('0xa'),()=>{_0x1c7e9a[_0x19b0('0x2')]();}),_0x1c7e9a;}}
const _0x2c6c=['focus','_createCommentInputView','locale','maxCommentCharsWhenCollapsed','destroy','fire','_model','_config','switchToEditMode','isEditMode','createCollection','editorConfig','disabledSubmit','submit','isCollapsed','set','element','add','updateComment','get','bind','content','remove','visibleView','value','isReadOnly'];(function(_0x4bd3c4,_0x2c6ca7){const _0x1f1793=function(_0x5574ff){while(--_0x5574ff){_0x4bd3c4['push'](_0x4bd3c4['shift']());}};_0x1f1793(++_0x2c6ca7);}(_0x2c6c,0x1a2));const _0x1f17=function(_0x4bd3c4,_0x2c6ca7){_0x4bd3c4=_0x4bd3c4-0x0;let _0x1f1793=_0x2c6c[_0x4bd3c4];return _0x1f1793;};import _0x253d32 from'@ckeditor/ckeditor5-ui/src/view';import _0x5e37c6 from'./commentcontentview';import _0x5c0159 from'./commentinputview';import _0x4037d9 from'../../../utils/trim-html';export default class xt extends _0x253d32{constructor(_0x4c8e78,_0x570482,_0x97de6f){super(_0x4c8e78),this['_model']=_0x570482,this['_config']=_0x97de6f,this[_0x1f17('0xd')](_0x1f17('0x7'),!0x1),this[_0x1f17('0xd')](_0x1f17('0xc'),!0x0),this['visibleView']=this[_0x1f17('0x8')](),this['visibleView'][_0x1f17('0xf')](this['wt']());}['expand'](){this[_0x1f17('0xc')]=!0x1;}['collapse'](){this[_0x1f17('0x7')]||(this[_0x1f17('0xc')]=!0x0);}['focus'](){this[_0x1f17('0xe')][_0x1f17('0x18')]();}['destroy'](){this[_0x1f17('0x15')][_0x1f17('0x11')](0x0)[_0x1f17('0x2')](),super[_0x1f17('0x2')]();}[_0x1f17('0x6')](){this[_0x1f17('0x7')]||(this[_0x1f17('0x7')]=!0x0,this[_0x1f17('0x15')][_0x1f17('0x14')](0x0)['destroy'](),this[_0x1f17('0x15')][_0x1f17('0xf')](this[_0x1f17('0x19')]()));}['switchToDisplayMode'](){this[_0x1f17('0x7')]&&(this[_0x1f17('0x7')]=!0x1,this[_0x1f17('0x15')][_0x1f17('0x14')](0x0)['destroy'](),this[_0x1f17('0x15')][_0x1f17('0xf')](this['wt']()));}['wt'](){const _0x1164be=new _0x5e37c6(this[_0x1f17('0x0')]);return _0x1164be['bind'](_0x1f17('0x13'))['to'](this['_model'],_0x1f17('0x13'),this,'isCollapsed',(_0x3e152e,_0x3df0b8)=>_0x3df0b8?_0x4037d9(_0x3e152e,{'limit':this[_0x1f17('0x5')][_0x1f17('0x1')]}):_0x3e152e),_0x1164be;}[_0x1f17('0x19')](){this[_0x1f17('0x5')]['editorConfig']||(this[_0x1f17('0x5')][_0x1f17('0x9')]={}),this['_config'][_0x1f17('0x9')]['initialData']=this['_model'][_0x1f17('0x13')];const _0x392883=new _0x5c0159(this[_0x1f17('0x0')],this[_0x1f17('0x5')][_0x1f17('0x9')]);return _0x392883[_0x1f17('0x16')]=this['_model'][_0x1f17('0x13')],_0x392883[_0x1f17('0x12')](_0x1f17('0xa'))['to'](this[_0x1f17('0x4')],_0x1f17('0x17')),_0x392883['on'](_0x1f17('0xb'),(_0x3d6c36,_0x5ae0c4)=>{this[_0x1f17('0x3')](_0x1f17('0x10'),this[_0x1f17('0x4')]['id'],_0x5ae0c4),this['switchToDisplayMode'](),this[_0x1f17('0x18')]();}),_0x392883['on']('cancel',()=>{this['switchToDisplayMode'](),this[_0x1f17('0x18')]();}),_0x392883['once']('editorReady',()=>{_0x392883[_0x1f17('0x18')]();}),_0x392883;}}

@@ -23,2 +23,2 @@ /*

*/
import _0x5e4ee2 from'@ckeditor/ckeditor5-ui/src/view';export default class _t extends _0x5e4ee2{constructor(_0x3bac4e){super(_0x3bac4e);const {t:t}=_0x3bac4e,_0x1160a8=this['bindTemplate'];this['set']('count'),this['setTemplate']({'tag':'li','attributes':{'class':'ck-thread__comment-count'},'children':[{'text':_0x1160a8['to']('count',_0x4af9e8=>t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0x4af9e8))}]});}}
import _0x507cfb from'@ckeditor/ckeditor5-ui/src/view';export default class _t extends _0x507cfb{constructor(_0x4ab1b8){super(_0x4ab1b8);const {t:t}=_0x4ab1b8,_0x347e03=this['bindTemplate'];this['set']('count'),this['setTemplate']({'tag':'li','attributes':{'class':'ck-thread__comment-count'},'children':[{'text':_0x347e03['to']('count',_0x182e4a=>t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0x182e4a))}]});}}

@@ -23,2 +23,2 @@ /*

*/
var _0xe984=['div','render','ck-comment__content','element','innerHTML','content','setTemplate','ck-annotation__content','change:content'];(function(_0x51188c,_0xe984b1){var _0x4fc6c9=function(_0x526379){while(--_0x526379){_0x51188c['push'](_0x51188c['shift']());}};_0x4fc6c9(++_0xe984b1);}(_0xe984,0x79));var _0x4fc6=function(_0x51188c,_0xe984b1){_0x51188c=_0x51188c-0x0;var _0x4fc6c9=_0xe984[_0x51188c];return _0x4fc6c9;};import _0xe684aa from'@ckeditor/ckeditor5-ui/src/view';export default class ft extends _0xe684aa{constructor(_0x4ca9e3){super(_0x4ca9e3),this['set'](_0x4fc6('0x1'),''),this[_0x4fc6('0x2')]({'tag':_0x4fc6('0x5'),'attributes':{'class':[_0x4fc6('0x7'),_0x4fc6('0x3')]}});}[_0x4fc6('0x6')](){super[_0x4fc6('0x6')](),this['on'](_0x4fc6('0x4'),(_0x3dfab6,_0x50a22a,_0xa6e86e)=>{this['element'][_0x4fc6('0x0')]=_0xa6e86e;}),this[_0x4fc6('0x8')][_0x4fc6('0x0')]=this[_0x4fc6('0x1')];}}
var _0x5ae4=['change:content','set','content','setTemplate','render','ck-comment__content','div','innerHTML','element','ck-annotation__content'];(function(_0x151464,_0x5ae46c){var _0x4002e7=function(_0x199bbb){while(--_0x199bbb){_0x151464['push'](_0x151464['shift']());}};_0x4002e7(++_0x5ae46c);}(_0x5ae4,0xbc));var _0x4002=function(_0x151464,_0x5ae46c){_0x151464=_0x151464-0x0;var _0x4002e7=_0x5ae4[_0x151464];return _0x4002e7;};import _0x455eb4 from'@ckeditor/ckeditor5-ui/src/view';export default class ft extends _0x455eb4{constructor(_0x21fc76){super(_0x21fc76),this[_0x4002('0x3')](_0x4002('0x4'),''),this[_0x4002('0x5')]({'tag':_0x4002('0x8'),'attributes':{'class':[_0x4002('0x7'),_0x4002('0x1')]}});}[_0x4002('0x6')](){super[_0x4002('0x6')](),this['on'](_0x4002('0x2'),(_0x1fd860,_0x218477,_0x2aec67)=>{this[_0x4002('0x0')][_0x4002('0x9')]=_0x2aec67;}),this[_0x4002('0x0')][_0x4002('0x9')]=this[_0x4002('0x4')];}}

@@ -23,2 +23,2 @@ /*

*/
import _0x21f5f2 from'@ckeditor/ckeditor5-ui/src/view';import kt from'@ckeditor/ckeditor5-ui/src/viewcollection';import pt from'../commenteditor/commenteditor';import _0x24ad66 from'@ckeditor/ckeditor5-ui/src/button/buttonview';import _0x5bfb1d from'@ckeditor/ckeditor5-utils/src/focustracker';import gt from'@ckeditor/ckeditor5-ui/src/focuscycler';import _0x869824 from'@ckeditor/ckeditor5-utils/src/keystrokehandler';import Bt from'@ckeditor/ckeditor5-core/theme/icons/check.svg';import Et from'@ckeditor/ckeditor5-core/theme/icons/cancel.svg';export default class yt extends _0x21f5f2{constructor(_0x22a731,_0x4eee2d={}){super(_0x22a731);const {t:t}=_0x22a731;this['editor']=new pt(_0x4eee2d),this['keystrokes']=new _0x869824(),this['focusTracker']=new _0x5bfb1d(),this['set']('value',_0x4eee2d['initialData']||''),this['set']('disabledSubmit',!0x1),this['set']('showButtons',!0x0),this['set']('placeholder',t('Reply...')),this['submitButtonView']=this['kt'](),this['cancelButtonView']=this['bt'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck-comment__input-wrapper']},'children':[{'tag':'div','attributes':{'class':['ck-comment__input-actions',this['bindTemplate']['if']('showButtons','ck-comment__input-actions--active')]},'children':[this['submitButtonView'],this['cancelButtonView']]}]}),this['keystrokes']['set']('Esc',(_0x9c4255,_0x2770dc)=>{this['cancelButtonView']['fire']('execute'),_0x2770dc();}),this['on']('submit',(_0x163279,_0x34adc6)=>{_0x34adc6['length']>0xfa0?(alert(t({'string':'Comment\x20content\x20is\x20too\x20long.\x20Your\x20comment\x20has\x20%0\x20characters\x20but\x20the\x20limit\x20is\x20%1\x20characters.','id':'TOO_LONG_COMMENT_ALERT'},[_0x34adc6['length'],0xfa0])),_0x163279['stop']()):this['editor']['setData']('');},{'priority':'high'});}['render'](){super['render']();const {editor:_0x3e33b3,element:_0x2e775e}=this;this['keystrokes']['listenTo'](_0x2e775e),this['focusTracker']['add'](_0x2e775e),_0x3e33b3['create']()['then'](()=>{_0x2e775e['insertBefore'](_0x3e33b3['ui']['element'],_0x2e775e['firstChild']),_0x3e33b3['model']['document']['on']('change',()=>this['value']=_0x3e33b3['getData']()),_0x3e33b3['bind']('placeholder')['to'](this),this['ft'](_0x3e33b3),this['fire']('editorReady');});}['focus'](){this['editor']['focus']();}['destroy'](){return this['_t']?Promise['resolve']():(this['_t']=!0x0,this['isRendered']?this['editor']['destroy']()['then'](()=>super['destroy']()):Promise['resolve'](super['destroy']()));}['kt'](){const _0x2ea600=new _0x24ad66(this['locale']),{t:t}=this['locale'];return _0x2ea600['extendTemplate']({'attributes':{'class':['ck-comment__input-actions--submit']}}),_0x2ea600['label']=t('Submit'),_0x2ea600['icon']=Bt,_0x2ea600['on']('execute',()=>{this['fire']('submit',this['value']);}),_0x2ea600['bind']('isEnabled')['to'](this,'value',this,'disabledSubmit',(_0x39d156,_0x435a47)=>!_0x435a47&&!!_0x39d156['trim']()),_0x2ea600;}['bt'](){const _0x4778b6=new _0x24ad66(this['locale']),{t:t}=this['locale'];return _0x4778b6['extendTemplate']({'attributes':{'class':['ck-comment__input-actions--cancel']}}),_0x4778b6['label']=t('Cancel'),_0x4778b6['icon']=Et,_0x4778b6['on']('execute',()=>{this['editor']['setData'](''),this['fire']('cancel');}),_0x4778b6;}['ft'](_0x51bec0){const _0x1eec41=this['focusTracker'],_0x16ddea=new kt();[_0x51bec0['ui']['view'],this['submitButtonView'],this['cancelButtonView']]['forEach'](_0x4471ac=>{_0x16ddea['add'](_0x4471ac),_0x1eec41['add'](_0x4471ac['element']);});const _0x4915bc=new gt({'focusables':_0x16ddea,'focusTracker':_0x1eec41});this['keystrokes']['set']('tab',(_0x19300c,_0x2317ba)=>{_0x4915bc['focusNext'](),_0x2317ba();},{'priority':'low'}),this['keystrokes']['set']('shift\x20+\x20tab',(_0x230144,_0x2c9080)=>{_0x4915bc['focusPrevious'](),_0x2c9080();},{'priority':'low'});}}
import _0x167fd3 from'@ckeditor/ckeditor5-ui/src/view';import kt from'@ckeditor/ckeditor5-ui/src/viewcollection';import pt from'../commenteditor/commenteditor';import _0x7001f5 from'@ckeditor/ckeditor5-ui/src/button/buttonview';import _0x4c7392 from'@ckeditor/ckeditor5-utils/src/focustracker';import gt from'@ckeditor/ckeditor5-ui/src/focuscycler';import _0x44bc1c from'@ckeditor/ckeditor5-utils/src/keystrokehandler';import Bt from'@ckeditor/ckeditor5-core/theme/icons/check.svg';import Et from'@ckeditor/ckeditor5-core/theme/icons/cancel.svg';export default class yt extends _0x167fd3{constructor(_0x5ed905,_0x13ecd3={}){super(_0x5ed905);const {t:t}=_0x5ed905;this['editor']=new pt(_0x13ecd3),this['keystrokes']=new _0x44bc1c(),this['focusTracker']=new _0x4c7392(),this['set']('value',_0x13ecd3['initialData']||''),this['set']('disabledSubmit',!0x1),this['set']('showButtons',!0x0),this['set']('placeholder',t('Reply...')),this['submitButtonView']=this['kt'](),this['cancelButtonView']=this['bt'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck-comment__input-wrapper']},'children':[{'tag':'div','attributes':{'class':['ck-comment__input-actions',this['bindTemplate']['if']('showButtons','ck-comment__input-actions--active')]},'children':[this['submitButtonView'],this['cancelButtonView']]}]}),this['keystrokes']['set']('Esc',(_0x440407,_0x1dc6b6)=>{this['cancelButtonView']['fire']('execute'),_0x1dc6b6();}),this['on']('submit',(_0x1e091c,_0xaf2cb4)=>{_0xaf2cb4['length']>0xfa0?(alert(t({'string':'Comment\x20content\x20is\x20too\x20long.\x20Your\x20comment\x20has\x20%0\x20characters\x20but\x20the\x20limit\x20is\x20%1\x20characters.','id':'TOO_LONG_COMMENT_ALERT'},[_0xaf2cb4['length'],0xfa0])),_0x1e091c['stop']()):this['editor']['setData']('');},{'priority':'high'});}['render'](){super['render']();const {editor:_0x432647,element:_0x4e0354}=this;this['keystrokes']['listenTo'](_0x4e0354),this['focusTracker']['add'](_0x4e0354),_0x432647['create']()['then'](()=>{_0x4e0354['insertBefore'](_0x432647['ui']['element'],_0x4e0354['firstChild']),_0x432647['model']['document']['on']('change',()=>this['value']=_0x432647['getData']()),_0x432647['bind']('placeholder')['to'](this),this['ft'](_0x432647),this['fire']('editorReady');});}['focus'](){this['editor']['focus']();}['destroy'](){return this['_t']?Promise['resolve']():(this['_t']=!0x0,this['isRendered']?this['editor']['destroy']()['then'](()=>super['destroy']()):Promise['resolve'](super['destroy']()));}['kt'](){const _0x540ed2=new _0x7001f5(this['locale']),{t:t}=this['locale'];return _0x540ed2['extendTemplate']({'attributes':{'class':['ck-comment__input-actions--submit']}}),_0x540ed2['label']=t('Submit'),_0x540ed2['icon']=Bt,_0x540ed2['on']('execute',()=>{this['fire']('submit',this['value']);}),_0x540ed2['bind']('isEnabled')['to'](this,'value',this,'disabledSubmit',(_0x5666f8,_0x3d6dbf)=>!_0x3d6dbf&&!!_0x5666f8['trim']()),_0x540ed2;}['bt'](){const _0x454a70=new _0x7001f5(this['locale']),{t:t}=this['locale'];return _0x454a70['extendTemplate']({'attributes':{'class':['ck-comment__input-actions--cancel']}}),_0x454a70['label']=t('Cancel'),_0x454a70['icon']=Et,_0x454a70['on']('execute',()=>{this['editor']['setData'](''),this['fire']('cancel');}),_0x454a70;}['ft'](_0x152e3d){const _0xa3f7b9=this['focusTracker'],_0x1b3d58=new kt();[_0x152e3d['ui']['view'],this['submitButtonView'],this['cancelButtonView']]['forEach'](_0x42e566=>{_0x1b3d58['add'](_0x42e566),_0xa3f7b9['add'](_0x42e566['element']);});const _0x27fec5=new gt({'focusables':_0x1b3d58,'focusTracker':_0xa3f7b9});this['keystrokes']['set']('tab',(_0x2aac79,_0x4eb04b)=>{_0x27fec5['focusNext'](),_0x4eb04b();},{'priority':'low'}),this['keystrokes']['set']('shift\x20+\x20tab',(_0x5559b3,_0x59e024)=>{_0x27fec5['focusPrevious'](),_0x59e024();},{'priority':'low'});}}

@@ -23,2 +23,2 @@ /*

*/
const _0x5aa6=['count','visibleViews','isEditMode','_config','some','add','_model','_collapsedCommentsView','collapse','bind','stopListening','destroy','commentViews','delegate','get','editorConfig','ck-thread__comments','commentUpdated','removeComment','listenTo','length','hasDirtyComment','expand','setTemplate','isActive','equal','render','refreshVisibleViews','focus','locale','maxCommentCharsWhenCollapsed','from','comments','change:hasDirtyComment','change:isEditMode','maxThreadTotalWeight','remove'];(function(_0x54ba02,_0x5aa621){const _0x3d7ff4=function(_0x514a28){while(--_0x514a28){_0x54ba02['push'](_0x54ba02['shift']());}};_0x3d7ff4(++_0x5aa621);}(_0x5aa6,0x1c8));const _0x3d7f=function(_0x54ba02,_0x5aa621){_0x54ba02=_0x54ba02-0x0;let _0x3d7ff4=_0x5aa6[_0x54ba02];return _0x3d7ff4;};import _0x3ae85a from'@ckeditor/ckeditor5-ui/src/view';import _0x165cd5 from'@ckeditor/ckeditor5-utils/src/diff';import _0x4d3057 from'./collapsedcommentsview';import _0x4b5189 from'@ckeditor/ckeditor5-utils/src/collection';export default class vt extends _0x3ae85a{constructor(_0x3f9c37,_0x549250,_0x3dac5f){super(_0x3f9c37),this['set']('hasDirtyComment',!0x1),this['set'](_0x3d7f('0x8'),_0x549250[_0x3d7f('0x14')][_0x3d7f('0x8')]),this['set'](_0x3d7f('0xc'),!0x1),this[_0x3d7f('0x1f')]=_0x549250,this[_0x3d7f('0x1c')]=_0x3dac5f,this[_0x3d7f('0x0')]=this['createCollection'](),this['visibleViews']=this['createCollection'](),this[_0x3d7f('0x20')]=new _0x4d3057(_0x3f9c37),this[_0x3d7f('0x20')][_0x3d7f('0x22')]('count')['to'](this,'length',_0x427af5=>_0x427af5-this[_0x3d7f('0x1c')]['maxCommentsWhenCollapsed']);for(const _0x3d867c of _0x549250['comments'])this['Ct'](_0x3d867c);this[_0x3d7f('0x7')](_0x549250[_0x3d7f('0x14')],'add',(_0x1130fb,_0x3491a6)=>{this[_0x3d7f('0x8')]++,this['Ct'](_0x3491a6),this[_0x3d7f('0xf')]();}),this['listenTo'](_0x549250['comments'],_0x3d7f('0x18'),(_0x35a5e7,_0x546f8c)=>{this['length']--,this['gt'](_0x546f8c),this[_0x3d7f('0xf')]();}),this[_0x3d7f('0x7')](_0x549250,_0x3d7f('0x5'),()=>this['refreshVisibleViews']()),this['on']('change:isActive',()=>this[_0x3d7f('0xf')]()),this['on'](_0x3d7f('0x15'),()=>this[_0x3d7f('0xf')]()),this[_0x3d7f('0xb')]({'tag':'ul','attributes':{'class':[_0x3d7f('0x4')]},'children':this[_0x3d7f('0x1a')]});}get['yt'](){return this['_model']['weight']>this[_0x3d7f('0x1c')][_0x3d7f('0x17')]&&!this[_0x3d7f('0xc')]&&!this[_0x3d7f('0x9')];}[_0x3d7f('0xe')](){super[_0x3d7f('0xe')](),this[_0x3d7f('0xf')]();}[_0x3d7f('0x10')](){this['element'][_0x3d7f('0x10')]();}['destroy'](){this['_collapsedCommentsView'][_0x3d7f('0x24')]();for(const _0x18339d of this[_0x3d7f('0x0')])_0x18339d[_0x3d7f('0x24')]();super['destroy']();}[_0x3d7f('0xf')](){this['yt']?this['vt']():this['At']();}['Ct'](_0x26f1c5){const _0x530ca4=new this[(_0x3d7f('0x1c'))]['CommentView'](this[_0x3d7f('0x11')],_0x26f1c5,{'maxCommentCharsWhenCollapsed':this[_0x3d7f('0x1c')][_0x3d7f('0x12')],'formatDateTime':this[_0x3d7f('0x1c')]['formatDateTime'],'editorConfig':this[_0x3d7f('0x1c')][_0x3d7f('0x3')]});_0x530ca4['viewUid']=_0x26f1c5['id'],_0x530ca4[_0x3d7f('0x1')](_0x3d7f('0x6'))['to'](this),_0x530ca4['delegate']('updateComment')['to'](this),this[_0x3d7f('0x7')](_0x530ca4,_0x3d7f('0x16'),()=>this['xt']()),this[_0x3d7f('0x0')][_0x3d7f('0x1e')](_0x530ca4);}['gt'](_0x2ef48a){const _0x34ed21=this[_0x3d7f('0x0')][_0x3d7f('0x18')](_0x2ef48a['id']);this[_0x3d7f('0x23')](_0x34ed21),_0x34ed21[_0x3d7f('0x1b')]&&this['xt'](),_0x34ed21[_0x3d7f('0x24')]();}['xt'](){this[_0x3d7f('0x9')]=Array[_0x3d7f('0x13')](this[_0x3d7f('0x0')])[_0x3d7f('0x1d')](_0x17d024=>_0x17d024['isEditMode']);}['vt'](){const _0x2ea496=function(_0x1713fb){const _0x53d620=new _0x4b5189();for(const _0x114ad8 of _0x1713fb)_0x53d620[_0x3d7f('0x1e')](_0x114ad8);return _0x53d620;}(this[_0x3d7f('0x0')]),_0xacd2=this[_0x3d7f('0x20')][_0x3d7f('0x19')];for(let _0x59f3b6=0x1;_0x59f3b6<=_0xacd2;_0x59f3b6++)_0x2ea496['remove'](0x1);for(const _0x379527 of _0x2ea496)_0x379527[_0x3d7f('0x21')]();_0xacd2>0x0&&_0x2ea496[_0x3d7f('0x1e')](this[_0x3d7f('0x20')],0x1),Dt(_0x165cd5(Array[_0x3d7f('0x13')](this[_0x3d7f('0x1a')]),Array[_0x3d7f('0x13')](_0x2ea496)),this['visibleViews'],_0x2ea496);}['At'](){Dt(_0x165cd5(Array[_0x3d7f('0x13')](this[_0x3d7f('0x1a')]),Array[_0x3d7f('0x13')](this[_0x3d7f('0x0')])),this[_0x3d7f('0x1a')],this[_0x3d7f('0x0')]);for(const _0x1bdef1 of this[_0x3d7f('0x1a')])_0x1bdef1[_0x3d7f('0xa')]();}}function Dt(_0x2858c7,_0x387f01,_0x300d7e){let _0x39f7e0=0x0;for(const _0x3886be of _0x2858c7)switch(_0x3886be){case'insert':_0x387f01['add'](_0x300d7e[_0x3d7f('0x2')](_0x39f7e0),_0x39f7e0),_0x39f7e0++;break;case'delete':_0x387f01['remove'](_0x39f7e0);break;case _0x3d7f('0xd'):_0x39f7e0++;}}
const _0x1913=['maxThreadTotalWeight','expand','from','stopListening','visibleViews','refreshVisibleViews','insert','formatDateTime','hasDirtyComment','weight','delete','commentViews','_config','bind','_model','render','change:hasDirtyComment','removeComment','add','some','element','focus','isActive','get','_collapsedCommentsView','updateComment','equal','createCollection','remove','CommentView','setTemplate','listenTo','maxCommentCharsWhenCollapsed','change:isActive','commentUpdated','maxCommentsWhenCollapsed','set','comments','length','destroy','isEditMode','delegate'];(function(_0x42e0f0,_0x191358){const _0x175ad3=function(_0x47d725){while(--_0x47d725){_0x42e0f0['push'](_0x42e0f0['shift']());}};_0x175ad3(++_0x191358);}(_0x1913,0x17d));const _0x175a=function(_0x42e0f0,_0x191358){_0x42e0f0=_0x42e0f0-0x0;let _0x175ad3=_0x1913[_0x42e0f0];return _0x175ad3;};import _0x3bed17 from'@ckeditor/ckeditor5-ui/src/view';import _0x413515 from'@ckeditor/ckeditor5-utils/src/diff';import _0xed8c9f from'./collapsedcommentsview';import _0x270ba6 from'@ckeditor/ckeditor5-utils/src/collection';export default class vt extends _0x3bed17{constructor(_0x11e941,_0x3e177b,_0x91ab14){super(_0x11e941),this['set'](_0x175a('0x5'),!0x1),this[_0x175a('0x21')]('length',_0x3e177b[_0x175a('0x22')][_0x175a('0x23')]),this['set'](_0x175a('0x13'),!0x1),this[_0x175a('0xb')]=_0x3e177b,this[_0x175a('0x9')]=_0x91ab14,this[_0x175a('0x8')]=this[_0x175a('0x18')](),this[_0x175a('0x1')]=this['createCollection'](),this[_0x175a('0x15')]=new _0xed8c9f(_0x11e941),this['_collapsedCommentsView'][_0x175a('0xa')]('count')['to'](this,_0x175a('0x23'),_0x3204a9=>_0x3204a9-this[_0x175a('0x9')][_0x175a('0x20')]);for(const _0xb7c5fe of _0x3e177b['comments'])this['Ct'](_0xb7c5fe);this[_0x175a('0x1c')](_0x3e177b['comments'],_0x175a('0xf'),(_0x10edee,_0x9fe7b6)=>{this['length']++,this['Ct'](_0x9fe7b6),this[_0x175a('0x2')]();}),this[_0x175a('0x1c')](_0x3e177b['comments'],_0x175a('0x19'),(_0x58e205,_0x2de236)=>{this[_0x175a('0x23')]--,this['gt'](_0x2de236),this['refreshVisibleViews']();}),this[_0x175a('0x1c')](_0x3e177b,_0x175a('0x1f'),()=>this[_0x175a('0x2')]()),this['on'](_0x175a('0x1e'),()=>this[_0x175a('0x2')]()),this['on'](_0x175a('0xd'),()=>this[_0x175a('0x2')]()),this[_0x175a('0x1b')]({'tag':'ul','attributes':{'class':['ck-thread__comments']},'children':this['visibleViews']});}get['yt'](){return this['_model'][_0x175a('0x6')]>this[_0x175a('0x9')][_0x175a('0x27')]&&!this[_0x175a('0x13')]&&!this['hasDirtyComment'];}[_0x175a('0xc')](){super['render'](),this[_0x175a('0x2')]();}[_0x175a('0x12')](){this[_0x175a('0x11')]['focus']();}[_0x175a('0x24')](){this[_0x175a('0x15')][_0x175a('0x24')]();for(const _0x551fc5 of this[_0x175a('0x8')])_0x551fc5[_0x175a('0x24')]();super[_0x175a('0x24')]();}[_0x175a('0x2')](){this['yt']?this['At']():this['xt']();}['Ct'](_0x4ba866){const _0xbb3430=new this[(_0x175a('0x9'))][(_0x175a('0x1a'))](this['locale'],_0x4ba866,{'maxCommentCharsWhenCollapsed':this[_0x175a('0x9')][_0x175a('0x1d')],'formatDateTime':this[_0x175a('0x9')][_0x175a('0x4')],'editorConfig':this[_0x175a('0x9')]['editorConfig']});_0xbb3430['viewUid']=_0x4ba866['id'],_0xbb3430[_0x175a('0x26')](_0x175a('0xe'))['to'](this),_0xbb3430[_0x175a('0x26')](_0x175a('0x16'))['to'](this),this[_0x175a('0x1c')](_0xbb3430,'change:isEditMode',()=>this['Dt']()),this['commentViews'][_0x175a('0xf')](_0xbb3430);}['gt'](_0x2d1957){const _0x1adb0e=this[_0x175a('0x8')][_0x175a('0x19')](_0x2d1957['id']);this[_0x175a('0x0')](_0x1adb0e),_0x1adb0e['isEditMode']&&this['Dt'](),_0x1adb0e['destroy']();}['Dt'](){this['hasDirtyComment']=Array[_0x175a('0x29')](this['commentViews'])[_0x175a('0x10')](_0x398a49=>_0x398a49[_0x175a('0x25')]);}['At'](){const _0x1cc27e=function(_0x5cd7cc){const _0x5ce66e=new _0x270ba6();for(const _0x3e318a of _0x5cd7cc)_0x5ce66e[_0x175a('0xf')](_0x3e318a);return _0x5ce66e;}(this[_0x175a('0x8')]),_0x5bae4f=this['_collapsedCommentsView']['count'];for(let _0x5827ed=0x1;_0x5827ed<=_0x5bae4f;_0x5827ed++)_0x1cc27e[_0x175a('0x19')](0x1);for(const _0x3277c0 of _0x1cc27e)_0x3277c0['collapse']();_0x5bae4f>0x0&&_0x1cc27e[_0x175a('0xf')](this[_0x175a('0x15')],0x1),Dt(_0x413515(Array[_0x175a('0x29')](this[_0x175a('0x1')]),Array[_0x175a('0x29')](_0x1cc27e)),this[_0x175a('0x1')],_0x1cc27e);}['xt'](){Dt(_0x413515(Array[_0x175a('0x29')](this[_0x175a('0x1')]),Array[_0x175a('0x29')](this['commentViews'])),this[_0x175a('0x1')],this[_0x175a('0x8')]);for(const _0x1ffb67 of this[_0x175a('0x1')])_0x1ffb67[_0x175a('0x28')]();}}function Dt(_0x367c09,_0x2e9d5a,_0xa562b9){let _0x231f6c=0x0;for(const _0x4116c5 of _0x367c09)switch(_0x4116c5){case _0x175a('0x3'):_0x2e9d5a[_0x175a('0xf')](_0xa562b9[_0x175a('0x14')](_0x231f6c),_0x231f6c),_0x231f6c++;break;case _0x175a('0x7'):_0x2e9d5a[_0x175a('0x19')](_0x231f6c);break;case _0x175a('0x17'):_0x231f6c++;}}

@@ -23,2 +23,2 @@ /*

*/
var _0x3706=['then','commentInputView','bindTemplate','ck-thread__user','bind','showButtons','set','value','ck-comment__input-container--active','showInput','ck-thread__input','destroy','focusTracker','extendTemplate','userView'];(function(_0x3dbbe4,_0x370676){var _0x1944a5=function(_0x24c89e){while(--_0x24c89e){_0x3dbbe4['push'](_0x3dbbe4['shift']());}};_0x1944a5(++_0x370676);}(_0x3706,0x167));var _0x1944=function(_0x3dbbe4,_0x370676){_0x3dbbe4=_0x3dbbe4-0x0;var _0x1944a5=_0x3706[_0x3dbbe4];return _0x1944a5;};import _0x23a1e7 from'@ckeditor/ckeditor5-ui/src/view';import _0x1b9b6a from'./commentinputview';import _0x25d61d from'@ckeditor/ckeditor5-collaboration-core/src/users/view/userview';export default class lt extends _0x23a1e7{constructor(_0x459073,_0x87af12,_0x8c70e6){super(_0x459073),this[_0x1944('0x2')]=new _0x1b9b6a(_0x459073,_0x8c70e6),this[_0x1944('0x2')][_0x1944('0x5')](_0x1944('0x6'))['to'](this[_0x1944('0x2')][_0x1944('0xd')],'isFocused',this[_0x1944('0x2')],_0x1944('0x8'),(_0x304729,_0x49c31a)=>_0x304729||!!_0x49c31a),this[_0x1944('0x7')]('showInput',!0x1),this[_0x1944('0x0')]=new _0x25d61d(_0x459073,_0x87af12),this[_0x1944('0x0')][_0x1944('0xe')]({'attributes':{'class':_0x1944('0x4')}}),this[_0x1944('0x2')]['extendTemplate']({'attributes':{'class':_0x1944('0xb')}}),this['setTemplate']({'tag':'div','attributes':{'class':['ck-comment__input-container',this[_0x1944('0x3')]['if'](_0x1944('0xa'),_0x1944('0x9'))]},'children':[this[_0x1944('0x0')],this[_0x1944('0x2')]]});}[_0x1944('0xc')](){this['commentInputView'][_0x1944('0xc')]()[_0x1944('0x1')](()=>super[_0x1944('0xc')]());}}
var _0x2491=['showButtons','isFocused','bind','commentInputView','userView','showInput','then','destroy','setTemplate','ck-comment__input-container','div','ck-comment__input-container--active','bindTemplate','ck-thread__input','set','extendTemplate'];(function(_0x4f3bc1,_0x249140){var _0x1f2491=function(_0x3ba761){while(--_0x3ba761){_0x4f3bc1['push'](_0x4f3bc1['shift']());}};_0x1f2491(++_0x249140);}(_0x2491,0x1b1));var _0x1f24=function(_0x4f3bc1,_0x249140){_0x4f3bc1=_0x4f3bc1-0x0;var _0x1f2491=_0x2491[_0x4f3bc1];return _0x1f2491;};import _0xcbdac0 from'@ckeditor/ckeditor5-ui/src/view';import _0x5c95bf from'./commentinputview';import _0x15fb2e from'@ckeditor/ckeditor5-collaboration-core/src/users/view/userview';export default class lt extends _0xcbdac0{constructor(_0xc2d867,_0x40a4ba,_0x209ab3){super(_0xc2d867),this[_0x1f24('0x2')]=new _0x5c95bf(_0xc2d867,_0x209ab3),this[_0x1f24('0x2')][_0x1f24('0x1')](_0x1f24('0xf'))['to'](this[_0x1f24('0x2')]['focusTracker'],_0x1f24('0x0'),this['commentInputView'],'value',(_0x1129b0,_0x241b38)=>_0x1129b0||!!_0x241b38),this[_0x1f24('0xd')](_0x1f24('0x4'),!0x1),this[_0x1f24('0x3')]=new _0x15fb2e(_0xc2d867,_0x40a4ba),this[_0x1f24('0x3')][_0x1f24('0xe')]({'attributes':{'class':'ck-thread__user'}}),this[_0x1f24('0x2')][_0x1f24('0xe')]({'attributes':{'class':_0x1f24('0xc')}}),this[_0x1f24('0x7')]({'tag':_0x1f24('0x9'),'attributes':{'class':[_0x1f24('0x8'),this[_0x1f24('0xb')]['if'](_0x1f24('0x4'),_0x1f24('0xa'))]},'children':[this[_0x1f24('0x3')],this[_0x1f24('0x2')]]});}[_0x1f24('0x6')](){this['commentInputView'][_0x1f24('0x6')]()[_0x1f24('0x5')](()=>super[_0x1f24('0x6')]());}}

@@ -23,2 +23,2 @@ /*

*/
import wt from'./basecommentthreadview';import it from'@ckeditor/ckeditor5-utils/src/mix';import Tt from'./confirmmixin';export default class Ft extends wt{constructor(_0x202715,_0x2f3dfb,_0x37d5d4,_0x3faa72){super(_0x202715,_0x2f3dfb,_0x37d5d4,_0x3faa72),this['set']('actionIndicator',null),this['containerElement']=null,this['locale']=_0x202715,this['setTemplate'](this['_getTemplate']()),this['on']('change:isActive',(_0x1f054c,_0x559c0c,_0x3e665c)=>{_0x3e665c||this['It']();}),this['listenTo'](this['_model'],'change:isReadOnly',(_0x4bcb9c,_0x34c0af,_0x1e8d42)=>{_0x1e8d42&&this['It']();}),this['length']>0x0?this['Tt']():this['listenTo'](this['commentsListView']['commentViews'],'add',_0x45c34b=>{this['Tt'](),_0x45c34b['off']();});}['_getTemplate'](){const _0x3d9a2c=this['bindTemplate'];return{'tag':'div','attributes':{'class':['ck-thread',_0x3d9a2c['if']('isActive','ck-thread--active'),_0x3d9a2c['if']('isConfirm','ck-thread--remove-confirmation'),_0x3d9a2c['to']('actionIndicator',_0x569750=>_0x569750?'ck-thread--'+_0x569750:'')],'data-thread-id':this['_model']['id'],'tabindex':-0x1},'children':[{'tag':'div','attributes':{'class':'ck-thread__container'},'children':[this['commentsListView'],this['commentThreadInputView']]}]};}['render'](){super['render'](),this['containerElement']=this['element']['querySelector']('.ck-thread__container');}['It'](){this['cancelConfirm']();for(const _0x1da394 of this['commentsListView']['commentViews'])_0x1da394['cancelConfirm']();}['Tt'](){const {t:t}=this['locale'],_0x430954=this['commentsListView']['commentViews']['get'](0x0);this['bind']('actionIndicator')['to'](_0x430954,'actionIndicator',_0x3c637e=>'remove'===_0x3c637e?'remove':null),_0x430954['placeholder']=t('Write\x20a\x20comment...'),_0x430954['removeButton']['on']('execute',_0x53e98e=>{_0x53e98e['stop'](),this['showConfirm'](t('Delete\x20comment\x20thread?'),this['containerElement'])['then'](()=>{this['fire']('removeCommentThread');});},{'priority':'high'});}}it(Ft,Tt);
import wt from'./basecommentthreadview';import it from'@ckeditor/ckeditor5-utils/src/mix';import Tt from'./confirmmixin';export default class Ft extends wt{constructor(_0x5d09ed,_0xfd10f4,_0x2518c6,_0x3a1cb8){super(_0x5d09ed,_0xfd10f4,_0x2518c6,_0x3a1cb8),this['set']('actionIndicator',null),this['containerElement']=null,this['locale']=_0x5d09ed,this['setTemplate'](this['_getTemplate']()),this['on']('change:isActive',(_0x5a6498,_0x543525,_0x498c2b)=>{_0x498c2b||this['It']();}),this['listenTo'](this['_model'],'change:isReadOnly',(_0x3740c1,_0x4bb603,_0x30f778)=>{_0x30f778&&this['It']();}),this['length']>0x0?this['Tt']():this['listenTo'](this['commentsListView']['commentViews'],'add',_0x2a73da=>{this['Tt'](),_0x2a73da['off']();});}['_getTemplate'](){const _0x1f845b=this['bindTemplate'];return{'tag':'div','attributes':{'class':['ck-thread',_0x1f845b['if']('isActive','ck-thread--active'),_0x1f845b['if']('isConfirm','ck-thread--remove-confirmation'),_0x1f845b['to']('actionIndicator',_0x32b7ee=>_0x32b7ee?'ck-thread--'+_0x32b7ee:'')],'data-thread-id':this['_model']['id'],'tabindex':-0x1},'children':[{'tag':'div','attributes':{'class':'ck-thread__container'},'children':[this['commentsListView'],this['commentThreadInputView']]}]};}['render'](){super['render'](),this['containerElement']=this['element']['querySelector']('.ck-thread__container');}['It'](){this['cancelConfirm']();for(const _0x5ba210 of this['commentsListView']['commentViews'])_0x5ba210['cancelConfirm']();}['Tt'](){const {t:t}=this['locale'],_0x34fa16=this['commentsListView']['commentViews']['get'](0x0);this['bind']('actionIndicator')['to'](_0x34fa16,'actionIndicator',_0x3c8bb2=>'remove'===_0x3c8bb2?'remove':null),_0x34fa16['placeholder']=t('Write\x20a\x20comment...'),_0x34fa16['removeButton']['on']('execute',_0x5485b1=>{_0x5485b1['stop'](),this['showConfirm'](t('Delete\x20comment\x20thread?'),this['containerElement'])['then'](()=>{this['fire']('removeCommentThread');});},{'priority':'high'});}}it(Ft,Tt);

@@ -23,2 +23,2 @@ /*

*/
import it from'@ckeditor/ckeditor5-utils/src/mix';import _0x20649d from'@ckeditor/ckeditor5-ui/src/button/buttonview';import xt from'./basecommentview';import It from'@ckeditor/ckeditor5-collaboration-core/src/users/view/userview';import Rt from'@ckeditor/ckeditor5-core/theme/icons/pencil.svg';import Mt from'../../../../theme/icons/remove-comment.svg';import Tt from'./confirmmixin';export default class Vt extends xt{constructor(_0xcae68,_0x37216d,_0x4bd6f3){super(_0xcae68,_0x37216d,_0x4bd6f3);const {t:t}=this['locale'];this['set']('actionIndicator',null),this['set']('placeholder',t('Reply...')),this['set']('createdAt',null),this['bind']('createdAt')['to'](_0x37216d),this['editButton']=this['Et'](),this['removeButton']=this['Rt'](),this['userView']=new It(_0xcae68,_0x37216d['author']),this['userView']['extendTemplate']({'attributes':{'class':['ck-comment__user','ck-annotation__user']}}),this['listenTo'](_0x37216d,'change:isRemovable',()=>this['cancelConfirm']()),this['setTemplate'](this['_getTemplate']());}['_getTemplate'](){const _0x209bbd=this['bindTemplate'];return{'tag':'li','attributes':{'class':['ck-comment__wrapper',_0x209bbd['if']('isConfirm','ck-comment--remove-confirmation')],'tabindex':-0x1},'children':[{'tag':'div','attributes':{'class':['ck-comment','ck-annotation',_0x209bbd['if']('isEditMode','ck-comment--edit'),_0x209bbd['to']('actionIndicator',_0x3e9722=>_0x3e9722?'ck-comment--'+_0x3e9722:'')],'data-author-id':this['_model']['author']['id'],'data-comment-id':this['_model']['id']},'children':[this['userView'],{'tag':'div','attributes':{'class':['ck-comment__main','ck-annotation__main']},'children':[{'tag':'div','attributes':{'class':['ck-comment__info','ck-annotation__info']},'children':[{'tag':'span','children':[{'text':this['userView']['name']}],'attributes':{'class':['ck-comment__info-name','ck-annotation__info-name']}},{'tag':'time','attributes':{'datetime':_0x209bbd['to']('createdAt'),'class':['ck-comment__info-time','ck-annotation__info-time']},'children':[{'text':_0x209bbd['to']('createdAt',_0x330da3=>this['_config']['formatDateTime'](_0x330da3))}]}]},{'tag':'div','attributes':{'class':['ck-comment__actions','ck-annotation__actions',_0x209bbd['if']('isEditMode','ck-comment__actions--hidden'),_0x209bbd['if']('isEditMode','ck-annotation__actions--hidden')]},'children':[this['editButton'],this['removeButton']]},{'tag':'div','attributes':{'class':['ck-annotation__content-wrapper']},'children':this['visibleView']}]}]}]};}['Et'](){const {t:t}=this['locale'],_0x4cff8a=new _0x20649d(this['locale']);return _0x4cff8a['label']=t('Edit'),_0x4cff8a['icon']=Rt,_0x4cff8a['extendTemplate']({'attributes':{'class':'ck-comment--edit'}}),_0x4cff8a['bind']('isEnabled')['to'](this['_model'],'isReadOnly',_0x5ade9d=>!_0x5ade9d),_0x4cff8a['bind']('isVisible')['to'](this['_model'],'isEditable'),_0x4cff8a['on']('execute',()=>this['switchToEditMode']()),_0x4cff8a;}['Rt'](){const {t:t}=this['locale'],_0x49e08b=new _0x20649d(this['locale']);return _0x49e08b['label']=t('Remove'),_0x49e08b['icon']=Mt,_0x49e08b['extendTemplate']({'attributes':{'class':'ck-comment--remove'}}),_0x49e08b['bind']('isEnabled')['to'](this['_model'],'isReadOnly',_0xb3b05c=>!_0xb3b05c),_0x49e08b['bind']('isVisible')['to'](this['_model'],'isRemovable'),_0x49e08b['on']('execute',()=>{this['showConfirm'](t('Delete\x20comment?'),this['element'])['then'](()=>{this['fire']('removeComment',this['_model']['id']);});}),_0x49e08b;}['Mt'](_0x37c2df,_0x3b89e7){this['listenTo'](_0x37c2df,'mouseenter',()=>this['actionIndicator']=_0x3b89e7),this['listenTo'](_0x37c2df,'focus',()=>this['actionIndicator']=_0x3b89e7),this['listenTo'](_0x37c2df,'mouseleave',()=>this['actionIndicator']=null),this['listenTo'](_0x37c2df,'blur',()=>this['actionIndicator']=null);}['_createCommentInputView'](){const _0x2cf128=super['_createCommentInputView']();return _0x2cf128['bind']('placeholder')['to'](this),_0x2cf128;}['render'](){super['render'](),this['Mt'](this['editButton']['element'],'edit'),this['Mt'](this['removeButton']['element'],'remove');}}it(Vt,Tt);
import it from'@ckeditor/ckeditor5-utils/src/mix';import _0x68f714 from'@ckeditor/ckeditor5-ui/src/button/buttonview';import xt from'./basecommentview';import It from'@ckeditor/ckeditor5-collaboration-core/src/users/view/userview';import Rt from'@ckeditor/ckeditor5-core/theme/icons/pencil.svg';import Mt from'../../../../theme/icons/remove-comment.svg';import Tt from'./confirmmixin';export default class Vt extends xt{constructor(_0x24ea9c,_0x27365d,_0x456951){super(_0x24ea9c,_0x27365d,_0x456951);const {t:t}=this['locale'];this['set']('actionIndicator',null),this['set']('placeholder',t('Reply...')),this['set']('createdAt',null),this['bind']('createdAt')['to'](_0x27365d),this['editButton']=this['Et'](),this['removeButton']=this['Rt'](),this['userView']=new It(_0x24ea9c,_0x27365d['author']),this['userView']['extendTemplate']({'attributes':{'class':['ck-comment__user','ck-annotation__user']}}),this['listenTo'](_0x27365d,'change:isRemovable',()=>this['cancelConfirm']()),this['setTemplate'](this['_getTemplate']());}['_getTemplate'](){const _0x2ff8c9=this['bindTemplate'];return{'tag':'li','attributes':{'class':['ck-comment__wrapper',_0x2ff8c9['if']('isConfirm','ck-comment--remove-confirmation')],'tabindex':-0x1},'children':[{'tag':'div','attributes':{'class':['ck-comment','ck-annotation',_0x2ff8c9['if']('isEditMode','ck-comment--edit'),_0x2ff8c9['to']('actionIndicator',_0xff6b04=>_0xff6b04?'ck-comment--'+_0xff6b04:'')],'data-author-id':this['_model']['author']['id'],'data-comment-id':this['_model']['id']},'children':[this['userView'],{'tag':'div','attributes':{'class':['ck-comment__main','ck-annotation__main']},'children':[{'tag':'div','attributes':{'class':['ck-comment__info','ck-annotation__info']},'children':[{'tag':'span','children':[{'text':this['userView']['name']}],'attributes':{'class':['ck-comment__info-name','ck-annotation__info-name']}},{'tag':'time','attributes':{'datetime':_0x2ff8c9['to']('createdAt'),'class':['ck-comment__info-time','ck-annotation__info-time']},'children':[{'text':_0x2ff8c9['to']('createdAt',_0x50f9de=>this['_config']['formatDateTime'](_0x50f9de))}]}]},{'tag':'div','attributes':{'class':['ck-comment__actions','ck-annotation__actions',_0x2ff8c9['if']('isEditMode','ck-comment__actions--hidden'),_0x2ff8c9['if']('isEditMode','ck-annotation__actions--hidden')]},'children':[this['editButton'],this['removeButton']]},{'tag':'div','attributes':{'class':['ck-annotation__content-wrapper']},'children':this['visibleView']}]}]}]};}['Et'](){const {t:t}=this['locale'],_0x4bebd8=new _0x68f714(this['locale']);return _0x4bebd8['label']=t('Edit'),_0x4bebd8['icon']=Rt,_0x4bebd8['extendTemplate']({'attributes':{'class':'ck-comment--edit'}}),_0x4bebd8['bind']('isEnabled')['to'](this['_model'],'isReadOnly',_0x38b06f=>!_0x38b06f),_0x4bebd8['bind']('isVisible')['to'](this['_model'],'isEditable'),_0x4bebd8['on']('execute',()=>this['switchToEditMode']()),_0x4bebd8;}['Rt'](){const {t:t}=this['locale'],_0x2f11af=new _0x68f714(this['locale']);return _0x2f11af['label']=t('Remove'),_0x2f11af['icon']=Mt,_0x2f11af['extendTemplate']({'attributes':{'class':'ck-comment--remove'}}),_0x2f11af['bind']('isEnabled')['to'](this['_model'],'isReadOnly',_0x444e23=>!_0x444e23),_0x2f11af['bind']('isVisible')['to'](this['_model'],'isRemovable'),_0x2f11af['on']('execute',()=>{this['showConfirm'](t('Delete\x20comment?'),this['element'])['then'](()=>{this['fire']('removeComment',this['_model']['id']);});}),_0x2f11af;}['Mt'](_0x12068a,_0x4939c1){this['listenTo'](_0x12068a,'mouseenter',()=>this['actionIndicator']=_0x4939c1),this['listenTo'](_0x12068a,'focus',()=>this['actionIndicator']=_0x4939c1),this['listenTo'](_0x12068a,'mouseleave',()=>this['actionIndicator']=null),this['listenTo'](_0x12068a,'blur',()=>this['actionIndicator']=null);}['_createCommentInputView'](){const _0x12d52f=super['_createCommentInputView']();return _0x12d52f['bind']('placeholder')['to'](this),_0x12d52f;}['render'](){super['render'](),this['Mt'](this['editButton']['element'],'edit'),this['Mt'](this['removeButton']['element'],'remove');}}it(Vt,Tt);

@@ -23,2 +23,2 @@ /*

*/
var _0x2ec4=['once','deregisterChild','confirmView','submit','isConfirm','remove','locale','message','appendChild','cancel','element'];(function(_0x19a64c,_0x2ec4f9){var _0x2ba116=function(_0xc47cad){while(--_0xc47cad){_0x19a64c['push'](_0x19a64c['shift']());}};_0x2ba116(++_0x2ec4f9);}(_0x2ec4,0xcf));var _0x2ba1=function(_0x19a64c,_0x2ec4f9){_0x19a64c=_0x19a64c-0x0;var _0x2ba116=_0x2ec4[_0x19a64c];return _0x2ba116;};import _0x4ed88f from'./confirmview';export default{'showConfirm'(_0x1ec564,_0x1f1330){return this[_0x2ba1('0x4')]=new _0x4ed88f(this[_0x2ba1('0x8')]),this['confirmView']['render'](),this['confirmView'][_0x2ba1('0x9')]=_0x1ec564,this[_0x2ba1('0x4')][_0x2ba1('0x2')](_0x2ba1('0x0'),()=>{this['ti']();}),this[_0x2ba1('0x4')]['once'](_0x2ba1('0x5'),()=>{this['ti']();}),_0x1f1330[_0x2ba1('0xa')](this[_0x2ba1('0x4')][_0x2ba1('0x1')]),this['registerChild'](this['confirmView']),this['set'](_0x2ba1('0x6'),!0x0),new Promise(_0x3a9b62=>this[_0x2ba1('0x4')]['on']('submit',_0x3a9b62));},'cancelConfirm'(){this[_0x2ba1('0x6')]&&this[_0x2ba1('0x4')]['fire']('cancel');},'ti'(){this[_0x2ba1('0x4')][_0x2ba1('0x1')][_0x2ba1('0x7')](),this[_0x2ba1('0x3')](this[_0x2ba1('0x4')]),this[_0x2ba1('0x6')]=!0x1,this['confirmView']['destroy'](),delete this[_0x2ba1('0x4')];}};
var _0x295e=['isConfirm','submit','once','remove','element','cancel','message','destroy','appendChild','set','confirmView','render','registerChild'];(function(_0x2fe533,_0x295eb1){var _0x43adfd=function(_0x4db58c){while(--_0x4db58c){_0x2fe533['push'](_0x2fe533['shift']());}};_0x43adfd(++_0x295eb1);}(_0x295e,0x12d));var _0x43ad=function(_0x2fe533,_0x295eb1){_0x2fe533=_0x2fe533-0x0;var _0x43adfd=_0x295e[_0x2fe533];return _0x43adfd;};import _0x57d0ec from'./confirmview';export default{'showConfirm'(_0x4f3299,_0x2ec655){return this[_0x43ad('0x8')]=new _0x57d0ec(this['locale']),this[_0x43ad('0x8')][_0x43ad('0x9')](),this[_0x43ad('0x8')][_0x43ad('0x4')]=_0x4f3299,this[_0x43ad('0x8')][_0x43ad('0x0')](_0x43ad('0x3'),()=>{this['ti']();}),this[_0x43ad('0x8')]['once']('submit',()=>{this['ti']();}),_0x2ec655[_0x43ad('0x6')](this[_0x43ad('0x8')][_0x43ad('0x2')]),this[_0x43ad('0xa')](this[_0x43ad('0x8')]),this[_0x43ad('0x7')](_0x43ad('0xb'),!0x0),new Promise(_0x1269b6=>this[_0x43ad('0x8')]['on'](_0x43ad('0xc'),_0x1269b6));},'cancelConfirm'(){this['isConfirm']&&this[_0x43ad('0x8')]['fire'](_0x43ad('0x3'));},'ti'(){this[_0x43ad('0x8')][_0x43ad('0x2')][_0x43ad('0x1')](),this['deregisterChild'](this['confirmView']),this['isConfirm']=!0x1,this[_0x43ad('0x8')][_0x43ad('0x5')](),delete this['confirmView'];}};

@@ -23,2 +23,2 @@ /*

*/
import _0x315648 from'@ckeditor/ckeditor5-ui/src/view';import _0x349cc3 from'@ckeditor/ckeditor5-ui/src/button/buttonview';import Nt from'@ckeditor/ckeditor5-core/theme/icons/check.svg';import Mt from'@ckeditor/ckeditor5-core/theme/icons/cancel.svg';export default class si extends _0x315648{constructor(_0x3fd9c4){super(_0x3fd9c4);const {t:t}=_0x3fd9c4,_0x56577e=this['bindTemplate'];this['submitView']=this['Bt'](_0x3fd9c4,t('Yes'),Nt,'submit'),this['cancelView']=this['Bt'](_0x3fd9c4,t('No'),Mt,'cancel'),this['set']('message',t('Are\x20you\x20sure?')),this['setTemplate']({'tag':'div','attributes':{'class':['ck-thread__remove-confirm']},'children':[{'tag':'div','attributes':{'class':'ck-thread__remove-confirm-inner'},'children':[{'tag':'p','children':[{'text':_0x56577e['to']('message')}]},{'tag':'div','attributes':{'class':'ck-thread__remove-confirm-actions'},'children':[this['submitView'],this['cancelView']]}]}]});}['Bt'](_0xc5ae72,_0x3246a4,_0x1ab338,_0x5d824e){const _0x2fcfaa=new _0x349cc3(_0xc5ae72);return _0x2fcfaa['label']=_0x3246a4,_0x2fcfaa['icon']=_0x1ab338,_0x2fcfaa['extendTemplate']({'attributes':{'class':'ck-thread__remove-confirm-'+_0x5d824e}}),_0x2fcfaa['on']('execute',()=>this['fire'](_0x5d824e)),_0x2fcfaa;}}
import _0x409091 from'@ckeditor/ckeditor5-ui/src/view';import _0x3e7990 from'@ckeditor/ckeditor5-ui/src/button/buttonview';import Nt from'@ckeditor/ckeditor5-core/theme/icons/check.svg';import Mt from'@ckeditor/ckeditor5-core/theme/icons/cancel.svg';export default class si extends _0x409091{constructor(_0x1f9500){super(_0x1f9500);const {t:t}=_0x1f9500,_0x2f1a20=this['bindTemplate'];this['submitView']=this['Bt'](_0x1f9500,t('Yes'),Nt,'submit'),this['cancelView']=this['Bt'](_0x1f9500,t('No'),Mt,'cancel'),this['set']('message',t('Are\x20you\x20sure?')),this['setTemplate']({'tag':'div','attributes':{'class':['ck-thread__remove-confirm']},'children':[{'tag':'div','attributes':{'class':'ck-thread__remove-confirm-inner'},'children':[{'tag':'p','children':[{'text':_0x2f1a20['to']('message')}]},{'tag':'div','attributes':{'class':'ck-thread__remove-confirm-actions'},'children':[this['submitView'],this['cancelView']]}]}]});}['Bt'](_0x3754ed,_0x3cfe35,_0x45df31,_0x3af829){const _0x434199=new _0x3e7990(_0x3754ed);return _0x434199['label']=_0x3cfe35,_0x434199['icon']=_0x45df31,_0x434199['extendTemplate']({'attributes':{'class':'ck-thread__remove-confirm-'+_0x3af829}}),_0x434199['on']('execute',()=>this['fire'](_0x3af829)),_0x434199;}}

@@ -23,2 +23,2 @@ /*

*/
const _0x55dd=['forceDisabled','highest','change:isEnabled','cut','isEnabled','get','selectAll','set','listenTo','addCommentThread','requires','delete','commands','afterInit','editing','clipboardInput','view','commentsOnly','editor','document','config','stop','pluginName'];(function(_0x22424a,_0x55dd65){const _0x19d938=function(_0x177362){while(--_0x177362){_0x22424a['push'](_0x22424a['shift']());}};_0x19d938(++_0x55dd65);}(_0x55dd,0xf4));const _0x19d9=function(_0x22424a,_0x55dd65){_0x22424a=_0x22424a-0x0;let _0x19d938=_0x55dd[_0x22424a];return _0x19d938;};import _0x57c24f from'@ckeditor/ckeditor5-core/src/plugin';import _0x3dba48 from'./comments/commentsediting';export default class J extends _0x57c24f{static get[_0x19d9('0x8')](){return'CommentsOnly';}static get[_0x19d9('0x13')](){return[_0x3dba48];}constructor(_0x351bb3){super(_0x351bb3),this[_0x19d9('0x10')](_0x19d9('0xd'),null),this['on'](_0x19d9('0xb'),(_0x938818,_0x554dc5,_0x4b27f0)=>{_0x4b27f0?this['Ot']():this['qt']();}),this['Nt']=new Set([_0x19d9('0x12'),_0x19d9('0xf')]);}[_0x19d9('0x16')](){null===this['isEnabled']&&(this[_0x19d9('0xd')]=!!this[_0x19d9('0x4')][_0x19d9('0x6')][_0x19d9('0xe')](_0x19d9('0x3')));}['Ot'](){for(const [_0x2f0d9a,_0x362113]of this[_0x19d9('0x4')][_0x19d9('0x15')])this['Nt']['has'](_0x2f0d9a)||_0x362113[_0x19d9('0x9')]('commentsOnlyMode');const _0x1826d6=this[_0x19d9('0x4')][_0x19d9('0x0')][_0x19d9('0x2')]['document'];this[_0x19d9('0x11')](_0x1826d6,_0x19d9('0xc'),_0x266d33=>_0x266d33[_0x19d9('0x7')](),{'priority':_0x19d9('0xa')}),this['listenTo'](_0x1826d6,_0x19d9('0x1'),_0x3cda22=>_0x3cda22['stop'](),{'priority':_0x19d9('0xa')}),this[_0x19d9('0x11')](_0x1826d6,_0x19d9('0x14'),_0x508e92=>_0x508e92[_0x19d9('0x7')](),{'priority':'highest'});}['qt'](){for(const [_0xb659ad,_0x4d3b15]of this['editor'][_0x19d9('0x15')])this['Nt']['has'](_0xb659ad)||_0x4d3b15['clearForceDisabled']('commentsOnlyMode');this['stopListening'](this[_0x19d9('0x4')][_0x19d9('0x0')][_0x19d9('0x2')][_0x19d9('0x5')]);}}
const _0x22de=['isEnabled','stop','afterInit','requires','forceDisabled','addCommentThread','set','clearForceDisabled','config','get','selectAll','commentsOnlyMode','commentsOnly','CommentsOnly','cut','document','clipboardInput','pluginName','editor','listenTo','editing','change:isEnabled','exportPdf','highest'];(function(_0x233e93,_0x22dede){const _0xb8f870=function(_0x325906){while(--_0x325906){_0x233e93['push'](_0x233e93['shift']());}};_0xb8f870(++_0x22dede);}(_0x22de,0x6d));const _0xb8f8=function(_0x233e93,_0x22dede){_0x233e93=_0x233e93-0x0;let _0xb8f870=_0x22de[_0x233e93];return _0xb8f870;};import _0x462770 from'@ckeditor/ckeditor5-core/src/plugin';import _0x2146b0 from'./comments/commentsediting';export default class J extends _0x462770{static get[_0xb8f8('0x4')](){return _0xb8f8('0x0');}static get[_0xb8f8('0xe')](){return[_0x2146b0];}constructor(_0x5219f4){super(_0x5219f4),this[_0xb8f8('0x11')](_0xb8f8('0xb'),null),this['on'](_0xb8f8('0x8'),(_0x41b399,_0x505e07,_0x206456)=>{_0x206456?this['Ot']():this['qt']();}),this['Nt']=new Set([_0xb8f8('0x10'),_0xb8f8('0x15'),_0xb8f8('0x9')]);}[_0xb8f8('0xd')](){null===this[_0xb8f8('0xb')]&&(this[_0xb8f8('0xb')]=!!this[_0xb8f8('0x5')][_0xb8f8('0x13')][_0xb8f8('0x14')](_0xb8f8('0x17')));}['Ot'](){for(const [_0x42d7ca,_0x3cf837]of this[_0xb8f8('0x5')]['commands'])this['Nt']['has'](_0x42d7ca)||_0x3cf837[_0xb8f8('0xf')](_0xb8f8('0x16'));const _0x57483f=this[_0xb8f8('0x5')][_0xb8f8('0x7')]['view'][_0xb8f8('0x2')];this[_0xb8f8('0x6')](_0x57483f,_0xb8f8('0x1'),_0x2c0b5f=>_0x2c0b5f['stop'](),{'priority':_0xb8f8('0xa')}),this[_0xb8f8('0x6')](_0x57483f,_0xb8f8('0x3'),_0x12a105=>_0x12a105[_0xb8f8('0xc')](),{'priority':_0xb8f8('0xa')}),this[_0xb8f8('0x6')](_0x57483f,'delete',_0x483b39=>_0x483b39['stop'](),{'priority':_0xb8f8('0xa')});}['qt'](){for(const [_0x248615,_0x2cfd40]of this[_0xb8f8('0x5')]['commands'])this['Nt']['has'](_0x248615)||_0x2cfd40[_0xb8f8('0x12')](_0xb8f8('0x16'));this['stopListening'](this['editor']['editing']['view'][_0xb8f8('0x2')]);}}

@@ -23,2 +23,2 @@ /*

*/
export function getTranslation(_0x2773bc,_0x125ad4){const t=_0x2773bc['t'];if('PENDING_ACTION_COMMENT_THREAD'==_0x125ad4)return t({'string':'Unsaved\x20change\x20in\x20comment\x20thread.','id':'PENDING_ACTION_COMMENT_THREAD'});}
export function getTranslation(_0x1134f1,_0x38f6d5){const t=_0x1134f1['t'];if('PENDING_ACTION_COMMENT_THREAD'==_0x38f6d5)return t({'string':'Unsaved\x20change\x20in\x20comment\x20thread.','id':'PENDING_ACTION_COMMENT_THREAD'});}

@@ -23,2 +23,2 @@ /*

*/
const _0x25bb=['disconnect','attributeName','cancel','type','attributes','class'];(function(_0x51a3ba,_0x25bbf1){const _0x2baec9=function(_0xdfdcfc){while(--_0xdfdcfc){_0x51a3ba['push'](_0x51a3ba['shift']());}};_0x2baec9(++_0x25bbf1);}(_0x25bb,0x1bb));const _0x2bae=function(_0x51a3ba,_0x25bbf1){_0x51a3ba=_0x51a3ba-0x0;let _0x2baec9=_0x25bb[_0x51a3ba];return _0x2baec9;};import{throttle as _0x35dd0a}from'lodash-es';export default function H(_0x2f9914){const _0x1e6221=_0x35dd0a(_0x2f9914,0x1e),_0x2c6de9=new MutationObserver(_0x47fab4=>{for(const _0x2027f0 of _0x47fab4)(_0x2bae('0x5')==_0x2027f0[_0x2bae('0x4')]&&_0x2bae('0x0')==_0x2027f0[_0x2bae('0x2')]||'childList'==_0x2027f0['type'])&&_0x1e6221();});return{'attach'(_0x326a83){_0x2c6de9['observe'](_0x326a83,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0});},'detach'(){_0x2c6de9[_0x2bae('0x1')](),_0x1e6221[_0x2bae('0x3')]();}};}
const _0xec0d=['type','childList','observe','attributes','cancel','attributeName','disconnect'];(function(_0x12e51a,_0xec0d1c){const _0x446cf6=function(_0x103bbb){while(--_0x103bbb){_0x12e51a['push'](_0x12e51a['shift']());}};_0x446cf6(++_0xec0d1c);}(_0xec0d,0xb3));const _0x446c=function(_0x12e51a,_0xec0d1c){_0x12e51a=_0x12e51a-0x0;let _0x446cf6=_0xec0d[_0x12e51a];return _0x446cf6;};import{throttle as _0x10e344}from'lodash-es';export default function H(_0x5c98da){const _0x3d01fe=_0x10e344(_0x5c98da,0x1e),_0x5a748a=new MutationObserver(_0x17e2d6=>{for(const _0x733b57 of _0x17e2d6)(_0x446c('0x6')==_0x733b57[_0x446c('0x3')]&&'class'==_0x733b57[_0x446c('0x1')]||_0x446c('0x4')==_0x733b57[_0x446c('0x3')])&&_0x3d01fe();});return{'attach'(_0x3ec71a){_0x5a748a[_0x446c('0x5')](_0x3ec71a,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0});},'detach'(){_0x5a748a[_0x446c('0x2')](),_0x3d01fe[_0x446c('0x0')]();}};}

@@ -23,2 +23,2 @@ /*

*/
const _0x5e37=['MM-DD-YYYY\x20hh:mmA','[Today]\x20hh:mmA','dateTimeFormat','[Last]\x20dddd\x20hh:mmA'];(function(_0x1ee17a,_0x5e37e3){const _0x184430=function(_0x3789d8){while(--_0x3789d8){_0x1ee17a['push'](_0x1ee17a['shift']());}};_0x184430(++_0x5e37e3);}(_0x5e37,0xe5));const _0x1844=function(_0x1ee17a,_0x5e37e3){_0x1ee17a=_0x1ee17a-0x0;let _0x184430=_0x5e37[_0x1ee17a];return _0x184430;};import _0x4beff6 from'date-fns/format';import _0x56ccc5 from'date-fns/difference_in_calendar_days';import _0x2467ef from'@ckeditor/ckeditor5-utils/src/ckeditorerror';export default function jt(_0x2e45b4={}){if(void 0x0!==_0x2e45b4[_0x1844('0x1')]&&'function'!=typeof _0x2e45b4['dateTimeFormat'])throw new _0x2467ef('invalid-date-time-format:\x20Date\x20format\x20must\x20be\x20a\x20function.');return _0x3f7827=>{const _0x2b240b=new Date(),_0xd671bf=_0x56ccc5(_0x2b240b,_0x3f7827);return _0x2e45b4['dateTimeFormat']?_0x2e45b4[_0x1844('0x1')](_0x3f7827):_0x4beff6(_0x3f7827,0x0===_0xd671bf?_0x1844('0x0'):0x1===_0xd671bf?'[Yesterday]\x20hh:mmA':_0xd671bf<0x7?_0x1844('0x2'):_0x1844('0x3'));};}
const _0x8456=['[Yesterday]\x20hh:mmA','invalid-date-time-format:\x20Date\x20format\x20must\x20be\x20a\x20function.','[Last]\x20dddd\x20hh:mmA','function','dateTimeFormat'];(function(_0x576068,_0x845651){const _0x4fdb82=function(_0x45dac5){while(--_0x45dac5){_0x576068['push'](_0x576068['shift']());}};_0x4fdb82(++_0x845651);}(_0x8456,0x1d3));const _0x4fdb=function(_0x576068,_0x845651){_0x576068=_0x576068-0x0;let _0x4fdb82=_0x8456[_0x576068];return _0x4fdb82;};import _0x1cd31f from'date-fns/format';import _0x3ff22f from'date-fns/difference_in_calendar_days';import _0x585013 from'@ckeditor/ckeditor5-utils/src/ckeditorerror';export default function jt(_0x170a14={}){if(void 0x0!==_0x170a14[_0x4fdb('0x2')]&&_0x4fdb('0x1')!=typeof _0x170a14[_0x4fdb('0x2')])throw new _0x585013(_0x4fdb('0x4'));return _0x1c0cca=>{const _0x278d9d=new Date(),_0xda16=_0x3ff22f(_0x278d9d,_0x1c0cca);return _0x170a14[_0x4fdb('0x2')]?_0x170a14[_0x4fdb('0x2')](_0x1c0cca):_0x1cd31f(_0x1c0cca,0x0===_0xda16?'[Today]\x20hh:mmA':0x1===_0xda16?_0x4fdb('0x3'):_0xda16<0x7?_0x4fdb('0x0'):'MM-DD-YYYY\x20hh:mmA');};}

@@ -23,2 +23,2 @@ /*

*/
const _0x3cdc=['name','view','mapViewToDom','mapper','domConverter'];(function(_0x3e291e,_0x3cdc7a){const _0xceba36=function(_0x3f1cda){while(--_0x3f1cda){_0x3e291e['push'](_0x3e291e['shift']());}};_0xceba36(++_0x3cdc7a);}(_0x3cdc,0x169));const _0xceba=function(_0x3e291e,_0x3cdc7a){_0x3e291e=_0x3e291e-0x0;let _0xceba36=_0x3cdc[_0x3e291e];return _0xceba36;};import _0x1bbd08 from'@ckeditor/ckeditor5-utils/src/first';export default function R(_0x90d00d,_0x1ed9e6){const _0x459923=_0x90d00d[_0xceba('0x2')]['markerNameToElements'](_0x1ed9e6[_0xceba('0x4')]),_0x5629c1=_0x1bbd08(_0x459923['values']());return _0x90d00d[_0xceba('0x0')][_0xceba('0x3')][_0xceba('0x1')](_0x5629c1);}
const _0x54f4=['name','mapper','values','view','domConverter'];(function(_0x1e302a,_0x54f4fe){const _0x5f053b=function(_0x41a708){while(--_0x41a708){_0x1e302a['push'](_0x1e302a['shift']());}};_0x5f053b(++_0x54f4fe);}(_0x54f4,0xe2));const _0x5f05=function(_0x1e302a,_0x54f4fe){_0x1e302a=_0x1e302a-0x0;let _0x5f053b=_0x54f4[_0x1e302a];return _0x5f053b;};import _0x156c02 from'@ckeditor/ckeditor5-utils/src/first';export default function R(_0x142079,_0x3acd2c){const _0x3efc14=_0x142079[_0x5f05('0x0')]['markerNameToElements'](_0x3acd2c[_0x5f05('0x4')]),_0x353d9d=_0x156c02(_0x3efc14[_0x5f05('0x1')]());return _0x142079[_0x5f05('0x2')][_0x5f05('0x3')]['mapViewToDom'](_0x353d9d);}

@@ -23,2 +23,2 @@ /*

*/
const _0x4e33=['slice','indexOf','pop','join','length','match','push','replace'];(function(_0x13f8ff,_0x4e33c9){const _0x48d252=function(_0x5386b4){while(--_0x5386b4){_0x13f8ff['push'](_0x13f8ff['shift']());}};_0x48d252(++_0x4e33c9);}(_0x4e33,0xb7));const _0x48d2=function(_0x13f8ff,_0x4e33c9){_0x13f8ff=_0x13f8ff-0x0;let _0x48d252=_0x4e33[_0x13f8ff];return _0x48d252;};export default function bt(_0x543d2a,{limit:_0x1c1af6,suffix:_0x40e468='...'}){const _0x5a5df7=[];let _0x223bd6=0x0;const _0x492b81=_0x543d2a[_0x48d2('0x0')](/</g,'\x0a<')[_0x48d2('0x0')](/>/g,'>\x0a')[_0x48d2('0x0')](/^\n/g,'')[_0x48d2('0x0')](/\n$/g,'')['split']('\x0a');for(let _0x4f7c0e=0x0;_0x4f7c0e<_0x492b81[_0x48d2('0x5')];_0x4f7c0e++){let _0x4af436=_0x492b81[_0x4f7c0e];const _0x38bae4=nn(_0x4af436);if(_0x4af436['startsWith']('<')){if(_0x223bd6>=_0x1c1af6){const _0x19debc=_0x4af436['match'](/[a-zA-Z]+/)[0x0];_0x4af436['startsWith']('</')?(_0x5a5df7[_0x48d2('0x5')]&&(_0x4af436=''),_0x5a5df7[_0x48d2('0x3')]()):(_0x5a5df7['push'](_0x19debc),_0x4af436='');}}else if(_0x223bd6>=_0x1c1af6)_0x4af436='';else if(_0x223bd6+_0x38bae4['length']>=_0x1c1af6){let _0x3120c3=_0x1c1af6-_0x223bd6;if('\x20'===_0x38bae4[_0x3120c3-0x1])_0x3120c3--;else{const _0x332a98=_0x38bae4[_0x48d2('0x1')](_0x3120c3)[_0x48d2('0x2')]('\x20');-0x1!==_0x332a98?_0x3120c3+=_0x332a98:_0x3120c3=_0x4af436[_0x48d2('0x5')];}_0x4af436=_0x38bae4[_0x48d2('0x1')](0x0,_0x3120c3)['join']('')+_0x40e468,_0x223bd6=_0x1c1af6;}else _0x223bd6+=_0x38bae4[_0x48d2('0x5')];_0x492b81[_0x4f7c0e]=_0x4af436;}return _0x492b81[_0x48d2('0x4')]('\x0a')['replace'](/\n/g,'');}function nn(_0x52779b){const _0x31f16e=[];for(let _0x2f293b=0x0;_0x2f293b<_0x52779b[_0x48d2('0x5')];_0x2f293b++){const _0x416882=_0x52779b['substring'](_0x2f293b)[_0x48d2('0x6')](/^&[a-z0-9#]+;/);if(_0x416882){const _0x35dfc7=_0x416882[0x0];_0x31f16e['push'](_0x35dfc7),_0x2f293b+=_0x35dfc7[_0x48d2('0x5')]-0x1;}else _0x31f16e[_0x48d2('0x7')](_0x52779b[_0x2f293b]);}return _0x31f16e;}
const _0x1dbd=['join','substring','slice','split','indexOf','length','...','replace','startsWith','match','pop','push'];(function(_0x31f83c,_0x1dbd1f){const _0x26a57e=function(_0x243a5d){while(--_0x243a5d){_0x31f83c['push'](_0x31f83c['shift']());}};_0x26a57e(++_0x1dbd1f);}(_0x1dbd,0x136));const _0x26a5=function(_0x31f83c,_0x1dbd1f){_0x31f83c=_0x31f83c-0x0;let _0x26a57e=_0x1dbd[_0x31f83c];return _0x26a57e;};export default function bt(_0x127e17,{limit:_0x1097e3,suffix:_0x5b2d06=_0x26a5('0x8')}){const _0x287a2a=[];let _0x36a757=0x0;const _0x499b7f=_0x127e17[_0x26a5('0x9')](/</g,'\x0a<')[_0x26a5('0x9')](/>/g,'>\x0a')[_0x26a5('0x9')](/^\n/g,'')[_0x26a5('0x9')](/\n$/g,'')[_0x26a5('0x5')]('\x0a');for(let _0x5a5519=0x0;_0x5a5519<_0x499b7f['length'];_0x5a5519++){let _0x188017=_0x499b7f[_0x5a5519];const _0x280de6=nn(_0x188017);if(_0x188017[_0x26a5('0xa')]('<')){if(_0x36a757>=_0x1097e3){const _0x5ec3f1=_0x188017[_0x26a5('0xb')](/[a-zA-Z]+/)[0x0];_0x188017[_0x26a5('0xa')]('</')?(_0x287a2a['length']&&(_0x188017=''),_0x287a2a[_0x26a5('0x0')]()):(_0x287a2a[_0x26a5('0x1')](_0x5ec3f1),_0x188017='');}}else if(_0x36a757>=_0x1097e3)_0x188017='';else if(_0x36a757+_0x280de6[_0x26a5('0x7')]>=_0x1097e3){let _0x2d1171=_0x1097e3-_0x36a757;if('\x20'===_0x280de6[_0x2d1171-0x1])_0x2d1171--;else{const _0x45c5e3=_0x280de6[_0x26a5('0x4')](_0x2d1171)[_0x26a5('0x6')]('\x20');-0x1!==_0x45c5e3?_0x2d1171+=_0x45c5e3:_0x2d1171=_0x188017['length'];}_0x188017=_0x280de6[_0x26a5('0x4')](0x0,_0x2d1171)[_0x26a5('0x2')]('')+_0x5b2d06,_0x36a757=_0x1097e3;}else _0x36a757+=_0x280de6[_0x26a5('0x7')];_0x499b7f[_0x5a5519]=_0x188017;}return _0x499b7f[_0x26a5('0x2')]('\x0a')[_0x26a5('0x9')](/\n/g,'');}function nn(_0x504879){const _0x149d99=[];for(let _0xc1d00c=0x0;_0xc1d00c<_0x504879[_0x26a5('0x7')];_0xc1d00c++){const _0x56ba9d=_0x504879[_0x26a5('0x3')](_0xc1d00c)[_0x26a5('0xb')](/^&[a-z0-9#]+;/);if(_0x56ba9d){const _0x48a991=_0x56ba9d[0x0];_0x149d99[_0x26a5('0x1')](_0x48a991),_0xc1d00c+=_0x48a991[_0x26a5('0x7')]-0x1;}else _0x149d99[_0x26a5('0x1')](_0x504879[_0xc1d00c]);}return _0x149d99;}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc