@ckeditor/ckeditor5-document-outline 48.4.0-alpha.0 → 48.4.0-alpha.1
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 _0x4683fd,Plugin as _0x34fc7b}from'@ckeditor/ckeditor5-core';import{debounce as _0xe34998,throttle as _0x374c7f}from'es-toolkit/compat';import{ModelText as _0x143fa,ModelTreeWalker as _0x4fbd74}from'@ckeditor/ckeditor5-engine';import{CKEditorError as _0x446af2,Rect as _0x3f2d27,diff as _0x133a99,diffToChanges as _0xdd9d6e,global as _0x178901,priorities as _0x19ff64,scrollAncestorsToShowTarget as _0x362e15,uid as _0x9cea}from'@ckeditor/ckeditor5-utils';import{ButtonView as _0x482f92,MenuBarMenuListItemButtonView as _0xa1ae23,View as _0x57c2ff}from'@ckeditor/ckeditor5-ui';import{Widget as _0x18c3b0,toWidget as _0x908728}from'@ckeditor/ckeditor5-widget';import{IconTableOfContents as _0x2dc155}from'@ckeditor/ckeditor5-icons';function b(_0x386ba6){let _0x40cec5='';for(const _0x50b0ef of _0x386ba6['getChildren']())_0x50b0ef instanceof _0x143fa&&(_0x40cec5+=_0x50b0ef['data']);return _0x40cec5;}var I=class extends _0x34fc7b{static get['pluginName'](){return'DocumentOutlineUtils';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['_headingNames']=[];init(){const _0x2f5693=this['editor'];this['_headingNames']=this['_getHeadingNames']();let _0xab35a8=[];_0x2f5693['model']['document']['on']('change',_0xe34998(()=>{const _0x1bbade=_0xab35a8;_0xab35a8=this['_getOutlineDefinitions']();const _0x2d57ef=_0xdd9d6e(_0x133a99(_0x1bbade,_0xab35a8,(_0x4e4b8,_0x3f5a47)=>_0x4e4b8['level']===_0x3f5a47['level']&&_0x4e4b8['text']===_0x3f5a47['text']&&_0x4e4b8['modelElement']===_0x3f5a47['modelElement']),_0xab35a8),_0x5d03b1=this['_getActiveHeading'](),_0x250425=_0xab35a8['findIndex'](_0x43f7f8=>_0x43f7f8['modelElement']===_0x5d03b1);_0x2d57ef['length']&&this['fire']('change',{'outlineDefinitions':_0xab35a8,'activeItemIndex':_0x250425,'outlineChanges':_0x2d57ef}),this['fire']('activeItemIndex',{'index':_0x250425});},0xfa,{'leading':!0x0,'trailing':!0x0}));}afterInit(){this['_headingNames']['length']||this['_deriveHeadingElementsFromConversion']();}_getOutlineDefinitions(){const _0x21ab14=this['editor'],_0x133827=[],_0x39a3f8=this['_headingNames'];for(const _0x20e1d7 of _0x21ab14['model']['document']['getRootNames']())_0x28644f(_0x21ab14['model']['document']['getRoot'](_0x20e1d7));function _0x28644f(_0x4e7ac9){for(const _0x3e4509 of _0x4e7ac9['getChildren']())_0x3e4509['is']('element')&&(_0x39a3f8['includes'](_0x3e4509['name'])&&_0x133827['push']({'level':_0x39a3f8['indexOf'](_0x3e4509['name'])+0x1,'text':b(_0x3e4509),'modelElement':_0x3e4509}),_0x28644f(_0x3e4509));}return _0x133827;}_getActiveHeading(){const _0x3a500e=new _0x4fbd74({'direction':'backward','startPosition':this['editor']['model']['document']['selection']['getFirstPosition']()});for(const _0x557cfb of _0x3a500e)if(_0x557cfb['item']['is']('element')&&this['_headingNames']['includes'](_0x557cfb['item']['name']))return _0x557cfb['item'];}_getHeadingNames(){const _0x2b8bc6=this['editor']['config']['get']('documentOutline.headings');return _0x2b8bc6||function(_0x170cd8){const _0x13858b=_0x170cd8['config']['get']('heading.options');return _0x13858b?_0x13858b['reduce']((_0x27364f,_0x29315e)=>('paragraph'!==_0x29315e['model']&&_0x27364f['push'](_0x29315e['model']),_0x27364f),[]):_0x170cd8['plugins']['has']('GeneralHtmlSupport')?['htmlH1','htmlH2','htmlH3','htmlH4','htmlH5','htmlH6']:[];}(this['editor']);}_deriveHeadingElementsFromConversion(){const _0x4f3c14=this['editor'],_0x3d98c4=['h1','h2','h3','h4','h5','h6'],_0x5dcceb=[];for(const _0x316c23 of _0x3d98c4){const _0x3e7ca2=_0x4f3c14['editing']['view']['domConverter']['domToView'](document['createElement'](_0x316c23)),_0x7c437c=_0x4f3c14['data']['toModel'](_0x3e7ca2)['getChild'](0x0);_0x7c437c?.['is']('element')&&_0x5dcceb['push'](_0x7c437c['name']);}this['_headingNames']=_0x5dcceb;}};function L(_0xf4813e,_0x4aeb58){const t=_0xf4813e['t'];switch(_0x4aeb58){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 _0x4aeb58;}}var C=class extends _0x57c2ff{constructor(_0x1c2815,_0x59c192=!0x1){super(_0x1c2815);const _0x456d55=this['bindTemplate'],_0x123edf=_0x59c192?'['+L(_0x1c2815,'Empty\x20heading')+']':'';this['set']('text',''),this['set']('level',0x1),this['set']('isActive',!0x1),this['bind']('isEmpty')['to'](this,'text',_0x504e7c=>!_0x504e7c),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline__item',_0x456d55['to']('level',_0x556bd3=>'ck-document-outline__item_level-'+_0x556bd3),_0x456d55['if']('isActive','ck-document-outline__item_active'),_0x456d55['if']('isEmpty','ck-document-outline__item_empty')],'title':_0x456d55['to']('text')},'children':[{'text':_0x456d55['to']('text',_0x54fa82=>_0x54fa82||_0x123edf)}],'on':{'click':_0x456d55['to']('click')}});}},_=class extends _0x57c2ff{items;documentOutlineContainer;showEmptyHeadingText;constructor(_0x47bfdd,_0x165752=!0x1,_0x351e2d){super(_0x47bfdd),this['showEmptyHeadingText']=_0x165752,this['set']('activeItemIndex',-0x1),this['documentOutlineContainer']=_0x351e2d,this['items']=this['createCollection'](),this['items']['delegate']('click')['to'](this),this['on']('click',this['_handleItemClick']['bind'](this)),this['on']('change:activeItemIndex',(_0xb269f8,_0x2c6d7d,_0x451eb0,_0x5f13d8)=>{this['_setActiveItem'](_0x5f13d8,_0x451eb0);}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline'],'dir':_0x47bfdd['contentLanguageDirection'],'data-document-outline-empty-placeholder':L(_0x47bfdd,'Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.'),'tabindex':-0x1},'children':this['items']});}['sync'](_0x293df9){_0x293df9['forEach'](_0x3c718a=>{'insert'==_0x3c718a['type']?this['_insertItem'](_0x3c718a['index'],..._0x3c718a['values']):'delete'==_0x3c718a['type']&&this['_deleteItem'](_0x3c718a['index'],_0x3c718a['howMany']);});}_setActiveItem(_0x6b6392,_0x250584){if(-0x1!==_0x6b6392){const _0x37fef5=this['items']['get'](_0x6b6392);_0x37fef5&&(_0x37fef5['isActive']=!0x1);}-0x1!==_0x250584&&(this['items']['get'](_0x250584)['isActive']=!0x0,this['_scrollToItem'](_0x250584));}_insertItem(_0x2d6fe7,..._0x402ede){const _0x29d187=_0x402ede['map']((_0x49802e,_0x18f190)=>{const _0x2465cb=new C(this['locale'],this['showEmptyHeadingText']);return _0x2465cb['text']=_0x49802e['text'],_0x2465cb['level']=_0x49802e['level'],_0x2d6fe7+_0x18f190===this['activeItemIndex']&&(_0x2465cb['isActive']=!0x0),_0x2465cb;});this['items']['addMany'](_0x29d187,_0x2d6fe7);}_deleteItem(_0x15ec5a,_0x36a956){do{this['items']['remove'](_0x15ec5a);}while(--_0x36a956);}_handleItemClick(_0x491ff4){const _0x454523=this['items']['getIndex'](_0x491ff4['source']);this['fire']('itemSelected',_0x454523);}_scrollToItem(_0x5c8a37){_0x362e15(this['items']['get'](_0x5c8a37)['element'],0x14,this['documentOutlineContainer']);}destroy(){super['destroy'](),this['element']['remove']();}},x=class extends _0x34fc7b{['view'];_currentOutlineDefinitions;_updateActiveDefinitionFromViewportThrottled;static get['pluginName'](){return'DocumentOutlineUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x146d14){super(_0x146d14),this['view']=new _(_0x146d14['locale'],this['editor']['config']['get']('documentOutline.showEmptyHeadings'),this['editor']['config']['get']('documentOutline.container')),this['_currentOutlineDefinitions']=[],this['_updateActiveDefinitionFromViewportThrottled']=_0x374c7f(this['_updateActiveDefinitionOnViewportChange']['bind'](this),0x64);}init(){const _0x539de9=this['editor'],_0x4cc069=_0x539de9['plugins']['get']('DocumentOutlineUtils');let _0x228c19=!0x1;if(this['view']['render'](),this['editor']['ui']['focusTracker']['add'](this['view']['element']),!_0x539de9['config']['get']('documentOutline.container'))throw new _0x446af2('document-outline-container-not-provided',{'editor':_0x539de9});_0x539de9['config']['get']('documentOutline.container')['appendChild'](this['view']['element']),_0x4cc069['on']('change',this['_handleOutlineChange']['bind'](this)),_0x4cc069['on']('activeItemIndex',(_0x4cf873,{index:_0x59b3e5})=>this['_setActiveViewItem'](_0x59b3e5)),this['view']['on']('itemSelected',(_0xebd5b6,_0xa07700)=>{_0x228c19=!0x0,this['_handleItemSelected'](_0xa07700);}),this['view']['listenTo'](_0x178901['document'],'scroll',()=>{_0x228c19?_0x228c19=!0x1:this['_updateActiveDefinitionFromViewportThrottled']();},{'useCapture':!0x0}),this['view']['listenTo'](_0x178901['window'],'resize',this['_updateActiveDefinitionFromViewportThrottled'],{'useCapture':!0x0});}afterInit(){!async function(_0x1bfa83){const _0x4cea9d='aWxlPG0A3CDdHBsZEqwULojOrgMXVTRvu1bI2487ptzJKQeihfNkYS9n6y5mcF',_0x3eb214=0x79128,_0x1c605b=window['Date']['now'](),_0x14b0d7=_0x1bfa83['editor'],_0x161ada=new window['Promise'](_0x1f17a1=>{_0x14b0d7['once']('ready',_0x1f17a1);}),_0x40cdd8={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x2227d4=_0x14b0d7['config']['get']('licenseKey');async function _0x412087(){let _0x3d769d,_0x25a4a4=null,_0x3c83bc=null;try{return'GPL'==_0x2227d4?'NotAllowed':(_0x3d769d=_0xea9c78(),_0x3d769d?(_0x3d769d['usageEndpoint']&&(_0x3c83bc=_0x34fa7d(_0x3d769d['usageEndpoint'],_0x3d769d['jti'])),await _0x22cd1a()?_0x504e82()?_0x4d7451()?'Expired':_0x7d1329()?('evaluation'==_0x3d769d['licenseType']&&(_0x25a4a4=_0x352886('EvaluationLimit')),await _0xa7ff4d()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x4d7451(){const _0x1a6889=['evaluation','trial']['includes'](_0x3d769d['licenseType'])?_0x1c605b/0x3e8:0xe10*_0x3eb214;return _0x3d769d['exp']<_0x1a6889;}function _0x504e82(){const _0x52bb77=_0x3d769d['features'];return!!_0x52bb77&&(!!_0x52bb77['includes']('*')||(!!_0x52bb77['includes']('DO')||(!!_0x52bb77['includes']('PP')||!(!_0x52bb77['includes']('TRILIUM')||!_0x5e5739()))));}function _0x7d1329(){const _0x221eb1=_0x3d769d['licensedHosts'];if(!_0x221eb1||0x0==_0x221eb1['length'])return!0x0;const {hostname:_0x188e05}=new URL(window['location']['href']);if(_0x221eb1['includes'](_0x188e05))return!0x0;const _0x104fd4=_0x188e05['split']('.');return _0x221eb1['filter'](_0x31c2de=>_0x31c2de['includes']('*'))['map'](_0x4d1e9f=>_0x4d1e9f['split']('.'))['filter'](_0x26ca98=>_0x26ca98['length']<=_0x104fd4['length'])['map'](_0x337e77=>Array(_0x104fd4['length']-_0x337e77['length'])['fill']('*'===_0x337e77[0x0]?'*':'')['concat'](_0x337e77))['some'](_0x4c26f7=>_0x104fd4['every']((_0x211c6a,_0x3f6acd)=>_0x4c26f7[_0x3f6acd]===_0x211c6a||'*'===_0x4c26f7[_0x3f6acd]));}function _0xa7ff4d(){return _0x25a4a4&&_0x3c83bc?new window['Promise']((_0x2a7668,_0x3448f5)=>{_0x25a4a4['then'](_0x2a7668,_0x3448f5),_0x3c83bc['then'](_0x4973fe=>{'Valid'!=_0x4973fe&&_0x2a7668(_0x4973fe);},_0x3448f5);}):_0x25a4a4||_0x3c83bc||'Valid';}}function _0x34fa7d(_0x5be4ff,_0x476847){return new window['Promise'](_0x2608b9=>{if(_0x48a58a())return _0x2608b9('Valid');_0x4cb20a(),_0x14b0d7['decorate']('_sendUsageRequest');let _0xbf70e0=!0x1;const _0x443ddc=_0x9cea();function _0xcef8a6(_0x4820a6){return!!_0x4820a6&&('object'==typeof _0x4820a6||'function'==typeof _0x4820a6)&&'function'==typeof _0x4820a6['then']&&'function'==typeof _0x4820a6['catch'];}function _0x1cc4c3(_0x275967){_0x16152a(_0x275967)['then'](_0x5148f4=>_0x5148f4&&'ok'==_0x5148f4['status']?_0x4a5f3e(_0x557502(_0x443ddc+_0x476847))!=_0x5148f4['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x52dc50=>(_0x4cb1cf(),_0x52dc50),()=>{const _0x349c07=_0xa35e42();return null==_0x349c07?(_0x4cb1cf(),'Valid'):_0x1c605b-_0x349c07>0x240c8400?'UsageLimit':'Valid';})['then'](_0x2608b9)['catch'](()=>{_0x2608b9('UsageLimit');});const _0x364b4d=0x36ee80;function _0x4cb1cf(){const _0x23f043='llct-'+_0x4a5f3e(_0x557502(_0x5be4ff)),_0x2022a8=_0x28c15f(_0x4a5f3e(window['Math']['ceil'](_0x1c605b/_0x364b4d)));window['localStorage']['setItem'](_0x23f043,_0x2022a8);}function _0xa35e42(){const _0x2279ae='llct-'+_0x4a5f3e(_0x557502(_0x5be4ff)),_0x5194ae=window['localStorage']['getItem'](_0x2279ae);return _0x5194ae?window['parseInt'](_0x28c15f(_0x5194ae),0x10)*_0x364b4d:null;}function _0x16152a(_0x4a160e){return new window['Promise']((_0x1cde0c,_0x2b1ca4)=>{_0x4a160e['then'](_0x1cde0c,_0x2b1ca4),window['setTimeout'](_0x2b1ca4,0x1d4c0);});}}_0x14b0d7['on']('_sendUsageRequest',(_0x4a94f1,_0x13162d)=>{if(_0x13162d[0x0]!=_0x5be4ff)return _0x2608b9('UsageLimit');_0x13162d[0x1]={..._0x13162d[0x1],'requestId':_0x443ddc};},{'priority':'high'}),_0x14b0d7['on']('_sendUsageRequest',_0x5230da=>{_0xcef8a6(_0x5230da['return'])&&(_0xbf70e0=!0x0,_0x1cc4c3(_0x5230da['return']));},{'priority':'low'}),_0x161ada['then'](()=>{_0xbf70e0||_0x2608b9('UsageLimit');});});function _0x48a58a(){return'auto'==_0x14b0d7['editing']['view']['_overlayModeHint'];}function _0x4cb20a(){_0x14b0d7['editing']['view']['_overlayModeHint']='auto';}}function _0x352886(_0x2cfd68){const _0x4e9b2d=[new window['Promise'](_0x2b0a46=>setTimeout(_0x2b0a46,0x93ecc)),_0x161ada['then'](()=>new window['Promise'](_0x4f627a=>{let _0x529923=0x0;_0x14b0d7['model']['on']('applyOperation',(_0x571ded,_0x33146c)=>{_0x33146c[0x0]['isDocumentOperation']&&_0x529923++,0x5e8==_0x529923&&(_0x4f627a(),_0x571ded['off']());});}))];return window['Promise']['race'](_0x4e9b2d)['then'](()=>_0x2cfd68);}async function _0x322fbe(){await _0x161ada,_0x14b0d7['model']['change']=_0x1b6b98,_0x14b0d7['model']['enqueueChange']=_0x1b6b98,_0x14b0d7['enableReadOnlyMode']('model');}function _0x5e5739(){return window['glob']&&window['glob']['triliumVersion'];}function _0x1779e3(_0x5a14dd){const _0x5675bf=_0x4361ba();_0x14b0d7[_0x5675bf]='documentOutlineLicenseKey'+_0x5a14dd,'Valid'!=_0x5a14dd&&_0x322fbe();}function _0x4361ba(){const _0x461a82=window['String'](window['performance']['now']())['replace']('.','');let _0x82d72b='a';for(let _0x2af1d1=0x0;_0x2af1d1<_0x461a82['length'];_0x2af1d1+=0x2){let _0x5e94cc=window['parseInt'](_0x461a82['substring'](_0x2af1d1,_0x2af1d1+0x2));_0x5e94cc>=0x3e&&(_0x5e94cc-=0x3e),_0x82d72b+=_0x4cea9d[_0x5e94cc];}return _0x82d72b;}function _0xea9c78(){const _0x530b60=_0x2227d4['split']('.');if(0x3!=_0x530b60['length'])return null;return _0x1179cb(_0x530b60[0x1]);function _0x1179cb(_0xd58edc){const _0x4efed5=_0x195864(_0xd58edc);return _0x4efed5&&_0x1d23ed()?_0x4efed5:null;function _0x1d23ed(){const _0x35fdbe=_0x4efed5['jti'],_0x5e47fe=window['parseInt'](_0x35fdbe['substring'](_0x35fdbe['length']-0x8),0x10),_0x4cccb0={..._0x4efed5,'jti':_0x35fdbe['substring'](0x0,_0x35fdbe['length']-0x8)};return delete _0x4cccb0['vc'],_0x557502(_0x4cccb0)==_0x5e47fe;}}}async function _0x22cd1a(){let _0x376eb5=!0x0;try{const [_0x451b10,_0x2f4e67,_0x5e7868]=_0x2227d4['split']('.');return _0x2bfd5e(_0x451b10),await _0x5c337(_0x451b10,_0x2f4e67,_0x5e7868),_0x376eb5;}catch{return!0x1;}function _0x2bfd5e(_0x278426){const _0xc9a8f2=_0x195864(_0x278426);_0xc9a8f2&&'ES256'==_0xc9a8f2['alg']||(_0x376eb5=!0x1);}async function _0x5c337(_0x454643,_0x407c82,_0x3be968){const _0x1313c7=window['Uint8Array']['from'](_0x15f166(_0x3be968),_0x227391=>_0x227391['charCodeAt'](0x0)),_0x533bd5=new window['TextEncoder']()['encode'](_0x454643+'.'+_0x407c82),_0x36dfc6=window['crypto']['subtle'];if(!_0x36dfc6)return;const _0x4c86ab=await _0x36dfc6['importKey']('jwk',_0x40cdd8,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x36dfc6['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x4c86ab,_0x1313c7,_0x533bd5)||(_0x376eb5=!0x1);}}function _0x195864(_0x4b24ee){return _0x4b24ee['startsWith']('ey')?JSON['parse'](_0x15f166(_0x4b24ee)):null;}function _0x15f166(_0x3a00b3){return window['atob'](_0x3a00b3['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x557502(_0x3550da){let _0x6f627a=0x1505;function _0x225ff2(_0x40c5f0){for(let _0x56ac3d=0x0;_0x56ac3d<_0x40c5f0['length'];_0x56ac3d++){const _0x21916e=_0x40c5f0['charCodeAt'](_0x56ac3d);_0x6f627a=(_0x6f627a<<0x5)+_0x6f627a+_0x21916e,_0x6f627a&=_0x6f627a;}}function _0x21c09c(_0x27af11){Array['isArray'](_0x27af11)?_0x27af11['forEach'](_0x21c09c):_0x27af11&&'object'==typeof _0x27af11?Object['entries'](_0x27af11)['sort']()['forEach'](([_0x3b8e9f,_0x35b13d])=>{_0x225ff2(_0x3b8e9f),_0x21c09c(_0x35b13d);}):_0x225ff2(window['String'](_0x27af11));}return _0x21c09c(_0x3550da),_0x6f627a>>>0x0;}function _0x4a5f3e(_0x2a23f3){return _0x2a23f3['toString'](0x10)['padStart'](0x8,'0');}function _0x28c15f(_0x527e6e){return _0x527e6e['split']('')['reverse']()['join']('');}function _0x1b6b98(){}_0x1779e3(await _0x412087());}(this);}destroy(){super['destroy'](),this['view']['destroy'](),this['_updateActiveDefinitionFromViewportThrottled']['cancel']();}_handleOutlineChange(_0x5ea693,{outlineDefinitions:_0x52354a,outlineChanges:_0x3f2047}){this['_currentOutlineDefinitions']=_0x52354a,this['view']['sync'](_0x3f2047);}_setActiveViewItem(_0x5cf765){this['_currentOutlineDefinitions']['length']&&this['_currentOutlineDefinitions'][_0x5cf765]&&(this['view']['activeItemIndex']=_0x5cf765);}_handleItemSelected(_0x3a330e){const _0x20cd3e=this['_currentOutlineDefinitions'][_0x3a330e]['modelElement'];this['editor']['model']['change'](_0x2e27c9=>{_0x2e27c9['setSelection'](_0x20cd3e,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0}),this['editor']['editing']['view']['focus'](),this['_setActiveViewItem'](_0x3a330e);}_updateActiveDefinitionOnViewportChange(){const _0x35ff66=this['editor'];let _0x57a52b;for(const _0x1313dc of _0x35ff66['model']['document']['getRootNames']()){const _0x338a4b=_0x35ff66['editing']['view']['getDomRoot'](_0x1313dc),_0x1d78f1=_0x338a4b&&new _0x3f2d27(_0x338a4b)['getVisible']();if(_0x1d78f1){const _0x555b46=new _0x3f2d27(_0x178901['window'])['getIntersection'](_0x1d78f1);_0x555b46&&(_0x57a52b=_0x555b46['top']+0.25*_0x555b46['height']);}}if(void 0x0===_0x57a52b)return;const _0x20b96d=k(_0x35ff66['editing'],this['_currentOutlineDefinitions'],_0x57a52b);_0x20b96d?this['_setActiveViewItem'](this['_currentOutlineDefinitions']['indexOf'](_0x20b96d)):this['_setActiveViewItem'](-0x1);}};function k(_0x2ae096,_0x186b3d,_0x40971b,_0x3f62a6=0x0,_0x389b32=_0x186b3d['length']-0x1){const _0xb7d80e=Math['floor'](_0x3f62a6+(_0x389b32-_0x3f62a6)/0x2);if(_0x389b32>=_0x3f62a6){const _0x321ebf=_0x186b3d[_0xb7d80e],_0x407274=_0x2ae096['mapper']['toViewElement'](_0x321ebf['modelElement']);return _0x407274?new _0x3f2d27(_0x2ae096['view']['domConverter']['mapViewToDom'](_0x407274))['bottom']>_0x40971b?k(_0x2ae096,_0x186b3d,_0x40971b,_0x3f62a6,_0xb7d80e-0x1):k(_0x2ae096,_0x186b3d,_0x40971b,_0xb7d80e+0x1,_0x389b32):null;}return _0xb7d80e<0x0?null:_0x186b3d[_0xb7d80e];}var E=class extends _0x34fc7b{['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 _0x14cc89=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4644e3;for(const _0x9c65a5 in _0x14cc89){const _0x4212ea=_0x9c65a5,_0x4b2117=_0x14cc89[_0x4212ea];if('documentOutlineLicenseKeyValid'==_0x4b2117||'documentOutlineLicenseKeyInvalid'==_0x4b2117||'documentOutlineLicenseKeyExpired'==_0x4b2117||'documentOutlineLicenseKeyDomainLimit'==_0x4b2117||'documentOutlineLicenseKeyNotAllowed'==_0x4b2117||'documentOutlineLicenseKeyEvaluationLimit'==_0x4b2117||'documentOutlineLicenseKeyUsageLimit'==_0x4b2117){delete _0x14cc89[_0x4212ea],_0x4644e3=_0x4b2117,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'documentOutlineLicenseKeyInvalid'==_0x4644e3&&_0x14cc89['_showLicenseError']('invalid'),'documentOutlineLicenseKeyExpired'==_0x4644e3&&_0x14cc89['_showLicenseError']('expired'),'documentOutlineLicenseKeyDomainLimit'==_0x4644e3&&_0x14cc89['_showLicenseError']('domainLimit'),'documentOutlineLicenseKeyNotAllowed'==_0x4644e3&&_0x14cc89['_showLicenseError']('featureNotAllowed','DocumentOutline'),'documentOutlineLicenseKeyEvaluationLimit'==_0x4644e3&&_0x14cc89['_showLicenseError']('evaluationLimit'),'documentOutlineLicenseKeyUsageLimit'==_0x4644e3&&_0x14cc89['_showLicenseError']('usageLimit');},0x3e8);}destroy(){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}},K=class extends _0x4683fd{execute(){this['editor']['model']['change'](_0x4f7172=>{this['editor']['model']['insertObject'](_0x4f7172['createElement']('tableOfContents'));});}['refresh'](){const _0x321298=this['editor']['model'],_0x403249=_0x321298['document']['selection']['getFirstPosition']();this['isEnabled']=null!==(_0x403249&&_0x321298['schema']['findAllowedParent'](_0x403249,'tableOfContents'));}},A=class extends _0x34fc7b{static get['pluginName'](){return'HeadingId';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}afterInit(){const _0x1ed6f8=this['editor'];if(_0x1ed6f8['config']['get']('headingId.modelAttributeName'))return;const {viewNames:_0x3142d6,modelNames:_0x9b60fe}=function(_0x4c65f9){const _0x4ed1a3=new Set(['h1','h2','h3','h4','h5','h6']),_0x51ec21=new Set(['heading1','heading2','heading3','heading4','heading5','heading6','htmlH1','htmlH2','htmlH3','htmlH4','htmlH5','htmlH6']);if(!_0x4c65f9)return{'viewNames':_0x4ed1a3,'modelNames':_0x51ec21};for(const _0x5c30eb of _0x4c65f9){if('paragraph'===_0x5c30eb['model'])continue;const _0x370e40='string'==typeof _0x5c30eb['view']?_0x5c30eb['view']:_0x5c30eb['view']['name'];_0x4ed1a3['add'](_0x370e40),_0x51ec21['add'](_0x5c30eb['model']);}return{'viewNames':_0x4ed1a3,'modelNames':_0x51ec21};}(this['editor']['config']['get']('heading.options'));for(const _0x9cf8d7 of _0x3142d6)this['_customUpcastHeadingsConversion'](_0x9cf8d7);for(const _0x41f892 of _0x9b60fe)this['_customDataDowncastHeadingsConversion'](_0x41f892),_0x1ed6f8['model']['schema']['isRegistered'](_0x41f892)&&_0x1ed6f8['model']['schema']['extend'](_0x41f892,{'allowAttributes':'headingId'});this['_registerHeadingIdAttributePostfixer'](_0x9b60fe);}_customUpcastHeadingsConversion(_0x444600){this['editor']['conversion']['for']('upcast')['add'](_0x3ec724=>_0x3ec724['on']('element:'+_0x444600,(_0x20d14c,_0x4b5072,_0xb8d69b)=>{const {consumable:_0x5c8e95,writer:_0x325477}=_0xb8d69b,_0x45c3c0=_0x4b5072['viewItem']['getAttribute']('id'),_0x4ca08d=_0x4b5072['modelRange']?.['getContainedElement']();if(_0x4ca08d)return _0x45c3c0&&_0x45c3c0['length']||_0x4ca08d['hasAttribute']('headingId')?void(_0x5c8e95['consume'](_0x4b5072['viewItem'],{'attributes':['id']})&&_0x325477['setAttribute']('headingId',_0x45c3c0,_0x4ca08d)):(_0x5c8e95['consume'](_0x4b5072['viewItem'],{'attributes':['id']}),void _0x325477['setAttribute']('headingId',_0x9cea(),_0x4ca08d));},{'priority':_0x19ff64['get']('low')+0.5}));}_customDataDowncastHeadingsConversion(_0x21fbcd){this['editor']['conversion']['for']('downcast')['add'](_0x103fc4=>_0x103fc4['on']('attribute:headingId:'+_0x21fbcd,(_0x55ff57,_0x1fec67,_0x1fac98)=>{if(!_0x1fac98['consumable']['consume'](_0x1fec67['item'],_0x55ff57['name']))return;const _0x344a75=_0x1fec67['item']['getAttribute']('headingId'),_0x2ec1f6=_0x1fac98['mapper']['toViewElement'](_0x1fec67['item']);_0x1fac98['writer']['setAttribute']('id',_0x344a75,_0x2ec1f6);}));}_registerHeadingIdAttributePostfixer(_0x3e2e1c){const _0x2baf0c=this['editor'],_0x5ee6cc=new Set(),_0x117e82=new Set();function _0x54c406(_0x414db5,_0xdf8557){const _0x126ead=_0x9cea();return _0x117e82['add'](_0x126ead),_0x414db5['setAttribute']('headingId',_0x126ead,_0xdf8557),_0x126ead;}function _0x2a6790(_0x338721,_0x4d9e54){_0x338721['removeAttribute']('headingId',_0x4d9e54);}_0x2baf0c['model']['document']['registerPostFixer'](_0x1527ad=>{const _0x4ec0fa=_0x2baf0c['model']['document']['differ']['getChanges']();let _0x1730db=!0x1;for(const _0x5c2f9a of _0x4ec0fa)if('insert'==_0x5c2f9a['type']&&_0x5c2f9a['name']){if(_0x3e2e1c['has'](_0x5c2f9a['name'])){const _0x5a1dc6=_0x5c2f9a['attributes']['get']('headingId');'string'==typeof _0x5a1dc6?_0x5ee6cc['has'](_0x5a1dc6)?(_0x54c406(_0x1527ad,_0x5c2f9a['position']['nodeAfter']),_0x1730db=!0x0):_0x117e82['add'](_0x5a1dc6):(_0x54c406(_0x1527ad,_0x5c2f9a['position']['nodeAfter']),_0x1730db=!0x0);}else'string'==typeof _0x5c2f9a['attributes']['get']('headingId')&&(_0x2a6790(_0x1527ad,_0x5c2f9a['position']['nodeAfter']),_0x1730db=!0x0);}else{if('remove'==_0x5c2f9a['type']){const _0x15bce1=_0x5c2f9a['attributes']['get']('headingId');'string'==typeof _0x15bce1&&_0x5ee6cc['delete'](_0x15bce1);}}return _0x1730db;}),_0x2baf0c['model']['document']['on']('change',()=>{_0x117e82['forEach'](_0x593dc1=>_0x5ee6cc['add'](_0x593dc1)),_0x117e82['clear']();});}},N=class extends _0x34fc7b{static get['pluginName'](){return'TableOfContentsEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get requires(){return[_0x18c3b0,I,A];}_currentOutlineDefinitions;_tableOfContentsElements;_headingIdModelAttributeName;constructor(_0x29d0b7){super(_0x29d0b7),this['_currentOutlineDefinitions']=[],this['_tableOfContentsElements']=new Set(),this['_headingIdModelAttributeName']='headingId';}init(){const _0x2253ec=this['editor'],_0x1e4031=_0x2253ec['editing']['view']['document'];_0x2253ec['config']['get']('headingId.modelAttributeName')&&(this['_headingIdModelAttributeName']=_0x2253ec['config']['get']('headingId.modelAttributeName')),this['listenTo'](_0x1e4031,'click',(_0x284f17,_0x48f925)=>{if(!_0x48f925['target'])return;const _0x4ab4ae=_0x48f925['target']['getCustomProperty']('tableOfContentsHeadingIndex');Number['isInteger'](_0x4ab4ae)&&(_0x48f925['domEvent']['preventDefault'](),_0x284f17['stop'](),this['_handleScrollToHeading'](_0x4ab4ae));},{'priority':'high','context':'$capture'}),this['_defineSchema'](),this['_defineConverters'](),_0x2253ec['commands']['add']('insertTableOfContents',new K(_0x2253ec));const _0x376dac=_0x2253ec['config']['get']('tableOfContents.headings');_0x376dac&&_0x376dac['length']?this['listenTo'](_0x2253ec['model']['document'],'change:data',()=>{this['_currentOutlineDefinitions']=this['_getOutlineDefinitions'](_0x376dac),this['_updateTableOfContentsElements']();}):_0x2253ec['plugins']['get']('DocumentOutlineUtils')['on']('change',(_0xc89ed5,_0x1966e3)=>{this['_currentOutlineDefinitions']=_0x1966e3['outlineDefinitions'],this['_updateTableOfContentsElements']();}),this['listenTo'](_0x2253ec['model']['document'],'change',()=>{this['_trackNewToCElements']();});}afterInit(){!async function(_0x2718fa){const _0xcc74e='mr4z2yakM3x0phtD7jBw1T6qRfeUuZcOLNKVgQSPE9iGIHoXlJW8YsCb5AndFv',_0x42945c=0x79128,_0x384ba3=window['Date']['now'](),_0x3f8fae=_0x2718fa['editor'],_0x5f2fde=new window['Promise'](_0x4c3bbe=>{_0x3f8fae['once']('ready',_0x4c3bbe);}),_0x1feffc={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x7c4ff9=_0x3f8fae['config']['get']('licenseKey');async function _0x5dbd8f(){let _0x1e9158,_0x52962b=null,_0x5c9ea1=null;try{return'GPL'==_0x7c4ff9?'NotAllowed':(_0x1e9158=_0x4efe0e(),_0x1e9158?(_0x1e9158['usageEndpoint']&&(_0x5c9ea1=_0x1ae91c(_0x1e9158['usageEndpoint'],_0x1e9158['jti'])),await _0x3d32ee()?_0x17bba0()?_0xbdece0()?'Expired':_0x59ac17()?('evaluation'==_0x1e9158['licenseType']&&(_0x52962b=_0x4f5e60('EvaluationLimit')),await _0x4a7f59()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0xbdece0(){const _0x5b82a5=['evaluation','trial']['includes'](_0x1e9158['licenseType'])?_0x384ba3/0x3e8:0xe10*_0x42945c;return _0x1e9158['exp']<_0x5b82a5;}function _0x17bba0(){const _0x1490c3=_0x1e9158['features'];return!!_0x1490c3&&(!!_0x1490c3['includes']('*')||(!!_0x1490c3['includes']('TOC')||(!!_0x1490c3['includes']('PP')||!(!_0x1490c3['includes']('TRILIUM')||!_0x2c4211()))));}function _0x59ac17(){const _0x36ea66=_0x1e9158['licensedHosts'];if(!_0x36ea66||0x0==_0x36ea66['length'])return!0x0;const {hostname:_0x20a211}=new URL(window['location']['href']);if(_0x36ea66['includes'](_0x20a211))return!0x0;const _0x191e0d=_0x20a211['split']('.');return _0x36ea66['filter'](_0x1713c9=>_0x1713c9['includes']('*'))['map'](_0x53c8e4=>_0x53c8e4['split']('.'))['filter'](_0xab229f=>_0xab229f['length']<=_0x191e0d['length'])['map'](_0x7a0a04=>Array(_0x191e0d['length']-_0x7a0a04['length'])['fill']('*'===_0x7a0a04[0x0]?'*':'')['concat'](_0x7a0a04))['some'](_0x3b05ec=>_0x191e0d['every']((_0x3d1057,_0x20b689)=>_0x3b05ec[_0x20b689]===_0x3d1057||'*'===_0x3b05ec[_0x20b689]));}function _0x4a7f59(){return _0x52962b&&_0x5c9ea1?new window['Promise']((_0xf21023,_0x166882)=>{_0x52962b['then'](_0xf21023,_0x166882),_0x5c9ea1['then'](_0x1c6bd7=>{'Valid'!=_0x1c6bd7&&_0xf21023(_0x1c6bd7);},_0x166882);}):_0x52962b||_0x5c9ea1||'Valid';}}function _0x1ae91c(_0x16555b,_0x4e9fa2){return new window['Promise'](_0x43b1c7=>{if(_0x2af803())return _0x43b1c7('Valid');_0x227de6(),_0x3f8fae['decorate']('_sendUsageRequest');let _0x1ec267=!0x1;const _0x1c5f27=_0x9cea();function _0x2911dc(_0x1d7f2c){return!!_0x1d7f2c&&('object'==typeof _0x1d7f2c||'function'==typeof _0x1d7f2c)&&'function'==typeof _0x1d7f2c['then']&&'function'==typeof _0x1d7f2c['catch'];}function _0x4b0f09(_0x44f8b3){_0x14a5d6(_0x44f8b3)['then'](_0x5bb1fc=>_0x5bb1fc&&'ok'==_0x5bb1fc['status']?_0x4b3d5d(_0x2e2e47(_0x1c5f27+_0x4e9fa2))!=_0x5bb1fc['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x49bf25=>(_0x471b(),_0x49bf25),()=>{const _0x3c2a56=_0x42b329();return null==_0x3c2a56?(_0x471b(),'Valid'):_0x384ba3-_0x3c2a56>0x240c8400?'UsageLimit':'Valid';})['then'](_0x43b1c7)['catch'](()=>{_0x43b1c7('UsageLimit');});const _0x2bbaf3=0x36ee80;function _0x471b(){const _0x39744d='llct-'+_0x4b3d5d(_0x2e2e47(_0x16555b)),_0xd0e958=_0x5f59d6(_0x4b3d5d(window['Math']['ceil'](_0x384ba3/_0x2bbaf3)));window['localStorage']['setItem'](_0x39744d,_0xd0e958);}function _0x42b329(){const _0x5b321a='llct-'+_0x4b3d5d(_0x2e2e47(_0x16555b)),_0x480486=window['localStorage']['getItem'](_0x5b321a);return _0x480486?window['parseInt'](_0x5f59d6(_0x480486),0x10)*_0x2bbaf3:null;}function _0x14a5d6(_0x477447){return new window['Promise']((_0x21334f,_0x298f17)=>{_0x477447['then'](_0x21334f,_0x298f17),window['setTimeout'](_0x298f17,0x1d4c0);});}}_0x3f8fae['on']('_sendUsageRequest',(_0xfabea,_0x43ea01)=>{if(_0x43ea01[0x0]!=_0x16555b)return _0x43b1c7('UsageLimit');_0x43ea01[0x1]={..._0x43ea01[0x1],'requestId':_0x1c5f27};},{'priority':'high'}),_0x3f8fae['on']('_sendUsageRequest',_0x1dde45=>{_0x2911dc(_0x1dde45['return'])&&(_0x1ec267=!0x0,_0x4b0f09(_0x1dde45['return']));},{'priority':'low'}),_0x5f2fde['then'](()=>{_0x1ec267||_0x43b1c7('UsageLimit');});});function _0x2af803(){return'auto'==_0x3f8fae['editing']['view']['_overlayModeHint'];}function _0x227de6(){_0x3f8fae['editing']['view']['_overlayModeHint']='auto';}}function _0x4f5e60(_0x5b44de){const _0x5effc2=[new window['Promise'](_0x57e125=>setTimeout(_0x57e125,0x93ecc)),_0x5f2fde['then'](()=>new window['Promise'](_0x593f49=>{let _0x523137=0x0;_0x3f8fae['model']['on']('applyOperation',(_0x2e4504,_0x562cd8)=>{_0x562cd8[0x0]['isDocumentOperation']&&_0x523137++,0x5e8==_0x523137&&(_0x593f49(),_0x2e4504['off']());});}))];return window['Promise']['race'](_0x5effc2)['then'](()=>_0x5b44de);}async function _0x4f1346(){await _0x5f2fde,_0x3f8fae['model']['change']=_0x3db535,_0x3f8fae['model']['enqueueChange']=_0x3db535,_0x3f8fae['enableReadOnlyMode']('model');}function _0x2c4211(){return window['glob']&&window['glob']['triliumVersion'];}function _0x43f574(_0x20587a){const _0x5160bf=_0x5176cf();_0x3f8fae[_0x5160bf]='tableOfContentsLicenseKey'+_0x20587a,'Valid'!=_0x20587a&&_0x4f1346();}function _0x5176cf(){const _0xce26f4=window['String'](window['performance']['now']())['replace']('.','');let _0x37352c='m';for(let _0x46f354=0x0;_0x46f354<_0xce26f4['length'];_0x46f354+=0x2){let _0x249295=window['parseInt'](_0xce26f4['substring'](_0x46f354,_0x46f354+0x2));_0x249295>=0x3e&&(_0x249295-=0x3e),_0x37352c+=_0xcc74e[_0x249295];}return _0x37352c;}function _0x4efe0e(){const _0x4520f1=_0x7c4ff9['split']('.');if(0x3!=_0x4520f1['length'])return null;return _0x17ec46(_0x4520f1[0x1]);function _0x17ec46(_0x2ea3d4){const _0x38e8e3=_0x6ccf30(_0x2ea3d4);return _0x38e8e3&&_0x42462c()?_0x38e8e3:null;function _0x42462c(){const _0x464455=_0x38e8e3['jti'],_0xd0911c=window['parseInt'](_0x464455['substring'](_0x464455['length']-0x8),0x10),_0x228d15={..._0x38e8e3,'jti':_0x464455['substring'](0x0,_0x464455['length']-0x8)};return delete _0x228d15['vc'],_0x2e2e47(_0x228d15)==_0xd0911c;}}}async function _0x3d32ee(){let _0x277b5a=!0x0;try{const [_0x2cf8c4,_0x5e9a5b,_0x94db0f]=_0x7c4ff9['split']('.');return _0x489c48(_0x2cf8c4),await _0x5ade49(_0x2cf8c4,_0x5e9a5b,_0x94db0f),_0x277b5a;}catch{return!0x1;}function _0x489c48(_0x4142d9){const _0x1dcf2a=_0x6ccf30(_0x4142d9);_0x1dcf2a&&'ES256'==_0x1dcf2a['alg']||(_0x277b5a=!0x1);}async function _0x5ade49(_0x1167d7,_0x1deed7,_0x431f2f){const _0x4a826f=window['Uint8Array']['from'](_0x7a788c(_0x431f2f),_0x2d6813=>_0x2d6813['charCodeAt'](0x0)),_0x174557=new window['TextEncoder']()['encode'](_0x1167d7+'.'+_0x1deed7),_0x5144e0=window['crypto']['subtle'];if(!_0x5144e0)return;const _0x4b917d=await _0x5144e0['importKey']('jwk',_0x1feffc,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x5144e0['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x4b917d,_0x4a826f,_0x174557)||(_0x277b5a=!0x1);}}function _0x6ccf30(_0x314a13){return _0x314a13['startsWith']('ey')?JSON['parse'](_0x7a788c(_0x314a13)):null;}function _0x7a788c(_0xcb4cb3){return window['atob'](_0xcb4cb3['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x2e2e47(_0x19eaf5){let _0x3c6b10=0x1505;function _0x9cea29(_0x4bcf01){for(let _0x3c7574=0x0;_0x3c7574<_0x4bcf01['length'];_0x3c7574++){const _0x12a843=_0x4bcf01['charCodeAt'](_0x3c7574);_0x3c6b10=(_0x3c6b10<<0x5)+_0x3c6b10+_0x12a843,_0x3c6b10&=_0x3c6b10;}}function _0x46b0c7(_0x3d0d5e){Array['isArray'](_0x3d0d5e)?_0x3d0d5e['forEach'](_0x46b0c7):_0x3d0d5e&&'object'==typeof _0x3d0d5e?Object['entries'](_0x3d0d5e)['sort']()['forEach'](([_0x3acf94,_0x25f97a])=>{_0x9cea29(_0x3acf94),_0x46b0c7(_0x25f97a);}):_0x9cea29(window['String'](_0x3d0d5e));}return _0x46b0c7(_0x19eaf5),_0x3c6b10>>>0x0;}function _0x4b3d5d(_0x1d6adc){return _0x1d6adc['toString'](0x10)['padStart'](0x8,'0');}function _0x5f59d6(_0x9f747b){return _0x9f747b['split']('')['reverse']()['join']('');}function _0x3db535(){}_0x43f574(await _0x5dbd8f());}(this);}_updateTableOfContentsElements(){this['_tableOfContentsElements']['forEach'](_0x2330fe=>{'$graveyard'!==_0x2330fe['rootName']&&this['editor']['editing']['reconvertItem'](_0x2330fe);});}_trackNewToCElements(){for(const _0xe7ae87 of this['editor']['model']['document']['differ']['getChanges']({'includeChangesInGraveyard':!0x0})){if('insert'!==_0xe7ae87['type']||'tableOfContents'!==_0xe7ae87['name'])return;this['_tableOfContentsElements']['add'](_0xe7ae87['position']['nodeAfter']);}}_getOutlineDefinitions(_0x3f42bf){const _0x1138f7=this['editor'],_0x11252b=[];for(const _0x2114a8 of _0x1138f7['model']['document']['getRootNames']())_0xc3d6bf(_0x1138f7['model']['document']['getRoot'](_0x2114a8));function _0xc3d6bf(_0x13f84e){for(const _0x4e5e07 of _0x13f84e['getChildren']())_0x4e5e07['is']('element')&&(_0x3f42bf['includes'](_0x4e5e07['name'])&&_0x11252b['push']({'level':_0x3f42bf['indexOf'](_0x4e5e07['name'])+0x1,'text':b(_0x4e5e07),'modelElement':_0x4e5e07}),_0xc3d6bf(_0x4e5e07));}return _0x11252b;}['_defineSchema'](){this['editor']['model']['schema']['register']('tableOfContents',{'inheritAllFrom':'$blockObject'});}_defineConverters(){const _0x24c14c=this['editor']['conversion'];_0x24c14c['for']('upcast')['elementToElement']({'model':'tableOfContents','view':{'name':'div','classes':'table-of-contents'}}),_0x24c14c['for']('dataDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x49493d,{writer:_0x2cdb83})=>this['_createTableOfContents'](_0x2cdb83,!0x0)}),_0x24c14c['for']('editingDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x29a11c,{writer:_0x1ac2be})=>(this['_tableOfContentsElements']['add'](_0x29a11c),_0x908728(this['_createTableOfContents'](_0x1ac2be),_0x1ac2be,{'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(_0x2e0443,_0x20a7df=!0x1){const {locale:_0x561880}=this['editor'],_0x5c391=_0x2e0443['createContainerElement']('div',{'class':'table-of-contents'+(0x0===this['_currentOutlineDefinitions']['length']?'\x20table-of-contents_empty':''),...!_0x20a7df&&{'data-table-of-contents-label':L(_0x561880,'Table\x20of\x20contents')}});0x0===this['_currentOutlineDefinitions']['length']&&!0x1===_0x20a7df&&_0x2e0443['insert'](_0x2e0443['createPositionAt'](_0x5c391,'end'),_0x2e0443['createContainerElement']('p',{'class':'table-of-contents__placeholder'},[_0x2e0443['createText'](L(_0x561880,'No\x20headings\x20were\x20found\x20in\x20the\x20document.'))]));const _0x1ff69a=_0x20a7df?'':'['+L(_0x561880,'Empty\x20heading')+']';let _0x10ae51=_0x5c391;return this['_currentOutlineDefinitions']['forEach']((_0xb6ca7a,_0xe7786e,_0x42124a)=>{const _0x9db175=this['editor']['model']['hasContent'](_0xb6ca7a['modelElement'],{'ignoreWhitespaces':!0x0}),_0x346d27=_0x9db175?_0xb6ca7a['text']:_0x1ff69a,_0x9f6db0=_0xb6ca7a['modelElement']['getAttribute'](this['_headingIdModelAttributeName']),_0x252b71=_0x2e0443['createContainerElement']('a',{'href':'#'+_0x9f6db0,...!_0x20a7df&&{'tabindex':'-1'}},[_0x2e0443['createText'](_0x346d27)]),_0x5075ee=this['editor']['config']['get']('documentOutline.showEmptyHeadings');_0x2e0443['setCustomProperty']('tableOfContentsHeadingIndex',_0xe7786e,_0x252b71);const _0x4b00ca=_0x2e0443['createContainerElement']('li',null,[_0x9db175||!_0x20a7df&&_0x5075ee?_0x252b71:_0x2e0443['createText']('')]),_0x2c83b3=_0xe7786e?_0x42124a[_0xe7786e-0x1]['level']:0x0,_0x3c24a1=Math['abs'](_0xb6ca7a['level']-_0x2c83b3);if(_0xb6ca7a['level']>_0x2c83b3){const _0xdf7159=H(_0x4b00ca,_0x3c24a1,_0x2e0443);_0x2e0443['insert'](_0x2e0443['createPositionAt'](_0x10ae51,'end'),_0xdf7159);}else{const _0x10287b=function(_0x2584a4,_0x30fbcb){return _0x2584a4['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0})['filter'](_0x40506e=>_0x40506e['is']('element','ol'))[_0x30fbcb];}(_0x10ae51,_0x3c24a1);_0x2e0443['insert'](_0x2e0443['createPositionAt'](_0x10287b,'end'),_0x4b00ca);}_0x10ae51=_0x4b00ca;}),_0x5c391;}['_handleScrollToHeading'](_0x29cf3c){const _0x46124=this['_currentOutlineDefinitions'][_0x29cf3c]['modelElement'];this['editor']['model']['change'](_0x6722a5=>{_0x6722a5['setSelection'](_0x46124,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0});}_redirectMapper(){return(_0x5c9b20,_0x5540ae)=>{const _0x311804=_0x5540ae['mapper'],_0x18eaba=_0x311804['findMappedViewAncestor'](_0x5540ae['viewPosition']),_0x8ada02=_0x311804['toModelElement'](_0x18eaba);_0x8ada02['is']('element','tableOfContents')&&(_0x5540ae['modelPosition']=this['editor']['model']['createPositionAt'](_0x8ada02,0x0),_0x5c9b20['stop']());};}};function H(_0x2c8dbc,_0x24f24d,_0x16a6d4){return 0x1===_0x24f24d?_0x16a6d4['createContainerElement']('ol',null,[_0x2c8dbc]):_0x16a6d4['createContainerElement']('ol',null,[_0x16a6d4['createContainerElement']('li',null,[H(_0x2c8dbc,_0x24f24d-0x1,_0x16a6d4)])]);}var P=class extends _0x34fc7b{['licenseKey'];_licenseKeyCheckInterval;static get['pluginName'](){return'TableOfContentsUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){const _0x3ac65b=this['editor'];_0x3ac65b['ui']['componentFactory']['add']('tableOfContents',()=>{const _0x400e5d=this['_createButton'](_0x482f92);return _0x400e5d['tooltip']=!0x0,_0x400e5d;}),_0x3ac65b['ui']['componentFactory']['add']('menuBar:tableOfContents',()=>this['_createButton'](_0xa1ae23)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x57e671=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x5565ea;for(const _0x1b8814 in _0x57e671){const _0x585334=_0x1b8814,_0x1afd89=_0x57e671[_0x585334];if('tableOfContentsLicenseKeyValid'==_0x1afd89||'tableOfContentsLicenseKeyInvalid'==_0x1afd89||'tableOfContentsLicenseKeyExpired'==_0x1afd89||'tableOfContentsLicenseKeyDomainLimit'==_0x1afd89||'tableOfContentsLicenseKeyNotAllowed'==_0x1afd89||'tableOfContentsLicenseKeyEvaluationLimit'==_0x1afd89||'tableOfContentsLicenseKeyUsageLimit'==_0x1afd89){delete _0x57e671[_0x585334],_0x5565ea=_0x1afd89,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'tableOfContentsLicenseKeyInvalid'==_0x5565ea&&_0x57e671['_showLicenseError']('invalid'),'tableOfContentsLicenseKeyExpired'==_0x5565ea&&_0x57e671['_showLicenseError']('expired'),'tableOfContentsLicenseKeyDomainLimit'==_0x5565ea&&_0x57e671['_showLicenseError']('domainLimit'),'tableOfContentsLicenseKeyNotAllowed'==_0x5565ea&&_0x57e671['_showLicenseError']('featureNotAllowed','TableOfContents'),'tableOfContentsLicenseKeyEvaluationLimit'==_0x5565ea&&_0x57e671['_showLicenseError']('evaluationLimit'),'tableOfContentsLicenseKeyUsageLimit'==_0x5565ea&&_0x57e671['_showLicenseError']('usageLimit');},0x3e8);}_createButton(_0x296cda){const _0x511f7d=this['editor'],_0x1b471e=_0x511f7d['locale'],_0x3f5212=_0x511f7d['commands']['get']('insertTableOfContents'),_0x4c2a7f=new _0x296cda(_0x1b471e);return _0x4c2a7f['set']({'label':L(_0x1b471e,'Table\x20of\x20contents'),'icon':_0x2dc155}),_0x4c2a7f['bind']('isEnabled')['to'](_0x3f5212,'isEnabled'),this['listenTo'](_0x4c2a7f,'execute',()=>{_0x511f7d['execute']('insertTableOfContents'),_0x511f7d['editing']['view']['focus']();}),_0x4c2a7f;}destroy(){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}},U=class extends _0x34fc7b{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 _0x3880f9,Plugin as _0xb8524f}from'@ckeditor/ckeditor5-core';import{debounce as _0x12d440,throttle as _0x27fa72}from'es-toolkit/compat';import{ModelText as _0x249832,ModelTreeWalker as _0x3d6ca8}from'@ckeditor/ckeditor5-engine';import{CKEditorError as _0xed1a5a,Rect as _0x32edbc,diff as _0x13def0,diffToChanges as _0x26759f,global as _0x4e543a,priorities as _0x2d694e,scrollAncestorsToShowTarget as _0x3921d5,uid as _0x576f0e}from'@ckeditor/ckeditor5-utils';import{ButtonView as _0x9964f,MenuBarMenuListItemButtonView as _0x4af37b,View as _0x57e973}from'@ckeditor/ckeditor5-ui';import{Widget as _0x395572,toWidget as _0x4bbd5d}from'@ckeditor/ckeditor5-widget';import{IconTableOfContents as _0x5ede8d}from'@ckeditor/ckeditor5-icons';function b(_0x4a2f96){let _0x3f545f='';for(const _0x15e725 of _0x4a2f96['getChildren']())_0x15e725 instanceof _0x249832&&(_0x3f545f+=_0x15e725['data']);return _0x3f545f;}var I=class extends _0xb8524f{static get['pluginName'](){return'DocumentOutlineUtils';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['_headingNames']=[];init(){const _0x527687=this['editor'];this['_headingNames']=this['_getHeadingNames']();let _0x22a695=[];_0x527687['model']['document']['on']('change',_0x12d440(()=>{const _0xaace08=_0x22a695;_0x22a695=this['_getOutlineDefinitions']();const _0x2a6471=_0x26759f(_0x13def0(_0xaace08,_0x22a695,(_0x9f3788,_0x1b719f)=>_0x9f3788['level']===_0x1b719f['level']&&_0x9f3788['text']===_0x1b719f['text']&&_0x9f3788['modelElement']===_0x1b719f['modelElement']),_0x22a695),_0x109679=this['_getActiveHeading'](),_0x111ae8=_0x22a695['findIndex'](_0x5c5a76=>_0x5c5a76['modelElement']===_0x109679);_0x2a6471['length']&&this['fire']('change',{'outlineDefinitions':_0x22a695,'activeItemIndex':_0x111ae8,'outlineChanges':_0x2a6471}),this['fire']('activeItemIndex',{'index':_0x111ae8});},0xfa,{'leading':!0x0,'trailing':!0x0}));}afterInit(){this['_headingNames']['length']||this['_deriveHeadingElementsFromConversion']();}_getOutlineDefinitions(){const _0x588926=this['editor'],_0x3d4315=[],_0x3ec4ff=this['_headingNames'];for(const _0x4ed9b0 of _0x588926['model']['document']['getRootNames']())_0x11bc7b(_0x588926['model']['document']['getRoot'](_0x4ed9b0));function _0x11bc7b(_0x56056d){for(const _0x2e57ec of _0x56056d['getChildren']())_0x2e57ec['is']('element')&&(_0x3ec4ff['includes'](_0x2e57ec['name'])&&_0x3d4315['push']({'level':_0x3ec4ff['indexOf'](_0x2e57ec['name'])+0x1,'text':b(_0x2e57ec),'modelElement':_0x2e57ec}),_0x11bc7b(_0x2e57ec));}return _0x3d4315;}_getActiveHeading(){const _0xd2e594=new _0x3d6ca8({'direction':'backward','startPosition':this['editor']['model']['document']['selection']['getFirstPosition']()});for(const _0x3cae09 of _0xd2e594)if(_0x3cae09['item']['is']('element')&&this['_headingNames']['includes'](_0x3cae09['item']['name']))return _0x3cae09['item'];}_getHeadingNames(){const _0x3b7cd8=this['editor']['config']['get']('documentOutline.headings');return _0x3b7cd8||function(_0x1091e7){const _0x300f7d=_0x1091e7['config']['get']('heading.options');return _0x300f7d?_0x300f7d['reduce']((_0x668d2f,_0x369c64)=>('paragraph'!==_0x369c64['model']&&_0x668d2f['push'](_0x369c64['model']),_0x668d2f),[]):_0x1091e7['plugins']['has']('GeneralHtmlSupport')?['htmlH1','htmlH2','htmlH3','htmlH4','htmlH5','htmlH6']:[];}(this['editor']);}_deriveHeadingElementsFromConversion(){const _0x425aff=this['editor'],_0x28fe2a=['h1','h2','h3','h4','h5','h6'],_0x457b89=[];for(const _0x3c7fea of _0x28fe2a){const _0x35b5c1=_0x425aff['editing']['view']['domConverter']['domToView'](document['createElement'](_0x3c7fea)),_0x284590=_0x425aff['data']['toModel'](_0x35b5c1)['getChild'](0x0);_0x284590?.['is']('element')&&_0x457b89['push'](_0x284590['name']);}this['_headingNames']=_0x457b89;}};function L(_0x35aebb,_0x5ebe70){const t=_0x35aebb['t'];switch(_0x5ebe70){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 _0x5ebe70;}}var C=class extends _0x57e973{constructor(_0x4acd73,_0x476145=!0x1){super(_0x4acd73);const _0x39e32f=this['bindTemplate'],_0xef5b77=_0x476145?'['+L(_0x4acd73,'Empty\x20heading')+']':'';this['set']('text',''),this['set']('level',0x1),this['set']('isActive',!0x1),this['bind']('isEmpty')['to'](this,'text',_0x2aaaeb=>!_0x2aaaeb),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline__item',_0x39e32f['to']('level',_0x5c8e71=>'ck-document-outline__item_level-'+_0x5c8e71),_0x39e32f['if']('isActive','ck-document-outline__item_active'),_0x39e32f['if']('isEmpty','ck-document-outline__item_empty')],'title':_0x39e32f['to']('text')},'children':[{'text':_0x39e32f['to']('text',_0x45a564=>_0x45a564||_0xef5b77)}],'on':{'click':_0x39e32f['to']('click')}});}},_=class extends _0x57e973{items;documentOutlineContainer;showEmptyHeadingText;constructor(_0x22c662,_0x5d844c=!0x1,_0x2e4636){super(_0x22c662),this['showEmptyHeadingText']=_0x5d844c,this['set']('activeItemIndex',-0x1),this['documentOutlineContainer']=_0x2e4636,this['items']=this['createCollection'](),this['items']['delegate']('click')['to'](this),this['on']('click',this['_handleItemClick']['bind'](this)),this['on']('change:activeItemIndex',(_0x2a5339,_0x16601f,_0x25af0d,_0xd06939)=>{this['_setActiveItem'](_0xd06939,_0x25af0d);}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline'],'dir':_0x22c662['contentLanguageDirection'],'data-document-outline-empty-placeholder':L(_0x22c662,'Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.'),'tabindex':-0x1},'children':this['items']});}['sync'](_0x2ed57d){_0x2ed57d['forEach'](_0xb57685=>{'insert'==_0xb57685['type']?this['_insertItem'](_0xb57685['index'],..._0xb57685['values']):'delete'==_0xb57685['type']&&this['_deleteItem'](_0xb57685['index'],_0xb57685['howMany']);});}_setActiveItem(_0x5766be,_0x214a31){if(-0x1!==_0x5766be){const _0x50c36f=this['items']['get'](_0x5766be);_0x50c36f&&(_0x50c36f['isActive']=!0x1);}-0x1!==_0x214a31&&(this['items']['get'](_0x214a31)['isActive']=!0x0,this['_scrollToItem'](_0x214a31));}_insertItem(_0x267131,..._0x2d1ea8){const _0x2b33a8=_0x2d1ea8['map']((_0x2da34d,_0x4853d2)=>{const _0x2504e4=new C(this['locale'],this['showEmptyHeadingText']);return _0x2504e4['text']=_0x2da34d['text'],_0x2504e4['level']=_0x2da34d['level'],_0x267131+_0x4853d2===this['activeItemIndex']&&(_0x2504e4['isActive']=!0x0),_0x2504e4;});this['items']['addMany'](_0x2b33a8,_0x267131);}_deleteItem(_0x5d7a03,_0x15ec65){do{this['items']['remove'](_0x5d7a03);}while(--_0x15ec65);}_handleItemClick(_0x529e23){const _0x23e136=this['items']['getIndex'](_0x529e23['source']);this['fire']('itemSelected',_0x23e136);}_scrollToItem(_0x3429b1){_0x3921d5(this['items']['get'](_0x3429b1)['element'],0x14,this['documentOutlineContainer']);}destroy(){super['destroy'](),this['element']['remove']();}},x=class extends _0xb8524f{['view'];_currentOutlineDefinitions;_updateActiveDefinitionFromViewportThrottled;static get['pluginName'](){return'DocumentOutlineUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x4db5e7){super(_0x4db5e7),this['view']=new _(_0x4db5e7['locale'],this['editor']['config']['get']('documentOutline.showEmptyHeadings'),this['editor']['config']['get']('documentOutline.container')),this['_currentOutlineDefinitions']=[],this['_updateActiveDefinitionFromViewportThrottled']=_0x27fa72(this['_updateActiveDefinitionOnViewportChange']['bind'](this),0x64);}init(){const _0x1b1a7f=this['editor'],_0xb376bd=_0x1b1a7f['plugins']['get']('DocumentOutlineUtils');let _0xfb0482=!0x1;if(this['view']['render'](),this['editor']['ui']['focusTracker']['add'](this['view']['element']),!_0x1b1a7f['config']['get']('documentOutline.container'))throw new _0xed1a5a('document-outline-container-not-provided',{'editor':_0x1b1a7f});_0x1b1a7f['config']['get']('documentOutline.container')['appendChild'](this['view']['element']),_0xb376bd['on']('change',this['_handleOutlineChange']['bind'](this)),_0xb376bd['on']('activeItemIndex',(_0x5030a5,{index:_0x2c6ebb})=>this['_setActiveViewItem'](_0x2c6ebb)),this['view']['on']('itemSelected',(_0x4456c3,_0x39cfd4)=>{_0xfb0482=!0x0,this['_handleItemSelected'](_0x39cfd4);}),this['view']['listenTo'](_0x4e543a['document'],'scroll',()=>{_0xfb0482?_0xfb0482=!0x1:this['_updateActiveDefinitionFromViewportThrottled']();},{'useCapture':!0x0}),this['view']['listenTo'](_0x4e543a['window'],'resize',this['_updateActiveDefinitionFromViewportThrottled'],{'useCapture':!0x0});}afterInit(){!async function(_0xfb2487){const _0x4ca585='aWxlPG0A3CDdHBsZEqwULojOrgMXVTRvu1bI2487ptzJKQeihfNkYS9n6y5mcF',_0x3629b9=0x79140,_0x40e7a5=window['Date']['now'](),_0x4bcf65=_0xfb2487['editor'],_0x16df21=new window['Promise'](_0x36fece=>{_0x4bcf65['once']('ready',_0x36fece);}),_0x34ada2={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x215df0=_0x4bcf65['config']['get']('licenseKey');async function _0x1fd8d2(){let _0x339f00,_0x5511a5=null,_0x2d455c=null;try{return'GPL'==_0x215df0?'NotAllowed':(_0x339f00=_0x1ce7f3(),_0x339f00?(_0x339f00['usageEndpoint']&&(_0x2d455c=_0x583f8b(_0x339f00['usageEndpoint'],_0x339f00['jti'])),await _0x12188a()?_0x64eb0b()?_0x4e9be1()?'Expired':_0x417050()?('evaluation'==_0x339f00['licenseType']&&(_0x5511a5=_0x2cb890('EvaluationLimit')),await _0x169a3a()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x4e9be1(){const _0x52e88b=['evaluation','trial']['includes'](_0x339f00['licenseType'])?_0x40e7a5/0x3e8:0xe10*_0x3629b9;return _0x339f00['exp']<_0x52e88b;}function _0x64eb0b(){const _0x7e0e83=_0x339f00['features'];return!!_0x7e0e83&&(!!_0x7e0e83['includes']('*')||(!!_0x7e0e83['includes']('DO')||(!!_0x7e0e83['includes']('PP')||!(!_0x7e0e83['includes']('TRILIUM')||!_0x381319()))));}function _0x417050(){const _0x48e3a4=_0x339f00['licensedHosts'];if(!_0x48e3a4||0x0==_0x48e3a4['length'])return!0x0;const {hostname:_0x4a2ac8}=new URL(window['location']['href']);if(_0x48e3a4['includes'](_0x4a2ac8))return!0x0;const _0x53664c=_0x4a2ac8['split']('.');return _0x48e3a4['filter'](_0x5f861b=>_0x5f861b['includes']('*'))['map'](_0x5ee3ed=>_0x5ee3ed['split']('.'))['filter'](_0x3fe394=>_0x3fe394['length']<=_0x53664c['length'])['map'](_0x4263f3=>Array(_0x53664c['length']-_0x4263f3['length'])['fill']('*'===_0x4263f3[0x0]?'*':'')['concat'](_0x4263f3))['some'](_0x452461=>_0x53664c['every']((_0x31be49,_0x5218a8)=>_0x452461[_0x5218a8]===_0x31be49||'*'===_0x452461[_0x5218a8]));}function _0x169a3a(){return _0x5511a5&&_0x2d455c?new window['Promise']((_0x2c8340,_0x1942c2)=>{_0x5511a5['then'](_0x2c8340,_0x1942c2),_0x2d455c['then'](_0x3bbb14=>{'Valid'!=_0x3bbb14&&_0x2c8340(_0x3bbb14);},_0x1942c2);}):_0x5511a5||_0x2d455c||'Valid';}}function _0x583f8b(_0x539c00,_0x4fa77a){return new window['Promise'](_0x376ce7=>{if(_0x2bbd76())return _0x376ce7('Valid');_0x273b23(),_0x4bcf65['decorate']('_sendUsageRequest');let _0x316b35=!0x1;const _0x51a448=_0x576f0e();function _0x477616(_0x7c881e){return!!_0x7c881e&&('object'==typeof _0x7c881e||'function'==typeof _0x7c881e)&&'function'==typeof _0x7c881e['then']&&'function'==typeof _0x7c881e['catch'];}function _0x59877c(_0x35a54d){_0x47bd13(_0x35a54d)['then'](_0x4eae65=>_0x4eae65&&'ok'==_0x4eae65['status']?_0x291916(_0x3b7569(_0x51a448+_0x4fa77a))!=_0x4eae65['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x2c932e=>(_0x3a7478(),_0x2c932e),()=>{const _0x12dce1=_0x462f2b();return null==_0x12dce1?(_0x3a7478(),'Valid'):_0x40e7a5-_0x12dce1>0x240c8400?'UsageLimit':'Valid';})['then'](_0x376ce7)['catch'](()=>{_0x376ce7('UsageLimit');});const _0x11b7bd=0x36ee80;function _0x3a7478(){const _0x1fb44e='llct-'+_0x291916(_0x3b7569(_0x539c00)),_0x133053=_0x241041(_0x291916(window['Math']['ceil'](_0x40e7a5/_0x11b7bd)));window['localStorage']['setItem'](_0x1fb44e,_0x133053);}function _0x462f2b(){const _0xb5d554='llct-'+_0x291916(_0x3b7569(_0x539c00)),_0x269b66=window['localStorage']['getItem'](_0xb5d554);return _0x269b66?window['parseInt'](_0x241041(_0x269b66),0x10)*_0x11b7bd:null;}function _0x47bd13(_0x3325f5){return new window['Promise']((_0x4a477e,_0x76a321)=>{_0x3325f5['then'](_0x4a477e,_0x76a321),window['setTimeout'](_0x76a321,0x1d4c0);});}}_0x4bcf65['on']('_sendUsageRequest',(_0x213b7d,_0x955b9e)=>{if(_0x955b9e[0x0]!=_0x539c00)return _0x376ce7('UsageLimit');_0x955b9e[0x1]={..._0x955b9e[0x1],'requestId':_0x51a448};},{'priority':'high'}),_0x4bcf65['on']('_sendUsageRequest',_0x1c9a58=>{_0x477616(_0x1c9a58['return'])&&(_0x316b35=!0x0,_0x59877c(_0x1c9a58['return']));},{'priority':'low'}),_0x16df21['then'](()=>{_0x316b35||_0x376ce7('UsageLimit');});});function _0x2bbd76(){return'auto'==_0x4bcf65['editing']['view']['_overlayModeHint'];}function _0x273b23(){_0x4bcf65['editing']['view']['_overlayModeHint']='auto';}}function _0x2cb890(_0x1ad26c){const _0x23bc45=[new window['Promise'](_0x2f6f72=>setTimeout(_0x2f6f72,0x93ecc)),_0x16df21['then'](()=>new window['Promise'](_0xc7f1e4=>{let _0x14531d=0x0;_0x4bcf65['model']['on']('applyOperation',(_0x48d8d0,_0x1a0ff9)=>{_0x1a0ff9[0x0]['isDocumentOperation']&&_0x14531d++,0x5e8==_0x14531d&&(_0xc7f1e4(),_0x48d8d0['off']());});}))];return window['Promise']['race'](_0x23bc45)['then'](()=>_0x1ad26c);}async function _0x5caaef(){await _0x16df21,_0x4bcf65['model']['change']=_0x403bb7,_0x4bcf65['model']['enqueueChange']=_0x403bb7,_0x4bcf65['enableReadOnlyMode']('model');}function _0x381319(){return window['glob']&&window['glob']['triliumVersion'];}function _0xdc3148(_0x2d67cd){const _0xad6fc6=_0x418721();_0x4bcf65[_0xad6fc6]='documentOutlineLicenseKey'+_0x2d67cd,'Valid'!=_0x2d67cd&&_0x5caaef();}function _0x418721(){const _0x4b9840=window['String'](window['performance']['now']())['replace']('.','');let _0x4588c3='a';for(let _0x199ec5=0x0;_0x199ec5<_0x4b9840['length'];_0x199ec5+=0x2){let _0x56ebf7=window['parseInt'](_0x4b9840['substring'](_0x199ec5,_0x199ec5+0x2));_0x56ebf7>=0x3e&&(_0x56ebf7-=0x3e),_0x4588c3+=_0x4ca585[_0x56ebf7];}return _0x4588c3;}function _0x1ce7f3(){const _0xc8703a=_0x215df0['split']('.');if(0x3!=_0xc8703a['length'])return null;return _0x1fba42(_0xc8703a[0x1]);function _0x1fba42(_0x3c6ae8){const _0x34c6cd=_0x5a4933(_0x3c6ae8);return _0x34c6cd&&_0x3ee5d1()?_0x34c6cd:null;function _0x3ee5d1(){const _0x543e0b=_0x34c6cd['jti'],_0x8b0636=window['parseInt'](_0x543e0b['substring'](_0x543e0b['length']-0x8),0x10),_0x858973={..._0x34c6cd,'jti':_0x543e0b['substring'](0x0,_0x543e0b['length']-0x8)};return delete _0x858973['vc'],_0x3b7569(_0x858973)==_0x8b0636;}}}async function _0x12188a(){let _0x4958df=!0x0;try{const [_0x262324,_0x43f8eb,_0x26540d]=_0x215df0['split']('.');return _0x25b526(_0x262324),await _0x37f29f(_0x262324,_0x43f8eb,_0x26540d),_0x4958df;}catch{return!0x1;}function _0x25b526(_0x1eff7b){const _0x2ef8c5=_0x5a4933(_0x1eff7b);_0x2ef8c5&&'ES256'==_0x2ef8c5['alg']||(_0x4958df=!0x1);}async function _0x37f29f(_0x5e3e6b,_0x6ccece,_0x242294){const _0x3b227c=window['Uint8Array']['from'](_0x40db9b(_0x242294),_0x3f232f=>_0x3f232f['charCodeAt'](0x0)),_0x6e970d=new window['TextEncoder']()['encode'](_0x5e3e6b+'.'+_0x6ccece),_0x1ec37d=window['crypto']['subtle'];if(!_0x1ec37d)return;const _0x2b5b45=await _0x1ec37d['importKey']('jwk',_0x34ada2,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x1ec37d['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x2b5b45,_0x3b227c,_0x6e970d)||(_0x4958df=!0x1);}}function _0x5a4933(_0x44317b){return _0x44317b['startsWith']('ey')?JSON['parse'](_0x40db9b(_0x44317b)):null;}function _0x40db9b(_0x16a678){return window['atob'](_0x16a678['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x3b7569(_0x4e12cb){let _0x579ffb=0x1505;function _0x42555a(_0x118c91){for(let _0x1a8f10=0x0;_0x1a8f10<_0x118c91['length'];_0x1a8f10++){const _0x594f52=_0x118c91['charCodeAt'](_0x1a8f10);_0x579ffb=(_0x579ffb<<0x5)+_0x579ffb+_0x594f52,_0x579ffb&=_0x579ffb;}}function _0x2dc63a(_0x366757){Array['isArray'](_0x366757)?_0x366757['forEach'](_0x2dc63a):_0x366757&&'object'==typeof _0x366757?Object['entries'](_0x366757)['sort']()['forEach'](([_0x48b2df,_0x2ec9f3])=>{_0x42555a(_0x48b2df),_0x2dc63a(_0x2ec9f3);}):_0x42555a(window['String'](_0x366757));}return _0x2dc63a(_0x4e12cb),_0x579ffb>>>0x0;}function _0x291916(_0x1c3bc7){return _0x1c3bc7['toString'](0x10)['padStart'](0x8,'0');}function _0x241041(_0x170388){return _0x170388['split']('')['reverse']()['join']('');}function _0x403bb7(){}_0xdc3148(await _0x1fd8d2());}(this);}destroy(){super['destroy'](),this['view']['destroy'](),this['_updateActiveDefinitionFromViewportThrottled']['cancel']();}_handleOutlineChange(_0x4666d7,{outlineDefinitions:_0x5b1e7a,outlineChanges:_0x4bd690}){this['_currentOutlineDefinitions']=_0x5b1e7a,this['view']['sync'](_0x4bd690);}_setActiveViewItem(_0x224c3b){this['_currentOutlineDefinitions']['length']&&this['_currentOutlineDefinitions'][_0x224c3b]&&(this['view']['activeItemIndex']=_0x224c3b);}_handleItemSelected(_0x2bfd2b){const _0x511380=this['_currentOutlineDefinitions'][_0x2bfd2b]['modelElement'];this['editor']['model']['change'](_0x466041=>{_0x466041['setSelection'](_0x511380,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0}),this['editor']['editing']['view']['focus'](),this['_setActiveViewItem'](_0x2bfd2b);}_updateActiveDefinitionOnViewportChange(){const _0x300064=this['editor'];let _0x177435;for(const _0x414598 of _0x300064['model']['document']['getRootNames']()){const _0x67a597=_0x300064['editing']['view']['getDomRoot'](_0x414598),_0x459502=_0x67a597&&new _0x32edbc(_0x67a597)['getVisible']();if(_0x459502){const _0x2e95df=new _0x32edbc(_0x4e543a['window'])['getIntersection'](_0x459502);_0x2e95df&&(_0x177435=_0x2e95df['top']+0.25*_0x2e95df['height']);}}if(void 0x0===_0x177435)return;const _0x378cbb=k(_0x300064['editing'],this['_currentOutlineDefinitions'],_0x177435);_0x378cbb?this['_setActiveViewItem'](this['_currentOutlineDefinitions']['indexOf'](_0x378cbb)):this['_setActiveViewItem'](-0x1);}};function k(_0x5ee8eb,_0x502640,_0x56854f,_0x24b67f=0x0,_0x503e80=_0x502640['length']-0x1){const _0x1d43d8=Math['floor'](_0x24b67f+(_0x503e80-_0x24b67f)/0x2);if(_0x503e80>=_0x24b67f){const _0x3b40bc=_0x502640[_0x1d43d8],_0x23486e=_0x5ee8eb['mapper']['toViewElement'](_0x3b40bc['modelElement']);return _0x23486e?new _0x32edbc(_0x5ee8eb['view']['domConverter']['mapViewToDom'](_0x23486e))['bottom']>_0x56854f?k(_0x5ee8eb,_0x502640,_0x56854f,_0x24b67f,_0x1d43d8-0x1):k(_0x5ee8eb,_0x502640,_0x56854f,_0x1d43d8+0x1,_0x503e80):null;}return _0x1d43d8<0x0?null:_0x502640[_0x1d43d8];}var E=class extends _0xb8524f{['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 _0x5541a4=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x55365b;for(const _0x50e79b in _0x5541a4){const _0x4ea56c=_0x50e79b,_0x22fb3d=_0x5541a4[_0x4ea56c];if('documentOutlineLicenseKeyValid'==_0x22fb3d||'documentOutlineLicenseKeyInvalid'==_0x22fb3d||'documentOutlineLicenseKeyExpired'==_0x22fb3d||'documentOutlineLicenseKeyDomainLimit'==_0x22fb3d||'documentOutlineLicenseKeyNotAllowed'==_0x22fb3d||'documentOutlineLicenseKeyEvaluationLimit'==_0x22fb3d||'documentOutlineLicenseKeyUsageLimit'==_0x22fb3d){delete _0x5541a4[_0x4ea56c],_0x55365b=_0x22fb3d,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'documentOutlineLicenseKeyInvalid'==_0x55365b&&_0x5541a4['_showLicenseError']('invalid'),'documentOutlineLicenseKeyExpired'==_0x55365b&&_0x5541a4['_showLicenseError']('expired'),'documentOutlineLicenseKeyDomainLimit'==_0x55365b&&_0x5541a4['_showLicenseError']('domainLimit'),'documentOutlineLicenseKeyNotAllowed'==_0x55365b&&_0x5541a4['_showLicenseError']('featureNotAllowed','DocumentOutline'),'documentOutlineLicenseKeyEvaluationLimit'==_0x55365b&&_0x5541a4['_showLicenseError']('evaluationLimit'),'documentOutlineLicenseKeyUsageLimit'==_0x55365b&&_0x5541a4['_showLicenseError']('usageLimit');},0x3e8);}destroy(){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}},K=class extends _0x3880f9{execute(){this['editor']['model']['change'](_0x3708ed=>{this['editor']['model']['insertObject'](_0x3708ed['createElement']('tableOfContents'));});}['refresh'](){const _0x17e9ae=this['editor']['model'],_0x18cf39=_0x17e9ae['document']['selection']['getFirstPosition']();this['isEnabled']=null!==(_0x18cf39&&_0x17e9ae['schema']['findAllowedParent'](_0x18cf39,'tableOfContents'));}},A=class extends _0xb8524f{static get['pluginName'](){return'HeadingId';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}afterInit(){const _0x1beafe=this['editor'];if(_0x1beafe['config']['get']('headingId.modelAttributeName'))return;const {viewNames:_0x58f8fc,modelNames:_0x68a02f}=function(_0x4b74d1){const _0x485835=new Set(['h1','h2','h3','h4','h5','h6']),_0x1e6742=new Set(['heading1','heading2','heading3','heading4','heading5','heading6','htmlH1','htmlH2','htmlH3','htmlH4','htmlH5','htmlH6']);if(!_0x4b74d1)return{'viewNames':_0x485835,'modelNames':_0x1e6742};for(const _0x1ae2d3 of _0x4b74d1){if('paragraph'===_0x1ae2d3['model'])continue;const _0x18cf26='string'==typeof _0x1ae2d3['view']?_0x1ae2d3['view']:_0x1ae2d3['view']['name'];_0x485835['add'](_0x18cf26),_0x1e6742['add'](_0x1ae2d3['model']);}return{'viewNames':_0x485835,'modelNames':_0x1e6742};}(this['editor']['config']['get']('heading.options'));for(const _0x2f6d0b of _0x58f8fc)this['_customUpcastHeadingsConversion'](_0x2f6d0b);for(const _0x303c76 of _0x68a02f)this['_customDataDowncastHeadingsConversion'](_0x303c76),_0x1beafe['model']['schema']['isRegistered'](_0x303c76)&&_0x1beafe['model']['schema']['extend'](_0x303c76,{'allowAttributes':'headingId'});this['_registerHeadingIdAttributePostfixer'](_0x68a02f);}_customUpcastHeadingsConversion(_0x3b5211){this['editor']['conversion']['for']('upcast')['add'](_0x1457b9=>_0x1457b9['on']('element:'+_0x3b5211,(_0xab14a5,_0x2d4780,_0x323c03)=>{const {consumable:_0x1ba8c5,writer:_0x4a3cad}=_0x323c03,_0x32bbf3=_0x2d4780['viewItem']['getAttribute']('id'),_0x2d4ed4=_0x2d4780['modelRange']?.['getContainedElement']();if(_0x2d4ed4)return _0x32bbf3&&_0x32bbf3['length']||_0x2d4ed4['hasAttribute']('headingId')?void(_0x1ba8c5['consume'](_0x2d4780['viewItem'],{'attributes':['id']})&&_0x4a3cad['setAttribute']('headingId',_0x32bbf3,_0x2d4ed4)):(_0x1ba8c5['consume'](_0x2d4780['viewItem'],{'attributes':['id']}),void _0x4a3cad['setAttribute']('headingId',_0x576f0e(),_0x2d4ed4));},{'priority':_0x2d694e['get']('low')+0.5}));}_customDataDowncastHeadingsConversion(_0x18a31c){this['editor']['conversion']['for']('downcast')['add'](_0x2dfcab=>_0x2dfcab['on']('attribute:headingId:'+_0x18a31c,(_0x2157a2,_0x209532,_0x12c330)=>{if(!_0x12c330['consumable']['consume'](_0x209532['item'],_0x2157a2['name']))return;const _0x28bfee=_0x209532['item']['getAttribute']('headingId'),_0x340c50=_0x12c330['mapper']['toViewElement'](_0x209532['item']);_0x12c330['writer']['setAttribute']('id',_0x28bfee,_0x340c50);}));}_registerHeadingIdAttributePostfixer(_0xdb0ad1){const _0x3791c5=this['editor'],_0x6742ed=new Set(),_0x465b87=new Set();function _0x16f70b(_0x53a66e,_0x4fac93){const _0x4a6810=_0x576f0e();return _0x465b87['add'](_0x4a6810),_0x53a66e['setAttribute']('headingId',_0x4a6810,_0x4fac93),_0x4a6810;}function _0xe19793(_0x3fd5b1,_0x4da5d1){_0x3fd5b1['removeAttribute']('headingId',_0x4da5d1);}_0x3791c5['model']['document']['registerPostFixer'](_0x1ba655=>{const _0x4d9d1c=_0x3791c5['model']['document']['differ']['getChanges']();let _0x1f3156=!0x1;for(const _0x5325ec of _0x4d9d1c)if('insert'==_0x5325ec['type']&&_0x5325ec['name']){if(_0xdb0ad1['has'](_0x5325ec['name'])){const _0xacf194=_0x5325ec['attributes']['get']('headingId');'string'==typeof _0xacf194?_0x6742ed['has'](_0xacf194)?(_0x16f70b(_0x1ba655,_0x5325ec['position']['nodeAfter']),_0x1f3156=!0x0):_0x465b87['add'](_0xacf194):(_0x16f70b(_0x1ba655,_0x5325ec['position']['nodeAfter']),_0x1f3156=!0x0);}else'string'==typeof _0x5325ec['attributes']['get']('headingId')&&(_0xe19793(_0x1ba655,_0x5325ec['position']['nodeAfter']),_0x1f3156=!0x0);}else{if('remove'==_0x5325ec['type']){const _0x1020b8=_0x5325ec['attributes']['get']('headingId');'string'==typeof _0x1020b8&&_0x6742ed['delete'](_0x1020b8);}}return _0x1f3156;}),_0x3791c5['model']['document']['on']('change',()=>{_0x465b87['forEach'](_0x443212=>_0x6742ed['add'](_0x443212)),_0x465b87['clear']();});}},N=class extends _0xb8524f{static get['pluginName'](){return'TableOfContentsEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get requires(){return[_0x395572,I,A];}_currentOutlineDefinitions;_tableOfContentsElements;_headingIdModelAttributeName;constructor(_0x5c6c7f){super(_0x5c6c7f),this['_currentOutlineDefinitions']=[],this['_tableOfContentsElements']=new Set(),this['_headingIdModelAttributeName']='headingId';}init(){const _0x5d2325=this['editor'],_0x492d7f=_0x5d2325['editing']['view']['document'];_0x5d2325['config']['get']('headingId.modelAttributeName')&&(this['_headingIdModelAttributeName']=_0x5d2325['config']['get']('headingId.modelAttributeName')),this['listenTo'](_0x492d7f,'click',(_0x3b669d,_0x27771a)=>{if(!_0x27771a['target'])return;const _0x3a15b5=_0x27771a['target']['getCustomProperty']('tableOfContentsHeadingIndex');Number['isInteger'](_0x3a15b5)&&(_0x27771a['domEvent']['preventDefault'](),_0x3b669d['stop'](),this['_handleScrollToHeading'](_0x3a15b5));},{'priority':'high','context':'$capture'}),this['_defineSchema'](),this['_defineConverters'](),_0x5d2325['commands']['add']('insertTableOfContents',new K(_0x5d2325));const _0x161928=_0x5d2325['config']['get']('tableOfContents.headings');_0x161928&&_0x161928['length']?this['listenTo'](_0x5d2325['model']['document'],'change:data',()=>{this['_currentOutlineDefinitions']=this['_getOutlineDefinitions'](_0x161928),this['_updateTableOfContentsElements']();}):_0x5d2325['plugins']['get']('DocumentOutlineUtils')['on']('change',(_0x118c69,_0x30ef9d)=>{this['_currentOutlineDefinitions']=_0x30ef9d['outlineDefinitions'],this['_updateTableOfContentsElements']();}),this['listenTo'](_0x5d2325['model']['document'],'change',()=>{this['_trackNewToCElements']();});}afterInit(){!async function(_0x3a7d21){const _0xcd92e1='mr4z2yakM3x0phtD7jBw1T6qRfeUuZcOLNKVgQSPE9iGIHoXlJW8YsCb5AndFv',_0x4ec24f=0x79140,_0x1edf87=window['Date']['now'](),_0x14915d=_0x3a7d21['editor'],_0x1f1c91=new window['Promise'](_0x30118d=>{_0x14915d['once']('ready',_0x30118d);}),_0x3c3f2f={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0xd2f7fa=_0x14915d['config']['get']('licenseKey');async function _0x42b8b8(){let _0x4f6864,_0x426b9d=null,_0x45cf26=null;try{return'GPL'==_0xd2f7fa?'NotAllowed':(_0x4f6864=_0x199935(),_0x4f6864?(_0x4f6864['usageEndpoint']&&(_0x45cf26=_0x2ad0f1(_0x4f6864['usageEndpoint'],_0x4f6864['jti'])),await _0xd365f0()?_0x36c144()?_0x1ad2ae()?'Expired':_0x5e029b()?('evaluation'==_0x4f6864['licenseType']&&(_0x426b9d=_0x9fb721('EvaluationLimit')),await _0x3259bc()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x1ad2ae(){const _0x3d9f88=['evaluation','trial']['includes'](_0x4f6864['licenseType'])?_0x1edf87/0x3e8:0xe10*_0x4ec24f;return _0x4f6864['exp']<_0x3d9f88;}function _0x36c144(){const _0x58fcad=_0x4f6864['features'];return!!_0x58fcad&&(!!_0x58fcad['includes']('*')||(!!_0x58fcad['includes']('TOC')||(!!_0x58fcad['includes']('PP')||!(!_0x58fcad['includes']('TRILIUM')||!_0x5bec1c()))));}function _0x5e029b(){const _0x467f26=_0x4f6864['licensedHosts'];if(!_0x467f26||0x0==_0x467f26['length'])return!0x0;const {hostname:_0x56c984}=new URL(window['location']['href']);if(_0x467f26['includes'](_0x56c984))return!0x0;const _0x255776=_0x56c984['split']('.');return _0x467f26['filter'](_0x18b3e0=>_0x18b3e0['includes']('*'))['map'](_0x3b3565=>_0x3b3565['split']('.'))['filter'](_0x4b35ed=>_0x4b35ed['length']<=_0x255776['length'])['map'](_0x4ab81a=>Array(_0x255776['length']-_0x4ab81a['length'])['fill']('*'===_0x4ab81a[0x0]?'*':'')['concat'](_0x4ab81a))['some'](_0x4652f8=>_0x255776['every']((_0x1084c3,_0x382ca8)=>_0x4652f8[_0x382ca8]===_0x1084c3||'*'===_0x4652f8[_0x382ca8]));}function _0x3259bc(){return _0x426b9d&&_0x45cf26?new window['Promise']((_0x1a10de,_0x2da8e8)=>{_0x426b9d['then'](_0x1a10de,_0x2da8e8),_0x45cf26['then'](_0x1e9347=>{'Valid'!=_0x1e9347&&_0x1a10de(_0x1e9347);},_0x2da8e8);}):_0x426b9d||_0x45cf26||'Valid';}}function _0x2ad0f1(_0x2faad9,_0x3b6951){return new window['Promise'](_0x3d9c7e=>{if(_0x3cbf05())return _0x3d9c7e('Valid');_0x3499e9(),_0x14915d['decorate']('_sendUsageRequest');let _0x336351=!0x1;const _0x48b28f=_0x576f0e();function _0x1743d6(_0x4adaea){return!!_0x4adaea&&('object'==typeof _0x4adaea||'function'==typeof _0x4adaea)&&'function'==typeof _0x4adaea['then']&&'function'==typeof _0x4adaea['catch'];}function _0x4d2403(_0x1e8589){_0x204a0c(_0x1e8589)['then'](_0x39b9d4=>_0x39b9d4&&'ok'==_0x39b9d4['status']?_0x48528b(_0x43c5b8(_0x48b28f+_0x3b6951))!=_0x39b9d4['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x4c069b=>(_0x18330e(),_0x4c069b),()=>{const _0x516ff7=_0x1a4606();return null==_0x516ff7?(_0x18330e(),'Valid'):_0x1edf87-_0x516ff7>0x240c8400?'UsageLimit':'Valid';})['then'](_0x3d9c7e)['catch'](()=>{_0x3d9c7e('UsageLimit');});const _0xef3224=0x36ee80;function _0x18330e(){const _0x3f53a9='llct-'+_0x48528b(_0x43c5b8(_0x2faad9)),_0x5c3724=_0x1e2483(_0x48528b(window['Math']['ceil'](_0x1edf87/_0xef3224)));window['localStorage']['setItem'](_0x3f53a9,_0x5c3724);}function _0x1a4606(){const _0x353c1f='llct-'+_0x48528b(_0x43c5b8(_0x2faad9)),_0x5a48fb=window['localStorage']['getItem'](_0x353c1f);return _0x5a48fb?window['parseInt'](_0x1e2483(_0x5a48fb),0x10)*_0xef3224:null;}function _0x204a0c(_0x39ad53){return new window['Promise']((_0x462412,_0x13cdfe)=>{_0x39ad53['then'](_0x462412,_0x13cdfe),window['setTimeout'](_0x13cdfe,0x1d4c0);});}}_0x14915d['on']('_sendUsageRequest',(_0x64e290,_0x558558)=>{if(_0x558558[0x0]!=_0x2faad9)return _0x3d9c7e('UsageLimit');_0x558558[0x1]={..._0x558558[0x1],'requestId':_0x48b28f};},{'priority':'high'}),_0x14915d['on']('_sendUsageRequest',_0x40d801=>{_0x1743d6(_0x40d801['return'])&&(_0x336351=!0x0,_0x4d2403(_0x40d801['return']));},{'priority':'low'}),_0x1f1c91['then'](()=>{_0x336351||_0x3d9c7e('UsageLimit');});});function _0x3cbf05(){return'auto'==_0x14915d['editing']['view']['_overlayModeHint'];}function _0x3499e9(){_0x14915d['editing']['view']['_overlayModeHint']='auto';}}function _0x9fb721(_0x54d784){const _0x37bd8f=[new window['Promise'](_0x300d54=>setTimeout(_0x300d54,0x93ecc)),_0x1f1c91['then'](()=>new window['Promise'](_0x4d7826=>{let _0x878749=0x0;_0x14915d['model']['on']('applyOperation',(_0x107e00,_0xeb0004)=>{_0xeb0004[0x0]['isDocumentOperation']&&_0x878749++,0x5e8==_0x878749&&(_0x4d7826(),_0x107e00['off']());});}))];return window['Promise']['race'](_0x37bd8f)['then'](()=>_0x54d784);}async function _0x14598f(){await _0x1f1c91,_0x14915d['model']['change']=_0x50d203,_0x14915d['model']['enqueueChange']=_0x50d203,_0x14915d['enableReadOnlyMode']('model');}function _0x5bec1c(){return window['glob']&&window['glob']['triliumVersion'];}function _0x1a2155(_0x17e6fa){const _0x295bc4=_0x25bede();_0x14915d[_0x295bc4]='tableOfContentsLicenseKey'+_0x17e6fa,'Valid'!=_0x17e6fa&&_0x14598f();}function _0x25bede(){const _0x353a26=window['String'](window['performance']['now']())['replace']('.','');let _0x54d45b='m';for(let _0xe0f7a8=0x0;_0xe0f7a8<_0x353a26['length'];_0xe0f7a8+=0x2){let _0x3e8e03=window['parseInt'](_0x353a26['substring'](_0xe0f7a8,_0xe0f7a8+0x2));_0x3e8e03>=0x3e&&(_0x3e8e03-=0x3e),_0x54d45b+=_0xcd92e1[_0x3e8e03];}return _0x54d45b;}function _0x199935(){const _0x30b59b=_0xd2f7fa['split']('.');if(0x3!=_0x30b59b['length'])return null;return _0x375338(_0x30b59b[0x1]);function _0x375338(_0x53bae7){const _0x15fb0f=_0x25dc6f(_0x53bae7);return _0x15fb0f&&_0x3d4413()?_0x15fb0f:null;function _0x3d4413(){const _0x36bdc6=_0x15fb0f['jti'],_0x5708bd=window['parseInt'](_0x36bdc6['substring'](_0x36bdc6['length']-0x8),0x10),_0xfb92e4={..._0x15fb0f,'jti':_0x36bdc6['substring'](0x0,_0x36bdc6['length']-0x8)};return delete _0xfb92e4['vc'],_0x43c5b8(_0xfb92e4)==_0x5708bd;}}}async function _0xd365f0(){let _0x5cc9c9=!0x0;try{const [_0x961e49,_0x45f864,_0x57f481]=_0xd2f7fa['split']('.');return _0x2cb718(_0x961e49),await _0x234f0a(_0x961e49,_0x45f864,_0x57f481),_0x5cc9c9;}catch{return!0x1;}function _0x2cb718(_0x18b300){const _0x1a3d4c=_0x25dc6f(_0x18b300);_0x1a3d4c&&'ES256'==_0x1a3d4c['alg']||(_0x5cc9c9=!0x1);}async function _0x234f0a(_0x449d17,_0x151f1e,_0x32c96e){const _0x3393a2=window['Uint8Array']['from'](_0x2aaa68(_0x32c96e),_0x4d8501=>_0x4d8501['charCodeAt'](0x0)),_0x20bec3=new window['TextEncoder']()['encode'](_0x449d17+'.'+_0x151f1e),_0x31a265=window['crypto']['subtle'];if(!_0x31a265)return;const _0x31b9e5=await _0x31a265['importKey']('jwk',_0x3c3f2f,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x31a265['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x31b9e5,_0x3393a2,_0x20bec3)||(_0x5cc9c9=!0x1);}}function _0x25dc6f(_0x162af1){return _0x162af1['startsWith']('ey')?JSON['parse'](_0x2aaa68(_0x162af1)):null;}function _0x2aaa68(_0x1bb86c){return window['atob'](_0x1bb86c['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x43c5b8(_0x59529d){let _0x496fe6=0x1505;function _0x1568fd(_0x309274){for(let _0x130201=0x0;_0x130201<_0x309274['length'];_0x130201++){const _0x1f15b4=_0x309274['charCodeAt'](_0x130201);_0x496fe6=(_0x496fe6<<0x5)+_0x496fe6+_0x1f15b4,_0x496fe6&=_0x496fe6;}}function _0x457827(_0x275395){Array['isArray'](_0x275395)?_0x275395['forEach'](_0x457827):_0x275395&&'object'==typeof _0x275395?Object['entries'](_0x275395)['sort']()['forEach'](([_0x496043,_0x40d79b])=>{_0x1568fd(_0x496043),_0x457827(_0x40d79b);}):_0x1568fd(window['String'](_0x275395));}return _0x457827(_0x59529d),_0x496fe6>>>0x0;}function _0x48528b(_0x3bd4bf){return _0x3bd4bf['toString'](0x10)['padStart'](0x8,'0');}function _0x1e2483(_0x176648){return _0x176648['split']('')['reverse']()['join']('');}function _0x50d203(){}_0x1a2155(await _0x42b8b8());}(this);}_updateTableOfContentsElements(){this['_tableOfContentsElements']['forEach'](_0x1d7bb8=>{'$graveyard'!==_0x1d7bb8['rootName']&&this['editor']['editing']['reconvertItem'](_0x1d7bb8);});}_trackNewToCElements(){for(const _0x13ad3c of this['editor']['model']['document']['differ']['getChanges']({'includeChangesInGraveyard':!0x0})){if('insert'!==_0x13ad3c['type']||'tableOfContents'!==_0x13ad3c['name'])return;this['_tableOfContentsElements']['add'](_0x13ad3c['position']['nodeAfter']);}}_getOutlineDefinitions(_0x41ca7f){const _0x34993f=this['editor'],_0x4694fd=[];for(const _0x4fbf21 of _0x34993f['model']['document']['getRootNames']())_0x510743(_0x34993f['model']['document']['getRoot'](_0x4fbf21));function _0x510743(_0x158d59){for(const _0x32c82c of _0x158d59['getChildren']())_0x32c82c['is']('element')&&(_0x41ca7f['includes'](_0x32c82c['name'])&&_0x4694fd['push']({'level':_0x41ca7f['indexOf'](_0x32c82c['name'])+0x1,'text':b(_0x32c82c),'modelElement':_0x32c82c}),_0x510743(_0x32c82c));}return _0x4694fd;}['_defineSchema'](){this['editor']['model']['schema']['register']('tableOfContents',{'inheritAllFrom':'$blockObject'});}_defineConverters(){const _0x26f0e0=this['editor']['conversion'];_0x26f0e0['for']('upcast')['elementToElement']({'model':'tableOfContents','view':{'name':'div','classes':'table-of-contents'}}),_0x26f0e0['for']('dataDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x46d980,{writer:_0x3bc586})=>this['_createTableOfContents'](_0x3bc586,!0x0)}),_0x26f0e0['for']('editingDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x52f40a,{writer:_0x330ac0})=>(this['_tableOfContentsElements']['add'](_0x52f40a),_0x4bbd5d(this['_createTableOfContents'](_0x330ac0),_0x330ac0,{'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(_0x3011a1,_0x39ffcf=!0x1){const {locale:_0x3f8413}=this['editor'],_0x2e56c5=_0x3011a1['createContainerElement']('div',{'class':'table-of-contents'+(0x0===this['_currentOutlineDefinitions']['length']?'\x20table-of-contents_empty':''),...!_0x39ffcf&&{'data-table-of-contents-label':L(_0x3f8413,'Table\x20of\x20contents')}});0x0===this['_currentOutlineDefinitions']['length']&&!0x1===_0x39ffcf&&_0x3011a1['insert'](_0x3011a1['createPositionAt'](_0x2e56c5,'end'),_0x3011a1['createContainerElement']('p',{'class':'table-of-contents__placeholder'},[_0x3011a1['createText'](L(_0x3f8413,'No\x20headings\x20were\x20found\x20in\x20the\x20document.'))]));const _0x23e107=_0x39ffcf?'':'['+L(_0x3f8413,'Empty\x20heading')+']';let _0x4f6263=_0x2e56c5;return this['_currentOutlineDefinitions']['forEach']((_0x3ece01,_0x3798e6,_0x1f4a71)=>{const _0x3b6fb7=this['editor']['model']['hasContent'](_0x3ece01['modelElement'],{'ignoreWhitespaces':!0x0}),_0x11fc12=_0x3b6fb7?_0x3ece01['text']:_0x23e107,_0x287687=_0x3ece01['modelElement']['getAttribute'](this['_headingIdModelAttributeName']),_0x55c416=_0x3011a1['createContainerElement']('a',{'href':'#'+_0x287687,...!_0x39ffcf&&{'tabindex':'-1'}},[_0x3011a1['createText'](_0x11fc12)]),_0x57d03e=this['editor']['config']['get']('documentOutline.showEmptyHeadings');_0x3011a1['setCustomProperty']('tableOfContentsHeadingIndex',_0x3798e6,_0x55c416);const _0x52a70d=_0x3011a1['createContainerElement']('li',null,[_0x3b6fb7||!_0x39ffcf&&_0x57d03e?_0x55c416:_0x3011a1['createText']('')]),_0x214680=_0x3798e6?_0x1f4a71[_0x3798e6-0x1]['level']:0x0,_0x410f87=Math['abs'](_0x3ece01['level']-_0x214680);if(_0x3ece01['level']>_0x214680){const _0x227510=H(_0x52a70d,_0x410f87,_0x3011a1);_0x3011a1['insert'](_0x3011a1['createPositionAt'](_0x4f6263,'end'),_0x227510);}else{const _0x422b44=function(_0x505375,_0x446659){return _0x505375['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0})['filter'](_0x9a4ad3=>_0x9a4ad3['is']('element','ol'))[_0x446659];}(_0x4f6263,_0x410f87);_0x3011a1['insert'](_0x3011a1['createPositionAt'](_0x422b44,'end'),_0x52a70d);}_0x4f6263=_0x52a70d;}),_0x2e56c5;}['_handleScrollToHeading'](_0xd66240){const _0xcb62ba=this['_currentOutlineDefinitions'][_0xd66240]['modelElement'];this['editor']['model']['change'](_0x2ce6d9=>{_0x2ce6d9['setSelection'](_0xcb62ba,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0});}_redirectMapper(){return(_0x3f9366,_0x3385fd)=>{const _0x21f658=_0x3385fd['mapper'],_0x3b6fe1=_0x21f658['findMappedViewAncestor'](_0x3385fd['viewPosition']),_0x13ae52=_0x21f658['toModelElement'](_0x3b6fe1);_0x13ae52['is']('element','tableOfContents')&&(_0x3385fd['modelPosition']=this['editor']['model']['createPositionAt'](_0x13ae52,0x0),_0x3f9366['stop']());};}};function H(_0x4765b5,_0x748629,_0x1bb96d){return 0x1===_0x748629?_0x1bb96d['createContainerElement']('ol',null,[_0x4765b5]):_0x1bb96d['createContainerElement']('ol',null,[_0x1bb96d['createContainerElement']('li',null,[H(_0x4765b5,_0x748629-0x1,_0x1bb96d)])]);}var P=class extends _0xb8524f{['licenseKey'];_licenseKeyCheckInterval;static get['pluginName'](){return'TableOfContentsUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){const _0x28924a=this['editor'];_0x28924a['ui']['componentFactory']['add']('tableOfContents',()=>{const _0x127705=this['_createButton'](_0x9964f);return _0x127705['tooltip']=!0x0,_0x127705;}),_0x28924a['ui']['componentFactory']['add']('menuBar:tableOfContents',()=>this['_createButton'](_0x4af37b)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x150191=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x29487d;for(const _0x333214 in _0x150191){const _0x973602=_0x333214,_0x43a2f6=_0x150191[_0x973602];if('tableOfContentsLicenseKeyValid'==_0x43a2f6||'tableOfContentsLicenseKeyInvalid'==_0x43a2f6||'tableOfContentsLicenseKeyExpired'==_0x43a2f6||'tableOfContentsLicenseKeyDomainLimit'==_0x43a2f6||'tableOfContentsLicenseKeyNotAllowed'==_0x43a2f6||'tableOfContentsLicenseKeyEvaluationLimit'==_0x43a2f6||'tableOfContentsLicenseKeyUsageLimit'==_0x43a2f6){delete _0x150191[_0x973602],_0x29487d=_0x43a2f6,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'tableOfContentsLicenseKeyInvalid'==_0x29487d&&_0x150191['_showLicenseError']('invalid'),'tableOfContentsLicenseKeyExpired'==_0x29487d&&_0x150191['_showLicenseError']('expired'),'tableOfContentsLicenseKeyDomainLimit'==_0x29487d&&_0x150191['_showLicenseError']('domainLimit'),'tableOfContentsLicenseKeyNotAllowed'==_0x29487d&&_0x150191['_showLicenseError']('featureNotAllowed','TableOfContents'),'tableOfContentsLicenseKeyEvaluationLimit'==_0x29487d&&_0x150191['_showLicenseError']('evaluationLimit'),'tableOfContentsLicenseKeyUsageLimit'==_0x29487d&&_0x150191['_showLicenseError']('usageLimit');},0x3e8);}_createButton(_0x214c86){const _0x31ade8=this['editor'],_0x422452=_0x31ade8['locale'],_0x286dba=_0x31ade8['commands']['get']('insertTableOfContents'),_0x1c47ee=new _0x214c86(_0x422452);return _0x1c47ee['set']({'label':L(_0x422452,'Table\x20of\x20contents'),'icon':_0x5ede8d}),_0x1c47ee['bind']('isEnabled')['to'](_0x286dba,'isEnabled'),this['listenTo'](_0x1c47ee,'execute',()=>{_0x31ade8['execute']('insertTableOfContents'),_0x31ade8['editing']['view']['focus']();}),_0x1c47ee;}destroy(){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}},U=class extends _0xb8524f{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':_0x3afde6=>0x1!=_0x3afde6}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x36ae4b=>{const {af:{dictionary:_0x5efd83,getPluralForm:_0x2507bc}}={'af':{'dictionary':{'Empty\x20heading':'','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'','Table\x20of\x20contents':''},'getPluralForm':_0x177029=>0x1!=_0x177029}};_0x36ae4b['af']||={'dictionary':{},'getPluralForm':null},_0x36ae4b['af']['dictionary']=Object['assign'](_0x36ae4b['af']['dictionary'],_0x5efd83),_0x36ae4b['af']['getPluralForm']=_0x2507bc;})(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':_0x5b5fc7=>0x0==_0x5b5fc7?0x0:0x1==_0x5b5fc7?0x1:0x2==_0x5b5fc7?0x2:_0x5b5fc7%0x64>=0x3&&_0x5b5fc7%0x64<=0xa?0x3:_0x5b5fc7%0x64>=0xb?0x4:0x5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x183fc8=>{const {ar:{dictionary:_0x296f15,getPluralForm:_0x22039a}}={'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':_0x293366=>0x0==_0x293366?0x0:0x1==_0x293366?0x1:0x2==_0x293366?0x2:_0x293366%0x64>=0x3&&_0x293366%0x64<=0xa?0x3:_0x293366%0x64>=0xb?0x4:0x5}};_0x183fc8['ar']||={'dictionary':{},'getPluralForm':null},_0x183fc8['ar']['dictionary']=Object['assign'](_0x183fc8['ar']['dictionary'],_0x296f15),_0x183fc8['ar']['getPluralForm']=_0x22039a;})(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':_0x3d31d7=>0x1!=_0x3d31d7}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x34ac49=>{const {ast:{dictionary:_0x225f55,getPluralForm:_0xce0bf0}}={'ast':{'dictionary':{'Empty\x20heading':'','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'','Table\x20of\x20contents':''},'getPluralForm':_0x9fb332=>0x1!=_0x9fb332}};_0x34ac49['ast']||={'dictionary':{},'getPluralForm':null},_0x34ac49['ast']['dictionary']=Object['assign'](_0x34ac49['ast']['dictionary'],_0x225f55),_0x34ac49['ast']['getPluralForm']=_0xce0bf0;})(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':_0x167253=>0x1!=_0x167253}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x55a780=>{const {az:{dictionary:_0xcc126d,getPluralForm:_0x35910d}}={'az':{'dictionary':{'Empty\x20heading':'','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'','Table\x20of\x20contents':''},'getPluralForm':_0x5ab92e=>0x1!=_0x5ab92e}};_0x55a780['az']||={'dictionary':{},'getPluralForm':null},_0x55a780['az']['dictionary']=Object['assign'](_0x55a780['az']['dictionary'],_0xcc126d),_0x55a780['az']['getPluralForm']=_0x35910d;})(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':_0x366a1f=>_0x366a1f%0xa==0x1&&_0x366a1f%0x64!=0xb?0x0:_0x366a1f%0xa>=0x2&&_0x366a1f%0xa<=0x4&&(_0x366a1f%0x64<0xa||_0x366a1f%0x64>=0x14)?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x281084=>{const {be:{dictionary:_0x2f8c9c,getPluralForm:_0x414ba4}}={'be':{'dictionary':{'Empty\x20heading':'','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'','Table\x20of\x20contents':''},'getPluralForm':_0x73c446=>_0x73c446%0xa==0x1&&_0x73c446%0x64!=0xb?0x0:_0x73c446%0xa>=0x2&&_0x73c446%0xa<=0x4&&(_0x73c446%0x64<0xa||_0x73c446%0x64>=0x14)?0x1:0x2}};_0x281084['be']||={'dictionary':{},'getPluralForm':null},_0x281084['be']['dictionary']=Object['assign'](_0x281084['be']['dictionary'],_0x2f8c9c),_0x281084['be']['getPluralForm']=_0x414ba4;})(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':_0x5e94fb=>0x1!=_0x5e94fb}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x38ff24=>{const {bg:{dictionary:_0x2d5b7b,getPluralForm:_0xce7872}}={'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':_0x456cf4=>0x1!=_0x456cf4}};_0x38ff24['bg']||={'dictionary':{},'getPluralForm':null},_0x38ff24['bg']['dictionary']=Object['assign'](_0x38ff24['bg']['dictionary'],_0x2d5b7b),_0x38ff24['bg']['getPluralForm']=_0xce7872;})(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':_0x14db87=>0x1!=_0x14db87}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x57a46e=>{const {bn:{dictionary:_0x1ab708,getPluralForm:_0x51e17d}}={'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':_0x5f2519=>0x1!=_0x5f2519}};_0x57a46e['bn']||={'dictionary':{},'getPluralForm':null},_0x57a46e['bn']['dictionary']=Object['assign'](_0x57a46e['bn']['dictionary'],_0x1ab708),_0x57a46e['bn']['getPluralForm']=_0x51e17d;})(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':_0x4b20c9=>_0x4b20c9%0xa==0x1&&_0x4b20c9%0x64!=0xb?0x0:_0x4b20c9%0xa>=0x2&&_0x4b20c9%0xa<=0x4&&(_0x4b20c9%0x64<0xa||_0x4b20c9%0x64>=0x14)?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2c9d36=>{const {bs:{dictionary:_0x42f530,getPluralForm:_0x43bebc}}={'bs':{'dictionary':{'Empty\x20heading':'','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'','Table\x20of\x20contents':''},'getPluralForm':_0x555501=>_0x555501%0xa==0x1&&_0x555501%0x64!=0xb?0x0:_0x555501%0xa>=0x2&&_0x555501%0xa<=0x4&&(_0x555501%0x64<0xa||_0x555501%0x64>=0x14)?0x1:0x2}};_0x2c9d36['bs']||={'dictionary':{},'getPluralForm':null},_0x2c9d36['bs']['dictionary']=Object['assign'](_0x2c9d36['bs']['dictionary'],_0x42f530),_0x2c9d36['bs']['getPluralForm']=_0x43bebc;})(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':_0x4751cb=>0x1!=_0x4751cb}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xa81134=>{const {ca:{dictionary:_0x5ab61b,getPluralForm:_0x59e67a}}={'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':_0x14a66d=>0x1!=_0x14a66d}};_0xa81134['ca']||={'dictionary':{},'getPluralForm':null},_0xa81134['ca']['dictionary']=Object['assign'](_0xa81134['ca']['dictionary'],_0x5ab61b),_0xa81134['ca']['getPluralForm']=_0x59e67a;})(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':_0x1e5cce=>0x1==_0x1e5cce?0x0:_0x1e5cce>=0x2&&_0x1e5cce<=0x4?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4919cd=>{const {cs:{dictionary:_0x896393,getPluralForm:_0x14177e}}={'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':_0x3bb0f0=>0x1==_0x3bb0f0?0x0:_0x3bb0f0>=0x2&&_0x3bb0f0<=0x4?0x1:0x2}};_0x4919cd['cs']||={'dictionary':{},'getPluralForm':null},_0x4919cd['cs']['dictionary']=Object['assign'](_0x4919cd['cs']['dictionary'],_0x896393),_0x4919cd['cs']['getPluralForm']=_0x14177e;})(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':_0x14166e=>0x1!=_0x14166e}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2bc6b5=>{const {da:{dictionary:_0x4e27e9,getPluralForm:_0x65e7b7}}={'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':_0x2b671b=>0x1!=_0x2b671b}};_0x2bc6b5['da']||={'dictionary':{},'getPluralForm':null},_0x2bc6b5['da']['dictionary']=Object['assign'](_0x2bc6b5['da']['dictionary'],_0x4e27e9),_0x2bc6b5['da']['getPluralForm']=_0x65e7b7;})(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':_0x4d4ca4=>0x1!=_0x4d4ca4}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x47ca14=>{const {'de-ch':{dictionary:_0xe8d5f9,getPluralForm:_0x1cc80d}}={'de-ch':{'dictionary':{'Empty\x20heading':'','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'','Table\x20of\x20contents':''},'getPluralForm':_0x264d5d=>0x1!=_0x264d5d}};_0x47ca14['de-ch']||={'dictionary':{},'getPluralForm':null},_0x47ca14['de-ch']['dictionary']=Object['assign'](_0x47ca14['de-ch']['dictionary'],_0xe8d5f9),_0x47ca14['de-ch']['getPluralForm']=_0x1cc80d;})(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':_0x20ab3e=>0x1!=_0x20ab3e}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5de808=>{const {de:{dictionary:_0x45ac82,getPluralForm:_0x5675f9}}={'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':_0xebadaa=>0x1!=_0xebadaa}};_0x5de808['de']||={'dictionary':{},'getPluralForm':null},_0x5de808['de']['dictionary']=Object['assign'](_0x5de808['de']['dictionary'],_0x45ac82),_0x5de808['de']['getPluralForm']=_0x5675f9;})(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':_0x44d00d=>0x1!=_0x44d00d}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xf98d50=>{const {el:{dictionary:_0x48c092,getPluralForm:_0x4bb41e}}={'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':_0x8865ce=>0x1!=_0x8865ce}};_0xf98d50['el']||={'dictionary':{},'getPluralForm':null},_0xf98d50['el']['dictionary']=Object['assign'](_0xf98d50['el']['dictionary'],_0x48c092),_0xf98d50['el']['getPluralForm']=_0x4bb41e;})(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':_0x1bb2ba=>0x1!=_0x1bb2ba}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4b8a37=>{const {'en-au':{dictionary:_0x25b741,getPluralForm:_0x3e0283}}={'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':_0x3e2f44=>0x1!=_0x3e2f44}};_0x4b8a37['en-au']||={'dictionary':{},'getPluralForm':null},_0x4b8a37['en-au']['dictionary']=Object['assign'](_0x4b8a37['en-au']['dictionary'],_0x25b741),_0x4b8a37['en-au']['getPluralForm']=_0x3e0283;})(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':_0x3e776f=>0x1!=_0x3e776f}};
|