@ckeditor/ckeditor5-document-outline 48.4.0-alpha.2 → 48.4.0-alpha.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +8 -8
package/dist/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Command as _0x28391b,Plugin as _0x51ad75}from'@ckeditor/ckeditor5-core';import{debounce as _0x380861,throttle as _0x3ba376}from'es-toolkit/compat';import{ModelText as _0x7a38b9,ModelTreeWalker as _0x220bc5}from'@ckeditor/ckeditor5-engine';import{CKEditorError as _0x30b94f,Rect as _0xc990f8,diff as _0x2eddc1,diffToChanges as _0x2d9454,global as _0x37474d,priorities as _0x3d1042,scrollAncestorsToShowTarget as _0x2b2ba8,uid as _0x18aa1b}from'@ckeditor/ckeditor5-utils';import{ButtonView as _0x4f8ab5,MenuBarMenuListItemButtonView as _0x333b82,View as _0x130e92}from'@ckeditor/ckeditor5-ui';import{Widget as _0x4be775,toWidget as _0x4ec223}from'@ckeditor/ckeditor5-widget';import{IconTableOfContents as _0x3a755a}from'@ckeditor/ckeditor5-icons';function b(_0x5e14ef){let _0x2f1988='';for(const _0x23694a of _0x5e14ef['getChildren']())_0x23694a instanceof _0x7a38b9&&(_0x2f1988+=_0x23694a['data']);return _0x2f1988;}var I=class extends _0x51ad75{static get['pluginName'](){return'DocumentOutlineUtils';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['_headingNames']=[];init(){const _0x552d97=this['editor'];this['_headingNames']=this['_getHeadingNames']();let _0x1bab42=[];_0x552d97['model']['document']['on']('change',_0x380861(()=>{const _0x655e38=_0x1bab42;_0x1bab42=this['_getOutlineDefinitions']();const _0x403a90=_0x2d9454(_0x2eddc1(_0x655e38,_0x1bab42,(_0x1d2212,_0x449e88)=>_0x1d2212['level']===_0x449e88['level']&&_0x1d2212['text']===_0x449e88['text']&&_0x1d2212['modelElement']===_0x449e88['modelElement']),_0x1bab42),_0xa6a053=this['_getActiveHeading'](),_0x1cfee8=_0x1bab42['findIndex'](_0x23ec3d=>_0x23ec3d['modelElement']===_0xa6a053);_0x403a90['length']&&this['fire']('change',{'outlineDefinitions':_0x1bab42,'activeItemIndex':_0x1cfee8,'outlineChanges':_0x403a90}),this['fire']('activeItemIndex',{'index':_0x1cfee8});},0xfa,{'leading':!0x0,'trailing':!0x0}));}afterInit(){this['_headingNames']['length']||this['_deriveHeadingElementsFromConversion']();}_getOutlineDefinitions(){const _0x42e891=this['editor'],_0x304f44=[],_0x981d94=this['_headingNames'];for(const _0x1a03f3 of _0x42e891['model']['document']['getRootNames']())_0x4a9bfd(_0x42e891['model']['document']['getRoot'](_0x1a03f3));function _0x4a9bfd(_0x31091e){for(const _0x1abeb3 of _0x31091e['getChildren']())_0x1abeb3['is']('element')&&(_0x981d94['includes'](_0x1abeb3['name'])&&_0x304f44['push']({'level':_0x981d94['indexOf'](_0x1abeb3['name'])+0x1,'text':b(_0x1abeb3),'modelElement':_0x1abeb3}),_0x4a9bfd(_0x1abeb3));}return _0x304f44;}_getActiveHeading(){const _0x5ce6e7=new _0x220bc5({'direction':'backward','startPosition':this['editor']['model']['document']['selection']['getFirstPosition']()});for(const _0x16fa7c of _0x5ce6e7)if(_0x16fa7c['item']['is']('element')&&this['_headingNames']['includes'](_0x16fa7c['item']['name']))return _0x16fa7c['item'];}_getHeadingNames(){const _0x32fd7e=this['editor']['config']['get']('documentOutline.headings');return _0x32fd7e||function(_0x1d6eb9){const _0x28fe7d=_0x1d6eb9['config']['get']('heading.options');return _0x28fe7d?_0x28fe7d['reduce']((_0x4feed2,_0x4adb57)=>('paragraph'!==_0x4adb57['model']&&_0x4feed2['push'](_0x4adb57['model']),_0x4feed2),[]):_0x1d6eb9['plugins']['has']('GeneralHtmlSupport')?['htmlH1','htmlH2','htmlH3','htmlH4','htmlH5','htmlH6']:[];}(this['editor']);}_deriveHeadingElementsFromConversion(){const _0x2bb58d=this['editor'],_0x5f175c=['h1','h2','h3','h4','h5','h6'],_0x97afd6=[];for(const _0x506cfc of _0x5f175c){const _0x43310a=_0x2bb58d['editing']['view']['domConverter']['domToView'](document['createElement'](_0x506cfc)),_0x596ac2=_0x2bb58d['data']['toModel'](_0x43310a)['getChild'](0x0);_0x596ac2?.['is']('element')&&_0x97afd6['push'](_0x596ac2['name']);}this['_headingNames']=_0x97afd6;}};function L(_0x5a956d,_0x3f5a04){const t=_0x5a956d['t'];switch(_0x3f5a04){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 _0x3f5a04;}}var C=class extends _0x130e92{constructor(_0x5a26bf,_0x502d11=!0x1){super(_0x5a26bf);const _0x461888=this['bindTemplate'],_0x4a13dd=_0x502d11?'['+L(_0x5a26bf,'Empty\x20heading')+']':'';this['set']('text',''),this['set']('level',0x1),this['set']('isActive',!0x1),this['bind']('isEmpty')['to'](this,'text',_0x486704=>!_0x486704),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline__item',_0x461888['to']('level',_0x12dccd=>'ck-document-outline__item_level-'+_0x12dccd),_0x461888['if']('isActive','ck-document-outline__item_active'),_0x461888['if']('isEmpty','ck-document-outline__item_empty')],'title':_0x461888['to']('text')},'children':[{'text':_0x461888['to']('text',_0x2a1b07=>_0x2a1b07||_0x4a13dd)}],'on':{'click':_0x461888['to']('click')}});}},_=class extends _0x130e92{items;documentOutlineContainer;showEmptyHeadingText;constructor(_0x1f6aa9,_0x28218a=!0x1,_0x1739cf){super(_0x1f6aa9),this['showEmptyHeadingText']=_0x28218a,this['set']('activeItemIndex',-0x1),this['documentOutlineContainer']=_0x1739cf,this['items']=this['createCollection'](),this['items']['delegate']('click')['to'](this),this['on']('click',this['_handleItemClick']['bind'](this)),this['on']('change:activeItemIndex',(_0x1e6040,_0x298980,_0x4d3c69,_0x4dbb08)=>{this['_setActiveItem'](_0x4dbb08,_0x4d3c69);}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline'],'dir':_0x1f6aa9['contentLanguageDirection'],'data-document-outline-empty-placeholder':L(_0x1f6aa9,'Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.'),'tabindex':-0x1},'children':this['items']});}['sync'](_0x3d134d){_0x3d134d['forEach'](_0x3bed80=>{'insert'==_0x3bed80['type']?this['_insertItem'](_0x3bed80['index'],..._0x3bed80['values']):'delete'==_0x3bed80['type']&&this['_deleteItem'](_0x3bed80['index'],_0x3bed80['howMany']);});}_setActiveItem(_0x54e984,_0x363ba4){if(-0x1!==_0x54e984){const _0x5af04d=this['items']['get'](_0x54e984);_0x5af04d&&(_0x5af04d['isActive']=!0x1);}-0x1!==_0x363ba4&&(this['items']['get'](_0x363ba4)['isActive']=!0x0,this['_scrollToItem'](_0x363ba4));}_insertItem(_0x3351a0,..._0x57ad3c){const _0x27158c=_0x57ad3c['map']((_0x33c930,_0xfaa99f)=>{const _0x43af19=new C(this['locale'],this['showEmptyHeadingText']);return _0x43af19['text']=_0x33c930['text'],_0x43af19['level']=_0x33c930['level'],_0x3351a0+_0xfaa99f===this['activeItemIndex']&&(_0x43af19['isActive']=!0x0),_0x43af19;});this['items']['addMany'](_0x27158c,_0x3351a0);}_deleteItem(_0x203ca0,_0x92a4d3){do{this['items']['remove'](_0x203ca0);}while(--_0x92a4d3);}_handleItemClick(_0x36a5ee){const _0x2a0cda=this['items']['getIndex'](_0x36a5ee['source']);this['fire']('itemSelected',_0x2a0cda);}_scrollToItem(_0x565214){_0x2b2ba8(this['items']['get'](_0x565214)['element'],0x14,this['documentOutlineContainer']);}destroy(){super['destroy'](),this['element']['remove']();}},x=class extends _0x51ad75{['view'];_currentOutlineDefinitions;_updateActiveDefinitionFromViewportThrottled;static get['pluginName'](){return'DocumentOutlineUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x8f1be1){super(_0x8f1be1),this['view']=new _(_0x8f1be1['locale'],this['editor']['config']['get']('documentOutline.showEmptyHeadings'),this['editor']['config']['get']('documentOutline.container')),this['_currentOutlineDefinitions']=[],this['_updateActiveDefinitionFromViewportThrottled']=_0x3ba376(this['_updateActiveDefinitionOnViewportChange']['bind'](this),0x64);}init(){const _0x1316fd=this['editor'],_0x151e39=_0x1316fd['plugins']['get']('DocumentOutlineUtils');let _0x4987f8=!0x1;if(this['view']['render'](),this['editor']['ui']['focusTracker']['add'](this['view']['element']),!_0x1316fd['config']['get']('documentOutline.container'))throw new _0x30b94f('document-outline-container-not-provided',{'editor':_0x1316fd});_0x1316fd['config']['get']('documentOutline.container')['appendChild'](this['view']['element']),_0x151e39['on']('change',this['_handleOutlineChange']['bind'](this)),_0x151e39['on']('activeItemIndex',(_0xba37ed,{index:_0x1c79ec})=>this['_setActiveViewItem'](_0x1c79ec)),this['view']['on']('itemSelected',(_0x104c04,_0x377cd6)=>{_0x4987f8=!0x0,this['_handleItemSelected'](_0x377cd6);}),this['view']['listenTo'](_0x37474d['document'],'scroll',()=>{_0x4987f8?_0x4987f8=!0x1:this['_updateActiveDefinitionFromViewportThrottled']();},{'useCapture':!0x0}),this['view']['listenTo'](_0x37474d['window'],'resize',this['_updateActiveDefinitionFromViewportThrottled'],{'useCapture':!0x0});}afterInit(){!async function(_0x5b0e9e){const _0x4af513='aWxlPG0A3CDdHBsZEqwULojOrgMXVTRvu1bI2487ptzJKQeihfNkYS9n6y5mcF',_0x23bda6=0x79158,_0x52cf24=window['Date']['now'](),_0x541ca8=_0x5b0e9e['editor'],_0x592fd9=new window['Promise'](_0x37208a=>{_0x541ca8['once']('ready',_0x37208a);}),_0x42b081={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0xc0c9a9=_0x541ca8['config']['get']('licenseKey');async function _0x180eaf(){let _0x2a8307,_0x2a74fa=null,_0x46bf2f=null;try{return'GPL'==_0xc0c9a9?'NotAllowed':(_0x2a8307=_0x4275e2(),_0x2a8307?(_0x2a8307['usageEndpoint']&&(_0x46bf2f=_0x5c1a1c(_0x2a8307['usageEndpoint'],_0x2a8307['jti'])),await _0x149dff()?_0x14e256()?_0x3f929c()?'Expired':_0x31bfb7()?('evaluation'==_0x2a8307['licenseType']&&(_0x2a74fa=_0x45368d('EvaluationLimit')),await _0x6b9a42()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x3f929c(){const _0x38ecf9=['evaluation','trial']['includes'](_0x2a8307['licenseType'])?_0x52cf24/0x3e8:0xe10*_0x23bda6;return _0x2a8307['exp']<_0x38ecf9;}function _0x14e256(){const _0x3d0ec4=_0x2a8307['features'];return!!_0x3d0ec4&&(!!_0x3d0ec4['includes']('*')||(!!_0x3d0ec4['includes']('DO')||(!!_0x3d0ec4['includes']('PP')||!(!_0x3d0ec4['includes']('TRILIUM')||!_0x248d74()))));}function _0x31bfb7(){const _0x297d0d=_0x2a8307['licensedHosts'];if(!_0x297d0d||0x0==_0x297d0d['length'])return!0x0;const {hostname:_0x344a5d}=new URL(window['location']['href']);if(_0x297d0d['includes'](_0x344a5d))return!0x0;const _0x514f6f=_0x344a5d['split']('.');return _0x297d0d['filter'](_0x444aff=>_0x444aff['includes']('*'))['map'](_0x235654=>_0x235654['split']('.'))['filter'](_0xbbfdfd=>_0xbbfdfd['length']<=_0x514f6f['length'])['map'](_0x506d2e=>Array(_0x514f6f['length']-_0x506d2e['length'])['fill']('*'===_0x506d2e[0x0]?'*':'')['concat'](_0x506d2e))['some'](_0x521b1b=>_0x514f6f['every']((_0x5f1c4e,_0x52df8e)=>_0x521b1b[_0x52df8e]===_0x5f1c4e||'*'===_0x521b1b[_0x52df8e]));}function _0x6b9a42(){return _0x2a74fa&&_0x46bf2f?new window['Promise']((_0x3c1946,_0x3da67e)=>{_0x2a74fa['then'](_0x3c1946,_0x3da67e),_0x46bf2f['then'](_0x83f211=>{'Valid'!=_0x83f211&&_0x3c1946(_0x83f211);},_0x3da67e);}):_0x2a74fa||_0x46bf2f||'Valid';}}function _0x5c1a1c(_0xdad2d9,_0xb98a06){return new window['Promise'](_0x584514=>{if(_0x442496())return _0x584514('Valid');_0x1ec6b5(),_0x541ca8['decorate']('_sendUsageRequest');let _0x3d375b=!0x1;const _0x3c5556=_0x18aa1b();function _0x58af8b(_0x2255f8){return!!_0x2255f8&&('object'==typeof _0x2255f8||'function'==typeof _0x2255f8)&&'function'==typeof _0x2255f8['then']&&'function'==typeof _0x2255f8['catch'];}function _0x4cbe2e(_0x55b62c){_0x41b9bb(_0x55b62c)['then'](_0x2fe80b=>_0x2fe80b&&'ok'==_0x2fe80b['status']?_0xa27408(_0x34fbf0(_0x3c5556+_0xb98a06))!=_0x2fe80b['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x312328=>(_0x4a7aa9(),_0x312328),()=>{const _0x360deb=_0x276d20();return null==_0x360deb?(_0x4a7aa9(),'Valid'):_0x52cf24-_0x360deb>0x240c8400?'UsageLimit':'Valid';})['then'](_0x584514)['catch'](()=>{_0x584514('UsageLimit');});const _0x28c6cf=0x36ee80;function _0x4a7aa9(){const _0x98e36='llct-'+_0xa27408(_0x34fbf0(_0xdad2d9)),_0x4ba5bd=_0x5dc854(_0xa27408(window['Math']['ceil'](_0x52cf24/_0x28c6cf)));window['localStorage']['setItem'](_0x98e36,_0x4ba5bd);}function _0x276d20(){const _0x36d33b='llct-'+_0xa27408(_0x34fbf0(_0xdad2d9)),_0x52073d=window['localStorage']['getItem'](_0x36d33b);return _0x52073d?window['parseInt'](_0x5dc854(_0x52073d),0x10)*_0x28c6cf:null;}function _0x41b9bb(_0x1f061b){return new window['Promise']((_0x175ff0,_0x12d6f1)=>{_0x1f061b['then'](_0x175ff0,_0x12d6f1),window['setTimeout'](_0x12d6f1,0x1d4c0);});}}_0x541ca8['on']('_sendUsageRequest',(_0x1feda7,_0x4c717d)=>{if(_0x4c717d[0x0]!=_0xdad2d9)return _0x584514('UsageLimit');_0x4c717d[0x1]={..._0x4c717d[0x1],'requestId':_0x3c5556};},{'priority':'high'}),_0x541ca8['on']('_sendUsageRequest',_0xd4e01a=>{_0x58af8b(_0xd4e01a['return'])&&(_0x3d375b=!0x0,_0x4cbe2e(_0xd4e01a['return']));},{'priority':'low'}),_0x592fd9['then'](()=>{_0x3d375b||_0x584514('UsageLimit');});});function _0x442496(){return'auto'==_0x541ca8['editing']['view']['_overlayModeHint'];}function _0x1ec6b5(){_0x541ca8['editing']['view']['_overlayModeHint']='auto';}}function _0x45368d(_0x48ff20){const _0x2df3de=[new window['Promise'](_0x27d4a7=>setTimeout(_0x27d4a7,0x93ecc)),_0x592fd9['then'](()=>new window['Promise'](_0x47a95e=>{let _0x4c526c=0x0;_0x541ca8['model']['on']('applyOperation',(_0x31c6fb,_0x872bce)=>{_0x872bce[0x0]['isDocumentOperation']&&_0x4c526c++,0x5e8==_0x4c526c&&(_0x47a95e(),_0x31c6fb['off']());});}))];return window['Promise']['race'](_0x2df3de)['then'](()=>_0x48ff20);}async function _0x4ac278(){await _0x592fd9,_0x541ca8['model']['change']=_0x53cc63,_0x541ca8['model']['enqueueChange']=_0x53cc63,_0x541ca8['enableReadOnlyMode']('model');}function _0x248d74(){return window['glob']&&window['glob']['triliumVersion'];}function _0x3ae29e(_0x2fba92){const _0x5f34c4=_0x1b8749();_0x541ca8[_0x5f34c4]='documentOutlineLicenseKey'+_0x2fba92,'Valid'!=_0x2fba92&&_0x4ac278();}function _0x1b8749(){const _0x1811ee=window['String'](window['performance']['now']())['replace']('.','');let _0x63fed6='a';for(let _0xe6e2e1=0x0;_0xe6e2e1<_0x1811ee['length'];_0xe6e2e1+=0x2){let _0x1667bd=window['parseInt'](_0x1811ee['substring'](_0xe6e2e1,_0xe6e2e1+0x2));_0x1667bd>=0x3e&&(_0x1667bd-=0x3e),_0x63fed6+=_0x4af513[_0x1667bd];}return _0x63fed6;}function _0x4275e2(){const _0x43dd21=_0xc0c9a9['split']('.');if(0x3!=_0x43dd21['length'])return null;return _0xfde9a8(_0x43dd21[0x1]);function _0xfde9a8(_0x17868c){const _0x58f996=_0x31e23a(_0x17868c);return _0x58f996&&_0x5416dc()?_0x58f996:null;function _0x5416dc(){const _0x2bb6be=_0x58f996['jti'],_0x19604e=window['parseInt'](_0x2bb6be['substring'](_0x2bb6be['length']-0x8),0x10),_0x1615f4={..._0x58f996,'jti':_0x2bb6be['substring'](0x0,_0x2bb6be['length']-0x8)};return delete _0x1615f4['vc'],_0x34fbf0(_0x1615f4)==_0x19604e;}}}async function _0x149dff(){let _0x199ff7=!0x0;try{const [_0x4f11c1,_0x462cf4,_0x51a7c0]=_0xc0c9a9['split']('.');return _0xbddfde(_0x4f11c1),await _0x11e1d9(_0x4f11c1,_0x462cf4,_0x51a7c0),_0x199ff7;}catch{return!0x1;}function _0xbddfde(_0x1699ca){const _0x311921=_0x31e23a(_0x1699ca);_0x311921&&'ES256'==_0x311921['alg']||(_0x199ff7=!0x1);}async function _0x11e1d9(_0x564374,_0x18aa2b,_0x4b484c){const _0x536b4d=window['Uint8Array']['from'](_0x3b79a2(_0x4b484c),_0x570a0c=>_0x570a0c['charCodeAt'](0x0)),_0x159d32=new window['TextEncoder']()['encode'](_0x564374+'.'+_0x18aa2b),_0x66d0e7=window['crypto']['subtle'];if(!_0x66d0e7)return;const _0x4e8f39=await _0x66d0e7['importKey']('jwk',_0x42b081,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x66d0e7['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x4e8f39,_0x536b4d,_0x159d32)||(_0x199ff7=!0x1);}}function _0x31e23a(_0x2c66ce){return _0x2c66ce['startsWith']('ey')?JSON['parse'](_0x3b79a2(_0x2c66ce)):null;}function _0x3b79a2(_0x4b20d3){return window['atob'](_0x4b20d3['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x34fbf0(_0xc571c1){let _0x7f49cf=0x1505;function _0x4e3035(_0x14674b){for(let _0x906072=0x0;_0x906072<_0x14674b['length'];_0x906072++){const _0x285f3c=_0x14674b['charCodeAt'](_0x906072);_0x7f49cf=(_0x7f49cf<<0x5)+_0x7f49cf+_0x285f3c,_0x7f49cf&=_0x7f49cf;}}function _0x49b3a1(_0x1d4881){Array['isArray'](_0x1d4881)?_0x1d4881['forEach'](_0x49b3a1):_0x1d4881&&'object'==typeof _0x1d4881?Object['entries'](_0x1d4881)['sort']()['forEach'](([_0x494b96,_0x5748e6])=>{_0x4e3035(_0x494b96),_0x49b3a1(_0x5748e6);}):_0x4e3035(window['String'](_0x1d4881));}return _0x49b3a1(_0xc571c1),_0x7f49cf>>>0x0;}function _0xa27408(_0x2ea554){return _0x2ea554['toString'](0x10)['padStart'](0x8,'0');}function _0x5dc854(_0x859e0a){return _0x859e0a['split']('')['reverse']()['join']('');}function _0x53cc63(){}_0x3ae29e(await _0x180eaf());}(this);}destroy(){super['destroy'](),this['view']['destroy'](),this['_updateActiveDefinitionFromViewportThrottled']['cancel']();}_handleOutlineChange(_0x212b2f,{outlineDefinitions:_0x45d97d,outlineChanges:_0x20bcb8}){this['_currentOutlineDefinitions']=_0x45d97d,this['view']['sync'](_0x20bcb8);}_setActiveViewItem(_0x5b4927){this['_currentOutlineDefinitions']['length']&&this['_currentOutlineDefinitions'][_0x5b4927]&&(this['view']['activeItemIndex']=_0x5b4927);}_handleItemSelected(_0x258203){const _0x215715=this['_currentOutlineDefinitions'][_0x258203]['modelElement'];this['editor']['model']['change'](_0x27db1c=>{_0x27db1c['setSelection'](_0x215715,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0}),this['editor']['editing']['view']['focus'](),this['_setActiveViewItem'](_0x258203);}_updateActiveDefinitionOnViewportChange(){const _0x49b367=this['editor'];let _0x26d4c3;for(const _0x2316a5 of _0x49b367['model']['document']['getRootNames']()){const _0x4babcf=_0x49b367['editing']['view']['getDomRoot'](_0x2316a5),_0x1aedb7=_0x4babcf&&new _0xc990f8(_0x4babcf)['getVisible']();if(_0x1aedb7){const _0x17ae3e=new _0xc990f8(_0x37474d['window'])['getIntersection'](_0x1aedb7);_0x17ae3e&&(_0x26d4c3=_0x17ae3e['top']+0.25*_0x17ae3e['height']);}}if(void 0x0===_0x26d4c3)return;const _0x54ab07=k(_0x49b367['editing'],this['_currentOutlineDefinitions'],_0x26d4c3);_0x54ab07?this['_setActiveViewItem'](this['_currentOutlineDefinitions']['indexOf'](_0x54ab07)):this['_setActiveViewItem'](-0x1);}};function k(_0x1df6f6,_0xc22ef9,_0x6fa94a,_0x543990=0x0,_0x3b76fc=_0xc22ef9['length']-0x1){const _0x51e4c6=Math['floor'](_0x543990+(_0x3b76fc-_0x543990)/0x2);if(_0x3b76fc>=_0x543990){const _0x334e52=_0xc22ef9[_0x51e4c6],_0x45bea8=_0x1df6f6['mapper']['toViewElement'](_0x334e52['modelElement']);return _0x45bea8?new _0xc990f8(_0x1df6f6['view']['domConverter']['mapViewToDom'](_0x45bea8))['bottom']>_0x6fa94a?k(_0x1df6f6,_0xc22ef9,_0x6fa94a,_0x543990,_0x51e4c6-0x1):k(_0x1df6f6,_0xc22ef9,_0x6fa94a,_0x51e4c6+0x1,_0x3b76fc):null;}return _0x51e4c6<0x0?null:_0xc22ef9[_0x51e4c6];}var E=class extends _0x51ad75{['licenseKey'];_licenseKeyCheckInterval;static get requires(){return[I,x];}static get['pluginName'](){return'DocumentOutline';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x1413da=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x56da68;for(const _0x1ca62b in _0x1413da){const _0x50a27e=_0x1ca62b,_0x4af75d=_0x1413da[_0x50a27e];if('documentOutlineLicenseKeyValid'==_0x4af75d||'documentOutlineLicenseKeyInvalid'==_0x4af75d||'documentOutlineLicenseKeyExpired'==_0x4af75d||'documentOutlineLicenseKeyDomainLimit'==_0x4af75d||'documentOutlineLicenseKeyNotAllowed'==_0x4af75d||'documentOutlineLicenseKeyEvaluationLimit'==_0x4af75d||'documentOutlineLicenseKeyUsageLimit'==_0x4af75d){delete _0x1413da[_0x50a27e],_0x56da68=_0x4af75d,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'documentOutlineLicenseKeyInvalid'==_0x56da68&&_0x1413da['_showLicenseError']('invalid'),'documentOutlineLicenseKeyExpired'==_0x56da68&&_0x1413da['_showLicenseError']('expired'),'documentOutlineLicenseKeyDomainLimit'==_0x56da68&&_0x1413da['_showLicenseError']('domainLimit'),'documentOutlineLicenseKeyNotAllowed'==_0x56da68&&_0x1413da['_showLicenseError']('featureNotAllowed','DocumentOutline'),'documentOutlineLicenseKeyEvaluationLimit'==_0x56da68&&_0x1413da['_showLicenseError']('evaluationLimit'),'documentOutlineLicenseKeyUsageLimit'==_0x56da68&&_0x1413da['_showLicenseError']('usageLimit');},0x3e8);}destroy(){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}},K=class extends _0x28391b{execute(){this['editor']['model']['change'](_0xabf6c8=>{this['editor']['model']['insertObject'](_0xabf6c8['createElement']('tableOfContents'));});}['refresh'](){const _0x379287=this['editor']['model'],_0x1fbfe8=_0x379287['document']['selection']['getFirstPosition']();this['isEnabled']=null!==(_0x1fbfe8&&_0x379287['schema']['findAllowedParent'](_0x1fbfe8,'tableOfContents'));}},A=class extends _0x51ad75{static get['pluginName'](){return'HeadingId';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}afterInit(){const _0x590cbe=this['editor'];if(_0x590cbe['config']['get']('headingId.modelAttributeName'))return;const {viewNames:_0x12f8a1,modelNames:_0x491c59}=function(_0x3c8e1f){const _0x441c66=new Set(['h1','h2','h3','h4','h5','h6']),_0x5e877f=new Set(['heading1','heading2','heading3','heading4','heading5','heading6','htmlH1','htmlH2','htmlH3','htmlH4','htmlH5','htmlH6']);if(!_0x3c8e1f)return{'viewNames':_0x441c66,'modelNames':_0x5e877f};for(const _0x557571 of _0x3c8e1f){if('paragraph'===_0x557571['model'])continue;const _0x33795a='string'==typeof _0x557571['view']?_0x557571['view']:_0x557571['view']['name'];_0x441c66['add'](_0x33795a),_0x5e877f['add'](_0x557571['model']);}return{'viewNames':_0x441c66,'modelNames':_0x5e877f};}(this['editor']['config']['get']('heading.options'));for(const _0x1b7915 of _0x12f8a1)this['_customUpcastHeadingsConversion'](_0x1b7915);for(const _0x3773db of _0x491c59)this['_customDataDowncastHeadingsConversion'](_0x3773db),_0x590cbe['model']['schema']['isRegistered'](_0x3773db)&&_0x590cbe['model']['schema']['extend'](_0x3773db,{'allowAttributes':'headingId'});this['_registerHeadingIdAttributePostfixer'](_0x491c59);}_customUpcastHeadingsConversion(_0x7c84d4){this['editor']['conversion']['for']('upcast')['add'](_0x5e6957=>_0x5e6957['on']('element:'+_0x7c84d4,(_0x2096fa,_0x340512,_0x4e7756)=>{const {consumable:_0xdbc252,writer:_0x28f862}=_0x4e7756,_0x2e40ec=_0x340512['viewItem']['getAttribute']('id'),_0x45131b=_0x340512['modelRange']?.['getContainedElement']();if(_0x45131b)return _0x2e40ec&&_0x2e40ec['length']||_0x45131b['hasAttribute']('headingId')?void(_0xdbc252['consume'](_0x340512['viewItem'],{'attributes':['id']})&&_0x28f862['setAttribute']('headingId',_0x2e40ec,_0x45131b)):(_0xdbc252['consume'](_0x340512['viewItem'],{'attributes':['id']}),void _0x28f862['setAttribute']('headingId',_0x18aa1b(),_0x45131b));},{'priority':_0x3d1042['get']('low')+0.5}));}_customDataDowncastHeadingsConversion(_0x450eca){this['editor']['conversion']['for']('downcast')['add'](_0x28109b=>_0x28109b['on']('attribute:headingId:'+_0x450eca,(_0x1e017a,_0x75c4fb,_0x445104)=>{if(!_0x445104['consumable']['consume'](_0x75c4fb['item'],_0x1e017a['name']))return;const _0x3f633f=_0x75c4fb['item']['getAttribute']('headingId'),_0x5ccab7=_0x445104['mapper']['toViewElement'](_0x75c4fb['item']);_0x445104['writer']['setAttribute']('id',_0x3f633f,_0x5ccab7);}));}_registerHeadingIdAttributePostfixer(_0x2ec49c){const _0x229d2b=this['editor'],_0x59798d=new Set(),_0x4cc692=new Set();function _0x278588(_0x163d59,_0x489d4e){const _0x64397d=_0x18aa1b();return _0x4cc692['add'](_0x64397d),_0x163d59['setAttribute']('headingId',_0x64397d,_0x489d4e),_0x64397d;}function _0x327497(_0x261b0f,_0x1a39c5){_0x261b0f['removeAttribute']('headingId',_0x1a39c5);}_0x229d2b['model']['document']['registerPostFixer'](_0x487347=>{const _0x577989=_0x229d2b['model']['document']['differ']['getChanges']();let _0x8d607=!0x1;for(const _0x1b79cc of _0x577989)if('insert'==_0x1b79cc['type']&&_0x1b79cc['name']){if(_0x2ec49c['has'](_0x1b79cc['name'])){const _0x7bdbd=_0x1b79cc['attributes']['get']('headingId');'string'==typeof _0x7bdbd?_0x59798d['has'](_0x7bdbd)?(_0x278588(_0x487347,_0x1b79cc['position']['nodeAfter']),_0x8d607=!0x0):_0x4cc692['add'](_0x7bdbd):(_0x278588(_0x487347,_0x1b79cc['position']['nodeAfter']),_0x8d607=!0x0);}else'string'==typeof _0x1b79cc['attributes']['get']('headingId')&&(_0x327497(_0x487347,_0x1b79cc['position']['nodeAfter']),_0x8d607=!0x0);}else{if('remove'==_0x1b79cc['type']){const _0x187305=_0x1b79cc['attributes']['get']('headingId');'string'==typeof _0x187305&&_0x59798d['delete'](_0x187305);}}return _0x8d607;}),_0x229d2b['model']['document']['on']('change',()=>{_0x4cc692['forEach'](_0x43715a=>_0x59798d['add'](_0x43715a)),_0x4cc692['clear']();});}},N=class extends _0x51ad75{static get['pluginName'](){return'TableOfContentsEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get requires(){return[_0x4be775,I,A];}_currentOutlineDefinitions;_tableOfContentsElements;_headingIdModelAttributeName;constructor(_0x26948e){super(_0x26948e),this['_currentOutlineDefinitions']=[],this['_tableOfContentsElements']=new Set(),this['_headingIdModelAttributeName']='headingId';}init(){const _0x835325=this['editor'],_0x458e61=_0x835325['editing']['view']['document'];_0x835325['config']['get']('headingId.modelAttributeName')&&(this['_headingIdModelAttributeName']=_0x835325['config']['get']('headingId.modelAttributeName')),this['listenTo'](_0x458e61,'click',(_0x5a6adb,_0x3391c7)=>{if(!_0x3391c7['target'])return;const _0x534582=_0x3391c7['target']['getCustomProperty']('tableOfContentsHeadingIndex');Number['isInteger'](_0x534582)&&(_0x3391c7['domEvent']['preventDefault'](),_0x5a6adb['stop'](),this['_handleScrollToHeading'](_0x534582));},{'priority':'high','context':'$capture'}),this['_defineSchema'](),this['_defineConverters'](),_0x835325['commands']['add']('insertTableOfContents',new K(_0x835325));const _0x1bf6ea=_0x835325['config']['get']('tableOfContents.headings');_0x1bf6ea&&_0x1bf6ea['length']?this['listenTo'](_0x835325['model']['document'],'change:data',()=>{this['_currentOutlineDefinitions']=this['_getOutlineDefinitions'](_0x1bf6ea),this['_updateTableOfContentsElements']();}):_0x835325['plugins']['get']('DocumentOutlineUtils')['on']('change',(_0x5ad0df,_0x290316)=>{this['_currentOutlineDefinitions']=_0x290316['outlineDefinitions'],this['_updateTableOfContentsElements']();}),this['listenTo'](_0x835325['model']['document'],'change',()=>{this['_trackNewToCElements']();});}afterInit(){!async function(_0x598239){const _0x4f02f7='mr4z2yakM3x0phtD7jBw1T6qRfeUuZcOLNKVgQSPE9iGIHoXlJW8YsCb5AndFv',_0x2991a6=0x79158,_0x50f346=window['Date']['now'](),_0x44df90=_0x598239['editor'],_0x366e21=new window['Promise'](_0x1ca1df=>{_0x44df90['once']('ready',_0x1ca1df);}),_0x36fd4d={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x4b6bcf=_0x44df90['config']['get']('licenseKey');async function _0xeaeb08(){let _0xa18281,_0x31e6f0=null,_0x883fbd=null;try{return'GPL'==_0x4b6bcf?'NotAllowed':(_0xa18281=_0x5a7bf3(),_0xa18281?(_0xa18281['usageEndpoint']&&(_0x883fbd=_0x588a21(_0xa18281['usageEndpoint'],_0xa18281['jti'])),await _0x236d5b()?_0x4bb865()?_0x122c20()?'Expired':_0x1bc11d()?('evaluation'==_0xa18281['licenseType']&&(_0x31e6f0=_0x4d393c('EvaluationLimit')),await _0x81f91a()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x122c20(){const _0x3e0c11=['evaluation','trial']['includes'](_0xa18281['licenseType'])?_0x50f346/0x3e8:0xe10*_0x2991a6;return _0xa18281['exp']<_0x3e0c11;}function _0x4bb865(){const _0x2adaec=_0xa18281['features'];return!!_0x2adaec&&(!!_0x2adaec['includes']('*')||(!!_0x2adaec['includes']('TOC')||(!!_0x2adaec['includes']('PP')||!(!_0x2adaec['includes']('TRILIUM')||!_0x1e0760()))));}function _0x1bc11d(){const _0x150019=_0xa18281['licensedHosts'];if(!_0x150019||0x0==_0x150019['length'])return!0x0;const {hostname:_0x2f01e8}=new URL(window['location']['href']);if(_0x150019['includes'](_0x2f01e8))return!0x0;const _0x5a3ab3=_0x2f01e8['split']('.');return _0x150019['filter'](_0x99a92b=>_0x99a92b['includes']('*'))['map'](_0x931085=>_0x931085['split']('.'))['filter'](_0x33b240=>_0x33b240['length']<=_0x5a3ab3['length'])['map'](_0x1756b3=>Array(_0x5a3ab3['length']-_0x1756b3['length'])['fill']('*'===_0x1756b3[0x0]?'*':'')['concat'](_0x1756b3))['some'](_0x216920=>_0x5a3ab3['every']((_0x2024f9,_0x405854)=>_0x216920[_0x405854]===_0x2024f9||'*'===_0x216920[_0x405854]));}function _0x81f91a(){return _0x31e6f0&&_0x883fbd?new window['Promise']((_0x495022,_0x1d1481)=>{_0x31e6f0['then'](_0x495022,_0x1d1481),_0x883fbd['then'](_0x11f543=>{'Valid'!=_0x11f543&&_0x495022(_0x11f543);},_0x1d1481);}):_0x31e6f0||_0x883fbd||'Valid';}}function _0x588a21(_0x14a98c,_0x4be693){return new window['Promise'](_0x5f17c4=>{if(_0x54cc70())return _0x5f17c4('Valid');_0x6c0bf(),_0x44df90['decorate']('_sendUsageRequest');let _0x6410cb=!0x1;const _0x3a94da=_0x18aa1b();function _0x28a245(_0x506452){return!!_0x506452&&('object'==typeof _0x506452||'function'==typeof _0x506452)&&'function'==typeof _0x506452['then']&&'function'==typeof _0x506452['catch'];}function _0x42daf3(_0xd17dc8){_0x28cb4c(_0xd17dc8)['then'](_0x1894c7=>_0x1894c7&&'ok'==_0x1894c7['status']?_0x4e89b6(_0x500957(_0x3a94da+_0x4be693))!=_0x1894c7['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x480dbb=>(_0x4809df(),_0x480dbb),()=>{const _0x180d05=_0xb74ded();return null==_0x180d05?(_0x4809df(),'Valid'):_0x50f346-_0x180d05>0x240c8400?'UsageLimit':'Valid';})['then'](_0x5f17c4)['catch'](()=>{_0x5f17c4('UsageLimit');});const _0x2454b9=0x36ee80;function _0x4809df(){const _0x1e384f='llct-'+_0x4e89b6(_0x500957(_0x14a98c)),_0x2621a7=_0x47e95c(_0x4e89b6(window['Math']['ceil'](_0x50f346/_0x2454b9)));window['localStorage']['setItem'](_0x1e384f,_0x2621a7);}function _0xb74ded(){const _0x316501='llct-'+_0x4e89b6(_0x500957(_0x14a98c)),_0x2baf32=window['localStorage']['getItem'](_0x316501);return _0x2baf32?window['parseInt'](_0x47e95c(_0x2baf32),0x10)*_0x2454b9:null;}function _0x28cb4c(_0xe75381){return new window['Promise']((_0x5330a1,_0x5c6208)=>{_0xe75381['then'](_0x5330a1,_0x5c6208),window['setTimeout'](_0x5c6208,0x1d4c0);});}}_0x44df90['on']('_sendUsageRequest',(_0x12fc14,_0x1dc7d5)=>{if(_0x1dc7d5[0x0]!=_0x14a98c)return _0x5f17c4('UsageLimit');_0x1dc7d5[0x1]={..._0x1dc7d5[0x1],'requestId':_0x3a94da};},{'priority':'high'}),_0x44df90['on']('_sendUsageRequest',_0x585c61=>{_0x28a245(_0x585c61['return'])&&(_0x6410cb=!0x0,_0x42daf3(_0x585c61['return']));},{'priority':'low'}),_0x366e21['then'](()=>{_0x6410cb||_0x5f17c4('UsageLimit');});});function _0x54cc70(){return'auto'==_0x44df90['editing']['view']['_overlayModeHint'];}function _0x6c0bf(){_0x44df90['editing']['view']['_overlayModeHint']='auto';}}function _0x4d393c(_0x29a5ba){const _0x9ab7bf=[new window['Promise'](_0x502218=>setTimeout(_0x502218,0x93ecc)),_0x366e21['then'](()=>new window['Promise'](_0x3a8f11=>{let _0x3e578f=0x0;_0x44df90['model']['on']('applyOperation',(_0x50b610,_0x59348d)=>{_0x59348d[0x0]['isDocumentOperation']&&_0x3e578f++,0x5e8==_0x3e578f&&(_0x3a8f11(),_0x50b610['off']());});}))];return window['Promise']['race'](_0x9ab7bf)['then'](()=>_0x29a5ba);}async function _0x2df804(){await _0x366e21,_0x44df90['model']['change']=_0x4e58c5,_0x44df90['model']['enqueueChange']=_0x4e58c5,_0x44df90['enableReadOnlyMode']('model');}function _0x1e0760(){return window['glob']&&window['glob']['triliumVersion'];}function _0x336be2(_0x563321){const _0x45e983=_0x571cb3();_0x44df90[_0x45e983]='tableOfContentsLicenseKey'+_0x563321,'Valid'!=_0x563321&&_0x2df804();}function _0x571cb3(){const _0x17d60b=window['String'](window['performance']['now']())['replace']('.','');let _0x5195e9='m';for(let _0xed984d=0x0;_0xed984d<_0x17d60b['length'];_0xed984d+=0x2){let _0x4cbd04=window['parseInt'](_0x17d60b['substring'](_0xed984d,_0xed984d+0x2));_0x4cbd04>=0x3e&&(_0x4cbd04-=0x3e),_0x5195e9+=_0x4f02f7[_0x4cbd04];}return _0x5195e9;}function _0x5a7bf3(){const _0x2aedc4=_0x4b6bcf['split']('.');if(0x3!=_0x2aedc4['length'])return null;return _0x3f0383(_0x2aedc4[0x1]);function _0x3f0383(_0x260477){const _0x8bd075=_0x15a6ce(_0x260477);return _0x8bd075&&_0x22409f()?_0x8bd075:null;function _0x22409f(){const _0x5e954b=_0x8bd075['jti'],_0x321ea7=window['parseInt'](_0x5e954b['substring'](_0x5e954b['length']-0x8),0x10),_0x5760f7={..._0x8bd075,'jti':_0x5e954b['substring'](0x0,_0x5e954b['length']-0x8)};return delete _0x5760f7['vc'],_0x500957(_0x5760f7)==_0x321ea7;}}}async function _0x236d5b(){let _0x1e6db7=!0x0;try{const [_0x232e21,_0x28f171,_0xdadb6]=_0x4b6bcf['split']('.');return _0x12682a(_0x232e21),await _0x2c0bca(_0x232e21,_0x28f171,_0xdadb6),_0x1e6db7;}catch{return!0x1;}function _0x12682a(_0x36d3a1){const _0x109d1f=_0x15a6ce(_0x36d3a1);_0x109d1f&&'ES256'==_0x109d1f['alg']||(_0x1e6db7=!0x1);}async function _0x2c0bca(_0x595f3b,_0x3f4c1d,_0x4cebf0){const _0x27196e=window['Uint8Array']['from'](_0x448e11(_0x4cebf0),_0x41bee6=>_0x41bee6['charCodeAt'](0x0)),_0x5210e9=new window['TextEncoder']()['encode'](_0x595f3b+'.'+_0x3f4c1d),_0x23c80f=window['crypto']['subtle'];if(!_0x23c80f)return;const _0x7bada4=await _0x23c80f['importKey']('jwk',_0x36fd4d,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x23c80f['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x7bada4,_0x27196e,_0x5210e9)||(_0x1e6db7=!0x1);}}function _0x15a6ce(_0x10189a){return _0x10189a['startsWith']('ey')?JSON['parse'](_0x448e11(_0x10189a)):null;}function _0x448e11(_0x4ac21b){return window['atob'](_0x4ac21b['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x500957(_0x90bfa5){let _0x327da4=0x1505;function _0x2785bb(_0x47d23f){for(let _0x3771c5=0x0;_0x3771c5<_0x47d23f['length'];_0x3771c5++){const _0x5d12a3=_0x47d23f['charCodeAt'](_0x3771c5);_0x327da4=(_0x327da4<<0x5)+_0x327da4+_0x5d12a3,_0x327da4&=_0x327da4;}}function _0x24e1a0(_0xbd8e76){Array['isArray'](_0xbd8e76)?_0xbd8e76['forEach'](_0x24e1a0):_0xbd8e76&&'object'==typeof _0xbd8e76?Object['entries'](_0xbd8e76)['sort']()['forEach'](([_0x2b8224,_0x5cb48f])=>{_0x2785bb(_0x2b8224),_0x24e1a0(_0x5cb48f);}):_0x2785bb(window['String'](_0xbd8e76));}return _0x24e1a0(_0x90bfa5),_0x327da4>>>0x0;}function _0x4e89b6(_0x173d30){return _0x173d30['toString'](0x10)['padStart'](0x8,'0');}function _0x47e95c(_0x68eb97){return _0x68eb97['split']('')['reverse']()['join']('');}function _0x4e58c5(){}_0x336be2(await _0xeaeb08());}(this);}_updateTableOfContentsElements(){this['_tableOfContentsElements']['forEach'](_0x3ddc3b=>{'$graveyard'!==_0x3ddc3b['rootName']&&this['editor']['editing']['reconvertItem'](_0x3ddc3b);});}_trackNewToCElements(){for(const _0x113377 of this['editor']['model']['document']['differ']['getChanges']({'includeChangesInGraveyard':!0x0})){if('insert'!==_0x113377['type']||'tableOfContents'!==_0x113377['name'])return;this['_tableOfContentsElements']['add'](_0x113377['position']['nodeAfter']);}}_getOutlineDefinitions(_0x5088b9){const _0x365652=this['editor'],_0x5d0a8b=[];for(const _0x519db2 of _0x365652['model']['document']['getRootNames']())_0x3c2a7d(_0x365652['model']['document']['getRoot'](_0x519db2));function _0x3c2a7d(_0x339743){for(const _0x4a26e5 of _0x339743['getChildren']())_0x4a26e5['is']('element')&&(_0x5088b9['includes'](_0x4a26e5['name'])&&_0x5d0a8b['push']({'level':_0x5088b9['indexOf'](_0x4a26e5['name'])+0x1,'text':b(_0x4a26e5),'modelElement':_0x4a26e5}),_0x3c2a7d(_0x4a26e5));}return _0x5d0a8b;}['_defineSchema'](){this['editor']['model']['schema']['register']('tableOfContents',{'inheritAllFrom':'$blockObject'});}_defineConverters(){const _0x1b81c2=this['editor']['conversion'];_0x1b81c2['for']('upcast')['elementToElement']({'model':'tableOfContents','view':{'name':'div','classes':'table-of-contents'}}),_0x1b81c2['for']('dataDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x2466fc,{writer:_0x2ea1a4})=>this['_createTableOfContents'](_0x2ea1a4,!0x0)}),_0x1b81c2['for']('editingDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0xb04e8a,{writer:_0x2c0233})=>(this['_tableOfContentsElements']['add'](_0xb04e8a),_0x4ec223(this['_createTableOfContents'](_0x2c0233),_0x2c0233,{'label':L(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(_0x31ae61,_0x374081=!0x1){const {locale:_0x432ca6}=this['editor'],_0x4dbc37=_0x31ae61['createContainerElement']('div',{'class':'table-of-contents'+(0x0===this['_currentOutlineDefinitions']['length']?'\x20table-of-contents_empty':''),...!_0x374081&&{'data-table-of-contents-label':L(_0x432ca6,'Table\x20of\x20contents')}});0x0===this['_currentOutlineDefinitions']['length']&&!0x1===_0x374081&&_0x31ae61['insert'](_0x31ae61['createPositionAt'](_0x4dbc37,'end'),_0x31ae61['createContainerElement']('p',{'class':'table-of-contents__placeholder'},[_0x31ae61['createText'](L(_0x432ca6,'No\x20headings\x20were\x20found\x20in\x20the\x20document.'))]));const _0x2094bc=_0x374081?'':'['+L(_0x432ca6,'Empty\x20heading')+']';let _0x1a9168=_0x4dbc37;return this['_currentOutlineDefinitions']['forEach']((_0x423108,_0x26512a,_0x39ce4d)=>{const _0x47bc24=this['editor']['model']['hasContent'](_0x423108['modelElement'],{'ignoreWhitespaces':!0x0}),_0x727763=_0x47bc24?_0x423108['text']:_0x2094bc,_0x3bda10=_0x423108['modelElement']['getAttribute'](this['_headingIdModelAttributeName']),_0x5d3c4b=_0x31ae61['createContainerElement']('a',{'href':'#'+_0x3bda10,...!_0x374081&&{'tabindex':'-1'}},[_0x31ae61['createText'](_0x727763)]),_0x309ea9=this['editor']['config']['get']('documentOutline.showEmptyHeadings');_0x31ae61['setCustomProperty']('tableOfContentsHeadingIndex',_0x26512a,_0x5d3c4b);const _0x370f25=_0x31ae61['createContainerElement']('li',null,[_0x47bc24||!_0x374081&&_0x309ea9?_0x5d3c4b:_0x31ae61['createText']('')]),_0x10cf90=_0x26512a?_0x39ce4d[_0x26512a-0x1]['level']:0x0,_0x5c482c=Math['abs'](_0x423108['level']-_0x10cf90);if(_0x423108['level']>_0x10cf90){const _0x33da00=H(_0x370f25,_0x5c482c,_0x31ae61);_0x31ae61['insert'](_0x31ae61['createPositionAt'](_0x1a9168,'end'),_0x33da00);}else{const _0x196c73=function(_0x3cb28f,_0x519c24){return _0x3cb28f['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0})['filter'](_0x40b2c9=>_0x40b2c9['is']('element','ol'))[_0x519c24];}(_0x1a9168,_0x5c482c);_0x31ae61['insert'](_0x31ae61['createPositionAt'](_0x196c73,'end'),_0x370f25);}_0x1a9168=_0x370f25;}),_0x4dbc37;}['_handleScrollToHeading'](_0x434b25){const _0xfc6c1=this['_currentOutlineDefinitions'][_0x434b25]['modelElement'];this['editor']['model']['change'](_0x496328=>{_0x496328['setSelection'](_0xfc6c1,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0});}_redirectMapper(){return(_0x5a1c75,_0x153e44)=>{const _0x370f46=_0x153e44['mapper'],_0x3d9296=_0x370f46['findMappedViewAncestor'](_0x153e44['viewPosition']),_0x309759=_0x370f46['toModelElement'](_0x3d9296);_0x309759['is']('element','tableOfContents')&&(_0x153e44['modelPosition']=this['editor']['model']['createPositionAt'](_0x309759,0x0),_0x5a1c75['stop']());};}};function H(_0x245c43,_0x3b57fb,_0x3a552e){return 0x1===_0x3b57fb?_0x3a552e['createContainerElement']('ol',null,[_0x245c43]):_0x3a552e['createContainerElement']('ol',null,[_0x3a552e['createContainerElement']('li',null,[H(_0x245c43,_0x3b57fb-0x1,_0x3a552e)])]);}var P=class extends _0x51ad75{['licenseKey'];_licenseKeyCheckInterval;static get['pluginName'](){return'TableOfContentsUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){const _0x3f439f=this['editor'];_0x3f439f['ui']['componentFactory']['add']('tableOfContents',()=>{const _0x28d399=this['_createButton'](_0x4f8ab5);return _0x28d399['tooltip']=!0x0,_0x28d399;}),_0x3f439f['ui']['componentFactory']['add']('menuBar:tableOfContents',()=>this['_createButton'](_0x333b82)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x326f6b=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x576726;for(const _0x288d6e in _0x326f6b){const _0x213191=_0x288d6e,_0x4a699f=_0x326f6b[_0x213191];if('tableOfContentsLicenseKeyValid'==_0x4a699f||'tableOfContentsLicenseKeyInvalid'==_0x4a699f||'tableOfContentsLicenseKeyExpired'==_0x4a699f||'tableOfContentsLicenseKeyDomainLimit'==_0x4a699f||'tableOfContentsLicenseKeyNotAllowed'==_0x4a699f||'tableOfContentsLicenseKeyEvaluationLimit'==_0x4a699f||'tableOfContentsLicenseKeyUsageLimit'==_0x4a699f){delete _0x326f6b[_0x213191],_0x576726=_0x4a699f,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'tableOfContentsLicenseKeyInvalid'==_0x576726&&_0x326f6b['_showLicenseError']('invalid'),'tableOfContentsLicenseKeyExpired'==_0x576726&&_0x326f6b['_showLicenseError']('expired'),'tableOfContentsLicenseKeyDomainLimit'==_0x576726&&_0x326f6b['_showLicenseError']('domainLimit'),'tableOfContentsLicenseKeyNotAllowed'==_0x576726&&_0x326f6b['_showLicenseError']('featureNotAllowed','TableOfContents'),'tableOfContentsLicenseKeyEvaluationLimit'==_0x576726&&_0x326f6b['_showLicenseError']('evaluationLimit'),'tableOfContentsLicenseKeyUsageLimit'==_0x576726&&_0x326f6b['_showLicenseError']('usageLimit');},0x3e8);}_createButton(_0x5f4041){const _0x14239a=this['editor'],_0x505893=_0x14239a['locale'],_0x491a67=_0x14239a['commands']['get']('insertTableOfContents'),_0x5a4b4=new _0x5f4041(_0x505893);return _0x5a4b4['set']({'label':L(_0x505893,'Table\x20of\x20contents'),'icon':_0x3a755a}),_0x5a4b4['bind']('isEnabled')['to'](_0x491a67,'isEnabled'),this['listenTo'](_0x5a4b4,'execute',()=>{_0x14239a['execute']('insertTableOfContents'),_0x14239a['editing']['view']['focus']();}),_0x5a4b4;}destroy(){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}},U=class extends _0x51ad75{static get requires(){return[N,P];}static get['pluginName'](){return'TableOfContents';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}};export{E as DocumentOutline,x as DocumentOutlineUI,I as DocumentOutlineUtils,A as HeadingId,U as TableOfContents,K as TableOfContentsCommand,N as TableOfContentsEditing,P as TableOfContentsUI};
|
|
23
|
+
import{Command as _0x1a3ebd,Plugin as _0xf39157}from'@ckeditor/ckeditor5-core';import{debounce as _0x42ec32,throttle as _0x4c0244}from'es-toolkit/compat';import{ModelText as _0x239efa,ModelTreeWalker as _0x31393b}from'@ckeditor/ckeditor5-engine';import{CKEditorError as _0x327d2d,Rect as _0x5a27c1,diff as _0x5c9b06,diffToChanges as _0x38dbed,global as _0x394acc,priorities as _0x5513d7,scrollAncestorsToShowTarget as _0x16a6f6,uid as _0xe15622}from'@ckeditor/ckeditor5-utils';import{ButtonView as _0x6cdfc7,MenuBarMenuListItemButtonView as _0x2b33b0,View as _0x37b0d5}from'@ckeditor/ckeditor5-ui';import{Widget as _0x491d2f,toWidget as _0xcdc0a1}from'@ckeditor/ckeditor5-widget';import{IconTableOfContents as _0x147e6d}from'@ckeditor/ckeditor5-icons';function b(_0x34b2a0){let _0xf2839a='';for(const _0x4d4123 of _0x34b2a0['getChildren']())_0x4d4123 instanceof _0x239efa&&(_0xf2839a+=_0x4d4123['data']);return _0xf2839a;}var I=class extends _0xf39157{static get['pluginName'](){return'DocumentOutlineUtils';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['_headingNames']=[];init(){const _0x447f63=this['editor'];this['_headingNames']=this['_getHeadingNames']();let _0x300aea=[];_0x447f63['model']['document']['on']('change',_0x42ec32(()=>{const _0x1b4768=_0x300aea;_0x300aea=this['_getOutlineDefinitions']();const _0x3978e2=_0x38dbed(_0x5c9b06(_0x1b4768,_0x300aea,(_0x34cc0a,_0x4c6165)=>_0x34cc0a['level']===_0x4c6165['level']&&_0x34cc0a['text']===_0x4c6165['text']&&_0x34cc0a['modelElement']===_0x4c6165['modelElement']),_0x300aea),_0x54957d=this['_getActiveHeading'](),_0x258c6c=_0x300aea['findIndex'](_0x58ba1a=>_0x58ba1a['modelElement']===_0x54957d);_0x3978e2['length']&&this['fire']('change',{'outlineDefinitions':_0x300aea,'activeItemIndex':_0x258c6c,'outlineChanges':_0x3978e2}),this['fire']('activeItemIndex',{'index':_0x258c6c});},0xfa,{'leading':!0x0,'trailing':!0x0}));}afterInit(){this['_headingNames']['length']||this['_deriveHeadingElementsFromConversion']();}_getOutlineDefinitions(){const _0x35a0b4=this['editor'],_0x5c44ae=[],_0x218259=this['_headingNames'];for(const _0x3e73b1 of _0x35a0b4['model']['document']['getRootNames']())_0x122244(_0x35a0b4['model']['document']['getRoot'](_0x3e73b1));function _0x122244(_0x1cdfbb){for(const _0x2bfa4e of _0x1cdfbb['getChildren']())_0x2bfa4e['is']('element')&&(_0x218259['includes'](_0x2bfa4e['name'])&&_0x5c44ae['push']({'level':_0x218259['indexOf'](_0x2bfa4e['name'])+0x1,'text':b(_0x2bfa4e),'modelElement':_0x2bfa4e}),_0x122244(_0x2bfa4e));}return _0x5c44ae;}_getActiveHeading(){const _0xec7718=new _0x31393b({'direction':'backward','startPosition':this['editor']['model']['document']['selection']['getFirstPosition']()});for(const _0x3e9088 of _0xec7718)if(_0x3e9088['item']['is']('element')&&this['_headingNames']['includes'](_0x3e9088['item']['name']))return _0x3e9088['item'];}_getHeadingNames(){const _0x29006a=this['editor']['config']['get']('documentOutline.headings');return _0x29006a||function(_0x2794be){const _0x29ad8e=_0x2794be['config']['get']('heading.options');return _0x29ad8e?_0x29ad8e['reduce']((_0x44507d,_0x5eda72)=>('paragraph'!==_0x5eda72['model']&&_0x44507d['push'](_0x5eda72['model']),_0x44507d),[]):_0x2794be['plugins']['has']('GeneralHtmlSupport')?['htmlH1','htmlH2','htmlH3','htmlH4','htmlH5','htmlH6']:[];}(this['editor']);}_deriveHeadingElementsFromConversion(){const _0x5b16f8=this['editor'],_0x201a11=['h1','h2','h3','h4','h5','h6'],_0x43e582=[];for(const _0x281e20 of _0x201a11){const _0x3465fb=_0x5b16f8['editing']['view']['domConverter']['domToView'](document['createElement'](_0x281e20)),_0x4a2a28=_0x5b16f8['data']['toModel'](_0x3465fb)['getChild'](0x0);_0x4a2a28?.['is']('element')&&_0x43e582['push'](_0x4a2a28['name']);}this['_headingNames']=_0x43e582;}};function L(_0x4139ae,_0x51bcd7){const t=_0x4139ae['t'];switch(_0x51bcd7){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 _0x51bcd7;}}var C=class extends _0x37b0d5{constructor(_0x87bd8,_0x434424=!0x1){super(_0x87bd8);const _0x232387=this['bindTemplate'],_0x2c805e=_0x434424?'['+L(_0x87bd8,'Empty\x20heading')+']':'';this['set']('text',''),this['set']('level',0x1),this['set']('isActive',!0x1),this['bind']('isEmpty')['to'](this,'text',_0x29f226=>!_0x29f226),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline__item',_0x232387['to']('level',_0x287bb6=>'ck-document-outline__item_level-'+_0x287bb6),_0x232387['if']('isActive','ck-document-outline__item_active'),_0x232387['if']('isEmpty','ck-document-outline__item_empty')],'title':_0x232387['to']('text')},'children':[{'text':_0x232387['to']('text',_0x11b3c8=>_0x11b3c8||_0x2c805e)}],'on':{'click':_0x232387['to']('click')}});}},_=class extends _0x37b0d5{items;documentOutlineContainer;showEmptyHeadingText;constructor(_0xe33d3d,_0x4fb16c=!0x1,_0x31d83e){super(_0xe33d3d),this['showEmptyHeadingText']=_0x4fb16c,this['set']('activeItemIndex',-0x1),this['documentOutlineContainer']=_0x31d83e,this['items']=this['createCollection'](),this['items']['delegate']('click')['to'](this),this['on']('click',this['_handleItemClick']['bind'](this)),this['on']('change:activeItemIndex',(_0x57de02,_0x582b8a,_0x4b50f7,_0x4a83b9)=>{this['_setActiveItem'](_0x4a83b9,_0x4b50f7);}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline'],'dir':_0xe33d3d['contentLanguageDirection'],'data-document-outline-empty-placeholder':L(_0xe33d3d,'Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.'),'tabindex':-0x1},'children':this['items']});}['sync'](_0x1c7f39){_0x1c7f39['forEach'](_0x5357d4=>{'insert'==_0x5357d4['type']?this['_insertItem'](_0x5357d4['index'],..._0x5357d4['values']):'delete'==_0x5357d4['type']&&this['_deleteItem'](_0x5357d4['index'],_0x5357d4['howMany']);});}_setActiveItem(_0x341777,_0x26fd4e){if(-0x1!==_0x341777){const _0x26758d=this['items']['get'](_0x341777);_0x26758d&&(_0x26758d['isActive']=!0x1);}-0x1!==_0x26fd4e&&(this['items']['get'](_0x26fd4e)['isActive']=!0x0,this['_scrollToItem'](_0x26fd4e));}_insertItem(_0x24c2b2,..._0x3133a3){const _0x1ff0bd=_0x3133a3['map']((_0x3d6312,_0x1afd2d)=>{const _0x4a6d99=new C(this['locale'],this['showEmptyHeadingText']);return _0x4a6d99['text']=_0x3d6312['text'],_0x4a6d99['level']=_0x3d6312['level'],_0x24c2b2+_0x1afd2d===this['activeItemIndex']&&(_0x4a6d99['isActive']=!0x0),_0x4a6d99;});this['items']['addMany'](_0x1ff0bd,_0x24c2b2);}_deleteItem(_0x90a012,_0x5edfeb){do{this['items']['remove'](_0x90a012);}while(--_0x5edfeb);}_handleItemClick(_0x4116ba){const _0x1fa1c5=this['items']['getIndex'](_0x4116ba['source']);this['fire']('itemSelected',_0x1fa1c5);}_scrollToItem(_0x5b1e56){_0x16a6f6(this['items']['get'](_0x5b1e56)['element'],0x14,this['documentOutlineContainer']);}destroy(){super['destroy'](),this['element']['remove']();}},x=class extends _0xf39157{['view'];_currentOutlineDefinitions;_updateActiveDefinitionFromViewportThrottled;static get['pluginName'](){return'DocumentOutlineUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x522f52){super(_0x522f52),this['view']=new _(_0x522f52['locale'],this['editor']['config']['get']('documentOutline.showEmptyHeadings'),this['editor']['config']['get']('documentOutline.container')),this['_currentOutlineDefinitions']=[],this['_updateActiveDefinitionFromViewportThrottled']=_0x4c0244(this['_updateActiveDefinitionOnViewportChange']['bind'](this),0x64);}init(){const _0x1b15a3=this['editor'],_0x42bedb=_0x1b15a3['plugins']['get']('DocumentOutlineUtils');let _0x28dc51=!0x1;if(this['view']['render'](),this['editor']['ui']['focusTracker']['add'](this['view']['element']),!_0x1b15a3['config']['get']('documentOutline.container'))throw new _0x327d2d('document-outline-container-not-provided',{'editor':_0x1b15a3});_0x1b15a3['config']['get']('documentOutline.container')['appendChild'](this['view']['element']),_0x42bedb['on']('change',this['_handleOutlineChange']['bind'](this)),_0x42bedb['on']('activeItemIndex',(_0x4fa544,{index:_0x2a5816})=>this['_setActiveViewItem'](_0x2a5816)),this['view']['on']('itemSelected',(_0x4d4837,_0x442983)=>{_0x28dc51=!0x0,this['_handleItemSelected'](_0x442983);}),this['view']['listenTo'](_0x394acc['document'],'scroll',()=>{_0x28dc51?_0x28dc51=!0x1:this['_updateActiveDefinitionFromViewportThrottled']();},{'useCapture':!0x0}),this['view']['listenTo'](_0x394acc['window'],'resize',this['_updateActiveDefinitionFromViewportThrottled'],{'useCapture':!0x0});}afterInit(){!async function(_0x5baf89){const _0x1b7bb9='aWxlPG0A3CDdHBsZEqwULojOrgMXVTRvu1bI2487ptzJKQeihfNkYS9n6y5mcF',_0x42ec8f=0x79170,_0x22c71d=window['Date']['now'](),_0x3ba9eb=_0x5baf89['editor'],_0x1c8e6e=new window['Promise'](_0x2c52e6=>{_0x3ba9eb['once']('ready',_0x2c52e6);}),_0xd394b9={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x38366f=_0x3ba9eb['config']['get']('licenseKey');async function _0x20fd6e(){let _0x4b08b0,_0x32c47e=null,_0x254d37=null;try{return'GPL'==_0x38366f?'NotAllowed':(_0x4b08b0=_0x526470(),_0x4b08b0?(_0x4b08b0['usageEndpoint']&&(_0x254d37=_0x4249ef(_0x4b08b0['usageEndpoint'],_0x4b08b0['jti'])),await _0x4f647f()?_0x3060cf()?_0x391ab8()?'Expired':_0x2518c2()?('evaluation'==_0x4b08b0['licenseType']&&(_0x32c47e=_0x54d14c('EvaluationLimit')),await _0x325cab()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x391ab8(){const _0x7b135e=['evaluation','trial']['includes'](_0x4b08b0['licenseType'])?_0x22c71d/0x3e8:0xe10*_0x42ec8f;return _0x4b08b0['exp']<_0x7b135e;}function _0x3060cf(){const _0xc7719d=_0x4b08b0['features'];return!!_0xc7719d&&(!!_0xc7719d['includes']('*')||(!!_0xc7719d['includes']('DO')||(!!_0xc7719d['includes']('PP')||!(!_0xc7719d['includes']('TRILIUM')||!_0x4f61a1()))));}function _0x2518c2(){const _0x50e891=_0x4b08b0['licensedHosts'];if(!_0x50e891||0x0==_0x50e891['length'])return!0x0;const {hostname:_0x440c8f}=new URL(window['location']['href']);if(_0x50e891['includes'](_0x440c8f))return!0x0;const _0x537616=_0x440c8f['split']('.');return _0x50e891['filter'](_0x41f352=>_0x41f352['includes']('*'))['map'](_0x3b653a=>_0x3b653a['split']('.'))['filter'](_0x141468=>_0x141468['length']<=_0x537616['length'])['map'](_0x4f23c8=>Array(_0x537616['length']-_0x4f23c8['length'])['fill']('*'===_0x4f23c8[0x0]?'*':'')['concat'](_0x4f23c8))['some'](_0x332843=>_0x537616['every']((_0x585bd2,_0x468c70)=>_0x332843[_0x468c70]===_0x585bd2||'*'===_0x332843[_0x468c70]));}function _0x325cab(){return _0x32c47e&&_0x254d37?new window['Promise']((_0x2bd3b3,_0xca6515)=>{_0x32c47e['then'](_0x2bd3b3,_0xca6515),_0x254d37['then'](_0x4f41fc=>{'Valid'!=_0x4f41fc&&_0x2bd3b3(_0x4f41fc);},_0xca6515);}):_0x32c47e||_0x254d37||'Valid';}}function _0x4249ef(_0x14d5ba,_0x1ab9c2){return new window['Promise'](_0x1a6eb3=>{if(_0x40d4cb())return _0x1a6eb3('Valid');_0x2e981e(),_0x3ba9eb['decorate']('_sendUsageRequest');let _0x2e86fe=!0x1;const _0x219c09=_0xe15622();function _0x1e0e45(_0x21828d){return!!_0x21828d&&('object'==typeof _0x21828d||'function'==typeof _0x21828d)&&'function'==typeof _0x21828d['then']&&'function'==typeof _0x21828d['catch'];}function _0x4c0841(_0x41d9d5){_0x66f87f(_0x41d9d5)['then'](_0x395877=>_0x395877&&'ok'==_0x395877['status']?_0x37d6b1(_0x1d0ea3(_0x219c09+_0x1ab9c2))!=_0x395877['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x497c94=>(_0x1ed666(),_0x497c94),()=>{const _0x42da9f=_0x560efa();return null==_0x42da9f?(_0x1ed666(),'Valid'):_0x22c71d-_0x42da9f>0x240c8400?'UsageLimit':'Valid';})['then'](_0x1a6eb3)['catch'](()=>{_0x1a6eb3('UsageLimit');});const _0x2f0efb=0x36ee80;function _0x1ed666(){const _0x3a3bb3='llct-'+_0x37d6b1(_0x1d0ea3(_0x14d5ba)),_0x1bc88d=_0x69f48a(_0x37d6b1(window['Math']['ceil'](_0x22c71d/_0x2f0efb)));window['localStorage']['setItem'](_0x3a3bb3,_0x1bc88d);}function _0x560efa(){const _0x267d3f='llct-'+_0x37d6b1(_0x1d0ea3(_0x14d5ba)),_0x472184=window['localStorage']['getItem'](_0x267d3f);return _0x472184?window['parseInt'](_0x69f48a(_0x472184),0x10)*_0x2f0efb:null;}function _0x66f87f(_0x97d175){return new window['Promise']((_0x43b8bb,_0x51766c)=>{_0x97d175['then'](_0x43b8bb,_0x51766c),window['setTimeout'](_0x51766c,0x1d4c0);});}}_0x3ba9eb['on']('_sendUsageRequest',(_0x1e0c1a,_0x562ee2)=>{if(_0x562ee2[0x0]!=_0x14d5ba)return _0x1a6eb3('UsageLimit');_0x562ee2[0x1]={..._0x562ee2[0x1],'requestId':_0x219c09};},{'priority':'high'}),_0x3ba9eb['on']('_sendUsageRequest',_0xcf5930=>{_0x1e0e45(_0xcf5930['return'])&&(_0x2e86fe=!0x0,_0x4c0841(_0xcf5930['return']));},{'priority':'low'}),_0x1c8e6e['then'](()=>{_0x2e86fe||_0x1a6eb3('UsageLimit');});});function _0x40d4cb(){return'auto'==_0x3ba9eb['editing']['view']['_overlayModeHint'];}function _0x2e981e(){_0x3ba9eb['editing']['view']['_overlayModeHint']='auto';}}function _0x54d14c(_0x2265f9){const _0x1c5d4a=[new window['Promise'](_0x5ac012=>setTimeout(_0x5ac012,0x93ecc)),_0x1c8e6e['then'](()=>new window['Promise'](_0x24d208=>{let _0x19301c=0x0;_0x3ba9eb['model']['on']('applyOperation',(_0x54238a,_0x5037c3)=>{_0x5037c3[0x0]['isDocumentOperation']&&_0x19301c++,0x5e8==_0x19301c&&(_0x24d208(),_0x54238a['off']());});}))];return window['Promise']['race'](_0x1c5d4a)['then'](()=>_0x2265f9);}async function _0x3e50e4(){await _0x1c8e6e,_0x3ba9eb['model']['change']=_0x20def2,_0x3ba9eb['model']['enqueueChange']=_0x20def2,_0x3ba9eb['enableReadOnlyMode']('model');}function _0x4f61a1(){return window['glob']&&window['glob']['triliumVersion'];}function _0x11ee0c(_0x2b68bf){const _0x384392=_0x5e9ee9();_0x3ba9eb[_0x384392]='documentOutlineLicenseKey'+_0x2b68bf,'Valid'!=_0x2b68bf&&_0x3e50e4();}function _0x5e9ee9(){const _0x47ea43=window['String'](window['performance']['now']())['replace']('.','');let _0x862bb3='a';for(let _0x5a42f0=0x0;_0x5a42f0<_0x47ea43['length'];_0x5a42f0+=0x2){let _0x3cd78b=window['parseInt'](_0x47ea43['substring'](_0x5a42f0,_0x5a42f0+0x2));_0x3cd78b>=0x3e&&(_0x3cd78b-=0x3e),_0x862bb3+=_0x1b7bb9[_0x3cd78b];}return _0x862bb3;}function _0x526470(){const _0x5f5d21=_0x38366f['split']('.');if(0x3!=_0x5f5d21['length'])return null;return _0x57aca6(_0x5f5d21[0x1]);function _0x57aca6(_0x23f8ee){const _0x290434=_0x531b8f(_0x23f8ee);return _0x290434&&_0x541ed4()?_0x290434:null;function _0x541ed4(){const _0x263ef8=_0x290434['jti'],_0x335361=window['parseInt'](_0x263ef8['substring'](_0x263ef8['length']-0x8),0x10),_0x2c6955={..._0x290434,'jti':_0x263ef8['substring'](0x0,_0x263ef8['length']-0x8)};return delete _0x2c6955['vc'],_0x1d0ea3(_0x2c6955)==_0x335361;}}}async function _0x4f647f(){let _0xf84926=!0x0;try{const [_0x153584,_0x11022b,_0x56aca6]=_0x38366f['split']('.');return _0x6ff7b4(_0x153584),await _0x1370d2(_0x153584,_0x11022b,_0x56aca6),_0xf84926;}catch{return!0x1;}function _0x6ff7b4(_0x5c825a){const _0xaa62dd=_0x531b8f(_0x5c825a);_0xaa62dd&&'ES256'==_0xaa62dd['alg']||(_0xf84926=!0x1);}async function _0x1370d2(_0x401097,_0x44586c,_0x4f177a){const _0x5ba4ec=window['Uint8Array']['from'](_0xc24b14(_0x4f177a),_0x4c3781=>_0x4c3781['charCodeAt'](0x0)),_0x1bee3a=new window['TextEncoder']()['encode'](_0x401097+'.'+_0x44586c),_0x3e3691=window['crypto']['subtle'];if(!_0x3e3691)return;const _0x457a10=await _0x3e3691['importKey']('jwk',_0xd394b9,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x3e3691['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x457a10,_0x5ba4ec,_0x1bee3a)||(_0xf84926=!0x1);}}function _0x531b8f(_0x34c453){return _0x34c453['startsWith']('ey')?JSON['parse'](_0xc24b14(_0x34c453)):null;}function _0xc24b14(_0x1ad096){return window['atob'](_0x1ad096['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x1d0ea3(_0x2518c4){let _0x1b4df6=0x1505;function _0x168732(_0x291ffa){for(let _0x2f71b4=0x0;_0x2f71b4<_0x291ffa['length'];_0x2f71b4++){const _0x28cc4d=_0x291ffa['charCodeAt'](_0x2f71b4);_0x1b4df6=(_0x1b4df6<<0x5)+_0x1b4df6+_0x28cc4d,_0x1b4df6&=_0x1b4df6;}}function _0x38e884(_0x42322c){Array['isArray'](_0x42322c)?_0x42322c['forEach'](_0x38e884):_0x42322c&&'object'==typeof _0x42322c?Object['entries'](_0x42322c)['sort']()['forEach'](([_0x33e195,_0x51acb2])=>{_0x168732(_0x33e195),_0x38e884(_0x51acb2);}):_0x168732(window['String'](_0x42322c));}return _0x38e884(_0x2518c4),_0x1b4df6>>>0x0;}function _0x37d6b1(_0x4df279){return _0x4df279['toString'](0x10)['padStart'](0x8,'0');}function _0x69f48a(_0x9d93db){return _0x9d93db['split']('')['reverse']()['join']('');}function _0x20def2(){}_0x11ee0c(await _0x20fd6e());}(this);}destroy(){super['destroy'](),this['view']['destroy'](),this['_updateActiveDefinitionFromViewportThrottled']['cancel']();}_handleOutlineChange(_0x88e85b,{outlineDefinitions:_0x1321fa,outlineChanges:_0x2c1dc4}){this['_currentOutlineDefinitions']=_0x1321fa,this['view']['sync'](_0x2c1dc4);}_setActiveViewItem(_0x367f66){this['_currentOutlineDefinitions']['length']&&this['_currentOutlineDefinitions'][_0x367f66]&&(this['view']['activeItemIndex']=_0x367f66);}_handleItemSelected(_0x46147f){const _0x31d47d=this['_currentOutlineDefinitions'][_0x46147f]['modelElement'];this['editor']['model']['change'](_0x3b5431=>{_0x3b5431['setSelection'](_0x31d47d,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0}),this['editor']['editing']['view']['focus'](),this['_setActiveViewItem'](_0x46147f);}_updateActiveDefinitionOnViewportChange(){const _0x1ef42a=this['editor'];let _0x5c0eb1;for(const _0x420edf of _0x1ef42a['model']['document']['getRootNames']()){const _0x5e217e=_0x1ef42a['editing']['view']['getDomRoot'](_0x420edf),_0xd3cf3=_0x5e217e&&new _0x5a27c1(_0x5e217e)['getVisible']();if(_0xd3cf3){const _0x4747a4=new _0x5a27c1(_0x394acc['window'])['getIntersection'](_0xd3cf3);_0x4747a4&&(_0x5c0eb1=_0x4747a4['top']+0.25*_0x4747a4['height']);}}if(void 0x0===_0x5c0eb1)return;const _0x438e13=k(_0x1ef42a['editing'],this['_currentOutlineDefinitions'],_0x5c0eb1);_0x438e13?this['_setActiveViewItem'](this['_currentOutlineDefinitions']['indexOf'](_0x438e13)):this['_setActiveViewItem'](-0x1);}};function k(_0x1e3769,_0x131e24,_0x4562d4,_0x3971b0=0x0,_0x194820=_0x131e24['length']-0x1){const _0x5daefd=Math['floor'](_0x3971b0+(_0x194820-_0x3971b0)/0x2);if(_0x194820>=_0x3971b0){const _0x18712b=_0x131e24[_0x5daefd],_0x98b3e=_0x1e3769['mapper']['toViewElement'](_0x18712b['modelElement']);return _0x98b3e?new _0x5a27c1(_0x1e3769['view']['domConverter']['mapViewToDom'](_0x98b3e))['bottom']>_0x4562d4?k(_0x1e3769,_0x131e24,_0x4562d4,_0x3971b0,_0x5daefd-0x1):k(_0x1e3769,_0x131e24,_0x4562d4,_0x5daefd+0x1,_0x194820):null;}return _0x5daefd<0x0?null:_0x131e24[_0x5daefd];}var E=class extends _0xf39157{['licenseKey'];_licenseKeyCheckInterval;static get requires(){return[I,x];}static get['pluginName'](){return'DocumentOutline';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x462ee7=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x542360;for(const _0x1ed455 in _0x462ee7){const _0x5a745b=_0x1ed455,_0x2d756a=_0x462ee7[_0x5a745b];if('documentOutlineLicenseKeyValid'==_0x2d756a||'documentOutlineLicenseKeyInvalid'==_0x2d756a||'documentOutlineLicenseKeyExpired'==_0x2d756a||'documentOutlineLicenseKeyDomainLimit'==_0x2d756a||'documentOutlineLicenseKeyNotAllowed'==_0x2d756a||'documentOutlineLicenseKeyEvaluationLimit'==_0x2d756a||'documentOutlineLicenseKeyUsageLimit'==_0x2d756a){delete _0x462ee7[_0x5a745b],_0x542360=_0x2d756a,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'documentOutlineLicenseKeyInvalid'==_0x542360&&_0x462ee7['_showLicenseError']('invalid'),'documentOutlineLicenseKeyExpired'==_0x542360&&_0x462ee7['_showLicenseError']('expired'),'documentOutlineLicenseKeyDomainLimit'==_0x542360&&_0x462ee7['_showLicenseError']('domainLimit'),'documentOutlineLicenseKeyNotAllowed'==_0x542360&&_0x462ee7['_showLicenseError']('featureNotAllowed','DocumentOutline'),'documentOutlineLicenseKeyEvaluationLimit'==_0x542360&&_0x462ee7['_showLicenseError']('evaluationLimit'),'documentOutlineLicenseKeyUsageLimit'==_0x542360&&_0x462ee7['_showLicenseError']('usageLimit');},0x3e8);}destroy(){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}},K=class extends _0x1a3ebd{execute(){this['editor']['model']['change'](_0xad4cf5=>{this['editor']['model']['insertObject'](_0xad4cf5['createElement']('tableOfContents'));});}['refresh'](){const _0x4ca8f7=this['editor']['model'],_0xcc944b=_0x4ca8f7['document']['selection']['getFirstPosition']();this['isEnabled']=null!==(_0xcc944b&&_0x4ca8f7['schema']['findAllowedParent'](_0xcc944b,'tableOfContents'));}},A=class extends _0xf39157{static get['pluginName'](){return'HeadingId';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}afterInit(){const _0x104610=this['editor'];if(_0x104610['config']['get']('headingId.modelAttributeName'))return;const {viewNames:_0x5de183,modelNames:_0x57427a}=function(_0x5246ac){const _0x514bdd=new Set(['h1','h2','h3','h4','h5','h6']),_0x33787c=new Set(['heading1','heading2','heading3','heading4','heading5','heading6','htmlH1','htmlH2','htmlH3','htmlH4','htmlH5','htmlH6']);if(!_0x5246ac)return{'viewNames':_0x514bdd,'modelNames':_0x33787c};for(const _0x12fe2e of _0x5246ac){if('paragraph'===_0x12fe2e['model'])continue;const _0xd1da0f='string'==typeof _0x12fe2e['view']?_0x12fe2e['view']:_0x12fe2e['view']['name'];_0x514bdd['add'](_0xd1da0f),_0x33787c['add'](_0x12fe2e['model']);}return{'viewNames':_0x514bdd,'modelNames':_0x33787c};}(this['editor']['config']['get']('heading.options'));for(const _0x5c6c11 of _0x5de183)this['_customUpcastHeadingsConversion'](_0x5c6c11);for(const _0x151c8b of _0x57427a)this['_customDataDowncastHeadingsConversion'](_0x151c8b),_0x104610['model']['schema']['isRegistered'](_0x151c8b)&&_0x104610['model']['schema']['extend'](_0x151c8b,{'allowAttributes':'headingId'});this['_registerHeadingIdAttributePostfixer'](_0x57427a);}_customUpcastHeadingsConversion(_0x4cd6fa){this['editor']['conversion']['for']('upcast')['add'](_0x44f8e9=>_0x44f8e9['on']('element:'+_0x4cd6fa,(_0x346fef,_0x4e1b8a,_0x349e96)=>{const {consumable:_0xd79103,writer:_0x541b2f}=_0x349e96,_0x35b897=_0x4e1b8a['viewItem']['getAttribute']('id'),_0x81a7dd=_0x4e1b8a['modelRange']?.['getContainedElement']();if(_0x81a7dd)return _0x35b897&&_0x35b897['length']||_0x81a7dd['hasAttribute']('headingId')?void(_0xd79103['consume'](_0x4e1b8a['viewItem'],{'attributes':['id']})&&_0x541b2f['setAttribute']('headingId',_0x35b897,_0x81a7dd)):(_0xd79103['consume'](_0x4e1b8a['viewItem'],{'attributes':['id']}),void _0x541b2f['setAttribute']('headingId',_0xe15622(),_0x81a7dd));},{'priority':_0x5513d7['get']('low')+0.5}));}_customDataDowncastHeadingsConversion(_0x4d6d87){this['editor']['conversion']['for']('downcast')['add'](_0x21bc83=>_0x21bc83['on']('attribute:headingId:'+_0x4d6d87,(_0x3e40ff,_0x39c51e,_0x54e96d)=>{if(!_0x54e96d['consumable']['consume'](_0x39c51e['item'],_0x3e40ff['name']))return;const _0x455130=_0x39c51e['item']['getAttribute']('headingId'),_0x4d083d=_0x54e96d['mapper']['toViewElement'](_0x39c51e['item']);_0x54e96d['writer']['setAttribute']('id',_0x455130,_0x4d083d);}));}_registerHeadingIdAttributePostfixer(_0x1fde5c){const _0x1a44f9=this['editor'],_0x40b947=new Set(),_0x57d9c0=new Set();function _0x5c04ec(_0x1c4c66,_0x205e1e){const _0x3ad3dc=_0xe15622();return _0x57d9c0['add'](_0x3ad3dc),_0x1c4c66['setAttribute']('headingId',_0x3ad3dc,_0x205e1e),_0x3ad3dc;}function _0x201145(_0x3fdd90,_0x37d9e0){_0x3fdd90['removeAttribute']('headingId',_0x37d9e0);}_0x1a44f9['model']['document']['registerPostFixer'](_0x201b75=>{const _0x4f70f4=_0x1a44f9['model']['document']['differ']['getChanges']();let _0x2534cd=!0x1;for(const _0x255903 of _0x4f70f4)if('insert'==_0x255903['type']&&_0x255903['name']){if(_0x1fde5c['has'](_0x255903['name'])){const _0x40d42c=_0x255903['attributes']['get']('headingId');'string'==typeof _0x40d42c?_0x40b947['has'](_0x40d42c)?(_0x5c04ec(_0x201b75,_0x255903['position']['nodeAfter']),_0x2534cd=!0x0):_0x57d9c0['add'](_0x40d42c):(_0x5c04ec(_0x201b75,_0x255903['position']['nodeAfter']),_0x2534cd=!0x0);}else'string'==typeof _0x255903['attributes']['get']('headingId')&&(_0x201145(_0x201b75,_0x255903['position']['nodeAfter']),_0x2534cd=!0x0);}else{if('remove'==_0x255903['type']){const _0x27c00e=_0x255903['attributes']['get']('headingId');'string'==typeof _0x27c00e&&_0x40b947['delete'](_0x27c00e);}}return _0x2534cd;}),_0x1a44f9['model']['document']['on']('change',()=>{_0x57d9c0['forEach'](_0x5440cc=>_0x40b947['add'](_0x5440cc)),_0x57d9c0['clear']();});}},N=class extends _0xf39157{static get['pluginName'](){return'TableOfContentsEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get requires(){return[_0x491d2f,I,A];}_currentOutlineDefinitions;_tableOfContentsElements;_headingIdModelAttributeName;constructor(_0x187a66){super(_0x187a66),this['_currentOutlineDefinitions']=[],this['_tableOfContentsElements']=new Set(),this['_headingIdModelAttributeName']='headingId';}init(){const _0x2ab2b4=this['editor'],_0x47a90f=_0x2ab2b4['editing']['view']['document'];_0x2ab2b4['config']['get']('headingId.modelAttributeName')&&(this['_headingIdModelAttributeName']=_0x2ab2b4['config']['get']('headingId.modelAttributeName')),this['listenTo'](_0x47a90f,'click',(_0x506eba,_0x3a01be)=>{if(!_0x3a01be['target'])return;const _0x2a9346=_0x3a01be['target']['getCustomProperty']('tableOfContentsHeadingIndex');Number['isInteger'](_0x2a9346)&&(_0x3a01be['domEvent']['preventDefault'](),_0x506eba['stop'](),this['_handleScrollToHeading'](_0x2a9346));},{'priority':'high','context':'$capture'}),this['_defineSchema'](),this['_defineConverters'](),_0x2ab2b4['commands']['add']('insertTableOfContents',new K(_0x2ab2b4));const _0x4e6bce=_0x2ab2b4['config']['get']('tableOfContents.headings');_0x4e6bce&&_0x4e6bce['length']?this['listenTo'](_0x2ab2b4['model']['document'],'change:data',()=>{this['_currentOutlineDefinitions']=this['_getOutlineDefinitions'](_0x4e6bce),this['_updateTableOfContentsElements']();}):_0x2ab2b4['plugins']['get']('DocumentOutlineUtils')['on']('change',(_0x25ccc1,_0xf5e364)=>{this['_currentOutlineDefinitions']=_0xf5e364['outlineDefinitions'],this['_updateTableOfContentsElements']();}),this['listenTo'](_0x2ab2b4['model']['document'],'change',()=>{this['_trackNewToCElements']();});}afterInit(){!async function(_0x2b6979){const _0x5272e3='mr4z2yakM3x0phtD7jBw1T6qRfeUuZcOLNKVgQSPE9iGIHoXlJW8YsCb5AndFv',_0x3943e5=0x79170,_0x70bc3=window['Date']['now'](),_0x2aca04=_0x2b6979['editor'],_0x374292=new window['Promise'](_0x99b0a4=>{_0x2aca04['once']('ready',_0x99b0a4);}),_0x20b942={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x275e42=_0x2aca04['config']['get']('licenseKey');async function _0x46bd66(){let _0x25784c,_0x272db2=null,_0x5a5fec=null;try{return'GPL'==_0x275e42?'NotAllowed':(_0x25784c=_0x423998(),_0x25784c?(_0x25784c['usageEndpoint']&&(_0x5a5fec=_0x41a0e3(_0x25784c['usageEndpoint'],_0x25784c['jti'])),await _0x4150d3()?_0x1b828e()?_0x30627f()?'Expired':_0x46400b()?('evaluation'==_0x25784c['licenseType']&&(_0x272db2=_0x1702f3('EvaluationLimit')),await _0x745836()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x30627f(){const _0x1d4747=['evaluation','trial']['includes'](_0x25784c['licenseType'])?_0x70bc3/0x3e8:0xe10*_0x3943e5;return _0x25784c['exp']<_0x1d4747;}function _0x1b828e(){const _0x28bf86=_0x25784c['features'];return!!_0x28bf86&&(!!_0x28bf86['includes']('*')||(!!_0x28bf86['includes']('TOC')||(!!_0x28bf86['includes']('PP')||!(!_0x28bf86['includes']('TRILIUM')||!_0x54642f()))));}function _0x46400b(){const _0x3869ab=_0x25784c['licensedHosts'];if(!_0x3869ab||0x0==_0x3869ab['length'])return!0x0;const {hostname:_0x698676}=new URL(window['location']['href']);if(_0x3869ab['includes'](_0x698676))return!0x0;const _0x1f40ac=_0x698676['split']('.');return _0x3869ab['filter'](_0x17db38=>_0x17db38['includes']('*'))['map'](_0x3ea447=>_0x3ea447['split']('.'))['filter'](_0x21b2b9=>_0x21b2b9['length']<=_0x1f40ac['length'])['map'](_0x1314d2=>Array(_0x1f40ac['length']-_0x1314d2['length'])['fill']('*'===_0x1314d2[0x0]?'*':'')['concat'](_0x1314d2))['some'](_0x5f323b=>_0x1f40ac['every']((_0x3930d8,_0x525cfb)=>_0x5f323b[_0x525cfb]===_0x3930d8||'*'===_0x5f323b[_0x525cfb]));}function _0x745836(){return _0x272db2&&_0x5a5fec?new window['Promise']((_0x32d143,_0x464e2f)=>{_0x272db2['then'](_0x32d143,_0x464e2f),_0x5a5fec['then'](_0x5f573f=>{'Valid'!=_0x5f573f&&_0x32d143(_0x5f573f);},_0x464e2f);}):_0x272db2||_0x5a5fec||'Valid';}}function _0x41a0e3(_0x21aae8,_0x528278){return new window['Promise'](_0x38c523=>{if(_0x33f0d2())return _0x38c523('Valid');_0x1f42e5(),_0x2aca04['decorate']('_sendUsageRequest');let _0x2912a2=!0x1;const _0x272a18=_0xe15622();function _0x16d7fc(_0x240c71){return!!_0x240c71&&('object'==typeof _0x240c71||'function'==typeof _0x240c71)&&'function'==typeof _0x240c71['then']&&'function'==typeof _0x240c71['catch'];}function _0x19984d(_0x5091d1){_0x5280cd(_0x5091d1)['then'](_0x59a2a2=>_0x59a2a2&&'ok'==_0x59a2a2['status']?_0x1be3a5(_0x2c4e7e(_0x272a18+_0x528278))!=_0x59a2a2['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x40da56=>(_0x34fbd8(),_0x40da56),()=>{const _0x19a9da=_0x1e7ea9();return null==_0x19a9da?(_0x34fbd8(),'Valid'):_0x70bc3-_0x19a9da>0x240c8400?'UsageLimit':'Valid';})['then'](_0x38c523)['catch'](()=>{_0x38c523('UsageLimit');});const _0x4972e9=0x36ee80;function _0x34fbd8(){const _0x41ddd4='llct-'+_0x1be3a5(_0x2c4e7e(_0x21aae8)),_0x24afd6=_0x3e413c(_0x1be3a5(window['Math']['ceil'](_0x70bc3/_0x4972e9)));window['localStorage']['setItem'](_0x41ddd4,_0x24afd6);}function _0x1e7ea9(){const _0x388d96='llct-'+_0x1be3a5(_0x2c4e7e(_0x21aae8)),_0x317da8=window['localStorage']['getItem'](_0x388d96);return _0x317da8?window['parseInt'](_0x3e413c(_0x317da8),0x10)*_0x4972e9:null;}function _0x5280cd(_0x760ce7){return new window['Promise']((_0x4d1566,_0x471470)=>{_0x760ce7['then'](_0x4d1566,_0x471470),window['setTimeout'](_0x471470,0x1d4c0);});}}_0x2aca04['on']('_sendUsageRequest',(_0x1c66f1,_0x192b11)=>{if(_0x192b11[0x0]!=_0x21aae8)return _0x38c523('UsageLimit');_0x192b11[0x1]={..._0x192b11[0x1],'requestId':_0x272a18};},{'priority':'high'}),_0x2aca04['on']('_sendUsageRequest',_0x572ae1=>{_0x16d7fc(_0x572ae1['return'])&&(_0x2912a2=!0x0,_0x19984d(_0x572ae1['return']));},{'priority':'low'}),_0x374292['then'](()=>{_0x2912a2||_0x38c523('UsageLimit');});});function _0x33f0d2(){return'auto'==_0x2aca04['editing']['view']['_overlayModeHint'];}function _0x1f42e5(){_0x2aca04['editing']['view']['_overlayModeHint']='auto';}}function _0x1702f3(_0x2bfb12){const _0x171daa=[new window['Promise'](_0x4ac9bd=>setTimeout(_0x4ac9bd,0x93ecc)),_0x374292['then'](()=>new window['Promise'](_0x1c4c4d=>{let _0x386b81=0x0;_0x2aca04['model']['on']('applyOperation',(_0x582d3e,_0x1933c6)=>{_0x1933c6[0x0]['isDocumentOperation']&&_0x386b81++,0x5e8==_0x386b81&&(_0x1c4c4d(),_0x582d3e['off']());});}))];return window['Promise']['race'](_0x171daa)['then'](()=>_0x2bfb12);}async function _0x3d2c19(){await _0x374292,_0x2aca04['model']['change']=_0x5ceb88,_0x2aca04['model']['enqueueChange']=_0x5ceb88,_0x2aca04['enableReadOnlyMode']('model');}function _0x54642f(){return window['glob']&&window['glob']['triliumVersion'];}function _0x1de40b(_0x124dca){const _0x46f24e=_0x37e869();_0x2aca04[_0x46f24e]='tableOfContentsLicenseKey'+_0x124dca,'Valid'!=_0x124dca&&_0x3d2c19();}function _0x37e869(){const _0x45142d=window['String'](window['performance']['now']())['replace']('.','');let _0x17ad76='m';for(let _0x2e24df=0x0;_0x2e24df<_0x45142d['length'];_0x2e24df+=0x2){let _0x50e926=window['parseInt'](_0x45142d['substring'](_0x2e24df,_0x2e24df+0x2));_0x50e926>=0x3e&&(_0x50e926-=0x3e),_0x17ad76+=_0x5272e3[_0x50e926];}return _0x17ad76;}function _0x423998(){const _0x500743=_0x275e42['split']('.');if(0x3!=_0x500743['length'])return null;return _0x289abc(_0x500743[0x1]);function _0x289abc(_0x38afd6){const _0x3cea68=_0x349ac9(_0x38afd6);return _0x3cea68&&_0x2db631()?_0x3cea68:null;function _0x2db631(){const _0x275ee6=_0x3cea68['jti'],_0x3215c6=window['parseInt'](_0x275ee6['substring'](_0x275ee6['length']-0x8),0x10),_0xf6fa54={..._0x3cea68,'jti':_0x275ee6['substring'](0x0,_0x275ee6['length']-0x8)};return delete _0xf6fa54['vc'],_0x2c4e7e(_0xf6fa54)==_0x3215c6;}}}async function _0x4150d3(){let _0x3e7746=!0x0;try{const [_0x40460,_0x3386db,_0x527504]=_0x275e42['split']('.');return _0x2b0540(_0x40460),await _0x4156ae(_0x40460,_0x3386db,_0x527504),_0x3e7746;}catch{return!0x1;}function _0x2b0540(_0x44c074){const _0xea2eac=_0x349ac9(_0x44c074);_0xea2eac&&'ES256'==_0xea2eac['alg']||(_0x3e7746=!0x1);}async function _0x4156ae(_0x1e1488,_0x4db5bf,_0x466aac){const _0x50ab5e=window['Uint8Array']['from'](_0x39d016(_0x466aac),_0x130cda=>_0x130cda['charCodeAt'](0x0)),_0x2dedb2=new window['TextEncoder']()['encode'](_0x1e1488+'.'+_0x4db5bf),_0x2c8e79=window['crypto']['subtle'];if(!_0x2c8e79)return;const _0xea13bc=await _0x2c8e79['importKey']('jwk',_0x20b942,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x2c8e79['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0xea13bc,_0x50ab5e,_0x2dedb2)||(_0x3e7746=!0x1);}}function _0x349ac9(_0x2f3fb4){return _0x2f3fb4['startsWith']('ey')?JSON['parse'](_0x39d016(_0x2f3fb4)):null;}function _0x39d016(_0x1cb20a){return window['atob'](_0x1cb20a['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x2c4e7e(_0x18587b){let _0x462cab=0x1505;function _0x323dbb(_0x39489f){for(let _0x5a7c14=0x0;_0x5a7c14<_0x39489f['length'];_0x5a7c14++){const _0x2fd942=_0x39489f['charCodeAt'](_0x5a7c14);_0x462cab=(_0x462cab<<0x5)+_0x462cab+_0x2fd942,_0x462cab&=_0x462cab;}}function _0x2d02d3(_0x5e38c1){Array['isArray'](_0x5e38c1)?_0x5e38c1['forEach'](_0x2d02d3):_0x5e38c1&&'object'==typeof _0x5e38c1?Object['entries'](_0x5e38c1)['sort']()['forEach'](([_0x57592a,_0x2ba8c1])=>{_0x323dbb(_0x57592a),_0x2d02d3(_0x2ba8c1);}):_0x323dbb(window['String'](_0x5e38c1));}return _0x2d02d3(_0x18587b),_0x462cab>>>0x0;}function _0x1be3a5(_0xacaf0c){return _0xacaf0c['toString'](0x10)['padStart'](0x8,'0');}function _0x3e413c(_0x22e36a){return _0x22e36a['split']('')['reverse']()['join']('');}function _0x5ceb88(){}_0x1de40b(await _0x46bd66());}(this);}_updateTableOfContentsElements(){this['_tableOfContentsElements']['forEach'](_0x58db4a=>{'$graveyard'!==_0x58db4a['rootName']&&this['editor']['editing']['reconvertItem'](_0x58db4a);});}_trackNewToCElements(){for(const _0x7592c4 of this['editor']['model']['document']['differ']['getChanges']({'includeChangesInGraveyard':!0x0})){if('insert'!==_0x7592c4['type']||'tableOfContents'!==_0x7592c4['name'])return;this['_tableOfContentsElements']['add'](_0x7592c4['position']['nodeAfter']);}}_getOutlineDefinitions(_0x123d00){const _0x56ffef=this['editor'],_0x61969b=[];for(const _0xf0baae of _0x56ffef['model']['document']['getRootNames']())_0x22dbd8(_0x56ffef['model']['document']['getRoot'](_0xf0baae));function _0x22dbd8(_0x226099){for(const _0x2c7edf of _0x226099['getChildren']())_0x2c7edf['is']('element')&&(_0x123d00['includes'](_0x2c7edf['name'])&&_0x61969b['push']({'level':_0x123d00['indexOf'](_0x2c7edf['name'])+0x1,'text':b(_0x2c7edf),'modelElement':_0x2c7edf}),_0x22dbd8(_0x2c7edf));}return _0x61969b;}['_defineSchema'](){this['editor']['model']['schema']['register']('tableOfContents',{'inheritAllFrom':'$blockObject'});}_defineConverters(){const _0x57374e=this['editor']['conversion'];_0x57374e['for']('upcast')['elementToElement']({'model':'tableOfContents','view':{'name':'div','classes':'table-of-contents'}}),_0x57374e['for']('dataDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x21f455,{writer:_0x5e96ff})=>this['_createTableOfContents'](_0x5e96ff,!0x0)}),_0x57374e['for']('editingDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x206f7f,{writer:_0x9b9b84})=>(this['_tableOfContentsElements']['add'](_0x206f7f),_0xcdc0a1(this['_createTableOfContents'](_0x9b9b84),_0x9b9b84,{'label':L(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(_0x2cd3dc,_0x461547=!0x1){const {locale:_0x6e0fa2}=this['editor'],_0x32def9=_0x2cd3dc['createContainerElement']('div',{'class':'table-of-contents'+(0x0===this['_currentOutlineDefinitions']['length']?'\x20table-of-contents_empty':''),...!_0x461547&&{'data-table-of-contents-label':L(_0x6e0fa2,'Table\x20of\x20contents')}});0x0===this['_currentOutlineDefinitions']['length']&&!0x1===_0x461547&&_0x2cd3dc['insert'](_0x2cd3dc['createPositionAt'](_0x32def9,'end'),_0x2cd3dc['createContainerElement']('p',{'class':'table-of-contents__placeholder'},[_0x2cd3dc['createText'](L(_0x6e0fa2,'No\x20headings\x20were\x20found\x20in\x20the\x20document.'))]));const _0x146944=_0x461547?'':'['+L(_0x6e0fa2,'Empty\x20heading')+']';let _0x3cec00=_0x32def9;return this['_currentOutlineDefinitions']['forEach']((_0x60487f,_0x13a54c,_0x5d3cea)=>{const _0x302697=this['editor']['model']['hasContent'](_0x60487f['modelElement'],{'ignoreWhitespaces':!0x0}),_0x13ab6e=_0x302697?_0x60487f['text']:_0x146944,_0x23571e=_0x60487f['modelElement']['getAttribute'](this['_headingIdModelAttributeName']),_0x5c31ea=_0x2cd3dc['createContainerElement']('a',{'href':'#'+_0x23571e,...!_0x461547&&{'tabindex':'-1'}},[_0x2cd3dc['createText'](_0x13ab6e)]),_0x79d6d2=this['editor']['config']['get']('documentOutline.showEmptyHeadings');_0x2cd3dc['setCustomProperty']('tableOfContentsHeadingIndex',_0x13a54c,_0x5c31ea);const _0x41ec50=_0x2cd3dc['createContainerElement']('li',null,[_0x302697||!_0x461547&&_0x79d6d2?_0x5c31ea:_0x2cd3dc['createText']('')]),_0x3d77d8=_0x13a54c?_0x5d3cea[_0x13a54c-0x1]['level']:0x0,_0x5c6718=Math['abs'](_0x60487f['level']-_0x3d77d8);if(_0x60487f['level']>_0x3d77d8){const _0x3cde67=H(_0x41ec50,_0x5c6718,_0x2cd3dc);_0x2cd3dc['insert'](_0x2cd3dc['createPositionAt'](_0x3cec00,'end'),_0x3cde67);}else{const _0x310380=function(_0x117d9a,_0x14de63){return _0x117d9a['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0})['filter'](_0x32fb25=>_0x32fb25['is']('element','ol'))[_0x14de63];}(_0x3cec00,_0x5c6718);_0x2cd3dc['insert'](_0x2cd3dc['createPositionAt'](_0x310380,'end'),_0x41ec50);}_0x3cec00=_0x41ec50;}),_0x32def9;}['_handleScrollToHeading'](_0x168fc9){const _0x28ef20=this['_currentOutlineDefinitions'][_0x168fc9]['modelElement'];this['editor']['model']['change'](_0x1b21cb=>{_0x1b21cb['setSelection'](_0x28ef20,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0});}_redirectMapper(){return(_0x10ff9f,_0x42bfb9)=>{const _0x34bd8c=_0x42bfb9['mapper'],_0x4ef94b=_0x34bd8c['findMappedViewAncestor'](_0x42bfb9['viewPosition']),_0x585ca0=_0x34bd8c['toModelElement'](_0x4ef94b);_0x585ca0['is']('element','tableOfContents')&&(_0x42bfb9['modelPosition']=this['editor']['model']['createPositionAt'](_0x585ca0,0x0),_0x10ff9f['stop']());};}};function H(_0x205e19,_0x26233d,_0x4d28a9){return 0x1===_0x26233d?_0x4d28a9['createContainerElement']('ol',null,[_0x205e19]):_0x4d28a9['createContainerElement']('ol',null,[_0x4d28a9['createContainerElement']('li',null,[H(_0x205e19,_0x26233d-0x1,_0x4d28a9)])]);}var P=class extends _0xf39157{['licenseKey'];_licenseKeyCheckInterval;static get['pluginName'](){return'TableOfContentsUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){const _0x571572=this['editor'];_0x571572['ui']['componentFactory']['add']('tableOfContents',()=>{const _0x4d92e7=this['_createButton'](_0x6cdfc7);return _0x4d92e7['tooltip']=!0x0,_0x4d92e7;}),_0x571572['ui']['componentFactory']['add']('menuBar:tableOfContents',()=>this['_createButton'](_0x2b33b0)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x990bff=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x648b84;for(const _0x127c16 in _0x990bff){const _0x2bcf3a=_0x127c16,_0x79aec5=_0x990bff[_0x2bcf3a];if('tableOfContentsLicenseKeyValid'==_0x79aec5||'tableOfContentsLicenseKeyInvalid'==_0x79aec5||'tableOfContentsLicenseKeyExpired'==_0x79aec5||'tableOfContentsLicenseKeyDomainLimit'==_0x79aec5||'tableOfContentsLicenseKeyNotAllowed'==_0x79aec5||'tableOfContentsLicenseKeyEvaluationLimit'==_0x79aec5||'tableOfContentsLicenseKeyUsageLimit'==_0x79aec5){delete _0x990bff[_0x2bcf3a],_0x648b84=_0x79aec5,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'tableOfContentsLicenseKeyInvalid'==_0x648b84&&_0x990bff['_showLicenseError']('invalid'),'tableOfContentsLicenseKeyExpired'==_0x648b84&&_0x990bff['_showLicenseError']('expired'),'tableOfContentsLicenseKeyDomainLimit'==_0x648b84&&_0x990bff['_showLicenseError']('domainLimit'),'tableOfContentsLicenseKeyNotAllowed'==_0x648b84&&_0x990bff['_showLicenseError']('featureNotAllowed','TableOfContents'),'tableOfContentsLicenseKeyEvaluationLimit'==_0x648b84&&_0x990bff['_showLicenseError']('evaluationLimit'),'tableOfContentsLicenseKeyUsageLimit'==_0x648b84&&_0x990bff['_showLicenseError']('usageLimit');},0x3e8);}_createButton(_0xf12ccf){const _0x3e253a=this['editor'],_0x6c3afb=_0x3e253a['locale'],_0x5e3a73=_0x3e253a['commands']['get']('insertTableOfContents'),_0x4b04cc=new _0xf12ccf(_0x6c3afb);return _0x4b04cc['set']({'label':L(_0x6c3afb,'Table\x20of\x20contents'),'icon':_0x147e6d}),_0x4b04cc['bind']('isEnabled')['to'](_0x5e3a73,'isEnabled'),this['listenTo'](_0x4b04cc,'execute',()=>{_0x3e253a['execute']('insertTableOfContents'),_0x3e253a['editing']['view']['focus']();}),_0x4b04cc;}destroy(){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}},U=class extends _0xf39157{static get requires(){return[N,P];}static get['pluginName'](){return'TableOfContents';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}};export{E as DocumentOutline,x as DocumentOutlineUI,I as DocumentOutlineUtils,A as HeadingId,U as TableOfContents,K as TableOfContentsCommand,N as TableOfContentsEditing,P as TableOfContentsUI};
|
package/dist/translations/af.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'af':{'dictionary':{'Empty\x20heading':'','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'','Table\x20of\x20contents':''},'getPluralForm':
|
|
23
|
+
export default{'af':{'dictionary':{'Empty\x20heading':'','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'','Table\x20of\x20contents':''},'getPluralForm':_0x5c714b=>0x1!=_0x5c714b}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x51e8bc=>{const {af:{dictionary:_0x11e1f3,getPluralForm:_0x30afe2}}={'af':{'dictionary':{'Empty\x20heading':'','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'','Table\x20of\x20contents':''},'getPluralForm':_0x3967cf=>0x1!=_0x3967cf}};_0x51e8bc['af']||={'dictionary':{},'getPluralForm':null},_0x51e8bc['af']['dictionary']=Object['assign'](_0x51e8bc['af']['dictionary'],_0x11e1f3),_0x51e8bc['af']['getPluralForm']=_0x30afe2;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/ar.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'ar':{'dictionary':{'Empty\x20heading':'رأس\x20فارغ','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'تظهر\x20رؤوس\x20المحرر\x20هنا\x20أثناء\x20الكتابة.','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'لم\x20نعثر\x20على\x20رؤوس\x20في\x20المستند.','Table\x20of\x20contents':'جدول\x20المحتويات'},'getPluralForm':
|
|
23
|
+
export default{'ar':{'dictionary':{'Empty\x20heading':'رأس\x20فارغ','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'تظهر\x20رؤوس\x20المحرر\x20هنا\x20أثناء\x20الكتابة.','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'لم\x20نعثر\x20على\x20رؤوس\x20في\x20المستند.','Table\x20of\x20contents':'جدول\x20المحتويات'},'getPluralForm':_0x19ec34=>0x0==_0x19ec34?0x0:0x1==_0x19ec34?0x1:0x2==_0x19ec34?0x2:_0x19ec34%0x64>=0x3&&_0x19ec34%0x64<=0xa?0x3:_0x19ec34%0x64>=0xb?0x4:0x5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3aaf7c=>{const {ar:{dictionary:_0x5877ab,getPluralForm:_0xec1345}}={'ar':{'dictionary':{'Empty\x20heading':'رأس\x20فارغ','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'تظهر\x20رؤوس\x20المحرر\x20هنا\x20أثناء\x20الكتابة.','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'لم\x20نعثر\x20على\x20رؤوس\x20في\x20المستند.','Table\x20of\x20contents':'جدول\x20المحتويات'},'getPluralForm':_0x1e5b56=>0x0==_0x1e5b56?0x0:0x1==_0x1e5b56?0x1:0x2==_0x1e5b56?0x2:_0x1e5b56%0x64>=0x3&&_0x1e5b56%0x64<=0xa?0x3:_0x1e5b56%0x64>=0xb?0x4:0x5}};_0x3aaf7c['ar']||={'dictionary':{},'getPluralForm':null},_0x3aaf7c['ar']['dictionary']=Object['assign'](_0x3aaf7c['ar']['dictionary'],_0x5877ab),_0x3aaf7c['ar']['getPluralForm']=_0xec1345;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/ast.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'ast':{'dictionary':{'Empty\x20heading':'','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'','Table\x20of\x20contents':''},'getPluralForm':
|
|
23
|
+
export default{'ast':{'dictionary':{'Empty\x20heading':'','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'','Table\x20of\x20contents':''},'getPluralForm':_0x3ebf5d=>0x1!=_0x3ebf5d}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x56df3d=>{const {ast:{dictionary:_0x434ec4,getPluralForm:_0x1fcf60}}={'ast':{'dictionary':{'Empty\x20heading':'','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'','Table\x20of\x20contents':''},'getPluralForm':_0x39f329=>0x1!=_0x39f329}};_0x56df3d['ast']||={'dictionary':{},'getPluralForm':null},_0x56df3d['ast']['dictionary']=Object['assign'](_0x56df3d['ast']['dictionary'],_0x434ec4),_0x56df3d['ast']['getPluralForm']=_0x1fcf60;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/az.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'az':{'dictionary':{'Empty\x20heading':'','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'','Table\x20of\x20contents':''},'getPluralForm':
|
|
23
|
+
export default{'az':{'dictionary':{'Empty\x20heading':'','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'','Table\x20of\x20contents':''},'getPluralForm':_0x1fdbea=>0x1!=_0x1fdbea}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x449387=>{const {az:{dictionary:_0x35729c,getPluralForm:_0x308d0b}}={'az':{'dictionary':{'Empty\x20heading':'','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'','Table\x20of\x20contents':''},'getPluralForm':_0x50df7f=>0x1!=_0x50df7f}};_0x449387['az']||={'dictionary':{},'getPluralForm':null},_0x449387['az']['dictionary']=Object['assign'](_0x449387['az']['dictionary'],_0x35729c),_0x449387['az']['getPluralForm']=_0x308d0b;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/be.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'be':{'dictionary':{'Empty\x20heading':'','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'','Table\x20of\x20contents':''},'getPluralForm':
|
|
23
|
+
export default{'be':{'dictionary':{'Empty\x20heading':'','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'','Table\x20of\x20contents':''},'getPluralForm':_0x2e6f00=>_0x2e6f00%0xa==0x1&&_0x2e6f00%0x64!=0xb?0x0:_0x2e6f00%0xa>=0x2&&_0x2e6f00%0xa<=0x4&&(_0x2e6f00%0x64<0xa||_0x2e6f00%0x64>=0x14)?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x311c8f=>{const {be:{dictionary:_0x2fc834,getPluralForm:_0xe33c09}}={'be':{'dictionary':{'Empty\x20heading':'','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'','Table\x20of\x20contents':''},'getPluralForm':_0x53c082=>_0x53c082%0xa==0x1&&_0x53c082%0x64!=0xb?0x0:_0x53c082%0xa>=0x2&&_0x53c082%0xa<=0x4&&(_0x53c082%0x64<0xa||_0x53c082%0x64>=0x14)?0x1:0x2}};_0x311c8f['be']||={'dictionary':{},'getPluralForm':null},_0x311c8f['be']['dictionary']=Object['assign'](_0x311c8f['be']['dictionary'],_0x2fc834),_0x311c8f['be']['getPluralForm']=_0xe33c09;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/bg.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'bg':{'dictionary':{'Empty\x20heading':'Празно\x20заглавие','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'Заглавията\x20на\x20редактора\x20ще\x20се\x20виждат\x20тук\x20по\x20време\x20на\x20писането.','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'В\x20документа\x20не\x20бяха\x20намерени\x20заглавия.','Table\x20of\x20contents':'Съдържание'},'getPluralForm':
|
|
23
|
+
export default{'bg':{'dictionary':{'Empty\x20heading':'Празно\x20заглавие','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'Заглавията\x20на\x20редактора\x20ще\x20се\x20виждат\x20тук\x20по\x20време\x20на\x20писането.','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'В\x20документа\x20не\x20бяха\x20намерени\x20заглавия.','Table\x20of\x20contents':'Съдържание'},'getPluralForm':_0xa831de=>0x1!=_0xa831de}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x50ce29=>{const {bg:{dictionary:_0x20901f,getPluralForm:_0x236522}}={'bg':{'dictionary':{'Empty\x20heading':'Празно\x20заглавие','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'Заглавията\x20на\x20редактора\x20ще\x20се\x20виждат\x20тук\x20по\x20време\x20на\x20писането.','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'В\x20документа\x20не\x20бяха\x20намерени\x20заглавия.','Table\x20of\x20contents':'Съдържание'},'getPluralForm':_0x40e162=>0x1!=_0x40e162}};_0x50ce29['bg']||={'dictionary':{},'getPluralForm':null},_0x50ce29['bg']['dictionary']=Object['assign'](_0x50ce29['bg']['dictionary'],_0x20901f),_0x50ce29['bg']['getPluralForm']=_0x236522;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/bn.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'bn':{'dictionary':{'Empty\x20heading':'খালি\x20হেডিং','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'আপনি\x20টাইপ\x20করার\x20সাথে\x20সাথে\x20এডিটর\x20হেডিং\x20এখানে\x20প্রদর্শিত\x20হবে।','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'ডকুমেন্টে\x20কোনো\x20হেডিং\x20পাওয়া\x20যায়নি।','Table\x20of\x20contents':'বিষয়বস্তুর\x20টেবিল'},'getPluralForm':
|
|
23
|
+
export default{'bn':{'dictionary':{'Empty\x20heading':'খালি\x20হেডিং','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'আপনি\x20টাইপ\x20করার\x20সাথে\x20সাথে\x20এডিটর\x20হেডিং\x20এখানে\x20প্রদর্শিত\x20হবে।','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'ডকুমেন্টে\x20কোনো\x20হেডিং\x20পাওয়া\x20যায়নি।','Table\x20of\x20contents':'বিষয়বস্তুর\x20টেবিল'},'getPluralForm':_0x3d1f24=>0x1!=_0x3d1f24}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x50d8a7=>{const {bn:{dictionary:_0x2aaf91,getPluralForm:_0x19242d}}={'bn':{'dictionary':{'Empty\x20heading':'খালি\x20হেডিং','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'আপনি\x20টাইপ\x20করার\x20সাথে\x20সাথে\x20এডিটর\x20হেডিং\x20এখানে\x20প্রদর্শিত\x20হবে।','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'ডকুমেন্টে\x20কোনো\x20হেডিং\x20পাওয়া\x20যায়নি।','Table\x20of\x20contents':'বিষয়বস্তুর\x20টেবিল'},'getPluralForm':_0x190413=>0x1!=_0x190413}};_0x50d8a7['bn']||={'dictionary':{},'getPluralForm':null},_0x50d8a7['bn']['dictionary']=Object['assign'](_0x50d8a7['bn']['dictionary'],_0x2aaf91),_0x50d8a7['bn']['getPluralForm']=_0x19242d;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/bs.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'bs':{'dictionary':{'Empty\x20heading':'','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'','Table\x20of\x20contents':''},'getPluralForm':
|
|
23
|
+
export default{'bs':{'dictionary':{'Empty\x20heading':'','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'','Table\x20of\x20contents':''},'getPluralForm':_0x4191df=>_0x4191df%0xa==0x1&&_0x4191df%0x64!=0xb?0x0:_0x4191df%0xa>=0x2&&_0x4191df%0xa<=0x4&&(_0x4191df%0x64<0xa||_0x4191df%0x64>=0x14)?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x530c64=>{const {bs:{dictionary:_0x46422f,getPluralForm:_0x1621a6}}={'bs':{'dictionary':{'Empty\x20heading':'','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'','Table\x20of\x20contents':''},'getPluralForm':_0xde5d05=>_0xde5d05%0xa==0x1&&_0xde5d05%0x64!=0xb?0x0:_0xde5d05%0xa>=0x2&&_0xde5d05%0xa<=0x4&&(_0xde5d05%0x64<0xa||_0xde5d05%0x64>=0x14)?0x1:0x2}};_0x530c64['bs']||={'dictionary':{},'getPluralForm':null},_0x530c64['bs']['dictionary']=Object['assign'](_0x530c64['bs']['dictionary'],_0x46422f),_0x530c64['bs']['getPluralForm']=_0x1621a6;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/ca.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'ca':{'dictionary':{'Empty\x20heading':'Encapçalament\x20buit','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'Els\x20encapçalaments\x20de\x20l\x27editor\x20apareixeran\x20aquí\x20a\x20mesura\x20que\x20escriguis.','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'No\x20s\x27ha\x20trobat\x20cap\x20encapçalament\x20al\x20document.','Table\x20of\x20contents':'Taula\x20de\x20continguts'},'getPluralForm':
|
|
23
|
+
export default{'ca':{'dictionary':{'Empty\x20heading':'Encapçalament\x20buit','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'Els\x20encapçalaments\x20de\x20l\x27editor\x20apareixeran\x20aquí\x20a\x20mesura\x20que\x20escriguis.','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'No\x20s\x27ha\x20trobat\x20cap\x20encapçalament\x20al\x20document.','Table\x20of\x20contents':'Taula\x20de\x20continguts'},'getPluralForm':_0x35da0f=>0x1!=_0x35da0f}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x246c0a=>{const {ca:{dictionary:_0xc6eb81,getPluralForm:_0x466404}}={'ca':{'dictionary':{'Empty\x20heading':'Encapçalament\x20buit','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'Els\x20encapçalaments\x20de\x20l\x27editor\x20apareixeran\x20aquí\x20a\x20mesura\x20que\x20escriguis.','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'No\x20s\x27ha\x20trobat\x20cap\x20encapçalament\x20al\x20document.','Table\x20of\x20contents':'Taula\x20de\x20continguts'},'getPluralForm':_0x445368=>0x1!=_0x445368}};_0x246c0a['ca']||={'dictionary':{},'getPluralForm':null},_0x246c0a['ca']['dictionary']=Object['assign'](_0x246c0a['ca']['dictionary'],_0xc6eb81),_0x246c0a['ca']['getPluralForm']=_0x466404;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/cs.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'cs':{'dictionary':{'Empty\x20heading':'Prázdný\x20nadpis','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'Tady\x20se\x20během\x20psaní\x20objeví\x20nadpisy\x20editoru.','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'V\x20dokumentu\x20nebyly\x20nalezeny\x20žádné\x20nadpisy.','Table\x20of\x20contents':'Obsah'},'getPluralForm':
|
|
23
|
+
export default{'cs':{'dictionary':{'Empty\x20heading':'Prázdný\x20nadpis','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'Tady\x20se\x20během\x20psaní\x20objeví\x20nadpisy\x20editoru.','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'V\x20dokumentu\x20nebyly\x20nalezeny\x20žádné\x20nadpisy.','Table\x20of\x20contents':'Obsah'},'getPluralForm':_0x5510cf=>0x1==_0x5510cf?0x0:_0x5510cf>=0x2&&_0x5510cf<=0x4?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2734d1=>{const {cs:{dictionary:_0x1d720d,getPluralForm:_0x54ec24}}={'cs':{'dictionary':{'Empty\x20heading':'Prázdný\x20nadpis','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'Tady\x20se\x20během\x20psaní\x20objeví\x20nadpisy\x20editoru.','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'V\x20dokumentu\x20nebyly\x20nalezeny\x20žádné\x20nadpisy.','Table\x20of\x20contents':'Obsah'},'getPluralForm':_0x71b3f7=>0x1==_0x71b3f7?0x0:_0x71b3f7>=0x2&&_0x71b3f7<=0x4?0x1:0x2}};_0x2734d1['cs']||={'dictionary':{},'getPluralForm':null},_0x2734d1['cs']['dictionary']=Object['assign'](_0x2734d1['cs']['dictionary'],_0x1d720d),_0x2734d1['cs']['getPluralForm']=_0x54ec24;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/da.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'da':{'dictionary':{'Empty\x20heading':'Tom\x20overskrift','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'Redigeringsoverskrifter\x20vil\x20stå\x20her,\x20efterhånden\x20som\x20du\x20skriver.','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'Ingen\x20overskrifter\x20blev\x20fundet\x20i\x20dokumentet.','Table\x20of\x20contents':'Indholdsfortegnelse'},'getPluralForm':
|
|
23
|
+
export default{'da':{'dictionary':{'Empty\x20heading':'Tom\x20overskrift','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'Redigeringsoverskrifter\x20vil\x20stå\x20her,\x20efterhånden\x20som\x20du\x20skriver.','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'Ingen\x20overskrifter\x20blev\x20fundet\x20i\x20dokumentet.','Table\x20of\x20contents':'Indholdsfortegnelse'},'getPluralForm':_0x4f2d4a=>0x1!=_0x4f2d4a}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4177f5=>{const {da:{dictionary:_0x35816f,getPluralForm:_0x629f93}}={'da':{'dictionary':{'Empty\x20heading':'Tom\x20overskrift','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'Redigeringsoverskrifter\x20vil\x20stå\x20her,\x20efterhånden\x20som\x20du\x20skriver.','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'Ingen\x20overskrifter\x20blev\x20fundet\x20i\x20dokumentet.','Table\x20of\x20contents':'Indholdsfortegnelse'},'getPluralForm':_0x44c88f=>0x1!=_0x44c88f}};_0x4177f5['da']||={'dictionary':{},'getPluralForm':null},_0x4177f5['da']['dictionary']=Object['assign'](_0x4177f5['da']['dictionary'],_0x35816f),_0x4177f5['da']['getPluralForm']=_0x629f93;})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'de-ch':{'dictionary':{'Empty\x20heading':'','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'','Table\x20of\x20contents':''},'getPluralForm':
|
|
23
|
+
export default{'de-ch':{'dictionary':{'Empty\x20heading':'','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'','Table\x20of\x20contents':''},'getPluralForm':_0x135612=>0x1!=_0x135612}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1c9336=>{const {'de-ch':{dictionary:_0x5658b1,getPluralForm:_0x393fe8}}={'de-ch':{'dictionary':{'Empty\x20heading':'','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'','Table\x20of\x20contents':''},'getPluralForm':_0x2f5263=>0x1!=_0x2f5263}};_0x1c9336['de-ch']||={'dictionary':{},'getPluralForm':null},_0x1c9336['de-ch']['dictionary']=Object['assign'](_0x1c9336['de-ch']['dictionary'],_0x5658b1),_0x1c9336['de-ch']['getPluralForm']=_0x393fe8;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/de.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'de':{'dictionary':{'Empty\x20heading':'Leere\x20Überschrift','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'Während\x20Sie\x20schreiben,\x20werden\x20hier\x20die\x20Editor-Überschriften\x20angezeigt.','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'Im\x20Dokument\x20wurden\x20keine\x20Überschriften\x20gefunden.','Table\x20of\x20contents':'Inhaltsverzeichnis'},'getPluralForm':
|
|
23
|
+
export default{'de':{'dictionary':{'Empty\x20heading':'Leere\x20Überschrift','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'Während\x20Sie\x20schreiben,\x20werden\x20hier\x20die\x20Editor-Überschriften\x20angezeigt.','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'Im\x20Dokument\x20wurden\x20keine\x20Überschriften\x20gefunden.','Table\x20of\x20contents':'Inhaltsverzeichnis'},'getPluralForm':_0x2594ac=>0x1!=_0x2594ac}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3a2cc2=>{const {de:{dictionary:_0x1fee5c,getPluralForm:_0x261c09}}={'de':{'dictionary':{'Empty\x20heading':'Leere\x20Überschrift','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'Während\x20Sie\x20schreiben,\x20werden\x20hier\x20die\x20Editor-Überschriften\x20angezeigt.','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'Im\x20Dokument\x20wurden\x20keine\x20Überschriften\x20gefunden.','Table\x20of\x20contents':'Inhaltsverzeichnis'},'getPluralForm':_0x4b233e=>0x1!=_0x4b233e}};_0x3a2cc2['de']||={'dictionary':{},'getPluralForm':null},_0x3a2cc2['de']['dictionary']=Object['assign'](_0x3a2cc2['de']['dictionary'],_0x1fee5c),_0x3a2cc2['de']['getPluralForm']=_0x261c09;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/el.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'el':{'dictionary':{'Empty\x20heading':'Κενή\x20επικεφαλίδα','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'Οι\x20επικεφαλίδες\x20του\x20επεξεργαστή\x20θα\x20εμφανίζονται\x20εδώ\x20καθώς\x20πληκτρολογείτε.','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'Δεν\x20βρέθηκαν\x20επικεφαλίδες\x20στο\x20έγγραφο.','Table\x20of\x20contents':'Πίνακας\x20περιεχομένων'},'getPluralForm':
|
|
23
|
+
export default{'el':{'dictionary':{'Empty\x20heading':'Κενή\x20επικεφαλίδα','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'Οι\x20επικεφαλίδες\x20του\x20επεξεργαστή\x20θα\x20εμφανίζονται\x20εδώ\x20καθώς\x20πληκτρολογείτε.','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'Δεν\x20βρέθηκαν\x20επικεφαλίδες\x20στο\x20έγγραφο.','Table\x20of\x20contents':'Πίνακας\x20περιεχομένων'},'getPluralForm':_0x4fe171=>0x1!=_0x4fe171}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2f67f9=>{const {el:{dictionary:_0xff71df,getPluralForm:_0x343f66}}={'el':{'dictionary':{'Empty\x20heading':'Κενή\x20επικεφαλίδα','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'Οι\x20επικεφαλίδες\x20του\x20επεξεργαστή\x20θα\x20εμφανίζονται\x20εδώ\x20καθώς\x20πληκτρολογείτε.','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'Δεν\x20βρέθηκαν\x20επικεφαλίδες\x20στο\x20έγγραφο.','Table\x20of\x20contents':'Πίνακας\x20περιεχομένων'},'getPluralForm':_0x51eefa=>0x1!=_0x51eefa}};_0x2f67f9['el']||={'dictionary':{},'getPluralForm':null},_0x2f67f9['el']['dictionary']=Object['assign'](_0x2f67f9['el']['dictionary'],_0xff71df),_0x2f67f9['el']['getPluralForm']=_0x343f66;})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'en-au':{'dictionary':{'Empty\x20heading':'Empty\x20heading','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'No\x20headings\x20were\x20found\x20in\x20the\x20document.','Table\x20of\x20contents':'Table\x20of\x20contents'},'getPluralForm':
|
|
23
|
+
export default{'en-au':{'dictionary':{'Empty\x20heading':'Empty\x20heading','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'No\x20headings\x20were\x20found\x20in\x20the\x20document.','Table\x20of\x20contents':'Table\x20of\x20contents'},'getPluralForm':_0x1cab1b=>0x1!=_0x1cab1b}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4412bb=>{const {'en-au':{dictionary:_0x2fa486,getPluralForm:_0xfaa90d}}={'en-au':{'dictionary':{'Empty\x20heading':'Empty\x20heading','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'No\x20headings\x20were\x20found\x20in\x20the\x20document.','Table\x20of\x20contents':'Table\x20of\x20contents'},'getPluralForm':_0x5d4839=>0x1!=_0x5d4839}};_0x4412bb['en-au']||={'dictionary':{},'getPluralForm':null},_0x4412bb['en-au']['dictionary']=Object['assign'](_0x4412bb['en-au']['dictionary'],_0x2fa486),_0x4412bb['en-au']['getPluralForm']=_0xfaa90d;})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'en-gb':{'dictionary':{'Empty\x20heading':'','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'','Table\x20of\x20contents':''},'getPluralForm':
|
|
23
|
+
export default{'en-gb':{'dictionary':{'Empty\x20heading':'','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'','Table\x20of\x20contents':''},'getPluralForm':_0x3c3645=>0x1!=_0x3c3645}};
|