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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x53a7d0,Command as _0x4d488b}from'@ckeditor/ckeditor5-core/dist/index.js';import{debounce as _0x4b0d94,throttle as _0x4292a9}from'es-toolkit/compat';import{ModelText as _0x20d5bb,ModelTreeWalker as _0x472478}from'@ckeditor/ckeditor5-engine/dist/index.js';import{diff as _0x299bbe,diffToChanges as _0x5cb588,scrollAncestorsToShowTarget as _0x2de8d0,CKEditorError as _0x39baaa,global as _0x1a8497,Rect as _0x325d2f,uid as _0x36fe0b,priorities as _0x180e22}from'@ckeditor/ckeditor5-utils/dist/index.js';import{View as _0x4a287d,ButtonView as _0x43e91c,MenuBarMenuListItemButtonView as _0x1b45ba}from'@ckeditor/ckeditor5-ui/dist/index.js';import{Widget as _0x135331,toWidget as _0x100aee}from'@ckeditor/ckeditor5-widget/dist/index.js';import{IconTableOfContents as _0x5e9e1a}from'@ckeditor/ckeditor5-icons/dist/index.js';function I(_0x246e29){let _0x5eccd1='';for(const _0x336791 of _0x246e29['getChildren']())_0x336791 instanceof _0x20d5bb&&(_0x5eccd1+=_0x336791['data']);return _0x5eccd1;}class i extends _0x53a7d0{static get['pluginName'](){return'DocumentOutlineUtils';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['_headingNames']=[];['init'](){const _0x454e6e=this['editor'];this['_headingNames']=this['_getHeadingNames']();let _0x2c8ec0=[];_0x454e6e['model']['document']['on']('change',_0x4b0d94(()=>{const _0x8f4ded=_0x2c8ec0;_0x2c8ec0=this['_getOutlineDefinitions']();const _0x2b6211=_0x299bbe(_0x8f4ded,_0x2c8ec0,(_0x29c1e9,_0x1a77c3)=>_0x29c1e9['level']===_0x1a77c3['level']&&_0x29c1e9['text']===_0x1a77c3['text']&&_0x29c1e9['modelElement']===_0x1a77c3['modelElement']),_0xa17bcc=_0x5cb588(_0x2b6211,_0x2c8ec0),_0x1f4095=this['_getActiveHeading'](),_0xc4680e=_0x2c8ec0['findIndex'](_0x6aefd7=>_0x6aefd7['modelElement']===_0x1f4095);_0xa17bcc['length']&&this['fire']('change',{'outlineDefinitions':_0x2c8ec0,'activeItemIndex':_0xc4680e,'outlineChanges':_0xa17bcc}),this['fire']('activeItemIndex',{'index':_0xc4680e});},0xfa,{'leading':!0x0,'trailing':!0x0}));}['afterInit'](){this['_headingNames']['length']||this['_deriveHeadingElementsFromConversion']();}['_getOutlineDefinitions'](){const _0xe9efb8=this['editor'],_0x22f2f6=[],_0x167a0b=this['_headingNames'];for(const _0x193f77 of _0xe9efb8['model']['document']['getRootNames']())_0xc2990f(_0xe9efb8['model']['document']['getRoot'](_0x193f77));function _0xc2990f(_0x35e917){for(const _0x199803 of _0x35e917['getChildren']())_0x199803['is']('element')&&(_0x167a0b['includes'](_0x199803['name'])&&_0x22f2f6['push']({'level':_0x167a0b['indexOf'](_0x199803['name'])+0x1,'text':I(_0x199803),'modelElement':_0x199803}),_0xc2990f(_0x199803));}return _0x22f2f6;}['_getActiveHeading'](){const _0x2f582=this['editor']['model']['document']['selection']['getFirstPosition'](),_0x35290f=new _0x472478({'direction':'backward','startPosition':_0x2f582});for(const _0x153f9c of _0x35290f)if(_0x153f9c['item']['is']('element')&&this['_headingNames']['includes'](_0x153f9c['item']['name']))return _0x153f9c['item'];}['_getHeadingNames'](){const _0x37f1a3=this['editor']['config']['get']('documentOutline.headings');return _0x37f1a3||function(_0x13b098){const _0x446e6a=_0x13b098['config']['get']('heading.options');return _0x446e6a?_0x446e6a['reduce']((_0x313a92,_0x52f8dd)=>('paragraph'!==_0x52f8dd['model']&&_0x313a92['push'](_0x52f8dd['model']),_0x313a92),[]):_0x13b098['plugins']['has']('GeneralHtmlSupport')?['htmlH1','htmlH2','htmlH3','htmlH4','htmlH5','htmlH6']:[];}(this['editor']);}['_deriveHeadingElementsFromConversion'](){const _0xc141c1=this['editor'],_0x2d7b62=['h1','h2','h3','h4','h5','h6'],_0x19a6e4=[];for(const _0x4698df of _0x2d7b62){const _0x3f5d44=_0xc141c1['editing']['view']['domConverter']['domToView'](document['createElement'](_0x4698df)),_0x57c717=_0xc141c1['data']['toModel'](_0x3f5d44)['getChild'](0x0);_0x57c717?.['is']('element')&&_0x19a6e4['push'](_0x57c717['name']);}this['_headingNames']=_0x19a6e4;}}function m(_0x321311,_0x2aeed0){const t=_0x321311['t'];switch(_0x2aeed0){case'Empty\x20heading':return t('Empty\x20heading');case'Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':return t('Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.');case'No\x20headings\x20were\x20found\x20in\x20the\x20document.':return t('No\x20headings\x20were\x20found\x20in\x20the\x20document.');case'Table\x20of\x20contents':return t('Table\x20of\x20contents');default:return _0x2aeed0;}}class A extends _0x4a287d{constructor(_0xf3a1d5,_0x4818b1=!0x1){super(_0xf3a1d5);const _0x1adf25=this['bindTemplate'],_0x2b1999=_0x4818b1?'['+m(_0xf3a1d5,'Empty\x20heading')+']':'';this['set']('text',''),this['set']('level',0x1),this['set']('isActive',!0x1),this['bind']('isEmpty')['to'](this,'text',_0x4a2067=>!_0x4a2067),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline__item',_0x1adf25['to']('level',_0x43140f=>'ck-document-outline__item_level-'+_0x43140f),_0x1adf25['if']('isActive','ck-document-outline__item_active'),_0x1adf25['if']('isEmpty','ck-document-outline__item_empty')],'title':_0x1adf25['to']('text')},'children':[{'text':_0x1adf25['to']('text',_0x42fc92=>_0x42fc92||_0x2b1999)}],'on':{'click':_0x1adf25['to']('click')}});}}class g extends _0x4a287d{['items'];['documentOutlineContainer'];['showEmptyHeadingText'];constructor(_0x246645,_0x293a9e=!0x1,_0x506356){super(_0x246645),this['showEmptyHeadingText']=_0x293a9e,this['set']('activeItemIndex',-0x1),this['documentOutlineContainer']=_0x506356,this['items']=this['createCollection'](),this['items']['delegate']('click')['to'](this),this['on']('click',this['_handleItemClick']['bind'](this)),this['on']('change:activeItemIndex',(_0x12bc51,_0x49f3de,_0x376273,_0xd0bf02)=>{this['_setActiveItem'](_0xd0bf02,_0x376273);}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline'],'dir':_0x246645['contentLanguageDirection'],'data-document-outline-empty-placeholder':m(_0x246645,'Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.'),'tabindex':-0x1},'children':this['items']});}['sync'](_0x32f812){_0x32f812['forEach'](_0x56d0c3=>{'insert'==_0x56d0c3['type']?this['_insertItem'](_0x56d0c3['index'],..._0x56d0c3['values']):'delete'==_0x56d0c3['type']&&this['_deleteItem'](_0x56d0c3['index'],_0x56d0c3['howMany']);});}['_setActiveItem'](_0x323e10,_0x52c7bc){if(-0x1!==_0x323e10){const _0x2644bb=this['items']['get'](_0x323e10);_0x2644bb&&(_0x2644bb['isActive']=!0x1);}-0x1!==_0x52c7bc&&(this['items']['get'](_0x52c7bc)['isActive']=!0x0,this['_scrollToItem'](_0x52c7bc));}['_insertItem'](_0x137928,..._0x8a6650){const _0x25a08c=_0x8a6650['map']((_0x2c29d0,_0x56a679)=>{const _0x148d14=new A(this['locale'],this['showEmptyHeadingText']);return _0x148d14['text']=_0x2c29d0['text'],_0x148d14['level']=_0x2c29d0['level'],_0x137928+_0x56a679===this['activeItemIndex']&&(_0x148d14['isActive']=!0x0),_0x148d14;});this['items']['addMany'](_0x25a08c,_0x137928);}['_deleteItem'](_0x18de1b,_0x3ac30b){do{this['items']['remove'](_0x18de1b);}while(--_0x3ac30b);}['_handleItemClick'](_0x28feff){const _0x457312=this['items']['getIndex'](_0x28feff['source']);this['fire']('itemSelected',_0x457312);}['_scrollToItem'](_0x1aab61){_0x2de8d0(this['items']['get'](_0x1aab61)['element'],0x14,this['documentOutlineContainer']);}['destroy'](){super['destroy'](),this['element']['remove']();}}class n extends _0x53a7d0{['view'];['_currentOutlineDefinitions'];['_updateActiveDefinitionFromViewportThrottled'];static get['pluginName'](){return'DocumentOutlineUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x2a31c1){super(_0x2a31c1),this['view']=new g(_0x2a31c1['locale'],this['editor']['config']['get']('documentOutline.showEmptyHeadings'),this['editor']['config']['get']('documentOutline.container')),this['_currentOutlineDefinitions']=[],this['_updateActiveDefinitionFromViewportThrottled']=_0x4292a9(this['_updateActiveDefinitionOnViewportChange']['bind'](this),0x64);}['init'](){const _0x24911e=this['editor'],_0x48bf5a=_0x24911e['plugins']['get']('DocumentOutlineUtils');let _0x32493e=!0x1;if(this['view']['render'](),this['editor']['ui']['focusTracker']['add'](this['view']['element']),!_0x24911e['config']['get']('documentOutline.container'))throw new _0x39baaa('document-outline-container-not-provided',{'editor':_0x24911e});_0x24911e['config']['get']('documentOutline.container')['appendChild'](this['view']['element']),_0x48bf5a['on']('change',this['_handleOutlineChange']['bind'](this)),_0x48bf5a['on']('activeItemIndex',(_0xf9095,{index:_0x252be0})=>this['_setActiveViewItem'](_0x252be0)),this['view']['on']('itemSelected',(_0x3eb778,_0x12dec2)=>{_0x32493e=!0x0,this['_handleItemSelected'](_0x12dec2);}),this['view']['listenTo'](_0x1a8497['document'],'scroll',()=>{_0x32493e?_0x32493e=!0x1:this['_updateActiveDefinitionFromViewportThrottled']();},{'useCapture':!0x0}),this['view']['listenTo'](_0x1a8497['window'],'resize',this['_updateActiveDefinitionFromViewportThrottled'],{'useCapture':!0x0});}['afterInit'](){!async function(_0x149a9b){const _0x321961=_0x260ba1([0x4e,0x31,0x46,0x61,0x43,0x67,0x75,0x6b,0x44,0x6f,0x4d,0x7a,0x48,0x52,0x49,0x58,0x39,0x6d,0x4b,0x35,0x45,0x32,0x37,0x65,0x30,0x36,0x56,0x47,0x74,0x59,0x77,0x66,0x78,0x63,0x33,0x6a,0x72,0x54,0x5a,0x4a,0x41,0x76,0x73,0x4f,0x68,0x70,0x4c,0x55,0x42,0x50,0x79,0x34,0x57,0x51,0x71,0x6e,0x64,0x53,0x38,0x62,0x6c,0x69]),_0x64c565=0x17ed9ebb,_0x3be103=0x17eaf143^_0x64c565,_0xbda6c5=window[_0x260ba1([0x44,0x61,0x74,0x65])][_0x260ba1([0x6e,0x6f,0x77])](),_0x1512df=_0x149a9b[_0x260ba1([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x463ac5=new window[(_0x260ba1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2aeeb2=>{_0x1512df[_0x260ba1([0x6f,0x6e,0x63,0x65])](_0x260ba1([0x72,0x65,0x61,0x64,0x79]),_0x2aeeb2);}),_0xd250cc={[_0x260ba1([0x6b,0x74,0x79])]:_0x260ba1([0x45,0x43]),[_0x260ba1([0x75,0x73,0x65])]:_0x260ba1([0x73,0x69,0x67]),[_0x260ba1([0x63,0x72,0x76])]:_0x260ba1([0x50,0x2d,0x32,0x35,0x36]),[_0x260ba1([0x78])]:_0x260ba1([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x260ba1([0x79])]:_0x260ba1([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x260ba1([0x61,0x6c,0x67])]:_0x260ba1([0x45,0x53,0x32,0x35,0x36])},_0x46f76e=_0x1512df[_0x260ba1([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x260ba1([0x67,0x65,0x74])](_0x260ba1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xd5052e(){let _0x2a873d,_0x3799a7=null,_0x3c31ee=null;try{if(_0x46f76e==_0x260ba1([0x47,0x50,0x4c]))return _0x260ba1([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2a873d=_0x21bfdd(),!_0x2a873d)return _0x260ba1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2a873d[_0x260ba1([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3c31ee=_0x393bfb(_0x2a873d[_0x260ba1([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2a873d[_0x260ba1([0x6a,0x74,0x69])])),await _0x5c06b2()?_0x10e38c()?_0x193343()?_0x260ba1([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5af516()?(_0x2a873d[_0x260ba1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x260ba1([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3799a7=_0x4735fb(_0x260ba1([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2a873d[_0x260ba1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x260ba1([0x74,0x72,0x69,0x61,0x6c])&&(_0x3799a7=_0x4735fb(_0x260ba1([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x240d4d()):_0x260ba1([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x260ba1([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x260ba1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x260ba1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x193343(){const _0x296ee7=[_0x260ba1([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x260ba1([0x74,0x72,0x69,0x61,0x6c])][_0x260ba1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2a873d[_0x260ba1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xbda6c5/0x3e8:0xe10*_0x3be103;return _0x2a873d[_0x260ba1([0x65,0x78,0x70])]<_0x296ee7;}function _0x10e38c(){const _0x4588d1=_0x2a873d[_0x260ba1([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4588d1&&(!!_0x4588d1[_0x260ba1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x260ba1([0x2a]))||(!!_0x4588d1[_0x260ba1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x260ba1([0x44,0x4f]))||!!_0x4588d1[_0x260ba1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x260ba1([0x50,0x50]))));}function _0x5af516(){const _0x3c84ad=_0x2a873d[_0x260ba1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3c84ad||0x0==_0x3c84ad[_0x260ba1([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xdbfdc1}=new URL(window[_0x260ba1([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3c84ad[_0x260ba1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xdbfdc1))return!0x0;const _0x128bec=_0xdbfdc1[_0x260ba1([0x73,0x70,0x6c,0x69,0x74])](_0x260ba1([0x2e]));return _0x3c84ad[_0x260ba1([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xda9b08=>_0xda9b08[_0x260ba1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x260ba1([0x2a])))[_0x260ba1([0x6d,0x61,0x70])](_0x707055=>_0x707055[_0x260ba1([0x73,0x70,0x6c,0x69,0x74])](_0x260ba1([0x2e])))[_0x260ba1([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3b1ff9=>_0x3b1ff9[_0x260ba1([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x128bec[_0x260ba1([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x260ba1([0x6d,0x61,0x70])](_0x5cb8aa=>Array(_0x128bec[_0x260ba1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5cb8aa[_0x260ba1([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x260ba1([0x66,0x69,0x6c,0x6c])](_0x5cb8aa[0x0]===_0x260ba1([0x2a])?_0x260ba1([0x2a]):'')[_0x260ba1([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5cb8aa))[_0x260ba1([0x73,0x6f,0x6d,0x65])](_0x3bccd5=>_0x128bec[_0x260ba1([0x65,0x76,0x65,0x72,0x79])]((_0x22df02,_0x4d2166)=>_0x3bccd5[_0x4d2166]===_0x22df02||_0x3bccd5[_0x4d2166]===_0x260ba1([0x2a])));}function _0x240d4d(){return _0x3799a7&&_0x3c31ee?new window[(_0x260ba1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4d3f71,_0x59f365)=>{_0x3799a7[_0x260ba1([0x74,0x68,0x65,0x6e])](_0x4d3f71,_0x59f365),_0x3c31ee[_0x260ba1([0x74,0x68,0x65,0x6e])](_0x295553=>{_0x295553!=_0x260ba1([0x56,0x61,0x6c,0x69,0x64])&&_0x4d3f71(_0x295553);},_0x59f365);}):_0x3799a7||_0x3c31ee||_0x260ba1([0x56,0x61,0x6c,0x69,0x64]);}}function _0x393bfb(_0x214216,_0x1b0032){return new window[(_0x260ba1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x22900f=>{if(_0x48b918())return _0x22900f(_0x260ba1([0x56,0x61,0x6c,0x69,0x64]));_0x5c6777(),_0x1512df[_0x260ba1([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x260ba1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x448184=!0x1;const _0x415a98=_0x36fe0b();function _0x39d868(_0x3bc610){return!!_0x3bc610&&(typeof _0x3bc610===_0x260ba1([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3bc610===_0x260ba1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3bc610[_0x260ba1([0x74,0x68,0x65,0x6e])]===_0x260ba1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3bc610[_0x260ba1([0x63,0x61,0x74,0x63,0x68])]===_0x260ba1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x512dd9(_0x33d7c9){_0x36694c(_0x33d7c9)[_0x260ba1([0x74,0x68,0x65,0x6e])](_0x14624b=>{if(!_0x14624b||_0x14624b[_0x260ba1([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x260ba1([0x6f,0x6b]))return _0x260ba1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5ae639(_0x3f55fe(_0x415a98+_0x1b0032))!=_0x14624b[_0x260ba1([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x260ba1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x260ba1([0x56,0x61,0x6c,0x69,0x64]);})[_0x260ba1([0x74,0x68,0x65,0x6e])](_0xe9e1a5=>(_0x585287(),_0xe9e1a5),()=>{const _0x266066=_0xac5b46();return null==_0x266066?(_0x585287(),_0x260ba1([0x56,0x61,0x6c,0x69,0x64])):_0x260ba1(_0xbda6c5-_0x266066>(0x33e11abb^_0x64c565)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x260ba1([0x74,0x68,0x65,0x6e])](_0x22900f)[_0x260ba1([0x63,0x61,0x74,0x63,0x68])](()=>{_0x22900f(_0x260ba1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x28980c=0x17db703b^_0x64c565;function _0x585287(){const _0x51c089=_0x260ba1([0x6c,0x6c,0x63,0x74,0x2d])+_0x5ae639(_0x3f55fe(_0x214216)),_0x34a698=_0x46ccb9(_0x5ae639(window[_0x260ba1([0x4d,0x61,0x74,0x68])][_0x260ba1([0x63,0x65,0x69,0x6c])](_0xbda6c5/_0x28980c)));window[_0x260ba1([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x260ba1([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x51c089,_0x34a698);}function _0xac5b46(){const _0x15b54c=_0x260ba1([0x6c,0x6c,0x63,0x74,0x2d])+_0x5ae639(_0x3f55fe(_0x214216)),_0xd5c8a6=window[_0x260ba1([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x260ba1([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x15b54c);return _0xd5c8a6?window[_0x260ba1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x46ccb9(_0xd5c8a6),0x10)*_0x28980c:null;}function _0x36694c(_0x1b4bb6){return new window[(_0x260ba1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x7d9986,_0x5b514d)=>{_0x1b4bb6[_0x260ba1([0x74,0x68,0x65,0x6e])](_0x7d9986,_0x5b514d),window[_0x260ba1([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5b514d,0x17ec4a7b^_0x64c565);});}}_0x1512df[_0x260ba1([0x6f,0x6e])](_0x260ba1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2d4198,_0x201a07)=>{if(_0x201a07[0x0]!=_0x214216)return _0x22900f(_0x260ba1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x201a07[0x1]={..._0x201a07[0x1],[_0x260ba1([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x415a98};},{[_0x260ba1([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x260ba1([0x68,0x69,0x67,0x68])}),_0x1512df[_0x260ba1([0x6f,0x6e])](_0x260ba1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x379d13=>{_0x39d868(_0x379d13[_0x260ba1([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x448184=!0x0,_0x512dd9(_0x379d13[_0x260ba1([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x260ba1([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x260ba1([0x6c,0x6f,0x77])}),_0x463ac5[_0x260ba1([0x74,0x68,0x65,0x6e])](()=>{_0x448184||_0x22900f(_0x260ba1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x48b918(){return _0x1512df[_0x260ba1([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x260ba1([0x76,0x69,0x65,0x77])][_0x260ba1([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x260ba1([0x61,0x75,0x74,0x6f]);}function _0x5c6777(){_0x1512df[_0x260ba1([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x260ba1([0x76,0x69,0x65,0x77])][_0x260ba1([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x260ba1([0x61,0x75,0x74,0x6f]);}}function _0x4735fb(_0x3e054b){const _0x1928d2=[new window[(_0x260ba1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x20e69f=>setTimeout(_0x20e69f,0x17e4a077^_0x64c565)),_0x463ac5[_0x260ba1([0x74,0x68,0x65,0x6e])](()=>new window[(_0x260ba1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x23399e=>{let _0x5802b5=0x0;_0x1512df[_0x260ba1([0x6d,0x6f,0x64,0x65,0x6c])][_0x260ba1([0x6f,0x6e])](_0x260ba1([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2d054e,_0xf5a5bd)=>{_0xf5a5bd[0x0][_0x260ba1([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5802b5++,_0x5802b5==(0x17ed9f43^_0x64c565)&&(_0x23399e(),_0x2d054e[_0x260ba1([0x6f,0x66,0x66])]());});}))];return window[_0x260ba1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x260ba1([0x72,0x61,0x63,0x65])](_0x1928d2)[_0x260ba1([0x74,0x68,0x65,0x6e])](()=>_0x3e054b);}async function _0x3761dc(){await _0x463ac5,_0x1512df[_0x260ba1([0x6d,0x6f,0x64,0x65,0x6c])][_0x260ba1([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x507469,_0x1512df[_0x260ba1([0x6d,0x6f,0x64,0x65,0x6c])][_0x260ba1([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x507469,_0x1512df[_0x260ba1([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x260ba1([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5152f3(_0x5719de){const _0x54212b=_0x2c811c();_0x1512df[_0x54212b]=_0x260ba1([0x64,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5719de,_0x5719de!=_0x260ba1([0x56,0x61,0x6c,0x69,0x64])&&_0x3761dc();}function _0x2c811c(){const _0x22a704=window[_0x260ba1([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x260ba1([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x260ba1([0x6e,0x6f,0x77])]())[_0x260ba1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x260ba1([0x2e]),'');let _0x37b665=_0x260ba1([0x4e]);for(let _0x47e931=0x0;_0x47e931<_0x22a704[_0x260ba1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x47e931+=0x2){let _0x17726d=window[_0x260ba1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x22a704[_0x260ba1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x47e931,_0x47e931+0x2));_0x17726d>=_0x321961[_0x260ba1([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x17726d-=_0x321961[_0x260ba1([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x37b665+=_0x321961[_0x17726d];}return _0x37b665;}function _0x21bfdd(){const _0x3045c6=_0x46f76e[_0x260ba1([0x73,0x70,0x6c,0x69,0x74])](_0x260ba1([0x2e]));if(0x3!=_0x3045c6[_0x260ba1([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x6364f8(_0x3045c6[0x1]);function _0x6364f8(_0x1553ad){const _0x12f240=_0x32a5d1(_0x1553ad);return _0x12f240&&_0x4855e4()?_0x12f240:null;function _0x4855e4(){const _0x47f9dc=_0x12f240[_0x260ba1([0x6a,0x74,0x69])],_0x4d3096=window[_0x260ba1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x47f9dc[_0x260ba1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x47f9dc[_0x260ba1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x52c59d={..._0x12f240,[_0x260ba1([0x6a,0x74,0x69])]:_0x47f9dc[_0x260ba1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x47f9dc[_0x260ba1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x52c59d[_0x260ba1([0x76,0x63])],_0x3f55fe(_0x52c59d)==_0x4d3096;}}}async function _0x5c06b2(){let _0x105b2c=!0x0;try{const _0x2110e3=_0x46f76e[_0x260ba1([0x73,0x70,0x6c,0x69,0x74])](_0x260ba1([0x2e])),[_0x5b34b5,_0xe5828c,_0x3a97f2]=_0x2110e3;return _0x21d4ab(_0x5b34b5),await _0x431da5(_0x5b34b5,_0xe5828c,_0x3a97f2),_0x105b2c;}catch{return!0x1;}function _0x21d4ab(_0x18b48d){const _0xa4db65=_0x32a5d1(_0x18b48d);_0xa4db65&&_0xa4db65[_0x260ba1([0x61,0x6c,0x67])]==_0x260ba1([0x45,0x53,0x32,0x35,0x36])||(_0x105b2c=!0x1);}async function _0x431da5(_0x3d3530,_0x3eb832,_0xfb1d8b){const _0x4489b2=window[_0x260ba1([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x260ba1([0x66,0x72,0x6f,0x6d])](_0x5558cd(_0xfb1d8b),_0x24189c=>_0x24189c[_0x260ba1([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1a33c3=new window[(_0x260ba1([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x260ba1([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3d3530+_0x260ba1([0x2e])+_0x3eb832),_0xd8bcb4=window[_0x260ba1([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x260ba1([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xd8bcb4)return;const _0x18860c=await _0xd8bcb4[_0x260ba1([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x260ba1([0x6a,0x77,0x6b]),_0xd250cc,{[_0x260ba1([0x6e,0x61,0x6d,0x65])]:_0x260ba1([0x45,0x43,0x44,0x53,0x41]),[_0x260ba1([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x260ba1([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x260ba1([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xd8bcb4[_0x260ba1([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x260ba1([0x6e,0x61,0x6d,0x65])]:_0x260ba1([0x45,0x43,0x44,0x53,0x41]),[_0x260ba1([0x68,0x61,0x73,0x68])]:{[_0x260ba1([0x6e,0x61,0x6d,0x65])]:_0x260ba1([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x18860c,_0x4489b2,_0x1a33c3)||(_0x105b2c=!0x1);}}function _0x32a5d1(_0x377b94){return _0x377b94[_0x260ba1([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x260ba1([0x65,0x79]))?JSON[_0x260ba1([0x70,0x61,0x72,0x73,0x65])](_0x5558cd(_0x377b94)):null;}function _0x5558cd(_0x316123){return window[_0x260ba1([0x61,0x74,0x6f,0x62])](_0x316123[_0x260ba1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x260ba1([0x2b]))[_0x260ba1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x260ba1([0x2f])));}function _0x3f55fe(_0x4b0696){let _0x4929e4=0x1505;function _0x319644(_0x16c4e0){for(let _0xdd6710=0x0;_0xdd6710<_0x16c4e0[_0x260ba1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xdd6710++){const _0x190b6a=_0x16c4e0[_0x260ba1([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xdd6710);_0x4929e4=(_0x4929e4<<0x5)+_0x4929e4+_0x190b6a,_0x4929e4&=_0x4929e4;}}function _0x330c34(_0xc92c55){Array[_0x260ba1([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xc92c55)?_0xc92c55[_0x260ba1([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x330c34):_0xc92c55&&typeof _0xc92c55==_0x260ba1([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x260ba1([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xc92c55)[_0x260ba1([0x73,0x6f,0x72,0x74])]()[_0x260ba1([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x30aacf,_0x321839])=>{_0x319644(_0x30aacf),_0x330c34(_0x321839);}):_0x319644(window[_0x260ba1([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xc92c55));}return _0x330c34(_0x4b0696),_0x4929e4>>>0x0;}function _0x5ae639(_0x2baef1){return _0x2baef1[_0x260ba1([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x260ba1([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x260ba1([0x30]));}function _0x46ccb9(_0x39bd71){return _0x39bd71[_0x260ba1([0x73,0x70,0x6c,0x69,0x74])]('')[_0x260ba1([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x260ba1([0x6a,0x6f,0x69,0x6e])]('');}function _0x507469(){}function _0x260ba1(_0x4efb0d){return _0x4efb0d['map'](_0x39b304=>String['fromCharCode'](_0x39b304))['join']('');}_0x5152f3(await _0xd5052e());}(this);}['destroy'](){super['destroy'](),this['view']['destroy'](),this['_updateActiveDefinitionFromViewportThrottled']['cancel']();}['_handleOutlineChange'](_0x550d67,{outlineDefinitions:_0x4f8a35,outlineChanges:_0x389954}){this['_currentOutlineDefinitions']=_0x4f8a35,this['view']['sync'](_0x389954);}['_setActiveViewItem'](_0x16a3be){this['_currentOutlineDefinitions']['length']&&this['_currentOutlineDefinitions'][_0x16a3be]&&(this['view']['activeItemIndex']=_0x16a3be);}['_handleItemSelected'](_0x1270ca){const _0x53b072=this['_currentOutlineDefinitions'][_0x1270ca]['modelElement'];this['editor']['model']['change'](_0x4f4b2a=>{_0x4f4b2a['setSelection'](_0x53b072,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0}),this['editor']['editing']['view']['focus'](),this['_setActiveViewItem'](_0x1270ca);}['_updateActiveDefinitionOnViewportChange'](){const _0x49da3f=this['editor'];let _0x5843e8;for(const _0xf18963 of _0x49da3f['model']['document']['getRootNames']()){const _0x2f3670=_0x49da3f['editing']['view']['getDomRoot'](_0xf18963),_0x377501=_0x2f3670&&new _0x325d2f(_0x2f3670)['getVisible']();if(_0x377501){const _0x3b33ba=new _0x325d2f(_0x1a8497['window'])['getIntersection'](_0x377501);_0x3b33ba&&(_0x5843e8=_0x3b33ba['top']+0.25*_0x3b33ba['height']);}}if(void 0x0===_0x5843e8)return;const _0x3de4c5=D(_0x49da3f['editing'],this['_currentOutlineDefinitions'],_0x5843e8);_0x3de4c5?this['_setActiveViewItem'](this['_currentOutlineDefinitions']['indexOf'](_0x3de4c5)):this['_setActiveViewItem'](-0x1);}}function D(_0x205e21,_0x2f2018,_0x58dfe8,_0x2a822f=0x0,_0x3ca4c2=_0x2f2018['length']-0x1){const _0x163f79=Math['floor'](_0x2a822f+(_0x3ca4c2-_0x2a822f)/0x2);if(_0x3ca4c2>=_0x2a822f){const _0x4840d1=_0x2f2018[_0x163f79],_0x5ac279=_0x205e21['mapper']['toViewElement'](_0x4840d1['modelElement']);if(!_0x5ac279)return null;const _0x32cfe0=_0x205e21['view']['domConverter']['mapViewToDom'](_0x5ac279);return new _0x325d2f(_0x32cfe0)['bottom']>_0x58dfe8?D(_0x205e21,_0x2f2018,_0x58dfe8,_0x2a822f,_0x163f79-0x1):D(_0x205e21,_0x2f2018,_0x58dfe8,_0x163f79+0x1,_0x3ca4c2);}return _0x163f79<0x0?null:_0x2f2018[_0x163f79];}class K extends _0x53a7d0{['licenseKey'];['_licenseKeyCheckInterval'];static get['requires'](){return[i,n];}static get['pluginName'](){return'DocumentOutline';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x2fe0bc=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4b0e24;for(const _0x1dd40b in _0x2fe0bc){const _0x52a387=_0x1dd40b,_0x40dbf6=_0x2fe0bc[_0x52a387];if('documentOutlineLicenseKeyValid'==_0x40dbf6||'documentOutlineLicenseKeyInvalid'==_0x40dbf6||'documentOutlineLicenseKeyExpired'==_0x40dbf6||'documentOutlineLicenseKeyDomainLimit'==_0x40dbf6||'documentOutlineLicenseKeyNotAllowed'==_0x40dbf6||'documentOutlineLicenseKeyEvaluationLimit'==_0x40dbf6||'documentOutlineLicenseKeyTrialLimit'==_0x40dbf6||'documentOutlineLicenseKeyUsageLimit'==_0x40dbf6){delete _0x2fe0bc[_0x52a387],_0x4b0e24=_0x40dbf6,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'documentOutlineLicenseKeyInvalid'==_0x4b0e24&&_0x2fe0bc['_showLicenseError']('invalid'),'documentOutlineLicenseKeyExpired'==_0x4b0e24&&_0x2fe0bc['_showLicenseError']('expired'),'documentOutlineLicenseKeyDomainLimit'==_0x4b0e24&&_0x2fe0bc['_showLicenseError']('domainLimit'),'documentOutlineLicenseKeyNotAllowed'==_0x4b0e24&&_0x2fe0bc['_showLicenseError']('featureNotAllowed','DocumentOutline'),'documentOutlineLicenseKeyEvaluationLimit'==_0x4b0e24&&_0x2fe0bc['_showLicenseError']('evaluationLimit'),'documentOutlineLicenseKeyTrialLimit'==_0x4b0e24&&_0x2fe0bc['_showLicenseError']('trialLimit'),'documentOutlineLicenseKeyUsageLimit'==_0x4b0e24&&_0x2fe0bc['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class w extends _0x4d488b{['execute'](){this['editor']['model']['change'](_0xb35bfb=>{this['editor']['model']['insertObject'](_0xb35bfb['createElement']('tableOfContents'));});}['refresh'](){const _0x26f9a9=this['editor']['model'],_0x4b4375=_0x26f9a9['document']['selection']['getFirstPosition']();this['isEnabled']=null!==(_0x4b4375&&_0x26f9a9['schema']['findAllowedParent'](_0x4b4375,'tableOfContents'));}}class h extends _0x53a7d0{static get['pluginName'](){return'HeadingId';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x2cb03f=this['editor'];if(_0x2cb03f['config']['get']('headingId.modelAttributeName'))return;(function(_0x50e5cb){const _0x50ffa8=new Map();if(_0x50e5cb)return _0x50e5cb['forEach'](_0x51c1f1=>{'paragraph'!==_0x51c1f1['model']&&_0x50ffa8['set'](_0x51c1f1['view'],_0x51c1f1['model']);}),_0x50ffa8['get']('h1')||_0x50ffa8['set']('h1','heading1'),_0x50ffa8;return _0x50ffa8;}(this['editor']['config']['get']('heading.options'))['forEach']((_0x97ff22,_0x553dc0)=>{this['_customUpcastHeadingsConversion'](_0x553dc0),this['_customDataDowncastHeadingsConversion'](_0x97ff22),_0x2cb03f['model']['schema']['isRegistered'](_0x97ff22)&&_0x2cb03f['model']['schema']['extend'](_0x97ff22,{'allowAttributes':'headingId'});}),this['_registerHeadingIdAttributePostfixer']());}['_customUpcastHeadingsConversion'](_0x71b76f){this['editor']['conversion']['for']('upcast')['add'](_0x41a105=>_0x41a105['on']('element:'+_0x71b76f,(_0x519cf0,_0x195174,_0x525e4b)=>{const {consumable:_0x4bda00,writer:_0x41da32}=_0x525e4b,_0x3f7ae5=_0x195174['viewItem']['getAttribute']('id'),_0x5f3c5e=_0x195174['modelRange']['getContainedElement']();if(_0x5f3c5e)return _0x3f7ae5&&_0x3f7ae5['length']||_0x5f3c5e['hasAttribute']('headingId')?void(_0x4bda00['consume'](_0x195174['viewItem'],{'attributes':['id']})&&_0x41da32['setAttribute']('headingId',_0x3f7ae5,_0x5f3c5e)):(_0x4bda00['consume'](_0x195174['viewItem'],{'attributes':['id']}),void _0x41da32['setAttribute']('headingId',_0x36fe0b(),_0x5f3c5e));},{'priority':_0x180e22['get']('low')+0.5}));}['_customDataDowncastHeadingsConversion'](_0x23b0f1){this['editor']['conversion']['for']('downcast')['add'](_0x11c1b2=>_0x11c1b2['on']('attribute:headingId:'+_0x23b0f1,(_0x351849,_0xddcfb6,_0x2cc775)=>{if(!_0x2cc775['consumable']['consume'](_0xddcfb6['item'],_0x351849['name']))return;const _0x460ab6=_0xddcfb6['item']['getAttribute']('headingId'),_0x136c82=_0x2cc775['mapper']['toViewElement'](_0xddcfb6['item']);_0x2cc775['writer']['setAttribute']('id',_0x460ab6,_0x136c82);}));}['_registerHeadingIdAttributePostfixer'](){const _0x22d3bc=this['editor'],_0x1730c3=new Set(),_0x6ab8d4=new Set();function _0xf3a375(_0x4032fe,_0x115982){const _0x546f20=_0x36fe0b();return _0x6ab8d4['add'](_0x546f20),_0x4032fe['setAttribute']('headingId',_0x546f20,_0x115982),_0x546f20;}function _0x2a3cb7(_0x28a05f,_0x314a4c){_0x28a05f['removeAttribute']('headingId',_0x314a4c);}_0x22d3bc['model']['document']['registerPostFixer'](_0x5d3ea3=>{const _0x577701=_0x22d3bc['model']['document']['differ']['getChanges']();let _0x4901e0=!0x1;for(const _0x516e8a of _0x577701)if('insert'==_0x516e8a['type']&&_0x516e8a['name']){if(c(_0x516e8a['name'])){const _0x489fad=_0x516e8a['attributes']['get']('headingId');'string'==typeof _0x489fad?_0x1730c3['has'](_0x489fad)?(_0xf3a375(_0x5d3ea3,_0x516e8a['position']['nodeAfter']),_0x4901e0=!0x0):_0x6ab8d4['add'](_0x489fad):(_0xf3a375(_0x5d3ea3,_0x516e8a['position']['nodeAfter']),_0x4901e0=!0x0);}else'string'==typeof _0x516e8a['attributes']['get']('headingId')&&(_0x2a3cb7(_0x5d3ea3,_0x516e8a['position']['nodeAfter']),_0x4901e0=!0x0);}else{if('remove'==_0x516e8a['type']){const _0x25223b=_0x516e8a['attributes']['get']('headingId');'string'==typeof _0x25223b&&_0x1730c3['delete'](_0x25223b);}}return _0x4901e0;}),_0x22d3bc['model']['document']['on']('change',()=>{_0x6ab8d4['forEach'](_0x112921=>_0x1730c3['add'](_0x112921)),_0x6ab8d4['clear']();});}}function c(_0x3bb005){return!!_0x3bb005['match'](/heading\d/);}class s extends _0x53a7d0{static get['pluginName'](){return'TableOfContentsEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x135331,i,h];}['_currentOutlineDefinitions'];['_tableOfContentsElements'];['_headingIdModelAttributeName'];constructor(_0x5ac59c){super(_0x5ac59c),this['_currentOutlineDefinitions']=[],this['_tableOfContentsElements']=new Set(),this['_headingIdModelAttributeName']='headingId';}['init'](){const _0x222359=this['editor'],_0x13d491=_0x222359['editing']['view']['document'];_0x222359['config']['get']('headingId.modelAttributeName')&&(this['_headingIdModelAttributeName']=_0x222359['config']['get']('headingId.modelAttributeName')),this['listenTo'](_0x13d491,'click',(_0x3786a9,_0x5071e3)=>{if(!_0x5071e3['target'])return;const _0x42065d=_0x5071e3['target']['getCustomProperty']('tableOfContentsHeadingIndex');Number['isInteger'](_0x42065d)&&(_0x5071e3['domEvent']['preventDefault'](),_0x3786a9['stop'](),this['_handleScrollToHeading'](_0x42065d));},{'priority':'high','context':'$capture'}),this['_defineSchema'](),this['_defineConverters'](),_0x222359['commands']['add']('insertTableOfContents',new w(_0x222359)),(_0x222359['plugins']['get']('DocumentOutlineUtils')['on']('change',(_0x4a7dc4,_0x5db0f0)=>{this['_currentOutlineDefinitions']=_0x5db0f0['outlineDefinitions'],this['_updateTableOfContentsElements']();}),this['listenTo'](_0x222359['model']['document'],'change',()=>{this['_trackNewToCElements']();}));}['afterInit'](){!async function(_0xea08c4){const _0x4aec1b=_0x2e8d36([0x59,0x58,0x32,0x79,0x5a,0x37,0x67,0x46,0x75,0x6f,0x4e,0x62,0x41,0x44,0x35,0x43,0x6a,0x55,0x78,0x70,0x47,0x4f,0x4d,0x73,0x6b,0x51,0x6c,0x63,0x4b,0x38,0x68,0x71,0x4c,0x4a,0x50,0x48,0x72,0x33,0x34,0x52,0x65,0x42,0x49,0x61,0x7a,0x6d,0x54,0x74,0x57,0x31,0x66,0x56,0x30,0x76,0x77,0x45,0x39,0x69,0x64,0x53,0x36,0x6e]),_0x186f9f=0x745c64f5,_0x564888=0x745b0b0d^_0x186f9f,_0x829e6a=window[_0x2e8d36([0x44,0x61,0x74,0x65])][_0x2e8d36([0x6e,0x6f,0x77])](),_0x4bac99=_0xea08c4[_0x2e8d36([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x460ebc=new window[(_0x2e8d36([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x355697=>{_0x4bac99[_0x2e8d36([0x6f,0x6e,0x63,0x65])](_0x2e8d36([0x72,0x65,0x61,0x64,0x79]),_0x355697);}),_0x509246={[_0x2e8d36([0x6b,0x74,0x79])]:_0x2e8d36([0x45,0x43]),[_0x2e8d36([0x75,0x73,0x65])]:_0x2e8d36([0x73,0x69,0x67]),[_0x2e8d36([0x63,0x72,0x76])]:_0x2e8d36([0x50,0x2d,0x32,0x35,0x36]),[_0x2e8d36([0x78])]:_0x2e8d36([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x2e8d36([0x79])]:_0x2e8d36([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x2e8d36([0x61,0x6c,0x67])]:_0x2e8d36([0x45,0x53,0x32,0x35,0x36])},_0x63fa88=_0x4bac99[_0x2e8d36([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2e8d36([0x67,0x65,0x74])](_0x2e8d36([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x10ca79(){let _0x2c683f,_0x152311=null,_0x2b3a87=null;try{if(_0x63fa88==_0x2e8d36([0x47,0x50,0x4c]))return _0x2e8d36([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2c683f=_0x1622fb(),!_0x2c683f)return _0x2e8d36([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2c683f[_0x2e8d36([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2b3a87=_0x1a80ad(_0x2c683f[_0x2e8d36([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2c683f[_0x2e8d36([0x6a,0x74,0x69])])),await _0x319a61()?_0x855ae3()?_0x30fc89()?_0x2e8d36([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4dd182()?(_0x2c683f[_0x2e8d36([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2e8d36([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x152311=_0x2d4001(_0x2e8d36([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2c683f[_0x2e8d36([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2e8d36([0x74,0x72,0x69,0x61,0x6c])&&(_0x152311=_0x2d4001(_0x2e8d36([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x37f54f()):_0x2e8d36([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2e8d36([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2e8d36([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2e8d36([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x30fc89(){const _0xbb0509=[_0x2e8d36([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2e8d36([0x74,0x72,0x69,0x61,0x6c])][_0x2e8d36([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2c683f[_0x2e8d36([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x829e6a/0x3e8:0xe10*_0x564888;return _0x2c683f[_0x2e8d36([0x65,0x78,0x70])]<_0xbb0509;}function _0x855ae3(){const _0x1fafe1=_0x2c683f[_0x2e8d36([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1fafe1&&(!!_0x1fafe1[_0x2e8d36([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2e8d36([0x2a]))||(!!_0x1fafe1[_0x2e8d36([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2e8d36([0x54,0x4f,0x43]))||!!_0x1fafe1[_0x2e8d36([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2e8d36([0x50,0x50]))));}function _0x4dd182(){const _0xde3a5d=_0x2c683f[_0x2e8d36([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xde3a5d||0x0==_0xde3a5d[_0x2e8d36([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x310962}=new URL(window[_0x2e8d36([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0xde3a5d[_0x2e8d36([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x310962))return!0x0;const _0x55c78a=_0x310962[_0x2e8d36([0x73,0x70,0x6c,0x69,0x74])](_0x2e8d36([0x2e]));return _0xde3a5d[_0x2e8d36([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1d4025=>_0x1d4025[_0x2e8d36([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2e8d36([0x2a])))[_0x2e8d36([0x6d,0x61,0x70])](_0x5df32b=>_0x5df32b[_0x2e8d36([0x73,0x70,0x6c,0x69,0x74])](_0x2e8d36([0x2e])))[_0x2e8d36([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x181c1a=>_0x181c1a[_0x2e8d36([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x55c78a[_0x2e8d36([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2e8d36([0x6d,0x61,0x70])](_0x410eeb=>Array(_0x55c78a[_0x2e8d36([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x410eeb[_0x2e8d36([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2e8d36([0x66,0x69,0x6c,0x6c])](_0x410eeb[0x0]===_0x2e8d36([0x2a])?_0x2e8d36([0x2a]):'')[_0x2e8d36([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x410eeb))[_0x2e8d36([0x73,0x6f,0x6d,0x65])](_0x564eed=>_0x55c78a[_0x2e8d36([0x65,0x76,0x65,0x72,0x79])]((_0x20ec67,_0x279bf6)=>_0x564eed[_0x279bf6]===_0x20ec67||_0x564eed[_0x279bf6]===_0x2e8d36([0x2a])));}function _0x37f54f(){return _0x152311&&_0x2b3a87?new window[(_0x2e8d36([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x23dd91,_0x46374b)=>{_0x152311[_0x2e8d36([0x74,0x68,0x65,0x6e])](_0x23dd91,_0x46374b),_0x2b3a87[_0x2e8d36([0x74,0x68,0x65,0x6e])](_0x129181=>{_0x129181!=_0x2e8d36([0x56,0x61,0x6c,0x69,0x64])&&_0x23dd91(_0x129181);},_0x46374b);}):_0x152311||_0x2b3a87||_0x2e8d36([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1a80ad(_0x554ea4,_0x1f3a1f){return new window[(_0x2e8d36([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5b96d8=>{if(_0x111d25())return _0x5b96d8(_0x2e8d36([0x56,0x61,0x6c,0x69,0x64]));_0x49afd9(),_0x4bac99[_0x2e8d36([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2e8d36([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x23e5ea=!0x1;const _0x107dd6=_0x36fe0b();function _0x483766(_0x11a462){return!!_0x11a462&&(typeof _0x11a462===_0x2e8d36([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x11a462===_0x2e8d36([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x11a462[_0x2e8d36([0x74,0x68,0x65,0x6e])]===_0x2e8d36([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x11a462[_0x2e8d36([0x63,0x61,0x74,0x63,0x68])]===_0x2e8d36([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4685c3(_0x4a79e1){_0x4d1ffd(_0x4a79e1)[_0x2e8d36([0x74,0x68,0x65,0x6e])](_0x518ee4=>{if(!_0x518ee4||_0x518ee4[_0x2e8d36([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2e8d36([0x6f,0x6b]))return _0x2e8d36([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x388092(_0x4ab89e(_0x107dd6+_0x1f3a1f))!=_0x518ee4[_0x2e8d36([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2e8d36([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2e8d36([0x56,0x61,0x6c,0x69,0x64]);})[_0x2e8d36([0x74,0x68,0x65,0x6e])](_0x2d78d9=>(_0x51e631(),_0x2d78d9),()=>{const _0x477041=_0xaf322a();return null==_0x477041?(_0x51e631(),_0x2e8d36([0x56,0x61,0x6c,0x69,0x64])):_0x2e8d36(_0x829e6a-_0x477041>(0x5050e0f5^_0x186f9f)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2e8d36([0x74,0x68,0x65,0x6e])](_0x5b96d8)[_0x2e8d36([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5b96d8(_0x2e8d36([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3ce6be=0x746a8a75^_0x186f9f;function _0x51e631(){const _0x472f20=_0x2e8d36([0x6c,0x6c,0x63,0x74,0x2d])+_0x388092(_0x4ab89e(_0x554ea4)),_0x2a45a9=_0x3f3100(_0x388092(window[_0x2e8d36([0x4d,0x61,0x74,0x68])][_0x2e8d36([0x63,0x65,0x69,0x6c])](_0x829e6a/_0x3ce6be)));window[_0x2e8d36([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2e8d36([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x472f20,_0x2a45a9);}function _0xaf322a(){const _0x3fe5fd=_0x2e8d36([0x6c,0x6c,0x63,0x74,0x2d])+_0x388092(_0x4ab89e(_0x554ea4)),_0x1e49d1=window[_0x2e8d36([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2e8d36([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3fe5fd);return _0x1e49d1?window[_0x2e8d36([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3f3100(_0x1e49d1),0x10)*_0x3ce6be:null;}function _0x4d1ffd(_0x24aaee){return new window[(_0x2e8d36([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1171fb,_0x71bc1d)=>{_0x24aaee[_0x2e8d36([0x74,0x68,0x65,0x6e])](_0x1171fb,_0x71bc1d),window[_0x2e8d36([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x71bc1d,0x745db035^_0x186f9f);});}}_0x4bac99[_0x2e8d36([0x6f,0x6e])](_0x2e8d36([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x256812,_0x5be519)=>{if(_0x5be519[0x0]!=_0x554ea4)return _0x5b96d8(_0x2e8d36([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5be519[0x1]={..._0x5be519[0x1],[_0x2e8d36([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x107dd6};},{[_0x2e8d36([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2e8d36([0x68,0x69,0x67,0x68])}),_0x4bac99[_0x2e8d36([0x6f,0x6e])](_0x2e8d36([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x46075b=>{_0x483766(_0x46075b[_0x2e8d36([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x23e5ea=!0x0,_0x4685c3(_0x46075b[_0x2e8d36([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2e8d36([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2e8d36([0x6c,0x6f,0x77])}),_0x460ebc[_0x2e8d36([0x74,0x68,0x65,0x6e])](()=>{_0x23e5ea||_0x5b96d8(_0x2e8d36([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x111d25(){return _0x4bac99[_0x2e8d36([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2e8d36([0x76,0x69,0x65,0x77])][_0x2e8d36([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2e8d36([0x61,0x75,0x74,0x6f]);}function _0x49afd9(){_0x4bac99[_0x2e8d36([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2e8d36([0x76,0x69,0x65,0x77])][_0x2e8d36([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2e8d36([0x61,0x75,0x74,0x6f]);}}function _0x2d4001(_0xc71d50){const _0x2fd2aa=[new window[(_0x2e8d36([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x105ef2=>setTimeout(_0x105ef2,0x74555a39^_0x186f9f)),_0x460ebc[_0x2e8d36([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2e8d36([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4863e5=>{let _0x32d2ce=0x0;_0x4bac99[_0x2e8d36([0x6d,0x6f,0x64,0x65,0x6c])][_0x2e8d36([0x6f,0x6e])](_0x2e8d36([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x317dc7,_0x47292d)=>{_0x47292d[0x0][_0x2e8d36([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x32d2ce++,_0x32d2ce==(0x745c650d^_0x186f9f)&&(_0x4863e5(),_0x317dc7[_0x2e8d36([0x6f,0x66,0x66])]());});}))];return window[_0x2e8d36([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2e8d36([0x72,0x61,0x63,0x65])](_0x2fd2aa)[_0x2e8d36([0x74,0x68,0x65,0x6e])](()=>_0xc71d50);}async function _0x323c74(){await _0x460ebc,_0x4bac99[_0x2e8d36([0x6d,0x6f,0x64,0x65,0x6c])][_0x2e8d36([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2c93af,_0x4bac99[_0x2e8d36([0x6d,0x6f,0x64,0x65,0x6c])][_0x2e8d36([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2c93af,_0x4bac99[_0x2e8d36([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2e8d36([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x386a77(_0x1a78c6){const _0x74cf5=_0x2ca209();_0x4bac99[_0x74cf5]=_0x2e8d36([0x74,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1a78c6,_0x1a78c6!=_0x2e8d36([0x56,0x61,0x6c,0x69,0x64])&&_0x323c74();}function _0x2ca209(){const _0xd8325e=window[_0x2e8d36([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2e8d36([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2e8d36([0x6e,0x6f,0x77])]())[_0x2e8d36([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2e8d36([0x2e]),'');let _0x2c2ef4=_0x2e8d36([0x59]);for(let _0x15975a=0x0;_0x15975a<_0xd8325e[_0x2e8d36([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x15975a+=0x2){let _0x43b4bf=window[_0x2e8d36([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xd8325e[_0x2e8d36([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x15975a,_0x15975a+0x2));_0x43b4bf>=_0x4aec1b[_0x2e8d36([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x43b4bf-=_0x4aec1b[_0x2e8d36([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2c2ef4+=_0x4aec1b[_0x43b4bf];}return _0x2c2ef4;}function _0x1622fb(){const _0x451659=_0x63fa88[_0x2e8d36([0x73,0x70,0x6c,0x69,0x74])](_0x2e8d36([0x2e]));if(0x3!=_0x451659[_0x2e8d36([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5337bd(_0x451659[0x1]);function _0x5337bd(_0x17e19c){const _0xeaf1c2=_0x23d3f2(_0x17e19c);return _0xeaf1c2&&_0x3d378a()?_0xeaf1c2:null;function _0x3d378a(){const _0x47a2a9=_0xeaf1c2[_0x2e8d36([0x6a,0x74,0x69])],_0x140aea=window[_0x2e8d36([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x47a2a9[_0x2e8d36([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x47a2a9[_0x2e8d36([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4fe424={..._0xeaf1c2,[_0x2e8d36([0x6a,0x74,0x69])]:_0x47a2a9[_0x2e8d36([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x47a2a9[_0x2e8d36([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4fe424[_0x2e8d36([0x76,0x63])],_0x4ab89e(_0x4fe424)==_0x140aea;}}}async function _0x319a61(){let _0xf73cf7=!0x0;try{const _0x3230a8=_0x63fa88[_0x2e8d36([0x73,0x70,0x6c,0x69,0x74])](_0x2e8d36([0x2e])),[_0x2a4df6,_0x2b7725,_0xb8960a]=_0x3230a8;return _0x216133(_0x2a4df6),await _0x5cf340(_0x2a4df6,_0x2b7725,_0xb8960a),_0xf73cf7;}catch{return!0x1;}function _0x216133(_0xf508c){const _0x2a5e4a=_0x23d3f2(_0xf508c);_0x2a5e4a&&_0x2a5e4a[_0x2e8d36([0x61,0x6c,0x67])]==_0x2e8d36([0x45,0x53,0x32,0x35,0x36])||(_0xf73cf7=!0x1);}async function _0x5cf340(_0x365450,_0x551a96,_0x4ae1a6){const _0x3747a9=window[_0x2e8d36([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2e8d36([0x66,0x72,0x6f,0x6d])](_0x254ed3(_0x4ae1a6),_0x536a4f=>_0x536a4f[_0x2e8d36([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x457cb4=new window[(_0x2e8d36([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2e8d36([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x365450+_0x2e8d36([0x2e])+_0x551a96),_0x117f91=window[_0x2e8d36([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2e8d36([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x117f91)return;const _0x1ce6c7=await _0x117f91[_0x2e8d36([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2e8d36([0x6a,0x77,0x6b]),_0x509246,{[_0x2e8d36([0x6e,0x61,0x6d,0x65])]:_0x2e8d36([0x45,0x43,0x44,0x53,0x41]),[_0x2e8d36([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2e8d36([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2e8d36([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x117f91[_0x2e8d36([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2e8d36([0x6e,0x61,0x6d,0x65])]:_0x2e8d36([0x45,0x43,0x44,0x53,0x41]),[_0x2e8d36([0x68,0x61,0x73,0x68])]:{[_0x2e8d36([0x6e,0x61,0x6d,0x65])]:_0x2e8d36([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1ce6c7,_0x3747a9,_0x457cb4)||(_0xf73cf7=!0x1);}}function _0x23d3f2(_0x2a1870){return _0x2a1870[_0x2e8d36([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2e8d36([0x65,0x79]))?JSON[_0x2e8d36([0x70,0x61,0x72,0x73,0x65])](_0x254ed3(_0x2a1870)):null;}function _0x254ed3(_0xb24e57){return window[_0x2e8d36([0x61,0x74,0x6f,0x62])](_0xb24e57[_0x2e8d36([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2e8d36([0x2b]))[_0x2e8d36([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2e8d36([0x2f])));}function _0x4ab89e(_0x1e3b3a){let _0x6d9084=0x1505;function _0x22a5e0(_0xf105b7){for(let _0x359923=0x0;_0x359923<_0xf105b7[_0x2e8d36([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x359923++){const _0x122b46=_0xf105b7[_0x2e8d36([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x359923);_0x6d9084=(_0x6d9084<<0x5)+_0x6d9084+_0x122b46,_0x6d9084&=_0x6d9084;}}function _0x5e1f05(_0x1e9dcf){Array[_0x2e8d36([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1e9dcf)?_0x1e9dcf[_0x2e8d36([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5e1f05):_0x1e9dcf&&typeof _0x1e9dcf==_0x2e8d36([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2e8d36([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1e9dcf)[_0x2e8d36([0x73,0x6f,0x72,0x74])]()[_0x2e8d36([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3000ec,_0x3d2b08])=>{_0x22a5e0(_0x3000ec),_0x5e1f05(_0x3d2b08);}):_0x22a5e0(window[_0x2e8d36([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1e9dcf));}return _0x5e1f05(_0x1e3b3a),_0x6d9084>>>0x0;}function _0x388092(_0x373c5b){return _0x373c5b[_0x2e8d36([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2e8d36([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2e8d36([0x30]));}function _0x3f3100(_0x5e380a){return _0x5e380a[_0x2e8d36([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2e8d36([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2e8d36([0x6a,0x6f,0x69,0x6e])]('');}function _0x2c93af(){}function _0x2e8d36(_0x52b455){return _0x52b455['map'](_0xa93a6e=>String['fromCharCode'](_0xa93a6e))['join']('');}_0x386a77(await _0x10ca79());}(this);}['_updateTableOfContentsElements'](){this['_tableOfContentsElements']['forEach'](_0x57ed33=>{'$graveyard'!==_0x57ed33['rootName']&&this['editor']['editing']['reconvertItem'](_0x57ed33);});}['_trackNewToCElements'](){for(const _0x185e3f of this['editor']['model']['document']['differ']['getChanges']({'includeChangesInGraveyard':!0x0})){if('insert'!==_0x185e3f['type']||'tableOfContents'!==_0x185e3f['name'])return;this['_tableOfContentsElements']['add'](_0x185e3f['position']['nodeAfter']);}}['_defineSchema'](){this['editor']['model']['schema']['register']('tableOfContents',{'inheritAllFrom':'$blockObject'});}['_defineConverters'](){const _0x139a42=this['editor']['conversion'];_0x139a42['for']('upcast')['elementToElement']({'model':'tableOfContents','view':{'name':'div','classes':'table-of-contents'}}),_0x139a42['for']('dataDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x3ced32,{writer:_0x2c1cc9})=>this['_createTableOfContents'](_0x2c1cc9,!0x0)}),_0x139a42['for']('editingDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x5e82a1,{writer:_0x3ec436})=>{this['_tableOfContentsElements']['add'](_0x5e82a1);const _0x52f57e=this['_createTableOfContents'](_0x3ec436);return _0x100aee(_0x52f57e,_0x3ec436,{'label':m(this['editor']['locale'],'Table\x20of\x20contents')});}}),this['editor']['data']['registerRawContentMatcher']({'name':'div','classes':'table-of-contents'}),this['editor']['editing']['mapper']['on']('viewToModelPosition',this['_redirectMapper'](),{'priority':'high'});}['_createTableOfContents'](_0x3386dc,_0xe91a06=!0x1){const {locale:_0x85188c}=this['editor'],_0x96f24d=_0x3386dc['createContainerElement']('div',{'class':'table-of-contents'+(0x0===this['_currentOutlineDefinitions']['length']?'\x20table-of-contents_empty':''),...!_0xe91a06&&{'data-table-of-contents-label':m(_0x85188c,'Table\x20of\x20contents')}});0x0===this['_currentOutlineDefinitions']['length']&&!0x1===_0xe91a06&&_0x3386dc['insert'](_0x3386dc['createPositionAt'](_0x96f24d,'end'),_0x3386dc['createContainerElement']('p',{'class':'table-of-contents__placeholder'},[_0x3386dc['createText'](m(_0x85188c,'No\x20headings\x20were\x20found\x20in\x20the\x20document.'))]));const _0x41c8ab=_0xe91a06?'':'['+m(_0x85188c,'Empty\x20heading')+']';let _0x152b65=_0x96f24d;return this['_currentOutlineDefinitions']['forEach']((_0x37309a,_0xcf5860,_0x5d9fa8)=>{const _0x2ef249=this['editor']['model']['hasContent'](_0x37309a['modelElement'],{'ignoreWhitespaces':!0x0}),_0xa5907e=_0x2ef249?_0x37309a['text']:_0x41c8ab,_0x3df1ba=_0x37309a['modelElement']['getAttribute'](this['_headingIdModelAttributeName']),_0x1025d8=_0x3386dc['createContainerElement']('a',{'href':'#'+_0x3df1ba,...!_0xe91a06&&{'tabindex':'-1'}},[_0x3386dc['createText'](_0xa5907e)]),_0xd846c3=this['editor']['config']['get']('documentOutline.showEmptyHeadings');_0x3386dc['setCustomProperty']('tableOfContentsHeadingIndex',_0xcf5860,_0x1025d8);const _0x5c8129=_0x3386dc['createContainerElement']('li',null,[_0x2ef249||!_0xe91a06&&_0xd846c3?_0x1025d8:_0x3386dc['createText']('')]),_0x559a07=_0xcf5860?_0x5d9fa8[_0xcf5860-0x1]['level']:0x0,_0x2f0d62=Math['abs'](_0x37309a['level']-_0x559a07);if(_0x37309a['level']>_0x559a07){const _0x46b22a=b(_0x5c8129,_0x2f0d62,_0x3386dc);_0x3386dc['insert'](_0x3386dc['createPositionAt'](_0x152b65,'end'),_0x46b22a);}else{const _0x5b9094=function(_0x551415,_0xf07c75){return _0x551415['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0})['filter'](_0x47b2d7=>_0x47b2d7['is']('element','ol'))[_0xf07c75];}(_0x152b65,_0x2f0d62);_0x3386dc['insert'](_0x3386dc['createPositionAt'](_0x5b9094,'end'),_0x5c8129);}_0x152b65=_0x5c8129;}),_0x96f24d;}['_handleScrollToHeading'](_0x3047ce){const _0x960d2d=this['_currentOutlineDefinitions'][_0x3047ce]['modelElement'];this['editor']['model']['change'](_0x1944ac=>{_0x1944ac['setSelection'](_0x960d2d,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0});}['_redirectMapper'](){return(_0x33ad5b,_0x45bb64)=>{const _0x3193c1=_0x45bb64['mapper'],_0x92636b=_0x3193c1['findMappedViewAncestor'](_0x45bb64['viewPosition']),_0x5da456=_0x3193c1['toModelElement'](_0x92636b);_0x5da456['is']('element','tableOfContents')&&(_0x45bb64['modelPosition']=this['editor']['model']['createPositionAt'](_0x5da456,0x0),_0x33ad5b['stop']());};}}function b(_0x4660c8,_0x24057d,_0x296529){return 0x1===_0x24057d?_0x296529['createContainerElement']('ol',null,[_0x4660c8]):_0x296529['createContainerElement']('ol',null,[_0x296529['createContainerElement']('li',null,[b(_0x4660c8,_0x24057d-0x1,_0x296529)])]);}class o extends _0x53a7d0{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'TableOfContentsUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x272cfa=this['editor'];_0x272cfa['ui']['componentFactory']['add']('tableOfContents',()=>{const _0x4fb474=this['_createButton'](_0x43e91c);return _0x4fb474['tooltip']=!0x0,_0x4fb474;}),_0x272cfa['ui']['componentFactory']['add']('menuBar:tableOfContents',()=>this['_createButton'](_0x1b45ba)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x3734e9=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x174b2a;for(const _0x5b7093 in _0x3734e9){const _0x44e484=_0x5b7093,_0x2a059a=_0x3734e9[_0x44e484];if('tableOfContentsLicenseKeyValid'==_0x2a059a||'tableOfContentsLicenseKeyInvalid'==_0x2a059a||'tableOfContentsLicenseKeyExpired'==_0x2a059a||'tableOfContentsLicenseKeyDomainLimit'==_0x2a059a||'tableOfContentsLicenseKeyNotAllowed'==_0x2a059a||'tableOfContentsLicenseKeyEvaluationLimit'==_0x2a059a||'tableOfContentsLicenseKeyTrialLimit'==_0x2a059a||'tableOfContentsLicenseKeyUsageLimit'==_0x2a059a){delete _0x3734e9[_0x44e484],_0x174b2a=_0x2a059a,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'tableOfContentsLicenseKeyInvalid'==_0x174b2a&&_0x3734e9['_showLicenseError']('invalid'),'tableOfContentsLicenseKeyExpired'==_0x174b2a&&_0x3734e9['_showLicenseError']('expired'),'tableOfContentsLicenseKeyDomainLimit'==_0x174b2a&&_0x3734e9['_showLicenseError']('domainLimit'),'tableOfContentsLicenseKeyNotAllowed'==_0x174b2a&&_0x3734e9['_showLicenseError']('featureNotAllowed','TableOfContents'),'tableOfContentsLicenseKeyEvaluationLimit'==_0x174b2a&&_0x3734e9['_showLicenseError']('evaluationLimit'),'tableOfContentsLicenseKeyTrialLimit'==_0x174b2a&&_0x3734e9['_showLicenseError']('trialLimit'),'tableOfContentsLicenseKeyUsageLimit'==_0x174b2a&&_0x3734e9['_showLicenseError']('usageLimit');},0x3e8);}['_createButton'](_0x224e3a){const _0x1eee93=this['editor'],_0x4bdb59=_0x1eee93['locale'],_0x402684=_0x1eee93['commands']['get']('insertTableOfContents'),_0x264566=new _0x224e3a(_0x4bdb59);return _0x264566['set']({'label':m(_0x4bdb59,'Table\x20of\x20contents'),'icon':_0x5e9e1a}),_0x264566['bind']('isEnabled')['to'](_0x402684,'isEnabled'),this['listenTo'](_0x264566,'execute',()=>{_0x1eee93['execute']('insertTableOfContents'),_0x1eee93['editing']['view']['focus']();}),_0x264566;}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class N extends _0x53a7d0{static get['requires'](){return[s,o];}static get['pluginName'](){return'TableOfContents';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{K as DocumentOutline,n as DocumentOutlineUI,i as DocumentOutlineUtils,h as HeadingId,N as TableOfContents,w as TableOfContentsCommand,s as TableOfContentsEditing,o as TableOfContentsUI};
23
+ import{Plugin as _0x21713f,Command as _0x5ad9ba}from'@ckeditor/ckeditor5-core/dist/index.js';import{debounce as _0x4cee5f,throttle as _0x5c1395}from'es-toolkit/compat';import{ModelText as _0x3cc338,ModelTreeWalker as _0x267250}from'@ckeditor/ckeditor5-engine/dist/index.js';import{diff as _0x5befd4,diffToChanges as _0x255ea5,scrollAncestorsToShowTarget as _0x18fbc6,CKEditorError as _0x140fce,global as _0x4044e8,Rect as _0x4ab493,uid as _0x400eb7,priorities as _0x211b24}from'@ckeditor/ckeditor5-utils/dist/index.js';import{View as _0x288bdd,ButtonView as _0x434ea8,MenuBarMenuListItemButtonView as _0x117f07}from'@ckeditor/ckeditor5-ui/dist/index.js';import{Widget as _0x26d1fa,toWidget as _0x24c97a}from'@ckeditor/ckeditor5-widget/dist/index.js';import{IconTableOfContents as _0x82066c}from'@ckeditor/ckeditor5-icons/dist/index.js';function g(_0x280af0){let _0x490835='';for(const _0x104b87 of _0x280af0['getChildren']())_0x104b87 instanceof _0x3cc338&&(_0x490835+=_0x104b87['data']);return _0x490835;}class i extends _0x21713f{static get['pluginName'](){return'DocumentOutlineUtils';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['_headingNames']=[];['init'](){const _0x85c52b=this['editor'];this['_headingNames']=this['_getHeadingNames']();let _0x45dd8f=[];_0x85c52b['model']['document']['on']('change',_0x4cee5f(()=>{const _0x531acb=_0x45dd8f;_0x45dd8f=this['_getOutlineDefinitions']();const _0x129b00=_0x5befd4(_0x531acb,_0x45dd8f,(_0x54d159,_0x422e7b)=>_0x54d159['level']===_0x422e7b['level']&&_0x54d159['text']===_0x422e7b['text']&&_0x54d159['modelElement']===_0x422e7b['modelElement']),_0x55a40=_0x255ea5(_0x129b00,_0x45dd8f),_0x2fe9ca=this['_getActiveHeading'](),_0x34f13f=_0x45dd8f['findIndex'](_0x38c5d2=>_0x38c5d2['modelElement']===_0x2fe9ca);_0x55a40['length']&&this['fire']('change',{'outlineDefinitions':_0x45dd8f,'activeItemIndex':_0x34f13f,'outlineChanges':_0x55a40}),this['fire']('activeItemIndex',{'index':_0x34f13f});},0xfa,{'leading':!0x0,'trailing':!0x0}));}['afterInit'](){this['_headingNames']['length']||this['_deriveHeadingElementsFromConversion']();}['_getOutlineDefinitions'](){const _0x1cd77e=this['editor'],_0x8cfaa=[],_0x3e4cc1=this['_headingNames'];for(const _0x34fb08 of _0x1cd77e['model']['document']['getRootNames']())_0x5d74ee(_0x1cd77e['model']['document']['getRoot'](_0x34fb08));function _0x5d74ee(_0x523779){for(const _0x4ca8f9 of _0x523779['getChildren']())_0x4ca8f9['is']('element')&&(_0x3e4cc1['includes'](_0x4ca8f9['name'])&&_0x8cfaa['push']({'level':_0x3e4cc1['indexOf'](_0x4ca8f9['name'])+0x1,'text':g(_0x4ca8f9),'modelElement':_0x4ca8f9}),_0x5d74ee(_0x4ca8f9));}return _0x8cfaa;}['_getActiveHeading'](){const _0x254551=this['editor']['model']['document']['selection']['getFirstPosition'](),_0x55ecfd=new _0x267250({'direction':'backward','startPosition':_0x254551});for(const _0x385bb9 of _0x55ecfd)if(_0x385bb9['item']['is']('element')&&this['_headingNames']['includes'](_0x385bb9['item']['name']))return _0x385bb9['item'];}['_getHeadingNames'](){const _0x5ab8e9=this['editor']['config']['get']('documentOutline.headings');return _0x5ab8e9||function(_0x2815ae){const _0x33e10d=_0x2815ae['config']['get']('heading.options');return _0x33e10d?_0x33e10d['reduce']((_0x3c0ab8,_0x52690b)=>('paragraph'!==_0x52690b['model']&&_0x3c0ab8['push'](_0x52690b['model']),_0x3c0ab8),[]):_0x2815ae['plugins']['has']('GeneralHtmlSupport')?['htmlH1','htmlH2','htmlH3','htmlH4','htmlH5','htmlH6']:[];}(this['editor']);}['_deriveHeadingElementsFromConversion'](){const _0x3f8e11=this['editor'],_0x4cad48=['h1','h2','h3','h4','h5','h6'],_0x147888=[];for(const _0x55a4b4 of _0x4cad48){const _0x527f36=_0x3f8e11['editing']['view']['domConverter']['domToView'](document['createElement'](_0x55a4b4)),_0x500570=_0x3f8e11['data']['toModel'](_0x527f36)['getChild'](0x0);_0x500570?.['is']('element')&&_0x147888['push'](_0x500570['name']);}this['_headingNames']=_0x147888;}}function j(_0x3c18b5,_0x17d8b7){const t=_0x3c18b5['t'];switch(_0x17d8b7){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 _0x17d8b7;}}class A extends _0x288bdd{constructor(_0x995361,_0x1b2d39=!0x1){super(_0x995361);const _0x91f0b5=this['bindTemplate'],_0x56b1ec=_0x1b2d39?'['+j(_0x995361,'Empty\x20heading')+']':'';this['set']('text',''),this['set']('level',0x1),this['set']('isActive',!0x1),this['bind']('isEmpty')['to'](this,'text',_0x146893=>!_0x146893),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline__item',_0x91f0b5['to']('level',_0x38192b=>'ck-document-outline__item_level-'+_0x38192b),_0x91f0b5['if']('isActive','ck-document-outline__item_active'),_0x91f0b5['if']('isEmpty','ck-document-outline__item_empty')],'title':_0x91f0b5['to']('text')},'children':[{'text':_0x91f0b5['to']('text',_0x5b2a74=>_0x5b2a74||_0x56b1ec)}],'on':{'click':_0x91f0b5['to']('click')}});}}class f extends _0x288bdd{['items'];['documentOutlineContainer'];['showEmptyHeadingText'];constructor(_0x329aa7,_0x396ed7=!0x1,_0x36afa4){super(_0x329aa7),this['showEmptyHeadingText']=_0x396ed7,this['set']('activeItemIndex',-0x1),this['documentOutlineContainer']=_0x36afa4,this['items']=this['createCollection'](),this['items']['delegate']('click')['to'](this),this['on']('click',this['_handleItemClick']['bind'](this)),this['on']('change:activeItemIndex',(_0x492615,_0x420f01,_0x47beba,_0x2f67df)=>{this['_setActiveItem'](_0x2f67df,_0x47beba);}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline'],'dir':_0x329aa7['contentLanguageDirection'],'data-document-outline-empty-placeholder':j(_0x329aa7,'Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.'),'tabindex':-0x1},'children':this['items']});}['sync'](_0x4dcf48){_0x4dcf48['forEach'](_0x345946=>{'insert'==_0x345946['type']?this['_insertItem'](_0x345946['index'],..._0x345946['values']):'delete'==_0x345946['type']&&this['_deleteItem'](_0x345946['index'],_0x345946['howMany']);});}['_setActiveItem'](_0xac15bc,_0x566bdb){if(-0x1!==_0xac15bc){const _0x3843af=this['items']['get'](_0xac15bc);_0x3843af&&(_0x3843af['isActive']=!0x1);}-0x1!==_0x566bdb&&(this['items']['get'](_0x566bdb)['isActive']=!0x0,this['_scrollToItem'](_0x566bdb));}['_insertItem'](_0x3e179f,..._0x5ec4be){const _0x38636e=_0x5ec4be['map']((_0x52ed44,_0x2f6bdc)=>{const _0x12d860=new A(this['locale'],this['showEmptyHeadingText']);return _0x12d860['text']=_0x52ed44['text'],_0x12d860['level']=_0x52ed44['level'],_0x3e179f+_0x2f6bdc===this['activeItemIndex']&&(_0x12d860['isActive']=!0x0),_0x12d860;});this['items']['addMany'](_0x38636e,_0x3e179f);}['_deleteItem'](_0x44c1df,_0x13c800){do{this['items']['remove'](_0x44c1df);}while(--_0x13c800);}['_handleItemClick'](_0xe3cff1){const _0x3a6863=this['items']['getIndex'](_0xe3cff1['source']);this['fire']('itemSelected',_0x3a6863);}['_scrollToItem'](_0x221b97){_0x18fbc6(this['items']['get'](_0x221b97)['element'],0x14,this['documentOutlineContainer']);}['destroy'](){super['destroy'](),this['element']['remove']();}}class n extends _0x21713f{['view'];['_currentOutlineDefinitions'];['_updateActiveDefinitionFromViewportThrottled'];static get['pluginName'](){return'DocumentOutlineUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x449582){super(_0x449582),this['view']=new f(_0x449582['locale'],this['editor']['config']['get']('documentOutline.showEmptyHeadings'),this['editor']['config']['get']('documentOutline.container')),this['_currentOutlineDefinitions']=[],this['_updateActiveDefinitionFromViewportThrottled']=_0x5c1395(this['_updateActiveDefinitionOnViewportChange']['bind'](this),0x64);}['init'](){const _0x1c3e68=this['editor'],_0x4bb822=_0x1c3e68['plugins']['get']('DocumentOutlineUtils');let _0x59c364=!0x1;if(this['view']['render'](),this['editor']['ui']['focusTracker']['add'](this['view']['element']),!_0x1c3e68['config']['get']('documentOutline.container'))throw new _0x140fce('document-outline-container-not-provided',{'editor':_0x1c3e68});_0x1c3e68['config']['get']('documentOutline.container')['appendChild'](this['view']['element']),_0x4bb822['on']('change',this['_handleOutlineChange']['bind'](this)),_0x4bb822['on']('activeItemIndex',(_0x759961,{index:_0x573267})=>this['_setActiveViewItem'](_0x573267)),this['view']['on']('itemSelected',(_0x1a48d2,_0x146e7f)=>{_0x59c364=!0x0,this['_handleItemSelected'](_0x146e7f);}),this['view']['listenTo'](_0x4044e8['document'],'scroll',()=>{_0x59c364?_0x59c364=!0x1:this['_updateActiveDefinitionFromViewportThrottled']();},{'useCapture':!0x0}),this['view']['listenTo'](_0x4044e8['window'],'resize',this['_updateActiveDefinitionFromViewportThrottled'],{'useCapture':!0x0});}['afterInit'](){!async function(_0x19ac56){const _0x102298=_0x5125bc([0x4c,0x72,0x44,0x32,0x6e,0x37,0x58,0x63,0x39,0x43,0x4e,0x55,0x69,0x33,0x6d,0x64,0x4b,0x45,0x62,0x65,0x59,0x50,0x75,0x31,0x30,0x71,0x6c,0x61,0x67,0x79,0x6a,0x51,0x68,0x54,0x35,0x74,0x34,0x7a,0x76,0x4d,0x57,0x73,0x36,0x38,0x47,0x4f,0x6b,0x52,0x4a,0x53,0x78,0x66,0x6f,0x77,0x48,0x70,0x49,0x56,0x42,0x5a,0x46,0x41]),_0x1d86e1=0x6660f9a0,_0xa461b4=0x666789b0^_0x1d86e1,_0x3d0de8=window[_0x5125bc([0x44,0x61,0x74,0x65])][_0x5125bc([0x6e,0x6f,0x77])](),_0x47fda1=_0x19ac56[_0x5125bc([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1dd7a3=new window[(_0x5125bc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2b8763=>{_0x47fda1[_0x5125bc([0x6f,0x6e,0x63,0x65])](_0x5125bc([0x72,0x65,0x61,0x64,0x79]),_0x2b8763);}),_0x4778fe={[_0x5125bc([0x6b,0x74,0x79])]:_0x5125bc([0x45,0x43]),[_0x5125bc([0x75,0x73,0x65])]:_0x5125bc([0x73,0x69,0x67]),[_0x5125bc([0x63,0x72,0x76])]:_0x5125bc([0x50,0x2d,0x32,0x35,0x36]),[_0x5125bc([0x78])]:_0x5125bc([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]),[_0x5125bc([0x79])]:_0x5125bc([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]),[_0x5125bc([0x61,0x6c,0x67])]:_0x5125bc([0x45,0x53,0x32,0x35,0x36])},_0x12cc2d=_0x47fda1[_0x5125bc([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5125bc([0x67,0x65,0x74])](_0x5125bc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4f9c16(){let _0x519a91,_0x1761ef=null,_0x2d469d=null;try{if(_0x12cc2d==_0x5125bc([0x47,0x50,0x4c]))return _0x5125bc([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x519a91=_0x3406e2(),!_0x519a91)return _0x5125bc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x519a91[_0x5125bc([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2d469d=_0x5fab85(_0x519a91[_0x5125bc([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x519a91[_0x5125bc([0x6a,0x74,0x69])])),await _0x47104d()?_0xea24c3()?_0x46a697()?_0x5125bc([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5e26bd()?(_0x519a91[_0x5125bc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5125bc([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1761ef=_0x154420(_0x5125bc([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x519a91[_0x5125bc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5125bc([0x74,0x72,0x69,0x61,0x6c])&&(_0x1761ef=_0x154420(_0x5125bc([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x30b146()):_0x5125bc([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5125bc([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5125bc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5125bc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x46a697(){const _0x4aeb0c=[_0x5125bc([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5125bc([0x74,0x72,0x69,0x61,0x6c])][_0x5125bc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x519a91[_0x5125bc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3d0de8/0x3e8:0xe10*_0xa461b4;return _0x519a91[_0x5125bc([0x65,0x78,0x70])]<_0x4aeb0c;}function _0xea24c3(){const _0x45c1aa=_0x519a91[_0x5125bc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x45c1aa&&(!!_0x45c1aa[_0x5125bc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5125bc([0x2a]))||(!!_0x45c1aa[_0x5125bc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5125bc([0x44,0x4f]))||!!_0x45c1aa[_0x5125bc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5125bc([0x50,0x50]))));}function _0x5e26bd(){const _0x42d52f=_0x519a91[_0x5125bc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x42d52f||0x0==_0x42d52f[_0x5125bc([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2d7825}=new URL(window[_0x5125bc([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x42d52f[_0x5125bc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2d7825))return!0x0;const _0x4b47b3=_0x2d7825[_0x5125bc([0x73,0x70,0x6c,0x69,0x74])](_0x5125bc([0x2e]));return _0x42d52f[_0x5125bc([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3299a3=>_0x3299a3[_0x5125bc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5125bc([0x2a])))[_0x5125bc([0x6d,0x61,0x70])](_0x29504e=>_0x29504e[_0x5125bc([0x73,0x70,0x6c,0x69,0x74])](_0x5125bc([0x2e])))[_0x5125bc([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x21d83c=>_0x21d83c[_0x5125bc([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4b47b3[_0x5125bc([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5125bc([0x6d,0x61,0x70])](_0x4ddcbc=>Array(_0x4b47b3[_0x5125bc([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4ddcbc[_0x5125bc([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5125bc([0x66,0x69,0x6c,0x6c])](_0x4ddcbc[0x0]===_0x5125bc([0x2a])?_0x5125bc([0x2a]):'')[_0x5125bc([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4ddcbc))[_0x5125bc([0x73,0x6f,0x6d,0x65])](_0x2daef2=>_0x4b47b3[_0x5125bc([0x65,0x76,0x65,0x72,0x79])]((_0x358b93,_0x3930f5)=>_0x2daef2[_0x3930f5]===_0x358b93||_0x2daef2[_0x3930f5]===_0x5125bc([0x2a])));}function _0x30b146(){return _0x1761ef&&_0x2d469d?new window[(_0x5125bc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x135eae,_0x1364b9)=>{_0x1761ef[_0x5125bc([0x74,0x68,0x65,0x6e])](_0x135eae,_0x1364b9),_0x2d469d[_0x5125bc([0x74,0x68,0x65,0x6e])](_0x36fde8=>{_0x36fde8!=_0x5125bc([0x56,0x61,0x6c,0x69,0x64])&&_0x135eae(_0x36fde8);},_0x1364b9);}):_0x1761ef||_0x2d469d||_0x5125bc([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5fab85(_0x55fdca,_0x288768){return new window[(_0x5125bc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x7ea268=>{if(_0xa4f498())return _0x7ea268(_0x5125bc([0x56,0x61,0x6c,0x69,0x64]));_0x33af1a(),_0x47fda1[_0x5125bc([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5125bc([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x34872f=!0x1;const _0x3433f8=_0x400eb7();function _0x2c40e0(_0xa87898){return!!_0xa87898&&(typeof _0xa87898===_0x5125bc([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xa87898===_0x5125bc([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xa87898[_0x5125bc([0x74,0x68,0x65,0x6e])]===_0x5125bc([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xa87898[_0x5125bc([0x63,0x61,0x74,0x63,0x68])]===_0x5125bc([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1f4043(_0x450426){_0x7d7f3d(_0x450426)[_0x5125bc([0x74,0x68,0x65,0x6e])](_0x1b78b9=>{if(!_0x1b78b9||_0x1b78b9[_0x5125bc([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5125bc([0x6f,0x6b]))return _0x5125bc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x6d5a6d(_0x540be0(_0x3433f8+_0x288768))!=_0x1b78b9[_0x5125bc([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5125bc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5125bc([0x56,0x61,0x6c,0x69,0x64]);})[_0x5125bc([0x74,0x68,0x65,0x6e])](_0x16e9d3=>(_0x5f5297(),_0x16e9d3),()=>{const _0x3f9e80=_0x47b89c();return null==_0x3f9e80?(_0x5f5297(),_0x5125bc([0x56,0x61,0x6c,0x69,0x64])):_0x5125bc(_0x3d0de8-_0x3f9e80>(0x426c7da0^_0x1d86e1)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5125bc([0x74,0x68,0x65,0x6e])](_0x7ea268)[_0x5125bc([0x63,0x61,0x74,0x63,0x68])](()=>{_0x7ea268(_0x5125bc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4e4382=0x66561720^_0x1d86e1;function _0x5f5297(){const _0x168a19=_0x5125bc([0x6c,0x6c,0x63,0x74,0x2d])+_0x6d5a6d(_0x540be0(_0x55fdca)),_0xbfe502=_0x4db92f(_0x6d5a6d(window[_0x5125bc([0x4d,0x61,0x74,0x68])][_0x5125bc([0x63,0x65,0x69,0x6c])](_0x3d0de8/_0x4e4382)));window[_0x5125bc([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5125bc([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x168a19,_0xbfe502);}function _0x47b89c(){const _0x1296ca=_0x5125bc([0x6c,0x6c,0x63,0x74,0x2d])+_0x6d5a6d(_0x540be0(_0x55fdca)),_0x47cdb8=window[_0x5125bc([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5125bc([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1296ca);return _0x47cdb8?window[_0x5125bc([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4db92f(_0x47cdb8),0x10)*_0x4e4382:null;}function _0x7d7f3d(_0x520609){return new window[(_0x5125bc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1cd7d3,_0x1365d7)=>{_0x520609[_0x5125bc([0x74,0x68,0x65,0x6e])](_0x1cd7d3,_0x1365d7),window[_0x5125bc([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1365d7,0x66612d60^_0x1d86e1);});}}_0x47fda1[_0x5125bc([0x6f,0x6e])](_0x5125bc([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2c4959,_0x4f2e56)=>{if(_0x4f2e56[0x0]!=_0x55fdca)return _0x7ea268(_0x5125bc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4f2e56[0x1]={..._0x4f2e56[0x1],[_0x5125bc([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3433f8};},{[_0x5125bc([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5125bc([0x68,0x69,0x67,0x68])}),_0x47fda1[_0x5125bc([0x6f,0x6e])](_0x5125bc([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2af5d3=>{_0x2c40e0(_0x2af5d3[_0x5125bc([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x34872f=!0x0,_0x1f4043(_0x2af5d3[_0x5125bc([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5125bc([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5125bc([0x6c,0x6f,0x77])}),_0x1dd7a3[_0x5125bc([0x74,0x68,0x65,0x6e])](()=>{_0x34872f||_0x7ea268(_0x5125bc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xa4f498(){return _0x47fda1[_0x5125bc([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5125bc([0x76,0x69,0x65,0x77])][_0x5125bc([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5125bc([0x61,0x75,0x74,0x6f]);}function _0x33af1a(){_0x47fda1[_0x5125bc([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5125bc([0x76,0x69,0x65,0x77])][_0x5125bc([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5125bc([0x61,0x75,0x74,0x6f]);}}function _0x154420(_0x3fcaf8){const _0x560d7f=[new window[(_0x5125bc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4b235a=>setTimeout(_0x4b235a,0x6669c76c^_0x1d86e1)),_0x1dd7a3[_0x5125bc([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5125bc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x48a4dd=>{let _0x2506e6=0x0;_0x47fda1[_0x5125bc([0x6d,0x6f,0x64,0x65,0x6c])][_0x5125bc([0x6f,0x6e])](_0x5125bc([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x16c3fc,_0x69a34e)=>{_0x69a34e[0x0][_0x5125bc([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2506e6++,_0x2506e6==(0x6660f858^_0x1d86e1)&&(_0x48a4dd(),_0x16c3fc[_0x5125bc([0x6f,0x66,0x66])]());});}))];return window[_0x5125bc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5125bc([0x72,0x61,0x63,0x65])](_0x560d7f)[_0x5125bc([0x74,0x68,0x65,0x6e])](()=>_0x3fcaf8);}async function _0x16161b(){await _0x1dd7a3,_0x47fda1[_0x5125bc([0x6d,0x6f,0x64,0x65,0x6c])][_0x5125bc([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x151c7e,_0x47fda1[_0x5125bc([0x6d,0x6f,0x64,0x65,0x6c])][_0x5125bc([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x151c7e,_0x47fda1[_0x5125bc([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5125bc([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x84799f(_0x45c89f){const _0x3f682c=_0x3e307d();_0x47fda1[_0x3f682c]=_0x5125bc([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])+_0x45c89f,_0x45c89f!=_0x5125bc([0x56,0x61,0x6c,0x69,0x64])&&_0x16161b();}function _0x3e307d(){const _0xc75d4f=window[_0x5125bc([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5125bc([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5125bc([0x6e,0x6f,0x77])]())[_0x5125bc([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5125bc([0x2e]),'');let _0x354942=_0x5125bc([0x4c]);for(let _0x17aca3=0x0;_0x17aca3<_0xc75d4f[_0x5125bc([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x17aca3+=0x2){let _0xf117a8=window[_0x5125bc([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xc75d4f[_0x5125bc([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x17aca3,_0x17aca3+0x2));_0xf117a8>=_0x102298[_0x5125bc([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xf117a8-=_0x102298[_0x5125bc([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x354942+=_0x102298[_0xf117a8];}return _0x354942;}function _0x3406e2(){const _0x1744e6=_0x12cc2d[_0x5125bc([0x73,0x70,0x6c,0x69,0x74])](_0x5125bc([0x2e]));if(0x3!=_0x1744e6[_0x5125bc([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5080f5(_0x1744e6[0x1]);function _0x5080f5(_0x15a230){const _0x2c0cb1=_0x2b73b6(_0x15a230);return _0x2c0cb1&&_0x47c870()?_0x2c0cb1:null;function _0x47c870(){const _0xb8cde0=_0x2c0cb1[_0x5125bc([0x6a,0x74,0x69])],_0x1ab216=window[_0x5125bc([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xb8cde0[_0x5125bc([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xb8cde0[_0x5125bc([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x488bbb={..._0x2c0cb1,[_0x5125bc([0x6a,0x74,0x69])]:_0xb8cde0[_0x5125bc([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xb8cde0[_0x5125bc([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x488bbb[_0x5125bc([0x76,0x63])],_0x540be0(_0x488bbb)==_0x1ab216;}}}async function _0x47104d(){let _0xbbfdad=!0x0;try{const _0x1638f1=_0x12cc2d[_0x5125bc([0x73,0x70,0x6c,0x69,0x74])](_0x5125bc([0x2e])),[_0x197c19,_0xe0f008,_0x3c206b]=_0x1638f1;return _0x3eaa13(_0x197c19),await _0x3b8672(_0x197c19,_0xe0f008,_0x3c206b),_0xbbfdad;}catch{return!0x1;}function _0x3eaa13(_0x139681){const _0x568883=_0x2b73b6(_0x139681);_0x568883&&_0x568883[_0x5125bc([0x61,0x6c,0x67])]==_0x5125bc([0x45,0x53,0x32,0x35,0x36])||(_0xbbfdad=!0x1);}async function _0x3b8672(_0x2b808d,_0x35bad5,_0x3313ea){const _0x9c947c=window[_0x5125bc([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5125bc([0x66,0x72,0x6f,0x6d])](_0x209541(_0x3313ea),_0xcbc379=>_0xcbc379[_0x5125bc([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x29d9d8=new window[(_0x5125bc([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5125bc([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2b808d+_0x5125bc([0x2e])+_0x35bad5),_0x2356f5=window[_0x5125bc([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5125bc([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2356f5)return;const _0x311531=await _0x2356f5[_0x5125bc([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5125bc([0x6a,0x77,0x6b]),_0x4778fe,{[_0x5125bc([0x6e,0x61,0x6d,0x65])]:_0x5125bc([0x45,0x43,0x44,0x53,0x41]),[_0x5125bc([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5125bc([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5125bc([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2356f5[_0x5125bc([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5125bc([0x6e,0x61,0x6d,0x65])]:_0x5125bc([0x45,0x43,0x44,0x53,0x41]),[_0x5125bc([0x68,0x61,0x73,0x68])]:{[_0x5125bc([0x6e,0x61,0x6d,0x65])]:_0x5125bc([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x311531,_0x9c947c,_0x29d9d8)||(_0xbbfdad=!0x1);}}function _0x2b73b6(_0x30429b){return _0x30429b[_0x5125bc([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5125bc([0x65,0x79]))?JSON[_0x5125bc([0x70,0x61,0x72,0x73,0x65])](_0x209541(_0x30429b)):null;}function _0x209541(_0x41bf99){return window[_0x5125bc([0x61,0x74,0x6f,0x62])](_0x41bf99[_0x5125bc([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5125bc([0x2b]))[_0x5125bc([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5125bc([0x2f])));}function _0x540be0(_0x14f316){let _0x4df708=0x1505;function _0x297643(_0x25ae23){for(let _0x2b1c46=0x0;_0x2b1c46<_0x25ae23[_0x5125bc([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2b1c46++){const _0x34036c=_0x25ae23[_0x5125bc([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2b1c46);_0x4df708=(_0x4df708<<0x5)+_0x4df708+_0x34036c,_0x4df708&=_0x4df708;}}function _0xb1b13f(_0x1cfca5){Array[_0x5125bc([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1cfca5)?_0x1cfca5[_0x5125bc([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xb1b13f):_0x1cfca5&&typeof _0x1cfca5==_0x5125bc([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5125bc([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1cfca5)[_0x5125bc([0x73,0x6f,0x72,0x74])]()[_0x5125bc([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xede044,_0xc931fb])=>{_0x297643(_0xede044),_0xb1b13f(_0xc931fb);}):_0x297643(window[_0x5125bc([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1cfca5));}return _0xb1b13f(_0x14f316),_0x4df708>>>0x0;}function _0x6d5a6d(_0x311cff){return _0x311cff[_0x5125bc([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5125bc([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5125bc([0x30]));}function _0x4db92f(_0x328ade){return _0x328ade[_0x5125bc([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5125bc([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5125bc([0x6a,0x6f,0x69,0x6e])]('');}function _0x151c7e(){}function _0x5125bc(_0x46b98c){return _0x46b98c['map'](_0x269616=>String['fromCharCode'](_0x269616))['join']('');}_0x84799f(await _0x4f9c16());}(this);}['destroy'](){super['destroy'](),this['view']['destroy'](),this['_updateActiveDefinitionFromViewportThrottled']['cancel']();}['_handleOutlineChange'](_0x439e08,{outlineDefinitions:_0x23c24e,outlineChanges:_0x25dca9}){this['_currentOutlineDefinitions']=_0x23c24e,this['view']['sync'](_0x25dca9);}['_setActiveViewItem'](_0x31d500){this['_currentOutlineDefinitions']['length']&&this['_currentOutlineDefinitions'][_0x31d500]&&(this['view']['activeItemIndex']=_0x31d500);}['_handleItemSelected'](_0x7f20e3){const _0x45183d=this['_currentOutlineDefinitions'][_0x7f20e3]['modelElement'];this['editor']['model']['change'](_0x1b974a=>{_0x1b974a['setSelection'](_0x45183d,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0}),this['editor']['editing']['view']['focus'](),this['_setActiveViewItem'](_0x7f20e3);}['_updateActiveDefinitionOnViewportChange'](){const _0x5a417f=this['editor'];let _0x82880f;for(const _0x51eb5f of _0x5a417f['model']['document']['getRootNames']()){const _0x59aa5f=_0x5a417f['editing']['view']['getDomRoot'](_0x51eb5f),_0xb4d664=_0x59aa5f&&new _0x4ab493(_0x59aa5f)['getVisible']();if(_0xb4d664){const _0x3ad834=new _0x4ab493(_0x4044e8['window'])['getIntersection'](_0xb4d664);_0x3ad834&&(_0x82880f=_0x3ad834['top']+0.25*_0x3ad834['height']);}}if(void 0x0===_0x82880f)return;const _0x19aff0=h(_0x5a417f['editing'],this['_currentOutlineDefinitions'],_0x82880f);_0x19aff0?this['_setActiveViewItem'](this['_currentOutlineDefinitions']['indexOf'](_0x19aff0)):this['_setActiveViewItem'](-0x1);}}function h(_0x5f3e12,_0x148dcf,_0x1f9d69,_0x5e1fda=0x0,_0x163c72=_0x148dcf['length']-0x1){const _0x2a564f=Math['floor'](_0x5e1fda+(_0x163c72-_0x5e1fda)/0x2);if(_0x163c72>=_0x5e1fda){const _0x1566c6=_0x148dcf[_0x2a564f],_0x2d4242=_0x5f3e12['mapper']['toViewElement'](_0x1566c6['modelElement']);if(!_0x2d4242)return null;const _0x5a5b91=_0x5f3e12['view']['domConverter']['mapViewToDom'](_0x2d4242);return new _0x4ab493(_0x5a5b91)['bottom']>_0x1f9d69?h(_0x5f3e12,_0x148dcf,_0x1f9d69,_0x5e1fda,_0x2a564f-0x1):h(_0x5f3e12,_0x148dcf,_0x1f9d69,_0x2a564f+0x1,_0x163c72);}return _0x2a564f<0x0?null:_0x148dcf[_0x2a564f];}class P extends _0x21713f{['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 _0x36e141=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1e3cea;for(const _0x121404 in _0x36e141){const _0x409d30=_0x121404,_0x4a0227=_0x36e141[_0x409d30];if('documentOutlineLicenseKeyValid'==_0x4a0227||'documentOutlineLicenseKeyInvalid'==_0x4a0227||'documentOutlineLicenseKeyExpired'==_0x4a0227||'documentOutlineLicenseKeyDomainLimit'==_0x4a0227||'documentOutlineLicenseKeyNotAllowed'==_0x4a0227||'documentOutlineLicenseKeyEvaluationLimit'==_0x4a0227||'documentOutlineLicenseKeyTrialLimit'==_0x4a0227||'documentOutlineLicenseKeyUsageLimit'==_0x4a0227){delete _0x36e141[_0x409d30],_0x1e3cea=_0x4a0227,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'documentOutlineLicenseKeyInvalid'==_0x1e3cea&&_0x36e141['_showLicenseError']('invalid'),'documentOutlineLicenseKeyExpired'==_0x1e3cea&&_0x36e141['_showLicenseError']('expired'),'documentOutlineLicenseKeyDomainLimit'==_0x1e3cea&&_0x36e141['_showLicenseError']('domainLimit'),'documentOutlineLicenseKeyNotAllowed'==_0x1e3cea&&_0x36e141['_showLicenseError']('featureNotAllowed','DocumentOutline'),'documentOutlineLicenseKeyEvaluationLimit'==_0x1e3cea&&_0x36e141['_showLicenseError']('evaluationLimit'),'documentOutlineLicenseKeyTrialLimit'==_0x1e3cea&&_0x36e141['_showLicenseError']('trialLimit'),'documentOutlineLicenseKeyUsageLimit'==_0x1e3cea&&_0x36e141['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class _ extends _0x5ad9ba{['execute'](){this['editor']['model']['change'](_0x40d359=>{this['editor']['model']['insertObject'](_0x40d359['createElement']('tableOfContents'));});}['refresh'](){const _0x1cd95d=this['editor']['model'],_0x2d3219=_0x1cd95d['document']['selection']['getFirstPosition']();this['isEnabled']=null!==(_0x2d3219&&_0x1cd95d['schema']['findAllowedParent'](_0x2d3219,'tableOfContents'));}}class T extends _0x21713f{static get['pluginName'](){return'HeadingId';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x118c20=this['editor'];if(_0x118c20['config']['get']('headingId.modelAttributeName'))return;(function(_0x58f23e){const _0x5280bf=new Map();if(_0x58f23e)return _0x58f23e['forEach'](_0x3bc309=>{'paragraph'!==_0x3bc309['model']&&_0x5280bf['set'](_0x3bc309['view'],_0x3bc309['model']);}),_0x5280bf['get']('h1')||_0x5280bf['set']('h1','heading1'),_0x5280bf;return _0x5280bf;}(this['editor']['config']['get']('heading.options'))['forEach']((_0x408896,_0x58f8f7)=>{this['_customUpcastHeadingsConversion'](_0x58f8f7),this['_customDataDowncastHeadingsConversion'](_0x408896),_0x118c20['model']['schema']['isRegistered'](_0x408896)&&_0x118c20['model']['schema']['extend'](_0x408896,{'allowAttributes':'headingId'});}),this['_registerHeadingIdAttributePostfixer']());}['_customUpcastHeadingsConversion'](_0x320cc3){this['editor']['conversion']['for']('upcast')['add'](_0x5c646c=>_0x5c646c['on']('element:'+_0x320cc3,(_0x684909,_0x5b7ae2,_0x573b61)=>{const {consumable:_0x311a3f,writer:_0x15b82e}=_0x573b61,_0x15c9f3=_0x5b7ae2['viewItem']['getAttribute']('id'),_0x21e779=_0x5b7ae2['modelRange']['getContainedElement']();if(_0x21e779)return _0x15c9f3&&_0x15c9f3['length']||_0x21e779['hasAttribute']('headingId')?void(_0x311a3f['consume'](_0x5b7ae2['viewItem'],{'attributes':['id']})&&_0x15b82e['setAttribute']('headingId',_0x15c9f3,_0x21e779)):(_0x311a3f['consume'](_0x5b7ae2['viewItem'],{'attributes':['id']}),void _0x15b82e['setAttribute']('headingId',_0x400eb7(),_0x21e779));},{'priority':_0x211b24['get']('low')+0.5}));}['_customDataDowncastHeadingsConversion'](_0x4aeac3){this['editor']['conversion']['for']('downcast')['add'](_0x326fe4=>_0x326fe4['on']('attribute:headingId:'+_0x4aeac3,(_0x4f92b4,_0x268417,_0x1a0be3)=>{if(!_0x1a0be3['consumable']['consume'](_0x268417['item'],_0x4f92b4['name']))return;const _0x652c41=_0x268417['item']['getAttribute']('headingId'),_0x58fa4e=_0x1a0be3['mapper']['toViewElement'](_0x268417['item']);_0x1a0be3['writer']['setAttribute']('id',_0x652c41,_0x58fa4e);}));}['_registerHeadingIdAttributePostfixer'](){const _0x56dea0=this['editor'],_0x1d8cca=new Set(),_0x27dedd=new Set();function _0x45090b(_0x142653,_0x3c88a3){const _0x380b65=_0x400eb7();return _0x27dedd['add'](_0x380b65),_0x142653['setAttribute']('headingId',_0x380b65,_0x3c88a3),_0x380b65;}function _0x12b3ab(_0x1a5718,_0x2fca3a){_0x1a5718['removeAttribute']('headingId',_0x2fca3a);}_0x56dea0['model']['document']['registerPostFixer'](_0x47e3b7=>{const _0x45095f=_0x56dea0['model']['document']['differ']['getChanges']();let _0x377c5b=!0x1;for(const _0x238b5b of _0x45095f)if('insert'==_0x238b5b['type']&&_0x238b5b['name']){if(b(_0x238b5b['name'])){const _0x10bb59=_0x238b5b['attributes']['get']('headingId');'string'==typeof _0x10bb59?_0x1d8cca['has'](_0x10bb59)?(_0x45090b(_0x47e3b7,_0x238b5b['position']['nodeAfter']),_0x377c5b=!0x0):_0x27dedd['add'](_0x10bb59):(_0x45090b(_0x47e3b7,_0x238b5b['position']['nodeAfter']),_0x377c5b=!0x0);}else'string'==typeof _0x238b5b['attributes']['get']('headingId')&&(_0x12b3ab(_0x47e3b7,_0x238b5b['position']['nodeAfter']),_0x377c5b=!0x0);}else{if('remove'==_0x238b5b['type']){const _0x14f26b=_0x238b5b['attributes']['get']('headingId');'string'==typeof _0x14f26b&&_0x1d8cca['delete'](_0x14f26b);}}return _0x377c5b;}),_0x56dea0['model']['document']['on']('change',()=>{_0x27dedd['forEach'](_0x367e76=>_0x1d8cca['add'](_0x367e76)),_0x27dedd['clear']();});}}function b(_0x195ef2){return!!_0x195ef2['match'](/heading\d/);}class s extends _0x21713f{static get['pluginName'](){return'TableOfContentsEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x26d1fa,i,T];}['_currentOutlineDefinitions'];['_tableOfContentsElements'];['_headingIdModelAttributeName'];constructor(_0x4c76b9){super(_0x4c76b9),this['_currentOutlineDefinitions']=[],this['_tableOfContentsElements']=new Set(),this['_headingIdModelAttributeName']='headingId';}['init'](){const _0x4dd48b=this['editor'],_0x508068=_0x4dd48b['editing']['view']['document'];_0x4dd48b['config']['get']('headingId.modelAttributeName')&&(this['_headingIdModelAttributeName']=_0x4dd48b['config']['get']('headingId.modelAttributeName')),this['listenTo'](_0x508068,'click',(_0xfa5287,_0xc8dca2)=>{if(!_0xc8dca2['target'])return;const _0x55f3c1=_0xc8dca2['target']['getCustomProperty']('tableOfContentsHeadingIndex');Number['isInteger'](_0x55f3c1)&&(_0xc8dca2['domEvent']['preventDefault'](),_0xfa5287['stop'](),this['_handleScrollToHeading'](_0x55f3c1));},{'priority':'high','context':'$capture'}),this['_defineSchema'](),this['_defineConverters'](),_0x4dd48b['commands']['add']('insertTableOfContents',new _(_0x4dd48b)),(_0x4dd48b['plugins']['get']('DocumentOutlineUtils')['on']('change',(_0x35255b,_0x257f12)=>{this['_currentOutlineDefinitions']=_0x257f12['outlineDefinitions'],this['_updateTableOfContentsElements']();}),this['listenTo'](_0x4dd48b['model']['document'],'change',()=>{this['_trackNewToCElements']();}));}['afterInit'](){!async function(_0x27cb3b){const _0x2fc648=_0x5dc58b([0x6c,0x30,0x70,0x4c,0x56,0x47,0x69,0x5a,0x64,0x79,0x46,0x35,0x53,0x49,0x4f,0x6b,0x72,0x77,0x51,0x42,0x52,0x34,0x55,0x61,0x37,0x33,0x38,0x48,0x74,0x6d,0x6e,0x58,0x59,0x76,0x54,0x32,0x43,0x78,0x4a,0x67,0x65,0x41,0x75,0x57,0x45,0x66,0x39,0x31,0x7a,0x36,0x62,0x4e,0x4b,0x63,0x6a,0x71,0x4d,0x73,0x50,0x6f,0x68,0x44]),_0x142276=0x9da9cf0,_0x3a5647=0x9ddece0^_0x142276,_0x20bd09=window[_0x5dc58b([0x44,0x61,0x74,0x65])][_0x5dc58b([0x6e,0x6f,0x77])](),_0x1a6a01=_0x27cb3b[_0x5dc58b([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xc9a6fa=new window[(_0x5dc58b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x39a702=>{_0x1a6a01[_0x5dc58b([0x6f,0x6e,0x63,0x65])](_0x5dc58b([0x72,0x65,0x61,0x64,0x79]),_0x39a702);}),_0x2d96e8={[_0x5dc58b([0x6b,0x74,0x79])]:_0x5dc58b([0x45,0x43]),[_0x5dc58b([0x75,0x73,0x65])]:_0x5dc58b([0x73,0x69,0x67]),[_0x5dc58b([0x63,0x72,0x76])]:_0x5dc58b([0x50,0x2d,0x32,0x35,0x36]),[_0x5dc58b([0x78])]:_0x5dc58b([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]),[_0x5dc58b([0x79])]:_0x5dc58b([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]),[_0x5dc58b([0x61,0x6c,0x67])]:_0x5dc58b([0x45,0x53,0x32,0x35,0x36])},_0x5a0c30=_0x1a6a01[_0x5dc58b([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5dc58b([0x67,0x65,0x74])](_0x5dc58b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3fac84(){let _0x52e7ed,_0x94c4db=null,_0x4b2eb9=null;try{if(_0x5a0c30==_0x5dc58b([0x47,0x50,0x4c]))return _0x5dc58b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x52e7ed=_0x460ce9(),!_0x52e7ed)return _0x5dc58b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x52e7ed[_0x5dc58b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4b2eb9=_0x4acaf5(_0x52e7ed[_0x5dc58b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x52e7ed[_0x5dc58b([0x6a,0x74,0x69])])),await _0xb1739f()?_0x41f167()?_0x211c36()?_0x5dc58b([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x33b587()?(_0x52e7ed[_0x5dc58b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5dc58b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x94c4db=_0x43b7ac(_0x5dc58b([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x52e7ed[_0x5dc58b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5dc58b([0x74,0x72,0x69,0x61,0x6c])&&(_0x94c4db=_0x43b7ac(_0x5dc58b([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x93ee97()):_0x5dc58b([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5dc58b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5dc58b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5dc58b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x211c36(){const _0x38fe1f=[_0x5dc58b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5dc58b([0x74,0x72,0x69,0x61,0x6c])][_0x5dc58b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x52e7ed[_0x5dc58b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x20bd09/0x3e8:0xe10*_0x3a5647;return _0x52e7ed[_0x5dc58b([0x65,0x78,0x70])]<_0x38fe1f;}function _0x41f167(){const _0x5e6228=_0x52e7ed[_0x5dc58b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5e6228&&(!!_0x5e6228[_0x5dc58b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5dc58b([0x2a]))||(!!_0x5e6228[_0x5dc58b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5dc58b([0x54,0x4f,0x43]))||!!_0x5e6228[_0x5dc58b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5dc58b([0x50,0x50]))));}function _0x33b587(){const _0x7fea30=_0x52e7ed[_0x5dc58b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x7fea30||0x0==_0x7fea30[_0x5dc58b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3cf5fe}=new URL(window[_0x5dc58b([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x7fea30[_0x5dc58b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3cf5fe))return!0x0;const _0x279c44=_0x3cf5fe[_0x5dc58b([0x73,0x70,0x6c,0x69,0x74])](_0x5dc58b([0x2e]));return _0x7fea30[_0x5dc58b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1f9c3b=>_0x1f9c3b[_0x5dc58b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5dc58b([0x2a])))[_0x5dc58b([0x6d,0x61,0x70])](_0x4ae780=>_0x4ae780[_0x5dc58b([0x73,0x70,0x6c,0x69,0x74])](_0x5dc58b([0x2e])))[_0x5dc58b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4b7b07=>_0x4b7b07[_0x5dc58b([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x279c44[_0x5dc58b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5dc58b([0x6d,0x61,0x70])](_0x420ea2=>Array(_0x279c44[_0x5dc58b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x420ea2[_0x5dc58b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5dc58b([0x66,0x69,0x6c,0x6c])](_0x420ea2[0x0]===_0x5dc58b([0x2a])?_0x5dc58b([0x2a]):'')[_0x5dc58b([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x420ea2))[_0x5dc58b([0x73,0x6f,0x6d,0x65])](_0x4c04d8=>_0x279c44[_0x5dc58b([0x65,0x76,0x65,0x72,0x79])]((_0x1e984b,_0xb65b5b)=>_0x4c04d8[_0xb65b5b]===_0x1e984b||_0x4c04d8[_0xb65b5b]===_0x5dc58b([0x2a])));}function _0x93ee97(){return _0x94c4db&&_0x4b2eb9?new window[(_0x5dc58b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2e3c39,_0x5bb512)=>{_0x94c4db[_0x5dc58b([0x74,0x68,0x65,0x6e])](_0x2e3c39,_0x5bb512),_0x4b2eb9[_0x5dc58b([0x74,0x68,0x65,0x6e])](_0x64cdc8=>{_0x64cdc8!=_0x5dc58b([0x56,0x61,0x6c,0x69,0x64])&&_0x2e3c39(_0x64cdc8);},_0x5bb512);}):_0x94c4db||_0x4b2eb9||_0x5dc58b([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4acaf5(_0x5efae5,_0x3be3b7){return new window[(_0x5dc58b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1ddd8d=>{if(_0x5e5a90())return _0x1ddd8d(_0x5dc58b([0x56,0x61,0x6c,0x69,0x64]));_0x3a2fb6(),_0x1a6a01[_0x5dc58b([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5dc58b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xfd051f=!0x1;const _0x2cac81=_0x400eb7();function _0x52d0c2(_0x4efa71){return!!_0x4efa71&&(typeof _0x4efa71===_0x5dc58b([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4efa71===_0x5dc58b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4efa71[_0x5dc58b([0x74,0x68,0x65,0x6e])]===_0x5dc58b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4efa71[_0x5dc58b([0x63,0x61,0x74,0x63,0x68])]===_0x5dc58b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x40db68(_0x16be2a){_0x5f7272(_0x16be2a)[_0x5dc58b([0x74,0x68,0x65,0x6e])](_0x36baca=>{if(!_0x36baca||_0x36baca[_0x5dc58b([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5dc58b([0x6f,0x6b]))return _0x5dc58b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x243003(_0x552f0c(_0x2cac81+_0x3be3b7))!=_0x36baca[_0x5dc58b([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5dc58b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5dc58b([0x56,0x61,0x6c,0x69,0x64]);})[_0x5dc58b([0x74,0x68,0x65,0x6e])](_0x5034f4=>(_0x44a80b(),_0x5034f4),()=>{const _0x3988c6=_0x49651e();return null==_0x3988c6?(_0x44a80b(),_0x5dc58b([0x56,0x61,0x6c,0x69,0x64])):_0x5dc58b(_0x20bd09-_0x3988c6>(0x2dd618f0^_0x142276)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5dc58b([0x74,0x68,0x65,0x6e])](_0x1ddd8d)[_0x5dc58b([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1ddd8d(_0x5dc58b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x17383e=0x9ec7270^_0x142276;function _0x44a80b(){const _0x330a2b=_0x5dc58b([0x6c,0x6c,0x63,0x74,0x2d])+_0x243003(_0x552f0c(_0x5efae5)),_0x5ca968=_0x52b9d0(_0x243003(window[_0x5dc58b([0x4d,0x61,0x74,0x68])][_0x5dc58b([0x63,0x65,0x69,0x6c])](_0x20bd09/_0x17383e)));window[_0x5dc58b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5dc58b([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x330a2b,_0x5ca968);}function _0x49651e(){const _0x2d545f=_0x5dc58b([0x6c,0x6c,0x63,0x74,0x2d])+_0x243003(_0x552f0c(_0x5efae5)),_0x2d2c43=window[_0x5dc58b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5dc58b([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2d545f);return _0x2d2c43?window[_0x5dc58b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x52b9d0(_0x2d2c43),0x10)*_0x17383e:null;}function _0x5f7272(_0x5e9cdb){return new window[(_0x5dc58b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3526f0,_0x36fcef)=>{_0x5e9cdb[_0x5dc58b([0x74,0x68,0x65,0x6e])](_0x3526f0,_0x36fcef),window[_0x5dc58b([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x36fcef,0x9db4830^_0x142276);});}}_0x1a6a01[_0x5dc58b([0x6f,0x6e])](_0x5dc58b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x39d2fd,_0x8a2ae9)=>{if(_0x8a2ae9[0x0]!=_0x5efae5)return _0x1ddd8d(_0x5dc58b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x8a2ae9[0x1]={..._0x8a2ae9[0x1],[_0x5dc58b([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2cac81};},{[_0x5dc58b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5dc58b([0x68,0x69,0x67,0x68])}),_0x1a6a01[_0x5dc58b([0x6f,0x6e])](_0x5dc58b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x69ca3b=>{_0x52d0c2(_0x69ca3b[_0x5dc58b([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xfd051f=!0x0,_0x40db68(_0x69ca3b[_0x5dc58b([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5dc58b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5dc58b([0x6c,0x6f,0x77])}),_0xc9a6fa[_0x5dc58b([0x74,0x68,0x65,0x6e])](()=>{_0xfd051f||_0x1ddd8d(_0x5dc58b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5e5a90(){return _0x1a6a01[_0x5dc58b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5dc58b([0x76,0x69,0x65,0x77])][_0x5dc58b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5dc58b([0x61,0x75,0x74,0x6f]);}function _0x3a2fb6(){_0x1a6a01[_0x5dc58b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5dc58b([0x76,0x69,0x65,0x77])][_0x5dc58b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5dc58b([0x61,0x75,0x74,0x6f]);}}function _0x43b7ac(_0x133874){const _0x4d7ec1=[new window[(_0x5dc58b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x63bfce=>setTimeout(_0x63bfce,0x9d3a23c^_0x142276)),_0xc9a6fa[_0x5dc58b([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5dc58b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x425588=>{let _0x1c6483=0x0;_0x1a6a01[_0x5dc58b([0x6d,0x6f,0x64,0x65,0x6c])][_0x5dc58b([0x6f,0x6e])](_0x5dc58b([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x54ab47,_0x52f3ac)=>{_0x52f3ac[0x0][_0x5dc58b([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1c6483++,_0x1c6483==(0x9da9d08^_0x142276)&&(_0x425588(),_0x54ab47[_0x5dc58b([0x6f,0x66,0x66])]());});}))];return window[_0x5dc58b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5dc58b([0x72,0x61,0x63,0x65])](_0x4d7ec1)[_0x5dc58b([0x74,0x68,0x65,0x6e])](()=>_0x133874);}async function _0x262650(){await _0xc9a6fa,_0x1a6a01[_0x5dc58b([0x6d,0x6f,0x64,0x65,0x6c])][_0x5dc58b([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1acbd2,_0x1a6a01[_0x5dc58b([0x6d,0x6f,0x64,0x65,0x6c])][_0x5dc58b([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1acbd2,_0x1a6a01[_0x5dc58b([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5dc58b([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2e7329(_0x3b439c){const _0x38e67c=_0x5772b4();_0x1a6a01[_0x38e67c]=_0x5dc58b([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])+_0x3b439c,_0x3b439c!=_0x5dc58b([0x56,0x61,0x6c,0x69,0x64])&&_0x262650();}function _0x5772b4(){const _0x4a432d=window[_0x5dc58b([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5dc58b([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5dc58b([0x6e,0x6f,0x77])]())[_0x5dc58b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5dc58b([0x2e]),'');let _0x22d82f=_0x5dc58b([0x6c]);for(let _0x5a6574=0x0;_0x5a6574<_0x4a432d[_0x5dc58b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5a6574+=0x2){let _0x11a9a2=window[_0x5dc58b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4a432d[_0x5dc58b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5a6574,_0x5a6574+0x2));_0x11a9a2>=_0x2fc648[_0x5dc58b([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x11a9a2-=_0x2fc648[_0x5dc58b([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x22d82f+=_0x2fc648[_0x11a9a2];}return _0x22d82f;}function _0x460ce9(){const _0x11e1fb=_0x5a0c30[_0x5dc58b([0x73,0x70,0x6c,0x69,0x74])](_0x5dc58b([0x2e]));if(0x3!=_0x11e1fb[_0x5dc58b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5e7846(_0x11e1fb[0x1]);function _0x5e7846(_0x542795){const _0x6c3be=_0x2a7446(_0x542795);return _0x6c3be&&_0x1ce828()?_0x6c3be:null;function _0x1ce828(){const _0x39ccec=_0x6c3be[_0x5dc58b([0x6a,0x74,0x69])],_0x3a7bb1=window[_0x5dc58b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x39ccec[_0x5dc58b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x39ccec[_0x5dc58b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x57c8bd={..._0x6c3be,[_0x5dc58b([0x6a,0x74,0x69])]:_0x39ccec[_0x5dc58b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x39ccec[_0x5dc58b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x57c8bd[_0x5dc58b([0x76,0x63])],_0x552f0c(_0x57c8bd)==_0x3a7bb1;}}}async function _0xb1739f(){let _0x38ff01=!0x0;try{const _0xc99714=_0x5a0c30[_0x5dc58b([0x73,0x70,0x6c,0x69,0x74])](_0x5dc58b([0x2e])),[_0x4b9eb3,_0x2a896b,_0x8a2a01]=_0xc99714;return _0x5cd631(_0x4b9eb3),await _0x1b2730(_0x4b9eb3,_0x2a896b,_0x8a2a01),_0x38ff01;}catch{return!0x1;}function _0x5cd631(_0x462f8d){const _0x307d5e=_0x2a7446(_0x462f8d);_0x307d5e&&_0x307d5e[_0x5dc58b([0x61,0x6c,0x67])]==_0x5dc58b([0x45,0x53,0x32,0x35,0x36])||(_0x38ff01=!0x1);}async function _0x1b2730(_0x34bd0a,_0x55a1b9,_0x581662){const _0x428494=window[_0x5dc58b([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5dc58b([0x66,0x72,0x6f,0x6d])](_0x590d78(_0x581662),_0x128886=>_0x128886[_0x5dc58b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x378076=new window[(_0x5dc58b([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5dc58b([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x34bd0a+_0x5dc58b([0x2e])+_0x55a1b9),_0xae6815=window[_0x5dc58b([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5dc58b([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xae6815)return;const _0x34e3c2=await _0xae6815[_0x5dc58b([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5dc58b([0x6a,0x77,0x6b]),_0x2d96e8,{[_0x5dc58b([0x6e,0x61,0x6d,0x65])]:_0x5dc58b([0x45,0x43,0x44,0x53,0x41]),[_0x5dc58b([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5dc58b([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5dc58b([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xae6815[_0x5dc58b([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5dc58b([0x6e,0x61,0x6d,0x65])]:_0x5dc58b([0x45,0x43,0x44,0x53,0x41]),[_0x5dc58b([0x68,0x61,0x73,0x68])]:{[_0x5dc58b([0x6e,0x61,0x6d,0x65])]:_0x5dc58b([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x34e3c2,_0x428494,_0x378076)||(_0x38ff01=!0x1);}}function _0x2a7446(_0x1d34f6){return _0x1d34f6[_0x5dc58b([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5dc58b([0x65,0x79]))?JSON[_0x5dc58b([0x70,0x61,0x72,0x73,0x65])](_0x590d78(_0x1d34f6)):null;}function _0x590d78(_0x243c44){return window[_0x5dc58b([0x61,0x74,0x6f,0x62])](_0x243c44[_0x5dc58b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5dc58b([0x2b]))[_0x5dc58b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5dc58b([0x2f])));}function _0x552f0c(_0x29269c){let _0x273904=0x1505;function _0x5be84f(_0x59b990){for(let _0x39331b=0x0;_0x39331b<_0x59b990[_0x5dc58b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x39331b++){const _0x217118=_0x59b990[_0x5dc58b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x39331b);_0x273904=(_0x273904<<0x5)+_0x273904+_0x217118,_0x273904&=_0x273904;}}function _0x312478(_0x105b18){Array[_0x5dc58b([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x105b18)?_0x105b18[_0x5dc58b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x312478):_0x105b18&&typeof _0x105b18==_0x5dc58b([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5dc58b([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x105b18)[_0x5dc58b([0x73,0x6f,0x72,0x74])]()[_0x5dc58b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x527d73,_0x551ed1])=>{_0x5be84f(_0x527d73),_0x312478(_0x551ed1);}):_0x5be84f(window[_0x5dc58b([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x105b18));}return _0x312478(_0x29269c),_0x273904>>>0x0;}function _0x243003(_0x4096d7){return _0x4096d7[_0x5dc58b([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5dc58b([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5dc58b([0x30]));}function _0x52b9d0(_0x2b9fdd){return _0x2b9fdd[_0x5dc58b([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5dc58b([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5dc58b([0x6a,0x6f,0x69,0x6e])]('');}function _0x1acbd2(){}function _0x5dc58b(_0x1858ab){return _0x1858ab['map'](_0x295955=>String['fromCharCode'](_0x295955))['join']('');}_0x2e7329(await _0x3fac84());}(this);}['_updateTableOfContentsElements'](){this['_tableOfContentsElements']['forEach'](_0x496811=>{'$graveyard'!==_0x496811['rootName']&&this['editor']['editing']['reconvertItem'](_0x496811);});}['_trackNewToCElements'](){for(const _0x33e24b of this['editor']['model']['document']['differ']['getChanges']({'includeChangesInGraveyard':!0x0})){if('insert'!==_0x33e24b['type']||'tableOfContents'!==_0x33e24b['name'])return;this['_tableOfContentsElements']['add'](_0x33e24b['position']['nodeAfter']);}}['_defineSchema'](){this['editor']['model']['schema']['register']('tableOfContents',{'inheritAllFrom':'$blockObject'});}['_defineConverters'](){const _0x1950a1=this['editor']['conversion'];_0x1950a1['for']('upcast')['elementToElement']({'model':'tableOfContents','view':{'name':'div','classes':'table-of-contents'}}),_0x1950a1['for']('dataDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x539e37,{writer:_0x27495e})=>this['_createTableOfContents'](_0x27495e,!0x0)}),_0x1950a1['for']('editingDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0xbc1864,{writer:_0x4bf82b})=>{this['_tableOfContentsElements']['add'](_0xbc1864);const _0x16dd42=this['_createTableOfContents'](_0x4bf82b);return _0x24c97a(_0x16dd42,_0x4bf82b,{'label':j(this['editor']['locale'],'Table\x20of\x20contents')});}}),this['editor']['data']['registerRawContentMatcher']({'name':'div','classes':'table-of-contents'}),this['editor']['editing']['mapper']['on']('viewToModelPosition',this['_redirectMapper'](),{'priority':'high'});}['_createTableOfContents'](_0x520183,_0x398963=!0x1){const {locale:_0xe0bdf7}=this['editor'],_0x286d3c=_0x520183['createContainerElement']('div',{'class':'table-of-contents'+(0x0===this['_currentOutlineDefinitions']['length']?'\x20table-of-contents_empty':''),...!_0x398963&&{'data-table-of-contents-label':j(_0xe0bdf7,'Table\x20of\x20contents')}});0x0===this['_currentOutlineDefinitions']['length']&&!0x1===_0x398963&&_0x520183['insert'](_0x520183['createPositionAt'](_0x286d3c,'end'),_0x520183['createContainerElement']('p',{'class':'table-of-contents__placeholder'},[_0x520183['createText'](j(_0xe0bdf7,'No\x20headings\x20were\x20found\x20in\x20the\x20document.'))]));const _0x5464e3=_0x398963?'':'['+j(_0xe0bdf7,'Empty\x20heading')+']';let _0x4897b9=_0x286d3c;return this['_currentOutlineDefinitions']['forEach']((_0x3c73e5,_0x1043ce,_0x515879)=>{const _0x3ad75e=this['editor']['model']['hasContent'](_0x3c73e5['modelElement'],{'ignoreWhitespaces':!0x0}),_0x5bccef=_0x3ad75e?_0x3c73e5['text']:_0x5464e3,_0x590349=_0x3c73e5['modelElement']['getAttribute'](this['_headingIdModelAttributeName']),_0x37e469=_0x520183['createContainerElement']('a',{'href':'#'+_0x590349,...!_0x398963&&{'tabindex':'-1'}},[_0x520183['createText'](_0x5bccef)]),_0x58c501=this['editor']['config']['get']('documentOutline.showEmptyHeadings');_0x520183['setCustomProperty']('tableOfContentsHeadingIndex',_0x1043ce,_0x37e469);const _0x4f88d3=_0x520183['createContainerElement']('li',null,[_0x3ad75e||!_0x398963&&_0x58c501?_0x37e469:_0x520183['createText']('')]),_0x17bc9b=_0x1043ce?_0x515879[_0x1043ce-0x1]['level']:0x0,_0x3deb78=Math['abs'](_0x3c73e5['level']-_0x17bc9b);if(_0x3c73e5['level']>_0x17bc9b){const _0x23c6b2=N(_0x4f88d3,_0x3deb78,_0x520183);_0x520183['insert'](_0x520183['createPositionAt'](_0x4897b9,'end'),_0x23c6b2);}else{const _0x3dad66=function(_0x33ddbc,_0x36ff1f){return _0x33ddbc['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0})['filter'](_0x26ba91=>_0x26ba91['is']('element','ol'))[_0x36ff1f];}(_0x4897b9,_0x3deb78);_0x520183['insert'](_0x520183['createPositionAt'](_0x3dad66,'end'),_0x4f88d3);}_0x4897b9=_0x4f88d3;}),_0x286d3c;}['_handleScrollToHeading'](_0x12a35f){const _0x41e3e0=this['_currentOutlineDefinitions'][_0x12a35f]['modelElement'];this['editor']['model']['change'](_0x221b8a=>{_0x221b8a['setSelection'](_0x41e3e0,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0});}['_redirectMapper'](){return(_0x4173ef,_0x5d39a9)=>{const _0x58f51e=_0x5d39a9['mapper'],_0x59c6fd=_0x58f51e['findMappedViewAncestor'](_0x5d39a9['viewPosition']),_0xd34a1c=_0x58f51e['toModelElement'](_0x59c6fd);_0xd34a1c['is']('element','tableOfContents')&&(_0x5d39a9['modelPosition']=this['editor']['model']['createPositionAt'](_0xd34a1c,0x0),_0x4173ef['stop']());};}}function N(_0x26769a,_0x116a9e,_0x54190f){return 0x1===_0x116a9e?_0x54190f['createContainerElement']('ol',null,[_0x26769a]):_0x54190f['createContainerElement']('ol',null,[_0x54190f['createContainerElement']('li',null,[N(_0x26769a,_0x116a9e-0x1,_0x54190f)])]);}class o extends _0x21713f{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'TableOfContentsUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x5612e5=this['editor'];_0x5612e5['ui']['componentFactory']['add']('tableOfContents',()=>{const _0x442fc1=this['_createButton'](_0x434ea8);return _0x442fc1['tooltip']=!0x0,_0x442fc1;}),_0x5612e5['ui']['componentFactory']['add']('menuBar:tableOfContents',()=>this['_createButton'](_0x117f07)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x403abb=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x436a65;for(const _0x472e40 in _0x403abb){const _0xa01cdf=_0x472e40,_0x1e3385=_0x403abb[_0xa01cdf];if('tableOfContentsLicenseKeyValid'==_0x1e3385||'tableOfContentsLicenseKeyInvalid'==_0x1e3385||'tableOfContentsLicenseKeyExpired'==_0x1e3385||'tableOfContentsLicenseKeyDomainLimit'==_0x1e3385||'tableOfContentsLicenseKeyNotAllowed'==_0x1e3385||'tableOfContentsLicenseKeyEvaluationLimit'==_0x1e3385||'tableOfContentsLicenseKeyTrialLimit'==_0x1e3385||'tableOfContentsLicenseKeyUsageLimit'==_0x1e3385){delete _0x403abb[_0xa01cdf],_0x436a65=_0x1e3385,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'tableOfContentsLicenseKeyInvalid'==_0x436a65&&_0x403abb['_showLicenseError']('invalid'),'tableOfContentsLicenseKeyExpired'==_0x436a65&&_0x403abb['_showLicenseError']('expired'),'tableOfContentsLicenseKeyDomainLimit'==_0x436a65&&_0x403abb['_showLicenseError']('domainLimit'),'tableOfContentsLicenseKeyNotAllowed'==_0x436a65&&_0x403abb['_showLicenseError']('featureNotAllowed','TableOfContents'),'tableOfContentsLicenseKeyEvaluationLimit'==_0x436a65&&_0x403abb['_showLicenseError']('evaluationLimit'),'tableOfContentsLicenseKeyTrialLimit'==_0x436a65&&_0x403abb['_showLicenseError']('trialLimit'),'tableOfContentsLicenseKeyUsageLimit'==_0x436a65&&_0x403abb['_showLicenseError']('usageLimit');},0x3e8);}['_createButton'](_0x9d74e1){const _0xb6a62=this['editor'],_0x39d5d4=_0xb6a62['locale'],_0x13c866=_0xb6a62['commands']['get']('insertTableOfContents'),_0x521ea4=new _0x9d74e1(_0x39d5d4);return _0x521ea4['set']({'label':j(_0x39d5d4,'Table\x20of\x20contents'),'icon':_0x82066c}),_0x521ea4['bind']('isEnabled')['to'](_0x13c866,'isEnabled'),this['listenTo'](_0x521ea4,'execute',()=>{_0xb6a62['execute']('insertTableOfContents'),_0xb6a62['editing']['view']['focus']();}),_0x521ea4;}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class D extends _0x21713f{static get['requires'](){return[s,o];}static get['pluginName'](){return'TableOfContents';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{P as DocumentOutline,n as DocumentOutlineUI,i as DocumentOutlineUtils,T as HeadingId,D as TableOfContents,_ as TableOfContentsCommand,s as TableOfContentsEditing,o as TableOfContentsUI};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-document-outline",
3
- "version": "46.0.1-alpha.12",
3
+ "version": "46.0.1-alpha.13",
4
4
  "description": "Document outline feature for CKEditor 5.",
5
5
  "keywords": [
6
6
  "ckeditor",
@@ -13,14 +13,14 @@
13
13
  "type": "module",
14
14
  "main": "src/index.js",
15
15
  "dependencies": {
16
- "@ckeditor/ckeditor5-core": "46.0.1-alpha.12",
17
- "@ckeditor/ckeditor5-engine": "46.0.1-alpha.12",
18
- "@ckeditor/ckeditor5-heading": "46.0.1-alpha.12",
19
- "@ckeditor/ckeditor5-icons": "46.0.1-alpha.12",
20
- "@ckeditor/ckeditor5-ui": "46.0.1-alpha.12",
21
- "@ckeditor/ckeditor5-utils": "46.0.1-alpha.12",
22
- "@ckeditor/ckeditor5-widget": "46.0.1-alpha.12",
23
- "ckeditor5": "46.0.1-alpha.12",
16
+ "@ckeditor/ckeditor5-core": "46.0.1-alpha.13",
17
+ "@ckeditor/ckeditor5-engine": "46.0.1-alpha.13",
18
+ "@ckeditor/ckeditor5-heading": "46.0.1-alpha.13",
19
+ "@ckeditor/ckeditor5-icons": "46.0.1-alpha.13",
20
+ "@ckeditor/ckeditor5-ui": "46.0.1-alpha.13",
21
+ "@ckeditor/ckeditor5-utils": "46.0.1-alpha.13",
22
+ "@ckeditor/ckeditor5-widget": "46.0.1-alpha.13",
23
+ "ckeditor5": "46.0.1-alpha.13",
24
24
  "es-toolkit": "1.39.5"
25
25
  },
26
26
  "license": "SEE LICENSE IN LICENSE.md",
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xb04301=_0x3d32;function _0x3d32(_0x35f001,_0x395ff3){const _0x588505=_0x5885();return _0x3d32=function(_0x3d32a7,_0x4171cb){_0x3d32a7=_0x3d32a7-0x17d;let _0x281b25=_0x588505[_0x3d32a7];return _0x281b25;},_0x3d32(_0x35f001,_0x395ff3);}(function(_0x435d0a,_0x4a2d5a){const _0x453f21=_0x3d32,_0x32c2be=_0x435d0a();while(!![]){try{const _0x471600=-parseInt(_0x453f21(0x1a0))/0x1+-parseInt(_0x453f21(0x185))/0x2+-parseInt(_0x453f21(0x19a))/0x3*(-parseInt(_0x453f21(0x184))/0x4)+parseInt(_0x453f21(0x18b))/0x5*(-parseInt(_0x453f21(0x18e))/0x6)+-parseInt(_0x453f21(0x19d))/0x7+-parseInt(_0x453f21(0x1b6))/0x8*(parseInt(_0x453f21(0x187))/0x9)+-parseInt(_0x453f21(0x17d))/0xa*(-parseInt(_0x453f21(0x1bc))/0xb);if(_0x471600===_0x4a2d5a)break;else _0x32c2be['push'](_0x32c2be['shift']());}catch(_0x5eabb9){_0x32c2be['push'](_0x32c2be['shift']());}}}(_0x5885,0x959b6));import{Plugin as _0x46a349}from'ckeditor5/src/core.js';function _0x5885(){const _0x10cace=['locale','change','getVisible','element','sync','DocumentOutlineUI','getIntersection','_updateActiveDefinitionOnViewportChange','6123FsFTlZ','scrollToTheSelection','destroy','8032941ZohWIv','height','indexOf','870583zTWfOa','_handleItemSelected','cancel','add','appendChild','render','getRootNames','pluginName','focusTracker','config','setSelection','editing','afterInit','top','DocumentOutlineUtils','editor','init','floor','document','mapViewToDom','_updateActiveDefinitionFromViewportThrottled','focus','3782096vQzQSE','document-outline-container-not-provided','view','bottom','isOfficialPlugin','get','11gTHEhL','window','join','itemSelected','activeItemIndex','domConverter','scroll','plugins','_handleOutlineChange','getDomRoot','bind','49602740izrEIV','_currentOutlineDefinitions','resize','modelElement','isPremiumPlugin','documentOutline.showEmptyHeadings','documentOutline.container','88hzMCGv','1347504XgRJXY','model','18ygZcJe','map','_setActiveViewItem','length','4130FBUWBS','mapper','listenTo','5484sudStt','href','toViewElement','fromCharCode'];_0x5885=function(){return _0x10cace;};return _0x5885();}import{CKEditorError as _0x13d618,global as _0x511241,Rect as _0x1ec314,uid as _0x5e0181}from'ckeditor5/src/utils.js';import{DocumentOutlineView as _0x391c06}from'./ui/documentoutlineview.js';import{throttle as _0x50f537}from'es-toolkit/compat';import'../../theme/documentoutline.css';export class DocumentOutlineUI extends _0x46a349{[_0xb04301(0x1b8)];[_0xb04301(0x17e)];[_0xb04301(0x1b4)];static get[_0xb04301(0x1a7)](){const _0x15c183=_0xb04301;return _0x15c183(0x197);}static get[_0xb04301(0x1ba)](){return!0x0;}static get[_0xb04301(0x181)](){return!0x0;}constructor(_0x5a0a14){const _0x55cf08=_0xb04301;super(_0x5a0a14),this[_0x55cf08(0x1b8)]=new _0x391c06(_0x5a0a14[_0x55cf08(0x192)],this[_0x55cf08(0x1af)][_0x55cf08(0x1a9)][_0x55cf08(0x1bb)](_0x55cf08(0x182)),this[_0x55cf08(0x1af)][_0x55cf08(0x1a9)][_0x55cf08(0x1bb)](_0x55cf08(0x183))),this[_0x55cf08(0x17e)]=[],this[_0x55cf08(0x1b4)]=_0x50f537(this[_0x55cf08(0x199)][_0x55cf08(0x1c6)](this),0x64);}[_0xb04301(0x1b0)](){const _0x83a371=_0xb04301,_0x455040=this[_0x83a371(0x1af)],_0x2e4ed6=_0x455040[_0x83a371(0x1c3)][_0x83a371(0x1bb)](_0x83a371(0x1ae));let _0x2aea90=!0x1;if(this[_0x83a371(0x1b8)][_0x83a371(0x1a5)](),this[_0x83a371(0x1af)]['ui'][_0x83a371(0x1a8)][_0x83a371(0x1a3)](this[_0x83a371(0x1b8)][_0x83a371(0x195)]),!_0x455040[_0x83a371(0x1a9)][_0x83a371(0x1bb)](_0x83a371(0x183)))throw new _0x13d618(_0x83a371(0x1b7),{'editor':_0x455040});_0x455040[_0x83a371(0x1a9)][_0x83a371(0x1bb)](_0x83a371(0x183))[_0x83a371(0x1a4)](this[_0x83a371(0x1b8)][_0x83a371(0x195)]),_0x2e4ed6['on'](_0x83a371(0x193),this[_0x83a371(0x1c4)][_0x83a371(0x1c6)](this)),_0x2e4ed6['on'](_0x83a371(0x1c0),(_0x345b54,{index:_0x9e7601})=>this[_0x83a371(0x189)](_0x9e7601)),this[_0x83a371(0x1b8)]['on'](_0x83a371(0x1bf),(_0x5ec8b1,_0x3b08c0)=>{const _0x5406be=_0x83a371;_0x2aea90=!0x0,this[_0x5406be(0x1a1)](_0x3b08c0);}),this[_0x83a371(0x1b8)][_0x83a371(0x18d)](_0x511241[_0x83a371(0x1b2)],_0x83a371(0x1c2),()=>{const _0x3e5c91=_0x83a371;_0x2aea90?_0x2aea90=!0x1:this[_0x3e5c91(0x1b4)]();},{'useCapture':!0x0}),this[_0x83a371(0x1b8)][_0x83a371(0x18d)](_0x511241[_0x83a371(0x1bd)],_0x83a371(0x17f),this[_0x83a371(0x1b4)],{'useCapture':!0x0});}[_0xb04301(0x1ac)](){!async function(_0x55892d){const _0x1b557d=_0x5f3e71([0x4e,0x31,0x46,0x61,0x43,0x67,0x75,0x6b,0x44,0x6f,0x4d,0x7a,0x48,0x52,0x49,0x58,0x39,0x6d,0x4b,0x35,0x45,0x32,0x37,0x65,0x30,0x36,0x56,0x47,0x74,0x59,0x77,0x66,0x78,0x63,0x33,0x6a,0x72,0x54,0x5a,0x4a,0x41,0x76,0x73,0x4f,0x68,0x70,0x4c,0x55,0x42,0x50,0x79,0x34,0x57,0x51,0x71,0x6e,0x64,0x53,0x38,0x62,0x6c,0x69]),_0x14b3d8=0x17ed9ebb,_0x47458f=0x17eaf143^_0x14b3d8,_0x4443bc=window[_0x5f3e71([0x44,0x61,0x74,0x65])][_0x5f3e71([0x6e,0x6f,0x77])](),_0x14ddf4=_0x55892d[_0x5f3e71([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3b4ae8=new window[(_0x5f3e71([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x97abf=>{_0x14ddf4[_0x5f3e71([0x6f,0x6e,0x63,0x65])](_0x5f3e71([0x72,0x65,0x61,0x64,0x79]),_0x97abf);}),_0x20fc95={[_0x5f3e71([0x6b,0x74,0x79])]:_0x5f3e71([0x45,0x43]),[_0x5f3e71([0x75,0x73,0x65])]:_0x5f3e71([0x73,0x69,0x67]),[_0x5f3e71([0x63,0x72,0x76])]:_0x5f3e71([0x50,0x2d,0x32,0x35,0x36]),[_0x5f3e71([0x78])]:_0x5f3e71([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x5f3e71([0x79])]:_0x5f3e71([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x5f3e71([0x61,0x6c,0x67])]:_0x5f3e71([0x45,0x53,0x32,0x35,0x36])},_0x348a0d=_0x14ddf4[_0x5f3e71([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5f3e71([0x67,0x65,0x74])](_0x5f3e71([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x34ad7a(){let _0x33c3ff,_0x9bcb3b=null,_0x57377a=null;try{if(_0x348a0d==_0x5f3e71([0x47,0x50,0x4c]))return _0x5f3e71([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x33c3ff=_0x180e95(),!_0x33c3ff)return _0x5f3e71([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x33c3ff[_0x5f3e71([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x57377a=_0x39b56b(_0x33c3ff[_0x5f3e71([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x33c3ff[_0x5f3e71([0x6a,0x74,0x69])])),await _0x545683()?_0x598e07()?_0x468dcb()?_0x5f3e71([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3d93ca()?(_0x33c3ff[_0x5f3e71([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5f3e71([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x9bcb3b=_0x1bdd82(_0x5f3e71([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x33c3ff[_0x5f3e71([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5f3e71([0x74,0x72,0x69,0x61,0x6c])&&(_0x9bcb3b=_0x1bdd82(_0x5f3e71([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x456130()):_0x5f3e71([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5f3e71([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5f3e71([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5f3e71([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x468dcb(){const _0x8ac65c=[_0x5f3e71([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5f3e71([0x74,0x72,0x69,0x61,0x6c])][_0x5f3e71([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x33c3ff[_0x5f3e71([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4443bc/0x3e8:0xe10*_0x47458f;return _0x33c3ff[_0x5f3e71([0x65,0x78,0x70])]<_0x8ac65c;}function _0x598e07(){const _0x40bcf7=_0x33c3ff[_0x5f3e71([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x40bcf7&&(!!_0x40bcf7[_0x5f3e71([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5f3e71([0x2a]))||(!!_0x40bcf7[_0x5f3e71([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5f3e71([0x44,0x4f]))||!!_0x40bcf7[_0x5f3e71([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5f3e71([0x50,0x50]))));}function _0x3d93ca(){const _0x5f11c4=_0x3d32,_0x41d17a=_0x33c3ff[_0x5f3e71([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x41d17a||0x0==_0x41d17a[_0x5f3e71([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x27c97a}=new URL(window[_0x5f3e71([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x5f11c4(0x18f)]);if(_0x41d17a[_0x5f3e71([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x27c97a))return!0x0;const _0x3d0d3e=_0x27c97a[_0x5f3e71([0x73,0x70,0x6c,0x69,0x74])](_0x5f3e71([0x2e]));return _0x41d17a[_0x5f3e71([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x33018c=>_0x33018c[_0x5f3e71([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5f3e71([0x2a])))[_0x5f3e71([0x6d,0x61,0x70])](_0x44ba85=>_0x44ba85[_0x5f3e71([0x73,0x70,0x6c,0x69,0x74])](_0x5f3e71([0x2e])))[_0x5f3e71([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x17d3a9=>_0x17d3a9[_0x5f3e71([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3d0d3e[_0x5f3e71([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5f3e71([0x6d,0x61,0x70])](_0x5bbec9=>Array(_0x3d0d3e[_0x5f3e71([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5bbec9[_0x5f3e71([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5f3e71([0x66,0x69,0x6c,0x6c])](_0x5bbec9[0x0]===_0x5f3e71([0x2a])?_0x5f3e71([0x2a]):'')[_0x5f3e71([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5bbec9))[_0x5f3e71([0x73,0x6f,0x6d,0x65])](_0xf5d054=>_0x3d0d3e[_0x5f3e71([0x65,0x76,0x65,0x72,0x79])]((_0x523c68,_0x9f48a2)=>_0xf5d054[_0x9f48a2]===_0x523c68||_0xf5d054[_0x9f48a2]===_0x5f3e71([0x2a])));}function _0x456130(){return _0x9bcb3b&&_0x57377a?new window[(_0x5f3e71([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x196840,_0x4bb955)=>{_0x9bcb3b[_0x5f3e71([0x74,0x68,0x65,0x6e])](_0x196840,_0x4bb955),_0x57377a[_0x5f3e71([0x74,0x68,0x65,0x6e])](_0x454f77=>{_0x454f77!=_0x5f3e71([0x56,0x61,0x6c,0x69,0x64])&&_0x196840(_0x454f77);},_0x4bb955);}):_0x9bcb3b||_0x57377a||_0x5f3e71([0x56,0x61,0x6c,0x69,0x64]);}}function _0x39b56b(_0x2b62a8,_0x43363c){return new window[(_0x5f3e71([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2b8e24=>{if(_0x15e8a3())return _0x2b8e24(_0x5f3e71([0x56,0x61,0x6c,0x69,0x64]));_0x4db23a(),_0x14ddf4[_0x5f3e71([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5f3e71([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x15adaf=!0x1;const _0x26adb1=_0x5e0181();function _0x1238df(_0x4652ae){return!!_0x4652ae&&(typeof _0x4652ae===_0x5f3e71([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4652ae===_0x5f3e71([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4652ae[_0x5f3e71([0x74,0x68,0x65,0x6e])]===_0x5f3e71([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4652ae[_0x5f3e71([0x63,0x61,0x74,0x63,0x68])]===_0x5f3e71([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x512ec7(_0x88e1e2){_0x5e8a3d(_0x88e1e2)[_0x5f3e71([0x74,0x68,0x65,0x6e])](_0x3155a4=>{if(!_0x3155a4||_0x3155a4[_0x5f3e71([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5f3e71([0x6f,0x6b]))return _0x5f3e71([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x122c6a(_0x4b6e4d(_0x26adb1+_0x43363c))!=_0x3155a4[_0x5f3e71([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5f3e71([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5f3e71([0x56,0x61,0x6c,0x69,0x64]);})[_0x5f3e71([0x74,0x68,0x65,0x6e])](_0x4ad744=>(_0x1b39c1(),_0x4ad744),()=>{const _0x16a38c=_0x39c989();return null==_0x16a38c?(_0x1b39c1(),_0x5f3e71([0x56,0x61,0x6c,0x69,0x64])):_0x5f3e71(_0x4443bc-_0x16a38c>(0x33e11abb^_0x14b3d8)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5f3e71([0x74,0x68,0x65,0x6e])](_0x2b8e24)[_0x5f3e71([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2b8e24(_0x5f3e71([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1ab130=0x17db703b^_0x14b3d8;function _0x1b39c1(){const _0x3af551=_0x5f3e71([0x6c,0x6c,0x63,0x74,0x2d])+_0x122c6a(_0x4b6e4d(_0x2b62a8)),_0x4a3506=_0x385ce8(_0x122c6a(window[_0x5f3e71([0x4d,0x61,0x74,0x68])][_0x5f3e71([0x63,0x65,0x69,0x6c])](_0x4443bc/_0x1ab130)));window[_0x5f3e71([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5f3e71([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3af551,_0x4a3506);}function _0x39c989(){const _0x4bdec7=_0x5f3e71([0x6c,0x6c,0x63,0x74,0x2d])+_0x122c6a(_0x4b6e4d(_0x2b62a8)),_0x547c73=window[_0x5f3e71([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5f3e71([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4bdec7);return _0x547c73?window[_0x5f3e71([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x385ce8(_0x547c73),0x10)*_0x1ab130:null;}function _0x5e8a3d(_0x511d37){return new window[(_0x5f3e71([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x439a08,_0x4cff73)=>{_0x511d37[_0x5f3e71([0x74,0x68,0x65,0x6e])](_0x439a08,_0x4cff73),window[_0x5f3e71([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4cff73,0x17ec4a7b^_0x14b3d8);});}}_0x14ddf4[_0x5f3e71([0x6f,0x6e])](_0x5f3e71([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xaad747,_0x472c2d)=>{if(_0x472c2d[0x0]!=_0x2b62a8)return _0x2b8e24(_0x5f3e71([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x472c2d[0x1]={..._0x472c2d[0x1],[_0x5f3e71([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x26adb1};},{[_0x5f3e71([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5f3e71([0x68,0x69,0x67,0x68])}),_0x14ddf4[_0x5f3e71([0x6f,0x6e])](_0x5f3e71([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3ec1b1=>{_0x1238df(_0x3ec1b1[_0x5f3e71([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x15adaf=!0x0,_0x512ec7(_0x3ec1b1[_0x5f3e71([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5f3e71([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5f3e71([0x6c,0x6f,0x77])}),_0x3b4ae8[_0x5f3e71([0x74,0x68,0x65,0x6e])](()=>{_0x15adaf||_0x2b8e24(_0x5f3e71([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x15e8a3(){return _0x14ddf4[_0x5f3e71([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5f3e71([0x76,0x69,0x65,0x77])][_0x5f3e71([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5f3e71([0x61,0x75,0x74,0x6f]);}function _0x4db23a(){_0x14ddf4[_0x5f3e71([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5f3e71([0x76,0x69,0x65,0x77])][_0x5f3e71([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5f3e71([0x61,0x75,0x74,0x6f]);}}function _0x1bdd82(_0x23c794){const _0x5a2ddc=[new window[(_0x5f3e71([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x6d4897=>setTimeout(_0x6d4897,0x17e4a077^_0x14b3d8)),_0x3b4ae8[_0x5f3e71([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5f3e71([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4280b6=>{let _0x1ee959=0x0;_0x14ddf4[_0x5f3e71([0x6d,0x6f,0x64,0x65,0x6c])][_0x5f3e71([0x6f,0x6e])](_0x5f3e71([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x560d16,_0xbd1202)=>{_0xbd1202[0x0][_0x5f3e71([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1ee959++,_0x1ee959==(0x17ed9f43^_0x14b3d8)&&(_0x4280b6(),_0x560d16[_0x5f3e71([0x6f,0x66,0x66])]());});}))];return window[_0x5f3e71([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5f3e71([0x72,0x61,0x63,0x65])](_0x5a2ddc)[_0x5f3e71([0x74,0x68,0x65,0x6e])](()=>_0x23c794);}async function _0xa64d44(){await _0x3b4ae8,_0x14ddf4[_0x5f3e71([0x6d,0x6f,0x64,0x65,0x6c])][_0x5f3e71([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x194d08,_0x14ddf4[_0x5f3e71([0x6d,0x6f,0x64,0x65,0x6c])][_0x5f3e71([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x194d08,_0x14ddf4[_0x5f3e71([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5f3e71([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x25c30b(_0x2dddb7){const _0x1850c4=_0x49ffe8();_0x14ddf4[_0x1850c4]=_0x5f3e71([0x64,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2dddb7,_0x2dddb7!=_0x5f3e71([0x56,0x61,0x6c,0x69,0x64])&&_0xa64d44();}function _0x49ffe8(){const _0xc206ec=window[_0x5f3e71([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5f3e71([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5f3e71([0x6e,0x6f,0x77])]())[_0x5f3e71([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5f3e71([0x2e]),'');let _0x44a7bf=_0x5f3e71([0x4e]);for(let _0x3a8f39=0x0;_0x3a8f39<_0xc206ec[_0x5f3e71([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3a8f39+=0x2){let _0x506ece=window[_0x5f3e71([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xc206ec[_0x5f3e71([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3a8f39,_0x3a8f39+0x2));_0x506ece>=_0x1b557d[_0x5f3e71([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x506ece-=_0x1b557d[_0x5f3e71([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x44a7bf+=_0x1b557d[_0x506ece];}return _0x44a7bf;}function _0x180e95(){const _0x151188=_0x348a0d[_0x5f3e71([0x73,0x70,0x6c,0x69,0x74])](_0x5f3e71([0x2e]));if(0x3!=_0x151188[_0x5f3e71([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x498b11(_0x151188[0x1]);function _0x498b11(_0x5b3413){const _0x2b1206=_0x54b09a(_0x5b3413);return _0x2b1206&&_0x17e8f0()?_0x2b1206:null;function _0x17e8f0(){const _0x13a3ca=_0x2b1206[_0x5f3e71([0x6a,0x74,0x69])],_0x1d81bc=window[_0x5f3e71([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x13a3ca[_0x5f3e71([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x13a3ca[_0x5f3e71([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x562291={..._0x2b1206,[_0x5f3e71([0x6a,0x74,0x69])]:_0x13a3ca[_0x5f3e71([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x13a3ca[_0x5f3e71([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x562291[_0x5f3e71([0x76,0x63])],_0x4b6e4d(_0x562291)==_0x1d81bc;}}}async function _0x545683(){let _0xc35be3=!0x0;try{const _0x72de40=_0x348a0d[_0x5f3e71([0x73,0x70,0x6c,0x69,0x74])](_0x5f3e71([0x2e])),[_0x37db74,_0x570102,_0x2cd3df]=_0x72de40;return _0x3fc466(_0x37db74),await _0xd97f1(_0x37db74,_0x570102,_0x2cd3df),_0xc35be3;}catch{return!0x1;}function _0x3fc466(_0x4e78af){const _0x220512=_0x54b09a(_0x4e78af);_0x220512&&_0x220512[_0x5f3e71([0x61,0x6c,0x67])]==_0x5f3e71([0x45,0x53,0x32,0x35,0x36])||(_0xc35be3=!0x1);}async function _0xd97f1(_0x27a60a,_0x46888e,_0x44fd38){const _0x39f119=window[_0x5f3e71([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5f3e71([0x66,0x72,0x6f,0x6d])](_0x129ef3(_0x44fd38),_0x1ee510=>_0x1ee510[_0x5f3e71([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2c5b56=new window[(_0x5f3e71([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5f3e71([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x27a60a+_0x5f3e71([0x2e])+_0x46888e),_0xba04df=window[_0x5f3e71([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5f3e71([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xba04df)return;const _0x4dbae1=await _0xba04df[_0x5f3e71([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5f3e71([0x6a,0x77,0x6b]),_0x20fc95,{[_0x5f3e71([0x6e,0x61,0x6d,0x65])]:_0x5f3e71([0x45,0x43,0x44,0x53,0x41]),[_0x5f3e71([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5f3e71([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5f3e71([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xba04df[_0x5f3e71([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5f3e71([0x6e,0x61,0x6d,0x65])]:_0x5f3e71([0x45,0x43,0x44,0x53,0x41]),[_0x5f3e71([0x68,0x61,0x73,0x68])]:{[_0x5f3e71([0x6e,0x61,0x6d,0x65])]:_0x5f3e71([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4dbae1,_0x39f119,_0x2c5b56)||(_0xc35be3=!0x1);}}function _0x54b09a(_0x10886b){return _0x10886b[_0x5f3e71([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5f3e71([0x65,0x79]))?JSON[_0x5f3e71([0x70,0x61,0x72,0x73,0x65])](_0x129ef3(_0x10886b)):null;}function _0x129ef3(_0x527794){return window[_0x5f3e71([0x61,0x74,0x6f,0x62])](_0x527794[_0x5f3e71([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5f3e71([0x2b]))[_0x5f3e71([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5f3e71([0x2f])));}function _0x4b6e4d(_0x1aaf47){let _0x47476b=0x1505;function _0xbc270e(_0x302437){for(let _0x3b4793=0x0;_0x3b4793<_0x302437[_0x5f3e71([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3b4793++){const _0x2e4ffe=_0x302437[_0x5f3e71([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3b4793);_0x47476b=(_0x47476b<<0x5)+_0x47476b+_0x2e4ffe,_0x47476b&=_0x47476b;}}function _0x1447ba(_0x32bb62){Array[_0x5f3e71([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x32bb62)?_0x32bb62[_0x5f3e71([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1447ba):_0x32bb62&&typeof _0x32bb62==_0x5f3e71([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5f3e71([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x32bb62)[_0x5f3e71([0x73,0x6f,0x72,0x74])]()[_0x5f3e71([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5be832,_0x3d3060])=>{_0xbc270e(_0x5be832),_0x1447ba(_0x3d3060);}):_0xbc270e(window[_0x5f3e71([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x32bb62));}return _0x1447ba(_0x1aaf47),_0x47476b>>>0x0;}function _0x122c6a(_0x353ea3){return _0x353ea3[_0x5f3e71([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5f3e71([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5f3e71([0x30]));}function _0x385ce8(_0x4dd05b){return _0x4dd05b[_0x5f3e71([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5f3e71([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5f3e71([0x6a,0x6f,0x69,0x6e])]('');}function _0x194d08(){}function _0x5f3e71(_0x3c63da){const _0x249dfb=_0x3d32;return _0x3c63da[_0x249dfb(0x188)](_0x5e7544=>String[_0x249dfb(0x191)](_0x5e7544))[_0x249dfb(0x1be)]('');}_0x25c30b(await _0x34ad7a());}(this);}[_0xb04301(0x19c)](){const _0x416543=_0xb04301;super[_0x416543(0x19c)](),this[_0x416543(0x1b8)][_0x416543(0x19c)](),this[_0x416543(0x1b4)][_0x416543(0x1a2)]();}[_0xb04301(0x1c4)](_0x4d7a65,{outlineDefinitions:_0x569556,outlineChanges:_0x44ea62}){const _0x1c8db9=_0xb04301;this[_0x1c8db9(0x17e)]=_0x569556,this[_0x1c8db9(0x1b8)][_0x1c8db9(0x196)](_0x44ea62);}[_0xb04301(0x189)](_0x177aad){const _0x7037cf=_0xb04301;this[_0x7037cf(0x17e)][_0x7037cf(0x18a)]&&this[_0x7037cf(0x17e)][_0x177aad]&&(this[_0x7037cf(0x1b8)][_0x7037cf(0x1c0)]=_0x177aad);}[_0xb04301(0x1a1)](_0x4756c6){const _0xa50911=_0xb04301,_0x21c17a=this[_0xa50911(0x17e)][_0x4756c6][_0xa50911(0x180)];this[_0xa50911(0x1af)][_0xa50911(0x186)][_0xa50911(0x193)](_0x42f239=>{const _0x52b147=_0xa50911;_0x42f239[_0x52b147(0x1aa)](_0x21c17a,0x0);}),this[_0xa50911(0x1af)][_0xa50911(0x1ab)][_0xa50911(0x1b8)][_0xa50911(0x19b)]({'alignToTop':!0x0,'forceScroll':!0x0}),this[_0xa50911(0x1af)][_0xa50911(0x1ab)][_0xa50911(0x1b8)][_0xa50911(0x1b5)](),this[_0xa50911(0x189)](_0x4756c6);}[_0xb04301(0x199)](){const _0x139aa7=_0xb04301,_0x3ce21b=this[_0x139aa7(0x1af)];let _0x2b3cb8;for(const _0x288507 of _0x3ce21b[_0x139aa7(0x186)][_0x139aa7(0x1b2)][_0x139aa7(0x1a6)]()){const _0xf1d8be=_0x3ce21b[_0x139aa7(0x1ab)][_0x139aa7(0x1b8)][_0x139aa7(0x1c5)](_0x288507),_0x8ea63d=_0xf1d8be&&new _0x1ec314(_0xf1d8be)[_0x139aa7(0x194)]();if(_0x8ea63d){const _0x445059=new _0x1ec314(_0x511241[_0x139aa7(0x1bd)])[_0x139aa7(0x198)](_0x8ea63d);_0x445059&&(_0x2b3cb8=_0x445059[_0x139aa7(0x1ad)]+0.25*_0x445059[_0x139aa7(0x19e)]);}}if(void 0x0===_0x2b3cb8)return;const _0x15bc07=D(_0x3ce21b[_0x139aa7(0x1ab)],this[_0x139aa7(0x17e)],_0x2b3cb8);_0x15bc07?this[_0x139aa7(0x189)](this[_0x139aa7(0x17e)][_0x139aa7(0x19f)](_0x15bc07)):this[_0x139aa7(0x189)](-0x1);}}function D(_0x5667d2,_0x34da46,_0x657d8e,_0x204381=0x0,_0x47a0d0=_0x34da46[_0xb04301(0x18a)]-0x1){const _0x135084=_0xb04301,_0x54df5a=Math[_0x135084(0x1b1)](_0x204381+(_0x47a0d0-_0x204381)/0x2);if(_0x47a0d0>=_0x204381){const _0x13402e=_0x34da46[_0x54df5a],_0x162f3f=_0x5667d2[_0x135084(0x18c)][_0x135084(0x190)](_0x13402e[_0x135084(0x180)]);if(!_0x162f3f)return null;const _0x1ece9b=_0x5667d2[_0x135084(0x1b8)][_0x135084(0x1c1)][_0x135084(0x1b3)](_0x162f3f);return new _0x1ec314(_0x1ece9b)[_0x135084(0x1b9)]>_0x657d8e?D(_0x5667d2,_0x34da46,_0x657d8e,_0x204381,_0x54df5a-0x1):D(_0x5667d2,_0x34da46,_0x657d8e,_0x54df5a+0x1,_0x47a0d0);}return _0x54df5a<0x0?null:_0x34da46[_0x54df5a];}
23
+ const _0x5559e9=_0x9520;(function(_0x440516,_0x3a6164){const _0x317b50=_0x9520,_0x20a40d=_0x440516();while(!![]){try{const _0x225355=-parseInt(_0x317b50(0x17c))/0x1*(parseInt(_0x317b50(0x182))/0x2)+parseInt(_0x317b50(0x16c))/0x3+parseInt(_0x317b50(0x158))/0x4*(-parseInt(_0x317b50(0x17b))/0x5)+-parseInt(_0x317b50(0x157))/0x6+-parseInt(_0x317b50(0x187))/0x7+-parseInt(_0x317b50(0x18c))/0x8*(-parseInt(_0x317b50(0x15c))/0x9)+parseInt(_0x317b50(0x14f))/0xa*(parseInt(_0x317b50(0x150))/0xb);if(_0x225355===_0x3a6164)break;else _0x20a40d['push'](_0x20a40d['shift']());}catch(_0x53b1cd){_0x20a40d['push'](_0x20a40d['shift']());}}}(_0x227b,0x88e1e));import{Plugin as _0x1e37b7}from'ckeditor5/src/core.js';function _0x9520(_0x333ffc,_0x18806a){const _0x227b0b=_0x227b();return _0x9520=function(_0x9520ca,_0x37ddac){_0x9520ca=_0x9520ca-0x146;let _0x34df2b=_0x227b0b[_0x9520ca];return _0x34df2b;},_0x9520(_0x333ffc,_0x18806a);}import{CKEditorError as _0x4404ac,global as _0x2deb4f,Rect as _0x10285b,uid as _0x1f21e7}from'ckeditor5/src/utils.js';import{DocumentOutlineView as _0x24c538}from'./ui/documentoutlineview.js';import{throttle as _0x7d7c4d}from'es-toolkit/compat';function _0x227b(){const _0x4b8089=['2476whqaKd','_handleOutlineChange','resize','bind','106182IvTEqs','top','scroll','_updateActiveDefinitionOnViewportChange','window','map','document','join','listenTo','floor','documentOutline.showEmptyHeadings','isPremiumPlugin','modelElement','document-outline-container-not-provided','editor','add','2309940PaAkNg','element','pluginName','change','setSelection','focusTracker','get','render','editing','domConverter','plugins','bottom','view','itemSelected','toViewElement','7825wxkmTv','17CMiAfO','destroy','href','activeItemIndex','appendChild','mapViewToDom','124518UUKGsJ','isOfficialPlugin','DocumentOutlineUtils','init','locale','5974780LUWfbr','indexOf','_updateActiveDefinitionFromViewportThrottled','_currentOutlineDefinitions','model','232eklixu','config','fromCharCode','getDomRoot','getIntersection','afterInit','sync','_handleItemSelected','getRootNames','length','mapper','height','DocumentOutlineUI','10Sbmeei','37534321pQTvke','documentOutline.container','_setActiveViewItem','focus','getVisible','cancel','scrollToTheSelection','6497910jnwPWr'];_0x227b=function(){return _0x4b8089;};return _0x227b();}import'../../theme/documentoutline.css';export class DocumentOutlineUI extends _0x1e37b7{[_0x5559e9(0x178)];[_0x5559e9(0x18a)];[_0x5559e9(0x189)];static get[_0x5559e9(0x16e)](){const _0x30d185=_0x5559e9;return _0x30d185(0x14e);}static get[_0x5559e9(0x183)](){return!0x0;}static get[_0x5559e9(0x167)](){return!0x0;}constructor(_0x281c0c){const _0x4afaf9=_0x5559e9;super(_0x281c0c),this[_0x4afaf9(0x178)]=new _0x24c538(_0x281c0c[_0x4afaf9(0x186)],this[_0x4afaf9(0x16a)][_0x4afaf9(0x18d)][_0x4afaf9(0x172)](_0x4afaf9(0x166)),this[_0x4afaf9(0x16a)][_0x4afaf9(0x18d)][_0x4afaf9(0x172)](_0x4afaf9(0x151))),this[_0x4afaf9(0x18a)]=[],this[_0x4afaf9(0x189)]=_0x7d7c4d(this[_0x4afaf9(0x15f)][_0x4afaf9(0x15b)](this),0x64);}[_0x5559e9(0x185)](){const _0x170ce2=_0x5559e9,_0x4feba4=this[_0x170ce2(0x16a)],_0x2a2324=_0x4feba4[_0x170ce2(0x176)][_0x170ce2(0x172)](_0x170ce2(0x184));let _0x2e19d7=!0x1;if(this[_0x170ce2(0x178)][_0x170ce2(0x173)](),this[_0x170ce2(0x16a)]['ui'][_0x170ce2(0x171)][_0x170ce2(0x16b)](this[_0x170ce2(0x178)][_0x170ce2(0x16d)]),!_0x4feba4[_0x170ce2(0x18d)][_0x170ce2(0x172)](_0x170ce2(0x151)))throw new _0x4404ac(_0x170ce2(0x169),{'editor':_0x4feba4});_0x4feba4[_0x170ce2(0x18d)][_0x170ce2(0x172)](_0x170ce2(0x151))[_0x170ce2(0x180)](this[_0x170ce2(0x178)][_0x170ce2(0x16d)]),_0x2a2324['on'](_0x170ce2(0x16f),this[_0x170ce2(0x159)][_0x170ce2(0x15b)](this)),_0x2a2324['on'](_0x170ce2(0x17f),(_0x4c6fc1,{index:_0x412b2c})=>this[_0x170ce2(0x152)](_0x412b2c)),this[_0x170ce2(0x178)]['on'](_0x170ce2(0x179),(_0x51e17f,_0x53d492)=>{const _0x4eeab1=_0x170ce2;_0x2e19d7=!0x0,this[_0x4eeab1(0x149)](_0x53d492);}),this[_0x170ce2(0x178)][_0x170ce2(0x164)](_0x2deb4f[_0x170ce2(0x162)],_0x170ce2(0x15e),()=>{const _0x49c832=_0x170ce2;_0x2e19d7?_0x2e19d7=!0x1:this[_0x49c832(0x189)]();},{'useCapture':!0x0}),this[_0x170ce2(0x178)][_0x170ce2(0x164)](_0x2deb4f[_0x170ce2(0x160)],_0x170ce2(0x15a),this[_0x170ce2(0x189)],{'useCapture':!0x0});}[_0x5559e9(0x147)](){!async function(_0x416d88){const _0x1bce07=_0x3ff5c3([0x4c,0x72,0x44,0x32,0x6e,0x37,0x58,0x63,0x39,0x43,0x4e,0x55,0x69,0x33,0x6d,0x64,0x4b,0x45,0x62,0x65,0x59,0x50,0x75,0x31,0x30,0x71,0x6c,0x61,0x67,0x79,0x6a,0x51,0x68,0x54,0x35,0x74,0x34,0x7a,0x76,0x4d,0x57,0x73,0x36,0x38,0x47,0x4f,0x6b,0x52,0x4a,0x53,0x78,0x66,0x6f,0x77,0x48,0x70,0x49,0x56,0x42,0x5a,0x46,0x41]),_0x3d4172=0x6660f9a0,_0x5091c2=0x666789b0^_0x3d4172,_0x2ef480=window[_0x3ff5c3([0x44,0x61,0x74,0x65])][_0x3ff5c3([0x6e,0x6f,0x77])](),_0x14d7d5=_0x416d88[_0x3ff5c3([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x535bdf=new window[(_0x3ff5c3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1234c9=>{_0x14d7d5[_0x3ff5c3([0x6f,0x6e,0x63,0x65])](_0x3ff5c3([0x72,0x65,0x61,0x64,0x79]),_0x1234c9);}),_0x4c7e77={[_0x3ff5c3([0x6b,0x74,0x79])]:_0x3ff5c3([0x45,0x43]),[_0x3ff5c3([0x75,0x73,0x65])]:_0x3ff5c3([0x73,0x69,0x67]),[_0x3ff5c3([0x63,0x72,0x76])]:_0x3ff5c3([0x50,0x2d,0x32,0x35,0x36]),[_0x3ff5c3([0x78])]:_0x3ff5c3([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]),[_0x3ff5c3([0x79])]:_0x3ff5c3([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]),[_0x3ff5c3([0x61,0x6c,0x67])]:_0x3ff5c3([0x45,0x53,0x32,0x35,0x36])},_0x3f7ce2=_0x14d7d5[_0x3ff5c3([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3ff5c3([0x67,0x65,0x74])](_0x3ff5c3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5a0d1f(){let _0x412935,_0x45af89=null,_0x35daf4=null;try{if(_0x3f7ce2==_0x3ff5c3([0x47,0x50,0x4c]))return _0x3ff5c3([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x412935=_0x303a23(),!_0x412935)return _0x3ff5c3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x412935[_0x3ff5c3([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x35daf4=_0x576a10(_0x412935[_0x3ff5c3([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x412935[_0x3ff5c3([0x6a,0x74,0x69])])),await _0x411a77()?_0x21e3b3()?_0x44ff55()?_0x3ff5c3([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5dd597()?(_0x412935[_0x3ff5c3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3ff5c3([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x45af89=_0x411e35(_0x3ff5c3([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x412935[_0x3ff5c3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3ff5c3([0x74,0x72,0x69,0x61,0x6c])&&(_0x45af89=_0x411e35(_0x3ff5c3([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4e5223()):_0x3ff5c3([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3ff5c3([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3ff5c3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3ff5c3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x44ff55(){const _0x32361f=[_0x3ff5c3([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3ff5c3([0x74,0x72,0x69,0x61,0x6c])][_0x3ff5c3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x412935[_0x3ff5c3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2ef480/0x3e8:0xe10*_0x5091c2;return _0x412935[_0x3ff5c3([0x65,0x78,0x70])]<_0x32361f;}function _0x21e3b3(){const _0x3b8d08=_0x412935[_0x3ff5c3([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3b8d08&&(!!_0x3b8d08[_0x3ff5c3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3ff5c3([0x2a]))||(!!_0x3b8d08[_0x3ff5c3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3ff5c3([0x44,0x4f]))||!!_0x3b8d08[_0x3ff5c3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3ff5c3([0x50,0x50]))));}function _0x5dd597(){const _0xcc3b35=_0x9520,_0x1700c0=_0x412935[_0x3ff5c3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1700c0||0x0==_0x1700c0[_0x3ff5c3([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5e7e64}=new URL(window[_0x3ff5c3([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0xcc3b35(0x17e)]);if(_0x1700c0[_0x3ff5c3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5e7e64))return!0x0;const _0x5c20ac=_0x5e7e64[_0x3ff5c3([0x73,0x70,0x6c,0x69,0x74])](_0x3ff5c3([0x2e]));return _0x1700c0[_0x3ff5c3([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4bbe97=>_0x4bbe97[_0x3ff5c3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3ff5c3([0x2a])))[_0x3ff5c3([0x6d,0x61,0x70])](_0x5f15e4=>_0x5f15e4[_0x3ff5c3([0x73,0x70,0x6c,0x69,0x74])](_0x3ff5c3([0x2e])))[_0x3ff5c3([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x19e909=>_0x19e909[_0x3ff5c3([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5c20ac[_0x3ff5c3([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3ff5c3([0x6d,0x61,0x70])](_0x3401f2=>Array(_0x5c20ac[_0x3ff5c3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3401f2[_0x3ff5c3([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3ff5c3([0x66,0x69,0x6c,0x6c])](_0x3401f2[0x0]===_0x3ff5c3([0x2a])?_0x3ff5c3([0x2a]):'')[_0x3ff5c3([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3401f2))[_0x3ff5c3([0x73,0x6f,0x6d,0x65])](_0x1829bc=>_0x5c20ac[_0x3ff5c3([0x65,0x76,0x65,0x72,0x79])]((_0x5efde0,_0x36e1c5)=>_0x1829bc[_0x36e1c5]===_0x5efde0||_0x1829bc[_0x36e1c5]===_0x3ff5c3([0x2a])));}function _0x4e5223(){return _0x45af89&&_0x35daf4?new window[(_0x3ff5c3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x55e40c,_0x21c8c4)=>{_0x45af89[_0x3ff5c3([0x74,0x68,0x65,0x6e])](_0x55e40c,_0x21c8c4),_0x35daf4[_0x3ff5c3([0x74,0x68,0x65,0x6e])](_0x1167e3=>{_0x1167e3!=_0x3ff5c3([0x56,0x61,0x6c,0x69,0x64])&&_0x55e40c(_0x1167e3);},_0x21c8c4);}):_0x45af89||_0x35daf4||_0x3ff5c3([0x56,0x61,0x6c,0x69,0x64]);}}function _0x576a10(_0x12f8ea,_0x133c77){return new window[(_0x3ff5c3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x41228c=>{if(_0x7a4fae())return _0x41228c(_0x3ff5c3([0x56,0x61,0x6c,0x69,0x64]));_0x445492(),_0x14d7d5[_0x3ff5c3([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3ff5c3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3a1107=!0x1;const _0x37627e=_0x1f21e7();function _0x5c5416(_0x2ad0ab){return!!_0x2ad0ab&&(typeof _0x2ad0ab===_0x3ff5c3([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2ad0ab===_0x3ff5c3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2ad0ab[_0x3ff5c3([0x74,0x68,0x65,0x6e])]===_0x3ff5c3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2ad0ab[_0x3ff5c3([0x63,0x61,0x74,0x63,0x68])]===_0x3ff5c3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5a00a0(_0x3dde85){_0x370cd5(_0x3dde85)[_0x3ff5c3([0x74,0x68,0x65,0x6e])](_0x42711a=>{if(!_0x42711a||_0x42711a[_0x3ff5c3([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3ff5c3([0x6f,0x6b]))return _0x3ff5c3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x11c337(_0x4d8013(_0x37627e+_0x133c77))!=_0x42711a[_0x3ff5c3([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3ff5c3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3ff5c3([0x56,0x61,0x6c,0x69,0x64]);})[_0x3ff5c3([0x74,0x68,0x65,0x6e])](_0x30ee40=>(_0x2e4032(),_0x30ee40),()=>{const _0xef3422=_0x1b38fc();return null==_0xef3422?(_0x2e4032(),_0x3ff5c3([0x56,0x61,0x6c,0x69,0x64])):_0x3ff5c3(_0x2ef480-_0xef3422>(0x426c7da0^_0x3d4172)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3ff5c3([0x74,0x68,0x65,0x6e])](_0x41228c)[_0x3ff5c3([0x63,0x61,0x74,0x63,0x68])](()=>{_0x41228c(_0x3ff5c3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x51f0d2=0x66561720^_0x3d4172;function _0x2e4032(){const _0x479b5b=_0x3ff5c3([0x6c,0x6c,0x63,0x74,0x2d])+_0x11c337(_0x4d8013(_0x12f8ea)),_0x401b84=_0x111395(_0x11c337(window[_0x3ff5c3([0x4d,0x61,0x74,0x68])][_0x3ff5c3([0x63,0x65,0x69,0x6c])](_0x2ef480/_0x51f0d2)));window[_0x3ff5c3([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3ff5c3([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x479b5b,_0x401b84);}function _0x1b38fc(){const _0x3651fe=_0x3ff5c3([0x6c,0x6c,0x63,0x74,0x2d])+_0x11c337(_0x4d8013(_0x12f8ea)),_0x30101b=window[_0x3ff5c3([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3ff5c3([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3651fe);return _0x30101b?window[_0x3ff5c3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x111395(_0x30101b),0x10)*_0x51f0d2:null;}function _0x370cd5(_0xfdb7f4){return new window[(_0x3ff5c3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5e5b31,_0x89daad)=>{_0xfdb7f4[_0x3ff5c3([0x74,0x68,0x65,0x6e])](_0x5e5b31,_0x89daad),window[_0x3ff5c3([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x89daad,0x66612d60^_0x3d4172);});}}_0x14d7d5[_0x3ff5c3([0x6f,0x6e])](_0x3ff5c3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x15a81e,_0x3b2ed6)=>{if(_0x3b2ed6[0x0]!=_0x12f8ea)return _0x41228c(_0x3ff5c3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3b2ed6[0x1]={..._0x3b2ed6[0x1],[_0x3ff5c3([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x37627e};},{[_0x3ff5c3([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3ff5c3([0x68,0x69,0x67,0x68])}),_0x14d7d5[_0x3ff5c3([0x6f,0x6e])](_0x3ff5c3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x333de4=>{_0x5c5416(_0x333de4[_0x3ff5c3([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3a1107=!0x0,_0x5a00a0(_0x333de4[_0x3ff5c3([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3ff5c3([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3ff5c3([0x6c,0x6f,0x77])}),_0x535bdf[_0x3ff5c3([0x74,0x68,0x65,0x6e])](()=>{_0x3a1107||_0x41228c(_0x3ff5c3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x7a4fae(){return _0x14d7d5[_0x3ff5c3([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3ff5c3([0x76,0x69,0x65,0x77])][_0x3ff5c3([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3ff5c3([0x61,0x75,0x74,0x6f]);}function _0x445492(){_0x14d7d5[_0x3ff5c3([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3ff5c3([0x76,0x69,0x65,0x77])][_0x3ff5c3([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3ff5c3([0x61,0x75,0x74,0x6f]);}}function _0x411e35(_0x1ab58f){const _0xac7bd=[new window[(_0x3ff5c3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x29a4e2=>setTimeout(_0x29a4e2,0x6669c76c^_0x3d4172)),_0x535bdf[_0x3ff5c3([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3ff5c3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x17f998=>{let _0x4943bc=0x0;_0x14d7d5[_0x3ff5c3([0x6d,0x6f,0x64,0x65,0x6c])][_0x3ff5c3([0x6f,0x6e])](_0x3ff5c3([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xc52ab7,_0x129145)=>{_0x129145[0x0][_0x3ff5c3([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4943bc++,_0x4943bc==(0x6660f858^_0x3d4172)&&(_0x17f998(),_0xc52ab7[_0x3ff5c3([0x6f,0x66,0x66])]());});}))];return window[_0x3ff5c3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3ff5c3([0x72,0x61,0x63,0x65])](_0xac7bd)[_0x3ff5c3([0x74,0x68,0x65,0x6e])](()=>_0x1ab58f);}async function _0x29d8d0(){await _0x535bdf,_0x14d7d5[_0x3ff5c3([0x6d,0x6f,0x64,0x65,0x6c])][_0x3ff5c3([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xcc8188,_0x14d7d5[_0x3ff5c3([0x6d,0x6f,0x64,0x65,0x6c])][_0x3ff5c3([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xcc8188,_0x14d7d5[_0x3ff5c3([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3ff5c3([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2584ab(_0x54b483){const _0x27242c=_0xf76c45();_0x14d7d5[_0x27242c]=_0x3ff5c3([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])+_0x54b483,_0x54b483!=_0x3ff5c3([0x56,0x61,0x6c,0x69,0x64])&&_0x29d8d0();}function _0xf76c45(){const _0x165d3c=window[_0x3ff5c3([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3ff5c3([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3ff5c3([0x6e,0x6f,0x77])]())[_0x3ff5c3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3ff5c3([0x2e]),'');let _0x3c26b2=_0x3ff5c3([0x4c]);for(let _0x549a9e=0x0;_0x549a9e<_0x165d3c[_0x3ff5c3([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x549a9e+=0x2){let _0x43f80d=window[_0x3ff5c3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x165d3c[_0x3ff5c3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x549a9e,_0x549a9e+0x2));_0x43f80d>=_0x1bce07[_0x3ff5c3([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x43f80d-=_0x1bce07[_0x3ff5c3([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3c26b2+=_0x1bce07[_0x43f80d];}return _0x3c26b2;}function _0x303a23(){const _0x232573=_0x3f7ce2[_0x3ff5c3([0x73,0x70,0x6c,0x69,0x74])](_0x3ff5c3([0x2e]));if(0x3!=_0x232573[_0x3ff5c3([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xd28e55(_0x232573[0x1]);function _0xd28e55(_0x37ea87){const _0x24dc90=_0x46fde7(_0x37ea87);return _0x24dc90&&_0x540d94()?_0x24dc90:null;function _0x540d94(){const _0x195d22=_0x24dc90[_0x3ff5c3([0x6a,0x74,0x69])],_0x3cd7a7=window[_0x3ff5c3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x195d22[_0x3ff5c3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x195d22[_0x3ff5c3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xd78d1b={..._0x24dc90,[_0x3ff5c3([0x6a,0x74,0x69])]:_0x195d22[_0x3ff5c3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x195d22[_0x3ff5c3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xd78d1b[_0x3ff5c3([0x76,0x63])],_0x4d8013(_0xd78d1b)==_0x3cd7a7;}}}async function _0x411a77(){let _0x34debc=!0x0;try{const _0x59ebc7=_0x3f7ce2[_0x3ff5c3([0x73,0x70,0x6c,0x69,0x74])](_0x3ff5c3([0x2e])),[_0xbd0ac2,_0x4a9789,_0x9079f9]=_0x59ebc7;return _0x20a1ea(_0xbd0ac2),await _0x37d034(_0xbd0ac2,_0x4a9789,_0x9079f9),_0x34debc;}catch{return!0x1;}function _0x20a1ea(_0x4a4ed4){const _0x1ae3c4=_0x46fde7(_0x4a4ed4);_0x1ae3c4&&_0x1ae3c4[_0x3ff5c3([0x61,0x6c,0x67])]==_0x3ff5c3([0x45,0x53,0x32,0x35,0x36])||(_0x34debc=!0x1);}async function _0x37d034(_0x432e8f,_0x4c43df,_0x5afe7f){const _0x9aa5b8=window[_0x3ff5c3([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3ff5c3([0x66,0x72,0x6f,0x6d])](_0x5ad3b7(_0x5afe7f),_0x26b697=>_0x26b697[_0x3ff5c3([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x33b5ca=new window[(_0x3ff5c3([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3ff5c3([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x432e8f+_0x3ff5c3([0x2e])+_0x4c43df),_0x18be2e=window[_0x3ff5c3([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3ff5c3([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x18be2e)return;const _0x144935=await _0x18be2e[_0x3ff5c3([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3ff5c3([0x6a,0x77,0x6b]),_0x4c7e77,{[_0x3ff5c3([0x6e,0x61,0x6d,0x65])]:_0x3ff5c3([0x45,0x43,0x44,0x53,0x41]),[_0x3ff5c3([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3ff5c3([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3ff5c3([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x18be2e[_0x3ff5c3([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3ff5c3([0x6e,0x61,0x6d,0x65])]:_0x3ff5c3([0x45,0x43,0x44,0x53,0x41]),[_0x3ff5c3([0x68,0x61,0x73,0x68])]:{[_0x3ff5c3([0x6e,0x61,0x6d,0x65])]:_0x3ff5c3([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x144935,_0x9aa5b8,_0x33b5ca)||(_0x34debc=!0x1);}}function _0x46fde7(_0x443170){return _0x443170[_0x3ff5c3([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3ff5c3([0x65,0x79]))?JSON[_0x3ff5c3([0x70,0x61,0x72,0x73,0x65])](_0x5ad3b7(_0x443170)):null;}function _0x5ad3b7(_0x311baf){return window[_0x3ff5c3([0x61,0x74,0x6f,0x62])](_0x311baf[_0x3ff5c3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3ff5c3([0x2b]))[_0x3ff5c3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3ff5c3([0x2f])));}function _0x4d8013(_0x219b7c){let _0x4bf50a=0x1505;function _0x27b7c6(_0x54fddd){for(let _0x3a3517=0x0;_0x3a3517<_0x54fddd[_0x3ff5c3([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3a3517++){const _0x3a56c7=_0x54fddd[_0x3ff5c3([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3a3517);_0x4bf50a=(_0x4bf50a<<0x5)+_0x4bf50a+_0x3a56c7,_0x4bf50a&=_0x4bf50a;}}function _0x1b4db6(_0x342f85){Array[_0x3ff5c3([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x342f85)?_0x342f85[_0x3ff5c3([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1b4db6):_0x342f85&&typeof _0x342f85==_0x3ff5c3([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3ff5c3([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x342f85)[_0x3ff5c3([0x73,0x6f,0x72,0x74])]()[_0x3ff5c3([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1de03e,_0x3c138d])=>{_0x27b7c6(_0x1de03e),_0x1b4db6(_0x3c138d);}):_0x27b7c6(window[_0x3ff5c3([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x342f85));}return _0x1b4db6(_0x219b7c),_0x4bf50a>>>0x0;}function _0x11c337(_0x1c3e9c){return _0x1c3e9c[_0x3ff5c3([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3ff5c3([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3ff5c3([0x30]));}function _0x111395(_0x34cc0f){return _0x34cc0f[_0x3ff5c3([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3ff5c3([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3ff5c3([0x6a,0x6f,0x69,0x6e])]('');}function _0xcc8188(){}function _0x3ff5c3(_0xe0c85b){const _0x2250e7=_0x9520;return _0xe0c85b[_0x2250e7(0x161)](_0x22abe7=>String[_0x2250e7(0x18e)](_0x22abe7))[_0x2250e7(0x163)]('');}_0x2584ab(await _0x5a0d1f());}(this);}[_0x5559e9(0x17d)](){const _0x26b610=_0x5559e9;super[_0x26b610(0x17d)](),this[_0x26b610(0x178)][_0x26b610(0x17d)](),this[_0x26b610(0x189)][_0x26b610(0x155)]();}[_0x5559e9(0x159)](_0x55defe,{outlineDefinitions:_0x3f6474,outlineChanges:_0x18f45d}){const _0x1e2087=_0x5559e9;this[_0x1e2087(0x18a)]=_0x3f6474,this[_0x1e2087(0x178)][_0x1e2087(0x148)](_0x18f45d);}[_0x5559e9(0x152)](_0x58a9c9){const _0x210b88=_0x5559e9;this[_0x210b88(0x18a)][_0x210b88(0x14b)]&&this[_0x210b88(0x18a)][_0x58a9c9]&&(this[_0x210b88(0x178)][_0x210b88(0x17f)]=_0x58a9c9);}[_0x5559e9(0x149)](_0x5986c8){const _0x3dc423=_0x5559e9,_0x53201f=this[_0x3dc423(0x18a)][_0x5986c8][_0x3dc423(0x168)];this[_0x3dc423(0x16a)][_0x3dc423(0x18b)][_0x3dc423(0x16f)](_0x312892=>{const _0x274bce=_0x3dc423;_0x312892[_0x274bce(0x170)](_0x53201f,0x0);}),this[_0x3dc423(0x16a)][_0x3dc423(0x174)][_0x3dc423(0x178)][_0x3dc423(0x156)]({'alignToTop':!0x0,'forceScroll':!0x0}),this[_0x3dc423(0x16a)][_0x3dc423(0x174)][_0x3dc423(0x178)][_0x3dc423(0x153)](),this[_0x3dc423(0x152)](_0x5986c8);}[_0x5559e9(0x15f)](){const _0x42f1f1=_0x5559e9,_0x19d51a=this[_0x42f1f1(0x16a)];let _0x364984;for(const _0x276d7c of _0x19d51a[_0x42f1f1(0x18b)][_0x42f1f1(0x162)][_0x42f1f1(0x14a)]()){const _0x482670=_0x19d51a[_0x42f1f1(0x174)][_0x42f1f1(0x178)][_0x42f1f1(0x18f)](_0x276d7c),_0x547a71=_0x482670&&new _0x10285b(_0x482670)[_0x42f1f1(0x154)]();if(_0x547a71){const _0x7ea678=new _0x10285b(_0x2deb4f[_0x42f1f1(0x160)])[_0x42f1f1(0x146)](_0x547a71);_0x7ea678&&(_0x364984=_0x7ea678[_0x42f1f1(0x15d)]+0.25*_0x7ea678[_0x42f1f1(0x14d)]);}}if(void 0x0===_0x364984)return;const _0xccb2b5=h(_0x19d51a[_0x42f1f1(0x174)],this[_0x42f1f1(0x18a)],_0x364984);_0xccb2b5?this[_0x42f1f1(0x152)](this[_0x42f1f1(0x18a)][_0x42f1f1(0x188)](_0xccb2b5)):this[_0x42f1f1(0x152)](-0x1);}}function h(_0x1c3aa1,_0x5c43f0,_0x169256,_0x99d016=0x0,_0x19601a=_0x5c43f0[_0x5559e9(0x14b)]-0x1){const _0x3a0f2e=_0x5559e9,_0x37c775=Math[_0x3a0f2e(0x165)](_0x99d016+(_0x19601a-_0x99d016)/0x2);if(_0x19601a>=_0x99d016){const _0x4f4e8e=_0x5c43f0[_0x37c775],_0x211737=_0x1c3aa1[_0x3a0f2e(0x14c)][_0x3a0f2e(0x17a)](_0x4f4e8e[_0x3a0f2e(0x168)]);if(!_0x211737)return null;const _0x5e9ef0=_0x1c3aa1[_0x3a0f2e(0x178)][_0x3a0f2e(0x175)][_0x3a0f2e(0x181)](_0x211737);return new _0x10285b(_0x5e9ef0)[_0x3a0f2e(0x177)]>_0x169256?h(_0x1c3aa1,_0x5c43f0,_0x169256,_0x99d016,_0x37c775-0x1):h(_0x1c3aa1,_0x5c43f0,_0x169256,_0x37c775+0x1,_0x19601a);}return _0x37c775<0x0?null:_0x5c43f0[_0x37c775];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4dd0(){const _0x26203c=['getChildren','domToView','editing','3010122tqflRr','item','backward','data','init','2154aTzqit','config','afterInit','_getOutlineDefinitions','length','249903rCdCCF','736267UjxMwj','_headingNames','activeItemIndex','editor','getChild','createElement','DocumentOutlineUtils','view','isOfficialPlugin','isPremiumPlugin','getFirstPosition','selection','85kFavub','getRoot','_getActiveHeading','name','includes','fire','findIndex','documentOutline.headings','64djrKpt','_getHeadingNames','modelElement','282153oRQPJI','document','toModel','change','3743672GFerrp','get','getRootNames','model','text','indexOf','element','pluginName','push','_deriveHeadingElementsFromConversion','1539436NHNOMo','domConverter','level'];_0x4dd0=function(){return _0x26203c;};return _0x4dd0();}const _0x42eea7=_0x2e4d;(function(_0x46e986,_0x4fa80a){const _0xd81b15=_0x2e4d,_0x40e709=_0x46e986();while(!![]){try{const _0x5dee57=parseInt(_0xd81b15(0x1d6))/0x1+parseInt(_0xd81b15(0x1c6))/0x2+parseInt(_0xd81b15(0x1ee))/0x3+-parseInt(_0xd81b15(0x1f2))/0x4+-parseInt(_0xd81b15(0x1e3))/0x5*(parseInt(_0xd81b15(0x1d1))/0x6)+-parseInt(_0xd81b15(0x1d7))/0x7*(-parseInt(_0xd81b15(0x1eb))/0x8)+-parseInt(_0xd81b15(0x1cc))/0x9;if(_0x5dee57===_0x4fa80a)break;else _0x40e709['push'](_0x40e709['shift']());}catch(_0xb4e7f){_0x40e709['push'](_0x40e709['shift']());}}}(_0x4dd0,0xa5af1));function _0x2e4d(_0xd02af1,_0x16d67e){const _0x4dd0ca=_0x4dd0();return _0x2e4d=function(_0x2e4dc1,_0x41aadd){_0x2e4dc1=_0x2e4dc1-0x1c5;let _0x205872=_0x4dd0ca[_0x2e4dc1];return _0x205872;},_0x2e4d(_0xd02af1,_0x16d67e);}import{Plugin as _0xf69064}from'ckeditor5/src/core.js';import{debounce as _0x552ef8}from'es-toolkit/compat';import{ModelTreeWalker as _0x4b5144}from'ckeditor5/src/engine.js';import{getElementText as _0x557628,getDefaultFeatureHeadingNames as _0x555870}from'./utils.js';import{diff as _0x55f7ac,diffToChanges as _0x484be3}from'ckeditor5/src/utils.js';export class DocumentOutlineUtils extends _0xf69064{static get[_0x42eea7(0x1f9)](){const _0x63992=_0x42eea7;return _0x63992(0x1dd);}static get[_0x42eea7(0x1df)](){return!0x0;}static get[_0x42eea7(0x1e0)](){return!0x0;}[_0x42eea7(0x1d8)]=[];[_0x42eea7(0x1d0)](){const _0x2b43d7=_0x42eea7,_0x440e16=this[_0x2b43d7(0x1da)];this[_0x2b43d7(0x1d8)]=this[_0x2b43d7(0x1ec)]();let _0x4b47c1=[];_0x440e16[_0x2b43d7(0x1f5)][_0x2b43d7(0x1ef)]['on'](_0x2b43d7(0x1f1),_0x552ef8(()=>{const _0x513809=_0x2b43d7,_0x239193=_0x4b47c1;_0x4b47c1=this[_0x513809(0x1d4)]();const _0x5e5f5e=_0x55f7ac(_0x239193,_0x4b47c1,(_0x10a5dc,_0x1284ef)=>_0x10a5dc[_0x513809(0x1c8)]===_0x1284ef[_0x513809(0x1c8)]&&_0x10a5dc[_0x513809(0x1f6)]===_0x1284ef[_0x513809(0x1f6)]&&_0x10a5dc[_0x513809(0x1ed)]===_0x1284ef[_0x513809(0x1ed)]),_0x2a8635=_0x484be3(_0x5e5f5e,_0x4b47c1),_0x2ae483=this[_0x513809(0x1e5)](),_0x4fd420=_0x4b47c1[_0x513809(0x1e9)](_0x3a94ad=>_0x3a94ad[_0x513809(0x1ed)]===_0x2ae483);_0x2a8635[_0x513809(0x1d5)]&&this[_0x513809(0x1e8)](_0x513809(0x1f1),{'outlineDefinitions':_0x4b47c1,'activeItemIndex':_0x4fd420,'outlineChanges':_0x2a8635}),this[_0x513809(0x1e8)](_0x513809(0x1d9),{'index':_0x4fd420});},0xfa,{'leading':!0x0,'trailing':!0x0}));}[_0x42eea7(0x1d3)](){const _0x390941=_0x42eea7;this[_0x390941(0x1d8)][_0x390941(0x1d5)]||this[_0x390941(0x1c5)]();}[_0x42eea7(0x1d4)](){const _0x46bd97=_0x42eea7,_0x577ac3=this[_0x46bd97(0x1da)],_0x4bc9d5=[],_0xc19e18=this[_0x46bd97(0x1d8)];for(const _0x378929 of _0x577ac3[_0x46bd97(0x1f5)][_0x46bd97(0x1ef)][_0x46bd97(0x1f4)]())_0x11bd52(_0x577ac3[_0x46bd97(0x1f5)][_0x46bd97(0x1ef)][_0x46bd97(0x1e4)](_0x378929));function _0x11bd52(_0x27852d){const _0x36f661=_0x46bd97;for(const _0x54f10a of _0x27852d[_0x36f661(0x1c9)]())_0x54f10a['is'](_0x36f661(0x1f8))&&(_0xc19e18[_0x36f661(0x1e7)](_0x54f10a[_0x36f661(0x1e6)])&&_0x4bc9d5[_0x36f661(0x1fa)]({'level':_0xc19e18[_0x36f661(0x1f7)](_0x54f10a[_0x36f661(0x1e6)])+0x1,'text':_0x557628(_0x54f10a),'modelElement':_0x54f10a}),_0x11bd52(_0x54f10a));}return _0x4bc9d5;}[_0x42eea7(0x1e5)](){const _0x1aaeb8=_0x42eea7,_0x324509=this[_0x1aaeb8(0x1da)][_0x1aaeb8(0x1f5)][_0x1aaeb8(0x1ef)][_0x1aaeb8(0x1e2)][_0x1aaeb8(0x1e1)](),_0x4ae85c=new _0x4b5144({'direction':_0x1aaeb8(0x1ce),'startPosition':_0x324509});for(const _0x58b4d2 of _0x4ae85c)if(_0x58b4d2[_0x1aaeb8(0x1cd)]['is'](_0x1aaeb8(0x1f8))&&this[_0x1aaeb8(0x1d8)][_0x1aaeb8(0x1e7)](_0x58b4d2[_0x1aaeb8(0x1cd)][_0x1aaeb8(0x1e6)]))return _0x58b4d2[_0x1aaeb8(0x1cd)];}[_0x42eea7(0x1ec)](){const _0x1fb112=_0x42eea7,_0x2a3afb=this[_0x1fb112(0x1da)][_0x1fb112(0x1d2)][_0x1fb112(0x1f3)](_0x1fb112(0x1ea));return _0x2a3afb||_0x555870(this[_0x1fb112(0x1da)]);}[_0x42eea7(0x1c5)](){const _0x58577b=_0x42eea7,_0x14addb=this[_0x58577b(0x1da)],_0x536599=['h1','h2','h3','h4','h5','h6'],_0x128c4d=[];for(const _0x262c03 of _0x536599){const _0x521099=_0x14addb[_0x58577b(0x1cb)][_0x58577b(0x1de)][_0x58577b(0x1c7)][_0x58577b(0x1ca)](document[_0x58577b(0x1dc)](_0x262c03)),_0xde737b=_0x14addb[_0x58577b(0x1cf)][_0x58577b(0x1f0)](_0x521099)[_0x58577b(0x1db)](0x0);_0xde737b?.['is'](_0x58577b(0x1f8))&&_0x128c4d[_0x58577b(0x1fa)](_0xde737b[_0x58577b(0x1e6)]);}this[_0x58577b(0x1d8)]=_0x128c4d;}}
23
+ const _0x3cb666=_0x1cbf;(function(_0x568b32,_0x1243ca){const _0x2832e2=_0x1cbf,_0x10eea1=_0x568b32();while(!![]){try{const _0x3a9bd9=parseInt(_0x2832e2(0x106))/0x1+-parseInt(_0x2832e2(0x125))/0x2*(-parseInt(_0x2832e2(0x111))/0x3)+parseInt(_0x2832e2(0x123))/0x4*(parseInt(_0x2832e2(0x107))/0x5)+parseInt(_0x2832e2(0xf6))/0x6*(parseInt(_0x2832e2(0xfd))/0x7)+-parseInt(_0x2832e2(0x108))/0x8+-parseInt(_0x2832e2(0xf9))/0x9*(-parseInt(_0x2832e2(0xf7))/0xa)+-parseInt(_0x2832e2(0x113))/0xb;if(_0x3a9bd9===_0x1243ca)break;else _0x10eea1['push'](_0x10eea1['shift']());}catch(_0x4b21d1){_0x10eea1['push'](_0x10eea1['shift']());}}}(_0x1f1b,0x702b6));import{Plugin as _0x12cf36}from'ckeditor5/src/core.js';function _0x1cbf(_0x372c58,_0xe56204){const _0x1f1b5b=_0x1f1b();return _0x1cbf=function(_0x1cbf4f,_0x11180a){_0x1cbf4f=_0x1cbf4f-0xf5;let _0x4cae17=_0x1f1b5b[_0x1cbf4f];return _0x4cae17;},_0x1cbf(_0x372c58,_0xe56204);}function _0x1f1b(){const _0x48c027=['8788362qvZZyG','level','init','length','getRootNames','indexOf','getRoot','getChild','change','_headingNames','isPremiumPlugin','text','fire','model','data','backward','1772088MOJGYs','editing','5116zbPEYK','push','document','toModel','name','findIndex','_deriveHeadingElementsFromConversion','element','afterInit','18KKnTGK','5676680xHfkCN','activeItemIndex','9uYuvrJ','view','getFirstPosition','isOfficialPlugin','554806pcSMft','createElement','domConverter','domToView','_getActiveHeading','get','documentOutline.headings','selection','modelElement','333502daTBHz','5zqYKEI','3836928FogVrE','_getOutlineDefinitions','editor','DocumentOutlineUtils','getChildren','includes','config','item','_getHeadingNames','183hZrhdG','pluginName'];_0x1f1b=function(){return _0x48c027;};return _0x1f1b();}import{debounce as _0x44c768}from'es-toolkit/compat';import{ModelTreeWalker as _0x2d90f1}from'ckeditor5/src/engine.js';import{getElementText as _0x123e0f,getDefaultFeatureHeadingNames as _0x10dbad}from'./utils.js';import{diff as _0x327264,diffToChanges as _0xb53ed4}from'ckeditor5/src/utils.js';export class DocumentOutlineUtils extends _0x12cf36{static get[_0x3cb666(0x112)](){const _0x4561e9=_0x3cb666;return _0x4561e9(0x10b);}static get[_0x3cb666(0xfc)](){return!0x0;}static get[_0x3cb666(0x11d)](){return!0x0;}[_0x3cb666(0x11c)]=[];[_0x3cb666(0x115)](){const _0x160b03=_0x3cb666,_0x4b1365=this[_0x160b03(0x10a)];this[_0x160b03(0x11c)]=this[_0x160b03(0x110)]();let _0x52d53d=[];_0x4b1365[_0x160b03(0x120)][_0x160b03(0x127)]['on'](_0x160b03(0x11b),_0x44c768(()=>{const _0x2e621b=_0x160b03,_0x3c6538=_0x52d53d;_0x52d53d=this[_0x2e621b(0x109)]();const _0x4b0e1a=_0x327264(_0x3c6538,_0x52d53d,(_0x19db92,_0x27d521)=>_0x19db92[_0x2e621b(0x114)]===_0x27d521[_0x2e621b(0x114)]&&_0x19db92[_0x2e621b(0x11e)]===_0x27d521[_0x2e621b(0x11e)]&&_0x19db92[_0x2e621b(0x105)]===_0x27d521[_0x2e621b(0x105)]),_0x5eaa1f=_0xb53ed4(_0x4b0e1a,_0x52d53d),_0x586bc0=this[_0x2e621b(0x101)](),_0x398799=_0x52d53d[_0x2e621b(0x12a)](_0x53abdf=>_0x53abdf[_0x2e621b(0x105)]===_0x586bc0);_0x5eaa1f[_0x2e621b(0x116)]&&this[_0x2e621b(0x11f)](_0x2e621b(0x11b),{'outlineDefinitions':_0x52d53d,'activeItemIndex':_0x398799,'outlineChanges':_0x5eaa1f}),this[_0x2e621b(0x11f)](_0x2e621b(0xf8),{'index':_0x398799});},0xfa,{'leading':!0x0,'trailing':!0x0}));}[_0x3cb666(0xf5)](){const _0x2db477=_0x3cb666;this[_0x2db477(0x11c)][_0x2db477(0x116)]||this[_0x2db477(0x12b)]();}[_0x3cb666(0x109)](){const _0x342b21=_0x3cb666,_0x255cfa=this[_0x342b21(0x10a)],_0x2b2ae5=[],_0x8bd2ef=this[_0x342b21(0x11c)];for(const _0x2d1027 of _0x255cfa[_0x342b21(0x120)][_0x342b21(0x127)][_0x342b21(0x117)]())_0x5aeef9(_0x255cfa[_0x342b21(0x120)][_0x342b21(0x127)][_0x342b21(0x119)](_0x2d1027));function _0x5aeef9(_0x130464){const _0x375d28=_0x342b21;for(const _0x1dae8f of _0x130464[_0x375d28(0x10c)]())_0x1dae8f['is'](_0x375d28(0x12c))&&(_0x8bd2ef[_0x375d28(0x10d)](_0x1dae8f[_0x375d28(0x129)])&&_0x2b2ae5[_0x375d28(0x126)]({'level':_0x8bd2ef[_0x375d28(0x118)](_0x1dae8f[_0x375d28(0x129)])+0x1,'text':_0x123e0f(_0x1dae8f),'modelElement':_0x1dae8f}),_0x5aeef9(_0x1dae8f));}return _0x2b2ae5;}[_0x3cb666(0x101)](){const _0x458c45=_0x3cb666,_0x3209f1=this[_0x458c45(0x10a)][_0x458c45(0x120)][_0x458c45(0x127)][_0x458c45(0x104)][_0x458c45(0xfb)](),_0x2f1483=new _0x2d90f1({'direction':_0x458c45(0x122),'startPosition':_0x3209f1});for(const _0x52a261 of _0x2f1483)if(_0x52a261[_0x458c45(0x10f)]['is'](_0x458c45(0x12c))&&this[_0x458c45(0x11c)][_0x458c45(0x10d)](_0x52a261[_0x458c45(0x10f)][_0x458c45(0x129)]))return _0x52a261[_0x458c45(0x10f)];}[_0x3cb666(0x110)](){const _0x141e4e=_0x3cb666,_0x542778=this[_0x141e4e(0x10a)][_0x141e4e(0x10e)][_0x141e4e(0x102)](_0x141e4e(0x103));return _0x542778||_0x10dbad(this[_0x141e4e(0x10a)]);}[_0x3cb666(0x12b)](){const _0x9f4dcf=_0x3cb666,_0x46263c=this[_0x9f4dcf(0x10a)],_0x22a46e=['h1','h2','h3','h4','h5','h6'],_0x37a741=[];for(const _0x24eed1 of _0x22a46e){const _0x288d89=_0x46263c[_0x9f4dcf(0x124)][_0x9f4dcf(0xfa)][_0x9f4dcf(0xff)][_0x9f4dcf(0x100)](document[_0x9f4dcf(0xfe)](_0x24eed1)),_0x257e37=_0x46263c[_0x9f4dcf(0x121)][_0x9f4dcf(0x128)](_0x288d89)[_0x9f4dcf(0x11a)](0x0);_0x257e37?.['is'](_0x9f4dcf(0x12c))&&_0x37a741[_0x9f4dcf(0x126)](_0x257e37[_0x9f4dcf(0x129)]);}this[_0x9f4dcf(0x11c)]=_0x37a741;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x20ae53,_0x226f7f){const _0x396402=_0x2acb,_0x178230=_0x20ae53();while(!![]){try{const _0xf650c4=-parseInt(_0x396402(0x15e))/0x1*(parseInt(_0x396402(0x16a))/0x2)+parseInt(_0x396402(0x166))/0x3+parseInt(_0x396402(0x16b))/0x4*(parseInt(_0x396402(0x170))/0x5)+parseInt(_0x396402(0x163))/0x6*(parseInt(_0x396402(0x15b))/0x7)+parseInt(_0x396402(0x16f))/0x8+-parseInt(_0x396402(0x15f))/0x9+parseInt(_0x396402(0x173))/0xa;if(_0xf650c4===_0x226f7f)break;else _0x178230['push'](_0x178230['shift']());}catch(_0x3622e2){_0x178230['push'](_0x178230['shift']());}}}(_0x4a05,0xaf89e));import{View as _0x4747ed}from'ckeditor5/src/ui.js';import{getTranslation as _0x2d32ef}from'../../utils/common-translations.js';export class DocumentOutlineItemView extends _0x4747ed{constructor(_0x597057,_0x1c6caf=!0x1){const _0x572925=_0x2acb;super(_0x597057);const _0x9c3d5=this[_0x572925(0x165)],_0x1101c6=_0x1c6caf?'['+_0x2d32ef(_0x597057,_0x572925(0x15c))+']':'';this[_0x572925(0x168)](_0x572925(0x162),''),this[_0x572925(0x168)](_0x572925(0x161),0x1),this[_0x572925(0x168)](_0x572925(0x16d),!0x1),this[_0x572925(0x15d)](_0x572925(0x160))['to'](this,_0x572925(0x162),_0x55dd59=>!_0x55dd59),this[_0x572925(0x164)]({'tag':_0x572925(0x171),'attributes':{'class':['ck',_0x572925(0x174),_0x572925(0x169),_0x9c3d5['to'](_0x572925(0x161),_0x209ca6=>_0x572925(0x16c)+_0x209ca6),_0x9c3d5['if'](_0x572925(0x16d),_0x572925(0x16e)),_0x9c3d5['if'](_0x572925(0x160),_0x572925(0x167))],'title':_0x9c3d5['to'](_0x572925(0x162))},'children':[{'text':_0x9c3d5['to'](_0x572925(0x162),_0x2f58a0=>_0x2f58a0||_0x1101c6)}],'on':{'click':_0x9c3d5['to'](_0x572925(0x172))}});}}function _0x2acb(_0x32cbf3,_0x47aa2d){const _0x4a054f=_0x4a05();return _0x2acb=function(_0x2acb73,_0x398aff){_0x2acb73=_0x2acb73-0x15b;let _0x2bd515=_0x4a054f[_0x2acb73];return _0x2bd515;},_0x2acb(_0x32cbf3,_0x47aa2d);}function _0x4a05(){const _0x1d1cea=['bindTemplate','729630XZgBmp','ck-document-outline__item_empty','set','ck-document-outline__item','608068jZEHGC','18716yMEnlS','ck-document-outline__item_level-','isActive','ck-document-outline__item_active','382432SlMqtq','1445kqQfQl','div','click','6982960wSLSwe','ck-reset','766353NpcGCl','Empty\x20heading','bind','1DfKKag','12851820ubXMUt','isEmpty','level','text','6WoqJJc','setTemplate'];_0x4a05=function(){return _0x1d1cea;};return _0x4a05();}
23
+ function _0x4e70(_0x5948fe,_0x11a479){const _0x16203c=_0x1620();return _0x4e70=function(_0x4e704b,_0x4f50d0){_0x4e704b=_0x4e704b-0xdd;let _0x70dbc1=_0x16203c[_0x4e704b];return _0x70dbc1;},_0x4e70(_0x5948fe,_0x11a479);}(function(_0x441387,_0x454adf){const _0x55aa24=_0x4e70,_0x170fed=_0x441387();while(!![]){try{const _0x19405e=parseInt(_0x55aa24(0xe4))/0x1+-parseInt(_0x55aa24(0xe6))/0x2*(-parseInt(_0x55aa24(0xe9))/0x3)+parseInt(_0x55aa24(0xf4))/0x4+-parseInt(_0x55aa24(0xec))/0x5*(parseInt(_0x55aa24(0xee))/0x6)+parseInt(_0x55aa24(0xe7))/0x7*(parseInt(_0x55aa24(0xe8))/0x8)+-parseInt(_0x55aa24(0xf1))/0x9+-parseInt(_0x55aa24(0xf5))/0xa;if(_0x19405e===_0x454adf)break;else _0x170fed['push'](_0x170fed['shift']());}catch(_0x887c27){_0x170fed['push'](_0x170fed['shift']());}}}(_0x1620,0x5d618));import{View as _0x5efd4c}from'ckeditor5/src/ui.js';import{getTranslation as _0x5837b2}from'../../utils/common-translations.js';export class DocumentOutlineItemView extends _0x5efd4c{constructor(_0x1a2e85,_0x276d02=!0x1){const _0x35222a=_0x4e70;super(_0x1a2e85);const _0x34b370=this[_0x35222a(0xe3)],_0x415f59=_0x276d02?'['+_0x5837b2(_0x1a2e85,_0x35222a(0xf0))+']':'';this[_0x35222a(0xdf)](_0x35222a(0xf2),''),this[_0x35222a(0xdf)](_0x35222a(0xe5),0x1),this[_0x35222a(0xdf)](_0x35222a(0xdd),!0x1),this[_0x35222a(0xeb)](_0x35222a(0xef))['to'](this,_0x35222a(0xf2),_0x55c359=>!_0x55c359),this[_0x35222a(0xed)]({'tag':_0x35222a(0xe0),'attributes':{'class':['ck',_0x35222a(0xe1),_0x35222a(0xe2),_0x34b370['to'](_0x35222a(0xe5),_0x1ab861=>_0x35222a(0xf3)+_0x1ab861),_0x34b370['if'](_0x35222a(0xdd),_0x35222a(0xde)),_0x34b370['if'](_0x35222a(0xef),_0x35222a(0xf6))],'title':_0x34b370['to'](_0x35222a(0xf2))},'children':[{'text':_0x34b370['to'](_0x35222a(0xf2),_0x46a0d0=>_0x46a0d0||_0x415f59)}],'on':{'click':_0x34b370['to'](_0x35222a(0xea))}});}}function _0x1620(){const _0x40630b=['level','60378wXBRII','259rIpWLb','138328qBrLse','51NVVbgO','click','bind','3105ixKhpb','setTemplate','1524QobbwD','isEmpty','Empty\x20heading','5783868fpflyi','text','ck-document-outline__item_level-','557120KZfJau','3800780bIGHNE','ck-document-outline__item_empty','isActive','ck-document-outline__item_active','set','div','ck-reset','ck-document-outline__item','bindTemplate','270692hlvZxt'];_0x1620=function(){return _0x40630b;};return _0x1620();}