@ckeditor/ckeditor5-document-outline 44.0.0-alpha.10 → 44.0.0-alpha.11
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 +8 -8
- package/src/documentoutline/documentoutlineui.js +1 -1
- package/src/documentoutline/documentoutlineutils.js +1 -1
- package/src/documentoutline/ui/documentoutlineitemview.js +1 -1
- package/src/documentoutline/ui/documentoutlineview.js +1 -1
- package/src/documentoutline/utils.js +1 -1
- package/src/tableofcontents/headingid.js +1 -1
- package/src/tableofcontents/tableofcontentscommand.js +1 -1
- package/src/tableofcontents/tableofcontentsediting.js +1 -1
- package/src/tableofcontents/tableofcontentsui.js +1 -1
package/dist/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as _0x2aa64f,Command as _0x57d7ed}from'@ckeditor/ckeditor5-core/dist/index.js';import{debounce as _0x19a979,throttle as _0x1170af}from'lodash-es';import{Text as _0x56541e,TreeWalker as _0x26ffcb}from'@ckeditor/ckeditor5-engine/dist/index.js';import{diff as _0x3c5191,diffToChanges as _0xe9f4,scrollAncestorsToShowTarget as _0x596177,CKEditorError as _0x36fdfd,global as _0x34227d,Rect as _0x5d2fc3,uid as _0x322e06,priorities as _0x4b7677}from'@ckeditor/ckeditor5-utils/dist/index.js';import{View as _0x4d51db,ButtonView as _0x395416,MenuBarMenuListItemButtonView as _0x56a7d3}from'@ckeditor/ckeditor5-ui/dist/index.js';import{Widget as _0x522f5a,toWidget as _0x10fd64}from'@ckeditor/ckeditor5-widget/dist/index.js';import{icons as _0xa03087}from'ckeditor5-collaboration/dist/index.js';function p(_0x4b621b){let _0x2885a8='';for(const _0x5ccd52 of _0x4b621b['getChildren']())_0x5ccd52 instanceof _0x56541e&&(_0x2885a8+=_0x5ccd52['data']);return _0x2885a8;}class i extends _0x2aa64f{static get['pluginName'](){return'DocumentOutlineUtils';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['_headingNames']=[];['init'](){const _0x8b4de=this['editor'];this['_headingNames']=this['_getHeadingNames']();let _0x25bfe0=[];_0x8b4de['model']['document']['on']('change',_0x19a979(()=>{const _0x331401=_0x25bfe0;_0x25bfe0=this['_getOutlineDefinitions']();const _0x1f9288=_0x3c5191(_0x331401,_0x25bfe0,(_0x474e72,_0x33f70b)=>_0x474e72['level']===_0x33f70b['level']&&_0x474e72['text']===_0x33f70b['text']&&_0x474e72['modelElement']===_0x33f70b['modelElement']),_0x19b5f8=_0xe9f4(_0x1f9288,_0x25bfe0),_0x42815a=this['_getActiveHeading'](),_0x1d3f6d=_0x25bfe0['findIndex'](_0x2c2c7b=>_0x2c2c7b['modelElement']===_0x42815a);_0x19b5f8['length']&&this['fire']('change',{'outlineDefinitions':_0x25bfe0,'activeItemIndex':_0x1d3f6d,'outlineChanges':_0x19b5f8}),this['fire']('activeItemIndex',{'index':_0x1d3f6d});},0xfa,{'leading':!0x0,'trailing':!0x0}));}['afterInit'](){this['_headingNames']['length']||this['_deriveHeadingElementsFromConversion']();}['_getOutlineDefinitions'](){const _0x27d88d=this['editor'],_0x81c332=[],_0x1b37d2=this['_headingNames'];for(const _0x5787b4 of _0x27d88d['model']['document']['getRootNames']())_0xe5a0e0(_0x27d88d['model']['document']['getRoot'](_0x5787b4));function _0xe5a0e0(_0x90901a){for(const _0x4b391d of _0x90901a['getChildren']())_0x4b391d['is']('element')&&(_0x1b37d2['includes'](_0x4b391d['name'])&&_0x81c332['push']({'level':_0x1b37d2['indexOf'](_0x4b391d['name'])+0x1,'text':p(_0x4b391d),'modelElement':_0x4b391d}),_0xe5a0e0(_0x4b391d));}return _0x81c332;}['_getActiveHeading'](){const _0x37b1da=this['editor']['model']['document']['selection']['getFirstPosition'](),_0x1a298c=new _0x26ffcb({'direction':'backward','startPosition':_0x37b1da});for(const _0x28b40d of _0x1a298c)if(_0x28b40d['item']['is']('element')&&this['_headingNames']['includes'](_0x28b40d['item']['name']))return _0x28b40d['item'];}['_getHeadingNames'](){const _0x54967f=this['editor']['config']['get']('documentOutline.headings');return _0x54967f||function(_0x2ea4df){const _0x509d70=_0x2ea4df['config']['get']('heading.options');return _0x509d70?_0x509d70['reduce']((_0x2d7519,_0x4d0d6a)=>('paragraph'!==_0x4d0d6a['model']&&_0x2d7519['push'](_0x4d0d6a['model']),_0x2d7519),[]):_0x2ea4df['plugins']['has']('GeneralHtmlSupport')?['htmlH1','htmlH2','htmlH3','htmlH4','htmlH5','htmlH6']:[];}(this['editor']);}['_deriveHeadingElementsFromConversion'](){const _0x12c1cb=this['editor'],_0x862396=['h1','h2','h3','h4','h5','h6'],_0x269cbc=[];for(const _0x223ecc of _0x862396){const _0x370cac=_0x12c1cb['editing']['view']['domConverter']['domToView'](document['createElement'](_0x223ecc)),_0x5c1ffa=_0x12c1cb['data']['toModel'](_0x370cac)['getChild'](0x0);_0x5c1ffa?.['is']('element')&&_0x269cbc['push'](_0x5c1ffa['name']);}this['_headingNames']=_0x269cbc;}}function N(_0x507613,_0x57aca6){const t=_0x507613['t'];switch(_0x57aca6){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 _0x57aca6;}}class A extends _0x4d51db{constructor(_0xf3d5c2,_0x5ca7d8=!0x1){super(_0xf3d5c2);const _0x2aa46d=this['bindTemplate'],_0x139180=_0x5ca7d8?'['+N(_0xf3d5c2,'Empty\x20heading')+']':'';this['set']('text',''),this['set']('level',0x1),this['set']('isActive',!0x1),this['bind']('isEmpty')['to'](this,'text',_0x352b82=>!_0x352b82),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline__item',_0x2aa46d['to']('level',_0x424312=>'ck-document-outline__item_level-'+_0x424312),_0x2aa46d['if']('isActive','ck-document-outline__item_active'),_0x2aa46d['if']('isEmpty','ck-document-outline__item_empty')],'title':_0x2aa46d['to']('text')},'children':[{'text':_0x2aa46d['to']('text',_0x23f9dd=>_0x23f9dd||_0x139180)}],'on':{'click':_0x2aa46d['to']('click')}});}}class l extends _0x4d51db{['items'];['showEmptyHeadingText'];['_documentOutlineContainer'];constructor(_0x38cfcd,_0x329154=!0x1,_0xd4a17e){super(_0x38cfcd),this['showEmptyHeadingText']=_0x329154,this['set']('activeItemIndex',-0x1),this['_documentOutlineContainer']=_0xd4a17e,this['items']=this['createCollection'](),this['items']['delegate']('click')['to'](this),this['on']('click',this['_handleItemClick']['bind'](this)),this['on']('change:activeItemIndex',(_0xfe06b8,_0x1062a1,_0x5d9fc4,_0x42c91f)=>{this['_setActiveItem'](_0x42c91f,_0x5d9fc4);}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline'],'dir':_0x38cfcd['contentLanguageDirection'],'data-document-outline-empty-placeholder':N(_0x38cfcd,'Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.'),'tabindex':-0x1},'children':this['items']});}['sync'](_0x19048e){_0x19048e['forEach'](_0x31078a=>{'insert'==_0x31078a['type']?this['_insertItem'](_0x31078a['index'],..._0x31078a['values']):'delete'==_0x31078a['type']&&this['_deleteItem'](_0x31078a['index'],_0x31078a['howMany']);});}['_setActiveItem'](_0x191508,_0x1e902d){if(-0x1!==_0x191508){const _0xc6c260=this['items']['get'](_0x191508);_0xc6c260&&(_0xc6c260['isActive']=!0x1);}-0x1!==_0x1e902d&&(this['items']['get'](_0x1e902d)['isActive']=!0x0,this['_scrollToItem'](_0x1e902d));}['_insertItem'](_0x3487cb,..._0x5c7765){const _0x3c8ae1=_0x5c7765['map']((_0x53b648,_0x913215)=>{const _0x1eaeb2=new A(this['locale'],this['showEmptyHeadingText']);return _0x1eaeb2['text']=_0x53b648['text'],_0x1eaeb2['level']=_0x53b648['level'],_0x3487cb+_0x913215===this['activeItemIndex']&&(_0x1eaeb2['isActive']=!0x0),_0x1eaeb2;});this['items']['addMany'](_0x3c8ae1,_0x3487cb);}['_deleteItem'](_0x77a40d,_0x5c559d){do{this['items']['remove'](_0x77a40d);}while(--_0x5c559d);}['_handleItemClick'](_0x23f583){const _0x39d3bc=this['items']['getIndex'](_0x23f583['source']);this['fire']('itemSelected',_0x39d3bc);}['_scrollToItem'](_0x1625c1){_0x596177(this['items']['get'](_0x1625c1)['element'],0x14,this['_documentOutlineContainer']);}['destroy'](){super['destroy'](),this['element']['remove']();}}class n extends _0x2aa64f{['view'];['_currentOutlineDefinitions'];['_updateActiveDefinitionFromViewportThrottled'];static get['pluginName'](){return'DocumentOutlineUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x338127){super(_0x338127),this['view']=new l(_0x338127['locale'],this['editor']['config']['get']('documentOutline.showEmptyHeadings'),this['editor']['config']['get']('documentOutline.container')),this['_currentOutlineDefinitions']=[],this['_updateActiveDefinitionFromViewportThrottled']=_0x1170af(this['_updateActiveDefinitionOnViewportChange']['bind'](this),0x64);}['init'](){const _0x1b16be=this['editor'],_0x21c308=_0x1b16be['plugins']['get']('DocumentOutlineUtils');let _0x11819f=!0x1;if(this['view']['render'](),this['editor']['ui']['focusTracker']['add'](this['view']['element']),!_0x1b16be['config']['get']('documentOutline.container'))throw new _0x36fdfd('document-outline-container-not-provided',{'editor':_0x1b16be});_0x1b16be['config']['get']('documentOutline.container')['appendChild'](this['view']['element']),_0x21c308['on']('change',this['_handleOutlineChange']['bind'](this)),_0x21c308['on']('activeItemIndex',(_0x53f49d,{index:_0x2f8d89})=>this['_setActiveViewItem'](_0x2f8d89)),this['view']['on']('itemSelected',(_0x19e8ed,_0x434a25)=>{_0x11819f=!0x0,this['_handleItemSelected'](_0x434a25);}),this['view']['listenTo'](_0x34227d['document'],'scroll',()=>{_0x11819f?_0x11819f=!0x1:this['_updateActiveDefinitionFromViewportThrottled']();},{'useCapture':!0x0}),this['view']['listenTo'](_0x34227d['window'],'resize',this['_updateActiveDefinitionFromViewportThrottled'],{'useCapture':!0x0});}['afterInit'](){!async function(_0x305ccb){const _0x5d022d=_0x277f39([0x36,0x35,0x63,0x49,0x70,0x6d,0x73,0x4a,0x48,0x66,0x77,0x6b,0x71,0x68,0x39,0x5a,0x4c,0x6f,0x6c,0x33,0x41,0x59,0x69,0x57,0x79,0x62,0x31,0x58,0x74,0x52,0x7a,0x65,0x46,0x34,0x78,0x53,0x4e,0x37,0x4b,0x30,0x72,0x47,0x4d,0x42,0x54,0x43,0x51,0x38,0x64,0x44,0x76,0x56,0x6e,0x50,0x55,0x45,0x61,0x4f,0x67,0x75,0x6a,0x32]),_0xcf90f4=0x5ce33e66,_0x124aae=0x5ce4663e^_0xcf90f4,_0x4e84a6=window[_0x277f39([0x44,0x61,0x74,0x65])][_0x277f39([0x6e,0x6f,0x77])](),_0x27486a=_0x305ccb[_0x277f39([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x398537=new window[(_0x277f39([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xcd1d05=>{_0x27486a[_0x277f39([0x6f,0x6e,0x63,0x65])](_0x277f39([0x72,0x65,0x61,0x64,0x79]),_0xcd1d05);}),_0x356e07={[_0x277f39([0x6b,0x74,0x79])]:_0x277f39([0x45,0x43]),[_0x277f39([0x75,0x73,0x65])]:_0x277f39([0x73,0x69,0x67]),[_0x277f39([0x63,0x72,0x76])]:_0x277f39([0x50,0x2d,0x32,0x35,0x36]),[_0x277f39([0x78])]:_0x277f39([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]),[_0x277f39([0x79])]:_0x277f39([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]),[_0x277f39([0x61,0x6c,0x67])]:_0x277f39([0x45,0x53,0x32,0x35,0x36])},_0x457fe4=_0x27486a[_0x277f39([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x277f39([0x67,0x65,0x74])](_0x277f39([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x24458f(){let _0xbbb45f,_0xe869b9=null,_0x4613c7=null;try{if(_0x457fe4==_0x277f39([0x47,0x50,0x4c]))return _0x277f39([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xbbb45f=_0x4ce6c5(),!_0xbbb45f)return _0x277f39([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xbbb45f[_0x277f39([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4613c7=_0x3d0dd0(_0xbbb45f[_0x277f39([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xbbb45f[_0x277f39([0x6a,0x74,0x69])])),await _0x5305f6()?_0xabc962()?_0x4831d9()?_0x277f39([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x54ab37()?(_0xbbb45f[_0x277f39([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x277f39([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xe869b9=_0x15b202(_0x277f39([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0xbbb45f[_0x277f39([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x277f39([0x74,0x72,0x69,0x61,0x6c])&&(_0xe869b9=_0x15b202(_0x277f39([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),_0xbbb45f[_0x277f39([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x277f39([0x64,0x65,0x76,0x65,0x6c,0x6f,0x70,0x6d,0x65,0x6e,0x74])&&(_0xe869b9=_0x15b202(_0x277f39([0x44,0x65,0x76,0x65,0x6c,0x6f,0x70,0x6d,0x65,0x6e,0x74,0x4c,0x69,0x6d,0x69,0x74]))),await _0x366b9e()):_0x277f39([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x277f39([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x277f39([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x69b312){return _0x277f39([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4831d9(){const _0x413566=[_0x277f39([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x277f39([0x74,0x72,0x69,0x61,0x6c])][_0x277f39([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xbbb45f[_0x277f39([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4e84a6/0x3e8:0xe10*_0x124aae;return _0xbbb45f[_0x277f39([0x65,0x78,0x70])]<_0x413566;}function _0xabc962(){const _0x3f058c=_0xbbb45f[_0x277f39([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3f058c&&(!!_0x3f058c[_0x277f39([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x277f39([0x2a]))||(!!_0x3f058c[_0x277f39([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x277f39([0x44,0x4f]))||!!_0x3f058c[_0x277f39([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x277f39([0x50,0x50]))));}function _0x54ab37(){const _0x3bf7d0=_0xbbb45f[_0x277f39([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3bf7d0||0x0==_0x3bf7d0[_0x277f39([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x6f260b}=new URL(window[_0x277f39([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3bf7d0[_0x277f39([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x6f260b))return!0x0;const _0x84568=_0x6f260b[_0x277f39([0x73,0x70,0x6c,0x69,0x74])](_0x277f39([0x2e]));return _0x3bf7d0[_0x277f39([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4840e8=>_0x4840e8[_0x277f39([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x277f39([0x2a])))[_0x277f39([0x6d,0x61,0x70])](_0x446743=>_0x446743[_0x277f39([0x73,0x70,0x6c,0x69,0x74])](_0x277f39([0x2e])))[_0x277f39([0x73,0x6f,0x6d,0x65])](_0x3c9cb4=>_0x84568[_0x277f39([0x65,0x76,0x65,0x72,0x79])]((_0x3f245f,_0xf6e442)=>_0x3c9cb4[_0xf6e442]===_0x3f245f||_0x3c9cb4[_0xf6e442]===_0x277f39([0x2a])));}function _0x366b9e(){return _0xe869b9&&_0x4613c7?new window[(_0x277f39([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x29256f,_0x34f882)=>{_0xe869b9[_0x277f39([0x74,0x68,0x65,0x6e])](_0x29256f,_0x34f882),_0x4613c7[_0x277f39([0x74,0x68,0x65,0x6e])](_0xebc263=>{_0xebc263!=_0x277f39([0x56,0x61,0x6c,0x69,0x64])&&_0x29256f(_0xebc263);},_0x34f882);}):_0xe869b9||_0x4613c7||_0x277f39([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3d0dd0(_0x18b772,_0x27c8d7){return new window[(_0x277f39([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5c4f28=>{if(_0x1580b9())return _0x5c4f28(_0x277f39([0x56,0x61,0x6c,0x69,0x64]));_0xe7511a(),_0x27486a[_0x277f39([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x277f39([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x20d3d1=!0x1;const _0x3cc3d9=_0x322e06();function _0xf5eab2(_0x4c1c11){return!!_0x4c1c11&&(typeof _0x4c1c11===_0x277f39([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4c1c11===_0x277f39([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4c1c11[_0x277f39([0x74,0x68,0x65,0x6e])]===_0x277f39([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4c1c11[_0x277f39([0x63,0x61,0x74,0x63,0x68])]===_0x277f39([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2d1c4d(_0x1affd9){_0x4bce25(_0x1affd9)[_0x277f39([0x74,0x68,0x65,0x6e])](_0x3a3584=>{if(!_0x3a3584||_0x3a3584[_0x277f39([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x277f39([0x6f,0x6b]))return _0x277f39([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2feadc(_0x222782(_0x3cc3d9+_0x27c8d7))!=_0x3a3584[_0x277f39([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x277f39([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x277f39([0x56,0x61,0x6c,0x69,0x64]);})[_0x277f39([0x74,0x68,0x65,0x6e])](_0x4c58aa=>(_0x2ecfbc(),_0x4c58aa),()=>{const _0x1506f2=_0x169deb();return null==_0x1506f2?(_0x2ecfbc(),_0x277f39([0x56,0x61,0x6c,0x69,0x64])):_0x277f39(_0x4e84a6-_0x1506f2>(0x78efba66^_0xcf90f4)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x277f39([0x74,0x68,0x65,0x6e])](_0x5c4f28)[_0x277f39([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5c4f28(_0x277f39([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4d8ade=0x5cd5d0e6^_0xcf90f4;function _0x2ecfbc(){const _0x5d7e2d=_0x277f39([0x6c,0x6c,0x63,0x74,0x2d])+_0x2feadc(_0x222782(_0x18b772)),_0x3597a4=_0x3c0656(_0x2feadc(window[_0x277f39([0x4d,0x61,0x74,0x68])][_0x277f39([0x63,0x65,0x69,0x6c])](_0x4e84a6/_0x4d8ade)));window[_0x277f39([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x277f39([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5d7e2d,_0x3597a4);}function _0x169deb(){const _0x3b06=_0x277f39([0x6c,0x6c,0x63,0x74,0x2d])+_0x2feadc(_0x222782(_0x18b772)),_0x398228=window[_0x277f39([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x277f39([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3b06);return _0x398228?window[_0x277f39([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3c0656(_0x398228),0x10)*_0x4d8ade:null;}function _0x4bce25(_0x32ae1f){return new window[(_0x277f39([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5a9f6e,_0x40a348)=>{_0x32ae1f[_0x277f39([0x74,0x68,0x65,0x6e])](_0x5a9f6e,_0x40a348),window[_0x277f39([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x40a348,0x5ce2eaa6^_0xcf90f4);});}}_0x27486a[_0x277f39([0x6f,0x6e])](_0x277f39([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x388623,_0x43ee9b)=>{if(_0x43ee9b[0x0]!=_0x18b772)return _0x5c4f28(_0x277f39([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x43ee9b[0x1]={..._0x43ee9b[0x1],[_0x277f39([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3cc3d9};},{[_0x277f39([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x277f39([0x68,0x69,0x67,0x68])}),_0x27486a[_0x277f39([0x6f,0x6e])](_0x277f39([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x509494=>{_0xf5eab2(_0x509494[_0x277f39([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x20d3d1=!0x0,_0x2d1c4d(_0x509494[_0x277f39([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x277f39([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x277f39([0x6c,0x6f,0x77])}),_0x398537[_0x277f39([0x74,0x68,0x65,0x6e])](()=>{_0x20d3d1||_0x5c4f28(_0x277f39([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1580b9(){return _0x27486a[_0x277f39([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x277f39([0x76,0x69,0x65,0x77])][_0x277f39([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x277f39([0x61,0x75,0x74,0x6f]);}function _0xe7511a(){_0x27486a[_0x277f39([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x277f39([0x76,0x69,0x65,0x77])][_0x277f39([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x277f39([0x61,0x75,0x74,0x6f]);}}function _0x15b202(_0x46c88c){const _0x274935=[new window[(_0x277f39([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x189152=>setTimeout(_0x189152,0x5cea00aa^_0xcf90f4)),_0x398537[_0x277f39([0x74,0x68,0x65,0x6e])](()=>new window[(_0x277f39([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4f4dd2=>{let _0xa8da5e=0x0;_0x27486a[_0x277f39([0x6d,0x6f,0x64,0x65,0x6c])][_0x277f39([0x6f,0x6e])](_0x277f39([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x12acca,_0x2c81e6)=>{_0x2c81e6[0x0][_0x277f39([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xa8da5e++,_0xa8da5e==(0x5ce33f9e^_0xcf90f4)&&(_0x4f4dd2(),_0x12acca[_0x277f39([0x6f,0x66,0x66])]());});}))];return window[_0x277f39([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x277f39([0x72,0x61,0x63,0x65])](_0x274935)[_0x277f39([0x74,0x68,0x65,0x6e])](()=>_0x46c88c);}async function _0x5c48ac(){await _0x398537,_0x27486a[_0x277f39([0x6d,0x6f,0x64,0x65,0x6c])][_0x277f39([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x207293,_0x27486a[_0x277f39([0x6d,0x6f,0x64,0x65,0x6c])][_0x277f39([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x207293,_0x27486a[_0x277f39([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x277f39([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x13eda3(_0x41190d){const _0x212e0a=_0x5bd1c1();_0x27486a[_0x212e0a]=_0x277f39([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])+_0x41190d,_0x41190d!=_0x277f39([0x56,0x61,0x6c,0x69,0x64])&&_0x5c48ac();}function _0x5bd1c1(){const _0x176b0c=window[_0x277f39([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x277f39([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x277f39([0x6e,0x6f,0x77])]())[_0x277f39([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x277f39([0x2e]),'');let _0x1db2f0=_0x277f39([0x63]);for(let _0x2f419c=0x0;_0x2f419c<_0x176b0c[_0x277f39([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2f419c+=0x2){let _0x2259ef=window[_0x277f39([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x176b0c[_0x277f39([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2f419c,_0x2f419c+0x2));_0x2259ef>=_0x5d022d[_0x277f39([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2259ef-=_0x5d022d[_0x277f39([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1db2f0+=_0x5d022d[_0x2259ef];}return _0x1db2f0;}function _0x4ce6c5(){const _0x4d7594=_0x457fe4[_0x277f39([0x73,0x70,0x6c,0x69,0x74])](_0x277f39([0x2e]));if(0x3!=_0x4d7594[_0x277f39([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x232917(_0x4d7594[0x1]);function _0x232917(_0x104d77){const _0x233fd9=_0x56e431(_0x104d77);return _0x233fd9&&_0x5c27cb()?_0x233fd9:null;function _0x5c27cb(){const _0x1b68df=_0x233fd9[_0x277f39([0x6a,0x74,0x69])],_0x54bc83=window[_0x277f39([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1b68df[_0x277f39([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1b68df[_0x277f39([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x469f33={..._0x233fd9,[_0x277f39([0x6a,0x74,0x69])]:_0x1b68df[_0x277f39([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1b68df[_0x277f39([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x469f33[_0x277f39([0x76,0x63])],_0x222782(_0x469f33)==_0x54bc83;}}}async function _0x5305f6(){let _0x39f6b8=!0x0;try{const _0x2a2bf7=_0x457fe4[_0x277f39([0x73,0x70,0x6c,0x69,0x74])](_0x277f39([0x2e])),[_0x2a61d6,_0x17e00f,_0x6a09ab]=_0x2a2bf7;return _0x4527c3(_0x2a61d6),await _0x244b07(_0x2a61d6,_0x17e00f,_0x6a09ab),_0x39f6b8;}catch(_0x1ec6b4){return!0x1;}function _0x4527c3(_0xfd604){const _0x3f3f71=_0x56e431(_0xfd604);_0x3f3f71&&_0x3f3f71[_0x277f39([0x61,0x6c,0x67])]==_0x277f39([0x45,0x53,0x32,0x35,0x36])||(_0x39f6b8=!0x1);}async function _0x244b07(_0x41ea8c,_0x55b664,_0x3a6c71){const _0x39cb19=window[_0x277f39([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x277f39([0x66,0x72,0x6f,0x6d])](_0x4b79d1(_0x3a6c71),_0x4a1585=>_0x4a1585[_0x277f39([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x49bf89=new window[(_0x277f39([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x277f39([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x41ea8c+_0x277f39([0x2e])+_0x55b664),_0x4e905d=window[_0x277f39([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x277f39([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4e905d)return;const _0x2d9f3c=await _0x4e905d[_0x277f39([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x277f39([0x6a,0x77,0x6b]),_0x356e07,{[_0x277f39([0x6e,0x61,0x6d,0x65])]:_0x277f39([0x45,0x43,0x44,0x53,0x41]),[_0x277f39([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x277f39([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x277f39([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4e905d[_0x277f39([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x277f39([0x6e,0x61,0x6d,0x65])]:_0x277f39([0x45,0x43,0x44,0x53,0x41]),[_0x277f39([0x68,0x61,0x73,0x68])]:{[_0x277f39([0x6e,0x61,0x6d,0x65])]:_0x277f39([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2d9f3c,_0x39cb19,_0x49bf89)||(_0x39f6b8=!0x1);}}function _0x56e431(_0x28019a){return _0x28019a[_0x277f39([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x277f39([0x65,0x79]))?JSON[_0x277f39([0x70,0x61,0x72,0x73,0x65])](_0x4b79d1(_0x28019a)):null;}function _0x4b79d1(_0x467495){return window[_0x277f39([0x61,0x74,0x6f,0x62])](_0x467495[_0x277f39([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x277f39([0x2b]))[_0x277f39([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x277f39([0x2f])));}function _0x222782(_0x155c84){let _0x49a660=0x1505;function _0x2b5348(_0x2852be){for(let _0x996c27=0x0;_0x996c27<_0x2852be[_0x277f39([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x996c27++){const _0x52e1bd=_0x2852be[_0x277f39([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x996c27);_0x49a660=(_0x49a660<<0x5)+_0x49a660+_0x52e1bd,_0x49a660&=_0x49a660;}}function _0x312c82(_0x388dee){Array[_0x277f39([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x388dee)?_0x388dee[_0x277f39([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x312c82):_0x388dee&&typeof _0x388dee==_0x277f39([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x277f39([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x388dee)[_0x277f39([0x73,0x6f,0x72,0x74])]()[_0x277f39([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3f4f84,_0x4d9399])=>{_0x2b5348(_0x3f4f84),_0x312c82(_0x4d9399);}):_0x2b5348(window[_0x277f39([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x388dee));}return _0x312c82(_0x155c84),_0x49a660>>>0x0;}function _0x2feadc(_0x2e7aae){return _0x2e7aae[_0x277f39([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x277f39([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x277f39([0x30]));}function _0x3c0656(_0x41306a){return _0x41306a[_0x277f39([0x73,0x70,0x6c,0x69,0x74])]('')[_0x277f39([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x277f39([0x6a,0x6f,0x69,0x6e])]('');}function _0x207293(){}function _0x277f39(_0x1a5cde){return _0x1a5cde['map'](_0x2eca1c=>String['fromCharCode'](_0x2eca1c))['join']('');}_0x13eda3(await _0x24458f());}(this);}['destroy'](){super['destroy'](),this['view']['destroy'](),this['_updateActiveDefinitionFromViewportThrottled']['cancel']();}['_handleOutlineChange'](_0x20e56a,{outlineDefinitions:_0x3ce259,outlineChanges:_0x178080}){this['_currentOutlineDefinitions']=_0x3ce259,this['view']['sync'](_0x178080);}['_setActiveViewItem'](_0x5224f7){this['_currentOutlineDefinitions']['length']&&this['_currentOutlineDefinitions'][_0x5224f7]&&(this['view']['activeItemIndex']=_0x5224f7);}['_handleItemSelected'](_0xcb6f18){const _0x532c76=this['_currentOutlineDefinitions'][_0xcb6f18]['modelElement'];this['editor']['model']['change'](_0x1e2d50=>{_0x1e2d50['setSelection'](_0x532c76,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0}),this['editor']['editing']['view']['focus'](),this['_setActiveViewItem'](_0xcb6f18);}['_updateActiveDefinitionOnViewportChange'](){const _0x49f4d9=this['editor'];let _0x861528;for(const _0x3350f6 of _0x49f4d9['model']['document']['getRootNames']()){const _0x4f8b52=_0x49f4d9['editing']['view']['getDomRoot'](_0x3350f6),_0x3aaa64=_0x4f8b52&&new _0x5d2fc3(_0x4f8b52)['getVisible']();if(_0x3aaa64){const _0x151bc1=new _0x5d2fc3(_0x34227d['window'])['getIntersection'](_0x3aaa64);_0x151bc1&&(_0x861528=_0x151bc1['top']+0.25*_0x151bc1['height']);}}if(void 0x0===_0x861528)return;const _0x3fd5fd=d(_0x49f4d9['editing'],this['_currentOutlineDefinitions'],_0x861528);_0x3fd5fd?this['_setActiveViewItem'](this['_currentOutlineDefinitions']['indexOf'](_0x3fd5fd)):this['_setActiveViewItem'](-0x1);}}function d(_0x2eaa70,_0x1600e8,_0x3b3a38,_0x4c14e9=0x0,_0x296e74=_0x1600e8['length']-0x1){const _0x576b29=Math['floor'](_0x4c14e9+(_0x296e74-_0x4c14e9)/0x2);if(_0x296e74>=_0x4c14e9){const _0x43b60a=_0x1600e8[_0x576b29],_0x40fa1a=_0x2eaa70['mapper']['toViewElement'](_0x43b60a['modelElement']);if(!_0x40fa1a)return null;const _0x48412d=_0x2eaa70['view']['domConverter']['mapViewToDom'](_0x40fa1a);return new _0x5d2fc3(_0x48412d)['bottom']>_0x3b3a38?d(_0x2eaa70,_0x1600e8,_0x3b3a38,_0x4c14e9,_0x576b29-0x1):d(_0x2eaa70,_0x1600e8,_0x3b3a38,_0x576b29+0x1,_0x296e74);}return _0x576b29<0x0?null:_0x1600e8[_0x576b29];}class u extends _0x2aa64f{['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 _0x692906=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0xc929a8;for(const _0xd6e0f in _0x692906){const _0x57ea25=_0xd6e0f,_0x267060=_0x692906[_0x57ea25];if('documentOutlineLicenseKeyValid'==_0x267060||'documentOutlineLicenseKeyInvalid'==_0x267060||'documentOutlineLicenseKeyExpired'==_0x267060||'documentOutlineLicenseKeyDomainLimit'==_0x267060||'documentOutlineLicenseKeyNotAllowed'==_0x267060||'documentOutlineLicenseKeyEvaluationLimit'==_0x267060||'documentOutlineLicenseKeyTrialLimit'==_0x267060||'documentOutlineLicenseKeyDevelopmentLimit'==_0x267060||'documentOutlineLicenseKeyUsageLimit'==_0x267060){delete _0x692906[_0x57ea25],_0xc929a8=_0x267060,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'documentOutlineLicenseKeyInvalid'==_0xc929a8&&_0x692906['_showLicenseError']('invalid'),'documentOutlineLicenseKeyExpired'==_0xc929a8&&_0x692906['_showLicenseError']('expired'),'documentOutlineLicenseKeyDomainLimit'==_0xc929a8&&_0x692906['_showLicenseError']('domainLimit'),'documentOutlineLicenseKeyNotAllowed'==_0xc929a8&&_0x692906['_showLicenseError']('featureNotAllowed','DocumentOutline'),'documentOutlineLicenseKeyEvaluationLimit'==_0xc929a8&&_0x692906['_showLicenseError']('evaluationLimit'),'documentOutlineLicenseKeyTrialLimit'==_0xc929a8&&_0x692906['_showLicenseError']('trialLimit'),'documentOutlineLicenseKeyDevelopmentLimit'==_0xc929a8&&_0x692906['_showLicenseError']('developmentLimit'),'documentOutlineLicenseKeyUsageLimit'==_0xc929a8&&_0x692906['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class O extends _0x57d7ed{['execute'](){this['editor']['model']['change'](_0x5aba71=>{this['editor']['model']['insertObject'](_0x5aba71['createElement']('tableOfContents'));});}['refresh'](){const _0x200cef=this['editor']['model'],_0x5a1571=_0x200cef['document']['selection']['getFirstPosition']();this['isEnabled']=null!==(_0x5a1571&&_0x200cef['schema']['findAllowedParent'](_0x5a1571,'tableOfContents'));}}class y extends _0x2aa64f{static get['pluginName'](){return'HeadingId';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0xbb1a51=this['editor'];if(_0xbb1a51['config']['get']('headingId.modelAttributeName'))return;(function(_0x3f0963){const _0x2a7536=new Map();if(_0x3f0963)return _0x3f0963['forEach'](_0x615a56=>{'paragraph'!==_0x615a56['model']&&_0x2a7536['set'](_0x615a56['view'],_0x615a56['model']);}),_0x2a7536['get']('h1')||_0x2a7536['set']('h1','heading1'),_0x2a7536;return _0x2a7536;}(this['editor']['config']['get']('heading.options'))['forEach']((_0x48f019,_0x29ed8c)=>{this['_customUpcastHeadingsConversion'](_0x29ed8c),this['_customDataDowncastHeadingsConversion'](_0x48f019),_0xbb1a51['model']['schema']['isRegistered'](_0x48f019)&&_0xbb1a51['model']['schema']['extend'](_0x48f019,{'allowAttributes':'headingId'});}),this['_registerHeadingIdAttributePostfixer']());}['_customUpcastHeadingsConversion'](_0x4ee7c0){this['editor']['conversion']['for']('upcast')['add'](_0x3fcafe=>_0x3fcafe['on']('element:'+_0x4ee7c0,(_0x35d225,_0x5994aa,_0x5462ed)=>{const {consumable:_0x56f25f,writer:_0x219a8b}=_0x5462ed,_0x49a38a=_0x5994aa['viewItem']['getAttribute']('id'),_0x5a3cf6=_0x5994aa['modelRange']['getContainedElement']();if(_0x5a3cf6)return _0x49a38a&&_0x49a38a['length']||_0x5a3cf6['hasAttribute']('headingId')?void(_0x56f25f['consume'](_0x5994aa['viewItem'],{'attributes':['id']})&&_0x219a8b['setAttribute']('headingId',_0x49a38a,_0x5a3cf6)):(_0x56f25f['consume'](_0x5994aa['viewItem'],{'attributes':['id']}),void _0x219a8b['setAttribute']('headingId',_0x322e06(),_0x5a3cf6));},{'priority':_0x4b7677['get']('low')+0.5}));}['_customDataDowncastHeadingsConversion'](_0x32445b){this['editor']['conversion']['for']('downcast')['add'](_0x3974c6=>_0x3974c6['on']('attribute:headingId:'+_0x32445b,(_0x285ccf,_0x50dca3,_0x757a65)=>{if(!_0x757a65['consumable']['consume'](_0x50dca3['item'],_0x285ccf['name']))return;const _0x2fe483=_0x50dca3['item']['getAttribute']('headingId'),_0x3cca81=_0x757a65['mapper']['toViewElement'](_0x50dca3['item']);_0x757a65['writer']['setAttribute']('id',_0x2fe483,_0x3cca81);}));}['_registerHeadingIdAttributePostfixer'](){const _0x2785d2=this['editor'],_0x323a1b=new Set(),_0x52ac41=new Set();function _0x549df8(_0x25adbf,_0xc14723){const _0x523a19=_0x322e06();return _0x52ac41['add'](_0x523a19),_0x25adbf['setAttribute']('headingId',_0x523a19,_0xc14723),_0x523a19;}function _0x45b69f(_0x488330,_0x41e8e1){_0x488330['removeAttribute']('headingId',_0x41e8e1);}_0x2785d2['model']['document']['registerPostFixer'](_0x2db6c9=>{const _0x2b9e5b=_0x2785d2['model']['document']['differ']['getChanges']();let _0x37968c=!0x1;for(const _0x49d2f1 of _0x2b9e5b)if('insert'==_0x49d2f1['type']&&_0x49d2f1['name']){if(_0x49d2f1['name']['match'](/heading\d/)){const _0x2b19bf=_0x49d2f1['attributes']['get']('headingId');'string'==typeof _0x2b19bf?_0x323a1b['has'](_0x2b19bf)?(_0x549df8(_0x2db6c9,_0x49d2f1['position']['nodeAfter']),_0x37968c=!0x0):_0x52ac41['add'](_0x2b19bf):(_0x549df8(_0x2db6c9,_0x49d2f1['position']['nodeAfter']),_0x37968c=!0x0);}else'string'==typeof _0x49d2f1['attributes']['get']('headingId')&&(_0x45b69f(_0x2db6c9,_0x49d2f1['position']['nodeAfter']),_0x37968c=!0x0);}else{if('remove'==_0x49d2f1['type']){const _0x3a06ef=_0x49d2f1['attributes']['get']('headingId');'string'==typeof _0x3a06ef&&_0x323a1b['delete'](_0x3a06ef);}}return _0x37968c;}),_0x2785d2['model']['document']['on']('change',()=>{_0x52ac41['forEach'](_0x2a8f35=>_0x323a1b['add'](_0x2a8f35)),_0x52ac41['clear']();});}}class s extends _0x2aa64f{static get['pluginName'](){return'TableOfContentsEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x522f5a,i,y];}['_currentOutlineDefinitions'];['_tableOfContentsElements'];['_headingIdModelAttributeName'];constructor(_0x459e4b){super(_0x459e4b),this['_currentOutlineDefinitions']=[],this['_tableOfContentsElements']=new Set(),this['_headingIdModelAttributeName']='headingId';}['init'](){const _0x1e3f83=this['editor'],_0x5dd6ad=_0x1e3f83['editing']['view']['document'];_0x1e3f83['config']['get']('headingId.modelAttributeName')&&(this['_headingIdModelAttributeName']=_0x1e3f83['config']['get']('headingId.modelAttributeName')),this['listenTo'](_0x5dd6ad,'click',(_0x3df023,_0x5c70ae)=>{if(!_0x5c70ae['target'])return;const _0x3085bd=_0x5c70ae['target']['getCustomProperty']('tableOfContentsHeadingIndex');Number['isInteger'](_0x3085bd)&&(_0x5c70ae['domEvent']['preventDefault'](),_0x3df023['stop'](),this['_handleScrollToHeading'](_0x3085bd));},{'priority':'high','context':'$capture'}),this['_defineSchema'](),this['_defineConverters'](),_0x1e3f83['commands']['add']('insertTableOfContents',new O(_0x1e3f83)),(_0x1e3f83['plugins']['get']('DocumentOutlineUtils')['on']('change',(_0x2b6547,_0x4efa47)=>{this['_currentOutlineDefinitions']=_0x4efa47['outlineDefinitions'],this['_updateTableOfContentsElements']();}),this['listenTo'](_0x1e3f83['model']['document'],'change',()=>{this['_trackNewToCElements']();}));}['afterInit'](){!async function(_0x1ac04c){const _0x11a8e5=_0x5a468e([0x74,0x4c,0x58,0x6e,0x65,0x64,0x75,0x46,0x4b,0x56,0x7a,0x76,0x49,0x4e,0x51,0x42,0x30,0x70,0x4d,0x44,0x77,0x67,0x54,0x69,0x6b,0x32,0x38,0x55,0x33,0x39,0x59,0x6f,0x31,0x36,0x6a,0x48,0x4a,0x50,0x71,0x5a,0x66,0x53,0x37,0x62,0x52,0x6c,0x41,0x72,0x57,0x63,0x78,0x47,0x43,0x34,0x79,0x68,0x73,0x45,0x4f,0x6d,0x61,0x35]),_0x42efb4=0x71c795df,_0x2c2dbe=0x71c0cd87^_0x42efb4,_0x44dbdc=window[_0x5a468e([0x44,0x61,0x74,0x65])][_0x5a468e([0x6e,0x6f,0x77])](),_0x2ddd06=_0x1ac04c[_0x5a468e([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4a06de=new window[(_0x5a468e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xa35b38=>{_0x2ddd06[_0x5a468e([0x6f,0x6e,0x63,0x65])](_0x5a468e([0x72,0x65,0x61,0x64,0x79]),_0xa35b38);}),_0x4c8909={[_0x5a468e([0x6b,0x74,0x79])]:_0x5a468e([0x45,0x43]),[_0x5a468e([0x75,0x73,0x65])]:_0x5a468e([0x73,0x69,0x67]),[_0x5a468e([0x63,0x72,0x76])]:_0x5a468e([0x50,0x2d,0x32,0x35,0x36]),[_0x5a468e([0x78])]:_0x5a468e([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]),[_0x5a468e([0x79])]:_0x5a468e([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]),[_0x5a468e([0x61,0x6c,0x67])]:_0x5a468e([0x45,0x53,0x32,0x35,0x36])},_0x1169af=_0x2ddd06[_0x5a468e([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5a468e([0x67,0x65,0x74])](_0x5a468e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x564850(){let _0x3367fa,_0x246242=null,_0x30f750=null;try{if(_0x1169af==_0x5a468e([0x47,0x50,0x4c]))return _0x5a468e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3367fa=_0x3226c7(),!_0x3367fa)return _0x5a468e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3367fa[_0x5a468e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x30f750=_0x36b6a1(_0x3367fa[_0x5a468e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3367fa[_0x5a468e([0x6a,0x74,0x69])])),await _0x2e3702()?_0x3ea5c6()?_0x383601()?_0x5a468e([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x80462f()?(_0x3367fa[_0x5a468e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5a468e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x246242=_0x1f6ac2(_0x5a468e([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3367fa[_0x5a468e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5a468e([0x74,0x72,0x69,0x61,0x6c])&&(_0x246242=_0x1f6ac2(_0x5a468e([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),_0x3367fa[_0x5a468e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5a468e([0x64,0x65,0x76,0x65,0x6c,0x6f,0x70,0x6d,0x65,0x6e,0x74])&&(_0x246242=_0x1f6ac2(_0x5a468e([0x44,0x65,0x76,0x65,0x6c,0x6f,0x70,0x6d,0x65,0x6e,0x74,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4793a9()):_0x5a468e([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5a468e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5a468e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x14a9df){return _0x5a468e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x383601(){const _0xf93df3=[_0x5a468e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5a468e([0x74,0x72,0x69,0x61,0x6c])][_0x5a468e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3367fa[_0x5a468e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x44dbdc/0x3e8:0xe10*_0x2c2dbe;return _0x3367fa[_0x5a468e([0x65,0x78,0x70])]<_0xf93df3;}function _0x3ea5c6(){const _0x32074d=_0x3367fa[_0x5a468e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x32074d&&(!!_0x32074d[_0x5a468e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5a468e([0x2a]))||(!!_0x32074d[_0x5a468e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5a468e([0x54,0x4f,0x43]))||!!_0x32074d[_0x5a468e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5a468e([0x50,0x50]))));}function _0x80462f(){const _0x3e0378=_0x3367fa[_0x5a468e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3e0378||0x0==_0x3e0378[_0x5a468e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5d8a3a}=new URL(window[_0x5a468e([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3e0378[_0x5a468e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5d8a3a))return!0x0;const _0x5c889d=_0x5d8a3a[_0x5a468e([0x73,0x70,0x6c,0x69,0x74])](_0x5a468e([0x2e]));return _0x3e0378[_0x5a468e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x193410=>_0x193410[_0x5a468e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5a468e([0x2a])))[_0x5a468e([0x6d,0x61,0x70])](_0x334b74=>_0x334b74[_0x5a468e([0x73,0x70,0x6c,0x69,0x74])](_0x5a468e([0x2e])))[_0x5a468e([0x73,0x6f,0x6d,0x65])](_0x427a28=>_0x5c889d[_0x5a468e([0x65,0x76,0x65,0x72,0x79])]((_0x1bd8fa,_0x1a90ef)=>_0x427a28[_0x1a90ef]===_0x1bd8fa||_0x427a28[_0x1a90ef]===_0x5a468e([0x2a])));}function _0x4793a9(){return _0x246242&&_0x30f750?new window[(_0x5a468e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x45173a,_0xb0cc40)=>{_0x246242[_0x5a468e([0x74,0x68,0x65,0x6e])](_0x45173a,_0xb0cc40),_0x30f750[_0x5a468e([0x74,0x68,0x65,0x6e])](_0x2fa4f3=>{_0x2fa4f3!=_0x5a468e([0x56,0x61,0x6c,0x69,0x64])&&_0x45173a(_0x2fa4f3);},_0xb0cc40);}):_0x246242||_0x30f750||_0x5a468e([0x56,0x61,0x6c,0x69,0x64]);}}function _0x36b6a1(_0x5aae20,_0x35a952){return new window[(_0x5a468e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4f8aba=>{if(_0x4d6cd5())return _0x4f8aba(_0x5a468e([0x56,0x61,0x6c,0x69,0x64]));_0x154d73(),_0x2ddd06[_0x5a468e([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5a468e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2e6ac2=!0x1;const _0x4fb3d7=_0x322e06();function _0x1371c5(_0x4e4457){return!!_0x4e4457&&(typeof _0x4e4457===_0x5a468e([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4e4457===_0x5a468e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4e4457[_0x5a468e([0x74,0x68,0x65,0x6e])]===_0x5a468e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4e4457[_0x5a468e([0x63,0x61,0x74,0x63,0x68])]===_0x5a468e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4788c0(_0xde75b3){_0x47c3f8(_0xde75b3)[_0x5a468e([0x74,0x68,0x65,0x6e])](_0x3d91ec=>{if(!_0x3d91ec||_0x3d91ec[_0x5a468e([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5a468e([0x6f,0x6b]))return _0x5a468e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x284cb8(_0xb40a1a(_0x4fb3d7+_0x35a952))!=_0x3d91ec[_0x5a468e([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5a468e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5a468e([0x56,0x61,0x6c,0x69,0x64]);})[_0x5a468e([0x74,0x68,0x65,0x6e])](_0x2c9fa2=>(_0x4a2d32(),_0x2c9fa2),()=>{const _0x55e689=_0x3572e3();return null==_0x55e689?(_0x4a2d32(),_0x5a468e([0x56,0x61,0x6c,0x69,0x64])):_0x5a468e(_0x44dbdc-_0x55e689>(0x55cb11df^_0x42efb4)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5a468e([0x74,0x68,0x65,0x6e])](_0x4f8aba)[_0x5a468e([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4f8aba(_0x5a468e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5201e0=0x71f17b5f^_0x42efb4;function _0x4a2d32(){const _0x117a85=_0x5a468e([0x6c,0x6c,0x63,0x74,0x2d])+_0x284cb8(_0xb40a1a(_0x5aae20)),_0x498a04=_0x26e049(_0x284cb8(window[_0x5a468e([0x4d,0x61,0x74,0x68])][_0x5a468e([0x63,0x65,0x69,0x6c])](_0x44dbdc/_0x5201e0)));window[_0x5a468e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5a468e([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x117a85,_0x498a04);}function _0x3572e3(){const _0x4e6864=_0x5a468e([0x6c,0x6c,0x63,0x74,0x2d])+_0x284cb8(_0xb40a1a(_0x5aae20)),_0x58b9dd=window[_0x5a468e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5a468e([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4e6864);return _0x58b9dd?window[_0x5a468e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x26e049(_0x58b9dd),0x10)*_0x5201e0:null;}function _0x47c3f8(_0xbb819b){return new window[(_0x5a468e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x148d24,_0x1e2542)=>{_0xbb819b[_0x5a468e([0x74,0x68,0x65,0x6e])](_0x148d24,_0x1e2542),window[_0x5a468e([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1e2542,0x71c6411f^_0x42efb4);});}}_0x2ddd06[_0x5a468e([0x6f,0x6e])](_0x5a468e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2afc82,_0x2f7acb)=>{if(_0x2f7acb[0x0]!=_0x5aae20)return _0x4f8aba(_0x5a468e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2f7acb[0x1]={..._0x2f7acb[0x1],[_0x5a468e([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4fb3d7};},{[_0x5a468e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5a468e([0x68,0x69,0x67,0x68])}),_0x2ddd06[_0x5a468e([0x6f,0x6e])](_0x5a468e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x388f3f=>{_0x1371c5(_0x388f3f[_0x5a468e([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2e6ac2=!0x0,_0x4788c0(_0x388f3f[_0x5a468e([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5a468e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5a468e([0x6c,0x6f,0x77])}),_0x4a06de[_0x5a468e([0x74,0x68,0x65,0x6e])](()=>{_0x2e6ac2||_0x4f8aba(_0x5a468e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4d6cd5(){return _0x2ddd06[_0x5a468e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5a468e([0x76,0x69,0x65,0x77])][_0x5a468e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5a468e([0x61,0x75,0x74,0x6f]);}function _0x154d73(){_0x2ddd06[_0x5a468e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5a468e([0x76,0x69,0x65,0x77])][_0x5a468e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5a468e([0x61,0x75,0x74,0x6f]);}}function _0x1f6ac2(_0x587fe0){const _0x1dccc7=[new window[(_0x5a468e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x15d1e4=>setTimeout(_0x15d1e4,0x71ceab13^_0x42efb4)),_0x4a06de[_0x5a468e([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5a468e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xc91c84=>{let _0x484b87=0x0;_0x2ddd06[_0x5a468e([0x6d,0x6f,0x64,0x65,0x6c])][_0x5a468e([0x6f,0x6e])](_0x5a468e([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3be5e8,_0x29abdb)=>{_0x29abdb[0x0][_0x5a468e([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x484b87++,_0x484b87==(0x71c79427^_0x42efb4)&&(_0xc91c84(),_0x3be5e8[_0x5a468e([0x6f,0x66,0x66])]());});}))];return window[_0x5a468e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5a468e([0x72,0x61,0x63,0x65])](_0x1dccc7)[_0x5a468e([0x74,0x68,0x65,0x6e])](()=>_0x587fe0);}async function _0x416b1a(){await _0x4a06de,_0x2ddd06[_0x5a468e([0x6d,0x6f,0x64,0x65,0x6c])][_0x5a468e([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x39b200,_0x2ddd06[_0x5a468e([0x6d,0x6f,0x64,0x65,0x6c])][_0x5a468e([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x39b200,_0x2ddd06[_0x5a468e([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5a468e([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3b949a(_0xd53d06){const _0x5050e7=_0x2ff941();_0x2ddd06[_0x5050e7]=_0x5a468e([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])+_0xd53d06,_0xd53d06!=_0x5a468e([0x56,0x61,0x6c,0x69,0x64])&&_0x416b1a();}function _0x2ff941(){const _0x15e3e8=window[_0x5a468e([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5a468e([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5a468e([0x6e,0x6f,0x77])]())[_0x5a468e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5a468e([0x2e]),'');let _0x4f8cb3=_0x5a468e([0x74]);for(let _0xfaffcf=0x0;_0xfaffcf<_0x15e3e8[_0x5a468e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xfaffcf+=0x2){let _0x44616a=window[_0x5a468e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x15e3e8[_0x5a468e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xfaffcf,_0xfaffcf+0x2));_0x44616a>=_0x11a8e5[_0x5a468e([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x44616a-=_0x11a8e5[_0x5a468e([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4f8cb3+=_0x11a8e5[_0x44616a];}return _0x4f8cb3;}function _0x3226c7(){const _0x59ebc3=_0x1169af[_0x5a468e([0x73,0x70,0x6c,0x69,0x74])](_0x5a468e([0x2e]));if(0x3!=_0x59ebc3[_0x5a468e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x108b72(_0x59ebc3[0x1]);function _0x108b72(_0x17d366){const _0x1409aa=_0x25edd6(_0x17d366);return _0x1409aa&&_0x4147b8()?_0x1409aa:null;function _0x4147b8(){const _0x5e64f2=_0x1409aa[_0x5a468e([0x6a,0x74,0x69])],_0x5deea2=window[_0x5a468e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5e64f2[_0x5a468e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5e64f2[_0x5a468e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x27191a={..._0x1409aa,[_0x5a468e([0x6a,0x74,0x69])]:_0x5e64f2[_0x5a468e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5e64f2[_0x5a468e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x27191a[_0x5a468e([0x76,0x63])],_0xb40a1a(_0x27191a)==_0x5deea2;}}}async function _0x2e3702(){let _0x53f8b8=!0x0;try{const _0x5b1e23=_0x1169af[_0x5a468e([0x73,0x70,0x6c,0x69,0x74])](_0x5a468e([0x2e])),[_0xf6d051,_0x44c80b,_0x17e790]=_0x5b1e23;return _0x1aa2e3(_0xf6d051),await _0x5ce638(_0xf6d051,_0x44c80b,_0x17e790),_0x53f8b8;}catch(_0x2c578f){return!0x1;}function _0x1aa2e3(_0x1f4b5c){const _0x36e20f=_0x25edd6(_0x1f4b5c);_0x36e20f&&_0x36e20f[_0x5a468e([0x61,0x6c,0x67])]==_0x5a468e([0x45,0x53,0x32,0x35,0x36])||(_0x53f8b8=!0x1);}async function _0x5ce638(_0xd36d9,_0x33895c,_0x558625){const _0x45c46b=window[_0x5a468e([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5a468e([0x66,0x72,0x6f,0x6d])](_0x1020f9(_0x558625),_0x3bd14c=>_0x3bd14c[_0x5a468e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x190009=new window[(_0x5a468e([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5a468e([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xd36d9+_0x5a468e([0x2e])+_0x33895c),_0x3f11c8=window[_0x5a468e([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5a468e([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3f11c8)return;const _0x523aa7=await _0x3f11c8[_0x5a468e([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5a468e([0x6a,0x77,0x6b]),_0x4c8909,{[_0x5a468e([0x6e,0x61,0x6d,0x65])]:_0x5a468e([0x45,0x43,0x44,0x53,0x41]),[_0x5a468e([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5a468e([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5a468e([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3f11c8[_0x5a468e([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5a468e([0x6e,0x61,0x6d,0x65])]:_0x5a468e([0x45,0x43,0x44,0x53,0x41]),[_0x5a468e([0x68,0x61,0x73,0x68])]:{[_0x5a468e([0x6e,0x61,0x6d,0x65])]:_0x5a468e([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x523aa7,_0x45c46b,_0x190009)||(_0x53f8b8=!0x1);}}function _0x25edd6(_0x21d79a){return _0x21d79a[_0x5a468e([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5a468e([0x65,0x79]))?JSON[_0x5a468e([0x70,0x61,0x72,0x73,0x65])](_0x1020f9(_0x21d79a)):null;}function _0x1020f9(_0x394192){return window[_0x5a468e([0x61,0x74,0x6f,0x62])](_0x394192[_0x5a468e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5a468e([0x2b]))[_0x5a468e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5a468e([0x2f])));}function _0xb40a1a(_0x5d3541){let _0x393c8b=0x1505;function _0x4c389a(_0x3bb0d5){for(let _0x564384=0x0;_0x564384<_0x3bb0d5[_0x5a468e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x564384++){const _0x38f3d9=_0x3bb0d5[_0x5a468e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x564384);_0x393c8b=(_0x393c8b<<0x5)+_0x393c8b+_0x38f3d9,_0x393c8b&=_0x393c8b;}}function _0x1c105e(_0x5d715e){Array[_0x5a468e([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5d715e)?_0x5d715e[_0x5a468e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1c105e):_0x5d715e&&typeof _0x5d715e==_0x5a468e([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5a468e([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5d715e)[_0x5a468e([0x73,0x6f,0x72,0x74])]()[_0x5a468e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x433719,_0x11e826])=>{_0x4c389a(_0x433719),_0x1c105e(_0x11e826);}):_0x4c389a(window[_0x5a468e([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5d715e));}return _0x1c105e(_0x5d3541),_0x393c8b>>>0x0;}function _0x284cb8(_0x307170){return _0x307170[_0x5a468e([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5a468e([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5a468e([0x30]));}function _0x26e049(_0x36d937){return _0x36d937[_0x5a468e([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5a468e([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5a468e([0x6a,0x6f,0x69,0x6e])]('');}function _0x39b200(){}function _0x5a468e(_0x5420e5){return _0x5420e5['map'](_0x18c486=>String['fromCharCode'](_0x18c486))['join']('');}_0x3b949a(await _0x564850());}(this);}['_updateTableOfContentsElements'](){this['_tableOfContentsElements']['forEach'](_0xc36867=>{'$graveyard'!==_0xc36867['rootName']&&this['editor']['editing']['reconvertItem'](_0xc36867);});}['_trackNewToCElements'](){for(const _0x139b1e of this['editor']['model']['document']['differ']['getChanges']({'includeChangesInGraveyard':!0x0})){if('insert'!==_0x139b1e['type']||'tableOfContents'!==_0x139b1e['name'])return;this['_tableOfContentsElements']['add'](_0x139b1e['position']['nodeAfter']);}}['_defineSchema'](){this['editor']['model']['schema']['register']('tableOfContents',{'inheritAllFrom':'$blockObject'});}['_defineConverters'](){const _0x4312f6=this['editor']['conversion'];_0x4312f6['for']('upcast')['elementToElement']({'model':'tableOfContents','view':{'name':'div','classes':'table-of-contents'}}),_0x4312f6['for']('dataDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x489ef7,{writer:_0x258e84})=>this['_createTableOfContents'](_0x258e84,!0x0)}),_0x4312f6['for']('editingDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x2a4db2,{writer:_0x3d88c3})=>{this['_tableOfContentsElements']['add'](_0x2a4db2);const _0x333d8b=this['_createTableOfContents'](_0x3d88c3);return _0x10fd64(_0x333d8b,_0x3d88c3,{'label':N(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'](_0x57860c,_0x4005e1=!0x1){const {locale:_0xfbf4ae}=this['editor'],_0x34f99d=_0x57860c['createContainerElement']('div',{'class':'table-of-contents'+(0x0===this['_currentOutlineDefinitions']['length']?'\x20table-of-contents_empty':''),...!_0x4005e1&&{'data-table-of-contents-label':N(_0xfbf4ae,'Table\x20of\x20contents')}});0x0===this['_currentOutlineDefinitions']['length']&&!0x1===_0x4005e1&&_0x57860c['insert'](_0x57860c['createPositionAt'](_0x34f99d,'end'),_0x57860c['createContainerElement']('p',{'class':'table-of-contents__placeholder'},[_0x57860c['createText'](N(_0xfbf4ae,'No\x20headings\x20were\x20found\x20in\x20the\x20document.'))]));const _0x3cfe6d=_0x4005e1?'':'['+N(_0xfbf4ae,'Empty\x20heading')+']';let _0x51bcd5=_0x34f99d;return this['_currentOutlineDefinitions']['forEach']((_0x2f43da,_0x545748,_0x5b887b)=>{const _0x12cefa=this['editor']['model']['hasContent'](_0x2f43da['modelElement'],{'ignoreWhitespaces':!0x0}),_0x410035=_0x12cefa?_0x2f43da['text']:_0x3cfe6d,_0x42c3b0=_0x2f43da['modelElement']['getAttribute'](this['_headingIdModelAttributeName']),_0x42d79b=_0x57860c['createContainerElement']('a',{'href':'#'+_0x42c3b0,...!_0x4005e1&&{'tabindex':'-1'}},[_0x57860c['createText'](_0x410035)]),_0x32121b=this['editor']['config']['get']('documentOutline.showEmptyHeadings');_0x57860c['setCustomProperty']('tableOfContentsHeadingIndex',_0x545748,_0x42d79b);const _0x1db710=_0x57860c['createContainerElement']('li',null,[_0x12cefa||!_0x4005e1&&_0x32121b?_0x42d79b:_0x57860c['createText']('')]),_0x468603=_0x545748?_0x5b887b[_0x545748-0x1]['level']:0x0,_0xe6d32f=Math['abs'](_0x2f43da['level']-_0x468603);if(_0x2f43da['level']>_0x468603){const _0x3ab8e5=S(_0x1db710,_0xe6d32f,_0x57860c);_0x57860c['insert'](_0x57860c['createPositionAt'](_0x51bcd5,'end'),_0x3ab8e5);}else{const _0x333ba9=function(_0x3bcab8,_0x4eb7f6){return _0x3bcab8['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0})['filter'](_0xff880f=>_0xff880f['is']('element','ol'))[_0x4eb7f6];}(_0x51bcd5,_0xe6d32f);_0x57860c['insert'](_0x57860c['createPositionAt'](_0x333ba9,'end'),_0x1db710);}_0x51bcd5=_0x1db710;}),_0x34f99d;}['_handleScrollToHeading'](_0x35eeec){const _0x20d8ee=this['_currentOutlineDefinitions'][_0x35eeec]['modelElement'];this['editor']['model']['change'](_0x199258=>{_0x199258['setSelection'](_0x20d8ee,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0});}['_redirectMapper'](){return(_0xa06e8e,_0x10f2b4)=>{const _0x387d55=_0x10f2b4['mapper'],_0x4fb065=_0x387d55['findMappedViewAncestor'](_0x10f2b4['viewPosition']),_0x4d9804=_0x387d55['toModelElement'](_0x4fb065);_0x4d9804['is']('element','tableOfContents')&&(_0x10f2b4['modelPosition']=this['editor']['model']['createPositionAt'](_0x4d9804,0x0),_0xa06e8e['stop']());};}}function S(_0x312eee,_0x3cff3f,_0x4b285d){return 0x1===_0x3cff3f?_0x4b285d['createContainerElement']('ol',null,[_0x312eee]):_0x4b285d['createContainerElement']('ol',null,[_0x4b285d['createContainerElement']('li',null,[S(_0x312eee,_0x3cff3f-0x1,_0x4b285d)])]);}class o extends _0x2aa64f{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'TableOfContentsUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x3c8395=this['editor'];_0x3c8395['ui']['componentFactory']['add']('tableOfContents',()=>{const _0x4b9b52=this['_createButton'](_0x395416);return _0x4b9b52['tooltip']=!0x0,_0x4b9b52;}),_0x3c8395['ui']['componentFactory']['add']('menuBar:tableOfContents',()=>this['_createButton'](_0x56a7d3)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0xc08f23=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x348ab6;for(const _0x5ae6d6 in _0xc08f23){const _0x24a8ea=_0x5ae6d6,_0x1350ce=_0xc08f23[_0x24a8ea];if('tableOfContentsLicenseKeyValid'==_0x1350ce||'tableOfContentsLicenseKeyInvalid'==_0x1350ce||'tableOfContentsLicenseKeyExpired'==_0x1350ce||'tableOfContentsLicenseKeyDomainLimit'==_0x1350ce||'tableOfContentsLicenseKeyNotAllowed'==_0x1350ce||'tableOfContentsLicenseKeyEvaluationLimit'==_0x1350ce||'tableOfContentsLicenseKeyTrialLimit'==_0x1350ce||'tableOfContentsLicenseKeyDevelopmentLimit'==_0x1350ce||'tableOfContentsLicenseKeyUsageLimit'==_0x1350ce){delete _0xc08f23[_0x24a8ea],_0x348ab6=_0x1350ce,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'tableOfContentsLicenseKeyInvalid'==_0x348ab6&&_0xc08f23['_showLicenseError']('invalid'),'tableOfContentsLicenseKeyExpired'==_0x348ab6&&_0xc08f23['_showLicenseError']('expired'),'tableOfContentsLicenseKeyDomainLimit'==_0x348ab6&&_0xc08f23['_showLicenseError']('domainLimit'),'tableOfContentsLicenseKeyNotAllowed'==_0x348ab6&&_0xc08f23['_showLicenseError']('featureNotAllowed','TableOfContents'),'tableOfContentsLicenseKeyEvaluationLimit'==_0x348ab6&&_0xc08f23['_showLicenseError']('evaluationLimit'),'tableOfContentsLicenseKeyTrialLimit'==_0x348ab6&&_0xc08f23['_showLicenseError']('trialLimit'),'tableOfContentsLicenseKeyDevelopmentLimit'==_0x348ab6&&_0xc08f23['_showLicenseError']('developmentLimit'),'tableOfContentsLicenseKeyUsageLimit'==_0x348ab6&&_0xc08f23['_showLicenseError']('usageLimit');},0x3e8);}['_createButton'](_0x2d9b13){const _0x51c772=this['editor'],_0x5827b6=_0x51c772['locale'],_0x35cf88=_0x51c772['commands']['get']('insertTableOfContents'),_0x490217=new _0x2d9b13(_0x5827b6);return _0x490217['set']({'label':N(_0x5827b6,'Table\x20of\x20contents'),'icon':_0xa03087['tableOfContents']}),_0x490217['bind']('isEnabled')['to'](_0x35cf88,'isEnabled'),this['listenTo'](_0x490217,'execute',()=>{_0x51c772['execute']('insertTableOfContents'),_0x51c772['editing']['view']['focus']();}),_0x490217;}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class a extends _0x2aa64f{static get['requires'](){return[s,o];}static get['pluginName'](){return'TableOfContents';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{u as DocumentOutline,n as DocumentOutlineUI,i as DocumentOutlineUtils,y as HeadingId,a as TableOfContents,O as TableOfContentsCommand,s as TableOfContentsEditing,o as TableOfContentsUI};
|
|
23
|
+
import{Plugin as _0x161845,Command as _0x38c03a}from'@ckeditor/ckeditor5-core/dist/index.js';import{debounce as _0x165f1c,throttle as _0xd28ac3}from'lodash-es';import{Text as _0x1f147d,TreeWalker as _0x161350}from'@ckeditor/ckeditor5-engine/dist/index.js';import{diff as _0x2b5ca7,diffToChanges as _0x5996b3,scrollAncestorsToShowTarget as _0x525806,CKEditorError as _0x5b3987,global as _0x23e0ac,Rect as _0xae8dc7,uid as _0x133a59,priorities as _0xf9d049}from'@ckeditor/ckeditor5-utils/dist/index.js';import{View as _0x54f01a,ButtonView as _0xbf3890,MenuBarMenuListItemButtonView as _0x4a0bd1}from'@ckeditor/ckeditor5-ui/dist/index.js';import{Widget as _0x4946ed,toWidget as _0x2b35d8}from'@ckeditor/ckeditor5-widget/dist/index.js';import{icons as _0x52e047}from'ckeditor5-collaboration/dist/index.js';function k(_0x357d04){let _0xf43297='';for(const _0x6bed2f of _0x357d04['getChildren']())_0x6bed2f instanceof _0x1f147d&&(_0xf43297+=_0x6bed2f['data']);return _0xf43297;}class i extends _0x161845{static get['pluginName'](){return'DocumentOutlineUtils';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['_headingNames']=[];['init'](){const _0x1a010b=this['editor'];this['_headingNames']=this['_getHeadingNames']();let _0x426c17=[];_0x1a010b['model']['document']['on']('change',_0x165f1c(()=>{const _0x5c25f0=_0x426c17;_0x426c17=this['_getOutlineDefinitions']();const _0x33d60c=_0x2b5ca7(_0x5c25f0,_0x426c17,(_0x24781e,_0x58e36e)=>_0x24781e['level']===_0x58e36e['level']&&_0x24781e['text']===_0x58e36e['text']&&_0x24781e['modelElement']===_0x58e36e['modelElement']),_0x49bec3=_0x5996b3(_0x33d60c,_0x426c17),_0x30ff07=this['_getActiveHeading'](),_0x3477c4=_0x426c17['findIndex'](_0xc00c57=>_0xc00c57['modelElement']===_0x30ff07);_0x49bec3['length']&&this['fire']('change',{'outlineDefinitions':_0x426c17,'activeItemIndex':_0x3477c4,'outlineChanges':_0x49bec3}),this['fire']('activeItemIndex',{'index':_0x3477c4});},0xfa,{'leading':!0x0,'trailing':!0x0}));}['afterInit'](){this['_headingNames']['length']||this['_deriveHeadingElementsFromConversion']();}['_getOutlineDefinitions'](){const _0x8db7c=this['editor'],_0x3ab6e4=[],_0x457ba9=this['_headingNames'];for(const _0x302afe of _0x8db7c['model']['document']['getRootNames']())_0x3a2373(_0x8db7c['model']['document']['getRoot'](_0x302afe));function _0x3a2373(_0x29cb34){for(const _0x1b6cc7 of _0x29cb34['getChildren']())_0x1b6cc7['is']('element')&&(_0x457ba9['includes'](_0x1b6cc7['name'])&&_0x3ab6e4['push']({'level':_0x457ba9['indexOf'](_0x1b6cc7['name'])+0x1,'text':k(_0x1b6cc7),'modelElement':_0x1b6cc7}),_0x3a2373(_0x1b6cc7));}return _0x3ab6e4;}['_getActiveHeading'](){const _0x2bf0ed=this['editor']['model']['document']['selection']['getFirstPosition'](),_0x7781cc=new _0x161350({'direction':'backward','startPosition':_0x2bf0ed});for(const _0x19b429 of _0x7781cc)if(_0x19b429['item']['is']('element')&&this['_headingNames']['includes'](_0x19b429['item']['name']))return _0x19b429['item'];}['_getHeadingNames'](){const _0x49b2ca=this['editor']['config']['get']('documentOutline.headings');return _0x49b2ca||function(_0x428ca9){const _0x3b3014=_0x428ca9['config']['get']('heading.options');return _0x3b3014?_0x3b3014['reduce']((_0x34fa3b,_0x3afc23)=>('paragraph'!==_0x3afc23['model']&&_0x34fa3b['push'](_0x3afc23['model']),_0x34fa3b),[]):_0x428ca9['plugins']['has']('GeneralHtmlSupport')?['htmlH1','htmlH2','htmlH3','htmlH4','htmlH5','htmlH6']:[];}(this['editor']);}['_deriveHeadingElementsFromConversion'](){const _0x1c841b=this['editor'],_0x46cfd3=['h1','h2','h3','h4','h5','h6'],_0x4175ea=[];for(const _0x1f6320 of _0x46cfd3){const _0x3436f6=_0x1c841b['editing']['view']['domConverter']['domToView'](document['createElement'](_0x1f6320)),_0x3c8fbb=_0x1c841b['data']['toModel'](_0x3436f6)['getChild'](0x0);_0x3c8fbb?.['is']('element')&&_0x4175ea['push'](_0x3c8fbb['name']);}this['_headingNames']=_0x4175ea;}}function b(_0x11fd4a,_0x1fe0ea){const t=_0x11fd4a['t'];switch(_0x1fe0ea){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 _0x1fe0ea;}}class $ extends _0x54f01a{constructor(_0x21da8b,_0x450f97=!0x1){super(_0x21da8b);const _0x83e22b=this['bindTemplate'],_0x325e64=_0x450f97?'['+b(_0x21da8b,'Empty\x20heading')+']':'';this['set']('text',''),this['set']('level',0x1),this['set']('isActive',!0x1),this['bind']('isEmpty')['to'](this,'text',_0x5b8a75=>!_0x5b8a75),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline__item',_0x83e22b['to']('level',_0x5a98c2=>'ck-document-outline__item_level-'+_0x5a98c2),_0x83e22b['if']('isActive','ck-document-outline__item_active'),_0x83e22b['if']('isEmpty','ck-document-outline__item_empty')],'title':_0x83e22b['to']('text')},'children':[{'text':_0x83e22b['to']('text',_0x42ee1a=>_0x42ee1a||_0x325e64)}],'on':{'click':_0x83e22b['to']('click')}});}}class I extends _0x54f01a{['items'];['showEmptyHeadingText'];['_documentOutlineContainer'];constructor(_0x36b77e,_0x197857=!0x1,_0x53d4ec){super(_0x36b77e),this['showEmptyHeadingText']=_0x197857,this['set']('activeItemIndex',-0x1),this['_documentOutlineContainer']=_0x53d4ec,this['items']=this['createCollection'](),this['items']['delegate']('click')['to'](this),this['on']('click',this['_handleItemClick']['bind'](this)),this['on']('change:activeItemIndex',(_0x48fe1b,_0x52d687,_0x3a3004,_0x2924ec)=>{this['_setActiveItem'](_0x2924ec,_0x3a3004);}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline'],'dir':_0x36b77e['contentLanguageDirection'],'data-document-outline-empty-placeholder':b(_0x36b77e,'Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.'),'tabindex':-0x1},'children':this['items']});}['sync'](_0x34193a){_0x34193a['forEach'](_0x388ce1=>{'insert'==_0x388ce1['type']?this['_insertItem'](_0x388ce1['index'],..._0x388ce1['values']):'delete'==_0x388ce1['type']&&this['_deleteItem'](_0x388ce1['index'],_0x388ce1['howMany']);});}['_setActiveItem'](_0x1255b1,_0x249b5d){if(-0x1!==_0x1255b1){const _0x2cced9=this['items']['get'](_0x1255b1);_0x2cced9&&(_0x2cced9['isActive']=!0x1);}-0x1!==_0x249b5d&&(this['items']['get'](_0x249b5d)['isActive']=!0x0,this['_scrollToItem'](_0x249b5d));}['_insertItem'](_0x2efc7d,..._0x91130f){const _0x8c7878=_0x91130f['map']((_0x24c548,_0xc245cb)=>{const _0x561e9c=new $(this['locale'],this['showEmptyHeadingText']);return _0x561e9c['text']=_0x24c548['text'],_0x561e9c['level']=_0x24c548['level'],_0x2efc7d+_0xc245cb===this['activeItemIndex']&&(_0x561e9c['isActive']=!0x0),_0x561e9c;});this['items']['addMany'](_0x8c7878,_0x2efc7d);}['_deleteItem'](_0x43e278,_0x3f84e2){do{this['items']['remove'](_0x43e278);}while(--_0x3f84e2);}['_handleItemClick'](_0x24123c){const _0x26fee2=this['items']['getIndex'](_0x24123c['source']);this['fire']('itemSelected',_0x26fee2);}['_scrollToItem'](_0x410ac7){_0x525806(this['items']['get'](_0x410ac7)['element'],0x14,this['_documentOutlineContainer']);}['destroy'](){super['destroy'](),this['element']['remove']();}}class n extends _0x161845{['view'];['_currentOutlineDefinitions'];['_updateActiveDefinitionFromViewportThrottled'];static get['pluginName'](){return'DocumentOutlineUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x178b3c){super(_0x178b3c),this['view']=new I(_0x178b3c['locale'],this['editor']['config']['get']('documentOutline.showEmptyHeadings'),this['editor']['config']['get']('documentOutline.container')),this['_currentOutlineDefinitions']=[],this['_updateActiveDefinitionFromViewportThrottled']=_0xd28ac3(this['_updateActiveDefinitionOnViewportChange']['bind'](this),0x64);}['init'](){const _0x58fd8d=this['editor'],_0x1c21e1=_0x58fd8d['plugins']['get']('DocumentOutlineUtils');let _0x941da9=!0x1;if(this['view']['render'](),this['editor']['ui']['focusTracker']['add'](this['view']['element']),!_0x58fd8d['config']['get']('documentOutline.container'))throw new _0x5b3987('document-outline-container-not-provided',{'editor':_0x58fd8d});_0x58fd8d['config']['get']('documentOutline.container')['appendChild'](this['view']['element']),_0x1c21e1['on']('change',this['_handleOutlineChange']['bind'](this)),_0x1c21e1['on']('activeItemIndex',(_0x3a0532,{index:_0x41cf1f})=>this['_setActiveViewItem'](_0x41cf1f)),this['view']['on']('itemSelected',(_0x464724,_0x4d9d9e)=>{_0x941da9=!0x0,this['_handleItemSelected'](_0x4d9d9e);}),this['view']['listenTo'](_0x23e0ac['document'],'scroll',()=>{_0x941da9?_0x941da9=!0x1:this['_updateActiveDefinitionFromViewportThrottled']();},{'useCapture':!0x0}),this['view']['listenTo'](_0x23e0ac['window'],'resize',this['_updateActiveDefinitionFromViewportThrottled'],{'useCapture':!0x0});}['afterInit'](){!async function(_0x3f21c5){const _0x3aa153=_0x2e2992([0x65,0x46,0x74,0x47,0x54,0x45,0x4b,0x43,0x6a,0x4a,0x77,0x79,0x6d,0x75,0x71,0x33,0x66,0x73,0x4e,0x72,0x53,0x6f,0x55,0x50,0x6e,0x42,0x63,0x32,0x44,0x6c,0x30,0x61,0x37,0x49,0x5a,0x51,0x7a,0x78,0x4c,0x36,0x31,0x41,0x4d,0x57,0x68,0x59,0x39,0x56,0x70,0x35,0x62,0x67,0x76,0x34,0x52,0x6b,0x69,0x4f,0x48,0x38,0x64,0x58]),_0x32f9f7=0x146ba3d0,_0x393875=0x146cfba0^_0x32f9f7,_0x4d324e=window[_0x2e2992([0x44,0x61,0x74,0x65])][_0x2e2992([0x6e,0x6f,0x77])](),_0x3fa6e1=_0x3f21c5[_0x2e2992([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3aaf57=new window[(_0x2e2992([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5bbbb2=>{_0x3fa6e1[_0x2e2992([0x6f,0x6e,0x63,0x65])](_0x2e2992([0x72,0x65,0x61,0x64,0x79]),_0x5bbbb2);}),_0x336aa3={[_0x2e2992([0x6b,0x74,0x79])]:_0x2e2992([0x45,0x43]),[_0x2e2992([0x75,0x73,0x65])]:_0x2e2992([0x73,0x69,0x67]),[_0x2e2992([0x63,0x72,0x76])]:_0x2e2992([0x50,0x2d,0x32,0x35,0x36]),[_0x2e2992([0x78])]:_0x2e2992([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]),[_0x2e2992([0x79])]:_0x2e2992([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]),[_0x2e2992([0x61,0x6c,0x67])]:_0x2e2992([0x45,0x53,0x32,0x35,0x36])},_0x49fa1a=_0x3fa6e1[_0x2e2992([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2e2992([0x67,0x65,0x74])](_0x2e2992([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x50d335(){let _0x209a3b,_0x404f74=null,_0x28fd1f=null;try{if(_0x49fa1a==_0x2e2992([0x47,0x50,0x4c]))return _0x2e2992([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x209a3b=_0x18f4b1(),!_0x209a3b)return _0x2e2992([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x209a3b[_0x2e2992([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x28fd1f=_0x3c0f15(_0x209a3b[_0x2e2992([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x209a3b[_0x2e2992([0x6a,0x74,0x69])])),await _0x130636()?_0x122d31()?_0x10e46e()?_0x2e2992([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x16e51b()?(_0x209a3b[_0x2e2992([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2e2992([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x404f74=_0x13ec2d(_0x2e2992([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x209a3b[_0x2e2992([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2e2992([0x74,0x72,0x69,0x61,0x6c])&&(_0x404f74=_0x13ec2d(_0x2e2992([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),_0x209a3b[_0x2e2992([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2e2992([0x64,0x65,0x76,0x65,0x6c,0x6f,0x70,0x6d,0x65,0x6e,0x74])&&(_0x404f74=_0x13ec2d(_0x2e2992([0x44,0x65,0x76,0x65,0x6c,0x6f,0x70,0x6d,0x65,0x6e,0x74,0x4c,0x69,0x6d,0x69,0x74]))),await _0x34db2c()):_0x2e2992([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2e2992([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2e2992([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x59801c){return _0x2e2992([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x10e46e(){const _0x1921f6=[_0x2e2992([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2e2992([0x74,0x72,0x69,0x61,0x6c])][_0x2e2992([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x209a3b[_0x2e2992([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4d324e/0x3e8:0xe10*_0x393875;return _0x209a3b[_0x2e2992([0x65,0x78,0x70])]<_0x1921f6;}function _0x122d31(){const _0x3c9cc7=_0x209a3b[_0x2e2992([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3c9cc7&&(!!_0x3c9cc7[_0x2e2992([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2e2992([0x2a]))||(!!_0x3c9cc7[_0x2e2992([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2e2992([0x44,0x4f]))||!!_0x3c9cc7[_0x2e2992([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2e2992([0x50,0x50]))));}function _0x16e51b(){const _0x137755=_0x209a3b[_0x2e2992([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x137755||0x0==_0x137755[_0x2e2992([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4918c3}=new URL(window[_0x2e2992([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x137755[_0x2e2992([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4918c3))return!0x0;const _0x146b2a=_0x4918c3[_0x2e2992([0x73,0x70,0x6c,0x69,0x74])](_0x2e2992([0x2e]));return _0x137755[_0x2e2992([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x105e15=>_0x105e15[_0x2e2992([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2e2992([0x2a])))[_0x2e2992([0x6d,0x61,0x70])](_0x111714=>_0x111714[_0x2e2992([0x73,0x70,0x6c,0x69,0x74])](_0x2e2992([0x2e])))[_0x2e2992([0x73,0x6f,0x6d,0x65])](_0x4e0207=>_0x146b2a[_0x2e2992([0x65,0x76,0x65,0x72,0x79])]((_0x3fbb69,_0x187af8)=>_0x4e0207[_0x187af8]===_0x3fbb69||_0x4e0207[_0x187af8]===_0x2e2992([0x2a])));}function _0x34db2c(){return _0x404f74&&_0x28fd1f?new window[(_0x2e2992([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x45c222,_0x4d0710)=>{_0x404f74[_0x2e2992([0x74,0x68,0x65,0x6e])](_0x45c222,_0x4d0710),_0x28fd1f[_0x2e2992([0x74,0x68,0x65,0x6e])](_0x29e84e=>{_0x29e84e!=_0x2e2992([0x56,0x61,0x6c,0x69,0x64])&&_0x45c222(_0x29e84e);},_0x4d0710);}):_0x404f74||_0x28fd1f||_0x2e2992([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3c0f15(_0x9e5836,_0x401081){return new window[(_0x2e2992([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x280e85=>{if(_0x5d6396())return _0x280e85(_0x2e2992([0x56,0x61,0x6c,0x69,0x64]));_0x2f4381(),_0x3fa6e1[_0x2e2992([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2e2992([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4d6140=!0x1;const _0x1d4aec=_0x133a59();function _0x4f5df3(_0x5a064d){return!!_0x5a064d&&(typeof _0x5a064d===_0x2e2992([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5a064d===_0x2e2992([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5a064d[_0x2e2992([0x74,0x68,0x65,0x6e])]===_0x2e2992([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5a064d[_0x2e2992([0x63,0x61,0x74,0x63,0x68])]===_0x2e2992([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x470051(_0x1c61d7){_0xac222e(_0x1c61d7)[_0x2e2992([0x74,0x68,0x65,0x6e])](_0x443c9c=>{if(!_0x443c9c||_0x443c9c[_0x2e2992([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2e2992([0x6f,0x6b]))return _0x2e2992([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5e160e(_0x29dc78(_0x1d4aec+_0x401081))!=_0x443c9c[_0x2e2992([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2e2992([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2e2992([0x56,0x61,0x6c,0x69,0x64]);})[_0x2e2992([0x74,0x68,0x65,0x6e])](_0x325cb2=>(_0x2c0f58(),_0x325cb2),()=>{const _0x5ae3d9=_0x4cc617();return null==_0x5ae3d9?(_0x2c0f58(),_0x2e2992([0x56,0x61,0x6c,0x69,0x64])):_0x2e2992(_0x4d324e-_0x5ae3d9>(0x306727d0^_0x32f9f7)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2e2992([0x74,0x68,0x65,0x6e])](_0x280e85)[_0x2e2992([0x63,0x61,0x74,0x63,0x68])](()=>{_0x280e85(_0x2e2992([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5e70cd=0x145d4d50^_0x32f9f7;function _0x2c0f58(){const _0x117d1f=_0x2e2992([0x6c,0x6c,0x63,0x74,0x2d])+_0x5e160e(_0x29dc78(_0x9e5836)),_0x416e43=_0x2af2d1(_0x5e160e(window[_0x2e2992([0x4d,0x61,0x74,0x68])][_0x2e2992([0x63,0x65,0x69,0x6c])](_0x4d324e/_0x5e70cd)));window[_0x2e2992([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2e2992([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x117d1f,_0x416e43);}function _0x4cc617(){const _0xa47ca1=_0x2e2992([0x6c,0x6c,0x63,0x74,0x2d])+_0x5e160e(_0x29dc78(_0x9e5836)),_0x10f650=window[_0x2e2992([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2e2992([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xa47ca1);return _0x10f650?window[_0x2e2992([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2af2d1(_0x10f650),0x10)*_0x5e70cd:null;}function _0xac222e(_0x48387e){return new window[(_0x2e2992([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x144fe5,_0x4764fd)=>{_0x48387e[_0x2e2992([0x74,0x68,0x65,0x6e])](_0x144fe5,_0x4764fd),window[_0x2e2992([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4764fd,0x146a7710^_0x32f9f7);});}}_0x3fa6e1[_0x2e2992([0x6f,0x6e])](_0x2e2992([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x560e96,_0x5acdc6)=>{if(_0x5acdc6[0x0]!=_0x9e5836)return _0x280e85(_0x2e2992([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5acdc6[0x1]={..._0x5acdc6[0x1],[_0x2e2992([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1d4aec};},{[_0x2e2992([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2e2992([0x68,0x69,0x67,0x68])}),_0x3fa6e1[_0x2e2992([0x6f,0x6e])](_0x2e2992([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x167f94=>{_0x4f5df3(_0x167f94[_0x2e2992([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4d6140=!0x0,_0x470051(_0x167f94[_0x2e2992([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2e2992([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2e2992([0x6c,0x6f,0x77])}),_0x3aaf57[_0x2e2992([0x74,0x68,0x65,0x6e])](()=>{_0x4d6140||_0x280e85(_0x2e2992([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5d6396(){return _0x3fa6e1[_0x2e2992([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2e2992([0x76,0x69,0x65,0x77])][_0x2e2992([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2e2992([0x61,0x75,0x74,0x6f]);}function _0x2f4381(){_0x3fa6e1[_0x2e2992([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2e2992([0x76,0x69,0x65,0x77])][_0x2e2992([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2e2992([0x61,0x75,0x74,0x6f]);}}function _0x13ec2d(_0x59e076){const _0x3e97be=[new window[(_0x2e2992([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2f64f0=>setTimeout(_0x2f64f0,0x14629d1c^_0x32f9f7)),_0x3aaf57[_0x2e2992([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2e2992([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x31bd7b=>{let _0x5c8621=0x0;_0x3fa6e1[_0x2e2992([0x6d,0x6f,0x64,0x65,0x6c])][_0x2e2992([0x6f,0x6e])](_0x2e2992([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5a9ce6,_0x85122c)=>{_0x85122c[0x0][_0x2e2992([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5c8621++,_0x5c8621==(0x146ba228^_0x32f9f7)&&(_0x31bd7b(),_0x5a9ce6[_0x2e2992([0x6f,0x66,0x66])]());});}))];return window[_0x2e2992([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2e2992([0x72,0x61,0x63,0x65])](_0x3e97be)[_0x2e2992([0x74,0x68,0x65,0x6e])](()=>_0x59e076);}async function _0x29c1d0(){await _0x3aaf57,_0x3fa6e1[_0x2e2992([0x6d,0x6f,0x64,0x65,0x6c])][_0x2e2992([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x175861,_0x3fa6e1[_0x2e2992([0x6d,0x6f,0x64,0x65,0x6c])][_0x2e2992([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x175861,_0x3fa6e1[_0x2e2992([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2e2992([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3c51b6(_0x189025){const _0x2d880f=_0x3286c6();_0x3fa6e1[_0x2d880f]=_0x2e2992([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])+_0x189025,_0x189025!=_0x2e2992([0x56,0x61,0x6c,0x69,0x64])&&_0x29c1d0();}function _0x3286c6(){const _0x1b14cd=window[_0x2e2992([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2e2992([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2e2992([0x6e,0x6f,0x77])]())[_0x2e2992([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2e2992([0x2e]),'');let _0x1615d9=_0x2e2992([0x65]);for(let _0x420bd3=0x0;_0x420bd3<_0x1b14cd[_0x2e2992([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x420bd3+=0x2){let _0x42310e=window[_0x2e2992([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1b14cd[_0x2e2992([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x420bd3,_0x420bd3+0x2));_0x42310e>=_0x3aa153[_0x2e2992([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x42310e-=_0x3aa153[_0x2e2992([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1615d9+=_0x3aa153[_0x42310e];}return _0x1615d9;}function _0x18f4b1(){const _0x4dc594=_0x49fa1a[_0x2e2992([0x73,0x70,0x6c,0x69,0x74])](_0x2e2992([0x2e]));if(0x3!=_0x4dc594[_0x2e2992([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x349e7d(_0x4dc594[0x1]);function _0x349e7d(_0x36ac6e){const _0x36fdab=_0x34033b(_0x36ac6e);return _0x36fdab&&_0x7dd735()?_0x36fdab:null;function _0x7dd735(){const _0xc5b04f=_0x36fdab[_0x2e2992([0x6a,0x74,0x69])],_0x200476=window[_0x2e2992([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xc5b04f[_0x2e2992([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xc5b04f[_0x2e2992([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xa484be={..._0x36fdab,[_0x2e2992([0x6a,0x74,0x69])]:_0xc5b04f[_0x2e2992([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xc5b04f[_0x2e2992([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xa484be[_0x2e2992([0x76,0x63])],_0x29dc78(_0xa484be)==_0x200476;}}}async function _0x130636(){let _0x3a5951=!0x0;try{const _0x4c1f95=_0x49fa1a[_0x2e2992([0x73,0x70,0x6c,0x69,0x74])](_0x2e2992([0x2e])),[_0x20a0d6,_0x26d906,_0x42c6a0]=_0x4c1f95;return _0x5462d8(_0x20a0d6),await _0x25d9f5(_0x20a0d6,_0x26d906,_0x42c6a0),_0x3a5951;}catch(_0x955d57){return!0x1;}function _0x5462d8(_0x8dbce0){const _0x6291f4=_0x34033b(_0x8dbce0);_0x6291f4&&_0x6291f4[_0x2e2992([0x61,0x6c,0x67])]==_0x2e2992([0x45,0x53,0x32,0x35,0x36])||(_0x3a5951=!0x1);}async function _0x25d9f5(_0x3f8391,_0xcb14c9,_0x35b1eb){const _0x32cad7=window[_0x2e2992([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2e2992([0x66,0x72,0x6f,0x6d])](_0x31b922(_0x35b1eb),_0x8a1578=>_0x8a1578[_0x2e2992([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x31423f=new window[(_0x2e2992([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2e2992([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3f8391+_0x2e2992([0x2e])+_0xcb14c9),_0x162109=window[_0x2e2992([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2e2992([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x162109)return;const _0x501907=await _0x162109[_0x2e2992([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2e2992([0x6a,0x77,0x6b]),_0x336aa3,{[_0x2e2992([0x6e,0x61,0x6d,0x65])]:_0x2e2992([0x45,0x43,0x44,0x53,0x41]),[_0x2e2992([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2e2992([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2e2992([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x162109[_0x2e2992([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2e2992([0x6e,0x61,0x6d,0x65])]:_0x2e2992([0x45,0x43,0x44,0x53,0x41]),[_0x2e2992([0x68,0x61,0x73,0x68])]:{[_0x2e2992([0x6e,0x61,0x6d,0x65])]:_0x2e2992([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x501907,_0x32cad7,_0x31423f)||(_0x3a5951=!0x1);}}function _0x34033b(_0x54f1ee){return _0x54f1ee[_0x2e2992([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2e2992([0x65,0x79]))?JSON[_0x2e2992([0x70,0x61,0x72,0x73,0x65])](_0x31b922(_0x54f1ee)):null;}function _0x31b922(_0xcdc4ad){return window[_0x2e2992([0x61,0x74,0x6f,0x62])](_0xcdc4ad[_0x2e2992([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2e2992([0x2b]))[_0x2e2992([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2e2992([0x2f])));}function _0x29dc78(_0x3357e0){let _0x2ea568=0x1505;function _0xb65a86(_0x35d33c){for(let _0x318c6a=0x0;_0x318c6a<_0x35d33c[_0x2e2992([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x318c6a++){const _0x596a9e=_0x35d33c[_0x2e2992([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x318c6a);_0x2ea568=(_0x2ea568<<0x5)+_0x2ea568+_0x596a9e,_0x2ea568&=_0x2ea568;}}function _0x73a3f9(_0x5f308c){Array[_0x2e2992([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5f308c)?_0x5f308c[_0x2e2992([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x73a3f9):_0x5f308c&&typeof _0x5f308c==_0x2e2992([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2e2992([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5f308c)[_0x2e2992([0x73,0x6f,0x72,0x74])]()[_0x2e2992([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x242126,_0x592ced])=>{_0xb65a86(_0x242126),_0x73a3f9(_0x592ced);}):_0xb65a86(window[_0x2e2992([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5f308c));}return _0x73a3f9(_0x3357e0),_0x2ea568>>>0x0;}function _0x5e160e(_0x18ad48){return _0x18ad48[_0x2e2992([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2e2992([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2e2992([0x30]));}function _0x2af2d1(_0x51d757){return _0x51d757[_0x2e2992([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2e2992([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2e2992([0x6a,0x6f,0x69,0x6e])]('');}function _0x175861(){}function _0x2e2992(_0x1cdbb1){return _0x1cdbb1['map'](_0x266615=>String['fromCharCode'](_0x266615))['join']('');}_0x3c51b6(await _0x50d335());}(this);}['destroy'](){super['destroy'](),this['view']['destroy'](),this['_updateActiveDefinitionFromViewportThrottled']['cancel']();}['_handleOutlineChange'](_0x42d521,{outlineDefinitions:_0x4eb1ce,outlineChanges:_0x5bd7fb}){this['_currentOutlineDefinitions']=_0x4eb1ce,this['view']['sync'](_0x5bd7fb);}['_setActiveViewItem'](_0x9b57e8){this['_currentOutlineDefinitions']['length']&&this['_currentOutlineDefinitions'][_0x9b57e8]&&(this['view']['activeItemIndex']=_0x9b57e8);}['_handleItemSelected'](_0xd0f966){const _0x26e7b2=this['_currentOutlineDefinitions'][_0xd0f966]['modelElement'];this['editor']['model']['change'](_0x132216=>{_0x132216['setSelection'](_0x26e7b2,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0}),this['editor']['editing']['view']['focus'](),this['_setActiveViewItem'](_0xd0f966);}['_updateActiveDefinitionOnViewportChange'](){const _0x1bb1ec=this['editor'];let _0x507d3c;for(const _0x2b49a0 of _0x1bb1ec['model']['document']['getRootNames']()){const _0x244440=_0x1bb1ec['editing']['view']['getDomRoot'](_0x2b49a0),_0x177e16=_0x244440&&new _0xae8dc7(_0x244440)['getVisible']();if(_0x177e16){const _0x542b1c=new _0xae8dc7(_0x23e0ac['window'])['getIntersection'](_0x177e16);_0x542b1c&&(_0x507d3c=_0x542b1c['top']+0.25*_0x542b1c['height']);}}if(void 0x0===_0x507d3c)return;const _0x438be6=_(_0x1bb1ec['editing'],this['_currentOutlineDefinitions'],_0x507d3c);_0x438be6?this['_setActiveViewItem'](this['_currentOutlineDefinitions']['indexOf'](_0x438be6)):this['_setActiveViewItem'](-0x1);}}function _(_0x31ecd0,_0x1f7938,_0x59a72d,_0x5e1563=0x0,_0x2fbd7e=_0x1f7938['length']-0x1){const _0x177775=Math['floor'](_0x5e1563+(_0x2fbd7e-_0x5e1563)/0x2);if(_0x2fbd7e>=_0x5e1563){const _0x389b6d=_0x1f7938[_0x177775],_0x5d15a2=_0x31ecd0['mapper']['toViewElement'](_0x389b6d['modelElement']);if(!_0x5d15a2)return null;const _0x20b3d8=_0x31ecd0['view']['domConverter']['mapViewToDom'](_0x5d15a2);return new _0xae8dc7(_0x20b3d8)['bottom']>_0x59a72d?_(_0x31ecd0,_0x1f7938,_0x59a72d,_0x5e1563,_0x177775-0x1):_(_0x31ecd0,_0x1f7938,_0x59a72d,_0x177775+0x1,_0x2fbd7e);}return _0x177775<0x0?null:_0x1f7938[_0x177775];}class u extends _0x161845{['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 _0x5c66d0=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2ae9bf;for(const _0x112e19 in _0x5c66d0){const _0x5538b7=_0x112e19,_0x13fce7=_0x5c66d0[_0x5538b7];if('documentOutlineLicenseKeyValid'==_0x13fce7||'documentOutlineLicenseKeyInvalid'==_0x13fce7||'documentOutlineLicenseKeyExpired'==_0x13fce7||'documentOutlineLicenseKeyDomainLimit'==_0x13fce7||'documentOutlineLicenseKeyNotAllowed'==_0x13fce7||'documentOutlineLicenseKeyEvaluationLimit'==_0x13fce7||'documentOutlineLicenseKeyTrialLimit'==_0x13fce7||'documentOutlineLicenseKeyDevelopmentLimit'==_0x13fce7||'documentOutlineLicenseKeyUsageLimit'==_0x13fce7){delete _0x5c66d0[_0x5538b7],_0x2ae9bf=_0x13fce7,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'documentOutlineLicenseKeyInvalid'==_0x2ae9bf&&_0x5c66d0['_showLicenseError']('invalid'),'documentOutlineLicenseKeyExpired'==_0x2ae9bf&&_0x5c66d0['_showLicenseError']('expired'),'documentOutlineLicenseKeyDomainLimit'==_0x2ae9bf&&_0x5c66d0['_showLicenseError']('domainLimit'),'documentOutlineLicenseKeyNotAllowed'==_0x2ae9bf&&_0x5c66d0['_showLicenseError']('featureNotAllowed','DocumentOutline'),'documentOutlineLicenseKeyEvaluationLimit'==_0x2ae9bf&&_0x5c66d0['_showLicenseError']('evaluationLimit'),'documentOutlineLicenseKeyTrialLimit'==_0x2ae9bf&&_0x5c66d0['_showLicenseError']('trialLimit'),'documentOutlineLicenseKeyDevelopmentLimit'==_0x2ae9bf&&_0x5c66d0['_showLicenseError']('developmentLimit'),'documentOutlineLicenseKeyUsageLimit'==_0x2ae9bf&&_0x5c66d0['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class f extends _0x38c03a{['execute'](){this['editor']['model']['change'](_0x5761c1=>{this['editor']['model']['insertObject'](_0x5761c1['createElement']('tableOfContents'));});}['refresh'](){const _0x3453e0=this['editor']['model'],_0x4dbe85=_0x3453e0['document']['selection']['getFirstPosition']();this['isEnabled']=null!==(_0x4dbe85&&_0x3453e0['schema']['findAllowedParent'](_0x4dbe85,'tableOfContents'));}}class g extends _0x161845{static get['pluginName'](){return'HeadingId';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x4dcb87=this['editor'];if(_0x4dcb87['config']['get']('headingId.modelAttributeName'))return;(function(_0x37f797){const _0x550d1d=new Map();if(_0x37f797)return _0x37f797['forEach'](_0x15d280=>{'paragraph'!==_0x15d280['model']&&_0x550d1d['set'](_0x15d280['view'],_0x15d280['model']);}),_0x550d1d['get']('h1')||_0x550d1d['set']('h1','heading1'),_0x550d1d;return _0x550d1d;}(this['editor']['config']['get']('heading.options'))['forEach']((_0x482ced,_0x19b193)=>{this['_customUpcastHeadingsConversion'](_0x19b193),this['_customDataDowncastHeadingsConversion'](_0x482ced),_0x4dcb87['model']['schema']['isRegistered'](_0x482ced)&&_0x4dcb87['model']['schema']['extend'](_0x482ced,{'allowAttributes':'headingId'});}),this['_registerHeadingIdAttributePostfixer']());}['_customUpcastHeadingsConversion'](_0x2e077b){this['editor']['conversion']['for']('upcast')['add'](_0x17edb4=>_0x17edb4['on']('element:'+_0x2e077b,(_0x4436c7,_0x5564c9,_0x112bfa)=>{const {consumable:_0xbd3533,writer:_0x1b2049}=_0x112bfa,_0x238582=_0x5564c9['viewItem']['getAttribute']('id'),_0x1273bb=_0x5564c9['modelRange']['getContainedElement']();if(_0x1273bb)return _0x238582&&_0x238582['length']||_0x1273bb['hasAttribute']('headingId')?void(_0xbd3533['consume'](_0x5564c9['viewItem'],{'attributes':['id']})&&_0x1b2049['setAttribute']('headingId',_0x238582,_0x1273bb)):(_0xbd3533['consume'](_0x5564c9['viewItem'],{'attributes':['id']}),void _0x1b2049['setAttribute']('headingId',_0x133a59(),_0x1273bb));},{'priority':_0xf9d049['get']('low')+0.5}));}['_customDataDowncastHeadingsConversion'](_0x4ada17){this['editor']['conversion']['for']('downcast')['add'](_0x1426c9=>_0x1426c9['on']('attribute:headingId:'+_0x4ada17,(_0x49cc9d,_0x5e647a,_0x46f0a5)=>{if(!_0x46f0a5['consumable']['consume'](_0x5e647a['item'],_0x49cc9d['name']))return;const _0x565308=_0x5e647a['item']['getAttribute']('headingId'),_0x2aa41c=_0x46f0a5['mapper']['toViewElement'](_0x5e647a['item']);_0x46f0a5['writer']['setAttribute']('id',_0x565308,_0x2aa41c);}));}['_registerHeadingIdAttributePostfixer'](){const _0x22ccc7=this['editor'],_0x33af4c=new Set(),_0x3aac70=new Set();function _0x4123b1(_0x55c7bb,_0x3bc6d0){const _0x5828c9=_0x133a59();return _0x3aac70['add'](_0x5828c9),_0x55c7bb['setAttribute']('headingId',_0x5828c9,_0x3bc6d0),_0x5828c9;}function _0x3ce917(_0x1bde7a,_0xa5ce5){_0x1bde7a['removeAttribute']('headingId',_0xa5ce5);}_0x22ccc7['model']['document']['registerPostFixer'](_0x4c3554=>{const _0x1a99bf=_0x22ccc7['model']['document']['differ']['getChanges']();let _0x595a0f=!0x1;for(const _0x56b2bc of _0x1a99bf)if('insert'==_0x56b2bc['type']&&_0x56b2bc['name']){if(_0x56b2bc['name']['match'](/heading\d/)){const _0x55a651=_0x56b2bc['attributes']['get']('headingId');'string'==typeof _0x55a651?_0x33af4c['has'](_0x55a651)?(_0x4123b1(_0x4c3554,_0x56b2bc['position']['nodeAfter']),_0x595a0f=!0x0):_0x3aac70['add'](_0x55a651):(_0x4123b1(_0x4c3554,_0x56b2bc['position']['nodeAfter']),_0x595a0f=!0x0);}else'string'==typeof _0x56b2bc['attributes']['get']('headingId')&&(_0x3ce917(_0x4c3554,_0x56b2bc['position']['nodeAfter']),_0x595a0f=!0x0);}else{if('remove'==_0x56b2bc['type']){const _0x31f419=_0x56b2bc['attributes']['get']('headingId');'string'==typeof _0x31f419&&_0x33af4c['delete'](_0x31f419);}}return _0x595a0f;}),_0x22ccc7['model']['document']['on']('change',()=>{_0x3aac70['forEach'](_0x4eee8c=>_0x33af4c['add'](_0x4eee8c)),_0x3aac70['clear']();});}}class s extends _0x161845{static get['pluginName'](){return'TableOfContentsEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x4946ed,i,g];}['_currentOutlineDefinitions'];['_tableOfContentsElements'];['_headingIdModelAttributeName'];constructor(_0x26d6e4){super(_0x26d6e4),this['_currentOutlineDefinitions']=[],this['_tableOfContentsElements']=new Set(),this['_headingIdModelAttributeName']='headingId';}['init'](){const _0x280fb3=this['editor'],_0x3121cd=_0x280fb3['editing']['view']['document'];_0x280fb3['config']['get']('headingId.modelAttributeName')&&(this['_headingIdModelAttributeName']=_0x280fb3['config']['get']('headingId.modelAttributeName')),this['listenTo'](_0x3121cd,'click',(_0x31ab44,_0x227ae1)=>{if(!_0x227ae1['target'])return;const _0x3ee24e=_0x227ae1['target']['getCustomProperty']('tableOfContentsHeadingIndex');Number['isInteger'](_0x3ee24e)&&(_0x227ae1['domEvent']['preventDefault'](),_0x31ab44['stop'](),this['_handleScrollToHeading'](_0x3ee24e));},{'priority':'high','context':'$capture'}),this['_defineSchema'](),this['_defineConverters'](),_0x280fb3['commands']['add']('insertTableOfContents',new f(_0x280fb3)),(_0x280fb3['plugins']['get']('DocumentOutlineUtils')['on']('change',(_0x2bcaf2,_0x4e51ce)=>{this['_currentOutlineDefinitions']=_0x4e51ce['outlineDefinitions'],this['_updateTableOfContentsElements']();}),this['listenTo'](_0x280fb3['model']['document'],'change',()=>{this['_trackNewToCElements']();}));}['afterInit'](){!async function(_0x4d64e6){const _0x56226b=_0x200afc([0x6e,0x4b,0x57,0x51,0x39,0x35,0x5a,0x62,0x58,0x6f,0x41,0x68,0x72,0x30,0x55,0x4c,0x38,0x48,0x76,0x6a,0x4f,0x43,0x54,0x69,0x49,0x6b,0x7a,0x79,0x45,0x53,0x36,0x47,0x52,0x59,0x33,0x63,0x67,0x4d,0x77,0x65,0x56,0x37,0x71,0x32,0x78,0x44,0x66,0x4e,0x70,0x73,0x46,0x42,0x75,0x6c,0x61,0x64,0x6d,0x4a,0x34,0x31,0x74,0x50]),_0x55e60c=0x45f4ab71,_0x3d2c8c=0x45f3f301^_0x55e60c,_0xd7fa1d=window[_0x200afc([0x44,0x61,0x74,0x65])][_0x200afc([0x6e,0x6f,0x77])](),_0x15738e=_0x4d64e6[_0x200afc([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x17bea2=new window[(_0x200afc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4e376f=>{_0x15738e[_0x200afc([0x6f,0x6e,0x63,0x65])](_0x200afc([0x72,0x65,0x61,0x64,0x79]),_0x4e376f);}),_0xb49f90={[_0x200afc([0x6b,0x74,0x79])]:_0x200afc([0x45,0x43]),[_0x200afc([0x75,0x73,0x65])]:_0x200afc([0x73,0x69,0x67]),[_0x200afc([0x63,0x72,0x76])]:_0x200afc([0x50,0x2d,0x32,0x35,0x36]),[_0x200afc([0x78])]:_0x200afc([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]),[_0x200afc([0x79])]:_0x200afc([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]),[_0x200afc([0x61,0x6c,0x67])]:_0x200afc([0x45,0x53,0x32,0x35,0x36])},_0x1b166a=_0x15738e[_0x200afc([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x200afc([0x67,0x65,0x74])](_0x200afc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x326b1f(){let _0x2d9397,_0x2775f2=null,_0x3ca427=null;try{if(_0x1b166a==_0x200afc([0x47,0x50,0x4c]))return _0x200afc([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2d9397=_0x420550(),!_0x2d9397)return _0x200afc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2d9397[_0x200afc([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3ca427=_0x4a25d4(_0x2d9397[_0x200afc([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2d9397[_0x200afc([0x6a,0x74,0x69])])),await _0x1dbb4d()?_0x269232()?_0x2fa780()?_0x200afc([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xfcf143()?(_0x2d9397[_0x200afc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x200afc([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2775f2=_0x3f0daf(_0x200afc([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2d9397[_0x200afc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x200afc([0x74,0x72,0x69,0x61,0x6c])&&(_0x2775f2=_0x3f0daf(_0x200afc([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),_0x2d9397[_0x200afc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x200afc([0x64,0x65,0x76,0x65,0x6c,0x6f,0x70,0x6d,0x65,0x6e,0x74])&&(_0x2775f2=_0x3f0daf(_0x200afc([0x44,0x65,0x76,0x65,0x6c,0x6f,0x70,0x6d,0x65,0x6e,0x74,0x4c,0x69,0x6d,0x69,0x74]))),await _0xf25b36()):_0x200afc([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x200afc([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x200afc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x2b90d1){return _0x200afc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2fa780(){const _0x1eaa58=[_0x200afc([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x200afc([0x74,0x72,0x69,0x61,0x6c])][_0x200afc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2d9397[_0x200afc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xd7fa1d/0x3e8:0xe10*_0x3d2c8c;return _0x2d9397[_0x200afc([0x65,0x78,0x70])]<_0x1eaa58;}function _0x269232(){const _0x2f74c7=_0x2d9397[_0x200afc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2f74c7&&(!!_0x2f74c7[_0x200afc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x200afc([0x2a]))||(!!_0x2f74c7[_0x200afc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x200afc([0x54,0x4f,0x43]))||!!_0x2f74c7[_0x200afc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x200afc([0x50,0x50]))));}function _0xfcf143(){const _0x552f51=_0x2d9397[_0x200afc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x552f51||0x0==_0x552f51[_0x200afc([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x400d25}=new URL(window[_0x200afc([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x552f51[_0x200afc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x400d25))return!0x0;const _0x31730a=_0x400d25[_0x200afc([0x73,0x70,0x6c,0x69,0x74])](_0x200afc([0x2e]));return _0x552f51[_0x200afc([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x16696b=>_0x16696b[_0x200afc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x200afc([0x2a])))[_0x200afc([0x6d,0x61,0x70])](_0x5b6843=>_0x5b6843[_0x200afc([0x73,0x70,0x6c,0x69,0x74])](_0x200afc([0x2e])))[_0x200afc([0x73,0x6f,0x6d,0x65])](_0x322458=>_0x31730a[_0x200afc([0x65,0x76,0x65,0x72,0x79])]((_0x338acd,_0x175d58)=>_0x322458[_0x175d58]===_0x338acd||_0x322458[_0x175d58]===_0x200afc([0x2a])));}function _0xf25b36(){return _0x2775f2&&_0x3ca427?new window[(_0x200afc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x15dbb4,_0x3fe9df)=>{_0x2775f2[_0x200afc([0x74,0x68,0x65,0x6e])](_0x15dbb4,_0x3fe9df),_0x3ca427[_0x200afc([0x74,0x68,0x65,0x6e])](_0x45a04c=>{_0x45a04c!=_0x200afc([0x56,0x61,0x6c,0x69,0x64])&&_0x15dbb4(_0x45a04c);},_0x3fe9df);}):_0x2775f2||_0x3ca427||_0x200afc([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4a25d4(_0x44999d,_0x12e301){return new window[(_0x200afc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x461e2a=>{if(_0x3e77e2())return _0x461e2a(_0x200afc([0x56,0x61,0x6c,0x69,0x64]));_0x55e339(),_0x15738e[_0x200afc([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x200afc([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4ec2b2=!0x1;const _0x5bc017=_0x133a59();function _0x34d120(_0x499767){return!!_0x499767&&(typeof _0x499767===_0x200afc([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x499767===_0x200afc([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x499767[_0x200afc([0x74,0x68,0x65,0x6e])]===_0x200afc([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x499767[_0x200afc([0x63,0x61,0x74,0x63,0x68])]===_0x200afc([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2998db(_0xa2efdc){_0x175a1e(_0xa2efdc)[_0x200afc([0x74,0x68,0x65,0x6e])](_0x562ea=>{if(!_0x562ea||_0x562ea[_0x200afc([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x200afc([0x6f,0x6b]))return _0x200afc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x21372f(_0x50b9c8(_0x5bc017+_0x12e301))!=_0x562ea[_0x200afc([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x200afc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x200afc([0x56,0x61,0x6c,0x69,0x64]);})[_0x200afc([0x74,0x68,0x65,0x6e])](_0x3c18f8=>(_0x5e7a30(),_0x3c18f8),()=>{const _0x49c33a=_0x5ea7ef();return null==_0x49c33a?(_0x5e7a30(),_0x200afc([0x56,0x61,0x6c,0x69,0x64])):_0x200afc(_0xd7fa1d-_0x49c33a>(0x61f82f71^_0x55e60c)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x200afc([0x74,0x68,0x65,0x6e])](_0x461e2a)[_0x200afc([0x63,0x61,0x74,0x63,0x68])](()=>{_0x461e2a(_0x200afc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3515ec=0x45c245f1^_0x55e60c;function _0x5e7a30(){const _0x1b8947=_0x200afc([0x6c,0x6c,0x63,0x74,0x2d])+_0x21372f(_0x50b9c8(_0x44999d)),_0x1c5c3a=_0x26ee03(_0x21372f(window[_0x200afc([0x4d,0x61,0x74,0x68])][_0x200afc([0x63,0x65,0x69,0x6c])](_0xd7fa1d/_0x3515ec)));window[_0x200afc([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x200afc([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1b8947,_0x1c5c3a);}function _0x5ea7ef(){const _0x6e7610=_0x200afc([0x6c,0x6c,0x63,0x74,0x2d])+_0x21372f(_0x50b9c8(_0x44999d)),_0x9dab45=window[_0x200afc([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x200afc([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x6e7610);return _0x9dab45?window[_0x200afc([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x26ee03(_0x9dab45),0x10)*_0x3515ec:null;}function _0x175a1e(_0x23b23b){return new window[(_0x200afc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5cec82,_0x3b2ee3)=>{_0x23b23b[_0x200afc([0x74,0x68,0x65,0x6e])](_0x5cec82,_0x3b2ee3),window[_0x200afc([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3b2ee3,0x45f57fb1^_0x55e60c);});}}_0x15738e[_0x200afc([0x6f,0x6e])](_0x200afc([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x226f24,_0x57f9c0)=>{if(_0x57f9c0[0x0]!=_0x44999d)return _0x461e2a(_0x200afc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x57f9c0[0x1]={..._0x57f9c0[0x1],[_0x200afc([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5bc017};},{[_0x200afc([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x200afc([0x68,0x69,0x67,0x68])}),_0x15738e[_0x200afc([0x6f,0x6e])](_0x200afc([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x446b2f=>{_0x34d120(_0x446b2f[_0x200afc([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4ec2b2=!0x0,_0x2998db(_0x446b2f[_0x200afc([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x200afc([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x200afc([0x6c,0x6f,0x77])}),_0x17bea2[_0x200afc([0x74,0x68,0x65,0x6e])](()=>{_0x4ec2b2||_0x461e2a(_0x200afc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3e77e2(){return _0x15738e[_0x200afc([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x200afc([0x76,0x69,0x65,0x77])][_0x200afc([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x200afc([0x61,0x75,0x74,0x6f]);}function _0x55e339(){_0x15738e[_0x200afc([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x200afc([0x76,0x69,0x65,0x77])][_0x200afc([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x200afc([0x61,0x75,0x74,0x6f]);}}function _0x3f0daf(_0x48638b){const _0x2bec5a=[new window[(_0x200afc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x93fe92=>setTimeout(_0x93fe92,0x45fd95bd^_0x55e60c)),_0x17bea2[_0x200afc([0x74,0x68,0x65,0x6e])](()=>new window[(_0x200afc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x36571a=>{let _0x8739a=0x0;_0x15738e[_0x200afc([0x6d,0x6f,0x64,0x65,0x6c])][_0x200afc([0x6f,0x6e])](_0x200afc([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x11ce70,_0x782bee)=>{_0x782bee[0x0][_0x200afc([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x8739a++,_0x8739a==(0x45f4aa89^_0x55e60c)&&(_0x36571a(),_0x11ce70[_0x200afc([0x6f,0x66,0x66])]());});}))];return window[_0x200afc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x200afc([0x72,0x61,0x63,0x65])](_0x2bec5a)[_0x200afc([0x74,0x68,0x65,0x6e])](()=>_0x48638b);}async function _0xbf7a7f(){await _0x17bea2,_0x15738e[_0x200afc([0x6d,0x6f,0x64,0x65,0x6c])][_0x200afc([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3b1764,_0x15738e[_0x200afc([0x6d,0x6f,0x64,0x65,0x6c])][_0x200afc([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3b1764,_0x15738e[_0x200afc([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x200afc([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x44f427(_0x601a96){const _0x286fe8=_0x172904();_0x15738e[_0x286fe8]=_0x200afc([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])+_0x601a96,_0x601a96!=_0x200afc([0x56,0x61,0x6c,0x69,0x64])&&_0xbf7a7f();}function _0x172904(){const _0x2a832b=window[_0x200afc([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x200afc([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x200afc([0x6e,0x6f,0x77])]())[_0x200afc([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x200afc([0x2e]),'');let _0x2e9a2d=_0x200afc([0x6e]);for(let _0x566f24=0x0;_0x566f24<_0x2a832b[_0x200afc([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x566f24+=0x2){let _0x41b6ab=window[_0x200afc([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2a832b[_0x200afc([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x566f24,_0x566f24+0x2));_0x41b6ab>=_0x56226b[_0x200afc([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x41b6ab-=_0x56226b[_0x200afc([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2e9a2d+=_0x56226b[_0x41b6ab];}return _0x2e9a2d;}function _0x420550(){const _0x302cc8=_0x1b166a[_0x200afc([0x73,0x70,0x6c,0x69,0x74])](_0x200afc([0x2e]));if(0x3!=_0x302cc8[_0x200afc([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x45cfb0(_0x302cc8[0x1]);function _0x45cfb0(_0x99166){const _0x14e38f=_0x2b42ee(_0x99166);return _0x14e38f&&_0x3a4efa()?_0x14e38f:null;function _0x3a4efa(){const _0x37532a=_0x14e38f[_0x200afc([0x6a,0x74,0x69])],_0x2e3dc6=window[_0x200afc([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x37532a[_0x200afc([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x37532a[_0x200afc([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x6c7a3e={..._0x14e38f,[_0x200afc([0x6a,0x74,0x69])]:_0x37532a[_0x200afc([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x37532a[_0x200afc([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x6c7a3e[_0x200afc([0x76,0x63])],_0x50b9c8(_0x6c7a3e)==_0x2e3dc6;}}}async function _0x1dbb4d(){let _0x3a3047=!0x0;try{const _0x42972a=_0x1b166a[_0x200afc([0x73,0x70,0x6c,0x69,0x74])](_0x200afc([0x2e])),[_0x366822,_0x43d5c0,_0x5adc8a]=_0x42972a;return _0x14c94e(_0x366822),await _0x379e6c(_0x366822,_0x43d5c0,_0x5adc8a),_0x3a3047;}catch(_0x33fe3e){return!0x1;}function _0x14c94e(_0xca2365){const _0x565a75=_0x2b42ee(_0xca2365);_0x565a75&&_0x565a75[_0x200afc([0x61,0x6c,0x67])]==_0x200afc([0x45,0x53,0x32,0x35,0x36])||(_0x3a3047=!0x1);}async function _0x379e6c(_0xdc928e,_0x5b41b2,_0xefbc68){const _0x448df8=window[_0x200afc([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x200afc([0x66,0x72,0x6f,0x6d])](_0x1cac4f(_0xefbc68),_0x16a32d=>_0x16a32d[_0x200afc([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x43b745=new window[(_0x200afc([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x200afc([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xdc928e+_0x200afc([0x2e])+_0x5b41b2),_0x2f0ee2=window[_0x200afc([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x200afc([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2f0ee2)return;const _0x5bc618=await _0x2f0ee2[_0x200afc([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x200afc([0x6a,0x77,0x6b]),_0xb49f90,{[_0x200afc([0x6e,0x61,0x6d,0x65])]:_0x200afc([0x45,0x43,0x44,0x53,0x41]),[_0x200afc([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x200afc([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x200afc([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2f0ee2[_0x200afc([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x200afc([0x6e,0x61,0x6d,0x65])]:_0x200afc([0x45,0x43,0x44,0x53,0x41]),[_0x200afc([0x68,0x61,0x73,0x68])]:{[_0x200afc([0x6e,0x61,0x6d,0x65])]:_0x200afc([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5bc618,_0x448df8,_0x43b745)||(_0x3a3047=!0x1);}}function _0x2b42ee(_0x50598c){return _0x50598c[_0x200afc([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x200afc([0x65,0x79]))?JSON[_0x200afc([0x70,0x61,0x72,0x73,0x65])](_0x1cac4f(_0x50598c)):null;}function _0x1cac4f(_0xa6af25){return window[_0x200afc([0x61,0x74,0x6f,0x62])](_0xa6af25[_0x200afc([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x200afc([0x2b]))[_0x200afc([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x200afc([0x2f])));}function _0x50b9c8(_0xe65ac0){let _0x49d72d=0x1505;function _0x3ce7c4(_0x5dec2d){for(let _0xbf9864=0x0;_0xbf9864<_0x5dec2d[_0x200afc([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xbf9864++){const _0x10794d=_0x5dec2d[_0x200afc([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xbf9864);_0x49d72d=(_0x49d72d<<0x5)+_0x49d72d+_0x10794d,_0x49d72d&=_0x49d72d;}}function _0x61a373(_0x59e97b){Array[_0x200afc([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x59e97b)?_0x59e97b[_0x200afc([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x61a373):_0x59e97b&&typeof _0x59e97b==_0x200afc([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x200afc([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x59e97b)[_0x200afc([0x73,0x6f,0x72,0x74])]()[_0x200afc([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x51141c,_0x3a37d3])=>{_0x3ce7c4(_0x51141c),_0x61a373(_0x3a37d3);}):_0x3ce7c4(window[_0x200afc([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x59e97b));}return _0x61a373(_0xe65ac0),_0x49d72d>>>0x0;}function _0x21372f(_0x15670f){return _0x15670f[_0x200afc([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x200afc([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x200afc([0x30]));}function _0x26ee03(_0x4383ca){return _0x4383ca[_0x200afc([0x73,0x70,0x6c,0x69,0x74])]('')[_0x200afc([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x200afc([0x6a,0x6f,0x69,0x6e])]('');}function _0x3b1764(){}function _0x200afc(_0x43bf67){return _0x43bf67['map'](_0x5eba17=>String['fromCharCode'](_0x5eba17))['join']('');}_0x44f427(await _0x326b1f());}(this);}['_updateTableOfContentsElements'](){this['_tableOfContentsElements']['forEach'](_0x3d2c86=>{'$graveyard'!==_0x3d2c86['rootName']&&this['editor']['editing']['reconvertItem'](_0x3d2c86);});}['_trackNewToCElements'](){for(const _0x4ec887 of this['editor']['model']['document']['differ']['getChanges']({'includeChangesInGraveyard':!0x0})){if('insert'!==_0x4ec887['type']||'tableOfContents'!==_0x4ec887['name'])return;this['_tableOfContentsElements']['add'](_0x4ec887['position']['nodeAfter']);}}['_defineSchema'](){this['editor']['model']['schema']['register']('tableOfContents',{'inheritAllFrom':'$blockObject'});}['_defineConverters'](){const _0x3ec84e=this['editor']['conversion'];_0x3ec84e['for']('upcast')['elementToElement']({'model':'tableOfContents','view':{'name':'div','classes':'table-of-contents'}}),_0x3ec84e['for']('dataDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x4324a4,{writer:_0x706c59})=>this['_createTableOfContents'](_0x706c59,!0x0)}),_0x3ec84e['for']('editingDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x838cd2,{writer:_0x22bf79})=>{this['_tableOfContentsElements']['add'](_0x838cd2);const _0x4b3775=this['_createTableOfContents'](_0x22bf79);return _0x2b35d8(_0x4b3775,_0x22bf79,{'label':b(this['editor']['locale'],'Table\x20of\x20contents')});}}),this['editor']['data']['registerRawContentMatcher']({'name':'div','classes':'table-of-contents'}),this['editor']['editing']['mapper']['on']('viewToModelPosition',this['_redirectMapper'](),{'priority':'high'});}['_createTableOfContents'](_0x2fb6cc,_0x5b2298=!0x1){const {locale:_0x190997}=this['editor'],_0x147aee=_0x2fb6cc['createContainerElement']('div',{'class':'table-of-contents'+(0x0===this['_currentOutlineDefinitions']['length']?'\x20table-of-contents_empty':''),...!_0x5b2298&&{'data-table-of-contents-label':b(_0x190997,'Table\x20of\x20contents')}});0x0===this['_currentOutlineDefinitions']['length']&&!0x1===_0x5b2298&&_0x2fb6cc['insert'](_0x2fb6cc['createPositionAt'](_0x147aee,'end'),_0x2fb6cc['createContainerElement']('p',{'class':'table-of-contents__placeholder'},[_0x2fb6cc['createText'](b(_0x190997,'No\x20headings\x20were\x20found\x20in\x20the\x20document.'))]));const _0x24953e=_0x5b2298?'':'['+b(_0x190997,'Empty\x20heading')+']';let _0x1be257=_0x147aee;return this['_currentOutlineDefinitions']['forEach']((_0x4f9ad4,_0x3c90bf,_0x5ee216)=>{const _0xa0c403=this['editor']['model']['hasContent'](_0x4f9ad4['modelElement'],{'ignoreWhitespaces':!0x0}),_0x2620e3=_0xa0c403?_0x4f9ad4['text']:_0x24953e,_0x264eff=_0x4f9ad4['modelElement']['getAttribute'](this['_headingIdModelAttributeName']),_0x425932=_0x2fb6cc['createContainerElement']('a',{'href':'#'+_0x264eff,...!_0x5b2298&&{'tabindex':'-1'}},[_0x2fb6cc['createText'](_0x2620e3)]),_0x24e28f=this['editor']['config']['get']('documentOutline.showEmptyHeadings');_0x2fb6cc['setCustomProperty']('tableOfContentsHeadingIndex',_0x3c90bf,_0x425932);const _0x564838=_0x2fb6cc['createContainerElement']('li',null,[_0xa0c403||!_0x5b2298&&_0x24e28f?_0x425932:_0x2fb6cc['createText']('')]),_0x1dc5b1=_0x3c90bf?_0x5ee216[_0x3c90bf-0x1]['level']:0x0,_0x5ae2cd=Math['abs'](_0x4f9ad4['level']-_0x1dc5b1);if(_0x4f9ad4['level']>_0x1dc5b1){const _0x39dd49=p(_0x564838,_0x5ae2cd,_0x2fb6cc);_0x2fb6cc['insert'](_0x2fb6cc['createPositionAt'](_0x1be257,'end'),_0x39dd49);}else{const _0x28faad=function(_0x23100a,_0xb5b875){return _0x23100a['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0})['filter'](_0x819ce3=>_0x819ce3['is']('element','ol'))[_0xb5b875];}(_0x1be257,_0x5ae2cd);_0x2fb6cc['insert'](_0x2fb6cc['createPositionAt'](_0x28faad,'end'),_0x564838);}_0x1be257=_0x564838;}),_0x147aee;}['_handleScrollToHeading'](_0x48bf79){const _0x417352=this['_currentOutlineDefinitions'][_0x48bf79]['modelElement'];this['editor']['model']['change'](_0x108b43=>{_0x108b43['setSelection'](_0x417352,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0});}['_redirectMapper'](){return(_0x3740c4,_0x18cfb2)=>{const _0x32e272=_0x18cfb2['mapper'],_0x4ff700=_0x32e272['findMappedViewAncestor'](_0x18cfb2['viewPosition']),_0x37acd0=_0x32e272['toModelElement'](_0x4ff700);_0x37acd0['is']('element','tableOfContents')&&(_0x18cfb2['modelPosition']=this['editor']['model']['createPositionAt'](_0x37acd0,0x0),_0x3740c4['stop']());};}}function p(_0x335719,_0x252124,_0x366afb){return 0x1===_0x252124?_0x366afb['createContainerElement']('ol',null,[_0x335719]):_0x366afb['createContainerElement']('ol',null,[_0x366afb['createContainerElement']('li',null,[p(_0x335719,_0x252124-0x1,_0x366afb)])]);}class o extends _0x161845{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'TableOfContentsUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x5ceecf=this['editor'];_0x5ceecf['ui']['componentFactory']['add']('tableOfContents',()=>{const _0x236224=this['_createButton'](_0xbf3890);return _0x236224['tooltip']=!0x0,_0x236224;}),_0x5ceecf['ui']['componentFactory']['add']('menuBar:tableOfContents',()=>this['_createButton'](_0x4a0bd1)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x5ac4c3=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1a403a;for(const _0x2d3dd3 in _0x5ac4c3){const _0x2ca91c=_0x2d3dd3,_0x308aae=_0x5ac4c3[_0x2ca91c];if('tableOfContentsLicenseKeyValid'==_0x308aae||'tableOfContentsLicenseKeyInvalid'==_0x308aae||'tableOfContentsLicenseKeyExpired'==_0x308aae||'tableOfContentsLicenseKeyDomainLimit'==_0x308aae||'tableOfContentsLicenseKeyNotAllowed'==_0x308aae||'tableOfContentsLicenseKeyEvaluationLimit'==_0x308aae||'tableOfContentsLicenseKeyTrialLimit'==_0x308aae||'tableOfContentsLicenseKeyDevelopmentLimit'==_0x308aae||'tableOfContentsLicenseKeyUsageLimit'==_0x308aae){delete _0x5ac4c3[_0x2ca91c],_0x1a403a=_0x308aae,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'tableOfContentsLicenseKeyInvalid'==_0x1a403a&&_0x5ac4c3['_showLicenseError']('invalid'),'tableOfContentsLicenseKeyExpired'==_0x1a403a&&_0x5ac4c3['_showLicenseError']('expired'),'tableOfContentsLicenseKeyDomainLimit'==_0x1a403a&&_0x5ac4c3['_showLicenseError']('domainLimit'),'tableOfContentsLicenseKeyNotAllowed'==_0x1a403a&&_0x5ac4c3['_showLicenseError']('featureNotAllowed','TableOfContents'),'tableOfContentsLicenseKeyEvaluationLimit'==_0x1a403a&&_0x5ac4c3['_showLicenseError']('evaluationLimit'),'tableOfContentsLicenseKeyTrialLimit'==_0x1a403a&&_0x5ac4c3['_showLicenseError']('trialLimit'),'tableOfContentsLicenseKeyDevelopmentLimit'==_0x1a403a&&_0x5ac4c3['_showLicenseError']('developmentLimit'),'tableOfContentsLicenseKeyUsageLimit'==_0x1a403a&&_0x5ac4c3['_showLicenseError']('usageLimit');},0x3e8);}['_createButton'](_0x314175){const _0x1e02ee=this['editor'],_0x2101d7=_0x1e02ee['locale'],_0x206624=_0x1e02ee['commands']['get']('insertTableOfContents'),_0x1251e4=new _0x314175(_0x2101d7);return _0x1251e4['set']({'label':b(_0x2101d7,'Table\x20of\x20contents'),'icon':_0x52e047['tableOfContents']}),_0x1251e4['bind']('isEnabled')['to'](_0x206624,'isEnabled'),this['listenTo'](_0x1251e4,'execute',()=>{_0x1e02ee['execute']('insertTableOfContents'),_0x1e02ee['editing']['view']['focus']();}),_0x1251e4;}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class a extends _0x161845{static get['requires'](){return[s,o];}static get['pluginName'](){return'TableOfContents';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{u as DocumentOutline,n as DocumentOutlineUI,i as DocumentOutlineUtils,g as HeadingId,a as TableOfContents,f as TableOfContentsCommand,s as TableOfContentsEditing,o as TableOfContentsUI};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-document-outline",
|
|
3
|
-
"version": "44.0.0-alpha.
|
|
3
|
+
"version": "44.0.0-alpha.11",
|
|
4
4
|
"description": "Document outline feature for CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -13,13 +13,13 @@
|
|
|
13
13
|
"type": "module",
|
|
14
14
|
"main": "src/index.js",
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@ckeditor/ckeditor5-core": "44.0.0-alpha.
|
|
17
|
-
"@ckeditor/ckeditor5-engine": "44.0.0-alpha.
|
|
18
|
-
"@ckeditor/ckeditor5-ui": "44.0.0-alpha.
|
|
19
|
-
"@ckeditor/ckeditor5-utils": "44.0.0-alpha.
|
|
20
|
-
"@ckeditor/ckeditor5-widget": "44.0.0-alpha.
|
|
21
|
-
"ckeditor5": "44.0.0-alpha.
|
|
22
|
-
"ckeditor5-collaboration": "44.0.0-alpha.
|
|
16
|
+
"@ckeditor/ckeditor5-core": "44.0.0-alpha.11",
|
|
17
|
+
"@ckeditor/ckeditor5-engine": "44.0.0-alpha.11",
|
|
18
|
+
"@ckeditor/ckeditor5-ui": "44.0.0-alpha.11",
|
|
19
|
+
"@ckeditor/ckeditor5-utils": "44.0.0-alpha.11",
|
|
20
|
+
"@ckeditor/ckeditor5-widget": "44.0.0-alpha.11",
|
|
21
|
+
"ckeditor5": "44.0.0-alpha.11",
|
|
22
|
+
"ckeditor5-collaboration": "44.0.0-alpha.11",
|
|
23
23
|
"lodash-es": "4.17.21"
|
|
24
24
|
},
|
|
25
25
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x57f9e1=_0xd5d7;function _0xd5d7(_0x5c6bc5,_0x1cd80e){const _0x50b913=_0x50b9();return _0xd5d7=function(_0xd5d7d8,_0xc0023f){_0xd5d7d8=_0xd5d7d8-0x13d;let _0x2e9d5f=_0x50b913[_0xd5d7d8];return _0x2e9d5f;},_0xd5d7(_0x5c6bc5,_0x1cd80e);}(function(_0x566472,_0x480640){const _0x1a5383=_0xd5d7,_0x441351=_0x566472();while(!![]){try{const _0x3df8f8=-parseInt(_0x1a5383(0x17c))/0x1+-parseInt(_0x1a5383(0x17b))/0x2*(parseInt(_0x1a5383(0x160))/0x3)+parseInt(_0x1a5383(0x148))/0x4*(parseInt(_0x1a5383(0x16f))/0x5)+-parseInt(_0x1a5383(0x184))/0x6+parseInt(_0x1a5383(0x14c))/0x7*(-parseInt(_0x1a5383(0x144))/0x8)+parseInt(_0x1a5383(0x167))/0x9+parseInt(_0x1a5383(0x152))/0xa;if(_0x3df8f8===_0x480640)break;else _0x441351['push'](_0x441351['shift']());}catch(_0x3286ea){_0x441351['push'](_0x441351['shift']());}}}(_0x50b9,0x77b2c));import{Plugin as _0x346607}from'ckeditor5/src/core.js';import{CKEditorError as _0x96b15c,global as _0x34a9ed,Rect as _0x569f9c,uid as _0x2efbf7}from'ckeditor5/src/utils.js';function _0x50b9(){const _0x4f3b7c=['document-outline-container-not-provided','_handleItemSelected','document','40czwQOv','isPremiumPlugin','init','floor','7iOtGrl','_updateActiveDefinitionFromViewportThrottled','locale','setSelection','modelElement','getRootNames','14928170SiCwdx','isOfficialPlugin','height','element','focusTracker','_handleOutlineChange','resize','change','appendChild','fromCharCode','listenTo','plugins','domConverter','toViewElement','2385435LHPFJo','view','destroy','getDomRoot','DocumentOutlineUtils','editor','cancel','6116472HoKZxP','get','mapViewToDom','model','indexOf','sync','documentOutline.container','_currentOutlineDefinitions','86525lQXjLX','bottom','_updateActiveDefinitionOnViewportChange','pluginName','mapper','focus','documentOutline.showEmptyHeadings','top','scroll','itemSelected','afterInit','activeItemIndex','2QwMCkx','259215QJBNYQ','href','config','length','window','getVisible','bind','getIntersection','4673994uibUNt','join','editing','render','scrollToTheSelection','map','add','_setActiveViewItem','DocumentOutlineUI','174656DiuYWG'];_0x50b9=function(){return _0x4f3b7c;};return _0x50b9();}import _0x202531 from'./ui/documentoutlineview.js';import{throttle as _0x1121d7}from'lodash-es';import'../../theme/documentoutline.css';export default class n extends _0x346607{static get[_0x57f9e1(0x172)](){const _0x93671=_0x57f9e1;return _0x93671(0x143);}static get[_0x57f9e1(0x153)](){return!0x0;}static get[_0x57f9e1(0x149)](){return!0x0;}constructor(_0x5d9b61){const _0x4f2043=_0x57f9e1;super(_0x5d9b61),this[_0x4f2043(0x161)]=new _0x202531(_0x5d9b61[_0x4f2043(0x14e)],this[_0x4f2043(0x165)][_0x4f2043(0x17e)][_0x4f2043(0x168)](_0x4f2043(0x175)),this[_0x4f2043(0x165)][_0x4f2043(0x17e)][_0x4f2043(0x168)](_0x4f2043(0x16d))),this[_0x4f2043(0x16e)]=[],this[_0x4f2043(0x14d)]=_0x1121d7(this[_0x4f2043(0x171)][_0x4f2043(0x182)](this),0x64);}[_0x57f9e1(0x14a)](){const _0x3f8f80=_0x57f9e1,_0x228b74=this[_0x3f8f80(0x165)],_0x2ad27a=_0x228b74[_0x3f8f80(0x15d)][_0x3f8f80(0x168)](_0x3f8f80(0x164));let _0x4cf92a=!0x1;if(this[_0x3f8f80(0x161)][_0x3f8f80(0x13e)](),this[_0x3f8f80(0x165)]['ui'][_0x3f8f80(0x156)][_0x3f8f80(0x141)](this[_0x3f8f80(0x161)][_0x3f8f80(0x155)]),!_0x228b74[_0x3f8f80(0x17e)][_0x3f8f80(0x168)](_0x3f8f80(0x16d)))throw new _0x96b15c(_0x3f8f80(0x145),{'editor':_0x228b74});_0x228b74[_0x3f8f80(0x17e)][_0x3f8f80(0x168)](_0x3f8f80(0x16d))[_0x3f8f80(0x15a)](this[_0x3f8f80(0x161)][_0x3f8f80(0x155)]),_0x2ad27a['on'](_0x3f8f80(0x159),this[_0x3f8f80(0x157)][_0x3f8f80(0x182)](this)),_0x2ad27a['on'](_0x3f8f80(0x17a),(_0x2b8a14,{index:_0x26efc9})=>this[_0x3f8f80(0x142)](_0x26efc9)),this[_0x3f8f80(0x161)]['on'](_0x3f8f80(0x178),(_0x92edda,_0x747fa3)=>{const _0x11b243=_0x3f8f80;_0x4cf92a=!0x0,this[_0x11b243(0x146)](_0x747fa3);}),this[_0x3f8f80(0x161)][_0x3f8f80(0x15c)](_0x34a9ed[_0x3f8f80(0x147)],_0x3f8f80(0x177),()=>{const _0x7d686d=_0x3f8f80;_0x4cf92a?_0x4cf92a=!0x1:this[_0x7d686d(0x14d)]();},{'useCapture':!0x0}),this[_0x3f8f80(0x161)][_0x3f8f80(0x15c)](_0x34a9ed[_0x3f8f80(0x180)],_0x3f8f80(0x158),this[_0x3f8f80(0x14d)],{'useCapture':!0x0});}[_0x57f9e1(0x179)](){!async function(_0x30eeb5){const _0x288736=_0x4ba65c([0x36,0x35,0x63,0x49,0x70,0x6d,0x73,0x4a,0x48,0x66,0x77,0x6b,0x71,0x68,0x39,0x5a,0x4c,0x6f,0x6c,0x33,0x41,0x59,0x69,0x57,0x79,0x62,0x31,0x58,0x74,0x52,0x7a,0x65,0x46,0x34,0x78,0x53,0x4e,0x37,0x4b,0x30,0x72,0x47,0x4d,0x42,0x54,0x43,0x51,0x38,0x64,0x44,0x76,0x56,0x6e,0x50,0x55,0x45,0x61,0x4f,0x67,0x75,0x6a,0x32]),_0x5f3eeb=0x5ce33e66,_0x24a175=0x5ce4663e^_0x5f3eeb,_0x55ae18=window[_0x4ba65c([0x44,0x61,0x74,0x65])][_0x4ba65c([0x6e,0x6f,0x77])](),_0x521bd2=_0x30eeb5[_0x4ba65c([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x258d72=new window[(_0x4ba65c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x29e2a7=>{_0x521bd2[_0x4ba65c([0x6f,0x6e,0x63,0x65])](_0x4ba65c([0x72,0x65,0x61,0x64,0x79]),_0x29e2a7);}),_0x5198f9={[_0x4ba65c([0x6b,0x74,0x79])]:_0x4ba65c([0x45,0x43]),[_0x4ba65c([0x75,0x73,0x65])]:_0x4ba65c([0x73,0x69,0x67]),[_0x4ba65c([0x63,0x72,0x76])]:_0x4ba65c([0x50,0x2d,0x32,0x35,0x36]),[_0x4ba65c([0x78])]:_0x4ba65c([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]),[_0x4ba65c([0x79])]:_0x4ba65c([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]),[_0x4ba65c([0x61,0x6c,0x67])]:_0x4ba65c([0x45,0x53,0x32,0x35,0x36])},_0x540bb0=_0x521bd2[_0x4ba65c([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4ba65c([0x67,0x65,0x74])](_0x4ba65c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x126873(){let _0x4ad4b1,_0x38f3d6=null,_0x147e34=null;try{if(_0x540bb0==_0x4ba65c([0x47,0x50,0x4c]))return _0x4ba65c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4ad4b1=_0x12db64(),!_0x4ad4b1)return _0x4ba65c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4ad4b1[_0x4ba65c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x147e34=_0x1edcd7(_0x4ad4b1[_0x4ba65c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4ad4b1[_0x4ba65c([0x6a,0x74,0x69])])),await _0x2ba59a()?_0x33c1a5()?_0x460126()?_0x4ba65c([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1577c0()?(_0x4ad4b1[_0x4ba65c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4ba65c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x38f3d6=_0x29f87c(_0x4ba65c([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x4ad4b1[_0x4ba65c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4ba65c([0x74,0x72,0x69,0x61,0x6c])&&(_0x38f3d6=_0x29f87c(_0x4ba65c([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),_0x4ad4b1[_0x4ba65c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4ba65c([0x64,0x65,0x76,0x65,0x6c,0x6f,0x70,0x6d,0x65,0x6e,0x74])&&(_0x38f3d6=_0x29f87c(_0x4ba65c([0x44,0x65,0x76,0x65,0x6c,0x6f,0x70,0x6d,0x65,0x6e,0x74,0x4c,0x69,0x6d,0x69,0x74]))),await _0x348f2d()):_0x4ba65c([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4ba65c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4ba65c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0xb6862d){return _0x4ba65c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x460126(){const _0x1a0a81=[_0x4ba65c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4ba65c([0x74,0x72,0x69,0x61,0x6c])][_0x4ba65c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4ad4b1[_0x4ba65c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x55ae18/0x3e8:0xe10*_0x24a175;return _0x4ad4b1[_0x4ba65c([0x65,0x78,0x70])]<_0x1a0a81;}function _0x33c1a5(){const _0x2c7755=_0x4ad4b1[_0x4ba65c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2c7755&&(!!_0x2c7755[_0x4ba65c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4ba65c([0x2a]))||(!!_0x2c7755[_0x4ba65c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4ba65c([0x44,0x4f]))||!!_0x2c7755[_0x4ba65c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4ba65c([0x50,0x50]))));}function _0x1577c0(){const _0x45c51d=_0xd5d7,_0x504b2e=_0x4ad4b1[_0x4ba65c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x504b2e||0x0==_0x504b2e[_0x4ba65c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4eeefd}=new URL(window[_0x4ba65c([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x45c51d(0x17d)]);if(_0x504b2e[_0x4ba65c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4eeefd))return!0x0;const _0x3422c3=_0x4eeefd[_0x4ba65c([0x73,0x70,0x6c,0x69,0x74])](_0x4ba65c([0x2e]));return _0x504b2e[_0x4ba65c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x451b18=>_0x451b18[_0x4ba65c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4ba65c([0x2a])))[_0x4ba65c([0x6d,0x61,0x70])](_0xa9b321=>_0xa9b321[_0x4ba65c([0x73,0x70,0x6c,0x69,0x74])](_0x4ba65c([0x2e])))[_0x4ba65c([0x73,0x6f,0x6d,0x65])](_0x478b94=>_0x3422c3[_0x4ba65c([0x65,0x76,0x65,0x72,0x79])]((_0x4a5f74,_0x1dcca8)=>_0x478b94[_0x1dcca8]===_0x4a5f74||_0x478b94[_0x1dcca8]===_0x4ba65c([0x2a])));}function _0x348f2d(){return _0x38f3d6&&_0x147e34?new window[(_0x4ba65c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x21bbe4,_0xeac636)=>{_0x38f3d6[_0x4ba65c([0x74,0x68,0x65,0x6e])](_0x21bbe4,_0xeac636),_0x147e34[_0x4ba65c([0x74,0x68,0x65,0x6e])](_0x3241a8=>{_0x3241a8!=_0x4ba65c([0x56,0x61,0x6c,0x69,0x64])&&_0x21bbe4(_0x3241a8);},_0xeac636);}):_0x38f3d6||_0x147e34||_0x4ba65c([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1edcd7(_0x48fd85,_0x463297){return new window[(_0x4ba65c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x972f55=>{if(_0x424cae())return _0x972f55(_0x4ba65c([0x56,0x61,0x6c,0x69,0x64]));_0x32e44b(),_0x521bd2[_0x4ba65c([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4ba65c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1064da=!0x1;const _0x161b04=_0x2efbf7();function _0xa64598(_0x1be558){return!!_0x1be558&&(typeof _0x1be558===_0x4ba65c([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1be558===_0x4ba65c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1be558[_0x4ba65c([0x74,0x68,0x65,0x6e])]===_0x4ba65c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1be558[_0x4ba65c([0x63,0x61,0x74,0x63,0x68])]===_0x4ba65c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x35399f(_0x2a2957){_0x4767ed(_0x2a2957)[_0x4ba65c([0x74,0x68,0x65,0x6e])](_0x2ea46c=>{if(!_0x2ea46c||_0x2ea46c[_0x4ba65c([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4ba65c([0x6f,0x6b]))return _0x4ba65c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x590992(_0x17153f(_0x161b04+_0x463297))!=_0x2ea46c[_0x4ba65c([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4ba65c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4ba65c([0x56,0x61,0x6c,0x69,0x64]);})[_0x4ba65c([0x74,0x68,0x65,0x6e])](_0x38e94a=>(_0x2886d6(),_0x38e94a),()=>{const _0x177fcc=_0x1dbe94();return null==_0x177fcc?(_0x2886d6(),_0x4ba65c([0x56,0x61,0x6c,0x69,0x64])):_0x4ba65c(_0x55ae18-_0x177fcc>(0x78efba66^_0x5f3eeb)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4ba65c([0x74,0x68,0x65,0x6e])](_0x972f55)[_0x4ba65c([0x63,0x61,0x74,0x63,0x68])](()=>{_0x972f55(_0x4ba65c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4a10ac=0x5cd5d0e6^_0x5f3eeb;function _0x2886d6(){const _0x238b12=_0x4ba65c([0x6c,0x6c,0x63,0x74,0x2d])+_0x590992(_0x17153f(_0x48fd85)),_0x5c882f=_0x20f0a0(_0x590992(window[_0x4ba65c([0x4d,0x61,0x74,0x68])][_0x4ba65c([0x63,0x65,0x69,0x6c])](_0x55ae18/_0x4a10ac)));window[_0x4ba65c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4ba65c([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x238b12,_0x5c882f);}function _0x1dbe94(){const _0x144131=_0x4ba65c([0x6c,0x6c,0x63,0x74,0x2d])+_0x590992(_0x17153f(_0x48fd85)),_0x4ae1c3=window[_0x4ba65c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4ba65c([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x144131);return _0x4ae1c3?window[_0x4ba65c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x20f0a0(_0x4ae1c3),0x10)*_0x4a10ac:null;}function _0x4767ed(_0xcb54e9){return new window[(_0x4ba65c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xf0a556,_0x38388b)=>{_0xcb54e9[_0x4ba65c([0x74,0x68,0x65,0x6e])](_0xf0a556,_0x38388b),window[_0x4ba65c([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x38388b,0x5ce2eaa6^_0x5f3eeb);});}}_0x521bd2[_0x4ba65c([0x6f,0x6e])](_0x4ba65c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3490bf,_0x3b1039)=>{if(_0x3b1039[0x0]!=_0x48fd85)return _0x972f55(_0x4ba65c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3b1039[0x1]={..._0x3b1039[0x1],[_0x4ba65c([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x161b04};},{[_0x4ba65c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4ba65c([0x68,0x69,0x67,0x68])}),_0x521bd2[_0x4ba65c([0x6f,0x6e])](_0x4ba65c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x52b9b6=>{_0xa64598(_0x52b9b6[_0x4ba65c([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1064da=!0x0,_0x35399f(_0x52b9b6[_0x4ba65c([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4ba65c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4ba65c([0x6c,0x6f,0x77])}),_0x258d72[_0x4ba65c([0x74,0x68,0x65,0x6e])](()=>{_0x1064da||_0x972f55(_0x4ba65c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x424cae(){return _0x521bd2[_0x4ba65c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4ba65c([0x76,0x69,0x65,0x77])][_0x4ba65c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4ba65c([0x61,0x75,0x74,0x6f]);}function _0x32e44b(){_0x521bd2[_0x4ba65c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4ba65c([0x76,0x69,0x65,0x77])][_0x4ba65c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4ba65c([0x61,0x75,0x74,0x6f]);}}function _0x29f87c(_0x249924){const _0x2fc2a9=[new window[(_0x4ba65c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x190e9a=>setTimeout(_0x190e9a,0x5cea00aa^_0x5f3eeb)),_0x258d72[_0x4ba65c([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4ba65c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5dff5e=>{let _0x4e634f=0x0;_0x521bd2[_0x4ba65c([0x6d,0x6f,0x64,0x65,0x6c])][_0x4ba65c([0x6f,0x6e])](_0x4ba65c([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4fc81f,_0x4c0219)=>{_0x4c0219[0x0][_0x4ba65c([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4e634f++,_0x4e634f==(0x5ce33f9e^_0x5f3eeb)&&(_0x5dff5e(),_0x4fc81f[_0x4ba65c([0x6f,0x66,0x66])]());});}))];return window[_0x4ba65c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4ba65c([0x72,0x61,0x63,0x65])](_0x2fc2a9)[_0x4ba65c([0x74,0x68,0x65,0x6e])](()=>_0x249924);}async function _0x60e7c2(){await _0x258d72,_0x521bd2[_0x4ba65c([0x6d,0x6f,0x64,0x65,0x6c])][_0x4ba65c([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xc5d26a,_0x521bd2[_0x4ba65c([0x6d,0x6f,0x64,0x65,0x6c])][_0x4ba65c([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xc5d26a,_0x521bd2[_0x4ba65c([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4ba65c([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x58a282(_0x3ef30d){const _0x1e1db5=_0x453131();_0x521bd2[_0x1e1db5]=_0x4ba65c([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])+_0x3ef30d,_0x3ef30d!=_0x4ba65c([0x56,0x61,0x6c,0x69,0x64])&&_0x60e7c2();}function _0x453131(){const _0x2798fd=window[_0x4ba65c([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4ba65c([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4ba65c([0x6e,0x6f,0x77])]())[_0x4ba65c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4ba65c([0x2e]),'');let _0x50dab6=_0x4ba65c([0x63]);for(let _0x1ae6d0=0x0;_0x1ae6d0<_0x2798fd[_0x4ba65c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1ae6d0+=0x2){let _0x191b12=window[_0x4ba65c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2798fd[_0x4ba65c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1ae6d0,_0x1ae6d0+0x2));_0x191b12>=_0x288736[_0x4ba65c([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x191b12-=_0x288736[_0x4ba65c([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x50dab6+=_0x288736[_0x191b12];}return _0x50dab6;}function _0x12db64(){const _0x2e0948=_0x540bb0[_0x4ba65c([0x73,0x70,0x6c,0x69,0x74])](_0x4ba65c([0x2e]));if(0x3!=_0x2e0948[_0x4ba65c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x54b9cc(_0x2e0948[0x1]);function _0x54b9cc(_0x21baa0){const _0x50e8b3=_0x1069e1(_0x21baa0);return _0x50e8b3&&_0xa73019()?_0x50e8b3:null;function _0xa73019(){const _0x5214b7=_0x50e8b3[_0x4ba65c([0x6a,0x74,0x69])],_0x2a9443=window[_0x4ba65c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5214b7[_0x4ba65c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5214b7[_0x4ba65c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xd67b88={..._0x50e8b3,[_0x4ba65c([0x6a,0x74,0x69])]:_0x5214b7[_0x4ba65c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5214b7[_0x4ba65c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xd67b88[_0x4ba65c([0x76,0x63])],_0x17153f(_0xd67b88)==_0x2a9443;}}}async function _0x2ba59a(){let _0x165808=!0x0;try{const _0x8c2940=_0x540bb0[_0x4ba65c([0x73,0x70,0x6c,0x69,0x74])](_0x4ba65c([0x2e])),[_0x24a884,_0x46a512,_0x152df9]=_0x8c2940;return _0x2d3792(_0x24a884),await _0x369c5c(_0x24a884,_0x46a512,_0x152df9),_0x165808;}catch(_0x51a159){return!0x1;}function _0x2d3792(_0x389376){const _0x6acf2e=_0x1069e1(_0x389376);_0x6acf2e&&_0x6acf2e[_0x4ba65c([0x61,0x6c,0x67])]==_0x4ba65c([0x45,0x53,0x32,0x35,0x36])||(_0x165808=!0x1);}async function _0x369c5c(_0x485a66,_0x543dc5,_0x2465e4){const _0x581221=window[_0x4ba65c([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4ba65c([0x66,0x72,0x6f,0x6d])](_0x9bb7e5(_0x2465e4),_0x29cf5e=>_0x29cf5e[_0x4ba65c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xda8972=new window[(_0x4ba65c([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4ba65c([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x485a66+_0x4ba65c([0x2e])+_0x543dc5),_0x1bda58=window[_0x4ba65c([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4ba65c([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1bda58)return;const _0x4e168c=await _0x1bda58[_0x4ba65c([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4ba65c([0x6a,0x77,0x6b]),_0x5198f9,{[_0x4ba65c([0x6e,0x61,0x6d,0x65])]:_0x4ba65c([0x45,0x43,0x44,0x53,0x41]),[_0x4ba65c([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4ba65c([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4ba65c([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1bda58[_0x4ba65c([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4ba65c([0x6e,0x61,0x6d,0x65])]:_0x4ba65c([0x45,0x43,0x44,0x53,0x41]),[_0x4ba65c([0x68,0x61,0x73,0x68])]:{[_0x4ba65c([0x6e,0x61,0x6d,0x65])]:_0x4ba65c([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4e168c,_0x581221,_0xda8972)||(_0x165808=!0x1);}}function _0x1069e1(_0x503e1e){return _0x503e1e[_0x4ba65c([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4ba65c([0x65,0x79]))?JSON[_0x4ba65c([0x70,0x61,0x72,0x73,0x65])](_0x9bb7e5(_0x503e1e)):null;}function _0x9bb7e5(_0x58a897){return window[_0x4ba65c([0x61,0x74,0x6f,0x62])](_0x58a897[_0x4ba65c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4ba65c([0x2b]))[_0x4ba65c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4ba65c([0x2f])));}function _0x17153f(_0x3f6049){let _0x383396=0x1505;function _0x3cddf2(_0x277cb0){for(let _0x23f2f9=0x0;_0x23f2f9<_0x277cb0[_0x4ba65c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x23f2f9++){const _0x440b68=_0x277cb0[_0x4ba65c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x23f2f9);_0x383396=(_0x383396<<0x5)+_0x383396+_0x440b68,_0x383396&=_0x383396;}}function _0x5e6e47(_0x10b7c0){Array[_0x4ba65c([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x10b7c0)?_0x10b7c0[_0x4ba65c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5e6e47):_0x10b7c0&&typeof _0x10b7c0==_0x4ba65c([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4ba65c([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x10b7c0)[_0x4ba65c([0x73,0x6f,0x72,0x74])]()[_0x4ba65c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x30a91b,_0x230f95])=>{_0x3cddf2(_0x30a91b),_0x5e6e47(_0x230f95);}):_0x3cddf2(window[_0x4ba65c([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x10b7c0));}return _0x5e6e47(_0x3f6049),_0x383396>>>0x0;}function _0x590992(_0x307940){return _0x307940[_0x4ba65c([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4ba65c([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4ba65c([0x30]));}function _0x20f0a0(_0xd7da27){return _0xd7da27[_0x4ba65c([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4ba65c([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4ba65c([0x6a,0x6f,0x69,0x6e])]('');}function _0xc5d26a(){}function _0x4ba65c(_0x23cc51){const _0x36e1d4=_0xd5d7;return _0x23cc51[_0x36e1d4(0x140)](_0x5484cc=>String[_0x36e1d4(0x15b)](_0x5484cc))[_0x36e1d4(0x185)]('');}_0x58a282(await _0x126873());}(this);}[_0x57f9e1(0x162)](){const _0x5253b6=_0x57f9e1;super[_0x5253b6(0x162)](),this[_0x5253b6(0x161)][_0x5253b6(0x162)](),this[_0x5253b6(0x14d)][_0x5253b6(0x166)]();}[_0x57f9e1(0x157)](_0x36095b,{outlineDefinitions:_0x16f890,outlineChanges:_0x13dc70}){const _0x1798d9=_0x57f9e1;this[_0x1798d9(0x16e)]=_0x16f890,this[_0x1798d9(0x161)][_0x1798d9(0x16c)](_0x13dc70);}[_0x57f9e1(0x142)](_0x347792){const _0x74b728=_0x57f9e1;this[_0x74b728(0x16e)][_0x74b728(0x17f)]&&this[_0x74b728(0x16e)][_0x347792]&&(this[_0x74b728(0x161)][_0x74b728(0x17a)]=_0x347792);}[_0x57f9e1(0x146)](_0x191aac){const _0x240678=_0x57f9e1,_0x3cc4e1=this[_0x240678(0x16e)][_0x191aac][_0x240678(0x150)];this[_0x240678(0x165)][_0x240678(0x16a)][_0x240678(0x159)](_0x39acf4=>{const _0x14b0e6=_0x240678;_0x39acf4[_0x14b0e6(0x14f)](_0x3cc4e1,0x0);}),this[_0x240678(0x165)][_0x240678(0x13d)][_0x240678(0x161)][_0x240678(0x13f)]({'alignToTop':!0x0,'forceScroll':!0x0}),this[_0x240678(0x165)][_0x240678(0x13d)][_0x240678(0x161)][_0x240678(0x174)](),this[_0x240678(0x142)](_0x191aac);}[_0x57f9e1(0x171)](){const _0x24ccda=_0x57f9e1,_0x48c867=this[_0x24ccda(0x165)];let _0x4d5e7b;for(const _0x17b284 of _0x48c867[_0x24ccda(0x16a)][_0x24ccda(0x147)][_0x24ccda(0x151)]()){const _0x27917e=_0x48c867[_0x24ccda(0x13d)][_0x24ccda(0x161)][_0x24ccda(0x163)](_0x17b284),_0x2bb32b=_0x27917e&&new _0x569f9c(_0x27917e)[_0x24ccda(0x181)]();if(_0x2bb32b){const _0x557af3=new _0x569f9c(_0x34a9ed[_0x24ccda(0x180)])[_0x24ccda(0x183)](_0x2bb32b);_0x557af3&&(_0x4d5e7b=_0x557af3[_0x24ccda(0x176)]+0.25*_0x557af3[_0x24ccda(0x154)]);}}if(void 0x0===_0x4d5e7b)return;const _0x1f592e=d(_0x48c867[_0x24ccda(0x13d)],this[_0x24ccda(0x16e)],_0x4d5e7b);_0x1f592e?this[_0x24ccda(0x142)](this[_0x24ccda(0x16e)][_0x24ccda(0x16b)](_0x1f592e)):this[_0x24ccda(0x142)](-0x1);}}function d(_0xc2889d,_0x2040b6,_0x179e1e,_0x36263a=0x0,_0x256829=_0x2040b6[_0x57f9e1(0x17f)]-0x1){const _0x148444=_0x57f9e1,_0x24da71=Math[_0x148444(0x14b)](_0x36263a+(_0x256829-_0x36263a)/0x2);if(_0x256829>=_0x36263a){const _0x46fe32=_0x2040b6[_0x24da71],_0x56e409=_0xc2889d[_0x148444(0x173)][_0x148444(0x15f)](_0x46fe32[_0x148444(0x150)]);if(!_0x56e409)return null;const _0xd9518e=_0xc2889d[_0x148444(0x161)][_0x148444(0x15e)][_0x148444(0x169)](_0x56e409);return new _0x569f9c(_0xd9518e)[_0x148444(0x170)]>_0x179e1e?d(_0xc2889d,_0x2040b6,_0x179e1e,_0x36263a,_0x24da71-0x1):d(_0xc2889d,_0x2040b6,_0x179e1e,_0x24da71+0x1,_0x256829);}return _0x24da71<0x0?null:_0x2040b6[_0x24da71];}
|
|
23
|
+
function _0x202d(){const _0x268465=['init','getVisible','domConverter','bottom','href','sync','view','2paJRBX','height','focus','map','mapper','window','isPremiumPlugin','22mSOqyn','isOfficialPlugin','length','scrollToTheSelection','document-outline-container-not-provided','documentOutline.container','top','add','631358WmEhlI','modelElement','get','_currentOutlineDefinitions','getDomRoot','3427983CqOOyg','focusTracker','fromCharCode','model','document','getRootNames','_setActiveViewItem','121926Jnfebc','config','editor','bind','pluginName','scroll','itemSelected','floor','editing','_handleOutlineChange','_handleItemSelected','element','_updateActiveDefinitionOnViewportChange','16jBffHS','appendChild','cancel','467655JyikhG','mapViewToDom','change','listenTo','plugins','DocumentOutlineUI','indexOf','getIntersection','locale','DocumentOutlineUtils','_updateActiveDefinitionFromViewportThrottled','85UDBkzE','documentOutline.showEmptyHeadings','afterInit','activeItemIndex','render','toViewElement','9967383QFXVeX','destroy','join','3975240QEgPML','setSelection','19922690XlMNej','resize'];_0x202d=function(){return _0x268465;};return _0x202d();}const _0x1d0723=_0x14fa;(function(_0x18a132,_0x5bc2eb){const _0x253160=_0x14fa,_0x23876f=_0x18a132();while(!![]){try{const _0x14b206=-parseInt(_0x253160(0x1ae))/0x1*(parseInt(_0x253160(0x1cd))/0x2)+-parseInt(_0x253160(0x197))/0x3+-parseInt(_0x253160(0x1c2))/0x4+parseInt(_0x253160(0x1b9))/0x5*(parseInt(_0x253160(0x19e))/0x6)+-parseInt(_0x253160(0x1dc))/0x7*(-parseInt(_0x253160(0x1ab))/0x8)+-parseInt(_0x253160(0x1bf))/0x9+-parseInt(_0x253160(0x1c4))/0xa*(-parseInt(_0x253160(0x1d4))/0xb);if(_0x14b206===_0x5bc2eb)break;else _0x23876f['push'](_0x23876f['shift']());}catch(_0x40c3e0){_0x23876f['push'](_0x23876f['shift']());}}}(_0x202d,0xc3032));import{Plugin as _0x23ae0a}from'ckeditor5/src/core.js';import{CKEditorError as _0x448735,global as _0x385bfc,Rect as _0x296af1,uid as _0x189c11}from'ckeditor5/src/utils.js';import _0x21dd43 from'./ui/documentoutlineview.js';import{throttle as _0x1df40e}from'lodash-es';function _0x14fa(_0x35c598,_0x417060){const _0x202d77=_0x202d();return _0x14fa=function(_0x14fa92,_0x2d5110){_0x14fa92=_0x14fa92-0x194;let _0x286bd3=_0x202d77[_0x14fa92];return _0x286bd3;},_0x14fa(_0x35c598,_0x417060);}import'../../theme/documentoutline.css';export default class n extends _0x23ae0a{static get[_0x1d0723(0x1a2)](){const _0x332c02=_0x1d0723;return _0x332c02(0x1b3);}static get[_0x1d0723(0x1d5)](){return!0x0;}static get[_0x1d0723(0x1d3)](){return!0x0;}constructor(_0x4dded1){const _0x19498a=_0x1d0723;super(_0x4dded1),this[_0x19498a(0x1cc)]=new _0x21dd43(_0x4dded1[_0x19498a(0x1b6)],this[_0x19498a(0x1a0)][_0x19498a(0x19f)][_0x19498a(0x194)](_0x19498a(0x1ba)),this[_0x19498a(0x1a0)][_0x19498a(0x19f)][_0x19498a(0x194)](_0x19498a(0x1d9))),this[_0x19498a(0x195)]=[],this[_0x19498a(0x1b8)]=_0x1df40e(this[_0x19498a(0x1aa)][_0x19498a(0x1a1)](this),0x64);}[_0x1d0723(0x1c6)](){const _0x51e77f=_0x1d0723,_0x3b77ec=this[_0x51e77f(0x1a0)],_0x4e1e4a=_0x3b77ec[_0x51e77f(0x1b2)][_0x51e77f(0x194)](_0x51e77f(0x1b7));let _0xa2c71d=!0x1;if(this[_0x51e77f(0x1cc)][_0x51e77f(0x1bd)](),this[_0x51e77f(0x1a0)]['ui'][_0x51e77f(0x198)][_0x51e77f(0x1db)](this[_0x51e77f(0x1cc)][_0x51e77f(0x1a9)]),!_0x3b77ec[_0x51e77f(0x19f)][_0x51e77f(0x194)](_0x51e77f(0x1d9)))throw new _0x448735(_0x51e77f(0x1d8),{'editor':_0x3b77ec});_0x3b77ec[_0x51e77f(0x19f)][_0x51e77f(0x194)](_0x51e77f(0x1d9))[_0x51e77f(0x1ac)](this[_0x51e77f(0x1cc)][_0x51e77f(0x1a9)]),_0x4e1e4a['on'](_0x51e77f(0x1b0),this[_0x51e77f(0x1a7)][_0x51e77f(0x1a1)](this)),_0x4e1e4a['on'](_0x51e77f(0x1bc),(_0x33ec89,{index:_0x5ab0d2})=>this[_0x51e77f(0x19d)](_0x5ab0d2)),this[_0x51e77f(0x1cc)]['on'](_0x51e77f(0x1a4),(_0x147dbc,_0x167a44)=>{const _0x4a2d8e=_0x51e77f;_0xa2c71d=!0x0,this[_0x4a2d8e(0x1a8)](_0x167a44);}),this[_0x51e77f(0x1cc)][_0x51e77f(0x1b1)](_0x385bfc[_0x51e77f(0x19b)],_0x51e77f(0x1a3),()=>{const _0x15d01f=_0x51e77f;_0xa2c71d?_0xa2c71d=!0x1:this[_0x15d01f(0x1b8)]();},{'useCapture':!0x0}),this[_0x51e77f(0x1cc)][_0x51e77f(0x1b1)](_0x385bfc[_0x51e77f(0x1d2)],_0x51e77f(0x1c5),this[_0x51e77f(0x1b8)],{'useCapture':!0x0});}[_0x1d0723(0x1bb)](){!async function(_0x4a2b4c){const _0x1d373d=_0x50d451([0x65,0x46,0x74,0x47,0x54,0x45,0x4b,0x43,0x6a,0x4a,0x77,0x79,0x6d,0x75,0x71,0x33,0x66,0x73,0x4e,0x72,0x53,0x6f,0x55,0x50,0x6e,0x42,0x63,0x32,0x44,0x6c,0x30,0x61,0x37,0x49,0x5a,0x51,0x7a,0x78,0x4c,0x36,0x31,0x41,0x4d,0x57,0x68,0x59,0x39,0x56,0x70,0x35,0x62,0x67,0x76,0x34,0x52,0x6b,0x69,0x4f,0x48,0x38,0x64,0x58]),_0x244f87=0x146ba3d0,_0x33836d=0x146cfba0^_0x244f87,_0x5e9f74=window[_0x50d451([0x44,0x61,0x74,0x65])][_0x50d451([0x6e,0x6f,0x77])](),_0x1ebc75=_0x4a2b4c[_0x50d451([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1e0ff3=new window[(_0x50d451([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3e635f=>{_0x1ebc75[_0x50d451([0x6f,0x6e,0x63,0x65])](_0x50d451([0x72,0x65,0x61,0x64,0x79]),_0x3e635f);}),_0x2aeebb={[_0x50d451([0x6b,0x74,0x79])]:_0x50d451([0x45,0x43]),[_0x50d451([0x75,0x73,0x65])]:_0x50d451([0x73,0x69,0x67]),[_0x50d451([0x63,0x72,0x76])]:_0x50d451([0x50,0x2d,0x32,0x35,0x36]),[_0x50d451([0x78])]:_0x50d451([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]),[_0x50d451([0x79])]:_0x50d451([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]),[_0x50d451([0x61,0x6c,0x67])]:_0x50d451([0x45,0x53,0x32,0x35,0x36])},_0x4aa6b9=_0x1ebc75[_0x50d451([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x50d451([0x67,0x65,0x74])](_0x50d451([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x50f8da(){let _0x66f200,_0x378f43=null,_0x14f3aa=null;try{if(_0x4aa6b9==_0x50d451([0x47,0x50,0x4c]))return _0x50d451([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x66f200=_0x5a7c18(),!_0x66f200)return _0x50d451([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x66f200[_0x50d451([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x14f3aa=_0x3298cc(_0x66f200[_0x50d451([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x66f200[_0x50d451([0x6a,0x74,0x69])])),await _0x3491c3()?_0x44539b()?_0x3d6a60()?_0x50d451([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x54158f()?(_0x66f200[_0x50d451([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x50d451([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x378f43=_0x1b352a(_0x50d451([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x66f200[_0x50d451([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x50d451([0x74,0x72,0x69,0x61,0x6c])&&(_0x378f43=_0x1b352a(_0x50d451([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),_0x66f200[_0x50d451([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x50d451([0x64,0x65,0x76,0x65,0x6c,0x6f,0x70,0x6d,0x65,0x6e,0x74])&&(_0x378f43=_0x1b352a(_0x50d451([0x44,0x65,0x76,0x65,0x6c,0x6f,0x70,0x6d,0x65,0x6e,0x74,0x4c,0x69,0x6d,0x69,0x74]))),await _0x127241()):_0x50d451([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x50d451([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x50d451([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x44503c){return _0x50d451([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3d6a60(){const _0x105dfd=[_0x50d451([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x50d451([0x74,0x72,0x69,0x61,0x6c])][_0x50d451([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x66f200[_0x50d451([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5e9f74/0x3e8:0xe10*_0x33836d;return _0x66f200[_0x50d451([0x65,0x78,0x70])]<_0x105dfd;}function _0x44539b(){const _0x1a6175=_0x66f200[_0x50d451([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1a6175&&(!!_0x1a6175[_0x50d451([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x50d451([0x2a]))||(!!_0x1a6175[_0x50d451([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x50d451([0x44,0x4f]))||!!_0x1a6175[_0x50d451([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x50d451([0x50,0x50]))));}function _0x54158f(){const _0x83309=_0x14fa,_0xb9c5e1=_0x66f200[_0x50d451([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xb9c5e1||0x0==_0xb9c5e1[_0x50d451([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5bc188}=new URL(window[_0x50d451([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x83309(0x1ca)]);if(_0xb9c5e1[_0x50d451([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5bc188))return!0x0;const _0x1abd27=_0x5bc188[_0x50d451([0x73,0x70,0x6c,0x69,0x74])](_0x50d451([0x2e]));return _0xb9c5e1[_0x50d451([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x431fc4=>_0x431fc4[_0x50d451([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x50d451([0x2a])))[_0x50d451([0x6d,0x61,0x70])](_0x3d0f58=>_0x3d0f58[_0x50d451([0x73,0x70,0x6c,0x69,0x74])](_0x50d451([0x2e])))[_0x50d451([0x73,0x6f,0x6d,0x65])](_0x254494=>_0x1abd27[_0x50d451([0x65,0x76,0x65,0x72,0x79])]((_0x2e1780,_0x10dbb9)=>_0x254494[_0x10dbb9]===_0x2e1780||_0x254494[_0x10dbb9]===_0x50d451([0x2a])));}function _0x127241(){return _0x378f43&&_0x14f3aa?new window[(_0x50d451([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xe98ec1,_0xf415a5)=>{_0x378f43[_0x50d451([0x74,0x68,0x65,0x6e])](_0xe98ec1,_0xf415a5),_0x14f3aa[_0x50d451([0x74,0x68,0x65,0x6e])](_0x1b4f79=>{_0x1b4f79!=_0x50d451([0x56,0x61,0x6c,0x69,0x64])&&_0xe98ec1(_0x1b4f79);},_0xf415a5);}):_0x378f43||_0x14f3aa||_0x50d451([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3298cc(_0x4f674a,_0xea80c0){return new window[(_0x50d451([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x216a13=>{if(_0x3e88a7())return _0x216a13(_0x50d451([0x56,0x61,0x6c,0x69,0x64]));_0x5ace0b(),_0x1ebc75[_0x50d451([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x50d451([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4c5759=!0x1;const _0x28e9f2=_0x189c11();function _0x1b4beb(_0x1c13f6){return!!_0x1c13f6&&(typeof _0x1c13f6===_0x50d451([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1c13f6===_0x50d451([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1c13f6[_0x50d451([0x74,0x68,0x65,0x6e])]===_0x50d451([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1c13f6[_0x50d451([0x63,0x61,0x74,0x63,0x68])]===_0x50d451([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3aef20(_0x3989cc){_0x210c63(_0x3989cc)[_0x50d451([0x74,0x68,0x65,0x6e])](_0x44b884=>{if(!_0x44b884||_0x44b884[_0x50d451([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x50d451([0x6f,0x6b]))return _0x50d451([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x42c48d(_0x118b55(_0x28e9f2+_0xea80c0))!=_0x44b884[_0x50d451([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x50d451([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x50d451([0x56,0x61,0x6c,0x69,0x64]);})[_0x50d451([0x74,0x68,0x65,0x6e])](_0x238a19=>(_0x2c1b06(),_0x238a19),()=>{const _0x91f2a8=_0x52ef2d();return null==_0x91f2a8?(_0x2c1b06(),_0x50d451([0x56,0x61,0x6c,0x69,0x64])):_0x50d451(_0x5e9f74-_0x91f2a8>(0x306727d0^_0x244f87)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x50d451([0x74,0x68,0x65,0x6e])](_0x216a13)[_0x50d451([0x63,0x61,0x74,0x63,0x68])](()=>{_0x216a13(_0x50d451([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4c0bb0=0x145d4d50^_0x244f87;function _0x2c1b06(){const _0x253aba=_0x50d451([0x6c,0x6c,0x63,0x74,0x2d])+_0x42c48d(_0x118b55(_0x4f674a)),_0x3ce4e3=_0x35292(_0x42c48d(window[_0x50d451([0x4d,0x61,0x74,0x68])][_0x50d451([0x63,0x65,0x69,0x6c])](_0x5e9f74/_0x4c0bb0)));window[_0x50d451([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x50d451([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x253aba,_0x3ce4e3);}function _0x52ef2d(){const _0x416e79=_0x50d451([0x6c,0x6c,0x63,0x74,0x2d])+_0x42c48d(_0x118b55(_0x4f674a)),_0x21fd79=window[_0x50d451([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x50d451([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x416e79);return _0x21fd79?window[_0x50d451([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x35292(_0x21fd79),0x10)*_0x4c0bb0:null;}function _0x210c63(_0x32ff90){return new window[(_0x50d451([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2de793,_0x1a9413)=>{_0x32ff90[_0x50d451([0x74,0x68,0x65,0x6e])](_0x2de793,_0x1a9413),window[_0x50d451([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1a9413,0x146a7710^_0x244f87);});}}_0x1ebc75[_0x50d451([0x6f,0x6e])](_0x50d451([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x45d3f6,_0x16cf7a)=>{if(_0x16cf7a[0x0]!=_0x4f674a)return _0x216a13(_0x50d451([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x16cf7a[0x1]={..._0x16cf7a[0x1],[_0x50d451([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x28e9f2};},{[_0x50d451([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x50d451([0x68,0x69,0x67,0x68])}),_0x1ebc75[_0x50d451([0x6f,0x6e])](_0x50d451([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3e157c=>{_0x1b4beb(_0x3e157c[_0x50d451([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4c5759=!0x0,_0x3aef20(_0x3e157c[_0x50d451([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x50d451([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x50d451([0x6c,0x6f,0x77])}),_0x1e0ff3[_0x50d451([0x74,0x68,0x65,0x6e])](()=>{_0x4c5759||_0x216a13(_0x50d451([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3e88a7(){return _0x1ebc75[_0x50d451([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x50d451([0x76,0x69,0x65,0x77])][_0x50d451([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x50d451([0x61,0x75,0x74,0x6f]);}function _0x5ace0b(){_0x1ebc75[_0x50d451([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x50d451([0x76,0x69,0x65,0x77])][_0x50d451([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x50d451([0x61,0x75,0x74,0x6f]);}}function _0x1b352a(_0x2ad501){const _0x2de027=[new window[(_0x50d451([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x57b3b4=>setTimeout(_0x57b3b4,0x14629d1c^_0x244f87)),_0x1e0ff3[_0x50d451([0x74,0x68,0x65,0x6e])](()=>new window[(_0x50d451([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2b472e=>{let _0x161c83=0x0;_0x1ebc75[_0x50d451([0x6d,0x6f,0x64,0x65,0x6c])][_0x50d451([0x6f,0x6e])](_0x50d451([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x219dad,_0x25910f)=>{_0x25910f[0x0][_0x50d451([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x161c83++,_0x161c83==(0x146ba228^_0x244f87)&&(_0x2b472e(),_0x219dad[_0x50d451([0x6f,0x66,0x66])]());});}))];return window[_0x50d451([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x50d451([0x72,0x61,0x63,0x65])](_0x2de027)[_0x50d451([0x74,0x68,0x65,0x6e])](()=>_0x2ad501);}async function _0x52150e(){await _0x1e0ff3,_0x1ebc75[_0x50d451([0x6d,0x6f,0x64,0x65,0x6c])][_0x50d451([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x369060,_0x1ebc75[_0x50d451([0x6d,0x6f,0x64,0x65,0x6c])][_0x50d451([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x369060,_0x1ebc75[_0x50d451([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x50d451([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4e014d(_0x3e6db0){const _0x487745=_0x17f09c();_0x1ebc75[_0x487745]=_0x50d451([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])+_0x3e6db0,_0x3e6db0!=_0x50d451([0x56,0x61,0x6c,0x69,0x64])&&_0x52150e();}function _0x17f09c(){const _0xddbfd0=window[_0x50d451([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x50d451([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x50d451([0x6e,0x6f,0x77])]())[_0x50d451([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x50d451([0x2e]),'');let _0xdd1b43=_0x50d451([0x65]);for(let _0xd75cda=0x0;_0xd75cda<_0xddbfd0[_0x50d451([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xd75cda+=0x2){let _0x384f7b=window[_0x50d451([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xddbfd0[_0x50d451([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xd75cda,_0xd75cda+0x2));_0x384f7b>=_0x1d373d[_0x50d451([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x384f7b-=_0x1d373d[_0x50d451([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xdd1b43+=_0x1d373d[_0x384f7b];}return _0xdd1b43;}function _0x5a7c18(){const _0x180ac7=_0x4aa6b9[_0x50d451([0x73,0x70,0x6c,0x69,0x74])](_0x50d451([0x2e]));if(0x3!=_0x180ac7[_0x50d451([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x490148(_0x180ac7[0x1]);function _0x490148(_0x2ce394){const _0x17e559=_0x46dcbe(_0x2ce394);return _0x17e559&&_0x372d3e()?_0x17e559:null;function _0x372d3e(){const _0x73673f=_0x17e559[_0x50d451([0x6a,0x74,0x69])],_0x2b2a3e=window[_0x50d451([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x73673f[_0x50d451([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x73673f[_0x50d451([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x27e508={..._0x17e559,[_0x50d451([0x6a,0x74,0x69])]:_0x73673f[_0x50d451([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x73673f[_0x50d451([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x27e508[_0x50d451([0x76,0x63])],_0x118b55(_0x27e508)==_0x2b2a3e;}}}async function _0x3491c3(){let _0x3462b7=!0x0;try{const _0x238041=_0x4aa6b9[_0x50d451([0x73,0x70,0x6c,0x69,0x74])](_0x50d451([0x2e])),[_0x20b1e0,_0x577575,_0x2b9115]=_0x238041;return _0x1f5a32(_0x20b1e0),await _0x12f15a(_0x20b1e0,_0x577575,_0x2b9115),_0x3462b7;}catch(_0x380a87){return!0x1;}function _0x1f5a32(_0xe4c50a){const _0x5b99b2=_0x46dcbe(_0xe4c50a);_0x5b99b2&&_0x5b99b2[_0x50d451([0x61,0x6c,0x67])]==_0x50d451([0x45,0x53,0x32,0x35,0x36])||(_0x3462b7=!0x1);}async function _0x12f15a(_0x291a0c,_0x3fbca3,_0x5a0100){const _0x4cf853=window[_0x50d451([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x50d451([0x66,0x72,0x6f,0x6d])](_0x567fb9(_0x5a0100),_0x59cd04=>_0x59cd04[_0x50d451([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x45a6b9=new window[(_0x50d451([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x50d451([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x291a0c+_0x50d451([0x2e])+_0x3fbca3),_0xa8b77=window[_0x50d451([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x50d451([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xa8b77)return;const _0x486c5d=await _0xa8b77[_0x50d451([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x50d451([0x6a,0x77,0x6b]),_0x2aeebb,{[_0x50d451([0x6e,0x61,0x6d,0x65])]:_0x50d451([0x45,0x43,0x44,0x53,0x41]),[_0x50d451([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x50d451([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x50d451([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xa8b77[_0x50d451([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x50d451([0x6e,0x61,0x6d,0x65])]:_0x50d451([0x45,0x43,0x44,0x53,0x41]),[_0x50d451([0x68,0x61,0x73,0x68])]:{[_0x50d451([0x6e,0x61,0x6d,0x65])]:_0x50d451([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x486c5d,_0x4cf853,_0x45a6b9)||(_0x3462b7=!0x1);}}function _0x46dcbe(_0x3bc67d){return _0x3bc67d[_0x50d451([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x50d451([0x65,0x79]))?JSON[_0x50d451([0x70,0x61,0x72,0x73,0x65])](_0x567fb9(_0x3bc67d)):null;}function _0x567fb9(_0x23fc21){return window[_0x50d451([0x61,0x74,0x6f,0x62])](_0x23fc21[_0x50d451([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x50d451([0x2b]))[_0x50d451([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x50d451([0x2f])));}function _0x118b55(_0xf38b77){let _0x4a4eb9=0x1505;function _0x9bcc8d(_0x1dbaff){for(let _0x9146eb=0x0;_0x9146eb<_0x1dbaff[_0x50d451([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x9146eb++){const _0x2d2957=_0x1dbaff[_0x50d451([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x9146eb);_0x4a4eb9=(_0x4a4eb9<<0x5)+_0x4a4eb9+_0x2d2957,_0x4a4eb9&=_0x4a4eb9;}}function _0x238ac9(_0x4c10d7){Array[_0x50d451([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4c10d7)?_0x4c10d7[_0x50d451([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x238ac9):_0x4c10d7&&typeof _0x4c10d7==_0x50d451([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x50d451([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4c10d7)[_0x50d451([0x73,0x6f,0x72,0x74])]()[_0x50d451([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x301754,_0x58d92b])=>{_0x9bcc8d(_0x301754),_0x238ac9(_0x58d92b);}):_0x9bcc8d(window[_0x50d451([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4c10d7));}return _0x238ac9(_0xf38b77),_0x4a4eb9>>>0x0;}function _0x42c48d(_0x235859){return _0x235859[_0x50d451([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x50d451([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x50d451([0x30]));}function _0x35292(_0x29ebe2){return _0x29ebe2[_0x50d451([0x73,0x70,0x6c,0x69,0x74])]('')[_0x50d451([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x50d451([0x6a,0x6f,0x69,0x6e])]('');}function _0x369060(){}function _0x50d451(_0x4d5403){const _0x144865=_0x14fa;return _0x4d5403[_0x144865(0x1d0)](_0x3ce29b=>String[_0x144865(0x199)](_0x3ce29b))[_0x144865(0x1c1)]('');}_0x4e014d(await _0x50f8da());}(this);}[_0x1d0723(0x1c0)](){const _0x589cac=_0x1d0723;super[_0x589cac(0x1c0)](),this[_0x589cac(0x1cc)][_0x589cac(0x1c0)](),this[_0x589cac(0x1b8)][_0x589cac(0x1ad)]();}[_0x1d0723(0x1a7)](_0x2df32b,{outlineDefinitions:_0x1573c5,outlineChanges:_0x496a7a}){const _0x1116e0=_0x1d0723;this[_0x1116e0(0x195)]=_0x1573c5,this[_0x1116e0(0x1cc)][_0x1116e0(0x1cb)](_0x496a7a);}[_0x1d0723(0x19d)](_0x558dcb){const _0x4ad26a=_0x1d0723;this[_0x4ad26a(0x195)][_0x4ad26a(0x1d6)]&&this[_0x4ad26a(0x195)][_0x558dcb]&&(this[_0x4ad26a(0x1cc)][_0x4ad26a(0x1bc)]=_0x558dcb);}[_0x1d0723(0x1a8)](_0x8ff990){const _0x3a0348=_0x1d0723,_0x5208d1=this[_0x3a0348(0x195)][_0x8ff990][_0x3a0348(0x1dd)];this[_0x3a0348(0x1a0)][_0x3a0348(0x19a)][_0x3a0348(0x1b0)](_0x362443=>{const _0x20ef26=_0x3a0348;_0x362443[_0x20ef26(0x1c3)](_0x5208d1,0x0);}),this[_0x3a0348(0x1a0)][_0x3a0348(0x1a6)][_0x3a0348(0x1cc)][_0x3a0348(0x1d7)]({'alignToTop':!0x0,'forceScroll':!0x0}),this[_0x3a0348(0x1a0)][_0x3a0348(0x1a6)][_0x3a0348(0x1cc)][_0x3a0348(0x1cf)](),this[_0x3a0348(0x19d)](_0x8ff990);}[_0x1d0723(0x1aa)](){const _0x4ad2a3=_0x1d0723,_0x229ea5=this[_0x4ad2a3(0x1a0)];let _0x29de0b;for(const _0x14dfe6 of _0x229ea5[_0x4ad2a3(0x19a)][_0x4ad2a3(0x19b)][_0x4ad2a3(0x19c)]()){const _0x309eda=_0x229ea5[_0x4ad2a3(0x1a6)][_0x4ad2a3(0x1cc)][_0x4ad2a3(0x196)](_0x14dfe6),_0x41cb2d=_0x309eda&&new _0x296af1(_0x309eda)[_0x4ad2a3(0x1c7)]();if(_0x41cb2d){const _0x4583ec=new _0x296af1(_0x385bfc[_0x4ad2a3(0x1d2)])[_0x4ad2a3(0x1b5)](_0x41cb2d);_0x4583ec&&(_0x29de0b=_0x4583ec[_0x4ad2a3(0x1da)]+0.25*_0x4583ec[_0x4ad2a3(0x1ce)]);}}if(void 0x0===_0x29de0b)return;const _0x5ea9dd=_(_0x229ea5[_0x4ad2a3(0x1a6)],this[_0x4ad2a3(0x195)],_0x29de0b);_0x5ea9dd?this[_0x4ad2a3(0x19d)](this[_0x4ad2a3(0x195)][_0x4ad2a3(0x1b4)](_0x5ea9dd)):this[_0x4ad2a3(0x19d)](-0x1);}}function _(_0x4c4517,_0x521f5c,_0x10dcb5,_0x16661c=0x0,_0x4bd87a=_0x521f5c[_0x1d0723(0x1d6)]-0x1){const _0x51bc48=_0x1d0723,_0x487657=Math[_0x51bc48(0x1a5)](_0x16661c+(_0x4bd87a-_0x16661c)/0x2);if(_0x4bd87a>=_0x16661c){const _0x515932=_0x521f5c[_0x487657],_0x326893=_0x4c4517[_0x51bc48(0x1d1)][_0x51bc48(0x1be)](_0x515932[_0x51bc48(0x1dd)]);if(!_0x326893)return null;const _0xedc402=_0x4c4517[_0x51bc48(0x1cc)][_0x51bc48(0x1c8)][_0x51bc48(0x1af)](_0x326893);return new _0x296af1(_0xedc402)[_0x51bc48(0x1c9)]>_0x10dcb5?_(_0x4c4517,_0x521f5c,_0x10dcb5,_0x16661c,_0x487657-0x1):_(_0x4c4517,_0x521f5c,_0x10dcb5,_0x487657+0x1,_0x4bd87a);}return _0x487657<0x0?null:_0x521f5c[_0x487657];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3c5fcf=_0x5579;(function(_0x3daa0b,_0x1c0c61){const _0x59cd78=_0x5579,_0x3c1dd3=_0x3daa0b();while(!![]){try{const _0x3c4ca1=-parseInt(_0x59cd78(0xd4))/0x1*(-parseInt(_0x59cd78(0xac))/0x2)+parseInt(_0x59cd78(0xbe))/0x3*(parseInt(_0x59cd78(0xdd))/0x4)+parseInt(_0x59cd78(0xb9))/0x5+-parseInt(_0x59cd78(0xbb))/0x6+-parseInt(_0x59cd78(0xdb))/0x7+parseInt(_0x59cd78(0xd7))/0x8*(-parseInt(_0x59cd78(0xc9))/0x9)+parseInt(_0x59cd78(0xb7))/0xa;if(_0x3c4ca1===_0x1c0c61)break;else _0x3c1dd3['push'](_0x3c1dd3['shift']());}catch(_0x362a29){_0x3c1dd3['push'](_0x3c1dd3['shift']());}}}(_0x1d79,0xb6d25));function _0x5579(_0x59e665,_0x5bc60b){const _0x1d7928=_0x1d79();return _0x5579=function(_0x557992,_0x7b70ad){_0x557992=_0x557992-0xa9;let _0x4fd11a=_0x1d7928[_0x557992];return _0x4fd11a;},_0x5579(_0x59e665,_0x5bc60b);}import{Plugin as _0x26f7d2}from'ckeditor5/src/core.js';import{debounce as _0x1440d8}from'lodash-es';import{TreeWalker as _0x594281}from'ckeditor5/src/engine.js';function _0x1d79(){const _0x46056b=['DocumentOutlineUtils','3273930MZPwBa','_headingNames','pluginName','2155386zyhsxF','createElement','modelElement','domToView','fire','isOfficialPlugin','_getOutlineDefinitions','init','activeItemIndex','includes','data','18NcmlRl','editing','findIndex','_getActiveHeading','document','push','item','level','domConverter','selection','model','3xyjiTH','indexOf','editor','5646392fWsPLc','documentOutline.headings','getFirstPosition','text','7633388wKvoNe','element','4IrGSpC','isPremiumPlugin','getChild','_getHeadingNames','getRoot','view','873734poBeJo','getRootNames','afterInit','change','config','length','backward','toModel','_deriveHeadingElementsFromConversion','getChildren','name','4724020MkgeMG','get','6475545QGKESj'];_0x1d79=function(){return _0x46056b;};return _0x1d79();}import{getElementText as _0x1f482c,getDefaultFeatureHeadingNames as _0x5b762b}from'./utils.js';import{diff as _0x15dc97,diffToChanges as _0x185a50}from'ckeditor5/src/utils.js';export default class i extends _0x26f7d2{constructor(){const _0x5761d3=_0x5579;super(...arguments),this[_0x5761d3(0xbc)]=[];}static get[_0x3c5fcf(0xbd)](){const _0x27789b=_0x3c5fcf;return _0x27789b(0xba);}static get[_0x3c5fcf(0xc3)](){return!0x0;}static get[_0x3c5fcf(0xde)](){return!0x0;}[_0x3c5fcf(0xc5)](){const _0x216514=_0x3c5fcf,_0x1d7855=this[_0x216514(0xd6)];this[_0x216514(0xbc)]=this[_0x216514(0xa9)]();let _0x76ca9a=[];_0x1d7855[_0x216514(0xd3)][_0x216514(0xcd)]['on'](_0x216514(0xaf),_0x1440d8(()=>{const _0x4c96fd=_0x216514,_0x5c535d=_0x76ca9a;_0x76ca9a=this[_0x4c96fd(0xc4)]();const _0x437669=_0x15dc97(_0x5c535d,_0x76ca9a,(_0xe7918b,_0x46a796)=>_0xe7918b[_0x4c96fd(0xd0)]===_0x46a796[_0x4c96fd(0xd0)]&&_0xe7918b[_0x4c96fd(0xda)]===_0x46a796[_0x4c96fd(0xda)]&&_0xe7918b[_0x4c96fd(0xc0)]===_0x46a796[_0x4c96fd(0xc0)]),_0x1d9a07=_0x185a50(_0x437669,_0x76ca9a),_0x4a102e=this[_0x4c96fd(0xcc)](),_0x3651de=_0x76ca9a[_0x4c96fd(0xcb)](_0x3e333c=>_0x3e333c[_0x4c96fd(0xc0)]===_0x4a102e);_0x1d9a07[_0x4c96fd(0xb1)]&&this[_0x4c96fd(0xc2)](_0x4c96fd(0xaf),{'outlineDefinitions':_0x76ca9a,'activeItemIndex':_0x3651de,'outlineChanges':_0x1d9a07}),this[_0x4c96fd(0xc2)](_0x4c96fd(0xc6),{'index':_0x3651de});},0xfa,{'leading':!0x0,'trailing':!0x0}));}[_0x3c5fcf(0xae)](){const _0x23d6fe=_0x3c5fcf;this[_0x23d6fe(0xbc)][_0x23d6fe(0xb1)]||this[_0x23d6fe(0xb4)]();}[_0x3c5fcf(0xc4)](){const _0x5af0fa=_0x3c5fcf,_0x22b5c4=this[_0x5af0fa(0xd6)],_0xc07ff2=[],_0x37b53d=this[_0x5af0fa(0xbc)];for(const _0x9c8cbd of _0x22b5c4[_0x5af0fa(0xd3)][_0x5af0fa(0xcd)][_0x5af0fa(0xad)]())_0x39eb8c(_0x22b5c4[_0x5af0fa(0xd3)][_0x5af0fa(0xcd)][_0x5af0fa(0xaa)](_0x9c8cbd));function _0x39eb8c(_0x239949){const _0x1a0484=_0x5af0fa;for(const _0x3951b6 of _0x239949[_0x1a0484(0xb5)]())_0x3951b6['is'](_0x1a0484(0xdc))&&(_0x37b53d[_0x1a0484(0xc7)](_0x3951b6[_0x1a0484(0xb6)])&&_0xc07ff2[_0x1a0484(0xce)]({'level':_0x37b53d[_0x1a0484(0xd5)](_0x3951b6[_0x1a0484(0xb6)])+0x1,'text':_0x1f482c(_0x3951b6),'modelElement':_0x3951b6}),_0x39eb8c(_0x3951b6));}return _0xc07ff2;}[_0x3c5fcf(0xcc)](){const _0x2e1d6a=_0x3c5fcf,_0x5ab02c=this[_0x2e1d6a(0xd6)][_0x2e1d6a(0xd3)][_0x2e1d6a(0xcd)][_0x2e1d6a(0xd2)][_0x2e1d6a(0xd9)](),_0x461c46=new _0x594281({'direction':_0x2e1d6a(0xb2),'startPosition':_0x5ab02c});for(const _0x3a9d76 of _0x461c46)if(_0x3a9d76[_0x2e1d6a(0xcf)]['is'](_0x2e1d6a(0xdc))&&this[_0x2e1d6a(0xbc)][_0x2e1d6a(0xc7)](_0x3a9d76[_0x2e1d6a(0xcf)][_0x2e1d6a(0xb6)]))return _0x3a9d76[_0x2e1d6a(0xcf)];}[_0x3c5fcf(0xa9)](){const _0x13781f=_0x3c5fcf,_0xca2f40=this[_0x13781f(0xd6)][_0x13781f(0xb0)][_0x13781f(0xb8)](_0x13781f(0xd8));return _0xca2f40||_0x5b762b(this[_0x13781f(0xd6)]);}[_0x3c5fcf(0xb4)](){const _0x4cf682=_0x3c5fcf,_0x2a32a8=this[_0x4cf682(0xd6)],_0x215db7=['h1','h2','h3','h4','h5','h6'],_0x547896=[];for(const _0xefe405 of _0x215db7){const _0x43eed9=_0x2a32a8[_0x4cf682(0xca)][_0x4cf682(0xab)][_0x4cf682(0xd1)][_0x4cf682(0xc1)](document[_0x4cf682(0xbf)](_0xefe405)),_0x11abd3=_0x2a32a8[_0x4cf682(0xc8)][_0x4cf682(0xb3)](_0x43eed9)[_0x4cf682(0xdf)](0x0);(null==_0x11abd3?void 0x0:_0x11abd3['is'](_0x4cf682(0xdc)))&&_0x547896[_0x4cf682(0xce)](_0x11abd3[_0x4cf682(0xb6)]);}this[_0x4cf682(0xbc)]=_0x547896;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x5abb98,_0xcd6d97){const _0xc5d5c7=_0x30ae,_0x77430f=_0x5abb98();while(!![]){try{const _0x18bb6b=parseInt(_0xc5d5c7(0xb7))/0x1+-parseInt(_0xc5d5c7(0xb4))/0x2+parseInt(_0xc5d5c7(0xc1))/0x3*(-parseInt(_0xc5d5c7(0xc8))/0x4)+parseInt(_0xc5d5c7(0xb9))/0x5+-parseInt(_0xc5d5c7(0xc6))/0x6*(parseInt(_0xc5d5c7(0xbf))/0x7)+-parseInt(_0xc5d5c7(0xb3))/0x8*(parseInt(_0xc5d5c7(0xcc))/0x9)+parseInt(_0xc5d5c7(0xc9))/0xa*(parseInt(_0xc5d5c7(0xc2))/0xb);if(_0x18bb6b===_0xcd6d97)break;else _0x77430f['push'](_0x77430f['shift']());}catch(_0x248854){_0x77430f['push'](_0x77430f['shift']());}}}(_0x1285,0x86a04));function _0x30ae(_0x9f2722,_0x5c51a9){const _0x12854a=_0x1285();return _0x30ae=function(_0x30ae1e,_0x120f09){_0x30ae1e=_0x30ae1e-0xb2;let _0x7c0ab3=_0x12854a[_0x30ae1e];return _0x7c0ab3;},_0x30ae(_0x9f2722,_0x5c51a9);}import{View as _0x689be1}from'ckeditor5/src/ui.js';function _0x1285(){const _0x32cbde=['click','18151CHlPZX','ck-document-outline__item_level-','9puRUWp','24403874rRzavB','level','isActive','ck-document-outline__item_active','2148TTSwjO','Empty\x20heading','11444pDkbDI','10MnBuuV','setTemplate','div','1373931BpteAn','set','16uJblYa','975204Ypxrqd','isEmpty','ck-document-outline__item','4754aLJADk','text','289685wMwict','ck-reset','bind','ck-document-outline__item_empty','bindTemplate'];_0x1285=function(){return _0x32cbde;};return _0x1285();}import{getTranslation as _0x46b9d0}from'../../utils/common-translations.js';export default class $ extends _0x689be1{constructor(_0x556f99,_0x4c2697=!0x1){const _0x2fc5e4=_0x30ae;super(_0x556f99);const _0x8288fb=this[_0x2fc5e4(0xbd)],_0x193538=_0x4c2697?'['+_0x46b9d0(_0x556f99,_0x2fc5e4(0xc7))+']':'';this[_0x2fc5e4(0xb2)](_0x2fc5e4(0xb8),''),this[_0x2fc5e4(0xb2)](_0x2fc5e4(0xc3),0x1),this[_0x2fc5e4(0xb2)](_0x2fc5e4(0xc4),!0x1),this[_0x2fc5e4(0xbb)](_0x2fc5e4(0xb5))['to'](this,_0x2fc5e4(0xb8),_0x563262=>!_0x563262),this[_0x2fc5e4(0xca)]({'tag':_0x2fc5e4(0xcb),'attributes':{'class':['ck',_0x2fc5e4(0xba),_0x2fc5e4(0xb6),_0x8288fb['to'](_0x2fc5e4(0xc3),_0x40a2d5=>_0x2fc5e4(0xc0)+_0x40a2d5),_0x8288fb['if'](_0x2fc5e4(0xc4),_0x2fc5e4(0xc5)),_0x8288fb['if'](_0x2fc5e4(0xb5),_0x2fc5e4(0xbc))],'title':_0x8288fb['to'](_0x2fc5e4(0xb8))},'children':[{'text':_0x8288fb['to'](_0x2fc5e4(0xb8),_0x288974=>_0x288974||_0x193538)}],'on':{'click':_0x8288fb['to'](_0x2fc5e4(0xbe))}});}}
|