@ckeditor/ckeditor5-document-outline 46.1.1-alpha.2 → 46.1.1-alpha.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/document-outline.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +9 -9
- package/src/documentoutline/documentoutlineui.js +1 -1
- package/src/documentoutline/documentoutlineutils.js +1 -1
- package/src/documentoutline/ui/documentoutlineitemview.js +1 -1
- package/src/documentoutline/ui/documentoutlineview.js +1 -1
- package/src/tableofcontents/headingid.js +1 -1
- package/src/tableofcontents/tableofcontentscommand.js +1 -1
- package/src/tableofcontents/tableofcontentsediting.js +1 -1
- package/src/tableofcontents/tableofcontentsui.js +1 -1
package/dist/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as _0x47c3e7,Command as _0x78c861}from'@ckeditor/ckeditor5-core/dist/index.js';import{debounce as _0x31b125,throttle as _0x1c4127}from'es-toolkit/compat';import{ModelText as _0x5ae900,ModelTreeWalker as _0x4cbbd6}from'@ckeditor/ckeditor5-engine/dist/index.js';import{diff as _0x4a92c2,diffToChanges as _0x11dcba,scrollAncestorsToShowTarget as _0x18e468,CKEditorError as _0xbc006c,global as _0x11e76b,Rect as _0x49baeb,uid as _0x2aaad2,priorities as _0x2b563f}from'@ckeditor/ckeditor5-utils/dist/index.js';import{View as _0x22ddca,ButtonView as _0x4f9960,MenuBarMenuListItemButtonView as _0x106904}from'@ckeditor/ckeditor5-ui/dist/index.js';import{Widget as _0x47a535,toWidget as _0x1558f1}from'@ckeditor/ckeditor5-widget/dist/index.js';import{IconTableOfContents as _0x42d280}from'@ckeditor/ckeditor5-icons/dist/index.js';function I(_0x186a35){let _0x326a81='';for(const _0x515b17 of _0x186a35['getChildren']())_0x515b17 instanceof _0x5ae900&&(_0x326a81+=_0x515b17['data']);return _0x326a81;}class i extends _0x47c3e7{static get['pluginName'](){return'DocumentOutlineUtils';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['_headingNames']=[];['init'](){const _0x2250d9=this['editor'];this['_headingNames']=this['_getHeadingNames']();let _0x1818d4=[];_0x2250d9['model']['document']['on']('change',_0x31b125(()=>{const _0x1a9ef5=_0x1818d4;_0x1818d4=this['_getOutlineDefinitions']();const _0x30a692=_0x4a92c2(_0x1a9ef5,_0x1818d4,(_0xee65fb,_0x1e4016)=>_0xee65fb['level']===_0x1e4016['level']&&_0xee65fb['text']===_0x1e4016['text']&&_0xee65fb['modelElement']===_0x1e4016['modelElement']),_0x164e17=_0x11dcba(_0x30a692,_0x1818d4),_0x2e9610=this['_getActiveHeading'](),_0x30e8d3=_0x1818d4['findIndex'](_0x11a178=>_0x11a178['modelElement']===_0x2e9610);_0x164e17['length']&&this['fire']('change',{'outlineDefinitions':_0x1818d4,'activeItemIndex':_0x30e8d3,'outlineChanges':_0x164e17}),this['fire']('activeItemIndex',{'index':_0x30e8d3});},0xfa,{'leading':!0x0,'trailing':!0x0}));}['afterInit'](){this['_headingNames']['length']||this['_deriveHeadingElementsFromConversion']();}['_getOutlineDefinitions'](){const _0x5a5b3c=this['editor'],_0x27a424=[],_0x3e3e94=this['_headingNames'];for(const _0x466355 of _0x5a5b3c['model']['document']['getRootNames']())_0xbbfd36(_0x5a5b3c['model']['document']['getRoot'](_0x466355));function _0xbbfd36(_0x503f35){for(const _0x1be813 of _0x503f35['getChildren']())_0x1be813['is']('element')&&(_0x3e3e94['includes'](_0x1be813['name'])&&_0x27a424['push']({'level':_0x3e3e94['indexOf'](_0x1be813['name'])+0x1,'text':I(_0x1be813),'modelElement':_0x1be813}),_0xbbfd36(_0x1be813));}return _0x27a424;}['_getActiveHeading'](){const _0x5ad8a9=this['editor']['model']['document']['selection']['getFirstPosition'](),_0x3b97e3=new _0x4cbbd6({'direction':'backward','startPosition':_0x5ad8a9});for(const _0x3fafc9 of _0x3b97e3)if(_0x3fafc9['item']['is']('element')&&this['_headingNames']['includes'](_0x3fafc9['item']['name']))return _0x3fafc9['item'];}['_getHeadingNames'](){const _0xa35e16=this['editor']['config']['get']('documentOutline.headings');return _0xa35e16||function(_0x1758d8){const _0x360c6b=_0x1758d8['config']['get']('heading.options');return _0x360c6b?_0x360c6b['reduce']((_0x11ee32,_0x54a6d4)=>('paragraph'!==_0x54a6d4['model']&&_0x11ee32['push'](_0x54a6d4['model']),_0x11ee32),[]):_0x1758d8['plugins']['has']('GeneralHtmlSupport')?['htmlH1','htmlH2','htmlH3','htmlH4','htmlH5','htmlH6']:[];}(this['editor']);}['_deriveHeadingElementsFromConversion'](){const _0x37ba24=this['editor'],_0xe7cc73=['h1','h2','h3','h4','h5','h6'],_0x187f23=[];for(const _0x2165c9 of _0xe7cc73){const _0x3fb426=_0x37ba24['editing']['view']['domConverter']['domToView'](document['createElement'](_0x2165c9)),_0x2cdfd6=_0x37ba24['data']['toModel'](_0x3fb426)['getChild'](0x0);_0x2cdfd6?.['is']('element')&&_0x187f23['push'](_0x2cdfd6['name']);}this['_headingNames']=_0x187f23;}}function m(_0x57fd28,_0x213e44){const t=_0x57fd28['t'];switch(_0x213e44){case'Empty\x20heading':return t('Empty\x20heading');case'Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':return t('Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.');case'No\x20headings\x20were\x20found\x20in\x20the\x20document.':return t('No\x20headings\x20were\x20found\x20in\x20the\x20document.');case'Table\x20of\x20contents':return t('Table\x20of\x20contents');default:return _0x213e44;}}class A extends _0x22ddca{constructor(_0x14cda4,_0xe2a03a=!0x1){super(_0x14cda4);const _0x5e3b7c=this['bindTemplate'],_0x709449=_0xe2a03a?'['+m(_0x14cda4,'Empty\x20heading')+']':'';this['set']('text',''),this['set']('level',0x1),this['set']('isActive',!0x1),this['bind']('isEmpty')['to'](this,'text',_0x39f1d5=>!_0x39f1d5),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline__item',_0x5e3b7c['to']('level',_0x3e2c83=>'ck-document-outline__item_level-'+_0x3e2c83),_0x5e3b7c['if']('isActive','ck-document-outline__item_active'),_0x5e3b7c['if']('isEmpty','ck-document-outline__item_empty')],'title':_0x5e3b7c['to']('text')},'children':[{'text':_0x5e3b7c['to']('text',_0x541720=>_0x541720||_0x709449)}],'on':{'click':_0x5e3b7c['to']('click')}});}}class g extends _0x22ddca{['items'];['documentOutlineContainer'];['showEmptyHeadingText'];constructor(_0x59421e,_0x37317f=!0x1,_0x4470e8){super(_0x59421e),this['showEmptyHeadingText']=_0x37317f,this['set']('activeItemIndex',-0x1),this['documentOutlineContainer']=_0x4470e8,this['items']=this['createCollection'](),this['items']['delegate']('click')['to'](this),this['on']('click',this['_handleItemClick']['bind'](this)),this['on']('change:activeItemIndex',(_0x348e79,_0x33f8f7,_0x41d731,_0x52a694)=>{this['_setActiveItem'](_0x52a694,_0x41d731);}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline'],'dir':_0x59421e['contentLanguageDirection'],'data-document-outline-empty-placeholder':m(_0x59421e,'Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.'),'tabindex':-0x1},'children':this['items']});}['sync'](_0x197eba){_0x197eba['forEach'](_0x4f493c=>{'insert'==_0x4f493c['type']?this['_insertItem'](_0x4f493c['index'],..._0x4f493c['values']):'delete'==_0x4f493c['type']&&this['_deleteItem'](_0x4f493c['index'],_0x4f493c['howMany']);});}['_setActiveItem'](_0x222cf1,_0xdb765f){if(-0x1!==_0x222cf1){const _0xfc56ae=this['items']['get'](_0x222cf1);_0xfc56ae&&(_0xfc56ae['isActive']=!0x1);}-0x1!==_0xdb765f&&(this['items']['get'](_0xdb765f)['isActive']=!0x0,this['_scrollToItem'](_0xdb765f));}['_insertItem'](_0x4c4d5b,..._0x32554b){const _0x29947c=_0x32554b['map']((_0x17824a,_0x4aafd4)=>{const _0x52d3d6=new A(this['locale'],this['showEmptyHeadingText']);return _0x52d3d6['text']=_0x17824a['text'],_0x52d3d6['level']=_0x17824a['level'],_0x4c4d5b+_0x4aafd4===this['activeItemIndex']&&(_0x52d3d6['isActive']=!0x0),_0x52d3d6;});this['items']['addMany'](_0x29947c,_0x4c4d5b);}['_deleteItem'](_0xfa3c5d,_0x30cf5f){do{this['items']['remove'](_0xfa3c5d);}while(--_0x30cf5f);}['_handleItemClick'](_0x23a54d){const _0x35eb28=this['items']['getIndex'](_0x23a54d['source']);this['fire']('itemSelected',_0x35eb28);}['_scrollToItem'](_0x5bc4a4){_0x18e468(this['items']['get'](_0x5bc4a4)['element'],0x14,this['documentOutlineContainer']);}['destroy'](){super['destroy'](),this['element']['remove']();}}class n extends _0x47c3e7{['view'];['_currentOutlineDefinitions'];['_updateActiveDefinitionFromViewportThrottled'];static get['pluginName'](){return'DocumentOutlineUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x326c56){super(_0x326c56),this['view']=new g(_0x326c56['locale'],this['editor']['config']['get']('documentOutline.showEmptyHeadings'),this['editor']['config']['get']('documentOutline.container')),this['_currentOutlineDefinitions']=[],this['_updateActiveDefinitionFromViewportThrottled']=_0x1c4127(this['_updateActiveDefinitionOnViewportChange']['bind'](this),0x64);}['init'](){const _0x28eba2=this['editor'],_0x125536=_0x28eba2['plugins']['get']('DocumentOutlineUtils');let _0x6becfa=!0x1;if(this['view']['render'](),this['editor']['ui']['focusTracker']['add'](this['view']['element']),!_0x28eba2['config']['get']('documentOutline.container'))throw new _0xbc006c('document-outline-container-not-provided',{'editor':_0x28eba2});_0x28eba2['config']['get']('documentOutline.container')['appendChild'](this['view']['element']),_0x125536['on']('change',this['_handleOutlineChange']['bind'](this)),_0x125536['on']('activeItemIndex',(_0x43d96b,{index:_0x4a1360})=>this['_setActiveViewItem'](_0x4a1360)),this['view']['on']('itemSelected',(_0x5d3413,_0x489f32)=>{_0x6becfa=!0x0,this['_handleItemSelected'](_0x489f32);}),this['view']['listenTo'](_0x11e76b['document'],'scroll',()=>{_0x6becfa?_0x6becfa=!0x1:this['_updateActiveDefinitionFromViewportThrottled']();},{'useCapture':!0x0}),this['view']['listenTo'](_0x11e76b['window'],'resize',this['_updateActiveDefinitionFromViewportThrottled'],{'useCapture':!0x0});}['afterInit'](){!async function(_0xd656cc){const _0x4b123c=_0xcafcc5([0x61,0x57,0x78,0x6c,0x50,0x47,0x30,0x41,0x33,0x43,0x44,0x64,0x48,0x42,0x73,0x5a,0x45,0x71,0x77,0x55,0x4c,0x6f,0x6a,0x4f,0x72,0x67,0x4d,0x58,0x56,0x54,0x52,0x76,0x75,0x31,0x62,0x49,0x32,0x34,0x38,0x37,0x70,0x74,0x7a,0x4a,0x4b,0x51,0x65,0x69,0x68,0x66,0x4e,0x6b,0x59,0x53,0x39,0x6e,0x36,0x79,0x35,0x6d,0x63,0x46]),_0x203ea3=0x1cb264a3,_0x124522=0x1cb517fb^_0x203ea3,_0x1ec7c5=window[_0xcafcc5([0x44,0x61,0x74,0x65])][_0xcafcc5([0x6e,0x6f,0x77])](),_0x377b4b=_0xd656cc[_0xcafcc5([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4b9e6b=new window[(_0xcafcc5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x47e974=>{_0x377b4b[_0xcafcc5([0x6f,0x6e,0x63,0x65])](_0xcafcc5([0x72,0x65,0x61,0x64,0x79]),_0x47e974);}),_0x217fb6={[_0xcafcc5([0x6b,0x74,0x79])]:_0xcafcc5([0x45,0x43]),[_0xcafcc5([0x75,0x73,0x65])]:_0xcafcc5([0x73,0x69,0x67]),[_0xcafcc5([0x63,0x72,0x76])]:_0xcafcc5([0x50,0x2d,0x32,0x35,0x36]),[_0xcafcc5([0x78])]:_0xcafcc5([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0xcafcc5([0x79])]:_0xcafcc5([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0xcafcc5([0x61,0x6c,0x67])]:_0xcafcc5([0x45,0x53,0x32,0x35,0x36])},_0x4d2f83=_0x377b4b[_0xcafcc5([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xcafcc5([0x67,0x65,0x74])](_0xcafcc5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x15f9dc(){let _0x20ec91,_0x433704=null,_0x46d0a0=null;try{if(_0x4d2f83==_0xcafcc5([0x47,0x50,0x4c]))return _0xcafcc5([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x20ec91=_0x472fd3(),!_0x20ec91)return _0xcafcc5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x20ec91[_0xcafcc5([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x46d0a0=_0x137d90(_0x20ec91[_0xcafcc5([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x20ec91[_0xcafcc5([0x6a,0x74,0x69])])),await _0x2e1d21()?_0x4d33b5()?_0x30be44()?_0xcafcc5([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x574d0e()?(_0x20ec91[_0xcafcc5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xcafcc5([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x433704=_0x29cefa(_0xcafcc5([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x20ec91[_0xcafcc5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xcafcc5([0x74,0x72,0x69,0x61,0x6c])&&(_0x433704=_0x29cefa(_0xcafcc5([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3541bb()):_0xcafcc5([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xcafcc5([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xcafcc5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0xcafcc5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x30be44(){const _0x273df2=[_0xcafcc5([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xcafcc5([0x74,0x72,0x69,0x61,0x6c])][_0xcafcc5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x20ec91[_0xcafcc5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1ec7c5/0x3e8:0xe10*_0x124522;return _0x20ec91[_0xcafcc5([0x65,0x78,0x70])]<_0x273df2;}function _0x4d33b5(){const _0x56f5cf=_0x20ec91[_0xcafcc5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x56f5cf&&(!!_0x56f5cf[_0xcafcc5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xcafcc5([0x2a]))||(!!_0x56f5cf[_0xcafcc5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xcafcc5([0x44,0x4f]))||(!!_0x56f5cf[_0xcafcc5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xcafcc5([0x50,0x50]))||!(!_0x56f5cf[_0xcafcc5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xcafcc5([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x450051()))));}function _0x574d0e(){const _0x3a2192=_0x20ec91[_0xcafcc5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3a2192||0x0==_0x3a2192[_0xcafcc5([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4abe30}=new URL(window[_0xcafcc5([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3a2192[_0xcafcc5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4abe30))return!0x0;const _0x24bd88=_0x4abe30[_0xcafcc5([0x73,0x70,0x6c,0x69,0x74])](_0xcafcc5([0x2e]));return _0x3a2192[_0xcafcc5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x11243f=>_0x11243f[_0xcafcc5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xcafcc5([0x2a])))[_0xcafcc5([0x6d,0x61,0x70])](_0x343b44=>_0x343b44[_0xcafcc5([0x73,0x70,0x6c,0x69,0x74])](_0xcafcc5([0x2e])))[_0xcafcc5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x8e24f5=>_0x8e24f5[_0xcafcc5([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x24bd88[_0xcafcc5([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xcafcc5([0x6d,0x61,0x70])](_0x96dbbf=>Array(_0x24bd88[_0xcafcc5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x96dbbf[_0xcafcc5([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xcafcc5([0x66,0x69,0x6c,0x6c])](_0x96dbbf[0x0]===_0xcafcc5([0x2a])?_0xcafcc5([0x2a]):'')[_0xcafcc5([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x96dbbf))[_0xcafcc5([0x73,0x6f,0x6d,0x65])](_0x114a90=>_0x24bd88[_0xcafcc5([0x65,0x76,0x65,0x72,0x79])]((_0x559b52,_0x435073)=>_0x114a90[_0x435073]===_0x559b52||_0x114a90[_0x435073]===_0xcafcc5([0x2a])));}function _0x3541bb(){return _0x433704&&_0x46d0a0?new window[(_0xcafcc5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4f866,_0xf30b78)=>{_0x433704[_0xcafcc5([0x74,0x68,0x65,0x6e])](_0x4f866,_0xf30b78),_0x46d0a0[_0xcafcc5([0x74,0x68,0x65,0x6e])](_0x246034=>{_0x246034!=_0xcafcc5([0x56,0x61,0x6c,0x69,0x64])&&_0x4f866(_0x246034);},_0xf30b78);}):_0x433704||_0x46d0a0||_0xcafcc5([0x56,0x61,0x6c,0x69,0x64]);}}function _0x137d90(_0x2f1ae6,_0x487f30){return new window[(_0xcafcc5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x29f4fc=>{if(_0x30e3b8())return _0x29f4fc(_0xcafcc5([0x56,0x61,0x6c,0x69,0x64]));_0x51c29b(),_0x377b4b[_0xcafcc5([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xcafcc5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x18dc79=!0x1;const _0x5851e7=_0x2aaad2();function _0x5d028b(_0x119055){return!!_0x119055&&(typeof _0x119055===_0xcafcc5([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x119055===_0xcafcc5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x119055[_0xcafcc5([0x74,0x68,0x65,0x6e])]===_0xcafcc5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x119055[_0xcafcc5([0x63,0x61,0x74,0x63,0x68])]===_0xcafcc5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x59371d(_0x5e1d0b){_0x243178(_0x5e1d0b)[_0xcafcc5([0x74,0x68,0x65,0x6e])](_0x36982b=>{if(!_0x36982b||_0x36982b[_0xcafcc5([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xcafcc5([0x6f,0x6b]))return _0xcafcc5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x304a1f(_0x4b0807(_0x5851e7+_0x487f30))!=_0x36982b[_0xcafcc5([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xcafcc5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xcafcc5([0x56,0x61,0x6c,0x69,0x64]);})[_0xcafcc5([0x74,0x68,0x65,0x6e])](_0x2981ef=>(_0x2c6f10(),_0x2981ef),()=>{const _0x3301dd=_0x127ff4();return null==_0x3301dd?(_0x2c6f10(),_0xcafcc5([0x56,0x61,0x6c,0x69,0x64])):_0xcafcc5(_0x1ec7c5-_0x3301dd>(0x38bee0a3^_0x203ea3)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xcafcc5([0x74,0x68,0x65,0x6e])](_0x29f4fc)[_0xcafcc5([0x63,0x61,0x74,0x63,0x68])](()=>{_0x29f4fc(_0xcafcc5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xb91d38=0x1c848a23^_0x203ea3;function _0x2c6f10(){const _0x3e3c15=_0xcafcc5([0x6c,0x6c,0x63,0x74,0x2d])+_0x304a1f(_0x4b0807(_0x2f1ae6)),_0x34cec8=_0x16feff(_0x304a1f(window[_0xcafcc5([0x4d,0x61,0x74,0x68])][_0xcafcc5([0x63,0x65,0x69,0x6c])](_0x1ec7c5/_0xb91d38)));window[_0xcafcc5([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xcafcc5([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3e3c15,_0x34cec8);}function _0x127ff4(){const _0x440337=_0xcafcc5([0x6c,0x6c,0x63,0x74,0x2d])+_0x304a1f(_0x4b0807(_0x2f1ae6)),_0x2f7865=window[_0xcafcc5([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xcafcc5([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x440337);return _0x2f7865?window[_0xcafcc5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x16feff(_0x2f7865),0x10)*_0xb91d38:null;}function _0x243178(_0x516fa8){return new window[(_0xcafcc5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x48a818,_0x617d89)=>{_0x516fa8[_0xcafcc5([0x74,0x68,0x65,0x6e])](_0x48a818,_0x617d89),window[_0xcafcc5([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x617d89,0x1cb3b063^_0x203ea3);});}}_0x377b4b[_0xcafcc5([0x6f,0x6e])](_0xcafcc5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x284eb2,_0x40bad3)=>{if(_0x40bad3[0x0]!=_0x2f1ae6)return _0x29f4fc(_0xcafcc5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x40bad3[0x1]={..._0x40bad3[0x1],[_0xcafcc5([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5851e7};},{[_0xcafcc5([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xcafcc5([0x68,0x69,0x67,0x68])}),_0x377b4b[_0xcafcc5([0x6f,0x6e])](_0xcafcc5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x12c9e5=>{_0x5d028b(_0x12c9e5[_0xcafcc5([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x18dc79=!0x0,_0x59371d(_0x12c9e5[_0xcafcc5([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xcafcc5([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xcafcc5([0x6c,0x6f,0x77])}),_0x4b9e6b[_0xcafcc5([0x74,0x68,0x65,0x6e])](()=>{_0x18dc79||_0x29f4fc(_0xcafcc5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x30e3b8(){return _0x377b4b[_0xcafcc5([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xcafcc5([0x76,0x69,0x65,0x77])][_0xcafcc5([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xcafcc5([0x61,0x75,0x74,0x6f]);}function _0x51c29b(){_0x377b4b[_0xcafcc5([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xcafcc5([0x76,0x69,0x65,0x77])][_0xcafcc5([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xcafcc5([0x61,0x75,0x74,0x6f]);}}function _0x29cefa(_0x581986){const _0x2c34d4=[new window[(_0xcafcc5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5649e9=>setTimeout(_0x5649e9,0x1cbb5a6f^_0x203ea3)),_0x4b9e6b[_0xcafcc5([0x74,0x68,0x65,0x6e])](()=>new window[(_0xcafcc5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x593cff=>{let _0x629f48=0x0;_0x377b4b[_0xcafcc5([0x6d,0x6f,0x64,0x65,0x6c])][_0xcafcc5([0x6f,0x6e])](_0xcafcc5([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x13867d,_0x406d7a)=>{_0x406d7a[0x0][_0xcafcc5([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x629f48++,_0x629f48==(0x1cb2655b^_0x203ea3)&&(_0x593cff(),_0x13867d[_0xcafcc5([0x6f,0x66,0x66])]());});}))];return window[_0xcafcc5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xcafcc5([0x72,0x61,0x63,0x65])](_0x2c34d4)[_0xcafcc5([0x74,0x68,0x65,0x6e])](()=>_0x581986);}async function _0x296b51(){await _0x4b9e6b,_0x377b4b[_0xcafcc5([0x6d,0x6f,0x64,0x65,0x6c])][_0xcafcc5([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x71e76a,_0x377b4b[_0xcafcc5([0x6d,0x6f,0x64,0x65,0x6c])][_0xcafcc5([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x71e76a,_0x377b4b[_0xcafcc5([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xcafcc5([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x450051(){return window[_0xcafcc5([0x67,0x6c,0x6f,0x62])]&&window[_0xcafcc5([0x67,0x6c,0x6f,0x62])][_0xcafcc5([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x45ef6b(_0xbb6042){const _0x5d887d=_0x558510();_0x377b4b[_0x5d887d]=_0xcafcc5([0x64,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xbb6042,_0xbb6042!=_0xcafcc5([0x56,0x61,0x6c,0x69,0x64])&&_0x296b51();}function _0x558510(){const _0x228552=window[_0xcafcc5([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xcafcc5([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xcafcc5([0x6e,0x6f,0x77])]())[_0xcafcc5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xcafcc5([0x2e]),'');let _0x118771=_0xcafcc5([0x61]);for(let _0x4cff10=0x0;_0x4cff10<_0x228552[_0xcafcc5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4cff10+=0x2){let _0x338be4=window[_0xcafcc5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x228552[_0xcafcc5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4cff10,_0x4cff10+0x2));_0x338be4>=_0x4b123c[_0xcafcc5([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x338be4-=_0x4b123c[_0xcafcc5([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x118771+=_0x4b123c[_0x338be4];}return _0x118771;}function _0x472fd3(){const _0x32afdd=_0x4d2f83[_0xcafcc5([0x73,0x70,0x6c,0x69,0x74])](_0xcafcc5([0x2e]));if(0x3!=_0x32afdd[_0xcafcc5([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x11db8e(_0x32afdd[0x1]);function _0x11db8e(_0x116dcd){const _0x2b3828=_0x53fa39(_0x116dcd);return _0x2b3828&&_0xec29b4()?_0x2b3828:null;function _0xec29b4(){const _0xb3a397=_0x2b3828[_0xcafcc5([0x6a,0x74,0x69])],_0x57e34c=window[_0xcafcc5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xb3a397[_0xcafcc5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xb3a397[_0xcafcc5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x421141={..._0x2b3828,[_0xcafcc5([0x6a,0x74,0x69])]:_0xb3a397[_0xcafcc5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xb3a397[_0xcafcc5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x421141[_0xcafcc5([0x76,0x63])],_0x4b0807(_0x421141)==_0x57e34c;}}}async function _0x2e1d21(){let _0x53024e=!0x0;try{const _0x23669f=_0x4d2f83[_0xcafcc5([0x73,0x70,0x6c,0x69,0x74])](_0xcafcc5([0x2e])),[_0x11f8c3,_0x542ed1,_0x351b57]=_0x23669f;return _0x345e0d(_0x11f8c3),await _0x182e5a(_0x11f8c3,_0x542ed1,_0x351b57),_0x53024e;}catch{return!0x1;}function _0x345e0d(_0x8478d0){const _0x42e6c5=_0x53fa39(_0x8478d0);_0x42e6c5&&_0x42e6c5[_0xcafcc5([0x61,0x6c,0x67])]==_0xcafcc5([0x45,0x53,0x32,0x35,0x36])||(_0x53024e=!0x1);}async function _0x182e5a(_0x581633,_0x2d29c9,_0x29701e){const _0x43a4e3=window[_0xcafcc5([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xcafcc5([0x66,0x72,0x6f,0x6d])](_0x50bb65(_0x29701e),_0x314ca0=>_0x314ca0[_0xcafcc5([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x298405=new window[(_0xcafcc5([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xcafcc5([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x581633+_0xcafcc5([0x2e])+_0x2d29c9),_0xefad97=window[_0xcafcc5([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xcafcc5([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xefad97)return;const _0x27f88a=await _0xefad97[_0xcafcc5([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xcafcc5([0x6a,0x77,0x6b]),_0x217fb6,{[_0xcafcc5([0x6e,0x61,0x6d,0x65])]:_0xcafcc5([0x45,0x43,0x44,0x53,0x41]),[_0xcafcc5([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xcafcc5([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xcafcc5([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xefad97[_0xcafcc5([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xcafcc5([0x6e,0x61,0x6d,0x65])]:_0xcafcc5([0x45,0x43,0x44,0x53,0x41]),[_0xcafcc5([0x68,0x61,0x73,0x68])]:{[_0xcafcc5([0x6e,0x61,0x6d,0x65])]:_0xcafcc5([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x27f88a,_0x43a4e3,_0x298405)||(_0x53024e=!0x1);}}function _0x53fa39(_0x3c079b){return _0x3c079b[_0xcafcc5([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xcafcc5([0x65,0x79]))?JSON[_0xcafcc5([0x70,0x61,0x72,0x73,0x65])](_0x50bb65(_0x3c079b)):null;}function _0x50bb65(_0x328d44){return window[_0xcafcc5([0x61,0x74,0x6f,0x62])](_0x328d44[_0xcafcc5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xcafcc5([0x2b]))[_0xcafcc5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xcafcc5([0x2f])));}function _0x4b0807(_0x2d55fe){let _0xa00db5=0x1505;function _0x17f047(_0x3257b5){for(let _0x2f95a6=0x0;_0x2f95a6<_0x3257b5[_0xcafcc5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2f95a6++){const _0x2c1250=_0x3257b5[_0xcafcc5([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2f95a6);_0xa00db5=(_0xa00db5<<0x5)+_0xa00db5+_0x2c1250,_0xa00db5&=_0xa00db5;}}function _0x1afdec(_0x5967da){Array[_0xcafcc5([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5967da)?_0x5967da[_0xcafcc5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1afdec):_0x5967da&&typeof _0x5967da==_0xcafcc5([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xcafcc5([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5967da)[_0xcafcc5([0x73,0x6f,0x72,0x74])]()[_0xcafcc5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x463d48,_0x277175])=>{_0x17f047(_0x463d48),_0x1afdec(_0x277175);}):_0x17f047(window[_0xcafcc5([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5967da));}return _0x1afdec(_0x2d55fe),_0xa00db5>>>0x0;}function _0x304a1f(_0x25cbf6){return _0x25cbf6[_0xcafcc5([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xcafcc5([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xcafcc5([0x30]));}function _0x16feff(_0x2add3d){return _0x2add3d[_0xcafcc5([0x73,0x70,0x6c,0x69,0x74])]('')[_0xcafcc5([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xcafcc5([0x6a,0x6f,0x69,0x6e])]('');}function _0x71e76a(){}function _0xcafcc5(_0x305b5a){return _0x305b5a['map'](_0x5d9e1f=>String['fromCharCode'](_0x5d9e1f))['join']('');}_0x45ef6b(await _0x15f9dc());}(this);}['destroy'](){super['destroy'](),this['view']['destroy'](),this['_updateActiveDefinitionFromViewportThrottled']['cancel']();}['_handleOutlineChange'](_0x56443a,{outlineDefinitions:_0x252236,outlineChanges:_0x4ffaad}){this['_currentOutlineDefinitions']=_0x252236,this['view']['sync'](_0x4ffaad);}['_setActiveViewItem'](_0x268748){this['_currentOutlineDefinitions']['length']&&this['_currentOutlineDefinitions'][_0x268748]&&(this['view']['activeItemIndex']=_0x268748);}['_handleItemSelected'](_0x24b7be){const _0x399e3d=this['_currentOutlineDefinitions'][_0x24b7be]['modelElement'];this['editor']['model']['change'](_0x5c89a6=>{_0x5c89a6['setSelection'](_0x399e3d,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0}),this['editor']['editing']['view']['focus'](),this['_setActiveViewItem'](_0x24b7be);}['_updateActiveDefinitionOnViewportChange'](){const _0x2ca097=this['editor'];let _0x268df3;for(const _0x4d193b of _0x2ca097['model']['document']['getRootNames']()){const _0x232783=_0x2ca097['editing']['view']['getDomRoot'](_0x4d193b),_0x2064e9=_0x232783&&new _0x49baeb(_0x232783)['getVisible']();if(_0x2064e9){const _0x5b6f1f=new _0x49baeb(_0x11e76b['window'])['getIntersection'](_0x2064e9);_0x5b6f1f&&(_0x268df3=_0x5b6f1f['top']+0.25*_0x5b6f1f['height']);}}if(void 0x0===_0x268df3)return;const _0x2bbeb4=D(_0x2ca097['editing'],this['_currentOutlineDefinitions'],_0x268df3);_0x2bbeb4?this['_setActiveViewItem'](this['_currentOutlineDefinitions']['indexOf'](_0x2bbeb4)):this['_setActiveViewItem'](-0x1);}}function D(_0xee0eb9,_0x28836c,_0x31c906,_0x3e893b=0x0,_0x28c7ff=_0x28836c['length']-0x1){const _0x4d7e20=Math['floor'](_0x3e893b+(_0x28c7ff-_0x3e893b)/0x2);if(_0x28c7ff>=_0x3e893b){const _0x35385d=_0x28836c[_0x4d7e20],_0x586548=_0xee0eb9['mapper']['toViewElement'](_0x35385d['modelElement']);if(!_0x586548)return null;const _0x26e6da=_0xee0eb9['view']['domConverter']['mapViewToDom'](_0x586548);return new _0x49baeb(_0x26e6da)['bottom']>_0x31c906?D(_0xee0eb9,_0x28836c,_0x31c906,_0x3e893b,_0x4d7e20-0x1):D(_0xee0eb9,_0x28836c,_0x31c906,_0x4d7e20+0x1,_0x28c7ff);}return _0x4d7e20<0x0?null:_0x28836c[_0x4d7e20];}class K extends _0x47c3e7{['licenseKey'];['_licenseKeyCheckInterval'];static get['requires'](){return[i,n];}static get['pluginName'](){return'DocumentOutline';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x11c80b=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x14e1c1;for(const _0x1f65d8 in _0x11c80b){const _0x4b16a3=_0x1f65d8,_0x5d16b1=_0x11c80b[_0x4b16a3];if('documentOutlineLicenseKeyValid'==_0x5d16b1||'documentOutlineLicenseKeyInvalid'==_0x5d16b1||'documentOutlineLicenseKeyExpired'==_0x5d16b1||'documentOutlineLicenseKeyDomainLimit'==_0x5d16b1||'documentOutlineLicenseKeyNotAllowed'==_0x5d16b1||'documentOutlineLicenseKeyEvaluationLimit'==_0x5d16b1||'documentOutlineLicenseKeyTrialLimit'==_0x5d16b1||'documentOutlineLicenseKeyUsageLimit'==_0x5d16b1){delete _0x11c80b[_0x4b16a3],_0x14e1c1=_0x5d16b1,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'documentOutlineLicenseKeyInvalid'==_0x14e1c1&&_0x11c80b['_showLicenseError']('invalid'),'documentOutlineLicenseKeyExpired'==_0x14e1c1&&_0x11c80b['_showLicenseError']('expired'),'documentOutlineLicenseKeyDomainLimit'==_0x14e1c1&&_0x11c80b['_showLicenseError']('domainLimit'),'documentOutlineLicenseKeyNotAllowed'==_0x14e1c1&&_0x11c80b['_showLicenseError']('featureNotAllowed','DocumentOutline'),'documentOutlineLicenseKeyEvaluationLimit'==_0x14e1c1&&_0x11c80b['_showLicenseError']('evaluationLimit'),'documentOutlineLicenseKeyTrialLimit'==_0x14e1c1&&_0x11c80b['_showLicenseError']('trialLimit'),'documentOutlineLicenseKeyUsageLimit'==_0x14e1c1&&_0x11c80b['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class w extends _0x78c861{['execute'](){this['editor']['model']['change'](_0x1b0698=>{this['editor']['model']['insertObject'](_0x1b0698['createElement']('tableOfContents'));});}['refresh'](){const _0x2c7790=this['editor']['model'],_0x401229=_0x2c7790['document']['selection']['getFirstPosition']();this['isEnabled']=null!==(_0x401229&&_0x2c7790['schema']['findAllowedParent'](_0x401229,'tableOfContents'));}}class h extends _0x47c3e7{static get['pluginName'](){return'HeadingId';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x5bfa62=this['editor'];if(_0x5bfa62['config']['get']('headingId.modelAttributeName'))return;(function(_0x320c09){const _0x1f4ae1=new Map();if(_0x320c09)return _0x320c09['forEach'](_0x2980f0=>{'paragraph'!==_0x2980f0['model']&&_0x1f4ae1['set'](_0x2980f0['view'],_0x2980f0['model']);}),_0x1f4ae1['get']('h1')||_0x1f4ae1['set']('h1','heading1'),_0x1f4ae1;return _0x1f4ae1;}(this['editor']['config']['get']('heading.options'))['forEach']((_0x35ca5d,_0x1a8e35)=>{this['_customUpcastHeadingsConversion'](_0x1a8e35),this['_customDataDowncastHeadingsConversion'](_0x35ca5d),_0x5bfa62['model']['schema']['isRegistered'](_0x35ca5d)&&_0x5bfa62['model']['schema']['extend'](_0x35ca5d,{'allowAttributes':'headingId'});}),this['_registerHeadingIdAttributePostfixer']());}['_customUpcastHeadingsConversion'](_0x349bd8){this['editor']['conversion']['for']('upcast')['add'](_0x34ddc5=>_0x34ddc5['on']('element:'+_0x349bd8,(_0x209512,_0x58e6c8,_0x622437)=>{const {consumable:_0x41f43b,writer:_0xbe0342}=_0x622437,_0x1f4432=_0x58e6c8['viewItem']['getAttribute']('id'),_0x54193f=_0x58e6c8['modelRange']['getContainedElement']();if(_0x54193f)return _0x1f4432&&_0x1f4432['length']||_0x54193f['hasAttribute']('headingId')?void(_0x41f43b['consume'](_0x58e6c8['viewItem'],{'attributes':['id']})&&_0xbe0342['setAttribute']('headingId',_0x1f4432,_0x54193f)):(_0x41f43b['consume'](_0x58e6c8['viewItem'],{'attributes':['id']}),void _0xbe0342['setAttribute']('headingId',_0x2aaad2(),_0x54193f));},{'priority':_0x2b563f['get']('low')+0.5}));}['_customDataDowncastHeadingsConversion'](_0x1ee1a1){this['editor']['conversion']['for']('downcast')['add'](_0xce7585=>_0xce7585['on']('attribute:headingId:'+_0x1ee1a1,(_0x294f9a,_0xd8195c,_0x3a6d95)=>{if(!_0x3a6d95['consumable']['consume'](_0xd8195c['item'],_0x294f9a['name']))return;const _0x3ac838=_0xd8195c['item']['getAttribute']('headingId'),_0x44be79=_0x3a6d95['mapper']['toViewElement'](_0xd8195c['item']);_0x3a6d95['writer']['setAttribute']('id',_0x3ac838,_0x44be79);}));}['_registerHeadingIdAttributePostfixer'](){const _0x442cbe=this['editor'],_0x1b3e76=new Set(),_0x4d9bc5=new Set();function _0x3af850(_0x14f5b5,_0x1a6104){const _0x1fdeb3=_0x2aaad2();return _0x4d9bc5['add'](_0x1fdeb3),_0x14f5b5['setAttribute']('headingId',_0x1fdeb3,_0x1a6104),_0x1fdeb3;}function _0xc55d5c(_0x47b5d2,_0x5d7aa0){_0x47b5d2['removeAttribute']('headingId',_0x5d7aa0);}_0x442cbe['model']['document']['registerPostFixer'](_0x40aa5f=>{const _0x5387e3=_0x442cbe['model']['document']['differ']['getChanges']();let _0x2089c2=!0x1;for(const _0x29e5de of _0x5387e3)if('insert'==_0x29e5de['type']&&_0x29e5de['name']){if(c(_0x29e5de['name'])){const _0x3a4a1e=_0x29e5de['attributes']['get']('headingId');'string'==typeof _0x3a4a1e?_0x1b3e76['has'](_0x3a4a1e)?(_0x3af850(_0x40aa5f,_0x29e5de['position']['nodeAfter']),_0x2089c2=!0x0):_0x4d9bc5['add'](_0x3a4a1e):(_0x3af850(_0x40aa5f,_0x29e5de['position']['nodeAfter']),_0x2089c2=!0x0);}else'string'==typeof _0x29e5de['attributes']['get']('headingId')&&(_0xc55d5c(_0x40aa5f,_0x29e5de['position']['nodeAfter']),_0x2089c2=!0x0);}else{if('remove'==_0x29e5de['type']){const _0x411ca9=_0x29e5de['attributes']['get']('headingId');'string'==typeof _0x411ca9&&_0x1b3e76['delete'](_0x411ca9);}}return _0x2089c2;}),_0x442cbe['model']['document']['on']('change',()=>{_0x4d9bc5['forEach'](_0x36cad5=>_0x1b3e76['add'](_0x36cad5)),_0x4d9bc5['clear']();});}}function c(_0x4a7421){return!!_0x4a7421['match'](/heading\d/);}class s extends _0x47c3e7{static get['pluginName'](){return'TableOfContentsEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x47a535,i,h];}['_currentOutlineDefinitions'];['_tableOfContentsElements'];['_headingIdModelAttributeName'];constructor(_0x2ec978){super(_0x2ec978),this['_currentOutlineDefinitions']=[],this['_tableOfContentsElements']=new Set(),this['_headingIdModelAttributeName']='headingId';}['init'](){const _0x27d678=this['editor'],_0x1a573f=_0x27d678['editing']['view']['document'];_0x27d678['config']['get']('headingId.modelAttributeName')&&(this['_headingIdModelAttributeName']=_0x27d678['config']['get']('headingId.modelAttributeName')),this['listenTo'](_0x1a573f,'click',(_0x9537a5,_0x4bea44)=>{if(!_0x4bea44['target'])return;const _0x19e19b=_0x4bea44['target']['getCustomProperty']('tableOfContentsHeadingIndex');Number['isInteger'](_0x19e19b)&&(_0x4bea44['domEvent']['preventDefault'](),_0x9537a5['stop'](),this['_handleScrollToHeading'](_0x19e19b));},{'priority':'high','context':'$capture'}),this['_defineSchema'](),this['_defineConverters'](),_0x27d678['commands']['add']('insertTableOfContents',new w(_0x27d678)),(_0x27d678['plugins']['get']('DocumentOutlineUtils')['on']('change',(_0x1a4fae,_0x4c6b2a)=>{this['_currentOutlineDefinitions']=_0x4c6b2a['outlineDefinitions'],this['_updateTableOfContentsElements']();}),this['listenTo'](_0x27d678['model']['document'],'change',()=>{this['_trackNewToCElements']();}));}['afterInit'](){!async function(_0x1877e1){const _0x535613=_0x48433c([0x6d,0x72,0x34,0x7a,0x32,0x79,0x61,0x6b,0x4d,0x33,0x78,0x30,0x70,0x68,0x74,0x44,0x37,0x6a,0x42,0x77,0x31,0x54,0x36,0x71,0x52,0x66,0x65,0x55,0x75,0x5a,0x63,0x4f,0x4c,0x4e,0x4b,0x56,0x67,0x51,0x53,0x50,0x45,0x39,0x69,0x47,0x49,0x48,0x6f,0x58,0x6c,0x4a,0x57,0x38,0x59,0x73,0x43,0x62,0x35,0x41,0x6e,0x64,0x46,0x76]),_0x5dcf12=0x6b9b05fd,_0x37c90d=0x6b9c76a5^_0x5dcf12,_0xb92e9a=window[_0x48433c([0x44,0x61,0x74,0x65])][_0x48433c([0x6e,0x6f,0x77])](),_0x22db43=_0x1877e1[_0x48433c([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x40b768=new window[(_0x48433c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x37333a=>{_0x22db43[_0x48433c([0x6f,0x6e,0x63,0x65])](_0x48433c([0x72,0x65,0x61,0x64,0x79]),_0x37333a);}),_0x3f4607={[_0x48433c([0x6b,0x74,0x79])]:_0x48433c([0x45,0x43]),[_0x48433c([0x75,0x73,0x65])]:_0x48433c([0x73,0x69,0x67]),[_0x48433c([0x63,0x72,0x76])]:_0x48433c([0x50,0x2d,0x32,0x35,0x36]),[_0x48433c([0x78])]:_0x48433c([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x48433c([0x79])]:_0x48433c([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x48433c([0x61,0x6c,0x67])]:_0x48433c([0x45,0x53,0x32,0x35,0x36])},_0xae9847=_0x22db43[_0x48433c([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x48433c([0x67,0x65,0x74])](_0x48433c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x21d930(){let _0x290a36,_0x50177c=null,_0x4247f5=null;try{if(_0xae9847==_0x48433c([0x47,0x50,0x4c]))return _0x48433c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x290a36=_0x20b8c9(),!_0x290a36)return _0x48433c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x290a36[_0x48433c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4247f5=_0x135b78(_0x290a36[_0x48433c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x290a36[_0x48433c([0x6a,0x74,0x69])])),await _0x1265ec()?_0x1ef4ac()?_0x275313()?_0x48433c([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x51cdeb()?(_0x290a36[_0x48433c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x48433c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x50177c=_0x528eb6(_0x48433c([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x290a36[_0x48433c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x48433c([0x74,0x72,0x69,0x61,0x6c])&&(_0x50177c=_0x528eb6(_0x48433c([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2d984b()):_0x48433c([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x48433c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x48433c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x48433c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x275313(){const _0xdfae39=[_0x48433c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x48433c([0x74,0x72,0x69,0x61,0x6c])][_0x48433c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x290a36[_0x48433c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xb92e9a/0x3e8:0xe10*_0x37c90d;return _0x290a36[_0x48433c([0x65,0x78,0x70])]<_0xdfae39;}function _0x1ef4ac(){const _0x41459c=_0x290a36[_0x48433c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x41459c&&(!!_0x41459c[_0x48433c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x48433c([0x2a]))||(!!_0x41459c[_0x48433c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x48433c([0x54,0x4f,0x43]))||(!!_0x41459c[_0x48433c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x48433c([0x50,0x50]))||!(!_0x41459c[_0x48433c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x48433c([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x1af616()))));}function _0x51cdeb(){const _0xdbd48a=_0x290a36[_0x48433c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xdbd48a||0x0==_0xdbd48a[_0x48433c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x284d87}=new URL(window[_0x48433c([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0xdbd48a[_0x48433c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x284d87))return!0x0;const _0x53888c=_0x284d87[_0x48433c([0x73,0x70,0x6c,0x69,0x74])](_0x48433c([0x2e]));return _0xdbd48a[_0x48433c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4dbb1e=>_0x4dbb1e[_0x48433c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x48433c([0x2a])))[_0x48433c([0x6d,0x61,0x70])](_0x49dc70=>_0x49dc70[_0x48433c([0x73,0x70,0x6c,0x69,0x74])](_0x48433c([0x2e])))[_0x48433c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1c3c92=>_0x1c3c92[_0x48433c([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x53888c[_0x48433c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x48433c([0x6d,0x61,0x70])](_0x22ed9d=>Array(_0x53888c[_0x48433c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x22ed9d[_0x48433c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x48433c([0x66,0x69,0x6c,0x6c])](_0x22ed9d[0x0]===_0x48433c([0x2a])?_0x48433c([0x2a]):'')[_0x48433c([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x22ed9d))[_0x48433c([0x73,0x6f,0x6d,0x65])](_0x4b79d4=>_0x53888c[_0x48433c([0x65,0x76,0x65,0x72,0x79])]((_0x5afbb6,_0x54220e)=>_0x4b79d4[_0x54220e]===_0x5afbb6||_0x4b79d4[_0x54220e]===_0x48433c([0x2a])));}function _0x2d984b(){return _0x50177c&&_0x4247f5?new window[(_0x48433c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x174161,_0x2e93f6)=>{_0x50177c[_0x48433c([0x74,0x68,0x65,0x6e])](_0x174161,_0x2e93f6),_0x4247f5[_0x48433c([0x74,0x68,0x65,0x6e])](_0x40d356=>{_0x40d356!=_0x48433c([0x56,0x61,0x6c,0x69,0x64])&&_0x174161(_0x40d356);},_0x2e93f6);}):_0x50177c||_0x4247f5||_0x48433c([0x56,0x61,0x6c,0x69,0x64]);}}function _0x135b78(_0x5e0680,_0x5c443a){return new window[(_0x48433c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1d19dd=>{if(_0x20c0ef())return _0x1d19dd(_0x48433c([0x56,0x61,0x6c,0x69,0x64]));_0x1dd476(),_0x22db43[_0x48433c([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x48433c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x50d43c=!0x1;const _0x3c9eb8=_0x2aaad2();function _0x5bee32(_0x34c500){return!!_0x34c500&&(typeof _0x34c500===_0x48433c([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x34c500===_0x48433c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x34c500[_0x48433c([0x74,0x68,0x65,0x6e])]===_0x48433c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x34c500[_0x48433c([0x63,0x61,0x74,0x63,0x68])]===_0x48433c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x52c89a(_0x2e919c){_0x27772d(_0x2e919c)[_0x48433c([0x74,0x68,0x65,0x6e])](_0xf8968d=>{if(!_0xf8968d||_0xf8968d[_0x48433c([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x48433c([0x6f,0x6b]))return _0x48433c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xf1eb94(_0x15c312(_0x3c9eb8+_0x5c443a))!=_0xf8968d[_0x48433c([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x48433c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x48433c([0x56,0x61,0x6c,0x69,0x64]);})[_0x48433c([0x74,0x68,0x65,0x6e])](_0x13945f=>(_0x172e80(),_0x13945f),()=>{const _0x3a9df5=_0x5320cf();return null==_0x3a9df5?(_0x172e80(),_0x48433c([0x56,0x61,0x6c,0x69,0x64])):_0x48433c(_0xb92e9a-_0x3a9df5>(0x4f9781fd^_0x5dcf12)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x48433c([0x74,0x68,0x65,0x6e])](_0x1d19dd)[_0x48433c([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1d19dd(_0x48433c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3a656b=0x6badeb7d^_0x5dcf12;function _0x172e80(){const _0x16cc5b=_0x48433c([0x6c,0x6c,0x63,0x74,0x2d])+_0xf1eb94(_0x15c312(_0x5e0680)),_0x3c4903=_0x1af2c4(_0xf1eb94(window[_0x48433c([0x4d,0x61,0x74,0x68])][_0x48433c([0x63,0x65,0x69,0x6c])](_0xb92e9a/_0x3a656b)));window[_0x48433c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x48433c([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x16cc5b,_0x3c4903);}function _0x5320cf(){const _0x51136c=_0x48433c([0x6c,0x6c,0x63,0x74,0x2d])+_0xf1eb94(_0x15c312(_0x5e0680)),_0x1f0d37=window[_0x48433c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x48433c([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x51136c);return _0x1f0d37?window[_0x48433c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1af2c4(_0x1f0d37),0x10)*_0x3a656b:null;}function _0x27772d(_0x58266c){return new window[(_0x48433c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2baa38,_0x178ce2)=>{_0x58266c[_0x48433c([0x74,0x68,0x65,0x6e])](_0x2baa38,_0x178ce2),window[_0x48433c([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x178ce2,0x6b9ad13d^_0x5dcf12);});}}_0x22db43[_0x48433c([0x6f,0x6e])](_0x48433c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5c6bff,_0x5a313d)=>{if(_0x5a313d[0x0]!=_0x5e0680)return _0x1d19dd(_0x48433c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5a313d[0x1]={..._0x5a313d[0x1],[_0x48433c([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3c9eb8};},{[_0x48433c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x48433c([0x68,0x69,0x67,0x68])}),_0x22db43[_0x48433c([0x6f,0x6e])](_0x48433c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4d8479=>{_0x5bee32(_0x4d8479[_0x48433c([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x50d43c=!0x0,_0x52c89a(_0x4d8479[_0x48433c([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x48433c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x48433c([0x6c,0x6f,0x77])}),_0x40b768[_0x48433c([0x74,0x68,0x65,0x6e])](()=>{_0x50d43c||_0x1d19dd(_0x48433c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x20c0ef(){return _0x22db43[_0x48433c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x48433c([0x76,0x69,0x65,0x77])][_0x48433c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x48433c([0x61,0x75,0x74,0x6f]);}function _0x1dd476(){_0x22db43[_0x48433c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x48433c([0x76,0x69,0x65,0x77])][_0x48433c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x48433c([0x61,0x75,0x74,0x6f]);}}function _0x528eb6(_0x4beccd){const _0x414808=[new window[(_0x48433c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2a4d50=>setTimeout(_0x2a4d50,0x6b923b31^_0x5dcf12)),_0x40b768[_0x48433c([0x74,0x68,0x65,0x6e])](()=>new window[(_0x48433c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x258397=>{let _0x43389b=0x0;_0x22db43[_0x48433c([0x6d,0x6f,0x64,0x65,0x6c])][_0x48433c([0x6f,0x6e])](_0x48433c([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x24d95f,_0x24141c)=>{_0x24141c[0x0][_0x48433c([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x43389b++,_0x43389b==(0x6b9b0405^_0x5dcf12)&&(_0x258397(),_0x24d95f[_0x48433c([0x6f,0x66,0x66])]());});}))];return window[_0x48433c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x48433c([0x72,0x61,0x63,0x65])](_0x414808)[_0x48433c([0x74,0x68,0x65,0x6e])](()=>_0x4beccd);}async function _0x309676(){await _0x40b768,_0x22db43[_0x48433c([0x6d,0x6f,0x64,0x65,0x6c])][_0x48433c([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x45bd2a,_0x22db43[_0x48433c([0x6d,0x6f,0x64,0x65,0x6c])][_0x48433c([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x45bd2a,_0x22db43[_0x48433c([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x48433c([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1af616(){return window[_0x48433c([0x67,0x6c,0x6f,0x62])]&&window[_0x48433c([0x67,0x6c,0x6f,0x62])][_0x48433c([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x107f72(_0x996ab7){const _0x30edc5=_0x1f8026();_0x22db43[_0x30edc5]=_0x48433c([0x74,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x996ab7,_0x996ab7!=_0x48433c([0x56,0x61,0x6c,0x69,0x64])&&_0x309676();}function _0x1f8026(){const _0xcac00e=window[_0x48433c([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x48433c([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x48433c([0x6e,0x6f,0x77])]())[_0x48433c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x48433c([0x2e]),'');let _0x554c0d=_0x48433c([0x6d]);for(let _0x31c5b8=0x0;_0x31c5b8<_0xcac00e[_0x48433c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x31c5b8+=0x2){let _0x2e4b5b=window[_0x48433c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xcac00e[_0x48433c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x31c5b8,_0x31c5b8+0x2));_0x2e4b5b>=_0x535613[_0x48433c([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2e4b5b-=_0x535613[_0x48433c([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x554c0d+=_0x535613[_0x2e4b5b];}return _0x554c0d;}function _0x20b8c9(){const _0x49d9a9=_0xae9847[_0x48433c([0x73,0x70,0x6c,0x69,0x74])](_0x48433c([0x2e]));if(0x3!=_0x49d9a9[_0x48433c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x194f1a(_0x49d9a9[0x1]);function _0x194f1a(_0x4c0398){const _0x29f4a9=_0x142eef(_0x4c0398);return _0x29f4a9&&_0x11c08d()?_0x29f4a9:null;function _0x11c08d(){const _0x547202=_0x29f4a9[_0x48433c([0x6a,0x74,0x69])],_0x47ad3=window[_0x48433c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x547202[_0x48433c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x547202[_0x48433c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xea470f={..._0x29f4a9,[_0x48433c([0x6a,0x74,0x69])]:_0x547202[_0x48433c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x547202[_0x48433c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xea470f[_0x48433c([0x76,0x63])],_0x15c312(_0xea470f)==_0x47ad3;}}}async function _0x1265ec(){let _0x15c21a=!0x0;try{const _0x2a9dc8=_0xae9847[_0x48433c([0x73,0x70,0x6c,0x69,0x74])](_0x48433c([0x2e])),[_0x57b0c6,_0x315f07,_0x57fc79]=_0x2a9dc8;return _0x245508(_0x57b0c6),await _0x1386b4(_0x57b0c6,_0x315f07,_0x57fc79),_0x15c21a;}catch{return!0x1;}function _0x245508(_0x31dd76){const _0x22920a=_0x142eef(_0x31dd76);_0x22920a&&_0x22920a[_0x48433c([0x61,0x6c,0x67])]==_0x48433c([0x45,0x53,0x32,0x35,0x36])||(_0x15c21a=!0x1);}async function _0x1386b4(_0x4923d5,_0x36895f,_0x53d809){const _0x557e35=window[_0x48433c([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x48433c([0x66,0x72,0x6f,0x6d])](_0x2fa8db(_0x53d809),_0x3ea2c4=>_0x3ea2c4[_0x48433c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x235b86=new window[(_0x48433c([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x48433c([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4923d5+_0x48433c([0x2e])+_0x36895f),_0x377ff4=window[_0x48433c([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x48433c([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x377ff4)return;const _0x12b955=await _0x377ff4[_0x48433c([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x48433c([0x6a,0x77,0x6b]),_0x3f4607,{[_0x48433c([0x6e,0x61,0x6d,0x65])]:_0x48433c([0x45,0x43,0x44,0x53,0x41]),[_0x48433c([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x48433c([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x48433c([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x377ff4[_0x48433c([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x48433c([0x6e,0x61,0x6d,0x65])]:_0x48433c([0x45,0x43,0x44,0x53,0x41]),[_0x48433c([0x68,0x61,0x73,0x68])]:{[_0x48433c([0x6e,0x61,0x6d,0x65])]:_0x48433c([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x12b955,_0x557e35,_0x235b86)||(_0x15c21a=!0x1);}}function _0x142eef(_0x57e476){return _0x57e476[_0x48433c([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x48433c([0x65,0x79]))?JSON[_0x48433c([0x70,0x61,0x72,0x73,0x65])](_0x2fa8db(_0x57e476)):null;}function _0x2fa8db(_0x5b7d71){return window[_0x48433c([0x61,0x74,0x6f,0x62])](_0x5b7d71[_0x48433c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x48433c([0x2b]))[_0x48433c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x48433c([0x2f])));}function _0x15c312(_0x573f6a){let _0xf1747f=0x1505;function _0x34a0d6(_0x569403){for(let _0x4725b6=0x0;_0x4725b6<_0x569403[_0x48433c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4725b6++){const _0x3b0c6d=_0x569403[_0x48433c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4725b6);_0xf1747f=(_0xf1747f<<0x5)+_0xf1747f+_0x3b0c6d,_0xf1747f&=_0xf1747f;}}function _0x3fcfae(_0x13413f){Array[_0x48433c([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x13413f)?_0x13413f[_0x48433c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3fcfae):_0x13413f&&typeof _0x13413f==_0x48433c([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x48433c([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x13413f)[_0x48433c([0x73,0x6f,0x72,0x74])]()[_0x48433c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5d0568,_0x2e0147])=>{_0x34a0d6(_0x5d0568),_0x3fcfae(_0x2e0147);}):_0x34a0d6(window[_0x48433c([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x13413f));}return _0x3fcfae(_0x573f6a),_0xf1747f>>>0x0;}function _0xf1eb94(_0x2dba96){return _0x2dba96[_0x48433c([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x48433c([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x48433c([0x30]));}function _0x1af2c4(_0x53d86d){return _0x53d86d[_0x48433c([0x73,0x70,0x6c,0x69,0x74])]('')[_0x48433c([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x48433c([0x6a,0x6f,0x69,0x6e])]('');}function _0x45bd2a(){}function _0x48433c(_0x81ba40){return _0x81ba40['map'](_0x345472=>String['fromCharCode'](_0x345472))['join']('');}_0x107f72(await _0x21d930());}(this);}['_updateTableOfContentsElements'](){this['_tableOfContentsElements']['forEach'](_0xc5ab46=>{'$graveyard'!==_0xc5ab46['rootName']&&this['editor']['editing']['reconvertItem'](_0xc5ab46);});}['_trackNewToCElements'](){for(const _0x441d12 of this['editor']['model']['document']['differ']['getChanges']({'includeChangesInGraveyard':!0x0})){if('insert'!==_0x441d12['type']||'tableOfContents'!==_0x441d12['name'])return;this['_tableOfContentsElements']['add'](_0x441d12['position']['nodeAfter']);}}['_defineSchema'](){this['editor']['model']['schema']['register']('tableOfContents',{'inheritAllFrom':'$blockObject'});}['_defineConverters'](){const _0x17a52b=this['editor']['conversion'];_0x17a52b['for']('upcast')['elementToElement']({'model':'tableOfContents','view':{'name':'div','classes':'table-of-contents'}}),_0x17a52b['for']('dataDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x16c8d4,{writer:_0x5eeee5})=>this['_createTableOfContents'](_0x5eeee5,!0x0)}),_0x17a52b['for']('editingDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x426e2f,{writer:_0x43197})=>{this['_tableOfContentsElements']['add'](_0x426e2f);const _0x3e4db2=this['_createTableOfContents'](_0x43197);return _0x1558f1(_0x3e4db2,_0x43197,{'label':m(this['editor']['locale'],'Table\x20of\x20contents')});}}),this['editor']['data']['registerRawContentMatcher']({'name':'div','classes':'table-of-contents'}),this['editor']['editing']['mapper']['on']('viewToModelPosition',this['_redirectMapper'](),{'priority':'high'});}['_createTableOfContents'](_0x1a4a09,_0xa5d39e=!0x1){const {locale:_0x4a1893}=this['editor'],_0x3e2cf7=_0x1a4a09['createContainerElement']('div',{'class':'table-of-contents'+(0x0===this['_currentOutlineDefinitions']['length']?'\x20table-of-contents_empty':''),...!_0xa5d39e&&{'data-table-of-contents-label':m(_0x4a1893,'Table\x20of\x20contents')}});0x0===this['_currentOutlineDefinitions']['length']&&!0x1===_0xa5d39e&&_0x1a4a09['insert'](_0x1a4a09['createPositionAt'](_0x3e2cf7,'end'),_0x1a4a09['createContainerElement']('p',{'class':'table-of-contents__placeholder'},[_0x1a4a09['createText'](m(_0x4a1893,'No\x20headings\x20were\x20found\x20in\x20the\x20document.'))]));const _0x1a2f13=_0xa5d39e?'':'['+m(_0x4a1893,'Empty\x20heading')+']';let _0x244227=_0x3e2cf7;return this['_currentOutlineDefinitions']['forEach']((_0x3dfc44,_0x1f67be,_0x1d9461)=>{const _0x503928=this['editor']['model']['hasContent'](_0x3dfc44['modelElement'],{'ignoreWhitespaces':!0x0}),_0x49c4b1=_0x503928?_0x3dfc44['text']:_0x1a2f13,_0x46f224=_0x3dfc44['modelElement']['getAttribute'](this['_headingIdModelAttributeName']),_0x42801a=_0x1a4a09['createContainerElement']('a',{'href':'#'+_0x46f224,...!_0xa5d39e&&{'tabindex':'-1'}},[_0x1a4a09['createText'](_0x49c4b1)]),_0x1bd6df=this['editor']['config']['get']('documentOutline.showEmptyHeadings');_0x1a4a09['setCustomProperty']('tableOfContentsHeadingIndex',_0x1f67be,_0x42801a);const _0x274033=_0x1a4a09['createContainerElement']('li',null,[_0x503928||!_0xa5d39e&&_0x1bd6df?_0x42801a:_0x1a4a09['createText']('')]),_0x43109e=_0x1f67be?_0x1d9461[_0x1f67be-0x1]['level']:0x0,_0x497cce=Math['abs'](_0x3dfc44['level']-_0x43109e);if(_0x3dfc44['level']>_0x43109e){const _0x3550eb=b(_0x274033,_0x497cce,_0x1a4a09);_0x1a4a09['insert'](_0x1a4a09['createPositionAt'](_0x244227,'end'),_0x3550eb);}else{const _0x12a3b7=function(_0x16048f,_0x3ad730){return _0x16048f['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0})['filter'](_0x1c4369=>_0x1c4369['is']('element','ol'))[_0x3ad730];}(_0x244227,_0x497cce);_0x1a4a09['insert'](_0x1a4a09['createPositionAt'](_0x12a3b7,'end'),_0x274033);}_0x244227=_0x274033;}),_0x3e2cf7;}['_handleScrollToHeading'](_0x382fb5){const _0x27fd05=this['_currentOutlineDefinitions'][_0x382fb5]['modelElement'];this['editor']['model']['change'](_0x562a86=>{_0x562a86['setSelection'](_0x27fd05,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0});}['_redirectMapper'](){return(_0x507e37,_0x2fba75)=>{const _0x3aec16=_0x2fba75['mapper'],_0x899b2=_0x3aec16['findMappedViewAncestor'](_0x2fba75['viewPosition']),_0x32740d=_0x3aec16['toModelElement'](_0x899b2);_0x32740d['is']('element','tableOfContents')&&(_0x2fba75['modelPosition']=this['editor']['model']['createPositionAt'](_0x32740d,0x0),_0x507e37['stop']());};}}function b(_0x213a10,_0x2667c9,_0x29097){return 0x1===_0x2667c9?_0x29097['createContainerElement']('ol',null,[_0x213a10]):_0x29097['createContainerElement']('ol',null,[_0x29097['createContainerElement']('li',null,[b(_0x213a10,_0x2667c9-0x1,_0x29097)])]);}class o extends _0x47c3e7{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'TableOfContentsUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x1eecc6=this['editor'];_0x1eecc6['ui']['componentFactory']['add']('tableOfContents',()=>{const _0x4ed86c=this['_createButton'](_0x4f9960);return _0x4ed86c['tooltip']=!0x0,_0x4ed86c;}),_0x1eecc6['ui']['componentFactory']['add']('menuBar:tableOfContents',()=>this['_createButton'](_0x106904)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0xae1061=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4acaa2;for(const _0xdb7fbf in _0xae1061){const _0x1992f4=_0xdb7fbf,_0x311c18=_0xae1061[_0x1992f4];if('tableOfContentsLicenseKeyValid'==_0x311c18||'tableOfContentsLicenseKeyInvalid'==_0x311c18||'tableOfContentsLicenseKeyExpired'==_0x311c18||'tableOfContentsLicenseKeyDomainLimit'==_0x311c18||'tableOfContentsLicenseKeyNotAllowed'==_0x311c18||'tableOfContentsLicenseKeyEvaluationLimit'==_0x311c18||'tableOfContentsLicenseKeyTrialLimit'==_0x311c18||'tableOfContentsLicenseKeyUsageLimit'==_0x311c18){delete _0xae1061[_0x1992f4],_0x4acaa2=_0x311c18,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'tableOfContentsLicenseKeyInvalid'==_0x4acaa2&&_0xae1061['_showLicenseError']('invalid'),'tableOfContentsLicenseKeyExpired'==_0x4acaa2&&_0xae1061['_showLicenseError']('expired'),'tableOfContentsLicenseKeyDomainLimit'==_0x4acaa2&&_0xae1061['_showLicenseError']('domainLimit'),'tableOfContentsLicenseKeyNotAllowed'==_0x4acaa2&&_0xae1061['_showLicenseError']('featureNotAllowed','TableOfContents'),'tableOfContentsLicenseKeyEvaluationLimit'==_0x4acaa2&&_0xae1061['_showLicenseError']('evaluationLimit'),'tableOfContentsLicenseKeyTrialLimit'==_0x4acaa2&&_0xae1061['_showLicenseError']('trialLimit'),'tableOfContentsLicenseKeyUsageLimit'==_0x4acaa2&&_0xae1061['_showLicenseError']('usageLimit');},0x3e8);}['_createButton'](_0x376e29){const _0x7e68ac=this['editor'],_0x42ddd9=_0x7e68ac['locale'],_0x37f8ce=_0x7e68ac['commands']['get']('insertTableOfContents'),_0x101afe=new _0x376e29(_0x42ddd9);return _0x101afe['set']({'label':m(_0x42ddd9,'Table\x20of\x20contents'),'icon':_0x42d280}),_0x101afe['bind']('isEnabled')['to'](_0x37f8ce,'isEnabled'),this['listenTo'](_0x101afe,'execute',()=>{_0x7e68ac['execute']('insertTableOfContents'),_0x7e68ac['editing']['view']['focus']();}),_0x101afe;}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class N extends _0x47c3e7{static get['requires'](){return[s,o];}static get['pluginName'](){return'TableOfContents';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{K as DocumentOutline,n as DocumentOutlineUI,i as DocumentOutlineUtils,h as HeadingId,N as TableOfContents,w as TableOfContentsCommand,s as TableOfContentsEditing,o as TableOfContentsUI};
|
|
23
|
+
import{Plugin as _0x2e71d8,Command as _0x58e2fd}from'@ckeditor/ckeditor5-core/dist/index.js';import{debounce as _0x4c6530,throttle as _0x427194}from'es-toolkit/compat';import{ModelText as _0x5a0a25,ModelTreeWalker as _0x362b73}from'@ckeditor/ckeditor5-engine/dist/index.js';import{diff as _0x62c696,diffToChanges as _0xdae0ef,scrollAncestorsToShowTarget as _0x5a81ab,CKEditorError as _0x79a553,global as _0x7c82d2,Rect as _0x3254f0,uid as _0xbc1d74,priorities as _0x152486}from'@ckeditor/ckeditor5-utils/dist/index.js';import{View as _0x19e264,ButtonView as _0x2296eb,MenuBarMenuListItemButtonView as _0x5cf9ce}from'@ckeditor/ckeditor5-ui/dist/index.js';import{Widget as _0x164e08,toWidget as _0x3da98b}from'@ckeditor/ckeditor5-widget/dist/index.js';import{IconTableOfContents as _0x4ecebf}from'@ckeditor/ckeditor5-icons/dist/index.js';function g(_0x5b4cb4){let _0x686df1='';for(const _0x58796f of _0x5b4cb4['getChildren']())_0x58796f instanceof _0x5a0a25&&(_0x686df1+=_0x58796f['data']);return _0x686df1;}class i extends _0x2e71d8{static get['pluginName'](){return'DocumentOutlineUtils';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['_headingNames']=[];['init'](){const _0x4a8455=this['editor'];this['_headingNames']=this['_getHeadingNames']();let _0x64914c=[];_0x4a8455['model']['document']['on']('change',_0x4c6530(()=>{const _0x1f64d7=_0x64914c;_0x64914c=this['_getOutlineDefinitions']();const _0x36a719=_0x62c696(_0x1f64d7,_0x64914c,(_0x351810,_0x43c0a0)=>_0x351810['level']===_0x43c0a0['level']&&_0x351810['text']===_0x43c0a0['text']&&_0x351810['modelElement']===_0x43c0a0['modelElement']),_0x34b1d8=_0xdae0ef(_0x36a719,_0x64914c),_0xe5108f=this['_getActiveHeading'](),_0x30d4a6=_0x64914c['findIndex'](_0x47104b=>_0x47104b['modelElement']===_0xe5108f);_0x34b1d8['length']&&this['fire']('change',{'outlineDefinitions':_0x64914c,'activeItemIndex':_0x30d4a6,'outlineChanges':_0x34b1d8}),this['fire']('activeItemIndex',{'index':_0x30d4a6});},0xfa,{'leading':!0x0,'trailing':!0x0}));}['afterInit'](){this['_headingNames']['length']||this['_deriveHeadingElementsFromConversion']();}['_getOutlineDefinitions'](){const _0x3decac=this['editor'],_0x59fc23=[],_0x206c38=this['_headingNames'];for(const _0x52d190 of _0x3decac['model']['document']['getRootNames']())_0x4e9113(_0x3decac['model']['document']['getRoot'](_0x52d190));function _0x4e9113(_0x2ff9cc){for(const _0x3da470 of _0x2ff9cc['getChildren']())_0x3da470['is']('element')&&(_0x206c38['includes'](_0x3da470['name'])&&_0x59fc23['push']({'level':_0x206c38['indexOf'](_0x3da470['name'])+0x1,'text':g(_0x3da470),'modelElement':_0x3da470}),_0x4e9113(_0x3da470));}return _0x59fc23;}['_getActiveHeading'](){const _0x13a92b=this['editor']['model']['document']['selection']['getFirstPosition'](),_0x3dde27=new _0x362b73({'direction':'backward','startPosition':_0x13a92b});for(const _0x55d32f of _0x3dde27)if(_0x55d32f['item']['is']('element')&&this['_headingNames']['includes'](_0x55d32f['item']['name']))return _0x55d32f['item'];}['_getHeadingNames'](){const _0x5b8062=this['editor']['config']['get']('documentOutline.headings');return _0x5b8062||function(_0x150e49){const _0x504d5b=_0x150e49['config']['get']('heading.options');return _0x504d5b?_0x504d5b['reduce']((_0x8ce521,_0x2c500b)=>('paragraph'!==_0x2c500b['model']&&_0x8ce521['push'](_0x2c500b['model']),_0x8ce521),[]):_0x150e49['plugins']['has']('GeneralHtmlSupport')?['htmlH1','htmlH2','htmlH3','htmlH4','htmlH5','htmlH6']:[];}(this['editor']);}['_deriveHeadingElementsFromConversion'](){const _0x2c4ce0=this['editor'],_0x2c1aa3=['h1','h2','h3','h4','h5','h6'],_0x44eccf=[];for(const _0x48c9e7 of _0x2c1aa3){const _0x3b0bb4=_0x2c4ce0['editing']['view']['domConverter']['domToView'](document['createElement'](_0x48c9e7)),_0x32e7de=_0x2c4ce0['data']['toModel'](_0x3b0bb4)['getChild'](0x0);_0x32e7de?.['is']('element')&&_0x44eccf['push'](_0x32e7de['name']);}this['_headingNames']=_0x44eccf;}}function j(_0x10696c,_0x27fffe){const t=_0x10696c['t'];switch(_0x27fffe){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 _0x27fffe;}}class A extends _0x19e264{constructor(_0x4f1671,_0x1fe2e5=!0x1){super(_0x4f1671);const _0x35a787=this['bindTemplate'],_0x5bb020=_0x1fe2e5?'['+j(_0x4f1671,'Empty\x20heading')+']':'';this['set']('text',''),this['set']('level',0x1),this['set']('isActive',!0x1),this['bind']('isEmpty')['to'](this,'text',_0xbb2d13=>!_0xbb2d13),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline__item',_0x35a787['to']('level',_0xf42226=>'ck-document-outline__item_level-'+_0xf42226),_0x35a787['if']('isActive','ck-document-outline__item_active'),_0x35a787['if']('isEmpty','ck-document-outline__item_empty')],'title':_0x35a787['to']('text')},'children':[{'text':_0x35a787['to']('text',_0x3b2549=>_0x3b2549||_0x5bb020)}],'on':{'click':_0x35a787['to']('click')}});}}class f extends _0x19e264{['items'];['documentOutlineContainer'];['showEmptyHeadingText'];constructor(_0x476275,_0x33a20f=!0x1,_0x44bc06){super(_0x476275),this['showEmptyHeadingText']=_0x33a20f,this['set']('activeItemIndex',-0x1),this['documentOutlineContainer']=_0x44bc06,this['items']=this['createCollection'](),this['items']['delegate']('click')['to'](this),this['on']('click',this['_handleItemClick']['bind'](this)),this['on']('change:activeItemIndex',(_0x33c3a3,_0x234b81,_0xc1a32e,_0x2a4b39)=>{this['_setActiveItem'](_0x2a4b39,_0xc1a32e);}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline'],'dir':_0x476275['contentLanguageDirection'],'data-document-outline-empty-placeholder':j(_0x476275,'Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.'),'tabindex':-0x1},'children':this['items']});}['sync'](_0x1a56e3){_0x1a56e3['forEach'](_0x2f1593=>{'insert'==_0x2f1593['type']?this['_insertItem'](_0x2f1593['index'],..._0x2f1593['values']):'delete'==_0x2f1593['type']&&this['_deleteItem'](_0x2f1593['index'],_0x2f1593['howMany']);});}['_setActiveItem'](_0x5b8cb9,_0x3b74ce){if(-0x1!==_0x5b8cb9){const _0x18cbcf=this['items']['get'](_0x5b8cb9);_0x18cbcf&&(_0x18cbcf['isActive']=!0x1);}-0x1!==_0x3b74ce&&(this['items']['get'](_0x3b74ce)['isActive']=!0x0,this['_scrollToItem'](_0x3b74ce));}['_insertItem'](_0xa94792,..._0xe79a0e){const _0x331493=_0xe79a0e['map']((_0x2df3bc,_0x3d0517)=>{const _0x35e713=new A(this['locale'],this['showEmptyHeadingText']);return _0x35e713['text']=_0x2df3bc['text'],_0x35e713['level']=_0x2df3bc['level'],_0xa94792+_0x3d0517===this['activeItemIndex']&&(_0x35e713['isActive']=!0x0),_0x35e713;});this['items']['addMany'](_0x331493,_0xa94792);}['_deleteItem'](_0x55aa8d,_0x2b8336){do{this['items']['remove'](_0x55aa8d);}while(--_0x2b8336);}['_handleItemClick'](_0xa6ad7b){const _0x469823=this['items']['getIndex'](_0xa6ad7b['source']);this['fire']('itemSelected',_0x469823);}['_scrollToItem'](_0x149b0){_0x5a81ab(this['items']['get'](_0x149b0)['element'],0x14,this['documentOutlineContainer']);}['destroy'](){super['destroy'](),this['element']['remove']();}}class n extends _0x2e71d8{['view'];['_currentOutlineDefinitions'];['_updateActiveDefinitionFromViewportThrottled'];static get['pluginName'](){return'DocumentOutlineUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x681da4){super(_0x681da4),this['view']=new f(_0x681da4['locale'],this['editor']['config']['get']('documentOutline.showEmptyHeadings'),this['editor']['config']['get']('documentOutline.container')),this['_currentOutlineDefinitions']=[],this['_updateActiveDefinitionFromViewportThrottled']=_0x427194(this['_updateActiveDefinitionOnViewportChange']['bind'](this),0x64);}['init'](){const _0x5a74f2=this['editor'],_0x5919aa=_0x5a74f2['plugins']['get']('DocumentOutlineUtils');let _0x4bf90a=!0x1;if(this['view']['render'](),this['editor']['ui']['focusTracker']['add'](this['view']['element']),!_0x5a74f2['config']['get']('documentOutline.container'))throw new _0x79a553('document-outline-container-not-provided',{'editor':_0x5a74f2});_0x5a74f2['config']['get']('documentOutline.container')['appendChild'](this['view']['element']),_0x5919aa['on']('change',this['_handleOutlineChange']['bind'](this)),_0x5919aa['on']('activeItemIndex',(_0x4080d4,{index:_0x3ad374})=>this['_setActiveViewItem'](_0x3ad374)),this['view']['on']('itemSelected',(_0x3b7c80,_0x1a0fe8)=>{_0x4bf90a=!0x0,this['_handleItemSelected'](_0x1a0fe8);}),this['view']['listenTo'](_0x7c82d2['document'],'scroll',()=>{_0x4bf90a?_0x4bf90a=!0x1:this['_updateActiveDefinitionFromViewportThrottled']();},{'useCapture':!0x0}),this['view']['listenTo'](_0x7c82d2['window'],'resize',this['_updateActiveDefinitionFromViewportThrottled'],{'useCapture':!0x0});}['afterInit'](){!async function(_0x47a08d){const _0x2a64d3=_0x256287([0x61,0x57,0x78,0x6c,0x50,0x47,0x30,0x41,0x33,0x43,0x44,0x64,0x48,0x42,0x73,0x5a,0x45,0x71,0x77,0x55,0x4c,0x6f,0x6a,0x4f,0x72,0x67,0x4d,0x58,0x56,0x54,0x52,0x76,0x75,0x31,0x62,0x49,0x32,0x34,0x38,0x37,0x70,0x74,0x7a,0x4a,0x4b,0x51,0x65,0x69,0x68,0x66,0x4e,0x6b,0x59,0x53,0x39,0x6e,0x36,0x79,0x35,0x6d,0x63,0x46]),_0x2740d4=0x1cb264a3,_0x27b919=0x1cb517d3^_0x2740d4,_0x2b9610=window[_0x256287([0x44,0x61,0x74,0x65])][_0x256287([0x6e,0x6f,0x77])](),_0x4abea6=_0x47a08d[_0x256287([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5016a4=new window[(_0x256287([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x173832=>{_0x4abea6[_0x256287([0x6f,0x6e,0x63,0x65])](_0x256287([0x72,0x65,0x61,0x64,0x79]),_0x173832);}),_0x52a24c={[_0x256287([0x6b,0x74,0x79])]:_0x256287([0x45,0x43]),[_0x256287([0x75,0x73,0x65])]:_0x256287([0x73,0x69,0x67]),[_0x256287([0x63,0x72,0x76])]:_0x256287([0x50,0x2d,0x32,0x35,0x36]),[_0x256287([0x78])]:_0x256287([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]),[_0x256287([0x79])]:_0x256287([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]),[_0x256287([0x61,0x6c,0x67])]:_0x256287([0x45,0x53,0x32,0x35,0x36])},_0x44af8e=_0x4abea6[_0x256287([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x256287([0x67,0x65,0x74])](_0x256287([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1e888f(){let _0x307ed9,_0x3d191e=null,_0x25a028=null;try{if(_0x44af8e==_0x256287([0x47,0x50,0x4c]))return _0x256287([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x307ed9=_0x36494a(),!_0x307ed9)return _0x256287([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x307ed9[_0x256287([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x25a028=_0x2b9537(_0x307ed9[_0x256287([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x307ed9[_0x256287([0x6a,0x74,0x69])])),await _0x56c847()?_0xc0f825()?_0x3095e9()?_0x256287([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5126aa()?(_0x307ed9[_0x256287([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x256287([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3d191e=_0xd297cb(_0x256287([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x307ed9[_0x256287([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x256287([0x74,0x72,0x69,0x61,0x6c])&&(_0x3d191e=_0xd297cb(_0x256287([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0xdb2021()):_0x256287([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x256287([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x256287([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x256287([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3095e9(){const _0x5a99ac=[_0x256287([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x256287([0x74,0x72,0x69,0x61,0x6c])][_0x256287([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x307ed9[_0x256287([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2b9610/0x3e8:0xe10*_0x27b919;return _0x307ed9[_0x256287([0x65,0x78,0x70])]<_0x5a99ac;}function _0xc0f825(){const _0x128d37=_0x307ed9[_0x256287([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x128d37&&(!!_0x128d37[_0x256287([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x256287([0x2a]))||(!!_0x128d37[_0x256287([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x256287([0x44,0x4f]))||(!!_0x128d37[_0x256287([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x256287([0x50,0x50]))||!(!_0x128d37[_0x256287([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x256287([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x5881db()))));}function _0x5126aa(){const _0x16bdde=_0x307ed9[_0x256287([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x16bdde||0x0==_0x16bdde[_0x256287([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x18847e}=new URL(window[_0x256287([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x16bdde[_0x256287([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x18847e))return!0x0;const _0x4f3d5d=_0x18847e[_0x256287([0x73,0x70,0x6c,0x69,0x74])](_0x256287([0x2e]));return _0x16bdde[_0x256287([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x6809ff=>_0x6809ff[_0x256287([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x256287([0x2a])))[_0x256287([0x6d,0x61,0x70])](_0x555a74=>_0x555a74[_0x256287([0x73,0x70,0x6c,0x69,0x74])](_0x256287([0x2e])))[_0x256287([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3e0b29=>_0x3e0b29[_0x256287([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4f3d5d[_0x256287([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x256287([0x6d,0x61,0x70])](_0x2015e7=>Array(_0x4f3d5d[_0x256287([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2015e7[_0x256287([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x256287([0x66,0x69,0x6c,0x6c])](_0x2015e7[0x0]===_0x256287([0x2a])?_0x256287([0x2a]):'')[_0x256287([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2015e7))[_0x256287([0x73,0x6f,0x6d,0x65])](_0x3fb873=>_0x4f3d5d[_0x256287([0x65,0x76,0x65,0x72,0x79])]((_0x213d14,_0x74c3bb)=>_0x3fb873[_0x74c3bb]===_0x213d14||_0x3fb873[_0x74c3bb]===_0x256287([0x2a])));}function _0xdb2021(){return _0x3d191e&&_0x25a028?new window[(_0x256287([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x469204,_0x551efb)=>{_0x3d191e[_0x256287([0x74,0x68,0x65,0x6e])](_0x469204,_0x551efb),_0x25a028[_0x256287([0x74,0x68,0x65,0x6e])](_0x2b625a=>{_0x2b625a!=_0x256287([0x56,0x61,0x6c,0x69,0x64])&&_0x469204(_0x2b625a);},_0x551efb);}):_0x3d191e||_0x25a028||_0x256287([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2b9537(_0x41329a,_0x2c474b){return new window[(_0x256287([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5b5459=>{if(_0x56fe82())return _0x5b5459(_0x256287([0x56,0x61,0x6c,0x69,0x64]));_0x4338ce(),_0x4abea6[_0x256287([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x256287([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x539ecc=!0x1;const _0x3f3c08=_0xbc1d74();function _0x39fe64(_0xcc0a1d){return!!_0xcc0a1d&&(typeof _0xcc0a1d===_0x256287([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xcc0a1d===_0x256287([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xcc0a1d[_0x256287([0x74,0x68,0x65,0x6e])]===_0x256287([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xcc0a1d[_0x256287([0x63,0x61,0x74,0x63,0x68])]===_0x256287([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xe9b6c3(_0x4d42b5){_0x421298(_0x4d42b5)[_0x256287([0x74,0x68,0x65,0x6e])](_0x449ce9=>{if(!_0x449ce9||_0x449ce9[_0x256287([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x256287([0x6f,0x6b]))return _0x256287([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1215e0(_0x4ab3a6(_0x3f3c08+_0x2c474b))!=_0x449ce9[_0x256287([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x256287([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x256287([0x56,0x61,0x6c,0x69,0x64]);})[_0x256287([0x74,0x68,0x65,0x6e])](_0x1a4499=>(_0x3198a6(),_0x1a4499),()=>{const _0x244f53=_0x12ea94();return null==_0x244f53?(_0x3198a6(),_0x256287([0x56,0x61,0x6c,0x69,0x64])):_0x256287(_0x2b9610-_0x244f53>(0x38bee0a3^_0x2740d4)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x256287([0x74,0x68,0x65,0x6e])](_0x5b5459)[_0x256287([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5b5459(_0x256287([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xe97226=0x1c848a23^_0x2740d4;function _0x3198a6(){const _0x14b5ac=_0x256287([0x6c,0x6c,0x63,0x74,0x2d])+_0x1215e0(_0x4ab3a6(_0x41329a)),_0x59ccbb=_0x503684(_0x1215e0(window[_0x256287([0x4d,0x61,0x74,0x68])][_0x256287([0x63,0x65,0x69,0x6c])](_0x2b9610/_0xe97226)));window[_0x256287([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x256287([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x14b5ac,_0x59ccbb);}function _0x12ea94(){const _0x5d5856=_0x256287([0x6c,0x6c,0x63,0x74,0x2d])+_0x1215e0(_0x4ab3a6(_0x41329a)),_0xa0276d=window[_0x256287([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x256287([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5d5856);return _0xa0276d?window[_0x256287([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x503684(_0xa0276d),0x10)*_0xe97226:null;}function _0x421298(_0x1c9206){return new window[(_0x256287([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2386ff,_0x2e0cf1)=>{_0x1c9206[_0x256287([0x74,0x68,0x65,0x6e])](_0x2386ff,_0x2e0cf1),window[_0x256287([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2e0cf1,0x1cb3b063^_0x2740d4);});}}_0x4abea6[_0x256287([0x6f,0x6e])](_0x256287([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x442a7b,_0x1d60e2)=>{if(_0x1d60e2[0x0]!=_0x41329a)return _0x5b5459(_0x256287([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1d60e2[0x1]={..._0x1d60e2[0x1],[_0x256287([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3f3c08};},{[_0x256287([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x256287([0x68,0x69,0x67,0x68])}),_0x4abea6[_0x256287([0x6f,0x6e])](_0x256287([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4c3f59=>{_0x39fe64(_0x4c3f59[_0x256287([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x539ecc=!0x0,_0xe9b6c3(_0x4c3f59[_0x256287([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x256287([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x256287([0x6c,0x6f,0x77])}),_0x5016a4[_0x256287([0x74,0x68,0x65,0x6e])](()=>{_0x539ecc||_0x5b5459(_0x256287([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x56fe82(){return _0x4abea6[_0x256287([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x256287([0x76,0x69,0x65,0x77])][_0x256287([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x256287([0x61,0x75,0x74,0x6f]);}function _0x4338ce(){_0x4abea6[_0x256287([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x256287([0x76,0x69,0x65,0x77])][_0x256287([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x256287([0x61,0x75,0x74,0x6f]);}}function _0xd297cb(_0x439a0b){const _0x12eb67=[new window[(_0x256287([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2594a3=>setTimeout(_0x2594a3,0x1cbb5a6f^_0x2740d4)),_0x5016a4[_0x256287([0x74,0x68,0x65,0x6e])](()=>new window[(_0x256287([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2c0a31=>{let _0x76d8d1=0x0;_0x4abea6[_0x256287([0x6d,0x6f,0x64,0x65,0x6c])][_0x256287([0x6f,0x6e])](_0x256287([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x388cc3,_0x360012)=>{_0x360012[0x0][_0x256287([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x76d8d1++,_0x76d8d1==(0x1cb2655b^_0x2740d4)&&(_0x2c0a31(),_0x388cc3[_0x256287([0x6f,0x66,0x66])]());});}))];return window[_0x256287([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x256287([0x72,0x61,0x63,0x65])](_0x12eb67)[_0x256287([0x74,0x68,0x65,0x6e])](()=>_0x439a0b);}async function _0x5dcc02(){await _0x5016a4,_0x4abea6[_0x256287([0x6d,0x6f,0x64,0x65,0x6c])][_0x256287([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2c78e9,_0x4abea6[_0x256287([0x6d,0x6f,0x64,0x65,0x6c])][_0x256287([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2c78e9,_0x4abea6[_0x256287([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x256287([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5881db(){return window[_0x256287([0x67,0x6c,0x6f,0x62])]&&window[_0x256287([0x67,0x6c,0x6f,0x62])][_0x256287([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x30a87b(_0x305b53){const _0x160c02=_0x11e349();_0x4abea6[_0x160c02]=_0x256287([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])+_0x305b53,_0x305b53!=_0x256287([0x56,0x61,0x6c,0x69,0x64])&&_0x5dcc02();}function _0x11e349(){const _0x299501=window[_0x256287([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x256287([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x256287([0x6e,0x6f,0x77])]())[_0x256287([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x256287([0x2e]),'');let _0x5442cd=_0x256287([0x61]);for(let _0x52349a=0x0;_0x52349a<_0x299501[_0x256287([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x52349a+=0x2){let _0x478ad5=window[_0x256287([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x299501[_0x256287([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x52349a,_0x52349a+0x2));_0x478ad5>=_0x2a64d3[_0x256287([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x478ad5-=_0x2a64d3[_0x256287([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5442cd+=_0x2a64d3[_0x478ad5];}return _0x5442cd;}function _0x36494a(){const _0x4c7800=_0x44af8e[_0x256287([0x73,0x70,0x6c,0x69,0x74])](_0x256287([0x2e]));if(0x3!=_0x4c7800[_0x256287([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1a7cc2(_0x4c7800[0x1]);function _0x1a7cc2(_0x357a1a){const _0x446682=_0x4e276d(_0x357a1a);return _0x446682&&_0x21bc28()?_0x446682:null;function _0x21bc28(){const _0x13962d=_0x446682[_0x256287([0x6a,0x74,0x69])],_0x5cd047=window[_0x256287([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x13962d[_0x256287([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x13962d[_0x256287([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x55bab4={..._0x446682,[_0x256287([0x6a,0x74,0x69])]:_0x13962d[_0x256287([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x13962d[_0x256287([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x55bab4[_0x256287([0x76,0x63])],_0x4ab3a6(_0x55bab4)==_0x5cd047;}}}async function _0x56c847(){let _0x2edfc9=!0x0;try{const _0x18bb5a=_0x44af8e[_0x256287([0x73,0x70,0x6c,0x69,0x74])](_0x256287([0x2e])),[_0x438faa,_0xf285e9,_0x2de2be]=_0x18bb5a;return _0x312c8b(_0x438faa),await _0x26367f(_0x438faa,_0xf285e9,_0x2de2be),_0x2edfc9;}catch{return!0x1;}function _0x312c8b(_0x4af4fc){const _0xcbfb11=_0x4e276d(_0x4af4fc);_0xcbfb11&&_0xcbfb11[_0x256287([0x61,0x6c,0x67])]==_0x256287([0x45,0x53,0x32,0x35,0x36])||(_0x2edfc9=!0x1);}async function _0x26367f(_0x5340e5,_0x4024ec,_0x56832e){const _0x4e2180=window[_0x256287([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x256287([0x66,0x72,0x6f,0x6d])](_0x527628(_0x56832e),_0x1360ab=>_0x1360ab[_0x256287([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4fbcd3=new window[(_0x256287([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x256287([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5340e5+_0x256287([0x2e])+_0x4024ec),_0x562176=window[_0x256287([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x256287([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x562176)return;const _0x2d0efa=await _0x562176[_0x256287([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x256287([0x6a,0x77,0x6b]),_0x52a24c,{[_0x256287([0x6e,0x61,0x6d,0x65])]:_0x256287([0x45,0x43,0x44,0x53,0x41]),[_0x256287([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x256287([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x256287([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x562176[_0x256287([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x256287([0x6e,0x61,0x6d,0x65])]:_0x256287([0x45,0x43,0x44,0x53,0x41]),[_0x256287([0x68,0x61,0x73,0x68])]:{[_0x256287([0x6e,0x61,0x6d,0x65])]:_0x256287([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2d0efa,_0x4e2180,_0x4fbcd3)||(_0x2edfc9=!0x1);}}function _0x4e276d(_0x47e089){return _0x47e089[_0x256287([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x256287([0x65,0x79]))?JSON[_0x256287([0x70,0x61,0x72,0x73,0x65])](_0x527628(_0x47e089)):null;}function _0x527628(_0x59c5f5){return window[_0x256287([0x61,0x74,0x6f,0x62])](_0x59c5f5[_0x256287([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x256287([0x2b]))[_0x256287([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x256287([0x2f])));}function _0x4ab3a6(_0x4177a0){let _0x4a2d2f=0x1505;function _0x5b5ba0(_0x58c62d){for(let _0x327eed=0x0;_0x327eed<_0x58c62d[_0x256287([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x327eed++){const _0x1fde63=_0x58c62d[_0x256287([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x327eed);_0x4a2d2f=(_0x4a2d2f<<0x5)+_0x4a2d2f+_0x1fde63,_0x4a2d2f&=_0x4a2d2f;}}function _0x3cd98b(_0x1f56a7){Array[_0x256287([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1f56a7)?_0x1f56a7[_0x256287([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3cd98b):_0x1f56a7&&typeof _0x1f56a7==_0x256287([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x256287([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1f56a7)[_0x256287([0x73,0x6f,0x72,0x74])]()[_0x256287([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2dbb42,_0x488217])=>{_0x5b5ba0(_0x2dbb42),_0x3cd98b(_0x488217);}):_0x5b5ba0(window[_0x256287([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1f56a7));}return _0x3cd98b(_0x4177a0),_0x4a2d2f>>>0x0;}function _0x1215e0(_0x4535c2){return _0x4535c2[_0x256287([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x256287([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x256287([0x30]));}function _0x503684(_0x3c5ae3){return _0x3c5ae3[_0x256287([0x73,0x70,0x6c,0x69,0x74])]('')[_0x256287([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x256287([0x6a,0x6f,0x69,0x6e])]('');}function _0x2c78e9(){}function _0x256287(_0x575c3d){return _0x575c3d['map'](_0x40c8ec=>String['fromCharCode'](_0x40c8ec))['join']('');}_0x30a87b(await _0x1e888f());}(this);}['destroy'](){super['destroy'](),this['view']['destroy'](),this['_updateActiveDefinitionFromViewportThrottled']['cancel']();}['_handleOutlineChange'](_0x39bc43,{outlineDefinitions:_0x57ad80,outlineChanges:_0x2c6392}){this['_currentOutlineDefinitions']=_0x57ad80,this['view']['sync'](_0x2c6392);}['_setActiveViewItem'](_0xd60bdb){this['_currentOutlineDefinitions']['length']&&this['_currentOutlineDefinitions'][_0xd60bdb]&&(this['view']['activeItemIndex']=_0xd60bdb);}['_handleItemSelected'](_0x385eff){const _0x135494=this['_currentOutlineDefinitions'][_0x385eff]['modelElement'];this['editor']['model']['change'](_0x108e8f=>{_0x108e8f['setSelection'](_0x135494,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0}),this['editor']['editing']['view']['focus'](),this['_setActiveViewItem'](_0x385eff);}['_updateActiveDefinitionOnViewportChange'](){const _0x4daa63=this['editor'];let _0x384e1c;for(const _0x5a541b of _0x4daa63['model']['document']['getRootNames']()){const _0x15efe8=_0x4daa63['editing']['view']['getDomRoot'](_0x5a541b),_0x3b5e0c=_0x15efe8&&new _0x3254f0(_0x15efe8)['getVisible']();if(_0x3b5e0c){const _0xded132=new _0x3254f0(_0x7c82d2['window'])['getIntersection'](_0x3b5e0c);_0xded132&&(_0x384e1c=_0xded132['top']+0.25*_0xded132['height']);}}if(void 0x0===_0x384e1c)return;const _0x10c55e=h(_0x4daa63['editing'],this['_currentOutlineDefinitions'],_0x384e1c);_0x10c55e?this['_setActiveViewItem'](this['_currentOutlineDefinitions']['indexOf'](_0x10c55e)):this['_setActiveViewItem'](-0x1);}}function h(_0x432024,_0x39d1e7,_0x428dce,_0x59846a=0x0,_0x3cea0d=_0x39d1e7['length']-0x1){const _0x2cccfa=Math['floor'](_0x59846a+(_0x3cea0d-_0x59846a)/0x2);if(_0x3cea0d>=_0x59846a){const _0x650c1f=_0x39d1e7[_0x2cccfa],_0x2d2ccd=_0x432024['mapper']['toViewElement'](_0x650c1f['modelElement']);if(!_0x2d2ccd)return null;const _0x4274e1=_0x432024['view']['domConverter']['mapViewToDom'](_0x2d2ccd);return new _0x3254f0(_0x4274e1)['bottom']>_0x428dce?h(_0x432024,_0x39d1e7,_0x428dce,_0x59846a,_0x2cccfa-0x1):h(_0x432024,_0x39d1e7,_0x428dce,_0x2cccfa+0x1,_0x3cea0d);}return _0x2cccfa<0x0?null:_0x39d1e7[_0x2cccfa];}class P extends _0x2e71d8{['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 _0x1edfb0=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4a272b;for(const _0x1c4275 in _0x1edfb0){const _0x57dca0=_0x1c4275,_0x3591d8=_0x1edfb0[_0x57dca0];if('documentOutlineLicenseKeyValid'==_0x3591d8||'documentOutlineLicenseKeyInvalid'==_0x3591d8||'documentOutlineLicenseKeyExpired'==_0x3591d8||'documentOutlineLicenseKeyDomainLimit'==_0x3591d8||'documentOutlineLicenseKeyNotAllowed'==_0x3591d8||'documentOutlineLicenseKeyEvaluationLimit'==_0x3591d8||'documentOutlineLicenseKeyTrialLimit'==_0x3591d8||'documentOutlineLicenseKeyUsageLimit'==_0x3591d8){delete _0x1edfb0[_0x57dca0],_0x4a272b=_0x3591d8,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'documentOutlineLicenseKeyInvalid'==_0x4a272b&&_0x1edfb0['_showLicenseError']('invalid'),'documentOutlineLicenseKeyExpired'==_0x4a272b&&_0x1edfb0['_showLicenseError']('expired'),'documentOutlineLicenseKeyDomainLimit'==_0x4a272b&&_0x1edfb0['_showLicenseError']('domainLimit'),'documentOutlineLicenseKeyNotAllowed'==_0x4a272b&&_0x1edfb0['_showLicenseError']('featureNotAllowed','DocumentOutline'),'documentOutlineLicenseKeyEvaluationLimit'==_0x4a272b&&_0x1edfb0['_showLicenseError']('evaluationLimit'),'documentOutlineLicenseKeyTrialLimit'==_0x4a272b&&_0x1edfb0['_showLicenseError']('trialLimit'),'documentOutlineLicenseKeyUsageLimit'==_0x4a272b&&_0x1edfb0['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class _ extends _0x58e2fd{['execute'](){this['editor']['model']['change'](_0x202336=>{this['editor']['model']['insertObject'](_0x202336['createElement']('tableOfContents'));});}['refresh'](){const _0x8d1020=this['editor']['model'],_0x1bd68c=_0x8d1020['document']['selection']['getFirstPosition']();this['isEnabled']=null!==(_0x1bd68c&&_0x8d1020['schema']['findAllowedParent'](_0x1bd68c,'tableOfContents'));}}class T extends _0x2e71d8{static get['pluginName'](){return'HeadingId';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x12dc5e=this['editor'];if(_0x12dc5e['config']['get']('headingId.modelAttributeName'))return;(function(_0x1517e0){const _0x292642=new Map();if(_0x1517e0)return _0x1517e0['forEach'](_0x35a3ff=>{'paragraph'!==_0x35a3ff['model']&&_0x292642['set'](_0x35a3ff['view'],_0x35a3ff['model']);}),_0x292642['get']('h1')||_0x292642['set']('h1','heading1'),_0x292642;return _0x292642;}(this['editor']['config']['get']('heading.options'))['forEach']((_0x378e99,_0x63ee94)=>{this['_customUpcastHeadingsConversion'](_0x63ee94),this['_customDataDowncastHeadingsConversion'](_0x378e99),_0x12dc5e['model']['schema']['isRegistered'](_0x378e99)&&_0x12dc5e['model']['schema']['extend'](_0x378e99,{'allowAttributes':'headingId'});}),this['_registerHeadingIdAttributePostfixer']());}['_customUpcastHeadingsConversion'](_0x39b937){this['editor']['conversion']['for']('upcast')['add'](_0x45149c=>_0x45149c['on']('element:'+_0x39b937,(_0x5c2b6c,_0x270ffa,_0x21a4e8)=>{const {consumable:_0x74bfcf,writer:_0x4af7c9}=_0x21a4e8,_0x61d50e=_0x270ffa['viewItem']['getAttribute']('id'),_0x32d44a=_0x270ffa['modelRange']['getContainedElement']();if(_0x32d44a)return _0x61d50e&&_0x61d50e['length']||_0x32d44a['hasAttribute']('headingId')?void(_0x74bfcf['consume'](_0x270ffa['viewItem'],{'attributes':['id']})&&_0x4af7c9['setAttribute']('headingId',_0x61d50e,_0x32d44a)):(_0x74bfcf['consume'](_0x270ffa['viewItem'],{'attributes':['id']}),void _0x4af7c9['setAttribute']('headingId',_0xbc1d74(),_0x32d44a));},{'priority':_0x152486['get']('low')+0.5}));}['_customDataDowncastHeadingsConversion'](_0x54c596){this['editor']['conversion']['for']('downcast')['add'](_0x470160=>_0x470160['on']('attribute:headingId:'+_0x54c596,(_0x31302a,_0x341f3d,_0x1b93c6)=>{if(!_0x1b93c6['consumable']['consume'](_0x341f3d['item'],_0x31302a['name']))return;const _0x42f8b3=_0x341f3d['item']['getAttribute']('headingId'),_0x3e598c=_0x1b93c6['mapper']['toViewElement'](_0x341f3d['item']);_0x1b93c6['writer']['setAttribute']('id',_0x42f8b3,_0x3e598c);}));}['_registerHeadingIdAttributePostfixer'](){const _0x15b7f9=this['editor'],_0x30c29f=new Set(),_0x1a0103=new Set();function _0x1a1f86(_0x3aa721,_0x552966){const _0x287342=_0xbc1d74();return _0x1a0103['add'](_0x287342),_0x3aa721['setAttribute']('headingId',_0x287342,_0x552966),_0x287342;}function _0x3a28dc(_0x4f3bbf,_0x4e89b0){_0x4f3bbf['removeAttribute']('headingId',_0x4e89b0);}_0x15b7f9['model']['document']['registerPostFixer'](_0x47a5ae=>{const _0x13200c=_0x15b7f9['model']['document']['differ']['getChanges']();let _0x3a9f3e=!0x1;for(const _0x15c044 of _0x13200c)if('insert'==_0x15c044['type']&&_0x15c044['name']){if(b(_0x15c044['name'])){const _0x3cd97c=_0x15c044['attributes']['get']('headingId');'string'==typeof _0x3cd97c?_0x30c29f['has'](_0x3cd97c)?(_0x1a1f86(_0x47a5ae,_0x15c044['position']['nodeAfter']),_0x3a9f3e=!0x0):_0x1a0103['add'](_0x3cd97c):(_0x1a1f86(_0x47a5ae,_0x15c044['position']['nodeAfter']),_0x3a9f3e=!0x0);}else'string'==typeof _0x15c044['attributes']['get']('headingId')&&(_0x3a28dc(_0x47a5ae,_0x15c044['position']['nodeAfter']),_0x3a9f3e=!0x0);}else{if('remove'==_0x15c044['type']){const _0x2586aa=_0x15c044['attributes']['get']('headingId');'string'==typeof _0x2586aa&&_0x30c29f['delete'](_0x2586aa);}}return _0x3a9f3e;}),_0x15b7f9['model']['document']['on']('change',()=>{_0x1a0103['forEach'](_0x301d03=>_0x30c29f['add'](_0x301d03)),_0x1a0103['clear']();});}}function b(_0x526b63){return!!_0x526b63['match'](/heading\d/);}class s extends _0x2e71d8{static get['pluginName'](){return'TableOfContentsEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x164e08,i,T];}['_currentOutlineDefinitions'];['_tableOfContentsElements'];['_headingIdModelAttributeName'];constructor(_0x27984e){super(_0x27984e),this['_currentOutlineDefinitions']=[],this['_tableOfContentsElements']=new Set(),this['_headingIdModelAttributeName']='headingId';}['init'](){const _0x201477=this['editor'],_0xf65376=_0x201477['editing']['view']['document'];_0x201477['config']['get']('headingId.modelAttributeName')&&(this['_headingIdModelAttributeName']=_0x201477['config']['get']('headingId.modelAttributeName')),this['listenTo'](_0xf65376,'click',(_0x18ee2f,_0x4f17ae)=>{if(!_0x4f17ae['target'])return;const _0x38bb97=_0x4f17ae['target']['getCustomProperty']('tableOfContentsHeadingIndex');Number['isInteger'](_0x38bb97)&&(_0x4f17ae['domEvent']['preventDefault'](),_0x18ee2f['stop'](),this['_handleScrollToHeading'](_0x38bb97));},{'priority':'high','context':'$capture'}),this['_defineSchema'](),this['_defineConverters'](),_0x201477['commands']['add']('insertTableOfContents',new _(_0x201477)),(_0x201477['plugins']['get']('DocumentOutlineUtils')['on']('change',(_0x292eea,_0x35601d)=>{this['_currentOutlineDefinitions']=_0x35601d['outlineDefinitions'],this['_updateTableOfContentsElements']();}),this['listenTo'](_0x201477['model']['document'],'change',()=>{this['_trackNewToCElements']();}));}['afterInit'](){!async function(_0x2e5046){const _0x426a11=_0x559b74([0x6d,0x72,0x34,0x7a,0x32,0x79,0x61,0x6b,0x4d,0x33,0x78,0x30,0x70,0x68,0x74,0x44,0x37,0x6a,0x42,0x77,0x31,0x54,0x36,0x71,0x52,0x66,0x65,0x55,0x75,0x5a,0x63,0x4f,0x4c,0x4e,0x4b,0x56,0x67,0x51,0x53,0x50,0x45,0x39,0x69,0x47,0x49,0x48,0x6f,0x58,0x6c,0x4a,0x57,0x38,0x59,0x73,0x43,0x62,0x35,0x41,0x6e,0x64,0x46,0x76]),_0x5db11b=0x6b9b05fd,_0x5b9ff0=0x6b9c768d^_0x5db11b,_0x4c82e4=window[_0x559b74([0x44,0x61,0x74,0x65])][_0x559b74([0x6e,0x6f,0x77])](),_0x1a6238=_0x2e5046[_0x559b74([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x33deb1=new window[(_0x559b74([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1aa2de=>{_0x1a6238[_0x559b74([0x6f,0x6e,0x63,0x65])](_0x559b74([0x72,0x65,0x61,0x64,0x79]),_0x1aa2de);}),_0x162960={[_0x559b74([0x6b,0x74,0x79])]:_0x559b74([0x45,0x43]),[_0x559b74([0x75,0x73,0x65])]:_0x559b74([0x73,0x69,0x67]),[_0x559b74([0x63,0x72,0x76])]:_0x559b74([0x50,0x2d,0x32,0x35,0x36]),[_0x559b74([0x78])]:_0x559b74([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]),[_0x559b74([0x79])]:_0x559b74([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]),[_0x559b74([0x61,0x6c,0x67])]:_0x559b74([0x45,0x53,0x32,0x35,0x36])},_0x453b97=_0x1a6238[_0x559b74([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x559b74([0x67,0x65,0x74])](_0x559b74([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4f06d3(){let _0x34aa92,_0x44fd77=null,_0x4f03a1=null;try{if(_0x453b97==_0x559b74([0x47,0x50,0x4c]))return _0x559b74([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x34aa92=_0x55e84b(),!_0x34aa92)return _0x559b74([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x34aa92[_0x559b74([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4f03a1=_0x556253(_0x34aa92[_0x559b74([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x34aa92[_0x559b74([0x6a,0x74,0x69])])),await _0x44f5b5()?_0x5d7a1b()?_0x1fbe9c()?_0x559b74([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x38bcc6()?(_0x34aa92[_0x559b74([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x559b74([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x44fd77=_0x5422fa(_0x559b74([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x34aa92[_0x559b74([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x559b74([0x74,0x72,0x69,0x61,0x6c])&&(_0x44fd77=_0x5422fa(_0x559b74([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5412b1()):_0x559b74([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x559b74([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x559b74([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x559b74([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1fbe9c(){const _0x51cf28=[_0x559b74([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x559b74([0x74,0x72,0x69,0x61,0x6c])][_0x559b74([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x34aa92[_0x559b74([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4c82e4/0x3e8:0xe10*_0x5b9ff0;return _0x34aa92[_0x559b74([0x65,0x78,0x70])]<_0x51cf28;}function _0x5d7a1b(){const _0x4f9afe=_0x34aa92[_0x559b74([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4f9afe&&(!!_0x4f9afe[_0x559b74([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x559b74([0x2a]))||(!!_0x4f9afe[_0x559b74([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x559b74([0x54,0x4f,0x43]))||(!!_0x4f9afe[_0x559b74([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x559b74([0x50,0x50]))||!(!_0x4f9afe[_0x559b74([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x559b74([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x3d216f()))));}function _0x38bcc6(){const _0x3146cf=_0x34aa92[_0x559b74([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3146cf||0x0==_0x3146cf[_0x559b74([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5c7275}=new URL(window[_0x559b74([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3146cf[_0x559b74([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5c7275))return!0x0;const _0x2d6594=_0x5c7275[_0x559b74([0x73,0x70,0x6c,0x69,0x74])](_0x559b74([0x2e]));return _0x3146cf[_0x559b74([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x229f6a=>_0x229f6a[_0x559b74([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x559b74([0x2a])))[_0x559b74([0x6d,0x61,0x70])](_0x1ff4e1=>_0x1ff4e1[_0x559b74([0x73,0x70,0x6c,0x69,0x74])](_0x559b74([0x2e])))[_0x559b74([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x29c06c=>_0x29c06c[_0x559b74([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2d6594[_0x559b74([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x559b74([0x6d,0x61,0x70])](_0x122a55=>Array(_0x2d6594[_0x559b74([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x122a55[_0x559b74([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x559b74([0x66,0x69,0x6c,0x6c])](_0x122a55[0x0]===_0x559b74([0x2a])?_0x559b74([0x2a]):'')[_0x559b74([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x122a55))[_0x559b74([0x73,0x6f,0x6d,0x65])](_0x6c5a3e=>_0x2d6594[_0x559b74([0x65,0x76,0x65,0x72,0x79])]((_0x1cb227,_0x495ab6)=>_0x6c5a3e[_0x495ab6]===_0x1cb227||_0x6c5a3e[_0x495ab6]===_0x559b74([0x2a])));}function _0x5412b1(){return _0x44fd77&&_0x4f03a1?new window[(_0x559b74([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x24206c,_0x414cc8)=>{_0x44fd77[_0x559b74([0x74,0x68,0x65,0x6e])](_0x24206c,_0x414cc8),_0x4f03a1[_0x559b74([0x74,0x68,0x65,0x6e])](_0x543279=>{_0x543279!=_0x559b74([0x56,0x61,0x6c,0x69,0x64])&&_0x24206c(_0x543279);},_0x414cc8);}):_0x44fd77||_0x4f03a1||_0x559b74([0x56,0x61,0x6c,0x69,0x64]);}}function _0x556253(_0x53eb1f,_0x5b39b9){return new window[(_0x559b74([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5badea=>{if(_0x55f342())return _0x5badea(_0x559b74([0x56,0x61,0x6c,0x69,0x64]));_0x4354e7(),_0x1a6238[_0x559b74([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x559b74([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4445b6=!0x1;const _0x5a5d4e=_0xbc1d74();function _0x52a697(_0x224eae){return!!_0x224eae&&(typeof _0x224eae===_0x559b74([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x224eae===_0x559b74([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x224eae[_0x559b74([0x74,0x68,0x65,0x6e])]===_0x559b74([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x224eae[_0x559b74([0x63,0x61,0x74,0x63,0x68])]===_0x559b74([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xb76965(_0x445325){_0x2f3602(_0x445325)[_0x559b74([0x74,0x68,0x65,0x6e])](_0x4cbe6a=>{if(!_0x4cbe6a||_0x4cbe6a[_0x559b74([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x559b74([0x6f,0x6b]))return _0x559b74([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x55c517(_0x197065(_0x5a5d4e+_0x5b39b9))!=_0x4cbe6a[_0x559b74([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x559b74([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x559b74([0x56,0x61,0x6c,0x69,0x64]);})[_0x559b74([0x74,0x68,0x65,0x6e])](_0x4bea95=>(_0x476b85(),_0x4bea95),()=>{const _0x10b522=_0x1c6c18();return null==_0x10b522?(_0x476b85(),_0x559b74([0x56,0x61,0x6c,0x69,0x64])):_0x559b74(_0x4c82e4-_0x10b522>(0x4f9781fd^_0x5db11b)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x559b74([0x74,0x68,0x65,0x6e])](_0x5badea)[_0x559b74([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5badea(_0x559b74([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5b8d82=0x6badeb7d^_0x5db11b;function _0x476b85(){const _0x3dd2ca=_0x559b74([0x6c,0x6c,0x63,0x74,0x2d])+_0x55c517(_0x197065(_0x53eb1f)),_0x560a03=_0x392e4e(_0x55c517(window[_0x559b74([0x4d,0x61,0x74,0x68])][_0x559b74([0x63,0x65,0x69,0x6c])](_0x4c82e4/_0x5b8d82)));window[_0x559b74([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x559b74([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3dd2ca,_0x560a03);}function _0x1c6c18(){const _0x7a9a25=_0x559b74([0x6c,0x6c,0x63,0x74,0x2d])+_0x55c517(_0x197065(_0x53eb1f)),_0x2241a7=window[_0x559b74([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x559b74([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x7a9a25);return _0x2241a7?window[_0x559b74([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x392e4e(_0x2241a7),0x10)*_0x5b8d82:null;}function _0x2f3602(_0x197f28){return new window[(_0x559b74([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5ec722,_0x1a798d)=>{_0x197f28[_0x559b74([0x74,0x68,0x65,0x6e])](_0x5ec722,_0x1a798d),window[_0x559b74([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1a798d,0x6b9ad13d^_0x5db11b);});}}_0x1a6238[_0x559b74([0x6f,0x6e])](_0x559b74([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5dcebb,_0x40025e)=>{if(_0x40025e[0x0]!=_0x53eb1f)return _0x5badea(_0x559b74([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x40025e[0x1]={..._0x40025e[0x1],[_0x559b74([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5a5d4e};},{[_0x559b74([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x559b74([0x68,0x69,0x67,0x68])}),_0x1a6238[_0x559b74([0x6f,0x6e])](_0x559b74([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x18c61d=>{_0x52a697(_0x18c61d[_0x559b74([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4445b6=!0x0,_0xb76965(_0x18c61d[_0x559b74([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x559b74([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x559b74([0x6c,0x6f,0x77])}),_0x33deb1[_0x559b74([0x74,0x68,0x65,0x6e])](()=>{_0x4445b6||_0x5badea(_0x559b74([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x55f342(){return _0x1a6238[_0x559b74([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x559b74([0x76,0x69,0x65,0x77])][_0x559b74([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x559b74([0x61,0x75,0x74,0x6f]);}function _0x4354e7(){_0x1a6238[_0x559b74([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x559b74([0x76,0x69,0x65,0x77])][_0x559b74([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x559b74([0x61,0x75,0x74,0x6f]);}}function _0x5422fa(_0x24528f){const _0x48be6d=[new window[(_0x559b74([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x341494=>setTimeout(_0x341494,0x6b923b31^_0x5db11b)),_0x33deb1[_0x559b74([0x74,0x68,0x65,0x6e])](()=>new window[(_0x559b74([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x117edb=>{let _0x2c5b8e=0x0;_0x1a6238[_0x559b74([0x6d,0x6f,0x64,0x65,0x6c])][_0x559b74([0x6f,0x6e])](_0x559b74([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4f381c,_0xdac7c3)=>{_0xdac7c3[0x0][_0x559b74([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2c5b8e++,_0x2c5b8e==(0x6b9b0405^_0x5db11b)&&(_0x117edb(),_0x4f381c[_0x559b74([0x6f,0x66,0x66])]());});}))];return window[_0x559b74([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x559b74([0x72,0x61,0x63,0x65])](_0x48be6d)[_0x559b74([0x74,0x68,0x65,0x6e])](()=>_0x24528f);}async function _0x103364(){await _0x33deb1,_0x1a6238[_0x559b74([0x6d,0x6f,0x64,0x65,0x6c])][_0x559b74([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5499ba,_0x1a6238[_0x559b74([0x6d,0x6f,0x64,0x65,0x6c])][_0x559b74([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5499ba,_0x1a6238[_0x559b74([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x559b74([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3d216f(){return window[_0x559b74([0x67,0x6c,0x6f,0x62])]&&window[_0x559b74([0x67,0x6c,0x6f,0x62])][_0x559b74([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x2a77f7(_0x15d043){const _0x14f4f6=_0x62d479();_0x1a6238[_0x14f4f6]=_0x559b74([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])+_0x15d043,_0x15d043!=_0x559b74([0x56,0x61,0x6c,0x69,0x64])&&_0x103364();}function _0x62d479(){const _0x385211=window[_0x559b74([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x559b74([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x559b74([0x6e,0x6f,0x77])]())[_0x559b74([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x559b74([0x2e]),'');let _0x31d4dc=_0x559b74([0x6d]);for(let _0x1f75d2=0x0;_0x1f75d2<_0x385211[_0x559b74([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1f75d2+=0x2){let _0x486b13=window[_0x559b74([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x385211[_0x559b74([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1f75d2,_0x1f75d2+0x2));_0x486b13>=_0x426a11[_0x559b74([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x486b13-=_0x426a11[_0x559b74([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x31d4dc+=_0x426a11[_0x486b13];}return _0x31d4dc;}function _0x55e84b(){const _0x422285=_0x453b97[_0x559b74([0x73,0x70,0x6c,0x69,0x74])](_0x559b74([0x2e]));if(0x3!=_0x422285[_0x559b74([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3f2171(_0x422285[0x1]);function _0x3f2171(_0x14ffcb){const _0x4befcf=_0x37e0c7(_0x14ffcb);return _0x4befcf&&_0x158b74()?_0x4befcf:null;function _0x158b74(){const _0xce531e=_0x4befcf[_0x559b74([0x6a,0x74,0x69])],_0x51feff=window[_0x559b74([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xce531e[_0x559b74([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xce531e[_0x559b74([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2ef7c5={..._0x4befcf,[_0x559b74([0x6a,0x74,0x69])]:_0xce531e[_0x559b74([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xce531e[_0x559b74([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2ef7c5[_0x559b74([0x76,0x63])],_0x197065(_0x2ef7c5)==_0x51feff;}}}async function _0x44f5b5(){let _0x2f1c34=!0x0;try{const _0x260a6d=_0x453b97[_0x559b74([0x73,0x70,0x6c,0x69,0x74])](_0x559b74([0x2e])),[_0x802ea4,_0x349735,_0x41bf8d]=_0x260a6d;return _0x5648e0(_0x802ea4),await _0x17f8d7(_0x802ea4,_0x349735,_0x41bf8d),_0x2f1c34;}catch{return!0x1;}function _0x5648e0(_0x3643a6){const _0x2b029d=_0x37e0c7(_0x3643a6);_0x2b029d&&_0x2b029d[_0x559b74([0x61,0x6c,0x67])]==_0x559b74([0x45,0x53,0x32,0x35,0x36])||(_0x2f1c34=!0x1);}async function _0x17f8d7(_0x1958e6,_0x2eb15e,_0x5da748){const _0x3cdcc0=window[_0x559b74([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x559b74([0x66,0x72,0x6f,0x6d])](_0x5dbc89(_0x5da748),_0x4a1be0=>_0x4a1be0[_0x559b74([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x27a2dc=new window[(_0x559b74([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x559b74([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1958e6+_0x559b74([0x2e])+_0x2eb15e),_0x15f2bc=window[_0x559b74([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x559b74([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x15f2bc)return;const _0x4dc229=await _0x15f2bc[_0x559b74([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x559b74([0x6a,0x77,0x6b]),_0x162960,{[_0x559b74([0x6e,0x61,0x6d,0x65])]:_0x559b74([0x45,0x43,0x44,0x53,0x41]),[_0x559b74([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x559b74([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x559b74([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x15f2bc[_0x559b74([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x559b74([0x6e,0x61,0x6d,0x65])]:_0x559b74([0x45,0x43,0x44,0x53,0x41]),[_0x559b74([0x68,0x61,0x73,0x68])]:{[_0x559b74([0x6e,0x61,0x6d,0x65])]:_0x559b74([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4dc229,_0x3cdcc0,_0x27a2dc)||(_0x2f1c34=!0x1);}}function _0x37e0c7(_0x4e6eab){return _0x4e6eab[_0x559b74([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x559b74([0x65,0x79]))?JSON[_0x559b74([0x70,0x61,0x72,0x73,0x65])](_0x5dbc89(_0x4e6eab)):null;}function _0x5dbc89(_0x8802a5){return window[_0x559b74([0x61,0x74,0x6f,0x62])](_0x8802a5[_0x559b74([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x559b74([0x2b]))[_0x559b74([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x559b74([0x2f])));}function _0x197065(_0x1f60b2){let _0x854129=0x1505;function _0x75a90d(_0x1edbb0){for(let _0x44b074=0x0;_0x44b074<_0x1edbb0[_0x559b74([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x44b074++){const _0x4b2107=_0x1edbb0[_0x559b74([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x44b074);_0x854129=(_0x854129<<0x5)+_0x854129+_0x4b2107,_0x854129&=_0x854129;}}function _0x5a4a29(_0x506b64){Array[_0x559b74([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x506b64)?_0x506b64[_0x559b74([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5a4a29):_0x506b64&&typeof _0x506b64==_0x559b74([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x559b74([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x506b64)[_0x559b74([0x73,0x6f,0x72,0x74])]()[_0x559b74([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x19d042,_0x492233])=>{_0x75a90d(_0x19d042),_0x5a4a29(_0x492233);}):_0x75a90d(window[_0x559b74([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x506b64));}return _0x5a4a29(_0x1f60b2),_0x854129>>>0x0;}function _0x55c517(_0x1dece0){return _0x1dece0[_0x559b74([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x559b74([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x559b74([0x30]));}function _0x392e4e(_0x5c90b0){return _0x5c90b0[_0x559b74([0x73,0x70,0x6c,0x69,0x74])]('')[_0x559b74([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x559b74([0x6a,0x6f,0x69,0x6e])]('');}function _0x5499ba(){}function _0x559b74(_0x6e0f1d){return _0x6e0f1d['map'](_0x1cd2de=>String['fromCharCode'](_0x1cd2de))['join']('');}_0x2a77f7(await _0x4f06d3());}(this);}['_updateTableOfContentsElements'](){this['_tableOfContentsElements']['forEach'](_0x7fb542=>{'$graveyard'!==_0x7fb542['rootName']&&this['editor']['editing']['reconvertItem'](_0x7fb542);});}['_trackNewToCElements'](){for(const _0x4948ad of this['editor']['model']['document']['differ']['getChanges']({'includeChangesInGraveyard':!0x0})){if('insert'!==_0x4948ad['type']||'tableOfContents'!==_0x4948ad['name'])return;this['_tableOfContentsElements']['add'](_0x4948ad['position']['nodeAfter']);}}['_defineSchema'](){this['editor']['model']['schema']['register']('tableOfContents',{'inheritAllFrom':'$blockObject'});}['_defineConverters'](){const _0x3de34c=this['editor']['conversion'];_0x3de34c['for']('upcast')['elementToElement']({'model':'tableOfContents','view':{'name':'div','classes':'table-of-contents'}}),_0x3de34c['for']('dataDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x527a98,{writer:_0x34b772})=>this['_createTableOfContents'](_0x34b772,!0x0)}),_0x3de34c['for']('editingDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x5b62c2,{writer:_0x574080})=>{this['_tableOfContentsElements']['add'](_0x5b62c2);const _0x4290fa=this['_createTableOfContents'](_0x574080);return _0x3da98b(_0x4290fa,_0x574080,{'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'](_0x3fc79f,_0x54c186=!0x1){const {locale:_0x2e7708}=this['editor'],_0x49a617=_0x3fc79f['createContainerElement']('div',{'class':'table-of-contents'+(0x0===this['_currentOutlineDefinitions']['length']?'\x20table-of-contents_empty':''),...!_0x54c186&&{'data-table-of-contents-label':j(_0x2e7708,'Table\x20of\x20contents')}});0x0===this['_currentOutlineDefinitions']['length']&&!0x1===_0x54c186&&_0x3fc79f['insert'](_0x3fc79f['createPositionAt'](_0x49a617,'end'),_0x3fc79f['createContainerElement']('p',{'class':'table-of-contents__placeholder'},[_0x3fc79f['createText'](j(_0x2e7708,'No\x20headings\x20were\x20found\x20in\x20the\x20document.'))]));const _0x5c9cd4=_0x54c186?'':'['+j(_0x2e7708,'Empty\x20heading')+']';let _0x1c2971=_0x49a617;return this['_currentOutlineDefinitions']['forEach']((_0x1afba0,_0x122ae5,_0x3a6cc4)=>{const _0x1db763=this['editor']['model']['hasContent'](_0x1afba0['modelElement'],{'ignoreWhitespaces':!0x0}),_0x1b9153=_0x1db763?_0x1afba0['text']:_0x5c9cd4,_0x59809b=_0x1afba0['modelElement']['getAttribute'](this['_headingIdModelAttributeName']),_0x56615e=_0x3fc79f['createContainerElement']('a',{'href':'#'+_0x59809b,...!_0x54c186&&{'tabindex':'-1'}},[_0x3fc79f['createText'](_0x1b9153)]),_0xbe028a=this['editor']['config']['get']('documentOutline.showEmptyHeadings');_0x3fc79f['setCustomProperty']('tableOfContentsHeadingIndex',_0x122ae5,_0x56615e);const _0x442f15=_0x3fc79f['createContainerElement']('li',null,[_0x1db763||!_0x54c186&&_0xbe028a?_0x56615e:_0x3fc79f['createText']('')]),_0x52fd86=_0x122ae5?_0x3a6cc4[_0x122ae5-0x1]['level']:0x0,_0x407344=Math['abs'](_0x1afba0['level']-_0x52fd86);if(_0x1afba0['level']>_0x52fd86){const _0x391718=N(_0x442f15,_0x407344,_0x3fc79f);_0x3fc79f['insert'](_0x3fc79f['createPositionAt'](_0x1c2971,'end'),_0x391718);}else{const _0x281ee3=function(_0x303da4,_0x3932ef){return _0x303da4['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0})['filter'](_0x204ac1=>_0x204ac1['is']('element','ol'))[_0x3932ef];}(_0x1c2971,_0x407344);_0x3fc79f['insert'](_0x3fc79f['createPositionAt'](_0x281ee3,'end'),_0x442f15);}_0x1c2971=_0x442f15;}),_0x49a617;}['_handleScrollToHeading'](_0x3b3979){const _0x57c640=this['_currentOutlineDefinitions'][_0x3b3979]['modelElement'];this['editor']['model']['change'](_0x1ff97c=>{_0x1ff97c['setSelection'](_0x57c640,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0});}['_redirectMapper'](){return(_0x779672,_0x44fc77)=>{const _0x140967=_0x44fc77['mapper'],_0x4f984a=_0x140967['findMappedViewAncestor'](_0x44fc77['viewPosition']),_0x2e1dc2=_0x140967['toModelElement'](_0x4f984a);_0x2e1dc2['is']('element','tableOfContents')&&(_0x44fc77['modelPosition']=this['editor']['model']['createPositionAt'](_0x2e1dc2,0x0),_0x779672['stop']());};}}function N(_0x3aaed0,_0x353811,_0x12af98){return 0x1===_0x353811?_0x12af98['createContainerElement']('ol',null,[_0x3aaed0]):_0x12af98['createContainerElement']('ol',null,[_0x12af98['createContainerElement']('li',null,[N(_0x3aaed0,_0x353811-0x1,_0x12af98)])]);}class o extends _0x2e71d8{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'TableOfContentsUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x32dd69=this['editor'];_0x32dd69['ui']['componentFactory']['add']('tableOfContents',()=>{const _0x4db8ad=this['_createButton'](_0x2296eb);return _0x4db8ad['tooltip']=!0x0,_0x4db8ad;}),_0x32dd69['ui']['componentFactory']['add']('menuBar:tableOfContents',()=>this['_createButton'](_0x5cf9ce)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x1e88cb=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x38b2d8;for(const _0x3911fb in _0x1e88cb){const _0x2e617b=_0x3911fb,_0x214e8c=_0x1e88cb[_0x2e617b];if('tableOfContentsLicenseKeyValid'==_0x214e8c||'tableOfContentsLicenseKeyInvalid'==_0x214e8c||'tableOfContentsLicenseKeyExpired'==_0x214e8c||'tableOfContentsLicenseKeyDomainLimit'==_0x214e8c||'tableOfContentsLicenseKeyNotAllowed'==_0x214e8c||'tableOfContentsLicenseKeyEvaluationLimit'==_0x214e8c||'tableOfContentsLicenseKeyTrialLimit'==_0x214e8c||'tableOfContentsLicenseKeyUsageLimit'==_0x214e8c){delete _0x1e88cb[_0x2e617b],_0x38b2d8=_0x214e8c,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'tableOfContentsLicenseKeyInvalid'==_0x38b2d8&&_0x1e88cb['_showLicenseError']('invalid'),'tableOfContentsLicenseKeyExpired'==_0x38b2d8&&_0x1e88cb['_showLicenseError']('expired'),'tableOfContentsLicenseKeyDomainLimit'==_0x38b2d8&&_0x1e88cb['_showLicenseError']('domainLimit'),'tableOfContentsLicenseKeyNotAllowed'==_0x38b2d8&&_0x1e88cb['_showLicenseError']('featureNotAllowed','TableOfContents'),'tableOfContentsLicenseKeyEvaluationLimit'==_0x38b2d8&&_0x1e88cb['_showLicenseError']('evaluationLimit'),'tableOfContentsLicenseKeyTrialLimit'==_0x38b2d8&&_0x1e88cb['_showLicenseError']('trialLimit'),'tableOfContentsLicenseKeyUsageLimit'==_0x38b2d8&&_0x1e88cb['_showLicenseError']('usageLimit');},0x3e8);}['_createButton'](_0x4ed0f5){const _0x2deeb3=this['editor'],_0x1a575f=_0x2deeb3['locale'],_0x28d186=_0x2deeb3['commands']['get']('insertTableOfContents'),_0x1df926=new _0x4ed0f5(_0x1a575f);return _0x1df926['set']({'label':j(_0x1a575f,'Table\x20of\x20contents'),'icon':_0x4ecebf}),_0x1df926['bind']('isEnabled')['to'](_0x28d186,'isEnabled'),this['listenTo'](_0x1df926,'execute',()=>{_0x2deeb3['execute']('insertTableOfContents'),_0x2deeb3['editing']['view']['focus']();}),_0x1df926;}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class D extends _0x2e71d8{static get['requires'](){return[s,o];}static get['pluginName'](){return'TableOfContents';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{P as DocumentOutline,n as DocumentOutlineUI,i as DocumentOutlineUtils,T as HeadingId,D as TableOfContents,_ as TableOfContentsCommand,s as TableOfContentsEditing,o as TableOfContentsUI};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-document-outline",
|
|
3
|
-
"version": "46.1.1-alpha.
|
|
3
|
+
"version": "46.1.1-alpha.3",
|
|
4
4
|
"description": "Document outline feature for CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -13,14 +13,14 @@
|
|
|
13
13
|
"type": "module",
|
|
14
14
|
"main": "src/index.js",
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@ckeditor/ckeditor5-core": "46.1.1-alpha.
|
|
17
|
-
"@ckeditor/ckeditor5-engine": "46.1.1-alpha.
|
|
18
|
-
"@ckeditor/ckeditor5-heading": "46.1.1-alpha.
|
|
19
|
-
"@ckeditor/ckeditor5-icons": "46.1.1-alpha.
|
|
20
|
-
"@ckeditor/ckeditor5-ui": "46.1.1-alpha.
|
|
21
|
-
"@ckeditor/ckeditor5-utils": "46.1.1-alpha.
|
|
22
|
-
"@ckeditor/ckeditor5-widget": "46.1.1-alpha.
|
|
23
|
-
"ckeditor5": "46.1.1-alpha.
|
|
16
|
+
"@ckeditor/ckeditor5-core": "46.1.1-alpha.3",
|
|
17
|
+
"@ckeditor/ckeditor5-engine": "46.1.1-alpha.3",
|
|
18
|
+
"@ckeditor/ckeditor5-heading": "46.1.1-alpha.3",
|
|
19
|
+
"@ckeditor/ckeditor5-icons": "46.1.1-alpha.3",
|
|
20
|
+
"@ckeditor/ckeditor5-ui": "46.1.1-alpha.3",
|
|
21
|
+
"@ckeditor/ckeditor5-utils": "46.1.1-alpha.3",
|
|
22
|
+
"@ckeditor/ckeditor5-widget": "46.1.1-alpha.3",
|
|
23
|
+
"ckeditor5": "46.1.1-alpha.3",
|
|
24
24
|
"es-toolkit": "1.39.5"
|
|
25
25
|
},
|
|
26
26
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x2748(){const _0x4460c9=['activeItemIndex','editing','8591418XDwWGN','setSelection','model','scroll','focus','appendChild','getRootNames','domConverter','fromCharCode','7915456XMuYna','_setActiveViewItem','toViewElement','319746hONEDL','getDomRoot','document-outline-container-not-provided','_handleOutlineChange','documentOutline.container','listenTo','get','mapper','map','indexOf','bind','getVisible','document','_currentOutlineDefinitions','itemSelected','length','_updateActiveDefinitionFromViewportThrottled','scrollToTheSelection','join','element','add','render','top','href','isPremiumPlugin','locale','getIntersection','bottom','change','floor','989755wZtEMh','afterInit','mapViewToDom','3290oFcgvQ','focusTracker','DocumentOutlineUtils','cancel','resize','documentOutline.showEmptyHeadings','window','isOfficialPlugin','pluginName','7036dNrQPS','12644883KVjPJA','1080093ynieeH','_handleItemSelected','2AJWtyI','destroy','plugins','view','modelElement','DocumentOutlineUI','sync','init','editor','config','height','_updateActiveDefinitionOnViewportChange'];_0x2748=function(){return _0x4460c9;};return _0x2748();}const _0x533cb4=_0x2036;(function(_0x2e6f9c,_0x81ddac){const _0x10c4e7=_0x2036,_0x4db7cd=_0x2e6f9c();while(!![]){try{const _0x497453=parseInt(_0x10c4e7(0x1ac))/0x1*(parseInt(_0x10c4e7(0x1bc))/0x2)+parseInt(_0x10c4e7(0x1d6))/0x3+parseInt(_0x10c4e7(0x1b8))/0x4*(-parseInt(_0x10c4e7(0x1af))/0x5)+parseInt(_0x10c4e7(0x1ca))/0x6+-parseInt(_0x10c4e7(0x1ba))/0x7+parseInt(_0x10c4e7(0x1d3))/0x8+-parseInt(_0x10c4e7(0x1b9))/0x9;if(_0x497453===_0x81ddac)break;else _0x4db7cd['push'](_0x4db7cd['shift']());}catch(_0x2c7459){_0x4db7cd['push'](_0x4db7cd['shift']());}}}(_0x2748,0xc38c4));import{Plugin as _0x2dcd08}from'ckeditor5/src/core.js';import{CKEditorError as _0x555e32,global as _0x1fa19e,Rect as _0x2cbdaa,uid as _0x37532f}from'ckeditor5/src/utils.js';function _0x2036(_0x4ae835,_0x811ec8){const _0x274816=_0x2748();return _0x2036=function(_0x20364a,_0x3ebf07){_0x20364a=_0x20364a-0x1a1;let _0x23b39e=_0x274816[_0x20364a];return _0x23b39e;},_0x2036(_0x4ae835,_0x811ec8);}import{DocumentOutlineView as _0x4e2bab}from'./ui/documentoutlineview.js';import{throttle as _0x47190e}from'es-toolkit/compat';import'../../theme/documentoutline.css';export class DocumentOutlineUI extends _0x2dcd08{[_0x533cb4(0x1bf)];[_0x533cb4(0x1e3)];[_0x533cb4(0x1e6)];static get[_0x533cb4(0x1b7)](){const _0x2c2005=_0x533cb4;return _0x2c2005(0x1c1);}static get[_0x533cb4(0x1b6)](){return!0x0;}static get[_0x533cb4(0x1a6)](){return!0x0;}constructor(_0x1c62b9){const _0xb9640d=_0x533cb4;super(_0x1c62b9),this[_0xb9640d(0x1bf)]=new _0x4e2bab(_0x1c62b9[_0xb9640d(0x1a7)],this[_0xb9640d(0x1c4)][_0xb9640d(0x1c5)][_0xb9640d(0x1dc)](_0xb9640d(0x1b4)),this[_0xb9640d(0x1c4)][_0xb9640d(0x1c5)][_0xb9640d(0x1dc)](_0xb9640d(0x1da))),this[_0xb9640d(0x1e3)]=[],this[_0xb9640d(0x1e6)]=_0x47190e(this[_0xb9640d(0x1c7)][_0xb9640d(0x1e0)](this),0x64);}[_0x533cb4(0x1c3)](){const _0x5abc91=_0x533cb4,_0x3f31c0=this[_0x5abc91(0x1c4)],_0x53fcc0=_0x3f31c0[_0x5abc91(0x1be)][_0x5abc91(0x1dc)](_0x5abc91(0x1b1));let _0x46aae7=!0x1;if(this[_0x5abc91(0x1bf)][_0x5abc91(0x1a3)](),this[_0x5abc91(0x1c4)]['ui'][_0x5abc91(0x1b0)][_0x5abc91(0x1a2)](this[_0x5abc91(0x1bf)][_0x5abc91(0x1a1)]),!_0x3f31c0[_0x5abc91(0x1c5)][_0x5abc91(0x1dc)](_0x5abc91(0x1da)))throw new _0x555e32(_0x5abc91(0x1d8),{'editor':_0x3f31c0});_0x3f31c0[_0x5abc91(0x1c5)][_0x5abc91(0x1dc)](_0x5abc91(0x1da))[_0x5abc91(0x1cf)](this[_0x5abc91(0x1bf)][_0x5abc91(0x1a1)]),_0x53fcc0['on'](_0x5abc91(0x1aa),this[_0x5abc91(0x1d9)][_0x5abc91(0x1e0)](this)),_0x53fcc0['on'](_0x5abc91(0x1c8),(_0x257322,{index:_0x103970})=>this[_0x5abc91(0x1d4)](_0x103970)),this[_0x5abc91(0x1bf)]['on'](_0x5abc91(0x1e4),(_0x109fad,_0x13c047)=>{const _0x25789d=_0x5abc91;_0x46aae7=!0x0,this[_0x25789d(0x1bb)](_0x13c047);}),this[_0x5abc91(0x1bf)][_0x5abc91(0x1db)](_0x1fa19e[_0x5abc91(0x1e2)],_0x5abc91(0x1cd),()=>{const _0x13ec49=_0x5abc91;_0x46aae7?_0x46aae7=!0x1:this[_0x13ec49(0x1e6)]();},{'useCapture':!0x0}),this[_0x5abc91(0x1bf)][_0x5abc91(0x1db)](_0x1fa19e[_0x5abc91(0x1b5)],_0x5abc91(0x1b3),this[_0x5abc91(0x1e6)],{'useCapture':!0x0});}[_0x533cb4(0x1ad)](){!async function(_0x3919ae){const _0xdb6185=_0x32ff23([0x61,0x57,0x78,0x6c,0x50,0x47,0x30,0x41,0x33,0x43,0x44,0x64,0x48,0x42,0x73,0x5a,0x45,0x71,0x77,0x55,0x4c,0x6f,0x6a,0x4f,0x72,0x67,0x4d,0x58,0x56,0x54,0x52,0x76,0x75,0x31,0x62,0x49,0x32,0x34,0x38,0x37,0x70,0x74,0x7a,0x4a,0x4b,0x51,0x65,0x69,0x68,0x66,0x4e,0x6b,0x59,0x53,0x39,0x6e,0x36,0x79,0x35,0x6d,0x63,0x46]),_0x3dcbf2=0x1cb264a3,_0x46ea97=0x1cb517fb^_0x3dcbf2,_0x1d367f=window[_0x32ff23([0x44,0x61,0x74,0x65])][_0x32ff23([0x6e,0x6f,0x77])](),_0x3f42a3=_0x3919ae[_0x32ff23([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1641c8=new window[(_0x32ff23([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5ebd7f=>{_0x3f42a3[_0x32ff23([0x6f,0x6e,0x63,0x65])](_0x32ff23([0x72,0x65,0x61,0x64,0x79]),_0x5ebd7f);}),_0x49c16e={[_0x32ff23([0x6b,0x74,0x79])]:_0x32ff23([0x45,0x43]),[_0x32ff23([0x75,0x73,0x65])]:_0x32ff23([0x73,0x69,0x67]),[_0x32ff23([0x63,0x72,0x76])]:_0x32ff23([0x50,0x2d,0x32,0x35,0x36]),[_0x32ff23([0x78])]:_0x32ff23([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x32ff23([0x79])]:_0x32ff23([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x32ff23([0x61,0x6c,0x67])]:_0x32ff23([0x45,0x53,0x32,0x35,0x36])},_0x3821ab=_0x3f42a3[_0x32ff23([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x32ff23([0x67,0x65,0x74])](_0x32ff23([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x353afc(){let _0xb10b2e,_0x2264d1=null,_0x3e0cd0=null;try{if(_0x3821ab==_0x32ff23([0x47,0x50,0x4c]))return _0x32ff23([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xb10b2e=_0x5a960a(),!_0xb10b2e)return _0x32ff23([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xb10b2e[_0x32ff23([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3e0cd0=_0x130cef(_0xb10b2e[_0x32ff23([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xb10b2e[_0x32ff23([0x6a,0x74,0x69])])),await _0x3c82fa()?_0x5aa6ff()?_0x44cff4()?_0x32ff23([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x54705f()?(_0xb10b2e[_0x32ff23([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x32ff23([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2264d1=_0x25191f(_0x32ff23([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0xb10b2e[_0x32ff23([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x32ff23([0x74,0x72,0x69,0x61,0x6c])&&(_0x2264d1=_0x25191f(_0x32ff23([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3b3cfa()):_0x32ff23([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x32ff23([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x32ff23([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x32ff23([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x44cff4(){const _0x4b4451=[_0x32ff23([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x32ff23([0x74,0x72,0x69,0x61,0x6c])][_0x32ff23([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xb10b2e[_0x32ff23([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1d367f/0x3e8:0xe10*_0x46ea97;return _0xb10b2e[_0x32ff23([0x65,0x78,0x70])]<_0x4b4451;}function _0x5aa6ff(){const _0x33157c=_0xb10b2e[_0x32ff23([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x33157c&&(!!_0x33157c[_0x32ff23([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x32ff23([0x2a]))||(!!_0x33157c[_0x32ff23([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x32ff23([0x44,0x4f]))||(!!_0x33157c[_0x32ff23([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x32ff23([0x50,0x50]))||!(!_0x33157c[_0x32ff23([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x32ff23([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x441b11()))));}function _0x54705f(){const _0x183f0b=_0x2036,_0x361089=_0xb10b2e[_0x32ff23([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x361089||0x0==_0x361089[_0x32ff23([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3f44f5}=new URL(window[_0x32ff23([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x183f0b(0x1a5)]);if(_0x361089[_0x32ff23([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3f44f5))return!0x0;const _0x4b656d=_0x3f44f5[_0x32ff23([0x73,0x70,0x6c,0x69,0x74])](_0x32ff23([0x2e]));return _0x361089[_0x32ff23([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2ef60a=>_0x2ef60a[_0x32ff23([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x32ff23([0x2a])))[_0x32ff23([0x6d,0x61,0x70])](_0x352e78=>_0x352e78[_0x32ff23([0x73,0x70,0x6c,0x69,0x74])](_0x32ff23([0x2e])))[_0x32ff23([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3e6956=>_0x3e6956[_0x32ff23([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4b656d[_0x32ff23([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x32ff23([0x6d,0x61,0x70])](_0x5a5e13=>Array(_0x4b656d[_0x32ff23([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5a5e13[_0x32ff23([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x32ff23([0x66,0x69,0x6c,0x6c])](_0x5a5e13[0x0]===_0x32ff23([0x2a])?_0x32ff23([0x2a]):'')[_0x32ff23([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5a5e13))[_0x32ff23([0x73,0x6f,0x6d,0x65])](_0xbd6813=>_0x4b656d[_0x32ff23([0x65,0x76,0x65,0x72,0x79])]((_0xf15ee4,_0x2a025f)=>_0xbd6813[_0x2a025f]===_0xf15ee4||_0xbd6813[_0x2a025f]===_0x32ff23([0x2a])));}function _0x3b3cfa(){return _0x2264d1&&_0x3e0cd0?new window[(_0x32ff23([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x8673ba,_0x2ac7f3)=>{_0x2264d1[_0x32ff23([0x74,0x68,0x65,0x6e])](_0x8673ba,_0x2ac7f3),_0x3e0cd0[_0x32ff23([0x74,0x68,0x65,0x6e])](_0x8b39c0=>{_0x8b39c0!=_0x32ff23([0x56,0x61,0x6c,0x69,0x64])&&_0x8673ba(_0x8b39c0);},_0x2ac7f3);}):_0x2264d1||_0x3e0cd0||_0x32ff23([0x56,0x61,0x6c,0x69,0x64]);}}function _0x130cef(_0xa9ee42,_0xfdc51){return new window[(_0x32ff23([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x365996=>{if(_0x2d8245())return _0x365996(_0x32ff23([0x56,0x61,0x6c,0x69,0x64]));_0x3cd7b5(),_0x3f42a3[_0x32ff23([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x32ff23([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x35def4=!0x1;const _0x43b549=_0x37532f();function _0x27b21b(_0x4d2619){return!!_0x4d2619&&(typeof _0x4d2619===_0x32ff23([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4d2619===_0x32ff23([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4d2619[_0x32ff23([0x74,0x68,0x65,0x6e])]===_0x32ff23([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4d2619[_0x32ff23([0x63,0x61,0x74,0x63,0x68])]===_0x32ff23([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x44d559(_0x8b96b9){_0x1b0cdb(_0x8b96b9)[_0x32ff23([0x74,0x68,0x65,0x6e])](_0x16f4ab=>{if(!_0x16f4ab||_0x16f4ab[_0x32ff23([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x32ff23([0x6f,0x6b]))return _0x32ff23([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xcde151(_0x28db54(_0x43b549+_0xfdc51))!=_0x16f4ab[_0x32ff23([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x32ff23([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x32ff23([0x56,0x61,0x6c,0x69,0x64]);})[_0x32ff23([0x74,0x68,0x65,0x6e])](_0x4fad5a=>(_0x587db1(),_0x4fad5a),()=>{const _0x53b507=_0x32b788();return null==_0x53b507?(_0x587db1(),_0x32ff23([0x56,0x61,0x6c,0x69,0x64])):_0x32ff23(_0x1d367f-_0x53b507>(0x38bee0a3^_0x3dcbf2)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x32ff23([0x74,0x68,0x65,0x6e])](_0x365996)[_0x32ff23([0x63,0x61,0x74,0x63,0x68])](()=>{_0x365996(_0x32ff23([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1b22c0=0x1c848a23^_0x3dcbf2;function _0x587db1(){const _0x26c9f7=_0x32ff23([0x6c,0x6c,0x63,0x74,0x2d])+_0xcde151(_0x28db54(_0xa9ee42)),_0x14fc28=_0x35fc09(_0xcde151(window[_0x32ff23([0x4d,0x61,0x74,0x68])][_0x32ff23([0x63,0x65,0x69,0x6c])](_0x1d367f/_0x1b22c0)));window[_0x32ff23([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x32ff23([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x26c9f7,_0x14fc28);}function _0x32b788(){const _0x156a16=_0x32ff23([0x6c,0x6c,0x63,0x74,0x2d])+_0xcde151(_0x28db54(_0xa9ee42)),_0x261bda=window[_0x32ff23([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x32ff23([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x156a16);return _0x261bda?window[_0x32ff23([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x35fc09(_0x261bda),0x10)*_0x1b22c0:null;}function _0x1b0cdb(_0x4754c0){return new window[(_0x32ff23([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xf87adc,_0x845d28)=>{_0x4754c0[_0x32ff23([0x74,0x68,0x65,0x6e])](_0xf87adc,_0x845d28),window[_0x32ff23([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x845d28,0x1cb3b063^_0x3dcbf2);});}}_0x3f42a3[_0x32ff23([0x6f,0x6e])](_0x32ff23([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x58ed2a,_0x470662)=>{if(_0x470662[0x0]!=_0xa9ee42)return _0x365996(_0x32ff23([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x470662[0x1]={..._0x470662[0x1],[_0x32ff23([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x43b549};},{[_0x32ff23([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x32ff23([0x68,0x69,0x67,0x68])}),_0x3f42a3[_0x32ff23([0x6f,0x6e])](_0x32ff23([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x10a2a0=>{_0x27b21b(_0x10a2a0[_0x32ff23([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x35def4=!0x0,_0x44d559(_0x10a2a0[_0x32ff23([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x32ff23([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x32ff23([0x6c,0x6f,0x77])}),_0x1641c8[_0x32ff23([0x74,0x68,0x65,0x6e])](()=>{_0x35def4||_0x365996(_0x32ff23([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2d8245(){return _0x3f42a3[_0x32ff23([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x32ff23([0x76,0x69,0x65,0x77])][_0x32ff23([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x32ff23([0x61,0x75,0x74,0x6f]);}function _0x3cd7b5(){_0x3f42a3[_0x32ff23([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x32ff23([0x76,0x69,0x65,0x77])][_0x32ff23([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x32ff23([0x61,0x75,0x74,0x6f]);}}function _0x25191f(_0x2dd67d){const _0x4a4526=[new window[(_0x32ff23([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x35bf91=>setTimeout(_0x35bf91,0x1cbb5a6f^_0x3dcbf2)),_0x1641c8[_0x32ff23([0x74,0x68,0x65,0x6e])](()=>new window[(_0x32ff23([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x404490=>{let _0x2742fb=0x0;_0x3f42a3[_0x32ff23([0x6d,0x6f,0x64,0x65,0x6c])][_0x32ff23([0x6f,0x6e])](_0x32ff23([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2b6b8d,_0x39716a)=>{_0x39716a[0x0][_0x32ff23([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2742fb++,_0x2742fb==(0x1cb2655b^_0x3dcbf2)&&(_0x404490(),_0x2b6b8d[_0x32ff23([0x6f,0x66,0x66])]());});}))];return window[_0x32ff23([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x32ff23([0x72,0x61,0x63,0x65])](_0x4a4526)[_0x32ff23([0x74,0x68,0x65,0x6e])](()=>_0x2dd67d);}async function _0x3b8f67(){await _0x1641c8,_0x3f42a3[_0x32ff23([0x6d,0x6f,0x64,0x65,0x6c])][_0x32ff23([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x135370,_0x3f42a3[_0x32ff23([0x6d,0x6f,0x64,0x65,0x6c])][_0x32ff23([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x135370,_0x3f42a3[_0x32ff23([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x32ff23([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x441b11(){return window[_0x32ff23([0x67,0x6c,0x6f,0x62])]&&window[_0x32ff23([0x67,0x6c,0x6f,0x62])][_0x32ff23([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x537c7f(_0x4f33b7){const _0x12e02d=_0x3a477a();_0x3f42a3[_0x12e02d]=_0x32ff23([0x64,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4f33b7,_0x4f33b7!=_0x32ff23([0x56,0x61,0x6c,0x69,0x64])&&_0x3b8f67();}function _0x3a477a(){const _0x1e0249=window[_0x32ff23([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x32ff23([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x32ff23([0x6e,0x6f,0x77])]())[_0x32ff23([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x32ff23([0x2e]),'');let _0x46b7f8=_0x32ff23([0x61]);for(let _0x615293=0x0;_0x615293<_0x1e0249[_0x32ff23([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x615293+=0x2){let _0x2e78aa=window[_0x32ff23([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1e0249[_0x32ff23([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x615293,_0x615293+0x2));_0x2e78aa>=_0xdb6185[_0x32ff23([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2e78aa-=_0xdb6185[_0x32ff23([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x46b7f8+=_0xdb6185[_0x2e78aa];}return _0x46b7f8;}function _0x5a960a(){const _0x18223c=_0x3821ab[_0x32ff23([0x73,0x70,0x6c,0x69,0x74])](_0x32ff23([0x2e]));if(0x3!=_0x18223c[_0x32ff23([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x346fcb(_0x18223c[0x1]);function _0x346fcb(_0x3f0671){const _0xf2b008=_0x216fd9(_0x3f0671);return _0xf2b008&&_0x4a8b04()?_0xf2b008:null;function _0x4a8b04(){const _0xcf181a=_0xf2b008[_0x32ff23([0x6a,0x74,0x69])],_0xfcc650=window[_0x32ff23([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xcf181a[_0x32ff23([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xcf181a[_0x32ff23([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x40e0a5={..._0xf2b008,[_0x32ff23([0x6a,0x74,0x69])]:_0xcf181a[_0x32ff23([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xcf181a[_0x32ff23([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x40e0a5[_0x32ff23([0x76,0x63])],_0x28db54(_0x40e0a5)==_0xfcc650;}}}async function _0x3c82fa(){let _0x1cff70=!0x0;try{const _0x5f1841=_0x3821ab[_0x32ff23([0x73,0x70,0x6c,0x69,0x74])](_0x32ff23([0x2e])),[_0x41b418,_0x7be162,_0x2e6a7f]=_0x5f1841;return _0x355a21(_0x41b418),await _0x40c0c3(_0x41b418,_0x7be162,_0x2e6a7f),_0x1cff70;}catch{return!0x1;}function _0x355a21(_0x456014){const _0x194888=_0x216fd9(_0x456014);_0x194888&&_0x194888[_0x32ff23([0x61,0x6c,0x67])]==_0x32ff23([0x45,0x53,0x32,0x35,0x36])||(_0x1cff70=!0x1);}async function _0x40c0c3(_0x1f0a01,_0xa36e02,_0x5459b4){const _0x5463e8=window[_0x32ff23([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x32ff23([0x66,0x72,0x6f,0x6d])](_0x2d9679(_0x5459b4),_0x33ef05=>_0x33ef05[_0x32ff23([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x49ddb1=new window[(_0x32ff23([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x32ff23([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1f0a01+_0x32ff23([0x2e])+_0xa36e02),_0x362739=window[_0x32ff23([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x32ff23([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x362739)return;const _0x50e340=await _0x362739[_0x32ff23([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x32ff23([0x6a,0x77,0x6b]),_0x49c16e,{[_0x32ff23([0x6e,0x61,0x6d,0x65])]:_0x32ff23([0x45,0x43,0x44,0x53,0x41]),[_0x32ff23([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x32ff23([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x32ff23([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x362739[_0x32ff23([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x32ff23([0x6e,0x61,0x6d,0x65])]:_0x32ff23([0x45,0x43,0x44,0x53,0x41]),[_0x32ff23([0x68,0x61,0x73,0x68])]:{[_0x32ff23([0x6e,0x61,0x6d,0x65])]:_0x32ff23([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x50e340,_0x5463e8,_0x49ddb1)||(_0x1cff70=!0x1);}}function _0x216fd9(_0x46f4bc){return _0x46f4bc[_0x32ff23([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x32ff23([0x65,0x79]))?JSON[_0x32ff23([0x70,0x61,0x72,0x73,0x65])](_0x2d9679(_0x46f4bc)):null;}function _0x2d9679(_0x120ce3){return window[_0x32ff23([0x61,0x74,0x6f,0x62])](_0x120ce3[_0x32ff23([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x32ff23([0x2b]))[_0x32ff23([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x32ff23([0x2f])));}function _0x28db54(_0x435e4e){let _0x3b58cc=0x1505;function _0x287b1c(_0x264a04){for(let _0x11534c=0x0;_0x11534c<_0x264a04[_0x32ff23([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x11534c++){const _0x7033e0=_0x264a04[_0x32ff23([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x11534c);_0x3b58cc=(_0x3b58cc<<0x5)+_0x3b58cc+_0x7033e0,_0x3b58cc&=_0x3b58cc;}}function _0x2608a1(_0x4f8f9f){Array[_0x32ff23([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4f8f9f)?_0x4f8f9f[_0x32ff23([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2608a1):_0x4f8f9f&&typeof _0x4f8f9f==_0x32ff23([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x32ff23([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4f8f9f)[_0x32ff23([0x73,0x6f,0x72,0x74])]()[_0x32ff23([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3519d0,_0x8f36aa])=>{_0x287b1c(_0x3519d0),_0x2608a1(_0x8f36aa);}):_0x287b1c(window[_0x32ff23([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4f8f9f));}return _0x2608a1(_0x435e4e),_0x3b58cc>>>0x0;}function _0xcde151(_0x5a1061){return _0x5a1061[_0x32ff23([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x32ff23([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x32ff23([0x30]));}function _0x35fc09(_0x1f1862){return _0x1f1862[_0x32ff23([0x73,0x70,0x6c,0x69,0x74])]('')[_0x32ff23([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x32ff23([0x6a,0x6f,0x69,0x6e])]('');}function _0x135370(){}function _0x32ff23(_0x280098){const _0x4ca9f6=_0x2036;return _0x280098[_0x4ca9f6(0x1de)](_0x2ade27=>String[_0x4ca9f6(0x1d2)](_0x2ade27))[_0x4ca9f6(0x1e8)]('');}_0x537c7f(await _0x353afc());}(this);}[_0x533cb4(0x1bd)](){const _0x9886ee=_0x533cb4;super[_0x9886ee(0x1bd)](),this[_0x9886ee(0x1bf)][_0x9886ee(0x1bd)](),this[_0x9886ee(0x1e6)][_0x9886ee(0x1b2)]();}[_0x533cb4(0x1d9)](_0x1c4eaa,{outlineDefinitions:_0x45a908,outlineChanges:_0x18904c}){const _0x34ddb2=_0x533cb4;this[_0x34ddb2(0x1e3)]=_0x45a908,this[_0x34ddb2(0x1bf)][_0x34ddb2(0x1c2)](_0x18904c);}[_0x533cb4(0x1d4)](_0xcbe534){const _0x2e7a6e=_0x533cb4;this[_0x2e7a6e(0x1e3)][_0x2e7a6e(0x1e5)]&&this[_0x2e7a6e(0x1e3)][_0xcbe534]&&(this[_0x2e7a6e(0x1bf)][_0x2e7a6e(0x1c8)]=_0xcbe534);}[_0x533cb4(0x1bb)](_0x2ba84c){const _0x3cd8f8=_0x533cb4,_0xcf318=this[_0x3cd8f8(0x1e3)][_0x2ba84c][_0x3cd8f8(0x1c0)];this[_0x3cd8f8(0x1c4)][_0x3cd8f8(0x1cc)][_0x3cd8f8(0x1aa)](_0x4ee9f9=>{const _0x445d25=_0x3cd8f8;_0x4ee9f9[_0x445d25(0x1cb)](_0xcf318,0x0);}),this[_0x3cd8f8(0x1c4)][_0x3cd8f8(0x1c9)][_0x3cd8f8(0x1bf)][_0x3cd8f8(0x1e7)]({'alignToTop':!0x0,'forceScroll':!0x0}),this[_0x3cd8f8(0x1c4)][_0x3cd8f8(0x1c9)][_0x3cd8f8(0x1bf)][_0x3cd8f8(0x1ce)](),this[_0x3cd8f8(0x1d4)](_0x2ba84c);}[_0x533cb4(0x1c7)](){const _0x2e8615=_0x533cb4,_0x116c81=this[_0x2e8615(0x1c4)];let _0x12d543;for(const _0x3d9036 of _0x116c81[_0x2e8615(0x1cc)][_0x2e8615(0x1e2)][_0x2e8615(0x1d0)]()){const _0x178d87=_0x116c81[_0x2e8615(0x1c9)][_0x2e8615(0x1bf)][_0x2e8615(0x1d7)](_0x3d9036),_0x50c085=_0x178d87&&new _0x2cbdaa(_0x178d87)[_0x2e8615(0x1e1)]();if(_0x50c085){const _0x52050f=new _0x2cbdaa(_0x1fa19e[_0x2e8615(0x1b5)])[_0x2e8615(0x1a8)](_0x50c085);_0x52050f&&(_0x12d543=_0x52050f[_0x2e8615(0x1a4)]+0.25*_0x52050f[_0x2e8615(0x1c6)]);}}if(void 0x0===_0x12d543)return;const _0x535abd=D(_0x116c81[_0x2e8615(0x1c9)],this[_0x2e8615(0x1e3)],_0x12d543);_0x535abd?this[_0x2e8615(0x1d4)](this[_0x2e8615(0x1e3)][_0x2e8615(0x1df)](_0x535abd)):this[_0x2e8615(0x1d4)](-0x1);}}function D(_0x449846,_0x2b6010,_0x57cfd9,_0x35a2b0=0x0,_0x30cd53=_0x2b6010[_0x533cb4(0x1e5)]-0x1){const _0x233687=_0x533cb4,_0x34bcf5=Math[_0x233687(0x1ab)](_0x35a2b0+(_0x30cd53-_0x35a2b0)/0x2);if(_0x30cd53>=_0x35a2b0){const _0x49fdae=_0x2b6010[_0x34bcf5],_0x37cd79=_0x449846[_0x233687(0x1dd)][_0x233687(0x1d5)](_0x49fdae[_0x233687(0x1c0)]);if(!_0x37cd79)return null;const _0x298efa=_0x449846[_0x233687(0x1bf)][_0x233687(0x1d1)][_0x233687(0x1ae)](_0x37cd79);return new _0x2cbdaa(_0x298efa)[_0x233687(0x1a9)]>_0x57cfd9?D(_0x449846,_0x2b6010,_0x57cfd9,_0x35a2b0,_0x34bcf5-0x1):D(_0x449846,_0x2b6010,_0x57cfd9,_0x34bcf5+0x1,_0x30cd53);}return _0x34bcf5<0x0?null:_0x2b6010[_0x34bcf5];}
|
|
23
|
+
function _0x4578(_0x4f0b6d,_0xdab574){const _0xbde47e=_0xbde4();return _0x4578=function(_0x457836,_0x2feb3f){_0x457836=_0x457836-0x9d;let _0x38957f=_0xbde47e[_0x457836];return _0x38957f;},_0x4578(_0x4f0b6d,_0xdab574);}const _0x120dff=_0x4578;(function(_0x2010c4,_0x193b9a){const _0x59f388=_0x4578,_0xfb713b=_0x2010c4();while(!![]){try{const _0x2a36ce=-parseInt(_0x59f388(0xb2))/0x1+parseInt(_0x59f388(0xb4))/0x2*(parseInt(_0x59f388(0xac))/0x3)+-parseInt(_0x59f388(0xae))/0x4+parseInt(_0x59f388(0xb1))/0x5+-parseInt(_0x59f388(0xca))/0x6+parseInt(_0x59f388(0xad))/0x7*(-parseInt(_0x59f388(0xd4))/0x8)+-parseInt(_0x59f388(0xd8))/0x9*(-parseInt(_0x59f388(0xab))/0xa);if(_0x2a36ce===_0x193b9a)break;else _0xfb713b['push'](_0xfb713b['shift']());}catch(_0x24bcf0){_0xfb713b['push'](_0xfb713b['shift']());}}}(_0xbde4,0x8a53f));import{Plugin as _0xed389}from'ckeditor5/src/core.js';import{CKEditorError as _0x859f51,global as _0x34d81b,Rect as _0xfdbc58,uid as _0x2379b3}from'ckeditor5/src/utils.js';import{DocumentOutlineView as _0x136253}from'./ui/documentoutlineview.js';import{throttle as _0x580825}from'es-toolkit/compat';function _0xbde4(){const _0x282b28=['_currentOutlineDefinitions','52468vhfHvk','isOfficialPlugin','setSelection','indexOf','appendChild','isPremiumPlugin','model','height','modelElement','focus','getDomRoot','href','getIntersection','top','view','domConverter','mapper','DocumentOutlineUtils','element','toViewElement','activeItemIndex','scrollToTheSelection','4202508UBYJiC','cancel','locale','init','focusTracker','scroll','change','bottom','get','getRootNames','1441592LrwnEY','itemSelected','map','resize','9ERDQrV','fromCharCode','document-outline-container-not-provided','pluginName','bind','join','editing','sync','length','documentOutline.showEmptyHeadings','add','DocumentOutlineUI','window','getVisible','document','floor','_handleOutlineChange','_updateActiveDefinitionOnViewportChange','documentOutline.container','editor','plugins','_updateActiveDefinitionFromViewportThrottled','_setActiveViewItem','render','config','mapViewToDom','destroy','listenTo','18712570uwwwfY','108ZBSJyQ','28gZiFyd','2383480yGjNLF','afterInit','_handleItemSelected','915860iMyoVJ','415178VdJpBL'];_0xbde4=function(){return _0x282b28;};return _0xbde4();}import'../../theme/documentoutline.css';export class DocumentOutlineUI extends _0xed389{[_0x120dff(0xc2)];[_0x120dff(0xb3)];[_0x120dff(0xa4)];static get[_0x120dff(0xdb)](){const _0x324c04=_0x120dff;return _0x324c04(0xe3);}static get[_0x120dff(0xb5)](){return!0x0;}static get[_0x120dff(0xb9)](){return!0x0;}constructor(_0xc9b6f7){const _0x1e7eb7=_0x120dff;super(_0xc9b6f7),this[_0x1e7eb7(0xc2)]=new _0x136253(_0xc9b6f7[_0x1e7eb7(0xcc)],this[_0x1e7eb7(0xa2)][_0x1e7eb7(0xa7)][_0x1e7eb7(0xd2)](_0x1e7eb7(0xe1)),this[_0x1e7eb7(0xa2)][_0x1e7eb7(0xa7)][_0x1e7eb7(0xd2)](_0x1e7eb7(0xa1))),this[_0x1e7eb7(0xb3)]=[],this[_0x1e7eb7(0xa4)]=_0x580825(this[_0x1e7eb7(0xa0)][_0x1e7eb7(0xdc)](this),0x64);}[_0x120dff(0xcd)](){const _0xe4d8b8=_0x120dff,_0x21e5f4=this[_0xe4d8b8(0xa2)],_0x137098=_0x21e5f4[_0xe4d8b8(0xa3)][_0xe4d8b8(0xd2)](_0xe4d8b8(0xc5));let _0x2a65d0=!0x1;if(this[_0xe4d8b8(0xc2)][_0xe4d8b8(0xa6)](),this[_0xe4d8b8(0xa2)]['ui'][_0xe4d8b8(0xce)][_0xe4d8b8(0xe2)](this[_0xe4d8b8(0xc2)][_0xe4d8b8(0xc6)]),!_0x21e5f4[_0xe4d8b8(0xa7)][_0xe4d8b8(0xd2)](_0xe4d8b8(0xa1)))throw new _0x859f51(_0xe4d8b8(0xda),{'editor':_0x21e5f4});_0x21e5f4[_0xe4d8b8(0xa7)][_0xe4d8b8(0xd2)](_0xe4d8b8(0xa1))[_0xe4d8b8(0xb8)](this[_0xe4d8b8(0xc2)][_0xe4d8b8(0xc6)]),_0x137098['on'](_0xe4d8b8(0xd0),this[_0xe4d8b8(0x9f)][_0xe4d8b8(0xdc)](this)),_0x137098['on'](_0xe4d8b8(0xc8),(_0x1491c8,{index:_0x315581})=>this[_0xe4d8b8(0xa5)](_0x315581)),this[_0xe4d8b8(0xc2)]['on'](_0xe4d8b8(0xd5),(_0xeb7261,_0xd91fff)=>{const _0x2efa4c=_0xe4d8b8;_0x2a65d0=!0x0,this[_0x2efa4c(0xb0)](_0xd91fff);}),this[_0xe4d8b8(0xc2)][_0xe4d8b8(0xaa)](_0x34d81b[_0xe4d8b8(0x9d)],_0xe4d8b8(0xcf),()=>{const _0x59bd86=_0xe4d8b8;_0x2a65d0?_0x2a65d0=!0x1:this[_0x59bd86(0xa4)]();},{'useCapture':!0x0}),this[_0xe4d8b8(0xc2)][_0xe4d8b8(0xaa)](_0x34d81b[_0xe4d8b8(0xe4)],_0xe4d8b8(0xd7),this[_0xe4d8b8(0xa4)],{'useCapture':!0x0});}[_0x120dff(0xaf)](){!async function(_0x3c7772){const _0x1ead65=_0x4f1a0a([0x61,0x57,0x78,0x6c,0x50,0x47,0x30,0x41,0x33,0x43,0x44,0x64,0x48,0x42,0x73,0x5a,0x45,0x71,0x77,0x55,0x4c,0x6f,0x6a,0x4f,0x72,0x67,0x4d,0x58,0x56,0x54,0x52,0x76,0x75,0x31,0x62,0x49,0x32,0x34,0x38,0x37,0x70,0x74,0x7a,0x4a,0x4b,0x51,0x65,0x69,0x68,0x66,0x4e,0x6b,0x59,0x53,0x39,0x6e,0x36,0x79,0x35,0x6d,0x63,0x46]),_0x42d639=0x1cb264a3,_0x19be70=0x1cb517d3^_0x42d639,_0x1e5ae8=window[_0x4f1a0a([0x44,0x61,0x74,0x65])][_0x4f1a0a([0x6e,0x6f,0x77])](),_0x19de3e=_0x3c7772[_0x4f1a0a([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4235dd=new window[(_0x4f1a0a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3b05a3=>{_0x19de3e[_0x4f1a0a([0x6f,0x6e,0x63,0x65])](_0x4f1a0a([0x72,0x65,0x61,0x64,0x79]),_0x3b05a3);}),_0x3c06f3={[_0x4f1a0a([0x6b,0x74,0x79])]:_0x4f1a0a([0x45,0x43]),[_0x4f1a0a([0x75,0x73,0x65])]:_0x4f1a0a([0x73,0x69,0x67]),[_0x4f1a0a([0x63,0x72,0x76])]:_0x4f1a0a([0x50,0x2d,0x32,0x35,0x36]),[_0x4f1a0a([0x78])]:_0x4f1a0a([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]),[_0x4f1a0a([0x79])]:_0x4f1a0a([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]),[_0x4f1a0a([0x61,0x6c,0x67])]:_0x4f1a0a([0x45,0x53,0x32,0x35,0x36])},_0x2697d7=_0x19de3e[_0x4f1a0a([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4f1a0a([0x67,0x65,0x74])](_0x4f1a0a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1cf2fc(){let _0x23aef1,_0x3a9bce=null,_0x4d7be0=null;try{if(_0x2697d7==_0x4f1a0a([0x47,0x50,0x4c]))return _0x4f1a0a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x23aef1=_0xd1430b(),!_0x23aef1)return _0x4f1a0a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x23aef1[_0x4f1a0a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4d7be0=_0x403ab6(_0x23aef1[_0x4f1a0a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x23aef1[_0x4f1a0a([0x6a,0x74,0x69])])),await _0x20b9a4()?_0x59d966()?_0x76ec65()?_0x4f1a0a([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4b8c54()?(_0x23aef1[_0x4f1a0a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4f1a0a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3a9bce=_0x5efd65(_0x4f1a0a([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x23aef1[_0x4f1a0a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4f1a0a([0x74,0x72,0x69,0x61,0x6c])&&(_0x3a9bce=_0x5efd65(_0x4f1a0a([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x19f02a()):_0x4f1a0a([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4f1a0a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4f1a0a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4f1a0a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x76ec65(){const _0x503e5c=[_0x4f1a0a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4f1a0a([0x74,0x72,0x69,0x61,0x6c])][_0x4f1a0a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x23aef1[_0x4f1a0a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1e5ae8/0x3e8:0xe10*_0x19be70;return _0x23aef1[_0x4f1a0a([0x65,0x78,0x70])]<_0x503e5c;}function _0x59d966(){const _0x3e6e3d=_0x23aef1[_0x4f1a0a([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3e6e3d&&(!!_0x3e6e3d[_0x4f1a0a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4f1a0a([0x2a]))||(!!_0x3e6e3d[_0x4f1a0a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4f1a0a([0x44,0x4f]))||(!!_0x3e6e3d[_0x4f1a0a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4f1a0a([0x50,0x50]))||!(!_0x3e6e3d[_0x4f1a0a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4f1a0a([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x2aef1f()))));}function _0x4b8c54(){const _0x141242=_0x4578,_0x55e5f7=_0x23aef1[_0x4f1a0a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x55e5f7||0x0==_0x55e5f7[_0x4f1a0a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x58acdb}=new URL(window[_0x4f1a0a([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x141242(0xbf)]);if(_0x55e5f7[_0x4f1a0a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x58acdb))return!0x0;const _0xc5ab6d=_0x58acdb[_0x4f1a0a([0x73,0x70,0x6c,0x69,0x74])](_0x4f1a0a([0x2e]));return _0x55e5f7[_0x4f1a0a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x556258=>_0x556258[_0x4f1a0a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4f1a0a([0x2a])))[_0x4f1a0a([0x6d,0x61,0x70])](_0x4b1566=>_0x4b1566[_0x4f1a0a([0x73,0x70,0x6c,0x69,0x74])](_0x4f1a0a([0x2e])))[_0x4f1a0a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x8cd327=>_0x8cd327[_0x4f1a0a([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0xc5ab6d[_0x4f1a0a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4f1a0a([0x6d,0x61,0x70])](_0x108c63=>Array(_0xc5ab6d[_0x4f1a0a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x108c63[_0x4f1a0a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4f1a0a([0x66,0x69,0x6c,0x6c])](_0x108c63[0x0]===_0x4f1a0a([0x2a])?_0x4f1a0a([0x2a]):'')[_0x4f1a0a([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x108c63))[_0x4f1a0a([0x73,0x6f,0x6d,0x65])](_0x4acc4a=>_0xc5ab6d[_0x4f1a0a([0x65,0x76,0x65,0x72,0x79])]((_0x5c6558,_0x5bab8b)=>_0x4acc4a[_0x5bab8b]===_0x5c6558||_0x4acc4a[_0x5bab8b]===_0x4f1a0a([0x2a])));}function _0x19f02a(){return _0x3a9bce&&_0x4d7be0?new window[(_0x4f1a0a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x413a1c,_0x14c375)=>{_0x3a9bce[_0x4f1a0a([0x74,0x68,0x65,0x6e])](_0x413a1c,_0x14c375),_0x4d7be0[_0x4f1a0a([0x74,0x68,0x65,0x6e])](_0xd1b3b9=>{_0xd1b3b9!=_0x4f1a0a([0x56,0x61,0x6c,0x69,0x64])&&_0x413a1c(_0xd1b3b9);},_0x14c375);}):_0x3a9bce||_0x4d7be0||_0x4f1a0a([0x56,0x61,0x6c,0x69,0x64]);}}function _0x403ab6(_0x2adf32,_0x40525f){return new window[(_0x4f1a0a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x41e715=>{if(_0xa05176())return _0x41e715(_0x4f1a0a([0x56,0x61,0x6c,0x69,0x64]));_0x501643(),_0x19de3e[_0x4f1a0a([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4f1a0a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x12ac7c=!0x1;const _0x59c403=_0x2379b3();function _0x46660f(_0x11ba1a){return!!_0x11ba1a&&(typeof _0x11ba1a===_0x4f1a0a([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x11ba1a===_0x4f1a0a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x11ba1a[_0x4f1a0a([0x74,0x68,0x65,0x6e])]===_0x4f1a0a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x11ba1a[_0x4f1a0a([0x63,0x61,0x74,0x63,0x68])]===_0x4f1a0a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x8ee548(_0x51be06){_0x52c68e(_0x51be06)[_0x4f1a0a([0x74,0x68,0x65,0x6e])](_0x3bdf84=>{if(!_0x3bdf84||_0x3bdf84[_0x4f1a0a([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4f1a0a([0x6f,0x6b]))return _0x4f1a0a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1e3732(_0x3428c2(_0x59c403+_0x40525f))!=_0x3bdf84[_0x4f1a0a([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4f1a0a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4f1a0a([0x56,0x61,0x6c,0x69,0x64]);})[_0x4f1a0a([0x74,0x68,0x65,0x6e])](_0x366d67=>(_0x2b3474(),_0x366d67),()=>{const _0x199ec7=_0x49b24f();return null==_0x199ec7?(_0x2b3474(),_0x4f1a0a([0x56,0x61,0x6c,0x69,0x64])):_0x4f1a0a(_0x1e5ae8-_0x199ec7>(0x38bee0a3^_0x42d639)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4f1a0a([0x74,0x68,0x65,0x6e])](_0x41e715)[_0x4f1a0a([0x63,0x61,0x74,0x63,0x68])](()=>{_0x41e715(_0x4f1a0a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x254361=0x1c848a23^_0x42d639;function _0x2b3474(){const _0x29a02e=_0x4f1a0a([0x6c,0x6c,0x63,0x74,0x2d])+_0x1e3732(_0x3428c2(_0x2adf32)),_0x5a1b61=_0x69aa11(_0x1e3732(window[_0x4f1a0a([0x4d,0x61,0x74,0x68])][_0x4f1a0a([0x63,0x65,0x69,0x6c])](_0x1e5ae8/_0x254361)));window[_0x4f1a0a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4f1a0a([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x29a02e,_0x5a1b61);}function _0x49b24f(){const _0x42dd44=_0x4f1a0a([0x6c,0x6c,0x63,0x74,0x2d])+_0x1e3732(_0x3428c2(_0x2adf32)),_0x462f7e=window[_0x4f1a0a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4f1a0a([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x42dd44);return _0x462f7e?window[_0x4f1a0a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x69aa11(_0x462f7e),0x10)*_0x254361:null;}function _0x52c68e(_0x4ffe58){return new window[(_0x4f1a0a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x345d47,_0x32b835)=>{_0x4ffe58[_0x4f1a0a([0x74,0x68,0x65,0x6e])](_0x345d47,_0x32b835),window[_0x4f1a0a([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x32b835,0x1cb3b063^_0x42d639);});}}_0x19de3e[_0x4f1a0a([0x6f,0x6e])](_0x4f1a0a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x489ef2,_0x360b1e)=>{if(_0x360b1e[0x0]!=_0x2adf32)return _0x41e715(_0x4f1a0a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x360b1e[0x1]={..._0x360b1e[0x1],[_0x4f1a0a([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x59c403};},{[_0x4f1a0a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4f1a0a([0x68,0x69,0x67,0x68])}),_0x19de3e[_0x4f1a0a([0x6f,0x6e])](_0x4f1a0a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3cd30b=>{_0x46660f(_0x3cd30b[_0x4f1a0a([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x12ac7c=!0x0,_0x8ee548(_0x3cd30b[_0x4f1a0a([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4f1a0a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4f1a0a([0x6c,0x6f,0x77])}),_0x4235dd[_0x4f1a0a([0x74,0x68,0x65,0x6e])](()=>{_0x12ac7c||_0x41e715(_0x4f1a0a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xa05176(){return _0x19de3e[_0x4f1a0a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4f1a0a([0x76,0x69,0x65,0x77])][_0x4f1a0a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4f1a0a([0x61,0x75,0x74,0x6f]);}function _0x501643(){_0x19de3e[_0x4f1a0a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4f1a0a([0x76,0x69,0x65,0x77])][_0x4f1a0a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4f1a0a([0x61,0x75,0x74,0x6f]);}}function _0x5efd65(_0x28204e){const _0x500fee=[new window[(_0x4f1a0a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x59294f=>setTimeout(_0x59294f,0x1cbb5a6f^_0x42d639)),_0x4235dd[_0x4f1a0a([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4f1a0a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2a3a39=>{let _0x4d818d=0x0;_0x19de3e[_0x4f1a0a([0x6d,0x6f,0x64,0x65,0x6c])][_0x4f1a0a([0x6f,0x6e])](_0x4f1a0a([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1d7472,_0x1a8fb4)=>{_0x1a8fb4[0x0][_0x4f1a0a([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4d818d++,_0x4d818d==(0x1cb2655b^_0x42d639)&&(_0x2a3a39(),_0x1d7472[_0x4f1a0a([0x6f,0x66,0x66])]());});}))];return window[_0x4f1a0a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4f1a0a([0x72,0x61,0x63,0x65])](_0x500fee)[_0x4f1a0a([0x74,0x68,0x65,0x6e])](()=>_0x28204e);}async function _0x4cec8a(){await _0x4235dd,_0x19de3e[_0x4f1a0a([0x6d,0x6f,0x64,0x65,0x6c])][_0x4f1a0a([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4363bc,_0x19de3e[_0x4f1a0a([0x6d,0x6f,0x64,0x65,0x6c])][_0x4f1a0a([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4363bc,_0x19de3e[_0x4f1a0a([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4f1a0a([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2aef1f(){return window[_0x4f1a0a([0x67,0x6c,0x6f,0x62])]&&window[_0x4f1a0a([0x67,0x6c,0x6f,0x62])][_0x4f1a0a([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0xdf6378(_0x1e1745){const _0x5b2101=_0x547918();_0x19de3e[_0x5b2101]=_0x4f1a0a([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])+_0x1e1745,_0x1e1745!=_0x4f1a0a([0x56,0x61,0x6c,0x69,0x64])&&_0x4cec8a();}function _0x547918(){const _0x2ffd99=window[_0x4f1a0a([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4f1a0a([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4f1a0a([0x6e,0x6f,0x77])]())[_0x4f1a0a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4f1a0a([0x2e]),'');let _0x3bafba=_0x4f1a0a([0x61]);for(let _0xcac284=0x0;_0xcac284<_0x2ffd99[_0x4f1a0a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xcac284+=0x2){let _0x15b44c=window[_0x4f1a0a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2ffd99[_0x4f1a0a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xcac284,_0xcac284+0x2));_0x15b44c>=_0x1ead65[_0x4f1a0a([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x15b44c-=_0x1ead65[_0x4f1a0a([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3bafba+=_0x1ead65[_0x15b44c];}return _0x3bafba;}function _0xd1430b(){const _0x1e70b3=_0x2697d7[_0x4f1a0a([0x73,0x70,0x6c,0x69,0x74])](_0x4f1a0a([0x2e]));if(0x3!=_0x1e70b3[_0x4f1a0a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x44fcc3(_0x1e70b3[0x1]);function _0x44fcc3(_0x387008){const _0x182607=_0x4833ef(_0x387008);return _0x182607&&_0x681345()?_0x182607:null;function _0x681345(){const _0x18bc49=_0x182607[_0x4f1a0a([0x6a,0x74,0x69])],_0x5c5332=window[_0x4f1a0a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x18bc49[_0x4f1a0a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x18bc49[_0x4f1a0a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x59cc4e={..._0x182607,[_0x4f1a0a([0x6a,0x74,0x69])]:_0x18bc49[_0x4f1a0a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x18bc49[_0x4f1a0a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x59cc4e[_0x4f1a0a([0x76,0x63])],_0x3428c2(_0x59cc4e)==_0x5c5332;}}}async function _0x20b9a4(){let _0x3aeb5a=!0x0;try{const _0x2be626=_0x2697d7[_0x4f1a0a([0x73,0x70,0x6c,0x69,0x74])](_0x4f1a0a([0x2e])),[_0xed80b7,_0x372689,_0x3c4ae4]=_0x2be626;return _0x29149e(_0xed80b7),await _0xabe93f(_0xed80b7,_0x372689,_0x3c4ae4),_0x3aeb5a;}catch{return!0x1;}function _0x29149e(_0x1ada19){const _0x3c0d18=_0x4833ef(_0x1ada19);_0x3c0d18&&_0x3c0d18[_0x4f1a0a([0x61,0x6c,0x67])]==_0x4f1a0a([0x45,0x53,0x32,0x35,0x36])||(_0x3aeb5a=!0x1);}async function _0xabe93f(_0x2f8c3b,_0x37ef44,_0x41f403){const _0x290cf3=window[_0x4f1a0a([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4f1a0a([0x66,0x72,0x6f,0x6d])](_0x1d550f(_0x41f403),_0x529b3a=>_0x529b3a[_0x4f1a0a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4fe9dd=new window[(_0x4f1a0a([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4f1a0a([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2f8c3b+_0x4f1a0a([0x2e])+_0x37ef44),_0x55a5dc=window[_0x4f1a0a([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4f1a0a([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x55a5dc)return;const _0xfff853=await _0x55a5dc[_0x4f1a0a([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4f1a0a([0x6a,0x77,0x6b]),_0x3c06f3,{[_0x4f1a0a([0x6e,0x61,0x6d,0x65])]:_0x4f1a0a([0x45,0x43,0x44,0x53,0x41]),[_0x4f1a0a([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4f1a0a([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4f1a0a([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x55a5dc[_0x4f1a0a([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4f1a0a([0x6e,0x61,0x6d,0x65])]:_0x4f1a0a([0x45,0x43,0x44,0x53,0x41]),[_0x4f1a0a([0x68,0x61,0x73,0x68])]:{[_0x4f1a0a([0x6e,0x61,0x6d,0x65])]:_0x4f1a0a([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xfff853,_0x290cf3,_0x4fe9dd)||(_0x3aeb5a=!0x1);}}function _0x4833ef(_0x19e235){return _0x19e235[_0x4f1a0a([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4f1a0a([0x65,0x79]))?JSON[_0x4f1a0a([0x70,0x61,0x72,0x73,0x65])](_0x1d550f(_0x19e235)):null;}function _0x1d550f(_0x1df738){return window[_0x4f1a0a([0x61,0x74,0x6f,0x62])](_0x1df738[_0x4f1a0a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4f1a0a([0x2b]))[_0x4f1a0a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4f1a0a([0x2f])));}function _0x3428c2(_0x4f48ac){let _0x80cd46=0x1505;function _0x363b84(_0x33db4b){for(let _0x295b8c=0x0;_0x295b8c<_0x33db4b[_0x4f1a0a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x295b8c++){const _0x53b3c0=_0x33db4b[_0x4f1a0a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x295b8c);_0x80cd46=(_0x80cd46<<0x5)+_0x80cd46+_0x53b3c0,_0x80cd46&=_0x80cd46;}}function _0xa5fc85(_0x22405d){Array[_0x4f1a0a([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x22405d)?_0x22405d[_0x4f1a0a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xa5fc85):_0x22405d&&typeof _0x22405d==_0x4f1a0a([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4f1a0a([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x22405d)[_0x4f1a0a([0x73,0x6f,0x72,0x74])]()[_0x4f1a0a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4b3254,_0x3fca08])=>{_0x363b84(_0x4b3254),_0xa5fc85(_0x3fca08);}):_0x363b84(window[_0x4f1a0a([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x22405d));}return _0xa5fc85(_0x4f48ac),_0x80cd46>>>0x0;}function _0x1e3732(_0x42bc52){return _0x42bc52[_0x4f1a0a([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4f1a0a([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4f1a0a([0x30]));}function _0x69aa11(_0x1b92c2){return _0x1b92c2[_0x4f1a0a([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4f1a0a([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4f1a0a([0x6a,0x6f,0x69,0x6e])]('');}function _0x4363bc(){}function _0x4f1a0a(_0x2da8e1){const _0x88a63a=_0x4578;return _0x2da8e1[_0x88a63a(0xd6)](_0x173ec1=>String[_0x88a63a(0xd9)](_0x173ec1))[_0x88a63a(0xdd)]('');}_0xdf6378(await _0x1cf2fc());}(this);}[_0x120dff(0xa9)](){const _0x440562=_0x120dff;super[_0x440562(0xa9)](),this[_0x440562(0xc2)][_0x440562(0xa9)](),this[_0x440562(0xa4)][_0x440562(0xcb)]();}[_0x120dff(0x9f)](_0x3772ac,{outlineDefinitions:_0x5bb3e4,outlineChanges:_0x2b2760}){const _0x4d0427=_0x120dff;this[_0x4d0427(0xb3)]=_0x5bb3e4,this[_0x4d0427(0xc2)][_0x4d0427(0xdf)](_0x2b2760);}[_0x120dff(0xa5)](_0x154bbb){const _0x328140=_0x120dff;this[_0x328140(0xb3)][_0x328140(0xe0)]&&this[_0x328140(0xb3)][_0x154bbb]&&(this[_0x328140(0xc2)][_0x328140(0xc8)]=_0x154bbb);}[_0x120dff(0xb0)](_0x15eb30){const _0x2241ef=_0x120dff,_0x298d33=this[_0x2241ef(0xb3)][_0x15eb30][_0x2241ef(0xbc)];this[_0x2241ef(0xa2)][_0x2241ef(0xba)][_0x2241ef(0xd0)](_0x4a339f=>{const _0x13a552=_0x2241ef;_0x4a339f[_0x13a552(0xb6)](_0x298d33,0x0);}),this[_0x2241ef(0xa2)][_0x2241ef(0xde)][_0x2241ef(0xc2)][_0x2241ef(0xc9)]({'alignToTop':!0x0,'forceScroll':!0x0}),this[_0x2241ef(0xa2)][_0x2241ef(0xde)][_0x2241ef(0xc2)][_0x2241ef(0xbd)](),this[_0x2241ef(0xa5)](_0x15eb30);}[_0x120dff(0xa0)](){const _0x36ad78=_0x120dff,_0x1e7238=this[_0x36ad78(0xa2)];let _0x5677cb;for(const _0x46063f of _0x1e7238[_0x36ad78(0xba)][_0x36ad78(0x9d)][_0x36ad78(0xd3)]()){const _0x32a3d5=_0x1e7238[_0x36ad78(0xde)][_0x36ad78(0xc2)][_0x36ad78(0xbe)](_0x46063f),_0x1a01ad=_0x32a3d5&&new _0xfdbc58(_0x32a3d5)[_0x36ad78(0xe5)]();if(_0x1a01ad){const _0x1874bb=new _0xfdbc58(_0x34d81b[_0x36ad78(0xe4)])[_0x36ad78(0xc0)](_0x1a01ad);_0x1874bb&&(_0x5677cb=_0x1874bb[_0x36ad78(0xc1)]+0.25*_0x1874bb[_0x36ad78(0xbb)]);}}if(void 0x0===_0x5677cb)return;const _0x1a4a8c=h(_0x1e7238[_0x36ad78(0xde)],this[_0x36ad78(0xb3)],_0x5677cb);_0x1a4a8c?this[_0x36ad78(0xa5)](this[_0x36ad78(0xb3)][_0x36ad78(0xb7)](_0x1a4a8c)):this[_0x36ad78(0xa5)](-0x1);}}function h(_0x3dbd1d,_0x42dbfc,_0x23afc6,_0x38d41c=0x0,_0x22855d=_0x42dbfc[_0x120dff(0xe0)]-0x1){const _0x53f9ae=_0x120dff,_0x127a70=Math[_0x53f9ae(0x9e)](_0x38d41c+(_0x22855d-_0x38d41c)/0x2);if(_0x22855d>=_0x38d41c){const _0x44368e=_0x42dbfc[_0x127a70],_0x183224=_0x3dbd1d[_0x53f9ae(0xc4)][_0x53f9ae(0xc7)](_0x44368e[_0x53f9ae(0xbc)]);if(!_0x183224)return null;const _0x412f2f=_0x3dbd1d[_0x53f9ae(0xc2)][_0x53f9ae(0xc3)][_0x53f9ae(0xa8)](_0x183224);return new _0xfdbc58(_0x412f2f)[_0x53f9ae(0xd1)]>_0x23afc6?h(_0x3dbd1d,_0x42dbfc,_0x23afc6,_0x38d41c,_0x127a70-0x1):h(_0x3dbd1d,_0x42dbfc,_0x23afc6,_0x127a70+0x1,_0x22855d);}return _0x127a70<0x0?null:_0x42dbfc[_0x127a70];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x318e90=_0x728c;(function(_0xb40c33,_0x5048fc){const _0x329e88=_0x728c,_0xacdac0=_0xb40c33();while(!![]){try{const _0x4fc5c6=parseInt(_0x329e88(0x1bb))/0x1*(-parseInt(_0x329e88(0x1a6))/0x2)+-parseInt(_0x329e88(0x1ca))/0x3+-parseInt(_0x329e88(0x1bf))/0x4+parseInt(_0x329e88(0x1b1))/0x5+parseInt(_0x329e88(0x1c7))/0x6*(-parseInt(_0x329e88(0x1a3))/0x7)+-parseInt(_0x329e88(0x1a1))/0x8+parseInt(_0x329e88(0x1a8))/0x9;if(_0x4fc5c6===_0x5048fc)break;else _0xacdac0['push'](_0xacdac0['shift']());}catch(_0xf8fa59){_0xacdac0['push'](_0xacdac0['shift']());}}}(_0x15e7,0x2287b));import{Plugin as _0x194f91}from'ckeditor5/src/core.js';function _0x728c(_0x484249,_0x339a74){const _0x15e74f=_0x15e7();return _0x728c=function(_0x728ce9,_0x416f63){_0x728ce9=_0x728ce9-0x198;let _0x2f3039=_0x15e74f[_0x728ce9];return _0x2f3039;},_0x728c(_0x484249,_0x339a74);}import{debounce as _0x5d51e2}from'es-toolkit/compat';import{ModelTreeWalker as _0x2e453f}from'ckeditor5/src/engine.js';import{getElementText as _0x8261dc,getDefaultFeatureHeadingNames as _0x5c9368}from'./utils.js';import{diff as _0x2e7dcf,diffToChanges as _0x10144e}from'ckeditor5/src/utils.js';export class DocumentOutlineUtils extends _0x194f91{static get[_0x318e90(0x1b4)](){const _0x2dd73f=_0x318e90;return _0x2dd73f(0x1bc);}static get[_0x318e90(0x19d)](){return!0x0;}static get[_0x318e90(0x1c5)](){return!0x0;}[_0x318e90(0x19a)]=[];[_0x318e90(0x1c1)](){const _0x494e84=_0x318e90,_0x15f123=this[_0x494e84(0x1bd)];this[_0x494e84(0x19a)]=this[_0x494e84(0x19e)]();let _0x134268=[];_0x15f123[_0x494e84(0x1cd)][_0x494e84(0x1a0)]['on'](_0x494e84(0x198),_0x5d51e2(()=>{const _0x240d73=_0x494e84,_0x17ecd0=_0x134268;_0x134268=this[_0x240d73(0x19c)]();const _0x457bed=_0x2e7dcf(_0x17ecd0,_0x134268,(_0xa75aee,_0x50c3db)=>_0xa75aee[_0x240d73(0x1b7)]===_0x50c3db[_0x240d73(0x1b7)]&&_0xa75aee[_0x240d73(0x1a9)]===_0x50c3db[_0x240d73(0x1a9)]&&_0xa75aee[_0x240d73(0x1c8)]===_0x50c3db[_0x240d73(0x1c8)]),_0x20735f=_0x10144e(_0x457bed,_0x134268),_0x247113=this[_0x240d73(0x1a7)](),_0x28213f=_0x134268[_0x240d73(0x1b0)](_0x6572c4=>_0x6572c4[_0x240d73(0x1c8)]===_0x247113);_0x20735f[_0x240d73(0x1b6)]&&this[_0x240d73(0x1ae)](_0x240d73(0x198),{'outlineDefinitions':_0x134268,'activeItemIndex':_0x28213f,'outlineChanges':_0x20735f}),this[_0x240d73(0x1ae)](_0x240d73(0x1b5),{'index':_0x28213f});},0xfa,{'leading':!0x0,'trailing':!0x0}));}[_0x318e90(0x1ad)](){const _0x2d547f=_0x318e90;this[_0x2d547f(0x19a)][_0x2d547f(0x1b6)]||this[_0x2d547f(0x1c0)]();}[_0x318e90(0x19c)](){const _0x1765ee=_0x318e90,_0x276231=this[_0x1765ee(0x1bd)],_0x4d3b7a=[],_0x28a1c1=this[_0x1765ee(0x19a)];for(const _0x5540fd of _0x276231[_0x1765ee(0x1cd)][_0x1765ee(0x1a0)][_0x1765ee(0x1c2)]())_0x42c053(_0x276231[_0x1765ee(0x1cd)][_0x1765ee(0x1a0)][_0x1765ee(0x1aa)](_0x5540fd));function _0x42c053(_0x3dd8b9){const _0x130305=_0x1765ee;for(const _0x371846 of _0x3dd8b9[_0x130305(0x1b3)]())_0x371846['is'](_0x130305(0x1af))&&(_0x28a1c1[_0x130305(0x1cb)](_0x371846[_0x130305(0x19b)])&&_0x4d3b7a[_0x130305(0x1be)]({'level':_0x28a1c1[_0x130305(0x1a5)](_0x371846[_0x130305(0x19b)])+0x1,'text':_0x8261dc(_0x371846),'modelElement':_0x371846}),_0x42c053(_0x371846));}return _0x4d3b7a;}[_0x318e90(0x1a7)](){const _0x20ff4e=_0x318e90,_0x1bc149=this[_0x20ff4e(0x1bd)][_0x20ff4e(0x1cd)][_0x20ff4e(0x1a0)][_0x20ff4e(0x1a2)][_0x20ff4e(0x1b8)](),_0xe1af96=new _0x2e453f({'direction':_0x20ff4e(0x1ac),'startPosition':_0x1bc149});for(const _0x6c5cc6 of _0xe1af96)if(_0x6c5cc6[_0x20ff4e(0x1c4)]['is'](_0x20ff4e(0x1af))&&this[_0x20ff4e(0x19a)][_0x20ff4e(0x1cb)](_0x6c5cc6[_0x20ff4e(0x1c4)][_0x20ff4e(0x19b)]))return _0x6c5cc6[_0x20ff4e(0x1c4)];}[_0x318e90(0x19e)](){const _0x4117e6=_0x318e90,_0x5f301a=this[_0x4117e6(0x1bd)][_0x4117e6(0x1c9)][_0x4117e6(0x1ab)](_0x4117e6(0x1b2));return _0x5f301a||_0x5c9368(this[_0x4117e6(0x1bd)]);}[_0x318e90(0x1c0)](){const _0x5e1b85=_0x318e90,_0x124a91=this[_0x5e1b85(0x1bd)],_0x4263ff=['h1','h2','h3','h4','h5','h6'],_0x2b25e8=[];for(const _0xa5d587 of _0x4263ff){const _0x5a6b37=_0x124a91[_0x5e1b85(0x1c3)][_0x5e1b85(0x1ba)][_0x5e1b85(0x199)][_0x5e1b85(0x19f)](document[_0x5e1b85(0x1cc)](_0xa5d587)),_0x3385db=_0x124a91[_0x5e1b85(0x1b9)][_0x5e1b85(0x1c6)](_0x5a6b37)[_0x5e1b85(0x1a4)](0x0);_0x3385db?.['is'](_0x5e1b85(0x1af))&&_0x2b25e8[_0x5e1b85(0x1be)](_0x3385db[_0x5e1b85(0x19b)]);}this[_0x5e1b85(0x19a)]=_0x2b25e8;}}function _0x15e7(){const _0x1a72e8=['data','view','1YsZwkg','DocumentOutlineUtils','editor','push','1034904lJHCnH','_deriveHeadingElementsFromConversion','init','getRootNames','editing','item','isPremiumPlugin','toModel','50028tzdNmR','modelElement','config','131682SXjUwq','includes','createElement','model','change','domConverter','_headingNames','name','_getOutlineDefinitions','isOfficialPlugin','_getHeadingNames','domToView','document','1154280AzkrfH','selection','70zmcGmt','getChild','indexOf','38498wRImXi','_getActiveHeading','3802455VhJjDL','text','getRoot','get','backward','afterInit','fire','element','findIndex','1342370fVknXs','documentOutline.headings','getChildren','pluginName','activeItemIndex','length','level','getFirstPosition'];_0x15e7=function(){return _0x1a72e8;};return _0x15e7();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x486bc0,_0x3a5c86){const _0xce3c66=_0x25d3,_0x2b31a8=_0x486bc0();while(!![]){try{const _0x4aa14d=-parseInt(_0xce3c66(0x17e))/0x1*(-parseInt(_0xce3c66(0x185))/0x2)+parseInt(_0xce3c66(0x186))/0x3*(parseInt(_0xce3c66(0x16f))/0x4)+-parseInt(_0xce3c66(0x170))/0x5+-parseInt(_0xce3c66(0x183))/0x6+-parseInt(_0xce3c66(0x176))/0x7+parseInt(_0xce3c66(0x177))/0x8+parseInt(_0xce3c66(0x180))/0x9;if(_0x4aa14d===_0x3a5c86)break;else _0x2b31a8['push'](_0x2b31a8['shift']());}catch(_0x61c7b){_0x2b31a8['push'](_0x2b31a8['shift']());}}}(_0x3ebb,0x6db94));import{View as _0x502486}from'ckeditor5/src/ui.js';function _0x25d3(_0x561a59,_0x56522c){const _0x3ebb93=_0x3ebb();return _0x25d3=function(_0x25d3cc,_0x26c316){_0x25d3cc=_0x25d3cc-0x16e;let _0x846dce=_0x3ebb93[_0x25d3cc];return _0x846dce;},_0x25d3(_0x561a59,_0x56522c);}function _0x3ebb(){const _0x1558cb=['238930XVjKfv','ck-document-outline__item_active','bindTemplate','bind','level','Empty\x20heading','5461827DqflPO','4548016RBkXle','text','ck-reset','setTemplate','click','set','isEmpty','11ndOdbn','div','3561948JAEYhs','ck-document-outline__item','ck-document-outline__item_level-','4777542ntTImx','ck-document-outline__item_empty','127418DCPNBd','3gwNPuz','isActive','1634636pCThjd'];_0x3ebb=function(){return _0x1558cb;};return _0x3ebb();}import{getTranslation as _0x26bc8a}from'../../utils/common-translations.js';export class DocumentOutlineItemView extends _0x502486{constructor(_0x33802c,_0x1d603f=!0x1){const _0x3e9ce1=_0x25d3;super(_0x33802c);const _0xca9cd6=this[_0x3e9ce1(0x172)],_0x459b82=_0x1d603f?'['+_0x26bc8a(_0x33802c,_0x3e9ce1(0x175))+']':'';this[_0x3e9ce1(0x17c)](_0x3e9ce1(0x178),''),this[_0x3e9ce1(0x17c)](_0x3e9ce1(0x174),0x1),this[_0x3e9ce1(0x17c)](_0x3e9ce1(0x16e),!0x1),this[_0x3e9ce1(0x173)](_0x3e9ce1(0x17d))['to'](this,_0x3e9ce1(0x178),_0x2050df=>!_0x2050df),this[_0x3e9ce1(0x17a)]({'tag':_0x3e9ce1(0x17f),'attributes':{'class':['ck',_0x3e9ce1(0x179),_0x3e9ce1(0x181),_0xca9cd6['to'](_0x3e9ce1(0x174),_0x2bac3c=>_0x3e9ce1(0x182)+_0x2bac3c),_0xca9cd6['if'](_0x3e9ce1(0x16e),_0x3e9ce1(0x171)),_0xca9cd6['if'](_0x3e9ce1(0x17d),_0x3e9ce1(0x184))],'title':_0xca9cd6['to'](_0x3e9ce1(0x178))},'children':[{'text':_0xca9cd6['to'](_0x3e9ce1(0x178),_0x2a6f0d=>_0x2a6f0d||_0x459b82)}],'on':{'click':_0xca9cd6['to'](_0x3e9ce1(0x17b))}});}}
|