@ckeditor/ckeditor5-document-outline 46.1.1-alpha.1 → 46.1.1-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/document-outline.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +9 -9
- package/src/documentoutline/documentoutlineui.js +1 -1
- package/src/documentoutline/documentoutlineutils.js +1 -1
- package/src/documentoutline/ui/documentoutlineitemview.js +1 -1
- package/src/documentoutline/ui/documentoutlineview.js +1 -1
- package/src/tableofcontents/headingid.js +1 -1
- package/src/tableofcontents/tableofcontentscommand.js +1 -1
- package/src/tableofcontents/tableofcontentsediting.js +1 -1
- package/src/tableofcontents/tableofcontentsui.js +1 -1
package/dist/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as _0x510f1e,Command as _0x2af43f}from'@ckeditor/ckeditor5-core/dist/index.js';import{debounce as _0x59a830,throttle as _0x3c1e9a}from'es-toolkit/compat';import{ModelText as _0x34c897,ModelTreeWalker as _0x107ba8}from'@ckeditor/ckeditor5-engine/dist/index.js';import{diff as _0x4f81ad,diffToChanges as _0x1a45cf,scrollAncestorsToShowTarget as _0x244215,CKEditorError as _0x28e6fb,global as _0x5ecead,Rect as _0x312886,uid as _0x591b90,priorities as _0x1638f8}from'@ckeditor/ckeditor5-utils/dist/index.js';import{View as _0x2cdd91,ButtonView as _0x4ee7bc,MenuBarMenuListItemButtonView as _0x5e7fde}from'@ckeditor/ckeditor5-ui/dist/index.js';import{Widget as _0x5290de,toWidget as _0x1bffa6}from'@ckeditor/ckeditor5-widget/dist/index.js';import{IconTableOfContents as _0xfc0090}from'@ckeditor/ckeditor5-icons/dist/index.js';function g(_0x883c72){let _0x138465='';for(const _0x2ec70b of _0x883c72['getChildren']())_0x2ec70b instanceof _0x34c897&&(_0x138465+=_0x2ec70b['data']);return _0x138465;}class i extends _0x510f1e{static get['pluginName'](){return'DocumentOutlineUtils';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['_headingNames']=[];['init'](){const _0x4f8d48=this['editor'];this['_headingNames']=this['_getHeadingNames']();let _0x362e04=[];_0x4f8d48['model']['document']['on']('change',_0x59a830(()=>{const _0x48d304=_0x362e04;_0x362e04=this['_getOutlineDefinitions']();const _0xdf7912=_0x4f81ad(_0x48d304,_0x362e04,(_0x42fc45,_0x3cf6a0)=>_0x42fc45['level']===_0x3cf6a0['level']&&_0x42fc45['text']===_0x3cf6a0['text']&&_0x42fc45['modelElement']===_0x3cf6a0['modelElement']),_0x26d56f=_0x1a45cf(_0xdf7912,_0x362e04),_0xd9805d=this['_getActiveHeading'](),_0x209b75=_0x362e04['findIndex'](_0x58f1f6=>_0x58f1f6['modelElement']===_0xd9805d);_0x26d56f['length']&&this['fire']('change',{'outlineDefinitions':_0x362e04,'activeItemIndex':_0x209b75,'outlineChanges':_0x26d56f}),this['fire']('activeItemIndex',{'index':_0x209b75});},0xfa,{'leading':!0x0,'trailing':!0x0}));}['afterInit'](){this['_headingNames']['length']||this['_deriveHeadingElementsFromConversion']();}['_getOutlineDefinitions'](){const _0x4f3a95=this['editor'],_0x3cab66=[],_0x51c67e=this['_headingNames'];for(const _0x3694a2 of _0x4f3a95['model']['document']['getRootNames']())_0xed912f(_0x4f3a95['model']['document']['getRoot'](_0x3694a2));function _0xed912f(_0x1c72cb){for(const _0x2cbd0c of _0x1c72cb['getChildren']())_0x2cbd0c['is']('element')&&(_0x51c67e['includes'](_0x2cbd0c['name'])&&_0x3cab66['push']({'level':_0x51c67e['indexOf'](_0x2cbd0c['name'])+0x1,'text':g(_0x2cbd0c),'modelElement':_0x2cbd0c}),_0xed912f(_0x2cbd0c));}return _0x3cab66;}['_getActiveHeading'](){const _0x4f2a00=this['editor']['model']['document']['selection']['getFirstPosition'](),_0x1ac859=new _0x107ba8({'direction':'backward','startPosition':_0x4f2a00});for(const _0x5b37eb of _0x1ac859)if(_0x5b37eb['item']['is']('element')&&this['_headingNames']['includes'](_0x5b37eb['item']['name']))return _0x5b37eb['item'];}['_getHeadingNames'](){const _0x4ad9ca=this['editor']['config']['get']('documentOutline.headings');return _0x4ad9ca||function(_0x5730d1){const _0x50a56b=_0x5730d1['config']['get']('heading.options');return _0x50a56b?_0x50a56b['reduce']((_0x16ebf6,_0x158fea)=>('paragraph'!==_0x158fea['model']&&_0x16ebf6['push'](_0x158fea['model']),_0x16ebf6),[]):_0x5730d1['plugins']['has']('GeneralHtmlSupport')?['htmlH1','htmlH2','htmlH3','htmlH4','htmlH5','htmlH6']:[];}(this['editor']);}['_deriveHeadingElementsFromConversion'](){const _0x53e9e0=this['editor'],_0x1d9174=['h1','h2','h3','h4','h5','h6'],_0x191448=[];for(const _0x42b313 of _0x1d9174){const _0x355175=_0x53e9e0['editing']['view']['domConverter']['domToView'](document['createElement'](_0x42b313)),_0x179b0e=_0x53e9e0['data']['toModel'](_0x355175)['getChild'](0x0);_0x179b0e?.['is']('element')&&_0x191448['push'](_0x179b0e['name']);}this['_headingNames']=_0x191448;}}function j(_0x29b03a,_0x3c1325){const t=_0x29b03a['t'];switch(_0x3c1325){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 _0x3c1325;}}class A extends _0x2cdd91{constructor(_0x4f61e1,_0x507f7d=!0x1){super(_0x4f61e1);const _0x565bf6=this['bindTemplate'],_0x25cbd4=_0x507f7d?'['+j(_0x4f61e1,'Empty\x20heading')+']':'';this['set']('text',''),this['set']('level',0x1),this['set']('isActive',!0x1),this['bind']('isEmpty')['to'](this,'text',_0x55fec3=>!_0x55fec3),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline__item',_0x565bf6['to']('level',_0xe54a36=>'ck-document-outline__item_level-'+_0xe54a36),_0x565bf6['if']('isActive','ck-document-outline__item_active'),_0x565bf6['if']('isEmpty','ck-document-outline__item_empty')],'title':_0x565bf6['to']('text')},'children':[{'text':_0x565bf6['to']('text',_0x5dc360=>_0x5dc360||_0x25cbd4)}],'on':{'click':_0x565bf6['to']('click')}});}}class f extends _0x2cdd91{['items'];['documentOutlineContainer'];['showEmptyHeadingText'];constructor(_0xfc7a98,_0x43e808=!0x1,_0x21dcf0){super(_0xfc7a98),this['showEmptyHeadingText']=_0x43e808,this['set']('activeItemIndex',-0x1),this['documentOutlineContainer']=_0x21dcf0,this['items']=this['createCollection'](),this['items']['delegate']('click')['to'](this),this['on']('click',this['_handleItemClick']['bind'](this)),this['on']('change:activeItemIndex',(_0x33c032,_0x3f67c8,_0x69140a,_0x55299c)=>{this['_setActiveItem'](_0x55299c,_0x69140a);}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline'],'dir':_0xfc7a98['contentLanguageDirection'],'data-document-outline-empty-placeholder':j(_0xfc7a98,'Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.'),'tabindex':-0x1},'children':this['items']});}['sync'](_0x5695c8){_0x5695c8['forEach'](_0x15bd79=>{'insert'==_0x15bd79['type']?this['_insertItem'](_0x15bd79['index'],..._0x15bd79['values']):'delete'==_0x15bd79['type']&&this['_deleteItem'](_0x15bd79['index'],_0x15bd79['howMany']);});}['_setActiveItem'](_0x49ba60,_0x4d779e){if(-0x1!==_0x49ba60){const _0x1a546d=this['items']['get'](_0x49ba60);_0x1a546d&&(_0x1a546d['isActive']=!0x1);}-0x1!==_0x4d779e&&(this['items']['get'](_0x4d779e)['isActive']=!0x0,this['_scrollToItem'](_0x4d779e));}['_insertItem'](_0x169a77,..._0x251f77){const _0x335d24=_0x251f77['map']((_0x18adbd,_0x19706d)=>{const _0x5ee3a2=new A(this['locale'],this['showEmptyHeadingText']);return _0x5ee3a2['text']=_0x18adbd['text'],_0x5ee3a2['level']=_0x18adbd['level'],_0x169a77+_0x19706d===this['activeItemIndex']&&(_0x5ee3a2['isActive']=!0x0),_0x5ee3a2;});this['items']['addMany'](_0x335d24,_0x169a77);}['_deleteItem'](_0x56d9ea,_0x215ebb){do{this['items']['remove'](_0x56d9ea);}while(--_0x215ebb);}['_handleItemClick'](_0x6deb79){const _0x4a6409=this['items']['getIndex'](_0x6deb79['source']);this['fire']('itemSelected',_0x4a6409);}['_scrollToItem'](_0x234d39){_0x244215(this['items']['get'](_0x234d39)['element'],0x14,this['documentOutlineContainer']);}['destroy'](){super['destroy'](),this['element']['remove']();}}class n extends _0x510f1e{['view'];['_currentOutlineDefinitions'];['_updateActiveDefinitionFromViewportThrottled'];static get['pluginName'](){return'DocumentOutlineUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x1a5024){super(_0x1a5024),this['view']=new f(_0x1a5024['locale'],this['editor']['config']['get']('documentOutline.showEmptyHeadings'),this['editor']['config']['get']('documentOutline.container')),this['_currentOutlineDefinitions']=[],this['_updateActiveDefinitionFromViewportThrottled']=_0x3c1e9a(this['_updateActiveDefinitionOnViewportChange']['bind'](this),0x64);}['init'](){const _0x2f82a5=this['editor'],_0x348e6f=_0x2f82a5['plugins']['get']('DocumentOutlineUtils');let _0x1905f6=!0x1;if(this['view']['render'](),this['editor']['ui']['focusTracker']['add'](this['view']['element']),!_0x2f82a5['config']['get']('documentOutline.container'))throw new _0x28e6fb('document-outline-container-not-provided',{'editor':_0x2f82a5});_0x2f82a5['config']['get']('documentOutline.container')['appendChild'](this['view']['element']),_0x348e6f['on']('change',this['_handleOutlineChange']['bind'](this)),_0x348e6f['on']('activeItemIndex',(_0x1f9a0a,{index:_0x1cf043})=>this['_setActiveViewItem'](_0x1cf043)),this['view']['on']('itemSelected',(_0x16bf22,_0x11e421)=>{_0x1905f6=!0x0,this['_handleItemSelected'](_0x11e421);}),this['view']['listenTo'](_0x5ecead['document'],'scroll',()=>{_0x1905f6?_0x1905f6=!0x1:this['_updateActiveDefinitionFromViewportThrottled']();},{'useCapture':!0x0}),this['view']['listenTo'](_0x5ecead['window'],'resize',this['_updateActiveDefinitionFromViewportThrottled'],{'useCapture':!0x0});}['afterInit'](){!async function(_0x3e04a7){const _0x666384=_0x5eff31([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]),_0x430a2a=0x1cb264a3,_0xd518c0=0x1cb517e3^_0x430a2a,_0x132ef6=window[_0x5eff31([0x44,0x61,0x74,0x65])][_0x5eff31([0x6e,0x6f,0x77])](),_0x43cb85=_0x3e04a7[_0x5eff31([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x28d74f=new window[(_0x5eff31([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xdc71fa=>{_0x43cb85[_0x5eff31([0x6f,0x6e,0x63,0x65])](_0x5eff31([0x72,0x65,0x61,0x64,0x79]),_0xdc71fa);}),_0x4b8b82={[_0x5eff31([0x6b,0x74,0x79])]:_0x5eff31([0x45,0x43]),[_0x5eff31([0x75,0x73,0x65])]:_0x5eff31([0x73,0x69,0x67]),[_0x5eff31([0x63,0x72,0x76])]:_0x5eff31([0x50,0x2d,0x32,0x35,0x36]),[_0x5eff31([0x78])]:_0x5eff31([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]),[_0x5eff31([0x79])]:_0x5eff31([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]),[_0x5eff31([0x61,0x6c,0x67])]:_0x5eff31([0x45,0x53,0x32,0x35,0x36])},_0x1c9f91=_0x43cb85[_0x5eff31([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5eff31([0x67,0x65,0x74])](_0x5eff31([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1a4360(){let _0x80731c,_0x162f6d=null,_0x41a651=null;try{if(_0x1c9f91==_0x5eff31([0x47,0x50,0x4c]))return _0x5eff31([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x80731c=_0x1a499e(),!_0x80731c)return _0x5eff31([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x80731c[_0x5eff31([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x41a651=_0x40a66f(_0x80731c[_0x5eff31([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x80731c[_0x5eff31([0x6a,0x74,0x69])])),await _0x1d7a26()?_0x1854bf()?_0x3a46c5()?_0x5eff31([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1e29d6()?(_0x80731c[_0x5eff31([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5eff31([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x162f6d=_0x2f8aaf(_0x5eff31([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x80731c[_0x5eff31([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5eff31([0x74,0x72,0x69,0x61,0x6c])&&(_0x162f6d=_0x2f8aaf(_0x5eff31([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x47738a()):_0x5eff31([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5eff31([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5eff31([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5eff31([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3a46c5(){const _0x4ee132=[_0x5eff31([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5eff31([0x74,0x72,0x69,0x61,0x6c])][_0x5eff31([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x80731c[_0x5eff31([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x132ef6/0x3e8:0xe10*_0xd518c0;return _0x80731c[_0x5eff31([0x65,0x78,0x70])]<_0x4ee132;}function _0x1854bf(){const _0x5b995e=_0x80731c[_0x5eff31([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5b995e&&(!!_0x5b995e[_0x5eff31([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5eff31([0x2a]))||(!!_0x5b995e[_0x5eff31([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5eff31([0x44,0x4f]))||(!!_0x5b995e[_0x5eff31([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5eff31([0x50,0x50]))||!(!_0x5b995e[_0x5eff31([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5eff31([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x545fd9()))));}function _0x1e29d6(){const _0x1bd4bd=_0x80731c[_0x5eff31([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1bd4bd||0x0==_0x1bd4bd[_0x5eff31([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1d5271}=new URL(window[_0x5eff31([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x1bd4bd[_0x5eff31([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1d5271))return!0x0;const _0x4ffb0d=_0x1d5271[_0x5eff31([0x73,0x70,0x6c,0x69,0x74])](_0x5eff31([0x2e]));return _0x1bd4bd[_0x5eff31([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2e94a1=>_0x2e94a1[_0x5eff31([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5eff31([0x2a])))[_0x5eff31([0x6d,0x61,0x70])](_0x4b23b9=>_0x4b23b9[_0x5eff31([0x73,0x70,0x6c,0x69,0x74])](_0x5eff31([0x2e])))[_0x5eff31([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x26069e=>_0x26069e[_0x5eff31([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4ffb0d[_0x5eff31([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5eff31([0x6d,0x61,0x70])](_0x152eec=>Array(_0x4ffb0d[_0x5eff31([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x152eec[_0x5eff31([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5eff31([0x66,0x69,0x6c,0x6c])](_0x152eec[0x0]===_0x5eff31([0x2a])?_0x5eff31([0x2a]):'')[_0x5eff31([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x152eec))[_0x5eff31([0x73,0x6f,0x6d,0x65])](_0x370d5d=>_0x4ffb0d[_0x5eff31([0x65,0x76,0x65,0x72,0x79])]((_0x240cdb,_0x2cb143)=>_0x370d5d[_0x2cb143]===_0x240cdb||_0x370d5d[_0x2cb143]===_0x5eff31([0x2a])));}function _0x47738a(){return _0x162f6d&&_0x41a651?new window[(_0x5eff31([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1c10d8,_0x48ca3b)=>{_0x162f6d[_0x5eff31([0x74,0x68,0x65,0x6e])](_0x1c10d8,_0x48ca3b),_0x41a651[_0x5eff31([0x74,0x68,0x65,0x6e])](_0x252364=>{_0x252364!=_0x5eff31([0x56,0x61,0x6c,0x69,0x64])&&_0x1c10d8(_0x252364);},_0x48ca3b);}):_0x162f6d||_0x41a651||_0x5eff31([0x56,0x61,0x6c,0x69,0x64]);}}function _0x40a66f(_0x3ee949,_0x1af14f){return new window[(_0x5eff31([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x11b91e=>{if(_0x2322fb())return _0x11b91e(_0x5eff31([0x56,0x61,0x6c,0x69,0x64]));_0x150e25(),_0x43cb85[_0x5eff31([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5eff31([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x421704=!0x1;const _0x278810=_0x591b90();function _0xfcec04(_0x599825){return!!_0x599825&&(typeof _0x599825===_0x5eff31([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x599825===_0x5eff31([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x599825[_0x5eff31([0x74,0x68,0x65,0x6e])]===_0x5eff31([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x599825[_0x5eff31([0x63,0x61,0x74,0x63,0x68])]===_0x5eff31([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x47d963(_0x43d0f8){_0x3c7ad8(_0x43d0f8)[_0x5eff31([0x74,0x68,0x65,0x6e])](_0x193793=>{if(!_0x193793||_0x193793[_0x5eff31([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5eff31([0x6f,0x6b]))return _0x5eff31([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1bc53d(_0x1c583d(_0x278810+_0x1af14f))!=_0x193793[_0x5eff31([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5eff31([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5eff31([0x56,0x61,0x6c,0x69,0x64]);})[_0x5eff31([0x74,0x68,0x65,0x6e])](_0x443b49=>(_0x44543e(),_0x443b49),()=>{const _0x9129e9=_0x3d4a78();return null==_0x9129e9?(_0x44543e(),_0x5eff31([0x56,0x61,0x6c,0x69,0x64])):_0x5eff31(_0x132ef6-_0x9129e9>(0x38bee0a3^_0x430a2a)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5eff31([0x74,0x68,0x65,0x6e])](_0x11b91e)[_0x5eff31([0x63,0x61,0x74,0x63,0x68])](()=>{_0x11b91e(_0x5eff31([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1a0c1b=0x1c848a23^_0x430a2a;function _0x44543e(){const _0x33af33=_0x5eff31([0x6c,0x6c,0x63,0x74,0x2d])+_0x1bc53d(_0x1c583d(_0x3ee949)),_0x3b8169=_0x74274d(_0x1bc53d(window[_0x5eff31([0x4d,0x61,0x74,0x68])][_0x5eff31([0x63,0x65,0x69,0x6c])](_0x132ef6/_0x1a0c1b)));window[_0x5eff31([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5eff31([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x33af33,_0x3b8169);}function _0x3d4a78(){const _0x1b5913=_0x5eff31([0x6c,0x6c,0x63,0x74,0x2d])+_0x1bc53d(_0x1c583d(_0x3ee949)),_0x2f9751=window[_0x5eff31([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5eff31([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1b5913);return _0x2f9751?window[_0x5eff31([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x74274d(_0x2f9751),0x10)*_0x1a0c1b:null;}function _0x3c7ad8(_0x2a2925){return new window[(_0x5eff31([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x53e845,_0x441d88)=>{_0x2a2925[_0x5eff31([0x74,0x68,0x65,0x6e])](_0x53e845,_0x441d88),window[_0x5eff31([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x441d88,0x1cb3b063^_0x430a2a);});}}_0x43cb85[_0x5eff31([0x6f,0x6e])](_0x5eff31([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x17cced,_0x101a60)=>{if(_0x101a60[0x0]!=_0x3ee949)return _0x11b91e(_0x5eff31([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x101a60[0x1]={..._0x101a60[0x1],[_0x5eff31([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x278810};},{[_0x5eff31([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5eff31([0x68,0x69,0x67,0x68])}),_0x43cb85[_0x5eff31([0x6f,0x6e])](_0x5eff31([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4d8a64=>{_0xfcec04(_0x4d8a64[_0x5eff31([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x421704=!0x0,_0x47d963(_0x4d8a64[_0x5eff31([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5eff31([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5eff31([0x6c,0x6f,0x77])}),_0x28d74f[_0x5eff31([0x74,0x68,0x65,0x6e])](()=>{_0x421704||_0x11b91e(_0x5eff31([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2322fb(){return _0x43cb85[_0x5eff31([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5eff31([0x76,0x69,0x65,0x77])][_0x5eff31([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5eff31([0x61,0x75,0x74,0x6f]);}function _0x150e25(){_0x43cb85[_0x5eff31([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5eff31([0x76,0x69,0x65,0x77])][_0x5eff31([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5eff31([0x61,0x75,0x74,0x6f]);}}function _0x2f8aaf(_0x49c85b){const _0x147624=[new window[(_0x5eff31([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x545c6b=>setTimeout(_0x545c6b,0x1cbb5a6f^_0x430a2a)),_0x28d74f[_0x5eff31([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5eff31([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x174e04=>{let _0x5f74b5=0x0;_0x43cb85[_0x5eff31([0x6d,0x6f,0x64,0x65,0x6c])][_0x5eff31([0x6f,0x6e])](_0x5eff31([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x245841,_0xcdf1ea)=>{_0xcdf1ea[0x0][_0x5eff31([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5f74b5++,_0x5f74b5==(0x1cb2655b^_0x430a2a)&&(_0x174e04(),_0x245841[_0x5eff31([0x6f,0x66,0x66])]());});}))];return window[_0x5eff31([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5eff31([0x72,0x61,0x63,0x65])](_0x147624)[_0x5eff31([0x74,0x68,0x65,0x6e])](()=>_0x49c85b);}async function _0x5360c8(){await _0x28d74f,_0x43cb85[_0x5eff31([0x6d,0x6f,0x64,0x65,0x6c])][_0x5eff31([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x45a769,_0x43cb85[_0x5eff31([0x6d,0x6f,0x64,0x65,0x6c])][_0x5eff31([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x45a769,_0x43cb85[_0x5eff31([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5eff31([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x545fd9(){return window[_0x5eff31([0x67,0x6c,0x6f,0x62])]&&window[_0x5eff31([0x67,0x6c,0x6f,0x62])][_0x5eff31([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x5e315c(_0x1bb600){const _0x2fcdc4=_0x450f85();_0x43cb85[_0x2fcdc4]=_0x5eff31([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])+_0x1bb600,_0x1bb600!=_0x5eff31([0x56,0x61,0x6c,0x69,0x64])&&_0x5360c8();}function _0x450f85(){const _0x31ed3c=window[_0x5eff31([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5eff31([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5eff31([0x6e,0x6f,0x77])]())[_0x5eff31([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5eff31([0x2e]),'');let _0x4eac42=_0x5eff31([0x61]);for(let _0x12acd7=0x0;_0x12acd7<_0x31ed3c[_0x5eff31([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x12acd7+=0x2){let _0x4bc178=window[_0x5eff31([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x31ed3c[_0x5eff31([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x12acd7,_0x12acd7+0x2));_0x4bc178>=_0x666384[_0x5eff31([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4bc178-=_0x666384[_0x5eff31([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4eac42+=_0x666384[_0x4bc178];}return _0x4eac42;}function _0x1a499e(){const _0x10ce21=_0x1c9f91[_0x5eff31([0x73,0x70,0x6c,0x69,0x74])](_0x5eff31([0x2e]));if(0x3!=_0x10ce21[_0x5eff31([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1f6c64(_0x10ce21[0x1]);function _0x1f6c64(_0x5dec2e){const _0x375561=_0x554ed3(_0x5dec2e);return _0x375561&&_0x89fd3e()?_0x375561:null;function _0x89fd3e(){const _0x1b2b6a=_0x375561[_0x5eff31([0x6a,0x74,0x69])],_0x17ae18=window[_0x5eff31([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1b2b6a[_0x5eff31([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1b2b6a[_0x5eff31([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3374cb={..._0x375561,[_0x5eff31([0x6a,0x74,0x69])]:_0x1b2b6a[_0x5eff31([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1b2b6a[_0x5eff31([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3374cb[_0x5eff31([0x76,0x63])],_0x1c583d(_0x3374cb)==_0x17ae18;}}}async function _0x1d7a26(){let _0x174d55=!0x0;try{const _0x33498b=_0x1c9f91[_0x5eff31([0x73,0x70,0x6c,0x69,0x74])](_0x5eff31([0x2e])),[_0x217b9b,_0x1eec19,_0xbef1df]=_0x33498b;return _0x6979ee(_0x217b9b),await _0x180c66(_0x217b9b,_0x1eec19,_0xbef1df),_0x174d55;}catch{return!0x1;}function _0x6979ee(_0x509f35){const _0x33c51f=_0x554ed3(_0x509f35);_0x33c51f&&_0x33c51f[_0x5eff31([0x61,0x6c,0x67])]==_0x5eff31([0x45,0x53,0x32,0x35,0x36])||(_0x174d55=!0x1);}async function _0x180c66(_0x355ae1,_0xd60229,_0x21d5f9){const _0x3d8bcd=window[_0x5eff31([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5eff31([0x66,0x72,0x6f,0x6d])](_0x156468(_0x21d5f9),_0x473529=>_0x473529[_0x5eff31([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4bc6e4=new window[(_0x5eff31([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5eff31([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x355ae1+_0x5eff31([0x2e])+_0xd60229),_0x507956=window[_0x5eff31([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5eff31([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x507956)return;const _0x2674a1=await _0x507956[_0x5eff31([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5eff31([0x6a,0x77,0x6b]),_0x4b8b82,{[_0x5eff31([0x6e,0x61,0x6d,0x65])]:_0x5eff31([0x45,0x43,0x44,0x53,0x41]),[_0x5eff31([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5eff31([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5eff31([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x507956[_0x5eff31([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5eff31([0x6e,0x61,0x6d,0x65])]:_0x5eff31([0x45,0x43,0x44,0x53,0x41]),[_0x5eff31([0x68,0x61,0x73,0x68])]:{[_0x5eff31([0x6e,0x61,0x6d,0x65])]:_0x5eff31([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2674a1,_0x3d8bcd,_0x4bc6e4)||(_0x174d55=!0x1);}}function _0x554ed3(_0x1ab3dd){return _0x1ab3dd[_0x5eff31([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5eff31([0x65,0x79]))?JSON[_0x5eff31([0x70,0x61,0x72,0x73,0x65])](_0x156468(_0x1ab3dd)):null;}function _0x156468(_0x12549f){return window[_0x5eff31([0x61,0x74,0x6f,0x62])](_0x12549f[_0x5eff31([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5eff31([0x2b]))[_0x5eff31([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5eff31([0x2f])));}function _0x1c583d(_0x3b82b1){let _0x279a73=0x1505;function _0x38df5e(_0x52c635){for(let _0x1ac6f2=0x0;_0x1ac6f2<_0x52c635[_0x5eff31([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1ac6f2++){const _0x1fcb60=_0x52c635[_0x5eff31([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1ac6f2);_0x279a73=(_0x279a73<<0x5)+_0x279a73+_0x1fcb60,_0x279a73&=_0x279a73;}}function _0x4008ac(_0xeff3a5){Array[_0x5eff31([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xeff3a5)?_0xeff3a5[_0x5eff31([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4008ac):_0xeff3a5&&typeof _0xeff3a5==_0x5eff31([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5eff31([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xeff3a5)[_0x5eff31([0x73,0x6f,0x72,0x74])]()[_0x5eff31([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x327fa1,_0xb6435f])=>{_0x38df5e(_0x327fa1),_0x4008ac(_0xb6435f);}):_0x38df5e(window[_0x5eff31([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xeff3a5));}return _0x4008ac(_0x3b82b1),_0x279a73>>>0x0;}function _0x1bc53d(_0x26b9a1){return _0x26b9a1[_0x5eff31([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5eff31([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5eff31([0x30]));}function _0x74274d(_0x38154b){return _0x38154b[_0x5eff31([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5eff31([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5eff31([0x6a,0x6f,0x69,0x6e])]('');}function _0x45a769(){}function _0x5eff31(_0x121b67){return _0x121b67['map'](_0x2d53a2=>String['fromCharCode'](_0x2d53a2))['join']('');}_0x5e315c(await _0x1a4360());}(this);}['destroy'](){super['destroy'](),this['view']['destroy'](),this['_updateActiveDefinitionFromViewportThrottled']['cancel']();}['_handleOutlineChange'](_0x47956c,{outlineDefinitions:_0x23eb9e,outlineChanges:_0x12566e}){this['_currentOutlineDefinitions']=_0x23eb9e,this['view']['sync'](_0x12566e);}['_setActiveViewItem'](_0x379df6){this['_currentOutlineDefinitions']['length']&&this['_currentOutlineDefinitions'][_0x379df6]&&(this['view']['activeItemIndex']=_0x379df6);}['_handleItemSelected'](_0x11b5d8){const _0x37ac30=this['_currentOutlineDefinitions'][_0x11b5d8]['modelElement'];this['editor']['model']['change'](_0x1085e5=>{_0x1085e5['setSelection'](_0x37ac30,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0}),this['editor']['editing']['view']['focus'](),this['_setActiveViewItem'](_0x11b5d8);}['_updateActiveDefinitionOnViewportChange'](){const _0x4c4779=this['editor'];let _0x161b41;for(const _0x5da81f of _0x4c4779['model']['document']['getRootNames']()){const _0x4b271a=_0x4c4779['editing']['view']['getDomRoot'](_0x5da81f),_0x1cf1d0=_0x4b271a&&new _0x312886(_0x4b271a)['getVisible']();if(_0x1cf1d0){const _0x3d4092=new _0x312886(_0x5ecead['window'])['getIntersection'](_0x1cf1d0);_0x3d4092&&(_0x161b41=_0x3d4092['top']+0.25*_0x3d4092['height']);}}if(void 0x0===_0x161b41)return;const _0x4453df=h(_0x4c4779['editing'],this['_currentOutlineDefinitions'],_0x161b41);_0x4453df?this['_setActiveViewItem'](this['_currentOutlineDefinitions']['indexOf'](_0x4453df)):this['_setActiveViewItem'](-0x1);}}function h(_0x2b10fa,_0x494e88,_0x51e199,_0x5c71a3=0x0,_0x32abb1=_0x494e88['length']-0x1){const _0x4b4f9e=Math['floor'](_0x5c71a3+(_0x32abb1-_0x5c71a3)/0x2);if(_0x32abb1>=_0x5c71a3){const _0x244ddf=_0x494e88[_0x4b4f9e],_0x4f1e9e=_0x2b10fa['mapper']['toViewElement'](_0x244ddf['modelElement']);if(!_0x4f1e9e)return null;const _0x50e6fe=_0x2b10fa['view']['domConverter']['mapViewToDom'](_0x4f1e9e);return new _0x312886(_0x50e6fe)['bottom']>_0x51e199?h(_0x2b10fa,_0x494e88,_0x51e199,_0x5c71a3,_0x4b4f9e-0x1):h(_0x2b10fa,_0x494e88,_0x51e199,_0x4b4f9e+0x1,_0x32abb1);}return _0x4b4f9e<0x0?null:_0x494e88[_0x4b4f9e];}class P extends _0x510f1e{['licenseKey'];['_licenseKeyCheckInterval'];static get['requires'](){return[i,n];}static get['pluginName'](){return'DocumentOutline';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x1a1b21=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x37098;for(const _0xf38f7d in _0x1a1b21){const _0x518633=_0xf38f7d,_0x53e4fd=_0x1a1b21[_0x518633];if('documentOutlineLicenseKeyValid'==_0x53e4fd||'documentOutlineLicenseKeyInvalid'==_0x53e4fd||'documentOutlineLicenseKeyExpired'==_0x53e4fd||'documentOutlineLicenseKeyDomainLimit'==_0x53e4fd||'documentOutlineLicenseKeyNotAllowed'==_0x53e4fd||'documentOutlineLicenseKeyEvaluationLimit'==_0x53e4fd||'documentOutlineLicenseKeyTrialLimit'==_0x53e4fd||'documentOutlineLicenseKeyUsageLimit'==_0x53e4fd){delete _0x1a1b21[_0x518633],_0x37098=_0x53e4fd,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'documentOutlineLicenseKeyInvalid'==_0x37098&&_0x1a1b21['_showLicenseError']('invalid'),'documentOutlineLicenseKeyExpired'==_0x37098&&_0x1a1b21['_showLicenseError']('expired'),'documentOutlineLicenseKeyDomainLimit'==_0x37098&&_0x1a1b21['_showLicenseError']('domainLimit'),'documentOutlineLicenseKeyNotAllowed'==_0x37098&&_0x1a1b21['_showLicenseError']('featureNotAllowed','DocumentOutline'),'documentOutlineLicenseKeyEvaluationLimit'==_0x37098&&_0x1a1b21['_showLicenseError']('evaluationLimit'),'documentOutlineLicenseKeyTrialLimit'==_0x37098&&_0x1a1b21['_showLicenseError']('trialLimit'),'documentOutlineLicenseKeyUsageLimit'==_0x37098&&_0x1a1b21['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class _ extends _0x2af43f{['execute'](){this['editor']['model']['change'](_0x34cd30=>{this['editor']['model']['insertObject'](_0x34cd30['createElement']('tableOfContents'));});}['refresh'](){const _0x1677ca=this['editor']['model'],_0x36394f=_0x1677ca['document']['selection']['getFirstPosition']();this['isEnabled']=null!==(_0x36394f&&_0x1677ca['schema']['findAllowedParent'](_0x36394f,'tableOfContents'));}}class T extends _0x510f1e{static get['pluginName'](){return'HeadingId';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x286792=this['editor'];if(_0x286792['config']['get']('headingId.modelAttributeName'))return;(function(_0x33c6c2){const _0x34b86c=new Map();if(_0x33c6c2)return _0x33c6c2['forEach'](_0x613403=>{'paragraph'!==_0x613403['model']&&_0x34b86c['set'](_0x613403['view'],_0x613403['model']);}),_0x34b86c['get']('h1')||_0x34b86c['set']('h1','heading1'),_0x34b86c;return _0x34b86c;}(this['editor']['config']['get']('heading.options'))['forEach']((_0x137904,_0x154a3f)=>{this['_customUpcastHeadingsConversion'](_0x154a3f),this['_customDataDowncastHeadingsConversion'](_0x137904),_0x286792['model']['schema']['isRegistered'](_0x137904)&&_0x286792['model']['schema']['extend'](_0x137904,{'allowAttributes':'headingId'});}),this['_registerHeadingIdAttributePostfixer']());}['_customUpcastHeadingsConversion'](_0x551e4e){this['editor']['conversion']['for']('upcast')['add'](_0x48f7dd=>_0x48f7dd['on']('element:'+_0x551e4e,(_0x3f16b8,_0x3970bc,_0x5e8e23)=>{const {consumable:_0x115a29,writer:_0x36923c}=_0x5e8e23,_0xaa7772=_0x3970bc['viewItem']['getAttribute']('id'),_0x3d973c=_0x3970bc['modelRange']['getContainedElement']();if(_0x3d973c)return _0xaa7772&&_0xaa7772['length']||_0x3d973c['hasAttribute']('headingId')?void(_0x115a29['consume'](_0x3970bc['viewItem'],{'attributes':['id']})&&_0x36923c['setAttribute']('headingId',_0xaa7772,_0x3d973c)):(_0x115a29['consume'](_0x3970bc['viewItem'],{'attributes':['id']}),void _0x36923c['setAttribute']('headingId',_0x591b90(),_0x3d973c));},{'priority':_0x1638f8['get']('low')+0.5}));}['_customDataDowncastHeadingsConversion'](_0x4266de){this['editor']['conversion']['for']('downcast')['add'](_0x4da8d2=>_0x4da8d2['on']('attribute:headingId:'+_0x4266de,(_0x23d85d,_0xc0477a,_0x3aabd4)=>{if(!_0x3aabd4['consumable']['consume'](_0xc0477a['item'],_0x23d85d['name']))return;const _0x671720=_0xc0477a['item']['getAttribute']('headingId'),_0x118614=_0x3aabd4['mapper']['toViewElement'](_0xc0477a['item']);_0x3aabd4['writer']['setAttribute']('id',_0x671720,_0x118614);}));}['_registerHeadingIdAttributePostfixer'](){const _0x58996d=this['editor'],_0x246367=new Set(),_0x358b6d=new Set();function _0x335441(_0x47117e,_0x5dfb98){const _0x156814=_0x591b90();return _0x358b6d['add'](_0x156814),_0x47117e['setAttribute']('headingId',_0x156814,_0x5dfb98),_0x156814;}function _0x471a83(_0x4e2eac,_0x1353f6){_0x4e2eac['removeAttribute']('headingId',_0x1353f6);}_0x58996d['model']['document']['registerPostFixer'](_0x208f80=>{const _0x2c7bde=_0x58996d['model']['document']['differ']['getChanges']();let _0x389a9b=!0x1;for(const _0x161352 of _0x2c7bde)if('insert'==_0x161352['type']&&_0x161352['name']){if(b(_0x161352['name'])){const _0x409fda=_0x161352['attributes']['get']('headingId');'string'==typeof _0x409fda?_0x246367['has'](_0x409fda)?(_0x335441(_0x208f80,_0x161352['position']['nodeAfter']),_0x389a9b=!0x0):_0x358b6d['add'](_0x409fda):(_0x335441(_0x208f80,_0x161352['position']['nodeAfter']),_0x389a9b=!0x0);}else'string'==typeof _0x161352['attributes']['get']('headingId')&&(_0x471a83(_0x208f80,_0x161352['position']['nodeAfter']),_0x389a9b=!0x0);}else{if('remove'==_0x161352['type']){const _0x56a8af=_0x161352['attributes']['get']('headingId');'string'==typeof _0x56a8af&&_0x246367['delete'](_0x56a8af);}}return _0x389a9b;}),_0x58996d['model']['document']['on']('change',()=>{_0x358b6d['forEach'](_0x41143c=>_0x246367['add'](_0x41143c)),_0x358b6d['clear']();});}}function b(_0x5ed430){return!!_0x5ed430['match'](/heading\d/);}class s extends _0x510f1e{static get['pluginName'](){return'TableOfContentsEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x5290de,i,T];}['_currentOutlineDefinitions'];['_tableOfContentsElements'];['_headingIdModelAttributeName'];constructor(_0x407cb7){super(_0x407cb7),this['_currentOutlineDefinitions']=[],this['_tableOfContentsElements']=new Set(),this['_headingIdModelAttributeName']='headingId';}['init'](){const _0x3f42e2=this['editor'],_0xebd421=_0x3f42e2['editing']['view']['document'];_0x3f42e2['config']['get']('headingId.modelAttributeName')&&(this['_headingIdModelAttributeName']=_0x3f42e2['config']['get']('headingId.modelAttributeName')),this['listenTo'](_0xebd421,'click',(_0x5f1043,_0x2fe11e)=>{if(!_0x2fe11e['target'])return;const _0x409123=_0x2fe11e['target']['getCustomProperty']('tableOfContentsHeadingIndex');Number['isInteger'](_0x409123)&&(_0x2fe11e['domEvent']['preventDefault'](),_0x5f1043['stop'](),this['_handleScrollToHeading'](_0x409123));},{'priority':'high','context':'$capture'}),this['_defineSchema'](),this['_defineConverters'](),_0x3f42e2['commands']['add']('insertTableOfContents',new _(_0x3f42e2)),(_0x3f42e2['plugins']['get']('DocumentOutlineUtils')['on']('change',(_0xe4b786,_0xade5aa)=>{this['_currentOutlineDefinitions']=_0xade5aa['outlineDefinitions'],this['_updateTableOfContentsElements']();}),this['listenTo'](_0x3f42e2['model']['document'],'change',()=>{this['_trackNewToCElements']();}));}['afterInit'](){!async function(_0x542c69){const _0x587ad9=_0x8116c2([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]),_0x380765=0x6b9b05fd,_0x42f47c=0x6b9c76bd^_0x380765,_0x41b9ff=window[_0x8116c2([0x44,0x61,0x74,0x65])][_0x8116c2([0x6e,0x6f,0x77])](),_0x214c55=_0x542c69[_0x8116c2([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4ef245=new window[(_0x8116c2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1b9307=>{_0x214c55[_0x8116c2([0x6f,0x6e,0x63,0x65])](_0x8116c2([0x72,0x65,0x61,0x64,0x79]),_0x1b9307);}),_0x31ecf2={[_0x8116c2([0x6b,0x74,0x79])]:_0x8116c2([0x45,0x43]),[_0x8116c2([0x75,0x73,0x65])]:_0x8116c2([0x73,0x69,0x67]),[_0x8116c2([0x63,0x72,0x76])]:_0x8116c2([0x50,0x2d,0x32,0x35,0x36]),[_0x8116c2([0x78])]:_0x8116c2([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]),[_0x8116c2([0x79])]:_0x8116c2([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]),[_0x8116c2([0x61,0x6c,0x67])]:_0x8116c2([0x45,0x53,0x32,0x35,0x36])},_0x3b5595=_0x214c55[_0x8116c2([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x8116c2([0x67,0x65,0x74])](_0x8116c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x584383(){let _0x5f5b81,_0x161e23=null,_0x4daf29=null;try{if(_0x3b5595==_0x8116c2([0x47,0x50,0x4c]))return _0x8116c2([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5f5b81=_0x1e94dd(),!_0x5f5b81)return _0x8116c2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5f5b81[_0x8116c2([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4daf29=_0x42af08(_0x5f5b81[_0x8116c2([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5f5b81[_0x8116c2([0x6a,0x74,0x69])])),await _0x566ea4()?_0x5e2e4a()?_0x292b8f()?_0x8116c2([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1fe847()?(_0x5f5b81[_0x8116c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x8116c2([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x161e23=_0x37bf06(_0x8116c2([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x5f5b81[_0x8116c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x8116c2([0x74,0x72,0x69,0x61,0x6c])&&(_0x161e23=_0x37bf06(_0x8116c2([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0xe77abd()):_0x8116c2([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x8116c2([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x8116c2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x8116c2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x292b8f(){const _0x5cc1b2=[_0x8116c2([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x8116c2([0x74,0x72,0x69,0x61,0x6c])][_0x8116c2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5f5b81[_0x8116c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x41b9ff/0x3e8:0xe10*_0x42f47c;return _0x5f5b81[_0x8116c2([0x65,0x78,0x70])]<_0x5cc1b2;}function _0x5e2e4a(){const _0x12ad59=_0x5f5b81[_0x8116c2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x12ad59&&(!!_0x12ad59[_0x8116c2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x8116c2([0x2a]))||(!!_0x12ad59[_0x8116c2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x8116c2([0x54,0x4f,0x43]))||(!!_0x12ad59[_0x8116c2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x8116c2([0x50,0x50]))||!(!_0x12ad59[_0x8116c2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x8116c2([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x5e66ad()))));}function _0x1fe847(){const _0x3a55e6=_0x5f5b81[_0x8116c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3a55e6||0x0==_0x3a55e6[_0x8116c2([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4847c6}=new URL(window[_0x8116c2([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3a55e6[_0x8116c2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4847c6))return!0x0;const _0x48b19f=_0x4847c6[_0x8116c2([0x73,0x70,0x6c,0x69,0x74])](_0x8116c2([0x2e]));return _0x3a55e6[_0x8116c2([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x236cad=>_0x236cad[_0x8116c2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x8116c2([0x2a])))[_0x8116c2([0x6d,0x61,0x70])](_0x227e15=>_0x227e15[_0x8116c2([0x73,0x70,0x6c,0x69,0x74])](_0x8116c2([0x2e])))[_0x8116c2([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x20f3fd=>_0x20f3fd[_0x8116c2([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x48b19f[_0x8116c2([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x8116c2([0x6d,0x61,0x70])](_0xa94324=>Array(_0x48b19f[_0x8116c2([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0xa94324[_0x8116c2([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x8116c2([0x66,0x69,0x6c,0x6c])](_0xa94324[0x0]===_0x8116c2([0x2a])?_0x8116c2([0x2a]):'')[_0x8116c2([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0xa94324))[_0x8116c2([0x73,0x6f,0x6d,0x65])](_0x49529a=>_0x48b19f[_0x8116c2([0x65,0x76,0x65,0x72,0x79])]((_0x45656b,_0x5cbf82)=>_0x49529a[_0x5cbf82]===_0x45656b||_0x49529a[_0x5cbf82]===_0x8116c2([0x2a])));}function _0xe77abd(){return _0x161e23&&_0x4daf29?new window[(_0x8116c2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x206e50,_0x1acb0d)=>{_0x161e23[_0x8116c2([0x74,0x68,0x65,0x6e])](_0x206e50,_0x1acb0d),_0x4daf29[_0x8116c2([0x74,0x68,0x65,0x6e])](_0x49a5a8=>{_0x49a5a8!=_0x8116c2([0x56,0x61,0x6c,0x69,0x64])&&_0x206e50(_0x49a5a8);},_0x1acb0d);}):_0x161e23||_0x4daf29||_0x8116c2([0x56,0x61,0x6c,0x69,0x64]);}}function _0x42af08(_0x148018,_0xeff622){return new window[(_0x8116c2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x81ad19=>{if(_0x54b9d7())return _0x81ad19(_0x8116c2([0x56,0x61,0x6c,0x69,0x64]));_0x50072f(),_0x214c55[_0x8116c2([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x8116c2([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x19bebb=!0x1;const _0x44c1dd=_0x591b90();function _0xb03fdf(_0x31edff){return!!_0x31edff&&(typeof _0x31edff===_0x8116c2([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x31edff===_0x8116c2([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x31edff[_0x8116c2([0x74,0x68,0x65,0x6e])]===_0x8116c2([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x31edff[_0x8116c2([0x63,0x61,0x74,0x63,0x68])]===_0x8116c2([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x298353(_0x285ff3){_0x168d9b(_0x285ff3)[_0x8116c2([0x74,0x68,0x65,0x6e])](_0x206597=>{if(!_0x206597||_0x206597[_0x8116c2([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x8116c2([0x6f,0x6b]))return _0x8116c2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xa541a3(_0x7388c5(_0x44c1dd+_0xeff622))!=_0x206597[_0x8116c2([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x8116c2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x8116c2([0x56,0x61,0x6c,0x69,0x64]);})[_0x8116c2([0x74,0x68,0x65,0x6e])](_0x3bb7a0=>(_0x2b3850(),_0x3bb7a0),()=>{const _0x41caa9=_0x5230d0();return null==_0x41caa9?(_0x2b3850(),_0x8116c2([0x56,0x61,0x6c,0x69,0x64])):_0x8116c2(_0x41b9ff-_0x41caa9>(0x4f9781fd^_0x380765)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x8116c2([0x74,0x68,0x65,0x6e])](_0x81ad19)[_0x8116c2([0x63,0x61,0x74,0x63,0x68])](()=>{_0x81ad19(_0x8116c2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x28678c=0x6badeb7d^_0x380765;function _0x2b3850(){const _0x88e6c=_0x8116c2([0x6c,0x6c,0x63,0x74,0x2d])+_0xa541a3(_0x7388c5(_0x148018)),_0x43c5f9=_0x4b7edb(_0xa541a3(window[_0x8116c2([0x4d,0x61,0x74,0x68])][_0x8116c2([0x63,0x65,0x69,0x6c])](_0x41b9ff/_0x28678c)));window[_0x8116c2([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x8116c2([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x88e6c,_0x43c5f9);}function _0x5230d0(){const _0x44b1c8=_0x8116c2([0x6c,0x6c,0x63,0x74,0x2d])+_0xa541a3(_0x7388c5(_0x148018)),_0x3b3764=window[_0x8116c2([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x8116c2([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x44b1c8);return _0x3b3764?window[_0x8116c2([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4b7edb(_0x3b3764),0x10)*_0x28678c:null;}function _0x168d9b(_0x2cfeb3){return new window[(_0x8116c2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xbce58b,_0x1bef92)=>{_0x2cfeb3[_0x8116c2([0x74,0x68,0x65,0x6e])](_0xbce58b,_0x1bef92),window[_0x8116c2([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1bef92,0x6b9ad13d^_0x380765);});}}_0x214c55[_0x8116c2([0x6f,0x6e])](_0x8116c2([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x557f8b,_0x4c7dcb)=>{if(_0x4c7dcb[0x0]!=_0x148018)return _0x81ad19(_0x8116c2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4c7dcb[0x1]={..._0x4c7dcb[0x1],[_0x8116c2([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x44c1dd};},{[_0x8116c2([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x8116c2([0x68,0x69,0x67,0x68])}),_0x214c55[_0x8116c2([0x6f,0x6e])](_0x8116c2([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x333aff=>{_0xb03fdf(_0x333aff[_0x8116c2([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x19bebb=!0x0,_0x298353(_0x333aff[_0x8116c2([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x8116c2([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x8116c2([0x6c,0x6f,0x77])}),_0x4ef245[_0x8116c2([0x74,0x68,0x65,0x6e])](()=>{_0x19bebb||_0x81ad19(_0x8116c2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x54b9d7(){return _0x214c55[_0x8116c2([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x8116c2([0x76,0x69,0x65,0x77])][_0x8116c2([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x8116c2([0x61,0x75,0x74,0x6f]);}function _0x50072f(){_0x214c55[_0x8116c2([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x8116c2([0x76,0x69,0x65,0x77])][_0x8116c2([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x8116c2([0x61,0x75,0x74,0x6f]);}}function _0x37bf06(_0x5507fc){const _0x111bc5=[new window[(_0x8116c2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2bcd57=>setTimeout(_0x2bcd57,0x6b923b31^_0x380765)),_0x4ef245[_0x8116c2([0x74,0x68,0x65,0x6e])](()=>new window[(_0x8116c2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1a3c50=>{let _0x7639c7=0x0;_0x214c55[_0x8116c2([0x6d,0x6f,0x64,0x65,0x6c])][_0x8116c2([0x6f,0x6e])](_0x8116c2([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x46c212,_0x126839)=>{_0x126839[0x0][_0x8116c2([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x7639c7++,_0x7639c7==(0x6b9b0405^_0x380765)&&(_0x1a3c50(),_0x46c212[_0x8116c2([0x6f,0x66,0x66])]());});}))];return window[_0x8116c2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x8116c2([0x72,0x61,0x63,0x65])](_0x111bc5)[_0x8116c2([0x74,0x68,0x65,0x6e])](()=>_0x5507fc);}async function _0x3a3fcd(){await _0x4ef245,_0x214c55[_0x8116c2([0x6d,0x6f,0x64,0x65,0x6c])][_0x8116c2([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2efeb9,_0x214c55[_0x8116c2([0x6d,0x6f,0x64,0x65,0x6c])][_0x8116c2([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2efeb9,_0x214c55[_0x8116c2([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x8116c2([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5e66ad(){return window[_0x8116c2([0x67,0x6c,0x6f,0x62])]&&window[_0x8116c2([0x67,0x6c,0x6f,0x62])][_0x8116c2([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x3c4d63(_0x5403cc){const _0x5a0bf2=_0x1ea142();_0x214c55[_0x5a0bf2]=_0x8116c2([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])+_0x5403cc,_0x5403cc!=_0x8116c2([0x56,0x61,0x6c,0x69,0x64])&&_0x3a3fcd();}function _0x1ea142(){const _0x395645=window[_0x8116c2([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x8116c2([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x8116c2([0x6e,0x6f,0x77])]())[_0x8116c2([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x8116c2([0x2e]),'');let _0x4930d8=_0x8116c2([0x6d]);for(let _0x1d09d9=0x0;_0x1d09d9<_0x395645[_0x8116c2([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1d09d9+=0x2){let _0x58f0a9=window[_0x8116c2([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x395645[_0x8116c2([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1d09d9,_0x1d09d9+0x2));_0x58f0a9>=_0x587ad9[_0x8116c2([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x58f0a9-=_0x587ad9[_0x8116c2([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4930d8+=_0x587ad9[_0x58f0a9];}return _0x4930d8;}function _0x1e94dd(){const _0xb46ac=_0x3b5595[_0x8116c2([0x73,0x70,0x6c,0x69,0x74])](_0x8116c2([0x2e]));if(0x3!=_0xb46ac[_0x8116c2([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x19db40(_0xb46ac[0x1]);function _0x19db40(_0x5eefea){const _0x4befd5=_0x2be320(_0x5eefea);return _0x4befd5&&_0x415be8()?_0x4befd5:null;function _0x415be8(){const _0x36c7a2=_0x4befd5[_0x8116c2([0x6a,0x74,0x69])],_0x58d98d=window[_0x8116c2([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x36c7a2[_0x8116c2([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x36c7a2[_0x8116c2([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5255be={..._0x4befd5,[_0x8116c2([0x6a,0x74,0x69])]:_0x36c7a2[_0x8116c2([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x36c7a2[_0x8116c2([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5255be[_0x8116c2([0x76,0x63])],_0x7388c5(_0x5255be)==_0x58d98d;}}}async function _0x566ea4(){let _0x31938c=!0x0;try{const _0x1aa857=_0x3b5595[_0x8116c2([0x73,0x70,0x6c,0x69,0x74])](_0x8116c2([0x2e])),[_0x2acd1d,_0x27de99,_0xaefd0a]=_0x1aa857;return _0x1a8b13(_0x2acd1d),await _0x4737eb(_0x2acd1d,_0x27de99,_0xaefd0a),_0x31938c;}catch{return!0x1;}function _0x1a8b13(_0xb73f82){const _0x1bf41b=_0x2be320(_0xb73f82);_0x1bf41b&&_0x1bf41b[_0x8116c2([0x61,0x6c,0x67])]==_0x8116c2([0x45,0x53,0x32,0x35,0x36])||(_0x31938c=!0x1);}async function _0x4737eb(_0x31ca33,_0x36b393,_0x3287fe){const _0x2e7491=window[_0x8116c2([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x8116c2([0x66,0x72,0x6f,0x6d])](_0x83f2cf(_0x3287fe),_0x39af78=>_0x39af78[_0x8116c2([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xac44f6=new window[(_0x8116c2([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x8116c2([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x31ca33+_0x8116c2([0x2e])+_0x36b393),_0x4b4159=window[_0x8116c2([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x8116c2([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4b4159)return;const _0x185ab2=await _0x4b4159[_0x8116c2([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x8116c2([0x6a,0x77,0x6b]),_0x31ecf2,{[_0x8116c2([0x6e,0x61,0x6d,0x65])]:_0x8116c2([0x45,0x43,0x44,0x53,0x41]),[_0x8116c2([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x8116c2([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x8116c2([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4b4159[_0x8116c2([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x8116c2([0x6e,0x61,0x6d,0x65])]:_0x8116c2([0x45,0x43,0x44,0x53,0x41]),[_0x8116c2([0x68,0x61,0x73,0x68])]:{[_0x8116c2([0x6e,0x61,0x6d,0x65])]:_0x8116c2([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x185ab2,_0x2e7491,_0xac44f6)||(_0x31938c=!0x1);}}function _0x2be320(_0x450ff8){return _0x450ff8[_0x8116c2([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x8116c2([0x65,0x79]))?JSON[_0x8116c2([0x70,0x61,0x72,0x73,0x65])](_0x83f2cf(_0x450ff8)):null;}function _0x83f2cf(_0x2133c6){return window[_0x8116c2([0x61,0x74,0x6f,0x62])](_0x2133c6[_0x8116c2([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x8116c2([0x2b]))[_0x8116c2([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x8116c2([0x2f])));}function _0x7388c5(_0xf8e326){let _0x20e844=0x1505;function _0x256a45(_0x3bfc19){for(let _0x415303=0x0;_0x415303<_0x3bfc19[_0x8116c2([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x415303++){const _0x129035=_0x3bfc19[_0x8116c2([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x415303);_0x20e844=(_0x20e844<<0x5)+_0x20e844+_0x129035,_0x20e844&=_0x20e844;}}function _0x3f9c28(_0x517207){Array[_0x8116c2([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x517207)?_0x517207[_0x8116c2([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3f9c28):_0x517207&&typeof _0x517207==_0x8116c2([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x8116c2([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x517207)[_0x8116c2([0x73,0x6f,0x72,0x74])]()[_0x8116c2([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x281fe8,_0x1ff7a5])=>{_0x256a45(_0x281fe8),_0x3f9c28(_0x1ff7a5);}):_0x256a45(window[_0x8116c2([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x517207));}return _0x3f9c28(_0xf8e326),_0x20e844>>>0x0;}function _0xa541a3(_0x5b426d){return _0x5b426d[_0x8116c2([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x8116c2([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x8116c2([0x30]));}function _0x4b7edb(_0x21c4a1){return _0x21c4a1[_0x8116c2([0x73,0x70,0x6c,0x69,0x74])]('')[_0x8116c2([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x8116c2([0x6a,0x6f,0x69,0x6e])]('');}function _0x2efeb9(){}function _0x8116c2(_0xaa4945){return _0xaa4945['map'](_0x33f6c5=>String['fromCharCode'](_0x33f6c5))['join']('');}_0x3c4d63(await _0x584383());}(this);}['_updateTableOfContentsElements'](){this['_tableOfContentsElements']['forEach'](_0x771e93=>{'$graveyard'!==_0x771e93['rootName']&&this['editor']['editing']['reconvertItem'](_0x771e93);});}['_trackNewToCElements'](){for(const _0x325c50 of this['editor']['model']['document']['differ']['getChanges']({'includeChangesInGraveyard':!0x0})){if('insert'!==_0x325c50['type']||'tableOfContents'!==_0x325c50['name'])return;this['_tableOfContentsElements']['add'](_0x325c50['position']['nodeAfter']);}}['_defineSchema'](){this['editor']['model']['schema']['register']('tableOfContents',{'inheritAllFrom':'$blockObject'});}['_defineConverters'](){const _0x5ce851=this['editor']['conversion'];_0x5ce851['for']('upcast')['elementToElement']({'model':'tableOfContents','view':{'name':'div','classes':'table-of-contents'}}),_0x5ce851['for']('dataDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x3f8211,{writer:_0x2dd3aa})=>this['_createTableOfContents'](_0x2dd3aa,!0x0)}),_0x5ce851['for']('editingDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x55ec9c,{writer:_0x4430d3})=>{this['_tableOfContentsElements']['add'](_0x55ec9c);const _0x28c60b=this['_createTableOfContents'](_0x4430d3);return _0x1bffa6(_0x28c60b,_0x4430d3,{'label':j(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'](_0x425f90,_0x1797c1=!0x1){const {locale:_0x3e20a4}=this['editor'],_0x55e0fc=_0x425f90['createContainerElement']('div',{'class':'table-of-contents'+(0x0===this['_currentOutlineDefinitions']['length']?'\x20table-of-contents_empty':''),...!_0x1797c1&&{'data-table-of-contents-label':j(_0x3e20a4,'Table\x20of\x20contents')}});0x0===this['_currentOutlineDefinitions']['length']&&!0x1===_0x1797c1&&_0x425f90['insert'](_0x425f90['createPositionAt'](_0x55e0fc,'end'),_0x425f90['createContainerElement']('p',{'class':'table-of-contents__placeholder'},[_0x425f90['createText'](j(_0x3e20a4,'No\x20headings\x20were\x20found\x20in\x20the\x20document.'))]));const _0x55f570=_0x1797c1?'':'['+j(_0x3e20a4,'Empty\x20heading')+']';let _0x5a05d5=_0x55e0fc;return this['_currentOutlineDefinitions']['forEach']((_0x2455a5,_0xff0114,_0x4390f5)=>{const _0x1abcb1=this['editor']['model']['hasContent'](_0x2455a5['modelElement'],{'ignoreWhitespaces':!0x0}),_0x46164b=_0x1abcb1?_0x2455a5['text']:_0x55f570,_0x4112c3=_0x2455a5['modelElement']['getAttribute'](this['_headingIdModelAttributeName']),_0x1a0edd=_0x425f90['createContainerElement']('a',{'href':'#'+_0x4112c3,...!_0x1797c1&&{'tabindex':'-1'}},[_0x425f90['createText'](_0x46164b)]),_0xcf0b93=this['editor']['config']['get']('documentOutline.showEmptyHeadings');_0x425f90['setCustomProperty']('tableOfContentsHeadingIndex',_0xff0114,_0x1a0edd);const _0x56c82e=_0x425f90['createContainerElement']('li',null,[_0x1abcb1||!_0x1797c1&&_0xcf0b93?_0x1a0edd:_0x425f90['createText']('')]),_0x2fa1ae=_0xff0114?_0x4390f5[_0xff0114-0x1]['level']:0x0,_0x38873f=Math['abs'](_0x2455a5['level']-_0x2fa1ae);if(_0x2455a5['level']>_0x2fa1ae){const _0x1c39e8=N(_0x56c82e,_0x38873f,_0x425f90);_0x425f90['insert'](_0x425f90['createPositionAt'](_0x5a05d5,'end'),_0x1c39e8);}else{const _0x306876=function(_0xc2e224,_0x52aed2){return _0xc2e224['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0})['filter'](_0x22ae05=>_0x22ae05['is']('element','ol'))[_0x52aed2];}(_0x5a05d5,_0x38873f);_0x425f90['insert'](_0x425f90['createPositionAt'](_0x306876,'end'),_0x56c82e);}_0x5a05d5=_0x56c82e;}),_0x55e0fc;}['_handleScrollToHeading'](_0x5b2ebd){const _0x2812fc=this['_currentOutlineDefinitions'][_0x5b2ebd]['modelElement'];this['editor']['model']['change'](_0x13e89f=>{_0x13e89f['setSelection'](_0x2812fc,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0});}['_redirectMapper'](){return(_0x30893b,_0x25a4d2)=>{const _0x2ee6d0=_0x25a4d2['mapper'],_0x2d66a5=_0x2ee6d0['findMappedViewAncestor'](_0x25a4d2['viewPosition']),_0x533c99=_0x2ee6d0['toModelElement'](_0x2d66a5);_0x533c99['is']('element','tableOfContents')&&(_0x25a4d2['modelPosition']=this['editor']['model']['createPositionAt'](_0x533c99,0x0),_0x30893b['stop']());};}}function N(_0x1f47b0,_0x1e52ba,_0x2dc62d){return 0x1===_0x1e52ba?_0x2dc62d['createContainerElement']('ol',null,[_0x1f47b0]):_0x2dc62d['createContainerElement']('ol',null,[_0x2dc62d['createContainerElement']('li',null,[N(_0x1f47b0,_0x1e52ba-0x1,_0x2dc62d)])]);}class o extends _0x510f1e{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'TableOfContentsUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x54d1d7=this['editor'];_0x54d1d7['ui']['componentFactory']['add']('tableOfContents',()=>{const _0x293fa9=this['_createButton'](_0x4ee7bc);return _0x293fa9['tooltip']=!0x0,_0x293fa9;}),_0x54d1d7['ui']['componentFactory']['add']('menuBar:tableOfContents',()=>this['_createButton'](_0x5e7fde)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x152501=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x191df5;for(const _0xa0e327 in _0x152501){const _0x45a376=_0xa0e327,_0x29ca40=_0x152501[_0x45a376];if('tableOfContentsLicenseKeyValid'==_0x29ca40||'tableOfContentsLicenseKeyInvalid'==_0x29ca40||'tableOfContentsLicenseKeyExpired'==_0x29ca40||'tableOfContentsLicenseKeyDomainLimit'==_0x29ca40||'tableOfContentsLicenseKeyNotAllowed'==_0x29ca40||'tableOfContentsLicenseKeyEvaluationLimit'==_0x29ca40||'tableOfContentsLicenseKeyTrialLimit'==_0x29ca40||'tableOfContentsLicenseKeyUsageLimit'==_0x29ca40){delete _0x152501[_0x45a376],_0x191df5=_0x29ca40,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'tableOfContentsLicenseKeyInvalid'==_0x191df5&&_0x152501['_showLicenseError']('invalid'),'tableOfContentsLicenseKeyExpired'==_0x191df5&&_0x152501['_showLicenseError']('expired'),'tableOfContentsLicenseKeyDomainLimit'==_0x191df5&&_0x152501['_showLicenseError']('domainLimit'),'tableOfContentsLicenseKeyNotAllowed'==_0x191df5&&_0x152501['_showLicenseError']('featureNotAllowed','TableOfContents'),'tableOfContentsLicenseKeyEvaluationLimit'==_0x191df5&&_0x152501['_showLicenseError']('evaluationLimit'),'tableOfContentsLicenseKeyTrialLimit'==_0x191df5&&_0x152501['_showLicenseError']('trialLimit'),'tableOfContentsLicenseKeyUsageLimit'==_0x191df5&&_0x152501['_showLicenseError']('usageLimit');},0x3e8);}['_createButton'](_0x4226d3){const _0x176a8d=this['editor'],_0x19a4aa=_0x176a8d['locale'],_0x439de5=_0x176a8d['commands']['get']('insertTableOfContents'),_0x45ce93=new _0x4226d3(_0x19a4aa);return _0x45ce93['set']({'label':j(_0x19a4aa,'Table\x20of\x20contents'),'icon':_0xfc0090}),_0x45ce93['bind']('isEnabled')['to'](_0x439de5,'isEnabled'),this['listenTo'](_0x45ce93,'execute',()=>{_0x176a8d['execute']('insertTableOfContents'),_0x176a8d['editing']['view']['focus']();}),_0x45ce93;}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class D extends _0x510f1e{static get['requires'](){return[s,o];}static get['pluginName'](){return'TableOfContents';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{P as DocumentOutline,n as DocumentOutlineUI,i as DocumentOutlineUtils,T as HeadingId,D as TableOfContents,_ as TableOfContentsCommand,s as TableOfContentsEditing,o as TableOfContentsUI};
|
|
23
|
+
import{Plugin as _0x47c3e7,Command as _0x78c861}from'@ckeditor/ckeditor5-core/dist/index.js';import{debounce as _0x31b125,throttle as _0x1c4127}from'es-toolkit/compat';import{ModelText as _0x5ae900,ModelTreeWalker as _0x4cbbd6}from'@ckeditor/ckeditor5-engine/dist/index.js';import{diff as _0x4a92c2,diffToChanges as _0x11dcba,scrollAncestorsToShowTarget as _0x18e468,CKEditorError as _0xbc006c,global as _0x11e76b,Rect as _0x49baeb,uid as _0x2aaad2,priorities as _0x2b563f}from'@ckeditor/ckeditor5-utils/dist/index.js';import{View as _0x22ddca,ButtonView as _0x4f9960,MenuBarMenuListItemButtonView as _0x106904}from'@ckeditor/ckeditor5-ui/dist/index.js';import{Widget as _0x47a535,toWidget as _0x1558f1}from'@ckeditor/ckeditor5-widget/dist/index.js';import{IconTableOfContents as _0x42d280}from'@ckeditor/ckeditor5-icons/dist/index.js';function I(_0x186a35){let _0x326a81='';for(const _0x515b17 of _0x186a35['getChildren']())_0x515b17 instanceof _0x5ae900&&(_0x326a81+=_0x515b17['data']);return _0x326a81;}class i extends _0x47c3e7{static get['pluginName'](){return'DocumentOutlineUtils';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['_headingNames']=[];['init'](){const _0x2250d9=this['editor'];this['_headingNames']=this['_getHeadingNames']();let _0x1818d4=[];_0x2250d9['model']['document']['on']('change',_0x31b125(()=>{const _0x1a9ef5=_0x1818d4;_0x1818d4=this['_getOutlineDefinitions']();const _0x30a692=_0x4a92c2(_0x1a9ef5,_0x1818d4,(_0xee65fb,_0x1e4016)=>_0xee65fb['level']===_0x1e4016['level']&&_0xee65fb['text']===_0x1e4016['text']&&_0xee65fb['modelElement']===_0x1e4016['modelElement']),_0x164e17=_0x11dcba(_0x30a692,_0x1818d4),_0x2e9610=this['_getActiveHeading'](),_0x30e8d3=_0x1818d4['findIndex'](_0x11a178=>_0x11a178['modelElement']===_0x2e9610);_0x164e17['length']&&this['fire']('change',{'outlineDefinitions':_0x1818d4,'activeItemIndex':_0x30e8d3,'outlineChanges':_0x164e17}),this['fire']('activeItemIndex',{'index':_0x30e8d3});},0xfa,{'leading':!0x0,'trailing':!0x0}));}['afterInit'](){this['_headingNames']['length']||this['_deriveHeadingElementsFromConversion']();}['_getOutlineDefinitions'](){const _0x5a5b3c=this['editor'],_0x27a424=[],_0x3e3e94=this['_headingNames'];for(const _0x466355 of _0x5a5b3c['model']['document']['getRootNames']())_0xbbfd36(_0x5a5b3c['model']['document']['getRoot'](_0x466355));function _0xbbfd36(_0x503f35){for(const _0x1be813 of _0x503f35['getChildren']())_0x1be813['is']('element')&&(_0x3e3e94['includes'](_0x1be813['name'])&&_0x27a424['push']({'level':_0x3e3e94['indexOf'](_0x1be813['name'])+0x1,'text':I(_0x1be813),'modelElement':_0x1be813}),_0xbbfd36(_0x1be813));}return _0x27a424;}['_getActiveHeading'](){const _0x5ad8a9=this['editor']['model']['document']['selection']['getFirstPosition'](),_0x3b97e3=new _0x4cbbd6({'direction':'backward','startPosition':_0x5ad8a9});for(const _0x3fafc9 of _0x3b97e3)if(_0x3fafc9['item']['is']('element')&&this['_headingNames']['includes'](_0x3fafc9['item']['name']))return _0x3fafc9['item'];}['_getHeadingNames'](){const _0xa35e16=this['editor']['config']['get']('documentOutline.headings');return _0xa35e16||function(_0x1758d8){const _0x360c6b=_0x1758d8['config']['get']('heading.options');return _0x360c6b?_0x360c6b['reduce']((_0x11ee32,_0x54a6d4)=>('paragraph'!==_0x54a6d4['model']&&_0x11ee32['push'](_0x54a6d4['model']),_0x11ee32),[]):_0x1758d8['plugins']['has']('GeneralHtmlSupport')?['htmlH1','htmlH2','htmlH3','htmlH4','htmlH5','htmlH6']:[];}(this['editor']);}['_deriveHeadingElementsFromConversion'](){const _0x37ba24=this['editor'],_0xe7cc73=['h1','h2','h3','h4','h5','h6'],_0x187f23=[];for(const _0x2165c9 of _0xe7cc73){const _0x3fb426=_0x37ba24['editing']['view']['domConverter']['domToView'](document['createElement'](_0x2165c9)),_0x2cdfd6=_0x37ba24['data']['toModel'](_0x3fb426)['getChild'](0x0);_0x2cdfd6?.['is']('element')&&_0x187f23['push'](_0x2cdfd6['name']);}this['_headingNames']=_0x187f23;}}function m(_0x57fd28,_0x213e44){const t=_0x57fd28['t'];switch(_0x213e44){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 _0x213e44;}}class A extends _0x22ddca{constructor(_0x14cda4,_0xe2a03a=!0x1){super(_0x14cda4);const _0x5e3b7c=this['bindTemplate'],_0x709449=_0xe2a03a?'['+m(_0x14cda4,'Empty\x20heading')+']':'';this['set']('text',''),this['set']('level',0x1),this['set']('isActive',!0x1),this['bind']('isEmpty')['to'](this,'text',_0x39f1d5=>!_0x39f1d5),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline__item',_0x5e3b7c['to']('level',_0x3e2c83=>'ck-document-outline__item_level-'+_0x3e2c83),_0x5e3b7c['if']('isActive','ck-document-outline__item_active'),_0x5e3b7c['if']('isEmpty','ck-document-outline__item_empty')],'title':_0x5e3b7c['to']('text')},'children':[{'text':_0x5e3b7c['to']('text',_0x541720=>_0x541720||_0x709449)}],'on':{'click':_0x5e3b7c['to']('click')}});}}class g extends _0x22ddca{['items'];['documentOutlineContainer'];['showEmptyHeadingText'];constructor(_0x59421e,_0x37317f=!0x1,_0x4470e8){super(_0x59421e),this['showEmptyHeadingText']=_0x37317f,this['set']('activeItemIndex',-0x1),this['documentOutlineContainer']=_0x4470e8,this['items']=this['createCollection'](),this['items']['delegate']('click')['to'](this),this['on']('click',this['_handleItemClick']['bind'](this)),this['on']('change:activeItemIndex',(_0x348e79,_0x33f8f7,_0x41d731,_0x52a694)=>{this['_setActiveItem'](_0x52a694,_0x41d731);}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline'],'dir':_0x59421e['contentLanguageDirection'],'data-document-outline-empty-placeholder':m(_0x59421e,'Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.'),'tabindex':-0x1},'children':this['items']});}['sync'](_0x197eba){_0x197eba['forEach'](_0x4f493c=>{'insert'==_0x4f493c['type']?this['_insertItem'](_0x4f493c['index'],..._0x4f493c['values']):'delete'==_0x4f493c['type']&&this['_deleteItem'](_0x4f493c['index'],_0x4f493c['howMany']);});}['_setActiveItem'](_0x222cf1,_0xdb765f){if(-0x1!==_0x222cf1){const _0xfc56ae=this['items']['get'](_0x222cf1);_0xfc56ae&&(_0xfc56ae['isActive']=!0x1);}-0x1!==_0xdb765f&&(this['items']['get'](_0xdb765f)['isActive']=!0x0,this['_scrollToItem'](_0xdb765f));}['_insertItem'](_0x4c4d5b,..._0x32554b){const _0x29947c=_0x32554b['map']((_0x17824a,_0x4aafd4)=>{const _0x52d3d6=new A(this['locale'],this['showEmptyHeadingText']);return _0x52d3d6['text']=_0x17824a['text'],_0x52d3d6['level']=_0x17824a['level'],_0x4c4d5b+_0x4aafd4===this['activeItemIndex']&&(_0x52d3d6['isActive']=!0x0),_0x52d3d6;});this['items']['addMany'](_0x29947c,_0x4c4d5b);}['_deleteItem'](_0xfa3c5d,_0x30cf5f){do{this['items']['remove'](_0xfa3c5d);}while(--_0x30cf5f);}['_handleItemClick'](_0x23a54d){const _0x35eb28=this['items']['getIndex'](_0x23a54d['source']);this['fire']('itemSelected',_0x35eb28);}['_scrollToItem'](_0x5bc4a4){_0x18e468(this['items']['get'](_0x5bc4a4)['element'],0x14,this['documentOutlineContainer']);}['destroy'](){super['destroy'](),this['element']['remove']();}}class n extends _0x47c3e7{['view'];['_currentOutlineDefinitions'];['_updateActiveDefinitionFromViewportThrottled'];static get['pluginName'](){return'DocumentOutlineUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x326c56){super(_0x326c56),this['view']=new g(_0x326c56['locale'],this['editor']['config']['get']('documentOutline.showEmptyHeadings'),this['editor']['config']['get']('documentOutline.container')),this['_currentOutlineDefinitions']=[],this['_updateActiveDefinitionFromViewportThrottled']=_0x1c4127(this['_updateActiveDefinitionOnViewportChange']['bind'](this),0x64);}['init'](){const _0x28eba2=this['editor'],_0x125536=_0x28eba2['plugins']['get']('DocumentOutlineUtils');let _0x6becfa=!0x1;if(this['view']['render'](),this['editor']['ui']['focusTracker']['add'](this['view']['element']),!_0x28eba2['config']['get']('documentOutline.container'))throw new _0xbc006c('document-outline-container-not-provided',{'editor':_0x28eba2});_0x28eba2['config']['get']('documentOutline.container')['appendChild'](this['view']['element']),_0x125536['on']('change',this['_handleOutlineChange']['bind'](this)),_0x125536['on']('activeItemIndex',(_0x43d96b,{index:_0x4a1360})=>this['_setActiveViewItem'](_0x4a1360)),this['view']['on']('itemSelected',(_0x5d3413,_0x489f32)=>{_0x6becfa=!0x0,this['_handleItemSelected'](_0x489f32);}),this['view']['listenTo'](_0x11e76b['document'],'scroll',()=>{_0x6becfa?_0x6becfa=!0x1:this['_updateActiveDefinitionFromViewportThrottled']();},{'useCapture':!0x0}),this['view']['listenTo'](_0x11e76b['window'],'resize',this['_updateActiveDefinitionFromViewportThrottled'],{'useCapture':!0x0});}['afterInit'](){!async function(_0xd656cc){const _0x4b123c=_0xcafcc5([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]),_0x203ea3=0x1cb264a3,_0x124522=0x1cb517fb^_0x203ea3,_0x1ec7c5=window[_0xcafcc5([0x44,0x61,0x74,0x65])][_0xcafcc5([0x6e,0x6f,0x77])](),_0x377b4b=_0xd656cc[_0xcafcc5([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4b9e6b=new window[(_0xcafcc5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x47e974=>{_0x377b4b[_0xcafcc5([0x6f,0x6e,0x63,0x65])](_0xcafcc5([0x72,0x65,0x61,0x64,0x79]),_0x47e974);}),_0x217fb6={[_0xcafcc5([0x6b,0x74,0x79])]:_0xcafcc5([0x45,0x43]),[_0xcafcc5([0x75,0x73,0x65])]:_0xcafcc5([0x73,0x69,0x67]),[_0xcafcc5([0x63,0x72,0x76])]:_0xcafcc5([0x50,0x2d,0x32,0x35,0x36]),[_0xcafcc5([0x78])]:_0xcafcc5([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]),[_0xcafcc5([0x79])]:_0xcafcc5([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]),[_0xcafcc5([0x61,0x6c,0x67])]:_0xcafcc5([0x45,0x53,0x32,0x35,0x36])},_0x4d2f83=_0x377b4b[_0xcafcc5([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xcafcc5([0x67,0x65,0x74])](_0xcafcc5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x15f9dc(){let _0x20ec91,_0x433704=null,_0x46d0a0=null;try{if(_0x4d2f83==_0xcafcc5([0x47,0x50,0x4c]))return _0xcafcc5([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x20ec91=_0x472fd3(),!_0x20ec91)return _0xcafcc5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x20ec91[_0xcafcc5([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x46d0a0=_0x137d90(_0x20ec91[_0xcafcc5([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x20ec91[_0xcafcc5([0x6a,0x74,0x69])])),await _0x2e1d21()?_0x4d33b5()?_0x30be44()?_0xcafcc5([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x574d0e()?(_0x20ec91[_0xcafcc5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xcafcc5([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x433704=_0x29cefa(_0xcafcc5([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x20ec91[_0xcafcc5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xcafcc5([0x74,0x72,0x69,0x61,0x6c])&&(_0x433704=_0x29cefa(_0xcafcc5([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3541bb()):_0xcafcc5([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xcafcc5([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xcafcc5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0xcafcc5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x30be44(){const _0x273df2=[_0xcafcc5([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xcafcc5([0x74,0x72,0x69,0x61,0x6c])][_0xcafcc5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x20ec91[_0xcafcc5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1ec7c5/0x3e8:0xe10*_0x124522;return _0x20ec91[_0xcafcc5([0x65,0x78,0x70])]<_0x273df2;}function _0x4d33b5(){const _0x56f5cf=_0x20ec91[_0xcafcc5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x56f5cf&&(!!_0x56f5cf[_0xcafcc5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xcafcc5([0x2a]))||(!!_0x56f5cf[_0xcafcc5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xcafcc5([0x44,0x4f]))||(!!_0x56f5cf[_0xcafcc5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xcafcc5([0x50,0x50]))||!(!_0x56f5cf[_0xcafcc5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xcafcc5([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x450051()))));}function _0x574d0e(){const _0x3a2192=_0x20ec91[_0xcafcc5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3a2192||0x0==_0x3a2192[_0xcafcc5([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4abe30}=new URL(window[_0xcafcc5([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3a2192[_0xcafcc5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4abe30))return!0x0;const _0x24bd88=_0x4abe30[_0xcafcc5([0x73,0x70,0x6c,0x69,0x74])](_0xcafcc5([0x2e]));return _0x3a2192[_0xcafcc5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x11243f=>_0x11243f[_0xcafcc5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xcafcc5([0x2a])))[_0xcafcc5([0x6d,0x61,0x70])](_0x343b44=>_0x343b44[_0xcafcc5([0x73,0x70,0x6c,0x69,0x74])](_0xcafcc5([0x2e])))[_0xcafcc5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x8e24f5=>_0x8e24f5[_0xcafcc5([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x24bd88[_0xcafcc5([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xcafcc5([0x6d,0x61,0x70])](_0x96dbbf=>Array(_0x24bd88[_0xcafcc5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x96dbbf[_0xcafcc5([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xcafcc5([0x66,0x69,0x6c,0x6c])](_0x96dbbf[0x0]===_0xcafcc5([0x2a])?_0xcafcc5([0x2a]):'')[_0xcafcc5([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x96dbbf))[_0xcafcc5([0x73,0x6f,0x6d,0x65])](_0x114a90=>_0x24bd88[_0xcafcc5([0x65,0x76,0x65,0x72,0x79])]((_0x559b52,_0x435073)=>_0x114a90[_0x435073]===_0x559b52||_0x114a90[_0x435073]===_0xcafcc5([0x2a])));}function _0x3541bb(){return _0x433704&&_0x46d0a0?new window[(_0xcafcc5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4f866,_0xf30b78)=>{_0x433704[_0xcafcc5([0x74,0x68,0x65,0x6e])](_0x4f866,_0xf30b78),_0x46d0a0[_0xcafcc5([0x74,0x68,0x65,0x6e])](_0x246034=>{_0x246034!=_0xcafcc5([0x56,0x61,0x6c,0x69,0x64])&&_0x4f866(_0x246034);},_0xf30b78);}):_0x433704||_0x46d0a0||_0xcafcc5([0x56,0x61,0x6c,0x69,0x64]);}}function _0x137d90(_0x2f1ae6,_0x487f30){return new window[(_0xcafcc5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x29f4fc=>{if(_0x30e3b8())return _0x29f4fc(_0xcafcc5([0x56,0x61,0x6c,0x69,0x64]));_0x51c29b(),_0x377b4b[_0xcafcc5([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xcafcc5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x18dc79=!0x1;const _0x5851e7=_0x2aaad2();function _0x5d028b(_0x119055){return!!_0x119055&&(typeof _0x119055===_0xcafcc5([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x119055===_0xcafcc5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x119055[_0xcafcc5([0x74,0x68,0x65,0x6e])]===_0xcafcc5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x119055[_0xcafcc5([0x63,0x61,0x74,0x63,0x68])]===_0xcafcc5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x59371d(_0x5e1d0b){_0x243178(_0x5e1d0b)[_0xcafcc5([0x74,0x68,0x65,0x6e])](_0x36982b=>{if(!_0x36982b||_0x36982b[_0xcafcc5([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xcafcc5([0x6f,0x6b]))return _0xcafcc5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x304a1f(_0x4b0807(_0x5851e7+_0x487f30))!=_0x36982b[_0xcafcc5([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xcafcc5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xcafcc5([0x56,0x61,0x6c,0x69,0x64]);})[_0xcafcc5([0x74,0x68,0x65,0x6e])](_0x2981ef=>(_0x2c6f10(),_0x2981ef),()=>{const _0x3301dd=_0x127ff4();return null==_0x3301dd?(_0x2c6f10(),_0xcafcc5([0x56,0x61,0x6c,0x69,0x64])):_0xcafcc5(_0x1ec7c5-_0x3301dd>(0x38bee0a3^_0x203ea3)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xcafcc5([0x74,0x68,0x65,0x6e])](_0x29f4fc)[_0xcafcc5([0x63,0x61,0x74,0x63,0x68])](()=>{_0x29f4fc(_0xcafcc5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xb91d38=0x1c848a23^_0x203ea3;function _0x2c6f10(){const _0x3e3c15=_0xcafcc5([0x6c,0x6c,0x63,0x74,0x2d])+_0x304a1f(_0x4b0807(_0x2f1ae6)),_0x34cec8=_0x16feff(_0x304a1f(window[_0xcafcc5([0x4d,0x61,0x74,0x68])][_0xcafcc5([0x63,0x65,0x69,0x6c])](_0x1ec7c5/_0xb91d38)));window[_0xcafcc5([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xcafcc5([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3e3c15,_0x34cec8);}function _0x127ff4(){const _0x440337=_0xcafcc5([0x6c,0x6c,0x63,0x74,0x2d])+_0x304a1f(_0x4b0807(_0x2f1ae6)),_0x2f7865=window[_0xcafcc5([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xcafcc5([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x440337);return _0x2f7865?window[_0xcafcc5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x16feff(_0x2f7865),0x10)*_0xb91d38:null;}function _0x243178(_0x516fa8){return new window[(_0xcafcc5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x48a818,_0x617d89)=>{_0x516fa8[_0xcafcc5([0x74,0x68,0x65,0x6e])](_0x48a818,_0x617d89),window[_0xcafcc5([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x617d89,0x1cb3b063^_0x203ea3);});}}_0x377b4b[_0xcafcc5([0x6f,0x6e])](_0xcafcc5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x284eb2,_0x40bad3)=>{if(_0x40bad3[0x0]!=_0x2f1ae6)return _0x29f4fc(_0xcafcc5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x40bad3[0x1]={..._0x40bad3[0x1],[_0xcafcc5([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5851e7};},{[_0xcafcc5([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xcafcc5([0x68,0x69,0x67,0x68])}),_0x377b4b[_0xcafcc5([0x6f,0x6e])](_0xcafcc5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x12c9e5=>{_0x5d028b(_0x12c9e5[_0xcafcc5([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x18dc79=!0x0,_0x59371d(_0x12c9e5[_0xcafcc5([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xcafcc5([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xcafcc5([0x6c,0x6f,0x77])}),_0x4b9e6b[_0xcafcc5([0x74,0x68,0x65,0x6e])](()=>{_0x18dc79||_0x29f4fc(_0xcafcc5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x30e3b8(){return _0x377b4b[_0xcafcc5([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xcafcc5([0x76,0x69,0x65,0x77])][_0xcafcc5([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xcafcc5([0x61,0x75,0x74,0x6f]);}function _0x51c29b(){_0x377b4b[_0xcafcc5([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xcafcc5([0x76,0x69,0x65,0x77])][_0xcafcc5([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xcafcc5([0x61,0x75,0x74,0x6f]);}}function _0x29cefa(_0x581986){const _0x2c34d4=[new window[(_0xcafcc5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5649e9=>setTimeout(_0x5649e9,0x1cbb5a6f^_0x203ea3)),_0x4b9e6b[_0xcafcc5([0x74,0x68,0x65,0x6e])](()=>new window[(_0xcafcc5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x593cff=>{let _0x629f48=0x0;_0x377b4b[_0xcafcc5([0x6d,0x6f,0x64,0x65,0x6c])][_0xcafcc5([0x6f,0x6e])](_0xcafcc5([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x13867d,_0x406d7a)=>{_0x406d7a[0x0][_0xcafcc5([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x629f48++,_0x629f48==(0x1cb2655b^_0x203ea3)&&(_0x593cff(),_0x13867d[_0xcafcc5([0x6f,0x66,0x66])]());});}))];return window[_0xcafcc5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xcafcc5([0x72,0x61,0x63,0x65])](_0x2c34d4)[_0xcafcc5([0x74,0x68,0x65,0x6e])](()=>_0x581986);}async function _0x296b51(){await _0x4b9e6b,_0x377b4b[_0xcafcc5([0x6d,0x6f,0x64,0x65,0x6c])][_0xcafcc5([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x71e76a,_0x377b4b[_0xcafcc5([0x6d,0x6f,0x64,0x65,0x6c])][_0xcafcc5([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x71e76a,_0x377b4b[_0xcafcc5([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xcafcc5([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x450051(){return window[_0xcafcc5([0x67,0x6c,0x6f,0x62])]&&window[_0xcafcc5([0x67,0x6c,0x6f,0x62])][_0xcafcc5([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x45ef6b(_0xbb6042){const _0x5d887d=_0x558510();_0x377b4b[_0x5d887d]=_0xcafcc5([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])+_0xbb6042,_0xbb6042!=_0xcafcc5([0x56,0x61,0x6c,0x69,0x64])&&_0x296b51();}function _0x558510(){const _0x228552=window[_0xcafcc5([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xcafcc5([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xcafcc5([0x6e,0x6f,0x77])]())[_0xcafcc5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xcafcc5([0x2e]),'');let _0x118771=_0xcafcc5([0x61]);for(let _0x4cff10=0x0;_0x4cff10<_0x228552[_0xcafcc5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4cff10+=0x2){let _0x338be4=window[_0xcafcc5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x228552[_0xcafcc5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4cff10,_0x4cff10+0x2));_0x338be4>=_0x4b123c[_0xcafcc5([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x338be4-=_0x4b123c[_0xcafcc5([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x118771+=_0x4b123c[_0x338be4];}return _0x118771;}function _0x472fd3(){const _0x32afdd=_0x4d2f83[_0xcafcc5([0x73,0x70,0x6c,0x69,0x74])](_0xcafcc5([0x2e]));if(0x3!=_0x32afdd[_0xcafcc5([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x11db8e(_0x32afdd[0x1]);function _0x11db8e(_0x116dcd){const _0x2b3828=_0x53fa39(_0x116dcd);return _0x2b3828&&_0xec29b4()?_0x2b3828:null;function _0xec29b4(){const _0xb3a397=_0x2b3828[_0xcafcc5([0x6a,0x74,0x69])],_0x57e34c=window[_0xcafcc5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xb3a397[_0xcafcc5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xb3a397[_0xcafcc5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x421141={..._0x2b3828,[_0xcafcc5([0x6a,0x74,0x69])]:_0xb3a397[_0xcafcc5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xb3a397[_0xcafcc5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x421141[_0xcafcc5([0x76,0x63])],_0x4b0807(_0x421141)==_0x57e34c;}}}async function _0x2e1d21(){let _0x53024e=!0x0;try{const _0x23669f=_0x4d2f83[_0xcafcc5([0x73,0x70,0x6c,0x69,0x74])](_0xcafcc5([0x2e])),[_0x11f8c3,_0x542ed1,_0x351b57]=_0x23669f;return _0x345e0d(_0x11f8c3),await _0x182e5a(_0x11f8c3,_0x542ed1,_0x351b57),_0x53024e;}catch{return!0x1;}function _0x345e0d(_0x8478d0){const _0x42e6c5=_0x53fa39(_0x8478d0);_0x42e6c5&&_0x42e6c5[_0xcafcc5([0x61,0x6c,0x67])]==_0xcafcc5([0x45,0x53,0x32,0x35,0x36])||(_0x53024e=!0x1);}async function _0x182e5a(_0x581633,_0x2d29c9,_0x29701e){const _0x43a4e3=window[_0xcafcc5([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xcafcc5([0x66,0x72,0x6f,0x6d])](_0x50bb65(_0x29701e),_0x314ca0=>_0x314ca0[_0xcafcc5([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x298405=new window[(_0xcafcc5([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xcafcc5([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x581633+_0xcafcc5([0x2e])+_0x2d29c9),_0xefad97=window[_0xcafcc5([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xcafcc5([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xefad97)return;const _0x27f88a=await _0xefad97[_0xcafcc5([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xcafcc5([0x6a,0x77,0x6b]),_0x217fb6,{[_0xcafcc5([0x6e,0x61,0x6d,0x65])]:_0xcafcc5([0x45,0x43,0x44,0x53,0x41]),[_0xcafcc5([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xcafcc5([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xcafcc5([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xefad97[_0xcafcc5([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xcafcc5([0x6e,0x61,0x6d,0x65])]:_0xcafcc5([0x45,0x43,0x44,0x53,0x41]),[_0xcafcc5([0x68,0x61,0x73,0x68])]:{[_0xcafcc5([0x6e,0x61,0x6d,0x65])]:_0xcafcc5([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x27f88a,_0x43a4e3,_0x298405)||(_0x53024e=!0x1);}}function _0x53fa39(_0x3c079b){return _0x3c079b[_0xcafcc5([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xcafcc5([0x65,0x79]))?JSON[_0xcafcc5([0x70,0x61,0x72,0x73,0x65])](_0x50bb65(_0x3c079b)):null;}function _0x50bb65(_0x328d44){return window[_0xcafcc5([0x61,0x74,0x6f,0x62])](_0x328d44[_0xcafcc5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xcafcc5([0x2b]))[_0xcafcc5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xcafcc5([0x2f])));}function _0x4b0807(_0x2d55fe){let _0xa00db5=0x1505;function _0x17f047(_0x3257b5){for(let _0x2f95a6=0x0;_0x2f95a6<_0x3257b5[_0xcafcc5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2f95a6++){const _0x2c1250=_0x3257b5[_0xcafcc5([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2f95a6);_0xa00db5=(_0xa00db5<<0x5)+_0xa00db5+_0x2c1250,_0xa00db5&=_0xa00db5;}}function _0x1afdec(_0x5967da){Array[_0xcafcc5([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5967da)?_0x5967da[_0xcafcc5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1afdec):_0x5967da&&typeof _0x5967da==_0xcafcc5([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xcafcc5([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5967da)[_0xcafcc5([0x73,0x6f,0x72,0x74])]()[_0xcafcc5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x463d48,_0x277175])=>{_0x17f047(_0x463d48),_0x1afdec(_0x277175);}):_0x17f047(window[_0xcafcc5([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5967da));}return _0x1afdec(_0x2d55fe),_0xa00db5>>>0x0;}function _0x304a1f(_0x25cbf6){return _0x25cbf6[_0xcafcc5([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xcafcc5([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xcafcc5([0x30]));}function _0x16feff(_0x2add3d){return _0x2add3d[_0xcafcc5([0x73,0x70,0x6c,0x69,0x74])]('')[_0xcafcc5([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xcafcc5([0x6a,0x6f,0x69,0x6e])]('');}function _0x71e76a(){}function _0xcafcc5(_0x305b5a){return _0x305b5a['map'](_0x5d9e1f=>String['fromCharCode'](_0x5d9e1f))['join']('');}_0x45ef6b(await _0x15f9dc());}(this);}['destroy'](){super['destroy'](),this['view']['destroy'](),this['_updateActiveDefinitionFromViewportThrottled']['cancel']();}['_handleOutlineChange'](_0x56443a,{outlineDefinitions:_0x252236,outlineChanges:_0x4ffaad}){this['_currentOutlineDefinitions']=_0x252236,this['view']['sync'](_0x4ffaad);}['_setActiveViewItem'](_0x268748){this['_currentOutlineDefinitions']['length']&&this['_currentOutlineDefinitions'][_0x268748]&&(this['view']['activeItemIndex']=_0x268748);}['_handleItemSelected'](_0x24b7be){const _0x399e3d=this['_currentOutlineDefinitions'][_0x24b7be]['modelElement'];this['editor']['model']['change'](_0x5c89a6=>{_0x5c89a6['setSelection'](_0x399e3d,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0}),this['editor']['editing']['view']['focus'](),this['_setActiveViewItem'](_0x24b7be);}['_updateActiveDefinitionOnViewportChange'](){const _0x2ca097=this['editor'];let _0x268df3;for(const _0x4d193b of _0x2ca097['model']['document']['getRootNames']()){const _0x232783=_0x2ca097['editing']['view']['getDomRoot'](_0x4d193b),_0x2064e9=_0x232783&&new _0x49baeb(_0x232783)['getVisible']();if(_0x2064e9){const _0x5b6f1f=new _0x49baeb(_0x11e76b['window'])['getIntersection'](_0x2064e9);_0x5b6f1f&&(_0x268df3=_0x5b6f1f['top']+0.25*_0x5b6f1f['height']);}}if(void 0x0===_0x268df3)return;const _0x2bbeb4=D(_0x2ca097['editing'],this['_currentOutlineDefinitions'],_0x268df3);_0x2bbeb4?this['_setActiveViewItem'](this['_currentOutlineDefinitions']['indexOf'](_0x2bbeb4)):this['_setActiveViewItem'](-0x1);}}function D(_0xee0eb9,_0x28836c,_0x31c906,_0x3e893b=0x0,_0x28c7ff=_0x28836c['length']-0x1){const _0x4d7e20=Math['floor'](_0x3e893b+(_0x28c7ff-_0x3e893b)/0x2);if(_0x28c7ff>=_0x3e893b){const _0x35385d=_0x28836c[_0x4d7e20],_0x586548=_0xee0eb9['mapper']['toViewElement'](_0x35385d['modelElement']);if(!_0x586548)return null;const _0x26e6da=_0xee0eb9['view']['domConverter']['mapViewToDom'](_0x586548);return new _0x49baeb(_0x26e6da)['bottom']>_0x31c906?D(_0xee0eb9,_0x28836c,_0x31c906,_0x3e893b,_0x4d7e20-0x1):D(_0xee0eb9,_0x28836c,_0x31c906,_0x4d7e20+0x1,_0x28c7ff);}return _0x4d7e20<0x0?null:_0x28836c[_0x4d7e20];}class K extends _0x47c3e7{['licenseKey'];['_licenseKeyCheckInterval'];static get['requires'](){return[i,n];}static get['pluginName'](){return'DocumentOutline';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x11c80b=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x14e1c1;for(const _0x1f65d8 in _0x11c80b){const _0x4b16a3=_0x1f65d8,_0x5d16b1=_0x11c80b[_0x4b16a3];if('documentOutlineLicenseKeyValid'==_0x5d16b1||'documentOutlineLicenseKeyInvalid'==_0x5d16b1||'documentOutlineLicenseKeyExpired'==_0x5d16b1||'documentOutlineLicenseKeyDomainLimit'==_0x5d16b1||'documentOutlineLicenseKeyNotAllowed'==_0x5d16b1||'documentOutlineLicenseKeyEvaluationLimit'==_0x5d16b1||'documentOutlineLicenseKeyTrialLimit'==_0x5d16b1||'documentOutlineLicenseKeyUsageLimit'==_0x5d16b1){delete _0x11c80b[_0x4b16a3],_0x14e1c1=_0x5d16b1,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'documentOutlineLicenseKeyInvalid'==_0x14e1c1&&_0x11c80b['_showLicenseError']('invalid'),'documentOutlineLicenseKeyExpired'==_0x14e1c1&&_0x11c80b['_showLicenseError']('expired'),'documentOutlineLicenseKeyDomainLimit'==_0x14e1c1&&_0x11c80b['_showLicenseError']('domainLimit'),'documentOutlineLicenseKeyNotAllowed'==_0x14e1c1&&_0x11c80b['_showLicenseError']('featureNotAllowed','DocumentOutline'),'documentOutlineLicenseKeyEvaluationLimit'==_0x14e1c1&&_0x11c80b['_showLicenseError']('evaluationLimit'),'documentOutlineLicenseKeyTrialLimit'==_0x14e1c1&&_0x11c80b['_showLicenseError']('trialLimit'),'documentOutlineLicenseKeyUsageLimit'==_0x14e1c1&&_0x11c80b['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class w extends _0x78c861{['execute'](){this['editor']['model']['change'](_0x1b0698=>{this['editor']['model']['insertObject'](_0x1b0698['createElement']('tableOfContents'));});}['refresh'](){const _0x2c7790=this['editor']['model'],_0x401229=_0x2c7790['document']['selection']['getFirstPosition']();this['isEnabled']=null!==(_0x401229&&_0x2c7790['schema']['findAllowedParent'](_0x401229,'tableOfContents'));}}class h extends _0x47c3e7{static get['pluginName'](){return'HeadingId';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x5bfa62=this['editor'];if(_0x5bfa62['config']['get']('headingId.modelAttributeName'))return;(function(_0x320c09){const _0x1f4ae1=new Map();if(_0x320c09)return _0x320c09['forEach'](_0x2980f0=>{'paragraph'!==_0x2980f0['model']&&_0x1f4ae1['set'](_0x2980f0['view'],_0x2980f0['model']);}),_0x1f4ae1['get']('h1')||_0x1f4ae1['set']('h1','heading1'),_0x1f4ae1;return _0x1f4ae1;}(this['editor']['config']['get']('heading.options'))['forEach']((_0x35ca5d,_0x1a8e35)=>{this['_customUpcastHeadingsConversion'](_0x1a8e35),this['_customDataDowncastHeadingsConversion'](_0x35ca5d),_0x5bfa62['model']['schema']['isRegistered'](_0x35ca5d)&&_0x5bfa62['model']['schema']['extend'](_0x35ca5d,{'allowAttributes':'headingId'});}),this['_registerHeadingIdAttributePostfixer']());}['_customUpcastHeadingsConversion'](_0x349bd8){this['editor']['conversion']['for']('upcast')['add'](_0x34ddc5=>_0x34ddc5['on']('element:'+_0x349bd8,(_0x209512,_0x58e6c8,_0x622437)=>{const {consumable:_0x41f43b,writer:_0xbe0342}=_0x622437,_0x1f4432=_0x58e6c8['viewItem']['getAttribute']('id'),_0x54193f=_0x58e6c8['modelRange']['getContainedElement']();if(_0x54193f)return _0x1f4432&&_0x1f4432['length']||_0x54193f['hasAttribute']('headingId')?void(_0x41f43b['consume'](_0x58e6c8['viewItem'],{'attributes':['id']})&&_0xbe0342['setAttribute']('headingId',_0x1f4432,_0x54193f)):(_0x41f43b['consume'](_0x58e6c8['viewItem'],{'attributes':['id']}),void _0xbe0342['setAttribute']('headingId',_0x2aaad2(),_0x54193f));},{'priority':_0x2b563f['get']('low')+0.5}));}['_customDataDowncastHeadingsConversion'](_0x1ee1a1){this['editor']['conversion']['for']('downcast')['add'](_0xce7585=>_0xce7585['on']('attribute:headingId:'+_0x1ee1a1,(_0x294f9a,_0xd8195c,_0x3a6d95)=>{if(!_0x3a6d95['consumable']['consume'](_0xd8195c['item'],_0x294f9a['name']))return;const _0x3ac838=_0xd8195c['item']['getAttribute']('headingId'),_0x44be79=_0x3a6d95['mapper']['toViewElement'](_0xd8195c['item']);_0x3a6d95['writer']['setAttribute']('id',_0x3ac838,_0x44be79);}));}['_registerHeadingIdAttributePostfixer'](){const _0x442cbe=this['editor'],_0x1b3e76=new Set(),_0x4d9bc5=new Set();function _0x3af850(_0x14f5b5,_0x1a6104){const _0x1fdeb3=_0x2aaad2();return _0x4d9bc5['add'](_0x1fdeb3),_0x14f5b5['setAttribute']('headingId',_0x1fdeb3,_0x1a6104),_0x1fdeb3;}function _0xc55d5c(_0x47b5d2,_0x5d7aa0){_0x47b5d2['removeAttribute']('headingId',_0x5d7aa0);}_0x442cbe['model']['document']['registerPostFixer'](_0x40aa5f=>{const _0x5387e3=_0x442cbe['model']['document']['differ']['getChanges']();let _0x2089c2=!0x1;for(const _0x29e5de of _0x5387e3)if('insert'==_0x29e5de['type']&&_0x29e5de['name']){if(c(_0x29e5de['name'])){const _0x3a4a1e=_0x29e5de['attributes']['get']('headingId');'string'==typeof _0x3a4a1e?_0x1b3e76['has'](_0x3a4a1e)?(_0x3af850(_0x40aa5f,_0x29e5de['position']['nodeAfter']),_0x2089c2=!0x0):_0x4d9bc5['add'](_0x3a4a1e):(_0x3af850(_0x40aa5f,_0x29e5de['position']['nodeAfter']),_0x2089c2=!0x0);}else'string'==typeof _0x29e5de['attributes']['get']('headingId')&&(_0xc55d5c(_0x40aa5f,_0x29e5de['position']['nodeAfter']),_0x2089c2=!0x0);}else{if('remove'==_0x29e5de['type']){const _0x411ca9=_0x29e5de['attributes']['get']('headingId');'string'==typeof _0x411ca9&&_0x1b3e76['delete'](_0x411ca9);}}return _0x2089c2;}),_0x442cbe['model']['document']['on']('change',()=>{_0x4d9bc5['forEach'](_0x36cad5=>_0x1b3e76['add'](_0x36cad5)),_0x4d9bc5['clear']();});}}function c(_0x4a7421){return!!_0x4a7421['match'](/heading\d/);}class s extends _0x47c3e7{static get['pluginName'](){return'TableOfContentsEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x47a535,i,h];}['_currentOutlineDefinitions'];['_tableOfContentsElements'];['_headingIdModelAttributeName'];constructor(_0x2ec978){super(_0x2ec978),this['_currentOutlineDefinitions']=[],this['_tableOfContentsElements']=new Set(),this['_headingIdModelAttributeName']='headingId';}['init'](){const _0x27d678=this['editor'],_0x1a573f=_0x27d678['editing']['view']['document'];_0x27d678['config']['get']('headingId.modelAttributeName')&&(this['_headingIdModelAttributeName']=_0x27d678['config']['get']('headingId.modelAttributeName')),this['listenTo'](_0x1a573f,'click',(_0x9537a5,_0x4bea44)=>{if(!_0x4bea44['target'])return;const _0x19e19b=_0x4bea44['target']['getCustomProperty']('tableOfContentsHeadingIndex');Number['isInteger'](_0x19e19b)&&(_0x4bea44['domEvent']['preventDefault'](),_0x9537a5['stop'](),this['_handleScrollToHeading'](_0x19e19b));},{'priority':'high','context':'$capture'}),this['_defineSchema'](),this['_defineConverters'](),_0x27d678['commands']['add']('insertTableOfContents',new w(_0x27d678)),(_0x27d678['plugins']['get']('DocumentOutlineUtils')['on']('change',(_0x1a4fae,_0x4c6b2a)=>{this['_currentOutlineDefinitions']=_0x4c6b2a['outlineDefinitions'],this['_updateTableOfContentsElements']();}),this['listenTo'](_0x27d678['model']['document'],'change',()=>{this['_trackNewToCElements']();}));}['afterInit'](){!async function(_0x1877e1){const _0x535613=_0x48433c([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]),_0x5dcf12=0x6b9b05fd,_0x37c90d=0x6b9c76a5^_0x5dcf12,_0xb92e9a=window[_0x48433c([0x44,0x61,0x74,0x65])][_0x48433c([0x6e,0x6f,0x77])](),_0x22db43=_0x1877e1[_0x48433c([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x40b768=new window[(_0x48433c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x37333a=>{_0x22db43[_0x48433c([0x6f,0x6e,0x63,0x65])](_0x48433c([0x72,0x65,0x61,0x64,0x79]),_0x37333a);}),_0x3f4607={[_0x48433c([0x6b,0x74,0x79])]:_0x48433c([0x45,0x43]),[_0x48433c([0x75,0x73,0x65])]:_0x48433c([0x73,0x69,0x67]),[_0x48433c([0x63,0x72,0x76])]:_0x48433c([0x50,0x2d,0x32,0x35,0x36]),[_0x48433c([0x78])]:_0x48433c([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]),[_0x48433c([0x79])]:_0x48433c([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]),[_0x48433c([0x61,0x6c,0x67])]:_0x48433c([0x45,0x53,0x32,0x35,0x36])},_0xae9847=_0x22db43[_0x48433c([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x48433c([0x67,0x65,0x74])](_0x48433c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x21d930(){let _0x290a36,_0x50177c=null,_0x4247f5=null;try{if(_0xae9847==_0x48433c([0x47,0x50,0x4c]))return _0x48433c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x290a36=_0x20b8c9(),!_0x290a36)return _0x48433c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x290a36[_0x48433c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4247f5=_0x135b78(_0x290a36[_0x48433c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x290a36[_0x48433c([0x6a,0x74,0x69])])),await _0x1265ec()?_0x1ef4ac()?_0x275313()?_0x48433c([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x51cdeb()?(_0x290a36[_0x48433c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x48433c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x50177c=_0x528eb6(_0x48433c([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x290a36[_0x48433c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x48433c([0x74,0x72,0x69,0x61,0x6c])&&(_0x50177c=_0x528eb6(_0x48433c([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2d984b()):_0x48433c([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x48433c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x48433c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x48433c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x275313(){const _0xdfae39=[_0x48433c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x48433c([0x74,0x72,0x69,0x61,0x6c])][_0x48433c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x290a36[_0x48433c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xb92e9a/0x3e8:0xe10*_0x37c90d;return _0x290a36[_0x48433c([0x65,0x78,0x70])]<_0xdfae39;}function _0x1ef4ac(){const _0x41459c=_0x290a36[_0x48433c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x41459c&&(!!_0x41459c[_0x48433c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x48433c([0x2a]))||(!!_0x41459c[_0x48433c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x48433c([0x54,0x4f,0x43]))||(!!_0x41459c[_0x48433c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x48433c([0x50,0x50]))||!(!_0x41459c[_0x48433c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x48433c([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x1af616()))));}function _0x51cdeb(){const _0xdbd48a=_0x290a36[_0x48433c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xdbd48a||0x0==_0xdbd48a[_0x48433c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x284d87}=new URL(window[_0x48433c([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0xdbd48a[_0x48433c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x284d87))return!0x0;const _0x53888c=_0x284d87[_0x48433c([0x73,0x70,0x6c,0x69,0x74])](_0x48433c([0x2e]));return _0xdbd48a[_0x48433c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4dbb1e=>_0x4dbb1e[_0x48433c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x48433c([0x2a])))[_0x48433c([0x6d,0x61,0x70])](_0x49dc70=>_0x49dc70[_0x48433c([0x73,0x70,0x6c,0x69,0x74])](_0x48433c([0x2e])))[_0x48433c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1c3c92=>_0x1c3c92[_0x48433c([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x53888c[_0x48433c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x48433c([0x6d,0x61,0x70])](_0x22ed9d=>Array(_0x53888c[_0x48433c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x22ed9d[_0x48433c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x48433c([0x66,0x69,0x6c,0x6c])](_0x22ed9d[0x0]===_0x48433c([0x2a])?_0x48433c([0x2a]):'')[_0x48433c([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x22ed9d))[_0x48433c([0x73,0x6f,0x6d,0x65])](_0x4b79d4=>_0x53888c[_0x48433c([0x65,0x76,0x65,0x72,0x79])]((_0x5afbb6,_0x54220e)=>_0x4b79d4[_0x54220e]===_0x5afbb6||_0x4b79d4[_0x54220e]===_0x48433c([0x2a])));}function _0x2d984b(){return _0x50177c&&_0x4247f5?new window[(_0x48433c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x174161,_0x2e93f6)=>{_0x50177c[_0x48433c([0x74,0x68,0x65,0x6e])](_0x174161,_0x2e93f6),_0x4247f5[_0x48433c([0x74,0x68,0x65,0x6e])](_0x40d356=>{_0x40d356!=_0x48433c([0x56,0x61,0x6c,0x69,0x64])&&_0x174161(_0x40d356);},_0x2e93f6);}):_0x50177c||_0x4247f5||_0x48433c([0x56,0x61,0x6c,0x69,0x64]);}}function _0x135b78(_0x5e0680,_0x5c443a){return new window[(_0x48433c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1d19dd=>{if(_0x20c0ef())return _0x1d19dd(_0x48433c([0x56,0x61,0x6c,0x69,0x64]));_0x1dd476(),_0x22db43[_0x48433c([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x48433c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x50d43c=!0x1;const _0x3c9eb8=_0x2aaad2();function _0x5bee32(_0x34c500){return!!_0x34c500&&(typeof _0x34c500===_0x48433c([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x34c500===_0x48433c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x34c500[_0x48433c([0x74,0x68,0x65,0x6e])]===_0x48433c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x34c500[_0x48433c([0x63,0x61,0x74,0x63,0x68])]===_0x48433c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x52c89a(_0x2e919c){_0x27772d(_0x2e919c)[_0x48433c([0x74,0x68,0x65,0x6e])](_0xf8968d=>{if(!_0xf8968d||_0xf8968d[_0x48433c([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x48433c([0x6f,0x6b]))return _0x48433c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xf1eb94(_0x15c312(_0x3c9eb8+_0x5c443a))!=_0xf8968d[_0x48433c([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x48433c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x48433c([0x56,0x61,0x6c,0x69,0x64]);})[_0x48433c([0x74,0x68,0x65,0x6e])](_0x13945f=>(_0x172e80(),_0x13945f),()=>{const _0x3a9df5=_0x5320cf();return null==_0x3a9df5?(_0x172e80(),_0x48433c([0x56,0x61,0x6c,0x69,0x64])):_0x48433c(_0xb92e9a-_0x3a9df5>(0x4f9781fd^_0x5dcf12)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x48433c([0x74,0x68,0x65,0x6e])](_0x1d19dd)[_0x48433c([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1d19dd(_0x48433c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3a656b=0x6badeb7d^_0x5dcf12;function _0x172e80(){const _0x16cc5b=_0x48433c([0x6c,0x6c,0x63,0x74,0x2d])+_0xf1eb94(_0x15c312(_0x5e0680)),_0x3c4903=_0x1af2c4(_0xf1eb94(window[_0x48433c([0x4d,0x61,0x74,0x68])][_0x48433c([0x63,0x65,0x69,0x6c])](_0xb92e9a/_0x3a656b)));window[_0x48433c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x48433c([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x16cc5b,_0x3c4903);}function _0x5320cf(){const _0x51136c=_0x48433c([0x6c,0x6c,0x63,0x74,0x2d])+_0xf1eb94(_0x15c312(_0x5e0680)),_0x1f0d37=window[_0x48433c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x48433c([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x51136c);return _0x1f0d37?window[_0x48433c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1af2c4(_0x1f0d37),0x10)*_0x3a656b:null;}function _0x27772d(_0x58266c){return new window[(_0x48433c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2baa38,_0x178ce2)=>{_0x58266c[_0x48433c([0x74,0x68,0x65,0x6e])](_0x2baa38,_0x178ce2),window[_0x48433c([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x178ce2,0x6b9ad13d^_0x5dcf12);});}}_0x22db43[_0x48433c([0x6f,0x6e])](_0x48433c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5c6bff,_0x5a313d)=>{if(_0x5a313d[0x0]!=_0x5e0680)return _0x1d19dd(_0x48433c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5a313d[0x1]={..._0x5a313d[0x1],[_0x48433c([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3c9eb8};},{[_0x48433c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x48433c([0x68,0x69,0x67,0x68])}),_0x22db43[_0x48433c([0x6f,0x6e])](_0x48433c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4d8479=>{_0x5bee32(_0x4d8479[_0x48433c([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x50d43c=!0x0,_0x52c89a(_0x4d8479[_0x48433c([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x48433c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x48433c([0x6c,0x6f,0x77])}),_0x40b768[_0x48433c([0x74,0x68,0x65,0x6e])](()=>{_0x50d43c||_0x1d19dd(_0x48433c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x20c0ef(){return _0x22db43[_0x48433c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x48433c([0x76,0x69,0x65,0x77])][_0x48433c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x48433c([0x61,0x75,0x74,0x6f]);}function _0x1dd476(){_0x22db43[_0x48433c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x48433c([0x76,0x69,0x65,0x77])][_0x48433c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x48433c([0x61,0x75,0x74,0x6f]);}}function _0x528eb6(_0x4beccd){const _0x414808=[new window[(_0x48433c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2a4d50=>setTimeout(_0x2a4d50,0x6b923b31^_0x5dcf12)),_0x40b768[_0x48433c([0x74,0x68,0x65,0x6e])](()=>new window[(_0x48433c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x258397=>{let _0x43389b=0x0;_0x22db43[_0x48433c([0x6d,0x6f,0x64,0x65,0x6c])][_0x48433c([0x6f,0x6e])](_0x48433c([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x24d95f,_0x24141c)=>{_0x24141c[0x0][_0x48433c([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x43389b++,_0x43389b==(0x6b9b0405^_0x5dcf12)&&(_0x258397(),_0x24d95f[_0x48433c([0x6f,0x66,0x66])]());});}))];return window[_0x48433c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x48433c([0x72,0x61,0x63,0x65])](_0x414808)[_0x48433c([0x74,0x68,0x65,0x6e])](()=>_0x4beccd);}async function _0x309676(){await _0x40b768,_0x22db43[_0x48433c([0x6d,0x6f,0x64,0x65,0x6c])][_0x48433c([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x45bd2a,_0x22db43[_0x48433c([0x6d,0x6f,0x64,0x65,0x6c])][_0x48433c([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x45bd2a,_0x22db43[_0x48433c([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x48433c([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1af616(){return window[_0x48433c([0x67,0x6c,0x6f,0x62])]&&window[_0x48433c([0x67,0x6c,0x6f,0x62])][_0x48433c([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x107f72(_0x996ab7){const _0x30edc5=_0x1f8026();_0x22db43[_0x30edc5]=_0x48433c([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])+_0x996ab7,_0x996ab7!=_0x48433c([0x56,0x61,0x6c,0x69,0x64])&&_0x309676();}function _0x1f8026(){const _0xcac00e=window[_0x48433c([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x48433c([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x48433c([0x6e,0x6f,0x77])]())[_0x48433c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x48433c([0x2e]),'');let _0x554c0d=_0x48433c([0x6d]);for(let _0x31c5b8=0x0;_0x31c5b8<_0xcac00e[_0x48433c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x31c5b8+=0x2){let _0x2e4b5b=window[_0x48433c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xcac00e[_0x48433c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x31c5b8,_0x31c5b8+0x2));_0x2e4b5b>=_0x535613[_0x48433c([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2e4b5b-=_0x535613[_0x48433c([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x554c0d+=_0x535613[_0x2e4b5b];}return _0x554c0d;}function _0x20b8c9(){const _0x49d9a9=_0xae9847[_0x48433c([0x73,0x70,0x6c,0x69,0x74])](_0x48433c([0x2e]));if(0x3!=_0x49d9a9[_0x48433c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x194f1a(_0x49d9a9[0x1]);function _0x194f1a(_0x4c0398){const _0x29f4a9=_0x142eef(_0x4c0398);return _0x29f4a9&&_0x11c08d()?_0x29f4a9:null;function _0x11c08d(){const _0x547202=_0x29f4a9[_0x48433c([0x6a,0x74,0x69])],_0x47ad3=window[_0x48433c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x547202[_0x48433c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x547202[_0x48433c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xea470f={..._0x29f4a9,[_0x48433c([0x6a,0x74,0x69])]:_0x547202[_0x48433c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x547202[_0x48433c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xea470f[_0x48433c([0x76,0x63])],_0x15c312(_0xea470f)==_0x47ad3;}}}async function _0x1265ec(){let _0x15c21a=!0x0;try{const _0x2a9dc8=_0xae9847[_0x48433c([0x73,0x70,0x6c,0x69,0x74])](_0x48433c([0x2e])),[_0x57b0c6,_0x315f07,_0x57fc79]=_0x2a9dc8;return _0x245508(_0x57b0c6),await _0x1386b4(_0x57b0c6,_0x315f07,_0x57fc79),_0x15c21a;}catch{return!0x1;}function _0x245508(_0x31dd76){const _0x22920a=_0x142eef(_0x31dd76);_0x22920a&&_0x22920a[_0x48433c([0x61,0x6c,0x67])]==_0x48433c([0x45,0x53,0x32,0x35,0x36])||(_0x15c21a=!0x1);}async function _0x1386b4(_0x4923d5,_0x36895f,_0x53d809){const _0x557e35=window[_0x48433c([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x48433c([0x66,0x72,0x6f,0x6d])](_0x2fa8db(_0x53d809),_0x3ea2c4=>_0x3ea2c4[_0x48433c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x235b86=new window[(_0x48433c([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x48433c([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4923d5+_0x48433c([0x2e])+_0x36895f),_0x377ff4=window[_0x48433c([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x48433c([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x377ff4)return;const _0x12b955=await _0x377ff4[_0x48433c([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x48433c([0x6a,0x77,0x6b]),_0x3f4607,{[_0x48433c([0x6e,0x61,0x6d,0x65])]:_0x48433c([0x45,0x43,0x44,0x53,0x41]),[_0x48433c([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x48433c([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x48433c([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x377ff4[_0x48433c([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x48433c([0x6e,0x61,0x6d,0x65])]:_0x48433c([0x45,0x43,0x44,0x53,0x41]),[_0x48433c([0x68,0x61,0x73,0x68])]:{[_0x48433c([0x6e,0x61,0x6d,0x65])]:_0x48433c([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x12b955,_0x557e35,_0x235b86)||(_0x15c21a=!0x1);}}function _0x142eef(_0x57e476){return _0x57e476[_0x48433c([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x48433c([0x65,0x79]))?JSON[_0x48433c([0x70,0x61,0x72,0x73,0x65])](_0x2fa8db(_0x57e476)):null;}function _0x2fa8db(_0x5b7d71){return window[_0x48433c([0x61,0x74,0x6f,0x62])](_0x5b7d71[_0x48433c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x48433c([0x2b]))[_0x48433c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x48433c([0x2f])));}function _0x15c312(_0x573f6a){let _0xf1747f=0x1505;function _0x34a0d6(_0x569403){for(let _0x4725b6=0x0;_0x4725b6<_0x569403[_0x48433c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4725b6++){const _0x3b0c6d=_0x569403[_0x48433c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4725b6);_0xf1747f=(_0xf1747f<<0x5)+_0xf1747f+_0x3b0c6d,_0xf1747f&=_0xf1747f;}}function _0x3fcfae(_0x13413f){Array[_0x48433c([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x13413f)?_0x13413f[_0x48433c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3fcfae):_0x13413f&&typeof _0x13413f==_0x48433c([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x48433c([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x13413f)[_0x48433c([0x73,0x6f,0x72,0x74])]()[_0x48433c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5d0568,_0x2e0147])=>{_0x34a0d6(_0x5d0568),_0x3fcfae(_0x2e0147);}):_0x34a0d6(window[_0x48433c([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x13413f));}return _0x3fcfae(_0x573f6a),_0xf1747f>>>0x0;}function _0xf1eb94(_0x2dba96){return _0x2dba96[_0x48433c([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x48433c([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x48433c([0x30]));}function _0x1af2c4(_0x53d86d){return _0x53d86d[_0x48433c([0x73,0x70,0x6c,0x69,0x74])]('')[_0x48433c([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x48433c([0x6a,0x6f,0x69,0x6e])]('');}function _0x45bd2a(){}function _0x48433c(_0x81ba40){return _0x81ba40['map'](_0x345472=>String['fromCharCode'](_0x345472))['join']('');}_0x107f72(await _0x21d930());}(this);}['_updateTableOfContentsElements'](){this['_tableOfContentsElements']['forEach'](_0xc5ab46=>{'$graveyard'!==_0xc5ab46['rootName']&&this['editor']['editing']['reconvertItem'](_0xc5ab46);});}['_trackNewToCElements'](){for(const _0x441d12 of this['editor']['model']['document']['differ']['getChanges']({'includeChangesInGraveyard':!0x0})){if('insert'!==_0x441d12['type']||'tableOfContents'!==_0x441d12['name'])return;this['_tableOfContentsElements']['add'](_0x441d12['position']['nodeAfter']);}}['_defineSchema'](){this['editor']['model']['schema']['register']('tableOfContents',{'inheritAllFrom':'$blockObject'});}['_defineConverters'](){const _0x17a52b=this['editor']['conversion'];_0x17a52b['for']('upcast')['elementToElement']({'model':'tableOfContents','view':{'name':'div','classes':'table-of-contents'}}),_0x17a52b['for']('dataDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x16c8d4,{writer:_0x5eeee5})=>this['_createTableOfContents'](_0x5eeee5,!0x0)}),_0x17a52b['for']('editingDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x426e2f,{writer:_0x43197})=>{this['_tableOfContentsElements']['add'](_0x426e2f);const _0x3e4db2=this['_createTableOfContents'](_0x43197);return _0x1558f1(_0x3e4db2,_0x43197,{'label':m(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'](_0x1a4a09,_0xa5d39e=!0x1){const {locale:_0x4a1893}=this['editor'],_0x3e2cf7=_0x1a4a09['createContainerElement']('div',{'class':'table-of-contents'+(0x0===this['_currentOutlineDefinitions']['length']?'\x20table-of-contents_empty':''),...!_0xa5d39e&&{'data-table-of-contents-label':m(_0x4a1893,'Table\x20of\x20contents')}});0x0===this['_currentOutlineDefinitions']['length']&&!0x1===_0xa5d39e&&_0x1a4a09['insert'](_0x1a4a09['createPositionAt'](_0x3e2cf7,'end'),_0x1a4a09['createContainerElement']('p',{'class':'table-of-contents__placeholder'},[_0x1a4a09['createText'](m(_0x4a1893,'No\x20headings\x20were\x20found\x20in\x20the\x20document.'))]));const _0x1a2f13=_0xa5d39e?'':'['+m(_0x4a1893,'Empty\x20heading')+']';let _0x244227=_0x3e2cf7;return this['_currentOutlineDefinitions']['forEach']((_0x3dfc44,_0x1f67be,_0x1d9461)=>{const _0x503928=this['editor']['model']['hasContent'](_0x3dfc44['modelElement'],{'ignoreWhitespaces':!0x0}),_0x49c4b1=_0x503928?_0x3dfc44['text']:_0x1a2f13,_0x46f224=_0x3dfc44['modelElement']['getAttribute'](this['_headingIdModelAttributeName']),_0x42801a=_0x1a4a09['createContainerElement']('a',{'href':'#'+_0x46f224,...!_0xa5d39e&&{'tabindex':'-1'}},[_0x1a4a09['createText'](_0x49c4b1)]),_0x1bd6df=this['editor']['config']['get']('documentOutline.showEmptyHeadings');_0x1a4a09['setCustomProperty']('tableOfContentsHeadingIndex',_0x1f67be,_0x42801a);const _0x274033=_0x1a4a09['createContainerElement']('li',null,[_0x503928||!_0xa5d39e&&_0x1bd6df?_0x42801a:_0x1a4a09['createText']('')]),_0x43109e=_0x1f67be?_0x1d9461[_0x1f67be-0x1]['level']:0x0,_0x497cce=Math['abs'](_0x3dfc44['level']-_0x43109e);if(_0x3dfc44['level']>_0x43109e){const _0x3550eb=b(_0x274033,_0x497cce,_0x1a4a09);_0x1a4a09['insert'](_0x1a4a09['createPositionAt'](_0x244227,'end'),_0x3550eb);}else{const _0x12a3b7=function(_0x16048f,_0x3ad730){return _0x16048f['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0})['filter'](_0x1c4369=>_0x1c4369['is']('element','ol'))[_0x3ad730];}(_0x244227,_0x497cce);_0x1a4a09['insert'](_0x1a4a09['createPositionAt'](_0x12a3b7,'end'),_0x274033);}_0x244227=_0x274033;}),_0x3e2cf7;}['_handleScrollToHeading'](_0x382fb5){const _0x27fd05=this['_currentOutlineDefinitions'][_0x382fb5]['modelElement'];this['editor']['model']['change'](_0x562a86=>{_0x562a86['setSelection'](_0x27fd05,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0});}['_redirectMapper'](){return(_0x507e37,_0x2fba75)=>{const _0x3aec16=_0x2fba75['mapper'],_0x899b2=_0x3aec16['findMappedViewAncestor'](_0x2fba75['viewPosition']),_0x32740d=_0x3aec16['toModelElement'](_0x899b2);_0x32740d['is']('element','tableOfContents')&&(_0x2fba75['modelPosition']=this['editor']['model']['createPositionAt'](_0x32740d,0x0),_0x507e37['stop']());};}}function b(_0x213a10,_0x2667c9,_0x29097){return 0x1===_0x2667c9?_0x29097['createContainerElement']('ol',null,[_0x213a10]):_0x29097['createContainerElement']('ol',null,[_0x29097['createContainerElement']('li',null,[b(_0x213a10,_0x2667c9-0x1,_0x29097)])]);}class o extends _0x47c3e7{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'TableOfContentsUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x1eecc6=this['editor'];_0x1eecc6['ui']['componentFactory']['add']('tableOfContents',()=>{const _0x4ed86c=this['_createButton'](_0x4f9960);return _0x4ed86c['tooltip']=!0x0,_0x4ed86c;}),_0x1eecc6['ui']['componentFactory']['add']('menuBar:tableOfContents',()=>this['_createButton'](_0x106904)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0xae1061=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4acaa2;for(const _0xdb7fbf in _0xae1061){const _0x1992f4=_0xdb7fbf,_0x311c18=_0xae1061[_0x1992f4];if('tableOfContentsLicenseKeyValid'==_0x311c18||'tableOfContentsLicenseKeyInvalid'==_0x311c18||'tableOfContentsLicenseKeyExpired'==_0x311c18||'tableOfContentsLicenseKeyDomainLimit'==_0x311c18||'tableOfContentsLicenseKeyNotAllowed'==_0x311c18||'tableOfContentsLicenseKeyEvaluationLimit'==_0x311c18||'tableOfContentsLicenseKeyTrialLimit'==_0x311c18||'tableOfContentsLicenseKeyUsageLimit'==_0x311c18){delete _0xae1061[_0x1992f4],_0x4acaa2=_0x311c18,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'tableOfContentsLicenseKeyInvalid'==_0x4acaa2&&_0xae1061['_showLicenseError']('invalid'),'tableOfContentsLicenseKeyExpired'==_0x4acaa2&&_0xae1061['_showLicenseError']('expired'),'tableOfContentsLicenseKeyDomainLimit'==_0x4acaa2&&_0xae1061['_showLicenseError']('domainLimit'),'tableOfContentsLicenseKeyNotAllowed'==_0x4acaa2&&_0xae1061['_showLicenseError']('featureNotAllowed','TableOfContents'),'tableOfContentsLicenseKeyEvaluationLimit'==_0x4acaa2&&_0xae1061['_showLicenseError']('evaluationLimit'),'tableOfContentsLicenseKeyTrialLimit'==_0x4acaa2&&_0xae1061['_showLicenseError']('trialLimit'),'tableOfContentsLicenseKeyUsageLimit'==_0x4acaa2&&_0xae1061['_showLicenseError']('usageLimit');},0x3e8);}['_createButton'](_0x376e29){const _0x7e68ac=this['editor'],_0x42ddd9=_0x7e68ac['locale'],_0x37f8ce=_0x7e68ac['commands']['get']('insertTableOfContents'),_0x101afe=new _0x376e29(_0x42ddd9);return _0x101afe['set']({'label':m(_0x42ddd9,'Table\x20of\x20contents'),'icon':_0x42d280}),_0x101afe['bind']('isEnabled')['to'](_0x37f8ce,'isEnabled'),this['listenTo'](_0x101afe,'execute',()=>{_0x7e68ac['execute']('insertTableOfContents'),_0x7e68ac['editing']['view']['focus']();}),_0x101afe;}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class N extends _0x47c3e7{static get['requires'](){return[s,o];}static get['pluginName'](){return'TableOfContents';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{K as DocumentOutline,n as DocumentOutlineUI,i as DocumentOutlineUtils,h as HeadingId,N as TableOfContents,w as TableOfContentsCommand,s as TableOfContentsEditing,o as TableOfContentsUI};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-document-outline",
|
|
3
|
-
"version": "46.1.1-alpha.
|
|
3
|
+
"version": "46.1.1-alpha.2",
|
|
4
4
|
"description": "Document outline feature for CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -13,14 +13,14 @@
|
|
|
13
13
|
"type": "module",
|
|
14
14
|
"main": "src/index.js",
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@ckeditor/ckeditor5-core": "46.1.1-alpha.
|
|
17
|
-
"@ckeditor/ckeditor5-engine": "46.1.1-alpha.
|
|
18
|
-
"@ckeditor/ckeditor5-heading": "46.1.1-alpha.
|
|
19
|
-
"@ckeditor/ckeditor5-icons": "46.1.1-alpha.
|
|
20
|
-
"@ckeditor/ckeditor5-ui": "46.1.1-alpha.
|
|
21
|
-
"@ckeditor/ckeditor5-utils": "46.1.1-alpha.
|
|
22
|
-
"@ckeditor/ckeditor5-widget": "46.1.1-alpha.
|
|
23
|
-
"ckeditor5": "46.1.1-alpha.
|
|
16
|
+
"@ckeditor/ckeditor5-core": "46.1.1-alpha.2",
|
|
17
|
+
"@ckeditor/ckeditor5-engine": "46.1.1-alpha.2",
|
|
18
|
+
"@ckeditor/ckeditor5-heading": "46.1.1-alpha.2",
|
|
19
|
+
"@ckeditor/ckeditor5-icons": "46.1.1-alpha.2",
|
|
20
|
+
"@ckeditor/ckeditor5-ui": "46.1.1-alpha.2",
|
|
21
|
+
"@ckeditor/ckeditor5-utils": "46.1.1-alpha.2",
|
|
22
|
+
"@ckeditor/ckeditor5-widget": "46.1.1-alpha.2",
|
|
23
|
+
"ckeditor5": "46.1.1-alpha.2",
|
|
24
24
|
"es-toolkit": "1.39.5"
|
|
25
25
|
},
|
|
26
26
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x48a469=_0x345d;(function(_0x405690,_0x433ef1){const _0x189bb5=_0x345d,_0x936fd3=_0x405690();while(!![]){try{const _0x1889fc=-parseInt(_0x189bb5(0x157))/0x1+-parseInt(_0x189bb5(0x149))/0x2+-parseInt(_0x189bb5(0x135))/0x3+-parseInt(_0x189bb5(0x156))/0x4+parseInt(_0x189bb5(0x15a))/0x5*(-parseInt(_0x189bb5(0x13f))/0x6)+-parseInt(_0x189bb5(0x145))/0x7*(parseInt(_0x189bb5(0x159))/0x8)+parseInt(_0x189bb5(0x13a))/0x9;if(_0x1889fc===_0x433ef1)break;else _0x936fd3['push'](_0x936fd3['shift']());}catch(_0x19739f){_0x936fd3['push'](_0x936fd3['shift']());}}}(_0x2f31,0x3de6c));function _0x2f31(){const _0x487ff5=['cancel','focusTracker','modelElement','indexOf','map','config','1136604FFVgTC','window','add','getRootNames','init','19327509lVZEbB','pluginName','documentOutline.showEmptyHeadings','element','destroy','2391108QIxjHM','DocumentOutlineUI','_currentOutlineDefinitions','locale','_handleOutlineChange','_handleItemSelected','46123mrwEjv','bind','height','documentOutline.container','267646lugHNo','appendChild','getDomRoot','_updateActiveDefinitionFromViewportThrottled','editor','focus','document-outline-container-not-provided','length','bottom','getIntersection','join','change','domConverter','1207616DRYHUT','278911XPcSuc','model','488egRnCd','5shBoxk','editing','document','getVisible','listenTo','mapper','scrollToTheSelection','href','activeItemIndex','DocumentOutlineUtils','get','resize','_setActiveViewItem','scroll','setSelection','afterInit','top','view','isPremiumPlugin','sync','toViewElement','itemSelected','render','floor','_updateActiveDefinitionOnViewportChange','fromCharCode','mapViewToDom','isOfficialPlugin','plugins'];_0x2f31=function(){return _0x487ff5;};return _0x2f31();}import{Plugin as _0x436705}from'ckeditor5/src/core.js';import{CKEditorError as _0x531aac,global as _0x500368,Rect as _0x52949e,uid as _0xb85c12}from'ckeditor5/src/utils.js';import{DocumentOutlineView as _0xb383c4}from'./ui/documentoutlineview.js';import{throttle as _0x53b522}from'es-toolkit/compat';function _0x345d(_0x580870,_0x4f1301){const _0x2f3116=_0x2f31();return _0x345d=function(_0x345d6a,_0x14a772){_0x345d6a=_0x345d6a-0x127;let _0x4529fc=_0x2f3116[_0x345d6a];return _0x4529fc;},_0x345d(_0x580870,_0x4f1301);}import'../../theme/documentoutline.css';export class DocumentOutlineUI extends _0x436705{[_0x48a469(0x16b)];[_0x48a469(0x141)];[_0x48a469(0x14c)];static get[_0x48a469(0x13b)](){const _0x3df9e5=_0x48a469;return _0x3df9e5(0x140);}static get[_0x48a469(0x12d)](){return!0x0;}static get[_0x48a469(0x16c)](){return!0x0;}constructor(_0x429f95){const _0x18e7a5=_0x48a469;super(_0x429f95),this[_0x18e7a5(0x16b)]=new _0xb383c4(_0x429f95[_0x18e7a5(0x142)],this[_0x18e7a5(0x14d)][_0x18e7a5(0x134)][_0x18e7a5(0x164)](_0x18e7a5(0x13c)),this[_0x18e7a5(0x14d)][_0x18e7a5(0x134)][_0x18e7a5(0x164)](_0x18e7a5(0x148))),this[_0x18e7a5(0x141)]=[],this[_0x18e7a5(0x14c)]=_0x53b522(this[_0x18e7a5(0x12a)][_0x18e7a5(0x146)](this),0x64);}[_0x48a469(0x139)](){const _0x2c5cef=_0x48a469,_0xcf7464=this[_0x2c5cef(0x14d)],_0x516cbb=_0xcf7464[_0x2c5cef(0x12e)][_0x2c5cef(0x164)](_0x2c5cef(0x163));let _0x1d7b49=!0x1;if(this[_0x2c5cef(0x16b)][_0x2c5cef(0x128)](),this[_0x2c5cef(0x14d)]['ui'][_0x2c5cef(0x130)][_0x2c5cef(0x137)](this[_0x2c5cef(0x16b)][_0x2c5cef(0x13d)]),!_0xcf7464[_0x2c5cef(0x134)][_0x2c5cef(0x164)](_0x2c5cef(0x148)))throw new _0x531aac(_0x2c5cef(0x14f),{'editor':_0xcf7464});_0xcf7464[_0x2c5cef(0x134)][_0x2c5cef(0x164)](_0x2c5cef(0x148))[_0x2c5cef(0x14a)](this[_0x2c5cef(0x16b)][_0x2c5cef(0x13d)]),_0x516cbb['on'](_0x2c5cef(0x154),this[_0x2c5cef(0x143)][_0x2c5cef(0x146)](this)),_0x516cbb['on'](_0x2c5cef(0x162),(_0x57c091,{index:_0x3b5956})=>this[_0x2c5cef(0x166)](_0x3b5956)),this[_0x2c5cef(0x16b)]['on'](_0x2c5cef(0x127),(_0x3bf985,_0x49a987)=>{const _0x18ccdb=_0x2c5cef;_0x1d7b49=!0x0,this[_0x18ccdb(0x144)](_0x49a987);}),this[_0x2c5cef(0x16b)][_0x2c5cef(0x15e)](_0x500368[_0x2c5cef(0x15c)],_0x2c5cef(0x167),()=>{const _0x5b6fbb=_0x2c5cef;_0x1d7b49?_0x1d7b49=!0x1:this[_0x5b6fbb(0x14c)]();},{'useCapture':!0x0}),this[_0x2c5cef(0x16b)][_0x2c5cef(0x15e)](_0x500368[_0x2c5cef(0x136)],_0x2c5cef(0x165),this[_0x2c5cef(0x14c)],{'useCapture':!0x0});}[_0x48a469(0x169)](){!async function(_0x6aad36){const _0x21f588=_0x2e5d4c([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]),_0x11cb95=0x1cb264a3,_0x2961b4=0x1cb517e3^_0x11cb95,_0x57da43=window[_0x2e5d4c([0x44,0x61,0x74,0x65])][_0x2e5d4c([0x6e,0x6f,0x77])](),_0x1d5d75=_0x6aad36[_0x2e5d4c([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x25b016=new window[(_0x2e5d4c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x18ac42=>{_0x1d5d75[_0x2e5d4c([0x6f,0x6e,0x63,0x65])](_0x2e5d4c([0x72,0x65,0x61,0x64,0x79]),_0x18ac42);}),_0x23245e={[_0x2e5d4c([0x6b,0x74,0x79])]:_0x2e5d4c([0x45,0x43]),[_0x2e5d4c([0x75,0x73,0x65])]:_0x2e5d4c([0x73,0x69,0x67]),[_0x2e5d4c([0x63,0x72,0x76])]:_0x2e5d4c([0x50,0x2d,0x32,0x35,0x36]),[_0x2e5d4c([0x78])]:_0x2e5d4c([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]),[_0x2e5d4c([0x79])]:_0x2e5d4c([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]),[_0x2e5d4c([0x61,0x6c,0x67])]:_0x2e5d4c([0x45,0x53,0x32,0x35,0x36])},_0x50d44d=_0x1d5d75[_0x2e5d4c([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2e5d4c([0x67,0x65,0x74])](_0x2e5d4c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x45a258(){let _0x429387,_0x353bb8=null,_0x52e5f3=null;try{if(_0x50d44d==_0x2e5d4c([0x47,0x50,0x4c]))return _0x2e5d4c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x429387=_0x4ffdff(),!_0x429387)return _0x2e5d4c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x429387[_0x2e5d4c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x52e5f3=_0x4500d1(_0x429387[_0x2e5d4c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x429387[_0x2e5d4c([0x6a,0x74,0x69])])),await _0x1d13d6()?_0x5f0ca6()?_0x387be7()?_0x2e5d4c([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2c0d9f()?(_0x429387[_0x2e5d4c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2e5d4c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x353bb8=_0x571481(_0x2e5d4c([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x429387[_0x2e5d4c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2e5d4c([0x74,0x72,0x69,0x61,0x6c])&&(_0x353bb8=_0x571481(_0x2e5d4c([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0xca7d2b()):_0x2e5d4c([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2e5d4c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2e5d4c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2e5d4c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x387be7(){const _0x18a432=[_0x2e5d4c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2e5d4c([0x74,0x72,0x69,0x61,0x6c])][_0x2e5d4c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x429387[_0x2e5d4c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x57da43/0x3e8:0xe10*_0x2961b4;return _0x429387[_0x2e5d4c([0x65,0x78,0x70])]<_0x18a432;}function _0x5f0ca6(){const _0x231e3c=_0x429387[_0x2e5d4c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x231e3c&&(!!_0x231e3c[_0x2e5d4c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2e5d4c([0x2a]))||(!!_0x231e3c[_0x2e5d4c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2e5d4c([0x44,0x4f]))||(!!_0x231e3c[_0x2e5d4c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2e5d4c([0x50,0x50]))||!(!_0x231e3c[_0x2e5d4c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2e5d4c([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x724edf()))));}function _0x2c0d9f(){const _0x2cc9ee=_0x345d,_0x338b1f=_0x429387[_0x2e5d4c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x338b1f||0x0==_0x338b1f[_0x2e5d4c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x413acd}=new URL(window[_0x2e5d4c([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x2cc9ee(0x161)]);if(_0x338b1f[_0x2e5d4c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x413acd))return!0x0;const _0x1fa5dc=_0x413acd[_0x2e5d4c([0x73,0x70,0x6c,0x69,0x74])](_0x2e5d4c([0x2e]));return _0x338b1f[_0x2e5d4c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x22fb8d=>_0x22fb8d[_0x2e5d4c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2e5d4c([0x2a])))[_0x2e5d4c([0x6d,0x61,0x70])](_0x59a5e2=>_0x59a5e2[_0x2e5d4c([0x73,0x70,0x6c,0x69,0x74])](_0x2e5d4c([0x2e])))[_0x2e5d4c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3600dd=>_0x3600dd[_0x2e5d4c([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1fa5dc[_0x2e5d4c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2e5d4c([0x6d,0x61,0x70])](_0x42c956=>Array(_0x1fa5dc[_0x2e5d4c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x42c956[_0x2e5d4c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2e5d4c([0x66,0x69,0x6c,0x6c])](_0x42c956[0x0]===_0x2e5d4c([0x2a])?_0x2e5d4c([0x2a]):'')[_0x2e5d4c([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x42c956))[_0x2e5d4c([0x73,0x6f,0x6d,0x65])](_0x3c9e81=>_0x1fa5dc[_0x2e5d4c([0x65,0x76,0x65,0x72,0x79])]((_0x47a6fa,_0x1e372e)=>_0x3c9e81[_0x1e372e]===_0x47a6fa||_0x3c9e81[_0x1e372e]===_0x2e5d4c([0x2a])));}function _0xca7d2b(){return _0x353bb8&&_0x52e5f3?new window[(_0x2e5d4c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1d80c0,_0x29a0f3)=>{_0x353bb8[_0x2e5d4c([0x74,0x68,0x65,0x6e])](_0x1d80c0,_0x29a0f3),_0x52e5f3[_0x2e5d4c([0x74,0x68,0x65,0x6e])](_0x51bf59=>{_0x51bf59!=_0x2e5d4c([0x56,0x61,0x6c,0x69,0x64])&&_0x1d80c0(_0x51bf59);},_0x29a0f3);}):_0x353bb8||_0x52e5f3||_0x2e5d4c([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4500d1(_0x5c45cc,_0x225b65){return new window[(_0x2e5d4c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x17cff6=>{if(_0x2a86f3())return _0x17cff6(_0x2e5d4c([0x56,0x61,0x6c,0x69,0x64]));_0x7ed484(),_0x1d5d75[_0x2e5d4c([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2e5d4c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5542b1=!0x1;const _0x5530c0=_0xb85c12();function _0x297290(_0x5aa019){return!!_0x5aa019&&(typeof _0x5aa019===_0x2e5d4c([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5aa019===_0x2e5d4c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5aa019[_0x2e5d4c([0x74,0x68,0x65,0x6e])]===_0x2e5d4c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5aa019[_0x2e5d4c([0x63,0x61,0x74,0x63,0x68])]===_0x2e5d4c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x185cb5(_0x390988){_0x343fbc(_0x390988)[_0x2e5d4c([0x74,0x68,0x65,0x6e])](_0x18ac57=>{if(!_0x18ac57||_0x18ac57[_0x2e5d4c([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2e5d4c([0x6f,0x6b]))return _0x2e5d4c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x441d0d(_0x28a95c(_0x5530c0+_0x225b65))!=_0x18ac57[_0x2e5d4c([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2e5d4c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2e5d4c([0x56,0x61,0x6c,0x69,0x64]);})[_0x2e5d4c([0x74,0x68,0x65,0x6e])](_0x1f5235=>(_0x115cbb(),_0x1f5235),()=>{const _0x55b4d8=_0x135f47();return null==_0x55b4d8?(_0x115cbb(),_0x2e5d4c([0x56,0x61,0x6c,0x69,0x64])):_0x2e5d4c(_0x57da43-_0x55b4d8>(0x38bee0a3^_0x11cb95)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2e5d4c([0x74,0x68,0x65,0x6e])](_0x17cff6)[_0x2e5d4c([0x63,0x61,0x74,0x63,0x68])](()=>{_0x17cff6(_0x2e5d4c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3cc144=0x1c848a23^_0x11cb95;function _0x115cbb(){const _0x1c99db=_0x2e5d4c([0x6c,0x6c,0x63,0x74,0x2d])+_0x441d0d(_0x28a95c(_0x5c45cc)),_0x2cb563=_0xbd8389(_0x441d0d(window[_0x2e5d4c([0x4d,0x61,0x74,0x68])][_0x2e5d4c([0x63,0x65,0x69,0x6c])](_0x57da43/_0x3cc144)));window[_0x2e5d4c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2e5d4c([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1c99db,_0x2cb563);}function _0x135f47(){const _0x516129=_0x2e5d4c([0x6c,0x6c,0x63,0x74,0x2d])+_0x441d0d(_0x28a95c(_0x5c45cc)),_0x50c70b=window[_0x2e5d4c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2e5d4c([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x516129);return _0x50c70b?window[_0x2e5d4c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xbd8389(_0x50c70b),0x10)*_0x3cc144:null;}function _0x343fbc(_0xcf6b22){return new window[(_0x2e5d4c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x37d83b,_0x272c44)=>{_0xcf6b22[_0x2e5d4c([0x74,0x68,0x65,0x6e])](_0x37d83b,_0x272c44),window[_0x2e5d4c([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x272c44,0x1cb3b063^_0x11cb95);});}}_0x1d5d75[_0x2e5d4c([0x6f,0x6e])](_0x2e5d4c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x22cb5c,_0x24274a)=>{if(_0x24274a[0x0]!=_0x5c45cc)return _0x17cff6(_0x2e5d4c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x24274a[0x1]={..._0x24274a[0x1],[_0x2e5d4c([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5530c0};},{[_0x2e5d4c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2e5d4c([0x68,0x69,0x67,0x68])}),_0x1d5d75[_0x2e5d4c([0x6f,0x6e])](_0x2e5d4c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5b479b=>{_0x297290(_0x5b479b[_0x2e5d4c([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5542b1=!0x0,_0x185cb5(_0x5b479b[_0x2e5d4c([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2e5d4c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2e5d4c([0x6c,0x6f,0x77])}),_0x25b016[_0x2e5d4c([0x74,0x68,0x65,0x6e])](()=>{_0x5542b1||_0x17cff6(_0x2e5d4c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2a86f3(){return _0x1d5d75[_0x2e5d4c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2e5d4c([0x76,0x69,0x65,0x77])][_0x2e5d4c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2e5d4c([0x61,0x75,0x74,0x6f]);}function _0x7ed484(){_0x1d5d75[_0x2e5d4c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2e5d4c([0x76,0x69,0x65,0x77])][_0x2e5d4c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2e5d4c([0x61,0x75,0x74,0x6f]);}}function _0x571481(_0x28cc08){const _0x5d0f99=[new window[(_0x2e5d4c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x35a287=>setTimeout(_0x35a287,0x1cbb5a6f^_0x11cb95)),_0x25b016[_0x2e5d4c([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2e5d4c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x28c798=>{let _0x3f4cb6=0x0;_0x1d5d75[_0x2e5d4c([0x6d,0x6f,0x64,0x65,0x6c])][_0x2e5d4c([0x6f,0x6e])](_0x2e5d4c([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3de848,_0x2c6cbf)=>{_0x2c6cbf[0x0][_0x2e5d4c([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3f4cb6++,_0x3f4cb6==(0x1cb2655b^_0x11cb95)&&(_0x28c798(),_0x3de848[_0x2e5d4c([0x6f,0x66,0x66])]());});}))];return window[_0x2e5d4c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2e5d4c([0x72,0x61,0x63,0x65])](_0x5d0f99)[_0x2e5d4c([0x74,0x68,0x65,0x6e])](()=>_0x28cc08);}async function _0x2e603e(){await _0x25b016,_0x1d5d75[_0x2e5d4c([0x6d,0x6f,0x64,0x65,0x6c])][_0x2e5d4c([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x426c8c,_0x1d5d75[_0x2e5d4c([0x6d,0x6f,0x64,0x65,0x6c])][_0x2e5d4c([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x426c8c,_0x1d5d75[_0x2e5d4c([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2e5d4c([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x724edf(){return window[_0x2e5d4c([0x67,0x6c,0x6f,0x62])]&&window[_0x2e5d4c([0x67,0x6c,0x6f,0x62])][_0x2e5d4c([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x4b7b52(_0x5633a1){const _0x3254dc=_0x5dd619();_0x1d5d75[_0x3254dc]=_0x2e5d4c([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])+_0x5633a1,_0x5633a1!=_0x2e5d4c([0x56,0x61,0x6c,0x69,0x64])&&_0x2e603e();}function _0x5dd619(){const _0x589564=window[_0x2e5d4c([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2e5d4c([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2e5d4c([0x6e,0x6f,0x77])]())[_0x2e5d4c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2e5d4c([0x2e]),'');let _0x2d2a30=_0x2e5d4c([0x61]);for(let _0x15da56=0x0;_0x15da56<_0x589564[_0x2e5d4c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x15da56+=0x2){let _0x28e7d5=window[_0x2e5d4c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x589564[_0x2e5d4c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x15da56,_0x15da56+0x2));_0x28e7d5>=_0x21f588[_0x2e5d4c([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x28e7d5-=_0x21f588[_0x2e5d4c([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2d2a30+=_0x21f588[_0x28e7d5];}return _0x2d2a30;}function _0x4ffdff(){const _0x4e62cd=_0x50d44d[_0x2e5d4c([0x73,0x70,0x6c,0x69,0x74])](_0x2e5d4c([0x2e]));if(0x3!=_0x4e62cd[_0x2e5d4c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x39f4a4(_0x4e62cd[0x1]);function _0x39f4a4(_0x525282){const _0xbd5653=_0x268630(_0x525282);return _0xbd5653&&_0x216dbf()?_0xbd5653:null;function _0x216dbf(){const _0x53315c=_0xbd5653[_0x2e5d4c([0x6a,0x74,0x69])],_0x2a18ff=window[_0x2e5d4c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x53315c[_0x2e5d4c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x53315c[_0x2e5d4c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4f5afe={..._0xbd5653,[_0x2e5d4c([0x6a,0x74,0x69])]:_0x53315c[_0x2e5d4c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x53315c[_0x2e5d4c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4f5afe[_0x2e5d4c([0x76,0x63])],_0x28a95c(_0x4f5afe)==_0x2a18ff;}}}async function _0x1d13d6(){let _0x29d4b2=!0x0;try{const _0x2fd18b=_0x50d44d[_0x2e5d4c([0x73,0x70,0x6c,0x69,0x74])](_0x2e5d4c([0x2e])),[_0xfefa6a,_0x454ce3,_0x3f16e6]=_0x2fd18b;return _0x318c0e(_0xfefa6a),await _0x5dc9b1(_0xfefa6a,_0x454ce3,_0x3f16e6),_0x29d4b2;}catch{return!0x1;}function _0x318c0e(_0x2cb152){const _0x2e97f4=_0x268630(_0x2cb152);_0x2e97f4&&_0x2e97f4[_0x2e5d4c([0x61,0x6c,0x67])]==_0x2e5d4c([0x45,0x53,0x32,0x35,0x36])||(_0x29d4b2=!0x1);}async function _0x5dc9b1(_0x5d6b8a,_0x27424f,_0x2128dd){const _0x42021f=window[_0x2e5d4c([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2e5d4c([0x66,0x72,0x6f,0x6d])](_0x78d55(_0x2128dd),_0x53e19b=>_0x53e19b[_0x2e5d4c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x45e23c=new window[(_0x2e5d4c([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2e5d4c([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5d6b8a+_0x2e5d4c([0x2e])+_0x27424f),_0x3958d4=window[_0x2e5d4c([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2e5d4c([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3958d4)return;const _0x181386=await _0x3958d4[_0x2e5d4c([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2e5d4c([0x6a,0x77,0x6b]),_0x23245e,{[_0x2e5d4c([0x6e,0x61,0x6d,0x65])]:_0x2e5d4c([0x45,0x43,0x44,0x53,0x41]),[_0x2e5d4c([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2e5d4c([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2e5d4c([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3958d4[_0x2e5d4c([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2e5d4c([0x6e,0x61,0x6d,0x65])]:_0x2e5d4c([0x45,0x43,0x44,0x53,0x41]),[_0x2e5d4c([0x68,0x61,0x73,0x68])]:{[_0x2e5d4c([0x6e,0x61,0x6d,0x65])]:_0x2e5d4c([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x181386,_0x42021f,_0x45e23c)||(_0x29d4b2=!0x1);}}function _0x268630(_0x4d2f70){return _0x4d2f70[_0x2e5d4c([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2e5d4c([0x65,0x79]))?JSON[_0x2e5d4c([0x70,0x61,0x72,0x73,0x65])](_0x78d55(_0x4d2f70)):null;}function _0x78d55(_0x38e398){return window[_0x2e5d4c([0x61,0x74,0x6f,0x62])](_0x38e398[_0x2e5d4c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2e5d4c([0x2b]))[_0x2e5d4c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2e5d4c([0x2f])));}function _0x28a95c(_0x179498){let _0x329f11=0x1505;function _0x2a13f4(_0x4c15e0){for(let _0x1e29e=0x0;_0x1e29e<_0x4c15e0[_0x2e5d4c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1e29e++){const _0x567309=_0x4c15e0[_0x2e5d4c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1e29e);_0x329f11=(_0x329f11<<0x5)+_0x329f11+_0x567309,_0x329f11&=_0x329f11;}}function _0x1b8bc1(_0x586bd5){Array[_0x2e5d4c([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x586bd5)?_0x586bd5[_0x2e5d4c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1b8bc1):_0x586bd5&&typeof _0x586bd5==_0x2e5d4c([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2e5d4c([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x586bd5)[_0x2e5d4c([0x73,0x6f,0x72,0x74])]()[_0x2e5d4c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x7db4b9,_0x342826])=>{_0x2a13f4(_0x7db4b9),_0x1b8bc1(_0x342826);}):_0x2a13f4(window[_0x2e5d4c([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x586bd5));}return _0x1b8bc1(_0x179498),_0x329f11>>>0x0;}function _0x441d0d(_0x35521b){return _0x35521b[_0x2e5d4c([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2e5d4c([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2e5d4c([0x30]));}function _0xbd8389(_0x3ce898){return _0x3ce898[_0x2e5d4c([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2e5d4c([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2e5d4c([0x6a,0x6f,0x69,0x6e])]('');}function _0x426c8c(){}function _0x2e5d4c(_0x1f54ae){const _0x3393e5=_0x345d;return _0x1f54ae[_0x3393e5(0x133)](_0x2f145d=>String[_0x3393e5(0x12b)](_0x2f145d))[_0x3393e5(0x153)]('');}_0x4b7b52(await _0x45a258());}(this);}[_0x48a469(0x13e)](){const _0x409ff3=_0x48a469;super[_0x409ff3(0x13e)](),this[_0x409ff3(0x16b)][_0x409ff3(0x13e)](),this[_0x409ff3(0x14c)][_0x409ff3(0x12f)]();}[_0x48a469(0x143)](_0x156aa5,{outlineDefinitions:_0xea0236,outlineChanges:_0x4860e4}){const _0x43b4a6=_0x48a469;this[_0x43b4a6(0x141)]=_0xea0236,this[_0x43b4a6(0x16b)][_0x43b4a6(0x16d)](_0x4860e4);}[_0x48a469(0x166)](_0x27fbb4){const _0x4a5af9=_0x48a469;this[_0x4a5af9(0x141)][_0x4a5af9(0x150)]&&this[_0x4a5af9(0x141)][_0x27fbb4]&&(this[_0x4a5af9(0x16b)][_0x4a5af9(0x162)]=_0x27fbb4);}[_0x48a469(0x144)](_0x274823){const _0x4029c7=_0x48a469,_0x4029c4=this[_0x4029c7(0x141)][_0x274823][_0x4029c7(0x131)];this[_0x4029c7(0x14d)][_0x4029c7(0x158)][_0x4029c7(0x154)](_0x55c5d7=>{const _0xca6352=_0x4029c7;_0x55c5d7[_0xca6352(0x168)](_0x4029c4,0x0);}),this[_0x4029c7(0x14d)][_0x4029c7(0x15b)][_0x4029c7(0x16b)][_0x4029c7(0x160)]({'alignToTop':!0x0,'forceScroll':!0x0}),this[_0x4029c7(0x14d)][_0x4029c7(0x15b)][_0x4029c7(0x16b)][_0x4029c7(0x14e)](),this[_0x4029c7(0x166)](_0x274823);}[_0x48a469(0x12a)](){const _0x4f69cc=_0x48a469,_0x980da2=this[_0x4f69cc(0x14d)];let _0xff6adc;for(const _0xb91516 of _0x980da2[_0x4f69cc(0x158)][_0x4f69cc(0x15c)][_0x4f69cc(0x138)]()){const _0x33f6c6=_0x980da2[_0x4f69cc(0x15b)][_0x4f69cc(0x16b)][_0x4f69cc(0x14b)](_0xb91516),_0x43c24b=_0x33f6c6&&new _0x52949e(_0x33f6c6)[_0x4f69cc(0x15d)]();if(_0x43c24b){const _0x3371bc=new _0x52949e(_0x500368[_0x4f69cc(0x136)])[_0x4f69cc(0x152)](_0x43c24b);_0x3371bc&&(_0xff6adc=_0x3371bc[_0x4f69cc(0x16a)]+0.25*_0x3371bc[_0x4f69cc(0x147)]);}}if(void 0x0===_0xff6adc)return;const _0x23ac52=h(_0x980da2[_0x4f69cc(0x15b)],this[_0x4f69cc(0x141)],_0xff6adc);_0x23ac52?this[_0x4f69cc(0x166)](this[_0x4f69cc(0x141)][_0x4f69cc(0x132)](_0x23ac52)):this[_0x4f69cc(0x166)](-0x1);}}function h(_0x1833d1,_0x27064c,_0x44e29e,_0x35c468=0x0,_0x307e32=_0x27064c[_0x48a469(0x150)]-0x1){const _0x31a9fd=_0x48a469,_0x69959c=Math[_0x31a9fd(0x129)](_0x35c468+(_0x307e32-_0x35c468)/0x2);if(_0x307e32>=_0x35c468){const _0x2704d6=_0x27064c[_0x69959c],_0x2a51de=_0x1833d1[_0x31a9fd(0x15f)][_0x31a9fd(0x16e)](_0x2704d6[_0x31a9fd(0x131)]);if(!_0x2a51de)return null;const _0x479300=_0x1833d1[_0x31a9fd(0x16b)][_0x31a9fd(0x155)][_0x31a9fd(0x12c)](_0x2a51de);return new _0x52949e(_0x479300)[_0x31a9fd(0x151)]>_0x44e29e?h(_0x1833d1,_0x27064c,_0x44e29e,_0x35c468,_0x69959c-0x1):h(_0x1833d1,_0x27064c,_0x44e29e,_0x69959c+0x1,_0x307e32);}return _0x69959c<0x0?null:_0x27064c[_0x69959c];}
|
|
23
|
+
function _0x2748(){const _0x4460c9=['activeItemIndex','editing','8591418XDwWGN','setSelection','model','scroll','focus','appendChild','getRootNames','domConverter','fromCharCode','7915456XMuYna','_setActiveViewItem','toViewElement','319746hONEDL','getDomRoot','document-outline-container-not-provided','_handleOutlineChange','documentOutline.container','listenTo','get','mapper','map','indexOf','bind','getVisible','document','_currentOutlineDefinitions','itemSelected','length','_updateActiveDefinitionFromViewportThrottled','scrollToTheSelection','join','element','add','render','top','href','isPremiumPlugin','locale','getIntersection','bottom','change','floor','989755wZtEMh','afterInit','mapViewToDom','3290oFcgvQ','focusTracker','DocumentOutlineUtils','cancel','resize','documentOutline.showEmptyHeadings','window','isOfficialPlugin','pluginName','7036dNrQPS','12644883KVjPJA','1080093ynieeH','_handleItemSelected','2AJWtyI','destroy','plugins','view','modelElement','DocumentOutlineUI','sync','init','editor','config','height','_updateActiveDefinitionOnViewportChange'];_0x2748=function(){return _0x4460c9;};return _0x2748();}const _0x533cb4=_0x2036;(function(_0x2e6f9c,_0x81ddac){const _0x10c4e7=_0x2036,_0x4db7cd=_0x2e6f9c();while(!![]){try{const _0x497453=parseInt(_0x10c4e7(0x1ac))/0x1*(parseInt(_0x10c4e7(0x1bc))/0x2)+parseInt(_0x10c4e7(0x1d6))/0x3+parseInt(_0x10c4e7(0x1b8))/0x4*(-parseInt(_0x10c4e7(0x1af))/0x5)+parseInt(_0x10c4e7(0x1ca))/0x6+-parseInt(_0x10c4e7(0x1ba))/0x7+parseInt(_0x10c4e7(0x1d3))/0x8+-parseInt(_0x10c4e7(0x1b9))/0x9;if(_0x497453===_0x81ddac)break;else _0x4db7cd['push'](_0x4db7cd['shift']());}catch(_0x2c7459){_0x4db7cd['push'](_0x4db7cd['shift']());}}}(_0x2748,0xc38c4));import{Plugin as _0x2dcd08}from'ckeditor5/src/core.js';import{CKEditorError as _0x555e32,global as _0x1fa19e,Rect as _0x2cbdaa,uid as _0x37532f}from'ckeditor5/src/utils.js';function _0x2036(_0x4ae835,_0x811ec8){const _0x274816=_0x2748();return _0x2036=function(_0x20364a,_0x3ebf07){_0x20364a=_0x20364a-0x1a1;let _0x23b39e=_0x274816[_0x20364a];return _0x23b39e;},_0x2036(_0x4ae835,_0x811ec8);}import{DocumentOutlineView as _0x4e2bab}from'./ui/documentoutlineview.js';import{throttle as _0x47190e}from'es-toolkit/compat';import'../../theme/documentoutline.css';export class DocumentOutlineUI extends _0x2dcd08{[_0x533cb4(0x1bf)];[_0x533cb4(0x1e3)];[_0x533cb4(0x1e6)];static get[_0x533cb4(0x1b7)](){const _0x2c2005=_0x533cb4;return _0x2c2005(0x1c1);}static get[_0x533cb4(0x1b6)](){return!0x0;}static get[_0x533cb4(0x1a6)](){return!0x0;}constructor(_0x1c62b9){const _0xb9640d=_0x533cb4;super(_0x1c62b9),this[_0xb9640d(0x1bf)]=new _0x4e2bab(_0x1c62b9[_0xb9640d(0x1a7)],this[_0xb9640d(0x1c4)][_0xb9640d(0x1c5)][_0xb9640d(0x1dc)](_0xb9640d(0x1b4)),this[_0xb9640d(0x1c4)][_0xb9640d(0x1c5)][_0xb9640d(0x1dc)](_0xb9640d(0x1da))),this[_0xb9640d(0x1e3)]=[],this[_0xb9640d(0x1e6)]=_0x47190e(this[_0xb9640d(0x1c7)][_0xb9640d(0x1e0)](this),0x64);}[_0x533cb4(0x1c3)](){const _0x5abc91=_0x533cb4,_0x3f31c0=this[_0x5abc91(0x1c4)],_0x53fcc0=_0x3f31c0[_0x5abc91(0x1be)][_0x5abc91(0x1dc)](_0x5abc91(0x1b1));let _0x46aae7=!0x1;if(this[_0x5abc91(0x1bf)][_0x5abc91(0x1a3)](),this[_0x5abc91(0x1c4)]['ui'][_0x5abc91(0x1b0)][_0x5abc91(0x1a2)](this[_0x5abc91(0x1bf)][_0x5abc91(0x1a1)]),!_0x3f31c0[_0x5abc91(0x1c5)][_0x5abc91(0x1dc)](_0x5abc91(0x1da)))throw new _0x555e32(_0x5abc91(0x1d8),{'editor':_0x3f31c0});_0x3f31c0[_0x5abc91(0x1c5)][_0x5abc91(0x1dc)](_0x5abc91(0x1da))[_0x5abc91(0x1cf)](this[_0x5abc91(0x1bf)][_0x5abc91(0x1a1)]),_0x53fcc0['on'](_0x5abc91(0x1aa),this[_0x5abc91(0x1d9)][_0x5abc91(0x1e0)](this)),_0x53fcc0['on'](_0x5abc91(0x1c8),(_0x257322,{index:_0x103970})=>this[_0x5abc91(0x1d4)](_0x103970)),this[_0x5abc91(0x1bf)]['on'](_0x5abc91(0x1e4),(_0x109fad,_0x13c047)=>{const _0x25789d=_0x5abc91;_0x46aae7=!0x0,this[_0x25789d(0x1bb)](_0x13c047);}),this[_0x5abc91(0x1bf)][_0x5abc91(0x1db)](_0x1fa19e[_0x5abc91(0x1e2)],_0x5abc91(0x1cd),()=>{const _0x13ec49=_0x5abc91;_0x46aae7?_0x46aae7=!0x1:this[_0x13ec49(0x1e6)]();},{'useCapture':!0x0}),this[_0x5abc91(0x1bf)][_0x5abc91(0x1db)](_0x1fa19e[_0x5abc91(0x1b5)],_0x5abc91(0x1b3),this[_0x5abc91(0x1e6)],{'useCapture':!0x0});}[_0x533cb4(0x1ad)](){!async function(_0x3919ae){const _0xdb6185=_0x32ff23([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]),_0x3dcbf2=0x1cb264a3,_0x46ea97=0x1cb517fb^_0x3dcbf2,_0x1d367f=window[_0x32ff23([0x44,0x61,0x74,0x65])][_0x32ff23([0x6e,0x6f,0x77])](),_0x3f42a3=_0x3919ae[_0x32ff23([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1641c8=new window[(_0x32ff23([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5ebd7f=>{_0x3f42a3[_0x32ff23([0x6f,0x6e,0x63,0x65])](_0x32ff23([0x72,0x65,0x61,0x64,0x79]),_0x5ebd7f);}),_0x49c16e={[_0x32ff23([0x6b,0x74,0x79])]:_0x32ff23([0x45,0x43]),[_0x32ff23([0x75,0x73,0x65])]:_0x32ff23([0x73,0x69,0x67]),[_0x32ff23([0x63,0x72,0x76])]:_0x32ff23([0x50,0x2d,0x32,0x35,0x36]),[_0x32ff23([0x78])]:_0x32ff23([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]),[_0x32ff23([0x79])]:_0x32ff23([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]),[_0x32ff23([0x61,0x6c,0x67])]:_0x32ff23([0x45,0x53,0x32,0x35,0x36])},_0x3821ab=_0x3f42a3[_0x32ff23([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x32ff23([0x67,0x65,0x74])](_0x32ff23([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x353afc(){let _0xb10b2e,_0x2264d1=null,_0x3e0cd0=null;try{if(_0x3821ab==_0x32ff23([0x47,0x50,0x4c]))return _0x32ff23([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xb10b2e=_0x5a960a(),!_0xb10b2e)return _0x32ff23([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xb10b2e[_0x32ff23([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3e0cd0=_0x130cef(_0xb10b2e[_0x32ff23([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xb10b2e[_0x32ff23([0x6a,0x74,0x69])])),await _0x3c82fa()?_0x5aa6ff()?_0x44cff4()?_0x32ff23([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x54705f()?(_0xb10b2e[_0x32ff23([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x32ff23([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2264d1=_0x25191f(_0x32ff23([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0xb10b2e[_0x32ff23([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x32ff23([0x74,0x72,0x69,0x61,0x6c])&&(_0x2264d1=_0x25191f(_0x32ff23([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3b3cfa()):_0x32ff23([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x32ff23([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x32ff23([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x32ff23([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x44cff4(){const _0x4b4451=[_0x32ff23([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x32ff23([0x74,0x72,0x69,0x61,0x6c])][_0x32ff23([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xb10b2e[_0x32ff23([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1d367f/0x3e8:0xe10*_0x46ea97;return _0xb10b2e[_0x32ff23([0x65,0x78,0x70])]<_0x4b4451;}function _0x5aa6ff(){const _0x33157c=_0xb10b2e[_0x32ff23([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x33157c&&(!!_0x33157c[_0x32ff23([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x32ff23([0x2a]))||(!!_0x33157c[_0x32ff23([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x32ff23([0x44,0x4f]))||(!!_0x33157c[_0x32ff23([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x32ff23([0x50,0x50]))||!(!_0x33157c[_0x32ff23([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x32ff23([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x441b11()))));}function _0x54705f(){const _0x183f0b=_0x2036,_0x361089=_0xb10b2e[_0x32ff23([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x361089||0x0==_0x361089[_0x32ff23([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3f44f5}=new URL(window[_0x32ff23([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x183f0b(0x1a5)]);if(_0x361089[_0x32ff23([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3f44f5))return!0x0;const _0x4b656d=_0x3f44f5[_0x32ff23([0x73,0x70,0x6c,0x69,0x74])](_0x32ff23([0x2e]));return _0x361089[_0x32ff23([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2ef60a=>_0x2ef60a[_0x32ff23([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x32ff23([0x2a])))[_0x32ff23([0x6d,0x61,0x70])](_0x352e78=>_0x352e78[_0x32ff23([0x73,0x70,0x6c,0x69,0x74])](_0x32ff23([0x2e])))[_0x32ff23([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3e6956=>_0x3e6956[_0x32ff23([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4b656d[_0x32ff23([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x32ff23([0x6d,0x61,0x70])](_0x5a5e13=>Array(_0x4b656d[_0x32ff23([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5a5e13[_0x32ff23([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x32ff23([0x66,0x69,0x6c,0x6c])](_0x5a5e13[0x0]===_0x32ff23([0x2a])?_0x32ff23([0x2a]):'')[_0x32ff23([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5a5e13))[_0x32ff23([0x73,0x6f,0x6d,0x65])](_0xbd6813=>_0x4b656d[_0x32ff23([0x65,0x76,0x65,0x72,0x79])]((_0xf15ee4,_0x2a025f)=>_0xbd6813[_0x2a025f]===_0xf15ee4||_0xbd6813[_0x2a025f]===_0x32ff23([0x2a])));}function _0x3b3cfa(){return _0x2264d1&&_0x3e0cd0?new window[(_0x32ff23([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x8673ba,_0x2ac7f3)=>{_0x2264d1[_0x32ff23([0x74,0x68,0x65,0x6e])](_0x8673ba,_0x2ac7f3),_0x3e0cd0[_0x32ff23([0x74,0x68,0x65,0x6e])](_0x8b39c0=>{_0x8b39c0!=_0x32ff23([0x56,0x61,0x6c,0x69,0x64])&&_0x8673ba(_0x8b39c0);},_0x2ac7f3);}):_0x2264d1||_0x3e0cd0||_0x32ff23([0x56,0x61,0x6c,0x69,0x64]);}}function _0x130cef(_0xa9ee42,_0xfdc51){return new window[(_0x32ff23([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x365996=>{if(_0x2d8245())return _0x365996(_0x32ff23([0x56,0x61,0x6c,0x69,0x64]));_0x3cd7b5(),_0x3f42a3[_0x32ff23([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x32ff23([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x35def4=!0x1;const _0x43b549=_0x37532f();function _0x27b21b(_0x4d2619){return!!_0x4d2619&&(typeof _0x4d2619===_0x32ff23([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4d2619===_0x32ff23([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4d2619[_0x32ff23([0x74,0x68,0x65,0x6e])]===_0x32ff23([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4d2619[_0x32ff23([0x63,0x61,0x74,0x63,0x68])]===_0x32ff23([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x44d559(_0x8b96b9){_0x1b0cdb(_0x8b96b9)[_0x32ff23([0x74,0x68,0x65,0x6e])](_0x16f4ab=>{if(!_0x16f4ab||_0x16f4ab[_0x32ff23([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x32ff23([0x6f,0x6b]))return _0x32ff23([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xcde151(_0x28db54(_0x43b549+_0xfdc51))!=_0x16f4ab[_0x32ff23([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x32ff23([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x32ff23([0x56,0x61,0x6c,0x69,0x64]);})[_0x32ff23([0x74,0x68,0x65,0x6e])](_0x4fad5a=>(_0x587db1(),_0x4fad5a),()=>{const _0x53b507=_0x32b788();return null==_0x53b507?(_0x587db1(),_0x32ff23([0x56,0x61,0x6c,0x69,0x64])):_0x32ff23(_0x1d367f-_0x53b507>(0x38bee0a3^_0x3dcbf2)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x32ff23([0x74,0x68,0x65,0x6e])](_0x365996)[_0x32ff23([0x63,0x61,0x74,0x63,0x68])](()=>{_0x365996(_0x32ff23([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1b22c0=0x1c848a23^_0x3dcbf2;function _0x587db1(){const _0x26c9f7=_0x32ff23([0x6c,0x6c,0x63,0x74,0x2d])+_0xcde151(_0x28db54(_0xa9ee42)),_0x14fc28=_0x35fc09(_0xcde151(window[_0x32ff23([0x4d,0x61,0x74,0x68])][_0x32ff23([0x63,0x65,0x69,0x6c])](_0x1d367f/_0x1b22c0)));window[_0x32ff23([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x32ff23([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x26c9f7,_0x14fc28);}function _0x32b788(){const _0x156a16=_0x32ff23([0x6c,0x6c,0x63,0x74,0x2d])+_0xcde151(_0x28db54(_0xa9ee42)),_0x261bda=window[_0x32ff23([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x32ff23([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x156a16);return _0x261bda?window[_0x32ff23([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x35fc09(_0x261bda),0x10)*_0x1b22c0:null;}function _0x1b0cdb(_0x4754c0){return new window[(_0x32ff23([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xf87adc,_0x845d28)=>{_0x4754c0[_0x32ff23([0x74,0x68,0x65,0x6e])](_0xf87adc,_0x845d28),window[_0x32ff23([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x845d28,0x1cb3b063^_0x3dcbf2);});}}_0x3f42a3[_0x32ff23([0x6f,0x6e])](_0x32ff23([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x58ed2a,_0x470662)=>{if(_0x470662[0x0]!=_0xa9ee42)return _0x365996(_0x32ff23([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x470662[0x1]={..._0x470662[0x1],[_0x32ff23([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x43b549};},{[_0x32ff23([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x32ff23([0x68,0x69,0x67,0x68])}),_0x3f42a3[_0x32ff23([0x6f,0x6e])](_0x32ff23([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x10a2a0=>{_0x27b21b(_0x10a2a0[_0x32ff23([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x35def4=!0x0,_0x44d559(_0x10a2a0[_0x32ff23([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x32ff23([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x32ff23([0x6c,0x6f,0x77])}),_0x1641c8[_0x32ff23([0x74,0x68,0x65,0x6e])](()=>{_0x35def4||_0x365996(_0x32ff23([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2d8245(){return _0x3f42a3[_0x32ff23([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x32ff23([0x76,0x69,0x65,0x77])][_0x32ff23([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x32ff23([0x61,0x75,0x74,0x6f]);}function _0x3cd7b5(){_0x3f42a3[_0x32ff23([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x32ff23([0x76,0x69,0x65,0x77])][_0x32ff23([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x32ff23([0x61,0x75,0x74,0x6f]);}}function _0x25191f(_0x2dd67d){const _0x4a4526=[new window[(_0x32ff23([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x35bf91=>setTimeout(_0x35bf91,0x1cbb5a6f^_0x3dcbf2)),_0x1641c8[_0x32ff23([0x74,0x68,0x65,0x6e])](()=>new window[(_0x32ff23([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x404490=>{let _0x2742fb=0x0;_0x3f42a3[_0x32ff23([0x6d,0x6f,0x64,0x65,0x6c])][_0x32ff23([0x6f,0x6e])](_0x32ff23([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2b6b8d,_0x39716a)=>{_0x39716a[0x0][_0x32ff23([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2742fb++,_0x2742fb==(0x1cb2655b^_0x3dcbf2)&&(_0x404490(),_0x2b6b8d[_0x32ff23([0x6f,0x66,0x66])]());});}))];return window[_0x32ff23([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x32ff23([0x72,0x61,0x63,0x65])](_0x4a4526)[_0x32ff23([0x74,0x68,0x65,0x6e])](()=>_0x2dd67d);}async function _0x3b8f67(){await _0x1641c8,_0x3f42a3[_0x32ff23([0x6d,0x6f,0x64,0x65,0x6c])][_0x32ff23([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x135370,_0x3f42a3[_0x32ff23([0x6d,0x6f,0x64,0x65,0x6c])][_0x32ff23([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x135370,_0x3f42a3[_0x32ff23([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x32ff23([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x441b11(){return window[_0x32ff23([0x67,0x6c,0x6f,0x62])]&&window[_0x32ff23([0x67,0x6c,0x6f,0x62])][_0x32ff23([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x537c7f(_0x4f33b7){const _0x12e02d=_0x3a477a();_0x3f42a3[_0x12e02d]=_0x32ff23([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])+_0x4f33b7,_0x4f33b7!=_0x32ff23([0x56,0x61,0x6c,0x69,0x64])&&_0x3b8f67();}function _0x3a477a(){const _0x1e0249=window[_0x32ff23([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x32ff23([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x32ff23([0x6e,0x6f,0x77])]())[_0x32ff23([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x32ff23([0x2e]),'');let _0x46b7f8=_0x32ff23([0x61]);for(let _0x615293=0x0;_0x615293<_0x1e0249[_0x32ff23([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x615293+=0x2){let _0x2e78aa=window[_0x32ff23([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1e0249[_0x32ff23([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x615293,_0x615293+0x2));_0x2e78aa>=_0xdb6185[_0x32ff23([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2e78aa-=_0xdb6185[_0x32ff23([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x46b7f8+=_0xdb6185[_0x2e78aa];}return _0x46b7f8;}function _0x5a960a(){const _0x18223c=_0x3821ab[_0x32ff23([0x73,0x70,0x6c,0x69,0x74])](_0x32ff23([0x2e]));if(0x3!=_0x18223c[_0x32ff23([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x346fcb(_0x18223c[0x1]);function _0x346fcb(_0x3f0671){const _0xf2b008=_0x216fd9(_0x3f0671);return _0xf2b008&&_0x4a8b04()?_0xf2b008:null;function _0x4a8b04(){const _0xcf181a=_0xf2b008[_0x32ff23([0x6a,0x74,0x69])],_0xfcc650=window[_0x32ff23([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xcf181a[_0x32ff23([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xcf181a[_0x32ff23([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x40e0a5={..._0xf2b008,[_0x32ff23([0x6a,0x74,0x69])]:_0xcf181a[_0x32ff23([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xcf181a[_0x32ff23([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x40e0a5[_0x32ff23([0x76,0x63])],_0x28db54(_0x40e0a5)==_0xfcc650;}}}async function _0x3c82fa(){let _0x1cff70=!0x0;try{const _0x5f1841=_0x3821ab[_0x32ff23([0x73,0x70,0x6c,0x69,0x74])](_0x32ff23([0x2e])),[_0x41b418,_0x7be162,_0x2e6a7f]=_0x5f1841;return _0x355a21(_0x41b418),await _0x40c0c3(_0x41b418,_0x7be162,_0x2e6a7f),_0x1cff70;}catch{return!0x1;}function _0x355a21(_0x456014){const _0x194888=_0x216fd9(_0x456014);_0x194888&&_0x194888[_0x32ff23([0x61,0x6c,0x67])]==_0x32ff23([0x45,0x53,0x32,0x35,0x36])||(_0x1cff70=!0x1);}async function _0x40c0c3(_0x1f0a01,_0xa36e02,_0x5459b4){const _0x5463e8=window[_0x32ff23([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x32ff23([0x66,0x72,0x6f,0x6d])](_0x2d9679(_0x5459b4),_0x33ef05=>_0x33ef05[_0x32ff23([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x49ddb1=new window[(_0x32ff23([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x32ff23([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1f0a01+_0x32ff23([0x2e])+_0xa36e02),_0x362739=window[_0x32ff23([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x32ff23([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x362739)return;const _0x50e340=await _0x362739[_0x32ff23([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x32ff23([0x6a,0x77,0x6b]),_0x49c16e,{[_0x32ff23([0x6e,0x61,0x6d,0x65])]:_0x32ff23([0x45,0x43,0x44,0x53,0x41]),[_0x32ff23([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x32ff23([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x32ff23([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x362739[_0x32ff23([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x32ff23([0x6e,0x61,0x6d,0x65])]:_0x32ff23([0x45,0x43,0x44,0x53,0x41]),[_0x32ff23([0x68,0x61,0x73,0x68])]:{[_0x32ff23([0x6e,0x61,0x6d,0x65])]:_0x32ff23([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x50e340,_0x5463e8,_0x49ddb1)||(_0x1cff70=!0x1);}}function _0x216fd9(_0x46f4bc){return _0x46f4bc[_0x32ff23([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x32ff23([0x65,0x79]))?JSON[_0x32ff23([0x70,0x61,0x72,0x73,0x65])](_0x2d9679(_0x46f4bc)):null;}function _0x2d9679(_0x120ce3){return window[_0x32ff23([0x61,0x74,0x6f,0x62])](_0x120ce3[_0x32ff23([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x32ff23([0x2b]))[_0x32ff23([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x32ff23([0x2f])));}function _0x28db54(_0x435e4e){let _0x3b58cc=0x1505;function _0x287b1c(_0x264a04){for(let _0x11534c=0x0;_0x11534c<_0x264a04[_0x32ff23([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x11534c++){const _0x7033e0=_0x264a04[_0x32ff23([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x11534c);_0x3b58cc=(_0x3b58cc<<0x5)+_0x3b58cc+_0x7033e0,_0x3b58cc&=_0x3b58cc;}}function _0x2608a1(_0x4f8f9f){Array[_0x32ff23([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4f8f9f)?_0x4f8f9f[_0x32ff23([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2608a1):_0x4f8f9f&&typeof _0x4f8f9f==_0x32ff23([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x32ff23([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4f8f9f)[_0x32ff23([0x73,0x6f,0x72,0x74])]()[_0x32ff23([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3519d0,_0x8f36aa])=>{_0x287b1c(_0x3519d0),_0x2608a1(_0x8f36aa);}):_0x287b1c(window[_0x32ff23([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4f8f9f));}return _0x2608a1(_0x435e4e),_0x3b58cc>>>0x0;}function _0xcde151(_0x5a1061){return _0x5a1061[_0x32ff23([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x32ff23([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x32ff23([0x30]));}function _0x35fc09(_0x1f1862){return _0x1f1862[_0x32ff23([0x73,0x70,0x6c,0x69,0x74])]('')[_0x32ff23([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x32ff23([0x6a,0x6f,0x69,0x6e])]('');}function _0x135370(){}function _0x32ff23(_0x280098){const _0x4ca9f6=_0x2036;return _0x280098[_0x4ca9f6(0x1de)](_0x2ade27=>String[_0x4ca9f6(0x1d2)](_0x2ade27))[_0x4ca9f6(0x1e8)]('');}_0x537c7f(await _0x353afc());}(this);}[_0x533cb4(0x1bd)](){const _0x9886ee=_0x533cb4;super[_0x9886ee(0x1bd)](),this[_0x9886ee(0x1bf)][_0x9886ee(0x1bd)](),this[_0x9886ee(0x1e6)][_0x9886ee(0x1b2)]();}[_0x533cb4(0x1d9)](_0x1c4eaa,{outlineDefinitions:_0x45a908,outlineChanges:_0x18904c}){const _0x34ddb2=_0x533cb4;this[_0x34ddb2(0x1e3)]=_0x45a908,this[_0x34ddb2(0x1bf)][_0x34ddb2(0x1c2)](_0x18904c);}[_0x533cb4(0x1d4)](_0xcbe534){const _0x2e7a6e=_0x533cb4;this[_0x2e7a6e(0x1e3)][_0x2e7a6e(0x1e5)]&&this[_0x2e7a6e(0x1e3)][_0xcbe534]&&(this[_0x2e7a6e(0x1bf)][_0x2e7a6e(0x1c8)]=_0xcbe534);}[_0x533cb4(0x1bb)](_0x2ba84c){const _0x3cd8f8=_0x533cb4,_0xcf318=this[_0x3cd8f8(0x1e3)][_0x2ba84c][_0x3cd8f8(0x1c0)];this[_0x3cd8f8(0x1c4)][_0x3cd8f8(0x1cc)][_0x3cd8f8(0x1aa)](_0x4ee9f9=>{const _0x445d25=_0x3cd8f8;_0x4ee9f9[_0x445d25(0x1cb)](_0xcf318,0x0);}),this[_0x3cd8f8(0x1c4)][_0x3cd8f8(0x1c9)][_0x3cd8f8(0x1bf)][_0x3cd8f8(0x1e7)]({'alignToTop':!0x0,'forceScroll':!0x0}),this[_0x3cd8f8(0x1c4)][_0x3cd8f8(0x1c9)][_0x3cd8f8(0x1bf)][_0x3cd8f8(0x1ce)](),this[_0x3cd8f8(0x1d4)](_0x2ba84c);}[_0x533cb4(0x1c7)](){const _0x2e8615=_0x533cb4,_0x116c81=this[_0x2e8615(0x1c4)];let _0x12d543;for(const _0x3d9036 of _0x116c81[_0x2e8615(0x1cc)][_0x2e8615(0x1e2)][_0x2e8615(0x1d0)]()){const _0x178d87=_0x116c81[_0x2e8615(0x1c9)][_0x2e8615(0x1bf)][_0x2e8615(0x1d7)](_0x3d9036),_0x50c085=_0x178d87&&new _0x2cbdaa(_0x178d87)[_0x2e8615(0x1e1)]();if(_0x50c085){const _0x52050f=new _0x2cbdaa(_0x1fa19e[_0x2e8615(0x1b5)])[_0x2e8615(0x1a8)](_0x50c085);_0x52050f&&(_0x12d543=_0x52050f[_0x2e8615(0x1a4)]+0.25*_0x52050f[_0x2e8615(0x1c6)]);}}if(void 0x0===_0x12d543)return;const _0x535abd=D(_0x116c81[_0x2e8615(0x1c9)],this[_0x2e8615(0x1e3)],_0x12d543);_0x535abd?this[_0x2e8615(0x1d4)](this[_0x2e8615(0x1e3)][_0x2e8615(0x1df)](_0x535abd)):this[_0x2e8615(0x1d4)](-0x1);}}function D(_0x449846,_0x2b6010,_0x57cfd9,_0x35a2b0=0x0,_0x30cd53=_0x2b6010[_0x533cb4(0x1e5)]-0x1){const _0x233687=_0x533cb4,_0x34bcf5=Math[_0x233687(0x1ab)](_0x35a2b0+(_0x30cd53-_0x35a2b0)/0x2);if(_0x30cd53>=_0x35a2b0){const _0x49fdae=_0x2b6010[_0x34bcf5],_0x37cd79=_0x449846[_0x233687(0x1dd)][_0x233687(0x1d5)](_0x49fdae[_0x233687(0x1c0)]);if(!_0x37cd79)return null;const _0x298efa=_0x449846[_0x233687(0x1bf)][_0x233687(0x1d1)][_0x233687(0x1ae)](_0x37cd79);return new _0x2cbdaa(_0x298efa)[_0x233687(0x1a9)]>_0x57cfd9?D(_0x449846,_0x2b6010,_0x57cfd9,_0x35a2b0,_0x34bcf5-0x1):D(_0x449846,_0x2b6010,_0x57cfd9,_0x34bcf5+0x1,_0x30cd53);}return _0x34bcf5<0x0?null:_0x2b6010[_0x34bcf5];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x34ede5=_0x2372;function _0x2372(_0xefb0be,_0x297f1d){const _0xc9e89a=_0xc9e8();return _0x2372=function(_0x2372d7,_0x40de1f){_0x2372d7=_0x2372d7-0x145;let _0xa94ca4=_0xc9e89a[_0x2372d7];return _0xa94ca4;},_0x2372(_0xefb0be,_0x297f1d);}(function(_0x57ce88,_0x49dee3){const _0x2698dc=_0x2372,_0x399440=_0x57ce88();while(!![]){try{const _0xebc789=-parseInt(_0x2698dc(0x171))/0x1+parseInt(_0x2698dc(0x15e))/0x2*(-parseInt(_0x2698dc(0x14b))/0x3)+parseInt(_0x2698dc(0x150))/0x4+parseInt(_0x2698dc(0x176))/0x5*(parseInt(_0x2698dc(0x148))/0x6)+-parseInt(_0x2698dc(0x153))/0x7*(parseInt(_0x2698dc(0x151))/0x8)+-parseInt(_0x2698dc(0x170))/0x9*(parseInt(_0x2698dc(0x161))/0xa)+parseInt(_0x2698dc(0x15c))/0xb;if(_0xebc789===_0x49dee3)break;else _0x399440['push'](_0x399440['shift']());}catch(_0x2c0e22){_0x399440['push'](_0x399440['shift']());}}}(_0xc9e8,0x4aa75));import{Plugin as _0x1400d2}from'ckeditor5/src/core.js';import{debounce as _0x447a36}from'es-toolkit/compat';import{ModelTreeWalker as _0x2b60f1}from'ckeditor5/src/engine.js';function _0xc9e8(){const _0x19c762=['config','level','_getOutlineDefinitions','isPremiumPlugin','view','findIndex','editing','modelElement','selection','change','backward','createElement','getRootNames','includes','9bPmiTk','96470qqmHHm','getFirstPosition','item','pluginName','model','37615ExnBOz','push','_deriveHeadingElementsFromConversion','_headingNames','element','domConverter','getRoot','DocumentOutlineUtils','get','afterInit','426rrMxCn','length','getChild','267JzFAwn','isOfficialPlugin','editor','text','activeItemIndex','892240GousnB','83312WIDcRE','getChildren','21ZqPIyD','init','document','toModel','indexOf','_getHeadingNames','name','domToView','_getActiveHeading','4879556Cthafm','data','13682xeOAdf','fire','documentOutline.headings','1584470bMmMvK'];_0xc9e8=function(){return _0x19c762;};return _0xc9e8();}import{getElementText as _0x25bd0f,getDefaultFeatureHeadingNames as _0x52d372}from'./utils.js';import{diff as _0x19dbf1,diffToChanges as _0xdf380}from'ckeditor5/src/utils.js';export class DocumentOutlineUtils extends _0x1400d2{static get[_0x34ede5(0x174)](){const _0x33ff5c=_0x34ede5;return _0x33ff5c(0x145);}static get[_0x34ede5(0x14c)](){return!0x0;}static get[_0x34ede5(0x165)](){return!0x0;}[_0x34ede5(0x179)]=[];[_0x34ede5(0x154)](){const _0x4c4c93=_0x34ede5,_0x3ed1a7=this[_0x4c4c93(0x14d)];this[_0x4c4c93(0x179)]=this[_0x4c4c93(0x158)]();let _0x184ad2=[];_0x3ed1a7[_0x4c4c93(0x175)][_0x4c4c93(0x155)]['on'](_0x4c4c93(0x16b),_0x447a36(()=>{const _0x5074d6=_0x4c4c93,_0x2a551d=_0x184ad2;_0x184ad2=this[_0x5074d6(0x164)]();const _0x52e96d=_0x19dbf1(_0x2a551d,_0x184ad2,(_0x13eb4a,_0x3c986e)=>_0x13eb4a[_0x5074d6(0x163)]===_0x3c986e[_0x5074d6(0x163)]&&_0x13eb4a[_0x5074d6(0x14e)]===_0x3c986e[_0x5074d6(0x14e)]&&_0x13eb4a[_0x5074d6(0x169)]===_0x3c986e[_0x5074d6(0x169)]),_0x5d69cc=_0xdf380(_0x52e96d,_0x184ad2),_0x3a182c=this[_0x5074d6(0x15b)](),_0x29cf6b=_0x184ad2[_0x5074d6(0x167)](_0xdf956d=>_0xdf956d[_0x5074d6(0x169)]===_0x3a182c);_0x5d69cc[_0x5074d6(0x149)]&&this[_0x5074d6(0x15f)](_0x5074d6(0x16b),{'outlineDefinitions':_0x184ad2,'activeItemIndex':_0x29cf6b,'outlineChanges':_0x5d69cc}),this[_0x5074d6(0x15f)](_0x5074d6(0x14f),{'index':_0x29cf6b});},0xfa,{'leading':!0x0,'trailing':!0x0}));}[_0x34ede5(0x147)](){const _0x48e94e=_0x34ede5;this[_0x48e94e(0x179)][_0x48e94e(0x149)]||this[_0x48e94e(0x178)]();}[_0x34ede5(0x164)](){const _0x159b8f=_0x34ede5,_0x3e0f46=this[_0x159b8f(0x14d)],_0x5efb49=[],_0x3035f0=this[_0x159b8f(0x179)];for(const _0x2b0ed0 of _0x3e0f46[_0x159b8f(0x175)][_0x159b8f(0x155)][_0x159b8f(0x16e)]())_0x57fc66(_0x3e0f46[_0x159b8f(0x175)][_0x159b8f(0x155)][_0x159b8f(0x17c)](_0x2b0ed0));function _0x57fc66(_0x3ec919){const _0x18cbd5=_0x159b8f;for(const _0x4432b0 of _0x3ec919[_0x18cbd5(0x152)]())_0x4432b0['is'](_0x18cbd5(0x17a))&&(_0x3035f0[_0x18cbd5(0x16f)](_0x4432b0[_0x18cbd5(0x159)])&&_0x5efb49[_0x18cbd5(0x177)]({'level':_0x3035f0[_0x18cbd5(0x157)](_0x4432b0[_0x18cbd5(0x159)])+0x1,'text':_0x25bd0f(_0x4432b0),'modelElement':_0x4432b0}),_0x57fc66(_0x4432b0));}return _0x5efb49;}[_0x34ede5(0x15b)](){const _0x26f9ec=_0x34ede5,_0x371814=this[_0x26f9ec(0x14d)][_0x26f9ec(0x175)][_0x26f9ec(0x155)][_0x26f9ec(0x16a)][_0x26f9ec(0x172)](),_0x5e5946=new _0x2b60f1({'direction':_0x26f9ec(0x16c),'startPosition':_0x371814});for(const _0x3e77cf of _0x5e5946)if(_0x3e77cf[_0x26f9ec(0x173)]['is'](_0x26f9ec(0x17a))&&this[_0x26f9ec(0x179)][_0x26f9ec(0x16f)](_0x3e77cf[_0x26f9ec(0x173)][_0x26f9ec(0x159)]))return _0x3e77cf[_0x26f9ec(0x173)];}[_0x34ede5(0x158)](){const _0x417322=_0x34ede5,_0x258a03=this[_0x417322(0x14d)][_0x417322(0x162)][_0x417322(0x146)](_0x417322(0x160));return _0x258a03||_0x52d372(this[_0x417322(0x14d)]);}[_0x34ede5(0x178)](){const _0xfbc7ac=_0x34ede5,_0x1b1432=this[_0xfbc7ac(0x14d)],_0x190083=['h1','h2','h3','h4','h5','h6'],_0x26fe4a=[];for(const _0x19a0ad of _0x190083){const _0x380d00=_0x1b1432[_0xfbc7ac(0x168)][_0xfbc7ac(0x166)][_0xfbc7ac(0x17b)][_0xfbc7ac(0x15a)](document[_0xfbc7ac(0x16d)](_0x19a0ad)),_0x322fa4=_0x1b1432[_0xfbc7ac(0x15d)][_0xfbc7ac(0x156)](_0x380d00)[_0xfbc7ac(0x14a)](0x0);_0x322fa4?.['is'](_0xfbc7ac(0x17a))&&_0x26fe4a[_0xfbc7ac(0x177)](_0x322fa4[_0xfbc7ac(0x159)]);}this[_0xfbc7ac(0x179)]=_0x26fe4a;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x337df4,_0x110d71){const _0x244381=_0x5144,_0x2d86c8=_0x337df4();while(!![]){try{const _0x45a4ae=-parseInt(_0x244381(0x140))/0x1+parseInt(_0x244381(0x148))/0x2+parseInt(_0x244381(0x149))/0x3+-parseInt(_0x244381(0x137))/0x4+parseInt(_0x244381(0x139))/0x5+-parseInt(_0x244381(0x145))/0x6+-parseInt(_0x244381(0x13d))/0x7*(-parseInt(_0x244381(0x147))/0x8);if(_0x45a4ae===_0x110d71)break;else _0x2d86c8['push'](_0x2d86c8['shift']());}catch(_0x5ee74a){_0x2d86c8['push'](_0x2d86c8['shift']());}}}(_0x3f93,0x6bc82));import{View as _0x28af3a}from'ckeditor5/src/ui.js';function _0x5144(_0x5a9b53,_0x4f6317){const _0x3f9351=_0x3f93();return _0x5144=function(_0x514426,_0x435805){_0x514426=_0x514426-0x136;let _0x174ca5=_0x3f9351[_0x514426];return _0x174ca5;},_0x5144(_0x5a9b53,_0x4f6317);}function _0x3f93(){const _0x4094e2=['set','setTemplate','730168bYlDQo','click','49295zqbbNE','bindTemplate','ck-document-outline__item_empty','Empty\x20heading','7OuhjXV','text','bind','857251kOlRLO','isEmpty','isActive','ck-document-outline__item_active','ck-reset','4792170ZJmaEU','level','12070712XWjKUe','371536NvXNmh','1726488mzGBQS','ck-document-outline__item_level-','div','ck-document-outline__item'];_0x3f93=function(){return _0x4094e2;};return _0x3f93();}import{getTranslation as _0x56a03e}from'../../utils/common-translations.js';export class DocumentOutlineItemView extends _0x28af3a{constructor(_0xbc90cf,_0x3f35c4=!0x1){const _0x482c33=_0x5144;super(_0xbc90cf);const _0x4b4ea2=this[_0x482c33(0x13a)],_0x1abd9a=_0x3f35c4?'['+_0x56a03e(_0xbc90cf,_0x482c33(0x13c))+']':'';this[_0x482c33(0x14d)](_0x482c33(0x13e),''),this[_0x482c33(0x14d)](_0x482c33(0x146),0x1),this[_0x482c33(0x14d)](_0x482c33(0x142),!0x1),this[_0x482c33(0x13f)](_0x482c33(0x141))['to'](this,_0x482c33(0x13e),_0x3b90ea=>!_0x3b90ea),this[_0x482c33(0x136)]({'tag':_0x482c33(0x14b),'attributes':{'class':['ck',_0x482c33(0x144),_0x482c33(0x14c),_0x4b4ea2['to'](_0x482c33(0x146),_0x71803e=>_0x482c33(0x14a)+_0x71803e),_0x4b4ea2['if'](_0x482c33(0x142),_0x482c33(0x143)),_0x4b4ea2['if'](_0x482c33(0x141),_0x482c33(0x13b))],'title':_0x4b4ea2['to'](_0x482c33(0x13e))},'children':[{'text':_0x4b4ea2['to'](_0x482c33(0x13e),_0x1023ea=>_0x1023ea||_0x1abd9a)}],'on':{'click':_0x4b4ea2['to'](_0x482c33(0x138))}});}}
|