@ckeditor/ckeditor5-document-outline 45.1.0-alpha.6 → 45.1.0-alpha.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/document-outline.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +9 -9
- package/src/documentoutline/documentoutlineui.js +1 -1
- package/src/documentoutline/documentoutlineutils.js +1 -1
- package/src/documentoutline/ui/documentoutlineitemview.js +1 -1
- package/src/documentoutline/ui/documentoutlineview.js +1 -1
- package/src/documentoutline/utils.js +1 -1
- package/src/tableofcontents/headingid.js +1 -1
- package/src/tableofcontents/tableofcontentscommand.js +1 -1
- package/src/tableofcontents/tableofcontentsediting.js +1 -1
- package/src/tableofcontents/tableofcontentsui.js +1 -1
package/dist/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as _0x37b704,Command as _0x191f8a}from'@ckeditor/ckeditor5-core/dist/index.js';import{debounce as _0x3bb9e4,throttle as _0x22cffd}from'es-toolkit/compat';import{Text as _0x19be6c,TreeWalker as _0x4c8bb0}from'@ckeditor/ckeditor5-engine/dist/index.js';import{diff as _0x125e96,diffToChanges as _0x21133d,scrollAncestorsToShowTarget as _0x27cdc9,CKEditorError as _0x367917,global as _0x3183f8,Rect as _0x345fde,uid as _0xf6d644,priorities as _0x3aaa64}from'@ckeditor/ckeditor5-utils/dist/index.js';import{View as _0x29683e,ButtonView as _0x395371,MenuBarMenuListItemButtonView as _0x4cd499}from'@ckeditor/ckeditor5-ui/dist/index.js';import{Widget as _0x4d8e81,toWidget as _0x225a9a}from'@ckeditor/ckeditor5-widget/dist/index.js';import{IconTableOfContents as _0x37a0fa}from'@ckeditor/ckeditor5-icons/dist/index.js';function j(_0x4c5f1b){let _0xfbb973='';for(const _0x59f733 of _0x4c5f1b['getChildren']())_0x59f733 instanceof _0x19be6c&&(_0xfbb973+=_0x59f733['data']);return _0xfbb973;}class i extends _0x37b704{static get['pluginName'](){return'DocumentOutlineUtils';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['_headingNames']=[];['init'](){const _0x14ae96=this['editor'];this['_headingNames']=this['_getHeadingNames']();let _0x38e7a7=[];_0x14ae96['model']['document']['on']('change',_0x3bb9e4(()=>{const _0x3e43bc=_0x38e7a7;_0x38e7a7=this['_getOutlineDefinitions']();const _0x523afa=_0x125e96(_0x3e43bc,_0x38e7a7,(_0x854168,_0x12badd)=>_0x854168['level']===_0x12badd['level']&&_0x854168['text']===_0x12badd['text']&&_0x854168['modelElement']===_0x12badd['modelElement']),_0x4abfcf=_0x21133d(_0x523afa,_0x38e7a7),_0x1bf128=this['_getActiveHeading'](),_0x1ed869=_0x38e7a7['findIndex'](_0x412da9=>_0x412da9['modelElement']===_0x1bf128);_0x4abfcf['length']&&this['fire']('change',{'outlineDefinitions':_0x38e7a7,'activeItemIndex':_0x1ed869,'outlineChanges':_0x4abfcf}),this['fire']('activeItemIndex',{'index':_0x1ed869});},0xfa,{'leading':!0x0,'trailing':!0x0}));}['afterInit'](){this['_headingNames']['length']||this['_deriveHeadingElementsFromConversion']();}['_getOutlineDefinitions'](){const _0x209806=this['editor'],_0x37ba5e=[],_0x411837=this['_headingNames'];for(const _0x2f0153 of _0x209806['model']['document']['getRootNames']())_0x8746f3(_0x209806['model']['document']['getRoot'](_0x2f0153));function _0x8746f3(_0x766b4b){for(const _0x5b48c9 of _0x766b4b['getChildren']())_0x5b48c9['is']('element')&&(_0x411837['includes'](_0x5b48c9['name'])&&_0x37ba5e['push']({'level':_0x411837['indexOf'](_0x5b48c9['name'])+0x1,'text':j(_0x5b48c9),'modelElement':_0x5b48c9}),_0x8746f3(_0x5b48c9));}return _0x37ba5e;}['_getActiveHeading'](){const _0x22e3c9=this['editor']['model']['document']['selection']['getFirstPosition'](),_0x414176=new _0x4c8bb0({'direction':'backward','startPosition':_0x22e3c9});for(const _0x6264ac of _0x414176)if(_0x6264ac['item']['is']('element')&&this['_headingNames']['includes'](_0x6264ac['item']['name']))return _0x6264ac['item'];}['_getHeadingNames'](){const _0x1391dc=this['editor']['config']['get']('documentOutline.headings');return _0x1391dc||function(_0x36d0f1){const _0x37d7ff=_0x36d0f1['config']['get']('heading.options');return _0x37d7ff?_0x37d7ff['reduce']((_0x41baa8,_0x2e2fd5)=>('paragraph'!==_0x2e2fd5['model']&&_0x41baa8['push'](_0x2e2fd5['model']),_0x41baa8),[]):_0x36d0f1['plugins']['has']('GeneralHtmlSupport')?['htmlH1','htmlH2','htmlH3','htmlH4','htmlH5','htmlH6']:[];}(this['editor']);}['_deriveHeadingElementsFromConversion'](){const _0x43b5b4=this['editor'],_0x398a26=['h1','h2','h3','h4','h5','h6'],_0x1edd78=[];for(const _0x1946e0 of _0x398a26){const _0x1ff8a0=_0x43b5b4['editing']['view']['domConverter']['domToView'](document['createElement'](_0x1946e0)),_0x4cd5c5=_0x43b5b4['data']['toModel'](_0x1ff8a0)['getChild'](0x0);_0x4cd5c5?.['is']('element')&&_0x1edd78['push'](_0x4cd5c5['name']);}this['_headingNames']=_0x1edd78;}}function b(_0x538d17,_0x476478){const t=_0x538d17['t'];switch(_0x476478){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 _0x476478;}}class $ extends _0x29683e{constructor(_0x3c1eb7,_0x1226b1=!0x1){super(_0x3c1eb7);const _0x51e756=this['bindTemplate'],_0x51f307=_0x1226b1?'['+b(_0x3c1eb7,'Empty\x20heading')+']':'';this['set']('text',''),this['set']('level',0x1),this['set']('isActive',!0x1),this['bind']('isEmpty')['to'](this,'text',_0x5720f1=>!_0x5720f1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline__item',_0x51e756['to']('level',_0x4aeb59=>'ck-document-outline__item_level-'+_0x4aeb59),_0x51e756['if']('isActive','ck-document-outline__item_active'),_0x51e756['if']('isEmpty','ck-document-outline__item_empty')],'title':_0x51e756['to']('text')},'children':[{'text':_0x51e756['to']('text',_0x50719f=>_0x50719f||_0x51f307)}],'on':{'click':_0x51e756['to']('click')}});}}class _ extends _0x29683e{['items'];['documentOutlineContainer'];['showEmptyHeadingText'];constructor(_0x434be0,_0x18018b=!0x1,_0x1c695f){super(_0x434be0),this['showEmptyHeadingText']=_0x18018b,this['set']('activeItemIndex',-0x1),this['documentOutlineContainer']=_0x1c695f,this['items']=this['createCollection'](),this['items']['delegate']('click')['to'](this),this['on']('click',this['_handleItemClick']['bind'](this)),this['on']('change:activeItemIndex',(_0x206b0f,_0x20caeb,_0x148ac5,_0x545fe2)=>{this['_setActiveItem'](_0x545fe2,_0x148ac5);}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline'],'dir':_0x434be0['contentLanguageDirection'],'data-document-outline-empty-placeholder':b(_0x434be0,'Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.'),'tabindex':-0x1},'children':this['items']});}['sync'](_0x503569){_0x503569['forEach'](_0x303bad=>{'insert'==_0x303bad['type']?this['_insertItem'](_0x303bad['index'],..._0x303bad['values']):'delete'==_0x303bad['type']&&this['_deleteItem'](_0x303bad['index'],_0x303bad['howMany']);});}['_setActiveItem'](_0xfccf69,_0x13da7d){if(-0x1!==_0xfccf69){const _0x16e5c3=this['items']['get'](_0xfccf69);_0x16e5c3&&(_0x16e5c3['isActive']=!0x1);}-0x1!==_0x13da7d&&(this['items']['get'](_0x13da7d)['isActive']=!0x0,this['_scrollToItem'](_0x13da7d));}['_insertItem'](_0x2ecedb,..._0x59ebfe){const _0x97c442=_0x59ebfe['map']((_0x11ac06,_0x33fea0)=>{const _0x22b8a5=new $(this['locale'],this['showEmptyHeadingText']);return _0x22b8a5['text']=_0x11ac06['text'],_0x22b8a5['level']=_0x11ac06['level'],_0x2ecedb+_0x33fea0===this['activeItemIndex']&&(_0x22b8a5['isActive']=!0x0),_0x22b8a5;});this['items']['addMany'](_0x97c442,_0x2ecedb);}['_deleteItem'](_0x2f2737,_0x52169d){do{this['items']['remove'](_0x2f2737);}while(--_0x52169d);}['_handleItemClick'](_0xd3bc){const _0x5a13d1=this['items']['getIndex'](_0xd3bc['source']);this['fire']('itemSelected',_0x5a13d1);}['_scrollToItem'](_0x34aed2){_0x27cdc9(this['items']['get'](_0x34aed2)['element'],0x14,this['documentOutlineContainer']);}['destroy'](){super['destroy'](),this['element']['remove']();}}class n extends _0x37b704{['view'];['_currentOutlineDefinitions'];['_updateActiveDefinitionFromViewportThrottled'];static get['pluginName'](){return'DocumentOutlineUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x43ea1d){super(_0x43ea1d),this['view']=new _(_0x43ea1d['locale'],this['editor']['config']['get']('documentOutline.showEmptyHeadings'),this['editor']['config']['get']('documentOutline.container')),this['_currentOutlineDefinitions']=[],this['_updateActiveDefinitionFromViewportThrottled']=_0x22cffd(this['_updateActiveDefinitionOnViewportChange']['bind'](this),0x64);}['init'](){const _0x48f296=this['editor'],_0x278b0a=_0x48f296['plugins']['get']('DocumentOutlineUtils');let _0x3995a6=!0x1;if(this['view']['render'](),this['editor']['ui']['focusTracker']['add'](this['view']['element']),!_0x48f296['config']['get']('documentOutline.container'))throw new _0x367917('document-outline-container-not-provided',{'editor':_0x48f296});_0x48f296['config']['get']('documentOutline.container')['appendChild'](this['view']['element']),_0x278b0a['on']('change',this['_handleOutlineChange']['bind'](this)),_0x278b0a['on']('activeItemIndex',(_0x578d6c,{index:_0x554576})=>this['_setActiveViewItem'](_0x554576)),this['view']['on']('itemSelected',(_0x171117,_0x5f422d)=>{_0x3995a6=!0x0,this['_handleItemSelected'](_0x5f422d);}),this['view']['listenTo'](_0x3183f8['document'],'scroll',()=>{_0x3995a6?_0x3995a6=!0x1:this['_updateActiveDefinitionFromViewportThrottled']();},{'useCapture':!0x0}),this['view']['listenTo'](_0x3183f8['window'],'resize',this['_updateActiveDefinitionFromViewportThrottled'],{'useCapture':!0x0});}['afterInit'](){!async function(_0x31ad9a){const _0x4b137a=_0x1e4cb0([0x6b,0x4e,0x4a,0x4d,0x36,0x62,0x41,0x57,0x61,0x39,0x71,0x6e,0x55,0x53,0x4b,0x51,0x49,0x63,0x32,0x43,0x6c,0x65,0x4c,0x46,0x38,0x34,0x76,0x6a,0x44,0x73,0x64,0x52,0x72,0x6f,0x56,0x33,0x70,0x74,0x30,0x48,0x35,0x42,0x68,0x37,0x47,0x59,0x77,0x5a,0x66,0x67,0x58,0x78,0x54,0x79,0x45,0x6d,0x7a,0x31,0x75,0x69,0x50,0x4f]),_0x4a7184=0x17d887bc,_0x176c4a=0x17dfe004^_0x4a7184,_0x2c36c5=window[_0x1e4cb0([0x44,0x61,0x74,0x65])][_0x1e4cb0([0x6e,0x6f,0x77])](),_0x4cc523=_0x31ad9a[_0x1e4cb0([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2b1665=new window[(_0x1e4cb0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4ce118=>{_0x4cc523[_0x1e4cb0([0x6f,0x6e,0x63,0x65])](_0x1e4cb0([0x72,0x65,0x61,0x64,0x79]),_0x4ce118);}),_0x2964ce={[_0x1e4cb0([0x6b,0x74,0x79])]:_0x1e4cb0([0x45,0x43]),[_0x1e4cb0([0x75,0x73,0x65])]:_0x1e4cb0([0x73,0x69,0x67]),[_0x1e4cb0([0x63,0x72,0x76])]:_0x1e4cb0([0x50,0x2d,0x32,0x35,0x36]),[_0x1e4cb0([0x78])]:_0x1e4cb0([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]),[_0x1e4cb0([0x79])]:_0x1e4cb0([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]),[_0x1e4cb0([0x61,0x6c,0x67])]:_0x1e4cb0([0x45,0x53,0x32,0x35,0x36])},_0x5f543a=_0x4cc523[_0x1e4cb0([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1e4cb0([0x67,0x65,0x74])](_0x1e4cb0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1b4fb2(){let _0x43f710,_0x31c3b2=null,_0x592b58=null;try{if(_0x5f543a==_0x1e4cb0([0x47,0x50,0x4c]))return _0x1e4cb0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x43f710=_0x56e4f9(),!_0x43f710)return _0x1e4cb0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x43f710[_0x1e4cb0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x592b58=_0x1e6bc7(_0x43f710[_0x1e4cb0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x43f710[_0x1e4cb0([0x6a,0x74,0x69])])),await _0x2b8ee5()?_0x48cb07()?_0x28ae84()?_0x1e4cb0([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1b629d()?(_0x43f710[_0x1e4cb0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1e4cb0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x31c3b2=_0x1ac41f(_0x1e4cb0([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x43f710[_0x1e4cb0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1e4cb0([0x74,0x72,0x69,0x61,0x6c])&&(_0x31c3b2=_0x1ac41f(_0x1e4cb0([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3eb8a5()):_0x1e4cb0([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1e4cb0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1e4cb0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x8e4b6b){return _0x1e4cb0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x28ae84(){const _0x1804c0=[_0x1e4cb0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1e4cb0([0x74,0x72,0x69,0x61,0x6c])][_0x1e4cb0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x43f710[_0x1e4cb0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2c36c5/0x3e8:0xe10*_0x176c4a;return _0x43f710[_0x1e4cb0([0x65,0x78,0x70])]<_0x1804c0;}function _0x48cb07(){const _0x2d9fac=_0x43f710[_0x1e4cb0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2d9fac&&(!!_0x2d9fac[_0x1e4cb0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1e4cb0([0x2a]))||(!!_0x2d9fac[_0x1e4cb0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1e4cb0([0x44,0x4f]))||!!_0x2d9fac[_0x1e4cb0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1e4cb0([0x50,0x50]))));}function _0x1b629d(){const _0x201a53=_0x43f710[_0x1e4cb0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x201a53||0x0==_0x201a53[_0x1e4cb0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1cee7f}=new URL(window[_0x1e4cb0([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x201a53[_0x1e4cb0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1cee7f))return!0x0;const _0x3a8961=_0x1cee7f[_0x1e4cb0([0x73,0x70,0x6c,0x69,0x74])](_0x1e4cb0([0x2e]));return _0x201a53[_0x1e4cb0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x190a95=>_0x190a95[_0x1e4cb0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1e4cb0([0x2a])))[_0x1e4cb0([0x6d,0x61,0x70])](_0x431330=>_0x431330[_0x1e4cb0([0x73,0x70,0x6c,0x69,0x74])](_0x1e4cb0([0x2e])))[_0x1e4cb0([0x73,0x6f,0x6d,0x65])](_0xc8cdd0=>_0x3a8961[_0x1e4cb0([0x65,0x76,0x65,0x72,0x79])]((_0x1f7d12,_0x27b1e8)=>_0xc8cdd0[_0x27b1e8]===_0x1f7d12||_0xc8cdd0[_0x27b1e8]===_0x1e4cb0([0x2a])));}function _0x3eb8a5(){return _0x31c3b2&&_0x592b58?new window[(_0x1e4cb0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5289bf,_0x5a340e)=>{_0x31c3b2[_0x1e4cb0([0x74,0x68,0x65,0x6e])](_0x5289bf,_0x5a340e),_0x592b58[_0x1e4cb0([0x74,0x68,0x65,0x6e])](_0x4019b8=>{_0x4019b8!=_0x1e4cb0([0x56,0x61,0x6c,0x69,0x64])&&_0x5289bf(_0x4019b8);},_0x5a340e);}):_0x31c3b2||_0x592b58||_0x1e4cb0([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1e6bc7(_0x5b1e49,_0x13ffc3){return new window[(_0x1e4cb0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x156039=>{if(_0x236570())return _0x156039(_0x1e4cb0([0x56,0x61,0x6c,0x69,0x64]));_0xcbe7d2(),_0x4cc523[_0x1e4cb0([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1e4cb0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x46a8ef=!0x1;const _0x1a6d00=_0xf6d644();function _0x5de6ec(_0x4ab4c6){return!!_0x4ab4c6&&(typeof _0x4ab4c6===_0x1e4cb0([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4ab4c6===_0x1e4cb0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4ab4c6[_0x1e4cb0([0x74,0x68,0x65,0x6e])]===_0x1e4cb0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4ab4c6[_0x1e4cb0([0x63,0x61,0x74,0x63,0x68])]===_0x1e4cb0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2c0cd9(_0x1149d){_0x1f4d64(_0x1149d)[_0x1e4cb0([0x74,0x68,0x65,0x6e])](_0xde008e=>{if(!_0xde008e||_0xde008e[_0x1e4cb0([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1e4cb0([0x6f,0x6b]))return _0x1e4cb0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1af743(_0x1f8feb(_0x1a6d00+_0x13ffc3))!=_0xde008e[_0x1e4cb0([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1e4cb0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1e4cb0([0x56,0x61,0x6c,0x69,0x64]);})[_0x1e4cb0([0x74,0x68,0x65,0x6e])](_0x29f4e7=>(_0x36f4ea(),_0x29f4e7),()=>{const _0xbb4b90=_0x54f55f();return null==_0xbb4b90?(_0x36f4ea(),_0x1e4cb0([0x56,0x61,0x6c,0x69,0x64])):_0x1e4cb0(_0x2c36c5-_0xbb4b90>(0x33d403bc^_0x4a7184)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1e4cb0([0x74,0x68,0x65,0x6e])](_0x156039)[_0x1e4cb0([0x63,0x61,0x74,0x63,0x68])](()=>{_0x156039(_0x1e4cb0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x419a29=0x17ee693c^_0x4a7184;function _0x36f4ea(){const _0x5062c4=_0x1e4cb0([0x6c,0x6c,0x63,0x74,0x2d])+_0x1af743(_0x1f8feb(_0x5b1e49)),_0x251b14=_0x51320f(_0x1af743(window[_0x1e4cb0([0x4d,0x61,0x74,0x68])][_0x1e4cb0([0x63,0x65,0x69,0x6c])](_0x2c36c5/_0x419a29)));window[_0x1e4cb0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1e4cb0([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5062c4,_0x251b14);}function _0x54f55f(){const _0x36f093=_0x1e4cb0([0x6c,0x6c,0x63,0x74,0x2d])+_0x1af743(_0x1f8feb(_0x5b1e49)),_0xfd8ff6=window[_0x1e4cb0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1e4cb0([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x36f093);return _0xfd8ff6?window[_0x1e4cb0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x51320f(_0xfd8ff6),0x10)*_0x419a29:null;}function _0x1f4d64(_0x5cee68){return new window[(_0x1e4cb0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5f5c75,_0x4b0a62)=>{_0x5cee68[_0x1e4cb0([0x74,0x68,0x65,0x6e])](_0x5f5c75,_0x4b0a62),window[_0x1e4cb0([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4b0a62,0x17d9537c^_0x4a7184);});}}_0x4cc523[_0x1e4cb0([0x6f,0x6e])](_0x1e4cb0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4fa998,_0x109869)=>{if(_0x109869[0x0]!=_0x5b1e49)return _0x156039(_0x1e4cb0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x109869[0x1]={..._0x109869[0x1],[_0x1e4cb0([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1a6d00};},{[_0x1e4cb0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1e4cb0([0x68,0x69,0x67,0x68])}),_0x4cc523[_0x1e4cb0([0x6f,0x6e])](_0x1e4cb0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4962af=>{_0x5de6ec(_0x4962af[_0x1e4cb0([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x46a8ef=!0x0,_0x2c0cd9(_0x4962af[_0x1e4cb0([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1e4cb0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1e4cb0([0x6c,0x6f,0x77])}),_0x2b1665[_0x1e4cb0([0x74,0x68,0x65,0x6e])](()=>{_0x46a8ef||_0x156039(_0x1e4cb0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x236570(){return _0x4cc523[_0x1e4cb0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1e4cb0([0x76,0x69,0x65,0x77])][_0x1e4cb0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1e4cb0([0x61,0x75,0x74,0x6f]);}function _0xcbe7d2(){_0x4cc523[_0x1e4cb0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1e4cb0([0x76,0x69,0x65,0x77])][_0x1e4cb0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1e4cb0([0x61,0x75,0x74,0x6f]);}}function _0x1ac41f(_0x627ed1){const _0x365181=[new window[(_0x1e4cb0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x319057=>setTimeout(_0x319057,0x17d1b970^_0x4a7184)),_0x2b1665[_0x1e4cb0([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1e4cb0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4f701f=>{let _0xf6a984=0x0;_0x4cc523[_0x1e4cb0([0x6d,0x6f,0x64,0x65,0x6c])][_0x1e4cb0([0x6f,0x6e])](_0x1e4cb0([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x341cd,_0x4752c4)=>{_0x4752c4[0x0][_0x1e4cb0([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xf6a984++,_0xf6a984==(0x17d88644^_0x4a7184)&&(_0x4f701f(),_0x341cd[_0x1e4cb0([0x6f,0x66,0x66])]());});}))];return window[_0x1e4cb0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1e4cb0([0x72,0x61,0x63,0x65])](_0x365181)[_0x1e4cb0([0x74,0x68,0x65,0x6e])](()=>_0x627ed1);}async function _0x40a5f6(){await _0x2b1665,_0x4cc523[_0x1e4cb0([0x6d,0x6f,0x64,0x65,0x6c])][_0x1e4cb0([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x28ecdd,_0x4cc523[_0x1e4cb0([0x6d,0x6f,0x64,0x65,0x6c])][_0x1e4cb0([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x28ecdd,_0x4cc523[_0x1e4cb0([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1e4cb0([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x24b0e5(_0x188b29){const _0x319d39=_0x15c028();_0x4cc523[_0x319d39]=_0x1e4cb0([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])+_0x188b29,_0x188b29!=_0x1e4cb0([0x56,0x61,0x6c,0x69,0x64])&&_0x40a5f6();}function _0x15c028(){const _0x14cf7e=window[_0x1e4cb0([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1e4cb0([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1e4cb0([0x6e,0x6f,0x77])]())[_0x1e4cb0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1e4cb0([0x2e]),'');let _0xd7f03e=_0x1e4cb0([0x6b]);for(let _0x281deb=0x0;_0x281deb<_0x14cf7e[_0x1e4cb0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x281deb+=0x2){let _0x278b40=window[_0x1e4cb0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x14cf7e[_0x1e4cb0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x281deb,_0x281deb+0x2));_0x278b40>=_0x4b137a[_0x1e4cb0([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x278b40-=_0x4b137a[_0x1e4cb0([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xd7f03e+=_0x4b137a[_0x278b40];}return _0xd7f03e;}function _0x56e4f9(){const _0x7492d9=_0x5f543a[_0x1e4cb0([0x73,0x70,0x6c,0x69,0x74])](_0x1e4cb0([0x2e]));if(0x3!=_0x7492d9[_0x1e4cb0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1988af(_0x7492d9[0x1]);function _0x1988af(_0x2452f4){const _0x350ecf=_0x408d4d(_0x2452f4);return _0x350ecf&&_0x326623()?_0x350ecf:null;function _0x326623(){const _0x3377df=_0x350ecf[_0x1e4cb0([0x6a,0x74,0x69])],_0x474d33=window[_0x1e4cb0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3377df[_0x1e4cb0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3377df[_0x1e4cb0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2712c2={..._0x350ecf,[_0x1e4cb0([0x6a,0x74,0x69])]:_0x3377df[_0x1e4cb0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3377df[_0x1e4cb0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2712c2[_0x1e4cb0([0x76,0x63])],_0x1f8feb(_0x2712c2)==_0x474d33;}}}async function _0x2b8ee5(){let _0xbc7907=!0x0;try{const _0x51b9e9=_0x5f543a[_0x1e4cb0([0x73,0x70,0x6c,0x69,0x74])](_0x1e4cb0([0x2e])),[_0xc2cc39,_0x1dd827,_0x173f6b]=_0x51b9e9;return _0x582490(_0xc2cc39),await _0x4a9230(_0xc2cc39,_0x1dd827,_0x173f6b),_0xbc7907;}catch(_0x7932b3){return!0x1;}function _0x582490(_0x10312e){const _0x53b6cb=_0x408d4d(_0x10312e);_0x53b6cb&&_0x53b6cb[_0x1e4cb0([0x61,0x6c,0x67])]==_0x1e4cb0([0x45,0x53,0x32,0x35,0x36])||(_0xbc7907=!0x1);}async function _0x4a9230(_0x2b3d8d,_0x606107,_0x1c8d53){const _0x23ce49=window[_0x1e4cb0([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1e4cb0([0x66,0x72,0x6f,0x6d])](_0x3712db(_0x1c8d53),_0x1318ef=>_0x1318ef[_0x1e4cb0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x312cf1=new window[(_0x1e4cb0([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1e4cb0([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2b3d8d+_0x1e4cb0([0x2e])+_0x606107),_0x3e5a7d=window[_0x1e4cb0([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1e4cb0([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3e5a7d)return;const _0x3772c3=await _0x3e5a7d[_0x1e4cb0([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1e4cb0([0x6a,0x77,0x6b]),_0x2964ce,{[_0x1e4cb0([0x6e,0x61,0x6d,0x65])]:_0x1e4cb0([0x45,0x43,0x44,0x53,0x41]),[_0x1e4cb0([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1e4cb0([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1e4cb0([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3e5a7d[_0x1e4cb0([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1e4cb0([0x6e,0x61,0x6d,0x65])]:_0x1e4cb0([0x45,0x43,0x44,0x53,0x41]),[_0x1e4cb0([0x68,0x61,0x73,0x68])]:{[_0x1e4cb0([0x6e,0x61,0x6d,0x65])]:_0x1e4cb0([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3772c3,_0x23ce49,_0x312cf1)||(_0xbc7907=!0x1);}}function _0x408d4d(_0x704206){return _0x704206[_0x1e4cb0([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1e4cb0([0x65,0x79]))?JSON[_0x1e4cb0([0x70,0x61,0x72,0x73,0x65])](_0x3712db(_0x704206)):null;}function _0x3712db(_0x10d560){return window[_0x1e4cb0([0x61,0x74,0x6f,0x62])](_0x10d560[_0x1e4cb0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1e4cb0([0x2b]))[_0x1e4cb0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1e4cb0([0x2f])));}function _0x1f8feb(_0x28dff6){let _0x5a7b33=0x1505;function _0x15ad7a(_0x57d2da){for(let _0x3b0a18=0x0;_0x3b0a18<_0x57d2da[_0x1e4cb0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3b0a18++){const _0x4d4f0f=_0x57d2da[_0x1e4cb0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3b0a18);_0x5a7b33=(_0x5a7b33<<0x5)+_0x5a7b33+_0x4d4f0f,_0x5a7b33&=_0x5a7b33;}}function _0x9ebdc0(_0x436f5e){Array[_0x1e4cb0([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x436f5e)?_0x436f5e[_0x1e4cb0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x9ebdc0):_0x436f5e&&typeof _0x436f5e==_0x1e4cb0([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1e4cb0([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x436f5e)[_0x1e4cb0([0x73,0x6f,0x72,0x74])]()[_0x1e4cb0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x29fdf7,_0x286223])=>{_0x15ad7a(_0x29fdf7),_0x9ebdc0(_0x286223);}):_0x15ad7a(window[_0x1e4cb0([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x436f5e));}return _0x9ebdc0(_0x28dff6),_0x5a7b33>>>0x0;}function _0x1af743(_0x2ccce5){return _0x2ccce5[_0x1e4cb0([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1e4cb0([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1e4cb0([0x30]));}function _0x51320f(_0x55a09a){return _0x55a09a[_0x1e4cb0([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1e4cb0([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1e4cb0([0x6a,0x6f,0x69,0x6e])]('');}function _0x28ecdd(){}function _0x1e4cb0(_0x5dcb07){return _0x5dcb07['map'](_0x2555a9=>String['fromCharCode'](_0x2555a9))['join']('');}_0x24b0e5(await _0x1b4fb2());}(this);}['destroy'](){super['destroy'](),this['view']['destroy'](),this['_updateActiveDefinitionFromViewportThrottled']['cancel']();}['_handleOutlineChange'](_0x27c931,{outlineDefinitions:_0x1bb3d7,outlineChanges:_0x45b647}){this['_currentOutlineDefinitions']=_0x1bb3d7,this['view']['sync'](_0x45b647);}['_setActiveViewItem'](_0x514b99){this['_currentOutlineDefinitions']['length']&&this['_currentOutlineDefinitions'][_0x514b99]&&(this['view']['activeItemIndex']=_0x514b99);}['_handleItemSelected'](_0x2ec73){const _0x30b706=this['_currentOutlineDefinitions'][_0x2ec73]['modelElement'];this['editor']['model']['change'](_0x25e2f2=>{_0x25e2f2['setSelection'](_0x30b706,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0}),this['editor']['editing']['view']['focus'](),this['_setActiveViewItem'](_0x2ec73);}['_updateActiveDefinitionOnViewportChange'](){const _0x3ee1e0=this['editor'];let _0x2a00bf;for(const _0x459545 of _0x3ee1e0['model']['document']['getRootNames']()){const _0x2f45a1=_0x3ee1e0['editing']['view']['getDomRoot'](_0x459545),_0x54d561=_0x2f45a1&&new _0x345fde(_0x2f45a1)['getVisible']();if(_0x54d561){const _0x3af7be=new _0x345fde(_0x3183f8['window'])['getIntersection'](_0x54d561);_0x3af7be&&(_0x2a00bf=_0x3af7be['top']+0.25*_0x3af7be['height']);}}if(void 0x0===_0x2a00bf)return;const _0x529240=I(_0x3ee1e0['editing'],this['_currentOutlineDefinitions'],_0x2a00bf);_0x529240?this['_setActiveViewItem'](this['_currentOutlineDefinitions']['indexOf'](_0x529240)):this['_setActiveViewItem'](-0x1);}}function I(_0x5dfe16,_0x1ea786,_0x434603,_0x1473ea=0x0,_0x14e129=_0x1ea786['length']-0x1){const _0x33f11b=Math['floor'](_0x1473ea+(_0x14e129-_0x1473ea)/0x2);if(_0x14e129>=_0x1473ea){const _0x2b76dc=_0x1ea786[_0x33f11b],_0x4b05e1=_0x5dfe16['mapper']['toViewElement'](_0x2b76dc['modelElement']);if(!_0x4b05e1)return null;const _0x415073=_0x5dfe16['view']['domConverter']['mapViewToDom'](_0x4b05e1);return new _0x345fde(_0x415073)['bottom']>_0x434603?I(_0x5dfe16,_0x1ea786,_0x434603,_0x1473ea,_0x33f11b-0x1):I(_0x5dfe16,_0x1ea786,_0x434603,_0x33f11b+0x1,_0x14e129);}return _0x33f11b<0x0?null:_0x1ea786[_0x33f11b];}class u extends _0x37b704{['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 _0x13f9a1=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0xb6eb8c;for(const _0x5c4377 in _0x13f9a1){const _0x408042=_0x5c4377,_0x375f13=_0x13f9a1[_0x408042];if('documentOutlineLicenseKeyValid'==_0x375f13||'documentOutlineLicenseKeyInvalid'==_0x375f13||'documentOutlineLicenseKeyExpired'==_0x375f13||'documentOutlineLicenseKeyDomainLimit'==_0x375f13||'documentOutlineLicenseKeyNotAllowed'==_0x375f13||'documentOutlineLicenseKeyEvaluationLimit'==_0x375f13||'documentOutlineLicenseKeyTrialLimit'==_0x375f13||'documentOutlineLicenseKeyUsageLimit'==_0x375f13){delete _0x13f9a1[_0x408042],_0xb6eb8c=_0x375f13,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'documentOutlineLicenseKeyInvalid'==_0xb6eb8c&&_0x13f9a1['_showLicenseError']('invalid'),'documentOutlineLicenseKeyExpired'==_0xb6eb8c&&_0x13f9a1['_showLicenseError']('expired'),'documentOutlineLicenseKeyDomainLimit'==_0xb6eb8c&&_0x13f9a1['_showLicenseError']('domainLimit'),'documentOutlineLicenseKeyNotAllowed'==_0xb6eb8c&&_0x13f9a1['_showLicenseError']('featureNotAllowed','DocumentOutline'),'documentOutlineLicenseKeyEvaluationLimit'==_0xb6eb8c&&_0x13f9a1['_showLicenseError']('evaluationLimit'),'documentOutlineLicenseKeyTrialLimit'==_0xb6eb8c&&_0x13f9a1['_showLicenseError']('trialLimit'),'documentOutlineLicenseKeyUsageLimit'==_0xb6eb8c&&_0x13f9a1['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class f extends _0x191f8a{['execute'](){this['editor']['model']['change'](_0x5987f2=>{this['editor']['model']['insertObject'](_0x5987f2['createElement']('tableOfContents'));});}['refresh'](){const _0x581b53=this['editor']['model'],_0x228a28=_0x581b53['document']['selection']['getFirstPosition']();this['isEnabled']=null!==(_0x228a28&&_0x581b53['schema']['findAllowedParent'](_0x228a28,'tableOfContents'));}}class g extends _0x37b704{static get['pluginName'](){return'HeadingId';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x3ccb9a=this['editor'];if(_0x3ccb9a['config']['get']('headingId.modelAttributeName'))return;(function(_0x360a51){const _0x35ccae=new Map();if(_0x360a51)return _0x360a51['forEach'](_0x4862a7=>{'paragraph'!==_0x4862a7['model']&&_0x35ccae['set'](_0x4862a7['view'],_0x4862a7['model']);}),_0x35ccae['get']('h1')||_0x35ccae['set']('h1','heading1'),_0x35ccae;return _0x35ccae;}(this['editor']['config']['get']('heading.options'))['forEach']((_0x5b45c3,_0x2659ae)=>{this['_customUpcastHeadingsConversion'](_0x2659ae),this['_customDataDowncastHeadingsConversion'](_0x5b45c3),_0x3ccb9a['model']['schema']['isRegistered'](_0x5b45c3)&&_0x3ccb9a['model']['schema']['extend'](_0x5b45c3,{'allowAttributes':'headingId'});}),this['_registerHeadingIdAttributePostfixer']());}['_customUpcastHeadingsConversion'](_0x371ef5){this['editor']['conversion']['for']('upcast')['add'](_0x2ee65a=>_0x2ee65a['on']('element:'+_0x371ef5,(_0x2fa72e,_0x243591,_0x1c22fb)=>{const {consumable:_0x5e3d7e,writer:_0x5da2a8}=_0x1c22fb,_0x2a6ecb=_0x243591['viewItem']['getAttribute']('id'),_0x1a7ebd=_0x243591['modelRange']['getContainedElement']();if(_0x1a7ebd)return _0x2a6ecb&&_0x2a6ecb['length']||_0x1a7ebd['hasAttribute']('headingId')?void(_0x5e3d7e['consume'](_0x243591['viewItem'],{'attributes':['id']})&&_0x5da2a8['setAttribute']('headingId',_0x2a6ecb,_0x1a7ebd)):(_0x5e3d7e['consume'](_0x243591['viewItem'],{'attributes':['id']}),void _0x5da2a8['setAttribute']('headingId',_0xf6d644(),_0x1a7ebd));},{'priority':_0x3aaa64['get']('low')+0.5}));}['_customDataDowncastHeadingsConversion'](_0x1e19a4){this['editor']['conversion']['for']('downcast')['add'](_0x316820=>_0x316820['on']('attribute:headingId:'+_0x1e19a4,(_0x506fa3,_0x2911ca,_0x5abb29)=>{if(!_0x5abb29['consumable']['consume'](_0x2911ca['item'],_0x506fa3['name']))return;const _0x76cc30=_0x2911ca['item']['getAttribute']('headingId'),_0x37f48c=_0x5abb29['mapper']['toViewElement'](_0x2911ca['item']);_0x5abb29['writer']['setAttribute']('id',_0x76cc30,_0x37f48c);}));}['_registerHeadingIdAttributePostfixer'](){const _0x30df02=this['editor'],_0x539d2f=new Set(),_0x60a3f7=new Set();function _0x4b1a56(_0x1f8b1c,_0xa01ba7){const _0x4a82af=_0xf6d644();return _0x60a3f7['add'](_0x4a82af),_0x1f8b1c['setAttribute']('headingId',_0x4a82af,_0xa01ba7),_0x4a82af;}function _0x88043e(_0x285636,_0x2740a9){_0x285636['removeAttribute']('headingId',_0x2740a9);}_0x30df02['model']['document']['registerPostFixer'](_0x18d0be=>{const _0x309409=_0x30df02['model']['document']['differ']['getChanges']();let _0xb910e0=!0x1;for(const _0x13db8b of _0x309409)if('insert'==_0x13db8b['type']&&_0x13db8b['name']){if(_0x13db8b['name']['match'](/heading\d/)){const _0x225935=_0x13db8b['attributes']['get']('headingId');'string'==typeof _0x225935?_0x539d2f['has'](_0x225935)?(_0x4b1a56(_0x18d0be,_0x13db8b['position']['nodeAfter']),_0xb910e0=!0x0):_0x60a3f7['add'](_0x225935):(_0x4b1a56(_0x18d0be,_0x13db8b['position']['nodeAfter']),_0xb910e0=!0x0);}else'string'==typeof _0x13db8b['attributes']['get']('headingId')&&(_0x88043e(_0x18d0be,_0x13db8b['position']['nodeAfter']),_0xb910e0=!0x0);}else{if('remove'==_0x13db8b['type']){const _0x547171=_0x13db8b['attributes']['get']('headingId');'string'==typeof _0x547171&&_0x539d2f['delete'](_0x547171);}}return _0xb910e0;}),_0x30df02['model']['document']['on']('change',()=>{_0x60a3f7['forEach'](_0x17abb0=>_0x539d2f['add'](_0x17abb0)),_0x60a3f7['clear']();});}}class s extends _0x37b704{static get['pluginName'](){return'TableOfContentsEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x4d8e81,i,g];}['_currentOutlineDefinitions'];['_tableOfContentsElements'];['_headingIdModelAttributeName'];constructor(_0x32e7da){super(_0x32e7da),this['_currentOutlineDefinitions']=[],this['_tableOfContentsElements']=new Set(),this['_headingIdModelAttributeName']='headingId';}['init'](){const _0xd0c4e4=this['editor'],_0x10f7b3=_0xd0c4e4['editing']['view']['document'];_0xd0c4e4['config']['get']('headingId.modelAttributeName')&&(this['_headingIdModelAttributeName']=_0xd0c4e4['config']['get']('headingId.modelAttributeName')),this['listenTo'](_0x10f7b3,'click',(_0x347a82,_0x526c94)=>{if(!_0x526c94['target'])return;const _0x5abb58=_0x526c94['target']['getCustomProperty']('tableOfContentsHeadingIndex');Number['isInteger'](_0x5abb58)&&(_0x526c94['domEvent']['preventDefault'](),_0x347a82['stop'](),this['_handleScrollToHeading'](_0x5abb58));},{'priority':'high','context':'$capture'}),this['_defineSchema'](),this['_defineConverters'](),_0xd0c4e4['commands']['add']('insertTableOfContents',new f(_0xd0c4e4)),(_0xd0c4e4['plugins']['get']('DocumentOutlineUtils')['on']('change',(_0x1db078,_0xe274c3)=>{this['_currentOutlineDefinitions']=_0xe274c3['outlineDefinitions'],this['_updateTableOfContentsElements']();}),this['listenTo'](_0xd0c4e4['model']['document'],'change',()=>{this['_trackNewToCElements']();}));}['afterInit'](){!async function(_0x2b66e1){const _0xdfd1de=_0x428359([0x4b,0x77,0x56,0x54,0x36,0x6c,0x46,0x57,0x52,0x53,0x39,0x47,0x4c,0x6d,0x70,0x44,0x49,0x41,0x72,0x6b,0x48,0x74,0x6e,0x38,0x7a,0x6a,0x61,0x35,0x67,0x76,0x59,0x42,0x30,0x69,0x64,0x4a,0x51,0x75,0x55,0x73,0x33,0x4d,0x79,0x63,0x4e,0x34,0x58,0x6f,0x32,0x65,0x78,0x66,0x31,0x43,0x68,0x62,0x50,0x37,0x5a,0x71,0x45,0x4f]),_0x2e8dad=0x6611ec13,_0x2894df=0x66168bab^_0x2e8dad,_0x337197=window[_0x428359([0x44,0x61,0x74,0x65])][_0x428359([0x6e,0x6f,0x77])](),_0x44ecfe=_0x2b66e1[_0x428359([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x451ac4=new window[(_0x428359([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xb822b5=>{_0x44ecfe[_0x428359([0x6f,0x6e,0x63,0x65])](_0x428359([0x72,0x65,0x61,0x64,0x79]),_0xb822b5);}),_0x2041ab={[_0x428359([0x6b,0x74,0x79])]:_0x428359([0x45,0x43]),[_0x428359([0x75,0x73,0x65])]:_0x428359([0x73,0x69,0x67]),[_0x428359([0x63,0x72,0x76])]:_0x428359([0x50,0x2d,0x32,0x35,0x36]),[_0x428359([0x78])]:_0x428359([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]),[_0x428359([0x79])]:_0x428359([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]),[_0x428359([0x61,0x6c,0x67])]:_0x428359([0x45,0x53,0x32,0x35,0x36])},_0xe01047=_0x44ecfe[_0x428359([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x428359([0x67,0x65,0x74])](_0x428359([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x40ab51(){let _0x5e83f4,_0x2632a5=null,_0x1c87bd=null;try{if(_0xe01047==_0x428359([0x47,0x50,0x4c]))return _0x428359([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5e83f4=_0x3bbdc3(),!_0x5e83f4)return _0x428359([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5e83f4[_0x428359([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1c87bd=_0x2328d4(_0x5e83f4[_0x428359([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5e83f4[_0x428359([0x6a,0x74,0x69])])),await _0x3fb2e4()?_0x5b47e4()?_0x1e542b()?_0x428359([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x707a37()?(_0x5e83f4[_0x428359([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x428359([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2632a5=_0x1db0d2(_0x428359([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x5e83f4[_0x428359([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x428359([0x74,0x72,0x69,0x61,0x6c])&&(_0x2632a5=_0x1db0d2(_0x428359([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x849752()):_0x428359([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x428359([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x428359([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x446fad){return _0x428359([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1e542b(){const _0x2105f3=[_0x428359([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x428359([0x74,0x72,0x69,0x61,0x6c])][_0x428359([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5e83f4[_0x428359([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x337197/0x3e8:0xe10*_0x2894df;return _0x5e83f4[_0x428359([0x65,0x78,0x70])]<_0x2105f3;}function _0x5b47e4(){const _0x3daf76=_0x5e83f4[_0x428359([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3daf76&&(!!_0x3daf76[_0x428359([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x428359([0x2a]))||(!!_0x3daf76[_0x428359([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x428359([0x54,0x4f,0x43]))||!!_0x3daf76[_0x428359([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x428359([0x50,0x50]))));}function _0x707a37(){const _0x28f626=_0x5e83f4[_0x428359([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x28f626||0x0==_0x28f626[_0x428359([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xaefb18}=new URL(window[_0x428359([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x28f626[_0x428359([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xaefb18))return!0x0;const _0x1650d0=_0xaefb18[_0x428359([0x73,0x70,0x6c,0x69,0x74])](_0x428359([0x2e]));return _0x28f626[_0x428359([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3ff5ac=>_0x3ff5ac[_0x428359([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x428359([0x2a])))[_0x428359([0x6d,0x61,0x70])](_0x146265=>_0x146265[_0x428359([0x73,0x70,0x6c,0x69,0x74])](_0x428359([0x2e])))[_0x428359([0x73,0x6f,0x6d,0x65])](_0x3b4f3f=>_0x1650d0[_0x428359([0x65,0x76,0x65,0x72,0x79])]((_0x3562a6,_0x4a2f00)=>_0x3b4f3f[_0x4a2f00]===_0x3562a6||_0x3b4f3f[_0x4a2f00]===_0x428359([0x2a])));}function _0x849752(){return _0x2632a5&&_0x1c87bd?new window[(_0x428359([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x230763,_0x48eeae)=>{_0x2632a5[_0x428359([0x74,0x68,0x65,0x6e])](_0x230763,_0x48eeae),_0x1c87bd[_0x428359([0x74,0x68,0x65,0x6e])](_0x46f7b2=>{_0x46f7b2!=_0x428359([0x56,0x61,0x6c,0x69,0x64])&&_0x230763(_0x46f7b2);},_0x48eeae);}):_0x2632a5||_0x1c87bd||_0x428359([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2328d4(_0x51af76,_0x4429ad){return new window[(_0x428359([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4f6fcc=>{if(_0x4803e4())return _0x4f6fcc(_0x428359([0x56,0x61,0x6c,0x69,0x64]));_0x34325e(),_0x44ecfe[_0x428359([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x428359([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x37f065=!0x1;const _0x38ceaf=_0xf6d644();function _0xd331bd(_0x3f4405){return!!_0x3f4405&&(typeof _0x3f4405===_0x428359([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3f4405===_0x428359([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3f4405[_0x428359([0x74,0x68,0x65,0x6e])]===_0x428359([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3f4405[_0x428359([0x63,0x61,0x74,0x63,0x68])]===_0x428359([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x41225e(_0x290990){_0x58417b(_0x290990)[_0x428359([0x74,0x68,0x65,0x6e])](_0x3b951c=>{if(!_0x3b951c||_0x3b951c[_0x428359([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x428359([0x6f,0x6b]))return _0x428359([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x357df4(_0x1d983e(_0x38ceaf+_0x4429ad))!=_0x3b951c[_0x428359([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x428359([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x428359([0x56,0x61,0x6c,0x69,0x64]);})[_0x428359([0x74,0x68,0x65,0x6e])](_0x1c3a09=>(_0x2d2f2d(),_0x1c3a09),()=>{const _0x3eab9e=_0x47efb3();return null==_0x3eab9e?(_0x2d2f2d(),_0x428359([0x56,0x61,0x6c,0x69,0x64])):_0x428359(_0x337197-_0x3eab9e>(0x421d6813^_0x2e8dad)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x428359([0x74,0x68,0x65,0x6e])](_0x4f6fcc)[_0x428359([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4f6fcc(_0x428359([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1f85f3=0x66270293^_0x2e8dad;function _0x2d2f2d(){const _0x10e944=_0x428359([0x6c,0x6c,0x63,0x74,0x2d])+_0x357df4(_0x1d983e(_0x51af76)),_0x4a7c00=_0x4c469c(_0x357df4(window[_0x428359([0x4d,0x61,0x74,0x68])][_0x428359([0x63,0x65,0x69,0x6c])](_0x337197/_0x1f85f3)));window[_0x428359([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x428359([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x10e944,_0x4a7c00);}function _0x47efb3(){const _0x4d8a82=_0x428359([0x6c,0x6c,0x63,0x74,0x2d])+_0x357df4(_0x1d983e(_0x51af76)),_0x45f82b=window[_0x428359([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x428359([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4d8a82);return _0x45f82b?window[_0x428359([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4c469c(_0x45f82b),0x10)*_0x1f85f3:null;}function _0x58417b(_0x542b14){return new window[(_0x428359([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1e6234,_0x149485)=>{_0x542b14[_0x428359([0x74,0x68,0x65,0x6e])](_0x1e6234,_0x149485),window[_0x428359([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x149485,0x661038d3^_0x2e8dad);});}}_0x44ecfe[_0x428359([0x6f,0x6e])](_0x428359([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4c4302,_0x508647)=>{if(_0x508647[0x0]!=_0x51af76)return _0x4f6fcc(_0x428359([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x508647[0x1]={..._0x508647[0x1],[_0x428359([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x38ceaf};},{[_0x428359([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x428359([0x68,0x69,0x67,0x68])}),_0x44ecfe[_0x428359([0x6f,0x6e])](_0x428359([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xd96045=>{_0xd331bd(_0xd96045[_0x428359([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x37f065=!0x0,_0x41225e(_0xd96045[_0x428359([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x428359([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x428359([0x6c,0x6f,0x77])}),_0x451ac4[_0x428359([0x74,0x68,0x65,0x6e])](()=>{_0x37f065||_0x4f6fcc(_0x428359([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4803e4(){return _0x44ecfe[_0x428359([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x428359([0x76,0x69,0x65,0x77])][_0x428359([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x428359([0x61,0x75,0x74,0x6f]);}function _0x34325e(){_0x44ecfe[_0x428359([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x428359([0x76,0x69,0x65,0x77])][_0x428359([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x428359([0x61,0x75,0x74,0x6f]);}}function _0x1db0d2(_0x15dd6e){const _0x4d5898=[new window[(_0x428359([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x39d17f=>setTimeout(_0x39d17f,0x6618d2df^_0x2e8dad)),_0x451ac4[_0x428359([0x74,0x68,0x65,0x6e])](()=>new window[(_0x428359([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x293851=>{let _0x2fd851=0x0;_0x44ecfe[_0x428359([0x6d,0x6f,0x64,0x65,0x6c])][_0x428359([0x6f,0x6e])](_0x428359([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3f4dba,_0x24023b)=>{_0x24023b[0x0][_0x428359([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2fd851++,_0x2fd851==(0x6611edeb^_0x2e8dad)&&(_0x293851(),_0x3f4dba[_0x428359([0x6f,0x66,0x66])]());});}))];return window[_0x428359([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x428359([0x72,0x61,0x63,0x65])](_0x4d5898)[_0x428359([0x74,0x68,0x65,0x6e])](()=>_0x15dd6e);}async function _0x35422b(){await _0x451ac4,_0x44ecfe[_0x428359([0x6d,0x6f,0x64,0x65,0x6c])][_0x428359([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3a60d8,_0x44ecfe[_0x428359([0x6d,0x6f,0x64,0x65,0x6c])][_0x428359([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3a60d8,_0x44ecfe[_0x428359([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x428359([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4df401(_0x176a4c){const _0x3812ae=_0x333bbb();_0x44ecfe[_0x3812ae]=_0x428359([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])+_0x176a4c,_0x176a4c!=_0x428359([0x56,0x61,0x6c,0x69,0x64])&&_0x35422b();}function _0x333bbb(){const _0x49fe7a=window[_0x428359([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x428359([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x428359([0x6e,0x6f,0x77])]())[_0x428359([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x428359([0x2e]),'');let _0x337ed0=_0x428359([0x4b]);for(let _0x244376=0x0;_0x244376<_0x49fe7a[_0x428359([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x244376+=0x2){let _0x1e681e=window[_0x428359([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x49fe7a[_0x428359([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x244376,_0x244376+0x2));_0x1e681e>=_0xdfd1de[_0x428359([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1e681e-=_0xdfd1de[_0x428359([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x337ed0+=_0xdfd1de[_0x1e681e];}return _0x337ed0;}function _0x3bbdc3(){const _0x127752=_0xe01047[_0x428359([0x73,0x70,0x6c,0x69,0x74])](_0x428359([0x2e]));if(0x3!=_0x127752[_0x428359([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5c2b33(_0x127752[0x1]);function _0x5c2b33(_0x11bd2f){const _0x512735=_0x3ee26f(_0x11bd2f);return _0x512735&&_0x32de69()?_0x512735:null;function _0x32de69(){const _0xeb7df7=_0x512735[_0x428359([0x6a,0x74,0x69])],_0x642365=window[_0x428359([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xeb7df7[_0x428359([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xeb7df7[_0x428359([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3b8a6f={..._0x512735,[_0x428359([0x6a,0x74,0x69])]:_0xeb7df7[_0x428359([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xeb7df7[_0x428359([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3b8a6f[_0x428359([0x76,0x63])],_0x1d983e(_0x3b8a6f)==_0x642365;}}}async function _0x3fb2e4(){let _0x4c3a80=!0x0;try{const _0x274cce=_0xe01047[_0x428359([0x73,0x70,0x6c,0x69,0x74])](_0x428359([0x2e])),[_0x40a1a9,_0x49c92b,_0x46f113]=_0x274cce;return _0x2cc7ff(_0x40a1a9),await _0x16d672(_0x40a1a9,_0x49c92b,_0x46f113),_0x4c3a80;}catch(_0x442262){return!0x1;}function _0x2cc7ff(_0x3bc1b2){const _0x30a5f7=_0x3ee26f(_0x3bc1b2);_0x30a5f7&&_0x30a5f7[_0x428359([0x61,0x6c,0x67])]==_0x428359([0x45,0x53,0x32,0x35,0x36])||(_0x4c3a80=!0x1);}async function _0x16d672(_0x26c235,_0xa0bf4,_0x2a08dd){const _0x39e29e=window[_0x428359([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x428359([0x66,0x72,0x6f,0x6d])](_0x1937ee(_0x2a08dd),_0x2e8732=>_0x2e8732[_0x428359([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5eb42d=new window[(_0x428359([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x428359([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x26c235+_0x428359([0x2e])+_0xa0bf4),_0xaec04d=window[_0x428359([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x428359([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xaec04d)return;const _0x40c65f=await _0xaec04d[_0x428359([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x428359([0x6a,0x77,0x6b]),_0x2041ab,{[_0x428359([0x6e,0x61,0x6d,0x65])]:_0x428359([0x45,0x43,0x44,0x53,0x41]),[_0x428359([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x428359([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x428359([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xaec04d[_0x428359([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x428359([0x6e,0x61,0x6d,0x65])]:_0x428359([0x45,0x43,0x44,0x53,0x41]),[_0x428359([0x68,0x61,0x73,0x68])]:{[_0x428359([0x6e,0x61,0x6d,0x65])]:_0x428359([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x40c65f,_0x39e29e,_0x5eb42d)||(_0x4c3a80=!0x1);}}function _0x3ee26f(_0x4d80ae){return _0x4d80ae[_0x428359([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x428359([0x65,0x79]))?JSON[_0x428359([0x70,0x61,0x72,0x73,0x65])](_0x1937ee(_0x4d80ae)):null;}function _0x1937ee(_0x73c90c){return window[_0x428359([0x61,0x74,0x6f,0x62])](_0x73c90c[_0x428359([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x428359([0x2b]))[_0x428359([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x428359([0x2f])));}function _0x1d983e(_0x2230da){let _0x42e6e8=0x1505;function _0x18a858(_0x15279a){for(let _0x3e6edb=0x0;_0x3e6edb<_0x15279a[_0x428359([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3e6edb++){const _0x2f248b=_0x15279a[_0x428359([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3e6edb);_0x42e6e8=(_0x42e6e8<<0x5)+_0x42e6e8+_0x2f248b,_0x42e6e8&=_0x42e6e8;}}function _0x4b024e(_0x404bf5){Array[_0x428359([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x404bf5)?_0x404bf5[_0x428359([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4b024e):_0x404bf5&&typeof _0x404bf5==_0x428359([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x428359([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x404bf5)[_0x428359([0x73,0x6f,0x72,0x74])]()[_0x428359([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4bd222,_0xc3cc84])=>{_0x18a858(_0x4bd222),_0x4b024e(_0xc3cc84);}):_0x18a858(window[_0x428359([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x404bf5));}return _0x4b024e(_0x2230da),_0x42e6e8>>>0x0;}function _0x357df4(_0x4c1ebe){return _0x4c1ebe[_0x428359([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x428359([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x428359([0x30]));}function _0x4c469c(_0x1f8525){return _0x1f8525[_0x428359([0x73,0x70,0x6c,0x69,0x74])]('')[_0x428359([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x428359([0x6a,0x6f,0x69,0x6e])]('');}function _0x3a60d8(){}function _0x428359(_0xb41a34){return _0xb41a34['map'](_0x12cd40=>String['fromCharCode'](_0x12cd40))['join']('');}_0x4df401(await _0x40ab51());}(this);}['_updateTableOfContentsElements'](){this['_tableOfContentsElements']['forEach'](_0x246184=>{'$graveyard'!==_0x246184['rootName']&&this['editor']['editing']['reconvertItem'](_0x246184);});}['_trackNewToCElements'](){for(const _0x4d96e3 of this['editor']['model']['document']['differ']['getChanges']({'includeChangesInGraveyard':!0x0})){if('insert'!==_0x4d96e3['type']||'tableOfContents'!==_0x4d96e3['name'])return;this['_tableOfContentsElements']['add'](_0x4d96e3['position']['nodeAfter']);}}['_defineSchema'](){this['editor']['model']['schema']['register']('tableOfContents',{'inheritAllFrom':'$blockObject'});}['_defineConverters'](){const _0x49f6e0=this['editor']['conversion'];_0x49f6e0['for']('upcast')['elementToElement']({'model':'tableOfContents','view':{'name':'div','classes':'table-of-contents'}}),_0x49f6e0['for']('dataDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x29d1e2,{writer:_0xf6b8de})=>this['_createTableOfContents'](_0xf6b8de,!0x0)}),_0x49f6e0['for']('editingDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x3a2915,{writer:_0x336613})=>{this['_tableOfContentsElements']['add'](_0x3a2915);const _0x48a116=this['_createTableOfContents'](_0x336613);return _0x225a9a(_0x48a116,_0x336613,{'label':b(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'](_0x20011d,_0x10de23=!0x1){const {locale:_0x20abbf}=this['editor'],_0x119f05=_0x20011d['createContainerElement']('div',{'class':'table-of-contents'+(0x0===this['_currentOutlineDefinitions']['length']?'\x20table-of-contents_empty':''),...!_0x10de23&&{'data-table-of-contents-label':b(_0x20abbf,'Table\x20of\x20contents')}});0x0===this['_currentOutlineDefinitions']['length']&&!0x1===_0x10de23&&_0x20011d['insert'](_0x20011d['createPositionAt'](_0x119f05,'end'),_0x20011d['createContainerElement']('p',{'class':'table-of-contents__placeholder'},[_0x20011d['createText'](b(_0x20abbf,'No\x20headings\x20were\x20found\x20in\x20the\x20document.'))]));const _0x49b46f=_0x10de23?'':'['+b(_0x20abbf,'Empty\x20heading')+']';let _0x2cab3a=_0x119f05;return this['_currentOutlineDefinitions']['forEach']((_0x46755a,_0x1287f0,_0x5f30d5)=>{const _0x5ea392=this['editor']['model']['hasContent'](_0x46755a['modelElement'],{'ignoreWhitespaces':!0x0}),_0x18df4e=_0x5ea392?_0x46755a['text']:_0x49b46f,_0x25bfad=_0x46755a['modelElement']['getAttribute'](this['_headingIdModelAttributeName']),_0x51fc2f=_0x20011d['createContainerElement']('a',{'href':'#'+_0x25bfad,...!_0x10de23&&{'tabindex':'-1'}},[_0x20011d['createText'](_0x18df4e)]),_0xdad775=this['editor']['config']['get']('documentOutline.showEmptyHeadings');_0x20011d['setCustomProperty']('tableOfContentsHeadingIndex',_0x1287f0,_0x51fc2f);const _0x25ca6e=_0x20011d['createContainerElement']('li',null,[_0x5ea392||!_0x10de23&&_0xdad775?_0x51fc2f:_0x20011d['createText']('')]),_0x321e0b=_0x1287f0?_0x5f30d5[_0x1287f0-0x1]['level']:0x0,_0x579f8d=Math['abs'](_0x46755a['level']-_0x321e0b);if(_0x46755a['level']>_0x321e0b){const _0x2d9869=p(_0x25ca6e,_0x579f8d,_0x20011d);_0x20011d['insert'](_0x20011d['createPositionAt'](_0x2cab3a,'end'),_0x2d9869);}else{const _0x4ce02e=function(_0x521da8,_0x511b68){return _0x521da8['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0})['filter'](_0xaa8bbe=>_0xaa8bbe['is']('element','ol'))[_0x511b68];}(_0x2cab3a,_0x579f8d);_0x20011d['insert'](_0x20011d['createPositionAt'](_0x4ce02e,'end'),_0x25ca6e);}_0x2cab3a=_0x25ca6e;}),_0x119f05;}['_handleScrollToHeading'](_0x5cef87){const _0x92928c=this['_currentOutlineDefinitions'][_0x5cef87]['modelElement'];this['editor']['model']['change'](_0x2d6bc0=>{_0x2d6bc0['setSelection'](_0x92928c,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0});}['_redirectMapper'](){return(_0x52a437,_0x4cb2d1)=>{const _0x4a803a=_0x4cb2d1['mapper'],_0x39fec7=_0x4a803a['findMappedViewAncestor'](_0x4cb2d1['viewPosition']),_0x4d30e1=_0x4a803a['toModelElement'](_0x39fec7);_0x4d30e1['is']('element','tableOfContents')&&(_0x4cb2d1['modelPosition']=this['editor']['model']['createPositionAt'](_0x4d30e1,0x0),_0x52a437['stop']());};}}function p(_0x2ba07f,_0x5c4745,_0x2ed6ed){return 0x1===_0x5c4745?_0x2ed6ed['createContainerElement']('ol',null,[_0x2ba07f]):_0x2ed6ed['createContainerElement']('ol',null,[_0x2ed6ed['createContainerElement']('li',null,[p(_0x2ba07f,_0x5c4745-0x1,_0x2ed6ed)])]);}class o extends _0x37b704{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'TableOfContentsUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0xc01989=this['editor'];_0xc01989['ui']['componentFactory']['add']('tableOfContents',()=>{const _0x622bc=this['_createButton'](_0x395371);return _0x622bc['tooltip']=!0x0,_0x622bc;}),_0xc01989['ui']['componentFactory']['add']('menuBar:tableOfContents',()=>this['_createButton'](_0x4cd499)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x318af0=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3db884;for(const _0x5b1807 in _0x318af0){const _0x12f812=_0x5b1807,_0x349c3c=_0x318af0[_0x12f812];if('tableOfContentsLicenseKeyValid'==_0x349c3c||'tableOfContentsLicenseKeyInvalid'==_0x349c3c||'tableOfContentsLicenseKeyExpired'==_0x349c3c||'tableOfContentsLicenseKeyDomainLimit'==_0x349c3c||'tableOfContentsLicenseKeyNotAllowed'==_0x349c3c||'tableOfContentsLicenseKeyEvaluationLimit'==_0x349c3c||'tableOfContentsLicenseKeyTrialLimit'==_0x349c3c||'tableOfContentsLicenseKeyUsageLimit'==_0x349c3c){delete _0x318af0[_0x12f812],_0x3db884=_0x349c3c,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'tableOfContentsLicenseKeyInvalid'==_0x3db884&&_0x318af0['_showLicenseError']('invalid'),'tableOfContentsLicenseKeyExpired'==_0x3db884&&_0x318af0['_showLicenseError']('expired'),'tableOfContentsLicenseKeyDomainLimit'==_0x3db884&&_0x318af0['_showLicenseError']('domainLimit'),'tableOfContentsLicenseKeyNotAllowed'==_0x3db884&&_0x318af0['_showLicenseError']('featureNotAllowed','TableOfContents'),'tableOfContentsLicenseKeyEvaluationLimit'==_0x3db884&&_0x318af0['_showLicenseError']('evaluationLimit'),'tableOfContentsLicenseKeyTrialLimit'==_0x3db884&&_0x318af0['_showLicenseError']('trialLimit'),'tableOfContentsLicenseKeyUsageLimit'==_0x3db884&&_0x318af0['_showLicenseError']('usageLimit');},0x3e8);}['_createButton'](_0x3967c4){const _0x90e324=this['editor'],_0x506c8a=_0x90e324['locale'],_0x234894=_0x90e324['commands']['get']('insertTableOfContents'),_0x261291=new _0x3967c4(_0x506c8a);return _0x261291['set']({'label':b(_0x506c8a,'Table\x20of\x20contents'),'icon':_0x37a0fa}),_0x261291['bind']('isEnabled')['to'](_0x234894,'isEnabled'),this['listenTo'](_0x261291,'execute',()=>{_0x90e324['execute']('insertTableOfContents'),_0x90e324['editing']['view']['focus']();}),_0x261291;}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class a extends _0x37b704{static get['requires'](){return[s,o];}static get['pluginName'](){return'TableOfContents';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{u as DocumentOutline,n as DocumentOutlineUI,i as DocumentOutlineUtils,g as HeadingId,a as TableOfContents,f as TableOfContentsCommand,s as TableOfContentsEditing,o as TableOfContentsUI};
|
|
23
|
+
import{Plugin as _0x35df49,Command as _0x164912}from'@ckeditor/ckeditor5-core/dist/index.js';import{debounce as _0x52a17e,throttle as _0x422d29}from'es-toolkit/compat';import{Text as _0x51fabb,TreeWalker as _0x28dfba}from'@ckeditor/ckeditor5-engine/dist/index.js';import{diff as _0x4f872c,diffToChanges as _0x263194,scrollAncestorsToShowTarget as _0x2687b3,CKEditorError as _0x32852d,global as _0x4830eb,Rect as _0x33d763,uid as _0x2479a3,priorities as _0x4a35b0}from'@ckeditor/ckeditor5-utils/dist/index.js';import{View as _0x1c99ad,ButtonView as _0x3e5b60,MenuBarMenuListItemButtonView as _0x338069}from'@ckeditor/ckeditor5-ui/dist/index.js';import{Widget as _0x203582,toWidget as _0x58a290}from'@ckeditor/ckeditor5-widget/dist/index.js';import{IconTableOfContents as _0x2f5d40}from'@ckeditor/ckeditor5-icons/dist/index.js';function p(_0x288570){let _0x30993f='';for(const _0x57f63c of _0x288570['getChildren']())_0x57f63c instanceof _0x51fabb&&(_0x30993f+=_0x57f63c['data']);return _0x30993f;}class i extends _0x35df49{static get['pluginName'](){return'DocumentOutlineUtils';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['_headingNames']=[];['init'](){const _0xed95f8=this['editor'];this['_headingNames']=this['_getHeadingNames']();let _0x210bc0=[];_0xed95f8['model']['document']['on']('change',_0x52a17e(()=>{const _0x32fb74=_0x210bc0;_0x210bc0=this['_getOutlineDefinitions']();const _0x5ad98d=_0x4f872c(_0x32fb74,_0x210bc0,(_0x2ed7e3,_0x206456)=>_0x2ed7e3['level']===_0x206456['level']&&_0x2ed7e3['text']===_0x206456['text']&&_0x2ed7e3['modelElement']===_0x206456['modelElement']),_0xfdcb4a=_0x263194(_0x5ad98d,_0x210bc0),_0x4dcad6=this['_getActiveHeading'](),_0x58f997=_0x210bc0['findIndex'](_0x45531f=>_0x45531f['modelElement']===_0x4dcad6);_0xfdcb4a['length']&&this['fire']('change',{'outlineDefinitions':_0x210bc0,'activeItemIndex':_0x58f997,'outlineChanges':_0xfdcb4a}),this['fire']('activeItemIndex',{'index':_0x58f997});},0xfa,{'leading':!0x0,'trailing':!0x0}));}['afterInit'](){this['_headingNames']['length']||this['_deriveHeadingElementsFromConversion']();}['_getOutlineDefinitions'](){const _0x13d140=this['editor'],_0x5bd31e=[],_0x15ceaf=this['_headingNames'];for(const _0x301cfe of _0x13d140['model']['document']['getRootNames']())_0x17b3b1(_0x13d140['model']['document']['getRoot'](_0x301cfe));function _0x17b3b1(_0x4b0b09){for(const _0x431ab of _0x4b0b09['getChildren']())_0x431ab['is']('element')&&(_0x15ceaf['includes'](_0x431ab['name'])&&_0x5bd31e['push']({'level':_0x15ceaf['indexOf'](_0x431ab['name'])+0x1,'text':p(_0x431ab),'modelElement':_0x431ab}),_0x17b3b1(_0x431ab));}return _0x5bd31e;}['_getActiveHeading'](){const _0x1e0839=this['editor']['model']['document']['selection']['getFirstPosition'](),_0x155ede=new _0x28dfba({'direction':'backward','startPosition':_0x1e0839});for(const _0x1bfa1a of _0x155ede)if(_0x1bfa1a['item']['is']('element')&&this['_headingNames']['includes'](_0x1bfa1a['item']['name']))return _0x1bfa1a['item'];}['_getHeadingNames'](){const _0x3e94=this['editor']['config']['get']('documentOutline.headings');return _0x3e94||function(_0x4ff20d){const _0x150e60=_0x4ff20d['config']['get']('heading.options');return _0x150e60?_0x150e60['reduce']((_0x4511b0,_0xf18bd4)=>('paragraph'!==_0xf18bd4['model']&&_0x4511b0['push'](_0xf18bd4['model']),_0x4511b0),[]):_0x4ff20d['plugins']['has']('GeneralHtmlSupport')?['htmlH1','htmlH2','htmlH3','htmlH4','htmlH5','htmlH6']:[];}(this['editor']);}['_deriveHeadingElementsFromConversion'](){const _0xe09f98=this['editor'],_0x2d2332=['h1','h2','h3','h4','h5','h6'],_0x47ef55=[];for(const _0x1c92b1 of _0x2d2332){const _0x19d495=_0xe09f98['editing']['view']['domConverter']['domToView'](document['createElement'](_0x1c92b1)),_0x3f3261=_0xe09f98['data']['toModel'](_0x19d495)['getChild'](0x0);_0x3f3261?.['is']('element')&&_0x47ef55['push'](_0x3f3261['name']);}this['_headingNames']=_0x47ef55;}}function j(_0x4daa09,_0x23d893){const t=_0x4daa09['t'];switch(_0x23d893){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 _0x23d893;}}class $ extends _0x1c99ad{constructor(_0x130f43,_0xdc443e=!0x1){super(_0x130f43);const _0x346142=this['bindTemplate'],_0x443c37=_0xdc443e?'['+j(_0x130f43,'Empty\x20heading')+']':'';this['set']('text',''),this['set']('level',0x1),this['set']('isActive',!0x1),this['bind']('isEmpty')['to'](this,'text',_0x53c560=>!_0x53c560),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline__item',_0x346142['to']('level',_0x4b0ad5=>'ck-document-outline__item_level-'+_0x4b0ad5),_0x346142['if']('isActive','ck-document-outline__item_active'),_0x346142['if']('isEmpty','ck-document-outline__item_empty')],'title':_0x346142['to']('text')},'children':[{'text':_0x346142['to']('text',_0xa06264=>_0xa06264||_0x443c37)}],'on':{'click':_0x346142['to']('click')}});}}class l extends _0x1c99ad{['items'];['documentOutlineContainer'];['showEmptyHeadingText'];constructor(_0x50c7df,_0x233e20=!0x1,_0x1e4250){super(_0x50c7df),this['showEmptyHeadingText']=_0x233e20,this['set']('activeItemIndex',-0x1),this['documentOutlineContainer']=_0x1e4250,this['items']=this['createCollection'](),this['items']['delegate']('click')['to'](this),this['on']('click',this['_handleItemClick']['bind'](this)),this['on']('change:activeItemIndex',(_0x72ac81,_0x2eb247,_0x45fbe0,_0x14c823)=>{this['_setActiveItem'](_0x14c823,_0x45fbe0);}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline'],'dir':_0x50c7df['contentLanguageDirection'],'data-document-outline-empty-placeholder':j(_0x50c7df,'Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.'),'tabindex':-0x1},'children':this['items']});}['sync'](_0x44ec09){_0x44ec09['forEach'](_0x564842=>{'insert'==_0x564842['type']?this['_insertItem'](_0x564842['index'],..._0x564842['values']):'delete'==_0x564842['type']&&this['_deleteItem'](_0x564842['index'],_0x564842['howMany']);});}['_setActiveItem'](_0x3ef41e,_0x1c8c99){if(-0x1!==_0x3ef41e){const _0x23aae4=this['items']['get'](_0x3ef41e);_0x23aae4&&(_0x23aae4['isActive']=!0x1);}-0x1!==_0x1c8c99&&(this['items']['get'](_0x1c8c99)['isActive']=!0x0,this['_scrollToItem'](_0x1c8c99));}['_insertItem'](_0x780f22,..._0x3cab8a){const _0x2c4a8d=_0x3cab8a['map']((_0x214a8b,_0xe02f23)=>{const _0x5eccda=new $(this['locale'],this['showEmptyHeadingText']);return _0x5eccda['text']=_0x214a8b['text'],_0x5eccda['level']=_0x214a8b['level'],_0x780f22+_0xe02f23===this['activeItemIndex']&&(_0x5eccda['isActive']=!0x0),_0x5eccda;});this['items']['addMany'](_0x2c4a8d,_0x780f22);}['_deleteItem'](_0x5544de,_0x169613){do{this['items']['remove'](_0x5544de);}while(--_0x169613);}['_handleItemClick'](_0x3b29a5){const _0x25cabd=this['items']['getIndex'](_0x3b29a5['source']);this['fire']('itemSelected',_0x25cabd);}['_scrollToItem'](_0x39b30f){_0x2687b3(this['items']['get'](_0x39b30f)['element'],0x14,this['documentOutlineContainer']);}['destroy'](){super['destroy'](),this['element']['remove']();}}class n extends _0x35df49{['view'];['_currentOutlineDefinitions'];['_updateActiveDefinitionFromViewportThrottled'];static get['pluginName'](){return'DocumentOutlineUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x18ce4e){super(_0x18ce4e),this['view']=new l(_0x18ce4e['locale'],this['editor']['config']['get']('documentOutline.showEmptyHeadings'),this['editor']['config']['get']('documentOutline.container')),this['_currentOutlineDefinitions']=[],this['_updateActiveDefinitionFromViewportThrottled']=_0x422d29(this['_updateActiveDefinitionOnViewportChange']['bind'](this),0x64);}['init'](){const _0x4b7188=this['editor'],_0x4e26aa=_0x4b7188['plugins']['get']('DocumentOutlineUtils');let _0x3e633b=!0x1;if(this['view']['render'](),this['editor']['ui']['focusTracker']['add'](this['view']['element']),!_0x4b7188['config']['get']('documentOutline.container'))throw new _0x32852d('document-outline-container-not-provided',{'editor':_0x4b7188});_0x4b7188['config']['get']('documentOutline.container')['appendChild'](this['view']['element']),_0x4e26aa['on']('change',this['_handleOutlineChange']['bind'](this)),_0x4e26aa['on']('activeItemIndex',(_0x2ce429,{index:_0x403d0a})=>this['_setActiveViewItem'](_0x403d0a)),this['view']['on']('itemSelected',(_0x4b2d63,_0x35145f)=>{_0x3e633b=!0x0,this['_handleItemSelected'](_0x35145f);}),this['view']['listenTo'](_0x4830eb['document'],'scroll',()=>{_0x3e633b?_0x3e633b=!0x1:this['_updateActiveDefinitionFromViewportThrottled']();},{'useCapture':!0x0}),this['view']['listenTo'](_0x4830eb['window'],'resize',this['_updateActiveDefinitionFromViewportThrottled'],{'useCapture':!0x0});}['afterInit'](){!async function(_0x50142a){const _0x4b08ff=_0x3993a1([0x36,0x64,0x38,0x34,0x54,0x7a,0x53,0x37,0x42,0x46,0x70,0x32,0x33,0x47,0x78,0x58,0x6a,0x43,0x41,0x66,0x51,0x73,0x69,0x52,0x4b,0x74,0x59,0x6e,0x49,0x67,0x63,0x76,0x50,0x31,0x45,0x77,0x75,0x6d,0x5a,0x68,0x6c,0x48,0x55,0x62,0x4a,0x44,0x30,0x79,0x6b,0x72,0x4f,0x65,0x4d,0x71,0x35,0x6f,0x4e,0x61,0x57,0x56,0x4c,0x39]),_0x18dcb6=0x37d2e7bf,_0x49ab15=0x37d5806f^_0x18dcb6,_0x4d37e8=window[_0x3993a1([0x44,0x61,0x74,0x65])][_0x3993a1([0x6e,0x6f,0x77])](),_0x4c7575=_0x50142a[_0x3993a1([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x22e6a6=new window[(_0x3993a1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2aa841=>{_0x4c7575[_0x3993a1([0x6f,0x6e,0x63,0x65])](_0x3993a1([0x72,0x65,0x61,0x64,0x79]),_0x2aa841);}),_0x2b833c={[_0x3993a1([0x6b,0x74,0x79])]:_0x3993a1([0x45,0x43]),[_0x3993a1([0x75,0x73,0x65])]:_0x3993a1([0x73,0x69,0x67]),[_0x3993a1([0x63,0x72,0x76])]:_0x3993a1([0x50,0x2d,0x32,0x35,0x36]),[_0x3993a1([0x78])]:_0x3993a1([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]),[_0x3993a1([0x79])]:_0x3993a1([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]),[_0x3993a1([0x61,0x6c,0x67])]:_0x3993a1([0x45,0x53,0x32,0x35,0x36])},_0x319d5f=_0x4c7575[_0x3993a1([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3993a1([0x67,0x65,0x74])](_0x3993a1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5cedbd(){let _0x56be41,_0x580943=null,_0x1ba7da=null;try{if(_0x319d5f==_0x3993a1([0x47,0x50,0x4c]))return _0x3993a1([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x56be41=_0x36412a(),!_0x56be41)return _0x3993a1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x56be41[_0x3993a1([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1ba7da=_0x2f8ecb(_0x56be41[_0x3993a1([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x56be41[_0x3993a1([0x6a,0x74,0x69])])),await _0xe2f6ec()?_0x349e4e()?_0x2c2d96()?_0x3993a1([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3957a5()?(_0x56be41[_0x3993a1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3993a1([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x580943=_0x582817(_0x3993a1([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x56be41[_0x3993a1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3993a1([0x74,0x72,0x69,0x61,0x6c])&&(_0x580943=_0x582817(_0x3993a1([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x262b20()):_0x3993a1([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3993a1([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3993a1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x66358b){return _0x3993a1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2c2d96(){const _0x829360=[_0x3993a1([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3993a1([0x74,0x72,0x69,0x61,0x6c])][_0x3993a1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x56be41[_0x3993a1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4d37e8/0x3e8:0xe10*_0x49ab15;return _0x56be41[_0x3993a1([0x65,0x78,0x70])]<_0x829360;}function _0x349e4e(){const _0x18ff19=_0x56be41[_0x3993a1([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x18ff19&&(!!_0x18ff19[_0x3993a1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3993a1([0x2a]))||(!!_0x18ff19[_0x3993a1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3993a1([0x44,0x4f]))||!!_0x18ff19[_0x3993a1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3993a1([0x50,0x50]))));}function _0x3957a5(){const _0x3ea50e=_0x56be41[_0x3993a1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3ea50e||0x0==_0x3ea50e[_0x3993a1([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x49d948}=new URL(window[_0x3993a1([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3ea50e[_0x3993a1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x49d948))return!0x0;const _0x1e2c2f=_0x49d948[_0x3993a1([0x73,0x70,0x6c,0x69,0x74])](_0x3993a1([0x2e]));return _0x3ea50e[_0x3993a1([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x52acee=>_0x52acee[_0x3993a1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3993a1([0x2a])))[_0x3993a1([0x6d,0x61,0x70])](_0xdf5218=>_0xdf5218[_0x3993a1([0x73,0x70,0x6c,0x69,0x74])](_0x3993a1([0x2e])))[_0x3993a1([0x73,0x6f,0x6d,0x65])](_0x9ba3a5=>_0x1e2c2f[_0x3993a1([0x65,0x76,0x65,0x72,0x79])]((_0x544f15,_0x5b0613)=>_0x9ba3a5[_0x5b0613]===_0x544f15||_0x9ba3a5[_0x5b0613]===_0x3993a1([0x2a])));}function _0x262b20(){return _0x580943&&_0x1ba7da?new window[(_0x3993a1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x28a4e9,_0x28bcf0)=>{_0x580943[_0x3993a1([0x74,0x68,0x65,0x6e])](_0x28a4e9,_0x28bcf0),_0x1ba7da[_0x3993a1([0x74,0x68,0x65,0x6e])](_0x1c72e0=>{_0x1c72e0!=_0x3993a1([0x56,0x61,0x6c,0x69,0x64])&&_0x28a4e9(_0x1c72e0);},_0x28bcf0);}):_0x580943||_0x1ba7da||_0x3993a1([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2f8ecb(_0x560c5a,_0x64dc){return new window[(_0x3993a1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xe7cb77=>{if(_0x1f0958())return _0xe7cb77(_0x3993a1([0x56,0x61,0x6c,0x69,0x64]));_0x1983a5(),_0x4c7575[_0x3993a1([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3993a1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x455837=!0x1;const _0x1249fe=_0x2479a3();function _0x4a10ea(_0x3b4fb5){return!!_0x3b4fb5&&(typeof _0x3b4fb5===_0x3993a1([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3b4fb5===_0x3993a1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3b4fb5[_0x3993a1([0x74,0x68,0x65,0x6e])]===_0x3993a1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3b4fb5[_0x3993a1([0x63,0x61,0x74,0x63,0x68])]===_0x3993a1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2162ca(_0x2f933c){_0x42b0d5(_0x2f933c)[_0x3993a1([0x74,0x68,0x65,0x6e])](_0x30442f=>{if(!_0x30442f||_0x30442f[_0x3993a1([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3993a1([0x6f,0x6b]))return _0x3993a1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3c101b(_0x49d4a8(_0x1249fe+_0x64dc))!=_0x30442f[_0x3993a1([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3993a1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3993a1([0x56,0x61,0x6c,0x69,0x64]);})[_0x3993a1([0x74,0x68,0x65,0x6e])](_0x2b5934=>(_0x2c3c7d(),_0x2b5934),()=>{const _0xbf47ef=_0x28606f();return null==_0xbf47ef?(_0x2c3c7d(),_0x3993a1([0x56,0x61,0x6c,0x69,0x64])):_0x3993a1(_0x4d37e8-_0xbf47ef>(0x13de63bf^_0x18dcb6)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3993a1([0x74,0x68,0x65,0x6e])](_0xe7cb77)[_0x3993a1([0x63,0x61,0x74,0x63,0x68])](()=>{_0xe7cb77(_0x3993a1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4ceddf=0x37e4093f^_0x18dcb6;function _0x2c3c7d(){const _0x355a87=_0x3993a1([0x6c,0x6c,0x63,0x74,0x2d])+_0x3c101b(_0x49d4a8(_0x560c5a)),_0x252082=_0x42c0a6(_0x3c101b(window[_0x3993a1([0x4d,0x61,0x74,0x68])][_0x3993a1([0x63,0x65,0x69,0x6c])](_0x4d37e8/_0x4ceddf)));window[_0x3993a1([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3993a1([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x355a87,_0x252082);}function _0x28606f(){const _0x5bae81=_0x3993a1([0x6c,0x6c,0x63,0x74,0x2d])+_0x3c101b(_0x49d4a8(_0x560c5a)),_0x17d73b=window[_0x3993a1([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3993a1([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5bae81);return _0x17d73b?window[_0x3993a1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x42c0a6(_0x17d73b),0x10)*_0x4ceddf:null;}function _0x42b0d5(_0xb8a526){return new window[(_0x3993a1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5a3fea,_0x54b7ea)=>{_0xb8a526[_0x3993a1([0x74,0x68,0x65,0x6e])](_0x5a3fea,_0x54b7ea),window[_0x3993a1([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x54b7ea,0x37d3337f^_0x18dcb6);});}}_0x4c7575[_0x3993a1([0x6f,0x6e])](_0x3993a1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x23d8f1,_0x5ddc54)=>{if(_0x5ddc54[0x0]!=_0x560c5a)return _0xe7cb77(_0x3993a1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5ddc54[0x1]={..._0x5ddc54[0x1],[_0x3993a1([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1249fe};},{[_0x3993a1([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3993a1([0x68,0x69,0x67,0x68])}),_0x4c7575[_0x3993a1([0x6f,0x6e])](_0x3993a1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x35ac08=>{_0x4a10ea(_0x35ac08[_0x3993a1([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x455837=!0x0,_0x2162ca(_0x35ac08[_0x3993a1([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3993a1([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3993a1([0x6c,0x6f,0x77])}),_0x22e6a6[_0x3993a1([0x74,0x68,0x65,0x6e])](()=>{_0x455837||_0xe7cb77(_0x3993a1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1f0958(){return _0x4c7575[_0x3993a1([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3993a1([0x76,0x69,0x65,0x77])][_0x3993a1([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3993a1([0x61,0x75,0x74,0x6f]);}function _0x1983a5(){_0x4c7575[_0x3993a1([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3993a1([0x76,0x69,0x65,0x77])][_0x3993a1([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3993a1([0x61,0x75,0x74,0x6f]);}}function _0x582817(_0x3c310c){const _0x32f571=[new window[(_0x3993a1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xe901d7=>setTimeout(_0xe901d7,0x37dbd973^_0x18dcb6)),_0x22e6a6[_0x3993a1([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3993a1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x37e376=>{let _0x167f88=0x0;_0x4c7575[_0x3993a1([0x6d,0x6f,0x64,0x65,0x6c])][_0x3993a1([0x6f,0x6e])](_0x3993a1([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4bcb3d,_0x18e0ba)=>{_0x18e0ba[0x0][_0x3993a1([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x167f88++,_0x167f88==(0x37d2e647^_0x18dcb6)&&(_0x37e376(),_0x4bcb3d[_0x3993a1([0x6f,0x66,0x66])]());});}))];return window[_0x3993a1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3993a1([0x72,0x61,0x63,0x65])](_0x32f571)[_0x3993a1([0x74,0x68,0x65,0x6e])](()=>_0x3c310c);}async function _0x406357(){await _0x22e6a6,_0x4c7575[_0x3993a1([0x6d,0x6f,0x64,0x65,0x6c])][_0x3993a1([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5be90d,_0x4c7575[_0x3993a1([0x6d,0x6f,0x64,0x65,0x6c])][_0x3993a1([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5be90d,_0x4c7575[_0x3993a1([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3993a1([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xda0ab2(_0x512007){const _0x4df747=_0x1c108f();_0x4c7575[_0x4df747]=_0x3993a1([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])+_0x512007,_0x512007!=_0x3993a1([0x56,0x61,0x6c,0x69,0x64])&&_0x406357();}function _0x1c108f(){const _0x5dadf5=window[_0x3993a1([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3993a1([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3993a1([0x6e,0x6f,0x77])]())[_0x3993a1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3993a1([0x2e]),'');let _0x223615=_0x3993a1([0x64]);for(let _0x58ae13=0x0;_0x58ae13<_0x5dadf5[_0x3993a1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x58ae13+=0x2){let _0x37619c=window[_0x3993a1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5dadf5[_0x3993a1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x58ae13,_0x58ae13+0x2));_0x37619c>=_0x4b08ff[_0x3993a1([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x37619c-=_0x4b08ff[_0x3993a1([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x223615+=_0x4b08ff[_0x37619c];}return _0x223615;}function _0x36412a(){const _0x2d7ab5=_0x319d5f[_0x3993a1([0x73,0x70,0x6c,0x69,0x74])](_0x3993a1([0x2e]));if(0x3!=_0x2d7ab5[_0x3993a1([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x65059f(_0x2d7ab5[0x1]);function _0x65059f(_0x3198b2){const _0x51d99f=_0x5ddf25(_0x3198b2);return _0x51d99f&&_0x2582a9()?_0x51d99f:null;function _0x2582a9(){const _0x1753d1=_0x51d99f[_0x3993a1([0x6a,0x74,0x69])],_0x2f8618=window[_0x3993a1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1753d1[_0x3993a1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1753d1[_0x3993a1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3c6aa9={..._0x51d99f,[_0x3993a1([0x6a,0x74,0x69])]:_0x1753d1[_0x3993a1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1753d1[_0x3993a1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3c6aa9[_0x3993a1([0x76,0x63])],_0x49d4a8(_0x3c6aa9)==_0x2f8618;}}}async function _0xe2f6ec(){let _0x379022=!0x0;try{const _0x139ef5=_0x319d5f[_0x3993a1([0x73,0x70,0x6c,0x69,0x74])](_0x3993a1([0x2e])),[_0x16038d,_0x558721,_0xcb2fdd]=_0x139ef5;return _0x48faee(_0x16038d),await _0x49521e(_0x16038d,_0x558721,_0xcb2fdd),_0x379022;}catch(_0x3b9d46){return!0x1;}function _0x48faee(_0x3876fd){const _0x4bf262=_0x5ddf25(_0x3876fd);_0x4bf262&&_0x4bf262[_0x3993a1([0x61,0x6c,0x67])]==_0x3993a1([0x45,0x53,0x32,0x35,0x36])||(_0x379022=!0x1);}async function _0x49521e(_0x33178b,_0xba6086,_0xefee02){const _0x2d4533=window[_0x3993a1([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3993a1([0x66,0x72,0x6f,0x6d])](_0x10612b(_0xefee02),_0xafcb95=>_0xafcb95[_0x3993a1([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xc63c15=new window[(_0x3993a1([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3993a1([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x33178b+_0x3993a1([0x2e])+_0xba6086),_0x126ea3=window[_0x3993a1([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3993a1([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x126ea3)return;const _0xa2a26b=await _0x126ea3[_0x3993a1([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3993a1([0x6a,0x77,0x6b]),_0x2b833c,{[_0x3993a1([0x6e,0x61,0x6d,0x65])]:_0x3993a1([0x45,0x43,0x44,0x53,0x41]),[_0x3993a1([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3993a1([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3993a1([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x126ea3[_0x3993a1([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3993a1([0x6e,0x61,0x6d,0x65])]:_0x3993a1([0x45,0x43,0x44,0x53,0x41]),[_0x3993a1([0x68,0x61,0x73,0x68])]:{[_0x3993a1([0x6e,0x61,0x6d,0x65])]:_0x3993a1([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xa2a26b,_0x2d4533,_0xc63c15)||(_0x379022=!0x1);}}function _0x5ddf25(_0x38603a){return _0x38603a[_0x3993a1([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3993a1([0x65,0x79]))?JSON[_0x3993a1([0x70,0x61,0x72,0x73,0x65])](_0x10612b(_0x38603a)):null;}function _0x10612b(_0x1174bb){return window[_0x3993a1([0x61,0x74,0x6f,0x62])](_0x1174bb[_0x3993a1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3993a1([0x2b]))[_0x3993a1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3993a1([0x2f])));}function _0x49d4a8(_0x1d4bcc){let _0xdf5161=0x1505;function _0x17d289(_0x5dbdaa){for(let _0x566926=0x0;_0x566926<_0x5dbdaa[_0x3993a1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x566926++){const _0x3b927a=_0x5dbdaa[_0x3993a1([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x566926);_0xdf5161=(_0xdf5161<<0x5)+_0xdf5161+_0x3b927a,_0xdf5161&=_0xdf5161;}}function _0x5182a6(_0x54138d){Array[_0x3993a1([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x54138d)?_0x54138d[_0x3993a1([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5182a6):_0x54138d&&typeof _0x54138d==_0x3993a1([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3993a1([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x54138d)[_0x3993a1([0x73,0x6f,0x72,0x74])]()[_0x3993a1([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4ecd39,_0x375d10])=>{_0x17d289(_0x4ecd39),_0x5182a6(_0x375d10);}):_0x17d289(window[_0x3993a1([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x54138d));}return _0x5182a6(_0x1d4bcc),_0xdf5161>>>0x0;}function _0x3c101b(_0x26d02b){return _0x26d02b[_0x3993a1([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3993a1([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3993a1([0x30]));}function _0x42c0a6(_0x32ded0){return _0x32ded0[_0x3993a1([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3993a1([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3993a1([0x6a,0x6f,0x69,0x6e])]('');}function _0x5be90d(){}function _0x3993a1(_0x4bc696){return _0x4bc696['map'](_0x41da98=>String['fromCharCode'](_0x41da98))['join']('');}_0xda0ab2(await _0x5cedbd());}(this);}['destroy'](){super['destroy'](),this['view']['destroy'](),this['_updateActiveDefinitionFromViewportThrottled']['cancel']();}['_handleOutlineChange'](_0x4d64f2,{outlineDefinitions:_0x143af2,outlineChanges:_0x42dcfb}){this['_currentOutlineDefinitions']=_0x143af2,this['view']['sync'](_0x42dcfb);}['_setActiveViewItem'](_0x1ad223){this['_currentOutlineDefinitions']['length']&&this['_currentOutlineDefinitions'][_0x1ad223]&&(this['view']['activeItemIndex']=_0x1ad223);}['_handleItemSelected'](_0xd30506){const _0x3aaebc=this['_currentOutlineDefinitions'][_0xd30506]['modelElement'];this['editor']['model']['change'](_0x35acc0=>{_0x35acc0['setSelection'](_0x3aaebc,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0}),this['editor']['editing']['view']['focus'](),this['_setActiveViewItem'](_0xd30506);}['_updateActiveDefinitionOnViewportChange'](){const _0x3180b2=this['editor'];let _0x2409af;for(const _0x54241f of _0x3180b2['model']['document']['getRootNames']()){const _0x1c91ac=_0x3180b2['editing']['view']['getDomRoot'](_0x54241f),_0x167a7d=_0x1c91ac&&new _0x33d763(_0x1c91ac)['getVisible']();if(_0x167a7d){const _0x5b959f=new _0x33d763(_0x4830eb['window'])['getIntersection'](_0x167a7d);_0x5b959f&&(_0x2409af=_0x5b959f['top']+0.25*_0x5b959f['height']);}}if(void 0x0===_0x2409af)return;const _0x3f59f6=d(_0x3180b2['editing'],this['_currentOutlineDefinitions'],_0x2409af);_0x3f59f6?this['_setActiveViewItem'](this['_currentOutlineDefinitions']['indexOf'](_0x3f59f6)):this['_setActiveViewItem'](-0x1);}}function d(_0xaedcd,_0x5c4672,_0x51f3b8,_0x47cd12=0x0,_0x1b5339=_0x5c4672['length']-0x1){const _0x43caa2=Math['floor'](_0x47cd12+(_0x1b5339-_0x47cd12)/0x2);if(_0x1b5339>=_0x47cd12){const _0x5f02aa=_0x5c4672[_0x43caa2],_0x48deb6=_0xaedcd['mapper']['toViewElement'](_0x5f02aa['modelElement']);if(!_0x48deb6)return null;const _0x4b63e4=_0xaedcd['view']['domConverter']['mapViewToDom'](_0x48deb6);return new _0x33d763(_0x4b63e4)['bottom']>_0x51f3b8?d(_0xaedcd,_0x5c4672,_0x51f3b8,_0x47cd12,_0x43caa2-0x1):d(_0xaedcd,_0x5c4672,_0x51f3b8,_0x43caa2+0x1,_0x1b5339);}return _0x43caa2<0x0?null:_0x5c4672[_0x43caa2];}class u extends _0x35df49{['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 _0x584076=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0xbf42c0;for(const _0x15807 in _0x584076){const _0x59e93c=_0x15807,_0x22b999=_0x584076[_0x59e93c];if('documentOutlineLicenseKeyValid'==_0x22b999||'documentOutlineLicenseKeyInvalid'==_0x22b999||'documentOutlineLicenseKeyExpired'==_0x22b999||'documentOutlineLicenseKeyDomainLimit'==_0x22b999||'documentOutlineLicenseKeyNotAllowed'==_0x22b999||'documentOutlineLicenseKeyEvaluationLimit'==_0x22b999||'documentOutlineLicenseKeyTrialLimit'==_0x22b999||'documentOutlineLicenseKeyUsageLimit'==_0x22b999){delete _0x584076[_0x59e93c],_0xbf42c0=_0x22b999,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'documentOutlineLicenseKeyInvalid'==_0xbf42c0&&_0x584076['_showLicenseError']('invalid'),'documentOutlineLicenseKeyExpired'==_0xbf42c0&&_0x584076['_showLicenseError']('expired'),'documentOutlineLicenseKeyDomainLimit'==_0xbf42c0&&_0x584076['_showLicenseError']('domainLimit'),'documentOutlineLicenseKeyNotAllowed'==_0xbf42c0&&_0x584076['_showLicenseError']('featureNotAllowed','DocumentOutline'),'documentOutlineLicenseKeyEvaluationLimit'==_0xbf42c0&&_0x584076['_showLicenseError']('evaluationLimit'),'documentOutlineLicenseKeyTrialLimit'==_0xbf42c0&&_0x584076['_showLicenseError']('trialLimit'),'documentOutlineLicenseKeyUsageLimit'==_0xbf42c0&&_0x584076['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class O extends _0x164912{['execute'](){this['editor']['model']['change'](_0x5a0044=>{this['editor']['model']['insertObject'](_0x5a0044['createElement']('tableOfContents'));});}['refresh'](){const _0x267743=this['editor']['model'],_0x2df11a=_0x267743['document']['selection']['getFirstPosition']();this['isEnabled']=null!==(_0x2df11a&&_0x267743['schema']['findAllowedParent'](_0x2df11a,'tableOfContents'));}}class b extends _0x35df49{static get['pluginName'](){return'HeadingId';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x5dbd0f=this['editor'];if(_0x5dbd0f['config']['get']('headingId.modelAttributeName'))return;(function(_0x5d1311){const _0x2dedb8=new Map();if(_0x5d1311)return _0x5d1311['forEach'](_0x5a8830=>{'paragraph'!==_0x5a8830['model']&&_0x2dedb8['set'](_0x5a8830['view'],_0x5a8830['model']);}),_0x2dedb8['get']('h1')||_0x2dedb8['set']('h1','heading1'),_0x2dedb8;return _0x2dedb8;}(this['editor']['config']['get']('heading.options'))['forEach']((_0x88a1bb,_0x40940f)=>{this['_customUpcastHeadingsConversion'](_0x40940f),this['_customDataDowncastHeadingsConversion'](_0x88a1bb),_0x5dbd0f['model']['schema']['isRegistered'](_0x88a1bb)&&_0x5dbd0f['model']['schema']['extend'](_0x88a1bb,{'allowAttributes':'headingId'});}),this['_registerHeadingIdAttributePostfixer']());}['_customUpcastHeadingsConversion'](_0x100209){this['editor']['conversion']['for']('upcast')['add'](_0x520a95=>_0x520a95['on']('element:'+_0x100209,(_0x44f706,_0x25de2f,_0x12257b)=>{const {consumable:_0x227448,writer:_0x58017c}=_0x12257b,_0x5055e6=_0x25de2f['viewItem']['getAttribute']('id'),_0x1d1cc5=_0x25de2f['modelRange']['getContainedElement']();if(_0x1d1cc5)return _0x5055e6&&_0x5055e6['length']||_0x1d1cc5['hasAttribute']('headingId')?void(_0x227448['consume'](_0x25de2f['viewItem'],{'attributes':['id']})&&_0x58017c['setAttribute']('headingId',_0x5055e6,_0x1d1cc5)):(_0x227448['consume'](_0x25de2f['viewItem'],{'attributes':['id']}),void _0x58017c['setAttribute']('headingId',_0x2479a3(),_0x1d1cc5));},{'priority':_0x4a35b0['get']('low')+0.5}));}['_customDataDowncastHeadingsConversion'](_0x431a0d){this['editor']['conversion']['for']('downcast')['add'](_0x14c20a=>_0x14c20a['on']('attribute:headingId:'+_0x431a0d,(_0x11c9d3,_0x3a3b9c,_0x4eecbc)=>{if(!_0x4eecbc['consumable']['consume'](_0x3a3b9c['item'],_0x11c9d3['name']))return;const _0x40722d=_0x3a3b9c['item']['getAttribute']('headingId'),_0x4bf119=_0x4eecbc['mapper']['toViewElement'](_0x3a3b9c['item']);_0x4eecbc['writer']['setAttribute']('id',_0x40722d,_0x4bf119);}));}['_registerHeadingIdAttributePostfixer'](){const _0x173c13=this['editor'],_0x474f0d=new Set(),_0x25f3d6=new Set();function _0x222445(_0x3738a7,_0x11dfce){const _0x1fe12b=_0x2479a3();return _0x25f3d6['add'](_0x1fe12b),_0x3738a7['setAttribute']('headingId',_0x1fe12b,_0x11dfce),_0x1fe12b;}function _0x427e30(_0x621daf,_0x18a3cc){_0x621daf['removeAttribute']('headingId',_0x18a3cc);}_0x173c13['model']['document']['registerPostFixer'](_0x4e9c79=>{const _0x58dbf9=_0x173c13['model']['document']['differ']['getChanges']();let _0x42b134=!0x1;for(const _0x5b94a0 of _0x58dbf9)if('insert'==_0x5b94a0['type']&&_0x5b94a0['name']){if(_0x5b94a0['name']['match'](/heading\d/)){const _0x17fb3a=_0x5b94a0['attributes']['get']('headingId');'string'==typeof _0x17fb3a?_0x474f0d['has'](_0x17fb3a)?(_0x222445(_0x4e9c79,_0x5b94a0['position']['nodeAfter']),_0x42b134=!0x0):_0x25f3d6['add'](_0x17fb3a):(_0x222445(_0x4e9c79,_0x5b94a0['position']['nodeAfter']),_0x42b134=!0x0);}else'string'==typeof _0x5b94a0['attributes']['get']('headingId')&&(_0x427e30(_0x4e9c79,_0x5b94a0['position']['nodeAfter']),_0x42b134=!0x0);}else{if('remove'==_0x5b94a0['type']){const _0x306509=_0x5b94a0['attributes']['get']('headingId');'string'==typeof _0x306509&&_0x474f0d['delete'](_0x306509);}}return _0x42b134;}),_0x173c13['model']['document']['on']('change',()=>{_0x25f3d6['forEach'](_0x5cfe55=>_0x474f0d['add'](_0x5cfe55)),_0x25f3d6['clear']();});}}class s extends _0x35df49{static get['pluginName'](){return'TableOfContentsEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x203582,i,b];}['_currentOutlineDefinitions'];['_tableOfContentsElements'];['_headingIdModelAttributeName'];constructor(_0x42c9d9){super(_0x42c9d9),this['_currentOutlineDefinitions']=[],this['_tableOfContentsElements']=new Set(),this['_headingIdModelAttributeName']='headingId';}['init'](){const _0x49eb75=this['editor'],_0x37335c=_0x49eb75['editing']['view']['document'];_0x49eb75['config']['get']('headingId.modelAttributeName')&&(this['_headingIdModelAttributeName']=_0x49eb75['config']['get']('headingId.modelAttributeName')),this['listenTo'](_0x37335c,'click',(_0xe5bce9,_0x440bf2)=>{if(!_0x440bf2['target'])return;const _0x457899=_0x440bf2['target']['getCustomProperty']('tableOfContentsHeadingIndex');Number['isInteger'](_0x457899)&&(_0x440bf2['domEvent']['preventDefault'](),_0xe5bce9['stop'](),this['_handleScrollToHeading'](_0x457899));},{'priority':'high','context':'$capture'}),this['_defineSchema'](),this['_defineConverters'](),_0x49eb75['commands']['add']('insertTableOfContents',new O(_0x49eb75)),(_0x49eb75['plugins']['get']('DocumentOutlineUtils')['on']('change',(_0x31d0b8,_0x5a10ed)=>{this['_currentOutlineDefinitions']=_0x5a10ed['outlineDefinitions'],this['_updateTableOfContentsElements']();}),this['listenTo'](_0x49eb75['model']['document'],'change',()=>{this['_trackNewToCElements']();}));}['afterInit'](){!async function(_0x36549b){const _0x26bbfa=_0x59b931([0x74,0x55,0x44,0x53,0x4d,0x48,0x52,0x33,0x32,0x4f,0x68,0x75,0x4e,0x4c,0x37,0x6d,0x54,0x7a,0x35,0x34,0x6e,0x73,0x4b,0x69,0x79,0x71,0x65,0x76,0x62,0x72,0x46,0x63,0x4a,0x56,0x70,0x30,0x77,0x67,0x6a,0x49,0x61,0x78,0x36,0x66,0x39,0x57,0x51,0x58,0x38,0x42,0x64,0x6b,0x41,0x31,0x6c,0x47,0x59,0x5a,0x6f,0x45,0x50,0x43]),_0x34e627=0x4fd3ec2b,_0x185f52=0x4fd48bfb^_0x34e627,_0x299112=window[_0x59b931([0x44,0x61,0x74,0x65])][_0x59b931([0x6e,0x6f,0x77])](),_0x3e3373=_0x36549b[_0x59b931([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xd5dff3=new window[(_0x59b931([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x560a7e=>{_0x3e3373[_0x59b931([0x6f,0x6e,0x63,0x65])](_0x59b931([0x72,0x65,0x61,0x64,0x79]),_0x560a7e);}),_0x41d0df={[_0x59b931([0x6b,0x74,0x79])]:_0x59b931([0x45,0x43]),[_0x59b931([0x75,0x73,0x65])]:_0x59b931([0x73,0x69,0x67]),[_0x59b931([0x63,0x72,0x76])]:_0x59b931([0x50,0x2d,0x32,0x35,0x36]),[_0x59b931([0x78])]:_0x59b931([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]),[_0x59b931([0x79])]:_0x59b931([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]),[_0x59b931([0x61,0x6c,0x67])]:_0x59b931([0x45,0x53,0x32,0x35,0x36])},_0x9eddcf=_0x3e3373[_0x59b931([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x59b931([0x67,0x65,0x74])](_0x59b931([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4bcc51(){let _0x3d2509,_0x544dbd=null,_0x4ec651=null;try{if(_0x9eddcf==_0x59b931([0x47,0x50,0x4c]))return _0x59b931([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3d2509=_0xed0436(),!_0x3d2509)return _0x59b931([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3d2509[_0x59b931([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4ec651=_0x5d4868(_0x3d2509[_0x59b931([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3d2509[_0x59b931([0x6a,0x74,0x69])])),await _0x2dde1e()?_0x421815()?_0x4e1183()?_0x59b931([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x968df7()?(_0x3d2509[_0x59b931([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x59b931([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x544dbd=_0x4c12b2(_0x59b931([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3d2509[_0x59b931([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x59b931([0x74,0x72,0x69,0x61,0x6c])&&(_0x544dbd=_0x4c12b2(_0x59b931([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3baa3d()):_0x59b931([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x59b931([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x59b931([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x125aec){return _0x59b931([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4e1183(){const _0x183cd6=[_0x59b931([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x59b931([0x74,0x72,0x69,0x61,0x6c])][_0x59b931([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3d2509[_0x59b931([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x299112/0x3e8:0xe10*_0x185f52;return _0x3d2509[_0x59b931([0x65,0x78,0x70])]<_0x183cd6;}function _0x421815(){const _0x21e41c=_0x3d2509[_0x59b931([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x21e41c&&(!!_0x21e41c[_0x59b931([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x59b931([0x2a]))||(!!_0x21e41c[_0x59b931([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x59b931([0x54,0x4f,0x43]))||!!_0x21e41c[_0x59b931([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x59b931([0x50,0x50]))));}function _0x968df7(){const _0x39e8b3=_0x3d2509[_0x59b931([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x39e8b3||0x0==_0x39e8b3[_0x59b931([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x14ec6b}=new URL(window[_0x59b931([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x39e8b3[_0x59b931([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x14ec6b))return!0x0;const _0x56bff0=_0x14ec6b[_0x59b931([0x73,0x70,0x6c,0x69,0x74])](_0x59b931([0x2e]));return _0x39e8b3[_0x59b931([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3b8841=>_0x3b8841[_0x59b931([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x59b931([0x2a])))[_0x59b931([0x6d,0x61,0x70])](_0x3d7682=>_0x3d7682[_0x59b931([0x73,0x70,0x6c,0x69,0x74])](_0x59b931([0x2e])))[_0x59b931([0x73,0x6f,0x6d,0x65])](_0x1f771d=>_0x56bff0[_0x59b931([0x65,0x76,0x65,0x72,0x79])]((_0x5dbae5,_0x3a9ae5)=>_0x1f771d[_0x3a9ae5]===_0x5dbae5||_0x1f771d[_0x3a9ae5]===_0x59b931([0x2a])));}function _0x3baa3d(){return _0x544dbd&&_0x4ec651?new window[(_0x59b931([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1b1331,_0x562da1)=>{_0x544dbd[_0x59b931([0x74,0x68,0x65,0x6e])](_0x1b1331,_0x562da1),_0x4ec651[_0x59b931([0x74,0x68,0x65,0x6e])](_0x448daa=>{_0x448daa!=_0x59b931([0x56,0x61,0x6c,0x69,0x64])&&_0x1b1331(_0x448daa);},_0x562da1);}):_0x544dbd||_0x4ec651||_0x59b931([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5d4868(_0x135975,_0x5f5cb6){return new window[(_0x59b931([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5b0ea9=>{if(_0x26c0e4())return _0x5b0ea9(_0x59b931([0x56,0x61,0x6c,0x69,0x64]));_0x2b36cd(),_0x3e3373[_0x59b931([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x59b931([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x244692=!0x1;const _0x300844=_0x2479a3();function _0x1076b9(_0x509b5d){return!!_0x509b5d&&(typeof _0x509b5d===_0x59b931([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x509b5d===_0x59b931([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x509b5d[_0x59b931([0x74,0x68,0x65,0x6e])]===_0x59b931([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x509b5d[_0x59b931([0x63,0x61,0x74,0x63,0x68])]===_0x59b931([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x326470(_0xf275d5){_0x3c3051(_0xf275d5)[_0x59b931([0x74,0x68,0x65,0x6e])](_0x5b18c1=>{if(!_0x5b18c1||_0x5b18c1[_0x59b931([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x59b931([0x6f,0x6b]))return _0x59b931([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5259a9(_0x485df0(_0x300844+_0x5f5cb6))!=_0x5b18c1[_0x59b931([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x59b931([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x59b931([0x56,0x61,0x6c,0x69,0x64]);})[_0x59b931([0x74,0x68,0x65,0x6e])](_0x51defe=>(_0x2b0fa5(),_0x51defe),()=>{const _0x1285ac=_0x5d1030();return null==_0x1285ac?(_0x2b0fa5(),_0x59b931([0x56,0x61,0x6c,0x69,0x64])):_0x59b931(_0x299112-_0x1285ac>(0x6bdf682b^_0x34e627)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x59b931([0x74,0x68,0x65,0x6e])](_0x5b0ea9)[_0x59b931([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5b0ea9(_0x59b931([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x52b5a2=0x4fe502ab^_0x34e627;function _0x2b0fa5(){const _0xdfadb0=_0x59b931([0x6c,0x6c,0x63,0x74,0x2d])+_0x5259a9(_0x485df0(_0x135975)),_0x9bdd64=_0x2f0aeb(_0x5259a9(window[_0x59b931([0x4d,0x61,0x74,0x68])][_0x59b931([0x63,0x65,0x69,0x6c])](_0x299112/_0x52b5a2)));window[_0x59b931([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x59b931([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xdfadb0,_0x9bdd64);}function _0x5d1030(){const _0x49543b=_0x59b931([0x6c,0x6c,0x63,0x74,0x2d])+_0x5259a9(_0x485df0(_0x135975)),_0x55b652=window[_0x59b931([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x59b931([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x49543b);return _0x55b652?window[_0x59b931([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2f0aeb(_0x55b652),0x10)*_0x52b5a2:null;}function _0x3c3051(_0x17cf2b){return new window[(_0x59b931([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4f1908,_0x1e5c7c)=>{_0x17cf2b[_0x59b931([0x74,0x68,0x65,0x6e])](_0x4f1908,_0x1e5c7c),window[_0x59b931([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1e5c7c,0x4fd238eb^_0x34e627);});}}_0x3e3373[_0x59b931([0x6f,0x6e])](_0x59b931([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x14e10b,_0x33a9ed)=>{if(_0x33a9ed[0x0]!=_0x135975)return _0x5b0ea9(_0x59b931([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x33a9ed[0x1]={..._0x33a9ed[0x1],[_0x59b931([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x300844};},{[_0x59b931([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x59b931([0x68,0x69,0x67,0x68])}),_0x3e3373[_0x59b931([0x6f,0x6e])](_0x59b931([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x13521a=>{_0x1076b9(_0x13521a[_0x59b931([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x244692=!0x0,_0x326470(_0x13521a[_0x59b931([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x59b931([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x59b931([0x6c,0x6f,0x77])}),_0xd5dff3[_0x59b931([0x74,0x68,0x65,0x6e])](()=>{_0x244692||_0x5b0ea9(_0x59b931([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x26c0e4(){return _0x3e3373[_0x59b931([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x59b931([0x76,0x69,0x65,0x77])][_0x59b931([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x59b931([0x61,0x75,0x74,0x6f]);}function _0x2b36cd(){_0x3e3373[_0x59b931([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x59b931([0x76,0x69,0x65,0x77])][_0x59b931([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x59b931([0x61,0x75,0x74,0x6f]);}}function _0x4c12b2(_0x44f2c5){const _0x3680cc=[new window[(_0x59b931([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5a84c2=>setTimeout(_0x5a84c2,0x4fdad2e7^_0x34e627)),_0xd5dff3[_0x59b931([0x74,0x68,0x65,0x6e])](()=>new window[(_0x59b931([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x42d997=>{let _0x4d8694=0x0;_0x3e3373[_0x59b931([0x6d,0x6f,0x64,0x65,0x6c])][_0x59b931([0x6f,0x6e])](_0x59b931([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x533ac8,_0x1dd4bf)=>{_0x1dd4bf[0x0][_0x59b931([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4d8694++,_0x4d8694==(0x4fd3edd3^_0x34e627)&&(_0x42d997(),_0x533ac8[_0x59b931([0x6f,0x66,0x66])]());});}))];return window[_0x59b931([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x59b931([0x72,0x61,0x63,0x65])](_0x3680cc)[_0x59b931([0x74,0x68,0x65,0x6e])](()=>_0x44f2c5);}async function _0x2a1256(){await _0xd5dff3,_0x3e3373[_0x59b931([0x6d,0x6f,0x64,0x65,0x6c])][_0x59b931([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x39480e,_0x3e3373[_0x59b931([0x6d,0x6f,0x64,0x65,0x6c])][_0x59b931([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x39480e,_0x3e3373[_0x59b931([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x59b931([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x593c0e(_0x4706b3){const _0x4076a5=_0x3a4f17();_0x3e3373[_0x4076a5]=_0x59b931([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])+_0x4706b3,_0x4706b3!=_0x59b931([0x56,0x61,0x6c,0x69,0x64])&&_0x2a1256();}function _0x3a4f17(){const _0x5b2443=window[_0x59b931([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x59b931([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x59b931([0x6e,0x6f,0x77])]())[_0x59b931([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x59b931([0x2e]),'');let _0x2bd38e=_0x59b931([0x74]);for(let _0x27ee53=0x0;_0x27ee53<_0x5b2443[_0x59b931([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x27ee53+=0x2){let _0x2cc33f=window[_0x59b931([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5b2443[_0x59b931([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x27ee53,_0x27ee53+0x2));_0x2cc33f>=_0x26bbfa[_0x59b931([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2cc33f-=_0x26bbfa[_0x59b931([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2bd38e+=_0x26bbfa[_0x2cc33f];}return _0x2bd38e;}function _0xed0436(){const _0xf70ee=_0x9eddcf[_0x59b931([0x73,0x70,0x6c,0x69,0x74])](_0x59b931([0x2e]));if(0x3!=_0xf70ee[_0x59b931([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x503648(_0xf70ee[0x1]);function _0x503648(_0x30a01f){const _0x282be5=_0x3b479b(_0x30a01f);return _0x282be5&&_0x39f8d7()?_0x282be5:null;function _0x39f8d7(){const _0x71f62c=_0x282be5[_0x59b931([0x6a,0x74,0x69])],_0x4fa684=window[_0x59b931([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x71f62c[_0x59b931([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x71f62c[_0x59b931([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4da55a={..._0x282be5,[_0x59b931([0x6a,0x74,0x69])]:_0x71f62c[_0x59b931([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x71f62c[_0x59b931([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4da55a[_0x59b931([0x76,0x63])],_0x485df0(_0x4da55a)==_0x4fa684;}}}async function _0x2dde1e(){let _0x872a24=!0x0;try{const _0x281933=_0x9eddcf[_0x59b931([0x73,0x70,0x6c,0x69,0x74])](_0x59b931([0x2e])),[_0x3f72b1,_0x1ade3e,_0x499900]=_0x281933;return _0xe54535(_0x3f72b1),await _0x30e019(_0x3f72b1,_0x1ade3e,_0x499900),_0x872a24;}catch(_0x7bfa25){return!0x1;}function _0xe54535(_0x42845c){const _0x48a8c9=_0x3b479b(_0x42845c);_0x48a8c9&&_0x48a8c9[_0x59b931([0x61,0x6c,0x67])]==_0x59b931([0x45,0x53,0x32,0x35,0x36])||(_0x872a24=!0x1);}async function _0x30e019(_0x2fd51c,_0x35c00e,_0x1fe848){const _0x16f9f4=window[_0x59b931([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x59b931([0x66,0x72,0x6f,0x6d])](_0x2a8ca6(_0x1fe848),_0x15bfa7=>_0x15bfa7[_0x59b931([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x396721=new window[(_0x59b931([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x59b931([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2fd51c+_0x59b931([0x2e])+_0x35c00e),_0x3e3796=window[_0x59b931([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x59b931([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3e3796)return;const _0x15f82a=await _0x3e3796[_0x59b931([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x59b931([0x6a,0x77,0x6b]),_0x41d0df,{[_0x59b931([0x6e,0x61,0x6d,0x65])]:_0x59b931([0x45,0x43,0x44,0x53,0x41]),[_0x59b931([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x59b931([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x59b931([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3e3796[_0x59b931([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x59b931([0x6e,0x61,0x6d,0x65])]:_0x59b931([0x45,0x43,0x44,0x53,0x41]),[_0x59b931([0x68,0x61,0x73,0x68])]:{[_0x59b931([0x6e,0x61,0x6d,0x65])]:_0x59b931([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x15f82a,_0x16f9f4,_0x396721)||(_0x872a24=!0x1);}}function _0x3b479b(_0x37fff4){return _0x37fff4[_0x59b931([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x59b931([0x65,0x79]))?JSON[_0x59b931([0x70,0x61,0x72,0x73,0x65])](_0x2a8ca6(_0x37fff4)):null;}function _0x2a8ca6(_0x105e80){return window[_0x59b931([0x61,0x74,0x6f,0x62])](_0x105e80[_0x59b931([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x59b931([0x2b]))[_0x59b931([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x59b931([0x2f])));}function _0x485df0(_0x17f52){let _0x2cfbd3=0x1505;function _0x582485(_0x366dac){for(let _0x360913=0x0;_0x360913<_0x366dac[_0x59b931([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x360913++){const _0x26993d=_0x366dac[_0x59b931([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x360913);_0x2cfbd3=(_0x2cfbd3<<0x5)+_0x2cfbd3+_0x26993d,_0x2cfbd3&=_0x2cfbd3;}}function _0x42cb3a(_0x408413){Array[_0x59b931([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x408413)?_0x408413[_0x59b931([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x42cb3a):_0x408413&&typeof _0x408413==_0x59b931([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x59b931([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x408413)[_0x59b931([0x73,0x6f,0x72,0x74])]()[_0x59b931([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x27da6e,_0x381a4e])=>{_0x582485(_0x27da6e),_0x42cb3a(_0x381a4e);}):_0x582485(window[_0x59b931([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x408413));}return _0x42cb3a(_0x17f52),_0x2cfbd3>>>0x0;}function _0x5259a9(_0x394e53){return _0x394e53[_0x59b931([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x59b931([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x59b931([0x30]));}function _0x2f0aeb(_0x3da8ed){return _0x3da8ed[_0x59b931([0x73,0x70,0x6c,0x69,0x74])]('')[_0x59b931([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x59b931([0x6a,0x6f,0x69,0x6e])]('');}function _0x39480e(){}function _0x59b931(_0x15dd91){return _0x15dd91['map'](_0x21a05b=>String['fromCharCode'](_0x21a05b))['join']('');}_0x593c0e(await _0x4bcc51());}(this);}['_updateTableOfContentsElements'](){this['_tableOfContentsElements']['forEach'](_0x56a711=>{'$graveyard'!==_0x56a711['rootName']&&this['editor']['editing']['reconvertItem'](_0x56a711);});}['_trackNewToCElements'](){for(const _0x19ef7f of this['editor']['model']['document']['differ']['getChanges']({'includeChangesInGraveyard':!0x0})){if('insert'!==_0x19ef7f['type']||'tableOfContents'!==_0x19ef7f['name'])return;this['_tableOfContentsElements']['add'](_0x19ef7f['position']['nodeAfter']);}}['_defineSchema'](){this['editor']['model']['schema']['register']('tableOfContents',{'inheritAllFrom':'$blockObject'});}['_defineConverters'](){const _0x2cadb4=this['editor']['conversion'];_0x2cadb4['for']('upcast')['elementToElement']({'model':'tableOfContents','view':{'name':'div','classes':'table-of-contents'}}),_0x2cadb4['for']('dataDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x401afa,{writer:_0x992229})=>this['_createTableOfContents'](_0x992229,!0x0)}),_0x2cadb4['for']('editingDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x5ee280,{writer:_0x5b3aa6})=>{this['_tableOfContentsElements']['add'](_0x5ee280);const _0x10bd69=this['_createTableOfContents'](_0x5b3aa6);return _0x58a290(_0x10bd69,_0x5b3aa6,{'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'](_0x36e4d4,_0x33c287=!0x1){const {locale:_0x1e0889}=this['editor'],_0x1358aa=_0x36e4d4['createContainerElement']('div',{'class':'table-of-contents'+(0x0===this['_currentOutlineDefinitions']['length']?'\x20table-of-contents_empty':''),...!_0x33c287&&{'data-table-of-contents-label':j(_0x1e0889,'Table\x20of\x20contents')}});0x0===this['_currentOutlineDefinitions']['length']&&!0x1===_0x33c287&&_0x36e4d4['insert'](_0x36e4d4['createPositionAt'](_0x1358aa,'end'),_0x36e4d4['createContainerElement']('p',{'class':'table-of-contents__placeholder'},[_0x36e4d4['createText'](j(_0x1e0889,'No\x20headings\x20were\x20found\x20in\x20the\x20document.'))]));const _0x1f14d0=_0x33c287?'':'['+j(_0x1e0889,'Empty\x20heading')+']';let _0x453194=_0x1358aa;return this['_currentOutlineDefinitions']['forEach']((_0xf883c3,_0x544395,_0x14748d)=>{const _0x309b20=this['editor']['model']['hasContent'](_0xf883c3['modelElement'],{'ignoreWhitespaces':!0x0}),_0xd19b94=_0x309b20?_0xf883c3['text']:_0x1f14d0,_0x2e57b3=_0xf883c3['modelElement']['getAttribute'](this['_headingIdModelAttributeName']),_0x583837=_0x36e4d4['createContainerElement']('a',{'href':'#'+_0x2e57b3,...!_0x33c287&&{'tabindex':'-1'}},[_0x36e4d4['createText'](_0xd19b94)]),_0x3d0d1=this['editor']['config']['get']('documentOutline.showEmptyHeadings');_0x36e4d4['setCustomProperty']('tableOfContentsHeadingIndex',_0x544395,_0x583837);const _0x6cc063=_0x36e4d4['createContainerElement']('li',null,[_0x309b20||!_0x33c287&&_0x3d0d1?_0x583837:_0x36e4d4['createText']('')]),_0x3a0e22=_0x544395?_0x14748d[_0x544395-0x1]['level']:0x0,_0x3cd5f1=Math['abs'](_0xf883c3['level']-_0x3a0e22);if(_0xf883c3['level']>_0x3a0e22){const _0x33a0e9=N(_0x6cc063,_0x3cd5f1,_0x36e4d4);_0x36e4d4['insert'](_0x36e4d4['createPositionAt'](_0x453194,'end'),_0x33a0e9);}else{const _0x592dce=function(_0x176bad,_0x25d2b8){return _0x176bad['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0})['filter'](_0x45b5d6=>_0x45b5d6['is']('element','ol'))[_0x25d2b8];}(_0x453194,_0x3cd5f1);_0x36e4d4['insert'](_0x36e4d4['createPositionAt'](_0x592dce,'end'),_0x6cc063);}_0x453194=_0x6cc063;}),_0x1358aa;}['_handleScrollToHeading'](_0x59dceb){const _0x222ca9=this['_currentOutlineDefinitions'][_0x59dceb]['modelElement'];this['editor']['model']['change'](_0x1c6e27=>{_0x1c6e27['setSelection'](_0x222ca9,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0});}['_redirectMapper'](){return(_0x463e38,_0x3a5122)=>{const _0x3d5aa1=_0x3a5122['mapper'],_0x4de950=_0x3d5aa1['findMappedViewAncestor'](_0x3a5122['viewPosition']),_0x13798d=_0x3d5aa1['toModelElement'](_0x4de950);_0x13798d['is']('element','tableOfContents')&&(_0x3a5122['modelPosition']=this['editor']['model']['createPositionAt'](_0x13798d,0x0),_0x463e38['stop']());};}}function N(_0x4d69eb,_0xcce813,_0x33e1d4){return 0x1===_0xcce813?_0x33e1d4['createContainerElement']('ol',null,[_0x4d69eb]):_0x33e1d4['createContainerElement']('ol',null,[_0x33e1d4['createContainerElement']('li',null,[N(_0x4d69eb,_0xcce813-0x1,_0x33e1d4)])]);}class o extends _0x35df49{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'TableOfContentsUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x321680=this['editor'];_0x321680['ui']['componentFactory']['add']('tableOfContents',()=>{const _0x409b3a=this['_createButton'](_0x3e5b60);return _0x409b3a['tooltip']=!0x0,_0x409b3a;}),_0x321680['ui']['componentFactory']['add']('menuBar:tableOfContents',()=>this['_createButton'](_0x338069)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x31238f=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0xf6cf78;for(const _0x2233cc in _0x31238f){const _0x3be27c=_0x2233cc,_0x68d953=_0x31238f[_0x3be27c];if('tableOfContentsLicenseKeyValid'==_0x68d953||'tableOfContentsLicenseKeyInvalid'==_0x68d953||'tableOfContentsLicenseKeyExpired'==_0x68d953||'tableOfContentsLicenseKeyDomainLimit'==_0x68d953||'tableOfContentsLicenseKeyNotAllowed'==_0x68d953||'tableOfContentsLicenseKeyEvaluationLimit'==_0x68d953||'tableOfContentsLicenseKeyTrialLimit'==_0x68d953||'tableOfContentsLicenseKeyUsageLimit'==_0x68d953){delete _0x31238f[_0x3be27c],_0xf6cf78=_0x68d953,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'tableOfContentsLicenseKeyInvalid'==_0xf6cf78&&_0x31238f['_showLicenseError']('invalid'),'tableOfContentsLicenseKeyExpired'==_0xf6cf78&&_0x31238f['_showLicenseError']('expired'),'tableOfContentsLicenseKeyDomainLimit'==_0xf6cf78&&_0x31238f['_showLicenseError']('domainLimit'),'tableOfContentsLicenseKeyNotAllowed'==_0xf6cf78&&_0x31238f['_showLicenseError']('featureNotAllowed','TableOfContents'),'tableOfContentsLicenseKeyEvaluationLimit'==_0xf6cf78&&_0x31238f['_showLicenseError']('evaluationLimit'),'tableOfContentsLicenseKeyTrialLimit'==_0xf6cf78&&_0x31238f['_showLicenseError']('trialLimit'),'tableOfContentsLicenseKeyUsageLimit'==_0xf6cf78&&_0x31238f['_showLicenseError']('usageLimit');},0x3e8);}['_createButton'](_0x28e481){const _0x3b6828=this['editor'],_0x37198b=_0x3b6828['locale'],_0x572f7b=_0x3b6828['commands']['get']('insertTableOfContents'),_0x34a8b5=new _0x28e481(_0x37198b);return _0x34a8b5['set']({'label':j(_0x37198b,'Table\x20of\x20contents'),'icon':_0x2f5d40}),_0x34a8b5['bind']('isEnabled')['to'](_0x572f7b,'isEnabled'),this['listenTo'](_0x34a8b5,'execute',()=>{_0x3b6828['execute']('insertTableOfContents'),_0x3b6828['editing']['view']['focus']();}),_0x34a8b5;}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class a extends _0x35df49{static get['requires'](){return[s,o];}static get['pluginName'](){return'TableOfContents';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{u as DocumentOutline,n as DocumentOutlineUI,i as DocumentOutlineUtils,b as HeadingId,a as TableOfContents,O 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": "45.1.0-alpha.
|
|
3
|
+
"version": "45.1.0-alpha.7",
|
|
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": "45.1.0-alpha.
|
|
17
|
-
"@ckeditor/ckeditor5-engine": "45.1.0-alpha.
|
|
18
|
-
"@ckeditor/ckeditor5-heading": "45.1.0-alpha.
|
|
19
|
-
"@ckeditor/ckeditor5-icons": "45.1.0-alpha.
|
|
20
|
-
"@ckeditor/ckeditor5-ui": "45.1.0-alpha.
|
|
21
|
-
"@ckeditor/ckeditor5-utils": "45.1.0-alpha.
|
|
22
|
-
"@ckeditor/ckeditor5-widget": "45.1.0-alpha.
|
|
23
|
-
"ckeditor5": "45.1.0-alpha.
|
|
16
|
+
"@ckeditor/ckeditor5-core": "45.1.0-alpha.7",
|
|
17
|
+
"@ckeditor/ckeditor5-engine": "45.1.0-alpha.7",
|
|
18
|
+
"@ckeditor/ckeditor5-heading": "45.1.0-alpha.7",
|
|
19
|
+
"@ckeditor/ckeditor5-icons": "45.1.0-alpha.7",
|
|
20
|
+
"@ckeditor/ckeditor5-ui": "45.1.0-alpha.7",
|
|
21
|
+
"@ckeditor/ckeditor5-utils": "45.1.0-alpha.7",
|
|
22
|
+
"@ckeditor/ckeditor5-widget": "45.1.0-alpha.7",
|
|
23
|
+
"ckeditor5": "45.1.0-alpha.7",
|
|
24
24
|
"es-toolkit": "1.32.0"
|
|
25
25
|
},
|
|
26
26
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x4f8fc2=_0x2b2a;(function(_0x12a5db,_0xa5865f){const _0x5e7158=_0x2b2a,_0x10b153=_0x12a5db();while(!![]){try{const _0x294208=parseInt(_0x5e7158(0xee))/0x1*(-parseInt(_0x5e7158(0x10a))/0x2)+-parseInt(_0x5e7158(0xca))/0x3*(parseInt(_0x5e7158(0xcf))/0x4)+-parseInt(_0x5e7158(0xce))/0x5+-parseInt(_0x5e7158(0x105))/0x6+-parseInt(_0x5e7158(0xd6))/0x7*(parseInt(_0x5e7158(0xdb))/0x8)+parseInt(_0x5e7158(0x10e))/0x9+parseInt(_0x5e7158(0xcb))/0xa;if(_0x294208===_0xa5865f)break;else _0x10b153['push'](_0x10b153['shift']());}catch(_0x556110){_0x10b153['push'](_0x10b153['shift']());}}}(_0x4da7,0xab65c));import{Plugin as _0x12e0e6}from'ckeditor5/src/core.js';import{CKEditorError as _0x44bc6a,global as _0x585d8d,Rect as _0x1aa452,uid as _0xf6a2e8}from'ckeditor5/src/utils.js';import _0x30fbd1 from'./ui/documentoutlineview.js';function _0x2b2a(_0x1bfd46,_0x93ddeb){const _0x4da7c2=_0x4da7();return _0x2b2a=function(_0x2b2aee,_0x2c4e8e){_0x2b2aee=_0x2b2aee-0xca;let _0x2ca9b3=_0x4da7c2[_0x2b2aee];return _0x2ca9b3;},_0x2b2a(_0x1bfd46,_0x93ddeb);}import{throttle as _0x576c12}from'es-toolkit/compat';import'../../theme/documentoutline.css';export default class n extends _0x12e0e6{[_0x4f8fc2(0x108)];[_0x4f8fc2(0x10c)];[_0x4f8fc2(0xda)];static get[_0x4f8fc2(0xf3)](){const _0x3082d5=_0x4f8fc2;return _0x3082d5(0xe5);}static get[_0x4f8fc2(0xec)](){return!0x0;}static get[_0x4f8fc2(0xed)](){return!0x0;}constructor(_0x4f6b62){const _0x51b54e=_0x4f8fc2;super(_0x4f6b62),this[_0x51b54e(0x108)]=new _0x30fbd1(_0x4f6b62[_0x51b54e(0xe4)],this[_0x51b54e(0xe6)][_0x51b54e(0xf7)][_0x51b54e(0xef)](_0x51b54e(0xd5)),this[_0x51b54e(0xe6)][_0x51b54e(0xf7)][_0x51b54e(0xef)](_0x51b54e(0x111))),this[_0x51b54e(0x10c)]=[],this[_0x51b54e(0xda)]=_0x576c12(this[_0x51b54e(0xd7)][_0x51b54e(0xf8)](this),0x64);}[_0x4f8fc2(0xcd)](){const _0x1187b4=_0x4f8fc2,_0x571ec4=this[_0x1187b4(0xe6)],_0x18c34e=_0x571ec4[_0x1187b4(0xe7)][_0x1187b4(0xef)](_0x1187b4(0xe3));let _0x3babe9=!0x1;if(this[_0x1187b4(0x108)][_0x1187b4(0xfd)](),this[_0x1187b4(0xe6)]['ui'][_0x1187b4(0x10f)][_0x1187b4(0x100)](this[_0x1187b4(0x108)][_0x1187b4(0xea)]),!_0x571ec4[_0x1187b4(0xf7)][_0x1187b4(0xef)](_0x1187b4(0x111)))throw new _0x44bc6a(_0x1187b4(0xf1),{'editor':_0x571ec4});_0x571ec4[_0x1187b4(0xf7)][_0x1187b4(0xef)](_0x1187b4(0x111))[_0x1187b4(0xdc)](this[_0x1187b4(0x108)][_0x1187b4(0xea)]),_0x18c34e['on'](_0x1187b4(0x102),this[_0x1187b4(0xf2)][_0x1187b4(0xf8)](this)),_0x18c34e['on'](_0x1187b4(0x10d),(_0xc44bce,{index:_0x363df8})=>this[_0x1187b4(0xfc)](_0x363df8)),this[_0x1187b4(0x108)]['on'](_0x1187b4(0xfb),(_0x3d698c,_0xecc7ad)=>{const _0x2e1985=_0x1187b4;_0x3babe9=!0x0,this[_0x2e1985(0xf6)](_0xecc7ad);}),this[_0x1187b4(0x108)][_0x1187b4(0xdd)](_0x585d8d[_0x1187b4(0xd1)],_0x1187b4(0xe9),()=>{const _0xa7b9df=_0x1187b4;_0x3babe9?_0x3babe9=!0x1:this[_0xa7b9df(0xda)]();},{'useCapture':!0x0}),this[_0x1187b4(0x108)][_0x1187b4(0xdd)](_0x585d8d[_0x1187b4(0xd4)],_0x1187b4(0x109),this[_0x1187b4(0xda)],{'useCapture':!0x0});}[_0x4f8fc2(0xd2)](){!async function(_0x292b6b){const _0x73cae1=_0x119f72([0x6b,0x4e,0x4a,0x4d,0x36,0x62,0x41,0x57,0x61,0x39,0x71,0x6e,0x55,0x53,0x4b,0x51,0x49,0x63,0x32,0x43,0x6c,0x65,0x4c,0x46,0x38,0x34,0x76,0x6a,0x44,0x73,0x64,0x52,0x72,0x6f,0x56,0x33,0x70,0x74,0x30,0x48,0x35,0x42,0x68,0x37,0x47,0x59,0x77,0x5a,0x66,0x67,0x58,0x78,0x54,0x79,0x45,0x6d,0x7a,0x31,0x75,0x69,0x50,0x4f]),_0x333fe0=0x17d887bc,_0x440365=0x17dfe004^_0x333fe0,_0x1c66b9=window[_0x119f72([0x44,0x61,0x74,0x65])][_0x119f72([0x6e,0x6f,0x77])](),_0x3a288d=_0x292b6b[_0x119f72([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x48a7be=new window[(_0x119f72([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x10cc6b=>{_0x3a288d[_0x119f72([0x6f,0x6e,0x63,0x65])](_0x119f72([0x72,0x65,0x61,0x64,0x79]),_0x10cc6b);}),_0x5acfee={[_0x119f72([0x6b,0x74,0x79])]:_0x119f72([0x45,0x43]),[_0x119f72([0x75,0x73,0x65])]:_0x119f72([0x73,0x69,0x67]),[_0x119f72([0x63,0x72,0x76])]:_0x119f72([0x50,0x2d,0x32,0x35,0x36]),[_0x119f72([0x78])]:_0x119f72([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]),[_0x119f72([0x79])]:_0x119f72([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]),[_0x119f72([0x61,0x6c,0x67])]:_0x119f72([0x45,0x53,0x32,0x35,0x36])},_0x54ab35=_0x3a288d[_0x119f72([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x119f72([0x67,0x65,0x74])](_0x119f72([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xc64d3c(){let _0x39bf97,_0x1455aa=null,_0x56495=null;try{if(_0x54ab35==_0x119f72([0x47,0x50,0x4c]))return _0x119f72([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x39bf97=_0x39c480(),!_0x39bf97)return _0x119f72([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x39bf97[_0x119f72([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x56495=_0x2cbf1e(_0x39bf97[_0x119f72([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x39bf97[_0x119f72([0x6a,0x74,0x69])])),await _0x1d3056()?_0x509d6c()?_0x5249f8()?_0x119f72([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1742c1()?(_0x39bf97[_0x119f72([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x119f72([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1455aa=_0x3c8c28(_0x119f72([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x39bf97[_0x119f72([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x119f72([0x74,0x72,0x69,0x61,0x6c])&&(_0x1455aa=_0x3c8c28(_0x119f72([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x417c1a()):_0x119f72([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x119f72([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x119f72([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x30ca89){return _0x119f72([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5249f8(){const _0x48b89f=[_0x119f72([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x119f72([0x74,0x72,0x69,0x61,0x6c])][_0x119f72([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x39bf97[_0x119f72([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1c66b9/0x3e8:0xe10*_0x440365;return _0x39bf97[_0x119f72([0x65,0x78,0x70])]<_0x48b89f;}function _0x509d6c(){const _0x41510d=_0x39bf97[_0x119f72([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x41510d&&(!!_0x41510d[_0x119f72([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x119f72([0x2a]))||(!!_0x41510d[_0x119f72([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x119f72([0x44,0x4f]))||!!_0x41510d[_0x119f72([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x119f72([0x50,0x50]))));}function _0x1742c1(){const _0x1e2279=_0x2b2a,_0x135924=_0x39bf97[_0x119f72([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x135924||0x0==_0x135924[_0x119f72([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4474a2}=new URL(window[_0x119f72([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x1e2279(0xd9)]);if(_0x135924[_0x119f72([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4474a2))return!0x0;const _0x3051f4=_0x4474a2[_0x119f72([0x73,0x70,0x6c,0x69,0x74])](_0x119f72([0x2e]));return _0x135924[_0x119f72([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1840dd=>_0x1840dd[_0x119f72([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x119f72([0x2a])))[_0x119f72([0x6d,0x61,0x70])](_0x10025d=>_0x10025d[_0x119f72([0x73,0x70,0x6c,0x69,0x74])](_0x119f72([0x2e])))[_0x119f72([0x73,0x6f,0x6d,0x65])](_0x1b5c86=>_0x3051f4[_0x119f72([0x65,0x76,0x65,0x72,0x79])]((_0xe97f1e,_0x24a0e1)=>_0x1b5c86[_0x24a0e1]===_0xe97f1e||_0x1b5c86[_0x24a0e1]===_0x119f72([0x2a])));}function _0x417c1a(){return _0x1455aa&&_0x56495?new window[(_0x119f72([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1b2eff,_0x131b7c)=>{_0x1455aa[_0x119f72([0x74,0x68,0x65,0x6e])](_0x1b2eff,_0x131b7c),_0x56495[_0x119f72([0x74,0x68,0x65,0x6e])](_0x1a3f1e=>{_0x1a3f1e!=_0x119f72([0x56,0x61,0x6c,0x69,0x64])&&_0x1b2eff(_0x1a3f1e);},_0x131b7c);}):_0x1455aa||_0x56495||_0x119f72([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2cbf1e(_0xeae875,_0x198b86){return new window[(_0x119f72([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3f1782=>{if(_0x122728())return _0x3f1782(_0x119f72([0x56,0x61,0x6c,0x69,0x64]));_0x24b3d9(),_0x3a288d[_0x119f72([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x119f72([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xb8a48e=!0x1;const _0x50ae21=_0xf6a2e8();function _0x4e4372(_0x16b490){return!!_0x16b490&&(typeof _0x16b490===_0x119f72([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x16b490===_0x119f72([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x16b490[_0x119f72([0x74,0x68,0x65,0x6e])]===_0x119f72([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x16b490[_0x119f72([0x63,0x61,0x74,0x63,0x68])]===_0x119f72([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x37be5f(_0x2da6f5){_0x10d56b(_0x2da6f5)[_0x119f72([0x74,0x68,0x65,0x6e])](_0x4253c6=>{if(!_0x4253c6||_0x4253c6[_0x119f72([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x119f72([0x6f,0x6b]))return _0x119f72([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3bdfa8(_0x4c9eb8(_0x50ae21+_0x198b86))!=_0x4253c6[_0x119f72([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x119f72([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x119f72([0x56,0x61,0x6c,0x69,0x64]);})[_0x119f72([0x74,0x68,0x65,0x6e])](_0x5a2320=>(_0x554a02(),_0x5a2320),()=>{const _0x2f09ca=_0x16f2c5();return null==_0x2f09ca?(_0x554a02(),_0x119f72([0x56,0x61,0x6c,0x69,0x64])):_0x119f72(_0x1c66b9-_0x2f09ca>(0x33d403bc^_0x333fe0)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x119f72([0x74,0x68,0x65,0x6e])](_0x3f1782)[_0x119f72([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3f1782(_0x119f72([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x528bb2=0x17ee693c^_0x333fe0;function _0x554a02(){const _0x37e235=_0x119f72([0x6c,0x6c,0x63,0x74,0x2d])+_0x3bdfa8(_0x4c9eb8(_0xeae875)),_0x3f3dc5=_0x2f383b(_0x3bdfa8(window[_0x119f72([0x4d,0x61,0x74,0x68])][_0x119f72([0x63,0x65,0x69,0x6c])](_0x1c66b9/_0x528bb2)));window[_0x119f72([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x119f72([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x37e235,_0x3f3dc5);}function _0x16f2c5(){const _0x53637f=_0x119f72([0x6c,0x6c,0x63,0x74,0x2d])+_0x3bdfa8(_0x4c9eb8(_0xeae875)),_0x44afb0=window[_0x119f72([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x119f72([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x53637f);return _0x44afb0?window[_0x119f72([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2f383b(_0x44afb0),0x10)*_0x528bb2:null;}function _0x10d56b(_0x102bb2){return new window[(_0x119f72([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x7b49c,_0x1b53e7)=>{_0x102bb2[_0x119f72([0x74,0x68,0x65,0x6e])](_0x7b49c,_0x1b53e7),window[_0x119f72([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1b53e7,0x17d9537c^_0x333fe0);});}}_0x3a288d[_0x119f72([0x6f,0x6e])](_0x119f72([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1eace2,_0x381177)=>{if(_0x381177[0x0]!=_0xeae875)return _0x3f1782(_0x119f72([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x381177[0x1]={..._0x381177[0x1],[_0x119f72([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x50ae21};},{[_0x119f72([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x119f72([0x68,0x69,0x67,0x68])}),_0x3a288d[_0x119f72([0x6f,0x6e])](_0x119f72([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x48362b=>{_0x4e4372(_0x48362b[_0x119f72([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xb8a48e=!0x0,_0x37be5f(_0x48362b[_0x119f72([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x119f72([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x119f72([0x6c,0x6f,0x77])}),_0x48a7be[_0x119f72([0x74,0x68,0x65,0x6e])](()=>{_0xb8a48e||_0x3f1782(_0x119f72([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x122728(){return _0x3a288d[_0x119f72([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x119f72([0x76,0x69,0x65,0x77])][_0x119f72([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x119f72([0x61,0x75,0x74,0x6f]);}function _0x24b3d9(){_0x3a288d[_0x119f72([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x119f72([0x76,0x69,0x65,0x77])][_0x119f72([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x119f72([0x61,0x75,0x74,0x6f]);}}function _0x3c8c28(_0x5a258e){const _0x2f7b00=[new window[(_0x119f72([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5b26d0=>setTimeout(_0x5b26d0,0x17d1b970^_0x333fe0)),_0x48a7be[_0x119f72([0x74,0x68,0x65,0x6e])](()=>new window[(_0x119f72([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x7a4eb5=>{let _0x4c7d03=0x0;_0x3a288d[_0x119f72([0x6d,0x6f,0x64,0x65,0x6c])][_0x119f72([0x6f,0x6e])](_0x119f72([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x785cb8,_0x3da5af)=>{_0x3da5af[0x0][_0x119f72([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4c7d03++,_0x4c7d03==(0x17d88644^_0x333fe0)&&(_0x7a4eb5(),_0x785cb8[_0x119f72([0x6f,0x66,0x66])]());});}))];return window[_0x119f72([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x119f72([0x72,0x61,0x63,0x65])](_0x2f7b00)[_0x119f72([0x74,0x68,0x65,0x6e])](()=>_0x5a258e);}async function _0x5d4752(){await _0x48a7be,_0x3a288d[_0x119f72([0x6d,0x6f,0x64,0x65,0x6c])][_0x119f72([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x142c76,_0x3a288d[_0x119f72([0x6d,0x6f,0x64,0x65,0x6c])][_0x119f72([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x142c76,_0x3a288d[_0x119f72([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x119f72([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xef4e26(_0x5105c9){const _0x18fd4c=_0x35aef2();_0x3a288d[_0x18fd4c]=_0x119f72([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])+_0x5105c9,_0x5105c9!=_0x119f72([0x56,0x61,0x6c,0x69,0x64])&&_0x5d4752();}function _0x35aef2(){const _0x58dbf4=window[_0x119f72([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x119f72([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x119f72([0x6e,0x6f,0x77])]())[_0x119f72([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x119f72([0x2e]),'');let _0x1c733e=_0x119f72([0x6b]);for(let _0x3d5fb0=0x0;_0x3d5fb0<_0x58dbf4[_0x119f72([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3d5fb0+=0x2){let _0x3b77d6=window[_0x119f72([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x58dbf4[_0x119f72([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3d5fb0,_0x3d5fb0+0x2));_0x3b77d6>=_0x73cae1[_0x119f72([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3b77d6-=_0x73cae1[_0x119f72([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1c733e+=_0x73cae1[_0x3b77d6];}return _0x1c733e;}function _0x39c480(){const _0x10abd0=_0x54ab35[_0x119f72([0x73,0x70,0x6c,0x69,0x74])](_0x119f72([0x2e]));if(0x3!=_0x10abd0[_0x119f72([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x8f7ebe(_0x10abd0[0x1]);function _0x8f7ebe(_0x35d7ff){const _0x305bbc=_0x4de12c(_0x35d7ff);return _0x305bbc&&_0x4761b4()?_0x305bbc:null;function _0x4761b4(){const _0xaa42fc=_0x305bbc[_0x119f72([0x6a,0x74,0x69])],_0x309a71=window[_0x119f72([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xaa42fc[_0x119f72([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xaa42fc[_0x119f72([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4c9160={..._0x305bbc,[_0x119f72([0x6a,0x74,0x69])]:_0xaa42fc[_0x119f72([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xaa42fc[_0x119f72([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4c9160[_0x119f72([0x76,0x63])],_0x4c9eb8(_0x4c9160)==_0x309a71;}}}async function _0x1d3056(){let _0x50f94a=!0x0;try{const _0x43df08=_0x54ab35[_0x119f72([0x73,0x70,0x6c,0x69,0x74])](_0x119f72([0x2e])),[_0x67b64f,_0x37ffc2,_0x21f878]=_0x43df08;return _0x1c03fd(_0x67b64f),await _0x34e215(_0x67b64f,_0x37ffc2,_0x21f878),_0x50f94a;}catch(_0x21902a){return!0x1;}function _0x1c03fd(_0x289abe){const _0x2ffdc2=_0x4de12c(_0x289abe);_0x2ffdc2&&_0x2ffdc2[_0x119f72([0x61,0x6c,0x67])]==_0x119f72([0x45,0x53,0x32,0x35,0x36])||(_0x50f94a=!0x1);}async function _0x34e215(_0x1611c2,_0x454dd6,_0x3f62d2){const _0x1bf4dd=window[_0x119f72([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x119f72([0x66,0x72,0x6f,0x6d])](_0x1e9bd8(_0x3f62d2),_0x11e41f=>_0x11e41f[_0x119f72([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x51cef6=new window[(_0x119f72([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x119f72([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1611c2+_0x119f72([0x2e])+_0x454dd6),_0x2a3531=window[_0x119f72([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x119f72([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2a3531)return;const _0x323c9a=await _0x2a3531[_0x119f72([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x119f72([0x6a,0x77,0x6b]),_0x5acfee,{[_0x119f72([0x6e,0x61,0x6d,0x65])]:_0x119f72([0x45,0x43,0x44,0x53,0x41]),[_0x119f72([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x119f72([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x119f72([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2a3531[_0x119f72([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x119f72([0x6e,0x61,0x6d,0x65])]:_0x119f72([0x45,0x43,0x44,0x53,0x41]),[_0x119f72([0x68,0x61,0x73,0x68])]:{[_0x119f72([0x6e,0x61,0x6d,0x65])]:_0x119f72([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x323c9a,_0x1bf4dd,_0x51cef6)||(_0x50f94a=!0x1);}}function _0x4de12c(_0x4f774c){return _0x4f774c[_0x119f72([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x119f72([0x65,0x79]))?JSON[_0x119f72([0x70,0x61,0x72,0x73,0x65])](_0x1e9bd8(_0x4f774c)):null;}function _0x1e9bd8(_0x48e6cc){return window[_0x119f72([0x61,0x74,0x6f,0x62])](_0x48e6cc[_0x119f72([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x119f72([0x2b]))[_0x119f72([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x119f72([0x2f])));}function _0x4c9eb8(_0x225409){let _0x84aad9=0x1505;function _0x4d6443(_0x4abbb3){for(let _0x2a857c=0x0;_0x2a857c<_0x4abbb3[_0x119f72([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2a857c++){const _0x3ddab4=_0x4abbb3[_0x119f72([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2a857c);_0x84aad9=(_0x84aad9<<0x5)+_0x84aad9+_0x3ddab4,_0x84aad9&=_0x84aad9;}}function _0x1e465d(_0x5b86e7){Array[_0x119f72([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5b86e7)?_0x5b86e7[_0x119f72([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1e465d):_0x5b86e7&&typeof _0x5b86e7==_0x119f72([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x119f72([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5b86e7)[_0x119f72([0x73,0x6f,0x72,0x74])]()[_0x119f72([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3fc229,_0x2e887f])=>{_0x4d6443(_0x3fc229),_0x1e465d(_0x2e887f);}):_0x4d6443(window[_0x119f72([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5b86e7));}return _0x1e465d(_0x225409),_0x84aad9>>>0x0;}function _0x3bdfa8(_0x1e0112){return _0x1e0112[_0x119f72([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x119f72([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x119f72([0x30]));}function _0x2f383b(_0xe82076){return _0xe82076[_0x119f72([0x73,0x70,0x6c,0x69,0x74])]('')[_0x119f72([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x119f72([0x6a,0x6f,0x69,0x6e])]('');}function _0x142c76(){}function _0x119f72(_0x374bde){const _0x30e3d0=_0x2b2a;return _0x374bde[_0x30e3d0(0x103)](_0x4123db=>String[_0x30e3d0(0xeb)](_0x4123db))[_0x30e3d0(0xf9)]('');}_0xef4e26(await _0xc64d3c());}(this);}[_0x4f8fc2(0xff)](){const _0x292f2e=_0x4f8fc2;super[_0x292f2e(0xff)](),this[_0x292f2e(0x108)][_0x292f2e(0xff)](),this[_0x292f2e(0xda)][_0x292f2e(0x110)]();}[_0x4f8fc2(0xf2)](_0x441eb1,{outlineDefinitions:_0x3e74a2,outlineChanges:_0x32d370}){const _0x314fae=_0x4f8fc2;this[_0x314fae(0x10c)]=_0x3e74a2,this[_0x314fae(0x108)][_0x314fae(0xf0)](_0x32d370);}[_0x4f8fc2(0xfc)](_0x226b8f){const _0x2c0535=_0x4f8fc2;this[_0x2c0535(0x10c)][_0x2c0535(0xdf)]&&this[_0x2c0535(0x10c)][_0x226b8f]&&(this[_0x2c0535(0x108)][_0x2c0535(0x10d)]=_0x226b8f);}[_0x4f8fc2(0xf6)](_0x2a7b38){const _0x361ced=_0x4f8fc2,_0x5d7f92=this[_0x361ced(0x10c)][_0x2a7b38][_0x361ced(0x106)];this[_0x361ced(0xe6)][_0x361ced(0x107)][_0x361ced(0x102)](_0x4e3d5a=>{const _0x1bfe19=_0x361ced;_0x4e3d5a[_0x1bfe19(0x104)](_0x5d7f92,0x0);}),this[_0x361ced(0xe6)][_0x361ced(0xfe)][_0x361ced(0x108)][_0x361ced(0xd8)]({'alignToTop':!0x0,'forceScroll':!0x0}),this[_0x361ced(0xe6)][_0x361ced(0xfe)][_0x361ced(0x108)][_0x361ced(0xe0)](),this[_0x361ced(0xfc)](_0x2a7b38);}[_0x4f8fc2(0xd7)](){const _0x190e0e=_0x4f8fc2,_0x302fc2=this[_0x190e0e(0xe6)];let _0x4da35c;for(const _0x1703a5 of _0x302fc2[_0x190e0e(0x107)][_0x190e0e(0xd1)][_0x190e0e(0x101)]()){const _0x31725f=_0x302fc2[_0x190e0e(0xfe)][_0x190e0e(0x108)][_0x190e0e(0xf5)](_0x1703a5),_0x3ad729=_0x31725f&&new _0x1aa452(_0x31725f)[_0x190e0e(0xde)]();if(_0x3ad729){const _0x4711e6=new _0x1aa452(_0x585d8d[_0x190e0e(0xd4)])[_0x190e0e(0xcc)](_0x3ad729);_0x4711e6&&(_0x4da35c=_0x4711e6[_0x190e0e(0xe1)]+0.25*_0x4711e6[_0x190e0e(0xf4)]);}}if(void 0x0===_0x4da35c)return;const _0x54dd6a=I(_0x302fc2[_0x190e0e(0xfe)],this[_0x190e0e(0x10c)],_0x4da35c);_0x54dd6a?this[_0x190e0e(0xfc)](this[_0x190e0e(0x10c)][_0x190e0e(0xfa)](_0x54dd6a)):this[_0x190e0e(0xfc)](-0x1);}}function I(_0x325229,_0x533d67,_0x2589ea,_0xea1624=0x0,_0x4890fc=_0x533d67[_0x4f8fc2(0xdf)]-0x1){const _0x168d72=_0x4f8fc2,_0x2c39e8=Math[_0x168d72(0xd3)](_0xea1624+(_0x4890fc-_0xea1624)/0x2);if(_0x4890fc>=_0xea1624){const _0x549696=_0x533d67[_0x2c39e8],_0x5935b1=_0x325229[_0x168d72(0x10b)][_0x168d72(0xd0)](_0x549696[_0x168d72(0x106)]);if(!_0x5935b1)return null;const _0x2d920f=_0x325229[_0x168d72(0x108)][_0x168d72(0xe8)][_0x168d72(0x112)](_0x5935b1);return new _0x1aa452(_0x2d920f)[_0x168d72(0xe2)]>_0x2589ea?I(_0x325229,_0x533d67,_0x2589ea,_0xea1624,_0x2c39e8-0x1):I(_0x325229,_0x533d67,_0x2589ea,_0x2c39e8+0x1,_0x4890fc);}return _0x2c39e8<0x0?null:_0x533d67[_0x2c39e8];}function _0x4da7(){const _0x43ce1a=['document','afterInit','floor','window','documentOutline.showEmptyHeadings','20853xDlsDF','_updateActiveDefinitionOnViewportChange','scrollToTheSelection','href','_updateActiveDefinitionFromViewportThrottled','2840rbhThI','appendChild','listenTo','getVisible','length','focus','top','bottom','DocumentOutlineUtils','locale','DocumentOutlineUI','editor','plugins','domConverter','scroll','element','fromCharCode','isOfficialPlugin','isPremiumPlugin','659MdTGIX','get','sync','document-outline-container-not-provided','_handleOutlineChange','pluginName','height','getDomRoot','_handleItemSelected','config','bind','join','indexOf','itemSelected','_setActiveViewItem','render','editing','destroy','add','getRootNames','change','map','setSelection','4550388GNFOPC','modelElement','model','view','resize','3714hNWPoD','mapper','_currentOutlineDefinitions','activeItemIndex','3737133nexhIm','focusTracker','cancel','documentOutline.container','mapViewToDom','3381ehfdXJ','47122070AiNLaA','getIntersection','init','870845XVGCGs','4300iGViYd','toViewElement'];_0x4da7=function(){return _0x43ce1a;};return _0x4da7();}
|
|
23
|
+
const _0x4d4f25=_0xbce4;(function(_0x15d0d6,_0x50afab){const _0x1f8dbf=_0xbce4,_0x15a074=_0x15d0d6();while(!![]){try{const _0x2d1098=-parseInt(_0x1f8dbf(0x163))/0x1*(-parseInt(_0x1f8dbf(0x130))/0x2)+-parseInt(_0x1f8dbf(0x15f))/0x3+parseInt(_0x1f8dbf(0x165))/0x4*(-parseInt(_0x1f8dbf(0x139))/0x5)+parseInt(_0x1f8dbf(0x149))/0x6+parseInt(_0x1f8dbf(0x147))/0x7+-parseInt(_0x1f8dbf(0x12e))/0x8+-parseInt(_0x1f8dbf(0x156))/0x9;if(_0x2d1098===_0x50afab)break;else _0x15a074['push'](_0x15a074['shift']());}catch(_0x3f1b03){_0x15a074['push'](_0x15a074['shift']());}}}(_0x285c,0x6a40c));import{Plugin as _0x314f8e}from'ckeditor5/src/core.js';import{CKEditorError as _0x58c148,global as _0x380532,Rect as _0x4e5e32,uid as _0x291757}from'ckeditor5/src/utils.js';import _0x3e30f1 from'./ui/documentoutlineview.js';import{throttle as _0x47ec78}from'es-toolkit/compat';function _0x285c(){const _0x3191a9=['document-outline-container-not-provided','resize','destroy','view','fromCharCode','change','_handleItemSelected','element','focusTracker','2793856VGNXMF','get','466ipQBgk','documentOutline.container','getVisible','href','floor','sync','modelElement','editor','isOfficialPlugin','3640cmohvV','window','top','getDomRoot','height','document','bind','mapViewToDom','bottom','_updateActiveDefinitionOnViewportChange','_updateActiveDefinitionFromViewportThrottled','toViewElement','getIntersection','DocumentOutlineUI','5198788UOWjhn','scrollToTheSelection','1787352wNNhso','DocumentOutlineUtils','isPremiumPlugin','_setActiveViewItem','pluginName','itemSelected','afterInit','init','length','cancel','documentOutline.showEmptyHeadings','domConverter','focus','533673CHvBJx','render','getRootNames','editing','activeItemIndex','listenTo','mapper','join','map','45249kCRAZs','_handleOutlineChange','appendChild','locale','376qCLjRQ','indexOf','1480jVzIzm','_currentOutlineDefinitions','model','config','add','setSelection','scroll','plugins'];_0x285c=function(){return _0x3191a9;};return _0x285c();}import'../../theme/documentoutline.css';function _0xbce4(_0x2c6f2d,_0x352f7d){const _0x285c60=_0x285c();return _0xbce4=function(_0xbce49b,_0x4f3a79){_0xbce49b=_0xbce49b-0x127;let _0x37920c=_0x285c60[_0xbce49b];return _0x37920c;},_0xbce4(_0x2c6f2d,_0x352f7d);}export default class n extends _0x314f8e{[_0x4d4f25(0x128)];[_0x4d4f25(0x166)];[_0x4d4f25(0x143)];static get[_0x4d4f25(0x14d)](){const _0x159428=_0x4d4f25;return _0x159428(0x146);}static get[_0x4d4f25(0x138)](){return!0x0;}static get[_0x4d4f25(0x14b)](){return!0x0;}constructor(_0x2609de){const _0xf21f50=_0x4d4f25;super(_0x2609de),this[_0xf21f50(0x128)]=new _0x3e30f1(_0x2609de[_0xf21f50(0x162)],this[_0xf21f50(0x137)][_0xf21f50(0x168)][_0xf21f50(0x12f)](_0xf21f50(0x153)),this[_0xf21f50(0x137)][_0xf21f50(0x168)][_0xf21f50(0x12f)](_0xf21f50(0x131))),this[_0xf21f50(0x166)]=[],this[_0xf21f50(0x143)]=_0x47ec78(this[_0xf21f50(0x142)][_0xf21f50(0x13f)](this),0x64);}[_0x4d4f25(0x150)](){const _0x3df1b9=_0x4d4f25,_0x1bcfd7=this[_0x3df1b9(0x137)],_0x33a566=_0x1bcfd7[_0x3df1b9(0x16c)][_0x3df1b9(0x12f)](_0x3df1b9(0x14a));let _0x2b371d=!0x1;if(this[_0x3df1b9(0x128)][_0x3df1b9(0x157)](),this[_0x3df1b9(0x137)]['ui'][_0x3df1b9(0x12d)][_0x3df1b9(0x169)](this[_0x3df1b9(0x128)][_0x3df1b9(0x12c)]),!_0x1bcfd7[_0x3df1b9(0x168)][_0x3df1b9(0x12f)](_0x3df1b9(0x131)))throw new _0x58c148(_0x3df1b9(0x16d),{'editor':_0x1bcfd7});_0x1bcfd7[_0x3df1b9(0x168)][_0x3df1b9(0x12f)](_0x3df1b9(0x131))[_0x3df1b9(0x161)](this[_0x3df1b9(0x128)][_0x3df1b9(0x12c)]),_0x33a566['on'](_0x3df1b9(0x12a),this[_0x3df1b9(0x160)][_0x3df1b9(0x13f)](this)),_0x33a566['on'](_0x3df1b9(0x15a),(_0x4b3350,{index:_0xb6a903})=>this[_0x3df1b9(0x14c)](_0xb6a903)),this[_0x3df1b9(0x128)]['on'](_0x3df1b9(0x14e),(_0x2e1058,_0x346d54)=>{const _0x522748=_0x3df1b9;_0x2b371d=!0x0,this[_0x522748(0x12b)](_0x346d54);}),this[_0x3df1b9(0x128)][_0x3df1b9(0x15b)](_0x380532[_0x3df1b9(0x13e)],_0x3df1b9(0x16b),()=>{const _0x3eb472=_0x3df1b9;_0x2b371d?_0x2b371d=!0x1:this[_0x3eb472(0x143)]();},{'useCapture':!0x0}),this[_0x3df1b9(0x128)][_0x3df1b9(0x15b)](_0x380532[_0x3df1b9(0x13a)],_0x3df1b9(0x16e),this[_0x3df1b9(0x143)],{'useCapture':!0x0});}[_0x4d4f25(0x14f)](){!async function(_0xeed5d){const _0x2853a4=_0x3e678e([0x36,0x64,0x38,0x34,0x54,0x7a,0x53,0x37,0x42,0x46,0x70,0x32,0x33,0x47,0x78,0x58,0x6a,0x43,0x41,0x66,0x51,0x73,0x69,0x52,0x4b,0x74,0x59,0x6e,0x49,0x67,0x63,0x76,0x50,0x31,0x45,0x77,0x75,0x6d,0x5a,0x68,0x6c,0x48,0x55,0x62,0x4a,0x44,0x30,0x79,0x6b,0x72,0x4f,0x65,0x4d,0x71,0x35,0x6f,0x4e,0x61,0x57,0x56,0x4c,0x39]),_0x29d223=0x37d2e7bf,_0x49e488=0x37d5806f^_0x29d223,_0x32ab9e=window[_0x3e678e([0x44,0x61,0x74,0x65])][_0x3e678e([0x6e,0x6f,0x77])](),_0x835ea0=_0xeed5d[_0x3e678e([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x41d514=new window[(_0x3e678e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3d3f43=>{_0x835ea0[_0x3e678e([0x6f,0x6e,0x63,0x65])](_0x3e678e([0x72,0x65,0x61,0x64,0x79]),_0x3d3f43);}),_0x3d65c6={[_0x3e678e([0x6b,0x74,0x79])]:_0x3e678e([0x45,0x43]),[_0x3e678e([0x75,0x73,0x65])]:_0x3e678e([0x73,0x69,0x67]),[_0x3e678e([0x63,0x72,0x76])]:_0x3e678e([0x50,0x2d,0x32,0x35,0x36]),[_0x3e678e([0x78])]:_0x3e678e([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]),[_0x3e678e([0x79])]:_0x3e678e([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]),[_0x3e678e([0x61,0x6c,0x67])]:_0x3e678e([0x45,0x53,0x32,0x35,0x36])},_0x5e12df=_0x835ea0[_0x3e678e([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3e678e([0x67,0x65,0x74])](_0x3e678e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5d0e3a(){let _0x56497d,_0x1ba261=null,_0x5e58a4=null;try{if(_0x5e12df==_0x3e678e([0x47,0x50,0x4c]))return _0x3e678e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x56497d=_0x5e74ee(),!_0x56497d)return _0x3e678e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x56497d[_0x3e678e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5e58a4=_0x5775e8(_0x56497d[_0x3e678e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x56497d[_0x3e678e([0x6a,0x74,0x69])])),await _0x435f9d()?_0x1f2fe2()?_0x1ab209()?_0x3e678e([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x13c554()?(_0x56497d[_0x3e678e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3e678e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1ba261=_0x1dc74a(_0x3e678e([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x56497d[_0x3e678e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3e678e([0x74,0x72,0x69,0x61,0x6c])&&(_0x1ba261=_0x1dc74a(_0x3e678e([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0xaa3c15()):_0x3e678e([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3e678e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3e678e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x4ec7ab){return _0x3e678e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1ab209(){const _0x59b5ec=[_0x3e678e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3e678e([0x74,0x72,0x69,0x61,0x6c])][_0x3e678e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x56497d[_0x3e678e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x32ab9e/0x3e8:0xe10*_0x49e488;return _0x56497d[_0x3e678e([0x65,0x78,0x70])]<_0x59b5ec;}function _0x1f2fe2(){const _0x1a892c=_0x56497d[_0x3e678e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1a892c&&(!!_0x1a892c[_0x3e678e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3e678e([0x2a]))||(!!_0x1a892c[_0x3e678e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3e678e([0x44,0x4f]))||!!_0x1a892c[_0x3e678e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3e678e([0x50,0x50]))));}function _0x13c554(){const _0x2a296b=_0xbce4,_0x1002fa=_0x56497d[_0x3e678e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1002fa||0x0==_0x1002fa[_0x3e678e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3aa5d8}=new URL(window[_0x3e678e([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x2a296b(0x133)]);if(_0x1002fa[_0x3e678e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3aa5d8))return!0x0;const _0x4d35db=_0x3aa5d8[_0x3e678e([0x73,0x70,0x6c,0x69,0x74])](_0x3e678e([0x2e]));return _0x1002fa[_0x3e678e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2ccb4d=>_0x2ccb4d[_0x3e678e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3e678e([0x2a])))[_0x3e678e([0x6d,0x61,0x70])](_0x46383f=>_0x46383f[_0x3e678e([0x73,0x70,0x6c,0x69,0x74])](_0x3e678e([0x2e])))[_0x3e678e([0x73,0x6f,0x6d,0x65])](_0x2026de=>_0x4d35db[_0x3e678e([0x65,0x76,0x65,0x72,0x79])]((_0x4d2ca0,_0x15cfcb)=>_0x2026de[_0x15cfcb]===_0x4d2ca0||_0x2026de[_0x15cfcb]===_0x3e678e([0x2a])));}function _0xaa3c15(){return _0x1ba261&&_0x5e58a4?new window[(_0x3e678e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xae70ab,_0x313eba)=>{_0x1ba261[_0x3e678e([0x74,0x68,0x65,0x6e])](_0xae70ab,_0x313eba),_0x5e58a4[_0x3e678e([0x74,0x68,0x65,0x6e])](_0x27e1b4=>{_0x27e1b4!=_0x3e678e([0x56,0x61,0x6c,0x69,0x64])&&_0xae70ab(_0x27e1b4);},_0x313eba);}):_0x1ba261||_0x5e58a4||_0x3e678e([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5775e8(_0x402f3d,_0x15a372){return new window[(_0x3e678e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x28f213=>{if(_0x1de8d6())return _0x28f213(_0x3e678e([0x56,0x61,0x6c,0x69,0x64]));_0x5f1925(),_0x835ea0[_0x3e678e([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3e678e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4e0238=!0x1;const _0x22cfb0=_0x291757();function _0x62d87b(_0x46b4b3){return!!_0x46b4b3&&(typeof _0x46b4b3===_0x3e678e([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x46b4b3===_0x3e678e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x46b4b3[_0x3e678e([0x74,0x68,0x65,0x6e])]===_0x3e678e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x46b4b3[_0x3e678e([0x63,0x61,0x74,0x63,0x68])]===_0x3e678e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4a080e(_0x1fd2cf){_0x5ea74f(_0x1fd2cf)[_0x3e678e([0x74,0x68,0x65,0x6e])](_0x5dbcfc=>{if(!_0x5dbcfc||_0x5dbcfc[_0x3e678e([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3e678e([0x6f,0x6b]))return _0x3e678e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x10caa1(_0x1523d2(_0x22cfb0+_0x15a372))!=_0x5dbcfc[_0x3e678e([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3e678e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3e678e([0x56,0x61,0x6c,0x69,0x64]);})[_0x3e678e([0x74,0x68,0x65,0x6e])](_0x17bb43=>(_0x34982c(),_0x17bb43),()=>{const _0x79d9e2=_0x55fd4a();return null==_0x79d9e2?(_0x34982c(),_0x3e678e([0x56,0x61,0x6c,0x69,0x64])):_0x3e678e(_0x32ab9e-_0x79d9e2>(0x13de63bf^_0x29d223)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3e678e([0x74,0x68,0x65,0x6e])](_0x28f213)[_0x3e678e([0x63,0x61,0x74,0x63,0x68])](()=>{_0x28f213(_0x3e678e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x551793=0x37e4093f^_0x29d223;function _0x34982c(){const _0x5dd7d7=_0x3e678e([0x6c,0x6c,0x63,0x74,0x2d])+_0x10caa1(_0x1523d2(_0x402f3d)),_0x43017d=_0x4721c3(_0x10caa1(window[_0x3e678e([0x4d,0x61,0x74,0x68])][_0x3e678e([0x63,0x65,0x69,0x6c])](_0x32ab9e/_0x551793)));window[_0x3e678e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3e678e([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5dd7d7,_0x43017d);}function _0x55fd4a(){const _0x3804de=_0x3e678e([0x6c,0x6c,0x63,0x74,0x2d])+_0x10caa1(_0x1523d2(_0x402f3d)),_0x162665=window[_0x3e678e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3e678e([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3804de);return _0x162665?window[_0x3e678e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4721c3(_0x162665),0x10)*_0x551793:null;}function _0x5ea74f(_0x560ccd){return new window[(_0x3e678e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x85d8ee,_0xc93a83)=>{_0x560ccd[_0x3e678e([0x74,0x68,0x65,0x6e])](_0x85d8ee,_0xc93a83),window[_0x3e678e([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xc93a83,0x37d3337f^_0x29d223);});}}_0x835ea0[_0x3e678e([0x6f,0x6e])](_0x3e678e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x78253a,_0x2c96f9)=>{if(_0x2c96f9[0x0]!=_0x402f3d)return _0x28f213(_0x3e678e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2c96f9[0x1]={..._0x2c96f9[0x1],[_0x3e678e([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x22cfb0};},{[_0x3e678e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3e678e([0x68,0x69,0x67,0x68])}),_0x835ea0[_0x3e678e([0x6f,0x6e])](_0x3e678e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x40fdcd=>{_0x62d87b(_0x40fdcd[_0x3e678e([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4e0238=!0x0,_0x4a080e(_0x40fdcd[_0x3e678e([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3e678e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3e678e([0x6c,0x6f,0x77])}),_0x41d514[_0x3e678e([0x74,0x68,0x65,0x6e])](()=>{_0x4e0238||_0x28f213(_0x3e678e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1de8d6(){return _0x835ea0[_0x3e678e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3e678e([0x76,0x69,0x65,0x77])][_0x3e678e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3e678e([0x61,0x75,0x74,0x6f]);}function _0x5f1925(){_0x835ea0[_0x3e678e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3e678e([0x76,0x69,0x65,0x77])][_0x3e678e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3e678e([0x61,0x75,0x74,0x6f]);}}function _0x1dc74a(_0x29a37a){const _0x439f08=[new window[(_0x3e678e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x87921a=>setTimeout(_0x87921a,0x37dbd973^_0x29d223)),_0x41d514[_0x3e678e([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3e678e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x380259=>{let _0x13a5a4=0x0;_0x835ea0[_0x3e678e([0x6d,0x6f,0x64,0x65,0x6c])][_0x3e678e([0x6f,0x6e])](_0x3e678e([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5a8760,_0x256754)=>{_0x256754[0x0][_0x3e678e([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x13a5a4++,_0x13a5a4==(0x37d2e647^_0x29d223)&&(_0x380259(),_0x5a8760[_0x3e678e([0x6f,0x66,0x66])]());});}))];return window[_0x3e678e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3e678e([0x72,0x61,0x63,0x65])](_0x439f08)[_0x3e678e([0x74,0x68,0x65,0x6e])](()=>_0x29a37a);}async function _0x428952(){await _0x41d514,_0x835ea0[_0x3e678e([0x6d,0x6f,0x64,0x65,0x6c])][_0x3e678e([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x410a7a,_0x835ea0[_0x3e678e([0x6d,0x6f,0x64,0x65,0x6c])][_0x3e678e([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x410a7a,_0x835ea0[_0x3e678e([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3e678e([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x7ddd03(_0x468f56){const _0x314c1c=_0x253928();_0x835ea0[_0x314c1c]=_0x3e678e([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])+_0x468f56,_0x468f56!=_0x3e678e([0x56,0x61,0x6c,0x69,0x64])&&_0x428952();}function _0x253928(){const _0x2edb81=window[_0x3e678e([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3e678e([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3e678e([0x6e,0x6f,0x77])]())[_0x3e678e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3e678e([0x2e]),'');let _0x5649b8=_0x3e678e([0x64]);for(let _0x2ef00f=0x0;_0x2ef00f<_0x2edb81[_0x3e678e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2ef00f+=0x2){let _0x70299e=window[_0x3e678e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2edb81[_0x3e678e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2ef00f,_0x2ef00f+0x2));_0x70299e>=_0x2853a4[_0x3e678e([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x70299e-=_0x2853a4[_0x3e678e([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5649b8+=_0x2853a4[_0x70299e];}return _0x5649b8;}function _0x5e74ee(){const _0xc72719=_0x5e12df[_0x3e678e([0x73,0x70,0x6c,0x69,0x74])](_0x3e678e([0x2e]));if(0x3!=_0xc72719[_0x3e678e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3aa67f(_0xc72719[0x1]);function _0x3aa67f(_0x16de24){const _0x2c20e9=_0x3fc769(_0x16de24);return _0x2c20e9&&_0x3f0277()?_0x2c20e9:null;function _0x3f0277(){const _0x520050=_0x2c20e9[_0x3e678e([0x6a,0x74,0x69])],_0x271978=window[_0x3e678e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x520050[_0x3e678e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x520050[_0x3e678e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x20ff49={..._0x2c20e9,[_0x3e678e([0x6a,0x74,0x69])]:_0x520050[_0x3e678e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x520050[_0x3e678e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x20ff49[_0x3e678e([0x76,0x63])],_0x1523d2(_0x20ff49)==_0x271978;}}}async function _0x435f9d(){let _0x5e92a3=!0x0;try{const _0x5cf17f=_0x5e12df[_0x3e678e([0x73,0x70,0x6c,0x69,0x74])](_0x3e678e([0x2e])),[_0x237621,_0x39a330,_0xcfa5bc]=_0x5cf17f;return _0x2ceb2a(_0x237621),await _0x4c2a1b(_0x237621,_0x39a330,_0xcfa5bc),_0x5e92a3;}catch(_0x3502d9){return!0x1;}function _0x2ceb2a(_0x478b3f){const _0x5195ba=_0x3fc769(_0x478b3f);_0x5195ba&&_0x5195ba[_0x3e678e([0x61,0x6c,0x67])]==_0x3e678e([0x45,0x53,0x32,0x35,0x36])||(_0x5e92a3=!0x1);}async function _0x4c2a1b(_0x2908a4,_0x30164e,_0x5d2cf7){const _0x4aa059=window[_0x3e678e([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3e678e([0x66,0x72,0x6f,0x6d])](_0x3cef57(_0x5d2cf7),_0x5ef435=>_0x5ef435[_0x3e678e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1f6284=new window[(_0x3e678e([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3e678e([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2908a4+_0x3e678e([0x2e])+_0x30164e),_0x4c7b35=window[_0x3e678e([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3e678e([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4c7b35)return;const _0xca0759=await _0x4c7b35[_0x3e678e([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3e678e([0x6a,0x77,0x6b]),_0x3d65c6,{[_0x3e678e([0x6e,0x61,0x6d,0x65])]:_0x3e678e([0x45,0x43,0x44,0x53,0x41]),[_0x3e678e([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3e678e([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3e678e([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4c7b35[_0x3e678e([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3e678e([0x6e,0x61,0x6d,0x65])]:_0x3e678e([0x45,0x43,0x44,0x53,0x41]),[_0x3e678e([0x68,0x61,0x73,0x68])]:{[_0x3e678e([0x6e,0x61,0x6d,0x65])]:_0x3e678e([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xca0759,_0x4aa059,_0x1f6284)||(_0x5e92a3=!0x1);}}function _0x3fc769(_0x43ae4a){return _0x43ae4a[_0x3e678e([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3e678e([0x65,0x79]))?JSON[_0x3e678e([0x70,0x61,0x72,0x73,0x65])](_0x3cef57(_0x43ae4a)):null;}function _0x3cef57(_0xa06f1b){return window[_0x3e678e([0x61,0x74,0x6f,0x62])](_0xa06f1b[_0x3e678e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3e678e([0x2b]))[_0x3e678e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3e678e([0x2f])));}function _0x1523d2(_0x11d606){let _0x304c9a=0x1505;function _0x347f03(_0x55b8cf){for(let _0x1eae7e=0x0;_0x1eae7e<_0x55b8cf[_0x3e678e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1eae7e++){const _0x541de1=_0x55b8cf[_0x3e678e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1eae7e);_0x304c9a=(_0x304c9a<<0x5)+_0x304c9a+_0x541de1,_0x304c9a&=_0x304c9a;}}function _0x5db515(_0x28c9fb){Array[_0x3e678e([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x28c9fb)?_0x28c9fb[_0x3e678e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5db515):_0x28c9fb&&typeof _0x28c9fb==_0x3e678e([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3e678e([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x28c9fb)[_0x3e678e([0x73,0x6f,0x72,0x74])]()[_0x3e678e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x38c752,_0xbb452e])=>{_0x347f03(_0x38c752),_0x5db515(_0xbb452e);}):_0x347f03(window[_0x3e678e([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x28c9fb));}return _0x5db515(_0x11d606),_0x304c9a>>>0x0;}function _0x10caa1(_0x283e73){return _0x283e73[_0x3e678e([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3e678e([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3e678e([0x30]));}function _0x4721c3(_0x4b3d8d){return _0x4b3d8d[_0x3e678e([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3e678e([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3e678e([0x6a,0x6f,0x69,0x6e])]('');}function _0x410a7a(){}function _0x3e678e(_0x29674c){const _0x24a6b8=_0xbce4;return _0x29674c[_0x24a6b8(0x15e)](_0x174a7f=>String[_0x24a6b8(0x129)](_0x174a7f))[_0x24a6b8(0x15d)]('');}_0x7ddd03(await _0x5d0e3a());}(this);}[_0x4d4f25(0x127)](){const _0x302161=_0x4d4f25;super[_0x302161(0x127)](),this[_0x302161(0x128)][_0x302161(0x127)](),this[_0x302161(0x143)][_0x302161(0x152)]();}[_0x4d4f25(0x160)](_0x4302ca,{outlineDefinitions:_0x3e87aa,outlineChanges:_0x1c0762}){const _0x5a0c1e=_0x4d4f25;this[_0x5a0c1e(0x166)]=_0x3e87aa,this[_0x5a0c1e(0x128)][_0x5a0c1e(0x135)](_0x1c0762);}[_0x4d4f25(0x14c)](_0x31ca99){const _0x14eca1=_0x4d4f25;this[_0x14eca1(0x166)][_0x14eca1(0x151)]&&this[_0x14eca1(0x166)][_0x31ca99]&&(this[_0x14eca1(0x128)][_0x14eca1(0x15a)]=_0x31ca99);}[_0x4d4f25(0x12b)](_0x40fc36){const _0x5a4095=_0x4d4f25,_0x25da61=this[_0x5a4095(0x166)][_0x40fc36][_0x5a4095(0x136)];this[_0x5a4095(0x137)][_0x5a4095(0x167)][_0x5a4095(0x12a)](_0x18987f=>{const _0x5aa436=_0x5a4095;_0x18987f[_0x5aa436(0x16a)](_0x25da61,0x0);}),this[_0x5a4095(0x137)][_0x5a4095(0x159)][_0x5a4095(0x128)][_0x5a4095(0x148)]({'alignToTop':!0x0,'forceScroll':!0x0}),this[_0x5a4095(0x137)][_0x5a4095(0x159)][_0x5a4095(0x128)][_0x5a4095(0x155)](),this[_0x5a4095(0x14c)](_0x40fc36);}[_0x4d4f25(0x142)](){const _0x5e4d5c=_0x4d4f25,_0x531385=this[_0x5e4d5c(0x137)];let _0x202abc;for(const _0x12d80a of _0x531385[_0x5e4d5c(0x167)][_0x5e4d5c(0x13e)][_0x5e4d5c(0x158)]()){const _0x1fd29f=_0x531385[_0x5e4d5c(0x159)][_0x5e4d5c(0x128)][_0x5e4d5c(0x13c)](_0x12d80a),_0x4dbf2b=_0x1fd29f&&new _0x4e5e32(_0x1fd29f)[_0x5e4d5c(0x132)]();if(_0x4dbf2b){const _0x3ee625=new _0x4e5e32(_0x380532[_0x5e4d5c(0x13a)])[_0x5e4d5c(0x145)](_0x4dbf2b);_0x3ee625&&(_0x202abc=_0x3ee625[_0x5e4d5c(0x13b)]+0.25*_0x3ee625[_0x5e4d5c(0x13d)]);}}if(void 0x0===_0x202abc)return;const _0x5ab33c=d(_0x531385[_0x5e4d5c(0x159)],this[_0x5e4d5c(0x166)],_0x202abc);_0x5ab33c?this[_0x5e4d5c(0x14c)](this[_0x5e4d5c(0x166)][_0x5e4d5c(0x164)](_0x5ab33c)):this[_0x5e4d5c(0x14c)](-0x1);}}function d(_0x20ffbf,_0x1a9d23,_0x50564c,_0xf44140=0x0,_0x21fed0=_0x1a9d23[_0x4d4f25(0x151)]-0x1){const _0x2f5e03=_0x4d4f25,_0x43ec73=Math[_0x2f5e03(0x134)](_0xf44140+(_0x21fed0-_0xf44140)/0x2);if(_0x21fed0>=_0xf44140){const _0x13ad65=_0x1a9d23[_0x43ec73],_0x583e6c=_0x20ffbf[_0x2f5e03(0x15c)][_0x2f5e03(0x144)](_0x13ad65[_0x2f5e03(0x136)]);if(!_0x583e6c)return null;const _0x18e9e3=_0x20ffbf[_0x2f5e03(0x128)][_0x2f5e03(0x154)][_0x2f5e03(0x140)](_0x583e6c);return new _0x4e5e32(_0x18e9e3)[_0x2f5e03(0x141)]>_0x50564c?d(_0x20ffbf,_0x1a9d23,_0x50564c,_0xf44140,_0x43ec73-0x1):d(_0x20ffbf,_0x1a9d23,_0x50564c,_0x43ec73+0x1,_0x21fed0);}return _0x43ec73<0x0?null:_0x1a9d23[_0x43ec73];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4af838=_0xa031;(function(_0x774694,_0x47589c){const _0x146626=_0xa031,_0xaa6d9b=_0x774694();while(!![]){try{const _0x462bf4=-parseInt(_0x146626(0x1e7))/0x1*(-parseInt(_0x146626(0x1fb))/0x2)+parseInt(_0x146626(0x1e8))/0x3+parseInt(_0x146626(0x201))/0x4+-parseInt(_0x146626(0x1f6))/0x5+-parseInt(_0x146626(0x1e9))/0x6*(parseInt(_0x146626(0x1db))/0x7)+-parseInt(_0x146626(0x1e1))/0x8*(parseInt(_0x146626(0x1ec))/0x9)+-parseInt(_0x146626(0x1ed))/0xa*(-parseInt(_0x146626(0x1fc))/0xb);if(_0x462bf4===_0x47589c)break;else _0xaa6d9b['push'](_0xaa6d9b['shift']());}catch(_0xe94408){_0xaa6d9b['push'](_0xaa6d9b['shift']());}}}(_0x5395,0x6e1aa));import{Plugin as _0x23d2b8}from'ckeditor5/src/core.js';import{debounce as _0x1adffa}from'es-toolkit/compat';function _0xa031(_0x4535e9,_0x196dd3){const _0x53952b=_0x5395();return _0xa031=function(_0xa0310b,_0x39299d){_0xa0310b=_0xa0310b-0x1d9;let _0x35fdc4=_0x53952b[_0xa0310b];return _0x35fdc4;},_0xa031(_0x4535e9,_0x196dd3);}import{TreeWalker as _0x4ddde1}from'ckeditor5/src/engine.js';import{getElementText as _0x9e44df,getDefaultFeatureHeadingNames as _0x8bedad}from'./utils.js';import{diff as _0x295573,diffToChanges as _0x18414a}from'ckeditor5/src/utils.js';export default class i extends _0x23d2b8{static get[_0x4af838(0x20c)](){const _0x5546e1=_0x4af838;return _0x5546e1(0x1f0);}static get[_0x4af838(0x1ee)](){return!0x0;}static get[_0x4af838(0x208)](){return!0x0;}[_0x4af838(0x1f7)]=[];[_0x4af838(0x205)](){const _0x17074e=_0x4af838,_0x412890=this[_0x17074e(0x1f4)];this[_0x17074e(0x1f7)]=this[_0x17074e(0x1dd)]();let _0x23701b=[];_0x412890[_0x17074e(0x1da)][_0x17074e(0x1fe)]['on'](_0x17074e(0x1de),_0x1adffa(()=>{const _0x200391=_0x17074e,_0x4ffd8b=_0x23701b;_0x23701b=this[_0x200391(0x1fa)]();const _0x488ad6=_0x295573(_0x4ffd8b,_0x23701b,(_0x2e5992,_0x299902)=>_0x2e5992[_0x200391(0x210)]===_0x299902[_0x200391(0x210)]&&_0x2e5992[_0x200391(0x1e6)]===_0x299902[_0x200391(0x1e6)]&&_0x2e5992[_0x200391(0x206)]===_0x299902[_0x200391(0x206)]),_0x3356e2=_0x18414a(_0x488ad6,_0x23701b),_0x47f10a=this[_0x200391(0x1e5)](),_0x369b29=_0x23701b[_0x200391(0x20f)](_0x437678=>_0x437678[_0x200391(0x206)]===_0x47f10a);_0x3356e2[_0x200391(0x202)]&&this[_0x200391(0x20d)](_0x200391(0x1de),{'outlineDefinitions':_0x23701b,'activeItemIndex':_0x369b29,'outlineChanges':_0x3356e2}),this[_0x200391(0x20d)](_0x200391(0x209),{'index':_0x369b29});},0xfa,{'leading':!0x0,'trailing':!0x0}));}[_0x4af838(0x20a)](){const _0x2db895=_0x4af838;this[_0x2db895(0x1f7)][_0x2db895(0x202)]||this[_0x2db895(0x1f1)]();}[_0x4af838(0x1fa)](){const _0x57f9a6=_0x4af838,_0x5d64f4=this[_0x57f9a6(0x1f4)],_0x2476c9=[],_0x3fa1a7=this[_0x57f9a6(0x1f7)];for(const _0x54ad18 of _0x5d64f4[_0x57f9a6(0x1da)][_0x57f9a6(0x1fe)][_0x57f9a6(0x1f8)]())_0x335bf1(_0x5d64f4[_0x57f9a6(0x1da)][_0x57f9a6(0x1fe)][_0x57f9a6(0x1d9)](_0x54ad18));function _0x335bf1(_0x43fa34){const _0x24c6c3=_0x57f9a6;for(const _0x432aca of _0x43fa34[_0x24c6c3(0x1f5)]())_0x432aca['is'](_0x24c6c3(0x1e4))&&(_0x3fa1a7[_0x24c6c3(0x200)](_0x432aca[_0x24c6c3(0x1f2)])&&_0x2476c9[_0x24c6c3(0x1eb)]({'level':_0x3fa1a7[_0x24c6c3(0x1ef)](_0x432aca[_0x24c6c3(0x1f2)])+0x1,'text':_0x9e44df(_0x432aca),'modelElement':_0x432aca}),_0x335bf1(_0x432aca));}return _0x2476c9;}[_0x4af838(0x1e5)](){const _0x26938e=_0x4af838,_0x24c7a2=this[_0x26938e(0x1f4)][_0x26938e(0x1da)][_0x26938e(0x1fe)][_0x26938e(0x1fd)][_0x26938e(0x1e2)](),_0x20e317=new _0x4ddde1({'direction':_0x26938e(0x20e),'startPosition':_0x24c7a2});for(const _0x315730 of _0x20e317)if(_0x315730[_0x26938e(0x207)]['is'](_0x26938e(0x1e4))&&this[_0x26938e(0x1f7)][_0x26938e(0x200)](_0x315730[_0x26938e(0x207)][_0x26938e(0x1f2)]))return _0x315730[_0x26938e(0x207)];}[_0x4af838(0x1dd)](){const _0x8d792d=_0x4af838,_0x58e3ef=this[_0x8d792d(0x1f4)][_0x8d792d(0x204)][_0x8d792d(0x1f3)](_0x8d792d(0x1ea));return _0x58e3ef||_0x8bedad(this[_0x8d792d(0x1f4)]);}[_0x4af838(0x1f1)](){const _0x18a5d3=_0x4af838,_0x1d6bed=this[_0x18a5d3(0x1f4)],_0x515a84=['h1','h2','h3','h4','h5','h6'],_0x7216d5=[];for(const _0x3b0383 of _0x515a84){const _0x987d38=_0x1d6bed[_0x18a5d3(0x1e0)][_0x18a5d3(0x1f9)][_0x18a5d3(0x20b)][_0x18a5d3(0x203)](document[_0x18a5d3(0x1dc)](_0x3b0383)),_0x220aa7=_0x1d6bed[_0x18a5d3(0x1ff)][_0x18a5d3(0x1df)](_0x987d38)[_0x18a5d3(0x1e3)](0x0);_0x220aa7?.['is'](_0x18a5d3(0x1e4))&&_0x7216d5[_0x18a5d3(0x1eb)](_0x220aa7[_0x18a5d3(0x1f2)]);}this[_0x18a5d3(0x1f7)]=_0x7216d5;}}function _0x5395(){const _0x177666=['3032785GVYcUA','_headingNames','getRootNames','view','_getOutlineDefinitions','360454BJuETE','144133ncnUiy','selection','document','data','includes','1008192vUDvhq','length','domToView','config','init','modelElement','item','isPremiumPlugin','activeItemIndex','afterInit','domConverter','pluginName','fire','backward','findIndex','level','getRoot','model','592193BGZtTD','createElement','_getHeadingNames','change','toModel','editing','8gvbasl','getFirstPosition','getChild','element','_getActiveHeading','text','4KYFyFO','472335bcyrIn','12ZScZFD','documentOutline.headings','push','5383071RQrIzn','530qEzsEu','isOfficialPlugin','indexOf','DocumentOutlineUtils','_deriveHeadingElementsFromConversion','name','get','editor','getChildren'];_0x5395=function(){return _0x177666;};return _0x5395();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x3c86cb,_0x1bc123){const _0x8a3b2f=_0x170d,_0x198f68=_0x3c86cb();while(!![]){try{const _0x5ced70=parseInt(_0x8a3b2f(0x16a))/0x1+-parseInt(_0x8a3b2f(0x173))/0x2+parseInt(_0x8a3b2f(0x16f))/0x3*(parseInt(_0x8a3b2f(0x177))/0x4)+-parseInt(_0x8a3b2f(0x168))/0x5*(-parseInt(_0x8a3b2f(0x17f))/0x6)+-parseInt(_0x8a3b2f(0x178))/0x7*(-parseInt(_0x8a3b2f(0x171))/0x8)+-parseInt(_0x8a3b2f(0x17b))/0x9+-parseInt(_0x8a3b2f(0x174))/0xa*(parseInt(_0x8a3b2f(0x16d))/0xb);if(_0x5ced70===_0x1bc123)break;else _0x198f68['push'](_0x198f68['shift']());}catch(_0xa6e1da){_0x198f68['push'](_0x198f68['shift']());}}}(_0x8ee5,0x9cc4c));import{View as _0x2d8bba}from'ckeditor5/src/ui.js';function _0x170d(_0x1243ab,_0x576b26){const _0x8ee5ec=_0x8ee5();return _0x170d=function(_0x170ddb,_0x55fe7b){_0x170ddb=_0x170ddb-0x166;let _0x1e7698=_0x8ee5ec[_0x170ddb];return _0x1e7698;},_0x170d(_0x1243ab,_0x576b26);}function _0x8ee5(){const _0x618e46=['4ypKepE','4210598zqXbjJ','ck-document-outline__item','setTemplate','912825cuwJKw','Empty\x20heading','bind','isActive','31974KJyBAD','set','click','ck-document-outline__item_level-','490aoDxKr','isEmpty','955044eXGSei','ck-document-outline__item_empty','div','22BfBuTo','ck-reset','3191409xXoDLb','text','8WzkpVv','ck-document-outline__item_active','255240hSEjAp','11357170iuRBUM','bindTemplate','level'];_0x8ee5=function(){return _0x618e46;};return _0x8ee5();}import{getTranslation as _0x47a915}from'../../utils/common-translations.js';export default class $ extends _0x2d8bba{constructor(_0x38e485,_0x4a67a2=!0x1){const _0x4f707d=_0x170d;super(_0x38e485);const _0x43d638=this[_0x4f707d(0x175)],_0x2ba74f=_0x4a67a2?'['+_0x47a915(_0x38e485,_0x4f707d(0x17c))+']':'';this[_0x4f707d(0x180)](_0x4f707d(0x170),''),this[_0x4f707d(0x180)](_0x4f707d(0x176),0x1),this[_0x4f707d(0x180)](_0x4f707d(0x17e),!0x1),this[_0x4f707d(0x17d)](_0x4f707d(0x169))['to'](this,_0x4f707d(0x170),_0x1f4090=>!_0x1f4090),this[_0x4f707d(0x17a)]({'tag':_0x4f707d(0x16c),'attributes':{'class':['ck',_0x4f707d(0x16e),_0x4f707d(0x179),_0x43d638['to'](_0x4f707d(0x176),_0x3e86a5=>_0x4f707d(0x167)+_0x3e86a5),_0x43d638['if'](_0x4f707d(0x17e),_0x4f707d(0x172)),_0x43d638['if'](_0x4f707d(0x169),_0x4f707d(0x16b))],'title':_0x43d638['to'](_0x4f707d(0x170))},'children':[{'text':_0x43d638['to'](_0x4f707d(0x170),_0x2ac537=>_0x2ac537||_0x2ba74f)}],'on':{'click':_0x43d638['to'](_0x4f707d(0x166))}});}}
|