@ckeditor/ckeditor5-document-outline 48.8.1-alpha.3 → 49.0.0-alpha.0

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.
Files changed (167) hide show
  1. package/LICENSE.md +1 -1
  2. package/dist/augmentation.d.ts +31 -31
  3. package/dist/documentoutline/documentoutlineui.d.ts +42 -43
  4. package/dist/documentoutline/documentoutlineutils.d.ts +58 -60
  5. package/dist/documentoutline/ui/documentoutlineitemview.d.ts +43 -43
  6. package/dist/documentoutline/ui/documentoutlineview.d.ts +49 -49
  7. package/dist/documentoutline/utils.d.ts +11 -11
  8. package/dist/documentoutline.d.ts +91 -91
  9. package/dist/index-content.css +33 -31
  10. package/dist/index-editor.css +143 -132
  11. package/dist/index.css +157 -138
  12. package/dist/index.d.ts +16 -14
  13. package/dist/index.js +1 -1
  14. package/dist/legacyerrors.d.ts +0 -4
  15. package/dist/tableofcontents/headingid.d.ts +22 -22
  16. package/dist/tableofcontents/tableofcontentscommand.d.ts +17 -17
  17. package/dist/tableofcontents/tableofcontentsediting.d.ts +39 -40
  18. package/dist/tableofcontents/tableofcontentsui.d.ts +23 -23
  19. package/dist/tableofcontents.d.ts +68 -68
  20. package/dist/translations/af.js +1 -1
  21. package/dist/translations/af.umd.js +1 -1
  22. package/dist/translations/ar.js +1 -1
  23. package/dist/translations/ar.umd.js +1 -1
  24. package/dist/translations/ast.js +1 -1
  25. package/dist/translations/ast.umd.js +1 -1
  26. package/dist/translations/az.js +1 -1
  27. package/dist/translations/az.umd.js +1 -1
  28. package/dist/translations/be.js +1 -1
  29. package/dist/translations/be.umd.js +1 -1
  30. package/dist/translations/bg.js +1 -1
  31. package/dist/translations/bg.umd.js +1 -1
  32. package/dist/translations/bn.js +1 -1
  33. package/dist/translations/bn.umd.js +1 -1
  34. package/dist/translations/bs.js +1 -1
  35. package/dist/translations/bs.umd.js +1 -1
  36. package/dist/translations/ca.js +1 -1
  37. package/dist/translations/ca.umd.js +1 -1
  38. package/dist/translations/cs.js +1 -1
  39. package/dist/translations/cs.umd.js +1 -1
  40. package/dist/translations/da.js +1 -1
  41. package/dist/translations/da.umd.js +1 -1
  42. package/dist/translations/de-ch.js +1 -1
  43. package/dist/translations/de-ch.umd.js +1 -1
  44. package/dist/translations/de.js +1 -1
  45. package/dist/translations/de.umd.js +1 -1
  46. package/dist/translations/el.js +1 -1
  47. package/dist/translations/el.umd.js +1 -1
  48. package/dist/translations/en-au.js +1 -1
  49. package/dist/translations/en-au.umd.js +1 -1
  50. package/dist/translations/en-gb.js +1 -1
  51. package/dist/translations/en-gb.umd.js +1 -1
  52. package/dist/translations/en.js +1 -1
  53. package/dist/translations/en.umd.js +1 -1
  54. package/dist/translations/eo.js +1 -1
  55. package/dist/translations/eo.umd.js +1 -1
  56. package/dist/translations/es-co.js +1 -1
  57. package/dist/translations/es-co.umd.js +1 -1
  58. package/dist/translations/es.js +1 -1
  59. package/dist/translations/es.umd.js +1 -1
  60. package/dist/translations/et.js +1 -1
  61. package/dist/translations/et.umd.js +1 -1
  62. package/dist/translations/eu.js +1 -1
  63. package/dist/translations/eu.umd.js +1 -1
  64. package/dist/translations/fa.js +1 -1
  65. package/dist/translations/fa.umd.js +1 -1
  66. package/dist/translations/fi.js +1 -1
  67. package/dist/translations/fi.umd.js +1 -1
  68. package/dist/translations/fr.js +1 -1
  69. package/dist/translations/fr.umd.js +1 -1
  70. package/dist/translations/gl.js +1 -1
  71. package/dist/translations/gl.umd.js +1 -1
  72. package/dist/translations/gu.js +1 -1
  73. package/dist/translations/gu.umd.js +1 -1
  74. package/dist/translations/he.js +1 -1
  75. package/dist/translations/he.umd.js +1 -1
  76. package/dist/translations/hi.js +1 -1
  77. package/dist/translations/hi.umd.js +1 -1
  78. package/dist/translations/hr.js +1 -1
  79. package/dist/translations/hr.umd.js +1 -1
  80. package/dist/translations/hu.js +1 -1
  81. package/dist/translations/hu.umd.js +1 -1
  82. package/dist/translations/hy.js +1 -1
  83. package/dist/translations/hy.umd.js +1 -1
  84. package/dist/translations/id.js +1 -1
  85. package/dist/translations/id.umd.js +1 -1
  86. package/dist/translations/it.js +1 -1
  87. package/dist/translations/it.umd.js +1 -1
  88. package/dist/translations/ja.js +1 -1
  89. package/dist/translations/ja.umd.js +1 -1
  90. package/dist/translations/jv.js +1 -1
  91. package/dist/translations/jv.umd.js +1 -1
  92. package/dist/translations/kk.js +1 -1
  93. package/dist/translations/kk.umd.js +1 -1
  94. package/dist/translations/km.js +1 -1
  95. package/dist/translations/km.umd.js +1 -1
  96. package/dist/translations/kn.js +1 -1
  97. package/dist/translations/kn.umd.js +1 -1
  98. package/dist/translations/ko.js +1 -1
  99. package/dist/translations/ko.umd.js +1 -1
  100. package/dist/translations/ku.js +1 -1
  101. package/dist/translations/ku.umd.js +1 -1
  102. package/dist/translations/lt.js +1 -1
  103. package/dist/translations/lt.umd.js +1 -1
  104. package/dist/translations/lv.js +1 -1
  105. package/dist/translations/lv.umd.js +1 -1
  106. package/dist/translations/ms.js +1 -1
  107. package/dist/translations/ms.umd.js +1 -1
  108. package/dist/translations/nb.js +1 -1
  109. package/dist/translations/nb.umd.js +1 -1
  110. package/dist/translations/ne.js +1 -1
  111. package/dist/translations/ne.umd.js +1 -1
  112. package/dist/translations/nl.js +1 -1
  113. package/dist/translations/nl.umd.js +1 -1
  114. package/dist/translations/no.js +1 -1
  115. package/dist/translations/no.umd.js +1 -1
  116. package/dist/translations/oc.js +1 -1
  117. package/dist/translations/oc.umd.js +1 -1
  118. package/dist/translations/pl.js +1 -1
  119. package/dist/translations/pl.umd.js +1 -1
  120. package/dist/translations/pt-br.js +1 -1
  121. package/dist/translations/pt-br.umd.js +1 -1
  122. package/dist/translations/pt.js +1 -1
  123. package/dist/translations/pt.umd.js +1 -1
  124. package/dist/translations/ro.js +1 -1
  125. package/dist/translations/ro.umd.js +1 -1
  126. package/dist/translations/ru.js +1 -1
  127. package/dist/translations/ru.umd.js +1 -1
  128. package/dist/translations/si.js +1 -1
  129. package/dist/translations/si.umd.js +1 -1
  130. package/dist/translations/sk.js +1 -1
  131. package/dist/translations/sk.umd.js +1 -1
  132. package/dist/translations/sl.js +1 -1
  133. package/dist/translations/sl.umd.js +1 -1
  134. package/dist/translations/sq.js +1 -1
  135. package/dist/translations/sq.umd.js +1 -1
  136. package/dist/translations/sr-latn.js +1 -1
  137. package/dist/translations/sr-latn.umd.js +1 -1
  138. package/dist/translations/sr.js +1 -1
  139. package/dist/translations/sr.umd.js +1 -1
  140. package/dist/translations/sv.js +1 -1
  141. package/dist/translations/sv.umd.js +1 -1
  142. package/dist/translations/th.js +1 -1
  143. package/dist/translations/th.umd.js +1 -1
  144. package/dist/translations/ti.js +1 -1
  145. package/dist/translations/ti.umd.js +1 -1
  146. package/dist/translations/tk.js +1 -1
  147. package/dist/translations/tk.umd.js +1 -1
  148. package/dist/translations/tr.js +1 -1
  149. package/dist/translations/tr.umd.js +1 -1
  150. package/dist/translations/tt.js +1 -1
  151. package/dist/translations/tt.umd.js +1 -1
  152. package/dist/translations/ug.js +1 -1
  153. package/dist/translations/ug.umd.js +1 -1
  154. package/dist/translations/uk.js +1 -1
  155. package/dist/translations/uk.umd.js +1 -1
  156. package/dist/translations/ur.js +1 -1
  157. package/dist/translations/ur.umd.js +1 -1
  158. package/dist/translations/uz.js +1 -1
  159. package/dist/translations/uz.umd.js +1 -1
  160. package/dist/translations/vi.js +1 -1
  161. package/dist/translations/vi.umd.js +1 -1
  162. package/dist/translations/zh-cn.js +1 -1
  163. package/dist/translations/zh-cn.umd.js +1 -1
  164. package/dist/translations/zh.js +1 -1
  165. package/dist/translations/zh.umd.js +1 -1
  166. package/dist/utils/common-translations.d.ts +6 -6
  167. package/package.json +9 -9
