@ckeditor/ckeditor5-document-outline 44.2.0-alpha.15 → 44.2.0-alpha.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/document-outline.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +9 -9
- package/src/documentoutline/documentoutlineui.js +1 -1
- package/src/documentoutline/documentoutlineutils.js +1 -1
- package/src/documentoutline/ui/documentoutlineitemview.js +1 -1
- package/src/documentoutline/ui/documentoutlineview.js +1 -1
- package/src/documentoutline/utils.js +1 -1
- package/src/tableofcontents/headingid.js +1 -1
- package/src/tableofcontents/tableofcontentscommand.js +1 -1
- package/src/tableofcontents/tableofcontentsediting.js +1 -1
- package/src/tableofcontents/tableofcontentsui.js +1 -1
package/dist/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as _0x4dcbc7,Command as _0x2dfa2c}from'@ckeditor/ckeditor5-core/dist/index.js';import{debounce as _0x1b62ef,throttle as _0x21c5f7}from'lodash-es';import{Text as _0x55a633,TreeWalker as _0x17dbf0}from'@ckeditor/ckeditor5-engine/dist/index.js';import{diff as _0x2426da,diffToChanges as _0x279b14,scrollAncestorsToShowTarget as _0x1116b0,CKEditorError as _0xa5ca78,global as _0x130aaf,Rect as _0x116886,uid as _0x4650d9,priorities as _0xbdf46e}from'@ckeditor/ckeditor5-utils/dist/index.js';import{View as _0x580dd4,ButtonView as _0x2a1d89,MenuBarMenuListItemButtonView as _0x54060d}from'@ckeditor/ckeditor5-ui/dist/index.js';import{Widget as _0x31d484,toWidget as _0xd66487}from'@ckeditor/ckeditor5-widget/dist/index.js';import{icons as _0x3b736d}from'ckeditor5-collaboration/dist/index.js';function k(_0x317b7c){let _0x483aea='';for(const _0x1b6c98 of _0x317b7c['getChildren']())_0x1b6c98 instanceof _0x55a633&&(_0x483aea+=_0x1b6c98['data']);return _0x483aea;}class i extends _0x4dcbc7{static get['pluginName'](){return'DocumentOutlineUtils';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['_headingNames']=[];['init'](){const _0x4aa2d6=this['editor'];this['_headingNames']=this['_getHeadingNames']();let _0x2467c0=[];_0x4aa2d6['model']['document']['on']('change',_0x1b62ef(()=>{const _0x3265bc=_0x2467c0;_0x2467c0=this['_getOutlineDefinitions']();const _0x3a0255=_0x2426da(_0x3265bc,_0x2467c0,(_0x4a874c,_0x27f78c)=>_0x4a874c['level']===_0x27f78c['level']&&_0x4a874c['text']===_0x27f78c['text']&&_0x4a874c['modelElement']===_0x27f78c['modelElement']),_0xf1f2fb=_0x279b14(_0x3a0255,_0x2467c0),_0x5bacfa=this['_getActiveHeading'](),_0x38dac7=_0x2467c0['findIndex'](_0x2b60a6=>_0x2b60a6['modelElement']===_0x5bacfa);_0xf1f2fb['length']&&this['fire']('change',{'outlineDefinitions':_0x2467c0,'activeItemIndex':_0x38dac7,'outlineChanges':_0xf1f2fb}),this['fire']('activeItemIndex',{'index':_0x38dac7});},0xfa,{'leading':!0x0,'trailing':!0x0}));}['afterInit'](){this['_headingNames']['length']||this['_deriveHeadingElementsFromConversion']();}['_getOutlineDefinitions'](){const _0x5acd7a=this['editor'],_0x3356dd=[],_0x189df0=this['_headingNames'];for(const _0x5bb28b of _0x5acd7a['model']['document']['getRootNames']())_0x4f849d(_0x5acd7a['model']['document']['getRoot'](_0x5bb28b));function _0x4f849d(_0xdeb3e6){for(const _0x315dd5 of _0xdeb3e6['getChildren']())_0x315dd5['is']('element')&&(_0x189df0['includes'](_0x315dd5['name'])&&_0x3356dd['push']({'level':_0x189df0['indexOf'](_0x315dd5['name'])+0x1,'text':k(_0x315dd5),'modelElement':_0x315dd5}),_0x4f849d(_0x315dd5));}return _0x3356dd;}['_getActiveHeading'](){const _0x1e8d53=this['editor']['model']['document']['selection']['getFirstPosition'](),_0x1b302c=new _0x17dbf0({'direction':'backward','startPosition':_0x1e8d53});for(const _0x1a654e of _0x1b302c)if(_0x1a654e['item']['is']('element')&&this['_headingNames']['includes'](_0x1a654e['item']['name']))return _0x1a654e['item'];}['_getHeadingNames'](){const _0x56101e=this['editor']['config']['get']('documentOutline.headings');return _0x56101e||function(_0x3929c9){const _0x351a27=_0x3929c9['config']['get']('heading.options');return _0x351a27?_0x351a27['reduce']((_0x448a89,_0x3c105f)=>('paragraph'!==_0x3c105f['model']&&_0x448a89['push'](_0x3c105f['model']),_0x448a89),[]):_0x3929c9['plugins']['has']('GeneralHtmlSupport')?['htmlH1','htmlH2','htmlH3','htmlH4','htmlH5','htmlH6']:[];}(this['editor']);}['_deriveHeadingElementsFromConversion'](){const _0xc81ad7=this['editor'],_0x3c3449=['h1','h2','h3','h4','h5','h6'],_0x787618=[];for(const _0x3ca2cc of _0x3c3449){const _0x13305d=_0xc81ad7['editing']['view']['domConverter']['domToView'](document['createElement'](_0x3ca2cc)),_0xd61ace=_0xc81ad7['data']['toModel'](_0x13305d)['getChild'](0x0);_0xd61ace?.['is']('element')&&_0x787618['push'](_0xd61ace['name']);}this['_headingNames']=_0x787618;}}function b(_0x240eec,_0x30c138){const t=_0x240eec['t'];switch(_0x30c138){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 _0x30c138;}}class $ extends _0x580dd4{constructor(_0x23c337,_0x336ea4=!0x1){super(_0x23c337);const _0x4da884=this['bindTemplate'],_0x1d6484=_0x336ea4?'['+b(_0x23c337,'Empty\x20heading')+']':'';this['set']('text',''),this['set']('level',0x1),this['set']('isActive',!0x1),this['bind']('isEmpty')['to'](this,'text',_0x179b86=>!_0x179b86),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline__item',_0x4da884['to']('level',_0x423b2b=>'ck-document-outline__item_level-'+_0x423b2b),_0x4da884['if']('isActive','ck-document-outline__item_active'),_0x4da884['if']('isEmpty','ck-document-outline__item_empty')],'title':_0x4da884['to']('text')},'children':[{'text':_0x4da884['to']('text',_0xddc9b7=>_0xddc9b7||_0x1d6484)}],'on':{'click':_0x4da884['to']('click')}});}}class I extends _0x580dd4{['items'];['showEmptyHeadingText'];['_documentOutlineContainer'];constructor(_0x234b2e,_0x4c7d7f=!0x1,_0x34a946){super(_0x234b2e),this['showEmptyHeadingText']=_0x4c7d7f,this['set']('activeItemIndex',-0x1),this['_documentOutlineContainer']=_0x34a946,this['items']=this['createCollection'](),this['items']['delegate']('click')['to'](this),this['on']('click',this['_handleItemClick']['bind'](this)),this['on']('change:activeItemIndex',(_0x58621d,_0x23eb82,_0x2c1350,_0x1dba0a)=>{this['_setActiveItem'](_0x1dba0a,_0x2c1350);}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline'],'dir':_0x234b2e['contentLanguageDirection'],'data-document-outline-empty-placeholder':b(_0x234b2e,'Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.'),'tabindex':-0x1},'children':this['items']});}['sync'](_0x3c2380){_0x3c2380['forEach'](_0x48de12=>{'insert'==_0x48de12['type']?this['_insertItem'](_0x48de12['index'],..._0x48de12['values']):'delete'==_0x48de12['type']&&this['_deleteItem'](_0x48de12['index'],_0x48de12['howMany']);});}['_setActiveItem'](_0x5e8ae2,_0x1d68b0){if(-0x1!==_0x5e8ae2){const _0xf4b543=this['items']['get'](_0x5e8ae2);_0xf4b543&&(_0xf4b543['isActive']=!0x1);}-0x1!==_0x1d68b0&&(this['items']['get'](_0x1d68b0)['isActive']=!0x0,this['_scrollToItem'](_0x1d68b0));}['_insertItem'](_0x4005b1,..._0x23ad86){const _0xe8d616=_0x23ad86['map']((_0x162e90,_0x2b9005)=>{const _0x595a52=new $(this['locale'],this['showEmptyHeadingText']);return _0x595a52['text']=_0x162e90['text'],_0x595a52['level']=_0x162e90['level'],_0x4005b1+_0x2b9005===this['activeItemIndex']&&(_0x595a52['isActive']=!0x0),_0x595a52;});this['items']['addMany'](_0xe8d616,_0x4005b1);}['_deleteItem'](_0x3931f1,_0x544cc6){do{this['items']['remove'](_0x3931f1);}while(--_0x544cc6);}['_handleItemClick'](_0x3bafc8){const _0x3e1339=this['items']['getIndex'](_0x3bafc8['source']);this['fire']('itemSelected',_0x3e1339);}['_scrollToItem'](_0x5499f2){_0x1116b0(this['items']['get'](_0x5499f2)['element'],0x14,this['_documentOutlineContainer']);}['destroy'](){super['destroy'](),this['element']['remove']();}}class n extends _0x4dcbc7{['view'];['_currentOutlineDefinitions'];['_updateActiveDefinitionFromViewportThrottled'];static get['pluginName'](){return'DocumentOutlineUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x588081){super(_0x588081),this['view']=new I(_0x588081['locale'],this['editor']['config']['get']('documentOutline.showEmptyHeadings'),this['editor']['config']['get']('documentOutline.container')),this['_currentOutlineDefinitions']=[],this['_updateActiveDefinitionFromViewportThrottled']=_0x21c5f7(this['_updateActiveDefinitionOnViewportChange']['bind'](this),0x64);}['init'](){const _0x37d8af=this['editor'],_0x4f9edd=_0x37d8af['plugins']['get']('DocumentOutlineUtils');let _0x2efa28=!0x1;if(this['view']['render'](),this['editor']['ui']['focusTracker']['add'](this['view']['element']),!_0x37d8af['config']['get']('documentOutline.container'))throw new _0xa5ca78('document-outline-container-not-provided',{'editor':_0x37d8af});_0x37d8af['config']['get']('documentOutline.container')['appendChild'](this['view']['element']),_0x4f9edd['on']('change',this['_handleOutlineChange']['bind'](this)),_0x4f9edd['on']('activeItemIndex',(_0x4d6658,{index:_0x5718e9})=>this['_setActiveViewItem'](_0x5718e9)),this['view']['on']('itemSelected',(_0x489825,_0x133281)=>{_0x2efa28=!0x0,this['_handleItemSelected'](_0x133281);}),this['view']['listenTo'](_0x130aaf['document'],'scroll',()=>{_0x2efa28?_0x2efa28=!0x1:this['_updateActiveDefinitionFromViewportThrottled']();},{'useCapture':!0x0}),this['view']['listenTo'](_0x130aaf['window'],'resize',this['_updateActiveDefinitionFromViewportThrottled'],{'useCapture':!0x0});}['afterInit'](){!async function(_0x2b2f4c){const _0x48b6c5=_0x13492a([0x68,0x39,0x62,0x41,0x32,0x65,0x44,0x6a,0x67,0x6b,0x35,0x66,0x74,0x57,0x36,0x46,0x4b,0x4c,0x50,0x59,0x31,0x52,0x55,0x45,0x7a,0x56,0x76,0x30,0x71,0x73,0x38,0x53,0x75,0x6d,0x69,0x6f,0x61,0x6c,0x79,0x47,0x4e,0x42,0x78,0x4d,0x63,0x5a,0x37,0x64,0x6e,0x72,0x58,0x43,0x4a,0x33,0x54,0x70,0x48,0x34,0x51,0x4f,0x49,0x77]),_0x3c75a0=0x61331624,_0x787d69=0x61344914^_0x3c75a0,_0x31a384=window[_0x13492a([0x44,0x61,0x74,0x65])][_0x13492a([0x6e,0x6f,0x77])](),_0x18ff75=_0x2b2f4c[_0x13492a([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x29f790=new window[(_0x13492a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xba8157=>{_0x18ff75[_0x13492a([0x6f,0x6e,0x63,0x65])](_0x13492a([0x72,0x65,0x61,0x64,0x79]),_0xba8157);}),_0x15fdfb={[_0x13492a([0x6b,0x74,0x79])]:_0x13492a([0x45,0x43]),[_0x13492a([0x75,0x73,0x65])]:_0x13492a([0x73,0x69,0x67]),[_0x13492a([0x63,0x72,0x76])]:_0x13492a([0x50,0x2d,0x32,0x35,0x36]),[_0x13492a([0x78])]:_0x13492a([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]),[_0x13492a([0x79])]:_0x13492a([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]),[_0x13492a([0x61,0x6c,0x67])]:_0x13492a([0x45,0x53,0x32,0x35,0x36])},_0xcf8f73=_0x18ff75[_0x13492a([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x13492a([0x67,0x65,0x74])](_0x13492a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x510553(){let _0x216f1e,_0x5db92f=null,_0xddd1c3=null;try{if(_0xcf8f73==_0x13492a([0x47,0x50,0x4c]))return _0x13492a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x216f1e=_0x14d548(),!_0x216f1e)return _0x13492a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x216f1e[_0x13492a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xddd1c3=_0x262a01(_0x216f1e[_0x13492a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x216f1e[_0x13492a([0x6a,0x74,0x69])])),await _0x4e232f()?_0x324ea9()?_0x19c50c()?_0x13492a([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x267964()?(_0x216f1e[_0x13492a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x13492a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5db92f=_0x3200a5(_0x13492a([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x216f1e[_0x13492a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x13492a([0x74,0x72,0x69,0x61,0x6c])&&(_0x5db92f=_0x3200a5(_0x13492a([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0xdce710()):_0x13492a([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x13492a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x13492a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x35be17){return _0x13492a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x19c50c(){const _0x52b7eb=[_0x13492a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x13492a([0x74,0x72,0x69,0x61,0x6c])][_0x13492a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x216f1e[_0x13492a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x31a384/0x3e8:0xe10*_0x787d69;return _0x216f1e[_0x13492a([0x65,0x78,0x70])]<_0x52b7eb;}function _0x324ea9(){const _0x5589e2=_0x216f1e[_0x13492a([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5589e2&&(!!_0x5589e2[_0x13492a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x13492a([0x2a]))||(!!_0x5589e2[_0x13492a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x13492a([0x44,0x4f]))||!!_0x5589e2[_0x13492a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x13492a([0x50,0x50]))));}function _0x267964(){const _0x251f82=_0x216f1e[_0x13492a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x251f82||0x0==_0x251f82[_0x13492a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x109ba7}=new URL(window[_0x13492a([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x251f82[_0x13492a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x109ba7))return!0x0;const _0x63a9b8=_0x109ba7[_0x13492a([0x73,0x70,0x6c,0x69,0x74])](_0x13492a([0x2e]));return _0x251f82[_0x13492a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4e0140=>_0x4e0140[_0x13492a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x13492a([0x2a])))[_0x13492a([0x6d,0x61,0x70])](_0x257618=>_0x257618[_0x13492a([0x73,0x70,0x6c,0x69,0x74])](_0x13492a([0x2e])))[_0x13492a([0x73,0x6f,0x6d,0x65])](_0x3529c8=>_0x63a9b8[_0x13492a([0x65,0x76,0x65,0x72,0x79])]((_0x46f5a8,_0x378ffa)=>_0x3529c8[_0x378ffa]===_0x46f5a8||_0x3529c8[_0x378ffa]===_0x13492a([0x2a])));}function _0xdce710(){return _0x5db92f&&_0xddd1c3?new window[(_0x13492a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2f68e6,_0x49c739)=>{_0x5db92f[_0x13492a([0x74,0x68,0x65,0x6e])](_0x2f68e6,_0x49c739),_0xddd1c3[_0x13492a([0x74,0x68,0x65,0x6e])](_0x5c81c8=>{_0x5c81c8!=_0x13492a([0x56,0x61,0x6c,0x69,0x64])&&_0x2f68e6(_0x5c81c8);},_0x49c739);}):_0x5db92f||_0xddd1c3||_0x13492a([0x56,0x61,0x6c,0x69,0x64]);}}function _0x262a01(_0x52c660,_0x1d88a5){return new window[(_0x13492a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xb6c2db=>{if(_0xe79254())return _0xb6c2db(_0x13492a([0x56,0x61,0x6c,0x69,0x64]));_0x448dec(),_0x18ff75[_0x13492a([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x13492a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x42730f=!0x1;const _0x4726d8=_0x4650d9();function _0x4e7913(_0x63c876){return!!_0x63c876&&(typeof _0x63c876===_0x13492a([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x63c876===_0x13492a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x63c876[_0x13492a([0x74,0x68,0x65,0x6e])]===_0x13492a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x63c876[_0x13492a([0x63,0x61,0x74,0x63,0x68])]===_0x13492a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x499393(_0x486e07){_0x42b47c(_0x486e07)[_0x13492a([0x74,0x68,0x65,0x6e])](_0x74a699=>{if(!_0x74a699||_0x74a699[_0x13492a([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x13492a([0x6f,0x6b]))return _0x13492a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x37af1a(_0x1b4ef6(_0x4726d8+_0x1d88a5))!=_0x74a699[_0x13492a([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x13492a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x13492a([0x56,0x61,0x6c,0x69,0x64]);})[_0x13492a([0x74,0x68,0x65,0x6e])](_0x49df16=>(_0x325e59(),_0x49df16),()=>{const _0x3f1f1e=_0x48ad40();return null==_0x3f1f1e?(_0x325e59(),_0x13492a([0x56,0x61,0x6c,0x69,0x64])):_0x13492a(_0x31a384-_0x3f1f1e>(0x453f9224^_0x3c75a0)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x13492a([0x74,0x68,0x65,0x6e])](_0xb6c2db)[_0x13492a([0x63,0x61,0x74,0x63,0x68])](()=>{_0xb6c2db(_0x13492a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x42d8c9=0x6105f8a4^_0x3c75a0;function _0x325e59(){const _0x480188=_0x13492a([0x6c,0x6c,0x63,0x74,0x2d])+_0x37af1a(_0x1b4ef6(_0x52c660)),_0x517c3e=_0x5584d7(_0x37af1a(window[_0x13492a([0x4d,0x61,0x74,0x68])][_0x13492a([0x63,0x65,0x69,0x6c])](_0x31a384/_0x42d8c9)));window[_0x13492a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x13492a([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x480188,_0x517c3e);}function _0x48ad40(){const _0x3ca2c7=_0x13492a([0x6c,0x6c,0x63,0x74,0x2d])+_0x37af1a(_0x1b4ef6(_0x52c660)),_0x23971d=window[_0x13492a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x13492a([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3ca2c7);return _0x23971d?window[_0x13492a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5584d7(_0x23971d),0x10)*_0x42d8c9:null;}function _0x42b47c(_0x114dc3){return new window[(_0x13492a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5f4da5,_0x36e443)=>{_0x114dc3[_0x13492a([0x74,0x68,0x65,0x6e])](_0x5f4da5,_0x36e443),window[_0x13492a([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x36e443,0x6132c2e4^_0x3c75a0);});}}_0x18ff75[_0x13492a([0x6f,0x6e])](_0x13492a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x26b77c,_0x183ffd)=>{if(_0x183ffd[0x0]!=_0x52c660)return _0xb6c2db(_0x13492a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x183ffd[0x1]={..._0x183ffd[0x1],[_0x13492a([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4726d8};},{[_0x13492a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x13492a([0x68,0x69,0x67,0x68])}),_0x18ff75[_0x13492a([0x6f,0x6e])](_0x13492a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x60ec41=>{_0x4e7913(_0x60ec41[_0x13492a([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x42730f=!0x0,_0x499393(_0x60ec41[_0x13492a([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x13492a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x13492a([0x6c,0x6f,0x77])}),_0x29f790[_0x13492a([0x74,0x68,0x65,0x6e])](()=>{_0x42730f||_0xb6c2db(_0x13492a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xe79254(){return _0x18ff75[_0x13492a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x13492a([0x76,0x69,0x65,0x77])][_0x13492a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x13492a([0x61,0x75,0x74,0x6f]);}function _0x448dec(){_0x18ff75[_0x13492a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x13492a([0x76,0x69,0x65,0x77])][_0x13492a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x13492a([0x61,0x75,0x74,0x6f]);}}function _0x3200a5(_0xaad17b){const _0x3552bc=[new window[(_0x13492a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5181fc=>setTimeout(_0x5181fc,0x613a28e8^_0x3c75a0)),_0x29f790[_0x13492a([0x74,0x68,0x65,0x6e])](()=>new window[(_0x13492a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xaf58b5=>{let _0x27e67f=0x0;_0x18ff75[_0x13492a([0x6d,0x6f,0x64,0x65,0x6c])][_0x13492a([0x6f,0x6e])](_0x13492a([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x514adc,_0x2981cd)=>{_0x2981cd[0x0][_0x13492a([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x27e67f++,_0x27e67f==(0x613317dc^_0x3c75a0)&&(_0xaf58b5(),_0x514adc[_0x13492a([0x6f,0x66,0x66])]());});}))];return window[_0x13492a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x13492a([0x72,0x61,0x63,0x65])](_0x3552bc)[_0x13492a([0x74,0x68,0x65,0x6e])](()=>_0xaad17b);}async function _0xac6207(){await _0x29f790,_0x18ff75[_0x13492a([0x6d,0x6f,0x64,0x65,0x6c])][_0x13492a([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x234efe,_0x18ff75[_0x13492a([0x6d,0x6f,0x64,0x65,0x6c])][_0x13492a([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x234efe,_0x18ff75[_0x13492a([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x13492a([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x50dfab(_0x569ad0){const _0x13571b=_0x552f01();_0x18ff75[_0x13571b]=_0x13492a([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])+_0x569ad0,_0x569ad0!=_0x13492a([0x56,0x61,0x6c,0x69,0x64])&&_0xac6207();}function _0x552f01(){const _0x599c38=window[_0x13492a([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x13492a([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x13492a([0x6e,0x6f,0x77])]())[_0x13492a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x13492a([0x2e]),'');let _0x4ebcf6=_0x13492a([0x68]);for(let _0x173f39=0x0;_0x173f39<_0x599c38[_0x13492a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x173f39+=0x2){let _0x2c2d31=window[_0x13492a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x599c38[_0x13492a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x173f39,_0x173f39+0x2));_0x2c2d31>=_0x48b6c5[_0x13492a([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2c2d31-=_0x48b6c5[_0x13492a([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4ebcf6+=_0x48b6c5[_0x2c2d31];}return _0x4ebcf6;}function _0x14d548(){const _0x244066=_0xcf8f73[_0x13492a([0x73,0x70,0x6c,0x69,0x74])](_0x13492a([0x2e]));if(0x3!=_0x244066[_0x13492a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2e1216(_0x244066[0x1]);function _0x2e1216(_0x4c63fd){const _0x3c329e=_0x50d618(_0x4c63fd);return _0x3c329e&&_0x23f5b()?_0x3c329e:null;function _0x23f5b(){const _0x5cc86b=_0x3c329e[_0x13492a([0x6a,0x74,0x69])],_0x4e7380=window[_0x13492a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5cc86b[_0x13492a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5cc86b[_0x13492a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x57addc={..._0x3c329e,[_0x13492a([0x6a,0x74,0x69])]:_0x5cc86b[_0x13492a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5cc86b[_0x13492a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x57addc[_0x13492a([0x76,0x63])],_0x1b4ef6(_0x57addc)==_0x4e7380;}}}async function _0x4e232f(){let _0x40be15=!0x0;try{const _0x281b34=_0xcf8f73[_0x13492a([0x73,0x70,0x6c,0x69,0x74])](_0x13492a([0x2e])),[_0x243b6d,_0x4c12df,_0x5e9f4e]=_0x281b34;return _0x4073ca(_0x243b6d),await _0x54c4d3(_0x243b6d,_0x4c12df,_0x5e9f4e),_0x40be15;}catch(_0x514573){return!0x1;}function _0x4073ca(_0x276e4c){const _0x2fbbc3=_0x50d618(_0x276e4c);_0x2fbbc3&&_0x2fbbc3[_0x13492a([0x61,0x6c,0x67])]==_0x13492a([0x45,0x53,0x32,0x35,0x36])||(_0x40be15=!0x1);}async function _0x54c4d3(_0x5e7547,_0x157b52,_0x54db0f){const _0x592b16=window[_0x13492a([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x13492a([0x66,0x72,0x6f,0x6d])](_0x5c65f8(_0x54db0f),_0x2fa9ee=>_0x2fa9ee[_0x13492a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5b3520=new window[(_0x13492a([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x13492a([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5e7547+_0x13492a([0x2e])+_0x157b52),_0x1481ac=window[_0x13492a([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x13492a([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1481ac)return;const _0x3d89af=await _0x1481ac[_0x13492a([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x13492a([0x6a,0x77,0x6b]),_0x15fdfb,{[_0x13492a([0x6e,0x61,0x6d,0x65])]:_0x13492a([0x45,0x43,0x44,0x53,0x41]),[_0x13492a([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x13492a([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x13492a([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1481ac[_0x13492a([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x13492a([0x6e,0x61,0x6d,0x65])]:_0x13492a([0x45,0x43,0x44,0x53,0x41]),[_0x13492a([0x68,0x61,0x73,0x68])]:{[_0x13492a([0x6e,0x61,0x6d,0x65])]:_0x13492a([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3d89af,_0x592b16,_0x5b3520)||(_0x40be15=!0x1);}}function _0x50d618(_0x174aab){return _0x174aab[_0x13492a([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x13492a([0x65,0x79]))?JSON[_0x13492a([0x70,0x61,0x72,0x73,0x65])](_0x5c65f8(_0x174aab)):null;}function _0x5c65f8(_0x8dcf2a){return window[_0x13492a([0x61,0x74,0x6f,0x62])](_0x8dcf2a[_0x13492a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x13492a([0x2b]))[_0x13492a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x13492a([0x2f])));}function _0x1b4ef6(_0x4953a9){let _0x397557=0x1505;function _0x123d00(_0x372d43){for(let _0x1dfcbe=0x0;_0x1dfcbe<_0x372d43[_0x13492a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1dfcbe++){const _0x47b0a5=_0x372d43[_0x13492a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1dfcbe);_0x397557=(_0x397557<<0x5)+_0x397557+_0x47b0a5,_0x397557&=_0x397557;}}function _0x25bcdc(_0x4e7949){Array[_0x13492a([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4e7949)?_0x4e7949[_0x13492a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x25bcdc):_0x4e7949&&typeof _0x4e7949==_0x13492a([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x13492a([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4e7949)[_0x13492a([0x73,0x6f,0x72,0x74])]()[_0x13492a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1b8aac,_0x14ee83])=>{_0x123d00(_0x1b8aac),_0x25bcdc(_0x14ee83);}):_0x123d00(window[_0x13492a([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4e7949));}return _0x25bcdc(_0x4953a9),_0x397557>>>0x0;}function _0x37af1a(_0x3e46d0){return _0x3e46d0[_0x13492a([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x13492a([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x13492a([0x30]));}function _0x5584d7(_0x5ce5ff){return _0x5ce5ff[_0x13492a([0x73,0x70,0x6c,0x69,0x74])]('')[_0x13492a([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x13492a([0x6a,0x6f,0x69,0x6e])]('');}function _0x234efe(){}function _0x13492a(_0x241e15){return _0x241e15['map'](_0x55d2ab=>String['fromCharCode'](_0x55d2ab))['join']('');}_0x50dfab(await _0x510553());}(this);}['destroy'](){super['destroy'](),this['view']['destroy'](),this['_updateActiveDefinitionFromViewportThrottled']['cancel']();}['_handleOutlineChange'](_0x2b12f3,{outlineDefinitions:_0x3280d3,outlineChanges:_0x41bae0}){this['_currentOutlineDefinitions']=_0x3280d3,this['view']['sync'](_0x41bae0);}['_setActiveViewItem'](_0x38a0b5){this['_currentOutlineDefinitions']['length']&&this['_currentOutlineDefinitions'][_0x38a0b5]&&(this['view']['activeItemIndex']=_0x38a0b5);}['_handleItemSelected'](_0x54586f){const _0x33168b=this['_currentOutlineDefinitions'][_0x54586f]['modelElement'];this['editor']['model']['change'](_0x3e05bc=>{_0x3e05bc['setSelection'](_0x33168b,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0}),this['editor']['editing']['view']['focus'](),this['_setActiveViewItem'](_0x54586f);}['_updateActiveDefinitionOnViewportChange'](){const _0x1fcf6b=this['editor'];let _0x53672f;for(const _0x5f183f of _0x1fcf6b['model']['document']['getRootNames']()){const _0x49753e=_0x1fcf6b['editing']['view']['getDomRoot'](_0x5f183f),_0x218f9b=_0x49753e&&new _0x116886(_0x49753e)['getVisible']();if(_0x218f9b){const _0x119136=new _0x116886(_0x130aaf['window'])['getIntersection'](_0x218f9b);_0x119136&&(_0x53672f=_0x119136['top']+0.25*_0x119136['height']);}}if(void 0x0===_0x53672f)return;const _0x430421=_(_0x1fcf6b['editing'],this['_currentOutlineDefinitions'],_0x53672f);_0x430421?this['_setActiveViewItem'](this['_currentOutlineDefinitions']['indexOf'](_0x430421)):this['_setActiveViewItem'](-0x1);}}function _(_0xc48dfc,_0x1f9f1b,_0x5657cb,_0x131233=0x0,_0x46eb31=_0x1f9f1b['length']-0x1){const _0x18a189=Math['floor'](_0x131233+(_0x46eb31-_0x131233)/0x2);if(_0x46eb31>=_0x131233){const _0x402750=_0x1f9f1b[_0x18a189],_0x5c6d4b=_0xc48dfc['mapper']['toViewElement'](_0x402750['modelElement']);if(!_0x5c6d4b)return null;const _0x2c4b20=_0xc48dfc['view']['domConverter']['mapViewToDom'](_0x5c6d4b);return new _0x116886(_0x2c4b20)['bottom']>_0x5657cb?_(_0xc48dfc,_0x1f9f1b,_0x5657cb,_0x131233,_0x18a189-0x1):_(_0xc48dfc,_0x1f9f1b,_0x5657cb,_0x18a189+0x1,_0x46eb31);}return _0x18a189<0x0?null:_0x1f9f1b[_0x18a189];}class u extends _0x4dcbc7{['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 _0x4b0d72=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x566820;for(const _0xa74dcf in _0x4b0d72){const _0x1b7ac3=_0xa74dcf,_0x34b36a=_0x4b0d72[_0x1b7ac3];if('documentOutlineLicenseKeyValid'==_0x34b36a||'documentOutlineLicenseKeyInvalid'==_0x34b36a||'documentOutlineLicenseKeyExpired'==_0x34b36a||'documentOutlineLicenseKeyDomainLimit'==_0x34b36a||'documentOutlineLicenseKeyNotAllowed'==_0x34b36a||'documentOutlineLicenseKeyEvaluationLimit'==_0x34b36a||'documentOutlineLicenseKeyTrialLimit'==_0x34b36a||'documentOutlineLicenseKeyUsageLimit'==_0x34b36a){delete _0x4b0d72[_0x1b7ac3],_0x566820=_0x34b36a,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'documentOutlineLicenseKeyInvalid'==_0x566820&&_0x4b0d72['_showLicenseError']('invalid'),'documentOutlineLicenseKeyExpired'==_0x566820&&_0x4b0d72['_showLicenseError']('expired'),'documentOutlineLicenseKeyDomainLimit'==_0x566820&&_0x4b0d72['_showLicenseError']('domainLimit'),'documentOutlineLicenseKeyNotAllowed'==_0x566820&&_0x4b0d72['_showLicenseError']('featureNotAllowed','DocumentOutline'),'documentOutlineLicenseKeyEvaluationLimit'==_0x566820&&_0x4b0d72['_showLicenseError']('evaluationLimit'),'documentOutlineLicenseKeyTrialLimit'==_0x566820&&_0x4b0d72['_showLicenseError']('trialLimit'),'documentOutlineLicenseKeyUsageLimit'==_0x566820&&_0x4b0d72['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class f extends _0x2dfa2c{['execute'](){this['editor']['model']['change'](_0x5c913f=>{this['editor']['model']['insertObject'](_0x5c913f['createElement']('tableOfContents'));});}['refresh'](){const _0x50d245=this['editor']['model'],_0x114fa1=_0x50d245['document']['selection']['getFirstPosition']();this['isEnabled']=null!==(_0x114fa1&&_0x50d245['schema']['findAllowedParent'](_0x114fa1,'tableOfContents'));}}class g extends _0x4dcbc7{static get['pluginName'](){return'HeadingId';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x25bebb=this['editor'];if(_0x25bebb['config']['get']('headingId.modelAttributeName'))return;(function(_0x4adc08){const _0x463387=new Map();if(_0x4adc08)return _0x4adc08['forEach'](_0x394e3f=>{'paragraph'!==_0x394e3f['model']&&_0x463387['set'](_0x394e3f['view'],_0x394e3f['model']);}),_0x463387['get']('h1')||_0x463387['set']('h1','heading1'),_0x463387;return _0x463387;}(this['editor']['config']['get']('heading.options'))['forEach']((_0x207d67,_0x225b44)=>{this['_customUpcastHeadingsConversion'](_0x225b44),this['_customDataDowncastHeadingsConversion'](_0x207d67),_0x25bebb['model']['schema']['isRegistered'](_0x207d67)&&_0x25bebb['model']['schema']['extend'](_0x207d67,{'allowAttributes':'headingId'});}),this['_registerHeadingIdAttributePostfixer']());}['_customUpcastHeadingsConversion'](_0x50deb5){this['editor']['conversion']['for']('upcast')['add'](_0xc2d258=>_0xc2d258['on']('element:'+_0x50deb5,(_0x207d57,_0x224952,_0x4c4ca9)=>{const {consumable:_0x3d4be4,writer:_0x4b8248}=_0x4c4ca9,_0xf553a7=_0x224952['viewItem']['getAttribute']('id'),_0x2fc91a=_0x224952['modelRange']['getContainedElement']();if(_0x2fc91a)return _0xf553a7&&_0xf553a7['length']||_0x2fc91a['hasAttribute']('headingId')?void(_0x3d4be4['consume'](_0x224952['viewItem'],{'attributes':['id']})&&_0x4b8248['setAttribute']('headingId',_0xf553a7,_0x2fc91a)):(_0x3d4be4['consume'](_0x224952['viewItem'],{'attributes':['id']}),void _0x4b8248['setAttribute']('headingId',_0x4650d9(),_0x2fc91a));},{'priority':_0xbdf46e['get']('low')+0.5}));}['_customDataDowncastHeadingsConversion'](_0x3ec128){this['editor']['conversion']['for']('downcast')['add'](_0x5b745b=>_0x5b745b['on']('attribute:headingId:'+_0x3ec128,(_0x2df968,_0x44cad7,_0x58d174)=>{if(!_0x58d174['consumable']['consume'](_0x44cad7['item'],_0x2df968['name']))return;const _0x49cfbd=_0x44cad7['item']['getAttribute']('headingId'),_0x306f11=_0x58d174['mapper']['toViewElement'](_0x44cad7['item']);_0x58d174['writer']['setAttribute']('id',_0x49cfbd,_0x306f11);}));}['_registerHeadingIdAttributePostfixer'](){const _0x409d77=this['editor'],_0x21f539=new Set(),_0xdf4d4=new Set();function _0x190601(_0x3f7c75,_0x49428d){const _0x110aaf=_0x4650d9();return _0xdf4d4['add'](_0x110aaf),_0x3f7c75['setAttribute']('headingId',_0x110aaf,_0x49428d),_0x110aaf;}function _0x5ee381(_0x43dfc0,_0x29854d){_0x43dfc0['removeAttribute']('headingId',_0x29854d);}_0x409d77['model']['document']['registerPostFixer'](_0x1b84f4=>{const _0x1e16f2=_0x409d77['model']['document']['differ']['getChanges']();let _0x3faf08=!0x1;for(const _0x39603b of _0x1e16f2)if('insert'==_0x39603b['type']&&_0x39603b['name']){if(_0x39603b['name']['match'](/heading\d/)){const _0x15663f=_0x39603b['attributes']['get']('headingId');'string'==typeof _0x15663f?_0x21f539['has'](_0x15663f)?(_0x190601(_0x1b84f4,_0x39603b['position']['nodeAfter']),_0x3faf08=!0x0):_0xdf4d4['add'](_0x15663f):(_0x190601(_0x1b84f4,_0x39603b['position']['nodeAfter']),_0x3faf08=!0x0);}else'string'==typeof _0x39603b['attributes']['get']('headingId')&&(_0x5ee381(_0x1b84f4,_0x39603b['position']['nodeAfter']),_0x3faf08=!0x0);}else{if('remove'==_0x39603b['type']){const _0x5adbc7=_0x39603b['attributes']['get']('headingId');'string'==typeof _0x5adbc7&&_0x21f539['delete'](_0x5adbc7);}}return _0x3faf08;}),_0x409d77['model']['document']['on']('change',()=>{_0xdf4d4['forEach'](_0x27688c=>_0x21f539['add'](_0x27688c)),_0xdf4d4['clear']();});}}class s extends _0x4dcbc7{static get['pluginName'](){return'TableOfContentsEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x31d484,i,g];}['_currentOutlineDefinitions'];['_tableOfContentsElements'];['_headingIdModelAttributeName'];constructor(_0xdae161){super(_0xdae161),this['_currentOutlineDefinitions']=[],this['_tableOfContentsElements']=new Set(),this['_headingIdModelAttributeName']='headingId';}['init'](){const _0x457d28=this['editor'],_0x459a49=_0x457d28['editing']['view']['document'];_0x457d28['config']['get']('headingId.modelAttributeName')&&(this['_headingIdModelAttributeName']=_0x457d28['config']['get']('headingId.modelAttributeName')),this['listenTo'](_0x459a49,'click',(_0x285548,_0x8bbc3c)=>{if(!_0x8bbc3c['target'])return;const _0x8caf39=_0x8bbc3c['target']['getCustomProperty']('tableOfContentsHeadingIndex');Number['isInteger'](_0x8caf39)&&(_0x8bbc3c['domEvent']['preventDefault'](),_0x285548['stop'](),this['_handleScrollToHeading'](_0x8caf39));},{'priority':'high','context':'$capture'}),this['_defineSchema'](),this['_defineConverters'](),_0x457d28['commands']['add']('insertTableOfContents',new f(_0x457d28)),(_0x457d28['plugins']['get']('DocumentOutlineUtils')['on']('change',(_0x4ed750,_0x4a2dce)=>{this['_currentOutlineDefinitions']=_0x4a2dce['outlineDefinitions'],this['_updateTableOfContentsElements']();}),this['listenTo'](_0x457d28['model']['document'],'change',()=>{this['_trackNewToCElements']();}));}['afterInit'](){!async function(_0x537c35){const _0x238597=_0x2f04c1([0x58,0x45,0x42,0x6a,0x43,0x4b,0x68,0x74,0x4f,0x77,0x44,0x55,0x36,0x4c,0x5a,0x6e,0x75,0x76,0x63,0x39,0x49,0x62,0x4a,0x57,0x69,0x70,0x52,0x61,0x7a,0x72,0x79,0x47,0x54,0x53,0x6d,0x33,0x30,0x6b,0x6c,0x4e,0x41,0x67,0x38,0x51,0x34,0x46,0x48,0x78,0x64,0x65,0x66,0x37,0x6f,0x35,0x4d,0x56,0x71,0x73,0x32,0x31,0x50,0x59]),_0x1d3ddf=0x566489a5,_0x4578b2=0x5663d695^_0x1d3ddf,_0x2afe8e=window[_0x2f04c1([0x44,0x61,0x74,0x65])][_0x2f04c1([0x6e,0x6f,0x77])](),_0x7f9b6f=_0x537c35[_0x2f04c1([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3bc9bd=new window[(_0x2f04c1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x8cbcd2=>{_0x7f9b6f[_0x2f04c1([0x6f,0x6e,0x63,0x65])](_0x2f04c1([0x72,0x65,0x61,0x64,0x79]),_0x8cbcd2);}),_0xbea8a7={[_0x2f04c1([0x6b,0x74,0x79])]:_0x2f04c1([0x45,0x43]),[_0x2f04c1([0x75,0x73,0x65])]:_0x2f04c1([0x73,0x69,0x67]),[_0x2f04c1([0x63,0x72,0x76])]:_0x2f04c1([0x50,0x2d,0x32,0x35,0x36]),[_0x2f04c1([0x78])]:_0x2f04c1([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]),[_0x2f04c1([0x79])]:_0x2f04c1([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]),[_0x2f04c1([0x61,0x6c,0x67])]:_0x2f04c1([0x45,0x53,0x32,0x35,0x36])},_0x45820f=_0x7f9b6f[_0x2f04c1([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2f04c1([0x67,0x65,0x74])](_0x2f04c1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4139ad(){let _0x43d8ff,_0x2bec01=null,_0x5d9890=null;try{if(_0x45820f==_0x2f04c1([0x47,0x50,0x4c]))return _0x2f04c1([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x43d8ff=_0x49a7dd(),!_0x43d8ff)return _0x2f04c1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x43d8ff[_0x2f04c1([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5d9890=_0x19eb8f(_0x43d8ff[_0x2f04c1([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x43d8ff[_0x2f04c1([0x6a,0x74,0x69])])),await _0x477ff4()?_0x2ea0d2()?_0x4ab0db()?_0x2f04c1([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x29a68d()?(_0x43d8ff[_0x2f04c1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2f04c1([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2bec01=_0x40ccf7(_0x2f04c1([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x43d8ff[_0x2f04c1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2f04c1([0x74,0x72,0x69,0x61,0x6c])&&(_0x2bec01=_0x40ccf7(_0x2f04c1([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0xcdf6f7()):_0x2f04c1([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2f04c1([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2f04c1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x23a9c9){return _0x2f04c1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4ab0db(){const _0x148ced=[_0x2f04c1([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2f04c1([0x74,0x72,0x69,0x61,0x6c])][_0x2f04c1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x43d8ff[_0x2f04c1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2afe8e/0x3e8:0xe10*_0x4578b2;return _0x43d8ff[_0x2f04c1([0x65,0x78,0x70])]<_0x148ced;}function _0x2ea0d2(){const _0x2649e1=_0x43d8ff[_0x2f04c1([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2649e1&&(!!_0x2649e1[_0x2f04c1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2f04c1([0x2a]))||(!!_0x2649e1[_0x2f04c1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2f04c1([0x54,0x4f,0x43]))||!!_0x2649e1[_0x2f04c1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2f04c1([0x50,0x50]))));}function _0x29a68d(){const _0x5212c4=_0x43d8ff[_0x2f04c1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5212c4||0x0==_0x5212c4[_0x2f04c1([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x38a712}=new URL(window[_0x2f04c1([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x5212c4[_0x2f04c1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x38a712))return!0x0;const _0x57544a=_0x38a712[_0x2f04c1([0x73,0x70,0x6c,0x69,0x74])](_0x2f04c1([0x2e]));return _0x5212c4[_0x2f04c1([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x121b69=>_0x121b69[_0x2f04c1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2f04c1([0x2a])))[_0x2f04c1([0x6d,0x61,0x70])](_0x432bf5=>_0x432bf5[_0x2f04c1([0x73,0x70,0x6c,0x69,0x74])](_0x2f04c1([0x2e])))[_0x2f04c1([0x73,0x6f,0x6d,0x65])](_0x5c1267=>_0x57544a[_0x2f04c1([0x65,0x76,0x65,0x72,0x79])]((_0x5e6cbc,_0x43c852)=>_0x5c1267[_0x43c852]===_0x5e6cbc||_0x5c1267[_0x43c852]===_0x2f04c1([0x2a])));}function _0xcdf6f7(){return _0x2bec01&&_0x5d9890?new window[(_0x2f04c1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x34674f,_0x1a8457)=>{_0x2bec01[_0x2f04c1([0x74,0x68,0x65,0x6e])](_0x34674f,_0x1a8457),_0x5d9890[_0x2f04c1([0x74,0x68,0x65,0x6e])](_0x32d8dc=>{_0x32d8dc!=_0x2f04c1([0x56,0x61,0x6c,0x69,0x64])&&_0x34674f(_0x32d8dc);},_0x1a8457);}):_0x2bec01||_0x5d9890||_0x2f04c1([0x56,0x61,0x6c,0x69,0x64]);}}function _0x19eb8f(_0x23ca7c,_0x42aec9){return new window[(_0x2f04c1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x22f725=>{if(_0x6e4919())return _0x22f725(_0x2f04c1([0x56,0x61,0x6c,0x69,0x64]));_0x38f643(),_0x7f9b6f[_0x2f04c1([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2f04c1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2f021b=!0x1;const _0x528be7=_0x4650d9();function _0x5d99fc(_0x4345d1){return!!_0x4345d1&&(typeof _0x4345d1===_0x2f04c1([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4345d1===_0x2f04c1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4345d1[_0x2f04c1([0x74,0x68,0x65,0x6e])]===_0x2f04c1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4345d1[_0x2f04c1([0x63,0x61,0x74,0x63,0x68])]===_0x2f04c1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x197101(_0x2e4e79){_0x11e18d(_0x2e4e79)[_0x2f04c1([0x74,0x68,0x65,0x6e])](_0x4949b4=>{if(!_0x4949b4||_0x4949b4[_0x2f04c1([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2f04c1([0x6f,0x6b]))return _0x2f04c1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x863df8(_0x29937e(_0x528be7+_0x42aec9))!=_0x4949b4[_0x2f04c1([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2f04c1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2f04c1([0x56,0x61,0x6c,0x69,0x64]);})[_0x2f04c1([0x74,0x68,0x65,0x6e])](_0x23a543=>(_0x41e636(),_0x23a543),()=>{const _0x227688=_0x156f3f();return null==_0x227688?(_0x41e636(),_0x2f04c1([0x56,0x61,0x6c,0x69,0x64])):_0x2f04c1(_0x2afe8e-_0x227688>(0x72680da5^_0x1d3ddf)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2f04c1([0x74,0x68,0x65,0x6e])](_0x22f725)[_0x2f04c1([0x63,0x61,0x74,0x63,0x68])](()=>{_0x22f725(_0x2f04c1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2561c8=0x56526725^_0x1d3ddf;function _0x41e636(){const _0x1f546e=_0x2f04c1([0x6c,0x6c,0x63,0x74,0x2d])+_0x863df8(_0x29937e(_0x23ca7c)),_0x430b5d=_0x39b0b1(_0x863df8(window[_0x2f04c1([0x4d,0x61,0x74,0x68])][_0x2f04c1([0x63,0x65,0x69,0x6c])](_0x2afe8e/_0x2561c8)));window[_0x2f04c1([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2f04c1([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1f546e,_0x430b5d);}function _0x156f3f(){const _0x5849a0=_0x2f04c1([0x6c,0x6c,0x63,0x74,0x2d])+_0x863df8(_0x29937e(_0x23ca7c)),_0x21a76c=window[_0x2f04c1([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2f04c1([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5849a0);return _0x21a76c?window[_0x2f04c1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x39b0b1(_0x21a76c),0x10)*_0x2561c8:null;}function _0x11e18d(_0x16832f){return new window[(_0x2f04c1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3a30dc,_0x36b02a)=>{_0x16832f[_0x2f04c1([0x74,0x68,0x65,0x6e])](_0x3a30dc,_0x36b02a),window[_0x2f04c1([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x36b02a,0x56655d65^_0x1d3ddf);});}}_0x7f9b6f[_0x2f04c1([0x6f,0x6e])](_0x2f04c1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x297b6e,_0x55b1fd)=>{if(_0x55b1fd[0x0]!=_0x23ca7c)return _0x22f725(_0x2f04c1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x55b1fd[0x1]={..._0x55b1fd[0x1],[_0x2f04c1([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x528be7};},{[_0x2f04c1([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2f04c1([0x68,0x69,0x67,0x68])}),_0x7f9b6f[_0x2f04c1([0x6f,0x6e])](_0x2f04c1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x532e23=>{_0x5d99fc(_0x532e23[_0x2f04c1([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2f021b=!0x0,_0x197101(_0x532e23[_0x2f04c1([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2f04c1([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2f04c1([0x6c,0x6f,0x77])}),_0x3bc9bd[_0x2f04c1([0x74,0x68,0x65,0x6e])](()=>{_0x2f021b||_0x22f725(_0x2f04c1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x6e4919(){return _0x7f9b6f[_0x2f04c1([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2f04c1([0x76,0x69,0x65,0x77])][_0x2f04c1([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2f04c1([0x61,0x75,0x74,0x6f]);}function _0x38f643(){_0x7f9b6f[_0x2f04c1([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2f04c1([0x76,0x69,0x65,0x77])][_0x2f04c1([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2f04c1([0x61,0x75,0x74,0x6f]);}}function _0x40ccf7(_0x28597d){const _0x44053f=[new window[(_0x2f04c1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x17c08a=>setTimeout(_0x17c08a,0x566db769^_0x1d3ddf)),_0x3bc9bd[_0x2f04c1([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2f04c1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xcc1cc7=>{let _0x45d869=0x0;_0x7f9b6f[_0x2f04c1([0x6d,0x6f,0x64,0x65,0x6c])][_0x2f04c1([0x6f,0x6e])](_0x2f04c1([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3a2bbd,_0x3c54c5)=>{_0x3c54c5[0x0][_0x2f04c1([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x45d869++,_0x45d869==(0x5664885d^_0x1d3ddf)&&(_0xcc1cc7(),_0x3a2bbd[_0x2f04c1([0x6f,0x66,0x66])]());});}))];return window[_0x2f04c1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2f04c1([0x72,0x61,0x63,0x65])](_0x44053f)[_0x2f04c1([0x74,0x68,0x65,0x6e])](()=>_0x28597d);}async function _0x3f1966(){await _0x3bc9bd,_0x7f9b6f[_0x2f04c1([0x6d,0x6f,0x64,0x65,0x6c])][_0x2f04c1([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xcc4041,_0x7f9b6f[_0x2f04c1([0x6d,0x6f,0x64,0x65,0x6c])][_0x2f04c1([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xcc4041,_0x7f9b6f[_0x2f04c1([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2f04c1([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x96912a(_0x59b969){const _0x4c6fc4=_0xf4baeb();_0x7f9b6f[_0x4c6fc4]=_0x2f04c1([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])+_0x59b969,_0x59b969!=_0x2f04c1([0x56,0x61,0x6c,0x69,0x64])&&_0x3f1966();}function _0xf4baeb(){const _0x4b3603=window[_0x2f04c1([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2f04c1([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2f04c1([0x6e,0x6f,0x77])]())[_0x2f04c1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2f04c1([0x2e]),'');let _0x17abb3=_0x2f04c1([0x58]);for(let _0x4bf0dd=0x0;_0x4bf0dd<_0x4b3603[_0x2f04c1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4bf0dd+=0x2){let _0x10a014=window[_0x2f04c1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4b3603[_0x2f04c1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4bf0dd,_0x4bf0dd+0x2));_0x10a014>=_0x238597[_0x2f04c1([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x10a014-=_0x238597[_0x2f04c1([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x17abb3+=_0x238597[_0x10a014];}return _0x17abb3;}function _0x49a7dd(){const _0x465581=_0x45820f[_0x2f04c1([0x73,0x70,0x6c,0x69,0x74])](_0x2f04c1([0x2e]));if(0x3!=_0x465581[_0x2f04c1([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x47dac2(_0x465581[0x1]);function _0x47dac2(_0x526504){const _0x5abb60=_0x36b546(_0x526504);return _0x5abb60&&_0x1d1928()?_0x5abb60:null;function _0x1d1928(){const _0x3ce649=_0x5abb60[_0x2f04c1([0x6a,0x74,0x69])],_0x4ceba2=window[_0x2f04c1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3ce649[_0x2f04c1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3ce649[_0x2f04c1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x29c0a9={..._0x5abb60,[_0x2f04c1([0x6a,0x74,0x69])]:_0x3ce649[_0x2f04c1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3ce649[_0x2f04c1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x29c0a9[_0x2f04c1([0x76,0x63])],_0x29937e(_0x29c0a9)==_0x4ceba2;}}}async function _0x477ff4(){let _0x1fdb5b=!0x0;try{const _0x497a42=_0x45820f[_0x2f04c1([0x73,0x70,0x6c,0x69,0x74])](_0x2f04c1([0x2e])),[_0x1ab07d,_0x19676f,_0x770b84]=_0x497a42;return _0x3efb0d(_0x1ab07d),await _0xbff8a7(_0x1ab07d,_0x19676f,_0x770b84),_0x1fdb5b;}catch(_0xd0df2b){return!0x1;}function _0x3efb0d(_0x4518de){const _0x31fe2b=_0x36b546(_0x4518de);_0x31fe2b&&_0x31fe2b[_0x2f04c1([0x61,0x6c,0x67])]==_0x2f04c1([0x45,0x53,0x32,0x35,0x36])||(_0x1fdb5b=!0x1);}async function _0xbff8a7(_0x542df2,_0x273e83,_0x3a199f){const _0x2e86cd=window[_0x2f04c1([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2f04c1([0x66,0x72,0x6f,0x6d])](_0x45f637(_0x3a199f),_0x232d15=>_0x232d15[_0x2f04c1([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x667de8=new window[(_0x2f04c1([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2f04c1([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x542df2+_0x2f04c1([0x2e])+_0x273e83),_0x53e52e=window[_0x2f04c1([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2f04c1([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x53e52e)return;const _0x2da6e9=await _0x53e52e[_0x2f04c1([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2f04c1([0x6a,0x77,0x6b]),_0xbea8a7,{[_0x2f04c1([0x6e,0x61,0x6d,0x65])]:_0x2f04c1([0x45,0x43,0x44,0x53,0x41]),[_0x2f04c1([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2f04c1([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2f04c1([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x53e52e[_0x2f04c1([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2f04c1([0x6e,0x61,0x6d,0x65])]:_0x2f04c1([0x45,0x43,0x44,0x53,0x41]),[_0x2f04c1([0x68,0x61,0x73,0x68])]:{[_0x2f04c1([0x6e,0x61,0x6d,0x65])]:_0x2f04c1([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2da6e9,_0x2e86cd,_0x667de8)||(_0x1fdb5b=!0x1);}}function _0x36b546(_0x487b60){return _0x487b60[_0x2f04c1([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2f04c1([0x65,0x79]))?JSON[_0x2f04c1([0x70,0x61,0x72,0x73,0x65])](_0x45f637(_0x487b60)):null;}function _0x45f637(_0x4e5101){return window[_0x2f04c1([0x61,0x74,0x6f,0x62])](_0x4e5101[_0x2f04c1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2f04c1([0x2b]))[_0x2f04c1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2f04c1([0x2f])));}function _0x29937e(_0x5c9748){let _0x5ddd84=0x1505;function _0x4cdf63(_0x4b0a50){for(let _0x2e8f96=0x0;_0x2e8f96<_0x4b0a50[_0x2f04c1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2e8f96++){const _0x1d5682=_0x4b0a50[_0x2f04c1([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2e8f96);_0x5ddd84=(_0x5ddd84<<0x5)+_0x5ddd84+_0x1d5682,_0x5ddd84&=_0x5ddd84;}}function _0x4a3544(_0x35e4b6){Array[_0x2f04c1([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x35e4b6)?_0x35e4b6[_0x2f04c1([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4a3544):_0x35e4b6&&typeof _0x35e4b6==_0x2f04c1([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2f04c1([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x35e4b6)[_0x2f04c1([0x73,0x6f,0x72,0x74])]()[_0x2f04c1([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3b2ec4,_0x179a47])=>{_0x4cdf63(_0x3b2ec4),_0x4a3544(_0x179a47);}):_0x4cdf63(window[_0x2f04c1([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x35e4b6));}return _0x4a3544(_0x5c9748),_0x5ddd84>>>0x0;}function _0x863df8(_0x55d7f9){return _0x55d7f9[_0x2f04c1([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2f04c1([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2f04c1([0x30]));}function _0x39b0b1(_0xbfda50){return _0xbfda50[_0x2f04c1([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2f04c1([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2f04c1([0x6a,0x6f,0x69,0x6e])]('');}function _0xcc4041(){}function _0x2f04c1(_0x555354){return _0x555354['map'](_0xa400c8=>String['fromCharCode'](_0xa400c8))['join']('');}_0x96912a(await _0x4139ad());}(this);}['_updateTableOfContentsElements'](){this['_tableOfContentsElements']['forEach'](_0xd6edc3=>{'$graveyard'!==_0xd6edc3['rootName']&&this['editor']['editing']['reconvertItem'](_0xd6edc3);});}['_trackNewToCElements'](){for(const _0x2386b5 of this['editor']['model']['document']['differ']['getChanges']({'includeChangesInGraveyard':!0x0})){if('insert'!==_0x2386b5['type']||'tableOfContents'!==_0x2386b5['name'])return;this['_tableOfContentsElements']['add'](_0x2386b5['position']['nodeAfter']);}}['_defineSchema'](){this['editor']['model']['schema']['register']('tableOfContents',{'inheritAllFrom':'$blockObject'});}['_defineConverters'](){const _0x10af8d=this['editor']['conversion'];_0x10af8d['for']('upcast')['elementToElement']({'model':'tableOfContents','view':{'name':'div','classes':'table-of-contents'}}),_0x10af8d['for']('dataDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x12229f,{writer:_0x3a5798})=>this['_createTableOfContents'](_0x3a5798,!0x0)}),_0x10af8d['for']('editingDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x773670,{writer:_0x3fefc4})=>{this['_tableOfContentsElements']['add'](_0x773670);const _0x1a1d74=this['_createTableOfContents'](_0x3fefc4);return _0xd66487(_0x1a1d74,_0x3fefc4,{'label':b(this['editor']['locale'],'Table\x20of\x20contents')});}}),this['editor']['data']['registerRawContentMatcher']({'name':'div','classes':'table-of-contents'}),this['editor']['editing']['mapper']['on']('viewToModelPosition',this['_redirectMapper'](),{'priority':'high'});}['_createTableOfContents'](_0x545d1b,_0x1db914=!0x1){const {locale:_0xe96cf}=this['editor'],_0x356f1c=_0x545d1b['createContainerElement']('div',{'class':'table-of-contents'+(0x0===this['_currentOutlineDefinitions']['length']?'\x20table-of-contents_empty':''),...!_0x1db914&&{'data-table-of-contents-label':b(_0xe96cf,'Table\x20of\x20contents')}});0x0===this['_currentOutlineDefinitions']['length']&&!0x1===_0x1db914&&_0x545d1b['insert'](_0x545d1b['createPositionAt'](_0x356f1c,'end'),_0x545d1b['createContainerElement']('p',{'class':'table-of-contents__placeholder'},[_0x545d1b['createText'](b(_0xe96cf,'No\x20headings\x20were\x20found\x20in\x20the\x20document.'))]));const _0x26487c=_0x1db914?'':'['+b(_0xe96cf,'Empty\x20heading')+']';let _0x464cf1=_0x356f1c;return this['_currentOutlineDefinitions']['forEach']((_0x5ac376,_0x1561cf,_0x408c21)=>{const _0xc3f511=this['editor']['model']['hasContent'](_0x5ac376['modelElement'],{'ignoreWhitespaces':!0x0}),_0x13f2fb=_0xc3f511?_0x5ac376['text']:_0x26487c,_0x2868f8=_0x5ac376['modelElement']['getAttribute'](this['_headingIdModelAttributeName']),_0x20513b=_0x545d1b['createContainerElement']('a',{'href':'#'+_0x2868f8,...!_0x1db914&&{'tabindex':'-1'}},[_0x545d1b['createText'](_0x13f2fb)]),_0xfdaaf8=this['editor']['config']['get']('documentOutline.showEmptyHeadings');_0x545d1b['setCustomProperty']('tableOfContentsHeadingIndex',_0x1561cf,_0x20513b);const _0x8353ec=_0x545d1b['createContainerElement']('li',null,[_0xc3f511||!_0x1db914&&_0xfdaaf8?_0x20513b:_0x545d1b['createText']('')]),_0x28891c=_0x1561cf?_0x408c21[_0x1561cf-0x1]['level']:0x0,_0x160acb=Math['abs'](_0x5ac376['level']-_0x28891c);if(_0x5ac376['level']>_0x28891c){const _0x126df5=p(_0x8353ec,_0x160acb,_0x545d1b);_0x545d1b['insert'](_0x545d1b['createPositionAt'](_0x464cf1,'end'),_0x126df5);}else{const _0x3db40d=function(_0x100d94,_0x3ba61e){return _0x100d94['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0})['filter'](_0x1482c6=>_0x1482c6['is']('element','ol'))[_0x3ba61e];}(_0x464cf1,_0x160acb);_0x545d1b['insert'](_0x545d1b['createPositionAt'](_0x3db40d,'end'),_0x8353ec);}_0x464cf1=_0x8353ec;}),_0x356f1c;}['_handleScrollToHeading'](_0x11b4d5){const _0x29f172=this['_currentOutlineDefinitions'][_0x11b4d5]['modelElement'];this['editor']['model']['change'](_0x2b85e2=>{_0x2b85e2['setSelection'](_0x29f172,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0});}['_redirectMapper'](){return(_0x43ab76,_0xb1fa3c)=>{const _0x43b1b6=_0xb1fa3c['mapper'],_0x347a7e=_0x43b1b6['findMappedViewAncestor'](_0xb1fa3c['viewPosition']),_0x157766=_0x43b1b6['toModelElement'](_0x347a7e);_0x157766['is']('element','tableOfContents')&&(_0xb1fa3c['modelPosition']=this['editor']['model']['createPositionAt'](_0x157766,0x0),_0x43ab76['stop']());};}}function p(_0x33dac1,_0x12aaf1,_0x1d3171){return 0x1===_0x12aaf1?_0x1d3171['createContainerElement']('ol',null,[_0x33dac1]):_0x1d3171['createContainerElement']('ol',null,[_0x1d3171['createContainerElement']('li',null,[p(_0x33dac1,_0x12aaf1-0x1,_0x1d3171)])]);}class o extends _0x4dcbc7{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'TableOfContentsUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x33046a=this['editor'];_0x33046a['ui']['componentFactory']['add']('tableOfContents',()=>{const _0x5431cb=this['_createButton'](_0x2a1d89);return _0x5431cb['tooltip']=!0x0,_0x5431cb;}),_0x33046a['ui']['componentFactory']['add']('menuBar:tableOfContents',()=>this['_createButton'](_0x54060d)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x2e5a59=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x54f030;for(const _0x263a68 in _0x2e5a59){const _0x40df45=_0x263a68,_0x5aa59d=_0x2e5a59[_0x40df45];if('tableOfContentsLicenseKeyValid'==_0x5aa59d||'tableOfContentsLicenseKeyInvalid'==_0x5aa59d||'tableOfContentsLicenseKeyExpired'==_0x5aa59d||'tableOfContentsLicenseKeyDomainLimit'==_0x5aa59d||'tableOfContentsLicenseKeyNotAllowed'==_0x5aa59d||'tableOfContentsLicenseKeyEvaluationLimit'==_0x5aa59d||'tableOfContentsLicenseKeyTrialLimit'==_0x5aa59d||'tableOfContentsLicenseKeyUsageLimit'==_0x5aa59d){delete _0x2e5a59[_0x40df45],_0x54f030=_0x5aa59d,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'tableOfContentsLicenseKeyInvalid'==_0x54f030&&_0x2e5a59['_showLicenseError']('invalid'),'tableOfContentsLicenseKeyExpired'==_0x54f030&&_0x2e5a59['_showLicenseError']('expired'),'tableOfContentsLicenseKeyDomainLimit'==_0x54f030&&_0x2e5a59['_showLicenseError']('domainLimit'),'tableOfContentsLicenseKeyNotAllowed'==_0x54f030&&_0x2e5a59['_showLicenseError']('featureNotAllowed','TableOfContents'),'tableOfContentsLicenseKeyEvaluationLimit'==_0x54f030&&_0x2e5a59['_showLicenseError']('evaluationLimit'),'tableOfContentsLicenseKeyTrialLimit'==_0x54f030&&_0x2e5a59['_showLicenseError']('trialLimit'),'tableOfContentsLicenseKeyUsageLimit'==_0x54f030&&_0x2e5a59['_showLicenseError']('usageLimit');},0x3e8);}['_createButton'](_0x25306a){const _0x2864de=this['editor'],_0x41086d=_0x2864de['locale'],_0x87e472=_0x2864de['commands']['get']('insertTableOfContents'),_0x7f4287=new _0x25306a(_0x41086d);return _0x7f4287['set']({'label':b(_0x41086d,'Table\x20of\x20contents'),'icon':_0x3b736d['tableOfContents']}),_0x7f4287['bind']('isEnabled')['to'](_0x87e472,'isEnabled'),this['listenTo'](_0x7f4287,'execute',()=>{_0x2864de['execute']('insertTableOfContents'),_0x2864de['editing']['view']['focus']();}),_0x7f4287;}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class a extends _0x4dcbc7{static get['requires'](){return[s,o];}static get['pluginName'](){return'TableOfContents';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{u as DocumentOutline,n as DocumentOutlineUI,i as DocumentOutlineUtils,g as HeadingId,a as TableOfContents,f as TableOfContentsCommand,s as TableOfContentsEditing,o as TableOfContentsUI};
|
|
23
|
+
import{Plugin as _0x581946,Command as _0x543885}from'@ckeditor/ckeditor5-core/dist/index.js';import{debounce as _0xf5627c,throttle as _0x1fe392}from'lodash-es';import{Text as _0x3007d3,TreeWalker as _0x6d1556}from'@ckeditor/ckeditor5-engine/dist/index.js';import{diff as _0x16785c,diffToChanges as _0x259ebd,scrollAncestorsToShowTarget as _0x215d18,CKEditorError as _0xa5de8,global as _0x108c64,Rect as _0x21c436,uid as _0x4c466b,priorities as _0x43cdd9}from'@ckeditor/ckeditor5-utils/dist/index.js';import{View as _0x363dfd,ButtonView as _0x56a061,MenuBarMenuListItemButtonView as _0x557434}from'@ckeditor/ckeditor5-ui/dist/index.js';import{Widget as _0xb96c59,toWidget as _0x101e42}from'@ckeditor/ckeditor5-widget/dist/index.js';import{icons as _0x119b23}from'ckeditor5-collaboration/dist/index.js';function p(_0xd8a704){let _0x563ed2='';for(const _0x4baaf4 of _0xd8a704['getChildren']())_0x4baaf4 instanceof _0x3007d3&&(_0x563ed2+=_0x4baaf4['data']);return _0x563ed2;}class i extends _0x581946{static get['pluginName'](){return'DocumentOutlineUtils';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['_headingNames']=[];['init'](){const _0x5990ed=this['editor'];this['_headingNames']=this['_getHeadingNames']();let _0x343f87=[];_0x5990ed['model']['document']['on']('change',_0xf5627c(()=>{const _0x2530cc=_0x343f87;_0x343f87=this['_getOutlineDefinitions']();const _0x36e893=_0x16785c(_0x2530cc,_0x343f87,(_0x220663,_0x5b6bd3)=>_0x220663['level']===_0x5b6bd3['level']&&_0x220663['text']===_0x5b6bd3['text']&&_0x220663['modelElement']===_0x5b6bd3['modelElement']),_0x592b0c=_0x259ebd(_0x36e893,_0x343f87),_0x596366=this['_getActiveHeading'](),_0x984feb=_0x343f87['findIndex'](_0x27cbdf=>_0x27cbdf['modelElement']===_0x596366);_0x592b0c['length']&&this['fire']('change',{'outlineDefinitions':_0x343f87,'activeItemIndex':_0x984feb,'outlineChanges':_0x592b0c}),this['fire']('activeItemIndex',{'index':_0x984feb});},0xfa,{'leading':!0x0,'trailing':!0x0}));}['afterInit'](){this['_headingNames']['length']||this['_deriveHeadingElementsFromConversion']();}['_getOutlineDefinitions'](){const _0x1cafad=this['editor'],_0x2d8822=[],_0xb3a7ae=this['_headingNames'];for(const _0x265604 of _0x1cafad['model']['document']['getRootNames']())_0x328715(_0x1cafad['model']['document']['getRoot'](_0x265604));function _0x328715(_0x1af14f){for(const _0x34ebec of _0x1af14f['getChildren']())_0x34ebec['is']('element')&&(_0xb3a7ae['includes'](_0x34ebec['name'])&&_0x2d8822['push']({'level':_0xb3a7ae['indexOf'](_0x34ebec['name'])+0x1,'text':p(_0x34ebec),'modelElement':_0x34ebec}),_0x328715(_0x34ebec));}return _0x2d8822;}['_getActiveHeading'](){const _0xead698=this['editor']['model']['document']['selection']['getFirstPosition'](),_0x472065=new _0x6d1556({'direction':'backward','startPosition':_0xead698});for(const _0xed175c of _0x472065)if(_0xed175c['item']['is']('element')&&this['_headingNames']['includes'](_0xed175c['item']['name']))return _0xed175c['item'];}['_getHeadingNames'](){const _0x58d9e3=this['editor']['config']['get']('documentOutline.headings');return _0x58d9e3||function(_0x45cdfe){const _0x1ba5da=_0x45cdfe['config']['get']('heading.options');return _0x1ba5da?_0x1ba5da['reduce']((_0x228c51,_0x2feff4)=>('paragraph'!==_0x2feff4['model']&&_0x228c51['push'](_0x2feff4['model']),_0x228c51),[]):_0x45cdfe['plugins']['has']('GeneralHtmlSupport')?['htmlH1','htmlH2','htmlH3','htmlH4','htmlH5','htmlH6']:[];}(this['editor']);}['_deriveHeadingElementsFromConversion'](){const _0x834e9d=this['editor'],_0x540a1c=['h1','h2','h3','h4','h5','h6'],_0x54a438=[];for(const _0x2e95bf of _0x540a1c){const _0x48e92e=_0x834e9d['editing']['view']['domConverter']['domToView'](document['createElement'](_0x2e95bf)),_0x254bdf=_0x834e9d['data']['toModel'](_0x48e92e)['getChild'](0x0);_0x254bdf?.['is']('element')&&_0x54a438['push'](_0x254bdf['name']);}this['_headingNames']=_0x54a438;}}function N(_0x88f105,_0x2aa335){const t=_0x88f105['t'];switch(_0x2aa335){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 _0x2aa335;}}class A extends _0x363dfd{constructor(_0x3f17d2,_0x259909=!0x1){super(_0x3f17d2);const _0x3a3d04=this['bindTemplate'],_0x5b0210=_0x259909?'['+N(_0x3f17d2,'Empty\x20heading')+']':'';this['set']('text',''),this['set']('level',0x1),this['set']('isActive',!0x1),this['bind']('isEmpty')['to'](this,'text',_0x2b1f4f=>!_0x2b1f4f),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline__item',_0x3a3d04['to']('level',_0x3261c5=>'ck-document-outline__item_level-'+_0x3261c5),_0x3a3d04['if']('isActive','ck-document-outline__item_active'),_0x3a3d04['if']('isEmpty','ck-document-outline__item_empty')],'title':_0x3a3d04['to']('text')},'children':[{'text':_0x3a3d04['to']('text',_0x3e4a40=>_0x3e4a40||_0x5b0210)}],'on':{'click':_0x3a3d04['to']('click')}});}}class l extends _0x363dfd{['items'];['showEmptyHeadingText'];['_documentOutlineContainer'];constructor(_0x4a7ffe,_0x2b6743=!0x1,_0x3e2667){super(_0x4a7ffe),this['showEmptyHeadingText']=_0x2b6743,this['set']('activeItemIndex',-0x1),this['_documentOutlineContainer']=_0x3e2667,this['items']=this['createCollection'](),this['items']['delegate']('click')['to'](this),this['on']('click',this['_handleItemClick']['bind'](this)),this['on']('change:activeItemIndex',(_0x496806,_0x445cc6,_0x437ad1,_0x327eab)=>{this['_setActiveItem'](_0x327eab,_0x437ad1);}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline'],'dir':_0x4a7ffe['contentLanguageDirection'],'data-document-outline-empty-placeholder':N(_0x4a7ffe,'Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.'),'tabindex':-0x1},'children':this['items']});}['sync'](_0x25cc5a){_0x25cc5a['forEach'](_0x3718a5=>{'insert'==_0x3718a5['type']?this['_insertItem'](_0x3718a5['index'],..._0x3718a5['values']):'delete'==_0x3718a5['type']&&this['_deleteItem'](_0x3718a5['index'],_0x3718a5['howMany']);});}['_setActiveItem'](_0x4585c6,_0x56f9c6){if(-0x1!==_0x4585c6){const _0x47296b=this['items']['get'](_0x4585c6);_0x47296b&&(_0x47296b['isActive']=!0x1);}-0x1!==_0x56f9c6&&(this['items']['get'](_0x56f9c6)['isActive']=!0x0,this['_scrollToItem'](_0x56f9c6));}['_insertItem'](_0xb90234,..._0x34840a){const _0x279cf2=_0x34840a['map']((_0xbd246c,_0x3ca224)=>{const _0x49e6a7=new A(this['locale'],this['showEmptyHeadingText']);return _0x49e6a7['text']=_0xbd246c['text'],_0x49e6a7['level']=_0xbd246c['level'],_0xb90234+_0x3ca224===this['activeItemIndex']&&(_0x49e6a7['isActive']=!0x0),_0x49e6a7;});this['items']['addMany'](_0x279cf2,_0xb90234);}['_deleteItem'](_0x4f8d02,_0x29951b){do{this['items']['remove'](_0x4f8d02);}while(--_0x29951b);}['_handleItemClick'](_0x5b01fe){const _0x1345ff=this['items']['getIndex'](_0x5b01fe['source']);this['fire']('itemSelected',_0x1345ff);}['_scrollToItem'](_0x5c4670){_0x215d18(this['items']['get'](_0x5c4670)['element'],0x14,this['_documentOutlineContainer']);}['destroy'](){super['destroy'](),this['element']['remove']();}}class n extends _0x581946{['view'];['_currentOutlineDefinitions'];['_updateActiveDefinitionFromViewportThrottled'];static get['pluginName'](){return'DocumentOutlineUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x77122c){super(_0x77122c),this['view']=new l(_0x77122c['locale'],this['editor']['config']['get']('documentOutline.showEmptyHeadings'),this['editor']['config']['get']('documentOutline.container')),this['_currentOutlineDefinitions']=[],this['_updateActiveDefinitionFromViewportThrottled']=_0x1fe392(this['_updateActiveDefinitionOnViewportChange']['bind'](this),0x64);}['init'](){const _0x54641c=this['editor'],_0x2fbbd6=_0x54641c['plugins']['get']('DocumentOutlineUtils');let _0x369cb0=!0x1;if(this['view']['render'](),this['editor']['ui']['focusTracker']['add'](this['view']['element']),!_0x54641c['config']['get']('documentOutline.container'))throw new _0xa5de8('document-outline-container-not-provided',{'editor':_0x54641c});_0x54641c['config']['get']('documentOutline.container')['appendChild'](this['view']['element']),_0x2fbbd6['on']('change',this['_handleOutlineChange']['bind'](this)),_0x2fbbd6['on']('activeItemIndex',(_0x96cadf,{index:_0x455e8f})=>this['_setActiveViewItem'](_0x455e8f)),this['view']['on']('itemSelected',(_0x111a95,_0x215884)=>{_0x369cb0=!0x0,this['_handleItemSelected'](_0x215884);}),this['view']['listenTo'](_0x108c64['document'],'scroll',()=>{_0x369cb0?_0x369cb0=!0x1:this['_updateActiveDefinitionFromViewportThrottled']();},{'useCapture':!0x0}),this['view']['listenTo'](_0x108c64['window'],'resize',this['_updateActiveDefinitionFromViewportThrottled'],{'useCapture':!0x0});}['afterInit'](){!async function(_0x46af4c){const _0x57710f=_0x5eaaa3([0x76,0x52,0x75,0x49,0x51,0x4a,0x43,0x55,0x42,0x38,0x41,0x4f,0x37,0x36,0x74,0x56,0x6b,0x6e,0x66,0x67,0x50,0x6c,0x47,0x71,0x65,0x6f,0x53,0x64,0x30,0x70,0x69,0x73,0x4d,0x57,0x46,0x78,0x54,0x32,0x39,0x5a,0x58,0x35,0x33,0x72,0x48,0x59,0x45,0x79,0x77,0x4b,0x7a,0x31,0x62,0x44,0x63,0x34,0x61,0x6d,0x68,0x4e,0x4c,0x6a]),_0x4aafda=0x26f61a5,_0x2dd9e8=0x2683eed^_0x4aafda,_0x1cae9e=window[_0x5eaaa3([0x44,0x61,0x74,0x65])][_0x5eaaa3([0x6e,0x6f,0x77])](),_0x3367c5=_0x46af4c[_0x5eaaa3([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x48414f=new window[(_0x5eaaa3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4bb795=>{_0x3367c5[_0x5eaaa3([0x6f,0x6e,0x63,0x65])](_0x5eaaa3([0x72,0x65,0x61,0x64,0x79]),_0x4bb795);}),_0x664903={[_0x5eaaa3([0x6b,0x74,0x79])]:_0x5eaaa3([0x45,0x43]),[_0x5eaaa3([0x75,0x73,0x65])]:_0x5eaaa3([0x73,0x69,0x67]),[_0x5eaaa3([0x63,0x72,0x76])]:_0x5eaaa3([0x50,0x2d,0x32,0x35,0x36]),[_0x5eaaa3([0x78])]:_0x5eaaa3([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]),[_0x5eaaa3([0x79])]:_0x5eaaa3([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]),[_0x5eaaa3([0x61,0x6c,0x67])]:_0x5eaaa3([0x45,0x53,0x32,0x35,0x36])},_0x3c1bb7=_0x3367c5[_0x5eaaa3([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5eaaa3([0x67,0x65,0x74])](_0x5eaaa3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4916ec(){let _0x2e7a21,_0x125997=null,_0x44768c=null;try{if(_0x3c1bb7==_0x5eaaa3([0x47,0x50,0x4c]))return _0x5eaaa3([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2e7a21=_0x161485(),!_0x2e7a21)return _0x5eaaa3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2e7a21[_0x5eaaa3([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x44768c=_0x412853(_0x2e7a21[_0x5eaaa3([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2e7a21[_0x5eaaa3([0x6a,0x74,0x69])])),await _0x2f70d2()?_0x3cc42c()?_0x3ea387()?_0x5eaaa3([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x11771d()?(_0x2e7a21[_0x5eaaa3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5eaaa3([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x125997=_0x2c50ee(_0x5eaaa3([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2e7a21[_0x5eaaa3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5eaaa3([0x74,0x72,0x69,0x61,0x6c])&&(_0x125997=_0x2c50ee(_0x5eaaa3([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x33761b()):_0x5eaaa3([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5eaaa3([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5eaaa3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x4e045e){return _0x5eaaa3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3ea387(){const _0x1f141a=[_0x5eaaa3([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5eaaa3([0x74,0x72,0x69,0x61,0x6c])][_0x5eaaa3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2e7a21[_0x5eaaa3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1cae9e/0x3e8:0xe10*_0x2dd9e8;return _0x2e7a21[_0x5eaaa3([0x65,0x78,0x70])]<_0x1f141a;}function _0x3cc42c(){const _0x26a05c=_0x2e7a21[_0x5eaaa3([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x26a05c&&(!!_0x26a05c[_0x5eaaa3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5eaaa3([0x2a]))||(!!_0x26a05c[_0x5eaaa3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5eaaa3([0x44,0x4f]))||!!_0x26a05c[_0x5eaaa3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5eaaa3([0x50,0x50]))));}function _0x11771d(){const _0x283674=_0x2e7a21[_0x5eaaa3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x283674||0x0==_0x283674[_0x5eaaa3([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xd471b8}=new URL(window[_0x5eaaa3([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x283674[_0x5eaaa3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xd471b8))return!0x0;const _0x2f2be4=_0xd471b8[_0x5eaaa3([0x73,0x70,0x6c,0x69,0x74])](_0x5eaaa3([0x2e]));return _0x283674[_0x5eaaa3([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x233b03=>_0x233b03[_0x5eaaa3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5eaaa3([0x2a])))[_0x5eaaa3([0x6d,0x61,0x70])](_0x6eb6fc=>_0x6eb6fc[_0x5eaaa3([0x73,0x70,0x6c,0x69,0x74])](_0x5eaaa3([0x2e])))[_0x5eaaa3([0x73,0x6f,0x6d,0x65])](_0x257f2a=>_0x2f2be4[_0x5eaaa3([0x65,0x76,0x65,0x72,0x79])]((_0x5388a0,_0x907e53)=>_0x257f2a[_0x907e53]===_0x5388a0||_0x257f2a[_0x907e53]===_0x5eaaa3([0x2a])));}function _0x33761b(){return _0x125997&&_0x44768c?new window[(_0x5eaaa3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xbf5c3b,_0x5dcf5a)=>{_0x125997[_0x5eaaa3([0x74,0x68,0x65,0x6e])](_0xbf5c3b,_0x5dcf5a),_0x44768c[_0x5eaaa3([0x74,0x68,0x65,0x6e])](_0x396f7e=>{_0x396f7e!=_0x5eaaa3([0x56,0x61,0x6c,0x69,0x64])&&_0xbf5c3b(_0x396f7e);},_0x5dcf5a);}):_0x125997||_0x44768c||_0x5eaaa3([0x56,0x61,0x6c,0x69,0x64]);}}function _0x412853(_0x6a0d01,_0x1eb9d9){return new window[(_0x5eaaa3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x110c31=>{if(_0x53d119())return _0x110c31(_0x5eaaa3([0x56,0x61,0x6c,0x69,0x64]));_0xca1e95(),_0x3367c5[_0x5eaaa3([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5eaaa3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2014f9=!0x1;const _0xa3ce62=_0x4c466b();function _0x2043b8(_0xccf581){return!!_0xccf581&&(typeof _0xccf581===_0x5eaaa3([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xccf581===_0x5eaaa3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xccf581[_0x5eaaa3([0x74,0x68,0x65,0x6e])]===_0x5eaaa3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xccf581[_0x5eaaa3([0x63,0x61,0x74,0x63,0x68])]===_0x5eaaa3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x289f92(_0x2d6ac6){_0x933f44(_0x2d6ac6)[_0x5eaaa3([0x74,0x68,0x65,0x6e])](_0x5c599d=>{if(!_0x5c599d||_0x5c599d[_0x5eaaa3([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5eaaa3([0x6f,0x6b]))return _0x5eaaa3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4e5324(_0x52c05f(_0xa3ce62+_0x1eb9d9))!=_0x5c599d[_0x5eaaa3([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5eaaa3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5eaaa3([0x56,0x61,0x6c,0x69,0x64]);})[_0x5eaaa3([0x74,0x68,0x65,0x6e])](_0x5455aa=>(_0x4d636c(),_0x5455aa),()=>{const _0x1ae405=_0x5dcaee();return null==_0x1ae405?(_0x4d636c(),_0x5eaaa3([0x56,0x61,0x6c,0x69,0x64])):_0x5eaaa3(_0x1cae9e-_0x1ae405>(0x2663e5a5^_0x4aafda)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5eaaa3([0x74,0x68,0x65,0x6e])](_0x110c31)[_0x5eaaa3([0x63,0x61,0x74,0x63,0x68])](()=>{_0x110c31(_0x5eaaa3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x47a381=0x2598f25^_0x4aafda;function _0x4d636c(){const _0x2b8d5a=_0x5eaaa3([0x6c,0x6c,0x63,0x74,0x2d])+_0x4e5324(_0x52c05f(_0x6a0d01)),_0x2e791=_0x15a1db(_0x4e5324(window[_0x5eaaa3([0x4d,0x61,0x74,0x68])][_0x5eaaa3([0x63,0x65,0x69,0x6c])](_0x1cae9e/_0x47a381)));window[_0x5eaaa3([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5eaaa3([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2b8d5a,_0x2e791);}function _0x5dcaee(){const _0x536b38=_0x5eaaa3([0x6c,0x6c,0x63,0x74,0x2d])+_0x4e5324(_0x52c05f(_0x6a0d01)),_0x31c09b=window[_0x5eaaa3([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5eaaa3([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x536b38);return _0x31c09b?window[_0x5eaaa3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x15a1db(_0x31c09b),0x10)*_0x47a381:null;}function _0x933f44(_0x3d8d0d){return new window[(_0x5eaaa3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x50caae,_0xf51407)=>{_0x3d8d0d[_0x5eaaa3([0x74,0x68,0x65,0x6e])](_0x50caae,_0xf51407),window[_0x5eaaa3([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xf51407,0x26eb565^_0x4aafda);});}}_0x3367c5[_0x5eaaa3([0x6f,0x6e])](_0x5eaaa3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x215882,_0x26cfcb)=>{if(_0x26cfcb[0x0]!=_0x6a0d01)return _0x110c31(_0x5eaaa3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x26cfcb[0x1]={..._0x26cfcb[0x1],[_0x5eaaa3([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xa3ce62};},{[_0x5eaaa3([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5eaaa3([0x68,0x69,0x67,0x68])}),_0x3367c5[_0x5eaaa3([0x6f,0x6e])](_0x5eaaa3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5d3db8=>{_0x2043b8(_0x5d3db8[_0x5eaaa3([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2014f9=!0x0,_0x289f92(_0x5d3db8[_0x5eaaa3([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5eaaa3([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5eaaa3([0x6c,0x6f,0x77])}),_0x48414f[_0x5eaaa3([0x74,0x68,0x65,0x6e])](()=>{_0x2014f9||_0x110c31(_0x5eaaa3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x53d119(){return _0x3367c5[_0x5eaaa3([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5eaaa3([0x76,0x69,0x65,0x77])][_0x5eaaa3([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5eaaa3([0x61,0x75,0x74,0x6f]);}function _0xca1e95(){_0x3367c5[_0x5eaaa3([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5eaaa3([0x76,0x69,0x65,0x77])][_0x5eaaa3([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5eaaa3([0x61,0x75,0x74,0x6f]);}}function _0x2c50ee(_0x5786ea){const _0x39e8f4=[new window[(_0x5eaaa3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5a4907=>setTimeout(_0x5a4907,0x2665f69^_0x4aafda)),_0x48414f[_0x5eaaa3([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5eaaa3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xb2dd2=>{let _0x5c659b=0x0;_0x3367c5[_0x5eaaa3([0x6d,0x6f,0x64,0x65,0x6c])][_0x5eaaa3([0x6f,0x6e])](_0x5eaaa3([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x51bb3a,_0x1a837a)=>{_0x1a837a[0x0][_0x5eaaa3([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5c659b++,_0x5c659b==(0x26f605d^_0x4aafda)&&(_0xb2dd2(),_0x51bb3a[_0x5eaaa3([0x6f,0x66,0x66])]());});}))];return window[_0x5eaaa3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5eaaa3([0x72,0x61,0x63,0x65])](_0x39e8f4)[_0x5eaaa3([0x74,0x68,0x65,0x6e])](()=>_0x5786ea);}async function _0x46fe71(){await _0x48414f,_0x3367c5[_0x5eaaa3([0x6d,0x6f,0x64,0x65,0x6c])][_0x5eaaa3([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x555b77,_0x3367c5[_0x5eaaa3([0x6d,0x6f,0x64,0x65,0x6c])][_0x5eaaa3([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x555b77,_0x3367c5[_0x5eaaa3([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5eaaa3([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x52613b(_0x53793f){const _0x108e24=_0x1bbaf0();_0x3367c5[_0x108e24]=_0x5eaaa3([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])+_0x53793f,_0x53793f!=_0x5eaaa3([0x56,0x61,0x6c,0x69,0x64])&&_0x46fe71();}function _0x1bbaf0(){const _0x279de1=window[_0x5eaaa3([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5eaaa3([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5eaaa3([0x6e,0x6f,0x77])]())[_0x5eaaa3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5eaaa3([0x2e]),'');let _0x12fe45=_0x5eaaa3([0x76]);for(let _0x1a3c8c=0x0;_0x1a3c8c<_0x279de1[_0x5eaaa3([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1a3c8c+=0x2){let _0x32047d=window[_0x5eaaa3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x279de1[_0x5eaaa3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1a3c8c,_0x1a3c8c+0x2));_0x32047d>=_0x57710f[_0x5eaaa3([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x32047d-=_0x57710f[_0x5eaaa3([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x12fe45+=_0x57710f[_0x32047d];}return _0x12fe45;}function _0x161485(){const _0x157643=_0x3c1bb7[_0x5eaaa3([0x73,0x70,0x6c,0x69,0x74])](_0x5eaaa3([0x2e]));if(0x3!=_0x157643[_0x5eaaa3([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xc95d1f(_0x157643[0x1]);function _0xc95d1f(_0x48d322){const _0x5802f5=_0x2c9492(_0x48d322);return _0x5802f5&&_0x1e5575()?_0x5802f5:null;function _0x1e5575(){const _0x51f61a=_0x5802f5[_0x5eaaa3([0x6a,0x74,0x69])],_0x3a2669=window[_0x5eaaa3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x51f61a[_0x5eaaa3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x51f61a[_0x5eaaa3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xde6265={..._0x5802f5,[_0x5eaaa3([0x6a,0x74,0x69])]:_0x51f61a[_0x5eaaa3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x51f61a[_0x5eaaa3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xde6265[_0x5eaaa3([0x76,0x63])],_0x52c05f(_0xde6265)==_0x3a2669;}}}async function _0x2f70d2(){let _0x517fab=!0x0;try{const _0x2e1f9d=_0x3c1bb7[_0x5eaaa3([0x73,0x70,0x6c,0x69,0x74])](_0x5eaaa3([0x2e])),[_0x38b69b,_0x334658,_0x5c416b]=_0x2e1f9d;return _0x2fbd2a(_0x38b69b),await _0x2710d8(_0x38b69b,_0x334658,_0x5c416b),_0x517fab;}catch(_0x1fb422){return!0x1;}function _0x2fbd2a(_0x29dbe3){const _0xd92432=_0x2c9492(_0x29dbe3);_0xd92432&&_0xd92432[_0x5eaaa3([0x61,0x6c,0x67])]==_0x5eaaa3([0x45,0x53,0x32,0x35,0x36])||(_0x517fab=!0x1);}async function _0x2710d8(_0xef8c8b,_0x1bd859,_0x1a66b8){const _0x509836=window[_0x5eaaa3([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5eaaa3([0x66,0x72,0x6f,0x6d])](_0x1968af(_0x1a66b8),_0x1844d3=>_0x1844d3[_0x5eaaa3([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5c098c=new window[(_0x5eaaa3([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5eaaa3([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xef8c8b+_0x5eaaa3([0x2e])+_0x1bd859),_0x15f25d=window[_0x5eaaa3([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5eaaa3([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x15f25d)return;const _0x1fd7a9=await _0x15f25d[_0x5eaaa3([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5eaaa3([0x6a,0x77,0x6b]),_0x664903,{[_0x5eaaa3([0x6e,0x61,0x6d,0x65])]:_0x5eaaa3([0x45,0x43,0x44,0x53,0x41]),[_0x5eaaa3([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5eaaa3([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5eaaa3([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x15f25d[_0x5eaaa3([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5eaaa3([0x6e,0x61,0x6d,0x65])]:_0x5eaaa3([0x45,0x43,0x44,0x53,0x41]),[_0x5eaaa3([0x68,0x61,0x73,0x68])]:{[_0x5eaaa3([0x6e,0x61,0x6d,0x65])]:_0x5eaaa3([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1fd7a9,_0x509836,_0x5c098c)||(_0x517fab=!0x1);}}function _0x2c9492(_0x20bd6a){return _0x20bd6a[_0x5eaaa3([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5eaaa3([0x65,0x79]))?JSON[_0x5eaaa3([0x70,0x61,0x72,0x73,0x65])](_0x1968af(_0x20bd6a)):null;}function _0x1968af(_0x5291e2){return window[_0x5eaaa3([0x61,0x74,0x6f,0x62])](_0x5291e2[_0x5eaaa3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5eaaa3([0x2b]))[_0x5eaaa3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5eaaa3([0x2f])));}function _0x52c05f(_0x390b4d){let _0x4a83d8=0x1505;function _0x41b532(_0x434918){for(let _0x4a71f2=0x0;_0x4a71f2<_0x434918[_0x5eaaa3([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4a71f2++){const _0x126474=_0x434918[_0x5eaaa3([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4a71f2);_0x4a83d8=(_0x4a83d8<<0x5)+_0x4a83d8+_0x126474,_0x4a83d8&=_0x4a83d8;}}function _0x406110(_0x148dac){Array[_0x5eaaa3([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x148dac)?_0x148dac[_0x5eaaa3([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x406110):_0x148dac&&typeof _0x148dac==_0x5eaaa3([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5eaaa3([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x148dac)[_0x5eaaa3([0x73,0x6f,0x72,0x74])]()[_0x5eaaa3([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x29234a,_0x414858])=>{_0x41b532(_0x29234a),_0x406110(_0x414858);}):_0x41b532(window[_0x5eaaa3([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x148dac));}return _0x406110(_0x390b4d),_0x4a83d8>>>0x0;}function _0x4e5324(_0x4c937b){return _0x4c937b[_0x5eaaa3([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5eaaa3([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5eaaa3([0x30]));}function _0x15a1db(_0x59575b){return _0x59575b[_0x5eaaa3([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5eaaa3([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5eaaa3([0x6a,0x6f,0x69,0x6e])]('');}function _0x555b77(){}function _0x5eaaa3(_0xc44649){return _0xc44649['map'](_0x5e3e63=>String['fromCharCode'](_0x5e3e63))['join']('');}_0x52613b(await _0x4916ec());}(this);}['destroy'](){super['destroy'](),this['view']['destroy'](),this['_updateActiveDefinitionFromViewportThrottled']['cancel']();}['_handleOutlineChange'](_0x543056,{outlineDefinitions:_0x220e35,outlineChanges:_0x5d4cec}){this['_currentOutlineDefinitions']=_0x220e35,this['view']['sync'](_0x5d4cec);}['_setActiveViewItem'](_0x26bbbf){this['_currentOutlineDefinitions']['length']&&this['_currentOutlineDefinitions'][_0x26bbbf]&&(this['view']['activeItemIndex']=_0x26bbbf);}['_handleItemSelected'](_0x3ca606){const _0x5f4841=this['_currentOutlineDefinitions'][_0x3ca606]['modelElement'];this['editor']['model']['change'](_0x2d4ba6=>{_0x2d4ba6['setSelection'](_0x5f4841,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0}),this['editor']['editing']['view']['focus'](),this['_setActiveViewItem'](_0x3ca606);}['_updateActiveDefinitionOnViewportChange'](){const _0x577657=this['editor'];let _0xa45246;for(const _0xb813ed of _0x577657['model']['document']['getRootNames']()){const _0x42b636=_0x577657['editing']['view']['getDomRoot'](_0xb813ed),_0x5ccbf5=_0x42b636&&new _0x21c436(_0x42b636)['getVisible']();if(_0x5ccbf5){const _0x251303=new _0x21c436(_0x108c64['window'])['getIntersection'](_0x5ccbf5);_0x251303&&(_0xa45246=_0x251303['top']+0.25*_0x251303['height']);}}if(void 0x0===_0xa45246)return;const _0x5d7ea4=d(_0x577657['editing'],this['_currentOutlineDefinitions'],_0xa45246);_0x5d7ea4?this['_setActiveViewItem'](this['_currentOutlineDefinitions']['indexOf'](_0x5d7ea4)):this['_setActiveViewItem'](-0x1);}}function d(_0x5c30c1,_0x395656,_0x582955,_0x5c1f18=0x0,_0x2f7afc=_0x395656['length']-0x1){const _0x4d0275=Math['floor'](_0x5c1f18+(_0x2f7afc-_0x5c1f18)/0x2);if(_0x2f7afc>=_0x5c1f18){const _0x31c266=_0x395656[_0x4d0275],_0x5ad559=_0x5c30c1['mapper']['toViewElement'](_0x31c266['modelElement']);if(!_0x5ad559)return null;const _0x32839f=_0x5c30c1['view']['domConverter']['mapViewToDom'](_0x5ad559);return new _0x21c436(_0x32839f)['bottom']>_0x582955?d(_0x5c30c1,_0x395656,_0x582955,_0x5c1f18,_0x4d0275-0x1):d(_0x5c30c1,_0x395656,_0x582955,_0x4d0275+0x1,_0x2f7afc);}return _0x4d0275<0x0?null:_0x395656[_0x4d0275];}class u extends _0x581946{['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 _0x3d8ab4=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x120463;for(const _0x4bb8ab in _0x3d8ab4){const _0x58f9c9=_0x4bb8ab,_0xeb646e=_0x3d8ab4[_0x58f9c9];if('documentOutlineLicenseKeyValid'==_0xeb646e||'documentOutlineLicenseKeyInvalid'==_0xeb646e||'documentOutlineLicenseKeyExpired'==_0xeb646e||'documentOutlineLicenseKeyDomainLimit'==_0xeb646e||'documentOutlineLicenseKeyNotAllowed'==_0xeb646e||'documentOutlineLicenseKeyEvaluationLimit'==_0xeb646e||'documentOutlineLicenseKeyTrialLimit'==_0xeb646e||'documentOutlineLicenseKeyUsageLimit'==_0xeb646e){delete _0x3d8ab4[_0x58f9c9],_0x120463=_0xeb646e,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'documentOutlineLicenseKeyInvalid'==_0x120463&&_0x3d8ab4['_showLicenseError']('invalid'),'documentOutlineLicenseKeyExpired'==_0x120463&&_0x3d8ab4['_showLicenseError']('expired'),'documentOutlineLicenseKeyDomainLimit'==_0x120463&&_0x3d8ab4['_showLicenseError']('domainLimit'),'documentOutlineLicenseKeyNotAllowed'==_0x120463&&_0x3d8ab4['_showLicenseError']('featureNotAllowed','DocumentOutline'),'documentOutlineLicenseKeyEvaluationLimit'==_0x120463&&_0x3d8ab4['_showLicenseError']('evaluationLimit'),'documentOutlineLicenseKeyTrialLimit'==_0x120463&&_0x3d8ab4['_showLicenseError']('trialLimit'),'documentOutlineLicenseKeyUsageLimit'==_0x120463&&_0x3d8ab4['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class O extends _0x543885{['execute'](){this['editor']['model']['change'](_0x29d2c8=>{this['editor']['model']['insertObject'](_0x29d2c8['createElement']('tableOfContents'));});}['refresh'](){const _0x255f84=this['editor']['model'],_0x50903c=_0x255f84['document']['selection']['getFirstPosition']();this['isEnabled']=null!==(_0x50903c&&_0x255f84['schema']['findAllowedParent'](_0x50903c,'tableOfContents'));}}class y extends _0x581946{static get['pluginName'](){return'HeadingId';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0xa151be=this['editor'];if(_0xa151be['config']['get']('headingId.modelAttributeName'))return;(function(_0x1eaa09){const _0x2d7e90=new Map();if(_0x1eaa09)return _0x1eaa09['forEach'](_0x4f4326=>{'paragraph'!==_0x4f4326['model']&&_0x2d7e90['set'](_0x4f4326['view'],_0x4f4326['model']);}),_0x2d7e90['get']('h1')||_0x2d7e90['set']('h1','heading1'),_0x2d7e90;return _0x2d7e90;}(this['editor']['config']['get']('heading.options'))['forEach']((_0x5afc3b,_0x3e7667)=>{this['_customUpcastHeadingsConversion'](_0x3e7667),this['_customDataDowncastHeadingsConversion'](_0x5afc3b),_0xa151be['model']['schema']['isRegistered'](_0x5afc3b)&&_0xa151be['model']['schema']['extend'](_0x5afc3b,{'allowAttributes':'headingId'});}),this['_registerHeadingIdAttributePostfixer']());}['_customUpcastHeadingsConversion'](_0x277ca2){this['editor']['conversion']['for']('upcast')['add'](_0x4cae90=>_0x4cae90['on']('element:'+_0x277ca2,(_0x1d8cff,_0x144a79,_0x38a83e)=>{const {consumable:_0x551684,writer:_0x45c0a}=_0x38a83e,_0x176647=_0x144a79['viewItem']['getAttribute']('id'),_0x56d348=_0x144a79['modelRange']['getContainedElement']();if(_0x56d348)return _0x176647&&_0x176647['length']||_0x56d348['hasAttribute']('headingId')?void(_0x551684['consume'](_0x144a79['viewItem'],{'attributes':['id']})&&_0x45c0a['setAttribute']('headingId',_0x176647,_0x56d348)):(_0x551684['consume'](_0x144a79['viewItem'],{'attributes':['id']}),void _0x45c0a['setAttribute']('headingId',_0x4c466b(),_0x56d348));},{'priority':_0x43cdd9['get']('low')+0.5}));}['_customDataDowncastHeadingsConversion'](_0x134ec8){this['editor']['conversion']['for']('downcast')['add'](_0x2e90c5=>_0x2e90c5['on']('attribute:headingId:'+_0x134ec8,(_0x3fa2af,_0x4f52e6,_0x2b4dfb)=>{if(!_0x2b4dfb['consumable']['consume'](_0x4f52e6['item'],_0x3fa2af['name']))return;const _0x344f5d=_0x4f52e6['item']['getAttribute']('headingId'),_0x331fba=_0x2b4dfb['mapper']['toViewElement'](_0x4f52e6['item']);_0x2b4dfb['writer']['setAttribute']('id',_0x344f5d,_0x331fba);}));}['_registerHeadingIdAttributePostfixer'](){const _0x3badfc=this['editor'],_0x15d33a=new Set(),_0x3f0d68=new Set();function _0x1f3a47(_0x369da0,_0x41d66c){const _0x3f2d8f=_0x4c466b();return _0x3f0d68['add'](_0x3f2d8f),_0x369da0['setAttribute']('headingId',_0x3f2d8f,_0x41d66c),_0x3f2d8f;}function _0x443a8a(_0x16c817,_0x31658a){_0x16c817['removeAttribute']('headingId',_0x31658a);}_0x3badfc['model']['document']['registerPostFixer'](_0x176642=>{const _0x8c58e2=_0x3badfc['model']['document']['differ']['getChanges']();let _0x67cad1=!0x1;for(const _0x36e6f0 of _0x8c58e2)if('insert'==_0x36e6f0['type']&&_0x36e6f0['name']){if(_0x36e6f0['name']['match'](/heading\d/)){const _0x5281f4=_0x36e6f0['attributes']['get']('headingId');'string'==typeof _0x5281f4?_0x15d33a['has'](_0x5281f4)?(_0x1f3a47(_0x176642,_0x36e6f0['position']['nodeAfter']),_0x67cad1=!0x0):_0x3f0d68['add'](_0x5281f4):(_0x1f3a47(_0x176642,_0x36e6f0['position']['nodeAfter']),_0x67cad1=!0x0);}else'string'==typeof _0x36e6f0['attributes']['get']('headingId')&&(_0x443a8a(_0x176642,_0x36e6f0['position']['nodeAfter']),_0x67cad1=!0x0);}else{if('remove'==_0x36e6f0['type']){const _0x4424fd=_0x36e6f0['attributes']['get']('headingId');'string'==typeof _0x4424fd&&_0x15d33a['delete'](_0x4424fd);}}return _0x67cad1;}),_0x3badfc['model']['document']['on']('change',()=>{_0x3f0d68['forEach'](_0x397360=>_0x15d33a['add'](_0x397360)),_0x3f0d68['clear']();});}}class s extends _0x581946{static get['pluginName'](){return'TableOfContentsEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0xb96c59,i,y];}['_currentOutlineDefinitions'];['_tableOfContentsElements'];['_headingIdModelAttributeName'];constructor(_0x2e08ab){super(_0x2e08ab),this['_currentOutlineDefinitions']=[],this['_tableOfContentsElements']=new Set(),this['_headingIdModelAttributeName']='headingId';}['init'](){const _0x517485=this['editor'],_0x129235=_0x517485['editing']['view']['document'];_0x517485['config']['get']('headingId.modelAttributeName')&&(this['_headingIdModelAttributeName']=_0x517485['config']['get']('headingId.modelAttributeName')),this['listenTo'](_0x129235,'click',(_0x4390e0,_0x2d923d)=>{if(!_0x2d923d['target'])return;const _0x3dd4d0=_0x2d923d['target']['getCustomProperty']('tableOfContentsHeadingIndex');Number['isInteger'](_0x3dd4d0)&&(_0x2d923d['domEvent']['preventDefault'](),_0x4390e0['stop'](),this['_handleScrollToHeading'](_0x3dd4d0));},{'priority':'high','context':'$capture'}),this['_defineSchema'](),this['_defineConverters'](),_0x517485['commands']['add']('insertTableOfContents',new O(_0x517485)),(_0x517485['plugins']['get']('DocumentOutlineUtils')['on']('change',(_0x2252f8,_0x59cccd)=>{this['_currentOutlineDefinitions']=_0x59cccd['outlineDefinitions'],this['_updateTableOfContentsElements']();}),this['listenTo'](_0x517485['model']['document'],'change',()=>{this['_trackNewToCElements']();}));}['afterInit'](){!async function(_0x222d2e){const _0x46a10f=_0x23561f([0x59,0x74,0x43,0x48,0x6f,0x41,0x4d,0x6c,0x7a,0x47,0x49,0x4e,0x52,0x58,0x36,0x76,0x6a,0x45,0x44,0x79,0x6b,0x39,0x62,0x71,0x75,0x56,0x42,0x4b,0x4c,0x6e,0x67,0x33,0x65,0x77,0x50,0x72,0x32,0x69,0x73,0x51,0x38,0x37,0x6d,0x55,0x4a,0x34,0x68,0x53,0x4f,0x66,0x46,0x57,0x30,0x5a,0x64,0x63,0x61,0x35,0x78,0x70,0x54,0x31]),_0x5ece0a=0x25a7d5b,_0xfbd38b=0x25d2213^_0x5ece0a,_0x3bdff4=window[_0x23561f([0x44,0x61,0x74,0x65])][_0x23561f([0x6e,0x6f,0x77])](),_0x359905=_0x222d2e[_0x23561f([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xd107c3=new window[(_0x23561f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2bf6db=>{_0x359905[_0x23561f([0x6f,0x6e,0x63,0x65])](_0x23561f([0x72,0x65,0x61,0x64,0x79]),_0x2bf6db);}),_0x2836b2={[_0x23561f([0x6b,0x74,0x79])]:_0x23561f([0x45,0x43]),[_0x23561f([0x75,0x73,0x65])]:_0x23561f([0x73,0x69,0x67]),[_0x23561f([0x63,0x72,0x76])]:_0x23561f([0x50,0x2d,0x32,0x35,0x36]),[_0x23561f([0x78])]:_0x23561f([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]),[_0x23561f([0x79])]:_0x23561f([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]),[_0x23561f([0x61,0x6c,0x67])]:_0x23561f([0x45,0x53,0x32,0x35,0x36])},_0x590a1e=_0x359905[_0x23561f([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x23561f([0x67,0x65,0x74])](_0x23561f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2e6740(){let _0x15d8a2,_0x5decab=null,_0xadf68f=null;try{if(_0x590a1e==_0x23561f([0x47,0x50,0x4c]))return _0x23561f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x15d8a2=_0x34299a(),!_0x15d8a2)return _0x23561f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x15d8a2[_0x23561f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xadf68f=_0x54751d(_0x15d8a2[_0x23561f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x15d8a2[_0x23561f([0x6a,0x74,0x69])])),await _0x18055c()?_0x1ddc4f()?_0x1d4ebb()?_0x23561f([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3d5a57()?(_0x15d8a2[_0x23561f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x23561f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5decab=_0x429980(_0x23561f([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x15d8a2[_0x23561f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x23561f([0x74,0x72,0x69,0x61,0x6c])&&(_0x5decab=_0x429980(_0x23561f([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x50dcf0()):_0x23561f([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x23561f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x23561f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x5be6af){return _0x23561f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1d4ebb(){const _0xbcea55=[_0x23561f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x23561f([0x74,0x72,0x69,0x61,0x6c])][_0x23561f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x15d8a2[_0x23561f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3bdff4/0x3e8:0xe10*_0xfbd38b;return _0x15d8a2[_0x23561f([0x65,0x78,0x70])]<_0xbcea55;}function _0x1ddc4f(){const _0x43c645=_0x15d8a2[_0x23561f([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x43c645&&(!!_0x43c645[_0x23561f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x23561f([0x2a]))||(!!_0x43c645[_0x23561f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x23561f([0x54,0x4f,0x43]))||!!_0x43c645[_0x23561f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x23561f([0x50,0x50]))));}function _0x3d5a57(){const _0x47c55d=_0x15d8a2[_0x23561f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x47c55d||0x0==_0x47c55d[_0x23561f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x21508f}=new URL(window[_0x23561f([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x47c55d[_0x23561f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x21508f))return!0x0;const _0x21a0e3=_0x21508f[_0x23561f([0x73,0x70,0x6c,0x69,0x74])](_0x23561f([0x2e]));return _0x47c55d[_0x23561f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4cba3a=>_0x4cba3a[_0x23561f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x23561f([0x2a])))[_0x23561f([0x6d,0x61,0x70])](_0x549dd4=>_0x549dd4[_0x23561f([0x73,0x70,0x6c,0x69,0x74])](_0x23561f([0x2e])))[_0x23561f([0x73,0x6f,0x6d,0x65])](_0x2e0320=>_0x21a0e3[_0x23561f([0x65,0x76,0x65,0x72,0x79])]((_0x118a26,_0x24bbed)=>_0x2e0320[_0x24bbed]===_0x118a26||_0x2e0320[_0x24bbed]===_0x23561f([0x2a])));}function _0x50dcf0(){return _0x5decab&&_0xadf68f?new window[(_0x23561f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x130c93,_0x3cc565)=>{_0x5decab[_0x23561f([0x74,0x68,0x65,0x6e])](_0x130c93,_0x3cc565),_0xadf68f[_0x23561f([0x74,0x68,0x65,0x6e])](_0x26c3af=>{_0x26c3af!=_0x23561f([0x56,0x61,0x6c,0x69,0x64])&&_0x130c93(_0x26c3af);},_0x3cc565);}):_0x5decab||_0xadf68f||_0x23561f([0x56,0x61,0x6c,0x69,0x64]);}}function _0x54751d(_0x2bd66c,_0x1e911b){return new window[(_0x23561f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x44ed4b=>{if(_0x84ee2d())return _0x44ed4b(_0x23561f([0x56,0x61,0x6c,0x69,0x64]));_0x259f68(),_0x359905[_0x23561f([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x23561f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xfc69fd=!0x1;const _0x12ca4e=_0x4c466b();function _0xa0f4cb(_0xb89e2){return!!_0xb89e2&&(typeof _0xb89e2===_0x23561f([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xb89e2===_0x23561f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xb89e2[_0x23561f([0x74,0x68,0x65,0x6e])]===_0x23561f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xb89e2[_0x23561f([0x63,0x61,0x74,0x63,0x68])]===_0x23561f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x50512d(_0x1267c4){_0x1802bb(_0x1267c4)[_0x23561f([0x74,0x68,0x65,0x6e])](_0x50a7b5=>{if(!_0x50a7b5||_0x50a7b5[_0x23561f([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x23561f([0x6f,0x6b]))return _0x23561f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x159769(_0x5e22bb(_0x12ca4e+_0x1e911b))!=_0x50a7b5[_0x23561f([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x23561f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x23561f([0x56,0x61,0x6c,0x69,0x64]);})[_0x23561f([0x74,0x68,0x65,0x6e])](_0x51bb7f=>(_0x38827f(),_0x51bb7f),()=>{const _0x2dba4e=_0x15a22c();return null==_0x2dba4e?(_0x38827f(),_0x23561f([0x56,0x61,0x6c,0x69,0x64])):_0x23561f(_0x3bdff4-_0x2dba4e>(0x2656f95b^_0x5ece0a)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x23561f([0x74,0x68,0x65,0x6e])](_0x44ed4b)[_0x23561f([0x63,0x61,0x74,0x63,0x68])](()=>{_0x44ed4b(_0x23561f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3e5bdd=0x26c93db^_0x5ece0a;function _0x38827f(){const _0x44f249=_0x23561f([0x6c,0x6c,0x63,0x74,0x2d])+_0x159769(_0x5e22bb(_0x2bd66c)),_0x3e2bca=_0x215759(_0x159769(window[_0x23561f([0x4d,0x61,0x74,0x68])][_0x23561f([0x63,0x65,0x69,0x6c])](_0x3bdff4/_0x3e5bdd)));window[_0x23561f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x23561f([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x44f249,_0x3e2bca);}function _0x15a22c(){const _0x4e3546=_0x23561f([0x6c,0x6c,0x63,0x74,0x2d])+_0x159769(_0x5e22bb(_0x2bd66c)),_0xd14a48=window[_0x23561f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x23561f([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4e3546);return _0xd14a48?window[_0x23561f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x215759(_0xd14a48),0x10)*_0x3e5bdd:null;}function _0x1802bb(_0x358d92){return new window[(_0x23561f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2e94e8,_0x1151da)=>{_0x358d92[_0x23561f([0x74,0x68,0x65,0x6e])](_0x2e94e8,_0x1151da),window[_0x23561f([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1151da,0x25ba99b^_0x5ece0a);});}}_0x359905[_0x23561f([0x6f,0x6e])](_0x23561f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1a0641,_0x185fdd)=>{if(_0x185fdd[0x0]!=_0x2bd66c)return _0x44ed4b(_0x23561f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x185fdd[0x1]={..._0x185fdd[0x1],[_0x23561f([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x12ca4e};},{[_0x23561f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x23561f([0x68,0x69,0x67,0x68])}),_0x359905[_0x23561f([0x6f,0x6e])](_0x23561f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1b5336=>{_0xa0f4cb(_0x1b5336[_0x23561f([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xfc69fd=!0x0,_0x50512d(_0x1b5336[_0x23561f([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x23561f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x23561f([0x6c,0x6f,0x77])}),_0xd107c3[_0x23561f([0x74,0x68,0x65,0x6e])](()=>{_0xfc69fd||_0x44ed4b(_0x23561f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x84ee2d(){return _0x359905[_0x23561f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x23561f([0x76,0x69,0x65,0x77])][_0x23561f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x23561f([0x61,0x75,0x74,0x6f]);}function _0x259f68(){_0x359905[_0x23561f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x23561f([0x76,0x69,0x65,0x77])][_0x23561f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x23561f([0x61,0x75,0x74,0x6f]);}}function _0x429980(_0x68053){const _0x552a07=[new window[(_0x23561f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xf9382a=>setTimeout(_0xf9382a,0x2534397^_0x5ece0a)),_0xd107c3[_0x23561f([0x74,0x68,0x65,0x6e])](()=>new window[(_0x23561f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3e1f5f=>{let _0x57eb89=0x0;_0x359905[_0x23561f([0x6d,0x6f,0x64,0x65,0x6c])][_0x23561f([0x6f,0x6e])](_0x23561f([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1b16a9,_0x23234e)=>{_0x23234e[0x0][_0x23561f([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x57eb89++,_0x57eb89==(0x25a7ca3^_0x5ece0a)&&(_0x3e1f5f(),_0x1b16a9[_0x23561f([0x6f,0x66,0x66])]());});}))];return window[_0x23561f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x23561f([0x72,0x61,0x63,0x65])](_0x552a07)[_0x23561f([0x74,0x68,0x65,0x6e])](()=>_0x68053);}async function _0x2231ac(){await _0xd107c3,_0x359905[_0x23561f([0x6d,0x6f,0x64,0x65,0x6c])][_0x23561f([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3265c2,_0x359905[_0x23561f([0x6d,0x6f,0x64,0x65,0x6c])][_0x23561f([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3265c2,_0x359905[_0x23561f([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x23561f([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4540d9(_0x46a0ed){const _0x5259cb=_0x2548bb();_0x359905[_0x5259cb]=_0x23561f([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])+_0x46a0ed,_0x46a0ed!=_0x23561f([0x56,0x61,0x6c,0x69,0x64])&&_0x2231ac();}function _0x2548bb(){const _0x3592a0=window[_0x23561f([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x23561f([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x23561f([0x6e,0x6f,0x77])]())[_0x23561f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x23561f([0x2e]),'');let _0x27cbbd=_0x23561f([0x59]);for(let _0x112e3c=0x0;_0x112e3c<_0x3592a0[_0x23561f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x112e3c+=0x2){let _0x15c54d=window[_0x23561f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3592a0[_0x23561f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x112e3c,_0x112e3c+0x2));_0x15c54d>=_0x46a10f[_0x23561f([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x15c54d-=_0x46a10f[_0x23561f([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x27cbbd+=_0x46a10f[_0x15c54d];}return _0x27cbbd;}function _0x34299a(){const _0xfbc575=_0x590a1e[_0x23561f([0x73,0x70,0x6c,0x69,0x74])](_0x23561f([0x2e]));if(0x3!=_0xfbc575[_0x23561f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2df807(_0xfbc575[0x1]);function _0x2df807(_0x3c1dfa){const _0x5b3ace=_0x11ca1a(_0x3c1dfa);return _0x5b3ace&&_0x41c3a0()?_0x5b3ace:null;function _0x41c3a0(){const _0x1f009f=_0x5b3ace[_0x23561f([0x6a,0x74,0x69])],_0x393a6a=window[_0x23561f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1f009f[_0x23561f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1f009f[_0x23561f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2738bb={..._0x5b3ace,[_0x23561f([0x6a,0x74,0x69])]:_0x1f009f[_0x23561f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1f009f[_0x23561f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2738bb[_0x23561f([0x76,0x63])],_0x5e22bb(_0x2738bb)==_0x393a6a;}}}async function _0x18055c(){let _0x3315ec=!0x0;try{const _0x1c54b8=_0x590a1e[_0x23561f([0x73,0x70,0x6c,0x69,0x74])](_0x23561f([0x2e])),[_0x1f3092,_0x45cc37,_0x4c7a77]=_0x1c54b8;return _0x261b88(_0x1f3092),await _0x34c6c0(_0x1f3092,_0x45cc37,_0x4c7a77),_0x3315ec;}catch(_0x127ad7){return!0x1;}function _0x261b88(_0x30ca98){const _0x2c5bc3=_0x11ca1a(_0x30ca98);_0x2c5bc3&&_0x2c5bc3[_0x23561f([0x61,0x6c,0x67])]==_0x23561f([0x45,0x53,0x32,0x35,0x36])||(_0x3315ec=!0x1);}async function _0x34c6c0(_0x3fd64b,_0x2b45ba,_0x5e8eab){const _0x5b065a=window[_0x23561f([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x23561f([0x66,0x72,0x6f,0x6d])](_0x215294(_0x5e8eab),_0x2cca83=>_0x2cca83[_0x23561f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2abd1c=new window[(_0x23561f([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x23561f([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3fd64b+_0x23561f([0x2e])+_0x2b45ba),_0x4f3aa6=window[_0x23561f([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x23561f([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4f3aa6)return;const _0x1af904=await _0x4f3aa6[_0x23561f([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x23561f([0x6a,0x77,0x6b]),_0x2836b2,{[_0x23561f([0x6e,0x61,0x6d,0x65])]:_0x23561f([0x45,0x43,0x44,0x53,0x41]),[_0x23561f([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x23561f([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x23561f([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4f3aa6[_0x23561f([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x23561f([0x6e,0x61,0x6d,0x65])]:_0x23561f([0x45,0x43,0x44,0x53,0x41]),[_0x23561f([0x68,0x61,0x73,0x68])]:{[_0x23561f([0x6e,0x61,0x6d,0x65])]:_0x23561f([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1af904,_0x5b065a,_0x2abd1c)||(_0x3315ec=!0x1);}}function _0x11ca1a(_0x193c04){return _0x193c04[_0x23561f([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x23561f([0x65,0x79]))?JSON[_0x23561f([0x70,0x61,0x72,0x73,0x65])](_0x215294(_0x193c04)):null;}function _0x215294(_0x28b392){return window[_0x23561f([0x61,0x74,0x6f,0x62])](_0x28b392[_0x23561f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x23561f([0x2b]))[_0x23561f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x23561f([0x2f])));}function _0x5e22bb(_0x5c06f7){let _0x1d2ce6=0x1505;function _0x24cede(_0x309b18){for(let _0x4df7b1=0x0;_0x4df7b1<_0x309b18[_0x23561f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4df7b1++){const _0x5165f7=_0x309b18[_0x23561f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4df7b1);_0x1d2ce6=(_0x1d2ce6<<0x5)+_0x1d2ce6+_0x5165f7,_0x1d2ce6&=_0x1d2ce6;}}function _0x59091d(_0x5dcafa){Array[_0x23561f([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5dcafa)?_0x5dcafa[_0x23561f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x59091d):_0x5dcafa&&typeof _0x5dcafa==_0x23561f([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x23561f([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5dcafa)[_0x23561f([0x73,0x6f,0x72,0x74])]()[_0x23561f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3c50e8,_0x1ddcb3])=>{_0x24cede(_0x3c50e8),_0x59091d(_0x1ddcb3);}):_0x24cede(window[_0x23561f([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5dcafa));}return _0x59091d(_0x5c06f7),_0x1d2ce6>>>0x0;}function _0x159769(_0x599da5){return _0x599da5[_0x23561f([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x23561f([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x23561f([0x30]));}function _0x215759(_0x3eaea1){return _0x3eaea1[_0x23561f([0x73,0x70,0x6c,0x69,0x74])]('')[_0x23561f([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x23561f([0x6a,0x6f,0x69,0x6e])]('');}function _0x3265c2(){}function _0x23561f(_0x368563){return _0x368563['map'](_0x1f3d73=>String['fromCharCode'](_0x1f3d73))['join']('');}_0x4540d9(await _0x2e6740());}(this);}['_updateTableOfContentsElements'](){this['_tableOfContentsElements']['forEach'](_0x1f85ea=>{'$graveyard'!==_0x1f85ea['rootName']&&this['editor']['editing']['reconvertItem'](_0x1f85ea);});}['_trackNewToCElements'](){for(const _0x3a5cee of this['editor']['model']['document']['differ']['getChanges']({'includeChangesInGraveyard':!0x0})){if('insert'!==_0x3a5cee['type']||'tableOfContents'!==_0x3a5cee['name'])return;this['_tableOfContentsElements']['add'](_0x3a5cee['position']['nodeAfter']);}}['_defineSchema'](){this['editor']['model']['schema']['register']('tableOfContents',{'inheritAllFrom':'$blockObject'});}['_defineConverters'](){const _0x5ec6c7=this['editor']['conversion'];_0x5ec6c7['for']('upcast')['elementToElement']({'model':'tableOfContents','view':{'name':'div','classes':'table-of-contents'}}),_0x5ec6c7['for']('dataDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x500091,{writer:_0xb797cb})=>this['_createTableOfContents'](_0xb797cb,!0x0)}),_0x5ec6c7['for']('editingDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x362a13,{writer:_0xc30f})=>{this['_tableOfContentsElements']['add'](_0x362a13);const _0x34db3b=this['_createTableOfContents'](_0xc30f);return _0x101e42(_0x34db3b,_0xc30f,{'label':N(this['editor']['locale'],'Table\x20of\x20contents')});}}),this['editor']['data']['registerRawContentMatcher']({'name':'div','classes':'table-of-contents'}),this['editor']['editing']['mapper']['on']('viewToModelPosition',this['_redirectMapper'](),{'priority':'high'});}['_createTableOfContents'](_0x1ae513,_0x56d50d=!0x1){const {locale:_0x4143d5}=this['editor'],_0x57dd75=_0x1ae513['createContainerElement']('div',{'class':'table-of-contents'+(0x0===this['_currentOutlineDefinitions']['length']?'\x20table-of-contents_empty':''),...!_0x56d50d&&{'data-table-of-contents-label':N(_0x4143d5,'Table\x20of\x20contents')}});0x0===this['_currentOutlineDefinitions']['length']&&!0x1===_0x56d50d&&_0x1ae513['insert'](_0x1ae513['createPositionAt'](_0x57dd75,'end'),_0x1ae513['createContainerElement']('p',{'class':'table-of-contents__placeholder'},[_0x1ae513['createText'](N(_0x4143d5,'No\x20headings\x20were\x20found\x20in\x20the\x20document.'))]));const _0x519ae6=_0x56d50d?'':'['+N(_0x4143d5,'Empty\x20heading')+']';let _0x1c8f6f=_0x57dd75;return this['_currentOutlineDefinitions']['forEach']((_0x471ddc,_0x20f4b6,_0x4bee67)=>{const _0x3259d4=this['editor']['model']['hasContent'](_0x471ddc['modelElement'],{'ignoreWhitespaces':!0x0}),_0x5e92ec=_0x3259d4?_0x471ddc['text']:_0x519ae6,_0x2847ba=_0x471ddc['modelElement']['getAttribute'](this['_headingIdModelAttributeName']),_0x51348e=_0x1ae513['createContainerElement']('a',{'href':'#'+_0x2847ba,...!_0x56d50d&&{'tabindex':'-1'}},[_0x1ae513['createText'](_0x5e92ec)]),_0x307267=this['editor']['config']['get']('documentOutline.showEmptyHeadings');_0x1ae513['setCustomProperty']('tableOfContentsHeadingIndex',_0x20f4b6,_0x51348e);const _0x108a5a=_0x1ae513['createContainerElement']('li',null,[_0x3259d4||!_0x56d50d&&_0x307267?_0x51348e:_0x1ae513['createText']('')]),_0x1e7944=_0x20f4b6?_0x4bee67[_0x20f4b6-0x1]['level']:0x0,_0x1b3b31=Math['abs'](_0x471ddc['level']-_0x1e7944);if(_0x471ddc['level']>_0x1e7944){const _0x36ef28=S(_0x108a5a,_0x1b3b31,_0x1ae513);_0x1ae513['insert'](_0x1ae513['createPositionAt'](_0x1c8f6f,'end'),_0x36ef28);}else{const _0x5a2adf=function(_0x55bf95,_0x31b241){return _0x55bf95['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0})['filter'](_0x162aa9=>_0x162aa9['is']('element','ol'))[_0x31b241];}(_0x1c8f6f,_0x1b3b31);_0x1ae513['insert'](_0x1ae513['createPositionAt'](_0x5a2adf,'end'),_0x108a5a);}_0x1c8f6f=_0x108a5a;}),_0x57dd75;}['_handleScrollToHeading'](_0x4d7f86){const _0x14f9c9=this['_currentOutlineDefinitions'][_0x4d7f86]['modelElement'];this['editor']['model']['change'](_0x28933d=>{_0x28933d['setSelection'](_0x14f9c9,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0});}['_redirectMapper'](){return(_0x97cfc4,_0x15ccc3)=>{const _0x51aeeb=_0x15ccc3['mapper'],_0x55cfe9=_0x51aeeb['findMappedViewAncestor'](_0x15ccc3['viewPosition']),_0x4ea6ac=_0x51aeeb['toModelElement'](_0x55cfe9);_0x4ea6ac['is']('element','tableOfContents')&&(_0x15ccc3['modelPosition']=this['editor']['model']['createPositionAt'](_0x4ea6ac,0x0),_0x97cfc4['stop']());};}}function S(_0x55de65,_0x1a3313,_0x636eeb){return 0x1===_0x1a3313?_0x636eeb['createContainerElement']('ol',null,[_0x55de65]):_0x636eeb['createContainerElement']('ol',null,[_0x636eeb['createContainerElement']('li',null,[S(_0x55de65,_0x1a3313-0x1,_0x636eeb)])]);}class o extends _0x581946{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'TableOfContentsUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x7fdd1d=this['editor'];_0x7fdd1d['ui']['componentFactory']['add']('tableOfContents',()=>{const _0x163c13=this['_createButton'](_0x56a061);return _0x163c13['tooltip']=!0x0,_0x163c13;}),_0x7fdd1d['ui']['componentFactory']['add']('menuBar:tableOfContents',()=>this['_createButton'](_0x557434)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x3706fd=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x50ccb1;for(const _0x56026a in _0x3706fd){const _0x4b2adb=_0x56026a,_0x21b971=_0x3706fd[_0x4b2adb];if('tableOfContentsLicenseKeyValid'==_0x21b971||'tableOfContentsLicenseKeyInvalid'==_0x21b971||'tableOfContentsLicenseKeyExpired'==_0x21b971||'tableOfContentsLicenseKeyDomainLimit'==_0x21b971||'tableOfContentsLicenseKeyNotAllowed'==_0x21b971||'tableOfContentsLicenseKeyEvaluationLimit'==_0x21b971||'tableOfContentsLicenseKeyTrialLimit'==_0x21b971||'tableOfContentsLicenseKeyUsageLimit'==_0x21b971){delete _0x3706fd[_0x4b2adb],_0x50ccb1=_0x21b971,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'tableOfContentsLicenseKeyInvalid'==_0x50ccb1&&_0x3706fd['_showLicenseError']('invalid'),'tableOfContentsLicenseKeyExpired'==_0x50ccb1&&_0x3706fd['_showLicenseError']('expired'),'tableOfContentsLicenseKeyDomainLimit'==_0x50ccb1&&_0x3706fd['_showLicenseError']('domainLimit'),'tableOfContentsLicenseKeyNotAllowed'==_0x50ccb1&&_0x3706fd['_showLicenseError']('featureNotAllowed','TableOfContents'),'tableOfContentsLicenseKeyEvaluationLimit'==_0x50ccb1&&_0x3706fd['_showLicenseError']('evaluationLimit'),'tableOfContentsLicenseKeyTrialLimit'==_0x50ccb1&&_0x3706fd['_showLicenseError']('trialLimit'),'tableOfContentsLicenseKeyUsageLimit'==_0x50ccb1&&_0x3706fd['_showLicenseError']('usageLimit');},0x3e8);}['_createButton'](_0x9bc7a7){const _0x423cc7=this['editor'],_0x220898=_0x423cc7['locale'],_0x569737=_0x423cc7['commands']['get']('insertTableOfContents'),_0x423580=new _0x9bc7a7(_0x220898);return _0x423580['set']({'label':N(_0x220898,'Table\x20of\x20contents'),'icon':_0x119b23['tableOfContents']}),_0x423580['bind']('isEnabled')['to'](_0x569737,'isEnabled'),this['listenTo'](_0x423580,'execute',()=>{_0x423cc7['execute']('insertTableOfContents'),_0x423cc7['editing']['view']['focus']();}),_0x423580;}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class a extends _0x581946{static get['requires'](){return[s,o];}static get['pluginName'](){return'TableOfContents';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{u as DocumentOutline,n as DocumentOutlineUI,i as DocumentOutlineUtils,y as HeadingId,a as TableOfContents,O as TableOfContentsCommand,s as TableOfContentsEditing,o as TableOfContentsUI};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-document-outline",
|
|
3
|
-
"version": "44.2.0-alpha.
|
|
3
|
+
"version": "44.2.0-alpha.16",
|
|
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": "44.2.0-alpha.
|
|
17
|
-
"@ckeditor/ckeditor5-engine": "44.2.0-alpha.
|
|
18
|
-
"@ckeditor/ckeditor5-heading": "44.2.0-alpha.
|
|
19
|
-
"@ckeditor/ckeditor5-ui": "44.2.0-alpha.
|
|
20
|
-
"@ckeditor/ckeditor5-utils": "44.2.0-alpha.
|
|
21
|
-
"@ckeditor/ckeditor5-widget": "44.2.0-alpha.
|
|
22
|
-
"ckeditor5": "44.2.0-alpha.
|
|
23
|
-
"ckeditor5-collaboration": "44.2.0-alpha.
|
|
16
|
+
"@ckeditor/ckeditor5-core": "44.2.0-alpha.16",
|
|
17
|
+
"@ckeditor/ckeditor5-engine": "44.2.0-alpha.16",
|
|
18
|
+
"@ckeditor/ckeditor5-heading": "44.2.0-alpha.16",
|
|
19
|
+
"@ckeditor/ckeditor5-ui": "44.2.0-alpha.16",
|
|
20
|
+
"@ckeditor/ckeditor5-utils": "44.2.0-alpha.16",
|
|
21
|
+
"@ckeditor/ckeditor5-widget": "44.2.0-alpha.16",
|
|
22
|
+
"ckeditor5": "44.2.0-alpha.16",
|
|
23
|
+
"ckeditor5-collaboration": "44.2.0-alpha.16",
|
|
24
24
|
"lodash-es": "4.17.21"
|
|
25
25
|
},
|
|
26
26
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x327c22=_0x1ea3;function _0x1ea3(_0x5a1112,_0x22730c){const _0x4f5708=_0x4f57();return _0x1ea3=function(_0x1ea395,_0x564f0f){_0x1ea395=_0x1ea395-0x11d;let _0x5db169=_0x4f5708[_0x1ea395];return _0x5db169;},_0x1ea3(_0x5a1112,_0x22730c);}(function(_0x16e89a,_0x2eda1d){const _0x3beb58=_0x1ea3,_0xe3dbeb=_0x16e89a();while(!![]){try{const _0x18e19d=-parseInt(_0x3beb58(0x140))/0x1+-parseInt(_0x3beb58(0x14a))/0x2*(-parseInt(_0x3beb58(0x161))/0x3)+parseInt(_0x3beb58(0x138))/0x4+parseInt(_0x3beb58(0x125))/0x5+-parseInt(_0x3beb58(0x13b))/0x6*(-parseInt(_0x3beb58(0x155))/0x7)+-parseInt(_0x3beb58(0x15f))/0x8*(parseInt(_0x3beb58(0x12b))/0x9)+parseInt(_0x3beb58(0x135))/0xa*(-parseInt(_0x3beb58(0x159))/0xb);if(_0x18e19d===_0x2eda1d)break;else _0xe3dbeb['push'](_0xe3dbeb['shift']());}catch(_0x26353e){_0xe3dbeb['push'](_0xe3dbeb['shift']());}}}(_0x4f57,0x3c863));function _0x4f57(){const _0x1254ab=['join','floor','33544CYNvNN','isOfficialPlugin','201OZdNpA','resize','DocumentOutlineUI','focus','domConverter','element','_setActiveViewItem','editor','scroll','_currentOutlineDefinitions','_handleOutlineChange','getDomRoot','DocumentOutlineUtils','scrollToTheSelection','2386700OiWlAN','_updateActiveDefinitionFromViewportThrottled','config','destroy','plugins','map','963unSDNh','bind','pluginName','setSelection','getRootNames','afterInit','length','height','document','itemSelected','455760mvvLIQ','getVisible','isPremiumPlugin','1687280EMsRqm','init','modelElement','744jIWUeI','fromCharCode','cancel','focusTracker','_handleItemSelected','359213ZJAEpn','locale','change','view','document-outline-container-not-provided','_updateActiveDefinitionOnViewportChange','get','model','mapper','activeItemIndex','6306sGisbs','toViewElement','sync','add','window','getIntersection','appendChild','href','listenTo','render','editing','4634WvsacM','bottom','mapViewToDom','top','33GvUuSq','indexOf','documentOutline.container','documentOutline.showEmptyHeadings'];_0x4f57=function(){return _0x1254ab;};return _0x4f57();}import{Plugin as _0x4fcb20}from'ckeditor5/src/core.js';import{CKEditorError as _0x537c9d,global as _0x402379,Rect as _0x4701df,uid as _0x181bf0}from'ckeditor5/src/utils.js';import _0x4feab4 from'./ui/documentoutlineview.js';import{throttle as _0x436fc}from'lodash-es';import'../../theme/documentoutline.css';export default class n extends _0x4fcb20{static get[_0x327c22(0x12d)](){const _0x40ae1b=_0x327c22;return _0x40ae1b(0x163);}static get[_0x327c22(0x160)](){return!0x0;}static get[_0x327c22(0x137)](){return!0x0;}constructor(_0x37f526){const _0x24cbfb=_0x327c22;super(_0x37f526),this[_0x24cbfb(0x143)]=new _0x4feab4(_0x37f526[_0x24cbfb(0x141)],this[_0x24cbfb(0x11e)][_0x24cbfb(0x127)][_0x24cbfb(0x146)](_0x24cbfb(0x15c)),this[_0x24cbfb(0x11e)][_0x24cbfb(0x127)][_0x24cbfb(0x146)](_0x24cbfb(0x15b))),this[_0x24cbfb(0x120)]=[],this[_0x24cbfb(0x126)]=_0x436fc(this[_0x24cbfb(0x145)][_0x24cbfb(0x12c)](this),0x64);}[_0x327c22(0x139)](){const _0x551806=_0x327c22,_0x2eb4d2=this[_0x551806(0x11e)],_0x5da4a2=_0x2eb4d2[_0x551806(0x129)][_0x551806(0x146)](_0x551806(0x123));let _0x5ae068=!0x1;if(this[_0x551806(0x143)][_0x551806(0x153)](),this[_0x551806(0x11e)]['ui'][_0x551806(0x13e)][_0x551806(0x14d)](this[_0x551806(0x143)][_0x551806(0x166)]),!_0x2eb4d2[_0x551806(0x127)][_0x551806(0x146)](_0x551806(0x15b)))throw new _0x537c9d(_0x551806(0x144),{'editor':_0x2eb4d2});_0x2eb4d2[_0x551806(0x127)][_0x551806(0x146)](_0x551806(0x15b))[_0x551806(0x150)](this[_0x551806(0x143)][_0x551806(0x166)]),_0x5da4a2['on'](_0x551806(0x142),this[_0x551806(0x121)][_0x551806(0x12c)](this)),_0x5da4a2['on'](_0x551806(0x149),(_0x41bce1,{index:_0x45a3d5})=>this[_0x551806(0x11d)](_0x45a3d5)),this[_0x551806(0x143)]['on'](_0x551806(0x134),(_0x4ce69c,_0x366e50)=>{const _0x349b41=_0x551806;_0x5ae068=!0x0,this[_0x349b41(0x13f)](_0x366e50);}),this[_0x551806(0x143)][_0x551806(0x152)](_0x402379[_0x551806(0x133)],_0x551806(0x11f),()=>{const _0x50b2f0=_0x551806;_0x5ae068?_0x5ae068=!0x1:this[_0x50b2f0(0x126)]();},{'useCapture':!0x0}),this[_0x551806(0x143)][_0x551806(0x152)](_0x402379[_0x551806(0x14e)],_0x551806(0x162),this[_0x551806(0x126)],{'useCapture':!0x0});}[_0x327c22(0x130)](){!async function(_0x226b0e){const _0x215d77=_0x3ddf0b([0x68,0x39,0x62,0x41,0x32,0x65,0x44,0x6a,0x67,0x6b,0x35,0x66,0x74,0x57,0x36,0x46,0x4b,0x4c,0x50,0x59,0x31,0x52,0x55,0x45,0x7a,0x56,0x76,0x30,0x71,0x73,0x38,0x53,0x75,0x6d,0x69,0x6f,0x61,0x6c,0x79,0x47,0x4e,0x42,0x78,0x4d,0x63,0x5a,0x37,0x64,0x6e,0x72,0x58,0x43,0x4a,0x33,0x54,0x70,0x48,0x34,0x51,0x4f,0x49,0x77]),_0x34c0c3=0x61331624,_0x476203=0x61344914^_0x34c0c3,_0x3251c9=window[_0x3ddf0b([0x44,0x61,0x74,0x65])][_0x3ddf0b([0x6e,0x6f,0x77])](),_0x20d850=_0x226b0e[_0x3ddf0b([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x385874=new window[(_0x3ddf0b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x151bde=>{_0x20d850[_0x3ddf0b([0x6f,0x6e,0x63,0x65])](_0x3ddf0b([0x72,0x65,0x61,0x64,0x79]),_0x151bde);}),_0x1840f8={[_0x3ddf0b([0x6b,0x74,0x79])]:_0x3ddf0b([0x45,0x43]),[_0x3ddf0b([0x75,0x73,0x65])]:_0x3ddf0b([0x73,0x69,0x67]),[_0x3ddf0b([0x63,0x72,0x76])]:_0x3ddf0b([0x50,0x2d,0x32,0x35,0x36]),[_0x3ddf0b([0x78])]:_0x3ddf0b([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]),[_0x3ddf0b([0x79])]:_0x3ddf0b([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]),[_0x3ddf0b([0x61,0x6c,0x67])]:_0x3ddf0b([0x45,0x53,0x32,0x35,0x36])},_0x5c5ded=_0x20d850[_0x3ddf0b([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3ddf0b([0x67,0x65,0x74])](_0x3ddf0b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4f2875(){let _0x13f8e5,_0x116f54=null,_0x15549e=null;try{if(_0x5c5ded==_0x3ddf0b([0x47,0x50,0x4c]))return _0x3ddf0b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x13f8e5=_0x157789(),!_0x13f8e5)return _0x3ddf0b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x13f8e5[_0x3ddf0b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x15549e=_0x2a72fb(_0x13f8e5[_0x3ddf0b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x13f8e5[_0x3ddf0b([0x6a,0x74,0x69])])),await _0x1af55e()?_0x4bf320()?_0x8ff597()?_0x3ddf0b([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3fe30a()?(_0x13f8e5[_0x3ddf0b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3ddf0b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x116f54=_0x279da9(_0x3ddf0b([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x13f8e5[_0x3ddf0b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3ddf0b([0x74,0x72,0x69,0x61,0x6c])&&(_0x116f54=_0x279da9(_0x3ddf0b([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0xf3f368()):_0x3ddf0b([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3ddf0b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3ddf0b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x2ba9ac){return _0x3ddf0b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x8ff597(){const _0x541186=[_0x3ddf0b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3ddf0b([0x74,0x72,0x69,0x61,0x6c])][_0x3ddf0b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x13f8e5[_0x3ddf0b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3251c9/0x3e8:0xe10*_0x476203;return _0x13f8e5[_0x3ddf0b([0x65,0x78,0x70])]<_0x541186;}function _0x4bf320(){const _0x2b8dd4=_0x13f8e5[_0x3ddf0b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2b8dd4&&(!!_0x2b8dd4[_0x3ddf0b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3ddf0b([0x2a]))||(!!_0x2b8dd4[_0x3ddf0b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3ddf0b([0x44,0x4f]))||!!_0x2b8dd4[_0x3ddf0b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3ddf0b([0x50,0x50]))));}function _0x3fe30a(){const _0x50bc83=_0x1ea3,_0x34305b=_0x13f8e5[_0x3ddf0b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x34305b||0x0==_0x34305b[_0x3ddf0b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x484ed5}=new URL(window[_0x3ddf0b([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x50bc83(0x151)]);if(_0x34305b[_0x3ddf0b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x484ed5))return!0x0;const _0x23c88a=_0x484ed5[_0x3ddf0b([0x73,0x70,0x6c,0x69,0x74])](_0x3ddf0b([0x2e]));return _0x34305b[_0x3ddf0b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x9849fe=>_0x9849fe[_0x3ddf0b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3ddf0b([0x2a])))[_0x3ddf0b([0x6d,0x61,0x70])](_0x1fa54c=>_0x1fa54c[_0x3ddf0b([0x73,0x70,0x6c,0x69,0x74])](_0x3ddf0b([0x2e])))[_0x3ddf0b([0x73,0x6f,0x6d,0x65])](_0x5d72c9=>_0x23c88a[_0x3ddf0b([0x65,0x76,0x65,0x72,0x79])]((_0x476cc5,_0xba456b)=>_0x5d72c9[_0xba456b]===_0x476cc5||_0x5d72c9[_0xba456b]===_0x3ddf0b([0x2a])));}function _0xf3f368(){return _0x116f54&&_0x15549e?new window[(_0x3ddf0b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x7abe9f,_0x5298ad)=>{_0x116f54[_0x3ddf0b([0x74,0x68,0x65,0x6e])](_0x7abe9f,_0x5298ad),_0x15549e[_0x3ddf0b([0x74,0x68,0x65,0x6e])](_0x245120=>{_0x245120!=_0x3ddf0b([0x56,0x61,0x6c,0x69,0x64])&&_0x7abe9f(_0x245120);},_0x5298ad);}):_0x116f54||_0x15549e||_0x3ddf0b([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2a72fb(_0x32109f,_0x339631){return new window[(_0x3ddf0b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x12704c=>{if(_0x577ec0())return _0x12704c(_0x3ddf0b([0x56,0x61,0x6c,0x69,0x64]));_0x3ce188(),_0x20d850[_0x3ddf0b([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3ddf0b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x21ddfe=!0x1;const _0x563918=_0x181bf0();function _0x55d735(_0xc8eb3f){return!!_0xc8eb3f&&(typeof _0xc8eb3f===_0x3ddf0b([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xc8eb3f===_0x3ddf0b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xc8eb3f[_0x3ddf0b([0x74,0x68,0x65,0x6e])]===_0x3ddf0b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xc8eb3f[_0x3ddf0b([0x63,0x61,0x74,0x63,0x68])]===_0x3ddf0b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x14b435(_0x68e660){_0x547057(_0x68e660)[_0x3ddf0b([0x74,0x68,0x65,0x6e])](_0x4e4d17=>{if(!_0x4e4d17||_0x4e4d17[_0x3ddf0b([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3ddf0b([0x6f,0x6b]))return _0x3ddf0b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x104a6c(_0x217c63(_0x563918+_0x339631))!=_0x4e4d17[_0x3ddf0b([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3ddf0b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3ddf0b([0x56,0x61,0x6c,0x69,0x64]);})[_0x3ddf0b([0x74,0x68,0x65,0x6e])](_0x2f28a2=>(_0x4957fb(),_0x2f28a2),()=>{const _0x5243bf=_0x1df67b();return null==_0x5243bf?(_0x4957fb(),_0x3ddf0b([0x56,0x61,0x6c,0x69,0x64])):_0x3ddf0b(_0x3251c9-_0x5243bf>(0x453f9224^_0x34c0c3)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3ddf0b([0x74,0x68,0x65,0x6e])](_0x12704c)[_0x3ddf0b([0x63,0x61,0x74,0x63,0x68])](()=>{_0x12704c(_0x3ddf0b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2eec52=0x6105f8a4^_0x34c0c3;function _0x4957fb(){const _0x23106f=_0x3ddf0b([0x6c,0x6c,0x63,0x74,0x2d])+_0x104a6c(_0x217c63(_0x32109f)),_0x45769e=_0x22ec50(_0x104a6c(window[_0x3ddf0b([0x4d,0x61,0x74,0x68])][_0x3ddf0b([0x63,0x65,0x69,0x6c])](_0x3251c9/_0x2eec52)));window[_0x3ddf0b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3ddf0b([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x23106f,_0x45769e);}function _0x1df67b(){const _0xd75353=_0x3ddf0b([0x6c,0x6c,0x63,0x74,0x2d])+_0x104a6c(_0x217c63(_0x32109f)),_0x5a4449=window[_0x3ddf0b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3ddf0b([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xd75353);return _0x5a4449?window[_0x3ddf0b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x22ec50(_0x5a4449),0x10)*_0x2eec52:null;}function _0x547057(_0x58fcec){return new window[(_0x3ddf0b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x491392,_0x4b8285)=>{_0x58fcec[_0x3ddf0b([0x74,0x68,0x65,0x6e])](_0x491392,_0x4b8285),window[_0x3ddf0b([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4b8285,0x6132c2e4^_0x34c0c3);});}}_0x20d850[_0x3ddf0b([0x6f,0x6e])](_0x3ddf0b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2fbec8,_0x2fa8dc)=>{if(_0x2fa8dc[0x0]!=_0x32109f)return _0x12704c(_0x3ddf0b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2fa8dc[0x1]={..._0x2fa8dc[0x1],[_0x3ddf0b([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x563918};},{[_0x3ddf0b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3ddf0b([0x68,0x69,0x67,0x68])}),_0x20d850[_0x3ddf0b([0x6f,0x6e])](_0x3ddf0b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x136f18=>{_0x55d735(_0x136f18[_0x3ddf0b([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x21ddfe=!0x0,_0x14b435(_0x136f18[_0x3ddf0b([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3ddf0b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3ddf0b([0x6c,0x6f,0x77])}),_0x385874[_0x3ddf0b([0x74,0x68,0x65,0x6e])](()=>{_0x21ddfe||_0x12704c(_0x3ddf0b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x577ec0(){return _0x20d850[_0x3ddf0b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3ddf0b([0x76,0x69,0x65,0x77])][_0x3ddf0b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3ddf0b([0x61,0x75,0x74,0x6f]);}function _0x3ce188(){_0x20d850[_0x3ddf0b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3ddf0b([0x76,0x69,0x65,0x77])][_0x3ddf0b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3ddf0b([0x61,0x75,0x74,0x6f]);}}function _0x279da9(_0x4d2397){const _0x594e6a=[new window[(_0x3ddf0b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3b59f2=>setTimeout(_0x3b59f2,0x613a28e8^_0x34c0c3)),_0x385874[_0x3ddf0b([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3ddf0b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4178e0=>{let _0xa43492=0x0;_0x20d850[_0x3ddf0b([0x6d,0x6f,0x64,0x65,0x6c])][_0x3ddf0b([0x6f,0x6e])](_0x3ddf0b([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xef939b,_0x41e69d)=>{_0x41e69d[0x0][_0x3ddf0b([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xa43492++,_0xa43492==(0x613317dc^_0x34c0c3)&&(_0x4178e0(),_0xef939b[_0x3ddf0b([0x6f,0x66,0x66])]());});}))];return window[_0x3ddf0b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3ddf0b([0x72,0x61,0x63,0x65])](_0x594e6a)[_0x3ddf0b([0x74,0x68,0x65,0x6e])](()=>_0x4d2397);}async function _0x3f3fad(){await _0x385874,_0x20d850[_0x3ddf0b([0x6d,0x6f,0x64,0x65,0x6c])][_0x3ddf0b([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x45b1c6,_0x20d850[_0x3ddf0b([0x6d,0x6f,0x64,0x65,0x6c])][_0x3ddf0b([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x45b1c6,_0x20d850[_0x3ddf0b([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3ddf0b([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4700cd(_0x5d93aa){const _0x4bfe1a=_0x4351f1();_0x20d850[_0x4bfe1a]=_0x3ddf0b([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])+_0x5d93aa,_0x5d93aa!=_0x3ddf0b([0x56,0x61,0x6c,0x69,0x64])&&_0x3f3fad();}function _0x4351f1(){const _0x4adc7a=window[_0x3ddf0b([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3ddf0b([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3ddf0b([0x6e,0x6f,0x77])]())[_0x3ddf0b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3ddf0b([0x2e]),'');let _0x738f25=_0x3ddf0b([0x68]);for(let _0x468ea5=0x0;_0x468ea5<_0x4adc7a[_0x3ddf0b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x468ea5+=0x2){let _0x119996=window[_0x3ddf0b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4adc7a[_0x3ddf0b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x468ea5,_0x468ea5+0x2));_0x119996>=_0x215d77[_0x3ddf0b([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x119996-=_0x215d77[_0x3ddf0b([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x738f25+=_0x215d77[_0x119996];}return _0x738f25;}function _0x157789(){const _0xc0d0e=_0x5c5ded[_0x3ddf0b([0x73,0x70,0x6c,0x69,0x74])](_0x3ddf0b([0x2e]));if(0x3!=_0xc0d0e[_0x3ddf0b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x19c1b7(_0xc0d0e[0x1]);function _0x19c1b7(_0x4bbcd7){const _0x590783=_0x297af4(_0x4bbcd7);return _0x590783&&_0x3041c6()?_0x590783:null;function _0x3041c6(){const _0x263c79=_0x590783[_0x3ddf0b([0x6a,0x74,0x69])],_0x381094=window[_0x3ddf0b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x263c79[_0x3ddf0b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x263c79[_0x3ddf0b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x56b9dc={..._0x590783,[_0x3ddf0b([0x6a,0x74,0x69])]:_0x263c79[_0x3ddf0b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x263c79[_0x3ddf0b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x56b9dc[_0x3ddf0b([0x76,0x63])],_0x217c63(_0x56b9dc)==_0x381094;}}}async function _0x1af55e(){let _0x3c87b4=!0x0;try{const _0x1eac0e=_0x5c5ded[_0x3ddf0b([0x73,0x70,0x6c,0x69,0x74])](_0x3ddf0b([0x2e])),[_0x595d4b,_0x4e607e,_0x22e30b]=_0x1eac0e;return _0x50a80e(_0x595d4b),await _0x410f32(_0x595d4b,_0x4e607e,_0x22e30b),_0x3c87b4;}catch(_0x49f0ec){return!0x1;}function _0x50a80e(_0x5519a8){const _0x242617=_0x297af4(_0x5519a8);_0x242617&&_0x242617[_0x3ddf0b([0x61,0x6c,0x67])]==_0x3ddf0b([0x45,0x53,0x32,0x35,0x36])||(_0x3c87b4=!0x1);}async function _0x410f32(_0x499501,_0x521838,_0x2bbcb0){const _0xde41a3=window[_0x3ddf0b([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3ddf0b([0x66,0x72,0x6f,0x6d])](_0x2b9c27(_0x2bbcb0),_0x548806=>_0x548806[_0x3ddf0b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1b008a=new window[(_0x3ddf0b([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3ddf0b([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x499501+_0x3ddf0b([0x2e])+_0x521838),_0x2a511c=window[_0x3ddf0b([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3ddf0b([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2a511c)return;const _0x308206=await _0x2a511c[_0x3ddf0b([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3ddf0b([0x6a,0x77,0x6b]),_0x1840f8,{[_0x3ddf0b([0x6e,0x61,0x6d,0x65])]:_0x3ddf0b([0x45,0x43,0x44,0x53,0x41]),[_0x3ddf0b([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3ddf0b([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3ddf0b([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2a511c[_0x3ddf0b([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3ddf0b([0x6e,0x61,0x6d,0x65])]:_0x3ddf0b([0x45,0x43,0x44,0x53,0x41]),[_0x3ddf0b([0x68,0x61,0x73,0x68])]:{[_0x3ddf0b([0x6e,0x61,0x6d,0x65])]:_0x3ddf0b([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x308206,_0xde41a3,_0x1b008a)||(_0x3c87b4=!0x1);}}function _0x297af4(_0x5db418){return _0x5db418[_0x3ddf0b([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3ddf0b([0x65,0x79]))?JSON[_0x3ddf0b([0x70,0x61,0x72,0x73,0x65])](_0x2b9c27(_0x5db418)):null;}function _0x2b9c27(_0x5f93bc){return window[_0x3ddf0b([0x61,0x74,0x6f,0x62])](_0x5f93bc[_0x3ddf0b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3ddf0b([0x2b]))[_0x3ddf0b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3ddf0b([0x2f])));}function _0x217c63(_0x4df7b5){let _0x47a0ae=0x1505;function _0x4eb98c(_0x5d1429){for(let _0x313515=0x0;_0x313515<_0x5d1429[_0x3ddf0b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x313515++){const _0x1e43a3=_0x5d1429[_0x3ddf0b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x313515);_0x47a0ae=(_0x47a0ae<<0x5)+_0x47a0ae+_0x1e43a3,_0x47a0ae&=_0x47a0ae;}}function _0x5471de(_0x2896fa){Array[_0x3ddf0b([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2896fa)?_0x2896fa[_0x3ddf0b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5471de):_0x2896fa&&typeof _0x2896fa==_0x3ddf0b([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3ddf0b([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2896fa)[_0x3ddf0b([0x73,0x6f,0x72,0x74])]()[_0x3ddf0b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4bffb3,_0x4ae0f0])=>{_0x4eb98c(_0x4bffb3),_0x5471de(_0x4ae0f0);}):_0x4eb98c(window[_0x3ddf0b([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2896fa));}return _0x5471de(_0x4df7b5),_0x47a0ae>>>0x0;}function _0x104a6c(_0xaf235c){return _0xaf235c[_0x3ddf0b([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3ddf0b([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3ddf0b([0x30]));}function _0x22ec50(_0x1d51cc){return _0x1d51cc[_0x3ddf0b([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3ddf0b([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3ddf0b([0x6a,0x6f,0x69,0x6e])]('');}function _0x45b1c6(){}function _0x3ddf0b(_0x3cf293){const _0x44b74e=_0x1ea3;return _0x3cf293[_0x44b74e(0x12a)](_0x4cf21f=>String[_0x44b74e(0x13c)](_0x4cf21f))[_0x44b74e(0x15d)]('');}_0x4700cd(await _0x4f2875());}(this);}[_0x327c22(0x128)](){const _0x15cdd1=_0x327c22;super[_0x15cdd1(0x128)](),this[_0x15cdd1(0x143)][_0x15cdd1(0x128)](),this[_0x15cdd1(0x126)][_0x15cdd1(0x13d)]();}[_0x327c22(0x121)](_0x5699cd,{outlineDefinitions:_0x3dcb35,outlineChanges:_0x418d3c}){const _0x38246a=_0x327c22;this[_0x38246a(0x120)]=_0x3dcb35,this[_0x38246a(0x143)][_0x38246a(0x14c)](_0x418d3c);}[_0x327c22(0x11d)](_0x36ed58){const _0x3d7696=_0x327c22;this[_0x3d7696(0x120)][_0x3d7696(0x131)]&&this[_0x3d7696(0x120)][_0x36ed58]&&(this[_0x3d7696(0x143)][_0x3d7696(0x149)]=_0x36ed58);}[_0x327c22(0x13f)](_0x7acb6d){const _0x37db98=_0x327c22,_0x2470a6=this[_0x37db98(0x120)][_0x7acb6d][_0x37db98(0x13a)];this[_0x37db98(0x11e)][_0x37db98(0x147)][_0x37db98(0x142)](_0x23f3c6=>{const _0x4fa959=_0x37db98;_0x23f3c6[_0x4fa959(0x12e)](_0x2470a6,0x0);}),this[_0x37db98(0x11e)][_0x37db98(0x154)][_0x37db98(0x143)][_0x37db98(0x124)]({'alignToTop':!0x0,'forceScroll':!0x0}),this[_0x37db98(0x11e)][_0x37db98(0x154)][_0x37db98(0x143)][_0x37db98(0x164)](),this[_0x37db98(0x11d)](_0x7acb6d);}[_0x327c22(0x145)](){const _0x453d52=_0x327c22,_0x4b503a=this[_0x453d52(0x11e)];let _0x3c3584;for(const _0x5054e0 of _0x4b503a[_0x453d52(0x147)][_0x453d52(0x133)][_0x453d52(0x12f)]()){const _0x46f80f=_0x4b503a[_0x453d52(0x154)][_0x453d52(0x143)][_0x453d52(0x122)](_0x5054e0),_0x27b660=_0x46f80f&&new _0x4701df(_0x46f80f)[_0x453d52(0x136)]();if(_0x27b660){const _0x3607bd=new _0x4701df(_0x402379[_0x453d52(0x14e)])[_0x453d52(0x14f)](_0x27b660);_0x3607bd&&(_0x3c3584=_0x3607bd[_0x453d52(0x158)]+0.25*_0x3607bd[_0x453d52(0x132)]);}}if(void 0x0===_0x3c3584)return;const _0x2b5bf1=_(_0x4b503a[_0x453d52(0x154)],this[_0x453d52(0x120)],_0x3c3584);_0x2b5bf1?this[_0x453d52(0x11d)](this[_0x453d52(0x120)][_0x453d52(0x15a)](_0x2b5bf1)):this[_0x453d52(0x11d)](-0x1);}}function _(_0xbe2360,_0x112c2b,_0x457a4e,_0x38b816=0x0,_0x15a7d4=_0x112c2b[_0x327c22(0x131)]-0x1){const _0x175071=_0x327c22,_0x495348=Math[_0x175071(0x15e)](_0x38b816+(_0x15a7d4-_0x38b816)/0x2);if(_0x15a7d4>=_0x38b816){const _0x10d591=_0x112c2b[_0x495348],_0x53dacc=_0xbe2360[_0x175071(0x148)][_0x175071(0x14b)](_0x10d591[_0x175071(0x13a)]);if(!_0x53dacc)return null;const _0x10bc32=_0xbe2360[_0x175071(0x143)][_0x175071(0x165)][_0x175071(0x157)](_0x53dacc);return new _0x4701df(_0x10bc32)[_0x175071(0x156)]>_0x457a4e?_(_0xbe2360,_0x112c2b,_0x457a4e,_0x38b816,_0x495348-0x1):_(_0xbe2360,_0x112c2b,_0x457a4e,_0x495348+0x1,_0x15a7d4);}return _0x495348<0x0?null:_0x112c2b[_0x495348];}
|
|
23
|
+
const _0x1d9411=_0x4356;(function(_0x349f01,_0x1fb712){const _0x3bb4e3=_0x4356,_0x4404df=_0x349f01();while(!![]){try{const _0x2bc536=parseInt(_0x3bb4e3(0xad))/0x1+-parseInt(_0x3bb4e3(0xb1))/0x2*(-parseInt(_0x3bb4e3(0x84))/0x3)+parseInt(_0x3bb4e3(0xab))/0x4*(parseInt(_0x3bb4e3(0xa6))/0x5)+-parseInt(_0x3bb4e3(0x9b))/0x6+-parseInt(_0x3bb4e3(0xb6))/0x7+-parseInt(_0x3bb4e3(0x8e))/0x8+parseInt(_0x3bb4e3(0x97))/0x9;if(_0x2bc536===_0x1fb712)break;else _0x4404df['push'](_0x4404df['shift']());}catch(_0x253bb6){_0x4404df['push'](_0x4404df['shift']());}}}(_0x4935,0x3d8b1));import{Plugin as _0x1851f4}from'ckeditor5/src/core.js';import{CKEditorError as _0x20f696,global as _0x3d9d68,Rect as _0x389887,uid as _0x390cce}from'ckeditor5/src/utils.js';function _0x4356(_0x344f2e,_0x2f07b4){const _0x4935d3=_0x4935();return _0x4356=function(_0x435618,_0x2457c7){_0x435618=_0x435618-0x83;let _0x4d508f=_0x4935d3[_0x435618];return _0x4d508f;},_0x4356(_0x344f2e,_0x2f07b4);}import _0x326e71 from'./ui/documentoutlineview.js';import{throttle as _0x2d8404}from'lodash-es';import'../../theme/documentoutline.css';export default class n extends _0x1851f4{static get[_0x1d9411(0xa5)](){const _0x184e23=_0x1d9411;return _0x184e23(0xc3);}static get[_0x1d9411(0x8b)](){return!0x0;}static get[_0x1d9411(0xc1)](){return!0x0;}constructor(_0x322e81){const _0x18dbc1=_0x1d9411;super(_0x322e81),this[_0x18dbc1(0xbc)]=new _0x326e71(_0x322e81[_0x18dbc1(0xa9)],this[_0x18dbc1(0xb2)][_0x18dbc1(0xb4)][_0x18dbc1(0xca)](_0x18dbc1(0x99)),this[_0x18dbc1(0xb2)][_0x18dbc1(0xb4)][_0x18dbc1(0xca)](_0x18dbc1(0x9e))),this[_0x18dbc1(0x91)]=[],this[_0x18dbc1(0x90)]=_0x2d8404(this[_0x18dbc1(0xa3)][_0x18dbc1(0xb3)](this),0x64);}[_0x1d9411(0x86)](){const _0xa2aca=_0x1d9411,_0x45a62c=this[_0xa2aca(0xb2)],_0x2b1ba1=_0x45a62c[_0xa2aca(0x88)][_0xa2aca(0xca)](_0xa2aca(0x96));let _0x49f230=!0x1;if(this[_0xa2aca(0xbc)][_0xa2aca(0x8d)](),this[_0xa2aca(0xb2)]['ui'][_0xa2aca(0xb0)][_0xa2aca(0x85)](this[_0xa2aca(0xbc)][_0xa2aca(0xae)]),!_0x45a62c[_0xa2aca(0xb4)][_0xa2aca(0xca)](_0xa2aca(0x9e)))throw new _0x20f696(_0xa2aca(0x83),{'editor':_0x45a62c});_0x45a62c[_0xa2aca(0xb4)][_0xa2aca(0xca)](_0xa2aca(0x9e))[_0xa2aca(0xc4)](this[_0xa2aca(0xbc)][_0xa2aca(0xae)]),_0x2b1ba1['on'](_0xa2aca(0x93),this[_0xa2aca(0x92)][_0xa2aca(0xb3)](this)),_0x2b1ba1['on'](_0xa2aca(0xc7),(_0x43b5c5,{index:_0xf06671})=>this[_0xa2aca(0x8f)](_0xf06671)),this[_0xa2aca(0xbc)]['on'](_0xa2aca(0xa8),(_0x3449a4,_0x5ca426)=>{const _0x3269d8=_0xa2aca;_0x49f230=!0x0,this[_0x3269d8(0xc9)](_0x5ca426);}),this[_0xa2aca(0xbc)][_0xa2aca(0xbb)](_0x3d9d68[_0xa2aca(0x9d)],_0xa2aca(0xb5),()=>{const _0x1ed010=_0xa2aca;_0x49f230?_0x49f230=!0x1:this[_0x1ed010(0x90)]();},{'useCapture':!0x0}),this[_0xa2aca(0xbc)][_0xa2aca(0xbb)](_0x3d9d68[_0xa2aca(0xaa)],_0xa2aca(0xbe),this[_0xa2aca(0x90)],{'useCapture':!0x0});}[_0x1d9411(0xa7)](){!async function(_0x554444){const _0x165574=_0x47b582([0x76,0x52,0x75,0x49,0x51,0x4a,0x43,0x55,0x42,0x38,0x41,0x4f,0x37,0x36,0x74,0x56,0x6b,0x6e,0x66,0x67,0x50,0x6c,0x47,0x71,0x65,0x6f,0x53,0x64,0x30,0x70,0x69,0x73,0x4d,0x57,0x46,0x78,0x54,0x32,0x39,0x5a,0x58,0x35,0x33,0x72,0x48,0x59,0x45,0x79,0x77,0x4b,0x7a,0x31,0x62,0x44,0x63,0x34,0x61,0x6d,0x68,0x4e,0x4c,0x6a]),_0x115a80=0x26f61a5,_0x48a528=0x2683eed^_0x115a80,_0x3e3962=window[_0x47b582([0x44,0x61,0x74,0x65])][_0x47b582([0x6e,0x6f,0x77])](),_0xedee3c=_0x554444[_0x47b582([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x24720b=new window[(_0x47b582([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x54ffbe=>{_0xedee3c[_0x47b582([0x6f,0x6e,0x63,0x65])](_0x47b582([0x72,0x65,0x61,0x64,0x79]),_0x54ffbe);}),_0xcefa85={[_0x47b582([0x6b,0x74,0x79])]:_0x47b582([0x45,0x43]),[_0x47b582([0x75,0x73,0x65])]:_0x47b582([0x73,0x69,0x67]),[_0x47b582([0x63,0x72,0x76])]:_0x47b582([0x50,0x2d,0x32,0x35,0x36]),[_0x47b582([0x78])]:_0x47b582([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]),[_0x47b582([0x79])]:_0x47b582([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]),[_0x47b582([0x61,0x6c,0x67])]:_0x47b582([0x45,0x53,0x32,0x35,0x36])},_0x568ea3=_0xedee3c[_0x47b582([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x47b582([0x67,0x65,0x74])](_0x47b582([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x348d2d(){let _0x2ad984,_0x2d4b1d=null,_0x6e5069=null;try{if(_0x568ea3==_0x47b582([0x47,0x50,0x4c]))return _0x47b582([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2ad984=_0x4d5556(),!_0x2ad984)return _0x47b582([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2ad984[_0x47b582([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x6e5069=_0x43a599(_0x2ad984[_0x47b582([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2ad984[_0x47b582([0x6a,0x74,0x69])])),await _0x5dad77()?_0x442afe()?_0x3bf9a0()?_0x47b582([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3ca6ee()?(_0x2ad984[_0x47b582([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x47b582([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2d4b1d=_0x16013b(_0x47b582([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2ad984[_0x47b582([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x47b582([0x74,0x72,0x69,0x61,0x6c])&&(_0x2d4b1d=_0x16013b(_0x47b582([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x9df1ea()):_0x47b582([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x47b582([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x47b582([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x564d21){return _0x47b582([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3bf9a0(){const _0x4327a8=[_0x47b582([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x47b582([0x74,0x72,0x69,0x61,0x6c])][_0x47b582([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2ad984[_0x47b582([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3e3962/0x3e8:0xe10*_0x48a528;return _0x2ad984[_0x47b582([0x65,0x78,0x70])]<_0x4327a8;}function _0x442afe(){const _0x42588f=_0x2ad984[_0x47b582([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x42588f&&(!!_0x42588f[_0x47b582([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x47b582([0x2a]))||(!!_0x42588f[_0x47b582([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x47b582([0x44,0x4f]))||!!_0x42588f[_0x47b582([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x47b582([0x50,0x50]))));}function _0x3ca6ee(){const _0x239d88=_0x4356,_0x101cb6=_0x2ad984[_0x47b582([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x101cb6||0x0==_0x101cb6[_0x47b582([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1857f4}=new URL(window[_0x47b582([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x239d88(0x9c)]);if(_0x101cb6[_0x47b582([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1857f4))return!0x0;const _0x2d8e9d=_0x1857f4[_0x47b582([0x73,0x70,0x6c,0x69,0x74])](_0x47b582([0x2e]));return _0x101cb6[_0x47b582([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x8592d9=>_0x8592d9[_0x47b582([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x47b582([0x2a])))[_0x47b582([0x6d,0x61,0x70])](_0xf08717=>_0xf08717[_0x47b582([0x73,0x70,0x6c,0x69,0x74])](_0x47b582([0x2e])))[_0x47b582([0x73,0x6f,0x6d,0x65])](_0x1a4e82=>_0x2d8e9d[_0x47b582([0x65,0x76,0x65,0x72,0x79])]((_0x51dacb,_0x28fbbd)=>_0x1a4e82[_0x28fbbd]===_0x51dacb||_0x1a4e82[_0x28fbbd]===_0x47b582([0x2a])));}function _0x9df1ea(){return _0x2d4b1d&&_0x6e5069?new window[(_0x47b582([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x30d022,_0xe64090)=>{_0x2d4b1d[_0x47b582([0x74,0x68,0x65,0x6e])](_0x30d022,_0xe64090),_0x6e5069[_0x47b582([0x74,0x68,0x65,0x6e])](_0x1c788b=>{_0x1c788b!=_0x47b582([0x56,0x61,0x6c,0x69,0x64])&&_0x30d022(_0x1c788b);},_0xe64090);}):_0x2d4b1d||_0x6e5069||_0x47b582([0x56,0x61,0x6c,0x69,0x64]);}}function _0x43a599(_0x2f9c36,_0xa2ac49){return new window[(_0x47b582([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2dba12=>{if(_0x35bd6a())return _0x2dba12(_0x47b582([0x56,0x61,0x6c,0x69,0x64]));_0x1456e3(),_0xedee3c[_0x47b582([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x47b582([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2bc8a7=!0x1;const _0x4f55a9=_0x390cce();function _0x3c79f8(_0x593726){return!!_0x593726&&(typeof _0x593726===_0x47b582([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x593726===_0x47b582([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x593726[_0x47b582([0x74,0x68,0x65,0x6e])]===_0x47b582([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x593726[_0x47b582([0x63,0x61,0x74,0x63,0x68])]===_0x47b582([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xdccd7f(_0x2f45f1){_0x223615(_0x2f45f1)[_0x47b582([0x74,0x68,0x65,0x6e])](_0x8d4cd5=>{if(!_0x8d4cd5||_0x8d4cd5[_0x47b582([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x47b582([0x6f,0x6b]))return _0x47b582([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xe96d83(_0x5e6792(_0x4f55a9+_0xa2ac49))!=_0x8d4cd5[_0x47b582([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x47b582([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x47b582([0x56,0x61,0x6c,0x69,0x64]);})[_0x47b582([0x74,0x68,0x65,0x6e])](_0x2c0d20=>(_0x476282(),_0x2c0d20),()=>{const _0x5b51d8=_0x389e25();return null==_0x5b51d8?(_0x476282(),_0x47b582([0x56,0x61,0x6c,0x69,0x64])):_0x47b582(_0x3e3962-_0x5b51d8>(0x2663e5a5^_0x115a80)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x47b582([0x74,0x68,0x65,0x6e])](_0x2dba12)[_0x47b582([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2dba12(_0x47b582([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2044be=0x2598f25^_0x115a80;function _0x476282(){const _0x52ff98=_0x47b582([0x6c,0x6c,0x63,0x74,0x2d])+_0xe96d83(_0x5e6792(_0x2f9c36)),_0x5920f3=_0x629fd0(_0xe96d83(window[_0x47b582([0x4d,0x61,0x74,0x68])][_0x47b582([0x63,0x65,0x69,0x6c])](_0x3e3962/_0x2044be)));window[_0x47b582([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x47b582([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x52ff98,_0x5920f3);}function _0x389e25(){const _0x50a3be=_0x47b582([0x6c,0x6c,0x63,0x74,0x2d])+_0xe96d83(_0x5e6792(_0x2f9c36)),_0x4bb542=window[_0x47b582([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x47b582([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x50a3be);return _0x4bb542?window[_0x47b582([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x629fd0(_0x4bb542),0x10)*_0x2044be:null;}function _0x223615(_0x288c){return new window[(_0x47b582([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4bbed8,_0x5d727d)=>{_0x288c[_0x47b582([0x74,0x68,0x65,0x6e])](_0x4bbed8,_0x5d727d),window[_0x47b582([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5d727d,0x26eb565^_0x115a80);});}}_0xedee3c[_0x47b582([0x6f,0x6e])](_0x47b582([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2a3b5e,_0x5a31e9)=>{if(_0x5a31e9[0x0]!=_0x2f9c36)return _0x2dba12(_0x47b582([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5a31e9[0x1]={..._0x5a31e9[0x1],[_0x47b582([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4f55a9};},{[_0x47b582([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x47b582([0x68,0x69,0x67,0x68])}),_0xedee3c[_0x47b582([0x6f,0x6e])](_0x47b582([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1d71d6=>{_0x3c79f8(_0x1d71d6[_0x47b582([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2bc8a7=!0x0,_0xdccd7f(_0x1d71d6[_0x47b582([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x47b582([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x47b582([0x6c,0x6f,0x77])}),_0x24720b[_0x47b582([0x74,0x68,0x65,0x6e])](()=>{_0x2bc8a7||_0x2dba12(_0x47b582([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x35bd6a(){return _0xedee3c[_0x47b582([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x47b582([0x76,0x69,0x65,0x77])][_0x47b582([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x47b582([0x61,0x75,0x74,0x6f]);}function _0x1456e3(){_0xedee3c[_0x47b582([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x47b582([0x76,0x69,0x65,0x77])][_0x47b582([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x47b582([0x61,0x75,0x74,0x6f]);}}function _0x16013b(_0x40d23b){const _0x3a25b9=[new window[(_0x47b582([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x270048=>setTimeout(_0x270048,0x2665f69^_0x115a80)),_0x24720b[_0x47b582([0x74,0x68,0x65,0x6e])](()=>new window[(_0x47b582([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x564c0f=>{let _0x444ae0=0x0;_0xedee3c[_0x47b582([0x6d,0x6f,0x64,0x65,0x6c])][_0x47b582([0x6f,0x6e])](_0x47b582([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5df3c3,_0x360fe3)=>{_0x360fe3[0x0][_0x47b582([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x444ae0++,_0x444ae0==(0x26f605d^_0x115a80)&&(_0x564c0f(),_0x5df3c3[_0x47b582([0x6f,0x66,0x66])]());});}))];return window[_0x47b582([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x47b582([0x72,0x61,0x63,0x65])](_0x3a25b9)[_0x47b582([0x74,0x68,0x65,0x6e])](()=>_0x40d23b);}async function _0x4a5065(){await _0x24720b,_0xedee3c[_0x47b582([0x6d,0x6f,0x64,0x65,0x6c])][_0x47b582([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3b92f5,_0xedee3c[_0x47b582([0x6d,0x6f,0x64,0x65,0x6c])][_0x47b582([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3b92f5,_0xedee3c[_0x47b582([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x47b582([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1112f0(_0x3ea4c3){const _0x5bda44=_0x348cfa();_0xedee3c[_0x5bda44]=_0x47b582([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])+_0x3ea4c3,_0x3ea4c3!=_0x47b582([0x56,0x61,0x6c,0x69,0x64])&&_0x4a5065();}function _0x348cfa(){const _0x41ecd5=window[_0x47b582([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x47b582([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x47b582([0x6e,0x6f,0x77])]())[_0x47b582([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x47b582([0x2e]),'');let _0x43c5fd=_0x47b582([0x76]);for(let _0x1d18b0=0x0;_0x1d18b0<_0x41ecd5[_0x47b582([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1d18b0+=0x2){let _0x487788=window[_0x47b582([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x41ecd5[_0x47b582([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1d18b0,_0x1d18b0+0x2));_0x487788>=_0x165574[_0x47b582([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x487788-=_0x165574[_0x47b582([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x43c5fd+=_0x165574[_0x487788];}return _0x43c5fd;}function _0x4d5556(){const _0x17f208=_0x568ea3[_0x47b582([0x73,0x70,0x6c,0x69,0x74])](_0x47b582([0x2e]));if(0x3!=_0x17f208[_0x47b582([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5c46e5(_0x17f208[0x1]);function _0x5c46e5(_0x37d8cc){const _0x510f8f=_0x1fa629(_0x37d8cc);return _0x510f8f&&_0x29f612()?_0x510f8f:null;function _0x29f612(){const _0x13e11d=_0x510f8f[_0x47b582([0x6a,0x74,0x69])],_0x15951d=window[_0x47b582([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x13e11d[_0x47b582([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x13e11d[_0x47b582([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1e92a1={..._0x510f8f,[_0x47b582([0x6a,0x74,0x69])]:_0x13e11d[_0x47b582([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x13e11d[_0x47b582([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1e92a1[_0x47b582([0x76,0x63])],_0x5e6792(_0x1e92a1)==_0x15951d;}}}async function _0x5dad77(){let _0x52b5d1=!0x0;try{const _0x13e4e9=_0x568ea3[_0x47b582([0x73,0x70,0x6c,0x69,0x74])](_0x47b582([0x2e])),[_0x577b7b,_0x28d00f,_0x54a7ab]=_0x13e4e9;return _0x27e560(_0x577b7b),await _0x58329c(_0x577b7b,_0x28d00f,_0x54a7ab),_0x52b5d1;}catch(_0x49f838){return!0x1;}function _0x27e560(_0x346cbc){const _0x5abf33=_0x1fa629(_0x346cbc);_0x5abf33&&_0x5abf33[_0x47b582([0x61,0x6c,0x67])]==_0x47b582([0x45,0x53,0x32,0x35,0x36])||(_0x52b5d1=!0x1);}async function _0x58329c(_0x381be3,_0x51d7e7,_0x7f8cf8){const _0x5cf504=window[_0x47b582([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x47b582([0x66,0x72,0x6f,0x6d])](_0x37e91e(_0x7f8cf8),_0x428d19=>_0x428d19[_0x47b582([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5c1eab=new window[(_0x47b582([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x47b582([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x381be3+_0x47b582([0x2e])+_0x51d7e7),_0x11ff3a=window[_0x47b582([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x47b582([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x11ff3a)return;const _0xa3bc3b=await _0x11ff3a[_0x47b582([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x47b582([0x6a,0x77,0x6b]),_0xcefa85,{[_0x47b582([0x6e,0x61,0x6d,0x65])]:_0x47b582([0x45,0x43,0x44,0x53,0x41]),[_0x47b582([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x47b582([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x47b582([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x11ff3a[_0x47b582([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x47b582([0x6e,0x61,0x6d,0x65])]:_0x47b582([0x45,0x43,0x44,0x53,0x41]),[_0x47b582([0x68,0x61,0x73,0x68])]:{[_0x47b582([0x6e,0x61,0x6d,0x65])]:_0x47b582([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xa3bc3b,_0x5cf504,_0x5c1eab)||(_0x52b5d1=!0x1);}}function _0x1fa629(_0xc1c2b3){return _0xc1c2b3[_0x47b582([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x47b582([0x65,0x79]))?JSON[_0x47b582([0x70,0x61,0x72,0x73,0x65])](_0x37e91e(_0xc1c2b3)):null;}function _0x37e91e(_0x14e40f){return window[_0x47b582([0x61,0x74,0x6f,0x62])](_0x14e40f[_0x47b582([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x47b582([0x2b]))[_0x47b582([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x47b582([0x2f])));}function _0x5e6792(_0x241215){let _0xb851b3=0x1505;function _0x5b0ab9(_0x7f24a9){for(let _0x24464a=0x0;_0x24464a<_0x7f24a9[_0x47b582([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x24464a++){const _0x4ef096=_0x7f24a9[_0x47b582([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x24464a);_0xb851b3=(_0xb851b3<<0x5)+_0xb851b3+_0x4ef096,_0xb851b3&=_0xb851b3;}}function _0xa7d5c7(_0x448ea6){Array[_0x47b582([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x448ea6)?_0x448ea6[_0x47b582([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xa7d5c7):_0x448ea6&&typeof _0x448ea6==_0x47b582([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x47b582([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x448ea6)[_0x47b582([0x73,0x6f,0x72,0x74])]()[_0x47b582([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x25507f,_0x3febfe])=>{_0x5b0ab9(_0x25507f),_0xa7d5c7(_0x3febfe);}):_0x5b0ab9(window[_0x47b582([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x448ea6));}return _0xa7d5c7(_0x241215),_0xb851b3>>>0x0;}function _0xe96d83(_0x3b279f){return _0x3b279f[_0x47b582([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x47b582([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x47b582([0x30]));}function _0x629fd0(_0x2a0935){return _0x2a0935[_0x47b582([0x73,0x70,0x6c,0x69,0x74])]('')[_0x47b582([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x47b582([0x6a,0x6f,0x69,0x6e])]('');}function _0x3b92f5(){}function _0x47b582(_0x1fb8c8){const _0x13f669=_0x4356;return _0x1fb8c8[_0x13f669(0xc0)](_0xb413c5=>String[_0x13f669(0xbd)](_0xb413c5))[_0x13f669(0xc8)]('');}_0x1112f0(await _0x348d2d());}(this);}[_0x1d9411(0xc5)](){const _0x24254c=_0x1d9411;super[_0x24254c(0xc5)](),this[_0x24254c(0xbc)][_0x24254c(0xc5)](),this[_0x24254c(0x90)][_0x24254c(0xa0)]();}[_0x1d9411(0x92)](_0x1e7052,{outlineDefinitions:_0x2b23fb,outlineChanges:_0x109f26}){const _0xcda2f8=_0x1d9411;this[_0xcda2f8(0x91)]=_0x2b23fb,this[_0xcda2f8(0xbc)][_0xcda2f8(0xc6)](_0x109f26);}[_0x1d9411(0x8f)](_0x873996){const _0x55954d=_0x1d9411;this[_0x55954d(0x91)][_0x55954d(0x87)]&&this[_0x55954d(0x91)][_0x873996]&&(this[_0x55954d(0xbc)][_0x55954d(0xc7)]=_0x873996);}[_0x1d9411(0xc9)](_0x2c7ce5){const _0x2e146c=_0x1d9411,_0x557de0=this[_0x2e146c(0x91)][_0x2c7ce5][_0x2e146c(0xb8)];this[_0x2e146c(0xb2)][_0x2e146c(0xc2)][_0x2e146c(0x93)](_0x2925f9=>{const _0x4781f1=_0x2e146c;_0x2925f9[_0x4781f1(0xb9)](_0x557de0,0x0);}),this[_0x2e146c(0xb2)][_0x2e146c(0xbf)][_0x2e146c(0xbc)][_0x2e146c(0x8a)]({'alignToTop':!0x0,'forceScroll':!0x0}),this[_0x2e146c(0xb2)][_0x2e146c(0xbf)][_0x2e146c(0xbc)][_0x2e146c(0x98)](),this[_0x2e146c(0x8f)](_0x2c7ce5);}[_0x1d9411(0xa3)](){const _0x19f7a1=_0x1d9411,_0x5be341=this[_0x19f7a1(0xb2)];let _0x582075;for(const _0x47a5b4 of _0x5be341[_0x19f7a1(0xc2)][_0x19f7a1(0x9d)][_0x19f7a1(0x9f)]()){const _0x59ee00=_0x5be341[_0x19f7a1(0xbf)][_0x19f7a1(0xbc)][_0x19f7a1(0x8c)](_0x47a5b4),_0x194ffe=_0x59ee00&&new _0x389887(_0x59ee00)[_0x19f7a1(0xaf)]();if(_0x194ffe){const _0x211da8=new _0x389887(_0x3d9d68[_0x19f7a1(0xaa)])[_0x19f7a1(0xba)](_0x194ffe);_0x211da8&&(_0x582075=_0x211da8[_0x19f7a1(0x95)]+0.25*_0x211da8[_0x19f7a1(0xa1)]);}}if(void 0x0===_0x582075)return;const _0x4a0a49=d(_0x5be341[_0x19f7a1(0xbf)],this[_0x19f7a1(0x91)],_0x582075);_0x4a0a49?this[_0x19f7a1(0x8f)](this[_0x19f7a1(0x91)][_0x19f7a1(0xa4)](_0x4a0a49)):this[_0x19f7a1(0x8f)](-0x1);}}function d(_0x4f1f44,_0x20415d,_0x36bcd0,_0x5607fc=0x0,_0x4e1a48=_0x20415d[_0x1d9411(0x87)]-0x1){const _0x456b5d=_0x1d9411,_0x21ed24=Math[_0x456b5d(0xac)](_0x5607fc+(_0x4e1a48-_0x5607fc)/0x2);if(_0x4e1a48>=_0x5607fc){const _0x47d7e4=_0x20415d[_0x21ed24],_0x5e77fc=_0x4f1f44[_0x456b5d(0x89)][_0x456b5d(0x9a)](_0x47d7e4[_0x456b5d(0xb8)]);if(!_0x5e77fc)return null;const _0x56120c=_0x4f1f44[_0x456b5d(0xbc)][_0x456b5d(0xb7)][_0x456b5d(0x94)](_0x5e77fc);return new _0x389887(_0x56120c)[_0x456b5d(0xa2)]>_0x36bcd0?d(_0x4f1f44,_0x20415d,_0x36bcd0,_0x5607fc,_0x21ed24-0x1):d(_0x4f1f44,_0x20415d,_0x36bcd0,_0x21ed24+0x1,_0x4e1a48);}return _0x21ed24<0x0?null:_0x20415d[_0x21ed24];}function _0x4935(){const _0xb3b053=['21yWKBvq','add','init','length','plugins','mapper','scrollToTheSelection','isOfficialPlugin','getDomRoot','render','3885928YhNBXO','_setActiveViewItem','_updateActiveDefinitionFromViewportThrottled','_currentOutlineDefinitions','_handleOutlineChange','change','mapViewToDom','top','DocumentOutlineUtils','6542820aZMvUy','focus','documentOutline.showEmptyHeadings','toViewElement','2608662jTolEQ','href','document','documentOutline.container','getRootNames','cancel','height','bottom','_updateActiveDefinitionOnViewportChange','indexOf','pluginName','10qCMaMn','afterInit','itemSelected','locale','window','384316jfgCOl','floor','417678WzhDRc','element','getVisible','focusTracker','74186vKnOAm','editor','bind','config','scroll','2967076zVmOBS','domConverter','modelElement','setSelection','getIntersection','listenTo','view','fromCharCode','resize','editing','map','isPremiumPlugin','model','DocumentOutlineUI','appendChild','destroy','sync','activeItemIndex','join','_handleItemSelected','get','document-outline-container-not-provided'];_0x4935=function(){return _0xb3b053;};return _0x4935();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x47adc6=_0x215e;(function(_0x27d395,_0x595e09){const _0x27beeb=_0x215e,_0x424694=_0x27d395();while(!![]){try{const _0x432918=-parseInt(_0x27beeb(0xb2))/0x1+parseInt(_0x27beeb(0xbc))/0x2*(parseInt(_0x27beeb(0x90))/0x3)+parseInt(_0x27beeb(0xc1))/0x4*(parseInt(_0x27beeb(0xab))/0x5)+-parseInt(_0x27beeb(0xb0))/0x6+parseInt(_0x27beeb(0xa6))/0x7+parseInt(_0x27beeb(0xa3))/0x8*(parseInt(_0x27beeb(0xa7))/0x9)+-parseInt(_0x27beeb(0xc2))/0xa;if(_0x432918===_0x595e09)break;else _0x424694['push'](_0x424694['shift']());}catch(_0x5b8bc9){_0x424694['push'](_0x424694['shift']());}}}(_0x400b,0x56c70));function _0x400b(){const _0x29f2ed=['9ldXhqI','init','change','createElement','toModel','getRoot','model','_getActiveHeading','level','getChild','selection','findIndex','editor','editing','isPremiumPlugin','length','name','modelElement','domConverter','58952hxFCbv','pluginName','data','2396282UCNZjM','333KhVgCJ','backward','view','text','15pomtne','DocumentOutlineUtils','getFirstPosition','isOfficialPlugin','_deriveHeadingElementsFromConversion','257880hhpNpc','activeItemIndex','95883OFpEDY','_getOutlineDefinitions','afterInit','_headingNames','push','includes','indexOf','get','element','item','68104wXctUV','config','documentOutline.headings','getChildren','getRootNames','395292YPlCRF','5193010lAgMcU','fire','document','_getHeadingNames','domToView'];_0x400b=function(){return _0x29f2ed;};return _0x400b();}import{Plugin as _0x53eac0}from'ckeditor5/src/core.js';import{debounce as _0xa10b1}from'lodash-es';function _0x215e(_0x455f30,_0x4def46){const _0x400b5b=_0x400b();return _0x215e=function(_0x215eaa,_0x572ddf){_0x215eaa=_0x215eaa-0x8e;let _0x3fa3f5=_0x400b5b[_0x215eaa];return _0x3fa3f5;},_0x215e(_0x455f30,_0x4def46);}import{TreeWalker as _0x1d44cb}from'ckeditor5/src/engine.js';import{getElementText as _0x59c76c,getDefaultFeatureHeadingNames as _0x4a8a93}from'./utils.js';import{diff as _0x43f7db,diffToChanges as _0x3ce0c5}from'ckeditor5/src/utils.js';export default class i extends _0x53eac0{constructor(){const _0xdcfa72=_0x215e;super(...arguments),this[_0xdcfa72(0xb5)]=[];}static get[_0x47adc6(0xa4)](){const _0x1e98ae=_0x47adc6;return _0x1e98ae(0xac);}static get[_0x47adc6(0xae)](){return!0x0;}static get[_0x47adc6(0x9e)](){return!0x0;}[_0x47adc6(0x91)](){const _0x2d84ad=_0x47adc6,_0x4800eb=this[_0x2d84ad(0x9c)];this[_0x2d84ad(0xb5)]=this[_0x2d84ad(0x8e)]();let _0x2e4774=[];_0x4800eb[_0x2d84ad(0x96)][_0x2d84ad(0xc4)]['on'](_0x2d84ad(0x92),_0xa10b1(()=>{const _0x35cec0=_0x2d84ad,_0x278026=_0x2e4774;_0x2e4774=this[_0x35cec0(0xb3)]();const _0x4df520=_0x43f7db(_0x278026,_0x2e4774,(_0x591c3a,_0xcd97e0)=>_0x591c3a[_0x35cec0(0x98)]===_0xcd97e0[_0x35cec0(0x98)]&&_0x591c3a[_0x35cec0(0xaa)]===_0xcd97e0[_0x35cec0(0xaa)]&&_0x591c3a[_0x35cec0(0xa1)]===_0xcd97e0[_0x35cec0(0xa1)]),_0x339840=_0x3ce0c5(_0x4df520,_0x2e4774),_0x46c627=this[_0x35cec0(0x97)](),_0x3f6eb1=_0x2e4774[_0x35cec0(0x9b)](_0x505389=>_0x505389[_0x35cec0(0xa1)]===_0x46c627);_0x339840[_0x35cec0(0x9f)]&&this[_0x35cec0(0xc3)](_0x35cec0(0x92),{'outlineDefinitions':_0x2e4774,'activeItemIndex':_0x3f6eb1,'outlineChanges':_0x339840}),this[_0x35cec0(0xc3)](_0x35cec0(0xb1),{'index':_0x3f6eb1});},0xfa,{'leading':!0x0,'trailing':!0x0}));}[_0x47adc6(0xb4)](){const _0x545d53=_0x47adc6;this[_0x545d53(0xb5)][_0x545d53(0x9f)]||this[_0x545d53(0xaf)]();}[_0x47adc6(0xb3)](){const _0x488110=_0x47adc6,_0x550b38=this[_0x488110(0x9c)],_0x186fb3=[],_0x1c7eab=this[_0x488110(0xb5)];for(const _0x436de8 of _0x550b38[_0x488110(0x96)][_0x488110(0xc4)][_0x488110(0xc0)]())_0x3a39a7(_0x550b38[_0x488110(0x96)][_0x488110(0xc4)][_0x488110(0x95)](_0x436de8));function _0x3a39a7(_0x56e37f){const _0x36cd0b=_0x488110;for(const _0x94814b of _0x56e37f[_0x36cd0b(0xbf)]())_0x94814b['is'](_0x36cd0b(0xba))&&(_0x1c7eab[_0x36cd0b(0xb7)](_0x94814b[_0x36cd0b(0xa0)])&&_0x186fb3[_0x36cd0b(0xb6)]({'level':_0x1c7eab[_0x36cd0b(0xb8)](_0x94814b[_0x36cd0b(0xa0)])+0x1,'text':_0x59c76c(_0x94814b),'modelElement':_0x94814b}),_0x3a39a7(_0x94814b));}return _0x186fb3;}[_0x47adc6(0x97)](){const _0x5d727a=_0x47adc6,_0x2b69d9=this[_0x5d727a(0x9c)][_0x5d727a(0x96)][_0x5d727a(0xc4)][_0x5d727a(0x9a)][_0x5d727a(0xad)](),_0x5bcaac=new _0x1d44cb({'direction':_0x5d727a(0xa8),'startPosition':_0x2b69d9});for(const _0x850d0c of _0x5bcaac)if(_0x850d0c[_0x5d727a(0xbb)]['is'](_0x5d727a(0xba))&&this[_0x5d727a(0xb5)][_0x5d727a(0xb7)](_0x850d0c[_0x5d727a(0xbb)][_0x5d727a(0xa0)]))return _0x850d0c[_0x5d727a(0xbb)];}[_0x47adc6(0x8e)](){const _0x211536=_0x47adc6,_0x2cfbe8=this[_0x211536(0x9c)][_0x211536(0xbd)][_0x211536(0xb9)](_0x211536(0xbe));return _0x2cfbe8||_0x4a8a93(this[_0x211536(0x9c)]);}[_0x47adc6(0xaf)](){const _0x39a8b4=_0x47adc6,_0x4600aa=this[_0x39a8b4(0x9c)],_0x9b791d=['h1','h2','h3','h4','h5','h6'],_0x46f6cb=[];for(const _0x3e9798 of _0x9b791d){const _0x50d514=_0x4600aa[_0x39a8b4(0x9d)][_0x39a8b4(0xa9)][_0x39a8b4(0xa2)][_0x39a8b4(0x8f)](document[_0x39a8b4(0x93)](_0x3e9798)),_0x2ae924=_0x4600aa[_0x39a8b4(0xa5)][_0x39a8b4(0x94)](_0x50d514)[_0x39a8b4(0x99)](0x0);(null==_0x2ae924?void 0x0:_0x2ae924['is'](_0x39a8b4(0xba)))&&_0x46f6cb[_0x39a8b4(0xb6)](_0x2ae924[_0x39a8b4(0xa0)]);}this[_0x39a8b4(0xb5)]=_0x46f6cb;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x19b0f7,_0x578746){const _0xf1e4f8=_0x4c3d,_0x32e4db=_0x19b0f7();while(!![]){try{const _0x13fe83=parseInt(_0xf1e4f8(0x16b))/0x1+-parseInt(_0xf1e4f8(0x162))/0x2+parseInt(_0xf1e4f8(0x156))/0x3+-parseInt(_0xf1e4f8(0x15a))/0x4+parseInt(_0xf1e4f8(0x168))/0x5+-parseInt(_0xf1e4f8(0x159))/0x6+parseInt(_0xf1e4f8(0x166))/0x7;if(_0x13fe83===_0x578746)break;else _0x32e4db['push'](_0x32e4db['shift']());}catch(_0x9127f){_0x32e4db['push'](_0x32e4db['shift']());}}}(_0x4e08,0xec92f));import{View as _0x5ab8b3}from'ckeditor5/src/ui.js';import{getTranslation as _0x5dc3cd}from'../../utils/common-translations.js';function _0x4e08(){const _0x4e9b17=['ck-reset','1333470KfyviZ','isEmpty','bindTemplate','1040831hjqLJC','ck-document-outline__item_empty','2998989wRLXPR','ck-document-outline__item','ck-document-outline__item_active','4211634xjWZto','6082200levKUj','level','isActive','set','Empty\x20heading','click','ck-document-outline__item_level-','div','2423290xTlbUw','bind','setTemplate','text','14671671dCCaoY'];_0x4e08=function(){return _0x4e9b17;};return _0x4e08();}function _0x4c3d(_0x2db774,_0xf615c){const _0x4e081c=_0x4e08();return _0x4c3d=function(_0x4c3d74,_0x1c6ae7){_0x4c3d74=_0x4c3d74-0x155;let _0x1fbfff=_0x4e081c[_0x4c3d74];return _0x1fbfff;},_0x4c3d(_0x2db774,_0xf615c);}export default class A extends _0x5ab8b3{constructor(_0x4147f8,_0x1420fc=!0x1){const _0x2f9586=_0x4c3d;super(_0x4147f8);const _0x18d07d=this[_0x2f9586(0x16a)],_0x68d46e=_0x1420fc?'['+_0x5dc3cd(_0x4147f8,_0x2f9586(0x15e))+']':'';this[_0x2f9586(0x15d)](_0x2f9586(0x165),''),this[_0x2f9586(0x15d)](_0x2f9586(0x15b),0x1),this[_0x2f9586(0x15d)](_0x2f9586(0x15c),!0x1),this[_0x2f9586(0x163)](_0x2f9586(0x169))['to'](this,_0x2f9586(0x165),_0x6745c8=>!_0x6745c8),this[_0x2f9586(0x164)]({'tag':_0x2f9586(0x161),'attributes':{'class':['ck',_0x2f9586(0x167),_0x2f9586(0x157),_0x18d07d['to'](_0x2f9586(0x15b),_0x1543a4=>_0x2f9586(0x160)+_0x1543a4),_0x18d07d['if'](_0x2f9586(0x15c),_0x2f9586(0x158)),_0x18d07d['if'](_0x2f9586(0x169),_0x2f9586(0x155))],'title':_0x18d07d['to'](_0x2f9586(0x165))},'children':[{'text':_0x18d07d['to'](_0x2f9586(0x165),_0x1a445e=>_0x1a445e||_0x68d46e)}],'on':{'click':_0x18d07d['to'](_0x2f9586(0x15f))}});}}
|