@ckeditor/ckeditor5-document-outline 48.8.1-alpha.2 → 48.8.1-alpha.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/package.json +8 -8
package/dist/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as _0x1dc72b,Command as _0x35fc4b}from'@ckeditor/ckeditor5-core/dist/index.js';import{debounce as _0x27dcdf,throttle as _0x17263d}from'es-toolkit/compat';import{ModelText as _0x4e996d,ModelTreeWalker as _0x3d1944}from'@ckeditor/ckeditor5-engine/dist/index.js';import{diff as _0x591e8f,diffToChanges as _0x4d19d1,scrollAncestorsToShowTarget as _0xee30ec,CKEditorError as _0x24f8ca,global as _0x240eaa,Rect as _0x1c64e4,uid as _0x4d68cf,priorities as _0x224a6b}from'@ckeditor/ckeditor5-utils/dist/index.js';import{View as _0x57f725,ButtonView as _0x41f114,MenuBarMenuListItemButtonView as _0x6e7c7f}from'@ckeditor/ckeditor5-ui/dist/index.js';import{Widget as _0x1c0578,toWidget as _0x1758c8}from'@ckeditor/ckeditor5-widget/dist/index.js';import{IconTableOfContents as _0x44fd98}from'@ckeditor/ckeditor5-icons/dist/index.js';function I(_0x190bfc){let _0x1e49ba='';for(const _0x23ee8a of _0x190bfc['getChildren']())_0x23ee8a instanceof _0x4e996d&&(_0x1e49ba+=_0x23ee8a['data']);return _0x1e49ba;}class DocumentOutlineUtils extends _0x1dc72b{static get['pluginName'](){return'DocumentOutlineUtils';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['_headingNames']=[];['init'](){const _0x3966d6=this['editor'];this['_headingNames']=this['_getHeadingNames']();let _0x38fe4f=[];_0x3966d6['model']['document']['on']('change',_0x27dcdf(()=>{const _0x19c622=_0x38fe4f;_0x38fe4f=this['_getOutlineDefinitions']();const _0x3695f9=_0x591e8f(_0x19c622,_0x38fe4f,(_0x1d0097,_0x4f579d)=>_0x1d0097['level']===_0x4f579d['level']&&_0x1d0097['text']===_0x4f579d['text']&&_0x1d0097['modelElement']===_0x4f579d['modelElement']),_0x4f89b8=_0x4d19d1(_0x3695f9,_0x38fe4f),_0x1df5f1=this['_getActiveHeading'](),_0x3fd7da=_0x38fe4f['findIndex'](_0x50cde0=>_0x50cde0['modelElement']===_0x1df5f1);_0x4f89b8['length']&&this['fire']('change',{'outlineDefinitions':_0x38fe4f,'activeItemIndex':_0x3fd7da,'outlineChanges':_0x4f89b8}),this['fire']('activeItemIndex',{'index':_0x3fd7da});},0xfa,{'leading':!0x0,'trailing':!0x0}));}['afterInit'](){this['_headingNames']['length']||this['_deriveHeadingElementsFromConversion']();}['_getOutlineDefinitions'](){const _0x42ef84=this['editor'],_0x1d4013=[],_0x3d33a6=this['_headingNames'];for(const _0x2bd954 of _0x42ef84['model']['document']['getRootNames']())_0x341711(_0x42ef84['model']['document']['getRoot'](_0x2bd954));function _0x341711(_0x4dc67b){for(const _0x864750 of _0x4dc67b['getChildren']())_0x864750['is']('element')&&(_0x3d33a6['includes'](_0x864750['name'])&&_0x1d4013['push']({'level':_0x3d33a6['indexOf'](_0x864750['name'])+0x1,'text':I(_0x864750),'modelElement':_0x864750}),_0x341711(_0x864750));}return _0x1d4013;}['_getActiveHeading'](){const _0x3f6355=this['editor']['model']['document']['selection']['getFirstPosition'](),_0x5d8d0d=new _0x3d1944({'direction':'backward','startPosition':_0x3f6355});for(const _0x357220 of _0x5d8d0d)if(_0x357220['item']['is']('element')&&this['_headingNames']['includes'](_0x357220['item']['name']))return _0x357220['item'];}['_getHeadingNames'](){const _0x51befb=this['editor']['config']['get']('documentOutline.headings');return _0x51befb||function(_0x2a0319){const _0x49c47f=_0x2a0319['config']['get']('heading.options');return _0x49c47f?_0x49c47f['reduce']((_0x49af03,_0xc7dc70)=>('paragraph'!==_0xc7dc70['model']&&_0x49af03['push'](_0xc7dc70['model']),_0x49af03),[]):_0x2a0319['plugins']['has']('GeneralHtmlSupport')?['htmlH1','htmlH2','htmlH3','htmlH4','htmlH5','htmlH6']:[];}(this['editor']);}['_deriveHeadingElementsFromConversion'](){const _0x472beb=this['editor'],_0x5154a4=['h1','h2','h3','h4','h5','h6'],_0x23034d=[];for(const _0x450cdb of _0x5154a4){const _0x371188=_0x472beb['editing']['view']['domConverter']['domToView'](document['createElement'](_0x450cdb)),_0x5f1dcc=_0x472beb['data']['toModel'](_0x371188)['getChild'](0x0);_0x5f1dcc?.['is']('element')&&_0x23034d['push'](_0x5f1dcc['name']);}this['_headingNames']=_0x23034d;}}function C(_0x5088bc,_0x36d789){const t=_0x5088bc['t'];switch(_0x36d789){case'Empty\x20heading':return t('Empty\x20heading');case'Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':return t('Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.');case'No\x20headings\x20were\x20found\x20in\x20the\x20document.':return t('No\x20headings\x20were\x20found\x20in\x20the\x20document.');case'Table\x20of\x20contents':return t('Table\x20of\x20contents');default:return _0x36d789;}}class DocumentOutlineItemView extends _0x57f725{constructor(_0x4125a8,_0x5d4a2f=!0x1){super(_0x4125a8);const _0x31b889=this['bindTemplate'],_0x3df43a=_0x5d4a2f?'['+C(_0x4125a8,'Empty\x20heading')+']':'';this['set']('text',''),this['set']('level',0x1),this['set']('isActive',!0x1),this['bind']('isEmpty')['to'](this,'text',_0x12fcfa=>!_0x12fcfa),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline__item',_0x31b889['to']('level',_0x2a32b0=>'ck-document-outline__item_level-'+_0x2a32b0),_0x31b889['if']('isActive','ck-document-outline__item_active'),_0x31b889['if']('isEmpty','ck-document-outline__item_empty')],'title':_0x31b889['to']('text')},'children':[{'text':_0x31b889['to']('text',_0x190700=>_0x190700||_0x3df43a)}],'on':{'click':_0x31b889['to']('click')}});}}class DocumentOutlineView extends _0x57f725{['items'];['documentOutlineContainer'];['showEmptyHeadingText'];constructor(_0x5b05e4,_0x18ad0d=!0x1,_0x3dfa4c){super(_0x5b05e4),this['showEmptyHeadingText']=_0x18ad0d,this['set']('activeItemIndex',-0x1),this['documentOutlineContainer']=_0x3dfa4c,this['items']=this['createCollection'](),this['items']['delegate']('click')['to'](this),this['on']('click',this['_handleItemClick']['bind'](this)),this['on']('change:activeItemIndex',(_0x1217eb,_0x1ee8f5,_0x521a8e,_0x143b1f)=>{this['_setActiveItem'](_0x143b1f,_0x521a8e);}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline'],'dir':_0x5b05e4['contentLanguageDirection'],'data-document-outline-empty-placeholder':C(_0x5b05e4,'Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.'),'tabindex':-0x1},'children':this['items']});}['sync'](_0x480878){_0x480878['forEach'](_0x11844b=>{'insert'==_0x11844b['type']?this['_insertItem'](_0x11844b['index'],..._0x11844b['values']):'delete'==_0x11844b['type']&&this['_deleteItem'](_0x11844b['index'],_0x11844b['howMany']);});}['_setActiveItem'](_0x5e8b7a,_0xed7303){if(-0x1!==_0x5e8b7a){const _0x1cbeaf=this['items']['get'](_0x5e8b7a);_0x1cbeaf&&(_0x1cbeaf['isActive']=!0x1);}-0x1!==_0xed7303&&(this['items']['get'](_0xed7303)['isActive']=!0x0,this['_scrollToItem'](_0xed7303));}['_insertItem'](_0x16906,..._0x1db7c2){const _0x336139=_0x1db7c2['map']((_0x26c063,_0x9a7a8)=>{const _0x4e5be4=new DocumentOutlineItemView(this['locale'],this['showEmptyHeadingText']);return _0x4e5be4['text']=_0x26c063['text'],_0x4e5be4['level']=_0x26c063['level'],_0x16906+_0x9a7a8===this['activeItemIndex']&&(_0x4e5be4['isActive']=!0x0),_0x4e5be4;});this['items']['addMany'](_0x336139,_0x16906);}['_deleteItem'](_0xca06f0,_0x4eb42f){do{this['items']['remove'](_0xca06f0);}while(--_0x4eb42f);}['_handleItemClick'](_0x2dd57d){const _0xb5f391=this['items']['getIndex'](_0x2dd57d['source']);this['fire']('itemSelected',_0xb5f391);}['_scrollToItem'](_0x3d4729){_0xee30ec(this['items']['get'](_0x3d4729)['element'],0x14,this['documentOutlineContainer']);}['destroy'](){super['destroy'](),this['element']['remove']();}}class DocumentOutlineUI extends _0x1dc72b{['view'];['_currentOutlineDefinitions'];['_updateActiveDefinitionFromViewportThrottled'];static get['pluginName'](){return'DocumentOutlineUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0xf46f97){super(_0xf46f97),this['view']=new DocumentOutlineView(_0xf46f97['locale'],this['editor']['config']['get']('documentOutline.showEmptyHeadings'),this['editor']['config']['get']('documentOutline.container')),this['_currentOutlineDefinitions']=[],this['_updateActiveDefinitionFromViewportThrottled']=_0x17263d(this['_updateActiveDefinitionOnViewportChange']['bind'](this),0x64);}['init'](){const _0x587a85=this['editor'],_0x140555=_0x587a85['plugins']['get']('DocumentOutlineUtils');let _0x5f1030=!0x1;if(this['view']['render'](),this['editor']['ui']['focusTracker']['add'](this['view']['element']),!_0x587a85['config']['get']('documentOutline.container'))throw new _0x24f8ca('document-outline-container-not-provided',{'editor':_0x587a85});_0x587a85['config']['get']('documentOutline.container')['appendChild'](this['view']['element']),_0x140555['on']('change',this['_handleOutlineChange']['bind'](this)),_0x140555['on']('activeItemIndex',(_0x317142,{index:_0xfc1297})=>this['_setActiveViewItem'](_0xfc1297)),this['view']['on']('itemSelected',(_0x481c36,_0x6bc730)=>{_0x5f1030=!0x0,this['_handleItemSelected'](_0x6bc730);}),this['view']['listenTo'](_0x240eaa['document'],'scroll',()=>{_0x5f1030?_0x5f1030=!0x1:this['_updateActiveDefinitionFromViewportThrottled']();},{'useCapture':!0x0}),this['view']['listenTo'](_0x240eaa['window'],'resize',this['_updateActiveDefinitionFromViewportThrottled'],{'useCapture':!0x0});}['afterInit'](){!async function(_0x3b585c){const _0xd0d768=_0x4761fa([0x61,0x57,0x78,0x6c,0x50,0x47,0x30,0x41,0x33,0x43,0x44,0x64,0x48,0x42,0x73,0x5a,0x45,0x71,0x77,0x55,0x4c,0x6f,0x6a,0x4f,0x72,0x67,0x4d,0x58,0x56,0x54,0x52,0x76,0x75,0x31,0x62,0x49,0x32,0x34,0x38,0x37,0x70,0x74,0x7a,0x4a,0x4b,0x51,0x65,0x69,0x68,0x66,0x4e,0x6b,0x59,0x53,0x39,0x6e,0x36,0x79,0x35,0x6d,0x63,0x46]),_0xfea5a1=0x1cb264a3,_0x47b295=0x1cb5eef3^_0xfea5a1,_0x1d8852=window[_0x4761fa([0x44,0x61,0x74,0x65])][_0x4761fa([0x6e,0x6f,0x77])](),_0x39fe14=_0x3b585c[_0x4761fa([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x190f9f=new window[(_0x4761fa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x466a2f=>{_0x39fe14[_0x4761fa([0x6f,0x6e,0x63,0x65])](_0x4761fa([0x72,0x65,0x61,0x64,0x79]),_0x466a2f);}),_0x4160e2={[_0x4761fa([0x6b,0x74,0x79])]:_0x4761fa([0x45,0x43]),[_0x4761fa([0x75,0x73,0x65])]:_0x4761fa([0x73,0x69,0x67]),[_0x4761fa([0x63,0x72,0x76])]:_0x4761fa([0x50,0x2d,0x32,0x35,0x36]),[_0x4761fa([0x78])]:_0x4761fa([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x4761fa([0x79])]:_0x4761fa([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x4761fa([0x61,0x6c,0x67])]:_0x4761fa([0x45,0x53,0x32,0x35,0x36])},_0x499791=_0x39fe14[_0x4761fa([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4761fa([0x67,0x65,0x74])](_0x4761fa([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x581781(){let _0x192996,_0x4073c5=null,_0x3dc693=null;try{if(_0x499791==_0x4761fa([0x47,0x50,0x4c]))return _0x4761fa([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x192996=_0x522f5c(),!_0x192996)return _0x4761fa([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x192996[_0x4761fa([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3dc693=_0xd686cb(_0x192996[_0x4761fa([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x192996[_0x4761fa([0x6a,0x74,0x69])])),await _0x1d4e5a()?_0x5b26a8()?_0x2e8b3a()?_0x4761fa([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1b1d6e()?(_0x192996[_0x4761fa([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4761fa([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4073c5=_0x139472(_0x4761fa([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x508db7()):_0x4761fa([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4761fa([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4761fa([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4761fa([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2e8b3a(){const _0xb0ece7=[_0x4761fa([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4761fa([0x74,0x72,0x69,0x61,0x6c])][_0x4761fa([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x192996[_0x4761fa([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1d8852/0x3e8:0xe10*_0x47b295;return _0x192996[_0x4761fa([0x65,0x78,0x70])]<_0xb0ece7;}function _0x5b26a8(){const _0x1e29e2=_0x192996[_0x4761fa([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1e29e2&&(!!_0x1e29e2[_0x4761fa([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4761fa([0x2a]))||(!!_0x1e29e2[_0x4761fa([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4761fa([0x44,0x4f]))||(!!_0x1e29e2[_0x4761fa([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4761fa([0x50,0x50]))||!(!_0x1e29e2[_0x4761fa([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4761fa([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x8c3b8f()))));}function _0x1b1d6e(){const _0x3db947=_0x192996[_0x4761fa([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3db947||0x0==_0x3db947[_0x4761fa([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5efeb7}=new URL(window[_0x4761fa([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3db947[_0x4761fa([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5efeb7))return!0x0;const _0x202268=_0x5efeb7[_0x4761fa([0x73,0x70,0x6c,0x69,0x74])](_0x4761fa([0x2e]));return _0x3db947[_0x4761fa([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1329a9=>_0x1329a9[_0x4761fa([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4761fa([0x2a])))[_0x4761fa([0x6d,0x61,0x70])](_0x2dc368=>_0x2dc368[_0x4761fa([0x73,0x70,0x6c,0x69,0x74])](_0x4761fa([0x2e])))[_0x4761fa([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4ba337=>_0x4ba337[_0x4761fa([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x202268[_0x4761fa([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4761fa([0x6d,0x61,0x70])](_0x168716=>Array(_0x202268[_0x4761fa([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x168716[_0x4761fa([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4761fa([0x66,0x69,0x6c,0x6c])](_0x168716[0x0]===_0x4761fa([0x2a])?_0x4761fa([0x2a]):'')[_0x4761fa([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x168716))[_0x4761fa([0x73,0x6f,0x6d,0x65])](_0x5e5666=>_0x202268[_0x4761fa([0x65,0x76,0x65,0x72,0x79])]((_0x4cc63d,_0x5e07a3)=>_0x5e5666[_0x5e07a3]===_0x4cc63d||_0x5e5666[_0x5e07a3]===_0x4761fa([0x2a])));}function _0x508db7(){return _0x4073c5&&_0x3dc693?new window[(_0x4761fa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x37abd3,_0x211124)=>{_0x4073c5[_0x4761fa([0x74,0x68,0x65,0x6e])](_0x37abd3,_0x211124),_0x3dc693[_0x4761fa([0x74,0x68,0x65,0x6e])](_0x438417=>{_0x438417!=_0x4761fa([0x56,0x61,0x6c,0x69,0x64])&&_0x37abd3(_0x438417);},_0x211124);}):_0x4073c5||_0x3dc693||_0x4761fa([0x56,0x61,0x6c,0x69,0x64]);}}function _0xd686cb(_0xb43138,_0x2ad15b){return new window[(_0x4761fa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x31d000=>{if(_0x5ebc20())return _0x31d000(_0x4761fa([0x56,0x61,0x6c,0x69,0x64]));_0x2db271(),_0x39fe14[_0x4761fa([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4761fa([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5c82d1=!0x1;const _0x28a2ba=_0x4d68cf();function _0x46e17e(_0x5b8352){return!!_0x5b8352&&(typeof _0x5b8352===_0x4761fa([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5b8352===_0x4761fa([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5b8352[_0x4761fa([0x74,0x68,0x65,0x6e])]===_0x4761fa([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5b8352[_0x4761fa([0x63,0x61,0x74,0x63,0x68])]===_0x4761fa([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x41fee4(_0x141344){_0xd5d901(_0x141344)[_0x4761fa([0x74,0x68,0x65,0x6e])](_0x4d8336=>{if(!_0x4d8336||_0x4d8336[_0x4761fa([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4761fa([0x6f,0x6b]))return _0x4761fa([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1f024e(_0x5a4ecd(_0x28a2ba+_0x2ad15b))!=_0x4d8336[_0x4761fa([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4761fa([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4761fa([0x56,0x61,0x6c,0x69,0x64]);})[_0x4761fa([0x74,0x68,0x65,0x6e])](_0x19dc32=>(_0x4c1c13(),_0x19dc32),()=>{const _0x5601a0=_0x45ae0b();return null==_0x5601a0?(_0x4c1c13(),_0x4761fa([0x56,0x61,0x6c,0x69,0x64])):_0x4761fa(_0x1d8852-_0x5601a0>(0x38bee0a3^_0xfea5a1)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4761fa([0x74,0x68,0x65,0x6e])](_0x31d000)[_0x4761fa([0x63,0x61,0x74,0x63,0x68])](()=>{_0x31d000(_0x4761fa([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x36b68f=0x1c848a23^_0xfea5a1;function _0x4c1c13(){const _0x1c7fb5=_0x4761fa([0x6c,0x6c,0x63,0x74,0x2d])+_0x1f024e(_0x5a4ecd(_0xb43138)),_0x5aaf0a=_0x2a1a69(_0x1f024e(window[_0x4761fa([0x4d,0x61,0x74,0x68])][_0x4761fa([0x63,0x65,0x69,0x6c])](_0x1d8852/_0x36b68f)));window[_0x4761fa([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4761fa([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1c7fb5,_0x5aaf0a);}function _0x45ae0b(){const _0x2f29f6=_0x4761fa([0x6c,0x6c,0x63,0x74,0x2d])+_0x1f024e(_0x5a4ecd(_0xb43138)),_0x3b5781=window[_0x4761fa([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4761fa([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2f29f6);return _0x3b5781?window[_0x4761fa([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2a1a69(_0x3b5781),0x10)*_0x36b68f:null;}function _0xd5d901(_0x3dcc72){return new window[(_0x4761fa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x43bd2b,_0x399a56)=>{_0x3dcc72[_0x4761fa([0x74,0x68,0x65,0x6e])](_0x43bd2b,_0x399a56),window[_0x4761fa([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x399a56,0x1cb3b063^_0xfea5a1);});}}_0x39fe14[_0x4761fa([0x6f,0x6e])](_0x4761fa([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x67dd21,_0x43c9d6)=>{if(_0x43c9d6[0x0]!=_0xb43138)return _0x31d000(_0x4761fa([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x43c9d6[0x1]={..._0x43c9d6[0x1],[_0x4761fa([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x28a2ba};},{[_0x4761fa([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4761fa([0x68,0x69,0x67,0x68])}),_0x39fe14[_0x4761fa([0x6f,0x6e])](_0x4761fa([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2b03c8=>{_0x46e17e(_0x2b03c8[_0x4761fa([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5c82d1=!0x0,_0x41fee4(_0x2b03c8[_0x4761fa([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4761fa([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4761fa([0x6c,0x6f,0x77])}),_0x190f9f[_0x4761fa([0x74,0x68,0x65,0x6e])](()=>{_0x5c82d1||_0x31d000(_0x4761fa([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5ebc20(){return _0x39fe14[_0x4761fa([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4761fa([0x76,0x69,0x65,0x77])][_0x4761fa([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4761fa([0x61,0x75,0x74,0x6f]);}function _0x2db271(){_0x39fe14[_0x4761fa([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4761fa([0x76,0x69,0x65,0x77])][_0x4761fa([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4761fa([0x61,0x75,0x74,0x6f]);}}function _0x139472(_0x4d04fd){const _0x55c5c9=[new window[(_0x4761fa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x437f34=>setTimeout(_0x437f34,0x1cbb5a6f^_0xfea5a1)),_0x190f9f[_0x4761fa([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4761fa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2783f3=>{let _0x36601a=0x0;_0x39fe14[_0x4761fa([0x6d,0x6f,0x64,0x65,0x6c])][_0x4761fa([0x6f,0x6e])](_0x4761fa([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x33aff4,_0x9d5ed9)=>{_0x9d5ed9[0x0][_0x4761fa([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x36601a++,_0x36601a==(0x1cb2614b^_0xfea5a1)&&(_0x2783f3(),_0x33aff4[_0x4761fa([0x6f,0x66,0x66])]());});}))];return window[_0x4761fa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4761fa([0x72,0x61,0x63,0x65])](_0x55c5c9)[_0x4761fa([0x74,0x68,0x65,0x6e])](()=>_0x4d04fd);}async function _0x44f64e(){await _0x190f9f,_0x39fe14[_0x4761fa([0x6d,0x6f,0x64,0x65,0x6c])][_0x4761fa([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x57db75,_0x39fe14[_0x4761fa([0x6d,0x6f,0x64,0x65,0x6c])][_0x4761fa([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x57db75,_0x39fe14[_0x4761fa([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4761fa([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x8c3b8f(){return window[_0x4761fa([0x67,0x6c,0x6f,0x62])]&&window[_0x4761fa([0x67,0x6c,0x6f,0x62])][_0x4761fa([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x10a210(_0x18989e){const _0x576b0f=_0x1cfbbe();_0x39fe14[_0x576b0f]=_0x4761fa([0x64,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x18989e,_0x18989e!=_0x4761fa([0x56,0x61,0x6c,0x69,0x64])&&_0x44f64e();}function _0x1cfbbe(){const _0x3da2f0=window[_0x4761fa([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4761fa([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4761fa([0x6e,0x6f,0x77])]())[_0x4761fa([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4761fa([0x2e]),'');let _0x21c5d8=_0x4761fa([0x61]);for(let _0x4c10a2=0x0;_0x4c10a2<_0x3da2f0[_0x4761fa([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4c10a2+=0x2){let _0x29989c=window[_0x4761fa([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3da2f0[_0x4761fa([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4c10a2,_0x4c10a2+0x2));_0x29989c>=_0xd0d768[_0x4761fa([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x29989c-=_0xd0d768[_0x4761fa([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x21c5d8+=_0xd0d768[_0x29989c];}return _0x21c5d8;}function _0x522f5c(){const _0x5e6f1f=_0x499791[_0x4761fa([0x73,0x70,0x6c,0x69,0x74])](_0x4761fa([0x2e]));if(0x3!=_0x5e6f1f[_0x4761fa([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3befb9(_0x5e6f1f[0x1]);function _0x3befb9(_0x416e40){const _0x41b240=_0x3f2216(_0x416e40);return _0x41b240&&_0x2bb675()?_0x41b240:null;function _0x2bb675(){const _0x51db8a=_0x41b240[_0x4761fa([0x6a,0x74,0x69])],_0x3dbc62=window[_0x4761fa([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x51db8a[_0x4761fa([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x51db8a[_0x4761fa([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x549ff3={..._0x41b240,[_0x4761fa([0x6a,0x74,0x69])]:_0x51db8a[_0x4761fa([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x51db8a[_0x4761fa([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x549ff3[_0x4761fa([0x76,0x63])],_0x5a4ecd(_0x549ff3)==_0x3dbc62;}}}async function _0x1d4e5a(){let _0x1b7f97=!0x0;try{const _0x276ad7=_0x499791[_0x4761fa([0x73,0x70,0x6c,0x69,0x74])](_0x4761fa([0x2e])),[_0x17d5f1,_0x82e562,_0x34f8a8]=_0x276ad7;return _0x1e21b6(_0x17d5f1),await _0x20e85e(_0x17d5f1,_0x82e562,_0x34f8a8),_0x1b7f97;}catch{return!0x1;}function _0x1e21b6(_0x44f31a){const _0x149801=_0x3f2216(_0x44f31a);_0x149801&&_0x149801[_0x4761fa([0x61,0x6c,0x67])]==_0x4761fa([0x45,0x53,0x32,0x35,0x36])||(_0x1b7f97=!0x1);}async function _0x20e85e(_0x2d628d,_0x5550e7,_0x30adb6){const _0x589bf2=window[_0x4761fa([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4761fa([0x66,0x72,0x6f,0x6d])](_0x240ff4(_0x30adb6),_0x473b68=>_0x473b68[_0x4761fa([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1f9395=new window[(_0x4761fa([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4761fa([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2d628d+_0x4761fa([0x2e])+_0x5550e7),_0x1944b9=window[_0x4761fa([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4761fa([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1944b9)return;const _0x34d8bb=await _0x1944b9[_0x4761fa([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4761fa([0x6a,0x77,0x6b]),_0x4160e2,{[_0x4761fa([0x6e,0x61,0x6d,0x65])]:_0x4761fa([0x45,0x43,0x44,0x53,0x41]),[_0x4761fa([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4761fa([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4761fa([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1944b9[_0x4761fa([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4761fa([0x6e,0x61,0x6d,0x65])]:_0x4761fa([0x45,0x43,0x44,0x53,0x41]),[_0x4761fa([0x68,0x61,0x73,0x68])]:{[_0x4761fa([0x6e,0x61,0x6d,0x65])]:_0x4761fa([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x34d8bb,_0x589bf2,_0x1f9395)||(_0x1b7f97=!0x1);}}function _0x3f2216(_0x3e8c65){return _0x3e8c65[_0x4761fa([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4761fa([0x65,0x79]))?JSON[_0x4761fa([0x70,0x61,0x72,0x73,0x65])](_0x240ff4(_0x3e8c65)):null;}function _0x240ff4(_0x1de01f){return window[_0x4761fa([0x61,0x74,0x6f,0x62])](_0x1de01f[_0x4761fa([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4761fa([0x2b]))[_0x4761fa([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4761fa([0x2f])));}function _0x5a4ecd(_0x180aaa){let _0xcbca97=0x1505;function _0x1ba41(_0x29f8a9){for(let _0x56d008=0x0;_0x56d008<_0x29f8a9[_0x4761fa([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x56d008++){const _0x3b9542=_0x29f8a9[_0x4761fa([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x56d008);_0xcbca97=(_0xcbca97<<0x5)+_0xcbca97+_0x3b9542,_0xcbca97&=_0xcbca97;}}function _0x39486b(_0x1da3cd){Array[_0x4761fa([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1da3cd)?_0x1da3cd[_0x4761fa([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x39486b):_0x1da3cd&&typeof _0x1da3cd==_0x4761fa([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4761fa([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1da3cd)[_0x4761fa([0x73,0x6f,0x72,0x74])]()[_0x4761fa([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xf221b2,_0x15f778])=>{_0x1ba41(_0xf221b2),_0x39486b(_0x15f778);}):_0x1ba41(window[_0x4761fa([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1da3cd));}return _0x39486b(_0x180aaa),_0xcbca97>>>0x0;}function _0x1f024e(_0x3b689d){return _0x3b689d[_0x4761fa([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4761fa([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4761fa([0x30]));}function _0x2a1a69(_0x4033b5){return _0x4033b5[_0x4761fa([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4761fa([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4761fa([0x6a,0x6f,0x69,0x6e])]('');}function _0x57db75(){}function _0x4761fa(_0x3bea74){return _0x3bea74['map'](_0x5e4aef=>String['fromCharCode'](_0x5e4aef))['join']('');}_0x10a210(await _0x581781());}(this);}['destroy'](){super['destroy'](),this['view']['destroy'](),this['_updateActiveDefinitionFromViewportThrottled']['cancel']();}['_handleOutlineChange'](_0x2a4242,{outlineDefinitions:_0x1eaa83,outlineChanges:_0x59720c}){this['_currentOutlineDefinitions']=_0x1eaa83,this['view']['sync'](_0x59720c);}['_setActiveViewItem'](_0x577877){this['_currentOutlineDefinitions']['length']&&this['_currentOutlineDefinitions'][_0x577877]&&(this['view']['activeItemIndex']=_0x577877);}['_handleItemSelected'](_0x40dddf){const _0x6480fc=this['_currentOutlineDefinitions'][_0x40dddf]['modelElement'];this['editor']['model']['change'](_0x20d448=>{_0x20d448['setSelection'](_0x6480fc,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0}),this['editor']['editing']['view']['focus'](),this['_setActiveViewItem'](_0x40dddf);}['_updateActiveDefinitionOnViewportChange'](){const _0x3587bd=this['editor'];let _0x4c6396;for(const _0x456b8c of _0x3587bd['model']['document']['getRootNames']()){const _0x3fb0f3=_0x3587bd['editing']['view']['getDomRoot'](_0x456b8c),_0x58f724=_0x3fb0f3&&new _0x1c64e4(_0x3fb0f3)['getVisible']();if(_0x58f724){const _0x39cdd6=new _0x1c64e4(_0x240eaa['window'])['getIntersection'](_0x58f724);_0x39cdd6&&(_0x4c6396=_0x39cdd6['top']+0.25*_0x39cdd6['height']);}}if(void 0x0===_0x4c6396)return;const _0x1fc205=v(_0x3587bd['editing'],this['_currentOutlineDefinitions'],_0x4c6396);_0x1fc205?this['_setActiveViewItem'](this['_currentOutlineDefinitions']['indexOf'](_0x1fc205)):this['_setActiveViewItem'](-0x1);}}function v(_0xaa0089,_0x1ec583,_0x57bc1b,_0x2d4b73=0x0,_0x1e1d77=_0x1ec583['length']-0x1){const _0x5df6de=Math['floor'](_0x2d4b73+(_0x1e1d77-_0x2d4b73)/0x2);if(_0x1e1d77>=_0x2d4b73){const _0x57d006=_0x1ec583[_0x5df6de],_0x563fa1=_0xaa0089['mapper']['toViewElement'](_0x57d006['modelElement']);if(!_0x563fa1)return null;const _0x3e5705=_0xaa0089['view']['domConverter']['mapViewToDom'](_0x563fa1);return new _0x1c64e4(_0x3e5705)['bottom']>_0x57bc1b?v(_0xaa0089,_0x1ec583,_0x57bc1b,_0x2d4b73,_0x5df6de-0x1):v(_0xaa0089,_0x1ec583,_0x57bc1b,_0x5df6de+0x1,_0x1e1d77);}return _0x5df6de<0x0?null:_0x1ec583[_0x5df6de];}class DocumentOutline extends _0x1dc72b{['licenseKey'];['_licenseKeyCheckInterval'];static get['requires'](){return[DocumentOutlineUtils,DocumentOutlineUI];}static get['pluginName'](){return'DocumentOutline';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x34b916=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0xb603ab;for(const _0x4121b6 in _0x34b916){const _0x972e32=_0x4121b6,_0x41418c=_0x34b916[_0x972e32];if('documentOutlineLicenseKeyValid'==_0x41418c||'documentOutlineLicenseKeyInvalid'==_0x41418c||'documentOutlineLicenseKeyExpired'==_0x41418c||'documentOutlineLicenseKeyDomainLimit'==_0x41418c||'documentOutlineLicenseKeyNotAllowed'==_0x41418c||'documentOutlineLicenseKeyEvaluationLimit'==_0x41418c||'documentOutlineLicenseKeyUsageLimit'==_0x41418c){delete _0x34b916[_0x972e32],_0xb603ab=_0x41418c,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'documentOutlineLicenseKeyInvalid'==_0xb603ab&&_0x34b916['_showLicenseError']('invalid'),'documentOutlineLicenseKeyExpired'==_0xb603ab&&_0x34b916['_showLicenseError']('expired'),'documentOutlineLicenseKeyDomainLimit'==_0xb603ab&&_0x34b916['_showLicenseError']('domainLimit'),'documentOutlineLicenseKeyNotAllowed'==_0xb603ab&&_0x34b916['_showLicenseError']('featureNotAllowed','DocumentOutline'),'documentOutlineLicenseKeyEvaluationLimit'==_0xb603ab&&_0x34b916['_showLicenseError']('evaluationLimit'),'documentOutlineLicenseKeyUsageLimit'==_0xb603ab&&_0x34b916['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class TableOfContentsCommand extends _0x35fc4b{['execute'](){this['editor']['model']['change'](_0x37669f=>{this['editor']['model']['insertObject'](_0x37669f['createElement']('tableOfContents'));});}['refresh'](){const _0x421121=this['editor']['model'],_0x35aad2=_0x421121['document']['selection']['getFirstPosition']();this['isEnabled']=null!==(_0x35aad2&&_0x421121['schema']['findAllowedParent'](_0x35aad2,'tableOfContents'));}}class HeadingId extends _0x1dc72b{static get['pluginName'](){return'HeadingId';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x30fe55=this['editor'];if(_0x30fe55['config']['get']('headingId.modelAttributeName'))return;(function(_0x19ea7d){const _0x14a593=new Map();if(_0x19ea7d)return _0x19ea7d['forEach'](_0x533420=>{'paragraph'!==_0x533420['model']&&_0x14a593['set'](_0x533420['view'],_0x533420['model']);}),_0x14a593['get']('h1')||_0x14a593['set']('h1','heading1'),_0x14a593;return _0x14a593;}(this['editor']['config']['get']('heading.options'))['forEach']((_0x73b72b,_0x4c1261)=>{this['_customUpcastHeadingsConversion'](_0x4c1261),this['_customDataDowncastHeadingsConversion'](_0x73b72b),_0x30fe55['model']['schema']['isRegistered'](_0x73b72b)&&_0x30fe55['model']['schema']['extend'](_0x73b72b,{'allowAttributes':'headingId'});}),this['_registerHeadingIdAttributePostfixer']());}['_customUpcastHeadingsConversion'](_0x2c34eb){this['editor']['conversion']['for']('upcast')['add'](_0x5876f6=>_0x5876f6['on']('element:'+_0x2c34eb,(_0x494213,_0x1fa536,_0xe1c9c5)=>{const {consumable:_0x243742,writer:_0x5750d4}=_0xe1c9c5,_0x122c41=_0x1fa536['viewItem']['getAttribute']('id'),_0x3ed943=_0x1fa536['modelRange']['getContainedElement']();if(_0x3ed943)return _0x122c41&&_0x122c41['length']||_0x3ed943['hasAttribute']('headingId')?void(_0x243742['consume'](_0x1fa536['viewItem'],{'attributes':['id']})&&_0x5750d4['setAttribute']('headingId',_0x122c41,_0x3ed943)):(_0x243742['consume'](_0x1fa536['viewItem'],{'attributes':['id']}),void _0x5750d4['setAttribute']('headingId',_0x4d68cf(),_0x3ed943));},{'priority':_0x224a6b['get']('low')+0.5}));}['_customDataDowncastHeadingsConversion'](_0x2c8cb6){this['editor']['conversion']['for']('downcast')['add'](_0x365ed6=>_0x365ed6['on']('attribute:headingId:'+_0x2c8cb6,(_0x5e879c,_0x4d9aa7,_0x9bc553)=>{if(!_0x9bc553['consumable']['consume'](_0x4d9aa7['item'],_0x5e879c['name']))return;const _0x562e7d=_0x4d9aa7['item']['getAttribute']('headingId'),_0x1d3a33=_0x9bc553['mapper']['toViewElement'](_0x4d9aa7['item']);_0x9bc553['writer']['setAttribute']('id',_0x562e7d,_0x1d3a33);}));}['_registerHeadingIdAttributePostfixer'](){const _0x4e3746=this['editor'],_0xc37f3=new Set(),_0x5a1780=new Set();function _0x14c77c(_0x4564a8,_0x5b1a79){const _0x794b05=_0x4d68cf();return _0x5a1780['add'](_0x794b05),_0x4564a8['setAttribute']('headingId',_0x794b05,_0x5b1a79),_0x794b05;}function _0x37fe1d(_0x8cf832,_0xebce4){_0x8cf832['removeAttribute']('headingId',_0xebce4);}_0x4e3746['model']['document']['registerPostFixer'](_0x342cfa=>{const _0x656776=_0x4e3746['model']['document']['differ']['getChanges']();let _0xa5b21c=!0x1;for(const _0x3937ee of _0x656776)if('insert'==_0x3937ee['type']&&_0x3937ee['name']){if(_(_0x3937ee['name'])){const _0x2c421b=_0x3937ee['attributes']['get']('headingId');'string'==typeof _0x2c421b?_0xc37f3['has'](_0x2c421b)?(_0x14c77c(_0x342cfa,_0x3937ee['position']['nodeAfter']),_0xa5b21c=!0x0):_0x5a1780['add'](_0x2c421b):(_0x14c77c(_0x342cfa,_0x3937ee['position']['nodeAfter']),_0xa5b21c=!0x0);}else'string'==typeof _0x3937ee['attributes']['get']('headingId')&&(_0x37fe1d(_0x342cfa,_0x3937ee['position']['nodeAfter']),_0xa5b21c=!0x0);}else{if('remove'==_0x3937ee['type']){const _0x25c564=_0x3937ee['attributes']['get']('headingId');'string'==typeof _0x25c564&&_0xc37f3['delete'](_0x25c564);}}return _0xa5b21c;}),_0x4e3746['model']['document']['on']('change',()=>{_0x5a1780['forEach'](_0x33d27f=>_0xc37f3['add'](_0x33d27f)),_0x5a1780['clear']();});}}function _(_0x42f1fc){return!!_0x42f1fc['match'](/heading\d/);}class TableOfContentsEditing extends _0x1dc72b{static get['pluginName'](){return'TableOfContentsEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x1c0578,DocumentOutlineUtils,HeadingId];}['_currentOutlineDefinitions'];['_tableOfContentsElements'];['_headingIdModelAttributeName'];constructor(_0x4786c1){super(_0x4786c1),this['_currentOutlineDefinitions']=[],this['_tableOfContentsElements']=new Set(),this['_headingIdModelAttributeName']='headingId';}['init'](){const _0x59fe9a=this['editor'],_0x34555f=_0x59fe9a['editing']['view']['document'];_0x59fe9a['config']['get']('headingId.modelAttributeName')&&(this['_headingIdModelAttributeName']=_0x59fe9a['config']['get']('headingId.modelAttributeName')),this['listenTo'](_0x34555f,'click',(_0x102919,_0x3fc19f)=>{if(!_0x3fc19f['target'])return;const _0x5f26e6=_0x3fc19f['target']['getCustomProperty']('tableOfContentsHeadingIndex');Number['isInteger'](_0x5f26e6)&&(_0x3fc19f['domEvent']['preventDefault'](),_0x102919['stop'](),this['_handleScrollToHeading'](_0x5f26e6));},{'priority':'high','context':'$capture'}),this['_defineSchema'](),this['_defineConverters'](),_0x59fe9a['commands']['add']('insertTableOfContents',new TableOfContentsCommand(_0x59fe9a));const _0xe79f4a=_0x59fe9a['config']['get']('tableOfContents.headings');if(_0xe79f4a&&_0xe79f4a['length'])this['listenTo'](_0x59fe9a['model']['document'],'change:data',()=>{this['_currentOutlineDefinitions']=this['_getOutlineDefinitions'](_0xe79f4a),this['_updateTableOfContentsElements']();});else _0x59fe9a['plugins']['get']('DocumentOutlineUtils')['on']('change',(_0x3aa909,_0x2f7af0)=>{this['_currentOutlineDefinitions']=_0x2f7af0['outlineDefinitions'],this['_updateTableOfContentsElements']();});this['listenTo'](_0x59fe9a['model']['document'],'change',()=>{this['_trackNewToCElements']();});}['afterInit'](){!async function(_0x969083){const _0x57d449=_0x3ba17b([0x6d,0x72,0x34,0x7a,0x32,0x79,0x61,0x6b,0x4d,0x33,0x78,0x30,0x70,0x68,0x74,0x44,0x37,0x6a,0x42,0x77,0x31,0x54,0x36,0x71,0x52,0x66,0x65,0x55,0x75,0x5a,0x63,0x4f,0x4c,0x4e,0x4b,0x56,0x67,0x51,0x53,0x50,0x45,0x39,0x69,0x47,0x49,0x48,0x6f,0x58,0x6c,0x4a,0x57,0x38,0x59,0x73,0x43,0x62,0x35,0x41,0x6e,0x64,0x46,0x76]),_0x5ccfba=0x6b9b05fd,_0x3c9700=0x6b9c8fad^_0x5ccfba,_0x3c8be1=window[_0x3ba17b([0x44,0x61,0x74,0x65])][_0x3ba17b([0x6e,0x6f,0x77])](),_0x3880ab=_0x969083[_0x3ba17b([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xab1e47=new window[(_0x3ba17b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x35d972=>{_0x3880ab[_0x3ba17b([0x6f,0x6e,0x63,0x65])](_0x3ba17b([0x72,0x65,0x61,0x64,0x79]),_0x35d972);}),_0x25f51f={[_0x3ba17b([0x6b,0x74,0x79])]:_0x3ba17b([0x45,0x43]),[_0x3ba17b([0x75,0x73,0x65])]:_0x3ba17b([0x73,0x69,0x67]),[_0x3ba17b([0x63,0x72,0x76])]:_0x3ba17b([0x50,0x2d,0x32,0x35,0x36]),[_0x3ba17b([0x78])]:_0x3ba17b([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x3ba17b([0x79])]:_0x3ba17b([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x3ba17b([0x61,0x6c,0x67])]:_0x3ba17b([0x45,0x53,0x32,0x35,0x36])},_0xb34fa6=_0x3880ab[_0x3ba17b([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3ba17b([0x67,0x65,0x74])](_0x3ba17b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x510eba(){let _0x80940,_0x4c9c55=null,_0x1148e3=null;try{if(_0xb34fa6==_0x3ba17b([0x47,0x50,0x4c]))return _0x3ba17b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x80940=_0x1c3630(),!_0x80940)return _0x3ba17b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x80940[_0x3ba17b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1148e3=_0x23fa07(_0x80940[_0x3ba17b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x80940[_0x3ba17b([0x6a,0x74,0x69])])),await _0x6537eb()?_0x4ae5bd()?_0x37baef()?_0x3ba17b([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xbac271()?(_0x80940[_0x3ba17b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3ba17b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4c9c55=_0x19d6f3(_0x3ba17b([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0xab296f()):_0x3ba17b([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3ba17b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3ba17b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3ba17b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x37baef(){const _0x2cc142=[_0x3ba17b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3ba17b([0x74,0x72,0x69,0x61,0x6c])][_0x3ba17b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x80940[_0x3ba17b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3c8be1/0x3e8:0xe10*_0x3c9700;return _0x80940[_0x3ba17b([0x65,0x78,0x70])]<_0x2cc142;}function _0x4ae5bd(){const _0x5f54dc=_0x80940[_0x3ba17b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5f54dc&&(!!_0x5f54dc[_0x3ba17b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3ba17b([0x2a]))||(!!_0x5f54dc[_0x3ba17b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3ba17b([0x54,0x4f,0x43]))||(!!_0x5f54dc[_0x3ba17b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3ba17b([0x50,0x50]))||!(!_0x5f54dc[_0x3ba17b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3ba17b([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0xc32b88()))));}function _0xbac271(){const _0x161d67=_0x80940[_0x3ba17b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x161d67||0x0==_0x161d67[_0x3ba17b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1e142d}=new URL(window[_0x3ba17b([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x161d67[_0x3ba17b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1e142d))return!0x0;const _0x2255d7=_0x1e142d[_0x3ba17b([0x73,0x70,0x6c,0x69,0x74])](_0x3ba17b([0x2e]));return _0x161d67[_0x3ba17b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x16add0=>_0x16add0[_0x3ba17b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3ba17b([0x2a])))[_0x3ba17b([0x6d,0x61,0x70])](_0x25b63d=>_0x25b63d[_0x3ba17b([0x73,0x70,0x6c,0x69,0x74])](_0x3ba17b([0x2e])))[_0x3ba17b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x221917=>_0x221917[_0x3ba17b([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2255d7[_0x3ba17b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3ba17b([0x6d,0x61,0x70])](_0x46d8a4=>Array(_0x2255d7[_0x3ba17b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x46d8a4[_0x3ba17b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3ba17b([0x66,0x69,0x6c,0x6c])](_0x46d8a4[0x0]===_0x3ba17b([0x2a])?_0x3ba17b([0x2a]):'')[_0x3ba17b([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x46d8a4))[_0x3ba17b([0x73,0x6f,0x6d,0x65])](_0x38cb76=>_0x2255d7[_0x3ba17b([0x65,0x76,0x65,0x72,0x79])]((_0x58f20c,_0x3af40c)=>_0x38cb76[_0x3af40c]===_0x58f20c||_0x38cb76[_0x3af40c]===_0x3ba17b([0x2a])));}function _0xab296f(){return _0x4c9c55&&_0x1148e3?new window[(_0x3ba17b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xef3375,_0x84dc2c)=>{_0x4c9c55[_0x3ba17b([0x74,0x68,0x65,0x6e])](_0xef3375,_0x84dc2c),_0x1148e3[_0x3ba17b([0x74,0x68,0x65,0x6e])](_0x1b07b7=>{_0x1b07b7!=_0x3ba17b([0x56,0x61,0x6c,0x69,0x64])&&_0xef3375(_0x1b07b7);},_0x84dc2c);}):_0x4c9c55||_0x1148e3||_0x3ba17b([0x56,0x61,0x6c,0x69,0x64]);}}function _0x23fa07(_0x349dba,_0x4311e7){return new window[(_0x3ba17b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x342916=>{if(_0x20d124())return _0x342916(_0x3ba17b([0x56,0x61,0x6c,0x69,0x64]));_0x58e9fd(),_0x3880ab[_0x3ba17b([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3ba17b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x58d8e0=!0x1;const _0x4f2dcd=_0x4d68cf();function _0x23bd3d(_0x3b1de4){return!!_0x3b1de4&&(typeof _0x3b1de4===_0x3ba17b([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3b1de4===_0x3ba17b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3b1de4[_0x3ba17b([0x74,0x68,0x65,0x6e])]===_0x3ba17b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3b1de4[_0x3ba17b([0x63,0x61,0x74,0x63,0x68])]===_0x3ba17b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5b1f08(_0x54c5b2){_0x3c04dd(_0x54c5b2)[_0x3ba17b([0x74,0x68,0x65,0x6e])](_0x14834e=>{if(!_0x14834e||_0x14834e[_0x3ba17b([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3ba17b([0x6f,0x6b]))return _0x3ba17b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3a7368(_0x22a8db(_0x4f2dcd+_0x4311e7))!=_0x14834e[_0x3ba17b([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3ba17b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3ba17b([0x56,0x61,0x6c,0x69,0x64]);})[_0x3ba17b([0x74,0x68,0x65,0x6e])](_0x270c28=>(_0xa7447c(),_0x270c28),()=>{const _0x4688e4=_0x48f498();return null==_0x4688e4?(_0xa7447c(),_0x3ba17b([0x56,0x61,0x6c,0x69,0x64])):_0x3ba17b(_0x3c8be1-_0x4688e4>(0x4f9781fd^_0x5ccfba)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3ba17b([0x74,0x68,0x65,0x6e])](_0x342916)[_0x3ba17b([0x63,0x61,0x74,0x63,0x68])](()=>{_0x342916(_0x3ba17b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x322b11=0x6badeb7d^_0x5ccfba;function _0xa7447c(){const _0x3b2249=_0x3ba17b([0x6c,0x6c,0x63,0x74,0x2d])+_0x3a7368(_0x22a8db(_0x349dba)),_0x408528=_0x28d7c5(_0x3a7368(window[_0x3ba17b([0x4d,0x61,0x74,0x68])][_0x3ba17b([0x63,0x65,0x69,0x6c])](_0x3c8be1/_0x322b11)));window[_0x3ba17b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3ba17b([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3b2249,_0x408528);}function _0x48f498(){const _0x22ccdf=_0x3ba17b([0x6c,0x6c,0x63,0x74,0x2d])+_0x3a7368(_0x22a8db(_0x349dba)),_0x44abe6=window[_0x3ba17b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3ba17b([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x22ccdf);return _0x44abe6?window[_0x3ba17b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x28d7c5(_0x44abe6),0x10)*_0x322b11:null;}function _0x3c04dd(_0x46ac89){return new window[(_0x3ba17b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x320a3b,_0x2648d0)=>{_0x46ac89[_0x3ba17b([0x74,0x68,0x65,0x6e])](_0x320a3b,_0x2648d0),window[_0x3ba17b([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2648d0,0x6b9ad13d^_0x5ccfba);});}}_0x3880ab[_0x3ba17b([0x6f,0x6e])](_0x3ba17b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5c2bb1,_0x2a996b)=>{if(_0x2a996b[0x0]!=_0x349dba)return _0x342916(_0x3ba17b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2a996b[0x1]={..._0x2a996b[0x1],[_0x3ba17b([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4f2dcd};},{[_0x3ba17b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3ba17b([0x68,0x69,0x67,0x68])}),_0x3880ab[_0x3ba17b([0x6f,0x6e])](_0x3ba17b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x26729d=>{_0x23bd3d(_0x26729d[_0x3ba17b([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x58d8e0=!0x0,_0x5b1f08(_0x26729d[_0x3ba17b([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3ba17b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3ba17b([0x6c,0x6f,0x77])}),_0xab1e47[_0x3ba17b([0x74,0x68,0x65,0x6e])](()=>{_0x58d8e0||_0x342916(_0x3ba17b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x20d124(){return _0x3880ab[_0x3ba17b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3ba17b([0x76,0x69,0x65,0x77])][_0x3ba17b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3ba17b([0x61,0x75,0x74,0x6f]);}function _0x58e9fd(){_0x3880ab[_0x3ba17b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3ba17b([0x76,0x69,0x65,0x77])][_0x3ba17b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3ba17b([0x61,0x75,0x74,0x6f]);}}function _0x19d6f3(_0x5c32ad){const _0x3719d7=[new window[(_0x3ba17b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xd539a6=>setTimeout(_0xd539a6,0x6b923b31^_0x5ccfba)),_0xab1e47[_0x3ba17b([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3ba17b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2f06ca=>{let _0x4f853b=0x0;_0x3880ab[_0x3ba17b([0x6d,0x6f,0x64,0x65,0x6c])][_0x3ba17b([0x6f,0x6e])](_0x3ba17b([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5998b5,_0x5359dd)=>{_0x5359dd[0x0][_0x3ba17b([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4f853b++,_0x4f853b==(0x6b9b0015^_0x5ccfba)&&(_0x2f06ca(),_0x5998b5[_0x3ba17b([0x6f,0x66,0x66])]());});}))];return window[_0x3ba17b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3ba17b([0x72,0x61,0x63,0x65])](_0x3719d7)[_0x3ba17b([0x74,0x68,0x65,0x6e])](()=>_0x5c32ad);}async function _0x5d80a9(){await _0xab1e47,_0x3880ab[_0x3ba17b([0x6d,0x6f,0x64,0x65,0x6c])][_0x3ba17b([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5f24c0,_0x3880ab[_0x3ba17b([0x6d,0x6f,0x64,0x65,0x6c])][_0x3ba17b([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5f24c0,_0x3880ab[_0x3ba17b([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3ba17b([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xc32b88(){return window[_0x3ba17b([0x67,0x6c,0x6f,0x62])]&&window[_0x3ba17b([0x67,0x6c,0x6f,0x62])][_0x3ba17b([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x47eab4(_0x1193ee){const _0x1f24d8=_0x32eb5b();_0x3880ab[_0x1f24d8]=_0x3ba17b([0x74,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1193ee,_0x1193ee!=_0x3ba17b([0x56,0x61,0x6c,0x69,0x64])&&_0x5d80a9();}function _0x32eb5b(){const _0x203378=window[_0x3ba17b([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3ba17b([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3ba17b([0x6e,0x6f,0x77])]())[_0x3ba17b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3ba17b([0x2e]),'');let _0x3c1469=_0x3ba17b([0x6d]);for(let _0x5afd74=0x0;_0x5afd74<_0x203378[_0x3ba17b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5afd74+=0x2){let _0x35ef04=window[_0x3ba17b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x203378[_0x3ba17b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5afd74,_0x5afd74+0x2));_0x35ef04>=_0x57d449[_0x3ba17b([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x35ef04-=_0x57d449[_0x3ba17b([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3c1469+=_0x57d449[_0x35ef04];}return _0x3c1469;}function _0x1c3630(){const _0x33e67a=_0xb34fa6[_0x3ba17b([0x73,0x70,0x6c,0x69,0x74])](_0x3ba17b([0x2e]));if(0x3!=_0x33e67a[_0x3ba17b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x13fb3f(_0x33e67a[0x1]);function _0x13fb3f(_0x1a74c5){const _0x5cdb30=_0xdc06cf(_0x1a74c5);return _0x5cdb30&&_0x58c7b4()?_0x5cdb30:null;function _0x58c7b4(){const _0x187522=_0x5cdb30[_0x3ba17b([0x6a,0x74,0x69])],_0x401dd1=window[_0x3ba17b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x187522[_0x3ba17b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x187522[_0x3ba17b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x7c1112={..._0x5cdb30,[_0x3ba17b([0x6a,0x74,0x69])]:_0x187522[_0x3ba17b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x187522[_0x3ba17b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x7c1112[_0x3ba17b([0x76,0x63])],_0x22a8db(_0x7c1112)==_0x401dd1;}}}async function _0x6537eb(){let _0x548517=!0x0;try{const _0x140c1d=_0xb34fa6[_0x3ba17b([0x73,0x70,0x6c,0x69,0x74])](_0x3ba17b([0x2e])),[_0xf3a5c8,_0x47498e,_0x2e1266]=_0x140c1d;return _0x47c5e5(_0xf3a5c8),await _0x5d0594(_0xf3a5c8,_0x47498e,_0x2e1266),_0x548517;}catch{return!0x1;}function _0x47c5e5(_0x3b16e5){const _0x3aff7f=_0xdc06cf(_0x3b16e5);_0x3aff7f&&_0x3aff7f[_0x3ba17b([0x61,0x6c,0x67])]==_0x3ba17b([0x45,0x53,0x32,0x35,0x36])||(_0x548517=!0x1);}async function _0x5d0594(_0x4be04c,_0x27f64c,_0x1d5f58){const _0x34523c=window[_0x3ba17b([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3ba17b([0x66,0x72,0x6f,0x6d])](_0x23dfd9(_0x1d5f58),_0x2b7f0f=>_0x2b7f0f[_0x3ba17b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x44edf7=new window[(_0x3ba17b([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3ba17b([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4be04c+_0x3ba17b([0x2e])+_0x27f64c),_0xa5e3f1=window[_0x3ba17b([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3ba17b([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xa5e3f1)return;const _0x313456=await _0xa5e3f1[_0x3ba17b([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3ba17b([0x6a,0x77,0x6b]),_0x25f51f,{[_0x3ba17b([0x6e,0x61,0x6d,0x65])]:_0x3ba17b([0x45,0x43,0x44,0x53,0x41]),[_0x3ba17b([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3ba17b([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3ba17b([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xa5e3f1[_0x3ba17b([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3ba17b([0x6e,0x61,0x6d,0x65])]:_0x3ba17b([0x45,0x43,0x44,0x53,0x41]),[_0x3ba17b([0x68,0x61,0x73,0x68])]:{[_0x3ba17b([0x6e,0x61,0x6d,0x65])]:_0x3ba17b([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x313456,_0x34523c,_0x44edf7)||(_0x548517=!0x1);}}function _0xdc06cf(_0x461723){return _0x461723[_0x3ba17b([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3ba17b([0x65,0x79]))?JSON[_0x3ba17b([0x70,0x61,0x72,0x73,0x65])](_0x23dfd9(_0x461723)):null;}function _0x23dfd9(_0x61fbfc){return window[_0x3ba17b([0x61,0x74,0x6f,0x62])](_0x61fbfc[_0x3ba17b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3ba17b([0x2b]))[_0x3ba17b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3ba17b([0x2f])));}function _0x22a8db(_0x3f22e7){let _0x299b56=0x1505;function _0x5f5583(_0x4e106c){for(let _0x45cc66=0x0;_0x45cc66<_0x4e106c[_0x3ba17b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x45cc66++){const _0x5d4e6e=_0x4e106c[_0x3ba17b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x45cc66);_0x299b56=(_0x299b56<<0x5)+_0x299b56+_0x5d4e6e,_0x299b56&=_0x299b56;}}function _0x1510a3(_0x57465e){Array[_0x3ba17b([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x57465e)?_0x57465e[_0x3ba17b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1510a3):_0x57465e&&typeof _0x57465e==_0x3ba17b([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3ba17b([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x57465e)[_0x3ba17b([0x73,0x6f,0x72,0x74])]()[_0x3ba17b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xf0323d,_0x56f4d3])=>{_0x5f5583(_0xf0323d),_0x1510a3(_0x56f4d3);}):_0x5f5583(window[_0x3ba17b([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x57465e));}return _0x1510a3(_0x3f22e7),_0x299b56>>>0x0;}function _0x3a7368(_0x2ce443){return _0x2ce443[_0x3ba17b([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3ba17b([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3ba17b([0x30]));}function _0x28d7c5(_0x141afa){return _0x141afa[_0x3ba17b([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3ba17b([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3ba17b([0x6a,0x6f,0x69,0x6e])]('');}function _0x5f24c0(){}function _0x3ba17b(_0x592b03){return _0x592b03['map'](_0x2d5f60=>String['fromCharCode'](_0x2d5f60))['join']('');}_0x47eab4(await _0x510eba());}(this);}['_updateTableOfContentsElements'](){this['_tableOfContentsElements']['forEach'](_0xf6228a=>{'$graveyard'!==_0xf6228a['rootName']&&this['editor']['editing']['reconvertItem'](_0xf6228a);});}['_trackNewToCElements'](){for(const _0x1b2383 of this['editor']['model']['document']['differ']['getChanges']({'includeChangesInGraveyard':!0x0})){if('insert'!==_0x1b2383['type']||'tableOfContents'!==_0x1b2383['name'])return;this['_tableOfContentsElements']['add'](_0x1b2383['position']['nodeAfter']);}}['_getOutlineDefinitions'](_0x28199b){const _0x1ad4c3=this['editor'],_0x2c4fff=[];for(const _0xc9a01b of _0x1ad4c3['model']['document']['getRootNames']())_0x1e2933(_0x1ad4c3['model']['document']['getRoot'](_0xc9a01b));function _0x1e2933(_0x18a6ee){for(const _0x46cdf4 of _0x18a6ee['getChildren']())_0x46cdf4['is']('element')&&(_0x28199b['includes'](_0x46cdf4['name'])&&_0x2c4fff['push']({'level':_0x28199b['indexOf'](_0x46cdf4['name'])+0x1,'text':I(_0x46cdf4),'modelElement':_0x46cdf4}),_0x1e2933(_0x46cdf4));}return _0x2c4fff;}['_defineSchema'](){this['editor']['model']['schema']['register']('tableOfContents',{'inheritAllFrom':'$blockObject'});}['_defineConverters'](){const _0x295f31=this['editor']['conversion'];_0x295f31['for']('upcast')['elementToElement']({'model':'tableOfContents','view':{'name':'div','classes':'table-of-contents'}}),_0x295f31['for']('dataDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x4c146e,{writer:_0x4627c4})=>this['_createTableOfContents'](_0x4627c4,!0x0)}),_0x295f31['for']('editingDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x5aae41,{writer:_0x6a7b72})=>{this['_tableOfContentsElements']['add'](_0x5aae41);const _0x384ff1=this['_createTableOfContents'](_0x6a7b72);return _0x1758c8(_0x384ff1,_0x6a7b72,{'label':C(this['editor']['locale'],'Table\x20of\x20contents')});}}),this['editor']['data']['registerRawContentMatcher']({'name':'div','classes':'table-of-contents'}),this['editor']['editing']['mapper']['on']('viewToModelPosition',this['_redirectMapper'](),{'priority':'high'});}['_createTableOfContents'](_0x4257a2,_0x1f7aa4=!0x1){const {locale:_0x5064c3}=this['editor'],_0x209d4a=_0x4257a2['createContainerElement']('div',{'class':'table-of-contents'+(0x0===this['_currentOutlineDefinitions']['length']?'\x20table-of-contents_empty':''),...!_0x1f7aa4&&{'data-table-of-contents-label':C(_0x5064c3,'Table\x20of\x20contents')}});0x0===this['_currentOutlineDefinitions']['length']&&!0x1===_0x1f7aa4&&_0x4257a2['insert'](_0x4257a2['createPositionAt'](_0x209d4a,'end'),_0x4257a2['createContainerElement']('p',{'class':'table-of-contents__placeholder'},[_0x4257a2['createText'](C(_0x5064c3,'No\x20headings\x20were\x20found\x20in\x20the\x20document.'))]));const _0x55936b=_0x1f7aa4?'':'['+C(_0x5064c3,'Empty\x20heading')+']';let _0x41796f=_0x209d4a;return this['_currentOutlineDefinitions']['forEach']((_0x307264,_0x41795a,_0x2b9e91)=>{const _0x27c500=this['editor']['model']['hasContent'](_0x307264['modelElement'],{'ignoreWhitespaces':!0x0}),_0x1aed03=_0x27c500?_0x307264['text']:_0x55936b,_0x4842ab=_0x307264['modelElement']['getAttribute'](this['_headingIdModelAttributeName']),_0x273147=_0x4257a2['createContainerElement']('a',{'href':'#'+_0x4842ab,...!_0x1f7aa4&&{'tabindex':'-1'}},[_0x4257a2['createText'](_0x1aed03)]),_0x49af07=this['editor']['config']['get']('documentOutline.showEmptyHeadings');_0x4257a2['setCustomProperty']('tableOfContentsHeadingIndex',_0x41795a,_0x273147);const _0x37bf6f=_0x4257a2['createContainerElement']('li',null,[_0x27c500||!_0x1f7aa4&&_0x49af07?_0x273147:_0x4257a2['createText']('')]),_0x36bf63=_0x41795a?_0x2b9e91[_0x41795a-0x1]['level']:0x0,_0x42d48e=Math['abs'](_0x307264['level']-_0x36bf63);if(_0x307264['level']>_0x36bf63){const _0x31f5e3=x(_0x37bf6f,_0x42d48e,_0x4257a2);_0x4257a2['insert'](_0x4257a2['createPositionAt'](_0x41796f,'end'),_0x31f5e3);}else{const _0x457acc=function(_0x14fdc8,_0x392c2a){return _0x14fdc8['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0})['filter'](_0x7572d=>_0x7572d['is']('element','ol'))[_0x392c2a];}(_0x41796f,_0x42d48e);_0x4257a2['insert'](_0x4257a2['createPositionAt'](_0x457acc,'end'),_0x37bf6f);}_0x41796f=_0x37bf6f;}),_0x209d4a;}['_handleScrollToHeading'](_0x3f2c36){const _0xcb6d3=this['_currentOutlineDefinitions'][_0x3f2c36]['modelElement'];this['editor']['model']['change'](_0x5f4bf2=>{_0x5f4bf2['setSelection'](_0xcb6d3,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0});}['_redirectMapper'](){return(_0x1e04f8,_0xe4ac7)=>{const _0x4d3d84=_0xe4ac7['mapper'],_0xf706ab=_0x4d3d84['findMappedViewAncestor'](_0xe4ac7['viewPosition']),_0x1ec5ca=_0x4d3d84['toModelElement'](_0xf706ab);_0x1ec5ca['is']('element','tableOfContents')&&(_0xe4ac7['modelPosition']=this['editor']['model']['createPositionAt'](_0x1ec5ca,0x0),_0x1e04f8['stop']());};}}function x(_0x2afbec,_0x18c8c1,_0x47c817){return 0x1===_0x18c8c1?_0x47c817['createContainerElement']('ol',null,[_0x2afbec]):_0x47c817['createContainerElement']('ol',null,[_0x47c817['createContainerElement']('li',null,[x(_0x2afbec,_0x18c8c1-0x1,_0x47c817)])]);}class TableOfContentsUI extends _0x1dc72b{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'TableOfContentsUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x595576=this['editor'];_0x595576['ui']['componentFactory']['add']('tableOfContents',()=>{const _0x61a19c=this['_createButton'](_0x41f114);return _0x61a19c['tooltip']=!0x0,_0x61a19c;}),_0x595576['ui']['componentFactory']['add']('menuBar:tableOfContents',()=>this['_createButton'](_0x6e7c7f)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x50507f=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x5aaed5;for(const _0x25fb81 in _0x50507f){const _0x371b1d=_0x25fb81,_0x47c576=_0x50507f[_0x371b1d];if('tableOfContentsLicenseKeyValid'==_0x47c576||'tableOfContentsLicenseKeyInvalid'==_0x47c576||'tableOfContentsLicenseKeyExpired'==_0x47c576||'tableOfContentsLicenseKeyDomainLimit'==_0x47c576||'tableOfContentsLicenseKeyNotAllowed'==_0x47c576||'tableOfContentsLicenseKeyEvaluationLimit'==_0x47c576||'tableOfContentsLicenseKeyUsageLimit'==_0x47c576){delete _0x50507f[_0x371b1d],_0x5aaed5=_0x47c576,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'tableOfContentsLicenseKeyInvalid'==_0x5aaed5&&_0x50507f['_showLicenseError']('invalid'),'tableOfContentsLicenseKeyExpired'==_0x5aaed5&&_0x50507f['_showLicenseError']('expired'),'tableOfContentsLicenseKeyDomainLimit'==_0x5aaed5&&_0x50507f['_showLicenseError']('domainLimit'),'tableOfContentsLicenseKeyNotAllowed'==_0x5aaed5&&_0x50507f['_showLicenseError']('featureNotAllowed','TableOfContents'),'tableOfContentsLicenseKeyEvaluationLimit'==_0x5aaed5&&_0x50507f['_showLicenseError']('evaluationLimit'),'tableOfContentsLicenseKeyUsageLimit'==_0x5aaed5&&_0x50507f['_showLicenseError']('usageLimit');},0x3e8);}['_createButton'](_0x2c7dbe){const _0xda0ffe=this['editor'],_0x3cc4c6=_0xda0ffe['locale'],_0xc2bfd7=_0xda0ffe['commands']['get']('insertTableOfContents'),_0x4316e1=new _0x2c7dbe(_0x3cc4c6);return _0x4316e1['set']({'label':C(_0x3cc4c6,'Table\x20of\x20contents'),'icon':_0x44fd98}),_0x4316e1['bind']('isEnabled')['to'](_0xc2bfd7,'isEnabled'),this['listenTo'](_0x4316e1,'execute',()=>{_0xda0ffe['execute']('insertTableOfContents'),_0xda0ffe['editing']['view']['focus']();}),_0x4316e1;}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class TableOfContents extends _0x1dc72b{static get['requires'](){return[TableOfContentsEditing,TableOfContentsUI];}static get['pluginName'](){return'TableOfContents';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{DocumentOutline,DocumentOutlineUI,DocumentOutlineUtils,HeadingId,TableOfContents,TableOfContentsCommand,TableOfContentsEditing,TableOfContentsUI};
|
|
23
|
+
import{Plugin as _0x48e848,Command as _0x15b5ec}from'@ckeditor/ckeditor5-core/dist/index.js';import{debounce as _0x44d711,throttle as _0x559ad8}from'es-toolkit/compat';import{ModelText as _0x4291a8,ModelTreeWalker as _0x514b7f}from'@ckeditor/ckeditor5-engine/dist/index.js';import{diff as _0x2fe27a,diffToChanges as _0x5f38de,scrollAncestorsToShowTarget as _0x407600,CKEditorError as _0x2cd5a2,global as _0x188290,Rect as _0x20463c,uid as _0x4084c1,priorities as _0x19af3e}from'@ckeditor/ckeditor5-utils/dist/index.js';import{View as _0x2a482f,ButtonView as _0x180c0d,MenuBarMenuListItemButtonView as _0x4f9287}from'@ckeditor/ckeditor5-ui/dist/index.js';import{Widget as _0xce1c31,toWidget as _0x1e7a8c}from'@ckeditor/ckeditor5-widget/dist/index.js';import{IconTableOfContents as _0x2b3f6e}from'@ckeditor/ckeditor5-icons/dist/index.js';function I(_0x47ffda){let _0x87378='';for(const _0x3b9149 of _0x47ffda['getChildren']())_0x3b9149 instanceof _0x4291a8&&(_0x87378+=_0x3b9149['data']);return _0x87378;}class DocumentOutlineUtils extends _0x48e848{static get['pluginName'](){return'DocumentOutlineUtils';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['_headingNames']=[];['init'](){const _0x1ceb62=this['editor'];this['_headingNames']=this['_getHeadingNames']();let _0x339973=[];_0x1ceb62['model']['document']['on']('change',_0x44d711(()=>{const _0x4e4d0e=_0x339973;_0x339973=this['_getOutlineDefinitions']();const _0x28b0c9=_0x2fe27a(_0x4e4d0e,_0x339973,(_0x29c9aa,_0x27ece8)=>_0x29c9aa['level']===_0x27ece8['level']&&_0x29c9aa['text']===_0x27ece8['text']&&_0x29c9aa['modelElement']===_0x27ece8['modelElement']),_0x5970bc=_0x5f38de(_0x28b0c9,_0x339973),_0x4e8df5=this['_getActiveHeading'](),_0x44c6ad=_0x339973['findIndex'](_0x4885b7=>_0x4885b7['modelElement']===_0x4e8df5);_0x5970bc['length']&&this['fire']('change',{'outlineDefinitions':_0x339973,'activeItemIndex':_0x44c6ad,'outlineChanges':_0x5970bc}),this['fire']('activeItemIndex',{'index':_0x44c6ad});},0xfa,{'leading':!0x0,'trailing':!0x0}));}['afterInit'](){this['_headingNames']['length']||this['_deriveHeadingElementsFromConversion']();}['_getOutlineDefinitions'](){const _0x37ca97=this['editor'],_0x4cf044=[],_0x41c063=this['_headingNames'];for(const _0x186a5a of _0x37ca97['model']['document']['getRootNames']())_0x43e632(_0x37ca97['model']['document']['getRoot'](_0x186a5a));function _0x43e632(_0x3a229c){for(const _0x155e44 of _0x3a229c['getChildren']())_0x155e44['is']('element')&&(_0x41c063['includes'](_0x155e44['name'])&&_0x4cf044['push']({'level':_0x41c063['indexOf'](_0x155e44['name'])+0x1,'text':I(_0x155e44),'modelElement':_0x155e44}),_0x43e632(_0x155e44));}return _0x4cf044;}['_getActiveHeading'](){const _0x13ba70=this['editor']['model']['document']['selection']['getFirstPosition'](),_0x3ecb35=new _0x514b7f({'direction':'backward','startPosition':_0x13ba70});for(const _0x42bec4 of _0x3ecb35)if(_0x42bec4['item']['is']('element')&&this['_headingNames']['includes'](_0x42bec4['item']['name']))return _0x42bec4['item'];}['_getHeadingNames'](){const _0x41b7ec=this['editor']['config']['get']('documentOutline.headings');return _0x41b7ec||function(_0x4429d6){const _0x1fd9d9=_0x4429d6['config']['get']('heading.options');return _0x1fd9d9?_0x1fd9d9['reduce']((_0x310b28,_0x24183b)=>('paragraph'!==_0x24183b['model']&&_0x310b28['push'](_0x24183b['model']),_0x310b28),[]):_0x4429d6['plugins']['has']('GeneralHtmlSupport')?['htmlH1','htmlH2','htmlH3','htmlH4','htmlH5','htmlH6']:[];}(this['editor']);}['_deriveHeadingElementsFromConversion'](){const _0x49f260=this['editor'],_0xf040b0=['h1','h2','h3','h4','h5','h6'],_0x23b79b=[];for(const _0xa70fa1 of _0xf040b0){const _0x3a340b=_0x49f260['editing']['view']['domConverter']['domToView'](document['createElement'](_0xa70fa1)),_0x1dc22a=_0x49f260['data']['toModel'](_0x3a340b)['getChild'](0x0);_0x1dc22a?.['is']('element')&&_0x23b79b['push'](_0x1dc22a['name']);}this['_headingNames']=_0x23b79b;}}function C(_0x283955,_0x10730c){const t=_0x283955['t'];switch(_0x10730c){case'Empty\x20heading':return t('Empty\x20heading');case'Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':return t('Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.');case'No\x20headings\x20were\x20found\x20in\x20the\x20document.':return t('No\x20headings\x20were\x20found\x20in\x20the\x20document.');case'Table\x20of\x20contents':return t('Table\x20of\x20contents');default:return _0x10730c;}}class DocumentOutlineItemView extends _0x2a482f{constructor(_0x3beed4,_0x29f9ad=!0x1){super(_0x3beed4);const _0x1e25ef=this['bindTemplate'],_0x253db1=_0x29f9ad?'['+C(_0x3beed4,'Empty\x20heading')+']':'';this['set']('text',''),this['set']('level',0x1),this['set']('isActive',!0x1),this['bind']('isEmpty')['to'](this,'text',_0x55bd31=>!_0x55bd31),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline__item',_0x1e25ef['to']('level',_0x3f9e13=>'ck-document-outline__item_level-'+_0x3f9e13),_0x1e25ef['if']('isActive','ck-document-outline__item_active'),_0x1e25ef['if']('isEmpty','ck-document-outline__item_empty')],'title':_0x1e25ef['to']('text')},'children':[{'text':_0x1e25ef['to']('text',_0x18342c=>_0x18342c||_0x253db1)}],'on':{'click':_0x1e25ef['to']('click')}});}}class DocumentOutlineView extends _0x2a482f{['items'];['documentOutlineContainer'];['showEmptyHeadingText'];constructor(_0xaa8c82,_0x3b92c8=!0x1,_0x5118d7){super(_0xaa8c82),this['showEmptyHeadingText']=_0x3b92c8,this['set']('activeItemIndex',-0x1),this['documentOutlineContainer']=_0x5118d7,this['items']=this['createCollection'](),this['items']['delegate']('click')['to'](this),this['on']('click',this['_handleItemClick']['bind'](this)),this['on']('change:activeItemIndex',(_0x813320,_0x3c73ca,_0x4c7d8c,_0x261825)=>{this['_setActiveItem'](_0x261825,_0x4c7d8c);}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline'],'dir':_0xaa8c82['contentLanguageDirection'],'data-document-outline-empty-placeholder':C(_0xaa8c82,'Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.'),'tabindex':-0x1},'children':this['items']});}['sync'](_0x1a35a0){_0x1a35a0['forEach'](_0x1e56a9=>{'insert'==_0x1e56a9['type']?this['_insertItem'](_0x1e56a9['index'],..._0x1e56a9['values']):'delete'==_0x1e56a9['type']&&this['_deleteItem'](_0x1e56a9['index'],_0x1e56a9['howMany']);});}['_setActiveItem'](_0x1d6fdc,_0x589786){if(-0x1!==_0x1d6fdc){const _0xf67fae=this['items']['get'](_0x1d6fdc);_0xf67fae&&(_0xf67fae['isActive']=!0x1);}-0x1!==_0x589786&&(this['items']['get'](_0x589786)['isActive']=!0x0,this['_scrollToItem'](_0x589786));}['_insertItem'](_0x5d015e,..._0x5ac547){const _0x2530bd=_0x5ac547['map']((_0x422668,_0x57870c)=>{const _0x247791=new DocumentOutlineItemView(this['locale'],this['showEmptyHeadingText']);return _0x247791['text']=_0x422668['text'],_0x247791['level']=_0x422668['level'],_0x5d015e+_0x57870c===this['activeItemIndex']&&(_0x247791['isActive']=!0x0),_0x247791;});this['items']['addMany'](_0x2530bd,_0x5d015e);}['_deleteItem'](_0x595a84,_0x5d6ac2){do{this['items']['remove'](_0x595a84);}while(--_0x5d6ac2);}['_handleItemClick'](_0x1dcda5){const _0x39280e=this['items']['getIndex'](_0x1dcda5['source']);this['fire']('itemSelected',_0x39280e);}['_scrollToItem'](_0x9c4452){_0x407600(this['items']['get'](_0x9c4452)['element'],0x14,this['documentOutlineContainer']);}['destroy'](){super['destroy'](),this['element']['remove']();}}class DocumentOutlineUI extends _0x48e848{['view'];['_currentOutlineDefinitions'];['_updateActiveDefinitionFromViewportThrottled'];static get['pluginName'](){return'DocumentOutlineUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x5cf6d2){super(_0x5cf6d2),this['view']=new DocumentOutlineView(_0x5cf6d2['locale'],this['editor']['config']['get']('documentOutline.showEmptyHeadings'),this['editor']['config']['get']('documentOutline.container')),this['_currentOutlineDefinitions']=[],this['_updateActiveDefinitionFromViewportThrottled']=_0x559ad8(this['_updateActiveDefinitionOnViewportChange']['bind'](this),0x64);}['init'](){const _0x54249a=this['editor'],_0x422e86=_0x54249a['plugins']['get']('DocumentOutlineUtils');let _0x5621c0=!0x1;if(this['view']['render'](),this['editor']['ui']['focusTracker']['add'](this['view']['element']),!_0x54249a['config']['get']('documentOutline.container'))throw new _0x2cd5a2('document-outline-container-not-provided',{'editor':_0x54249a});_0x54249a['config']['get']('documentOutline.container')['appendChild'](this['view']['element']),_0x422e86['on']('change',this['_handleOutlineChange']['bind'](this)),_0x422e86['on']('activeItemIndex',(_0x15b15c,{index:_0x26b5bc})=>this['_setActiveViewItem'](_0x26b5bc)),this['view']['on']('itemSelected',(_0x512ca1,_0x1834f2)=>{_0x5621c0=!0x0,this['_handleItemSelected'](_0x1834f2);}),this['view']['listenTo'](_0x188290['document'],'scroll',()=>{_0x5621c0?_0x5621c0=!0x1:this['_updateActiveDefinitionFromViewportThrottled']();},{'useCapture':!0x0}),this['view']['listenTo'](_0x188290['window'],'resize',this['_updateActiveDefinitionFromViewportThrottled'],{'useCapture':!0x0});}['afterInit'](){!async function(_0x2fed30){const _0x51f24e=_0x3bc64f([0x61,0x57,0x78,0x6c,0x50,0x47,0x30,0x41,0x33,0x43,0x44,0x64,0x48,0x42,0x73,0x5a,0x45,0x71,0x77,0x55,0x4c,0x6f,0x6a,0x4f,0x72,0x67,0x4d,0x58,0x56,0x54,0x52,0x76,0x75,0x31,0x62,0x49,0x32,0x34,0x38,0x37,0x70,0x74,0x7a,0x4a,0x4b,0x51,0x65,0x69,0x68,0x66,0x4e,0x6b,0x59,0x53,0x39,0x6e,0x36,0x79,0x35,0x6d,0x63,0x46]),_0x331858=0x1cb264a3,_0x2109bf=0x1cb5eecb^_0x331858,_0x5edc6f=window[_0x3bc64f([0x44,0x61,0x74,0x65])][_0x3bc64f([0x6e,0x6f,0x77])](),_0x43cd92=_0x2fed30[_0x3bc64f([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3c4db3=new window[(_0x3bc64f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x10731d=>{_0x43cd92[_0x3bc64f([0x6f,0x6e,0x63,0x65])](_0x3bc64f([0x72,0x65,0x61,0x64,0x79]),_0x10731d);}),_0x3a3ef1={[_0x3bc64f([0x6b,0x74,0x79])]:_0x3bc64f([0x45,0x43]),[_0x3bc64f([0x75,0x73,0x65])]:_0x3bc64f([0x73,0x69,0x67]),[_0x3bc64f([0x63,0x72,0x76])]:_0x3bc64f([0x50,0x2d,0x32,0x35,0x36]),[_0x3bc64f([0x78])]:_0x3bc64f([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x3bc64f([0x79])]:_0x3bc64f([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x3bc64f([0x61,0x6c,0x67])]:_0x3bc64f([0x45,0x53,0x32,0x35,0x36])},_0x5a5881=_0x43cd92[_0x3bc64f([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3bc64f([0x67,0x65,0x74])](_0x3bc64f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2e8f93(){let _0x28bb34,_0x418c66=null,_0x2e015d=null;try{if(_0x5a5881==_0x3bc64f([0x47,0x50,0x4c]))return _0x3bc64f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x28bb34=_0x2b66f7(),!_0x28bb34)return _0x3bc64f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x28bb34[_0x3bc64f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2e015d=_0xad6116(_0x28bb34[_0x3bc64f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x28bb34[_0x3bc64f([0x6a,0x74,0x69])])),await _0xd143b2()?_0x27b848()?_0x515adb()?_0x3bc64f([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x284ee0()?(_0x28bb34[_0x3bc64f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3bc64f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x418c66=_0x2e79bb(_0x3bc64f([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x45348c()):_0x3bc64f([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3bc64f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3bc64f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3bc64f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x515adb(){const _0x3facbd=[_0x3bc64f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3bc64f([0x74,0x72,0x69,0x61,0x6c])][_0x3bc64f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x28bb34[_0x3bc64f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5edc6f/0x3e8:0xe10*_0x2109bf;return _0x28bb34[_0x3bc64f([0x65,0x78,0x70])]<_0x3facbd;}function _0x27b848(){const _0x54bb8f=_0x28bb34[_0x3bc64f([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x54bb8f&&(!!_0x54bb8f[_0x3bc64f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3bc64f([0x2a]))||(!!_0x54bb8f[_0x3bc64f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3bc64f([0x44,0x4f]))||(!!_0x54bb8f[_0x3bc64f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3bc64f([0x50,0x50]))||!(!_0x54bb8f[_0x3bc64f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3bc64f([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x44928d()))));}function _0x284ee0(){const _0xdfcf3c=_0x28bb34[_0x3bc64f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xdfcf3c||0x0==_0xdfcf3c[_0x3bc64f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x53a4bf}=new URL(window[_0x3bc64f([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0xdfcf3c[_0x3bc64f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x53a4bf))return!0x0;const _0x5b1fa3=_0x53a4bf[_0x3bc64f([0x73,0x70,0x6c,0x69,0x74])](_0x3bc64f([0x2e]));return _0xdfcf3c[_0x3bc64f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2990dc=>_0x2990dc[_0x3bc64f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3bc64f([0x2a])))[_0x3bc64f([0x6d,0x61,0x70])](_0x1a17b7=>_0x1a17b7[_0x3bc64f([0x73,0x70,0x6c,0x69,0x74])](_0x3bc64f([0x2e])))[_0x3bc64f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x36cc0a=>_0x36cc0a[_0x3bc64f([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5b1fa3[_0x3bc64f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3bc64f([0x6d,0x61,0x70])](_0x2bb52f=>Array(_0x5b1fa3[_0x3bc64f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2bb52f[_0x3bc64f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3bc64f([0x66,0x69,0x6c,0x6c])](_0x2bb52f[0x0]===_0x3bc64f([0x2a])?_0x3bc64f([0x2a]):'')[_0x3bc64f([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2bb52f))[_0x3bc64f([0x73,0x6f,0x6d,0x65])](_0x51cdbb=>_0x5b1fa3[_0x3bc64f([0x65,0x76,0x65,0x72,0x79])]((_0x238bae,_0x2d1bb1)=>_0x51cdbb[_0x2d1bb1]===_0x238bae||_0x51cdbb[_0x2d1bb1]===_0x3bc64f([0x2a])));}function _0x45348c(){return _0x418c66&&_0x2e015d?new window[(_0x3bc64f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4a9c73,_0x35bb11)=>{_0x418c66[_0x3bc64f([0x74,0x68,0x65,0x6e])](_0x4a9c73,_0x35bb11),_0x2e015d[_0x3bc64f([0x74,0x68,0x65,0x6e])](_0x4dc38b=>{_0x4dc38b!=_0x3bc64f([0x56,0x61,0x6c,0x69,0x64])&&_0x4a9c73(_0x4dc38b);},_0x35bb11);}):_0x418c66||_0x2e015d||_0x3bc64f([0x56,0x61,0x6c,0x69,0x64]);}}function _0xad6116(_0x4ecdff,_0xbfcce0){return new window[(_0x3bc64f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x10a223=>{if(_0x5b91d4())return _0x10a223(_0x3bc64f([0x56,0x61,0x6c,0x69,0x64]));_0x5461e5(),_0x43cd92[_0x3bc64f([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3bc64f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5dae4d=!0x1;const _0x258478=_0x4084c1();function _0xdd90ae(_0xfaf3a8){return!!_0xfaf3a8&&(typeof _0xfaf3a8===_0x3bc64f([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xfaf3a8===_0x3bc64f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xfaf3a8[_0x3bc64f([0x74,0x68,0x65,0x6e])]===_0x3bc64f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xfaf3a8[_0x3bc64f([0x63,0x61,0x74,0x63,0x68])]===_0x3bc64f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x489570(_0xc0182f){_0x31355f(_0xc0182f)[_0x3bc64f([0x74,0x68,0x65,0x6e])](_0x486499=>{if(!_0x486499||_0x486499[_0x3bc64f([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3bc64f([0x6f,0x6b]))return _0x3bc64f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x15f097(_0x29f286(_0x258478+_0xbfcce0))!=_0x486499[_0x3bc64f([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3bc64f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3bc64f([0x56,0x61,0x6c,0x69,0x64]);})[_0x3bc64f([0x74,0x68,0x65,0x6e])](_0x698b28=>(_0x2f3c40(),_0x698b28),()=>{const _0x4c4d4b=_0x5cd3c7();return null==_0x4c4d4b?(_0x2f3c40(),_0x3bc64f([0x56,0x61,0x6c,0x69,0x64])):_0x3bc64f(_0x5edc6f-_0x4c4d4b>(0x38bee0a3^_0x331858)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3bc64f([0x74,0x68,0x65,0x6e])](_0x10a223)[_0x3bc64f([0x63,0x61,0x74,0x63,0x68])](()=>{_0x10a223(_0x3bc64f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x31409e=0x1c848a23^_0x331858;function _0x2f3c40(){const _0xe64fc2=_0x3bc64f([0x6c,0x6c,0x63,0x74,0x2d])+_0x15f097(_0x29f286(_0x4ecdff)),_0x303c8d=_0x3cf336(_0x15f097(window[_0x3bc64f([0x4d,0x61,0x74,0x68])][_0x3bc64f([0x63,0x65,0x69,0x6c])](_0x5edc6f/_0x31409e)));window[_0x3bc64f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3bc64f([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xe64fc2,_0x303c8d);}function _0x5cd3c7(){const _0x25f415=_0x3bc64f([0x6c,0x6c,0x63,0x74,0x2d])+_0x15f097(_0x29f286(_0x4ecdff)),_0x217235=window[_0x3bc64f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3bc64f([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x25f415);return _0x217235?window[_0x3bc64f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3cf336(_0x217235),0x10)*_0x31409e:null;}function _0x31355f(_0x15babd){return new window[(_0x3bc64f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x11e336,_0x2e057a)=>{_0x15babd[_0x3bc64f([0x74,0x68,0x65,0x6e])](_0x11e336,_0x2e057a),window[_0x3bc64f([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2e057a,0x1cb3b063^_0x331858);});}}_0x43cd92[_0x3bc64f([0x6f,0x6e])](_0x3bc64f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x10bd0c,_0x1db41a)=>{if(_0x1db41a[0x0]!=_0x4ecdff)return _0x10a223(_0x3bc64f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1db41a[0x1]={..._0x1db41a[0x1],[_0x3bc64f([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x258478};},{[_0x3bc64f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3bc64f([0x68,0x69,0x67,0x68])}),_0x43cd92[_0x3bc64f([0x6f,0x6e])](_0x3bc64f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x15d299=>{_0xdd90ae(_0x15d299[_0x3bc64f([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5dae4d=!0x0,_0x489570(_0x15d299[_0x3bc64f([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3bc64f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3bc64f([0x6c,0x6f,0x77])}),_0x3c4db3[_0x3bc64f([0x74,0x68,0x65,0x6e])](()=>{_0x5dae4d||_0x10a223(_0x3bc64f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5b91d4(){return _0x43cd92[_0x3bc64f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3bc64f([0x76,0x69,0x65,0x77])][_0x3bc64f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3bc64f([0x61,0x75,0x74,0x6f]);}function _0x5461e5(){_0x43cd92[_0x3bc64f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3bc64f([0x76,0x69,0x65,0x77])][_0x3bc64f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3bc64f([0x61,0x75,0x74,0x6f]);}}function _0x2e79bb(_0x25d884){const _0x45fa99=[new window[(_0x3bc64f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2df31f=>setTimeout(_0x2df31f,0x1cbb5a6f^_0x331858)),_0x3c4db3[_0x3bc64f([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3bc64f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3676bc=>{let _0x51af11=0x0;_0x43cd92[_0x3bc64f([0x6d,0x6f,0x64,0x65,0x6c])][_0x3bc64f([0x6f,0x6e])](_0x3bc64f([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5e99fc,_0x175933)=>{_0x175933[0x0][_0x3bc64f([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x51af11++,_0x51af11==(0x1cb2614b^_0x331858)&&(_0x3676bc(),_0x5e99fc[_0x3bc64f([0x6f,0x66,0x66])]());});}))];return window[_0x3bc64f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3bc64f([0x72,0x61,0x63,0x65])](_0x45fa99)[_0x3bc64f([0x74,0x68,0x65,0x6e])](()=>_0x25d884);}async function _0x15f638(){await _0x3c4db3,_0x43cd92[_0x3bc64f([0x6d,0x6f,0x64,0x65,0x6c])][_0x3bc64f([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2ae781,_0x43cd92[_0x3bc64f([0x6d,0x6f,0x64,0x65,0x6c])][_0x3bc64f([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2ae781,_0x43cd92[_0x3bc64f([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3bc64f([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x44928d(){return window[_0x3bc64f([0x67,0x6c,0x6f,0x62])]&&window[_0x3bc64f([0x67,0x6c,0x6f,0x62])][_0x3bc64f([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x5ea40b(_0x3bc64){const _0x59de63=_0x890c80();_0x43cd92[_0x59de63]=_0x3bc64f([0x64,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3bc64,_0x3bc64!=_0x3bc64f([0x56,0x61,0x6c,0x69,0x64])&&_0x15f638();}function _0x890c80(){const _0x5d59c7=window[_0x3bc64f([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3bc64f([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3bc64f([0x6e,0x6f,0x77])]())[_0x3bc64f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3bc64f([0x2e]),'');let _0x3e6787=_0x3bc64f([0x61]);for(let _0x37f1a6=0x0;_0x37f1a6<_0x5d59c7[_0x3bc64f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x37f1a6+=0x2){let _0x4064ae=window[_0x3bc64f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5d59c7[_0x3bc64f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x37f1a6,_0x37f1a6+0x2));_0x4064ae>=_0x51f24e[_0x3bc64f([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4064ae-=_0x51f24e[_0x3bc64f([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3e6787+=_0x51f24e[_0x4064ae];}return _0x3e6787;}function _0x2b66f7(){const _0x4d0f99=_0x5a5881[_0x3bc64f([0x73,0x70,0x6c,0x69,0x74])](_0x3bc64f([0x2e]));if(0x3!=_0x4d0f99[_0x3bc64f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x117433(_0x4d0f99[0x1]);function _0x117433(_0x496dc6){const _0x3de856=_0x3a91b8(_0x496dc6);return _0x3de856&&_0x4b61a1()?_0x3de856:null;function _0x4b61a1(){const _0x384975=_0x3de856[_0x3bc64f([0x6a,0x74,0x69])],_0x236419=window[_0x3bc64f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x384975[_0x3bc64f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x384975[_0x3bc64f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1e3e32={..._0x3de856,[_0x3bc64f([0x6a,0x74,0x69])]:_0x384975[_0x3bc64f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x384975[_0x3bc64f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1e3e32[_0x3bc64f([0x76,0x63])],_0x29f286(_0x1e3e32)==_0x236419;}}}async function _0xd143b2(){let _0x146c67=!0x0;try{const _0x4f31c0=_0x5a5881[_0x3bc64f([0x73,0x70,0x6c,0x69,0x74])](_0x3bc64f([0x2e])),[_0x166350,_0x566fdd,_0x58fc3b]=_0x4f31c0;return _0x3e1987(_0x166350),await _0x247b47(_0x166350,_0x566fdd,_0x58fc3b),_0x146c67;}catch{return!0x1;}function _0x3e1987(_0x2e451d){const _0x533b1c=_0x3a91b8(_0x2e451d);_0x533b1c&&_0x533b1c[_0x3bc64f([0x61,0x6c,0x67])]==_0x3bc64f([0x45,0x53,0x32,0x35,0x36])||(_0x146c67=!0x1);}async function _0x247b47(_0x94f4dd,_0x2d29d6,_0x91d2da){const _0xf2a964=window[_0x3bc64f([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3bc64f([0x66,0x72,0x6f,0x6d])](_0xc59341(_0x91d2da),_0x29b502=>_0x29b502[_0x3bc64f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x44c34a=new window[(_0x3bc64f([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3bc64f([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x94f4dd+_0x3bc64f([0x2e])+_0x2d29d6),_0x402611=window[_0x3bc64f([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3bc64f([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x402611)return;const _0x438450=await _0x402611[_0x3bc64f([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3bc64f([0x6a,0x77,0x6b]),_0x3a3ef1,{[_0x3bc64f([0x6e,0x61,0x6d,0x65])]:_0x3bc64f([0x45,0x43,0x44,0x53,0x41]),[_0x3bc64f([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3bc64f([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3bc64f([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x402611[_0x3bc64f([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3bc64f([0x6e,0x61,0x6d,0x65])]:_0x3bc64f([0x45,0x43,0x44,0x53,0x41]),[_0x3bc64f([0x68,0x61,0x73,0x68])]:{[_0x3bc64f([0x6e,0x61,0x6d,0x65])]:_0x3bc64f([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x438450,_0xf2a964,_0x44c34a)||(_0x146c67=!0x1);}}function _0x3a91b8(_0xa599a4){return _0xa599a4[_0x3bc64f([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3bc64f([0x65,0x79]))?JSON[_0x3bc64f([0x70,0x61,0x72,0x73,0x65])](_0xc59341(_0xa599a4)):null;}function _0xc59341(_0x212e39){return window[_0x3bc64f([0x61,0x74,0x6f,0x62])](_0x212e39[_0x3bc64f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3bc64f([0x2b]))[_0x3bc64f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3bc64f([0x2f])));}function _0x29f286(_0xf0aef4){let _0x36a5d1=0x1505;function _0x52d18d(_0x26e6c0){for(let _0x40e066=0x0;_0x40e066<_0x26e6c0[_0x3bc64f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x40e066++){const _0x4bed00=_0x26e6c0[_0x3bc64f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x40e066);_0x36a5d1=(_0x36a5d1<<0x5)+_0x36a5d1+_0x4bed00,_0x36a5d1&=_0x36a5d1;}}function _0x3eb0e9(_0x465661){Array[_0x3bc64f([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x465661)?_0x465661[_0x3bc64f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3eb0e9):_0x465661&&typeof _0x465661==_0x3bc64f([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3bc64f([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x465661)[_0x3bc64f([0x73,0x6f,0x72,0x74])]()[_0x3bc64f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5eee43,_0x2a512f])=>{_0x52d18d(_0x5eee43),_0x3eb0e9(_0x2a512f);}):_0x52d18d(window[_0x3bc64f([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x465661));}return _0x3eb0e9(_0xf0aef4),_0x36a5d1>>>0x0;}function _0x15f097(_0x28bf88){return _0x28bf88[_0x3bc64f([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3bc64f([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3bc64f([0x30]));}function _0x3cf336(_0x8fd2f5){return _0x8fd2f5[_0x3bc64f([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3bc64f([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3bc64f([0x6a,0x6f,0x69,0x6e])]('');}function _0x2ae781(){}function _0x3bc64f(_0x8604b6){return _0x8604b6['map'](_0x25bfdb=>String['fromCharCode'](_0x25bfdb))['join']('');}_0x5ea40b(await _0x2e8f93());}(this);}['destroy'](){super['destroy'](),this['view']['destroy'](),this['_updateActiveDefinitionFromViewportThrottled']['cancel']();}['_handleOutlineChange'](_0x1036d6,{outlineDefinitions:_0x4e32e1,outlineChanges:_0x13752b}){this['_currentOutlineDefinitions']=_0x4e32e1,this['view']['sync'](_0x13752b);}['_setActiveViewItem'](_0x1faaf8){this['_currentOutlineDefinitions']['length']&&this['_currentOutlineDefinitions'][_0x1faaf8]&&(this['view']['activeItemIndex']=_0x1faaf8);}['_handleItemSelected'](_0x54b9a3){const _0x28d700=this['_currentOutlineDefinitions'][_0x54b9a3]['modelElement'];this['editor']['model']['change'](_0x44201d=>{_0x44201d['setSelection'](_0x28d700,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0}),this['editor']['editing']['view']['focus'](),this['_setActiveViewItem'](_0x54b9a3);}['_updateActiveDefinitionOnViewportChange'](){const _0xa83129=this['editor'];let _0x375804;for(const _0x110d5f of _0xa83129['model']['document']['getRootNames']()){const _0x4ff835=_0xa83129['editing']['view']['getDomRoot'](_0x110d5f),_0x21c7ef=_0x4ff835&&new _0x20463c(_0x4ff835)['getVisible']();if(_0x21c7ef){const _0x3560da=new _0x20463c(_0x188290['window'])['getIntersection'](_0x21c7ef);_0x3560da&&(_0x375804=_0x3560da['top']+0.25*_0x3560da['height']);}}if(void 0x0===_0x375804)return;const _0x54f3f4=v(_0xa83129['editing'],this['_currentOutlineDefinitions'],_0x375804);_0x54f3f4?this['_setActiveViewItem'](this['_currentOutlineDefinitions']['indexOf'](_0x54f3f4)):this['_setActiveViewItem'](-0x1);}}function v(_0x142ff9,_0x402a03,_0x5107c3,_0x1ae8b3=0x0,_0x45f53e=_0x402a03['length']-0x1){const _0x22c3cf=Math['floor'](_0x1ae8b3+(_0x45f53e-_0x1ae8b3)/0x2);if(_0x45f53e>=_0x1ae8b3){const _0x3eea83=_0x402a03[_0x22c3cf],_0x40aad1=_0x142ff9['mapper']['toViewElement'](_0x3eea83['modelElement']);if(!_0x40aad1)return null;const _0x7ab321=_0x142ff9['view']['domConverter']['mapViewToDom'](_0x40aad1);return new _0x20463c(_0x7ab321)['bottom']>_0x5107c3?v(_0x142ff9,_0x402a03,_0x5107c3,_0x1ae8b3,_0x22c3cf-0x1):v(_0x142ff9,_0x402a03,_0x5107c3,_0x22c3cf+0x1,_0x45f53e);}return _0x22c3cf<0x0?null:_0x402a03[_0x22c3cf];}class DocumentOutline extends _0x48e848{['licenseKey'];['_licenseKeyCheckInterval'];static get['requires'](){return[DocumentOutlineUtils,DocumentOutlineUI];}static get['pluginName'](){return'DocumentOutline';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x5bb721=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4438a8;for(const _0x426acf in _0x5bb721){const _0x6f0ef6=_0x426acf,_0x362a58=_0x5bb721[_0x6f0ef6];if('documentOutlineLicenseKeyValid'==_0x362a58||'documentOutlineLicenseKeyInvalid'==_0x362a58||'documentOutlineLicenseKeyExpired'==_0x362a58||'documentOutlineLicenseKeyDomainLimit'==_0x362a58||'documentOutlineLicenseKeyNotAllowed'==_0x362a58||'documentOutlineLicenseKeyEvaluationLimit'==_0x362a58||'documentOutlineLicenseKeyUsageLimit'==_0x362a58){delete _0x5bb721[_0x6f0ef6],_0x4438a8=_0x362a58,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'documentOutlineLicenseKeyInvalid'==_0x4438a8&&_0x5bb721['_showLicenseError']('invalid'),'documentOutlineLicenseKeyExpired'==_0x4438a8&&_0x5bb721['_showLicenseError']('expired'),'documentOutlineLicenseKeyDomainLimit'==_0x4438a8&&_0x5bb721['_showLicenseError']('domainLimit'),'documentOutlineLicenseKeyNotAllowed'==_0x4438a8&&_0x5bb721['_showLicenseError']('featureNotAllowed','DocumentOutline'),'documentOutlineLicenseKeyEvaluationLimit'==_0x4438a8&&_0x5bb721['_showLicenseError']('evaluationLimit'),'documentOutlineLicenseKeyUsageLimit'==_0x4438a8&&_0x5bb721['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class TableOfContentsCommand extends _0x15b5ec{['execute'](){this['editor']['model']['change'](_0x2fdc4f=>{this['editor']['model']['insertObject'](_0x2fdc4f['createElement']('tableOfContents'));});}['refresh'](){const _0x5b6307=this['editor']['model'],_0x5227e0=_0x5b6307['document']['selection']['getFirstPosition']();this['isEnabled']=null!==(_0x5227e0&&_0x5b6307['schema']['findAllowedParent'](_0x5227e0,'tableOfContents'));}}class HeadingId extends _0x48e848{static get['pluginName'](){return'HeadingId';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x11750d=this['editor'];if(_0x11750d['config']['get']('headingId.modelAttributeName'))return;(function(_0x5b5bb6){const _0x1dda86=new Map();if(_0x5b5bb6)return _0x5b5bb6['forEach'](_0x23f93b=>{'paragraph'!==_0x23f93b['model']&&_0x1dda86['set'](_0x23f93b['view'],_0x23f93b['model']);}),_0x1dda86['get']('h1')||_0x1dda86['set']('h1','heading1'),_0x1dda86;return _0x1dda86;}(this['editor']['config']['get']('heading.options'))['forEach']((_0x415214,_0x70c903)=>{this['_customUpcastHeadingsConversion'](_0x70c903),this['_customDataDowncastHeadingsConversion'](_0x415214),_0x11750d['model']['schema']['isRegistered'](_0x415214)&&_0x11750d['model']['schema']['extend'](_0x415214,{'allowAttributes':'headingId'});}),this['_registerHeadingIdAttributePostfixer']());}['_customUpcastHeadingsConversion'](_0x4aa670){this['editor']['conversion']['for']('upcast')['add'](_0x506546=>_0x506546['on']('element:'+_0x4aa670,(_0x2ec909,_0x23ac2a,_0x3e4802)=>{const {consumable:_0xf2a612,writer:_0x4c017f}=_0x3e4802,_0x13675a=_0x23ac2a['viewItem']['getAttribute']('id'),_0x38925b=_0x23ac2a['modelRange']['getContainedElement']();if(_0x38925b)return _0x13675a&&_0x13675a['length']||_0x38925b['hasAttribute']('headingId')?void(_0xf2a612['consume'](_0x23ac2a['viewItem'],{'attributes':['id']})&&_0x4c017f['setAttribute']('headingId',_0x13675a,_0x38925b)):(_0xf2a612['consume'](_0x23ac2a['viewItem'],{'attributes':['id']}),void _0x4c017f['setAttribute']('headingId',_0x4084c1(),_0x38925b));},{'priority':_0x19af3e['get']('low')+0.5}));}['_customDataDowncastHeadingsConversion'](_0x1516d9){this['editor']['conversion']['for']('downcast')['add'](_0x2900af=>_0x2900af['on']('attribute:headingId:'+_0x1516d9,(_0x4ac441,_0x445d92,_0x37e346)=>{if(!_0x37e346['consumable']['consume'](_0x445d92['item'],_0x4ac441['name']))return;const _0x7386db=_0x445d92['item']['getAttribute']('headingId'),_0x2e09fb=_0x37e346['mapper']['toViewElement'](_0x445d92['item']);_0x37e346['writer']['setAttribute']('id',_0x7386db,_0x2e09fb);}));}['_registerHeadingIdAttributePostfixer'](){const _0x1c6859=this['editor'],_0x10fdd7=new Set(),_0x10297c=new Set();function _0x1dbc33(_0x14cea6,_0x5d02c3){const _0x4c4ba1=_0x4084c1();return _0x10297c['add'](_0x4c4ba1),_0x14cea6['setAttribute']('headingId',_0x4c4ba1,_0x5d02c3),_0x4c4ba1;}function _0x10aa16(_0x9f7def,_0x2f558f){_0x9f7def['removeAttribute']('headingId',_0x2f558f);}_0x1c6859['model']['document']['registerPostFixer'](_0x58838f=>{const _0x5886c1=_0x1c6859['model']['document']['differ']['getChanges']();let _0x4fa4d7=!0x1;for(const _0x1eaf32 of _0x5886c1)if('insert'==_0x1eaf32['type']&&_0x1eaf32['name']){if(_(_0x1eaf32['name'])){const _0x340f61=_0x1eaf32['attributes']['get']('headingId');'string'==typeof _0x340f61?_0x10fdd7['has'](_0x340f61)?(_0x1dbc33(_0x58838f,_0x1eaf32['position']['nodeAfter']),_0x4fa4d7=!0x0):_0x10297c['add'](_0x340f61):(_0x1dbc33(_0x58838f,_0x1eaf32['position']['nodeAfter']),_0x4fa4d7=!0x0);}else'string'==typeof _0x1eaf32['attributes']['get']('headingId')&&(_0x10aa16(_0x58838f,_0x1eaf32['position']['nodeAfter']),_0x4fa4d7=!0x0);}else{if('remove'==_0x1eaf32['type']){const _0x1fc266=_0x1eaf32['attributes']['get']('headingId');'string'==typeof _0x1fc266&&_0x10fdd7['delete'](_0x1fc266);}}return _0x4fa4d7;}),_0x1c6859['model']['document']['on']('change',()=>{_0x10297c['forEach'](_0x2cc8a8=>_0x10fdd7['add'](_0x2cc8a8)),_0x10297c['clear']();});}}function _(_0x26331e){return!!_0x26331e['match'](/heading\d/);}class TableOfContentsEditing extends _0x48e848{static get['pluginName'](){return'TableOfContentsEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0xce1c31,DocumentOutlineUtils,HeadingId];}['_currentOutlineDefinitions'];['_tableOfContentsElements'];['_headingIdModelAttributeName'];constructor(_0x2b565b){super(_0x2b565b),this['_currentOutlineDefinitions']=[],this['_tableOfContentsElements']=new Set(),this['_headingIdModelAttributeName']='headingId';}['init'](){const _0x1d5280=this['editor'],_0x2aa972=_0x1d5280['editing']['view']['document'];_0x1d5280['config']['get']('headingId.modelAttributeName')&&(this['_headingIdModelAttributeName']=_0x1d5280['config']['get']('headingId.modelAttributeName')),this['listenTo'](_0x2aa972,'click',(_0x45ac7c,_0x37df03)=>{if(!_0x37df03['target'])return;const _0x486aa7=_0x37df03['target']['getCustomProperty']('tableOfContentsHeadingIndex');Number['isInteger'](_0x486aa7)&&(_0x37df03['domEvent']['preventDefault'](),_0x45ac7c['stop'](),this['_handleScrollToHeading'](_0x486aa7));},{'priority':'high','context':'$capture'}),this['_defineSchema'](),this['_defineConverters'](),_0x1d5280['commands']['add']('insertTableOfContents',new TableOfContentsCommand(_0x1d5280));const _0x9232e6=_0x1d5280['config']['get']('tableOfContents.headings');if(_0x9232e6&&_0x9232e6['length'])this['listenTo'](_0x1d5280['model']['document'],'change:data',()=>{this['_currentOutlineDefinitions']=this['_getOutlineDefinitions'](_0x9232e6),this['_updateTableOfContentsElements']();});else _0x1d5280['plugins']['get']('DocumentOutlineUtils')['on']('change',(_0x2bbb49,_0x4f861a)=>{this['_currentOutlineDefinitions']=_0x4f861a['outlineDefinitions'],this['_updateTableOfContentsElements']();});this['listenTo'](_0x1d5280['model']['document'],'change',()=>{this['_trackNewToCElements']();});}['afterInit'](){!async function(_0x56b96a){const _0x48daeb=_0x2dc26d([0x6d,0x72,0x34,0x7a,0x32,0x79,0x61,0x6b,0x4d,0x33,0x78,0x30,0x70,0x68,0x74,0x44,0x37,0x6a,0x42,0x77,0x31,0x54,0x36,0x71,0x52,0x66,0x65,0x55,0x75,0x5a,0x63,0x4f,0x4c,0x4e,0x4b,0x56,0x67,0x51,0x53,0x50,0x45,0x39,0x69,0x47,0x49,0x48,0x6f,0x58,0x6c,0x4a,0x57,0x38,0x59,0x73,0x43,0x62,0x35,0x41,0x6e,0x64,0x46,0x76]),_0x75520a=0x6b9b05fd,_0x463ad8=0x6b9c8f95^_0x75520a,_0x2ee63f=window[_0x2dc26d([0x44,0x61,0x74,0x65])][_0x2dc26d([0x6e,0x6f,0x77])](),_0x16df44=_0x56b96a[_0x2dc26d([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x129ecf=new window[(_0x2dc26d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xb853c9=>{_0x16df44[_0x2dc26d([0x6f,0x6e,0x63,0x65])](_0x2dc26d([0x72,0x65,0x61,0x64,0x79]),_0xb853c9);}),_0x12ea6c={[_0x2dc26d([0x6b,0x74,0x79])]:_0x2dc26d([0x45,0x43]),[_0x2dc26d([0x75,0x73,0x65])]:_0x2dc26d([0x73,0x69,0x67]),[_0x2dc26d([0x63,0x72,0x76])]:_0x2dc26d([0x50,0x2d,0x32,0x35,0x36]),[_0x2dc26d([0x78])]:_0x2dc26d([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x2dc26d([0x79])]:_0x2dc26d([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x2dc26d([0x61,0x6c,0x67])]:_0x2dc26d([0x45,0x53,0x32,0x35,0x36])},_0x4b3ecc=_0x16df44[_0x2dc26d([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2dc26d([0x67,0x65,0x74])](_0x2dc26d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5dcdca(){let _0x332856,_0x140761=null,_0x55ca37=null;try{if(_0x4b3ecc==_0x2dc26d([0x47,0x50,0x4c]))return _0x2dc26d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x332856=_0x29002e(),!_0x332856)return _0x2dc26d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x332856[_0x2dc26d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x55ca37=_0x5d11ed(_0x332856[_0x2dc26d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x332856[_0x2dc26d([0x6a,0x74,0x69])])),await _0x537cca()?_0x5d3be4()?_0x26b3a1()?_0x2dc26d([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4bbc39()?(_0x332856[_0x2dc26d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2dc26d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x140761=_0x46b43b(_0x2dc26d([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2e7bc8()):_0x2dc26d([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2dc26d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2dc26d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2dc26d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x26b3a1(){const _0x863cbf=[_0x2dc26d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2dc26d([0x74,0x72,0x69,0x61,0x6c])][_0x2dc26d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x332856[_0x2dc26d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2ee63f/0x3e8:0xe10*_0x463ad8;return _0x332856[_0x2dc26d([0x65,0x78,0x70])]<_0x863cbf;}function _0x5d3be4(){const _0xbd2649=_0x332856[_0x2dc26d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0xbd2649&&(!!_0xbd2649[_0x2dc26d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2dc26d([0x2a]))||(!!_0xbd2649[_0x2dc26d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2dc26d([0x54,0x4f,0x43]))||(!!_0xbd2649[_0x2dc26d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2dc26d([0x50,0x50]))||!(!_0xbd2649[_0x2dc26d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2dc26d([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x50fb87()))));}function _0x4bbc39(){const _0x30044f=_0x332856[_0x2dc26d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x30044f||0x0==_0x30044f[_0x2dc26d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x40cc92}=new URL(window[_0x2dc26d([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x30044f[_0x2dc26d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x40cc92))return!0x0;const _0x154b4f=_0x40cc92[_0x2dc26d([0x73,0x70,0x6c,0x69,0x74])](_0x2dc26d([0x2e]));return _0x30044f[_0x2dc26d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5ce398=>_0x5ce398[_0x2dc26d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2dc26d([0x2a])))[_0x2dc26d([0x6d,0x61,0x70])](_0x49e23f=>_0x49e23f[_0x2dc26d([0x73,0x70,0x6c,0x69,0x74])](_0x2dc26d([0x2e])))[_0x2dc26d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x17134f=>_0x17134f[_0x2dc26d([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x154b4f[_0x2dc26d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2dc26d([0x6d,0x61,0x70])](_0xed809d=>Array(_0x154b4f[_0x2dc26d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0xed809d[_0x2dc26d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2dc26d([0x66,0x69,0x6c,0x6c])](_0xed809d[0x0]===_0x2dc26d([0x2a])?_0x2dc26d([0x2a]):'')[_0x2dc26d([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0xed809d))[_0x2dc26d([0x73,0x6f,0x6d,0x65])](_0x459698=>_0x154b4f[_0x2dc26d([0x65,0x76,0x65,0x72,0x79])]((_0x5bce8a,_0x2ed43e)=>_0x459698[_0x2ed43e]===_0x5bce8a||_0x459698[_0x2ed43e]===_0x2dc26d([0x2a])));}function _0x2e7bc8(){return _0x140761&&_0x55ca37?new window[(_0x2dc26d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x43f71a,_0x1de4eb)=>{_0x140761[_0x2dc26d([0x74,0x68,0x65,0x6e])](_0x43f71a,_0x1de4eb),_0x55ca37[_0x2dc26d([0x74,0x68,0x65,0x6e])](_0x64f615=>{_0x64f615!=_0x2dc26d([0x56,0x61,0x6c,0x69,0x64])&&_0x43f71a(_0x64f615);},_0x1de4eb);}):_0x140761||_0x55ca37||_0x2dc26d([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5d11ed(_0x453a0a,_0x12b2e5){return new window[(_0x2dc26d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x40b2b3=>{if(_0x1361d6())return _0x40b2b3(_0x2dc26d([0x56,0x61,0x6c,0x69,0x64]));_0x104505(),_0x16df44[_0x2dc26d([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2dc26d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x142711=!0x1;const _0x199fbf=_0x4084c1();function _0x1149de(_0x3c9692){return!!_0x3c9692&&(typeof _0x3c9692===_0x2dc26d([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3c9692===_0x2dc26d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3c9692[_0x2dc26d([0x74,0x68,0x65,0x6e])]===_0x2dc26d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3c9692[_0x2dc26d([0x63,0x61,0x74,0x63,0x68])]===_0x2dc26d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x207c0d(_0x29f2f5){_0x1dea3e(_0x29f2f5)[_0x2dc26d([0x74,0x68,0x65,0x6e])](_0x3721a1=>{if(!_0x3721a1||_0x3721a1[_0x2dc26d([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2dc26d([0x6f,0x6b]))return _0x2dc26d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x187f02(_0x8b388f(_0x199fbf+_0x12b2e5))!=_0x3721a1[_0x2dc26d([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2dc26d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2dc26d([0x56,0x61,0x6c,0x69,0x64]);})[_0x2dc26d([0x74,0x68,0x65,0x6e])](_0x580878=>(_0x46455a(),_0x580878),()=>{const _0xd0ec85=_0xd5b087();return null==_0xd0ec85?(_0x46455a(),_0x2dc26d([0x56,0x61,0x6c,0x69,0x64])):_0x2dc26d(_0x2ee63f-_0xd0ec85>(0x4f9781fd^_0x75520a)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2dc26d([0x74,0x68,0x65,0x6e])](_0x40b2b3)[_0x2dc26d([0x63,0x61,0x74,0x63,0x68])](()=>{_0x40b2b3(_0x2dc26d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1a25e4=0x6badeb7d^_0x75520a;function _0x46455a(){const _0xb65c74=_0x2dc26d([0x6c,0x6c,0x63,0x74,0x2d])+_0x187f02(_0x8b388f(_0x453a0a)),_0x34f600=_0x1e121d(_0x187f02(window[_0x2dc26d([0x4d,0x61,0x74,0x68])][_0x2dc26d([0x63,0x65,0x69,0x6c])](_0x2ee63f/_0x1a25e4)));window[_0x2dc26d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2dc26d([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xb65c74,_0x34f600);}function _0xd5b087(){const _0x216cac=_0x2dc26d([0x6c,0x6c,0x63,0x74,0x2d])+_0x187f02(_0x8b388f(_0x453a0a)),_0xd4ad9d=window[_0x2dc26d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2dc26d([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x216cac);return _0xd4ad9d?window[_0x2dc26d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1e121d(_0xd4ad9d),0x10)*_0x1a25e4:null;}function _0x1dea3e(_0x5925d9){return new window[(_0x2dc26d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x571572,_0x55dc53)=>{_0x5925d9[_0x2dc26d([0x74,0x68,0x65,0x6e])](_0x571572,_0x55dc53),window[_0x2dc26d([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x55dc53,0x6b9ad13d^_0x75520a);});}}_0x16df44[_0x2dc26d([0x6f,0x6e])](_0x2dc26d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x48fa1f,_0x5b6ad1)=>{if(_0x5b6ad1[0x0]!=_0x453a0a)return _0x40b2b3(_0x2dc26d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5b6ad1[0x1]={..._0x5b6ad1[0x1],[_0x2dc26d([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x199fbf};},{[_0x2dc26d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2dc26d([0x68,0x69,0x67,0x68])}),_0x16df44[_0x2dc26d([0x6f,0x6e])](_0x2dc26d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x39a4d8=>{_0x1149de(_0x39a4d8[_0x2dc26d([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x142711=!0x0,_0x207c0d(_0x39a4d8[_0x2dc26d([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2dc26d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2dc26d([0x6c,0x6f,0x77])}),_0x129ecf[_0x2dc26d([0x74,0x68,0x65,0x6e])](()=>{_0x142711||_0x40b2b3(_0x2dc26d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1361d6(){return _0x16df44[_0x2dc26d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2dc26d([0x76,0x69,0x65,0x77])][_0x2dc26d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2dc26d([0x61,0x75,0x74,0x6f]);}function _0x104505(){_0x16df44[_0x2dc26d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2dc26d([0x76,0x69,0x65,0x77])][_0x2dc26d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2dc26d([0x61,0x75,0x74,0x6f]);}}function _0x46b43b(_0x2fdd04){const _0x347944=[new window[(_0x2dc26d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x172ba9=>setTimeout(_0x172ba9,0x6b923b31^_0x75520a)),_0x129ecf[_0x2dc26d([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2dc26d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2ba99e=>{let _0x2199b1=0x0;_0x16df44[_0x2dc26d([0x6d,0x6f,0x64,0x65,0x6c])][_0x2dc26d([0x6f,0x6e])](_0x2dc26d([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x8f00e6,_0x4f3c1e)=>{_0x4f3c1e[0x0][_0x2dc26d([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2199b1++,_0x2199b1==(0x6b9b0015^_0x75520a)&&(_0x2ba99e(),_0x8f00e6[_0x2dc26d([0x6f,0x66,0x66])]());});}))];return window[_0x2dc26d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2dc26d([0x72,0x61,0x63,0x65])](_0x347944)[_0x2dc26d([0x74,0x68,0x65,0x6e])](()=>_0x2fdd04);}async function _0x5406d3(){await _0x129ecf,_0x16df44[_0x2dc26d([0x6d,0x6f,0x64,0x65,0x6c])][_0x2dc26d([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4be7bf,_0x16df44[_0x2dc26d([0x6d,0x6f,0x64,0x65,0x6c])][_0x2dc26d([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4be7bf,_0x16df44[_0x2dc26d([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2dc26d([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x50fb87(){return window[_0x2dc26d([0x67,0x6c,0x6f,0x62])]&&window[_0x2dc26d([0x67,0x6c,0x6f,0x62])][_0x2dc26d([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0xa0762(_0x4438d7){const _0x43c511=_0x1130d3();_0x16df44[_0x43c511]=_0x2dc26d([0x74,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4438d7,_0x4438d7!=_0x2dc26d([0x56,0x61,0x6c,0x69,0x64])&&_0x5406d3();}function _0x1130d3(){const _0x3d2467=window[_0x2dc26d([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2dc26d([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2dc26d([0x6e,0x6f,0x77])]())[_0x2dc26d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2dc26d([0x2e]),'');let _0x113582=_0x2dc26d([0x6d]);for(let _0x42ba2d=0x0;_0x42ba2d<_0x3d2467[_0x2dc26d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x42ba2d+=0x2){let _0x3949b8=window[_0x2dc26d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3d2467[_0x2dc26d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x42ba2d,_0x42ba2d+0x2));_0x3949b8>=_0x48daeb[_0x2dc26d([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3949b8-=_0x48daeb[_0x2dc26d([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x113582+=_0x48daeb[_0x3949b8];}return _0x113582;}function _0x29002e(){const _0x3ec4be=_0x4b3ecc[_0x2dc26d([0x73,0x70,0x6c,0x69,0x74])](_0x2dc26d([0x2e]));if(0x3!=_0x3ec4be[_0x2dc26d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x56a6fc(_0x3ec4be[0x1]);function _0x56a6fc(_0x57d2c5){const _0x582c01=_0x3826b6(_0x57d2c5);return _0x582c01&&_0xf9b60a()?_0x582c01:null;function _0xf9b60a(){const _0x12a713=_0x582c01[_0x2dc26d([0x6a,0x74,0x69])],_0x202823=window[_0x2dc26d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x12a713[_0x2dc26d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x12a713[_0x2dc26d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x54a0e1={..._0x582c01,[_0x2dc26d([0x6a,0x74,0x69])]:_0x12a713[_0x2dc26d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x12a713[_0x2dc26d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x54a0e1[_0x2dc26d([0x76,0x63])],_0x8b388f(_0x54a0e1)==_0x202823;}}}async function _0x537cca(){let _0x2943ee=!0x0;try{const _0x27ea6f=_0x4b3ecc[_0x2dc26d([0x73,0x70,0x6c,0x69,0x74])](_0x2dc26d([0x2e])),[_0x4c89e0,_0x5b1bcf,_0x1b7a79]=_0x27ea6f;return _0x3d7a7f(_0x4c89e0),await _0x1dd1c8(_0x4c89e0,_0x5b1bcf,_0x1b7a79),_0x2943ee;}catch{return!0x1;}function _0x3d7a7f(_0x50af8f){const _0x22f18c=_0x3826b6(_0x50af8f);_0x22f18c&&_0x22f18c[_0x2dc26d([0x61,0x6c,0x67])]==_0x2dc26d([0x45,0x53,0x32,0x35,0x36])||(_0x2943ee=!0x1);}async function _0x1dd1c8(_0x18f4b0,_0x43baab,_0xd2e1ba){const _0x1af93e=window[_0x2dc26d([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2dc26d([0x66,0x72,0x6f,0x6d])](_0x3b947c(_0xd2e1ba),_0x2e7d69=>_0x2e7d69[_0x2dc26d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xb72409=new window[(_0x2dc26d([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2dc26d([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x18f4b0+_0x2dc26d([0x2e])+_0x43baab),_0x60c523=window[_0x2dc26d([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2dc26d([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x60c523)return;const _0x21cece=await _0x60c523[_0x2dc26d([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2dc26d([0x6a,0x77,0x6b]),_0x12ea6c,{[_0x2dc26d([0x6e,0x61,0x6d,0x65])]:_0x2dc26d([0x45,0x43,0x44,0x53,0x41]),[_0x2dc26d([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2dc26d([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2dc26d([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x60c523[_0x2dc26d([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2dc26d([0x6e,0x61,0x6d,0x65])]:_0x2dc26d([0x45,0x43,0x44,0x53,0x41]),[_0x2dc26d([0x68,0x61,0x73,0x68])]:{[_0x2dc26d([0x6e,0x61,0x6d,0x65])]:_0x2dc26d([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x21cece,_0x1af93e,_0xb72409)||(_0x2943ee=!0x1);}}function _0x3826b6(_0x53d852){return _0x53d852[_0x2dc26d([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2dc26d([0x65,0x79]))?JSON[_0x2dc26d([0x70,0x61,0x72,0x73,0x65])](_0x3b947c(_0x53d852)):null;}function _0x3b947c(_0x3ef66a){return window[_0x2dc26d([0x61,0x74,0x6f,0x62])](_0x3ef66a[_0x2dc26d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2dc26d([0x2b]))[_0x2dc26d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2dc26d([0x2f])));}function _0x8b388f(_0x50174d){let _0x2107a6=0x1505;function _0x37511f(_0x198f35){for(let _0x2b8adc=0x0;_0x2b8adc<_0x198f35[_0x2dc26d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2b8adc++){const _0x22e574=_0x198f35[_0x2dc26d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2b8adc);_0x2107a6=(_0x2107a6<<0x5)+_0x2107a6+_0x22e574,_0x2107a6&=_0x2107a6;}}function _0x54b57a(_0x23e707){Array[_0x2dc26d([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x23e707)?_0x23e707[_0x2dc26d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x54b57a):_0x23e707&&typeof _0x23e707==_0x2dc26d([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2dc26d([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x23e707)[_0x2dc26d([0x73,0x6f,0x72,0x74])]()[_0x2dc26d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x32539d,_0x37309f])=>{_0x37511f(_0x32539d),_0x54b57a(_0x37309f);}):_0x37511f(window[_0x2dc26d([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x23e707));}return _0x54b57a(_0x50174d),_0x2107a6>>>0x0;}function _0x187f02(_0x6c2205){return _0x6c2205[_0x2dc26d([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2dc26d([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2dc26d([0x30]));}function _0x1e121d(_0x47644f){return _0x47644f[_0x2dc26d([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2dc26d([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2dc26d([0x6a,0x6f,0x69,0x6e])]('');}function _0x4be7bf(){}function _0x2dc26d(_0x3df401){return _0x3df401['map'](_0x196492=>String['fromCharCode'](_0x196492))['join']('');}_0xa0762(await _0x5dcdca());}(this);}['_updateTableOfContentsElements'](){this['_tableOfContentsElements']['forEach'](_0x535dd9=>{'$graveyard'!==_0x535dd9['rootName']&&this['editor']['editing']['reconvertItem'](_0x535dd9);});}['_trackNewToCElements'](){for(const _0x2a8dcb of this['editor']['model']['document']['differ']['getChanges']({'includeChangesInGraveyard':!0x0})){if('insert'!==_0x2a8dcb['type']||'tableOfContents'!==_0x2a8dcb['name'])return;this['_tableOfContentsElements']['add'](_0x2a8dcb['position']['nodeAfter']);}}['_getOutlineDefinitions'](_0x29bbeb){const _0x536066=this['editor'],_0x2b05a5=[];for(const _0xd781c0 of _0x536066['model']['document']['getRootNames']())_0x397d5a(_0x536066['model']['document']['getRoot'](_0xd781c0));function _0x397d5a(_0x2dbc81){for(const _0x16c99d of _0x2dbc81['getChildren']())_0x16c99d['is']('element')&&(_0x29bbeb['includes'](_0x16c99d['name'])&&_0x2b05a5['push']({'level':_0x29bbeb['indexOf'](_0x16c99d['name'])+0x1,'text':I(_0x16c99d),'modelElement':_0x16c99d}),_0x397d5a(_0x16c99d));}return _0x2b05a5;}['_defineSchema'](){this['editor']['model']['schema']['register']('tableOfContents',{'inheritAllFrom':'$blockObject'});}['_defineConverters'](){const _0x26c2c7=this['editor']['conversion'];_0x26c2c7['for']('upcast')['elementToElement']({'model':'tableOfContents','view':{'name':'div','classes':'table-of-contents'}}),_0x26c2c7['for']('dataDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x3eff7b,{writer:_0x54270e})=>this['_createTableOfContents'](_0x54270e,!0x0)}),_0x26c2c7['for']('editingDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0xf82f29,{writer:_0x28ae89})=>{this['_tableOfContentsElements']['add'](_0xf82f29);const _0x3adba9=this['_createTableOfContents'](_0x28ae89);return _0x1e7a8c(_0x3adba9,_0x28ae89,{'label':C(this['editor']['locale'],'Table\x20of\x20contents')});}}),this['editor']['data']['registerRawContentMatcher']({'name':'div','classes':'table-of-contents'}),this['editor']['editing']['mapper']['on']('viewToModelPosition',this['_redirectMapper'](),{'priority':'high'});}['_createTableOfContents'](_0x21c277,_0x2b5224=!0x1){const {locale:_0x1444bd}=this['editor'],_0x33801a=_0x21c277['createContainerElement']('div',{'class':'table-of-contents'+(0x0===this['_currentOutlineDefinitions']['length']?'\x20table-of-contents_empty':''),...!_0x2b5224&&{'data-table-of-contents-label':C(_0x1444bd,'Table\x20of\x20contents')}});0x0===this['_currentOutlineDefinitions']['length']&&!0x1===_0x2b5224&&_0x21c277['insert'](_0x21c277['createPositionAt'](_0x33801a,'end'),_0x21c277['createContainerElement']('p',{'class':'table-of-contents__placeholder'},[_0x21c277['createText'](C(_0x1444bd,'No\x20headings\x20were\x20found\x20in\x20the\x20document.'))]));const _0x427fa7=_0x2b5224?'':'['+C(_0x1444bd,'Empty\x20heading')+']';let _0x3ccdb4=_0x33801a;return this['_currentOutlineDefinitions']['forEach']((_0x1dcada,_0x58dd6e,_0x40032c)=>{const _0x34c992=this['editor']['model']['hasContent'](_0x1dcada['modelElement'],{'ignoreWhitespaces':!0x0}),_0x4fca9a=_0x34c992?_0x1dcada['text']:_0x427fa7,_0x3f7f8b=_0x1dcada['modelElement']['getAttribute'](this['_headingIdModelAttributeName']),_0x4fc4f9=_0x21c277['createContainerElement']('a',{'href':'#'+_0x3f7f8b,...!_0x2b5224&&{'tabindex':'-1'}},[_0x21c277['createText'](_0x4fca9a)]),_0x1663d1=this['editor']['config']['get']('documentOutline.showEmptyHeadings');_0x21c277['setCustomProperty']('tableOfContentsHeadingIndex',_0x58dd6e,_0x4fc4f9);const _0x5cecd4=_0x21c277['createContainerElement']('li',null,[_0x34c992||!_0x2b5224&&_0x1663d1?_0x4fc4f9:_0x21c277['createText']('')]),_0x2ebe31=_0x58dd6e?_0x40032c[_0x58dd6e-0x1]['level']:0x0,_0x500de4=Math['abs'](_0x1dcada['level']-_0x2ebe31);if(_0x1dcada['level']>_0x2ebe31){const _0x545d80=x(_0x5cecd4,_0x500de4,_0x21c277);_0x21c277['insert'](_0x21c277['createPositionAt'](_0x3ccdb4,'end'),_0x545d80);}else{const _0x205b1a=function(_0x3110f0,_0x1697ea){return _0x3110f0['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0})['filter'](_0x47d791=>_0x47d791['is']('element','ol'))[_0x1697ea];}(_0x3ccdb4,_0x500de4);_0x21c277['insert'](_0x21c277['createPositionAt'](_0x205b1a,'end'),_0x5cecd4);}_0x3ccdb4=_0x5cecd4;}),_0x33801a;}['_handleScrollToHeading'](_0x447772){const _0x5f4805=this['_currentOutlineDefinitions'][_0x447772]['modelElement'];this['editor']['model']['change'](_0x38d8bc=>{_0x38d8bc['setSelection'](_0x5f4805,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0});}['_redirectMapper'](){return(_0x24a635,_0x19f7f6)=>{const _0x51579e=_0x19f7f6['mapper'],_0x4d961d=_0x51579e['findMappedViewAncestor'](_0x19f7f6['viewPosition']),_0x21840d=_0x51579e['toModelElement'](_0x4d961d);_0x21840d['is']('element','tableOfContents')&&(_0x19f7f6['modelPosition']=this['editor']['model']['createPositionAt'](_0x21840d,0x0),_0x24a635['stop']());};}}function x(_0x392b0e,_0xff0649,_0x3d12e3){return 0x1===_0xff0649?_0x3d12e3['createContainerElement']('ol',null,[_0x392b0e]):_0x3d12e3['createContainerElement']('ol',null,[_0x3d12e3['createContainerElement']('li',null,[x(_0x392b0e,_0xff0649-0x1,_0x3d12e3)])]);}class TableOfContentsUI extends _0x48e848{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'TableOfContentsUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x2a7a5d=this['editor'];_0x2a7a5d['ui']['componentFactory']['add']('tableOfContents',()=>{const _0x570e98=this['_createButton'](_0x180c0d);return _0x570e98['tooltip']=!0x0,_0x570e98;}),_0x2a7a5d['ui']['componentFactory']['add']('menuBar:tableOfContents',()=>this['_createButton'](_0x4f9287)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x4b69d7=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4733cb;for(const _0x50e782 in _0x4b69d7){const _0x202a0f=_0x50e782,_0x316fe8=_0x4b69d7[_0x202a0f];if('tableOfContentsLicenseKeyValid'==_0x316fe8||'tableOfContentsLicenseKeyInvalid'==_0x316fe8||'tableOfContentsLicenseKeyExpired'==_0x316fe8||'tableOfContentsLicenseKeyDomainLimit'==_0x316fe8||'tableOfContentsLicenseKeyNotAllowed'==_0x316fe8||'tableOfContentsLicenseKeyEvaluationLimit'==_0x316fe8||'tableOfContentsLicenseKeyUsageLimit'==_0x316fe8){delete _0x4b69d7[_0x202a0f],_0x4733cb=_0x316fe8,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'tableOfContentsLicenseKeyInvalid'==_0x4733cb&&_0x4b69d7['_showLicenseError']('invalid'),'tableOfContentsLicenseKeyExpired'==_0x4733cb&&_0x4b69d7['_showLicenseError']('expired'),'tableOfContentsLicenseKeyDomainLimit'==_0x4733cb&&_0x4b69d7['_showLicenseError']('domainLimit'),'tableOfContentsLicenseKeyNotAllowed'==_0x4733cb&&_0x4b69d7['_showLicenseError']('featureNotAllowed','TableOfContents'),'tableOfContentsLicenseKeyEvaluationLimit'==_0x4733cb&&_0x4b69d7['_showLicenseError']('evaluationLimit'),'tableOfContentsLicenseKeyUsageLimit'==_0x4733cb&&_0x4b69d7['_showLicenseError']('usageLimit');},0x3e8);}['_createButton'](_0x1b365c){const _0x266a86=this['editor'],_0x10eb45=_0x266a86['locale'],_0x2abde8=_0x266a86['commands']['get']('insertTableOfContents'),_0x3f5f47=new _0x1b365c(_0x10eb45);return _0x3f5f47['set']({'label':C(_0x10eb45,'Table\x20of\x20contents'),'icon':_0x2b3f6e}),_0x3f5f47['bind']('isEnabled')['to'](_0x2abde8,'isEnabled'),this['listenTo'](_0x3f5f47,'execute',()=>{_0x266a86['execute']('insertTableOfContents'),_0x266a86['editing']['view']['focus']();}),_0x3f5f47;}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class TableOfContents extends _0x48e848{static get['requires'](){return[TableOfContentsEditing,TableOfContentsUI];}static get['pluginName'](){return'TableOfContents';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{DocumentOutline,DocumentOutlineUI,DocumentOutlineUtils,HeadingId,TableOfContents,TableOfContentsCommand,TableOfContentsEditing,TableOfContentsUI};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-document-outline",
|
|
3
|
-
"version": "48.8.1-alpha.
|
|
3
|
+
"version": "48.8.1-alpha.3",
|
|
4
4
|
"description": "Document outline feature for CKEditor 5.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -21,13 +21,13 @@
|
|
|
21
21
|
"./package.json": "./package.json"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@ckeditor/ckeditor5-core": "48.8.1-alpha.
|
|
25
|
-
"@ckeditor/ckeditor5-engine": "48.8.1-alpha.
|
|
26
|
-
"@ckeditor/ckeditor5-heading": "48.8.1-alpha.
|
|
27
|
-
"@ckeditor/ckeditor5-icons": "48.8.1-alpha.
|
|
28
|
-
"@ckeditor/ckeditor5-ui": "48.8.1-alpha.
|
|
29
|
-
"@ckeditor/ckeditor5-utils": "48.8.1-alpha.
|
|
30
|
-
"@ckeditor/ckeditor5-widget": "48.8.1-alpha.
|
|
24
|
+
"@ckeditor/ckeditor5-core": "48.8.1-alpha.3",
|
|
25
|
+
"@ckeditor/ckeditor5-engine": "48.8.1-alpha.3",
|
|
26
|
+
"@ckeditor/ckeditor5-heading": "48.8.1-alpha.3",
|
|
27
|
+
"@ckeditor/ckeditor5-icons": "48.8.1-alpha.3",
|
|
28
|
+
"@ckeditor/ckeditor5-ui": "48.8.1-alpha.3",
|
|
29
|
+
"@ckeditor/ckeditor5-utils": "48.8.1-alpha.3",
|
|
30
|
+
"@ckeditor/ckeditor5-widget": "48.8.1-alpha.3",
|
|
31
31
|
"es-toolkit": "1.45.1"
|
|
32
32
|
},
|
|
33
33
|
"files": [
|