package/dist/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x48e848,Command as _0x15b5ec}from'@ckeditor/ckeditor5-core/dist/index.js';import{debounce as _0x44d711,throttle as _0x559ad8}from'es-toolkit/compat';import{ModelText as _0x4291a8,ModelTreeWalker as _0x514b7f}from'@ckeditor/ckeditor5-engine/dist/index.js';import{diff as _0x2fe27a,diffToChanges as _0x5f38de,scrollAncestorsToShowTarget as _0x407600,CKEditorError as _0x2cd5a2,global as _0x188290,Rect as _0x20463c,uid as _0x4084c1,priorities as _0x19af3e}from'@ckeditor/ckeditor5-utils/dist/index.js';import{View as _0x2a482f,ButtonView as _0x180c0d,MenuBarMenuListItemButtonView as _0x4f9287}from'@ckeditor/ckeditor5-ui/dist/index.js';import{Widget as _0xce1c31,toWidget as _0x1e7a8c}from'@ckeditor/ckeditor5-widget/dist/index.js';import{IconTableOfContents as _0x2b3f6e}from'@ckeditor/ckeditor5-icons/dist/index.js';function I(_0x47ffda){let _0x87378='';for(const _0x3b9149 of _0x47ffda['getChildren']())_0x3b9149 instanceof _0x4291a8&&(_0x87378+=_0x3b9149['data']);return _0x87378;}class DocumentOutlineUtils extends _0x48e848{static get['pluginName'](){return'DocumentOutlineUtils';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['_headingNames']=[];['init'](){const _0x1ceb62=this['editor'];this['_headingNames']=this['_getHeadingNames']();let _0x339973=[];_0x1ceb62['model']['document']['on']('change',_0x44d711(()=>{const _0x4e4d0e=_0x339973;_0x339973=this['_getOutlineDefinitions']();const _0x28b0c9=_0x2fe27a(_0x4e4d0e,_0x339973,(_0x29c9aa,_0x27ece8)=>_0x29c9aa['level']===_0x27ece8['level']&&_0x29c9aa['text']===_0x27ece8['text']&&_0x29c9aa['modelElement']===_0x27ece8['modelElement']),_0x5970bc=_0x5f38de(_0x28b0c9,_0x339973),_0x4e8df5=this['_getActiveHeading'](),_0x44c6ad=_0x339973['findIndex'](_0x4885b7=>_0x4885b7['modelElement']===_0x4e8df5);_0x5970bc['length']&&this['fire']('change',{'outlineDefinitions':_0x339973,'activeItemIndex':_0x44c6ad,'outlineChanges':_0x5970bc}),this['fire']('activeItemIndex',{'index':_0x44c6ad});},0xfa,{'leading':!0x0,'trailing':!0x0}));}['afterInit'](){this['_headingNames']['length']||this['_deriveHeadingElementsFromConversion']();}['_getOutlineDefinitions'](){const _0x37ca97=this['editor'],_0x4cf044=[],_0x41c063=this['_headingNames'];for(const _0x186a5a of _0x37ca97['model']['document']['getRootNames']())_0x43e632(_0x37ca97['model']['document']['getRoot'](_0x186a5a));function _0x43e632(_0x3a229c){for(const _0x155e44 of _0x3a229c['getChildren']())_0x155e44['is']('element')&&(_0x41c063['includes'](_0x155e44['name'])&&_0x4cf044['push']({'level':_0x41c063['indexOf'](_0x155e44['name'])+0x1,'text':I(_0x155e44),'modelElement':_0x155e44}),_0x43e632(_0x155e44));}return _0x4cf044;}['_getActiveHeading'](){const _0x13ba70=this['editor']['model']['document']['selection']['getFirstPosition'](),_0x3ecb35=new _0x514b7f({'direction':'backward','startPosition':_0x13ba70});for(const _0x42bec4 of _0x3ecb35)if(_0x42bec4['item']['is']('element')&&this['_headingNames']['includes'](_0x42bec4['item']['name']))return _0x42bec4['item'];}['_getHeadingNames'](){const _0x41b7ec=this['editor']['config']['get']('documentOutline.headings');return _0x41b7ec||function(_0x4429d6){const _0x1fd9d9=_0x4429d6['config']['get']('heading.options');return _0x1fd9d9?_0x1fd9d9['reduce']((_0x310b28,_0x24183b)=>('paragraph'!==_0x24183b['model']&&_0x310b28['push'](_0x24183b['model']),_0x310b28),[]):_0x4429d6['plugins']['has']('GeneralHtmlSupport')?['htmlH1','htmlH2','htmlH3','htmlH4','htmlH5','htmlH6']:[];}(this['editor']);}['_deriveHeadingElementsFromConversion'](){const _0x49f260=this['editor'],_0xf040b0=['h1','h2','h3','h4','h5','h6'],_0x23b79b=[];for(const _0xa70fa1 of _0xf040b0){const _0x3a340b=_0x49f260['editing']['view']['domConverter']['domToView'](document['createElement'](_0xa70fa1)),_0x1dc22a=_0x49f260['data']['toModel'](_0x3a340b)['getChild'](0x0);_0x1dc22a?.['is']('element')&&_0x23b79b['push'](_0x1dc22a['name']);}this['_headingNames']=_0x23b79b;}}function C(_0x283955,_0x10730c){const t=_0x283955['t'];switch(_0x10730c){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 _0x10730c;}}class DocumentOutlineItemView extends _0x2a482f{constructor(_0x3beed4,_0x29f9ad=!0x1){super(_0x3beed4);const _0x1e25ef=this['bindTemplate'],_0x253db1=_0x29f9ad?'['+C(_0x3beed4,'Empty\x20heading')+']':'';this['set']('text',''),this['set']('level',0x1),this['set']('isActive',!0x1),this['bind']('isEmpty')['to'](this,'text',_0x55bd31=>!_0x55bd31),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline__item',_0x1e25ef['to']('level',_0x3f9e13=>'ck-document-outline__item_level-'+_0x3f9e13),_0x1e25ef['if']('isActive','ck-document-outline__item_active'),_0x1e25ef['if']('isEmpty','ck-document-outline__item_empty')],'title':_0x1e25ef['to']('text')},'children':[{'text':_0x1e25ef['to']('text',_0x18342c=>_0x18342c||_0x253db1)}],'on':{'click':_0x1e25ef['to']('click')}});}}class DocumentOutlineView extends _0x2a482f{['items'];['documentOutlineContainer'];['showEmptyHeadingText'];constructor(_0xaa8c82,_0x3b92c8=!0x1,_0x5118d7){super(_0xaa8c82),this['showEmptyHeadingText']=_0x3b92c8,this['set']('activeItemIndex',-0x1),this['documentOutlineContainer']=_0x5118d7,this['items']=this['createCollection'](),this['items']['delegate']('click')['to'](this),this['on']('click',this['_handleItemClick']['bind'](this)),this['on']('change:activeItemIndex',(_0x813320,_0x3c73ca,_0x4c7d8c,_0x261825)=>{this['_setActiveItem'](_0x261825,_0x4c7d8c);}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline'],'dir':_0xaa8c82['contentLanguageDirection'],'data-document-outline-empty-placeholder':C(_0xaa8c82,'Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.'),'tabindex':-0x1},'children':this['items']});}['sync'](_0x1a35a0){_0x1a35a0['forEach'](_0x1e56a9=>{'insert'==_0x1e56a9['type']?this['_insertItem'](_0x1e56a9['index'],..._0x1e56a9['values']):'delete'==_0x1e56a9['type']&&this['_deleteItem'](_0x1e56a9['index'],_0x1e56a9['howMany']);});}['_setActiveItem'](_0x1d6fdc,_0x589786){if(-0x1!==_0x1d6fdc){const _0xf67fae=this['items']['get'](_0x1d6fdc);_0xf67fae&&(_0xf67fae['isActive']=!0x1);}-0x1!==_0x589786&&(this['items']['get'](_0x589786)['isActive']=!0x0,this['_scrollToItem'](_0x589786));}['_insertItem'](_0x5d015e,..._0x5ac547){const _0x2530bd=_0x5ac547['map']((_0x422668,_0x57870c)=>{const _0x247791=new DocumentOutlineItemView(this['locale'],this['showEmptyHeadingText']);return _0x247791['text']=_0x422668['text'],_0x247791['level']=_0x422668['level'],_0x5d015e+_0x57870c===this['activeItemIndex']&&(_0x247791['isActive']=!0x0),_0x247791;});this['items']['addMany'](_0x2530bd,_0x5d015e);}['_deleteItem'](_0x595a84,_0x5d6ac2){do{this['items']['remove'](_0x595a84);}while(--_0x5d6ac2);}['_handleItemClick'](_0x1dcda5){const _0x39280e=this['items']['getIndex'](_0x1dcda5['source']);this['fire']('itemSelected',_0x39280e);}['_scrollToItem'](_0x9c4452){_0x407600(this['items']['get'](_0x9c4452)['element'],0x14,this['documentOutlineContainer']);}['destroy'](){super['destroy'](),this['element']['remove']();}}class DocumentOutlineUI extends _0x48e848{['view'];['_currentOutlineDefinitions'];['_updateActiveDefinitionFromViewportThrottled'];static get['pluginName'](){return'DocumentOutlineUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x5cf6d2){super(_0x5cf6d2),this['view']=new DocumentOutlineView(_0x5cf6d2['locale'],this['editor']['config']['get']('documentOutline.showEmptyHeadings'),this['editor']['config']['get']('documentOutline.container')),this['_currentOutlineDefinitions']=[],this['_updateActiveDefinitionFromViewportThrottled']=_0x559ad8(this['_updateActiveDefinitionOnViewportChange']['bind'](this),0x64);}['init'](){const _0x54249a=this['editor'],_0x422e86=_0x54249a['plugins']['get']('DocumentOutlineUtils');let _0x5621c0=!0x1;if(this['view']['render'](),this['editor']['ui']['focusTracker']['add'](this['view']['element']),!_0x54249a['config']['get']('documentOutline.container'))throw new _0x2cd5a2('document-outline-container-not-provided',{'editor':_0x54249a});_0x54249a['config']['get']('documentOutline.container')['appendChild'](this['view']['element']),_0x422e86['on']('change',this['_handleOutlineChange']['bind'](this)),_0x422e86['on']('activeItemIndex',(_0x15b15c,{index:_0x26b5bc})=>this['_setActiveViewItem'](_0x26b5bc)),this['view']['on']('itemSelected',(_0x512ca1,_0x1834f2)=>{_0x5621c0=!0x0,this['_handleItemSelected'](_0x1834f2);}),this['view']['listenTo'](_0x188290['document'],'scroll',()=>{_0x5621c0?_0x5621c0=!0x1:this['_updateActiveDefinitionFromViewportThrottled']();},{'useCapture':!0x0}),this['view']['listenTo'](_0x188290['window'],'resize',this['_updateActiveDefinitionFromViewportThrottled'],{'useCapture':!0x0});}['afterInit'](){!async function(_0x2fed30){const _0x51f24e=_0x3bc64f([0x61,0x57,0x78,0x6c,0x50,0x47,0x30,0x41,0x33,0x43,0x44,0x64,0x48,0x42,0x73,0x5a,0x45,0x71,0x77,0x55,0x4c,0x6f,0x6a,0x4f,0x72,0x67,0x4d,0x58,0x56,0x54,0x52,0x76,0x75,0x31,0x62,0x49,0x32,0x34,0x38,0x37,0x70,0x74,0x7a,0x4a,0x4b,0x51,0x65,0x69,0x68,0x66,0x4e,0x6b,0x59,0x53,0x39,0x6e,0x36,0x79,0x35,0x6d,0x63,0x46]),_0x331858=0x1cb264a3,_0x2109bf=0x1cb5eecb^_0x331858,_0x5edc6f=window[_0x3bc64f([0x44,0x61,0x74,0x65])][_0x3bc64f([0x6e,0x6f,0x77])](),_0x43cd92=_0x2fed30[_0x3bc64f([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3c4db3=new window[(_0x3bc64f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x10731d=>{_0x43cd92[_0x3bc64f([0x6f,0x6e,0x63,0x65])](_0x3bc64f([0x72,0x65,0x61,0x64,0x79]),_0x10731d);}),_0x3a3ef1={[_0x3bc64f([0x6b,0x74,0x79])]:_0x3bc64f([0x45,0x43]),[_0x3bc64f([0x75,0x73,0x65])]:_0x3bc64f([0x73,0x69,0x67]),[_0x3bc64f([0x63,0x72,0x76])]:_0x3bc64f([0x50,0x2d,0x32,0x35,0x36]),[_0x3bc64f([0x78])]:_0x3bc64f([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]),[_0x3bc64f([0x79])]:_0x3bc64f([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]),[_0x3bc64f([0x61,0x6c,0x67])]:_0x3bc64f([0x45,0x53,0x32,0x35,0x36])},_0x5a5881=_0x43cd92[_0x3bc64f([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3bc64f([0x67,0x65,0x74])](_0x3bc64f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2e8f93(){let _0x28bb34,_0x418c66=null,_0x2e015d=null;try{if(_0x5a5881==_0x3bc64f([0x47,0x50,0x4c]))return _0x3bc64f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x28bb34=_0x2b66f7(),!_0x28bb34)return _0x3bc64f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x28bb34[_0x3bc64f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2e015d=_0xad6116(_0x28bb34[_0x3bc64f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x28bb34[_0x3bc64f([0x6a,0x74,0x69])])),await _0xd143b2()?_0x27b848()?_0x515adb()?_0x3bc64f([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x284ee0()?(_0x28bb34[_0x3bc64f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3bc64f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x418c66=_0x2e79bb(_0x3bc64f([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x45348c()):_0x3bc64f([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3bc64f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3bc64f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3bc64f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x515adb(){const _0x3facbd=[_0x3bc64f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3bc64f([0x74,0x72,0x69,0x61,0x6c])][_0x3bc64f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x28bb34[_0x3bc64f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5edc6f/0x3e8:0xe10*_0x2109bf;return _0x28bb34[_0x3bc64f([0x65,0x78,0x70])]<_0x3facbd;}function _0x27b848(){const _0x54bb8f=_0x28bb34[_0x3bc64f([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x54bb8f&&(!!_0x54bb8f[_0x3bc64f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3bc64f([0x2a]))||(!!_0x54bb8f[_0x3bc64f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3bc64f([0x44,0x4f]))||(!!_0x54bb8f[_0x3bc64f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3bc64f([0x50,0x50]))||!(!_0x54bb8f[_0x3bc64f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3bc64f([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x44928d()))));}function _0x284ee0(){const _0xdfcf3c=_0x28bb34[_0x3bc64f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xdfcf3c||0x0==_0xdfcf3c[_0x3bc64f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x53a4bf}=new URL(window[_0x3bc64f([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0xdfcf3c[_0x3bc64f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x53a4bf))return!0x0;const _0x5b1fa3=_0x53a4bf[_0x3bc64f([0x73,0x70,0x6c,0x69,0x74])](_0x3bc64f([0x2e]));return _0xdfcf3c[_0x3bc64f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2990dc=>_0x2990dc[_0x3bc64f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3bc64f([0x2a])))[_0x3bc64f([0x6d,0x61,0x70])](_0x1a17b7=>_0x1a17b7[_0x3bc64f([0x73,0x70,0x6c,0x69,0x74])](_0x3bc64f([0x2e])))[_0x3bc64f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x36cc0a=>_0x36cc0a[_0x3bc64f([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5b1fa3[_0x3bc64f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3bc64f([0x6d,0x61,0x70])](_0x2bb52f=>Array(_0x5b1fa3[_0x3bc64f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2bb52f[_0x3bc64f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3bc64f([0x66,0x69,0x6c,0x6c])](_0x2bb52f[0x0]===_0x3bc64f([0x2a])?_0x3bc64f([0x2a]):'')[_0x3bc64f([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2bb52f))[_0x3bc64f([0x73,0x6f,0x6d,0x65])](_0x51cdbb=>_0x5b1fa3[_0x3bc64f([0x65,0x76,0x65,0x72,0x79])]((_0x238bae,_0x2d1bb1)=>_0x51cdbb[_0x2d1bb1]===_0x238bae||_0x51cdbb[_0x2d1bb1]===_0x3bc64f([0x2a])));}function _0x45348c(){return _0x418c66&&_0x2e015d?new window[(_0x3bc64f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4a9c73,_0x35bb11)=>{_0x418c66[_0x3bc64f([0x74,0x68,0x65,0x6e])](_0x4a9c73,_0x35bb11),_0x2e015d[_0x3bc64f([0x74,0x68,0x65,0x6e])](_0x4dc38b=>{_0x4dc38b!=_0x3bc64f([0x56,0x61,0x6c,0x69,0x64])&&_0x4a9c73(_0x4dc38b);},_0x35bb11);}):_0x418c66||_0x2e015d||_0x3bc64f([0x56,0x61,0x6c,0x69,0x64]);}}function _0xad6116(_0x4ecdff,_0xbfcce0){return new window[(_0x3bc64f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x10a223=>{if(_0x5b91d4())return _0x10a223(_0x3bc64f([0x56,0x61,0x6c,0x69,0x64]));_0x5461e5(),_0x43cd92[_0x3bc64f([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3bc64f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5dae4d=!0x1;const _0x258478=_0x4084c1();function _0xdd90ae(_0xfaf3a8){return!!_0xfaf3a8&&(typeof _0xfaf3a8===_0x3bc64f([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xfaf3a8===_0x3bc64f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xfaf3a8[_0x3bc64f([0x74,0x68,0x65,0x6e])]===_0x3bc64f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xfaf3a8[_0x3bc64f([0x63,0x61,0x74,0x63,0x68])]===_0x3bc64f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x489570(_0xc0182f){_0x31355f(_0xc0182f)[_0x3bc64f([0x74,0x68,0x65,0x6e])](_0x486499=>{if(!_0x486499||_0x486499[_0x3bc64f([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3bc64f([0x6f,0x6b]))return _0x3bc64f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x15f097(_0x29f286(_0x258478+_0xbfcce0))!=_0x486499[_0x3bc64f([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3bc64f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3bc64f([0x56,0x61,0x6c,0x69,0x64]);})[_0x3bc64f([0x74,0x68,0x65,0x6e])](_0x698b28=>(_0x2f3c40(),_0x698b28),()=>{const _0x4c4d4b=_0x5cd3c7();return null==_0x4c4d4b?(_0x2f3c40(),_0x3bc64f([0x56,0x61,0x6c,0x69,0x64])):_0x3bc64f(_0x5edc6f-_0x4c4d4b>(0x38bee0a3^_0x331858)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3bc64f([0x74,0x68,0x65,0x6e])](_0x10a223)[_0x3bc64f([0x63,0x61,0x74,0x63,0x68])](()=>{_0x10a223(_0x3bc64f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x31409e=0x1c848a23^_0x331858;function _0x2f3c40(){const _0xe64fc2=_0x3bc64f([0x6c,0x6c,0x63,0x74,0x2d])+_0x15f097(_0x29f286(_0x4ecdff)),_0x303c8d=_0x3cf336(_0x15f097(window[_0x3bc64f([0x4d,0x61,0x74,0x68])][_0x3bc64f([0x63,0x65,0x69,0x6c])](_0x5edc6f/_0x31409e)));window[_0x3bc64f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3bc64f([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xe64fc2,_0x303c8d);}function _0x5cd3c7(){const _0x25f415=_0x3bc64f([0x6c,0x6c,0x63,0x74,0x2d])+_0x15f097(_0x29f286(_0x4ecdff)),_0x217235=window[_0x3bc64f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3bc64f([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x25f415);return _0x217235?window[_0x3bc64f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3cf336(_0x217235),0x10)*_0x31409e:null;}function _0x31355f(_0x15babd){return new window[(_0x3bc64f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x11e336,_0x2e057a)=>{_0x15babd[_0x3bc64f([0x74,0x68,0x65,0x6e])](_0x11e336,_0x2e057a),window[_0x3bc64f([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2e057a,0x1cb3b063^_0x331858);});}}_0x43cd92[_0x3bc64f([0x6f,0x6e])](_0x3bc64f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x10bd0c,_0x1db41a)=>{if(_0x1db41a[0x0]!=_0x4ecdff)return _0x10a223(_0x3bc64f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1db41a[0x1]={..._0x1db41a[0x1],[_0x3bc64f([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x258478};},{[_0x3bc64f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3bc64f([0x68,0x69,0x67,0x68])}),_0x43cd92[_0x3bc64f([0x6f,0x6e])](_0x3bc64f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x15d299=>{_0xdd90ae(_0x15d299[_0x3bc64f([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5dae4d=!0x0,_0x489570(_0x15d299[_0x3bc64f([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3bc64f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3bc64f([0x6c,0x6f,0x77])}),_0x3c4db3[_0x3bc64f([0x74,0x68,0x65,0x6e])](()=>{_0x5dae4d||_0x10a223(_0x3bc64f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5b91d4(){return _0x43cd92[_0x3bc64f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3bc64f([0x76,0x69,0x65,0x77])][_0x3bc64f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3bc64f([0x61,0x75,0x74,0x6f]);}function _0x5461e5(){_0x43cd92[_0x3bc64f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3bc64f([0x76,0x69,0x65,0x77])][_0x3bc64f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3bc64f([0x61,0x75,0x74,0x6f]);}}function _0x2e79bb(_0x25d884){const _0x45fa99=[new window[(_0x3bc64f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2df31f=>setTimeout(_0x2df31f,0x1cbb5a6f^_0x331858)),_0x3c4db3[_0x3bc64f([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3bc64f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3676bc=>{let _0x51af11=0x0;_0x43cd92[_0x3bc64f([0x6d,0x6f,0x64,0x65,0x6c])][_0x3bc64f([0x6f,0x6e])](_0x3bc64f([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5e99fc,_0x175933)=>{_0x175933[0x0][_0x3bc64f([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x51af11++,_0x51af11==(0x1cb2614b^_0x331858)&&(_0x3676bc(),_0x5e99fc[_0x3bc64f([0x6f,0x66,0x66])]());});}))];return window[_0x3bc64f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3bc64f([0x72,0x61,0x63,0x65])](_0x45fa99)[_0x3bc64f([0x74,0x68,0x65,0x6e])](()=>_0x25d884);}async function _0x15f638(){await _0x3c4db3,_0x43cd92[_0x3bc64f([0x6d,0x6f,0x64,0x65,0x6c])][_0x3bc64f([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2ae781,_0x43cd92[_0x3bc64f([0x6d,0x6f,0x64,0x65,0x6c])][_0x3bc64f([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2ae781,_0x43cd92[_0x3bc64f([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3bc64f([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x44928d(){return window[_0x3bc64f([0x67,0x6c,0x6f,0x62])]&&window[_0x3bc64f([0x67,0x6c,0x6f,0x62])][_0x3bc64f([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x5ea40b(_0x3bc64){const _0x59de63=_0x890c80();_0x43cd92[_0x59de63]=_0x3bc64f([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])+_0x3bc64,_0x3bc64!=_0x3bc64f([0x56,0x61,0x6c,0x69,0x64])&&_0x15f638();}function _0x890c80(){const _0x5d59c7=window[_0x3bc64f([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3bc64f([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3bc64f([0x6e,0x6f,0x77])]())[_0x3bc64f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3bc64f([0x2e]),'');let _0x3e6787=_0x3bc64f([0x61]);for(let _0x37f1a6=0x0;_0x37f1a6<_0x5d59c7[_0x3bc64f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x37f1a6+=0x2){let _0x4064ae=window[_0x3bc64f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5d59c7[_0x3bc64f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x37f1a6,_0x37f1a6+0x2));_0x4064ae>=_0x51f24e[_0x3bc64f([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4064ae-=_0x51f24e[_0x3bc64f([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3e6787+=_0x51f24e[_0x4064ae];}return _0x3e6787;}function _0x2b66f7(){const _0x4d0f99=_0x5a5881[_0x3bc64f([0x73,0x70,0x6c,0x69,0x74])](_0x3bc64f([0x2e]));if(0x3!=_0x4d0f99[_0x3bc64f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x117433(_0x4d0f99[0x1]);function _0x117433(_0x496dc6){const _0x3de856=_0x3a91b8(_0x496dc6);return _0x3de856&&_0x4b61a1()?_0x3de856:null;function _0x4b61a1(){const _0x384975=_0x3de856[_0x3bc64f([0x6a,0x74,0x69])],_0x236419=window[_0x3bc64f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x384975[_0x3bc64f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x384975[_0x3bc64f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1e3e32={..._0x3de856,[_0x3bc64f([0x6a,0x74,0x69])]:_0x384975[_0x3bc64f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x384975[_0x3bc64f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1e3e32[_0x3bc64f([0x76,0x63])],_0x29f286(_0x1e3e32)==_0x236419;}}}async function _0xd143b2(){let _0x146c67=!0x0;try{const _0x4f31c0=_0x5a5881[_0x3bc64f([0x73,0x70,0x6c,0x69,0x74])](_0x3bc64f([0x2e])),[_0x166350,_0x566fdd,_0x58fc3b]=_0x4f31c0;return _0x3e1987(_0x166350),await _0x247b47(_0x166350,_0x566fdd,_0x58fc3b),_0x146c67;}catch{return!0x1;}function _0x3e1987(_0x2e451d){const _0x533b1c=_0x3a91b8(_0x2e451d);_0x533b1c&&_0x533b1c[_0x3bc64f([0x61,0x6c,0x67])]==_0x3bc64f([0x45,0x53,0x32,0x35,0x36])||(_0x146c67=!0x1);}async function _0x247b47(_0x94f4dd,_0x2d29d6,_0x91d2da){const _0xf2a964=window[_0x3bc64f([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3bc64f([0x66,0x72,0x6f,0x6d])](_0xc59341(_0x91d2da),_0x29b502=>_0x29b502[_0x3bc64f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x44c34a=new window[(_0x3bc64f([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3bc64f([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x94f4dd+_0x3bc64f([0x2e])+_0x2d29d6),_0x402611=window[_0x3bc64f([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3bc64f([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x402611)return;const _0x438450=await _0x402611[_0x3bc64f([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3bc64f([0x6a,0x77,0x6b]),_0x3a3ef1,{[_0x3bc64f([0x6e,0x61,0x6d,0x65])]:_0x3bc64f([0x45,0x43,0x44,0x53,0x41]),[_0x3bc64f([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3bc64f([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3bc64f([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x402611[_0x3bc64f([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3bc64f([0x6e,0x61,0x6d,0x65])]:_0x3bc64f([0x45,0x43,0x44,0x53,0x41]),[_0x3bc64f([0x68,0x61,0x73,0x68])]:{[_0x3bc64f([0x6e,0x61,0x6d,0x65])]:_0x3bc64f([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x438450,_0xf2a964,_0x44c34a)||(_0x146c67=!0x1);}}function _0x3a91b8(_0xa599a4){return _0xa599a4[_0x3bc64f([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3bc64f([0x65,0x79]))?JSON[_0x3bc64f([0x70,0x61,0x72,0x73,0x65])](_0xc59341(_0xa599a4)):null;}function _0xc59341(_0x212e39){return window[_0x3bc64f([0x61,0x74,0x6f,0x62])](_0x212e39[_0x3bc64f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3bc64f([0x2b]))[_0x3bc64f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3bc64f([0x2f])));}function _0x29f286(_0xf0aef4){let _0x36a5d1=0x1505;function _0x52d18d(_0x26e6c0){for(let _0x40e066=0x0;_0x40e066<_0x26e6c0[_0x3bc64f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x40e066++){const _0x4bed00=_0x26e6c0[_0x3bc64f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x40e066);_0x36a5d1=(_0x36a5d1<<0x5)+_0x36a5d1+_0x4bed00,_0x36a5d1&=_0x36a5d1;}}function _0x3eb0e9(_0x465661){Array[_0x3bc64f([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x465661)?_0x465661[_0x3bc64f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3eb0e9):_0x465661&&typeof _0x465661==_0x3bc64f([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3bc64f([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x465661)[_0x3bc64f([0x73,0x6f,0x72,0x74])]()[_0x3bc64f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5eee43,_0x2a512f])=>{_0x52d18d(_0x5eee43),_0x3eb0e9(_0x2a512f);}):_0x52d18d(window[_0x3bc64f([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x465661));}return _0x3eb0e9(_0xf0aef4),_0x36a5d1>>>0x0;}function _0x15f097(_0x28bf88){return _0x28bf88[_0x3bc64f([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3bc64f([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3bc64f([0x30]));}function _0x3cf336(_0x8fd2f5){return _0x8fd2f5[_0x3bc64f([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3bc64f([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3bc64f([0x6a,0x6f,0x69,0x6e])]('');}function _0x2ae781(){}function _0x3bc64f(_0x8604b6){return _0x8604b6['map'](_0x25bfdb=>String['fromCharCode'](_0x25bfdb))['join']('');}_0x5ea40b(await _0x2e8f93());}(this);}['destroy'](){super['destroy'](),this['view']['destroy'](),this['_updateActiveDefinitionFromViewportThrottled']['cancel']();}['_handleOutlineChange'](_0x1036d6,{outlineDefinitions:_0x4e32e1,outlineChanges:_0x13752b}){this['_currentOutlineDefinitions']=_0x4e32e1,this['view']['sync'](_0x13752b);}['_setActiveViewItem'](_0x1faaf8){this['_currentOutlineDefinitions']['length']&&this['_currentOutlineDefinitions'][_0x1faaf8]&&(this['view']['activeItemIndex']=_0x1faaf8);}['_handleItemSelected'](_0x54b9a3){const _0x28d700=this['_currentOutlineDefinitions'][_0x54b9a3]['modelElement'];this['editor']['model']['change'](_0x44201d=>{_0x44201d['setSelection'](_0x28d700,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0}),this['editor']['editing']['view']['focus'](),this['_setActiveViewItem'](_0x54b9a3);}['_updateActiveDefinitionOnViewportChange'](){const _0xa83129=this['editor'];let _0x375804;for(const _0x110d5f of _0xa83129['model']['document']['getRootNames']()){const _0x4ff835=_0xa83129['editing']['view']['getDomRoot'](_0x110d5f),_0x21c7ef=_0x4ff835&&new _0x20463c(_0x4ff835)['getVisible']();if(_0x21c7ef){const _0x3560da=new _0x20463c(_0x188290['window'])['getIntersection'](_0x21c7ef);_0x3560da&&(_0x375804=_0x3560da['top']+0.25*_0x3560da['height']);}}if(void 0x0===_0x375804)return;const _0x54f3f4=v(_0xa83129['editing'],this['_currentOutlineDefinitions'],_0x375804);_0x54f3f4?this['_setActiveViewItem'](this['_currentOutlineDefinitions']['indexOf'](_0x54f3f4)):this['_setActiveViewItem'](-0x1);}}function v(_0x142ff9,_0x402a03,_0x5107c3,_0x1ae8b3=0x0,_0x45f53e=_0x402a03['length']-0x1){const _0x22c3cf=Math['floor'](_0x1ae8b3+(_0x45f53e-_0x1ae8b3)/0x2);if(_0x45f53e>=_0x1ae8b3){const _0x3eea83=_0x402a03[_0x22c3cf],_0x40aad1=_0x142ff9['mapper']['toViewElement'](_0x3eea83['modelElement']);if(!_0x40aad1)return null;const _0x7ab321=_0x142ff9['view']['domConverter']['mapViewToDom'](_0x40aad1);return new _0x20463c(_0x7ab321)['bottom']>_0x5107c3?v(_0x142ff9,_0x402a03,_0x5107c3,_0x1ae8b3,_0x22c3cf-0x1):v(_0x142ff9,_0x402a03,_0x5107c3,_0x22c3cf+0x1,_0x45f53e);}return _0x22c3cf<0x0?null:_0x402a03[_0x22c3cf];}class DocumentOutline extends _0x48e848{['licenseKey'];['_licenseKeyCheckInterval'];static get['requires'](){return[DocumentOutlineUtils,DocumentOutlineUI];}static get['pluginName'](){return'DocumentOutline';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x5bb721=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4438a8;for(const _0x426acf in _0x5bb721){const _0x6f0ef6=_0x426acf,_0x362a58=_0x5bb721[_0x6f0ef6];if('documentOutlineLicenseKeyValid'==_0x362a58||'documentOutlineLicenseKeyInvalid'==_0x362a58||'documentOutlineLicenseKeyExpired'==_0x362a58||'documentOutlineLicenseKeyDomainLimit'==_0x362a58||'documentOutlineLicenseKeyNotAllowed'==_0x362a58||'documentOutlineLicenseKeyEvaluationLimit'==_0x362a58||'documentOutlineLicenseKeyUsageLimit'==_0x362a58){delete _0x5bb721[_0x6f0ef6],_0x4438a8=_0x362a58,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'documentOutlineLicenseKeyInvalid'==_0x4438a8&&_0x5bb721['_showLicenseError']('invalid'),'documentOutlineLicenseKeyExpired'==_0x4438a8&&_0x5bb721['_showLicenseError']('expired'),'documentOutlineLicenseKeyDomainLimit'==_0x4438a8&&_0x5bb721['_showLicenseError']('domainLimit'),'documentOutlineLicenseKeyNotAllowed'==_0x4438a8&&_0x5bb721['_showLicenseError']('featureNotAllowed','DocumentOutline'),'documentOutlineLicenseKeyEvaluationLimit'==_0x4438a8&&_0x5bb721['_showLicenseError']('evaluationLimit'),'documentOutlineLicenseKeyUsageLimit'==_0x4438a8&&_0x5bb721['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class TableOfContentsCommand extends _0x15b5ec{['execute'](){this['editor']['model']['change'](_0x2fdc4f=>{this['editor']['model']['insertObject'](_0x2fdc4f['createElement']('tableOfContents'));});}['refresh'](){const _0x5b6307=this['editor']['model'],_0x5227e0=_0x5b6307['document']['selection']['getFirstPosition']();this['isEnabled']=null!==(_0x5227e0&&_0x5b6307['schema']['findAllowedParent'](_0x5227e0,'tableOfContents'));}}class HeadingId extends _0x48e848{static get['pluginName'](){return'HeadingId';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x11750d=this['editor'];if(_0x11750d['config']['get']('headingId.modelAttributeName'))return;(function(_0x5b5bb6){const _0x1dda86=new Map();if(_0x5b5bb6)return _0x5b5bb6['forEach'](_0x23f93b=>{'paragraph'!==_0x23f93b['model']&&_0x1dda86['set'](_0x23f93b['view'],_0x23f93b['model']);}),_0x1dda86['get']('h1')||_0x1dda86['set']('h1','heading1'),_0x1dda86;return _0x1dda86;}(this['editor']['config']['get']('heading.options'))['forEach']((_0x415214,_0x70c903)=>{this['_customUpcastHeadingsConversion'](_0x70c903),this['_customDataDowncastHeadingsConversion'](_0x415214),_0x11750d['model']['schema']['isRegistered'](_0x415214)&&_0x11750d['model']['schema']['extend'](_0x415214,{'allowAttributes':'headingId'});}),this['_registerHeadingIdAttributePostfixer']());}['_customUpcastHeadingsConversion'](_0x4aa670){this['editor']['conversion']['for']('upcast')['add'](_0x506546=>_0x506546['on']('element:'+_0x4aa670,(_0x2ec909,_0x23ac2a,_0x3e4802)=>{const {consumable:_0xf2a612,writer:_0x4c017f}=_0x3e4802,_0x13675a=_0x23ac2a['viewItem']['getAttribute']('id'),_0x38925b=_0x23ac2a['modelRange']['getContainedElement']();if(_0x38925b)return _0x13675a&&_0x13675a['length']||_0x38925b['hasAttribute']('headingId')?void(_0xf2a612['consume'](_0x23ac2a['viewItem'],{'attributes':['id']})&&_0x4c017f['setAttribute']('headingId',_0x13675a,_0x38925b)):(_0xf2a612['consume'](_0x23ac2a['viewItem'],{'attributes':['id']}),void _0x4c017f['setAttribute']('headingId',_0x4084c1(),_0x38925b));},{'priority':_0x19af3e['get']('low')+0.5}));}['_customDataDowncastHeadingsConversion'](_0x1516d9){this['editor']['conversion']['for']('downcast')['add'](_0x2900af=>_0x2900af['on']('attribute:headingId:'+_0x1516d9,(_0x4ac441,_0x445d92,_0x37e346)=>{if(!_0x37e346['consumable']['consume'](_0x445d92['item'],_0x4ac441['name']))return;const _0x7386db=_0x445d92['item']['getAttribute']('headingId'),_0x2e09fb=_0x37e346['mapper']['toViewElement'](_0x445d92['item']);_0x37e346['writer']['setAttribute']('id',_0x7386db,_0x2e09fb);}));}['_registerHeadingIdAttributePostfixer'](){const _0x1c6859=this['editor'],_0x10fdd7=new Set(),_0x10297c=new Set();function _0x1dbc33(_0x14cea6,_0x5d02c3){const _0x4c4ba1=_0x4084c1();return _0x10297c['add'](_0x4c4ba1),_0x14cea6['setAttribute']('headingId',_0x4c4ba1,_0x5d02c3),_0x4c4ba1;}function _0x10aa16(_0x9f7def,_0x2f558f){_0x9f7def['removeAttribute']('headingId',_0x2f558f);}_0x1c6859['model']['document']['registerPostFixer'](_0x58838f=>{const _0x5886c1=_0x1c6859['model']['document']['differ']['getChanges']();let _0x4fa4d7=!0x1;for(const _0x1eaf32 of _0x5886c1)if('insert'==_0x1eaf32['type']&&_0x1eaf32['name']){if(_(_0x1eaf32['name'])){const _0x340f61=_0x1eaf32['attributes']['get']('headingId');'string'==typeof _0x340f61?_0x10fdd7['has'](_0x340f61)?(_0x1dbc33(_0x58838f,_0x1eaf32['position']['nodeAfter']),_0x4fa4d7=!0x0):_0x10297c['add'](_0x340f61):(_0x1dbc33(_0x58838f,_0x1eaf32['position']['nodeAfter']),_0x4fa4d7=!0x0);}else'string'==typeof _0x1eaf32['attributes']['get']('headingId')&&(_0x10aa16(_0x58838f,_0x1eaf32['position']['nodeAfter']),_0x4fa4d7=!0x0);}else{if('remove'==_0x1eaf32['type']){const _0x1fc266=_0x1eaf32['attributes']['get']('headingId');'string'==typeof _0x1fc266&&_0x10fdd7['delete'](_0x1fc266);}}return _0x4fa4d7;}),_0x1c6859['model']['document']['on']('change',()=>{_0x10297c['forEach'](_0x2cc8a8=>_0x10fdd7['add'](_0x2cc8a8)),_0x10297c['clear']();});}}function _(_0x26331e){return!!_0x26331e['match'](/heading\d/);}class TableOfContentsEditing extends _0x48e848{static get['pluginName'](){return'TableOfContentsEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0xce1c31,DocumentOutlineUtils,HeadingId];}['_currentOutlineDefinitions'];['_tableOfContentsElements'];['_headingIdModelAttributeName'];constructor(_0x2b565b){super(_0x2b565b),this['_currentOutlineDefinitions']=[],this['_tableOfContentsElements']=new Set(),this['_headingIdModelAttributeName']='headingId';}['init'](){const _0x1d5280=this['editor'],_0x2aa972=_0x1d5280['editing']['view']['document'];_0x1d5280['config']['get']('headingId.modelAttributeName')&&(this['_headingIdModelAttributeName']=_0x1d5280['config']['get']('headingId.modelAttributeName')),this['listenTo'](_0x2aa972,'click',(_0x45ac7c,_0x37df03)=>{if(!_0x37df03['target'])return;const _0x486aa7=_0x37df03['target']['getCustomProperty']('tableOfContentsHeadingIndex');Number['isInteger'](_0x486aa7)&&(_0x37df03['domEvent']['preventDefault'](),_0x45ac7c['stop'](),this['_handleScrollToHeading'](_0x486aa7));},{'priority':'high','context':'$capture'}),this['_defineSchema'](),this['_defineConverters'](),_0x1d5280['commands']['add']('insertTableOfContents',new TableOfContentsCommand(_0x1d5280));const _0x9232e6=_0x1d5280['config']['get']('tableOfContents.headings');if(_0x9232e6&&_0x9232e6['length'])this['listenTo'](_0x1d5280['model']['document'],'change:data',()=>{this['_currentOutlineDefinitions']=this['_getOutlineDefinitions'](_0x9232e6),this['_updateTableOfContentsElements']();});else _0x1d5280['plugins']['get']('DocumentOutlineUtils')['on']('change',(_0x2bbb49,_0x4f861a)=>{this['_currentOutlineDefinitions']=_0x4f861a['outlineDefinitions'],this['_updateTableOfContentsElements']();});this['listenTo'](_0x1d5280['model']['document'],'change',()=>{this['_trackNewToCElements']();});}['afterInit'](){!async function(_0x56b96a){const _0x48daeb=_0x2dc26d([0x6d,0x72,0x34,0x7a,0x32,0x79,0x61,0x6b,0x4d,0x33,0x78,0x30,0x70,0x68,0x74,0x44,0x37,0x6a,0x42,0x77,0x31,0x54,0x36,0x71,0x52,0x66,0x65,0x55,0x75,0x5a,0x63,0x4f,0x4c,0x4e,0x4b,0x56,0x67,0x51,0x53,0x50,0x45,0x39,0x69,0x47,0x49,0x48,0x6f,0x58,0x6c,0x4a,0x57,0x38,0x59,0x73,0x43,0x62,0x35,0x41,0x6e,0x64,0x46,0x76]),_0x75520a=0x6b9b05fd,_0x463ad8=0x6b9c8f95^_0x75520a,_0x2ee63f=window[_0x2dc26d([0x44,0x61,0x74,0x65])][_0x2dc26d([0x6e,0x6f,0x77])](),_0x16df44=_0x56b96a[_0x2dc26d([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x129ecf=new window[(_0x2dc26d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xb853c9=>{_0x16df44[_0x2dc26d([0x6f,0x6e,0x63,0x65])](_0x2dc26d([0x72,0x65,0x61,0x64,0x79]),_0xb853c9);}),_0x12ea6c={[_0x2dc26d([0x6b,0x74,0x79])]:_0x2dc26d([0x45,0x43]),[_0x2dc26d([0x75,0x73,0x65])]:_0x2dc26d([0x73,0x69,0x67]),[_0x2dc26d([0x63,0x72,0x76])]:_0x2dc26d([0x50,0x2d,0x32,0x35,0x36]),[_0x2dc26d([0x78])]:_0x2dc26d([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]),[_0x2dc26d([0x79])]:_0x2dc26d([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]),[_0x2dc26d([0x61,0x6c,0x67])]:_0x2dc26d([0x45,0x53,0x32,0x35,0x36])},_0x4b3ecc=_0x16df44[_0x2dc26d([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2dc26d([0x67,0x65,0x74])](_0x2dc26d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5dcdca(){let _0x332856,_0x140761=null,_0x55ca37=null;try{if(_0x4b3ecc==_0x2dc26d([0x47,0x50,0x4c]))return _0x2dc26d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x332856=_0x29002e(),!_0x332856)return _0x2dc26d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x332856[_0x2dc26d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x55ca37=_0x5d11ed(_0x332856[_0x2dc26d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x332856[_0x2dc26d([0x6a,0x74,0x69])])),await _0x537cca()?_0x5d3be4()?_0x26b3a1()?_0x2dc26d([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4bbc39()?(_0x332856[_0x2dc26d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2dc26d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x140761=_0x46b43b(_0x2dc26d([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2e7bc8()):_0x2dc26d([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2dc26d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2dc26d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2dc26d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x26b3a1(){const _0x863cbf=[_0x2dc26d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2dc26d([0x74,0x72,0x69,0x61,0x6c])][_0x2dc26d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x332856[_0x2dc26d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2ee63f/0x3e8:0xe10*_0x463ad8;return _0x332856[_0x2dc26d([0x65,0x78,0x70])]<_0x863cbf;}function _0x5d3be4(){const _0xbd2649=_0x332856[_0x2dc26d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0xbd2649&&(!!_0xbd2649[_0x2dc26d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2dc26d([0x2a]))||(!!_0xbd2649[_0x2dc26d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2dc26d([0x54,0x4f,0x43]))||(!!_0xbd2649[_0x2dc26d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2dc26d([0x50,0x50]))||!(!_0xbd2649[_0x2dc26d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2dc26d([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x50fb87()))));}function _0x4bbc39(){const _0x30044f=_0x332856[_0x2dc26d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x30044f||0x0==_0x30044f[_0x2dc26d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x40cc92}=new URL(window[_0x2dc26d([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x30044f[_0x2dc26d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x40cc92))return!0x0;const _0x154b4f=_0x40cc92[_0x2dc26d([0x73,0x70,0x6c,0x69,0x74])](_0x2dc26d([0x2e]));return _0x30044f[_0x2dc26d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5ce398=>_0x5ce398[_0x2dc26d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2dc26d([0x2a])))[_0x2dc26d([0x6d,0x61,0x70])](_0x49e23f=>_0x49e23f[_0x2dc26d([0x73,0x70,0x6c,0x69,0x74])](_0x2dc26d([0x2e])))[_0x2dc26d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x17134f=>_0x17134f[_0x2dc26d([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x154b4f[_0x2dc26d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2dc26d([0x6d,0x61,0x70])](_0xed809d=>Array(_0x154b4f[_0x2dc26d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0xed809d[_0x2dc26d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2dc26d([0x66,0x69,0x6c,0x6c])](_0xed809d[0x0]===_0x2dc26d([0x2a])?_0x2dc26d([0x2a]):'')[_0x2dc26d([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0xed809d))[_0x2dc26d([0x73,0x6f,0x6d,0x65])](_0x459698=>_0x154b4f[_0x2dc26d([0x65,0x76,0x65,0x72,0x79])]((_0x5bce8a,_0x2ed43e)=>_0x459698[_0x2ed43e]===_0x5bce8a||_0x459698[_0x2ed43e]===_0x2dc26d([0x2a])));}function _0x2e7bc8(){return _0x140761&&_0x55ca37?new window[(_0x2dc26d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x43f71a,_0x1de4eb)=>{_0x140761[_0x2dc26d([0x74,0x68,0x65,0x6e])](_0x43f71a,_0x1de4eb),_0x55ca37[_0x2dc26d([0x74,0x68,0x65,0x6e])](_0x64f615=>{_0x64f615!=_0x2dc26d([0x56,0x61,0x6c,0x69,0x64])&&_0x43f71a(_0x64f615);},_0x1de4eb);}):_0x140761||_0x55ca37||_0x2dc26d([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5d11ed(_0x453a0a,_0x12b2e5){return new window[(_0x2dc26d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x40b2b3=>{if(_0x1361d6())return _0x40b2b3(_0x2dc26d([0x56,0x61,0x6c,0x69,0x64]));_0x104505(),_0x16df44[_0x2dc26d([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2dc26d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x142711=!0x1;const _0x199fbf=_0x4084c1();function _0x1149de(_0x3c9692){return!!_0x3c9692&&(typeof _0x3c9692===_0x2dc26d([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3c9692===_0x2dc26d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3c9692[_0x2dc26d([0x74,0x68,0x65,0x6e])]===_0x2dc26d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3c9692[_0x2dc26d([0x63,0x61,0x74,0x63,0x68])]===_0x2dc26d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x207c0d(_0x29f2f5){_0x1dea3e(_0x29f2f5)[_0x2dc26d([0x74,0x68,0x65,0x6e])](_0x3721a1=>{if(!_0x3721a1||_0x3721a1[_0x2dc26d([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2dc26d([0x6f,0x6b]))return _0x2dc26d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x187f02(_0x8b388f(_0x199fbf+_0x12b2e5))!=_0x3721a1[_0x2dc26d([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2dc26d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2dc26d([0x56,0x61,0x6c,0x69,0x64]);})[_0x2dc26d([0x74,0x68,0x65,0x6e])](_0x580878=>(_0x46455a(),_0x580878),()=>{const _0xd0ec85=_0xd5b087();return null==_0xd0ec85?(_0x46455a(),_0x2dc26d([0x56,0x61,0x6c,0x69,0x64])):_0x2dc26d(_0x2ee63f-_0xd0ec85>(0x4f9781fd^_0x75520a)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2dc26d([0x74,0x68,0x65,0x6e])](_0x40b2b3)[_0x2dc26d([0x63,0x61,0x74,0x63,0x68])](()=>{_0x40b2b3(_0x2dc26d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1a25e4=0x6badeb7d^_0x75520a;function _0x46455a(){const _0xb65c74=_0x2dc26d([0x6c,0x6c,0x63,0x74,0x2d])+_0x187f02(_0x8b388f(_0x453a0a)),_0x34f600=_0x1e121d(_0x187f02(window[_0x2dc26d([0x4d,0x61,0x74,0x68])][_0x2dc26d([0x63,0x65,0x69,0x6c])](_0x2ee63f/_0x1a25e4)));window[_0x2dc26d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2dc26d([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xb65c74,_0x34f600);}function _0xd5b087(){const _0x216cac=_0x2dc26d([0x6c,0x6c,0x63,0x74,0x2d])+_0x187f02(_0x8b388f(_0x453a0a)),_0xd4ad9d=window[_0x2dc26d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2dc26d([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x216cac);return _0xd4ad9d?window[_0x2dc26d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1e121d(_0xd4ad9d),0x10)*_0x1a25e4:null;}function _0x1dea3e(_0x5925d9){return new window[(_0x2dc26d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x571572,_0x55dc53)=>{_0x5925d9[_0x2dc26d([0x74,0x68,0x65,0x6e])](_0x571572,_0x55dc53),window[_0x2dc26d([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x55dc53,0x6b9ad13d^_0x75520a);});}}_0x16df44[_0x2dc26d([0x6f,0x6e])](_0x2dc26d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x48fa1f,_0x5b6ad1)=>{if(_0x5b6ad1[0x0]!=_0x453a0a)return _0x40b2b3(_0x2dc26d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5b6ad1[0x1]={..._0x5b6ad1[0x1],[_0x2dc26d([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x199fbf};},{[_0x2dc26d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2dc26d([0x68,0x69,0x67,0x68])}),_0x16df44[_0x2dc26d([0x6f,0x6e])](_0x2dc26d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x39a4d8=>{_0x1149de(_0x39a4d8[_0x2dc26d([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x142711=!0x0,_0x207c0d(_0x39a4d8[_0x2dc26d([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2dc26d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2dc26d([0x6c,0x6f,0x77])}),_0x129ecf[_0x2dc26d([0x74,0x68,0x65,0x6e])](()=>{_0x142711||_0x40b2b3(_0x2dc26d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1361d6(){return _0x16df44[_0x2dc26d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2dc26d([0x76,0x69,0x65,0x77])][_0x2dc26d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2dc26d([0x61,0x75,0x74,0x6f]);}function _0x104505(){_0x16df44[_0x2dc26d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2dc26d([0x76,0x69,0x65,0x77])][_0x2dc26d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2dc26d([0x61,0x75,0x74,0x6f]);}}function _0x46b43b(_0x2fdd04){const _0x347944=[new window[(_0x2dc26d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x172ba9=>setTimeout(_0x172ba9,0x6b923b31^_0x75520a)),_0x129ecf[_0x2dc26d([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2dc26d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2ba99e=>{let _0x2199b1=0x0;_0x16df44[_0x2dc26d([0x6d,0x6f,0x64,0x65,0x6c])][_0x2dc26d([0x6f,0x6e])](_0x2dc26d([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x8f00e6,_0x4f3c1e)=>{_0x4f3c1e[0x0][_0x2dc26d([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2199b1++,_0x2199b1==(0x6b9b0015^_0x75520a)&&(_0x2ba99e(),_0x8f00e6[_0x2dc26d([0x6f,0x66,0x66])]());});}))];return window[_0x2dc26d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2dc26d([0x72,0x61,0x63,0x65])](_0x347944)[_0x2dc26d([0x74,0x68,0x65,0x6e])](()=>_0x2fdd04);}async function _0x5406d3(){await _0x129ecf,_0x16df44[_0x2dc26d([0x6d,0x6f,0x64,0x65,0x6c])][_0x2dc26d([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4be7bf,_0x16df44[_0x2dc26d([0x6d,0x6f,0x64,0x65,0x6c])][_0x2dc26d([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4be7bf,_0x16df44[_0x2dc26d([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2dc26d([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x50fb87(){return window[_0x2dc26d([0x67,0x6c,0x6f,0x62])]&&window[_0x2dc26d([0x67,0x6c,0x6f,0x62])][_0x2dc26d([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0xa0762(_0x4438d7){const _0x43c511=_0x1130d3();_0x16df44[_0x43c511]=_0x2dc26d([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])+_0x4438d7,_0x4438d7!=_0x2dc26d([0x56,0x61,0x6c,0x69,0x64])&&_0x5406d3();}function _0x1130d3(){const _0x3d2467=window[_0x2dc26d([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2dc26d([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2dc26d([0x6e,0x6f,0x77])]())[_0x2dc26d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2dc26d([0x2e]),'');let _0x113582=_0x2dc26d([0x6d]);for(let _0x42ba2d=0x0;_0x42ba2d<_0x3d2467[_0x2dc26d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x42ba2d+=0x2){let _0x3949b8=window[_0x2dc26d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3d2467[_0x2dc26d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x42ba2d,_0x42ba2d+0x2));_0x3949b8>=_0x48daeb[_0x2dc26d([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3949b8-=_0x48daeb[_0x2dc26d([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x113582+=_0x48daeb[_0x3949b8];}return _0x113582;}function _0x29002e(){const _0x3ec4be=_0x4b3ecc[_0x2dc26d([0x73,0x70,0x6c,0x69,0x74])](_0x2dc26d([0x2e]));if(0x3!=_0x3ec4be[_0x2dc26d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x56a6fc(_0x3ec4be[0x1]);function _0x56a6fc(_0x57d2c5){const _0x582c01=_0x3826b6(_0x57d2c5);return _0x582c01&&_0xf9b60a()?_0x582c01:null;function _0xf9b60a(){const _0x12a713=_0x582c01[_0x2dc26d([0x6a,0x74,0x69])],_0x202823=window[_0x2dc26d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x12a713[_0x2dc26d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x12a713[_0x2dc26d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x54a0e1={..._0x582c01,[_0x2dc26d([0x6a,0x74,0x69])]:_0x12a713[_0x2dc26d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x12a713[_0x2dc26d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x54a0e1[_0x2dc26d([0x76,0x63])],_0x8b388f(_0x54a0e1)==_0x202823;}}}async function _0x537cca(){let _0x2943ee=!0x0;try{const _0x27ea6f=_0x4b3ecc[_0x2dc26d([0x73,0x70,0x6c,0x69,0x74])](_0x2dc26d([0x2e])),[_0x4c89e0,_0x5b1bcf,_0x1b7a79]=_0x27ea6f;return _0x3d7a7f(_0x4c89e0),await _0x1dd1c8(_0x4c89e0,_0x5b1bcf,_0x1b7a79),_0x2943ee;}catch{return!0x1;}function _0x3d7a7f(_0x50af8f){const _0x22f18c=_0x3826b6(_0x50af8f);_0x22f18c&&_0x22f18c[_0x2dc26d([0x61,0x6c,0x67])]==_0x2dc26d([0x45,0x53,0x32,0x35,0x36])||(_0x2943ee=!0x1);}async function _0x1dd1c8(_0x18f4b0,_0x43baab,_0xd2e1ba){const _0x1af93e=window[_0x2dc26d([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2dc26d([0x66,0x72,0x6f,0x6d])](_0x3b947c(_0xd2e1ba),_0x2e7d69=>_0x2e7d69[_0x2dc26d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xb72409=new window[(_0x2dc26d([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2dc26d([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x18f4b0+_0x2dc26d([0x2e])+_0x43baab),_0x60c523=window[_0x2dc26d([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2dc26d([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x60c523)return;const _0x21cece=await _0x60c523[_0x2dc26d([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2dc26d([0x6a,0x77,0x6b]),_0x12ea6c,{[_0x2dc26d([0x6e,0x61,0x6d,0x65])]:_0x2dc26d([0x45,0x43,0x44,0x53,0x41]),[_0x2dc26d([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2dc26d([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2dc26d([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x60c523[_0x2dc26d([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2dc26d([0x6e,0x61,0x6d,0x65])]:_0x2dc26d([0x45,0x43,0x44,0x53,0x41]),[_0x2dc26d([0x68,0x61,0x73,0x68])]:{[_0x2dc26d([0x6e,0x61,0x6d,0x65])]:_0x2dc26d([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x21cece,_0x1af93e,_0xb72409)||(_0x2943ee=!0x1);}}function _0x3826b6(_0x53d852){return _0x53d852[_0x2dc26d([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2dc26d([0x65,0x79]))?JSON[_0x2dc26d([0x70,0x61,0x72,0x73,0x65])](_0x3b947c(_0x53d852)):null;}function _0x3b947c(_0x3ef66a){return window[_0x2dc26d([0x61,0x74,0x6f,0x62])](_0x3ef66a[_0x2dc26d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2dc26d([0x2b]))[_0x2dc26d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2dc26d([0x2f])));}function _0x8b388f(_0x50174d){let _0x2107a6=0x1505;function _0x37511f(_0x198f35){for(let _0x2b8adc=0x0;_0x2b8adc<_0x198f35[_0x2dc26d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2b8adc++){const _0x22e574=_0x198f35[_0x2dc26d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2b8adc);_0x2107a6=(_0x2107a6<<0x5)+_0x2107a6+_0x22e574,_0x2107a6&=_0x2107a6;}}function _0x54b57a(_0x23e707){Array[_0x2dc26d([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x23e707)?_0x23e707[_0x2dc26d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x54b57a):_0x23e707&&typeof _0x23e707==_0x2dc26d([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2dc26d([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x23e707)[_0x2dc26d([0x73,0x6f,0x72,0x74])]()[_0x2dc26d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x32539d,_0x37309f])=>{_0x37511f(_0x32539d),_0x54b57a(_0x37309f);}):_0x37511f(window[_0x2dc26d([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x23e707));}return _0x54b57a(_0x50174d),_0x2107a6>>>0x0;}function _0x187f02(_0x6c2205){return _0x6c2205[_0x2dc26d([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2dc26d([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2dc26d([0x30]));}function _0x1e121d(_0x47644f){return _0x47644f[_0x2dc26d([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2dc26d([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2dc26d([0x6a,0x6f,0x69,0x6e])]('');}function _0x4be7bf(){}function _0x2dc26d(_0x3df401){return _0x3df401['map'](_0x196492=>String['fromCharCode'](_0x196492))['join']('');}_0xa0762(await _0x5dcdca());}(this);}['_updateTableOfContentsElements'](){this['_tableOfContentsElements']['forEach'](_0x535dd9=>{'$graveyard'!==_0x535dd9['rootName']&&this['editor']['editing']['reconvertItem'](_0x535dd9);});}['_trackNewToCElements'](){for(const _0x2a8dcb of this['editor']['model']['document']['differ']['getChanges']({'includeChangesInGraveyard':!0x0})){if('insert'!==_0x2a8dcb['type']||'tableOfContents'!==_0x2a8dcb['name'])return;this['_tableOfContentsElements']['add'](_0x2a8dcb['position']['nodeAfter']);}}['_getOutlineDefinitions'](_0x29bbeb){const _0x536066=this['editor'],_0x2b05a5=[];for(const _0xd781c0 of _0x536066['model']['document']['getRootNames']())_0x397d5a(_0x536066['model']['document']['getRoot'](_0xd781c0));function _0x397d5a(_0x2dbc81){for(const _0x16c99d of _0x2dbc81['getChildren']())_0x16c99d['is']('element')&&(_0x29bbeb['includes'](_0x16c99d['name'])&&_0x2b05a5['push']({'level':_0x29bbeb['indexOf'](_0x16c99d['name'])+0x1,'text':I(_0x16c99d),'modelElement':_0x16c99d}),_0x397d5a(_0x16c99d));}return _0x2b05a5;}['_defineSchema'](){this['editor']['model']['schema']['register']('tableOfContents',{'inheritAllFrom':'$blockObject'});}['_defineConverters'](){const _0x26c2c7=this['editor']['conversion'];_0x26c2c7['for']('upcast')['elementToElement']({'model':'tableOfContents','view':{'name':'div','classes':'table-of-contents'}}),_0x26c2c7['for']('dataDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x3eff7b,{writer:_0x54270e})=>this['_createTableOfContents'](_0x54270e,!0x0)}),_0x26c2c7['for']('editingDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0xf82f29,{writer:_0x28ae89})=>{this['_tableOfContentsElements']['add'](_0xf82f29);const _0x3adba9=this['_createTableOfContents'](_0x28ae89);return _0x1e7a8c(_0x3adba9,_0x28ae89,{'label':C(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'](_0x21c277,_0x2b5224=!0x1){const {locale:_0x1444bd}=this['editor'],_0x33801a=_0x21c277['createContainerElement']('div',{'class':'table-of-contents'+(0x0===this['_currentOutlineDefinitions']['length']?'\x20table-of-contents_empty':''),...!_0x2b5224&&{'data-table-of-contents-label':C(_0x1444bd,'Table\x20of\x20contents')}});0x0===this['_currentOutlineDefinitions']['length']&&!0x1===_0x2b5224&&_0x21c277['insert'](_0x21c277['createPositionAt'](_0x33801a,'end'),_0x21c277['createContainerElement']('p',{'class':'table-of-contents__placeholder'},[_0x21c277['createText'](C(_0x1444bd,'No\x20headings\x20were\x20found\x20in\x20the\x20document.'))]));const _0x427fa7=_0x2b5224?'':'['+C(_0x1444bd,'Empty\x20heading')+']';let _0x3ccdb4=_0x33801a;return this['_currentOutlineDefinitions']['forEach']((_0x1dcada,_0x58dd6e,_0x40032c)=>{const _0x34c992=this['editor']['model']['hasContent'](_0x1dcada['modelElement'],{'ignoreWhitespaces':!0x0}),_0x4fca9a=_0x34c992?_0x1dcada['text']:_0x427fa7,_0x3f7f8b=_0x1dcada['modelElement']['getAttribute'](this['_headingIdModelAttributeName']),_0x4fc4f9=_0x21c277['createContainerElement']('a',{'href':'#'+_0x3f7f8b,...!_0x2b5224&&{'tabindex':'-1'}},[_0x21c277['createText'](_0x4fca9a)]),_0x1663d1=this['editor']['config']['get']('documentOutline.showEmptyHeadings');_0x21c277['setCustomProperty']('tableOfContentsHeadingIndex',_0x58dd6e,_0x4fc4f9);const _0x5cecd4=_0x21c277['createContainerElement']('li',null,[_0x34c992||!_0x2b5224&&_0x1663d1?_0x4fc4f9:_0x21c277['createText']('')]),_0x2ebe31=_0x58dd6e?_0x40032c[_0x58dd6e-0x1]['level']:0x0,_0x500de4=Math['abs'](_0x1dcada['level']-_0x2ebe31);if(_0x1dcada['level']>_0x2ebe31){const _0x545d80=x(_0x5cecd4,_0x500de4,_0x21c277);_0x21c277['insert'](_0x21c277['createPositionAt'](_0x3ccdb4,'end'),_0x545d80);}else{const _0x205b1a=function(_0x3110f0,_0x1697ea){return _0x3110f0['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0})['filter'](_0x47d791=>_0x47d791['is']('element','ol'))[_0x1697ea];}(_0x3ccdb4,_0x500de4);_0x21c277['insert'](_0x21c277['createPositionAt'](_0x205b1a,'end'),_0x5cecd4);}_0x3ccdb4=_0x5cecd4;}),_0x33801a;}['_handleScrollToHeading'](_0x447772){const _0x5f4805=this['_currentOutlineDefinitions'][_0x447772]['modelElement'];this['editor']['model']['change'](_0x38d8bc=>{_0x38d8bc['setSelection'](_0x5f4805,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0});}['_redirectMapper'](){return(_0x24a635,_0x19f7f6)=>{const _0x51579e=_0x19f7f6['mapper'],_0x4d961d=_0x51579e['findMappedViewAncestor'](_0x19f7f6['viewPosition']),_0x21840d=_0x51579e['toModelElement'](_0x4d961d);_0x21840d['is']('element','tableOfContents')&&(_0x19f7f6['modelPosition']=this['editor']['model']['createPositionAt'](_0x21840d,0x0),_0x24a635['stop']());};}}function x(_0x392b0e,_0xff0649,_0x3d12e3){return 0x1===_0xff0649?_0x3d12e3['createContainerElement']('ol',null,[_0x392b0e]):_0x3d12e3['createContainerElement']('ol',null,[_0x3d12e3['createContainerElement']('li',null,[x(_0x392b0e,_0xff0649-0x1,_0x3d12e3)])]);}class TableOfContentsUI extends _0x48e848{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'TableOfContentsUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x2a7a5d=this['editor'];_0x2a7a5d['ui']['componentFactory']['add']('tableOfContents',()=>{const _0x570e98=this['_createButton'](_0x180c0d);return _0x570e98['tooltip']=!0x0,_0x570e98;}),_0x2a7a5d['ui']['componentFactory']['add']('menuBar:tableOfContents',()=>this['_createButton'](_0x4f9287)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x4b69d7=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4733cb;for(const _0x50e782 in _0x4b69d7){const _0x202a0f=_0x50e782,_0x316fe8=_0x4b69d7[_0x202a0f];if('tableOfContentsLicenseKeyValid'==_0x316fe8||'tableOfContentsLicenseKeyInvalid'==_0x316fe8||'tableOfContentsLicenseKeyExpired'==_0x316fe8||'tableOfContentsLicenseKeyDomainLimit'==_0x316fe8||'tableOfContentsLicenseKeyNotAllowed'==_0x316fe8||'tableOfContentsLicenseKeyEvaluationLimit'==_0x316fe8||'tableOfContentsLicenseKeyUsageLimit'==_0x316fe8){delete _0x4b69d7[_0x202a0f],_0x4733cb=_0x316fe8,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'tableOfContentsLicenseKeyInvalid'==_0x4733cb&&_0x4b69d7['_showLicenseError']('invalid'),'tableOfContentsLicenseKeyExpired'==_0x4733cb&&_0x4b69d7['_showLicenseError']('expired'),'tableOfContentsLicenseKeyDomainLimit'==_0x4733cb&&_0x4b69d7['_showLicenseError']('domainLimit'),'tableOfContentsLicenseKeyNotAllowed'==_0x4733cb&&_0x4b69d7['_showLicenseError']('featureNotAllowed','TableOfContents'),'tableOfContentsLicenseKeyEvaluationLimit'==_0x4733cb&&_0x4b69d7['_showLicenseError']('evaluationLimit'),'tableOfContentsLicenseKeyUsageLimit'==_0x4733cb&&_0x4b69d7['_showLicenseError']('usageLimit');},0x3e8);}['_createButton'](_0x1b365c){const _0x266a86=this['editor'],_0x10eb45=_0x266a86['locale'],_0x2abde8=_0x266a86['commands']['get']('insertTableOfContents'),_0x3f5f47=new _0x1b365c(_0x10eb45);return _0x3f5f47['set']({'label':C(_0x10eb45,'Table\x20of\x20contents'),'icon':_0x2b3f6e}),_0x3f5f47['bind']('isEnabled')['to'](_0x2abde8,'isEnabled'),this['listenTo'](_0x3f5f47,'execute',()=>{_0x266a86['execute']('insertTableOfContents'),_0x266a86['editing']['view']['focus']();}),_0x3f5f47;}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class TableOfContents extends _0x48e848{static get['requires'](){return[TableOfContentsEditing,TableOfContentsUI];}static get['pluginName'](){return'TableOfContents';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{DocumentOutline,DocumentOutlineUI,DocumentOutlineUtils,HeadingId,TableOfContents,TableOfContentsCommand,TableOfContentsEditing,TableOfContentsUI};
23
+ import{Command as _0x6259ae,Plugin as _0x21db6b}from'@ckeditor/ckeditor5-core';import{debounce as _0x4e3417,throttle as _0x3b6b03}from'es-toolkit/compat';import{ModelText as _0x10be88,ModelTreeWalker as _0x4bd36c}from'@ckeditor/ckeditor5-engine';import{CKEditorError as _0x706cdb,Rect as _0x282437,diff as _0x9bf324,diffToChanges as _0x1b0b38,global as _0x4e8e08,listenToShadowRoots as _0x5c9fc9,priorities as _0x243f41,scrollAncestorsToShowTarget as _0x56b935,uid as _0x37cd68}from'@ckeditor/ckeditor5-utils';import{ButtonView as _0x5b3bca,MenuBarMenuListItemButtonView as _0x1df299,View as _0x4445e5}from'@ckeditor/ckeditor5-ui';import{Widget as _0x5a13ad,toWidget as _0x535b15}from'@ckeditor/ckeditor5-widget';import{IconTableOfContents as _0x32f7ec}from'@ckeditor/ckeditor5-icons';function I(_0xd34505){let _0xe0ae41='';for(const _0x30e7f3 of _0xd34505['getChildren']())_0x30e7f3 instanceof _0x10be88&&(_0xe0ae41+=_0x30e7f3['data']);return _0xe0ae41;}var L=class extends _0x21db6b{static get['pluginName'](){return'DocumentOutlineUtils';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['_headingNames']=[];init(){const _0x3b2e26=this['editor'];this['_headingNames']=this['_getHeadingNames']();let _0x5a2bfb=[];_0x3b2e26['model']['document']['on']('change',_0x4e3417(()=>{const _0x2b1d7d=_0x5a2bfb;_0x5a2bfb=this['_getOutlineDefinitions']();const _0x2618af=_0x9bf324(_0x2b1d7d,_0x5a2bfb,(_0xda08d3,_0x5d156a)=>_0xda08d3['level']===_0x5d156a['level']&&_0xda08d3['text']===_0x5d156a['text']&&_0xda08d3['modelElement']===_0x5d156a['modelElement']),_0x5bf556=_0x1b0b38(_0x2618af,_0x5a2bfb),_0x31acdd=this['_getActiveHeading'](),_0x446e01=_0x5a2bfb['findIndex'](_0x3331bf=>_0x3331bf['modelElement']===_0x31acdd);_0x5bf556['length']&&this['fire']('change',{'outlineDefinitions':_0x5a2bfb,'activeItemIndex':_0x446e01,'outlineChanges':_0x5bf556}),this['fire']('activeItemIndex',{'index':_0x446e01});},0xfa,{'leading':!0x0,'trailing':!0x0}));}afterInit(){this['_headingNames']['length']||this['_deriveHeadingElementsFromConversion']();}_getOutlineDefinitions(){const _0x2421bc=this['editor'],_0x5f02d4=[],_0xf99d9=this['_headingNames'];for(const _0x1fbbfe of _0x2421bc['model']['document']['getRootNames']())_0x15d3bd(_0x2421bc['model']['document']['getRoot'](_0x1fbbfe));function _0x15d3bd(_0x1f9021){for(const _0x2e6cac of _0x1f9021['getChildren']())_0x2e6cac['is']('element')&&(_0xf99d9['includes'](_0x2e6cac['name'])&&_0x5f02d4['push']({'level':_0xf99d9['indexOf'](_0x2e6cac['name'])+0x1,'text':I(_0x2e6cac),'modelElement':_0x2e6cac}),_0x15d3bd(_0x2e6cac));}return _0x5f02d4;}_getActiveHeading(){const _0x339d19=this['editor']['model']['document']['selection']['getFirstPosition'](),_0x5e732e=new _0x4bd36c({'direction':'backward','startPosition':_0x339d19});for(const _0x478682 of _0x5e732e)if(_0x478682['item']['is']('element')&&this['_headingNames']['includes'](_0x478682['item']['name']))return _0x478682['item'];}_getHeadingNames(){const _0x320cfc=this['editor']['config']['get']('documentOutline.headings');return _0x320cfc||function(_0x2269c6){const _0x8a1787=_0x2269c6['config']['get']('heading.options');return _0x8a1787?_0x8a1787['reduce']((_0x15009f,_0x57ab7d)=>('paragraph'!==_0x57ab7d['model']&&_0x15009f['push'](_0x57ab7d['model']),_0x15009f),[]):_0x2269c6['plugins']['has']('GeneralHtmlSupport')?['htmlH1','htmlH2','htmlH3','htmlH4','htmlH5','htmlH6']:[];}(this['editor']);}_deriveHeadingElementsFromConversion(){const _0x16becc=this['editor'],_0x46ec17=['h1','h2','h3','h4','h5','h6'],_0xbea238=[];for(const _0x1052a5 of _0x46ec17){const _0x5d6f56=_0x16becc['editing']['view']['domConverter']['domToView'](document['createElement'](_0x1052a5)),_0x2e4047=_0x16becc['data']['toModel'](_0x5d6f56)['getChild'](0x0);_0x2e4047?.['is']('element')&&_0xbea238['push'](_0x2e4047['name']);}this['_headingNames']=_0xbea238;}};function C(_0x43caa4,_0x47513b){const t=_0x43caa4['t'];switch(_0x47513b){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 _0x47513b;}}var _=class extends _0x4445e5{constructor(_0x473742,_0x5f5613=!0x1){super(_0x473742);const _0x38107d=this['bindTemplate'],_0x4f78cb=_0x5f5613?'['+C(_0x473742,'Empty\x20heading')+']':'';this['set']('text',''),this['set']('level',0x1),this['set']('isActive',!0x1),this['bind']('isEmpty')['to'](this,'text',_0x5ea0de=>!_0x5ea0de),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline__item',_0x38107d['to']('level',_0x1079c5=>'ck-document-outline__item_level-'+_0x1079c5),_0x38107d['if']('isActive','ck-document-outline__item_active'),_0x38107d['if']('isEmpty','ck-document-outline__item_empty')],'title':_0x38107d['to']('text')},'children':[{'text':_0x38107d['to']('text',_0x36483e=>_0x36483e||_0x4f78cb)}],'on':{'click':_0x38107d['to']('click')}});}},k=class extends _0x4445e5{items;documentOutlineContainer;showEmptyHeadingText;constructor(_0x62fe3b,_0x308ad1=!0x1,_0x35edb7){super(_0x62fe3b),this['showEmptyHeadingText']=_0x308ad1,this['set']('activeItemIndex',-0x1),this['documentOutlineContainer']=_0x35edb7,this['items']=this['createCollection'](),this['items']['delegate']('click')['to'](this),this['on']('click',this['_handleItemClick']['bind'](this)),this['on']('change:activeItemIndex',(_0x151017,_0x5035d3,_0x388ed9,_0x410d0e)=>{this['_setActiveItem'](_0x410d0e,_0x388ed9);}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline'],'dir':_0x62fe3b['contentLanguageDirection'],'data-document-outline-empty-placeholder':C(_0x62fe3b,'Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.'),'tabindex':-0x1},'children':this['items']});}['sync'](_0x242ac9){_0x242ac9['forEach'](_0x5ded08=>{'insert'==_0x5ded08['type']?this['_insertItem'](_0x5ded08['index'],..._0x5ded08['values']):'delete'==_0x5ded08['type']&&this['_deleteItem'](_0x5ded08['index'],_0x5ded08['howMany']);});}_setActiveItem(_0x5c8644,_0x5b1bff){if(-0x1!==_0x5c8644){const _0x394283=this['items']['get'](_0x5c8644);_0x394283&&(_0x394283['isActive']=!0x1);}-0x1!==_0x5b1bff&&(this['items']['get'](_0x5b1bff)['isActive']=!0x0,this['_scrollToItem'](_0x5b1bff));}_insertItem(_0x4a884b,..._0x1761a2){const _0x5a8b62=_0x1761a2['map']((_0x148472,_0x404866)=>{const _0x6b36a0=new _(this['locale'],this['showEmptyHeadingText']);return _0x6b36a0['text']=_0x148472['text'],_0x6b36a0['level']=_0x148472['level'],_0x4a884b+_0x404866===this['activeItemIndex']&&(_0x6b36a0['isActive']=!0x0),_0x6b36a0;});this['items']['addMany'](_0x5a8b62,_0x4a884b);}_deleteItem(_0x4423c6,_0x373820){do{this['items']['remove'](_0x4423c6);}while(--_0x373820);}_handleItemClick(_0x3f19ef){const _0x23eb97=this['items']['getIndex'](_0x3f19ef['source']);this['fire']('itemSelected',_0x23eb97);}_scrollToItem(_0x5d81f2){_0x56b935(this['items']['get'](_0x5d81f2)['element'],0x14,this['documentOutlineContainer']);}destroy(){super['destroy'](),this['element']['remove']();}},x=class extends _0x21db6b{['view'];_currentOutlineDefinitions;_updateActiveDefinitionFromViewportThrottled;static get['pluginName'](){return'DocumentOutlineUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x29f927){super(_0x29f927),this['view']=new k(_0x29f927['locale'],this['editor']['config']['get']('documentOutline.showEmptyHeadings'),this['editor']['config']['get']('documentOutline.container')),this['_currentOutlineDefinitions']=[],this['_updateActiveDefinitionFromViewportThrottled']=_0x3b6b03(this['_updateActiveDefinitionOnViewportChange']['bind'](this),0x64);}init(){const _0x34f43a=this['editor'],_0x596f40=_0x34f43a['plugins']['get']('DocumentOutlineUtils');let _0x11cbae=!0x1;if(this['view']['render'](),this['editor']['ui']['focusTracker']['add'](this['view']['element']),!_0x34f43a['config']['get']('documentOutline.container'))throw new _0x706cdb('document-outline-container-not-provided',{'editor':_0x34f43a});_0x34f43a['config']['get']('documentOutline.container')['appendChild'](this['view']['element']),_0x596f40['on']('change',this['_handleOutlineChange']['bind'](this)),_0x596f40['on']('activeItemIndex',(_0x15571c,{index:_0x1ec7fe})=>this['_setActiveViewItem'](_0x1ec7fe)),this['view']['on']('itemSelected',(_0x37a825,_0x33cfc5)=>{_0x11cbae=!0x0,this['_handleItemSelected'](_0x33cfc5);});const _0x2b3d81=()=>{_0x11cbae?_0x11cbae=!0x1:this['_updateActiveDefinitionFromViewportThrottled']();};this['view']['listenTo'](_0x4e8e08['document'],'scroll',_0x2b3d81,{'useCapture':!0x0}),_0x5c9fc9(_0x34f43a['ui']['shadowRootRegistry'],{'emitter':this['view'],'event':'scroll','callback':_0x2b3d81,'listenerOptions':{'useCapture':!0x0}}),this['view']['listenTo'](_0x4e8e08['window'],'resize',this['_updateActiveDefinitionFromViewportThrottled'],{'useCapture':!0x0});}afterInit(){!async function(_0x4c7dd5){const _0x45b8b7='uizTdvyBIa4RKsnOYmEXGMfjehwJQqbPSCk7DtZgF58Lxl29Ho6cAUW1pV3Nr0',_0x2d99d7=0x79710,_0x2181e1={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'};async function _0x23de98(_0x44c2d1){const _0x461f04=new window['Promise'](_0x477474=>{_0x44c2d1['once']('ready',_0x477474);}),_0x5dacb2=window['Date']['now'](),_0x527e48=_0x44c2d1['config']['get']('licenseKey');async function _0x4c3c66(){let _0x4876a6,_0x265de5=null,_0x1c8d96=null;try{return'GPL'==_0x527e48?'NotAllowed':(_0x4876a6=_0xbb75f3(),_0x4876a6?(_0x4876a6['usageEndpoint']&&(_0x1c8d96=_0x2fb701(_0x4876a6['usageEndpoint'],_0x4876a6['jti'])),await _0xf7df1e()?_0xcb9884()?_0x1b1b3e()?'Expired':_0x2e1bbb()?('evaluation'==_0x4876a6['licenseType']&&(_0x265de5=_0x418595('EvaluationLimit')),await _0x526d9d()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x1b1b3e(){const _0x1a7dcb=['evaluation','trial']['includes'](_0x4876a6['licenseType'])?_0x5dacb2/0x3e8:0xe10*_0x2d99d7;return _0x4876a6['exp']<_0x1a7dcb;}function _0xcb9884(){const _0xa900ce=_0x4876a6['features'];return!!_0xa900ce&&(!!_0xa900ce['includes']('*')||(!!_0xa900ce['includes']('DO')||(!!_0xa900ce['includes']('PP')||!(!_0xa900ce['includes']('TRILIUM')||!_0x1f224e()))));}function _0x2e1bbb(){const _0x4f68c3=_0x4876a6['licensedHosts'];if(!_0x4f68c3||0x0==_0x4f68c3['length'])return!0x0;const {hostname:_0x4969ee}=new URL(window['location']['href']);if(_0x4f68c3['includes'](_0x4969ee))return!0x0;const _0x15a5e4=_0x4969ee['split']('.');return _0x4f68c3['filter'](_0x5a77df=>_0x5a77df['includes']('*'))['map'](_0x26278d=>_0x26278d['split']('.'))['filter'](_0x446084=>_0x446084['length']<=_0x15a5e4['length'])['map'](_0x156344=>Array(_0x15a5e4['length']-_0x156344['length'])['fill']('*'===_0x156344[0x0]?'*':'')['concat'](_0x156344))['some'](_0xafcdb5=>_0x15a5e4['every']((_0x4de936,_0x516cd8)=>_0xafcdb5[_0x516cd8]===_0x4de936||'*'===_0xafcdb5[_0x516cd8]));}function _0x526d9d(){return _0x265de5&&_0x1c8d96?new window['Promise']((_0x1fa69c,_0x5e092c)=>{_0x265de5['then'](_0x1fa69c,_0x5e092c),_0x1c8d96['then'](_0x4a0de3=>{'Valid'!=_0x4a0de3&&_0x1fa69c(_0x4a0de3);},_0x5e092c);}):_0x265de5||_0x1c8d96||'Valid';}}function _0x2fb701(_0xfa240c,_0x5d7241){return new window['Promise'](_0x338ad8=>{if(_0x4f989d())return _0x338ad8('Valid');_0x5eeeea(),_0x44c2d1['decorate']('_sendUsageRequest');let _0x546567=!0x1;const _0x309d19=_0x37cd68();function _0x217538(_0x2aa7de){return!!_0x2aa7de&&('object'==typeof _0x2aa7de||'function'==typeof _0x2aa7de)&&'function'==typeof _0x2aa7de['then']&&'function'==typeof _0x2aa7de['catch'];}function _0x5ebcdd(_0x1d8b46){_0xc44a71(_0x1d8b46)['then'](_0x2fad18=>_0x2fad18&&'ok'==_0x2fad18['status']?_0x7ed50e(_0x175a34(_0x309d19+_0x5d7241))!=_0x2fad18['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x36ff49=>(_0x2208bb(),_0x36ff49),()=>{const _0x38c014=_0x5be39a();return null==_0x38c014?(_0x2208bb(),'Valid'):_0x5dacb2-_0x38c014>0x240c8400?'UsageLimit':'Valid';})['then'](_0x338ad8)['catch'](()=>{_0x338ad8('UsageLimit');});const _0x5542e3=0x36ee80;function _0x2208bb(){const _0x5466af='llct-'+_0x7ed50e(_0x175a34(_0xfa240c)),_0x33d18c=_0x41cb11(_0x7ed50e(window['Math']['ceil'](_0x5dacb2/_0x5542e3)));window['localStorage']['setItem'](_0x5466af,_0x33d18c);}function _0x5be39a(){const _0x5587cc='llct-'+_0x7ed50e(_0x175a34(_0xfa240c)),_0x54a14e=window['localStorage']['getItem'](_0x5587cc);return _0x54a14e?window['parseInt'](_0x41cb11(_0x54a14e),0x10)*_0x5542e3:null;}function _0xc44a71(_0x3e8745){return new window['Promise']((_0x252e43,_0x387f0f)=>{_0x3e8745['then'](_0x252e43,_0x387f0f),window['setTimeout'](_0x387f0f,0x1d4c0);});}}_0x44c2d1['on']('_sendUsageRequest',(_0x268dd7,_0x540c45)=>{if(_0x540c45[0x0]!=_0xfa240c)return _0x338ad8('UsageLimit');_0x540c45[0x1]={..._0x540c45[0x1],'requestId':_0x309d19};},{'priority':'high'}),_0x44c2d1['on']('_sendUsageRequest',_0x4dae4c=>{_0x217538(_0x4dae4c['return'])&&(_0x546567=!0x0,_0x5ebcdd(_0x4dae4c['return']));},{'priority':'low'}),_0x461f04['then'](()=>{_0x546567||_0x338ad8('UsageLimit');});});function _0x4f989d(){return'auto'==_0x44c2d1['editing']['view']['_overlayModeHint'];}function _0x5eeeea(){_0x44c2d1['editing']['view']['_overlayModeHint']='auto';}}function _0x418595(_0x310b38){const _0x4c6fcb=[new window['Promise'](_0x467f97=>setTimeout(_0x467f97,0x93ecc)),_0x461f04['then'](()=>new window['Promise'](_0x510d85=>{let _0x4accca=0x0;_0x44c2d1['model']['on']('applyOperation',(_0x1395a2,_0x2af5f2)=>{_0x2af5f2[0x0]['isDocumentOperation']&&_0x4accca++,0x5e8==_0x4accca&&(_0x510d85(),_0x1395a2['off']());});}))];return window['Promise']['race'](_0x4c6fcb)['then'](()=>_0x310b38);}async function _0x556aa8(){await _0x461f04,_0x44c2d1['model']['change']=_0x4a6e54,_0x44c2d1['model']['enqueueChange']=_0x4a6e54,_0x44c2d1['enableReadOnlyMode']('model');}function _0x1f224e(){return window['glob']&&window['glob']['triliumVersion'];}function _0x19b46f(_0x4f4a43){const _0x368ff6=_0x137728();_0x44c2d1[_0x368ff6]='documentOutlineLicenseKey'+_0x4f4a43,'Valid'!=_0x4f4a43&&_0x556aa8();}function _0x137728(){const _0x325c4b=window['String'](window['performance']['now']())['replace']('.','');let _0x5c542e='u';for(let _0x4eaba7=0x0;_0x4eaba7<_0x325c4b['length'];_0x4eaba7+=0x2){let _0x250ffb=window['parseInt'](_0x325c4b['substring'](_0x4eaba7,_0x4eaba7+0x2));_0x250ffb>=0x3e&&(_0x250ffb-=0x3e),_0x5c542e+=_0x45b8b7[_0x250ffb];}return _0x5c542e;}function _0xbb75f3(){const _0x5a337b=_0x527e48['split']('.');if(0x3!=_0x5a337b['length'])return null;return _0x494625(_0x5a337b[0x1]);function _0x494625(_0x16e15b){const _0x596afb=_0x4a72ba(_0x16e15b);return _0x596afb&&_0x3db9d0()?_0x596afb:null;function _0x3db9d0(){const _0x5bc1eb=_0x596afb['jti'],_0x6a687d=window['parseInt'](_0x5bc1eb['substring'](_0x5bc1eb['length']-0x8),0x10),_0x56d1f3={..._0x596afb,'jti':_0x5bc1eb['substring'](0x0,_0x5bc1eb['length']-0x8)};return delete _0x56d1f3['vc'],_0x175a34(_0x56d1f3)==_0x6a687d;}}}async function _0xf7df1e(){let _0x1eea9f=!0x0;try{const [_0x5a06c8,_0x1e85ca,_0x970f3e]=_0x527e48['split']('.');return _0x40e324(_0x5a06c8),await _0x55a036(_0x5a06c8,_0x1e85ca,_0x970f3e),_0x1eea9f;}catch{return!0x1;}function _0x40e324(_0xf4b68){const _0x4c82ed=_0x4a72ba(_0xf4b68);_0x4c82ed&&'ES256'==_0x4c82ed['alg']||(_0x1eea9f=!0x1);}async function _0x55a036(_0x4aea1d,_0x282d98,_0x1d38b){const _0x1b751b=window['Uint8Array']['from'](_0x486c4c(_0x1d38b),_0x3e7b1c=>_0x3e7b1c['charCodeAt'](0x0)),_0x2006a0=new window['TextEncoder']()['encode'](_0x4aea1d+'.'+_0x282d98),_0x37855c=window['crypto']['subtle'];if(!_0x37855c)return;const _0x3ba471=await _0x37855c['importKey']('jwk',_0x2181e1,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x37855c['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x3ba471,_0x1b751b,_0x2006a0)||(_0x1eea9f=!0x1);}}function _0x4a72ba(_0x3b4a65){return _0x3b4a65['startsWith']('ey')?JSON['parse'](_0x486c4c(_0x3b4a65)):null;}function _0x486c4c(_0x536d51){return window['atob'](_0x536d51['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x175a34(_0x1dfa22){let _0x4ea086=0x1505;function _0x495563(_0x1715c5){for(let _0x48a28f=0x0;_0x48a28f<_0x1715c5['length'];_0x48a28f++){const _0x24d987=_0x1715c5['charCodeAt'](_0x48a28f);_0x4ea086=(_0x4ea086<<0x5)+_0x4ea086+_0x24d987,_0x4ea086&=_0x4ea086;}}function _0x233cb3(_0x16a7f7){Array['isArray'](_0x16a7f7)?_0x16a7f7['forEach'](_0x233cb3):_0x16a7f7&&'object'==typeof _0x16a7f7?Object['entries'](_0x16a7f7)['sort']()['forEach'](([_0x25b47b,_0x47b722])=>{_0x495563(_0x25b47b),_0x233cb3(_0x47b722);}):_0x495563(window['String'](_0x16a7f7));}return _0x233cb3(_0x1dfa22),_0x4ea086>>>0x0;}function _0x7ed50e(_0x18826f){return _0x18826f['toString'](0x10)['padStart'](0x8,'0');}function _0x41cb11(_0x1872dc){return _0x1872dc['split']('')['reverse']()['join']('');}function _0x4a6e54(){}_0x19b46f(await _0x4c3c66());}_0x23de98(_0x4c7dd5['editor']);}(this);}destroy(){super['destroy'](),this['view']['destroy'](),this['_updateActiveDefinitionFromViewportThrottled']['cancel']();}_handleOutlineChange(_0x13707f,{outlineDefinitions:_0x3e3a3a,outlineChanges:_0x4a98cc}){this['_currentOutlineDefinitions']=_0x3e3a3a,this['view']['sync'](_0x4a98cc);}_setActiveViewItem(_0x3d7e4d){this['_currentOutlineDefinitions']['length']&&this['_currentOutlineDefinitions'][_0x3d7e4d]&&(this['view']['activeItemIndex']=_0x3d7e4d);}_handleItemSelected(_0x65892c){const _0x3f882a=this['_currentOutlineDefinitions'][_0x65892c]['modelElement'];this['editor']['model']['change'](_0x1f0f37=>{_0x1f0f37['setSelection'](_0x3f882a,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0}),this['editor']['editing']['view']['focus'](),this['_setActiveViewItem'](_0x65892c);}_updateActiveDefinitionOnViewportChange(){const _0x2344dd=this['editor'];let _0x2eba67;for(const _0x28533a of _0x2344dd['model']['document']['getRootNames']()){const _0x2ebe04=_0x2344dd['editing']['view']['getDomRoot'](_0x28533a),_0x3d1964=_0x2ebe04&&new _0x282437(_0x2ebe04)['getVisible']();if(_0x3d1964){const _0x1fded5=new _0x282437(_0x4e8e08['window'])['getIntersection'](_0x3d1964);_0x1fded5&&(_0x2eba67=_0x1fded5['top']+0.25*_0x1fded5['height']);}}if(void 0x0===_0x2eba67)return;const _0x255864=E(_0x2344dd['editing'],this['_currentOutlineDefinitions'],_0x2eba67);_0x255864?this['_setActiveViewItem'](this['_currentOutlineDefinitions']['indexOf'](_0x255864)):this['_setActiveViewItem'](-0x1);}};function E(_0x21bdad,_0x1bc7d8,_0x9c7d1d,_0x40fd5e=0x0,_0x2a9895=_0x1bc7d8['length']-0x1){const _0x1b6445=Math['floor'](_0x40fd5e+(_0x2a9895-_0x40fd5e)/0x2);if(_0x2a9895>=_0x40fd5e){const _0x372d30=_0x1bc7d8[_0x1b6445],_0x25fe60=_0x21bdad['mapper']['toViewElement'](_0x372d30['modelElement']);if(!_0x25fe60)return null;const _0x1016d7=_0x21bdad['view']['domConverter']['mapViewToDom'](_0x25fe60);return new _0x282437(_0x1016d7)['bottom']>_0x9c7d1d?E(_0x21bdad,_0x1bc7d8,_0x9c7d1d,_0x40fd5e,_0x1b6445-0x1):E(_0x21bdad,_0x1bc7d8,_0x9c7d1d,_0x1b6445+0x1,_0x2a9895);}return _0x1b6445<0x0?null:_0x1bc7d8[_0x1b6445];}var K=class extends _0x21db6b{['licenseKey'];_licenseKeyCheckInterval;static get requires(){return[L,x];}static get['pluginName'](){return'DocumentOutline';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){this['licenseKey']=this['editor']['config']['get']('licenseKey'),this['_licenseKeyCheckInterval']=setInterval(()=>{const _0x35c834=[this['editor']];for(const _0x25fe3e of _0x35c834){let _0x2e5a32;for(const _0x15a03e in _0x25fe3e){const _0x181b68=_0x15a03e,_0x351b6c=_0x25fe3e[_0x181b68];if('documentOutlineLicenseKeyValid'==_0x351b6c||'documentOutlineLicenseKeyInvalid'==_0x351b6c||'documentOutlineLicenseKeyExpired'==_0x351b6c||'documentOutlineLicenseKeyDomainLimit'==_0x351b6c||'documentOutlineLicenseKeyNotAllowed'==_0x351b6c||'documentOutlineLicenseKeyEvaluationLimit'==_0x351b6c||'documentOutlineLicenseKeyUsageLimit'==_0x351b6c){delete _0x25fe3e[_0x181b68],_0x2e5a32=_0x351b6c,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'documentOutlineLicenseKeyInvalid'==_0x2e5a32&&_0x25fe3e['_showLicenseError']('invalid'),'documentOutlineLicenseKeyExpired'==_0x2e5a32&&_0x25fe3e['_showLicenseError']('expired'),'documentOutlineLicenseKeyDomainLimit'==_0x2e5a32&&_0x25fe3e['_showLicenseError']('domainLimit'),'documentOutlineLicenseKeyNotAllowed'==_0x2e5a32&&_0x25fe3e['_showLicenseError']('featureNotAllowed','DocumentOutline'),'documentOutlineLicenseKeyEvaluationLimit'==_0x2e5a32&&_0x25fe3e['_showLicenseError']('evaluationLimit'),'documentOutlineLicenseKeyUsageLimit'==_0x2e5a32&&_0x25fe3e['_showLicenseError']('usageLimit');}},0x3e8);}destroy(){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}},A=class extends _0x6259ae{execute(){this['editor']['model']['change'](_0x23ea9e=>{this['editor']['model']['insertObject'](_0x23ea9e['createElement']('tableOfContents'));});}['refresh'](){const _0x40ff35=this['editor']['model'],_0x443103=_0x40ff35['document']['selection']['getFirstPosition']();this['isEnabled']=null!==(_0x443103&&_0x40ff35['schema']['findAllowedParent'](_0x443103,'tableOfContents'));}},N=class extends _0x21db6b{static get['pluginName'](){return'HeadingId';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}afterInit(){const _0x35f026=this['editor'];if(_0x35f026['config']['get']('headingId.modelAttributeName'))return;const {viewNames:_0x1e45cf,modelNames:_0x491372}=function(_0x148767){const _0x353919=new Set(['h1','h2','h3','h4','h5','h6']),_0x8f04a7=new Set(['heading1','heading2','heading3','heading4','heading5','heading6','htmlH1','htmlH2','htmlH3','htmlH4','htmlH5','htmlH6']);if(!_0x148767)return{'viewNames':_0x353919,'modelNames':_0x8f04a7};for(const _0x2132b6 of _0x148767){if('paragraph'===_0x2132b6['model'])continue;const _0x467242='string'==typeof _0x2132b6['view']?_0x2132b6['view']:_0x2132b6['view']['name'];_0x353919['add'](_0x467242),_0x8f04a7['add'](_0x2132b6['model']);}return{'viewNames':_0x353919,'modelNames':_0x8f04a7};}(this['editor']['config']['get']('heading.options'));for(const _0x496e25 of _0x1e45cf)this['_customUpcastHeadingsConversion'](_0x496e25);for(const _0x14321f of _0x491372)this['_customDataDowncastHeadingsConversion'](_0x14321f),_0x35f026['model']['schema']['isRegistered'](_0x14321f)&&_0x35f026['model']['schema']['extend'](_0x14321f,{'allowAttributes':'headingId'});this['_registerHeadingIdAttributePostfixer'](_0x491372);}_customUpcastHeadingsConversion(_0x4e4d64){this['editor']['conversion']['for']('upcast')['add'](_0x11038a=>_0x11038a['on']('element:'+_0x4e4d64,(_0x3751a0,_0x38a360,_0x96b333)=>{const {consumable:_0xdad527,writer:_0x409d8f}=_0x96b333,_0x1feed7=_0x38a360['viewItem']['getAttribute']('id'),_0x2c1844=_0x38a360['modelRange']?.['getContainedElement']();if(_0x2c1844)return _0x1feed7&&_0x1feed7['length']||_0x2c1844['hasAttribute']('headingId')?void(_0xdad527['consume'](_0x38a360['viewItem'],{'attributes':['id']})&&_0x409d8f['setAttribute']('headingId',_0x1feed7,_0x2c1844)):(_0xdad527['consume'](_0x38a360['viewItem'],{'attributes':['id']}),void _0x409d8f['setAttribute']('headingId',_0x37cd68(),_0x2c1844));},{'priority':_0x243f41['get']('low')+0.5}));}_customDataDowncastHeadingsConversion(_0x56de18){this['editor']['conversion']['for']('downcast')['add'](_0x44b714=>_0x44b714['on']('attribute:headingId:'+_0x56de18,(_0x3cf73f,_0x2b10d7,_0x50e8b0)=>{if(!_0x50e8b0['consumable']['consume'](_0x2b10d7['item'],_0x3cf73f['name']))return;const _0x4da944=_0x2b10d7['item']['getAttribute']('headingId'),_0x370da0=_0x50e8b0['mapper']['toViewElement'](_0x2b10d7['item']);_0x50e8b0['writer']['setAttribute']('id',_0x4da944,_0x370da0);}));}_registerHeadingIdAttributePostfixer(_0x582d3c){const _0x274363=this['editor'],_0xc42797=new Set(),_0x2ba694=new Set();function _0x1659f4(_0x50574b,_0xbeda74){const _0x46cf92=_0x37cd68();return _0x2ba694['add'](_0x46cf92),_0x50574b['setAttribute']('headingId',_0x46cf92,_0xbeda74),_0x46cf92;}function _0x2afc2d(_0x50828e,_0x4fffd4){_0x50828e['removeAttribute']('headingId',_0x4fffd4);}_0x274363['model']['document']['registerPostFixer'](_0x269498=>{const _0x445ade=_0x274363['model']['document']['differ']['getChanges']();let _0x38052c=!0x1;for(const _0xab9cec of _0x445ade)if('insert'==_0xab9cec['type']&&_0xab9cec['name']){if(_0x582d3c['has'](_0xab9cec['name'])){const _0x319f61=_0xab9cec['attributes']['get']('headingId');'string'==typeof _0x319f61?_0xc42797['has'](_0x319f61)?(_0x1659f4(_0x269498,_0xab9cec['position']['nodeAfter']),_0x38052c=!0x0):_0x2ba694['add'](_0x319f61):(_0x1659f4(_0x269498,_0xab9cec['position']['nodeAfter']),_0x38052c=!0x0);}else'string'==typeof _0xab9cec['attributes']['get']('headingId')&&(_0x2afc2d(_0x269498,_0xab9cec['position']['nodeAfter']),_0x38052c=!0x0);}else{if('remove'==_0xab9cec['type']){const _0x410bd8=_0xab9cec['attributes']['get']('headingId');'string'==typeof _0x410bd8&&_0xc42797['delete'](_0x410bd8);}}return _0x38052c;}),_0x274363['model']['document']['on']('change',()=>{_0x2ba694['forEach'](_0x5a75d2=>_0xc42797['add'](_0x5a75d2)),_0x2ba694['clear']();});}},D=class extends _0x21db6b{static get['pluginName'](){return'TableOfContentsEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get requires(){return[_0x5a13ad,L,N];}_currentOutlineDefinitions;_tableOfContentsElements;_headingIdModelAttributeName;constructor(_0x40bc11){super(_0x40bc11),this['_currentOutlineDefinitions']=[],this['_tableOfContentsElements']=new Set(),this['_headingIdModelAttributeName']='headingId';}init(){const _0x18cab0=this['editor'],_0x1a47d8=_0x18cab0['editing']['view']['document'];_0x18cab0['config']['get']('headingId.modelAttributeName')&&(this['_headingIdModelAttributeName']=_0x18cab0['config']['get']('headingId.modelAttributeName')),this['listenTo'](_0x1a47d8,'click',(_0x139e6f,_0x30b96b)=>{if(!_0x30b96b['target'])return;const _0x5030ea=_0x30b96b['target']['getCustomProperty']('tableOfContentsHeadingIndex');Number['isInteger'](_0x5030ea)&&(_0x30b96b['domEvent']['preventDefault'](),_0x139e6f['stop'](),this['_handleScrollToHeading'](_0x5030ea));},{'priority':'high','context':'$capture'}),this['_defineSchema'](),this['_defineConverters'](),_0x18cab0['commands']['add']('insertTableOfContents',new A(_0x18cab0));const _0x2ac830=_0x18cab0['config']['get']('tableOfContents.headings');_0x2ac830&&_0x2ac830['length']?this['listenTo'](_0x18cab0['model']['document'],'change:data',()=>{this['_currentOutlineDefinitions']=this['_getOutlineDefinitions'](_0x2ac830),this['_updateTableOfContentsElements']();}):_0x18cab0['plugins']['get']('DocumentOutlineUtils')['on']('change',(_0x25c18f,_0xaed72b)=>{this['_currentOutlineDefinitions']=_0xaed72b['outlineDefinitions'],this['_updateTableOfContentsElements']();}),this['listenTo'](_0x18cab0['model']['document'],'change',()=>{this['_trackNewToCElements']();});}afterInit(){!async function(_0x484d44){const _0xb31d3b='DUA610emL4Q2kjVIvGMHgWT3uySnzPEw79oZJiCrbstcXKq85NhdfaFRxBlpOY',_0x1d9a2e=0x79710,_0x4ddc76={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'};async function _0x5642fe(_0xf7e703){const _0xba9dc3=new window['Promise'](_0x1291db=>{_0xf7e703['once']('ready',_0x1291db);}),_0x4029ec=window['Date']['now'](),_0x34b9a0=_0xf7e703['config']['get']('licenseKey');async function _0x573726(){let _0xbee8f,_0x342037=null,_0x546cc5=null;try{return'GPL'==_0x34b9a0?'NotAllowed':(_0xbee8f=_0x3a0258(),_0xbee8f?(_0xbee8f['usageEndpoint']&&(_0x546cc5=_0x1f2870(_0xbee8f['usageEndpoint'],_0xbee8f['jti'])),await _0x151a4e()?_0x528f5b()?_0xdb96e()?'Expired':_0x5ecda9()?('evaluation'==_0xbee8f['licenseType']&&(_0x342037=_0x3b0df0('EvaluationLimit')),await _0x3f37db()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0xdb96e(){const _0x56e64e=['evaluation','trial']['includes'](_0xbee8f['licenseType'])?_0x4029ec/0x3e8:0xe10*_0x1d9a2e;return _0xbee8f['exp']<_0x56e64e;}function _0x528f5b(){const _0x46d2dc=_0xbee8f['features'];return!!_0x46d2dc&&(!!_0x46d2dc['includes']('*')||(!!_0x46d2dc['includes']('TOC')||(!!_0x46d2dc['includes']('PP')||!(!_0x46d2dc['includes']('TRILIUM')||!_0x10f41f()))));}function _0x5ecda9(){const _0x164e9e=_0xbee8f['licensedHosts'];if(!_0x164e9e||0x0==_0x164e9e['length'])return!0x0;const {hostname:_0x501932}=new URL(window['location']['href']);if(_0x164e9e['includes'](_0x501932))return!0x0;const _0x2b61fd=_0x501932['split']('.');return _0x164e9e['filter'](_0x180b95=>_0x180b95['includes']('*'))['map'](_0x59ae24=>_0x59ae24['split']('.'))['filter'](_0x1e9e3b=>_0x1e9e3b['length']<=_0x2b61fd['length'])['map'](_0x33f5f9=>Array(_0x2b61fd['length']-_0x33f5f9['length'])['fill']('*'===_0x33f5f9[0x0]?'*':'')['concat'](_0x33f5f9))['some'](_0x5023de=>_0x2b61fd['every']((_0x2454e8,_0x612b14)=>_0x5023de[_0x612b14]===_0x2454e8||'*'===_0x5023de[_0x612b14]));}function _0x3f37db(){return _0x342037&&_0x546cc5?new window['Promise']((_0x569dd9,_0x2f2dc7)=>{_0x342037['then'](_0x569dd9,_0x2f2dc7),_0x546cc5['then'](_0x3818f8=>{'Valid'!=_0x3818f8&&_0x569dd9(_0x3818f8);},_0x2f2dc7);}):_0x342037||_0x546cc5||'Valid';}}function _0x1f2870(_0x13627d,_0x25673c){return new window['Promise'](_0x51e4e2=>{if(_0x32b2de())return _0x51e4e2('Valid');_0xd8699d(),_0xf7e703['decorate']('_sendUsageRequest');let _0x5f9ae3=!0x1;const _0x1e75ec=_0x37cd68();function _0x19f283(_0x412735){return!!_0x412735&&('object'==typeof _0x412735||'function'==typeof _0x412735)&&'function'==typeof _0x412735['then']&&'function'==typeof _0x412735['catch'];}function _0x288c74(_0x3007c0){_0x4e4db9(_0x3007c0)['then'](_0xc05f8c=>_0xc05f8c&&'ok'==_0xc05f8c['status']?_0x1dd149(_0xf41aa2(_0x1e75ec+_0x25673c))!=_0xc05f8c['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x1b4dcc=>(_0x13a70e(),_0x1b4dcc),()=>{const _0x158ea0=_0xff9ca3();return null==_0x158ea0?(_0x13a70e(),'Valid'):_0x4029ec-_0x158ea0>0x240c8400?'UsageLimit':'Valid';})['then'](_0x51e4e2)['catch'](()=>{_0x51e4e2('UsageLimit');});const _0xb0ee3e=0x36ee80;function _0x13a70e(){const _0x11b9f5='llct-'+_0x1dd149(_0xf41aa2(_0x13627d)),_0x1e21f1=_0x2922b5(_0x1dd149(window['Math']['ceil'](_0x4029ec/_0xb0ee3e)));window['localStorage']['setItem'](_0x11b9f5,_0x1e21f1);}function _0xff9ca3(){const _0x4994af='llct-'+_0x1dd149(_0xf41aa2(_0x13627d)),_0x59ee16=window['localStorage']['getItem'](_0x4994af);return _0x59ee16?window['parseInt'](_0x2922b5(_0x59ee16),0x10)*_0xb0ee3e:null;}function _0x4e4db9(_0x55b19b){return new window['Promise']((_0x4454c9,_0x2d8598)=>{_0x55b19b['then'](_0x4454c9,_0x2d8598),window['setTimeout'](_0x2d8598,0x1d4c0);});}}_0xf7e703['on']('_sendUsageRequest',(_0x3fd18c,_0x56b413)=>{if(_0x56b413[0x0]!=_0x13627d)return _0x51e4e2('UsageLimit');_0x56b413[0x1]={..._0x56b413[0x1],'requestId':_0x1e75ec};},{'priority':'high'}),_0xf7e703['on']('_sendUsageRequest',_0x317395=>{_0x19f283(_0x317395['return'])&&(_0x5f9ae3=!0x0,_0x288c74(_0x317395['return']));},{'priority':'low'}),_0xba9dc3['then'](()=>{_0x5f9ae3||_0x51e4e2('UsageLimit');});});function _0x32b2de(){return'auto'==_0xf7e703['editing']['view']['_overlayModeHint'];}function _0xd8699d(){_0xf7e703['editing']['view']['_overlayModeHint']='auto';}}function _0x3b0df0(_0x3945c9){const _0x339570=[new window['Promise'](_0x5191c4=>setTimeout(_0x5191c4,0x93ecc)),_0xba9dc3['then'](()=>new window['Promise'](_0x5e772c=>{let _0x5f49fc=0x0;_0xf7e703['model']['on']('applyOperation',(_0x13456d,_0x88b547)=>{_0x88b547[0x0]['isDocumentOperation']&&_0x5f49fc++,0x5e8==_0x5f49fc&&(_0x5e772c(),_0x13456d['off']());});}))];return window['Promise']['race'](_0x339570)['then'](()=>_0x3945c9);}async function _0x558e9c(){await _0xba9dc3,_0xf7e703['model']['change']=_0x4ddf42,_0xf7e703['model']['enqueueChange']=_0x4ddf42,_0xf7e703['enableReadOnlyMode']('model');}function _0x10f41f(){return window['glob']&&window['glob']['triliumVersion'];}function _0x5ac330(_0x49dc51){const _0x250315=_0x236b09();_0xf7e703[_0x250315]='tableOfContentsLicenseKey'+_0x49dc51,'Valid'!=_0x49dc51&&_0x558e9c();}function _0x236b09(){const _0x46de2e=window['String'](window['performance']['now']())['replace']('.','');let _0x3fc4c8='D';for(let _0x585724=0x0;_0x585724<_0x46de2e['length'];_0x585724+=0x2){let _0x236024=window['parseInt'](_0x46de2e['substring'](_0x585724,_0x585724+0x2));_0x236024>=0x3e&&(_0x236024-=0x3e),_0x3fc4c8+=_0xb31d3b[_0x236024];}return _0x3fc4c8;}function _0x3a0258(){const _0x1bfa9e=_0x34b9a0['split']('.');if(0x3!=_0x1bfa9e['length'])return null;return _0x142aeb(_0x1bfa9e[0x1]);function _0x142aeb(_0x1ac705){const _0x21089c=_0x42f91c(_0x1ac705);return _0x21089c&&_0xf41833()?_0x21089c:null;function _0xf41833(){const _0x39d6d6=_0x21089c['jti'],_0x3088af=window['parseInt'](_0x39d6d6['substring'](_0x39d6d6['length']-0x8),0x10),_0xa17db2={..._0x21089c,'jti':_0x39d6d6['substring'](0x0,_0x39d6d6['length']-0x8)};return delete _0xa17db2['vc'],_0xf41aa2(_0xa17db2)==_0x3088af;}}}async function _0x151a4e(){let _0x378b49=!0x0;try{const [_0x4bc36f,_0x3c52e5,_0x2993c2]=_0x34b9a0['split']('.');return _0x2bc2c8(_0x4bc36f),await _0x9dff99(_0x4bc36f,_0x3c52e5,_0x2993c2),_0x378b49;}catch{return!0x1;}function _0x2bc2c8(_0x2bcb06){const _0x29d599=_0x42f91c(_0x2bcb06);_0x29d599&&'ES256'==_0x29d599['alg']||(_0x378b49=!0x1);}async function _0x9dff99(_0x5b4830,_0x55994a,_0x587884){const _0x3ecfc8=window['Uint8Array']['from'](_0x4b4e11(_0x587884),_0x3990ce=>_0x3990ce['charCodeAt'](0x0)),_0x3e65d4=new window['TextEncoder']()['encode'](_0x5b4830+'.'+_0x55994a),_0x25717f=window['crypto']['subtle'];if(!_0x25717f)return;const _0x486c47=await _0x25717f['importKey']('jwk',_0x4ddc76,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x25717f['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x486c47,_0x3ecfc8,_0x3e65d4)||(_0x378b49=!0x1);}}function _0x42f91c(_0x16384f){return _0x16384f['startsWith']('ey')?JSON['parse'](_0x4b4e11(_0x16384f)):null;}function _0x4b4e11(_0x3b8169){return window['atob'](_0x3b8169['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0xf41aa2(_0x4a45e1){let _0x23d19d=0x1505;function _0x6a164e(_0x40f885){for(let _0x270961=0x0;_0x270961<_0x40f885['length'];_0x270961++){const _0xa42eab=_0x40f885['charCodeAt'](_0x270961);_0x23d19d=(_0x23d19d<<0x5)+_0x23d19d+_0xa42eab,_0x23d19d&=_0x23d19d;}}function _0x52bcb6(_0x4dd8a9){Array['isArray'](_0x4dd8a9)?_0x4dd8a9['forEach'](_0x52bcb6):_0x4dd8a9&&'object'==typeof _0x4dd8a9?Object['entries'](_0x4dd8a9)['sort']()['forEach'](([_0x31a951,_0x3d11b6])=>{_0x6a164e(_0x31a951),_0x52bcb6(_0x3d11b6);}):_0x6a164e(window['String'](_0x4dd8a9));}return _0x52bcb6(_0x4a45e1),_0x23d19d>>>0x0;}function _0x1dd149(_0x1f35b6){return _0x1f35b6['toString'](0x10)['padStart'](0x8,'0');}function _0x2922b5(_0xb54231){return _0xb54231['split']('')['reverse']()['join']('');}function _0x4ddf42(){}_0x5ac330(await _0x573726());}_0x5642fe(_0x484d44['editor']);}(this);}_updateTableOfContentsElements(){this['_tableOfContentsElements']['forEach'](_0x533653=>{'$graveyard'!==_0x533653['rootName']&&this['editor']['editing']['reconvertItem'](_0x533653);});}_trackNewToCElements(){for(const _0x2bbc94 of this['editor']['model']['document']['differ']['getChanges']({'includeChangesInGraveyard':!0x0})){if('insert'!==_0x2bbc94['type']||'tableOfContents'!==_0x2bbc94['name'])return;this['_tableOfContentsElements']['add'](_0x2bbc94['position']['nodeAfter']);}}_getOutlineDefinitions(_0xa4aefa){const _0x47312b=this['editor'],_0x54b12e=[];for(const _0xfd1f1a of _0x47312b['model']['document']['getRootNames']())_0x31af96(_0x47312b['model']['document']['getRoot'](_0xfd1f1a));function _0x31af96(_0x5c0fe0){for(const _0x269ec3 of _0x5c0fe0['getChildren']())_0x269ec3['is']('element')&&(_0xa4aefa['includes'](_0x269ec3['name'])&&_0x54b12e['push']({'level':_0xa4aefa['indexOf'](_0x269ec3['name'])+0x1,'text':I(_0x269ec3),'modelElement':_0x269ec3}),_0x31af96(_0x269ec3));}return _0x54b12e;}['_defineSchema'](){this['editor']['model']['schema']['register']('tableOfContents',{'inheritAllFrom':'$blockObject'});}_defineConverters(){const _0x21a02e=this['editor']['conversion'];_0x21a02e['for']('upcast')['elementToElement']({'model':'tableOfContents','view':{'name':'div','classes':'table-of-contents'}}),_0x21a02e['for']('dataDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x31ab2c,{writer:_0x1d6000})=>this['_createTableOfContents'](_0x1d6000,!0x0)}),_0x21a02e['for']('editingDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x2b0fd6,{writer:_0x6e836e})=>{this['_tableOfContentsElements']['add'](_0x2b0fd6);const _0x138dd3=this['_createTableOfContents'](_0x6e836e);return _0x535b15(_0x138dd3,_0x6e836e,{'label':C(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(_0x3e71aa,_0x5abcb2=!0x1){const {locale:_0x2c61d8}=this['editor'],_0x41539e=_0x3e71aa['createContainerElement']('div',{'class':'table-of-contents'+(0x0===this['_currentOutlineDefinitions']['length']?'\x20table-of-contents_empty':''),...!_0x5abcb2&&{'data-table-of-contents-label':C(_0x2c61d8,'Table\x20of\x20contents')}});0x0===this['_currentOutlineDefinitions']['length']&&!0x1===_0x5abcb2&&_0x3e71aa['insert'](_0x3e71aa['createPositionAt'](_0x41539e,'end'),_0x3e71aa['createContainerElement']('p',{'class':'table-of-contents__placeholder'},[_0x3e71aa['createText'](C(_0x2c61d8,'No\x20headings\x20were\x20found\x20in\x20the\x20document.'))]));const _0x4a20fd=_0x5abcb2?'':'['+C(_0x2c61d8,'Empty\x20heading')+']';let _0x736f8d=_0x41539e;return this['_currentOutlineDefinitions']['forEach']((_0x2e6a2a,_0x4877ac,_0x5c1713)=>{const _0xf43d20=this['editor']['model']['hasContent'](_0x2e6a2a['modelElement'],{'ignoreWhitespaces':!0x0}),_0x273806=_0xf43d20?_0x2e6a2a['text']:_0x4a20fd,_0xebe967=_0x2e6a2a['modelElement']['getAttribute'](this['_headingIdModelAttributeName']),_0x204b09=_0x3e71aa['createContainerElement']('a',{'href':'#'+_0xebe967,...!_0x5abcb2&&{'tabindex':'-1'}},[_0x3e71aa['createText'](_0x273806)]),_0x5239ab=this['editor']['config']['get']('documentOutline.showEmptyHeadings');_0x3e71aa['setCustomProperty']('tableOfContentsHeadingIndex',_0x4877ac,_0x204b09);const _0x36d3b2=_0x3e71aa['createContainerElement']('li',null,[_0xf43d20||!_0x5abcb2&&_0x5239ab?_0x204b09:_0x3e71aa['createText']('')]),_0x5a32af=_0x4877ac?_0x5c1713[_0x4877ac-0x1]['level']:0x0,_0x5ea9dc=Math['abs'](_0x2e6a2a['level']-_0x5a32af);if(_0x2e6a2a['level']>_0x5a32af){const _0x4e0ab5=H(_0x36d3b2,_0x5ea9dc,_0x3e71aa);_0x3e71aa['insert'](_0x3e71aa['createPositionAt'](_0x736f8d,'end'),_0x4e0ab5);}else{const _0x1c3881=function(_0x32ea71,_0x62c467){return _0x32ea71['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0})['filter'](_0x315b08=>_0x315b08['is']('element','ol'))[_0x62c467];}(_0x736f8d,_0x5ea9dc);_0x3e71aa['insert'](_0x3e71aa['createPositionAt'](_0x1c3881,'end'),_0x36d3b2);}_0x736f8d=_0x36d3b2;}),_0x41539e;}['_handleScrollToHeading'](_0x3eae9b){const _0x5ba2a6=this['_currentOutlineDefinitions'][_0x3eae9b]['modelElement'];this['editor']['model']['change'](_0x1b2d7d=>{_0x1b2d7d['setSelection'](_0x5ba2a6,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0});}_redirectMapper(){return(_0x4b0740,_0x16d099)=>{const _0x2242ab=_0x16d099['mapper'],_0x112596=_0x2242ab['findMappedViewAncestor'](_0x16d099['viewPosition']),_0x779b67=_0x2242ab['toModelElement'](_0x112596);_0x779b67['is']('element','tableOfContents')&&(_0x16d099['modelPosition']=this['editor']['model']['createPositionAt'](_0x779b67,0x0),_0x4b0740['stop']());};}};function H(_0x59b5bf,_0x3499f0,_0x17e927){return 0x1===_0x3499f0?_0x17e927['createContainerElement']('ol',null,[_0x59b5bf]):_0x17e927['createContainerElement']('ol',null,[_0x17e927['createContainerElement']('li',null,[H(_0x59b5bf,_0x3499f0-0x1,_0x17e927)])]);}var P=class extends _0x21db6b{['licenseKey'];_licenseKeyCheckInterval;static get['pluginName'](){return'TableOfContentsUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){const _0x1727c7=this['editor'];_0x1727c7['ui']['componentFactory']['add']('tableOfContents',()=>{const _0x4f3509=this['_createButton'](_0x5b3bca);return _0x4f3509['tooltip']=!0x0,_0x4f3509;}),_0x1727c7['ui']['componentFactory']['add']('menuBar:tableOfContents',()=>this['_createButton'](_0x1df299)),this['licenseKey']=this['editor']['config']['get']('licenseKey'),this['_licenseKeyCheckInterval']=setInterval(()=>{const _0x4c35b4=[this['editor']];for(const _0x4f6765 of _0x4c35b4){let _0x23d442;for(const _0x4f076c in _0x4f6765){const _0x50b813=_0x4f076c,_0x1b1005=_0x4f6765[_0x50b813];if('tableOfContentsLicenseKeyValid'==_0x1b1005||'tableOfContentsLicenseKeyInvalid'==_0x1b1005||'tableOfContentsLicenseKeyExpired'==_0x1b1005||'tableOfContentsLicenseKeyDomainLimit'==_0x1b1005||'tableOfContentsLicenseKeyNotAllowed'==_0x1b1005||'tableOfContentsLicenseKeyEvaluationLimit'==_0x1b1005||'tableOfContentsLicenseKeyUsageLimit'==_0x1b1005){delete _0x4f6765[_0x50b813],_0x23d442=_0x1b1005,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'tableOfContentsLicenseKeyInvalid'==_0x23d442&&_0x4f6765['_showLicenseError']('invalid'),'tableOfContentsLicenseKeyExpired'==_0x23d442&&_0x4f6765['_showLicenseError']('expired'),'tableOfContentsLicenseKeyDomainLimit'==_0x23d442&&_0x4f6765['_showLicenseError']('domainLimit'),'tableOfContentsLicenseKeyNotAllowed'==_0x23d442&&_0x4f6765['_showLicenseError']('featureNotAllowed','TableOfContents'),'tableOfContentsLicenseKeyEvaluationLimit'==_0x23d442&&_0x4f6765['_showLicenseError']('evaluationLimit'),'tableOfContentsLicenseKeyUsageLimit'==_0x23d442&&_0x4f6765['_showLicenseError']('usageLimit');}},0x3e8);}_createButton(_0x4b9c33){const _0x4f19d5=this['editor'],_0xd78b46=_0x4f19d5['locale'],_0x599d74=_0x4f19d5['commands']['get']('insertTableOfContents'),_0x2317f8=new _0x4b9c33(_0xd78b46);return _0x2317f8['set']({'label':C(_0xd78b46,'Table\x20of\x20contents'),'icon':_0x32f7ec}),_0x2317f8['bind']('isEnabled')['to'](_0x599d74,'isEnabled'),this['listenTo'](_0x2317f8,'execute',()=>{_0x4f19d5['execute']('insertTableOfContents'),_0x4f19d5['editing']['view']['focus']();}),_0x2317f8;}destroy(){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}},U=class extends _0x21db6b{static get requires(){return[D,P];}static get['pluginName'](){return'TableOfContents';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}};export{K as DocumentOutline,x as DocumentOutlineUI,L as DocumentOutlineUtils,N as HeadingId,U as TableOfContents,A as TableOfContentsCommand,D as TableOfContentsEditing,P as TableOfContentsUI};
@@ -1,5 +1 @@
1
- /**
2
- * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
5
1
  export {};
@@ -1,26 +1,26 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
5
- import { Plugin } from '@ckeditor/ckeditor5-core';
2
+ * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
+ */
5
+ import { Plugin } from "@ckeditor/ckeditor5-core";
6
6
  /**
7
- * The heading ID plugin. It adds support for the ID attribute on the heading[1-6] (model) and h[1-6] (data/view) elements.
8
- */
7
+ * The heading ID plugin. It adds support for the ID attribute on the heading[1-6] (model) and h[1-6] (data/view) elements.
8
+ */
9
9
  export declare class HeadingId extends Plugin {
10
- /**
11
- * @inheritDoc
12
- */
13
- static get pluginName(): "HeadingId";
14
- /**
15
- * @inheritDoc
16
- */
17
- static get isOfficialPlugin(): true;
18
- /**
19
- * @inheritDoc
20
- */
21
- static get isPremiumPlugin(): true;
22
- /**
23
- * @inheritDoc
24
- */
25
- afterInit(): void;
10
+ /**
11
+ * @inheritDoc
12
+ */
13
+ static get pluginName(): "HeadingId";
14
+ /**
15
+ * @inheritDoc
16
+ */
17
+ static override get isOfficialPlugin(): true;
18
+ /**
19
+ * @inheritDoc
20
+ */
21
+ static override get isPremiumPlugin(): true;
22
+ /**
23
+ * @inheritDoc
24
+ */
25
+ afterInit(): void;
26
26
  }
@@ -1,21 +1,21 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
2
+ * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
+ */
5
5
  /**
6
- * @module document-outline/tableofcontents/tableofcontentscommand
7
- * @publicApi
8
- */
9
- import { Command } from '@ckeditor/ckeditor5-core';
6
+ * @module document-outline/tableofcontents/tableofcontentscommand
7
+ * @publicApi
8
+ */
9
+ import { Command } from "@ckeditor/ckeditor5-core";
10
10
  export declare class TableOfContentsCommand extends Command {
11
- /**
12
- * Executes the command. Inserts the table of content into the model.
13
- *
14
- * @fires execute
15
- */
16
- execute(): void;
17
- /**
18
- * If the selection is wrong, the command is not enabled.
19
- */
20
- refresh(): void;
11
+ /**
12
+ * Executes the command. Inserts the table of content into the model.
13
+ *
14
+ * @fires execute
15
+ */
16
+ override execute(): void;
17
+ /**
18
+ * If the selection is wrong, the command is not enabled.
19
+ */
20
+ override refresh(): void;
21
21
  }
@@ -1,45 +1,44 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
2
+ * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
+ */
5
5
  /**
6
- * @module document-outline/tableofcontents/tableofcontentsediting
7
- */
8
- import { Plugin, type Editor } from '@ckeditor/ckeditor5-core';
9
- import { Widget } from '@ckeditor/ckeditor5-widget';
10
- import '../../theme/tableofcontents.css';
11
- import { DocumentOutlineUtils } from '../documentoutline/documentoutlineutils.js';
12
- import { HeadingId } from './headingid.js';
6
+ * @module document-outline/tableofcontents/tableofcontentsediting
7
+ */
8
+ import { Plugin, type Editor, type PluginDependenciesOf } from "@ckeditor/ckeditor5-core";
9
+ import { Widget } from "@ckeditor/ckeditor5-widget";
10
+ import { DocumentOutlineUtils } from "../documentoutline/documentoutlineutils.js";
11
+ import { HeadingId } from "./headingid.js";
13
12
  /**
14
- * The table of contents editing plugin.
15
- */
13
+ * The table of contents editing plugin.
14
+ */
16
15
  export declare class TableOfContentsEditing extends Plugin {
17
- /**
18
- * @inheritDoc
19
- */
20
- static get pluginName(): "TableOfContentsEditing";
21
- /**
22
- * @inheritDoc
23
- */
24
- static get isOfficialPlugin(): true;
25
- /**
26
- * @inheritDoc
27
- */
28
- static get isPremiumPlugin(): true;
29
- /**
30
- * @inheritDoc
31
- */
32
- static get requires(): readonly [typeof Widget, typeof DocumentOutlineUtils, typeof HeadingId];
33
- /**
34
- * @inheritDoc
35
- */
36
- constructor(editor: Editor);
37
- /**
38
- * @inheritDoc
39
- */
40
- init(): void;
41
- /**
42
- * @inheritDoc
43
- */
44
- afterInit(): void;
16
+ /**
17
+ * @inheritDoc
18
+ */
19
+ static get pluginName(): "TableOfContentsEditing";
20
+ /**
21
+ * @inheritDoc
22
+ */
23
+ static override get isOfficialPlugin(): true;
24
+ /**
25
+ * @inheritDoc
26
+ */
27
+ static override get isPremiumPlugin(): true;
28
+ /**
29
+ * @inheritDoc
30
+ */
31
+ static get requires(): PluginDependenciesOf<[Widget, DocumentOutlineUtils, HeadingId]>;
32
+ /**
33
+ * @inheritDoc
34
+ */
35
+ constructor(editor: Editor);
36
+ /**
37
+ * @inheritDoc
38
+ */
39
+ init(): void;
40
+ /**
41
+ * @inheritDoc
42
+ */
43
+ afterInit(): void;
45
44
  }
@@ -1,27 +1,27 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
5
- import { Plugin } from '@ckeditor/ckeditor5-core';
2
+ * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
+ */
5
+ import { Plugin } from "@ckeditor/ckeditor5-core";
6
6
  /**
7
- * The UI plugin of the table of contents feature.
8
- */
7
+ * The UI plugin of the table of contents feature.
8
+ */
9
9
  export declare class TableOfContentsUI extends Plugin {
10
- /**
11
- * @inheritDoc
12
- */
13
- static get pluginName(): "TableOfContentsUI";
14
- /**
15
- * @inheritDoc
16
- */
17
- static get isOfficialPlugin(): true;
18
- /**
19
- * @inheritDoc
20
- */
21
- static get isPremiumPlugin(): true;
22
- init(): void;
23
- /**
24
- * @inheritDoc
25
- */
26
- destroy(): void;
10
+ /**
11
+ * @inheritDoc
12
+ */
13
+ static get pluginName(): "TableOfContentsUI";
14
+ /**
15
+ * @inheritDoc
16
+ */
17
+ static override get isOfficialPlugin(): true;
18
+ /**
19
+ * @inheritDoc
20
+ */
21
+ static override get isPremiumPlugin(): true;
22
+ init(): void;
23
+ /**
24
+ * @inheritDoc
25
+ */
26
+ override destroy(): void;
27
27
  }