@ckeditor/ckeditor5-document-outline 48.3.0-alpha.1 → 48.3.0-alpha.2
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 _0x3335d0,Plugin as _0x548b1f}from'@ckeditor/ckeditor5-core';import{debounce as _0x43c5a8,throttle as _0x709743}from'es-toolkit/compat';import{ModelText as _0x4a040b,ModelTreeWalker as _0x222346}from'@ckeditor/ckeditor5-engine';import{CKEditorError as _0x3345a9,Rect as _0x4de28e,diff as _0x5299b8,diffToChanges as _0xdf80ec,global as _0x587805,priorities as _0x5e30bf,scrollAncestorsToShowTarget as _0x259d2c,uid as _0x1c535f}from'@ckeditor/ckeditor5-utils';import{ButtonView as _0x258ddc,MenuBarMenuListItemButtonView as _0x1b5155,View as _0x50178f}from'@ckeditor/ckeditor5-ui';import{Widget as _0x3092e2,toWidget as _0x1b7424}from'@ckeditor/ckeditor5-widget';import{IconTableOfContents as _0x38c57b}from'@ckeditor/ckeditor5-icons';function b(_0xd62201){let _0x5ab25e='';for(const _0x5433c6 of _0xd62201['getChildren']())_0x5433c6 instanceof _0x4a040b&&(_0x5ab25e+=_0x5433c6['data']);return _0x5ab25e;}var I=class extends _0x548b1f{static get['pluginName'](){return'DocumentOutlineUtils';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['_headingNames']=[];['init'](){const _0x446219=this['editor'];this['_headingNames']=this['_getHeadingNames']();let _0xc6a75b=[];_0x446219['model']['document']['on']('change',_0x43c5a8(()=>{const _0x5e3f83=_0xc6a75b;_0xc6a75b=this['_getOutlineDefinitions']();const _0x55ad33=_0xdf80ec(_0x5299b8(_0x5e3f83,_0xc6a75b,(_0x4ac888,_0x13a9b2)=>_0x4ac888['level']===_0x13a9b2['level']&&_0x4ac888['text']===_0x13a9b2['text']&&_0x4ac888['modelElement']===_0x13a9b2['modelElement']),_0xc6a75b),_0x58fef5=this['_getActiveHeading'](),_0x1ccecc=_0xc6a75b['findIndex'](_0x224a6e=>_0x224a6e['modelElement']===_0x58fef5);_0x55ad33['length']&&this['fire']('change',{'outlineDefinitions':_0xc6a75b,'activeItemIndex':_0x1ccecc,'outlineChanges':_0x55ad33}),this['fire']('activeItemIndex',{'index':_0x1ccecc});},0xfa,{'leading':!0x0,'trailing':!0x0}));}['afterInit'](){this['_headingNames']['length']||this['_deriveHeadingElementsFromConversion']();}['_getOutlineDefinitions'](){const _0x2a66f3=this['editor'],_0x183c39=[],_0x1a38cb=this['_headingNames'];for(const _0xd2bfee of _0x2a66f3['model']['document']['getRootNames']())_0x16e6d6(_0x2a66f3['model']['document']['getRoot'](_0xd2bfee));function _0x16e6d6(_0x105fa8){for(const _0x530151 of _0x105fa8['getChildren']())_0x530151['is']('element')&&(_0x1a38cb['includes'](_0x530151['name'])&&_0x183c39['push']({'level':_0x1a38cb['indexOf'](_0x530151['name'])+0x1,'text':b(_0x530151),'modelElement':_0x530151}),_0x16e6d6(_0x530151));}return _0x183c39;}['_getActiveHeading'](){const _0x1081ff=new _0x222346({'direction':'backward','startPosition':this['editor']['model']['document']['selection']['getFirstPosition']()});for(const _0xad3738 of _0x1081ff)if(_0xad3738['item']['is']('element')&&this['_headingNames']['includes'](_0xad3738['item']['name']))return _0xad3738['item'];}['_getHeadingNames'](){const _0xbd807b=this['editor']['config']['get']('documentOutline.headings');return _0xbd807b||function(_0x4cf935){const _0x1f52da=_0x4cf935['config']['get']('heading.options');return _0x1f52da?_0x1f52da['reduce']((_0x59b758,_0x1a028b)=>('paragraph'!==_0x1a028b['model']&&_0x59b758['push'](_0x1a028b['model']),_0x59b758),[]):_0x4cf935['plugins']['has']('GeneralHtmlSupport')?['htmlH1','htmlH2','htmlH3','htmlH4','htmlH5','htmlH6']:[];}(this['editor']);}['_deriveHeadingElementsFromConversion'](){const _0x12b4ec=this['editor'],_0x3f736a=['h1','h2','h3','h4','h5','h6'],_0xf31f98=[];for(const _0x22ace9 of _0x3f736a){const _0x55b18b=_0x12b4ec['editing']['view']['domConverter']['domToView'](document['createElement'](_0x22ace9)),_0x4c1971=_0x12b4ec['data']['toModel'](_0x55b18b)['getChild'](0x0);_0x4c1971?.['is']('element')&&_0xf31f98['push'](_0x4c1971['name']);}this['_headingNames']=_0xf31f98;}};function L(_0x1f03f6,_0x15fa22){const t=_0x1f03f6['t'];switch(_0x15fa22){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 _0x15fa22;}}var C=class extends _0x50178f{constructor(_0x8d9d6f,_0x2fe077=!0x1){super(_0x8d9d6f);const _0x9ee740=this['bindTemplate'],_0x453025=_0x2fe077?'['+L(_0x8d9d6f,'Empty\x20heading')+']':'';this['set']('text',''),this['set']('level',0x1),this['set']('isActive',!0x1),this['bind']('isEmpty')['to'](this,'text',_0x3d52ca=>!_0x3d52ca),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline__item',_0x9ee740['to']('level',_0x5e13be=>'ck-document-outline__item_level-'+_0x5e13be),_0x9ee740['if']('isActive','ck-document-outline__item_active'),_0x9ee740['if']('isEmpty','ck-document-outline__item_empty')],'title':_0x9ee740['to']('text')},'children':[{'text':_0x9ee740['to']('text',_0x4835a8=>_0x4835a8||_0x453025)}],'on':{'click':_0x9ee740['to']('click')}});}},_=class extends _0x50178f{['items'];['documentOutlineContainer'];['showEmptyHeadingText'];constructor(_0x3bac5d,_0x46550a=!0x1,_0x5b43b4){super(_0x3bac5d),this['showEmptyHeadingText']=_0x46550a,this['set']('activeItemIndex',-0x1),this['documentOutlineContainer']=_0x5b43b4,this['items']=this['createCollection'](),this['items']['delegate']('click')['to'](this),this['on']('click',this['_handleItemClick']['bind'](this)),this['on']('change:activeItemIndex',(_0xde4336,_0x50de44,_0x242f4b,_0x3645d0)=>{this['_setActiveItem'](_0x3645d0,_0x242f4b);}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline'],'dir':_0x3bac5d['contentLanguageDirection'],'data-document-outline-empty-placeholder':L(_0x3bac5d,'Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.'),'tabindex':-0x1},'children':this['items']});}['sync'](_0x263c53){_0x263c53['forEach'](_0x2cc1de=>{'insert'==_0x2cc1de['type']?this['_insertItem'](_0x2cc1de['index'],..._0x2cc1de['values']):'delete'==_0x2cc1de['type']&&this['_deleteItem'](_0x2cc1de['index'],_0x2cc1de['howMany']);});}['_setActiveItem'](_0x46de0b,_0x14f0e9){if(-0x1!==_0x46de0b){const _0x1b27d9=this['items']['get'](_0x46de0b);_0x1b27d9&&(_0x1b27d9['isActive']=!0x1);}-0x1!==_0x14f0e9&&(this['items']['get'](_0x14f0e9)['isActive']=!0x0,this['_scrollToItem'](_0x14f0e9));}['_insertItem'](_0x36c2d6,..._0x530aa2){const _0x42efb4=_0x530aa2['map']((_0x57a8b7,_0x4eb8ae)=>{const _0x127fae=new C(this['locale'],this['showEmptyHeadingText']);return _0x127fae['text']=_0x57a8b7['text'],_0x127fae['level']=_0x57a8b7['level'],_0x36c2d6+_0x4eb8ae===this['activeItemIndex']&&(_0x127fae['isActive']=!0x0),_0x127fae;});this['items']['addMany'](_0x42efb4,_0x36c2d6);}['_deleteItem'](_0x3d1fb7,_0x58a66d){do{this['items']['remove'](_0x3d1fb7);}while(--_0x58a66d);}['_handleItemClick'](_0x1aeda4){const _0x3378db=this['items']['getIndex'](_0x1aeda4['source']);this['fire']('itemSelected',_0x3378db);}['_scrollToItem'](_0x4f0339){_0x259d2c(this['items']['get'](_0x4f0339)['element'],0x14,this['documentOutlineContainer']);}['destroy'](){super['destroy'](),this['element']['remove']();}},x=class extends _0x548b1f{['view'];['_currentOutlineDefinitions'];['_updateActiveDefinitionFromViewportThrottled'];static get['pluginName'](){return'DocumentOutlineUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x1cf582){super(_0x1cf582),this['view']=new _(_0x1cf582['locale'],this['editor']['config']['get']('documentOutline.showEmptyHeadings'),this['editor']['config']['get']('documentOutline.container')),this['_currentOutlineDefinitions']=[],this['_updateActiveDefinitionFromViewportThrottled']=_0x709743(this['_updateActiveDefinitionOnViewportChange']['bind'](this),0x64);}['init'](){const _0x371616=this['editor'],_0x3feb32=_0x371616['plugins']['get']('DocumentOutlineUtils');let _0x5223c5=!0x1;if(this['view']['render'](),this['editor']['ui']['focusTracker']['add'](this['view']['element']),!_0x371616['config']['get']('documentOutline.container'))throw new _0x3345a9('document-outline-container-not-provided',{'editor':_0x371616});_0x371616['config']['get']('documentOutline.container')['appendChild'](this['view']['element']),_0x3feb32['on']('change',this['_handleOutlineChange']['bind'](this)),_0x3feb32['on']('activeItemIndex',(_0x18f786,{index:_0x4e1d4c})=>this['_setActiveViewItem'](_0x4e1d4c)),this['view']['on']('itemSelected',(_0x5b9301,_0x2abe53)=>{_0x5223c5=!0x0,this['_handleItemSelected'](_0x2abe53);}),this['view']['listenTo'](_0x587805['document'],'scroll',()=>{_0x5223c5?_0x5223c5=!0x1:this['_updateActiveDefinitionFromViewportThrottled']();},{'useCapture':!0x0}),this['view']['listenTo'](_0x587805['window'],'resize',this['_updateActiveDefinitionFromViewportThrottled'],{'useCapture':!0x0});}['afterInit'](){!async function(_0xccf265){const _0x59a236='aWxlPG0A3CDdHBsZEqwULojOrgMXVTRvu1bI2487ptzJKQeihfNkYS9n6y5mcF',_0x4e6e2c=0x78df8,_0x28b24b=window['Date']['now'](),_0x9c5532=_0xccf265['editor'],_0x139a75=new window['Promise'](_0xcb865b=>{_0x9c5532['once']('ready',_0xcb865b);}),_0x426a55={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x4a6b1e=_0x9c5532['config']['get']('licenseKey');async function _0x5479b8(){let _0x4830da,_0x7b8104=null,_0x278768=null;try{return'GPL'==_0x4a6b1e?'NotAllowed':(_0x4830da=_0x4b8dbb(),_0x4830da?(_0x4830da['usageEndpoint']&&(_0x278768=_0x64e941(_0x4830da['usageEndpoint'],_0x4830da['jti'])),await _0x2dbdba()?_0x5d7ddd()?_0x1fe64e()?'Expired':_0x21601e()?('evaluation'==_0x4830da['licenseType']&&(_0x7b8104=_0x15a335('EvaluationLimit')),await _0x1dfd65()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x1fe64e(){const _0x53af0d=['evaluation','trial']['includes'](_0x4830da['licenseType'])?_0x28b24b/0x3e8:0xe10*_0x4e6e2c;return _0x4830da['exp']<_0x53af0d;}function _0x5d7ddd(){const _0x4a4e73=_0x4830da['features'];return!!_0x4a4e73&&(!!_0x4a4e73['includes']('*')||(!!_0x4a4e73['includes']('DO')||(!!_0x4a4e73['includes']('PP')||!(!_0x4a4e73['includes']('TRILIUM')||!_0x565f15()))));}function _0x21601e(){const _0x44fcd4=_0x4830da['licensedHosts'];if(!_0x44fcd4||0x0==_0x44fcd4['length'])return!0x0;const {hostname:_0x298f53}=new URL(window['location']['href']);if(_0x44fcd4['includes'](_0x298f53))return!0x0;const _0x116f2b=_0x298f53['split']('.');return _0x44fcd4['filter'](_0x399a30=>_0x399a30['includes']('*'))['map'](_0xb40e3c=>_0xb40e3c['split']('.'))['filter'](_0xd0c3d0=>_0xd0c3d0['length']<=_0x116f2b['length'])['map'](_0x1f91a3=>Array(_0x116f2b['length']-_0x1f91a3['length'])['fill']('*'===_0x1f91a3[0x0]?'*':'')['concat'](_0x1f91a3))['some'](_0x19e20c=>_0x116f2b['every']((_0x1f7ce4,_0x2dedd5)=>_0x19e20c[_0x2dedd5]===_0x1f7ce4||'*'===_0x19e20c[_0x2dedd5]));}function _0x1dfd65(){return _0x7b8104&&_0x278768?new window['Promise']((_0x1482a5,_0x501590)=>{_0x7b8104['then'](_0x1482a5,_0x501590),_0x278768['then'](_0x2acb67=>{'Valid'!=_0x2acb67&&_0x1482a5(_0x2acb67);},_0x501590);}):_0x7b8104||_0x278768||'Valid';}}function _0x64e941(_0x186dd4,_0x169154){return new window['Promise'](_0x48d0fb=>{if(_0x4c7ac8())return _0x48d0fb('Valid');_0x4a062f(),_0x9c5532['decorate']('_sendUsageRequest');let _0x54eaf1=!0x1;const _0x3873f0=_0x1c535f();function _0x53bf5f(_0x38c088){return!!_0x38c088&&('object'==typeof _0x38c088||'function'==typeof _0x38c088)&&'function'==typeof _0x38c088['then']&&'function'==typeof _0x38c088['catch'];}function _0x1f0952(_0x5dd6b1){_0x4f6b6b(_0x5dd6b1)['then'](_0x22c558=>_0x22c558&&'ok'==_0x22c558['status']?_0x21086c(_0x4af66e(_0x3873f0+_0x169154))!=_0x22c558['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x16bf60=>(_0x5c1b83(),_0x16bf60),()=>{const _0x4e7fe5=_0x2ec05d();return null==_0x4e7fe5?(_0x5c1b83(),'Valid'):_0x28b24b-_0x4e7fe5>0x240c8400?'UsageLimit':'Valid';})['then'](_0x48d0fb)['catch'](()=>{_0x48d0fb('UsageLimit');});const _0x520573=0x36ee80;function _0x5c1b83(){const _0x4d155d='llct-'+_0x21086c(_0x4af66e(_0x186dd4)),_0x338229=_0x15d9c5(_0x21086c(window['Math']['ceil'](_0x28b24b/_0x520573)));window['localStorage']['setItem'](_0x4d155d,_0x338229);}function _0x2ec05d(){const _0x42cb34='llct-'+_0x21086c(_0x4af66e(_0x186dd4)),_0x272076=window['localStorage']['getItem'](_0x42cb34);return _0x272076?window['parseInt'](_0x15d9c5(_0x272076),0x10)*_0x520573:null;}function _0x4f6b6b(_0x10e8f3){return new window['Promise']((_0x53a242,_0x3664b9)=>{_0x10e8f3['then'](_0x53a242,_0x3664b9),window['setTimeout'](_0x3664b9,0x1d4c0);});}}_0x9c5532['on']('_sendUsageRequest',(_0x4a864a,_0x433806)=>{if(_0x433806[0x0]!=_0x186dd4)return _0x48d0fb('UsageLimit');_0x433806[0x1]={..._0x433806[0x1],'requestId':_0x3873f0};},{'priority':'high'}),_0x9c5532['on']('_sendUsageRequest',_0x3103d0=>{_0x53bf5f(_0x3103d0['return'])&&(_0x54eaf1=!0x0,_0x1f0952(_0x3103d0['return']));},{'priority':'low'}),_0x139a75['then'](()=>{_0x54eaf1||_0x48d0fb('UsageLimit');});});function _0x4c7ac8(){return'auto'==_0x9c5532['editing']['view']['_overlayModeHint'];}function _0x4a062f(){_0x9c5532['editing']['view']['_overlayModeHint']='auto';}}function _0x15a335(_0x12f0fc){const _0x130ce2=[new window['Promise'](_0x4e4873=>setTimeout(_0x4e4873,0x93ecc)),_0x139a75['then'](()=>new window['Promise'](_0x32ec10=>{let _0x1127d3=0x0;_0x9c5532['model']['on']('applyOperation',(_0x4195dc,_0x88cfd8)=>{_0x88cfd8[0x0]['isDocumentOperation']&&_0x1127d3++,0x5e8==_0x1127d3&&(_0x32ec10(),_0x4195dc['off']());});}))];return window['Promise']['race'](_0x130ce2)['then'](()=>_0x12f0fc);}async function _0x2b69c9(){await _0x139a75,_0x9c5532['model']['change']=_0x15c5c2,_0x9c5532['model']['enqueueChange']=_0x15c5c2,_0x9c5532['enableReadOnlyMode']('model');}function _0x565f15(){return window['glob']&&window['glob']['triliumVersion'];}function _0x4c8b8e(_0x5b238d){const _0x493e85=_0x1e22c6();_0x9c5532[_0x493e85]='documentOutlineLicenseKey'+_0x5b238d,'Valid'!=_0x5b238d&&_0x2b69c9();}function _0x1e22c6(){const _0x679ce4=window['String'](window['performance']['now']())['replace']('.','');let _0x34987a='a';for(let _0x8db829=0x0;_0x8db829<_0x679ce4['length'];_0x8db829+=0x2){let _0x1ff633=window['parseInt'](_0x679ce4['substring'](_0x8db829,_0x8db829+0x2));_0x1ff633>=0x3e&&(_0x1ff633-=0x3e),_0x34987a+=_0x59a236[_0x1ff633];}return _0x34987a;}function _0x4b8dbb(){const _0x2a7ccd=_0x4a6b1e['split']('.');if(0x3!=_0x2a7ccd['length'])return null;return _0x5b09c1(_0x2a7ccd[0x1]);function _0x5b09c1(_0x4927c0){const _0x19ca82=_0x3ed057(_0x4927c0);return _0x19ca82&&_0x1ad1f6()?_0x19ca82:null;function _0x1ad1f6(){const _0x12ca29=_0x19ca82['jti'],_0x568667=window['parseInt'](_0x12ca29['substring'](_0x12ca29['length']-0x8),0x10),_0x1288a7={..._0x19ca82,'jti':_0x12ca29['substring'](0x0,_0x12ca29['length']-0x8)};return delete _0x1288a7['vc'],_0x4af66e(_0x1288a7)==_0x568667;}}}async function _0x2dbdba(){let _0x5dfe77=!0x0;try{const [_0x33797e,_0x9242be,_0x398685]=_0x4a6b1e['split']('.');return _0x46ce17(_0x33797e),await _0x29099b(_0x33797e,_0x9242be,_0x398685),_0x5dfe77;}catch{return!0x1;}function _0x46ce17(_0x356bc4){const _0xfb80c4=_0x3ed057(_0x356bc4);_0xfb80c4&&'ES256'==_0xfb80c4['alg']||(_0x5dfe77=!0x1);}async function _0x29099b(_0x4d2f50,_0x397d52,_0x4771fd){const _0xe1879=window['Uint8Array']['from'](_0x2af3b9(_0x4771fd),_0x440144=>_0x440144['charCodeAt'](0x0)),_0x24f0be=new window['TextEncoder']()['encode'](_0x4d2f50+'.'+_0x397d52),_0x5178b6=window['crypto']['subtle'];if(!_0x5178b6)return;const _0x2f06e0=await _0x5178b6['importKey']('jwk',_0x426a55,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x5178b6['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x2f06e0,_0xe1879,_0x24f0be)||(_0x5dfe77=!0x1);}}function _0x3ed057(_0x5ee585){return _0x5ee585['startsWith']('ey')?JSON['parse'](_0x2af3b9(_0x5ee585)):null;}function _0x2af3b9(_0x1c2f6e){return window['atob'](_0x1c2f6e['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x4af66e(_0x3fcafa){let _0x190a1e=0x1505;function _0x26b99e(_0x362fba){for(let _0x17fb8f=0x0;_0x17fb8f<_0x362fba['length'];_0x17fb8f++){const _0x424e38=_0x362fba['charCodeAt'](_0x17fb8f);_0x190a1e=(_0x190a1e<<0x5)+_0x190a1e+_0x424e38,_0x190a1e&=_0x190a1e;}}function _0x6d74e3(_0x168947){Array['isArray'](_0x168947)?_0x168947['forEach'](_0x6d74e3):_0x168947&&'object'==typeof _0x168947?Object['entries'](_0x168947)['sort']()['forEach'](([_0xad97b5,_0x25aecd])=>{_0x26b99e(_0xad97b5),_0x6d74e3(_0x25aecd);}):_0x26b99e(window['String'](_0x168947));}return _0x6d74e3(_0x3fcafa),_0x190a1e>>>0x0;}function _0x21086c(_0x10b514){return _0x10b514['toString'](0x10)['padStart'](0x8,'0');}function _0x15d9c5(_0x1940aa){return _0x1940aa['split']('')['reverse']()['join']('');}function _0x15c5c2(){}_0x4c8b8e(await _0x5479b8());}(this);}['destroy'](){super['destroy'](),this['view']['destroy'](),this['_updateActiveDefinitionFromViewportThrottled']['cancel']();}['_handleOutlineChange'](_0xf1102a,{outlineDefinitions:_0x3544ae,outlineChanges:_0x4322b5}){this['_currentOutlineDefinitions']=_0x3544ae,this['view']['sync'](_0x4322b5);}['_setActiveViewItem'](_0x5f33aa){this['_currentOutlineDefinitions']['length']&&this['_currentOutlineDefinitions'][_0x5f33aa]&&(this['view']['activeItemIndex']=_0x5f33aa);}['_handleItemSelected'](_0x131209){const _0x435339=this['_currentOutlineDefinitions'][_0x131209]['modelElement'];this['editor']['model']['change'](_0x636b51=>{_0x636b51['setSelection'](_0x435339,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0}),this['editor']['editing']['view']['focus'](),this['_setActiveViewItem'](_0x131209);}['_updateActiveDefinitionOnViewportChange'](){const _0x302bd5=this['editor'];let _0x539ccb;for(const _0xb1c376 of _0x302bd5['model']['document']['getRootNames']()){const _0x2e583e=_0x302bd5['editing']['view']['getDomRoot'](_0xb1c376),_0x54386e=_0x2e583e&&new _0x4de28e(_0x2e583e)['getVisible']();if(_0x54386e){const _0xdb0c5b=new _0x4de28e(_0x587805['window'])['getIntersection'](_0x54386e);_0xdb0c5b&&(_0x539ccb=_0xdb0c5b['top']+0.25*_0xdb0c5b['height']);}}if(void 0x0===_0x539ccb)return;const _0x1e902d=k(_0x302bd5['editing'],this['_currentOutlineDefinitions'],_0x539ccb);_0x1e902d?this['_setActiveViewItem'](this['_currentOutlineDefinitions']['indexOf'](_0x1e902d)):this['_setActiveViewItem'](-0x1);}};function k(_0x4fe048,_0xb1bc73,_0x340cbe,_0x22fad5=0x0,_0x2813e5=_0xb1bc73['length']-0x1){const _0x2e4b0e=Math['floor'](_0x22fad5+(_0x2813e5-_0x22fad5)/0x2);if(_0x2813e5>=_0x22fad5){const _0x9038bb=_0xb1bc73[_0x2e4b0e],_0x4bfe0d=_0x4fe048['mapper']['toViewElement'](_0x9038bb['modelElement']);return _0x4bfe0d?new _0x4de28e(_0x4fe048['view']['domConverter']['mapViewToDom'](_0x4bfe0d))['bottom']>_0x340cbe?k(_0x4fe048,_0xb1bc73,_0x340cbe,_0x22fad5,_0x2e4b0e-0x1):k(_0x4fe048,_0xb1bc73,_0x340cbe,_0x2e4b0e+0x1,_0x2813e5):null;}return _0x2e4b0e<0x0?null:_0xb1bc73[_0x2e4b0e];}var E=class extends _0x548b1f{['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 _0x3c6189=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x15e8cd;for(const _0x322ce3 in _0x3c6189){const _0x8b7e99=_0x322ce3,_0x5f25f2=_0x3c6189[_0x8b7e99];if('documentOutlineLicenseKeyValid'==_0x5f25f2||'documentOutlineLicenseKeyInvalid'==_0x5f25f2||'documentOutlineLicenseKeyExpired'==_0x5f25f2||'documentOutlineLicenseKeyDomainLimit'==_0x5f25f2||'documentOutlineLicenseKeyNotAllowed'==_0x5f25f2||'documentOutlineLicenseKeyEvaluationLimit'==_0x5f25f2||'documentOutlineLicenseKeyUsageLimit'==_0x5f25f2){delete _0x3c6189[_0x8b7e99],_0x15e8cd=_0x5f25f2,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'documentOutlineLicenseKeyInvalid'==_0x15e8cd&&_0x3c6189['_showLicenseError']('invalid'),'documentOutlineLicenseKeyExpired'==_0x15e8cd&&_0x3c6189['_showLicenseError']('expired'),'documentOutlineLicenseKeyDomainLimit'==_0x15e8cd&&_0x3c6189['_showLicenseError']('domainLimit'),'documentOutlineLicenseKeyNotAllowed'==_0x15e8cd&&_0x3c6189['_showLicenseError']('featureNotAllowed','DocumentOutline'),'documentOutlineLicenseKeyEvaluationLimit'==_0x15e8cd&&_0x3c6189['_showLicenseError']('evaluationLimit'),'documentOutlineLicenseKeyUsageLimit'==_0x15e8cd&&_0x3c6189['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}},K=class extends _0x3335d0{['execute'](){this['editor']['model']['change'](_0x4db49b=>{this['editor']['model']['insertObject'](_0x4db49b['createElement']('tableOfContents'));});}['refresh'](){const _0x2f6787=this['editor']['model'],_0x27310d=_0x2f6787['document']['selection']['getFirstPosition']();this['isEnabled']=null!==(_0x27310d&&_0x2f6787['schema']['findAllowedParent'](_0x27310d,'tableOfContents'));}},A=class extends _0x548b1f{static get['pluginName'](){return'HeadingId';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x2f0a63=this['editor'];if(_0x2f0a63['config']['get']('headingId.modelAttributeName'))return;const {viewNames:_0x17afd3,modelNames:_0x1e9733}=function(_0x942c90){const _0x28319f=new Set(),_0x37d58e=new Set();if(!_0x942c90)return{'viewNames':_0x28319f,'modelNames':_0x37d58e};for(const _0x57e682 of _0x942c90){if('paragraph'===_0x57e682['model'])continue;const _0x5c1fb6='string'==typeof _0x57e682['view']?_0x57e682['view']:_0x57e682['view']['name'];_0x28319f['add'](_0x5c1fb6),_0x37d58e['add'](_0x57e682['model']);}return _0x28319f['has']('h1')||(_0x28319f['add']('h1'),_0x37d58e['add']('heading1')),{'viewNames':_0x28319f,'modelNames':_0x37d58e};}(this['editor']['config']['get']('heading.options'));for(const _0x366736 of _0x17afd3)this['_customUpcastHeadingsConversion'](_0x366736);for(const _0x46d452 of _0x1e9733)this['_customDataDowncastHeadingsConversion'](_0x46d452),_0x2f0a63['model']['schema']['isRegistered'](_0x46d452)&&_0x2f0a63['model']['schema']['extend'](_0x46d452,{'allowAttributes':'headingId'});this['_registerHeadingIdAttributePostfixer'](_0x1e9733);}['_customUpcastHeadingsConversion'](_0x3a38c3){this['editor']['conversion']['for']('upcast')['add'](_0x45e469=>_0x45e469['on']('element:'+_0x3a38c3,(_0x13dd43,_0x5b185a,_0x1b8883)=>{const {consumable:_0x59d1a3,writer:_0x453174}=_0x1b8883,_0x5e4af8=_0x5b185a['viewItem']['getAttribute']('id'),_0x2142b9=_0x5b185a['modelRange']?.['getContainedElement']();if(_0x2142b9)return _0x5e4af8&&_0x5e4af8['length']||_0x2142b9['hasAttribute']('headingId')?void(_0x59d1a3['consume'](_0x5b185a['viewItem'],{'attributes':['id']})&&_0x453174['setAttribute']('headingId',_0x5e4af8,_0x2142b9)):(_0x59d1a3['consume'](_0x5b185a['viewItem'],{'attributes':['id']}),void _0x453174['setAttribute']('headingId',_0x1c535f(),_0x2142b9));},{'priority':_0x5e30bf['get']('low')+0.5}));}['_customDataDowncastHeadingsConversion'](_0x4f01f6){this['editor']['conversion']['for']('downcast')['add'](_0x52c0b4=>_0x52c0b4['on']('attribute:headingId:'+_0x4f01f6,(_0x506390,_0x520959,_0x2465dc)=>{if(!_0x2465dc['consumable']['consume'](_0x520959['item'],_0x506390['name']))return;const _0x31e530=_0x520959['item']['getAttribute']('headingId'),_0x304d1d=_0x2465dc['mapper']['toViewElement'](_0x520959['item']);_0x2465dc['writer']['setAttribute']('id',_0x31e530,_0x304d1d);}));}['_registerHeadingIdAttributePostfixer'](_0xf0d51){const _0x56ca84=this['editor'],_0x1ddfb7=new Set(),_0x1a4157=new Set();function _0x475112(_0x548ee0,_0x51cdcd){const _0x5ed70e=_0x1c535f();return _0x1a4157['add'](_0x5ed70e),_0x548ee0['setAttribute']('headingId',_0x5ed70e,_0x51cdcd),_0x5ed70e;}function _0x10f1cd(_0x34cb71,_0x39108b){_0x34cb71['removeAttribute']('headingId',_0x39108b);}_0x56ca84['model']['document']['registerPostFixer'](_0x350d9c=>{const _0xba626d=_0x56ca84['model']['document']['differ']['getChanges']();let _0xbd36cd=!0x1;for(const _0x3af1ae of _0xba626d)if('insert'==_0x3af1ae['type']&&_0x3af1ae['name']){if(_0xf0d51['has'](_0x3af1ae['name'])){const _0x1fa495=_0x3af1ae['attributes']['get']('headingId');'string'==typeof _0x1fa495?_0x1ddfb7['has'](_0x1fa495)?(_0x475112(_0x350d9c,_0x3af1ae['position']['nodeAfter']),_0xbd36cd=!0x0):_0x1a4157['add'](_0x1fa495):(_0x475112(_0x350d9c,_0x3af1ae['position']['nodeAfter']),_0xbd36cd=!0x0);}else'string'==typeof _0x3af1ae['attributes']['get']('headingId')&&(_0x10f1cd(_0x350d9c,_0x3af1ae['position']['nodeAfter']),_0xbd36cd=!0x0);}else{if('remove'==_0x3af1ae['type']){const _0x530dc8=_0x3af1ae['attributes']['get']('headingId');'string'==typeof _0x530dc8&&_0x1ddfb7['delete'](_0x530dc8);}}return _0xbd36cd;}),_0x56ca84['model']['document']['on']('change',()=>{_0x1a4157['forEach'](_0x5d4d9f=>_0x1ddfb7['add'](_0x5d4d9f)),_0x1a4157['clear']();});}},N=class extends _0x548b1f{static get['pluginName'](){return'TableOfContentsEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x3092e2,I,A];}['_currentOutlineDefinitions'];['_tableOfContentsElements'];['_headingIdModelAttributeName'];constructor(_0x2d1121){super(_0x2d1121),this['_currentOutlineDefinitions']=[],this['_tableOfContentsElements']=new Set(),this['_headingIdModelAttributeName']='headingId';}['init'](){const _0x158df4=this['editor'],_0x5eef2b=_0x158df4['editing']['view']['document'];_0x158df4['config']['get']('headingId.modelAttributeName')&&(this['_headingIdModelAttributeName']=_0x158df4['config']['get']('headingId.modelAttributeName')),this['listenTo'](_0x5eef2b,'click',(_0x572de1,_0x442e32)=>{if(!_0x442e32['target'])return;const _0x40502b=_0x442e32['target']['getCustomProperty']('tableOfContentsHeadingIndex');Number['isInteger'](_0x40502b)&&(_0x442e32['domEvent']['preventDefault'](),_0x572de1['stop'](),this['_handleScrollToHeading'](_0x40502b));},{'priority':'high','context':'$capture'}),this['_defineSchema'](),this['_defineConverters'](),_0x158df4['commands']['add']('insertTableOfContents',new K(_0x158df4));const _0xf289d7=_0x158df4['config']['get']('tableOfContents.headings');_0xf289d7&&_0xf289d7['length']?this['listenTo'](_0x158df4['model']['document'],'change:data',()=>{this['_currentOutlineDefinitions']=this['_getOutlineDefinitions'](_0xf289d7),this['_updateTableOfContentsElements']();}):_0x158df4['plugins']['get']('DocumentOutlineUtils')['on']('change',(_0x232550,_0x47710e)=>{this['_currentOutlineDefinitions']=_0x47710e['outlineDefinitions'],this['_updateTableOfContentsElements']();}),this['listenTo'](_0x158df4['model']['document'],'change',()=>{this['_trackNewToCElements']();});}['afterInit'](){!async function(_0x5f2b4c){const _0x259847='mr4z2yakM3x0phtD7jBw1T6qRfeUuZcOLNKVgQSPE9iGIHoXlJW8YsCb5AndFv',_0x356aa3=0x78df8,_0x11c3d9=window['Date']['now'](),_0x37ec31=_0x5f2b4c['editor'],_0xa788cd=new window['Promise'](_0x34edee=>{_0x37ec31['once']('ready',_0x34edee);}),_0x558fa0={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x29e881=_0x37ec31['config']['get']('licenseKey');async function _0x3ce014(){let _0x3941c6,_0x56dff0=null,_0x6195aa=null;try{return'GPL'==_0x29e881?'NotAllowed':(_0x3941c6=_0x45862f(),_0x3941c6?(_0x3941c6['usageEndpoint']&&(_0x6195aa=_0x578606(_0x3941c6['usageEndpoint'],_0x3941c6['jti'])),await _0x18b281()?_0x4d3cac()?_0x19369f()?'Expired':_0x444f23()?('evaluation'==_0x3941c6['licenseType']&&(_0x56dff0=_0x2976c5('EvaluationLimit')),await _0x585287()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x19369f(){const _0x30a20b=['evaluation','trial']['includes'](_0x3941c6['licenseType'])?_0x11c3d9/0x3e8:0xe10*_0x356aa3;return _0x3941c6['exp']<_0x30a20b;}function _0x4d3cac(){const _0x28022b=_0x3941c6['features'];return!!_0x28022b&&(!!_0x28022b['includes']('*')||(!!_0x28022b['includes']('TOC')||(!!_0x28022b['includes']('PP')||!(!_0x28022b['includes']('TRILIUM')||!_0x224348()))));}function _0x444f23(){const _0xe6bea5=_0x3941c6['licensedHosts'];if(!_0xe6bea5||0x0==_0xe6bea5['length'])return!0x0;const {hostname:_0x262ee4}=new URL(window['location']['href']);if(_0xe6bea5['includes'](_0x262ee4))return!0x0;const _0x458bed=_0x262ee4['split']('.');return _0xe6bea5['filter'](_0x1d36b5=>_0x1d36b5['includes']('*'))['map'](_0x277cdb=>_0x277cdb['split']('.'))['filter'](_0x4ac895=>_0x4ac895['length']<=_0x458bed['length'])['map'](_0x44f8f2=>Array(_0x458bed['length']-_0x44f8f2['length'])['fill']('*'===_0x44f8f2[0x0]?'*':'')['concat'](_0x44f8f2))['some'](_0x2d55d6=>_0x458bed['every']((_0x489f01,_0x4f0fad)=>_0x2d55d6[_0x4f0fad]===_0x489f01||'*'===_0x2d55d6[_0x4f0fad]));}function _0x585287(){return _0x56dff0&&_0x6195aa?new window['Promise']((_0x48c5f6,_0x48c40f)=>{_0x56dff0['then'](_0x48c5f6,_0x48c40f),_0x6195aa['then'](_0x55d01b=>{'Valid'!=_0x55d01b&&_0x48c5f6(_0x55d01b);},_0x48c40f);}):_0x56dff0||_0x6195aa||'Valid';}}function _0x578606(_0x233146,_0xfc425f){return new window['Promise'](_0x240472=>{if(_0x2a4008())return _0x240472('Valid');_0x318b7c(),_0x37ec31['decorate']('_sendUsageRequest');let _0x54e0de=!0x1;const _0x143f26=_0x1c535f();function _0x3bf56a(_0x475d7a){return!!_0x475d7a&&('object'==typeof _0x475d7a||'function'==typeof _0x475d7a)&&'function'==typeof _0x475d7a['then']&&'function'==typeof _0x475d7a['catch'];}function _0x4cb00d(_0x130994){_0x32e748(_0x130994)['then'](_0x472658=>_0x472658&&'ok'==_0x472658['status']?_0x5e0b56(_0x182f45(_0x143f26+_0xfc425f))!=_0x472658['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x13d74c=>(_0x4058b4(),_0x13d74c),()=>{const _0x2fb690=_0x130d4f();return null==_0x2fb690?(_0x4058b4(),'Valid'):_0x11c3d9-_0x2fb690>0x240c8400?'UsageLimit':'Valid';})['then'](_0x240472)['catch'](()=>{_0x240472('UsageLimit');});const _0x4f86c6=0x36ee80;function _0x4058b4(){const _0x1cb729='llct-'+_0x5e0b56(_0x182f45(_0x233146)),_0x3ffd49=_0x7ffc39(_0x5e0b56(window['Math']['ceil'](_0x11c3d9/_0x4f86c6)));window['localStorage']['setItem'](_0x1cb729,_0x3ffd49);}function _0x130d4f(){const _0x532998='llct-'+_0x5e0b56(_0x182f45(_0x233146)),_0x80ef1=window['localStorage']['getItem'](_0x532998);return _0x80ef1?window['parseInt'](_0x7ffc39(_0x80ef1),0x10)*_0x4f86c6:null;}function _0x32e748(_0x1ae736){return new window['Promise']((_0x108958,_0x432c94)=>{_0x1ae736['then'](_0x108958,_0x432c94),window['setTimeout'](_0x432c94,0x1d4c0);});}}_0x37ec31['on']('_sendUsageRequest',(_0x4f0baa,_0x2a1ad4)=>{if(_0x2a1ad4[0x0]!=_0x233146)return _0x240472('UsageLimit');_0x2a1ad4[0x1]={..._0x2a1ad4[0x1],'requestId':_0x143f26};},{'priority':'high'}),_0x37ec31['on']('_sendUsageRequest',_0x9784f4=>{_0x3bf56a(_0x9784f4['return'])&&(_0x54e0de=!0x0,_0x4cb00d(_0x9784f4['return']));},{'priority':'low'}),_0xa788cd['then'](()=>{_0x54e0de||_0x240472('UsageLimit');});});function _0x2a4008(){return'auto'==_0x37ec31['editing']['view']['_overlayModeHint'];}function _0x318b7c(){_0x37ec31['editing']['view']['_overlayModeHint']='auto';}}function _0x2976c5(_0x1ac009){const _0x1003eb=[new window['Promise'](_0x35f870=>setTimeout(_0x35f870,0x93ecc)),_0xa788cd['then'](()=>new window['Promise'](_0x4aa944=>{let _0x479a66=0x0;_0x37ec31['model']['on']('applyOperation',(_0x3b5571,_0x48be2a)=>{_0x48be2a[0x0]['isDocumentOperation']&&_0x479a66++,0x5e8==_0x479a66&&(_0x4aa944(),_0x3b5571['off']());});}))];return window['Promise']['race'](_0x1003eb)['then'](()=>_0x1ac009);}async function _0x4263a7(){await _0xa788cd,_0x37ec31['model']['change']=_0x1d5eac,_0x37ec31['model']['enqueueChange']=_0x1d5eac,_0x37ec31['enableReadOnlyMode']('model');}function _0x224348(){return window['glob']&&window['glob']['triliumVersion'];}function _0x5b4906(_0x2d0708){const _0x4d867b=_0x37777b();_0x37ec31[_0x4d867b]='tableOfContentsLicenseKey'+_0x2d0708,'Valid'!=_0x2d0708&&_0x4263a7();}function _0x37777b(){const _0x5bad0f=window['String'](window['performance']['now']())['replace']('.','');let _0x35c0dd='m';for(let _0xdd059f=0x0;_0xdd059f<_0x5bad0f['length'];_0xdd059f+=0x2){let _0x2823b4=window['parseInt'](_0x5bad0f['substring'](_0xdd059f,_0xdd059f+0x2));_0x2823b4>=0x3e&&(_0x2823b4-=0x3e),_0x35c0dd+=_0x259847[_0x2823b4];}return _0x35c0dd;}function _0x45862f(){const _0x48a824=_0x29e881['split']('.');if(0x3!=_0x48a824['length'])return null;return _0x556cb0(_0x48a824[0x1]);function _0x556cb0(_0x3a16e5){const _0x1eaa54=_0x3690e6(_0x3a16e5);return _0x1eaa54&&_0x4a0178()?_0x1eaa54:null;function _0x4a0178(){const _0x4d53a2=_0x1eaa54['jti'],_0x234654=window['parseInt'](_0x4d53a2['substring'](_0x4d53a2['length']-0x8),0x10),_0x2d76e6={..._0x1eaa54,'jti':_0x4d53a2['substring'](0x0,_0x4d53a2['length']-0x8)};return delete _0x2d76e6['vc'],_0x182f45(_0x2d76e6)==_0x234654;}}}async function _0x18b281(){let _0x2b4660=!0x0;try{const [_0x3b0d00,_0x35f8f2,_0x476902]=_0x29e881['split']('.');return _0x4341d6(_0x3b0d00),await _0xf34652(_0x3b0d00,_0x35f8f2,_0x476902),_0x2b4660;}catch{return!0x1;}function _0x4341d6(_0x16b091){const _0x54b35c=_0x3690e6(_0x16b091);_0x54b35c&&'ES256'==_0x54b35c['alg']||(_0x2b4660=!0x1);}async function _0xf34652(_0x96e5ca,_0x20eed5,_0x1fe302){const _0x58767e=window['Uint8Array']['from'](_0x4fe51e(_0x1fe302),_0x10f19c=>_0x10f19c['charCodeAt'](0x0)),_0x59f370=new window['TextEncoder']()['encode'](_0x96e5ca+'.'+_0x20eed5),_0x5c31bc=window['crypto']['subtle'];if(!_0x5c31bc)return;const _0x19777c=await _0x5c31bc['importKey']('jwk',_0x558fa0,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x5c31bc['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x19777c,_0x58767e,_0x59f370)||(_0x2b4660=!0x1);}}function _0x3690e6(_0x3126c9){return _0x3126c9['startsWith']('ey')?JSON['parse'](_0x4fe51e(_0x3126c9)):null;}function _0x4fe51e(_0x2f1e15){return window['atob'](_0x2f1e15['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x182f45(_0x3efb3e){let _0x9bde45=0x1505;function _0x8d3c27(_0xde8135){for(let _0x5376f2=0x0;_0x5376f2<_0xde8135['length'];_0x5376f2++){const _0x128f4e=_0xde8135['charCodeAt'](_0x5376f2);_0x9bde45=(_0x9bde45<<0x5)+_0x9bde45+_0x128f4e,_0x9bde45&=_0x9bde45;}}function _0x29197c(_0x1878a2){Array['isArray'](_0x1878a2)?_0x1878a2['forEach'](_0x29197c):_0x1878a2&&'object'==typeof _0x1878a2?Object['entries'](_0x1878a2)['sort']()['forEach'](([_0x5a1d9c,_0x42526a])=>{_0x8d3c27(_0x5a1d9c),_0x29197c(_0x42526a);}):_0x8d3c27(window['String'](_0x1878a2));}return _0x29197c(_0x3efb3e),_0x9bde45>>>0x0;}function _0x5e0b56(_0x34524a){return _0x34524a['toString'](0x10)['padStart'](0x8,'0');}function _0x7ffc39(_0x3935cf){return _0x3935cf['split']('')['reverse']()['join']('');}function _0x1d5eac(){}_0x5b4906(await _0x3ce014());}(this);}['_updateTableOfContentsElements'](){this['_tableOfContentsElements']['forEach'](_0x11417f=>{'$graveyard'!==_0x11417f['rootName']&&this['editor']['editing']['reconvertItem'](_0x11417f);});}['_trackNewToCElements'](){for(const _0x55fd7f of this['editor']['model']['document']['differ']['getChanges']({'includeChangesInGraveyard':!0x0})){if('insert'!==_0x55fd7f['type']||'tableOfContents'!==_0x55fd7f['name'])return;this['_tableOfContentsElements']['add'](_0x55fd7f['position']['nodeAfter']);}}['_getOutlineDefinitions'](_0x7e9da0){const _0x5137f0=this['editor'],_0x57eef6=[];for(const _0x339b6b of _0x5137f0['model']['document']['getRootNames']())_0xf1018(_0x5137f0['model']['document']['getRoot'](_0x339b6b));function _0xf1018(_0x5dd156){for(const _0x5267e1 of _0x5dd156['getChildren']())_0x5267e1['is']('element')&&(_0x7e9da0['includes'](_0x5267e1['name'])&&_0x57eef6['push']({'level':_0x7e9da0['indexOf'](_0x5267e1['name'])+0x1,'text':b(_0x5267e1),'modelElement':_0x5267e1}),_0xf1018(_0x5267e1));}return _0x57eef6;}['_defineSchema'](){this['editor']['model']['schema']['register']('tableOfContents',{'inheritAllFrom':'$blockObject'});}['_defineConverters'](){const _0x2290f5=this['editor']['conversion'];_0x2290f5['for']('upcast')['elementToElement']({'model':'tableOfContents','view':{'name':'div','classes':'table-of-contents'}}),_0x2290f5['for']('dataDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x1ddeb9,{writer:_0x3839ae})=>this['_createTableOfContents'](_0x3839ae,!0x0)}),_0x2290f5['for']('editingDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x5e4c87,{writer:_0x332f4c})=>(this['_tableOfContentsElements']['add'](_0x5e4c87),_0x1b7424(this['_createTableOfContents'](_0x332f4c),_0x332f4c,{'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'](_0x4d8f53,_0x45da8b=!0x1){const {locale:_0x47ab3b}=this['editor'],_0x56c958=_0x4d8f53['createContainerElement']('div',{'class':'table-of-contents'+(0x0===this['_currentOutlineDefinitions']['length']?'\x20table-of-contents_empty':''),...!_0x45da8b&&{'data-table-of-contents-label':L(_0x47ab3b,'Table\x20of\x20contents')}});0x0===this['_currentOutlineDefinitions']['length']&&!0x1===_0x45da8b&&_0x4d8f53['insert'](_0x4d8f53['createPositionAt'](_0x56c958,'end'),_0x4d8f53['createContainerElement']('p',{'class':'table-of-contents__placeholder'},[_0x4d8f53['createText'](L(_0x47ab3b,'No\x20headings\x20were\x20found\x20in\x20the\x20document.'))]));const _0x3aed99=_0x45da8b?'':'['+L(_0x47ab3b,'Empty\x20heading')+']';let _0x5cf335=_0x56c958;return this['_currentOutlineDefinitions']['forEach']((_0x4846f2,_0x37351b,_0xa96352)=>{const _0x22ceb5=this['editor']['model']['hasContent'](_0x4846f2['modelElement'],{'ignoreWhitespaces':!0x0}),_0x15e85d=_0x22ceb5?_0x4846f2['text']:_0x3aed99,_0x234161=_0x4846f2['modelElement']['getAttribute'](this['_headingIdModelAttributeName']),_0x850550=_0x4d8f53['createContainerElement']('a',{'href':'#'+_0x234161,...!_0x45da8b&&{'tabindex':'-1'}},[_0x4d8f53['createText'](_0x15e85d)]),_0x472c50=this['editor']['config']['get']('documentOutline.showEmptyHeadings');_0x4d8f53['setCustomProperty']('tableOfContentsHeadingIndex',_0x37351b,_0x850550);const _0x3b67cc=_0x4d8f53['createContainerElement']('li',null,[_0x22ceb5||!_0x45da8b&&_0x472c50?_0x850550:_0x4d8f53['createText']('')]),_0x10362e=_0x37351b?_0xa96352[_0x37351b-0x1]['level']:0x0,_0x29b473=Math['abs'](_0x4846f2['level']-_0x10362e);if(_0x4846f2['level']>_0x10362e){const _0x337949=P(_0x3b67cc,_0x29b473,_0x4d8f53);_0x4d8f53['insert'](_0x4d8f53['createPositionAt'](_0x5cf335,'end'),_0x337949);}else{const _0x47e183=function(_0x228edf,_0x2414e7){return _0x228edf['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0})['filter'](_0x25eb52=>_0x25eb52['is']('element','ol'))[_0x2414e7];}(_0x5cf335,_0x29b473);_0x4d8f53['insert'](_0x4d8f53['createPositionAt'](_0x47e183,'end'),_0x3b67cc);}_0x5cf335=_0x3b67cc;}),_0x56c958;}['_handleScrollToHeading'](_0x2139f1){const _0xaf8e76=this['_currentOutlineDefinitions'][_0x2139f1]['modelElement'];this['editor']['model']['change'](_0x5afce2=>{_0x5afce2['setSelection'](_0xaf8e76,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0});}['_redirectMapper'](){return(_0x644cc0,_0x50c0d9)=>{const _0x2376f6=_0x50c0d9['mapper'],_0x3b3b74=_0x2376f6['findMappedViewAncestor'](_0x50c0d9['viewPosition']),_0x1965b6=_0x2376f6['toModelElement'](_0x3b3b74);_0x1965b6['is']('element','tableOfContents')&&(_0x50c0d9['modelPosition']=this['editor']['model']['createPositionAt'](_0x1965b6,0x0),_0x644cc0['stop']());};}};function P(_0x384122,_0x24fcb4,_0x3f0686){return 0x1===_0x24fcb4?_0x3f0686['createContainerElement']('ol',null,[_0x384122]):_0x3f0686['createContainerElement']('ol',null,[_0x3f0686['createContainerElement']('li',null,[P(_0x384122,_0x24fcb4-0x1,_0x3f0686)])]);}var U=class extends _0x548b1f{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'TableOfContentsUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x4d64ab=this['editor'];_0x4d64ab['ui']['componentFactory']['add']('tableOfContents',()=>{const _0xb1cd15=this['_createButton'](_0x258ddc);return _0xb1cd15['tooltip']=!0x0,_0xb1cd15;}),_0x4d64ab['ui']['componentFactory']['add']('menuBar:tableOfContents',()=>this['_createButton'](_0x1b5155)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x276c3b=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x56daa7;for(const _0x3e453d in _0x276c3b){const _0x332d0e=_0x3e453d,_0x523b14=_0x276c3b[_0x332d0e];if('tableOfContentsLicenseKeyValid'==_0x523b14||'tableOfContentsLicenseKeyInvalid'==_0x523b14||'tableOfContentsLicenseKeyExpired'==_0x523b14||'tableOfContentsLicenseKeyDomainLimit'==_0x523b14||'tableOfContentsLicenseKeyNotAllowed'==_0x523b14||'tableOfContentsLicenseKeyEvaluationLimit'==_0x523b14||'tableOfContentsLicenseKeyUsageLimit'==_0x523b14){delete _0x276c3b[_0x332d0e],_0x56daa7=_0x523b14,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'tableOfContentsLicenseKeyInvalid'==_0x56daa7&&_0x276c3b['_showLicenseError']('invalid'),'tableOfContentsLicenseKeyExpired'==_0x56daa7&&_0x276c3b['_showLicenseError']('expired'),'tableOfContentsLicenseKeyDomainLimit'==_0x56daa7&&_0x276c3b['_showLicenseError']('domainLimit'),'tableOfContentsLicenseKeyNotAllowed'==_0x56daa7&&_0x276c3b['_showLicenseError']('featureNotAllowed','TableOfContents'),'tableOfContentsLicenseKeyEvaluationLimit'==_0x56daa7&&_0x276c3b['_showLicenseError']('evaluationLimit'),'tableOfContentsLicenseKeyUsageLimit'==_0x56daa7&&_0x276c3b['_showLicenseError']('usageLimit');},0x3e8);}['_createButton'](_0x6f5ed8){const _0xa0f0e=this['editor'],_0x2687bf=_0xa0f0e['locale'],_0x1f40d8=_0xa0f0e['commands']['get']('insertTableOfContents'),_0x171189=new _0x6f5ed8(_0x2687bf);return _0x171189['set']({'label':L(_0x2687bf,'Table\x20of\x20contents'),'icon':_0x38c57b}),_0x171189['bind']('isEnabled')['to'](_0x1f40d8,'isEnabled'),this['listenTo'](_0x171189,'execute',()=>{_0xa0f0e['execute']('insertTableOfContents'),_0xa0f0e['editing']['view']['focus']();}),_0x171189;}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}},D=class extends _0x548b1f{static get['requires'](){return[N,U];}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,D as TableOfContents,K as TableOfContentsCommand,N as TableOfContentsEditing,U as TableOfContentsUI};
|
|
23
|
+
import{Command as _0x4fbd13,Plugin as _0x5cd4e3}from'@ckeditor/ckeditor5-core';import{debounce as _0x4c61ef,throttle as _0x197529}from'es-toolkit/compat';import{ModelText as _0x3c6d43,ModelTreeWalker as _0x12b83f}from'@ckeditor/ckeditor5-engine';import{CKEditorError as _0x28fc9b,Rect as _0x2fd500,diff as _0x20fbf0,diffToChanges as _0x4d8d60,global as _0x45c5b8,priorities as _0x3dc6b6,scrollAncestorsToShowTarget as _0xc7428d,uid as _0x13065c}from'@ckeditor/ckeditor5-utils';import{ButtonView as _0x2f93a7,MenuBarMenuListItemButtonView as _0x19c878,View as _0x5cd82f}from'@ckeditor/ckeditor5-ui';import{Widget as _0x2bf546,toWidget as _0x14e066}from'@ckeditor/ckeditor5-widget';import{IconTableOfContents as _0x4a3e5f}from'@ckeditor/ckeditor5-icons';function b(_0x5d8d21){let _0xfc2a3b='';for(const _0x173a1e of _0x5d8d21['getChildren']())_0x173a1e instanceof _0x3c6d43&&(_0xfc2a3b+=_0x173a1e['data']);return _0xfc2a3b;}var I=class extends _0x5cd4e3{static get['pluginName'](){return'DocumentOutlineUtils';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['_headingNames']=[];['init'](){const _0x50bb7b=this['editor'];this['_headingNames']=this['_getHeadingNames']();let _0x2c2be3=[];_0x50bb7b['model']['document']['on']('change',_0x4c61ef(()=>{const _0x153835=_0x2c2be3;_0x2c2be3=this['_getOutlineDefinitions']();const _0x14d7b7=_0x4d8d60(_0x20fbf0(_0x153835,_0x2c2be3,(_0x5907ab,_0x3e8154)=>_0x5907ab['level']===_0x3e8154['level']&&_0x5907ab['text']===_0x3e8154['text']&&_0x5907ab['modelElement']===_0x3e8154['modelElement']),_0x2c2be3),_0x53c62b=this['_getActiveHeading'](),_0x3c2fbb=_0x2c2be3['findIndex'](_0x240dc0=>_0x240dc0['modelElement']===_0x53c62b);_0x14d7b7['length']&&this['fire']('change',{'outlineDefinitions':_0x2c2be3,'activeItemIndex':_0x3c2fbb,'outlineChanges':_0x14d7b7}),this['fire']('activeItemIndex',{'index':_0x3c2fbb});},0xfa,{'leading':!0x0,'trailing':!0x0}));}['afterInit'](){this['_headingNames']['length']||this['_deriveHeadingElementsFromConversion']();}['_getOutlineDefinitions'](){const _0x14d5ab=this['editor'],_0x2a845e=[],_0x5e6e21=this['_headingNames'];for(const _0xda5456 of _0x14d5ab['model']['document']['getRootNames']())_0x14ba1f(_0x14d5ab['model']['document']['getRoot'](_0xda5456));function _0x14ba1f(_0x258835){for(const _0x319a12 of _0x258835['getChildren']())_0x319a12['is']('element')&&(_0x5e6e21['includes'](_0x319a12['name'])&&_0x2a845e['push']({'level':_0x5e6e21['indexOf'](_0x319a12['name'])+0x1,'text':b(_0x319a12),'modelElement':_0x319a12}),_0x14ba1f(_0x319a12));}return _0x2a845e;}['_getActiveHeading'](){const _0xd4ab4f=new _0x12b83f({'direction':'backward','startPosition':this['editor']['model']['document']['selection']['getFirstPosition']()});for(const _0x2be9ad of _0xd4ab4f)if(_0x2be9ad['item']['is']('element')&&this['_headingNames']['includes'](_0x2be9ad['item']['name']))return _0x2be9ad['item'];}['_getHeadingNames'](){const _0x292915=this['editor']['config']['get']('documentOutline.headings');return _0x292915||function(_0x2afb3f){const _0x7af69c=_0x2afb3f['config']['get']('heading.options');return _0x7af69c?_0x7af69c['reduce']((_0x5dce12,_0x415884)=>('paragraph'!==_0x415884['model']&&_0x5dce12['push'](_0x415884['model']),_0x5dce12),[]):_0x2afb3f['plugins']['has']('GeneralHtmlSupport')?['htmlH1','htmlH2','htmlH3','htmlH4','htmlH5','htmlH6']:[];}(this['editor']);}['_deriveHeadingElementsFromConversion'](){const _0x1957b3=this['editor'],_0x1a7c4f=['h1','h2','h3','h4','h5','h6'],_0x13b677=[];for(const _0x243057 of _0x1a7c4f){const _0x4faed0=_0x1957b3['editing']['view']['domConverter']['domToView'](document['createElement'](_0x243057)),_0x390189=_0x1957b3['data']['toModel'](_0x4faed0)['getChild'](0x0);_0x390189?.['is']('element')&&_0x13b677['push'](_0x390189['name']);}this['_headingNames']=_0x13b677;}};function L(_0x57fe7f,_0x16242f){const t=_0x57fe7f['t'];switch(_0x16242f){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 _0x16242f;}}var C=class extends _0x5cd82f{constructor(_0x299a45,_0x18647f=!0x1){super(_0x299a45);const _0x110240=this['bindTemplate'],_0x2d4665=_0x18647f?'['+L(_0x299a45,'Empty\x20heading')+']':'';this['set']('text',''),this['set']('level',0x1),this['set']('isActive',!0x1),this['bind']('isEmpty')['to'](this,'text',_0x2148f6=>!_0x2148f6),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline__item',_0x110240['to']('level',_0x431e95=>'ck-document-outline__item_level-'+_0x431e95),_0x110240['if']('isActive','ck-document-outline__item_active'),_0x110240['if']('isEmpty','ck-document-outline__item_empty')],'title':_0x110240['to']('text')},'children':[{'text':_0x110240['to']('text',_0x11a3ad=>_0x11a3ad||_0x2d4665)}],'on':{'click':_0x110240['to']('click')}});}},_=class extends _0x5cd82f{['items'];['documentOutlineContainer'];['showEmptyHeadingText'];constructor(_0x550fc4,_0x105c41=!0x1,_0x434f1c){super(_0x550fc4),this['showEmptyHeadingText']=_0x105c41,this['set']('activeItemIndex',-0x1),this['documentOutlineContainer']=_0x434f1c,this['items']=this['createCollection'](),this['items']['delegate']('click')['to'](this),this['on']('click',this['_handleItemClick']['bind'](this)),this['on']('change:activeItemIndex',(_0x58fa82,_0x4075dc,_0x33194b,_0x3fc769)=>{this['_setActiveItem'](_0x3fc769,_0x33194b);}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline'],'dir':_0x550fc4['contentLanguageDirection'],'data-document-outline-empty-placeholder':L(_0x550fc4,'Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.'),'tabindex':-0x1},'children':this['items']});}['sync'](_0x5014f9){_0x5014f9['forEach'](_0x1742bb=>{'insert'==_0x1742bb['type']?this['_insertItem'](_0x1742bb['index'],..._0x1742bb['values']):'delete'==_0x1742bb['type']&&this['_deleteItem'](_0x1742bb['index'],_0x1742bb['howMany']);});}['_setActiveItem'](_0x34e577,_0x21e595){if(-0x1!==_0x34e577){const _0x272a5e=this['items']['get'](_0x34e577);_0x272a5e&&(_0x272a5e['isActive']=!0x1);}-0x1!==_0x21e595&&(this['items']['get'](_0x21e595)['isActive']=!0x0,this['_scrollToItem'](_0x21e595));}['_insertItem'](_0x452432,..._0x343561){const _0x4b65ce=_0x343561['map']((_0x5e0837,_0x14c9db)=>{const _0x4a508e=new C(this['locale'],this['showEmptyHeadingText']);return _0x4a508e['text']=_0x5e0837['text'],_0x4a508e['level']=_0x5e0837['level'],_0x452432+_0x14c9db===this['activeItemIndex']&&(_0x4a508e['isActive']=!0x0),_0x4a508e;});this['items']['addMany'](_0x4b65ce,_0x452432);}['_deleteItem'](_0x185195,_0x4a08f9){do{this['items']['remove'](_0x185195);}while(--_0x4a08f9);}['_handleItemClick'](_0x1e49d7){const _0x62b54e=this['items']['getIndex'](_0x1e49d7['source']);this['fire']('itemSelected',_0x62b54e);}['_scrollToItem'](_0xc40dcf){_0xc7428d(this['items']['get'](_0xc40dcf)['element'],0x14,this['documentOutlineContainer']);}['destroy'](){super['destroy'](),this['element']['remove']();}},x=class extends _0x5cd4e3{['view'];['_currentOutlineDefinitions'];['_updateActiveDefinitionFromViewportThrottled'];static get['pluginName'](){return'DocumentOutlineUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x351465){super(_0x351465),this['view']=new _(_0x351465['locale'],this['editor']['config']['get']('documentOutline.showEmptyHeadings'),this['editor']['config']['get']('documentOutline.container')),this['_currentOutlineDefinitions']=[],this['_updateActiveDefinitionFromViewportThrottled']=_0x197529(this['_updateActiveDefinitionOnViewportChange']['bind'](this),0x64);}['init'](){const _0x2a3199=this['editor'],_0x24ab85=_0x2a3199['plugins']['get']('DocumentOutlineUtils');let _0x260065=!0x1;if(this['view']['render'](),this['editor']['ui']['focusTracker']['add'](this['view']['element']),!_0x2a3199['config']['get']('documentOutline.container'))throw new _0x28fc9b('document-outline-container-not-provided',{'editor':_0x2a3199});_0x2a3199['config']['get']('documentOutline.container')['appendChild'](this['view']['element']),_0x24ab85['on']('change',this['_handleOutlineChange']['bind'](this)),_0x24ab85['on']('activeItemIndex',(_0x4bfdbf,{index:_0x375252})=>this['_setActiveViewItem'](_0x375252)),this['view']['on']('itemSelected',(_0x293930,_0x30d475)=>{_0x260065=!0x0,this['_handleItemSelected'](_0x30d475);}),this['view']['listenTo'](_0x45c5b8['document'],'scroll',()=>{_0x260065?_0x260065=!0x1:this['_updateActiveDefinitionFromViewportThrottled']();},{'useCapture':!0x0}),this['view']['listenTo'](_0x45c5b8['window'],'resize',this['_updateActiveDefinitionFromViewportThrottled'],{'useCapture':!0x0});}['afterInit'](){!async function(_0x447337){const _0xe01eef='aWxlPG0A3CDdHBsZEqwULojOrgMXVTRvu1bI2487ptzJKQeihfNkYS9n6y5mcF',_0x1902a8=0x78e10,_0x4bc8b7=window['Date']['now'](),_0x115c17=_0x447337['editor'],_0x278609=new window['Promise'](_0x1f75ce=>{_0x115c17['once']('ready',_0x1f75ce);}),_0x2e75e4={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x248ce6=_0x115c17['config']['get']('licenseKey');async function _0x25b482(){let _0x1b450b,_0xcf165=null,_0x304390=null;try{return'GPL'==_0x248ce6?'NotAllowed':(_0x1b450b=_0x13d478(),_0x1b450b?(_0x1b450b['usageEndpoint']&&(_0x304390=_0x4352aa(_0x1b450b['usageEndpoint'],_0x1b450b['jti'])),await _0x2c0249()?_0x5ce3b3()?_0x489290()?'Expired':_0x4a116e()?('evaluation'==_0x1b450b['licenseType']&&(_0xcf165=_0x531541('EvaluationLimit')),await _0x151929()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x489290(){const _0x119d70=['evaluation','trial']['includes'](_0x1b450b['licenseType'])?_0x4bc8b7/0x3e8:0xe10*_0x1902a8;return _0x1b450b['exp']<_0x119d70;}function _0x5ce3b3(){const _0x527d80=_0x1b450b['features'];return!!_0x527d80&&(!!_0x527d80['includes']('*')||(!!_0x527d80['includes']('DO')||(!!_0x527d80['includes']('PP')||!(!_0x527d80['includes']('TRILIUM')||!_0x1a6f8a()))));}function _0x4a116e(){const _0x22020f=_0x1b450b['licensedHosts'];if(!_0x22020f||0x0==_0x22020f['length'])return!0x0;const {hostname:_0x37b68b}=new URL(window['location']['href']);if(_0x22020f['includes'](_0x37b68b))return!0x0;const _0x4c2fa7=_0x37b68b['split']('.');return _0x22020f['filter'](_0xcc430f=>_0xcc430f['includes']('*'))['map'](_0x4e287e=>_0x4e287e['split']('.'))['filter'](_0x554309=>_0x554309['length']<=_0x4c2fa7['length'])['map'](_0x52d565=>Array(_0x4c2fa7['length']-_0x52d565['length'])['fill']('*'===_0x52d565[0x0]?'*':'')['concat'](_0x52d565))['some'](_0x45c2f4=>_0x4c2fa7['every']((_0x58bb17,_0x5a1f72)=>_0x45c2f4[_0x5a1f72]===_0x58bb17||'*'===_0x45c2f4[_0x5a1f72]));}function _0x151929(){return _0xcf165&&_0x304390?new window['Promise']((_0x326c9c,_0x4aced3)=>{_0xcf165['then'](_0x326c9c,_0x4aced3),_0x304390['then'](_0x46711f=>{'Valid'!=_0x46711f&&_0x326c9c(_0x46711f);},_0x4aced3);}):_0xcf165||_0x304390||'Valid';}}function _0x4352aa(_0x5e4a25,_0x44a515){return new window['Promise'](_0x29f160=>{if(_0x1a0cc8())return _0x29f160('Valid');_0x12763a(),_0x115c17['decorate']('_sendUsageRequest');let _0x3e2823=!0x1;const _0x5278e8=_0x13065c();function _0x2723ca(_0x15a6c0){return!!_0x15a6c0&&('object'==typeof _0x15a6c0||'function'==typeof _0x15a6c0)&&'function'==typeof _0x15a6c0['then']&&'function'==typeof _0x15a6c0['catch'];}function _0x4b390a(_0x322bbf){_0x471fd0(_0x322bbf)['then'](_0x3caacb=>_0x3caacb&&'ok'==_0x3caacb['status']?_0x50bc13(_0x479371(_0x5278e8+_0x44a515))!=_0x3caacb['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x39906a=>(_0x26ccfe(),_0x39906a),()=>{const _0x580997=_0xc1f3c7();return null==_0x580997?(_0x26ccfe(),'Valid'):_0x4bc8b7-_0x580997>0x240c8400?'UsageLimit':'Valid';})['then'](_0x29f160)['catch'](()=>{_0x29f160('UsageLimit');});const _0x52187c=0x36ee80;function _0x26ccfe(){const _0x1b5056='llct-'+_0x50bc13(_0x479371(_0x5e4a25)),_0x581043=_0x5e4807(_0x50bc13(window['Math']['ceil'](_0x4bc8b7/_0x52187c)));window['localStorage']['setItem'](_0x1b5056,_0x581043);}function _0xc1f3c7(){const _0x2df35b='llct-'+_0x50bc13(_0x479371(_0x5e4a25)),_0x58daf6=window['localStorage']['getItem'](_0x2df35b);return _0x58daf6?window['parseInt'](_0x5e4807(_0x58daf6),0x10)*_0x52187c:null;}function _0x471fd0(_0x56173e){return new window['Promise']((_0x33aaf3,_0xbfbf89)=>{_0x56173e['then'](_0x33aaf3,_0xbfbf89),window['setTimeout'](_0xbfbf89,0x1d4c0);});}}_0x115c17['on']('_sendUsageRequest',(_0x257ad9,_0x3f36f2)=>{if(_0x3f36f2[0x0]!=_0x5e4a25)return _0x29f160('UsageLimit');_0x3f36f2[0x1]={..._0x3f36f2[0x1],'requestId':_0x5278e8};},{'priority':'high'}),_0x115c17['on']('_sendUsageRequest',_0x164492=>{_0x2723ca(_0x164492['return'])&&(_0x3e2823=!0x0,_0x4b390a(_0x164492['return']));},{'priority':'low'}),_0x278609['then'](()=>{_0x3e2823||_0x29f160('UsageLimit');});});function _0x1a0cc8(){return'auto'==_0x115c17['editing']['view']['_overlayModeHint'];}function _0x12763a(){_0x115c17['editing']['view']['_overlayModeHint']='auto';}}function _0x531541(_0x3c1870){const _0x103801=[new window['Promise'](_0x392a98=>setTimeout(_0x392a98,0x93ecc)),_0x278609['then'](()=>new window['Promise'](_0xf8883e=>{let _0x525a11=0x0;_0x115c17['model']['on']('applyOperation',(_0x43d2e9,_0x2f53cd)=>{_0x2f53cd[0x0]['isDocumentOperation']&&_0x525a11++,0x5e8==_0x525a11&&(_0xf8883e(),_0x43d2e9['off']());});}))];return window['Promise']['race'](_0x103801)['then'](()=>_0x3c1870);}async function _0x6c144(){await _0x278609,_0x115c17['model']['change']=_0x49c7e0,_0x115c17['model']['enqueueChange']=_0x49c7e0,_0x115c17['enableReadOnlyMode']('model');}function _0x1a6f8a(){return window['glob']&&window['glob']['triliumVersion'];}function _0x3b3388(_0x50f557){const _0x4da8a1=_0x5d65c3();_0x115c17[_0x4da8a1]='documentOutlineLicenseKey'+_0x50f557,'Valid'!=_0x50f557&&_0x6c144();}function _0x5d65c3(){const _0x545228=window['String'](window['performance']['now']())['replace']('.','');let _0x287ceb='a';for(let _0x1de597=0x0;_0x1de597<_0x545228['length'];_0x1de597+=0x2){let _0xb6b177=window['parseInt'](_0x545228['substring'](_0x1de597,_0x1de597+0x2));_0xb6b177>=0x3e&&(_0xb6b177-=0x3e),_0x287ceb+=_0xe01eef[_0xb6b177];}return _0x287ceb;}function _0x13d478(){const _0x489526=_0x248ce6['split']('.');if(0x3!=_0x489526['length'])return null;return _0x440036(_0x489526[0x1]);function _0x440036(_0xde8e29){const _0x151862=_0x323c1e(_0xde8e29);return _0x151862&&_0x15f16a()?_0x151862:null;function _0x15f16a(){const _0x75487b=_0x151862['jti'],_0x2e02a8=window['parseInt'](_0x75487b['substring'](_0x75487b['length']-0x8),0x10),_0x53a1db={..._0x151862,'jti':_0x75487b['substring'](0x0,_0x75487b['length']-0x8)};return delete _0x53a1db['vc'],_0x479371(_0x53a1db)==_0x2e02a8;}}}async function _0x2c0249(){let _0x2418e9=!0x0;try{const [_0x3974a0,_0x2ba58b,_0x3c07b0]=_0x248ce6['split']('.');return _0x40f2b9(_0x3974a0),await _0x2e3c63(_0x3974a0,_0x2ba58b,_0x3c07b0),_0x2418e9;}catch{return!0x1;}function _0x40f2b9(_0x3a4f28){const _0x12b235=_0x323c1e(_0x3a4f28);_0x12b235&&'ES256'==_0x12b235['alg']||(_0x2418e9=!0x1);}async function _0x2e3c63(_0x2520ba,_0x55a6c0,_0x1a8606){const _0x25cfba=window['Uint8Array']['from'](_0x1f2c04(_0x1a8606),_0x45eda1=>_0x45eda1['charCodeAt'](0x0)),_0x582946=new window['TextEncoder']()['encode'](_0x2520ba+'.'+_0x55a6c0),_0x112087=window['crypto']['subtle'];if(!_0x112087)return;const _0x583364=await _0x112087['importKey']('jwk',_0x2e75e4,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x112087['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x583364,_0x25cfba,_0x582946)||(_0x2418e9=!0x1);}}function _0x323c1e(_0x27b569){return _0x27b569['startsWith']('ey')?JSON['parse'](_0x1f2c04(_0x27b569)):null;}function _0x1f2c04(_0x2bfaa1){return window['atob'](_0x2bfaa1['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x479371(_0x616fc2){let _0x5da466=0x1505;function _0x33f8c0(_0x64be5){for(let _0x4ecae0=0x0;_0x4ecae0<_0x64be5['length'];_0x4ecae0++){const _0x15bf47=_0x64be5['charCodeAt'](_0x4ecae0);_0x5da466=(_0x5da466<<0x5)+_0x5da466+_0x15bf47,_0x5da466&=_0x5da466;}}function _0x1a37ec(_0xd6e98e){Array['isArray'](_0xd6e98e)?_0xd6e98e['forEach'](_0x1a37ec):_0xd6e98e&&'object'==typeof _0xd6e98e?Object['entries'](_0xd6e98e)['sort']()['forEach'](([_0x26ef13,_0x364825])=>{_0x33f8c0(_0x26ef13),_0x1a37ec(_0x364825);}):_0x33f8c0(window['String'](_0xd6e98e));}return _0x1a37ec(_0x616fc2),_0x5da466>>>0x0;}function _0x50bc13(_0x1ea462){return _0x1ea462['toString'](0x10)['padStart'](0x8,'0');}function _0x5e4807(_0x2c4b2a){return _0x2c4b2a['split']('')['reverse']()['join']('');}function _0x49c7e0(){}_0x3b3388(await _0x25b482());}(this);}['destroy'](){super['destroy'](),this['view']['destroy'](),this['_updateActiveDefinitionFromViewportThrottled']['cancel']();}['_handleOutlineChange'](_0x175527,{outlineDefinitions:_0x255a37,outlineChanges:_0xb769a1}){this['_currentOutlineDefinitions']=_0x255a37,this['view']['sync'](_0xb769a1);}['_setActiveViewItem'](_0x14c9dd){this['_currentOutlineDefinitions']['length']&&this['_currentOutlineDefinitions'][_0x14c9dd]&&(this['view']['activeItemIndex']=_0x14c9dd);}['_handleItemSelected'](_0xf79857){const _0x5b6080=this['_currentOutlineDefinitions'][_0xf79857]['modelElement'];this['editor']['model']['change'](_0x57a2a8=>{_0x57a2a8['setSelection'](_0x5b6080,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0}),this['editor']['editing']['view']['focus'](),this['_setActiveViewItem'](_0xf79857);}['_updateActiveDefinitionOnViewportChange'](){const _0x3c2f04=this['editor'];let _0x2764ec;for(const _0x2b238a of _0x3c2f04['model']['document']['getRootNames']()){const _0xef3362=_0x3c2f04['editing']['view']['getDomRoot'](_0x2b238a),_0xe4d09c=_0xef3362&&new _0x2fd500(_0xef3362)['getVisible']();if(_0xe4d09c){const _0x2bdae2=new _0x2fd500(_0x45c5b8['window'])['getIntersection'](_0xe4d09c);_0x2bdae2&&(_0x2764ec=_0x2bdae2['top']+0.25*_0x2bdae2['height']);}}if(void 0x0===_0x2764ec)return;const _0x1955bd=k(_0x3c2f04['editing'],this['_currentOutlineDefinitions'],_0x2764ec);_0x1955bd?this['_setActiveViewItem'](this['_currentOutlineDefinitions']['indexOf'](_0x1955bd)):this['_setActiveViewItem'](-0x1);}};function k(_0x1a27c9,_0x1e6df0,_0x4178e1,_0x30434d=0x0,_0xf10dbd=_0x1e6df0['length']-0x1){const _0x17dc30=Math['floor'](_0x30434d+(_0xf10dbd-_0x30434d)/0x2);if(_0xf10dbd>=_0x30434d){const _0x5deed8=_0x1e6df0[_0x17dc30],_0x214ea7=_0x1a27c9['mapper']['toViewElement'](_0x5deed8['modelElement']);return _0x214ea7?new _0x2fd500(_0x1a27c9['view']['domConverter']['mapViewToDom'](_0x214ea7))['bottom']>_0x4178e1?k(_0x1a27c9,_0x1e6df0,_0x4178e1,_0x30434d,_0x17dc30-0x1):k(_0x1a27c9,_0x1e6df0,_0x4178e1,_0x17dc30+0x1,_0xf10dbd):null;}return _0x17dc30<0x0?null:_0x1e6df0[_0x17dc30];}var E=class extends _0x5cd4e3{['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 _0x11bf10=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x47288c;for(const _0x4d98fd in _0x11bf10){const _0x9690b2=_0x4d98fd,_0x3b0050=_0x11bf10[_0x9690b2];if('documentOutlineLicenseKeyValid'==_0x3b0050||'documentOutlineLicenseKeyInvalid'==_0x3b0050||'documentOutlineLicenseKeyExpired'==_0x3b0050||'documentOutlineLicenseKeyDomainLimit'==_0x3b0050||'documentOutlineLicenseKeyNotAllowed'==_0x3b0050||'documentOutlineLicenseKeyEvaluationLimit'==_0x3b0050||'documentOutlineLicenseKeyUsageLimit'==_0x3b0050){delete _0x11bf10[_0x9690b2],_0x47288c=_0x3b0050,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'documentOutlineLicenseKeyInvalid'==_0x47288c&&_0x11bf10['_showLicenseError']('invalid'),'documentOutlineLicenseKeyExpired'==_0x47288c&&_0x11bf10['_showLicenseError']('expired'),'documentOutlineLicenseKeyDomainLimit'==_0x47288c&&_0x11bf10['_showLicenseError']('domainLimit'),'documentOutlineLicenseKeyNotAllowed'==_0x47288c&&_0x11bf10['_showLicenseError']('featureNotAllowed','DocumentOutline'),'documentOutlineLicenseKeyEvaluationLimit'==_0x47288c&&_0x11bf10['_showLicenseError']('evaluationLimit'),'documentOutlineLicenseKeyUsageLimit'==_0x47288c&&_0x11bf10['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}},K=class extends _0x4fbd13{['execute'](){this['editor']['model']['change'](_0x9db0e6=>{this['editor']['model']['insertObject'](_0x9db0e6['createElement']('tableOfContents'));});}['refresh'](){const _0x19f0dc=this['editor']['model'],_0x394ef8=_0x19f0dc['document']['selection']['getFirstPosition']();this['isEnabled']=null!==(_0x394ef8&&_0x19f0dc['schema']['findAllowedParent'](_0x394ef8,'tableOfContents'));}},A=class extends _0x5cd4e3{static get['pluginName'](){return'HeadingId';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0xac8c00=this['editor'];if(_0xac8c00['config']['get']('headingId.modelAttributeName'))return;const {viewNames:_0x3ff20e,modelNames:_0x486d82}=function(_0x5102e8){const _0x4d61af=new Set(),_0x2680b1=new Set();if(!_0x5102e8)return{'viewNames':_0x4d61af,'modelNames':_0x2680b1};for(const _0x22fb3b of _0x5102e8){if('paragraph'===_0x22fb3b['model'])continue;const _0x5e618d='string'==typeof _0x22fb3b['view']?_0x22fb3b['view']:_0x22fb3b['view']['name'];_0x4d61af['add'](_0x5e618d),_0x2680b1['add'](_0x22fb3b['model']);}return _0x4d61af['has']('h1')||(_0x4d61af['add']('h1'),_0x2680b1['add']('heading1')),{'viewNames':_0x4d61af,'modelNames':_0x2680b1};}(this['editor']['config']['get']('heading.options'));for(const _0x20b153 of _0x3ff20e)this['_customUpcastHeadingsConversion'](_0x20b153);for(const _0x48d135 of _0x486d82)this['_customDataDowncastHeadingsConversion'](_0x48d135),_0xac8c00['model']['schema']['isRegistered'](_0x48d135)&&_0xac8c00['model']['schema']['extend'](_0x48d135,{'allowAttributes':'headingId'});this['_registerHeadingIdAttributePostfixer'](_0x486d82);}['_customUpcastHeadingsConversion'](_0x50b886){this['editor']['conversion']['for']('upcast')['add'](_0x262cd4=>_0x262cd4['on']('element:'+_0x50b886,(_0x4d2863,_0x28ac11,_0x1e6f92)=>{const {consumable:_0x20bdb1,writer:_0x24ccaf}=_0x1e6f92,_0x515f3f=_0x28ac11['viewItem']['getAttribute']('id'),_0x536658=_0x28ac11['modelRange']?.['getContainedElement']();if(_0x536658)return _0x515f3f&&_0x515f3f['length']||_0x536658['hasAttribute']('headingId')?void(_0x20bdb1['consume'](_0x28ac11['viewItem'],{'attributes':['id']})&&_0x24ccaf['setAttribute']('headingId',_0x515f3f,_0x536658)):(_0x20bdb1['consume'](_0x28ac11['viewItem'],{'attributes':['id']}),void _0x24ccaf['setAttribute']('headingId',_0x13065c(),_0x536658));},{'priority':_0x3dc6b6['get']('low')+0.5}));}['_customDataDowncastHeadingsConversion'](_0x1c54cd){this['editor']['conversion']['for']('downcast')['add'](_0x27f672=>_0x27f672['on']('attribute:headingId:'+_0x1c54cd,(_0x2a25c8,_0x42429f,_0x126ba1)=>{if(!_0x126ba1['consumable']['consume'](_0x42429f['item'],_0x2a25c8['name']))return;const _0x17bf83=_0x42429f['item']['getAttribute']('headingId'),_0xf13455=_0x126ba1['mapper']['toViewElement'](_0x42429f['item']);_0x126ba1['writer']['setAttribute']('id',_0x17bf83,_0xf13455);}));}['_registerHeadingIdAttributePostfixer'](_0x47489a){const _0xd1ad06=this['editor'],_0x4db87c=new Set(),_0xef559a=new Set();function _0x4c43f2(_0x2eb991,_0x47e274){const _0x2ce8e4=_0x13065c();return _0xef559a['add'](_0x2ce8e4),_0x2eb991['setAttribute']('headingId',_0x2ce8e4,_0x47e274),_0x2ce8e4;}function _0x52e38b(_0x103547,_0x392dfd){_0x103547['removeAttribute']('headingId',_0x392dfd);}_0xd1ad06['model']['document']['registerPostFixer'](_0x50165c=>{const _0x44c95d=_0xd1ad06['model']['document']['differ']['getChanges']();let _0x25d4c8=!0x1;for(const _0x3f2940 of _0x44c95d)if('insert'==_0x3f2940['type']&&_0x3f2940['name']){if(_0x47489a['has'](_0x3f2940['name'])){const _0x146979=_0x3f2940['attributes']['get']('headingId');'string'==typeof _0x146979?_0x4db87c['has'](_0x146979)?(_0x4c43f2(_0x50165c,_0x3f2940['position']['nodeAfter']),_0x25d4c8=!0x0):_0xef559a['add'](_0x146979):(_0x4c43f2(_0x50165c,_0x3f2940['position']['nodeAfter']),_0x25d4c8=!0x0);}else'string'==typeof _0x3f2940['attributes']['get']('headingId')&&(_0x52e38b(_0x50165c,_0x3f2940['position']['nodeAfter']),_0x25d4c8=!0x0);}else{if('remove'==_0x3f2940['type']){const _0x1eb27=_0x3f2940['attributes']['get']('headingId');'string'==typeof _0x1eb27&&_0x4db87c['delete'](_0x1eb27);}}return _0x25d4c8;}),_0xd1ad06['model']['document']['on']('change',()=>{_0xef559a['forEach'](_0x3ae360=>_0x4db87c['add'](_0x3ae360)),_0xef559a['clear']();});}},N=class extends _0x5cd4e3{static get['pluginName'](){return'TableOfContentsEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x2bf546,I,A];}['_currentOutlineDefinitions'];['_tableOfContentsElements'];['_headingIdModelAttributeName'];constructor(_0x132765){super(_0x132765),this['_currentOutlineDefinitions']=[],this['_tableOfContentsElements']=new Set(),this['_headingIdModelAttributeName']='headingId';}['init'](){const _0x3b2de3=this['editor'],_0x3ae391=_0x3b2de3['editing']['view']['document'];_0x3b2de3['config']['get']('headingId.modelAttributeName')&&(this['_headingIdModelAttributeName']=_0x3b2de3['config']['get']('headingId.modelAttributeName')),this['listenTo'](_0x3ae391,'click',(_0x50619d,_0x39d297)=>{if(!_0x39d297['target'])return;const _0x58e6e8=_0x39d297['target']['getCustomProperty']('tableOfContentsHeadingIndex');Number['isInteger'](_0x58e6e8)&&(_0x39d297['domEvent']['preventDefault'](),_0x50619d['stop'](),this['_handleScrollToHeading'](_0x58e6e8));},{'priority':'high','context':'$capture'}),this['_defineSchema'](),this['_defineConverters'](),_0x3b2de3['commands']['add']('insertTableOfContents',new K(_0x3b2de3));const _0x175c35=_0x3b2de3['config']['get']('tableOfContents.headings');_0x175c35&&_0x175c35['length']?this['listenTo'](_0x3b2de3['model']['document'],'change:data',()=>{this['_currentOutlineDefinitions']=this['_getOutlineDefinitions'](_0x175c35),this['_updateTableOfContentsElements']();}):_0x3b2de3['plugins']['get']('DocumentOutlineUtils')['on']('change',(_0x35c2af,_0x5bdc52)=>{this['_currentOutlineDefinitions']=_0x5bdc52['outlineDefinitions'],this['_updateTableOfContentsElements']();}),this['listenTo'](_0x3b2de3['model']['document'],'change',()=>{this['_trackNewToCElements']();});}['afterInit'](){!async function(_0x2a7cea){const _0x2483fa='mr4z2yakM3x0phtD7jBw1T6qRfeUuZcOLNKVgQSPE9iGIHoXlJW8YsCb5AndFv',_0x5b0e90=0x78e10,_0x4d771b=window['Date']['now'](),_0x34a5fc=_0x2a7cea['editor'],_0x11fb35=new window['Promise'](_0x5b91f8=>{_0x34a5fc['once']('ready',_0x5b91f8);}),_0x5966a6={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x721e=_0x34a5fc['config']['get']('licenseKey');async function _0x3f9c8a(){let _0x3e7143,_0x156ff6=null,_0x37f161=null;try{return'GPL'==_0x721e?'NotAllowed':(_0x3e7143=_0x957ea6(),_0x3e7143?(_0x3e7143['usageEndpoint']&&(_0x37f161=_0x5d4da5(_0x3e7143['usageEndpoint'],_0x3e7143['jti'])),await _0x21631d()?_0x583177()?_0x142672()?'Expired':_0x80ec9c()?('evaluation'==_0x3e7143['licenseType']&&(_0x156ff6=_0x47b3e0('EvaluationLimit')),await _0x47cf64()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x142672(){const _0x3ac3c3=['evaluation','trial']['includes'](_0x3e7143['licenseType'])?_0x4d771b/0x3e8:0xe10*_0x5b0e90;return _0x3e7143['exp']<_0x3ac3c3;}function _0x583177(){const _0x5b4fc7=_0x3e7143['features'];return!!_0x5b4fc7&&(!!_0x5b4fc7['includes']('*')||(!!_0x5b4fc7['includes']('TOC')||(!!_0x5b4fc7['includes']('PP')||!(!_0x5b4fc7['includes']('TRILIUM')||!_0x418195()))));}function _0x80ec9c(){const _0x524b67=_0x3e7143['licensedHosts'];if(!_0x524b67||0x0==_0x524b67['length'])return!0x0;const {hostname:_0x3733af}=new URL(window['location']['href']);if(_0x524b67['includes'](_0x3733af))return!0x0;const _0x11d84c=_0x3733af['split']('.');return _0x524b67['filter'](_0x37a15d=>_0x37a15d['includes']('*'))['map'](_0x1c5176=>_0x1c5176['split']('.'))['filter'](_0x3ca621=>_0x3ca621['length']<=_0x11d84c['length'])['map'](_0x5de61f=>Array(_0x11d84c['length']-_0x5de61f['length'])['fill']('*'===_0x5de61f[0x0]?'*':'')['concat'](_0x5de61f))['some'](_0x50da86=>_0x11d84c['every']((_0x190865,_0x23358b)=>_0x50da86[_0x23358b]===_0x190865||'*'===_0x50da86[_0x23358b]));}function _0x47cf64(){return _0x156ff6&&_0x37f161?new window['Promise']((_0x3385af,_0x5a0a87)=>{_0x156ff6['then'](_0x3385af,_0x5a0a87),_0x37f161['then'](_0x205e10=>{'Valid'!=_0x205e10&&_0x3385af(_0x205e10);},_0x5a0a87);}):_0x156ff6||_0x37f161||'Valid';}}function _0x5d4da5(_0x1e167f,_0x15d35e){return new window['Promise'](_0x441495=>{if(_0x2a1eb5())return _0x441495('Valid');_0x441b04(),_0x34a5fc['decorate']('_sendUsageRequest');let _0x15ffe3=!0x1;const _0x411bae=_0x13065c();function _0x4824d5(_0x50c572){return!!_0x50c572&&('object'==typeof _0x50c572||'function'==typeof _0x50c572)&&'function'==typeof _0x50c572['then']&&'function'==typeof _0x50c572['catch'];}function _0x22d3bf(_0x53c811){_0x43165e(_0x53c811)['then'](_0x244dd4=>_0x244dd4&&'ok'==_0x244dd4['status']?_0x327053(_0x4c0c7f(_0x411bae+_0x15d35e))!=_0x244dd4['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x1b9534=>(_0x4aa0ed(),_0x1b9534),()=>{const _0x961d85=_0x2a0a30();return null==_0x961d85?(_0x4aa0ed(),'Valid'):_0x4d771b-_0x961d85>0x240c8400?'UsageLimit':'Valid';})['then'](_0x441495)['catch'](()=>{_0x441495('UsageLimit');});const _0x2e986d=0x36ee80;function _0x4aa0ed(){const _0x35b785='llct-'+_0x327053(_0x4c0c7f(_0x1e167f)),_0x336b08=_0xfcfe89(_0x327053(window['Math']['ceil'](_0x4d771b/_0x2e986d)));window['localStorage']['setItem'](_0x35b785,_0x336b08);}function _0x2a0a30(){const _0x4da031='llct-'+_0x327053(_0x4c0c7f(_0x1e167f)),_0x1ccf2e=window['localStorage']['getItem'](_0x4da031);return _0x1ccf2e?window['parseInt'](_0xfcfe89(_0x1ccf2e),0x10)*_0x2e986d:null;}function _0x43165e(_0x2131cb){return new window['Promise']((_0x322010,_0x13da79)=>{_0x2131cb['then'](_0x322010,_0x13da79),window['setTimeout'](_0x13da79,0x1d4c0);});}}_0x34a5fc['on']('_sendUsageRequest',(_0x20d173,_0x275a92)=>{if(_0x275a92[0x0]!=_0x1e167f)return _0x441495('UsageLimit');_0x275a92[0x1]={..._0x275a92[0x1],'requestId':_0x411bae};},{'priority':'high'}),_0x34a5fc['on']('_sendUsageRequest',_0x8d785d=>{_0x4824d5(_0x8d785d['return'])&&(_0x15ffe3=!0x0,_0x22d3bf(_0x8d785d['return']));},{'priority':'low'}),_0x11fb35['then'](()=>{_0x15ffe3||_0x441495('UsageLimit');});});function _0x2a1eb5(){return'auto'==_0x34a5fc['editing']['view']['_overlayModeHint'];}function _0x441b04(){_0x34a5fc['editing']['view']['_overlayModeHint']='auto';}}function _0x47b3e0(_0x92d1a5){const _0x23c958=[new window['Promise'](_0x1339e8=>setTimeout(_0x1339e8,0x93ecc)),_0x11fb35['then'](()=>new window['Promise'](_0x4b2cd4=>{let _0x23d8c9=0x0;_0x34a5fc['model']['on']('applyOperation',(_0x3b0ac6,_0x1248bf)=>{_0x1248bf[0x0]['isDocumentOperation']&&_0x23d8c9++,0x5e8==_0x23d8c9&&(_0x4b2cd4(),_0x3b0ac6['off']());});}))];return window['Promise']['race'](_0x23c958)['then'](()=>_0x92d1a5);}async function _0x4e88f8(){await _0x11fb35,_0x34a5fc['model']['change']=_0x6e478e,_0x34a5fc['model']['enqueueChange']=_0x6e478e,_0x34a5fc['enableReadOnlyMode']('model');}function _0x418195(){return window['glob']&&window['glob']['triliumVersion'];}function _0x40faff(_0x160512){const _0x52bb47=_0x157791();_0x34a5fc[_0x52bb47]='tableOfContentsLicenseKey'+_0x160512,'Valid'!=_0x160512&&_0x4e88f8();}function _0x157791(){const _0x5ead6e=window['String'](window['performance']['now']())['replace']('.','');let _0x4d3618='m';for(let _0x58c724=0x0;_0x58c724<_0x5ead6e['length'];_0x58c724+=0x2){let _0x2cc651=window['parseInt'](_0x5ead6e['substring'](_0x58c724,_0x58c724+0x2));_0x2cc651>=0x3e&&(_0x2cc651-=0x3e),_0x4d3618+=_0x2483fa[_0x2cc651];}return _0x4d3618;}function _0x957ea6(){const _0x106c7a=_0x721e['split']('.');if(0x3!=_0x106c7a['length'])return null;return _0x526353(_0x106c7a[0x1]);function _0x526353(_0x526425){const _0x406aa5=_0x1dda12(_0x526425);return _0x406aa5&&_0x592d5f()?_0x406aa5:null;function _0x592d5f(){const _0x2b8d70=_0x406aa5['jti'],_0x17838c=window['parseInt'](_0x2b8d70['substring'](_0x2b8d70['length']-0x8),0x10),_0x576d45={..._0x406aa5,'jti':_0x2b8d70['substring'](0x0,_0x2b8d70['length']-0x8)};return delete _0x576d45['vc'],_0x4c0c7f(_0x576d45)==_0x17838c;}}}async function _0x21631d(){let _0x201f3b=!0x0;try{const [_0x591336,_0x4f392f,_0x5608e2]=_0x721e['split']('.');return _0x2f9154(_0x591336),await _0x256be6(_0x591336,_0x4f392f,_0x5608e2),_0x201f3b;}catch{return!0x1;}function _0x2f9154(_0x4a9fff){const _0x39aabd=_0x1dda12(_0x4a9fff);_0x39aabd&&'ES256'==_0x39aabd['alg']||(_0x201f3b=!0x1);}async function _0x256be6(_0x54ed6a,_0xe1b11d,_0x5b9ec1){const _0x29d874=window['Uint8Array']['from'](_0x27b17d(_0x5b9ec1),_0x8c5b6c=>_0x8c5b6c['charCodeAt'](0x0)),_0x527fc1=new window['TextEncoder']()['encode'](_0x54ed6a+'.'+_0xe1b11d),_0x290ed8=window['crypto']['subtle'];if(!_0x290ed8)return;const _0x172ed0=await _0x290ed8['importKey']('jwk',_0x5966a6,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x290ed8['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x172ed0,_0x29d874,_0x527fc1)||(_0x201f3b=!0x1);}}function _0x1dda12(_0x2c3348){return _0x2c3348['startsWith']('ey')?JSON['parse'](_0x27b17d(_0x2c3348)):null;}function _0x27b17d(_0x120974){return window['atob'](_0x120974['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x4c0c7f(_0xad9d3a){let _0x488762=0x1505;function _0x27aac5(_0x2cdf23){for(let _0x477879=0x0;_0x477879<_0x2cdf23['length'];_0x477879++){const _0x3f4920=_0x2cdf23['charCodeAt'](_0x477879);_0x488762=(_0x488762<<0x5)+_0x488762+_0x3f4920,_0x488762&=_0x488762;}}function _0x4c1d33(_0x1fb11f){Array['isArray'](_0x1fb11f)?_0x1fb11f['forEach'](_0x4c1d33):_0x1fb11f&&'object'==typeof _0x1fb11f?Object['entries'](_0x1fb11f)['sort']()['forEach'](([_0x451dbd,_0x38b8c6])=>{_0x27aac5(_0x451dbd),_0x4c1d33(_0x38b8c6);}):_0x27aac5(window['String'](_0x1fb11f));}return _0x4c1d33(_0xad9d3a),_0x488762>>>0x0;}function _0x327053(_0x242257){return _0x242257['toString'](0x10)['padStart'](0x8,'0');}function _0xfcfe89(_0x3118e4){return _0x3118e4['split']('')['reverse']()['join']('');}function _0x6e478e(){}_0x40faff(await _0x3f9c8a());}(this);}['_updateTableOfContentsElements'](){this['_tableOfContentsElements']['forEach'](_0x158004=>{'$graveyard'!==_0x158004['rootName']&&this['editor']['editing']['reconvertItem'](_0x158004);});}['_trackNewToCElements'](){for(const _0x55dd3f of this['editor']['model']['document']['differ']['getChanges']({'includeChangesInGraveyard':!0x0})){if('insert'!==_0x55dd3f['type']||'tableOfContents'!==_0x55dd3f['name'])return;this['_tableOfContentsElements']['add'](_0x55dd3f['position']['nodeAfter']);}}['_getOutlineDefinitions'](_0xc4d493){const _0x3d9cc1=this['editor'],_0x44d4ea=[];for(const _0x3df8ef of _0x3d9cc1['model']['document']['getRootNames']())_0x4d358c(_0x3d9cc1['model']['document']['getRoot'](_0x3df8ef));function _0x4d358c(_0x46d62b){for(const _0x5f3b16 of _0x46d62b['getChildren']())_0x5f3b16['is']('element')&&(_0xc4d493['includes'](_0x5f3b16['name'])&&_0x44d4ea['push']({'level':_0xc4d493['indexOf'](_0x5f3b16['name'])+0x1,'text':b(_0x5f3b16),'modelElement':_0x5f3b16}),_0x4d358c(_0x5f3b16));}return _0x44d4ea;}['_defineSchema'](){this['editor']['model']['schema']['register']('tableOfContents',{'inheritAllFrom':'$blockObject'});}['_defineConverters'](){const _0x4d8420=this['editor']['conversion'];_0x4d8420['for']('upcast')['elementToElement']({'model':'tableOfContents','view':{'name':'div','classes':'table-of-contents'}}),_0x4d8420['for']('dataDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x23b4f5,{writer:_0x10d6c7})=>this['_createTableOfContents'](_0x10d6c7,!0x0)}),_0x4d8420['for']('editingDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x27cbcd,{writer:_0x4aa416})=>(this['_tableOfContentsElements']['add'](_0x27cbcd),_0x14e066(this['_createTableOfContents'](_0x4aa416),_0x4aa416,{'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'](_0x3dd0f0,_0xa7560a=!0x1){const {locale:_0xc677e6}=this['editor'],_0x20b124=_0x3dd0f0['createContainerElement']('div',{'class':'table-of-contents'+(0x0===this['_currentOutlineDefinitions']['length']?'\x20table-of-contents_empty':''),...!_0xa7560a&&{'data-table-of-contents-label':L(_0xc677e6,'Table\x20of\x20contents')}});0x0===this['_currentOutlineDefinitions']['length']&&!0x1===_0xa7560a&&_0x3dd0f0['insert'](_0x3dd0f0['createPositionAt'](_0x20b124,'end'),_0x3dd0f0['createContainerElement']('p',{'class':'table-of-contents__placeholder'},[_0x3dd0f0['createText'](L(_0xc677e6,'No\x20headings\x20were\x20found\x20in\x20the\x20document.'))]));const _0x266cd6=_0xa7560a?'':'['+L(_0xc677e6,'Empty\x20heading')+']';let _0x223f6a=_0x20b124;return this['_currentOutlineDefinitions']['forEach']((_0x4dcf5c,_0x10791b,_0x19b129)=>{const _0x415f03=this['editor']['model']['hasContent'](_0x4dcf5c['modelElement'],{'ignoreWhitespaces':!0x0}),_0x4869b7=_0x415f03?_0x4dcf5c['text']:_0x266cd6,_0x3f6aa3=_0x4dcf5c['modelElement']['getAttribute'](this['_headingIdModelAttributeName']),_0x242475=_0x3dd0f0['createContainerElement']('a',{'href':'#'+_0x3f6aa3,...!_0xa7560a&&{'tabindex':'-1'}},[_0x3dd0f0['createText'](_0x4869b7)]),_0x46d794=this['editor']['config']['get']('documentOutline.showEmptyHeadings');_0x3dd0f0['setCustomProperty']('tableOfContentsHeadingIndex',_0x10791b,_0x242475);const _0xc35c45=_0x3dd0f0['createContainerElement']('li',null,[_0x415f03||!_0xa7560a&&_0x46d794?_0x242475:_0x3dd0f0['createText']('')]),_0x31e62e=_0x10791b?_0x19b129[_0x10791b-0x1]['level']:0x0,_0x2aae8a=Math['abs'](_0x4dcf5c['level']-_0x31e62e);if(_0x4dcf5c['level']>_0x31e62e){const _0x3c8214=P(_0xc35c45,_0x2aae8a,_0x3dd0f0);_0x3dd0f0['insert'](_0x3dd0f0['createPositionAt'](_0x223f6a,'end'),_0x3c8214);}else{const _0x143b3c=function(_0x5c00df,_0x7fc28f){return _0x5c00df['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0})['filter'](_0x1af231=>_0x1af231['is']('element','ol'))[_0x7fc28f];}(_0x223f6a,_0x2aae8a);_0x3dd0f0['insert'](_0x3dd0f0['createPositionAt'](_0x143b3c,'end'),_0xc35c45);}_0x223f6a=_0xc35c45;}),_0x20b124;}['_handleScrollToHeading'](_0x4275c2){const _0x38a877=this['_currentOutlineDefinitions'][_0x4275c2]['modelElement'];this['editor']['model']['change'](_0xcc9ba6=>{_0xcc9ba6['setSelection'](_0x38a877,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0});}['_redirectMapper'](){return(_0x93ebfb,_0x5acbcf)=>{const _0x58a6d5=_0x5acbcf['mapper'],_0x4b32c3=_0x58a6d5['findMappedViewAncestor'](_0x5acbcf['viewPosition']),_0x57fc21=_0x58a6d5['toModelElement'](_0x4b32c3);_0x57fc21['is']('element','tableOfContents')&&(_0x5acbcf['modelPosition']=this['editor']['model']['createPositionAt'](_0x57fc21,0x0),_0x93ebfb['stop']());};}};function P(_0x485e73,_0x11d075,_0x40e516){return 0x1===_0x11d075?_0x40e516['createContainerElement']('ol',null,[_0x485e73]):_0x40e516['createContainerElement']('ol',null,[_0x40e516['createContainerElement']('li',null,[P(_0x485e73,_0x11d075-0x1,_0x40e516)])]);}var U=class extends _0x5cd4e3{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'TableOfContentsUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x433313=this['editor'];_0x433313['ui']['componentFactory']['add']('tableOfContents',()=>{const _0x17e52e=this['_createButton'](_0x2f93a7);return _0x17e52e['tooltip']=!0x0,_0x17e52e;}),_0x433313['ui']['componentFactory']['add']('menuBar:tableOfContents',()=>this['_createButton'](_0x19c878)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x281ee2=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x23fa01;for(const _0x580cf7 in _0x281ee2){const _0x386076=_0x580cf7,_0x1ad470=_0x281ee2[_0x386076];if('tableOfContentsLicenseKeyValid'==_0x1ad470||'tableOfContentsLicenseKeyInvalid'==_0x1ad470||'tableOfContentsLicenseKeyExpired'==_0x1ad470||'tableOfContentsLicenseKeyDomainLimit'==_0x1ad470||'tableOfContentsLicenseKeyNotAllowed'==_0x1ad470||'tableOfContentsLicenseKeyEvaluationLimit'==_0x1ad470||'tableOfContentsLicenseKeyUsageLimit'==_0x1ad470){delete _0x281ee2[_0x386076],_0x23fa01=_0x1ad470,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'tableOfContentsLicenseKeyInvalid'==_0x23fa01&&_0x281ee2['_showLicenseError']('invalid'),'tableOfContentsLicenseKeyExpired'==_0x23fa01&&_0x281ee2['_showLicenseError']('expired'),'tableOfContentsLicenseKeyDomainLimit'==_0x23fa01&&_0x281ee2['_showLicenseError']('domainLimit'),'tableOfContentsLicenseKeyNotAllowed'==_0x23fa01&&_0x281ee2['_showLicenseError']('featureNotAllowed','TableOfContents'),'tableOfContentsLicenseKeyEvaluationLimit'==_0x23fa01&&_0x281ee2['_showLicenseError']('evaluationLimit'),'tableOfContentsLicenseKeyUsageLimit'==_0x23fa01&&_0x281ee2['_showLicenseError']('usageLimit');},0x3e8);}['_createButton'](_0x2201a0){const _0x51e15c=this['editor'],_0x55a2ff=_0x51e15c['locale'],_0x541ac6=_0x51e15c['commands']['get']('insertTableOfContents'),_0x4a748f=new _0x2201a0(_0x55a2ff);return _0x4a748f['set']({'label':L(_0x55a2ff,'Table\x20of\x20contents'),'icon':_0x4a3e5f}),_0x4a748f['bind']('isEnabled')['to'](_0x541ac6,'isEnabled'),this['listenTo'](_0x4a748f,'execute',()=>{_0x51e15c['execute']('insertTableOfContents'),_0x51e15c['editing']['view']['focus']();}),_0x4a748f;}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}},D=class extends _0x5cd4e3{static get['requires'](){return[N,U];}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,D as TableOfContents,K as TableOfContentsCommand,N as TableOfContentsEditing,U 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':_0x2908d8=>0x1!=_0x2908d8}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x21f6c4=>{const {af:{dictionary:_0x423903,getPluralForm:_0x5c4150}}={'af':{'dictionary':{'Empty\x20heading':'','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'','Table\x20of\x20contents':''},'getPluralForm':_0x292cb8=>0x1!=_0x292cb8}};_0x21f6c4['af']||={'dictionary':{},'getPluralForm':null},_0x21f6c4['af']['dictionary']=Object['assign'](_0x21f6c4['af']['dictionary'],_0x423903),_0x21f6c4['af']['getPluralForm']=_0x5c4150;})(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':_0x399a94=>0x0==_0x399a94?0x0:0x1==_0x399a94?0x1:0x2==_0x399a94?0x2:_0x399a94%0x64>=0x3&&_0x399a94%0x64<=0xa?0x3:_0x399a94%0x64>=0xb?0x4:0x5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x40f8cc=>{const {ar:{dictionary:_0x270f53,getPluralForm:_0x1d340d}}={'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':_0xac130f=>0x0==_0xac130f?0x0:0x1==_0xac130f?0x1:0x2==_0xac130f?0x2:_0xac130f%0x64>=0x3&&_0xac130f%0x64<=0xa?0x3:_0xac130f%0x64>=0xb?0x4:0x5}};_0x40f8cc['ar']||={'dictionary':{},'getPluralForm':null},_0x40f8cc['ar']['dictionary']=Object['assign'](_0x40f8cc['ar']['dictionary'],_0x270f53),_0x40f8cc['ar']['getPluralForm']=_0x1d340d;})(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':_0x4d5df2=>0x1!=_0x4d5df2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x44d36a=>{const {ast:{dictionary:_0x16ca70,getPluralForm:_0x5dce32}}={'ast':{'dictionary':{'Empty\x20heading':'','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'','Table\x20of\x20contents':''},'getPluralForm':_0xd3afa4=>0x1!=_0xd3afa4}};_0x44d36a['ast']||={'dictionary':{},'getPluralForm':null},_0x44d36a['ast']['dictionary']=Object['assign'](_0x44d36a['ast']['dictionary'],_0x16ca70),_0x44d36a['ast']['getPluralForm']=_0x5dce32;})(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':_0x1a1ee1=>0x1!=_0x1a1ee1}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xb13a3f=>{const {az:{dictionary:_0x4acd33,getPluralForm:_0x2d8c06}}={'az':{'dictionary':{'Empty\x20heading':'','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'','Table\x20of\x20contents':''},'getPluralForm':_0x1e887b=>0x1!=_0x1e887b}};_0xb13a3f['az']||={'dictionary':{},'getPluralForm':null},_0xb13a3f['az']['dictionary']=Object['assign'](_0xb13a3f['az']['dictionary'],_0x4acd33),_0xb13a3f['az']['getPluralForm']=_0x2d8c06;})(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':_0x46c030=>_0x46c030%0xa==0x1&&_0x46c030%0x64!=0xb?0x0:_0x46c030%0xa>=0x2&&_0x46c030%0xa<=0x4&&(_0x46c030%0x64<0xa||_0x46c030%0x64>=0x14)?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2d9af4=>{const {be:{dictionary:_0x45583d,getPluralForm:_0x56dcbd}}={'be':{'dictionary':{'Empty\x20heading':'','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'','Table\x20of\x20contents':''},'getPluralForm':_0x720336=>_0x720336%0xa==0x1&&_0x720336%0x64!=0xb?0x0:_0x720336%0xa>=0x2&&_0x720336%0xa<=0x4&&(_0x720336%0x64<0xa||_0x720336%0x64>=0x14)?0x1:0x2}};_0x2d9af4['be']||={'dictionary':{},'getPluralForm':null},_0x2d9af4['be']['dictionary']=Object['assign'](_0x2d9af4['be']['dictionary'],_0x45583d),_0x2d9af4['be']['getPluralForm']=_0x56dcbd;})(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':_0x394943=>0x1!=_0x394943}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1be570=>{const {bg:{dictionary:_0x50b88d,getPluralForm:_0x3046ed}}={'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':_0x117884=>0x1!=_0x117884}};_0x1be570['bg']||={'dictionary':{},'getPluralForm':null},_0x1be570['bg']['dictionary']=Object['assign'](_0x1be570['bg']['dictionary'],_0x50b88d),_0x1be570['bg']['getPluralForm']=_0x3046ed;})(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':_0x4c6af9=>0x1!=_0x4c6af9}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2b1566=>{const {bn:{dictionary:_0x1b93a3,getPluralForm:_0x30cc64}}={'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':_0x4e7def=>0x1!=_0x4e7def}};_0x2b1566['bn']||={'dictionary':{},'getPluralForm':null},_0x2b1566['bn']['dictionary']=Object['assign'](_0x2b1566['bn']['dictionary'],_0x1b93a3),_0x2b1566['bn']['getPluralForm']=_0x30cc64;})(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':_0x405f31=>_0x405f31%0xa==0x1&&_0x405f31%0x64!=0xb?0x0:_0x405f31%0xa>=0x2&&_0x405f31%0xa<=0x4&&(_0x405f31%0x64<0xa||_0x405f31%0x64>=0x14)?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x30f61f=>{const {bs:{dictionary:_0x35810d,getPluralForm:_0x3ef497}}={'bs':{'dictionary':{'Empty\x20heading':'','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'','Table\x20of\x20contents':''},'getPluralForm':_0xfcb122=>_0xfcb122%0xa==0x1&&_0xfcb122%0x64!=0xb?0x0:_0xfcb122%0xa>=0x2&&_0xfcb122%0xa<=0x4&&(_0xfcb122%0x64<0xa||_0xfcb122%0x64>=0x14)?0x1:0x2}};_0x30f61f['bs']||={'dictionary':{},'getPluralForm':null},_0x30f61f['bs']['dictionary']=Object['assign'](_0x30f61f['bs']['dictionary'],_0x35810d),_0x30f61f['bs']['getPluralForm']=_0x3ef497;})(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':_0x6fd9fc=>0x1!=_0x6fd9fc}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4fd8a2=>{const {ca:{dictionary:_0x4d3758,getPluralForm:_0x4c4458}}={'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':_0x4e3cac=>0x1!=_0x4e3cac}};_0x4fd8a2['ca']||={'dictionary':{},'getPluralForm':null},_0x4fd8a2['ca']['dictionary']=Object['assign'](_0x4fd8a2['ca']['dictionary'],_0x4d3758),_0x4fd8a2['ca']['getPluralForm']=_0x4c4458;})(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':_0x1846fb=>0x1==_0x1846fb?0x0:_0x1846fb>=0x2&&_0x1846fb<=0x4?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x302505=>{const {cs:{dictionary:_0x1033aa,getPluralForm:_0x1f3764}}={'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':_0x164dd1=>0x1==_0x164dd1?0x0:_0x164dd1>=0x2&&_0x164dd1<=0x4?0x1:0x2}};_0x302505['cs']||={'dictionary':{},'getPluralForm':null},_0x302505['cs']['dictionary']=Object['assign'](_0x302505['cs']['dictionary'],_0x1033aa),_0x302505['cs']['getPluralForm']=_0x1f3764;})(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':_0x283882=>0x1!=_0x283882}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3f5658=>{const {da:{dictionary:_0x114f2f,getPluralForm:_0x167c0c}}={'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':_0x2cd1ec=>0x1!=_0x2cd1ec}};_0x3f5658['da']||={'dictionary':{},'getPluralForm':null},_0x3f5658['da']['dictionary']=Object['assign'](_0x3f5658['da']['dictionary'],_0x114f2f),_0x3f5658['da']['getPluralForm']=_0x167c0c;})(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':_0x265e0a=>0x1!=_0x265e0a}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x6576ec=>{const {'de-ch':{dictionary:_0x54fe1c,getPluralForm:_0x1e1209}}={'de-ch':{'dictionary':{'Empty\x20heading':'','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'','Table\x20of\x20contents':''},'getPluralForm':_0x33fd45=>0x1!=_0x33fd45}};_0x6576ec['de-ch']||={'dictionary':{},'getPluralForm':null},_0x6576ec['de-ch']['dictionary']=Object['assign'](_0x6576ec['de-ch']['dictionary'],_0x54fe1c),_0x6576ec['de-ch']['getPluralForm']=_0x1e1209;})(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':_0x328d6a=>0x1!=_0x328d6a}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3730c9=>{const {de:{dictionary:_0x56d740,getPluralForm:_0x124bdf}}={'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':_0x341f7b=>0x1!=_0x341f7b}};_0x3730c9['de']||={'dictionary':{},'getPluralForm':null},_0x3730c9['de']['dictionary']=Object['assign'](_0x3730c9['de']['dictionary'],_0x56d740),_0x3730c9['de']['getPluralForm']=_0x124bdf;})(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':_0x2fe8ba=>0x1!=_0x2fe8ba}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x328004=>{const {el:{dictionary:_0x773524,getPluralForm:_0x36247f}}={'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':_0x21a9a9=>0x1!=_0x21a9a9}};_0x328004['el']||={'dictionary':{},'getPluralForm':null},_0x328004['el']['dictionary']=Object['assign'](_0x328004['el']['dictionary'],_0x773524),_0x328004['el']['getPluralForm']=_0x36247f;})(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':_0x1d65ff=>0x1!=_0x1d65ff}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x57e51f=>{const {'en-au':{dictionary:_0x4883a9,getPluralForm:_0x1c51c8}}={'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':_0x13e623=>0x1!=_0x13e623}};_0x57e51f['en-au']||={'dictionary':{},'getPluralForm':null},_0x57e51f['en-au']['dictionary']=Object['assign'](_0x57e51f['en-au']['dictionary'],_0x4883a9),_0x57e51f['en-au']['getPluralForm']=_0x1c51c8;})(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':_0x3e6a43=>0x1!=_0x3e6a43}};
|