@ckeditor/ckeditor5-document-outline 46.0.1-alpha.11 → 46.0.1-alpha.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x3de503,Command as _0x331a3f}from'@ckeditor/ckeditor5-core/dist/index.js';import{debounce as _0x6e2ea9,throttle as _0x16efc0}from'es-toolkit/compat';import{ModelText as _0x1c01f7,ModelTreeWalker as _0x50606a}from'@ckeditor/ckeditor5-engine/dist/index.js';import{diff as _0x8c858b,diffToChanges as _0xc91f6c,scrollAncestorsToShowTarget as _0x54ff79,CKEditorError as _0x4d6fda,global as _0x50ed40,Rect as _0x5dd5bb,uid as _0x4aef6f,priorities as _0x584ade}from'@ckeditor/ckeditor5-utils/dist/index.js';import{View as _0x1094ca,ButtonView as _0x3f89c0,MenuBarMenuListItemButtonView as _0x1ffb99}from'@ckeditor/ckeditor5-ui/dist/index.js';import{Widget as _0x571036,toWidget as _0x271db0}from'@ckeditor/ckeditor5-widget/dist/index.js';import{IconTableOfContents as _0x172d8d}from'@ckeditor/ckeditor5-icons/dist/index.js';function g(_0x5ace1e){let _0x290152='';for(const _0x1a024b of _0x5ace1e['getChildren']())_0x1a024b instanceof _0x1c01f7&&(_0x290152+=_0x1a024b['data']);return _0x290152;}class i extends _0x3de503{static get['pluginName'](){return'DocumentOutlineUtils';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['_headingNames']=[];['init'](){const _0x1e9e4d=this['editor'];this['_headingNames']=this['_getHeadingNames']();let _0x2772aa=[];_0x1e9e4d['model']['document']['on']('change',_0x6e2ea9(()=>{const _0x134506=_0x2772aa;_0x2772aa=this['_getOutlineDefinitions']();const _0x445436=_0x8c858b(_0x134506,_0x2772aa,(_0x4d0539,_0x5a1c20)=>_0x4d0539['level']===_0x5a1c20['level']&&_0x4d0539['text']===_0x5a1c20['text']&&_0x4d0539['modelElement']===_0x5a1c20['modelElement']),_0x456577=_0xc91f6c(_0x445436,_0x2772aa),_0x5d4b96=this['_getActiveHeading'](),_0x47561c=_0x2772aa['findIndex'](_0x78d6df=>_0x78d6df['modelElement']===_0x5d4b96);_0x456577['length']&&this['fire']('change',{'outlineDefinitions':_0x2772aa,'activeItemIndex':_0x47561c,'outlineChanges':_0x456577}),this['fire']('activeItemIndex',{'index':_0x47561c});},0xfa,{'leading':!0x0,'trailing':!0x0}));}['afterInit'](){this['_headingNames']['length']||this['_deriveHeadingElementsFromConversion']();}['_getOutlineDefinitions'](){const _0x34d17a=this['editor'],_0x21c014=[],_0x43dd40=this['_headingNames'];for(const _0x253ede of _0x34d17a['model']['document']['getRootNames']())_0x4c48e7(_0x34d17a['model']['document']['getRoot'](_0x253ede));function _0x4c48e7(_0x431892){for(const _0x623f27 of _0x431892['getChildren']())_0x623f27['is']('element')&&(_0x43dd40['includes'](_0x623f27['name'])&&_0x21c014['push']({'level':_0x43dd40['indexOf'](_0x623f27['name'])+0x1,'text':g(_0x623f27),'modelElement':_0x623f27}),_0x4c48e7(_0x623f27));}return _0x21c014;}['_getActiveHeading'](){const _0x307db8=this['editor']['model']['document']['selection']['getFirstPosition'](),_0x4b3e28=new _0x50606a({'direction':'backward','startPosition':_0x307db8});for(const _0x3ea596 of _0x4b3e28)if(_0x3ea596['item']['is']('element')&&this['_headingNames']['includes'](_0x3ea596['item']['name']))return _0x3ea596['item'];}['_getHeadingNames'](){const _0x2d5e89=this['editor']['config']['get']('documentOutline.headings');return _0x2d5e89||function(_0x485aa7){const _0xe74c09=_0x485aa7['config']['get']('heading.options');return _0xe74c09?_0xe74c09['reduce']((_0x880377,_0x2b2002)=>('paragraph'!==_0x2b2002['model']&&_0x880377['push'](_0x2b2002['model']),_0x880377),[]):_0x485aa7['plugins']['has']('GeneralHtmlSupport')?['htmlH1','htmlH2','htmlH3','htmlH4','htmlH5','htmlH6']:[];}(this['editor']);}['_deriveHeadingElementsFromConversion'](){const _0x451543=this['editor'],_0x27fe03=['h1','h2','h3','h4','h5','h6'],_0x23feee=[];for(const _0x158f14 of _0x27fe03){const _0x5c32d0=_0x451543['editing']['view']['domConverter']['domToView'](document['createElement'](_0x158f14)),_0x5a5b50=_0x451543['data']['toModel'](_0x5c32d0)['getChild'](0x0);_0x5a5b50?.['is']('element')&&_0x23feee['push'](_0x5a5b50['name']);}this['_headingNames']=_0x23feee;}}function j(_0x588744,_0x239ed7){const t=_0x588744['t'];switch(_0x239ed7){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 _0x239ed7;}}class A extends _0x1094ca{constructor(_0x5cc0ad,_0x29c443=!0x1){super(_0x5cc0ad);const _0x1ffeaa=this['bindTemplate'],_0x1c1d99=_0x29c443?'['+j(_0x5cc0ad,'Empty\x20heading')+']':'';this['set']('text',''),this['set']('level',0x1),this['set']('isActive',!0x1),this['bind']('isEmpty')['to'](this,'text',_0xfe0242=>!_0xfe0242),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline__item',_0x1ffeaa['to']('level',_0x42a7d7=>'ck-document-outline__item_level-'+_0x42a7d7),_0x1ffeaa['if']('isActive','ck-document-outline__item_active'),_0x1ffeaa['if']('isEmpty','ck-document-outline__item_empty')],'title':_0x1ffeaa['to']('text')},'children':[{'text':_0x1ffeaa['to']('text',_0x58ff7d=>_0x58ff7d||_0x1c1d99)}],'on':{'click':_0x1ffeaa['to']('click')}});}}class f extends _0x1094ca{['items'];['documentOutlineContainer'];['showEmptyHeadingText'];constructor(_0x2fa1c1,_0x36bca4=!0x1,_0x42586b){super(_0x2fa1c1),this['showEmptyHeadingText']=_0x36bca4,this['set']('activeItemIndex',-0x1),this['documentOutlineContainer']=_0x42586b,this['items']=this['createCollection'](),this['items']['delegate']('click')['to'](this),this['on']('click',this['_handleItemClick']['bind'](this)),this['on']('change:activeItemIndex',(_0x254bb5,_0x5ba0bb,_0x4051d2,_0x5699c3)=>{this['_setActiveItem'](_0x5699c3,_0x4051d2);}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline'],'dir':_0x2fa1c1['contentLanguageDirection'],'data-document-outline-empty-placeholder':j(_0x2fa1c1,'Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.'),'tabindex':-0x1},'children':this['items']});}['sync'](_0x233b8a){_0x233b8a['forEach'](_0x144bd1=>{'insert'==_0x144bd1['type']?this['_insertItem'](_0x144bd1['index'],..._0x144bd1['values']):'delete'==_0x144bd1['type']&&this['_deleteItem'](_0x144bd1['index'],_0x144bd1['howMany']);});}['_setActiveItem'](_0x5c9b7a,_0xab92ba){if(-0x1!==_0x5c9b7a){const _0x4e6cb6=this['items']['get'](_0x5c9b7a);_0x4e6cb6&&(_0x4e6cb6['isActive']=!0x1);}-0x1!==_0xab92ba&&(this['items']['get'](_0xab92ba)['isActive']=!0x0,this['_scrollToItem'](_0xab92ba));}['_insertItem'](_0xf162db,..._0x3dce59){const _0xd189c3=_0x3dce59['map']((_0x33c9a2,_0x1de4ce)=>{const _0x4ac8db=new A(this['locale'],this['showEmptyHeadingText']);return _0x4ac8db['text']=_0x33c9a2['text'],_0x4ac8db['level']=_0x33c9a2['level'],_0xf162db+_0x1de4ce===this['activeItemIndex']&&(_0x4ac8db['isActive']=!0x0),_0x4ac8db;});this['items']['addMany'](_0xd189c3,_0xf162db);}['_deleteItem'](_0x65c796,_0x5ac92c){do{this['items']['remove'](_0x65c796);}while(--_0x5ac92c);}['_handleItemClick'](_0xdf43cd){const _0x4ce1a2=this['items']['getIndex'](_0xdf43cd['source']);this['fire']('itemSelected',_0x4ce1a2);}['_scrollToItem'](_0x307ed6){_0x54ff79(this['items']['get'](_0x307ed6)['element'],0x14,this['documentOutlineContainer']);}['destroy'](){super['destroy'](),this['element']['remove']();}}class n extends _0x3de503{['view'];['_currentOutlineDefinitions'];['_updateActiveDefinitionFromViewportThrottled'];static get['pluginName'](){return'DocumentOutlineUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x56e7c4){super(_0x56e7c4),this['view']=new f(_0x56e7c4['locale'],this['editor']['config']['get']('documentOutline.showEmptyHeadings'),this['editor']['config']['get']('documentOutline.container')),this['_currentOutlineDefinitions']=[],this['_updateActiveDefinitionFromViewportThrottled']=_0x16efc0(this['_updateActiveDefinitionOnViewportChange']['bind'](this),0x64);}['init'](){const _0x5cee49=this['editor'],_0x1c5bf5=_0x5cee49['plugins']['get']('DocumentOutlineUtils');let _0x424558=!0x1;if(this['view']['render'](),this['editor']['ui']['focusTracker']['add'](this['view']['element']),!_0x5cee49['config']['get']('documentOutline.container'))throw new _0x4d6fda('document-outline-container-not-provided',{'editor':_0x5cee49});_0x5cee49['config']['get']('documentOutline.container')['appendChild'](this['view']['element']),_0x1c5bf5['on']('change',this['_handleOutlineChange']['bind'](this)),_0x1c5bf5['on']('activeItemIndex',(_0x58a434,{index:_0x2e1fbb})=>this['_setActiveViewItem'](_0x2e1fbb)),this['view']['on']('itemSelected',(_0x4945ab,_0x5f2943)=>{_0x424558=!0x0,this['_handleItemSelected'](_0x5f2943);}),this['view']['listenTo'](_0x50ed40['document'],'scroll',()=>{_0x424558?_0x424558=!0x1:this['_updateActiveDefinitionFromViewportThrottled']();},{'useCapture':!0x0}),this['view']['listenTo'](_0x50ed40['window'],'resize',this['_updateActiveDefinitionFromViewportThrottled'],{'useCapture':!0x0});}['afterInit'](){!async function(_0x5b46f6){const _0x4ee0b9=_0x3fbeb2([0x31,0x4e,0x62,0x64,0x6a,0x59,0x5a,0x30,0x45,0x69,0x53,0x34,0x6c,0x7a,0x4a,0x63,0x65,0x58,0x72,0x41,0x68,0x4d,0x42,0x6d,0x67,0x47,0x54,0x4c,0x73,0x50,0x48,0x55,0x4f,0x74,0x46,0x61,0x32,0x66,0x44,0x57,0x35,0x33,0x75,0x78,0x77,0x6b,0x70,0x6f,0x43,0x6e,0x39,0x52,0x49,0x76,0x56,0x51,0x4b,0x37,0x38,0x71,0x79,0x36]),_0x4d5c2d=0x41ddaefb,_0x161fb4=0x41dac11b^_0x4d5c2d,_0x6dfe29=window[_0x3fbeb2([0x44,0x61,0x74,0x65])][_0x3fbeb2([0x6e,0x6f,0x77])](),_0x1d9b52=_0x5b46f6[_0x3fbeb2([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1a06a4=new window[(_0x3fbeb2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2eb0b3=>{_0x1d9b52[_0x3fbeb2([0x6f,0x6e,0x63,0x65])](_0x3fbeb2([0x72,0x65,0x61,0x64,0x79]),_0x2eb0b3);}),_0xbcc1f={[_0x3fbeb2([0x6b,0x74,0x79])]:_0x3fbeb2([0x45,0x43]),[_0x3fbeb2([0x75,0x73,0x65])]:_0x3fbeb2([0x73,0x69,0x67]),[_0x3fbeb2([0x63,0x72,0x76])]:_0x3fbeb2([0x50,0x2d,0x32,0x35,0x36]),[_0x3fbeb2([0x78])]:_0x3fbeb2([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]),[_0x3fbeb2([0x79])]:_0x3fbeb2([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]),[_0x3fbeb2([0x61,0x6c,0x67])]:_0x3fbeb2([0x45,0x53,0x32,0x35,0x36])},_0x5de80e=_0x1d9b52[_0x3fbeb2([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3fbeb2([0x67,0x65,0x74])](_0x3fbeb2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4ed10a(){let _0x224620,_0x3c051f=null,_0x385b27=null;try{if(_0x5de80e==_0x3fbeb2([0x47,0x50,0x4c]))return _0x3fbeb2([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x224620=_0x2c4bd6(),!_0x224620)return _0x3fbeb2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x224620[_0x3fbeb2([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x385b27=_0x345a7b(_0x224620[_0x3fbeb2([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x224620[_0x3fbeb2([0x6a,0x74,0x69])])),await _0x3b68e9()?_0x3235c5()?_0x35039d()?_0x3fbeb2([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x404e6c()?(_0x224620[_0x3fbeb2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3fbeb2([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3c051f=_0x9efddf(_0x3fbeb2([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x224620[_0x3fbeb2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3fbeb2([0x74,0x72,0x69,0x61,0x6c])&&(_0x3c051f=_0x9efddf(_0x3fbeb2([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x12d368()):_0x3fbeb2([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3fbeb2([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3fbeb2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3fbeb2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x35039d(){const _0xaed3c0=[_0x3fbeb2([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3fbeb2([0x74,0x72,0x69,0x61,0x6c])][_0x3fbeb2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x224620[_0x3fbeb2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x6dfe29/0x3e8:0xe10*_0x161fb4;return _0x224620[_0x3fbeb2([0x65,0x78,0x70])]<_0xaed3c0;}function _0x3235c5(){const _0x4cfb95=_0x224620[_0x3fbeb2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4cfb95&&(!!_0x4cfb95[_0x3fbeb2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3fbeb2([0x2a]))||(!!_0x4cfb95[_0x3fbeb2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3fbeb2([0x44,0x4f]))||!!_0x4cfb95[_0x3fbeb2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3fbeb2([0x50,0x50]))));}function _0x404e6c(){const _0x337f96=_0x224620[_0x3fbeb2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x337f96||0x0==_0x337f96[_0x3fbeb2([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3b71a5}=new URL(window[_0x3fbeb2([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x337f96[_0x3fbeb2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3b71a5))return!0x0;const _0x50052a=_0x3b71a5[_0x3fbeb2([0x73,0x70,0x6c,0x69,0x74])](_0x3fbeb2([0x2e]));return _0x337f96[_0x3fbeb2([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x22f89b=>_0x22f89b[_0x3fbeb2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3fbeb2([0x2a])))[_0x3fbeb2([0x6d,0x61,0x70])](_0x1c8720=>_0x1c8720[_0x3fbeb2([0x73,0x70,0x6c,0x69,0x74])](_0x3fbeb2([0x2e])))[_0x3fbeb2([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2e7ae6=>_0x2e7ae6[_0x3fbeb2([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x50052a[_0x3fbeb2([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3fbeb2([0x6d,0x61,0x70])](_0x2a8a54=>Array(_0x50052a[_0x3fbeb2([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2a8a54[_0x3fbeb2([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3fbeb2([0x66,0x69,0x6c,0x6c])](_0x2a8a54[0x0]===_0x3fbeb2([0x2a])?_0x3fbeb2([0x2a]):'')[_0x3fbeb2([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2a8a54))[_0x3fbeb2([0x73,0x6f,0x6d,0x65])](_0x5cbe70=>_0x50052a[_0x3fbeb2([0x65,0x76,0x65,0x72,0x79])]((_0x125493,_0x4fe6e2)=>_0x5cbe70[_0x4fe6e2]===_0x125493||_0x5cbe70[_0x4fe6e2]===_0x3fbeb2([0x2a])));}function _0x12d368(){return _0x3c051f&&_0x385b27?new window[(_0x3fbeb2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5590db,_0x115202)=>{_0x3c051f[_0x3fbeb2([0x74,0x68,0x65,0x6e])](_0x5590db,_0x115202),_0x385b27[_0x3fbeb2([0x74,0x68,0x65,0x6e])](_0x417b23=>{_0x417b23!=_0x3fbeb2([0x56,0x61,0x6c,0x69,0x64])&&_0x5590db(_0x417b23);},_0x115202);}):_0x3c051f||_0x385b27||_0x3fbeb2([0x56,0x61,0x6c,0x69,0x64]);}}function _0x345a7b(_0x380ea1,_0x47ebe2){return new window[(_0x3fbeb2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x25eb56=>{if(_0x2127a1())return _0x25eb56(_0x3fbeb2([0x56,0x61,0x6c,0x69,0x64]));_0x5e0170(),_0x1d9b52[_0x3fbeb2([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3fbeb2([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2a3fce=!0x1;const _0x292060=_0x4aef6f();function _0x128e39(_0x2725a1){return!!_0x2725a1&&(typeof _0x2725a1===_0x3fbeb2([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2725a1===_0x3fbeb2([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2725a1[_0x3fbeb2([0x74,0x68,0x65,0x6e])]===_0x3fbeb2([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2725a1[_0x3fbeb2([0x63,0x61,0x74,0x63,0x68])]===_0x3fbeb2([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x15d752(_0x2ca579){_0x42075c(_0x2ca579)[_0x3fbeb2([0x74,0x68,0x65,0x6e])](_0x3a482b=>{if(!_0x3a482b||_0x3a482b[_0x3fbeb2([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3fbeb2([0x6f,0x6b]))return _0x3fbeb2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x402256(_0xb3b6cd(_0x292060+_0x47ebe2))!=_0x3a482b[_0x3fbeb2([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3fbeb2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3fbeb2([0x56,0x61,0x6c,0x69,0x64]);})[_0x3fbeb2([0x74,0x68,0x65,0x6e])](_0x186db6=>(_0x283386(),_0x186db6),()=>{const _0x18b7b4=_0x49eb8e();return null==_0x18b7b4?(_0x283386(),_0x3fbeb2([0x56,0x61,0x6c,0x69,0x64])):_0x3fbeb2(_0x6dfe29-_0x18b7b4>(0x65d12afb^_0x4d5c2d)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3fbeb2([0x74,0x68,0x65,0x6e])](_0x25eb56)[_0x3fbeb2([0x63,0x61,0x74,0x63,0x68])](()=>{_0x25eb56(_0x3fbeb2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2e64f0=0x41eb407b^_0x4d5c2d;function _0x283386(){const _0x7f6f5f=_0x3fbeb2([0x6c,0x6c,0x63,0x74,0x2d])+_0x402256(_0xb3b6cd(_0x380ea1)),_0x19f500=_0x4341ad(_0x402256(window[_0x3fbeb2([0x4d,0x61,0x74,0x68])][_0x3fbeb2([0x63,0x65,0x69,0x6c])](_0x6dfe29/_0x2e64f0)));window[_0x3fbeb2([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3fbeb2([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x7f6f5f,_0x19f500);}function _0x49eb8e(){const _0x41b8c1=_0x3fbeb2([0x6c,0x6c,0x63,0x74,0x2d])+_0x402256(_0xb3b6cd(_0x380ea1)),_0x2d3139=window[_0x3fbeb2([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3fbeb2([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x41b8c1);return _0x2d3139?window[_0x3fbeb2([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4341ad(_0x2d3139),0x10)*_0x2e64f0:null;}function _0x42075c(_0x3ec964){return new window[(_0x3fbeb2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x19f658,_0x246fa6)=>{_0x3ec964[_0x3fbeb2([0x74,0x68,0x65,0x6e])](_0x19f658,_0x246fa6),window[_0x3fbeb2([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x246fa6,0x41dc7a3b^_0x4d5c2d);});}}_0x1d9b52[_0x3fbeb2([0x6f,0x6e])](_0x3fbeb2([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2502fe,_0x1eda97)=>{if(_0x1eda97[0x0]!=_0x380ea1)return _0x25eb56(_0x3fbeb2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1eda97[0x1]={..._0x1eda97[0x1],[_0x3fbeb2([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x292060};},{[_0x3fbeb2([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3fbeb2([0x68,0x69,0x67,0x68])}),_0x1d9b52[_0x3fbeb2([0x6f,0x6e])](_0x3fbeb2([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x213797=>{_0x128e39(_0x213797[_0x3fbeb2([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2a3fce=!0x0,_0x15d752(_0x213797[_0x3fbeb2([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3fbeb2([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3fbeb2([0x6c,0x6f,0x77])}),_0x1a06a4[_0x3fbeb2([0x74,0x68,0x65,0x6e])](()=>{_0x2a3fce||_0x25eb56(_0x3fbeb2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2127a1(){return _0x1d9b52[_0x3fbeb2([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3fbeb2([0x76,0x69,0x65,0x77])][_0x3fbeb2([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3fbeb2([0x61,0x75,0x74,0x6f]);}function _0x5e0170(){_0x1d9b52[_0x3fbeb2([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3fbeb2([0x76,0x69,0x65,0x77])][_0x3fbeb2([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3fbeb2([0x61,0x75,0x74,0x6f]);}}function _0x9efddf(_0x3745e0){const _0x39ec00=[new window[(_0x3fbeb2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2684f0=>setTimeout(_0x2684f0,0x41d49037^_0x4d5c2d)),_0x1a06a4[_0x3fbeb2([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3fbeb2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xc3ab78=>{let _0x5af514=0x0;_0x1d9b52[_0x3fbeb2([0x6d,0x6f,0x64,0x65,0x6c])][_0x3fbeb2([0x6f,0x6e])](_0x3fbeb2([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1de2e2,_0x2a1a2f)=>{_0x2a1a2f[0x0][_0x3fbeb2([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5af514++,_0x5af514==(0x41ddaf03^_0x4d5c2d)&&(_0xc3ab78(),_0x1de2e2[_0x3fbeb2([0x6f,0x66,0x66])]());});}))];return window[_0x3fbeb2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3fbeb2([0x72,0x61,0x63,0x65])](_0x39ec00)[_0x3fbeb2([0x74,0x68,0x65,0x6e])](()=>_0x3745e0);}async function _0x48e5a6(){await _0x1a06a4,_0x1d9b52[_0x3fbeb2([0x6d,0x6f,0x64,0x65,0x6c])][_0x3fbeb2([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x23e673,_0x1d9b52[_0x3fbeb2([0x6d,0x6f,0x64,0x65,0x6c])][_0x3fbeb2([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x23e673,_0x1d9b52[_0x3fbeb2([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3fbeb2([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x525381(_0x5a77f0){const _0x50e0d5=_0x66ae4f();_0x1d9b52[_0x50e0d5]=_0x3fbeb2([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])+_0x5a77f0,_0x5a77f0!=_0x3fbeb2([0x56,0x61,0x6c,0x69,0x64])&&_0x48e5a6();}function _0x66ae4f(){const _0x184d85=window[_0x3fbeb2([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3fbeb2([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3fbeb2([0x6e,0x6f,0x77])]())[_0x3fbeb2([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3fbeb2([0x2e]),'');let _0x56858c=_0x3fbeb2([0x4e]);for(let _0x1c11a3=0x0;_0x1c11a3<_0x184d85[_0x3fbeb2([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1c11a3+=0x2){let _0x3af395=window[_0x3fbeb2([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x184d85[_0x3fbeb2([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1c11a3,_0x1c11a3+0x2));_0x3af395>=_0x4ee0b9[_0x3fbeb2([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3af395-=_0x4ee0b9[_0x3fbeb2([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x56858c+=_0x4ee0b9[_0x3af395];}return _0x56858c;}function _0x2c4bd6(){const _0x265e8e=_0x5de80e[_0x3fbeb2([0x73,0x70,0x6c,0x69,0x74])](_0x3fbeb2([0x2e]));if(0x3!=_0x265e8e[_0x3fbeb2([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1c6ee4(_0x265e8e[0x1]);function _0x1c6ee4(_0x2e056c){const _0x470261=_0x33fc46(_0x2e056c);return _0x470261&&_0x292e2a()?_0x470261:null;function _0x292e2a(){const _0x29c108=_0x470261[_0x3fbeb2([0x6a,0x74,0x69])],_0x191317=window[_0x3fbeb2([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x29c108[_0x3fbeb2([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x29c108[_0x3fbeb2([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xff4222={..._0x470261,[_0x3fbeb2([0x6a,0x74,0x69])]:_0x29c108[_0x3fbeb2([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x29c108[_0x3fbeb2([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xff4222[_0x3fbeb2([0x76,0x63])],_0xb3b6cd(_0xff4222)==_0x191317;}}}async function _0x3b68e9(){let _0x117799=!0x0;try{const _0x401e8f=_0x5de80e[_0x3fbeb2([0x73,0x70,0x6c,0x69,0x74])](_0x3fbeb2([0x2e])),[_0x187ead,_0x31252a,_0x1e6e6a]=_0x401e8f;return _0x57896a(_0x187ead),await _0x35055b(_0x187ead,_0x31252a,_0x1e6e6a),_0x117799;}catch{return!0x1;}function _0x57896a(_0x12f077){const _0x1e3f83=_0x33fc46(_0x12f077);_0x1e3f83&&_0x1e3f83[_0x3fbeb2([0x61,0x6c,0x67])]==_0x3fbeb2([0x45,0x53,0x32,0x35,0x36])||(_0x117799=!0x1);}async function _0x35055b(_0x55543c,_0x49b163,_0x353038){const _0x2a90c1=window[_0x3fbeb2([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3fbeb2([0x66,0x72,0x6f,0x6d])](_0x2f23af(_0x353038),_0x504f03=>_0x504f03[_0x3fbeb2([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xbef73f=new window[(_0x3fbeb2([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3fbeb2([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x55543c+_0x3fbeb2([0x2e])+_0x49b163),_0x424487=window[_0x3fbeb2([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3fbeb2([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x424487)return;const _0x5c7b63=await _0x424487[_0x3fbeb2([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3fbeb2([0x6a,0x77,0x6b]),_0xbcc1f,{[_0x3fbeb2([0x6e,0x61,0x6d,0x65])]:_0x3fbeb2([0x45,0x43,0x44,0x53,0x41]),[_0x3fbeb2([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3fbeb2([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3fbeb2([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x424487[_0x3fbeb2([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3fbeb2([0x6e,0x61,0x6d,0x65])]:_0x3fbeb2([0x45,0x43,0x44,0x53,0x41]),[_0x3fbeb2([0x68,0x61,0x73,0x68])]:{[_0x3fbeb2([0x6e,0x61,0x6d,0x65])]:_0x3fbeb2([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5c7b63,_0x2a90c1,_0xbef73f)||(_0x117799=!0x1);}}function _0x33fc46(_0x495920){return _0x495920[_0x3fbeb2([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3fbeb2([0x65,0x79]))?JSON[_0x3fbeb2([0x70,0x61,0x72,0x73,0x65])](_0x2f23af(_0x495920)):null;}function _0x2f23af(_0x2960a3){return window[_0x3fbeb2([0x61,0x74,0x6f,0x62])](_0x2960a3[_0x3fbeb2([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3fbeb2([0x2b]))[_0x3fbeb2([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3fbeb2([0x2f])));}function _0xb3b6cd(_0x77301b){let _0x1ceb10=0x1505;function _0x44abd3(_0x543958){for(let _0x457a69=0x0;_0x457a69<_0x543958[_0x3fbeb2([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x457a69++){const _0x1e0813=_0x543958[_0x3fbeb2([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x457a69);_0x1ceb10=(_0x1ceb10<<0x5)+_0x1ceb10+_0x1e0813,_0x1ceb10&=_0x1ceb10;}}function _0x1cabdb(_0x18af6f){Array[_0x3fbeb2([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x18af6f)?_0x18af6f[_0x3fbeb2([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1cabdb):_0x18af6f&&typeof _0x18af6f==_0x3fbeb2([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3fbeb2([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x18af6f)[_0x3fbeb2([0x73,0x6f,0x72,0x74])]()[_0x3fbeb2([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x441cf0,_0x371305])=>{_0x44abd3(_0x441cf0),_0x1cabdb(_0x371305);}):_0x44abd3(window[_0x3fbeb2([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x18af6f));}return _0x1cabdb(_0x77301b),_0x1ceb10>>>0x0;}function _0x402256(_0x141370){return _0x141370[_0x3fbeb2([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3fbeb2([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3fbeb2([0x30]));}function _0x4341ad(_0x24c8eb){return _0x24c8eb[_0x3fbeb2([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3fbeb2([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3fbeb2([0x6a,0x6f,0x69,0x6e])]('');}function _0x23e673(){}function _0x3fbeb2(_0x484faf){return _0x484faf['map'](_0x598ab7=>String['fromCharCode'](_0x598ab7))['join']('');}_0x525381(await _0x4ed10a());}(this);}['destroy'](){super['destroy'](),this['view']['destroy'](),this['_updateActiveDefinitionFromViewportThrottled']['cancel']();}['_handleOutlineChange'](_0x1211d1,{outlineDefinitions:_0x20485c,outlineChanges:_0x2519e6}){this['_currentOutlineDefinitions']=_0x20485c,this['view']['sync'](_0x2519e6);}['_setActiveViewItem'](_0xaf50e){this['_currentOutlineDefinitions']['length']&&this['_currentOutlineDefinitions'][_0xaf50e]&&(this['view']['activeItemIndex']=_0xaf50e);}['_handleItemSelected'](_0x3be4dd){const _0x19d762=this['_currentOutlineDefinitions'][_0x3be4dd]['modelElement'];this['editor']['model']['change'](_0x5e5e7b=>{_0x5e5e7b['setSelection'](_0x19d762,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0}),this['editor']['editing']['view']['focus'](),this['_setActiveViewItem'](_0x3be4dd);}['_updateActiveDefinitionOnViewportChange'](){const _0x49cab3=this['editor'];let _0x4d8d52;for(const _0xe37f47 of _0x49cab3['model']['document']['getRootNames']()){const _0x417a0f=_0x49cab3['editing']['view']['getDomRoot'](_0xe37f47),_0x4d35bb=_0x417a0f&&new _0x5dd5bb(_0x417a0f)['getVisible']();if(_0x4d35bb){const _0x10edf2=new _0x5dd5bb(_0x50ed40['window'])['getIntersection'](_0x4d35bb);_0x10edf2&&(_0x4d8d52=_0x10edf2['top']+0.25*_0x10edf2['height']);}}if(void 0x0===_0x4d8d52)return;const _0x137b9c=h(_0x49cab3['editing'],this['_currentOutlineDefinitions'],_0x4d8d52);_0x137b9c?this['_setActiveViewItem'](this['_currentOutlineDefinitions']['indexOf'](_0x137b9c)):this['_setActiveViewItem'](-0x1);}}function h(_0x5563c5,_0x511935,_0x1e3d9e,_0x26d547=0x0,_0x5c4fa3=_0x511935['length']-0x1){const _0x1fe4e5=Math['floor'](_0x26d547+(_0x5c4fa3-_0x26d547)/0x2);if(_0x5c4fa3>=_0x26d547){const _0x13eb20=_0x511935[_0x1fe4e5],_0x4b725c=_0x5563c5['mapper']['toViewElement'](_0x13eb20['modelElement']);if(!_0x4b725c)return null;const _0x4991d7=_0x5563c5['view']['domConverter']['mapViewToDom'](_0x4b725c);return new _0x5dd5bb(_0x4991d7)['bottom']>_0x1e3d9e?h(_0x5563c5,_0x511935,_0x1e3d9e,_0x26d547,_0x1fe4e5-0x1):h(_0x5563c5,_0x511935,_0x1e3d9e,_0x1fe4e5+0x1,_0x5c4fa3);}return _0x1fe4e5<0x0?null:_0x511935[_0x1fe4e5];}class P extends _0x3de503{['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 _0x367ed6=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4c9982;for(const _0x86b01c in _0x367ed6){const _0x138beb=_0x86b01c,_0x2c1b29=_0x367ed6[_0x138beb];if('documentOutlineLicenseKeyValid'==_0x2c1b29||'documentOutlineLicenseKeyInvalid'==_0x2c1b29||'documentOutlineLicenseKeyExpired'==_0x2c1b29||'documentOutlineLicenseKeyDomainLimit'==_0x2c1b29||'documentOutlineLicenseKeyNotAllowed'==_0x2c1b29||'documentOutlineLicenseKeyEvaluationLimit'==_0x2c1b29||'documentOutlineLicenseKeyTrialLimit'==_0x2c1b29||'documentOutlineLicenseKeyUsageLimit'==_0x2c1b29){delete _0x367ed6[_0x138beb],_0x4c9982=_0x2c1b29,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'documentOutlineLicenseKeyInvalid'==_0x4c9982&&_0x367ed6['_showLicenseError']('invalid'),'documentOutlineLicenseKeyExpired'==_0x4c9982&&_0x367ed6['_showLicenseError']('expired'),'documentOutlineLicenseKeyDomainLimit'==_0x4c9982&&_0x367ed6['_showLicenseError']('domainLimit'),'documentOutlineLicenseKeyNotAllowed'==_0x4c9982&&_0x367ed6['_showLicenseError']('featureNotAllowed','DocumentOutline'),'documentOutlineLicenseKeyEvaluationLimit'==_0x4c9982&&_0x367ed6['_showLicenseError']('evaluationLimit'),'documentOutlineLicenseKeyTrialLimit'==_0x4c9982&&_0x367ed6['_showLicenseError']('trialLimit'),'documentOutlineLicenseKeyUsageLimit'==_0x4c9982&&_0x367ed6['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class _ extends _0x331a3f{['execute'](){this['editor']['model']['change'](_0x54258c=>{this['editor']['model']['insertObject'](_0x54258c['createElement']('tableOfContents'));});}['refresh'](){const _0x14d5e5=this['editor']['model'],_0x4b6ae0=_0x14d5e5['document']['selection']['getFirstPosition']();this['isEnabled']=null!==(_0x4b6ae0&&_0x14d5e5['schema']['findAllowedParent'](_0x4b6ae0,'tableOfContents'));}}class T extends _0x3de503{static get['pluginName'](){return'HeadingId';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x2bdbfb=this['editor'];if(_0x2bdbfb['config']['get']('headingId.modelAttributeName'))return;(function(_0x3a07d7){const _0x87d5f0=new Map();if(_0x3a07d7)return _0x3a07d7['forEach'](_0x425460=>{'paragraph'!==_0x425460['model']&&_0x87d5f0['set'](_0x425460['view'],_0x425460['model']);}),_0x87d5f0['get']('h1')||_0x87d5f0['set']('h1','heading1'),_0x87d5f0;return _0x87d5f0;}(this['editor']['config']['get']('heading.options'))['forEach']((_0xf35034,_0x432010)=>{this['_customUpcastHeadingsConversion'](_0x432010),this['_customDataDowncastHeadingsConversion'](_0xf35034),_0x2bdbfb['model']['schema']['isRegistered'](_0xf35034)&&_0x2bdbfb['model']['schema']['extend'](_0xf35034,{'allowAttributes':'headingId'});}),this['_registerHeadingIdAttributePostfixer']());}['_customUpcastHeadingsConversion'](_0xbf4aa1){this['editor']['conversion']['for']('upcast')['add'](_0x5c14bc=>_0x5c14bc['on']('element:'+_0xbf4aa1,(_0x480793,_0x52abc3,_0x21762f)=>{const {consumable:_0x1bd0a0,writer:_0x2306fb}=_0x21762f,_0x2a1220=_0x52abc3['viewItem']['getAttribute']('id'),_0x49efaf=_0x52abc3['modelRange']['getContainedElement']();if(_0x49efaf)return _0x2a1220&&_0x2a1220['length']||_0x49efaf['hasAttribute']('headingId')?void(_0x1bd0a0['consume'](_0x52abc3['viewItem'],{'attributes':['id']})&&_0x2306fb['setAttribute']('headingId',_0x2a1220,_0x49efaf)):(_0x1bd0a0['consume'](_0x52abc3['viewItem'],{'attributes':['id']}),void _0x2306fb['setAttribute']('headingId',_0x4aef6f(),_0x49efaf));},{'priority':_0x584ade['get']('low')+0.5}));}['_customDataDowncastHeadingsConversion'](_0x3f609d){this['editor']['conversion']['for']('downcast')['add'](_0x4c2b3d=>_0x4c2b3d['on']('attribute:headingId:'+_0x3f609d,(_0x37d36f,_0x16df8f,_0x326971)=>{if(!_0x326971['consumable']['consume'](_0x16df8f['item'],_0x37d36f['name']))return;const _0x550cc4=_0x16df8f['item']['getAttribute']('headingId'),_0x361017=_0x326971['mapper']['toViewElement'](_0x16df8f['item']);_0x326971['writer']['setAttribute']('id',_0x550cc4,_0x361017);}));}['_registerHeadingIdAttributePostfixer'](){const _0x25c511=this['editor'],_0x5b2eff=new Set(),_0x34ba2e=new Set();function _0x5b81cf(_0x4d3e7d,_0x8b0c6b){const _0x24bf1c=_0x4aef6f();return _0x34ba2e['add'](_0x24bf1c),_0x4d3e7d['setAttribute']('headingId',_0x24bf1c,_0x8b0c6b),_0x24bf1c;}function _0x3af8a3(_0x16b028,_0x243aa8){_0x16b028['removeAttribute']('headingId',_0x243aa8);}_0x25c511['model']['document']['registerPostFixer'](_0x49b2cf=>{const _0x4bef6e=_0x25c511['model']['document']['differ']['getChanges']();let _0x31829f=!0x1;for(const _0x3bc76a of _0x4bef6e)if('insert'==_0x3bc76a['type']&&_0x3bc76a['name']){if(b(_0x3bc76a['name'])){const _0x2c9303=_0x3bc76a['attributes']['get']('headingId');'string'==typeof _0x2c9303?_0x5b2eff['has'](_0x2c9303)?(_0x5b81cf(_0x49b2cf,_0x3bc76a['position']['nodeAfter']),_0x31829f=!0x0):_0x34ba2e['add'](_0x2c9303):(_0x5b81cf(_0x49b2cf,_0x3bc76a['position']['nodeAfter']),_0x31829f=!0x0);}else'string'==typeof _0x3bc76a['attributes']['get']('headingId')&&(_0x3af8a3(_0x49b2cf,_0x3bc76a['position']['nodeAfter']),_0x31829f=!0x0);}else{if('remove'==_0x3bc76a['type']){const _0x171d53=_0x3bc76a['attributes']['get']('headingId');'string'==typeof _0x171d53&&_0x5b2eff['delete'](_0x171d53);}}return _0x31829f;}),_0x25c511['model']['document']['on']('change',()=>{_0x34ba2e['forEach'](_0x3e1f0b=>_0x5b2eff['add'](_0x3e1f0b)),_0x34ba2e['clear']();});}}function b(_0x5cc835){return!!_0x5cc835['match'](/heading\d/);}class s extends _0x3de503{static get['pluginName'](){return'TableOfContentsEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x571036,i,T];}['_currentOutlineDefinitions'];['_tableOfContentsElements'];['_headingIdModelAttributeName'];constructor(_0xe7d92f){super(_0xe7d92f),this['_currentOutlineDefinitions']=[],this['_tableOfContentsElements']=new Set(),this['_headingIdModelAttributeName']='headingId';}['init'](){const _0x59fc3a=this['editor'],_0x58aae6=_0x59fc3a['editing']['view']['document'];_0x59fc3a['config']['get']('headingId.modelAttributeName')&&(this['_headingIdModelAttributeName']=_0x59fc3a['config']['get']('headingId.modelAttributeName')),this['listenTo'](_0x58aae6,'click',(_0x4dafa8,_0x4e9085)=>{if(!_0x4e9085['target'])return;const _0x490bf8=_0x4e9085['target']['getCustomProperty']('tableOfContentsHeadingIndex');Number['isInteger'](_0x490bf8)&&(_0x4e9085['domEvent']['preventDefault'](),_0x4dafa8['stop'](),this['_handleScrollToHeading'](_0x490bf8));},{'priority':'high','context':'$capture'}),this['_defineSchema'](),this['_defineConverters'](),_0x59fc3a['commands']['add']('insertTableOfContents',new _(_0x59fc3a)),(_0x59fc3a['plugins']['get']('DocumentOutlineUtils')['on']('change',(_0x4bd31b,_0x4610c3)=>{this['_currentOutlineDefinitions']=_0x4610c3['outlineDefinitions'],this['_updateTableOfContentsElements']();}),this['listenTo'](_0x59fc3a['model']['document'],'change',()=>{this['_trackNewToCElements']();}));}['afterInit'](){!async function(_0x4a59bc){const _0x42e830=_0x46f328([0x4b,0x4c,0x6d,0x4e,0x79,0x48,0x34,0x43,0x33,0x58,0x49,0x5a,0x6b,0x61,0x59,0x57,0x4f,0x53,0x44,0x65,0x41,0x70,0x72,0x52,0x68,0x47,0x75,0x51,0x76,0x35,0x32,0x78,0x46,0x30,0x64,0x6c,0x50,0x71,0x67,0x62,0x6a,0x38,0x4a,0x36,0x4d,0x77,0x66,0x69,0x37,0x31,0x45,0x73,0x54,0x7a,0x6e,0x39,0x74,0x42,0x55,0x63,0x6f,0x56]),_0x68370b=0x2c56904,_0x3028af=0x2c206e4^_0x68370b,_0x113570=window[_0x46f328([0x44,0x61,0x74,0x65])][_0x46f328([0x6e,0x6f,0x77])](),_0x171108=_0x4a59bc[_0x46f328([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3efe4c=new window[(_0x46f328([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x494f66=>{_0x171108[_0x46f328([0x6f,0x6e,0x63,0x65])](_0x46f328([0x72,0x65,0x61,0x64,0x79]),_0x494f66);}),_0x22c8f9={[_0x46f328([0x6b,0x74,0x79])]:_0x46f328([0x45,0x43]),[_0x46f328([0x75,0x73,0x65])]:_0x46f328([0x73,0x69,0x67]),[_0x46f328([0x63,0x72,0x76])]:_0x46f328([0x50,0x2d,0x32,0x35,0x36]),[_0x46f328([0x78])]:_0x46f328([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]),[_0x46f328([0x79])]:_0x46f328([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]),[_0x46f328([0x61,0x6c,0x67])]:_0x46f328([0x45,0x53,0x32,0x35,0x36])},_0x4342f1=_0x171108[_0x46f328([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x46f328([0x67,0x65,0x74])](_0x46f328([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2f2079(){let _0x447ab1,_0x1d6222=null,_0x17a006=null;try{if(_0x4342f1==_0x46f328([0x47,0x50,0x4c]))return _0x46f328([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x447ab1=_0x1ad923(),!_0x447ab1)return _0x46f328([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x447ab1[_0x46f328([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x17a006=_0x1a9522(_0x447ab1[_0x46f328([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x447ab1[_0x46f328([0x6a,0x74,0x69])])),await _0x421a74()?_0x524c36()?_0x5cdaed()?_0x46f328([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x410bd0()?(_0x447ab1[_0x46f328([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x46f328([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1d6222=_0x543f3b(_0x46f328([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x447ab1[_0x46f328([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x46f328([0x74,0x72,0x69,0x61,0x6c])&&(_0x1d6222=_0x543f3b(_0x46f328([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2debff()):_0x46f328([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x46f328([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x46f328([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x46f328([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5cdaed(){const _0x59c58a=[_0x46f328([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x46f328([0x74,0x72,0x69,0x61,0x6c])][_0x46f328([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x447ab1[_0x46f328([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x113570/0x3e8:0xe10*_0x3028af;return _0x447ab1[_0x46f328([0x65,0x78,0x70])]<_0x59c58a;}function _0x524c36(){const _0x31e8d8=_0x447ab1[_0x46f328([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x31e8d8&&(!!_0x31e8d8[_0x46f328([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x46f328([0x2a]))||(!!_0x31e8d8[_0x46f328([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x46f328([0x54,0x4f,0x43]))||!!_0x31e8d8[_0x46f328([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x46f328([0x50,0x50]))));}function _0x410bd0(){const _0x43af7c=_0x447ab1[_0x46f328([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x43af7c||0x0==_0x43af7c[_0x46f328([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x46985a}=new URL(window[_0x46f328([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x43af7c[_0x46f328([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x46985a))return!0x0;const _0xc73373=_0x46985a[_0x46f328([0x73,0x70,0x6c,0x69,0x74])](_0x46f328([0x2e]));return _0x43af7c[_0x46f328([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3f50e6=>_0x3f50e6[_0x46f328([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x46f328([0x2a])))[_0x46f328([0x6d,0x61,0x70])](_0x18e1e3=>_0x18e1e3[_0x46f328([0x73,0x70,0x6c,0x69,0x74])](_0x46f328([0x2e])))[_0x46f328([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xcd43a7=>_0xcd43a7[_0x46f328([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0xc73373[_0x46f328([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x46f328([0x6d,0x61,0x70])](_0x208e57=>Array(_0xc73373[_0x46f328([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x208e57[_0x46f328([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x46f328([0x66,0x69,0x6c,0x6c])](_0x208e57[0x0]===_0x46f328([0x2a])?_0x46f328([0x2a]):'')[_0x46f328([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x208e57))[_0x46f328([0x73,0x6f,0x6d,0x65])](_0x438474=>_0xc73373[_0x46f328([0x65,0x76,0x65,0x72,0x79])]((_0x217b4c,_0x316378)=>_0x438474[_0x316378]===_0x217b4c||_0x438474[_0x316378]===_0x46f328([0x2a])));}function _0x2debff(){return _0x1d6222&&_0x17a006?new window[(_0x46f328([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x132611,_0x31766e)=>{_0x1d6222[_0x46f328([0x74,0x68,0x65,0x6e])](_0x132611,_0x31766e),_0x17a006[_0x46f328([0x74,0x68,0x65,0x6e])](_0x197fe8=>{_0x197fe8!=_0x46f328([0x56,0x61,0x6c,0x69,0x64])&&_0x132611(_0x197fe8);},_0x31766e);}):_0x1d6222||_0x17a006||_0x46f328([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1a9522(_0x43e9d9,_0x542d36){return new window[(_0x46f328([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x487064=>{if(_0x5a6348())return _0x487064(_0x46f328([0x56,0x61,0x6c,0x69,0x64]));_0x4fc38a(),_0x171108[_0x46f328([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x46f328([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x266e84=!0x1;const _0x550f8f=_0x4aef6f();function _0x5e0517(_0x585485){return!!_0x585485&&(typeof _0x585485===_0x46f328([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x585485===_0x46f328([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x585485[_0x46f328([0x74,0x68,0x65,0x6e])]===_0x46f328([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x585485[_0x46f328([0x63,0x61,0x74,0x63,0x68])]===_0x46f328([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x526682(_0x251cef){_0x12743c(_0x251cef)[_0x46f328([0x74,0x68,0x65,0x6e])](_0x3a5cfd=>{if(!_0x3a5cfd||_0x3a5cfd[_0x46f328([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x46f328([0x6f,0x6b]))return _0x46f328([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x24f150(_0x39f547(_0x550f8f+_0x542d36))!=_0x3a5cfd[_0x46f328([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x46f328([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x46f328([0x56,0x61,0x6c,0x69,0x64]);})[_0x46f328([0x74,0x68,0x65,0x6e])](_0x373433=>(_0x4d7985(),_0x373433),()=>{const _0x14de8d=_0x575140();return null==_0x14de8d?(_0x4d7985(),_0x46f328([0x56,0x61,0x6c,0x69,0x64])):_0x46f328(_0x113570-_0x14de8d>(0x26c9ed04^_0x68370b)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x46f328([0x74,0x68,0x65,0x6e])](_0x487064)[_0x46f328([0x63,0x61,0x74,0x63,0x68])](()=>{_0x487064(_0x46f328([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xbf7450=0x2f38784^_0x68370b;function _0x4d7985(){const _0x2611e5=_0x46f328([0x6c,0x6c,0x63,0x74,0x2d])+_0x24f150(_0x39f547(_0x43e9d9)),_0x34eb03=_0x48abde(_0x24f150(window[_0x46f328([0x4d,0x61,0x74,0x68])][_0x46f328([0x63,0x65,0x69,0x6c])](_0x113570/_0xbf7450)));window[_0x46f328([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x46f328([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2611e5,_0x34eb03);}function _0x575140(){const _0x43f8c4=_0x46f328([0x6c,0x6c,0x63,0x74,0x2d])+_0x24f150(_0x39f547(_0x43e9d9)),_0x59d9a4=window[_0x46f328([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x46f328([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x43f8c4);return _0x59d9a4?window[_0x46f328([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x48abde(_0x59d9a4),0x10)*_0xbf7450:null;}function _0x12743c(_0x2c95ac){return new window[(_0x46f328([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x44efca,_0x9bdc98)=>{_0x2c95ac[_0x46f328([0x74,0x68,0x65,0x6e])](_0x44efca,_0x9bdc98),window[_0x46f328([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x9bdc98,0x2c4bdc4^_0x68370b);});}}_0x171108[_0x46f328([0x6f,0x6e])](_0x46f328([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x296f5b,_0x537db3)=>{if(_0x537db3[0x0]!=_0x43e9d9)return _0x487064(_0x46f328([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x537db3[0x1]={..._0x537db3[0x1],[_0x46f328([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x550f8f};},{[_0x46f328([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x46f328([0x68,0x69,0x67,0x68])}),_0x171108[_0x46f328([0x6f,0x6e])](_0x46f328([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x379050=>{_0x5e0517(_0x379050[_0x46f328([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x266e84=!0x0,_0x526682(_0x379050[_0x46f328([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x46f328([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x46f328([0x6c,0x6f,0x77])}),_0x3efe4c[_0x46f328([0x74,0x68,0x65,0x6e])](()=>{_0x266e84||_0x487064(_0x46f328([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5a6348(){return _0x171108[_0x46f328([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x46f328([0x76,0x69,0x65,0x77])][_0x46f328([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x46f328([0x61,0x75,0x74,0x6f]);}function _0x4fc38a(){_0x171108[_0x46f328([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x46f328([0x76,0x69,0x65,0x77])][_0x46f328([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x46f328([0x61,0x75,0x74,0x6f]);}}function _0x543f3b(_0x154730){const _0x44a0a4=[new window[(_0x46f328([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x43ae47=>setTimeout(_0x43ae47,0x2cc57c8^_0x68370b)),_0x3efe4c[_0x46f328([0x74,0x68,0x65,0x6e])](()=>new window[(_0x46f328([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2e5263=>{let _0x5eb31d=0x0;_0x171108[_0x46f328([0x6d,0x6f,0x64,0x65,0x6c])][_0x46f328([0x6f,0x6e])](_0x46f328([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x302320,_0x304910)=>{_0x304910[0x0][_0x46f328([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5eb31d++,_0x5eb31d==(0x2c568fc^_0x68370b)&&(_0x2e5263(),_0x302320[_0x46f328([0x6f,0x66,0x66])]());});}))];return window[_0x46f328([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x46f328([0x72,0x61,0x63,0x65])](_0x44a0a4)[_0x46f328([0x74,0x68,0x65,0x6e])](()=>_0x154730);}async function _0x5b5002(){await _0x3efe4c,_0x171108[_0x46f328([0x6d,0x6f,0x64,0x65,0x6c])][_0x46f328([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x54897d,_0x171108[_0x46f328([0x6d,0x6f,0x64,0x65,0x6c])][_0x46f328([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x54897d,_0x171108[_0x46f328([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x46f328([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5046ee(_0x274027){const _0x48d213=_0x59a512();_0x171108[_0x48d213]=_0x46f328([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])+_0x274027,_0x274027!=_0x46f328([0x56,0x61,0x6c,0x69,0x64])&&_0x5b5002();}function _0x59a512(){const _0x5019e5=window[_0x46f328([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x46f328([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x46f328([0x6e,0x6f,0x77])]())[_0x46f328([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x46f328([0x2e]),'');let _0x1db72e=_0x46f328([0x4b]);for(let _0x206f33=0x0;_0x206f33<_0x5019e5[_0x46f328([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x206f33+=0x2){let _0x3641d8=window[_0x46f328([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5019e5[_0x46f328([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x206f33,_0x206f33+0x2));_0x3641d8>=_0x42e830[_0x46f328([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3641d8-=_0x42e830[_0x46f328([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1db72e+=_0x42e830[_0x3641d8];}return _0x1db72e;}function _0x1ad923(){const _0x2dfe4c=_0x4342f1[_0x46f328([0x73,0x70,0x6c,0x69,0x74])](_0x46f328([0x2e]));if(0x3!=_0x2dfe4c[_0x46f328([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2193e4(_0x2dfe4c[0x1]);function _0x2193e4(_0x344a40){const _0x103f05=_0x343087(_0x344a40);return _0x103f05&&_0x18cd30()?_0x103f05:null;function _0x18cd30(){const _0x462782=_0x103f05[_0x46f328([0x6a,0x74,0x69])],_0x3e734c=window[_0x46f328([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x462782[_0x46f328([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x462782[_0x46f328([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x45cde7={..._0x103f05,[_0x46f328([0x6a,0x74,0x69])]:_0x462782[_0x46f328([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x462782[_0x46f328([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x45cde7[_0x46f328([0x76,0x63])],_0x39f547(_0x45cde7)==_0x3e734c;}}}async function _0x421a74(){let _0x5b8b52=!0x0;try{const _0x3aa5c0=_0x4342f1[_0x46f328([0x73,0x70,0x6c,0x69,0x74])](_0x46f328([0x2e])),[_0x318dde,_0x3a9a8c,_0x230ac3]=_0x3aa5c0;return _0x4c5b6c(_0x318dde),await _0xa80ab(_0x318dde,_0x3a9a8c,_0x230ac3),_0x5b8b52;}catch{return!0x1;}function _0x4c5b6c(_0x11ff1d){const _0x85a681=_0x343087(_0x11ff1d);_0x85a681&&_0x85a681[_0x46f328([0x61,0x6c,0x67])]==_0x46f328([0x45,0x53,0x32,0x35,0x36])||(_0x5b8b52=!0x1);}async function _0xa80ab(_0x2c5318,_0x3f4c81,_0xcda203){const _0xf87549=window[_0x46f328([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x46f328([0x66,0x72,0x6f,0x6d])](_0x35c51e(_0xcda203),_0x121dda=>_0x121dda[_0x46f328([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x13fe62=new window[(_0x46f328([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x46f328([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2c5318+_0x46f328([0x2e])+_0x3f4c81),_0x503580=window[_0x46f328([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x46f328([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x503580)return;const _0x3ec7db=await _0x503580[_0x46f328([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x46f328([0x6a,0x77,0x6b]),_0x22c8f9,{[_0x46f328([0x6e,0x61,0x6d,0x65])]:_0x46f328([0x45,0x43,0x44,0x53,0x41]),[_0x46f328([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x46f328([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x46f328([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x503580[_0x46f328([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x46f328([0x6e,0x61,0x6d,0x65])]:_0x46f328([0x45,0x43,0x44,0x53,0x41]),[_0x46f328([0x68,0x61,0x73,0x68])]:{[_0x46f328([0x6e,0x61,0x6d,0x65])]:_0x46f328([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3ec7db,_0xf87549,_0x13fe62)||(_0x5b8b52=!0x1);}}function _0x343087(_0x2dd6a5){return _0x2dd6a5[_0x46f328([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x46f328([0x65,0x79]))?JSON[_0x46f328([0x70,0x61,0x72,0x73,0x65])](_0x35c51e(_0x2dd6a5)):null;}function _0x35c51e(_0x3f4a83){return window[_0x46f328([0x61,0x74,0x6f,0x62])](_0x3f4a83[_0x46f328([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x46f328([0x2b]))[_0x46f328([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x46f328([0x2f])));}function _0x39f547(_0x3b3e11){let _0x1b3c2c=0x1505;function _0x86a864(_0x136c7d){for(let _0x40fe8b=0x0;_0x40fe8b<_0x136c7d[_0x46f328([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x40fe8b++){const _0x2d8252=_0x136c7d[_0x46f328([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x40fe8b);_0x1b3c2c=(_0x1b3c2c<<0x5)+_0x1b3c2c+_0x2d8252,_0x1b3c2c&=_0x1b3c2c;}}function _0x2daa91(_0x3077bf){Array[_0x46f328([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3077bf)?_0x3077bf[_0x46f328([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2daa91):_0x3077bf&&typeof _0x3077bf==_0x46f328([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x46f328([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3077bf)[_0x46f328([0x73,0x6f,0x72,0x74])]()[_0x46f328([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x551a47,_0xa6d0f])=>{_0x86a864(_0x551a47),_0x2daa91(_0xa6d0f);}):_0x86a864(window[_0x46f328([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3077bf));}return _0x2daa91(_0x3b3e11),_0x1b3c2c>>>0x0;}function _0x24f150(_0x249373){return _0x249373[_0x46f328([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x46f328([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x46f328([0x30]));}function _0x48abde(_0x493ac6){return _0x493ac6[_0x46f328([0x73,0x70,0x6c,0x69,0x74])]('')[_0x46f328([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x46f328([0x6a,0x6f,0x69,0x6e])]('');}function _0x54897d(){}function _0x46f328(_0x237fed){return _0x237fed['map'](_0x14d828=>String['fromCharCode'](_0x14d828))['join']('');}_0x5046ee(await _0x2f2079());}(this);}['_updateTableOfContentsElements'](){this['_tableOfContentsElements']['forEach'](_0x51a2f7=>{'$graveyard'!==_0x51a2f7['rootName']&&this['editor']['editing']['reconvertItem'](_0x51a2f7);});}['_trackNewToCElements'](){for(const _0x582893 of this['editor']['model']['document']['differ']['getChanges']({'includeChangesInGraveyard':!0x0})){if('insert'!==_0x582893['type']||'tableOfContents'!==_0x582893['name'])return;this['_tableOfContentsElements']['add'](_0x582893['position']['nodeAfter']);}}['_defineSchema'](){this['editor']['model']['schema']['register']('tableOfContents',{'inheritAllFrom':'$blockObject'});}['_defineConverters'](){const _0x2f9742=this['editor']['conversion'];_0x2f9742['for']('upcast')['elementToElement']({'model':'tableOfContents','view':{'name':'div','classes':'table-of-contents'}}),_0x2f9742['for']('dataDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0xa20400,{writer:_0x248f8a})=>this['_createTableOfContents'](_0x248f8a,!0x0)}),_0x2f9742['for']('editingDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x3845bd,{writer:_0x3f7baf})=>{this['_tableOfContentsElements']['add'](_0x3845bd);const _0x1c69b6=this['_createTableOfContents'](_0x3f7baf);return _0x271db0(_0x1c69b6,_0x3f7baf,{'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'](_0x78ed5b,_0x15f6e3=!0x1){const {locale:_0x57653a}=this['editor'],_0x322974=_0x78ed5b['createContainerElement']('div',{'class':'table-of-contents'+(0x0===this['_currentOutlineDefinitions']['length']?'\x20table-of-contents_empty':''),...!_0x15f6e3&&{'data-table-of-contents-label':j(_0x57653a,'Table\x20of\x20contents')}});0x0===this['_currentOutlineDefinitions']['length']&&!0x1===_0x15f6e3&&_0x78ed5b['insert'](_0x78ed5b['createPositionAt'](_0x322974,'end'),_0x78ed5b['createContainerElement']('p',{'class':'table-of-contents__placeholder'},[_0x78ed5b['createText'](j(_0x57653a,'No\x20headings\x20were\x20found\x20in\x20the\x20document.'))]));const _0x388c73=_0x15f6e3?'':'['+j(_0x57653a,'Empty\x20heading')+']';let _0x3da549=_0x322974;return this['_currentOutlineDefinitions']['forEach']((_0x2ad463,_0x490fce,_0x3c9c7d)=>{const _0x49939f=this['editor']['model']['hasContent'](_0x2ad463['modelElement'],{'ignoreWhitespaces':!0x0}),_0x13869c=_0x49939f?_0x2ad463['text']:_0x388c73,_0x150bad=_0x2ad463['modelElement']['getAttribute'](this['_headingIdModelAttributeName']),_0x2f2624=_0x78ed5b['createContainerElement']('a',{'href':'#'+_0x150bad,...!_0x15f6e3&&{'tabindex':'-1'}},[_0x78ed5b['createText'](_0x13869c)]),_0x1292c2=this['editor']['config']['get']('documentOutline.showEmptyHeadings');_0x78ed5b['setCustomProperty']('tableOfContentsHeadingIndex',_0x490fce,_0x2f2624);const _0x441b96=_0x78ed5b['createContainerElement']('li',null,[_0x49939f||!_0x15f6e3&&_0x1292c2?_0x2f2624:_0x78ed5b['createText']('')]),_0x220764=_0x490fce?_0x3c9c7d[_0x490fce-0x1]['level']:0x0,_0x43726a=Math['abs'](_0x2ad463['level']-_0x220764);if(_0x2ad463['level']>_0x220764){const _0x46e8ef=N(_0x441b96,_0x43726a,_0x78ed5b);_0x78ed5b['insert'](_0x78ed5b['createPositionAt'](_0x3da549,'end'),_0x46e8ef);}else{const _0x6ae8f3=function(_0x1a3a3b,_0x2ecc3e){return _0x1a3a3b['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0})['filter'](_0x48b2aa=>_0x48b2aa['is']('element','ol'))[_0x2ecc3e];}(_0x3da549,_0x43726a);_0x78ed5b['insert'](_0x78ed5b['createPositionAt'](_0x6ae8f3,'end'),_0x441b96);}_0x3da549=_0x441b96;}),_0x322974;}['_handleScrollToHeading'](_0x2f0045){const _0x202ce4=this['_currentOutlineDefinitions'][_0x2f0045]['modelElement'];this['editor']['model']['change'](_0x9b4ff6=>{_0x9b4ff6['setSelection'](_0x202ce4,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0});}['_redirectMapper'](){return(_0x3383ef,_0x138386)=>{const _0x12211c=_0x138386['mapper'],_0x351ea7=_0x12211c['findMappedViewAncestor'](_0x138386['viewPosition']),_0x237010=_0x12211c['toModelElement'](_0x351ea7);_0x237010['is']('element','tableOfContents')&&(_0x138386['modelPosition']=this['editor']['model']['createPositionAt'](_0x237010,0x0),_0x3383ef['stop']());};}}function N(_0x25b065,_0x4a2b6d,_0x528d9a){return 0x1===_0x4a2b6d?_0x528d9a['createContainerElement']('ol',null,[_0x25b065]):_0x528d9a['createContainerElement']('ol',null,[_0x528d9a['createContainerElement']('li',null,[N(_0x25b065,_0x4a2b6d-0x1,_0x528d9a)])]);}class o extends _0x3de503{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'TableOfContentsUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x1db6f4=this['editor'];_0x1db6f4['ui']['componentFactory']['add']('tableOfContents',()=>{const _0x456eda=this['_createButton'](_0x3f89c0);return _0x456eda['tooltip']=!0x0,_0x456eda;}),_0x1db6f4['ui']['componentFactory']['add']('menuBar:tableOfContents',()=>this['_createButton'](_0x1ffb99)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x158975=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3b4532;for(const _0x1eebb2 in _0x158975){const _0x51453a=_0x1eebb2,_0x1dae93=_0x158975[_0x51453a];if('tableOfContentsLicenseKeyValid'==_0x1dae93||'tableOfContentsLicenseKeyInvalid'==_0x1dae93||'tableOfContentsLicenseKeyExpired'==_0x1dae93||'tableOfContentsLicenseKeyDomainLimit'==_0x1dae93||'tableOfContentsLicenseKeyNotAllowed'==_0x1dae93||'tableOfContentsLicenseKeyEvaluationLimit'==_0x1dae93||'tableOfContentsLicenseKeyTrialLimit'==_0x1dae93||'tableOfContentsLicenseKeyUsageLimit'==_0x1dae93){delete _0x158975[_0x51453a],_0x3b4532=_0x1dae93,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'tableOfContentsLicenseKeyInvalid'==_0x3b4532&&_0x158975['_showLicenseError']('invalid'),'tableOfContentsLicenseKeyExpired'==_0x3b4532&&_0x158975['_showLicenseError']('expired'),'tableOfContentsLicenseKeyDomainLimit'==_0x3b4532&&_0x158975['_showLicenseError']('domainLimit'),'tableOfContentsLicenseKeyNotAllowed'==_0x3b4532&&_0x158975['_showLicenseError']('featureNotAllowed','TableOfContents'),'tableOfContentsLicenseKeyEvaluationLimit'==_0x3b4532&&_0x158975['_showLicenseError']('evaluationLimit'),'tableOfContentsLicenseKeyTrialLimit'==_0x3b4532&&_0x158975['_showLicenseError']('trialLimit'),'tableOfContentsLicenseKeyUsageLimit'==_0x3b4532&&_0x158975['_showLicenseError']('usageLimit');},0x3e8);}['_createButton'](_0x2cd30e){const _0x4a96b1=this['editor'],_0x5d7c0b=_0x4a96b1['locale'],_0x167ef4=_0x4a96b1['commands']['get']('insertTableOfContents'),_0x14bef1=new _0x2cd30e(_0x5d7c0b);return _0x14bef1['set']({'label':j(_0x5d7c0b,'Table\x20of\x20contents'),'icon':_0x172d8d}),_0x14bef1['bind']('isEnabled')['to'](_0x167ef4,'isEnabled'),this['listenTo'](_0x14bef1,'execute',()=>{_0x4a96b1['execute']('insertTableOfContents'),_0x4a96b1['editing']['view']['focus']();}),_0x14bef1;}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class D extends _0x3de503{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 _0x53a7d0,Command as _0x4d488b}from'@ckeditor/ckeditor5-core/dist/index.js';import{debounce as _0x4b0d94,throttle as _0x4292a9}from'es-toolkit/compat';import{ModelText as _0x20d5bb,ModelTreeWalker as _0x472478}from'@ckeditor/ckeditor5-engine/dist/index.js';import{diff as _0x299bbe,diffToChanges as _0x5cb588,scrollAncestorsToShowTarget as _0x2de8d0,CKEditorError as _0x39baaa,global as _0x1a8497,Rect as _0x325d2f,uid as _0x36fe0b,priorities as _0x180e22}from'@ckeditor/ckeditor5-utils/dist/index.js';import{View as _0x4a287d,ButtonView as _0x43e91c,MenuBarMenuListItemButtonView as _0x1b45ba}from'@ckeditor/ckeditor5-ui/dist/index.js';import{Widget as _0x135331,toWidget as _0x100aee}from'@ckeditor/ckeditor5-widget/dist/index.js';import{IconTableOfContents as _0x5e9e1a}from'@ckeditor/ckeditor5-icons/dist/index.js';function I(_0x246e29){let _0x5eccd1='';for(const _0x336791 of _0x246e29['getChildren']())_0x336791 instanceof _0x20d5bb&&(_0x5eccd1+=_0x336791['data']);return _0x5eccd1;}class i extends _0x53a7d0{static get['pluginName'](){return'DocumentOutlineUtils';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['_headingNames']=[];['init'](){const _0x454e6e=this['editor'];this['_headingNames']=this['_getHeadingNames']();let _0x2c8ec0=[];_0x454e6e['model']['document']['on']('change',_0x4b0d94(()=>{const _0x8f4ded=_0x2c8ec0;_0x2c8ec0=this['_getOutlineDefinitions']();const _0x2b6211=_0x299bbe(_0x8f4ded,_0x2c8ec0,(_0x29c1e9,_0x1a77c3)=>_0x29c1e9['level']===_0x1a77c3['level']&&_0x29c1e9['text']===_0x1a77c3['text']&&_0x29c1e9['modelElement']===_0x1a77c3['modelElement']),_0xa17bcc=_0x5cb588(_0x2b6211,_0x2c8ec0),_0x1f4095=this['_getActiveHeading'](),_0xc4680e=_0x2c8ec0['findIndex'](_0x6aefd7=>_0x6aefd7['modelElement']===_0x1f4095);_0xa17bcc['length']&&this['fire']('change',{'outlineDefinitions':_0x2c8ec0,'activeItemIndex':_0xc4680e,'outlineChanges':_0xa17bcc}),this['fire']('activeItemIndex',{'index':_0xc4680e});},0xfa,{'leading':!0x0,'trailing':!0x0}));}['afterInit'](){this['_headingNames']['length']||this['_deriveHeadingElementsFromConversion']();}['_getOutlineDefinitions'](){const _0xe9efb8=this['editor'],_0x22f2f6=[],_0x167a0b=this['_headingNames'];for(const _0x193f77 of _0xe9efb8['model']['document']['getRootNames']())_0xc2990f(_0xe9efb8['model']['document']['getRoot'](_0x193f77));function _0xc2990f(_0x35e917){for(const _0x199803 of _0x35e917['getChildren']())_0x199803['is']('element')&&(_0x167a0b['includes'](_0x199803['name'])&&_0x22f2f6['push']({'level':_0x167a0b['indexOf'](_0x199803['name'])+0x1,'text':I(_0x199803),'modelElement':_0x199803}),_0xc2990f(_0x199803));}return _0x22f2f6;}['_getActiveHeading'](){const _0x2f582=this['editor']['model']['document']['selection']['getFirstPosition'](),_0x35290f=new _0x472478({'direction':'backward','startPosition':_0x2f582});for(const _0x153f9c of _0x35290f)if(_0x153f9c['item']['is']('element')&&this['_headingNames']['includes'](_0x153f9c['item']['name']))return _0x153f9c['item'];}['_getHeadingNames'](){const _0x37f1a3=this['editor']['config']['get']('documentOutline.headings');return _0x37f1a3||function(_0x13b098){const _0x446e6a=_0x13b098['config']['get']('heading.options');return _0x446e6a?_0x446e6a['reduce']((_0x313a92,_0x52f8dd)=>('paragraph'!==_0x52f8dd['model']&&_0x313a92['push'](_0x52f8dd['model']),_0x313a92),[]):_0x13b098['plugins']['has']('GeneralHtmlSupport')?['htmlH1','htmlH2','htmlH3','htmlH4','htmlH5','htmlH6']:[];}(this['editor']);}['_deriveHeadingElementsFromConversion'](){const _0xc141c1=this['editor'],_0x2d7b62=['h1','h2','h3','h4','h5','h6'],_0x19a6e4=[];for(const _0x4698df of _0x2d7b62){const _0x3f5d44=_0xc141c1['editing']['view']['domConverter']['domToView'](document['createElement'](_0x4698df)),_0x57c717=_0xc141c1['data']['toModel'](_0x3f5d44)['getChild'](0x0);_0x57c717?.['is']('element')&&_0x19a6e4['push'](_0x57c717['name']);}this['_headingNames']=_0x19a6e4;}}function m(_0x321311,_0x2aeed0){const t=_0x321311['t'];switch(_0x2aeed0){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 _0x2aeed0;}}class A extends _0x4a287d{constructor(_0xf3a1d5,_0x4818b1=!0x1){super(_0xf3a1d5);const _0x1adf25=this['bindTemplate'],_0x2b1999=_0x4818b1?'['+m(_0xf3a1d5,'Empty\x20heading')+']':'';this['set']('text',''),this['set']('level',0x1),this['set']('isActive',!0x1),this['bind']('isEmpty')['to'](this,'text',_0x4a2067=>!_0x4a2067),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline__item',_0x1adf25['to']('level',_0x43140f=>'ck-document-outline__item_level-'+_0x43140f),_0x1adf25['if']('isActive','ck-document-outline__item_active'),_0x1adf25['if']('isEmpty','ck-document-outline__item_empty')],'title':_0x1adf25['to']('text')},'children':[{'text':_0x1adf25['to']('text',_0x42fc92=>_0x42fc92||_0x2b1999)}],'on':{'click':_0x1adf25['to']('click')}});}}class g extends _0x4a287d{['items'];['documentOutlineContainer'];['showEmptyHeadingText'];constructor(_0x246645,_0x293a9e=!0x1,_0x506356){super(_0x246645),this['showEmptyHeadingText']=_0x293a9e,this['set']('activeItemIndex',-0x1),this['documentOutlineContainer']=_0x506356,this['items']=this['createCollection'](),this['items']['delegate']('click')['to'](this),this['on']('click',this['_handleItemClick']['bind'](this)),this['on']('change:activeItemIndex',(_0x12bc51,_0x49f3de,_0x376273,_0xd0bf02)=>{this['_setActiveItem'](_0xd0bf02,_0x376273);}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline'],'dir':_0x246645['contentLanguageDirection'],'data-document-outline-empty-placeholder':m(_0x246645,'Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.'),'tabindex':-0x1},'children':this['items']});}['sync'](_0x32f812){_0x32f812['forEach'](_0x56d0c3=>{'insert'==_0x56d0c3['type']?this['_insertItem'](_0x56d0c3['index'],..._0x56d0c3['values']):'delete'==_0x56d0c3['type']&&this['_deleteItem'](_0x56d0c3['index'],_0x56d0c3['howMany']);});}['_setActiveItem'](_0x323e10,_0x52c7bc){if(-0x1!==_0x323e10){const _0x2644bb=this['items']['get'](_0x323e10);_0x2644bb&&(_0x2644bb['isActive']=!0x1);}-0x1!==_0x52c7bc&&(this['items']['get'](_0x52c7bc)['isActive']=!0x0,this['_scrollToItem'](_0x52c7bc));}['_insertItem'](_0x137928,..._0x8a6650){const _0x25a08c=_0x8a6650['map']((_0x2c29d0,_0x56a679)=>{const _0x148d14=new A(this['locale'],this['showEmptyHeadingText']);return _0x148d14['text']=_0x2c29d0['text'],_0x148d14['level']=_0x2c29d0['level'],_0x137928+_0x56a679===this['activeItemIndex']&&(_0x148d14['isActive']=!0x0),_0x148d14;});this['items']['addMany'](_0x25a08c,_0x137928);}['_deleteItem'](_0x18de1b,_0x3ac30b){do{this['items']['remove'](_0x18de1b);}while(--_0x3ac30b);}['_handleItemClick'](_0x28feff){const _0x457312=this['items']['getIndex'](_0x28feff['source']);this['fire']('itemSelected',_0x457312);}['_scrollToItem'](_0x1aab61){_0x2de8d0(this['items']['get'](_0x1aab61)['element'],0x14,this['documentOutlineContainer']);}['destroy'](){super['destroy'](),this['element']['remove']();}}class n extends _0x53a7d0{['view'];['_currentOutlineDefinitions'];['_updateActiveDefinitionFromViewportThrottled'];static get['pluginName'](){return'DocumentOutlineUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x2a31c1){super(_0x2a31c1),this['view']=new g(_0x2a31c1['locale'],this['editor']['config']['get']('documentOutline.showEmptyHeadings'),this['editor']['config']['get']('documentOutline.container')),this['_currentOutlineDefinitions']=[],this['_updateActiveDefinitionFromViewportThrottled']=_0x4292a9(this['_updateActiveDefinitionOnViewportChange']['bind'](this),0x64);}['init'](){const _0x24911e=this['editor'],_0x48bf5a=_0x24911e['plugins']['get']('DocumentOutlineUtils');let _0x32493e=!0x1;if(this['view']['render'](),this['editor']['ui']['focusTracker']['add'](this['view']['element']),!_0x24911e['config']['get']('documentOutline.container'))throw new _0x39baaa('document-outline-container-not-provided',{'editor':_0x24911e});_0x24911e['config']['get']('documentOutline.container')['appendChild'](this['view']['element']),_0x48bf5a['on']('change',this['_handleOutlineChange']['bind'](this)),_0x48bf5a['on']('activeItemIndex',(_0xf9095,{index:_0x252be0})=>this['_setActiveViewItem'](_0x252be0)),this['view']['on']('itemSelected',(_0x3eb778,_0x12dec2)=>{_0x32493e=!0x0,this['_handleItemSelected'](_0x12dec2);}),this['view']['listenTo'](_0x1a8497['document'],'scroll',()=>{_0x32493e?_0x32493e=!0x1:this['_updateActiveDefinitionFromViewportThrottled']();},{'useCapture':!0x0}),this['view']['listenTo'](_0x1a8497['window'],'resize',this['_updateActiveDefinitionFromViewportThrottled'],{'useCapture':!0x0});}['afterInit'](){!async function(_0x149a9b){const _0x321961=_0x260ba1([0x4e,0x31,0x46,0x61,0x43,0x67,0x75,0x6b,0x44,0x6f,0x4d,0x7a,0x48,0x52,0x49,0x58,0x39,0x6d,0x4b,0x35,0x45,0x32,0x37,0x65,0x30,0x36,0x56,0x47,0x74,0x59,0x77,0x66,0x78,0x63,0x33,0x6a,0x72,0x54,0x5a,0x4a,0x41,0x76,0x73,0x4f,0x68,0x70,0x4c,0x55,0x42,0x50,0x79,0x34,0x57,0x51,0x71,0x6e,0x64,0x53,0x38,0x62,0x6c,0x69]),_0x64c565=0x17ed9ebb,_0x3be103=0x17eaf143^_0x64c565,_0xbda6c5=window[_0x260ba1([0x44,0x61,0x74,0x65])][_0x260ba1([0x6e,0x6f,0x77])](),_0x1512df=_0x149a9b[_0x260ba1([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x463ac5=new window[(_0x260ba1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2aeeb2=>{_0x1512df[_0x260ba1([0x6f,0x6e,0x63,0x65])](_0x260ba1([0x72,0x65,0x61,0x64,0x79]),_0x2aeeb2);}),_0xd250cc={[_0x260ba1([0x6b,0x74,0x79])]:_0x260ba1([0x45,0x43]),[_0x260ba1([0x75,0x73,0x65])]:_0x260ba1([0x73,0x69,0x67]),[_0x260ba1([0x63,0x72,0x76])]:_0x260ba1([0x50,0x2d,0x32,0x35,0x36]),[_0x260ba1([0x78])]:_0x260ba1([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]),[_0x260ba1([0x79])]:_0x260ba1([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]),[_0x260ba1([0x61,0x6c,0x67])]:_0x260ba1([0x45,0x53,0x32,0x35,0x36])},_0x46f76e=_0x1512df[_0x260ba1([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x260ba1([0x67,0x65,0x74])](_0x260ba1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xd5052e(){let _0x2a873d,_0x3799a7=null,_0x3c31ee=null;try{if(_0x46f76e==_0x260ba1([0x47,0x50,0x4c]))return _0x260ba1([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2a873d=_0x21bfdd(),!_0x2a873d)return _0x260ba1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2a873d[_0x260ba1([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3c31ee=_0x393bfb(_0x2a873d[_0x260ba1([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2a873d[_0x260ba1([0x6a,0x74,0x69])])),await _0x5c06b2()?_0x10e38c()?_0x193343()?_0x260ba1([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5af516()?(_0x2a873d[_0x260ba1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x260ba1([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3799a7=_0x4735fb(_0x260ba1([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2a873d[_0x260ba1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x260ba1([0x74,0x72,0x69,0x61,0x6c])&&(_0x3799a7=_0x4735fb(_0x260ba1([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x240d4d()):_0x260ba1([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x260ba1([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x260ba1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x260ba1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x193343(){const _0x296ee7=[_0x260ba1([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x260ba1([0x74,0x72,0x69,0x61,0x6c])][_0x260ba1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2a873d[_0x260ba1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xbda6c5/0x3e8:0xe10*_0x3be103;return _0x2a873d[_0x260ba1([0x65,0x78,0x70])]<_0x296ee7;}function _0x10e38c(){const _0x4588d1=_0x2a873d[_0x260ba1([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4588d1&&(!!_0x4588d1[_0x260ba1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x260ba1([0x2a]))||(!!_0x4588d1[_0x260ba1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x260ba1([0x44,0x4f]))||!!_0x4588d1[_0x260ba1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x260ba1([0x50,0x50]))));}function _0x5af516(){const _0x3c84ad=_0x2a873d[_0x260ba1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3c84ad||0x0==_0x3c84ad[_0x260ba1([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xdbfdc1}=new URL(window[_0x260ba1([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3c84ad[_0x260ba1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xdbfdc1))return!0x0;const _0x128bec=_0xdbfdc1[_0x260ba1([0x73,0x70,0x6c,0x69,0x74])](_0x260ba1([0x2e]));return _0x3c84ad[_0x260ba1([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xda9b08=>_0xda9b08[_0x260ba1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x260ba1([0x2a])))[_0x260ba1([0x6d,0x61,0x70])](_0x707055=>_0x707055[_0x260ba1([0x73,0x70,0x6c,0x69,0x74])](_0x260ba1([0x2e])))[_0x260ba1([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3b1ff9=>_0x3b1ff9[_0x260ba1([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x128bec[_0x260ba1([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x260ba1([0x6d,0x61,0x70])](_0x5cb8aa=>Array(_0x128bec[_0x260ba1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5cb8aa[_0x260ba1([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x260ba1([0x66,0x69,0x6c,0x6c])](_0x5cb8aa[0x0]===_0x260ba1([0x2a])?_0x260ba1([0x2a]):'')[_0x260ba1([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5cb8aa))[_0x260ba1([0x73,0x6f,0x6d,0x65])](_0x3bccd5=>_0x128bec[_0x260ba1([0x65,0x76,0x65,0x72,0x79])]((_0x22df02,_0x4d2166)=>_0x3bccd5[_0x4d2166]===_0x22df02||_0x3bccd5[_0x4d2166]===_0x260ba1([0x2a])));}function _0x240d4d(){return _0x3799a7&&_0x3c31ee?new window[(_0x260ba1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4d3f71,_0x59f365)=>{_0x3799a7[_0x260ba1([0x74,0x68,0x65,0x6e])](_0x4d3f71,_0x59f365),_0x3c31ee[_0x260ba1([0x74,0x68,0x65,0x6e])](_0x295553=>{_0x295553!=_0x260ba1([0x56,0x61,0x6c,0x69,0x64])&&_0x4d3f71(_0x295553);},_0x59f365);}):_0x3799a7||_0x3c31ee||_0x260ba1([0x56,0x61,0x6c,0x69,0x64]);}}function _0x393bfb(_0x214216,_0x1b0032){return new window[(_0x260ba1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x22900f=>{if(_0x48b918())return _0x22900f(_0x260ba1([0x56,0x61,0x6c,0x69,0x64]));_0x5c6777(),_0x1512df[_0x260ba1([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x260ba1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x448184=!0x1;const _0x415a98=_0x36fe0b();function _0x39d868(_0x3bc610){return!!_0x3bc610&&(typeof _0x3bc610===_0x260ba1([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3bc610===_0x260ba1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3bc610[_0x260ba1([0x74,0x68,0x65,0x6e])]===_0x260ba1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3bc610[_0x260ba1([0x63,0x61,0x74,0x63,0x68])]===_0x260ba1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x512dd9(_0x33d7c9){_0x36694c(_0x33d7c9)[_0x260ba1([0x74,0x68,0x65,0x6e])](_0x14624b=>{if(!_0x14624b||_0x14624b[_0x260ba1([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x260ba1([0x6f,0x6b]))return _0x260ba1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5ae639(_0x3f55fe(_0x415a98+_0x1b0032))!=_0x14624b[_0x260ba1([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x260ba1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x260ba1([0x56,0x61,0x6c,0x69,0x64]);})[_0x260ba1([0x74,0x68,0x65,0x6e])](_0xe9e1a5=>(_0x585287(),_0xe9e1a5),()=>{const _0x266066=_0xac5b46();return null==_0x266066?(_0x585287(),_0x260ba1([0x56,0x61,0x6c,0x69,0x64])):_0x260ba1(_0xbda6c5-_0x266066>(0x33e11abb^_0x64c565)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x260ba1([0x74,0x68,0x65,0x6e])](_0x22900f)[_0x260ba1([0x63,0x61,0x74,0x63,0x68])](()=>{_0x22900f(_0x260ba1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x28980c=0x17db703b^_0x64c565;function _0x585287(){const _0x51c089=_0x260ba1([0x6c,0x6c,0x63,0x74,0x2d])+_0x5ae639(_0x3f55fe(_0x214216)),_0x34a698=_0x46ccb9(_0x5ae639(window[_0x260ba1([0x4d,0x61,0x74,0x68])][_0x260ba1([0x63,0x65,0x69,0x6c])](_0xbda6c5/_0x28980c)));window[_0x260ba1([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x260ba1([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x51c089,_0x34a698);}function _0xac5b46(){const _0x15b54c=_0x260ba1([0x6c,0x6c,0x63,0x74,0x2d])+_0x5ae639(_0x3f55fe(_0x214216)),_0xd5c8a6=window[_0x260ba1([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x260ba1([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x15b54c);return _0xd5c8a6?window[_0x260ba1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x46ccb9(_0xd5c8a6),0x10)*_0x28980c:null;}function _0x36694c(_0x1b4bb6){return new window[(_0x260ba1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x7d9986,_0x5b514d)=>{_0x1b4bb6[_0x260ba1([0x74,0x68,0x65,0x6e])](_0x7d9986,_0x5b514d),window[_0x260ba1([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5b514d,0x17ec4a7b^_0x64c565);});}}_0x1512df[_0x260ba1([0x6f,0x6e])](_0x260ba1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2d4198,_0x201a07)=>{if(_0x201a07[0x0]!=_0x214216)return _0x22900f(_0x260ba1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x201a07[0x1]={..._0x201a07[0x1],[_0x260ba1([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x415a98};},{[_0x260ba1([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x260ba1([0x68,0x69,0x67,0x68])}),_0x1512df[_0x260ba1([0x6f,0x6e])](_0x260ba1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x379d13=>{_0x39d868(_0x379d13[_0x260ba1([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x448184=!0x0,_0x512dd9(_0x379d13[_0x260ba1([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x260ba1([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x260ba1([0x6c,0x6f,0x77])}),_0x463ac5[_0x260ba1([0x74,0x68,0x65,0x6e])](()=>{_0x448184||_0x22900f(_0x260ba1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x48b918(){return _0x1512df[_0x260ba1([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x260ba1([0x76,0x69,0x65,0x77])][_0x260ba1([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x260ba1([0x61,0x75,0x74,0x6f]);}function _0x5c6777(){_0x1512df[_0x260ba1([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x260ba1([0x76,0x69,0x65,0x77])][_0x260ba1([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x260ba1([0x61,0x75,0x74,0x6f]);}}function _0x4735fb(_0x3e054b){const _0x1928d2=[new window[(_0x260ba1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x20e69f=>setTimeout(_0x20e69f,0x17e4a077^_0x64c565)),_0x463ac5[_0x260ba1([0x74,0x68,0x65,0x6e])](()=>new window[(_0x260ba1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x23399e=>{let _0x5802b5=0x0;_0x1512df[_0x260ba1([0x6d,0x6f,0x64,0x65,0x6c])][_0x260ba1([0x6f,0x6e])](_0x260ba1([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2d054e,_0xf5a5bd)=>{_0xf5a5bd[0x0][_0x260ba1([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5802b5++,_0x5802b5==(0x17ed9f43^_0x64c565)&&(_0x23399e(),_0x2d054e[_0x260ba1([0x6f,0x66,0x66])]());});}))];return window[_0x260ba1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x260ba1([0x72,0x61,0x63,0x65])](_0x1928d2)[_0x260ba1([0x74,0x68,0x65,0x6e])](()=>_0x3e054b);}async function _0x3761dc(){await _0x463ac5,_0x1512df[_0x260ba1([0x6d,0x6f,0x64,0x65,0x6c])][_0x260ba1([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x507469,_0x1512df[_0x260ba1([0x6d,0x6f,0x64,0x65,0x6c])][_0x260ba1([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x507469,_0x1512df[_0x260ba1([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x260ba1([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5152f3(_0x5719de){const _0x54212b=_0x2c811c();_0x1512df[_0x54212b]=_0x260ba1([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])+_0x5719de,_0x5719de!=_0x260ba1([0x56,0x61,0x6c,0x69,0x64])&&_0x3761dc();}function _0x2c811c(){const _0x22a704=window[_0x260ba1([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x260ba1([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x260ba1([0x6e,0x6f,0x77])]())[_0x260ba1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x260ba1([0x2e]),'');let _0x37b665=_0x260ba1([0x4e]);for(let _0x47e931=0x0;_0x47e931<_0x22a704[_0x260ba1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x47e931+=0x2){let _0x17726d=window[_0x260ba1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x22a704[_0x260ba1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x47e931,_0x47e931+0x2));_0x17726d>=_0x321961[_0x260ba1([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x17726d-=_0x321961[_0x260ba1([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x37b665+=_0x321961[_0x17726d];}return _0x37b665;}function _0x21bfdd(){const _0x3045c6=_0x46f76e[_0x260ba1([0x73,0x70,0x6c,0x69,0x74])](_0x260ba1([0x2e]));if(0x3!=_0x3045c6[_0x260ba1([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x6364f8(_0x3045c6[0x1]);function _0x6364f8(_0x1553ad){const _0x12f240=_0x32a5d1(_0x1553ad);return _0x12f240&&_0x4855e4()?_0x12f240:null;function _0x4855e4(){const _0x47f9dc=_0x12f240[_0x260ba1([0x6a,0x74,0x69])],_0x4d3096=window[_0x260ba1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x47f9dc[_0x260ba1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x47f9dc[_0x260ba1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x52c59d={..._0x12f240,[_0x260ba1([0x6a,0x74,0x69])]:_0x47f9dc[_0x260ba1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x47f9dc[_0x260ba1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x52c59d[_0x260ba1([0x76,0x63])],_0x3f55fe(_0x52c59d)==_0x4d3096;}}}async function _0x5c06b2(){let _0x105b2c=!0x0;try{const _0x2110e3=_0x46f76e[_0x260ba1([0x73,0x70,0x6c,0x69,0x74])](_0x260ba1([0x2e])),[_0x5b34b5,_0xe5828c,_0x3a97f2]=_0x2110e3;return _0x21d4ab(_0x5b34b5),await _0x431da5(_0x5b34b5,_0xe5828c,_0x3a97f2),_0x105b2c;}catch{return!0x1;}function _0x21d4ab(_0x18b48d){const _0xa4db65=_0x32a5d1(_0x18b48d);_0xa4db65&&_0xa4db65[_0x260ba1([0x61,0x6c,0x67])]==_0x260ba1([0x45,0x53,0x32,0x35,0x36])||(_0x105b2c=!0x1);}async function _0x431da5(_0x3d3530,_0x3eb832,_0xfb1d8b){const _0x4489b2=window[_0x260ba1([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x260ba1([0x66,0x72,0x6f,0x6d])](_0x5558cd(_0xfb1d8b),_0x24189c=>_0x24189c[_0x260ba1([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1a33c3=new window[(_0x260ba1([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x260ba1([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3d3530+_0x260ba1([0x2e])+_0x3eb832),_0xd8bcb4=window[_0x260ba1([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x260ba1([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xd8bcb4)return;const _0x18860c=await _0xd8bcb4[_0x260ba1([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x260ba1([0x6a,0x77,0x6b]),_0xd250cc,{[_0x260ba1([0x6e,0x61,0x6d,0x65])]:_0x260ba1([0x45,0x43,0x44,0x53,0x41]),[_0x260ba1([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x260ba1([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x260ba1([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xd8bcb4[_0x260ba1([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x260ba1([0x6e,0x61,0x6d,0x65])]:_0x260ba1([0x45,0x43,0x44,0x53,0x41]),[_0x260ba1([0x68,0x61,0x73,0x68])]:{[_0x260ba1([0x6e,0x61,0x6d,0x65])]:_0x260ba1([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x18860c,_0x4489b2,_0x1a33c3)||(_0x105b2c=!0x1);}}function _0x32a5d1(_0x377b94){return _0x377b94[_0x260ba1([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x260ba1([0x65,0x79]))?JSON[_0x260ba1([0x70,0x61,0x72,0x73,0x65])](_0x5558cd(_0x377b94)):null;}function _0x5558cd(_0x316123){return window[_0x260ba1([0x61,0x74,0x6f,0x62])](_0x316123[_0x260ba1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x260ba1([0x2b]))[_0x260ba1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x260ba1([0x2f])));}function _0x3f55fe(_0x4b0696){let _0x4929e4=0x1505;function _0x319644(_0x16c4e0){for(let _0xdd6710=0x0;_0xdd6710<_0x16c4e0[_0x260ba1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xdd6710++){const _0x190b6a=_0x16c4e0[_0x260ba1([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xdd6710);_0x4929e4=(_0x4929e4<<0x5)+_0x4929e4+_0x190b6a,_0x4929e4&=_0x4929e4;}}function _0x330c34(_0xc92c55){Array[_0x260ba1([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xc92c55)?_0xc92c55[_0x260ba1([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x330c34):_0xc92c55&&typeof _0xc92c55==_0x260ba1([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x260ba1([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xc92c55)[_0x260ba1([0x73,0x6f,0x72,0x74])]()[_0x260ba1([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x30aacf,_0x321839])=>{_0x319644(_0x30aacf),_0x330c34(_0x321839);}):_0x319644(window[_0x260ba1([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xc92c55));}return _0x330c34(_0x4b0696),_0x4929e4>>>0x0;}function _0x5ae639(_0x2baef1){return _0x2baef1[_0x260ba1([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x260ba1([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x260ba1([0x30]));}function _0x46ccb9(_0x39bd71){return _0x39bd71[_0x260ba1([0x73,0x70,0x6c,0x69,0x74])]('')[_0x260ba1([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x260ba1([0x6a,0x6f,0x69,0x6e])]('');}function _0x507469(){}function _0x260ba1(_0x4efb0d){return _0x4efb0d['map'](_0x39b304=>String['fromCharCode'](_0x39b304))['join']('');}_0x5152f3(await _0xd5052e());}(this);}['destroy'](){super['destroy'](),this['view']['destroy'](),this['_updateActiveDefinitionFromViewportThrottled']['cancel']();}['_handleOutlineChange'](_0x550d67,{outlineDefinitions:_0x4f8a35,outlineChanges:_0x389954}){this['_currentOutlineDefinitions']=_0x4f8a35,this['view']['sync'](_0x389954);}['_setActiveViewItem'](_0x16a3be){this['_currentOutlineDefinitions']['length']&&this['_currentOutlineDefinitions'][_0x16a3be]&&(this['view']['activeItemIndex']=_0x16a3be);}['_handleItemSelected'](_0x1270ca){const _0x53b072=this['_currentOutlineDefinitions'][_0x1270ca]['modelElement'];this['editor']['model']['change'](_0x4f4b2a=>{_0x4f4b2a['setSelection'](_0x53b072,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0}),this['editor']['editing']['view']['focus'](),this['_setActiveViewItem'](_0x1270ca);}['_updateActiveDefinitionOnViewportChange'](){const _0x49da3f=this['editor'];let _0x5843e8;for(const _0xf18963 of _0x49da3f['model']['document']['getRootNames']()){const _0x2f3670=_0x49da3f['editing']['view']['getDomRoot'](_0xf18963),_0x377501=_0x2f3670&&new _0x325d2f(_0x2f3670)['getVisible']();if(_0x377501){const _0x3b33ba=new _0x325d2f(_0x1a8497['window'])['getIntersection'](_0x377501);_0x3b33ba&&(_0x5843e8=_0x3b33ba['top']+0.25*_0x3b33ba['height']);}}if(void 0x0===_0x5843e8)return;const _0x3de4c5=D(_0x49da3f['editing'],this['_currentOutlineDefinitions'],_0x5843e8);_0x3de4c5?this['_setActiveViewItem'](this['_currentOutlineDefinitions']['indexOf'](_0x3de4c5)):this['_setActiveViewItem'](-0x1);}}function D(_0x205e21,_0x2f2018,_0x58dfe8,_0x2a822f=0x0,_0x3ca4c2=_0x2f2018['length']-0x1){const _0x163f79=Math['floor'](_0x2a822f+(_0x3ca4c2-_0x2a822f)/0x2);if(_0x3ca4c2>=_0x2a822f){const _0x4840d1=_0x2f2018[_0x163f79],_0x5ac279=_0x205e21['mapper']['toViewElement'](_0x4840d1['modelElement']);if(!_0x5ac279)return null;const _0x32cfe0=_0x205e21['view']['domConverter']['mapViewToDom'](_0x5ac279);return new _0x325d2f(_0x32cfe0)['bottom']>_0x58dfe8?D(_0x205e21,_0x2f2018,_0x58dfe8,_0x2a822f,_0x163f79-0x1):D(_0x205e21,_0x2f2018,_0x58dfe8,_0x163f79+0x1,_0x3ca4c2);}return _0x163f79<0x0?null:_0x2f2018[_0x163f79];}class K extends _0x53a7d0{['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 _0x2fe0bc=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4b0e24;for(const _0x1dd40b in _0x2fe0bc){const _0x52a387=_0x1dd40b,_0x40dbf6=_0x2fe0bc[_0x52a387];if('documentOutlineLicenseKeyValid'==_0x40dbf6||'documentOutlineLicenseKeyInvalid'==_0x40dbf6||'documentOutlineLicenseKeyExpired'==_0x40dbf6||'documentOutlineLicenseKeyDomainLimit'==_0x40dbf6||'documentOutlineLicenseKeyNotAllowed'==_0x40dbf6||'documentOutlineLicenseKeyEvaluationLimit'==_0x40dbf6||'documentOutlineLicenseKeyTrialLimit'==_0x40dbf6||'documentOutlineLicenseKeyUsageLimit'==_0x40dbf6){delete _0x2fe0bc[_0x52a387],_0x4b0e24=_0x40dbf6,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'documentOutlineLicenseKeyInvalid'==_0x4b0e24&&_0x2fe0bc['_showLicenseError']('invalid'),'documentOutlineLicenseKeyExpired'==_0x4b0e24&&_0x2fe0bc['_showLicenseError']('expired'),'documentOutlineLicenseKeyDomainLimit'==_0x4b0e24&&_0x2fe0bc['_showLicenseError']('domainLimit'),'documentOutlineLicenseKeyNotAllowed'==_0x4b0e24&&_0x2fe0bc['_showLicenseError']('featureNotAllowed','DocumentOutline'),'documentOutlineLicenseKeyEvaluationLimit'==_0x4b0e24&&_0x2fe0bc['_showLicenseError']('evaluationLimit'),'documentOutlineLicenseKeyTrialLimit'==_0x4b0e24&&_0x2fe0bc['_showLicenseError']('trialLimit'),'documentOutlineLicenseKeyUsageLimit'==_0x4b0e24&&_0x2fe0bc['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class w extends _0x4d488b{['execute'](){this['editor']['model']['change'](_0xb35bfb=>{this['editor']['model']['insertObject'](_0xb35bfb['createElement']('tableOfContents'));});}['refresh'](){const _0x26f9a9=this['editor']['model'],_0x4b4375=_0x26f9a9['document']['selection']['getFirstPosition']();this['isEnabled']=null!==(_0x4b4375&&_0x26f9a9['schema']['findAllowedParent'](_0x4b4375,'tableOfContents'));}}class h extends _0x53a7d0{static get['pluginName'](){return'HeadingId';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x2cb03f=this['editor'];if(_0x2cb03f['config']['get']('headingId.modelAttributeName'))return;(function(_0x50e5cb){const _0x50ffa8=new Map();if(_0x50e5cb)return _0x50e5cb['forEach'](_0x51c1f1=>{'paragraph'!==_0x51c1f1['model']&&_0x50ffa8['set'](_0x51c1f1['view'],_0x51c1f1['model']);}),_0x50ffa8['get']('h1')||_0x50ffa8['set']('h1','heading1'),_0x50ffa8;return _0x50ffa8;}(this['editor']['config']['get']('heading.options'))['forEach']((_0x97ff22,_0x553dc0)=>{this['_customUpcastHeadingsConversion'](_0x553dc0),this['_customDataDowncastHeadingsConversion'](_0x97ff22),_0x2cb03f['model']['schema']['isRegistered'](_0x97ff22)&&_0x2cb03f['model']['schema']['extend'](_0x97ff22,{'allowAttributes':'headingId'});}),this['_registerHeadingIdAttributePostfixer']());}['_customUpcastHeadingsConversion'](_0x71b76f){this['editor']['conversion']['for']('upcast')['add'](_0x41a105=>_0x41a105['on']('element:'+_0x71b76f,(_0x519cf0,_0x195174,_0x525e4b)=>{const {consumable:_0x4bda00,writer:_0x41da32}=_0x525e4b,_0x3f7ae5=_0x195174['viewItem']['getAttribute']('id'),_0x5f3c5e=_0x195174['modelRange']['getContainedElement']();if(_0x5f3c5e)return _0x3f7ae5&&_0x3f7ae5['length']||_0x5f3c5e['hasAttribute']('headingId')?void(_0x4bda00['consume'](_0x195174['viewItem'],{'attributes':['id']})&&_0x41da32['setAttribute']('headingId',_0x3f7ae5,_0x5f3c5e)):(_0x4bda00['consume'](_0x195174['viewItem'],{'attributes':['id']}),void _0x41da32['setAttribute']('headingId',_0x36fe0b(),_0x5f3c5e));},{'priority':_0x180e22['get']('low')+0.5}));}['_customDataDowncastHeadingsConversion'](_0x23b0f1){this['editor']['conversion']['for']('downcast')['add'](_0x11c1b2=>_0x11c1b2['on']('attribute:headingId:'+_0x23b0f1,(_0x351849,_0xddcfb6,_0x2cc775)=>{if(!_0x2cc775['consumable']['consume'](_0xddcfb6['item'],_0x351849['name']))return;const _0x460ab6=_0xddcfb6['item']['getAttribute']('headingId'),_0x136c82=_0x2cc775['mapper']['toViewElement'](_0xddcfb6['item']);_0x2cc775['writer']['setAttribute']('id',_0x460ab6,_0x136c82);}));}['_registerHeadingIdAttributePostfixer'](){const _0x22d3bc=this['editor'],_0x1730c3=new Set(),_0x6ab8d4=new Set();function _0xf3a375(_0x4032fe,_0x115982){const _0x546f20=_0x36fe0b();return _0x6ab8d4['add'](_0x546f20),_0x4032fe['setAttribute']('headingId',_0x546f20,_0x115982),_0x546f20;}function _0x2a3cb7(_0x28a05f,_0x314a4c){_0x28a05f['removeAttribute']('headingId',_0x314a4c);}_0x22d3bc['model']['document']['registerPostFixer'](_0x5d3ea3=>{const _0x577701=_0x22d3bc['model']['document']['differ']['getChanges']();let _0x4901e0=!0x1;for(const _0x516e8a of _0x577701)if('insert'==_0x516e8a['type']&&_0x516e8a['name']){if(c(_0x516e8a['name'])){const _0x489fad=_0x516e8a['attributes']['get']('headingId');'string'==typeof _0x489fad?_0x1730c3['has'](_0x489fad)?(_0xf3a375(_0x5d3ea3,_0x516e8a['position']['nodeAfter']),_0x4901e0=!0x0):_0x6ab8d4['add'](_0x489fad):(_0xf3a375(_0x5d3ea3,_0x516e8a['position']['nodeAfter']),_0x4901e0=!0x0);}else'string'==typeof _0x516e8a['attributes']['get']('headingId')&&(_0x2a3cb7(_0x5d3ea3,_0x516e8a['position']['nodeAfter']),_0x4901e0=!0x0);}else{if('remove'==_0x516e8a['type']){const _0x25223b=_0x516e8a['attributes']['get']('headingId');'string'==typeof _0x25223b&&_0x1730c3['delete'](_0x25223b);}}return _0x4901e0;}),_0x22d3bc['model']['document']['on']('change',()=>{_0x6ab8d4['forEach'](_0x112921=>_0x1730c3['add'](_0x112921)),_0x6ab8d4['clear']();});}}function c(_0x3bb005){return!!_0x3bb005['match'](/heading\d/);}class s extends _0x53a7d0{static get['pluginName'](){return'TableOfContentsEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x135331,i,h];}['_currentOutlineDefinitions'];['_tableOfContentsElements'];['_headingIdModelAttributeName'];constructor(_0x5ac59c){super(_0x5ac59c),this['_currentOutlineDefinitions']=[],this['_tableOfContentsElements']=new Set(),this['_headingIdModelAttributeName']='headingId';}['init'](){const _0x222359=this['editor'],_0x13d491=_0x222359['editing']['view']['document'];_0x222359['config']['get']('headingId.modelAttributeName')&&(this['_headingIdModelAttributeName']=_0x222359['config']['get']('headingId.modelAttributeName')),this['listenTo'](_0x13d491,'click',(_0x3786a9,_0x5071e3)=>{if(!_0x5071e3['target'])return;const _0x42065d=_0x5071e3['target']['getCustomProperty']('tableOfContentsHeadingIndex');Number['isInteger'](_0x42065d)&&(_0x5071e3['domEvent']['preventDefault'](),_0x3786a9['stop'](),this['_handleScrollToHeading'](_0x42065d));},{'priority':'high','context':'$capture'}),this['_defineSchema'](),this['_defineConverters'](),_0x222359['commands']['add']('insertTableOfContents',new w(_0x222359)),(_0x222359['plugins']['get']('DocumentOutlineUtils')['on']('change',(_0x4a7dc4,_0x5db0f0)=>{this['_currentOutlineDefinitions']=_0x5db0f0['outlineDefinitions'],this['_updateTableOfContentsElements']();}),this['listenTo'](_0x222359['model']['document'],'change',()=>{this['_trackNewToCElements']();}));}['afterInit'](){!async function(_0xea08c4){const _0x4aec1b=_0x2e8d36([0x59,0x58,0x32,0x79,0x5a,0x37,0x67,0x46,0x75,0x6f,0x4e,0x62,0x41,0x44,0x35,0x43,0x6a,0x55,0x78,0x70,0x47,0x4f,0x4d,0x73,0x6b,0x51,0x6c,0x63,0x4b,0x38,0x68,0x71,0x4c,0x4a,0x50,0x48,0x72,0x33,0x34,0x52,0x65,0x42,0x49,0x61,0x7a,0x6d,0x54,0x74,0x57,0x31,0x66,0x56,0x30,0x76,0x77,0x45,0x39,0x69,0x64,0x53,0x36,0x6e]),_0x186f9f=0x745c64f5,_0x564888=0x745b0b0d^_0x186f9f,_0x829e6a=window[_0x2e8d36([0x44,0x61,0x74,0x65])][_0x2e8d36([0x6e,0x6f,0x77])](),_0x4bac99=_0xea08c4[_0x2e8d36([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x460ebc=new window[(_0x2e8d36([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x355697=>{_0x4bac99[_0x2e8d36([0x6f,0x6e,0x63,0x65])](_0x2e8d36([0x72,0x65,0x61,0x64,0x79]),_0x355697);}),_0x509246={[_0x2e8d36([0x6b,0x74,0x79])]:_0x2e8d36([0x45,0x43]),[_0x2e8d36([0x75,0x73,0x65])]:_0x2e8d36([0x73,0x69,0x67]),[_0x2e8d36([0x63,0x72,0x76])]:_0x2e8d36([0x50,0x2d,0x32,0x35,0x36]),[_0x2e8d36([0x78])]:_0x2e8d36([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]),[_0x2e8d36([0x79])]:_0x2e8d36([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]),[_0x2e8d36([0x61,0x6c,0x67])]:_0x2e8d36([0x45,0x53,0x32,0x35,0x36])},_0x63fa88=_0x4bac99[_0x2e8d36([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2e8d36([0x67,0x65,0x74])](_0x2e8d36([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x10ca79(){let _0x2c683f,_0x152311=null,_0x2b3a87=null;try{if(_0x63fa88==_0x2e8d36([0x47,0x50,0x4c]))return _0x2e8d36([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2c683f=_0x1622fb(),!_0x2c683f)return _0x2e8d36([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2c683f[_0x2e8d36([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2b3a87=_0x1a80ad(_0x2c683f[_0x2e8d36([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2c683f[_0x2e8d36([0x6a,0x74,0x69])])),await _0x319a61()?_0x855ae3()?_0x30fc89()?_0x2e8d36([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4dd182()?(_0x2c683f[_0x2e8d36([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2e8d36([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x152311=_0x2d4001(_0x2e8d36([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2c683f[_0x2e8d36([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2e8d36([0x74,0x72,0x69,0x61,0x6c])&&(_0x152311=_0x2d4001(_0x2e8d36([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x37f54f()):_0x2e8d36([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2e8d36([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2e8d36([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2e8d36([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x30fc89(){const _0xbb0509=[_0x2e8d36([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2e8d36([0x74,0x72,0x69,0x61,0x6c])][_0x2e8d36([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2c683f[_0x2e8d36([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x829e6a/0x3e8:0xe10*_0x564888;return _0x2c683f[_0x2e8d36([0x65,0x78,0x70])]<_0xbb0509;}function _0x855ae3(){const _0x1fafe1=_0x2c683f[_0x2e8d36([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1fafe1&&(!!_0x1fafe1[_0x2e8d36([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2e8d36([0x2a]))||(!!_0x1fafe1[_0x2e8d36([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2e8d36([0x54,0x4f,0x43]))||!!_0x1fafe1[_0x2e8d36([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2e8d36([0x50,0x50]))));}function _0x4dd182(){const _0xde3a5d=_0x2c683f[_0x2e8d36([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xde3a5d||0x0==_0xde3a5d[_0x2e8d36([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x310962}=new URL(window[_0x2e8d36([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0xde3a5d[_0x2e8d36([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x310962))return!0x0;const _0x55c78a=_0x310962[_0x2e8d36([0x73,0x70,0x6c,0x69,0x74])](_0x2e8d36([0x2e]));return _0xde3a5d[_0x2e8d36([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1d4025=>_0x1d4025[_0x2e8d36([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2e8d36([0x2a])))[_0x2e8d36([0x6d,0x61,0x70])](_0x5df32b=>_0x5df32b[_0x2e8d36([0x73,0x70,0x6c,0x69,0x74])](_0x2e8d36([0x2e])))[_0x2e8d36([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x181c1a=>_0x181c1a[_0x2e8d36([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x55c78a[_0x2e8d36([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2e8d36([0x6d,0x61,0x70])](_0x410eeb=>Array(_0x55c78a[_0x2e8d36([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x410eeb[_0x2e8d36([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2e8d36([0x66,0x69,0x6c,0x6c])](_0x410eeb[0x0]===_0x2e8d36([0x2a])?_0x2e8d36([0x2a]):'')[_0x2e8d36([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x410eeb))[_0x2e8d36([0x73,0x6f,0x6d,0x65])](_0x564eed=>_0x55c78a[_0x2e8d36([0x65,0x76,0x65,0x72,0x79])]((_0x20ec67,_0x279bf6)=>_0x564eed[_0x279bf6]===_0x20ec67||_0x564eed[_0x279bf6]===_0x2e8d36([0x2a])));}function _0x37f54f(){return _0x152311&&_0x2b3a87?new window[(_0x2e8d36([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x23dd91,_0x46374b)=>{_0x152311[_0x2e8d36([0x74,0x68,0x65,0x6e])](_0x23dd91,_0x46374b),_0x2b3a87[_0x2e8d36([0x74,0x68,0x65,0x6e])](_0x129181=>{_0x129181!=_0x2e8d36([0x56,0x61,0x6c,0x69,0x64])&&_0x23dd91(_0x129181);},_0x46374b);}):_0x152311||_0x2b3a87||_0x2e8d36([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1a80ad(_0x554ea4,_0x1f3a1f){return new window[(_0x2e8d36([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5b96d8=>{if(_0x111d25())return _0x5b96d8(_0x2e8d36([0x56,0x61,0x6c,0x69,0x64]));_0x49afd9(),_0x4bac99[_0x2e8d36([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2e8d36([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x23e5ea=!0x1;const _0x107dd6=_0x36fe0b();function _0x483766(_0x11a462){return!!_0x11a462&&(typeof _0x11a462===_0x2e8d36([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x11a462===_0x2e8d36([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x11a462[_0x2e8d36([0x74,0x68,0x65,0x6e])]===_0x2e8d36([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x11a462[_0x2e8d36([0x63,0x61,0x74,0x63,0x68])]===_0x2e8d36([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4685c3(_0x4a79e1){_0x4d1ffd(_0x4a79e1)[_0x2e8d36([0x74,0x68,0x65,0x6e])](_0x518ee4=>{if(!_0x518ee4||_0x518ee4[_0x2e8d36([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2e8d36([0x6f,0x6b]))return _0x2e8d36([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x388092(_0x4ab89e(_0x107dd6+_0x1f3a1f))!=_0x518ee4[_0x2e8d36([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2e8d36([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2e8d36([0x56,0x61,0x6c,0x69,0x64]);})[_0x2e8d36([0x74,0x68,0x65,0x6e])](_0x2d78d9=>(_0x51e631(),_0x2d78d9),()=>{const _0x477041=_0xaf322a();return null==_0x477041?(_0x51e631(),_0x2e8d36([0x56,0x61,0x6c,0x69,0x64])):_0x2e8d36(_0x829e6a-_0x477041>(0x5050e0f5^_0x186f9f)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2e8d36([0x74,0x68,0x65,0x6e])](_0x5b96d8)[_0x2e8d36([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5b96d8(_0x2e8d36([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3ce6be=0x746a8a75^_0x186f9f;function _0x51e631(){const _0x472f20=_0x2e8d36([0x6c,0x6c,0x63,0x74,0x2d])+_0x388092(_0x4ab89e(_0x554ea4)),_0x2a45a9=_0x3f3100(_0x388092(window[_0x2e8d36([0x4d,0x61,0x74,0x68])][_0x2e8d36([0x63,0x65,0x69,0x6c])](_0x829e6a/_0x3ce6be)));window[_0x2e8d36([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2e8d36([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x472f20,_0x2a45a9);}function _0xaf322a(){const _0x3fe5fd=_0x2e8d36([0x6c,0x6c,0x63,0x74,0x2d])+_0x388092(_0x4ab89e(_0x554ea4)),_0x1e49d1=window[_0x2e8d36([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2e8d36([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3fe5fd);return _0x1e49d1?window[_0x2e8d36([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3f3100(_0x1e49d1),0x10)*_0x3ce6be:null;}function _0x4d1ffd(_0x24aaee){return new window[(_0x2e8d36([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1171fb,_0x71bc1d)=>{_0x24aaee[_0x2e8d36([0x74,0x68,0x65,0x6e])](_0x1171fb,_0x71bc1d),window[_0x2e8d36([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x71bc1d,0x745db035^_0x186f9f);});}}_0x4bac99[_0x2e8d36([0x6f,0x6e])](_0x2e8d36([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x256812,_0x5be519)=>{if(_0x5be519[0x0]!=_0x554ea4)return _0x5b96d8(_0x2e8d36([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5be519[0x1]={..._0x5be519[0x1],[_0x2e8d36([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x107dd6};},{[_0x2e8d36([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2e8d36([0x68,0x69,0x67,0x68])}),_0x4bac99[_0x2e8d36([0x6f,0x6e])](_0x2e8d36([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x46075b=>{_0x483766(_0x46075b[_0x2e8d36([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x23e5ea=!0x0,_0x4685c3(_0x46075b[_0x2e8d36([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2e8d36([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2e8d36([0x6c,0x6f,0x77])}),_0x460ebc[_0x2e8d36([0x74,0x68,0x65,0x6e])](()=>{_0x23e5ea||_0x5b96d8(_0x2e8d36([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x111d25(){return _0x4bac99[_0x2e8d36([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2e8d36([0x76,0x69,0x65,0x77])][_0x2e8d36([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2e8d36([0x61,0x75,0x74,0x6f]);}function _0x49afd9(){_0x4bac99[_0x2e8d36([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2e8d36([0x76,0x69,0x65,0x77])][_0x2e8d36([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2e8d36([0x61,0x75,0x74,0x6f]);}}function _0x2d4001(_0xc71d50){const _0x2fd2aa=[new window[(_0x2e8d36([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x105ef2=>setTimeout(_0x105ef2,0x74555a39^_0x186f9f)),_0x460ebc[_0x2e8d36([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2e8d36([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4863e5=>{let _0x32d2ce=0x0;_0x4bac99[_0x2e8d36([0x6d,0x6f,0x64,0x65,0x6c])][_0x2e8d36([0x6f,0x6e])](_0x2e8d36([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x317dc7,_0x47292d)=>{_0x47292d[0x0][_0x2e8d36([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x32d2ce++,_0x32d2ce==(0x745c650d^_0x186f9f)&&(_0x4863e5(),_0x317dc7[_0x2e8d36([0x6f,0x66,0x66])]());});}))];return window[_0x2e8d36([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2e8d36([0x72,0x61,0x63,0x65])](_0x2fd2aa)[_0x2e8d36([0x74,0x68,0x65,0x6e])](()=>_0xc71d50);}async function _0x323c74(){await _0x460ebc,_0x4bac99[_0x2e8d36([0x6d,0x6f,0x64,0x65,0x6c])][_0x2e8d36([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2c93af,_0x4bac99[_0x2e8d36([0x6d,0x6f,0x64,0x65,0x6c])][_0x2e8d36([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2c93af,_0x4bac99[_0x2e8d36([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2e8d36([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x386a77(_0x1a78c6){const _0x74cf5=_0x2ca209();_0x4bac99[_0x74cf5]=_0x2e8d36([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])+_0x1a78c6,_0x1a78c6!=_0x2e8d36([0x56,0x61,0x6c,0x69,0x64])&&_0x323c74();}function _0x2ca209(){const _0xd8325e=window[_0x2e8d36([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2e8d36([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2e8d36([0x6e,0x6f,0x77])]())[_0x2e8d36([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2e8d36([0x2e]),'');let _0x2c2ef4=_0x2e8d36([0x59]);for(let _0x15975a=0x0;_0x15975a<_0xd8325e[_0x2e8d36([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x15975a+=0x2){let _0x43b4bf=window[_0x2e8d36([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xd8325e[_0x2e8d36([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x15975a,_0x15975a+0x2));_0x43b4bf>=_0x4aec1b[_0x2e8d36([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x43b4bf-=_0x4aec1b[_0x2e8d36([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2c2ef4+=_0x4aec1b[_0x43b4bf];}return _0x2c2ef4;}function _0x1622fb(){const _0x451659=_0x63fa88[_0x2e8d36([0x73,0x70,0x6c,0x69,0x74])](_0x2e8d36([0x2e]));if(0x3!=_0x451659[_0x2e8d36([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5337bd(_0x451659[0x1]);function _0x5337bd(_0x17e19c){const _0xeaf1c2=_0x23d3f2(_0x17e19c);return _0xeaf1c2&&_0x3d378a()?_0xeaf1c2:null;function _0x3d378a(){const _0x47a2a9=_0xeaf1c2[_0x2e8d36([0x6a,0x74,0x69])],_0x140aea=window[_0x2e8d36([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x47a2a9[_0x2e8d36([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x47a2a9[_0x2e8d36([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4fe424={..._0xeaf1c2,[_0x2e8d36([0x6a,0x74,0x69])]:_0x47a2a9[_0x2e8d36([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x47a2a9[_0x2e8d36([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4fe424[_0x2e8d36([0x76,0x63])],_0x4ab89e(_0x4fe424)==_0x140aea;}}}async function _0x319a61(){let _0xf73cf7=!0x0;try{const _0x3230a8=_0x63fa88[_0x2e8d36([0x73,0x70,0x6c,0x69,0x74])](_0x2e8d36([0x2e])),[_0x2a4df6,_0x2b7725,_0xb8960a]=_0x3230a8;return _0x216133(_0x2a4df6),await _0x5cf340(_0x2a4df6,_0x2b7725,_0xb8960a),_0xf73cf7;}catch{return!0x1;}function _0x216133(_0xf508c){const _0x2a5e4a=_0x23d3f2(_0xf508c);_0x2a5e4a&&_0x2a5e4a[_0x2e8d36([0x61,0x6c,0x67])]==_0x2e8d36([0x45,0x53,0x32,0x35,0x36])||(_0xf73cf7=!0x1);}async function _0x5cf340(_0x365450,_0x551a96,_0x4ae1a6){const _0x3747a9=window[_0x2e8d36([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2e8d36([0x66,0x72,0x6f,0x6d])](_0x254ed3(_0x4ae1a6),_0x536a4f=>_0x536a4f[_0x2e8d36([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x457cb4=new window[(_0x2e8d36([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2e8d36([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x365450+_0x2e8d36([0x2e])+_0x551a96),_0x117f91=window[_0x2e8d36([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2e8d36([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x117f91)return;const _0x1ce6c7=await _0x117f91[_0x2e8d36([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2e8d36([0x6a,0x77,0x6b]),_0x509246,{[_0x2e8d36([0x6e,0x61,0x6d,0x65])]:_0x2e8d36([0x45,0x43,0x44,0x53,0x41]),[_0x2e8d36([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2e8d36([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2e8d36([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x117f91[_0x2e8d36([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2e8d36([0x6e,0x61,0x6d,0x65])]:_0x2e8d36([0x45,0x43,0x44,0x53,0x41]),[_0x2e8d36([0x68,0x61,0x73,0x68])]:{[_0x2e8d36([0x6e,0x61,0x6d,0x65])]:_0x2e8d36([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1ce6c7,_0x3747a9,_0x457cb4)||(_0xf73cf7=!0x1);}}function _0x23d3f2(_0x2a1870){return _0x2a1870[_0x2e8d36([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2e8d36([0x65,0x79]))?JSON[_0x2e8d36([0x70,0x61,0x72,0x73,0x65])](_0x254ed3(_0x2a1870)):null;}function _0x254ed3(_0xb24e57){return window[_0x2e8d36([0x61,0x74,0x6f,0x62])](_0xb24e57[_0x2e8d36([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2e8d36([0x2b]))[_0x2e8d36([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2e8d36([0x2f])));}function _0x4ab89e(_0x1e3b3a){let _0x6d9084=0x1505;function _0x22a5e0(_0xf105b7){for(let _0x359923=0x0;_0x359923<_0xf105b7[_0x2e8d36([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x359923++){const _0x122b46=_0xf105b7[_0x2e8d36([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x359923);_0x6d9084=(_0x6d9084<<0x5)+_0x6d9084+_0x122b46,_0x6d9084&=_0x6d9084;}}function _0x5e1f05(_0x1e9dcf){Array[_0x2e8d36([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1e9dcf)?_0x1e9dcf[_0x2e8d36([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5e1f05):_0x1e9dcf&&typeof _0x1e9dcf==_0x2e8d36([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2e8d36([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1e9dcf)[_0x2e8d36([0x73,0x6f,0x72,0x74])]()[_0x2e8d36([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3000ec,_0x3d2b08])=>{_0x22a5e0(_0x3000ec),_0x5e1f05(_0x3d2b08);}):_0x22a5e0(window[_0x2e8d36([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1e9dcf));}return _0x5e1f05(_0x1e3b3a),_0x6d9084>>>0x0;}function _0x388092(_0x373c5b){return _0x373c5b[_0x2e8d36([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2e8d36([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2e8d36([0x30]));}function _0x3f3100(_0x5e380a){return _0x5e380a[_0x2e8d36([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2e8d36([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2e8d36([0x6a,0x6f,0x69,0x6e])]('');}function _0x2c93af(){}function _0x2e8d36(_0x52b455){return _0x52b455['map'](_0xa93a6e=>String['fromCharCode'](_0xa93a6e))['join']('');}_0x386a77(await _0x10ca79());}(this);}['_updateTableOfContentsElements'](){this['_tableOfContentsElements']['forEach'](_0x57ed33=>{'$graveyard'!==_0x57ed33['rootName']&&this['editor']['editing']['reconvertItem'](_0x57ed33);});}['_trackNewToCElements'](){for(const _0x185e3f of this['editor']['model']['document']['differ']['getChanges']({'includeChangesInGraveyard':!0x0})){if('insert'!==_0x185e3f['type']||'tableOfContents'!==_0x185e3f['name'])return;this['_tableOfContentsElements']['add'](_0x185e3f['position']['nodeAfter']);}}['_defineSchema'](){this['editor']['model']['schema']['register']('tableOfContents',{'inheritAllFrom':'$blockObject'});}['_defineConverters'](){const _0x139a42=this['editor']['conversion'];_0x139a42['for']('upcast')['elementToElement']({'model':'tableOfContents','view':{'name':'div','classes':'table-of-contents'}}),_0x139a42['for']('dataDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x3ced32,{writer:_0x2c1cc9})=>this['_createTableOfContents'](_0x2c1cc9,!0x0)}),_0x139a42['for']('editingDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x5e82a1,{writer:_0x3ec436})=>{this['_tableOfContentsElements']['add'](_0x5e82a1);const _0x52f57e=this['_createTableOfContents'](_0x3ec436);return _0x100aee(_0x52f57e,_0x3ec436,{'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'](_0x3386dc,_0xe91a06=!0x1){const {locale:_0x85188c}=this['editor'],_0x96f24d=_0x3386dc['createContainerElement']('div',{'class':'table-of-contents'+(0x0===this['_currentOutlineDefinitions']['length']?'\x20table-of-contents_empty':''),...!_0xe91a06&&{'data-table-of-contents-label':m(_0x85188c,'Table\x20of\x20contents')}});0x0===this['_currentOutlineDefinitions']['length']&&!0x1===_0xe91a06&&_0x3386dc['insert'](_0x3386dc['createPositionAt'](_0x96f24d,'end'),_0x3386dc['createContainerElement']('p',{'class':'table-of-contents__placeholder'},[_0x3386dc['createText'](m(_0x85188c,'No\x20headings\x20were\x20found\x20in\x20the\x20document.'))]));const _0x41c8ab=_0xe91a06?'':'['+m(_0x85188c,'Empty\x20heading')+']';let _0x152b65=_0x96f24d;return this['_currentOutlineDefinitions']['forEach']((_0x37309a,_0xcf5860,_0x5d9fa8)=>{const _0x2ef249=this['editor']['model']['hasContent'](_0x37309a['modelElement'],{'ignoreWhitespaces':!0x0}),_0xa5907e=_0x2ef249?_0x37309a['text']:_0x41c8ab,_0x3df1ba=_0x37309a['modelElement']['getAttribute'](this['_headingIdModelAttributeName']),_0x1025d8=_0x3386dc['createContainerElement']('a',{'href':'#'+_0x3df1ba,...!_0xe91a06&&{'tabindex':'-1'}},[_0x3386dc['createText'](_0xa5907e)]),_0xd846c3=this['editor']['config']['get']('documentOutline.showEmptyHeadings');_0x3386dc['setCustomProperty']('tableOfContentsHeadingIndex',_0xcf5860,_0x1025d8);const _0x5c8129=_0x3386dc['createContainerElement']('li',null,[_0x2ef249||!_0xe91a06&&_0xd846c3?_0x1025d8:_0x3386dc['createText']('')]),_0x559a07=_0xcf5860?_0x5d9fa8[_0xcf5860-0x1]['level']:0x0,_0x2f0d62=Math['abs'](_0x37309a['level']-_0x559a07);if(_0x37309a['level']>_0x559a07){const _0x46b22a=b(_0x5c8129,_0x2f0d62,_0x3386dc);_0x3386dc['insert'](_0x3386dc['createPositionAt'](_0x152b65,'end'),_0x46b22a);}else{const _0x5b9094=function(_0x551415,_0xf07c75){return _0x551415['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0})['filter'](_0x47b2d7=>_0x47b2d7['is']('element','ol'))[_0xf07c75];}(_0x152b65,_0x2f0d62);_0x3386dc['insert'](_0x3386dc['createPositionAt'](_0x5b9094,'end'),_0x5c8129);}_0x152b65=_0x5c8129;}),_0x96f24d;}['_handleScrollToHeading'](_0x3047ce){const _0x960d2d=this['_currentOutlineDefinitions'][_0x3047ce]['modelElement'];this['editor']['model']['change'](_0x1944ac=>{_0x1944ac['setSelection'](_0x960d2d,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0});}['_redirectMapper'](){return(_0x33ad5b,_0x45bb64)=>{const _0x3193c1=_0x45bb64['mapper'],_0x92636b=_0x3193c1['findMappedViewAncestor'](_0x45bb64['viewPosition']),_0x5da456=_0x3193c1['toModelElement'](_0x92636b);_0x5da456['is']('element','tableOfContents')&&(_0x45bb64['modelPosition']=this['editor']['model']['createPositionAt'](_0x5da456,0x0),_0x33ad5b['stop']());};}}function b(_0x4660c8,_0x24057d,_0x296529){return 0x1===_0x24057d?_0x296529['createContainerElement']('ol',null,[_0x4660c8]):_0x296529['createContainerElement']('ol',null,[_0x296529['createContainerElement']('li',null,[b(_0x4660c8,_0x24057d-0x1,_0x296529)])]);}class o extends _0x53a7d0{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'TableOfContentsUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x272cfa=this['editor'];_0x272cfa['ui']['componentFactory']['add']('tableOfContents',()=>{const _0x4fb474=this['_createButton'](_0x43e91c);return _0x4fb474['tooltip']=!0x0,_0x4fb474;}),_0x272cfa['ui']['componentFactory']['add']('menuBar:tableOfContents',()=>this['_createButton'](_0x1b45ba)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x3734e9=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x174b2a;for(const _0x5b7093 in _0x3734e9){const _0x44e484=_0x5b7093,_0x2a059a=_0x3734e9[_0x44e484];if('tableOfContentsLicenseKeyValid'==_0x2a059a||'tableOfContentsLicenseKeyInvalid'==_0x2a059a||'tableOfContentsLicenseKeyExpired'==_0x2a059a||'tableOfContentsLicenseKeyDomainLimit'==_0x2a059a||'tableOfContentsLicenseKeyNotAllowed'==_0x2a059a||'tableOfContentsLicenseKeyEvaluationLimit'==_0x2a059a||'tableOfContentsLicenseKeyTrialLimit'==_0x2a059a||'tableOfContentsLicenseKeyUsageLimit'==_0x2a059a){delete _0x3734e9[_0x44e484],_0x174b2a=_0x2a059a,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'tableOfContentsLicenseKeyInvalid'==_0x174b2a&&_0x3734e9['_showLicenseError']('invalid'),'tableOfContentsLicenseKeyExpired'==_0x174b2a&&_0x3734e9['_showLicenseError']('expired'),'tableOfContentsLicenseKeyDomainLimit'==_0x174b2a&&_0x3734e9['_showLicenseError']('domainLimit'),'tableOfContentsLicenseKeyNotAllowed'==_0x174b2a&&_0x3734e9['_showLicenseError']('featureNotAllowed','TableOfContents'),'tableOfContentsLicenseKeyEvaluationLimit'==_0x174b2a&&_0x3734e9['_showLicenseError']('evaluationLimit'),'tableOfContentsLicenseKeyTrialLimit'==_0x174b2a&&_0x3734e9['_showLicenseError']('trialLimit'),'tableOfContentsLicenseKeyUsageLimit'==_0x174b2a&&_0x3734e9['_showLicenseError']('usageLimit');},0x3e8);}['_createButton'](_0x224e3a){const _0x1eee93=this['editor'],_0x4bdb59=_0x1eee93['locale'],_0x402684=_0x1eee93['commands']['get']('insertTableOfContents'),_0x264566=new _0x224e3a(_0x4bdb59);return _0x264566['set']({'label':m(_0x4bdb59,'Table\x20of\x20contents'),'icon':_0x5e9e1a}),_0x264566['bind']('isEnabled')['to'](_0x402684,'isEnabled'),this['listenTo'](_0x264566,'execute',()=>{_0x1eee93['execute']('insertTableOfContents'),_0x1eee93['editing']['view']['focus']();}),_0x264566;}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class N extends _0x53a7d0{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.0.1-alpha.11",
3
+ "version": "46.0.1-alpha.12",
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.0.1-alpha.11",
17
- "@ckeditor/ckeditor5-engine": "46.0.1-alpha.11",
18
- "@ckeditor/ckeditor5-heading": "46.0.1-alpha.11",
19
- "@ckeditor/ckeditor5-icons": "46.0.1-alpha.11",
20
- "@ckeditor/ckeditor5-ui": "46.0.1-alpha.11",
21
- "@ckeditor/ckeditor5-utils": "46.0.1-alpha.11",
22
- "@ckeditor/ckeditor5-widget": "46.0.1-alpha.11",
23
- "ckeditor5": "46.0.1-alpha.11",
16
+ "@ckeditor/ckeditor5-core": "46.0.1-alpha.12",
17
+ "@ckeditor/ckeditor5-engine": "46.0.1-alpha.12",
18
+ "@ckeditor/ckeditor5-heading": "46.0.1-alpha.12",
19
+ "@ckeditor/ckeditor5-icons": "46.0.1-alpha.12",
20
+ "@ckeditor/ckeditor5-ui": "46.0.1-alpha.12",
21
+ "@ckeditor/ckeditor5-utils": "46.0.1-alpha.12",
22
+ "@ckeditor/ckeditor5-widget": "46.0.1-alpha.12",
23
+ "ckeditor5": "46.0.1-alpha.12",
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 _0x41149d=_0x472c;function _0x21a3(){const _0x1a9c54=['scroll','modelElement','height','map','isOfficialPlugin','toViewElement','render','get','958164TXyDlm','mapViewToDom','appendChild','editing','_handleItemSelected','2436102SYyEcm','locale','2558010NOWxim','getIntersection','getVisible','change','getDomRoot','init','document','floor','add','scrollToTheSelection','destroy','top','activeItemIndex','plugins','DocumentOutlineUtils','914ytbqge','element','documentOutline.container','window','isPremiumPlugin','_handleOutlineChange','document-outline-container-not-provided','config','resize','domConverter','focusTracker','focus','view','cancel','href','10FFROig','getRootNames','60TnWJCa','editor','length','1242344YMLjXn','afterInit','itemSelected','fromCharCode','join','bottom','model','_updateActiveDefinitionFromViewportThrottled','323073YWFGUp','listenTo','_setActiveViewItem','pluginName','21077771CVJMOe','913wwsCaK','bind','_currentOutlineDefinitions','sync','_updateActiveDefinitionOnViewportChange','setSelection','mapper','DocumentOutlineUI','indexOf','35FRNNfJ','documentOutline.showEmptyHeadings'];_0x21a3=function(){return _0x1a9c54;};return _0x21a3();}(function(_0x58e761,_0x1b0aad){const _0x597156=_0x472c,_0x5043e0=_0x58e761();while(!![]){try{const _0x154f66=-parseInt(_0x597156(0x1f3))/0x1*(parseInt(_0x597156(0x1d2))/0x2)+parseInt(_0x597156(0x20b))/0x3+parseInt(_0x597156(0x206))/0x4+parseInt(_0x597156(0x1e1))/0x5*(parseInt(_0x597156(0x1c3))/0x6)+-parseInt(_0x597156(0x1fc))/0x7*(-parseInt(_0x597156(0x1e6))/0x8)+-parseInt(_0x597156(0x1ee))/0x9*(-parseInt(_0x597156(0x1e3))/0xa)+-parseInt(_0x597156(0x1f2))/0xb;if(_0x154f66===_0x1b0aad)break;else _0x5043e0['push'](_0x5043e0['shift']());}catch(_0x86a647){_0x5043e0['push'](_0x5043e0['shift']());}}}(_0x21a3,0x89602));import{Plugin as _0x452f68}from'ckeditor5/src/core.js';import{CKEditorError as _0x3df3c5,global as _0x3bc5b6,Rect as _0x24eab4,uid as _0xf82a98}from'ckeditor5/src/utils.js';import{DocumentOutlineView as _0x3b0c5e}from'./ui/documentoutlineview.js';import{throttle as _0x4ed8c2}from'es-toolkit/compat';function _0x472c(_0x5b2120,_0x2a2790){const _0x21a3c4=_0x21a3();return _0x472c=function(_0x472c2a,_0x1a23aa){_0x472c2a=_0x472c2a-0x1c2;let _0xcc1e=_0x21a3c4[_0x472c2a];return _0xcc1e;},_0x472c(_0x5b2120,_0x2a2790);}import'../../theme/documentoutline.css';export class DocumentOutlineUI extends _0x452f68{[_0x41149d(0x1de)];[_0x41149d(0x1f5)];[_0x41149d(0x1ed)];static get[_0x41149d(0x1f1)](){const _0x18fb84=_0x41149d;return _0x18fb84(0x1fa);}static get[_0x41149d(0x202)](){return!0x0;}static get[_0x41149d(0x1d6)](){return!0x0;}constructor(_0x42d141){const _0x1fe76e=_0x41149d;super(_0x42d141),this[_0x1fe76e(0x1de)]=new _0x3b0c5e(_0x42d141[_0x1fe76e(0x1c2)],this[_0x1fe76e(0x1e4)][_0x1fe76e(0x1d9)][_0x1fe76e(0x205)](_0x1fe76e(0x1fd)),this[_0x1fe76e(0x1e4)][_0x1fe76e(0x1d9)][_0x1fe76e(0x205)](_0x1fe76e(0x1d4))),this[_0x1fe76e(0x1f5)]=[],this[_0x1fe76e(0x1ed)]=_0x4ed8c2(this[_0x1fe76e(0x1f7)][_0x1fe76e(0x1f4)](this),0x64);}[_0x41149d(0x1c8)](){const _0x8366b1=_0x41149d,_0x5d883a=this[_0x8366b1(0x1e4)],_0x120be0=_0x5d883a[_0x8366b1(0x1d0)][_0x8366b1(0x205)](_0x8366b1(0x1d1));let _0x3800f3=!0x1;if(this[_0x8366b1(0x1de)][_0x8366b1(0x204)](),this[_0x8366b1(0x1e4)]['ui'][_0x8366b1(0x1dc)][_0x8366b1(0x1cb)](this[_0x8366b1(0x1de)][_0x8366b1(0x1d3)]),!_0x5d883a[_0x8366b1(0x1d9)][_0x8366b1(0x205)](_0x8366b1(0x1d4)))throw new _0x3df3c5(_0x8366b1(0x1d8),{'editor':_0x5d883a});_0x5d883a[_0x8366b1(0x1d9)][_0x8366b1(0x205)](_0x8366b1(0x1d4))[_0x8366b1(0x208)](this[_0x8366b1(0x1de)][_0x8366b1(0x1d3)]),_0x120be0['on'](_0x8366b1(0x1c6),this[_0x8366b1(0x1d7)][_0x8366b1(0x1f4)](this)),_0x120be0['on'](_0x8366b1(0x1cf),(_0x3405b1,{index:_0x4f9dcf})=>this[_0x8366b1(0x1f0)](_0x4f9dcf)),this[_0x8366b1(0x1de)]['on'](_0x8366b1(0x1e8),(_0x58ee8b,_0x221f53)=>{const _0x267029=_0x8366b1;_0x3800f3=!0x0,this[_0x267029(0x20a)](_0x221f53);}),this[_0x8366b1(0x1de)][_0x8366b1(0x1ef)](_0x3bc5b6[_0x8366b1(0x1c9)],_0x8366b1(0x1fe),()=>{const _0x343774=_0x8366b1;_0x3800f3?_0x3800f3=!0x1:this[_0x343774(0x1ed)]();},{'useCapture':!0x0}),this[_0x8366b1(0x1de)][_0x8366b1(0x1ef)](_0x3bc5b6[_0x8366b1(0x1d5)],_0x8366b1(0x1da),this[_0x8366b1(0x1ed)],{'useCapture':!0x0});}[_0x41149d(0x1e7)](){!async function(_0x51e552){const _0x3d81f6=_0x3207d4([0x31,0x4e,0x62,0x64,0x6a,0x59,0x5a,0x30,0x45,0x69,0x53,0x34,0x6c,0x7a,0x4a,0x63,0x65,0x58,0x72,0x41,0x68,0x4d,0x42,0x6d,0x67,0x47,0x54,0x4c,0x73,0x50,0x48,0x55,0x4f,0x74,0x46,0x61,0x32,0x66,0x44,0x57,0x35,0x33,0x75,0x78,0x77,0x6b,0x70,0x6f,0x43,0x6e,0x39,0x52,0x49,0x76,0x56,0x51,0x4b,0x37,0x38,0x71,0x79,0x36]),_0x3751cb=0x41ddaefb,_0x565430=0x41dac11b^_0x3751cb,_0x19ca4a=window[_0x3207d4([0x44,0x61,0x74,0x65])][_0x3207d4([0x6e,0x6f,0x77])](),_0x10598f=_0x51e552[_0x3207d4([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5e39d1=new window[(_0x3207d4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3fe802=>{_0x10598f[_0x3207d4([0x6f,0x6e,0x63,0x65])](_0x3207d4([0x72,0x65,0x61,0x64,0x79]),_0x3fe802);}),_0x41cc08={[_0x3207d4([0x6b,0x74,0x79])]:_0x3207d4([0x45,0x43]),[_0x3207d4([0x75,0x73,0x65])]:_0x3207d4([0x73,0x69,0x67]),[_0x3207d4([0x63,0x72,0x76])]:_0x3207d4([0x50,0x2d,0x32,0x35,0x36]),[_0x3207d4([0x78])]:_0x3207d4([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]),[_0x3207d4([0x79])]:_0x3207d4([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]),[_0x3207d4([0x61,0x6c,0x67])]:_0x3207d4([0x45,0x53,0x32,0x35,0x36])},_0x5b1893=_0x10598f[_0x3207d4([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3207d4([0x67,0x65,0x74])](_0x3207d4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x45d946(){let _0x53a019,_0x154f95=null,_0x4abcd3=null;try{if(_0x5b1893==_0x3207d4([0x47,0x50,0x4c]))return _0x3207d4([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x53a019=_0x1c19e0(),!_0x53a019)return _0x3207d4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x53a019[_0x3207d4([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4abcd3=_0x5128a0(_0x53a019[_0x3207d4([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x53a019[_0x3207d4([0x6a,0x74,0x69])])),await _0x4813d4()?_0x2fb7e9()?_0x55e8c2()?_0x3207d4([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x254bcb()?(_0x53a019[_0x3207d4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3207d4([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x154f95=_0x8d15dd(_0x3207d4([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x53a019[_0x3207d4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3207d4([0x74,0x72,0x69,0x61,0x6c])&&(_0x154f95=_0x8d15dd(_0x3207d4([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1927fa()):_0x3207d4([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3207d4([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3207d4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3207d4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x55e8c2(){const _0x4e445a=[_0x3207d4([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3207d4([0x74,0x72,0x69,0x61,0x6c])][_0x3207d4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x53a019[_0x3207d4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x19ca4a/0x3e8:0xe10*_0x565430;return _0x53a019[_0x3207d4([0x65,0x78,0x70])]<_0x4e445a;}function _0x2fb7e9(){const _0x4c2e5b=_0x53a019[_0x3207d4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4c2e5b&&(!!_0x4c2e5b[_0x3207d4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3207d4([0x2a]))||(!!_0x4c2e5b[_0x3207d4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3207d4([0x44,0x4f]))||!!_0x4c2e5b[_0x3207d4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3207d4([0x50,0x50]))));}function _0x254bcb(){const _0xd6777c=_0x472c,_0x2d2410=_0x53a019[_0x3207d4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2d2410||0x0==_0x2d2410[_0x3207d4([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x102d90}=new URL(window[_0x3207d4([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0xd6777c(0x1e0)]);if(_0x2d2410[_0x3207d4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x102d90))return!0x0;const _0x2b94dd=_0x102d90[_0x3207d4([0x73,0x70,0x6c,0x69,0x74])](_0x3207d4([0x2e]));return _0x2d2410[_0x3207d4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x474169=>_0x474169[_0x3207d4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3207d4([0x2a])))[_0x3207d4([0x6d,0x61,0x70])](_0x5251d9=>_0x5251d9[_0x3207d4([0x73,0x70,0x6c,0x69,0x74])](_0x3207d4([0x2e])))[_0x3207d4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x44aa1f=>_0x44aa1f[_0x3207d4([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2b94dd[_0x3207d4([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3207d4([0x6d,0x61,0x70])](_0x517f04=>Array(_0x2b94dd[_0x3207d4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x517f04[_0x3207d4([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3207d4([0x66,0x69,0x6c,0x6c])](_0x517f04[0x0]===_0x3207d4([0x2a])?_0x3207d4([0x2a]):'')[_0x3207d4([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x517f04))[_0x3207d4([0x73,0x6f,0x6d,0x65])](_0x1d4821=>_0x2b94dd[_0x3207d4([0x65,0x76,0x65,0x72,0x79])]((_0xf7476c,_0xb0bfb2)=>_0x1d4821[_0xb0bfb2]===_0xf7476c||_0x1d4821[_0xb0bfb2]===_0x3207d4([0x2a])));}function _0x1927fa(){return _0x154f95&&_0x4abcd3?new window[(_0x3207d4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1d6c7d,_0x1064f1)=>{_0x154f95[_0x3207d4([0x74,0x68,0x65,0x6e])](_0x1d6c7d,_0x1064f1),_0x4abcd3[_0x3207d4([0x74,0x68,0x65,0x6e])](_0x10959d=>{_0x10959d!=_0x3207d4([0x56,0x61,0x6c,0x69,0x64])&&_0x1d6c7d(_0x10959d);},_0x1064f1);}):_0x154f95||_0x4abcd3||_0x3207d4([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5128a0(_0x4ba3c6,_0x33e09d){return new window[(_0x3207d4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1e017e=>{if(_0x2c55a5())return _0x1e017e(_0x3207d4([0x56,0x61,0x6c,0x69,0x64]));_0x5f1f47(),_0x10598f[_0x3207d4([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3207d4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x278ced=!0x1;const _0xc524d2=_0xf82a98();function _0x16b5e9(_0x52dd0d){return!!_0x52dd0d&&(typeof _0x52dd0d===_0x3207d4([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x52dd0d===_0x3207d4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x52dd0d[_0x3207d4([0x74,0x68,0x65,0x6e])]===_0x3207d4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x52dd0d[_0x3207d4([0x63,0x61,0x74,0x63,0x68])]===_0x3207d4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x27ec94(_0x2120fd){_0x4b2bce(_0x2120fd)[_0x3207d4([0x74,0x68,0x65,0x6e])](_0x1d3c7a=>{if(!_0x1d3c7a||_0x1d3c7a[_0x3207d4([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3207d4([0x6f,0x6b]))return _0x3207d4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5e7f85(_0x26e8f7(_0xc524d2+_0x33e09d))!=_0x1d3c7a[_0x3207d4([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3207d4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3207d4([0x56,0x61,0x6c,0x69,0x64]);})[_0x3207d4([0x74,0x68,0x65,0x6e])](_0x38fedd=>(_0x264487(),_0x38fedd),()=>{const _0xfe3aae=_0x211df7();return null==_0xfe3aae?(_0x264487(),_0x3207d4([0x56,0x61,0x6c,0x69,0x64])):_0x3207d4(_0x19ca4a-_0xfe3aae>(0x65d12afb^_0x3751cb)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3207d4([0x74,0x68,0x65,0x6e])](_0x1e017e)[_0x3207d4([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1e017e(_0x3207d4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3e9f7d=0x41eb407b^_0x3751cb;function _0x264487(){const _0x5bbeb3=_0x3207d4([0x6c,0x6c,0x63,0x74,0x2d])+_0x5e7f85(_0x26e8f7(_0x4ba3c6)),_0x5b82fd=_0x180c1c(_0x5e7f85(window[_0x3207d4([0x4d,0x61,0x74,0x68])][_0x3207d4([0x63,0x65,0x69,0x6c])](_0x19ca4a/_0x3e9f7d)));window[_0x3207d4([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3207d4([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5bbeb3,_0x5b82fd);}function _0x211df7(){const _0xb66686=_0x3207d4([0x6c,0x6c,0x63,0x74,0x2d])+_0x5e7f85(_0x26e8f7(_0x4ba3c6)),_0x1f33d3=window[_0x3207d4([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3207d4([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xb66686);return _0x1f33d3?window[_0x3207d4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x180c1c(_0x1f33d3),0x10)*_0x3e9f7d:null;}function _0x4b2bce(_0xc678a0){return new window[(_0x3207d4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2ab407,_0x1f7f7c)=>{_0xc678a0[_0x3207d4([0x74,0x68,0x65,0x6e])](_0x2ab407,_0x1f7f7c),window[_0x3207d4([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1f7f7c,0x41dc7a3b^_0x3751cb);});}}_0x10598f[_0x3207d4([0x6f,0x6e])](_0x3207d4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1c7290,_0x1b02d6)=>{if(_0x1b02d6[0x0]!=_0x4ba3c6)return _0x1e017e(_0x3207d4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1b02d6[0x1]={..._0x1b02d6[0x1],[_0x3207d4([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xc524d2};},{[_0x3207d4([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3207d4([0x68,0x69,0x67,0x68])}),_0x10598f[_0x3207d4([0x6f,0x6e])](_0x3207d4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x44e30b=>{_0x16b5e9(_0x44e30b[_0x3207d4([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x278ced=!0x0,_0x27ec94(_0x44e30b[_0x3207d4([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3207d4([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3207d4([0x6c,0x6f,0x77])}),_0x5e39d1[_0x3207d4([0x74,0x68,0x65,0x6e])](()=>{_0x278ced||_0x1e017e(_0x3207d4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2c55a5(){return _0x10598f[_0x3207d4([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3207d4([0x76,0x69,0x65,0x77])][_0x3207d4([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3207d4([0x61,0x75,0x74,0x6f]);}function _0x5f1f47(){_0x10598f[_0x3207d4([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3207d4([0x76,0x69,0x65,0x77])][_0x3207d4([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3207d4([0x61,0x75,0x74,0x6f]);}}function _0x8d15dd(_0x3606de){const _0x190d7c=[new window[(_0x3207d4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2dcfd2=>setTimeout(_0x2dcfd2,0x41d49037^_0x3751cb)),_0x5e39d1[_0x3207d4([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3207d4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x43ab5b=>{let _0xca71c9=0x0;_0x10598f[_0x3207d4([0x6d,0x6f,0x64,0x65,0x6c])][_0x3207d4([0x6f,0x6e])](_0x3207d4([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x28b75b,_0x544bcb)=>{_0x544bcb[0x0][_0x3207d4([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xca71c9++,_0xca71c9==(0x41ddaf03^_0x3751cb)&&(_0x43ab5b(),_0x28b75b[_0x3207d4([0x6f,0x66,0x66])]());});}))];return window[_0x3207d4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3207d4([0x72,0x61,0x63,0x65])](_0x190d7c)[_0x3207d4([0x74,0x68,0x65,0x6e])](()=>_0x3606de);}async function _0x42e471(){await _0x5e39d1,_0x10598f[_0x3207d4([0x6d,0x6f,0x64,0x65,0x6c])][_0x3207d4([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xc10548,_0x10598f[_0x3207d4([0x6d,0x6f,0x64,0x65,0x6c])][_0x3207d4([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xc10548,_0x10598f[_0x3207d4([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3207d4([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3caa00(_0x80cb15){const _0x454b0b=_0x53b958();_0x10598f[_0x454b0b]=_0x3207d4([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])+_0x80cb15,_0x80cb15!=_0x3207d4([0x56,0x61,0x6c,0x69,0x64])&&_0x42e471();}function _0x53b958(){const _0x3ee150=window[_0x3207d4([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3207d4([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3207d4([0x6e,0x6f,0x77])]())[_0x3207d4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3207d4([0x2e]),'');let _0x4969c9=_0x3207d4([0x4e]);for(let _0x50b43b=0x0;_0x50b43b<_0x3ee150[_0x3207d4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x50b43b+=0x2){let _0xc7d978=window[_0x3207d4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3ee150[_0x3207d4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x50b43b,_0x50b43b+0x2));_0xc7d978>=_0x3d81f6[_0x3207d4([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xc7d978-=_0x3d81f6[_0x3207d4([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4969c9+=_0x3d81f6[_0xc7d978];}return _0x4969c9;}function _0x1c19e0(){const _0x1614ac=_0x5b1893[_0x3207d4([0x73,0x70,0x6c,0x69,0x74])](_0x3207d4([0x2e]));if(0x3!=_0x1614ac[_0x3207d4([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x18c1ba(_0x1614ac[0x1]);function _0x18c1ba(_0x4a0e2f){const _0xa6f9e5=_0x389142(_0x4a0e2f);return _0xa6f9e5&&_0x1b4f47()?_0xa6f9e5:null;function _0x1b4f47(){const _0x489000=_0xa6f9e5[_0x3207d4([0x6a,0x74,0x69])],_0xf142b2=window[_0x3207d4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x489000[_0x3207d4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x489000[_0x3207d4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x188766={..._0xa6f9e5,[_0x3207d4([0x6a,0x74,0x69])]:_0x489000[_0x3207d4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x489000[_0x3207d4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x188766[_0x3207d4([0x76,0x63])],_0x26e8f7(_0x188766)==_0xf142b2;}}}async function _0x4813d4(){let _0x21752e=!0x0;try{const _0x25096c=_0x5b1893[_0x3207d4([0x73,0x70,0x6c,0x69,0x74])](_0x3207d4([0x2e])),[_0x4bc647,_0x44c8ac,_0x34d5e9]=_0x25096c;return _0x2c905c(_0x4bc647),await _0x5046f4(_0x4bc647,_0x44c8ac,_0x34d5e9),_0x21752e;}catch{return!0x1;}function _0x2c905c(_0x2af9a5){const _0x915433=_0x389142(_0x2af9a5);_0x915433&&_0x915433[_0x3207d4([0x61,0x6c,0x67])]==_0x3207d4([0x45,0x53,0x32,0x35,0x36])||(_0x21752e=!0x1);}async function _0x5046f4(_0x4a24c4,_0x31cd26,_0x455377){const _0x673eda=window[_0x3207d4([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3207d4([0x66,0x72,0x6f,0x6d])](_0x184412(_0x455377),_0x33e67b=>_0x33e67b[_0x3207d4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x6195f8=new window[(_0x3207d4([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3207d4([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4a24c4+_0x3207d4([0x2e])+_0x31cd26),_0x4f8e95=window[_0x3207d4([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3207d4([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4f8e95)return;const _0x17e389=await _0x4f8e95[_0x3207d4([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3207d4([0x6a,0x77,0x6b]),_0x41cc08,{[_0x3207d4([0x6e,0x61,0x6d,0x65])]:_0x3207d4([0x45,0x43,0x44,0x53,0x41]),[_0x3207d4([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3207d4([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3207d4([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4f8e95[_0x3207d4([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3207d4([0x6e,0x61,0x6d,0x65])]:_0x3207d4([0x45,0x43,0x44,0x53,0x41]),[_0x3207d4([0x68,0x61,0x73,0x68])]:{[_0x3207d4([0x6e,0x61,0x6d,0x65])]:_0x3207d4([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x17e389,_0x673eda,_0x6195f8)||(_0x21752e=!0x1);}}function _0x389142(_0x2ca27d){return _0x2ca27d[_0x3207d4([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3207d4([0x65,0x79]))?JSON[_0x3207d4([0x70,0x61,0x72,0x73,0x65])](_0x184412(_0x2ca27d)):null;}function _0x184412(_0x4907c2){return window[_0x3207d4([0x61,0x74,0x6f,0x62])](_0x4907c2[_0x3207d4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3207d4([0x2b]))[_0x3207d4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3207d4([0x2f])));}function _0x26e8f7(_0x28103b){let _0x5b441f=0x1505;function _0x325ae0(_0x5ce28b){for(let _0x4b008e=0x0;_0x4b008e<_0x5ce28b[_0x3207d4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4b008e++){const _0x468a95=_0x5ce28b[_0x3207d4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4b008e);_0x5b441f=(_0x5b441f<<0x5)+_0x5b441f+_0x468a95,_0x5b441f&=_0x5b441f;}}function _0x505d6a(_0x59981b){Array[_0x3207d4([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x59981b)?_0x59981b[_0x3207d4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x505d6a):_0x59981b&&typeof _0x59981b==_0x3207d4([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3207d4([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x59981b)[_0x3207d4([0x73,0x6f,0x72,0x74])]()[_0x3207d4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x36d1c2,_0x4aa365])=>{_0x325ae0(_0x36d1c2),_0x505d6a(_0x4aa365);}):_0x325ae0(window[_0x3207d4([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x59981b));}return _0x505d6a(_0x28103b),_0x5b441f>>>0x0;}function _0x5e7f85(_0x29de1f){return _0x29de1f[_0x3207d4([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3207d4([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3207d4([0x30]));}function _0x180c1c(_0x329540){return _0x329540[_0x3207d4([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3207d4([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3207d4([0x6a,0x6f,0x69,0x6e])]('');}function _0xc10548(){}function _0x3207d4(_0x49cbfc){const _0x54b8ce=_0x472c;return _0x49cbfc[_0x54b8ce(0x201)](_0x2869fc=>String[_0x54b8ce(0x1e9)](_0x2869fc))[_0x54b8ce(0x1ea)]('');}_0x3caa00(await _0x45d946());}(this);}[_0x41149d(0x1cd)](){const _0x33dc5e=_0x41149d;super[_0x33dc5e(0x1cd)](),this[_0x33dc5e(0x1de)][_0x33dc5e(0x1cd)](),this[_0x33dc5e(0x1ed)][_0x33dc5e(0x1df)]();}[_0x41149d(0x1d7)](_0x203d26,{outlineDefinitions:_0x329836,outlineChanges:_0x2f94f3}){const _0x1494cf=_0x41149d;this[_0x1494cf(0x1f5)]=_0x329836,this[_0x1494cf(0x1de)][_0x1494cf(0x1f6)](_0x2f94f3);}[_0x41149d(0x1f0)](_0xcbb36){const _0x5dd00e=_0x41149d;this[_0x5dd00e(0x1f5)][_0x5dd00e(0x1e5)]&&this[_0x5dd00e(0x1f5)][_0xcbb36]&&(this[_0x5dd00e(0x1de)][_0x5dd00e(0x1cf)]=_0xcbb36);}[_0x41149d(0x20a)](_0xfea050){const _0x29e16a=_0x41149d,_0x26f85d=this[_0x29e16a(0x1f5)][_0xfea050][_0x29e16a(0x1ff)];this[_0x29e16a(0x1e4)][_0x29e16a(0x1ec)][_0x29e16a(0x1c6)](_0x2d1412=>{const _0x35dd9f=_0x29e16a;_0x2d1412[_0x35dd9f(0x1f8)](_0x26f85d,0x0);}),this[_0x29e16a(0x1e4)][_0x29e16a(0x209)][_0x29e16a(0x1de)][_0x29e16a(0x1cc)]({'alignToTop':!0x0,'forceScroll':!0x0}),this[_0x29e16a(0x1e4)][_0x29e16a(0x209)][_0x29e16a(0x1de)][_0x29e16a(0x1dd)](),this[_0x29e16a(0x1f0)](_0xfea050);}[_0x41149d(0x1f7)](){const _0x4618ee=_0x41149d,_0x167714=this[_0x4618ee(0x1e4)];let _0x629068;for(const _0x50de27 of _0x167714[_0x4618ee(0x1ec)][_0x4618ee(0x1c9)][_0x4618ee(0x1e2)]()){const _0x480580=_0x167714[_0x4618ee(0x209)][_0x4618ee(0x1de)][_0x4618ee(0x1c7)](_0x50de27),_0x54608a=_0x480580&&new _0x24eab4(_0x480580)[_0x4618ee(0x1c5)]();if(_0x54608a){const _0x460cec=new _0x24eab4(_0x3bc5b6[_0x4618ee(0x1d5)])[_0x4618ee(0x1c4)](_0x54608a);_0x460cec&&(_0x629068=_0x460cec[_0x4618ee(0x1ce)]+0.25*_0x460cec[_0x4618ee(0x200)]);}}if(void 0x0===_0x629068)return;const _0x151237=h(_0x167714[_0x4618ee(0x209)],this[_0x4618ee(0x1f5)],_0x629068);_0x151237?this[_0x4618ee(0x1f0)](this[_0x4618ee(0x1f5)][_0x4618ee(0x1fb)](_0x151237)):this[_0x4618ee(0x1f0)](-0x1);}}function h(_0x4c1e84,_0x2d1fb4,_0x2ba7a5,_0x3bca62=0x0,_0x1a9633=_0x2d1fb4[_0x41149d(0x1e5)]-0x1){const _0x50ccd7=_0x41149d,_0x2927a9=Math[_0x50ccd7(0x1ca)](_0x3bca62+(_0x1a9633-_0x3bca62)/0x2);if(_0x1a9633>=_0x3bca62){const _0x7a16d9=_0x2d1fb4[_0x2927a9],_0x19bed2=_0x4c1e84[_0x50ccd7(0x1f9)][_0x50ccd7(0x203)](_0x7a16d9[_0x50ccd7(0x1ff)]);if(!_0x19bed2)return null;const _0x2a17de=_0x4c1e84[_0x50ccd7(0x1de)][_0x50ccd7(0x1db)][_0x50ccd7(0x207)](_0x19bed2);return new _0x24eab4(_0x2a17de)[_0x50ccd7(0x1eb)]>_0x2ba7a5?h(_0x4c1e84,_0x2d1fb4,_0x2ba7a5,_0x3bca62,_0x2927a9-0x1):h(_0x4c1e84,_0x2d1fb4,_0x2ba7a5,_0x2927a9+0x1,_0x1a9633);}return _0x2927a9<0x0?null:_0x2d1fb4[_0x2927a9];}
23
+ const _0xb04301=_0x3d32;function _0x3d32(_0x35f001,_0x395ff3){const _0x588505=_0x5885();return _0x3d32=function(_0x3d32a7,_0x4171cb){_0x3d32a7=_0x3d32a7-0x17d;let _0x281b25=_0x588505[_0x3d32a7];return _0x281b25;},_0x3d32(_0x35f001,_0x395ff3);}(function(_0x435d0a,_0x4a2d5a){const _0x453f21=_0x3d32,_0x32c2be=_0x435d0a();while(!![]){try{const _0x471600=-parseInt(_0x453f21(0x1a0))/0x1+-parseInt(_0x453f21(0x185))/0x2+-parseInt(_0x453f21(0x19a))/0x3*(-parseInt(_0x453f21(0x184))/0x4)+parseInt(_0x453f21(0x18b))/0x5*(-parseInt(_0x453f21(0x18e))/0x6)+-parseInt(_0x453f21(0x19d))/0x7+-parseInt(_0x453f21(0x1b6))/0x8*(parseInt(_0x453f21(0x187))/0x9)+-parseInt(_0x453f21(0x17d))/0xa*(-parseInt(_0x453f21(0x1bc))/0xb);if(_0x471600===_0x4a2d5a)break;else _0x32c2be['push'](_0x32c2be['shift']());}catch(_0x5eabb9){_0x32c2be['push'](_0x32c2be['shift']());}}}(_0x5885,0x959b6));import{Plugin as _0x46a349}from'ckeditor5/src/core.js';function _0x5885(){const _0x10cace=['locale','change','getVisible','element','sync','DocumentOutlineUI','getIntersection','_updateActiveDefinitionOnViewportChange','6123FsFTlZ','scrollToTheSelection','destroy','8032941ZohWIv','height','indexOf','870583zTWfOa','_handleItemSelected','cancel','add','appendChild','render','getRootNames','pluginName','focusTracker','config','setSelection','editing','afterInit','top','DocumentOutlineUtils','editor','init','floor','document','mapViewToDom','_updateActiveDefinitionFromViewportThrottled','focus','3782096vQzQSE','document-outline-container-not-provided','view','bottom','isOfficialPlugin','get','11gTHEhL','window','join','itemSelected','activeItemIndex','domConverter','scroll','plugins','_handleOutlineChange','getDomRoot','bind','49602740izrEIV','_currentOutlineDefinitions','resize','modelElement','isPremiumPlugin','documentOutline.showEmptyHeadings','documentOutline.container','88hzMCGv','1347504XgRJXY','model','18ygZcJe','map','_setActiveViewItem','length','4130FBUWBS','mapper','listenTo','5484sudStt','href','toViewElement','fromCharCode'];_0x5885=function(){return _0x10cace;};return _0x5885();}import{CKEditorError as _0x13d618,global as _0x511241,Rect as _0x1ec314,uid as _0x5e0181}from'ckeditor5/src/utils.js';import{DocumentOutlineView as _0x391c06}from'./ui/documentoutlineview.js';import{throttle as _0x50f537}from'es-toolkit/compat';import'../../theme/documentoutline.css';export class DocumentOutlineUI extends _0x46a349{[_0xb04301(0x1b8)];[_0xb04301(0x17e)];[_0xb04301(0x1b4)];static get[_0xb04301(0x1a7)](){const _0x15c183=_0xb04301;return _0x15c183(0x197);}static get[_0xb04301(0x1ba)](){return!0x0;}static get[_0xb04301(0x181)](){return!0x0;}constructor(_0x5a0a14){const _0x55cf08=_0xb04301;super(_0x5a0a14),this[_0x55cf08(0x1b8)]=new _0x391c06(_0x5a0a14[_0x55cf08(0x192)],this[_0x55cf08(0x1af)][_0x55cf08(0x1a9)][_0x55cf08(0x1bb)](_0x55cf08(0x182)),this[_0x55cf08(0x1af)][_0x55cf08(0x1a9)][_0x55cf08(0x1bb)](_0x55cf08(0x183))),this[_0x55cf08(0x17e)]=[],this[_0x55cf08(0x1b4)]=_0x50f537(this[_0x55cf08(0x199)][_0x55cf08(0x1c6)](this),0x64);}[_0xb04301(0x1b0)](){const _0x83a371=_0xb04301,_0x455040=this[_0x83a371(0x1af)],_0x2e4ed6=_0x455040[_0x83a371(0x1c3)][_0x83a371(0x1bb)](_0x83a371(0x1ae));let _0x2aea90=!0x1;if(this[_0x83a371(0x1b8)][_0x83a371(0x1a5)](),this[_0x83a371(0x1af)]['ui'][_0x83a371(0x1a8)][_0x83a371(0x1a3)](this[_0x83a371(0x1b8)][_0x83a371(0x195)]),!_0x455040[_0x83a371(0x1a9)][_0x83a371(0x1bb)](_0x83a371(0x183)))throw new _0x13d618(_0x83a371(0x1b7),{'editor':_0x455040});_0x455040[_0x83a371(0x1a9)][_0x83a371(0x1bb)](_0x83a371(0x183))[_0x83a371(0x1a4)](this[_0x83a371(0x1b8)][_0x83a371(0x195)]),_0x2e4ed6['on'](_0x83a371(0x193),this[_0x83a371(0x1c4)][_0x83a371(0x1c6)](this)),_0x2e4ed6['on'](_0x83a371(0x1c0),(_0x345b54,{index:_0x9e7601})=>this[_0x83a371(0x189)](_0x9e7601)),this[_0x83a371(0x1b8)]['on'](_0x83a371(0x1bf),(_0x5ec8b1,_0x3b08c0)=>{const _0x5406be=_0x83a371;_0x2aea90=!0x0,this[_0x5406be(0x1a1)](_0x3b08c0);}),this[_0x83a371(0x1b8)][_0x83a371(0x18d)](_0x511241[_0x83a371(0x1b2)],_0x83a371(0x1c2),()=>{const _0x3e5c91=_0x83a371;_0x2aea90?_0x2aea90=!0x1:this[_0x3e5c91(0x1b4)]();},{'useCapture':!0x0}),this[_0x83a371(0x1b8)][_0x83a371(0x18d)](_0x511241[_0x83a371(0x1bd)],_0x83a371(0x17f),this[_0x83a371(0x1b4)],{'useCapture':!0x0});}[_0xb04301(0x1ac)](){!async function(_0x55892d){const _0x1b557d=_0x5f3e71([0x4e,0x31,0x46,0x61,0x43,0x67,0x75,0x6b,0x44,0x6f,0x4d,0x7a,0x48,0x52,0x49,0x58,0x39,0x6d,0x4b,0x35,0x45,0x32,0x37,0x65,0x30,0x36,0x56,0x47,0x74,0x59,0x77,0x66,0x78,0x63,0x33,0x6a,0x72,0x54,0x5a,0x4a,0x41,0x76,0x73,0x4f,0x68,0x70,0x4c,0x55,0x42,0x50,0x79,0x34,0x57,0x51,0x71,0x6e,0x64,0x53,0x38,0x62,0x6c,0x69]),_0x14b3d8=0x17ed9ebb,_0x47458f=0x17eaf143^_0x14b3d8,_0x4443bc=window[_0x5f3e71([0x44,0x61,0x74,0x65])][_0x5f3e71([0x6e,0x6f,0x77])](),_0x14ddf4=_0x55892d[_0x5f3e71([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3b4ae8=new window[(_0x5f3e71([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x97abf=>{_0x14ddf4[_0x5f3e71([0x6f,0x6e,0x63,0x65])](_0x5f3e71([0x72,0x65,0x61,0x64,0x79]),_0x97abf);}),_0x20fc95={[_0x5f3e71([0x6b,0x74,0x79])]:_0x5f3e71([0x45,0x43]),[_0x5f3e71([0x75,0x73,0x65])]:_0x5f3e71([0x73,0x69,0x67]),[_0x5f3e71([0x63,0x72,0x76])]:_0x5f3e71([0x50,0x2d,0x32,0x35,0x36]),[_0x5f3e71([0x78])]:_0x5f3e71([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]),[_0x5f3e71([0x79])]:_0x5f3e71([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]),[_0x5f3e71([0x61,0x6c,0x67])]:_0x5f3e71([0x45,0x53,0x32,0x35,0x36])},_0x348a0d=_0x14ddf4[_0x5f3e71([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5f3e71([0x67,0x65,0x74])](_0x5f3e71([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x34ad7a(){let _0x33c3ff,_0x9bcb3b=null,_0x57377a=null;try{if(_0x348a0d==_0x5f3e71([0x47,0x50,0x4c]))return _0x5f3e71([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x33c3ff=_0x180e95(),!_0x33c3ff)return _0x5f3e71([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x33c3ff[_0x5f3e71([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x57377a=_0x39b56b(_0x33c3ff[_0x5f3e71([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x33c3ff[_0x5f3e71([0x6a,0x74,0x69])])),await _0x545683()?_0x598e07()?_0x468dcb()?_0x5f3e71([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3d93ca()?(_0x33c3ff[_0x5f3e71([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5f3e71([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x9bcb3b=_0x1bdd82(_0x5f3e71([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x33c3ff[_0x5f3e71([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5f3e71([0x74,0x72,0x69,0x61,0x6c])&&(_0x9bcb3b=_0x1bdd82(_0x5f3e71([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x456130()):_0x5f3e71([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5f3e71([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5f3e71([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5f3e71([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x468dcb(){const _0x8ac65c=[_0x5f3e71([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5f3e71([0x74,0x72,0x69,0x61,0x6c])][_0x5f3e71([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x33c3ff[_0x5f3e71([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4443bc/0x3e8:0xe10*_0x47458f;return _0x33c3ff[_0x5f3e71([0x65,0x78,0x70])]<_0x8ac65c;}function _0x598e07(){const _0x40bcf7=_0x33c3ff[_0x5f3e71([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x40bcf7&&(!!_0x40bcf7[_0x5f3e71([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5f3e71([0x2a]))||(!!_0x40bcf7[_0x5f3e71([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5f3e71([0x44,0x4f]))||!!_0x40bcf7[_0x5f3e71([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5f3e71([0x50,0x50]))));}function _0x3d93ca(){const _0x5f11c4=_0x3d32,_0x41d17a=_0x33c3ff[_0x5f3e71([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x41d17a||0x0==_0x41d17a[_0x5f3e71([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x27c97a}=new URL(window[_0x5f3e71([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x5f11c4(0x18f)]);if(_0x41d17a[_0x5f3e71([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x27c97a))return!0x0;const _0x3d0d3e=_0x27c97a[_0x5f3e71([0x73,0x70,0x6c,0x69,0x74])](_0x5f3e71([0x2e]));return _0x41d17a[_0x5f3e71([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x33018c=>_0x33018c[_0x5f3e71([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5f3e71([0x2a])))[_0x5f3e71([0x6d,0x61,0x70])](_0x44ba85=>_0x44ba85[_0x5f3e71([0x73,0x70,0x6c,0x69,0x74])](_0x5f3e71([0x2e])))[_0x5f3e71([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x17d3a9=>_0x17d3a9[_0x5f3e71([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3d0d3e[_0x5f3e71([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5f3e71([0x6d,0x61,0x70])](_0x5bbec9=>Array(_0x3d0d3e[_0x5f3e71([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5bbec9[_0x5f3e71([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5f3e71([0x66,0x69,0x6c,0x6c])](_0x5bbec9[0x0]===_0x5f3e71([0x2a])?_0x5f3e71([0x2a]):'')[_0x5f3e71([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5bbec9))[_0x5f3e71([0x73,0x6f,0x6d,0x65])](_0xf5d054=>_0x3d0d3e[_0x5f3e71([0x65,0x76,0x65,0x72,0x79])]((_0x523c68,_0x9f48a2)=>_0xf5d054[_0x9f48a2]===_0x523c68||_0xf5d054[_0x9f48a2]===_0x5f3e71([0x2a])));}function _0x456130(){return _0x9bcb3b&&_0x57377a?new window[(_0x5f3e71([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x196840,_0x4bb955)=>{_0x9bcb3b[_0x5f3e71([0x74,0x68,0x65,0x6e])](_0x196840,_0x4bb955),_0x57377a[_0x5f3e71([0x74,0x68,0x65,0x6e])](_0x454f77=>{_0x454f77!=_0x5f3e71([0x56,0x61,0x6c,0x69,0x64])&&_0x196840(_0x454f77);},_0x4bb955);}):_0x9bcb3b||_0x57377a||_0x5f3e71([0x56,0x61,0x6c,0x69,0x64]);}}function _0x39b56b(_0x2b62a8,_0x43363c){return new window[(_0x5f3e71([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2b8e24=>{if(_0x15e8a3())return _0x2b8e24(_0x5f3e71([0x56,0x61,0x6c,0x69,0x64]));_0x4db23a(),_0x14ddf4[_0x5f3e71([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5f3e71([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x15adaf=!0x1;const _0x26adb1=_0x5e0181();function _0x1238df(_0x4652ae){return!!_0x4652ae&&(typeof _0x4652ae===_0x5f3e71([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4652ae===_0x5f3e71([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4652ae[_0x5f3e71([0x74,0x68,0x65,0x6e])]===_0x5f3e71([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4652ae[_0x5f3e71([0x63,0x61,0x74,0x63,0x68])]===_0x5f3e71([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x512ec7(_0x88e1e2){_0x5e8a3d(_0x88e1e2)[_0x5f3e71([0x74,0x68,0x65,0x6e])](_0x3155a4=>{if(!_0x3155a4||_0x3155a4[_0x5f3e71([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5f3e71([0x6f,0x6b]))return _0x5f3e71([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x122c6a(_0x4b6e4d(_0x26adb1+_0x43363c))!=_0x3155a4[_0x5f3e71([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5f3e71([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5f3e71([0x56,0x61,0x6c,0x69,0x64]);})[_0x5f3e71([0x74,0x68,0x65,0x6e])](_0x4ad744=>(_0x1b39c1(),_0x4ad744),()=>{const _0x16a38c=_0x39c989();return null==_0x16a38c?(_0x1b39c1(),_0x5f3e71([0x56,0x61,0x6c,0x69,0x64])):_0x5f3e71(_0x4443bc-_0x16a38c>(0x33e11abb^_0x14b3d8)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5f3e71([0x74,0x68,0x65,0x6e])](_0x2b8e24)[_0x5f3e71([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2b8e24(_0x5f3e71([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1ab130=0x17db703b^_0x14b3d8;function _0x1b39c1(){const _0x3af551=_0x5f3e71([0x6c,0x6c,0x63,0x74,0x2d])+_0x122c6a(_0x4b6e4d(_0x2b62a8)),_0x4a3506=_0x385ce8(_0x122c6a(window[_0x5f3e71([0x4d,0x61,0x74,0x68])][_0x5f3e71([0x63,0x65,0x69,0x6c])](_0x4443bc/_0x1ab130)));window[_0x5f3e71([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5f3e71([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3af551,_0x4a3506);}function _0x39c989(){const _0x4bdec7=_0x5f3e71([0x6c,0x6c,0x63,0x74,0x2d])+_0x122c6a(_0x4b6e4d(_0x2b62a8)),_0x547c73=window[_0x5f3e71([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5f3e71([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4bdec7);return _0x547c73?window[_0x5f3e71([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x385ce8(_0x547c73),0x10)*_0x1ab130:null;}function _0x5e8a3d(_0x511d37){return new window[(_0x5f3e71([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x439a08,_0x4cff73)=>{_0x511d37[_0x5f3e71([0x74,0x68,0x65,0x6e])](_0x439a08,_0x4cff73),window[_0x5f3e71([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4cff73,0x17ec4a7b^_0x14b3d8);});}}_0x14ddf4[_0x5f3e71([0x6f,0x6e])](_0x5f3e71([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xaad747,_0x472c2d)=>{if(_0x472c2d[0x0]!=_0x2b62a8)return _0x2b8e24(_0x5f3e71([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x472c2d[0x1]={..._0x472c2d[0x1],[_0x5f3e71([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x26adb1};},{[_0x5f3e71([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5f3e71([0x68,0x69,0x67,0x68])}),_0x14ddf4[_0x5f3e71([0x6f,0x6e])](_0x5f3e71([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3ec1b1=>{_0x1238df(_0x3ec1b1[_0x5f3e71([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x15adaf=!0x0,_0x512ec7(_0x3ec1b1[_0x5f3e71([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5f3e71([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5f3e71([0x6c,0x6f,0x77])}),_0x3b4ae8[_0x5f3e71([0x74,0x68,0x65,0x6e])](()=>{_0x15adaf||_0x2b8e24(_0x5f3e71([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x15e8a3(){return _0x14ddf4[_0x5f3e71([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5f3e71([0x76,0x69,0x65,0x77])][_0x5f3e71([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5f3e71([0x61,0x75,0x74,0x6f]);}function _0x4db23a(){_0x14ddf4[_0x5f3e71([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5f3e71([0x76,0x69,0x65,0x77])][_0x5f3e71([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5f3e71([0x61,0x75,0x74,0x6f]);}}function _0x1bdd82(_0x23c794){const _0x5a2ddc=[new window[(_0x5f3e71([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x6d4897=>setTimeout(_0x6d4897,0x17e4a077^_0x14b3d8)),_0x3b4ae8[_0x5f3e71([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5f3e71([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4280b6=>{let _0x1ee959=0x0;_0x14ddf4[_0x5f3e71([0x6d,0x6f,0x64,0x65,0x6c])][_0x5f3e71([0x6f,0x6e])](_0x5f3e71([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x560d16,_0xbd1202)=>{_0xbd1202[0x0][_0x5f3e71([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1ee959++,_0x1ee959==(0x17ed9f43^_0x14b3d8)&&(_0x4280b6(),_0x560d16[_0x5f3e71([0x6f,0x66,0x66])]());});}))];return window[_0x5f3e71([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5f3e71([0x72,0x61,0x63,0x65])](_0x5a2ddc)[_0x5f3e71([0x74,0x68,0x65,0x6e])](()=>_0x23c794);}async function _0xa64d44(){await _0x3b4ae8,_0x14ddf4[_0x5f3e71([0x6d,0x6f,0x64,0x65,0x6c])][_0x5f3e71([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x194d08,_0x14ddf4[_0x5f3e71([0x6d,0x6f,0x64,0x65,0x6c])][_0x5f3e71([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x194d08,_0x14ddf4[_0x5f3e71([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5f3e71([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x25c30b(_0x2dddb7){const _0x1850c4=_0x49ffe8();_0x14ddf4[_0x1850c4]=_0x5f3e71([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])+_0x2dddb7,_0x2dddb7!=_0x5f3e71([0x56,0x61,0x6c,0x69,0x64])&&_0xa64d44();}function _0x49ffe8(){const _0xc206ec=window[_0x5f3e71([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5f3e71([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5f3e71([0x6e,0x6f,0x77])]())[_0x5f3e71([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5f3e71([0x2e]),'');let _0x44a7bf=_0x5f3e71([0x4e]);for(let _0x3a8f39=0x0;_0x3a8f39<_0xc206ec[_0x5f3e71([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3a8f39+=0x2){let _0x506ece=window[_0x5f3e71([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xc206ec[_0x5f3e71([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3a8f39,_0x3a8f39+0x2));_0x506ece>=_0x1b557d[_0x5f3e71([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x506ece-=_0x1b557d[_0x5f3e71([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x44a7bf+=_0x1b557d[_0x506ece];}return _0x44a7bf;}function _0x180e95(){const _0x151188=_0x348a0d[_0x5f3e71([0x73,0x70,0x6c,0x69,0x74])](_0x5f3e71([0x2e]));if(0x3!=_0x151188[_0x5f3e71([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x498b11(_0x151188[0x1]);function _0x498b11(_0x5b3413){const _0x2b1206=_0x54b09a(_0x5b3413);return _0x2b1206&&_0x17e8f0()?_0x2b1206:null;function _0x17e8f0(){const _0x13a3ca=_0x2b1206[_0x5f3e71([0x6a,0x74,0x69])],_0x1d81bc=window[_0x5f3e71([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x13a3ca[_0x5f3e71([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x13a3ca[_0x5f3e71([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x562291={..._0x2b1206,[_0x5f3e71([0x6a,0x74,0x69])]:_0x13a3ca[_0x5f3e71([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x13a3ca[_0x5f3e71([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x562291[_0x5f3e71([0x76,0x63])],_0x4b6e4d(_0x562291)==_0x1d81bc;}}}async function _0x545683(){let _0xc35be3=!0x0;try{const _0x72de40=_0x348a0d[_0x5f3e71([0x73,0x70,0x6c,0x69,0x74])](_0x5f3e71([0x2e])),[_0x37db74,_0x570102,_0x2cd3df]=_0x72de40;return _0x3fc466(_0x37db74),await _0xd97f1(_0x37db74,_0x570102,_0x2cd3df),_0xc35be3;}catch{return!0x1;}function _0x3fc466(_0x4e78af){const _0x220512=_0x54b09a(_0x4e78af);_0x220512&&_0x220512[_0x5f3e71([0x61,0x6c,0x67])]==_0x5f3e71([0x45,0x53,0x32,0x35,0x36])||(_0xc35be3=!0x1);}async function _0xd97f1(_0x27a60a,_0x46888e,_0x44fd38){const _0x39f119=window[_0x5f3e71([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5f3e71([0x66,0x72,0x6f,0x6d])](_0x129ef3(_0x44fd38),_0x1ee510=>_0x1ee510[_0x5f3e71([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2c5b56=new window[(_0x5f3e71([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5f3e71([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x27a60a+_0x5f3e71([0x2e])+_0x46888e),_0xba04df=window[_0x5f3e71([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5f3e71([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xba04df)return;const _0x4dbae1=await _0xba04df[_0x5f3e71([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5f3e71([0x6a,0x77,0x6b]),_0x20fc95,{[_0x5f3e71([0x6e,0x61,0x6d,0x65])]:_0x5f3e71([0x45,0x43,0x44,0x53,0x41]),[_0x5f3e71([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5f3e71([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5f3e71([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xba04df[_0x5f3e71([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5f3e71([0x6e,0x61,0x6d,0x65])]:_0x5f3e71([0x45,0x43,0x44,0x53,0x41]),[_0x5f3e71([0x68,0x61,0x73,0x68])]:{[_0x5f3e71([0x6e,0x61,0x6d,0x65])]:_0x5f3e71([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4dbae1,_0x39f119,_0x2c5b56)||(_0xc35be3=!0x1);}}function _0x54b09a(_0x10886b){return _0x10886b[_0x5f3e71([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5f3e71([0x65,0x79]))?JSON[_0x5f3e71([0x70,0x61,0x72,0x73,0x65])](_0x129ef3(_0x10886b)):null;}function _0x129ef3(_0x527794){return window[_0x5f3e71([0x61,0x74,0x6f,0x62])](_0x527794[_0x5f3e71([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5f3e71([0x2b]))[_0x5f3e71([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5f3e71([0x2f])));}function _0x4b6e4d(_0x1aaf47){let _0x47476b=0x1505;function _0xbc270e(_0x302437){for(let _0x3b4793=0x0;_0x3b4793<_0x302437[_0x5f3e71([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3b4793++){const _0x2e4ffe=_0x302437[_0x5f3e71([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3b4793);_0x47476b=(_0x47476b<<0x5)+_0x47476b+_0x2e4ffe,_0x47476b&=_0x47476b;}}function _0x1447ba(_0x32bb62){Array[_0x5f3e71([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x32bb62)?_0x32bb62[_0x5f3e71([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1447ba):_0x32bb62&&typeof _0x32bb62==_0x5f3e71([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5f3e71([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x32bb62)[_0x5f3e71([0x73,0x6f,0x72,0x74])]()[_0x5f3e71([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5be832,_0x3d3060])=>{_0xbc270e(_0x5be832),_0x1447ba(_0x3d3060);}):_0xbc270e(window[_0x5f3e71([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x32bb62));}return _0x1447ba(_0x1aaf47),_0x47476b>>>0x0;}function _0x122c6a(_0x353ea3){return _0x353ea3[_0x5f3e71([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5f3e71([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5f3e71([0x30]));}function _0x385ce8(_0x4dd05b){return _0x4dd05b[_0x5f3e71([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5f3e71([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5f3e71([0x6a,0x6f,0x69,0x6e])]('');}function _0x194d08(){}function _0x5f3e71(_0x3c63da){const _0x249dfb=_0x3d32;return _0x3c63da[_0x249dfb(0x188)](_0x5e7544=>String[_0x249dfb(0x191)](_0x5e7544))[_0x249dfb(0x1be)]('');}_0x25c30b(await _0x34ad7a());}(this);}[_0xb04301(0x19c)](){const _0x416543=_0xb04301;super[_0x416543(0x19c)](),this[_0x416543(0x1b8)][_0x416543(0x19c)](),this[_0x416543(0x1b4)][_0x416543(0x1a2)]();}[_0xb04301(0x1c4)](_0x4d7a65,{outlineDefinitions:_0x569556,outlineChanges:_0x44ea62}){const _0x1c8db9=_0xb04301;this[_0x1c8db9(0x17e)]=_0x569556,this[_0x1c8db9(0x1b8)][_0x1c8db9(0x196)](_0x44ea62);}[_0xb04301(0x189)](_0x177aad){const _0x7037cf=_0xb04301;this[_0x7037cf(0x17e)][_0x7037cf(0x18a)]&&this[_0x7037cf(0x17e)][_0x177aad]&&(this[_0x7037cf(0x1b8)][_0x7037cf(0x1c0)]=_0x177aad);}[_0xb04301(0x1a1)](_0x4756c6){const _0xa50911=_0xb04301,_0x21c17a=this[_0xa50911(0x17e)][_0x4756c6][_0xa50911(0x180)];this[_0xa50911(0x1af)][_0xa50911(0x186)][_0xa50911(0x193)](_0x42f239=>{const _0x52b147=_0xa50911;_0x42f239[_0x52b147(0x1aa)](_0x21c17a,0x0);}),this[_0xa50911(0x1af)][_0xa50911(0x1ab)][_0xa50911(0x1b8)][_0xa50911(0x19b)]({'alignToTop':!0x0,'forceScroll':!0x0}),this[_0xa50911(0x1af)][_0xa50911(0x1ab)][_0xa50911(0x1b8)][_0xa50911(0x1b5)](),this[_0xa50911(0x189)](_0x4756c6);}[_0xb04301(0x199)](){const _0x139aa7=_0xb04301,_0x3ce21b=this[_0x139aa7(0x1af)];let _0x2b3cb8;for(const _0x288507 of _0x3ce21b[_0x139aa7(0x186)][_0x139aa7(0x1b2)][_0x139aa7(0x1a6)]()){const _0xf1d8be=_0x3ce21b[_0x139aa7(0x1ab)][_0x139aa7(0x1b8)][_0x139aa7(0x1c5)](_0x288507),_0x8ea63d=_0xf1d8be&&new _0x1ec314(_0xf1d8be)[_0x139aa7(0x194)]();if(_0x8ea63d){const _0x445059=new _0x1ec314(_0x511241[_0x139aa7(0x1bd)])[_0x139aa7(0x198)](_0x8ea63d);_0x445059&&(_0x2b3cb8=_0x445059[_0x139aa7(0x1ad)]+0.25*_0x445059[_0x139aa7(0x19e)]);}}if(void 0x0===_0x2b3cb8)return;const _0x15bc07=D(_0x3ce21b[_0x139aa7(0x1ab)],this[_0x139aa7(0x17e)],_0x2b3cb8);_0x15bc07?this[_0x139aa7(0x189)](this[_0x139aa7(0x17e)][_0x139aa7(0x19f)](_0x15bc07)):this[_0x139aa7(0x189)](-0x1);}}function D(_0x5667d2,_0x34da46,_0x657d8e,_0x204381=0x0,_0x47a0d0=_0x34da46[_0xb04301(0x18a)]-0x1){const _0x135084=_0xb04301,_0x54df5a=Math[_0x135084(0x1b1)](_0x204381+(_0x47a0d0-_0x204381)/0x2);if(_0x47a0d0>=_0x204381){const _0x13402e=_0x34da46[_0x54df5a],_0x162f3f=_0x5667d2[_0x135084(0x18c)][_0x135084(0x190)](_0x13402e[_0x135084(0x180)]);if(!_0x162f3f)return null;const _0x1ece9b=_0x5667d2[_0x135084(0x1b8)][_0x135084(0x1c1)][_0x135084(0x1b3)](_0x162f3f);return new _0x1ec314(_0x1ece9b)[_0x135084(0x1b9)]>_0x657d8e?D(_0x5667d2,_0x34da46,_0x657d8e,_0x204381,_0x54df5a-0x1):D(_0x5667d2,_0x34da46,_0x657d8e,_0x54df5a+0x1,_0x47a0d0);}return _0x54df5a<0x0?null:_0x34da46[_0x54df5a];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3cb666=_0x1cbf;(function(_0x568b32,_0x1243ca){const _0x2832e2=_0x1cbf,_0x10eea1=_0x568b32();while(!![]){try{const _0x3a9bd9=parseInt(_0x2832e2(0x106))/0x1+-parseInt(_0x2832e2(0x125))/0x2*(-parseInt(_0x2832e2(0x111))/0x3)+parseInt(_0x2832e2(0x123))/0x4*(parseInt(_0x2832e2(0x107))/0x5)+parseInt(_0x2832e2(0xf6))/0x6*(parseInt(_0x2832e2(0xfd))/0x7)+-parseInt(_0x2832e2(0x108))/0x8+-parseInt(_0x2832e2(0xf9))/0x9*(-parseInt(_0x2832e2(0xf7))/0xa)+-parseInt(_0x2832e2(0x113))/0xb;if(_0x3a9bd9===_0x1243ca)break;else _0x10eea1['push'](_0x10eea1['shift']());}catch(_0x4b21d1){_0x10eea1['push'](_0x10eea1['shift']());}}}(_0x1f1b,0x702b6));import{Plugin as _0x12cf36}from'ckeditor5/src/core.js';function _0x1cbf(_0x372c58,_0xe56204){const _0x1f1b5b=_0x1f1b();return _0x1cbf=function(_0x1cbf4f,_0x11180a){_0x1cbf4f=_0x1cbf4f-0xf5;let _0x4cae17=_0x1f1b5b[_0x1cbf4f];return _0x4cae17;},_0x1cbf(_0x372c58,_0xe56204);}function _0x1f1b(){const _0x48c027=['8788362qvZZyG','level','init','length','getRootNames','indexOf','getRoot','getChild','change','_headingNames','isPremiumPlugin','text','fire','model','data','backward','1772088MOJGYs','editing','5116zbPEYK','push','document','toModel','name','findIndex','_deriveHeadingElementsFromConversion','element','afterInit','18KKnTGK','5676680xHfkCN','activeItemIndex','9uYuvrJ','view','getFirstPosition','isOfficialPlugin','554806pcSMft','createElement','domConverter','domToView','_getActiveHeading','get','documentOutline.headings','selection','modelElement','333502daTBHz','5zqYKEI','3836928FogVrE','_getOutlineDefinitions','editor','DocumentOutlineUtils','getChildren','includes','config','item','_getHeadingNames','183hZrhdG','pluginName'];_0x1f1b=function(){return _0x48c027;};return _0x1f1b();}import{debounce as _0x44c768}from'es-toolkit/compat';import{ModelTreeWalker as _0x2d90f1}from'ckeditor5/src/engine.js';import{getElementText as _0x123e0f,getDefaultFeatureHeadingNames as _0x10dbad}from'./utils.js';import{diff as _0x327264,diffToChanges as _0xb53ed4}from'ckeditor5/src/utils.js';export class DocumentOutlineUtils extends _0x12cf36{static get[_0x3cb666(0x112)](){const _0x4561e9=_0x3cb666;return _0x4561e9(0x10b);}static get[_0x3cb666(0xfc)](){return!0x0;}static get[_0x3cb666(0x11d)](){return!0x0;}[_0x3cb666(0x11c)]=[];[_0x3cb666(0x115)](){const _0x160b03=_0x3cb666,_0x4b1365=this[_0x160b03(0x10a)];this[_0x160b03(0x11c)]=this[_0x160b03(0x110)]();let _0x52d53d=[];_0x4b1365[_0x160b03(0x120)][_0x160b03(0x127)]['on'](_0x160b03(0x11b),_0x44c768(()=>{const _0x2e621b=_0x160b03,_0x3c6538=_0x52d53d;_0x52d53d=this[_0x2e621b(0x109)]();const _0x4b0e1a=_0x327264(_0x3c6538,_0x52d53d,(_0x19db92,_0x27d521)=>_0x19db92[_0x2e621b(0x114)]===_0x27d521[_0x2e621b(0x114)]&&_0x19db92[_0x2e621b(0x11e)]===_0x27d521[_0x2e621b(0x11e)]&&_0x19db92[_0x2e621b(0x105)]===_0x27d521[_0x2e621b(0x105)]),_0x5eaa1f=_0xb53ed4(_0x4b0e1a,_0x52d53d),_0x586bc0=this[_0x2e621b(0x101)](),_0x398799=_0x52d53d[_0x2e621b(0x12a)](_0x53abdf=>_0x53abdf[_0x2e621b(0x105)]===_0x586bc0);_0x5eaa1f[_0x2e621b(0x116)]&&this[_0x2e621b(0x11f)](_0x2e621b(0x11b),{'outlineDefinitions':_0x52d53d,'activeItemIndex':_0x398799,'outlineChanges':_0x5eaa1f}),this[_0x2e621b(0x11f)](_0x2e621b(0xf8),{'index':_0x398799});},0xfa,{'leading':!0x0,'trailing':!0x0}));}[_0x3cb666(0xf5)](){const _0x2db477=_0x3cb666;this[_0x2db477(0x11c)][_0x2db477(0x116)]||this[_0x2db477(0x12b)]();}[_0x3cb666(0x109)](){const _0x342b21=_0x3cb666,_0x255cfa=this[_0x342b21(0x10a)],_0x2b2ae5=[],_0x8bd2ef=this[_0x342b21(0x11c)];for(const _0x2d1027 of _0x255cfa[_0x342b21(0x120)][_0x342b21(0x127)][_0x342b21(0x117)]())_0x5aeef9(_0x255cfa[_0x342b21(0x120)][_0x342b21(0x127)][_0x342b21(0x119)](_0x2d1027));function _0x5aeef9(_0x130464){const _0x375d28=_0x342b21;for(const _0x1dae8f of _0x130464[_0x375d28(0x10c)]())_0x1dae8f['is'](_0x375d28(0x12c))&&(_0x8bd2ef[_0x375d28(0x10d)](_0x1dae8f[_0x375d28(0x129)])&&_0x2b2ae5[_0x375d28(0x126)]({'level':_0x8bd2ef[_0x375d28(0x118)](_0x1dae8f[_0x375d28(0x129)])+0x1,'text':_0x123e0f(_0x1dae8f),'modelElement':_0x1dae8f}),_0x5aeef9(_0x1dae8f));}return _0x2b2ae5;}[_0x3cb666(0x101)](){const _0x458c45=_0x3cb666,_0x3209f1=this[_0x458c45(0x10a)][_0x458c45(0x120)][_0x458c45(0x127)][_0x458c45(0x104)][_0x458c45(0xfb)](),_0x2f1483=new _0x2d90f1({'direction':_0x458c45(0x122),'startPosition':_0x3209f1});for(const _0x52a261 of _0x2f1483)if(_0x52a261[_0x458c45(0x10f)]['is'](_0x458c45(0x12c))&&this[_0x458c45(0x11c)][_0x458c45(0x10d)](_0x52a261[_0x458c45(0x10f)][_0x458c45(0x129)]))return _0x52a261[_0x458c45(0x10f)];}[_0x3cb666(0x110)](){const _0x141e4e=_0x3cb666,_0x542778=this[_0x141e4e(0x10a)][_0x141e4e(0x10e)][_0x141e4e(0x102)](_0x141e4e(0x103));return _0x542778||_0x10dbad(this[_0x141e4e(0x10a)]);}[_0x3cb666(0x12b)](){const _0x9f4dcf=_0x3cb666,_0x46263c=this[_0x9f4dcf(0x10a)],_0x22a46e=['h1','h2','h3','h4','h5','h6'],_0x37a741=[];for(const _0x24eed1 of _0x22a46e){const _0x288d89=_0x46263c[_0x9f4dcf(0x124)][_0x9f4dcf(0xfa)][_0x9f4dcf(0xff)][_0x9f4dcf(0x100)](document[_0x9f4dcf(0xfe)](_0x24eed1)),_0x257e37=_0x46263c[_0x9f4dcf(0x121)][_0x9f4dcf(0x128)](_0x288d89)[_0x9f4dcf(0x11a)](0x0);_0x257e37?.['is'](_0x9f4dcf(0x12c))&&_0x37a741[_0x9f4dcf(0x126)](_0x257e37[_0x9f4dcf(0x129)]);}this[_0x9f4dcf(0x11c)]=_0x37a741;}}
23
+ function _0x4dd0(){const _0x26203c=['getChildren','domToView','editing','3010122tqflRr','item','backward','data','init','2154aTzqit','config','afterInit','_getOutlineDefinitions','length','249903rCdCCF','736267UjxMwj','_headingNames','activeItemIndex','editor','getChild','createElement','DocumentOutlineUtils','view','isOfficialPlugin','isPremiumPlugin','getFirstPosition','selection','85kFavub','getRoot','_getActiveHeading','name','includes','fire','findIndex','documentOutline.headings','64djrKpt','_getHeadingNames','modelElement','282153oRQPJI','document','toModel','change','3743672GFerrp','get','getRootNames','model','text','indexOf','element','pluginName','push','_deriveHeadingElementsFromConversion','1539436NHNOMo','domConverter','level'];_0x4dd0=function(){return _0x26203c;};return _0x4dd0();}const _0x42eea7=_0x2e4d;(function(_0x46e986,_0x4fa80a){const _0xd81b15=_0x2e4d,_0x40e709=_0x46e986();while(!![]){try{const _0x5dee57=parseInt(_0xd81b15(0x1d6))/0x1+parseInt(_0xd81b15(0x1c6))/0x2+parseInt(_0xd81b15(0x1ee))/0x3+-parseInt(_0xd81b15(0x1f2))/0x4+-parseInt(_0xd81b15(0x1e3))/0x5*(parseInt(_0xd81b15(0x1d1))/0x6)+-parseInt(_0xd81b15(0x1d7))/0x7*(-parseInt(_0xd81b15(0x1eb))/0x8)+-parseInt(_0xd81b15(0x1cc))/0x9;if(_0x5dee57===_0x4fa80a)break;else _0x40e709['push'](_0x40e709['shift']());}catch(_0xb4e7f){_0x40e709['push'](_0x40e709['shift']());}}}(_0x4dd0,0xa5af1));function _0x2e4d(_0xd02af1,_0x16d67e){const _0x4dd0ca=_0x4dd0();return _0x2e4d=function(_0x2e4dc1,_0x41aadd){_0x2e4dc1=_0x2e4dc1-0x1c5;let _0x205872=_0x4dd0ca[_0x2e4dc1];return _0x205872;},_0x2e4d(_0xd02af1,_0x16d67e);}import{Plugin as _0xf69064}from'ckeditor5/src/core.js';import{debounce as _0x552ef8}from'es-toolkit/compat';import{ModelTreeWalker as _0x4b5144}from'ckeditor5/src/engine.js';import{getElementText as _0x557628,getDefaultFeatureHeadingNames as _0x555870}from'./utils.js';import{diff as _0x55f7ac,diffToChanges as _0x484be3}from'ckeditor5/src/utils.js';export class DocumentOutlineUtils extends _0xf69064{static get[_0x42eea7(0x1f9)](){const _0x63992=_0x42eea7;return _0x63992(0x1dd);}static get[_0x42eea7(0x1df)](){return!0x0;}static get[_0x42eea7(0x1e0)](){return!0x0;}[_0x42eea7(0x1d8)]=[];[_0x42eea7(0x1d0)](){const _0x2b43d7=_0x42eea7,_0x440e16=this[_0x2b43d7(0x1da)];this[_0x2b43d7(0x1d8)]=this[_0x2b43d7(0x1ec)]();let _0x4b47c1=[];_0x440e16[_0x2b43d7(0x1f5)][_0x2b43d7(0x1ef)]['on'](_0x2b43d7(0x1f1),_0x552ef8(()=>{const _0x513809=_0x2b43d7,_0x239193=_0x4b47c1;_0x4b47c1=this[_0x513809(0x1d4)]();const _0x5e5f5e=_0x55f7ac(_0x239193,_0x4b47c1,(_0x10a5dc,_0x1284ef)=>_0x10a5dc[_0x513809(0x1c8)]===_0x1284ef[_0x513809(0x1c8)]&&_0x10a5dc[_0x513809(0x1f6)]===_0x1284ef[_0x513809(0x1f6)]&&_0x10a5dc[_0x513809(0x1ed)]===_0x1284ef[_0x513809(0x1ed)]),_0x2a8635=_0x484be3(_0x5e5f5e,_0x4b47c1),_0x2ae483=this[_0x513809(0x1e5)](),_0x4fd420=_0x4b47c1[_0x513809(0x1e9)](_0x3a94ad=>_0x3a94ad[_0x513809(0x1ed)]===_0x2ae483);_0x2a8635[_0x513809(0x1d5)]&&this[_0x513809(0x1e8)](_0x513809(0x1f1),{'outlineDefinitions':_0x4b47c1,'activeItemIndex':_0x4fd420,'outlineChanges':_0x2a8635}),this[_0x513809(0x1e8)](_0x513809(0x1d9),{'index':_0x4fd420});},0xfa,{'leading':!0x0,'trailing':!0x0}));}[_0x42eea7(0x1d3)](){const _0x390941=_0x42eea7;this[_0x390941(0x1d8)][_0x390941(0x1d5)]||this[_0x390941(0x1c5)]();}[_0x42eea7(0x1d4)](){const _0x46bd97=_0x42eea7,_0x577ac3=this[_0x46bd97(0x1da)],_0x4bc9d5=[],_0xc19e18=this[_0x46bd97(0x1d8)];for(const _0x378929 of _0x577ac3[_0x46bd97(0x1f5)][_0x46bd97(0x1ef)][_0x46bd97(0x1f4)]())_0x11bd52(_0x577ac3[_0x46bd97(0x1f5)][_0x46bd97(0x1ef)][_0x46bd97(0x1e4)](_0x378929));function _0x11bd52(_0x27852d){const _0x36f661=_0x46bd97;for(const _0x54f10a of _0x27852d[_0x36f661(0x1c9)]())_0x54f10a['is'](_0x36f661(0x1f8))&&(_0xc19e18[_0x36f661(0x1e7)](_0x54f10a[_0x36f661(0x1e6)])&&_0x4bc9d5[_0x36f661(0x1fa)]({'level':_0xc19e18[_0x36f661(0x1f7)](_0x54f10a[_0x36f661(0x1e6)])+0x1,'text':_0x557628(_0x54f10a),'modelElement':_0x54f10a}),_0x11bd52(_0x54f10a));}return _0x4bc9d5;}[_0x42eea7(0x1e5)](){const _0x1aaeb8=_0x42eea7,_0x324509=this[_0x1aaeb8(0x1da)][_0x1aaeb8(0x1f5)][_0x1aaeb8(0x1ef)][_0x1aaeb8(0x1e2)][_0x1aaeb8(0x1e1)](),_0x4ae85c=new _0x4b5144({'direction':_0x1aaeb8(0x1ce),'startPosition':_0x324509});for(const _0x58b4d2 of _0x4ae85c)if(_0x58b4d2[_0x1aaeb8(0x1cd)]['is'](_0x1aaeb8(0x1f8))&&this[_0x1aaeb8(0x1d8)][_0x1aaeb8(0x1e7)](_0x58b4d2[_0x1aaeb8(0x1cd)][_0x1aaeb8(0x1e6)]))return _0x58b4d2[_0x1aaeb8(0x1cd)];}[_0x42eea7(0x1ec)](){const _0x1fb112=_0x42eea7,_0x2a3afb=this[_0x1fb112(0x1da)][_0x1fb112(0x1d2)][_0x1fb112(0x1f3)](_0x1fb112(0x1ea));return _0x2a3afb||_0x555870(this[_0x1fb112(0x1da)]);}[_0x42eea7(0x1c5)](){const _0x58577b=_0x42eea7,_0x14addb=this[_0x58577b(0x1da)],_0x536599=['h1','h2','h3','h4','h5','h6'],_0x128c4d=[];for(const _0x262c03 of _0x536599){const _0x521099=_0x14addb[_0x58577b(0x1cb)][_0x58577b(0x1de)][_0x58577b(0x1c7)][_0x58577b(0x1ca)](document[_0x58577b(0x1dc)](_0x262c03)),_0xde737b=_0x14addb[_0x58577b(0x1cf)][_0x58577b(0x1f0)](_0x521099)[_0x58577b(0x1db)](0x0);_0xde737b?.['is'](_0x58577b(0x1f8))&&_0x128c4d[_0x58577b(0x1fa)](_0xde737b[_0x58577b(0x1e6)]);}this[_0x58577b(0x1d8)]=_0x128c4d;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4e70(_0x5948fe,_0x11a479){const _0x16203c=_0x1620();return _0x4e70=function(_0x4e704b,_0x4f50d0){_0x4e704b=_0x4e704b-0xdd;let _0x70dbc1=_0x16203c[_0x4e704b];return _0x70dbc1;},_0x4e70(_0x5948fe,_0x11a479);}(function(_0x441387,_0x454adf){const _0x55aa24=_0x4e70,_0x170fed=_0x441387();while(!![]){try{const _0x19405e=parseInt(_0x55aa24(0xe4))/0x1+-parseInt(_0x55aa24(0xe6))/0x2*(-parseInt(_0x55aa24(0xe9))/0x3)+parseInt(_0x55aa24(0xf4))/0x4+-parseInt(_0x55aa24(0xec))/0x5*(parseInt(_0x55aa24(0xee))/0x6)+parseInt(_0x55aa24(0xe7))/0x7*(parseInt(_0x55aa24(0xe8))/0x8)+-parseInt(_0x55aa24(0xf1))/0x9+-parseInt(_0x55aa24(0xf5))/0xa;if(_0x19405e===_0x454adf)break;else _0x170fed['push'](_0x170fed['shift']());}catch(_0x887c27){_0x170fed['push'](_0x170fed['shift']());}}}(_0x1620,0x5d618));import{View as _0x5efd4c}from'ckeditor5/src/ui.js';import{getTranslation as _0x5837b2}from'../../utils/common-translations.js';export class DocumentOutlineItemView extends _0x5efd4c{constructor(_0x1a2e85,_0x276d02=!0x1){const _0x35222a=_0x4e70;super(_0x1a2e85);const _0x34b370=this[_0x35222a(0xe3)],_0x415f59=_0x276d02?'['+_0x5837b2(_0x1a2e85,_0x35222a(0xf0))+']':'';this[_0x35222a(0xdf)](_0x35222a(0xf2),''),this[_0x35222a(0xdf)](_0x35222a(0xe5),0x1),this[_0x35222a(0xdf)](_0x35222a(0xdd),!0x1),this[_0x35222a(0xeb)](_0x35222a(0xef))['to'](this,_0x35222a(0xf2),_0x55c359=>!_0x55c359),this[_0x35222a(0xed)]({'tag':_0x35222a(0xe0),'attributes':{'class':['ck',_0x35222a(0xe1),_0x35222a(0xe2),_0x34b370['to'](_0x35222a(0xe5),_0x1ab861=>_0x35222a(0xf3)+_0x1ab861),_0x34b370['if'](_0x35222a(0xdd),_0x35222a(0xde)),_0x34b370['if'](_0x35222a(0xef),_0x35222a(0xf6))],'title':_0x34b370['to'](_0x35222a(0xf2))},'children':[{'text':_0x34b370['to'](_0x35222a(0xf2),_0x46a0d0=>_0x46a0d0||_0x415f59)}],'on':{'click':_0x34b370['to'](_0x35222a(0xea))}});}}function _0x1620(){const _0x40630b=['level','60378wXBRII','259rIpWLb','138328qBrLse','51NVVbgO','click','bind','3105ixKhpb','setTemplate','1524QobbwD','isEmpty','Empty\x20heading','5783868fpflyi','text','ck-document-outline__item_level-','557120KZfJau','3800780bIGHNE','ck-document-outline__item_empty','isActive','ck-document-outline__item_active','set','div','ck-reset','ck-document-outline__item','bindTemplate','270692hlvZxt'];_0x1620=function(){return _0x40630b;};return _0x1620();}
23
+ (function(_0x20ae53,_0x226f7f){const _0x396402=_0x2acb,_0x178230=_0x20ae53();while(!![]){try{const _0xf650c4=-parseInt(_0x396402(0x15e))/0x1*(parseInt(_0x396402(0x16a))/0x2)+parseInt(_0x396402(0x166))/0x3+parseInt(_0x396402(0x16b))/0x4*(parseInt(_0x396402(0x170))/0x5)+parseInt(_0x396402(0x163))/0x6*(parseInt(_0x396402(0x15b))/0x7)+parseInt(_0x396402(0x16f))/0x8+-parseInt(_0x396402(0x15f))/0x9+parseInt(_0x396402(0x173))/0xa;if(_0xf650c4===_0x226f7f)break;else _0x178230['push'](_0x178230['shift']());}catch(_0x3622e2){_0x178230['push'](_0x178230['shift']());}}}(_0x4a05,0xaf89e));import{View as _0x4747ed}from'ckeditor5/src/ui.js';import{getTranslation as _0x2d32ef}from'../../utils/common-translations.js';export class DocumentOutlineItemView extends _0x4747ed{constructor(_0x597057,_0x1c6caf=!0x1){const _0x572925=_0x2acb;super(_0x597057);const _0x9c3d5=this[_0x572925(0x165)],_0x1101c6=_0x1c6caf?'['+_0x2d32ef(_0x597057,_0x572925(0x15c))+']':'';this[_0x572925(0x168)](_0x572925(0x162),''),this[_0x572925(0x168)](_0x572925(0x161),0x1),this[_0x572925(0x168)](_0x572925(0x16d),!0x1),this[_0x572925(0x15d)](_0x572925(0x160))['to'](this,_0x572925(0x162),_0x55dd59=>!_0x55dd59),this[_0x572925(0x164)]({'tag':_0x572925(0x171),'attributes':{'class':['ck',_0x572925(0x174),_0x572925(0x169),_0x9c3d5['to'](_0x572925(0x161),_0x209ca6=>_0x572925(0x16c)+_0x209ca6),_0x9c3d5['if'](_0x572925(0x16d),_0x572925(0x16e)),_0x9c3d5['if'](_0x572925(0x160),_0x572925(0x167))],'title':_0x9c3d5['to'](_0x572925(0x162))},'children':[{'text':_0x9c3d5['to'](_0x572925(0x162),_0x2f58a0=>_0x2f58a0||_0x1101c6)}],'on':{'click':_0x9c3d5['to'](_0x572925(0x172))}});}}function _0x2acb(_0x32cbf3,_0x47aa2d){const _0x4a054f=_0x4a05();return _0x2acb=function(_0x2acb73,_0x398aff){_0x2acb73=_0x2acb73-0x15b;let _0x2bd515=_0x4a054f[_0x2acb73];return _0x2bd515;},_0x2acb(_0x32cbf3,_0x47aa2d);}function _0x4a05(){const _0x1d1cea=['bindTemplate','729630XZgBmp','ck-document-outline__item_empty','set','ck-document-outline__item','608068jZEHGC','18716yMEnlS','ck-document-outline__item_level-','isActive','ck-document-outline__item_active','382432SlMqtq','1445kqQfQl','div','click','6982960wSLSwe','ck-reset','766353NpcGCl','Empty\x20heading','bind','1DfKKag','12851820ubXMUt','isEmpty','level','text','6WoqJJc','setTemplate'];_0x4a05=function(){return _0x1d1cea;};return _0x4a05();}